@one-payments/web-components 1.7.4 → 1.7.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -45,7 +45,7 @@ const In = (e) => new Ur(typeof e == "string" ? e : e + "", void 0, Ie), Tn = (e
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: Fn, defineProperty: On, getOwnPropertyDescriptor: Dn, getOwnPropertyNames: Rn, getOwnPropertySymbols: Ln, getPrototypeOf: Bn } = Object, q = globalThis, qe = q.trustedTypes, Un = qe ? qe.emptyScript : "", ie = q.reactiveElementPolyfillSupport, ft = (e, t) => e, Ht = { toAttribute(e, t) {
48
+ const { is: On, defineProperty: Fn, getOwnPropertyDescriptor: Dn, getOwnPropertyNames: Rn, getOwnPropertySymbols: Ln, getPrototypeOf: Bn } = Object, q = globalThis, qe = q.trustedTypes, Un = qe ? qe.emptyScript : "", ie = q.reactiveElementPolyfillSupport, pt = (e, t) => e, Ht = { toAttribute(e, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
51
  e = e ? Un : null;
@@ -73,7 +73,7 @@ const { is: Fn, defineProperty: On, getOwnPropertyDescriptor: Dn, getOwnProperty
73
73
  }
74
74
  }
75
75
  return r;
76
- } }, Te = (e, t) => !Fn(e, t), Ke = { attribute: !0, type: String, converter: Ht, reflect: !1, useDefault: !1, hasChanged: Te };
76
+ } }, Te = (e, t) => !On(e, t), Ke = { attribute: !0, type: String, converter: Ht, reflect: !1, useDefault: !1, hasChanged: Te };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), q.litPropertyMetadata ?? (q.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  let rt = class extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -85,7 +85,7 @@ let rt = class extends HTMLElement {
85
85
  static createProperty(t, r = Ke) {
86
86
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(t, r), !r.noAccessor) {
87
87
  const n = Symbol(), i = this.getPropertyDescriptor(t, n, r);
88
- i !== void 0 && On(this.prototype, t, i);
88
+ i !== void 0 && Fn(this.prototype, t, i);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, r, n) {
@@ -103,13 +103,13 @@ let rt = class extends HTMLElement {
103
103
  return this.elementProperties.get(t) ?? Ke;
104
104
  }
105
105
  static _$Ei() {
106
- if (this.hasOwnProperty(ft("elementProperties"))) return;
106
+ if (this.hasOwnProperty(pt("elementProperties"))) return;
107
107
  const t = Bn(this);
108
108
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(ft("finalized"))) return;
112
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(ft("properties"))) {
111
+ if (this.hasOwnProperty(pt("finalized"))) return;
112
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(pt("properties"))) {
113
113
  const r = this.properties, n = [...Rn(r), ...Ln(r)];
114
114
  for (const i of n) this.createProperty(i, r[i]);
115
115
  }
@@ -278,13 +278,13 @@ let rt = class extends HTMLElement {
278
278
  firstUpdated(t) {
279
279
  }
280
280
  };
281
- rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[ft("elementProperties")] = /* @__PURE__ */ new Map(), rt[ft("finalized")] = /* @__PURE__ */ new Map(), ie == null || ie({ ReactiveElement: rt }), (q.reactiveElementVersions ?? (q.reactiveElementVersions = [])).push("2.1.2");
281
+ rt.elementStyles = [], rt.shadowRootOptions = { mode: "open" }, rt[pt("elementProperties")] = /* @__PURE__ */ new Map(), rt[pt("finalized")] = /* @__PURE__ */ new Map(), ie == null || ie({ ReactiveElement: rt }), (q.reactiveElementVersions ?? (q.reactiveElementVersions = [])).push("2.1.2");
282
282
  /**
283
283
  * @license
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const pt = globalThis, We = (e) => e, jt = pt.trustedTypes, Qe = jt ? jt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Hr = "$lit$", V = `lit$${Math.random().toFixed(9).slice(2)}$`, jr = "?" + V, Hn = `<${jr}>`, tt = document, gt = () => tt.createComment(""), yt = (e) => e === null || typeof e != "object" && typeof e != "function", Me = Array.isArray, jn = (e) => Me(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ae = `[
287
+ const ft = globalThis, We = (e) => e, jt = ft.trustedTypes, Qe = jt ? jt.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Hr = "$lit$", V = `lit$${Math.random().toFixed(9).slice(2)}$`, jr = "?" + V, Hn = `<${jr}>`, tt = document, gt = () => tt.createComment(""), yt = (e) => e === null || typeof e != "object" && typeof e != "function", Me = Array.isArray, jn = (e) => Me(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", ae = `[
288
288
  \f\r]`, ht = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Je = /-->/g, Xe = />/g, W = RegExp(`>|${ae}(?:([^\\s"'>=/]+)(${ae}*=${ae}*(?:[^
289
289
  \f\r"'\`<>=]|("|')|))|$)`, "g"), Ze = /'/g, tr = /"/g, Gr = /^(?:script|style|textarea|title)$/i, Gn = (e) => (t, ...r) => ({ _$litType$: e, strings: t, values: r }), g = Gn(1), it = Symbol.for("lit-noChange"), _ = Symbol.for("lit-nothing"), er = /* @__PURE__ */ new WeakMap(), Q = tt.createTreeWalker(tt, 129);
290
290
  function Yr(e, t) {
@@ -316,8 +316,8 @@ class bt {
316
316
  for (; (i = Q.nextNode()) !== null && d.length < s; ) {
317
317
  if (i.nodeType === 1) {
318
318
  if (i.hasAttributes()) for (const h of i.getAttributeNames()) if (h.endsWith(Hr)) {
319
- const u = c[o++], m = i.getAttribute(h).split(V), p = /([.?@])?(.*)/.exec(u);
320
- d.push({ type: 1, index: a, name: p[2], strings: m, ctor: p[1] === "." ? zn : p[1] === "?" ? qn : p[1] === "@" ? Kn : Kt }), i.removeAttribute(h);
319
+ const u = c[o++], m = i.getAttribute(h).split(V), f = /([.?@])?(.*)/.exec(u);
320
+ d.push({ type: 1, index: a, name: f[2], strings: m, ctor: f[1] === "." ? zn : f[1] === "?" ? qn : f[1] === "@" ? Kn : Kt }), i.removeAttribute(h);
321
321
  } else h.startsWith(V) && (d.push({ type: 6, index: a }), i.removeAttribute(h));
322
322
  if (Gr.test(i.tagName)) {
323
323
  const h = i.textContent.split(V), u = h.length - 1;
@@ -364,7 +364,7 @@ class Vn {
364
364
  for (; d !== void 0; ) {
365
365
  if (o === d.index) {
366
366
  let l;
367
- d.type === 2 ? l = new Ft(a, a.nextSibling, this, t) : d.type === 1 ? l = new d.ctor(a, d.name, d.strings, this, t) : d.type === 6 && (l = new Wn(a, this, t)), this._$AV.push(l), d = n[++s];
367
+ d.type === 2 ? l = new Ot(a, a.nextSibling, this, t) : d.type === 1 ? l = new d.ctor(a, d.name, d.strings, this, t) : d.type === 6 && (l = new Wn(a, this, t)), this._$AV.push(l), d = n[++s];
368
368
  }
369
369
  o !== (d == null ? void 0 : d.index) && (a = Q.nextNode(), o++);
370
370
  }
@@ -375,7 +375,7 @@ class Vn {
375
375
  for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, r), r += n.strings.length - 2) : n._$AI(t[r])), r++;
376
376
  }
377
377
  }
378
- class Ft {
378
+ class Ot {
379
379
  get _$AU() {
380
380
  var t;
381
381
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -423,7 +423,7 @@ class Ft {
423
423
  Me(this._$AH) || (this._$AH = [], this._$AR());
424
424
  const r = this._$AH;
425
425
  let n, i = 0;
426
- for (const a of t) i === r.length ? r.push(n = new Ft(this.O(gt()), this.O(gt()), this, this.options)) : n = r[i], n._$AI(a), i++;
426
+ for (const a of t) i === r.length ? r.push(n = new Ot(this.O(gt()), this.O(gt()), this, this.options)) : n = r[i], n._$AI(a), i++;
427
427
  i < r.length && (this._$AR(n && n._$AB.nextSibling, i), r.length = i);
428
428
  }
429
429
  _$AR(t = this._$AA.nextSibling, r) {
@@ -504,14 +504,14 @@ class Wn {
504
504
  at(this, t);
505
505
  }
506
506
  }
507
- const oe = pt.litHtmlPolyfillSupport;
508
- oe == null || oe(bt, Ft), (pt.litHtmlVersions ?? (pt.litHtmlVersions = [])).push("3.3.2");
507
+ const oe = ft.litHtmlPolyfillSupport;
508
+ oe == null || oe(bt, Ot), (ft.litHtmlVersions ?? (ft.litHtmlVersions = [])).push("3.3.2");
509
509
  const Qn = (e, t, r) => {
510
510
  const n = (r == null ? void 0 : r.renderBefore) ?? t;
511
511
  let i = n._$litPart$;
512
512
  if (i === void 0) {
513
513
  const a = (r == null ? void 0 : r.renderBefore) ?? null;
514
- n._$litPart$ = i = new Ft(t.insertBefore(gt(), a), a, void 0, r ?? {});
514
+ n._$litPart$ = i = new Ot(t.insertBefore(gt(), a), a, void 0, r ?? {});
515
515
  }
516
516
  return i._$AI(e), i;
517
517
  };
@@ -604,7 +604,7 @@ function A(e) {
604
604
  function ti(e) {
605
605
  return e instanceof Error && ("response" in e && typeof e.response == "object" && e.response !== null || "data" in e && typeof e.data == "object" && e.data !== null);
606
606
  }
607
- var f = {
607
+ var p = {
608
608
  CARD: "card",
609
609
  PAYNOW: "paynow",
610
610
  PROMPTPAY: "promptpay",
@@ -621,8 +621,9 @@ var f = {
621
621
  KONBINI: "konbini",
622
622
  PAYEASY: "payeasy",
623
623
  GRABPAY_SG: "grabpay_sg",
624
- FPX: "fpx"
625
- }, O = {
624
+ FPX: "fpx",
625
+ WECHATPAY: "wechatpay"
626
+ }, F = {
626
627
  IDLE: "idle",
627
628
  INITIALIZING: "initializing",
628
629
  READY: "ready",
@@ -769,7 +770,7 @@ function ni(e) {
769
770
  var ii = class {
770
771
  // Flag to ignore qrCode after user scans it
771
772
  constructor(e, t) {
772
- this.state = { status: O.IDLE }, this.subscribers = /* @__PURE__ */ new Set(), this.eventListeners = {}, this.paymentToken = null, this.paymentIntentId = null, this.pollingService = null, this.ignore3DSInPolling = !1, this.ignoreQRInPolling = !1, this.config = e, this.adapters = t;
773
+ this.state = { status: F.IDLE }, this.subscribers = /* @__PURE__ */ new Set(), this.eventListeners = {}, this.paymentToken = null, this.paymentIntentId = null, this.pollingService = null, this.ignore3DSInPolling = !1, this.ignoreQRInPolling = !1, this.config = e, this.adapters = t;
773
774
  }
774
775
  /**
775
776
  * Get the API base URL - uses apiBaseUrl if provided, otherwise derives from environment
@@ -924,7 +925,7 @@ var ii = class {
924
925
  * @public
925
926
  */
926
927
  async initialize(e) {
927
- this.setState({ status: O.INITIALIZING }), this.emit({
928
+ this.setState({ status: F.INITIALIZING }), this.emit({
928
929
  type: "initialize",
929
930
  payload: e
930
931
  });
@@ -958,7 +959,7 @@ var ii = class {
958
959
  id: this.paymentIntentId,
959
960
  amount: s.result.customerAmount || e.amount,
960
961
  currency: s.result.currency || e.currency,
961
- status: O.READY,
962
+ status: F.READY,
962
963
  ...e.metadata && { metadata: e.metadata }
963
964
  }, h = [];
964
965
  let u = 0;
@@ -967,74 +968,78 @@ var ii = class {
967
968
  enabled: !0,
968
969
  priority: u++
969
970
  }), l.result.paymentMethods.forEach((m) => {
970
- const p = m.type.toLowerCase(), $ = m.capabilities || [];
971
- p.includes("card") || ((p.includes("paynow") || $.includes("payments_pay_now")) && h.push({
971
+ const f = m.type.toLowerCase(), $ = m.capabilities || [];
972
+ f.includes("card") || ((f.includes("paynow") || $.includes("payments_pay_now")) && h.push({
972
973
  id: "paynow",
973
974
  enabled: !0,
974
975
  priority: u++
975
- }), (p.includes("promptpay") || p.includes("prompt pay") || $.includes("payments_prompt_pay")) && h.push({
976
+ }), (f.includes("promptpay") || f.includes("prompt pay") || $.includes("payments_prompt_pay")) && h.push({
976
977
  id: "promptpay",
977
978
  enabled: !0,
978
979
  priority: u++
979
- }), (p.includes("duitnow") || p.includes("duit now") || $.includes("payments_duit_now")) && h.push({
980
+ }), (f.includes("duitnow") || f.includes("duit now") || $.includes("payments_duit_now")) && h.push({
980
981
  id: "duitnow",
981
982
  enabled: !0,
982
983
  priority: u++
983
- }), (p.includes("gopay") || p.includes("go pay") || $.includes("payments_go_pay")) && h.push({
984
+ }), (f.includes("gopay") || f.includes("go pay") || $.includes("payments_go_pay")) && h.push({
984
985
  id: "gopay",
985
986
  enabled: !0,
986
987
  priority: u++
987
- }), (p.includes("boost") || $.includes("payments_boost")) && h.push({
988
+ }), (f.includes("boost") || $.includes("payments_boost")) && h.push({
988
989
  id: "boost",
989
990
  enabled: !0,
990
991
  priority: u++
991
- }), (p.includes("shopeepay") || p.includes("shopee pay") || p.includes("shopee_pay") || $.includes("payments_shopee_pay")) && h.push({
992
+ }), (f.includes("shopeepay") || f.includes("shopee pay") || f.includes("shopee_pay") || $.includes("payments_shopee_pay")) && h.push({
992
993
  id: "shopeepay",
993
994
  enabled: !0,
994
995
  priority: u++
995
- }), (p.includes("atom") || p.includes("atome") || $.includes("payments_atome")) && h.push({
996
+ }), (f.includes("atom") || f.includes("atome") || $.includes("payments_atome")) && h.push({
996
997
  id: "atom",
997
998
  enabled: !0,
998
999
  priority: u++
999
- }), (p.includes("dana") || $.includes("payments_dana")) && h.push({
1000
+ }), (f.includes("dana") || $.includes("payments_dana")) && h.push({
1000
1001
  id: "dana",
1001
1002
  enabled: !0,
1002
1003
  priority: u++
1003
- }), (p.includes("tng") || p.includes("touch") || $.includes("payments_tng")) && h.push({
1004
+ }), (f.includes("tng") || f.includes("touch") || $.includes("payments_tng")) && h.push({
1004
1005
  id: "tng",
1005
1006
  enabled: !0,
1006
1007
  priority: u++
1007
- }), (p.includes("alipaycn") || p.includes("alipay cn") || p.includes("alipay_cn") || $.includes("payments_alipaycn")) && h.push({
1008
+ }), (f.includes("alipaycn") || f.includes("alipay cn") || f.includes("alipay_cn") || $.includes("payments_alipaycn")) && h.push({
1008
1009
  id: "alipaycn",
1009
1010
  enabled: !0,
1010
1011
  priority: u++
1011
- }), (p.includes("alipayhk") || p.includes("alipay hk") || p.includes("alipay_hk") || $.includes("payments_alipayhk")) && h.push({
1012
+ }), (f.includes("alipayhk") || f.includes("alipay hk") || f.includes("alipay_hk") || $.includes("payments_alipayhk")) && h.push({
1012
1013
  id: "alipayhk",
1013
1014
  enabled: !0,
1014
1015
  priority: u++
1015
- }), (p.includes("gcash") || p.includes("g cash") || $.includes("payments_gcash")) && h.push({
1016
+ }), (f.includes("gcash") || f.includes("g cash") || $.includes("payments_gcash")) && h.push({
1016
1017
  id: "gcash",
1017
1018
  enabled: !0,
1018
1019
  priority: u++
1019
- }), (p.includes("konbini") || $.includes("payments_konbini")) && h.push({
1020
+ }), (f.includes("konbini") || $.includes("payments_konbini")) && h.push({
1020
1021
  id: "konbini",
1021
1022
  enabled: !0,
1022
1023
  priority: u++
1023
- }), (p.includes("payeasy") || p.includes("pay-easy") || p.includes("pay easy") || $.includes("payments_payeasy")) && h.push({
1024
+ }), (f.includes("payeasy") || f.includes("pay-easy") || f.includes("pay easy") || $.includes("payments_payeasy")) && h.push({
1024
1025
  id: "payeasy",
1025
1026
  enabled: !0,
1026
1027
  priority: u++
1027
- }), (p.includes("grabpay") || p.includes("grab pay") || $.includes("payments_grabpay_sg")) && h.push({
1028
+ }), (f.includes("grabpay") || f.includes("grab pay") || $.includes("payments_grabpay_sg")) && h.push({
1028
1029
  id: "grabpay_sg",
1029
1030
  enabled: !0,
1030
1031
  priority: u++
1031
- }), (p.includes("fpx") || $.includes("payments_fpx")) && h.push({
1032
+ }), (f.includes("fpx") || $.includes("payments_fpx")) && h.push({
1032
1033
  id: "fpx",
1033
1034
  enabled: !0,
1034
1035
  priority: u++
1036
+ }), (f.includes("wechat") || f.includes("wechatpay") || f.includes("weixin") || $.includes("payments_wechat")) && h.push({
1037
+ id: "wechatpay",
1038
+ enabled: !0,
1039
+ priority: u++
1035
1040
  }));
1036
1041
  }), this.setState({
1037
- status: O.READY,
1042
+ status: F.READY,
1038
1043
  paymentIntent: c,
1039
1044
  availableMethods: h
1040
1045
  }), this.emit({
@@ -1051,7 +1056,7 @@ var ii = class {
1051
1056
  timestamp: this.adapters.timer.now()
1052
1057
  };
1053
1058
  throw this.setState({
1054
- status: O.FAILED,
1059
+ status: F.FAILED,
1055
1060
  error: r
1056
1061
  }), this.emit({
1057
1062
  type: "payment_failed",
@@ -1153,7 +1158,7 @@ var ii = class {
1153
1158
  if (!this.paymentToken)
1154
1159
  throw new Error("Cannot submit payment: No payment token available");
1155
1160
  this.ignore3DSInPolling = !1, this.ignoreQRInPolling = !1, this.setState({
1156
- status: O.PROCESSING,
1161
+ status: F.PROCESSING,
1157
1162
  paymentIntent: r.paymentIntent,
1158
1163
  selectedMethod: e,
1159
1164
  availableMethods: r.availableMethods
@@ -1199,11 +1204,13 @@ var ii = class {
1199
1204
  return "grabpay_sg";
1200
1205
  case "fpx":
1201
1206
  return "fpx";
1207
+ case "wechatpay":
1208
+ return "wechatpay";
1202
1209
  default:
1203
1210
  return "qr";
1204
1211
  }
1205
- }, l = ($, N) => (N === "konbini" || N === "payeasy") && $.startsWith("+81") ? "0" + $.slice(3).replace(/\s/g, "") : $, c = ($, N) => {
1206
- let P = $.toUpperCase(), y = N.toUpperCase();
1212
+ }, l = ($, C) => (C === "konbini" || C === "payeasy") && $.startsWith("+81") ? "0" + $.slice(3).replace(/\s/g, "") : $, c = ($, C) => {
1213
+ let P = $.toUpperCase(), y = C.toUpperCase();
1207
1214
  if (P.length + y.length > 9) {
1208
1215
  const S = Math.ceil(4.5);
1209
1216
  P = P.slice(0, S), y = y.slice(0, 9 - P.length);
@@ -1216,7 +1223,7 @@ var ii = class {
1216
1223
  h = $.firstName, u = $.lastName;
1217
1224
  } else
1218
1225
  h = h.toUpperCase(), u = u.toUpperCase();
1219
- const m = t.bankName ? String(t.bankName) : void 0, p = {
1226
+ const m = t.bankName ? String(t.bankName) : void 0, f = {
1220
1227
  firstName: h,
1221
1228
  lastName: u,
1222
1229
  email: String(t.email),
@@ -1234,7 +1241,7 @@ var ii = class {
1234
1241
  };
1235
1242
  return await this.adapters.http.patch(
1236
1243
  `${this.getApiBaseUrl()}/payment-intent/confirm`,
1237
- p,
1244
+ f,
1238
1245
  {
1239
1246
  "x-token": this.paymentToken
1240
1247
  }
@@ -1242,7 +1249,7 @@ var ii = class {
1242
1249
  id: this.paymentIntentId || "",
1243
1250
  amount: r.paymentIntent.amount,
1244
1251
  currency: r.paymentIntent.currency,
1245
- status: O.PROCESSING
1252
+ status: F.PROCESSING
1246
1253
  };
1247
1254
  } catch (d) {
1248
1255
  let l = "Unknown error", c = "PAYMENT_FAILED";
@@ -1262,7 +1269,7 @@ var ii = class {
1262
1269
  timestamp: this.adapters.timer.now()
1263
1270
  };
1264
1271
  throw this.setState({
1265
- status: O.FAILED,
1272
+ status: F.FAILED,
1266
1273
  error: h,
1267
1274
  paymentIntent: r.paymentIntent
1268
1275
  }), this.emit({
@@ -1393,7 +1400,7 @@ var ii = class {
1393
1400
  this.stopPolling();
1394
1401
  return;
1395
1402
  }
1396
- const r = t.selectedMethod === "promptpay" || t.selectedMethod === "duitnow" || t.selectedMethod === "gopay" || t.selectedMethod === "boost" || t.selectedMethod === "shopeepay" || t.selectedMethod === "atom" || t.selectedMethod === "dana" || t.selectedMethod === "tng" || t.selectedMethod === "alipaycn" || t.selectedMethod === "alipayhk" || t.selectedMethod === "gcash" || t.selectedMethod === "konbini" || t.selectedMethod === "payeasy" || t.selectedMethod === "grabpay_sg" || t.selectedMethod === "fpx";
1403
+ const r = t.selectedMethod === "promptpay" || t.selectedMethod === "duitnow" || t.selectedMethod === "gopay" || t.selectedMethod === "boost" || t.selectedMethod === "shopeepay" || t.selectedMethod === "atom" || t.selectedMethod === "dana" || t.selectedMethod === "tng" || t.selectedMethod === "alipaycn" || t.selectedMethod === "alipayhk" || t.selectedMethod === "gcash" || t.selectedMethod === "konbini" || t.selectedMethod === "payeasy" || t.selectedMethod === "grabpay_sg" || t.selectedMethod === "fpx" || t.selectedMethod === "wechatpay";
1397
1404
  if (e.qrCode && !this.ignoreQRInPolling && !r) {
1398
1405
  this.emit({
1399
1406
  type: "qr_code_received",
@@ -1555,6 +1562,16 @@ var ii = class {
1555
1562
  });
1556
1563
  return;
1557
1564
  }
1565
+ if (t.selectedMethod === "wechatpay") {
1566
+ this.stopPolling(), this.emit({
1567
+ type: "wechatpay_redirect",
1568
+ payload: {
1569
+ redirectUrl: e.nextActionUrl,
1570
+ methodId: t.selectedMethod
1571
+ }
1572
+ });
1573
+ return;
1574
+ }
1558
1575
  if (t.selectedMethod === "paynow" && !this.ignoreQRInPolling) {
1559
1576
  this.emit({
1560
1577
  type: "qr_code_received",
@@ -1570,13 +1587,13 @@ var ii = class {
1570
1587
  id: e.paymentIntentId,
1571
1588
  amount: e.amount ?? t.paymentIntent.amount,
1572
1589
  currency: e.currency ?? t.paymentIntent.currency,
1573
- status: O.REQUIRES_ACTION,
1590
+ status: F.REQUIRES_ACTION,
1574
1591
  ...e.metadata && {
1575
1592
  metadata: e.metadata
1576
1593
  }
1577
1594
  };
1578
1595
  this.setState({
1579
- status: O.REQUIRES_ACTION,
1596
+ status: F.REQUIRES_ACTION,
1580
1597
  paymentIntent: i,
1581
1598
  actionUrl: e.nextActionUrl,
1582
1599
  selectedMethod: t.selectedMethod,
@@ -1602,7 +1619,7 @@ var ii = class {
1602
1619
  };
1603
1620
  if (e.status === "succeeded")
1604
1621
  this.stopPolling(), this.setState({
1605
- status: O.SUCCEEDED,
1622
+ status: F.SUCCEEDED,
1606
1623
  paymentIntent: n,
1607
1624
  selectedMethod: t.selectedMethod
1608
1625
  }), this.emit({
@@ -1620,7 +1637,7 @@ var ii = class {
1620
1637
  timestamp: this.adapters.timer.now()
1621
1638
  };
1622
1639
  this.setState({
1623
- status: O.FAILED,
1640
+ status: F.FAILED,
1624
1641
  error: a,
1625
1642
  paymentIntent: n
1626
1643
  }), this.emit({
@@ -1656,7 +1673,7 @@ var ii = class {
1656
1673
  r(e);
1657
1674
  });
1658
1675
  }
1659
- }, ai = "https://images.ctfassets.net/c3n7jozh84hr/2A5qlS6JkUsOyFVPzQ0KlK/22b497afd71030ef1a44a52394b15027/______2022-06-30_11.03.43.png", oi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/xLSOJpNvMp7cBKdvDln0B/eb2f53a0a3f2317750739dceff9df413/______2022-06-30_10.59.00.png", si = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4Iq13VoxktB3amHFbQK1yb/f2fe12add0dac233d56c22cf5651c65c/image-20220630-030728.png", di = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/mjau5Tqscwu9tbhRLFbmJ/a66cd2894060b2d3a94b75d7f4e65355/______2022-07-04_17.05.18.png", li = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1M4DBVFhOrkprPmjxZwS7M/c4a90840d3846b926d3a5524392435fe/Boost.svg", ci = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1BYCLeHNQEyPXBjlIdu09h/71d67c5be3975f77091bf45c7ab58f65/ShopeePay.svg", ui = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/61LYQ3RuziTGisarZgaAV1/309f3f1e569609dd0b0095857d6382b5/__2022-05-31_11.44.42.png", hi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/79Uj5xItEZE7L51j2oh6IV/6af4cfefdd65834305931fd16f652d87/DANA.svg", fi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/15FHwC4H3W0JrNvsqy6TWH/5d18aa44231c55d6457389e17ac7ea0c/TnG.svg", pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/5EK8VF1nACmJ0KpPocLuR7/785178078004e82cb69782c570623b8c/Alipay.svg", mi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3sNSjVq0K9mq5whYcGJhBe/78857434adff807c8e293425491e0bd4/AlipayHK.svg", $i = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4WAO5JJPUOrZ9jBA0Vf4tf/c3896e1a5508efa0c569bd3eaa577dad/GCash.svg", gi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/2k2M0v6xdd5HvUNxX2sYCi/c9de881648bdd61adb15ec1941f2d47e/konbini_420x280.png", yi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3DKc8YOvmllqXs9MIZvDFU/195c73003eacb07b60dd2740c59ab4e3/Pay-easy.svg", bi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1DshnBdElQDmhfINo/abfc59a3c7cb7f3a89b2d32504971c39/GrabPay.svg", vi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/35hEmofKsxnjVV4zidB0Ir/00447c59f79d5c1e095f1354f6b909ce/FPX.svg", nt = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, J = function(e, t, r, n, i, a, o, s, d, l) {
1676
+ }, ai = "https://images.ctfassets.net/c3n7jozh84hr/2A5qlS6JkUsOyFVPzQ0KlK/22b497afd71030ef1a44a52394b15027/______2022-06-30_11.03.43.png", oi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/xLSOJpNvMp7cBKdvDln0B/eb2f53a0a3f2317750739dceff9df413/______2022-06-30_10.59.00.png", si = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4Iq13VoxktB3amHFbQK1yb/f2fe12add0dac233d56c22cf5651c65c/image-20220630-030728.png", di = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/mjau5Tqscwu9tbhRLFbmJ/a66cd2894060b2d3a94b75d7f4e65355/______2022-07-04_17.05.18.png", li = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1M4DBVFhOrkprPmjxZwS7M/c4a90840d3846b926d3a5524392435fe/Boost.svg", ci = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1BYCLeHNQEyPXBjlIdu09h/71d67c5be3975f77091bf45c7ab58f65/ShopeePay.svg", ui = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/61LYQ3RuziTGisarZgaAV1/309f3f1e569609dd0b0095857d6382b5/__2022-05-31_11.44.42.png", hi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/79Uj5xItEZE7L51j2oh6IV/6af4cfefdd65834305931fd16f652d87/DANA.svg", pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/15FHwC4H3W0JrNvsqy6TWH/5d18aa44231c55d6457389e17ac7ea0c/TnG.svg", fi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/5EK8VF1nACmJ0KpPocLuR7/785178078004e82cb69782c570623b8c/Alipay.svg", mi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3sNSjVq0K9mq5whYcGJhBe/78857434adff807c8e293425491e0bd4/AlipayHK.svg", $i = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/4WAO5JJPUOrZ9jBA0Vf4tf/c3896e1a5508efa0c569bd3eaa577dad/GCash.svg", gi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/2k2M0v6xdd5HvUNxX2sYCi/c9de881648bdd61adb15ec1941f2d47e/konbini_420x280.png", yi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3DKc8YOvmllqXs9MIZvDFU/195c73003eacb07b60dd2740c59ab4e3/Pay-easy.svg", bi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/1DSDRrlshnBdElQDmhfINo/abfc59a3c7cb7f3a89b2d32504971c39/GrabPay.svg", vi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/35hEmofKsxnjVV4zidB0Ir/00447c59f79d5c1e095f1354f6b909ce/FPX.svg", Pi = "https://www.airwallex.com/docs/assets/contentful/images.ctfassets.net/c3n7jozh84hr/3NCcTgdKi1v9XRZljCe5z4/6585925fece04edbac1a2cbfcd2659fb/WeChat_Pay.svg", nt = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, J = function(e, t, r, n, i, a, o, s, d, l) {
1660
1677
  var c = this;
1661
1678
  c.numeralDecimalMark = e || ".", c.numeralIntegerScale = t > 0 ? t : 0, c.numeralDecimalScale = r >= 0 ? r : 2, c.numeralThousandsGroupStyle = n || J.groupStyle.thousand, c.numeralPositiveOnly = !!i, c.stripLeadingZeroes = a !== !1, c.prefix = o || o === "" ? o : "", c.signBeforePrefix = !!s, c.tailPrefix = !!d, c.delimiter = l || l === "" ? l : ",", c.delimiterRE = l ? new RegExp("\\" + l, "g") : "";
1662
1679
  };
@@ -1686,7 +1703,7 @@ J.prototype = {
1686
1703
  return t.tailPrefix ? n + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "") + t.prefix : i + a.toString() + (t.numeralDecimalScale > 0 ? o.toString() : "");
1687
1704
  }
1688
1705
  };
1689
- var Pi = J, Vr = function(e, t, r) {
1706
+ var wi = J, Vr = function(e, t, r) {
1690
1707
  var n = this;
1691
1708
  n.date = [], n.blocks = [], n.datePattern = e, n.dateMin = t.split("-").reverse().map(function(i) {
1692
1709
  return parseInt(i, 10);
@@ -1727,21 +1744,21 @@ Vr.prototype = {
1727
1744
  },
1728
1745
  getFixedDateString: function(e) {
1729
1746
  var t = this, r = t.datePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u, m = !1;
1730
- e.length === 4 && r[0].toLowerCase() !== "y" && r[1].toLowerCase() !== "y" && (s = r[0] === "d" ? 0 : 2, d = 2 - s, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), n = this.getFixedDate(c, h, 0)), e.length === 8 && (r.forEach(function($, N) {
1747
+ e.length === 4 && r[0].toLowerCase() !== "y" && r[1].toLowerCase() !== "y" && (s = r[0] === "d" ? 0 : 2, d = 2 - s, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), n = this.getFixedDate(c, h, 0)), e.length === 8 && (r.forEach(function($, C) {
1731
1748
  switch ($) {
1732
1749
  case "d":
1733
- i = N;
1750
+ i = C;
1734
1751
  break;
1735
1752
  case "m":
1736
- a = N;
1753
+ a = C;
1737
1754
  break;
1738
1755
  default:
1739
- o = N;
1756
+ o = C;
1740
1757
  break;
1741
1758
  }
1742
1759
  }), l = o * 2, s = i <= o ? i * 2 : i * 2 + 2, d = a <= o ? a * 2 : a * 2 + 2, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10), m = e.slice(l, l + 4).length === 4, n = this.getFixedDate(c, h, u)), e.length === 4 && (r[0] === "y" || r[1] === "y") && (d = r[0] === "m" ? 0 : 2, l = 2 - d, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), m = e.slice(l, l + 2).length === 2, n = [0, h, u]), e.length === 6 && (r[0] === "Y" || r[1] === "Y") && (d = r[0] === "m" ? 0 : 4, l = 2 - 0.5 * d, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 4), 10), m = e.slice(l, l + 4).length === 4, n = [0, h, u]), n = t.getRangeFixedDate(n), t.date = n;
1743
- var p = n.length === 0 ? e : r.reduce(function($, N) {
1744
- switch (N) {
1760
+ var f = n.length === 0 ? e : r.reduce(function($, C) {
1761
+ switch (C) {
1745
1762
  case "d":
1746
1763
  return $ + (n[0] === 0 ? "" : t.addLeadingZero(n[0]));
1747
1764
  case "m":
@@ -1752,7 +1769,7 @@ Vr.prototype = {
1752
1769
  return $ + (m ? t.addLeadingZeroForYear(n[2], !0) : "");
1753
1770
  }
1754
1771
  }, "");
1755
- return p;
1772
+ return f;
1756
1773
  },
1757
1774
  getRangeFixedDate: function(e) {
1758
1775
  var t = this, r = t.datePattern, n = t.dateMin || [], i = t.dateMax || [];
@@ -1773,7 +1790,7 @@ Vr.prototype = {
1773
1790
  return t ? (e < 10 ? "000" : e < 100 ? "00" : e < 1e3 ? "0" : "") + e : (e < 10 ? "0" : "") + e;
1774
1791
  }
1775
1792
  };
1776
- var wi = Vr, zr = function(e, t) {
1793
+ var Ci = Vr, zr = function(e, t) {
1777
1794
  var r = this;
1778
1795
  r.time = [], r.blocks = [], r.timePattern = e, r.timeFormat = t, r.initBlocks();
1779
1796
  };
@@ -1827,29 +1844,29 @@ zr.prototype = {
1827
1844
  },
1828
1845
  getFixedTimeString: function(e) {
1829
1846
  var t = this, r = t.timePattern, n = [], i = 0, a = 0, o = 0, s = 0, d = 0, l = 0, c, h, u;
1830
- return e.length === 6 && (r.forEach(function(m, p) {
1847
+ return e.length === 6 && (r.forEach(function(m, f) {
1831
1848
  switch (m) {
1832
1849
  case "s":
1833
- i = p * 2;
1850
+ i = f * 2;
1834
1851
  break;
1835
1852
  case "m":
1836
- a = p * 2;
1853
+ a = f * 2;
1837
1854
  break;
1838
1855
  case "h":
1839
- o = p * 2;
1856
+ o = f * 2;
1840
1857
  break;
1841
1858
  }
1842
- }), l = o, d = a, s = i, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), e.length === 4 && t.timePattern.indexOf("s") < 0 && (r.forEach(function(m, p) {
1859
+ }), l = o, d = a, s = i, c = parseInt(e.slice(s, s + 2), 10), h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), e.length === 4 && t.timePattern.indexOf("s") < 0 && (r.forEach(function(m, f) {
1843
1860
  switch (m) {
1844
1861
  case "m":
1845
- a = p * 2;
1862
+ a = f * 2;
1846
1863
  break;
1847
1864
  case "h":
1848
- o = p * 2;
1865
+ o = f * 2;
1849
1866
  break;
1850
1867
  }
1851
- }), l = o, d = a, c = 0, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), t.time = n, n.length === 0 ? e : r.reduce(function(m, p) {
1852
- switch (p) {
1868
+ }), l = o, d = a, c = 0, h = parseInt(e.slice(d, d + 2), 10), u = parseInt(e.slice(l, l + 2), 10), n = this.getFixedTime(u, h, c)), t.time = n, n.length === 0 ? e : r.reduce(function(m, f) {
1869
+ switch (f) {
1853
1870
  case "s":
1854
1871
  return m + t.addLeadingZero(n[2]);
1855
1872
  case "m":
@@ -1882,7 +1899,7 @@ qr.prototype = {
1882
1899
  return r = r.replace(/[()]/g, ""), r = r.replace(/[\s-]/g, t.delimiter), r;
1883
1900
  }
1884
1901
  };
1885
- var Ci = qr, ge = {
1902
+ var xi = qr, ge = {
1886
1903
  blocks: {
1887
1904
  uatp: [4, 5, 6],
1888
1905
  amex: [4, 6, 5],
@@ -1949,7 +1966,7 @@ var Ci = qr, ge = {
1949
1966
  blocks: t ? this.getStrictBlocks(r.general) : r.general
1950
1967
  };
1951
1968
  }
1952
- }, xi = ge, Si = {
1969
+ }, Si = ge, Ai = {
1953
1970
  noop: function() {
1954
1971
  },
1955
1972
  strip: function(e, t) {
@@ -2078,7 +2095,7 @@ var Ci = qr, ge = {
2078
2095
  isAndroidBackspaceKeydown: function(e, t) {
2079
2096
  return !this.isAndroid() || !e || !t ? !1 : t === e.slice(0, -1);
2080
2097
  }
2081
- }, Ai = Si, ki = {
2098
+ }, ki = Ai, Ei = {
2082
2099
  // Maybe change to object-assign
2083
2100
  // for now just keep it as simple
2084
2101
  assign: function(e, t) {
@@ -2086,7 +2103,7 @@ var Ci = qr, ge = {
2086
2103
  }, e.phone = !!t.phone, e.phoneRegionCode = t.phoneRegionCode || "AU", e.phoneFormatter = {}, e.time = !!t.time, e.timePattern = t.timePattern || ["h", "m", "s"], e.timeFormat = t.timeFormat || "24", e.timeFormatter = {}, e.date = !!t.date, e.datePattern = t.datePattern || ["d", "m", "Y"], e.dateMin = t.dateMin || "", e.dateMax = t.dateMax || "", e.dateFormatter = {}, e.numeral = !!t.numeral, e.numeralIntegerScale = t.numeralIntegerScale > 0 ? t.numeralIntegerScale : 0, e.numeralDecimalScale = t.numeralDecimalScale >= 0 ? t.numeralDecimalScale : 2, e.numeralDecimalMark = t.numeralDecimalMark || ".", e.numeralThousandsGroupStyle = t.numeralThousandsGroupStyle || "thousand", e.numeralPositiveOnly = !!t.numeralPositiveOnly, e.stripLeadingZeroes = t.stripLeadingZeroes !== !1, e.signBeforePrefix = !!t.signBeforePrefix, e.tailPrefix = !!t.tailPrefix, e.swapHiddenInput = !!t.swapHiddenInput, e.numericOnly = e.creditCard || e.date || !!t.numericOnly, e.uppercase = !!t.uppercase, e.lowercase = !!t.lowercase, e.prefix = e.creditCard || e.date ? "" : t.prefix || "", e.noImmediatePrefix = !!t.noImmediatePrefix, e.prefixLength = e.prefix.length, e.rawValueTrimPrefix = !!t.rawValueTrimPrefix, e.copyDelimiter = !!t.copyDelimiter, e.initValue = t.initValue !== void 0 && t.initValue !== null ? t.initValue.toString() : "", e.delimiter = t.delimiter || t.delimiter === "" ? t.delimiter : t.date ? "/" : t.time ? ":" : t.numeral ? "," : (t.phone, " "), e.delimiterLength = e.delimiter.length, e.delimiterLazyShow = !!t.delimiterLazyShow, e.delimiters = t.delimiters || [], e.blocks = t.blocks || [], e.blocksLength = e.blocks.length, e.root = typeof nt == "object" && nt ? nt : window, e.document = t.document || e.root.document, e.maxLength = 0, e.backspace = !1, e.result = "", e.onValueChanged = t.onValueChanged || function() {
2087
2104
  }, e;
2088
2105
  }
2089
- }, Ei = ki, x = function(e, t) {
2106
+ }, _i = Ei, x = function(e, t) {
2090
2107
  var r = this, n = !1;
2091
2108
  if (typeof e == "string" ? (r.element = document.querySelector(e), n = document.querySelectorAll(e).length > 1) : typeof e.length < "u" && e.length > 0 ? (r.element = e[0], n = e.length > 1) : r.element = e, !r.element)
2092
2109
  throw new Error("[cleave.js] Please check the element");
@@ -2257,19 +2274,19 @@ x.prototype = {
2257
2274
  return "[Cleave Object]";
2258
2275
  }
2259
2276
  };
2260
- x.NumeralFormatter = Pi;
2261
- x.DateFormatter = wi;
2277
+ x.NumeralFormatter = wi;
2278
+ x.DateFormatter = Ci;
2262
2279
  x.TimeFormatter = Ni;
2263
- x.PhoneFormatter = Ci;
2264
- x.CreditCardDetector = xi;
2265
- x.Util = Ai;
2266
- x.DefaultProperties = Ei;
2280
+ x.PhoneFormatter = xi;
2281
+ x.CreditCardDetector = Si;
2282
+ x.Util = ki;
2283
+ x.DefaultProperties = _i;
2267
2284
  (typeof nt == "object" && nt ? nt : window).Cleave = x;
2268
- var rr = x, Ot = {}, _i = function() {
2285
+ var rr = x, Ft = {}, Ii = function() {
2269
2286
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
2270
- }, Kr = {}, F = {};
2271
- let Fe;
2272
- const Ii = [
2287
+ }, Kr = {}, O = {};
2288
+ let Oe;
2289
+ const Ti = [
2273
2290
  0,
2274
2291
  // Not used
2275
2292
  26,
@@ -2313,30 +2330,30 @@ const Ii = [
2313
2330
  3532,
2314
2331
  3706
2315
2332
  ];
2316
- F.getSymbolSize = function(t) {
2333
+ O.getSymbolSize = function(t) {
2317
2334
  if (!t) throw new Error('"version" cannot be null or undefined');
2318
2335
  if (t < 1 || t > 40) throw new Error('"version" should be in range from 1 to 40');
2319
2336
  return t * 4 + 17;
2320
2337
  };
2321
- F.getSymbolTotalCodewords = function(t) {
2322
- return Ii[t];
2338
+ O.getSymbolTotalCodewords = function(t) {
2339
+ return Ti[t];
2323
2340
  };
2324
- F.getBCHDigit = function(e) {
2341
+ O.getBCHDigit = function(e) {
2325
2342
  let t = 0;
2326
2343
  for (; e !== 0; )
2327
2344
  t++, e >>>= 1;
2328
2345
  return t;
2329
2346
  };
2330
- F.setToSJISFunction = function(t) {
2347
+ O.setToSJISFunction = function(t) {
2331
2348
  if (typeof t != "function")
2332
2349
  throw new Error('"toSJISFunc" is not a valid function.');
2333
- Fe = t;
2350
+ Oe = t;
2334
2351
  };
2335
- F.isKanjiModeEnabled = function() {
2336
- return typeof Fe < "u";
2352
+ O.isKanjiModeEnabled = function() {
2353
+ return typeof Oe < "u";
2337
2354
  };
2338
- F.toSJIS = function(t) {
2339
- return Fe(t);
2355
+ O.toSJIS = function(t) {
2356
+ return Oe(t);
2340
2357
  };
2341
2358
  var Wt = {};
2342
2359
  (function(e) {
@@ -2393,7 +2410,7 @@ Wr.prototype = {
2393
2410
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
2394
2411
  }
2395
2412
  };
2396
- var Ti = Wr;
2413
+ var Mi = Wr;
2397
2414
  function Dt(e) {
2398
2415
  if (!e || e < 1)
2399
2416
  throw new Error("BitMatrix size must be defined and greater than 0");
@@ -2412,9 +2429,9 @@ Dt.prototype.xor = function(e, t, r) {
2412
2429
  Dt.prototype.isReserved = function(e, t) {
2413
2430
  return this.reservedBit[e * this.size + t];
2414
2431
  };
2415
- var Mi = Dt, Qr = {};
2432
+ var Oi = Dt, Qr = {};
2416
2433
  (function(e) {
2417
- const t = F.getSymbolSize;
2434
+ const t = O.getSymbolSize;
2418
2435
  e.getRowColCoords = function(n) {
2419
2436
  if (n === 1) return [];
2420
2437
  const i = Math.floor(n / 7) + 2, a = t(n), o = a === 145 ? 26 : Math.ceil((a - 13) / (2 * i - 2)) * 2, s = [a - 7];
@@ -2432,7 +2449,7 @@ var Mi = Dt, Qr = {};
2432
2449
  };
2433
2450
  })(Qr);
2434
2451
  var Jr = {};
2435
- const Fi = F.getSymbolSize, nr = 7;
2452
+ const Fi = O.getSymbolSize, nr = 7;
2436
2453
  Jr.getPositions = function(t) {
2437
2454
  const r = Fi(t);
2438
2455
  return [
@@ -2940,13 +2957,13 @@ Jt.mul = function(t, r) {
2940
2957
  };
2941
2958
  })(Zr);
2942
2959
  const tn = Zr;
2943
- function Oe(e) {
2960
+ function Fe(e) {
2944
2961
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
2945
2962
  }
2946
- Oe.prototype.initialize = function(t) {
2963
+ Fe.prototype.initialize = function(t) {
2947
2964
  this.degree = t, this.genPoly = tn.generateECPolynomial(this.degree);
2948
2965
  };
2949
- Oe.prototype.encode = function(t) {
2966
+ Fe.prototype.encode = function(t) {
2950
2967
  if (!this.genPoly)
2951
2968
  throw new Error("Encoder not initialized");
2952
2969
  const r = new Uint8Array(t.length + this.degree);
@@ -2958,30 +2975,30 @@ Oe.prototype.encode = function(t) {
2958
2975
  }
2959
2976
  return n;
2960
2977
  };
2961
- var Oi = Oe, en = {}, K = {}, De = {};
2978
+ var Di = Fe, en = {}, K = {}, De = {};
2962
2979
  De.isValid = function(t) {
2963
2980
  return !isNaN(t) && t >= 1 && t <= 40;
2964
2981
  };
2965
2982
  var U = {};
2966
- const rn = "[0-9]+", Di = "[A-Z $%*+\\-./:]+";
2983
+ const rn = "[0-9]+", Ri = "[A-Z $%*+\\-./:]+";
2967
2984
  let vt = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
2968
2985
  vt = vt.replace(/u/g, "\\u");
2969
- const Ri = "(?:(?![A-Z0-9 $%*+\\-./:]|" + vt + `)(?:.|[\r
2986
+ const Li = "(?:(?![A-Z0-9 $%*+\\-./:]|" + vt + `)(?:.|[\r
2970
2987
  ]))+`;
2971
2988
  U.KANJI = new RegExp(vt, "g");
2972
2989
  U.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
2973
- U.BYTE = new RegExp(Ri, "g");
2990
+ U.BYTE = new RegExp(Li, "g");
2974
2991
  U.NUMERIC = new RegExp(rn, "g");
2975
- U.ALPHANUMERIC = new RegExp(Di, "g");
2976
- const Li = new RegExp("^" + vt + "$"), Bi = new RegExp("^" + rn + "$"), Ui = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
2992
+ U.ALPHANUMERIC = new RegExp(Ri, "g");
2993
+ const Bi = new RegExp("^" + vt + "$"), Ui = new RegExp("^" + rn + "$"), Hi = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
2977
2994
  U.testKanji = function(t) {
2978
- return Li.test(t);
2995
+ return Bi.test(t);
2979
2996
  };
2980
2997
  U.testNumeric = function(t) {
2981
- return Bi.test(t);
2998
+ return Ui.test(t);
2982
2999
  };
2983
3000
  U.testAlphanumeric = function(t) {
2984
- return Ui.test(t);
3001
+ return Hi.test(t);
2985
3002
  };
2986
3003
  (function(e) {
2987
3004
  const t = De, r = U;
@@ -3043,34 +3060,34 @@ U.testAlphanumeric = function(t) {
3043
3060
  };
3044
3061
  })(K);
3045
3062
  (function(e) {
3046
- const t = F, r = Qt, n = Wt, i = K, a = De, o = 7973, s = t.getBCHDigit(o);
3047
- function d(u, m, p) {
3063
+ const t = O, r = Qt, n = Wt, i = K, a = De, o = 7973, s = t.getBCHDigit(o);
3064
+ function d(u, m, f) {
3048
3065
  for (let $ = 1; $ <= 40; $++)
3049
- if (m <= e.getCapacity($, p, u))
3066
+ if (m <= e.getCapacity($, f, u))
3050
3067
  return $;
3051
3068
  }
3052
3069
  function l(u, m) {
3053
3070
  return i.getCharCountIndicator(u, m) + 4;
3054
3071
  }
3055
3072
  function c(u, m) {
3056
- let p = 0;
3073
+ let f = 0;
3057
3074
  return u.forEach(function($) {
3058
- const N = l($.mode, m);
3059
- p += N + $.getBitsLength();
3060
- }), p;
3075
+ const C = l($.mode, m);
3076
+ f += C + $.getBitsLength();
3077
+ }), f;
3061
3078
  }
3062
3079
  function h(u, m) {
3063
- for (let p = 1; p <= 40; p++)
3064
- if (c(u, p) <= e.getCapacity(p, m, i.MIXED))
3065
- return p;
3080
+ for (let f = 1; f <= 40; f++)
3081
+ if (c(u, f) <= e.getCapacity(f, m, i.MIXED))
3082
+ return f;
3066
3083
  }
3067
- e.from = function(m, p) {
3068
- return a.isValid(m) ? parseInt(m, 10) : p;
3069
- }, e.getCapacity = function(m, p, $) {
3084
+ e.from = function(m, f) {
3085
+ return a.isValid(m) ? parseInt(m, 10) : f;
3086
+ }, e.getCapacity = function(m, f, $) {
3070
3087
  if (!a.isValid(m))
3071
3088
  throw new Error("Invalid QR Code version");
3072
3089
  typeof $ > "u" && ($ = i.BYTE);
3073
- const N = t.getSymbolTotalCodewords(m), b = r.getTotalCodewordsCount(m, p), P = (N - b) * 8;
3090
+ const C = t.getSymbolTotalCodewords(m), b = r.getTotalCodewordsCount(m, f), P = (C - b) * 8;
3074
3091
  if ($ === i.MIXED) return P;
3075
3092
  const y = P - l($, m);
3076
3093
  switch ($) {
@@ -3084,40 +3101,40 @@ U.testAlphanumeric = function(t) {
3084
3101
  default:
3085
3102
  return Math.floor(y / 8);
3086
3103
  }
3087
- }, e.getBestVersionForData = function(m, p) {
3104
+ }, e.getBestVersionForData = function(m, f) {
3088
3105
  let $;
3089
- const N = n.from(p, n.M);
3106
+ const C = n.from(f, n.M);
3090
3107
  if (Array.isArray(m)) {
3091
3108
  if (m.length > 1)
3092
- return h(m, N);
3109
+ return h(m, C);
3093
3110
  if (m.length === 0)
3094
3111
  return 1;
3095
3112
  $ = m[0];
3096
3113
  } else
3097
3114
  $ = m;
3098
- return d($.mode, $.getLength(), N);
3115
+ return d($.mode, $.getLength(), C);
3099
3116
  }, e.getEncodedBits = function(m) {
3100
3117
  if (!a.isValid(m) || m < 7)
3101
3118
  throw new Error("Invalid QR Code version");
3102
- let p = m << 12;
3103
- for (; t.getBCHDigit(p) - s >= 0; )
3104
- p ^= o << t.getBCHDigit(p) - s;
3105
- return m << 12 | p;
3119
+ let f = m << 12;
3120
+ for (; t.getBCHDigit(f) - s >= 0; )
3121
+ f ^= o << t.getBCHDigit(f) - s;
3122
+ return m << 12 | f;
3106
3123
  };
3107
3124
  })(en);
3108
3125
  var nn = {};
3109
- const ye = F, an = 1335, Hi = 21522, ir = ye.getBCHDigit(an);
3126
+ const ye = O, an = 1335, ji = 21522, ir = ye.getBCHDigit(an);
3110
3127
  nn.getEncodedBits = function(t, r) {
3111
3128
  const n = t.bit << 3 | r;
3112
3129
  let i = n << 10;
3113
3130
  for (; ye.getBCHDigit(i) - ir >= 0; )
3114
3131
  i ^= an << ye.getBCHDigit(i) - ir;
3115
- return (n << 10 | i) ^ Hi;
3132
+ return (n << 10 | i) ^ ji;
3116
3133
  };
3117
3134
  var on = {};
3118
- const ji = K;
3135
+ const Gi = K;
3119
3136
  function ot(e) {
3120
- this.mode = ji.NUMERIC, this.data = e.toString();
3137
+ this.mode = Gi.NUMERIC, this.data = e.toString();
3121
3138
  }
3122
3139
  ot.getBitsLength = function(t) {
3123
3140
  return 10 * Math.floor(t / 3) + (t % 3 ? t % 3 * 3 + 1 : 0);
@@ -3135,8 +3152,8 @@ ot.prototype.write = function(t) {
3135
3152
  const a = this.data.length - r;
3136
3153
  a > 0 && (n = this.data.substr(r), i = parseInt(n, 10), t.put(i, a * 3 + 1));
3137
3154
  };
3138
- var Gi = ot;
3139
- const Yi = K, de = [
3155
+ var Yi = ot;
3156
+ const Vi = K, de = [
3140
3157
  "0",
3141
3158
  "1",
3142
3159
  "2",
@@ -3184,7 +3201,7 @@ const Yi = K, de = [
3184
3201
  ":"
3185
3202
  ];
3186
3203
  function st(e) {
3187
- this.mode = Yi.ALPHANUMERIC, this.data = e;
3204
+ this.mode = Vi.ALPHANUMERIC, this.data = e;
3188
3205
  }
3189
3206
  st.getBitsLength = function(t) {
3190
3207
  return 11 * Math.floor(t / 2) + 6 * (t % 2);
@@ -3203,10 +3220,10 @@ st.prototype.write = function(t) {
3203
3220
  }
3204
3221
  this.data.length % 2 && t.put(de.indexOf(this.data[r]), 6);
3205
3222
  };
3206
- var Vi = st;
3207
- const zi = K;
3223
+ var zi = st;
3224
+ const qi = K;
3208
3225
  function dt(e) {
3209
- this.mode = zi.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
3226
+ this.mode = qi.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
3210
3227
  }
3211
3228
  dt.getBitsLength = function(t) {
3212
3229
  return t * 8;
@@ -3221,10 +3238,10 @@ dt.prototype.write = function(e) {
3221
3238
  for (let t = 0, r = this.data.length; t < r; t++)
3222
3239
  e.put(this.data[t], 8);
3223
3240
  };
3224
- var qi = dt;
3225
- const Ki = K, Wi = F;
3241
+ var Ki = dt;
3242
+ const Wi = K, Qi = O;
3226
3243
  function lt(e) {
3227
- this.mode = Ki.KANJI, this.data = e;
3244
+ this.mode = Wi.KANJI, this.data = e;
3228
3245
  }
3229
3246
  lt.getBitsLength = function(t) {
3230
3247
  return t * 13;
@@ -3238,7 +3255,7 @@ lt.prototype.getBitsLength = function() {
3238
3255
  lt.prototype.write = function(e) {
3239
3256
  let t;
3240
3257
  for (t = 0; t < this.data.length; t++) {
3241
- let r = Wi.toSJIS(this.data[t]);
3258
+ let r = Qi.toSJIS(this.data[t]);
3242
3259
  if (r >= 33088 && r <= 40956)
3243
3260
  r -= 33088;
3244
3261
  else if (r >= 57408 && r <= 60351)
@@ -3251,7 +3268,7 @@ Make sure your charset is UTF-8`
3251
3268
  r = (r >>> 8 & 255) * 192 + (r & 255), e.put(r, 13);
3252
3269
  }
3253
3270
  };
3254
- var Qi = lt, sn = { exports: {} };
3271
+ var Ji = lt, sn = { exports: {} };
3255
3272
  (function(e) {
3256
3273
  var t = {
3257
3274
  single_source_shortest_paths: function(r, n, i) {
@@ -3259,10 +3276,10 @@ var Qi = lt, sn = { exports: {} };
3259
3276
  o[n] = 0;
3260
3277
  var s = t.PriorityQueue.make();
3261
3278
  s.push(n, 0);
3262
- for (var d, l, c, h, u, m, p, $, N; !s.empty(); ) {
3279
+ for (var d, l, c, h, u, m, f, $, C; !s.empty(); ) {
3263
3280
  d = s.pop(), l = d.value, h = d.cost, u = r[l] || {};
3264
3281
  for (c in u)
3265
- u.hasOwnProperty(c) && (m = u[c], p = h + m, $ = o[c], N = typeof o[c] > "u", (N || $ > p) && (o[c] = p, s.push(c, p), a[c] = l));
3282
+ u.hasOwnProperty(c) && (m = u[c], f = h + m, $ = o[c], C = typeof o[c] > "u", (C || $ > f) && (o[c] = f, s.push(c, f), a[c] = l));
3266
3283
  }
3267
3284
  if (typeof i < "u" && typeof o[i] > "u") {
3268
3285
  var b = ["Could not find a path from ", n, " to ", i, "."].join("");
@@ -3317,9 +3334,9 @@ var Qi = lt, sn = { exports: {} };
3317
3334
  };
3318
3335
  e.exports = t;
3319
3336
  })(sn);
3320
- var Ji = sn.exports;
3337
+ var Xi = sn.exports;
3321
3338
  (function(e) {
3322
- const t = K, r = Gi, n = Vi, i = qi, a = Qi, o = U, s = F, d = Ji;
3339
+ const t = K, r = Yi, n = zi, i = Ki, a = Ji, o = U, s = O, d = Xi;
3323
3340
  function l(b) {
3324
3341
  return unescape(encodeURIComponent(b)).length;
3325
3342
  }
@@ -3366,7 +3383,7 @@ var Ji = sn.exports;
3366
3383
  return v && v.mode === y.mode ? (P[P.length - 1].data += y.data, P) : (P.push(y), P);
3367
3384
  }, []);
3368
3385
  }
3369
- function p(b) {
3386
+ function f(b) {
3370
3387
  const P = [];
3371
3388
  for (let y = 0; y < b.length; y++) {
3372
3389
  const v = b[y];
@@ -3417,7 +3434,7 @@ var Ji = sn.exports;
3417
3434
  v[S[k]].end = 0;
3418
3435
  return { map: v, table: y };
3419
3436
  }
3420
- function N(b, P) {
3437
+ function C(b, P) {
3421
3438
  let y;
3422
3439
  const v = t.getBestModeForData(b);
3423
3440
  if (y = t.from(P, v), y !== t.BYTE && y.bit < v.bit)
@@ -3436,10 +3453,10 @@ var Ji = sn.exports;
3436
3453
  }
3437
3454
  e.fromArray = function(P) {
3438
3455
  return P.reduce(function(y, v) {
3439
- return typeof v == "string" ? y.push(N(v, null)) : v.data && y.push(N(v.data, v.mode)), y;
3456
+ return typeof v == "string" ? y.push(C(v, null)) : v.data && y.push(C(v.data, v.mode)), y;
3440
3457
  }, []);
3441
3458
  }, e.fromString = function(P, y) {
3442
- const v = h(P, s.isKanjiModeEnabled()), S = p(v), k = $(S, y), E = d.find_path(k.map, "start", "end"), D = [];
3459
+ const v = h(P, s.isKanjiModeEnabled()), S = f(v), k = $(S, y), E = d.find_path(k.map, "start", "end"), D = [];
3443
3460
  for (let Y = 1; Y < E.length - 1; Y++)
3444
3461
  D.push(k.table[E[Y]].node);
3445
3462
  return e.fromArray(m(D));
@@ -3449,9 +3466,9 @@ var Ji = sn.exports;
3449
3466
  );
3450
3467
  };
3451
3468
  })(on);
3452
- const Xt = F, le = Wt, Xi = Ti, Zi = Mi, ta = Qr, ea = Jr, be = Xr, ve = Qt, ra = Oi, Yt = en, na = nn, ia = K, ce = on;
3453
- function aa(e, t) {
3454
- const r = e.size, n = ea.getPositions(t);
3469
+ const Xt = O, le = Wt, Zi = Mi, ta = Oi, ea = Qr, ra = Jr, be = Xr, ve = Qt, na = Di, Yt = en, ia = nn, aa = K, ce = on;
3470
+ function oa(e, t) {
3471
+ const r = e.size, n = ra.getPositions(t);
3455
3472
  for (let i = 0; i < n.length; i++) {
3456
3473
  const a = n[i][0], o = n[i][1];
3457
3474
  for (let s = -1; s <= 7; s++)
@@ -3460,15 +3477,15 @@ function aa(e, t) {
3460
3477
  o + d <= -1 || r <= o + d || (s >= 0 && s <= 6 && (d === 0 || d === 6) || d >= 0 && d <= 6 && (s === 0 || s === 6) || s >= 2 && s <= 4 && d >= 2 && d <= 4 ? e.set(a + s, o + d, !0, !0) : e.set(a + s, o + d, !1, !0));
3461
3478
  }
3462
3479
  }
3463
- function oa(e) {
3480
+ function sa(e) {
3464
3481
  const t = e.size;
3465
3482
  for (let r = 8; r < t - 8; r++) {
3466
3483
  const n = r % 2 === 0;
3467
3484
  e.set(r, 6, n, !0), e.set(6, r, n, !0);
3468
3485
  }
3469
3486
  }
3470
- function sa(e, t) {
3471
- const r = ta.getPositions(t);
3487
+ function da(e, t) {
3488
+ const r = ea.getPositions(t);
3472
3489
  for (let n = 0; n < r.length; n++) {
3473
3490
  const i = r[n][0], a = r[n][1];
3474
3491
  for (let o = -2; o <= 2; o++)
@@ -3476,20 +3493,20 @@ function sa(e, t) {
3476
3493
  o === -2 || o === 2 || s === -2 || s === 2 || o === 0 && s === 0 ? e.set(i + o, a + s, !0, !0) : e.set(i + o, a + s, !1, !0);
3477
3494
  }
3478
3495
  }
3479
- function da(e, t) {
3496
+ function la(e, t) {
3480
3497
  const r = e.size, n = Yt.getEncodedBits(t);
3481
3498
  let i, a, o;
3482
3499
  for (let s = 0; s < 18; s++)
3483
3500
  i = Math.floor(s / 3), a = s % 3 + r - 8 - 3, o = (n >> s & 1) === 1, e.set(i, a, o, !0), e.set(a, i, o, !0);
3484
3501
  }
3485
3502
  function ue(e, t, r) {
3486
- const n = e.size, i = na.getEncodedBits(t, r);
3503
+ const n = e.size, i = ia.getEncodedBits(t, r);
3487
3504
  let a, o;
3488
3505
  for (a = 0; a < 15; a++)
3489
3506
  o = (i >> a & 1) === 1, a < 6 ? e.set(a, 8, o, !0) : a < 8 ? e.set(a + 1, 8, o, !0) : e.set(n - 15 + a, 8, o, !0), a < 8 ? e.set(8, n - a - 1, o, !0) : a < 9 ? e.set(8, 15 - a - 1 + 1, o, !0) : e.set(8, 15 - a - 1, o, !0);
3490
3507
  e.set(n - 8, 8, 1, !0);
3491
3508
  }
3492
- function la(e, t) {
3509
+ function ca(e, t) {
3493
3510
  const r = e.size;
3494
3511
  let n = -1, i = r - 1, a = 7, o = 0;
3495
3512
  for (let s = r - 1; s > 0; s -= 2)
@@ -3505,10 +3522,10 @@ function la(e, t) {
3505
3522
  }
3506
3523
  }
3507
3524
  }
3508
- function ca(e, t, r) {
3509
- const n = new Xi();
3525
+ function ua(e, t, r) {
3526
+ const n = new Zi();
3510
3527
  r.forEach(function(d) {
3511
- n.put(d.mode.bit, 4), n.put(d.getLength(), ia.getCharCountIndicator(d.mode, e)), d.write(n);
3528
+ n.put(d.mode.bit, 4), n.put(d.getLength(), aa.getCharCountIndicator(d.mode, e)), d.write(n);
3512
3529
  });
3513
3530
  const i = Xt.getSymbolTotalCodewords(e), a = ve.getTotalCodewordsCount(e, t), o = (i - a) * 8;
3514
3531
  for (n.getLengthInBits() + 4 <= o && n.put(0, 4); n.getLengthInBits() % 8 !== 0; )
@@ -3516,17 +3533,17 @@ function ca(e, t, r) {
3516
3533
  const s = (o - n.getLengthInBits()) / 8;
3517
3534
  for (let d = 0; d < s; d++)
3518
3535
  n.put(d % 2 ? 17 : 236, 8);
3519
- return ua(n, e, t);
3536
+ return ha(n, e, t);
3520
3537
  }
3521
- function ua(e, t, r) {
3522
- const n = Xt.getSymbolTotalCodewords(t), i = ve.getTotalCodewordsCount(t, r), a = n - i, o = ve.getBlocksCount(t, r), s = n % o, d = o - s, l = Math.floor(n / o), c = Math.floor(a / o), h = c + 1, u = l - c, m = new ra(u);
3523
- let p = 0;
3524
- const $ = new Array(o), N = new Array(o);
3538
+ function ha(e, t, r) {
3539
+ const n = Xt.getSymbolTotalCodewords(t), i = ve.getTotalCodewordsCount(t, r), a = n - i, o = ve.getBlocksCount(t, r), s = n % o, d = o - s, l = Math.floor(n / o), c = Math.floor(a / o), h = c + 1, u = l - c, m = new na(u);
3540
+ let f = 0;
3541
+ const $ = new Array(o), C = new Array(o);
3525
3542
  let b = 0;
3526
3543
  const P = new Uint8Array(e.buffer);
3527
3544
  for (let E = 0; E < o; E++) {
3528
3545
  const D = E < d ? c : h;
3529
- $[E] = P.slice(p, p + D), N[E] = m.encode($[E]), p += D, b = Math.max(b, D);
3546
+ $[E] = P.slice(f, f + D), C[E] = m.encode($[E]), f += D, b = Math.max(b, D);
3530
3547
  }
3531
3548
  const y = new Uint8Array(n);
3532
3549
  let v = 0, S, k;
@@ -3535,10 +3552,10 @@ function ua(e, t, r) {
3535
3552
  S < $[k].length && (y[v++] = $[k][S]);
3536
3553
  for (S = 0; S < u; S++)
3537
3554
  for (k = 0; k < o; k++)
3538
- y[v++] = N[k][S];
3555
+ y[v++] = C[k][S];
3539
3556
  return y;
3540
3557
  }
3541
- function ha(e, t, r, n) {
3558
+ function pa(e, t, r, n) {
3542
3559
  let i;
3543
3560
  if (Array.isArray(e))
3544
3561
  i = ce.fromArray(e);
@@ -3563,8 +3580,8 @@ The chosen QR Code version cannot contain this amount of data.
3563
3580
  Minimum version required to store current data is: ` + a + `.
3564
3581
  `
3565
3582
  );
3566
- const o = ca(t, r, i), s = Xt.getSymbolSize(t), d = new Zi(s);
3567
- return aa(d, t), oa(d), sa(d, t), ue(d, r, 0), t >= 7 && da(d, t), la(d, o), isNaN(n) && (n = be.getBestMask(
3583
+ const o = ua(t, r, i), s = Xt.getSymbolSize(t), d = new ta(s);
3584
+ return oa(d, t), sa(d), da(d, t), ue(d, r, 0), t >= 7 && la(d, t), ca(d, o), isNaN(n) && (n = be.getBestMask(
3568
3585
  d,
3569
3586
  ue.bind(null, d, r)
3570
3587
  )), be.applyMask(n, d), ue(d, r, n), {
@@ -3579,7 +3596,7 @@ Kr.create = function(t, r) {
3579
3596
  if (typeof t > "u" || t === "")
3580
3597
  throw new Error("No input text");
3581
3598
  let n = le.M, i, a;
3582
- return typeof r < "u" && (n = le.from(r.errorCorrectionLevel, le.M), i = Yt.from(r.version), a = be.from(r.maskPattern), r.toSJISFunc && Xt.setToSJISFunction(r.toSJISFunc)), ha(t, i, n, a);
3599
+ return typeof r < "u" && (n = le.from(r.errorCorrectionLevel, le.M), i = Yt.from(r.version), a = be.from(r.maskPattern), r.toSJISFunc && Xt.setToSJISFunction(r.toSJISFunc)), pa(t, i, n, a);
3583
3600
  };
3584
3601
  var dn = {}, Re = {};
3585
3602
  (function(e) {
@@ -3624,12 +3641,12 @@ var dn = {}, Re = {};
3624
3641
  const o = i.modules.size, s = i.modules.data, d = e.getScale(o, a), l = Math.floor((o + a.margin * 2) * d), c = a.margin * d, h = [a.color.light, a.color.dark];
3625
3642
  for (let u = 0; u < l; u++)
3626
3643
  for (let m = 0; m < l; m++) {
3627
- let p = (u * l + m) * 4, $ = a.color.light;
3644
+ let f = (u * l + m) * 4, $ = a.color.light;
3628
3645
  if (u >= c && m >= c && u < l - c && m < l - c) {
3629
- const N = Math.floor((u - c) / d), b = Math.floor((m - c) / d);
3630
- $ = h[s[N * o + b] ? 1 : 0];
3646
+ const C = Math.floor((u - c) / d), b = Math.floor((m - c) / d);
3647
+ $ = h[s[C * o + b] ? 1 : 0];
3631
3648
  }
3632
- n[p++] = $.r, n[p++] = $.g, n[p++] = $.b, n[p] = $.a;
3649
+ n[f++] = $.r, n[f++] = $.g, n[f++] = $.b, n[f] = $.a;
3633
3650
  }
3634
3651
  };
3635
3652
  })(Re);
@@ -3667,7 +3684,7 @@ function he(e, t, r) {
3667
3684
  let n = e + t;
3668
3685
  return typeof r < "u" && (n += " " + r), n;
3669
3686
  }
3670
- function pa(e, t, r) {
3687
+ function ma(e, t, r) {
3671
3688
  let n = "", i = 0, a = !1, o = 0;
3672
3689
  for (let s = 0; s < e.length; s++) {
3673
3690
  const d = Math.floor(s % t), l = Math.floor(s / t);
@@ -3676,14 +3693,14 @@ function pa(e, t, r) {
3676
3693
  return n;
3677
3694
  }
3678
3695
  ln.render = function(t, r, n) {
3679
- const i = fa.getOptions(r), a = t.modules.size, o = t.modules.data, s = a + i.margin * 2, d = i.color.light.a ? "<path " + ar(i.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", l = "<path " + ar(i.color.dark, "stroke") + ' d="' + pa(o, a, i.margin) + '"/>', c = 'viewBox="0 0 ' + s + " " + s + '"', u = '<svg xmlns="http://www.w3.org/2000/svg" ' + (i.width ? 'width="' + i.width + '" height="' + i.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + d + l + `</svg>
3696
+ const i = fa.getOptions(r), a = t.modules.size, o = t.modules.data, s = a + i.margin * 2, d = i.color.light.a ? "<path " + ar(i.color.light, "fill") + ' d="M0 0h' + s + "v" + s + 'H0z"/>' : "", l = "<path " + ar(i.color.dark, "stroke") + ' d="' + ma(o, a, i.margin) + '"/>', c = 'viewBox="0 0 ' + s + " " + s + '"', u = '<svg xmlns="http://www.w3.org/2000/svg" ' + (i.width ? 'width="' + i.width + '" height="' + i.width + '" ' : "") + c + ' shape-rendering="crispEdges">' + d + l + `</svg>
3680
3697
  `;
3681
3698
  return typeof n == "function" && n(null, u), u;
3682
3699
  };
3683
- const ma = _i, Pe = Kr, cn = dn, $a = ln;
3700
+ const $a = Ii, Pe = Kr, cn = dn, ga = ln;
3684
3701
  function Le(e, t, r, n, i) {
3685
3702
  const a = [].slice.call(arguments, 1), o = a.length, s = typeof a[o - 1] == "function";
3686
- if (!s && !ma())
3703
+ if (!s && !$a())
3687
3704
  throw new Error("Callback required as last argument");
3688
3705
  if (s) {
3689
3706
  if (o < 2)
@@ -3708,11 +3725,11 @@ function Le(e, t, r, n, i) {
3708
3725
  i(d);
3709
3726
  }
3710
3727
  }
3711
- Ot.create = Pe.create;
3712
- Ot.toCanvas = Le.bind(null, cn.render);
3713
- Ot.toDataURL = Le.bind(null, cn.renderToDataURL);
3714
- Ot.toString = Le.bind(null, function(e, t, r) {
3715
- return $a.render(e, r);
3728
+ Ft.create = Pe.create;
3729
+ Ft.toCanvas = Le.bind(null, cn.render);
3730
+ Ft.toDataURL = Le.bind(null, cn.renderToDataURL);
3731
+ Ft.toString = Le.bind(null, function(e, t, r) {
3732
+ return ga.render(e, r);
3716
3733
  });
3717
3734
  const un = { 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(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|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, [["(?:(?:241|349)0\\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])|[34]\\d\\d)|91(?:(?:[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}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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|44)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-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|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\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-6])\\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-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\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", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], 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|5[07]|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]|3[23]|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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], 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{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\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(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[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]|9[14]"]], ["(\\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-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-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]|3[13])"], "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, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[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}"]]], 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|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\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|180020", "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-6])\\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", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{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-589]\\d{7}", [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|180020", "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|8(?:28[235-7]|3))|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])\\d|8(?:[14-6]\\d|2[0-79]))|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", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[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,11}|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", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|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[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["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|180020", "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|427|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", ["[47]"], "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[2569]\\d{4,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", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "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", ["3"], "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-6]|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", "(?:[2457]\\d|33|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", ["20"]], ["(\\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]"]], ["(\\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", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|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{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\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", ["[67]"], "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-6])\\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", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\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", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], 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", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,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", ["3[289]|4[246-8]|61|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[136]|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[0-3]|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-6]|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, "[3489]", 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", "(?:[15]\\d|800|92)\\d{7}", [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{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]|[6-8]\\d|90)\\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-9]"]]]], 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", "[25-7]\\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", ["[25-7]"]], ["(\\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|30|[689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-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|66)\\d{7}", [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", ["\\d"]]], 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, [["(?:274[27]|(?:472|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-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|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-57-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-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|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-3589]|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]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\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|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "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}"]]] } };
3718
3735
  function hn(e, t) {
@@ -3730,9 +3747,9 @@ function or(e, t) {
3730
3747
  }
3731
3748
  return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
3732
3749
  }
3733
- var ga = {}.constructor;
3750
+ var ya = {}.constructor;
3734
3751
  function Z(e) {
3735
- return e != null && e.constructor === ga;
3752
+ return e != null && e.constructor === ya;
3736
3753
  }
3737
3754
  function ct(e) {
3738
3755
  "@babel/helpers - typeof";
@@ -3745,20 +3762,20 @@ function ct(e) {
3745
3762
  function Zt(e, t) {
3746
3763
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
3747
3764
  }
3748
- function ya(e, t) {
3765
+ function ba(e, t) {
3749
3766
  for (var r = 0; r < t.length; r++) {
3750
3767
  var n = t[r];
3751
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, ba(n.key), n);
3768
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, va(n.key), n);
3752
3769
  }
3753
3770
  }
3754
3771
  function te(e, t, r) {
3755
- return t && ya(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
3772
+ return t && ba(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
3756
3773
  }
3757
- function ba(e) {
3758
- var t = va(e, "string");
3774
+ function va(e) {
3775
+ var t = Pa(e, "string");
3759
3776
  return ct(t) == "symbol" ? t : t + "";
3760
3777
  }
3761
- function va(e, t) {
3778
+ function Pa(e, t) {
3762
3779
  if (ct(e) != "object" || !e) return e;
3763
3780
  var r = e[Symbol.toPrimitive];
3764
3781
  if (r !== void 0) {
@@ -3768,9 +3785,9 @@ function va(e, t) {
3768
3785
  }
3769
3786
  return String(e);
3770
3787
  }
3771
- var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ */ function() {
3788
+ var wa = "1.2.0", Ca = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ */ function() {
3772
3789
  function e(t) {
3773
- Zt(this, e), fn(t), this.metadata = t, pn.call(this, t);
3790
+ Zt(this, e), pn(t), this.metadata = t, fn.call(this, t);
3774
3791
  }
3775
3792
  return te(e, [{
3776
3793
  key: "getCountries",
@@ -3956,7 +3973,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
3956
3973
  }]);
3957
3974
  }(), dr = /* @__PURE__ */ function() {
3958
3975
  function e(t, r) {
3959
- Zt(this, e), this.globalMetadataObject = r, this.metadata = t, pn.call(this, r.metadata);
3976
+ Zt(this, e), this.globalMetadataObject = r, this.metadata = t, fn.call(this, r.metadata);
3960
3977
  }
3961
3978
  return te(e, [{
3962
3979
  key: "callingCode",
@@ -4013,7 +4030,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
4013
4030
  value: function() {
4014
4031
  var r = this, n = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
4015
4032
  return n.map(function(i) {
4016
- return new Ca(i, r);
4033
+ return new xa(i, r);
4017
4034
  });
4018
4035
  }
4019
4036
  }, {
@@ -4082,7 +4099,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
4082
4099
  key: "type",
4083
4100
  value: function(r) {
4084
4101
  if (this.hasTypes() && lr(this.types(), r))
4085
- return new Sa(lr(this.types(), r), this);
4102
+ return new Aa(lr(this.types(), r), this);
4086
4103
  }
4087
4104
  }, {
4088
4105
  key: "ext",
@@ -4090,7 +4107,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
4090
4107
  return this.v1 || this.v2 ? sr : this.metadata[13] || sr;
4091
4108
  }
4092
4109
  }]);
4093
- }(), Ca = /* @__PURE__ */ function() {
4110
+ }(), xa = /* @__PURE__ */ function() {
4094
4111
  function e(t, r) {
4095
4112
  Zt(this, e), this._format = t, this.metadata = r;
4096
4113
  }
@@ -4129,7 +4146,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
4129
4146
  key: "usesNationalPrefix",
4130
4147
  value: function() {
4131
4148
  return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
4132
- !xa.test(this.nationalPrefixFormattingRule()));
4149
+ !Sa.test(this.nationalPrefixFormattingRule()));
4133
4150
  }
4134
4151
  }, {
4135
4152
  key: "internationalFormat",
@@ -4137,7 +4154,7 @@ var Pa = "1.2.0", wa = "1.7.35", sr = " ext. ", Na = /^\d+$/, I = /* @__PURE__ *
4137
4154
  return this._format[5] || this.format();
4138
4155
  }
4139
4156
  }]);
4140
- }(), xa = /^\(?\$1\)?$/, Sa = /* @__PURE__ */ function() {
4157
+ }(), Sa = /^\(?\$1\)?$/, Aa = /* @__PURE__ */ function() {
4141
4158
  function e(t, r) {
4142
4159
  Zt(this, e), this.type = t, this.metadata = r;
4143
4160
  }
@@ -4178,13 +4195,13 @@ function lr(e, t) {
4178
4195
  return e[9];
4179
4196
  }
4180
4197
  }
4181
- function fn(e) {
4198
+ function pn(e) {
4182
4199
  if (!e)
4183
4200
  throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
4184
4201
  if (!Z(e) || !Z(e.countries))
4185
- 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(Z(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + Aa(e) + ": " + e, "."));
4202
+ 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(Z(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + ka(e) + ": " + e, "."));
4186
4203
  }
4187
- var Aa = function(t) {
4204
+ var ka = function(t) {
4188
4205
  return ct(t);
4189
4206
  };
4190
4207
  function Be(e, t) {
@@ -4192,17 +4209,17 @@ function Be(e, t) {
4192
4209
  return t.selectNumberingPlan(e).countryCallingCode();
4193
4210
  throw new Error("Unknown country: ".concat(e));
4194
4211
  }
4195
- function ka(e, t) {
4212
+ function Ea(e, t) {
4196
4213
  return t.countries.hasOwnProperty(e);
4197
4214
  }
4198
- function pn(e) {
4215
+ function fn(e) {
4199
4216
  var t = e.version;
4200
- typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t, Pa) === -1 ? this.v2 = !0 : or(t, wa) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
4217
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? or(t, wa) === -1 ? this.v2 = !0 : or(t, Ca) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
4201
4218
  }
4202
4219
  function ee(e, t, r) {
4203
- return Ea(e, t, void 0, r);
4220
+ return _a(e, t, void 0, r);
4204
4221
  }
4205
- function Ea(e, t, r, n) {
4222
+ function _a(e, t, r, n) {
4206
4223
  t && (n = new I(n.metadata), n.selectNumberingPlan(t));
4207
4224
  var i = n.type(r), a = i && i.possibleLengths() || n.possibleLengths();
4208
4225
  if (!a)
@@ -4210,7 +4227,7 @@ function Ea(e, t, r, n) {
4210
4227
  var o = e.length, s = a[0];
4211
4228
  return s === o ? "IS_POSSIBLE" : s > o ? "TOO_SHORT" : a[a.length - 1] < o ? "TOO_LONG" : a.indexOf(o, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
4212
4229
  }
4213
- function _a(e, t, r) {
4230
+ function Ia(e, t, r) {
4214
4231
  if (t === void 0 && (t = {}), r = new I(r), t.v2) {
4215
4232
  if (!e.countryCallingCode)
4216
4233
  throw new Error("Invalid phone number object passed");
@@ -4245,10 +4262,10 @@ function mn(e, t, r) {
4245
4262
  function G(e, t) {
4246
4263
  return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
4247
4264
  }
4248
- function Ia(e, t) {
4265
+ function Ta(e, t) {
4249
4266
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4250
4267
  if (r) return (r = r.call(e)).next.bind(r);
4251
- if (Array.isArray(e) || (r = Ta(e)) || t) {
4268
+ if (Array.isArray(e) || (r = Ma(e)) || t) {
4252
4269
  r && (e = r);
4253
4270
  var n = 0;
4254
4271
  return function() {
@@ -4258,7 +4275,7 @@ function Ia(e, t) {
4258
4275
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4259
4276
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4260
4277
  }
4261
- function Ta(e, t) {
4278
+ function Ma(e, t) {
4262
4279
  if (e) {
4263
4280
  if (typeof e == "string") return cr(e, t);
4264
4281
  var r = {}.toString.call(e).slice(8, -1);
@@ -4270,23 +4287,23 @@ function cr(e, t) {
4270
4287
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
4271
4288
  return n;
4272
4289
  }
4273
- var Ma = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
4290
+ var Oa = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
4274
4291
  function Ue(e, t, r) {
4275
4292
  if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
4276
4293
  r = new I(r), r.selectNumberingPlan(e.country, e.countryCallingCode);
4277
4294
  var n = t.v2 ? e.nationalNumber : e.phone;
4278
4295
  if (G(n, r.nationalNumberPattern())) {
4279
- if (fe(n, "FIXED_LINE", r))
4280
- return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || fe(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
4281
- for (var i = Ia(Ma), a; !(a = i()).done; ) {
4296
+ if (pe(n, "FIXED_LINE", r))
4297
+ return r.type("MOBILE") && r.type("MOBILE").pattern() === "" || !r.type("MOBILE") || pe(n, "MOBILE", r) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
4298
+ for (var i = Ta(Oa), a; !(a = i()).done; ) {
4282
4299
  var o = a.value;
4283
- if (fe(n, o, r))
4300
+ if (pe(n, o, r))
4284
4301
  return o;
4285
4302
  }
4286
4303
  }
4287
4304
  }
4288
4305
  }
4289
- function fe(e, t, r) {
4306
+ function pe(e, t, r) {
4290
4307
  var n = r.type(t);
4291
4308
  return !n || !n.pattern() || n.possibleLengths() && n.possibleLengths().indexOf(e.length) < 0 ? !1 : G(e, n.pattern());
4292
4309
  }
@@ -4296,17 +4313,17 @@ function Fa(e, t, r) {
4296
4313
  var n = t.v2 ? e.nationalNumber : e.phone;
4297
4314
  return G(n, r.nationalNumberPattern());
4298
4315
  }
4299
- function Oa(e, t, r) {
4316
+ function Da(e, t, r) {
4300
4317
  var n = new I(r), i = n.getCountryCodesForCallingCode(e);
4301
4318
  return i ? i.filter(function(a) {
4302
- return Da(t, a, r);
4319
+ return Ra(t, a, r);
4303
4320
  }) : [];
4304
4321
  }
4305
- function Da(e, t, r) {
4322
+ function Ra(e, t, r) {
4306
4323
  var n = new I(r);
4307
4324
  return n.selectNumberingPlan(t), n.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
4308
4325
  }
4309
- var He = 2, Ra = 17, La = 3, T = "0-90-9٠-٩۰-۹", Ba = "-‐-―−ー-", Ua = "//", Ha = "..", ja = "  ­​⁠ ", Ga = "()()[]\\[\\]", Ya = "~⁓∼~", L = "".concat(Ba).concat(Ua).concat(Ha).concat(ja).concat(Ga).concat(Ya), re = "++", Va = new RegExp("([" + T + "])");
4326
+ var He = 2, La = 17, Ba = 3, T = "0-90-9٠-٩۰-۹", Ua = "-‐-―−ー-", Ha = "//", ja = "..", Ga = "  ­​⁠ ", Ya = "()()[]\\[\\]", Va = "~⁓∼~", L = "".concat(Ua).concat(Ha).concat(ja).concat(Ga).concat(Ya).concat(Va), re = "++", za = new RegExp("([" + T + "])");
4310
4327
  function $n(e, t, r, n) {
4311
4328
  if (t) {
4312
4329
  var i = new I(n);
@@ -4314,7 +4331,7 @@ function $n(e, t, r, n) {
4314
4331
  var a = new RegExp(i.IDDPrefix());
4315
4332
  if (e.search(a) === 0) {
4316
4333
  e = e.slice(e.match(a)[0].length);
4317
- var o = e.match(Va);
4334
+ var o = e.match(za);
4318
4335
  if (!(o && o[1] != null && o[1].length > 0 && o[1] === "0"))
4319
4336
  return e;
4320
4337
  }
@@ -4348,10 +4365,10 @@ function we(e, t) {
4348
4365
  nationalNumber: e
4349
4366
  };
4350
4367
  }
4351
- function za(e, t) {
4368
+ function qa(e, t) {
4352
4369
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4353
4370
  if (r) return (r = r.call(e)).next.bind(r);
4354
- if (Array.isArray(e) || (r = qa(e)) || t) {
4371
+ if (Array.isArray(e) || (r = Ka(e)) || t) {
4355
4372
  r && (e = r);
4356
4373
  var n = 0;
4357
4374
  return function() {
@@ -4361,7 +4378,7 @@ function za(e, t) {
4361
4378
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4362
4379
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4363
4380
  }
4364
- function qa(e, t) {
4381
+ function Ka(e, t) {
4365
4382
  if (e) {
4366
4383
  if (typeof e == "string") return ur(e, t);
4367
4384
  var r = {}.toString.call(e).slice(8, -1);
@@ -4376,7 +4393,7 @@ function ur(e, t) {
4376
4393
  function gn(e, t) {
4377
4394
  var r = t.countries, n = t.metadata;
4378
4395
  n = new I(n);
4379
- for (var i = za(r), a; !(a = i()).done; ) {
4396
+ for (var i = qa(r), a; !(a = i()).done; ) {
4380
4397
  var o = a.value;
4381
4398
  if (n.selectNumberingPlan(o), n.leadingDigits()) {
4382
4399
  if (e && e.search(n.leadingDigits()) === 0)
@@ -4396,17 +4413,17 @@ function je(e, t) {
4396
4413
  metadata: n.metadata
4397
4414
  });
4398
4415
  }
4399
- function Ne(e, t, r) {
4416
+ function Ce(e, t, r) {
4400
4417
  var n = we(e, r), i = n.carrierCode, a = n.nationalNumber;
4401
4418
  if (a !== e) {
4402
- if (!Ka(e, a, r))
4419
+ if (!Wa(e, a, r))
4403
4420
  return {
4404
4421
  nationalNumber: e
4405
4422
  };
4406
4423
  if (r.numberingPlan.possibleLengths() && (t || (t = je(r.numberingPlan.callingCode(), {
4407
4424
  nationalNumber: a,
4408
4425
  metadata: r
4409
- })), !Wa(a, t, r)))
4426
+ })), !Qa(a, t, r)))
4410
4427
  return {
4411
4428
  nationalNumber: e
4412
4429
  };
@@ -4416,10 +4433,10 @@ function Ne(e, t, r) {
4416
4433
  carrierCode: i
4417
4434
  };
4418
4435
  }
4419
- function Ka(e, t, r) {
4436
+ function Wa(e, t, r) {
4420
4437
  return !(G(e, r.nationalNumberPattern()) && !G(t, r.nationalNumberPattern()));
4421
4438
  }
4422
- function Wa(e, t, r) {
4439
+ function Qa(e, t, r) {
4423
4440
  switch (ee(e, t, r)) {
4424
4441
  case "TOO_SHORT":
4425
4442
  case "INVALID_LENGTH":
@@ -4432,7 +4449,7 @@ function yn(e, t, r, n, i) {
4432
4449
  var a = t || r ? Be(t || r, i) : n;
4433
4450
  if (e.indexOf(a) === 0) {
4434
4451
  i = new I(i), i.selectNumberingPlan(t || r, a);
4435
- var o = e.slice(a.length), s = Ne(o, t, i), d = s.nationalNumber, l = Ne(e, t, i), c = l.nationalNumber;
4452
+ var o = e.slice(a.length), s = Ce(o, t, i), d = s.nationalNumber, l = Ce(e, t, i), c = l.nationalNumber;
4436
4453
  if (!G(c, i.nationalNumberPattern()) && G(d, i.nationalNumberPattern()) || ee(c, t, i) === "TOO_LONG")
4437
4454
  return {
4438
4455
  countryCallingCode: a,
@@ -4471,7 +4488,7 @@ function Ge(e, t, r, n, i) {
4471
4488
  if (e[1] === "0")
4472
4489
  return {};
4473
4490
  i = new I(i);
4474
- for (var c = 2; c - 1 <= La && c <= e.length; ) {
4491
+ for (var c = 2; c - 1 <= Ba && c <= e.length; ) {
4475
4492
  var h = e.slice(1, c);
4476
4493
  if (i.hasCallingCode(h))
4477
4494
  return i.selectNumberingPlan(h), {
@@ -4508,34 +4525,34 @@ function Pn(e, t, r) {
4508
4525
  ));
4509
4526
  return n ? bn(a) : a;
4510
4527
  }
4511
- var Qa = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
4512
- function Ja(e, t, r) {
4528
+ var Ja = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
4529
+ function Xa(e, t, r) {
4513
4530
  var n = new I(r);
4514
4531
  if (n.selectNumberingPlan(e, t), n.defaultIDDPrefix())
4515
4532
  return n.defaultIDDPrefix();
4516
- if (Qa.test(n.IDDPrefix()))
4533
+ if (Ja.test(n.IDDPrefix()))
4517
4534
  return n.IDDPrefix();
4518
4535
  }
4519
- var Xa = ";ext=", et = function(t) {
4536
+ var Za = ";ext=", et = function(t) {
4520
4537
  return "([".concat(T, "]{1,").concat(t, "})");
4521
4538
  };
4522
4539
  function wn(e) {
4523
- var t = "20", r = "15", n = "9", i = "6", a = "[  \\t,]*", o = "[:\\..]?[  \\t,-]*", s = "#?", d = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", h = "[  \\t]*", u = "(?:,{2}|;)", m = Xa + et(t), p = a + d + o + et(t) + s, $ = a + l + o + et(n) + s, N = c + et(i) + "#", b = h + u + o + et(r) + s, P = h + "(?:,)+" + o + et(n) + s;
4524
- return m + "|" + p + "|" + $ + "|" + N + "|" + b + "|" + P;
4540
+ var t = "20", r = "15", n = "9", i = "6", a = "[  \\t,]*", o = "[:\\..]?[  \\t,-]*", s = "#?", d = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", l = "(?:[xx##~~]|int|int)", c = "[- ]+", h = "[  \\t]*", u = "(?:,{2}|;)", m = Za + et(t), f = a + d + o + et(t) + s, $ = a + l + o + et(n) + s, C = c + et(i) + "#", b = h + u + o + et(r) + s, P = h + "(?:,)+" + o + et(n) + s;
4541
+ return m + "|" + f + "|" + $ + "|" + C + "|" + b + "|" + P;
4525
4542
  }
4526
- var Za = "[" + T + "]{" + He + "}", to = "[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){3,}[" + L + T + "]*", eo = new RegExp("^[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){1,2}$", "i"), ro = to + // Phone number extensions
4527
- "(?:" + wn() + ")?", no = new RegExp(
4543
+ var to = "[" + T + "]{" + He + "}", eo = "[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){3,}[" + L + T + "]*", ro = new RegExp("^[" + re + "]{0,1}(?:[" + L + "]*[" + T + "]){1,2}$", "i"), no = eo + // Phone number extensions
4544
+ "(?:" + wn() + ")?", io = new RegExp(
4528
4545
  // Either a short two-digit-only phone number
4529
- "^" + Za + "$|^" + ro + "$",
4546
+ "^" + to + "$|^" + no + "$",
4530
4547
  "i"
4531
4548
  );
4532
- function io(e) {
4533
- return e.length >= He && no.test(e);
4534
- }
4535
4549
  function ao(e) {
4536
- return eo.test(e);
4550
+ return e.length >= He && io.test(e);
4537
4551
  }
4538
4552
  function oo(e) {
4553
+ return ro.test(e);
4554
+ }
4555
+ function so(e) {
4539
4556
  var t = e.number, r = e.ext;
4540
4557
  if (!t)
4541
4558
  return "";
@@ -4548,8 +4565,8 @@ var hr = {
4548
4565
  return "".concat(t).concat(n.ext()).concat(r);
4549
4566
  }
4550
4567
  };
4551
- function so(e, t, r, n) {
4552
- if (r ? r = uo({}, hr, r) : r = hr, n = new I(n), e.country && e.country !== "001") {
4568
+ function lo(e, t, r, n) {
4569
+ if (r ? r = ho({}, hr, r) : r = hr, n = new I(n), e.country && e.country !== "001") {
4553
4570
  if (!n.hasCountry(e.country))
4554
4571
  throw new Error("Unknown country: ".concat(e.country));
4555
4572
  n.selectNumberingPlan(e.country);
@@ -4559,27 +4576,27 @@ function so(e, t, r, n) {
4559
4576
  var i = n.countryCallingCode(), a = r.v2 ? e.nationalNumber : e.phone, o;
4560
4577
  switch (t) {
4561
4578
  case "NATIONAL":
4562
- return a ? (o = Vt(a, e.carrierCode, "NATIONAL", n, r), pe(o, e.ext, n, r.formatExtension)) : "";
4579
+ return a ? (o = Vt(a, e.carrierCode, "NATIONAL", n, r), fe(o, e.ext, n, r.formatExtension)) : "";
4563
4580
  case "INTERNATIONAL":
4564
- return a ? (o = Vt(a, null, "INTERNATIONAL", n, r), o = "+".concat(i, " ").concat(o), pe(o, e.ext, n, r.formatExtension)) : "+".concat(i);
4581
+ return a ? (o = Vt(a, null, "INTERNATIONAL", n, r), o = "+".concat(i, " ").concat(o), fe(o, e.ext, n, r.formatExtension)) : "+".concat(i);
4565
4582
  case "E.164":
4566
4583
  return "+".concat(i).concat(a);
4567
4584
  case "RFC3966":
4568
- return oo({
4585
+ return so({
4569
4586
  number: "+".concat(i).concat(a),
4570
4587
  ext: e.ext
4571
4588
  });
4572
4589
  case "IDD":
4573
4590
  if (!r.fromCountry)
4574
4591
  return;
4575
- var s = co(a, e.carrierCode, i, r.fromCountry, n);
4576
- return s ? pe(s, e.ext, n, r.formatExtension) : void 0;
4592
+ var s = uo(a, e.carrierCode, i, r.fromCountry, n);
4593
+ return s ? fe(s, e.ext, n, r.formatExtension) : void 0;
4577
4594
  default:
4578
4595
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
4579
4596
  }
4580
4597
  }
4581
4598
  function Vt(e, t, r, n, i) {
4582
- var a = lo(n.formats(), e);
4599
+ var a = co(n.formats(), e);
4583
4600
  return a ? Pn(e, a, {
4584
4601
  useInternationalFormat: r === "INTERNATIONAL",
4585
4602
  withNationalPrefix: !(a.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && i && i.nationalPrefix === !1),
@@ -4587,8 +4604,8 @@ function Vt(e, t, r, n, i) {
4587
4604
  metadata: n
4588
4605
  }) : e;
4589
4606
  }
4590
- function lo(e, t) {
4591
- return ho(e, function(r) {
4607
+ function co(e, t) {
4608
+ return po(e, function(r) {
4592
4609
  if (r.leadingDigitsPatterns().length > 0) {
4593
4610
  var n = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
4594
4611
  if (t.search(n) !== 0)
@@ -4597,20 +4614,20 @@ function lo(e, t) {
4597
4614
  return G(t, r.pattern());
4598
4615
  });
4599
4616
  }
4600
- function pe(e, t, r, n) {
4617
+ function fe(e, t, r, n) {
4601
4618
  return t ? n(e, t, r) : e;
4602
4619
  }
4603
- function co(e, t, r, n, i) {
4620
+ function uo(e, t, r, n, i) {
4604
4621
  var a = Be(n, i.metadata);
4605
4622
  if (a === r) {
4606
4623
  var o = Vt(e, t, "NATIONAL", i);
4607
4624
  return r === "1" ? r + " " + o : o;
4608
4625
  }
4609
- var s = Ja(n, void 0, i.metadata);
4626
+ var s = Xa(n, void 0, i.metadata);
4610
4627
  if (s)
4611
4628
  return "".concat(s, " ").concat(r, " ").concat(Vt(e, null, "INTERNATIONAL", i));
4612
4629
  }
4613
- function uo() {
4630
+ function ho() {
4614
4631
  for (var e = 1, t = arguments.length, r = new Array(t), n = 0; n < t; n++)
4615
4632
  r[n] = arguments[n];
4616
4633
  for (; e < r.length; ) {
@@ -4621,7 +4638,7 @@ function uo() {
4621
4638
  }
4622
4639
  return r[0];
4623
4640
  }
4624
- function ho(e, t) {
4641
+ function po(e, t) {
4625
4642
  for (var r = 0; r < e.length; ) {
4626
4643
  if (t(e[r]))
4627
4644
  return e[r];
@@ -4636,7 +4653,7 @@ function Pt(e) {
4636
4653
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4637
4654
  }, Pt(e);
4638
4655
  }
4639
- function fr(e, t) {
4656
+ function pr(e, t) {
4640
4657
  var r = Object.keys(e);
4641
4658
  if (Object.getOwnPropertySymbols) {
4642
4659
  var n = Object.getOwnPropertySymbols(e);
@@ -4646,37 +4663,37 @@ function fr(e, t) {
4646
4663
  }
4647
4664
  return r;
4648
4665
  }
4649
- function pr(e) {
4666
+ function fr(e) {
4650
4667
  for (var t = 1; t < arguments.length; t++) {
4651
4668
  var r = arguments[t] != null ? arguments[t] : {};
4652
- t % 2 ? fr(Object(r), !0).forEach(function(n) {
4669
+ t % 2 ? pr(Object(r), !0).forEach(function(n) {
4653
4670
  fo(e, n, r[n]);
4654
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : fr(Object(r)).forEach(function(n) {
4671
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : pr(Object(r)).forEach(function(n) {
4655
4672
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
4656
4673
  });
4657
4674
  }
4658
4675
  return e;
4659
4676
  }
4660
4677
  function fo(e, t, r) {
4661
- return (t = Nn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4678
+ return (t = Cn(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
4662
4679
  }
4663
- function po(e, t) {
4680
+ function mo(e, t) {
4664
4681
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
4665
4682
  }
4666
- function mo(e, t) {
4683
+ function $o(e, t) {
4667
4684
  for (var r = 0; r < t.length; r++) {
4668
4685
  var n = t[r];
4669
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Nn(n.key), n);
4686
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Cn(n.key), n);
4670
4687
  }
4671
4688
  }
4672
- function $o(e, t, r) {
4673
- return t && mo(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
4689
+ function go(e, t, r) {
4690
+ return t && $o(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
4674
4691
  }
4675
- function Nn(e) {
4676
- var t = go(e, "string");
4692
+ function Cn(e) {
4693
+ var t = yo(e, "string");
4677
4694
  return Pt(t) == "symbol" ? t : t + "";
4678
4695
  }
4679
- function go(e, t) {
4696
+ function yo(e, t) {
4680
4697
  if (Pt(e) != "object" || !e) return e;
4681
4698
  var r = e[Symbol.toPrimitive];
4682
4699
  if (r !== void 0) {
@@ -4686,9 +4703,9 @@ function go(e, t) {
4686
4703
  }
4687
4704
  return String(e);
4688
4705
  }
4689
- var Cn = /* @__PURE__ */ function() {
4706
+ var Nn = /* @__PURE__ */ function() {
4690
4707
  function e(t, r, n) {
4691
- if (po(this, e), !t)
4708
+ if (mo(this, e), !t)
4692
4709
  throw new TypeError("First argument is required");
4693
4710
  if (typeof t != "string")
4694
4711
  throw new TypeError("First argument must be a string");
@@ -4697,7 +4714,7 @@ var Cn = /* @__PURE__ */ function() {
4697
4714
  if (Z(r) && Z(r.countries)) {
4698
4715
  n = r;
4699
4716
  var i = t;
4700
- if (!vo.test(i))
4717
+ if (!Po.test(i))
4701
4718
  throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
4702
4719
  var a = Ge(i, void 0, void 0, void 0, n), o = a.countryCallingCode, s = a.number;
4703
4720
  if (r = s, t = o, !r)
@@ -4707,13 +4724,13 @@ var Cn = /* @__PURE__ */ function() {
4707
4724
  throw new TypeError("`nationalNumber` argument is required");
4708
4725
  if (typeof r != "string")
4709
4726
  throw new TypeError("`nationalNumber` argument must be a string");
4710
- fn(n);
4711
- var d = bo(t, n), l = d.country, c = d.countryCallingCode;
4727
+ pn(n);
4728
+ var d = vo(t, n), l = d.country, c = d.countryCallingCode;
4712
4729
  this.country = l, this.countryCallingCode = c, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
4713
4730
  return n;
4714
4731
  };
4715
4732
  }
4716
- return $o(e, [{
4733
+ return go(e, [{
4717
4734
  key: "setExt",
4718
4735
  value: function(r) {
4719
4736
  this.ext = r;
@@ -4721,12 +4738,12 @@ var Cn = /* @__PURE__ */ function() {
4721
4738
  }, {
4722
4739
  key: "getPossibleCountries",
4723
4740
  value: function() {
4724
- return this.country ? [this.country] : Oa(this.countryCallingCode, this.nationalNumber, this.getMetadata());
4741
+ return this.country ? [this.country] : Da(this.countryCallingCode, this.nationalNumber, this.getMetadata());
4725
4742
  }
4726
4743
  }, {
4727
4744
  key: "isPossible",
4728
4745
  value: function() {
4729
- return _a(this, {
4746
+ return Ia(this, {
4730
4747
  v2: !0
4731
4748
  }, this.getMetadata());
4732
4749
  }
@@ -4772,7 +4789,7 @@ var Cn = /* @__PURE__ */ function() {
4772
4789
  }, {
4773
4790
  key: "format",
4774
4791
  value: function(r, n) {
4775
- return so(this, r, n ? pr(pr({}, n), {}, {
4792
+ return lo(this, r, n ? fr(fr({}, n), {}, {
4776
4793
  v2: !0
4777
4794
  }) : {
4778
4795
  v2: !0
@@ -4794,63 +4811,63 @@ var Cn = /* @__PURE__ */ function() {
4794
4811
  return this.format("RFC3966", r);
4795
4812
  }
4796
4813
  }]);
4797
- }(), yo = function(t) {
4814
+ }(), bo = function(t) {
4798
4815
  return /^[A-Z]{2}$/.test(t);
4799
4816
  };
4800
- function bo(e, t) {
4817
+ function vo(e, t) {
4801
4818
  var r, n, i = new I(t);
4802
- return yo(e) ? (r = e, i.selectNumberingPlan(r), n = i.countryCallingCode()) : n = e, {
4819
+ return bo(e) ? (r = e, i.selectNumberingPlan(r), n = i.countryCallingCode()) : n = e, {
4803
4820
  country: r,
4804
4821
  countryCallingCode: n
4805
4822
  };
4806
4823
  }
4807
- var vo = /^\+\d+$/;
4808
- function Ce(e) {
4824
+ var Po = /^\+\d+$/;
4825
+ function Ne(e) {
4809
4826
  "@babel/helpers - typeof";
4810
- return Ce = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4827
+ return Ne = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
4811
4828
  return typeof t;
4812
4829
  } : function(t) {
4813
4830
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
4814
- }, Ce(e);
4831
+ }, Ne(e);
4815
4832
  }
4816
- function Po(e, t, r) {
4833
+ function wo(e, t, r) {
4817
4834
  return Object.defineProperty(e, "prototype", { writable: !1 }), e;
4818
4835
  }
4819
- function wo(e, t) {
4836
+ function Co(e, t) {
4820
4837
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
4821
4838
  }
4822
4839
  function No(e, t, r) {
4823
- return t = Nt(t), Co(e, Ye() ? Reflect.construct(t, r || [], Nt(e).constructor) : t.apply(e, r));
4840
+ return t = Ct(t), xo(e, Ye() ? Reflect.construct(t, r || [], Ct(e).constructor) : t.apply(e, r));
4824
4841
  }
4825
- function Co(e, t) {
4826
- if (t && (Ce(t) == "object" || typeof t == "function")) return t;
4842
+ function xo(e, t) {
4843
+ if (t && (Ne(t) == "object" || typeof t == "function")) return t;
4827
4844
  if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
4828
- return xo(e);
4845
+ return So(e);
4829
4846
  }
4830
- function xo(e) {
4847
+ function So(e) {
4831
4848
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4832
4849
  return e;
4833
4850
  }
4834
- function So(e, t) {
4851
+ function Ao(e, t) {
4835
4852
  if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
4836
4853
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && wt(e, t);
4837
4854
  }
4838
4855
  function xe(e) {
4839
4856
  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
4840
4857
  return xe = function(n) {
4841
- if (n === null || !ko(n)) return n;
4858
+ if (n === null || !Eo(n)) return n;
4842
4859
  if (typeof n != "function") throw new TypeError("Super expression must either be null or a function");
4843
4860
  if (t !== void 0) {
4844
4861
  if (t.has(n)) return t.get(n);
4845
4862
  t.set(n, i);
4846
4863
  }
4847
4864
  function i() {
4848
- return Ao(n, arguments, Nt(this).constructor);
4865
+ return ko(n, arguments, Ct(this).constructor);
4849
4866
  }
4850
4867
  return i.prototype = Object.create(n.prototype, { constructor: { value: i, enumerable: !1, writable: !0, configurable: !0 } }), wt(i, n);
4851
4868
  }, xe(e);
4852
4869
  }
4853
- function Ao(e, t, r) {
4870
+ function ko(e, t, r) {
4854
4871
  if (Ye()) return Reflect.construct.apply(null, arguments);
4855
4872
  var n = [null];
4856
4873
  n.push.apply(n, t);
@@ -4867,7 +4884,7 @@ function Ye() {
4867
4884
  return !!e;
4868
4885
  })();
4869
4886
  }
4870
- function ko(e) {
4887
+ function Eo(e) {
4871
4888
  try {
4872
4889
  return Function.toString.call(e).indexOf("[native code]") !== -1;
4873
4890
  } catch {
@@ -4879,19 +4896,19 @@ function wt(e, t) {
4879
4896
  return r.__proto__ = n, r;
4880
4897
  }, wt(e, t);
4881
4898
  }
4882
- function Nt(e) {
4883
- return Nt = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
4899
+ function Ct(e) {
4900
+ return Ct = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
4884
4901
  return t.__proto__ || Object.getPrototypeOf(t);
4885
- }, Nt(e);
4902
+ }, Ct(e);
4886
4903
  }
4887
4904
  var j = /* @__PURE__ */ function(e) {
4888
4905
  function t(r) {
4889
4906
  var n;
4890
- return wo(this, t), n = No(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
4907
+ return Co(this, t), n = No(this, t, [r]), Object.setPrototypeOf(n, t.prototype), n.name = n.constructor.name, n;
4891
4908
  }
4892
- return So(t, e), Po(t);
4909
+ return Ao(t, e), wo(t);
4893
4910
  }(/* @__PURE__ */ xe(Error)), mr = new RegExp("(?:" + wn() + ")$", "i");
4894
- function Eo(e) {
4911
+ function _o(e) {
4895
4912
  var t = e.search(mr);
4896
4913
  if (t < 0)
4897
4914
  return {};
@@ -4904,10 +4921,10 @@ function Eo(e) {
4904
4921
  i++;
4905
4922
  }
4906
4923
  }
4907
- function _o(e, t) {
4924
+ function Io(e, t) {
4908
4925
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4909
4926
  if (r) return (r = r.call(e)).next.bind(r);
4910
- if (Array.isArray(e) || (r = Io(e)) || t) {
4927
+ if (Array.isArray(e) || (r = To(e)) || t) {
4911
4928
  r && (e = r);
4912
4929
  var n = 0;
4913
4930
  return function() {
@@ -4917,7 +4934,7 @@ function _o(e, t) {
4917
4934
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4918
4935
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
4919
4936
  }
4920
- function Io(e, t) {
4937
+ function To(e, t) {
4921
4938
  if (e) {
4922
4939
  if (typeof e == "string") return $r(e, t);
4923
4940
  var r = {}.toString.call(e).slice(8, -1);
@@ -4929,7 +4946,7 @@ function $r(e, t) {
4929
4946
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
4930
4947
  return n;
4931
4948
  }
4932
- var To = {
4949
+ var Mo = {
4933
4950
  0: "0",
4934
4951
  1: "1",
4935
4952
  2: "2",
@@ -5002,16 +5019,16 @@ var To = {
5002
5019
  // Eastern-Arabic digit 9
5003
5020
  };
5004
5021
  function xn(e) {
5005
- return To[e];
5022
+ return Mo[e];
5006
5023
  }
5007
5024
  function zt(e) {
5008
- for (var t = "", r = _o(e.split("")), n; !(n = r()).done; ) {
5025
+ for (var t = "", r = Io(e.split("")), n; !(n = r()).done; ) {
5009
5026
  var i = n.value, a = xn(i);
5010
5027
  a && (t += a);
5011
5028
  }
5012
5029
  return t;
5013
5030
  }
5014
- function Mo(e, t) {
5031
+ function Oo(e, t) {
5015
5032
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5016
5033
  if (r) return (r = r.call(e)).next.bind(r);
5017
5034
  if (Array.isArray(e) || (r = Fo(e)) || t) {
@@ -5037,17 +5054,17 @@ function gr(e, t) {
5037
5054
  return n;
5038
5055
  }
5039
5056
  function yr(e) {
5040
- for (var t = "", r = Mo(e.split("")), n; !(n = r()).done; ) {
5057
+ for (var t = "", r = Oo(e.split("")), n; !(n = r()).done; ) {
5041
5058
  var i = n.value;
5042
- t += Oo(i, t) || "";
5059
+ t += Do(i, t) || "";
5043
5060
  }
5044
5061
  return t;
5045
5062
  }
5046
- function Oo(e, t, r) {
5063
+ function Do(e, t, r) {
5047
5064
  return e === "+" ? t ? void 0 : "+" : xn(e);
5048
5065
  }
5049
- var Sn = "+", Do = "[\\-\\.\\(\\)]?", br = "([" + T + "]|" + Do + ")", Ro = "^\\" + Sn + br + "*[" + T + "]" + br + "*$", Lo = new RegExp(Ro, "g"), Se = T, Bo = "[" + Se + "]+((\\-)*[" + Se + "])*", Uo = "a-zA-Z", Ho = "[" + Uo + "]+((\\-)*[" + Se + "])*", jo = "^(" + Bo + "\\.)*" + Ho + "\\.?$", Go = new RegExp(jo, "g"), vr = "tel:", Ae = ";phone-context=", Yo = ";isub=";
5050
- function Vo(e) {
5066
+ var Sn = "+", Ro = "[\\-\\.\\(\\)]?", br = "([" + T + "]|" + Ro + ")", Lo = "^\\" + Sn + br + "*[" + T + "]" + br + "*$", Bo = new RegExp(Lo, "g"), Se = T, Uo = "[" + Se + "]+((\\-)*[" + Se + "])*", Ho = "a-zA-Z", jo = "[" + Ho + "]+((\\-)*[" + Se + "])*", Go = "^(" + Uo + "\\.)*" + jo + "\\.?$", Yo = new RegExp(Go, "g"), vr = "tel:", Ae = ";phone-context=", Vo = ";isub=";
5067
+ function zo(e) {
5051
5068
  var t = e.indexOf(Ae);
5052
5069
  if (t < 0)
5053
5070
  return null;
@@ -5057,12 +5074,12 @@ function Vo(e) {
5057
5074
  var n = e.indexOf(";", r);
5058
5075
  return n >= 0 ? e.substring(r, n) : e.substring(r);
5059
5076
  }
5060
- function zo(e) {
5061
- return e === null ? !0 : e.length === 0 ? !1 : Lo.test(e) || Go.test(e);
5077
+ function qo(e) {
5078
+ return e === null ? !0 : e.length === 0 ? !1 : Bo.test(e) || Yo.test(e);
5062
5079
  }
5063
- function qo(e, t) {
5064
- var r = t.extractFormattedPhoneNumber, n = Vo(e);
5065
- if (!zo(n))
5080
+ function Ko(e, t) {
5081
+ var r = t.extractFormattedPhoneNumber, n = zo(e);
5082
+ if (!qo(n))
5066
5083
  throw new j("NOT_A_NUMBER");
5067
5084
  var i;
5068
5085
  if (n === null)
@@ -5074,21 +5091,21 @@ function qo(e, t) {
5074
5091
  var s = e.indexOf(Ae);
5075
5092
  i += e.substring(o, s);
5076
5093
  }
5077
- var d = i.indexOf(Yo);
5094
+ var d = i.indexOf(Vo);
5078
5095
  if (d > 0 && (i = i.substring(0, d)), i !== "")
5079
5096
  return i;
5080
5097
  }
5081
- var Ko = 250, Wo = new RegExp("[" + re + T + "]"), Qo = new RegExp("[^" + T + "#]+$");
5082
- function Jo(e, t, r) {
5098
+ var Wo = 250, Qo = new RegExp("[" + re + T + "]"), Jo = new RegExp("[^" + T + "#]+$");
5099
+ function Xo(e, t, r) {
5083
5100
  if (t = t || {}, r = new I(r), t.defaultCountry && !r.hasCountry(t.defaultCountry))
5084
5101
  throw t.v2 ? new j("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
5085
- var n = Zo(e, t.v2, t.extract), i = n.number, a = n.ext, o = n.error;
5102
+ var n = ts(e, t.v2, t.extract), i = n.number, a = n.ext, o = n.error;
5086
5103
  if (!i) {
5087
5104
  if (t.v2)
5088
5105
  throw o === "TOO_SHORT" ? new j("TOO_SHORT") : new j("NOT_A_NUMBER");
5089
5106
  return {};
5090
5107
  }
5091
- var s = es(i, t.defaultCountry, t.defaultCallingCode, r), d = s.country, l = s.nationalNumber, c = s.countryCallingCode, h = s.countryCallingCodeSource, u = s.carrierCode;
5108
+ var s = rs(i, t.defaultCountry, t.defaultCallingCode, r), d = s.country, l = s.nationalNumber, c = s.countryCallingCode, h = s.countryCallingCodeSource, u = s.carrierCode;
5092
5109
  if (!r.hasSelectedNumberingPlan()) {
5093
5110
  if (t.v2)
5094
5111
  throw new j("INVALID_COUNTRY");
@@ -5099,65 +5116,65 @@ function Jo(e, t, r) {
5099
5116
  throw new j("TOO_SHORT");
5100
5117
  return {};
5101
5118
  }
5102
- if (l.length > Ra) {
5119
+ if (l.length > La) {
5103
5120
  if (t.v2)
5104
5121
  throw new j("TOO_LONG");
5105
5122
  return {};
5106
5123
  }
5107
5124
  if (t.v2) {
5108
- var m = new Cn(c, l, r.metadata);
5125
+ var m = new Nn(c, l, r.metadata);
5109
5126
  return d && (m.country = d), u && (m.carrierCode = u), a && (m.ext = a), m.__countryCallingCodeSource = h, m;
5110
5127
  }
5111
- var p = (t.extended ? r.hasSelectedNumberingPlan() : d) ? G(l, r.nationalNumberPattern()) : !1;
5128
+ var f = (t.extended ? r.hasSelectedNumberingPlan() : d) ? G(l, r.nationalNumberPattern()) : !1;
5112
5129
  return t.extended ? {
5113
5130
  country: d,
5114
5131
  countryCallingCode: c,
5115
5132
  carrierCode: u,
5116
- valid: p,
5117
- possible: p ? !0 : !!(t.extended === !0 && r.possibleLengths() && mn(l, d, r)),
5133
+ valid: f,
5134
+ possible: f ? !0 : !!(t.extended === !0 && r.possibleLengths() && mn(l, d, r)),
5118
5135
  phone: l,
5119
5136
  ext: a
5120
- } : p ? ts(d, l, a) : {};
5137
+ } : f ? es(d, l, a) : {};
5121
5138
  }
5122
- function Xo(e, t, r) {
5139
+ function Zo(e, t, r) {
5123
5140
  if (e) {
5124
- if (e.length > Ko) {
5141
+ if (e.length > Wo) {
5125
5142
  if (r)
5126
5143
  throw new j("TOO_LONG");
5127
5144
  return;
5128
5145
  }
5129
5146
  if (t === !1)
5130
5147
  return e;
5131
- var n = e.search(Wo);
5148
+ var n = e.search(Qo);
5132
5149
  if (!(n < 0))
5133
- return e.slice(n).replace(Qo, "");
5150
+ return e.slice(n).replace(Jo, "");
5134
5151
  }
5135
5152
  }
5136
- function Zo(e, t, r) {
5137
- var n = qo(e, {
5153
+ function ts(e, t, r) {
5154
+ var n = Ko(e, {
5138
5155
  extractFormattedPhoneNumber: function(o) {
5139
- return Xo(o, r, t);
5156
+ return Zo(o, r, t);
5140
5157
  }
5141
5158
  });
5142
5159
  if (!n)
5143
5160
  return {};
5144
- if (!io(n))
5145
- return ao(n) ? {
5161
+ if (!ao(n))
5162
+ return oo(n) ? {
5146
5163
  error: "TOO_SHORT"
5147
5164
  } : {};
5148
- var i = Eo(n);
5165
+ var i = _o(n);
5149
5166
  return i.ext ? i : {
5150
5167
  number: n
5151
5168
  };
5152
5169
  }
5153
- function ts(e, t, r) {
5170
+ function es(e, t, r) {
5154
5171
  var n = {
5155
5172
  country: e,
5156
5173
  phone: t
5157
5174
  };
5158
5175
  return r && (n.ext = r), n;
5159
5176
  }
5160
- function es(e, t, r, n) {
5177
+ function rs(e, t, r, n) {
5161
5178
  var i = Ge(yr(e), void 0, t, r, n.metadata), a = i.countryCallingCodeSource, o = i.countryCallingCode, s = i.number, d;
5162
5179
  if (o)
5163
5180
  n.selectNumberingPlan(o);
@@ -5169,7 +5186,7 @@ function es(e, t, r, n) {
5169
5186
  countryCallingCodeSource: a,
5170
5187
  countryCallingCode: o
5171
5188
  };
5172
- var l = Ne(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u = je(o, {
5189
+ var l = Ce(yr(s), d, n), c = l.nationalNumber, h = l.carrierCode, u = je(o, {
5173
5190
  nationalNumber: c,
5174
5191
  metadata: n
5175
5192
  });
@@ -5181,13 +5198,13 @@ function es(e, t, r, n) {
5181
5198
  carrierCode: h
5182
5199
  };
5183
5200
  }
5184
- function Ct(e) {
5201
+ function Nt(e) {
5185
5202
  "@babel/helpers - typeof";
5186
- return Ct = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5203
+ return Nt = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5187
5204
  return typeof t;
5188
5205
  } : function(t) {
5189
5206
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5190
- }, Ct(e);
5207
+ }, Nt(e);
5191
5208
  }
5192
5209
  function Pr(e, t) {
5193
5210
  var r = Object.keys(e);
@@ -5203,32 +5220,32 @@ function wr(e) {
5203
5220
  for (var t = 1; t < arguments.length; t++) {
5204
5221
  var r = arguments[t] != null ? arguments[t] : {};
5205
5222
  t % 2 ? Pr(Object(r), !0).forEach(function(n) {
5206
- rs(e, n, r[n]);
5223
+ ns(e, n, r[n]);
5207
5224
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Pr(Object(r)).forEach(function(n) {
5208
5225
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
5209
5226
  });
5210
5227
  }
5211
5228
  return e;
5212
5229
  }
5213
- function rs(e, t, r) {
5214
- return (t = ns(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5230
+ function ns(e, t, r) {
5231
+ return (t = is(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5215
5232
  }
5216
- function ns(e) {
5217
- var t = is(e, "string");
5218
- return Ct(t) == "symbol" ? t : t + "";
5233
+ function is(e) {
5234
+ var t = as(e, "string");
5235
+ return Nt(t) == "symbol" ? t : t + "";
5219
5236
  }
5220
- function is(e, t) {
5221
- if (Ct(e) != "object" || !e) return e;
5237
+ function as(e, t) {
5238
+ if (Nt(e) != "object" || !e) return e;
5222
5239
  var r = e[Symbol.toPrimitive];
5223
5240
  if (r !== void 0) {
5224
5241
  var n = r.call(e, t);
5225
- if (Ct(n) != "object") return n;
5242
+ if (Nt(n) != "object") return n;
5226
5243
  throw new TypeError("@@toPrimitive must return a primitive value.");
5227
5244
  }
5228
5245
  return (t === "string" ? String : Number)(e);
5229
5246
  }
5230
5247
  function An(e, t, r) {
5231
- return Jo(e, wr(wr({}, t), {}, {
5248
+ return Xo(e, wr(wr({}, t), {}, {
5232
5249
  v2: !0
5233
5250
  }), r);
5234
5251
  }
@@ -5240,7 +5257,7 @@ function xt(e) {
5240
5257
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5241
5258
  }, xt(e);
5242
5259
  }
5243
- function Nr(e, t) {
5260
+ function Cr(e, t) {
5244
5261
  var r = Object.keys(e);
5245
5262
  if (Object.getOwnPropertySymbols) {
5246
5263
  var n = Object.getOwnPropertySymbols(e);
@@ -5250,25 +5267,25 @@ function Nr(e, t) {
5250
5267
  }
5251
5268
  return r;
5252
5269
  }
5253
- function as(e) {
5270
+ function os(e) {
5254
5271
  for (var t = 1; t < arguments.length; t++) {
5255
5272
  var r = arguments[t] != null ? arguments[t] : {};
5256
- t % 2 ? Nr(Object(r), !0).forEach(function(n) {
5257
- os(e, n, r[n]);
5258
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Nr(Object(r)).forEach(function(n) {
5273
+ t % 2 ? Cr(Object(r), !0).forEach(function(n) {
5274
+ ss(e, n, r[n]);
5275
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Cr(Object(r)).forEach(function(n) {
5259
5276
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
5260
5277
  });
5261
5278
  }
5262
5279
  return e;
5263
5280
  }
5264
- function os(e, t, r) {
5265
- return (t = ss(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5281
+ function ss(e, t, r) {
5282
+ return (t = ds(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5266
5283
  }
5267
- function ss(e) {
5268
- var t = ds(e, "string");
5284
+ function ds(e) {
5285
+ var t = ls(e, "string");
5269
5286
  return xt(t) == "symbol" ? t : t + "";
5270
5287
  }
5271
- function ds(e, t) {
5288
+ function ls(e, t) {
5272
5289
  if (xt(e) != "object" || !e) return e;
5273
5290
  var r = e[Symbol.toPrimitive];
5274
5291
  if (r !== void 0) {
@@ -5278,26 +5295,26 @@ function ds(e, t) {
5278
5295
  }
5279
5296
  return (t === "string" ? String : Number)(e);
5280
5297
  }
5281
- function ls(e, t) {
5282
- return fs(e) || hs(e, t) || us(e, t) || cs();
5298
+ function cs(e, t) {
5299
+ return fs(e) || ps(e, t) || hs(e, t) || us();
5283
5300
  }
5284
- function cs() {
5301
+ function us() {
5285
5302
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
5286
5303
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5287
5304
  }
5288
- function us(e, t) {
5305
+ function hs(e, t) {
5289
5306
  if (e) {
5290
- if (typeof e == "string") return Cr(e, t);
5307
+ if (typeof e == "string") return Nr(e, t);
5291
5308
  var r = {}.toString.call(e).slice(8, -1);
5292
- return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Cr(e, t) : void 0;
5309
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Nr(e, t) : void 0;
5293
5310
  }
5294
5311
  }
5295
- function Cr(e, t) {
5312
+ function Nr(e, t) {
5296
5313
  (t == null || t > e.length) && (t = e.length);
5297
5314
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
5298
5315
  return n;
5299
5316
  }
5300
- function hs(e, t) {
5317
+ function ps(e, t) {
5301
5318
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5302
5319
  if (r != null) {
5303
5320
  var n, i, a, o, s = [], d = !0, l = !1;
@@ -5319,12 +5336,12 @@ function fs(e) {
5319
5336
  if (Array.isArray(e)) return e;
5320
5337
  }
5321
5338
  function kn(e) {
5322
- var t = Array.prototype.slice.call(e), r = ls(t, 4), n = r[0], i = r[1], a = r[2], o = r[3], s, d, l;
5339
+ var t = Array.prototype.slice.call(e), r = cs(t, 4), n = r[0], i = r[1], a = r[2], o = r[3], s, d, l;
5323
5340
  if (typeof n == "string")
5324
5341
  s = n;
5325
5342
  else throw new TypeError("A text for parsing must be a string.");
5326
5343
  if (!i || typeof i == "string")
5327
- o ? (d = a, l = o) : (d = void 0, l = a), i && (d = as({
5344
+ o ? (d = a, l = o) : (d = void 0, l = a), i && (d = os({
5328
5345
  defaultCountry: i
5329
5346
  }, d));
5330
5347
  else if (Z(i))
@@ -5336,7 +5353,7 @@ function kn(e) {
5336
5353
  metadata: l
5337
5354
  };
5338
5355
  }
5339
- function ps() {
5356
+ function ms() {
5340
5357
  var e = kn(arguments), t = e.text, r = e.options, n = e.metadata;
5341
5358
  return An(t, r, n);
5342
5359
  }
@@ -5362,21 +5379,21 @@ function Sr(e) {
5362
5379
  for (var t = 1; t < arguments.length; t++) {
5363
5380
  var r = arguments[t] != null ? arguments[t] : {};
5364
5381
  t % 2 ? xr(Object(r), !0).forEach(function(n) {
5365
- ms(e, n, r[n]);
5382
+ $s(e, n, r[n]);
5366
5383
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : xr(Object(r)).forEach(function(n) {
5367
5384
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
5368
5385
  });
5369
5386
  }
5370
5387
  return e;
5371
5388
  }
5372
- function ms(e, t, r) {
5373
- return (t = $s(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5389
+ function $s(e, t, r) {
5390
+ return (t = gs(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5374
5391
  }
5375
- function $s(e) {
5376
- var t = gs(e, "string");
5392
+ function gs(e) {
5393
+ var t = ys(e, "string");
5377
5394
  return St(t) == "symbol" ? t : t + "";
5378
5395
  }
5379
- function gs(e, t) {
5396
+ function ys(e, t) {
5380
5397
  if (St(e) != "object" || !e) return e;
5381
5398
  var r = e[Symbol.toPrimitive];
5382
5399
  if (r !== void 0) {
@@ -5386,8 +5403,8 @@ function gs(e, t) {
5386
5403
  }
5387
5404
  return (t === "string" ? String : Number)(e);
5388
5405
  }
5389
- function ys(e, t, r) {
5390
- t && t.defaultCountry && !ka(t.defaultCountry, r) && (t = Sr(Sr({}, t), {}, {
5406
+ function bs(e, t, r) {
5407
+ t && t.defaultCountry && !Ea(t.defaultCountry, r) && (t = Sr(Sr({}, t), {}, {
5391
5408
  defaultCountry: void 0
5392
5409
  }));
5393
5410
  try {
@@ -5418,21 +5435,21 @@ function kr(e) {
5418
5435
  for (var t = 1; t < arguments.length; t++) {
5419
5436
  var r = arguments[t] != null ? arguments[t] : {};
5420
5437
  t % 2 ? Ar(Object(r), !0).forEach(function(n) {
5421
- bs(e, n, r[n]);
5438
+ vs(e, n, r[n]);
5422
5439
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Ar(Object(r)).forEach(function(n) {
5423
5440
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
5424
5441
  });
5425
5442
  }
5426
5443
  return e;
5427
5444
  }
5428
- function bs(e, t, r) {
5429
- return (t = vs(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5445
+ function vs(e, t, r) {
5446
+ return (t = Ps(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
5430
5447
  }
5431
- function vs(e) {
5432
- var t = Ps(e, "string");
5448
+ function Ps(e) {
5449
+ var t = ws(e, "string");
5433
5450
  return At(t) == "symbol" ? t : t + "";
5434
5451
  }
5435
- function Ps(e, t) {
5452
+ function ws(e, t) {
5436
5453
  if (At(e) != "object" || !e) return e;
5437
5454
  var r = e[Symbol.toPrimitive];
5438
5455
  if (r !== void 0) {
@@ -5442,12 +5459,12 @@ function Ps(e, t) {
5442
5459
  }
5443
5460
  return (t === "string" ? String : Number)(e);
5444
5461
  }
5445
- function ws() {
5462
+ function Cs() {
5446
5463
  var e = kn(arguments), t = e.text, r = e.options, n = e.metadata;
5447
5464
  r = kr(kr({}, r), {}, {
5448
5465
  extract: !1
5449
5466
  });
5450
- var i = ys(t, r, n);
5467
+ var i = bs(t, r, n);
5451
5468
  return i && i.isValid() || !1;
5452
5469
  }
5453
5470
  function kt(e) {
@@ -5461,20 +5478,20 @@ function kt(e) {
5461
5478
  function Ns(e, t) {
5462
5479
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
5463
5480
  }
5464
- function Cs(e, t) {
5481
+ function xs(e, t) {
5465
5482
  for (var r = 0; r < t.length; r++) {
5466
5483
  var n = t[r];
5467
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ss(n.key), n);
5484
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, As(n.key), n);
5468
5485
  }
5469
5486
  }
5470
- function xs(e, t, r) {
5471
- return t && Cs(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5487
+ function Ss(e, t, r) {
5488
+ return t && xs(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5472
5489
  }
5473
- function Ss(e) {
5474
- var t = As(e, "string");
5490
+ function As(e) {
5491
+ var t = ks(e, "string");
5475
5492
  return kt(t) == "symbol" ? t : t + "";
5476
5493
  }
5477
- function As(e, t) {
5494
+ function ks(e, t) {
5478
5495
  if (kt(e) != "object" || !e) return e;
5479
5496
  var r = e[Symbol.toPrimitive];
5480
5497
  if (r !== void 0) {
@@ -5484,12 +5501,12 @@ function As(e, t) {
5484
5501
  }
5485
5502
  return String(e);
5486
5503
  }
5487
- var ks = /* @__PURE__ */ function() {
5504
+ var Es = /* @__PURE__ */ function() {
5488
5505
  function e(t) {
5489
5506
  var r = t.onCountryChange, n = t.onCallingCodeChange;
5490
5507
  Ns(this, e), this.onCountryChange = r, this.onCallingCodeChange = n;
5491
5508
  }
5492
- return xs(e, [{
5509
+ return Ss(e, [{
5493
5510
  key: "reset",
5494
5511
  value: function(r) {
5495
5512
  var n = r.country, i = r.callingCode;
@@ -5557,10 +5574,10 @@ var ks = /* @__PURE__ */ function() {
5557
5574
  }
5558
5575
  }]);
5559
5576
  }();
5560
- function Es(e, t) {
5577
+ function _s(e, t) {
5561
5578
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5562
5579
  if (r) return (r = r.call(e)).next.bind(r);
5563
- if (Array.isArray(e) || (r = _s(e)) || t) {
5580
+ if (Array.isArray(e) || (r = Is(e)) || t) {
5564
5581
  r && (e = r);
5565
5582
  var n = 0;
5566
5583
  return function() {
@@ -5570,7 +5587,7 @@ function Es(e, t) {
5570
5587
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5571
5588
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5572
5589
  }
5573
- function _s(e, t) {
5590
+ function Is(e, t) {
5574
5591
  if (e) {
5575
5592
  if (typeof e == "string") return Er(e, t);
5576
5593
  var r = {}.toString.call(e).slice(8, -1);
@@ -5591,9 +5608,9 @@ function Ut(e, t) {
5591
5608
  return r + e;
5592
5609
  }
5593
5610
  function _r(e, t) {
5594
- return e[t] === ")" && t++, Is(e.slice(0, t));
5611
+ return e[t] === ")" && t++, Ts(e.slice(0, t));
5595
5612
  }
5596
- function Is(e) {
5613
+ function Ts(e) {
5597
5614
  for (var t = [], r = 0; r < e.length; )
5598
5615
  e[r] === "(" ? t.push(r) : e[r] === ")" && t.pop(), r++;
5599
5616
  var n = 0, i = "";
@@ -5604,8 +5621,8 @@ function Is(e) {
5604
5621
  }
5605
5622
  return i;
5606
5623
  }
5607
- function Ts(e, t, r) {
5608
- for (var n = Es(r.split("")), i; !(i = n()).done; ) {
5624
+ function Ms(e, t, r) {
5625
+ for (var n = _s(r.split("")), i; !(i = n()).done; ) {
5609
5626
  var a = i.value;
5610
5627
  if (e.slice(t + 1).search(me) < 0)
5611
5628
  return;
@@ -5613,10 +5630,10 @@ function Ts(e, t, r) {
5613
5630
  }
5614
5631
  return [e, t];
5615
5632
  }
5616
- function Ms(e, t, r) {
5633
+ function Os(e, t, r) {
5617
5634
  var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix, o = new RegExp("^(?:".concat(t.pattern(), ")$"));
5618
5635
  if (o.test(e.nationalSignificantNumber))
5619
- return Os(e, t, {
5636
+ return Ds(e, t, {
5620
5637
  metadata: n,
5621
5638
  shouldTryNationalPrefixFormattingRule: i,
5622
5639
  getSeparatorAfterNationalPrefix: a
@@ -5625,7 +5642,7 @@ function Ms(e, t, r) {
5625
5642
  function Fs(e, t, r) {
5626
5643
  return ee(e, t, r) === "IS_POSSIBLE";
5627
5644
  }
5628
- function Os(e, t, r) {
5645
+ function Ds(e, t, r) {
5629
5646
  var n = r.metadata, i = r.shouldTryNationalPrefixFormattingRule, a = r.getSeparatorAfterNationalPrefix;
5630
5647
  if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, i(t)) {
5631
5648
  var o = Ir(e, t, {
@@ -5649,10 +5666,10 @@ function Ir(e, t, r) {
5649
5666
  withNationalPrefix: i,
5650
5667
  metadata: n
5651
5668
  });
5652
- if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)), Ds(o, e))
5669
+ if (i || (e.nationalPrefix ? o = e.nationalPrefix + a(t) + o : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (o = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + o)), Rs(o, e))
5653
5670
  return o;
5654
5671
  }
5655
- function Ds(e, t) {
5672
+ function Rs(e, t) {
5656
5673
  return zt(e) === t.getNationalDigits();
5657
5674
  }
5658
5675
  function Et(e) {
@@ -5663,23 +5680,23 @@ function Et(e) {
5663
5680
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5664
5681
  }, Et(e);
5665
5682
  }
5666
- function Rs(e, t) {
5683
+ function Ls(e, t) {
5667
5684
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
5668
5685
  }
5669
- function Ls(e, t) {
5686
+ function Bs(e, t) {
5670
5687
  for (var r = 0; r < t.length; r++) {
5671
5688
  var n = t[r];
5672
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Us(n.key), n);
5689
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Hs(n.key), n);
5673
5690
  }
5674
5691
  }
5675
- function Bs(e, t, r) {
5676
- return t && Ls(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5692
+ function Us(e, t, r) {
5693
+ return t && Bs(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5677
5694
  }
5678
- function Us(e) {
5679
- var t = Hs(e, "string");
5695
+ function Hs(e) {
5696
+ var t = js(e, "string");
5680
5697
  return Et(t) == "symbol" ? t : t + "";
5681
5698
  }
5682
- function Hs(e, t) {
5699
+ function js(e, t) {
5683
5700
  if (Et(e) != "object" || !e) return e;
5684
5701
  var r = e[Symbol.toPrimitive];
5685
5702
  if (r !== void 0) {
@@ -5689,11 +5706,11 @@ function Hs(e, t) {
5689
5706
  }
5690
5707
  return String(e);
5691
5708
  }
5692
- var js = /* @__PURE__ */ function() {
5709
+ var Gs = /* @__PURE__ */ function() {
5693
5710
  function e() {
5694
- Rs(this, e);
5711
+ Ls(this, e);
5695
5712
  }
5696
- return Bs(e, [{
5713
+ return Us(e, [{
5697
5714
  key: "parse",
5698
5715
  value: function(r) {
5699
5716
  if (this.context = [{
@@ -5731,9 +5748,9 @@ var js = /* @__PURE__ */ function() {
5731
5748
  value: function(r) {
5732
5749
  if (!r)
5733
5750
  throw new Error("Pattern is required");
5734
- var n = r.match(Vs);
5751
+ var n = r.match(zs);
5735
5752
  if (!n) {
5736
- if (Ys.test(r))
5753
+ if (Vs.test(r))
5737
5754
  throw new Error("Illegal characters found in a pattern: ".concat(r));
5738
5755
  this.getContext().instructions = this.getContext().instructions.concat(r.split(""));
5739
5756
  return;
@@ -5778,7 +5795,7 @@ var js = /* @__PURE__ */ function() {
5778
5795
  throw new Error('"]" operator must be preceded by "[" operator');
5779
5796
  this.endContext(), this.getContext().instructions.push({
5780
5797
  op: "[]",
5781
- args: Gs(a)
5798
+ args: Ys(a)
5782
5799
  });
5783
5800
  break;
5784
5801
  default:
@@ -5788,7 +5805,7 @@ var js = /* @__PURE__ */ function() {
5788
5805
  }
5789
5806
  }]);
5790
5807
  }();
5791
- function Gs(e) {
5808
+ function Ys(e) {
5792
5809
  for (var t = [], r = 0; r < e.length; ) {
5793
5810
  if (e[r] === "-") {
5794
5811
  if (r === 0 || r === e.length - 1)
@@ -5801,7 +5818,7 @@ function Gs(e) {
5801
5818
  }
5802
5819
  return t;
5803
5820
  }
5804
- var Ys = /[\(\)\[\]\?\:\|]/, Vs = new RegExp(
5821
+ var Vs = /[\(\)\[\]\?\:\|]/, zs = new RegExp(
5805
5822
  // any of:
5806
5823
  "(\\||\\(\\?\\:|\\)|\\[|\\])"
5807
5824
  );
@@ -5811,7 +5828,7 @@ function $e(e) {
5811
5828
  function Tr(e, t) {
5812
5829
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5813
5830
  if (r) return (r = r.call(e)).next.bind(r);
5814
- if (Array.isArray(e) || (r = zs(e)) || t) {
5831
+ if (Array.isArray(e) || (r = qs(e)) || t) {
5815
5832
  r && (e = r);
5816
5833
  var n = 0;
5817
5834
  return function() {
@@ -5821,7 +5838,7 @@ function Tr(e, t) {
5821
5838
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5822
5839
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5823
5840
  }
5824
- function zs(e, t) {
5841
+ function qs(e, t) {
5825
5842
  if (e) {
5826
5843
  if (typeof e == "string") return Mr(e, t);
5827
5844
  var r = {}.toString.call(e).slice(8, -1);
@@ -5841,23 +5858,23 @@ function _t(e) {
5841
5858
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5842
5859
  }, _t(e);
5843
5860
  }
5844
- function qs(e, t) {
5861
+ function Ks(e, t) {
5845
5862
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
5846
5863
  }
5847
- function Ks(e, t) {
5864
+ function Ws(e, t) {
5848
5865
  for (var r = 0; r < t.length; r++) {
5849
5866
  var n = t[r];
5850
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Qs(n.key), n);
5867
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Js(n.key), n);
5851
5868
  }
5852
5869
  }
5853
- function Ws(e, t, r) {
5854
- return t && Ks(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5870
+ function Qs(e, t, r) {
5871
+ return t && Ws(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
5855
5872
  }
5856
- function Qs(e) {
5857
- var t = Js(e, "string");
5873
+ function Js(e) {
5874
+ var t = Xs(e, "string");
5858
5875
  return _t(t) == "symbol" ? t : t + "";
5859
5876
  }
5860
- function Js(e, t) {
5877
+ function Xs(e, t) {
5861
5878
  if (_t(e) != "object" || !e) return e;
5862
5879
  var r = e[Symbol.toPrimitive];
5863
5880
  if (r !== void 0) {
@@ -5867,11 +5884,11 @@ function Js(e, t) {
5867
5884
  }
5868
5885
  return String(e);
5869
5886
  }
5870
- var Xs = /* @__PURE__ */ function() {
5887
+ var Zs = /* @__PURE__ */ function() {
5871
5888
  function e(t) {
5872
- qs(this, e), this.matchTree = new js().parse(t);
5889
+ Ks(this, e), this.matchTree = new Gs().parse(t);
5873
5890
  }
5874
- return Ws(e, [{
5891
+ return Qs(e, [{
5875
5892
  key: "match",
5876
5893
  value: function(r) {
5877
5894
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = n.allowOverflow;
@@ -5957,8 +5974,8 @@ function ke(e, t, r) {
5957
5974
  // matchedChars: ...
5958
5975
  } : void 0;
5959
5976
  case "[]":
5960
- for (var m = Tr(t.args), p; !(p = m()).done; ) {
5961
- var $ = p.value;
5977
+ for (var m = Tr(t.args), f; !(f = m()).done; ) {
5978
+ var $ = f.value;
5962
5979
  if (e[0] === $)
5963
5980
  return e.length === 1 ? {
5964
5981
  match: !0,
@@ -5983,10 +6000,10 @@ function It(e) {
5983
6000
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
5984
6001
  }, It(e);
5985
6002
  }
5986
- function Fr(e, t) {
6003
+ function Or(e, t) {
5987
6004
  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5988
6005
  if (r) return (r = r.call(e)).next.bind(r);
5989
- if (Array.isArray(e) || (r = Zs(e)) || t) {
6006
+ if (Array.isArray(e) || (r = td(e)) || t) {
5990
6007
  r && (e = r);
5991
6008
  var n = 0;
5992
6009
  return function() {
@@ -5996,35 +6013,35 @@ function Fr(e, t) {
5996
6013
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5997
6014
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5998
6015
  }
5999
- function Zs(e, t) {
6016
+ function td(e, t) {
6000
6017
  if (e) {
6001
- if (typeof e == "string") return Or(e, t);
6018
+ if (typeof e == "string") return Fr(e, t);
6002
6019
  var r = {}.toString.call(e).slice(8, -1);
6003
- return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Or(e, t) : void 0;
6020
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Fr(e, t) : void 0;
6004
6021
  }
6005
6022
  }
6006
- function Or(e, t) {
6023
+ function Fr(e, t) {
6007
6024
  (t == null || t > e.length) && (t = e.length);
6008
6025
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
6009
6026
  return n;
6010
6027
  }
6011
- function td(e, t) {
6028
+ function ed(e, t) {
6012
6029
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
6013
6030
  }
6014
- function ed(e, t) {
6031
+ function rd(e, t) {
6015
6032
  for (var r = 0; r < t.length; r++) {
6016
6033
  var n = t[r];
6017
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, nd(n.key), n);
6034
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, id(n.key), n);
6018
6035
  }
6019
6036
  }
6020
- function rd(e, t, r) {
6021
- return t && ed(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6037
+ function nd(e, t, r) {
6038
+ return t && rd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6022
6039
  }
6023
- function nd(e) {
6024
- var t = id(e, "string");
6040
+ function id(e) {
6041
+ var t = ad(e, "string");
6025
6042
  return It(t) == "symbol" ? t : t + "";
6026
6043
  }
6027
- function id(e, t) {
6044
+ function ad(e, t) {
6028
6045
  if (It(e) != "object" || !e) return e;
6029
6046
  var r = e[Symbol.toPrimitive];
6030
6047
  if (r !== void 0) {
@@ -6034,17 +6051,17 @@ function id(e, t) {
6034
6051
  }
6035
6052
  return String(e);
6036
6053
  }
6037
- var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6054
+ var Ee = "9", od = 15, sd = Ut(Ee, od), dd = /[- ]/, ld = function() {
6038
6055
  return /\[([^\[\]])*\]/g;
6039
- }, ld = function() {
6056
+ }, cd = function() {
6040
6057
  return /\d(?=[^,}][^,}])/g;
6041
- }, cd = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"), Dr = 3, ud = /* @__PURE__ */ function() {
6058
+ }, ud = new RegExp("[" + L + "]*\\$1[" + L + "]*(\\$\\d[" + L + "]*)*$"), Dr = 3, hd = /* @__PURE__ */ function() {
6042
6059
  function e(t) {
6043
6060
  t.state;
6044
6061
  var r = t.metadata;
6045
- td(this, e), this.metadata = r, this.resetFormat();
6062
+ ed(this, e), this.metadata = r, this.resetFormat();
6046
6063
  }
6047
- return rd(e, [{
6064
+ return nd(e, [{
6048
6065
  key: "resetFormat",
6049
6066
  value: function() {
6050
6067
  this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
@@ -6065,8 +6082,8 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6065
6082
  value: function(r, n) {
6066
6083
  var i = this;
6067
6084
  if (Fs(n.nationalSignificantNumber, n.country, this.metadata))
6068
- for (var a = Fr(this.matchingFormats), o; !(o = a()).done; ) {
6069
- var s = o.value, d = Ms(n, s, {
6085
+ for (var a = Or(this.matchingFormats), o; !(o = a()).done; ) {
6086
+ var s = o.value, d = Os(n, s, {
6070
6087
  metadata: this.metadata,
6071
6088
  shouldTryNationalPrefixFormattingRule: function(c) {
6072
6089
  return i.shouldTryNationalPrefixFormattingRule(c, {
@@ -6115,7 +6132,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6115
6132
  var o = r.leadingDigitsPatterns()[i];
6116
6133
  if (n.length < Dr)
6117
6134
  try {
6118
- return new Xs(o).match(n, {
6135
+ return new Zs(o).match(n, {
6119
6136
  allowOverflow: !0
6120
6137
  }) !== void 0;
6121
6138
  } catch (s) {
@@ -6133,10 +6150,10 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6133
6150
  value: function(r) {
6134
6151
  for (var n = this, i = function() {
6135
6152
  var l = s.value;
6136
- return n.chosenFormat === l ? 0 : cd.test(n.getFormatFormat(l, r.international)) ? n.createTemplateForFormat(l, r) ? (n.chosenFormat = l, 0) : (n.matchingFormats = n.matchingFormats.filter(function(c) {
6153
+ return n.chosenFormat === l ? 0 : ud.test(n.getFormatFormat(l, r.international)) ? n.createTemplateForFormat(l, r) ? (n.chosenFormat = l, 0) : (n.matchingFormats = n.matchingFormats.filter(function(c) {
6137
6154
  return c !== l;
6138
6155
  }), 1) : 1;
6139
- }, a, o = Fr(this.matchingFormats.slice()), s; !(s = o()).done && (a = i(), a !== 0); )
6156
+ }, a, o = Or(this.matchingFormats.slice()), s; !(s = o()).done && (a = i(), a !== 0); )
6140
6157
  ;
6141
6158
  return this.chosenFormat || this.resetFormat(), this.chosenFormat;
6142
6159
  }
@@ -6152,7 +6169,7 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6152
6169
  }, {
6153
6170
  key: "getSeparatorAfterNationalPrefix",
6154
6171
  value: function(r) {
6155
- return this.isNANP || r && r.nationalPrefixFormattingRule() && sd.test(r.nationalPrefixFormattingRule()) ? " " : "";
6172
+ return this.isNANP || r && r.nationalPrefixFormattingRule() && dd.test(r.nationalPrefixFormattingRule()) ? " " : "";
6156
6173
  }
6157
6174
  }, {
6158
6175
  key: "getInternationalPrefixBeforeCountryCallingCode",
@@ -6187,8 +6204,8 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6187
6204
  key: "getTemplateForFormat",
6188
6205
  value: function(r, n) {
6189
6206
  var i = n.nationalSignificantNumber, a = n.international, o = n.nationalPrefix, s = n.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, d = r.pattern();
6190
- d = d.replace(dd(), "\\d").replace(ld(), "\\d");
6191
- var l = od.match(d)[0];
6207
+ d = d.replace(ld(), "\\d").replace(cd(), "\\d");
6208
+ var l = sd.match(d)[0];
6192
6209
  if (!(i.length > l.length)) {
6193
6210
  var c = new RegExp("^" + d + "$"), h = i.replace(/\d/g, Ee);
6194
6211
  c.test(h) && (l = h);
@@ -6197,19 +6214,19 @@ var Ee = "9", ad = 15, od = Ut(Ee, ad), sd = /[- ]/, dd = function() {
6197
6214
  international: a,
6198
6215
  nationalPrefix: o
6199
6216
  })) {
6200
- var p = u.replace(vn, r.nationalPrefixFormattingRule());
6201
- if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = p, m = !0, o))
6217
+ var f = u.replace(vn, r.nationalPrefixFormattingRule());
6218
+ if (zt(r.nationalPrefixFormattingRule()) === (o || "") + zt("$1") && (u = f, m = !0, o))
6202
6219
  for (var $ = o.length; $ > 0; )
6203
6220
  u = u.replace(/\d/, R), $--;
6204
6221
  }
6205
- var N = l.replace(new RegExp(d), u).replace(new RegExp(Ee, "g"), R);
6206
- return m || (s ? N = Ut(R, s.length) + " " + N : o && (N = Ut(R, o.length) + this.getSeparatorAfterNationalPrefix(r) + N)), a && (N = bn(N)), N;
6222
+ var C = l.replace(new RegExp(d), u).replace(new RegExp(Ee, "g"), R);
6223
+ return m || (s ? C = Ut(R, s.length) + " " + C : o && (C = Ut(R, o.length) + this.getSeparatorAfterNationalPrefix(r) + C)), a && (C = bn(C)), C;
6207
6224
  }
6208
6225
  }
6209
6226
  }, {
6210
6227
  key: "formatNextNationalNumberDigits",
6211
6228
  value: function(r) {
6212
- var n = Ts(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, r);
6229
+ var n = Ms(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, r);
6213
6230
  if (!n) {
6214
6231
  this.resetFormat();
6215
6232
  return;
@@ -6237,9 +6254,9 @@ function Tt(e) {
6237
6254
  }, Tt(e);
6238
6255
  }
6239
6256
  function En(e, t) {
6240
- return md(e) || pd(e, t) || fd(e, t) || hd();
6257
+ return $d(e) || md(e, t) || fd(e, t) || pd();
6241
6258
  }
6242
- function hd() {
6259
+ function pd() {
6243
6260
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6244
6261
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6245
6262
  }
@@ -6255,7 +6272,7 @@ function Rr(e, t) {
6255
6272
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
6256
6273
  return n;
6257
6274
  }
6258
- function pd(e, t) {
6275
+ function md(e, t) {
6259
6276
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
6260
6277
  if (r != null) {
6261
6278
  var n, i, a, o, s = [], d = !0, l = !1;
@@ -6273,26 +6290,26 @@ function pd(e, t) {
6273
6290
  return s;
6274
6291
  }
6275
6292
  }
6276
- function md(e) {
6293
+ function $d(e) {
6277
6294
  if (Array.isArray(e)) return e;
6278
6295
  }
6279
- function $d(e, t) {
6296
+ function gd(e, t) {
6280
6297
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
6281
6298
  }
6282
- function gd(e, t) {
6299
+ function yd(e, t) {
6283
6300
  for (var r = 0; r < t.length; r++) {
6284
6301
  var n = t[r];
6285
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, bd(n.key), n);
6302
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, vd(n.key), n);
6286
6303
  }
6287
6304
  }
6288
- function yd(e, t, r) {
6289
- return t && gd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6305
+ function bd(e, t, r) {
6306
+ return t && yd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6290
6307
  }
6291
- function bd(e) {
6292
- var t = vd(e, "string");
6308
+ function vd(e) {
6309
+ var t = Pd(e, "string");
6293
6310
  return Tt(t) == "symbol" ? t : t + "";
6294
6311
  }
6295
- function vd(e, t) {
6312
+ function Pd(e, t) {
6296
6313
  if (Tt(e) != "object" || !e) return e;
6297
6314
  var r = e[Symbol.toPrimitive];
6298
6315
  if (r !== void 0) {
@@ -6302,15 +6319,15 @@ function vd(e, t) {
6302
6319
  }
6303
6320
  return String(e);
6304
6321
  }
6305
- var Pd = "[" + L + T + "]+", wd = new RegExp("^" + Pd + "$", "i"), Nd = "(?:[" + re + "][" + L + T + "]*|[" + L + T + "]+)", Cd = new RegExp("[^" + L + T + "]+.*$"), xd = /[^\d\[\]]/, Sd = /* @__PURE__ */ function() {
6322
+ var wd = "[" + L + T + "]+", Cd = new RegExp("^" + wd + "$", "i"), Nd = "(?:[" + re + "][" + L + T + "]*|[" + L + T + "]+)", xd = new RegExp("[^" + L + T + "]+.*$"), Sd = /[^\d\[\]]/, Ad = /* @__PURE__ */ function() {
6306
6323
  function e(t) {
6307
6324
  var r = t.defaultCountry, n = t.defaultCallingCode, i = t.metadata, a = t.onNationalSignificantNumberChange;
6308
- $d(this, e), this.defaultCountry = r, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
6325
+ gd(this, e), this.defaultCountry = r, this.defaultCallingCode = n, this.metadata = i, this.onNationalSignificantNumberChange = a;
6309
6326
  }
6310
- return yd(e, [{
6327
+ return bd(e, [{
6311
6328
  key: "input",
6312
6329
  value: function(r, n) {
6313
- var i = Ed(r), a = En(i, 2), o = a[0], s = a[1], d = zt(o), l;
6330
+ var i = _d(r), a = En(i, 2), o = a[0], s = a[1], d = zt(o), l;
6314
6331
  return s && (n.digits || (n.startInternationalNumber(void 0, void 0), d || (l = !0))), d && this.inputDigits(d, n), {
6315
6332
  digits: d,
6316
6333
  justLeadingPlus: l
@@ -6357,7 +6374,7 @@ var Pd = "[" + L + T + "]+", wd = new RegExp("^" + Pd + "$", "i"), Nd = "(?:[" +
6357
6374
  if (r) {
6358
6375
  this.hasSelectedNumberingPlan = !0;
6359
6376
  var n = r._nationalPrefixForParsing();
6360
- this.couldPossiblyExtractAnotherNationalSignificantNumber = n && xd.test(n);
6377
+ this.couldPossiblyExtractAnotherNationalSignificantNumber = n && Sd.test(n);
6361
6378
  } else
6362
6379
  this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
6363
6380
  }
@@ -6467,21 +6484,21 @@ var Pd = "[" + L + T + "]+", wd = new RegExp("^" + Pd + "$", "i"), Nd = "(?:[" +
6467
6484
  }
6468
6485
  }]);
6469
6486
  }();
6470
- function Ad(e) {
6487
+ function kd(e) {
6471
6488
  var t = e.search(Nd);
6472
6489
  if (!(t < 0)) {
6473
6490
  e = e.slice(t);
6474
6491
  var r;
6475
- return e[0] === "+" && (r = !0, e = e.slice(1)), e = e.replace(Cd, ""), r && (e = "+" + e), e;
6492
+ return e[0] === "+" && (r = !0, e = e.slice(1)), e = e.replace(xd, ""), r && (e = "+" + e), e;
6476
6493
  }
6477
6494
  }
6478
- function kd(e) {
6479
- var t = Ad(e) || "";
6495
+ function Ed(e) {
6496
+ var t = kd(e) || "";
6480
6497
  return t[0] === "+" ? [t.slice(1), !0] : [t];
6481
6498
  }
6482
- function Ed(e) {
6483
- var t = kd(e), r = En(t, 2), n = r[0], i = r[1];
6484
- return wd.test(n) || (n = ""), [n, i];
6499
+ function _d(e) {
6500
+ var t = Ed(e), r = En(t, 2), n = r[0], i = r[1];
6501
+ return Cd.test(n) || (n = ""), [n, i];
6485
6502
  }
6486
6503
  function Mt(e) {
6487
6504
  "@babel/helpers - typeof";
@@ -6491,14 +6508,14 @@ function Mt(e) {
6491
6508
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
6492
6509
  }, Mt(e);
6493
6510
  }
6494
- function _d(e, t) {
6495
- return Fd(e) || Md(e, t) || Td(e, t) || Id();
6511
+ function Id(e, t) {
6512
+ return Fd(e) || Od(e, t) || Md(e, t) || Td();
6496
6513
  }
6497
- function Id() {
6514
+ function Td() {
6498
6515
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6499
6516
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
6500
6517
  }
6501
- function Td(e, t) {
6518
+ function Md(e, t) {
6502
6519
  if (e) {
6503
6520
  if (typeof e == "string") return Lr(e, t);
6504
6521
  var r = {}.toString.call(e).slice(8, -1);
@@ -6510,7 +6527,7 @@ function Lr(e, t) {
6510
6527
  for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
6511
6528
  return n;
6512
6529
  }
6513
- function Md(e, t) {
6530
+ function Od(e, t) {
6514
6531
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
6515
6532
  if (r != null) {
6516
6533
  var n, i, a, o, s = [], d = !0, l = !1;
@@ -6531,23 +6548,23 @@ function Md(e, t) {
6531
6548
  function Fd(e) {
6532
6549
  if (Array.isArray(e)) return e;
6533
6550
  }
6534
- function Od(e, t) {
6551
+ function Dd(e, t) {
6535
6552
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
6536
6553
  }
6537
- function Dd(e, t) {
6554
+ function Rd(e, t) {
6538
6555
  for (var r = 0; r < t.length; r++) {
6539
6556
  var n = t[r];
6540
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Ld(n.key), n);
6557
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Bd(n.key), n);
6541
6558
  }
6542
6559
  }
6543
- function Rd(e, t, r) {
6544
- return t && Dd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6560
+ function Ld(e, t, r) {
6561
+ return t && Rd(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
6545
6562
  }
6546
- function Ld(e) {
6547
- var t = Bd(e, "string");
6563
+ function Bd(e) {
6564
+ var t = Ud(e, "string");
6548
6565
  return Mt(t) == "symbol" ? t : t + "";
6549
6566
  }
6550
- function Bd(e, t) {
6567
+ function Ud(e, t) {
6551
6568
  if (Mt(e) != "object" || !e) return e;
6552
6569
  var r = e[Symbol.toPrimitive];
6553
6570
  if (r !== void 0) {
@@ -6559,11 +6576,11 @@ function Bd(e, t) {
6559
6576
  }
6560
6577
  var _n = /* @__PURE__ */ function() {
6561
6578
  function e(t, r) {
6562
- Od(this, e), this.metadata = new I(r);
6563
- var n = this.getCountryAndCallingCode(t), i = _d(n, 2), a = i[0], o = i[1];
6579
+ Dd(this, e), this.metadata = new I(r);
6580
+ var n = this.getCountryAndCallingCode(t), i = Id(n, 2), a = i[0], o = i[1];
6564
6581
  this.defaultCountry = a, this.defaultCallingCode = o, this.reset();
6565
6582
  }
6566
- return Rd(e, [{
6583
+ return Ld(e, [{
6567
6584
  key: "getCountryAndCallingCode",
6568
6585
  value: function(r) {
6569
6586
  var n, i;
@@ -6596,17 +6613,17 @@ var _n = /* @__PURE__ */ function() {
6596
6613
  key: "reset",
6597
6614
  value: function() {
6598
6615
  var r = this;
6599
- return this.state = new ks({
6616
+ return this.state = new Es({
6600
6617
  onCountryChange: function(i) {
6601
6618
  r.country = i;
6602
6619
  },
6603
6620
  onCallingCodeChange: function(i, a) {
6604
6621
  r.metadata.selectNumberingPlan(a, i), r.formatter.reset(r.metadata.numberingPlan, r.state), r.parser.reset(r.metadata.numberingPlan);
6605
6622
  }
6606
- }), this.formatter = new ud({
6623
+ }), this.formatter = new hd({
6607
6624
  state: this.state,
6608
6625
  metadata: this.metadata
6609
- }), this.parser = new Sd({
6626
+ }), this.parser = new Ad({
6610
6627
  defaultCountry: this.defaultCountry,
6611
6628
  defaultCallingCode: this.defaultCallingCode,
6612
6629
  metadata: this.metadata,
@@ -6781,7 +6798,7 @@ var _n = /* @__PURE__ */ function() {
6781
6798
  c && (o = c);
6782
6799
  }
6783
6800
  }
6784
- var h = new Cn(o || a, n, this.metadata.metadata);
6801
+ var h = new Nn(o || a, n, this.metadata.metadata);
6785
6802
  return i && (h.carrierCode = i), h;
6786
6803
  }
6787
6804
  }
@@ -6837,21 +6854,21 @@ var _n = /* @__PURE__ */ function() {
6837
6854
  }
6838
6855
  }]);
6839
6856
  }();
6840
- function Ud() {
6841
- return hn(ps, arguments);
6842
- }
6843
6857
  function Hd() {
6844
- return hn(ws, arguments);
6858
+ return hn(ms, arguments);
6859
+ }
6860
+ function jd() {
6861
+ return hn(Cs, arguments);
6845
6862
  }
6846
6863
  function qt(e) {
6847
6864
  return _n.call(this, e, un);
6848
6865
  }
6849
6866
  qt.prototype = Object.create(_n.prototype, {});
6850
6867
  qt.prototype.constructor = qt;
6851
- var jd = Object.defineProperty, Gd = Object.getOwnPropertyDescriptor, C = (e, t, r, n) => {
6852
- for (var i = n > 1 ? void 0 : n ? Gd(t, r) : t, a = e.length - 1, o; a >= 0; a--)
6868
+ var Gd = Object.defineProperty, Yd = Object.getOwnPropertyDescriptor, N = (e, t, r, n) => {
6869
+ for (var i = n > 1 ? void 0 : n ? Yd(t, r) : t, a = e.length - 1, o; a >= 0; a--)
6853
6870
  (o = e[a]) && (i = (n ? o(t, r, i) : o(i)) || i);
6854
- return n && i && jd(t, r, i), i;
6871
+ return n && i && Gd(t, r, i), i;
6855
6872
  };
6856
6873
  let w = class extends mt {
6857
6874
  constructor() {
@@ -6884,8 +6901,8 @@ let w = class extends mt {
6884
6901
  }, this.themeMediaQuery = null, this.themeMediaQueryHandler = null, this.handle3DSPostMessage = (e) => {
6885
6902
  e.data === "ON_AWX_3DS_START_PAGE_LEAVE" && (this.leaveEventsCounter++, this.leaveEventsCounter > 1 && this.handle3DSComplete());
6886
6903
  }, this.MIN_PHONE_LENGTH = 8, this.JAPAN_ONLY_PHONE_METHODS = [
6887
- f.KONBINI,
6888
- f.PAYEASY
6904
+ p.KONBINI,
6905
+ p.PAYEASY
6889
6906
  ], this.COUNTRY_OPTIONS = [
6890
6907
  { code: "JP", name: "Japan", flag: "🇯🇵", dialCode: "+81" },
6891
6908
  { code: "SG", name: "Singapore", flag: "🇸🇬", dialCode: "+65" },
@@ -6913,11 +6930,11 @@ let w = class extends mt {
6913
6930
  */
6914
6931
  requiresPhoneNumber(e) {
6915
6932
  return [
6916
- f.BOOST,
6917
- f.SHOPEEPAY,
6918
- f.KONBINI,
6919
- f.PAYEASY,
6920
- f.ATOM
6933
+ p.BOOST,
6934
+ p.SHOPEEPAY,
6935
+ p.KONBINI,
6936
+ p.PAYEASY,
6937
+ p.ATOM
6921
6938
  ].includes(e);
6922
6939
  }
6923
6940
  /**
@@ -7122,7 +7139,7 @@ let w = class extends mt {
7122
7139
  const r = this.qrCode.startsWith("http://") || this.qrCode.startsWith("https://"), n = this.qrCode.startsWith("data:image");
7123
7140
  if (!r && !n)
7124
7141
  try {
7125
- const i = await Ot.toDataURL(this.qrCode, {
7142
+ const i = await Ft.toDataURL(this.qrCode, {
7126
7143
  width: 300,
7127
7144
  margin: 2,
7128
7145
  color: {
@@ -7227,6 +7244,12 @@ let w = class extends mt {
7227
7244
  const { redirectUrl: r } = t.payload;
7228
7245
  r && (window.location.href = r);
7229
7246
  }
7247
+ ), this.sdk.on(
7248
+ "wechatpay_redirect",
7249
+ (t) => {
7250
+ const { redirectUrl: r } = t.payload;
7251
+ r && (window.location.href = r);
7252
+ }
7230
7253
  ), this.sdk.initialize({
7231
7254
  amount: this.amount,
7232
7255
  currency: this.currency,
@@ -7276,8 +7299,8 @@ let w = class extends mt {
7276
7299
  const d = /* @__PURE__ */ new Date(), l = d.getFullYear(), c = d.getMonth() + 1;
7277
7300
  let h;
7278
7301
  if (o.length === 2) {
7279
- const u = parseInt(o, 10), m = l % 100, p = Math.floor(l / 100) * 100;
7280
- u < m && m - u > 80 ? h = p + 100 + u : h = p + u;
7302
+ const u = parseInt(o, 10), m = l % 100, f = Math.floor(l / 100) * 100;
7303
+ u < m && m - u > 80 ? h = f + 100 + u : h = f + u;
7281
7304
  } else
7282
7305
  return { valid: !1, error: "Invalid year format" };
7283
7306
  return h < l ? { valid: !1, error: "Card has expired" } : h === l && s < c ? { valid: !1, error: "Card has expired" } : { valid: !0 };
@@ -7297,7 +7320,7 @@ let w = class extends mt {
7297
7320
  return;
7298
7321
  this.paymentLocked = !0;
7299
7322
  const e = this.cardFormData.expiry.split("/"), t = (e[0] || "").trim(), n = `20${(e[1] || "").trim().substring(0, 2)}`, i = this.formatNamesUppercase();
7300
- this.sdk.submitPayment(f.CARD, {
7323
+ this.sdk.submitPayment(p.CARD, {
7301
7324
  cardNumber: this.cardFormData.cardNumber.replace(/\s/g, ""),
7302
7325
  expiryMonth: t,
7303
7326
  expiryYear: n,
@@ -7312,7 +7335,7 @@ let w = class extends mt {
7312
7335
  return;
7313
7336
  this.paymentLocked = !0;
7314
7337
  const e = this.formatNamesUppercase();
7315
- this.sdk.submitPayment(f.PAYNOW, {
7338
+ this.sdk.submitPayment(p.PAYNOW, {
7316
7339
  firstName: e.firstName,
7317
7340
  lastName: e.lastName,
7318
7341
  email: this.email
@@ -7323,7 +7346,7 @@ let w = class extends mt {
7323
7346
  return;
7324
7347
  this.paymentLocked = !0;
7325
7348
  const e = this.formatNamesUppercase();
7326
- this.sdk.submitPayment(f.PROMPTPAY, {
7349
+ this.sdk.submitPayment(p.PROMPTPAY, {
7327
7350
  firstName: e.firstName,
7328
7351
  lastName: e.lastName,
7329
7352
  email: this.email
@@ -7334,7 +7357,7 @@ let w = class extends mt {
7334
7357
  return;
7335
7358
  this.paymentLocked = !0;
7336
7359
  const e = this.formatNamesUppercase();
7337
- this.sdk.submitPayment(f.DUITNOW, {
7360
+ this.sdk.submitPayment(p.DUITNOW, {
7338
7361
  firstName: e.firstName,
7339
7362
  lastName: e.lastName,
7340
7363
  email: this.email
@@ -7345,7 +7368,7 @@ let w = class extends mt {
7345
7368
  return;
7346
7369
  this.paymentLocked = !0;
7347
7370
  const e = this.formatNamesUppercase();
7348
- this.sdk.submitPayment(f.GOPAY, {
7371
+ this.sdk.submitPayment(p.GOPAY, {
7349
7372
  firstName: e.firstName,
7350
7373
  lastName: e.lastName,
7351
7374
  email: this.email
@@ -7355,8 +7378,8 @@ let w = class extends mt {
7355
7378
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7356
7379
  return;
7357
7380
  this.paymentLocked = !0;
7358
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.BOOST);
7359
- this.sdk.submitPayment(f.BOOST, {
7381
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.BOOST);
7382
+ this.sdk.submitPayment(p.BOOST, {
7360
7383
  firstName: e.firstName,
7361
7384
  lastName: e.lastName,
7362
7385
  email: this.email,
@@ -7367,8 +7390,8 @@ let w = class extends mt {
7367
7390
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7368
7391
  return;
7369
7392
  this.paymentLocked = !0;
7370
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.SHOPEEPAY);
7371
- this.sdk.submitPayment(f.SHOPEEPAY, {
7393
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.SHOPEEPAY);
7394
+ this.sdk.submitPayment(p.SHOPEEPAY, {
7372
7395
  firstName: e.firstName,
7373
7396
  lastName: e.lastName,
7374
7397
  email: this.email,
@@ -7379,8 +7402,8 @@ let w = class extends mt {
7379
7402
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7380
7403
  return;
7381
7404
  this.paymentLocked = !0;
7382
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ATOM);
7383
- this.sdk.submitPayment(f.ATOM, {
7405
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ATOM);
7406
+ this.sdk.submitPayment(p.ATOM, {
7384
7407
  firstName: e.firstName,
7385
7408
  lastName: e.lastName,
7386
7409
  email: this.email,
@@ -7391,8 +7414,8 @@ let w = class extends mt {
7391
7414
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7392
7415
  return;
7393
7416
  this.paymentLocked = !0;
7394
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.DANA);
7395
- this.sdk.submitPayment(f.DANA, {
7417
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.DANA);
7418
+ this.sdk.submitPayment(p.DANA, {
7396
7419
  firstName: e.firstName,
7397
7420
  lastName: e.lastName,
7398
7421
  email: this.email,
@@ -7403,8 +7426,8 @@ let w = class extends mt {
7403
7426
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7404
7427
  return;
7405
7428
  this.paymentLocked = !0;
7406
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.TNG);
7407
- this.sdk.submitPayment(f.TNG, {
7429
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.TNG);
7430
+ this.sdk.submitPayment(p.TNG, {
7408
7431
  firstName: e.firstName,
7409
7432
  lastName: e.lastName,
7410
7433
  email: this.email,
@@ -7415,8 +7438,8 @@ let w = class extends mt {
7415
7438
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7416
7439
  return;
7417
7440
  this.paymentLocked = !0;
7418
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYCN);
7419
- this.sdk.submitPayment(f.ALIPAYCN, {
7441
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ALIPAYCN);
7442
+ this.sdk.submitPayment(p.ALIPAYCN, {
7420
7443
  firstName: e.firstName,
7421
7444
  lastName: e.lastName,
7422
7445
  email: this.email,
@@ -7427,8 +7450,8 @@ let w = class extends mt {
7427
7450
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7428
7451
  return;
7429
7452
  this.paymentLocked = !0;
7430
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.ALIPAYHK);
7431
- this.sdk.submitPayment(f.ALIPAYHK, {
7453
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.ALIPAYHK);
7454
+ this.sdk.submitPayment(p.ALIPAYHK, {
7432
7455
  firstName: e.firstName,
7433
7456
  lastName: e.lastName,
7434
7457
  email: this.email,
@@ -7439,8 +7462,8 @@ let w = class extends mt {
7439
7462
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7440
7463
  return;
7441
7464
  this.paymentLocked = !0;
7442
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.GCASH);
7443
- this.sdk.submitPayment(f.GCASH, {
7465
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.GCASH);
7466
+ this.sdk.submitPayment(p.GCASH, {
7444
7467
  firstName: e.firstName,
7445
7468
  lastName: e.lastName,
7446
7469
  email: this.email,
@@ -7451,8 +7474,8 @@ let w = class extends mt {
7451
7474
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7452
7475
  return;
7453
7476
  this.paymentLocked = !0;
7454
- const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(f.KONBINI);
7455
- this.sdk.submitPayment(f.KONBINI, {
7477
+ const e = this.formatNamesUppercase(), t = this.getEffectivePhoneNumber(p.KONBINI);
7478
+ this.sdk.submitPayment(p.KONBINI, {
7456
7479
  firstName: e.firstName,
7457
7480
  lastName: e.lastName,
7458
7481
  email: this.email,
@@ -7463,8 +7486,8 @@ let w = class extends mt {
7463
7486
  if (!this.sdk || this.currentState.status !== "ready" || this.phoneInputValue && !this.validatePhoneInput())
7464
7487
  return;
7465
7488
  this.paymentLocked = !0;
7466
- const e = this.getEffectivePhoneNumber(f.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
7467
- this.sdk.submitPayment(f.PAYEASY, {
7489
+ const e = this.getEffectivePhoneNumber(p.PAYEASY), t = this.formatNamesForPayEasy(this.firstName, this.lastName);
7490
+ this.sdk.submitPayment(p.PAYEASY, {
7468
7491
  firstName: t.firstName,
7469
7492
  lastName: t.lastName,
7470
7493
  email: this.email,
@@ -7476,7 +7499,7 @@ let w = class extends mt {
7476
7499
  return;
7477
7500
  this.paymentLocked = !0;
7478
7501
  const e = this.formatNamesUppercase();
7479
- this.sdk.submitPayment(f.GRABPAY_SG, {
7502
+ this.sdk.submitPayment(p.GRABPAY_SG, {
7480
7503
  firstName: e.firstName,
7481
7504
  lastName: e.lastName,
7482
7505
  email: this.email
@@ -7487,13 +7510,24 @@ let w = class extends mt {
7487
7510
  return;
7488
7511
  this.paymentLocked = !0;
7489
7512
  const e = this.formatNamesUppercase();
7490
- this.sdk.submitPayment(f.FPX, {
7513
+ this.sdk.submitPayment(p.FPX, {
7491
7514
  firstName: e.firstName,
7492
7515
  lastName: e.lastName,
7493
7516
  email: this.email,
7494
7517
  bankName: this.selectedBank.bankName
7495
7518
  });
7496
7519
  }
7520
+ handleWeChatPayPayment() {
7521
+ if (!this.sdk || this.currentState.status !== "ready")
7522
+ return;
7523
+ this.paymentLocked = !0;
7524
+ const e = this.formatNamesUppercase();
7525
+ this.sdk.submitPayment(p.WECHATPAY, {
7526
+ firstName: e.firstName,
7527
+ lastName: e.lastName,
7528
+ email: this.email
7529
+ });
7530
+ }
7497
7531
  /**
7498
7532
  * Fetch available banks for a payment method
7499
7533
  */
@@ -7541,7 +7575,7 @@ let w = class extends mt {
7541
7575
  getFormattedPhoneWithCountryCode() {
7542
7576
  if (!this.phoneInputValue.trim()) return "";
7543
7577
  try {
7544
- const n = Ud(this.phoneInputValue, this.selectedCountry);
7578
+ const n = Hd(this.phoneInputValue, this.selectedCountry);
7545
7579
  if (n)
7546
7580
  return n.formatInternational();
7547
7581
  } catch {
@@ -7606,7 +7640,7 @@ let w = class extends mt {
7606
7640
  if (e.replace(/\D/g, "").length < this.MIN_PHONE_LENGTH)
7607
7641
  return this.phoneInputError = `Phone number must be at least ${this.MIN_PHONE_LENGTH} digits`, !1;
7608
7642
  try {
7609
- if (!Hd(e, this.selectedCountry))
7643
+ if (!jd(e, this.selectedCountry))
7610
7644
  return this.phoneInputError = "Please enter a valid phone number", !1;
7611
7645
  } catch {
7612
7646
  return this.phoneInputError = "Please enter a valid phone number", !1;
@@ -8101,7 +8135,7 @@ let w = class extends mt {
8101
8135
  <div class="paynow-instructions">
8102
8136
  <h3 class="instructions-title">How to Pay with Boost:</h3>
8103
8137
 
8104
- ${this.renderPhoneInput(f.BOOST)}
8138
+ ${this.renderPhoneInput(p.BOOST)}
8105
8139
 
8106
8140
  <div class="instruction-steps">
8107
8141
  <div class="instruction-step">
@@ -8124,9 +8158,9 @@ let w = class extends mt {
8124
8158
  <button
8125
8159
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8126
8160
  @click=${this.handleBoostPayment}
8127
- ?disabled=${this.isPayButtonDisabled(f.BOOST)}
8161
+ ?disabled=${this.isPayButtonDisabled(p.BOOST)}
8128
8162
  >
8129
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.BOOST) && !this.hasPhoneNumber(f.BOOST) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8163
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.BOOST) && !this.hasPhoneNumber(p.BOOST) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8130
8164
  </button>
8131
8165
  </div>
8132
8166
  </div>
@@ -8139,7 +8173,7 @@ let w = class extends mt {
8139
8173
  <div class="paynow-instructions">
8140
8174
  <h3 class="instructions-title">How to Pay with ShopeePay:</h3>
8141
8175
 
8142
- ${this.renderPhoneInput(f.SHOPEEPAY)}
8176
+ ${this.renderPhoneInput(p.SHOPEEPAY)}
8143
8177
 
8144
8178
  <div class="instruction-steps">
8145
8179
  <div class="instruction-step">
@@ -8162,9 +8196,9 @@ let w = class extends mt {
8162
8196
  <button
8163
8197
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8164
8198
  @click=${this.handleShopeePayPayment}
8165
- ?disabled=${this.isPayButtonDisabled(f.SHOPEEPAY)}
8199
+ ?disabled=${this.isPayButtonDisabled(p.SHOPEEPAY)}
8166
8200
  >
8167
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.SHOPEEPAY) && !this.hasPhoneNumber(f.SHOPEEPAY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8201
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.SHOPEEPAY) && !this.hasPhoneNumber(p.SHOPEEPAY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8168
8202
  </button>
8169
8203
  </div>
8170
8204
  </div>
@@ -8177,7 +8211,7 @@ let w = class extends mt {
8177
8211
  <div class="paynow-instructions">
8178
8212
  <h3 class="instructions-title">How to Pay with Atome:</h3>
8179
8213
 
8180
- ${this.renderPhoneInput(f.ATOM)}
8214
+ ${this.renderPhoneInput(p.ATOM)}
8181
8215
 
8182
8216
  <div class="instruction-steps">
8183
8217
  <div class="instruction-step">
@@ -8200,9 +8234,9 @@ let w = class extends mt {
8200
8234
  <button
8201
8235
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8202
8236
  @click=${this.handleAtomPayment}
8203
- ?disabled=${this.isPayButtonDisabled(f.ATOM)}
8237
+ ?disabled=${this.isPayButtonDisabled(p.ATOM)}
8204
8238
  >
8205
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.ATOM) && !this.hasPhoneNumber(f.ATOM) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8239
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.ATOM) && !this.hasPhoneNumber(p.ATOM) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8206
8240
  </button>
8207
8241
  </div>
8208
8242
  </div>
@@ -8215,7 +8249,7 @@ let w = class extends mt {
8215
8249
  <div class="paynow-instructions">
8216
8250
  <h3 class="instructions-title">How to Pay with Dana:</h3>
8217
8251
 
8218
- ${this.renderPhoneInput(f.DANA)}
8252
+ ${this.renderPhoneInput(p.DANA)}
8219
8253
 
8220
8254
  <div class="instruction-steps">
8221
8255
  <div class="instruction-step">
@@ -8253,7 +8287,7 @@ let w = class extends mt {
8253
8287
  <div class="paynow-instructions">
8254
8288
  <h3 class="instructions-title">How to Pay with Touch 'n Go:</h3>
8255
8289
 
8256
- ${this.renderPhoneInput(f.TNG)}
8290
+ ${this.renderPhoneInput(p.TNG)}
8257
8291
 
8258
8292
  <div class="instruction-steps">
8259
8293
  <div class="instruction-step">
@@ -8291,7 +8325,7 @@ let w = class extends mt {
8291
8325
  <div class="paynow-instructions">
8292
8326
  <h3 class="instructions-title">How to Pay with Alipay:</h3>
8293
8327
 
8294
- ${this.renderPhoneInput(f.ALIPAYCN)}
8328
+ ${this.renderPhoneInput(p.ALIPAYCN)}
8295
8329
 
8296
8330
  <div class="instruction-steps">
8297
8331
  <div class="instruction-step">
@@ -8329,7 +8363,7 @@ let w = class extends mt {
8329
8363
  <div class="paynow-instructions">
8330
8364
  <h3 class="instructions-title">How to Pay with AlipayHK:</h3>
8331
8365
 
8332
- ${this.renderPhoneInput(f.ALIPAYHK)}
8366
+ ${this.renderPhoneInput(p.ALIPAYHK)}
8333
8367
 
8334
8368
  <div class="instruction-steps">
8335
8369
  <div class="instruction-step">
@@ -8367,7 +8401,7 @@ let w = class extends mt {
8367
8401
  <div class="paynow-instructions">
8368
8402
  <h3 class="instructions-title">How to Pay with GCash:</h3>
8369
8403
 
8370
- ${this.renderPhoneInput(f.GCASH)}
8404
+ ${this.renderPhoneInput(p.GCASH)}
8371
8405
 
8372
8406
  <div class="instruction-steps">
8373
8407
  <div class="instruction-step">
@@ -8405,7 +8439,7 @@ let w = class extends mt {
8405
8439
  <div class="paynow-instructions">
8406
8440
  <h3 class="instructions-title">How to Pay with Konbini:</h3>
8407
8441
 
8408
- ${this.renderPhoneInput(f.KONBINI)}
8442
+ ${this.renderPhoneInput(p.KONBINI)}
8409
8443
 
8410
8444
  <div class="instruction-steps">
8411
8445
  <div class="instruction-step">
@@ -8428,9 +8462,9 @@ let w = class extends mt {
8428
8462
  <button
8429
8463
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8430
8464
  @click=${this.handleKonbiniPayment}
8431
- ?disabled=${this.isPayButtonDisabled(f.KONBINI)}
8465
+ ?disabled=${this.isPayButtonDisabled(p.KONBINI)}
8432
8466
  >
8433
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.KONBINI) && !this.hasPhoneNumber(f.KONBINI) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8467
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.KONBINI) && !this.hasPhoneNumber(p.KONBINI) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8434
8468
  </button>
8435
8469
  </div>
8436
8470
  </div>
@@ -8443,7 +8477,7 @@ let w = class extends mt {
8443
8477
  <div class="paynow-instructions">
8444
8478
  <h3 class="instructions-title">How to Pay with Pay-Easy:</h3>
8445
8479
 
8446
- ${this.renderPhoneInput(f.PAYEASY)}
8480
+ ${this.renderPhoneInput(p.PAYEASY)}
8447
8481
 
8448
8482
  <div class="instruction-steps">
8449
8483
  <div class="instruction-step">
@@ -8468,9 +8502,9 @@ let w = class extends mt {
8468
8502
  <button
8469
8503
  class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8470
8504
  @click=${this.handlePayEasyPayment}
8471
- ?disabled=${this.isPayButtonDisabled(f.PAYEASY)}
8505
+ ?disabled=${this.isPayButtonDisabled(p.PAYEASY)}
8472
8506
  >
8473
- ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(f.PAYEASY) && !this.hasPhoneNumber(f.PAYEASY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8507
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : this.isPayButtonDisabled(p.PAYEASY) && !this.hasPhoneNumber(p.PAYEASY) ? "Phone Number Required" : `Pay ${this.getPayButtonAmount()}`}
8474
8508
  </button>
8475
8509
  </div>
8476
8510
  </div>
@@ -8634,6 +8668,42 @@ let w = class extends mt {
8634
8668
  </div>
8635
8669
  `;
8636
8670
  }
8671
+ renderWeChatPayContent() {
8672
+ return g`
8673
+ <div class="paynow-container">
8674
+ <div class="paynow-instructions">
8675
+ <h3 class="instructions-title">How to Pay with WeChat Pay:</h3>
8676
+
8677
+ <div class="instruction-steps">
8678
+ <div class="instruction-step">
8679
+ <div class="step-number">1</div>
8680
+ <p class="step-text">Click <strong>"Pay"</strong> to open WeChat Pay.</p>
8681
+ </div>
8682
+
8683
+ <div class="instruction-step">
8684
+ <div class="step-number">2</div>
8685
+ <p class="step-text">Scan the QR code with your WeChat app.</p>
8686
+ </div>
8687
+
8688
+ <div class="instruction-step">
8689
+ <div class="step-number">3</div>
8690
+ <p class="step-text">Confirm and complete your payment.</p>
8691
+ </div>
8692
+ </div>
8693
+
8694
+ <div class="submit-section">
8695
+ <button
8696
+ class="pay-button ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "loading" : ""}"
8697
+ @click=${this.handleWeChatPayPayment}
8698
+ ?disabled=${this.currentState.status === "processing" || this.currentState.status === "requires_action"}
8699
+ >
8700
+ ${this.currentState.status === "processing" || this.currentState.status === "requires_action" ? "Redirecting..." : `Pay ${this.getPayButtonAmount()}`}
8701
+ </button>
8702
+ </div>
8703
+ </div>
8704
+ </div>
8705
+ `;
8706
+ }
8637
8707
  render3DSModal() {
8638
8708
  return !this.show3DSModal || !this.nextActionUrl ? null : g`
8639
8709
  <div class="modal-overlay">
@@ -8694,44 +8764,46 @@ let w = class extends mt {
8694
8764
  }
8695
8765
  const n = (o) => {
8696
8766
  switch (o) {
8697
- case f.CARD:
8767
+ case p.CARD:
8698
8768
  return "Card";
8699
- case f.PAYNOW:
8769
+ case p.PAYNOW:
8700
8770
  return "PayNow";
8701
- case f.PROMPTPAY:
8771
+ case p.PROMPTPAY:
8702
8772
  return "PromptPay";
8703
- case f.DUITNOW:
8773
+ case p.DUITNOW:
8704
8774
  return "DuitNow";
8705
- case f.GOPAY:
8775
+ case p.GOPAY:
8706
8776
  return "GoPay";
8707
- case f.BOOST:
8777
+ case p.BOOST:
8708
8778
  return "Boost";
8709
- case f.SHOPEEPAY:
8779
+ case p.SHOPEEPAY:
8710
8780
  return "ShopeePay";
8711
- case f.ATOM:
8781
+ case p.ATOM:
8712
8782
  return "Atome";
8713
- case f.DANA:
8783
+ case p.DANA:
8714
8784
  return "Dana";
8715
- case f.TNG:
8785
+ case p.TNG:
8716
8786
  return "Touch 'n Go";
8717
- case f.ALIPAYCN:
8787
+ case p.ALIPAYCN:
8718
8788
  return "Alipay";
8719
- case f.ALIPAYHK:
8789
+ case p.ALIPAYHK:
8720
8790
  return "AlipayHK";
8721
- case f.GCASH:
8791
+ case p.GCASH:
8722
8792
  return "GCash";
8723
- case f.KONBINI:
8793
+ case p.KONBINI:
8724
8794
  return "Konbini";
8725
- case f.PAYEASY:
8795
+ case p.PAYEASY:
8726
8796
  return "Pay-Easy";
8727
- case f.GRABPAY_SG:
8797
+ case p.GRABPAY_SG:
8728
8798
  return "GrabPay";
8729
- case f.FPX:
8799
+ case p.FPX:
8730
8800
  return "FPX Online Banking";
8801
+ case p.WECHATPAY:
8802
+ return "WeChat Pay";
8731
8803
  default:
8732
8804
  return o;
8733
8805
  }
8734
- }, i = (o) => o === f.CARD ? g`
8806
+ }, i = (o) => o === p.CARD ? g`
8735
8807
  <div class="method-icon-right">
8736
8808
  <svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
8737
8809
  <path
@@ -8744,11 +8816,11 @@ let w = class extends mt {
8744
8816
  />
8745
8817
  </svg>
8746
8818
  </div>
8747
- ` : o === f.PAYNOW ? g`
8819
+ ` : o === p.PAYNOW ? g`
8748
8820
  <div class="method-icon-right">
8749
8821
  <img src="${ai}" alt="PayNow" style="width: 45px; height: auto;" />
8750
8822
  </div>
8751
- ` : o === f.PROMPTPAY ? g`
8823
+ ` : o === p.PROMPTPAY ? g`
8752
8824
  <div class="method-icon-right">
8753
8825
  <img
8754
8826
  src="${oi}"
@@ -8756,19 +8828,19 @@ let w = class extends mt {
8756
8828
  style="width: 45px; height: auto;"
8757
8829
  />
8758
8830
  </div>
8759
- ` : o === f.DUITNOW ? g`
8831
+ ` : o === p.DUITNOW ? g`
8760
8832
  <div class="method-icon-right">
8761
8833
  <img src="${si}" alt="DuitNow" style="width: 45px; height: auto;" />
8762
8834
  </div>
8763
- ` : o === f.GOPAY ? g`
8835
+ ` : o === p.GOPAY ? g`
8764
8836
  <div class="method-icon-right">
8765
8837
  <img src="${di}" alt="GoPay" style="width: 45px; height: auto;" />
8766
8838
  </div>
8767
- ` : o === f.BOOST ? g`
8839
+ ` : o === p.BOOST ? g`
8768
8840
  <div class="method-icon-right">
8769
8841
  <img src="${li}" alt="Boost" style="width: 45px; height: auto;" />
8770
8842
  </div>
8771
- ` : o === f.SHOPEEPAY ? g`
8843
+ ` : o === p.SHOPEEPAY ? g`
8772
8844
  <div class="method-icon-right">
8773
8845
  <img
8774
8846
  src="${ci}"
@@ -8776,23 +8848,23 @@ let w = class extends mt {
8776
8848
  style="width: 45px; height: auto;"
8777
8849
  />
8778
8850
  </div>
8779
- ` : o === f.ATOM ? g`
8851
+ ` : o === p.ATOM ? g`
8780
8852
  <div class="method-icon-right">
8781
8853
  <img src="${ui}" alt="Atome" style="width: 45px; height: auto;" />
8782
8854
  </div>
8783
- ` : o === f.DANA ? g`
8855
+ ` : o === p.DANA ? g`
8784
8856
  <div class="method-icon-right">
8785
8857
  <img src="${hi}" alt="Dana" style="width: 45px; height: auto;" />
8786
8858
  </div>
8787
- ` : o === f.TNG ? g`
8859
+ ` : o === p.TNG ? g`
8788
8860
  <div class="method-icon-right">
8789
- <img src="${fi}" alt="Touch 'n Go" style="width: 45px; height: auto;" />
8861
+ <img src="${pi}" alt="Touch 'n Go" style="width: 45px; height: auto;" />
8790
8862
  </div>
8791
- ` : o === f.ALIPAYCN ? g`
8863
+ ` : o === p.ALIPAYCN ? g`
8792
8864
  <div class="method-icon-right">
8793
- <img src="${pi}" alt="Alipay" style="width: 45px; height: auto;" />
8865
+ <img src="${fi}" alt="Alipay" style="width: 45px; height: auto;" />
8794
8866
  </div>
8795
- ` : o === f.ALIPAYHK ? g`
8867
+ ` : o === p.ALIPAYHK ? g`
8796
8868
  <div class="method-icon-right">
8797
8869
  <img
8798
8870
  src="${mi}"
@@ -8800,23 +8872,23 @@ let w = class extends mt {
8800
8872
  style="width: 45px; height: auto;"
8801
8873
  />
8802
8874
  </div>
8803
- ` : o === f.GCASH ? g`
8875
+ ` : o === p.GCASH ? g`
8804
8876
  <div class="method-icon-right">
8805
8877
  <img src="${$i}" alt="GCash" style="width: 45px; height: auto;" />
8806
8878
  </div>
8807
- ` : o === f.KONBINI ? g`
8879
+ ` : o === p.KONBINI ? g`
8808
8880
  <div class="method-icon-right">
8809
8881
  <img src="${gi}" alt="Konbini" style="width: 45px; height: auto;" />
8810
8882
  </div>
8811
- ` : o === f.PAYEASY ? g`
8883
+ ` : o === p.PAYEASY ? g`
8812
8884
  <div class="method-icon-right">
8813
8885
  <img src="${yi}" alt="Pay-Easy" style="width: 45px; height: auto;" />
8814
8886
  </div>
8815
- ` : o === f.GRABPAY_SG ? g`
8887
+ ` : o === p.GRABPAY_SG ? g`
8816
8888
  <div class="method-icon-right">
8817
8889
  <img src="${bi}" alt="GrabPay" style="width: 45px; height: auto;" />
8818
8890
  </div>
8819
- ` : o === f.FPX ? g`
8891
+ ` : o === p.FPX ? g`
8820
8892
  <div class="method-icon-right">
8821
8893
  <img
8822
8894
  src="${vi}"
@@ -8824,6 +8896,14 @@ let w = class extends mt {
8824
8896
  style="width: 45px; height: auto;"
8825
8897
  />
8826
8898
  </div>
8899
+ ` : o === p.WECHATPAY ? g`
8900
+ <div class="method-icon-right">
8901
+ <img
8902
+ src="${Pi}"
8903
+ alt="WeChat Pay"
8904
+ style="width: 45px; height: auto;"
8905
+ />
8906
+ </div>
8827
8907
  ` : null, a = [
8828
8908
  this.width ? `--one-payment-width: ${this.width}` : "",
8829
8909
  this.maxWidth ? `--one-payment-max-width: ${this.maxWidth}` : ""
@@ -8859,7 +8939,7 @@ let w = class extends mt {
8859
8939
  ${i(o.id)}
8860
8940
  </div>
8861
8941
  ${s ? g`<div class="method-content">
8862
- ${o.id === f.CARD ? this.renderCardForm() : o.id === f.PAYNOW ? this.renderPayNowContent() : o.id === f.PROMPTPAY ? this.renderPromptPayContent() : o.id === f.DUITNOW ? this.renderDuitNowContent() : o.id === f.GOPAY ? this.renderGoPayContent() : o.id === f.BOOST ? this.renderBoostContent() : o.id === f.SHOPEEPAY ? this.renderShopeePayContent() : o.id === f.ATOM ? this.renderAtomContent() : o.id === f.DANA ? this.renderDanaContent() : o.id === f.TNG ? this.renderTngContent() : o.id === f.ALIPAYCN ? this.renderAlipayCNContent() : o.id === f.ALIPAYHK ? this.renderAlipayHKContent() : o.id === f.GCASH ? this.renderGCashContent() : o.id === f.KONBINI ? this.renderKonbiniContent() : o.id === f.PAYEASY ? this.renderPayEasyContent() : o.id === f.GRABPAY_SG ? this.renderGrabPaySGContent() : o.id === f.FPX ? this.renderFPXContent() : null}
8942
+ ${o.id === p.CARD ? this.renderCardForm() : o.id === p.PAYNOW ? this.renderPayNowContent() : o.id === p.PROMPTPAY ? this.renderPromptPayContent() : o.id === p.DUITNOW ? this.renderDuitNowContent() : o.id === p.GOPAY ? this.renderGoPayContent() : o.id === p.BOOST ? this.renderBoostContent() : o.id === p.SHOPEEPAY ? this.renderShopeePayContent() : o.id === p.ATOM ? this.renderAtomContent() : o.id === p.DANA ? this.renderDanaContent() : o.id === p.TNG ? this.renderTngContent() : o.id === p.ALIPAYCN ? this.renderAlipayCNContent() : o.id === p.ALIPAYHK ? this.renderAlipayHKContent() : o.id === p.GCASH ? this.renderGCashContent() : o.id === p.KONBINI ? this.renderKonbiniContent() : o.id === p.PAYEASY ? this.renderPayEasyContent() : o.id === p.GRABPAY_SG ? this.renderGrabPaySGContent() : o.id === p.FPX ? this.renderFPXContent() : o.id === p.WECHATPAY ? this.renderWeChatPayContent() : null}
8863
8943
  </div>` : ""}
8864
8944
  </div>
8865
8945
  `;
@@ -10522,127 +10602,127 @@ w.styles = Tn`
10522
10602
  }
10523
10603
  }
10524
10604
  `;
10525
- C([
10605
+ N([
10526
10606
  M({ type: Object })
10527
10607
  ], w.prototype, "config", 2);
10528
- C([
10608
+ N([
10529
10609
  M({ type: Object })
10530
10610
  ], w.prototype, "adapters", 2);
10531
- C([
10611
+ N([
10532
10612
  M({ type: Number })
10533
10613
  ], w.prototype, "amount", 2);
10534
- C([
10614
+ N([
10535
10615
  M({ type: String })
10536
10616
  ], w.prototype, "currency", 2);
10537
- C([
10617
+ N([
10538
10618
  M({ type: String })
10539
10619
  ], w.prototype, "orderId", 2);
10540
- C([
10620
+ N([
10541
10621
  M({ type: String })
10542
10622
  ], w.prototype, "firstName", 2);
10543
- C([
10623
+ N([
10544
10624
  M({ type: String })
10545
10625
  ], w.prototype, "lastName", 2);
10546
- C([
10626
+ N([
10547
10627
  M({ type: String })
10548
10628
  ], w.prototype, "email", 2);
10549
- C([
10629
+ N([
10550
10630
  M({ type: Array })
10551
10631
  ], w.prototype, "excludePaymentMethods", 2);
10552
- C([
10632
+ N([
10553
10633
  M({ type: String })
10554
10634
  ], w.prototype, "width", 2);
10555
- C([
10635
+ N([
10556
10636
  M({ type: String })
10557
10637
  ], w.prototype, "maxWidth", 2);
10558
- C([
10638
+ N([
10559
10639
  M({ type: Object })
10560
10640
  ], w.prototype, "appearance", 2);
10561
- C([
10641
+ N([
10562
10642
  A()
10563
10643
  ], w.prototype, "currentState", 2);
10564
- C([
10644
+ N([
10565
10645
  A()
10566
10646
  ], w.prototype, "selectedMethod", 2);
10567
- C([
10647
+ N([
10568
10648
  A()
10569
10649
  ], w.prototype, "cardFormData", 2);
10570
- C([
10650
+ N([
10571
10651
  A()
10572
10652
  ], w.prototype, "formErrors", 2);
10573
- C([
10653
+ N([
10574
10654
  A()
10575
10655
  ], w.prototype, "paymentData", 2);
10576
- C([
10656
+ N([
10577
10657
  A()
10578
10658
  ], w.prototype, "feesExpanded", 2);
10579
- C([
10659
+ N([
10580
10660
  A()
10581
10661
  ], w.prototype, "isInitializing", 2);
10582
- C([
10662
+ N([
10583
10663
  A()
10584
10664
  ], w.prototype, "cardBrand", 2);
10585
- C([
10665
+ N([
10586
10666
  A()
10587
10667
  ], w.prototype, "paymentLocked", 2);
10588
- C([
10668
+ N([
10589
10669
  A()
10590
10670
  ], w.prototype, "show3DSModal", 2);
10591
- C([
10671
+ N([
10592
10672
  A()
10593
10673
  ], w.prototype, "showQRModal", 2);
10594
- C([
10674
+ N([
10595
10675
  A()
10596
10676
  ], w.prototype, "nextActionUrl", 2);
10597
- C([
10677
+ N([
10598
10678
  A()
10599
10679
  ], w.prototype, "qrCode", 2);
10600
- C([
10680
+ N([
10601
10681
  A()
10602
10682
  ], w.prototype, "qrCodeDataUrl", 2);
10603
- C([
10683
+ N([
10604
10684
  A()
10605
10685
  ], w.prototype, "qrAutoResumeTimer", 2);
10606
- C([
10686
+ N([
10607
10687
  A()
10608
10688
  ], w.prototype, "qrPollingInProgress", 2);
10609
- C([
10689
+ N([
10610
10690
  A()
10611
10691
  ], w.prototype, "availableBanks", 2);
10612
- C([
10692
+ N([
10613
10693
  A()
10614
10694
  ], w.prototype, "selectedBank", 2);
10615
- C([
10695
+ N([
10616
10696
  A()
10617
10697
  ], w.prototype, "banksLoading", 2);
10618
- C([
10698
+ N([
10619
10699
  A()
10620
10700
  ], w.prototype, "bankSearchQuery", 2);
10621
- C([
10701
+ N([
10622
10702
  A()
10623
10703
  ], w.prototype, "phoneInputValue", 2);
10624
- C([
10704
+ N([
10625
10705
  A()
10626
10706
  ], w.prototype, "phoneInputError", 2);
10627
- C([
10707
+ N([
10628
10708
  A()
10629
10709
  ], w.prototype, "selectedCountry", 2);
10630
- w = C([
10710
+ w = N([
10631
10711
  Jn("one-payment")
10632
10712
  ], w);
10633
- const Yd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10713
+ const Vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10634
10714
  __proto__: null,
10635
10715
  get OnePayment() {
10636
10716
  return w;
10637
10717
  }
10638
10718
  }, Symbol.toStringTag, { value: "Module" }));
10639
- function qd() {
10640
- customElements.get("one-payment") || Promise.resolve().then(() => Yd).then(({ OnePayment: e }) => {
10719
+ function Kd() {
10720
+ customElements.get("one-payment") || Promise.resolve().then(() => Vd).then(({ OnePayment: e }) => {
10641
10721
  customElements.define("one-payment", e);
10642
10722
  });
10643
10723
  }
10644
10724
  export {
10645
10725
  w as OnePayment,
10646
10726
  w as OnePaymentElement,
10647
- qd as defineCustomElements
10727
+ Kd as defineCustomElements
10648
10728
  };