@iamfiro/design 0.3.2 → 0.3.5

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 (163) hide show
  1. package/agents/INDEX.md +1 -1
  2. package/agents/app-shell/AGENTS.md +99 -1
  3. package/agents/brand-icon/AGENTS.md +1 -1
  4. package/agents/social-login-button/AGENTS.md +4 -3
  5. package/lib/components/Accordion/Accordion2.js +74 -74
  6. package/lib/components/ActionBar/ActionBar2.js +44 -42
  7. package/lib/components/Alert/Alert2.js +67 -67
  8. package/lib/components/AppShell/AppShell2.js +72 -66
  9. package/lib/components/AreaChart/AreaChart.js +45 -45
  10. package/lib/components/BarChart/BarChart2.js +128 -128
  11. package/lib/components/BarList/BarList2.js +105 -105
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +63 -64
  13. package/lib/components/Calendar/Calendar2.js +197 -197
  14. package/lib/components/Calendar/DatePicker2.js +100 -100
  15. package/lib/components/Calendar/date.js +47 -70
  16. package/lib/components/Card/Card2.js +101 -74
  17. package/lib/components/CardFrame/CardFrame2.js +52 -56
  18. package/lib/components/Chart/ChartParts.js +88 -88
  19. package/lib/components/Chart/chart2.js +63 -63
  20. package/lib/components/Chart/useChartInteraction.js +43 -43
  21. package/lib/components/ChatBubble/ChatBubble2.js +111 -111
  22. package/lib/components/ChatBubble/formatChatTime.js +38 -43
  23. package/lib/components/ChatComposer/ChatComposer2.js +96 -96
  24. package/lib/components/CodeBlock/CodeBlock2.js +65 -65
  25. package/lib/components/CodeBlock/highlight.js +84 -84
  26. package/lib/components/ColorPicker/ColorPicker2.js +263 -263
  27. package/lib/components/ColorPicker/color.js +92 -92
  28. package/lib/components/ColorPicker/presets.js +35 -39
  29. package/lib/components/Combobox/Combobox2.js +134 -134
  30. package/lib/components/CommandMenu/CommandMenu.js +130 -131
  31. package/lib/components/Comment/Comment2.js +64 -63
  32. package/lib/components/ContextMenu/ContextMenu2.js +84 -84
  33. package/lib/components/DataGrid/DataGrid2.js +1182 -1180
  34. package/lib/components/DataGrid/GridPopover.js +84 -84
  35. package/lib/components/DataGrid/anchor.js +29 -28
  36. package/lib/components/DataGrid/model.js +308 -307
  37. package/lib/components/DataGrid/panels.js +398 -399
  38. package/lib/components/DataGrid/typeMeta.js +41 -40
  39. package/lib/components/DataGrid/types.js +39 -40
  40. package/lib/components/DescriptionList/DescriptionList2.js +105 -105
  41. package/lib/components/Dialog/AlertDialog.js +90 -89
  42. package/lib/components/Dialog/Dialog2.js +71 -72
  43. package/lib/components/Dialog/modal.js +62 -60
  44. package/lib/components/Drawer/Drawer2.js +167 -166
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +260 -258
  46. package/lib/components/DropdownMenu/menuCore.js +29 -28
  47. package/lib/components/Dropzone/Dropzone2.js +78 -77
  48. package/lib/components/EmptyState/EmptyState2.js +57 -57
  49. package/lib/components/FileChip/FileChip2.js +53 -77
  50. package/lib/components/FileUpload/FileUpload.js +168 -167
  51. package/lib/components/FilterChips/FilterChips2.js +60 -60
  52. package/lib/components/FunnelChart/FunnelChart2.js +174 -174
  53. package/lib/components/FunnelChart/funnel.js +44 -42
  54. package/lib/components/Highlight/Highlight2.js +55 -55
  55. package/lib/components/HoverCard/HoverCard.js +71 -96
  56. package/lib/components/InlineDiff/InlineDiff2.js +128 -129
  57. package/lib/components/InlineDiff/diff.js +79 -79
  58. package/lib/components/InlineDiff/useDiffReview.js +61 -62
  59. package/lib/components/Kanban/Kanban2.js +387 -389
  60. package/lib/components/Kanban/KanbanCard.js +84 -84
  61. package/lib/components/Kanban/move.js +32 -25
  62. package/lib/components/LineChart/LineChart2.js +228 -228
  63. package/lib/components/List/List2.js +62 -62
  64. package/lib/components/Listbox/Listbox2.js +92 -92
  65. package/lib/components/Marker/Marker2.js +50 -56
  66. package/lib/components/Menubar/Menubar2.js +117 -116
  67. package/lib/components/MultiSelect/MultiSelect2.js +111 -111
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +231 -231
  69. package/lib/components/NoticeStack/NoticeStack2.js +99 -99
  70. package/lib/components/NumberStepper/NumberStepper2.js +60 -60
  71. package/lib/components/OtpInput/OtpInput2.js +90 -89
  72. package/lib/components/Pagination/Pagination2.js +105 -105
  73. package/lib/components/Pagination/paginationRange.js +37 -37
  74. package/lib/components/PhoneInput/PhoneInput.js +75 -76
  75. package/lib/components/PieChart/PieChart2.js +166 -166
  76. package/lib/components/PieChart/arc.js +71 -69
  77. package/lib/components/PieChart/useArcTween.js +60 -62
  78. package/lib/components/Popover/Popover2.js +85 -86
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +134 -134
  80. package/lib/components/Rating/Rating2.js +90 -89
  81. package/lib/components/Resizable/Resizable2.js +128 -129
  82. package/lib/components/Resizable/layout.js +51 -51
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -48
  84. package/lib/components/ScatterChart/ScatterChart2.js +214 -213
  85. package/lib/components/ScatterChart/scatter.js +49 -52
  86. package/lib/components/ScrollArea/ScrollArea2.js +115 -117
  87. package/lib/components/Select/Select2.js +82 -82
  88. package/lib/components/Sidebar/Sidebar2.js +91 -85
  89. package/lib/components/Sidebar/rail.js +43 -0
  90. package/lib/components/Skeleton/Skeleton2.js +63 -64
  91. package/lib/components/Slider/Slider2.js +65 -66
  92. package/lib/components/SocialLoginButton/SocialLoginButton.js +76 -69
  93. package/lib/components/SparkChart/SparkChart2.js +126 -127
  94. package/lib/components/SparkChart/spark.js +66 -42
  95. package/lib/components/Sparkbar/Sparkbar2.js +60 -60
  96. package/lib/components/SplitView/SplitView2.js +51 -51
  97. package/lib/components/Stat/Stat2.js +79 -79
  98. package/lib/components/StepList/StepList2.js +75 -75
  99. package/lib/components/Table/Table2.js +71 -71
  100. package/lib/components/Tabs/Tabs2.js +74 -74
  101. package/lib/components/TagInput/TagInput2.js +223 -221
  102. package/lib/components/TimePicker/TimePicker2.js +197 -195
  103. package/lib/components/TimePicker/time.js +59 -56
  104. package/lib/components/Timeline/Timeline2.js +195 -195
  105. package/lib/components/Timeline/scale.js +64 -66
  106. package/lib/components/Toast/Toaster.js +139 -139
  107. package/lib/components/Toast/store.js +72 -76
  108. package/lib/components/ToggleGroup/ToggleGroup2.js +79 -79
  109. package/lib/components/Toolbar/Toolbar2.js +165 -164
  110. package/lib/components/Tracker/Tracker2.js +72 -72
  111. package/lib/components/TreeDiagram/TreeDiagram2.js +96 -97
  112. package/lib/components/TreeView/TreeView2.js +152 -151
  113. package/lib/hooks/timing.js +34 -36
  114. package/lib/hooks/useControllableState.js +29 -30
  115. package/lib/hooks/useCountdown.js +51 -53
  116. package/lib/hooks/useDigitInput.js +81 -55
  117. package/lib/hooks/useDismiss.js +53 -56
  118. package/lib/hooks/useElapsed.js +48 -49
  119. package/lib/hooks/useFloating.js +36 -36
  120. package/lib/hooks/useFocusTrap.js +32 -32
  121. package/lib/hooks/usePresence.js +49 -49
  122. package/lib/hooks/usePressToOpen.js +40 -40
  123. package/lib/hooks/useScrollLock.js +50 -49
  124. package/lib/hooks/useSelection.js +42 -47
  125. package/lib/index.js +138 -139
  126. package/lib/primitives/AspectRatio2.js +58 -57
  127. package/lib/primitives/BrandIcon.js +210 -179
  128. package/lib/primitives/ColorDot2.js +42 -41
  129. package/lib/primitives/CopyButton2.js +59 -58
  130. package/lib/primitives/CountBadge2.js +58 -63
  131. package/lib/primitives/Countdown2.js +38 -37
  132. package/lib/primitives/Delta2.js +37 -37
  133. package/lib/primitives/Elapsed.js +42 -40
  134. package/lib/primitives/FileIcon2.js +102 -102
  135. package/lib/primitives/Flag2.js +124 -124
  136. package/lib/primitives/IconStack2.js +45 -23
  137. package/lib/primitives/IconTile2.js +45 -41
  138. package/lib/primitives/Kbd2.js +48 -48
  139. package/lib/primitives/Layout2.js +71 -71
  140. package/lib/primitives/Link2.js +40 -42
  141. package/lib/primitives/MaskedText2.js +50 -50
  142. package/lib/primitives/Progress2.js +78 -77
  143. package/lib/primitives/RelativeTime.js +55 -58
  144. package/lib/primitives/SearchInput2.js +72 -68
  145. package/lib/primitives/SelectorButton2.js +60 -61
  146. package/lib/primitives/Spinner2.js +48 -49
  147. package/lib/primitives/StatusIcon2.js +69 -69
  148. package/lib/primitives/Swatch2.js +65 -69
  149. package/lib/primitives/Tooltip2.js +92 -92
  150. package/lib/primitives/Typography2.js +37 -37
  151. package/lib/primitives/formatCountdown.js +38 -38
  152. package/lib/primitives/formatElapsed.js +43 -45
  153. package/lib/primitives/formatRelativeTime.js +54 -54
  154. package/lib/primitives/hotkey.js +77 -77
  155. package/lib/primitives/index.js +162 -161
  156. package/lib/primitives/maskValue.js +54 -51
  157. package/lib/style.css +1 -1
  158. package/lib/types/components/AppShell/AppShell.d.ts +9 -2
  159. package/lib/types/components/Sidebar/rail.d.ts +4 -0
  160. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +1 -1
  161. package/lib/types/components/index.d.ts +1 -0
  162. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  163. package/package.json +1 -1
@@ -1,83 +1,79 @@
1
1
  "use client";
2
- (function(e, t) {
3
- let n = a, r = e();
4
- for (;;) try {
5
- if (parseInt(n(118)) / 1 * (parseInt(n(137)) / 2) + -parseInt(n(115)) / 3 * (parseInt(n(128)) / 4) + -parseInt(n(125)) / 5 + parseInt(n(139)) / 6 * (parseInt(n(119)) / 7) + -parseInt(n(131)) / 8 + -parseInt(n(122)) / 9 * (-parseInt(n(123)) / 10) + parseInt(n(138)) / 11 * (parseInt(n(121)) / 12) == t) break;
6
- r.push(r.shift());
7
- } catch {
8
- r.push(r.shift());
9
- }
10
- })(n, 951759);
11
- /* empty css */
12
- import { useEffect as e, useRef as t } from "react";
13
- function n() {
14
- let e = [
15
- "C3rHCNrZv2L0Aa",
16
- "zhmTC3DHDgnOx19Uyw1L",
17
- "C3bHBG",
18
- "z2v0uhjVCgvYDhLwywX1zq",
19
- "mty2mtm3ognnC251rG",
20
- "mtmZmZG0ou1UtxzHCq",
21
- "mtyWmduWnLrYuu9qwa",
22
- "mJGXn2vsu0rkAG",
23
- "DMfYka",
24
- "zg9JDw1LBNrfBgvTzw50",
25
- "mwn1EMHqsG",
26
- "n3rlwerJvG",
27
- "zhmTC3DHDgnOx19JAgLW",
28
- "mJuYyufQue5Q",
29
- "mZi0owf5zMDjuG",
30
- "mZmXnZbuCfHpALq",
31
- "zhmTC3DHDgnOx192ywX1zq",
32
- "nJu2nZq1nwrisgfSza",
33
- "Dgv4DenVBNrLBNq",
34
- "zMLNDxjL",
35
- "mZaZnNr2rxn4Ea",
36
- "y3vYCMvUDa",
37
- "zMLNy2fWDgLVBG",
38
- "mtq5mdy5mJbOqu5IqMK",
39
- "DhjPBq"
40
- ];
41
- return n = function() {
42
- return e;
43
- }, n();
44
- }
45
- import { jsx as r, jsxs as i } from "react/jsx-runtime";
46
- function a(e, t) {
47
- e -= 115;
48
- let r = n(), i = r[e];
49
- a.ahYsrW === void 0 && (a.pQvZXM = function(e) {
2
+ function e(t, n) {
3
+ t -= 287;
4
+ let r = o(), i = r[t];
5
+ e.pSQdql === void 0 && (e.bdJeST = function(e) {
50
6
  let t = "", n = "";
51
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);
52
8
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
53
9
  return decodeURIComponent(n);
54
- }, a.RLQfEb = {}, a.ahYsrW = !0);
55
- let o = r[0];
56
- a.poXGcU !== o && (a.RLQfEb = {}, a.poXGcU = o);
57
- let s = a.RLQfEb[e];
58
- return s === void 0 ? (i = a.pQvZXM(i), a.RLQfEb[e] = i) : i = s, i;
10
+ }, e.SGeGex = {}, e.pSQdql = !0);
11
+ let a = r[0];
12
+ e.gRHiig !== a && (e.SGeGex = {}, e.gRHiig = a);
13
+ let s = e.SGeGex[t];
14
+ return s === void 0 ? (i = e.bdJeST(i), e.SGeGex[t] = i) : i = s, i;
59
15
  }
60
- function o({ color: n, name: o, showValue: s = !0 }) {
61
- let c = a, l = n[c(133)]("--"), u = t(null);
62
- return e(() => {
16
+ (function(t, n) {
17
+ let r = e, i = t();
18
+ for (;;) try {
19
+ if (-parseInt(r(306)) / 1 + -parseInt(r(296)) / 2 + -parseInt(r(304)) / 3 + -parseInt(r(291)) / 4 + parseInt(r(301)) / 5 + -parseInt(r(305)) / 6 * (parseInt(r(297)) / 7) + parseInt(r(290)) / 8 == n) break;
20
+ i.push(i.shift());
21
+ } catch {
22
+ i.push(i.shift());
23
+ }
24
+ })(o, 610652);
25
+ /* empty css */
26
+ import { useEffect as t, useRef as n } from "react";
27
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
28
+ function a({ color: a, name: o, showValue: s = !0 }) {
29
+ let c = e, l = a[c(298)]("--"), u = n(null);
30
+ return t(() => {
63
31
  let e = c;
64
- s && u[e(129)] && (u[e(129)][e(126)] = l ? getComputedStyle(document[e(117)])[e(136)](n)[e(132)]() : n);
32
+ s && u[e(293)] && (u[e(293)][e(302)] = l ? getComputedStyle(document[e(299)])[e(288)](a)[e(292)]() : a);
65
33
  }, [
66
- n,
34
+ a,
67
35
  l,
68
36
  s
69
- ]), i(c(127), {
70
- className: "ds-swatch",
71
- children: [r(c(135), {
72
- className: c(120),
73
- style: { background: l ? c(116) + n + ")" : n }
74
- }), i(c(130), { children: [r(c(135), {
75
- className: c(134),
76
- children: o ?? n
77
- }), s && r(c(135), {
37
+ ]), i("figure", {
38
+ className: c(287),
39
+ children: [r("span", {
40
+ className: c(307),
41
+ style: { background: l ? c(300) + a + ")" : a }
42
+ }), i(c(289), { children: [r(c(294), {
43
+ className: c(295),
44
+ children: o ?? a
45
+ }), s && r(c(294), {
78
46
  ref: u,
79
- className: c(124)
47
+ className: c(303)
80
48
  })] })]
81
49
  });
82
50
  }
83
- export { o as Swatch };
51
+ function o() {
52
+ let e = [
53
+ "mta5odeYnKLNrLPQrq",
54
+ "mJy2rhb3rwr1",
55
+ "C3rHCNrZv2L0Aa",
56
+ "zg9JDw1LBNrfBgvTzw50",
57
+ "DMfYka",
58
+ "mtK1odC1vvLltfLf",
59
+ "Dgv4DenVBNrLBNq",
60
+ "zhmTC3DHDgnOx192ywX1zq",
61
+ "mJK0nZaYrwnjwKjT",
62
+ "ndiWodr1CNrbCem",
63
+ "mte5odyWnvLcyuLwEG",
64
+ "zhmTC3DHDgnOx19JAgLW",
65
+ "zhmTC3DHDgnO",
66
+ "z2v0uhjVCgvYDhLwywX1zq",
67
+ "zMLNy2fWDgLVBG",
68
+ "mJu1mtK0odbUDgveD2S",
69
+ "mJaYnda5nNPisw1Jtq",
70
+ "DhjPBq",
71
+ "y3vYCMvUDa",
72
+ "C3bHBG",
73
+ "zhmTC3DHDgnOx19Uyw1L"
74
+ ];
75
+ return o = function() {
76
+ return e;
77
+ }, o();
78
+ }
79
+ export { a as Swatch };
@@ -1,132 +1,132 @@
1
1
  "use client";
2
- const e = n;
2
+ const e = y;
3
3
  (function(e, t) {
4
- let r = n, i = e();
4
+ let n = y, r = e();
5
5
  for (;;) try {
6
- if (parseInt(r(543)) / 1 + parseInt(r(520)) / 2 * (-parseInt(r(511)) / 3) + -parseInt(r(525)) / 4 * (-parseInt(r(506)) / 5) + parseInt(r(544)) / 6 + parseInt(r(535)) / 7 * (-parseInt(r(503)) / 8) + parseInt(r(498)) / 9 * (parseInt(r(545)) / 10) + parseInt(r(531)) / 11 == t) break;
7
- i.push(i.shift());
6
+ if (-parseInt(n(289)) / 1 + parseInt(n(297)) / 2 + -parseInt(n(285)) / 3 + -parseInt(n(312)) / 4 * (-parseInt(n(311)) / 5) + parseInt(n(314)) / 6 + parseInt(n(284)) / 7 + parseInt(n(300)) / 8 == t) break;
7
+ r.push(r.shift());
8
8
  } catch {
9
- i.push(i.shift());
9
+ r.push(r.shift());
10
10
  }
11
- })(t, 852029);
12
- function t() {
13
- let e = /* @__PURE__ */ "mZzRwhLcyMy.Bw91C2u.Dg9VBhrPCerLBgf5.Bwf4.CMvTB3zLrxzLBNrmAxn0zw5LCG.ndHRr1vnyNG.Dg9VBhrPCa.yM9KEq.nZb1vfblDMu.A2v5zg93BG.ywrKrxzLBNrmAxn0zw5LCG.B2zMC2v0sgvPz2H0.AgvPz2H0.m3jcy1LtDW.AgLKzgvU.yM90Dg9T.zhmTDgLWx19IDwjIBgu.y2XLyxjuAw1LB3v0.Aw5UzxjizwLNAhq.D2LKDgG.y3vYCMvUDa.DMLZAwjSzq.mJaXnZC3ne9NCuTeEa.C3r5Bgu.DgfYz2v0.Dg9W.BM93.mJGWndi0zwXkrLzV.Dg9VBhrPCfnRAxa.Bwf0y2HLCW.Cg9PBNrLCLr5Cgu.CMLNAhq.BgvMDa.ntCYnZeXn2D3zNzrDG.Aw5UzxjxAwr0Aa.zhmTDgLW.rxnJyxbL.mtiZota3n1ngr2XzqW.BwLU.C2nYB2XS.C3bHBG.zgf0yxnLDa.A2v5.B2zMC2v0v2LKDgG.C2v0vgLTzw91Da.nZK4mtm0zvLOCKzo.mtuXmJK2nLnuueTAAG.oti2mZKWD3HTDNLx.C2LKzq.CMvZAxPL".split(".");
14
- return t = function() {
15
- return e;
16
- }, t();
17
- }
18
- function n(e, r) {
19
- e -= 498;
20
- let i = t(), a = i[e];
21
- n.KsofIW === void 0 && (n.xJMNCI = function(e) {
22
- let t = "", n = "";
23
- 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
- for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
25
- return decodeURIComponent(n);
26
- }, n.FBaBKq = {}, n.KsofIW = !0);
27
- let o = i[0];
28
- n.PjnTXT !== o && (n.FBaBKq = {}, n.PjnTXT = o);
29
- let s = n.FBaBKq[e];
30
- return s === void 0 ? (a = n.xJMNCI(a), n.FBaBKq[e] = a) : a = s, a;
31
- }
32
- import { TIMING as r } from "../hooks/timing.js";
33
- import { usePresence as i } from "../hooks/usePresence.js";
11
+ })(b, 738199);
12
+ import { TIMING as t } from "../hooks/timing.js";
13
+ import { usePresence as n } from "../hooks/usePresence.js";
34
14
  /* empty css */
35
- import { useEffect as a, useId as o, useLayoutEffect as s, useRef as c, useState as l } from "react";
36
- import { jsx as u, jsxs as d } from "react/jsx-runtime";
37
- import { createPortal as f } from "react-dom";
38
- var p = 0, m = 0, h = 0, g = 8, _ = 8, v = {
39
- top: e(513),
40
- bottom: e(523),
41
- left: e(529),
15
+ import { useEffect as r, useId as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
16
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
17
+ import { createPortal as u } from "react-dom";
18
+ var d = 0, f = 0, p = 0, m = 8, h = 8, g = {
19
+ top: "bottom",
20
+ bottom: e(318),
21
+ left: e(301),
42
22
  right: "left"
43
23
  };
44
- function y(t, n, r, i) {
45
- let a = e, o = (e) => e === a(523) || e === "bottom" ? {
46
- left: t[a(530)] + t[a(517)] / 2 - n / 2,
47
- top: e === "top" ? t[a(523)] - g - r : t[a(513)] + g
24
+ function _(t, n, r, i) {
25
+ let a = e, o = (e) => e === a(318) || e === a(310) ? {
26
+ left: t[a(293)] + t.width / 2 - n / 2,
27
+ top: e === a(318) ? t[a(318)] - m - r : t[a(310)] + m
48
28
  } : {
49
- left: e === a(530) ? t[a(530)] - g - n : t[a(529)] + g,
50
- top: t[a(523)] + t[a(510)] / 2 - r / 2
51
- }, s = ({ left: e, top: t }, i) => i === a(523) ? t >= _ : i === "bottom" ? t + r <= window[a(516)] - _ : i === a(530) ? e >= _ : e + n <= window.innerWidth - _, c = i;
52
- !s(o(c), c) && s(o(v[c]), v[c]) && (c = v[c]);
53
- let { left: l, top: u } = o(c), d = (e, t, n) => Math[a(501)](_, Math[a(536)](e, n - t - _));
29
+ left: e === a(293) ? t.left - m - n : t[a(301)] + m,
30
+ top: t[a(318)] + t[a(299)] / 2 - r / 2
31
+ }, s = ({ left: e, top: t }, i) => i === a(318) ? t >= h : i === a(310) ? t + r <= window.innerHeight - h : i === "left" ? e >= h : e + n <= window[a(319)] - h, c = i;
32
+ !s(o(c), c) && s(o(g[c]), g[c]) && (c = g[c]);
33
+ let { left: l, top: u } = o(c), d = (e, t, n) => Math[a(283)](h, Math[a(292)](e, n - t - h));
54
34
  return {
55
35
  side: c,
56
- left: d(l, n, window[a(532)]),
57
- top: d(u, r, window[a(516)])
36
+ left: d(l, n, window.innerWidth),
37
+ top: d(u, r, window[a(317)])
58
38
  };
59
39
  }
60
- function b({ content: t, side: g = "top", delay: _ = r[e(500)], children: v }) {
61
- let b = e, [x, S] = l(!1), C = c(0), w = c(!1), T = c(null), E = c(null), D = o(), { mounted: O } = i(x, 160), k = (e) => {
62
- let t = n;
63
- window[t(515)](C[t(518)]), e !== w[t(518)] && (w[t(518)] = e, m += e ? 1 : -1, e || (p = Date[t(524)]()), S(e));
40
+ function v({ content: m, side: h = "top", delay: g = t[e(286)], children: v }) {
41
+ let b = e, [x, S] = s(!1), C = o(0), w = o(!1), T = o(null), E = o(null), D = i(), { mounted: O } = n(x, 160), k = (e) => {
42
+ let t = y;
43
+ window.clearTimeout(C.current), e !== w[t(287)] && (w[t(287)] = e, f += e ? 1 : -1, e || (d = Date[t(305)]()), S(e));
64
44
  }, A = () => {
65
- let e = n;
66
- window[e(515)](C[e(518)]);
67
- let t = m > 0 || Date[e(524)]() - p < r[e(526)] ? h : 0, i = Math.max(0, _ - t), a = () => {
68
- h = t + i, k(!0);
45
+ let e = y;
46
+ window.clearTimeout(C[e(287)]);
47
+ let n = f > 0 || Date[e(305)]() - d < t[e(281)] ? p : 0, r = Math[e(283)](0, g - n), i = () => {
48
+ p = n + r, k(!0);
69
49
  };
70
- i === 0 ? a() : C[e(518)] = window[e(542)](a, i);
50
+ r === 0 ? i() : C[e(287)] = window.setTimeout(i, r);
71
51
  };
72
- return a(() => () => {
73
- let e = n;
74
- window[e(515)](C.current), w[e(518)] && m--;
75
- }, []), a(() => {
76
- let e = n;
52
+ return r(() => () => {
53
+ let e = y;
54
+ window[e(321)](C[e(287)]), w.current && f--;
55
+ }, []), r(() => {
56
+ let e = y;
77
57
  if (!x) return;
78
- let t = (t) => t[e(540)] === e(534) && k(!1);
79
- return document[e(508)](e(507), t), () => document[e(502)]("keydown", t);
80
- }), s(() => {
81
- let e = n;
58
+ let t = (t) => t[e(324)] === e(290) && k(!1);
59
+ return document[e(309)](e(304), t), () => document[e(288)](e(304), t);
60
+ }), a(() => {
61
+ let e = y;
82
62
  if (!O) return;
83
63
  let t = () => {
84
- let e = n, t = T[e(518)], r = E[e(518)];
85
- if (!t || !r) return;
86
- let i = y(t.getBoundingClientRect(), r[e(541)], r[e(509)], g);
87
- r[e(539)][e(546)] = i[e(546)], r[e(521)].left = i[e(530)] + "px", r[e(521)][e(523)] = i[e(523)] + "px", r[e(521)].visibility = e(519);
64
+ let e = y, t = T[e(287)], n = E[e(287)];
65
+ if (!t || !n) return;
66
+ let r = _(t.getBoundingClientRect(), n.offsetWidth, n[e(298)], h);
67
+ n[e(295)][e(320)] = r[e(320)], n.style[e(293)] = r[e(293)] + "px", n.style[e(318)] = r.top + "px", n.style[e(323)] = e(291);
88
68
  };
89
- return t(), window[e(508)](e(547), t), window.addEventListener(e(537), t, !0), () => {
69
+ return t(), window.addEventListener(e(316), t), window[e(309)](e(296), t, !0), () => {
90
70
  let n = e;
91
- window.removeEventListener(n(547), t), window[n(502)]("scroll", t, !0);
71
+ window[n(288)](n(316), t), window.removeEventListener(n(296), t, !0);
92
72
  };
93
73
  }, [
94
74
  O,
95
- g,
96
- t
97
- ]), a(() => {
98
- let e = n, t = E.current;
75
+ h,
76
+ m
77
+ ]), r(() => {
78
+ let e = y, t = E[e(287)];
99
79
  if (!t) return;
100
80
  if (!x) {
101
- delete t[e(539)].open;
81
+ delete t[e(295)].open;
102
82
  return;
103
83
  }
104
- let r = requestAnimationFrame(() => {
105
- r = requestAnimationFrame(() => {
106
- let e = n;
107
- t[e(539)].open = "";
84
+ let n = requestAnimationFrame(() => {
85
+ n = requestAnimationFrame(() => {
86
+ let e = y;
87
+ t[e(295)][e(313)] = "";
108
88
  });
109
89
  });
110
- return () => cancelAnimationFrame(r);
111
- }, [x, O]), d("span", {
90
+ return () => cancelAnimationFrame(n);
91
+ }, [x, O]), l("span", {
112
92
  ref: T,
113
- className: b(533),
93
+ className: b(306),
114
94
  "data-open": x || void 0,
115
95
  "aria-describedby": x ? D : void 0,
116
- onPointerEnter: (e) => e[b(528)] === b(499) && A(),
96
+ onPointerEnter: (e) => e[b(307)] === "mouse" && A(),
117
97
  onPointerLeave: () => k(!1),
118
98
  onPointerDown: () => k(!1),
119
- onFocus: (e) => e[b(522)][b(527)](":focus-visible") && k(!0),
99
+ onFocus: (e) => e[b(294)].matches(b(282)) && k(!0),
120
100
  onBlur: () => k(!1),
121
- children: [v, O && f(u(b(538), {
101
+ children: [v, O && u(c(b(308), {
122
102
  ref: E,
123
103
  id: D,
124
- className: b(514),
125
- role: b(504),
126
- "data-side": g,
127
- style: { visibility: b(512) },
128
- children: t
129
- }), document[b(505)])]
104
+ className: b(315),
105
+ role: b(302),
106
+ "data-side": h,
107
+ style: { visibility: b(322) },
108
+ children: m
109
+ }), document[b(303)])]
130
110
  });
131
111
  }
132
- export { b as Tooltip };
112
+ export { v as Tooltip };
113
+ function y(e, t) {
114
+ e -= 281;
115
+ let n = b(), r = n[e];
116
+ y.EqleXS === void 0 && (y.XiCmfJ = function(e) {
117
+ let t = "", n = "";
118
+ 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);
119
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
120
+ return decodeURIComponent(n);
121
+ }, y.uQwBfg = {}, y.EqleXS = !0);
122
+ let i = n[0];
123
+ y.MhDCZw !== i && (y.uQwBfg = {}, y.MhDCZw = i);
124
+ let a = y.uQwBfg[e];
125
+ return a === void 0 ? (r = y.XiCmfJ(r), y.uQwBfg[e] = r) : r = a, r;
126
+ }
127
+ function b() {
128
+ let e = /* @__PURE__ */ "AgLKzgvU.DMLZAwjPBgL0Eq.A2v5.Dg9VBhrPCfnRAxa.oMzVy3vZlxzPC2LIBgu.Bwf4.mJK3otu1vgP6svbJ.mZuWntC3me9eteXytG.Dg9VBhrPCerLBgf5.y3vYCMvUDa.CMvTB3zLrxzLBNrmAxn0zw5LCG.mti4ntC3qvnxsg9c.rxnJyxbL.DMLZAwjSzq.BwLU.BgvMDa.DgfYz2v0.zgf0yxnLDa.C2nYB2XS.mty2otuWmhHMsMjbDG.B2zMC2v0sgvPz2H0.AgvPz2H0.mty3odeWnejwy3fxqW.CMLNAhq.Dg9VBhrPCa.yM9KEq.A2v5zg93BG.BM93.zhmTDgLW.Cg9PBNrLCLr5Cgu.C3bHBG.ywrKrxzLBNrmAxn0zw5LCG.yM90Dg9T.ndi2odv2wxvOrwu.mJaWruzbrMn5.B3bLBG.mZeYodyYoe52u0jbsW.zhmTDgLWx19IDwjIBgu.CMvZAxPL.Aw5UzxjizwLNAhq.Dg9W.Aw5UzxjxAwr0Aa.C2LKzq.y2XLyxjuAw1LB3v0".split(".");
129
+ return b = function() {
130
+ return e;
131
+ }, b();
132
+ }
@@ -3,59 +3,59 @@ const e = t;
3
3
  (function(e, n) {
4
4
  let r = t, i = e();
5
5
  for (;;) try {
6
- if (-parseInt(r(112)) / 1 * (-parseInt(r(107)) / 2) + -parseInt(r(133)) / 3 * (-parseInt(r(126)) / 4) + parseInt(r(122)) / 5 * (parseInt(r(119)) / 6) + parseInt(r(124)) / 7 * (parseInt(r(127)) / 8) + -parseInt(r(128)) / 9 * (-parseInt(r(113)) / 10) + parseInt(r(123)) / 11 + -parseInt(r(125)) / 12 == n) break;
6
+ if (-parseInt(r(518)) / 1 * (parseInt(r(511)) / 2) + -parseInt(r(521)) / 3 * (-parseInt(r(493)) / 4) + -parseInt(r(501)) / 5 + -parseInt(r(496)) / 6 + parseInt(r(504)) / 7 * (-parseInt(r(502)) / 8) + -parseInt(r(523)) / 9 * (parseInt(r(515)) / 10) + parseInt(r(525)) / 11 * (parseInt(r(495)) / 12) == n) break;
7
7
  i.push(i.shift());
8
8
  } catch {
9
9
  i.push(i.shift());
10
10
  }
11
- })(n, 734310);
11
+ })(n, 811679);
12
+ /* empty css */
12
13
  function t(e, r) {
13
- e -= 107;
14
+ e -= 489;
14
15
  let i = n(), a = i[e];
15
- t.TIsDPC === void 0 && (t.gsdbYz = function(e) {
16
+ t.kJNefw === void 0 && (t.rWBqLS = function(e) {
16
17
  let t = "", n = "";
17
18
  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
19
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
20
  return decodeURIComponent(n);
20
- }, t.WwIskN = {}, t.TIsDPC = !0);
21
+ }, t.IPtIjC = {}, t.kJNefw = !0);
21
22
  let o = i[0];
22
- t.hpOHsL !== o && (t.WwIskN = {}, t.hpOHsL = o);
23
- let s = t.WwIskN[e];
24
- return s === void 0 ? (a = t.gsdbYz(a), t.WwIskN[e] = a) : a = s, a;
23
+ t.QYznRJ !== o && (t.IPtIjC = {}, t.QYznRJ = o);
24
+ let s = t.IPtIjC[e];
25
+ return s === void 0 ? (a = t.rWBqLS(a), t.IPtIjC[e] = a) : a = s, a;
25
26
  }
26
27
  function n() {
27
- let e = /* @__PURE__ */ "nJq2mtqYmKD4y3bOqq.mJHLvMvutei.mJmXmdC4mJrezLPssve.mJm2mJy0uevpzvff.mtC4mJy0rKrPuMHW.mty3mdG1AwTTqMLS.zhmTDgv4Dc0TywXPz24T.BNvTyMvY.zgL2.AgvHzgLUzY1Tza.mJDcBvzwCfm.C3rHCNrZv2L0Aa.C3bSAxq.C3bHBG.zhmTChjVC2uTlq.zhmTDgv4Dc0T.mJa3mZeYvKr3vNDO.AgvHzgLUzY14CW.yM9KEs1Tza.zhmTDgv4Dc0TDY0.zhmTDgv4Dc0TDg9Uzs0.m2HHD01brW.mtmWsKDLq3L6.zhmTDgv4Dc0TD3jHCc0.zhmTDgv4Dc0TC3rYDwnR.zhmTDgv4Dc0Ty2XHBxa.AgvHzgLUzY14Ba.zMLSDgvY.ndjKyLnHrvK.AM9PBG.zgvMyxvSDa.nJqYnte1wM9Mrfr3".split(".");
28
+ let e = /* @__PURE__ */ "AM9PBG.mteYodyWmKXLDeviBa.zhmTDgv4Dc0TDhj1BMnHDgu.yM9KEs1Tza.zhmTChjVC2u.nZCZmhbRu1verG.AgvHzgLUzY14CW.zhmTDgv4Da.mxDnDgDzzq.zhmTDgv4Dc0TD3jHCc0.zhmTDgv4Dc0TC3rYAwTHyMXL.odfUs3bKs1a.zgL2.ntqWow96yKTivG.C3bHBG.mtC3ndnPBKP4r2q.zhmTDgv4Dc0T.zhmTDgv4Dc0TDY0.C3bSAxq.zhmTDgv4Dc0TC3rYDwnR.mtq0nZG0yvzOq2HU.BNvTyMvY.mtK3nZzLv2XnD0S.mZeXntGXofzkt2X0za.C3rHCNrZv2L0Aa.zMLSDgvY.zhmTDgv4Dc0TBNvTzxjPyW.AgvHzgLUzY1SzW.nJaYodK5mgLRvgL0AG.ntu4odK2tePrzLn5.zhmTChjVC2uTlq.n3nNwKjoEG.AgvHzgLUzY14Ba.AgvHzgLUzY1Tza.zhmTDgv4Dc0Ty2XHBxa.zgvMyxvSDa.zhmTDgv4Dc0TDg9Uzs0".split(".");
28
29
  return n = function() {
29
30
  return e;
30
31
  }, n();
31
32
  }
32
- /* empty css */
33
33
  import { jsx as r } from "react/jsx-runtime";
34
34
  var i = {
35
35
  display: "h1",
36
36
  heading: "h2",
37
37
  body: "p",
38
- label: e(136),
39
- caption: "span",
40
- overline: e(136),
41
- number: "span",
38
+ label: e(524),
39
+ caption: e(524),
40
+ overline: e(524),
41
+ number: e(524),
42
42
  code: "code"
43
43
  };
44
- function a({ as: t, variant: n = e(109), tone: a = e(121), weight: o, align: s, truncate: c, lineClamp: l, numeric: u, wrap: d, strike: f, className: p, style: m, children: h, ...g }) {
45
- let _ = e, v = t ?? i[n[_(135)]("-")[0]] ?? _(136), y = [
46
- "ds-text",
47
- _(138) + n,
48
- a !== "default" && _(111) + a,
49
- o && _(110) + o,
50
- s && _(129) + s,
51
- c && "ds-text--truncate",
52
- l && _(116),
53
- (u || n[_(134)](_(130))) && "ds-text--numeric",
54
- d && _(114) + d,
55
- f !== void 0 && "ds-text--strikable",
56
- f && _(115),
44
+ function a({ as: t, variant: n = e(513), tone: a = "default", weight: o, align: s, truncate: c, lineClamp: l, numeric: u, wrap: d, strike: f, className: p, style: m, children: h, ...g }) {
45
+ let _ = e, v = t ?? i[n[_(491)]("-")[0]] ?? _(524), y = [
46
+ _(517),
47
+ _(489) + n,
48
+ a !== _(508) && _(509) + a,
49
+ o && _(490) + o,
50
+ s && "ds-text--align-" + s,
51
+ c && _(512),
52
+ l && _(507),
53
+ (u || n[_(497)](_(494))) && _(499),
54
+ d && _(519) + d,
55
+ f !== void 0 && _(520),
56
+ f && _(492),
57
57
  p
58
- ].filter(Boolean)[_(120)](" ");
58
+ ][_(498)](Boolean)[_(510)](" ");
59
59
  return r(v, {
60
60
  className: y,
61
61
  style: l ? {
@@ -67,12 +67,12 @@ function a({ as: t, variant: n = e(109), tone: a = e(121), weight: o, align: s,
67
67
  });
68
68
  }
69
69
  var o = {
70
- 1: e(117),
71
- 2: "heading-lg",
72
- 3: e(132),
70
+ 1: e(505),
71
+ 2: e(500),
72
+ 3: e(506),
73
73
  4: "heading-sm",
74
- 5: e(108),
75
- 6: "heading-xs"
74
+ 5: e(516),
75
+ 6: e(516)
76
76
  };
77
77
  function s({ level: e = 2, size: t, wrap: n = "balance", ...i }) {
78
78
  let s = "h" + e;
@@ -85,12 +85,12 @@ function s({ level: e = 2, size: t, wrap: n = "balance", ...i }) {
85
85
  }
86
86
  function c({ size: t = "md", className: n, ...i }) {
87
87
  let a = e;
88
- return r(a(131), {
88
+ return r(a(522), {
89
89
  className: [
90
- "ds-prose",
91
- a(137) + t,
90
+ a(514),
91
+ a(503) + t,
92
92
  n
93
- ][a(118)](Boolean)[a(120)](" "),
93
+ ].filter(Boolean).join(" "),
94
94
  ...i
95
95
  });
96
96
  }
@@ -1,50 +1,50 @@
1
1
  "use client";
2
- function e(n, r) {
3
- n -= 213;
4
- let i = t(), a = i[n];
5
- e.QVQFFU === void 0 && (e.UsMVbe = function(e) {
2
+ (function(e, n) {
3
+ let r = t, i = e();
4
+ for (;;) try {
5
+ if (-parseInt(r(313)) / 1 + parseInt(r(323)) / 2 + parseInt(r(319)) / 3 + -parseInt(r(320)) / 4 + -parseInt(r(317)) / 5 + parseInt(r(318)) / 6 + parseInt(r(322)) / 7 * (parseInt(r(321)) / 8) == n) break;
6
+ i.push(i.shift());
7
+ } catch {
8
+ i.push(i.shift());
9
+ }
10
+ })(n, 270168);
11
+ function e(e) {
12
+ let n = t, r = Math[n(324)](0, Math[n(314)](e));
13
+ if (r < 60) return r + "초";
14
+ let i = Math[n(316)](r / 3600), a = Math.floor(r % 3600 / 60), o = String(r % 60)[n(315)](2, "0");
15
+ return i > 0 ? i + ":" + String(a)[n(315)](2, "0") + ":" + o : a + ":" + o;
16
+ }
17
+ function t(e, r) {
18
+ e -= 313;
19
+ let i = n(), a = i[e];
20
+ t.brlujE === void 0 && (t.PVvTlM = function(e) {
6
21
  let t = "", n = "";
7
22
  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);
8
23
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
24
  return decodeURIComponent(n);
10
- }, e.ZnZKsM = {}, e.QVQFFU = !0);
25
+ }, t.fNMkwW = {}, t.brlujE = !0);
11
26
  let o = i[0];
12
- e.OElOYa !== o && (e.ZnZKsM = {}, e.OElOYa = o);
13
- let s = e.ZnZKsM[n];
14
- return s === void 0 ? (a = e.UsMVbe(a), e.ZnZKsM[n] = a) : a = s, a;
27
+ t.UrAYwR !== o && (t.fNMkwW = {}, t.UrAYwR = o);
28
+ let s = t.fNMkwW[e];
29
+ return s === void 0 ? (a = t.PVvTlM(a), t.fNMkwW[e] = a) : a = s, a;
15
30
  }
16
- (function(t, n) {
17
- let r = e, i = t();
18
- for (;;) try {
19
- if (-parseInt(r(218)) / 1 * (-parseInt(r(219)) / 2) + parseInt(r(213)) / 3 * (parseInt(r(222)) / 4) + parseInt(r(224)) / 5 + -parseInt(r(220)) / 6 + -parseInt(r(217)) / 7 + -parseInt(r(216)) / 8 + -parseInt(r(214)) / 9 * (parseInt(r(221)) / 10) == n) break;
20
- i.push(i.shift());
21
- } catch {
22
- i.push(i.shift());
23
- }
24
- })(t, 342839);
25
- function t() {
31
+ function n() {
26
32
  let e = [
27
- "mteYoervzu9eCW",
28
- "zMXVB3i",
29
- "mJi1otyYmfj3qMDxvq",
30
- "nJGXm3P0BvDjAq",
31
- "mtm2ndq4mu11CwfUwG",
33
+ "mJi1mJKWngfZt3bbvW",
34
+ "n1jhu0rNDG",
35
+ "nZy3nJu0wwzQwLDQ",
36
+ "Bwf4",
37
+ "mZi0mdK4CfDXDw5w",
38
+ "y2vPBa",
32
39
  "CgfKu3rHCNq",
33
- "ndy0ntmWngHnCgvADa",
34
- "ndC3mJG4rvfQr05u",
35
- "mvzgweHtsa",
36
- "mteZmJa1nhjcBMrOBG",
37
- "mJe4mdGXnhbpqu56uq",
38
- "mJbZzKPyr1m"
40
+ "zMXVB3i",
41
+ "mZKYmdaWDxf5uwPY",
42
+ "mJe4otCXoenTyvPzsa",
43
+ "mJK1nJKYy2vuzwru",
44
+ "mtGYnte2nhvVq3DODa"
39
45
  ];
40
- return t = function() {
46
+ return n = function() {
41
47
  return e;
42
- }, t();
43
- }
44
- function n(t) {
45
- let n = e, r = Math.max(0, Math.ceil(t));
46
- if (r < 60) return r + "초";
47
- let i = Math[n(223)](r / 3600), a = Math[n(223)](r % 3600 / 60), o = String(r % 60)[n(215)](2, "0");
48
- return i > 0 ? i + ":" + String(a)[n(215)](2, "0") + ":" + o : a + ":" + o;
48
+ }, n();
49
49
  }
50
- export { n as formatCountdown };
50
+ export { e as formatCountdown };