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

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