@iamfiro/design 0.3.1 → 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 +81 -81
  4. package/lib/components/ActionBar/ActionBar2.js +38 -39
  5. package/lib/components/Alert/Alert2.js +79 -79
  6. package/lib/components/AppShell/AppShell2.js +45 -45
  7. package/lib/components/AreaChart/AreaChart.js +45 -46
  8. package/lib/components/BarChart/BarChart2.js +166 -166
  9. package/lib/components/BarList/BarList2.js +83 -83
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -72
  11. package/lib/components/Calendar/Calendar2.js +166 -165
  12. package/lib/components/Calendar/DatePicker2.js +139 -139
  13. package/lib/components/Calendar/date.js +61 -58
  14. package/lib/components/Card/Card2.js +47 -47
  15. package/lib/components/CardFrame/CardFrame2.js +50 -45
  16. package/lib/components/Chart/ChartParts.js +78 -78
  17. package/lib/components/Chart/chart2.js +62 -62
  18. package/lib/components/Chart/useChartInteraction.js +56 -56
  19. package/lib/components/ChatBubble/ChatBubble2.js +116 -116
  20. package/lib/components/ChatBubble/formatChatTime.js +46 -39
  21. package/lib/components/ChatComposer/ChatComposer2.js +43 -43
  22. package/lib/components/CodeBlock/CodeBlock2.js +57 -57
  23. package/lib/components/CodeBlock/highlight.js +74 -74
  24. package/lib/components/ColorPicker/ColorPicker2.js +357 -357
  25. package/lib/components/ColorPicker/color.js +83 -83
  26. package/lib/components/ColorPicker/presets.js +47 -41
  27. package/lib/components/Combobox/Combobox2.js +143 -142
  28. package/lib/components/CommandMenu/CommandMenu.js +100 -100
  29. package/lib/components/Comment/Comment2.js +59 -60
  30. package/lib/components/ContextMenu/ContextMenu2.js +95 -96
  31. package/lib/components/DataGrid/DataGrid2.js +1202 -1203
  32. package/lib/components/DataGrid/GridPopover.js +87 -87
  33. package/lib/components/DataGrid/anchor.js +17 -19
  34. package/lib/components/DataGrid/model.js +261 -261
  35. package/lib/components/DataGrid/panels.js +397 -395
  36. package/lib/components/DataGrid/typeMeta.js +51 -51
  37. package/lib/components/DataGrid/types.js +38 -36
  38. package/lib/components/DescriptionList/DescriptionList2.js +74 -74
  39. package/lib/components/Dialog/AlertDialog.js +81 -82
  40. package/lib/components/Dialog/Dialog2.js +63 -63
  41. package/lib/components/Dialog/modal.js +70 -69
  42. package/lib/components/Drawer/Drawer2.js +122 -123
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +257 -258
  44. package/lib/components/DropdownMenu/menuCore.js +43 -44
  45. package/lib/components/Dropzone/Dropzone2.js +76 -77
  46. package/lib/components/EmptyState/EmptyState2.js +59 -56
  47. package/lib/components/FileChip/FileChip2.js +73 -49
  48. package/lib/components/FileUpload/FileUpload.js +149 -150
  49. package/lib/components/FilterChips/FilterChips2.js +59 -59
  50. package/lib/components/FunnelChart/FunnelChart2.js +123 -123
  51. package/lib/components/FunnelChart/funnel.js +44 -47
  52. package/lib/components/Highlight/Highlight2.js +48 -48
  53. package/lib/components/HoverCard/HoverCard.js +89 -64
  54. package/lib/components/InlineDiff/InlineDiff2.js +123 -123
  55. package/lib/components/InlineDiff/diff.js +76 -76
  56. package/lib/components/InlineDiff/useDiffReview.js +69 -68
  57. package/lib/components/Kanban/Kanban2.js +366 -366
  58. package/lib/components/Kanban/KanbanCard.js +67 -67
  59. package/lib/components/Kanban/move.js +41 -45
  60. package/lib/components/LineChart/LineChart2.js +196 -196
  61. package/lib/components/List/List2.js +60 -59
  62. package/lib/components/Listbox/Listbox2.js +94 -94
  63. package/lib/components/Marker/Marker2.js +59 -52
  64. package/lib/components/Menubar/Menubar2.js +110 -112
  65. package/lib/components/MultiSelect/MultiSelect2.js +112 -112
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +239 -240
  67. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  68. package/lib/components/NumberStepper/NumberStepper2.js +66 -65
  69. package/lib/components/OtpInput/OtpInput2.js +87 -88
  70. package/lib/components/Pagination/Pagination2.js +81 -81
  71. package/lib/components/Pagination/paginationRange.js +25 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +77 -77
  73. package/lib/components/PieChart/PieChart2.js +101 -101
  74. package/lib/components/PieChart/arc.js +73 -76
  75. package/lib/components/PieChart/useArcTween.js +61 -57
  76. package/lib/components/Popover/Popover2.js +65 -64
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +119 -119
  78. package/lib/components/Rating/Rating2.js +85 -85
  79. package/lib/components/Resizable/Resizable2.js +139 -139
  80. package/lib/components/Resizable/layout.js +68 -68
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +55 -55
  82. package/lib/components/ScatterChart/ScatterChart2.js +249 -249
  83. package/lib/components/ScatterChart/scatter.js +55 -55
  84. package/lib/components/ScrollArea/ScrollArea2.js +132 -131
  85. package/lib/components/Select/Select2.js +81 -81
  86. package/lib/components/Sidebar/Sidebar2.js +61 -61
  87. package/lib/components/Skeleton/Skeleton2.js +46 -46
  88. package/lib/components/Slider/Slider2.js +74 -73
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +70 -70
  90. package/lib/components/SparkChart/SparkChart2.js +138 -137
  91. package/lib/components/SparkChart/spark.js +40 -61
  92. package/lib/components/Sparkbar/Sparkbar2.js +60 -59
  93. package/lib/components/SplitView/SplitView2.js +42 -42
  94. package/lib/components/Stat/Stat2.js +88 -88
  95. package/lib/components/StepList/StepList2.js +71 -71
  96. package/lib/components/Table/Table2.js +70 -70
  97. package/lib/components/Tabs/Tabs2.js +89 -89
  98. package/lib/components/TagInput/TagInput2.js +154 -154
  99. package/lib/components/TimePicker/TimePicker2.js +225 -226
  100. package/lib/components/TimePicker/time.js +50 -50
  101. package/lib/components/Timeline/Timeline2.js +201 -201
  102. package/lib/components/Timeline/scale.js +55 -53
  103. package/lib/components/Toast/Toaster.js +90 -92
  104. package/lib/components/Toast/store.js +91 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +84 -84
  106. package/lib/components/Toolbar/Toolbar2.js +166 -168
  107. package/lib/components/Tracker/Tracker2.js +89 -89
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +126 -125
  109. package/lib/components/TreeView/TreeView2.js +154 -156
  110. package/lib/hooks/timing.js +35 -36
  111. package/lib/hooks/useControllableState.js +40 -39
  112. package/lib/hooks/useCountdown.js +57 -55
  113. package/lib/hooks/useDigitInput.js +59 -83
  114. package/lib/hooks/useDismiss.js +49 -46
  115. package/lib/hooks/useElapsed.js +53 -55
  116. package/lib/hooks/useFloating.js +44 -44
  117. package/lib/hooks/useFocusTrap.js +46 -70
  118. package/lib/hooks/usePresence.js +32 -29
  119. package/lib/hooks/usePressToOpen.js +50 -50
  120. package/lib/hooks/useScrollLock.js +51 -51
  121. package/lib/hooks/useSelection.js +55 -46
  122. package/lib/index.js +34 -35
  123. package/lib/primitives/AspectRatio2.js +59 -55
  124. package/lib/primitives/BrandIcon.js +160 -160
  125. package/lib/primitives/ColorDot2.js +38 -42
  126. package/lib/primitives/CopyButton2.js +56 -56
  127. package/lib/primitives/CountBadge2.js +66 -64
  128. package/lib/primitives/Countdown2.js +31 -32
  129. package/lib/primitives/Delta2.js +46 -71
  130. package/lib/primitives/Elapsed.js +44 -44
  131. package/lib/primitives/FileIcon2.js +82 -82
  132. package/lib/primitives/Flag2.js +134 -134
  133. package/lib/primitives/IconStack2.js +31 -53
  134. package/lib/primitives/IconTile2.js +46 -48
  135. package/lib/primitives/Kbd2.js +57 -57
  136. package/lib/primitives/Layout2.js +78 -78
  137. package/lib/primitives/Link2.js +29 -30
  138. package/lib/primitives/MaskedText2.js +47 -73
  139. package/lib/primitives/Progress2.js +77 -78
  140. package/lib/primitives/RelativeTime.js +49 -46
  141. package/lib/primitives/SearchInput2.js +58 -59
  142. package/lib/primitives/SelectorButton2.js +76 -74
  143. package/lib/primitives/Spinner2.js +62 -58
  144. package/lib/primitives/StatusIcon2.js +56 -56
  145. package/lib/primitives/Swatch2.js +69 -65
  146. package/lib/primitives/Tooltip2.js +92 -92
  147. package/lib/primitives/Typography2.js +68 -68
  148. package/lib/primitives/formatCountdown.js +39 -43
  149. package/lib/primitives/formatElapsed.js +43 -39
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +76 -76
  152. package/lib/primitives/index.js +201 -181
  153. package/lib/primitives/maskValue.js +35 -39
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,123 +1,123 @@
1
1
  "use client";
2
2
  function e() {
3
- let t = /* @__PURE__ */ "C3zN.Aw5JBhvKzxm.mJjxzhPRreC.mtmUmJu.ownWAM5gDW.DMfYkc0TzMLSzs0.zhmTzMLSzs1Py29Ux19MB2XK.y29Kzq.C2XPzgu.nK13CKXWsG.DMLKzw8.CgrM.yxvKAw8.otG0otmWnhvnrgDKBq.C3bSAxq.mty3ota1vxbmAuru.nJG4odK5uMrOuM9U.C2XPy2u.otm1mduZn0vpDe1Iwa.Dg9mB3DLCKnHC2u.yxjJAgL2zq.CMvJDa.ms41.ntiWnte5mMTPAg1YvG.otGXnZe1mgrNz3DjAq.zg9J.Aw1Hz2u.mJaZndK1A0XbB2Dj.mtbvsvzns1i.B3rOzxi.zhmTzMLSzs1Py29Ux190ywi.BM9Uzq.Cgf0Aa.ns41.C2HLzxq.ChjLC2vUDgf0Aw9U.mtjJDwH1uui.AM9PBG.mcaWidi0idi0".split(".");
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
4
  return e = function() {
5
5
  return t;
6
6
  }, e();
7
7
  }
8
- const t = n;
9
- (function(e, t) {
10
- let r = n, i = e();
11
- for (;;) try {
12
- if (-parseInt(r(388)) / 1 + -parseInt(r(389)) / 2 * (-parseInt(r(377)) / 3) + -parseInt(r(358)) / 4 * (parseInt(r(376)) / 5) + parseInt(r(370)) / 6 * (parseInt(r(379)) / 7) + -parseInt(r(374)) / 8 * (parseInt(r(365)) / 9) + -parseInt(r(385)) / 10 + parseInt(r(363)) / 11 * (parseInt(r(384)) / 12) == t) break;
13
- i.push(i.shift());
14
- } catch {
15
- i.push(i.shift());
16
- }
17
- })(e, 834372);
18
- function n(t, r) {
19
- t -= 356;
20
- let i = e(), a = i[t];
21
- n.ZVBLvU === void 0 && (n.xroKNK = function(e) {
8
+ function t(n, r) {
9
+ n -= 231;
10
+ let i = e(), a = i[n];
11
+ t.hmoQWP === void 0 && (t.JitKNk = function(e) {
22
12
  let t = "", n = "";
23
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);
24
14
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
25
15
  return decodeURIComponent(n);
26
- }, n.iyONVg = {}, n.ZVBLvU = !0);
16
+ }, t.ZCYGLp = {}, t.hmoQWP = !0);
27
17
  let o = i[0];
28
- n.agfzXF !== o && (n.iyONVg = {}, n.agfzXF = o);
29
- let s = n.iyONVg[t];
30
- return s === void 0 ? (a = n.xroKNK(a), n.iyONVg[t] = a) : a = s, a;
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;
31
21
  }
22
+ const n = t;
23
+ (function(e, n) {
24
+ let r = t, i = e();
25
+ for (;;) try {
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;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(e, 601111);
32
32
  /* empty css */
33
33
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
34
34
  var a = {
35
- pdf: t(372),
36
- png: t(387),
37
- jpg: t(387),
38
- jpeg: "image",
39
- gif: t(387),
40
- webp: t(387),
41
- svg: t(387),
42
- heic: t(387),
43
- avif: t(387),
44
- xls: "sheet",
45
- xlsx: t(356),
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
46
  csv: "sheet",
47
- tsv: t(356),
47
+ tsv: n(253),
48
48
  numbers: "sheet",
49
- doc: "doc",
50
- docx: t(386),
51
- txt: t(386),
52
- md: t(386),
49
+ doc: n(237),
50
+ docx: n(237),
51
+ txt: n(237),
52
+ md: n(237),
53
53
  rtf: "doc",
54
- hwp: t(386),
55
- hwpx: "doc",
56
- pages: t(386),
57
- ppt: t(369),
58
- pptx: t(369),
59
- key: t(369),
60
- mp4: t(371),
61
- mov: t(371),
62
- webm: t(371),
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
63
  avi: "video",
64
- mkv: t(371),
65
- mp3: t(373),
66
- wav: t(373),
64
+ mkv: "video",
65
+ mp3: n(239),
66
+ wav: "audio",
67
67
  m4a: "audio",
68
- aac: "audio",
69
- flac: t(373),
70
- zip: t(381),
71
- rar: t(381),
72
- "7z": t(381),
73
- tar: "archive",
74
- gz: t(381),
75
- js: t(368),
76
- ts: t(368),
77
- tsx: t(368),
78
- json: t(368),
79
- html: t(368),
80
- css: t(368),
81
- py: t(368)
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)
82
82
  };
83
83
  function o(e) {
84
- let n = t, r = e[n(380)]();
85
- if (r.includes("/")) {
86
- let [e, t] = r[n(375)]("/");
87
- return e === n(387) || e === "video" || e === n(373) ? e : a[t] ?? (t[n(362)](n(356)) ? n(356) : t.includes(n(357)) ? n(369) : n(390));
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");
88
88
  }
89
- return a[r[n(378)](r.lastIndexOf(".") + 1)] ?? n(390);
89
+ return a[r[t(254)](r[t(258)](".") + 1)] ?? t(250);
90
90
  }
91
- function s({ name: e = "", kind: n, size: a = 20, className: s, style: c }) {
92
- let l = t, u = n ?? o(e);
93
- return i(l(361), {
94
- className: ["ds-file-icon", s].filter(Boolean)[l(359)](" "),
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)](" "),
95
95
  style: {
96
- "--_c": l(366) + u + ")",
96
+ "--_c": l(248) + u + ")",
97
97
  ...c
98
98
  },
99
99
  "data-kind": u,
100
100
  width: a,
101
101
  height: a,
102
- viewBox: l(360),
103
- fill: l(392),
102
+ viewBox: l(261),
103
+ fill: l(242),
104
104
  "aria-hidden": !0,
105
105
  children: [
106
106
  r("path", {
107
- className: "ds-file-icon__page",
108
- d: "M6.5 2.75h7.25l4.5 4.5v12.5a1.5 1.5 0 0 1-1.5 1.5H6.5A1.5 1.5 0 0 1 5 19.75v-15.5a1.5 1.5 0 0 1 1.5-1.5Z"
107
+ className: l(245),
108
+ d: l(243)
109
109
  }),
110
- r(l(393), {
111
- className: l(367),
110
+ r("path", {
111
+ className: l(256),
112
112
  d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
113
113
  }),
114
- r(l(382), {
115
- className: l(391),
114
+ r("rect", {
115
+ className: "ds-file-icon__tab",
116
116
  x: "3",
117
- y: l(364),
117
+ y: l(264),
118
118
  width: "11",
119
- height: l(394),
120
- rx: l(383)
119
+ height: l(263),
120
+ rx: l(244)
121
121
  })
122
122
  ]
123
123
  });
@@ -1,48 +1,62 @@
1
1
  "use client";
2
- const e = l;
2
+ const e = i;
3
3
  (function(e, t) {
4
- let n = l, r = e();
4
+ let n = i, r = e();
5
5
  for (;;) try {
6
- if (-parseInt(n(264)) / 1 * (-parseInt(n(258)) / 2) + parseInt(n(300)) / 3 * (-parseInt(n(263)) / 4) + -parseInt(n(295)) / 5 * (parseInt(n(269)) / 6) + -parseInt(n(290)) / 7 * (-parseInt(n(286)) / 8) + parseInt(n(292)) / 9 + -parseInt(n(283)) / 10 + parseInt(n(299)) / 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
- })(s, 638600);
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 = l, o = Array[a(268)]({ 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(284)](c))[s(275)](2) + "," + (t - l * Math[s(298)](c))[s(275)](2);
19
- });
20
- return n(a(272), { points: o[a(285)](" ") });
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;
21
27
  }
22
- function s() {
23
- let e = /* @__PURE__ */ "iZaWma.mteXnZa5ntbksNLsyw8.C2LU.AM9PBG.mteYuxjmCwf6.DhjHBNnSyxrLka.i2zMy2uWma.tte4idbwmJrnmcaXmKGZnG.nda2mtG5CwvcsNbZ.i2zMy2qWma.mta1otK0odbkDwHkAxK.zMXVB3i.ide4ideYkq.mtvlq2nozwK.zhmTzMXHzW.i2rKmdaWma.y29Z.odu1mti1n3j1sK1lqW.nZC5oty0t3DOsfDv.CMvJDa.mLz2zLfptq.iZaWmJy1na.tteYideYytyGnIaWidaGmsaXmIaWEG.i2rLmJKXma.BM9Uzq.mtzmCMXoyMy.mtaXnJm1ow5bEgfHBq.i2iYmJiZna.iZnJm2i2zq.Cgf0Aa.zNjVBq.mtK3nJm5nefiCxjzzW.y2LYy2XL.C3bHBG.Cg9SEwDVBG.i2nKmMuZyq.i2zMzG.Dg9gAxHLza.i2m4mtaYzq.Aw1N.iZaWndDHma.mcaWia.zMLSDgvY.i2rHmJuXza".split(".");
24
- return s = function() {
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() {
25
31
  return e;
26
- }, s();
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);
39
+ });
40
+ return n("polygon", { points: s[o(159)](" ") });
27
41
  }
28
- function c(e, t, i, a) {
29
- let o = l;
42
+ function l(e, t, a, o) {
43
+ let s = i;
30
44
  return n("g", {
31
- transform: o(287) + e + " " + t + ") rotate(" + i + ")",
32
- fill: o(282),
33
- children: a.map((e, t) => {
34
- let i = o, a = -2.4 + t * 1.8;
35
- return e ? r("g", { children: [n(i(257), {
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", {
36
50
  x: a,
37
51
  y: -3.4,
38
52
  width: 1.2,
39
53
  height: 3
40
- }), n(i(257), {
54
+ }), n("rect", {
41
55
  x: a,
42
56
  y: .4,
43
57
  width: 1.2,
44
58
  height: 3
45
- })] }, t) : n("rect", {
59
+ })] }, t) : n(i(196), {
46
60
  x: a,
47
61
  y: -3.4,
48
62
  width: 1.2,
@@ -51,211 +65,197 @@ function c(e, t, i, a) {
51
65
  })
52
66
  });
53
67
  }
54
- function l(e, t) {
55
- e -= 257;
56
- let n = s(), r = n[e];
57
- l.znGUsi === void 0 && (l.gqfNfn = function(e) {
58
- let t = "", n = "";
59
- 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);
60
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
61
- return decodeURIComponent(n);
62
- }, l.OSESSx = {}, l.znGUsi = !0);
63
- let i = n[0];
64
- l.NntjoT !== i && (l.OSESSx = {}, l.NntjoT = i);
65
- let a = l.OSESSx[e];
66
- return a === void 0 ? (r = l.gqfNfn(r), l.OSESSx[e] = r) : r = a, r;
67
- }
68
- var u = Math.atan2(a, i) * 180 / Math.PI, d = {
68
+ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
69
69
  KR: r(t, { children: [
70
70
  n("rect", {
71
- width: i,
72
- height: a,
73
- fill: e(274)
71
+ width: o,
72
+ height: s,
73
+ fill: e(171)
74
74
  }),
75
75
  r("g", {
76
- transform: "rotate(" + u + e(294),
76
+ transform: "rotate(" + u + e(170),
77
77
  children: [
78
- n(e(267), {
79
- d: e(260),
80
- fill: "#cd2e3a"
78
+ n(e(193), {
79
+ d: "M12 12a6 6 0 0 1 12 0z",
80
+ fill: e(158)
81
81
  }),
82
82
  n("path", {
83
- d: "M12 12a6 6 0 0 0 12 0z",
84
- fill: e(278)
83
+ d: e(182),
84
+ fill: e(175)
85
85
  }),
86
- n(e(270), {
86
+ n(e(166), {
87
87
  cx: 15,
88
88
  cy: 12,
89
89
  r: 3,
90
- fill: e(273)
90
+ fill: "#cd2e3a"
91
91
  }),
92
- n(e(270), {
92
+ n(e(166), {
93
93
  cx: 21,
94
94
  cy: 12,
95
95
  r: 3,
96
- fill: "#0047a0"
96
+ fill: e(175)
97
97
  })
98
98
  ]
99
99
  }),
100
- c(8.6, 5.7, u, [
100
+ l(8.6, 5.7, u, [
101
101
  !1,
102
102
  !1,
103
103
  !1
104
104
  ]),
105
- c(27.4, 18.3, u, [
105
+ l(27.4, 18.3, u, [
106
106
  !0,
107
107
  !0,
108
108
  !0
109
109
  ]),
110
- c(27.4, 5.7, -u, [
110
+ l(27.4, 5.7, -u, [
111
111
  !0,
112
112
  !1,
113
113
  !0
114
114
  ]),
115
- c(8.6, 18.3, -u, [
115
+ l(8.6, 18.3, -u, [
116
116
  !1,
117
117
  !0,
118
118
  !1
119
119
  ])
120
120
  ] }),
121
121
  US: r(t, { children: [
122
- n(e(257), {
123
- width: i,
124
- height: a,
125
- fill: e(274)
122
+ n(e(196), {
123
+ width: o,
124
+ height: s,
125
+ fill: "#fff"
126
126
  }),
127
- Array.from({ length: 7 }, (t, r) => n(e(257), {
128
- y: r * 2 * a / 13,
129
- width: i,
130
- height: a / 13,
131
- fill: e(265)
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)
132
132
  }, r)),
133
- n("rect", {
133
+ n(e(196), {
134
134
  width: 14.4,
135
135
  height: 168 / 13,
136
- fill: e(266)
136
+ fill: "#3c3b6e"
137
137
  }),
138
138
  n("g", {
139
- fill: "#fff",
140
- children: Array[e(268)]({ length: 12 }, (t, r) => n(e(270), {
139
+ fill: e(171),
140
+ children: Array[e(177)]({ length: 12 }, (t, r) => n(e(166), {
141
141
  cx: 2 + r % 4 * 3.4,
142
- cy: 1.9 + Math[e(293)](r / 4) * 3.4,
142
+ cy: 1.9 + Math[e(187)](r / 4) * 3.4,
143
143
  r: .6
144
144
  }, r))
145
145
  })
146
146
  ] }),
147
- JP: r(t, { children: [n(e(257), {
148
- width: i,
149
- height: a,
150
- fill: e(274)
151
- }), n(e(270), {
147
+ JP: r(t, { children: [n("rect", {
148
+ width: o,
149
+ height: s,
150
+ fill: e(171)
151
+ }), n(e(166), {
152
152
  cx: 18,
153
153
  cy: 12,
154
154
  r: 7.2,
155
- fill: "#bc002d"
155
+ fill: e(172)
156
156
  })] }),
157
- CN: r(t, { children: [n("rect", {
158
- width: i,
159
- height: a,
160
- fill: e(261)
157
+ CN: r(t, { children: [n(e(196), {
158
+ width: o,
159
+ height: s,
160
+ fill: e(183)
161
161
  }), r("g", {
162
- fill: "#ffde00",
162
+ fill: e(195),
163
163
  children: [
164
- o(6, 6, 3.6),
165
- o(12, 2.4, 1.2, 23),
166
- o(14.4, 4.8, 1.2, 46),
167
- o(14.4, 8.4, 1.2, 70),
168
- 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)
169
169
  ]
170
170
  })] }),
171
- VN: r(t, { children: [n(e(257), {
172
- width: i,
173
- height: a,
174
- fill: e(281)
171
+ VN: r(t, { children: [n(e(196), {
172
+ width: o,
173
+ height: s,
174
+ fill: e(176)
175
175
  }), n("g", {
176
- fill: e(291),
177
- children: o(18, 12.6, 7.2)
176
+ fill: e(173),
177
+ children: c(18, 12.6, 7.2)
178
178
  })] }),
179
179
  GB: r(t, { children: [
180
- n("rect", {
181
- width: i,
182
- height: a,
183
- fill: "#012169"
180
+ n(e(196), {
181
+ width: o,
182
+ height: s,
183
+ fill: e(190)
184
184
  }),
185
- n(e(267), {
186
- d: "M0 0L36 24M36 0L0 24",
187
- stroke: e(274),
185
+ n(e(193), {
186
+ d: e(189),
187
+ stroke: e(171),
188
188
  strokeWidth: 4.8
189
189
  }),
190
- n("path", {
191
- d: "M0 0L36 24M36 0L0 24",
192
- stroke: e(276),
190
+ n(e(193), {
191
+ d: e(189),
192
+ stroke: "#c8102e",
193
193
  strokeWidth: 1.6
194
194
  }),
195
195
  n("path", {
196
- d: "M18 0V24M0 12H36",
197
- stroke: e(274),
196
+ d: e(164),
197
+ stroke: "#fff",
198
198
  strokeWidth: 8
199
199
  }),
200
- n("path", {
201
- d: e(289),
202
- stroke: e(276),
200
+ n(e(193), {
201
+ d: e(164),
202
+ stroke: e(153),
203
203
  strokeWidth: 4.8
204
204
  })
205
205
  ] }),
206
206
  DE: r(t, { children: [
207
- n(e(257), {
208
- width: i,
207
+ n(e(196), {
208
+ width: o,
209
209
  height: 8,
210
- fill: e(282)
210
+ fill: e(178)
211
211
  }),
212
- n("rect", {
212
+ n(e(196), {
213
213
  y: 8,
214
- width: i,
214
+ width: o,
215
215
  height: 8,
216
- fill: e(297)
216
+ fill: e(161)
217
217
  }),
218
- n(e(257), {
218
+ n(e(196), {
219
219
  y: 16,
220
- width: i,
220
+ width: o,
221
221
  height: 8,
222
- fill: e(288)
222
+ fill: "#ffce00"
223
223
  })
224
224
  ] }),
225
225
  FR: r(t, { children: [
226
- n("rect", {
226
+ n(e(196), {
227
227
  width: 12,
228
- height: a,
229
- fill: e(259)
228
+ height: s,
229
+ fill: e(162)
230
230
  }),
231
- n(e(257), {
231
+ n("rect", {
232
232
  x: 12,
233
233
  width: 12,
234
- height: a,
235
- fill: "#fff"
234
+ height: s,
235
+ fill: e(171)
236
236
  }),
237
- n(e(257), {
237
+ n(e(196), {
238
238
  x: 24,
239
239
  width: 12,
240
- height: a,
241
- fill: "#ce1126"
240
+ height: s,
241
+ fill: e(191)
242
242
  })
243
243
  ] })
244
244
  };
245
- function f({ 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 }) {
246
246
  let l = e;
247
- return n(l(271), {
248
- className: [l(296), s][l(280)](Boolean).join(" "),
247
+ return n(l(192), {
248
+ className: [l(197), a].filter(Boolean).join(" "),
249
249
  style: {
250
250
  "--_w": r + "px",
251
251
  ...c
252
252
  },
253
- role: o ? l(277) : void 0,
254
- "aria-label": o,
255
- "aria-hidden": !o || void 0,
256
- children: n("svg", {
257
- viewBox: l(279) + i + " " + a,
258
- preserveAspectRatio: l(262),
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,
258
+ preserveAspectRatio: "none",
259
259
  children: d[t]
260
260
  })
261
261
  });