@rpcbase/ui 0.130.0 → 0.131.0

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
@@ -1,7 +1,7 @@
1
1
  import * as C from "react";
2
- import Ce, { useState as $e, useEffect as Z, useRef as X, useMemo as me, useLayoutEffect as as, useCallback as je, createContext as Sn, memo as ss, useReducer as ls, useContext as St, forwardRef as ds, cloneElement as us } from "react";
2
+ import Ce, { useState as $e, useEffect as Z, useRef as X, useMemo as me, useLayoutEffect as as, useCallback as je, createContext as Sn, memo as ss, useReducer as ls, useContext as St, forwardRef as ds, cloneElement as cs } from "react";
3
3
  import * as gt from "@radix-ui/react-dialog";
4
- import { XIcon as cs, Plus as Co, X as Fi, Maximize2 as fs, Loader2 as gs } from "lucide-react";
4
+ import { XIcon as us, Plus as Co, X as Fi, Maximize2 as fs, Loader2 as gs } from "lucide-react";
5
5
  import { unstable_batchedUpdates as Mn, createPortal as Mi } from "react-dom";
6
6
  import Li, { components as hs } from "react-select";
7
7
  import { Link as $s } from "react-router";
@@ -10,13 +10,13 @@ function ms(e, t) {
10
10
  e.src = t;
11
11
  }
12
12
  const ps = (e) => {
13
- var t, n, r, o = "The Google Maps JavaScript API", i = "google", a = "importLibrary", s = "__ib__", l = document, d = window, u = d[i] || (d[i] = {}), c = u.maps || (u.maps = {}), f = /* @__PURE__ */ new Set(), g = new URLSearchParams(), v = () => t || (t = new Promise(async (p, b) => {
13
+ var t, n, r, o = "The Google Maps JavaScript API", i = "google", a = "importLibrary", s = "__ib__", l = document, d = window, c = d[i] || (d[i] = {}), u = c.maps || (c.maps = {}), f = /* @__PURE__ */ new Set(), g = new URLSearchParams(), v = () => t || (t = new Promise(async (p, b) => {
14
14
  await (n = l.createElement("script")), g.set("libraries", [...f] + "");
15
15
  for (r in e)
16
16
  g.set(r.replace(/[A-Z]/g, (N) => "_" + N[0].toLowerCase()), e[r]);
17
- g.set("callback", i + ".maps." + s), ms(n, "https://maps.googleapis.com/maps/api/js?" + g), c[s] = p, n.onerror = () => t = b(Error(o + " could not load.")), n.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(n);
17
+ g.set("callback", i + ".maps." + s), ms(n, "https://maps.googleapis.com/maps/api/js?" + g), u[s] = p, n.onerror = () => t = b(Error(o + " could not load.")), n.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(n);
18
18
  }));
19
- c[a] ? console.warn(o + " only loads once. Ignoring:", e) : c[a] = (p, ...b) => f.add(p) && v().then(() => c[a](p, ...b));
19
+ u[a] ? console.warn(o + " only loads once. Ignoring:", e) : u[a] = (p, ...b) => f.add(p) && v().then(() => u[a](p, ...b));
20
20
  }, bs = (e) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(e)}) will be ignored.`, vs = (e) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(e)}) will be ignored.`, ys = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", xs = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", ji = process.env.NODE_ENV !== "production", Qr = ji ? (e) => {
21
21
  console.warn(`[@googlemaps/js-api-loader] ${e}`);
22
22
  } : () => {
@@ -130,12 +130,12 @@ function Q1({
130
130
  const s = Math.max(0, t);
131
131
  let l = window.scrollY;
132
132
  const d = () => {
133
- const u = window.scrollY;
133
+ const c = window.scrollY;
134
134
  if (n && !o.current) {
135
- l = u;
135
+ l = c;
136
136
  return;
137
137
  }
138
- u > l && u > s ? a(!0) : u < l && a(!1), l = u;
138
+ c > l && c > s ? a(!0) : c < l && a(!1), l = c;
139
139
  };
140
140
  return window.addEventListener("scroll", d, { passive: !0 }), () => window.removeEventListener("scroll", d);
141
141
  }, [e, t, n, o]), i;
@@ -249,7 +249,7 @@ function Ds() {
249
249
  return Error("react-stack-top-frame");
250
250
  }
251
251
  function a(h) {
252
- if (se.call(h, "key")) {
252
+ if (de.call(h, "key")) {
253
253
  var E = Object.getOwnPropertyDescriptor(h, "key").get;
254
254
  if (E && E.isReactWarning) return !1;
255
255
  }
@@ -306,20 +306,20 @@ function Ds() {
306
306
  value: F
307
307
  }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
308
308
  }
309
- function u(h, E, P, $, _, F) {
309
+ function c(h, E, P, $, _, F) {
310
310
  var R = E.children;
311
311
  if (R !== void 0)
312
312
  if ($)
313
313
  if (re(R)) {
314
314
  for ($ = 0; $ < R.length; $++)
315
- c(R[$]);
315
+ u(R[$]);
316
316
  Object.freeze && Object.freeze(R);
317
317
  } else
318
318
  console.error(
319
319
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
320
320
  );
321
- else c(R);
322
- if (se.call(E, "key")) {
321
+ else u(R);
322
+ if (de.call(E, "key")) {
323
323
  R = e(h);
324
324
  var te = Object.keys(E).filter(function(z) {
325
325
  return z !== "key";
@@ -354,13 +354,13 @@ React keys must be passed directly to JSX without using spread:
354
354
  F
355
355
  );
356
356
  }
357
- function c(h) {
357
+ function u(h) {
358
358
  f(h) ? h._store && (h._store.validated = 1) : typeof h == "object" && h !== null && h.$$typeof === D && (h._payload.status === "fulfilled" ? f(h._payload.value) && h._payload.value._store && (h._payload.value._store.validated = 1) : h._store && (h._store.validated = 1));
359
359
  }
360
360
  function f(h) {
361
361
  return typeof h == "object" && h !== null && h.$$typeof === v;
362
362
  }
363
- var g = Ce, v = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), A = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), Y = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), W = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, se = Object.prototype.hasOwnProperty, re = Array.isArray, pe = console.createTask ? console.createTask : function() {
363
+ var g = Ce, v = Symbol.for("react.transitional.element"), p = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), A = Symbol.for("react.context"), V = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), Y = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), W = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, de = Object.prototype.hasOwnProperty, re = Array.isArray, pe = console.createTask ? console.createTask : function() {
364
364
  return null;
365
365
  };
366
366
  g = {
@@ -374,7 +374,7 @@ React keys must be passed directly to JSX without using spread:
374
374
  )(), H = pe(r(i)), ge = {};
375
375
  tn.Fragment = b, tn.jsx = function(h, E, P) {
376
376
  var $ = 1e4 > W.recentlyCreatedOwnerStacks++;
377
- return u(
377
+ return c(
378
378
  h,
379
379
  E,
380
380
  P,
@@ -384,7 +384,7 @@ React keys must be passed directly to JSX without using spread:
384
384
  );
385
385
  }, tn.jsxs = function(h, E, P) {
386
386
  var $ = 1e4 > W.recentlyCreatedOwnerStacks++;
387
- return u(
387
+ return c(
388
388
  h,
389
389
  E,
390
390
  P,
@@ -460,9 +460,9 @@ const _s = (e, t) => {
460
460
  return;
461
461
  const s = t === 0 ? e.join(Xn) : e.slice(t).join(Xn), l = a.length;
462
462
  for (let d = 0; d < l; d++) {
463
- const u = a[d];
464
- if (u.validator(s))
465
- return u.classGroupId;
463
+ const c = a[d];
464
+ if (c.validator(s))
465
+ return c.classGroupId;
466
466
  }
467
467
  }, js = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
468
468
  const t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
@@ -558,8 +558,8 @@ const _s = (e, t) => {
558
558
  let r = (o) => {
559
559
  const i = [];
560
560
  let a = 0, s = 0, l = 0, d;
561
- const u = o.length;
562
- for (let p = 0; p < u; p++) {
561
+ const c = o.length;
562
+ for (let p = 0; p < c; p++) {
563
563
  const b = o[p];
564
564
  if (a === 0 && s === 0) {
565
565
  if (b === Ao) {
@@ -573,14 +573,14 @@ const _s = (e, t) => {
573
573
  }
574
574
  b === "[" ? a++ : b === "]" ? a-- : b === "(" ? s++ : b === ")" && s--;
575
575
  }
576
- const c = i.length === 0 ? o : o.slice(l);
577
- let f = c, g = !1;
578
- c.endsWith(Mr) ? (f = c.slice(0, -1), g = !0) : (
576
+ const u = i.length === 0 ? o : o.slice(l);
577
+ let f = u, g = !1;
578
+ u.endsWith(Mr) ? (f = u.slice(0, -1), g = !0) : (
579
579
  /**
580
580
  * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
581
581
  * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
582
582
  */
583
- c.startsWith(Mr) && (f = c.slice(1), g = !0)
583
+ u.startsWith(Mr) && (f = u.slice(1), g = !0)
584
584
  );
585
585
  const v = d && d > l ? d - l : void 0;
586
586
  return To(i, g, f, v);
@@ -624,25 +624,25 @@ const _s = (e, t) => {
624
624
  } = t, a = [], s = e.trim().split(Zs);
625
625
  let l = "";
626
626
  for (let d = s.length - 1; d >= 0; d -= 1) {
627
- const u = s[d], {
628
- isExternal: c,
627
+ const c = s[d], {
628
+ isExternal: u,
629
629
  modifiers: f,
630
630
  hasImportantModifier: g,
631
631
  baseClassName: v,
632
632
  maybePostfixModifierPosition: p
633
- } = n(u);
634
- if (c) {
635
- l = u + (l.length > 0 ? " " + l : l);
633
+ } = n(c);
634
+ if (u) {
635
+ l = c + (l.length > 0 ? " " + l : l);
636
636
  continue;
637
637
  }
638
638
  let b = !!p, N = r(b ? v.substring(0, p) : v);
639
639
  if (!N) {
640
640
  if (!b) {
641
- l = u + (l.length > 0 ? " " + l : l);
641
+ l = c + (l.length > 0 ? " " + l : l);
642
642
  continue;
643
643
  }
644
644
  if (N = r(v), !N) {
645
- l = u + (l.length > 0 ? " " + l : l);
645
+ l = c + (l.length > 0 ? " " + l : l);
646
646
  continue;
647
647
  }
648
648
  b = !1;
@@ -656,7 +656,7 @@ const _s = (e, t) => {
656
656
  const T = V[U];
657
657
  a.push(I + T);
658
658
  }
659
- l = u + (l.length > 0 ? " " + l : l);
659
+ l = c + (l.length > 0 ? " " + l : l);
660
660
  }
661
661
  return l;
662
662
  }, el = (...e) => {
@@ -674,32 +674,32 @@ const _s = (e, t) => {
674
674
  }, tl = (e, ...t) => {
675
675
  let n, r, o, i;
676
676
  const a = (l) => {
677
- const d = t.reduce((u, c) => c(u), e());
677
+ const d = t.reduce((c, u) => u(c), e());
678
678
  return n = Js(d), r = n.cache.get, o = n.cache.set, i = s, s(l);
679
679
  }, s = (l) => {
680
680
  const d = r(l);
681
681
  if (d)
682
682
  return d;
683
- const u = Qs(l, n);
684
- return o(l, u), u;
683
+ const c = Qs(l, n);
684
+ return o(l, c), c;
685
685
  };
686
686
  return i = a, (...l) => i(el(...l));
687
687
  }, nl = [], ke = (e) => {
688
688
  const t = (n) => n[e] || nl;
689
689
  return t.isThemeGetter = !0, t;
690
- }, Wi = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Hi = /^\((?:(\w[\w-]*):)?(.+)\)$/i, rl = /^\d+\/\d+$/, ol = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, il = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, al = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, sl = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ll = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, jt = (e) => rl.test(e), ne = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => !!e && Number.isInteger(Number(e)), mr = (e) => e.endsWith("%") && ne(e.slice(0, -1)), pt = (e) => ol.test(e), dl = () => !0, ul = (e) => (
690
+ }, Wi = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Hi = /^\((?:(\w[\w-]*):)?(.+)\)$/i, rl = /^\d+\/\d+$/, ol = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, il = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, al = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, sl = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ll = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, jt = (e) => rl.test(e), ne = (e) => !!e && !Number.isNaN(Number(e)), Ct = (e) => !!e && Number.isInteger(Number(e)), mr = (e) => e.endsWith("%") && ne(e.slice(0, -1)), pt = (e) => ol.test(e), dl = () => !0, cl = (e) => (
691
691
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
692
692
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
693
693
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
694
694
  il.test(e) && !al.test(e)
695
- ), Yi = () => !1, cl = (e) => sl.test(e), fl = (e) => ll.test(e), gl = (e) => !M(e) && !L(e), hl = (e) => Wt(e, qi, Yi), M = (e) => Wi.test(e), Ot = (e) => Wt(e, Ji, ul), pr = (e) => Wt(e, vl, ne), Ro = (e) => Wt(e, Ki, Yi), $l = (e) => Wt(e, Xi, fl), Un = (e) => Wt(e, Zi, cl), L = (e) => Hi.test(e), nn = (e) => Ht(e, Ji), ml = (e) => Ht(e, yl), ko = (e) => Ht(e, Ki), pl = (e) => Ht(e, qi), bl = (e) => Ht(e, Xi), Bn = (e) => Ht(e, Zi, !0), Wt = (e, t, n) => {
695
+ ), Yi = () => !1, ul = (e) => sl.test(e), fl = (e) => ll.test(e), gl = (e) => !M(e) && !L(e), hl = (e) => Wt(e, qi, Yi), M = (e) => Wi.test(e), Ot = (e) => Wt(e, Ji, cl), pr = (e) => Wt(e, vl, ne), Ro = (e) => Wt(e, Ki, Yi), $l = (e) => Wt(e, Xi, fl), Un = (e) => Wt(e, Zi, ul), L = (e) => Hi.test(e), nn = (e) => Ht(e, Ji), ml = (e) => Ht(e, yl), ko = (e) => Ht(e, Ki), pl = (e) => Ht(e, qi), bl = (e) => Ht(e, Xi), Bn = (e) => Ht(e, Zi, !0), Wt = (e, t, n) => {
696
696
  const r = Wi.exec(e);
697
697
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
698
698
  }, Ht = (e, t, n = !1) => {
699
699
  const r = Hi.exec(e);
700
700
  return r ? r[1] ? t(r[1]) : n : !1;
701
701
  }, Ki = (e) => e === "position" || e === "percentage", Xi = (e) => e === "image" || e === "url", qi = (e) => e === "length" || e === "size" || e === "bg-size", Ji = (e) => e === "length", vl = (e) => e === "number", yl = (e) => e === "family-name", Zi = (e) => e === "shadow", xl = () => {
702
- const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), i = ke("leading"), a = ke("breakpoint"), s = ke("container"), l = ke("spacing"), d = ke("radius"), u = ke("shadow"), c = ke("inset-shadow"), f = ke("text-shadow"), g = ke("drop-shadow"), v = ke("blur"), p = ke("perspective"), b = ke("aspect"), N = ke("ease"), S = ke("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
702
+ const e = ke("color"), t = ke("font"), n = ke("text"), r = ke("font-weight"), o = ke("tracking"), i = ke("leading"), a = ke("breakpoint"), s = ke("container"), l = ke("spacing"), d = ke("radius"), c = ke("shadow"), u = ke("inset-shadow"), f = ke("text-shadow"), g = ke("drop-shadow"), v = ke("blur"), p = ke("perspective"), b = ke("aspect"), N = ke("ease"), S = ke("animate"), I = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
703
703
  "center",
704
704
  "top",
705
705
  "bottom",
@@ -719,7 +719,7 @@ const _s = (e, t) => {
719
719
  "left-bottom"
720
720
  ], V = () => [...A(), L, M], U = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], y = () => [L, M, l], D = () => [jt, "full", "auto", ...y()], Y = () => [Ct, "none", "subgrid", L, M], K = () => ["auto", {
721
721
  span: ["full", Ct, L, M]
722
- }, Ct, L, M], W = () => [Ct, "auto", L, M], se = () => ["auto", "min", "max", "fr", L, M], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Q = () => ["auto", ...y()], J = () => [jt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], x = () => [e, L, M], H = () => [...A(), ko, Ro, {
722
+ }, Ct, L, M], W = () => [Ct, "auto", L, M], de = () => ["auto", "min", "max", "fr", L, M], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], pe = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Q = () => ["auto", ...y()], J = () => [jt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], x = () => [e, L, M], H = () => [...A(), ko, Ro, {
723
723
  position: [L, M]
724
724
  }], ge = () => ["no-repeat", {
725
725
  repeat: ["", "x", "y", "space", "round"]
@@ -1108,14 +1108,14 @@ const _s = (e, t) => {
1108
1108
  * @see https://tailwindcss.com/docs/grid-auto-columns
1109
1109
  */
1110
1110
  "auto-cols": [{
1111
- "auto-cols": se()
1111
+ "auto-cols": de()
1112
1112
  }],
1113
1113
  /**
1114
1114
  * Grid Auto Rows
1115
1115
  * @see https://tailwindcss.com/docs/grid-auto-rows
1116
1116
  */
1117
1117
  "auto-rows": [{
1118
- "auto-rows": se()
1118
+ "auto-rows": de()
1119
1119
  }],
1120
1120
  /**
1121
1121
  * Gap
@@ -2089,7 +2089,7 @@ const _s = (e, t) => {
2089
2089
  // Deprecated since Tailwind CSS v4.0.0
2090
2090
  "",
2091
2091
  "none",
2092
- u,
2092
+ c,
2093
2093
  Bn,
2094
2094
  Un
2095
2095
  ]
@@ -2106,7 +2106,7 @@ const _s = (e, t) => {
2106
2106
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2107
2107
  */
2108
2108
  "inset-shadow": [{
2109
- "inset-shadow": ["none", c, Bn, Un]
2109
+ "inset-shadow": ["none", u, Bn, Un]
2110
2110
  }],
2111
2111
  /**
2112
2112
  * Inset Box Shadow Color
@@ -3226,12 +3226,12 @@ const Cl = /* @__PURE__ */ new Set([
3226
3226
  return r.forEach((s, l) => {
3227
3227
  if (o && s.startOffset >= t.length)
3228
3228
  return;
3229
- const d = s.startOffset, u = Math.min(s.endOffset, t.length);
3230
- if (d > a && i.push(t.substring(a, d)), u > d) {
3231
- const c = t.substring(d, u);
3232
- i.push(/* @__PURE__ */ m.jsx("strong", { children: c }, l));
3229
+ const d = s.startOffset, c = Math.min(s.endOffset, t.length);
3230
+ if (d > a && i.push(t.substring(a, d)), c > d) {
3231
+ const u = t.substring(d, c);
3232
+ i.push(/* @__PURE__ */ m.jsx("strong", { children: u }, l));
3233
3233
  }
3234
- a = Math.max(a, u);
3234
+ a = Math.max(a, c);
3235
3235
  }), a < t.length && i.push(t.substring(a)), i.length === 0 ? /* @__PURE__ */ m.jsx(m.Fragment, { children: t }) : /* @__PURE__ */ m.jsx(m.Fragment, { children: i });
3236
3236
  }, Sl = (e, t) => !e.types || e.types.length === 0 || !t || t.size === 0 ? !0 : e.types.some((n) => t.has(n)), Pl = (e, t) => e.placeId || `${e.text?.text ?? "prediction"}-${t}`, El = (e) => {
3237
3237
  const t = /* @__PURE__ */ new Map();
@@ -3253,17 +3253,17 @@ const Cl = /* @__PURE__ */ new Set([
3253
3253
  className: s,
3254
3254
  autofillShimName: l,
3255
3255
  googleMapsApiKey: d,
3256
- locationRestriction: u,
3257
- allowedTypes: c
3256
+ locationRestriction: c,
3257
+ allowedTypes: u
3258
3258
  }) => {
3259
3259
  const [f, g] = $e(r ?? ""), [v, p] = $e([]), [b, N] = $e(!1), [S, I] = $e(-1), A = X(null), V = X(null), U = X(!1), T = X(!1), y = X(null), D = X([]), Y = X("smooth"), K = As("places", d), W = me(() => {
3260
- if (!c)
3260
+ if (!u)
3261
3261
  return Cl;
3262
3262
  const x = /* @__PURE__ */ new Set();
3263
- for (const H of c)
3263
+ for (const H of u)
3264
3264
  x.add(H);
3265
3265
  return x;
3266
- }, [c]);
3266
+ }, [u]);
3267
3267
  Z(() => {
3268
3268
  g(r ?? ""), T.current = !1;
3269
3269
  }, [r]), Z(() => {
@@ -3289,7 +3289,7 @@ const Cl = /* @__PURE__ */ new Set([
3289
3289
  const P = {
3290
3290
  input: f,
3291
3291
  sessionToken: y.current ?? void 0,
3292
- locationRestriction: u,
3292
+ locationRestriction: c,
3293
3293
  includedRegionCodes: ["fr"]
3294
3294
  };
3295
3295
  h.fetchAutocompleteSuggestions(P).then(($) => {
@@ -3308,7 +3308,7 @@ const Cl = /* @__PURE__ */ new Set([
3308
3308
  return () => {
3309
3309
  x = !1, clearTimeout(H);
3310
3310
  };
3311
- }, [f, K, o, r, u, W]), Z(() => {
3311
+ }, [f, K, o, r, c, W]), Z(() => {
3312
3312
  const x = (H) => {
3313
3313
  A.current && !A.current.contains(H.target) && V.current && !V.current.contains(H.target) && N(!1);
3314
3314
  };
@@ -3316,7 +3316,7 @@ const Cl = /* @__PURE__ */ new Set([
3316
3316
  document.removeEventListener("mousedown", x);
3317
3317
  };
3318
3318
  }, []);
3319
- const se = (x) => {
3319
+ const de = (x) => {
3320
3320
  U.current = !0;
3321
3321
  const H = to(x);
3322
3322
  g(H), o(H), p([]), N(!1), y.current = null;
@@ -3327,7 +3327,7 @@ const Cl = /* @__PURE__ */ new Set([
3327
3327
  x.key === "Enter" && (x.preventDefault(), o(f), N(!1), y.current = null);
3328
3328
  return;
3329
3329
  }
3330
- x.key === "ArrowDown" ? (Y.current = x.repeat ? "auto" : "smooth", x.preventDefault(), I((H) => v.length === 0 ? -1 : H < 0 ? 0 : (H + 1) % v.length)) : x.key === "ArrowUp" ? (Y.current = x.repeat ? "auto" : "smooth", x.preventDefault(), I((H) => v.length === 0 ? -1 : H <= 0 ? v.length - 1 : (H - 1) % v.length)) : x.key === "Enter" ? (x.preventDefault(), S > -1 && v[S] ? se(v[S]) : (o(f), N(!1), y.current = null)) : x.key === "Escape" && N(!1);
3330
+ x.key === "ArrowDown" ? (Y.current = x.repeat ? "auto" : "smooth", x.preventDefault(), I((H) => v.length === 0 ? -1 : H < 0 ? 0 : (H + 1) % v.length)) : x.key === "ArrowUp" ? (Y.current = x.repeat ? "auto" : "smooth", x.preventDefault(), I((H) => v.length === 0 ? -1 : H <= 0 ? v.length - 1 : (H - 1) % v.length)) : x.key === "Enter" ? (x.preventDefault(), S > -1 && v[S] ? de(v[S]) : (o(f), N(!1), y.current = null)) : x.key === "Escape" && N(!1);
3331
3331
  }, Q = () => {
3332
3332
  N(!1), r !== f && o(f), y.current = null;
3333
3333
  }, J = l ?? (a ? `${a}_shim` : void 0);
@@ -3398,7 +3398,7 @@ const Cl = /* @__PURE__ */ new Set([
3398
3398
  ),
3399
3399
  role: "option",
3400
3400
  onMouseDown: (ge) => {
3401
- ge.preventDefault(), se(x);
3401
+ ge.preventDefault(), de(x);
3402
3402
  },
3403
3403
  children: /* @__PURE__ */ m.jsx(Nl, { prediction: x })
3404
3404
  },
@@ -3551,7 +3551,7 @@ const _l = C.forwardRef(({ className: e, children: t, showCloseButton: n = !0, s
3551
3551
  r ? "-top-3 -right-3 z-[51] rounded-full border bg-background p-1 opacity-100 hover:bg-accent [&_svg]:size-5" : "top-4 right-4 rounded-xs opacity-70 hover:opacity-100 data-[state=open]:bg-accent data-[state=open]:text-muted-foreground [&_svg:not([class*='size-'])]:size-4"
3552
3552
  ),
3553
3553
  children: [
3554
- /* @__PURE__ */ m.jsx(cs, {}),
3554
+ /* @__PURE__ */ m.jsx(us, {}),
3555
3555
  /* @__PURE__ */ m.jsx("span", { className: "sr-only", children: "Close" })
3556
3556
  ]
3557
3557
  }
@@ -3636,26 +3636,26 @@ var Fl = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D",
3636
3636
  }, Bl = (e, t, n, r) => {
3637
3637
  Ll(e), r = r | 1;
3638
3638
  let o = on(e[0]), i = Math.floor(o / 9) + 1, a = o % 9 + 1, s = (on(e[1]) + 1) / 166, l = new Array(a * i);
3639
- for (let c = 0; c < l.length; c++) if (c === 0) {
3639
+ for (let u = 0; u < l.length; u++) if (u === 0) {
3640
3640
  let f = on(e.substring(2, 6));
3641
- l[c] = jl(f);
3641
+ l[u] = jl(f);
3642
3642
  } else {
3643
- let f = on(e.substring(4 + c * 2, 6 + c * 2));
3644
- l[c] = Ul(f, s * r);
3643
+ let f = on(e.substring(4 + u * 2, 6 + u * 2));
3644
+ l[u] = Ul(f, s * r);
3645
3645
  }
3646
- let d = t * 4, u = new Uint8ClampedArray(d * n);
3647
- for (let c = 0; c < n; c++) for (let f = 0; f < t; f++) {
3646
+ let d = t * 4, c = new Uint8ClampedArray(d * n);
3647
+ for (let u = 0; u < n; u++) for (let f = 0; f < t; f++) {
3648
3648
  let g = 0, v = 0, p = 0;
3649
3649
  for (let I = 0; I < i; I++) for (let A = 0; A < a; A++) {
3650
- let V = Math.cos(Math.PI * f * A / t) * Math.cos(Math.PI * c * I / n), U = l[A + I * a];
3650
+ let V = Math.cos(Math.PI * f * A / t) * Math.cos(Math.PI * u * I / n), U = l[A + I * a];
3651
3651
  g += U[0] * V, v += U[1] * V, p += U[2] * V;
3652
3652
  }
3653
3653
  let b = vr(g), N = vr(v), S = vr(p);
3654
- u[4 * f + 0 + c * d] = b, u[4 * f + 1 + c * d] = N, u[4 * f + 2 + c * d] = S, u[4 * f + 3 + c * d] = 255;
3654
+ c[4 * f + 0 + u * d] = b, c[4 * f + 1 + u * d] = N, c[4 * f + 2 + u * d] = S, c[4 * f + 3 + u * d] = 255;
3655
3655
  }
3656
- return u;
3656
+ return c;
3657
3657
  }, Gl = Bl;
3658
- const u2 = ({
3658
+ const c2 = ({
3659
3659
  src: e,
3660
3660
  hash: t,
3661
3661
  alt: n = "",
@@ -3664,12 +3664,12 @@ const u2 = ({
3664
3664
  const [o, i] = $e(!1), [a, s] = $e(null), l = X(null);
3665
3665
  Z(() => {
3666
3666
  if (!t) return;
3667
- const [c, f, g] = t, v = Gl(g, c, f), p = document.createElement("canvas"), b = p.getContext("2d");
3667
+ const [u, f, g] = t, v = Gl(g, u, f), p = document.createElement("canvas"), b = p.getContext("2d");
3668
3668
  if (b) {
3669
- p.width = c, p.height = f;
3669
+ p.width = u, p.height = f;
3670
3670
  const N = new ImageData(
3671
3671
  new Uint8ClampedArray(v),
3672
- c,
3672
+ u,
3673
3673
  f
3674
3674
  );
3675
3675
  b.putImageData(N, 0, 0), s(p.toDataURL());
@@ -3678,7 +3678,7 @@ const u2 = ({
3678
3678
  l.current && l.current.complete && i(!0);
3679
3679
  }, [e]);
3680
3680
  const d = () => {
3681
- }, u = () => {
3681
+ }, c = () => {
3682
3682
  };
3683
3683
  return /* @__PURE__ */ m.jsxs(
3684
3684
  "div",
@@ -3686,7 +3686,7 @@ const u2 = ({
3686
3686
  style: { position: "relative", overflow: "hidden" },
3687
3687
  className: r,
3688
3688
  onMouseEnter: d,
3689
- onMouseLeave: u,
3689
+ onMouseLeave: c,
3690
3690
  children: [
3691
3691
  a && !o && /* @__PURE__ */ m.jsx(
3692
3692
  "img",
@@ -3720,7 +3720,7 @@ const u2 = ({
3720
3720
  onLoad: () => {
3721
3721
  i(!0);
3722
3722
  },
3723
- onError: (c) => console.error("Image failed to load:", e, c)
3723
+ onError: (u) => console.error("Image failed to load:", e, u)
3724
3724
  }
3725
3725
  )
3726
3726
  ]
@@ -3835,8 +3835,8 @@ function ta(e) {
3835
3835
  return r.reduce((i, a) => {
3836
3836
  const s = Object.entries(a);
3837
3837
  for (const [l, d] of s) {
3838
- const u = i[l];
3839
- u != null && (i[l] = u + e * d);
3838
+ const c = i[l];
3839
+ c != null && (i[l] = c + e * d);
3840
3840
  }
3841
3841
  return i;
3842
3842
  }, {
@@ -3844,7 +3844,7 @@ function ta(e) {
3844
3844
  });
3845
3845
  };
3846
3846
  }
3847
- const Gt = /* @__PURE__ */ ta(1), un = /* @__PURE__ */ ta(-1);
3847
+ const Gt = /* @__PURE__ */ ta(1), cn = /* @__PURE__ */ ta(-1);
3848
3848
  function Wl(e) {
3849
3849
  return "clientX" in e && "clientY" in e;
3850
3850
  }
@@ -4054,49 +4054,49 @@ function nd(e) {
4054
4054
  if (Z(() => {
4055
4055
  d(!0);
4056
4056
  }, []), Zl(me(() => ({
4057
- onDragStart(c) {
4057
+ onDragStart(u) {
4058
4058
  let {
4059
4059
  active: f
4060
- } = c;
4060
+ } = u;
4061
4061
  i(t.onDragStart({
4062
4062
  active: f
4063
4063
  }));
4064
4064
  },
4065
- onDragMove(c) {
4065
+ onDragMove(u) {
4066
4066
  let {
4067
4067
  active: f,
4068
4068
  over: g
4069
- } = c;
4069
+ } = u;
4070
4070
  t.onDragMove && i(t.onDragMove({
4071
4071
  active: f,
4072
4072
  over: g
4073
4073
  }));
4074
4074
  },
4075
- onDragOver(c) {
4075
+ onDragOver(u) {
4076
4076
  let {
4077
4077
  active: f,
4078
4078
  over: g
4079
- } = c;
4079
+ } = u;
4080
4080
  i(t.onDragOver({
4081
4081
  active: f,
4082
4082
  over: g
4083
4083
  }));
4084
4084
  },
4085
- onDragEnd(c) {
4085
+ onDragEnd(u) {
4086
4086
  let {
4087
4087
  active: f,
4088
4088
  over: g
4089
- } = c;
4089
+ } = u;
4090
4090
  i(t.onDragEnd({
4091
4091
  active: f,
4092
4092
  over: g
4093
4093
  }));
4094
4094
  },
4095
- onDragCancel(c) {
4095
+ onDragCancel(u) {
4096
4096
  let {
4097
4097
  active: f,
4098
4098
  over: g
4099
- } = c;
4099
+ } = u;
4100
4100
  i(t.onDragCancel({
4101
4101
  active: f,
4102
4102
  over: g
@@ -4104,14 +4104,14 @@ function nd(e) {
4104
4104
  }
4105
4105
  }), [i, t])), !l)
4106
4106
  return null;
4107
- const u = Ce.createElement(Ce.Fragment, null, Ce.createElement(Xl, {
4107
+ const c = Ce.createElement(Ce.Fragment, null, Ce.createElement(Xl, {
4108
4108
  id: r,
4109
4109
  value: o.draggable
4110
4110
  }), Ce.createElement(ql, {
4111
4111
  id: s,
4112
4112
  announcement: a
4113
4113
  }));
4114
- return n ? Mi(u, n) : u;
4114
+ return n ? Mi(c, n) : c;
4115
4115
  }
4116
4116
  var Oe;
4117
4117
  (function(e) {
@@ -4247,12 +4247,12 @@ const ad = (e) => {
4247
4247
  id: s
4248
4248
  } = a, l = n.get(s);
4249
4249
  if (l) {
4250
- const d = Fo(l), u = o.reduce((f, g, v) => f + ra(d[v], g), 0), c = Number((u / 4).toFixed(4));
4250
+ const d = Fo(l), c = o.reduce((f, g, v) => f + ra(d[v], g), 0), u = Number((c / 4).toFixed(4));
4251
4251
  i.push({
4252
4252
  id: s,
4253
4253
  data: {
4254
4254
  droppableContainer: a,
4255
- value: c
4255
+ value: u
4256
4256
  }
4257
4257
  });
4258
4258
  }
@@ -4262,8 +4262,8 @@ const ad = (e) => {
4262
4262
  function ld(e, t) {
4263
4263
  const n = Math.max(t.top, e.top), r = Math.max(t.left, e.left), o = Math.min(t.left + t.width, e.left + e.width), i = Math.min(t.top + t.height, e.top + e.height), a = o - r, s = i - n;
4264
4264
  if (r < o && n < i) {
4265
- const l = t.width * t.height, d = e.width * e.height, u = a * s, c = u / (l + d - u);
4266
- return Number(c.toFixed(4));
4265
+ const l = t.width * t.height, d = e.width * e.height, c = a * s, u = c / (l + d - c);
4266
+ return Number(u.toFixed(4));
4267
4267
  }
4268
4268
  return 0;
4269
4269
  }
@@ -4291,7 +4291,7 @@ const dd = (e) => {
4291
4291
  }
4292
4292
  return o.sort(id);
4293
4293
  };
4294
- function ud(e, t, n) {
4294
+ function cd(e, t, n) {
4295
4295
  return {
4296
4296
  ...e,
4297
4297
  scaleX: t && n ? t.width / n.width : 1,
@@ -4304,7 +4304,7 @@ function aa(e, t) {
4304
4304
  y: e.top - t.top
4305
4305
  } : lt;
4306
4306
  }
4307
- function cd(e) {
4307
+ function ud(e) {
4308
4308
  return function(n) {
4309
4309
  for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
4310
4310
  o[i - 1] = arguments[i];
@@ -4319,7 +4319,7 @@ function cd(e) {
4319
4319
  });
4320
4320
  };
4321
4321
  }
4322
- const fd = /* @__PURE__ */ cd(1);
4322
+ const fd = /* @__PURE__ */ ud(1);
4323
4323
  function sa(e) {
4324
4324
  if (e.startsWith("matrix3d(")) {
4325
4325
  const t = e.slice(9, -1).split(/, /);
@@ -4349,13 +4349,13 @@ function gd(e, t, n) {
4349
4349
  scaleY: i,
4350
4350
  x: a,
4351
4351
  y: s
4352
- } = r, l = e.left - a - (1 - o) * parseFloat(n), d = e.top - s - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), u = o ? e.width / o : e.width, c = i ? e.height / i : e.height;
4352
+ } = r, l = e.left - a - (1 - o) * parseFloat(n), d = e.top - s - (1 - i) * parseFloat(n.slice(n.indexOf(" ") + 1)), c = o ? e.width / o : e.width, u = i ? e.height / i : e.height;
4353
4353
  return {
4354
- width: u,
4355
- height: c,
4354
+ width: c,
4355
+ height: u,
4356
4356
  top: d,
4357
- right: l + u,
4358
- bottom: d + c,
4357
+ right: l + c,
4358
+ bottom: d + u,
4359
4359
  left: l
4360
4360
  };
4361
4361
  }
@@ -4368,9 +4368,9 @@ function Xt(e, t) {
4368
4368
  if (t.ignoreTransform) {
4369
4369
  const {
4370
4370
  transform: d,
4371
- transformOrigin: u
4371
+ transformOrigin: c
4372
4372
  } = He(e).getComputedStyle(e);
4373
- d && (n = gd(n, d, u));
4373
+ d && (n = gd(n, d, c));
4374
4374
  }
4375
4375
  const {
4376
4376
  top: r,
@@ -4440,27 +4440,27 @@ function wr(e) {
4440
4440
  function da(e) {
4441
4441
  return Yt(e) ? e.scrollX : e.scrollLeft;
4442
4442
  }
4443
- function ua(e) {
4443
+ function ca(e) {
4444
4444
  return Yt(e) ? e.scrollY : e.scrollTop;
4445
4445
  }
4446
4446
  function Lr(e) {
4447
4447
  return {
4448
4448
  x: da(e),
4449
- y: ua(e)
4449
+ y: ca(e)
4450
4450
  };
4451
4451
  }
4452
4452
  var _e;
4453
4453
  (function(e) {
4454
4454
  e[e.Forward = 1] = "Forward", e[e.Backward = -1] = "Backward";
4455
4455
  })(_e || (_e = {}));
4456
- function ca(e) {
4456
+ function ua(e) {
4457
4457
  return !ir || !e ? !1 : e === document.scrollingElement;
4458
4458
  }
4459
4459
  function fa(e) {
4460
4460
  const t = {
4461
4461
  x: 0,
4462
4462
  y: 0
4463
- }, n = ca(e) ? {
4463
+ }, n = ua(e) ? {
4464
4464
  height: window.innerHeight,
4465
4465
  width: window.innerWidth
4466
4466
  } : {
@@ -4493,8 +4493,8 @@ function vd(e, t, n, r, o) {
4493
4493
  r === void 0 && (r = 10), o === void 0 && (o = bd);
4494
4494
  const {
4495
4495
  isTop: d,
4496
- isBottom: u,
4497
- isLeft: c,
4496
+ isBottom: c,
4497
+ isLeft: u,
4498
4498
  isRight: f
4499
4499
  } = fa(e), g = {
4500
4500
  x: 0,
@@ -4506,7 +4506,7 @@ function vd(e, t, n, r, o) {
4506
4506
  height: t.height * o.y,
4507
4507
  width: t.width * o.x
4508
4508
  };
4509
- return !d && i <= t.top + p.height ? (g.y = _e.Backward, v.y = r * Math.abs((t.top + p.height - i) / p.height)) : !u && l >= t.bottom - p.height && (g.y = _e.Forward, v.y = r * Math.abs((t.bottom - p.height - l) / p.height)), !f && s >= t.right - p.width ? (g.x = _e.Forward, v.x = r * Math.abs((t.right - p.width - s) / p.width)) : !c && a <= t.left + p.width && (g.x = _e.Backward, v.x = r * Math.abs((t.left + p.width - a) / p.width)), {
4509
+ return !d && i <= t.top + p.height ? (g.y = _e.Backward, v.y = r * Math.abs((t.top + p.height - i) / p.height)) : !c && l >= t.bottom - p.height && (g.y = _e.Forward, v.y = r * Math.abs((t.bottom - p.height - l) / p.height)), !f && s >= t.right - p.width ? (g.x = _e.Forward, v.x = r * Math.abs((t.right - p.width - s) / p.width)) : !u && a <= t.left + p.width && (g.x = _e.Backward, v.x = r * Math.abs((t.left + p.width - a) / p.width)), {
4510
4510
  direction: g,
4511
4511
  speed: v
4512
4512
  };
@@ -4548,7 +4548,7 @@ function xd(e) {
4548
4548
  return e.reduce((t, n) => t + da(n), 0);
4549
4549
  }
4550
4550
  function wd(e) {
4551
- return e.reduce((t, n) => t + ua(n), 0);
4551
+ return e.reduce((t, n) => t + ca(n), 0);
4552
4552
  }
4553
4553
  function ha(e, t) {
4554
4554
  if (t === void 0 && (t = Xt), !e)
@@ -4576,8 +4576,8 @@ class oo {
4576
4576
  for (const l of a)
4577
4577
  Object.defineProperty(this, l, {
4578
4578
  get: () => {
4579
- const d = s(r), u = o[i] - d;
4580
- return this.rect[l] + u;
4579
+ const d = s(r), c = o[i] - d;
4580
+ return this.rect[l] + c;
4581
4581
  },
4582
4582
  enumerable: !0
4583
4583
  });
@@ -4698,18 +4698,18 @@ class io {
4698
4698
  }
4699
4699
  const {
4700
4700
  collisionRect: d
4701
- } = r.current, u = d ? {
4701
+ } = r.current, c = d ? {
4702
4702
  x: d.left,
4703
4703
  y: d.top
4704
4704
  } : lt;
4705
- this.referenceCoordinates || (this.referenceCoordinates = u);
4706
- const c = a(t, {
4705
+ this.referenceCoordinates || (this.referenceCoordinates = c);
4706
+ const u = a(t, {
4707
4707
  active: n,
4708
4708
  context: r.current,
4709
- currentCoordinates: u
4709
+ currentCoordinates: c
4710
4710
  });
4711
- if (c) {
4712
- const f = un(c, u), g = {
4711
+ if (u) {
4712
+ const f = cn(u, c), g = {
4713
4713
  x: 0,
4714
4714
  y: 0
4715
4715
  }, {
@@ -4724,10 +4724,10 @@ class io {
4724
4724
  maxScroll: V,
4725
4725
  minScroll: U
4726
4726
  } = fa(p), T = yd(p), y = {
4727
- x: Math.min(b === oe.Right ? T.right - T.width / 2 : T.right, Math.max(b === oe.Right ? T.left : T.left + T.width / 2, c.x)),
4728
- y: Math.min(b === oe.Down ? T.bottom - T.height / 2 : T.bottom, Math.max(b === oe.Down ? T.top : T.top + T.height / 2, c.y))
4727
+ x: Math.min(b === oe.Right ? T.right - T.width / 2 : T.right, Math.max(b === oe.Right ? T.left : T.left + T.width / 2, u.x)),
4728
+ y: Math.min(b === oe.Down ? T.bottom - T.height / 2 : T.bottom, Math.max(b === oe.Down ? T.top : T.top + T.height / 2, u.y))
4729
4729
  }, D = b === oe.Right && !S || b === oe.Left && !I, Y = b === oe.Down && !A || b === oe.Up && !N;
4730
- if (D && y.x !== c.x) {
4730
+ if (D && y.x !== u.x) {
4731
4731
  const K = p.scrollLeft + f.x, W = b === oe.Right && K <= V.x || b === oe.Left && K >= U.x;
4732
4732
  if (W && !f.y) {
4733
4733
  p.scrollTo({
@@ -4741,7 +4741,7 @@ class io {
4741
4741
  behavior: s
4742
4742
  });
4743
4743
  break;
4744
- } else if (Y && y.y !== c.y) {
4744
+ } else if (Y && y.y !== u.y) {
4745
4745
  const K = p.scrollTop + f.y, W = b === oe.Down && K <= V.y || b === oe.Up && K >= U.y;
4746
4746
  if (W && !f.x) {
4747
4747
  p.scrollTo({
@@ -4757,7 +4757,7 @@ class io {
4757
4757
  break;
4758
4758
  }
4759
4759
  }
4760
- this.handleMove(t, Gt(un(c, this.referenceCoordinates), g));
4760
+ this.handleMove(t, Gt(cn(u, this.referenceCoordinates), g));
4761
4761
  }
4762
4762
  }
4763
4763
  }
@@ -4885,7 +4885,7 @@ class ao {
4885
4885
  } = i;
4886
4886
  if (!o)
4887
4887
  return;
4888
- const l = (n = Zn(t)) != null ? n : lt, d = un(o, l);
4888
+ const l = (n = Zn(t)) != null ? n : lt, d = cn(o, l);
4889
4889
  if (!r && s) {
4890
4890
  if (Uo(s)) {
4891
4891
  if (s.tolerance != null && Cr(d, s.tolerance))
@@ -5045,12 +5045,12 @@ function Rd(e) {
5045
5045
  order: s = er.TreeOrder,
5046
5046
  pointerCoordinates: l,
5047
5047
  scrollableAncestors: d,
5048
- scrollableAncestorRects: u,
5049
- delta: c,
5048
+ scrollableAncestorRects: c,
5049
+ delta: u,
5050
5050
  threshold: f
5051
5051
  } = e;
5052
5052
  const g = Dd({
5053
- delta: c,
5053
+ delta: u,
5054
5054
  disabled: !i
5055
5055
  }), [v, p] = Vl(), b = X({
5056
5056
  x: 0,
@@ -5086,7 +5086,7 @@ function Rd(e) {
5086
5086
  for (const U of V) {
5087
5087
  if (r?.(U) === !1)
5088
5088
  continue;
5089
- const T = d.indexOf(U), y = u[T];
5089
+ const T = d.indexOf(U), y = c[T];
5090
5090
  if (!y)
5091
5091
  continue;
5092
5092
  const {
@@ -5123,7 +5123,7 @@ function Rd(e) {
5123
5123
  v,
5124
5124
  d,
5125
5125
  V,
5126
- u,
5126
+ c,
5127
5127
  // eslint-disable-next-line react-hooks/exhaustive-deps
5128
5128
  JSON.stringify(f)
5129
5129
  ]
@@ -5182,10 +5182,10 @@ function _d(e, t) {
5182
5182
  return [...n, ...i];
5183
5183
  }, []), [e, t]);
5184
5184
  }
5185
- var cn;
5185
+ var un;
5186
5186
  (function(e) {
5187
5187
  e[e.Always = 0] = "Always", e[e.BeforeDragging = 1] = "BeforeDragging", e[e.WhileDragging = 2] = "WhileDragging";
5188
- })(cn || (cn = {}));
5188
+ })(un || (un = {}));
5189
5189
  var Ur;
5190
5190
  (function(e) {
5191
5191
  e.Optimized = "optimized";
@@ -5201,12 +5201,12 @@ function Fd(e, t) {
5201
5201
  frequency: s,
5202
5202
  measure: l,
5203
5203
  strategy: d
5204
- } = o, u = X(e), c = b(), f = dn(c), g = je(function(N) {
5204
+ } = o, c = X(e), u = b(), f = dn(u), g = je(function(N) {
5205
5205
  N === void 0 && (N = []), !f.current && a((S) => S === null ? N : S.concat(N.filter((I) => !S.includes(I))));
5206
5206
  }, [f]), v = X(null), p = En((N) => {
5207
- if (c && !n)
5207
+ if (u && !n)
5208
5208
  return Go;
5209
- if (!N || N === Go || u.current !== e || i != null) {
5209
+ if (!N || N === Go || c.current !== e || i != null) {
5210
5210
  const S = /* @__PURE__ */ new Map();
5211
5211
  for (let I of e) {
5212
5212
  if (!I)
@@ -5221,15 +5221,15 @@ function Fd(e, t) {
5221
5221
  return S;
5222
5222
  }
5223
5223
  return N;
5224
- }, [e, i, n, c, l]);
5224
+ }, [e, i, n, u, l]);
5225
5225
  return Z(() => {
5226
- u.current = e;
5226
+ c.current = e;
5227
5227
  }, [e]), Z(
5228
5228
  () => {
5229
- c || g();
5229
+ u || g();
5230
5230
  },
5231
5231
  // eslint-disable-next-line react-hooks/exhaustive-deps
5232
- [n, c]
5232
+ [n, u]
5233
5233
  ), Z(
5234
5234
  () => {
5235
5235
  i && i.length > 0 && a(null);
@@ -5238,12 +5238,12 @@ function Fd(e, t) {
5238
5238
  [JSON.stringify(i)]
5239
5239
  ), Z(
5240
5240
  () => {
5241
- c || typeof s != "number" || v.current !== null || (v.current = setTimeout(() => {
5241
+ u || typeof s != "number" || v.current !== null || (v.current = setTimeout(() => {
5242
5242
  g(), v.current = null;
5243
5243
  }, s));
5244
5244
  },
5245
5245
  // eslint-disable-next-line react-hooks/exhaustive-deps
5246
- [s, c, g, ...r]
5246
+ [s, u, g, ...r]
5247
5247
  ), {
5248
5248
  droppableRects: p,
5249
5249
  measureDroppableContainers: g,
@@ -5251,9 +5251,9 @@ function Fd(e, t) {
5251
5251
  };
5252
5252
  function b() {
5253
5253
  switch (d) {
5254
- case cn.Always:
5254
+ case un.Always:
5255
5255
  return !1;
5256
- case cn.BeforeDragging:
5256
+ case un.BeforeDragging:
5257
5257
  return n;
5258
5258
  default:
5259
5259
  return !n;
@@ -5314,8 +5314,8 @@ function zo(e, t, n) {
5314
5314
  var d;
5315
5315
  return (d = l ?? n) != null ? d : null;
5316
5316
  }
5317
- const u = t(e);
5318
- return JSON.stringify(l) === JSON.stringify(u) ? l : u;
5317
+ const c = t(e);
5318
+ return JSON.stringify(l) === JSON.stringify(c) ? l : c;
5319
5319
  });
5320
5320
  }
5321
5321
  const a = Ld({
@@ -5323,10 +5323,10 @@ function zo(e, t, n) {
5323
5323
  if (e)
5324
5324
  for (const d of l) {
5325
5325
  const {
5326
- type: u,
5327
- target: c
5326
+ type: c,
5327
+ target: u
5328
5328
  } = d;
5329
- if (u === "childList" && c instanceof HTMLElement && c.contains(e)) {
5329
+ if (c === "childList" && u instanceof HTMLElement && u.contains(e)) {
5330
5330
  i();
5331
5331
  break;
5332
5332
  }
@@ -5393,7 +5393,7 @@ function Wo(e, t) {
5393
5393
  ), Z(() => {
5394
5394
  const r = e !== lt;
5395
5395
  r && !n.current && (n.current = e), !r && n.current && (n.current = null);
5396
- }, [e]), n.current ? un(e, n.current) : lt;
5396
+ }, [e]), n.current ? cn(e, n.current) : lt;
5397
5397
  }
5398
5398
  function zd(e) {
5399
5399
  Z(
@@ -5440,7 +5440,7 @@ function Wd(e, t) {
5440
5440
  t === void 0 && (t = Xt);
5441
5441
  const [n] = e, r = ma(n ? He(n) : null), [o, i] = $e(Ho);
5442
5442
  function a() {
5443
- i(() => e.length ? e.map((l) => ca(l) ? r : new oo(t(l), l)) : Ho);
5443
+ i(() => e.length ? e.map((l) => ua(l) ? r : new oo(t(l), l)) : Ho);
5444
5444
  }
5445
5445
  const s = dr({
5446
5446
  callback: a
@@ -5463,13 +5463,13 @@ function Hd(e) {
5463
5463
  } = e;
5464
5464
  const [n, r] = $e(null), o = je((d) => {
5465
5465
  for (const {
5466
- target: u
5466
+ target: c
5467
5467
  } of d)
5468
- if (Pn(u)) {
5469
- r((c) => {
5470
- const f = t(u);
5471
- return c ? {
5472
- ...c,
5468
+ if (Pn(c)) {
5469
+ r((u) => {
5470
+ const f = t(c);
5471
+ return u ? {
5472
+ ...u,
5473
5473
  width: f.width,
5474
5474
  height: f.height
5475
5475
  } : f;
@@ -5479,8 +5479,8 @@ function Hd(e) {
5479
5479
  }, [t]), i = dr({
5480
5480
  callback: o
5481
5481
  }), a = je((d) => {
5482
- const u = pa(d);
5483
- i?.disconnect(), u && i?.observe(u), r(u ? t(u) : null);
5482
+ const c = pa(d);
5483
+ i?.disconnect(), c && i?.observe(c), r(c ? t(c) : null);
5484
5484
  }, [t, i]), [s, l] = qn(a);
5485
5485
  return me(() => ({
5486
5486
  nodeRef: s,
@@ -5502,7 +5502,7 @@ const Yd = [{
5502
5502
  },
5503
5503
  droppable: {
5504
5504
  measure: Lo,
5505
- strategy: cn.WhileDragging,
5505
+ strategy: un.WhileDragging,
5506
5506
  frequency: Ur.Optimized
5507
5507
  },
5508
5508
  dragOverlay: {
@@ -5702,12 +5702,12 @@ function Zd(e) {
5702
5702
  if (!l.current && !d.current)
5703
5703
  return;
5704
5704
  requestAnimationFrame(() => {
5705
- for (const u of [l.current, d.current]) {
5706
- if (!u)
5705
+ for (const c of [l.current, d.current]) {
5706
+ if (!c)
5707
5707
  continue;
5708
- const c = Yl(u);
5709
- if (c) {
5710
- c.focus();
5708
+ const u = Yl(c);
5709
+ if (u) {
5710
+ u.focus();
5711
5711
  break;
5712
5712
  }
5713
5713
  }
@@ -5745,7 +5745,7 @@ function Qd(e) {
5745
5745
  [e?.draggable, e?.droppable, e?.dragOverlay]
5746
5746
  );
5747
5747
  }
5748
- function eu(e) {
5748
+ function ec(e) {
5749
5749
  let {
5750
5750
  activeNode: t,
5751
5751
  measure: n,
@@ -5769,17 +5769,17 @@ function eu(e) {
5769
5769
  const d = t?.node.current;
5770
5770
  if (!d || d.isConnected === !1)
5771
5771
  return;
5772
- const u = n(d), c = aa(u, r);
5773
- if (a || (c.x = 0), s || (c.y = 0), i.current = !0, Math.abs(c.x) > 0 || Math.abs(c.y) > 0) {
5772
+ const c = n(d), u = aa(c, r);
5773
+ if (a || (u.x = 0), s || (u.y = 0), i.current = !0, Math.abs(u.x) > 0 || Math.abs(u.y) > 0) {
5774
5774
  const f = la(d);
5775
5775
  f && f.scrollBy({
5776
- top: c.y,
5777
- left: c.x
5776
+ top: u.y,
5777
+ left: u.x
5778
5778
  });
5779
5779
  }
5780
5780
  }, [t, a, s, r, n]);
5781
5781
  }
5782
- const ur = /* @__PURE__ */ Sn({
5782
+ const cr = /* @__PURE__ */ Sn({
5783
5783
  ...lt,
5784
5784
  scaleX: 1,
5785
5785
  scaleY: 1
@@ -5788,15 +5788,15 @@ var Nt;
5788
5788
  (function(e) {
5789
5789
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
5790
5790
  })(Nt || (Nt = {}));
5791
- const tu = /* @__PURE__ */ ss(function(t) {
5791
+ const tc = /* @__PURE__ */ ss(function(t) {
5792
5792
  var n, r, o, i;
5793
5793
  let {
5794
5794
  id: a,
5795
5795
  accessibility: s,
5796
5796
  autoScroll: l = !0,
5797
5797
  children: d,
5798
- sensors: u = Yd,
5799
- collisionDetection: c = dd,
5798
+ sensors: c = Yd,
5799
+ collisionDetection: u = dd,
5800
5800
  measuring: f,
5801
5801
  modifiers: g,
5802
5802
  ...v
@@ -5813,7 +5813,7 @@ const tu = /* @__PURE__ */ ss(function(t) {
5813
5813
  } = b, K = T != null ? y.get(T) : null, W = X({
5814
5814
  initial: null,
5815
5815
  translated: null
5816
- }), se = me(() => {
5816
+ }), de = me(() => {
5817
5817
  var Ee;
5818
5818
  return T != null ? {
5819
5819
  id: T,
@@ -5830,7 +5830,7 @@ const tu = /* @__PURE__ */ ss(function(t) {
5830
5830
  dependencies: [D.x, D.y],
5831
5831
  config: E.droppable
5832
5832
  }), F = Od(y, T), R = me(() => J ? Zn(J) : null, [J]), te = kn(), k = Md(F, E.draggable.measure);
5833
- eu({
5833
+ ec({
5834
5834
  activeNode: T != null ? y.get(T) : null,
5835
5835
  config: te.layoutShiftCompensation,
5836
5836
  initialRect: k,
@@ -5850,9 +5850,9 @@ const tu = /* @__PURE__ */ ss(function(t) {
5850
5850
  over: null,
5851
5851
  scrollableAncestors: [],
5852
5852
  scrollAdjustedTranslate: null
5853
- }), ee = Y.getNodeFor((n = G.current.over) == null ? void 0 : n.id), le = Hd({
5853
+ }), ee = Y.getNodeFor((n = G.current.over) == null ? void 0 : n.id), se = Hd({
5854
5854
  measure: E.dragOverlay.measure
5855
- }), he = (r = le.nodeRef.current) != null ? r : F, ae = U ? (o = le.rect) != null ? o : z : null, Xe = !!(le.nodeRef.current && le.rect), be = Ud(Xe ? null : z), dt = ma(he ? He(he) : null), ve = Bd(U ? ee ?? F : null), qe = Wd(ve), yt = ya(g, {
5855
+ }), he = (r = se.nodeRef.current) != null ? r : F, ae = U ? (o = se.rect) != null ? o : z : null, Xe = !!(se.nodeRef.current && se.rect), be = Ud(Xe ? null : z), dt = ma(he ? He(he) : null), ve = Bd(U ? ee ?? F : null), qe = Wd(ve), yt = ya(g, {
5856
5856
  transform: {
5857
5857
  x: D.x - be.x,
5858
5858
  y: D.y - be.y,
@@ -5860,22 +5860,22 @@ const tu = /* @__PURE__ */ ss(function(t) {
5860
5860
  scaleY: 1
5861
5861
  },
5862
5862
  activatorEvent: J,
5863
- active: se,
5863
+ active: de,
5864
5864
  activeNodeRect: z,
5865
5865
  containerNodeRect: B,
5866
5866
  draggingNodeRect: ae,
5867
5867
  over: G.current.over,
5868
- overlayNodeRect: le.rect,
5868
+ overlayNodeRect: se.rect,
5869
5869
  scrollableAncestors: ve,
5870
5870
  scrollableAncestorRects: qe,
5871
5871
  windowRect: dt
5872
- }), Et = R ? Gt(R, D) : null, It = Gd(ve), At = Wo(It), Tt = Wo(It, [z]), ut = Gt(yt, At), tt = ae ? fd(ae, yt) : null, O = se && tt ? c({
5873
- active: se,
5872
+ }), Et = R ? Gt(R, D) : null, It = Gd(ve), At = Wo(It), Tt = Wo(It, [z]), ct = Gt(yt, At), tt = ae ? fd(ae, yt) : null, O = de && tt ? u({
5873
+ active: de,
5874
5874
  collisionRect: tt,
5875
5875
  droppableRects: P,
5876
5876
  droppableContainers: h,
5877
5877
  pointerCoordinates: Et
5878
- }) : null, ue = ia(O, "id"), [ie, Fe] = $e(null), Se = Xe ? yt : Gt(yt, Tt), ht = ud(Se, (i = ie?.rect) != null ? i : null, z), xt = X(null), Rn = je(
5878
+ }) : null, ce = ia(O, "id"), [ie, Fe] = $e(null), Se = Xe ? yt : Gt(yt, Tt), ht = cd(Se, (i = ie?.rect) != null ? i : null, z), xt = X(null), Rn = je(
5879
5879
  (Ee, Me) => {
5880
5880
  let {
5881
5881
  sensor: Ue,
@@ -6015,8 +6015,8 @@ const tu = /* @__PURE__ */ ss(function(t) {
6015
6015
  Ee(Ue, Me.options, Ke) === !0 && (Be.dndKit = {
6016
6016
  capturedBy: Me.sensor
6017
6017
  }, re.current = Je, Rn(Ue, Me));
6018
- }, [y, Rn]), xe = _d(u, qt);
6019
- zd(u), st(() => {
6018
+ }, [y, Rn]), xe = _d(c, qt);
6019
+ zd(c), st(() => {
6020
6020
  z && A === Nt.Initializing && V(Nt.Initialized);
6021
6021
  }, [z, A]), Z(
6022
6022
  () => {
@@ -6035,8 +6035,8 @@ const tu = /* @__PURE__ */ ss(function(t) {
6035
6035
  activatorEvent: Ue,
6036
6036
  collisions: Je,
6037
6037
  delta: {
6038
- x: ut.x,
6039
- y: ut.y
6038
+ x: ct.x,
6039
+ y: ct.y
6040
6040
  },
6041
6041
  over: Be
6042
6042
  };
@@ -6048,7 +6048,7 @@ const tu = /* @__PURE__ */ ss(function(t) {
6048
6048
  });
6049
6049
  },
6050
6050
  // eslint-disable-next-line react-hooks/exhaustive-deps
6051
- [ut.x, ut.y]
6051
+ [ct.x, ct.y]
6052
6052
  ), Z(
6053
6053
  () => {
6054
6054
  const {
@@ -6062,7 +6062,7 @@ const tu = /* @__PURE__ */ ss(function(t) {
6062
6062
  return;
6063
6063
  const {
6064
6064
  onDragOver: Ge
6065
- } = H.current, Ke = Je.get(ue), $t = Ke && Ke.rect.current ? {
6065
+ } = H.current, Ke = Je.get(ce), $t = Ke && Ke.rect.current ? {
6066
6066
  id: Ke.id,
6067
6067
  rect: Ke.rect.current,
6068
6068
  data: Ke.data,
@@ -6085,11 +6085,11 @@ const tu = /* @__PURE__ */ ss(function(t) {
6085
6085
  });
6086
6086
  },
6087
6087
  // eslint-disable-next-line react-hooks/exhaustive-deps
6088
- [ue]
6088
+ [ce]
6089
6089
  ), st(() => {
6090
6090
  G.current = {
6091
6091
  activatorEvent: J,
6092
- active: se,
6092
+ active: de,
6093
6093
  activeNode: F,
6094
6094
  collisionRect: tt,
6095
6095
  collisions: O,
@@ -6100,12 +6100,12 @@ const tu = /* @__PURE__ */ ss(function(t) {
6100
6100
  droppableContainers: Y,
6101
6101
  over: ie,
6102
6102
  scrollableAncestors: ve,
6103
- scrollAdjustedTranslate: ut
6103
+ scrollAdjustedTranslate: ct
6104
6104
  }, W.current = {
6105
6105
  initial: ae,
6106
6106
  translated: tt
6107
6107
  };
6108
- }, [se, F, O, tt, y, he, ae, P, Y, ie, ve, ut]), Rd({
6108
+ }, [de, F, O, tt, y, he, ae, P, Y, ie, ve, ct]), Rd({
6109
6109
  ...te,
6110
6110
  delta: D,
6111
6111
  draggingRect: tt,
@@ -6113,14 +6113,14 @@ const tu = /* @__PURE__ */ ss(function(t) {
6113
6113
  scrollableAncestors: ve,
6114
6114
  scrollableAncestorRects: qe
6115
6115
  });
6116
- const ct = me(() => ({
6117
- active: se,
6116
+ const ut = me(() => ({
6117
+ active: de,
6118
6118
  activeNode: F,
6119
6119
  activeNodeRect: z,
6120
6120
  activatorEvent: J,
6121
6121
  collisions: O,
6122
6122
  containerNodeRect: B,
6123
- dragOverlay: le,
6123
+ dragOverlay: se,
6124
6124
  draggableNodes: y,
6125
6125
  droppableContainers: Y,
6126
6126
  droppableRects: P,
@@ -6131,10 +6131,10 @@ const tu = /* @__PURE__ */ ss(function(t) {
6131
6131
  measuringConfiguration: E,
6132
6132
  measuringScheduled: _,
6133
6133
  windowRect: dt
6134
- }), [se, F, z, J, O, B, le, y, Y, P, ie, $, ve, qe, E, _, dt]), Ft = me(() => ({
6134
+ }), [de, F, z, J, O, B, se, y, Y, P, ie, $, ve, qe, E, _, dt]), Ft = me(() => ({
6135
6135
  activatorEvent: J,
6136
6136
  activators: xe,
6137
- active: se,
6137
+ active: de,
6138
6138
  activeNodeRect: z,
6139
6139
  ariaDescribedById: {
6140
6140
  draggable: ge
@@ -6143,14 +6143,14 @@ const tu = /* @__PURE__ */ ss(function(t) {
6143
6143
  draggableNodes: y,
6144
6144
  over: ie,
6145
6145
  measureDroppableContainers: $
6146
- }), [J, xe, se, z, N, ge, y, ie, $]);
6146
+ }), [J, xe, de, z, N, ge, y, ie, $]);
6147
6147
  return Ce.createElement(na.Provider, {
6148
6148
  value: I
6149
6149
  }, Ce.createElement(An.Provider, {
6150
6150
  value: Ft
6151
6151
  }, Ce.createElement(va.Provider, {
6152
- value: ct
6153
- }, Ce.createElement(ur.Provider, {
6152
+ value: ut
6153
+ }, Ce.createElement(cr.Provider, {
6154
6154
  value: ht
6155
6155
  }, d)), Ce.createElement(Zd, {
6156
6156
  disabled: s?.restoreFocus === !1
@@ -6167,40 +6167,40 @@ const tu = /* @__PURE__ */ ss(function(t) {
6167
6167
  enabled: Ue
6168
6168
  };
6169
6169
  }
6170
- }), nu = /* @__PURE__ */ Sn(null), Yo = "button", ru = "Draggable";
6171
- function ou(e) {
6170
+ }), nc = /* @__PURE__ */ Sn(null), Yo = "button", rc = "Draggable";
6171
+ function oc(e) {
6172
6172
  let {
6173
6173
  id: t,
6174
6174
  data: n,
6175
6175
  disabled: r = !1,
6176
6176
  attributes: o
6177
6177
  } = e;
6178
- const i = In(ru), {
6178
+ const i = In(rc), {
6179
6179
  activators: a,
6180
6180
  activatorEvent: s,
6181
6181
  active: l,
6182
6182
  activeNodeRect: d,
6183
- ariaDescribedById: u,
6184
- draggableNodes: c,
6183
+ ariaDescribedById: c,
6184
+ draggableNodes: u,
6185
6185
  over: f
6186
6186
  } = St(An), {
6187
6187
  role: g = Yo,
6188
6188
  roleDescription: v = "draggable",
6189
6189
  tabIndex: p = 0
6190
- } = o ?? {}, b = l?.id === t, N = St(b ? ur : nu), [S, I] = qn(), [A, V] = qn(), U = Vd(a, t), T = dn(n);
6190
+ } = o ?? {}, b = l?.id === t, N = St(b ? cr : nc), [S, I] = qn(), [A, V] = qn(), U = Vd(a, t), T = dn(n);
6191
6191
  st(
6192
- () => (c.set(t, {
6192
+ () => (u.set(t, {
6193
6193
  id: t,
6194
6194
  key: i,
6195
6195
  node: S,
6196
6196
  activatorNode: A,
6197
6197
  data: T
6198
6198
  }), () => {
6199
- const D = c.get(t);
6200
- D && D.key === i && c.delete(t);
6199
+ const D = u.get(t);
6200
+ D && D.key === i && u.delete(t);
6201
6201
  }),
6202
6202
  // eslint-disable-next-line react-hooks/exhaustive-deps
6203
- [c, t]
6203
+ [u, t]
6204
6204
  );
6205
6205
  const y = me(() => ({
6206
6206
  role: g,
@@ -6208,8 +6208,8 @@ function ou(e) {
6208
6208
  "aria-disabled": r,
6209
6209
  "aria-pressed": b && g === Yo ? !0 : void 0,
6210
6210
  "aria-roledescription": v,
6211
- "aria-describedby": u.draggable
6212
- }), [r, g, p, b, v, u.draggable]);
6211
+ "aria-describedby": c.draggable
6212
+ }), [r, g, p, b, v, c.draggable]);
6213
6213
  return {
6214
6214
  active: l,
6215
6215
  activatorEvent: s,
@@ -6227,34 +6227,34 @@ function ou(e) {
6227
6227
  function xa() {
6228
6228
  return St(va);
6229
6229
  }
6230
- const iu = "Droppable", au = {
6230
+ const ic = "Droppable", ac = {
6231
6231
  timeout: 25
6232
6232
  };
6233
- function su(e) {
6233
+ function sc(e) {
6234
6234
  let {
6235
6235
  data: t,
6236
6236
  disabled: n = !1,
6237
6237
  id: r,
6238
6238
  resizeObserverConfig: o
6239
6239
  } = e;
6240
- const i = In(iu), {
6240
+ const i = In(ic), {
6241
6241
  active: a,
6242
6242
  dispatch: s,
6243
6243
  over: l,
6244
6244
  measureDroppableContainers: d
6245
- } = St(An), u = X({
6245
+ } = St(An), c = X({
6246
6246
  disabled: n
6247
- }), c = X(!1), f = X(null), g = X(null), {
6247
+ }), u = X(!1), f = X(null), g = X(null), {
6248
6248
  disabled: v,
6249
6249
  updateMeasurementsFor: p,
6250
6250
  timeout: b
6251
6251
  } = {
6252
- ...au,
6252
+ ...ac,
6253
6253
  ...o
6254
6254
  }, N = dn(p ?? r), S = je(
6255
6255
  () => {
6256
- if (!c.current) {
6257
- c.current = !0;
6256
+ if (!u.current) {
6257
+ u.current = !0;
6258
6258
  return;
6259
6259
  }
6260
6260
  g.current != null && clearTimeout(g.current), g.current = setTimeout(() => {
@@ -6267,10 +6267,10 @@ function su(e) {
6267
6267
  callback: S,
6268
6268
  disabled: v || !a
6269
6269
  }), A = je((y, D) => {
6270
- I && (D && (I.unobserve(D), c.current = !1), y && I.observe(y));
6270
+ I && (D && (I.unobserve(D), u.current = !1), y && I.observe(y));
6271
6271
  }, [I]), [V, U] = qn(A), T = dn(t);
6272
6272
  return Z(() => {
6273
- !I || !V.current || (I.disconnect(), c.current = !1, I.observe(V.current));
6273
+ !I || !V.current || (I.disconnect(), u.current = !1, I.observe(V.current));
6274
6274
  }, [V, I]), Z(
6275
6275
  () => (s({
6276
6276
  type: Oe.RegisterDroppable,
@@ -6290,12 +6290,12 @@ function su(e) {
6290
6290
  // eslint-disable-next-line react-hooks/exhaustive-deps
6291
6291
  [r]
6292
6292
  ), Z(() => {
6293
- n !== u.current.disabled && (s({
6293
+ n !== c.current.disabled && (s({
6294
6294
  type: Oe.SetDroppableDisabled,
6295
6295
  id: r,
6296
6296
  key: i,
6297
6297
  disabled: n
6298
- }), u.current.disabled = n);
6298
+ }), c.current.disabled = n);
6299
6299
  }, [r, i, n, s]), {
6300
6300
  active: a,
6301
6301
  rect: f,
@@ -6305,7 +6305,7 @@ function su(e) {
6305
6305
  setNodeRef: U
6306
6306
  };
6307
6307
  }
6308
- function lu(e) {
6308
+ function lc(e) {
6309
6309
  let {
6310
6310
  animation: t,
6311
6311
  children: n
@@ -6322,30 +6322,30 @@ function lu(e) {
6322
6322
  Promise.resolve(t(d, i)).then(() => {
6323
6323
  o(null);
6324
6324
  });
6325
- }, [t, r, i]), Ce.createElement(Ce.Fragment, null, n, r ? us(r, {
6325
+ }, [t, r, i]), Ce.createElement(Ce.Fragment, null, n, r ? cs(r, {
6326
6326
  ref: a
6327
6327
  }) : null);
6328
6328
  }
6329
- const du = {
6329
+ const dc = {
6330
6330
  x: 0,
6331
6331
  y: 0,
6332
6332
  scaleX: 1,
6333
6333
  scaleY: 1
6334
6334
  };
6335
- function uu(e) {
6335
+ function cc(e) {
6336
6336
  let {
6337
6337
  children: t
6338
6338
  } = e;
6339
6339
  return Ce.createElement(An.Provider, {
6340
6340
  value: ba
6341
- }, Ce.createElement(ur.Provider, {
6342
- value: du
6341
+ }, Ce.createElement(cr.Provider, {
6342
+ value: dc
6343
6343
  }, t));
6344
6344
  }
6345
- const cu = {
6345
+ const uc = {
6346
6346
  position: "fixed",
6347
6347
  touchAction: "none"
6348
- }, fu = (e) => sr(e) ? "transform 250ms ease" : void 0, gu = /* @__PURE__ */ ds((e, t) => {
6348
+ }, fc = (e) => sr(e) ? "transform 250ms ease" : void 0, gc = /* @__PURE__ */ ds((e, t) => {
6349
6349
  let {
6350
6350
  as: n,
6351
6351
  activatorEvent: r,
@@ -6355,23 +6355,23 @@ const cu = {
6355
6355
  rect: s,
6356
6356
  style: l,
6357
6357
  transform: d,
6358
- transition: u = fu
6358
+ transition: c = fc
6359
6359
  } = e;
6360
6360
  if (!s)
6361
6361
  return null;
6362
- const c = o ? d : {
6362
+ const u = o ? d : {
6363
6363
  ...d,
6364
6364
  scaleX: 1,
6365
6365
  scaleY: 1
6366
6366
  }, f = {
6367
- ...cu,
6367
+ ...uc,
6368
6368
  width: s.width,
6369
6369
  height: s.height,
6370
6370
  top: s.top,
6371
6371
  left: s.left,
6372
- transform: Pt.Transform.toString(c),
6372
+ transform: Pt.Transform.toString(u),
6373
6373
  transformOrigin: o && r ? od(r, s) : void 0,
6374
- transition: typeof u == "function" ? u(r) : u,
6374
+ transition: typeof c == "function" ? c(r) : c,
6375
6375
  ...l
6376
6376
  };
6377
6377
  return Ce.createElement(n, {
@@ -6379,7 +6379,7 @@ const cu = {
6379
6379
  style: f,
6380
6380
  ref: t
6381
6381
  }, i);
6382
- }), hu = (e) => (t) => {
6382
+ }), hc = (e) => (t) => {
6383
6383
  let {
6384
6384
  active: n,
6385
6385
  dragOverlay: r
@@ -6399,7 +6399,7 @@ const cu = {
6399
6399
  n.node.style.setProperty(l, d);
6400
6400
  a != null && a.active && n.node.classList.remove(a.active);
6401
6401
  };
6402
- }, $u = (e) => {
6402
+ }, $c = (e) => {
6403
6403
  let {
6404
6404
  transform: {
6405
6405
  initial: t,
@@ -6411,11 +6411,11 @@ const cu = {
6411
6411
  }, {
6412
6412
  transform: Pt.Transform.toString(n)
6413
6413
  }];
6414
- }, mu = {
6414
+ }, mc = {
6415
6415
  duration: 250,
6416
6416
  easing: "ease",
6417
- keyframes: $u,
6418
- sideEffects: /* @__PURE__ */ hu({
6417
+ keyframes: $c,
6418
+ sideEffects: /* @__PURE__ */ hc({
6419
6419
  styles: {
6420
6420
  active: {
6421
6421
  opacity: "0"
@@ -6423,7 +6423,7 @@ const cu = {
6423
6423
  }
6424
6424
  })
6425
6425
  };
6426
- function pu(e) {
6426
+ function pc(e) {
6427
6427
  let {
6428
6428
  config: t,
6429
6429
  draggableNodes: n,
@@ -6443,11 +6443,11 @@ function pu(e) {
6443
6443
  if (!d)
6444
6444
  return;
6445
6445
  const {
6446
- transform: u
6447
- } = He(a).getComputedStyle(a), c = sa(u);
6448
- if (!c)
6446
+ transform: c
6447
+ } = He(a).getComputedStyle(a), u = sa(c);
6448
+ if (!u)
6449
6449
  return;
6450
- const f = typeof t == "function" ? t : bu(t);
6450
+ const f = typeof t == "function" ? t : bc(t);
6451
6451
  return ha(l, o.draggable.measure), f({
6452
6452
  active: {
6453
6453
  id: i,
@@ -6462,18 +6462,18 @@ function pu(e) {
6462
6462
  },
6463
6463
  droppableContainers: r,
6464
6464
  measuringConfiguration: o,
6465
- transform: c
6465
+ transform: u
6466
6466
  });
6467
6467
  });
6468
6468
  }
6469
- function bu(e) {
6469
+ function bc(e) {
6470
6470
  const {
6471
6471
  duration: t,
6472
6472
  easing: n,
6473
6473
  sideEffects: r,
6474
6474
  keyframes: o
6475
6475
  } = {
6476
- ...mu,
6476
+ ...mc,
6477
6477
  ...e
6478
6478
  };
6479
6479
  return (i) => {
@@ -6485,16 +6485,16 @@ function bu(e) {
6485
6485
  } = i;
6486
6486
  if (!t)
6487
6487
  return;
6488
- const u = {
6488
+ const c = {
6489
6489
  x: s.rect.left - a.rect.left,
6490
6490
  y: s.rect.top - a.rect.top
6491
- }, c = {
6491
+ }, u = {
6492
6492
  scaleX: l.scaleX !== 1 ? a.rect.width * l.scaleX / s.rect.width : 1,
6493
6493
  scaleY: l.scaleY !== 1 ? a.rect.height * l.scaleY / s.rect.height : 1
6494
6494
  }, f = {
6495
- x: l.x - u.x,
6496
- y: l.y - u.y,
6497
- ...c
6495
+ x: l.x - c.x,
6496
+ y: l.y - c.y,
6497
+ ...u
6498
6498
  }, g = o({
6499
6499
  ...d,
6500
6500
  active: a,
@@ -6523,13 +6523,13 @@ function bu(e) {
6523
6523
  };
6524
6524
  }
6525
6525
  let Ko = 0;
6526
- function vu(e) {
6526
+ function vc(e) {
6527
6527
  return me(() => {
6528
6528
  if (e != null)
6529
6529
  return Ko++, Ko;
6530
6530
  }, [e]);
6531
6531
  }
6532
- const yu = /* @__PURE__ */ Ce.memo((e) => {
6532
+ const yc = /* @__PURE__ */ Ce.memo((e) => {
6533
6533
  let {
6534
6534
  adjustScale: t = !1,
6535
6535
  children: n,
@@ -6542,8 +6542,8 @@ const yu = /* @__PURE__ */ Ce.memo((e) => {
6542
6542
  zIndex: d = 999
6543
6543
  } = e;
6544
6544
  const {
6545
- activatorEvent: u,
6546
- active: c,
6545
+ activatorEvent: c,
6546
+ active: u,
6547
6547
  activeNodeRect: f,
6548
6548
  containerNodeRect: g,
6549
6549
  draggableNodes: v,
@@ -6554,9 +6554,9 @@ const yu = /* @__PURE__ */ Ce.memo((e) => {
6554
6554
  scrollableAncestors: I,
6555
6555
  scrollableAncestorRects: A,
6556
6556
  windowRect: V
6557
- } = xa(), U = St(ur), T = vu(c?.id), y = ya(a, {
6558
- activatorEvent: u,
6559
- active: c,
6557
+ } = xa(), U = St(cr), T = vc(u?.id), y = ya(a, {
6558
+ activatorEvent: c,
6559
+ active: u,
6560
6560
  activeNodeRect: f,
6561
6561
  containerNodeRect: g,
6562
6562
  draggingNodeRect: b.rect,
@@ -6566,20 +6566,20 @@ const yu = /* @__PURE__ */ Ce.memo((e) => {
6566
6566
  scrollableAncestorRects: A,
6567
6567
  transform: U,
6568
6568
  windowRect: V
6569
- }), D = lo(f), Y = pu({
6569
+ }), D = lo(f), Y = pc({
6570
6570
  config: r,
6571
6571
  draggableNodes: v,
6572
6572
  droppableContainers: p,
6573
6573
  measuringConfiguration: S
6574
6574
  }), K = D ? b.setRef : void 0;
6575
- return Ce.createElement(uu, null, Ce.createElement(lu, {
6575
+ return Ce.createElement(cc, null, Ce.createElement(lc, {
6576
6576
  animation: Y
6577
- }, c && T ? Ce.createElement(gu, {
6577
+ }, u && T ? Ce.createElement(gc, {
6578
6578
  key: T,
6579
- id: c.id,
6579
+ id: u.id,
6580
6580
  ref: K,
6581
6581
  as: s,
6582
- activatorEvent: u,
6582
+ activatorEvent: c,
6583
6583
  adjustScale: t,
6584
6584
  className: l,
6585
6585
  transition: i,
@@ -6591,11 +6591,11 @@ const yu = /* @__PURE__ */ Ce.memo((e) => {
6591
6591
  transform: y
6592
6592
  }, n) : null));
6593
6593
  });
6594
- function uo(e, t, n) {
6594
+ function co(e, t, n) {
6595
6595
  const r = e.slice();
6596
6596
  return r.splice(n < 0 ? r.length + n : n, 0, r.splice(t, 1)[0]), r;
6597
6597
  }
6598
- function xu(e, t) {
6598
+ function xc(e, t) {
6599
6599
  return e.reduce((n, r, o) => {
6600
6600
  const i = t.get(r);
6601
6601
  return i && (n[o] = i), n;
@@ -6604,7 +6604,7 @@ function xu(e, t) {
6604
6604
  function Gn(e) {
6605
6605
  return e !== null && e >= 0;
6606
6606
  }
6607
- function wu(e, t) {
6607
+ function wc(e, t) {
6608
6608
  if (e === t)
6609
6609
  return !0;
6610
6610
  if (e.length !== t.length)
@@ -6614,20 +6614,20 @@ function wu(e, t) {
6614
6614
  return !1;
6615
6615
  return !0;
6616
6616
  }
6617
- function Cu(e) {
6617
+ function Cc(e) {
6618
6618
  return typeof e == "boolean" ? {
6619
6619
  draggable: e,
6620
6620
  droppable: e
6621
6621
  } : e;
6622
6622
  }
6623
- const co = (e) => {
6623
+ const uo = (e) => {
6624
6624
  let {
6625
6625
  rects: t,
6626
6626
  activeIndex: n,
6627
6627
  overIndex: r,
6628
6628
  index: o
6629
6629
  } = e;
6630
- const i = uo(t, r, n), a = t[o], s = i[o];
6630
+ const i = co(t, r, n), a = t[o], s = i[o];
6631
6631
  return !s || !a ? null : {
6632
6632
  x: s.left - a.left,
6633
6633
  y: s.top - a.top,
@@ -6642,18 +6642,18 @@ const co = (e) => {
6642
6642
  overIndex: -1,
6643
6643
  useDragOverlay: !1,
6644
6644
  sortedRects: [],
6645
- strategy: co,
6645
+ strategy: uo,
6646
6646
  disabled: {
6647
6647
  draggable: !1,
6648
6648
  droppable: !1
6649
6649
  }
6650
6650
  });
6651
- function Nu(e) {
6651
+ function Nc(e) {
6652
6652
  let {
6653
6653
  children: t,
6654
6654
  id: n,
6655
6655
  items: r,
6656
- strategy: o = co,
6656
+ strategy: o = uo,
6657
6657
  disabled: i = !1
6658
6658
  } = e;
6659
6659
  const {
@@ -6661,41 +6661,41 @@ function Nu(e) {
6661
6661
  dragOverlay: s,
6662
6662
  droppableRects: l,
6663
6663
  over: d,
6664
- measureDroppableContainers: u
6665
- } = xa(), c = In(wa, n), f = s.rect !== null, g = me(() => r.map((U) => typeof U == "object" && "id" in U ? U.id : U), [r]), v = a != null, p = a ? g.indexOf(a.id) : -1, b = d ? g.indexOf(d.id) : -1, N = X(g), S = !wu(g, N.current), I = b !== -1 && p === -1 || S, A = Cu(i);
6664
+ measureDroppableContainers: c
6665
+ } = xa(), u = In(wa, n), f = s.rect !== null, g = me(() => r.map((U) => typeof U == "object" && "id" in U ? U.id : U), [r]), v = a != null, p = a ? g.indexOf(a.id) : -1, b = d ? g.indexOf(d.id) : -1, N = X(g), S = !wc(g, N.current), I = b !== -1 && p === -1 || S, A = Cc(i);
6666
6666
  st(() => {
6667
- S && v && u(g);
6668
- }, [S, g, v, u]), Z(() => {
6667
+ S && v && c(g);
6668
+ }, [S, g, v, c]), Z(() => {
6669
6669
  N.current = g;
6670
6670
  }, [g]);
6671
6671
  const V = me(
6672
6672
  () => ({
6673
6673
  activeIndex: p,
6674
- containerId: c,
6674
+ containerId: u,
6675
6675
  disabled: A,
6676
6676
  disableTransforms: I,
6677
6677
  items: g,
6678
6678
  overIndex: b,
6679
6679
  useDragOverlay: f,
6680
- sortedRects: xu(g, l),
6680
+ sortedRects: xc(g, l),
6681
6681
  strategy: o
6682
6682
  }),
6683
6683
  // eslint-disable-next-line react-hooks/exhaustive-deps
6684
- [p, c, A.draggable, A.droppable, I, g, b, l, f, o]
6684
+ [p, u, A.draggable, A.droppable, I, g, b, l, f, o]
6685
6685
  );
6686
6686
  return Ce.createElement(Ca.Provider, {
6687
6687
  value: V
6688
6688
  }, t);
6689
6689
  }
6690
- const Su = (e) => {
6690
+ const Sc = (e) => {
6691
6691
  let {
6692
6692
  id: t,
6693
6693
  items: n,
6694
6694
  activeIndex: r,
6695
6695
  overIndex: o
6696
6696
  } = e;
6697
- return uo(n, r, o).indexOf(t);
6698
- }, Pu = (e) => {
6697
+ return co(n, r, o).indexOf(t);
6698
+ }, Pc = (e) => {
6699
6699
  let {
6700
6700
  containerId: t,
6701
6701
  isSorting: n,
@@ -6708,17 +6708,17 @@ const Su = (e) => {
6708
6708
  transition: d
6709
6709
  } = e;
6710
6710
  return !d || !r || s !== i && o === a ? !1 : n ? !0 : a !== o && t === l;
6711
- }, Eu = {
6711
+ }, Ec = {
6712
6712
  duration: 200,
6713
6713
  easing: "ease"
6714
- }, Na = "transform", Iu = /* @__PURE__ */ Pt.Transition.toString({
6714
+ }, Na = "transform", Ic = /* @__PURE__ */ Pt.Transition.toString({
6715
6715
  property: Na,
6716
6716
  duration: 0,
6717
6717
  easing: "linear"
6718
- }), Au = {
6718
+ }), Ac = {
6719
6719
  roleDescription: "sortable"
6720
6720
  };
6721
- function Tu(e) {
6721
+ function Tc(e) {
6722
6722
  let {
6723
6723
  disabled: t,
6724
6724
  index: n,
@@ -6732,13 +6732,13 @@ function Tu(e) {
6732
6732
  if (l) {
6733
6733
  const d = Xt(r.current, {
6734
6734
  ignoreTransform: !0
6735
- }), u = {
6735
+ }), c = {
6736
6736
  x: l.left - d.left,
6737
6737
  y: l.top - d.top,
6738
6738
  scaleX: l.width / d.width,
6739
6739
  scaleY: l.height / d.height
6740
6740
  };
6741
- (u.x || u.y) && a(u);
6741
+ (c.x || c.y) && a(c);
6742
6742
  }
6743
6743
  }
6744
6744
  n !== s.current && (s.current = n);
@@ -6746,21 +6746,21 @@ function Tu(e) {
6746
6746
  i && a(null);
6747
6747
  }, [i]), i;
6748
6748
  }
6749
- function Ru(e) {
6749
+ function Rc(e) {
6750
6750
  let {
6751
- animateLayoutChanges: t = Pu,
6751
+ animateLayoutChanges: t = Pc,
6752
6752
  attributes: n,
6753
6753
  disabled: r,
6754
6754
  data: o,
6755
- getNewIndex: i = Su,
6755
+ getNewIndex: i = Sc,
6756
6756
  id: a,
6757
6757
  strategy: s,
6758
6758
  resizeObserverConfig: l,
6759
- transition: d = Eu
6759
+ transition: d = Ec
6760
6760
  } = e;
6761
6761
  const {
6762
- items: u,
6763
- containerId: c,
6762
+ items: c,
6763
+ containerId: u,
6764
6764
  activeIndex: f,
6765
6765
  disabled: g,
6766
6766
  disableTransforms: v,
@@ -6768,19 +6768,19 @@ function Ru(e) {
6768
6768
  overIndex: b,
6769
6769
  useDragOverlay: N,
6770
6770
  strategy: S
6771
- } = St(Ca), I = ku(r, g), A = u.indexOf(a), V = me(() => ({
6771
+ } = St(Ca), I = kc(r, g), A = c.indexOf(a), V = me(() => ({
6772
6772
  sortable: {
6773
- containerId: c,
6773
+ containerId: u,
6774
6774
  index: A,
6775
- items: u
6775
+ items: c
6776
6776
  },
6777
6777
  ...o
6778
- }), [c, o, A, u]), U = me(() => u.slice(u.indexOf(a)), [u, a]), {
6778
+ }), [u, o, A, c]), U = me(() => c.slice(c.indexOf(a)), [c, a]), {
6779
6779
  rect: T,
6780
6780
  node: y,
6781
6781
  isOver: D,
6782
6782
  setNodeRef: Y
6783
- } = su({
6783
+ } = sc({
6784
6784
  id: a,
6785
6785
  data: V,
6786
6786
  disabled: I.droppable,
@@ -6791,7 +6791,7 @@ function Ru(e) {
6791
6791
  }), {
6792
6792
  active: K,
6793
6793
  activatorEvent: W,
6794
- activeNodeRect: se,
6794
+ activeNodeRect: de,
6795
6795
  attributes: re,
6796
6796
  setNodeRef: pe,
6797
6797
  listeners: Q,
@@ -6799,52 +6799,52 @@ function Ru(e) {
6799
6799
  over: x,
6800
6800
  setActivatorNodeRef: H,
6801
6801
  transform: ge
6802
- } = ou({
6802
+ } = oc({
6803
6803
  id: a,
6804
6804
  data: V,
6805
6805
  attributes: {
6806
- ...Au,
6806
+ ...Ac,
6807
6807
  ...n
6808
6808
  },
6809
6809
  disabled: I.draggable
6810
6810
  }), h = zl(Y, pe), E = !!K, P = E && !v && Gn(f) && Gn(b), $ = !N && J, _ = $ && P ? ge : null, R = P ? _ ?? (s ?? S)({
6811
6811
  rects: p,
6812
- activeNodeRect: se,
6812
+ activeNodeRect: de,
6813
6813
  activeIndex: f,
6814
6814
  overIndex: b,
6815
6815
  index: A
6816
6816
  }) : null, te = Gn(f) && Gn(b) ? i({
6817
6817
  id: a,
6818
- items: u,
6818
+ items: c,
6819
6819
  activeIndex: f,
6820
6820
  overIndex: b
6821
6821
  }) : A, k = K?.id, z = X({
6822
6822
  activeId: k,
6823
- items: u,
6823
+ items: c,
6824
6824
  newIndex: te,
6825
- containerId: c
6826
- }), B = u !== z.current.items, G = t({
6825
+ containerId: u
6826
+ }), B = c !== z.current.items, G = t({
6827
6827
  active: K,
6828
- containerId: c,
6828
+ containerId: u,
6829
6829
  isDragging: J,
6830
6830
  isSorting: E,
6831
6831
  id: a,
6832
6832
  index: A,
6833
- items: u,
6833
+ items: c,
6834
6834
  newIndex: z.current.newIndex,
6835
6835
  previousItems: z.current.items,
6836
6836
  previousContainerId: z.current.containerId,
6837
6837
  transition: d,
6838
6838
  wasDragging: z.current.activeId != null
6839
- }), ee = Tu({
6839
+ }), ee = Tc({
6840
6840
  disabled: !G,
6841
6841
  index: A,
6842
6842
  node: y,
6843
6843
  rect: T
6844
6844
  });
6845
6845
  return Z(() => {
6846
- E && z.current.newIndex !== te && (z.current.newIndex = te), c !== z.current.containerId && (z.current.containerId = c), u !== z.current.items && (z.current.items = u);
6847
- }, [E, te, c, u]), Z(() => {
6846
+ E && z.current.newIndex !== te && (z.current.newIndex = te), u !== z.current.containerId && (z.current.containerId = u), c !== z.current.items && (z.current.items = c);
6847
+ }, [E, te, u, c]), Z(() => {
6848
6848
  if (k === z.current.activeId)
6849
6849
  return;
6850
6850
  if (k != null && z.current.activeId == null) {
@@ -6863,7 +6863,7 @@ function Ru(e) {
6863
6863
  rect: T,
6864
6864
  index: A,
6865
6865
  newIndex: te,
6866
- items: u,
6866
+ items: c,
6867
6867
  isOver: D,
6868
6868
  isSorting: E,
6869
6869
  isDragging: J,
@@ -6876,15 +6876,15 @@ function Ru(e) {
6876
6876
  setDroppableNodeRef: Y,
6877
6877
  setDraggableNodeRef: pe,
6878
6878
  transform: ee ?? R,
6879
- transition: le()
6879
+ transition: se()
6880
6880
  };
6881
- function le() {
6881
+ function se() {
6882
6882
  if (
6883
6883
  // Temporarily disable transitions for a single frame to set up derived transforms
6884
6884
  ee || // Or to prevent items jumping to back to their "new" position when items change
6885
6885
  B && z.current.newIndex === A
6886
6886
  )
6887
- return Iu;
6887
+ return Ic;
6888
6888
  if (!($ && !sr(W) || !d) && (E || G))
6889
6889
  return Pt.Transition.toString({
6890
6890
  ...d,
@@ -6892,7 +6892,7 @@ function Ru(e) {
6892
6892
  });
6893
6893
  }
6894
6894
  }
6895
- function ku(e, t) {
6895
+ function kc(e, t) {
6896
6896
  var n, r;
6897
6897
  return typeof e == "boolean" ? {
6898
6898
  draggable: e,
@@ -6909,7 +6909,7 @@ function tr(e) {
6909
6909
  const t = e.data.current;
6910
6910
  return !!(t && "sortable" in t && typeof t.sortable == "object" && "containerId" in t.sortable && "items" in t.sortable && "index" in t.sortable);
6911
6911
  }
6912
- const Du = [oe.Down, oe.Right, oe.Up, oe.Left], Ou = (e, t) => {
6912
+ const Dc = [oe.Down, oe.Right, oe.Up, oe.Left], Oc = (e, t) => {
6913
6913
  let {
6914
6914
  context: {
6915
6915
  active: n,
@@ -6920,27 +6920,27 @@ const Du = [oe.Down, oe.Right, oe.Up, oe.Left], Ou = (e, t) => {
6920
6920
  scrollableAncestors: s
6921
6921
  }
6922
6922
  } = t;
6923
- if (Du.includes(e.code)) {
6923
+ if (Dc.includes(e.code)) {
6924
6924
  if (e.preventDefault(), !n || !r)
6925
6925
  return;
6926
6926
  const l = [];
6927
- i.getEnabled().forEach((c) => {
6928
- if (!c || c != null && c.disabled)
6927
+ i.getEnabled().forEach((u) => {
6928
+ if (!u || u != null && u.disabled)
6929
6929
  return;
6930
- const f = o.get(c.id);
6930
+ const f = o.get(u.id);
6931
6931
  if (f)
6932
6932
  switch (e.code) {
6933
6933
  case oe.Down:
6934
- r.top < f.top && l.push(c);
6934
+ r.top < f.top && l.push(u);
6935
6935
  break;
6936
6936
  case oe.Up:
6937
- r.top > f.top && l.push(c);
6937
+ r.top > f.top && l.push(u);
6938
6938
  break;
6939
6939
  case oe.Left:
6940
- r.left > f.left && l.push(c);
6940
+ r.left > f.left && l.push(u);
6941
6941
  break;
6942
6942
  case oe.Right:
6943
- r.left < f.left && l.push(c);
6943
+ r.left < f.left && l.push(u);
6944
6944
  break;
6945
6945
  }
6946
6946
  });
@@ -6949,11 +6949,11 @@ const Du = [oe.Down, oe.Right, oe.Up, oe.Left], Ou = (e, t) => {
6949
6949
  droppableRects: o,
6950
6950
  droppableContainers: l
6951
6951
  });
6952
- let u = ia(d, "id");
6953
- if (u === a?.id && d.length > 1 && (u = d[1].id), u != null) {
6954
- const c = i.get(n.id), f = i.get(u), g = f ? o.get(f.id) : null, v = f?.node.current;
6955
- if (v && g && c && f) {
6956
- const b = lr(v).some((U, T) => s[T] !== U), N = Sa(c, f), S = _u(c, f), I = b || !N ? {
6952
+ let c = ia(d, "id");
6953
+ if (c === a?.id && d.length > 1 && (c = d[1].id), c != null) {
6954
+ const u = i.get(n.id), f = i.get(c), g = f ? o.get(f.id) : null, v = f?.node.current;
6955
+ if (v && g && u && f) {
6956
+ const b = lr(v).some((U, T) => s[T] !== U), N = Sa(u, f), S = _c(u, f), I = b || !N ? {
6957
6957
  x: 0,
6958
6958
  y: 0
6959
6959
  } : {
@@ -6963,7 +6963,7 @@ const Du = [oe.Down, oe.Right, oe.Up, oe.Left], Ou = (e, t) => {
6963
6963
  x: g.left,
6964
6964
  y: g.top
6965
6965
  };
6966
- return I.x && I.y ? A : un(A, I);
6966
+ return I.x && I.y ? A : cn(A, I);
6967
6967
  }
6968
6968
  }
6969
6969
  }
@@ -6971,10 +6971,10 @@ const Du = [oe.Down, oe.Right, oe.Up, oe.Left], Ou = (e, t) => {
6971
6971
  function Sa(e, t) {
6972
6972
  return !tr(e) || !tr(t) ? !1 : e.data.current.sortable.containerId === t.data.current.sortable.containerId;
6973
6973
  }
6974
- function _u(e, t) {
6974
+ function _c(e, t) {
6975
6975
  return !tr(e) || !tr(t) || !Sa(e, t) ? !1 : e.data.current.sortable.index < t.data.current.sortable.index;
6976
6976
  }
6977
- const Pa = "rb-tenant-id", Fu = async (e) => {
6977
+ const Pa = "rb-tenant-id", Fc = async (e) => {
6978
6978
  if (typeof crypto > "u" || typeof crypto.subtle > "u") return null;
6979
6979
  try {
6980
6980
  const t = await crypto.subtle.digest("SHA-256", e);
@@ -6982,7 +6982,7 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
6982
6982
  } catch {
6983
6983
  return null;
6984
6984
  }
6985
- }, Mu = () => {
6985
+ }, Mc = () => {
6986
6986
  if (typeof window > "u") return null;
6987
6987
  const t = new URLSearchParams(window.location.search || "").get(Pa)?.trim() ?? "";
6988
6988
  return t || null;
@@ -6999,14 +6999,14 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
6999
6999
  signal: n?.signal
7000
7000
  }), o = await r.json().catch(() => ({}));
7001
7001
  return { ok: r.ok, status: r.status, data: o };
7002
- }, Lu = async (e, t) => {
7002
+ }, Lc = async (e, t) => {
7003
7003
  const n = await fetch(e, {
7004
7004
  credentials: "include",
7005
7005
  headers: t?.headers,
7006
7006
  signal: t?.signal
7007
7007
  }), r = await n.json().catch(() => ({}));
7008
7008
  return { ok: n.ok, status: n.status, data: r };
7009
- }, ju = async ({
7009
+ }, jc = async ({
7010
7010
  url: e,
7011
7011
  body: t,
7012
7012
  sha256: n,
@@ -7025,8 +7025,8 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7025
7025
  signal: o
7026
7026
  });
7027
7027
  return { ok: a.ok, status: a.status };
7028
- }, Uu = async (e, t, n) => {
7029
- const r = Mu(), o = await Xo(
7028
+ }, Uc = async (e, t, n) => {
7029
+ const r = Mc(), o = await Xo(
7030
7030
  rn("/api/rb/file-uploads", r),
7031
7031
  {
7032
7032
  filename: e.name,
@@ -7041,7 +7041,7 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7041
7041
  if (!i || !s || !l)
7042
7042
  throw new Error("Upload init missing required fields");
7043
7043
  const d = async (v) => {
7044
- const p = v * s, b = Math.min(e.size, p + s), S = await e.slice(p, b).arrayBuffer(), I = await Fu(S), A = await ju({
7044
+ const p = v * s, b = Math.min(e.size, p + s), S = await e.slice(p, b).arrayBuffer(), I = await Fc(S), A = await jc({
7045
7045
  url: rn(`/api/rb/file-uploads/${encodeURIComponent(i)}/chunks/${v}`, r),
7046
7046
  body: S,
7047
7047
  sha256: I ?? void 0,
@@ -7050,15 +7050,15 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7050
7050
  });
7051
7051
  if (A.status !== 204)
7052
7052
  throw new Error(`Chunk ${v} failed (${A.status})`);
7053
- }, u = async (v, p = 0) => {
7053
+ }, c = async (v, p = 0) => {
7054
7054
  let b = p;
7055
7055
  for (const N of v) {
7056
7056
  await d(N), b += 1;
7057
7057
  const S = Math.min(99, Math.floor(b / l * 99));
7058
7058
  t(S);
7059
7059
  }
7060
- }, c = Array.from({ length: l }, (v, p) => p);
7061
- await u(c, 0);
7060
+ }, u = Array.from({ length: l }, (v, p) => p);
7061
+ await c(u, 0);
7062
7062
  const f = async () => {
7063
7063
  const v = await Xo(
7064
7064
  rn(`/api/rb/file-uploads/${encodeURIComponent(i)}/complete`, r),
@@ -7073,7 +7073,7 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7073
7073
  const p = String(v.data?.error ?? "");
7074
7074
  if (v.status !== 409 || p !== "missing_chunks")
7075
7075
  throw new Error(p || `Complete failed (${v.status})`);
7076
- const b = await Lu(
7076
+ const b = await Lc(
7077
7077
  rn(`/api/rb/file-uploads/${encodeURIComponent(i)}/status`, r),
7078
7078
  { headers: a ? { "X-Upload-Key": a } : void 0, signal: n?.signal }
7079
7079
  );
@@ -7084,7 +7084,7 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7084
7084
  S.has(A) || I.push(A);
7085
7085
  if (!I.length)
7086
7086
  throw new Error("missing_chunks");
7087
- return await u(I, S.size), f();
7087
+ return await c(I, S.size), f();
7088
7088
  }, g = await f();
7089
7089
  return t(100), {
7090
7090
  id: g,
@@ -7092,7 +7092,7 @@ const Pa = "rb-tenant-id", Fu = async (e) => {
7092
7092
  alt: e.name
7093
7093
  };
7094
7094
  };
7095
- function Bu({
7095
+ function Bc({
7096
7096
  item: e,
7097
7097
  isHovered: t,
7098
7098
  onHoverEnter: n,
@@ -7103,12 +7103,12 @@ function Bu({
7103
7103
  isUploading: s,
7104
7104
  isError: l,
7105
7105
  tileClasses: d,
7106
- disabled: u,
7107
- isDraggingExternal: c
7106
+ disabled: c,
7107
+ isDraggingExternal: u
7108
7108
  }) {
7109
- const { setNodeRef: f, attributes: g, listeners: v, transform: p, transition: b, isDragging: N } = Ru({
7109
+ const { setNodeRef: f, attributes: g, listeners: v, transform: p, transition: b, isDragging: N } = Rc({
7110
7110
  id: e.id,
7111
- disabled: u
7111
+ disabled: c
7112
7112
  }), S = {
7113
7113
  transform: Pt.Transform.toString(p),
7114
7114
  transition: b
@@ -7120,11 +7120,11 @@ function Bu({
7120
7120
  style: S,
7121
7121
  className: Pe(
7122
7122
  d,
7123
- N && "z-20 ring-2 ring-sky-400 shadow-xl",
7124
- c && "opacity-0",
7125
- !u && "cursor-grab active:cursor-grabbing",
7123
+ N && "z-20 ring-2 ring-primary shadow-xl",
7124
+ u && "opacity-0",
7125
+ !c && "cursor-grab active:cursor-grabbing",
7126
7126
  N && "cursor-grabbing",
7127
- u && "cursor-default"
7127
+ c && "cursor-default"
7128
7128
  ),
7129
7129
  onMouseEnter: n,
7130
7130
  onMouseLeave: r,
@@ -7148,10 +7148,10 @@ function Bu({
7148
7148
  {
7149
7149
  type: "button",
7150
7150
  onClick: () => {
7151
- u || o(e.id);
7151
+ c || o(e.id);
7152
7152
  },
7153
- disabled: u,
7154
- className: "absolute right-1 top-1 inline-flex size-6 items-center justify-center rounded-full bg-white text-slate-700 shadow-sm transition hover:scale-105 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500 dark:bg-slate-900 dark:text-slate-200",
7153
+ disabled: c,
7154
+ className: "absolute right-1 top-1 inline-flex size-6 items-center justify-center rounded-full bg-white text-slate-700 shadow-sm transition hover:scale-105 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary dark:bg-slate-900 dark:text-slate-200",
7155
7155
  "aria-label": "Supprimer l'image",
7156
7156
  children: /* @__PURE__ */ m.jsx(Fi, { className: "h-4 w-4" })
7157
7157
  }
@@ -7179,7 +7179,7 @@ function Bu({
7179
7179
  ),
7180
7180
  s && /* @__PURE__ */ m.jsxs("div", { className: "absolute inset-0 z-20 flex flex-col items-center justify-center gap-2 rounded-lg bg-black/40 text-white", children: [
7181
7181
  /* @__PURE__ */ m.jsx(gs, { className: "h-5 w-5 animate-spin" }),
7182
- /* @__PURE__ */ m.jsx("div", { className: "h-1.5 w-5/6 rounded-full bg-white/20", children: /* @__PURE__ */ m.jsx("div", { className: "h-full rounded-full bg-sky-400", style: { width: `${e.progress}%` } }) }),
7182
+ /* @__PURE__ */ m.jsx("div", { className: "h-1.5 w-5/6 rounded-full bg-white/20", children: /* @__PURE__ */ m.jsx("div", { className: "h-full rounded-full bg-primary", style: { width: `${e.progress}%` } }) }),
7183
7183
  /* @__PURE__ */ m.jsxs("div", { className: "text-xs font-semibold", children: [
7184
7184
  e.progress,
7185
7185
  "%"
@@ -7192,7 +7192,7 @@ function Bu({
7192
7192
  {
7193
7193
  type: "button",
7194
7194
  onClick: () => i(e.id),
7195
- disabled: u,
7195
+ disabled: c,
7196
7196
  className: "rounded-full bg-white/90 px-3 py-1 text-xs font-semibold text-red-700 shadow-sm transition hover:bg-white focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",
7197
7197
  children: "Réessayer"
7198
7198
  }
@@ -7202,21 +7202,21 @@ function Bu({
7202
7202
  }
7203
7203
  );
7204
7204
  }
7205
- function Gu(e) {
7205
+ function Gc(e) {
7206
7206
  return URL.createObjectURL(e);
7207
7207
  }
7208
- function c2({
7208
+ function u2({
7209
7209
  initialImages: e = [],
7210
7210
  onChange: t,
7211
- upload: n = Uu,
7211
+ upload: n = Uc,
7212
7212
  disabled: r = !1,
7213
7213
  onUploadingChange: o
7214
7214
  }) {
7215
7215
  const i = X(null), [a, s] = $e(
7216
7216
  () => e.map(($) => ({ ...$, previewUrl: $.url, status: "uploaded", progress: 100 }))
7217
- ), [l, d] = $e(!1), [u, c] = $e(null), [f, g] = $e(null), [v, p] = $e(null), b = X(null), N = X(!0), S = X([]), I = X(e), A = X(t), V = X(o), U = X(/* @__PURE__ */ new Map()), T = X(/* @__PURE__ */ new Map()), y = X(/* @__PURE__ */ new Map()), D = X(/* @__PURE__ */ new Map()), Y = rd(
7217
+ ), [l, d] = $e(!1), [c, u] = $e(null), [f, g] = $e(null), [v, p] = $e(null), b = X(null), N = X(!0), S = X([]), I = X(e), A = X(t), V = X(o), U = X(/* @__PURE__ */ new Map()), T = X(/* @__PURE__ */ new Map()), y = X(/* @__PURE__ */ new Map()), D = X(/* @__PURE__ */ new Map()), Y = rd(
7218
7218
  _o(so, { activationConstraint: { distance: 6 } }),
7219
- _o(io, { coordinateGetter: Ou })
7219
+ _o(io, { coordinateGetter: Oc })
7220
7220
  );
7221
7221
  Z(() => () => {
7222
7222
  for (const $ of y.current.values())
@@ -7287,9 +7287,9 @@ function c2({
7287
7287
  }
7288
7288
  }
7289
7289
  }
7290
- s((B) => B.length === F.length && B.every((le, he) => {
7290
+ s((B) => B.length === F.length && B.every((se, he) => {
7291
7291
  const ae = F[he];
7292
- return ae && le.id === ae.id && le.url === ae.url && le.alt === ae.alt;
7292
+ return ae && se.id === ae.id && se.url === ae.url && se.alt === ae.alt;
7293
7293
  }) ? B : (N.current = !0, F));
7294
7294
  }, [e]), Z(() => {
7295
7295
  if (N.current) {
@@ -7300,25 +7300,25 @@ function c2({
7300
7300
  }, [a]), Z(() => {
7301
7301
  V.current?.(a.some(($) => $.status === "uploading"));
7302
7302
  }, [a]), Z(() => {
7303
- if (u === null)
7303
+ if (c === null)
7304
7304
  return;
7305
7305
  const $ = (_) => {
7306
7306
  if (_.key === "Escape") {
7307
- c(null);
7307
+ u(null);
7308
7308
  return;
7309
7309
  }
7310
7310
  if (_.key === "ArrowRight") {
7311
- c((F) => F === null ? F : (F + 1) % a.length);
7311
+ u((F) => F === null ? F : (F + 1) % a.length);
7312
7312
  return;
7313
7313
  }
7314
- _.key === "ArrowLeft" && c((F) => F === null ? F : (F - 1 + a.length) % a.length);
7314
+ _.key === "ArrowLeft" && u((F) => F === null ? F : (F - 1 + a.length) % a.length);
7315
7315
  };
7316
7316
  return window.addEventListener("keydown", $), () => window.removeEventListener("keydown", $);
7317
- }, [u, a.length]);
7317
+ }, [c, a.length]);
7318
7318
  const K = async ($) => {
7319
7319
  if (r) return;
7320
7320
  const F = Array.from($).map((R) => {
7321
- const te = Gu(R), k = crypto.randomUUID();
7321
+ const te = Gc(R), k = crypto.randomUUID();
7322
7322
  D.current.set(k, te), T.current.set(k, R);
7323
7323
  const z = {
7324
7324
  id: k,
@@ -7331,10 +7331,10 @@ function c2({
7331
7331
  };
7332
7332
  s((ee) => [...ee, z]);
7333
7333
  const B = (ee) => {
7334
- const le = Math.max(0, Math.min(99, ee));
7334
+ const se = Math.max(0, Math.min(99, ee));
7335
7335
  s(
7336
7336
  (he) => he.map(
7337
- (ae) => ae.id === k ? { ...ae, progress: le, status: "uploading" } : ae
7337
+ (ae) => ae.id === k ? { ...ae, progress: se, status: "uploading" } : ae
7338
7338
  )
7339
7339
  );
7340
7340
  };
@@ -7342,8 +7342,8 @@ function c2({
7342
7342
  const ee = new AbortController();
7343
7343
  y.current.set(k, ee);
7344
7344
  try {
7345
- const le = await n(R, B, { signal: ee.signal });
7346
- U.current.set(k, le.id);
7345
+ const se = await n(R, B, { signal: ee.signal });
7346
+ U.current.set(k, se.id);
7347
7347
  const he = D.current.get(k);
7348
7348
  if (he) {
7349
7349
  D.current.delete(k);
@@ -7356,15 +7356,15 @@ function c2({
7356
7356
  (ae) => ae.map(
7357
7357
  (Xe) => Xe.id === k ? {
7358
7358
  ...Xe,
7359
- ...le,
7360
- previewUrl: le.url,
7361
- url: le.url,
7359
+ ...se,
7360
+ previewUrl: se.url,
7361
+ url: se.url,
7362
7362
  status: "uploaded",
7363
7363
  progress: 100
7364
7364
  } : Xe
7365
7365
  )
7366
7366
  );
7367
- } catch (le) {
7367
+ } catch (se) {
7368
7368
  if (y.current.delete(k), ee.signal.aborted) {
7369
7369
  T.current.delete(k);
7370
7370
  const he = D.current.get(k);
@@ -7377,7 +7377,7 @@ function c2({
7377
7377
  }
7378
7378
  return;
7379
7379
  }
7380
- console.error("Upload failed", le), s(
7380
+ console.error("Upload failed", se), s(
7381
7381
  (he) => he.map(
7382
7382
  (ae) => ae.id === k ? { ...ae, status: "error", progress: Math.max(0, Math.min(99, ae.progress)) } : ae
7383
7383
  )
@@ -7388,7 +7388,7 @@ function c2({
7388
7388
  await Promise.allSettled(F);
7389
7389
  }, W = ($) => {
7390
7390
  $.target.files && (K($.target.files), $.target.value = "");
7391
- }, se = () => {
7391
+ }, de = () => {
7392
7392
  r || i.current?.click();
7393
7393
  }, re = ($) => {
7394
7394
  const _ = y.current.get($);
@@ -7454,7 +7454,7 @@ function c2({
7454
7454
  })();
7455
7455
  }, Q = ($) => {
7456
7456
  const _ = a.findIndex((F) => F.id === $);
7457
- _ !== -1 && c(_);
7457
+ _ !== -1 && u(_);
7458
7458
  }, J = ($) => {
7459
7459
  p(String($.active.id));
7460
7460
  }, x = ($) => {
@@ -7466,15 +7466,15 @@ function c2({
7466
7466
  const R = String(_.id), te = String(F.id);
7467
7467
  R !== te && s((k) => {
7468
7468
  const z = k.findIndex((G) => G.id === R), B = k.findIndex((G) => G.id === te);
7469
- return z === -1 || B === -1 ? k : uo(k, z, B);
7469
+ return z === -1 || B === -1 ? k : co(k, z, B);
7470
7470
  }), p(null);
7471
7471
  }, H = () => {
7472
7472
  p(null);
7473
7473
  }, ge = () => {
7474
7474
  b.current !== null && (window.clearTimeout(b.current), b.current = null);
7475
- }, h = me(() => u === null ? null : a[u] ?? null, [u, a]), E = Pe(
7475
+ }, h = me(() => c === null ? null : a[c] ?? null, [c, a]), E = Pe(
7476
7476
  "rounded-xl border border-dashed border-slate-300 bg-white/70 p-4 shadow-sm transition-colors dark:border-slate-700 dark:bg-slate-900/60",
7477
- l && "border-sky-500 ring-2 ring-sky-500/50",
7477
+ l && "border-primary ring-2 ring-primary/50",
7478
7478
  r && "opacity-70"
7479
7479
  ), P = "group relative size-20 overflow-visible rounded-lg border border-slate-200 bg-slate-50 shadow-inner transition hover:shadow md:size-24 dark:border-slate-700 dark:bg-slate-800";
7480
7480
  return /* @__PURE__ */ m.jsxs(
@@ -7489,24 +7489,12 @@ function c2({
7489
7489
  },
7490
7490
  className: E,
7491
7491
  children: [
7492
- /* @__PURE__ */ m.jsxs("div", { className: "mb-3 flex items-center justify-between gap-2 text-sm text-slate-600 dark:text-slate-300", children: [
7493
- /* @__PURE__ */ m.jsxs("div", { className: "flex items-center gap-2", children: [
7494
- /* @__PURE__ */ m.jsx("div", { className: "flex size-7 items-center justify-center rounded-md bg-sky-100 text-sky-700 dark:bg-sky-900/60 dark:text-sky-200", children: /* @__PURE__ */ m.jsx(Co, { className: "h-4 w-4" }) }),
7495
- /* @__PURE__ */ m.jsx("div", { className: "font-medium", children: "Images field" })
7496
- ] }),
7497
- /* @__PURE__ */ m.jsx(
7498
- "button",
7499
- {
7500
- type: "button",
7501
- onClick: se,
7502
- disabled: r,
7503
- className: "rounded-full border border-slate-300 bg-white px-3 py-1 text-xs font-semibold text-slate-700 shadow-sm transition hover:border-slate-400 hover:text-slate-900 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-sky-500 dark:border-slate-700 dark:bg-slate-800 dark:text-slate-200 dark:hover:border-slate-500",
7504
- children: "Ajouter"
7505
- }
7506
- )
7507
- ] }),
7492
+ /* @__PURE__ */ m.jsx("div", { className: "mb-3 flex items-center justify-between gap-2 text-sm text-slate-600 dark:text-slate-300", children: /* @__PURE__ */ m.jsxs("div", { className: "flex items-center gap-2", children: [
7493
+ /* @__PURE__ */ m.jsx("div", { className: "flex size-7 items-center justify-center rounded-md bg-primary/10 text-primary dark:bg-primary/20 dark:text-primary-foreground", children: /* @__PURE__ */ m.jsx(Co, { className: "h-4 w-4" }) }),
7494
+ /* @__PURE__ */ m.jsx("div", { className: "font-medium", children: "Images field" })
7495
+ ] }) }),
7508
7496
  /* @__PURE__ */ m.jsxs(
7509
- tu,
7497
+ tc,
7510
7498
  {
7511
7499
  sensors: r ? void 0 : Y,
7512
7500
  collisionDetection: ad,
@@ -7514,11 +7502,11 @@ function c2({
7514
7502
  onDragEnd: x,
7515
7503
  onDragCancel: H,
7516
7504
  children: [
7517
- /* @__PURE__ */ m.jsx(Nu, { items: a.map(($) => $.id), strategy: co, children: /* @__PURE__ */ m.jsxs("div", { className: "flex flex-wrap gap-3", children: [
7505
+ /* @__PURE__ */ m.jsx(Nc, { items: a.map(($) => $.id), strategy: uo, children: /* @__PURE__ */ m.jsxs("div", { className: "flex flex-wrap gap-3", children: [
7518
7506
  a.map(($) => {
7519
7507
  const _ = $.status === "uploading", F = $.status === "error";
7520
7508
  return /* @__PURE__ */ m.jsx(
7521
- Bu,
7509
+ Bc,
7522
7510
  {
7523
7511
  item: $,
7524
7512
  isHovered: f === $.id,
@@ -7546,7 +7534,7 @@ function c2({
7546
7534
  "button",
7547
7535
  {
7548
7536
  type: "button",
7549
- onClick: se,
7537
+ onClick: de,
7550
7538
  disabled: r,
7551
7539
  className: Pe(
7552
7540
  P,
@@ -7561,7 +7549,7 @@ function c2({
7561
7549
  )
7562
7550
  ] }) }),
7563
7551
  (() => {
7564
- const $ = /* @__PURE__ */ m.jsx(yu, { children: v ? (() => {
7552
+ const $ = /* @__PURE__ */ m.jsx(yc, { children: v ? (() => {
7565
7553
  const _ = a.find((F) => F.id === v);
7566
7554
  return _ ? /* @__PURE__ */ m.jsx("div", { className: "pointer-events-none", children: /* @__PURE__ */ m.jsx(
7567
7555
  "img",
@@ -7595,7 +7583,7 @@ function c2({
7595
7583
  {
7596
7584
  type: "button",
7597
7585
  className: "absolute left-6 top-1/2 -translate-y-1/2 rounded-full bg-white/10 p-3 text-white shadow-lg transition hover:bg-white/20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",
7598
- onClick: () => c(($) => $ === null ? $ : ($ - 1 + a.length) % a.length),
7586
+ onClick: () => u(($) => $ === null ? $ : ($ - 1 + a.length) % a.length),
7599
7587
  "aria-label": "Précédent",
7600
7588
  children: /* @__PURE__ */ m.jsx("svg", { viewBox: "0 0 24 24", className: "h-6 w-6", stroke: "currentColor", strokeWidth: 2, fill: "none", children: /* @__PURE__ */ m.jsx("path", { d: "M15 18l-6-6 6-6", strokeLinecap: "round", strokeLinejoin: "round" }) })
7601
7589
  }
@@ -7614,7 +7602,7 @@ function c2({
7614
7602
  {
7615
7603
  type: "button",
7616
7604
  className: "absolute right-3 top-3 inline-flex size-9 items-center justify-center rounded-full bg-black/70 text-white transition hover:bg-black focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",
7617
- onClick: () => c(null),
7605
+ onClick: () => u(null),
7618
7606
  "aria-label": "Fermer",
7619
7607
  children: /* @__PURE__ */ m.jsx(Fi, { className: "h-5 w-5" })
7620
7608
  }
@@ -7625,7 +7613,7 @@ function c2({
7625
7613
  {
7626
7614
  type: "button",
7627
7615
  className: "absolute right-6 top-1/2 -translate-y-1/2 rounded-full bg-white/10 p-3 text-white shadow-lg transition hover:bg-white/20 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white",
7628
- onClick: () => c(($) => $ === null ? $ : ($ + 1) % a.length),
7616
+ onClick: () => u(($) => $ === null ? $ : ($ + 1) % a.length),
7629
7617
  "aria-label": "Suivant",
7630
7618
  children: /* @__PURE__ */ m.jsx("svg", { viewBox: "0 0 24 24", className: "h-6 w-6", stroke: "currentColor", strokeWidth: 2, fill: "none", children: /* @__PURE__ */ m.jsx("path", { d: "M9 6l6 6-6 6", strokeLinecap: "round", strokeLinejoin: "round" }) })
7631
7619
  }
@@ -7638,8 +7626,8 @@ function c2({
7638
7626
  const Ea = C.createContext(null);
7639
7627
  function f2({ children: e, value: t, defaultValue: n, onChange: r }) {
7640
7628
  const o = t !== void 0, [i, a] = C.useState(n ?? Br), s = t ?? i, l = C.useCallback(
7641
- (u) => {
7642
- o || a(u), r?.(u);
7629
+ (c) => {
7630
+ o || a(c), r?.(c);
7643
7631
  },
7644
7632
  [o, r]
7645
7633
  ), d = C.useMemo(
@@ -7652,17 +7640,17 @@ function f2({ children: e, value: t, defaultValue: n, onChange: r }) {
7652
7640
  return /* @__PURE__ */ m.jsx(Ea.Provider, { value: d, children: e });
7653
7641
  }
7654
7642
  const Br = "en";
7655
- function zu(e) {
7643
+ function zc(e) {
7656
7644
  const n = (e.split("-")[0] ?? "").replace(/[^A-Za-z]/g, "");
7657
7645
  return n ? n.slice(0, 3).toUpperCase() : "?";
7658
7646
  }
7659
- function Vu(e) {
7647
+ function Vc(e) {
7660
7648
  return e.normalize("NFD").replace(/[\u0300-\u036f]/g, "");
7661
7649
  }
7662
7650
  function Gr(e) {
7663
- return Vu(e).toLowerCase();
7651
+ return Vc(e).toLowerCase();
7664
7652
  }
7665
- function Wu(e, t) {
7653
+ function Wc(e, t) {
7666
7654
  if (Object.prototype.hasOwnProperty.call(e, t))
7667
7655
  return e[t] ?? "";
7668
7656
  const n = t.split("-").filter(Boolean);
@@ -7691,7 +7679,7 @@ function Sr(e, t) {
7691
7679
  return;
7692
7680
  }
7693
7681
  }
7694
- function Hu(e, t) {
7682
+ function Hc(e, t) {
7695
7683
  const n = qo(e, "language"), r = qo("en", "language");
7696
7684
  return (t ?? []).filter((i) => typeof i == "string" && i.length > 0).map((i) => {
7697
7685
  const a = Sr(n, i) ?? Sr(r, i) ?? i;
@@ -7710,7 +7698,7 @@ function Hu(e, t) {
7710
7698
  };
7711
7699
  }).sort((i, a) => i.name.localeCompare(a.name));
7712
7700
  }
7713
- const Yu = {
7701
+ const Yc = {
7714
7702
  control: () => ({
7715
7703
  display: "none"
7716
7704
  }),
@@ -7743,8 +7731,8 @@ const Yu = {
7743
7731
  fontSize: "0.875rem",
7744
7732
  color: "hsl(var(--muted-foreground))"
7745
7733
  })
7746
- }, Ku = () => /* @__PURE__ */ m.jsx("div", { style: { display: "none" } }), zn = () => null;
7747
- function Xu(e) {
7734
+ }, Kc = () => /* @__PURE__ */ m.jsx("div", { style: { display: "none" } }), zn = () => null;
7735
+ function Xc(e) {
7748
7736
  const { data: t, innerRef: n, innerProps: r, isFocused: o, isSelected: i } = e;
7749
7737
  return /* @__PURE__ */ m.jsxs(
7750
7738
  "div",
@@ -7762,7 +7750,7 @@ function Xu(e) {
7762
7750
  }
7763
7751
  );
7764
7752
  }
7765
- const qu = C.forwardRef(
7753
+ const qc = C.forwardRef(
7766
7754
  function(t, n) {
7767
7755
  const {
7768
7756
  value: r,
@@ -7772,8 +7760,8 @@ const qu = C.forwardRef(
7772
7760
  onChange: s,
7773
7761
  onLocaleChange: l,
7774
7762
  locales: d,
7775
- multiline: u,
7776
- className: c,
7763
+ multiline: c,
7764
+ className: u,
7777
7765
  inputClassName: f,
7778
7766
  selectProps: g,
7779
7767
  selectFooter: v,
@@ -7782,8 +7770,8 @@ const qu = C.forwardRef(
7782
7770
  ...N
7783
7771
  } = t, { rows: S, ...I } = N, A = C.useMemo(() => r ?? o ?? {}, [o, r]), [V, U] = C.useState(A), T = r !== void 0, y = T ? r ?? {} : V, [D, Y] = C.useState(""), K = C.useContext(Ea), W = C.useMemo(() => {
7784
7772
  const O = Array.from(/* @__PURE__ */ new Set([...d ?? [], ...Object.keys(y)]));
7785
- return Hu(void 0, O);
7786
- }, [y, d]), se = C.useMemo(() => i ?? K?.locale ?? a ?? Object.keys(y)[0] ?? W[0]?.value ?? Br, [y, a, K?.locale, W, i]), [re, pe] = C.useState(se), Q = i ?? K?.locale ?? re;
7773
+ return Hc(void 0, O);
7774
+ }, [y, d]), de = C.useMemo(() => i ?? K?.locale ?? a ?? Object.keys(y)[0] ?? W[0]?.value ?? Br, [y, a, K?.locale, W, i]), [re, pe] = C.useState(de), Q = i ?? K?.locale ?? re;
7787
7775
  C.useEffect(() => {
7788
7776
  T || U(A);
7789
7777
  }, [A, T]), C.useEffect(() => {
@@ -7795,25 +7783,25 @@ const qu = C.forwardRef(
7795
7783
  C.useImperativeHandle(n, () => h.current, []);
7796
7784
  const k = (O) => {
7797
7785
  if (!O) return;
7798
- const ue = O.value;
7799
- T || pe(ue), l?.(ue, O), K?.setLocale(ue), be(!0);
7786
+ const ce = O.value;
7787
+ T || pe(ce), l?.(ce, O), K?.setLocale(ce), be(!0);
7800
7788
  }, z = (O) => {
7801
- const ue = {
7789
+ const ce = {
7802
7790
  ...y,
7803
7791
  [Q]: O.target.value
7804
7792
  };
7805
- T || U(ue), s?.(ue);
7806
- }, B = Wu(y, Q), G = C.useCallback(
7793
+ T || U(ce), s?.(ce);
7794
+ }, B = Wc(y, Q), G = C.useCallback(
7807
7795
  (O) => {
7808
7796
  if (!D) return !0;
7809
- const ue = Gr(D);
7810
- return O.data.searchable.some((ie) => ie.includes(ue));
7797
+ const ce = Gr(D);
7798
+ return O.data.searchable.some((ie) => ie.includes(ce));
7811
7799
  },
7812
7800
  [D]
7813
- ), ee = u ? "left-2 top-2 -translate-y-0" : "left-3 top-1/2 -translate-y-1/2", le = "pl-10 pr-3", he = C.useCallback(() => {
7814
- const O = E.current, ue = P.current;
7815
- if (!O || !ue) return;
7816
- const ie = O.getBoundingClientRect(), Fe = ue.getBoundingClientRect();
7801
+ ), ee = c ? "left-2 top-2 -translate-y-0" : "left-3 top-1/2 -translate-y-1/2", se = "pl-10 pr-3", he = C.useCallback(() => {
7802
+ const O = E.current, ce = P.current;
7803
+ if (!O || !ce) return;
7804
+ const ie = O.getBoundingClientRect(), Fe = ce.getBoundingClientRect();
7817
7805
  te({
7818
7806
  left: ie.left - Fe.left,
7819
7807
  top: ie.bottom - Fe.top + 4
@@ -7822,8 +7810,8 @@ const qu = C.forwardRef(
7822
7810
  const O = h.current;
7823
7811
  if (!O) return;
7824
7812
  O.focus();
7825
- const ue = F.current;
7826
- ue && ue.start != null && ue.end != null && O.setSelectionRange(ue.start, ue.end);
7813
+ const ce = F.current;
7814
+ ce && ce.start != null && ce.end != null && O.setSelectionRange(ce.start, ce.end);
7827
7815
  }, []);
7828
7816
  C.useEffect(() => {
7829
7817
  if (!x) return;
@@ -7831,9 +7819,9 @@ const qu = C.forwardRef(
7831
7819
  O && requestAnimationFrame(() => {
7832
7820
  if (document.activeElement === O) return;
7833
7821
  O.focus();
7834
- const ue = O.value.length;
7822
+ const ce = O.value.length;
7835
7823
  try {
7836
- O.setSelectionRange(ue, ue);
7824
+ O.setSelectionRange(ce, ce);
7837
7825
  } catch {
7838
7826
  }
7839
7827
  });
@@ -7853,23 +7841,23 @@ const qu = C.forwardRef(
7853
7841
  noOptionsMessage: Et,
7854
7842
  ...It
7855
7843
  } = g ?? {}, At = C.useMemo(() => {
7856
- const O = Gr(D), ue = (ie) => {
7844
+ const O = Gr(D), ce = (ie) => {
7857
7845
  const Fe = ie.code.toLowerCase();
7858
7846
  return O && Fe === O ? 0 : O && Fe.startsWith(O) ? 1 : O && ie.searchable.some((Se) => Se.startsWith(O)) ? 2 : O && ie.searchable.some((Se) => Se.includes(O)) ? 3 : 4;
7859
7847
  };
7860
7848
  return W.filter((ie) => G({ data: ie })).sort((ie, Fe) => {
7861
- const Se = ue(ie) - ue(Fe);
7849
+ const Se = ce(ie) - ce(Fe);
7862
7850
  return Se !== 0 ? Se : ie.name.localeCompare(Fe.name);
7863
7851
  });
7864
7852
  }, [G, W, D]), Tt = C.useMemo(
7865
7853
  () => ({
7866
- Control: Ku,
7854
+ Control: Kc,
7867
7855
  IndicatorsContainer: zn,
7868
7856
  DropdownIndicator: zn,
7869
7857
  IndicatorSeparator: zn,
7870
7858
  ValueContainer: zn,
7871
7859
  MenuList: (O) => {
7872
- const { children: ue } = O;
7860
+ const { children: ce } = O;
7873
7861
  return /* @__PURE__ */ m.jsxs(hs.MenuList, { ...O, className: "!p-0 flex flex-col overflow-hidden", children: [
7874
7862
  /* @__PURE__ */ m.jsx("div", { className: "border-b border-muted px-2 pb-2 pt-2", children: /* @__PURE__ */ m.jsx(
7875
7863
  "input",
@@ -7894,17 +7882,17 @@ const qu = C.forwardRef(
7894
7882
  placeholder: "Search language…"
7895
7883
  }
7896
7884
  ) }),
7897
- /* @__PURE__ */ m.jsx("div", { className: "max-h-60 overflow-y-auto", children: ue }),
7885
+ /* @__PURE__ */ m.jsx("div", { className: "max-h-60 overflow-y-auto", children: ce }),
7898
7886
  v ? /* @__PURE__ */ m.jsx("div", { className: "border-t border-muted bg-muted/60 px-3 py-2 text-xs text-muted-foreground", children: v }) : null
7899
7887
  ] });
7900
7888
  },
7901
7889
  ...dt ?? {},
7902
- Option: Xu
7890
+ Option: Xc
7903
7891
  }),
7904
7892
  [be, G, At, k, W, D, v, dt]
7905
- ), ut = C.useMemo(
7893
+ ), ct = C.useMemo(
7906
7894
  () => ({
7907
- ...Yu,
7895
+ ...Yc,
7908
7896
  ...ve ?? {}
7909
7897
  }),
7910
7898
  [ve]
@@ -7929,8 +7917,8 @@ const qu = C.forwardRef(
7929
7917
  },
7930
7918
  className: Pe(
7931
7919
  "w-full rounded-md border border-input bg-background text-base ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
7932
- u ? "min-h-24 py-2" : "h-10 py-2",
7933
- le,
7920
+ c ? "min-h-24 py-2" : "h-10 py-2",
7921
+ se,
7934
7922
  f
7935
7923
  ),
7936
7924
  placeholder: I.placeholder
@@ -7939,13 +7927,13 @@ const qu = C.forwardRef(
7939
7927
  "div",
7940
7928
  {
7941
7929
  ref: ge,
7942
- className: Pe("relative flex flex-col", c),
7930
+ className: Pe("relative flex flex-col", u),
7943
7931
  onBlur: (O) => {
7944
7932
  ae(O.relatedTarget) || be(!1);
7945
7933
  },
7946
7934
  children: [
7947
7935
  /* @__PURE__ */ m.jsxs("div", { ref: P, className: "relative", children: [
7948
- u ? /* @__PURE__ */ m.jsx("textarea", { rows: S, ...tt }) : /* @__PURE__ */ m.jsx("input", { type: "text", ...tt }),
7936
+ c ? /* @__PURE__ */ m.jsx("textarea", { rows: S, ...tt }) : /* @__PURE__ */ m.jsx("input", { type: "text", ...tt }),
7949
7937
  /* @__PURE__ */ m.jsx(
7950
7938
  "button",
7951
7939
  {
@@ -7971,7 +7959,7 @@ const qu = C.forwardRef(
7971
7959
  tabIndex: p,
7972
7960
  disabled: b,
7973
7961
  ref: E,
7974
- children: /* @__PURE__ */ m.jsx("span", { "aria-hidden": "true", children: J ? zu(J.code) : "?" })
7962
+ children: /* @__PURE__ */ m.jsx("span", { "aria-hidden": "true", children: J ? zc(J.code) : "?" })
7975
7963
  }
7976
7964
  )
7977
7965
  ] }),
@@ -7995,7 +7983,7 @@ const qu = C.forwardRef(
7995
7983
  onChange: k,
7996
7984
  classNamePrefix: qe ?? "i18n-language-select",
7997
7985
  components: Tt,
7998
- styles: ut,
7986
+ styles: ct,
7999
7987
  isClearable: !1,
8000
7988
  isSearchable: !1,
8001
7989
  backspaceRemovesValue: !1,
@@ -8015,7 +8003,7 @@ const qu = C.forwardRef(
8015
8003
  );
8016
8004
  }
8017
8005
  );
8018
- qu.displayName = "I18nField";
8006
+ qc.displayName = "I18nField";
8019
8007
  const Ia = { 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]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-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", "(?:[27]\\d{3}|8776)\\d{4}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[278]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{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, "528[89]"], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "[5-9]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-9]"]]]], ET: ["251", "00", "(?:11|[2-579]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-579]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{6})", "$1", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|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", ["[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["1(?:6|8[06])", "1(?:6|8[06]0)"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,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", "(?:33622|8\\d{8})\\d{5}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "33622|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", ["2(?:[0367]|4[3-8])"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["2(?:[0367]|4[3-8])"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|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{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5[45]"], "0$1"], ["(\\d{4})(\\d{5})", "$1-$2", ["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8"], "0$1"], ["(\\d{3})(\\d{6})", "$1-$2", ["[5-7]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\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}"]]], 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", "59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[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, 0, [["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}", [10]], ["9\\d{9}", [10]], ["8(?:0[04]|108\\d{3})\\d{7}"], ["80[39]\\d{7}", [10]], ["808\\d{7}", [10]]], "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, [["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?: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-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-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]|33|44|66|77|88)[2-9]\\d{6}"], 0, 0, 0, ["305209\\d{4}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|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}"]]] } };
8020
8008
  function fo(e, t) {
8021
8009
  var n = Array.prototype.slice.call(t);
@@ -8032,9 +8020,9 @@ function Jo(e, t) {
8032
8020
  }
8033
8021
  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;
8034
8022
  }
8035
- var Ju = {}.constructor;
8023
+ var Jc = {}.constructor;
8036
8024
  function _t(e) {
8037
- return e != null && e.constructor === Ju;
8025
+ return e != null && e.constructor === Jc;
8038
8026
  }
8039
8027
  function zt(e) {
8040
8028
  "@babel/helpers - typeof";
@@ -8044,23 +8032,23 @@ function zt(e) {
8044
8032
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8045
8033
  }, zt(e);
8046
8034
  }
8047
- function cr(e, t) {
8035
+ function ur(e, t) {
8048
8036
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
8049
8037
  }
8050
- function Zu(e, t) {
8038
+ function Zc(e, t) {
8051
8039
  for (var n = 0; n < t.length; n++) {
8052
8040
  var r = t[n];
8053
- r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Qu(r.key), r);
8041
+ r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Qc(r.key), r);
8054
8042
  }
8055
8043
  }
8056
8044
  function fr(e, t, n) {
8057
- return t && Zu(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8045
+ return t && Zc(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8058
8046
  }
8059
- function Qu(e) {
8060
- var t = ec(e, "string");
8047
+ function Qc(e) {
8048
+ var t = eu(e, "string");
8061
8049
  return zt(t) == "symbol" ? t : t + "";
8062
8050
  }
8063
- function ec(e, t) {
8051
+ function eu(e, t) {
8064
8052
  if (zt(e) != "object" || !e) return e;
8065
8053
  var n = e[Symbol.toPrimitive];
8066
8054
  if (n !== void 0) {
@@ -8070,9 +8058,9 @@ function ec(e, t) {
8070
8058
  }
8071
8059
  return String(e);
8072
8060
  }
8073
- var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__ */ (function() {
8061
+ var tu = "1.2.0", nu = "1.7.35", Zo = " ext. ", ru = /^\d+$/, Ae = /* @__PURE__ */ (function() {
8074
8062
  function e(t) {
8075
- cr(this, e), Aa(t), this.metadata = t, Ta.call(this, t);
8063
+ ur(this, e), Aa(t), this.metadata = t, Ta.call(this, t);
8076
8064
  }
8077
8065
  return fr(e, [{
8078
8066
  key: "getCountries",
@@ -8125,7 +8113,7 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8125
8113
  }, {
8126
8114
  key: "selectNumberingPlan",
8127
8115
  value: function(n, r) {
8128
- if (n && rc.test(n) && (r = n, n = null), n && n !== "001") {
8116
+ if (n && ru.test(n) && (r = n, n = null), n && n !== "001") {
8129
8117
  if (!this.hasCountry(n))
8130
8118
  throw new Error("Unknown country: ".concat(n));
8131
8119
  this.numberingPlan = new Qo(this.getCountryMetadata(n), this);
@@ -8258,7 +8246,7 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8258
8246
  }]);
8259
8247
  })(), Qo = /* @__PURE__ */ (function() {
8260
8248
  function e(t, n) {
8261
- cr(this, e), this.globalMetadataObject = n, this.metadata = t, Ta.call(this, n.metadata);
8249
+ ur(this, e), this.globalMetadataObject = n, this.metadata = t, Ta.call(this, n.metadata);
8262
8250
  }
8263
8251
  return fr(e, [{
8264
8252
  key: "callingCode",
@@ -8315,7 +8303,7 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8315
8303
  value: function() {
8316
8304
  var n = this, r = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
8317
8305
  return r.map(function(o) {
8318
- return new oc(o, n);
8306
+ return new ou(o, n);
8319
8307
  });
8320
8308
  }
8321
8309
  }, {
@@ -8384,7 +8372,7 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8384
8372
  key: "type",
8385
8373
  value: function(n) {
8386
8374
  if (this.hasTypes() && ei(this.types(), n))
8387
- return new ac(ei(this.types(), n), this);
8375
+ return new au(ei(this.types(), n), this);
8388
8376
  }
8389
8377
  }, {
8390
8378
  key: "ext",
@@ -8392,9 +8380,9 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8392
8380
  return this.v1 || this.v2 ? Zo : this.metadata[13] || Zo;
8393
8381
  }
8394
8382
  }]);
8395
- })(), oc = /* @__PURE__ */ (function() {
8383
+ })(), ou = /* @__PURE__ */ (function() {
8396
8384
  function e(t, n) {
8397
- cr(this, e), this._format = t, this.metadata = n;
8385
+ ur(this, e), this._format = t, this.metadata = n;
8398
8386
  }
8399
8387
  return fr(e, [{
8400
8388
  key: "pattern",
@@ -8431,7 +8419,7 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8431
8419
  key: "usesNationalPrefix",
8432
8420
  value: function() {
8433
8421
  return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
8434
- !ic.test(this.nationalPrefixFormattingRule()));
8422
+ !iu.test(this.nationalPrefixFormattingRule()));
8435
8423
  }
8436
8424
  }, {
8437
8425
  key: "internationalFormat",
@@ -8439,9 +8427,9 @@ var tc = "1.2.0", nc = "1.7.35", Zo = " ext. ", rc = /^\d+$/, Ae = /* @__PURE__
8439
8427
  return this._format[5] || this.format();
8440
8428
  }
8441
8429
  }]);
8442
- })(), ic = /^\(?\$1\)?$/, ac = /* @__PURE__ */ (function() {
8430
+ })(), iu = /^\(?\$1\)?$/, au = /* @__PURE__ */ (function() {
8443
8431
  function e(t, n) {
8444
- cr(this, e), this.type = t, this.metadata = n;
8432
+ ur(this, e), this.type = t, this.metadata = n;
8445
8433
  }
8446
8434
  return fr(e, [{
8447
8435
  key: "pattern",
@@ -8484,9 +8472,9 @@ function Aa(e) {
8484
8472
  if (!e)
8485
8473
  throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
8486
8474
  if (!_t(e) || !_t(e.countries))
8487
- 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(_t(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + sc(e) + ": " + e, "."));
8475
+ 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(_t(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + su(e) + ": " + e, "."));
8488
8476
  }
8489
- var sc = function(t) {
8477
+ var su = function(t) {
8490
8478
  return zt(t);
8491
8479
  };
8492
8480
  function gr(e, t) {
@@ -8496,12 +8484,12 @@ function gr(e, t) {
8496
8484
  }
8497
8485
  function Ta(e) {
8498
8486
  var t = e.version;
8499
- typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Jo(t, tc) === -1 ? this.v2 = !0 : Jo(t, nc) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
8487
+ typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? Jo(t, tu) === -1 ? this.v2 = !0 : Jo(t, nu) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
8500
8488
  }
8501
8489
  function Tn(e, t, n) {
8502
- return lc(e, t, void 0, n);
8490
+ return lu(e, t, void 0, n);
8503
8491
  }
8504
- function lc(e, t, n, r) {
8492
+ function lu(e, t, n, r) {
8505
8493
  t && (r = new Ae(r.metadata), r.selectNumberingPlan(t));
8506
8494
  var o = r.type(n), i = o && o.possibleLengths() || r.possibleLengths();
8507
8495
  if (!i)
@@ -8509,7 +8497,7 @@ function lc(e, t, n, r) {
8509
8497
  var a = e.length, s = i[0];
8510
8498
  return s === a ? "IS_POSSIBLE" : s > a ? "TOO_SHORT" : i[i.length - 1] < a ? "TOO_LONG" : i.indexOf(a, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
8511
8499
  }
8512
- function dc(e, t, n) {
8500
+ function du(e, t, n) {
8513
8501
  if (t === void 0 && (t = {}), n = new Ae(n), t.v2) {
8514
8502
  if (!e.countryCallingCode)
8515
8503
  throw new Error("Invalid phone number object passed");
@@ -8548,10 +8536,10 @@ function Ra(e, t, n) {
8548
8536
  function vt(e, t) {
8549
8537
  return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
8550
8538
  }
8551
- function uc(e, t) {
8539
+ function cu(e, t) {
8552
8540
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8553
8541
  if (n) return (n = n.call(e)).next.bind(n);
8554
- if (Array.isArray(e) || (n = cc(e)) || t) {
8542
+ if (Array.isArray(e) || (n = uu(e)) || t) {
8555
8543
  n && (e = n);
8556
8544
  var r = 0;
8557
8545
  return function() {
@@ -8561,7 +8549,7 @@ function uc(e, t) {
8561
8549
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8562
8550
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8563
8551
  }
8564
- function cc(e, t) {
8552
+ function uu(e, t) {
8565
8553
  if (e) {
8566
8554
  if (typeof e == "string") return ti(e, t);
8567
8555
  var n = {}.toString.call(e).slice(8, -1);
@@ -8573,7 +8561,7 @@ function ti(e, t) {
8573
8561
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
8574
8562
  return r;
8575
8563
  }
8576
- var fc = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
8564
+ var fu = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
8577
8565
  function go(e, t, n) {
8578
8566
  if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
8579
8567
  n = new Ae(n), n.selectNumberingPlan(e.country, e.countryCallingCode);
@@ -8581,7 +8569,7 @@ function go(e, t, n) {
8581
8569
  if (vt(r, n.nationalNumberPattern())) {
8582
8570
  if (Pr(r, "FIXED_LINE", n))
8583
8571
  return n.type("MOBILE") && n.type("MOBILE").pattern() === "" || !n.type("MOBILE") || Pr(r, "MOBILE", n) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
8584
- for (var o = uc(fc), i; !(i = o()).done; ) {
8572
+ for (var o = cu(fu), i; !(i = o()).done; ) {
8585
8573
  var a = i.value;
8586
8574
  if (Pr(r, a, n))
8587
8575
  return a;
@@ -8592,23 +8580,23 @@ function go(e, t, n) {
8592
8580
  function Pr(e, t, n) {
8593
8581
  return t = n.type(t), !t || !t.pattern() || t.possibleLengths() && t.possibleLengths().indexOf(e.length) < 0 ? !1 : vt(e, t.pattern());
8594
8582
  }
8595
- function gc(e, t, n) {
8583
+ function gu(e, t, n) {
8596
8584
  if (t = t || {}, n = new Ae(n), n.selectNumberingPlan(e.country, e.countryCallingCode), n.hasTypes())
8597
8585
  return go(e, t, n.metadata) !== void 0;
8598
8586
  var r = t.v2 ? e.nationalNumber : e.phone;
8599
8587
  return vt(r, n.nationalNumberPattern());
8600
8588
  }
8601
- function hc(e, t, n) {
8589
+ function hu(e, t, n) {
8602
8590
  var r = new Ae(n), o = r.getCountryCodesForCallingCode(e);
8603
8591
  return o ? o.filter(function(i) {
8604
- return $c(t, i, n);
8592
+ return $u(t, i, n);
8605
8593
  }) : [];
8606
8594
  }
8607
- function $c(e, t, n) {
8595
+ function $u(e, t, n) {
8608
8596
  var r = new Ae(n);
8609
8597
  return r.selectNumberingPlan(t), r.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
8610
8598
  }
8611
- var ho = 2, mc = 17, pc = 3, We = "0-90-9٠-٩۰-۹", bc = "-‐-―−ー-", vc = "//", yc = "..", xc = "  ­​⁠ ", wc = "()()[]\\[\\]", Cc = "~⁓∼~", at = "".concat(bc).concat(vc).concat(yc).concat(xc).concat(wc).concat(Cc), hr = "++", Nc = new RegExp("([" + We + "])");
8599
+ var ho = 2, mu = 17, pu = 3, We = "0-90-9٠-٩۰-۹", bu = "-‐-―−ー-", vu = "//", yu = "..", xu = "  ­​⁠ ", wu = "()()[]\\[\\]", Cu = "~⁓∼~", at = "".concat(bu).concat(vu).concat(yu).concat(xu).concat(wu).concat(Cu), hr = "++", Nu = new RegExp("([" + We + "])");
8612
8600
  function ka(e, t, n, r) {
8613
8601
  if (t) {
8614
8602
  var o = new Ae(r);
@@ -8616,7 +8604,7 @@ function ka(e, t, n, r) {
8616
8604
  var i = new RegExp(o.IDDPrefix());
8617
8605
  if (e.search(i) === 0) {
8618
8606
  e = e.slice(e.match(i)[0].length);
8619
- var a = e.match(Nc);
8607
+ var a = e.match(Nu);
8620
8608
  if (!(a && a[1] != null && a[1].length > 0 && a[1] === "0"))
8621
8609
  return e;
8622
8610
  }
@@ -8635,8 +8623,8 @@ function zr(e, t) {
8635
8623
  }
8636
8624
  var d;
8637
8625
  if (s) {
8638
- var u = e.indexOf(r[1]), c = e.slice(0, u);
8639
- c === t.numberingPlan.nationalPrefix() && (d = t.numberingPlan.nationalPrefix());
8626
+ var c = e.indexOf(r[1]), u = e.slice(0, c);
8627
+ u === t.numberingPlan.nationalPrefix() && (d = t.numberingPlan.nationalPrefix());
8640
8628
  } else
8641
8629
  d = r[0];
8642
8630
  return {
@@ -8650,10 +8638,10 @@ function zr(e, t) {
8650
8638
  nationalNumber: e
8651
8639
  };
8652
8640
  }
8653
- function Sc(e, t) {
8641
+ function Su(e, t) {
8654
8642
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
8655
8643
  if (n) return (n = n.call(e)).next.bind(n);
8656
- if (Array.isArray(e) || (n = Pc(e)) || t) {
8644
+ if (Array.isArray(e) || (n = Pu(e)) || t) {
8657
8645
  n && (e = n);
8658
8646
  var r = 0;
8659
8647
  return function() {
@@ -8663,7 +8651,7 @@ function Sc(e, t) {
8663
8651
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
8664
8652
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8665
8653
  }
8666
- function Pc(e, t) {
8654
+ function Pu(e, t) {
8667
8655
  if (e) {
8668
8656
  if (typeof e == "string") return ni(e, t);
8669
8657
  var n = {}.toString.call(e).slice(8, -1);
@@ -8678,7 +8666,7 @@ function ni(e, t) {
8678
8666
  function Da(e, t) {
8679
8667
  var n = t.countries, r = t.metadata;
8680
8668
  r = new Ae(r);
8681
- for (var o = Sc(n), i; !(i = o()).done; ) {
8669
+ for (var o = Su(n), i; !(i = o()).done; ) {
8682
8670
  var a = i.value;
8683
8671
  if (r.selectNumberingPlan(a), r.leadingDigits()) {
8684
8672
  if (e && e.search(r.leadingDigits()) === 0)
@@ -8701,14 +8689,14 @@ function $o(e, t) {
8701
8689
  function Vr(e, t, n) {
8702
8690
  var r = zr(e, n), o = r.carrierCode, i = r.nationalNumber;
8703
8691
  if (i !== e) {
8704
- if (!Ec(e, i, n))
8692
+ if (!Eu(e, i, n))
8705
8693
  return {
8706
8694
  nationalNumber: e
8707
8695
  };
8708
8696
  if (n.numberingPlan.possibleLengths() && (t || (t = $o(n.numberingPlan.callingCode(), {
8709
8697
  nationalNumber: i,
8710
8698
  metadata: n
8711
- })), !Ic(i, t, n)))
8699
+ })), !Iu(i, t, n)))
8712
8700
  return {
8713
8701
  nationalNumber: e
8714
8702
  };
@@ -8718,10 +8706,10 @@ function Vr(e, t, n) {
8718
8706
  carrierCode: o
8719
8707
  };
8720
8708
  }
8721
- function Ec(e, t, n) {
8709
+ function Eu(e, t, n) {
8722
8710
  return !(vt(e, n.nationalNumberPattern()) && !vt(t, n.nationalNumberPattern()));
8723
8711
  }
8724
- function Ic(e, t, n) {
8712
+ function Iu(e, t, n) {
8725
8713
  switch (Tn(e, t, n)) {
8726
8714
  case "TOO_SHORT":
8727
8715
  case "INVALID_LENGTH":
@@ -8734,8 +8722,8 @@ function Oa(e, t, n, r, o) {
8734
8722
  var i = t || n ? gr(t || n, o) : r;
8735
8723
  if (e.indexOf(i) === 0) {
8736
8724
  o = new Ae(o), o.selectNumberingPlan(t || n, i);
8737
- var a = e.slice(i.length), s = Vr(a, t, o), l = s.nationalNumber, d = Vr(e, t, o), u = d.nationalNumber;
8738
- if (!vt(u, o.nationalNumberPattern()) && vt(l, o.nationalNumberPattern()) || Tn(u, t, o) === "TOO_LONG")
8725
+ var a = e.slice(i.length), s = Vr(a, t, o), l = s.nationalNumber, d = Vr(e, t, o), c = d.nationalNumber;
8726
+ if (!vt(c, o.nationalNumberPattern()) && vt(l, o.nationalNumberPattern()) || Tn(c, t, o) === "TOO_LONG")
8739
8727
  return {
8740
8728
  countryCallingCode: i,
8741
8729
  number: a
@@ -8773,15 +8761,15 @@ function mo(e, t, n, r, o) {
8773
8761
  if (e[1] === "0")
8774
8762
  return {};
8775
8763
  o = new Ae(o);
8776
- for (var u = 2; u - 1 <= pc && u <= e.length; ) {
8777
- var c = e.slice(1, u);
8778
- if (o.hasCallingCode(c))
8779
- return o.selectNumberingPlan(c), {
8764
+ for (var c = 2; c - 1 <= pu && c <= e.length; ) {
8765
+ var u = e.slice(1, c);
8766
+ if (o.hasCallingCode(u))
8767
+ return o.selectNumberingPlan(u), {
8780
8768
  countryCallingCodeSource: i ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
8781
- countryCallingCode: c,
8782
- number: e.slice(u)
8769
+ countryCallingCode: u,
8770
+ number: e.slice(c)
8783
8771
  };
8784
- u++;
8772
+ c++;
8785
8773
  }
8786
8774
  return {};
8787
8775
  }
@@ -8810,34 +8798,34 @@ function Ma(e, t, n) {
8810
8798
  ));
8811
8799
  return r ? _a(i) : i;
8812
8800
  }
8813
- var Ac = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8814
- function Tc(e, t, n) {
8801
+ var Au = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
8802
+ function Tu(e, t, n) {
8815
8803
  var r = new Ae(n);
8816
8804
  if (r.selectNumberingPlan(e, t), r.defaultIDDPrefix())
8817
8805
  return r.defaultIDDPrefix();
8818
- if (Ac.test(r.IDDPrefix()))
8806
+ if (Au.test(r.IDDPrefix()))
8819
8807
  return r.IDDPrefix();
8820
8808
  }
8821
- var Rc = ";ext=", Ut = function(t) {
8809
+ var Ru = ";ext=", Ut = function(t) {
8822
8810
  return "([".concat(We, "]{1,").concat(t, "})");
8823
8811
  };
8824
8812
  function La(e) {
8825
- var t = "20", n = "15", r = "9", o = "6", i = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", s = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", d = "(?:[xx##~~]|int|int)", u = "[- ]+", c = "[  \\t]*", f = "(?:,{2}|;)", g = Rc + Ut(t), v = i + l + a + Ut(t) + s, p = i + d + a + Ut(r) + s, b = u + Ut(o) + "#", N = c + f + a + Ut(n) + s, S = c + "(?:,)+" + a + Ut(r) + s;
8813
+ var t = "20", n = "15", r = "9", o = "6", i = "[  \\t,]*", a = "[:\\..]?[  \\t,-]*", s = "#?", l = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", d = "(?:[xx##~~]|int|int)", c = "[- ]+", u = "[  \\t]*", f = "(?:,{2}|;)", g = Ru + Ut(t), v = i + l + a + Ut(t) + s, p = i + d + a + Ut(r) + s, b = c + Ut(o) + "#", N = u + f + a + Ut(n) + s, S = u + "(?:,)+" + a + Ut(r) + s;
8826
8814
  return g + "|" + v + "|" + p + "|" + b + "|" + N + "|" + S;
8827
8815
  }
8828
- var kc = "[" + We + "]{" + ho + "}", Dc = "[" + hr + "]{0,1}(?:[" + at + "]*[" + We + "]){3,}[" + at + We + "]*", Oc = new RegExp("^[" + hr + "]{0,1}(?:[" + at + "]*[" + We + "]){1,2}$", "i"), _c = Dc + // Phone number extensions
8829
- "(?:" + La() + ")?", Fc = new RegExp(
8816
+ var ku = "[" + We + "]{" + ho + "}", Du = "[" + hr + "]{0,1}(?:[" + at + "]*[" + We + "]){3,}[" + at + We + "]*", Ou = new RegExp("^[" + hr + "]{0,1}(?:[" + at + "]*[" + We + "]){1,2}$", "i"), _u = Du + // Phone number extensions
8817
+ "(?:" + La() + ")?", Fu = new RegExp(
8830
8818
  // Either a short two-digit-only phone number
8831
- "^" + kc + "$|^" + _c + "$",
8819
+ "^" + ku + "$|^" + _u + "$",
8832
8820
  "i"
8833
8821
  );
8834
- function Mc(e) {
8835
- return e.length >= ho && Fc.test(e);
8822
+ function Mu(e) {
8823
+ return e.length >= ho && Fu.test(e);
8836
8824
  }
8837
- function Lc(e) {
8838
- return Oc.test(e);
8825
+ function Lu(e) {
8826
+ return Ou.test(e);
8839
8827
  }
8840
- function jc(e) {
8828
+ function ju(e) {
8841
8829
  var t = e.number, n = e.ext;
8842
8830
  if (!t)
8843
8831
  return "";
@@ -8850,8 +8838,8 @@ var ri = {
8850
8838
  return "".concat(t).concat(r.ext()).concat(n);
8851
8839
  }
8852
8840
  };
8853
- function Uc(e, t, n, r) {
8854
- if (n ? n = zc({}, ri, n) : n = ri, r = new Ae(r), e.country && e.country !== "001") {
8841
+ function Uu(e, t, n, r) {
8842
+ if (n ? n = zu({}, ri, n) : n = ri, r = new Ae(r), e.country && e.country !== "001") {
8855
8843
  if (!r.hasCountry(e.country))
8856
8844
  throw new Error("Unknown country: ".concat(e.country));
8857
8845
  r.selectNumberingPlan(e.country);
@@ -8867,7 +8855,7 @@ function Uc(e, t, n, r) {
8867
8855
  case "E.164":
8868
8856
  return "+".concat(o).concat(i);
8869
8857
  case "RFC3966":
8870
- return jc({
8858
+ return ju({
8871
8859
  number: "+".concat(o).concat(i),
8872
8860
  ext: e.ext
8873
8861
  });
@@ -8878,14 +8866,14 @@ function Uc(e, t, n, r) {
8878
8866
  case "IDD":
8879
8867
  if (!n.fromCountry)
8880
8868
  return;
8881
- var s = Gc(i, e.carrierCode, o, n.fromCountry, r);
8869
+ var s = Gu(i, e.carrierCode, o, n.fromCountry, r);
8882
8870
  return Er(s, e.ext, r, n.formatExtension);
8883
8871
  default:
8884
8872
  throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
8885
8873
  }
8886
8874
  }
8887
8875
  function nr(e, t, n, r, o) {
8888
- var i = Bc(r.formats(), e);
8876
+ var i = Bu(r.formats(), e);
8889
8877
  return i ? Ma(e, i, {
8890
8878
  useInternationalFormat: n === "INTERNATIONAL",
8891
8879
  withNationalPrefix: !(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && o && o.nationalPrefix === !1),
@@ -8893,8 +8881,8 @@ function nr(e, t, n, r, o) {
8893
8881
  metadata: r
8894
8882
  }) : e;
8895
8883
  }
8896
- function Bc(e, t) {
8897
- return Vc(e, function(n) {
8884
+ function Bu(e, t) {
8885
+ return Vu(e, function(n) {
8898
8886
  if (n.leadingDigitsPatterns().length > 0) {
8899
8887
  var r = n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length - 1];
8900
8888
  if (t.search(r) !== 0)
@@ -8906,17 +8894,17 @@ function Bc(e, t) {
8906
8894
  function Er(e, t, n, r) {
8907
8895
  return t ? r(e, t, n) : e;
8908
8896
  }
8909
- function Gc(e, t, n, r, o) {
8897
+ function Gu(e, t, n, r, o) {
8910
8898
  var i = gr(r, o.metadata);
8911
8899
  if (i === n) {
8912
8900
  var a = nr(e, t, "NATIONAL", o);
8913
8901
  return n === "1" ? n + " " + a : a;
8914
8902
  }
8915
- var s = Tc(r, void 0, o.metadata);
8903
+ var s = Tu(r, void 0, o.metadata);
8916
8904
  if (s)
8917
8905
  return "".concat(s, " ").concat(n, " ").concat(nr(e, null, "INTERNATIONAL", o));
8918
8906
  }
8919
- function zc() {
8907
+ function zu() {
8920
8908
  for (var e = 1, t = arguments.length, n = new Array(t), r = 0; r < t; r++)
8921
8909
  n[r] = arguments[r];
8922
8910
  for (; e < n.length; ) {
@@ -8927,7 +8915,7 @@ function zc() {
8927
8915
  }
8928
8916
  return n[0];
8929
8917
  }
8930
- function Vc(e, t) {
8918
+ function Vu(e, t) {
8931
8919
  for (var n = 0; n < e.length; ) {
8932
8920
  if (t(e[n]))
8933
8921
  return e[n];
@@ -8956,33 +8944,33 @@ function ii(e) {
8956
8944
  for (var t = 1; t < arguments.length; t++) {
8957
8945
  var n = arguments[t] != null ? arguments[t] : {};
8958
8946
  t % 2 ? oi(Object(n), !0).forEach(function(r) {
8959
- Wc(e, r, n[r]);
8947
+ Wu(e, r, n[r]);
8960
8948
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oi(Object(n)).forEach(function(r) {
8961
8949
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
8962
8950
  });
8963
8951
  }
8964
8952
  return e;
8965
8953
  }
8966
- function Wc(e, t, n) {
8954
+ function Wu(e, t, n) {
8967
8955
  return (t = ja(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
8968
8956
  }
8969
- function Hc(e, t) {
8957
+ function Hu(e, t) {
8970
8958
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
8971
8959
  }
8972
- function Yc(e, t) {
8960
+ function Yu(e, t) {
8973
8961
  for (var n = 0; n < t.length; n++) {
8974
8962
  var r = t[n];
8975
8963
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, ja(r.key), r);
8976
8964
  }
8977
8965
  }
8978
- function Kc(e, t, n) {
8979
- return t && Yc(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8966
+ function Ku(e, t, n) {
8967
+ return t && Yu(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
8980
8968
  }
8981
8969
  function ja(e) {
8982
- var t = Xc(e, "string");
8970
+ var t = Xu(e, "string");
8983
8971
  return fn(t) == "symbol" ? t : t + "";
8984
8972
  }
8985
- function Xc(e, t) {
8973
+ function Xu(e, t) {
8986
8974
  if (fn(e) != "object" || !e) return e;
8987
8975
  var n = e[Symbol.toPrimitive];
8988
8976
  if (n !== void 0) {
@@ -8994,7 +8982,7 @@ function Xc(e, t) {
8994
8982
  }
8995
8983
  var Ua = /* @__PURE__ */ (function() {
8996
8984
  function e(t, n, r) {
8997
- if (Hc(this, e), !t)
8985
+ if (Hu(this, e), !t)
8998
8986
  throw new TypeError("First argument is required");
8999
8987
  if (typeof t != "string")
9000
8988
  throw new TypeError("First argument must be a string");
@@ -9003,7 +8991,7 @@ var Ua = /* @__PURE__ */ (function() {
9003
8991
  if (_t(n) && _t(n.countries)) {
9004
8992
  r = n;
9005
8993
  var o = t;
9006
- if (!Zc.test(o))
8994
+ if (!Zu.test(o))
9007
8995
  throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
9008
8996
  var i = mo(o, void 0, void 0, void 0, r), a = i.countryCallingCode, s = i.number;
9009
8997
  if (n = s, t = a, !n)
@@ -9014,12 +9002,12 @@ var Ua = /* @__PURE__ */ (function() {
9014
9002
  if (typeof n != "string")
9015
9003
  throw new TypeError("`nationalNumber` argument must be a string");
9016
9004
  Aa(r);
9017
- var l = Jc(t, r), d = l.country, u = l.countryCallingCode;
9018
- this.country = d, this.countryCallingCode = u, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
9005
+ var l = Ju(t, r), d = l.country, c = l.countryCallingCode;
9006
+ this.country = d, this.countryCallingCode = c, this.nationalNumber = n, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
9019
9007
  return r;
9020
9008
  };
9021
9009
  }
9022
- return Kc(e, [{
9010
+ return Ku(e, [{
9023
9011
  key: "setExt",
9024
9012
  value: function(n) {
9025
9013
  this.ext = n;
@@ -9027,19 +9015,19 @@ var Ua = /* @__PURE__ */ (function() {
9027
9015
  }, {
9028
9016
  key: "getPossibleCountries",
9029
9017
  value: function() {
9030
- return this.country ? [this.country] : hc(this.countryCallingCode, this.nationalNumber, this.getMetadata());
9018
+ return this.country ? [this.country] : hu(this.countryCallingCode, this.nationalNumber, this.getMetadata());
9031
9019
  }
9032
9020
  }, {
9033
9021
  key: "isPossible",
9034
9022
  value: function() {
9035
- return dc(this, {
9023
+ return du(this, {
9036
9024
  v2: !0
9037
9025
  }, this.getMetadata());
9038
9026
  }
9039
9027
  }, {
9040
9028
  key: "isValid",
9041
9029
  value: function() {
9042
- return gc(this, {
9030
+ return gu(this, {
9043
9031
  v2: !0
9044
9032
  }, this.getMetadata());
9045
9033
  }
@@ -9078,7 +9066,7 @@ var Ua = /* @__PURE__ */ (function() {
9078
9066
  }, {
9079
9067
  key: "format",
9080
9068
  value: function(n, r) {
9081
- return Uc(this, n, r ? ii(ii({}, r), {}, {
9069
+ return Uu(this, n, r ? ii(ii({}, r), {}, {
9082
9070
  v2: !0
9083
9071
  }) : {
9084
9072
  v2: !0
@@ -9100,17 +9088,17 @@ var Ua = /* @__PURE__ */ (function() {
9100
9088
  return this.format("RFC3966", n);
9101
9089
  }
9102
9090
  }]);
9103
- })(), qc = function(t) {
9091
+ })(), qu = function(t) {
9104
9092
  return /^[A-Z]{2}$/.test(t);
9105
9093
  };
9106
- function Jc(e, t) {
9094
+ function Ju(e, t) {
9107
9095
  var n, r, o = new Ae(t);
9108
- return qc(e) ? (n = e, o.selectNumberingPlan(n), r = o.countryCallingCode()) : r = e, {
9096
+ return qu(e) ? (n = e, o.selectNumberingPlan(n), r = o.countryCallingCode()) : r = e, {
9109
9097
  country: n,
9110
9098
  countryCallingCode: r
9111
9099
  };
9112
9100
  }
9113
- var Zc = /^\+\d+$/;
9101
+ var Zu = /^\+\d+$/;
9114
9102
  function Wr(e) {
9115
9103
  "@babel/helpers - typeof";
9116
9104
  return Wr = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -9119,7 +9107,7 @@ function Wr(e) {
9119
9107
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
9120
9108
  }, Wr(e);
9121
9109
  }
9122
- function Qc(e, t, n) {
9110
+ function Qu(e, t, n) {
9123
9111
  return Object.defineProperty(e, "prototype", { writable: !1 }), e;
9124
9112
  }
9125
9113
  function e0(e, t) {
@@ -9195,7 +9183,7 @@ var bt = /* @__PURE__ */ (function(e) {
9195
9183
  var r;
9196
9184
  return e0(this, t), r = t0(this, t, [n]), Object.setPrototypeOf(r, t.prototype), r.name = r.constructor.name, r;
9197
9185
  }
9198
- return o0(t, e), Qc(t);
9186
+ return o0(t, e), Qu(t);
9199
9187
  })(/* @__PURE__ */ Hr(Error)), ai = new RegExp("(?:" + La() + ")$", "i");
9200
9188
  function s0(e) {
9201
9189
  var t = e.search(ai);
@@ -9235,7 +9223,7 @@ function si(e, t) {
9235
9223
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
9236
9224
  return r;
9237
9225
  }
9238
- var u0 = {
9226
+ var c0 = {
9239
9227
  0: "0",
9240
9228
  1: "1",
9241
9229
  2: "2",
@@ -9308,7 +9296,7 @@ var u0 = {
9308
9296
  // Eastern-Arabic digit 9
9309
9297
  };
9310
9298
  function Ba(e) {
9311
- return u0[e];
9299
+ return c0[e];
9312
9300
  }
9313
9301
  function rr(e) {
9314
9302
  for (var t = "", n = l0(e.split("")), r; !(r = n()).done; ) {
@@ -9317,7 +9305,7 @@ function rr(e) {
9317
9305
  }
9318
9306
  return t;
9319
9307
  }
9320
- function c0(e, t) {
9308
+ function u0(e, t) {
9321
9309
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
9322
9310
  if (n) return (n = n.call(e)).next.bind(n);
9323
9311
  if (Array.isArray(e) || (n = f0(e)) || t) {
@@ -9343,7 +9331,7 @@ function li(e, t) {
9343
9331
  return r;
9344
9332
  }
9345
9333
  function di(e) {
9346
- for (var t = "", n = c0(e.split("")), r; !(r = n()).done; ) {
9334
+ for (var t = "", n = u0(e.split("")), r; !(r = n()).done; ) {
9347
9335
  var o = r.value;
9348
9336
  t += g0(o, t) || "";
9349
9337
  }
@@ -9352,7 +9340,7 @@ function di(e) {
9352
9340
  function g0(e, t, n) {
9353
9341
  return e === "+" ? t ? void 0 : "+" : Ba(e);
9354
9342
  }
9355
- var Ga = "+", h0 = "[\\-\\.\\(\\)]?", ui = "([" + We + "]|" + h0 + ")", $0 = "^\\" + Ga + ui + "*[" + We + "]" + ui + "*$", m0 = new RegExp($0, "g"), Yr = We, p0 = "[" + Yr + "]+((\\-)*[" + Yr + "])*", b0 = "a-zA-Z", v0 = "[" + b0 + "]+((\\-)*[" + Yr + "])*", y0 = "^(" + p0 + "\\.)*" + v0 + "\\.?$", x0 = new RegExp(y0, "g"), ci = "tel:", Kr = ";phone-context=", w0 = ";isub=";
9343
+ var Ga = "+", h0 = "[\\-\\.\\(\\)]?", ci = "([" + We + "]|" + h0 + ")", $0 = "^\\" + Ga + ci + "*[" + We + "]" + ci + "*$", m0 = new RegExp($0, "g"), Yr = We, p0 = "[" + Yr + "]+((\\-)*[" + Yr + "])*", b0 = "a-zA-Z", v0 = "[" + b0 + "]+((\\-)*[" + Yr + "])*", y0 = "^(" + p0 + "\\.)*" + v0 + "\\.?$", x0 = new RegExp(y0, "g"), ui = "tel:", Kr = ";phone-context=", w0 = ";isub=";
9356
9344
  function C0(e) {
9357
9345
  var t = e.indexOf(Kr);
9358
9346
  if (t < 0)
@@ -9375,8 +9363,8 @@ function S0(e, t) {
9375
9363
  o = n(e) || "";
9376
9364
  else {
9377
9365
  o = "", r.charAt(0) === Ga && (o += r);
9378
- var i = e.indexOf(ci), a;
9379
- i >= 0 ? a = i + ci.length : a = 0;
9366
+ var i = e.indexOf(ui), a;
9367
+ i >= 0 ? a = i + ui.length : a = 0;
9380
9368
  var s = e.indexOf(Kr);
9381
9369
  o += e.substring(a, s);
9382
9370
  }
@@ -9394,7 +9382,7 @@ function A0(e, t, n) {
9394
9382
  throw a === "TOO_SHORT" ? new bt("TOO_SHORT") : new bt("NOT_A_NUMBER");
9395
9383
  return {};
9396
9384
  }
9397
- var s = D0(o, t.defaultCountry, t.defaultCallingCode, n), l = s.country, d = s.nationalNumber, u = s.countryCallingCode, c = s.countryCallingCodeSource, f = s.carrierCode;
9385
+ var s = D0(o, t.defaultCountry, t.defaultCallingCode, n), l = s.country, d = s.nationalNumber, c = s.countryCallingCode, u = s.countryCallingCodeSource, f = s.carrierCode;
9398
9386
  if (!n.hasSelectedNumberingPlan()) {
9399
9387
  if (t.v2)
9400
9388
  throw new bt("INVALID_COUNTRY");
@@ -9405,19 +9393,19 @@ function A0(e, t, n) {
9405
9393
  throw new bt("TOO_SHORT");
9406
9394
  return {};
9407
9395
  }
9408
- if (d.length > mc) {
9396
+ if (d.length > mu) {
9409
9397
  if (t.v2)
9410
9398
  throw new bt("TOO_LONG");
9411
9399
  return {};
9412
9400
  }
9413
9401
  if (t.v2) {
9414
- var g = new Ua(u, d, n.metadata);
9415
- return l && (g.country = l), f && (g.carrierCode = f), i && (g.ext = i), g.__countryCallingCodeSource = c, g;
9402
+ var g = new Ua(c, d, n.metadata);
9403
+ return l && (g.country = l), f && (g.carrierCode = f), i && (g.ext = i), g.__countryCallingCodeSource = u, g;
9416
9404
  }
9417
9405
  var v = (t.extended ? n.hasSelectedNumberingPlan() : l) ? vt(d, n.nationalNumberPattern()) : !1;
9418
9406
  return t.extended ? {
9419
9407
  country: l,
9420
- countryCallingCode: u,
9408
+ countryCallingCode: c,
9421
9409
  carrierCode: f,
9422
9410
  valid: v,
9423
9411
  possible: v ? !0 : !!(t.extended === !0 && n.possibleLengths() && Ra(d, l, n)),
@@ -9447,8 +9435,8 @@ function R0(e, t, n) {
9447
9435
  });
9448
9436
  if (!r)
9449
9437
  return {};
9450
- if (!Mc(r))
9451
- return Lc(r) ? {
9438
+ if (!Mu(r))
9439
+ return Lu(r) ? {
9452
9440
  error: "TOO_SHORT"
9453
9441
  } : {};
9454
9442
  var o = s0(r);
@@ -9475,16 +9463,16 @@ function D0(e, t, n, r) {
9475
9463
  countryCallingCodeSource: i,
9476
9464
  countryCallingCode: a
9477
9465
  };
9478
- var d = Vr(di(s), l, r), u = d.nationalNumber, c = d.carrierCode, f = $o(a, {
9479
- nationalNumber: u,
9466
+ var d = Vr(di(s), l, r), c = d.nationalNumber, u = d.carrierCode, f = $o(a, {
9467
+ nationalNumber: c,
9480
9468
  metadata: r
9481
9469
  });
9482
9470
  return f && (l = f, f === "001" || r.selectNumberingPlan(l)), {
9483
9471
  country: l,
9484
9472
  countryCallingCode: a,
9485
9473
  countryCallingCodeSource: i,
9486
- nationalNumber: u,
9487
- carrierCode: c
9474
+ nationalNumber: c,
9475
+ carrierCode: u
9488
9476
  };
9489
9477
  }
9490
9478
  function $n(e) {
@@ -9609,8 +9597,8 @@ function W0(e, t) {
9609
9597
  var r, o, i, a, s = [], l = !0, d = !1;
9610
9598
  try {
9611
9599
  if (i = (n = n.call(e)).next, t !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== t); l = !0) ;
9612
- } catch (u) {
9613
- d = !0, o = u;
9600
+ } catch (c) {
9601
+ d = !0, o = c;
9614
9602
  } finally {
9615
9603
  try {
9616
9604
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
@@ -9871,16 +9859,16 @@ function lf(e, t, n) {
9871
9859
  function df(e, t, n) {
9872
9860
  var r = n.metadata, o = n.shouldTryNationalPrefixFormattingRule, i = n.getSeparatorAfterNationalPrefix, a = new RegExp("^(?:".concat(t.pattern(), ")$"));
9873
9861
  if (a.test(e.nationalSignificantNumber))
9874
- return cf(e, t, {
9862
+ return uf(e, t, {
9875
9863
  metadata: r,
9876
9864
  shouldTryNationalPrefixFormattingRule: o,
9877
9865
  getSeparatorAfterNationalPrefix: i
9878
9866
  });
9879
9867
  }
9880
- function uf(e, t, n) {
9868
+ function cf(e, t, n) {
9881
9869
  return Tn(e, t, n) === "IS_POSSIBLE";
9882
9870
  }
9883
- function cf(e, t, n) {
9871
+ function uf(e, t, n) {
9884
9872
  var r = n.metadata, o = n.shouldTryNationalPrefixFormattingRule, i = n.getSeparatorAfterNationalPrefix;
9885
9873
  if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, o(t)) {
9886
9874
  var a = yi(e, t, {
@@ -10191,8 +10179,8 @@ function Xr(e, t, n) {
10191
10179
  }
10192
10180
  switch (t.op) {
10193
10181
  case "|":
10194
- for (var l, d = xi(t.args), u; !(u = d()).done; ) {
10195
- var c = u.value, f = Xr(e, c, n);
10182
+ for (var l, d = xi(t.args), c; !(c = d()).done; ) {
10183
+ var u = c.value, f = Xr(e, u, n);
10196
10184
  if (f) {
10197
10185
  if (f.overflow)
10198
10186
  return f;
@@ -10321,18 +10309,18 @@ var qr = "9", _f = 15, Ff = Kn(qr, _f), Mf = /[- ]/, Lf = function() {
10321
10309
  key: "format",
10322
10310
  value: function(n, r) {
10323
10311
  var o = this;
10324
- if (uf(r.nationalSignificantNumber, r.country, this.metadata))
10312
+ if (cf(r.nationalSignificantNumber, r.country, this.metadata))
10325
10313
  for (var i = Ci(this.matchingFormats), a; !(a = i()).done; ) {
10326
10314
  var s = a.value, l = df(r, s, {
10327
10315
  metadata: this.metadata,
10328
- shouldTryNationalPrefixFormattingRule: function(u) {
10329
- return o.shouldTryNationalPrefixFormattingRule(u, {
10316
+ shouldTryNationalPrefixFormattingRule: function(c) {
10317
+ return o.shouldTryNationalPrefixFormattingRule(c, {
10330
10318
  international: r.international,
10331
10319
  nationalPrefix: r.nationalPrefix
10332
10320
  });
10333
10321
  },
10334
- getSeparatorAfterNationalPrefix: function(u) {
10335
- return o.getSeparatorAfterNationalPrefix(u);
10322
+ getSeparatorAfterNationalPrefix: function(c) {
10323
+ return o.getSeparatorAfterNationalPrefix(c);
10336
10324
  }
10337
10325
  });
10338
10326
  if (l)
@@ -10390,8 +10378,8 @@ var qr = "9", _f = 15, Ff = Kn(qr, _f), Mf = /[- ]/, Lf = function() {
10390
10378
  value: function(n) {
10391
10379
  for (var r = this, o = function() {
10392
10380
  var d = s.value;
10393
- return r.chosenFormat === d ? 0 : Uf.test(r.getFormatFormat(d, n.international)) ? r.createTemplateForFormat(d, n) ? (r.chosenFormat = d, 0) : (r.matchingFormats = r.matchingFormats.filter(function(u) {
10394
- return u !== d;
10381
+ return r.chosenFormat === d ? 0 : Uf.test(r.getFormatFormat(d, n.international)) ? r.createTemplateForFormat(d, n) ? (r.chosenFormat = d, 0) : (r.matchingFormats = r.matchingFormats.filter(function(c) {
10382
+ return c !== d;
10395
10383
  }), 1) : 1;
10396
10384
  }, i, a = Ci(this.matchingFormats.slice()), s; !(s = a()).done && (i = o(), i !== 0); )
10397
10385
  ;
@@ -10447,8 +10435,8 @@ var qr = "9", _f = 15, Ff = Kn(qr, _f), Mf = /[- ]/, Lf = function() {
10447
10435
  l = l.replace(Lf(), "\\d").replace(jf(), "\\d");
10448
10436
  var d = Ff.match(l)[0];
10449
10437
  if (!(o.length > d.length)) {
10450
- var u = new RegExp("^" + l + "$"), c = o.replace(/\d/g, qr);
10451
- u.test(c) && (d = c);
10438
+ var c = new RegExp("^" + l + "$"), u = o.replace(/\d/g, qr);
10439
+ c.test(u) && (d = u);
10452
10440
  var f = this.getFormatFormat(n, i), g;
10453
10441
  if (this.shouldTryNationalPrefixFormattingRule(n, {
10454
10442
  international: i,
@@ -10518,8 +10506,8 @@ function Vf(e, t) {
10518
10506
  var r, o, i, a, s = [], l = !0, d = !1;
10519
10507
  try {
10520
10508
  if (i = (n = n.call(e)).next, t !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== t); l = !0) ;
10521
- } catch (u) {
10522
- d = !0, o = u;
10509
+ } catch (c) {
10510
+ d = !0, o = c;
10523
10511
  } finally {
10524
10512
  try {
10525
10513
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
@@ -10657,8 +10645,8 @@ var Jf = "[" + at + We + "]+", Zf = new RegExp("^" + Jf + "$", "i"), Qf = "(?:["
10657
10645
  if (d < 0 || d !== i.length - o.length)
10658
10646
  s = !0;
10659
10647
  else {
10660
- var u = i.slice(0, d);
10661
- u && u !== n && (l = u);
10648
+ var c = i.slice(0, d);
10649
+ c && c !== n && (l = c);
10662
10650
  }
10663
10651
  a({
10664
10652
  nationalPrefix: n,
@@ -10749,7 +10737,7 @@ function Cn(e) {
10749
10737
  }, Cn(e);
10750
10738
  }
10751
10739
  function a1(e, t) {
10752
- return u1(e) || d1(e, t) || l1(e, t) || s1();
10740
+ return c1(e) || d1(e, t) || l1(e, t) || s1();
10753
10741
  }
10754
10742
  function s1() {
10755
10743
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -10773,8 +10761,8 @@ function d1(e, t) {
10773
10761
  var r, o, i, a, s = [], l = !0, d = !1;
10774
10762
  try {
10775
10763
  if (i = (n = n.call(e)).next, t !== 0) for (; !(l = (r = i.call(n)).done) && (s.push(r.value), s.length !== t); l = !0) ;
10776
- } catch (u) {
10777
- d = !0, o = u;
10764
+ } catch (c) {
10765
+ d = !0, o = c;
10778
10766
  } finally {
10779
10767
  try {
10780
10768
  if (!l && n.return != null && (a = n.return(), Object(a) !== a)) return;
@@ -10785,10 +10773,10 @@ function d1(e, t) {
10785
10773
  return s;
10786
10774
  }
10787
10775
  }
10788
- function u1(e) {
10776
+ function c1(e) {
10789
10777
  if (Array.isArray(e)) return e;
10790
10778
  }
10791
- function c1(e, t) {
10779
+ function u1(e, t) {
10792
10780
  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
10793
10781
  }
10794
10782
  function f1(e, t) {
@@ -10816,7 +10804,7 @@ function $1(e, t) {
10816
10804
  }
10817
10805
  var Va = /* @__PURE__ */ (function() {
10818
10806
  function e(t, n) {
10819
- c1(this, e), this.metadata = new Ae(n);
10807
+ u1(this, e), this.metadata = new Ae(n);
10820
10808
  var r = this.getCountryAndCallingCode(t), o = a1(r, 2), i = o[0], a = o[1];
10821
10809
  this.defaultCountry = i, this.defaultCallingCode = a, this.reset();
10822
10810
  }
@@ -11031,15 +11019,15 @@ var Va = /* @__PURE__ */ (function() {
11031
11019
  s.selectNumberingPlan(a);
11032
11020
  var l = s.numberingPlan.callingCode(), d = this.metadata.getCountryCodesForCallingCode(l);
11033
11021
  if (d.length > 1) {
11034
- var u = Da(r, {
11022
+ var c = Da(r, {
11035
11023
  countries: d,
11036
11024
  metadata: this.metadata.metadata
11037
11025
  });
11038
- u && (a = u);
11026
+ c && (a = c);
11039
11027
  }
11040
11028
  }
11041
- var c = new Ua(a || i, r, this.metadata.metadata);
11042
- return o && (c.carrierCode = o), c;
11029
+ var u = new Ua(a || i, r, this.metadata.metadata);
11030
+ return o && (u.carrierCode = o), u;
11043
11031
  }
11044
11032
  }
11045
11033
  /**
@@ -11283,8 +11271,8 @@ function Rr(e, t, n = {}) {
11283
11271
  return e;
11284
11272
  if (!i)
11285
11273
  return `${o} 0`;
11286
- const [s, ...l] = i.split(" "), d = `0${s ?? ""}`, u = l.length > 0 ? ` ${l.join(" ")}` : "";
11287
- return `${o} ${d}${u}`.replace(/\s\s+/g, " ").trimEnd();
11274
+ const [s, ...l] = i.split(" "), d = `0${s ?? ""}`, c = l.length > 0 ? ` ${l.join(" ")}` : "";
11275
+ return `${o} ${d}${c}`.replace(/\s\s+/g, " ").trimEnd();
11288
11276
  }
11289
11277
  const M1 = {
11290
11278
  GG: "GB",
@@ -11306,8 +11294,8 @@ function L1(e, t, n) {
11306
11294
  return;
11307
11295
  const l = [];
11308
11296
  for (const d of s) {
11309
- const u = Jr(d);
11310
- u && !l.includes(u) && l.push(u);
11297
+ const c = Jr(d);
11298
+ c && !l.includes(c) && l.push(c);
11311
11299
  }
11312
11300
  if (l.length !== 0)
11313
11301
  return l.includes(t) ? t : l.includes(Vt) ? Vt : l[0];
@@ -11356,8 +11344,8 @@ function kr(e, t, n = {}) {
11356
11344
  const d = ki(l);
11357
11345
  if (d !== l)
11358
11346
  return d ? `+${d}` : r ? "+" : "";
11359
- const u = typeof i == "string" ? i : "", c = u && u.startsWith("+") ? Le(u) : "";
11360
- if (c && c.length > l.length && c.endsWith(l) && c.length - l.length <= Ya)
11347
+ const c = typeof i == "string" ? i : "", u = c && c.startsWith("+") ? Le(c) : "";
11348
+ if (u && u.length > l.length && u.endsWith(l) && u.length - l.length <= Ya)
11361
11349
  return `+${l}`;
11362
11350
  if (l === "0")
11363
11351
  return "0";
@@ -11382,10 +11370,10 @@ function Vn(e, t) {
11382
11370
  i?.country ?? r.country ?? void 0
11383
11371
  ), l = s ?? !i ? void 0 : Jr(
11384
11372
  L1(i, t, a)
11385
- ), d = i?.formatInternational() ?? o, u = i?.formatNational() ?? Le(d);
11373
+ ), d = i?.formatInternational() ?? o, c = i?.formatNational() ?? Le(d);
11386
11374
  return {
11387
11375
  international: d,
11388
- national: u,
11376
+ national: c,
11389
11377
  formatted: o,
11390
11378
  phoneNumber: i,
11391
11379
  detectedCountry: s,
@@ -11424,8 +11412,8 @@ function Or(e, t, n, r = {}) {
11424
11412
  return O1(s) ? { shouldSuggest: !0, query: s } : { shouldSuggest: !1, query: "" };
11425
11413
  let l = n?.countryCallingCode ?? null;
11426
11414
  if (!l) {
11427
- const u = De(t);
11428
- s.startsWith(u) && (l = u);
11415
+ const c = De(t);
11416
+ s.startsWith(c) && (l = c);
11429
11417
  }
11430
11418
  return l ? Zr(s, l).length === 0 ? { shouldSuggest: !0, query: s } : { shouldSuggest: !1, query: "" } : { shouldSuggest: !0, query: s };
11431
11419
  }
@@ -11509,16 +11497,16 @@ function Wn(e, t) {
11509
11497
  return a > s ? { start: s, end: s } : { start: a, end: s };
11510
11498
  }
11511
11499
  const Za = C.createContext(null), B1 = (e) => {
11512
- const t = C.useContext(Za), n = t?.highlightedValue === e.data.value, { onMouseMove: r, className: o, ...i } = e.innerProps, a = t?.renderOptionLabel ?? ((c) => Qa(c)), s = C.useRef(null), { innerRef: l } = e, d = C.useCallback(
11513
- (c) => {
11514
- s.current = c, typeof l == "function" ? l(c) : l && typeof l == "object" && (l.current = c);
11500
+ const t = C.useContext(Za), n = t?.highlightedValue === e.data.value, { onMouseMove: r, className: o, ...i } = e.innerProps, a = t?.renderOptionLabel ?? ((u) => Qa(u)), s = C.useRef(null), { innerRef: l } = e, d = C.useCallback(
11501
+ (u) => {
11502
+ s.current = u, typeof l == "function" ? l(u) : l && typeof l == "object" && (l.current = u);
11515
11503
  },
11516
11504
  [l]
11517
11505
  );
11518
11506
  C.useEffect(() => {
11519
11507
  if (!n)
11520
11508
  return;
11521
- const c = t?.consumeScrollBehavior, f = c ? c() : "smooth", g = s.current;
11509
+ const u = t?.consumeScrollBehavior, f = u ? u() : "smooth", g = s.current;
11522
11510
  if (!g)
11523
11511
  return;
11524
11512
  const v = g.parentElement;
@@ -11530,15 +11518,15 @@ const Za = C.createContext(null), B1 = (e) => {
11530
11518
  behavior: f
11531
11519
  });
11532
11520
  }, [t, n]);
11533
- const u = (c) => {
11534
- r?.(c), t?.setHighlightedOption(e.data);
11521
+ const c = (u) => {
11522
+ r?.(u), t?.setHighlightedOption(e.data);
11535
11523
  };
11536
11524
  return /* @__PURE__ */ m.jsx(
11537
11525
  "div",
11538
11526
  {
11539
11527
  ref: d,
11540
11528
  ...i,
11541
- onMouseMove: u,
11529
+ onMouseMove: c,
11542
11530
  className: Pe(
11543
11531
  "flex cursor-pointer items-center justify-between gap-3 px-3 py-2 text-sm",
11544
11532
  o,
@@ -11600,8 +11588,8 @@ const V1 = C.forwardRef(
11600
11588
  onChange: s,
11601
11589
  onCountryChange: l,
11602
11590
  className: d,
11603
- inputClassName: u,
11604
- disabled: c,
11591
+ inputClassName: c,
11592
+ disabled: u,
11605
11593
  readOnly: f,
11606
11594
  selectProps: g,
11607
11595
  autofillShimName: v,
@@ -11625,17 +11613,17 @@ const V1 = C.forwardRef(
11625
11613
  [T, y]
11626
11614
  ), K = C.useCallback(
11627
11615
  (w) => {
11628
- const j = Y.find((ce) => ce.value === w);
11616
+ const j = Y.find((ue) => ue.value === w);
11629
11617
  return j ? A1(j) : T1(w);
11630
11618
  },
11631
11619
  [Y]
11632
11620
  ), W = C.useMemo(() => {
11633
11621
  const w = N1(o ?? i ?? Vt);
11634
11622
  return Y.some((j) => j.value === w) ? w : Y[0]?.value ?? Vt;
11635
- }, [Y, i, o]), se = C.useRef(null), re = C.useRef("");
11636
- if (!se.current)
11623
+ }, [Y, i, o]), de = C.useRef(null), re = C.useRef("");
11624
+ if (!de.current)
11637
11625
  if (!r)
11638
- se.current = {
11626
+ de.current = {
11639
11627
  country: W,
11640
11628
  inputValue: "",
11641
11629
  normalizedValue: "",
@@ -11644,7 +11632,7 @@ const V1 = C.forwardRef(
11644
11632
  else {
11645
11633
  const w = kr(r, W, { allowJustPlus: !0 });
11646
11634
  if (!w)
11647
- se.current = {
11635
+ de.current = {
11648
11636
  country: W,
11649
11637
  inputValue: "",
11650
11638
  normalizedValue: "",
@@ -11653,12 +11641,12 @@ const V1 = C.forwardRef(
11653
11641
  else {
11654
11642
  const {
11655
11643
  international: j,
11656
- phoneNumber: ce,
11644
+ phoneNumber: ue,
11657
11645
  detectedCountry: Te,
11658
11646
  inferredCountry: ye,
11659
11647
  hasExplicitInternationalPrefix: we
11660
- } = Vn(w, W), de = Te ?? void 0;
11661
- let q = de ?? W;
11648
+ } = Vn(w, W), le = Te ?? void 0;
11649
+ let q = le ?? W;
11662
11650
  const fe = Le(r ?? ""), Ne = typeof r == "string" ? /^\s*\+/.test(r) : !1, Ye = Le(j), ze = De(q), wt = Bt(
11663
11651
  fe,
11664
11652
  Ye,
@@ -11667,13 +11655,13 @@ const V1 = C.forwardRef(
11667
11655
  ), Ve = Or(
11668
11656
  w,
11669
11657
  q,
11670
- ce ?? void 0,
11658
+ ue ?? void 0,
11671
11659
  {
11672
11660
  hasRemovedNationalPrefix: wt,
11673
- detectedCountry: de,
11661
+ detectedCountry: le,
11674
11662
  hasExplicitInternationalPrefix: we
11675
11663
  }
11676
- ), Qe = !Ve.shouldSuggest && !de ? ye : void 0;
11664
+ ), Qe = !Ve.shouldSuggest && !le ? ye : void 0;
11677
11665
  Qe && (q = Qe);
11678
11666
  const Dt = De(q), ft = Qe ? Bt(
11679
11667
  fe,
@@ -11682,8 +11670,8 @@ const V1 = C.forwardRef(
11682
11670
  Ne
11683
11671
  ) : wt, Mt = Rr(j, Dt, {
11684
11672
  force: ft
11685
- }), Jt = de ?? void 0;
11686
- se.current = {
11673
+ }), Jt = le ?? void 0;
11674
+ de.current = {
11687
11675
  country: q,
11688
11676
  inputValue: Mt,
11689
11677
  normalizedValue: w,
@@ -11694,9 +11682,9 @@ const V1 = C.forwardRef(
11694
11682
  }, re.current = w;
11695
11683
  }
11696
11684
  }
11697
- const pe = se.current, [Q, J] = C.useState(pe.country), [x, H] = C.useState(pe.inputValue), [ge, h] = C.useState(""), [E, P] = C.useState(!1), [$, _] = C.useState(-1), [F, R] = C.useState(!1), [te, k] = C.useState(null), [z, B] = C.useState(
11685
+ const pe = de.current, [Q, J] = C.useState(pe.country), [x, H] = C.useState(pe.inputValue), [ge, h] = C.useState(""), [E, P] = C.useState(!1), [$, _] = C.useState(-1), [F, R] = C.useState(!1), [te, k] = C.useState(null), [z, B] = C.useState(
11698
11686
  pe.hasExplicitCountrySelection
11699
- ), G = C.useRef(null), ee = C.useRef(""), le = C.useRef(null), he = C.useRef("smooth"), ae = C.useRef(null), Xe = C.useCallback(() => {
11687
+ ), G = C.useRef(null), ee = C.useRef(""), se = C.useRef(null), he = C.useRef("smooth"), ae = C.useRef(null), Xe = C.useCallback(() => {
11700
11688
  const w = he.current;
11701
11689
  return he.current = "smooth", w;
11702
11690
  }, []), be = typeof i == "string", dt = be ? i : Q, ve = dt ?? W, qe = C.useRef(null);
@@ -11707,16 +11695,16 @@ const V1 = C.forwardRef(
11707
11695
  const j = qe.current;
11708
11696
  if (ae.current = null, !j)
11709
11697
  return;
11710
- const { start: ce, end: Te } = w;
11711
- j.setSelectionRange(ce, Te);
11698
+ const { start: ue, end: Te } = w;
11699
+ j.setSelectionRange(ue, Te);
11712
11700
  }, [x]);
11713
11701
  const yt = g ?? {}, {
11714
11702
  styles: Et,
11715
11703
  components: It,
11716
11704
  classNamePrefix: At,
11717
11705
  formatOptionLabel: Tt,
11718
- ...ut
11719
- } = yt, { noOptionsMessage: tt, ...O } = ut, ue = C.useMemo(
11706
+ ...ct
11707
+ } = yt, { noOptionsMessage: tt, ...O } = ct, ce = C.useMemo(
11720
11708
  () => ({
11721
11709
  ...G1,
11722
11710
  ...Et ?? {}
@@ -11747,7 +11735,7 @@ const V1 = C.forwardRef(
11747
11735
  [l, K]
11748
11736
  );
11749
11737
  C.useEffect(() => () => {
11750
- le.current != null && typeof window < "u" && window.clearTimeout(le.current);
11738
+ se.current != null && typeof window < "u" && window.clearTimeout(se.current);
11751
11739
  }, []), C.useEffect(() => {
11752
11740
  if (r == null)
11753
11741
  return;
@@ -11768,14 +11756,14 @@ const V1 = C.forwardRef(
11768
11756
  return;
11769
11757
  }
11770
11758
  const {
11771
- international: ce,
11759
+ international: ue,
11772
11760
  phoneNumber: Te,
11773
11761
  detectedCountry: ye,
11774
11762
  inferredCountry: we,
11775
- hasExplicitInternationalPrefix: de
11763
+ hasExplicitInternationalPrefix: le
11776
11764
  } = Vn(j, ve), q = ye ?? void 0;
11777
11765
  let fe = q ?? ve;
11778
- const Ne = Le(r ?? ""), Ye = typeof r == "string" ? /^\s*\+/.test(r) : !1, ze = Le(ce), wt = De(fe), Ve = Bt(
11766
+ const Ne = Le(r ?? ""), Ye = typeof r == "string" ? /^\s*\+/.test(r) : !1, ze = Le(ue), wt = De(fe), Ve = Bt(
11779
11767
  Ne,
11780
11768
  ze,
11781
11769
  wt,
@@ -11787,7 +11775,7 @@ const V1 = C.forwardRef(
11787
11775
  {
11788
11776
  hasRemovedNationalPrefix: Ve,
11789
11777
  detectedCountry: q,
11790
- hasExplicitInternationalPrefix: de
11778
+ hasExplicitInternationalPrefix: le
11791
11779
  }
11792
11780
  ), Dt = !Qe.shouldSuggest && !q ? we : void 0, ft = Dt ?? fe;
11793
11781
  !be && ft !== Q && (J(ft), Se(ft)), fe = ft, G.current && G.current !== fe && (G.current = null);
@@ -11796,11 +11784,11 @@ const V1 = C.forwardRef(
11796
11784
  ze,
11797
11785
  Mt,
11798
11786
  Ye
11799
- ) : Ve, Dn = Rr(ce, Mt, {
11787
+ ) : Ve, Dn = Rr(ue, Mt, {
11800
11788
  force: Jt
11801
11789
  }), Lt = q ?? void 0, On = G.current != null || _r(Qe, {
11802
11790
  detectedCountry: Lt,
11803
- hasExplicitInternationalPrefix: de
11791
+ hasExplicitInternationalPrefix: le
11804
11792
  });
11805
11793
  H(Dn), P(Qe.shouldSuggest), h(Qe.query), k(Dr(j, fe)), B(On);
11806
11794
  }, [
@@ -11828,20 +11816,20 @@ const V1 = C.forwardRef(
11828
11816
  },
11829
11817
  [s, K]
11830
11818
  ), xt = C.useCallback(() => {
11831
- typeof window > "u" || (le.current != null && window.clearTimeout(le.current), le.current = window.setTimeout(() => {
11832
- ee.current = "", le.current = null;
11819
+ typeof window > "u" || (se.current != null && window.clearTimeout(se.current), se.current = window.setTimeout(() => {
11820
+ ee.current = "", se.current = null;
11833
11821
  }, 800));
11834
11822
  }, []), Rn = C.useCallback(
11835
11823
  (w) => {
11836
- const j = w.target, ce = U1(j), Te = j.value;
11824
+ const j = w.target, ue = U1(j), Te = j.value;
11837
11825
  ee.current = "";
11838
- const ye = ve, we = De(ye), de = Le(Te), q = Te.trim().startsWith("+"), fe = we ? de.startsWith(we) : !1, Ne = de.startsWith("0"), ze = !Ka.some((Re) => de.startsWith(Re)) && (fe && de.slice(we.length).startsWith("0") || !q && Ne && de.length > 1 || q && Ne && de.length > 1 && !fe), wt = re.current, Ve = kr(Te, ye, {
11826
+ const ye = ve, we = De(ye), le = Le(Te), q = Te.trim().startsWith("+"), fe = we ? le.startsWith(we) : !1, Ne = le.startsWith("0"), ze = !Ka.some((Re) => le.startsWith(Re)) && (fe && le.slice(we.length).startsWith("0") || !q && Ne && le.length > 1 || q && Ne && le.length > 1 && !fe), wt = re.current, Ve = kr(Te, ye, {
11839
11827
  allowJustPlus: !0,
11840
11828
  removeNationalPrefix: ze,
11841
11829
  previousValue: wt
11842
11830
  });
11843
11831
  if (re.current = Ve, !Ve) {
11844
- H(""), P(!1), h(""), _(-1), k(null), G.current = null, B(!1), ae.current = Wn(ce, "");
11832
+ H(""), P(!1), h(""), _(-1), k(null), G.current = null, B(!1), ae.current = Wn(ue, "");
11845
11833
  const Re = W;
11846
11834
  !be && Q !== Re && (J(Re), Se(Re));
11847
11835
  const Qt = De(Re);
@@ -11858,7 +11846,7 @@ const V1 = C.forwardRef(
11858
11846
  return;
11859
11847
  }
11860
11848
  if (Ve === "0") {
11861
- H("0"), P(!1), h(""), _(-1), k(null), G.current = null, B(!1), ae.current = Wn(ce, "0");
11849
+ H("0"), P(!1), h(""), _(-1), k(null), G.current = null, B(!1), ae.current = Wn(ue, "0");
11862
11850
  const Re = W;
11863
11851
  !be && Q !== Re && (J(Re), Se(Re));
11864
11852
  const Qt = De(Re);
@@ -11875,7 +11863,7 @@ const V1 = C.forwardRef(
11875
11863
  return;
11876
11864
  }
11877
11865
  if (Ve === "+") {
11878
- H("+"), P(!0), h(""), _(0), k(null), G.current = null, B(!1), ae.current = Wn(ce, "+");
11866
+ H("+"), P(!0), h(""), _(0), k(null), G.current = null, B(!1), ae.current = Wn(ue, "+");
11879
11867
  const Re = W;
11880
11868
  !be && Q !== Re && (J(Re), Se(Re));
11881
11869
  const Qt = De(Re);
@@ -11901,7 +11889,7 @@ const V1 = C.forwardRef(
11901
11889
  } = Vn(Ve, ye), Lt = Mt ?? void 0;
11902
11890
  let mt = Lt ?? ye;
11903
11891
  const On = Le(Qe), es = De(mt), yo = Bt(
11904
- de,
11892
+ le,
11905
11893
  On,
11906
11894
  es,
11907
11895
  q
@@ -11917,14 +11905,14 @@ const V1 = C.forwardRef(
11917
11905
  ), xo = !Zt.shouldSuggest && !Lt ? Jt : void 0, _n = xo ?? mt;
11918
11906
  !be && _n !== Q && (J(_n), Se(_n)), mt = _n, G.current && G.current !== mt && (G.current = null);
11919
11907
  const Fn = De(mt), ts = Le(Ve), ns = Zr(ts, Fn), rs = xo ? Bt(
11920
- de,
11908
+ le,
11921
11909
  On,
11922
11910
  Fn,
11923
11911
  q
11924
11912
  ) : yo, wo = Rr(Qe, Fn, {
11925
11913
  force: rs
11926
11914
  }), os = Lt ?? void 0;
11927
- ae.current = Wn(ce, wo), H(wo), P(Zt.shouldSuggest), h(Zt.query), _(Zt.shouldSuggest ? 0 : -1), k(Dr(Ve, mt));
11915
+ ae.current = Wn(ue, wo), H(wo), P(Zt.shouldSuggest), h(Zt.query), _(Zt.shouldSuggest ? 0 : -1), k(Dr(Ve, mt));
11928
11916
  const is = G.current != null || _r(Zt, {
11929
11917
  detectedCountry: os,
11930
11918
  hasExplicitInternationalPrefix: Dn
@@ -11952,22 +11940,22 @@ const V1 = C.forwardRef(
11952
11940
  (w) => {
11953
11941
  if (!w)
11954
11942
  return;
11955
- const j = Le(re.current || x), ce = De(ve);
11956
- let ye = j.startsWith(ce) ? j.slice(ce.length) : j;
11943
+ const j = Le(re.current || x), ue = De(ve);
11944
+ let ye = j.startsWith(ue) ? j.slice(ue.length) : j;
11957
11945
  ye ? ye.startsWith(w.dialCode) || (ye = `${w.dialCode}${ye}`) : ye = w.dialCode;
11958
11946
  const we = `+${ye}`;
11959
11947
  re.current = we;
11960
- const { international: de, national: q, phoneNumber: fe } = Vn(
11948
+ const { international: le, national: q, phoneNumber: fe } = Vn(
11961
11949
  we,
11962
11950
  w.value
11963
11951
  ), Ne = w.value;
11964
- G.current = Ne, H(de), ae.current = {
11965
- start: de.length,
11966
- end: de.length
11952
+ G.current = Ne, H(le), ae.current = {
11953
+ start: le.length,
11954
+ end: le.length
11967
11955
  }, P(!1), h(""), _(-1), k(Dr(we, Ne)), !be && Ne !== Q && J(Ne), Se(Ne);
11968
11956
  const Ye = Le(we), ze = fe?.countryCallingCode ?? w.dialCode, wt = Zr(Ye, ze);
11969
11957
  B(!0), ht({
11970
- formattedInternational: de,
11958
+ formattedInternational: le,
11971
11959
  formattedNational: q,
11972
11960
  e164: fe?.number ?? null,
11973
11961
  country: Ne,
@@ -11985,21 +11973,21 @@ const V1 = C.forwardRef(
11985
11973
  return [];
11986
11974
  const w = [], j = (q) => {
11987
11975
  w.some((fe) => fe.value === q.value) || w.push(q);
11988
- }, ce = Y.find((q) => q.value === W), Te = Y.find((q) => q.value === ve), ye = ge.trim(), we = Le(ye), de = qa(ye);
11989
- return !we && !de ? (ce && j(ce), Te && j(Te), Y.forEach(j), w) : (we && Y.filter((fe) => fe.dialCode.startsWith(we)).sort((fe, Ne) => {
11976
+ }, ue = Y.find((q) => q.value === W), Te = Y.find((q) => q.value === ve), ye = ge.trim(), we = Le(ye), le = qa(ye);
11977
+ return !we && !le ? (ue && j(ue), Te && j(Te), Y.forEach(j), w) : (we && Y.filter((fe) => fe.dialCode.startsWith(we)).sort((fe, Ne) => {
11990
11978
  const Ye = fe.dialCode === we, ze = Ne.dialCode === we;
11991
11979
  return Ye && !ze ? -1 : !Ye && ze ? 1 : fe.dialCode.length - Ne.dialCode.length;
11992
- }).forEach(j), de && Y.filter(
11993
- (fe) => fe.normalizedSearchableTokens.some((Ne) => Ne.includes(de))
11980
+ }).forEach(j), le && Y.filter(
11981
+ (fe) => fe.normalizedSearchableTokens.some((Ne) => Ne.includes(le))
11994
11982
  ).sort((fe, Ne) => {
11995
- const Ye = Ri(fe.normalizedSearchableTokens, de), ze = Ri(Ne.normalizedSearchableTokens, de);
11983
+ const Ye = Ri(fe.normalizedSearchableTokens, le), ze = Ri(Ne.normalizedSearchableTokens, le);
11996
11984
  return Ye !== ze ? Ye - ze : fe.name.localeCompare(Ne.name);
11997
- }).forEach(j), Te && j(Te), ce && j(ce), w.length === 0 && Y.forEach(j), w);
11998
- }, [ve, Y, ge, W, E]), ct = F && E && xe.length > 0;
11985
+ }).forEach(j), Te && j(Te), ue && j(ue), w.length === 0 && Y.forEach(j), w);
11986
+ }, [ve, Y, ge, W, E]), ut = F && E && xe.length > 0;
11999
11987
  C.useEffect(() => {
12000
- ct || (he.current = "smooth");
12001
- }, [ct]), C.useEffect(() => {
12002
- if (!ct) {
11988
+ ut || (he.current = "smooth");
11989
+ }, [ut]), C.useEffect(() => {
11990
+ if (!ut) {
12003
11991
  _(-1);
12004
11992
  return;
12005
11993
  }
@@ -12008,14 +11996,14 @@ const V1 = C.forwardRef(
12008
11996
  return;
12009
11997
  }
12010
11998
  _((w) => w < 0 || w >= xe.length ? 0 : w);
12011
- }, [xe, ct]);
11999
+ }, [xe, ut]);
12012
12000
  const Ft = $ >= 0 ? xe[$] ?? null : null;
12013
12001
  C.useEffect(() => {
12014
12002
  $ < 0 && (he.current = "smooth");
12015
12003
  }, [$]);
12016
12004
  const kn = C.useCallback(
12017
12005
  (w) => {
12018
- const j = xe.findIndex((ce) => ce.value === w.value);
12006
+ const j = xe.findIndex((ue) => ue.value === w.value);
12019
12007
  j !== -1 && _(j);
12020
12008
  },
12021
12009
  [xe]
@@ -12052,20 +12040,20 @@ const V1 = C.forwardRef(
12052
12040
  const j = w.key;
12053
12041
  if (w.metaKey || w.ctrlKey || w.altKey)
12054
12042
  return;
12055
- const ce = w.currentTarget, Te = ce.value, ye = ce.selectionStart ?? 0, we = ce.selectionEnd ?? ye, de = ye === we;
12056
- if (j === "Backspace" && de) {
12043
+ const ue = w.currentTarget, Te = ue.value, ye = ue.selectionStart ?? 0, we = ue.selectionEnd ?? ye, le = ye === we;
12044
+ if (j === "Backspace" && le) {
12057
12045
  const q = _i(Te, ye);
12058
- q !== ye && ce.setSelectionRange(q, q);
12059
- } else if (j === "ArrowLeft" && de) {
12046
+ q !== ye && ue.setSelectionRange(q, q);
12047
+ } else if (j === "ArrowLeft" && le) {
12060
12048
  const q = _i(Te, ye);
12061
12049
  if (q !== ye) {
12062
- w.preventDefault(), ce.setSelectionRange(q, q);
12050
+ w.preventDefault(), ue.setSelectionRange(q, q);
12063
12051
  return;
12064
12052
  }
12065
- } else if (j === "ArrowRight" && de) {
12053
+ } else if (j === "ArrowRight" && le) {
12066
12054
  const q = j1(Te, we);
12067
12055
  if (q !== we) {
12068
- w.preventDefault(), ce.setSelectionRange(q, q);
12056
+ w.preventDefault(), ue.setSelectionRange(q, q);
12069
12057
  return;
12070
12058
  }
12071
12059
  }
@@ -12089,7 +12077,7 @@ const V1 = C.forwardRef(
12089
12077
  w.preventDefault(), E || (P(!0), _(xe.length > 0 ? 0 : -1)), Ie(j.toLowerCase());
12090
12078
  return;
12091
12079
  }
12092
- if (ct) {
12080
+ if (ut) {
12093
12081
  if (j === "Backspace" && ee.current) {
12094
12082
  w.preventDefault(), nt();
12095
12083
  return;
@@ -12114,7 +12102,7 @@ const V1 = C.forwardRef(
12114
12102
  I,
12115
12103
  nt,
12116
12104
  E,
12117
- ct
12105
+ ut
12118
12106
  ]
12119
12107
  ), rt = C.useCallback(
12120
12108
  (w) => {
@@ -12127,10 +12115,10 @@ const V1 = C.forwardRef(
12127
12115
  },
12128
12116
  [S]
12129
12117
  ), kt = C.useCallback(() => {
12130
- c || f || (ee.current = "", h(""), P(!0), _((w) => w < 0 ? 0 : w), requestAnimationFrame(() => {
12118
+ u || f || (ee.current = "", h(""), P(!0), _((w) => w < 0 ? 0 : w), requestAnimationFrame(() => {
12131
12119
  qe.current?.focus();
12132
12120
  }));
12133
- }, [c, f]), ot = v ?? (A ? `${A}_shim` : void 0);
12121
+ }, [u, f]), ot = v ?? (A ? `${A}_shim` : void 0);
12134
12122
  return /* @__PURE__ */ m.jsxs("div", { className: Pe("relative flex flex-col", d), children: [
12135
12123
  /* @__PURE__ */ m.jsxs("div", { className: "relative", children: [
12136
12124
  /* @__PURE__ */ m.jsx(
@@ -12142,7 +12130,7 @@ const V1 = C.forwardRef(
12142
12130
  className: Pe(
12143
12131
  "flex h-10 w-full rounded-md border border-input bg-background py-2 text-base ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
12144
12132
  "pl-11 pr-3",
12145
- u
12133
+ c
12146
12134
  ),
12147
12135
  name: A,
12148
12136
  value: x,
@@ -12150,7 +12138,7 @@ const V1 = C.forwardRef(
12150
12138
  onFocus: rt,
12151
12139
  onBlur: Rt,
12152
12140
  onKeyDown: Ze,
12153
- disabled: c,
12141
+ disabled: u,
12154
12142
  readOnly: f,
12155
12143
  autoComplete: V ?? "off"
12156
12144
  }
@@ -12162,13 +12150,13 @@ const V1 = C.forwardRef(
12162
12150
  className: Pe(
12163
12151
  "absolute left-3 top-1/2 flex h-6 w-6 -translate-y-1/2 items-center justify-center rounded border text-lg leading-none transition focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
12164
12152
  Ke ? "border-transparent" : "border-dashed border-border text-muted-foreground",
12165
- c ? "cursor-not-allowed opacity-50" : f ? "cursor-default" : "cursor-pointer hover:bg-muted"
12153
+ u ? "cursor-not-allowed opacity-50" : f ? "cursor-default" : "cursor-pointer hover:bg-muted"
12166
12154
  ),
12167
12155
  "aria-label": Ge,
12168
12156
  onMouseDown: (w) => w.preventDefault(),
12169
12157
  onClick: kt,
12170
12158
  tabIndex: -1,
12171
- disabled: c,
12159
+ disabled: u,
12172
12160
  children: /* @__PURE__ */ m.jsx("span", { "aria-hidden": "true", children: Ke ? Be : "?" })
12173
12161
  }
12174
12162
  )
@@ -12188,7 +12176,7 @@ const V1 = C.forwardRef(
12188
12176
  {
12189
12177
  className: "absolute left-0 top-full z-30 mt-1",
12190
12178
  style: {
12191
- pointerEvents: ct ? "auto" : "none",
12179
+ pointerEvents: ut ? "auto" : "none",
12192
12180
  width: "min(260px, 100%)"
12193
12181
  },
12194
12182
  onMouseDown: (w) => w.preventDefault(),
@@ -12196,11 +12184,11 @@ const V1 = C.forwardRef(
12196
12184
  Li,
12197
12185
  {
12198
12186
  ...O,
12199
- menuIsOpen: ct,
12187
+ menuIsOpen: ut,
12200
12188
  options: xe,
12201
12189
  value: null,
12202
12190
  components: ie,
12203
- styles: ue,
12191
+ styles: ce,
12204
12192
  isClearable: !1,
12205
12193
  isSearchable: !1,
12206
12194
  backspaceRemovesValue: !1,
@@ -12228,9 +12216,9 @@ const W1 = ({
12228
12216
  isActive: o,
12229
12217
  children: i
12230
12218
  }) => {
12231
- const [a, s] = $e(!1), l = X(null), d = X(null), u = () => {
12219
+ const [a, s] = $e(!1), l = X(null), d = X(null), c = () => {
12232
12220
  l.current && clearTimeout(l.current), s(!0);
12233
- }, c = () => {
12221
+ }, u = () => {
12234
12222
  l.current = setTimeout(() => {
12235
12223
  s(!1);
12236
12224
  }, 120);
@@ -12242,8 +12230,8 @@ const W1 = ({
12242
12230
  {
12243
12231
  className: "flex",
12244
12232
  ref: d,
12245
- onMouseEnter: u,
12246
- onMouseLeave: c,
12233
+ onMouseEnter: c,
12234
+ onMouseLeave: u,
12247
12235
  children: [
12248
12236
  /* @__PURE__ */ m.jsx("div", { className: "relative flex", children: /* @__PURE__ */ m.jsx(
12249
12237
  $s,
@@ -12298,10 +12286,10 @@ export {
12298
12286
  l2 as DialogTitle,
12299
12287
  o2 as DialogTrigger,
12300
12288
  g2 as Header,
12301
- qu as I18nField,
12289
+ qc as I18nField,
12302
12290
  f2 as I18nFieldLocaleProvider,
12303
- u2 as Image,
12304
- c2 as ImagesField,
12291
+ c2 as Image,
12292
+ u2 as ImagesField,
12305
12293
  Qi as Input,
12306
12294
  V1 as PhoneNumberInput,
12307
12295
  Pe as cn,