@datatechsolutions/ui 2.8.8 → 2.9.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.
Files changed (76) hide show
  1. package/dist/{workflow → astrlabe}/graph-node.js +6 -6
  2. package/dist/{workflow → astrlabe}/graph-node.mjs +2 -2
  3. package/dist/{workflow → astrlabe}/index.d.mts +17 -4
  4. package/dist/{workflow → astrlabe}/index.d.ts +17 -4
  5. package/dist/{workflow → astrlabe}/index.js +138 -136
  6. package/dist/astrlabe/index.js.map +1 -0
  7. package/dist/{workflow → astrlabe}/index.mjs +12 -10
  8. package/dist/astrlabe/index.mjs.map +1 -0
  9. package/dist/{workflow → astrlabe}/utils.js +7 -7
  10. package/dist/{workflow → astrlabe}/utils.mjs +2 -2
  11. package/dist/{workflow → astrlabe}/workflow-canvas.d.mts +1 -1
  12. package/dist/{workflow → astrlabe}/workflow-canvas.d.ts +1 -1
  13. package/dist/{workflow → astrlabe}/workflow-canvas.js +5 -5
  14. package/dist/astrlabe/workflow-canvas.mjs +11 -0
  15. package/dist/{workflow → astrlabe}/workflow-preview-canvas.js.map +1 -1
  16. package/dist/{workflow → astrlabe}/workflow-preview-canvas.mjs.map +1 -1
  17. package/dist/{chunk-E42PD4X6.js → chunk-3GE3MBUZ.js} +3 -3
  18. package/dist/{chunk-E42PD4X6.js.map → chunk-3GE3MBUZ.js.map} +1 -1
  19. package/dist/chunk-55H6WZQP.js +5 -0
  20. package/dist/{chunk-2HUN5ZXT.js.map → chunk-55H6WZQP.js.map} +1 -1
  21. package/dist/{chunk-Y2KJSGXS.js → chunk-6AA5OM4H.js} +481 -66
  22. package/dist/chunk-6AA5OM4H.js.map +1 -0
  23. package/dist/{chunk-BTJP5QCD.mjs → chunk-AM2TTPYM.mjs} +4 -4
  24. package/dist/{chunk-BTJP5QCD.mjs.map → chunk-AM2TTPYM.mjs.map} +1 -1
  25. package/dist/{chunk-55S2KOTZ.mjs → chunk-BLNXRUC4.mjs} +3 -3
  26. package/dist/{chunk-55S2KOTZ.mjs.map → chunk-BLNXRUC4.mjs.map} +1 -1
  27. package/dist/{chunk-ULPKAD4A.js → chunk-DFR6CMJH.js} +4 -4
  28. package/dist/{chunk-ULPKAD4A.js.map → chunk-DFR6CMJH.js.map} +1 -1
  29. package/dist/{chunk-GXCWMPW5.js → chunk-HSANA5YY.js} +3391 -671
  30. package/dist/chunk-HSANA5YY.js.map +1 -0
  31. package/dist/chunk-JB6RNAD2.mjs +4 -0
  32. package/dist/{chunk-A3B3A43Y.mjs.map → chunk-JB6RNAD2.mjs.map} +1 -1
  33. package/dist/{chunk-SHKRLL36.mjs → chunk-JODJG6CJ.mjs} +3235 -668
  34. package/dist/chunk-JODJG6CJ.mjs.map +1 -0
  35. package/dist/{chunk-UBCSCLUW.mjs → chunk-OZNTQROP.mjs} +3 -3
  36. package/dist/{chunk-UBCSCLUW.mjs.map → chunk-OZNTQROP.mjs.map} +1 -1
  37. package/dist/{chunk-NJ6PBGQM.js → chunk-P4YYEM4B.js} +3 -3
  38. package/dist/{chunk-NJ6PBGQM.js.map → chunk-P4YYEM4B.js.map} +1 -1
  39. package/dist/{chunk-D3INPADN.mjs → chunk-ZEUBXXRI.mjs} +422 -7
  40. package/dist/chunk-ZEUBXXRI.mjs.map +1 -0
  41. package/dist/index.d.mts +342 -3
  42. package/dist/index.d.ts +342 -3
  43. package/dist/index.js +1177 -553
  44. package/dist/index.mjs +1 -1
  45. package/dist/{workflow-canvas-CVkbfTQu.d.ts → workflow-canvas-CGeuIgBQ.d.ts} +1 -1
  46. package/dist/{workflow-canvas-B3k03HVM.d.mts → workflow-canvas-at3LMbkg.d.mts} +1 -1
  47. package/package.json +25 -25
  48. package/dist/chunk-2HUN5ZXT.js +0 -5
  49. package/dist/chunk-A3B3A43Y.mjs +0 -4
  50. package/dist/chunk-D3INPADN.mjs.map +0 -1
  51. package/dist/chunk-GXCWMPW5.js.map +0 -1
  52. package/dist/chunk-SHKRLL36.mjs.map +0 -1
  53. package/dist/chunk-Y2KJSGXS.js.map +0 -1
  54. package/dist/workflow/index.js.map +0 -1
  55. package/dist/workflow/index.mjs.map +0 -1
  56. package/dist/workflow/workflow-canvas.mjs +0 -11
  57. /package/dist/{workflow → astrlabe}/contracts.d.mts +0 -0
  58. /package/dist/{workflow → astrlabe}/contracts.d.ts +0 -0
  59. /package/dist/{workflow → astrlabe}/contracts.js +0 -0
  60. /package/dist/{workflow → astrlabe}/contracts.js.map +0 -0
  61. /package/dist/{workflow → astrlabe}/contracts.mjs +0 -0
  62. /package/dist/{workflow → astrlabe}/contracts.mjs.map +0 -0
  63. /package/dist/{workflow → astrlabe}/graph-node.d.mts +0 -0
  64. /package/dist/{workflow → astrlabe}/graph-node.d.ts +0 -0
  65. /package/dist/{workflow → astrlabe}/graph-node.js.map +0 -0
  66. /package/dist/{workflow → astrlabe}/graph-node.mjs.map +0 -0
  67. /package/dist/{workflow → astrlabe}/utils.d.mts +0 -0
  68. /package/dist/{workflow → astrlabe}/utils.d.ts +0 -0
  69. /package/dist/{workflow → astrlabe}/utils.js.map +0 -0
  70. /package/dist/{workflow → astrlabe}/utils.mjs.map +0 -0
  71. /package/dist/{workflow → astrlabe}/workflow-canvas.js.map +0 -0
  72. /package/dist/{workflow → astrlabe}/workflow-canvas.mjs.map +0 -0
  73. /package/dist/{workflow → astrlabe}/workflow-preview-canvas.d.mts +0 -0
  74. /package/dist/{workflow → astrlabe}/workflow-preview-canvas.d.ts +0 -0
  75. /package/dist/{workflow → astrlabe}/workflow-preview-canvas.js +0 -0
  76. /package/dist/{workflow → astrlabe}/workflow-preview-canvas.mjs +0 -0
@@ -20,7 +20,6 @@ import { CheckIcon as CheckIcon$2 } from '@heroicons/react/24/solid';
20
20
  import { ProgressBar, ProgressBarProvider } from 'react-transition-progress';
21
21
  import { CalendarIcon, ChevronLeftIcon as ChevronLeftIcon$2, ChevronRightIcon as ChevronRightIcon$2 } from 'lucide-react';
22
22
  import { geoAlbersUsa, geoMercator, geoPath } from 'd3-geo';
23
- export { LOCALE_FLAGS } from '@datatechsolutions/shared-domain/i18n';
24
23
  import * as TabsPrimitive from '@radix-ui/react-tabs';
25
24
  import * as ProgressPrimitive from '@radix-ui/react-progress';
26
25
  import { create } from 'zustand';
@@ -9775,6 +9774,7 @@ function BrandedLoader({
9775
9774
  gradient = "from-indigo-500 to-purple-600",
9776
9775
  accentRing = "ring-indigo-500/30",
9777
9776
  compact = false,
9777
+ rawIcon = false,
9778
9778
  className
9779
9779
  }) {
9780
9780
  return /* @__PURE__ */ jsx(
@@ -9808,19 +9808,25 @@ function BrandedLoader({
9808
9808
  style: { animationDuration: "1.5s" }
9809
9809
  }
9810
9810
  ),
9811
- /* @__PURE__ */ jsxs(
9812
- "div",
9813
- {
9814
- className: clsx(
9815
- "relative flex h-24 w-24 items-center justify-center rounded-[20px]",
9816
- `bg-gradient-to-br ${gradient}`,
9817
- "shadow-lg shadow-black/20"
9818
- ),
9819
- children: [
9820
- /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[18px] bg-[linear-gradient(145deg,rgba(255,255,255,0.35)_0%,rgba(255,255,255,0.08)_45%,rgba(255,255,255,0)_100%)]" }),
9821
- /* @__PURE__ */ jsx("div", { className: "relative h-12 w-12 text-white drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] [&_img]:!h-full [&_img]:!w-full [&_img]:object-contain", children: icon })
9822
- ]
9823
- }
9811
+ rawIcon ? (
9812
+ /* Raw icon — SVG with its own background, no gradient overlay */
9813
+ /* @__PURE__ */ jsx("div", { className: "relative h-24 w-24 rounded-[20px] shadow-lg shadow-black/20 overflow-hidden [&_img]:!h-full [&_img]:!w-full [&_img]:object-cover", children: icon })
9814
+ ) : (
9815
+ /* Icon container with gradient background */
9816
+ /* @__PURE__ */ jsxs(
9817
+ "div",
9818
+ {
9819
+ className: clsx(
9820
+ "relative flex h-24 w-24 items-center justify-center rounded-[20px]",
9821
+ `bg-gradient-to-br ${gradient}`,
9822
+ "shadow-lg shadow-black/20"
9823
+ ),
9824
+ children: [
9825
+ /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-0 rounded-[18px] bg-[linear-gradient(145deg,rgba(255,255,255,0.35)_0%,rgba(255,255,255,0.08)_45%,rgba(255,255,255,0)_100%)]" }),
9826
+ /* @__PURE__ */ jsx("div", { className: "relative h-12 w-12 text-white drop-shadow-[0_2px_4px_rgba(0,0,0,0.2)] [&_img]:!h-full [&_img]:!w-full [&_img]:object-contain", children: icon })
9827
+ ]
9828
+ }
9829
+ )
9824
9830
  )
9825
9831
  ] }),
9826
9832
  /* @__PURE__ */ jsx(
@@ -12007,7 +12013,7 @@ function GeoMapCanvasInner({
12007
12013
  getMarkerSize,
12008
12014
  getFontSize,
12009
12015
  geoJsonUrl,
12010
- regionPropertyKey = "sigla",
12016
+ regionPropertyKey = "code",
12011
12017
  projectionType = "mercator",
12012
12018
  ariaLabel = "Interactive map"
12013
12019
  }, ref) {
@@ -12170,7 +12176,14 @@ function GeoMapCanvasInner({
12170
12176
  onRegionClick(regionCode);
12171
12177
  }
12172
12178
  },
12173
- fill: hasItems ? isHovered ? regionColor : isActive ? regionColor : lighterColors.get(regionCode) || getLighterColor(regionColor) : MAP_DEFAULT_STATE_COLOR,
12179
+ fill: hasItems ? isHovered ? regionColor : isActive ? regionColor : lighterColors.get(regionCode) || getLighterColor(regionColor) : (() => {
12180
+ const c2 = regionColorMap.get(regionCode);
12181
+ if (!c2 || !c2.startsWith("#") || c2.length < 7) return MAP_DEFAULT_STATE_COLOR;
12182
+ const r3 = parseInt(c2.slice(1, 3), 16);
12183
+ const g3 = parseInt(c2.slice(3, 5), 16);
12184
+ const b2 = parseInt(c2.slice(5, 7), 16);
12185
+ return `rgba(${r3}, ${g3}, ${b2}, 0.10)`;
12186
+ })(),
12174
12187
  stroke: isActive ? "#fff" : isDimmed ? "rgba(148, 163, 184, 0.2)" : "rgba(255, 255, 255, 0.4)",
12175
12188
  strokeWidth: (isActive ? 2.5 : 0.5) / zoom,
12176
12189
  filter: isActive ? "url(#glow-active)" : isDimmed ? "url(#inactive-dim)" : void 0,
@@ -12355,11 +12368,16 @@ function InteractiveGeoMapInner({
12355
12368
  const mapState = useGeoMapState(mapStateOptions);
12356
12369
  const regionColorMap = useMemo(() => {
12357
12370
  const colorMap2 = /* @__PURE__ */ new Map();
12371
+ for (const code of Object.keys(regionCoordinates)) {
12372
+ colorMap2.set(code, getRegionColor(code));
12373
+ }
12358
12374
  mapState.regionGroups.forEach((regionData) => {
12359
- colorMap2.set(regionData.code, getRegionColor(regionData.code));
12375
+ if (!colorMap2.has(regionData.code)) {
12376
+ colorMap2.set(regionData.code, getRegionColor(regionData.code));
12377
+ }
12360
12378
  });
12361
12379
  return colorMap2;
12362
- }, [mapState.regionGroups, getRegionColor]);
12380
+ }, [regionCoordinates, mapState.regionGroups, getRegionColor]);
12363
12381
  const handleRegionClick = (code) => {
12364
12382
  onRegionToggle?.(code);
12365
12383
  };
@@ -12684,6 +12702,27 @@ function EntityDrawer({
12684
12702
  ] })
12685
12703
  ] });
12686
12704
  }
12705
+
12706
+ // src/lib/locale-flags.ts
12707
+ var flag_br = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20height%3D%22800px%22%20width%3D%22800px%22%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C512H116.099C52.082%2C512%2C0%2C459.918%2C0%2C395.901V116.099C0%2C52.082%2C52.082%2C0%2C116.099%2C0h279.803%0A%09C459.918%2C0%2C512%2C52.082%2C512%2C116.099v279.803C512%2C459.918%2C459.918%2C512%2C395.901%2C512z%20M116.099%2C14.573%0A%09c-55.981%2C0-101.526%2C45.544-101.526%2C101.526v279.803c0%2C55.981%2C45.544%2C101.526%2C101.526%2C101.526h279.803%0A%09c55.981%2C0%2C101.526-45.545%2C101.526-101.526V116.099c0-55.981-45.545-101.526-101.526-101.526%0A%09C395.902%2C14.573%2C116.099%2C14.573%2C116.099%2C14.573z%22%2F%3E%0A%3Cpolygon%20style%3D%22fill%3A%23FFE000%3B%22%20points%3D%22256%2C374.81%2051.502%2C256%20256%2C137.19%20460.498%2C256%20%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C382.097c-1.265%2C0-2.529-0.328-3.66-0.986L47.842%2C262.301c-2.245-1.305-3.626-3.705-3.626-6.301%0A%09s1.381-4.996%2C3.626-6.301l204.498-118.81c2.264-1.315%2C5.057-1.315%2C7.321%2C0l204.498%2C118.81c2.245%2C1.305%2C3.626%2C3.705%2C3.626%2C6.301%0A%09c0%2C2.596-1.381%2C4.996-3.626%2C6.301l-32.303%2C18.767c-3.48%2C2.02-7.939%2C0.841-9.961-2.64c-2.021-3.479-0.84-7.939%2C2.64-9.961%0A%09L445.993%2C256L256%2C145.617L66.007%2C256L256%2C366.383l139.861-81.258c3.478-2.021%2C7.938-0.841%2C9.961%2C2.64%0A%09c2.021%2C3.479%2C0.84%2C7.939-2.64%2C9.961L259.66%2C381.111C258.529%2C381.768%2C257.265%2C382.097%2C256%2C382.097z%22%2F%3E%0A%3Ccircle%20style%3D%22fill%3A%23103B9B%3B%22%20cx%3D%22256%22%20cy%3D%22256%22%20r%3D%2267.47%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M316.265%2C293.777c-2.7%2C0-5.294-1.507-6.556-4.097c-10.094-20.712-27.403-36.941-48.741-45.697%0A%09c-21.334-8.755-45.052-9.367-66.782-1.72c-3.794%2C1.333-7.955-0.659-9.292-4.455c-1.335-3.796%2C0.659-7.956%2C4.455-9.292%0A%09c25.106-8.835%2C52.506-8.129%2C77.152%2C1.986c24.649%2C10.116%2C44.646%2C28.865%2C56.308%2C52.796c1.763%2C3.617%2C0.259%2C7.979-3.359%2C9.742%0A%09C318.423%2C293.54%2C317.336%2C293.777%2C316.265%2C293.777z%22%2F%3E%0A%3Cpath%20d%3D%22M256%2C330.753c-41.219%2C0-74.753-33.534-74.753-74.753s33.534-74.753%2C74.753-74.753s74.753%2C33.534%2C74.753%2C74.753%0A%09S297.219%2C330.753%2C256%2C330.753z%20M256%2C195.82c-33.183%2C0-60.18%2C26.997-60.18%2C60.18s26.997%2C60.18%2C60.18%2C60.18s60.18-26.997%2C60.18-60.18%0A%09S289.183%2C195.82%2C256%2C195.82z%22%2F%3E%0A%3C%2Fsvg%3E";
12708
+ var flag_us = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512.001%20512.001%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Cpath%20style%3D%22fill%3A%23FFFFFF%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.1%0A%09C504.714%2C56.004%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Crect%20x%3D%227.286%22%20y%3D%22338.901%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%2255.26%22%2F%3E%0A%09%3Crect%20x%3D%22225.79%22%20y%3D%22228.361%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22278.92%22%20height%3D%2255.28%22%2F%3E%0A%09%3Crect%20x%3D%22236.17%22%20y%3D%22117.831%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22268.55%22%20height%3D%2255.26%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M116.099%2C504.715h279.803c40.628%2C0%2C76.05-22.27%2C94.739-55.264H21.36%0A%09%09C40.049%2C482.445%2C75.471%2C504.715%2C116.099%2C504.715z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M490.64%2C62.552c-18.689-32.995-54.111-55.264-94.739-55.264H225.79v55.264H490.64z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M335.041%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.004%2C7.286%2C116.1v167.541h327.755L335.041%2C7.287%0A%09L335.041%2C7.287z%22%2F%3E%0A%3Cg%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22217.091%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22240.971%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22193.221%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22169.341%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%22145.461%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%22121.591%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2297.711%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2272.55%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22121.86%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22171.16%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22220.47%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22269.77%22%20cy%3D%2273.835%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2247.902%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%2297.21%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22146.51%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22195.82%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22245.12%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%09%3Ccircle%20style%3D%22fill%3A%23FFFFFF%3B%22%20cx%3D%22294.43%22%20cy%3D%2249.958%22%20r%3D%228.953%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M497.341%2C59.688c-0.199-0.465-0.447-0.902-0.734-1.311C476.551%2C23.521%2C438.921%2C0.001%2C395.901%2C0.001H116.099%0A%09C52.082%2C0.001%2C0%2C52.083%2C0%2C116.1v279.803c0%2C20.462%2C5.328%2C39.7%2C14.659%2C56.412c0.199%2C0.464%2C0.447%2C0.902%2C0.734%2C1.311%0A%09C35.449%2C488.481%2C73.079%2C512%2C116.099%2C512h279.803c43.02%2C0%2C80.65-23.52%2C100.706-58.376c0.287-0.409%2C0.535-0.846%2C0.734-1.311%0A%09c9.331-16.712%2C14.659-35.95%2C14.659-56.412V116.1C512%2C95.638%2C506.672%2C76.4%2C497.341%2C59.688z%20M438.39%2C386.883%0A%09c-4.024%2C0-7.286%2C3.262-7.286%2C7.287s3.262%2C7.286%2C7.286%2C7.286h58.883c-0.791%2C14.595-4.676%2C28.38-11.013%2C40.708H25.74%0A%09c-6.337-12.328-10.222-26.113-11.013-40.708h390.501c4.024%2C0%2C7.286-3.262%2C7.286-7.286c0-4.025-3.262-7.287-7.286-7.287H14.573%0A%09v-40.692h482.854v40.692L438.39%2C386.883L438.39%2C386.883z%20M497.273%2C110.546H342.328V69.838H486.26%0A%09C492.597%2C82.166%2C496.482%2C95.951%2C497.273%2C110.546z%20M389.101%2C180.383h108.326v40.691H342.328v-40.691h19.156%0A%09c4.024%2C0%2C7.286-3.262%2C7.286-7.287c0-4.025-3.262-7.286-7.286-7.286h-19.156v-40.692h155.099v40.692H389.101%0A%09c-4.024%2C0-7.287%2C3.262-7.287%2C7.286C381.814%2C177.121%2C385.076%2C180.383%2C389.101%2C180.383z%20M342.328%2C235.647h155.099v40.708H342.328%0A%09V235.647z%20M497.427%2C290.928v40.691H14.573v-40.691H497.427z%20M477.132%2C55.265H342.328V14.574h53.574%0A%09C429.082%2C14.574%2C458.594%2C30.575%2C477.132%2C55.265z%20M116.099%2C14.574h211.656v261.781H14.573V116.1%0A%09C14.573%2C60.119%2C60.117%2C14.574%2C116.099%2C14.574z%20M395.901%2C497.428H116.099c-33.181%2C0-62.693-16.001-81.231-40.691h442.264%0A%09C458.594%2C481.427%2C429.082%2C497.428%2C395.901%2C497.428z%22%2F%3E%0A%3C%2Fsvg%3E";
12709
+ var flag_es = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22131.64%22%20style%3D%22fill%3A%23FFE000%3B%22%20width%3D%22497.43%22%20height%3D%22248.71%22%2F%3E%0A%3Cg%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287H116.099C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v15.545h497.427v-15.545%0A%09%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%09%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-15.545H7.286V395.901z%22%2F%3E%0A%3C%2Fg%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v8.258H14.573v-8.258C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-8.258h390.655c4.024%2C0%2C7.286-3.262%2C7.286-7.287s-3.262-7.286-7.286-7.286%0A%09H14.573V138.93h482.854v234.14H438.39c-4.024%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.287%2C7.286%2C7.287h59.037v8.258%0A%09C497.427%2C451.883%2C451.883%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
12710
+ var flag_fr = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.287%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23164FCE%3B%22%20d%3D%22M116.099%2C7.287C56.003%2C7.287%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.287H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.287h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.287%2C395.901%2C7.287z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.981%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.545%2C101.526-101.526%2C101.526H346.19V156.515c0-4.024-3.262-7.286-7.286-7.286c-4.025%2C0-7.287%2C3.262-7.287%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.287%2C7.286s7.286-3.262%2C7.286-7.286V14.573h49.711%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
12711
+ var flag_de = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%227.286%22%20y%3D%22173.1%22%20style%3D%22fill%3A%23ED1F34%3B%22%20width%3D%22497.43%22%20height%3D%22165.81%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23FFE000%3B%22%20d%3D%22M7.286%2C395.901c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h279.803%0A%09c60.095%2C0%2C108.812-48.717%2C108.812-108.812v-56.997H7.286V395.901z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23333333%3B%22%20d%3D%22M395.901%2C7.286H116.099C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v56.997h497.427v-56.997%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M116.099%2C14.573h279.803%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526v49.71H14.573v-49.71C14.573%2C60.117%2C60.117%2C14.573%2C116.099%2C14.573z%20M395.901%2C497.427%0A%09H116.099c-55.982%2C0-101.526-45.544-101.526-101.526v-49.71h390.655c4.025%2C0%2C7.286-3.262%2C7.286-7.286s-3.262-7.286-7.286-7.286%0A%09H14.573V180.382h482.854v151.236H438.39c-4.025%2C0-7.286%2C3.262-7.286%2C7.286s3.262%2C7.286%2C7.286%2C7.286h59.037v49.71%0A%09C497.427%2C451.883%2C451.882%2C497.427%2C395.901%2C497.427z%22%2F%3E%0A%3C%2Fsvg%3E";
12712
+ var flag_it = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859-1%22%3F%3E%0A%3C!--%20Uploaded%20to%3A%20SVG%20Repo%2C%20www.svgrepo.com%2C%20Generator%3A%20SVG%20Repo%20Mixer%20Tools%20--%3E%0A%3Csvg%20version%3D%221.1%22%20id%3D%22Layer_1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20%0A%09%20viewBox%3D%220%200%20512%20512%22%20xml%3Aspace%3D%22preserve%22%3E%0A%3Crect%20x%3D%22173.1%22%20y%3D%227.286%22%20style%3D%22fill%3A%23FFFFFF%3B%22%20width%3D%22165.81%22%20height%3D%22497.43%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23259245%3B%22%20d%3D%22M116.099%2C7.286C56.003%2C7.286%2C7.286%2C56.003%2C7.286%2C116.099v279.803%0A%09c0%2C60.095%2C48.717%2C108.812%2C108.812%2C108.812h56.997V7.286H116.099z%22%2F%3E%0A%3Cpath%20style%3D%22fill%3A%23ED1F34%3B%22%20d%3D%22M395.901%2C7.286h-56.997v497.427h56.997c60.095%2C0%2C108.812-48.717%2C108.812-108.812V116.099%0A%09C504.714%2C56.003%2C455.997%2C7.286%2C395.901%2C7.286z%22%2F%3E%0A%3Cpath%20d%3D%22M395.901%2C0H116.099C52.082%2C0%2C0%2C52.082%2C0%2C116.099v279.803C0%2C459.918%2C52.082%2C512%2C116.099%2C512h279.803%0A%09C459.918%2C512%2C512%2C459.918%2C512%2C395.901V116.099C512%2C52.082%2C459.918%2C0%2C395.901%2C0z%20M14.573%2C395.901V116.099%0A%09c0-55.982%2C45.544-101.526%2C101.526-101.526h49.71v482.854h-49.71C60.117%2C497.427%2C14.573%2C451.883%2C14.573%2C395.901z%20M497.427%2C395.901%0A%09c0%2C55.982-45.544%2C101.526-101.526%2C101.526h-49.71V156.515c0-4.024-3.262-7.286-7.287-7.286c-4.024%2C0-7.286%2C3.262-7.286%2C7.286%0A%09v340.912H180.382V14.573h151.236v92.199c0%2C4.024%2C3.262%2C7.286%2C7.286%2C7.286c4.024%2C0%2C7.287-3.262%2C7.287-7.286V14.573h49.71%0A%09c55.981%2C0%2C101.526%2C45.544%2C101.526%2C101.526L497.427%2C395.901L497.427%2C395.901z%22%2F%3E%0A%3C%2Fsvg%3E";
12713
+ var LOCALE_FLAGS = {
12714
+ "br": flag_br,
12715
+ "us": flag_us,
12716
+ "es": flag_es,
12717
+ "fr": flag_fr,
12718
+ "de": flag_de,
12719
+ "it": flag_it,
12720
+ // Locale code aliases
12721
+ "pt-BR": flag_br,
12722
+ "pt": flag_br,
12723
+ "en": flag_us,
12724
+ "en-US": flag_us
12725
+ };
12687
12726
  function FilterPill({ icon, label, variant, onRemove }) {
12688
12727
  return /* @__PURE__ */ jsxs(
12689
12728
  "button",
@@ -15072,196 +15111,2203 @@ var getSouthAfricaColors = (code) => getSubdivisionColors("ZA", code);
15072
15111
  var getSouthAfricaAccent = (code) => getSubdivisionAccent("ZA", code);
15073
15112
  var isValidSouthAfricaProvince = (code) => isValidSubdivision("ZA", code);
15074
15113
 
15075
- // src/lib/country-config.ts
15076
- var COUNTRY_REGISTRY = /* @__PURE__ */ new Map();
15077
- function getCountryConfig(code) {
15078
- return COUNTRY_REGISTRY.get(code.toUpperCase()) ?? null;
15079
- }
15080
- function registerCountry(config) {
15081
- COUNTRY_REGISTRY.set(config.code.toUpperCase(), config);
15082
- }
15083
- function getAllCountries() {
15084
- return [...COUNTRY_REGISTRY.values()].sort((a2, b2) => a2.code.localeCompare(b2.code));
15085
- }
15086
- function formatCurrency2(amount, countryCode) {
15087
- const config = getCountryConfig(countryCode);
15088
- if (!config) return String(amount);
15089
- const { currency } = config;
15090
- const fixed = Math.abs(amount).toFixed(currency.precision);
15091
- const [integerPart, decimalPart] = fixed.split(".");
15092
- const withThousands = integerPart.replace(
15093
- /\B(?=(\d{3})+(?!\d))/g,
15094
- currency.thousands
15095
- );
15096
- const formatted = decimalPart ? `${withThousands}${currency.decimal}${decimalPart}` : withThousands;
15097
- const sign = amount < 0 ? "-" : "";
15098
- return currency.symbolPosition === "before" ? `${sign}${currency.symbol}${formatted}` : `${sign}${formatted}${currency.symbol}`;
15099
- }
15100
- function formatAddress(address, countryCode) {
15101
- const config = getCountryConfig(countryCode);
15102
- if (!config) {
15103
- return Object.values(address).filter(Boolean).join(", ");
15104
- }
15105
- let result = config.address.template;
15106
- for (const field of config.address.fields) {
15107
- result = result.replace(`{${field}}`, address[field] ?? "");
15108
- }
15109
- return result.replace(/[ ]{2,}/g, " ").replace(/,\s*,/g, ",").replace(/,\s*\n/g, "\n").replace(/\n\s*,/g, "\n").trim();
15110
- }
15111
- registerCountry({
15112
- code: "BR",
15113
- name: "Brazil",
15114
- nativeName: "Brasil",
15115
- flag: "\u{1F1E7}\u{1F1F7}",
15116
- theme: BR_THEME_CONFIG,
15117
- coordinates: BRAZIL_STATE_COORDINATES,
15118
- mapCenter: BRAZIL_MAP_CENTER,
15119
- macroRegions: BRAZIL_MACRO_REGIONS,
15120
- geoJsonPath: "/maps/brazil.geo.json",
15121
- projection: "mercator",
15122
- regionPropertyKey: "code",
15123
- languages: [
15124
- { code: "pt-BR", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
15125
- ],
15126
- currency: {
15127
- code: "BRL",
15128
- numeric: "986",
15129
- symbol: "R$",
15130
- decimal: ",",
15131
- thousands: ".",
15132
- symbolPosition: "before",
15133
- precision: 2
15114
+ // src/lib/themes/south-korea.ts
15115
+ var SOUTH_KOREA_PROVINCE_PALETTES = {
15116
+ KG: { primary: "#003da5", secondary: "#009640", text: "light" },
15117
+ CB: { primary: "#009640", secondary: "#ffd700", text: "light" },
15118
+ KN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15119
+ SJ: { primary: "#009640", secondary: "#c8102e", text: "light" },
15120
+ PU: { primary: "#0038a8", secondary: "#f0f0f0", text: "light" },
15121
+ NG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15122
+ SE: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
15123
+ TJ: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15124
+ UL: { primary: "#009640", secondary: "#003da5", text: "light" },
15125
+ IN: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15126
+ KW: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15127
+ GN: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
15128
+ CJ: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
15129
+ GB: { primary: "#003da5", secondary: "#009640", text: "light" },
15130
+ SO: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15131
+ TG: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15132
+ KJ: { primary: "#009640", secondary: "#ffd700", text: "light" }
15133
+ };
15134
+ var SOUTH_KOREA_ACCENT_MAP = {
15135
+ KG: "blue",
15136
+ CB: "green",
15137
+ KN: "red",
15138
+ SJ: "green",
15139
+ PU: "blue",
15140
+ NG: "red",
15141
+ SE: "purple",
15142
+ TJ: "blue",
15143
+ UL: "emerald",
15144
+ IN: "blue",
15145
+ KW: "green",
15146
+ GN: "yellow",
15147
+ CJ: "orange",
15148
+ GB: "indigo",
15149
+ SO: "red",
15150
+ TG: "blue",
15151
+ KJ: "green"
15152
+ };
15153
+ var VALID_CODES17 = Object.keys(SOUTH_KOREA_PROVINCE_PALETTES);
15154
+ var KR_THEME_CONFIG = {
15155
+ palettes: SOUTH_KOREA_PROVINCE_PALETTES,
15156
+ accents: SOUTH_KOREA_ACCENT_MAP,
15157
+ flagUrlTemplate: (code) => VALID_CODES17.includes(code) ? `/flags/kr/${code}.svg` : null
15158
+ };
15159
+ var SOUTH_KOREA_PROVINCE_COORDINATES = {
15160
+ SO: [127, 37.6],
15161
+ IN: [126.7, 37.5],
15162
+ KG: [127, 37.3],
15163
+ KW: [128.2, 37.8],
15164
+ TJ: [127.4, 36.35],
15165
+ SE: [127, 36.6],
15166
+ GB: [127.5, 36.8],
15167
+ GN: [126.8, 36.5],
15168
+ PU: [129.1, 35.2],
15169
+ TG: [128.6, 35.9],
15170
+ UL: [129.3, 35.5],
15171
+ KN: [128.5, 35.3],
15172
+ NG: [128.8, 36.4],
15173
+ KJ: [126.9, 35.2],
15174
+ SJ: [126.7, 35],
15175
+ CB: [127, 35.5],
15176
+ CJ: [126.5, 33.4]
15177
+ };
15178
+ var SOUTH_KOREA_MAP_CENTER = [127.5, 36.5];
15179
+ var SOUTH_KOREA_MACRO_REGIONS = [
15180
+ {
15181
+ key: "capital",
15182
+ label: "",
15183
+ codes: ["SO", "IN", "KG"],
15184
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15185
+ iconColor: "text-red-600 dark:text-red-400"
15134
15186
  },
15135
- locale: {
15136
- defaultLocale: "pt-BR",
15137
- dateFormat: "dd/MM/yyyy",
15138
- timeFormat: "24h",
15139
- firstDayOfWeek: 0,
15140
- measurementSystem: "metric"
15187
+ {
15188
+ key: "chungcheong",
15189
+ label: "",
15190
+ codes: ["TJ", "SE", "GB", "GN"],
15191
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15192
+ iconColor: "text-blue-600 dark:text-blue-400"
15141
15193
  },
15142
- address: {
15143
- fields: ["street", "number", "complement", "neighborhood", "city", "state", "postalCode"],
15144
- template: "{street}, {number} {complement}\n{neighborhood}\n{city}, {state} {postalCode}",
15145
- postalCodeLabel: "CEP",
15146
- postalCodePattern: "^\\d{5}-?\\d{3}$",
15147
- stateLabel: "Estado"
15194
+ {
15195
+ key: "gyeongsang",
15196
+ label: "",
15197
+ codes: ["PU", "TG", "UL", "KN", "NG"],
15198
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15199
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15148
15200
  },
15149
- tax: {
15150
- name: "ICMS",
15151
- standardRate: 18,
15152
- subdivisionRates: {
15153
- AC: 19,
15154
- AL: 19,
15155
- AM: 20,
15156
- AP: 18,
15157
- BA: 20.5,
15158
- CE: 20,
15159
- DF: 20,
15160
- ES: 17,
15161
- GO: 19,
15162
- MA: 22,
15163
- MG: 18,
15164
- MS: 17,
15165
- MT: 17,
15166
- PA: 19,
15167
- PB: 20,
15168
- PE: 20.5,
15169
- PI: 21,
15170
- PR: 19.5,
15171
- RJ: 20,
15172
- RN: 18,
15173
- RO: 19.5,
15174
- RR: 20,
15175
- RS: 17,
15176
- SC: 17,
15177
- SE: 19,
15178
- SP: 18,
15179
- TO: 20
15180
- }
15201
+ {
15202
+ key: "jeolla",
15203
+ label: "",
15204
+ codes: ["KJ", "SJ", "CB"],
15205
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
15206
+ iconColor: "text-amber-600 dark:text-amber-400"
15207
+ },
15208
+ {
15209
+ key: "gangwon-jeju",
15210
+ label: "",
15211
+ codes: ["KW", "CJ"],
15212
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
15213
+ iconColor: "text-orange-600 dark:text-orange-400"
15181
15214
  }
15182
- });
15183
- registerCountry({
15184
- code: "US",
15185
- name: "United States",
15186
- nativeName: "United States",
15187
- flag: "\u{1F1FA}\u{1F1F8}",
15188
- theme: US_THEME_CONFIG,
15189
- coordinates: US_STATE_COORDINATES,
15190
- mapCenter: US_MAP_CENTER,
15191
- macroRegions: US_MACRO_REGIONS,
15192
- geoJsonPath: "/maps/us.geo.json",
15193
- projection: "albersUsa",
15194
- regionPropertyKey: "code",
15195
- languages: [
15196
- { code: "en-US", name: "English", nativeName: "English", primary: true },
15197
- { code: "es-US", name: "Spanish", nativeName: "Espa\xF1ol" }
15198
- ],
15199
- currency: {
15200
- code: "USD",
15201
- numeric: "840",
15202
- symbol: "$",
15203
- decimal: ".",
15204
- thousands: ",",
15205
- symbolPosition: "before",
15206
- precision: 2
15215
+ ];
15216
+ var getSouthKoreaFlagUrl = (code) => getSubdivisionFlagUrl("KR", code);
15217
+ var getSouthKoreaHexColor = (code) => getSubdivisionHexColor("KR", code);
15218
+ var getSouthKoreaPalette = (code) => getSubdivisionPalette("KR", code);
15219
+ var getSouthKoreaGradient = (code, direction) => getSubdivisionGradient("KR", code, direction);
15220
+ var getSouthKoreaColors = (code) => getSubdivisionColors("KR", code);
15221
+ var getSouthKoreaAccent = (code) => getSubdivisionAccent("KR", code);
15222
+ var isValidSouthKoreaProvince = (code) => isValidSubdivision("KR", code);
15223
+
15224
+ // src/lib/themes/indonesia.ts
15225
+ var INDONESIA_PROVINCE_PALETTES = {
15226
+ AC: { primary: "#009640", secondary: "#ffd700", text: "light" },
15227
+ JT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15228
+ BE: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15229
+ BT: { primary: "#009640", secondary: "#c8102e", text: "light" },
15230
+ KB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15231
+ BB: { primary: "#003da5", secondary: "#009640", text: "light" },
15232
+ BA: { primary: "#ff6f00", secondary: "#f0f0f0", text: "light" },
15233
+ JI: { primary: "#c8102e", secondary: "#009640", text: "light" },
15234
+ KS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15235
+ NT: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15236
+ SE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15237
+ KR: { primary: "#003da5", secondary: "#009640", text: "light" },
15238
+ IB: { primary: "#009640", secondary: "#ffd700", text: "light" },
15239
+ SU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15240
+ RI: { primary: "#009640", secondary: "#003da5", text: "light" },
15241
+ SW: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15242
+ KU: { primary: "#009640", secondary: "#c8102e", text: "light" },
15243
+ LA: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
15244
+ LP: { primary: "#c8102e", secondary: "#009640", text: "light" },
15245
+ SB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15246
+ MA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15247
+ NB: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
15248
+ SG: { primary: "#009640", secondary: "#ffd700", text: "light" },
15249
+ ST: { primary: "#c8102e", secondary: "#009640", text: "light" },
15250
+ PA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15251
+ JR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15252
+ KI: { primary: "#ffd700", secondary: "#009640", text: "dark" },
15253
+ JK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15254
+ GO: { primary: "#003da5", secondary: "#009640", text: "light" },
15255
+ YO: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
15256
+ SL: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15257
+ SR: { primary: "#009640", secondary: "#003da5", text: "light" },
15258
+ JA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15259
+ KT: { primary: "#c8102e", secondary: "#003da5", text: "light" }
15260
+ };
15261
+ var INDONESIA_ACCENT_MAP = {
15262
+ AC: "green",
15263
+ JT: "red",
15264
+ BE: "blue",
15265
+ BT: "green",
15266
+ KB: "red",
15267
+ BB: "blue",
15268
+ BA: "orange",
15269
+ JI: "red",
15270
+ KS: "yellow",
15271
+ NT: "green",
15272
+ SE: "red",
15273
+ KR: "blue",
15274
+ IB: "green",
15275
+ SU: "blue",
15276
+ RI: "green",
15277
+ SW: "blue",
15278
+ KU: "green",
15279
+ LA: "purple",
15280
+ LP: "red",
15281
+ SB: "red",
15282
+ MA: "blue",
15283
+ NB: "orange",
15284
+ SG: "green",
15285
+ ST: "red",
15286
+ PA: "emerald",
15287
+ JR: "blue",
15288
+ KI: "yellow",
15289
+ JK: "red",
15290
+ GO: "blue",
15291
+ YO: "purple",
15292
+ SL: "red",
15293
+ SR: "green",
15294
+ JA: "blue",
15295
+ KT: "red"
15296
+ };
15297
+ var VALID_CODES18 = Object.keys(INDONESIA_PROVINCE_PALETTES);
15298
+ var ID_THEME_CONFIG = {
15299
+ palettes: INDONESIA_PROVINCE_PALETTES,
15300
+ accents: INDONESIA_ACCENT_MAP,
15301
+ flagUrlTemplate: (code) => VALID_CODES18.includes(code) ? `/flags/id/${code}.svg` : null
15302
+ };
15303
+ var INDONESIA_PROVINCE_COORDINATES = {
15304
+ AC: [96.5, 4.7],
15305
+ SU: [99, 2.5],
15306
+ SB: [100.4, -0.7],
15307
+ RI: [102.2, 0.5],
15308
+ JA: [103.6, -1.6],
15309
+ SL: [104.7, -3.3],
15310
+ BE: [102.3, -3.8],
15311
+ LA: [105, -4.8],
15312
+ LP: [105.3, -5],
15313
+ BB: [106.4, -2.7],
15314
+ KR: [104.5, 0.9],
15315
+ JK: [106.8, -6.2],
15316
+ JR: [107.6, -6.9],
15317
+ BT: [106.2, -6.4],
15318
+ JT: [110.4, -7.2],
15319
+ YO: [110.4, -7.8],
15320
+ JI: [112.7, -7.5],
15321
+ BA: [115.1, -8.4],
15322
+ NB: [117.5, -8.7],
15323
+ NT: [121, -9.5],
15324
+ KB: [109.5, 0],
15325
+ KS: [115.4, -3.3],
15326
+ KT: [113.9, -1.7],
15327
+ KI: [116.4, 0.5],
15328
+ KU: [116.5, 2.5],
15329
+ SW: [124.8, 1.2],
15330
+ ST: [121.6, -1.4],
15331
+ SE: [120.5, -3.5],
15332
+ SG: [122, -4],
15333
+ GO: [122.5, 0.5],
15334
+ SR: [119.4, -2.7],
15335
+ MA: [128.2, -3.7],
15336
+ PA: [138.5, -4.3],
15337
+ IB: [134, -1.5]
15338
+ };
15339
+ var INDONESIA_MAP_CENTER = [118, -2.5];
15340
+ var INDONESIA_MACRO_REGIONS = [
15341
+ {
15342
+ key: "java",
15343
+ label: "",
15344
+ codes: ["JR", "JT", "JI", "JK", "YO", "BT"],
15345
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15346
+ iconColor: "text-red-600 dark:text-red-400"
15207
15347
  },
15208
- locale: {
15209
- defaultLocale: "en-US",
15210
- dateFormat: "MM/dd/yyyy",
15211
- timeFormat: "12h",
15212
- firstDayOfWeek: 0,
15213
- measurementSystem: "imperial"
15348
+ {
15349
+ key: "sumatra",
15350
+ label: "",
15351
+ codes: ["AC", "SU", "SB", "RI", "JA", "SL", "BE", "LA", "BB", "KR"],
15352
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15353
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15214
15354
  },
15215
- address: {
15216
- fields: ["street", "suite", "city", "state", "postalCode"],
15217
- template: "{street} {suite}\n{city}, {state} {postalCode}",
15218
- postalCodeLabel: "ZIP Code",
15219
- postalCodePattern: "^\\d{5}(-\\d{4})?$",
15220
- stateLabel: "State"
15355
+ {
15356
+ key: "kalimantan",
15357
+ label: "",
15358
+ codes: ["KB", "KS", "KT", "KI", "KU"],
15359
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15360
+ iconColor: "text-blue-600 dark:text-blue-400"
15221
15361
  },
15222
- tax: {
15223
- name: "Sales Tax",
15224
- standardRate: 0,
15225
- subdivisionRates: {
15226
- AL: 4,
15227
- AK: 0,
15228
- AZ: 5.6,
15229
- AR: 6.5,
15230
- CA: 7.25,
15231
- CO: 2.9,
15232
- CT: 6.35,
15233
- DE: 0,
15234
- FL: 6,
15235
- GA: 4,
15236
- HI: 4,
15237
- ID: 6,
15238
- IL: 6.25,
15239
- IN: 7,
15240
- IA: 6,
15241
- KS: 6.5,
15242
- KY: 6,
15243
- LA: 4.45,
15244
- ME: 5.5,
15245
- MD: 6,
15246
- MA: 6.25,
15247
- MI: 6,
15248
- MN: 6.875,
15249
- MS: 7,
15250
- MO: 4.225,
15251
- MT: 0,
15252
- NE: 5.5,
15253
- NV: 6.85,
15254
- NH: 0,
15255
- NJ: 6.625,
15256
- NM: 5.125,
15257
- NY: 4,
15258
- NC: 4.75,
15259
- ND: 5,
15260
- OH: 5.75,
15261
- OK: 4.5,
15262
- OR: 0,
15263
- PA: 6,
15264
- RI: 7,
15362
+ {
15363
+ key: "sulawesi",
15364
+ label: "",
15365
+ codes: ["SW", "ST", "SE", "SG", "GO", "SR"],
15366
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
15367
+ iconColor: "text-amber-600 dark:text-amber-400"
15368
+ },
15369
+ {
15370
+ key: "papua-nusa-tenggara",
15371
+ label: "",
15372
+ codes: ["PA", "IB", "NT", "NB", "BA", "MA", "LA"],
15373
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
15374
+ iconColor: "text-purple-600 dark:text-purple-400"
15375
+ }
15376
+ ];
15377
+ var getIndonesiaFlagUrl = (code) => getSubdivisionFlagUrl("ID", code);
15378
+ var getIndonesiaHexColor = (code) => getSubdivisionHexColor("ID", code);
15379
+ var getIndonesiaPalette = (code) => getSubdivisionPalette("ID", code);
15380
+ var getIndonesiaGradient = (code, direction) => getSubdivisionGradient("ID", code, direction);
15381
+ var getIndonesiaColors = (code) => getSubdivisionColors("ID", code);
15382
+ var getIndonesiaAccent = (code) => getSubdivisionAccent("ID", code);
15383
+ var isValidIndonesiaProvince = (code) => isValidSubdivision("ID", code);
15384
+
15385
+ // src/lib/themes/thailand.ts
15386
+ var THAILAND_PROVINCE_PALETTES = {
15387
+ BM: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15388
+ PT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15389
+ NO: { primary: "#003da5", secondary: "#009640", text: "light" },
15390
+ SP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15391
+ SS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15392
+ SM: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15393
+ PE: { primary: "#009640", secondary: "#c8102e", text: "light" },
15394
+ CC: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
15395
+ NN: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15396
+ PA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15397
+ AT: { primary: "#009640", secondary: "#ffd700", text: "light" },
15398
+ SB: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15399
+ CN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15400
+ SH: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15401
+ NP: { primary: "#003da5", secondary: "#009640", text: "light" },
15402
+ SR: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15403
+ LB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15404
+ CM: { primary: "#c8102e", secondary: "#009640", text: "light" },
15405
+ CR: { primary: "#009640", secondary: "#ffd700", text: "light" },
15406
+ LN: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15407
+ LG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15408
+ PR: { primary: "#009640", secondary: "#c8102e", text: "light" },
15409
+ PY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15410
+ MH: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
15411
+ NA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15412
+ SO: { primary: "#003da5", secondary: "#009640", text: "light" },
15413
+ UD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15414
+ PS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15415
+ KP: { primary: "#009640", secondary: "#003da5", text: "light" },
15416
+ PC: { primary: "#ffd700", secondary: "#009640", text: "dark" },
15417
+ PH: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15418
+ KK: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15419
+ NR: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15420
+ UR: { primary: "#009640", secondary: "#ffd700", text: "light" },
15421
+ SU: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15422
+ BR: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15423
+ KL: { primary: "#003da5", secondary: "#009640", text: "light" },
15424
+ RE: { primary: "#009640", secondary: "#c8102e", text: "light" },
15425
+ SI: { primary: "#c8102e", secondary: "#009640", text: "light" },
15426
+ LE: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15427
+ NK: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15428
+ AC: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
15429
+ MD: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15430
+ SN: { primary: "#009640", secondary: "#003da5", text: "light" },
15431
+ NF: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15432
+ BK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15433
+ YS: { primary: "#009640", secondary: "#c8102e", text: "light" },
15434
+ MS: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
15435
+ UN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15436
+ NB: { primary: "#009640", secondary: "#ffd700", text: "light" },
15437
+ CY: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15438
+ CB: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15439
+ RY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15440
+ SK: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15441
+ TT: { primary: "#003da5", secondary: "#009640", text: "light" },
15442
+ CT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15443
+ SG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15444
+ PU: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
15445
+ ST: { primary: "#009640", secondary: "#ffd700", text: "light" },
15446
+ KR: { primary: "#003da5", secondary: "#009640", text: "light" },
15447
+ SA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15448
+ TG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15449
+ PL: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15450
+ NT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15451
+ NW: { primary: "#009640", secondary: "#c8102e", text: "light" },
15452
+ PI: { primary: "#ffd700", secondary: "#009640", text: "dark" },
15453
+ YL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15454
+ RN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15455
+ CP: { primary: "#c8102e", secondary: "#009640", text: "light" },
15456
+ PK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15457
+ KN: { primary: "#009640", secondary: "#ffd700", text: "light" },
15458
+ TK: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15459
+ UT: { primary: "#003da5", secondary: "#009640", text: "light" },
15460
+ NS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15461
+ RT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15462
+ PB: { primary: "#009640", secondary: "#003da5", text: "light" }
15463
+ };
15464
+ var THAILAND_ACCENT_MAP = {
15465
+ BM: "red",
15466
+ PT: "blue",
15467
+ NO: "blue",
15468
+ SP: "green",
15469
+ SS: "red",
15470
+ SM: "blue",
15471
+ PE: "green",
15472
+ CC: "yellow",
15473
+ NN: "blue",
15474
+ PA: "red",
15475
+ AT: "green",
15476
+ SB: "blue",
15477
+ CN: "green",
15478
+ SH: "red",
15479
+ NP: "blue",
15480
+ SR: "yellow",
15481
+ LB: "blue",
15482
+ CM: "red",
15483
+ CR: "green",
15484
+ LN: "blue",
15485
+ LG: "red",
15486
+ PR: "green",
15487
+ PY: "blue",
15488
+ MH: "purple",
15489
+ NA: "green",
15490
+ SO: "blue",
15491
+ UD: "red",
15492
+ PS: "blue",
15493
+ KP: "green",
15494
+ PC: "yellow",
15495
+ PH: "blue",
15496
+ KK: "red",
15497
+ NR: "blue",
15498
+ UR: "green",
15499
+ SU: "red",
15500
+ BR: "yellow",
15501
+ KL: "blue",
15502
+ RE: "green",
15503
+ SI: "red",
15504
+ LE: "blue",
15505
+ NK: "green",
15506
+ AC: "purple",
15507
+ MD: "blue",
15508
+ SN: "green",
15509
+ NF: "red",
15510
+ BK: "blue",
15511
+ YS: "green",
15512
+ MS: "yellow",
15513
+ UN: "red",
15514
+ NB: "green",
15515
+ CY: "blue",
15516
+ CB: "red",
15517
+ RY: "blue",
15518
+ SK: "green",
15519
+ TT: "blue",
15520
+ CT: "red",
15521
+ SG: "blue",
15522
+ PU: "orange",
15523
+ ST: "green",
15524
+ KR: "blue",
15525
+ SA: "green",
15526
+ TG: "red",
15527
+ PL: "blue",
15528
+ NT: "red",
15529
+ NW: "green",
15530
+ PI: "yellow",
15531
+ YL: "blue",
15532
+ RN: "green",
15533
+ CP: "red",
15534
+ PK: "blue",
15535
+ KN: "green",
15536
+ TK: "red",
15537
+ UT: "blue",
15538
+ NS: "yellow",
15539
+ RT: "blue",
15540
+ PB: "emerald"
15541
+ };
15542
+ var VALID_CODES19 = Object.keys(THAILAND_PROVINCE_PALETTES);
15543
+ var TH_THEME_CONFIG = {
15544
+ palettes: THAILAND_PROVINCE_PALETTES,
15545
+ accents: THAILAND_ACCENT_MAP,
15546
+ flagUrlTemplate: (code) => VALID_CODES19.includes(code) ? `/flags/th/${code}.svg` : null
15547
+ };
15548
+ var THAILAND_PROVINCE_COORDINATES = {
15549
+ BM: [100.5, 13.8],
15550
+ CM: [98.9, 18.8],
15551
+ CB: [101, 13.4],
15552
+ KK: [102.8, 16.4],
15553
+ NR: [102.1, 14.9],
15554
+ SG: [100.5, 7.2],
15555
+ PU: [98.4, 7.9],
15556
+ ST: [99, 9.1],
15557
+ CR: [99.8, 19.9],
15558
+ PT: [100.5, 14],
15559
+ NO: [100.5, 13.9],
15560
+ SP: [100.6, 13.6],
15561
+ SS: [100.3, 13.5],
15562
+ SM: [100, 13.4],
15563
+ PE: [100, 13.1],
15564
+ CC: [101.1, 13.7],
15565
+ NN: [101.2, 14.2],
15566
+ PA: [100.6, 14.4],
15567
+ AT: [100.5, 14.6],
15568
+ SB: [100.4, 14.9],
15569
+ CN: [100.1, 15.2],
15570
+ SH: [100.1, 14.8],
15571
+ NP: [100.1, 13.8],
15572
+ SR: [100.9, 14.5],
15573
+ LB: [100.6, 14.8],
15574
+ LN: [99, 18.6],
15575
+ LG: [99.5, 18.3],
15576
+ PR: [100.1, 18.1],
15577
+ PY: [99.7, 19.2],
15578
+ MH: [98, 19.3],
15579
+ NA: [100.8, 18.8],
15580
+ SO: [99.8, 17],
15581
+ UD: [100.1, 17.6],
15582
+ PS: [100.3, 16.8],
15583
+ KP: [99.5, 16.5],
15584
+ PC: [100.3, 16.4],
15585
+ PH: [101.2, 16.4],
15586
+ NF: [104.8, 17.4],
15587
+ UR: [104.9, 15.3],
15588
+ SU: [103.5, 14.9],
15589
+ BR: [103.1, 14.9],
15590
+ KL: [103.5, 16.4],
15591
+ RE: [103.7, 16.1],
15592
+ SI: [104.3, 15.1],
15593
+ LE: [101.7, 17.5],
15594
+ NK: [102.7, 17.9],
15595
+ AC: [104.6, 15.9],
15596
+ MD: [104.6, 16.5],
15597
+ SN: [104.1, 17.2],
15598
+ BK: [103.6, 18.4],
15599
+ YS: [104.1, 15.8],
15600
+ MS: [103.3, 16.2],
15601
+ UN: [102.8, 17.4],
15602
+ NB: [102.4, 17.2],
15603
+ CY: [102, 15.8],
15604
+ RY: [101.3, 12.7],
15605
+ SK: [102.2, 13.8],
15606
+ TT: [102.5, 12.2],
15607
+ CT: [102.1, 12.6],
15608
+ KR: [98.9, 8.1],
15609
+ SA: [100.1, 6.6],
15610
+ TG: [99.7, 7.6],
15611
+ PL: [100.1, 7.6],
15612
+ NT: [100, 8.4],
15613
+ NW: [101.8, 6.4],
15614
+ PI: [101.3, 6.9],
15615
+ YL: [101.3, 6.5],
15616
+ RN: [98.6, 9.9],
15617
+ CP: [99.2, 10.5],
15618
+ PK: [99.8, 11.8],
15619
+ KN: [99.5, 14],
15620
+ TK: [99, 16.9],
15621
+ UT: [99.7, 15.4],
15622
+ NS: [99.5, 15.7],
15623
+ RT: [99.8, 13.5],
15624
+ PB: [101.4, 14.1]
15625
+ };
15626
+ var THAILAND_MAP_CENTER = [101, 15];
15627
+ var THAILAND_MACRO_REGIONS = [
15628
+ {
15629
+ key: "central",
15630
+ label: "",
15631
+ codes: ["BM", "PT", "NO", "SP", "SS", "SM", "PE", "CC", "NN", "PA", "AT", "SB", "CN", "SH", "NP", "SR", "LB"],
15632
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15633
+ iconColor: "text-red-600 dark:text-red-400"
15634
+ },
15635
+ {
15636
+ key: "north",
15637
+ label: "",
15638
+ codes: ["CM", "CR", "LN", "LG", "PR", "PY", "MH", "NA", "SO", "UD", "PS", "KP", "PC", "PH"],
15639
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15640
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15641
+ },
15642
+ {
15643
+ key: "northeast",
15644
+ label: "",
15645
+ codes: ["KK", "NR", "UR", "SU", "BR", "KL", "RE", "SI", "LE", "NK", "AC", "MD", "SN", "NF", "BK", "YS", "MS", "UN", "NB", "CY"],
15646
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15647
+ iconColor: "text-blue-600 dark:text-blue-400"
15648
+ },
15649
+ {
15650
+ key: "east",
15651
+ label: "",
15652
+ codes: ["CB", "RY", "SK", "TT", "CT"],
15653
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
15654
+ iconColor: "text-amber-600 dark:text-amber-400"
15655
+ },
15656
+ {
15657
+ key: "south",
15658
+ label: "",
15659
+ codes: ["SG", "PU", "ST", "KR", "SA", "TG", "PL", "NT", "NW", "PI", "YL", "RN", "CP", "PK"],
15660
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
15661
+ iconColor: "text-orange-600 dark:text-orange-400"
15662
+ },
15663
+ {
15664
+ key: "west",
15665
+ label: "",
15666
+ codes: ["KN", "TK", "UT", "NS", "RT", "PB"],
15667
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
15668
+ iconColor: "text-purple-600 dark:text-purple-400"
15669
+ }
15670
+ ];
15671
+ var getThailandFlagUrl = (code) => getSubdivisionFlagUrl("TH", code);
15672
+ var getThailandHexColor = (code) => getSubdivisionHexColor("TH", code);
15673
+ var getThailandPalette = (code) => getSubdivisionPalette("TH", code);
15674
+ var getThailandGradient = (code, direction) => getSubdivisionGradient("TH", code, direction);
15675
+ var getThailandColors = (code) => getSubdivisionColors("TH", code);
15676
+ var getThailandAccent = (code) => getSubdivisionAccent("TH", code);
15677
+ var isValidThailandProvince = (code) => isValidSubdivision("TH", code);
15678
+
15679
+ // src/lib/themes/nigeria.ts
15680
+ var NIGERIA_STATE_PALETTES = {
15681
+ RI: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15682
+ KT: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15683
+ SO: { primary: "#009640", secondary: "#c8102e", text: "light" },
15684
+ ZA: { primary: "#c8102e", secondary: "#009640", text: "light" },
15685
+ YO: { primary: "#003da5", secondary: "#009640", text: "light" },
15686
+ KE: { primary: "#009640", secondary: "#ffd700", text: "light" },
15687
+ AD: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15688
+ BO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15689
+ AK: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15690
+ AB: { primary: "#009640", secondary: "#c8102e", text: "light" },
15691
+ IM: { primary: "#003da5", secondary: "#009640", text: "light" },
15692
+ BY: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15693
+ BE: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15694
+ CR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15695
+ TA: { primary: "#ffd700", secondary: "#009640", text: "dark" },
15696
+ KW: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15697
+ LA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15698
+ NI: { primary: "#009640", secondary: "#003da5", text: "light" },
15699
+ FC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15700
+ OG: { primary: "#009640", secondary: "#ffd700", text: "light" },
15701
+ ON: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15702
+ EK: { primary: "#003da5", secondary: "#009640", text: "light" },
15703
+ OS: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
15704
+ OY: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15705
+ AN: { primary: "#009640", secondary: "#c8102e", text: "light" },
15706
+ BA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15707
+ GO: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15708
+ DE: { primary: "#c8102e", secondary: "#009640", text: "light" },
15709
+ ED: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15710
+ EN: { primary: "#009640", secondary: "#ffd700", text: "light" },
15711
+ EB: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
15712
+ KD: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15713
+ KO: { primary: "#003da5", secondary: "#009640", text: "light" },
15714
+ PL: { primary: "#009640", secondary: "#c8102e", text: "light" },
15715
+ NA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15716
+ JI: { primary: "#009640", secondary: "#003da5", text: "light" },
15717
+ KN: { primary: "#c8102e", secondary: "#003da5", text: "light" }
15718
+ };
15719
+ var NIGERIA_ACCENT_MAP = {
15720
+ RI: "blue",
15721
+ KT: "green",
15722
+ SO: "green",
15723
+ ZA: "red",
15724
+ YO: "blue",
15725
+ KE: "green",
15726
+ AD: "red",
15727
+ BO: "blue",
15728
+ AK: "red",
15729
+ AB: "green",
15730
+ IM: "blue",
15731
+ BY: "blue",
15732
+ BE: "green",
15733
+ CR: "red",
15734
+ TA: "yellow",
15735
+ KW: "blue",
15736
+ LA: "red",
15737
+ NI: "green",
15738
+ FC: "blue",
15739
+ OG: "green",
15740
+ ON: "red",
15741
+ EK: "blue",
15742
+ OS: "purple",
15743
+ OY: "red",
15744
+ AN: "green",
15745
+ BA: "blue",
15746
+ GO: "green",
15747
+ DE: "red",
15748
+ ED: "blue",
15749
+ EN: "green",
15750
+ EB: "yellow",
15751
+ KD: "red",
15752
+ KO: "blue",
15753
+ PL: "green",
15754
+ NA: "blue",
15755
+ JI: "green",
15756
+ KN: "red"
15757
+ };
15758
+ var VALID_CODES20 = Object.keys(NIGERIA_STATE_PALETTES);
15759
+ var NG_THEME_CONFIG = {
15760
+ palettes: NIGERIA_STATE_PALETTES,
15761
+ accents: NIGERIA_ACCENT_MAP,
15762
+ flagUrlTemplate: (code) => VALID_CODES20.includes(code) ? `/flags/ng/${code}.svg` : null
15763
+ };
15764
+ var NIGERIA_STATE_COORDINATES = {
15765
+ KT: [7.6, 13],
15766
+ SO: [5.2, 13.1],
15767
+ ZA: [6.3, 12.2],
15768
+ KE: [4.2, 12.5],
15769
+ KD: [7.4, 10.5],
15770
+ KN: [8.5, 12],
15771
+ JI: [9.4, 12.2],
15772
+ AD: [12.4, 9.3],
15773
+ BO: [13.2, 11.8],
15774
+ YO: [11.7, 12],
15775
+ BA: [9.8, 10.3],
15776
+ GO: [11.2, 10.3],
15777
+ TA: [11.4, 8],
15778
+ KW: [4.5, 8.5],
15779
+ NI: [6, 9.9],
15780
+ FC: [7.5, 9.1],
15781
+ KO: [6.7, 7.8],
15782
+ PL: [9.2, 9.2],
15783
+ NA: [8.5, 8.5],
15784
+ BE: [8.8, 7.3],
15785
+ LA: [3.4, 6.5],
15786
+ OG: [3.3, 7],
15787
+ ON: [5.1, 7.3],
15788
+ EK: [5.3, 7.6],
15789
+ OS: [4.5, 7.5],
15790
+ OY: [3.9, 7.8],
15791
+ AB: [7.5, 5.4],
15792
+ AN: [6.9, 6.2],
15793
+ EB: [8.1, 6.3],
15794
+ EN: [7.5, 6.4],
15795
+ IM: [7.1, 5.5],
15796
+ AK: [7.9, 5],
15797
+ BY: [5.9, 4.7],
15798
+ CR: [8.3, 5.9],
15799
+ DE: [5.9, 5.5],
15800
+ ED: [5.6, 6.6],
15801
+ RI: [6.9, 4.8]
15802
+ };
15803
+ var NIGERIA_MAP_CENTER = [8, 9.5];
15804
+ var NIGERIA_MACRO_REGIONS = [
15805
+ {
15806
+ key: "north-west",
15807
+ label: "",
15808
+ codes: ["KT", "SO", "ZA", "KE", "KD", "KN", "JI"],
15809
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15810
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15811
+ },
15812
+ {
15813
+ key: "north-east",
15814
+ label: "",
15815
+ codes: ["AD", "BO", "YO", "BA", "GO", "TA"],
15816
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15817
+ iconColor: "text-blue-600 dark:text-blue-400"
15818
+ },
15819
+ {
15820
+ key: "north-central",
15821
+ label: "",
15822
+ codes: ["KW", "NI", "FC", "KO", "PL", "NA", "BE"],
15823
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
15824
+ iconColor: "text-amber-600 dark:text-amber-400"
15825
+ },
15826
+ {
15827
+ key: "south-west",
15828
+ label: "",
15829
+ codes: ["LA", "OG", "ON", "EK", "OS", "OY"],
15830
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15831
+ iconColor: "text-red-600 dark:text-red-400"
15832
+ },
15833
+ {
15834
+ key: "south-east",
15835
+ label: "",
15836
+ codes: ["AB", "AN", "EB", "EN", "IM"],
15837
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
15838
+ iconColor: "text-purple-600 dark:text-purple-400"
15839
+ },
15840
+ {
15841
+ key: "south-south",
15842
+ label: "",
15843
+ codes: ["AK", "BY", "CR", "DE", "ED", "RI"],
15844
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
15845
+ iconColor: "text-orange-600 dark:text-orange-400"
15846
+ }
15847
+ ];
15848
+ var getNigeriaFlagUrl = (code) => getSubdivisionFlagUrl("NG", code);
15849
+ var getNigeriaHexColor = (code) => getSubdivisionHexColor("NG", code);
15850
+ var getNigeriaPalette = (code) => getSubdivisionPalette("NG", code);
15851
+ var getNigeriaGradient = (code, direction) => getSubdivisionGradient("NG", code, direction);
15852
+ var getNigeriaColors = (code) => getSubdivisionColors("NG", code);
15853
+ var getNigeriaAccent = (code) => getSubdivisionAccent("NG", code);
15854
+ var isValidNigeriaState = (code) => isValidSubdivision("NG", code);
15855
+
15856
+ // src/lib/themes/egypt.ts
15857
+ var EGYPT_GOVERNORATE_PALETTES = {
15858
+ BA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15859
+ JS: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15860
+ UQ: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
15861
+ IS: { primary: "#003da5", secondary: "#009640", text: "light" },
15862
+ GH: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15863
+ MF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15864
+ QH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15865
+ QL: { primary: "#003da5", secondary: "#c8102e", text: "light" },
15866
+ SQ: { primary: "#009640", secondary: "#003da5", text: "light" },
15867
+ SS: { primary: "#ffd700", secondary: "#009640", text: "dark" },
15868
+ SW: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15869
+ DQ: { primary: "#009640", secondary: "#c8102e", text: "light" },
15870
+ BS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
15871
+ DT: { primary: "#003da5", secondary: "#009640", text: "light" },
15872
+ BH: { primary: "#009640", secondary: "#ffd700", text: "light" },
15873
+ MT: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
15874
+ IK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
15875
+ JZ: { primary: "#c8102e", secondary: "#003da5", text: "light" },
15876
+ FY: { primary: "#009640", secondary: "#c8102e", text: "light" },
15877
+ WJ: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
15878
+ MN: { primary: "#003da5", secondary: "#009640", text: "light" },
15879
+ BN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
15880
+ KS: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15881
+ AT: { primary: "#c8102e", secondary: "#009640", text: "light" },
15882
+ AN: { primary: "#003da5", secondary: "#ffd700", text: "light" },
15883
+ QN: { primary: "#009640", secondary: "#003da5", text: "light" },
15884
+ SJ: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
15885
+ };
15886
+ var EGYPT_ACCENT_MAP = {
15887
+ BA: "red",
15888
+ JS: "yellow",
15889
+ UQ: "purple",
15890
+ IS: "blue",
15891
+ GH: "green",
15892
+ MF: "blue",
15893
+ QH: "red",
15894
+ QL: "blue",
15895
+ SQ: "green",
15896
+ SS: "yellow",
15897
+ SW: "blue",
15898
+ DQ: "green",
15899
+ BS: "red",
15900
+ DT: "blue",
15901
+ BH: "green",
15902
+ MT: "yellow",
15903
+ IK: "blue",
15904
+ JZ: "red",
15905
+ FY: "green",
15906
+ WJ: "yellow",
15907
+ MN: "blue",
15908
+ BN: "green",
15909
+ KS: "blue",
15910
+ AT: "red",
15911
+ AN: "blue",
15912
+ QN: "green",
15913
+ SJ: "red"
15914
+ };
15915
+ var VALID_CODES21 = Object.keys(EGYPT_GOVERNORATE_PALETTES);
15916
+ var EG_THEME_CONFIG = {
15917
+ palettes: EGYPT_GOVERNORATE_PALETTES,
15918
+ accents: EGYPT_ACCENT_MAP,
15919
+ flagUrlTemplate: (code) => VALID_CODES21.includes(code) ? `/flags/eg/${code}.svg` : null
15920
+ };
15921
+ var EGYPT_GOVERNORATE_COORDINATES = {
15922
+ QH: [31.2, 30.1],
15923
+ JZ: [31.2, 29.9],
15924
+ QL: [31.2, 30.3],
15925
+ IK: [29.9, 31.2],
15926
+ BH: [30.5, 31],
15927
+ GH: [31, 30.9],
15928
+ MF: [31, 30.5],
15929
+ DQ: [31.4, 31],
15930
+ SQ: [31.5, 30.6],
15931
+ KS: [31.1, 31.3],
15932
+ DT: [31.7, 31.4],
15933
+ BS: [32.3, 31.3],
15934
+ IS: [32.3, 30.6],
15935
+ SW: [32.5, 30],
15936
+ SS: [33.5, 31],
15937
+ JS: [33.8, 29],
15938
+ BA: [33.5, 26],
15939
+ MN: [30.8, 28.1],
15940
+ FY: [30.8, 29.3],
15941
+ BN: [31.1, 29.1],
15942
+ AT: [31.2, 27.2],
15943
+ SJ: [31.6, 26.6],
15944
+ QN: [32.7, 26.2],
15945
+ UQ: [32.6, 25.7],
15946
+ AN: [32.9, 24.1],
15947
+ MT: [27, 31.3],
15948
+ WJ: [29, 25.5]
15949
+ };
15950
+ var EGYPT_MAP_CENTER = [30, 27];
15951
+ var EGYPT_MACRO_REGIONS = [
15952
+ {
15953
+ key: "cairo",
15954
+ label: "",
15955
+ codes: ["QH", "JZ", "QL"],
15956
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
15957
+ iconColor: "text-red-600 dark:text-red-400"
15958
+ },
15959
+ {
15960
+ key: "delta",
15961
+ label: "",
15962
+ codes: ["GH", "MF", "SQ", "DQ", "BS", "DT", "BH", "KS", "IK"],
15963
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
15964
+ iconColor: "text-emerald-600 dark:text-emerald-400"
15965
+ },
15966
+ {
15967
+ key: "canal",
15968
+ label: "",
15969
+ codes: ["IS", "SW", "SS", "JS", "BA"],
15970
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
15971
+ iconColor: "text-blue-600 dark:text-blue-400"
15972
+ },
15973
+ {
15974
+ key: "upper",
15975
+ label: "",
15976
+ codes: ["MN", "AT", "QN", "AN", "UQ", "FY", "BN", "SJ"],
15977
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
15978
+ iconColor: "text-amber-600 dark:text-amber-400"
15979
+ },
15980
+ {
15981
+ key: "western",
15982
+ label: "",
15983
+ codes: ["MT", "WJ"],
15984
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
15985
+ iconColor: "text-purple-600 dark:text-purple-400"
15986
+ }
15987
+ ];
15988
+ var getEgyptFlagUrl = (code) => getSubdivisionFlagUrl("EG", code);
15989
+ var getEgyptHexColor = (code) => getSubdivisionHexColor("EG", code);
15990
+ var getEgyptPalette = (code) => getSubdivisionPalette("EG", code);
15991
+ var getEgyptGradient = (code, direction) => getSubdivisionGradient("EG", code, direction);
15992
+ var getEgyptColors = (code) => getSubdivisionColors("EG", code);
15993
+ var getEgyptAccent = (code) => getSubdivisionAccent("EG", code);
15994
+ var isValidEgyptGovernorate = (code) => isValidSubdivision("EG", code);
15995
+
15996
+ // src/lib/themes/turkey.ts
15997
+ var TURKEY_PROVINCE_PALETTES = {
15998
+ IB: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
15999
+ BU: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16000
+ BK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16001
+ CK: { primary: "#009640", secondary: "#ffd700", text: "light" },
16002
+ TG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16003
+ ED: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16004
+ KL: { primary: "#009640", secondary: "#c8102e", text: "light" },
16005
+ SK: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
16006
+ YL: { primary: "#003da5", secondary: "#009640", text: "light" },
16007
+ KC: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16008
+ BL: { primary: "#003da5", secondary: "#009640", text: "light" },
16009
+ DU: { primary: "#009640", secondary: "#ffd700", text: "light" },
16010
+ BC: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16011
+ IZ: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16012
+ AY: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16013
+ MN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16014
+ MG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16015
+ DN: { primary: "#c8102e", secondary: "#009640", text: "light" },
16016
+ AF: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16017
+ KU: { primary: "#009640", secondary: "#003da5", text: "light" },
16018
+ US: { primary: "#ffd700", secondary: "#009640", text: "dark" },
16019
+ AL: { primary: "#ff6f00", secondary: "#003da5", text: "light" },
16020
+ IC: { primary: "#003da5", secondary: "#ff6f00", text: "light" },
16021
+ HT: { primary: "#c8102e", secondary: "#009640", text: "light" },
16022
+ AA: { primary: "#009640", secondary: "#ffd700", text: "light" },
16023
+ AD: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16024
+ KM: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16025
+ IP: { primary: "#009640", secondary: "#003da5", text: "light" },
16026
+ BD: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16027
+ OS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16028
+ AN: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16029
+ KO: { primary: "#003da5", secondary: "#009640", text: "light" },
16030
+ KY: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16031
+ ES: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16032
+ SV: { primary: "#009640", secondary: "#c8102e", text: "light" },
16033
+ YZ: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
16034
+ KK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16035
+ CI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16036
+ KH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16037
+ AK: { primary: "#003da5", secondary: "#009640", text: "light" },
16038
+ NG: { primary: "#009640", secondary: "#ffd700", text: "light" },
16039
+ NV: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
16040
+ KR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16041
+ TB: { primary: "#009640", secondary: "#003da5", text: "light" },
16042
+ RI: { primary: "#003da5", secondary: "#009640", text: "light" },
16043
+ AV: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16044
+ GI: { primary: "#009640", secondary: "#c8102e", text: "light" },
16045
+ OR: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16046
+ SS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16047
+ AM: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16048
+ TT: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16049
+ SP: { primary: "#ffd700", secondary: "#009640", text: "dark" },
16050
+ CM: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16051
+ ZO: { primary: "#c8102e", secondary: "#009640", text: "light" },
16052
+ KB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16053
+ BR: { primary: "#009640", secondary: "#003da5", text: "light" },
16054
+ KS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16055
+ GU: { primary: "#003da5", secondary: "#009640", text: "light" },
16056
+ BB: { primary: "#009640", secondary: "#ffd700", text: "light" },
16057
+ EM: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16058
+ ER: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16059
+ EN: { primary: "#009640", secondary: "#c8102e", text: "light" },
16060
+ EG: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16061
+ ML: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16062
+ TC: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
16063
+ BG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16064
+ MS: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16065
+ DY: { primary: "#c8102e", secondary: "#009640", text: "light" },
16066
+ SU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16067
+ MR: { primary: "#009640", secondary: "#003da5", text: "light" },
16068
+ SR: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16069
+ SI: { primary: "#003da5", secondary: "#009640", text: "light" },
16070
+ HK: { primary: "#009640", secondary: "#c8102e", text: "light" },
16071
+ VA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16072
+ KA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16073
+ IG: { primary: "#009640", secondary: "#ffd700", text: "light" },
16074
+ AR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16075
+ AG: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16076
+ BT: { primary: "#003da5", secondary: "#009640", text: "light" },
16077
+ KI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16078
+ BM: { primary: "#6b2fa0", secondary: "#c8102e", text: "light" },
16079
+ GA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
16080
+ };
16081
+ var TURKEY_ACCENT_MAP = {
16082
+ IB: "red",
16083
+ BU: "green",
16084
+ BK: "blue",
16085
+ CK: "green",
16086
+ TG: "red",
16087
+ ED: "blue",
16088
+ KL: "green",
16089
+ SK: "yellow",
16090
+ YL: "blue",
16091
+ KC: "red",
16092
+ BL: "blue",
16093
+ DU: "green",
16094
+ BC: "yellow",
16095
+ IZ: "red",
16096
+ AY: "blue",
16097
+ MN: "green",
16098
+ MG: "blue",
16099
+ DN: "red",
16100
+ AF: "blue",
16101
+ KU: "green",
16102
+ US: "yellow",
16103
+ AL: "orange",
16104
+ IC: "blue",
16105
+ HT: "red",
16106
+ AA: "green",
16107
+ AD: "blue",
16108
+ KM: "red",
16109
+ IP: "green",
16110
+ BD: "blue",
16111
+ OS: "red",
16112
+ AN: "red",
16113
+ KO: "blue",
16114
+ KY: "red",
16115
+ ES: "blue",
16116
+ SV: "green",
16117
+ YZ: "yellow",
16118
+ KK: "blue",
16119
+ CI: "green",
16120
+ KH: "red",
16121
+ AK: "blue",
16122
+ NG: "green",
16123
+ NV: "purple",
16124
+ KR: "blue",
16125
+ TB: "green",
16126
+ RI: "blue",
16127
+ AV: "red",
16128
+ GI: "green",
16129
+ OR: "blue",
16130
+ SS: "red",
16131
+ AM: "green",
16132
+ TT: "blue",
16133
+ SP: "yellow",
16134
+ CM: "blue",
16135
+ ZO: "red",
16136
+ KB: "blue",
16137
+ BR: "green",
16138
+ KS: "red",
16139
+ GU: "blue",
16140
+ BB: "green",
16141
+ EM: "red",
16142
+ ER: "blue",
16143
+ EN: "green",
16144
+ EG: "blue",
16145
+ ML: "red",
16146
+ TC: "purple",
16147
+ BG: "blue",
16148
+ MS: "green",
16149
+ DY: "red",
16150
+ SU: "blue",
16151
+ MR: "green",
16152
+ SR: "red",
16153
+ SI: "blue",
16154
+ HK: "green",
16155
+ VA: "blue",
16156
+ KA: "red",
16157
+ IG: "green",
16158
+ AR: "blue",
16159
+ AG: "red",
16160
+ BT: "blue",
16161
+ KI: "green",
16162
+ BM: "purple",
16163
+ GA: "red"
16164
+ };
16165
+ var VALID_CODES22 = Object.keys(TURKEY_PROVINCE_PALETTES);
16166
+ var TR_THEME_CONFIG = {
16167
+ palettes: TURKEY_PROVINCE_PALETTES,
16168
+ accents: TURKEY_ACCENT_MAP,
16169
+ flagUrlTemplate: (code) => VALID_CODES22.includes(code) ? `/flags/tr/${code}.svg` : null
16170
+ };
16171
+ var TURKEY_PROVINCE_COORDINATES = {
16172
+ IB: [29, 41],
16173
+ BU: [29, 40.2],
16174
+ BK: [27.9, 39.6],
16175
+ CK: [26.4, 40.2],
16176
+ TG: [27.5, 41.2],
16177
+ ED: [26.6, 41.7],
16178
+ KL: [27.2, 41.7],
16179
+ SK: [30.4, 40.7],
16180
+ YL: [29.3, 40.7],
16181
+ KC: [29.9, 40.8],
16182
+ BL: [31.6, 40.7],
16183
+ DU: [31.2, 40.8],
16184
+ BC: [30, 40],
16185
+ IZ: [27.1, 38.4],
16186
+ AY: [27.8, 37.8],
16187
+ MN: [27.4, 38.6],
16188
+ MG: [28.4, 37.2],
16189
+ DN: [29.1, 37.8],
16190
+ AF: [30.5, 38.7],
16191
+ KU: [29.9, 39.4],
16192
+ US: [29.4, 38.7],
16193
+ AL: [30.7, 36.9],
16194
+ IC: [34.6, 36.8],
16195
+ HT: [36.4, 36.4],
16196
+ AA: [35.3, 37],
16197
+ AD: [38.3, 37.8],
16198
+ KM: [36.9, 37.6],
16199
+ IP: [30.3, 37.7],
16200
+ BD: [30.3, 37.7],
16201
+ OS: [36.2, 37.1],
16202
+ AN: [32.9, 39.9],
16203
+ KO: [32.5, 37.9],
16204
+ KY: [35.5, 38.7],
16205
+ ES: [30.5, 39.8],
16206
+ SV: [37, 39.8],
16207
+ YZ: [34.8, 39.8],
16208
+ KK: [33.5, 39.8],
16209
+ CI: [33.6, 40.6],
16210
+ KH: [34.2, 39.1],
16211
+ AK: [34, 38.4],
16212
+ NG: [34.7, 37.9],
16213
+ NV: [34.7, 38.6],
16214
+ KR: [33.2, 37.2],
16215
+ TB: [39.7, 41],
16216
+ RI: [40.5, 41],
16217
+ AV: [41.8, 41.2],
16218
+ GI: [38.4, 40.9],
16219
+ OR: [37.9, 41],
16220
+ SS: [36.3, 41.3],
16221
+ AM: [35.8, 40.7],
16222
+ TT: [36.6, 40.3],
16223
+ SP: [35, 42],
16224
+ CM: [34.9, 40.5],
16225
+ ZO: [31.8, 41.4],
16226
+ KB: [32.6, 41.2],
16227
+ BR: [32.3, 41.6],
16228
+ KS: [33.8, 41.4],
16229
+ GU: [39.5, 40.4],
16230
+ BB: [40.2, 40.3],
16231
+ EM: [41.3, 39.9],
16232
+ ER: [39.5, 39.9],
16233
+ EN: [39.5, 39.5],
16234
+ EG: [38.7, 38.7],
16235
+ ML: [38.3, 38.3],
16236
+ TC: [39.5, 39.1],
16237
+ BG: [40.5, 39],
16238
+ MS: [41.5, 38.7],
16239
+ DY: [40.2, 37.9],
16240
+ SU: [39, 37.2],
16241
+ MR: [40.7, 37.3],
16242
+ SR: [42.5, 37.4],
16243
+ SI: [42, 37.9],
16244
+ HK: [43.7, 37.6],
16245
+ VA: [43.4, 38.5],
16246
+ KA: [43.1, 40.6],
16247
+ IG: [44, 39.9],
16248
+ AR: [42.7, 41.1],
16249
+ AG: [43.9, 39.7],
16250
+ BT: [42.1, 38.4],
16251
+ KI: [37.1, 36.7],
16252
+ BM: [41.1, 37.9],
16253
+ GA: [37.4, 37.1]
16254
+ };
16255
+ var TURKEY_MAP_CENTER = [35, 39];
16256
+ var TURKEY_MACRO_REGIONS = [
16257
+ {
16258
+ key: "marmara",
16259
+ label: "",
16260
+ codes: ["IB", "BU", "BK", "CK", "TG", "ED", "KL", "SK", "YL", "KC", "BL", "DU", "BC"],
16261
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
16262
+ iconColor: "text-red-600 dark:text-red-400"
16263
+ },
16264
+ {
16265
+ key: "aegean",
16266
+ label: "",
16267
+ codes: ["IZ", "AY", "MN", "MG", "DN", "AF", "KU", "US"],
16268
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
16269
+ iconColor: "text-blue-600 dark:text-blue-400"
16270
+ },
16271
+ {
16272
+ key: "mediterranean",
16273
+ label: "",
16274
+ codes: ["AL", "IC", "HT", "AA", "AD", "KM", "IP", "BD", "OS"],
16275
+ gradient: "from-orange-500/15 to-amber-500/10 dark:from-orange-500/20 dark:to-amber-500/15",
16276
+ iconColor: "text-orange-600 dark:text-orange-400"
16277
+ },
16278
+ {
16279
+ key: "central",
16280
+ label: "",
16281
+ codes: ["AN", "KO", "KY", "ES", "SV", "YZ", "KK", "CI", "KH", "AK", "NG", "NV", "KR"],
16282
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
16283
+ iconColor: "text-amber-600 dark:text-amber-400"
16284
+ },
16285
+ {
16286
+ key: "black-sea",
16287
+ label: "",
16288
+ codes: ["TB", "RI", "AV", "GI", "OR", "SS", "AM", "TT", "SP", "CM", "ZO", "KB", "BR", "KS", "GU", "BB"],
16289
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
16290
+ iconColor: "text-emerald-600 dark:text-emerald-400"
16291
+ },
16292
+ {
16293
+ key: "eastern",
16294
+ label: "",
16295
+ codes: ["EM", "ER", "EN", "EG", "ML", "TC", "BG", "MS", "DY", "SU", "MR", "SR", "SI", "HK", "VA", "KA", "IG", "AR", "AG", "BT", "KI", "BM", "GA"],
16296
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
16297
+ iconColor: "text-purple-600 dark:text-purple-400"
16298
+ }
16299
+ ];
16300
+ var getTurkeyFlagUrl = (code) => getSubdivisionFlagUrl("TR", code);
16301
+ var getTurkeyHexColor = (code) => getSubdivisionHexColor("TR", code);
16302
+ var getTurkeyPalette = (code) => getSubdivisionPalette("TR", code);
16303
+ var getTurkeyGradient = (code, direction) => getSubdivisionGradient("TR", code, direction);
16304
+ var getTurkeyColors = (code) => getSubdivisionColors("TR", code);
16305
+ var getTurkeyAccent = (code) => getSubdivisionAccent("TR", code);
16306
+ var isValidTurkeyProvince = (code) => isValidSubdivision("TR", code);
16307
+
16308
+ // src/lib/themes/poland.ts
16309
+ var POLAND_VOIVODESHIP_PALETTES = {
16310
+ LD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16311
+ MZ: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16312
+ SK: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16313
+ PD: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16314
+ LU: { primary: "#009640", secondary: "#c8102e", text: "light" },
16315
+ PK: { primary: "#003da5", secondary: "#009640", text: "light" },
16316
+ OP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16317
+ MA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16318
+ WN: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16319
+ PM: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16320
+ DS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16321
+ ZP: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16322
+ LB: { primary: "#009640", secondary: "#ffd700", text: "light" },
16323
+ WP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16324
+ KP: { primary: "#c8102e", secondary: "#009640", text: "light" },
16325
+ SL: { primary: "#003da5", secondary: "#ffd700", text: "light" }
16326
+ };
16327
+ var POLAND_ACCENT_MAP = {
16328
+ LD: "red",
16329
+ MZ: "red",
16330
+ SK: "blue",
16331
+ PD: "red",
16332
+ LU: "green",
16333
+ PK: "blue",
16334
+ OP: "blue",
16335
+ MA: "red",
16336
+ WN: "green",
16337
+ PM: "yellow",
16338
+ DS: "blue",
16339
+ ZP: "blue",
16340
+ LB: "green",
16341
+ WP: "red",
16342
+ KP: "red",
16343
+ SL: "blue"
16344
+ };
16345
+ var VALID_CODES23 = Object.keys(POLAND_VOIVODESHIP_PALETTES);
16346
+ var PL_THEME_CONFIG = {
16347
+ palettes: POLAND_VOIVODESHIP_PALETTES,
16348
+ accents: POLAND_ACCENT_MAP,
16349
+ flagUrlTemplate: (code) => VALID_CODES23.includes(code) ? `/flags/pl/${code}.svg` : null
16350
+ };
16351
+ var POLAND_VOIVODESHIP_COORDINATES = {
16352
+ LD: [19.5, 51.8],
16353
+ MZ: [20.9, 52.2],
16354
+ SK: [20.7, 50.9],
16355
+ PD: [23, 53.2],
16356
+ LU: [22.6, 51.2],
16357
+ PK: [22, 49.8],
16358
+ OP: [17.9, 50.7],
16359
+ MA: [20, 50.1],
16360
+ WN: [20.5, 53.8],
16361
+ PM: [18, 54.2],
16362
+ DS: [16.5, 51.1],
16363
+ ZP: [15.5, 53.4],
16364
+ LB: [15.5, 52],
16365
+ WP: [17, 52],
16366
+ KP: [18.6, 53],
16367
+ SL: [19, 50.3]
16368
+ };
16369
+ var POLAND_MAP_CENTER = [19.5, 52];
16370
+ var POLAND_MACRO_REGIONS = [
16371
+ {
16372
+ key: "eastern",
16373
+ label: "",
16374
+ codes: ["LU", "PD", "PK", "SK", "WN"],
16375
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
16376
+ iconColor: "text-blue-600 dark:text-blue-400"
16377
+ },
16378
+ {
16379
+ key: "central",
16380
+ label: "",
16381
+ codes: ["LD", "MZ", "MA", "OP"],
16382
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
16383
+ iconColor: "text-red-600 dark:text-red-400"
16384
+ },
16385
+ {
16386
+ key: "western",
16387
+ label: "",
16388
+ codes: ["DS", "LB", "ZP", "WP"],
16389
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
16390
+ iconColor: "text-emerald-600 dark:text-emerald-400"
16391
+ },
16392
+ {
16393
+ key: "northern",
16394
+ label: "",
16395
+ codes: ["PM", "KP"],
16396
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
16397
+ iconColor: "text-amber-600 dark:text-amber-400"
16398
+ },
16399
+ {
16400
+ key: "southern",
16401
+ label: "",
16402
+ codes: ["SL"],
16403
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
16404
+ iconColor: "text-purple-600 dark:text-purple-400"
16405
+ }
16406
+ ];
16407
+ var getPolandFlagUrl = (code) => getSubdivisionFlagUrl("PL", code);
16408
+ var getPolandHexColor = (code) => getSubdivisionHexColor("PL", code);
16409
+ var getPolandPalette = (code) => getSubdivisionPalette("PL", code);
16410
+ var getPolandGradient = (code, direction) => getSubdivisionGradient("PL", code, direction);
16411
+ var getPolandColors = (code) => getSubdivisionColors("PL", code);
16412
+ var getPolandAccent = (code) => getSubdivisionAccent("PL", code);
16413
+ var isValidPolandVoivodeship = (code) => isValidSubdivision("PL", code);
16414
+
16415
+ // src/lib/themes/sweden.ts
16416
+ var SWEDEN_COUNTY_PALETTES = {
16417
+ KA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16418
+ OG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16419
+ NB: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16420
+ VN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16421
+ VB: { primary: "#003da5", secondary: "#009640", text: "light" },
16422
+ GT: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
16423
+ ST: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16424
+ UP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16425
+ BL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16426
+ VG: { primary: "#009640", secondary: "#c8102e", text: "light" },
16427
+ KO: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16428
+ GV: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16429
+ JO: { primary: "#009640", secondary: "#003da5", text: "light" },
16430
+ KR: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16431
+ OR: { primary: "#003da5", secondary: "#009640", text: "light" },
16432
+ VM: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16433
+ HA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16434
+ SD: { primary: "#009640", secondary: "#ffd700", text: "light" },
16435
+ VR: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16436
+ JA: { primary: "#003da5", secondary: "#009640", text: "light" },
16437
+ SN: { primary: "#ffd700", secondary: "#003da5", text: "dark" }
16438
+ };
16439
+ var SWEDEN_ACCENT_MAP = {
16440
+ KA: "blue",
16441
+ OG: "blue",
16442
+ NB: "green",
16443
+ VN: "red",
16444
+ VB: "blue",
16445
+ GT: "yellow",
16446
+ ST: "blue",
16447
+ UP: "red",
16448
+ BL: "blue",
16449
+ VG: "green",
16450
+ KO: "blue",
16451
+ GV: "red",
16452
+ JO: "green",
16453
+ KR: "red",
16454
+ OR: "blue",
16455
+ VM: "yellow",
16456
+ HA: "blue",
16457
+ SD: "green",
16458
+ VR: "red",
16459
+ JA: "blue",
16460
+ SN: "yellow"
16461
+ };
16462
+ var VALID_CODES24 = Object.keys(SWEDEN_COUNTY_PALETTES);
16463
+ var SE_THEME_CONFIG = {
16464
+ palettes: SWEDEN_COUNTY_PALETTES,
16465
+ accents: SWEDEN_ACCENT_MAP,
16466
+ flagUrlTemplate: (code) => VALID_CODES24.includes(code) ? `/flags/se/${code}.svg` : null
16467
+ };
16468
+ var SWEDEN_COUNTY_COORDINATES = {
16469
+ ST: [18.1, 59.3],
16470
+ UP: [17.6, 59.9],
16471
+ SD: [17, 59],
16472
+ OG: [15.6, 58.4],
16473
+ JO: [14.2, 57.8],
16474
+ KR: [14.8, 56.9],
16475
+ KA: [16.4, 57],
16476
+ GT: [18.5, 57.6],
16477
+ BL: [15.6, 56.2],
16478
+ SN: [13.2, 55.9],
16479
+ HA: [12.7, 56.9],
16480
+ VG: [12.3, 57.7],
16481
+ VR: [13.5, 59.4],
16482
+ OR: [15.2, 59.3],
16483
+ VM: [16.5, 59.6],
16484
+ KO: [14.5, 61],
16485
+ GV: [16.8, 60.7],
16486
+ VN: [17.9, 62.6],
16487
+ JA: [14.6, 63.2],
16488
+ VB: [19.8, 64.7],
16489
+ NB: [20.2, 66.8]
16490
+ };
16491
+ var SWEDEN_MAP_CENTER = [16, 63];
16492
+ var SWEDEN_MACRO_REGIONS = [
16493
+ {
16494
+ key: "norrland",
16495
+ label: "",
16496
+ codes: ["NB", "VB", "VN", "JA", "GV"],
16497
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
16498
+ iconColor: "text-blue-600 dark:text-blue-400"
16499
+ },
16500
+ {
16501
+ key: "svealand",
16502
+ label: "",
16503
+ codes: ["ST", "UP", "VM", "SD", "OR", "VR", "KO"],
16504
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
16505
+ iconColor: "text-red-600 dark:text-red-400"
16506
+ },
16507
+ {
16508
+ key: "gotaland",
16509
+ label: "",
16510
+ codes: ["VG", "SN", "HA", "JO", "KR", "KA", "OG", "BL", "GT"],
16511
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
16512
+ iconColor: "text-emerald-600 dark:text-emerald-400"
16513
+ }
16514
+ ];
16515
+ var getSwedenFlagUrl = (code) => getSubdivisionFlagUrl("SE", code);
16516
+ var getSwedenHexColor = (code) => getSubdivisionHexColor("SE", code);
16517
+ var getSwedenPalette = (code) => getSubdivisionPalette("SE", code);
16518
+ var getSwedenGradient = (code, direction) => getSubdivisionGradient("SE", code, direction);
16519
+ var getSwedenColors = (code) => getSubdivisionColors("SE", code);
16520
+ var getSwedenAccent = (code) => getSubdivisionAccent("SE", code);
16521
+ var isValidSwedenCounty = (code) => isValidSubdivision("SE", code);
16522
+
16523
+ // src/lib/themes/norway.ts
16524
+ var NORWAY_COUNTY_PALETTES = {
16525
+ VF: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16526
+ TE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16527
+ RO: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16528
+ OF: { primary: "#009640", secondary: "#ffd700", text: "light" },
16529
+ OS: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16530
+ AK: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16531
+ FI: { primary: "#009640", secondary: "#003da5", text: "light" },
16532
+ TD: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16533
+ MR: { primary: "#003da5", secondary: "#009640", text: "light" },
16534
+ TR: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16535
+ NO: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16536
+ BU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16537
+ AG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16538
+ IN: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16539
+ VL: { primary: "#003da5", secondary: "#009640", text: "light" }
16540
+ };
16541
+ var NORWAY_ACCENT_MAP = {
16542
+ VF: "blue",
16543
+ TE: "red",
16544
+ RO: "blue",
16545
+ OF: "green",
16546
+ OS: "red",
16547
+ AK: "blue",
16548
+ FI: "green",
16549
+ TD: "red",
16550
+ MR: "blue",
16551
+ TR: "blue",
16552
+ NO: "yellow",
16553
+ BU: "blue",
16554
+ AG: "green",
16555
+ IN: "red",
16556
+ VL: "blue"
16557
+ };
16558
+ var VALID_CODES25 = Object.keys(NORWAY_COUNTY_PALETTES);
16559
+ var NO_THEME_CONFIG = {
16560
+ palettes: NORWAY_COUNTY_PALETTES,
16561
+ accents: NORWAY_ACCENT_MAP,
16562
+ flagUrlTemplate: (code) => VALID_CODES25.includes(code) ? `/flags/no/${code}.svg` : null
16563
+ };
16564
+ var NORWAY_COUNTY_COORDINATES = {
16565
+ OS: [10.7, 59.9],
16566
+ AK: [11.1, 59.7],
16567
+ OF: [11.4, 59.3],
16568
+ VF: [10.2, 59.2],
16569
+ BU: [9.6, 60],
16570
+ IN: [11, 61],
16571
+ TE: [8.5, 59.2],
16572
+ AG: [7.5, 58.3],
16573
+ RO: [5.7, 59],
16574
+ VL: [5.3, 60.4],
16575
+ MR: [7, 62.5],
16576
+ TD: [10.4, 63.4],
16577
+ NO: [14.4, 67.3],
16578
+ TR: [18.9, 69.6],
16579
+ FI: [25.7, 70.1]
16580
+ };
16581
+ var NORWAY_MAP_CENTER = [15, 65];
16582
+ var NORWAY_MACRO_REGIONS = [
16583
+ {
16584
+ key: "ostlandet",
16585
+ label: "",
16586
+ codes: ["OS", "AK", "OF", "VF", "BU", "IN", "TE"],
16587
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
16588
+ iconColor: "text-red-600 dark:text-red-400"
16589
+ },
16590
+ {
16591
+ key: "vestlandet",
16592
+ label: "",
16593
+ codes: ["RO", "VL", "MR"],
16594
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
16595
+ iconColor: "text-blue-600 dark:text-blue-400"
16596
+ },
16597
+ {
16598
+ key: "sorlandet",
16599
+ label: "",
16600
+ codes: ["AG"],
16601
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
16602
+ iconColor: "text-emerald-600 dark:text-emerald-400"
16603
+ },
16604
+ {
16605
+ key: "trondelag",
16606
+ label: "",
16607
+ codes: ["TD"],
16608
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
16609
+ iconColor: "text-amber-600 dark:text-amber-400"
16610
+ },
16611
+ {
16612
+ key: "nord-norge",
16613
+ label: "",
16614
+ codes: ["NO", "TR", "FI"],
16615
+ gradient: "from-purple-500/15 to-fuchsia-500/10 dark:from-purple-500/20 dark:to-fuchsia-500/15",
16616
+ iconColor: "text-purple-600 dark:text-purple-400"
16617
+ }
16618
+ ];
16619
+ var getNorwayFlagUrl = (code) => getSubdivisionFlagUrl("NO", code);
16620
+ var getNorwayHexColor = (code) => getSubdivisionHexColor("NO", code);
16621
+ var getNorwayPalette = (code) => getSubdivisionPalette("NO", code);
16622
+ var getNorwayGradient = (code, direction) => getSubdivisionGradient("NO", code, direction);
16623
+ var getNorwayColors = (code) => getSubdivisionColors("NO", code);
16624
+ var getNorwayAccent = (code) => getSubdivisionAccent("NO", code);
16625
+ var isValidNorwayCounty = (code) => isValidSubdivision("NO", code);
16626
+
16627
+ // src/lib/themes/netherlands.ts
16628
+ var NETHERLANDS_PROVINCE_PALETTES = {
16629
+ FR: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16630
+ GR: { primary: "#009640", secondary: "#c8102e", text: "light" },
16631
+ FL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16632
+ ZE: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16633
+ NH: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16634
+ ZH: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16635
+ DR: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16636
+ GE: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16637
+ LI: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16638
+ OV: { primary: "#c8102e", secondary: "#009640", text: "light" },
16639
+ NB: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16640
+ UT: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" }
16641
+ };
16642
+ var NETHERLANDS_ACCENT_MAP = {
16643
+ FR: "blue",
16644
+ GR: "green",
16645
+ FL: "blue",
16646
+ ZE: "red",
16647
+ NH: "red",
16648
+ ZH: "blue",
16649
+ DR: "green",
16650
+ GE: "blue",
16651
+ LI: "red",
16652
+ OV: "red",
16653
+ NB: "red",
16654
+ UT: "red"
16655
+ };
16656
+ var VALID_CODES26 = Object.keys(NETHERLANDS_PROVINCE_PALETTES);
16657
+ var NL_THEME_CONFIG = {
16658
+ palettes: NETHERLANDS_PROVINCE_PALETTES,
16659
+ accents: NETHERLANDS_ACCENT_MAP,
16660
+ flagUrlTemplate: (code) => VALID_CODES26.includes(code) ? `/flags/nl/${code}.svg` : null
16661
+ };
16662
+ var NETHERLANDS_PROVINCE_COORDINATES = {
16663
+ NH: [4.9, 52.5],
16664
+ ZH: [4.5, 52],
16665
+ UT: [5.1, 52.1],
16666
+ FL: [5.5, 52.5],
16667
+ NB: [5.1, 51.5],
16668
+ LI: [5.9, 51.2],
16669
+ ZE: [3.8, 51.5],
16670
+ GE: [5.9, 52],
16671
+ OV: [6.4, 52.4],
16672
+ FR: [5.7, 53.2],
16673
+ GR: [6.7, 53.2],
16674
+ DR: [6.6, 52.8]
16675
+ };
16676
+ var NETHERLANDS_MAP_CENTER = [5.3, 52.2];
16677
+ var NETHERLANDS_MACRO_REGIONS = [
16678
+ {
16679
+ key: "randstad",
16680
+ label: "",
16681
+ codes: ["NH", "ZH", "UT", "FL"],
16682
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
16683
+ iconColor: "text-red-600 dark:text-red-400"
16684
+ },
16685
+ {
16686
+ key: "south",
16687
+ label: "",
16688
+ codes: ["NB", "LI", "ZE"],
16689
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
16690
+ iconColor: "text-blue-600 dark:text-blue-400"
16691
+ },
16692
+ {
16693
+ key: "east",
16694
+ label: "",
16695
+ codes: ["GE", "OV"],
16696
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
16697
+ iconColor: "text-emerald-600 dark:text-emerald-400"
16698
+ },
16699
+ {
16700
+ key: "north",
16701
+ label: "",
16702
+ codes: ["FR", "GR", "DR"],
16703
+ gradient: "from-amber-500/15 to-yellow-500/10 dark:from-amber-500/20 dark:to-yellow-500/15",
16704
+ iconColor: "text-amber-600 dark:text-amber-400"
16705
+ }
16706
+ ];
16707
+ var getNetherlandsFlagUrl = (code) => getSubdivisionFlagUrl("NL", code);
16708
+ var getNetherlandsHexColor = (code) => getSubdivisionHexColor("NL", code);
16709
+ var getNetherlandsPalette = (code) => getSubdivisionPalette("NL", code);
16710
+ var getNetherlandsGradient = (code, direction) => getSubdivisionGradient("NL", code, direction);
16711
+ var getNetherlandsColors = (code) => getSubdivisionColors("NL", code);
16712
+ var getNetherlandsAccent = (code) => getSubdivisionAccent("NL", code);
16713
+ var isValidNetherlandsProvince = (code) => isValidSubdivision("NL", code);
16714
+
16715
+ // src/lib/themes/philippines.ts
16716
+ var PHILIPPINES_PROVINCE_PALETTES = {
16717
+ MN: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16718
+ TT: { primary: "#009640", secondary: "#c8102e", text: "light" },
16719
+ BO: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16720
+ CB: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16721
+ BS: { primary: "#009640", secondary: "#ffd700", text: "light" },
16722
+ ZS: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16723
+ SU: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16724
+ AQ: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16725
+ PL: { primary: "#003da5", secondary: "#009640", text: "light" },
16726
+ RO: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
16727
+ AL: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16728
+ CS: { primary: "#009640", secondary: "#003da5", text: "light" },
16729
+ NA: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16730
+ BN: { primary: "#c8102e", secondary: "#009640", text: "light" },
16731
+ CG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16732
+ PN: { primary: "#009640", secondary: "#ffd700", text: "light" },
16733
+ BT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16734
+ MC: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16735
+ QZ: { primary: "#009640", secondary: "#c8102e", text: "light" },
16736
+ ES: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16737
+ LE: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16738
+ SM: { primary: "#009640", secondary: "#003da5", text: "light" },
16739
+ NS: { primary: "#003da5", secondary: "#009640", text: "light" },
16740
+ CM: { primary: "#6b2fa0", secondary: "#ffd700", text: "light" },
16741
+ DI: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16742
+ DS: { primary: "#c8102e", secondary: "#009640", text: "light" },
16743
+ IS: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16744
+ LL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16745
+ II: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16746
+ AN: { primary: "#009640", secondary: "#003da5", text: "light" },
16747
+ BA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16748
+ LG: { primary: "#009640", secondary: "#ffd700", text: "light" },
16749
+ RI: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16750
+ LN: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16751
+ IL: { primary: "#009640", secondary: "#c8102e", text: "light" },
16752
+ LS: { primary: "#003da5", secondary: "#009640", text: "light" },
16753
+ NC: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16754
+ MG: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16755
+ SK: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16756
+ SC: { primary: "#003da5", secondary: "#009640", text: "light" },
16757
+ SG: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16758
+ SS: { primary: "#009640", secondary: "#ffd700", text: "light" },
16759
+ AS: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16760
+ DO: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16761
+ DV: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16762
+ BK: { primary: "#009640", secondary: "#003da5", text: "light" },
16763
+ CL: { primary: "#ffd700", secondary: "#009640", text: "dark" },
16764
+ CE: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16765
+ MA: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16766
+ CO: { primary: "#009640", secondary: "#ffd700", text: "light" },
16767
+ DA: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16768
+ GS: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16769
+ CD: { primary: "#003da5", secondary: "#009640", text: "light" },
16770
+ BU: { primary: "#009640", secondary: "#c8102e", text: "light" },
16771
+ PP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16772
+ OR: { primary: "#c8102e", secondary: "#009640", text: "light" },
16773
+ TA: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16774
+ NV: { primary: "#009640", secondary: "#003da5", text: "light" },
16775
+ SA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16776
+ OL: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16777
+ QC: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16778
+ SJ: { primary: "#003da5", secondary: "#009640", text: "light" },
16779
+ PA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16780
+ LP: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16781
+ MU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16782
+ LU: { primary: "#009640", secondary: "#c8102e", text: "light" },
16783
+ ZA: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16784
+ ZN: { primary: "#003da5", secondary: "#009640", text: "light" },
16785
+ ND: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
16786
+ MD: { primary: "#009640", secondary: "#ffd700", text: "light" },
16787
+ AB: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16788
+ AP: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16789
+ AU: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16790
+ IB: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16791
+ IF: { primary: "#009640", secondary: "#c8102e", text: "light" },
16792
+ MT: { primary: "#6b2fa0", secondary: "#f0f0f0", text: "light" },
16793
+ QR: { primary: "#003da5", secondary: "#009640", text: "light" },
16794
+ NE: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16795
+ PM: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16796
+ BG: { primary: "#009640", secondary: "#003da5", text: "light" },
16797
+ ZM: { primary: "#c8102e", secondary: "#009640", text: "light" },
16798
+ CV: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16799
+ MR: { primary: "#009640", secondary: "#ffd700", text: "light" },
16800
+ SQ: { primary: "#ffd700", secondary: "#c8102e", text: "dark" },
16801
+ GU: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
16802
+ CT: { primary: "#c8102e", secondary: "#003da5", text: "light" },
16803
+ MB: { primary: "#009640", secondary: "#ffd700", text: "light" },
16804
+ MQ: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16805
+ BI: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
16806
+ SL: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16807
+ NR: { primary: "#c8102e", secondary: "#009640", text: "light" },
16808
+ AK: { primary: "#003da5", secondary: "#ffd700", text: "light" },
16809
+ CP: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
16810
+ CN: { primary: "#009640", secondary: "#003da5", text: "light" },
16811
+ SR: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
16812
+ IN: { primary: "#003da5", secondary: "#c8102e", text: "light" },
16813
+ TR: { primary: "#009640", secondary: "#f0f0f0", text: "light" }
16814
+ };
16815
+ var PHILIPPINES_ACCENT_MAP = {
16816
+ MN: "blue",
16817
+ TT: "green",
16818
+ BO: "red",
16819
+ CB: "blue",
16820
+ BS: "green",
16821
+ ZS: "red",
16822
+ SU: "blue",
16823
+ AQ: "green",
16824
+ PL: "blue",
16825
+ RO: "yellow",
16826
+ AL: "red",
16827
+ CS: "green",
16828
+ NA: "blue",
16829
+ BN: "red",
16830
+ CG: "blue",
16831
+ PN: "green",
16832
+ BT: "red",
16833
+ MC: "blue",
16834
+ QZ: "green",
16835
+ ES: "blue",
16836
+ LE: "red",
16837
+ SM: "green",
16838
+ NS: "blue",
16839
+ CM: "purple",
16840
+ DI: "blue",
16841
+ DS: "red",
16842
+ IS: "green",
16843
+ LL: "blue",
16844
+ II: "red",
16845
+ AN: "green",
16846
+ BA: "blue",
16847
+ LG: "green",
16848
+ RI: "blue",
16849
+ LN: "red",
16850
+ IL: "green",
16851
+ LS: "blue",
16852
+ NC: "yellow",
16853
+ MG: "green",
16854
+ SK: "red",
16855
+ SC: "blue",
16856
+ SG: "red",
16857
+ SS: "green",
16858
+ AS: "blue",
16859
+ DO: "red",
16860
+ DV: "blue",
16861
+ BK: "green",
16862
+ CL: "yellow",
16863
+ CE: "blue",
16864
+ MA: "red",
16865
+ CO: "green",
16866
+ DA: "blue",
16867
+ GS: "red",
16868
+ CD: "blue",
16869
+ BU: "green",
16870
+ PP: "blue",
16871
+ OR: "red",
16872
+ TA: "blue",
16873
+ NV: "green",
16874
+ SA: "red",
16875
+ OL: "blue",
16876
+ QC: "red",
16877
+ SJ: "blue",
16878
+ PA: "green",
16879
+ LP: "red",
16880
+ MU: "blue",
16881
+ LU: "green",
16882
+ ZA: "red",
16883
+ ZN: "blue",
16884
+ ND: "yellow",
16885
+ MD: "green",
16886
+ AB: "blue",
16887
+ AP: "green",
16888
+ AU: "red",
16889
+ IB: "blue",
16890
+ IF: "green",
16891
+ MT: "purple",
16892
+ QR: "blue",
16893
+ NE: "red",
16894
+ PM: "blue",
16895
+ BG: "green",
16896
+ ZM: "red",
16897
+ CV: "blue",
16898
+ MR: "green",
16899
+ SQ: "yellow",
16900
+ GU: "blue",
16901
+ CT: "red",
16902
+ MB: "green",
16903
+ MQ: "blue",
16904
+ BI: "green",
16905
+ SL: "blue",
16906
+ NR: "red",
16907
+ AK: "blue",
16908
+ CP: "red",
16909
+ CN: "green",
16910
+ SR: "red",
16911
+ IN: "blue",
16912
+ TR: "green"
16913
+ };
16914
+ var VALID_CODES27 = Object.keys(PHILIPPINES_PROVINCE_PALETTES);
16915
+ var PH_THEME_CONFIG = {
16916
+ palettes: PHILIPPINES_PROVINCE_PALETTES,
16917
+ accents: PHILIPPINES_ACCENT_MAP,
16918
+ flagUrlTemplate: (code) => VALID_CODES27.includes(code) ? `/flags/ph/${code}.svg` : null
16919
+ };
16920
+ var PHILIPPINES_PROVINCE_COORDINATES = {
16921
+ // Luzon
16922
+ AB: [120.6, 17.6],
16923
+ AP: [121.2, 17.8],
16924
+ AU: [121.6, 15.9],
16925
+ BN: [121.9, 20.5],
16926
+ BG: [120.6, 16.4],
16927
+ CG: [121.8, 17.8],
16928
+ IF: [121.2, 16.8],
16929
+ IS: [121.9, 16.9],
16930
+ IN: [120.6, 18],
16931
+ IB: [122, 16.5],
16932
+ MT: [121.2, 17.1],
16933
+ NV: [121.2, 16.3],
16934
+ QR: [121.5, 16.1],
16935
+ NE: [121, 15.6],
16936
+ PM: [120.7, 15],
16937
+ PN: [120.3, 16],
16938
+ TR: [120.6, 15.4],
16939
+ ZM: [120.1, 15],
16940
+ BT: [121, 13.8],
16941
+ CV: [120.8, 14.3],
16942
+ LG: [121.3, 14.3],
16943
+ QZ: [122, 14],
16944
+ RI: [121.1, 14.5],
16945
+ MR: [121.9, 13.4],
16946
+ MC: [121, 12.5],
16947
+ AL: [123.7, 13.2],
16948
+ CN: [122.8, 14.1],
16949
+ CS: [123.4, 13.6],
16950
+ CT: [124.2, 13.7],
16951
+ MB: [123.6, 12.4],
16952
+ MQ: [121.9, 13.5],
16953
+ SR: [124, 12.9],
16954
+ PL: [118.7, 9.8],
16955
+ // Visayas
16956
+ CB: [123.8, 10.3],
16957
+ CE: [123.8, 10.3],
16958
+ BO: [124, 9.8],
16959
+ LE: [124.9, 10.4],
16960
+ SM: [125, 11.8],
16961
+ ES: [125.5, 11.2],
16962
+ NS: [124.7, 12.3],
16963
+ II: [122.6, 10.7],
16964
+ ND: [122.6, 10],
16965
+ AQ: [121.9, 11.2],
16966
+ RO: [122.3, 12.5],
16967
+ AK: [122.5, 11.8],
16968
+ CP: [122.6, 11.4],
16969
+ SQ: [123.6, 9.2],
16970
+ GU: [122.6, 10.6],
16971
+ NR: [123.2, 9.6],
16972
+ BI: [124.5, 11.2],
16973
+ SL: [125.2, 10.1],
16974
+ // Mindanao
16975
+ ZN: [123, 8.2],
16976
+ ZS: [123.2, 7.2],
16977
+ ZA: [122, 7],
16978
+ MN: [124.6, 8.5],
16979
+ MD: [123.8, 8],
16980
+ LN: [124.2, 8],
16981
+ LS: [124.4, 7.9],
16982
+ BS: [122, 6.7],
16983
+ SU: [121, 6],
16984
+ TT: [120, 5],
16985
+ BK: [125, 8],
16986
+ CM: [124.7, 9.2],
16987
+ MG: [124.3, 7],
16988
+ NC: [124.8, 7.2],
16989
+ SK: [124.2, 6.5],
16990
+ SC: [124.9, 6.2],
16991
+ SG: [125.5, 5.8],
16992
+ DV: [125.6, 7.5],
16993
+ DS: [125.5, 6.8],
16994
+ DO: [126.2, 7.3],
16995
+ CL: [125.9, 7.7],
16996
+ AN: [125.8, 8.9],
16997
+ AS: [125.9, 8.5],
16998
+ DI: [126, 9.8],
16999
+ SS: [126.1, 8.7],
17000
+ CD: [124.6, 8.5],
17001
+ BU: [125.5, 8.9]
17002
+ };
17003
+ var PHILIPPINES_MAP_CENTER = [122, 12.5];
17004
+ var PHILIPPINES_MACRO_REGIONS = [
17005
+ {
17006
+ key: "luzon",
17007
+ label: "",
17008
+ codes: ["AB", "AP", "AU", "BN", "BG", "CG", "IF", "IS", "IN", "IB", "MT", "NV", "QR", "NE", "PM", "PN", "TR", "ZM", "BT", "CV", "LG", "QZ", "RI", "MR", "MC", "AL", "CN", "CS", "CT", "MB", "MQ", "SR", "PL"],
17009
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
17010
+ iconColor: "text-blue-600 dark:text-blue-400"
17011
+ },
17012
+ {
17013
+ key: "visayas",
17014
+ label: "",
17015
+ codes: ["CB", "CE", "BO", "LE", "SM", "ES", "NS", "II", "ND", "AQ", "RO", "AK", "CP", "SQ", "GU", "NR", "BI", "SL"],
17016
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
17017
+ iconColor: "text-emerald-600 dark:text-emerald-400"
17018
+ },
17019
+ {
17020
+ key: "mindanao",
17021
+ label: "",
17022
+ codes: ["ZN", "ZS", "ZA", "MN", "MD", "LN", "LS", "BS", "SU", "TT", "BK", "CM", "MG", "NC", "SK", "SC", "SG", "DV", "DS", "DO", "CL", "AN", "AS", "DI", "SS", "CD", "BU"],
17023
+ gradient: "from-red-500/15 to-rose-500/10 dark:from-red-500/20 dark:to-rose-500/15",
17024
+ iconColor: "text-red-600 dark:text-red-400"
17025
+ }
17026
+ ];
17027
+ var getPhilippinesFlagUrl = (code) => getSubdivisionFlagUrl("PH", code);
17028
+ var getPhilippinesHexColor = (code) => getSubdivisionHexColor("PH", code);
17029
+ var getPhilippinesPalette = (code) => getSubdivisionPalette("PH", code);
17030
+ var getPhilippinesGradient = (code, direction) => getSubdivisionGradient("PH", code, direction);
17031
+ var getPhilippinesColors = (code) => getSubdivisionColors("PH", code);
17032
+ var getPhilippinesAccent = (code) => getSubdivisionAccent("PH", code);
17033
+ var isValidPhilippinesProvince = (code) => isValidSubdivision("PH", code);
17034
+
17035
+ // src/lib/themes/new-zealand.ts
17036
+ var NEW_ZEALAND_REGION_PALETTES = {
17037
+ AU: { primary: "#003da5", secondary: "#ffd700", text: "light" },
17038
+ MA: { primary: "#009640", secondary: "#f0f0f0", text: "light" },
17039
+ SO: { primary: "#003da5", secondary: "#009640", text: "light" },
17040
+ WK: { primary: "#c8102e", secondary: "#003da5", text: "light" },
17041
+ WG: { primary: "#003da5", secondary: "#c8102e", text: "light" },
17042
+ CA: { primary: "#c8102e", secondary: "#ffd700", text: "light" },
17043
+ OT: { primary: "#003da5", secondary: "#f0f0f0", text: "light" },
17044
+ MW: { primary: "#009640", secondary: "#c8102e", text: "light" },
17045
+ GI: { primary: "#ffd700", secondary: "#003da5", text: "dark" },
17046
+ HB: { primary: "#c8102e", secondary: "#009640", text: "light" },
17047
+ BP: { primary: "#003da5", secondary: "#ffd700", text: "light" },
17048
+ NC: { primary: "#009640", secondary: "#ffd700", text: "light" },
17049
+ TD: { primary: "#003da5", secondary: "#009640", text: "light" },
17050
+ NO: { primary: "#c8102e", secondary: "#f0f0f0", text: "light" },
17051
+ TK: { primary: "#003da5", secondary: "#c8102e", text: "light" },
17052
+ WC: { primary: "#009640", secondary: "#003da5", text: "light" }
17053
+ };
17054
+ var NEW_ZEALAND_ACCENT_MAP = {
17055
+ AU: "blue",
17056
+ MA: "green",
17057
+ SO: "blue",
17058
+ WK: "red",
17059
+ WG: "blue",
17060
+ CA: "red",
17061
+ OT: "blue",
17062
+ MW: "green",
17063
+ GI: "yellow",
17064
+ HB: "red",
17065
+ BP: "blue",
17066
+ NC: "green",
17067
+ TD: "blue",
17068
+ NO: "red",
17069
+ TK: "blue",
17070
+ WC: "green"
17071
+ };
17072
+ var VALID_CODES28 = Object.keys(NEW_ZEALAND_REGION_PALETTES);
17073
+ var NZ_THEME_CONFIG = {
17074
+ palettes: NEW_ZEALAND_REGION_PALETTES,
17075
+ accents: NEW_ZEALAND_ACCENT_MAP,
17076
+ flagUrlTemplate: (code) => VALID_CODES28.includes(code) ? `/flags/nz/${code}.svg` : null
17077
+ };
17078
+ var NEW_ZEALAND_REGION_COORDINATES = {
17079
+ NO: [174.3, -35.7],
17080
+ AU: [174.8, -36.8],
17081
+ WK: [175.5, -37.8],
17082
+ BP: [176.5, -37.7],
17083
+ GI: [178, -38.7],
17084
+ HB: [176.8, -39.5],
17085
+ TK: [174.1, -39.1],
17086
+ MW: [175.6, -39.9],
17087
+ WG: [174.8, -41.3],
17088
+ NC: [173.3, -41.3],
17089
+ MA: [173.9, -41.5],
17090
+ TD: [172.5, -41.2],
17091
+ WC: [171.2, -42.5],
17092
+ CA: [172, -43.5],
17093
+ OT: [170, -45],
17094
+ SO: [168.3, -46.1]
17095
+ };
17096
+ var NEW_ZEALAND_MAP_CENTER = [172, -41];
17097
+ var NEW_ZEALAND_MACRO_REGIONS = [
17098
+ {
17099
+ key: "north-island",
17100
+ label: "",
17101
+ codes: ["AU", "WK", "BP", "GI", "HB", "MW", "TK", "WG", "NO"],
17102
+ gradient: "from-blue-500/15 to-indigo-500/10 dark:from-blue-500/20 dark:to-indigo-500/15",
17103
+ iconColor: "text-blue-600 dark:text-blue-400"
17104
+ },
17105
+ {
17106
+ key: "south-island",
17107
+ label: "",
17108
+ codes: ["CA", "OT", "SO", "WC", "MA", "NC", "TD"],
17109
+ gradient: "from-emerald-500/15 to-teal-500/10 dark:from-emerald-500/20 dark:to-teal-500/15",
17110
+ iconColor: "text-emerald-600 dark:text-emerald-400"
17111
+ }
17112
+ ];
17113
+ var getNewZealandFlagUrl = (code) => getSubdivisionFlagUrl("NZ", code);
17114
+ var getNewZealandHexColor = (code) => getSubdivisionHexColor("NZ", code);
17115
+ var getNewZealandPalette = (code) => getSubdivisionPalette("NZ", code);
17116
+ var getNewZealandGradient = (code, direction) => getSubdivisionGradient("NZ", code, direction);
17117
+ var getNewZealandColors = (code) => getSubdivisionColors("NZ", code);
17118
+ var getNewZealandAccent = (code) => getSubdivisionAccent("NZ", code);
17119
+ var isValidNewZealandRegion = (code) => isValidSubdivision("NZ", code);
17120
+
17121
+ // src/lib/country-config.ts
17122
+ var COUNTRY_REGISTRY = /* @__PURE__ */ new Map();
17123
+ function getCountryConfig(code) {
17124
+ return COUNTRY_REGISTRY.get(code.toUpperCase()) ?? null;
17125
+ }
17126
+ function registerCountry(config) {
17127
+ COUNTRY_REGISTRY.set(config.code.toUpperCase(), config);
17128
+ }
17129
+ function getAllCountries() {
17130
+ return [...COUNTRY_REGISTRY.values()].sort((a2, b2) => a2.code.localeCompare(b2.code));
17131
+ }
17132
+ function formatCurrency2(amount, countryCode) {
17133
+ const config = getCountryConfig(countryCode);
17134
+ if (!config) return String(amount);
17135
+ const { currency } = config;
17136
+ const fixed = Math.abs(amount).toFixed(currency.precision);
17137
+ const [integerPart, decimalPart] = fixed.split(".");
17138
+ const withThousands = integerPart.replace(
17139
+ /\B(?=(\d{3})+(?!\d))/g,
17140
+ currency.thousands
17141
+ );
17142
+ const formatted = decimalPart ? `${withThousands}${currency.decimal}${decimalPart}` : withThousands;
17143
+ const sign = amount < 0 ? "-" : "";
17144
+ return currency.symbolPosition === "before" ? `${sign}${currency.symbol}${formatted}` : `${sign}${formatted}${currency.symbol}`;
17145
+ }
17146
+ function formatAddress(address, countryCode) {
17147
+ const config = getCountryConfig(countryCode);
17148
+ if (!config) {
17149
+ return Object.values(address).filter(Boolean).join(", ");
17150
+ }
17151
+ let result = config.address.template;
17152
+ for (const field of config.address.fields) {
17153
+ result = result.replace(`{${field}}`, address[field] ?? "");
17154
+ }
17155
+ return result.replace(/[ ]{2,}/g, " ").replace(/,\s*,/g, ",").replace(/,\s*\n/g, "\n").replace(/\n\s*,/g, "\n").trim();
17156
+ }
17157
+ registerCountry({
17158
+ code: "BR",
17159
+ name: "Brazil",
17160
+ nativeName: "Brasil",
17161
+ flag: "\u{1F1E7}\u{1F1F7}",
17162
+ theme: BR_THEME_CONFIG,
17163
+ coordinates: BRAZIL_STATE_COORDINATES,
17164
+ mapCenter: BRAZIL_MAP_CENTER,
17165
+ macroRegions: BRAZIL_MACRO_REGIONS,
17166
+ geoJsonPath: "/maps/brazil.geo.json",
17167
+ projection: "mercator",
17168
+ regionPropertyKey: "code",
17169
+ languages: [
17170
+ { code: "pt-BR", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
17171
+ ],
17172
+ currency: {
17173
+ code: "BRL",
17174
+ numeric: "986",
17175
+ symbol: "R$",
17176
+ decimal: ",",
17177
+ thousands: ".",
17178
+ symbolPosition: "before",
17179
+ precision: 2
17180
+ },
17181
+ locale: {
17182
+ defaultLocale: "pt-BR",
17183
+ dateFormat: "dd/MM/yyyy",
17184
+ timeFormat: "24h",
17185
+ firstDayOfWeek: 0,
17186
+ measurementSystem: "metric"
17187
+ },
17188
+ address: {
17189
+ fields: ["street", "number", "complement", "neighborhood", "city", "state", "postalCode"],
17190
+ template: "{street}, {number} {complement}\n{neighborhood}\n{city}, {state} {postalCode}",
17191
+ postalCodeLabel: "CEP",
17192
+ postalCodePattern: "^\\d{5}-?\\d{3}$",
17193
+ stateLabel: "Estado"
17194
+ },
17195
+ tax: {
17196
+ name: "ICMS",
17197
+ standardRate: 18,
17198
+ subdivisionRates: {
17199
+ AC: 19,
17200
+ AL: 19,
17201
+ AM: 20,
17202
+ AP: 18,
17203
+ BA: 20.5,
17204
+ CE: 20,
17205
+ DF: 20,
17206
+ ES: 17,
17207
+ GO: 19,
17208
+ MA: 22,
17209
+ MG: 18,
17210
+ MS: 17,
17211
+ MT: 17,
17212
+ PA: 19,
17213
+ PB: 20,
17214
+ PE: 20.5,
17215
+ PI: 21,
17216
+ PR: 19.5,
17217
+ RJ: 20,
17218
+ RN: 18,
17219
+ RO: 19.5,
17220
+ RR: 20,
17221
+ RS: 17,
17222
+ SC: 17,
17223
+ SE: 19,
17224
+ SP: 18,
17225
+ TO: 20
17226
+ }
17227
+ }
17228
+ });
17229
+ registerCountry({
17230
+ code: "US",
17231
+ name: "United States",
17232
+ nativeName: "United States",
17233
+ flag: "\u{1F1FA}\u{1F1F8}",
17234
+ theme: US_THEME_CONFIG,
17235
+ coordinates: US_STATE_COORDINATES,
17236
+ mapCenter: US_MAP_CENTER,
17237
+ macroRegions: US_MACRO_REGIONS,
17238
+ geoJsonPath: "/maps/us.geo.json",
17239
+ projection: "albersUsa",
17240
+ regionPropertyKey: "code",
17241
+ languages: [
17242
+ { code: "en-US", name: "English", nativeName: "English", primary: true },
17243
+ { code: "es-US", name: "Spanish", nativeName: "Espa\xF1ol" }
17244
+ ],
17245
+ currency: {
17246
+ code: "USD",
17247
+ numeric: "840",
17248
+ symbol: "$",
17249
+ decimal: ".",
17250
+ thousands: ",",
17251
+ symbolPosition: "before",
17252
+ precision: 2
17253
+ },
17254
+ locale: {
17255
+ defaultLocale: "en-US",
17256
+ dateFormat: "MM/dd/yyyy",
17257
+ timeFormat: "12h",
17258
+ firstDayOfWeek: 0,
17259
+ measurementSystem: "imperial"
17260
+ },
17261
+ address: {
17262
+ fields: ["street", "suite", "city", "state", "postalCode"],
17263
+ template: "{street} {suite}\n{city}, {state} {postalCode}",
17264
+ postalCodeLabel: "ZIP Code",
17265
+ postalCodePattern: "^\\d{5}(-\\d{4})?$",
17266
+ stateLabel: "State"
17267
+ },
17268
+ tax: {
17269
+ name: "Sales Tax",
17270
+ standardRate: 0,
17271
+ subdivisionRates: {
17272
+ AL: 4,
17273
+ AK: 0,
17274
+ AZ: 5.6,
17275
+ AR: 6.5,
17276
+ CA: 7.25,
17277
+ CO: 2.9,
17278
+ CT: 6.35,
17279
+ DE: 0,
17280
+ FL: 6,
17281
+ GA: 4,
17282
+ HI: 4,
17283
+ ID: 6,
17284
+ IL: 6.25,
17285
+ IN: 7,
17286
+ IA: 6,
17287
+ KS: 6.5,
17288
+ KY: 6,
17289
+ LA: 4.45,
17290
+ ME: 5.5,
17291
+ MD: 6,
17292
+ MA: 6.25,
17293
+ MI: 6,
17294
+ MN: 6.875,
17295
+ MS: 7,
17296
+ MO: 4.225,
17297
+ MT: 0,
17298
+ NE: 5.5,
17299
+ NV: 6.85,
17300
+ NH: 0,
17301
+ NJ: 6.625,
17302
+ NM: 5.125,
17303
+ NY: 4,
17304
+ NC: 4.75,
17305
+ ND: 5,
17306
+ OH: 5.75,
17307
+ OK: 4.5,
17308
+ OR: 0,
17309
+ PA: 6,
17310
+ RI: 7,
15265
17311
  SC: 6,
15266
17312
  SD: 4.5,
15267
17313
  TN: 7,
@@ -15278,758 +17324,1279 @@ registerCountry({
15278
17324
  }
15279
17325
  });
15280
17326
  registerCountry({
15281
- code: "CA",
15282
- name: "Canada",
15283
- nativeName: "Canada",
15284
- flag: "\u{1F1E8}\u{1F1E6}",
15285
- theme: CA_THEME_CONFIG,
15286
- coordinates: CANADA_PROVINCE_COORDINATES,
15287
- mapCenter: CANADA_MAP_CENTER,
15288
- macroRegions: CANADA_MACRO_REGIONS,
15289
- geoJsonPath: "/maps/canada.geo.json",
17327
+ code: "CA",
17328
+ name: "Canada",
17329
+ nativeName: "Canada",
17330
+ flag: "\u{1F1E8}\u{1F1E6}",
17331
+ theme: CA_THEME_CONFIG,
17332
+ coordinates: CANADA_PROVINCE_COORDINATES,
17333
+ mapCenter: CANADA_MAP_CENTER,
17334
+ macroRegions: CANADA_MACRO_REGIONS,
17335
+ geoJsonPath: "/maps/canada.geo.json",
17336
+ projection: "mercator",
17337
+ regionPropertyKey: "code",
17338
+ languages: [
17339
+ { code: "en-CA", name: "English", nativeName: "English", primary: true },
17340
+ { code: "fr-CA", name: "French", nativeName: "Fran\xE7ais" }
17341
+ ],
17342
+ currency: {
17343
+ code: "CAD",
17344
+ numeric: "124",
17345
+ symbol: "CA$",
17346
+ decimal: ".",
17347
+ thousands: ",",
17348
+ symbolPosition: "before",
17349
+ precision: 2
17350
+ },
17351
+ locale: {
17352
+ defaultLocale: "en-CA",
17353
+ dateFormat: "yyyy-MM-dd",
17354
+ timeFormat: "12h",
17355
+ firstDayOfWeek: 0,
17356
+ measurementSystem: "metric"
17357
+ },
17358
+ address: {
17359
+ fields: ["street", "suite", "city", "province", "postalCode"],
17360
+ template: "{street} {suite}\n{city}, {province} {postalCode}",
17361
+ postalCodeLabel: "Postal Code",
17362
+ postalCodePattern: "^[A-Za-z]\\d[A-Za-z]\\s?\\d[A-Za-z]\\d$",
17363
+ stateLabel: "Province"
17364
+ },
17365
+ tax: {
17366
+ name: "GST/HST",
17367
+ standardRate: 5,
17368
+ subdivisionRates: {
17369
+ AB: 5,
17370
+ BC: 12,
17371
+ MB: 12,
17372
+ NB: 15,
17373
+ NL: 15,
17374
+ NS: 15,
17375
+ NT: 5,
17376
+ NU: 5,
17377
+ ON: 13,
17378
+ PE: 15,
17379
+ QC: 14.975,
17380
+ SK: 11,
17381
+ YT: 5
17382
+ }
17383
+ }
17384
+ });
17385
+ registerCountry({
17386
+ code: "MX",
17387
+ name: "Mexico",
17388
+ nativeName: "M\xE9xico",
17389
+ flag: "\u{1F1F2}\u{1F1FD}",
17390
+ theme: MX_THEME_CONFIG,
17391
+ coordinates: MEXICO_STATE_COORDINATES,
17392
+ mapCenter: MEXICO_MAP_CENTER,
17393
+ macroRegions: MEXICO_MACRO_REGIONS,
17394
+ geoJsonPath: "/maps/mexico.geo.json",
17395
+ projection: "mercator",
17396
+ regionPropertyKey: "code",
17397
+ languages: [
17398
+ { code: "es-MX", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
17399
+ ],
17400
+ currency: {
17401
+ code: "MXN",
17402
+ numeric: "484",
17403
+ symbol: "MX$",
17404
+ decimal: ".",
17405
+ thousands: ",",
17406
+ symbolPosition: "before",
17407
+ precision: 2
17408
+ },
17409
+ locale: {
17410
+ defaultLocale: "es-MX",
17411
+ dateFormat: "dd/MM/yyyy",
17412
+ timeFormat: "12h",
17413
+ firstDayOfWeek: 0,
17414
+ measurementSystem: "metric"
17415
+ },
17416
+ address: {
17417
+ fields: ["street", "exteriorNumber", "interiorNumber", "neighborhood", "city", "state", "postalCode"],
17418
+ template: "{street} {exteriorNumber} {interiorNumber}\n{neighborhood}\n{postalCode} {city}, {state}",
17419
+ postalCodeLabel: "C\xF3digo Postal",
17420
+ postalCodePattern: "^\\d{5}$",
17421
+ stateLabel: "Estado"
17422
+ },
17423
+ tax: {
17424
+ name: "IVA",
17425
+ standardRate: 16
17426
+ }
17427
+ });
17428
+ registerCountry({
17429
+ code: "CO",
17430
+ name: "Colombia",
17431
+ nativeName: "Colombia",
17432
+ flag: "\u{1F1E8}\u{1F1F4}",
17433
+ theme: CO_THEME_CONFIG,
17434
+ coordinates: COLOMBIA_DEPARTMENT_COORDINATES,
17435
+ mapCenter: COLOMBIA_MAP_CENTER,
17436
+ macroRegions: COLOMBIA_MACRO_REGIONS,
17437
+ geoJsonPath: "/maps/colombia.geo.json",
17438
+ projection: "mercator",
17439
+ regionPropertyKey: "code",
17440
+ languages: [
17441
+ { code: "es-CO", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
17442
+ ],
17443
+ currency: {
17444
+ code: "COP",
17445
+ numeric: "170",
17446
+ symbol: "COL$",
17447
+ decimal: ",",
17448
+ thousands: ".",
17449
+ symbolPosition: "before",
17450
+ precision: 0
17451
+ },
17452
+ locale: {
17453
+ defaultLocale: "es-CO",
17454
+ dateFormat: "dd/MM/yyyy",
17455
+ timeFormat: "12h",
17456
+ firstDayOfWeek: 0,
17457
+ measurementSystem: "metric"
17458
+ },
17459
+ address: {
17460
+ fields: ["street", "number", "city", "department", "postalCode"],
17461
+ template: "{street} {number}\n{city}, {department} {postalCode}",
17462
+ postalCodeLabel: "C\xF3digo Postal",
17463
+ postalCodePattern: "^\\d{6}$",
17464
+ stateLabel: "Departamento"
17465
+ },
17466
+ tax: {
17467
+ name: "IVA",
17468
+ standardRate: 19
17469
+ }
17470
+ });
17471
+ registerCountry({
17472
+ code: "AR",
17473
+ name: "Argentina",
17474
+ nativeName: "Argentina",
17475
+ flag: "\u{1F1E6}\u{1F1F7}",
17476
+ theme: AR_THEME_CONFIG,
17477
+ coordinates: ARGENTINA_PROVINCE_COORDINATES,
17478
+ mapCenter: ARGENTINA_MAP_CENTER,
17479
+ macroRegions: ARGENTINA_MACRO_REGIONS,
17480
+ geoJsonPath: "/maps/argentina.geo.json",
17481
+ projection: "mercator",
17482
+ regionPropertyKey: "code",
17483
+ languages: [
17484
+ { code: "es-AR", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
17485
+ ],
17486
+ currency: {
17487
+ code: "ARS",
17488
+ numeric: "032",
17489
+ symbol: "AR$",
17490
+ decimal: ",",
17491
+ thousands: ".",
17492
+ symbolPosition: "before",
17493
+ precision: 2
17494
+ },
17495
+ locale: {
17496
+ defaultLocale: "es-AR",
17497
+ dateFormat: "dd/MM/yyyy",
17498
+ timeFormat: "24h",
17499
+ firstDayOfWeek: 1,
17500
+ measurementSystem: "metric"
17501
+ },
17502
+ address: {
17503
+ fields: ["street", "number", "floor", "apartment", "postalCode", "city", "province"],
17504
+ template: "{street} {number}, {floor} {apartment}\n{postalCode} {city}, {province}",
17505
+ postalCodeLabel: "C\xF3digo Postal",
17506
+ postalCodePattern: "^[A-Za-z]\\d{4}[A-Za-z]{3}$",
17507
+ stateLabel: "Provincia"
17508
+ },
17509
+ tax: {
17510
+ name: "IVA",
17511
+ standardRate: 21
17512
+ }
17513
+ });
17514
+ registerCountry({
17515
+ code: "CL",
17516
+ name: "Chile",
17517
+ nativeName: "Chile",
17518
+ flag: "\u{1F1E8}\u{1F1F1}",
17519
+ theme: CL_THEME_CONFIG,
17520
+ coordinates: CHILE_REGION_COORDINATES,
17521
+ mapCenter: CHILE_MAP_CENTER,
17522
+ macroRegions: CHILE_MACRO_REGIONS,
17523
+ geoJsonPath: "/maps/chile.geo.json",
17524
+ projection: "mercator",
17525
+ regionPropertyKey: "code",
17526
+ languages: [
17527
+ { code: "es-CL", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
17528
+ ],
17529
+ currency: {
17530
+ code: "CLP",
17531
+ numeric: "152",
17532
+ symbol: "CL$",
17533
+ decimal: ",",
17534
+ thousands: ".",
17535
+ symbolPosition: "before",
17536
+ precision: 0
17537
+ },
17538
+ locale: {
17539
+ defaultLocale: "es-CL",
17540
+ dateFormat: "dd-MM-yyyy",
17541
+ timeFormat: "24h",
17542
+ firstDayOfWeek: 1,
17543
+ measurementSystem: "metric"
17544
+ },
17545
+ address: {
17546
+ fields: ["street", "number", "commune", "city", "region", "postalCode"],
17547
+ template: "{street} {number}\n{commune}\n{city}, {region} {postalCode}",
17548
+ postalCodeLabel: "C\xF3digo Postal",
17549
+ postalCodePattern: "^\\d{7}$",
17550
+ stateLabel: "Regi\xF3n"
17551
+ },
17552
+ tax: {
17553
+ name: "IVA",
17554
+ standardRate: 19
17555
+ }
17556
+ });
17557
+ registerCountry({
17558
+ code: "PE",
17559
+ name: "Peru",
17560
+ nativeName: "Per\xFA",
17561
+ flag: "\u{1F1F5}\u{1F1EA}",
17562
+ theme: PE_THEME_CONFIG,
17563
+ coordinates: PERU_DEPARTMENT_COORDINATES,
17564
+ mapCenter: PERU_MAP_CENTER,
17565
+ macroRegions: PERU_MACRO_REGIONS,
17566
+ geoJsonPath: "/maps/peru.geo.json",
17567
+ projection: "mercator",
17568
+ regionPropertyKey: "code",
17569
+ languages: [
17570
+ { code: "es-PE", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
17571
+ { code: "qu", name: "Quechua", nativeName: "Runasimi" }
17572
+ ],
17573
+ currency: {
17574
+ code: "PEN",
17575
+ numeric: "604",
17576
+ symbol: "S/",
17577
+ decimal: ".",
17578
+ thousands: ",",
17579
+ symbolPosition: "before",
17580
+ precision: 2
17581
+ },
17582
+ locale: {
17583
+ defaultLocale: "es-PE",
17584
+ dateFormat: "dd/MM/yyyy",
17585
+ timeFormat: "12h",
17586
+ firstDayOfWeek: 0,
17587
+ measurementSystem: "metric"
17588
+ },
17589
+ address: {
17590
+ fields: ["street", "number", "district", "city", "department", "postalCode"],
17591
+ template: "{street} {number}\n{district}\n{city}, {department} {postalCode}",
17592
+ postalCodeLabel: "C\xF3digo Postal",
17593
+ postalCodePattern: "^\\d{5}$",
17594
+ stateLabel: "Departamento"
17595
+ },
17596
+ tax: {
17597
+ name: "IGV",
17598
+ standardRate: 18
17599
+ }
17600
+ });
17601
+ registerCountry({
17602
+ code: "DE",
17603
+ name: "Germany",
17604
+ nativeName: "Deutschland",
17605
+ flag: "\u{1F1E9}\u{1F1EA}",
17606
+ theme: DE_THEME_CONFIG,
17607
+ coordinates: GERMANY_STATE_COORDINATES,
17608
+ mapCenter: GERMANY_MAP_CENTER,
17609
+ macroRegions: GERMANY_MACRO_REGIONS,
17610
+ geoJsonPath: "/maps/germany.geo.json",
17611
+ projection: "mercator",
17612
+ regionPropertyKey: "code",
17613
+ languages: [
17614
+ { code: "de-DE", name: "German", nativeName: "Deutsch", primary: true }
17615
+ ],
17616
+ currency: {
17617
+ code: "EUR",
17618
+ numeric: "978",
17619
+ symbol: "\u20AC",
17620
+ decimal: ",",
17621
+ thousands: ".",
17622
+ symbolPosition: "after",
17623
+ precision: 2
17624
+ },
17625
+ locale: {
17626
+ defaultLocale: "de-DE",
17627
+ dateFormat: "dd.MM.yyyy",
17628
+ timeFormat: "24h",
17629
+ firstDayOfWeek: 1,
17630
+ measurementSystem: "metric"
17631
+ },
17632
+ address: {
17633
+ fields: ["street", "number", "postalCode", "city"],
17634
+ template: "{street} {number}\n{postalCode} {city}",
17635
+ postalCodeLabel: "PLZ",
17636
+ postalCodePattern: "^\\d{5}$",
17637
+ stateLabel: "Bundesland"
17638
+ },
17639
+ tax: {
17640
+ name: "MwSt",
17641
+ standardRate: 19
17642
+ }
17643
+ });
17644
+ registerCountry({
17645
+ code: "FR",
17646
+ name: "France",
17647
+ nativeName: "France",
17648
+ flag: "\u{1F1EB}\u{1F1F7}",
17649
+ theme: FR_THEME_CONFIG,
17650
+ coordinates: FRANCE_REGION_COORDINATES,
17651
+ mapCenter: FRANCE_MAP_CENTER,
17652
+ macroRegions: FRANCE_MACRO_REGIONS,
17653
+ geoJsonPath: "/maps/france.geo.json",
17654
+ projection: "mercator",
17655
+ regionPropertyKey: "code",
17656
+ languages: [
17657
+ { code: "fr-FR", name: "French", nativeName: "Fran\xE7ais", primary: true }
17658
+ ],
17659
+ currency: {
17660
+ code: "EUR",
17661
+ numeric: "978",
17662
+ symbol: "\u20AC",
17663
+ decimal: ",",
17664
+ thousands: "\u202F",
17665
+ symbolPosition: "after",
17666
+ precision: 2
17667
+ },
17668
+ locale: {
17669
+ defaultLocale: "fr-FR",
17670
+ dateFormat: "dd/MM/yyyy",
17671
+ timeFormat: "24h",
17672
+ firstDayOfWeek: 1,
17673
+ measurementSystem: "metric"
17674
+ },
17675
+ address: {
17676
+ fields: ["street", "number", "postalCode", "city"],
17677
+ template: "{number} {street}\n{postalCode} {city}",
17678
+ postalCodeLabel: "Code Postal",
17679
+ postalCodePattern: "^\\d{5}$",
17680
+ stateLabel: "R\xE9gion"
17681
+ },
17682
+ tax: {
17683
+ name: "TVA",
17684
+ standardRate: 20
17685
+ }
17686
+ });
17687
+ registerCountry({
17688
+ code: "ES",
17689
+ name: "Spain",
17690
+ nativeName: "Espa\xF1a",
17691
+ flag: "\u{1F1EA}\u{1F1F8}",
17692
+ theme: ES_THEME_CONFIG,
17693
+ coordinates: SPAIN_PROVINCE_COORDINATES,
17694
+ mapCenter: SPAIN_MAP_CENTER,
17695
+ macroRegions: SPAIN_MACRO_REGIONS,
17696
+ geoJsonPath: "/maps/spain.geo.json",
17697
+ projection: "mercator",
17698
+ regionPropertyKey: "code",
17699
+ languages: [
17700
+ { code: "es-ES", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
17701
+ { code: "ca", name: "Catalan", nativeName: "Catal\xE0" },
17702
+ { code: "eu", name: "Basque", nativeName: "Euskara" },
17703
+ { code: "gl", name: "Galician", nativeName: "Galego" }
17704
+ ],
17705
+ currency: {
17706
+ code: "EUR",
17707
+ numeric: "978",
17708
+ symbol: "\u20AC",
17709
+ decimal: ",",
17710
+ thousands: ".",
17711
+ symbolPosition: "after",
17712
+ precision: 2
17713
+ },
17714
+ locale: {
17715
+ defaultLocale: "es-ES",
17716
+ dateFormat: "dd/MM/yyyy",
17717
+ timeFormat: "24h",
17718
+ firstDayOfWeek: 1,
17719
+ measurementSystem: "metric"
17720
+ },
17721
+ address: {
17722
+ fields: ["street", "number", "floor", "door", "postalCode", "city", "province"],
17723
+ template: "{street} {number}, {floor} {door}\n{postalCode} {city} ({province})",
17724
+ postalCodeLabel: "C\xF3digo Postal",
17725
+ postalCodePattern: "^\\d{5}$",
17726
+ stateLabel: "Provincia"
17727
+ },
17728
+ tax: {
17729
+ name: "IVA",
17730
+ standardRate: 21
17731
+ }
17732
+ });
17733
+ registerCountry({
17734
+ code: "IT",
17735
+ name: "Italy",
17736
+ nativeName: "Italia",
17737
+ flag: "\u{1F1EE}\u{1F1F9}",
17738
+ theme: IT_THEME_CONFIG,
17739
+ coordinates: ITALY_REGION_COORDINATES,
17740
+ mapCenter: ITALY_MAP_CENTER,
17741
+ macroRegions: ITALY_MACRO_REGIONS,
17742
+ geoJsonPath: "/maps/italy.geo.json",
17743
+ projection: "mercator",
17744
+ regionPropertyKey: "code",
17745
+ languages: [
17746
+ { code: "it-IT", name: "Italian", nativeName: "Italiano", primary: true }
17747
+ ],
17748
+ currency: {
17749
+ code: "EUR",
17750
+ numeric: "978",
17751
+ symbol: "\u20AC",
17752
+ decimal: ",",
17753
+ thousands: ".",
17754
+ symbolPosition: "after",
17755
+ precision: 2
17756
+ },
17757
+ locale: {
17758
+ defaultLocale: "it-IT",
17759
+ dateFormat: "dd/MM/yyyy",
17760
+ timeFormat: "24h",
17761
+ firstDayOfWeek: 1,
17762
+ measurementSystem: "metric"
17763
+ },
17764
+ address: {
17765
+ fields: ["street", "number", "postalCode", "city", "province"],
17766
+ template: "{street} {number}\n{postalCode} {city} ({province})",
17767
+ postalCodeLabel: "CAP",
17768
+ postalCodePattern: "^\\d{5}$",
17769
+ stateLabel: "Provincia"
17770
+ },
17771
+ tax: {
17772
+ name: "IVA",
17773
+ standardRate: 22
17774
+ }
17775
+ });
17776
+ registerCountry({
17777
+ code: "GB",
17778
+ name: "United Kingdom",
17779
+ nativeName: "United Kingdom",
17780
+ flag: "\u{1F1EC}\u{1F1E7}",
17781
+ theme: GB_THEME_CONFIG,
17782
+ coordinates: UK_NATION_COORDINATES,
17783
+ mapCenter: UK_MAP_CENTER,
17784
+ macroRegions: UK_MACRO_REGIONS,
17785
+ geoJsonPath: "/maps/united-kingdom.geo.json",
17786
+ projection: "mercator",
17787
+ regionPropertyKey: "code",
17788
+ languages: [
17789
+ { code: "en-GB", name: "English", nativeName: "English", primary: true },
17790
+ { code: "cy", name: "Welsh", nativeName: "Cymraeg" },
17791
+ { code: "gd", name: "Scottish Gaelic", nativeName: "G\xE0idhlig" }
17792
+ ],
17793
+ currency: {
17794
+ code: "GBP",
17795
+ numeric: "826",
17796
+ symbol: "\xA3",
17797
+ decimal: ".",
17798
+ thousands: ",",
17799
+ symbolPosition: "before",
17800
+ precision: 2
17801
+ },
17802
+ locale: {
17803
+ defaultLocale: "en-GB",
17804
+ dateFormat: "dd/MM/yyyy",
17805
+ timeFormat: "24h",
17806
+ firstDayOfWeek: 1,
17807
+ measurementSystem: "metric"
17808
+ },
17809
+ address: {
17810
+ fields: ["street", "number", "city", "county", "postalCode"],
17811
+ template: "{number} {street}\n{city}\n{county}\n{postalCode}",
17812
+ postalCodeLabel: "Postcode",
17813
+ postalCodePattern: "^[A-Z]{1,2}\\d[A-Z\\d]?\\s?\\d[A-Z]{2}$",
17814
+ stateLabel: "County"
17815
+ },
17816
+ tax: {
17817
+ name: "VAT",
17818
+ standardRate: 20
17819
+ }
17820
+ });
17821
+ registerCountry({
17822
+ code: "PT",
17823
+ name: "Portugal",
17824
+ nativeName: "Portugal",
17825
+ flag: "\u{1F1F5}\u{1F1F9}",
17826
+ theme: PT_THEME_CONFIG,
17827
+ coordinates: PORTUGAL_DISTRICT_COORDINATES,
17828
+ mapCenter: PORTUGAL_MAP_CENTER,
17829
+ macroRegions: PORTUGAL_MACRO_REGIONS,
17830
+ geoJsonPath: "/maps/portugal.geo.json",
15290
17831
  projection: "mercator",
15291
17832
  regionPropertyKey: "code",
15292
17833
  languages: [
15293
- { code: "en-CA", name: "English", nativeName: "English", primary: true },
15294
- { code: "fr-CA", name: "French", nativeName: "Fran\xE7ais" }
17834
+ { code: "pt-PT", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
15295
17835
  ],
15296
17836
  currency: {
15297
- code: "CAD",
15298
- numeric: "124",
15299
- symbol: "CA$",
17837
+ code: "EUR",
17838
+ numeric: "978",
17839
+ symbol: "\u20AC",
17840
+ decimal: ",",
17841
+ thousands: ".",
17842
+ symbolPosition: "after",
17843
+ precision: 2
17844
+ },
17845
+ locale: {
17846
+ defaultLocale: "pt-PT",
17847
+ dateFormat: "dd/MM/yyyy",
17848
+ timeFormat: "24h",
17849
+ firstDayOfWeek: 1,
17850
+ measurementSystem: "metric"
17851
+ },
17852
+ address: {
17853
+ fields: ["street", "number", "floor", "postalCode", "city", "district"],
17854
+ template: "{street} {number}, {floor}\n{postalCode} {city}",
17855
+ postalCodeLabel: "C\xF3digo Postal",
17856
+ postalCodePattern: "^\\d{4}-\\d{3}$",
17857
+ stateLabel: "Distrito"
17858
+ },
17859
+ tax: {
17860
+ name: "IVA",
17861
+ standardRate: 23
17862
+ }
17863
+ });
17864
+ registerCountry({
17865
+ code: "AU",
17866
+ name: "Australia",
17867
+ nativeName: "Australia",
17868
+ flag: "\u{1F1E6}\u{1F1FA}",
17869
+ theme: AU_THEME_CONFIG,
17870
+ coordinates: AUSTRALIA_STATE_COORDINATES,
17871
+ mapCenter: AUSTRALIA_MAP_CENTER,
17872
+ macroRegions: AUSTRALIA_MACRO_REGIONS,
17873
+ geoJsonPath: "/maps/australia.geo.json",
17874
+ projection: "mercator",
17875
+ regionPropertyKey: "code",
17876
+ languages: [
17877
+ { code: "en-AU", name: "English", nativeName: "English", primary: true }
17878
+ ],
17879
+ currency: {
17880
+ code: "AUD",
17881
+ numeric: "036",
17882
+ symbol: "A$",
15300
17883
  decimal: ".",
15301
17884
  thousands: ",",
15302
17885
  symbolPosition: "before",
15303
17886
  precision: 2
15304
17887
  },
15305
17888
  locale: {
15306
- defaultLocale: "en-CA",
15307
- dateFormat: "yyyy-MM-dd",
17889
+ defaultLocale: "en-AU",
17890
+ dateFormat: "dd/MM/yyyy",
15308
17891
  timeFormat: "12h",
15309
17892
  firstDayOfWeek: 0,
15310
17893
  measurementSystem: "metric"
15311
17894
  },
15312
17895
  address: {
15313
- fields: ["street", "suite", "city", "province", "postalCode"],
15314
- template: "{street} {suite}\n{city}, {province} {postalCode}",
15315
- postalCodeLabel: "Postal Code",
15316
- postalCodePattern: "^[A-Za-z]\\d[A-Za-z]\\s?\\d[A-Za-z]\\d$",
15317
- stateLabel: "Province"
17896
+ fields: ["street", "number", "suburb", "state", "postalCode"],
17897
+ template: "{number} {street}\n{suburb} {state} {postalCode}",
17898
+ postalCodeLabel: "Postcode",
17899
+ postalCodePattern: "^\\d{4}$",
17900
+ stateLabel: "State"
15318
17901
  },
15319
17902
  tax: {
15320
- name: "GST/HST",
15321
- standardRate: 5,
15322
- subdivisionRates: {
15323
- AB: 5,
15324
- BC: 12,
15325
- MB: 12,
15326
- NB: 15,
15327
- NL: 15,
15328
- NS: 15,
15329
- NT: 5,
15330
- NU: 5,
15331
- ON: 13,
15332
- PE: 15,
15333
- QC: 14.975,
15334
- SK: 11,
15335
- YT: 5
15336
- }
17903
+ name: "GST",
17904
+ standardRate: 10
15337
17905
  }
15338
17906
  });
15339
17907
  registerCountry({
15340
- code: "MX",
15341
- name: "Mexico",
15342
- nativeName: "M\xE9xico",
15343
- flag: "\u{1F1F2}\u{1F1FD}",
15344
- theme: MX_THEME_CONFIG,
15345
- coordinates: MEXICO_STATE_COORDINATES,
15346
- mapCenter: MEXICO_MAP_CENTER,
15347
- macroRegions: MEXICO_MACRO_REGIONS,
15348
- geoJsonPath: "/maps/mexico.geo.json",
17908
+ code: "JP",
17909
+ name: "Japan",
17910
+ nativeName: "\u65E5\u672C",
17911
+ flag: "\u{1F1EF}\u{1F1F5}",
17912
+ theme: JP_THEME_CONFIG,
17913
+ coordinates: JAPAN_PREFECTURE_COORDINATES,
17914
+ mapCenter: JAPAN_MAP_CENTER,
17915
+ macroRegions: JAPAN_MACRO_REGIONS,
17916
+ geoJsonPath: "/maps/japan.geo.json",
15349
17917
  projection: "mercator",
15350
17918
  regionPropertyKey: "code",
15351
17919
  languages: [
15352
- { code: "es-MX", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
17920
+ { code: "ja", name: "Japanese", nativeName: "\u65E5\u672C\u8A9E", primary: true }
15353
17921
  ],
15354
17922
  currency: {
15355
- code: "MXN",
15356
- numeric: "484",
15357
- symbol: "MX$",
17923
+ code: "JPY",
17924
+ numeric: "392",
17925
+ symbol: "\xA5",
17926
+ decimal: ".",
17927
+ thousands: ",",
17928
+ symbolPosition: "before",
17929
+ precision: 0
17930
+ },
17931
+ locale: {
17932
+ defaultLocale: "ja-JP",
17933
+ dateFormat: "yyyy/MM/dd",
17934
+ timeFormat: "24h",
17935
+ firstDayOfWeek: 0,
17936
+ measurementSystem: "metric"
17937
+ },
17938
+ address: {
17939
+ fields: ["postalCode", "prefecture", "city", "district", "block", "building"],
17940
+ template: "\u3012{postalCode}\n{prefecture}{city}{district}{block}\n{building}",
17941
+ postalCodeLabel: "\u90F5\u4FBF\u756A\u53F7",
17942
+ postalCodePattern: "^\\d{3}-?\\d{4}$",
17943
+ stateLabel: "Prefecture"
17944
+ },
17945
+ tax: {
17946
+ name: "Consumption Tax",
17947
+ standardRate: 10
17948
+ }
17949
+ });
17950
+ registerCountry({
17951
+ code: "IN",
17952
+ name: "India",
17953
+ nativeName: "\u092D\u093E\u0930\u0924",
17954
+ flag: "\u{1F1EE}\u{1F1F3}",
17955
+ theme: IN_THEME_CONFIG,
17956
+ coordinates: INDIA_STATE_COORDINATES,
17957
+ mapCenter: INDIA_MAP_CENTER,
17958
+ macroRegions: INDIA_MACRO_REGIONS,
17959
+ geoJsonPath: "/maps/india.geo.json",
17960
+ projection: "mercator",
17961
+ regionPropertyKey: "code",
17962
+ languages: [
17963
+ { code: "hi", name: "Hindi", nativeName: "\u0939\u093F\u0928\u094D\u0926\u0940", primary: true },
17964
+ { code: "en-IN", name: "English", nativeName: "English" },
17965
+ { code: "ta", name: "Tamil", nativeName: "\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD" },
17966
+ { code: "te", name: "Telugu", nativeName: "\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41" },
17967
+ { code: "bn", name: "Bengali", nativeName: "\u09AC\u09BE\u0982\u09B2\u09BE" },
17968
+ { code: "mr", name: "Marathi", nativeName: "\u092E\u0930\u093E\u0920\u0940" }
17969
+ ],
17970
+ currency: {
17971
+ code: "INR",
17972
+ numeric: "356",
17973
+ symbol: "\u20B9",
15358
17974
  decimal: ".",
15359
17975
  thousands: ",",
15360
17976
  symbolPosition: "before",
15361
17977
  precision: 2
15362
17978
  },
15363
17979
  locale: {
15364
- defaultLocale: "es-MX",
17980
+ defaultLocale: "en-IN",
15365
17981
  dateFormat: "dd/MM/yyyy",
15366
17982
  timeFormat: "12h",
15367
17983
  firstDayOfWeek: 0,
15368
17984
  measurementSystem: "metric"
15369
17985
  },
15370
17986
  address: {
15371
- fields: ["street", "exteriorNumber", "interiorNumber", "neighborhood", "city", "state", "postalCode"],
15372
- template: "{street} {exteriorNumber} {interiorNumber}\n{neighborhood}\n{postalCode} {city}, {state}",
15373
- postalCodeLabel: "C\xF3digo Postal",
15374
- postalCodePattern: "^\\d{5}$",
15375
- stateLabel: "Estado"
17987
+ fields: ["street", "landmark", "city", "state", "postalCode"],
17988
+ template: "{street}\n{landmark}\n{city}, {state} {postalCode}",
17989
+ postalCodeLabel: "PIN Code",
17990
+ postalCodePattern: "^\\d{6}$",
17991
+ stateLabel: "State"
15376
17992
  },
15377
17993
  tax: {
15378
- name: "IVA",
15379
- standardRate: 16
17994
+ name: "GST",
17995
+ standardRate: 18,
17996
+ subdivisionRates: {
17997
+ AN: 0,
17998
+ CH: 18,
17999
+ DD: 18,
18000
+ DL: 18,
18001
+ GA: 18,
18002
+ GJ: 18,
18003
+ HP: 18,
18004
+ JK: 18,
18005
+ JH: 18,
18006
+ KA: 18,
18007
+ KL: 18,
18008
+ LA: 0,
18009
+ LD: 0,
18010
+ MH: 18,
18011
+ ML: 18,
18012
+ MN: 18,
18013
+ MP: 18,
18014
+ MZ: 18,
18015
+ NL: 18,
18016
+ OR: 18,
18017
+ PB: 18,
18018
+ PY: 18,
18019
+ RJ: 18,
18020
+ SK: 18,
18021
+ TN: 18,
18022
+ TG: 18,
18023
+ TR: 18,
18024
+ UP: 18,
18025
+ UK: 18,
18026
+ WB: 18,
18027
+ AP: 18,
18028
+ AR: 18,
18029
+ AS: 18,
18030
+ BR: 18,
18031
+ CT: 18,
18032
+ HR: 18
18033
+ }
15380
18034
  }
15381
18035
  });
15382
18036
  registerCountry({
15383
- code: "CO",
15384
- name: "Colombia",
15385
- nativeName: "Colombia",
15386
- flag: "\u{1F1E8}\u{1F1F4}",
15387
- theme: CO_THEME_CONFIG,
15388
- coordinates: COLOMBIA_DEPARTMENT_COORDINATES,
15389
- mapCenter: COLOMBIA_MAP_CENTER,
15390
- macroRegions: COLOMBIA_MACRO_REGIONS,
15391
- geoJsonPath: "/maps/colombia.geo.json",
18037
+ code: "ZA",
18038
+ name: "South Africa",
18039
+ nativeName: "South Africa",
18040
+ flag: "\u{1F1FF}\u{1F1E6}",
18041
+ theme: ZA_THEME_CONFIG,
18042
+ coordinates: SOUTH_AFRICA_PROVINCE_COORDINATES,
18043
+ mapCenter: SOUTH_AFRICA_MAP_CENTER,
18044
+ macroRegions: SOUTH_AFRICA_MACRO_REGIONS,
18045
+ geoJsonPath: "/maps/south-africa.geo.json",
15392
18046
  projection: "mercator",
15393
18047
  regionPropertyKey: "code",
15394
18048
  languages: [
15395
- { code: "es-CO", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
18049
+ { code: "en-ZA", name: "English", nativeName: "English", primary: true },
18050
+ { code: "af", name: "Afrikaans", nativeName: "Afrikaans" },
18051
+ { code: "zu", name: "Zulu", nativeName: "isiZulu" },
18052
+ { code: "xh", name: "Xhosa", nativeName: "isiXhosa" }
15396
18053
  ],
15397
18054
  currency: {
15398
- code: "COP",
15399
- numeric: "170",
15400
- symbol: "COL$",
15401
- decimal: ",",
15402
- thousands: ".",
18055
+ code: "ZAR",
18056
+ numeric: "710",
18057
+ symbol: "R",
18058
+ decimal: ".",
18059
+ thousands: ",",
15403
18060
  symbolPosition: "before",
15404
- precision: 0
18061
+ precision: 2
15405
18062
  },
15406
18063
  locale: {
15407
- defaultLocale: "es-CO",
15408
- dateFormat: "dd/MM/yyyy",
15409
- timeFormat: "12h",
18064
+ defaultLocale: "en-ZA",
18065
+ dateFormat: "yyyy/MM/dd",
18066
+ timeFormat: "24h",
15410
18067
  firstDayOfWeek: 0,
15411
18068
  measurementSystem: "metric"
15412
18069
  },
15413
18070
  address: {
15414
- fields: ["street", "number", "city", "department", "postalCode"],
15415
- template: "{street} {number}\n{city}, {department} {postalCode}",
15416
- postalCodeLabel: "C\xF3digo Postal",
15417
- postalCodePattern: "^\\d{6}$",
15418
- stateLabel: "Departamento"
18071
+ fields: ["street", "number", "suburb", "city", "province", "postalCode"],
18072
+ template: "{number} {street}\n{suburb}\n{city}\n{province}\n{postalCode}",
18073
+ postalCodeLabel: "Postal Code",
18074
+ postalCodePattern: "^\\d{4}$",
18075
+ stateLabel: "Province"
15419
18076
  },
15420
18077
  tax: {
15421
- name: "IVA",
15422
- standardRate: 19
18078
+ name: "VAT",
18079
+ standardRate: 15
15423
18080
  }
15424
18081
  });
15425
18082
  registerCountry({
15426
- code: "AR",
15427
- name: "Argentina",
15428
- nativeName: "Argentina",
15429
- flag: "\u{1F1E6}\u{1F1F7}",
15430
- theme: AR_THEME_CONFIG,
15431
- coordinates: ARGENTINA_PROVINCE_COORDINATES,
15432
- mapCenter: ARGENTINA_MAP_CENTER,
15433
- macroRegions: ARGENTINA_MACRO_REGIONS,
15434
- geoJsonPath: "/maps/argentina.geo.json",
18083
+ code: "KR",
18084
+ name: "South Korea",
18085
+ nativeName: "\uD55C\uAD6D",
18086
+ flag: "\u{1F1F0}\u{1F1F7}",
18087
+ theme: KR_THEME_CONFIG,
18088
+ coordinates: SOUTH_KOREA_PROVINCE_COORDINATES,
18089
+ mapCenter: SOUTH_KOREA_MAP_CENTER,
18090
+ macroRegions: SOUTH_KOREA_MACRO_REGIONS,
18091
+ geoJsonPath: "/maps/south-korea.geo.json",
15435
18092
  projection: "mercator",
15436
18093
  regionPropertyKey: "code",
15437
18094
  languages: [
15438
- { code: "es-AR", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
18095
+ { code: "ko", name: "Korean", nativeName: "\uD55C\uAD6D\uC5B4", primary: true }
15439
18096
  ],
15440
18097
  currency: {
15441
- code: "ARS",
15442
- numeric: "032",
15443
- symbol: "AR$",
15444
- decimal: ",",
15445
- thousands: ".",
18098
+ code: "KRW",
18099
+ numeric: "410",
18100
+ symbol: "\u20A9",
18101
+ decimal: ".",
18102
+ thousands: ",",
15446
18103
  symbolPosition: "before",
15447
- precision: 2
18104
+ precision: 0
15448
18105
  },
15449
18106
  locale: {
15450
- defaultLocale: "es-AR",
15451
- dateFormat: "dd/MM/yyyy",
18107
+ defaultLocale: "ko-KR",
18108
+ dateFormat: "yyyy.MM.dd",
15452
18109
  timeFormat: "24h",
15453
- firstDayOfWeek: 1,
18110
+ firstDayOfWeek: 0,
15454
18111
  measurementSystem: "metric"
15455
18112
  },
15456
18113
  address: {
15457
- fields: ["street", "number", "floor", "apartment", "postalCode", "city", "province"],
15458
- template: "{street} {number}, {floor} {apartment}\n{postalCode} {city}, {province}",
15459
- postalCodeLabel: "C\xF3digo Postal",
15460
- postalCodePattern: "^[A-Za-z]\\d{4}[A-Za-z]{3}$",
15461
- stateLabel: "Provincia"
18114
+ fields: ["postalCode", "province", "city", "district", "street", "building"],
18115
+ template: "{postalCode}\n{province} {city} {district}\n{street} {building}",
18116
+ postalCodeLabel: "\uC6B0\uD3B8\uBC88\uD638",
18117
+ postalCodePattern: "^\\d{5}$",
18118
+ stateLabel: "Province"
15462
18119
  },
15463
18120
  tax: {
15464
- name: "IVA",
15465
- standardRate: 21
18121
+ name: "VAT",
18122
+ standardRate: 10
15466
18123
  }
15467
18124
  });
15468
18125
  registerCountry({
15469
- code: "CL",
15470
- name: "Chile",
15471
- nativeName: "Chile",
15472
- flag: "\u{1F1E8}\u{1F1F1}",
15473
- theme: CL_THEME_CONFIG,
15474
- coordinates: CHILE_REGION_COORDINATES,
15475
- mapCenter: CHILE_MAP_CENTER,
15476
- macroRegions: CHILE_MACRO_REGIONS,
15477
- geoJsonPath: "/maps/chile.geo.json",
18126
+ code: "ID",
18127
+ name: "Indonesia",
18128
+ nativeName: "Indonesia",
18129
+ flag: "\u{1F1EE}\u{1F1E9}",
18130
+ theme: ID_THEME_CONFIG,
18131
+ coordinates: INDONESIA_PROVINCE_COORDINATES,
18132
+ mapCenter: INDONESIA_MAP_CENTER,
18133
+ macroRegions: INDONESIA_MACRO_REGIONS,
18134
+ geoJsonPath: "/maps/indonesia.geo.json",
15478
18135
  projection: "mercator",
15479
18136
  regionPropertyKey: "code",
15480
18137
  languages: [
15481
- { code: "es-CL", name: "Spanish", nativeName: "Espa\xF1ol", primary: true }
18138
+ { code: "id", name: "Indonesian", nativeName: "Bahasa Indonesia", primary: true }
15482
18139
  ],
15483
18140
  currency: {
15484
- code: "CLP",
15485
- numeric: "152",
15486
- symbol: "CL$",
18141
+ code: "IDR",
18142
+ numeric: "360",
18143
+ symbol: "Rp",
15487
18144
  decimal: ",",
15488
18145
  thousands: ".",
15489
18146
  symbolPosition: "before",
15490
18147
  precision: 0
15491
18148
  },
15492
18149
  locale: {
15493
- defaultLocale: "es-CL",
15494
- dateFormat: "dd-MM-yyyy",
18150
+ defaultLocale: "id-ID",
18151
+ dateFormat: "dd/MM/yyyy",
15495
18152
  timeFormat: "24h",
15496
18153
  firstDayOfWeek: 1,
15497
18154
  measurementSystem: "metric"
15498
18155
  },
15499
18156
  address: {
15500
- fields: ["street", "number", "commune", "city", "region", "postalCode"],
15501
- template: "{street} {number}\n{commune}\n{city}, {region} {postalCode}",
15502
- postalCodeLabel: "C\xF3digo Postal",
15503
- postalCodePattern: "^\\d{7}$",
15504
- stateLabel: "Regi\xF3n"
18157
+ fields: ["street", "number", "district", "city", "province", "postalCode"],
18158
+ template: "{street} {number}\n{district}\n{city}, {province} {postalCode}",
18159
+ postalCodeLabel: "Kode Pos",
18160
+ postalCodePattern: "^\\d{5}$",
18161
+ stateLabel: "Provinsi"
15505
18162
  },
15506
18163
  tax: {
15507
- name: "IVA",
15508
- standardRate: 19
18164
+ name: "PPN",
18165
+ standardRate: 11
15509
18166
  }
15510
18167
  });
15511
18168
  registerCountry({
15512
- code: "PE",
15513
- name: "Peru",
15514
- nativeName: "Per\xFA",
15515
- flag: "\u{1F1F5}\u{1F1EA}",
15516
- theme: PE_THEME_CONFIG,
15517
- coordinates: PERU_DEPARTMENT_COORDINATES,
15518
- mapCenter: PERU_MAP_CENTER,
15519
- macroRegions: PERU_MACRO_REGIONS,
15520
- geoJsonPath: "/maps/peru.geo.json",
18169
+ code: "TH",
18170
+ name: "Thailand",
18171
+ nativeName: "\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28\u0E44\u0E17\u0E22",
18172
+ flag: "\u{1F1F9}\u{1F1ED}",
18173
+ theme: TH_THEME_CONFIG,
18174
+ coordinates: THAILAND_PROVINCE_COORDINATES,
18175
+ mapCenter: THAILAND_MAP_CENTER,
18176
+ macroRegions: THAILAND_MACRO_REGIONS,
18177
+ geoJsonPath: "/maps/thailand.geo.json",
15521
18178
  projection: "mercator",
15522
18179
  regionPropertyKey: "code",
15523
18180
  languages: [
15524
- { code: "es-PE", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
15525
- { code: "qu", name: "Quechua", nativeName: "Runasimi" }
18181
+ { code: "th", name: "Thai", nativeName: "\u0E44\u0E17\u0E22", primary: true }
15526
18182
  ],
15527
18183
  currency: {
15528
- code: "PEN",
15529
- numeric: "604",
15530
- symbol: "S/",
18184
+ code: "THB",
18185
+ numeric: "764",
18186
+ symbol: "\u0E3F",
15531
18187
  decimal: ".",
15532
18188
  thousands: ",",
15533
18189
  symbolPosition: "before",
15534
18190
  precision: 2
15535
18191
  },
15536
18192
  locale: {
15537
- defaultLocale: "es-PE",
18193
+ defaultLocale: "th-TH",
15538
18194
  dateFormat: "dd/MM/yyyy",
15539
- timeFormat: "12h",
15540
- firstDayOfWeek: 0,
15541
- measurementSystem: "metric"
15542
- },
15543
- address: {
15544
- fields: ["street", "number", "district", "city", "department", "postalCode"],
15545
- template: "{street} {number}\n{district}\n{city}, {department} {postalCode}",
15546
- postalCodeLabel: "C\xF3digo Postal",
15547
- postalCodePattern: "^\\d{5}$",
15548
- stateLabel: "Departamento"
15549
- },
15550
- tax: {
15551
- name: "IGV",
15552
- standardRate: 18
15553
- }
15554
- });
15555
- registerCountry({
15556
- code: "DE",
15557
- name: "Germany",
15558
- nativeName: "Deutschland",
15559
- flag: "\u{1F1E9}\u{1F1EA}",
15560
- theme: DE_THEME_CONFIG,
15561
- coordinates: GERMANY_STATE_COORDINATES,
15562
- mapCenter: GERMANY_MAP_CENTER,
15563
- macroRegions: GERMANY_MACRO_REGIONS,
15564
- geoJsonPath: "/maps/germany.geo.json",
15565
- projection: "mercator",
15566
- regionPropertyKey: "code",
15567
- languages: [
15568
- { code: "de-DE", name: "German", nativeName: "Deutsch", primary: true }
15569
- ],
15570
- currency: {
15571
- code: "EUR",
15572
- numeric: "978",
15573
- symbol: "\u20AC",
15574
- decimal: ",",
15575
- thousands: ".",
15576
- symbolPosition: "after",
15577
- precision: 2
15578
- },
15579
- locale: {
15580
- defaultLocale: "de-DE",
15581
- dateFormat: "dd.MM.yyyy",
15582
18195
  timeFormat: "24h",
15583
- firstDayOfWeek: 1,
18196
+ firstDayOfWeek: 0,
15584
18197
  measurementSystem: "metric"
15585
18198
  },
15586
18199
  address: {
15587
- fields: ["street", "number", "postalCode", "city"],
15588
- template: "{street} {number}\n{postalCode} {city}",
15589
- postalCodeLabel: "PLZ",
18200
+ fields: ["street", "number", "subDistrict", "district", "province", "postalCode"],
18201
+ template: "{number} {street}\n{subDistrict}, {district}\n{province} {postalCode}",
18202
+ postalCodeLabel: "\u0E23\u0E2B\u0E31\u0E2A\u0E44\u0E1B\u0E23\u0E29\u0E13\u0E35\u0E22\u0E4C",
15590
18203
  postalCodePattern: "^\\d{5}$",
15591
- stateLabel: "Bundesland"
18204
+ stateLabel: "Province"
15592
18205
  },
15593
18206
  tax: {
15594
- name: "MwSt",
15595
- standardRate: 19
18207
+ name: "VAT",
18208
+ standardRate: 7
15596
18209
  }
15597
18210
  });
15598
18211
  registerCountry({
15599
- code: "FR",
15600
- name: "France",
15601
- nativeName: "France",
15602
- flag: "\u{1F1EB}\u{1F1F7}",
15603
- theme: FR_THEME_CONFIG,
15604
- coordinates: FRANCE_REGION_COORDINATES,
15605
- mapCenter: FRANCE_MAP_CENTER,
15606
- macroRegions: FRANCE_MACRO_REGIONS,
15607
- geoJsonPath: "/maps/france.geo.json",
18212
+ code: "NG",
18213
+ name: "Nigeria",
18214
+ nativeName: "Nigeria",
18215
+ flag: "\u{1F1F3}\u{1F1EC}",
18216
+ theme: NG_THEME_CONFIG,
18217
+ coordinates: NIGERIA_STATE_COORDINATES,
18218
+ mapCenter: NIGERIA_MAP_CENTER,
18219
+ macroRegions: NIGERIA_MACRO_REGIONS,
18220
+ geoJsonPath: "/maps/nigeria.geo.json",
15608
18221
  projection: "mercator",
15609
18222
  regionPropertyKey: "code",
15610
18223
  languages: [
15611
- { code: "fr-FR", name: "French", nativeName: "Fran\xE7ais", primary: true }
18224
+ { code: "en-NG", name: "English", nativeName: "English", primary: true },
18225
+ { code: "ha", name: "Hausa", nativeName: "Hausa" },
18226
+ { code: "yo", name: "Yoruba", nativeName: "Yor\xF9b\xE1" },
18227
+ { code: "ig", name: "Igbo", nativeName: "Igbo" }
15612
18228
  ],
15613
18229
  currency: {
15614
- code: "EUR",
15615
- numeric: "978",
15616
- symbol: "\u20AC",
15617
- decimal: ",",
15618
- thousands: "\u202F",
15619
- symbolPosition: "after",
18230
+ code: "NGN",
18231
+ numeric: "566",
18232
+ symbol: "\u20A6",
18233
+ decimal: ".",
18234
+ thousands: ",",
18235
+ symbolPosition: "before",
15620
18236
  precision: 2
15621
18237
  },
15622
18238
  locale: {
15623
- defaultLocale: "fr-FR",
18239
+ defaultLocale: "en-NG",
15624
18240
  dateFormat: "dd/MM/yyyy",
15625
- timeFormat: "24h",
18241
+ timeFormat: "12h",
15626
18242
  firstDayOfWeek: 1,
15627
18243
  measurementSystem: "metric"
15628
18244
  },
15629
18245
  address: {
15630
- fields: ["street", "number", "postalCode", "city"],
15631
- template: "{number} {street}\n{postalCode} {city}",
15632
- postalCodeLabel: "Code Postal",
15633
- postalCodePattern: "^\\d{5}$",
15634
- stateLabel: "R\xE9gion"
18246
+ fields: ["street", "number", "city", "state", "postalCode"],
18247
+ template: "{number} {street}\n{city}\n{state} {postalCode}",
18248
+ postalCodeLabel: "Postal Code",
18249
+ postalCodePattern: "^\\d{6}$",
18250
+ stateLabel: "State"
15635
18251
  },
15636
18252
  tax: {
15637
- name: "TVA",
15638
- standardRate: 20
18253
+ name: "VAT",
18254
+ standardRate: 7.5
15639
18255
  }
15640
18256
  });
15641
18257
  registerCountry({
15642
- code: "ES",
15643
- name: "Spain",
15644
- nativeName: "Espa\xF1a",
15645
- flag: "\u{1F1EA}\u{1F1F8}",
15646
- theme: ES_THEME_CONFIG,
15647
- coordinates: SPAIN_PROVINCE_COORDINATES,
15648
- mapCenter: SPAIN_MAP_CENTER,
15649
- macroRegions: SPAIN_MACRO_REGIONS,
15650
- geoJsonPath: "/maps/spain.geo.json",
18258
+ code: "EG",
18259
+ name: "Egypt",
18260
+ nativeName: "\u0645\u0635\u0631",
18261
+ flag: "\u{1F1EA}\u{1F1EC}",
18262
+ theme: EG_THEME_CONFIG,
18263
+ coordinates: EGYPT_GOVERNORATE_COORDINATES,
18264
+ mapCenter: EGYPT_MAP_CENTER,
18265
+ macroRegions: EGYPT_MACRO_REGIONS,
18266
+ geoJsonPath: "/maps/egypt.geo.json",
15651
18267
  projection: "mercator",
15652
18268
  regionPropertyKey: "code",
15653
18269
  languages: [
15654
- { code: "es-ES", name: "Spanish", nativeName: "Espa\xF1ol", primary: true },
15655
- { code: "ca", name: "Catalan", nativeName: "Catal\xE0" },
15656
- { code: "eu", name: "Basque", nativeName: "Euskara" },
15657
- { code: "gl", name: "Galician", nativeName: "Galego" }
18270
+ { code: "ar", name: "Arabic", nativeName: "\u0627\u0644\u0639\u0631\u0628\u064A\u0629", primary: true }
15658
18271
  ],
15659
18272
  currency: {
15660
- code: "EUR",
15661
- numeric: "978",
15662
- symbol: "\u20AC",
15663
- decimal: ",",
15664
- thousands: ".",
15665
- symbolPosition: "after",
18273
+ code: "EGP",
18274
+ numeric: "818",
18275
+ symbol: "E\xA3",
18276
+ decimal: ".",
18277
+ thousands: ",",
18278
+ symbolPosition: "before",
15666
18279
  precision: 2
15667
18280
  },
15668
18281
  locale: {
15669
- defaultLocale: "es-ES",
18282
+ defaultLocale: "ar-EG",
15670
18283
  dateFormat: "dd/MM/yyyy",
15671
- timeFormat: "24h",
15672
- firstDayOfWeek: 1,
18284
+ timeFormat: "12h",
18285
+ firstDayOfWeek: 0,
15673
18286
  measurementSystem: "metric"
15674
18287
  },
15675
18288
  address: {
15676
- fields: ["street", "number", "floor", "door", "postalCode", "city", "province"],
15677
- template: "{street} {number}, {floor} {door}\n{postalCode} {city} ({province})",
15678
- postalCodeLabel: "C\xF3digo Postal",
18289
+ fields: ["street", "number", "district", "city", "governorate", "postalCode"],
18290
+ template: "{number} {street}\n{district}\n{city}, {governorate} {postalCode}",
18291
+ postalCodeLabel: "Postal Code",
15679
18292
  postalCodePattern: "^\\d{5}$",
15680
- stateLabel: "Provincia"
18293
+ stateLabel: "Governorate"
15681
18294
  },
15682
18295
  tax: {
15683
- name: "IVA",
15684
- standardRate: 21
18296
+ name: "VAT",
18297
+ standardRate: 14
15685
18298
  }
15686
18299
  });
15687
18300
  registerCountry({
15688
- code: "IT",
15689
- name: "Italy",
15690
- nativeName: "Italia",
15691
- flag: "\u{1F1EE}\u{1F1F9}",
15692
- theme: IT_THEME_CONFIG,
15693
- coordinates: ITALY_REGION_COORDINATES,
15694
- mapCenter: ITALY_MAP_CENTER,
15695
- macroRegions: ITALY_MACRO_REGIONS,
15696
- geoJsonPath: "/maps/italy.geo.json",
18301
+ code: "TR",
18302
+ name: "Turkey",
18303
+ nativeName: "T\xFCrkiye",
18304
+ flag: "\u{1F1F9}\u{1F1F7}",
18305
+ theme: TR_THEME_CONFIG,
18306
+ coordinates: TURKEY_PROVINCE_COORDINATES,
18307
+ mapCenter: TURKEY_MAP_CENTER,
18308
+ macroRegions: TURKEY_MACRO_REGIONS,
18309
+ geoJsonPath: "/maps/turkey.geo.json",
15697
18310
  projection: "mercator",
15698
18311
  regionPropertyKey: "code",
15699
18312
  languages: [
15700
- { code: "it-IT", name: "Italian", nativeName: "Italiano", primary: true }
18313
+ { code: "tr", name: "Turkish", nativeName: "T\xFCrk\xE7e", primary: true }
15701
18314
  ],
15702
18315
  currency: {
15703
- code: "EUR",
15704
- numeric: "978",
15705
- symbol: "\u20AC",
18316
+ code: "TRY",
18317
+ numeric: "949",
18318
+ symbol: "\u20BA",
15706
18319
  decimal: ",",
15707
18320
  thousands: ".",
15708
- symbolPosition: "after",
18321
+ symbolPosition: "before",
15709
18322
  precision: 2
15710
18323
  },
15711
18324
  locale: {
15712
- defaultLocale: "it-IT",
15713
- dateFormat: "dd/MM/yyyy",
18325
+ defaultLocale: "tr-TR",
18326
+ dateFormat: "dd.MM.yyyy",
15714
18327
  timeFormat: "24h",
15715
18328
  firstDayOfWeek: 1,
15716
18329
  measurementSystem: "metric"
15717
18330
  },
15718
18331
  address: {
15719
- fields: ["street", "number", "postalCode", "city", "province"],
15720
- template: "{street} {number}\n{postalCode} {city} ({province})",
15721
- postalCodeLabel: "CAP",
18332
+ fields: ["street", "number", "district", "postalCode", "city", "province"],
18333
+ template: "{street} {number}\n{district}\n{postalCode} {city}/{province}",
18334
+ postalCodeLabel: "Posta Kodu",
15722
18335
  postalCodePattern: "^\\d{5}$",
15723
- stateLabel: "Provincia"
18336
+ stateLabel: "\u0130l"
15724
18337
  },
15725
18338
  tax: {
15726
- name: "IVA",
15727
- standardRate: 22
18339
+ name: "KDV",
18340
+ standardRate: 20
15728
18341
  }
15729
18342
  });
15730
18343
  registerCountry({
15731
- code: "GB",
15732
- name: "United Kingdom",
15733
- nativeName: "United Kingdom",
15734
- flag: "\u{1F1EC}\u{1F1E7}",
15735
- theme: GB_THEME_CONFIG,
15736
- coordinates: UK_NATION_COORDINATES,
15737
- mapCenter: UK_MAP_CENTER,
15738
- macroRegions: UK_MACRO_REGIONS,
15739
- geoJsonPath: "/maps/united-kingdom.geo.json",
18344
+ code: "PL",
18345
+ name: "Poland",
18346
+ nativeName: "Polska",
18347
+ flag: "\u{1F1F5}\u{1F1F1}",
18348
+ theme: PL_THEME_CONFIG,
18349
+ coordinates: POLAND_VOIVODESHIP_COORDINATES,
18350
+ mapCenter: POLAND_MAP_CENTER,
18351
+ macroRegions: POLAND_MACRO_REGIONS,
18352
+ geoJsonPath: "/maps/poland.geo.json",
15740
18353
  projection: "mercator",
15741
18354
  regionPropertyKey: "code",
15742
18355
  languages: [
15743
- { code: "en-GB", name: "English", nativeName: "English", primary: true },
15744
- { code: "cy", name: "Welsh", nativeName: "Cymraeg" },
15745
- { code: "gd", name: "Scottish Gaelic", nativeName: "G\xE0idhlig" }
18356
+ { code: "pl", name: "Polish", nativeName: "Polski", primary: true }
15746
18357
  ],
15747
18358
  currency: {
15748
- code: "GBP",
15749
- numeric: "826",
15750
- symbol: "\xA3",
15751
- decimal: ".",
15752
- thousands: ",",
15753
- symbolPosition: "before",
18359
+ code: "PLN",
18360
+ numeric: "985",
18361
+ symbol: "z\u0142",
18362
+ decimal: ",",
18363
+ thousands: "\xA0",
18364
+ symbolPosition: "after",
15754
18365
  precision: 2
15755
18366
  },
15756
18367
  locale: {
15757
- defaultLocale: "en-GB",
15758
- dateFormat: "dd/MM/yyyy",
18368
+ defaultLocale: "pl-PL",
18369
+ dateFormat: "dd.MM.yyyy",
15759
18370
  timeFormat: "24h",
15760
18371
  firstDayOfWeek: 1,
15761
18372
  measurementSystem: "metric"
15762
18373
  },
15763
18374
  address: {
15764
- fields: ["street", "number", "city", "county", "postalCode"],
15765
- template: "{number} {street}\n{city}\n{county}\n{postalCode}",
15766
- postalCodeLabel: "Postcode",
15767
- postalCodePattern: "^[A-Z]{1,2}\\d[A-Z\\d]?\\s?\\d[A-Z]{2}$",
15768
- stateLabel: "County"
18375
+ fields: ["street", "number", "apartment", "postalCode", "city"],
18376
+ template: "{street} {number}/{apartment}\n{postalCode} {city}",
18377
+ postalCodeLabel: "Kod pocztowy",
18378
+ postalCodePattern: "^\\d{2}-\\d{3}$",
18379
+ stateLabel: "Wojew\xF3dztwo"
15769
18380
  },
15770
18381
  tax: {
15771
18382
  name: "VAT",
15772
- standardRate: 20
18383
+ standardRate: 23
15773
18384
  }
15774
18385
  });
15775
18386
  registerCountry({
15776
- code: "PT",
15777
- name: "Portugal",
15778
- nativeName: "Portugal",
15779
- flag: "\u{1F1F5}\u{1F1F9}",
15780
- theme: PT_THEME_CONFIG,
15781
- coordinates: PORTUGAL_DISTRICT_COORDINATES,
15782
- mapCenter: PORTUGAL_MAP_CENTER,
15783
- macroRegions: PORTUGAL_MACRO_REGIONS,
15784
- geoJsonPath: "/maps/portugal.geo.json",
18387
+ code: "SE",
18388
+ name: "Sweden",
18389
+ nativeName: "Sverige",
18390
+ flag: "\u{1F1F8}\u{1F1EA}",
18391
+ theme: SE_THEME_CONFIG,
18392
+ coordinates: SWEDEN_COUNTY_COORDINATES,
18393
+ mapCenter: SWEDEN_MAP_CENTER,
18394
+ macroRegions: SWEDEN_MACRO_REGIONS,
18395
+ geoJsonPath: "/maps/sweden.geo.json",
15785
18396
  projection: "mercator",
15786
18397
  regionPropertyKey: "code",
15787
18398
  languages: [
15788
- { code: "pt-PT", name: "Portuguese", nativeName: "Portugu\xEAs", primary: true }
18399
+ { code: "sv", name: "Swedish", nativeName: "Svenska", primary: true }
15789
18400
  ],
15790
18401
  currency: {
15791
- code: "EUR",
15792
- numeric: "978",
15793
- symbol: "\u20AC",
18402
+ code: "SEK",
18403
+ numeric: "752",
18404
+ symbol: "kr",
15794
18405
  decimal: ",",
15795
- thousands: ".",
18406
+ thousands: "\xA0",
15796
18407
  symbolPosition: "after",
15797
18408
  precision: 2
15798
18409
  },
15799
18410
  locale: {
15800
- defaultLocale: "pt-PT",
15801
- dateFormat: "dd/MM/yyyy",
18411
+ defaultLocale: "sv-SE",
18412
+ dateFormat: "yyyy-MM-dd",
15802
18413
  timeFormat: "24h",
15803
18414
  firstDayOfWeek: 1,
15804
18415
  measurementSystem: "metric"
15805
18416
  },
15806
18417
  address: {
15807
- fields: ["street", "number", "floor", "postalCode", "city", "district"],
15808
- template: "{street} {number}, {floor}\n{postalCode} {city}",
15809
- postalCodeLabel: "C\xF3digo Postal",
15810
- postalCodePattern: "^\\d{4}-\\d{3}$",
15811
- stateLabel: "Distrito"
18418
+ fields: ["street", "number", "postalCode", "city"],
18419
+ template: "{street} {number}\n{postalCode} {city}",
18420
+ postalCodeLabel: "Postnummer",
18421
+ postalCodePattern: "^\\d{3}\\s?\\d{2}$",
18422
+ stateLabel: "L\xE4n"
15812
18423
  },
15813
18424
  tax: {
15814
- name: "IVA",
15815
- standardRate: 23
18425
+ name: "Moms",
18426
+ standardRate: 25
15816
18427
  }
15817
18428
  });
15818
18429
  registerCountry({
15819
- code: "AU",
15820
- name: "Australia",
15821
- nativeName: "Australia",
15822
- flag: "\u{1F1E6}\u{1F1FA}",
15823
- theme: AU_THEME_CONFIG,
15824
- coordinates: AUSTRALIA_STATE_COORDINATES,
15825
- mapCenter: AUSTRALIA_MAP_CENTER,
15826
- macroRegions: AUSTRALIA_MACRO_REGIONS,
15827
- geoJsonPath: "/maps/australia.geo.json",
18430
+ code: "NO",
18431
+ name: "Norway",
18432
+ nativeName: "Norge",
18433
+ flag: "\u{1F1F3}\u{1F1F4}",
18434
+ theme: NO_THEME_CONFIG,
18435
+ coordinates: NORWAY_COUNTY_COORDINATES,
18436
+ mapCenter: NORWAY_MAP_CENTER,
18437
+ macroRegions: NORWAY_MACRO_REGIONS,
18438
+ geoJsonPath: "/maps/norway.geo.json",
15828
18439
  projection: "mercator",
15829
18440
  regionPropertyKey: "code",
15830
18441
  languages: [
15831
- { code: "en-AU", name: "English", nativeName: "English", primary: true }
18442
+ { code: "no", name: "Norwegian", nativeName: "Norsk", primary: true }
15832
18443
  ],
15833
18444
  currency: {
15834
- code: "AUD",
15835
- numeric: "036",
15836
- symbol: "A$",
15837
- decimal: ".",
15838
- thousands: ",",
15839
- symbolPosition: "before",
18445
+ code: "NOK",
18446
+ numeric: "578",
18447
+ symbol: "kr",
18448
+ decimal: ",",
18449
+ thousands: "\xA0",
18450
+ symbolPosition: "after",
15840
18451
  precision: 2
15841
18452
  },
15842
18453
  locale: {
15843
- defaultLocale: "en-AU",
15844
- dateFormat: "dd/MM/yyyy",
15845
- timeFormat: "12h",
15846
- firstDayOfWeek: 0,
18454
+ defaultLocale: "nb-NO",
18455
+ dateFormat: "dd.MM.yyyy",
18456
+ timeFormat: "24h",
18457
+ firstDayOfWeek: 1,
15847
18458
  measurementSystem: "metric"
15848
18459
  },
15849
18460
  address: {
15850
- fields: ["street", "number", "suburb", "state", "postalCode"],
15851
- template: "{number} {street}\n{suburb} {state} {postalCode}",
15852
- postalCodeLabel: "Postcode",
18461
+ fields: ["street", "number", "postalCode", "city"],
18462
+ template: "{street} {number}\n{postalCode} {city}",
18463
+ postalCodeLabel: "Postnummer",
15853
18464
  postalCodePattern: "^\\d{4}$",
15854
- stateLabel: "State"
18465
+ stateLabel: "Fylke"
15855
18466
  },
15856
18467
  tax: {
15857
- name: "GST",
15858
- standardRate: 10
18468
+ name: "MVA",
18469
+ standardRate: 25
15859
18470
  }
15860
18471
  });
15861
18472
  registerCountry({
15862
- code: "JP",
15863
- name: "Japan",
15864
- nativeName: "\u65E5\u672C",
15865
- flag: "\u{1F1EF}\u{1F1F5}",
15866
- theme: JP_THEME_CONFIG,
15867
- coordinates: JAPAN_PREFECTURE_COORDINATES,
15868
- mapCenter: JAPAN_MAP_CENTER,
15869
- macroRegions: JAPAN_MACRO_REGIONS,
15870
- geoJsonPath: "/maps/japan.geo.json",
18473
+ code: "NL",
18474
+ name: "Netherlands",
18475
+ nativeName: "Nederland",
18476
+ flag: "\u{1F1F3}\u{1F1F1}",
18477
+ theme: NL_THEME_CONFIG,
18478
+ coordinates: NETHERLANDS_PROVINCE_COORDINATES,
18479
+ mapCenter: NETHERLANDS_MAP_CENTER,
18480
+ macroRegions: NETHERLANDS_MACRO_REGIONS,
18481
+ geoJsonPath: "/maps/netherlands.geo.json",
15871
18482
  projection: "mercator",
15872
18483
  regionPropertyKey: "code",
15873
18484
  languages: [
15874
- { code: "ja", name: "Japanese", nativeName: "\u65E5\u672C\u8A9E", primary: true }
18485
+ { code: "nl", name: "Dutch", nativeName: "Nederlands", primary: true }
15875
18486
  ],
15876
18487
  currency: {
15877
- code: "JPY",
15878
- numeric: "392",
15879
- symbol: "\xA5",
15880
- decimal: ".",
15881
- thousands: ",",
18488
+ code: "EUR",
18489
+ numeric: "978",
18490
+ symbol: "\u20AC",
18491
+ decimal: ",",
18492
+ thousands: ".",
15882
18493
  symbolPosition: "before",
15883
- precision: 0
18494
+ precision: 2
15884
18495
  },
15885
18496
  locale: {
15886
- defaultLocale: "ja-JP",
15887
- dateFormat: "yyyy/MM/dd",
18497
+ defaultLocale: "nl-NL",
18498
+ dateFormat: "dd-MM-yyyy",
15888
18499
  timeFormat: "24h",
15889
- firstDayOfWeek: 0,
18500
+ firstDayOfWeek: 1,
15890
18501
  measurementSystem: "metric"
15891
18502
  },
15892
18503
  address: {
15893
- fields: ["postalCode", "prefecture", "city", "district", "block", "building"],
15894
- template: "\u3012{postalCode}\n{prefecture}{city}{district}{block}\n{building}",
15895
- postalCodeLabel: "\u90F5\u4FBF\u756A\u53F7",
15896
- postalCodePattern: "^\\d{3}-?\\d{4}$",
15897
- stateLabel: "Prefecture"
18504
+ fields: ["street", "number", "postalCode", "city"],
18505
+ template: "{street} {number}\n{postalCode} {city}",
18506
+ postalCodeLabel: "Postcode",
18507
+ postalCodePattern: "^\\d{4}\\s?[A-Z]{2}$",
18508
+ stateLabel: "Provincie"
15898
18509
  },
15899
18510
  tax: {
15900
- name: "Consumption Tax",
15901
- standardRate: 10
18511
+ name: "BTW",
18512
+ standardRate: 21
15902
18513
  }
15903
18514
  });
15904
18515
  registerCountry({
15905
- code: "IN",
15906
- name: "India",
15907
- nativeName: "\u092D\u093E\u0930\u0924",
15908
- flag: "\u{1F1EE}\u{1F1F3}",
15909
- theme: IN_THEME_CONFIG,
15910
- coordinates: INDIA_STATE_COORDINATES,
15911
- mapCenter: INDIA_MAP_CENTER,
15912
- macroRegions: INDIA_MACRO_REGIONS,
15913
- geoJsonPath: "/maps/india.geo.json",
18516
+ code: "PH",
18517
+ name: "Philippines",
18518
+ nativeName: "Pilipinas",
18519
+ flag: "\u{1F1F5}\u{1F1ED}",
18520
+ theme: PH_THEME_CONFIG,
18521
+ coordinates: PHILIPPINES_PROVINCE_COORDINATES,
18522
+ mapCenter: PHILIPPINES_MAP_CENTER,
18523
+ macroRegions: PHILIPPINES_MACRO_REGIONS,
18524
+ geoJsonPath: "/maps/philippines.geo.json",
15914
18525
  projection: "mercator",
15915
18526
  regionPropertyKey: "code",
15916
18527
  languages: [
15917
- { code: "hi", name: "Hindi", nativeName: "\u0939\u093F\u0928\u094D\u0926\u0940", primary: true },
15918
- { code: "en-IN", name: "English", nativeName: "English" },
15919
- { code: "ta", name: "Tamil", nativeName: "\u0BA4\u0BAE\u0BBF\u0BB4\u0BCD" },
15920
- { code: "te", name: "Telugu", nativeName: "\u0C24\u0C46\u0C32\u0C41\u0C17\u0C41" },
15921
- { code: "bn", name: "Bengali", nativeName: "\u09AC\u09BE\u0982\u09B2\u09BE" },
15922
- { code: "mr", name: "Marathi", nativeName: "\u092E\u0930\u093E\u0920\u0940" }
18528
+ { code: "fil", name: "Filipino", nativeName: "Filipino", primary: true },
18529
+ { code: "en-PH", name: "English", nativeName: "English" }
15923
18530
  ],
15924
18531
  currency: {
15925
- code: "INR",
15926
- numeric: "356",
15927
- symbol: "\u20B9",
18532
+ code: "PHP",
18533
+ numeric: "608",
18534
+ symbol: "\u20B1",
15928
18535
  decimal: ".",
15929
18536
  thousands: ",",
15930
18537
  symbolPosition: "before",
15931
18538
  precision: 2
15932
18539
  },
15933
18540
  locale: {
15934
- defaultLocale: "en-IN",
15935
- dateFormat: "dd/MM/yyyy",
18541
+ defaultLocale: "en-PH",
18542
+ dateFormat: "MM/dd/yyyy",
15936
18543
  timeFormat: "12h",
15937
18544
  firstDayOfWeek: 0,
15938
18545
  measurementSystem: "metric"
15939
18546
  },
15940
18547
  address: {
15941
- fields: ["street", "landmark", "city", "state", "postalCode"],
15942
- template: "{street}\n{landmark}\n{city}, {state} {postalCode}",
15943
- postalCodeLabel: "PIN Code",
15944
- postalCodePattern: "^\\d{6}$",
15945
- stateLabel: "State"
18548
+ fields: ["street", "number", "barangay", "city", "province", "postalCode"],
18549
+ template: "{number} {street}\n{barangay}\n{city}, {province} {postalCode}",
18550
+ postalCodeLabel: "ZIP Code",
18551
+ postalCodePattern: "^\\d{4}$",
18552
+ stateLabel: "Province"
15946
18553
  },
15947
18554
  tax: {
15948
- name: "GST",
15949
- standardRate: 18,
15950
- subdivisionRates: {
15951
- AN: 0,
15952
- CH: 18,
15953
- DD: 18,
15954
- DL: 18,
15955
- GA: 18,
15956
- GJ: 18,
15957
- HP: 18,
15958
- JK: 18,
15959
- JH: 18,
15960
- KA: 18,
15961
- KL: 18,
15962
- LA: 0,
15963
- LD: 0,
15964
- MH: 18,
15965
- ML: 18,
15966
- MN: 18,
15967
- MP: 18,
15968
- MZ: 18,
15969
- NL: 18,
15970
- OR: 18,
15971
- PB: 18,
15972
- PY: 18,
15973
- RJ: 18,
15974
- SK: 18,
15975
- TN: 18,
15976
- TG: 18,
15977
- TR: 18,
15978
- UP: 18,
15979
- UK: 18,
15980
- WB: 18,
15981
- AP: 18,
15982
- AR: 18,
15983
- AS: 18,
15984
- BR: 18,
15985
- CT: 18,
15986
- HR: 18
15987
- }
18555
+ name: "VAT",
18556
+ standardRate: 12
15988
18557
  }
15989
18558
  });
15990
18559
  registerCountry({
15991
- code: "ZA",
15992
- name: "South Africa",
15993
- nativeName: "South Africa",
15994
- flag: "\u{1F1FF}\u{1F1E6}",
15995
- theme: ZA_THEME_CONFIG,
15996
- coordinates: SOUTH_AFRICA_PROVINCE_COORDINATES,
15997
- mapCenter: SOUTH_AFRICA_MAP_CENTER,
15998
- macroRegions: SOUTH_AFRICA_MACRO_REGIONS,
15999
- geoJsonPath: "/maps/south-africa.geo.json",
18560
+ code: "NZ",
18561
+ name: "New Zealand",
18562
+ nativeName: "Aotearoa",
18563
+ flag: "\u{1F1F3}\u{1F1FF}",
18564
+ theme: NZ_THEME_CONFIG,
18565
+ coordinates: NEW_ZEALAND_REGION_COORDINATES,
18566
+ mapCenter: NEW_ZEALAND_MAP_CENTER,
18567
+ macroRegions: NEW_ZEALAND_MACRO_REGIONS,
18568
+ geoJsonPath: "/maps/new-zealand.geo.json",
16000
18569
  projection: "mercator",
16001
18570
  regionPropertyKey: "code",
16002
18571
  languages: [
16003
- { code: "en-ZA", name: "English", nativeName: "English", primary: true },
16004
- { code: "af", name: "Afrikaans", nativeName: "Afrikaans" },
16005
- { code: "zu", name: "Zulu", nativeName: "isiZulu" },
16006
- { code: "xh", name: "Xhosa", nativeName: "isiXhosa" }
18572
+ { code: "en-NZ", name: "English", nativeName: "English", primary: true },
18573
+ { code: "mi", name: "M\u0101ori", nativeName: "Te Reo M\u0101ori" }
16007
18574
  ],
16008
18575
  currency: {
16009
- code: "ZAR",
16010
- numeric: "710",
16011
- symbol: "R",
18576
+ code: "NZD",
18577
+ numeric: "554",
18578
+ symbol: "NZ$",
16012
18579
  decimal: ".",
16013
18580
  thousands: ",",
16014
18581
  symbolPosition: "before",
16015
18582
  precision: 2
16016
18583
  },
16017
18584
  locale: {
16018
- defaultLocale: "en-ZA",
16019
- dateFormat: "yyyy/MM/dd",
16020
- timeFormat: "24h",
16021
- firstDayOfWeek: 0,
18585
+ defaultLocale: "en-NZ",
18586
+ dateFormat: "dd/MM/yyyy",
18587
+ timeFormat: "12h",
18588
+ firstDayOfWeek: 1,
16022
18589
  measurementSystem: "metric"
16023
18590
  },
16024
18591
  address: {
16025
- fields: ["street", "number", "suburb", "city", "province", "postalCode"],
16026
- template: "{number} {street}\n{suburb}\n{city}\n{province}\n{postalCode}",
16027
- postalCodeLabel: "Postal Code",
18592
+ fields: ["street", "number", "suburb", "city", "postalCode"],
18593
+ template: "{number} {street}\n{suburb}\n{city} {postalCode}",
18594
+ postalCodeLabel: "Postcode",
16028
18595
  postalCodePattern: "^\\d{4}$",
16029
- stateLabel: "Province"
18596
+ stateLabel: "Region"
16030
18597
  },
16031
18598
  tax: {
16032
- name: "VAT",
18599
+ name: "GST",
16033
18600
  standardRate: 15
16034
18601
  }
16035
18602
  });
@@ -20464,6 +23031,6 @@ function SkipToContent({
20464
23031
  );
20465
23032
  }
20466
23033
 
20467
- export { ARGENTINA_ACCENT_MAP, ARGENTINA_MACRO_REGIONS, ARGENTINA_MAP_CENTER, ARGENTINA_PROVINCE_COORDINATES, ARGENTINA_PROVINCE_PALETTES, AR_THEME_CONFIG, AUSTRALIA_ACCENT_MAP, AUSTRALIA_MACRO_REGIONS, AUSTRALIA_MAP_CENTER, AUSTRALIA_STATE_COORDINATES, AUSTRALIA_STATE_PALETTES, AU_THEME_CONFIG, ActionMenu, ActionSheet, ActiveFilterChips, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, CANADA_ACCENT_MAP, CANADA_MACRO_REGIONS, CANADA_MAP_CENTER, CANADA_PROVINCE_COORDINATES, CANADA_PROVINCE_PALETTES, CA_THEME_CONFIG, CHILE_ACCENT_MAP, CHILE_MACRO_REGIONS, CHILE_MAP_CENTER, CHILE_REGION_COORDINATES, CHILE_REGION_PALETTES, CL_THEME_CONFIG, COLOMBIA_ACCENT_MAP, COLOMBIA_DEPARTMENT_COORDINATES, COLOMBIA_DEPARTMENT_PALETTES, COLOMBIA_MACRO_REGIONS, COLOMBIA_MAP_CENTER, CO_THEME_CONFIG, Card, CardActionMenu, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, DE_THEME_CONFIG, DashboardProgressShell, DataPagination, DatePicker, DeleteSwipeAction, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDivider, DropdownItem, DropdownLabel, DropdownMenu, DropdownSelect, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, ES_THEME_CONFIG, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FRANCE_ACCENT_MAP, FRANCE_MACRO_REGIONS, FRANCE_MAP_CENTER, FRANCE_REGION_COORDINATES, FRANCE_REGION_PALETTES, FR_THEME_CONFIG, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GB_THEME_CONFIG, GERMANY_ACCENT_MAP, GERMANY_MACRO_REGIONS, GERMANY_MAP_CENTER, GERMANY_STATE_COORDINATES, GERMANY_STATE_PALETTES, GeoMapCanvas, GeoMapLegend, GlassDetailModal, GlassFormModal, GlassModal, GlassModalShell, Gradient, GradientBackground, GrowthIndicator, Heading, HeroPanel, HeroSection, INDIA_ACCENT_MAP, INDIA_MACRO_REGIONS, INDIA_MAP_CENTER, INDIA_STATE_COORDINATES, INDIA_STATE_PALETTES, IN_THEME_CONFIG, ITALY_ACCENT_MAP, ITALY_MACRO_REGIONS, ITALY_MAP_CENTER, ITALY_REGION_COORDINATES, ITALY_REGION_PALETTES, IT_THEME_CONFIG, IconButton, ImageUpload, InfoPopover, InlineForm, InlineSpinner, Input, InteractiveGeoMap, ItemSummary, JAPAN_ACCENT_MAP, JAPAN_MACRO_REGIONS, JAPAN_MAP_CENTER, JAPAN_PREFECTURE_COORDINATES, JAPAN_PREFECTURE_PALETTES, JP_THEME_CONFIG, KORI_ERP_LOADER, Label2 as Label, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, MEXICO_ACCENT_MAP, MEXICO_MACRO_REGIONS, MEXICO_MAP_CENTER, MEXICO_STATE_COORDINATES, MEXICO_STATE_PALETTES, MX_THEME_CONFIG, ManagementPageLayout, ManagementSurface, MapZoomControls, MetricCard, MonthPicker, MultiColumnPicker, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PERU_ACCENT_MAP, PERU_DEPARTMENT_COORDINATES, PERU_DEPARTMENT_PALETTES, PERU_MACRO_REGIONS, PERU_MAP_CENTER, PE_THEME_CONFIG, PORTUGAL_ACCENT_MAP, PORTUGAL_DISTRICT_COORDINATES, PORTUGAL_DISTRICT_PALETTES, PORTUGAL_MACRO_REGIONS, PORTUGAL_MAP_CENTER, PT_THEME_CONFIG, PageEmptyState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RegionFilterSkeleton, RoleBadge, SOUTH_AFRICA_ACCENT_MAP, SOUTH_AFRICA_MACRO_REGIONS, SOUTH_AFRICA_MAP_CENTER, SOUTH_AFRICA_PROVINCE_COORDINATES, SOUTH_AFRICA_PROVINCE_PALETTES, SPAIN_ACCENT_MAP, SPAIN_MACRO_REGIONS, SPAIN_MAP_CENTER, SPAIN_PROVINCE_COORDINATES, SPAIN_PROVINCE_PALETTES, SafeArea, SafeAreaSpacer, SafeAreaView, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsDialog, SettingsModal, Sheet, SkipToContent, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, UK_ACCENT_MAP, UK_MACRO_REGIONS, UK_MAP_CENTER, UK_NATION_COORDINATES, UK_NATION_PALETTES, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, ZA_THEME_CONFIG, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, createMotionProps, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, formatAddress, formatCurrency, formatCurrency2, formatDate, formatPercentage, getAllCountries, getArgentinaAccent, getArgentinaColors, getArgentinaFlagUrl, getArgentinaGradient, getArgentinaHexColor, getArgentinaPalette, getAustraliaAccent, getAustraliaColors, getAustraliaFlagUrl, getAustraliaGradient, getAustraliaHexColor, getAustraliaPalette, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getCanadaAccent, getCanadaColors, getCanadaFlagUrl, getCanadaGradient, getCanadaHexColor, getCanadaPalette, getChileAccent, getChileColors, getChileFlagUrl, getChileGradient, getChileHexColor, getChilePalette, getColombiaAccent, getColombiaColors, getColombiaFlagUrl, getColombiaGradient, getColombiaHexColor, getColombiaPalette, getCountryConfig, getFranceAccent, getFranceColors, getFranceFlagUrl, getFranceGradient, getFranceHexColor, getFrancePalette, getGermanyAccent, getGermanyColors, getGermanyFlagUrl, getGermanyGradient, getGermanyHexColor, getGermanyPalette, getIndiaAccent, getIndiaColors, getIndiaFlagUrl, getIndiaGradient, getIndiaHexColor, getIndiaPalette, getItalyAccent, getItalyColors, getItalyFlagUrl, getItalyGradient, getItalyHexColor, getItalyPalette, getJapanAccent, getJapanColors, getJapanFlagUrl, getJapanGradient, getJapanHexColor, getJapanPalette, getMexicoAccent, getMexicoColors, getMexicoFlagUrl, getMexicoGradient, getMexicoHexColor, getMexicoPalette, getPeruAccent, getPeruColors, getPeruFlagUrl, getPeruGradient, getPeruHexColor, getPeruPalette, getPortugalAccent, getPortugalColors, getPortugalFlagUrl, getPortugalGradient, getPortugalHexColor, getPortugalPalette, getSouthAfricaAccent, getSouthAfricaColors, getSouthAfricaFlagUrl, getSouthAfricaGradient, getSouthAfricaHexColor, getSouthAfricaPalette, getSpainAccent, getSpainColors, getSpainFlagUrl, getSpainGradient, getSpainHexColor, getSpainPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getTransition, getUKAccent, getUKColors, getUKFlagUrl, getUKGradient, getUKHexColor, getUKPalette, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, iosColors, isValidArgentinaProvince, isValidAustraliaState, isValidBrazilState, isValidCanadaProvince, isValidChileRegion, isValidColombiaDepartment, isValidFranceRegion, isValidGermanyState, isValidIndiaState, isValidItalyRegion, isValidJapanPrefecture, isValidMexicoState, isValidPeruDepartment, isValidPortugalDistrict, isValidSouthAfricaProvince, isValidSpainProvince, isValidSubdivision, isValidUKNation, isValidUsState, listItem, listItemReduced, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerCountry, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh };
20468
- //# sourceMappingURL=chunk-SHKRLL36.mjs.map
20469
- //# sourceMappingURL=chunk-SHKRLL36.mjs.map
23034
+ export { ARGENTINA_ACCENT_MAP, ARGENTINA_MACRO_REGIONS, ARGENTINA_MAP_CENTER, ARGENTINA_PROVINCE_COORDINATES, ARGENTINA_PROVINCE_PALETTES, AR_THEME_CONFIG, AUSTRALIA_ACCENT_MAP, AUSTRALIA_MACRO_REGIONS, AUSTRALIA_MAP_CENTER, AUSTRALIA_STATE_COORDINATES, AUSTRALIA_STATE_PALETTES, AU_THEME_CONFIG, ActionMenu, ActionSheet, ActiveFilterChips, AnalysisSkeleton, AnimatedNumber, AnimatedTableRow, AppLogo, AppNavigation, AppShell, ArchiveSwipeAction, AuthLayout, Avatar, AvatarButton, BRAZIL_ACCENT_MAP, BRAZIL_MACRO_REGIONS, BRAZIL_MAP_CENTER, BRAZIL_STATE_COORDINATES, BRAZIL_STATE_PALETTES, BR_THEME_CONFIG, BackupCodeGrid, BadRequestPage, Badge, BaseForm, BentoCard, BooleanFlagsPicker, BottomSafeArea, BrandFilterSkeleton, BrandedLoader, Breadcrumb, Button, CANADA_ACCENT_MAP, CANADA_MACRO_REGIONS, CANADA_MAP_CENTER, CANADA_PROVINCE_COORDINATES, CANADA_PROVINCE_PALETTES, CA_THEME_CONFIG, CHILE_ACCENT_MAP, CHILE_MACRO_REGIONS, CHILE_MAP_CENTER, CHILE_REGION_COORDINATES, CHILE_REGION_PALETTES, CL_THEME_CONFIG, COLOMBIA_ACCENT_MAP, COLOMBIA_DEPARTMENT_COORDINATES, COLOMBIA_DEPARTMENT_PALETTES, COLOMBIA_MACRO_REGIONS, COLOMBIA_MAP_CENTER, CO_THEME_CONFIG, Card, CardActionMenu, CardContent, CardDescription, CardDivider, CardFooter, CardGridSkeleton, CardHeader, CardSectionHeader, CardTitle, CategoryBadge, CategoryTab, CategoryTabs, ChipPicker, CircularRefreshIndicator, Code, CollapsibleGroupedList, CompactSegmentedControl, ContactCard, ContactSection, Container, ContextMenu, CookieConsent, CopyableId, CountPill, CreateActionButton, DE_THEME_CONFIG, DashboardProgressShell, DataPagination, DatePicker, DeleteSwipeAction, Description4 as Description, DetailsPopover, DevModeBanner, Dialog4 as Dialog, DialogActions, DialogBody, DialogDescription, DialogTitle3 as DialogTitle, Divider, Dock, DockContainer, DockSkeleton, DotRefreshIndicator, Dropdown, DropdownButton, DropdownDivider, DropdownItem, DropdownLabel, DropdownMenu, DropdownSelect, DynamicIsland, DynamicIslandConfirm, DynamicIslandNotification, EGYPT_ACCENT_MAP, EGYPT_GOVERNORATE_COORDINATES, EGYPT_GOVERNORATE_PALETTES, EGYPT_MACRO_REGIONS, EGYPT_MAP_CENTER, EG_THEME_CONFIG, ES_THEME_CONFIG, EdgeSwipeIndicator, EdgeSwipeProvider, EditSwipeAction, EmptyState, EntityCard, EntityDrawer, ErrorMessage, ErrorState, ExpandableHistoryList, ExpandingPageIndicator, FRANCE_ACCENT_MAP, FRANCE_MACRO_REGIONS, FRANCE_MAP_CENTER, FRANCE_REGION_COORDINATES, FRANCE_REGION_PALETTES, FR_THEME_CONFIG, FUEL_PRICE_LOADER, FavoriteSwipeAction, FeatureCard, FeedItemCard, Field2 as Field, FieldGroup, Fieldset2 as Fieldset, FilterBadge, FilterPill, FilterSectionHeader, FilterTileButton, FloatingActionButton, FlyoutMenu, FlyoutNavGrid, FlyoutQuickActions, ForceTouchMenu, Form, FormActions, FormActionsRow, FormCheckbox, FormField, FormGrid, FormInput, FormPriceInput, FormSection, FormSelect, FormTextarea, FormToggle, GB_THEME_CONFIG, GERMANY_ACCENT_MAP, GERMANY_MACRO_REGIONS, GERMANY_MAP_CENTER, GERMANY_STATE_COORDINATES, GERMANY_STATE_PALETTES, GeoMapCanvas, GeoMapLegend, GlassDetailModal, GlassFormModal, GlassModal, GlassModalShell, Gradient, GradientBackground, GrowthIndicator, Heading, HeroPanel, HeroSection, ID_THEME_CONFIG, INDIA_ACCENT_MAP, INDIA_MACRO_REGIONS, INDIA_MAP_CENTER, INDIA_STATE_COORDINATES, INDIA_STATE_PALETTES, INDONESIA_ACCENT_MAP, INDONESIA_MACRO_REGIONS, INDONESIA_MAP_CENTER, INDONESIA_PROVINCE_COORDINATES, INDONESIA_PROVINCE_PALETTES, IN_THEME_CONFIG, ITALY_ACCENT_MAP, ITALY_MACRO_REGIONS, ITALY_MAP_CENTER, ITALY_REGION_COORDINATES, ITALY_REGION_PALETTES, IT_THEME_CONFIG, IconButton, ImageUpload, InfoPopover, InlineForm, InlineSpinner, Input, InteractiveGeoMap, ItemSummary, JAPAN_ACCENT_MAP, JAPAN_MACRO_REGIONS, JAPAN_MAP_CENTER, JAPAN_PREFECTURE_COORDINATES, JAPAN_PREFECTURE_PALETTES, JP_THEME_CONFIG, KORI_ERP_LOADER, KR_THEME_CONFIG, LOCALE_FLAGS, Label2 as Label, LabeledToggle, LanguageSwitcher, LaunchpadGrid, Lead, Legend2 as Legend, LiquidFilterInput, ListCard, ListCardItem, ListItem, LoadingOverlay, MEXICO_ACCENT_MAP, MEXICO_MACRO_REGIONS, MEXICO_MAP_CENTER, MEXICO_STATE_COORDINATES, MEXICO_STATE_PALETTES, MX_THEME_CONFIG, ManagementPageLayout, ManagementSurface, MapZoomControls, MetricCard, MonthPicker, MultiColumnPicker, NETHERLANDS_ACCENT_MAP, NETHERLANDS_MACRO_REGIONS, NETHERLANDS_MAP_CENTER, NETHERLANDS_PROVINCE_COORDINATES, NETHERLANDS_PROVINCE_PALETTES, NEW_ZEALAND_ACCENT_MAP, NEW_ZEALAND_MACRO_REGIONS, NEW_ZEALAND_MAP_CENTER, NEW_ZEALAND_REGION_COORDINATES, NEW_ZEALAND_REGION_PALETTES, NG_THEME_CONFIG, NIGERIA_ACCENT_MAP, NIGERIA_MACRO_REGIONS, NIGERIA_MAP_CENTER, NIGERIA_STATE_COORDINATES, NIGERIA_STATE_PALETTES, NL_THEME_CONFIG, NORWAY_ACCENT_MAP, NORWAY_COUNTY_COORDINATES, NORWAY_COUNTY_PALETTES, NORWAY_MACRO_REGIONS, NORWAY_MAP_CENTER, NO_THEME_CONFIG, NZ_THEME_CONFIG, NavigationProgress, NoDataState, NoResultsState, NotFoundPage, NotificationBadge, NotificationBellButton, NotificationProvider, OfficeCard, OfflineState, OptionGrid, OtpInput, PERU_ACCENT_MAP, PERU_DEPARTMENT_COORDINATES, PERU_DEPARTMENT_PALETTES, PERU_MACRO_REGIONS, PERU_MAP_CENTER, PE_THEME_CONFIG, PHILIPPINES_ACCENT_MAP, PHILIPPINES_MACRO_REGIONS, PHILIPPINES_MAP_CENTER, PHILIPPINES_PROVINCE_COORDINATES, PHILIPPINES_PROVINCE_PALETTES, PH_THEME_CONFIG, PL_THEME_CONFIG, POLAND_ACCENT_MAP, POLAND_MACRO_REGIONS, POLAND_MAP_CENTER, POLAND_VOIVODESHIP_COORDINATES, POLAND_VOIVODESHIP_PALETTES, PORTUGAL_ACCENT_MAP, PORTUGAL_DISTRICT_COORDINATES, PORTUGAL_DISTRICT_PALETTES, PORTUGAL_MACRO_REGIONS, PORTUGAL_MAP_CENTER, PT_THEME_CONFIG, PageEmptyState, PageHeader, PageHeading, PageIndicator, PageLoadingState, PageSectionHeader, Pagination, PasswordInput, PasswordStrengthMeter, Pill, PlatformShell, PlusGrid, PlusGridItem, PlusGridRow, PreferenceSection, PriceChangeBadge, ProfileIdentityCard, Progress, ProgressIndicator, PullToRefreshContainer, PullToRefreshIndicator, RadiantHeading, RadiantStatCard, RadiantSubheading, RegionFilterSkeleton, RoleBadge, SE_THEME_CONFIG, SOUTH_AFRICA_ACCENT_MAP, SOUTH_AFRICA_MACRO_REGIONS, SOUTH_AFRICA_MAP_CENTER, SOUTH_AFRICA_PROVINCE_COORDINATES, SOUTH_AFRICA_PROVINCE_PALETTES, SOUTH_KOREA_ACCENT_MAP, SOUTH_KOREA_MACRO_REGIONS, SOUTH_KOREA_MAP_CENTER, SOUTH_KOREA_PROVINCE_COORDINATES, SOUTH_KOREA_PROVINCE_PALETTES, SPAIN_ACCENT_MAP, SPAIN_MACRO_REGIONS, SPAIN_MAP_CENTER, SPAIN_PROVINCE_COORDINATES, SPAIN_PROVINCE_PALETTES, SWEDEN_ACCENT_MAP, SWEDEN_COUNTY_COORDINATES, SWEDEN_COUNTY_PALETTES, SWEDEN_MACRO_REGIONS, SWEDEN_MAP_CENTER, SafeArea, SafeAreaSpacer, SafeAreaView, SearchBar, SearchFilterToolbar, SearchInput, SectionCard, SectionHeader, SectionHeaderSkeleton, SegmentedControl, Select, SelectableChipPicker, SelectableListPicker, SelectableOptionsGrid, SelectableTableRow, SelectionCard, ServerErrorPage, SettingsDialog, SettingsModal, Sheet, SkipToContent, SocialLoginButtons, SortableTableHeader, Spinner, Stat, StatCard, StatCardSkeleton, StatusBadge, StatusToggle, StepFormPage, StepNavigationButtons, StepTimeline, Strong, Subheading, SwipeableRow, Switch2 as Switch, THAILAND_ACCENT_MAP, THAILAND_MACRO_REGIONS, THAILAND_MAP_CENTER, THAILAND_PROVINCE_COORDINATES, THAILAND_PROVINCE_PALETTES, TH_THEME_CONFIG, TR_THEME_CONFIG, TURKEY_ACCENT_MAP, TURKEY_MACRO_REGIONS, TURKEY_MAP_CENTER, TURKEY_PROVINCE_COORDINATES, TURKEY_PROVINCE_PALETTES, Table, TableBody, TableCell, TableEmptyState, TableHead, TableHeader, TableRow, TableSkeleton, TableSkeletonRow, Tabs, TabsContent, TabsList, TabsTrigger, TagBadge, Text, TextLink, Textarea, ThemeSwitch, ThemeToggle, ThemeToggleCompact, TimePicker, ToggleSwitch, TouchTarget, UK_ACCENT_MAP, UK_MACRO_REGIONS, UK_MAP_CENTER, UK_NATION_COORDINATES, UK_NATION_PALETTES, US_ACCENT_MAP, US_MACRO_REGIONS, US_MAP_CENTER, US_STATE_COORDINATES, US_STATE_PALETTES, US_THEME_CONFIG, UserAvatar, UserMobileInfo, WINDSOCK_LOADER, WIRE_LOADER, WheelPicker, WindsockIcon, ZA_THEME_CONFIG, buildDockActions, buildFlyoutNavItems, buildLaunchpadItems, buttonPress, buttonPressReduced, buttonTap, cardHover, cardHoverReduced, cardPress, createMotionProps, durations, durationsReduced, easings, fadeOnly, fadeScale, filterByPermission, formatAddress, formatCurrency, formatCurrency2, formatDate, formatPercentage, getAllCountries, getArgentinaAccent, getArgentinaColors, getArgentinaFlagUrl, getArgentinaGradient, getArgentinaHexColor, getArgentinaPalette, getAustraliaAccent, getAustraliaColors, getAustraliaFlagUrl, getAustraliaGradient, getAustraliaHexColor, getAustraliaPalette, getBrazilAccent, getBrazilColors, getBrazilFlagUrl, getBrazilGradient, getBrazilHexColor, getBrazilPalette, getCanadaAccent, getCanadaColors, getCanadaFlagUrl, getCanadaGradient, getCanadaHexColor, getCanadaPalette, getChileAccent, getChileColors, getChileFlagUrl, getChileGradient, getChileHexColor, getChilePalette, getColombiaAccent, getColombiaColors, getColombiaFlagUrl, getColombiaGradient, getColombiaHexColor, getColombiaPalette, getCountryConfig, getEgyptAccent, getEgyptColors, getEgyptFlagUrl, getEgyptGradient, getEgyptHexColor, getEgyptPalette, getFranceAccent, getFranceColors, getFranceFlagUrl, getFranceGradient, getFranceHexColor, getFrancePalette, getGermanyAccent, getGermanyColors, getGermanyFlagUrl, getGermanyGradient, getGermanyHexColor, getGermanyPalette, getIndiaAccent, getIndiaColors, getIndiaFlagUrl, getIndiaGradient, getIndiaHexColor, getIndiaPalette, getIndonesiaAccent, getIndonesiaColors, getIndonesiaFlagUrl, getIndonesiaGradient, getIndonesiaHexColor, getIndonesiaPalette, getItalyAccent, getItalyColors, getItalyFlagUrl, getItalyGradient, getItalyHexColor, getItalyPalette, getJapanAccent, getJapanColors, getJapanFlagUrl, getJapanGradient, getJapanHexColor, getJapanPalette, getMexicoAccent, getMexicoColors, getMexicoFlagUrl, getMexicoGradient, getMexicoHexColor, getMexicoPalette, getNetherlandsAccent, getNetherlandsColors, getNetherlandsFlagUrl, getNetherlandsGradient, getNetherlandsHexColor, getNetherlandsPalette, getNewZealandAccent, getNewZealandColors, getNewZealandFlagUrl, getNewZealandGradient, getNewZealandHexColor, getNewZealandPalette, getNigeriaAccent, getNigeriaColors, getNigeriaFlagUrl, getNigeriaGradient, getNigeriaHexColor, getNigeriaPalette, getNorwayAccent, getNorwayColors, getNorwayFlagUrl, getNorwayGradient, getNorwayHexColor, getNorwayPalette, getPeruAccent, getPeruColors, getPeruFlagUrl, getPeruGradient, getPeruHexColor, getPeruPalette, getPhilippinesAccent, getPhilippinesColors, getPhilippinesFlagUrl, getPhilippinesGradient, getPhilippinesHexColor, getPhilippinesPalette, getPolandAccent, getPolandColors, getPolandFlagUrl, getPolandGradient, getPolandHexColor, getPolandPalette, getPortugalAccent, getPortugalColors, getPortugalFlagUrl, getPortugalGradient, getPortugalHexColor, getPortugalPalette, getSouthAfricaAccent, getSouthAfricaColors, getSouthAfricaFlagUrl, getSouthAfricaGradient, getSouthAfricaHexColor, getSouthAfricaPalette, getSouthKoreaAccent, getSouthKoreaColors, getSouthKoreaFlagUrl, getSouthKoreaGradient, getSouthKoreaHexColor, getSouthKoreaPalette, getSpainAccent, getSpainColors, getSpainFlagUrl, getSpainGradient, getSpainHexColor, getSpainPalette, getStatusColor, getSubdivisionAccent, getSubdivisionColors, getSubdivisionFlagUrl, getSubdivisionGradient, getSubdivisionHexColor, getSubdivisionPalette, getSwedenAccent, getSwedenColors, getSwedenFlagUrl, getSwedenGradient, getSwedenHexColor, getSwedenPalette, getThailandAccent, getThailandColors, getThailandFlagUrl, getThailandGradient, getThailandHexColor, getThailandPalette, getTransition, getTurkeyAccent, getTurkeyColors, getTurkeyFlagUrl, getTurkeyGradient, getTurkeyHexColor, getTurkeyPalette, getUKAccent, getUKColors, getUKFlagUrl, getUKGradient, getUKHexColor, getUKPalette, getUsAccent, getUsColors, getUsFlagUrl, getUsGradient, getUsHexColor, getUsPalette, getVariants, iosColors, isValidArgentinaProvince, isValidAustraliaState, isValidBrazilState, isValidCanadaProvince, isValidChileRegion, isValidColombiaDepartment, isValidEgyptGovernorate, isValidFranceRegion, isValidGermanyState, isValidIndiaState, isValidIndonesiaProvince, isValidItalyRegion, isValidJapanPrefecture, isValidMexicoState, isValidNetherlandsProvince, isValidNewZealandRegion, isValidNigeriaState, isValidNorwayCounty, isValidPeruDepartment, isValidPhilippinesProvince, isValidPolandVoivodeship, isValidPortugalDistrict, isValidSouthAfricaProvince, isValidSouthKoreaProvince, isValidSpainProvince, isValidSubdivision, isValidSwedenCounty, isValidThailandProvince, isValidTurkeyProvince, isValidUKNation, isValidUsState, listItem, listItemReduced, notificationBanner, notificationBannerReduced, pageControlDot, prefersReducedMotion, registerCountry, registerSubdivisionTheme, resolveGlassAccentRgb, selectIsAuthenticated, selectShowShellChrome, selectUserInitial, selectUserName, shimmerClass, shimmerWhiteClass, slideDown, slideRight, slideUp, springPresets, springPresetsReduced, staggerContainer, swipeActionThreshold, swipeConstraints, useGeoMapState, useNotifications, usePlatformShellStore, usePullToRefresh };
23035
+ //# sourceMappingURL=chunk-JODJG6CJ.mjs.map
23036
+ //# sourceMappingURL=chunk-JODJG6CJ.mjs.map