@iamfiro/design 0.3.1 → 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 (161) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/avatar/AGENTS.md +29 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/agents/tooltip/AGENTS.md +1 -1
  6. package/lib/components/Accordion/Accordion2.js +92 -92
  7. package/lib/components/ActionBar/ActionBar2.js +42 -45
  8. package/lib/components/Alert/Alert2.js +77 -77
  9. package/lib/components/AppShell/AppShell2.js +70 -71
  10. package/lib/components/AreaChart/AreaChart.js +32 -35
  11. package/lib/components/BarChart/BarChart2.js +155 -155
  12. package/lib/components/BarList/BarList2.js +93 -93
  13. package/lib/components/Breadcrumb/Breadcrumb2.js +62 -64
  14. package/lib/components/Calendar/Calendar2.js +183 -182
  15. package/lib/components/Calendar/DatePicker2.js +116 -115
  16. package/lib/components/Calendar/date.js +67 -66
  17. package/lib/components/Card/Card2.js +67 -67
  18. package/lib/components/CardFrame/CardFrame2.js +34 -37
  19. package/lib/components/Chart/ChartParts.js +90 -90
  20. package/lib/components/Chart/chart2.js +62 -62
  21. package/lib/components/Chart/useChartInteraction.js +51 -51
  22. package/lib/components/ChatBubble/ChatBubble2.js +117 -117
  23. package/lib/components/ChatBubble/formatChatTime.js +37 -36
  24. package/lib/components/ChatComposer/ChatComposer2.js +55 -55
  25. package/lib/components/CodeBlock/CodeBlock2.js +60 -60
  26. package/lib/components/CodeBlock/highlight.js +72 -72
  27. package/lib/components/ColorPicker/ColorPicker2.js +232 -231
  28. package/lib/components/ColorPicker/color.js +67 -67
  29. package/lib/components/ColorPicker/presets.js +25 -24
  30. package/lib/components/Combobox/Combobox2.js +140 -140
  31. package/lib/components/CommandMenu/CommandMenu.js +135 -135
  32. package/lib/components/Comment/Comment2.js +82 -57
  33. package/lib/components/ContextMenu/ContextMenu2.js +101 -100
  34. package/lib/components/DataGrid/DataGrid2.js +872 -871
  35. package/lib/components/DataGrid/GridPopover.js +98 -98
  36. package/lib/components/DataGrid/anchor.js +34 -33
  37. package/lib/components/DataGrid/model.js +291 -290
  38. package/lib/components/DataGrid/panels.js +337 -336
  39. package/lib/components/DataGrid/typeMeta.js +49 -48
  40. package/lib/components/DataGrid/types.js +34 -33
  41. package/lib/components/DescriptionList/DescriptionList2.js +109 -109
  42. package/lib/components/Dialog/AlertDialog.js +53 -53
  43. package/lib/components/Dialog/Dialog2.js +72 -72
  44. package/lib/components/Dialog/modal.js +67 -68
  45. package/lib/components/Drawer/Drawer2.js +117 -117
  46. package/lib/components/DropdownMenu/DropdownMenu2.js +267 -266
  47. package/lib/components/DropdownMenu/menuCore.js +68 -42
  48. package/lib/components/Dropzone/Dropzone2.js +78 -78
  49. package/lib/components/EmptyState/EmptyState2.js +58 -56
  50. package/lib/components/FileChip/FileChip2.js +72 -48
  51. package/lib/components/FileUpload/FileUpload.js +137 -138
  52. package/lib/components/FilterChips/FilterChips2.js +61 -61
  53. package/lib/components/FunnelChart/FunnelChart2.js +161 -161
  54. package/lib/components/FunnelChart/funnel.js +50 -49
  55. package/lib/components/Highlight/Highlight2.js +56 -56
  56. package/lib/components/HoverCard/HoverCard.js +73 -73
  57. package/lib/components/InlineDiff/InlineDiff2.js +129 -129
  58. package/lib/components/InlineDiff/diff.js +87 -87
  59. package/lib/components/InlineDiff/useDiffReview.js +54 -52
  60. package/lib/components/Kanban/Kanban2.js +383 -384
  61. package/lib/components/Kanban/KanbanCard.js +68 -93
  62. package/lib/components/Kanban/move.js +43 -43
  63. package/lib/components/LineChart/LineChart2.js +164 -164
  64. package/lib/components/List/List2.js +60 -60
  65. package/lib/components/Listbox/Listbox2.js +108 -108
  66. package/lib/components/Marker/Marker2.js +59 -57
  67. package/lib/components/Menubar/Menubar2.js +120 -119
  68. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  69. package/lib/components/NavigationMenu/NavigationMenu2.js +277 -279
  70. package/lib/components/NoticeStack/NoticeStack2.js +109 -109
  71. package/lib/components/NumberStepper/NumberStepper2.js +70 -70
  72. package/lib/components/OtpInput/OtpInput2.js +94 -94
  73. package/lib/components/Pagination/Pagination2.js +109 -109
  74. package/lib/components/Pagination/paginationRange.js +37 -38
  75. package/lib/components/PhoneInput/PhoneInput.js +83 -84
  76. package/lib/components/PieChart/PieChart2.js +157 -157
  77. package/lib/components/PieChart/arc.js +72 -72
  78. package/lib/components/PieChart/useArcTween.js +50 -53
  79. package/lib/components/Popover/Popover2.js +62 -61
  80. package/lib/components/ProgressTracker/ProgressTracker2.js +104 -104
  81. package/lib/components/Rating/Rating2.js +89 -88
  82. package/lib/components/Resizable/Resizable2.js +133 -134
  83. package/lib/components/Resizable/layout.js +56 -56
  84. package/lib/components/ScaledPreview/ScaledPreview2.js +64 -63
  85. package/lib/components/ScatterChart/ScatterChart2.js +252 -251
  86. package/lib/components/ScatterChart/scatter.js +50 -52
  87. package/lib/components/ScrollArea/ScrollArea2.js +122 -122
  88. package/lib/components/Select/Select2.js +84 -85
  89. package/lib/components/Sidebar/Sidebar2.js +79 -79
  90. package/lib/components/Skeleton/Skeleton2.js +56 -56
  91. package/lib/components/Slider/Slider2.js +63 -63
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +54 -46
  93. package/lib/components/SparkChart/SparkChart2.js +129 -128
  94. package/lib/components/SparkChart/spark.js +49 -48
  95. package/lib/components/Sparkbar/Sparkbar2.js +59 -58
  96. package/lib/components/SplitView/SplitView2.js +54 -55
  97. package/lib/components/Stat/Stat2.js +59 -59
  98. package/lib/components/StepList/StepList2.js +78 -78
  99. package/lib/components/Table/Table2.js +55 -55
  100. package/lib/components/Tabs/Tabs2.js +76 -76
  101. package/lib/components/TagInput/TagInput2.js +218 -215
  102. package/lib/components/TimePicker/TimePicker2.js +204 -204
  103. package/lib/components/TimePicker/time.js +59 -58
  104. package/lib/components/Timeline/Timeline2.js +179 -179
  105. package/lib/components/Timeline/scale.js +60 -55
  106. package/lib/components/Toast/Toaster.js +103 -103
  107. package/lib/components/Toast/store.js +47 -47
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +77 -77
  109. package/lib/components/Toolbar/Toolbar2.js +138 -138
  110. package/lib/components/Tracker/Tracker2.js +99 -99
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +117 -117
  112. package/lib/components/TreeView/TreeView2.js +145 -145
  113. package/lib/hooks/timing.js +33 -33
  114. package/lib/hooks/useControllableState.js +33 -33
  115. package/lib/hooks/useCountdown.js +54 -55
  116. package/lib/hooks/useDigitInput.js +85 -84
  117. package/lib/hooks/useDismiss.js +55 -55
  118. package/lib/hooks/useElapsed.js +55 -55
  119. package/lib/hooks/useFloating.js +21 -21
  120. package/lib/hooks/useFocusTrap.js +67 -67
  121. package/lib/hooks/usePresence.js +33 -29
  122. package/lib/hooks/usePressToOpen.js +33 -33
  123. package/lib/hooks/useScrollLock.js +54 -55
  124. package/lib/hooks/useSelection.js +54 -48
  125. package/lib/index.js +67 -68
  126. package/lib/primitives/AspectRatio2.js +58 -54
  127. package/lib/primitives/BrandIcon.js +189 -158
  128. package/lib/primitives/ColorDot2.js +52 -51
  129. package/lib/primitives/CopyButton2.js +66 -64
  130. package/lib/primitives/CountBadge2.js +56 -56
  131. package/lib/primitives/Countdown2.js +36 -34
  132. package/lib/primitives/Delta2.js +41 -66
  133. package/lib/primitives/Elapsed.js +32 -32
  134. package/lib/primitives/FileIcon2.js +90 -90
  135. package/lib/primitives/Flag2.js +157 -157
  136. package/lib/primitives/IconStack2.js +60 -58
  137. package/lib/primitives/IconTile2.js +46 -48
  138. package/lib/primitives/Kbd2.js +51 -51
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +37 -35
  141. package/lib/primitives/MaskedText2.js +71 -75
  142. package/lib/primitives/Progress2.js +72 -72
  143. package/lib/primitives/RelativeTime.js +60 -64
  144. package/lib/primitives/SearchInput2.js +55 -56
  145. package/lib/primitives/SelectorButton2.js +69 -71
  146. package/lib/primitives/Spinner2.js +63 -59
  147. package/lib/primitives/StatusIcon2.js +66 -66
  148. package/lib/primitives/Swatch2.js +54 -56
  149. package/lib/primitives/Tooltip2.js +77 -77
  150. package/lib/primitives/Typography2.js +67 -67
  151. package/lib/primitives/formatCountdown.js +38 -41
  152. package/lib/primitives/formatElapsed.js +41 -40
  153. package/lib/primitives/formatRelativeTime.js +74 -48
  154. package/lib/primitives/hotkey.js +81 -81
  155. package/lib/primitives/index.js +220 -199
  156. package/lib/primitives/maskValue.js +53 -52
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/lib/types/primitives/index.d.ts +6 -2
  161. package/package.json +1 -1
@@ -1,123 +1,123 @@
1
1
  "use client";
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(".");
4
- return e = function() {
5
- return t;
6
- }, e();
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) {
2
+ function e(t, r) {
3
+ t -= 269;
4
+ let i = n(), a = i[t];
5
+ e.SrFphI === void 0 && (e.PUDDJN = function(e) {
22
6
  let t = "", n = "";
23
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);
24
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
25
9
  return decodeURIComponent(n);
26
- }, n.iyONVg = {}, n.ZVBLvU = !0);
10
+ }, e.xUtBNr = {}, e.SrFphI = !0);
27
11
  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;
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;
31
15
  }
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
+ for (;;) try {
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;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
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: 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),
46
- csv: "sheet",
47
- tsv: t(356),
48
- numbers: "sheet",
49
- doc: "doc",
50
- docx: t(386),
51
- txt: t(386),
52
- md: t(386),
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),
63
- avi: "video",
64
- mkv: t(371),
65
- mp3: t(373),
66
- wav: t(373),
67
- m4a: "audio",
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
+ key: "slide",
60
+ mp4: t(300),
61
+ mov: t(300),
62
+ webm: t(300),
63
+ avi: t(300),
64
+ mkv: t(300),
65
+ mp3: "audio",
66
+ wav: "audio",
67
+ m4a: t(277),
68
68
  aac: "audio",
69
- flac: t(373),
70
- zip: t(381),
71
- rar: t(381),
72
- "7z": t(381),
69
+ flac: "audio",
70
+ zip: "archive",
71
+ rar: t(299),
72
+ "7z": t(299),
73
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)
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 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 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[n(378)](r.lastIndexOf(".") + 1)] ?? n(390);
89
+ return a[r[n(297)](r[n(282)](".") + 1)] ?? n(272);
90
90
  }
91
91
  function s({ name: e = "", kind: n, size: a = 20, className: s, style: c }) {
92
92
  let l = t, u = n ?? o(e);
93
- return i(l(361), {
94
- className: ["ds-file-icon", s].filter(Boolean)[l(359)](" "),
93
+ return i(l(283), {
94
+ className: [l(280), s][l(288)](Boolean)[l(274)](" "),
95
95
  style: {
96
- "--_c": l(366) + 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(360),
103
- fill: l(392),
102
+ viewBox: l(285),
103
+ fill: l(304),
104
104
  "aria-hidden": !0,
105
105
  children: [
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"
106
+ r(l(271), {
107
+ className: l(292),
108
+ d: l(286)
109
109
  }),
110
- r(l(393), {
111
- className: l(367),
112
- d: "M13.5 2.75v3.5a1 1 0 0 0 1 1h3.75"
110
+ r("path", {
111
+ className: l(284),
112
+ d: l(270)
113
113
  }),
114
- r(l(382), {
115
- className: l(391),
114
+ r(l(293), {
115
+ className: l(276),
116
116
  x: "3",
117
- y: l(364),
117
+ y: l(301),
118
118
  width: "11",
119
- height: l(394),
120
- rx: l(383)
119
+ height: l(290),
120
+ rx: "1.5"
121
121
  })
122
122
  ]
123
123
  });
@@ -1,49 +1,63 @@
1
1
  "use client";
2
- const e = l;
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 = l, r = e();
10
+ let r = n, i = e();
5
11
  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;
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
- })(s, 638600);
17
+ })(e, 497760);
12
18
  /* empty css */
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)](" ") });
19
+ function n(t, r) {
20
+ t -= 465;
21
+ let i = e(), a = i[t];
22
+ n.fVopqW === void 0 && (n.TFxzZY = function(e) {
23
+ let t = "", n = "";
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);
25
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
26
+ return decodeURIComponent(n);
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;
21
32
  }
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() {
25
- return e;
26
- }, s();
33
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
34
+ var o = 36, s = 24;
35
+ function c(e, t, r, a = 0) {
36
+ let o = n, s = Array[o(501)]({ 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[s(475)](c)).toFixed(2) + "," + (t - l * Math.cos(c))[s(465)](2);
39
+ });
40
+ return i("polygon", { points: s[o(477)](" ") });
27
41
  }
28
- function c(e, t, i, a) {
29
- let o = l;
30
- 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), {
36
- 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,
37
51
  y: -3.4,
38
52
  width: 1.2,
39
53
  height: 3
40
- }), n(i(257), {
41
- x: a,
54
+ }), i(n(470), {
55
+ x: r,
42
56
  y: .4,
43
57
  width: 1.2,
44
58
  height: 3
45
- })] }, t) : n("rect", {
46
- x: a,
59
+ })] }, t) : i(n(470), {
60
+ x: r,
47
61
  y: -3.4,
48
62
  width: 1.2,
49
63
  height: 6.8
@@ -51,212 +65,198 @@ 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 = {
69
- KR: r(t, { children: [
70
- n("rect", {
71
- width: i,
72
- height: a,
73
- fill: e(274)
68
+ var u = Math[t(507)](s, o) * 180 / Math.PI, d = {
69
+ KR: a(r, { children: [
70
+ i(t(470), {
71
+ width: o,
72
+ height: s,
73
+ fill: "#fff"
74
74
  }),
75
- r("g", {
76
- transform: "rotate(" + u + e(294),
75
+ a("g", {
76
+ transform: t(508) + u + t(490),
77
77
  children: [
78
- n(e(267), {
79
- d: e(260),
80
- fill: "#cd2e3a"
78
+ i(t(493), {
79
+ d: t(466),
80
+ fill: t(483)
81
81
  }),
82
- n("path", {
83
- d: "M12 12a6 6 0 0 0 12 0z",
84
- fill: e(278)
82
+ i(t(493), {
83
+ d: t(478),
84
+ fill: "#0047a0"
85
85
  }),
86
- n(e(270), {
86
+ i(t(476), {
87
87
  cx: 15,
88
88
  cy: 12,
89
89
  r: 3,
90
- fill: e(273)
90
+ fill: t(483)
91
91
  }),
92
- n(e(270), {
92
+ i("circle", {
93
93
  cx: 21,
94
94
  cy: 12,
95
95
  r: 3,
96
- fill: "#0047a0"
96
+ fill: t(512)
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
- US: r(t, { children: [
122
- n(e(257), {
123
- width: i,
124
- height: a,
125
- fill: e(274)
121
+ US: a(r, { children: [
122
+ i(t(470), {
123
+ width: o,
124
+ height: s,
125
+ fill: t(495)
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)
132
- }, r)),
133
- n("rect", {
127
+ Array.from({ length: 7 }, (e, n) => i(t(470), {
128
+ y: n * 2 * s / 13,
129
+ width: o,
130
+ height: s / 13,
131
+ fill: t(491)
132
+ }, n)),
133
+ i(t(470), {
134
134
  width: 14.4,
135
135
  height: 168 / 13,
136
- fill: e(266)
136
+ fill: t(473)
137
137
  }),
138
- n("g", {
139
- fill: "#fff",
140
- children: Array[e(268)]({ length: 12 }, (t, r) => n(e(270), {
141
- cx: 2 + r % 4 * 3.4,
142
- cy: 1.9 + Math[e(293)](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(e(257), {
148
- width: i,
149
- height: a,
150
- fill: e(274)
151
- }), n(e(270), {
147
+ JP: a(r, { children: [i(t(470), {
148
+ width: o,
149
+ height: s,
150
+ fill: t(495)
151
+ }), i(t(476), {
152
152
  cx: 18,
153
153
  cy: 12,
154
154
  r: 7.2,
155
155
  fill: "#bc002d"
156
156
  })] }),
157
- CN: r(t, { children: [n("rect", {
158
- width: i,
159
- height: a,
160
- fill: e(261)
161
- }), r("g", {
162
- fill: "#ffde00",
157
+ CN: a(r, { children: [i(t(470), {
158
+ width: o,
159
+ height: s,
160
+ fill: "#de2910"
161
+ }), a("g", {
162
+ fill: t(509),
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)
175
- }), n("g", {
176
- fill: e(291),
177
- children: o(18, 12.6, 7.2)
171
+ VN: a(r, { children: [i(t(470), {
172
+ width: o,
173
+ height: s,
174
+ fill: t(492)
175
+ }), i("g", {
176
+ fill: t(481),
177
+ children: c(18, 12.6, 7.2)
178
178
  })] }),
179
- GB: r(t, { children: [
180
- n("rect", {
181
- width: i,
182
- height: a,
183
- fill: "#012169"
179
+ GB: a(r, { children: [
180
+ i(t(470), {
181
+ width: o,
182
+ height: s,
183
+ fill: t(494)
184
184
  }),
185
- n(e(267), {
186
- d: "M0 0L36 24M36 0L0 24",
187
- stroke: e(274),
185
+ i(t(493), {
186
+ d: t(469),
187
+ stroke: t(495),
188
188
  strokeWidth: 4.8
189
189
  }),
190
- n("path", {
190
+ i(t(493), {
191
191
  d: "M0 0L36 24M36 0L0 24",
192
- stroke: e(276),
192
+ stroke: t(496),
193
193
  strokeWidth: 1.6
194
194
  }),
195
- n("path", {
196
- d: "M18 0V24M0 12H36",
197
- stroke: e(274),
195
+ i("path", {
196
+ d: t(497),
197
+ stroke: t(495),
198
198
  strokeWidth: 8
199
199
  }),
200
- n("path", {
201
- d: e(289),
202
- stroke: e(276),
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(257), {
208
- width: i,
206
+ DE: a(r, { children: [
207
+ i("rect", {
208
+ width: o,
209
209
  height: 8,
210
- fill: e(282)
210
+ fill: t(511)
211
211
  }),
212
- n("rect", {
212
+ i(t(470), {
213
213
  y: 8,
214
- width: i,
214
+ width: o,
215
215
  height: 8,
216
- fill: e(297)
216
+ fill: t(505)
217
217
  }),
218
- n(e(257), {
218
+ i(t(470), {
219
219
  y: 16,
220
- width: i,
220
+ width: o,
221
221
  height: 8,
222
- fill: e(288)
222
+ fill: t(467)
223
223
  })
224
224
  ] }),
225
- FR: r(t, { children: [
226
- n("rect", {
225
+ FR: a(r, { children: [
226
+ i(t(470), {
227
227
  width: 12,
228
- height: a,
229
- fill: e(259)
228
+ height: s,
229
+ fill: t(488)
230
230
  }),
231
- n(e(257), {
231
+ i("rect", {
232
232
  x: 12,
233
233
  width: 12,
234
- height: a,
235
- fill: "#fff"
234
+ height: s,
235
+ fill: t(495)
236
236
  }),
237
- n(e(257), {
237
+ i(t(470), {
238
238
  x: 24,
239
239
  width: 12,
240
- height: a,
240
+ height: s,
241
241
  fill: "#ce1126"
242
242
  })
243
243
  ] })
244
244
  };
245
- function f({ code: t, size: r = 20, label: o, className: s, style: c }) {
246
- let l = e;
247
- return n(l(271), {
248
- className: [l(296), s][l(280)](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: 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),
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
  }