@feedmepos/mf-inventory-portal 0.0.23-dev.18 → 0.0.23-dev.2

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.
Files changed (95) hide show
  1. package/dist/{App-Dfryh3pQ.js → App-DRE3c1lJ.js} +31 -36
  2. package/dist/{ApprovalView-CRrJeRCQ.js → ApprovalView-B4ZYcS3B.js} +4 -4
  3. package/dist/{BindingsDialog-Zh8FzTSI.js → BindingsDialog-Df1yrWHU.js} +2 -2
  4. package/dist/{BindingsPicker-BXChBNxv.js → BindingsPicker-BERMWh4w.js} +2 -2
  5. package/dist/{BindingsTable-BXB-X1N3.js → BindingsTable-DRIapOWW.js} +6 -6
  6. package/dist/{ClosingTemplateView-Bj6SiRlA.js → ClosingTemplateView-CbFn3Sdy.js} +31 -32
  7. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-7JYNssTm.js +267 -0
  8. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B8RhFmN_.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js} +2 -2
  9. package/dist/{FmMultiselectDialog-DWMt9hvV.js → FmMultiselectDialog-Da9JMCYa.js} +15 -15
  10. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-BHSGZyJL.js +326 -0
  11. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-Be_B1iME.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DH5IQchQ.js} +1 -1
  12. package/dist/{IngredientGroupView-DCOz2AOB.js → IngredientGroupView-DoETcEvV.js} +11 -12
  13. package/dist/IngredientsView-DHAhj9pV.js +1613 -0
  14. package/dist/{IntegrationView-BfoCYVHZ.js → IntegrationView-D1HeBiGF.js} +50 -50
  15. package/dist/{InventoryBindingForm-2Gs2vUtC.js → InventoryBindingForm-Dmz9BQ37.js} +1 -1
  16. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-D9Of6ewh.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DoyqVBOd.js} +13 -13
  17. package/dist/{InventoryBindingSummary-IUJt469w.js → InventoryBindingSummary-DrpwiRGZ.js} +1 -1
  18. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-BtdmfQRZ.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-yNEswIEI.js} +1 -1
  19. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-C97vZfAO.js → PremiumBadge.vue_vue_type_script_setup_true_lang-Br4_VUza.js} +2 -2
  20. package/dist/{PurchaseOrderPrintPreview-BRVCfgd3.js → PurchaseOrderPrintPreview-cp671yWE.js} +1 -1
  21. package/dist/ReceiveRequestView-C1WBlpho.js +4082 -0
  22. package/dist/{RecipeView-Br8u4xZZ.js → RecipeView-CD_dAWLo.js} +10 -11
  23. package/dist/{StockView-B2vBQLJf.js → StockView-DfUzFC1b.js} +1457 -1356
  24. package/dist/{SupplierView-S_qigSL4.js → SupplierView-DB-zrNxh.js} +783 -2352
  25. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-2mzqFGCz.js +1144 -0
  26. package/dist/TransferTemplateView-CaAJrqU6.js +1262 -0
  27. package/dist/{UnitView-CR019bWO.js → UnitView-BlC9-WOA.js} +80 -81
  28. package/dist/{WarehouseView-BX7K073o.js → WarehouseView-CgEY87Lo.js} +24 -25
  29. package/dist/api/bill.d.ts +2 -2
  30. package/dist/api/closing.d.ts +0 -1
  31. package/dist/api/netsuite.d.ts +0 -69
  32. package/dist/{app-BY6TZxqB.js → app-CAyFhmAz.js} +3343 -3426
  33. package/dist/app.d.ts +0 -5
  34. package/dist/app.js +1 -1
  35. package/dist/components/FmMinMaxInputRules.d.ts +1 -4
  36. package/dist/components/row-action.enum.d.ts +0 -1
  37. package/dist/{date2-C385gf6_.js → date2-D9i5izMt.js} +1 -1
  38. package/dist/{dayjs.min-CuXsxyJ4.js → dayjs.min-SJKP9zBL.js} +17 -17
  39. package/dist/{decimal-DmIrlkyN.js → decimal-D7BCubZO.js} +1 -1
  40. package/dist/{defineDeepModel-CJEdL37p.js → defineDeepModel-DS4Shctf.js} +1 -1
  41. package/dist/{feature-DM4scjOG.js → feature-BR-MsGYt.js} +9 -23
  42. package/dist/{format-time-from-id-DmDFxNOY.js → format-time-from-id-CUby60uW.js} +1 -1
  43. package/dist/format-unit-display-D25Al2JZ.js +1198 -0
  44. package/dist/{fuzzy-D2QbaWQl.js → fuzzy-BryBtMz_.js} +1 -1
  45. package/dist/{index-UtLEzrzf.js → index-ByJbUSIQ.js} +1 -1
  46. package/dist/index-CFA_VFyX.js +10545 -0
  47. package/dist/{index-BgM27D6z.js → index-CTvgBOum.js} +25 -28
  48. package/dist/netsuite-D0G4B60k.js +146 -0
  49. package/dist/normalizeArguments-DP7Hrren.js +1552 -0
  50. package/dist/router/name.d.ts +0 -1
  51. package/dist/{row-action.enum-7rGLGZ5v.js → row-action.enum-PMKMRrZR.js} +5 -10
  52. package/dist/{rules-WXcRCM31.js → rules-DxVY0b7F.js} +35 -40
  53. package/dist/stores/feature.d.ts +0 -2
  54. package/dist/stores/integration/netsuite.d.ts +0 -81
  55. package/dist/stores/inventory.d.ts +4 -1
  56. package/dist/style.css +1 -1
  57. package/dist/{supplier-Cg0hV-1Z.js → supplier-aBuwVukl.js} +22 -22
  58. package/dist/tsconfig.app.tsbuildinfo +1 -1
  59. package/dist/{use-inventory-binding-dialog-C4A0C-q4.js → use-inventory-binding-dialog-CLQ0LUmW.js} +2 -2
  60. package/dist/{use-template-enabled-locations-2-ClTvBbS6.js → use-template-enabled-locations-2-BgTiwy_3.js} +2 -2
  61. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +192 -24
  62. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +192 -24
  63. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -34
  64. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +0 -1
  65. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +54 -54
  66. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +54 -54
  67. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  68. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
  69. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
  70. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
  71. package/dist/{xlsx-jlUdZfql.js → xlsx-BbtURTDy.js} +1 -1
  72. package/dist/{xlsx.util-C4YF_j8p.js → xlsx.util-zYS4OJFi.js} +1 -1
  73. package/package.json +3 -3
  74. package/dist/ClosingDraftView-ZKdMqDrV.js +0 -1122
  75. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-CZ1NPD07.js +0 -283
  76. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-C--mzLIB.js +0 -329
  77. package/dist/IngredientsView-D3ptwZy1.js +0 -1666
  78. package/dist/ReceiveRequestView-Brh9jtUz.js +0 -4195
  79. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang--DGNx2VJ.js +0 -1235
  80. package/dist/TransferTemplateView-B0_EXehN.js +0 -1275
  81. package/dist/api/closing-draft.d.ts +0 -6
  82. package/dist/form-mode.enum-BKiNVH6A.js +0 -4
  83. package/dist/format-unit-display-DnZmCO-i.js +0 -1217
  84. package/dist/index-CKCFZ2N2.js +0 -12087
  85. package/dist/netsuite-CxzWHfIf.js +0 -251
  86. package/dist/stock-BVyJ8TZF.js +0 -111
  87. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +0 -2
  88. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +0 -22
  89. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +0 -451
  90. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +0 -25
  91. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +0 -2601
  92. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +0 -1
  93. package/dist/views/closing-draft/helpers/export-draft.helper.d.ts +0 -19
  94. package/dist/views/closing-draft/helpers/get-calculated-total.helper.d.ts +0 -4
  95. package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +0 -1
@@ -1,74 +1,66 @@
1
- import { defineComponent as Q, mergeModels as Gd, computed as F, useModel as Hd, resolveComponent as T, openBlock as E, createElementBlock as O, createElementVNode as g, createVNode as N, withCtx as k, toDisplayString as A, unref as f, Fragment as q, renderList as ee, ref as L, createBlock as j, createCommentVNode as K, isRef as Qe, createTextVNode as Id, normalizeClass as J, watch as Fd, createSlots as jd, onMounted as Kd, normalizeStyle as Wd, Teleport as Yd } from "vue";
2
- import { u as re } from "./supplier-Cg0hV-1Z.js";
3
- import { D as ed, R as $e } from "./row-action.enum-7rGLGZ5v.js";
4
- import { c as Xd, _ as Zd, F as le } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
5
- import { c as Pe, a as Od, f as dd, d as zd, C as he, i as wd, u as pe } from "./app-BY6TZxqB.js";
6
- import { useI18n as X, useCoreStore as Fe } from "@feedmepos/mf-common";
7
- import { u as Oe } from "./netsuite-CxzWHfIf.js";
8
- import { useDialog as we, useSnackbar as me, useProxiedModel as td, useDialogChild as qd, useBreakpoints as Jd } from "@feedmepos/ui-library";
9
- import { u as Qd, _ as et, a as dt } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B8RhFmN_.js";
10
- import { F as U } from "./form-mode.enum-BKiNVH6A.js";
11
- import { R as G } from "./rules-WXcRCM31.js";
12
- import { F as tt } from "./FmMultiselectDialog-DWMt9hvV.js";
13
- import { _ as rt } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
14
- import { _ as nt } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-C--mzLIB.js";
15
- import { u as Ad } from "./feature-DM4scjOG.js";
16
- import { defineStore as ot } from "pinia";
17
- import { t as Rd, d as Td, s as at, r as it } from "./xlsx.util-C4YF_j8p.js";
18
- import { f as $t } from "./date2-C385gf6_.js";
19
- import { F as lt } from "./FmDroppableField-8RzKjEdL.js";
20
- function st(e, d) {
21
- const { t } = X(), r = Oe();
22
- function n(a, $) {
23
- if (a === $e.Edit) {
24
- e(Pe($));
1
+ import { defineComponent as Z, mergeModels as Ld, computed as A, useModel as Gd, resolveComponent as k, openBlock as V, createElementBlock as I, createElementVNode as f, createVNode as _, withCtx as L, toDisplayString as T, unref as c, Fragment as Y, renderList as z, ref as F, createBlock as H, createCommentVNode as K, isRef as Md, normalizeClass as W, createTextVNode as Hd, watch as Td, createSlots as Kd, onMounted as Od, normalizeStyle as Yd, Teleport as Wd } from "vue";
2
+ import { u as J } from "./supplier-aBuwVukl.js";
3
+ import { D as Vd, R as dd, F as U } from "./row-action.enum-PMKMRrZR.js";
4
+ import { c as Zd, _ as zd, F as ed } from "./TableActionableRow.vue_vue_type_script_setup_true_lang-DlNJ6kRg.js";
5
+ import { c as sd, a as wd, f as Ad, d as Jd, C as rd, i as kd, u as $d } from "./app-CAyFhmAz.js";
6
+ import { useI18n as O, useCoreStore as nd } from "@feedmepos/mf-common";
7
+ import { useDialog as ld, useSnackbar as td, useProxiedModel as Nd, useDialogChild as qd, useBreakpoints as jd } from "@feedmepos/ui-library";
8
+ import { u as Qd, _ as Xd, a as d0 } from "./FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-KbYSywk2.js";
9
+ import { R as G } from "./rules-DxVY0b7F.js";
10
+ import { F as e0 } from "./FmMultiselectDialog-Da9JMCYa.js";
11
+ import { _ as $0 } from "./PreviewBadge.vue_vue_type_script_setup_true_lang-CRZiQHjx.js";
12
+ import { _ as t0 } from "./FmUnitInput.vue_vue_type_script_setup_true_lang-BHSGZyJL.js";
13
+ import { u as Fd } from "./feature-BR-MsGYt.js";
14
+ import { defineStore as o0 } from "pinia";
15
+ import { t as Bd, d as Dd, s as r0, r as s0 } from "./xlsx.util-zYS4OJFi.js";
16
+ import { f as n0 } from "./date2-D9i5izMt.js";
17
+ import { i as l0, p as a0, P as i0, n as u0 } from "./normalizeArguments-DP7Hrren.js";
18
+ import { F as p0 } from "./FmDroppableField-8RzKjEdL.js";
19
+ function c0(r, t) {
20
+ const { t: o } = O();
21
+ function $(m, s) {
22
+ if (m === dd.Edit) {
23
+ r(sd(s));
25
24
  return;
26
25
  }
27
- if (a === $e.Delete) {
28
- d(Pe($));
26
+ if (m === dd.Delete) {
27
+ t(sd(s));
29
28
  return;
30
29
  }
31
30
  }
32
31
  return { columnDefs: [
33
32
  {
34
33
  accessorKey: "name",
35
- header: () => t("inventory.supplier.table.supplier"),
34
+ header: () => o("inventory.supplier.table.supplier"),
36
35
  enableSorting: !0,
37
36
  size: 200
38
37
  },
39
- {
40
- accessorKey: "netsuiteIdSubsidiary",
41
- cell: (a) => r.getVendorSubsidiaryName(a.row.original._id),
42
- header: () => "NetSuite Subsidiary",
43
- enableSorting: !0,
44
- size: "auto"
45
- },
46
38
  {
47
39
  accessorKey: "contactName",
48
- header: () => t("inventory.supplier.table.pic"),
40
+ header: () => o("inventory.supplier.table.pic"),
49
41
  enableSorting: !1,
50
42
  size: 250
51
43
  },
52
44
  {
53
45
  accessorKey: "phoneNumber",
54
- header: () => t("inventory.supplier.table.contact"),
46
+ header: () => o("inventory.supplier.table.contact"),
55
47
  enableSorting: !1,
56
48
  size: 200
57
49
  },
58
50
  {
59
51
  accessorKey: "email",
60
- header: () => t("inventory.supplier.table.email"),
52
+ header: () => o("inventory.supplier.table.email"),
61
53
  enableSorting: !1,
62
54
  size: "auto"
63
55
  },
64
56
  {
65
57
  id: "action",
66
58
  header: "",
67
- cell(a) {
68
- return Xd(
69
- [ed[$e.Edit], ed[$e.Delete]],
70
- ($) => {
71
- n($, a.row.original);
59
+ cell(m) {
60
+ return Zd(
61
+ [Vd[dd.Edit], Vd[dd.Delete]],
62
+ (s) => {
63
+ $(s, m.row.original);
72
64
  }
73
65
  );
74
66
  },
@@ -80,36 +72,36 @@ function st(e, d) {
80
72
  }
81
73
  ] };
82
74
  }
83
- const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, ft = { class: "flex items-center gap-8 py-8" }, pt = { class: "flex-1" }, mt = { class: "fm-typo-en-title-sm-800" }, yt = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, vt = { class: "flex flex-col gap-4" }, gt = { class: "flex-1" }, ht = { class: "flex flex-col" }, bt = { class: "fm-typo-en-body-lg-400" }, _t = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Pt = { class: "flex-1" }, Ct = { class: "flex" }, Nt = { class: "text-fm-color-typo-secondary" }, St = /* @__PURE__ */ Q({
75
+ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v0 = { class: "flex items-center gap-8 py-8" }, y0 = { class: "flex-1" }, g0 = { class: "fm-typo-en-title-sm-800" }, b0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, S0 = { class: "flex flex-col gap-4" }, h0 = { class: "flex-1" }, C0 = { class: "flex flex-col" }, _0 = { class: "fm-typo-en-body-lg-400" }, x0 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, M0 = { class: "flex-1" }, V0 = { class: "flex" }, A0 = { class: "text-fm-color-typo-secondary" }, N0 = /* @__PURE__ */ Z({
84
76
  __name: "SupplierSupplyItemField",
85
- props: /* @__PURE__ */ Gd({
77
+ props: /* @__PURE__ */ Ld({
86
78
  modelValue: {}
87
79
  }, {
88
80
  modelValue: {},
89
81
  modelModifiers: {}
90
82
  }),
91
83
  emits: ["update:modelValue"],
92
- setup(e) {
93
- const d = Fe(), t = Od(), r = F(() => t.skus), n = we(), { t: o } = X(), a = Hd(e, "modelValue");
94
- function $() {
95
- var b;
96
- const v = t.skus.map((_) => ({
97
- label: _.name,
98
- sublabel: _.code,
99
- value: _._id
100
- })), c = ((b = a.value) == null ? void 0 : b.map((_) => _.skuId)) ?? [], S = F(
84
+ setup(r) {
85
+ const t = nd(), o = wd(), $ = A(() => o.skus), p = ld(), { t: m } = O(), s = Gd(r, "modelValue");
86
+ function n() {
87
+ var C;
88
+ const u = o.skus.map((b) => ({
89
+ label: b.name,
90
+ sublabel: b.code,
91
+ value: b._id
92
+ })), g = ((C = s.value) == null ? void 0 : C.map((b) => b.skuId)) ?? [], h = A(
101
93
  () => {
102
- var _;
103
- return ((_ = zd(d.currentCountry.value)) == null ? void 0 : _.currency) ?? "MYR";
94
+ var b;
95
+ return ((b = Jd(t.currentCountry.value)) == null ? void 0 : b.currency) ?? "MYR";
104
96
  }
105
97
  );
106
- n.open({
107
- title: o("inventory.supplier.supplyItems.selectItem"),
98
+ p.open({
99
+ title: m("inventory.supplier.supplyItems.selectItem"),
108
100
  closeButton: !0,
109
- contentComponent: tt,
101
+ contentComponent: e0,
110
102
  contentComponentProps: {
111
- modelValue: c,
112
- items: v
103
+ modelValue: g,
104
+ items: u
113
105
  },
114
106
  primaryActions: {
115
107
  text: "Confirm",
@@ -120,131 +112,131 @@ const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, f
120
112
  close: !0,
121
113
  variant: "tertiary"
122
114
  }
123
- }).onPrimary((_) => {
124
- const I = _.map((P) => t.skuById[P]).filter((P) => P);
125
- I.sort((P, w) => P.code.localeCompare(w.code));
126
- const h = I.map((P) => {
127
- var D;
128
- const w = (D = a.value) == null ? void 0 : D.find((s) => s.skuId === P._id);
129
- return w || {
115
+ }).onPrimary((b) => {
116
+ const l = b.map((P) => o.skuById[P]).filter((P) => P);
117
+ l.sort((P, R) => P.code.localeCompare(R.code));
118
+ const M = l.map((P) => {
119
+ var B;
120
+ const R = (B = s.value) == null ? void 0 : B.find((e) => e.skuId === P._id);
121
+ return R || {
130
122
  skuId: P._id,
131
123
  defaultCost: P.defaultCost ?? {
132
124
  costPerUnit: {
133
- currency: S.value,
125
+ currency: h.value,
134
126
  amount: 0,
135
127
  precision: 2
136
128
  }
137
129
  }
138
130
  };
139
131
  });
140
- a.value = h;
132
+ s.value = M;
141
133
  });
142
134
  }
143
- function l(v) {
144
- switch (v) {
145
- case he.MY:
135
+ function a(u) {
136
+ switch (u) {
137
+ case rd.MY:
146
138
  return "MYR";
147
- case he.SG:
139
+ case rd.SG:
148
140
  return "SGD";
149
- case he.ID:
141
+ case rd.ID:
150
142
  return "IDR";
151
143
  default:
152
144
  return "MYR";
153
145
  }
154
146
  }
155
- function u(v) {
156
- const c = [...(a == null ? void 0 : a.value) ?? []];
157
- c.splice(v, 1), a.value = c;
147
+ function x(u) {
148
+ const g = [...(s == null ? void 0 : s.value) ?? []];
149
+ g.splice(u, 1), s.value = g;
158
150
  }
159
- function p(v) {
160
- var b;
161
- const c = v.skuId, S = (b = r.value.find((_) => _._id === c)) == null ? void 0 : b.unit;
162
- if (!S)
163
- throw new Error(`Cannot find ingredient: ${c}`);
164
- return S;
151
+ function y(u) {
152
+ var C;
153
+ const g = u.skuId, h = (C = $.value.find((b) => b._id === g)) == null ? void 0 : C.unit;
154
+ if (!h)
155
+ throw new Error(`Cannot find ingredient: ${g}`);
156
+ return h;
165
157
  }
166
- function m(v) {
158
+ function i(u) {
167
159
  return {
168
- amount: v.defaultCost.costPerUnit,
169
- measurement: v.defaultCost.measurement
160
+ amount: u.defaultCost.costPerUnit,
161
+ measurement: u.defaultCost.measurement
170
162
  };
171
163
  }
172
- function y(v, c) {
173
- const b = (a.value ?? []).map((_) => _.skuId !== v.skuId ? _ : {
174
- ..._,
164
+ function v(u, g) {
165
+ const C = (s.value ?? []).map((b) => b.skuId !== u.skuId ? b : {
166
+ ...b,
175
167
  defaultCost: {
176
- ..._.defaultCost,
177
- measurement: c.measurement,
168
+ ...b.defaultCost,
169
+ measurement: g.measurement,
178
170
  costPerUnit: {
179
- ..._.defaultCost.costPerUnit,
180
- ...c.amount
171
+ ...b.defaultCost.costPerUnit,
172
+ ...g.amount
181
173
  }
182
174
  }
183
175
  });
184
- a.value = b;
185
- }
186
- return (v, c) => {
187
- const S = T("FmButton");
188
- return E(), O("div", ut, [
189
- g("div", ct, [
190
- g("div", ft, [
191
- g("div", pt, [
192
- N(rt, { "z-index": 50 }, {
193
- default: k(() => [
194
- g("div", mt, A(f(o)("inventory.supplier.supplyItems.title")), 1)
176
+ s.value = C;
177
+ }
178
+ return (u, g) => {
179
+ const h = k("FmButton");
180
+ return V(), I("div", m0, [
181
+ f("div", f0, [
182
+ f("div", v0, [
183
+ f("div", y0, [
184
+ _($0, { "z-index": 50 }, {
185
+ default: L(() => [
186
+ f("div", g0, T(c(m)("inventory.supplier.supplyItems.title")), 1)
195
187
  ]),
196
188
  _: 1
197
189
  })
198
190
  ]),
199
- g("div", null, [
200
- N(S, {
191
+ f("div", null, [
192
+ _(h, {
201
193
  "prepend-icon": "link",
202
- label: f(o)("inventory.supplier.supplyItems.addItems"),
194
+ label: c(m)("inventory.supplier.supplyItems.addItems"),
203
195
  variant: "plain",
204
- onClick: $
196
+ onClick: n
205
197
  }, null, 8, ["label"])
206
198
  ])
207
199
  ]),
208
- g("div", yt, A(f(o)("inventory.supplier.supplyItems.overridePriceHint")), 1)
200
+ f("div", b0, T(c(m)("inventory.supplier.supplyItems.overridePriceHint")), 1)
209
201
  ]),
210
- g("div", vt, [
211
- (E(!0), O(q, null, ee(a.value, (b, _) => {
212
- var I, h, P;
213
- return E(), O("div", {
214
- key: b.skuId,
202
+ f("div", S0, [
203
+ (V(!0), I(Y, null, z(s.value, (C, b) => {
204
+ var l, M, P;
205
+ return V(), I("div", {
206
+ key: C.skuId,
215
207
  class: "flex"
216
208
  }, [
217
- g("div", gt, [
218
- g("div", ht, [
219
- g("div", bt, A((I = f(t).skuById[b.skuId]) == null ? void 0 : I.name), 1),
220
- g("div", _t, A((h = f(t).skuById[b.skuId]) == null ? void 0 : h.code), 1)
209
+ f("div", h0, [
210
+ f("div", C0, [
211
+ f("div", _0, T((l = c(o).skuById[C.skuId]) == null ? void 0 : l.name), 1),
212
+ f("div", x0, T((M = c(o).skuById[C.skuId]) == null ? void 0 : M.code), 1)
221
213
  ])
222
214
  ]),
223
- g("div", Pt, [
224
- g("div", Ct, [
225
- N(nt, {
226
- "model-value": m(b),
227
- unit: p(b),
228
- "onUpdate:modelValue": (w) => y(b, w),
229
- placement: a.value && _ === ((P = a.value) == null ? void 0 : P.length) - 1 ? "top" : "bottom",
215
+ f("div", M0, [
216
+ f("div", V0, [
217
+ _(t0, {
218
+ "model-value": i(C),
219
+ unit: y(C),
220
+ "onUpdate:modelValue": (R) => v(C, R),
221
+ placement: s.value && b === ((P = s.value) == null ? void 0 : P.length) - 1 ? "top" : "bottom",
230
222
  separator: "/",
231
223
  "apply-default-rules": "",
232
224
  precision: 4,
233
225
  "format-minimum-precision": 2
234
226
  }, {
235
- prepend: k(() => {
236
- var w, V;
227
+ prepend: L(() => {
228
+ var R, w;
237
229
  return [
238
- g("div", Nt, A(l(((w = f(d).currentCountry) == null ? void 0 : w.value) ?? f(dd)) === "MYR" ? "RM" : l(((V = f(d).currentCountry) == null ? void 0 : V.value) ?? f(dd))), 1)
230
+ f("div", A0, T(a(((R = c(t).currentCountry) == null ? void 0 : R.value) ?? c(Ad)) === "MYR" ? "RM" : a(((w = c(t).currentCountry) == null ? void 0 : w.value) ?? c(Ad))), 1)
239
231
  ];
240
232
  }),
241
233
  _: 2
242
234
  }, 1032, ["model-value", "unit", "onUpdate:modelValue", "placement"]),
243
- g("div", null, [
244
- N(S, {
235
+ f("div", null, [
236
+ _(h, {
245
237
  "prepend-icon": "close",
246
238
  variant: "tertiary",
247
- onClick: (w) => u(_)
239
+ onClick: (R) => x(b)
248
240
  }, null, 8, ["onClick"])
249
241
  ])
250
242
  ])
@@ -255,256 +247,256 @@ const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, f
255
247
  ]);
256
248
  };
257
249
  }
258
- }), Et = { class: "flex flex-col gap-40" }, xt = { class: "flex flex-col gap-16" }, It = { key: 0 }, Ft = { class: "flex flex-col gap-8" }, Ot = { class: "fm-typo-en-title-sm-800" }, wt = { class: "grid grid-cols-2 gap-24" }, At = { class: "flex flex-col gap-8" }, Rt = { class: "fm-typo-en-title-sm-800" }, Tt = { class: "flex flex-col gap-16" }, Mt = {
250
+ }), P0 = { class: "flex flex-col gap-40" }, E0 = { class: "flex flex-col gap-16" }, I0 = { key: 0 }, R0 = { class: "flex flex-col gap-8" }, T0 = { class: "fm-typo-en-title-sm-800" }, w0 = { class: "grid grid-cols-2 gap-24" }, k0 = { class: "flex flex-col gap-8" }, F0 = { class: "fm-typo-en-title-sm-800" }, B0 = { class: "flex flex-col gap-16" }, D0 = {
259
251
  key: 0,
260
252
  class: "flex flex-col gap-8"
261
- }, Dt = /* @__PURE__ */ Q({
253
+ }, U0 = /* @__PURE__ */ Z({
262
254
  __name: "SupplierForm",
263
255
  props: {
264
256
  modelValue: {},
265
257
  disabled: { type: Boolean }
266
258
  },
267
259
  emits: ["update:modelValue", "validation-success"],
268
- setup(e, { expose: d, emit: t }) {
269
- const r = e, n = t, o = Ad(), a = Od(), $ = F(() => wd(a.skus, "_id")), { t: l } = X(), u = pe(), p = F(() => u.businessLevel), m = F({
260
+ setup(r, { expose: t, emit: o }) {
261
+ const $ = r, p = o, m = Fd(), s = wd(), n = A(() => kd(s.skus, "_id")), { t: a } = O(), x = $d(), y = A(() => x.businessLevel), i = A({
270
262
  get() {
271
- var s;
272
- return ((s = r.modelValue) == null ? void 0 : s.name) ?? "";
263
+ var e;
264
+ return ((e = $.modelValue) == null ? void 0 : e.name) ?? "";
273
265
  },
274
- set(s) {
275
- const i = r.modelValue ?? {};
276
- i.name = s, n("update:modelValue", i);
266
+ set(e) {
267
+ const d = $.modelValue ?? {};
268
+ d.name = e, p("update:modelValue", d);
277
269
  }
278
- }), y = F({
270
+ }), v = A({
279
271
  get() {
280
- var s;
281
- return ((s = r.modelValue) == null ? void 0 : s.registrationNumber) ?? "";
272
+ var e;
273
+ return ((e = $.modelValue) == null ? void 0 : e.registrationNumber) ?? "";
282
274
  },
283
- set(s) {
284
- const i = r.modelValue ?? {};
285
- i.registrationNumber = s, n("update:modelValue", i);
275
+ set(e) {
276
+ const d = $.modelValue ?? {};
277
+ d.registrationNumber = e, p("update:modelValue", d);
286
278
  }
287
- }), v = F({
279
+ }), u = A({
288
280
  get() {
289
- var s, i;
290
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.line1) ?? "";
281
+ var e, d;
282
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line1) ?? "";
291
283
  },
292
- set(s) {
293
- const i = r.modelValue ?? {};
294
- i.address ?? (i.address = {}), i.address.line1 = s, n("update:modelValue", i);
284
+ set(e) {
285
+ const d = $.modelValue ?? {};
286
+ d.address ?? (d.address = {}), d.address.line1 = e, p("update:modelValue", d);
295
287
  }
296
- }), c = F({
288
+ }), g = A({
297
289
  get() {
298
- var s, i;
299
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.line2) ?? "";
290
+ var e, d;
291
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line2) ?? "";
300
292
  },
301
- set(s) {
302
- const i = r.modelValue ?? {};
303
- i.address ?? (i.address = {}), i.address.line2 = s, n("update:modelValue", i);
293
+ set(e) {
294
+ const d = $.modelValue ?? {};
295
+ d.address ?? (d.address = {}), d.address.line2 = e, p("update:modelValue", d);
304
296
  }
305
- }), S = F({
297
+ }), h = A({
306
298
  get() {
307
- var s, i;
308
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.city) ?? "";
299
+ var e, d;
300
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.city) ?? "";
309
301
  },
310
- set(s) {
311
- const i = r.modelValue ?? {};
312
- i.address ?? (i.address = {}), i.address.city = s, n("update:modelValue", i);
302
+ set(e) {
303
+ const d = $.modelValue ?? {};
304
+ d.address ?? (d.address = {}), d.address.city = e, p("update:modelValue", d);
313
305
  }
314
- }), b = F({
306
+ }), C = A({
315
307
  get() {
316
- var s, i;
317
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.postcode) ?? "";
308
+ var e, d;
309
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.postcode) ?? "";
318
310
  },
319
- set(s) {
320
- const i = r.modelValue ?? {};
321
- i.address ?? (i.address = {}), i.address.postcode = s, n("update:modelValue", i);
311
+ set(e) {
312
+ const d = $.modelValue ?? {};
313
+ d.address ?? (d.address = {}), d.address.postcode = e, p("update:modelValue", d);
322
314
  }
323
- }), _ = F({
315
+ }), b = A({
324
316
  get() {
325
- var s, i;
326
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.state) ?? "";
317
+ var e, d;
318
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.state) ?? "";
327
319
  },
328
- set(s) {
329
- const i = r.modelValue ?? {};
330
- i.address ?? (i.address = {}), i.address.state = s, n("update:modelValue", i);
320
+ set(e) {
321
+ const d = $.modelValue ?? {};
322
+ d.address ?? (d.address = {}), d.address.state = e, p("update:modelValue", d);
331
323
  }
332
- }), I = F({
324
+ }), l = A({
333
325
  get() {
334
- var s, i;
335
- return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.country) ?? "";
326
+ var e, d;
327
+ return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.country) ?? "";
336
328
  },
337
- set(s) {
338
- const i = r.modelValue ?? {};
339
- i.address ?? (i.address = {}), i.address.country = s, n("update:modelValue", i);
329
+ set(e) {
330
+ const d = $.modelValue ?? {};
331
+ d.address ?? (d.address = {}), d.address.country = e, p("update:modelValue", d);
340
332
  }
341
- }), h = F({
333
+ }), M = A({
342
334
  get() {
343
- var s;
344
- return ((s = r.modelValue) == null ? void 0 : s.contactName) ?? "";
335
+ var e;
336
+ return ((e = $.modelValue) == null ? void 0 : e.contactName) ?? "";
345
337
  },
346
- set(s) {
347
- const i = r.modelValue ?? {};
348
- i.contactName = s, n("update:modelValue", i);
338
+ set(e) {
339
+ const d = $.modelValue ?? {};
340
+ d.contactName = e, p("update:modelValue", d);
349
341
  }
350
- }), P = F({
342
+ }), P = A({
351
343
  get() {
352
- var s;
353
- return ((s = r.modelValue) == null ? void 0 : s.phoneNumber) ?? "";
344
+ var e;
345
+ return ((e = $.modelValue) == null ? void 0 : e.phoneNumber) ?? "";
354
346
  },
355
- set(s) {
356
- const i = r.modelValue ?? {};
357
- i.phoneNumber = s, n("update:modelValue", i);
347
+ set(e) {
348
+ const d = $.modelValue ?? {};
349
+ d.phoneNumber = e, p("update:modelValue", d);
358
350
  }
359
- }), w = F({
351
+ }), R = A({
360
352
  get() {
361
- var s;
362
- return ((s = r.modelValue) == null ? void 0 : s.email) ?? "";
353
+ var e;
354
+ return ((e = $.modelValue) == null ? void 0 : e.email) ?? "";
363
355
  },
364
- set(s) {
365
- const i = r.modelValue ?? {};
366
- i.email = s, n("update:modelValue", i);
356
+ set(e) {
357
+ const d = $.modelValue ?? {};
358
+ d.email = e, p("update:modelValue", d);
367
359
  }
368
- }), V = F({
360
+ }), w = A({
369
361
  get() {
370
- var i;
371
- return (((i = r.modelValue) == null ? void 0 : i.supplyItems) ?? []).filter((Z) => $.value[Z.skuId]);
362
+ var d;
363
+ return (((d = $.modelValue) == null ? void 0 : d.supplyItems) ?? []).filter((E) => n.value[E.skuId]);
372
364
  },
373
- set(s) {
374
- const i = r.modelValue ?? {};
375
- i.supplyItems = s, n("update:modelValue", i);
365
+ set(e) {
366
+ const d = $.modelValue ?? {};
367
+ d.supplyItems = e, p("update:modelValue", d);
376
368
  }
377
- }), D = L();
378
- return d({
369
+ }), B = F();
370
+ return t({
379
371
  validateInputs: () => {
380
- var s, i;
381
- (i = (s = D.value) == null ? void 0 : s.validateInputs) == null || i.call(s);
372
+ var e, d;
373
+ (d = (e = B.value) == null ? void 0 : e.validateInputs) == null || d.call(e);
382
374
  },
383
375
  resetInputsValidation: () => {
384
- var s, i;
385
- (i = (s = D.value) == null ? void 0 : s.resetInputsValidation) == null || i.call(s);
376
+ var e, d;
377
+ (d = (e = B.value) == null ? void 0 : e.resetInputsValidation) == null || d.call(e);
386
378
  },
387
379
  resetInputs: () => {
388
- var s, i;
389
- (i = (s = D.value) == null ? void 0 : s.resetInputs) == null || i.call(s);
380
+ var e, d;
381
+ (d = (e = B.value) == null ? void 0 : e.resetInputs) == null || d.call(e);
390
382
  }
391
- }), (s, i) => {
392
- const Z = T("FmChip"), x = T("FmTextField"), R = T("FmPhoneNumber"), ge = T("FmForm");
393
- return E(), j(ge, {
383
+ }), (e, d) => {
384
+ const E = k("FmChip"), N = k("FmTextField"), od = k("FmPhoneNumber"), D = k("FmForm");
385
+ return V(), H(D, {
394
386
  ref_key: "formRef",
395
- ref: D,
396
- onValidationSuccess: i[12] || (i[12] = (C) => n("validation-success"))
387
+ ref: B,
388
+ onValidationSuccess: d[12] || (d[12] = (S) => p("validation-success"))
397
389
  }, {
398
- default: k(() => [
399
- g("div", Et, [
400
- g("div", xt, [
401
- p.value ? (E(), O("div", It, [
402
- N(Z, {
390
+ default: L(() => [
391
+ f("div", P0, [
392
+ f("div", E0, [
393
+ y.value ? (V(), I("div", I0, [
394
+ _(E, {
403
395
  label: "Business supplier",
404
396
  compact: ""
405
397
  })
406
398
  ])) : K("", !0),
407
- N(x, {
408
- disabled: s.disabled,
409
- rules: [f(G)()],
399
+ _(N, {
400
+ disabled: e.disabled,
401
+ rules: [c(G)()],
410
402
  "label-mark": "required",
411
- label: f(l)("inventory.supplier.companyName"),
412
- modelValue: m.value,
413
- "onUpdate:modelValue": i[0] || (i[0] = (C) => m.value = C)
403
+ label: c(a)("inventory.supplier.companyName"),
404
+ modelValue: i.value,
405
+ "onUpdate:modelValue": d[0] || (d[0] = (S) => i.value = S)
414
406
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
415
- N(x, {
416
- disabled: s.disabled,
417
- rules: [f(G)()],
407
+ _(N, {
408
+ disabled: e.disabled,
409
+ rules: [c(G)()],
418
410
  "label-mark": "required",
419
- label: f(l)("inventory.supplier.registrationNo"),
420
- modelValue: y.value,
421
- "onUpdate:modelValue": i[1] || (i[1] = (C) => y.value = C)
411
+ label: c(a)("inventory.supplier.registrationNo"),
412
+ modelValue: v.value,
413
+ "onUpdate:modelValue": d[1] || (d[1] = (S) => v.value = S)
422
414
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
423
415
  ]),
424
- g("div", Ft, [
425
- g("div", Ot, A(f(l)("inventory.supplier.address.title")), 1),
426
- g("div", wt, [
427
- N(x, {
428
- disabled: s.disabled,
429
- rules: [f(G)()],
416
+ f("div", R0, [
417
+ f("div", T0, T(c(a)("inventory.supplier.address.title")), 1),
418
+ f("div", w0, [
419
+ _(N, {
420
+ disabled: e.disabled,
421
+ rules: [c(G)()],
430
422
  "label-mark": "required",
431
- label: f(l)("inventory.supplier.address.line1"),
432
- modelValue: v.value,
433
- "onUpdate:modelValue": i[2] || (i[2] = (C) => v.value = C)
423
+ label: c(a)("inventory.supplier.address.line1"),
424
+ modelValue: u.value,
425
+ "onUpdate:modelValue": d[2] || (d[2] = (S) => u.value = S)
434
426
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
435
- N(x, {
436
- disabled: s.disabled,
427
+ _(N, {
428
+ disabled: e.disabled,
437
429
  "label-mark": "optional",
438
- label: f(l)("inventory.supplier.address.line2"),
439
- modelValue: c.value,
440
- "onUpdate:modelValue": i[3] || (i[3] = (C) => c.value = C)
430
+ label: c(a)("inventory.supplier.address.line2"),
431
+ modelValue: g.value,
432
+ "onUpdate:modelValue": d[3] || (d[3] = (S) => g.value = S)
441
433
  }, null, 8, ["disabled", "label", "modelValue"]),
442
- N(x, {
443
- disabled: s.disabled,
444
- rules: [f(G)()],
434
+ _(N, {
435
+ disabled: e.disabled,
436
+ rules: [c(G)()],
445
437
  "label-mark": "required",
446
- label: f(l)("inventory.supplier.address.city"),
447
- modelValue: S.value,
448
- "onUpdate:modelValue": i[4] || (i[4] = (C) => S.value = C)
438
+ label: c(a)("inventory.supplier.address.city"),
439
+ modelValue: h.value,
440
+ "onUpdate:modelValue": d[4] || (d[4] = (S) => h.value = S)
449
441
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
450
- N(x, {
451
- disabled: s.disabled,
452
- rules: [f(G)()],
442
+ _(N, {
443
+ disabled: e.disabled,
444
+ rules: [c(G)()],
453
445
  "label-mark": "required",
454
- label: f(l)("inventory.supplier.address.postcode"),
455
- modelValue: b.value,
456
- "onUpdate:modelValue": i[5] || (i[5] = (C) => b.value = C)
446
+ label: c(a)("inventory.supplier.address.postcode"),
447
+ modelValue: C.value,
448
+ "onUpdate:modelValue": d[5] || (d[5] = (S) => C.value = S)
457
449
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
458
- N(x, {
459
- disabled: s.disabled,
460
- rules: [f(G)()],
450
+ _(N, {
451
+ disabled: e.disabled,
452
+ rules: [c(G)()],
461
453
  "label-mark": "required",
462
- label: f(l)("inventory.supplier.address.state"),
463
- modelValue: _.value,
464
- "onUpdate:modelValue": i[6] || (i[6] = (C) => _.value = C)
454
+ label: c(a)("inventory.supplier.address.state"),
455
+ modelValue: b.value,
456
+ "onUpdate:modelValue": d[6] || (d[6] = (S) => b.value = S)
465
457
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
466
- N(x, {
467
- disabled: s.disabled,
468
- rules: [f(G)()],
458
+ _(N, {
459
+ disabled: e.disabled,
460
+ rules: [c(G)()],
469
461
  "label-mark": "required",
470
- label: f(l)("inventory.supplier.address.country"),
471
- modelValue: I.value,
472
- "onUpdate:modelValue": i[7] || (i[7] = (C) => I.value = C)
462
+ label: c(a)("inventory.supplier.address.country"),
463
+ modelValue: l.value,
464
+ "onUpdate:modelValue": d[7] || (d[7] = (S) => l.value = S)
473
465
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
474
466
  ])
475
467
  ]),
476
- g("div", At, [
477
- g("div", Rt, A(f(l)("inventory.supplier.contact.title")), 1),
478
- g("div", Tt, [
479
- N(x, {
480
- disabled: s.disabled,
481
- rules: [f(G)()],
468
+ f("div", k0, [
469
+ f("div", F0, T(c(a)("inventory.supplier.contact.title")), 1),
470
+ f("div", B0, [
471
+ _(N, {
472
+ disabled: e.disabled,
473
+ rules: [c(G)()],
482
474
  "label-mark": "required",
483
- label: f(l)("inventory.supplier.contact.pic"),
484
- modelValue: h.value,
485
- "onUpdate:modelValue": i[8] || (i[8] = (C) => h.value = C)
475
+ label: c(a)("inventory.supplier.contact.pic"),
476
+ modelValue: M.value,
477
+ "onUpdate:modelValue": d[8] || (d[8] = (S) => M.value = S)
486
478
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
487
- N(R, {
488
- disabled: s.disabled,
489
- rules: [f(G)()],
479
+ _(od, {
480
+ disabled: e.disabled,
481
+ rules: [c(G)()],
490
482
  "label-mark": "required",
491
- label: f(l)("inventory.supplier.contact.phoneNumber"),
483
+ label: c(a)("inventory.supplier.contact.phoneNumber"),
492
484
  modelValue: P.value,
493
- "onUpdate:modelValue": i[9] || (i[9] = (C) => P.value = C)
485
+ "onUpdate:modelValue": d[9] || (d[9] = (S) => P.value = S)
494
486
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
495
- N(x, {
496
- disabled: s.disabled,
487
+ _(N, {
488
+ disabled: e.disabled,
497
489
  "label-mark": "optional",
498
- label: f(l)("inventory.supplier.contact.email"),
499
- modelValue: w.value,
500
- "onUpdate:modelValue": i[10] || (i[10] = (C) => w.value = C)
490
+ label: c(a)("inventory.supplier.contact.email"),
491
+ modelValue: R.value,
492
+ "onUpdate:modelValue": d[10] || (d[10] = (S) => R.value = S)
501
493
  }, null, 8, ["disabled", "label", "modelValue"])
502
494
  ])
503
495
  ]),
504
- f(o).enableTotalCost ? (E(), O("div", Mt, [
505
- N(St, {
506
- modelValue: V.value,
507
- "onUpdate:modelValue": i[11] || (i[11] = (C) => V.value = C)
496
+ c(m).enableTotalCost ? (V(), I("div", D0, [
497
+ _(N0, {
498
+ modelValue: w.value,
499
+ "onUpdate:modelValue": d[11] || (d[11] = (S) => w.value = S)
508
500
  }, null, 8, ["modelValue"])
509
501
  ])) : K("", !0)
510
502
  ])
@@ -513,10 +505,7 @@ const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, f
513
505
  }, 512);
514
506
  };
515
507
  }
516
- }), Lt = {
517
- key: 0,
518
- class: "mt-5 flex flex-col gap-4"
519
- }, kt = { class: "flex gap-4" }, Vt = /* @__PURE__ */ Q({
508
+ }), L0 = { class: "flex gap-4" }, G0 = /* @__PURE__ */ Z({
520
509
  __name: "SupplierDialog",
521
510
  props: {
522
511
  mode: {},
@@ -524,147 +513,138 @@ const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, f
524
513
  show: { type: Boolean }
525
514
  },
526
515
  emits: ["update:show", "submitted"],
527
- setup(e, { expose: d, emit: t }) {
528
- const r = Oe(), n = e, o = t, a = L(!1), $ = me(), { t: l } = X(), u = re(), p = F(() => {
529
- switch (n.mode) {
516
+ setup(r, { expose: t, emit: o }) {
517
+ const $ = r, p = o, m = F(!1), s = td(), { t: n } = O(), a = J(), x = A(() => {
518
+ switch ($.mode) {
530
519
  case U.READ:
531
520
  return "";
532
521
  case U.UPDATE:
533
- return l("inventory.supplier.update.title");
522
+ return n("inventory.supplier.update.title");
534
523
  case U.CREATE:
535
- return l("inventory.supplier.create.title");
524
+ return n("inventory.supplier.create.title");
536
525
  }
537
526
  return "";
538
- }), m = F(() => {
539
- switch (n.mode) {
527
+ }), y = A(() => {
528
+ switch ($.mode) {
540
529
  case U.READ:
541
530
  return "";
542
531
  case U.UPDATE:
543
- return l("common.save");
532
+ return n("common.save");
544
533
  case U.CREATE:
545
- return l("common.add");
534
+ return n("common.add");
546
535
  }
547
536
  return "";
548
- }), y = L();
549
- d({
537
+ }), i = F();
538
+ t({
550
539
  validateInputs: () => {
551
- var h, P;
552
- (P = (h = y.value) == null ? void 0 : h.validateInputs) == null || P.call(h);
540
+ var l, M;
541
+ (M = (l = i.value) == null ? void 0 : l.validateInputs) == null || M.call(l);
553
542
  },
554
543
  resetInputsValidation: () => {
555
- var h, P;
556
- (P = (h = y.value) == null ? void 0 : h.resetInputsValidation) == null || P.call(h);
544
+ var l, M;
545
+ (M = (l = i.value) == null ? void 0 : l.resetInputsValidation) == null || M.call(l);
557
546
  },
558
547
  resetInputs: () => {
559
- var h, P;
560
- (P = (h = y.value) == null ? void 0 : h.resetInputs) == null || P.call(h);
548
+ var l, M;
549
+ (M = (l = i.value) == null ? void 0 : l.resetInputs) == null || M.call(l);
561
550
  }
562
551
  });
563
- const v = td(n, "show"), c = td(n, "supplier");
564
- function S() {
565
- var h, P;
566
- (P = (h = y.value) == null ? void 0 : h.validateInputs) == null || P.call(h);
552
+ const v = Nd($, "show"), u = Nd($, "supplier");
553
+ function g() {
554
+ var l, M;
555
+ (M = (l = i.value) == null ? void 0 : l.validateInputs) == null || M.call(l);
567
556
  }
568
- function b() {
569
- switch (n.mode) {
557
+ function h() {
558
+ switch ($.mode) {
570
559
  case U.READ:
571
560
  return;
572
561
  case U.UPDATE:
573
- return I();
562
+ return b();
574
563
  case U.CREATE:
575
- return _();
564
+ return C();
576
565
  }
577
566
  }
578
- async function _() {
579
- a.value = !0;
567
+ async function C() {
568
+ m.value = !0;
580
569
  try {
581
570
  await Promise.all([
582
- u.createSupplier(c.value),
583
- new Promise((h) => setTimeout(h, 1e3))
584
- ]), $.open({
585
- title: l("inventory.common.success"),
586
- message: l("inventory.supplier.create.success", { name: c.value.name }),
571
+ a.createSupplier(u.value),
572
+ new Promise((l) => setTimeout(l, 1e3))
573
+ ]), s.open({
574
+ title: n("inventory.common.success"),
575
+ message: n("inventory.supplier.create.success", { name: u.value.name }),
587
576
  type: "success"
588
- }), o("update:show", !1), o("submitted");
589
- } catch (h) {
590
- $.open({
577
+ }), p("update:show", !1), p("submitted");
578
+ } catch (l) {
579
+ s.open({
591
580
  title: "Something went wrong",
592
- message: `Cannot create ${c.value.name} supplier. Please try again`,
581
+ message: `Cannot create ${u.value.name} supplier. Please try again`,
593
582
  type: "error"
594
- }), console.error("cannot create supplier", h);
583
+ }), console.error("cannot create supplier", l);
595
584
  } finally {
596
- a.value = !1;
585
+ m.value = !1;
597
586
  }
598
587
  }
599
- async function I() {
600
- if (c.value === null) {
601
- $.open({
602
- title: l("inventory.supplier.update.error.title"),
603
- message: l("inventory.supplier.update.error.emptySupplier"),
588
+ async function b() {
589
+ if (u.value === null) {
590
+ s.open({
591
+ title: n("inventory.supplier.update.error.title"),
592
+ message: n("inventory.supplier.update.error.emptySupplier"),
604
593
  type: "error"
605
594
  });
606
595
  return;
607
596
  }
608
- a.value = !0;
597
+ m.value = !0;
609
598
  try {
610
599
  await Promise.all([
611
- u.updateSupplier(c.value),
612
- new Promise((h) => setTimeout(h, 1e3))
613
- ]), $.open({
614
- title: l("inventory.common.success"),
615
- message: l("inventory.supplier.update.success", { name: c.value.name }),
600
+ a.updateSupplier(u.value),
601
+ new Promise((l) => setTimeout(l, 1e3))
602
+ ]), s.open({
603
+ title: n("inventory.common.success"),
604
+ message: n("inventory.supplier.update.success", { name: u.value.name }),
616
605
  type: "success"
617
- }), o("update:show", !1), o("submitted");
618
- } catch (h) {
619
- $.open({
620
- title: l("inventory.supplier.update.error.title"),
621
- message: l("inventory.supplier.update.error.message"),
606
+ }), p("update:show", !1), p("submitted");
607
+ } catch (l) {
608
+ s.open({
609
+ title: n("inventory.supplier.update.error.title"),
610
+ message: n("inventory.supplier.update.error.message"),
622
611
  type: "error"
623
- }), console.error("cannot update supplier", h);
612
+ }), console.error("cannot update supplier", l);
624
613
  } finally {
625
- a.value = !1;
614
+ m.value = !1;
626
615
  }
627
616
  }
628
- return (h, P) => {
629
- const w = T("FmLabel"), V = T("FmField"), D = T("FmButton"), s = T("FmSideSheet");
630
- return E(), j(s, {
631
- header: p.value,
632
- modelValue: f(v),
633
- "onUpdate:modelValue": P[1] || (P[1] = (i) => Qe(v) ? v.value = i : null),
634
- "dismiss-away": !a.value,
617
+ return (l, M) => {
618
+ const P = k("FmButton"), R = k("FmSideSheet");
619
+ return V(), H(R, {
620
+ header: x.value,
621
+ modelValue: c(v),
622
+ "onUpdate:modelValue": M[1] || (M[1] = (w) => Md(v) ? v.value = w : null),
623
+ "dismiss-away": !m.value,
635
624
  "close-button": "",
636
625
  "max-width": 500
637
626
  }, {
638
- default: k(() => {
639
- var i;
627
+ default: L(() => {
628
+ var w;
640
629
  return [
641
- (E(), j(Dt, {
630
+ (V(), H(U0, {
642
631
  class: "w-full",
643
632
  ref_key: "formRef",
644
- ref: y,
645
- modelValue: f(c),
646
- "onUpdate:modelValue": P[0] || (P[0] = (Z) => Qe(c) ? c.value = Z : null),
647
- onValidationSuccess: b,
648
- key: ((i = h.supplier) == null ? void 0 : i._id) ?? "",
649
- disabled: a.value
650
- }, null, 8, ["modelValue", "disabled"])),
651
- f(r).isEnabled && f(r).getVendorSubsidiaryName(f(c)._id) ? (E(), O("div", Lt, [
652
- N(w, { label: "NetSuite Subsidiary" }),
653
- N(V, null, {
654
- default: k(() => [
655
- Id(A(f(r).getVendorSubsidiaryName(f(c)._id)), 1)
656
- ]),
657
- _: 1
658
- })
659
- ])) : K("", !0)
633
+ ref: i,
634
+ modelValue: c(u),
635
+ "onUpdate:modelValue": M[0] || (M[0] = (B) => Md(u) ? u.value = B : null),
636
+ onValidationSuccess: h,
637
+ key: ((w = l.supplier) == null ? void 0 : w._id) ?? "",
638
+ disabled: m.value
639
+ }, null, 8, ["modelValue", "disabled"]))
660
640
  ];
661
641
  }),
662
- "side-sheet-footer": k(() => [
663
- g("div", kt, [
664
- N(D, {
665
- loading: a.value,
666
- label: m.value,
667
- onClick: S
642
+ "side-sheet-footer": L(() => [
643
+ f("div", L0, [
644
+ _(P, {
645
+ loading: m.value,
646
+ label: y.value,
647
+ onClick: g
668
648
  }, null, 8, ["loading", "label"])
669
649
  ])
670
650
  ]),
@@ -672,1615 +652,69 @@ const ut = { class: "flex flex-col gap-12" }, ct = { class: "flex flex-col" }, f
672
652
  }, 8, ["header", "modelValue", "dismiss-away"]);
673
653
  };
674
654
  }
675
- }), Ut = { 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", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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-9]\\d{9}|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])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-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", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[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-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "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", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-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]|7[67]|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-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[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]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|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[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[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-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|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}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
676
- function Bt(e, d) {
677
- var t = Array.prototype.slice.call(d);
678
- return t.push(Ut), e.apply(this, t);
679
- }
680
- function Ce(e) {
681
- "@babel/helpers - typeof";
682
- return Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
683
- return typeof d;
684
- } : function(d) {
685
- return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
686
- }, Ce(e);
687
- }
688
- function Gt(e, d, t) {
689
- return Object.defineProperty(e, "prototype", { writable: !1 }), e;
690
- }
691
- function Ht(e, d) {
692
- if (!(e instanceof d))
693
- throw new TypeError("Cannot call a class as a function");
694
- }
695
- function jt(e, d) {
696
- if (typeof d != "function" && d !== null)
697
- throw new TypeError("Super expression must either be null or a function");
698
- e.prototype = Object.create(d && d.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), d && de(e, d);
699
- }
700
- function Kt(e) {
701
- var d = Dd();
702
- return function() {
703
- var r = te(e), n;
704
- if (d) {
705
- var o = te(this).constructor;
706
- n = Reflect.construct(r, arguments, o);
707
- } else
708
- n = r.apply(this, arguments);
709
- return Wt(this, n);
710
- };
711
- }
712
- function Wt(e, d) {
713
- if (d && (Ce(d) === "object" || typeof d == "function"))
714
- return d;
715
- if (d !== void 0)
716
- throw new TypeError("Derived constructors may only return object or undefined");
717
- return Md(e);
718
- }
719
- function Md(e) {
720
- if (e === void 0)
721
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
722
- return e;
723
- }
724
- function Ne(e) {
725
- var d = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
726
- return Ne = function(r) {
727
- if (r === null || !Yt(r)) return r;
728
- if (typeof r != "function")
729
- throw new TypeError("Super expression must either be null or a function");
730
- if (typeof d < "u") {
731
- if (d.has(r)) return d.get(r);
732
- d.set(r, n);
733
- }
734
- function n() {
735
- return se(r, arguments, te(this).constructor);
736
- }
737
- return n.prototype = Object.create(r.prototype, { constructor: { value: n, enumerable: !1, writable: !0, configurable: !0 } }), de(n, r);
738
- }, Ne(e);
739
- }
740
- function se(e, d, t) {
741
- return Dd() ? se = Reflect.construct : se = function(n, o, a) {
742
- var $ = [null];
743
- $.push.apply($, o);
744
- var l = Function.bind.apply(n, $), u = new l();
745
- return a && de(u, a.prototype), u;
746
- }, se.apply(null, arguments);
747
- }
748
- function Dd() {
749
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
750
- if (typeof Proxy == "function") return !0;
751
- try {
752
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
753
- })), !0;
754
- } catch {
755
- return !1;
756
- }
757
- }
758
- function Yt(e) {
759
- return Function.toString.call(e).indexOf("[native code]") !== -1;
760
- }
761
- function de(e, d) {
762
- return de = Object.setPrototypeOf || function(r, n) {
763
- return r.__proto__ = n, r;
764
- }, de(e, d);
765
- }
766
- function te(e) {
767
- return te = Object.setPrototypeOf ? Object.getPrototypeOf : function(t) {
768
- return t.__proto__ || Object.getPrototypeOf(t);
769
- }, te(e);
770
- }
771
- var H = /* @__PURE__ */ function(e) {
772
- jt(t, e);
773
- var d = Kt(t);
774
- function t(r) {
775
- var n;
776
- return Ht(this, t), n = d.call(this, r), Object.setPrototypeOf(Md(n), t.prototype), n.name = n.constructor.name, n;
777
- }
778
- return Gt(t);
779
- }(/* @__PURE__ */ Ne(Error)), Ae = 2, Xt = 17, Zt = 3, B = "0-90-9٠-٩۰-۹", zt = "-‐-―−ー-", qt = "//", Jt = "..", Qt = "  ­​⁠ ", e0 = "()()[]\\[\\]", d0 = "~⁓∼~", ce = "".concat(zt).concat(qt).concat(Jt).concat(Qt).concat(e0).concat(d0), Re = "++";
780
- function rd(e, d) {
781
- e = e.split("-"), d = d.split("-");
782
- for (var t = e[0].split("."), r = d[0].split("."), n = 0; n < 3; n++) {
783
- var o = Number(t[n]), a = Number(r[n]);
784
- if (o > a) return 1;
785
- if (a > o) return -1;
786
- if (!isNaN(o) && isNaN(a)) return 1;
787
- if (isNaN(o) && !isNaN(a)) return -1;
788
- }
789
- return e[1] && d[1] ? e[1] > d[1] ? 1 : e[1] < d[1] ? -1 : 0 : !e[1] && d[1] ? 1 : e[1] && !d[1] ? -1 : 0;
790
- }
791
- var t0 = {}.constructor;
792
- function ue(e) {
793
- return e != null && e.constructor === t0;
794
- }
795
- function Se(e) {
796
- "@babel/helpers - typeof";
797
- return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(d) {
798
- return typeof d;
799
- } : function(d) {
800
- return d && typeof Symbol == "function" && d.constructor === Symbol && d !== Symbol.prototype ? "symbol" : typeof d;
801
- }, Se(e);
802
- }
803
- function ye(e, d) {
804
- if (!(e instanceof d))
805
- throw new TypeError("Cannot call a class as a function");
806
- }
807
- function r0(e, d) {
808
- for (var t = 0; t < d.length; t++) {
809
- var r = d[t];
810
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
811
- }
812
- }
813
- function ve(e, d, t) {
814
- return d && r0(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
815
- }
816
- var n0 = "1.2.0", o0 = "1.7.35", nd = " ext. ", a0 = /^\d+$/, M = /* @__PURE__ */ function() {
817
- function e(d) {
818
- ye(this, e), s0(d), this.metadata = d, Ld.call(this, d);
819
- }
820
- return ve(e, [{
821
- key: "getCountries",
822
- value: function() {
823
- return Object.keys(this.metadata.countries).filter(function(t) {
824
- return t !== "001";
825
- });
826
- }
827
- }, {
828
- key: "getCountryMetadata",
829
- value: function(t) {
830
- return this.metadata.countries[t];
831
- }
832
- }, {
833
- key: "nonGeographic",
834
- value: function() {
835
- if (!(this.v1 || this.v2 || this.v3))
836
- return this.metadata.nonGeographic || this.metadata.nonGeographical;
837
- }
838
- }, {
839
- key: "hasCountry",
840
- value: function(t) {
841
- return this.getCountryMetadata(t) !== void 0;
842
- }
843
- }, {
844
- key: "hasCallingCode",
845
- value: function(t) {
846
- if (this.getCountryCodesForCallingCode(t))
847
- return !0;
848
- if (this.nonGeographic()) {
849
- if (this.nonGeographic()[t])
850
- return !0;
851
- } else {
852
- var r = this.countryCallingCodes()[t];
853
- if (r && r.length === 1 && r[0] === "001")
854
- return !0;
855
- }
856
- }
857
- }, {
858
- key: "isNonGeographicCallingCode",
859
- value: function(t) {
860
- return this.nonGeographic() ? !!this.nonGeographic()[t] : !this.getCountryCodesForCallingCode(t);
861
- }
862
- // Deprecated.
863
- }, {
864
- key: "country",
865
- value: function(t) {
866
- return this.selectNumberingPlan(t);
867
- }
868
- }, {
869
- key: "selectNumberingPlan",
870
- value: function(t, r) {
871
- if (t && a0.test(t) && (r = t, t = null), t && t !== "001") {
872
- if (!this.hasCountry(t))
873
- throw new Error("Unknown country: ".concat(t));
874
- this.numberingPlan = new od(this.getCountryMetadata(t), this);
875
- } else if (r) {
876
- if (!this.hasCallingCode(r))
877
- throw new Error("Unknown calling code: ".concat(r));
878
- this.numberingPlan = new od(this.getNumberingPlanMetadata(r), this);
879
- } else
880
- this.numberingPlan = void 0;
881
- return this;
882
- }
883
- }, {
884
- key: "getCountryCodesForCallingCode",
885
- value: function(t) {
886
- var r = this.countryCallingCodes()[t];
887
- if (r)
888
- return r.length === 1 && r[0].length === 3 ? void 0 : r;
889
- }
890
- }, {
891
- key: "getCountryCodeForCallingCode",
892
- value: function(t) {
893
- var r = this.getCountryCodesForCallingCode(t);
894
- if (r)
895
- return r[0];
896
- }
897
- }, {
898
- key: "getNumberingPlanMetadata",
899
- value: function(t) {
900
- var r = this.getCountryCodeForCallingCode(t);
901
- if (r)
902
- return this.getCountryMetadata(r);
903
- if (this.nonGeographic()) {
904
- var n = this.nonGeographic()[t];
905
- if (n)
906
- return n;
907
- } else {
908
- var o = this.countryCallingCodes()[t];
909
- if (o && o.length === 1 && o[0] === "001")
910
- return this.metadata.countries["001"];
911
- }
912
- }
913
- // Deprecated.
914
- }, {
915
- key: "countryCallingCode",
916
- value: function() {
917
- return this.numberingPlan.callingCode();
918
- }
919
- // Deprecated.
920
- }, {
921
- key: "IDDPrefix",
922
- value: function() {
923
- return this.numberingPlan.IDDPrefix();
924
- }
925
- // Deprecated.
926
- }, {
927
- key: "defaultIDDPrefix",
928
- value: function() {
929
- return this.numberingPlan.defaultIDDPrefix();
930
- }
931
- // Deprecated.
932
- }, {
933
- key: "nationalNumberPattern",
934
- value: function() {
935
- return this.numberingPlan.nationalNumberPattern();
936
- }
937
- // Deprecated.
938
- }, {
939
- key: "possibleLengths",
940
- value: function() {
941
- return this.numberingPlan.possibleLengths();
942
- }
943
- // Deprecated.
944
- }, {
945
- key: "formats",
946
- value: function() {
947
- return this.numberingPlan.formats();
948
- }
949
- // Deprecated.
950
- }, {
951
- key: "nationalPrefixForParsing",
952
- value: function() {
953
- return this.numberingPlan.nationalPrefixForParsing();
954
- }
955
- // Deprecated.
956
- }, {
957
- key: "nationalPrefixTransformRule",
958
- value: function() {
959
- return this.numberingPlan.nationalPrefixTransformRule();
960
- }
961
- // Deprecated.
962
- }, {
963
- key: "leadingDigits",
964
- value: function() {
965
- return this.numberingPlan.leadingDigits();
966
- }
967
- // Deprecated.
968
- }, {
969
- key: "hasTypes",
970
- value: function() {
971
- return this.numberingPlan.hasTypes();
972
- }
973
- // Deprecated.
974
- }, {
975
- key: "type",
976
- value: function(t) {
977
- return this.numberingPlan.type(t);
978
- }
979
- // Deprecated.
980
- }, {
981
- key: "ext",
982
- value: function() {
983
- return this.numberingPlan.ext();
984
- }
985
- }, {
986
- key: "countryCallingCodes",
987
- value: function() {
988
- return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
989
- }
990
- // Deprecated.
991
- }, {
992
- key: "chooseCountryByCountryCallingCode",
993
- value: function(t) {
994
- return this.selectNumberingPlan(t);
995
- }
996
- }, {
997
- key: "hasSelectedNumberingPlan",
998
- value: function() {
999
- return this.numberingPlan !== void 0;
1000
- }
1001
- }]), e;
1002
- }(), od = /* @__PURE__ */ function() {
1003
- function e(d, t) {
1004
- ye(this, e), this.globalMetadataObject = t, this.metadata = d, Ld.call(this, t.metadata);
1005
- }
1006
- return ve(e, [{
1007
- key: "callingCode",
1008
- value: function() {
1009
- return this.metadata[0];
1010
- }
1011
- // Formatting information for regions which share
1012
- // a country calling code is contained by only one region
1013
- // for performance reasons. For example, for NANPA region
1014
- // ("North American Numbering Plan Administration",
1015
- // which includes USA, Canada, Cayman Islands, Bahamas, etc)
1016
- // it will be contained in the metadata for `US`.
1017
- }, {
1018
- key: "getDefaultCountryMetadataForRegion",
1019
- value: function() {
1020
- return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
1021
- }
1022
- // Is always present.
1023
- }, {
1024
- key: "IDDPrefix",
1025
- value: function() {
1026
- if (!(this.v1 || this.v2))
1027
- return this.metadata[1];
1028
- }
1029
- // Is only present when a country supports multiple IDD prefixes.
1030
- }, {
1031
- key: "defaultIDDPrefix",
1032
- value: function() {
1033
- if (!(this.v1 || this.v2))
1034
- return this.metadata[12];
1035
- }
1036
- }, {
1037
- key: "nationalNumberPattern",
1038
- value: function() {
1039
- return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
1040
- }
1041
- // "possible length" data is always present in Google's metadata.
1042
- }, {
1043
- key: "possibleLengths",
1044
- value: function() {
1045
- if (!this.v1)
1046
- return this.metadata[this.v2 ? 2 : 3];
1047
- }
1048
- }, {
1049
- key: "_getFormats",
1050
- value: function(t) {
1051
- return t[this.v1 ? 2 : this.v2 ? 3 : 4];
1052
- }
1053
- // For countries of the same region (e.g. NANPA)
1054
- // formats are all stored in the "main" country for that region.
1055
- // E.g. "RU" and "KZ", "US" and "CA".
1056
- }, {
1057
- key: "formats",
1058
- value: function() {
1059
- var t = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
1060
- return r.map(function(n) {
1061
- return new i0(n, t);
1062
- });
1063
- }
1064
- }, {
1065
- key: "nationalPrefix",
1066
- value: function() {
1067
- return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
1068
- }
1069
- }, {
1070
- key: "_getNationalPrefixFormattingRule",
1071
- value: function(t) {
1072
- return t[this.v1 ? 4 : this.v2 ? 5 : 6];
1073
- }
1074
- // For countries of the same region (e.g. NANPA)
1075
- // national prefix formatting rule is stored in the "main" country for that region.
1076
- // E.g. "RU" and "KZ", "US" and "CA".
1077
- }, {
1078
- key: "nationalPrefixFormattingRule",
1079
- value: function() {
1080
- return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
1081
- }
1082
- }, {
1083
- key: "_nationalPrefixForParsing",
1084
- value: function() {
1085
- return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
1086
- }
1087
- }, {
1088
- key: "nationalPrefixForParsing",
1089
- value: function() {
1090
- return this._nationalPrefixForParsing() || this.nationalPrefix();
1091
- }
1092
- }, {
1093
- key: "nationalPrefixTransformRule",
1094
- value: function() {
1095
- return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
1096
- }
1097
- }, {
1098
- key: "_getNationalPrefixIsOptionalWhenFormatting",
1099
- value: function() {
1100
- return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
1101
- }
1102
- // For countries of the same region (e.g. NANPA)
1103
- // "national prefix is optional when formatting" flag is
1104
- // stored in the "main" country for that region.
1105
- // E.g. "RU" and "KZ", "US" and "CA".
1106
- }, {
1107
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
1108
- value: function() {
1109
- return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
1110
- }
1111
- }, {
1112
- key: "leadingDigits",
1113
- value: function() {
1114
- return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
1115
- }
1116
- }, {
1117
- key: "types",
1118
- value: function() {
1119
- return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
1120
- }
1121
- }, {
1122
- key: "hasTypes",
1123
- value: function() {
1124
- return this.types() && this.types().length === 0 ? !1 : !!this.types();
1125
- }
1126
- }, {
1127
- key: "type",
1128
- value: function(t) {
1129
- if (this.hasTypes() && ad(this.types(), t))
1130
- return new l0(ad(this.types(), t), this);
1131
- }
1132
- }, {
1133
- key: "ext",
1134
- value: function() {
1135
- return this.v1 || this.v2 ? nd : this.metadata[13] || nd;
1136
- }
1137
- }]), e;
1138
- }(), i0 = /* @__PURE__ */ function() {
1139
- function e(d, t) {
1140
- ye(this, e), this._format = d, this.metadata = t;
1141
- }
1142
- return ve(e, [{
1143
- key: "pattern",
1144
- value: function() {
1145
- return this._format[0];
1146
- }
1147
- }, {
1148
- key: "format",
1149
- value: function() {
1150
- return this._format[1];
1151
- }
1152
- }, {
1153
- key: "leadingDigitsPatterns",
1154
- value: function() {
1155
- return this._format[2] || [];
1156
- }
1157
- }, {
1158
- key: "nationalPrefixFormattingRule",
1159
- value: function() {
1160
- return this._format[3] || this.metadata.nationalPrefixFormattingRule();
1161
- }
1162
- }, {
1163
- key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
1164
- value: function() {
1165
- return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
1166
- }
1167
- }, {
1168
- key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
1169
- value: function() {
1170
- return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
1171
- }
1172
- // Checks whether national prefix formatting rule contains national prefix.
1173
- }, {
1174
- key: "usesNationalPrefix",
1175
- value: function() {
1176
- return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
1177
- !$0.test(this.nationalPrefixFormattingRule()));
1178
- }
1179
- }, {
1180
- key: "internationalFormat",
1181
- value: function() {
1182
- return this._format[5] || this.format();
1183
- }
1184
- }]), e;
1185
- }(), $0 = /^\(?\$1\)?$/, l0 = /* @__PURE__ */ function() {
1186
- function e(d, t) {
1187
- ye(this, e), this.type = d, this.metadata = t;
1188
- }
1189
- return ve(e, [{
1190
- key: "pattern",
1191
- value: function() {
1192
- return this.metadata.v1 ? this.type : this.type[0];
1193
- }
1194
- }, {
1195
- key: "possibleLengths",
1196
- value: function() {
1197
- if (!this.metadata.v1)
1198
- return this.type[1] || this.metadata.possibleLengths();
1199
- }
1200
- }]), e;
1201
- }();
1202
- function ad(e, d) {
1203
- switch (d) {
1204
- case "FIXED_LINE":
1205
- return e[0];
1206
- case "MOBILE":
1207
- return e[1];
1208
- case "TOLL_FREE":
1209
- return e[2];
1210
- case "PREMIUM_RATE":
1211
- return e[3];
1212
- case "PERSONAL_NUMBER":
1213
- return e[4];
1214
- case "VOICEMAIL":
1215
- return e[5];
1216
- case "UAN":
1217
- return e[6];
1218
- case "PAGER":
1219
- return e[7];
1220
- case "VOIP":
1221
- return e[8];
1222
- case "SHARED_COST":
1223
- return e[9];
1224
- }
1225
- }
1226
- function s0(e) {
1227
- if (!e)
1228
- throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
1229
- if (!ue(e) || !ue(e.countries))
1230
- 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(ue(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + u0(e) + ": " + e, "."));
1231
- }
1232
- var u0 = function(d) {
1233
- return Se(d);
1234
- };
1235
- function Te(e, d) {
1236
- if (d = new M(d), d.hasCountry(e))
1237
- return d.country(e).countryCallingCode();
1238
- throw new Error("Unknown country: ".concat(e));
1239
- }
1240
- function c0(e, d) {
1241
- return d.countries.hasOwnProperty(e);
1242
- }
1243
- function Ld(e) {
1244
- var d = e.version;
1245
- typeof d == "number" ? (this.v1 = d === 1, this.v2 = d === 2, this.v3 = d === 3, this.v4 = d === 4) : d ? rd(d, n0) === -1 ? this.v2 = !0 : rd(d, o0) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
1246
- }
1247
- var f0 = ";ext=", z = function(d) {
1248
- return "([".concat(B, "]{1,").concat(d, "})");
1249
- };
1250
- function kd(e) {
1251
- var d = "20", t = "15", r = "9", n = "6", o = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", $ = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", u = "(?:[xx##~~]|int|int)", p = "[- ]+", m = "[  \\t]*", y = "(?:,{2}|;)", v = f0 + z(d), c = o + l + a + z(d) + $, S = o + u + a + z(r) + $, b = p + z(n) + "#", _ = m + y + a + z(t) + $, I = m + "(?:,)+" + a + z(r) + $;
1252
- return v + "|" + c + "|" + S + "|" + b + "|" + _ + "|" + I;
1253
- }
1254
- var p0 = "[" + B + "]{" + Ae + "}", m0 = "[" + Re + "]{0,1}(?:[" + ce + "]*[" + B + "]){3,}[" + ce + B + "]*", y0 = new RegExp("^[" + Re + "]{0,1}(?:[" + ce + "]*[" + B + "]){1,2}$", "i"), v0 = m0 + // Phone number extensions
1255
- "(?:" + kd() + ")?", g0 = new RegExp(
1256
- // Either a short two-digit-only phone number
1257
- "^" + p0 + "$|^" + v0 + "$",
1258
- "i"
1259
- );
1260
- function h0(e) {
1261
- return e.length >= Ae && g0.test(e);
1262
- }
1263
- function b0(e) {
1264
- return y0.test(e);
1265
- }
1266
- var id = new RegExp("(?:" + kd() + ")$", "i");
1267
- function _0(e) {
1268
- var d = e.search(id);
1269
- if (d < 0)
1270
- return {};
1271
- for (var t = e.slice(0, d), r = e.match(id), n = 1; n < r.length; ) {
1272
- if (r[n])
1273
- return {
1274
- number: t,
1275
- ext: r[n]
1276
- };
1277
- n++;
1278
- }
1279
- }
1280
- var P0 = {
1281
- 0: "0",
1282
- 1: "1",
1283
- 2: "2",
1284
- 3: "3",
1285
- 4: "4",
1286
- 5: "5",
1287
- 6: "6",
1288
- 7: "7",
1289
- 8: "8",
1290
- 9: "9",
1291
- "0": "0",
1292
- // Fullwidth digit 0
1293
- "1": "1",
1294
- // Fullwidth digit 1
1295
- "2": "2",
1296
- // Fullwidth digit 2
1297
- "3": "3",
1298
- // Fullwidth digit 3
1299
- "4": "4",
1300
- // Fullwidth digit 4
1301
- "5": "5",
1302
- // Fullwidth digit 5
1303
- "6": "6",
1304
- // Fullwidth digit 6
1305
- "7": "7",
1306
- // Fullwidth digit 7
1307
- "8": "8",
1308
- // Fullwidth digit 8
1309
- "9": "9",
1310
- // Fullwidth digit 9
1311
- "٠": "0",
1312
- // Arabic-indic digit 0
1313
- "١": "1",
1314
- // Arabic-indic digit 1
1315
- "٢": "2",
1316
- // Arabic-indic digit 2
1317
- "٣": "3",
1318
- // Arabic-indic digit 3
1319
- "٤": "4",
1320
- // Arabic-indic digit 4
1321
- "٥": "5",
1322
- // Arabic-indic digit 5
1323
- "٦": "6",
1324
- // Arabic-indic digit 6
1325
- "٧": "7",
1326
- // Arabic-indic digit 7
1327
- "٨": "8",
1328
- // Arabic-indic digit 8
1329
- "٩": "9",
1330
- // Arabic-indic digit 9
1331
- "۰": "0",
1332
- // Eastern-Arabic digit 0
1333
- "۱": "1",
1334
- // Eastern-Arabic digit 1
1335
- "۲": "2",
1336
- // Eastern-Arabic digit 2
1337
- "۳": "3",
1338
- // Eastern-Arabic digit 3
1339
- "۴": "4",
1340
- // Eastern-Arabic digit 4
1341
- "۵": "5",
1342
- // Eastern-Arabic digit 5
1343
- "۶": "6",
1344
- // Eastern-Arabic digit 6
1345
- "۷": "7",
1346
- // Eastern-Arabic digit 7
1347
- "۸": "8",
1348
- // Eastern-Arabic digit 8
1349
- "۹": "9"
1350
- // Eastern-Arabic digit 9
1351
- };
1352
- function C0(e) {
1353
- return P0[e];
1354
- }
1355
- function N0(e, d) {
1356
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1357
- if (t) return (t = t.call(e)).next.bind(t);
1358
- if (Array.isArray(e) || (t = S0(e)) || d) {
1359
- t && (e = t);
1360
- var r = 0;
1361
- return function() {
1362
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
1363
- };
1364
- }
1365
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1366
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1367
- }
1368
- function S0(e, d) {
1369
- if (e) {
1370
- if (typeof e == "string") return $d(e, d);
1371
- var t = Object.prototype.toString.call(e).slice(8, -1);
1372
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1373
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return $d(e, d);
1374
- }
1375
- }
1376
- function $d(e, d) {
1377
- (d == null || d > e.length) && (d = e.length);
1378
- for (var t = 0, r = new Array(d); t < d; t++)
1379
- r[t] = e[t];
1380
- return r;
1381
- }
1382
- function ld(e) {
1383
- for (var d = "", t = N0(e.split("")), r; !(r = t()).done; ) {
1384
- var n = r.value;
1385
- d += E0(n, d) || "";
1386
- }
1387
- return d;
1388
- }
1389
- function E0(e, d, t) {
1390
- return e === "+" ? d ? void 0 : "+" : C0(e);
1391
- }
1392
- function Me(e, d) {
1393
- return x0(e, void 0, d);
1394
- }
1395
- function x0(e, d, t) {
1396
- var r = t.type(d), n = r && r.possibleLengths() || t.possibleLengths();
1397
- if (!n)
1398
- return "IS_POSSIBLE";
1399
- var o = e.length, a = n[0];
1400
- return a === o ? "IS_POSSIBLE" : a > o ? "TOO_SHORT" : n[n.length - 1] < o ? "TOO_LONG" : n.indexOf(o, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
1401
- }
1402
- function I0(e, d, t) {
1403
- if (d === void 0 && (d = {}), t = new M(t), d.v2) {
1404
- if (!e.countryCallingCode)
1405
- throw new Error("Invalid phone number object passed");
1406
- t.selectNumberingPlan(e.countryCallingCode);
1407
- } else {
1408
- if (!e.phone)
1409
- return !1;
1410
- if (e.country) {
1411
- if (!t.hasCountry(e.country))
1412
- throw new Error("Unknown country: ".concat(e.country));
1413
- t.country(e.country);
1414
- } else {
1415
- if (!e.countryCallingCode)
1416
- throw new Error("Invalid phone number object passed");
1417
- t.selectNumberingPlan(e.countryCallingCode);
1418
- }
1419
- }
1420
- if (t.possibleLengths())
1421
- return Vd(e.phone || e.nationalNumber, t);
1422
- if (e.countryCallingCode && t.isNonGeographicCallingCode(e.countryCallingCode))
1423
- return !0;
1424
- throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
1425
- }
1426
- function Vd(e, d) {
1427
- switch (Me(e, d)) {
1428
- case "IS_POSSIBLE":
1429
- return !0;
1430
- default:
1431
- return !1;
1432
- }
1433
- }
1434
- function W(e, d) {
1435
- return e = e || "", new RegExp("^(?:" + d + ")$").test(e);
1436
- }
1437
- function F0(e, d) {
1438
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1439
- if (t) return (t = t.call(e)).next.bind(t);
1440
- if (Array.isArray(e) || (t = O0(e)) || d) {
1441
- t && (e = t);
1442
- var r = 0;
1443
- return function() {
1444
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
1445
- };
1446
- }
1447
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1448
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1449
- }
1450
- function O0(e, d) {
1451
- if (e) {
1452
- if (typeof e == "string") return sd(e, d);
1453
- var t = Object.prototype.toString.call(e).slice(8, -1);
1454
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1455
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return sd(e, d);
1456
- }
1457
- }
1458
- function sd(e, d) {
1459
- (d == null || d > e.length) && (d = e.length);
1460
- for (var t = 0, r = new Array(d); t < d; t++)
1461
- r[t] = e[t];
1462
- return r;
1463
- }
1464
- var w0 = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
1465
- function De(e, d, t) {
1466
- if (d = d || {}, !(!e.country && !e.countryCallingCode)) {
1467
- t = new M(t), t.selectNumberingPlan(e.country, e.countryCallingCode);
1468
- var r = d.v2 ? e.nationalNumber : e.phone;
1469
- if (W(r, t.nationalNumberPattern())) {
1470
- if (be(r, "FIXED_LINE", t))
1471
- return t.type("MOBILE") && t.type("MOBILE").pattern() === "" || !t.type("MOBILE") || be(r, "MOBILE", t) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
1472
- for (var n = F0(w0), o; !(o = n()).done; ) {
1473
- var a = o.value;
1474
- if (be(r, a, t))
1475
- return a;
1476
- }
1477
- }
1478
- }
1479
- }
1480
- function be(e, d, t) {
1481
- return d = t.type(d), !d || !d.pattern() || d.possibleLengths() && d.possibleLengths().indexOf(e.length) < 0 ? !1 : W(e, d.pattern());
1482
- }
1483
- function A0(e, d, t) {
1484
- if (d = d || {}, t = new M(t), t.selectNumberingPlan(e.country, e.countryCallingCode), t.hasTypes())
1485
- return De(e, d, t.metadata) !== void 0;
1486
- var r = d.v2 ? e.nationalNumber : e.phone;
1487
- return W(r, t.nationalNumberPattern());
1488
- }
1489
- function R0(e, d, t) {
1490
- var r = new M(t), n = r.getCountryCodesForCallingCode(e);
1491
- return n ? n.filter(function(o) {
1492
- return T0(d, o, t);
1493
- }) : [];
1494
- }
1495
- function T0(e, d, t) {
1496
- var r = new M(t);
1497
- return r.selectNumberingPlan(d), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
1498
- }
1499
- function M0(e) {
1500
- return e.replace(new RegExp("[".concat(ce, "]+"), "g"), " ").trim();
1501
- }
1502
- var D0 = /(\$\d)/;
1503
- function L0(e, d, t) {
1504
- var r = t.useInternationalFormat, n = t.withNationalPrefix, o = e.replace(new RegExp(d.pattern()), r ? d.internationalFormat() : (
1505
- // This library doesn't use `domestic_carrier_code_formatting_rule`,
1506
- // because that one is only used when formatting phone numbers
1507
- // for dialing from a mobile phone, and this is not a dialing library.
1508
- // carrierCode && format.domesticCarrierCodeFormattingRule()
1509
- // // First, replace the $CC in the formatting rule with the desired carrier code.
1510
- // // Then, replace the $FG in the formatting rule with the first group
1511
- // // and the carrier code combined in the appropriate way.
1512
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
1513
- // : (
1514
- // withNationalPrefix && format.nationalPrefixFormattingRule()
1515
- // ? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
1516
- // : format.format()
1517
- // )
1518
- n && d.nationalPrefixFormattingRule() ? d.format().replace(D0, d.nationalPrefixFormattingRule()) : d.format()
1519
- ));
1520
- return r ? M0(o) : o;
1521
- }
1522
- var k0 = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
1523
- function V0(e, d, t) {
1524
- var r = new M(t);
1525
- if (r.selectNumberingPlan(e, d), r.defaultIDDPrefix())
1526
- return r.defaultIDDPrefix();
1527
- if (k0.test(r.IDDPrefix()))
1528
- return r.IDDPrefix();
1529
- }
1530
- function U0(e) {
1531
- var d = e.number, t = e.ext;
1532
- if (!d)
1533
- return "";
1534
- if (d[0] !== "+")
1535
- throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
1536
- return "tel:".concat(d).concat(t ? ";ext=" + t : "");
1537
- }
1538
- function B0(e, d) {
1539
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1540
- if (t) return (t = t.call(e)).next.bind(t);
1541
- if (Array.isArray(e) || (t = G0(e)) || d) {
1542
- t && (e = t);
1543
- var r = 0;
1544
- return function() {
1545
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
1546
- };
1547
- }
1548
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1549
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1550
- }
1551
- function G0(e, d) {
1552
- if (e) {
1553
- if (typeof e == "string") return ud(e, d);
1554
- var t = Object.prototype.toString.call(e).slice(8, -1);
1555
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1556
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return ud(e, d);
1557
- }
1558
- }
1559
- function ud(e, d) {
1560
- (d == null || d > e.length) && (d = e.length);
1561
- for (var t = 0, r = new Array(d); t < d; t++)
1562
- r[t] = e[t];
1563
- return r;
1564
- }
1565
- function cd(e, d) {
1566
- var t = Object.keys(e);
1567
- if (Object.getOwnPropertySymbols) {
1568
- var r = Object.getOwnPropertySymbols(e);
1569
- d && (r = r.filter(function(n) {
1570
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
1571
- })), t.push.apply(t, r);
1572
- }
1573
- return t;
1574
- }
1575
- function fd(e) {
1576
- for (var d = 1; d < arguments.length; d++) {
1577
- var t = arguments[d] != null ? arguments[d] : {};
1578
- d % 2 ? cd(Object(t), !0).forEach(function(r) {
1579
- H0(e, r, t[r]);
1580
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : cd(Object(t)).forEach(function(r) {
1581
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1582
- });
1583
- }
1584
- return e;
1585
- }
1586
- function H0(e, d, t) {
1587
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
1588
- }
1589
- var pd = {
1590
- formatExtension: function(d, t, r) {
1591
- return "".concat(d).concat(r.ext()).concat(t);
1592
- }
1593
- };
1594
- function j0(e, d, t, r) {
1595
- if (t ? t = fd(fd({}, pd), t) : t = pd, r = new M(r), e.country && e.country !== "001") {
1596
- if (!r.hasCountry(e.country))
1597
- throw new Error("Unknown country: ".concat(e.country));
1598
- r.country(e.country);
1599
- } else if (e.countryCallingCode)
1600
- r.selectNumberingPlan(e.countryCallingCode);
1601
- else return e.phone || "";
1602
- var n = r.countryCallingCode(), o = t.v2 ? e.nationalNumber : e.phone, a;
1603
- switch (d) {
1604
- case "NATIONAL":
1605
- return o ? (a = fe(o, e.carrierCode, "NATIONAL", r, t), _e(a, e.ext, r, t.formatExtension)) : "";
1606
- case "INTERNATIONAL":
1607
- return o ? (a = fe(o, null, "INTERNATIONAL", r, t), a = "+".concat(n, " ").concat(a), _e(a, e.ext, r, t.formatExtension)) : "+".concat(n);
1608
- case "E.164":
1609
- return "+".concat(n).concat(o);
1610
- case "RFC3966":
1611
- return U0({
1612
- number: "+".concat(n).concat(o),
1613
- ext: e.ext
1614
- });
1615
- case "IDD":
1616
- if (!t.fromCountry)
1617
- return;
1618
- var $ = W0(o, e.carrierCode, n, t.fromCountry, r);
1619
- return _e($, e.ext, r, t.formatExtension);
1620
- default:
1621
- throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(d, '"'));
1622
- }
1623
- }
1624
- function fe(e, d, t, r, n) {
1625
- var o = K0(r.formats(), e);
1626
- return o ? L0(e, o, {
1627
- useInternationalFormat: t === "INTERNATIONAL",
1628
- withNationalPrefix: !(o.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && n && n.nationalPrefix === !1),
1629
- carrierCode: d,
1630
- metadata: r
1631
- }) : e;
1632
- }
1633
- function K0(e, d) {
1634
- for (var t = B0(e), r; !(r = t()).done; ) {
1635
- var n = r.value;
1636
- if (n.leadingDigitsPatterns().length > 0) {
1637
- var o = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
1638
- if (d.search(o) !== 0)
1639
- continue;
1640
- }
1641
- if (W(d, n.pattern()))
1642
- return n;
1643
- }
1644
- }
1645
- function _e(e, d, t, r) {
1646
- return d ? r(e, d, t) : e;
1647
- }
1648
- function W0(e, d, t, r, n) {
1649
- var o = Te(r, n.metadata);
1650
- if (o === t) {
1651
- var a = fe(e, d, "NATIONAL", n);
1652
- return t === "1" ? t + " " + a : a;
1653
- }
1654
- var $ = V0(r, void 0, n.metadata);
1655
- if ($)
1656
- return "".concat($, " ").concat(t, " ").concat(fe(e, null, "INTERNATIONAL", n));
1657
- }
1658
- function md(e, d) {
1659
- var t = Object.keys(e);
1660
- if (Object.getOwnPropertySymbols) {
1661
- var r = Object.getOwnPropertySymbols(e);
1662
- d && (r = r.filter(function(n) {
1663
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
1664
- })), t.push.apply(t, r);
1665
- }
1666
- return t;
1667
- }
1668
- function yd(e) {
1669
- for (var d = 1; d < arguments.length; d++) {
1670
- var t = arguments[d] != null ? arguments[d] : {};
1671
- d % 2 ? md(Object(t), !0).forEach(function(r) {
1672
- Y0(e, r, t[r]);
1673
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : md(Object(t)).forEach(function(r) {
1674
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
1675
- });
1676
- }
1677
- return e;
1678
- }
1679
- function Y0(e, d, t) {
1680
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
1681
- }
1682
- function X0(e, d) {
1683
- if (!(e instanceof d))
1684
- throw new TypeError("Cannot call a class as a function");
1685
- }
1686
- function Z0(e, d) {
1687
- for (var t = 0; t < d.length; t++) {
1688
- var r = d[t];
1689
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, r.key, r);
1690
- }
1691
- }
1692
- function z0(e, d, t) {
1693
- return d && Z0(e.prototype, d), Object.defineProperty(e, "prototype", { writable: !1 }), e;
1694
- }
1695
- var q0 = /* @__PURE__ */ function() {
1696
- function e(d, t, r) {
1697
- if (X0(this, e), !d)
1698
- throw new TypeError("`country` or `countryCallingCode` not passed");
1699
- if (!t)
1700
- throw new TypeError("`nationalNumber` not passed");
1701
- if (!r)
1702
- throw new TypeError("`metadata` not passed");
1703
- var n = Q0(d, r), o = n.country, a = n.countryCallingCode;
1704
- this.country = o, this.countryCallingCode = a, this.nationalNumber = t, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
1705
- return r;
1706
- };
1707
- }
1708
- return z0(e, [{
1709
- key: "setExt",
1710
- value: function(t) {
1711
- this.ext = t;
1712
- }
1713
- }, {
1714
- key: "getPossibleCountries",
1715
- value: function() {
1716
- return this.country ? [this.country] : R0(this.countryCallingCode, this.nationalNumber, this.getMetadata());
1717
- }
1718
- }, {
1719
- key: "isPossible",
1720
- value: function() {
1721
- return I0(this, {
1722
- v2: !0
1723
- }, this.getMetadata());
1724
- }
1725
- }, {
1726
- key: "isValid",
1727
- value: function() {
1728
- return A0(this, {
1729
- v2: !0
1730
- }, this.getMetadata());
1731
- }
1732
- }, {
1733
- key: "isNonGeographic",
1734
- value: function() {
1735
- var t = new M(this.getMetadata());
1736
- return t.isNonGeographicCallingCode(this.countryCallingCode);
1737
- }
1738
- }, {
1739
- key: "isEqual",
1740
- value: function(t) {
1741
- return this.number === t.number && this.ext === t.ext;
1742
- }
1743
- // This function was originally meant to be an equivalent for `validatePhoneNumberLength()`,
1744
- // but later it was found out that it doesn't include the possible `TOO_SHORT` result
1745
- // returned from `parsePhoneNumberWithError()` in the original `validatePhoneNumberLength()`,
1746
- // so eventually I simply commented out this method from the `PhoneNumber` class
1747
- // and just left the `validatePhoneNumberLength()` function, even though that one would require
1748
- // and additional step to also validate the actual country / calling code of the phone number.
1749
- // validateLength() {
1750
- // const metadata = new Metadata(this.getMetadata())
1751
- // metadata.selectNumberingPlan(this.countryCallingCode)
1752
- // const result = checkNumberLength(this.nationalNumber, metadata)
1753
- // if (result !== 'IS_POSSIBLE') {
1754
- // return result
1755
- // }
1756
- // }
1757
- }, {
1758
- key: "getType",
1759
- value: function() {
1760
- return De(this, {
1761
- v2: !0
1762
- }, this.getMetadata());
1763
- }
1764
- }, {
1765
- key: "format",
1766
- value: function(t, r) {
1767
- return j0(this, t, r ? yd(yd({}, r), {}, {
1768
- v2: !0
1769
- }) : {
1770
- v2: !0
1771
- }, this.getMetadata());
1772
- }
1773
- }, {
1774
- key: "formatNational",
1775
- value: function(t) {
1776
- return this.format("NATIONAL", t);
1777
- }
1778
- }, {
1779
- key: "formatInternational",
1780
- value: function(t) {
1781
- return this.format("INTERNATIONAL", t);
1782
- }
1783
- }, {
1784
- key: "getURI",
1785
- value: function(t) {
1786
- return this.format("RFC3966", t);
1787
- }
1788
- }]), e;
1789
- }(), J0 = function(d) {
1790
- return /^[A-Z]{2}$/.test(d);
1791
- };
1792
- function Q0(e, d) {
1793
- var t, r, n = new M(d);
1794
- return J0(e) ? (t = e, n.selectNumberingPlan(t), r = n.countryCallingCode()) : r = e, {
1795
- country: t,
1796
- countryCallingCode: r
1797
- };
1798
- }
1799
- var e1 = new RegExp("([" + B + "])");
1800
- function d1(e, d, t, r) {
1801
- if (d) {
1802
- var n = new M(r);
1803
- n.selectNumberingPlan(d, t);
1804
- var o = new RegExp(n.IDDPrefix());
1805
- if (e.search(o) === 0) {
1806
- e = e.slice(e.match(o)[0].length);
1807
- var a = e.match(e1);
1808
- if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
1809
- return e;
1810
- }
1811
- }
1812
- }
1813
- function t1(e, d) {
1814
- if (e && d.numberingPlan.nationalPrefixForParsing()) {
1815
- var t = new RegExp("^(?:" + d.numberingPlan.nationalPrefixForParsing() + ")"), r = t.exec(e);
1816
- if (r) {
1817
- var n, o, a = r.length - 1, $ = a > 0 && r[a];
1818
- if (d.nationalPrefixTransformRule() && $)
1819
- n = e.replace(t, d.nationalPrefixTransformRule()), a > 1 && (o = r[1]);
1820
- else {
1821
- var l = r[0];
1822
- n = e.slice(l.length), $ && (o = r[1]);
1823
- }
1824
- var u;
1825
- if ($) {
1826
- var p = e.indexOf(r[1]), m = e.slice(0, p);
1827
- m === d.numberingPlan.nationalPrefix() && (u = d.numberingPlan.nationalPrefix());
1828
- } else
1829
- u = r[0];
1830
- return {
1831
- nationalNumber: n,
1832
- nationalPrefix: u,
1833
- carrierCode: o
1834
- };
1835
- }
1836
- }
1837
- return {
1838
- nationalNumber: e
1839
- };
1840
- }
1841
- function Ee(e, d) {
1842
- var t = t1(e, d), r = t.carrierCode, n = t.nationalNumber;
1843
- if (n !== e) {
1844
- if (!r1(e, n, d))
1845
- return {
1846
- nationalNumber: e
1847
- };
1848
- if (d.possibleLengths() && !n1(n, d))
1849
- return {
1850
- nationalNumber: e
1851
- };
1852
- }
1853
- return {
1854
- nationalNumber: n,
1855
- carrierCode: r
1856
- };
1857
- }
1858
- function r1(e, d, t) {
1859
- return !(W(e, t.nationalNumberPattern()) && !W(d, t.nationalNumberPattern()));
1860
- }
1861
- function n1(e, d) {
1862
- switch (Me(e, d)) {
1863
- case "TOO_SHORT":
1864
- case "INVALID_LENGTH":
1865
- return !1;
1866
- default:
1867
- return !0;
1868
- }
1869
- }
1870
- function o1(e, d, t, r) {
1871
- var n = d ? Te(d, r) : t;
1872
- if (e.indexOf(n) === 0) {
1873
- r = new M(r), r.selectNumberingPlan(d, t);
1874
- var o = e.slice(n.length), a = Ee(o, r), $ = a.nationalNumber, l = Ee(e, r), u = l.nationalNumber;
1875
- if (!W(u, r.nationalNumberPattern()) && W($, r.nationalNumberPattern()) || Me(u, r) === "TOO_LONG")
1876
- return {
1877
- countryCallingCode: n,
1878
- number: o
1879
- };
1880
- }
1881
- return {
1882
- number: e
1883
- };
1884
- }
1885
- function a1(e, d, t, r) {
1886
- if (!e)
1887
- return {};
1888
- var n;
1889
- if (e[0] !== "+") {
1890
- var o = d1(e, d, t, r);
1891
- if (o && o !== e)
1892
- n = !0, e = "+" + o;
1893
- else {
1894
- if (d || t) {
1895
- var a = o1(e, d, t, r), $ = a.countryCallingCode, l = a.number;
1896
- if ($)
1897
- return {
1898
- countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
1899
- countryCallingCode: $,
1900
- number: l
1901
- };
1902
- }
1903
- return {
1904
- // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
1905
- // countryCallingCodeSource: 'UNSPECIFIED',
1906
- number: e
1907
- };
1908
- }
1909
- }
1910
- if (e[1] === "0")
1911
- return {};
1912
- r = new M(r);
1913
- for (var u = 2; u - 1 <= Zt && u <= e.length; ) {
1914
- var p = e.slice(1, u);
1915
- if (r.hasCallingCode(p))
1916
- return r.selectNumberingPlan(p), {
1917
- countryCallingCodeSource: n ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
1918
- countryCallingCode: p,
1919
- number: e.slice(u)
1920
- };
1921
- u++;
1922
- }
1923
- return {};
1924
- }
1925
- function i1(e, d) {
1926
- var t = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1927
- if (t) return (t = t.call(e)).next.bind(t);
1928
- if (Array.isArray(e) || (t = $1(e)) || d) {
1929
- t && (e = t);
1930
- var r = 0;
1931
- return function() {
1932
- return r >= e.length ? { done: !0 } : { done: !1, value: e[r++] };
1933
- };
1934
- }
1935
- throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1936
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1937
- }
1938
- function $1(e, d) {
1939
- if (e) {
1940
- if (typeof e == "string") return vd(e, d);
1941
- var t = Object.prototype.toString.call(e).slice(8, -1);
1942
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
1943
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return vd(e, d);
1944
- }
1945
- }
1946
- function vd(e, d) {
1947
- (d == null || d > e.length) && (d = e.length);
1948
- for (var t = 0, r = new Array(d); t < d; t++)
1949
- r[t] = e[t];
1950
- return r;
1951
- }
1952
- function l1(e, d) {
1953
- var t = d.countries, r = d.metadata;
1954
- r = new M(r);
1955
- for (var n = i1(t), o; !(o = n()).done; ) {
1956
- var a = o.value;
1957
- if (r.country(a), r.leadingDigits()) {
1958
- if (e && e.search(r.leadingDigits()) === 0)
1959
- return a;
1960
- } else if (De({
1961
- phone: e,
1962
- country: a
1963
- }, void 0, r.metadata))
1964
- return a;
1965
- }
1966
- }
1967
- function s1(e, d) {
1968
- var t = d.nationalNumber, r = d.defaultCountry, n = d.metadata, o = n.getCountryCodesForCallingCode(e);
1969
- if (o)
1970
- return o.length === 1 ? o[0] : l1(t, {
1971
- countries: o,
1972
- defaultCountry: r,
1973
- metadata: n.metadata
1974
- });
1975
- }
1976
- var Ud = "+", u1 = "[\\-\\.\\(\\)]?", gd = "([" + B + "]|" + u1 + ")", c1 = "^\\" + Ud + gd + "*[" + B + "]" + gd + "*$", f1 = new RegExp(c1, "g"), xe = B, p1 = "[" + xe + "]+((\\-)*[" + xe + "])*", m1 = "a-zA-Z", y1 = "[" + m1 + "]+((\\-)*[" + xe + "])*", v1 = "^(" + p1 + "\\.)*" + y1 + "\\.?$", g1 = new RegExp(v1, "g"), hd = "tel:", Ie = ";phone-context=", h1 = ";isub=";
1977
- function b1(e) {
1978
- var d = e.indexOf(Ie);
1979
- if (d < 0)
1980
- return null;
1981
- var t = d + Ie.length;
1982
- if (t >= e.length)
1983
- return "";
1984
- var r = e.indexOf(";", t);
1985
- return r >= 0 ? e.substring(t, r) : e.substring(t);
1986
- }
1987
- function _1(e) {
1988
- return e === null ? !0 : e.length === 0 ? !1 : f1.test(e) || g1.test(e);
1989
- }
1990
- function P1(e, d) {
1991
- var t = d.extractFormattedPhoneNumber, r = b1(e);
1992
- if (!_1(r))
1993
- throw new H("NOT_A_NUMBER");
1994
- var n;
1995
- if (r === null)
1996
- n = t(e) || "";
1997
- else {
1998
- n = "", r.charAt(0) === Ud && (n += r);
1999
- var o = e.indexOf(hd), a;
2000
- o >= 0 ? a = o + hd.length : a = 0;
2001
- var $ = e.indexOf(Ie);
2002
- n += e.substring(a, $);
2003
- }
2004
- var l = n.indexOf(h1);
2005
- if (l > 0 && (n = n.substring(0, l)), n !== "")
2006
- return n;
2007
- }
2008
- var C1 = 250, N1 = new RegExp("[" + Re + B + "]"), S1 = new RegExp("[^" + B + "#]+$");
2009
- function E1(e, d, t) {
2010
- if (d = d || {}, t = new M(t), d.defaultCountry && !t.hasCountry(d.defaultCountry))
2011
- throw d.v2 ? new H("INVALID_COUNTRY") : new Error("Unknown country: ".concat(d.defaultCountry));
2012
- var r = I1(e, d.v2, d.extract), n = r.number, o = r.ext, a = r.error;
2013
- if (!n) {
2014
- if (d.v2)
2015
- throw a === "TOO_SHORT" ? new H("TOO_SHORT") : new H("NOT_A_NUMBER");
2016
- return {};
2017
- }
2018
- var $ = O1(n, d.defaultCountry, d.defaultCallingCode, t), l = $.country, u = $.nationalNumber, p = $.countryCallingCode, m = $.countryCallingCodeSource, y = $.carrierCode;
2019
- if (!t.hasSelectedNumberingPlan()) {
2020
- if (d.v2)
2021
- throw new H("INVALID_COUNTRY");
2022
- return {};
2023
- }
2024
- if (!u || u.length < Ae) {
2025
- if (d.v2)
2026
- throw new H("TOO_SHORT");
2027
- return {};
2028
- }
2029
- if (u.length > Xt) {
2030
- if (d.v2)
2031
- throw new H("TOO_LONG");
2032
- return {};
2033
- }
2034
- if (d.v2) {
2035
- var v = new q0(p, u, t.metadata);
2036
- return l && (v.country = l), y && (v.carrierCode = y), o && (v.ext = o), v.__countryCallingCodeSource = m, v;
2037
- }
2038
- var c = (d.extended ? t.hasSelectedNumberingPlan() : l) ? W(u, t.nationalNumberPattern()) : !1;
2039
- return d.extended ? {
2040
- country: l,
2041
- countryCallingCode: p,
2042
- carrierCode: y,
2043
- valid: c,
2044
- possible: c ? !0 : !!(d.extended === !0 && t.possibleLengths() && Vd(u, t)),
2045
- phone: u,
2046
- ext: o
2047
- } : c ? F1(l, u, o) : {};
2048
- }
2049
- function x1(e, d, t) {
2050
- if (e) {
2051
- if (e.length > C1) {
2052
- if (t)
2053
- throw new H("TOO_LONG");
2054
- return;
2055
- }
2056
- if (d === !1)
2057
- return e;
2058
- var r = e.search(N1);
2059
- if (!(r < 0))
2060
- return e.slice(r).replace(S1, "");
2061
- }
2062
- }
2063
- function I1(e, d, t) {
2064
- var r = P1(e, {
2065
- extractFormattedPhoneNumber: function(a) {
2066
- return x1(a, t, d);
2067
- }
2068
- });
2069
- if (!r)
2070
- return {};
2071
- if (!h0(r))
2072
- return b0(r) ? {
2073
- error: "TOO_SHORT"
2074
- } : {};
2075
- var n = _0(r);
2076
- return n.ext ? n : {
2077
- number: r
2078
- };
2079
- }
2080
- function F1(e, d, t) {
2081
- var r = {
2082
- country: e,
2083
- phone: d
2084
- };
2085
- return t && (r.ext = t), r;
2086
- }
2087
- function O1(e, d, t, r) {
2088
- var n = a1(ld(e), d, t, r.metadata), o = n.countryCallingCodeSource, a = n.countryCallingCode, $ = n.number, l;
2089
- if (a)
2090
- r.selectNumberingPlan(a);
2091
- else if ($ && (d || t))
2092
- r.selectNumberingPlan(d, t), d && (l = d), a = t || Te(d, r.metadata);
2093
- else return {};
2094
- if (!$)
2095
- return {
2096
- countryCallingCodeSource: o,
2097
- countryCallingCode: a
2098
- };
2099
- var u = Ee(ld($), r), p = u.nationalNumber, m = u.carrierCode, y = s1(a, {
2100
- nationalNumber: p,
2101
- defaultCountry: d,
2102
- metadata: r
2103
- });
2104
- return y && (l = y, y === "001" || r.country(l)), {
2105
- country: l,
2106
- countryCallingCode: a,
2107
- countryCallingCodeSource: o,
2108
- nationalNumber: p,
2109
- carrierCode: m
2110
- };
2111
- }
2112
- function bd(e, d) {
2113
- var t = Object.keys(e);
2114
- if (Object.getOwnPropertySymbols) {
2115
- var r = Object.getOwnPropertySymbols(e);
2116
- d && (r = r.filter(function(n) {
2117
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2118
- })), t.push.apply(t, r);
2119
- }
2120
- return t;
2121
- }
2122
- function _d(e) {
2123
- for (var d = 1; d < arguments.length; d++) {
2124
- var t = arguments[d] != null ? arguments[d] : {};
2125
- d % 2 ? bd(Object(t), !0).forEach(function(r) {
2126
- w1(e, r, t[r]);
2127
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : bd(Object(t)).forEach(function(r) {
2128
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2129
- });
2130
- }
2131
- return e;
2132
- }
2133
- function w1(e, d, t) {
2134
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
655
+ }), H0 = { 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", "(?:01\\d|[24-689])\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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-9]\\d{9}|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])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-389]|94[0-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", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-35])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|50))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "(?:[235]\\d{3}|800)\\d{5}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[235]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[2-9]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[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-467]|5[0-3]|8[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], MC: ["377", "00", "(?:[3489]|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["6"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], 0, 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-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|7091)\\d{5}|(?:69|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[137-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-79]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "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", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-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]|7[67]|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-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[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]))\\d{4}|(?:305[3-9]|472[24]|505[2-57-9]|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[0135-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[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-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["80"], "0$1", 1], ["(\\d{4})(\\d{4,6})", "$1 $2", ["1"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}", [9], 0, "0", 0, 0, 0, 0, 0, [["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|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}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|51"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
656
+ function K0(r, t) {
657
+ var o = Array.prototype.slice.call(t);
658
+ return o.push(H0), r.apply(this, o);
2135
659
  }
2136
- function A1(e, d, t) {
2137
- return E1(e, _d(_d({}, d), {}, {
2138
- v2: !0
2139
- }), t);
2140
- }
2141
- function Pd(e, d) {
2142
- var t = Object.keys(e);
660
+ function Pd(r, t) {
661
+ var o = Object.keys(r);
2143
662
  if (Object.getOwnPropertySymbols) {
2144
- var r = Object.getOwnPropertySymbols(e);
2145
- d && (r = r.filter(function(n) {
2146
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2147
- })), t.push.apply(t, r);
2148
- }
2149
- return t;
2150
- }
2151
- function R1(e) {
2152
- for (var d = 1; d < arguments.length; d++) {
2153
- var t = arguments[d] != null ? arguments[d] : {};
2154
- d % 2 ? Pd(Object(t), !0).forEach(function(r) {
2155
- T1(e, r, t[r]);
2156
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Pd(Object(t)).forEach(function(r) {
2157
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
663
+ var $ = Object.getOwnPropertySymbols(r);
664
+ t && ($ = $.filter(function(p) {
665
+ return Object.getOwnPropertyDescriptor(r, p).enumerable;
666
+ })), o.push.apply(o, $);
667
+ }
668
+ return o;
669
+ }
670
+ function Ed(r) {
671
+ for (var t = 1; t < arguments.length; t++) {
672
+ var o = arguments[t] != null ? arguments[t] : {};
673
+ t % 2 ? Pd(Object(o), !0).forEach(function($) {
674
+ O0(r, $, o[$]);
675
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(o)) : Pd(Object(o)).forEach(function($) {
676
+ Object.defineProperty(r, $, Object.getOwnPropertyDescriptor(o, $));
2158
677
  });
2159
678
  }
2160
- return e;
2161
- }
2162
- function T1(e, d, t) {
2163
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2164
- }
2165
- function M1(e, d) {
2166
- return V1(e) || k1(e, d) || L1(e, d) || D1();
2167
- }
2168
- function D1() {
2169
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2170
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
2171
- }
2172
- function L1(e, d) {
2173
- if (e) {
2174
- if (typeof e == "string") return Cd(e, d);
2175
- var t = Object.prototype.toString.call(e).slice(8, -1);
2176
- if (t === "Object" && e.constructor && (t = e.constructor.name), t === "Map" || t === "Set") return Array.from(e);
2177
- if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return Cd(e, d);
2178
- }
2179
- }
2180
- function Cd(e, d) {
2181
- (d == null || d > e.length) && (d = e.length);
2182
- for (var t = 0, r = new Array(d); t < d; t++)
2183
- r[t] = e[t];
2184
679
  return r;
2185
680
  }
2186
- function k1(e, d) {
2187
- var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2188
- if (t != null) {
2189
- var r = [], n = !0, o = !1, a, $;
2190
- try {
2191
- for (t = t.call(e); !(n = (a = t.next()).done) && (r.push(a.value), !(d && r.length === d)); n = !0)
2192
- ;
2193
- } catch (l) {
2194
- o = !0, $ = l;
2195
- } finally {
2196
- try {
2197
- !n && t.return != null && t.return();
2198
- } finally {
2199
- if (o) throw $;
2200
- }
2201
- }
2202
- return r;
2203
- }
2204
- }
2205
- function V1(e) {
2206
- if (Array.isArray(e)) return e;
681
+ function O0(r, t, o) {
682
+ return t in r ? Object.defineProperty(r, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : r[t] = o, r;
2207
683
  }
2208
- function U1(e) {
2209
- var d = Array.prototype.slice.call(e), t = M1(d, 4), r = t[0], n = t[1], o = t[2], a = t[3], $, l, u;
2210
- if (typeof r == "string")
2211
- $ = r;
2212
- else throw new TypeError("A text for parsing must be a string.");
2213
- if (!n || typeof n == "string")
2214
- a ? (l = o, u = a) : (l = void 0, u = o), n && (l = R1({
2215
- defaultCountry: n
2216
- }, l));
2217
- else if (ue(n))
2218
- o ? (l = n, u = o) : u = n;
2219
- else throw new Error("Invalid second argument: ".concat(n));
2220
- return {
2221
- text: $,
2222
- options: l,
2223
- metadata: u
2224
- };
2225
- }
2226
- function Nd(e, d) {
2227
- var t = Object.keys(e);
2228
- if (Object.getOwnPropertySymbols) {
2229
- var r = Object.getOwnPropertySymbols(e);
2230
- d && (r = r.filter(function(n) {
2231
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
2232
- })), t.push.apply(t, r);
2233
- }
2234
- return t;
2235
- }
2236
- function Sd(e) {
2237
- for (var d = 1; d < arguments.length; d++) {
2238
- var t = arguments[d] != null ? arguments[d] : {};
2239
- d % 2 ? Nd(Object(t), !0).forEach(function(r) {
2240
- B1(e, r, t[r]);
2241
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Nd(Object(t)).forEach(function(r) {
2242
- Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
2243
- });
2244
- }
2245
- return e;
2246
- }
2247
- function B1(e, d, t) {
2248
- return d in e ? Object.defineProperty(e, d, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[d] = t, e;
2249
- }
2250
- function G1(e, d, t) {
2251
- d && d.defaultCountry && !c0(d.defaultCountry, t) && (d = Sd(Sd({}, d), {}, {
684
+ function Y0(r, t, o) {
685
+ t && t.defaultCountry && !l0(t.defaultCountry, o) && (t = Ed(Ed({}, t), {}, {
2252
686
  defaultCountry: void 0
2253
687
  }));
2254
688
  try {
2255
- return A1(e, d, t);
2256
- } catch (r) {
2257
- if (!(r instanceof H)) throw r;
689
+ return a0(r, t, o);
690
+ } catch ($) {
691
+ if (!($ instanceof i0)) throw $;
2258
692
  }
2259
693
  }
2260
- function H1() {
2261
- var e = U1(arguments), d = e.text, t = e.options, r = e.metadata;
2262
- return G1(d, t, r);
694
+ function W0() {
695
+ var r = u0(arguments), t = r.text, o = r.options, $ = r.metadata;
696
+ return Y0(t, o, $);
2263
697
  }
2264
- function j1() {
2265
- return Bt(H1, arguments);
698
+ function Z0() {
699
+ return K0(W0, arguments);
2266
700
  }
2267
- function K1(e) {
701
+ function z0(r) {
2268
702
  return {
2269
- id: e._id,
2270
- name: e.name,
2271
- regNo: e.registrationNumber,
2272
- addressLine1: e.address.line1,
2273
- addressLine2: e.address.line2 ?? "",
2274
- addressCity: e.address.city,
2275
- addressPostcode: e.address.postcode,
2276
- addressState: e.address.state,
2277
- addressCountry: e.address.country,
2278
- picName: e.contactName ?? "",
2279
- picPhoneNumber: e.phoneNumber ?? "",
2280
- picEmail: e.email ?? ""
703
+ id: r._id,
704
+ name: r.name,
705
+ regNo: r.registrationNumber,
706
+ addressLine1: r.address.line1,
707
+ addressLine2: r.address.line2 ?? "",
708
+ addressCity: r.address.city,
709
+ addressPostcode: r.address.postcode,
710
+ addressState: r.address.state,
711
+ addressCountry: r.address.country,
712
+ picName: r.contactName ?? "",
713
+ picPhoneNumber: r.phoneNumber ?? "",
714
+ picEmail: r.email ?? ""
2281
715
  };
2282
716
  }
2283
- function Bd() {
717
+ function Ud() {
2284
718
  return [
2285
719
  {
2286
720
  id: "id",
@@ -2332,7 +766,7 @@ function Bd() {
2332
766
  }
2333
767
  ];
2334
768
  }
2335
- function W1() {
769
+ function J0() {
2336
770
  return [
2337
771
  {
2338
772
  id: "name",
@@ -2372,40 +806,40 @@ function W1() {
2372
806
  }
2373
807
  ];
2374
808
  }
2375
- function Y1() {
2376
- const e = pe(), d = re(), r = (e.businessLevel ? d.businessSuppliers : d.locationSuppliers).map(K1), o = Fe().currentBusiness.value, a = Bd(), $ = [
2377
- ["Business name:", o == null ? void 0 : o.name],
2378
- ["Business ID:", o == null ? void 0 : o._id],
2379
- ["Menu version", o == null ? void 0 : o.menuVersion],
809
+ function q0() {
810
+ const r = $d(), t = J(), $ = (r.businessLevel ? t.businessSuppliers : t.locationSuppliers).map(z0), m = nd().currentBusiness.value, s = Ud(), n = [
811
+ ["Business name:", m == null ? void 0 : m.name],
812
+ ["Business ID:", m == null ? void 0 : m._id],
813
+ ["Menu version", m == null ? void 0 : m.menuVersion],
2380
814
  [],
2381
- a.map((m) => m.name),
2382
- ...r.map((m) => a.map((y) => m[y.id]))
2383
- ], l = a.map((m) => `system:${m.id}`), u = Rd($, l), p = `${o == null ? void 0 : o.name} suppliers (${$t(/* @__PURE__ */ new Date())}).xlsx`;
2384
- return Td(u, p), p;
2385
- }
2386
- function X1() {
2387
- const d = Fe().currentBusiness.value, t = Bd(), r = [
2388
- ["Business name:", d == null ? void 0 : d.name],
2389
- ["Business ID:", d == null ? void 0 : d._id],
2390
- ["Menu version", d == null ? void 0 : d.menuVersion],
815
+ s.map((i) => i.name),
816
+ ...$.map((i) => s.map((v) => i[v.id]))
817
+ ], a = s.map((i) => `system:${i.id}`), x = Bd(n, a), y = `${m == null ? void 0 : m.name} suppliers (${n0(/* @__PURE__ */ new Date())}).xlsx`;
818
+ return Dd(x, y), y;
819
+ }
820
+ function j0() {
821
+ const t = nd().currentBusiness.value, o = Ud(), $ = [
822
+ ["Business name:", t == null ? void 0 : t.name],
823
+ ["Business ID:", t == null ? void 0 : t._id],
824
+ ["Menu version", t == null ? void 0 : t.menuVersion],
2391
825
  [],
2392
- t.map(($) => $.name)
2393
- ], n = t.map(($) => `system:${$.id}`), o = Rd(r, n), a = "FeedMe supplier template.xlsx";
2394
- return Td(o, a), a;
826
+ o.map((n) => n.name)
827
+ ], p = o.map((n) => `system:${n.id}`), m = Bd($, p), s = "FeedMe supplier template.xlsx";
828
+ return Dd(m, s), s;
2395
829
  }
2396
- function Z1(e) {
830
+ function Q0(r) {
2397
831
  const [
2398
- d,
2399
832
  t,
2400
- r,
2401
- n,
2402
833
  o,
2403
- a,
2404
- ...$
2405
- ] = at(e);
2406
- if (!d || !d.length || d.some((y) => y.length && !y.startsWith("system:")))
834
+ $,
835
+ p,
836
+ m,
837
+ s,
838
+ ...n
839
+ ] = r0(r);
840
+ if (!t || !t.length || t.some((v) => v.length && !v.startsWith("system:")))
2407
841
  throw new Error("Missing meta header. Excel file does not come from the template.");
2408
- const l = d.map((y) => y.split(":")[1]), p = [
842
+ const a = t.map((v) => v.split(":")[1]), y = [
2409
843
  "id",
2410
844
  "name",
2411
845
  "regNo",
@@ -2416,105 +850,105 @@ function Z1(e) {
2416
850
  "addressCountry",
2417
851
  "picName",
2418
852
  "picPhoneNumber"
2419
- ].filter((y) => !l.includes(y));
2420
- if (p.length)
853
+ ].filter((v) => !a.includes(v));
854
+ if (y.length)
2421
855
  throw new Error(
2422
- `Missing meta headers (${p.join()}). Excel file does not come from the template.`
856
+ `Missing meta headers (${y.join()}). Excel file does not come from the template.`
2423
857
  );
2424
- return $.map((y, v) => {
2425
- const c = {};
2426
- for (const S in l) {
2427
- const b = l[S];
2428
- Object.assign(c, { [b]: y[S] });
858
+ return n.map((v, u) => {
859
+ const g = {};
860
+ for (const h in a) {
861
+ const C = a[h];
862
+ Object.assign(g, { [C]: v[h] });
2429
863
  }
2430
864
  return {
2431
- index: v,
2432
- data: c
865
+ index: u,
866
+ data: g
2433
867
  };
2434
868
  });
2435
869
  }
2436
- function Ed(e, d) {
2437
- var a;
2438
- const t = new Array(), n = W1().filter(($) => !`${e[$.id] || ""}`.trim().length);
2439
- return n.length && t.push(`Missing required values: ${n.map(($) => $.name).join(", ")}`), (a = j1(e.picPhoneNumber)) == null || a.isValid(), {
870
+ function Id(r, t) {
871
+ var s;
872
+ const o = new Array(), p = J0().filter((n) => !`${r[n.id] || ""}`.trim().length);
873
+ return p.length && o.push(`Missing required values: ${p.map((n) => n.name).join(", ")}`), (s = Z0(r.picPhoneNumber)) == null || s.isValid(), {
2440
874
  type: "create",
2441
875
  supplier: {
2442
876
  _id: "",
2443
- name: e.name,
2444
- registrationNumber: e.regNo,
877
+ name: r.name,
878
+ registrationNumber: r.regNo,
2445
879
  address: {
2446
- line2: e.addressLine2,
2447
- line1: e.addressLine1,
2448
- state: e.addressState,
2449
- city: e.addressCity,
2450
- postcode: e.addressPostcode,
2451
- country: e.addressCountry
880
+ line2: r.addressLine2,
881
+ line1: r.addressLine1,
882
+ state: r.addressState,
883
+ city: r.addressCity,
884
+ postcode: r.addressPostcode,
885
+ country: r.addressCountry
2452
886
  },
2453
- contactName: e.picName,
2454
- phoneNumber: e.picPhoneNumber,
2455
- email: e.picEmail
887
+ contactName: r.picName,
888
+ phoneNumber: r.picPhoneNumber,
889
+ email: r.picEmail
2456
890
  },
2457
- errors: t,
2458
- excelRowNumber: d + 6
891
+ errors: o,
892
+ excelRowNumber: t + 6
2459
893
  };
2460
894
  }
2461
- function z1(e) {
895
+ function X0(r) {
2462
896
  try {
2463
- const d = Z1(e).filter((p) => p.data.name), t = pe(), r = re(), n = t.businessLevel ? r.businessSuppliers : r.locationSuppliers, o = wd(n, "_id"), a = d.filter((p) => !p.data.id), $ = d.filter((p) => p.data.id), l = a.map((p) => Ed(p.data, p.index)), u = $.map((p) => {
2464
- const m = Ed(p.data, p.index), y = o[p.data.id];
2465
- if (!y)
897
+ const t = Q0(r).filter((y) => y.data.name), o = $d(), $ = J(), p = o.businessLevel ? $.businessSuppliers : $.locationSuppliers, m = kd(p, "_id"), s = t.filter((y) => !y.data.id), n = t.filter((y) => y.data.id), a = s.map((y) => Id(y.data, y.index)), x = n.map((y) => {
898
+ const i = Id(y.data, y.index), v = m[y.data.id];
899
+ if (!v)
2466
900
  return {
2467
- ...m,
901
+ ...i,
2468
902
  type: "update",
2469
- original: m.supplier,
2470
- supplier: m.supplier,
903
+ original: i.supplier,
904
+ supplier: i.supplier,
2471
905
  errors: [
2472
- ...m.errors,
2473
- `Cannot find supplier id ${p.data.id} in the system. Reexport supplier excel to obtain the correct value.`
906
+ ...i.errors,
907
+ `Cannot find supplier id ${y.data.id} in the system. Reexport supplier excel to obtain the correct value.`
2474
908
  ]
2475
909
  };
2476
- const v = d.filter(
2477
- (S) => S.index !== p.index && S.data.id === y._id
910
+ const u = t.filter(
911
+ (h) => h.index !== y.index && h.data.id === v._id
2478
912
  );
2479
- return v.length > 1 && m.errors.push(
2480
- `ID ${y._id} is already used in row ${v.map((S) => S.index + 6).join()}.`
913
+ return u.length > 1 && i.errors.push(
914
+ `ID ${v._id} is already used in row ${u.map((h) => h.index + 6).join()}.`
2481
915
  ), {
2482
- ...m,
916
+ ...i,
2483
917
  type: "update",
2484
- original: y,
918
+ original: v,
2485
919
  supplier: {
2486
- ...y,
2487
- name: m.supplier.name,
920
+ ...v,
921
+ name: i.supplier.name,
2488
922
  address: {
2489
- line2: m.supplier.address.line2,
2490
- line1: m.supplier.address.line1,
2491
- state: m.supplier.address.state,
2492
- city: m.supplier.address.city,
2493
- postcode: m.supplier.address.postcode,
2494
- country: m.supplier.address.country
923
+ line2: i.supplier.address.line2,
924
+ line1: i.supplier.address.line1,
925
+ state: i.supplier.address.state,
926
+ city: i.supplier.address.city,
927
+ postcode: i.supplier.address.postcode,
928
+ country: i.supplier.address.country
2495
929
  },
2496
- registrationNumber: m.supplier.registrationNumber
930
+ registrationNumber: i.supplier.registrationNumber
2497
931
  }
2498
932
  };
2499
933
  });
2500
934
  return {
2501
935
  invalidExcel: !1,
2502
- importCreateResult: l,
2503
- importUpdateResult: u
936
+ importCreateResult: a,
937
+ importUpdateResult: x
2504
938
  };
2505
- } catch (d) {
939
+ } catch (t) {
2506
940
  return {
2507
941
  invalidExcel: !0,
2508
- invalidExcelMessage: (d == null ? void 0 : d.message) ?? "Invalid excel",
942
+ invalidExcelMessage: (t == null ? void 0 : t.message) ?? "Invalid excel",
2509
943
  importCreateResult: [],
2510
944
  importUpdateResult: []
2511
945
  };
2512
946
  }
2513
947
  }
2514
- const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-col" }, Q1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, er = {
948
+ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-col" }, $1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-primary flex items-center gap-4" }, t1 = {
2515
949
  key: 0,
2516
950
  class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
2517
- }, dr = { key: 0 }, xd = /* @__PURE__ */ Q({
951
+ }, o1 = { key: 0 }, Rd = /* @__PURE__ */ Z({
2518
952
  __name: "SupplierImportItem",
2519
953
  props: {
2520
954
  type: {},
@@ -2522,31 +956,31 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2522
956
  pic: {},
2523
957
  errors: {}
2524
958
  },
2525
- setup(e) {
2526
- const { t: d } = X();
2527
- return (t, r) => {
2528
- const n = T("FmIcon"), o = T("FmTooltip");
2529
- return E(), O("div", q1, [
2530
- r[0] || (r[0] = g("div", null, "•", -1)),
2531
- g("div", J1, [
2532
- g("div", Q1, [
2533
- g("div", {
2534
- class: J({
2535
- "text-fm-color-system-error-300": t.errors.length
959
+ setup(r) {
960
+ const { t } = O();
961
+ return (o, $) => {
962
+ const p = k("FmIcon"), m = k("FmTooltip");
963
+ return V(), I("div", d1, [
964
+ $[0] || ($[0] = f("div", null, "•", -1)),
965
+ f("div", e1, [
966
+ f("div", $1, [
967
+ f("div", {
968
+ class: W({
969
+ "text-fm-color-system-error-300": o.errors.length
2536
970
  })
2537
971
  }, [
2538
- Id(A(t.name) + " ", 1),
2539
- t.type === "create" ? (E(), O("span", er, "(" + A(f(d)("inventory.closing.template.import.new")) + ")", 1)) : K("", !0)
972
+ Hd(T(o.name) + " ", 1),
973
+ o.type === "create" ? (V(), I("span", t1, "(" + T(c(t)("inventory.closing.template.import.new")) + ")", 1)) : K("", !0)
2540
974
  ], 2),
2541
- t.errors.length ? (E(), O("div", dr, [
2542
- N(o, { "z-index": 50 }, {
2543
- content: k(() => [
2544
- g("ol", null, [
2545
- (E(!0), O(q, null, ee(t.errors, (a, $) => (E(), O("li", { key: $ }, A(a), 1))), 128))
975
+ o.errors.length ? (V(), I("div", o1, [
976
+ _(m, { "z-index": 50 }, {
977
+ content: L(() => [
978
+ f("ol", null, [
979
+ (V(!0), I(Y, null, z(o.errors, (s, n) => (V(), I("li", { key: n }, T(s), 1))), 128))
2546
980
  ])
2547
981
  ]),
2548
- default: k(() => [
2549
- N(n, {
982
+ default: L(() => [
983
+ _(p, {
2550
984
  name: "error",
2551
985
  size: "sm",
2552
986
  color: "system-error-300"
@@ -2556,157 +990,157 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2556
990
  })
2557
991
  ])) : K("", !0)
2558
992
  ]),
2559
- g("div", {
2560
- class: J([
993
+ f("div", {
994
+ class: W([
2561
995
  "fm-typo-en-body-sm-400",
2562
996
  {
2563
- "text-fm-color-system-error-200": t.errors.length,
2564
- "text-fm-color-typo-secondary": !t.errors.length
997
+ "text-fm-color-system-error-200": o.errors.length,
998
+ "text-fm-color-typo-secondary": !o.errors.length
2565
999
  }
2566
1000
  ])
2567
- }, A(t.pic), 3)
1001
+ }, T(o.pic), 3)
2568
1002
  ])
2569
1003
  ]);
2570
1004
  };
2571
1005
  }
2572
- }), tr = { class: "flex flex-col gap-24" }, rr = { class: "fm-typo-en-body-md-400" }, nr = {
1006
+ }), r1 = { class: "flex flex-col gap-24" }, s1 = { class: "fm-typo-en-body-md-400" }, n1 = {
2573
1007
  key: 0,
2574
1008
  class: "flex items-center gap-8"
2575
- }, or = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, ar = { class: "flex flex-col gap-8" }, ir = { class: "line-clamp-2 text-ellipsis break-all" }, $r = {
1009
+ }, l1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, a1 = { class: "flex flex-col gap-8" }, i1 = { class: "line-clamp-2 text-ellipsis break-all" }, u1 = {
2576
1010
  key: 2,
2577
1011
  class: "shrink-0"
2578
- }, lr = {
1012
+ }, p1 = {
2579
1013
  key: 0,
2580
1014
  class: "flex flex-col"
2581
- }, sr = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, ur = {
1015
+ }, c1 = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, m1 = {
2582
1016
  key: 0,
2583
1017
  class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
2584
- }, cr = { class: "fm-typo-en-body-lg-600" }, fr = /* @__PURE__ */ Q({
1018
+ }, f1 = { class: "fm-typo-en-body-lg-600" }, v1 = /* @__PURE__ */ Z({
2585
1019
  __name: "SupplierImport",
2586
- setup(e) {
2587
- const d = L(null), t = qd(), r = me(), n = L(!1), o = L(!1), a = L(new Array()), $ = L([]), l = L([]), u = F(
2588
- () => !!a.value.length || $.value.some((v) => v.errors.length) || l.value.some((v) => v.errors.length)
2589
- ), p = F(
2590
- () => !!$.value.length || !!l.value.length
2591
- ), { t: m } = X();
2592
- async function y(v) {
2593
- a.value = [], $.value = [], l.value = [];
1020
+ setup(r) {
1021
+ const t = F(null), o = qd(), $ = td(), p = F(!1), m = F(!1), s = F(new Array()), n = F([]), a = F([]), x = A(
1022
+ () => !!s.value.length || n.value.some((u) => u.errors.length) || a.value.some((u) => u.errors.length)
1023
+ ), y = A(
1024
+ () => !!n.value.length || !!a.value.length
1025
+ ), { t: i } = O();
1026
+ async function v(u) {
1027
+ s.value = [], n.value = [], a.value = [];
2594
1028
  try {
2595
- n.value = !0;
2596
- const [c] = await Promise.all([
2597
- it(v),
1029
+ p.value = !0;
1030
+ const [g] = await Promise.all([
1031
+ s0(u),
2598
1032
  // fake buffer
2599
- new Promise((_) => setTimeout(_, 1e3))
2600
- ]), S = c.SheetNames.find((_) => _);
2601
- if (!S) {
2602
- a.value.push(m("inventory.ingredient.import.fileError.noSheet"));
1033
+ new Promise((b) => setTimeout(b, 1e3))
1034
+ ]), h = g.SheetNames.find((b) => b);
1035
+ if (!h) {
1036
+ s.value.push(i("inventory.ingredient.import.fileError.noSheet"));
2603
1037
  return;
2604
1038
  }
2605
- const b = z1(c.Sheets[S]);
2606
- if (b.invalidExcel) {
2607
- a.value.push(
2608
- b.invalidExcelMessage ?? m("inventory.ingredient.import.fileError.invalidExcel")
1039
+ const C = X0(g.Sheets[h]);
1040
+ if (C.invalidExcel) {
1041
+ s.value.push(
1042
+ C.invalidExcelMessage ?? i("inventory.ingredient.import.fileError.invalidExcel")
2609
1043
  );
2610
1044
  return;
2611
1045
  }
2612
- if ($.value = b.importCreateResult, l.value = b.importUpdateResult, !$.value.length && !l.value.length) {
2613
- a.value.push(m("inventory.ingredient.import.fileError.noData"));
1046
+ if (n.value = C.importCreateResult, a.value = C.importUpdateResult, !n.value.length && !a.value.length) {
1047
+ s.value.push(i("inventory.ingredient.import.fileError.noData"));
2614
1048
  return;
2615
1049
  }
2616
- t.emitData(b);
2617
- } catch (c) {
2618
- r.open({
2619
- title: m("inventory.ingredient.import.fileError.unableToRead"),
2620
- message: c == null ? void 0 : c.message,
1050
+ o.emitData(C);
1051
+ } catch (g) {
1052
+ $.open({
1053
+ title: i("inventory.ingredient.import.fileError.unableToRead"),
1054
+ message: g == null ? void 0 : g.message,
2621
1055
  type: "error"
2622
- }), console.error("Error in reading file", c);
1056
+ }), console.error("Error in reading file", g);
2623
1057
  } finally {
2624
- a.value.length && r.open({
2625
- title: m("inventory.ingredient.import.fileError.invalidExcel"),
1058
+ s.value.length && $.open({
1059
+ title: i("inventory.ingredient.import.fileError.invalidExcel"),
2626
1060
  type: "error"
2627
- }), n.value = !1;
1061
+ }), p.value = !1;
2628
1062
  }
2629
1063
  }
2630
- return Fd(d, (v) => {
2631
- v && y(v);
2632
- }), (v, c) => {
2633
- const S = T("FmCircularProgress"), b = T("FmIcon"), _ = T("FmButton");
2634
- return E(), O("div", tr, [
2635
- g("div", rr, A(f(m)("inventory.supplier.import.message")), 1),
2636
- o.value ? (E(), O("div", nr, [
2637
- g("div", null, [
2638
- N(S, {
1064
+ return Td(t, (u) => {
1065
+ u && v(u);
1066
+ }), (u, g) => {
1067
+ const h = k("FmCircularProgress"), C = k("FmIcon"), b = k("FmButton");
1068
+ return V(), I("div", r1, [
1069
+ f("div", s1, T(c(i)("inventory.supplier.import.message")), 1),
1070
+ m.value ? (V(), I("div", n1, [
1071
+ f("div", null, [
1072
+ _(h, {
2639
1073
  size: "md",
2640
1074
  color: "neutral-gray-200"
2641
1075
  })
2642
1076
  ]),
2643
- g("div", or, A(f(m)("inventory.formField.loading")), 1)
2644
- ])) : (E(), O(q, { key: 1 }, [
2645
- N(lt, {
2646
- class: J({
1077
+ f("div", l1, T(c(i)("inventory.formField.loading")), 1)
1078
+ ])) : (V(), I(Y, { key: 1 }, [
1079
+ _(p0, {
1080
+ class: W({
2647
1081
  "w-full": !0,
2648
- "h-[200px]": !d.value
1082
+ "h-[200px]": !t.value
2649
1083
  }),
2650
1084
  accept: ".xlsx",
2651
- onFileUpload: c[0] || (c[0] = (I) => d.value = I),
2652
- label: f(m)("inventory.ingredient.import.uploadTemplate"),
2653
- "button-label": f(m)("inventory.ingredient.import.selectFile")
2654
- }, jd({ _: 2 }, [
2655
- d.value ? {
1085
+ onFileUpload: g[0] || (g[0] = (l) => t.value = l),
1086
+ label: c(i)("inventory.ingredient.import.uploadTemplate"),
1087
+ "button-label": c(i)("inventory.ingredient.import.selectFile")
1088
+ }, Kd({ _: 2 }, [
1089
+ t.value ? {
2656
1090
  name: "default",
2657
- fn: k(({ openFileDialog: I }) => [
2658
- g("div", ar, [
2659
- g("div", {
2660
- class: J([
1091
+ fn: L(({ openFileDialog: l }) => [
1092
+ f("div", a1, [
1093
+ f("div", {
1094
+ class: W([
2661
1095
  "fm-corner-radius-md p-16 flex items-center gap-16",
2662
1096
  {
2663
- "border border-fm-color-neutral-gray-100": n.value,
2664
- "border border-fm-color-neutral-gray-200": !n.value && !u.value,
2665
- "border border-fm-color-system-error-200": u.value
1097
+ "border border-fm-color-neutral-gray-100": p.value,
1098
+ "border border-fm-color-neutral-gray-200": !p.value && !x.value,
1099
+ "border border-fm-color-system-error-200": x.value
2666
1100
  }
2667
1101
  ])
2668
1102
  }, [
2669
- n.value ? (E(), j(S, {
1103
+ p.value ? (V(), H(h, {
2670
1104
  key: 0,
2671
1105
  size: "md",
2672
1106
  color: "neutral-gray-200"
2673
- })) : (E(), j(b, {
1107
+ })) : (V(), H(C, {
2674
1108
  key: 1,
2675
- name: u.value ? "error" : "attach_file",
1109
+ name: x.value ? "error" : "attach_file",
2676
1110
  outline: "",
2677
- color: u.value ? "system-error-300" : void 0
1111
+ color: x.value ? "system-error-300" : void 0
2678
1112
  }, null, 8, ["name", "color"])),
2679
- g("div", {
2680
- class: J([
1113
+ f("div", {
1114
+ class: W([
2681
1115
  "fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
2682
1116
  {
2683
- "text-fm-color-typo-disabled": n.value,
2684
- "text-fm-color-typo-primary": !n.value
1117
+ "text-fm-color-typo-disabled": p.value,
1118
+ "text-fm-color-typo-primary": !p.value
2685
1119
  }
2686
1120
  ])
2687
1121
  }, [
2688
- g("div", ir, A(d.value.name), 1)
1122
+ f("div", i1, T(t.value.name), 1)
2689
1123
  ], 2),
2690
- n.value ? K("", !0) : (E(), O("div", $r, [
2691
- N(_, {
2692
- label: f(m)("inventory.ingredient.import.replaceFile"),
2693
- variant: u.value ? "destructive" : "secondary",
2694
- "prepend-icon": u.value ? void 0 : "autorenew",
2695
- onClick: I
1124
+ p.value ? K("", !0) : (V(), I("div", u1, [
1125
+ _(b, {
1126
+ label: c(i)("inventory.ingredient.import.replaceFile"),
1127
+ variant: x.value ? "destructive" : "secondary",
1128
+ "prepend-icon": x.value ? void 0 : "autorenew",
1129
+ onClick: l
2696
1130
  }, null, 8, ["label", "variant", "prepend-icon", "onClick"])
2697
1131
  ]))
2698
1132
  ], 2),
2699
- a.value.length ? (E(), O("div", lr, [
2700
- (E(!0), O(q, null, ee(a.value, (h, P) => (E(), O("div", {
1133
+ s.value.length ? (V(), I("div", p1, [
1134
+ (V(!0), I(Y, null, z(s.value, (M, P) => (V(), I("div", {
2701
1135
  key: P,
2702
1136
  class: "flex gap-8 items-center"
2703
1137
  }, [
2704
- N(b, {
1138
+ _(C, {
2705
1139
  name: "error",
2706
1140
  size: "sm",
2707
1141
  color: "system-error-300"
2708
1142
  }),
2709
- g("div", sr, A(h), 1)
1143
+ f("div", c1, T(M), 1)
2710
1144
  ]))), 128))
2711
1145
  ])) : K("", !0)
2712
1146
  ])
@@ -2714,20 +1148,20 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2714
1148
  key: "0"
2715
1149
  } : void 0
2716
1150
  ]), 1032, ["class", "label", "button-label"]),
2717
- p.value ? (E(), O("div", ur, [
2718
- g("div", cr, A(f(m)("inventory.ingredient.import.summary")), 1),
2719
- (E(!0), O(q, null, ee($.value, (I, h) => (E(), j(xd, {
2720
- key: h,
2721
- name: I.supplier.name,
2722
- pic: I.supplier.contactName ?? "",
2723
- errors: I.errors,
1151
+ y.value ? (V(), I("div", m1, [
1152
+ f("div", f1, T(c(i)("inventory.ingredient.import.summary")), 1),
1153
+ (V(!0), I(Y, null, z(n.value, (l, M) => (V(), H(Rd, {
1154
+ key: M,
1155
+ name: l.supplier.name,
1156
+ pic: l.supplier.contactName ?? "",
1157
+ errors: l.errors,
2724
1158
  type: "create"
2725
1159
  }, null, 8, ["name", "pic", "errors"]))), 128)),
2726
- (E(!0), O(q, null, ee(l.value, (I) => (E(), j(xd, {
2727
- key: I.supplier._id,
2728
- name: I.supplier.name,
2729
- pic: I.supplier.contactName ?? "",
2730
- errors: I.errors,
1160
+ (V(!0), I(Y, null, z(a.value, (l) => (V(), H(Rd, {
1161
+ key: l.supplier._id,
1162
+ name: l.supplier.name,
1163
+ pic: l.supplier.contactName ?? "",
1164
+ errors: l.errors,
2731
1165
  type: "update"
2732
1166
  }, null, 8, ["name", "pic", "errors"]))), 128))
2733
1167
  ])) : K("", !0)
@@ -2735,195 +1169,195 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2735
1169
  ]);
2736
1170
  };
2737
1171
  }
2738
- }), pr = ot("supplierActions", function() {
2739
- const e = re(), d = we(), { t } = X(), r = me();
2740
- function n() {
2741
- d.open({
2742
- title: t("inventory.supplier.import.title"),
2743
- contentComponent: fr,
1172
+ }), y1 = o0("supplierActions", function() {
1173
+ const r = J(), t = ld(), { t: o } = O(), $ = td();
1174
+ function p() {
1175
+ t.open({
1176
+ title: o("inventory.supplier.import.title"),
1177
+ contentComponent: v1,
2744
1178
  overlay: !0,
2745
1179
  closeButton: !0,
2746
1180
  primaryActions: {
2747
- text: t("common.import"),
1181
+ text: o("common.import"),
2748
1182
  close: !1
2749
1183
  },
2750
1184
  secondaryActions: {
2751
- text: t("common.close"),
1185
+ text: o("common.close"),
2752
1186
  close: !0
2753
1187
  },
2754
1188
  tertiaryActions: {
2755
- text: t("inventory.supplier.import.actions.downloadTemplate"),
1189
+ text: o("inventory.supplier.import.actions.downloadTemplate"),
2756
1190
  close: !1,
2757
1191
  variant: "plain"
2758
1192
  }
2759
- }).onPrimary(($) => {
2760
- if (!$) {
2761
- r.open({
2762
- title: t("inventory.supplier.import.error.noData"),
1193
+ }).onPrimary((n) => {
1194
+ if (!n) {
1195
+ $.open({
1196
+ title: o("inventory.supplier.import.error.noData"),
2763
1197
  type: "error"
2764
1198
  });
2765
1199
  return;
2766
1200
  }
2767
- if (!$.importCreateResult.length && !$.importUpdateResult.length) {
2768
- r.open({
2769
- title: t("inventory.supplier.import.error.invalidContent"),
2770
- message: t("inventory.supplier.import.error.noImportData"),
1201
+ if (!n.importCreateResult.length && !n.importUpdateResult.length) {
1202
+ $.open({
1203
+ title: o("inventory.supplier.import.error.invalidContent"),
1204
+ message: o("inventory.supplier.import.error.noImportData"),
2771
1205
  type: "error"
2772
1206
  });
2773
1207
  return;
2774
1208
  }
2775
- if ($.importCreateResult.some((l) => l.errors.length) || $.importUpdateResult.some((l) => l.errors.length)) {
2776
- r.open({
2777
- title: t("inventory.supplier.import.error.invalidContent"),
2778
- message: t("inventory.supplier.import.error.hasErrors"),
1209
+ if (n.importCreateResult.some((a) => a.errors.length) || n.importUpdateResult.some((a) => a.errors.length)) {
1210
+ $.open({
1211
+ title: o("inventory.supplier.import.error.invalidContent"),
1212
+ message: o("inventory.supplier.import.error.hasErrors"),
2779
1213
  type: "error"
2780
1214
  });
2781
1215
  return;
2782
1216
  }
2783
- d.close(), a($);
2784
- }).onTertiary(X1);
2785
- }
2786
- function o() {
2787
- const $ = Y1();
2788
- r.open({
2789
- title: t("inventory.supplier.export.success"),
2790
- message: t("inventory.supplier.export.filename", [$]),
1217
+ t.close(), s(n);
1218
+ }).onTertiary(j0);
1219
+ }
1220
+ function m() {
1221
+ const n = q0();
1222
+ $.open({
1223
+ title: o("inventory.supplier.export.success"),
1224
+ message: o("inventory.supplier.export.filename", [n]),
2791
1225
  type: "success"
2792
1226
  });
2793
1227
  }
2794
- async function a($) {
1228
+ async function s(n) {
2795
1229
  try {
2796
- const l = [
2797
- ...$.importCreateResult.map((y) => y.supplier),
2798
- ...$.importUpdateResult.map((y) => y.supplier)
2799
- ], u = 100;
2800
- let p = 0;
2801
- const m = () => {
2802
- p += u, r.open({
2803
- title: t("inventory.supplier.import.progress", [
2804
- Math.min(p, l.length),
2805
- l.length
1230
+ const a = [
1231
+ ...n.importCreateResult.map((v) => v.supplier),
1232
+ ...n.importUpdateResult.map((v) => v.supplier)
1233
+ ], x = 100;
1234
+ let y = 0;
1235
+ const i = () => {
1236
+ y += x, $.open({
1237
+ title: o("inventory.supplier.import.progress", [
1238
+ Math.min(y, a.length),
1239
+ a.length
2806
1240
  ])
2807
1241
  });
2808
1242
  };
2809
- for (const y of l.chunk(100))
2810
- m(), await e.importSuppliers(y);
2811
- r.open({
2812
- title: t("inventory.supplier.import.success"),
1243
+ for (const v of a.chunk(100))
1244
+ i(), await r.importSuppliers(v);
1245
+ $.open({
1246
+ title: o("inventory.supplier.import.success"),
2813
1247
  type: "success"
2814
1248
  });
2815
- } catch (l) {
2816
- r.open({
2817
- title: t("inventory.supplier.import.error.failed"),
2818
- message: t("inventory.supplier.import.error.systemMessage", [l == null ? void 0 : l.message]),
1249
+ } catch (a) {
1250
+ $.open({
1251
+ title: o("inventory.supplier.import.error.failed"),
1252
+ message: o("inventory.supplier.import.error.systemMessage", [a == null ? void 0 : a.message]),
2819
1253
  type: "error"
2820
- }), console.error("Error in importing skus", $, l);
1254
+ }), console.error("Error in importing skus", n, a);
2821
1255
  } finally {
2822
- e.readSuppliers();
1256
+ r.readSuppliers();
2823
1257
  }
2824
1258
  }
2825
1259
  return {
2826
- importSuppliers: n,
2827
- exportSuppliers: o
1260
+ importSuppliers: p,
1261
+ exportSuppliers: m
2828
1262
  };
2829
- }), mr = { class: "flex flex-col py-8" }, yr = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, vr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, gr = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, hr = {
1263
+ }), g1 = { class: "flex flex-col py-8" }, b1 = { class: "fm-typo-en-body-lg-600 text-fm-color-typo-primary" }, S1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, h1 = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, C1 = {
2830
1264
  key: 0,
2831
1265
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
2832
- }, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Ur = /* @__PURE__ */ Q({
1266
+ }, _1 = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", H1 = /* @__PURE__ */ Z({
2833
1267
  __name: "SupplierView",
2834
- setup(e) {
2835
- const { importSuppliers: d, exportSuppliers: t } = pr(), r = re(), n = pe(), o = Ad(), a = Oe(), $ = L(!1), l = we(), u = me(), { t: p } = X();
2836
- n.watchLocation(y);
2837
- const m = F(() => n.businessLevel);
2838
- Fd(m, y), Kd(() => {
2839
- o.enableSupplierMasterList ? o.businessSupplierOnly && (n.businessLevel = !0) : n.businessLevel = !1;
1268
+ setup(r) {
1269
+ const { importSuppliers: t, exportSuppliers: o } = y1(), $ = J(), p = $d(), m = Fd(), s = F(!1), n = ld(), a = td(), { t: x } = O();
1270
+ p.watchLocation(i);
1271
+ const y = A(() => p.businessLevel);
1272
+ Td(y, i), Od(() => {
1273
+ m.enableSupplierMasterList || (p.businessLevel = !1);
2840
1274
  });
2841
- async function y() {
2842
- if (n._currentLocation) {
2843
- $.value = !0;
1275
+ async function i() {
1276
+ if (p._currentLocation) {
1277
+ s.value = !0;
2844
1278
  try {
2845
1279
  await Promise.all([
2846
- r.readSuppliers(),
2847
- new Promise((R) => setTimeout(R, 1e3))
1280
+ $.readSuppliers(),
1281
+ new Promise((N) => setTimeout(N, 1e3))
2848
1282
  ]);
2849
1283
  } catch {
2850
- u.open({
1284
+ a.open({
2851
1285
  title: "Cannot fetch supplier list",
2852
1286
  type: "error"
2853
1287
  });
2854
1288
  } finally {
2855
- $.value = !1;
1289
+ s.value = !1;
2856
1290
  }
2857
1291
  }
2858
1292
  }
2859
- const v = F(
2860
- () => m.value ? r.businessSuppliers : r.locationSuppliers
2861
- ), c = L({});
2862
- function S() {
2863
- c.value.mode = U.CREATE, c.value.supplier = {}, c.value.show = !0;
1293
+ const v = A(
1294
+ () => y.value ? $.businessSuppliers : $.locationSuppliers
1295
+ ), u = F({});
1296
+ function g() {
1297
+ u.value.mode = U.CREATE, u.value.supplier = {}, u.value.show = !0;
2864
1298
  }
2865
- function b(x) {
2866
- c.value.mode = U.UPDATE, c.value.supplier = Pe(x), c.value.show = !0;
1299
+ function h(E) {
1300
+ u.value.mode = U.UPDATE, u.value.supplier = sd(E), u.value.show = !0;
2867
1301
  }
2868
- async function _(x) {
2869
- l.open({
2870
- title: p("inventory.supplier.delete.confirm"),
2871
- message: p("inventory.supplier.delete.confirmMessage", { name: x.name }),
1302
+ async function C(E) {
1303
+ n.open({
1304
+ title: x("inventory.supplier.delete.confirm"),
1305
+ message: x("inventory.supplier.delete.confirmMessage", { name: E.name }),
2872
1306
  primaryActions: {
2873
- text: p("common.delete"),
1307
+ text: x("common.delete"),
2874
1308
  close: !0,
2875
1309
  variant: "destructive"
2876
1310
  },
2877
1311
  secondaryActions: {
2878
- text: p("common.cancel"),
1312
+ text: x("common.cancel"),
2879
1313
  close: !0
2880
1314
  }
2881
- }).onPrimary(() => I(x));
1315
+ }).onPrimary(() => b(E));
2882
1316
  }
2883
- async function I(x) {
2884
- l.open({
2885
- title: p("inventory.supplier.deletingSupplier"),
1317
+ async function b(E) {
1318
+ n.open({
1319
+ title: x("inventory.supplier.deletingSupplier"),
2886
1320
  closeButton: !1
2887
1321
  });
2888
1322
  try {
2889
- await r.deleteSupplier(x), u.open({
2890
- title: p("inventory.supplier.delete.success"),
2891
- message: p("inventory.supplier.delete.successMessage", { name: x == null ? void 0 : x.name }),
1323
+ await $.deleteSupplier(E), a.open({
1324
+ title: x("inventory.supplier.delete.success"),
1325
+ message: x("inventory.supplier.delete.successMessage", { name: E == null ? void 0 : E.name }),
2892
1326
  type: "success"
2893
- }), y();
2894
- } catch (R) {
2895
- u.open({
2896
- title: p("inventory.supplier.delete.error"),
2897
- message: p("inventory.supplier.delete.errorMessage", { name: x == null ? void 0 : x.name }),
1327
+ }), i();
1328
+ } catch (N) {
1329
+ a.open({
1330
+ title: x("inventory.supplier.delete.error"),
1331
+ message: x("inventory.supplier.delete.errorMessage", { name: E == null ? void 0 : E.name }),
2898
1332
  type: "error"
2899
- }), console.error("failed to delete supplier", R);
1333
+ }), console.error("failed to delete supplier", N);
2900
1334
  } finally {
2901
- l.close();
1335
+ n.close();
2902
1336
  }
2903
1337
  }
2904
- const { columnDefs: h } = st(b, _);
2905
- function P(x) {
2906
- if (x === "create")
2907
- return S();
2908
- if (x === "import") {
2909
- if ($.value) {
2910
- u.open({
1338
+ const { columnDefs: l } = c0(h, C);
1339
+ function M(E) {
1340
+ if (E === "create")
1341
+ return g();
1342
+ if (E === "import") {
1343
+ if (s.value) {
1344
+ a.open({
2911
1345
  title: "Loading data...",
2912
1346
  message: "Please wait.",
2913
1347
  type: "info"
2914
1348
  });
2915
1349
  return;
2916
1350
  }
2917
- return d();
2918
- }
2919
- if (x === "export")
2920
1351
  return t();
2921
- if (x === "refresh")
2922
- return y();
1352
+ }
1353
+ if (E === "export")
1354
+ return o();
1355
+ if (E === "refresh")
1356
+ return i();
2923
1357
  }
2924
- const w = L(""), { breakpoints: V } = Jd(), D = F(() => V.value.xs || V.value.sm), s = F(() => D.value ? 10 : 20), i = Qd(), Z = F(() => [
1358
+ const P = F(""), { breakpoints: R } = jd(), w = A(() => R.value.xs || R.value.sm), B = A(() => w.value ? 10 : 20), e = Qd(), d = A(() => [
2925
1359
  {
2926
- label: p("inventory.supplier.create.title"),
1360
+ label: x("inventory.supplier.create.title"),
2927
1361
  value: "create",
2928
1362
  isPrimary: !0,
2929
1363
  prependIcon: "add"
@@ -2944,74 +1378,71 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
2944
1378
  isPrimary: !1
2945
1379
  }
2946
1380
  ]);
2947
- return (x, R) => {
2948
- const ge = T("FmTable");
2949
- return E(), j(et, {
2950
- title: f(p)("inventory.supplier.title"),
2951
- actions: Z.value,
2952
- "onClick:action": P,
2953
- "using-business-helper-text": f(o).businessSupplierOnly ? void 0 : br
1381
+ return (E, N) => {
1382
+ const od = k("FmTable");
1383
+ return V(), H(Xd, {
1384
+ title: c(x)("inventory.supplier.title"),
1385
+ actions: d.value,
1386
+ "onClick:action": M,
1387
+ "using-business-helper-text": _1
2954
1388
  }, {
2955
- default: k(() => [
2956
- g("div", {
2957
- class: J([
1389
+ default: L(() => [
1390
+ f("div", {
1391
+ class: W([
2958
1392
  "flex flex-col gap-8 max-h-full",
2959
1393
  {
2960
- "p-0": D.value,
2961
- "px-24 ": !D.value
1394
+ "p-0": w.value,
1395
+ "px-24 ": !w.value
2962
1396
  }
2963
1397
  ])
2964
1398
  }, [
2965
- N(dt, {
1399
+ _(d0, {
2966
1400
  searchable: "",
2967
- "change-location": !f(o).businessSupplierOnly,
2968
- search: w.value,
2969
- "onUpdate:search": R[0] || (R[0] = (C) => w.value = C),
2970
- "show-business": f(o).enableSupplierMasterList
2971
- }, null, 8, ["change-location", "search", "show-business"]),
2972
- N(ge, {
2973
- style: Wd(f(i).tableHeight),
2974
- "column-defs": f(h),
2975
- columnVisibility: {
2976
- netsuiteIdSubsidiary: f(a).isEnabled
2977
- },
1401
+ "change-location": "",
1402
+ search: P.value,
1403
+ "onUpdate:search": N[0] || (N[0] = (D) => P.value = D),
1404
+ "show-business": c(m).enableSupplierMasterList
1405
+ }, null, 8, ["search", "show-business"]),
1406
+ _(od, {
1407
+ style: Yd(c(e).tableHeight),
1408
+ "column-defs": c(l),
2978
1409
  "row-data": v.value,
2979
- "search-value": w.value,
2980
- loading: (!f(n)._currentLocation || $.value) && f(a).isReady,
2981
- onRowClick: R[1] || (R[1] = (C) => b(C.original)),
2982
- "page-size": s.value
1410
+ "search-value": P.value,
1411
+ loading: !c(p)._currentLocation || s.value,
1412
+ onRowClick: N[1] || (N[1] = (D) => h(D.original)),
1413
+ "page-size": B.value
2983
1414
  }, {
2984
- "list-row": k((C) => [
2985
- N(Zd, {
2986
- row: C,
2987
- onRowClick: b
1415
+ "list-row": L((D) => [
1416
+ _(zd, {
1417
+ row: D,
1418
+ onRowClick: h
2988
1419
  }, {
2989
- default: k((Y) => {
2990
- var Le, ke, Ve, ne, Ue, Be, Ge, He, oe, je, Ke, We, Ye, ae, Xe, Ze, ze, qe, ie, Je;
1420
+ default: L((S) => {
1421
+ var ad, id, ud, q, pd, cd, md, fd, j, vd, yd, gd, bd, Q, Sd, hd, Cd, _d, X, xd;
2991
1422
  return [
2992
- g("div", mr, [
2993
- g("div", yr, [
2994
- N(f(le), {
2995
- render: (Ve = (ke = (Le = Y.name) == null ? void 0 : Le.column) == null ? void 0 : ke.columnDef) == null ? void 0 : Ve.cell,
2996
- props: (Ue = (ne = Y.name) == null ? void 0 : ne.getContext) == null ? void 0 : Ue.call(ne)
1423
+ f("div", g1, [
1424
+ f("div", b1, [
1425
+ _(c(ed), {
1426
+ render: (ud = (id = (ad = S.name) == null ? void 0 : ad.column) == null ? void 0 : id.columnDef) == null ? void 0 : ud.cell,
1427
+ props: (pd = (q = S.name) == null ? void 0 : q.getContext) == null ? void 0 : pd.call(q)
2997
1428
  }, null, 8, ["render", "props"])
2998
1429
  ]),
2999
- g("div", vr, [
3000
- N(f(le), {
3001
- render: (He = (Ge = (Be = Y.contactName) == null ? void 0 : Be.column) == null ? void 0 : Ge.columnDef) == null ? void 0 : He.cell,
3002
- props: (je = (oe = Y.contactName) == null ? void 0 : oe.getContext) == null ? void 0 : je.call(oe)
1430
+ f("div", S1, [
1431
+ _(c(ed), {
1432
+ render: (fd = (md = (cd = S.contactName) == null ? void 0 : cd.column) == null ? void 0 : md.columnDef) == null ? void 0 : fd.cell,
1433
+ props: (vd = (j = S.contactName) == null ? void 0 : j.getContext) == null ? void 0 : vd.call(j)
3003
1434
  }, null, 8, ["render", "props"])
3004
1435
  ]),
3005
- g("div", gr, [
3006
- N(f(le), {
3007
- render: (Ye = (We = (Ke = Y.phoneNumber) == null ? void 0 : Ke.column) == null ? void 0 : We.columnDef) == null ? void 0 : Ye.cell,
3008
- props: (Xe = (ae = Y.phoneNumber) == null ? void 0 : ae.getContext) == null ? void 0 : Xe.call(ae)
1436
+ f("div", h1, [
1437
+ _(c(ed), {
1438
+ render: (bd = (gd = (yd = S.phoneNumber) == null ? void 0 : yd.column) == null ? void 0 : gd.columnDef) == null ? void 0 : bd.cell,
1439
+ props: (Sd = (Q = S.phoneNumber) == null ? void 0 : Q.getContext) == null ? void 0 : Sd.call(Q)
3009
1440
  }, null, 8, ["render", "props"])
3010
1441
  ]),
3011
- C.original.email ? (E(), O("div", hr, [
3012
- N(f(le), {
3013
- render: (qe = (ze = (Ze = Y.email) == null ? void 0 : Ze.column) == null ? void 0 : ze.columnDef) == null ? void 0 : qe.cell,
3014
- props: (Je = (ie = Y.email) == null ? void 0 : ie.getContext) == null ? void 0 : Je.call(ie)
1442
+ D.original.email ? (V(), I("div", C1, [
1443
+ _(c(ed), {
1444
+ render: (_d = (Cd = (hd = S.email) == null ? void 0 : hd.column) == null ? void 0 : Cd.columnDef) == null ? void 0 : _d.cell,
1445
+ props: (xd = (X = S.email) == null ? void 0 : X.getContext) == null ? void 0 : xd.call(X)
3015
1446
  }, null, 8, ["render", "props"])
3016
1447
  ])) : K("", !0)
3017
1448
  ])
@@ -3021,23 +1452,23 @@ const q1 = { class: "flex items-center gap-12 pl-8" }, J1 = { class: "flex flex-
3021
1452
  }, 1032, ["row"])
3022
1453
  ]),
3023
1454
  _: 1
3024
- }, 8, ["style", "column-defs", "columnVisibility", "row-data", "search-value", "loading", "page-size"])
1455
+ }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
3025
1456
  ], 2),
3026
- (E(), j(Yd, { to: "body" }, [
3027
- N(Vt, {
3028
- show: c.value.show,
3029
- "onUpdate:show": R[2] || (R[2] = (C) => c.value.show = C),
3030
- supplier: c.value.supplier,
3031
- mode: c.value.mode,
3032
- onSubmitted: R[3] || (R[3] = (C) => y())
1457
+ (V(), H(Wd, { to: "body" }, [
1458
+ _(G0, {
1459
+ show: u.value.show,
1460
+ "onUpdate:show": N[2] || (N[2] = (D) => u.value.show = D),
1461
+ supplier: u.value.supplier,
1462
+ mode: u.value.mode,
1463
+ onSubmitted: N[3] || (N[3] = (D) => i())
3033
1464
  }, null, 8, ["show", "supplier", "mode"])
3034
1465
  ]))
3035
1466
  ]),
3036
1467
  _: 1
3037
- }, 8, ["title", "actions", "using-business-helper-text"]);
1468
+ }, 8, ["title", "actions"]);
3038
1469
  };
3039
1470
  }
3040
1471
  });
3041
1472
  export {
3042
- Ur as default
1473
+ H1 as default
3043
1474
  };