@iamfiro/design 0.3.2 → 0.3.4

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 (158) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/brand-icon/AGENTS.md +1 -1
  3. package/agents/social-login-button/AGENTS.md +4 -3
  4. package/lib/components/Accordion/Accordion2.js +87 -87
  5. package/lib/components/ActionBar/ActionBar2.js +42 -44
  6. package/lib/components/Alert/Alert2.js +61 -61
  7. package/lib/components/AppShell/AppShell2.js +70 -71
  8. package/lib/components/AreaChart/AreaChart.js +38 -40
  9. package/lib/components/BarChart/BarChart2.js +126 -126
  10. package/lib/components/BarList/BarList2.js +95 -95
  11. package/lib/components/Breadcrumb/Breadcrumb2.js +68 -66
  12. package/lib/components/Calendar/Calendar2.js +164 -164
  13. package/lib/components/Calendar/DatePicker2.js +103 -102
  14. package/lib/components/Calendar/date.js +64 -66
  15. package/lib/components/Card/Card2.js +67 -67
  16. package/lib/components/CardFrame/CardFrame2.js +43 -51
  17. package/lib/components/Chart/ChartParts.js +94 -94
  18. package/lib/components/Chart/chart2.js +52 -52
  19. package/lib/components/Chart/useChartInteraction.js +54 -54
  20. package/lib/components/ChatBubble/ChatBubble2.js +92 -92
  21. package/lib/components/ChatBubble/formatChatTime.js +35 -41
  22. package/lib/components/ChatComposer/ChatComposer2.js +63 -63
  23. package/lib/components/CodeBlock/CodeBlock2.js +61 -61
  24. package/lib/components/CodeBlock/highlight.js +84 -84
  25. package/lib/components/ColorPicker/ColorPicker2.js +387 -386
  26. package/lib/components/ColorPicker/color.js +71 -71
  27. package/lib/components/ColorPicker/presets.js +41 -46
  28. package/lib/components/Combobox/Combobox2.js +117 -118
  29. package/lib/components/CommandMenu/CommandMenu.js +127 -127
  30. package/lib/components/Comment/Comment2.js +86 -60
  31. package/lib/components/ContextMenu/ContextMenu2.js +77 -75
  32. package/lib/components/DataGrid/DataGrid2.js +1192 -1190
  33. package/lib/components/DataGrid/GridPopover.js +94 -94
  34. package/lib/components/DataGrid/anchor.js +34 -31
  35. package/lib/components/DataGrid/model.js +284 -283
  36. package/lib/components/DataGrid/panels.js +398 -399
  37. package/lib/components/DataGrid/typeMeta.js +51 -50
  38. package/lib/components/DataGrid/types.js +38 -39
  39. package/lib/components/DescriptionList/DescriptionList2.js +103 -103
  40. package/lib/components/Dialog/AlertDialog.js +79 -78
  41. package/lib/components/Dialog/Dialog2.js +59 -59
  42. package/lib/components/Dialog/modal.js +44 -46
  43. package/lib/components/Drawer/Drawer2.js +130 -129
  44. package/lib/components/DropdownMenu/DropdownMenu2.js +235 -233
  45. package/lib/components/DropdownMenu/menuCore.js +69 -42
  46. package/lib/components/Dropzone/Dropzone2.js +79 -78
  47. package/lib/components/EmptyState/EmptyState2.js +34 -35
  48. package/lib/components/FileChip/FileChip2.js +73 -73
  49. package/lib/components/FileUpload/FileUpload.js +159 -159
  50. package/lib/components/FilterChips/FilterChips2.js +61 -61
  51. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  52. package/lib/components/FunnelChart/funnel.js +48 -44
  53. package/lib/components/Highlight/Highlight2.js +43 -43
  54. package/lib/components/HoverCard/HoverCard.js +59 -84
  55. package/lib/components/InlineDiff/InlineDiff2.js +112 -112
  56. package/lib/components/InlineDiff/diff.js +90 -90
  57. package/lib/components/InlineDiff/useDiffReview.js +64 -63
  58. package/lib/components/Kanban/Kanban2.js +386 -387
  59. package/lib/components/Kanban/KanbanCard.js +70 -95
  60. package/lib/components/Kanban/move.js +50 -46
  61. package/lib/components/LineChart/LineChart2.js +211 -211
  62. package/lib/components/List/List2.js +53 -54
  63. package/lib/components/Listbox/Listbox2.js +115 -115
  64. package/lib/components/Marker/Marker2.js +56 -61
  65. package/lib/components/Menubar/Menubar2.js +144 -141
  66. package/lib/components/MultiSelect/MultiSelect2.js +108 -108
  67. package/lib/components/NavigationMenu/NavigationMenu2.js +298 -299
  68. package/lib/components/NoticeStack/NoticeStack2.js +84 -84
  69. package/lib/components/NumberStepper/NumberStepper2.js +65 -66
  70. package/lib/components/OtpInput/OtpInput2.js +70 -69
  71. package/lib/components/Pagination/Pagination2.js +106 -106
  72. package/lib/components/Pagination/paginationRange.js +37 -39
  73. package/lib/components/PhoneInput/PhoneInput.js +87 -88
  74. package/lib/components/PieChart/PieChart2.js +160 -160
  75. package/lib/components/PieChart/arc.js +65 -62
  76. package/lib/components/PieChart/useArcTween.js +53 -60
  77. package/lib/components/Popover/Popover2.js +62 -62
  78. package/lib/components/ProgressTracker/ProgressTracker2.js +121 -121
  79. package/lib/components/Rating/Rating2.js +82 -81
  80. package/lib/components/Resizable/Resizable2.js +126 -127
  81. package/lib/components/Resizable/layout.js +73 -73
  82. package/lib/components/ScaledPreview/ScaledPreview2.js +68 -67
  83. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  84. package/lib/components/ScatterChart/scatter.js +47 -49
  85. package/lib/components/ScrollArea/ScrollArea2.js +117 -118
  86. package/lib/components/Select/Select2.js +78 -79
  87. package/lib/components/Sidebar/Sidebar2.js +69 -69
  88. package/lib/components/Skeleton/Skeleton2.js +57 -57
  89. package/lib/components/Slider/Slider2.js +73 -74
  90. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -68
  91. package/lib/components/SparkChart/SparkChart2.js +145 -145
  92. package/lib/components/SparkChart/spark.js +64 -42
  93. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  94. package/lib/components/SplitView/SplitView2.js +51 -52
  95. package/lib/components/Stat/Stat2.js +90 -90
  96. package/lib/components/StepList/StepList2.js +70 -70
  97. package/lib/components/Table/Table2.js +70 -70
  98. package/lib/components/Tabs/Tabs2.js +81 -81
  99. package/lib/components/TagInput/TagInput2.js +220 -217
  100. package/lib/components/TimePicker/TimePicker2.js +187 -186
  101. package/lib/components/TimePicker/time.js +63 -62
  102. package/lib/components/Timeline/Timeline2.js +199 -199
  103. package/lib/components/Timeline/scale.js +67 -64
  104. package/lib/components/Toast/Toaster.js +100 -98
  105. package/lib/components/Toast/store.js +90 -94
  106. package/lib/components/ToggleGroup/ToggleGroup2.js +76 -76
  107. package/lib/components/Toolbar/Toolbar2.js +163 -161
  108. package/lib/components/Tracker/Tracker2.js +82 -82
  109. package/lib/components/TreeDiagram/TreeDiagram2.js +123 -124
  110. package/lib/components/TreeView/TreeView2.js +154 -152
  111. package/lib/hooks/timing.js +31 -30
  112. package/lib/hooks/useControllableState.js +37 -38
  113. package/lib/hooks/useCountdown.js +53 -56
  114. package/lib/hooks/useDigitInput.js +66 -41
  115. package/lib/hooks/useDismiss.js +55 -58
  116. package/lib/hooks/useElapsed.js +57 -55
  117. package/lib/hooks/useFloating.js +44 -44
  118. package/lib/hooks/useFocusTrap.js +70 -46
  119. package/lib/hooks/usePresence.js +23 -22
  120. package/lib/hooks/usePressToOpen.js +51 -51
  121. package/lib/hooks/useScrollLock.js +57 -58
  122. package/lib/hooks/useSelection.js +49 -52
  123. package/lib/index.js +65 -65
  124. package/lib/primitives/AspectRatio2.js +57 -57
  125. package/lib/primitives/BrandIcon.js +189 -158
  126. package/lib/primitives/ColorDot2.js +50 -45
  127. package/lib/primitives/CopyButton2.js +52 -50
  128. package/lib/primitives/CountBadge2.js +53 -55
  129. package/lib/primitives/Countdown2.js +28 -25
  130. package/lib/primitives/Delta2.js +41 -41
  131. package/lib/primitives/Elapsed.js +47 -47
  132. package/lib/primitives/FileIcon2.js +86 -86
  133. package/lib/primitives/Flag2.js +122 -122
  134. package/lib/primitives/IconStack2.js +55 -31
  135. package/lib/primitives/IconTile2.js +43 -43
  136. package/lib/primitives/Kbd2.js +55 -55
  137. package/lib/primitives/Layout2.js +78 -78
  138. package/lib/primitives/Link2.js +39 -36
  139. package/lib/primitives/MaskedText2.js +74 -52
  140. package/lib/primitives/Progress2.js +67 -66
  141. package/lib/primitives/RelativeTime.js +54 -61
  142. package/lib/primitives/SearchInput2.js +45 -45
  143. package/lib/primitives/SelectorButton2.js +72 -76
  144. package/lib/primitives/Spinner2.js +56 -56
  145. package/lib/primitives/StatusIcon2.js +63 -63
  146. package/lib/primitives/Swatch2.js +55 -61
  147. package/lib/primitives/Tooltip2.js +78 -78
  148. package/lib/primitives/Typography2.js +53 -53
  149. package/lib/primitives/formatCountdown.js +30 -29
  150. package/lib/primitives/formatElapsed.js +46 -49
  151. package/lib/primitives/formatRelativeTime.js +76 -50
  152. package/lib/primitives/hotkey.js +80 -80
  153. package/lib/primitives/index.js +169 -168
  154. package/lib/primitives/maskValue.js +55 -50
  155. package/lib/style.css +1 -1
  156. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  157. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  158. package/package.json +1 -1
@@ -1,123 +1,123 @@
1
1
  "use client";
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) {
2
+ function e(t, r) {
3
+ t -= 269;
4
+ let i = n(), a = i[t];
5
+ e.SrFphI === void 0 && (e.PUDDJN = function(e) {
12
6
  let t = "", n = "";
13
7
  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
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
15
9
  return decodeURIComponent(n);
16
- }, t.ZCYGLp = {}, t.hmoQWP = !0);
10
+ }, e.xUtBNr = {}, e.SrFphI = !0);
17
11
  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;
12
+ e.VpqFQW !== o && (e.xUtBNr = {}, e.VpqFQW = o);
13
+ let s = e.xUtBNr[t];
14
+ return s === void 0 ? (a = e.PUDDJN(a), e.xUtBNr[t] = a) : a = s, a;
21
15
  }
22
- const n = t;
23
- (function(e, n) {
24
- let r = t, i = e();
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
25
19
  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;
20
+ if (-parseInt(r(278)) / 1 + -parseInt(r(298)) / 2 * (-parseInt(r(306)) / 3) + parseInt(r(303)) / 4 + parseInt(r(305)) / 5 + -parseInt(r(302)) / 6 + parseInt(r(291)) / 7 * (parseInt(r(279)) / 8) + parseInt(r(294)) / 9 == n) break;
27
21
  i.push(i.shift());
28
22
  } catch {
29
23
  i.push(i.shift());
30
24
  }
31
- })(e, 601111);
25
+ })(n, 455205);
32
26
  /* empty css */
27
+ function n() {
28
+ let e = /* @__PURE__ */ "BgfZDeLUzgv4t2y.C3zN.zhmTzMLSzs1Py29Ux19MB2XK.mcaWidi0idi0.ttyUnsaYlJC1AdCUmJvSnc41idqUnxyXmI41yteUnsaXlJuGmcaWideTms41ideUnuG2lJvbms41ideUnsaWidaGmsa1ide5lJC1DI0Xns41yteUnsaXlJuGmcaWideGms41lteUnvO.Aw1Hz2u.zMLSDgvY.Aw5JBhvKzxm.ns41.mtu4mMzHEMTTvq.zhmTzMLSzs1Py29Ux19WywDL.CMvJDa.nJyZnJiWnffmrNrTCG.C2HLzxq.C2XPzgu.C2XPy2u.ntH6ufbutgy.yxjJAgL2zq.DMLKzw8.mtmUmJu.mtK2nJu5mg5NBKDTCq.nda2oteYB3f0BunU.BM9Uzq.mJq0nJmWnw5Iy1v3tW.nZG4n2ntBKXIsq.y29Kzq.Dg9mB3DLCKnHC2u.tteZlJuGmI43nxyZlJvHmsaXidaGmcaWideGmwGZlJC1.Cgf0Aa.B3rOzxi.CgrM.AM9PBG.ChjLC2vUDgf0Aw9U.zhmTzMLSzs1Py29Ux190ywi.yxvKAw8.nJy3nZiWuejdA3HK.mtyZmMj2Du9Awa.zhmTzMLSzs1Py29U.zg9J".split(".");
29
+ return n = function() {
30
+ return e;
31
+ }, n();
32
+ }
33
33
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
34
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),
53
- rtf: "doc",
54
- hwp: n(237),
55
- hwpx: n(237),
56
- pages: n(237),
57
- ppt: n(232),
58
- pptx: n(232),
35
+ pdf: t(273),
36
+ png: "image",
37
+ jpg: t(287),
38
+ jpeg: t(287),
39
+ gif: t(287),
40
+ webp: t(287),
41
+ svg: "image",
42
+ heic: "image",
43
+ avif: t(287),
44
+ xls: t(295),
45
+ xlsx: "sheet",
46
+ csv: t(295),
47
+ tsv: t(295),
48
+ numbers: t(295),
49
+ doc: t(281),
50
+ docx: t(281),
51
+ txt: "doc",
52
+ md: "doc",
53
+ rtf: t(281),
54
+ hwp: t(281),
55
+ hwpx: t(281),
56
+ pages: t(281),
57
+ ppt: "slide",
58
+ pptx: "slide",
59
59
  key: "slide",
60
- mp4: n(249),
61
- mov: n(249),
62
- webm: n(249),
63
- avi: "video",
64
- mkv: "video",
65
- mp3: n(239),
60
+ mp4: t(300),
61
+ mov: t(300),
62
+ webm: t(300),
63
+ avi: t(300),
64
+ mkv: t(300),
65
+ mp3: "audio",
66
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)
67
+ m4a: t(277),
68
+ aac: "audio",
69
+ flac: "audio",
70
+ zip: "archive",
71
+ rar: t(299),
72
+ "7z": t(299),
73
+ tar: "archive",
74
+ gz: t(299),
75
+ js: t(307),
76
+ ts: t(307),
77
+ tsx: t(307),
78
+ json: t(307),
79
+ html: t(307),
80
+ css: t(307),
81
+ py: "code"
82
82
  };
83
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");
84
+ let n = t, r = e[n(269)]();
85
+ if (r[n(289)]("/")) {
86
+ let [e, t] = r.split("/");
87
+ return e === n(287) || e === n(300) || e === "audio" ? e : a[t] ?? (t[n(289)](n(295)) ? n(295) : t[n(289)](n(275)) ? n(296) : n(272));
88
88
  }
89
- return a[r[t(254)](r[t(258)](".") + 1)] ?? t(250);
89
+ return a[r[n(297)](r[n(282)](".") + 1)] ?? n(272);
90
90
  }
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)](" "),
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(283), {
94
+ className: [l(280), s][l(288)](Boolean)[l(274)](" "),
95
95
  style: {
96
- "--_c": l(248) + u + ")",
96
+ "--_c": "var(--file-" + u + ")",
97
97
  ...c
98
98
  },
99
99
  "data-kind": u,
100
100
  width: a,
101
101
  height: a,
102
- viewBox: l(261),
103
- fill: l(242),
102
+ viewBox: l(285),
103
+ fill: l(304),
104
104
  "aria-hidden": !0,
105
105
  children: [
106
- r("path", {
107
- className: l(245),
108
- d: l(243)
106
+ r(l(271), {
107
+ className: l(292),
108
+ d: l(286)
109
109
  }),
110
110
  r("path", {
111
- className: l(256),
112
- d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
111
+ className: l(284),
112
+ d: l(270)
113
113
  }),
114
- r("rect", {
115
- className: "ds-file-icon__tab",
114
+ r(l(293), {
115
+ className: l(276),
116
116
  x: "3",
117
- y: l(264),
117
+ y: l(301),
118
118
  width: "11",
119
- height: l(263),
120
- rx: l(244)
119
+ height: l(290),
120
+ rx: "1.5"
121
121
  })
122
122
  ]
123
123
  });
@@ -1,63 +1,63 @@
1
1
  "use client";
2
- const e = i;
2
+ function e() {
3
+ let t = /* @__PURE__ */ "i2iYmJiZna.i2rHmJuXza.Cgf0Aa.iZaXmJe2oq.i2zMzG.i2m4mtaYzq.tte4idbwmJrnmcaXmKGZnG.mtK0mJaZmM1qvMrhwG.BwfW.mK5OtNLhrW.zNjVBq.mZq0odi4mJHqDNnJz2W.nMjjsM5zsW.zhmTzMXHzW.i2rKmdaWma.mZzjtfjJz2y.yxrHBJi.CM90yxrLka.i2zMzguWma.mtaZnZC3nMrStun2BG.iZaWma.iZaWndDHma.nZy4yMnJzxDY.Aw1N.Dg9gAxHLza.tteYideYytyGnIaWidaGmsaXmIaWEG.i2zMy2uWma.DhjHBNnSyxrLka.ttaGmeWZnIaYne0ZnIaWtdaGmJq.CMvJDa.nJG1nZG1ohbgBhveyG.ndrPug1MzKW.iZnJm2i2zq.mtKYmteZu01VALvZ.C2LU.y2LYy2XL.AM9PBG.tteYideYytyGnIaWidaGmcaXmIaWEG.C3zN.zMXVB3i.i2zMy2qWma.BM9Uzq.i2nKmMuZyq.mte5mZbKwM5cuwm.zMLSDgvY.mJa3nJCZmg9Pq1vfDG.C3bHBG.iZaWmJy1na.ksbYB3rHDguO.ide4ideYkq".split(".");
4
+ return e = function() {
5
+ return t;
6
+ }, e();
7
+ }
8
+ const t = n;
3
9
  (function(e, t) {
4
- let n = i, r = e();
10
+ let r = n, i = e();
5
11
  for (;;) try {
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
- r.push(r.shift());
12
+ if (-parseInt(r(474)) / 1 * (-parseInt(r(500)) / 2) + parseInt(r(503)) / 3 * (parseInt(r(510)) / 4) + parseInt(r(484)) / 5 * (-parseInt(r(513)) / 6) + -parseInt(r(471)) / 7 + parseInt(r(498)) / 8 * (-parseInt(r(506)) / 9) + parseInt(r(486)) / 10 * (-parseInt(r(472)) / 11) + parseInt(r(502)) / 12 == t) break;
13
+ i.push(i.shift());
8
14
  } catch {
9
- r.push(r.shift());
15
+ i.push(i.shift());
10
16
  }
11
- })(a, 506336);
17
+ })(e, 497760);
12
18
  /* empty css */
13
- import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
14
- function i(e, t) {
15
- e -= 151;
16
- let n = a(), r = n[e];
17
- i.xwAUMs === void 0 && (i.qkZMQm = function(e) {
19
+ function n(t, r) {
20
+ t -= 465;
21
+ let i = e(), a = i[t];
22
+ n.fVopqW === void 0 && (n.TFxzZY = function(e) {
18
23
  let t = "", n = "";
19
24
  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
25
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
26
  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();
27
+ }, n.JOPknf = {}, n.fVopqW = !0);
28
+ let o = i[0];
29
+ n.cYiLGD !== o && (n.JOPknf = {}, n.cYiLGD = o);
30
+ let s = n.JOPknf[t];
31
+ return s === void 0 ? (a = n.TFxzZY(a), n.JOPknf[t] = a) : a = s, a;
33
32
  }
33
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
34
34
  var o = 36, s = 24;
35
35
  function c(e, t, r, a = 0) {
36
- let o = i, s = Array[o(177)]({ length: 10 }, (n, i) => {
36
+ let o = n, s = Array[o(501)]({ length: 10 }, (n, i) => {
37
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);
38
+ return (e + l * Math[s(475)](c)).toFixed(2) + "," + (t - l * Math.cos(c))[s(465)](2);
39
39
  });
40
- return n("polygon", { points: s[o(159)](" ") });
40
+ return i("polygon", { points: s[o(477)](" ") });
41
41
  }
42
- function l(e, t, a, o) {
43
- let s = i;
44
- return n("g", {
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", {
50
- x: a,
42
+ function l(e, t, r, o) {
43
+ let s = n;
44
+ return i("g", {
45
+ transform: s(468) + e + " " + t + s(489) + r + ")",
46
+ fill: "#000",
47
+ children: o[s(499)]((e, t) => {
48
+ let n = s, r = -2.4 + t * 1.8;
49
+ return e ? a("g", { children: [i(n(470), {
50
+ x: r,
51
51
  y: -3.4,
52
52
  width: 1.2,
53
53
  height: 3
54
- }), n("rect", {
55
- x: a,
54
+ }), i(n(470), {
55
+ x: r,
56
56
  y: .4,
57
57
  width: 1.2,
58
58
  height: 3
59
- })] }, t) : n(i(196), {
60
- x: a,
59
+ })] }, t) : i(n(470), {
60
+ x: r,
61
61
  y: -3.4,
62
62
  width: 1.2,
63
63
  height: 6.8
@@ -65,35 +65,35 @@ function l(e, t, a, o) {
65
65
  })
66
66
  });
67
67
  }
68
- var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
69
- KR: r(t, { children: [
70
- n("rect", {
68
+ var u = Math[t(507)](s, o) * 180 / Math.PI, d = {
69
+ KR: a(r, { children: [
70
+ i(t(470), {
71
71
  width: o,
72
72
  height: s,
73
- fill: e(171)
73
+ fill: "#fff"
74
74
  }),
75
- r("g", {
76
- transform: "rotate(" + u + e(170),
75
+ a("g", {
76
+ transform: t(508) + u + t(490),
77
77
  children: [
78
- n(e(193), {
79
- d: "M12 12a6 6 0 0 1 12 0z",
80
- fill: e(158)
78
+ i(t(493), {
79
+ d: t(466),
80
+ fill: t(483)
81
81
  }),
82
- n("path", {
83
- d: e(182),
84
- fill: e(175)
82
+ i(t(493), {
83
+ d: t(478),
84
+ fill: "#0047a0"
85
85
  }),
86
- n(e(166), {
86
+ i(t(476), {
87
87
  cx: 15,
88
88
  cy: 12,
89
89
  r: 3,
90
- fill: "#cd2e3a"
90
+ fill: t(483)
91
91
  }),
92
- n(e(166), {
92
+ i("circle", {
93
93
  cx: 21,
94
94
  cy: 12,
95
95
  r: 3,
96
- fill: e(175)
96
+ fill: t(512)
97
97
  })
98
98
  ]
99
99
  }),
@@ -118,48 +118,48 @@ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
118
118
  !1
119
119
  ])
120
120
  ] }),
121
- US: r(t, { children: [
122
- n(e(196), {
121
+ US: a(r, { children: [
122
+ i(t(470), {
123
123
  width: o,
124
124
  height: s,
125
- fill: "#fff"
125
+ fill: t(495)
126
126
  }),
127
- Array[e(177)]({ length: 7 }, (t, r) => n(e(196), {
128
- y: r * 2 * s / 13,
127
+ Array.from({ length: 7 }, (e, n) => i(t(470), {
128
+ y: n * 2 * s / 13,
129
129
  width: o,
130
130
  height: s / 13,
131
- fill: e(152)
132
- }, r)),
133
- n(e(196), {
131
+ fill: t(491)
132
+ }, n)),
133
+ i(t(470), {
134
134
  width: 14.4,
135
135
  height: 168 / 13,
136
- fill: "#3c3b6e"
136
+ fill: t(473)
137
137
  }),
138
- n("g", {
139
- fill: e(171),
140
- children: Array[e(177)]({ length: 12 }, (t, r) => n(e(166), {
141
- cx: 2 + r % 4 * 3.4,
142
- cy: 1.9 + Math[e(187)](r / 4) * 3.4,
138
+ i("g", {
139
+ fill: t(495),
140
+ children: Array[t(501)]({ length: 12 }, (e, n) => i(t(476), {
141
+ cx: 2 + n % 4 * 3.4,
142
+ cy: 1.9 + Math[t(480)](n / 4) * 3.4,
143
143
  r: .6
144
- }, r))
144
+ }, n))
145
145
  })
146
146
  ] }),
147
- JP: r(t, { children: [n("rect", {
147
+ JP: a(r, { children: [i(t(470), {
148
148
  width: o,
149
149
  height: s,
150
- fill: e(171)
151
- }), n(e(166), {
150
+ fill: t(495)
151
+ }), i(t(476), {
152
152
  cx: 18,
153
153
  cy: 12,
154
154
  r: 7.2,
155
- fill: e(172)
155
+ fill: "#bc002d"
156
156
  })] }),
157
- CN: r(t, { children: [n(e(196), {
157
+ CN: a(r, { children: [i(t(470), {
158
158
  width: o,
159
159
  height: s,
160
- fill: e(183)
161
- }), r("g", {
162
- fill: e(195),
160
+ fill: "#de2910"
161
+ }), a("g", {
162
+ fill: t(509),
163
163
  children: [
164
164
  c(6, 6, 3.6),
165
165
  c(12, 2.4, 1.2, 23),
@@ -168,95 +168,95 @@ var u = Math[e(155)](s, o) * 180 / Math.PI, d = {
168
168
  c(12, 10.8, 1.2, 21)
169
169
  ]
170
170
  })] }),
171
- VN: r(t, { children: [n(e(196), {
171
+ VN: a(r, { children: [i(t(470), {
172
172
  width: o,
173
173
  height: s,
174
- fill: e(176)
175
- }), n("g", {
176
- fill: e(173),
174
+ fill: t(492)
175
+ }), i("g", {
176
+ fill: t(481),
177
177
  children: c(18, 12.6, 7.2)
178
178
  })] }),
179
- GB: r(t, { children: [
180
- n(e(196), {
179
+ GB: a(r, { children: [
180
+ i(t(470), {
181
181
  width: o,
182
182
  height: s,
183
- fill: e(190)
183
+ fill: t(494)
184
184
  }),
185
- n(e(193), {
186
- d: e(189),
187
- stroke: e(171),
185
+ i(t(493), {
186
+ d: t(469),
187
+ stroke: t(495),
188
188
  strokeWidth: 4.8
189
189
  }),
190
- n(e(193), {
191
- d: e(189),
192
- stroke: "#c8102e",
190
+ i(t(493), {
191
+ d: "M0 0L36 24M36 0L0 24",
192
+ stroke: t(496),
193
193
  strokeWidth: 1.6
194
194
  }),
195
- n("path", {
196
- d: e(164),
197
- stroke: "#fff",
195
+ i("path", {
196
+ d: t(497),
197
+ stroke: t(495),
198
198
  strokeWidth: 8
199
199
  }),
200
- n(e(193), {
201
- d: e(164),
202
- stroke: e(153),
200
+ i(t(493), {
201
+ d: t(497),
202
+ stroke: t(496),
203
203
  strokeWidth: 4.8
204
204
  })
205
205
  ] }),
206
- DE: r(t, { children: [
207
- n(e(196), {
206
+ DE: a(r, { children: [
207
+ i("rect", {
208
208
  width: o,
209
209
  height: 8,
210
- fill: e(178)
210
+ fill: t(511)
211
211
  }),
212
- n(e(196), {
212
+ i(t(470), {
213
213
  y: 8,
214
214
  width: o,
215
215
  height: 8,
216
- fill: e(161)
216
+ fill: t(505)
217
217
  }),
218
- n(e(196), {
218
+ i(t(470), {
219
219
  y: 16,
220
220
  width: o,
221
221
  height: 8,
222
- fill: "#ffce00"
222
+ fill: t(467)
223
223
  })
224
224
  ] }),
225
- FR: r(t, { children: [
226
- n(e(196), {
225
+ FR: a(r, { children: [
226
+ i(t(470), {
227
227
  width: 12,
228
228
  height: s,
229
- fill: e(162)
229
+ fill: t(488)
230
230
  }),
231
- n("rect", {
231
+ i("rect", {
232
232
  x: 12,
233
233
  width: 12,
234
234
  height: s,
235
- fill: e(171)
235
+ fill: t(495)
236
236
  }),
237
- n(e(196), {
237
+ i(t(470), {
238
238
  x: 24,
239
239
  width: 12,
240
240
  height: s,
241
- fill: e(191)
241
+ fill: "#ce1126"
242
242
  })
243
243
  ] })
244
244
  };
245
- function f({ code: t, size: r = 20, label: i, className: a, style: c }) {
246
- let l = e;
247
- return n(l(192), {
248
- className: [l(197), a].filter(Boolean).join(" "),
245
+ function f({ code: e, size: n = 20, label: r, className: a, style: c }) {
246
+ let l = t;
247
+ return i(l(487), {
248
+ className: [l(504), a][l(485)](Boolean)[l(477)](" "),
249
249
  style: {
250
- "--_w": r + "px",
250
+ "--_w": n + "px",
251
251
  ...c
252
252
  },
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
- children: d[t]
253
+ role: r ? l(514) : void 0,
254
+ "aria-label": r,
255
+ "aria-hidden": !r || void 0,
256
+ children: i(l(479), {
257
+ viewBox: "0 0 " + o + " " + s,
258
+ preserveAspectRatio: l(482),
259
+ children: d[e]
260
260
  })
261
261
  });
262
262
  }