@feedmepos/mf-connect 0.1.38-beta.47 → 0.1.38-beta.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Analytic-CAogVBbz.js → Analytic-BQGW_-c3.js} +13 -13
- package/dist/{App-Hk9Qp_9n.js → App-BYOr_3in.js} +7 -7
- package/dist/{AuditLogs-DXAviajL.js → AuditLogs-B_T5_CiH.js} +9 -9
- package/dist/{Bin-BUME6A-K.js → Bin-C1xrtDE0.js} +8 -8
- package/dist/{Broadcast-6j-bVq_R.js → Broadcast-GxpCUcrZ.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BK-bxPIJ.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DUnMhv4S.js} +7 -6
- package/dist/{Card-CEzRiRr7.js → Card-0oDoiIRu.js} +18 -18
- package/dist/{Collections-H0bZgYS3.js → Collections-rYjZyG69.js} +6 -6
- package/dist/{Credit-B0_OxcWl.js → Credit-DsH1Bc3y.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-BfltVeTD.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-B7eMDETW.js} +202 -193
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-d-ru4lAo.js → EffectSheet.vue_vue_type_style_index_0_lang--iiw8XH6.js} +7 -7
- package/dist/{Experience-zLqm7xJ6.js → Experience-DlX6PfWR.js} +8 -8
- package/dist/{Game-D2KPc_Vp.js → Game-D0QqnZ2e.js} +9 -9
- package/dist/{Grab-HG6F8i9C.js → Grab-6F-Z0_F6.js} +8 -8
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-k42dFcVK.js → ImageInput.vue_vue_type_script_setup_true_lang-DZHaJART.js} +1 -1
- package/dist/{Index-C84kG2wA.js → Index-xZ25tvPZ.js} +10 -10
- package/dist/{Marketing-gh_hPaiO.js → Marketing-Chdt0nui.js} +7 -7
- package/dist/{Member-BUUz_hjg.js → Member-CNE_CmUr.js} +13 -12
- package/dist/{MemberList-B9XfhGt9.js → MemberList-DyIkeWwP.js} +25 -25
- package/dist/{MemberTransactions-BsJA7NcV.js → MemberTransactions-SYjVSwvU.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-dn_IeeR9.js → MessageInput.vue_vue_type_script_setup_true_lang-CCkSlsWQ.js} +8 -8
- package/dist/{Mission-Bd0d_AYG.js → Mission-CgWBJtr6.js} +9 -9
- package/dist/{Overview-CGQjA3Ot.js → Overview-BtsOQR97.js} +19 -19
- package/dist/{Point-DEQ4ymAU.js → Point-BJoB6lGN.js} +8 -8
- package/dist/{Promotion-DhTdXoqt.js → Promotion-Bspz7mj9.js} +9 -9
- package/dist/{Queue-Dh-Hhbzq.js → Queue-DFPvtMwZ.js} +10 -10
- package/dist/{Record-Bw0nY_98.js → Record-DmJXlqg1.js} +8 -8
- package/dist/{Reward-BWZ_GAVV.js → Reward-CS2dRJRI.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-DLNocZF6.js → RewardGroup.vue_vue_type_script_setup_true_lang-IlNqykKZ.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-sLOHH7BQ.js → RuleGroup.vue_vue_type_script_setup_true_lang-BDFJqGHC.js} +15 -15
- package/dist/{Segment-DfUL3j0L.js → Segment-C0u4NNJx.js} +29 -29
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-ywplihQC.js → SelectItems.vue_vue_type_script_setup_true_lang-C4i9ZzGe.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-DlJTZbF_.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-AP5kVvEF.js} +31 -30
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-CjULlVQ6.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BKZKWxKi.js} +3 -3
- package/dist/{Setting-D5Mdmyv8.js → Setting-BefPl5s7.js} +632 -578
- package/dist/{SettingAdvertisements-CpMp76lW.js → SettingAdvertisements-DGNSNlfS.js} +12 -12
- package/dist/{Store-CmGB2qRm.js → Store-Ci8NoL5C.js} +613 -608
- package/dist/StoreRewards-DYmb7TZc.js +535 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-De2JVQBj.js → StoreTransactions.vue_vue_type_script_setup_true_lang-C2oHSA6v.js} +20 -20
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BAPYQVVs.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DgQwfKcF.js} +1 -1
- package/dist/{Tier-D7E3Cf43.js → Tier-4boFdwfx.js} +23 -23
- package/dist/{Title-DtKyCzFy.js → Title-Cgh40Avw.js} +23 -22
- package/dist/{Transaction-CEJO4C9e.js → Transaction-Z2U5elSk.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-CW7FvVxQ.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-B5-J1FET.js} +6 -6
- package/dist/{Voucher-mWrvHP6m.js → Voucher-W8Oxnzpv.js} +12 -12
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-2_sr6jYm.js → VoucherEditor.vue_vue_type_script_setup_true_lang-CHYLFObC.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-Cx5QxJYR.js → ZodTextField.vue_vue_type_script_setup_true_lang-B61Mje_C.js} +2 -2
- package/dist/{app-G_Bgzof6.js → app-BU48DR8E.js} +33 -33
- package/dist/{app-DwnfpsMe.js → app-CrFBlZQC.js} +1 -1
- package/dist/app.js +1 -1
- package/dist/{business-Bm1ILQsj.js → business-BXXPV_BJ.js} +1 -1
- package/dist/{campaign-Dcqk3cH6.js → campaign-CFNs4abH.js} +8 -8
- package/dist/{campaign-BegYGV2g.js → campaign-Dan0mmow.js} +1 -1
- package/dist/{campaign.enum-Di8zWEBT.js → campaign.enum-C2FJOSn5.js} +1 -1
- package/dist/{campaign.fn-R-qkQwCc.js → campaign.fn-_QD-klUZ.js} +111 -111
- package/dist/{collectible.enum-CcMxBWQm.js → collectible.enum-ef49SjA4.js} +1 -1
- package/dist/{collection.fn-DB1UThBX.js → collection.fn-BLlJd7Mr.js} +2 -2
- package/dist/{dto-Dw2vmeAy.js → dto-BJeHlJPS.js} +4 -4
- package/dist/{effect-CMNhsAGz.js → effect-D5J5xLJX.js} +1 -1
- package/dist/{email-addresses-DAyJYGyu.js → email-addresses-CgCtARgI.js} +1 -1
- package/dist/{export-DlRLDRaa.js → export-Zzk4jiBl.js} +3 -3
- package/dist/{helper-BmJHGK8Y.js → helper-BLELjodn.js} +22 -7
- package/dist/{index-rz-9vvSo.js → index-7_8Sujrx.js} +3 -3
- package/dist/{index-C_ngmqTP.js → index-BGHhNcXH.js} +1 -1
- package/dist/{index-CyvlmNYw.js → index-BS1mIYfK.js} +1 -1
- package/dist/{index-BecLQlNQ.js → index-BqvUAoPO.js} +1 -1
- package/dist/{index-D_Kckj4e.js → index-C-YRCQZ4.js} +1 -1
- package/dist/{index-DAF5ATGM.js → index-CJHTigmz.js} +2195 -2002
- package/dist/{index-Ct9g1o30.js → index-CvmXvyLj.js} +1 -1
- package/dist/{index-DeWjB6gf.js → index-DITIOfs4.js} +1 -1
- package/dist/{index-BHvDESXI.js → index-DZanCQd8.js} +3 -3
- package/dist/{index-B3lpCXw9.js → index-DemX8i2v.js} +6 -6
- package/dist/{index-xdFaZ2Wu.js → index-Dgnwhbhv.js} +362 -346
- package/dist/{index-DDHF6lur.js → index-OZj06Ttw.js} +558 -555
- package/dist/{index-TQl8R7QE.js → index-_uDo6MR6.js} +1 -1
- package/dist/{index.esm2017-C-eM4VXU.js → index.esm2017-CT9d1NRD.js} +1 -1
- package/dist/{loading-CF1kz4k0.js → loading-up7stUln.js} +1 -1
- package/dist/{membership-CSRsOqrJ.js → membership-BbEmnTSf.js} +3 -3
- package/dist/{money-CSCfOeMr.js → money-DVfpKSC6.js} +1 -1
- package/dist/{number-CWEGy5pi.js → number-BAwtHKVN.js} +1 -1
- package/dist/{objectid-B-dM6CuY.js → objectid-D72PsUrT.js} +4 -4
- package/dist/{plugins-BWvse3U_.js → plugins-C7_WZRNH.js} +3 -3
- package/dist/{reward-BxbKJnBb.js → reward-XSRjQepF.js} +1 -1
- package/dist/{rule-DsCiQRPf.js → rule-CRsnYcDX.js} +3 -3
- package/dist/{rule-builder-DEDIT9kB.js → rule-builder-BO6eO4WG.js} +1 -1
- package/dist/{template-DAmBa5-r.js → template-Dml8mXUA.js} +5 -5
- package/dist/{timezone-BbWwPB6u.js → timezone-CBvYuUvv.js} +1 -1
- package/dist/{trigger-DPxfKox3.js → trigger-CNN8uWUi.js} +5 -5
- package/dist/user-DYhRGvv5.js +55 -0
- package/dist/{vue-i18n-0m1EPiB2.js → vue-i18n-Bq3nuxaj.js} +2 -2
- package/dist/{xlsx-Dwl2GpmQ.js → xlsx-DNBXAk5t.js} +1 -1
- package/dist/{zod-DDxCAQkH.js → zod-BSmgtLPD.js} +1 -1
- package/package.json +1 -1
- package/dist/StoreRewards-CBy-Behd.js +0 -423
- package/dist/user-DLQWP5gQ.js +0 -54
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { z as e, F as o, m as b, a as S, b as
|
|
2
|
-
import { F as Je } from "./campaign.enum-
|
|
3
|
-
import { a as x, b as kt, c as Ht, d as z, F as qe, e as
|
|
4
|
-
import { F as tt } from "./collectible.enum-
|
|
1
|
+
import { z as e, F as o, m as b, a as S, b as Ut, c as Pe, d as Gt } from "./index-CJHTigmz.js";
|
|
2
|
+
import { F as Je } from "./campaign.enum-C2FJOSn5.js";
|
|
3
|
+
import { a as x, b as kt, c as Ht, d as z, F as qe, e as F, f as Vt, g as Qe, h as R, i as et } from "./index-OZj06Ttw.js";
|
|
4
|
+
import { F as tt } from "./collectible.enum-ef49SjA4.js";
|
|
5
5
|
import "vue";
|
|
6
6
|
const Wt = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[46])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|7(?:[013-57-9]\\d|2[0-8]))\\d|3(?:(?:[0-3589]\\d|6[1-9]|7[0-35-9])\\d|4(?:[0-578]\\d|90)))\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|3\\d\\d)|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[025-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[025-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "[24-689]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]]]], BL: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[235]|4[46]"]], ["(\\d{8})", "$1", ["[67]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-46-9]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37)", "4(?:02|37)0|[34]00"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[17]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-68]|7[246]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|7"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "(?:[2-8]\\d|90)\\d{8}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|90[25])[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9[2-9]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[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]|91"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-4])\\d{5}|4(?:[0-36]\\d|4[047-9]|5[0-25-9]|7[02-8]|8[0-24-9]|9[0-37-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], 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]|31)"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:1[49]|[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, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "[56]94\\d{6}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[56]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "(?:[24-69]\\d|3[0-79])\\d{7}|80\\d{5,7}|[1-79]\\d{7}|6\\d{5,6}", [6, 7, 8, 9], [["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["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-489]\\d|55)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\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", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-7]|80[2-46]", "11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\d|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,10}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, [["0669[0-79]\\d{1,6}|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}", [6, 7, 8, 9, 10, 11]], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[257-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["[36]|4(?:2[09]|7[01])", "[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[257-9]"], "0$1"]], "0", 0, "(000[259]\\d{6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33|7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["30[0135-9]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[269]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:2[2-46-9]|3[3-9]|9)|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9])|(?:4[067]|5[03])\\d)\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[0167]\\d|2[0-4]|5[01]|8[0-3]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "590\\d{6}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-5])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[12]1"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "596\\d{6}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[569]|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", "38\\d{6}|[78]\\d{9,13}|(?:20|9\\d)\\d{8}", [8, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:444|(?:55|8\\d)\\d|666)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-68]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[45]\\d{5}|(?:708|8\\d\\d)\\d{6}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[45]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[16]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2689]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-5]|76(?:2[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, "3[04-689]|[489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "92\\d{7}|(?:[15]|8\\d)\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["81"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[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]|77|9[2-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|68|[78]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-8]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[267]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[267]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-39]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-5]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "[0-57-9]\\d{8}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[0-57-9]"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "(?:[1-6]\\d|71)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5(?:[0-59]|61)", "5(?:[0-59]|61[06])", "5(?:[0-59]|61[06]1)"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[258]0"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]", "[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[27-9]|4(?:6[45]|[7-9])"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[34]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:3052(?:0[0-8]|[1-9]\\d)|5056(?:[0-35-9]\\d|4[468])|7302[0-4]\\d)\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|7306|983[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013569]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}", [6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-79]\\d|88)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|63|[79]\\d)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[79]"], "0$1"]], "0"], ZW: ["263", "00", "2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}", [5, 6, 7, 8, 9, 10], [["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2", "2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)", "2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]|39|54"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["(?:25|54)8", "258|5483"], "0$1"]], "0"] }, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[35-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[35-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["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}"]]] } };
|
|
7
7
|
function Kt(t, d) {
|
|
@@ -26,14 +26,14 @@ function Yt(t, d) {
|
|
|
26
26
|
function Xt(t, d) {
|
|
27
27
|
if (typeof d != "function" && d !== null)
|
|
28
28
|
throw new TypeError("Super expression must either be null or a function");
|
|
29
|
-
t.prototype = Object.create(d && d.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), d &&
|
|
29
|
+
t.prototype = Object.create(d && d.prototype, { constructor: { value: t, writable: !0, configurable: !0 } }), Object.defineProperty(t, "prototype", { writable: !1 }), d && j(t, d);
|
|
30
30
|
}
|
|
31
31
|
function Zt(t) {
|
|
32
32
|
var d = nt();
|
|
33
33
|
return function() {
|
|
34
|
-
var r =
|
|
34
|
+
var r = B(t), i;
|
|
35
35
|
if (d) {
|
|
36
|
-
var a =
|
|
36
|
+
var a = B(this).constructor;
|
|
37
37
|
i = Reflect.construct(r, arguments, a);
|
|
38
38
|
} else
|
|
39
39
|
i = r.apply(this, arguments);
|
|
@@ -63,18 +63,18 @@ function oe(t) {
|
|
|
63
63
|
d.set(r, i);
|
|
64
64
|
}
|
|
65
65
|
function i() {
|
|
66
|
-
return
|
|
66
|
+
return U(r, arguments, B(this).constructor);
|
|
67
67
|
}
|
|
68
|
-
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }),
|
|
68
|
+
return i.prototype = Object.create(r.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), j(i, r);
|
|
69
69
|
}, oe(t);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return nt() ?
|
|
71
|
+
function U(t, d, n) {
|
|
72
|
+
return nt() ? U = Reflect.construct : U = function(i, a, $) {
|
|
73
73
|
var s = [null];
|
|
74
74
|
s.push.apply(s, a);
|
|
75
75
|
var u = Function.bind.apply(i, s), l = new u();
|
|
76
|
-
return $ &&
|
|
77
|
-
},
|
|
76
|
+
return $ && j(l, $.prototype), l;
|
|
77
|
+
}, U.apply(null, arguments);
|
|
78
78
|
}
|
|
79
79
|
function nt() {
|
|
80
80
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
@@ -89,15 +89,15 @@ function nt() {
|
|
|
89
89
|
function qt(t) {
|
|
90
90
|
return Function.toString.call(t).indexOf("[native code]") !== -1;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
93
|
-
return
|
|
92
|
+
function j(t, d) {
|
|
93
|
+
return j = Object.setPrototypeOf || function(r, i) {
|
|
94
94
|
return r.__proto__ = i, r;
|
|
95
|
-
},
|
|
95
|
+
}, j(t, d);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
98
|
-
return
|
|
97
|
+
function B(t) {
|
|
98
|
+
return B = Object.setPrototypeOf ? Object.getPrototypeOf : function(n) {
|
|
99
99
|
return n.__proto__ || Object.getPrototypeOf(n);
|
|
100
|
-
},
|
|
100
|
+
}, B(t);
|
|
101
101
|
}
|
|
102
102
|
var _ = /* @__PURE__ */ function(t) {
|
|
103
103
|
Xt(n, t);
|
|
@@ -107,8 +107,8 @@ var _ = /* @__PURE__ */ function(t) {
|
|
|
107
107
|
return Yt(this, n), i = d.call(this, r), Object.setPrototypeOf(dt(i), n.prototype), i.name = i.constructor.name, i;
|
|
108
108
|
}
|
|
109
109
|
return zt(n);
|
|
110
|
-
}(/* @__PURE__ */ oe(Error)), ue = 2, Qt = 17, ed = 3, y = "0-90-9٠-٩۰-۹", td = "-‐-―−ー-", dd = "//", nd = "..", rd = " ", id = "()()[]\\[\\]", od = "~⁓∼~",
|
|
111
|
-
function
|
|
110
|
+
}(/* @__PURE__ */ oe(Error)), ue = 2, Qt = 17, ed = 3, y = "0-90-9٠-٩۰-۹", td = "-‐-―−ー-", dd = "//", nd = "..", rd = " ", id = "()()[]\\[\\]", od = "~⁓∼~", k = "".concat(td).concat(dd).concat(nd).concat(rd).concat(id).concat(od), ce = "++";
|
|
111
|
+
function _e(t, d) {
|
|
112
112
|
t = t.split("-"), d = d.split("-");
|
|
113
113
|
for (var n = t[0].split("."), r = d[0].split("."), i = 0; i < 3; i++) {
|
|
114
114
|
var a = Number(n[i]), $ = Number(r[i]);
|
|
@@ -120,7 +120,7 @@ function Pe(t, d) {
|
|
|
120
120
|
return t[1] && d[1] ? t[1] > d[1] ? 1 : t[1] < d[1] ? -1 : 0 : !t[1] && d[1] ? 1 : t[1] && !d[1] ? -1 : 0;
|
|
121
121
|
}
|
|
122
122
|
var ad = {}.constructor;
|
|
123
|
-
function
|
|
123
|
+
function G(t) {
|
|
124
124
|
return t != null && t.constructor === ad;
|
|
125
125
|
}
|
|
126
126
|
function ae(t) {
|
|
@@ -144,7 +144,7 @@ function $d(t, d) {
|
|
|
144
144
|
function X(t, d, n) {
|
|
145
145
|
return d && $d(t.prototype, d), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
146
146
|
}
|
|
147
|
-
var sd = "1.2.0", ld = "1.7.35",
|
|
147
|
+
var sd = "1.2.0", ld = "1.7.35", ve = " ext. ", ud = /^\d+$/, g = /* @__PURE__ */ function() {
|
|
148
148
|
function t(d) {
|
|
149
149
|
Y(this, t), gd(d), this.metadata = d, rt.call(this, d);
|
|
150
150
|
}
|
|
@@ -202,11 +202,11 @@ var sd = "1.2.0", ld = "1.7.35", _e = " ext. ", ud = /^\d+$/, g = /* @__PURE__ *
|
|
|
202
202
|
if (n && ud.test(n) && (r = n, n = null), n && n !== "001") {
|
|
203
203
|
if (!this.hasCountry(n))
|
|
204
204
|
throw new Error("Unknown country: ".concat(n));
|
|
205
|
-
this.numberingPlan = new
|
|
205
|
+
this.numberingPlan = new Ie(this.getCountryMetadata(n), this);
|
|
206
206
|
} else if (r) {
|
|
207
207
|
if (!this.hasCallingCode(r))
|
|
208
208
|
throw new Error("Unknown calling code: ".concat(r));
|
|
209
|
-
this.numberingPlan = new
|
|
209
|
+
this.numberingPlan = new Ie(this.getNumberingPlanMetadata(r), this);
|
|
210
210
|
} else
|
|
211
211
|
this.numberingPlan = void 0;
|
|
212
212
|
return this;
|
|
@@ -330,7 +330,7 @@ var sd = "1.2.0", ld = "1.7.35", _e = " ext. ", ud = /^\d+$/, g = /* @__PURE__ *
|
|
|
330
330
|
return this.numberingPlan !== void 0;
|
|
331
331
|
}
|
|
332
332
|
}]), t;
|
|
333
|
-
}(),
|
|
333
|
+
}(), Ie = /* @__PURE__ */ function() {
|
|
334
334
|
function t(d, n) {
|
|
335
335
|
Y(this, t), this.globalMetadataObject = n, this.metadata = d, rt.call(this, n.metadata);
|
|
336
336
|
}
|
|
@@ -457,13 +457,13 @@ var sd = "1.2.0", ld = "1.7.35", _e = " ext. ", ud = /^\d+$/, g = /* @__PURE__ *
|
|
|
457
457
|
}, {
|
|
458
458
|
key: "type",
|
|
459
459
|
value: function(n) {
|
|
460
|
-
if (this.hasTypes() &&
|
|
461
|
-
return new md(
|
|
460
|
+
if (this.hasTypes() && Ne(this.types(), n))
|
|
461
|
+
return new md(Ne(this.types(), n), this);
|
|
462
462
|
}
|
|
463
463
|
}, {
|
|
464
464
|
key: "ext",
|
|
465
465
|
value: function() {
|
|
466
|
-
return this.v1 || this.v2 ?
|
|
466
|
+
return this.v1 || this.v2 ? ve : this.metadata[13] || ve;
|
|
467
467
|
}
|
|
468
468
|
}]), t;
|
|
469
469
|
}(), cd = /* @__PURE__ */ function() {
|
|
@@ -530,7 +530,7 @@ var sd = "1.2.0", ld = "1.7.35", _e = " ext. ", ud = /^\d+$/, g = /* @__PURE__ *
|
|
|
530
530
|
}
|
|
531
531
|
}]), t;
|
|
532
532
|
}();
|
|
533
|
-
function
|
|
533
|
+
function Ne(t, d) {
|
|
534
534
|
switch (d) {
|
|
535
535
|
case "FIXED_LINE":
|
|
536
536
|
return t[0];
|
|
@@ -557,8 +557,8 @@ function Ie(t, d) {
|
|
|
557
557
|
function gd(t) {
|
|
558
558
|
if (!t)
|
|
559
559
|
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
560
|
-
if (!
|
|
561
|
-
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(
|
|
560
|
+
if (!G(t) || !G(t.countries))
|
|
561
|
+
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(G(t) ? "an object of shape: { " + Object.keys(t).join(", ") + " }" : "a " + pd(t) + ": " + t, "."));
|
|
562
562
|
}
|
|
563
563
|
var pd = function(d) {
|
|
564
564
|
return ae(d);
|
|
@@ -573,16 +573,16 @@ function bd(t, d) {
|
|
|
573
573
|
}
|
|
574
574
|
function rt(t) {
|
|
575
575
|
var d = t.version;
|
|
576
|
-
typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ?
|
|
576
|
+
typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? _e(d, sd) === -1 ? this.v2 = !0 : _e(d, ld) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
577
577
|
}
|
|
578
578
|
var yd = ";ext=", T = function(d) {
|
|
579
579
|
return "([".concat(y, "]{1,").concat(d, "})");
|
|
580
580
|
};
|
|
581
581
|
function it(t) {
|
|
582
|
-
var d = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", $ = "[:\\..]?[ \\t,-]*", s = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", p = "[- ]+", N = "[ \\t]*", P = "(?:,{2}|;)",
|
|
583
|
-
return
|
|
582
|
+
var d = "20", n = "15", r = "9", i = "6", a = "[ \\t,]*", $ = "[:\\..]?[ \\t,-]*", s = "#?", u = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", p = "[- ]+", N = "[ \\t]*", P = "(?:,{2}|;)", O = yd + T(d), w = a + u + $ + T(d) + s, Lt = a + l + $ + T(r) + s, wt = p + T(i) + "#", jt = N + P + $ + T(n) + s, Bt = N + "(?:,)+" + $ + T(r) + s;
|
|
583
|
+
return O + "|" + w + "|" + Lt + "|" + wt + "|" + jt + "|" + Bt;
|
|
584
584
|
}
|
|
585
|
-
var hd = "[" + y + "]{" + ue + "}", Ed = "[" + ce + "]{0,1}(?:[" +
|
|
585
|
+
var hd = "[" + y + "]{" + ue + "}", Ed = "[" + ce + "]{0,1}(?:[" + k + "]*[" + y + "]){3,}[" + k + y + "]*", Cd = new RegExp("^[" + ce + "]{0,1}(?:[" + k + "]*[" + y + "]){1,2}$", "i"), Pd = Ed + // Phone number extensions
|
|
586
586
|
"(?:" + it() + ")?", _d = new RegExp(
|
|
587
587
|
// Either a short two-digit-only phone number
|
|
588
588
|
"^" + hd + "$|^" + Pd + "$",
|
|
@@ -594,12 +594,12 @@ function vd(t) {
|
|
|
594
594
|
function Id(t) {
|
|
595
595
|
return Cd.test(t);
|
|
596
596
|
}
|
|
597
|
-
var
|
|
597
|
+
var Fe = new RegExp("(?:" + it() + ")$", "i");
|
|
598
598
|
function Nd(t) {
|
|
599
|
-
var d = t.search(
|
|
599
|
+
var d = t.search(Fe);
|
|
600
600
|
if (d < 0)
|
|
601
601
|
return {};
|
|
602
|
-
for (var n = t.slice(0, d), r = t.match(
|
|
602
|
+
for (var n = t.slice(0, d), r = t.match(Fe), i = 1; i < r.length; ) {
|
|
603
603
|
if (r[i])
|
|
604
604
|
return {
|
|
605
605
|
number: n,
|
|
@@ -608,7 +608,7 @@ function Nd(t) {
|
|
|
608
608
|
i++;
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var Fd = {
|
|
612
612
|
0: "0",
|
|
613
613
|
1: "1",
|
|
614
614
|
2: "2",
|
|
@@ -680,8 +680,8 @@ var Od = {
|
|
|
680
680
|
"۹": "9"
|
|
681
681
|
// Eastern-Arabic digit 9
|
|
682
682
|
};
|
|
683
|
-
function
|
|
684
|
-
return
|
|
683
|
+
function Od(t) {
|
|
684
|
+
return Fd[t];
|
|
685
685
|
}
|
|
686
686
|
function Ad(t, d) {
|
|
687
687
|
var n = typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
|
@@ -710,7 +710,7 @@ function Oe(t, d) {
|
|
|
710
710
|
r[n] = t[n];
|
|
711
711
|
return r;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Ae(t) {
|
|
714
714
|
for (var d = "", n = Ad(t.split("")), r; !(r = n()).done; ) {
|
|
715
715
|
var i = r.value;
|
|
716
716
|
d += Td(i, d) || "";
|
|
@@ -718,7 +718,7 @@ function Fe(t) {
|
|
|
718
718
|
return d;
|
|
719
719
|
}
|
|
720
720
|
function Td(t, d, n) {
|
|
721
|
-
return t === "+" ? d ? void 0 : "+" :
|
|
721
|
+
return t === "+" ? d ? void 0 : "+" : Od(t);
|
|
722
722
|
}
|
|
723
723
|
function me(t, d) {
|
|
724
724
|
return Sd(t, void 0, d);
|
|
@@ -780,13 +780,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
780
780
|
}
|
|
781
781
|
function Md(t, d) {
|
|
782
782
|
if (t) {
|
|
783
|
-
if (typeof t == "string") return
|
|
783
|
+
if (typeof t == "string") return Re(t, d);
|
|
784
784
|
var n = Object.prototype.toString.call(t).slice(8, -1);
|
|
785
785
|
if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set") return Array.from(t);
|
|
786
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
786
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Re(t, d);
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function Re(t, d) {
|
|
790
790
|
(d == null || d > t.length) && (d = t.length);
|
|
791
791
|
for (var n = 0, r = new Array(d); n < d; n++)
|
|
792
792
|
r[n] = t[n];
|
|
@@ -828,7 +828,7 @@ function Bd(t, d, n) {
|
|
|
828
828
|
return r.selectNumberingPlan(d), r.numberingPlan.possibleLengths().indexOf(t.length) >= 0;
|
|
829
829
|
}
|
|
830
830
|
function Ud(t) {
|
|
831
|
-
return t.replace(new RegExp("[".concat(
|
|
831
|
+
return t.replace(new RegExp("[".concat(k, "]+"), "g"), " ").trim();
|
|
832
832
|
}
|
|
833
833
|
var Gd = /(\$\d)/;
|
|
834
834
|
function kd(t, d, n) {
|
|
@@ -881,19 +881,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
881
881
|
}
|
|
882
882
|
function zd(t, d) {
|
|
883
883
|
if (t) {
|
|
884
|
-
if (typeof t == "string") return
|
|
884
|
+
if (typeof t == "string") return Te(t, d);
|
|
885
885
|
var n = Object.prototype.toString.call(t).slice(8, -1);
|
|
886
886
|
if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set") return Array.from(t);
|
|
887
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
887
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return Te(t, d);
|
|
888
888
|
}
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function Te(t, d) {
|
|
891
891
|
(d == null || d > t.length) && (d = t.length);
|
|
892
892
|
for (var n = 0, r = new Array(d); n < d; n++)
|
|
893
893
|
r[n] = t[n];
|
|
894
894
|
return r;
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function Se(t, d) {
|
|
897
897
|
var n = Object.keys(t);
|
|
898
898
|
if (Object.getOwnPropertySymbols) {
|
|
899
899
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -903,12 +903,12 @@ function Te(t, d) {
|
|
|
903
903
|
}
|
|
904
904
|
return n;
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function xe(t) {
|
|
907
907
|
for (var d = 1; d < arguments.length; d++) {
|
|
908
908
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
909
|
-
d % 2 ?
|
|
909
|
+
d % 2 ? Se(Object(n), !0).forEach(function(r) {
|
|
910
910
|
Yd(t, r, n[r]);
|
|
911
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
911
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Se(Object(n)).forEach(function(r) {
|
|
912
912
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
913
913
|
});
|
|
914
914
|
}
|
|
@@ -917,13 +917,13 @@ function Se(t) {
|
|
|
917
917
|
function Yd(t, d, n) {
|
|
918
918
|
return d in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
919
919
|
}
|
|
920
|
-
var
|
|
920
|
+
var De = {
|
|
921
921
|
formatExtension: function(d, n, r) {
|
|
922
922
|
return "".concat(d).concat(r.ext()).concat(n);
|
|
923
923
|
}
|
|
924
924
|
};
|
|
925
925
|
function Xd(t, d, n, r) {
|
|
926
|
-
if (n ? n =
|
|
926
|
+
if (n ? n = xe(xe({}, De), n) : n = De, r = new g(r), t.country && t.country !== "001") {
|
|
927
927
|
if (!r.hasCountry(t.country))
|
|
928
928
|
throw new Error("Unknown country: ".concat(t.country));
|
|
929
929
|
r.country(t.country);
|
|
@@ -933,9 +933,9 @@ function Xd(t, d, n, r) {
|
|
|
933
933
|
var i = r.countryCallingCode(), a = n.v2 ? t.nationalNumber : t.phone, $;
|
|
934
934
|
switch (d) {
|
|
935
935
|
case "NATIONAL":
|
|
936
|
-
return a ? ($ =
|
|
936
|
+
return a ? ($ = H(a, t.carrierCode, "NATIONAL", r, n), re($, t.ext, r, n.formatExtension)) : "";
|
|
937
937
|
case "INTERNATIONAL":
|
|
938
|
-
return a ? ($ =
|
|
938
|
+
return a ? ($ = H(a, null, "INTERNATIONAL", r, n), $ = "+".concat(i, " ").concat($), re($, t.ext, r, n.formatExtension)) : "+".concat(i);
|
|
939
939
|
case "E.164":
|
|
940
940
|
return "+".concat(i).concat(a);
|
|
941
941
|
case "RFC3966":
|
|
@@ -952,7 +952,7 @@ function Xd(t, d, n, r) {
|
|
|
952
952
|
throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
|
|
953
953
|
}
|
|
954
954
|
}
|
|
955
|
-
function
|
|
955
|
+
function H(t, d, n, r, i) {
|
|
956
956
|
var a = Zd(r.formats(), t);
|
|
957
957
|
return a ? kd(t, a, {
|
|
958
958
|
useInternationalFormat: n === "INTERNATIONAL",
|
|
@@ -979,14 +979,14 @@ function re(t, d, n, r) {
|
|
|
979
979
|
function Jd(t, d, n, r, i) {
|
|
980
980
|
var a = fe(r, i.metadata);
|
|
981
981
|
if (a === n) {
|
|
982
|
-
var $ =
|
|
982
|
+
var $ = H(t, d, "NATIONAL", i);
|
|
983
983
|
return n === "1" ? n + " " + $ : $;
|
|
984
984
|
}
|
|
985
985
|
var s = Vd(r, void 0, i.metadata);
|
|
986
986
|
if (s)
|
|
987
|
-
return "".concat(s, " ").concat(n, " ").concat(
|
|
987
|
+
return "".concat(s, " ").concat(n, " ").concat(H(t, null, "INTERNATIONAL", i));
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function Me(t, d) {
|
|
990
990
|
var n = Object.keys(t);
|
|
991
991
|
if (Object.getOwnPropertySymbols) {
|
|
992
992
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -996,12 +996,12 @@ function De(t, d) {
|
|
|
996
996
|
}
|
|
997
997
|
return n;
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function Le(t) {
|
|
1000
1000
|
for (var d = 1; d < arguments.length; d++) {
|
|
1001
1001
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
1002
|
-
d % 2 ?
|
|
1002
|
+
d % 2 ? Me(Object(n), !0).forEach(function(r) {
|
|
1003
1003
|
qd(t, r, n[r]);
|
|
1004
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1004
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Me(Object(n)).forEach(function(r) {
|
|
1005
1005
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1006
1006
|
});
|
|
1007
1007
|
}
|
|
@@ -1095,7 +1095,7 @@ var dn = /* @__PURE__ */ function() {
|
|
|
1095
1095
|
}, {
|
|
1096
1096
|
key: "format",
|
|
1097
1097
|
value: function(n, r) {
|
|
1098
|
-
return Xd(this, n, r ?
|
|
1098
|
+
return Xd(this, n, r ? Le(Le({}, r), {}, {
|
|
1099
1099
|
v2: !0
|
|
1100
1100
|
}) : {
|
|
1101
1101
|
v2: !0
|
|
@@ -1268,13 +1268,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1268
1268
|
}
|
|
1269
1269
|
function mn(t, d) {
|
|
1270
1270
|
if (t) {
|
|
1271
|
-
if (typeof t == "string") return
|
|
1271
|
+
if (typeof t == "string") return we(t, d);
|
|
1272
1272
|
var n = Object.prototype.toString.call(t).slice(8, -1);
|
|
1273
1273
|
if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set") return Array.from(t);
|
|
1274
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1274
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return we(t, d);
|
|
1275
1275
|
}
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function we(t, d) {
|
|
1278
1278
|
(d == null || d > t.length) && (d = t.length);
|
|
1279
1279
|
for (var n = 0, r = new Array(d); n < d; n++)
|
|
1280
1280
|
r[n] = t[n];
|
|
@@ -1304,7 +1304,7 @@ function pn(t, d) {
|
|
|
1304
1304
|
metadata: i.metadata
|
|
1305
1305
|
});
|
|
1306
1306
|
}
|
|
1307
|
-
var at = "+", bn = "[\\-\\.\\(\\)]?",
|
|
1307
|
+
var at = "+", bn = "[\\-\\.\\(\\)]?", je = "([" + y + "]|" + bn + ")", yn = "^\\" + at + je + "*[" + y + "]" + je + "*$", hn = new RegExp(yn, "g"), se = y, En = "[" + se + "]+((\\-)*[" + se + "])*", Cn = "a-zA-Z", Pn = "[" + Cn + "]+((\\-)*[" + se + "])*", _n = "^(" + En + "\\.)*" + Pn + "\\.?$", vn = new RegExp(_n, "g"), Be = "tel:", le = ";phone-context=", In = ";isub=";
|
|
1308
1308
|
function Nn(t) {
|
|
1309
1309
|
var d = t.indexOf(le);
|
|
1310
1310
|
if (d < 0)
|
|
@@ -1315,20 +1315,20 @@ function Nn(t) {
|
|
|
1315
1315
|
var r = t.indexOf(";", n);
|
|
1316
1316
|
return r >= 0 ? t.substring(n, r) : t.substring(n);
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1318
|
+
function Fn(t) {
|
|
1319
1319
|
return t === null ? !0 : t.length === 0 ? !1 : hn.test(t) || vn.test(t);
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function On(t, d) {
|
|
1322
1322
|
var n = d.extractFormattedPhoneNumber, r = Nn(t);
|
|
1323
|
-
if (!
|
|
1323
|
+
if (!Fn(r))
|
|
1324
1324
|
throw new _("NOT_A_NUMBER");
|
|
1325
1325
|
var i;
|
|
1326
1326
|
if (r === null)
|
|
1327
1327
|
i = n(t) || "";
|
|
1328
1328
|
else {
|
|
1329
1329
|
i = "", r.charAt(0) === at && (i += r);
|
|
1330
|
-
var a = t.indexOf(
|
|
1331
|
-
a >= 0 ? $ = a +
|
|
1330
|
+
var a = t.indexOf(Be), $;
|
|
1331
|
+
a >= 0 ? $ = a + Be.length : $ = 0;
|
|
1332
1332
|
var s = t.indexOf(le);
|
|
1333
1333
|
i += t.substring($, s);
|
|
1334
1334
|
}
|
|
@@ -1363,8 +1363,8 @@ function Sn(t, d, n) {
|
|
|
1363
1363
|
return {};
|
|
1364
1364
|
}
|
|
1365
1365
|
if (d.v2) {
|
|
1366
|
-
var
|
|
1367
|
-
return u && (
|
|
1366
|
+
var O = new dn(p, l, n.metadata);
|
|
1367
|
+
return u && (O.country = u), P && (O.carrierCode = P), a && (O.ext = a), O.__countryCallingCodeSource = N, O;
|
|
1368
1368
|
}
|
|
1369
1369
|
var w = (d.extended ? n.hasSelectedNumberingPlan() : u) ? I(l, n.nationalNumberPattern()) : !1;
|
|
1370
1370
|
return d.extended ? {
|
|
@@ -1392,7 +1392,7 @@ function xn(t, d, n) {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
1394
|
function Dn(t, d, n) {
|
|
1395
|
-
var r =
|
|
1395
|
+
var r = On(t, {
|
|
1396
1396
|
extractFormattedPhoneNumber: function($) {
|
|
1397
1397
|
return xn($, n, d);
|
|
1398
1398
|
}
|
|
@@ -1416,7 +1416,7 @@ function Mn(t, d, n) {
|
|
|
1416
1416
|
return n && (r.ext = n), r;
|
|
1417
1417
|
}
|
|
1418
1418
|
function Ln(t, d, n, r) {
|
|
1419
|
-
var i = cn(
|
|
1419
|
+
var i = cn(Ae(t), d, n, r.metadata), a = i.countryCallingCodeSource, $ = i.countryCallingCode, s = i.number, u;
|
|
1420
1420
|
if ($)
|
|
1421
1421
|
r.selectNumberingPlan($);
|
|
1422
1422
|
else if (s && (d || n))
|
|
@@ -1427,7 +1427,7 @@ function Ln(t, d, n, r) {
|
|
|
1427
1427
|
countryCallingCodeSource: a,
|
|
1428
1428
|
countryCallingCode: $
|
|
1429
1429
|
};
|
|
1430
|
-
var l = $e(
|
|
1430
|
+
var l = $e(Ae(s), r), p = l.nationalNumber, N = l.carrierCode, P = pn($, {
|
|
1431
1431
|
nationalNumber: p,
|
|
1432
1432
|
defaultCountry: d,
|
|
1433
1433
|
metadata: r
|
|
@@ -1440,7 +1440,7 @@ function Ln(t, d, n, r) {
|
|
|
1440
1440
|
carrierCode: N
|
|
1441
1441
|
};
|
|
1442
1442
|
}
|
|
1443
|
-
function
|
|
1443
|
+
function Ue(t, d) {
|
|
1444
1444
|
var n = Object.keys(t);
|
|
1445
1445
|
if (Object.getOwnPropertySymbols) {
|
|
1446
1446
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -1450,12 +1450,12 @@ function Be(t, d) {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
return n;
|
|
1452
1452
|
}
|
|
1453
|
-
function
|
|
1453
|
+
function Ge(t) {
|
|
1454
1454
|
for (var d = 1; d < arguments.length; d++) {
|
|
1455
1455
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
1456
|
-
d % 2 ?
|
|
1456
|
+
d % 2 ? Ue(Object(n), !0).forEach(function(r) {
|
|
1457
1457
|
wn(t, r, n[r]);
|
|
1458
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1458
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(r) {
|
|
1459
1459
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1460
1460
|
});
|
|
1461
1461
|
}
|
|
@@ -1465,11 +1465,11 @@ function wn(t, d, n) {
|
|
|
1465
1465
|
return d in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1466
1466
|
}
|
|
1467
1467
|
function jn(t, d, n) {
|
|
1468
|
-
return Sn(t,
|
|
1468
|
+
return Sn(t, Ge(Ge({}, d), {}, {
|
|
1469
1469
|
v2: !0
|
|
1470
1470
|
}), n);
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function ke(t, d) {
|
|
1473
1473
|
var n = Object.keys(t);
|
|
1474
1474
|
if (Object.getOwnPropertySymbols) {
|
|
1475
1475
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -1482,9 +1482,9 @@ function Ge(t, d) {
|
|
|
1482
1482
|
function Bn(t) {
|
|
1483
1483
|
for (var d = 1; d < arguments.length; d++) {
|
|
1484
1484
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
1485
|
-
d % 2 ?
|
|
1485
|
+
d % 2 ? ke(Object(n), !0).forEach(function(r) {
|
|
1486
1486
|
Un(t, r, n[r]);
|
|
1487
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1487
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : ke(Object(n)).forEach(function(r) {
|
|
1488
1488
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1489
1489
|
});
|
|
1490
1490
|
}
|
|
@@ -1502,13 +1502,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1502
1502
|
}
|
|
1503
1503
|
function Hn(t, d) {
|
|
1504
1504
|
if (t) {
|
|
1505
|
-
if (typeof t == "string") return
|
|
1505
|
+
if (typeof t == "string") return He(t, d);
|
|
1506
1506
|
var n = Object.prototype.toString.call(t).slice(8, -1);
|
|
1507
1507
|
if (n === "Object" && t.constructor && (n = t.constructor.name), n === "Map" || n === "Set") return Array.from(t);
|
|
1508
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
1508
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return He(t, d);
|
|
1509
1509
|
}
|
|
1510
1510
|
}
|
|
1511
|
-
function
|
|
1511
|
+
function He(t, d) {
|
|
1512
1512
|
(d == null || d > t.length) && (d = t.length);
|
|
1513
1513
|
for (var n = 0, r = new Array(d); n < d; n++)
|
|
1514
1514
|
r[n] = t[n];
|
|
@@ -1545,7 +1545,7 @@ function Kn(t) {
|
|
|
1545
1545
|
$ ? (u = a, l = $) : (u = void 0, l = a), i && (u = Bn({
|
|
1546
1546
|
defaultCountry: i
|
|
1547
1547
|
}, u));
|
|
1548
|
-
else if (
|
|
1548
|
+
else if (G(i))
|
|
1549
1549
|
a ? (u = i, l = a) : l = i;
|
|
1550
1550
|
else throw new Error("Invalid second argument: ".concat(i));
|
|
1551
1551
|
return {
|
|
@@ -1554,7 +1554,7 @@ function Kn(t) {
|
|
|
1554
1554
|
metadata: l
|
|
1555
1555
|
};
|
|
1556
1556
|
}
|
|
1557
|
-
function
|
|
1557
|
+
function Ve(t, d) {
|
|
1558
1558
|
var n = Object.keys(t);
|
|
1559
1559
|
if (Object.getOwnPropertySymbols) {
|
|
1560
1560
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -1564,12 +1564,12 @@ function He(t, d) {
|
|
|
1564
1564
|
}
|
|
1565
1565
|
return n;
|
|
1566
1566
|
}
|
|
1567
|
-
function
|
|
1567
|
+
function We(t) {
|
|
1568
1568
|
for (var d = 1; d < arguments.length; d++) {
|
|
1569
1569
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
1570
|
-
d % 2 ?
|
|
1570
|
+
d % 2 ? Ve(Object(n), !0).forEach(function(r) {
|
|
1571
1571
|
zn(t, r, n[r]);
|
|
1572
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1572
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ve(Object(n)).forEach(function(r) {
|
|
1573
1573
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1574
1574
|
});
|
|
1575
1575
|
}
|
|
@@ -1579,7 +1579,7 @@ function zn(t, d, n) {
|
|
|
1579
1579
|
return d in t ? Object.defineProperty(t, d, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[d] = n, t;
|
|
1580
1580
|
}
|
|
1581
1581
|
function Yn(t, d, n) {
|
|
1582
|
-
d && d.defaultCountry && !bd(d.defaultCountry, n) && (d =
|
|
1582
|
+
d && d.defaultCountry && !bd(d.defaultCountry, n) && (d = We(We({}, d), {}, {
|
|
1583
1583
|
defaultCountry: void 0
|
|
1584
1584
|
}));
|
|
1585
1585
|
try {
|
|
@@ -1588,7 +1588,7 @@ function Yn(t, d, n) {
|
|
|
1588
1588
|
if (!(r instanceof _)) throw r;
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function Ke(t, d) {
|
|
1592
1592
|
var n = Object.keys(t);
|
|
1593
1593
|
if (Object.getOwnPropertySymbols) {
|
|
1594
1594
|
var r = Object.getOwnPropertySymbols(t);
|
|
@@ -1598,12 +1598,12 @@ function We(t, d) {
|
|
|
1598
1598
|
}
|
|
1599
1599
|
return n;
|
|
1600
1600
|
}
|
|
1601
|
-
function
|
|
1601
|
+
function ze(t) {
|
|
1602
1602
|
for (var d = 1; d < arguments.length; d++) {
|
|
1603
1603
|
var n = arguments[d] != null ? arguments[d] : {};
|
|
1604
|
-
d % 2 ?
|
|
1604
|
+
d % 2 ? Ke(Object(n), !0).forEach(function(r) {
|
|
1605
1605
|
Xn(t, r, n[r]);
|
|
1606
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) :
|
|
1606
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ke(Object(n)).forEach(function(r) {
|
|
1607
1607
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
|
|
1608
1608
|
});
|
|
1609
1609
|
}
|
|
@@ -1614,7 +1614,7 @@ function Xn(t, d, n) {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
function Zn() {
|
|
1616
1616
|
var t = Kn(arguments), d = t.text, n = t.options, r = t.metadata;
|
|
1617
|
-
n =
|
|
1617
|
+
n = ze(ze({}, n), {}, {
|
|
1618
1618
|
extract: !1
|
|
1619
1619
|
});
|
|
1620
1620
|
var i = Yn(d, n, r);
|
|
@@ -1629,7 +1629,7 @@ const qn = {
|
|
|
1629
1629
|
_id: "oid",
|
|
1630
1630
|
business: "oid"
|
|
1631
1631
|
}
|
|
1632
|
-
}, Qn = e.enum(["DYNAMIC", "STATIC"]),
|
|
1632
|
+
}, Qn = e.enum(["DYNAMIC", "STATIC"]), C0 = e.object({
|
|
1633
1633
|
_id: o,
|
|
1634
1634
|
rule: x,
|
|
1635
1635
|
name: e.string().min(1),
|
|
@@ -1713,7 +1713,7 @@ const qn = {
|
|
|
1713
1713
|
e.object({
|
|
1714
1714
|
amount: e.number(),
|
|
1715
1715
|
expiryAmount: e.array(e.lazy(() => pe)),
|
|
1716
|
-
collection: e.lazy(() =>
|
|
1716
|
+
collection: e.lazy(() => V),
|
|
1717
1717
|
source: Z,
|
|
1718
1718
|
ref: e.string(),
|
|
1719
1719
|
from: e.lazy(() => v).optional(),
|
|
@@ -1726,19 +1726,13 @@ e.object({
|
|
|
1726
1726
|
id: e.string()
|
|
1727
1727
|
});
|
|
1728
1728
|
e1.options;
|
|
1729
|
-
const
|
|
1730
|
-
constructor() {
|
|
1731
|
-
this.redemptionCode =
|
|
1732
|
-
}
|
|
1733
|
-
static generateCode() {
|
|
1734
|
-
return Array.from(
|
|
1735
|
-
{ length: d1 },
|
|
1736
|
-
() => ze[Math.floor(Math.random() * ze.length)]
|
|
1737
|
-
).join("");
|
|
1729
|
+
const K = class K {
|
|
1730
|
+
constructor(d) {
|
|
1731
|
+
this.redemptionCode = d.generate(), this.expiredAt = new Date(Date.now() + K.EXPIRY_TIME);
|
|
1738
1732
|
}
|
|
1739
1733
|
};
|
|
1740
|
-
|
|
1741
|
-
let Ye =
|
|
1734
|
+
K.EXPIRY_TIME = 5 * 60 * 1e3;
|
|
1735
|
+
let Ye = K;
|
|
1742
1736
|
const st = e.enum(["NORMAL", "EXPIRABLE"]), pe = e.object({
|
|
1743
1737
|
_id: o,
|
|
1744
1738
|
amount: e.number(),
|
|
@@ -1746,7 +1740,7 @@ const st = e.enum(["NORMAL", "EXPIRABLE"]), pe = e.object({
|
|
|
1746
1740
|
}), v = e.object({
|
|
1747
1741
|
balance: e.number(),
|
|
1748
1742
|
expiryBalance: e.array(pe).optional()
|
|
1749
|
-
}),
|
|
1743
|
+
}), d1 = {
|
|
1750
1744
|
collectionName: "Collections",
|
|
1751
1745
|
transform: {
|
|
1752
1746
|
_id: "oid",
|
|
@@ -1765,10 +1759,10 @@ const st = e.enum(["NORMAL", "EXPIRABLE"]), pe = e.object({
|
|
|
1765
1759
|
fromCollection: "CollectibleConfigs"
|
|
1766
1760
|
}
|
|
1767
1761
|
}
|
|
1768
|
-
},
|
|
1762
|
+
}, n1 = e.object({
|
|
1769
1763
|
redemptionCode: e.string(),
|
|
1770
1764
|
expiredAt: e.coerce.date()
|
|
1771
|
-
}),
|
|
1765
|
+
}), V = e.object({
|
|
1772
1766
|
_id: o,
|
|
1773
1767
|
business: o,
|
|
1774
1768
|
user: o.nullish(),
|
|
@@ -1779,11 +1773,11 @@ const st = e.enum(["NORMAL", "EXPIRABLE"]), pe = e.object({
|
|
|
1779
1773
|
options: Ht,
|
|
1780
1774
|
ref: e.string().nullish(),
|
|
1781
1775
|
deactivatedAt: e.date().nullish(),
|
|
1782
|
-
redemption:
|
|
1776
|
+
redemption: n1.optional(),
|
|
1783
1777
|
pf_user: e.any().optional(),
|
|
1784
1778
|
pf_collectible: e.any().optional(),
|
|
1785
1779
|
pf_campaign: e.any().optional()
|
|
1786
|
-
}).merge(v).describe(b.describe(
|
|
1780
|
+
}).merge(v).describe(b.describe(d1)), D = e.object({
|
|
1787
1781
|
amount: e.number(),
|
|
1788
1782
|
ref: e.string(),
|
|
1789
1783
|
source: Z,
|
|
@@ -1822,7 +1816,7 @@ e.object({
|
|
|
1822
1816
|
source: Z,
|
|
1823
1817
|
metadata: J
|
|
1824
1818
|
});
|
|
1825
|
-
const
|
|
1819
|
+
const r1 = e.object({
|
|
1826
1820
|
length: e.coerce.number().optional(),
|
|
1827
1821
|
charset: e.string(),
|
|
1828
1822
|
prefix: e.string().optional(),
|
|
@@ -1832,20 +1826,20 @@ const i1 = e.object({
|
|
|
1832
1826
|
e.object({
|
|
1833
1827
|
quantity: e.number(),
|
|
1834
1828
|
code: e.string(),
|
|
1835
|
-
codeConfig:
|
|
1829
|
+
codeConfig: r1
|
|
1836
1830
|
});
|
|
1837
|
-
const
|
|
1831
|
+
const P0 = e.object({
|
|
1838
1832
|
amount: e.coerce.number().min(1).max(1e7).multipleOf(0.01, "Amount must be maximum of two decimal places (0.00)"),
|
|
1839
1833
|
day: e.coerce.number().min(1).max(9999),
|
|
1840
1834
|
remark: e.string().optional()
|
|
1841
|
-
}),
|
|
1835
|
+
}), _0 = e.object({
|
|
1842
1836
|
amount: e.coerce.number().min(1),
|
|
1843
1837
|
remark: e.string().optional()
|
|
1844
|
-
}),
|
|
1838
|
+
}), v0 = e.object({
|
|
1845
1839
|
amount: e.coerce.number().min(1),
|
|
1846
1840
|
day: e.coerce.number().min(1).max(9999).optional(),
|
|
1847
1841
|
remark: e.string().optional()
|
|
1848
|
-
}),
|
|
1842
|
+
}), I0 = e.object({
|
|
1849
1843
|
amount: e.coerce.number().min(1),
|
|
1850
1844
|
remark: e.string().optional()
|
|
1851
1845
|
});
|
|
@@ -1859,7 +1853,7 @@ D.extend({
|
|
|
1859
1853
|
user: e.string(),
|
|
1860
1854
|
channelConfig: z.nullish()
|
|
1861
1855
|
});
|
|
1862
|
-
const
|
|
1856
|
+
const N0 = e.object({
|
|
1863
1857
|
memberId: e.array(o).min(1),
|
|
1864
1858
|
amount: e.coerce.number().min(1).max(9999).optional(),
|
|
1865
1859
|
ref: e.string().optional()
|
|
@@ -1875,20 +1869,20 @@ e.lazy(
|
|
|
1875
1869
|
voucherCount: e.number(),
|
|
1876
1870
|
gameCount: e.number(),
|
|
1877
1871
|
tier: e.lazy(() => v),
|
|
1878
|
-
titles: e.lazy(() => e.array(
|
|
1879
|
-
collection: e.record(tt, e.array(
|
|
1872
|
+
titles: e.lazy(() => e.array(V)),
|
|
1873
|
+
collection: e.record(tt, e.array(V)).nullish()
|
|
1880
1874
|
})
|
|
1881
1875
|
);
|
|
1882
1876
|
e.object({
|
|
1883
1877
|
userId: o
|
|
1884
1878
|
});
|
|
1885
|
-
const
|
|
1879
|
+
const i1 = e.enum([
|
|
1886
1880
|
"REGISTER",
|
|
1887
1881
|
"UPDATE_PHONE"
|
|
1888
|
-
]),
|
|
1882
|
+
]), o1 = e.object({
|
|
1889
1883
|
name: e.string(),
|
|
1890
1884
|
id: e.string()
|
|
1891
|
-
}),
|
|
1885
|
+
}), a1 = e.object({
|
|
1892
1886
|
lastVisit: e.coerce.date(),
|
|
1893
1887
|
topupCount: e.number(),
|
|
1894
1888
|
// { [productId]: count }
|
|
@@ -1899,11 +1893,11 @@ const o1 = e.enum([
|
|
|
1899
1893
|
feedbackCount: e.number(),
|
|
1900
1894
|
lastSeasonTierEarned: e.number().optional(),
|
|
1901
1895
|
lastSeasonPointEarned: e.number().optional()
|
|
1902
|
-
}),
|
|
1896
|
+
}), $1 = e.object({
|
|
1903
1897
|
name: e.string(),
|
|
1904
1898
|
address: e.string(),
|
|
1905
1899
|
coordinates: e.array(e.number())
|
|
1906
|
-
}),
|
|
1900
|
+
}), s1 = {
|
|
1907
1901
|
collectionName: "UsersV2",
|
|
1908
1902
|
transform: {
|
|
1909
1903
|
_id: "oid",
|
|
@@ -1921,7 +1915,7 @@ const o1 = e.enum([
|
|
|
1921
1915
|
name: e.string(),
|
|
1922
1916
|
birthday: e.coerce.date().nullish(),
|
|
1923
1917
|
gender: e.enum(["MALE", "FEMALE"]).nullish(),
|
|
1924
|
-
address: e.array(
|
|
1918
|
+
address: e.array($1).nullish(),
|
|
1925
1919
|
email: e.string().email().nullish(),
|
|
1926
1920
|
phoneNumber: e.string().refine((t) => Jn(t)),
|
|
1927
1921
|
externalMemberId: e.string().optional(),
|
|
@@ -1931,7 +1925,7 @@ const o1 = e.enum([
|
|
|
1931
1925
|
location: o.nullish(),
|
|
1932
1926
|
// member meta
|
|
1933
1927
|
business: o,
|
|
1934
|
-
stats:
|
|
1928
|
+
stats: a1,
|
|
1935
1929
|
// segment
|
|
1936
1930
|
segment: e.array(o),
|
|
1937
1931
|
member: e.boolean(),
|
|
@@ -1960,12 +1954,12 @@ const o1 = e.enum([
|
|
|
1960
1954
|
parentReferralCode: e.string().optional(),
|
|
1961
1955
|
password: e.string().optional(),
|
|
1962
1956
|
birthdayUpdateCount: e.number().optional(),
|
|
1963
|
-
authProvider: e.array(
|
|
1964
|
-
}).describe(b.describe(
|
|
1957
|
+
authProvider: e.array(o1).optional()
|
|
1958
|
+
}).describe(b.describe(s1)), l1 = e.object({
|
|
1965
1959
|
id: o,
|
|
1966
1960
|
expiredAt: e.coerce.number().min(0, "Expire in days must be greater than 0").max(9999, "Expire in days must not exceed 9999")
|
|
1967
1961
|
}), F0 = e.object({
|
|
1968
|
-
titles: e.array(
|
|
1962
|
+
titles: e.array(l1).optional(),
|
|
1969
1963
|
tier: e.number().optional(),
|
|
1970
1964
|
experience: e.number().optional(),
|
|
1971
1965
|
cardNo: e.string().optional()
|
|
@@ -2004,7 +1998,7 @@ e.object({
|
|
|
2004
1998
|
phoneNumber: e.string(),
|
|
2005
1999
|
otp: e.string(),
|
|
2006
2000
|
business: e.string(),
|
|
2007
|
-
type:
|
|
2001
|
+
type: i1
|
|
2008
2002
|
});
|
|
2009
2003
|
e.object({
|
|
2010
2004
|
provider: e.string(),
|
|
@@ -2017,7 +2011,7 @@ e.object({
|
|
|
2017
2011
|
nettTotal: S,
|
|
2018
2012
|
remark: e.string().optional()
|
|
2019
2013
|
});
|
|
2020
|
-
const
|
|
2014
|
+
const u1 = e.enum(["COUNTER", "POS"]);
|
|
2021
2015
|
e.object({
|
|
2022
2016
|
id: e.string(),
|
|
2023
2017
|
userId: e.string(),
|
|
@@ -2028,7 +2022,7 @@ e.object({
|
|
|
2028
2022
|
level: e.number().nullish(),
|
|
2029
2023
|
mostPurchasedItems: e.array(e.string()).nullish()
|
|
2030
2024
|
});
|
|
2031
|
-
const
|
|
2025
|
+
const c1 = {
|
|
2032
2026
|
collectionName: "Bills"
|
|
2033
2027
|
}, lt = e.object({
|
|
2034
2028
|
_id: e.string(),
|
|
@@ -2047,7 +2041,7 @@ const f1 = {
|
|
|
2047
2041
|
refunded: e.boolean().nullish(),
|
|
2048
2042
|
refundRecord: e.array(e.string()).nullish(),
|
|
2049
2043
|
location: e.string(),
|
|
2050
|
-
channel:
|
|
2044
|
+
channel: u1.optional()
|
|
2051
2045
|
}).transform((t) => ({
|
|
2052
2046
|
...t,
|
|
2053
2047
|
createdTime: t.createdAt,
|
|
@@ -2055,7 +2049,7 @@ const f1 = {
|
|
|
2055
2049
|
get amount() {
|
|
2056
2050
|
return t.nettTotal.amount / 10 ** t.nettTotal.precision;
|
|
2057
2051
|
}
|
|
2058
|
-
})).describe(b.describe(
|
|
2052
|
+
})).describe(b.describe(c1)), f1 = e.object({
|
|
2059
2053
|
_id: e.string(),
|
|
2060
2054
|
rating: e.coerce.number(),
|
|
2061
2055
|
user: e.string(),
|
|
@@ -2081,7 +2075,7 @@ const f1 = {
|
|
|
2081
2075
|
"REFERRAL_ADDED",
|
|
2082
2076
|
"MEMBER_IMPORTED",
|
|
2083
2077
|
"SEGMENTATION_IMPORTED"
|
|
2084
|
-
]),
|
|
2078
|
+
]), O0 = f.extract([
|
|
2085
2079
|
"BILL_COMPLETED",
|
|
2086
2080
|
"FEEDBACK",
|
|
2087
2081
|
"GAME_COMPLETED",
|
|
@@ -2094,7 +2088,7 @@ const f1 = {
|
|
|
2094
2088
|
]);
|
|
2095
2089
|
e.enum(["START_OF", "BEFORE"]);
|
|
2096
2090
|
e.enum(["WEEK", "MONTH"]);
|
|
2097
|
-
const
|
|
2091
|
+
const m1 = e.enum([
|
|
2098
2092
|
"WAITING",
|
|
2099
2093
|
"ACTIVE",
|
|
2100
2094
|
"COMPLETED",
|
|
@@ -2102,31 +2096,31 @@ const g1 = e.enum([
|
|
|
2102
2096
|
]), m = e.object({
|
|
2103
2097
|
// type: F_EVENT_TYPE,
|
|
2104
2098
|
rule: x.optional()
|
|
2105
|
-
}),
|
|
2099
|
+
}), g1 = m.extend({
|
|
2106
2100
|
type: e.literal(f.enum.BILL_COMPLETED)
|
|
2107
|
-
}),
|
|
2101
|
+
}), p1 = m.extend({
|
|
2108
2102
|
type: e.literal(f.enum.FEEDBACK)
|
|
2109
|
-
}),
|
|
2103
|
+
}), b1 = m.extend({
|
|
2110
2104
|
type: e.literal(f.enum.SIMPLE_CLAIM)
|
|
2111
2105
|
});
|
|
2112
2106
|
m.extend({
|
|
2113
2107
|
type: e.literal(f.enum.ENTER_SEGMENT),
|
|
2114
2108
|
segment: e.string()
|
|
2115
2109
|
});
|
|
2116
|
-
const
|
|
2110
|
+
const y1 = m.extend({
|
|
2117
2111
|
type: e.literal(f.enum.MEMBER_REWARD)
|
|
2118
|
-
}),
|
|
2112
|
+
}), h1 = m.extend({
|
|
2119
2113
|
type: e.literal(f.enum.SCHEDULE)
|
|
2120
2114
|
// option: FdoCronRule,
|
|
2121
|
-
}),
|
|
2115
|
+
}), E1 = m.extend({
|
|
2122
2116
|
type: e.literal(f.enum.MEMBERSHIP_JOINED)
|
|
2123
|
-
}),
|
|
2117
|
+
}), C1 = m.extend({
|
|
2124
2118
|
type: e.literal(f.enum.TIER_UPGRADED)
|
|
2125
|
-
}),
|
|
2119
|
+
}), P1 = m.extend({
|
|
2126
2120
|
type: e.literal(f.enum.MAKING_ORDER)
|
|
2127
|
-
}),
|
|
2121
|
+
}), _1 = m.extend({
|
|
2128
2122
|
type: e.literal(f.enum.ISSUE_REWARD)
|
|
2129
|
-
}),
|
|
2123
|
+
}), v1 = m.extend({
|
|
2130
2124
|
type: e.literal(f.enum.GAME_COMPLETED)
|
|
2131
2125
|
});
|
|
2132
2126
|
m.extend({
|
|
@@ -2135,23 +2129,23 @@ m.extend({
|
|
|
2135
2129
|
m.extend({
|
|
2136
2130
|
type: e.literal(f.enum.MEMBER_IMPORTED)
|
|
2137
2131
|
});
|
|
2138
|
-
const
|
|
2139
|
-
|
|
2132
|
+
const I1 = e.discriminatedUnion("type", [
|
|
2133
|
+
b1,
|
|
2134
|
+
g1,
|
|
2135
|
+
h1,
|
|
2140
2136
|
p1,
|
|
2141
2137
|
E1,
|
|
2142
|
-
b1,
|
|
2143
2138
|
C1,
|
|
2144
2139
|
P1,
|
|
2145
2140
|
_1,
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
I1
|
|
2141
|
+
y1,
|
|
2142
|
+
v1
|
|
2149
2143
|
]);
|
|
2150
2144
|
e.object({
|
|
2151
2145
|
_id: o,
|
|
2152
2146
|
type: f,
|
|
2153
2147
|
ref: e.string(),
|
|
2154
|
-
status:
|
|
2148
|
+
status: m1.optional(),
|
|
2155
2149
|
context: e.record(e.string(), e.any()).optional(),
|
|
2156
2150
|
failedReason: e.any().optional()
|
|
2157
2151
|
}).describe(JSON.stringify({ collectionName: "EventLogs" }));
|
|
@@ -2162,7 +2156,7 @@ const h = e.object({
|
|
|
2162
2156
|
campaignIds: e.array(o).optional(),
|
|
2163
2157
|
slackWebhookUrl: e.string().optional(),
|
|
2164
2158
|
emittedAt: e.coerce.date().default(/* @__PURE__ */ new Date())
|
|
2165
|
-
}),
|
|
2159
|
+
}), N1 = h.extend({
|
|
2166
2160
|
type: e.literal(f.enum.BILL_COMPLETED),
|
|
2167
2161
|
context: e.object({
|
|
2168
2162
|
bill: lt,
|
|
@@ -2174,12 +2168,12 @@ const h = e.object({
|
|
|
2174
2168
|
bill: lt,
|
|
2175
2169
|
rawBill: e.any()
|
|
2176
2170
|
})
|
|
2177
|
-
}),
|
|
2171
|
+
}), O1 = h.extend({
|
|
2178
2172
|
type: e.literal(f.enum.SCHEDULE),
|
|
2179
2173
|
context: e.object({
|
|
2180
2174
|
triggeredAt: e.coerce.date()
|
|
2181
2175
|
})
|
|
2182
|
-
}),
|
|
2176
|
+
}), A1 = h.extend({
|
|
2183
2177
|
type: e.literal(f.enum.PAGINATE_SCHEDULE),
|
|
2184
2178
|
context: e.object({
|
|
2185
2179
|
triggeredAt: e.coerce.date(),
|
|
@@ -2187,28 +2181,28 @@ const h = e.object({
|
|
|
2187
2181
|
skip: e.coerce.number(),
|
|
2188
2182
|
limit: e.coerce.number()
|
|
2189
2183
|
})
|
|
2190
|
-
}),
|
|
2184
|
+
}), R1 = h.extend({
|
|
2191
2185
|
type: e.literal(f.enum.FEEDBACK),
|
|
2192
2186
|
context: e.object({
|
|
2193
|
-
feedback:
|
|
2187
|
+
feedback: f1
|
|
2194
2188
|
})
|
|
2195
|
-
}),
|
|
2189
|
+
}), T1 = h.extend({
|
|
2196
2190
|
type: e.literal(f.enum.MEMBERSHIP_JOINED),
|
|
2197
2191
|
context: e.object({
|
|
2198
2192
|
user: q
|
|
2199
2193
|
})
|
|
2200
|
-
}),
|
|
2194
|
+
}), S1 = h.extend({
|
|
2201
2195
|
type: e.literal(f.enum.TIER_UPGRADED),
|
|
2202
2196
|
context: e.object({
|
|
2203
2197
|
transaction: $t
|
|
2204
2198
|
})
|
|
2205
|
-
}),
|
|
2199
|
+
}), x1 = h.extend({
|
|
2206
2200
|
type: e.literal(f.enum.ISSUE_REWARD),
|
|
2207
2201
|
context: e.object({
|
|
2208
2202
|
transaction: $t,
|
|
2209
|
-
collection:
|
|
2203
|
+
collection: V
|
|
2210
2204
|
})
|
|
2211
|
-
}),
|
|
2205
|
+
}), D1 = h.extend({
|
|
2212
2206
|
type: e.literal(f.enum.REFERRAL_ADDED),
|
|
2213
2207
|
context: e.object({
|
|
2214
2208
|
user: q
|
|
@@ -2220,16 +2214,16 @@ const h = e.object({
|
|
|
2220
2214
|
size: e.number(),
|
|
2221
2215
|
fbFilePath: e.string(),
|
|
2222
2216
|
isFbFileDeleted: e.boolean().nullish()
|
|
2223
|
-
}),
|
|
2217
|
+
}), M1 = e.object({
|
|
2224
2218
|
resetCollectionExpiryBalance: e.boolean().nullish()
|
|
2225
|
-
}),
|
|
2219
|
+
}), L1 = h.extend({
|
|
2226
2220
|
type: e.literal(f.enum.MEMBER_IMPORTED),
|
|
2227
2221
|
context: e.object({
|
|
2228
2222
|
business: e.string(),
|
|
2229
2223
|
file: ut,
|
|
2230
|
-
config:
|
|
2224
|
+
config: M1.optional()
|
|
2231
2225
|
})
|
|
2232
|
-
}),
|
|
2226
|
+
}), w1 = h.extend({
|
|
2233
2227
|
type: e.literal(f.enum.SEGMENTATION_IMPORTED),
|
|
2234
2228
|
context: e.object({
|
|
2235
2229
|
business: e.string(),
|
|
@@ -2238,19 +2232,19 @@ const h = e.object({
|
|
|
2238
2232
|
})
|
|
2239
2233
|
});
|
|
2240
2234
|
e.discriminatedUnion("type", [
|
|
2241
|
-
|
|
2235
|
+
N1,
|
|
2242
2236
|
F1,
|
|
2243
|
-
|
|
2237
|
+
O1,
|
|
2238
|
+
R1,
|
|
2244
2239
|
T1,
|
|
2245
2240
|
S1,
|
|
2246
2241
|
x1,
|
|
2242
|
+
A1,
|
|
2247
2243
|
D1,
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
w1,
|
|
2251
|
-
j1
|
|
2244
|
+
L1,
|
|
2245
|
+
w1
|
|
2252
2246
|
]);
|
|
2253
|
-
const
|
|
2247
|
+
const j1 = e.object({
|
|
2254
2248
|
from: e.coerce.number(),
|
|
2255
2249
|
to: e.coerce.number().optional()
|
|
2256
2250
|
}).superRefine((t, d) => {
|
|
@@ -2258,11 +2252,11 @@ const B1 = e.object({
|
|
|
2258
2252
|
code: "custom",
|
|
2259
2253
|
message: "Max experience must be more than min experience"
|
|
2260
2254
|
});
|
|
2261
|
-
}),
|
|
2255
|
+
}), B1 = e.enum(["MULTIPLIER", "FIXED"]);
|
|
2262
2256
|
e.object({
|
|
2263
|
-
type:
|
|
2257
|
+
type: B1
|
|
2264
2258
|
});
|
|
2265
|
-
const
|
|
2259
|
+
const U1 = e.object({
|
|
2266
2260
|
_id: o.optional(),
|
|
2267
2261
|
rule: x,
|
|
2268
2262
|
tierExpression: e.string().nullish(),
|
|
@@ -2271,25 +2265,30 @@ const G1 = e.object({
|
|
|
2271
2265
|
_id: o,
|
|
2272
2266
|
name: e.string().min(1),
|
|
2273
2267
|
image: e.string().nullish(),
|
|
2274
|
-
option:
|
|
2275
|
-
cycleOptions: e.array(e.lazy(() =>
|
|
2268
|
+
option: j1,
|
|
2269
|
+
cycleOptions: e.array(e.lazy(() => U1)).nullish(),
|
|
2276
2270
|
member_count: e.number().optional()
|
|
2277
2271
|
});
|
|
2278
2272
|
be.partial({
|
|
2279
2273
|
_id: !0
|
|
2280
2274
|
});
|
|
2281
|
-
const
|
|
2275
|
+
const A0 = be.partial({
|
|
2282
2276
|
_id: !0
|
|
2283
|
-
}),
|
|
2277
|
+
}), G1 = e.object({
|
|
2284
2278
|
icon: e.string(),
|
|
2285
2279
|
label: e.string(),
|
|
2286
2280
|
value: e.string()
|
|
2287
|
-
}),
|
|
2281
|
+
}), k1 = e.object({
|
|
2288
2282
|
gatewayKey: e.enum([
|
|
2289
2283
|
"REVENUE_MONSTER",
|
|
2290
2284
|
"FEEDME",
|
|
2291
2285
|
"FEEDME_MEMBER_CREDIT",
|
|
2292
|
-
"RAZER_MERCHANT_SERVICE"
|
|
2286
|
+
"RAZER_MERCHANT_SERVICE",
|
|
2287
|
+
"E_GHL",
|
|
2288
|
+
"FEEDME_TERMINAL",
|
|
2289
|
+
"MACAU_PASS",
|
|
2290
|
+
"NETS",
|
|
2291
|
+
"FEEDME_CARD"
|
|
2293
2292
|
]),
|
|
2294
2293
|
checkoutUrl: e.string().optional(),
|
|
2295
2294
|
checkoutId: e.string().optional(),
|
|
@@ -2300,22 +2299,23 @@ const R0 = be.partial({
|
|
|
2300
2299
|
currency: e.string().optional(),
|
|
2301
2300
|
returnUrl: e.string().optional(),
|
|
2302
2301
|
notifyUrl: e.string().optional(),
|
|
2303
|
-
|
|
2302
|
+
url: e.string().optional(),
|
|
2303
|
+
channels: e.array(G1).optional(),
|
|
2304
2304
|
transactionId: e.string().optional()
|
|
2305
|
-
}),
|
|
2305
|
+
}), H1 = e.object({
|
|
2306
2306
|
url: e.string(),
|
|
2307
2307
|
transactionId: e.string()
|
|
2308
2308
|
});
|
|
2309
2309
|
e.object({
|
|
2310
|
-
trx: e.lazy(() =>
|
|
2311
|
-
onlineTrx:
|
|
2310
|
+
trx: e.lazy(() => yt),
|
|
2311
|
+
onlineTrx: k1.optional().or(H1),
|
|
2312
2312
|
url: e.string().optional()
|
|
2313
2313
|
});
|
|
2314
2314
|
e.object({
|
|
2315
2315
|
remaining: e.number().nullish(),
|
|
2316
2316
|
isSoldOut: e.boolean()
|
|
2317
2317
|
});
|
|
2318
|
-
const ct = e.enum(["POS", "APP", "ADMIN"]), ft = e.enum(["topupCount"]),
|
|
2318
|
+
const ct = e.enum(["POS", "APP", "ADMIN"]), ft = e.enum(["topupCount"]), V1 = e.object({
|
|
2319
2319
|
line1: e.string(),
|
|
2320
2320
|
line2: e.string().optional(),
|
|
2321
2321
|
state: e.string(),
|
|
@@ -2325,30 +2325,30 @@ const ct = e.enum(["POS", "APP", "ADMIN"]), ft = e.enum(["topupCount"]), W1 = e.
|
|
|
2325
2325
|
}), mt = e.object({
|
|
2326
2326
|
name: e.string(),
|
|
2327
2327
|
regNo: e.string(),
|
|
2328
|
-
address:
|
|
2328
|
+
address: V1,
|
|
2329
2329
|
phoneNo: e.string(),
|
|
2330
2330
|
sstRegNo: e.string().optional()
|
|
2331
2331
|
}), gt = e.object({
|
|
2332
2332
|
systemCode: e.string(),
|
|
2333
2333
|
inclusive: e.boolean()
|
|
2334
|
-
}),
|
|
2334
|
+
}), W1 = e.object({
|
|
2335
2335
|
id: o,
|
|
2336
2336
|
dayToExpire: e.number().max(9999, "Max expiry is 9999 days")
|
|
2337
|
-
}),
|
|
2337
|
+
}), K1 = e.object({
|
|
2338
2338
|
normal: e.coerce.number(),
|
|
2339
2339
|
free: e.object({
|
|
2340
2340
|
day: e.coerce.number(),
|
|
2341
2341
|
amount: e.coerce.number(),
|
|
2342
2342
|
remark: e.string().nullish()
|
|
2343
2343
|
}).nullish()
|
|
2344
|
-
}),
|
|
2344
|
+
}), z1 = e.object({
|
|
2345
2345
|
systemCode: e.string(),
|
|
2346
2346
|
taxCode: e.string()
|
|
2347
|
-
}),
|
|
2347
|
+
}), Y1 = e.object({
|
|
2348
2348
|
name: e.string(),
|
|
2349
2349
|
systemCode: e.string(),
|
|
2350
2350
|
taxCode: e.string(),
|
|
2351
|
-
rate:
|
|
2351
|
+
rate: Ut,
|
|
2352
2352
|
total: S
|
|
2353
2353
|
});
|
|
2354
2354
|
e.object({
|
|
@@ -2363,7 +2363,7 @@ e.object({
|
|
|
2363
2363
|
min: e.number().nullish(),
|
|
2364
2364
|
max: e.number().nullish()
|
|
2365
2365
|
});
|
|
2366
|
-
const
|
|
2366
|
+
const X1 = e.object({
|
|
2367
2367
|
options: e.object({
|
|
2368
2368
|
maxReceive: e.number().min(1).nullish(),
|
|
2369
2369
|
maxPerUser: e.number().min(1).nullish()
|
|
@@ -2380,10 +2380,10 @@ const Z1 = e.object({
|
|
|
2380
2380
|
originalPrice: S.nullish(),
|
|
2381
2381
|
// new field to indicate coinPrice
|
|
2382
2382
|
coinPrice: e.number().nullish(),
|
|
2383
|
-
titles: e.array(
|
|
2384
|
-
credit:
|
|
2385
|
-
taxes: e.array(
|
|
2386
|
-
taxTotals: e.array(
|
|
2383
|
+
titles: e.array(W1),
|
|
2384
|
+
credit: K1,
|
|
2385
|
+
taxes: e.array(z1),
|
|
2386
|
+
taxTotals: e.array(Y1),
|
|
2387
2387
|
priceWithTaxes: S.nullish(),
|
|
2388
2388
|
vouchers: e.array(o),
|
|
2389
2389
|
_inclusiveTaxes: e.array(gt).nullish(),
|
|
@@ -2395,7 +2395,7 @@ const Z1 = e.object({
|
|
|
2395
2395
|
hideInPos: e.boolean().optional(),
|
|
2396
2396
|
// Distribution tracking: running counter of units purchased
|
|
2397
2397
|
distributed: e.coerce.number().optional(),
|
|
2398
|
-
config:
|
|
2398
|
+
config: X1.optional(),
|
|
2399
2399
|
pf_titles: e.array(e.any()).optional(),
|
|
2400
2400
|
pf_vouchers: e.array(e.any()).optional(),
|
|
2401
2401
|
pf_credit: e.number().optional()
|
|
@@ -2433,9 +2433,9 @@ const Z1 = e.object({
|
|
|
2433
2433
|
code: "custom",
|
|
2434
2434
|
message: "Bundle redeem with point cannot set normal credit.",
|
|
2435
2435
|
path: ["credit", "normal"]
|
|
2436
|
-
}), t.credit.normal >
|
|
2436
|
+
}), t.credit.normal > Pe.Dinero.fromFdoDinero(t.price).toUnit() && d.addIssue({
|
|
2437
2437
|
code: "custom",
|
|
2438
|
-
message: `Normal credit cannot be more than price. Max: ${
|
|
2438
|
+
message: `Normal credit cannot be more than price. Max: ${Pe.Dinero.fromFdoDinero(
|
|
2439
2439
|
t.price
|
|
2440
2440
|
).toUnit()}`,
|
|
2441
2441
|
path: ["credit", "normal"]
|
|
@@ -2457,30 +2457,31 @@ e.object({
|
|
|
2457
2457
|
name: e.string(),
|
|
2458
2458
|
expiredAt: e.string()
|
|
2459
2459
|
});
|
|
2460
|
-
const
|
|
2460
|
+
const Z1 = e.object({
|
|
2461
2461
|
apiKey: e.string(),
|
|
2462
2462
|
webhookSecret: e.string()
|
|
2463
|
-
}),
|
|
2463
|
+
}), J1 = e.object({
|
|
2464
2464
|
company: mt.nullish(),
|
|
2465
2465
|
inclusiveTaxes: e.array(gt).nullish(),
|
|
2466
|
-
stripe:
|
|
2467
|
-
}),
|
|
2466
|
+
stripe: Z1.nullable().optional()
|
|
2467
|
+
}), q1 = {
|
|
2468
2468
|
collectionName: "Stores",
|
|
2469
2469
|
transform: {
|
|
2470
2470
|
_id: "oid",
|
|
2471
2471
|
business: "oid"
|
|
2472
2472
|
}
|
|
2473
2473
|
};
|
|
2474
|
-
|
|
2474
|
+
J1.extend({
|
|
2475
2475
|
_id: o,
|
|
2476
2476
|
business: o,
|
|
2477
|
-
categories: e.array(bt)
|
|
2478
|
-
|
|
2479
|
-
|
|
2477
|
+
categories: e.array(bt),
|
|
2478
|
+
priorityBundleIds: e.array(e.string()).optional()
|
|
2479
|
+
}).describe(b.describe(q1));
|
|
2480
|
+
const Q1 = e.object({
|
|
2480
2481
|
refundedAt: e.coerce.date(),
|
|
2481
2482
|
reason: e.string(),
|
|
2482
2483
|
transactions: e.array(o)
|
|
2483
|
-
}),
|
|
2484
|
+
}), ye = e.object({
|
|
2484
2485
|
type: e.enum([
|
|
2485
2486
|
"ONLINE",
|
|
2486
2487
|
"OFFLINE",
|
|
@@ -2493,7 +2494,7 @@ const e0 = e.object({
|
|
|
2493
2494
|
extra: e.string().nullish(),
|
|
2494
2495
|
gateway: e.string().nullish(),
|
|
2495
2496
|
method: e.string().nullish()
|
|
2496
|
-
}),
|
|
2497
|
+
}), e0 = {
|
|
2497
2498
|
collectionName: "StoreTransactions",
|
|
2498
2499
|
transform: {
|
|
2499
2500
|
_id: "oid",
|
|
@@ -2508,14 +2509,14 @@ const e0 = e.object({
|
|
|
2508
2509
|
as: "pf_member"
|
|
2509
2510
|
}
|
|
2510
2511
|
}
|
|
2511
|
-
},
|
|
2512
|
+
}, t0 = e.enum([
|
|
2512
2513
|
"PENDING_PAYMENT",
|
|
2513
2514
|
"PENDING_TRANSACTION",
|
|
2514
2515
|
"COMPLETED",
|
|
2515
2516
|
"REFUNDED",
|
|
2516
2517
|
"PAYMENT_EXPIRED",
|
|
2517
2518
|
"PAYMENT_CANCEL"
|
|
2518
|
-
]),
|
|
2519
|
+
]), yt = e.object({
|
|
2519
2520
|
_id: o,
|
|
2520
2521
|
source: ct,
|
|
2521
2522
|
// can be memberStorePurchase
|
|
@@ -2528,10 +2529,11 @@ const e0 = e.object({
|
|
|
2528
2529
|
bundle: pt,
|
|
2529
2530
|
transactions: e.array(o),
|
|
2530
2531
|
// array of transaction id (voucher, credit, title)
|
|
2531
|
-
status:
|
|
2532
|
-
refund:
|
|
2533
|
-
paymentType:
|
|
2532
|
+
status: t0,
|
|
2533
|
+
refund: Q1.nullish(),
|
|
2534
|
+
paymentType: ye.nullish(),
|
|
2534
2535
|
paymentRef: e.string().nullish(),
|
|
2536
|
+
previousPaymentRefs: e.array(e.string()).optional(),
|
|
2535
2537
|
paymentUrl: e.string().optional(),
|
|
2536
2538
|
webhookUrl: e.string().optional(),
|
|
2537
2539
|
webhookSent: e.boolean().optional(),
|
|
@@ -2540,12 +2542,12 @@ const e0 = e.object({
|
|
|
2540
2542
|
pf_member: e.any().optional(),
|
|
2541
2543
|
pf_location: e.any().optional(),
|
|
2542
2544
|
pf_ref: e.any().optional()
|
|
2543
|
-
}).describe(b.describe(
|
|
2545
|
+
}).describe(b.describe(e0));
|
|
2544
2546
|
e.object({
|
|
2545
2547
|
bundle: o,
|
|
2546
2548
|
member: e.string(),
|
|
2547
2549
|
ref: e.string(),
|
|
2548
|
-
paymentType:
|
|
2550
|
+
paymentType: ye.nullish(),
|
|
2549
2551
|
withCoin: e.boolean().optional(),
|
|
2550
2552
|
card: e.string().optional(),
|
|
2551
2553
|
location: o.optional(),
|
|
@@ -2553,6 +2555,13 @@ e.object({
|
|
|
2553
2555
|
webhookUrl: e.string().optional(),
|
|
2554
2556
|
quantity: e.coerce.number().int().min(1).max(10).optional()
|
|
2555
2557
|
});
|
|
2558
|
+
e.object({
|
|
2559
|
+
transactionId: e.string()
|
|
2560
|
+
});
|
|
2561
|
+
e.object({
|
|
2562
|
+
transactionId: e.string(),
|
|
2563
|
+
paymentType: ye
|
|
2564
|
+
});
|
|
2556
2565
|
e.object({
|
|
2557
2566
|
categories: e.array(bt)
|
|
2558
2567
|
});
|
|
@@ -2585,7 +2594,7 @@ e.object({
|
|
|
2585
2594
|
member: e.string(),
|
|
2586
2595
|
subscriptionId: e.string()
|
|
2587
2596
|
});
|
|
2588
|
-
const
|
|
2597
|
+
const d0 = {
|
|
2589
2598
|
collectionName: "Cards",
|
|
2590
2599
|
transform: {
|
|
2591
2600
|
_id: "oid",
|
|
@@ -2615,9 +2624,9 @@ e.object({
|
|
|
2615
2624
|
bundle: e.string().nullish(),
|
|
2616
2625
|
subscriptionBundle: e.string().nullish(),
|
|
2617
2626
|
pf_member: e.lazy(() => q).nullish(),
|
|
2618
|
-
pf_transaction: e.lazy(() =>
|
|
2619
|
-
}).describe(b.describe(
|
|
2620
|
-
const
|
|
2627
|
+
pf_transaction: e.lazy(() => yt).nullish()
|
|
2628
|
+
}).describe(b.describe(d0));
|
|
2629
|
+
const n0 = e.object({
|
|
2621
2630
|
length: e.coerce.number().optional(),
|
|
2622
2631
|
charset: e.string(),
|
|
2623
2632
|
prefix: e.string().optional(),
|
|
@@ -2627,14 +2636,14 @@ const r0 = e.object({
|
|
|
2627
2636
|
e.object({
|
|
2628
2637
|
quantity: e.number(),
|
|
2629
2638
|
code: e.string(),
|
|
2630
|
-
codeConfig:
|
|
2639
|
+
codeConfig: n0,
|
|
2631
2640
|
setCardOnBind: e.boolean().optional(),
|
|
2632
2641
|
design: e.string().nullish(),
|
|
2633
2642
|
bundle: e.string().optional(),
|
|
2634
2643
|
subscriptionBundle: e.string().optional()
|
|
2635
2644
|
});
|
|
2636
|
-
const
|
|
2637
|
-
channel:
|
|
2645
|
+
const r0 = e.enum(["SMS", "WHATSAPP", "EMAIL"]), M = e.object({
|
|
2646
|
+
channel: r0,
|
|
2638
2647
|
variables: e.array(e.string()),
|
|
2639
2648
|
title: e.string().nullish(),
|
|
2640
2649
|
design: e.any(),
|
|
@@ -2652,74 +2661,74 @@ const i0 = e.enum(["SMS", "WHATSAPP", "EMAIL"]), M = e.object({
|
|
|
2652
2661
|
message: "Invalid variable(s): " + a.join(", ")
|
|
2653
2662
|
});
|
|
2654
2663
|
});
|
|
2655
|
-
function
|
|
2664
|
+
function R0(t, d) {
|
|
2656
2665
|
return t.replace(/{{(.*?)}}/g, (n, r) => {
|
|
2657
2666
|
const a = r.trim().split(".").reduce(($, s) => ($ != null ? $[s] : null) ?? null, d);
|
|
2658
2667
|
return a !== null ? a : n;
|
|
2659
2668
|
});
|
|
2660
2669
|
}
|
|
2661
|
-
const
|
|
2662
|
-
type: e.literal(
|
|
2670
|
+
const he = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), Ee = e.number().min(0, "Weight need to be at least 0"), Ce = e.number().int("Must be integer").min(0, "Threshold need to be at least 0"), ht = e.object({
|
|
2671
|
+
type: e.literal(he.enum.NO_REWARD),
|
|
2663
2672
|
collectible: e.null(),
|
|
2664
|
-
weight:
|
|
2665
|
-
}),
|
|
2666
|
-
type: e.literal(
|
|
2673
|
+
weight: Ee
|
|
2674
|
+
}), Et = e.object({
|
|
2675
|
+
type: e.literal(he.enum.VOUCHER),
|
|
2667
2676
|
collectible: o,
|
|
2668
2677
|
collectibleConfig: e.lazy(() => qe._def.right.options[0]),
|
|
2669
|
-
earningOption: e.lazy(() =>
|
|
2678
|
+
earningOption: e.lazy(() => F)
|
|
2670
2679
|
}), Q = e.object({
|
|
2671
|
-
type: e.literal(
|
|
2680
|
+
type: e.literal(he.enum.LOYALTY),
|
|
2672
2681
|
collectible: o,
|
|
2673
|
-
earningOption: e.lazy(() =>
|
|
2682
|
+
earningOption: e.lazy(() => F),
|
|
2674
2683
|
validityOption: e.lazy(() => Vt)
|
|
2675
|
-
}),
|
|
2676
|
-
weight:
|
|
2677
|
-
}),
|
|
2684
|
+
}), Ct = Et.extend({
|
|
2685
|
+
weight: Ee
|
|
2686
|
+
}), Pt = Q.extend({
|
|
2678
2687
|
weight: e.number().min(0, "Weight need to be at least 0")
|
|
2679
|
-
}),
|
|
2688
|
+
}), T0 = Q.extend({
|
|
2680
2689
|
validityOption: Qe,
|
|
2681
|
-
weight:
|
|
2682
|
-
}),
|
|
2690
|
+
weight: Ee
|
|
2691
|
+
}), i0 = e.discriminatedUnion("type", [
|
|
2692
|
+
Ct,
|
|
2683
2693
|
Pt,
|
|
2684
|
-
|
|
2685
|
-
Et
|
|
2694
|
+
ht
|
|
2686
2695
|
]), Xe = e.discriminatedUnion("type", [
|
|
2687
|
-
|
|
2696
|
+
Ct.extend({
|
|
2688
2697
|
collectible: o.nullish(),
|
|
2689
2698
|
business: o.nullish()
|
|
2690
2699
|
}),
|
|
2691
|
-
|
|
2700
|
+
Pt.extend({
|
|
2692
2701
|
collectible: o.nullish(),
|
|
2693
2702
|
business: o.nullish()
|
|
2694
2703
|
}),
|
|
2695
|
-
|
|
2696
|
-
]),
|
|
2697
|
-
threshold:
|
|
2698
|
-
}),
|
|
2699
|
-
threshold:
|
|
2700
|
-
}),
|
|
2704
|
+
ht
|
|
2705
|
+
]), _t = Et.extend({
|
|
2706
|
+
threshold: Ce
|
|
2707
|
+
}), vt = Q.extend({
|
|
2708
|
+
threshold: Ce
|
|
2709
|
+
}), S0 = Q.extend({
|
|
2701
2710
|
validityOption: Qe,
|
|
2702
|
-
threshold:
|
|
2703
|
-
}),
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
]),
|
|
2707
|
-
|
|
2711
|
+
threshold: Ce
|
|
2712
|
+
}), It = e.discriminatedUnion("type", [
|
|
2713
|
+
_t,
|
|
2714
|
+
vt
|
|
2715
|
+
]), o0 = e.discriminatedUnion("type", [
|
|
2716
|
+
_t.extend({
|
|
2708
2717
|
collectible: o.nullish(),
|
|
2709
2718
|
business: o.nullish()
|
|
2710
2719
|
}),
|
|
2711
|
-
|
|
2720
|
+
vt.extend({
|
|
2712
2721
|
collectible: o.nullish(),
|
|
2713
2722
|
collectibleConfig: qe.nullish(),
|
|
2714
2723
|
business: o.nullish()
|
|
2715
2724
|
})
|
|
2716
|
-
]),
|
|
2725
|
+
]), a0 = {
|
|
2717
2726
|
collectionName: "Locations",
|
|
2718
2727
|
transform: {
|
|
2719
2728
|
_id: "oid",
|
|
2720
2729
|
business: "oid"
|
|
2721
2730
|
}
|
|
2722
|
-
},
|
|
2731
|
+
}, Nt = e.object({
|
|
2723
2732
|
_id: o,
|
|
2724
2733
|
business: o,
|
|
2725
2734
|
name: e.string(),
|
|
@@ -2728,7 +2737,7 @@ const ye = e.enum(["NO_REWARD", "VOUCHER", "LOYALTY"]), he = e.number().min(0, "
|
|
|
2728
2737
|
otpExpiredAt: e.coerce.date().nullish(),
|
|
2729
2738
|
apiToken: e.string().nullish(),
|
|
2730
2739
|
customAttribute: e.record(e.any()).nullish()
|
|
2731
|
-
}).describe(b.describe(
|
|
2740
|
+
}).describe(b.describe(a0));
|
|
2732
2741
|
e.object({
|
|
2733
2742
|
_id: o,
|
|
2734
2743
|
name: e.string(),
|
|
@@ -2742,10 +2751,10 @@ e.object({
|
|
|
2742
2751
|
location: "oid"
|
|
2743
2752
|
}
|
|
2744
2753
|
}));
|
|
2745
|
-
const
|
|
2746
|
-
type:
|
|
2754
|
+
const $0 = e.enum(["PROGRESSIVE", "STAMP"]), s0 = e.object({
|
|
2755
|
+
type: $0,
|
|
2747
2756
|
end: e.number().int().min(0, "Threshold need to be at least 1"),
|
|
2748
|
-
rewards: e.array(e.lazy(() =>
|
|
2757
|
+
rewards: e.array(e.lazy(() => It)).nullish()
|
|
2749
2758
|
}).superRefine((t, d) => {
|
|
2750
2759
|
t.type == "STAMP" && t.end > 40 && (d.addIssue({
|
|
2751
2760
|
code: "custom",
|
|
@@ -2783,7 +2792,7 @@ const s0 = e.enum(["PROGRESSIVE", "STAMP"]), l0 = e.object({
|
|
|
2783
2792
|
sat: A.optional(),
|
|
2784
2793
|
sun: A.optional()
|
|
2785
2794
|
}).optional()
|
|
2786
|
-
}),
|
|
2795
|
+
}), l0 = e.object({
|
|
2787
2796
|
type: e.enum(["items", "category", "order"]),
|
|
2788
2797
|
objectIDs: e.array(e.string()).optional()
|
|
2789
2798
|
}), de = e.object({
|
|
@@ -2812,7 +2821,7 @@ const s0 = e.enum(["PROGRESSIVE", "STAMP"]), l0 = e.object({
|
|
|
2812
2821
|
value: e.number(),
|
|
2813
2822
|
cap: e.number().optional(),
|
|
2814
2823
|
// for percentage off campaigns
|
|
2815
|
-
scope:
|
|
2824
|
+
scope: l0
|
|
2816
2825
|
});
|
|
2817
2826
|
e.object({
|
|
2818
2827
|
merchantID: e.string().optional(),
|
|
@@ -2857,7 +2866,7 @@ e.object({
|
|
|
2857
2866
|
reason: e.string(),
|
|
2858
2867
|
message: e.string()
|
|
2859
2868
|
});
|
|
2860
|
-
const
|
|
2869
|
+
const u0 = {
|
|
2861
2870
|
collectionName: "Groups",
|
|
2862
2871
|
transform: {
|
|
2863
2872
|
_id: "oid",
|
|
@@ -2875,15 +2884,15 @@ const c0 = {
|
|
|
2875
2884
|
foreignField: "group"
|
|
2876
2885
|
}
|
|
2877
2886
|
}
|
|
2878
|
-
},
|
|
2887
|
+
}, x0 = e.object({
|
|
2879
2888
|
_id: o,
|
|
2880
2889
|
name: e.string().min(1).max(300),
|
|
2881
2890
|
business: o,
|
|
2882
2891
|
pf_campaigns: e.array(e.any()).optional()
|
|
2883
|
-
}).describe(b.describe(
|
|
2892
|
+
}).describe(b.describe(u0)), c0 = e.object({
|
|
2884
2893
|
from: e.string().email().nullish(),
|
|
2885
2894
|
name: e.string().min(1).max(50).nullish()
|
|
2886
|
-
}),
|
|
2895
|
+
}), f0 = e.object({
|
|
2887
2896
|
_id: e.string(),
|
|
2888
2897
|
url: e.string(),
|
|
2889
2898
|
targetLocation: e.array(o).nullish(),
|
|
@@ -2900,7 +2909,7 @@ const c0 = {
|
|
|
2900
2909
|
tierCycleEnable: e.boolean().optional(),
|
|
2901
2910
|
tierCycle: e.lazy(() => x).nullish(),
|
|
2902
2911
|
welcomeMessage: M.optional(),
|
|
2903
|
-
advertisements: e.union([e.array(e.string()), e.array(
|
|
2912
|
+
advertisements: e.union([e.array(e.string()), e.array(f0)]).optional(),
|
|
2904
2913
|
cardEnable: e.boolean().optional(),
|
|
2905
2914
|
autoRevertReward: e.boolean().optional(),
|
|
2906
2915
|
design: e.array(
|
|
@@ -2911,10 +2920,14 @@ const c0 = {
|
|
|
2911
2920
|
).optional(),
|
|
2912
2921
|
targetLocation: e.array(o).nullish(),
|
|
2913
2922
|
brand: e.string().nullish(),
|
|
2914
|
-
email:
|
|
2923
|
+
email: c0.nullish(),
|
|
2915
2924
|
freeCreditAsDiscount: e.boolean().optional(),
|
|
2916
2925
|
pf_title: e.array(e.lazy(() => R)).optional(),
|
|
2917
|
-
pf_targetLocation: e.array(e.lazy(() =>
|
|
2926
|
+
pf_targetLocation: e.array(e.lazy(() => Nt)).optional(),
|
|
2927
|
+
allowedPhoneCountries: e.union([
|
|
2928
|
+
e.array(e.string().regex(/^\+\d{1,4}$/)),
|
|
2929
|
+
e.null()
|
|
2930
|
+
]).optional(),
|
|
2918
2931
|
// new structure
|
|
2919
2932
|
group: e.string().nullish(),
|
|
2920
2933
|
templateId: o.nullish()
|
|
@@ -2936,13 +2949,13 @@ const c0 = {
|
|
|
2936
2949
|
});
|
|
2937
2950
|
}).nullish(),
|
|
2938
2951
|
targetLocation: e.array(o).nullish(),
|
|
2939
|
-
event:
|
|
2952
|
+
event: I1,
|
|
2940
2953
|
config: z.nullish(),
|
|
2941
2954
|
currentReceive: e.coerce.number().optional(),
|
|
2942
2955
|
// new group structure
|
|
2943
2956
|
group: o.nullish(),
|
|
2944
2957
|
templateId: o.nullish(),
|
|
2945
|
-
pf_targetLocation: e.array(e.lazy(() =>
|
|
2958
|
+
pf_targetLocation: e.array(e.lazy(() => Nt)).optional(),
|
|
2946
2959
|
deletedAt: e.coerce.date().optional()
|
|
2947
2960
|
}), C = {
|
|
2948
2961
|
[c.enum.VOUCHER]: [
|
|
@@ -2995,7 +3008,7 @@ const c0 = {
|
|
|
2995
3008
|
"FEEDBACK",
|
|
2996
3009
|
"SCHEDULE"
|
|
2997
3010
|
]
|
|
2998
|
-
},
|
|
3011
|
+
}, Ot = E.extend({
|
|
2999
3012
|
type: e.literal(c.enum.VOUCHER),
|
|
3000
3013
|
// event
|
|
3001
3014
|
code: e.string().min(0).max(15).regex(/^[A-Za-z0-9\-_.@]*$/, {
|
|
@@ -3006,7 +3019,7 @@ const c0 = {
|
|
|
3006
3019
|
type: e.enum(C[c.enum.VOUCHER])
|
|
3007
3020
|
})
|
|
3008
3021
|
),
|
|
3009
|
-
earningOption:
|
|
3022
|
+
earningOption: F.default({
|
|
3010
3023
|
amount: 1,
|
|
3011
3024
|
type: "FIXED"
|
|
3012
3025
|
}),
|
|
@@ -3017,9 +3030,9 @@ const c0 = {
|
|
|
3017
3030
|
notifyCampaign: o.nullish(),
|
|
3018
3031
|
pf_collectible: e.lazy(() => R).optional(),
|
|
3019
3032
|
pf_notifyCampaign: e.lazy(() => L).optional()
|
|
3020
|
-
}),
|
|
3033
|
+
}), m0 = e.object({
|
|
3021
3034
|
gameType: e.string()
|
|
3022
|
-
}),
|
|
3035
|
+
}), At = E.extend({
|
|
3023
3036
|
type: e.literal(c.enum.PROMOTION),
|
|
3024
3037
|
// event
|
|
3025
3038
|
event: m.merge(
|
|
@@ -3036,8 +3049,8 @@ const c0 = {
|
|
|
3036
3049
|
}
|
|
3037
3050
|
});
|
|
3038
3051
|
}),
|
|
3039
|
-
gameConfig:
|
|
3040
|
-
}),
|
|
3052
|
+
gameConfig: m0.nullish()
|
|
3053
|
+
}), Rt = E.extend({
|
|
3041
3054
|
type: e.literal(c.enum.POINT),
|
|
3042
3055
|
// event
|
|
3043
3056
|
event: m.merge(
|
|
@@ -3045,14 +3058,14 @@ const c0 = {
|
|
|
3045
3058
|
type: e.enum(C[c.enum.POINT])
|
|
3046
3059
|
})
|
|
3047
3060
|
),
|
|
3048
|
-
earningOption:
|
|
3061
|
+
earningOption: F,
|
|
3049
3062
|
collectible: o,
|
|
3050
3063
|
notify: e.boolean().optional(),
|
|
3051
3064
|
notifyMessage: e.lazy(() => M).optional(),
|
|
3052
3065
|
notifyCampaign: o.nullish(),
|
|
3053
3066
|
pf_collectible: e.lazy(() => R).optional(),
|
|
3054
3067
|
pf_notifyCampaign: e.lazy(() => L).optional()
|
|
3055
|
-
}),
|
|
3068
|
+
}), Tt = E.extend({
|
|
3056
3069
|
type: e.literal(c.enum.CREDIT),
|
|
3057
3070
|
// event
|
|
3058
3071
|
event: m.merge(
|
|
@@ -3060,7 +3073,7 @@ const c0 = {
|
|
|
3060
3073
|
type: e.enum(C[c.enum.CREDIT])
|
|
3061
3074
|
})
|
|
3062
3075
|
),
|
|
3063
|
-
earningOption:
|
|
3076
|
+
earningOption: F,
|
|
3064
3077
|
collectible: o,
|
|
3065
3078
|
notify: e.boolean().optional(),
|
|
3066
3079
|
notifyMessage: e.lazy(() => M).optional(),
|
|
@@ -3077,7 +3090,7 @@ const c0 = {
|
|
|
3077
3090
|
),
|
|
3078
3091
|
message: M,
|
|
3079
3092
|
linkedCampaign: o.nullish()
|
|
3080
|
-
}),
|
|
3093
|
+
}), St = E.extend({
|
|
3081
3094
|
type: e.literal(c.enum.COIN),
|
|
3082
3095
|
// event
|
|
3083
3096
|
event: m.merge(
|
|
@@ -3085,14 +3098,14 @@ const c0 = {
|
|
|
3085
3098
|
type: e.enum(C[c.enum.COIN])
|
|
3086
3099
|
})
|
|
3087
3100
|
),
|
|
3088
|
-
earningOption:
|
|
3101
|
+
earningOption: F,
|
|
3089
3102
|
collectible: o,
|
|
3090
3103
|
notify: e.boolean().optional(),
|
|
3091
3104
|
notifyMessage: e.lazy(() => M).optional(),
|
|
3092
3105
|
notifyCampaign: o.nullish(),
|
|
3093
3106
|
pf_collectible: e.lazy(() => R).optional(),
|
|
3094
3107
|
pf_notifyCampaign: e.lazy(() => L).optional()
|
|
3095
|
-
}),
|
|
3108
|
+
}), W = E.extend({
|
|
3096
3109
|
type: e.literal(c.enum.REWARD_POOL),
|
|
3097
3110
|
// event
|
|
3098
3111
|
event: m.merge(
|
|
@@ -3100,8 +3113,8 @@ const c0 = {
|
|
|
3100
3113
|
type: e.enum(C[c.enum.REWARD_POOL])
|
|
3101
3114
|
})
|
|
3102
3115
|
),
|
|
3103
|
-
rewards: e.array(e.lazy(() =>
|
|
3104
|
-
}),
|
|
3116
|
+
rewards: e.array(e.lazy(() => i0)).min(1, "Requires at least 1 reward")
|
|
3117
|
+
}), xt = E.extend({
|
|
3105
3118
|
type: e.literal(c.enum.GAME),
|
|
3106
3119
|
// event
|
|
3107
3120
|
event: m.merge(
|
|
@@ -3109,24 +3122,24 @@ const c0 = {
|
|
|
3109
3122
|
type: e.enum(C[c.enum.GAME])
|
|
3110
3123
|
})
|
|
3111
3124
|
),
|
|
3112
|
-
earningOption:
|
|
3125
|
+
earningOption: F,
|
|
3113
3126
|
collectible: o,
|
|
3114
|
-
game: e.lazy(() =>
|
|
3127
|
+
game: e.lazy(() => W).optional(),
|
|
3115
3128
|
pf_collectible: e.lazy(() => R).optional(),
|
|
3116
3129
|
rewardPool: o.optional()
|
|
3117
|
-
}),
|
|
3130
|
+
}), Dt = E.extend({
|
|
3118
3131
|
type: e.literal(c.enum.MISSION),
|
|
3119
3132
|
event: m.merge(
|
|
3120
3133
|
e.object({
|
|
3121
3134
|
type: e.enum(C[c.enum.MISSION])
|
|
3122
3135
|
})
|
|
3123
3136
|
),
|
|
3124
|
-
earningOption:
|
|
3137
|
+
earningOption: F,
|
|
3125
3138
|
collectible: o,
|
|
3126
3139
|
pf_collectible: e.lazy(() => R).optional(),
|
|
3127
|
-
mission: e.lazy(() =>
|
|
3128
|
-
rewards: e.array(e.lazy(() =>
|
|
3129
|
-
}),
|
|
3140
|
+
mission: e.lazy(() => s0),
|
|
3141
|
+
rewards: e.array(e.lazy(() => It)).min(1, "Requires at least 1 reward")
|
|
3142
|
+
}), Mt = E.omit({
|
|
3130
3143
|
timeframeOptions: !0
|
|
3131
3144
|
}).extend({
|
|
3132
3145
|
type: e.literal(c.enum.GRAB),
|
|
@@ -3166,7 +3179,7 @@ const c0 = {
|
|
|
3166
3179
|
}
|
|
3167
3180
|
});
|
|
3168
3181
|
})
|
|
3169
|
-
}),
|
|
3182
|
+
}), g0 = {
|
|
3170
3183
|
collectionName: "Campaigns",
|
|
3171
3184
|
transform: {
|
|
3172
3185
|
_id: "oid",
|
|
@@ -3208,21 +3221,24 @@ const c0 = {
|
|
|
3208
3221
|
as: "game"
|
|
3209
3222
|
}
|
|
3210
3223
|
}
|
|
3211
|
-
},
|
|
3224
|
+
}, D0 = e.object({ _id: o }).and(
|
|
3212
3225
|
e.discriminatedUnion("type", [
|
|
3213
3226
|
Ft,
|
|
3227
|
+
Ot,
|
|
3214
3228
|
At,
|
|
3215
3229
|
Rt,
|
|
3216
3230
|
Tt,
|
|
3217
|
-
St,
|
|
3218
3231
|
L,
|
|
3232
|
+
St,
|
|
3233
|
+
W,
|
|
3219
3234
|
xt,
|
|
3220
|
-
K,
|
|
3221
3235
|
Dt,
|
|
3222
|
-
Mt
|
|
3223
|
-
Lt
|
|
3236
|
+
Mt
|
|
3224
3237
|
])
|
|
3225
|
-
).describe(b.describe(
|
|
3238
|
+
).describe(b.describe(g0)), M0 = e.discriminatedUnion("type", [
|
|
3239
|
+
Ot.extend({
|
|
3240
|
+
business: o.nullish()
|
|
3241
|
+
}),
|
|
3226
3242
|
At.extend({
|
|
3227
3243
|
business: o.nullish()
|
|
3228
3244
|
}),
|
|
@@ -3232,30 +3248,27 @@ const c0 = {
|
|
|
3232
3248
|
Tt.extend({
|
|
3233
3249
|
business: o.nullish()
|
|
3234
3250
|
}),
|
|
3235
|
-
St.extend({
|
|
3236
|
-
business: o.nullish()
|
|
3237
|
-
}),
|
|
3238
3251
|
L.extend({
|
|
3239
3252
|
business: o.nullish()
|
|
3240
3253
|
}),
|
|
3241
|
-
|
|
3254
|
+
St.extend({
|
|
3242
3255
|
business: o.nullish()
|
|
3243
3256
|
}),
|
|
3244
|
-
|
|
3257
|
+
W.extend({
|
|
3245
3258
|
rewards: e.array(e.lazy(() => Xe)).min(1, "Requires at least 1 reward")
|
|
3246
3259
|
}),
|
|
3247
|
-
|
|
3260
|
+
xt.extend({
|
|
3248
3261
|
business: o.nullish(),
|
|
3249
|
-
game:
|
|
3262
|
+
game: W.extend({
|
|
3250
3263
|
business: o.nullish(),
|
|
3251
3264
|
rewards: e.array(e.lazy(() => Xe)).min(1, "Requires at least 1 reward")
|
|
3252
3265
|
})
|
|
3253
3266
|
}),
|
|
3254
|
-
|
|
3267
|
+
Dt.extend({
|
|
3255
3268
|
business: o.nullish(),
|
|
3256
|
-
rewards: e.array(e.lazy(() =>
|
|
3269
|
+
rewards: e.array(e.lazy(() => o0)).min(1, "Requires at least 1 reward")
|
|
3257
3270
|
}),
|
|
3258
|
-
|
|
3271
|
+
Mt.extend({
|
|
3259
3272
|
business: o.nullish()
|
|
3260
3273
|
})
|
|
3261
3274
|
]);
|
|
@@ -3272,44 +3285,47 @@ Ft.pick({
|
|
|
3272
3285
|
brand: !0,
|
|
3273
3286
|
email: !0,
|
|
3274
3287
|
freeCreditAsDiscount: !0,
|
|
3288
|
+
allowedPhoneCountries: !0,
|
|
3275
3289
|
pf_title: !0,
|
|
3276
3290
|
pf_targetLocation: !0
|
|
3291
|
+
}).extend({
|
|
3292
|
+
allowedPhoneCountryDetails: e.array(Gt).nullish()
|
|
3277
3293
|
});
|
|
3278
3294
|
export {
|
|
3279
|
-
|
|
3295
|
+
s0 as A,
|
|
3280
3296
|
Jn as B,
|
|
3281
3297
|
$t as C,
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3298
|
+
V as D,
|
|
3299
|
+
I1 as E,
|
|
3300
|
+
A0 as F,
|
|
3285
3301
|
q as G,
|
|
3286
3302
|
C as H,
|
|
3287
|
-
|
|
3288
|
-
|
|
3303
|
+
R0 as I,
|
|
3304
|
+
m1 as J,
|
|
3289
3305
|
c as a,
|
|
3290
|
-
|
|
3306
|
+
N0 as b,
|
|
3291
3307
|
f as c,
|
|
3292
3308
|
F0 as d,
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3309
|
+
v0 as e,
|
|
3310
|
+
P0 as f,
|
|
3311
|
+
I0 as g,
|
|
3312
|
+
_0 as h,
|
|
3313
|
+
C0 as i,
|
|
3298
3314
|
Qn as j,
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3315
|
+
D0 as k,
|
|
3316
|
+
O0 as l,
|
|
3317
|
+
J1 as m,
|
|
3302
3318
|
mt as n,
|
|
3303
|
-
|
|
3319
|
+
V1 as o,
|
|
3304
3320
|
pt as p,
|
|
3305
3321
|
ct as q,
|
|
3306
3322
|
e1 as r,
|
|
3307
3323
|
Ft as s,
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3324
|
+
x0 as t,
|
|
3325
|
+
M0 as u,
|
|
3326
|
+
T0 as v,
|
|
3311
3327
|
Xe as w,
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3328
|
+
$0 as x,
|
|
3329
|
+
S0 as y,
|
|
3330
|
+
o0 as z
|
|
3315
3331
|
};
|