@iamfiro/design 0.3.0 → 0.3.2

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 (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +76 -76
  4. package/lib/components/ActionBar/ActionBar2.js +43 -43
  5. package/lib/components/Alert/Alert2.js +46 -46
  6. package/lib/components/AppShell/AppShell2.js +58 -58
  7. package/lib/components/AreaChart/AreaChart.js +39 -40
  8. package/lib/components/BarChart/BarChart2.js +169 -169
  9. package/lib/components/BarList/BarList2.js +99 -99
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
  11. package/lib/components/Calendar/Calendar2.js +172 -171
  12. package/lib/components/Calendar/DatePicker2.js +101 -102
  13. package/lib/components/Calendar/date.js +71 -71
  14. package/lib/components/Card/Card2.js +55 -56
  15. package/lib/components/CardFrame/CardFrame2.js +52 -52
  16. package/lib/components/Chart/ChartParts.js +90 -90
  17. package/lib/components/Chart/chart2.js +52 -52
  18. package/lib/components/Chart/useChartInteraction.js +44 -44
  19. package/lib/components/ChatBubble/ChatBubble2.js +112 -112
  20. package/lib/components/ChatBubble/formatChatTime.js +44 -42
  21. package/lib/components/ChatComposer/ChatComposer2.js +94 -94
  22. package/lib/components/CodeBlock/CodeBlock2.js +66 -66
  23. package/lib/components/CodeBlock/highlight.js +67 -70
  24. package/lib/components/ColorPicker/ColorPicker2.js +404 -405
  25. package/lib/components/ColorPicker/color.js +81 -81
  26. package/lib/components/ColorPicker/presets.js +44 -43
  27. package/lib/components/Combobox/Combobox2.js +128 -128
  28. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  29. package/lib/components/Comment/Comment2.js +55 -80
  30. package/lib/components/ContextMenu/ContextMenu2.js +93 -94
  31. package/lib/components/DataGrid/DataGrid2.js +1181 -1180
  32. package/lib/components/DataGrid/GridPopover.js +112 -112
  33. package/lib/components/DataGrid/anchor.js +23 -25
  34. package/lib/components/DataGrid/model.js +274 -275
  35. package/lib/components/DataGrid/panels.js +423 -423
  36. package/lib/components/DataGrid/typeMeta.js +21 -22
  37. package/lib/components/DataGrid/types.js +38 -37
  38. package/lib/components/DescriptionList/DescriptionList2.js +107 -107
  39. package/lib/components/Dialog/AlertDialog.js +53 -53
  40. package/lib/components/Dialog/Dialog2.js +71 -70
  41. package/lib/components/Dialog/modal.js +59 -58
  42. package/lib/components/Drawer/Drawer2.js +123 -124
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
  44. package/lib/components/DropdownMenu/menuCore.js +46 -47
  45. package/lib/components/Dropzone/Dropzone2.js +77 -77
  46. package/lib/components/EmptyState/EmptyState2.js +57 -56
  47. package/lib/components/FileChip/FileChip2.js +71 -71
  48. package/lib/components/FileUpload/FileUpload.js +119 -119
  49. package/lib/components/FilterChips/FilterChips2.js +61 -61
  50. package/lib/components/FunnelChart/FunnelChart2.js +141 -141
  51. package/lib/components/FunnelChart/funnel.js +51 -51
  52. package/lib/components/Highlight/Highlight2.js +54 -54
  53. package/lib/components/HoverCard/HoverCard.js +108 -83
  54. package/lib/components/InlineDiff/InlineDiff2.js +126 -126
  55. package/lib/components/InlineDiff/diff.js +82 -82
  56. package/lib/components/InlineDiff/useDiffReview.js +62 -60
  57. package/lib/components/Kanban/Kanban2.js +382 -382
  58. package/lib/components/Kanban/KanbanCard.js +92 -92
  59. package/lib/components/Kanban/move.js +45 -49
  60. package/lib/components/LineChart/LineChart2.js +207 -207
  61. package/lib/components/List/List2.js +71 -71
  62. package/lib/components/Listbox/Listbox2.js +115 -115
  63. package/lib/components/Marker/Marker2.js +67 -60
  64. package/lib/components/Menubar/Menubar2.js +130 -133
  65. package/lib/components/MultiSelect/MultiSelect2.js +104 -104
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
  67. package/lib/components/NoticeStack/NoticeStack2.js +105 -105
  68. package/lib/components/NumberStepper/NumberStepper2.js +67 -67
  69. package/lib/components/OtpInput/OtpInput2.js +66 -67
  70. package/lib/components/Pagination/Pagination2.js +90 -90
  71. package/lib/components/Pagination/paginationRange.js +24 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +74 -74
  73. package/lib/components/PieChart/PieChart2.js +119 -119
  74. package/lib/components/PieChart/arc.js +63 -42
  75. package/lib/components/PieChart/useArcTween.js +56 -54
  76. package/lib/components/Popover/Popover2.js +61 -61
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
  78. package/lib/components/Rating/Rating2.js +81 -81
  79. package/lib/components/Resizable/Resizable2.js +112 -110
  80. package/lib/components/Resizable/layout.js +50 -50
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
  82. package/lib/components/ScatterChart/ScatterChart2.js +226 -227
  83. package/lib/components/ScatterChart/scatter.js +59 -57
  84. package/lib/components/ScrollArea/ScrollArea2.js +112 -112
  85. package/lib/components/Select/Select2.js +79 -79
  86. package/lib/components/Sidebar/Sidebar2.js +79 -79
  87. package/lib/components/Skeleton/Skeleton2.js +68 -68
  88. package/lib/components/Slider/Slider2.js +78 -77
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
  90. package/lib/components/SparkChart/SparkChart2.js +146 -145
  91. package/lib/components/SparkChart/spark.js +41 -67
  92. package/lib/components/Sparkbar/Sparkbar2.js +61 -60
  93. package/lib/components/SplitView/SplitView2.js +53 -53
  94. package/lib/components/Stat/Stat2.js +94 -94
  95. package/lib/components/StepList/StepList2.js +70 -70
  96. package/lib/components/Table/Table2.js +63 -63
  97. package/lib/components/Tabs/Tabs2.js +70 -70
  98. package/lib/components/TagInput/TagInput2.js +236 -239
  99. package/lib/components/TimePicker/TimePicker2.js +231 -232
  100. package/lib/components/TimePicker/time.js +63 -65
  101. package/lib/components/Timeline/Timeline2.js +167 -167
  102. package/lib/components/Timeline/scale.js +55 -55
  103. package/lib/components/Toast/Toaster.js +151 -152
  104. package/lib/components/Toast/store.js +90 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
  106. package/lib/components/Toolbar/Toolbar2.js +145 -145
  107. package/lib/components/Tracker/Tracker2.js +76 -76
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
  109. package/lib/components/TreeView/TreeView2.js +124 -124
  110. package/lib/hooks/timing.js +30 -29
  111. package/lib/hooks/useControllableState.js +37 -36
  112. package/lib/hooks/useCountdown.js +56 -59
  113. package/lib/hooks/useDigitInput.js +52 -78
  114. package/lib/hooks/useDismiss.js +58 -57
  115. package/lib/hooks/useElapsed.js +54 -54
  116. package/lib/hooks/useFloating.js +26 -26
  117. package/lib/hooks/useFocusTrap.js +42 -42
  118. package/lib/hooks/usePresence.js +49 -48
  119. package/lib/hooks/usePressToOpen.js +42 -41
  120. package/lib/hooks/useScrollLock.js +45 -44
  121. package/lib/hooks/useSelection.js +45 -39
  122. package/lib/index.js +71 -71
  123. package/lib/primitives/AspectRatio2.js +60 -60
  124. package/lib/primitives/BrandIcon.js +161 -161
  125. package/lib/primitives/ColorDot2.js +42 -45
  126. package/lib/primitives/CopyButton2.js +57 -56
  127. package/lib/primitives/CountBadge2.js +55 -51
  128. package/lib/primitives/Countdown2.js +41 -46
  129. package/lib/primitives/Delta2.js +36 -36
  130. package/lib/primitives/Elapsed.js +49 -49
  131. package/lib/primitives/FileIcon2.js +96 -96
  132. package/lib/primitives/Flag2.js +135 -135
  133. package/lib/primitives/IconStack2.js +38 -60
  134. package/lib/primitives/IconTile2.js +28 -29
  135. package/lib/primitives/Kbd2.js +50 -50
  136. package/lib/primitives/Layout2.js +71 -71
  137. package/lib/primitives/Link2.js +32 -31
  138. package/lib/primitives/MaskedText2.js +49 -74
  139. package/lib/primitives/Progress2.js +65 -66
  140. package/lib/primitives/RelativeTime.js +58 -57
  141. package/lib/primitives/SearchInput2.js +65 -65
  142. package/lib/primitives/SelectorButton2.js +74 -73
  143. package/lib/primitives/Spinner2.js +50 -50
  144. package/lib/primitives/StatusIcon2.js +68 -68
  145. package/lib/primitives/Swatch2.js +59 -55
  146. package/lib/primitives/Tooltip2.js +81 -81
  147. package/lib/primitives/Typography2.js +53 -53
  148. package/lib/primitives/formatCountdown.js +21 -22
  149. package/lib/primitives/formatElapsed.js +43 -42
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +82 -82
  152. package/lib/primitives/index.js +193 -174
  153. package/lib/primitives/maskValue.js +28 -28
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,125 +1,125 @@
1
1
  "use client";
2
- const e = t;
2
+ function e() {
3
+ let t = /* @__PURE__ */ "mtC5nZq2ofjovhrdDW.nte3mteYmhvUDKrPua.BM9Uzq.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.ms41.zhmTzMLSzs1Py29Ux19WywDL.C3zN.y29Kzq.DMfYkc0TzMLSzs0.DMLKzw8.B3rOzxi.ChjLC2vUDgf0Aw9U.zMLSDgvY.C2HLzxq.C2XPy2u.oePvtMDpuG.zhmTzMLSzs1Py29Ux19MB2XK.mJe3EuHJtNvU.BgfZDeLUzgv4t2y.Aw5JBhvKzxm.mtm4nZeWBxzjC0T1.mcaWidi0idi0.odqZndjNvvzksM0.ns41.mtmUmJu.ndmWotm0AfPjDwXN.CgrM.C2XPzgu.AM9PBG.Aw1Hz2u.yxjJAgL2zq.mJiYoti0m0Hhr29mzq.zg9J.mtKXodqWodvprgPiAg8.yxvKAw8".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ function t(n, r) {
9
+ n -= 231;
10
+ let i = e(), a = i[n];
11
+ t.hmoQWP === void 0 && (t.JitKNk = function(e) {
12
+ let t = "", n = "";
13
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
14
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
15
+ return decodeURIComponent(n);
16
+ }, t.ZCYGLp = {}, t.hmoQWP = !0);
17
+ let o = i[0];
18
+ t.kOwzqV !== o && (t.ZCYGLp = {}, t.kOwzqV = o);
19
+ let s = t.ZCYGLp[n];
20
+ return s === void 0 ? (a = t.JitKNk(a), t.ZCYGLp[n] = a) : a = s, a;
21
+ }
22
+ const n = t;
3
23
  (function(e, n) {
4
24
  let r = t, i = e();
5
25
  for (;;) try {
6
- if (-parseInt(r(234)) / 1 * (parseInt(r(260)) / 2) + -parseInt(r(241)) / 3 * (parseInt(r(227)) / 4) + parseInt(r(252)) / 5 * (-parseInt(r(263)) / 6) + -parseInt(r(255)) / 7 + parseInt(r(259)) / 8 * (-parseInt(r(237)) / 9) + parseInt(r(232)) / 10 * (parseInt(r(256)) / 11) + -parseInt(r(247)) / 12 * (-parseInt(r(249)) / 13) == n) break;
26
+ if (-parseInt(r(260)) / 1 + -parseInt(r(265)) / 2 + parseInt(r(236)) / 3 + -parseInt(r(240)) / 4 + -parseInt(r(241)) / 5 + parseInt(r(262)) / 6 * (-parseInt(r(257)) / 7) + parseInt(r(255)) / 8 * (parseInt(r(238)) / 9) == n) break;
7
27
  i.push(i.shift());
8
28
  } catch {
9
29
  i.push(i.shift());
10
30
  }
11
- })(s, 869323);
12
- function t(e, n) {
13
- e -= 224;
14
- let r = s(), i = r[e];
15
- t.MtkZTK === void 0 && (t.zwgGiR = function(e) {
16
- let t = "", n = "";
17
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
18
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
- return decodeURIComponent(n);
20
- }, t.pudCYf = {}, t.MtkZTK = !0);
21
- let a = r[0];
22
- t.sNEVnX !== a && (t.pudCYf = {}, t.sNEVnX = a);
23
- let o = t.pudCYf[e];
24
- return o === void 0 ? (i = t.zwgGiR(i), t.pudCYf[e] = i) : i = o, i;
25
- }
31
+ })(e, 601111);
26
32
  /* empty css */
27
- import { jsx as n, jsxs as r } from "react/jsx-runtime";
28
- var i = {
29
- pdf: e(238),
30
- png: e(258),
31
- jpg: e(258),
32
- jpeg: e(258),
33
- gif: e(258),
34
- webp: e(258),
35
- svg: e(258),
36
- heic: e(258),
37
- avif: e(258),
38
- xls: e(245),
39
- xlsx: e(245),
40
- csv: e(245),
41
- tsv: e(245),
42
- numbers: e(245),
43
- doc: e(244),
44
- docx: "doc",
45
- txt: e(244),
46
- md: "doc",
33
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
34
+ var a = {
35
+ pdf: n(231),
36
+ png: n(234),
37
+ jpg: n(234),
38
+ jpeg: n(234),
39
+ gif: n(234),
40
+ webp: n(234),
41
+ svg: n(234),
42
+ heic: n(234),
43
+ avif: n(234),
44
+ xls: n(253),
45
+ xlsx: n(253),
46
+ csv: "sheet",
47
+ tsv: n(253),
48
+ numbers: "sheet",
49
+ doc: n(237),
50
+ docx: n(237),
51
+ txt: n(237),
52
+ md: n(237),
47
53
  rtf: "doc",
48
- hwp: e(244),
49
- hwpx: "doc",
50
- pages: e(244),
51
- ppt: "slide",
52
- pptx: "slide",
53
- key: e(229),
54
- mp4: "video",
55
- mov: e(253),
56
- webm: e(253),
57
- avi: e(253),
54
+ hwp: n(237),
55
+ hwpx: n(237),
56
+ pages: n(237),
57
+ ppt: n(232),
58
+ pptx: n(232),
59
+ key: "slide",
60
+ mp4: n(249),
61
+ mov: n(249),
62
+ webm: n(249),
63
+ avi: "video",
58
64
  mkv: "video",
59
- mp3: e(226),
60
- wav: e(226),
61
- m4a: e(226),
62
- aac: e(226),
63
- flac: e(226),
64
- zip: e(228),
65
- rar: e(228),
66
- "7z": e(228),
67
- tar: e(228),
68
- gz: e(228),
69
- js: "code",
70
- ts: e(243),
71
- tsx: e(243),
72
- json: e(243),
73
- html: e(243),
74
- css: e(243),
75
- py: e(243)
65
+ mp3: n(239),
66
+ wav: "audio",
67
+ m4a: "audio",
68
+ aac: n(239),
69
+ flac: n(239),
70
+ zip: n(235),
71
+ rar: n(235),
72
+ "7z": "archive",
73
+ tar: n(235),
74
+ gz: n(235),
75
+ js: n(247),
76
+ ts: "code",
77
+ tsx: n(247),
78
+ json: n(247),
79
+ html: n(247),
80
+ css: n(247),
81
+ py: n(247)
76
82
  };
77
- function a(t) {
78
- let n = e, r = t[n(242)]();
79
- if (r.includes("/")) {
80
- let [e, t] = r[n(230)]("/");
81
- return e === n(258) || e === n(253) || e === "audio" ? e : i[t] ?? (t.includes(n(245)) ? "sheet" : t[n(248)]("presentation") ? n(229) : n(262));
83
+ function o(e) {
84
+ let t = n, r = e.toLowerCase();
85
+ if (r[t(259)]("/")) {
86
+ let [e, n] = r.split("/");
87
+ return e === t(234) || e === "video" || e === t(239) ? e : a[n] ?? (n[t(259)](t(253)) ? t(253) : n[t(259)](t(251)) ? t(232) : "other");
82
88
  }
83
- return i[r[n(251)](r.lastIndexOf(".") + 1)] ?? n(262);
89
+ return a[r[t(254)](r[t(258)](".") + 1)] ?? t(250);
84
90
  }
85
- function o({ name: t = "", kind: i, size: o = 20, className: s, style: c }) {
86
- let l = e, u = i ?? a(t);
87
- return r(l(224), {
88
- className: [l(235), s][l(225)](Boolean)[l(257)](" "),
91
+ function s({ name: e = "", kind: t, size: a = 20, className: s, style: c }) {
92
+ let l = n, u = t ?? o(e);
93
+ return i(l(246), {
94
+ className: ["ds-file-icon", s][l(252)](Boolean)[l(233)](" "),
89
95
  style: {
90
- "--_c": "var(--file-" + u + ")",
96
+ "--_c": l(248) + u + ")",
91
97
  ...c
92
98
  },
93
99
  "data-kind": u,
94
- width: o,
95
- height: o,
96
- viewBox: l(246),
97
- fill: l(233),
100
+ width: a,
101
+ height: a,
102
+ viewBox: l(261),
103
+ fill: l(242),
98
104
  "aria-hidden": !0,
99
105
  children: [
100
- n(l(239), {
101
- className: l(236),
102
- d: l(231)
106
+ r("path", {
107
+ className: l(245),
108
+ d: l(243)
103
109
  }),
104
- n(l(239), {
105
- className: "ds-file-icon__fold",
106
- d: l(254)
110
+ r("path", {
111
+ className: l(256),
112
+ d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
107
113
  }),
108
- n(l(261), {
114
+ r("rect", {
109
115
  className: "ds-file-icon__tab",
110
116
  x: "3",
111
- y: l(250),
117
+ y: l(264),
112
118
  width: "11",
113
- height: l(240),
114
- rx: "1.5"
119
+ height: l(263),
120
+ rx: l(244)
115
121
  })
116
122
  ]
117
123
  });
118
124
  }
119
- function s() {
120
- let e = /* @__PURE__ */ "B3rOzxi.mtHTAwfytNu.C3zN.zMLSDgvY.yxvKAw8.mJi0v1b5ywfU.yxjJAgL2zq.C2XPzgu.C3bSAxq.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.odGXmffMuxbNqq.BM9Uzq.mJa5sw5mzwjs.zhmTzMLSzs1Py29U.zhmTzMLSzs1Py29Ux19WywDL.mte5ndqZmdvwyM9KAey.CgrM.Cgf0Aa.ns41.mtGWAwTftMHy.Dg9mB3DLCKnHC2u.y29Kzq.zg9J.C2HLzxq.mcaWidi0idi0.odC3mNv3DKTjvG.Aw5JBhvKzxm.nZGWotfqs2Tzy0u.mtmUmJu.C2XPy2u.mJm2nZCZmhzrv2j1rG.DMLKzw8.tteZlJuGmI43nxyZlJvHmsaXidaGmcaWideGmwGZlJC1.mteZota3nJrMuwrLA3m.mte0nZnQu1PjsMu.AM9PBG.Aw1Hz2u.oeHVsxPKDq.ntK2EMryD1vU.CMvJDa".split(".");
121
- return s = function() {
122
- return e;
123
- }, s();
124
- }
125
- export { o as FileIcon, a as fileKind };
125
+ export { s as FileIcon, o as fileKind };
@@ -1,32 +1,52 @@
1
1
  "use client";
2
- const e = c;
2
+ const e = i;
3
3
  (function(e, t) {
4
- let n = c, r = e();
4
+ let n = i, r = e();
5
5
  for (;;) try {
6
- if (parseInt(n(513)) / 1 + parseInt(n(495)) / 2 + -parseInt(n(485)) / 3 * (parseInt(n(484)) / 4) + -parseInt(n(474)) / 5 * (parseInt(n(480)) / 6) + -parseInt(n(503)) / 7 * (parseInt(n(491)) / 8) + -parseInt(n(494)) / 9 + -parseInt(n(509)) / 10 * (parseInt(n(488)) / 11) == t) break;
6
+ if (-parseInt(n(167)) / 1 * (-parseInt(n(156)) / 2) + -parseInt(n(157)) / 3 + -parseInt(n(168)) / 4 * (parseInt(n(184)) / 5) + parseInt(n(179)) / 6 + -parseInt(n(154)) / 7 * (parseInt(n(160)) / 8) + -parseInt(n(169)) / 9 * (-parseInt(n(163)) / 10) + parseInt(n(188)) / 11 * (parseInt(n(180)) / 12) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(f, 384628);
11
+ })(a, 506336);
12
12
  /* empty css */
13
13
  import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
14
- var i = 36, a = 24;
15
- function o(e, t, r, i = 0) {
16
- let a = c, o = Array[a(505)]({ length: 10 }, (n, o) => {
17
- let s = a, c = (i + o * 36) * Math.PI / 180, l = o % 2 ? r * .382 : r;
18
- return (e + l * Math[s(506)](c))[s(477)](2) + "," + (t - l * Math.cos(c)).toFixed(2);
14
+ function i(e, t) {
15
+ e -= 151;
16
+ let n = a(), r = n[e];
17
+ i.xwAUMs === void 0 && (i.qkZMQm = function(e) {
18
+ let t = "", n = "";
19
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
20
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
+ return decodeURIComponent(n);
22
+ }, i.YrFFcZ = {}, i.xwAUMs = !0);
23
+ let o = n[0];
24
+ i.CqFraN !== o && (i.YrFFcZ = {}, i.CqFraN = o);
25
+ let s = i.YrFFcZ[e];
26
+ return s === void 0 ? (r = i.qkZMQm(r), i.YrFFcZ[e] = r) : r = s, r;
27
+ }
28
+ function a() {
29
+ let e = /* @__PURE__ */ "odqZmJH0wefdD1G.i2rKmdaWma.iZaWmJy1na.mJuWrvzJEvPX.tte4idbwmJrnmcaXmKGZnG.DhjHBNnSyxrLka.y2LYy2XL.mJqXAezMtePc.mJbyCgTUCfC.mtm2nJGZBgzgCgDk.ide4ideYkq.i2zMzG.i2jJmdaYza.i2zMy2qWma.Dg9gAxHLza.iZaWndDHma.i2rHmJuXza.zNjVBq.iZaWma.mZKXmZa2mMrHBwTKva.ndm4nZjSDxLWDfe.BwfW.tteYideYytyGnIaWidaGmcaXmIaWEG.i2rLmJKXma.mZyWnZu1yxjVuMHq.y29Z.mcaWia.zMXVB3i.mte2nMfMsNHdsa.ttaGmeWZnIaYne0ZnIaWtdaGmJq.iZaXmJe2oq.i2nLmteYnG.C3bHBG.Cgf0Aa.C3zN.i2zMzguWma.CMvJDa.zhmTzMXHzW.Aw1N.i2iYmJiZna.i2m4mtaYzq.mJq1q3LJC2zz.yxrHBJi.mJe3mLnRDLvksG.mtmZnti2nfDctevPra.i2nKmMuZyq.AM9PBG".split(".");
30
+ return a = function() {
31
+ return e;
32
+ }, a();
33
+ }
34
+ var o = 36, s = 24;
35
+ function c(e, t, r, a = 0) {
36
+ let o = i, s = Array[o(177)]({ length: 10 }, (n, i) => {
37
+ let s = o, c = (a + i * 36) * Math.PI / 180, l = i % 2 ? r * .382 : r;
38
+ return (e + l * Math.sin(c))[s(174)](2) + "," + (t - l * Math[s(185)](c))[s(174)](2);
19
39
  });
20
- return n(a(496), { points: o[a(502)](" ") });
40
+ return n("polygon", { points: s[o(159)](" ") });
21
41
  }
22
- function s(e, t, i, a) {
23
- let o = c;
42
+ function l(e, t, a, o) {
43
+ let s = i;
24
44
  return n("g", {
25
- transform: "translate(" + e + " " + t + o(508) + i + ")",
26
- fill: "#000",
27
- children: a[o(500)]((e, t) => {
28
- let i = o, a = -2.4 + t * 1.8;
29
- return e ? r("g", { children: [n(i(489), {
45
+ transform: s(165) + e + " " + t + ") rotate(" + a + ")",
46
+ fill: s(178),
47
+ children: o[s(181)]((e, t) => {
48
+ let i = s, a = -2.4 + t * 1.8;
49
+ return e ? r("g", { children: [n("rect", {
30
50
  x: a,
31
51
  y: -3.4,
32
52
  width: 1.2,
@@ -36,7 +56,7 @@ function s(e, t, i, a) {
36
56
  y: .4,
37
57
  width: 1.2,
38
58
  height: 3
39
- })] }, t) : n(i(489), {
59
+ })] }, t) : n(i(196), {
40
60
  x: a,
41
61
  y: -3.4,
42
62
  width: 1.2,
@@ -45,219 +65,199 @@ function s(e, t, i, a) {
45
65
  })
46
66
  });
47
67
  }
48
- function c(e, t) {
49
- e -= 472;
50
- let n = f(), r = n[e];
51
- c.FgHMEU === void 0 && (c.IUmihC = function(e) {
52
- let t = "", n = "";
53
- for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
54
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
55
- return decodeURIComponent(n);
56
- }, c.DLhNYj = {}, c.FgHMEU = !0);
57
- let i = n[0];
58
- c.YxYMjz !== i && (c.DLhNYj = {}, c.YxYMjz = i);
59
- let a = c.DLhNYj[e];
60
- return a === void 0 ? (r = c.IUmihC(r), c.DLhNYj[e] = r) : r = a, r;
61
- }
62
- var l = Math[e(479)](a, i) * 180 / Math.PI, u = {
68
+ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
63
69
  KR: r(t, { children: [
64
- n(e(489), {
65
- width: i,
66
- height: a,
67
- fill: "#fff"
70
+ n("rect", {
71
+ width: o,
72
+ height: s,
73
+ fill: e(171)
68
74
  }),
69
75
  r("g", {
70
- transform: e(511) + l + " 18 12)",
76
+ transform: "rotate(" + u + e(170),
71
77
  children: [
72
- n(e(507), {
73
- d: e(490),
74
- fill: e(487)
78
+ n(e(193), {
79
+ d: "M12 12a6 6 0 0 1 12 0z",
80
+ fill: e(158)
75
81
  }),
76
- n(e(507), {
77
- d: e(499),
78
- fill: "#0047a0"
82
+ n("path", {
83
+ d: e(182),
84
+ fill: e(175)
79
85
  }),
80
- n(e(510), {
86
+ n(e(166), {
81
87
  cx: 15,
82
88
  cy: 12,
83
89
  r: 3,
84
90
  fill: "#cd2e3a"
85
91
  }),
86
- n(e(510), {
92
+ n(e(166), {
87
93
  cx: 21,
88
94
  cy: 12,
89
95
  r: 3,
90
- fill: e(486)
96
+ fill: e(175)
91
97
  })
92
98
  ]
93
99
  }),
94
- s(8.6, 5.7, l, [
100
+ l(8.6, 5.7, u, [
95
101
  !1,
96
102
  !1,
97
103
  !1
98
104
  ]),
99
- s(27.4, 18.3, l, [
105
+ l(27.4, 18.3, u, [
100
106
  !0,
101
107
  !0,
102
108
  !0
103
109
  ]),
104
- s(27.4, 5.7, -l, [
110
+ l(27.4, 5.7, -u, [
105
111
  !0,
106
112
  !1,
107
113
  !0
108
114
  ]),
109
- s(8.6, 18.3, -l, [
115
+ l(8.6, 18.3, -u, [
110
116
  !1,
111
117
  !0,
112
118
  !1
113
119
  ])
114
120
  ] }),
115
121
  US: r(t, { children: [
116
- n(e(489), {
117
- width: i,
118
- height: a,
119
- fill: e(473)
122
+ n(e(196), {
123
+ width: o,
124
+ height: s,
125
+ fill: "#fff"
120
126
  }),
121
- Array.from({ length: 7 }, (t, r) => n("rect", {
122
- y: r * 2 * a / 13,
123
- width: i,
124
- height: a / 13,
125
- fill: e(483)
127
+ Array[e(177)]({ length: 7 }, (t, r) => n(e(196), {
128
+ y: r * 2 * s / 13,
129
+ width: o,
130
+ height: s / 13,
131
+ fill: e(152)
126
132
  }, r)),
127
- n(e(489), {
133
+ n(e(196), {
128
134
  width: 14.4,
129
135
  height: 168 / 13,
130
136
  fill: "#3c3b6e"
131
137
  }),
132
138
  n("g", {
133
- fill: e(473),
134
- children: Array.from({ length: 12 }, (t, r) => n(e(510), {
139
+ fill: e(171),
140
+ children: Array[e(177)]({ length: 12 }, (t, r) => n(e(166), {
135
141
  cx: 2 + r % 4 * 3.4,
136
- cy: 1.9 + Math[e(501)](r / 4) * 3.4,
142
+ cy: 1.9 + Math[e(187)](r / 4) * 3.4,
137
143
  r: .6
138
144
  }, r))
139
145
  })
140
146
  ] }),
141
- JP: r(t, { children: [n(e(489), {
142
- width: i,
143
- height: a,
144
- fill: e(473)
145
- }), n("circle", {
147
+ JP: r(t, { children: [n("rect", {
148
+ width: o,
149
+ height: s,
150
+ fill: e(171)
151
+ }), n(e(166), {
146
152
  cx: 18,
147
153
  cy: 12,
148
154
  r: 7.2,
149
- fill: "#bc002d"
155
+ fill: e(172)
150
156
  })] }),
151
- CN: r(t, { children: [n(e(489), {
152
- width: i,
153
- height: a,
154
- fill: e(472)
157
+ CN: r(t, { children: [n(e(196), {
158
+ width: o,
159
+ height: s,
160
+ fill: e(183)
155
161
  }), r("g", {
156
- fill: "#ffde00",
162
+ fill: e(195),
157
163
  children: [
158
- o(6, 6, 3.6),
159
- o(12, 2.4, 1.2, 23),
160
- o(14.4, 4.8, 1.2, 46),
161
- o(14.4, 8.4, 1.2, 70),
162
- o(12, 10.8, 1.2, 21)
164
+ c(6, 6, 3.6),
165
+ c(12, 2.4, 1.2, 23),
166
+ c(14.4, 4.8, 1.2, 46),
167
+ c(14.4, 8.4, 1.2, 70),
168
+ c(12, 10.8, 1.2, 21)
163
169
  ]
164
170
  })] }),
165
- VN: r(t, { children: [n(e(489), {
166
- width: i,
167
- height: a,
168
- fill: e(481)
171
+ VN: r(t, { children: [n(e(196), {
172
+ width: o,
173
+ height: s,
174
+ fill: e(176)
169
175
  }), n("g", {
170
- fill: "#ffcd00",
171
- children: o(18, 12.6, 7.2)
176
+ fill: e(173),
177
+ children: c(18, 12.6, 7.2)
172
178
  })] }),
173
179
  GB: r(t, { children: [
174
- n("rect", {
175
- width: i,
176
- height: a,
177
- fill: e(475)
180
+ n(e(196), {
181
+ width: o,
182
+ height: s,
183
+ fill: e(190)
178
184
  }),
179
- n(e(507), {
180
- d: e(512),
181
- stroke: e(473),
185
+ n(e(193), {
186
+ d: e(189),
187
+ stroke: e(171),
182
188
  strokeWidth: 4.8
183
189
  }),
184
- n("path", {
185
- d: e(512),
186
- stroke: e(492),
190
+ n(e(193), {
191
+ d: e(189),
192
+ stroke: "#c8102e",
187
193
  strokeWidth: 1.6
188
194
  }),
189
- n(e(507), {
190
- d: e(478),
191
- stroke: e(473),
195
+ n("path", {
196
+ d: e(164),
197
+ stroke: "#fff",
192
198
  strokeWidth: 8
193
199
  }),
194
- n("path", {
195
- d: "M18 0V24M0 12H36",
196
- stroke: e(492),
200
+ n(e(193), {
201
+ d: e(164),
202
+ stroke: e(153),
197
203
  strokeWidth: 4.8
198
204
  })
199
205
  ] }),
200
206
  DE: r(t, { children: [
201
- n(e(489), {
202
- width: i,
207
+ n(e(196), {
208
+ width: o,
203
209
  height: 8,
204
- fill: e(476)
210
+ fill: e(178)
205
211
  }),
206
- n("rect", {
212
+ n(e(196), {
207
213
  y: 8,
208
- width: i,
214
+ width: o,
209
215
  height: 8,
210
- fill: "#dd0000"
216
+ fill: e(161)
211
217
  }),
212
- n(e(489), {
218
+ n(e(196), {
213
219
  y: 16,
214
- width: i,
220
+ width: o,
215
221
  height: 8,
216
222
  fill: "#ffce00"
217
223
  })
218
224
  ] }),
219
225
  FR: r(t, { children: [
220
- n(e(489), {
226
+ n(e(196), {
221
227
  width: 12,
222
- height: a,
223
- fill: e(504)
228
+ height: s,
229
+ fill: e(162)
224
230
  }),
225
- n(e(489), {
231
+ n("rect", {
226
232
  x: 12,
227
233
  width: 12,
228
- height: a,
229
- fill: e(473)
234
+ height: s,
235
+ fill: e(171)
230
236
  }),
231
- n("rect", {
237
+ n(e(196), {
232
238
  x: 24,
233
239
  width: 12,
234
- height: a,
235
- fill: e(497)
240
+ height: s,
241
+ fill: e(191)
236
242
  })
237
243
  ] })
238
244
  };
239
- function d({ code: t, size: r = 20, label: o, className: s, style: c }) {
245
+ function f({ code: t, size: r = 20, label: i, className: a, style: c }) {
240
246
  let l = e;
241
- return n("span", {
242
- className: [l(482), s].filter(Boolean)[l(502)](" "),
247
+ return n(l(192), {
248
+ className: [l(197), a].filter(Boolean).join(" "),
243
249
  style: {
244
250
  "--_w": r + "px",
245
251
  ...c
246
252
  },
247
- role: o ? l(493) : void 0,
248
- "aria-label": o,
249
- "aria-hidden": !o || void 0,
250
- children: n(l(498), {
251
- viewBox: "0 0 " + i + " " + a,
253
+ role: i ? l(151) : void 0,
254
+ "aria-label": i,
255
+ "aria-hidden": !i || void 0,
256
+ children: n(l(194), {
257
+ viewBox: l(186) + o + " " + s,
252
258
  preserveAspectRatio: "none",
253
- children: u[t]
259
+ children: d[t]
254
260
  })
255
261
  });
256
262
  }
257
- export { d as Flag };
258
- function f() {
259
- let e = /* @__PURE__ */ "Aw1N.mtC5mZC1ngPhEvrOAq.mtq4mdm5nfnPzwzHsa.Cg9SEwDVBG.i2nLmteYnG.C3zN.tteYideYytyGnIaWidaGmcaXmIaWEG.BwfW.zMXVB3i.AM9PBG.mJu0mtGWnwPnD1nJrG.iZaWmJy1na.zNjVBq.C2LU.Cgf0Aa.ksbYB3rHDguO.mtbAyxfIDeC.y2LYy2XL.CM90yxrLka.ttaGmeWZnIaYne0ZnIaWtdaGmJq.ndK1nZC3yK5dDhnP.i2rLmJKXma.i2zMzG.mZGWuffWEw11.iZaXmJe2oq.iZaWma.Dg9gAxHLza.tte4idbwmJrnmcaXmKGZnG.yxrHBJi.mZmZmfLOswnvtW.i2rHmJuXza.zhmTzMXHzW.i2iYmJiZna.mte5mZjSu25dANy.mJe5r05guur6.iZaWndDHma.i2nKmMuZyq.mZe4odq2sM9Irvrs.CMvJDa.tteYideYytyGnIaWidaGmsaXmIaWEG.ogXxz3fyua.i2m4mtaYzq".split(".");
260
- return f = function() {
261
- return e;
262
- }, f();
263
- }
263
+ export { f as Flag };