@feedmepos/mf-inventory-portal 0.0.23-dev.1 → 0.0.23-dev.10

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 (93) hide show
  1. package/dist/{App-Y3Ez8Rjf.js → App-DDxwfi6I.js} +36 -31
  2. package/dist/{ApprovalView-BUU1G4Q2.js → ApprovalView-7rpIigm0.js} +4 -4
  3. package/dist/{BindingsDialog-8wc4Q0JQ.js → BindingsDialog-DbyzX6mw.js} +2 -2
  4. package/dist/{BindingsPicker-DGWN1LQc.js → BindingsPicker-FZfhZr5O.js} +2 -2
  5. package/dist/{BindingsTable-7NJP2jT6.js → BindingsTable-Bk2770OV.js} +6 -6
  6. package/dist/ClosingDraftView-D9CnCwak.js +772 -0
  7. package/dist/{ClosingTemplateView-9s7vmwaT.js → ClosingTemplateView-DkpHmTtx.js} +32 -31
  8. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DjBiov5r.js +283 -0
  9. package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-5DINn0ZB.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CBC214tP.js} +2 -2
  10. package/dist/{FmMultiselectDialog-7hok9sJP.js → FmMultiselectDialog-CK6xwOeG.js} +128 -124
  11. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-IFTMUhET.js +329 -0
  12. package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-FQ0HjuL3.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-D0otwOX8.js} +1 -1
  13. package/dist/{IngredientGroupView-C3maHTCg.js → IngredientGroupView-D5XtVfIQ.js} +12 -11
  14. package/dist/IngredientsView-c7WnQiTv.js +1666 -0
  15. package/dist/{IntegrationView-gO4h89Wj.js → IntegrationView-CHkhMxVM.js} +50 -50
  16. package/dist/{InventoryBindingForm-dh3GeyG-.js → InventoryBindingForm-BUZ9MS5V.js} +1 -1
  17. package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-CJuo3i7W.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-YIRre_Km.js} +13 -13
  18. package/dist/{InventoryBindingSummary-BPoPcEoe.js → InventoryBindingSummary-BUi0mjeC.js} +1 -1
  19. package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-olm8sZKt.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-CpYtHPFH.js} +1 -1
  20. package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BezTV43V.js → PremiumBadge.vue_vue_type_script_setup_true_lang-D8IH1X1o.js} +2 -2
  21. package/dist/{PurchaseOrderPrintPreview-Dix_fIoo.js → PurchaseOrderPrintPreview-BLuoVz5N.js} +1 -1
  22. package/dist/ReceiveRequestView-BNM5JdQO.js +4165 -0
  23. package/dist/{RecipeView-C4-a4IEW.js → RecipeView-DxRumcLY.js} +11 -10
  24. package/dist/{StockView-Du2txrIP.js → StockView-CZyeg3sX.js} +1356 -1457
  25. package/dist/{SupplierView-D_09FbQh.js → SupplierView-C2XLbf27.js} +2352 -783
  26. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-BQG6UzUU.js +1229 -0
  27. package/dist/{TransferTemplateView-j3CRy6Lc.js → TransferTemplateView-BCxZCU0i.js} +307 -307
  28. package/dist/{UnitView-BXw2Vwq1.js → UnitView-uGpE4txg.js} +81 -80
  29. package/dist/{WarehouseView-CKamiETC.js → WarehouseView-DvQVmixr.js} +25 -24
  30. package/dist/api/bill.d.ts +2 -2
  31. package/dist/api/closing-draft.d.ts +6 -0
  32. package/dist/api/closing.d.ts +1 -0
  33. package/dist/api/netsuite.d.ts +70 -0
  34. package/dist/{app-GUbzqEtW.js → app-BaOENyRY.js} +3425 -3343
  35. package/dist/app.d.ts +3 -0
  36. package/dist/app.js +1 -1
  37. package/dist/components/FmMinMaxInputRules.d.ts +4 -1
  38. package/dist/components/row-action.enum.d.ts +1 -0
  39. package/dist/{date2-CLE9fB2R.js → date2-CfGU3sHq.js} +1 -1
  40. package/dist/{dayjs.min-CY1d38w7.js → dayjs.min-BMk-E1IO.js} +17 -17
  41. package/dist/{decimal-SIjO6Mjw.js → decimal-BkLhxOFS.js} +1 -1
  42. package/dist/{defineDeepModel-l40rX7kr.js → defineDeepModel-Cy-_HBnw.js} +1 -1
  43. package/dist/{feature-BXruKUhX.js → feature-GoxrdjJJ.js} +23 -9
  44. package/dist/form-mode.enum-BKiNVH6A.js +4 -0
  45. package/dist/{format-time-from-id-CcFsBXmk.js → format-time-from-id-96hwVl9P.js} +1 -1
  46. package/dist/format-unit-display-Cp0DBbM8.js +1217 -0
  47. package/dist/{fuzzy-CVOV9zJc.js → fuzzy-CBGiL1wK.js} +1 -1
  48. package/dist/index-0HEhOwKT.js +12087 -0
  49. package/dist/{index-BX5KZXhI.js → index-CoL8wxbn.js} +126 -122
  50. package/dist/{index-m9e9nYfl.js → index-S7yfliEo.js} +1 -1
  51. package/dist/netsuite-D3VPLW8O.js +225 -0
  52. package/dist/router/name.d.ts +1 -0
  53. package/dist/{row-action.enum-PMKMRrZR.js → row-action.enum-7rGLGZ5v.js} +10 -5
  54. package/dist/{rules-DlnN8IP3.js → rules-DxLLla7a.js} +40 -35
  55. package/dist/stock-BbFKtx1y.js +111 -0
  56. package/dist/stores/feature.d.ts +2 -0
  57. package/dist/stores/integration/netsuite.d.ts +81 -0
  58. package/dist/stores/inventory.d.ts +1 -4
  59. package/dist/style.css +1 -1
  60. package/dist/{supplier-B21WlSAM.js → supplier-gGovyyjr.js} +22 -22
  61. package/dist/tsconfig.app.tsbuildinfo +1 -1
  62. package/dist/{use-inventory-binding-dialog-D3x6xj2O.js → use-inventory-binding-dialog-DIBMf_9-.js} +2 -2
  63. package/dist/{use-template-enabled-locations-2-z-b-UXef.js → use-template-enabled-locations-2-Bof9JMYI.js} +2 -2
  64. package/dist/views/closing-draft/ClosingDraftView.vue.d.ts +2 -0
  65. package/dist/views/closing-draft/components/closing-draft-action/ClosingDraftAction.vue.d.ts +22 -0
  66. package/dist/views/closing-draft/components/closing-draft-dialog/ClosingDraftDialog.vue.d.ts +447 -0
  67. package/dist/views/closing-draft/composables/use-closing-draft-actions.d.ts +22 -0
  68. package/dist/views/closing-draft/composables/use-closing-draft-table.d.ts +2601 -0
  69. package/dist/views/closing-draft/helpers/draft-status-to-class-name.helper.d.ts +1 -0
  70. package/dist/views/closing-template/composables/use-closing-template-actions.d.ts +24 -192
  71. package/dist/views/closing-template/composables/use-closing-template-table.d.ts +24 -192
  72. package/dist/views/receive-request/components/transfer-form/NetSuiteField.vue.d.ts +2 -2
  73. package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +40 -40
  74. package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +1 -0
  75. package/dist/views/receive-request/composables/use-receive-request-form.d.ts +63 -63
  76. package/dist/views/receive-request/composables/use-receive-request-table.d.ts +63 -63
  77. package/dist/views/receive-request/helper/check-netsuite-subsidiary.helper.d.ts +1 -0
  78. package/dist/views/stock/components/StockRecordCard.vue.d.ts +1 -1
  79. package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +8 -8
  80. package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +96 -96
  81. package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +96 -96
  82. package/dist/{xlsx-6mM1eNiL.js → xlsx-DOnDmayp.js} +1 -1
  83. package/dist/{xlsx.util-BLftcF4q.js → xlsx.util-BqsQd9YP.js} +1 -1
  84. package/package.json +3 -3
  85. package/dist/FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-B4DDh9-a.js +0 -267
  86. package/dist/FmUnitInput.vue_vue_type_script_setup_true_lang-CxR1FCft.js +0 -326
  87. package/dist/IngredientsView-DCR3IBkR.js +0 -1613
  88. package/dist/ReceiveRequestView-DdPiYb2P.js +0 -4082
  89. package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-C9MOos--.js +0 -1144
  90. package/dist/format-unit-display-DEKg8cJm.js +0 -1198
  91. package/dist/index-CVsyOEb1.js +0 -10545
  92. package/dist/netsuite-DAKRv7zr.js +0 -146
  93. package/dist/normalizeArguments-DP7Hrren.js +0 -1552
@@ -1,66 +1,74 @@
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-B21WlSAM.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-GUbzqEtW.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-5DINn0ZB.js";
9
- import { R as G } from "./rules-DlnN8IP3.js";
10
- import { F as e0 } from "./FmMultiselectDialog-7hok9sJP.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-CxR1FCft.js";
13
- import { u as Fd } from "./feature-BXruKUhX.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-BLftcF4q.js";
16
- import { f as n0 } from "./date2-CLE9fB2R.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));
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-gGovyyjr.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-BaOENyRY.js";
6
+ import { useI18n as X, useCoreStore as Fe } from "@feedmepos/mf-common";
7
+ import { u as Oe } from "./netsuite-D3VPLW8O.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-CBC214tP.js";
10
+ import { F as U } from "./form-mode.enum-BKiNVH6A.js";
11
+ import { R as G } from "./rules-DxLLla7a.js";
12
+ import { F as tt } from "./FmMultiselectDialog-CK6xwOeG.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-IFTMUhET.js";
15
+ import { u as Ad } from "./feature-GoxrdjJJ.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-BqsQd9YP.js";
18
+ import { f as $t } from "./date2-CfGU3sHq.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($));
24
25
  return;
25
26
  }
26
- if (m === dd.Delete) {
27
- t(sd(s));
27
+ if (a === $e.Delete) {
28
+ d(Pe($));
28
29
  return;
29
30
  }
30
31
  }
31
32
  return { columnDefs: [
32
33
  {
33
34
  accessorKey: "name",
34
- header: () => o("inventory.supplier.table.supplier"),
35
+ header: () => t("inventory.supplier.table.supplier"),
35
36
  enableSorting: !0,
36
37
  size: 200
37
38
  },
39
+ {
40
+ accessorKey: "netsuiteIdSubsidiary",
41
+ cell: (a) => r.getVendorSubsidiaryName(a.row.original._id),
42
+ header: () => "NetSuite Subsidiary",
43
+ enableSorting: !0,
44
+ size: "auto"
45
+ },
38
46
  {
39
47
  accessorKey: "contactName",
40
- header: () => o("inventory.supplier.table.pic"),
48
+ header: () => t("inventory.supplier.table.pic"),
41
49
  enableSorting: !1,
42
50
  size: 250
43
51
  },
44
52
  {
45
53
  accessorKey: "phoneNumber",
46
- header: () => o("inventory.supplier.table.contact"),
54
+ header: () => t("inventory.supplier.table.contact"),
47
55
  enableSorting: !1,
48
56
  size: 200
49
57
  },
50
58
  {
51
59
  accessorKey: "email",
52
- header: () => o("inventory.supplier.table.email"),
60
+ header: () => t("inventory.supplier.table.email"),
53
61
  enableSorting: !1,
54
62
  size: "auto"
55
63
  },
56
64
  {
57
65
  id: "action",
58
66
  header: "",
59
- cell(m) {
60
- return Zd(
61
- [Vd[dd.Edit], Vd[dd.Delete]],
62
- (s) => {
63
- $(s, m.row.original);
67
+ cell(a) {
68
+ return Xd(
69
+ [ed[$e.Edit], ed[$e.Delete]],
70
+ ($) => {
71
+ n($, a.row.original);
64
72
  }
65
73
  );
66
74
  },
@@ -72,36 +80,36 @@ function c0(r, t) {
72
80
  }
73
81
  ] };
74
82
  }
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({
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({
76
84
  __name: "SupplierSupplyItemField",
77
- props: /* @__PURE__ */ Ld({
85
+ props: /* @__PURE__ */ Gd({
78
86
  modelValue: {}
79
87
  }, {
80
88
  modelValue: {},
81
89
  modelModifiers: {}
82
90
  }),
83
91
  emits: ["update:modelValue"],
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(
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(
93
101
  () => {
94
- var b;
95
- return ((b = Jd(t.currentCountry.value)) == null ? void 0 : b.currency) ?? "MYR";
102
+ var _;
103
+ return ((_ = zd(d.currentCountry.value)) == null ? void 0 : _.currency) ?? "MYR";
96
104
  }
97
105
  );
98
- p.open({
99
- title: m("inventory.supplier.supplyItems.selectItem"),
106
+ n.open({
107
+ title: o("inventory.supplier.supplyItems.selectItem"),
100
108
  closeButton: !0,
101
- contentComponent: e0,
109
+ contentComponent: tt,
102
110
  contentComponentProps: {
103
- modelValue: g,
104
- items: u
111
+ modelValue: c,
112
+ items: v
105
113
  },
106
114
  primaryActions: {
107
115
  text: "Confirm",
@@ -112,131 +120,131 @@ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v
112
120
  close: !0,
113
121
  variant: "tertiary"
114
122
  }
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 || {
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 || {
122
130
  skuId: P._id,
123
131
  defaultCost: P.defaultCost ?? {
124
132
  costPerUnit: {
125
- currency: h.value,
133
+ currency: S.value,
126
134
  amount: 0,
127
135
  precision: 2
128
136
  }
129
137
  }
130
138
  };
131
139
  });
132
- s.value = M;
140
+ a.value = h;
133
141
  });
134
142
  }
135
- function a(u) {
136
- switch (u) {
137
- case rd.MY:
143
+ function l(v) {
144
+ switch (v) {
145
+ case he.MY:
138
146
  return "MYR";
139
- case rd.SG:
147
+ case he.SG:
140
148
  return "SGD";
141
- case rd.ID:
149
+ case he.ID:
142
150
  return "IDR";
143
151
  default:
144
152
  return "MYR";
145
153
  }
146
154
  }
147
- function x(u) {
148
- const g = [...(s == null ? void 0 : s.value) ?? []];
149
- g.splice(u, 1), s.value = g;
155
+ function u(v) {
156
+ const c = [...(a == null ? void 0 : a.value) ?? []];
157
+ c.splice(v, 1), a.value = c;
150
158
  }
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;
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;
157
165
  }
158
- function i(u) {
166
+ function m(v) {
159
167
  return {
160
- amount: u.defaultCost.costPerUnit,
161
- measurement: u.defaultCost.measurement
168
+ amount: v.defaultCost.costPerUnit,
169
+ measurement: v.defaultCost.measurement
162
170
  };
163
171
  }
164
- function v(u, g) {
165
- const C = (s.value ?? []).map((b) => b.skuId !== u.skuId ? b : {
166
- ...b,
172
+ function y(v, c) {
173
+ const b = (a.value ?? []).map((_) => _.skuId !== v.skuId ? _ : {
174
+ ..._,
167
175
  defaultCost: {
168
- ...b.defaultCost,
169
- measurement: g.measurement,
176
+ ..._.defaultCost,
177
+ measurement: c.measurement,
170
178
  costPerUnit: {
171
- ...b.defaultCost.costPerUnit,
172
- ...g.amount
179
+ ..._.defaultCost.costPerUnit,
180
+ ...c.amount
173
181
  }
174
182
  }
175
183
  });
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)
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)
187
195
  ]),
188
196
  _: 1
189
197
  })
190
198
  ]),
191
- f("div", null, [
192
- _(h, {
199
+ g("div", null, [
200
+ N(S, {
193
201
  "prepend-icon": "link",
194
- label: c(m)("inventory.supplier.supplyItems.addItems"),
202
+ label: f(o)("inventory.supplier.supplyItems.addItems"),
195
203
  variant: "plain",
196
- onClick: n
204
+ onClick: $
197
205
  }, null, 8, ["label"])
198
206
  ])
199
207
  ]),
200
- f("div", b0, T(c(m)("inventory.supplier.supplyItems.overridePriceHint")), 1)
208
+ g("div", yt, A(f(o)("inventory.supplier.supplyItems.overridePriceHint")), 1)
201
209
  ]),
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,
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,
207
215
  class: "flex"
208
216
  }, [
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)
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)
213
221
  ])
214
222
  ]),
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",
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",
222
230
  separator: "/",
223
231
  "apply-default-rules": "",
224
232
  precision: 4,
225
233
  "format-minimum-precision": 2
226
234
  }, {
227
- prepend: L(() => {
228
- var R, w;
235
+ prepend: k(() => {
236
+ var w, V;
229
237
  return [
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)
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)
231
239
  ];
232
240
  }),
233
241
  _: 2
234
242
  }, 1032, ["model-value", "unit", "onUpdate:modelValue", "placement"]),
235
- f("div", null, [
236
- _(h, {
243
+ g("div", null, [
244
+ N(S, {
237
245
  "prepend-icon": "close",
238
246
  variant: "tertiary",
239
- onClick: (R) => x(b)
247
+ onClick: (w) => u(_)
240
248
  }, null, 8, ["onClick"])
241
249
  ])
242
250
  ])
@@ -247,256 +255,256 @@ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v
247
255
  ]);
248
256
  };
249
257
  }
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 = {
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 = {
251
259
  key: 0,
252
260
  class: "flex flex-col gap-8"
253
- }, U0 = /* @__PURE__ */ Z({
261
+ }, Dt = /* @__PURE__ */ Q({
254
262
  __name: "SupplierForm",
255
263
  props: {
256
264
  modelValue: {},
257
265
  disabled: { type: Boolean }
258
266
  },
259
267
  emits: ["update:modelValue", "validation-success"],
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({
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({
262
270
  get() {
263
- var e;
264
- return ((e = $.modelValue) == null ? void 0 : e.name) ?? "";
271
+ var s;
272
+ return ((s = r.modelValue) == null ? void 0 : s.name) ?? "";
265
273
  },
266
- set(e) {
267
- const d = $.modelValue ?? {};
268
- d.name = e, p("update:modelValue", d);
274
+ set(s) {
275
+ const i = r.modelValue ?? {};
276
+ i.name = s, n("update:modelValue", i);
269
277
  }
270
- }), v = A({
278
+ }), y = F({
271
279
  get() {
272
- var e;
273
- return ((e = $.modelValue) == null ? void 0 : e.registrationNumber) ?? "";
280
+ var s;
281
+ return ((s = r.modelValue) == null ? void 0 : s.registrationNumber) ?? "";
274
282
  },
275
- set(e) {
276
- const d = $.modelValue ?? {};
277
- d.registrationNumber = e, p("update:modelValue", d);
283
+ set(s) {
284
+ const i = r.modelValue ?? {};
285
+ i.registrationNumber = s, n("update:modelValue", i);
278
286
  }
279
- }), u = A({
287
+ }), v = F({
280
288
  get() {
281
- var e, d;
282
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line1) ?? "";
289
+ var s, i;
290
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.line1) ?? "";
283
291
  },
284
- set(e) {
285
- const d = $.modelValue ?? {};
286
- d.address ?? (d.address = {}), d.address.line1 = e, p("update:modelValue", d);
292
+ set(s) {
293
+ const i = r.modelValue ?? {};
294
+ i.address ?? (i.address = {}), i.address.line1 = s, n("update:modelValue", i);
287
295
  }
288
- }), g = A({
296
+ }), c = F({
289
297
  get() {
290
- var e, d;
291
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.line2) ?? "";
298
+ var s, i;
299
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.line2) ?? "";
292
300
  },
293
- set(e) {
294
- const d = $.modelValue ?? {};
295
- d.address ?? (d.address = {}), d.address.line2 = e, p("update:modelValue", d);
301
+ set(s) {
302
+ const i = r.modelValue ?? {};
303
+ i.address ?? (i.address = {}), i.address.line2 = s, n("update:modelValue", i);
296
304
  }
297
- }), h = A({
305
+ }), S = F({
298
306
  get() {
299
- var e, d;
300
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.city) ?? "";
307
+ var s, i;
308
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.city) ?? "";
301
309
  },
302
- set(e) {
303
- const d = $.modelValue ?? {};
304
- d.address ?? (d.address = {}), d.address.city = e, p("update:modelValue", d);
310
+ set(s) {
311
+ const i = r.modelValue ?? {};
312
+ i.address ?? (i.address = {}), i.address.city = s, n("update:modelValue", i);
305
313
  }
306
- }), C = A({
314
+ }), b = F({
307
315
  get() {
308
- var e, d;
309
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.postcode) ?? "";
316
+ var s, i;
317
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.postcode) ?? "";
310
318
  },
311
- set(e) {
312
- const d = $.modelValue ?? {};
313
- d.address ?? (d.address = {}), d.address.postcode = e, p("update:modelValue", d);
319
+ set(s) {
320
+ const i = r.modelValue ?? {};
321
+ i.address ?? (i.address = {}), i.address.postcode = s, n("update:modelValue", i);
314
322
  }
315
- }), b = A({
323
+ }), _ = F({
316
324
  get() {
317
- var e, d;
318
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.state) ?? "";
325
+ var s, i;
326
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.state) ?? "";
319
327
  },
320
- set(e) {
321
- const d = $.modelValue ?? {};
322
- d.address ?? (d.address = {}), d.address.state = e, p("update:modelValue", d);
328
+ set(s) {
329
+ const i = r.modelValue ?? {};
330
+ i.address ?? (i.address = {}), i.address.state = s, n("update:modelValue", i);
323
331
  }
324
- }), l = A({
332
+ }), I = F({
325
333
  get() {
326
- var e, d;
327
- return ((d = (e = $.modelValue) == null ? void 0 : e.address) == null ? void 0 : d.country) ?? "";
334
+ var s, i;
335
+ return ((i = (s = r.modelValue) == null ? void 0 : s.address) == null ? void 0 : i.country) ?? "";
328
336
  },
329
- set(e) {
330
- const d = $.modelValue ?? {};
331
- d.address ?? (d.address = {}), d.address.country = e, p("update:modelValue", d);
337
+ set(s) {
338
+ const i = r.modelValue ?? {};
339
+ i.address ?? (i.address = {}), i.address.country = s, n("update:modelValue", i);
332
340
  }
333
- }), M = A({
341
+ }), h = F({
334
342
  get() {
335
- var e;
336
- return ((e = $.modelValue) == null ? void 0 : e.contactName) ?? "";
343
+ var s;
344
+ return ((s = r.modelValue) == null ? void 0 : s.contactName) ?? "";
337
345
  },
338
- set(e) {
339
- const d = $.modelValue ?? {};
340
- d.contactName = e, p("update:modelValue", d);
346
+ set(s) {
347
+ const i = r.modelValue ?? {};
348
+ i.contactName = s, n("update:modelValue", i);
341
349
  }
342
- }), P = A({
350
+ }), P = F({
343
351
  get() {
344
- var e;
345
- return ((e = $.modelValue) == null ? void 0 : e.phoneNumber) ?? "";
352
+ var s;
353
+ return ((s = r.modelValue) == null ? void 0 : s.phoneNumber) ?? "";
346
354
  },
347
- set(e) {
348
- const d = $.modelValue ?? {};
349
- d.phoneNumber = e, p("update:modelValue", d);
355
+ set(s) {
356
+ const i = r.modelValue ?? {};
357
+ i.phoneNumber = s, n("update:modelValue", i);
350
358
  }
351
- }), R = A({
359
+ }), w = F({
352
360
  get() {
353
- var e;
354
- return ((e = $.modelValue) == null ? void 0 : e.email) ?? "";
361
+ var s;
362
+ return ((s = r.modelValue) == null ? void 0 : s.email) ?? "";
355
363
  },
356
- set(e) {
357
- const d = $.modelValue ?? {};
358
- d.email = e, p("update:modelValue", d);
364
+ set(s) {
365
+ const i = r.modelValue ?? {};
366
+ i.email = s, n("update:modelValue", i);
359
367
  }
360
- }), w = A({
368
+ }), V = F({
361
369
  get() {
362
- var d;
363
- return (((d = $.modelValue) == null ? void 0 : d.supplyItems) ?? []).filter((E) => n.value[E.skuId]);
370
+ var i;
371
+ return (((i = r.modelValue) == null ? void 0 : i.supplyItems) ?? []).filter((Z) => $.value[Z.skuId]);
364
372
  },
365
- set(e) {
366
- const d = $.modelValue ?? {};
367
- d.supplyItems = e, p("update:modelValue", d);
373
+ set(s) {
374
+ const i = r.modelValue ?? {};
375
+ i.supplyItems = s, n("update:modelValue", i);
368
376
  }
369
- }), B = F();
370
- return t({
377
+ }), D = L();
378
+ return d({
371
379
  validateInputs: () => {
372
- var e, d;
373
- (d = (e = B.value) == null ? void 0 : e.validateInputs) == null || d.call(e);
380
+ var s, i;
381
+ (i = (s = D.value) == null ? void 0 : s.validateInputs) == null || i.call(s);
374
382
  },
375
383
  resetInputsValidation: () => {
376
- var e, d;
377
- (d = (e = B.value) == null ? void 0 : e.resetInputsValidation) == null || d.call(e);
384
+ var s, i;
385
+ (i = (s = D.value) == null ? void 0 : s.resetInputsValidation) == null || i.call(s);
378
386
  },
379
387
  resetInputs: () => {
380
- var e, d;
381
- (d = (e = B.value) == null ? void 0 : e.resetInputs) == null || d.call(e);
388
+ var s, i;
389
+ (i = (s = D.value) == null ? void 0 : s.resetInputs) == null || i.call(s);
382
390
  }
383
- }), (e, d) => {
384
- const E = k("FmChip"), N = k("FmTextField"), od = k("FmPhoneNumber"), D = k("FmForm");
385
- return V(), H(D, {
391
+ }), (s, i) => {
392
+ const Z = T("FmChip"), x = T("FmTextField"), R = T("FmPhoneNumber"), ge = T("FmForm");
393
+ return E(), j(ge, {
386
394
  ref_key: "formRef",
387
- ref: B,
388
- onValidationSuccess: d[12] || (d[12] = (S) => p("validation-success"))
395
+ ref: D,
396
+ onValidationSuccess: i[12] || (i[12] = (C) => n("validation-success"))
389
397
  }, {
390
- default: L(() => [
391
- f("div", P0, [
392
- f("div", E0, [
393
- y.value ? (V(), I("div", I0, [
394
- _(E, {
398
+ default: k(() => [
399
+ g("div", Et, [
400
+ g("div", xt, [
401
+ p.value ? (E(), O("div", It, [
402
+ N(Z, {
395
403
  label: "Business supplier",
396
404
  compact: ""
397
405
  })
398
406
  ])) : K("", !0),
399
- _(N, {
400
- disabled: e.disabled,
401
- rules: [c(G)()],
407
+ N(x, {
408
+ disabled: s.disabled,
409
+ rules: [f(G)()],
402
410
  "label-mark": "required",
403
- label: c(a)("inventory.supplier.companyName"),
404
- modelValue: i.value,
405
- "onUpdate:modelValue": d[0] || (d[0] = (S) => i.value = S)
411
+ label: f(l)("inventory.supplier.companyName"),
412
+ modelValue: m.value,
413
+ "onUpdate:modelValue": i[0] || (i[0] = (C) => m.value = C)
406
414
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
407
- _(N, {
408
- disabled: e.disabled,
409
- rules: [c(G)()],
415
+ N(x, {
416
+ disabled: s.disabled,
417
+ rules: [f(G)()],
410
418
  "label-mark": "required",
411
- label: c(a)("inventory.supplier.registrationNo"),
412
- modelValue: v.value,
413
- "onUpdate:modelValue": d[1] || (d[1] = (S) => v.value = S)
419
+ label: f(l)("inventory.supplier.registrationNo"),
420
+ modelValue: y.value,
421
+ "onUpdate:modelValue": i[1] || (i[1] = (C) => y.value = C)
414
422
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
415
423
  ]),
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)()],
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)()],
422
430
  "label-mark": "required",
423
- label: c(a)("inventory.supplier.address.line1"),
424
- modelValue: u.value,
425
- "onUpdate:modelValue": d[2] || (d[2] = (S) => u.value = S)
431
+ label: f(l)("inventory.supplier.address.line1"),
432
+ modelValue: v.value,
433
+ "onUpdate:modelValue": i[2] || (i[2] = (C) => v.value = C)
426
434
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
427
- _(N, {
428
- disabled: e.disabled,
435
+ N(x, {
436
+ disabled: s.disabled,
429
437
  "label-mark": "optional",
430
- label: c(a)("inventory.supplier.address.line2"),
431
- modelValue: g.value,
432
- "onUpdate:modelValue": d[3] || (d[3] = (S) => g.value = S)
438
+ label: f(l)("inventory.supplier.address.line2"),
439
+ modelValue: c.value,
440
+ "onUpdate:modelValue": i[3] || (i[3] = (C) => c.value = C)
433
441
  }, null, 8, ["disabled", "label", "modelValue"]),
434
- _(N, {
435
- disabled: e.disabled,
436
- rules: [c(G)()],
442
+ N(x, {
443
+ disabled: s.disabled,
444
+ rules: [f(G)()],
437
445
  "label-mark": "required",
438
- label: c(a)("inventory.supplier.address.city"),
439
- modelValue: h.value,
440
- "onUpdate:modelValue": d[4] || (d[4] = (S) => h.value = S)
446
+ label: f(l)("inventory.supplier.address.city"),
447
+ modelValue: S.value,
448
+ "onUpdate:modelValue": i[4] || (i[4] = (C) => S.value = C)
441
449
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
442
- _(N, {
443
- disabled: e.disabled,
444
- rules: [c(G)()],
450
+ N(x, {
451
+ disabled: s.disabled,
452
+ rules: [f(G)()],
445
453
  "label-mark": "required",
446
- label: c(a)("inventory.supplier.address.postcode"),
447
- modelValue: C.value,
448
- "onUpdate:modelValue": d[5] || (d[5] = (S) => C.value = S)
454
+ label: f(l)("inventory.supplier.address.postcode"),
455
+ modelValue: b.value,
456
+ "onUpdate:modelValue": i[5] || (i[5] = (C) => b.value = C)
449
457
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
450
- _(N, {
451
- disabled: e.disabled,
452
- rules: [c(G)()],
458
+ N(x, {
459
+ disabled: s.disabled,
460
+ rules: [f(G)()],
453
461
  "label-mark": "required",
454
- label: c(a)("inventory.supplier.address.state"),
455
- modelValue: b.value,
456
- "onUpdate:modelValue": d[6] || (d[6] = (S) => b.value = S)
462
+ label: f(l)("inventory.supplier.address.state"),
463
+ modelValue: _.value,
464
+ "onUpdate:modelValue": i[6] || (i[6] = (C) => _.value = C)
457
465
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
458
- _(N, {
459
- disabled: e.disabled,
460
- rules: [c(G)()],
466
+ N(x, {
467
+ disabled: s.disabled,
468
+ rules: [f(G)()],
461
469
  "label-mark": "required",
462
- label: c(a)("inventory.supplier.address.country"),
463
- modelValue: l.value,
464
- "onUpdate:modelValue": d[7] || (d[7] = (S) => l.value = S)
470
+ label: f(l)("inventory.supplier.address.country"),
471
+ modelValue: I.value,
472
+ "onUpdate:modelValue": i[7] || (i[7] = (C) => I.value = C)
465
473
  }, null, 8, ["disabled", "rules", "label", "modelValue"])
466
474
  ])
467
475
  ]),
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)()],
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)()],
474
482
  "label-mark": "required",
475
- label: c(a)("inventory.supplier.contact.pic"),
476
- modelValue: M.value,
477
- "onUpdate:modelValue": d[8] || (d[8] = (S) => M.value = S)
483
+ label: f(l)("inventory.supplier.contact.pic"),
484
+ modelValue: h.value,
485
+ "onUpdate:modelValue": i[8] || (i[8] = (C) => h.value = C)
478
486
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
479
- _(od, {
480
- disabled: e.disabled,
481
- rules: [c(G)()],
487
+ N(R, {
488
+ disabled: s.disabled,
489
+ rules: [f(G)()],
482
490
  "label-mark": "required",
483
- label: c(a)("inventory.supplier.contact.phoneNumber"),
491
+ label: f(l)("inventory.supplier.contact.phoneNumber"),
484
492
  modelValue: P.value,
485
- "onUpdate:modelValue": d[9] || (d[9] = (S) => P.value = S)
493
+ "onUpdate:modelValue": i[9] || (i[9] = (C) => P.value = C)
486
494
  }, null, 8, ["disabled", "rules", "label", "modelValue"]),
487
- _(N, {
488
- disabled: e.disabled,
495
+ N(x, {
496
+ disabled: s.disabled,
489
497
  "label-mark": "optional",
490
- label: c(a)("inventory.supplier.contact.email"),
491
- modelValue: R.value,
492
- "onUpdate:modelValue": d[10] || (d[10] = (S) => R.value = S)
498
+ label: f(l)("inventory.supplier.contact.email"),
499
+ modelValue: w.value,
500
+ "onUpdate:modelValue": i[10] || (i[10] = (C) => w.value = C)
493
501
  }, null, 8, ["disabled", "label", "modelValue"])
494
502
  ])
495
503
  ]),
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)
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)
500
508
  }, null, 8, ["modelValue"])
501
509
  ])) : K("", !0)
502
510
  ])
@@ -505,7 +513,10 @@ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v
505
513
  }, 512);
506
514
  };
507
515
  }
508
- }), L0 = { class: "flex gap-4" }, G0 = /* @__PURE__ */ Z({
516
+ }), Lt = {
517
+ key: 0,
518
+ class: "mt-5 flex flex-col gap-4"
519
+ }, kt = { class: "flex gap-4" }, Vt = /* @__PURE__ */ Q({
509
520
  __name: "SupplierDialog",
510
521
  props: {
511
522
  mode: {},
@@ -513,138 +524,147 @@ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v
513
524
  show: { type: Boolean }
514
525
  },
515
526
  emits: ["update:show", "submitted"],
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) {
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) {
519
530
  case U.READ:
520
531
  return "";
521
532
  case U.UPDATE:
522
- return n("inventory.supplier.update.title");
533
+ return l("inventory.supplier.update.title");
523
534
  case U.CREATE:
524
- return n("inventory.supplier.create.title");
535
+ return l("inventory.supplier.create.title");
525
536
  }
526
537
  return "";
527
- }), y = A(() => {
528
- switch ($.mode) {
538
+ }), m = F(() => {
539
+ switch (n.mode) {
529
540
  case U.READ:
530
541
  return "";
531
542
  case U.UPDATE:
532
- return n("common.save");
543
+ return l("common.save");
533
544
  case U.CREATE:
534
- return n("common.add");
545
+ return l("common.add");
535
546
  }
536
547
  return "";
537
- }), i = F();
538
- t({
548
+ }), y = L();
549
+ d({
539
550
  validateInputs: () => {
540
- var l, M;
541
- (M = (l = i.value) == null ? void 0 : l.validateInputs) == null || M.call(l);
551
+ var h, P;
552
+ (P = (h = y.value) == null ? void 0 : h.validateInputs) == null || P.call(h);
542
553
  },
543
554
  resetInputsValidation: () => {
544
- var l, M;
545
- (M = (l = i.value) == null ? void 0 : l.resetInputsValidation) == null || M.call(l);
555
+ var h, P;
556
+ (P = (h = y.value) == null ? void 0 : h.resetInputsValidation) == null || P.call(h);
546
557
  },
547
558
  resetInputs: () => {
548
- var l, M;
549
- (M = (l = i.value) == null ? void 0 : l.resetInputs) == null || M.call(l);
559
+ var h, P;
560
+ (P = (h = y.value) == null ? void 0 : h.resetInputs) == null || P.call(h);
550
561
  }
551
562
  });
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);
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);
556
567
  }
557
- function h() {
558
- switch ($.mode) {
568
+ function b() {
569
+ switch (n.mode) {
559
570
  case U.READ:
560
571
  return;
561
572
  case U.UPDATE:
562
- return b();
573
+ return I();
563
574
  case U.CREATE:
564
- return C();
575
+ return _();
565
576
  }
566
577
  }
567
- async function C() {
568
- m.value = !0;
578
+ async function _() {
579
+ a.value = !0;
569
580
  try {
570
581
  await Promise.all([
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 }),
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 }),
576
587
  type: "success"
577
- }), p("update:show", !1), p("submitted");
578
- } catch (l) {
579
- s.open({
588
+ }), o("update:show", !1), o("submitted");
589
+ } catch (h) {
590
+ $.open({
580
591
  title: "Something went wrong",
581
- message: `Cannot create ${u.value.name} supplier. Please try again`,
592
+ message: `Cannot create ${c.value.name} supplier. Please try again`,
582
593
  type: "error"
583
- }), console.error("cannot create supplier", l);
594
+ }), console.error("cannot create supplier", h);
584
595
  } finally {
585
- m.value = !1;
596
+ a.value = !1;
586
597
  }
587
598
  }
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"),
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"),
593
604
  type: "error"
594
605
  });
595
606
  return;
596
607
  }
597
- m.value = !0;
608
+ a.value = !0;
598
609
  try {
599
610
  await Promise.all([
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 }),
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 }),
605
616
  type: "success"
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"),
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"),
611
622
  type: "error"
612
- }), console.error("cannot update supplier", l);
623
+ }), console.error("cannot update supplier", h);
613
624
  } finally {
614
- m.value = !1;
625
+ a.value = !1;
615
626
  }
616
627
  }
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,
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,
624
635
  "close-button": "",
625
636
  "max-width": 500
626
637
  }, {
627
- default: L(() => {
628
- var w;
638
+ default: k(() => {
639
+ var i;
629
640
  return [
630
- (V(), H(U0, {
641
+ (E(), j(Dt, {
631
642
  class: "w-full",
632
643
  ref_key: "formRef",
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"]))
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)
640
660
  ];
641
661
  }),
642
- "side-sheet-footer": L(() => [
643
- f("div", L0, [
644
- _(P, {
645
- loading: m.value,
646
- label: y.value,
647
- onClick: g
662
+ "side-sheet-footer": k(() => [
663
+ g("div", kt, [
664
+ N(D, {
665
+ loading: a.value,
666
+ label: m.value,
667
+ onClick: S
648
668
  }, null, 8, ["loading", "label"])
649
669
  ])
650
670
  ]),
@@ -652,69 +672,1615 @@ const m0 = { class: "flex flex-col gap-12" }, f0 = { class: "flex flex-col" }, v
652
672
  }, 8, ["header", "modelValue", "dismiss-away"]);
653
673
  };
654
674
  }
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);
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;
659
2135
  }
660
- function Pd(r, t) {
661
- var o = Object.keys(r);
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);
662
2143
  if (Object.getOwnPropertySymbols) {
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, $));
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));
677
2158
  });
678
2159
  }
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];
679
2184
  return r;
680
2185
  }
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;
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;
683
2207
  }
684
- function Y0(r, t, o) {
685
- t && t.defaultCountry && !l0(t.defaultCountry, o) && (t = Ed(Ed({}, t), {}, {
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), {}, {
686
2252
  defaultCountry: void 0
687
2253
  }));
688
2254
  try {
689
- return a0(r, t, o);
690
- } catch ($) {
691
- if (!($ instanceof i0)) throw $;
2255
+ return A1(e, d, t);
2256
+ } catch (r) {
2257
+ if (!(r instanceof H)) throw r;
692
2258
  }
693
2259
  }
694
- function W0() {
695
- var r = u0(arguments), t = r.text, o = r.options, $ = r.metadata;
696
- return Y0(t, o, $);
2260
+ function H1() {
2261
+ var e = U1(arguments), d = e.text, t = e.options, r = e.metadata;
2262
+ return G1(d, t, r);
697
2263
  }
698
- function Z0() {
699
- return K0(W0, arguments);
2264
+ function j1() {
2265
+ return Bt(H1, arguments);
700
2266
  }
701
- function z0(r) {
2267
+ function K1(e) {
702
2268
  return {
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 ?? ""
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 ?? ""
715
2281
  };
716
2282
  }
717
- function Ud() {
2283
+ function Bd() {
718
2284
  return [
719
2285
  {
720
2286
  id: "id",
@@ -766,7 +2332,7 @@ function Ud() {
766
2332
  }
767
2333
  ];
768
2334
  }
769
- function J0() {
2335
+ function W1() {
770
2336
  return [
771
2337
  {
772
2338
  id: "name",
@@ -806,40 +2372,40 @@ function J0() {
806
2372
  }
807
2373
  ];
808
2374
  }
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],
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],
814
2380
  [],
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],
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],
825
2391
  [],
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;
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;
829
2395
  }
830
- function Q0(r) {
2396
+ function Z1(e) {
831
2397
  const [
2398
+ d,
832
2399
  t,
2400
+ r,
2401
+ n,
833
2402
  o,
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:")))
2403
+ a,
2404
+ ...$
2405
+ ] = at(e);
2406
+ if (!d || !d.length || d.some((y) => y.length && !y.startsWith("system:")))
841
2407
  throw new Error("Missing meta header. Excel file does not come from the template.");
842
- const a = t.map((v) => v.split(":")[1]), y = [
2408
+ const l = d.map((y) => y.split(":")[1]), p = [
843
2409
  "id",
844
2410
  "name",
845
2411
  "regNo",
@@ -850,105 +2416,105 @@ function Q0(r) {
850
2416
  "addressCountry",
851
2417
  "picName",
852
2418
  "picPhoneNumber"
853
- ].filter((v) => !a.includes(v));
854
- if (y.length)
2419
+ ].filter((y) => !l.includes(y));
2420
+ if (p.length)
855
2421
  throw new Error(
856
- `Missing meta headers (${y.join()}). Excel file does not come from the template.`
2422
+ `Missing meta headers (${p.join()}). Excel file does not come from the template.`
857
2423
  );
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] });
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] });
863
2429
  }
864
2430
  return {
865
- index: u,
866
- data: g
2431
+ index: v,
2432
+ data: c
867
2433
  };
868
2434
  });
869
2435
  }
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(), {
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(), {
874
2440
  type: "create",
875
2441
  supplier: {
876
2442
  _id: "",
877
- name: r.name,
878
- registrationNumber: r.regNo,
2443
+ name: e.name,
2444
+ registrationNumber: e.regNo,
879
2445
  address: {
880
- line2: r.addressLine2,
881
- line1: r.addressLine1,
882
- state: r.addressState,
883
- city: r.addressCity,
884
- postcode: r.addressPostcode,
885
- country: r.addressCountry
2446
+ line2: e.addressLine2,
2447
+ line1: e.addressLine1,
2448
+ state: e.addressState,
2449
+ city: e.addressCity,
2450
+ postcode: e.addressPostcode,
2451
+ country: e.addressCountry
886
2452
  },
887
- contactName: r.picName,
888
- phoneNumber: r.picPhoneNumber,
889
- email: r.picEmail
2453
+ contactName: e.picName,
2454
+ phoneNumber: e.picPhoneNumber,
2455
+ email: e.picEmail
890
2456
  },
891
- errors: o,
892
- excelRowNumber: t + 6
2457
+ errors: t,
2458
+ excelRowNumber: d + 6
893
2459
  };
894
2460
  }
895
- function X0(r) {
2461
+ function z1(e) {
896
2462
  try {
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)
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)
900
2466
  return {
901
- ...i,
2467
+ ...m,
902
2468
  type: "update",
903
- original: i.supplier,
904
- supplier: i.supplier,
2469
+ original: m.supplier,
2470
+ supplier: m.supplier,
905
2471
  errors: [
906
- ...i.errors,
907
- `Cannot find supplier id ${y.data.id} in the system. Reexport supplier excel to obtain the correct value.`
2472
+ ...m.errors,
2473
+ `Cannot find supplier id ${p.data.id} in the system. Reexport supplier excel to obtain the correct value.`
908
2474
  ]
909
2475
  };
910
- const u = t.filter(
911
- (h) => h.index !== y.index && h.data.id === v._id
2476
+ const v = d.filter(
2477
+ (S) => S.index !== p.index && S.data.id === y._id
912
2478
  );
913
- return u.length > 1 && i.errors.push(
914
- `ID ${v._id} is already used in row ${u.map((h) => h.index + 6).join()}.`
2479
+ return v.length > 1 && m.errors.push(
2480
+ `ID ${y._id} is already used in row ${v.map((S) => S.index + 6).join()}.`
915
2481
  ), {
916
- ...i,
2482
+ ...m,
917
2483
  type: "update",
918
- original: v,
2484
+ original: y,
919
2485
  supplier: {
920
- ...v,
921
- name: i.supplier.name,
2486
+ ...y,
2487
+ name: m.supplier.name,
922
2488
  address: {
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
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
929
2495
  },
930
- registrationNumber: i.supplier.registrationNumber
2496
+ registrationNumber: m.supplier.registrationNumber
931
2497
  }
932
2498
  };
933
2499
  });
934
2500
  return {
935
2501
  invalidExcel: !1,
936
- importCreateResult: a,
937
- importUpdateResult: x
2502
+ importCreateResult: l,
2503
+ importUpdateResult: u
938
2504
  };
939
- } catch (t) {
2505
+ } catch (d) {
940
2506
  return {
941
2507
  invalidExcel: !0,
942
- invalidExcelMessage: (t == null ? void 0 : t.message) ?? "Invalid excel",
2508
+ invalidExcelMessage: (d == null ? void 0 : d.message) ?? "Invalid excel",
943
2509
  importCreateResult: [],
944
2510
  importUpdateResult: []
945
2511
  };
946
2512
  }
947
2513
  }
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 = {
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 = {
949
2515
  key: 0,
950
2516
  class: "text-fm-color-typo-secondary fm-typo-en-body-sm-400"
951
- }, o1 = { key: 0 }, Rd = /* @__PURE__ */ Z({
2517
+ }, dr = { key: 0 }, xd = /* @__PURE__ */ Q({
952
2518
  __name: "SupplierImportItem",
953
2519
  props: {
954
2520
  type: {},
@@ -956,31 +2522,31 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
956
2522
  pic: {},
957
2523
  errors: {}
958
2524
  },
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
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
970
2536
  })
971
2537
  }, [
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)
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)
974
2540
  ], 2),
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))
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))
980
2546
  ])
981
2547
  ]),
982
- default: L(() => [
983
- _(p, {
2548
+ default: k(() => [
2549
+ N(n, {
984
2550
  name: "error",
985
2551
  size: "sm",
986
2552
  color: "system-error-300"
@@ -990,157 +2556,157 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
990
2556
  })
991
2557
  ])) : K("", !0)
992
2558
  ]),
993
- f("div", {
994
- class: W([
2559
+ g("div", {
2560
+ class: J([
995
2561
  "fm-typo-en-body-sm-400",
996
2562
  {
997
- "text-fm-color-system-error-200": o.errors.length,
998
- "text-fm-color-typo-secondary": !o.errors.length
2563
+ "text-fm-color-system-error-200": t.errors.length,
2564
+ "text-fm-color-typo-secondary": !t.errors.length
999
2565
  }
1000
2566
  ])
1001
- }, T(o.pic), 3)
2567
+ }, A(t.pic), 3)
1002
2568
  ])
1003
2569
  ]);
1004
2570
  };
1005
2571
  }
1006
- }), r1 = { class: "flex flex-col gap-24" }, s1 = { class: "fm-typo-en-body-md-400" }, n1 = {
2572
+ }), tr = { class: "flex flex-col gap-24" }, rr = { class: "fm-typo-en-body-md-400" }, nr = {
1007
2573
  key: 0,
1008
2574
  class: "flex items-center gap-8"
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 = {
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 = {
1010
2576
  key: 2,
1011
2577
  class: "shrink-0"
1012
- }, p1 = {
2578
+ }, lr = {
1013
2579
  key: 0,
1014
2580
  class: "flex flex-col"
1015
- }, c1 = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, m1 = {
2581
+ }, sr = { class: "text-fm-color-system-error-300 fm-typo-en-body-sm-400" }, ur = {
1016
2582
  key: 0,
1017
2583
  class: "max-h-[200px] overflow-y-auto flex flex-col gap-8"
1018
- }, f1 = { class: "fm-typo-en-body-lg-600" }, v1 = /* @__PURE__ */ Z({
2584
+ }, cr = { class: "fm-typo-en-body-lg-600" }, fr = /* @__PURE__ */ Q({
1019
2585
  __name: "SupplierImport",
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 = [];
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 = [];
1028
2594
  try {
1029
- p.value = !0;
1030
- const [g] = await Promise.all([
1031
- s0(u),
2595
+ n.value = !0;
2596
+ const [c] = await Promise.all([
2597
+ it(v),
1032
2598
  // fake buffer
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"));
2599
+ new Promise((_) => setTimeout(_, 1e3))
2600
+ ]), S = c.SheetNames.find((_) => _);
2601
+ if (!S) {
2602
+ a.value.push(m("inventory.ingredient.import.fileError.noSheet"));
1037
2603
  return;
1038
2604
  }
1039
- const C = X0(g.Sheets[h]);
1040
- if (C.invalidExcel) {
1041
- s.value.push(
1042
- C.invalidExcelMessage ?? i("inventory.ingredient.import.fileError.invalidExcel")
2605
+ const b = z1(c.Sheets[S]);
2606
+ if (b.invalidExcel) {
2607
+ a.value.push(
2608
+ b.invalidExcelMessage ?? m("inventory.ingredient.import.fileError.invalidExcel")
1043
2609
  );
1044
2610
  return;
1045
2611
  }
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"));
2612
+ if ($.value = b.importCreateResult, l.value = b.importUpdateResult, !$.value.length && !l.value.length) {
2613
+ a.value.push(m("inventory.ingredient.import.fileError.noData"));
1048
2614
  return;
1049
2615
  }
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,
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,
1055
2621
  type: "error"
1056
- }), console.error("Error in reading file", g);
2622
+ }), console.error("Error in reading file", c);
1057
2623
  } finally {
1058
- s.value.length && $.open({
1059
- title: i("inventory.ingredient.import.fileError.invalidExcel"),
2624
+ a.value.length && r.open({
2625
+ title: m("inventory.ingredient.import.fileError.invalidExcel"),
1060
2626
  type: "error"
1061
- }), p.value = !1;
2627
+ }), n.value = !1;
1062
2628
  }
1063
2629
  }
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, {
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, {
1073
2639
  size: "md",
1074
2640
  color: "neutral-gray-200"
1075
2641
  })
1076
2642
  ]),
1077
- f("div", l1, T(c(i)("inventory.formField.loading")), 1)
1078
- ])) : (V(), I(Y, { key: 1 }, [
1079
- _(p0, {
1080
- class: W({
2643
+ g("div", or, A(f(m)("inventory.formField.loading")), 1)
2644
+ ])) : (E(), O(q, { key: 1 }, [
2645
+ N(lt, {
2646
+ class: J({
1081
2647
  "w-full": !0,
1082
- "h-[200px]": !t.value
2648
+ "h-[200px]": !d.value
1083
2649
  }),
1084
2650
  accept: ".xlsx",
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 ? {
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 ? {
1090
2656
  name: "default",
1091
- fn: L(({ openFileDialog: l }) => [
1092
- f("div", a1, [
1093
- f("div", {
1094
- class: W([
2657
+ fn: k(({ openFileDialog: I }) => [
2658
+ g("div", ar, [
2659
+ g("div", {
2660
+ class: J([
1095
2661
  "fm-corner-radius-md p-16 flex items-center gap-16",
1096
2662
  {
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
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
1100
2666
  }
1101
2667
  ])
1102
2668
  }, [
1103
- p.value ? (V(), H(h, {
2669
+ n.value ? (E(), j(S, {
1104
2670
  key: 0,
1105
2671
  size: "md",
1106
2672
  color: "neutral-gray-200"
1107
- })) : (V(), H(C, {
2673
+ })) : (E(), j(b, {
1108
2674
  key: 1,
1109
- name: x.value ? "error" : "attach_file",
2675
+ name: u.value ? "error" : "attach_file",
1110
2676
  outline: "",
1111
- color: x.value ? "system-error-300" : void 0
2677
+ color: u.value ? "system-error-300" : void 0
1112
2678
  }, null, 8, ["name", "color"])),
1113
- f("div", {
1114
- class: W([
2679
+ g("div", {
2680
+ class: J([
1115
2681
  "fm-typo-en-body-md-400 flex-1 h-[36px] flex items-center",
1116
2682
  {
1117
- "text-fm-color-typo-disabled": p.value,
1118
- "text-fm-color-typo-primary": !p.value
2683
+ "text-fm-color-typo-disabled": n.value,
2684
+ "text-fm-color-typo-primary": !n.value
1119
2685
  }
1120
2686
  ])
1121
2687
  }, [
1122
- f("div", i1, T(t.value.name), 1)
2688
+ g("div", ir, A(d.value.name), 1)
1123
2689
  ], 2),
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
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
1130
2696
  }, null, 8, ["label", "variant", "prepend-icon", "onClick"])
1131
2697
  ]))
1132
2698
  ], 2),
1133
- s.value.length ? (V(), I("div", p1, [
1134
- (V(!0), I(Y, null, z(s.value, (M, P) => (V(), I("div", {
2699
+ a.value.length ? (E(), O("div", lr, [
2700
+ (E(!0), O(q, null, ee(a.value, (h, P) => (E(), O("div", {
1135
2701
  key: P,
1136
2702
  class: "flex gap-8 items-center"
1137
2703
  }, [
1138
- _(C, {
2704
+ N(b, {
1139
2705
  name: "error",
1140
2706
  size: "sm",
1141
2707
  color: "system-error-300"
1142
2708
  }),
1143
- f("div", c1, T(M), 1)
2709
+ g("div", sr, A(h), 1)
1144
2710
  ]))), 128))
1145
2711
  ])) : K("", !0)
1146
2712
  ])
@@ -1148,20 +2714,20 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
1148
2714
  key: "0"
1149
2715
  } : void 0
1150
2716
  ]), 1032, ["class", "label", "button-label"]),
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,
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,
1158
2724
  type: "create"
1159
2725
  }, null, 8, ["name", "pic", "errors"]))), 128)),
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,
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,
1165
2731
  type: "update"
1166
2732
  }, null, 8, ["name", "pic", "errors"]))), 128))
1167
2733
  ])) : K("", !0)
@@ -1169,195 +2735,195 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
1169
2735
  ]);
1170
2736
  };
1171
2737
  }
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,
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,
1178
2744
  overlay: !0,
1179
2745
  closeButton: !0,
1180
2746
  primaryActions: {
1181
- text: o("common.import"),
2747
+ text: t("common.import"),
1182
2748
  close: !1
1183
2749
  },
1184
2750
  secondaryActions: {
1185
- text: o("common.close"),
2751
+ text: t("common.close"),
1186
2752
  close: !0
1187
2753
  },
1188
2754
  tertiaryActions: {
1189
- text: o("inventory.supplier.import.actions.downloadTemplate"),
2755
+ text: t("inventory.supplier.import.actions.downloadTemplate"),
1190
2756
  close: !1,
1191
2757
  variant: "plain"
1192
2758
  }
1193
- }).onPrimary((n) => {
1194
- if (!n) {
1195
- $.open({
1196
- title: o("inventory.supplier.import.error.noData"),
2759
+ }).onPrimary(($) => {
2760
+ if (!$) {
2761
+ r.open({
2762
+ title: t("inventory.supplier.import.error.noData"),
1197
2763
  type: "error"
1198
2764
  });
1199
2765
  return;
1200
2766
  }
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"),
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"),
1205
2771
  type: "error"
1206
2772
  });
1207
2773
  return;
1208
2774
  }
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"),
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"),
1213
2779
  type: "error"
1214
2780
  });
1215
2781
  return;
1216
2782
  }
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]),
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", [$]),
1225
2791
  type: "success"
1226
2792
  });
1227
2793
  }
1228
- async function s(n) {
2794
+ async function a($) {
1229
2795
  try {
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
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
1240
2806
  ])
1241
2807
  });
1242
2808
  };
1243
- for (const v of a.chunk(100))
1244
- i(), await r.importSuppliers(v);
1245
- $.open({
1246
- title: o("inventory.supplier.import.success"),
2809
+ for (const y of l.chunk(100))
2810
+ m(), await e.importSuppliers(y);
2811
+ r.open({
2812
+ title: t("inventory.supplier.import.success"),
1247
2813
  type: "success"
1248
2814
  });
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]),
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]),
1253
2819
  type: "error"
1254
- }), console.error("Error in importing skus", n, a);
2820
+ }), console.error("Error in importing skus", $, l);
1255
2821
  } finally {
1256
- r.readSuppliers();
2822
+ e.readSuppliers();
1257
2823
  }
1258
2824
  }
1259
2825
  return {
1260
- importSuppliers: p,
1261
- exportSuppliers: m
2826
+ importSuppliers: n,
2827
+ exportSuppliers: o
1262
2828
  };
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 = {
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 = {
1264
2830
  key: 0,
1265
2831
  class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary"
1266
- }, _1 = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", H1 = /* @__PURE__ */ Z({
2832
+ }, br = "You are managing business-level supplier list. These suppliers will be made visible to all locations.", Ur = /* @__PURE__ */ Q({
1267
2833
  __name: "SupplierView",
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);
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;
1274
2840
  });
1275
- async function i() {
1276
- if (p._currentLocation) {
1277
- s.value = !0;
2841
+ async function y() {
2842
+ if (n._currentLocation) {
2843
+ $.value = !0;
1278
2844
  try {
1279
2845
  await Promise.all([
1280
- $.readSuppliers(),
1281
- new Promise((N) => setTimeout(N, 1e3))
2846
+ r.readSuppliers(),
2847
+ new Promise((R) => setTimeout(R, 1e3))
1282
2848
  ]);
1283
2849
  } catch {
1284
- a.open({
2850
+ u.open({
1285
2851
  title: "Cannot fetch supplier list",
1286
2852
  type: "error"
1287
2853
  });
1288
2854
  } finally {
1289
- s.value = !1;
2855
+ $.value = !1;
1290
2856
  }
1291
2857
  }
1292
2858
  }
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;
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;
1298
2864
  }
1299
- function h(E) {
1300
- u.value.mode = U.UPDATE, u.value.supplier = sd(E), u.value.show = !0;
2865
+ function b(x) {
2866
+ c.value.mode = U.UPDATE, c.value.supplier = Pe(x), c.value.show = !0;
1301
2867
  }
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 }),
2868
+ async function _(x) {
2869
+ l.open({
2870
+ title: p("inventory.supplier.delete.confirm"),
2871
+ message: p("inventory.supplier.delete.confirmMessage", { name: x.name }),
1306
2872
  primaryActions: {
1307
- text: x("common.delete"),
2873
+ text: p("common.delete"),
1308
2874
  close: !0,
1309
2875
  variant: "destructive"
1310
2876
  },
1311
2877
  secondaryActions: {
1312
- text: x("common.cancel"),
2878
+ text: p("common.cancel"),
1313
2879
  close: !0
1314
2880
  }
1315
- }).onPrimary(() => b(E));
2881
+ }).onPrimary(() => I(x));
1316
2882
  }
1317
- async function b(E) {
1318
- n.open({
1319
- title: x("inventory.supplier.deletingSupplier"),
2883
+ async function I(x) {
2884
+ l.open({
2885
+ title: p("inventory.supplier.deletingSupplier"),
1320
2886
  closeButton: !1
1321
2887
  });
1322
2888
  try {
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 }),
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 }),
1326
2892
  type: "success"
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 }),
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 }),
1332
2898
  type: "error"
1333
- }), console.error("failed to delete supplier", N);
2899
+ }), console.error("failed to delete supplier", R);
1334
2900
  } finally {
1335
- n.close();
2901
+ l.close();
1336
2902
  }
1337
2903
  }
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({
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({
1345
2911
  title: "Loading data...",
1346
2912
  message: "Please wait.",
1347
2913
  type: "info"
1348
2914
  });
1349
2915
  return;
1350
2916
  }
1351
- return t();
2917
+ return d();
1352
2918
  }
1353
- if (E === "export")
1354
- return o();
1355
- if (E === "refresh")
1356
- return i();
2919
+ if (x === "export")
2920
+ return t();
2921
+ if (x === "refresh")
2922
+ return y();
1357
2923
  }
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(() => [
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(() => [
1359
2925
  {
1360
- label: x("inventory.supplier.create.title"),
2926
+ label: p("inventory.supplier.create.title"),
1361
2927
  value: "create",
1362
2928
  isPrimary: !0,
1363
2929
  prependIcon: "add"
@@ -1378,71 +2944,74 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
1378
2944
  isPrimary: !1
1379
2945
  }
1380
2946
  ]);
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
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
1388
2954
  }, {
1389
- default: L(() => [
1390
- f("div", {
1391
- class: W([
2955
+ default: k(() => [
2956
+ g("div", {
2957
+ class: J([
1392
2958
  "flex flex-col gap-8 max-h-full",
1393
2959
  {
1394
- "p-0": w.value,
1395
- "px-24 ": !w.value
2960
+ "p-0": D.value,
2961
+ "px-24 ": !D.value
1396
2962
  }
1397
2963
  ])
1398
2964
  }, [
1399
- _(d0, {
2965
+ N(dt, {
1400
2966
  searchable: "",
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),
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
+ },
1409
2978
  "row-data": v.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
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
1414
2983
  }, {
1415
- "list-row": L((D) => [
1416
- _(zd, {
1417
- row: D,
1418
- onRowClick: h
2984
+ "list-row": k((C) => [
2985
+ N(Zd, {
2986
+ row: C,
2987
+ onRowClick: b
1419
2988
  }, {
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;
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;
1422
2991
  return [
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)
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)
1428
2997
  }, null, 8, ["render", "props"])
1429
2998
  ]),
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)
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)
1434
3003
  }, null, 8, ["render", "props"])
1435
3004
  ]),
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)
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)
1440
3009
  }, null, 8, ["render", "props"])
1441
3010
  ]),
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)
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)
1446
3015
  }, null, 8, ["render", "props"])
1447
3016
  ])) : K("", !0)
1448
3017
  ])
@@ -1452,23 +3021,23 @@ const d1 = { class: "flex items-center gap-12 pl-8" }, e1 = { class: "flex flex-
1452
3021
  }, 1032, ["row"])
1453
3022
  ]),
1454
3023
  _: 1
1455
- }, 8, ["style", "column-defs", "row-data", "search-value", "loading", "page-size"])
3024
+ }, 8, ["style", "column-defs", "columnVisibility", "row-data", "search-value", "loading", "page-size"])
1456
3025
  ], 2),
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())
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())
1464
3033
  }, null, 8, ["show", "supplier", "mode"])
1465
3034
  ]))
1466
3035
  ]),
1467
3036
  _: 1
1468
- }, 8, ["title", "actions"]);
3037
+ }, 8, ["title", "actions", "using-business-helper-text"]);
1469
3038
  };
1470
3039
  }
1471
3040
  });
1472
3041
  export {
1473
- H1 as default
3042
+ Ur as default
1474
3043
  };