@feedmepos/mf-inventory-portal 0.0.23-dev.4 → 0.0.23-dev.41

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