@iamfiro/design 0.1.0 → 0.3.0

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 (160) hide show
  1. package/AGENTS.md +1 -0
  2. package/agents/INDEX.md +1 -0
  3. package/agents/brand-icon/AGENTS.md +2 -2
  4. package/agents/social-login-button/AGENTS.md +156 -0
  5. package/lib/components/Accordion/Accordion2.js +135 -0
  6. package/lib/components/ActionBar/ActionBar2.js +65 -0
  7. package/lib/components/Alert/Alert2.js +131 -0
  8. package/lib/components/AppShell/AppShell2.js +94 -0
  9. package/lib/components/AreaChart/AreaChart.js +59 -0
  10. package/lib/components/BarChart/BarChart2.js +243 -0
  11. package/lib/components/BarList/BarList2.js +172 -0
  12. package/lib/components/Breadcrumb/Breadcrumb2.js +87 -0
  13. package/lib/components/Calendar/Calendar2.js +309 -0
  14. package/lib/components/Calendar/DatePicker2.js +229 -0
  15. package/lib/components/Calendar/date.js +121 -0
  16. package/lib/components/Card/Card2.js +104 -0
  17. package/lib/components/CardFrame/CardFrame2.js +72 -0
  18. package/lib/components/Chart/ChartParts.js +150 -0
  19. package/lib/components/Chart/chart2.js +96 -0
  20. package/lib/components/Chart/useChartInteraction.js +94 -0
  21. package/lib/components/ChatBubble/ChatBubble2.js +174 -0
  22. package/lib/components/ChatBubble/formatChatTime.js +53 -0
  23. package/lib/components/ChatComposer/ChatComposer2.js +153 -0
  24. package/lib/components/CodeBlock/CodeBlock2.js +93 -0
  25. package/lib/components/CodeBlock/highlight.js +114 -0
  26. package/lib/components/ColorPicker/ColorPicker2.js +610 -0
  27. package/lib/components/ColorPicker/color.js +180 -0
  28. package/lib/components/ColorPicker/presets.js +75 -0
  29. package/lib/components/Combobox/Combobox2.js +229 -0
  30. package/lib/components/CommandMenu/CommandMenu.js +267 -0
  31. package/lib/components/Comment/Comment2.js +134 -0
  32. package/lib/components/ContextMenu/ContextMenu2.js +168 -0
  33. package/lib/components/DataGrid/DataGrid2.js +1996 -0
  34. package/lib/components/DataGrid/GridPopover.js +154 -0
  35. package/lib/components/DataGrid/anchor.js +50 -0
  36. package/lib/components/DataGrid/model.js +558 -0
  37. package/lib/components/DataGrid/panels.js +703 -0
  38. package/lib/components/DataGrid/typeMeta.js +76 -0
  39. package/lib/components/DataGrid/types.js +54 -0
  40. package/lib/components/DescriptionList/DescriptionList2.js +180 -0
  41. package/lib/components/Dialog/AlertDialog.js +118 -0
  42. package/lib/components/Dialog/Dialog2.js +109 -0
  43. package/lib/components/Dialog/modal.js +92 -0
  44. package/lib/components/Drawer/Drawer2.js +244 -0
  45. package/lib/components/DropdownMenu/DropdownMenu2.js +394 -0
  46. package/lib/components/DropdownMenu/menuCore.js +63 -0
  47. package/lib/components/Dropzone/Dropzone2.js +144 -0
  48. package/lib/components/EmptyState/EmptyState2.js +72 -0
  49. package/lib/components/FileChip/FileChip2.js +118 -0
  50. package/lib/components/FileUpload/FileUpload.js +258 -0
  51. package/lib/components/FilterChips/FilterChips2.js +101 -0
  52. package/lib/components/FunnelChart/FunnelChart2.js +283 -0
  53. package/lib/components/FunnelChart/funnel.js +69 -0
  54. package/lib/components/Highlight/Highlight2.js +100 -0
  55. package/lib/components/HoverCard/HoverCard.js +134 -0
  56. package/lib/components/InlineDiff/InlineDiff2.js +215 -0
  57. package/lib/components/InlineDiff/diff.js +126 -0
  58. package/lib/components/InlineDiff/useDiffReview.js +109 -0
  59. package/lib/components/Kanban/Kanban2.js +691 -0
  60. package/lib/components/Kanban/KanbanCard.js +159 -0
  61. package/lib/components/Kanban/move.js +69 -0
  62. package/lib/components/LineChart/LineChart2.js +342 -0
  63. package/lib/components/List/List2.js +133 -0
  64. package/lib/components/Listbox/Listbox2.js +163 -0
  65. package/lib/components/Marker/Marker2.js +82 -0
  66. package/lib/components/Menubar/Menubar2.js +223 -0
  67. package/lib/components/MultiSelect/MultiSelect2.js +204 -0
  68. package/lib/components/NavigationMenu/NavigationMenu2.js +481 -0
  69. package/lib/components/NoticeStack/NoticeStack2.js +178 -0
  70. package/lib/components/NumberStepper/NumberStepper2.js +129 -0
  71. package/lib/components/OtpInput/OtpInput2.js +122 -0
  72. package/lib/components/Pagination/Pagination2.js +210 -0
  73. package/lib/components/Pagination/paginationRange.js +53 -0
  74. package/lib/components/PhoneInput/PhoneInput.js +175 -0
  75. package/lib/components/PieChart/PieChart2.js +246 -0
  76. package/lib/components/PieChart/arc.js +66 -0
  77. package/lib/components/PieChart/useArcTween.js +94 -0
  78. package/lib/components/Popover/Popover2.js +112 -0
  79. package/lib/components/ProgressTracker/ProgressTracker2.js +226 -0
  80. package/lib/components/Rating/Rating2.js +186 -0
  81. package/lib/components/Resizable/Resizable2.js +236 -0
  82. package/lib/components/Resizable/layout.js +115 -0
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +100 -0
  84. package/lib/components/ScatterChart/ScatterChart2.js +356 -0
  85. package/lib/components/ScatterChart/scatter.js +83 -0
  86. package/lib/components/ScrollArea/ScrollArea2.js +218 -0
  87. package/lib/components/Select/Select2.js +153 -0
  88. package/lib/components/Sidebar/Sidebar2.js +127 -0
  89. package/lib/components/Skeleton/Skeleton2.js +91 -0
  90. package/lib/components/Slider/Slider2.js +142 -0
  91. package/lib/components/SocialLoginButton/SocialLoginButton.js +85 -0
  92. package/lib/components/SparkChart/SparkChart2.js +217 -0
  93. package/lib/components/SparkChart/spark.js +76 -0
  94. package/lib/components/Sparkbar/Sparkbar2.js +111 -0
  95. package/lib/components/SplitView/SplitView2.js +95 -0
  96. package/lib/components/Stat/Stat2.js +164 -0
  97. package/lib/components/StepList/StepList2.js +131 -0
  98. package/lib/components/Table/Table2.js +104 -0
  99. package/lib/components/Tabs/Tabs2.js +131 -0
  100. package/lib/components/TagInput/TagInput2.js +360 -0
  101. package/lib/components/TimePicker/TimePicker2.js +388 -0
  102. package/lib/components/TimePicker/time.js +83 -0
  103. package/lib/components/Timeline/Timeline2.js +369 -0
  104. package/lib/components/Timeline/scale.js +83 -0
  105. package/lib/components/Toast/Toaster.js +212 -0
  106. package/lib/components/Toast/store.js +129 -0
  107. package/lib/components/ToggleGroup/ToggleGroup2.js +125 -0
  108. package/lib/components/Toolbar/Toolbar2.js +281 -0
  109. package/lib/components/Tracker/Tracker2.js +172 -0
  110. package/lib/components/TreeDiagram/TreeDiagram2.js +223 -0
  111. package/lib/components/TreeView/TreeView2.js +284 -0
  112. package/lib/hooks/timing.js +55 -0
  113. package/lib/hooks/useControllableState.js +49 -0
  114. package/lib/hooks/useCountdown.js +80 -0
  115. package/lib/hooks/useDigitInput.js +105 -0
  116. package/lib/hooks/useDismiss.js +71 -0
  117. package/lib/hooks/useElapsed.js +83 -0
  118. package/lib/hooks/useFloating.js +70 -0
  119. package/lib/hooks/useFocusTrap.js +61 -0
  120. package/lib/hooks/usePresence.js +60 -0
  121. package/lib/hooks/usePressToOpen.js +69 -0
  122. package/lib/hooks/useScrollLock.js +70 -0
  123. package/lib/hooks/useSelection.js +68 -0
  124. package/lib/index.js +175 -17911
  125. package/lib/primitives/AspectRatio2.js +80 -0
  126. package/lib/primitives/BrandIcon.js +245 -0
  127. package/lib/primitives/ColorDot2.js +70 -0
  128. package/lib/primitives/CopyButton2.js +85 -0
  129. package/lib/primitives/CountBadge2.js +78 -0
  130. package/lib/primitives/Countdown2.js +65 -0
  131. package/lib/primitives/Delta2.js +67 -0
  132. package/lib/primitives/Elapsed.js +62 -0
  133. package/lib/primitives/FileIcon2.js +125 -0
  134. package/lib/primitives/Flag2.js +263 -0
  135. package/lib/primitives/IconStack2.js +85 -0
  136. package/lib/primitives/IconTile2.js +68 -0
  137. package/lib/primitives/Kbd2.js +88 -0
  138. package/lib/primitives/Layout2.js +118 -0
  139. package/lib/primitives/Link2.js +53 -0
  140. package/lib/primitives/MaskedText2.js +120 -0
  141. package/lib/primitives/Progress2.js +137 -0
  142. package/lib/primitives/RelativeTime.js +84 -0
  143. package/lib/primitives/SearchInput2.js +84 -0
  144. package/lib/primitives/SelectorButton2.js +97 -0
  145. package/lib/primitives/Spinner2.js +98 -0
  146. package/lib/primitives/StatusIcon2.js +126 -0
  147. package/lib/primitives/Swatch2.js +79 -0
  148. package/lib/primitives/Tooltip2.js +132 -0
  149. package/lib/primitives/Typography2.js +97 -0
  150. package/lib/primitives/formatCountdown.js +51 -0
  151. package/lib/primitives/formatElapsed.js +66 -0
  152. package/lib/primitives/formatRelativeTime.js +64 -0
  153. package/lib/primitives/hotkey.js +94 -0
  154. package/lib/primitives/index.js +352 -0
  155. package/lib/primitives/maskValue.js +65 -0
  156. package/lib/style.css +1 -1
  157. package/lib/types/components/SocialLoginButton/SocialLoginButton.d.ts +10 -0
  158. package/lib/types/components/index.d.ts +2 -0
  159. package/lib/types/primitives/BrandIcon.d.ts +1 -1
  160. package/package.json +2 -1
@@ -0,0 +1,104 @@
1
+ "use client";
2
+ var e = c;
3
+ (function(e, t) {
4
+ for (var n = c, r = e();;) try {
5
+ if (parseInt(n(341)) / 1 + parseInt(n(352)) / 2 * (-parseInt(n(349)) / 3) + -parseInt(n(339)) / 4 * (-parseInt(n(332)) / 5) + parseInt(n(351)) / 6 + -parseInt(n(353)) / 7 + -parseInt(n(348)) / 8 + -parseInt(n(354)) / 9 * (-parseInt(n(355)) / 10) == t) break;
6
+ r.push(r.shift());
7
+ } catch {
8
+ r.push(r.shift());
9
+ }
10
+ })(d, 475930);
11
+ import { AspectRatio as t } from "../../primitives/AspectRatio2.js";
12
+ import { cx as n } from "../../primitives/index.js";
13
+ /* empty css */
14
+ import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
15
+ function o({ as: e, variant: t = "default", padding: r = "md", interactive: a, selected: o, className: s, children: l, ...u }) {
16
+ var d = c;
17
+ return i(e ?? "div", {
18
+ className: n("ds-card", "ds-card--" + t, d(338) + r, a && d(340), s),
19
+ "data-selectable": o !== void 0 || void 0,
20
+ "data-selected": o || void 0,
21
+ ...u,
22
+ children: l
23
+ });
24
+ }
25
+ function s({ title: e, description: t, eyebrow: o, icon: s, actions: l, children: u, className: d }) {
26
+ var f = c;
27
+ return a(f(337), {
28
+ className: n(f(344), d),
29
+ children: [
30
+ s && i("div", {
31
+ className: "ds-card__icon",
32
+ children: s
33
+ }),
34
+ i("div", {
35
+ className: f(343),
36
+ children: u ?? a(r, { children: [
37
+ o && i("div", {
38
+ className: f(342),
39
+ children: o
40
+ }),
41
+ e && i(f(337), {
42
+ className: "ds-card__title",
43
+ children: e
44
+ }),
45
+ t && i(f(337), {
46
+ className: f(356),
47
+ children: t
48
+ })
49
+ ] })
50
+ }),
51
+ l && i(f(337), {
52
+ className: f(331),
53
+ children: l
54
+ })
55
+ ]
56
+ });
57
+ }
58
+ function c(e, t) {
59
+ e -= 331;
60
+ var n = d(), r = n[e];
61
+ c.hHXqyN === void 0 && (c.foswYD = function(e) {
62
+ for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
63
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
64
+ return decodeURIComponent(r);
65
+ }, c.jcLUnf = {}, c.hHXqyN = !0);
66
+ var i = n[0];
67
+ c.iidrhW !== i && (c.jcLUnf = {}, c.iidrhW = i);
68
+ var a = c.jcLUnf[e];
69
+ return a === void 0 ? (r = c.foswYD(r), c.jcLUnf[e] = r) : r = a, r;
70
+ }
71
+ function l({ children: e, className: t, style: r }) {
72
+ var a = c;
73
+ return i(a(337), {
74
+ className: n(a(350), t),
75
+ style: r,
76
+ children: e
77
+ });
78
+ }
79
+ function u({ children: t, align: r = e(334), divided: a, band: o, className: s }) {
80
+ var c = e;
81
+ return i(c(337), {
82
+ className: n(c(346), c(347) + r, a && c(333), o && c(336), s),
83
+ children: t
84
+ });
85
+ }
86
+ function d() {
87
+ var e = /* @__PURE__ */ "mJbHEhnNsgu.zhmTy2fYzf9FzgvZy3jPChrPB24.twvKAwe.zhmTy2fYzf9FBwvKAwe.zhmTy2fYzf9Fywn0Aw9UCW.mte5otvOrwHOB1i.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.zw5K.qM9KEq.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.zgL2.zhmTy2fYzc0TCgfKlq.mti0nenHuwDwyW.zhmTy2fYzc0TAw50zxjHy3rPDMu.mZq4mtyWwK1WA1zA.zhmTy2fYzf9FzxLLyNjVDW.zhmTy2fYzf9FAgvHzgLUzW.zhmTy2fYzf9FAgvHzgvY.sgvHzgvY.zhmTy2fYzf9FzM9VDgvY.zhmTy2fYzf9FzM9VDgvYls0.ndu5odyWmfDHCgP6tG.nJLbCfb1A1y.zhmTy2fYzf9FyM9KEq.mtaXoda2ofP4rvP0DW.oda5nZrZuMPNs1a.mJyYota4mxz1Dfvuzq.ndKYmti1neDxyNHktq".split(".");
88
+ return d = function() {
89
+ return e;
90
+ }, d();
91
+ }
92
+ function f({ children: r, ratio: a, className: o }) {
93
+ var s = e;
94
+ return a === void 0 ? i(s(337), {
95
+ className: n(s(358), o),
96
+ children: r
97
+ }) : i(t, {
98
+ ratio: a,
99
+ className: n(s(358), o),
100
+ children: r
101
+ });
102
+ }
103
+ o[e(345)] = s, o[e(335)] = l, o.Footer = u, o[e(357)] = f;
104
+ export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, f as CardMedia };
@@ -0,0 +1,72 @@
1
+ "use client";
2
+ (function(e, n) {
3
+ for (var r = t, i = e();;) try {
4
+ if (parseInt(r(222)) / 1 * (-parseInt(r(226)) / 2) + parseInt(r(234)) / 3 * (parseInt(r(218)) / 4) + -parseInt(r(228)) / 5 * (parseInt(r(225)) / 6) + parseInt(r(230)) / 7 * (-parseInt(r(219)) / 8) + parseInt(r(223)) / 9 * (-parseInt(r(229)) / 10) + -parseInt(r(221)) / 11 * (parseInt(r(235)) / 12) + parseInt(r(220)) / 13 * (parseInt(r(233)) / 14) == n) break;
5
+ i.push(i.shift());
6
+ } catch {
7
+ i.push(i.shift());
8
+ }
9
+ })(n, 403677);
10
+ import { cx as e } from "../../primitives/index.js";
11
+ function t(e, r) {
12
+ e -= 218;
13
+ var i = n(), a = i[e];
14
+ t.rokZlj === void 0 && (t.PqfiWB = function(e) {
15
+ for (var t = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=", n = "", r = "", i = 0, a, o, s = 0; o = e.charAt(s++); ~o && (a = i % 4 ? a * 64 + o : o, i++ % 4) && (n += String.fromCharCode(255 & a >> (-2 * i & 6)))) o = t.indexOf(o);
16
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
17
+ return decodeURIComponent(r);
18
+ }, t.PJpIQR = {}, t.rokZlj = !0);
19
+ var o = i[0];
20
+ t.ESVpBA !== o && (t.PJpIQR = {}, t.ESVpBA = o);
21
+ var s = t.PJpIQR[e];
22
+ return s === void 0 ? (a = t.PqfiWB(a), t.PJpIQR[e] = a) : a = s, a;
23
+ }
24
+ function n() {
25
+ var e = [
26
+ "mtm1nurrDLjfsG",
27
+ "mtb5yNnmuK8",
28
+ "mJi0mZiZngfPsNP4uG",
29
+ "zhmTy2fYzc1MCMfTzv9Fy29UDgvUDa",
30
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
31
+ "mJHcwerQA2C",
32
+ "m2HADgXjyW",
33
+ "mtjbBxziuMW",
34
+ "mta0ntCXmNrJwxzRzW",
35
+ "mtzLr091y1e",
36
+ "mta1ndCYmZHvyujvANm",
37
+ "mJaYodGXohLsywXlqq",
38
+ "ndu3C2viyxPx",
39
+ "ndu3nJC2mu9VCLLXva",
40
+ "zhmTy2fYzc1MCMfTzq",
41
+ "mJiZmMrMtM5ACa",
42
+ "mJaWrxDkAgfz",
43
+ "zgL2"
44
+ ];
45
+ return n = function() {
46
+ return e;
47
+ }, n();
48
+ }
49
+ /* empty css */
50
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
51
+ function a({ header: n, footer: a, children: o, className: s, ...c }) {
52
+ var l = t;
53
+ return i(l(227), {
54
+ className: e(l(224), s),
55
+ ...c,
56
+ children: [
57
+ n != null && r("div", {
58
+ className: "ds-card-frame__bar ds-card-frame__bar--header",
59
+ children: n
60
+ }),
61
+ r(l(227), {
62
+ className: l(231),
63
+ children: o
64
+ }),
65
+ a != null && r(l(227), {
66
+ className: l(232),
67
+ children: a
68
+ })
69
+ ]
70
+ });
71
+ }
72
+ export { a as CardFrame };
@@ -0,0 +1,150 @@
1
+ "use client";
2
+ const e = c;
3
+ (function(e, t) {
4
+ let n = c, r = e();
5
+ for (;;) try {
6
+ if (-parseInt(n(258)) / 1 * (parseInt(n(255)) / 2) + parseInt(n(267)) / 3 + -parseInt(n(256)) / 4 * (parseInt(n(265)) / 5) + -parseInt(n(249)) / 6 * (parseInt(n(270)) / 7) + parseInt(n(263)) / 8 * (-parseInt(n(262)) / 9) + -parseInt(n(259)) / 10 * (parseInt(n(260)) / 11) + -parseInt(n(276)) / 12 * (-parseInt(n(261)) / 13) == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(p, 971091);
12
+ import { Text as t } from "../../primitives/Typography2.js";
13
+ import { ColorDot as n } from "../../primitives/ColorDot2.js";
14
+ import { Inline as r, Separator as i, Stack as a } from "../../primitives/Layout2.js";
15
+ import { Card as o, CardBody as s } from "../Card/Card2.js";
16
+ /* empty css */
17
+ function c(e, t) {
18
+ e -= 248;
19
+ let n = p(), r = n[e];
20
+ c.ATPdkx === void 0 && (c.lVFlRD = function(e) {
21
+ let t = "", n = "";
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);
23
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
24
+ return decodeURIComponent(n);
25
+ }, c.PZCXRw = {}, c.ATPdkx = !0);
26
+ let i = n[0];
27
+ c.MaeYyI !== i && (c.PZCXRw = {}, c.MaeYyI = i);
28
+ let a = c.PZCXRw[e];
29
+ return a === void 0 ? (r = c.lVFlRD(r), c.PZCXRw[e] = r) : r = a, r;
30
+ }
31
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
32
+ function f({ title: e, leading: n, value: f, rows: p, footer: h }) {
33
+ let g = c;
34
+ return u(o, {
35
+ variant: g(272),
36
+ padding: "sm",
37
+ children: u(s, { children: d(a, {
38
+ gap: 2,
39
+ children: [
40
+ (e != null || n != null || f != null) && d(l, { children: [d(r, {
41
+ justify: g(257),
42
+ gap: 6,
43
+ wrap: !1,
44
+ children: [d(r, {
45
+ gap: 2,
46
+ wrap: !1,
47
+ children: [n, e != null && u(t, {
48
+ variant: g(251),
49
+ as: "div",
50
+ children: e
51
+ })]
52
+ }), f != null && u(t, {
53
+ variant: "heading-xs",
54
+ as: "div",
55
+ numeric: !0,
56
+ children: f
57
+ })]
58
+ }), u(i, {})] }),
59
+ u(a, {
60
+ gap: 1,
61
+ children: p[g(271)]((e) => u(m, { row: e }, e[g(274)]))
62
+ }),
63
+ h && d(l, { children: [u(i, {}), u(m, {
64
+ row: h,
65
+ strong: !0
66
+ })] })
67
+ ]
68
+ }) })
69
+ });
70
+ }
71
+ function p() {
72
+ let e = /* @__PURE__ */ "ndyYD3Lzu3nH.zw5K.AgvHzgLUzY14CW.Aw5SAw5L.DgvYDgLHCNK.BgfIzwWTC20.mtGYmJi2mMPUBNL6zq.mZiZndiWvev0werR.yMv0D2vLBG.mw5py0zWqW.mJiXmhDSr0XsrG.mZq0nJnhBxryvxi.mtnetKjIrMi.nZjKz21dsuu.mtq5ntq3mLbrvwDAEq.yM9KEs1ZBq.otvgugjTuMG.y29SB3i.nty2mdG3murusfnoDG.zgvMyxvSDa.C2vJB25Kyxj5.nZeYntnQs1zhqwK.BwfW.CMfPC2vK.zgv0ywLS.A2v5.DMfSDwu.ntqWmZC4otzADNHYrKy.BgfIzwW".split(".");
73
+ return p = function() {
74
+ return e;
75
+ }, p();
76
+ }
77
+ function m({ row: e, strong: i }) {
78
+ let a = c;
79
+ return d(r, {
80
+ justify: a(257),
81
+ gap: 6,
82
+ wrap: !1,
83
+ children: [d(r, {
84
+ gap: 2,
85
+ wrap: !1,
86
+ children: [!i && u(n, { color: e[a(266)] }), u(t, {
87
+ variant: a(264),
88
+ tone: i ? a(268) : "secondary",
89
+ children: e[a(248)]
90
+ })]
91
+ }), u(t, {
92
+ variant: a(254),
93
+ numeric: !0,
94
+ children: e.value
95
+ })]
96
+ });
97
+ }
98
+ function h({ items: i, layout: o = e(252), focused: s = null, onFocusChange: c }) {
99
+ let l = e, f = (e) => l(s === null || s === e ? 269 : 253);
100
+ return o === "list" ? u(a, {
101
+ gap: 2,
102
+ onPointerLeave: () => c?.(null),
103
+ children: i[l(271)]((e) => d(r, {
104
+ justify: l(257),
105
+ gap: 6,
106
+ wrap: !1,
107
+ onPointerEnter: () => c?.(e.key),
108
+ children: [d(r, {
109
+ gap: 2,
110
+ wrap: !1,
111
+ children: [u(n, { color: e[l(266)] }), u(t, {
112
+ variant: l(264),
113
+ tone: f(e[l(274)]),
114
+ children: e[l(248)]
115
+ })]
116
+ }), (e.value != null || e.detail != null) && d(r, {
117
+ gap: 4,
118
+ wrap: !1,
119
+ children: [e[l(275)] != null && u(t, {
120
+ variant: "label-sm",
121
+ numeric: !0,
122
+ tone: s === null || s === e[l(274)] ? l(268) : l(253),
123
+ children: e[l(275)]
124
+ }), e[l(273)] != null && u(t, {
125
+ as: "span",
126
+ variant: l(264),
127
+ numeric: !0,
128
+ align: l(250),
129
+ tone: "tertiary",
130
+ className: "ds-chart-legend__detail",
131
+ children: e.detail
132
+ })]
133
+ })]
134
+ }, e[l(274)]))
135
+ }) : u(r, {
136
+ gap: 4,
137
+ onPointerLeave: () => c?.(null),
138
+ children: i[l(271)]((e) => d(r, {
139
+ gap: 2,
140
+ wrap: !1,
141
+ onPointerEnter: () => c?.(e[l(274)]),
142
+ children: [u(n, { color: e[l(266)] }), u(t, {
143
+ variant: l(264),
144
+ tone: f(e[l(274)]),
145
+ children: e[l(248)]
146
+ })]
147
+ }, e[l(274)]))
148
+ });
149
+ }
150
+ export { h as ChartLegend, f as ChartTooltip };
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ const e = t;
3
+ function t(e, r) {
4
+ e -= 117;
5
+ let i = n(), a = i[e];
6
+ t.DiKeqR === void 0 && (t.ZWHHOt = function(e) {
7
+ let t = "", n = "";
8
+ 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);
9
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
+ return decodeURIComponent(n);
11
+ }, t.YDkxKb = {}, t.DiKeqR = !0);
12
+ let o = i[0];
13
+ t.atzLif !== o && (t.YDkxKb = {}, t.atzLif = o);
14
+ let s = t.YDkxKb[e];
15
+ return s === void 0 ? (a = t.ZWHHOt(a), t.YDkxKb[e] = a) : a = s, a;
16
+ }
17
+ (function(e, n) {
18
+ let r = t, i = e();
19
+ for (;;) try {
20
+ if (-parseInt(r(150)) / 1 * (-parseInt(r(135)) / 2) + parseInt(r(130)) / 3 + -parseInt(r(126)) / 4 * (-parseInt(r(118)) / 5) + parseInt(r(149)) / 6 + -parseInt(r(153)) / 7 * (-parseInt(r(127)) / 8) + -parseInt(r(144)) / 9 + parseInt(r(119)) / 10 * (-parseInt(r(140)) / 11) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(n, 100953);
26
+ function n() {
27
+ let e = /* @__PURE__ */ "mti0nen6yMjJsG.mJK2svLjDuTg.A28Ts1i.C21VB3rO.mZyYnte0vunuugv6.BgvUz3rO.y29TCgfJDa.AM9PBG.zMXVB3i.mtzdBuDeru8.zNjVBq.DMfYkc0TD2fYBMLUzY1ZB2z0kq.DMfYkc0Ty2HHCNqTyxHPCYK.Bg9Nmta.mJjNqw5TCwC.y2vPBa.BNvTyMvY.DMfYka.ndCZmdmXzvrrEgjO.AxngAw5PDgu.ls1JAgfYDc0.DMfYkc0TzgfUz2vYlxnVzNqP.zMLUza.mte0otK4nfnOrhDjEq.mJm5nNvnAwzNzq.DMfYkc0TC3vYzMfJzs1Hy3rPDMuP.BwfW.mZaWmdL6AKnoDLO.CMv2zxjZzq.mJKXnwXOrevzAG.mJu5mdq1mhbNAMjNAq.DMfYkc0TzgfUz2vYkq.CM91BMq.tNvTyMvYrM9YBwf0.zM9YBwf0.Bwf4.BwLU".split(".");
28
+ return n = function() {
29
+ return e;
30
+ }, n();
31
+ }
32
+ var r = new Intl[e(122)](e(128)), i = new Intl[e(122)](e(128), {
33
+ notation: e(132),
34
+ maximumFractionDigits: 1
35
+ }), a = (t) => r[e(123)](t), o = (t) => i[e(123)](t), s = (t) => Math[e(121)](t * 1e3) / 10 + "%", c = (t, n) => {
36
+ let r = e, i = t ?? r(146) + (n % 6 + 1);
37
+ return i.startsWith("--") ? r(143) + i + ")" : i;
38
+ }, l = (t, n) => {
39
+ let r = e, i = t?.[n];
40
+ return typeof i === r(142) && Number[r(145)](i) ? i : null;
41
+ };
42
+ function u(t, n) {
43
+ let r = e, i = Math[r(124)](1, n - 1);
44
+ if (t <= 0) return Array[r(136)]({ length: i + 1 }, (e, t) => t);
45
+ let a = t / i, o = 10 ** Math[r(134)](Math[r(139)](a)), s = ([
46
+ 1,
47
+ 1.5,
48
+ 2,
49
+ 2.5,
50
+ 3,
51
+ 5,
52
+ 10
53
+ ][r(148)]((e) => e * o >= a) ?? 10) * o;
54
+ return Array[r(136)]({ length: i + 1 }, (e, t) => t * s);
55
+ }
56
+ var d = (t) => Math[e(124)](...t[e(152)]((t) => t[e(131)])) * 7 + 14, f = (t, n, r = 110) => Math.max(1, Math[e(141)](t / Math[e(124)](1, Math.floor(n / r)))), p = (t, n) => n === e(129) && t[e(131)] > 2 ? m(t) : t.map(([e, t], n) => (n ? "L" : "M") + e + "," + t)[e(133)]("");
57
+ function m(t) {
58
+ let n = e, r = t[n(131)], i = t.slice(0, -1).map(([e, n], r) => (t[r + 1][1] - n) / (t[r + 1][0] - e)), a = t[n(152)]((e, t) => t === 0 ? i[0] : t === r - 1 ? i[r - 2] : i[t - 1] * i[t] <= 0 ? 0 : (i[t - 1] + i[t]) / 2);
59
+ for (let e = 0; e < r - 1; e++) {
60
+ if (i[e] === 0) {
61
+ a[e] = a[e + 1] = 0;
62
+ continue;
63
+ }
64
+ let t = a[e] / i[e], n = a[e + 1] / i[e], r = t * t + n * n;
65
+ if (r > 9) {
66
+ let o = 3 / Math.sqrt(r);
67
+ a[e] = o * t * i[e], a[e + 1] = o * n * i[e];
68
+ }
69
+ }
70
+ let o = "M" + t[0][0] + "," + t[0][1];
71
+ for (let e = 0; e < r - 1; e++) {
72
+ let n = (t[e + 1][0] - t[e][0]) / 3;
73
+ o += "C" + (t[e][0] + n) + "," + (t[e][1] + a[e] * n) + " " + (t[e + 1][0] - n) + "," + (t[e + 1][1] - a[e + 1] * n) + " " + t[e + 1][0] + "," + t[e + 1][1];
74
+ }
75
+ return o;
76
+ }
77
+ function h(t, n, r, i, a) {
78
+ let o = e, s = Math[o(124)](0, Math[o(125)](a, r / 2, i));
79
+ return "M" + t + "," + (n + i) + "V" + (n + s) + "Q" + t + "," + n + " " + (t + s) + "," + n + "H" + (t + r - s) + "Q" + (t + r) + "," + n + " " + (t + r) + "," + (n + s) + "V" + (n + i) + "Z";
80
+ }
81
+ var g = {
82
+ neutral: e(151),
83
+ accent: "var(--accent-soft)",
84
+ warning: e(137),
85
+ danger: e(147)
86
+ }, _ = {
87
+ neutral: e(138),
88
+ accent: "var(--accent)",
89
+ warning: "var(--warning)",
90
+ danger: e(120)
91
+ }, v = (t, n) => t[e(131)] ? p(t, n) : "";
92
+ function y(t, n, r) {
93
+ let i = e;
94
+ return t[i(131)] ? "" + p(t, r) + p([...n][i(117)](), r).replace(/^M/, "L") + "Z" : "";
95
+ }
96
+ export { g as CHART_TONE_SOFT, _ as CHART_TONE_STRONG, d as axisGutter, y as bandPath, h as barPath, c as chartColor, o as formatCompact, a as formatNumber, s as formatPercent, f as labelStep, v as linePath, u as niceTicks, l as numberAt };
@@ -0,0 +1,94 @@
1
+ "use client";
2
+ const e = t;
3
+ function t(e, r) {
4
+ e -= 333;
5
+ let i = n(), a = i[e];
6
+ t.uxmFPO === void 0 && (t.cBczNr = function(e) {
7
+ let t = "", n = "";
8
+ 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);
9
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
+ return decodeURIComponent(n);
11
+ }, t.OrzuxQ = {}, t.uxmFPO = !0);
12
+ let o = i[0];
13
+ t.VjIWYk !== o && (t.OrzuxQ = {}, t.VjIWYk = o);
14
+ let s = t.OrzuxQ[e];
15
+ return s === void 0 ? (a = t.cBczNr(a), t.OrzuxQ[e] = a) : a = s, a;
16
+ }
17
+ function n() {
18
+ let e = /* @__PURE__ */ "BwLU.B2jZzxj2zq.mLPSCvzmwq.Ag92zxjhCMfJzq.mJa1mJmXnM1mBK9PsG.mZG1mZCYmMDAqNHlvG.mtaZnJy5ntbKwuzyDLC.B2zMC2v0sgvPz2H0.y2XLyxjuAw1LB3v0.offuzKnktq.Bwf4.B2zMC2v0v2LKDgG.mtKWodrAs2juqM0.qxjYB3DsAwDODa.C2v0vgLTzw91Da.mtGZmdC4m1jyvgvMBa.qxjYB3DvCa.y2XPzw50v2LKDgG.qxjYB3Dmzwz0.oMzVy3vZlxzPC2LIBgu.ChjLDMvUDerLzMf1Bhq.BgfZDa.nJeYmZK0mKfZEMXewq.rxnJyxbL.y3vYCMvUDa.zMLYC3q.nJe5ntvHzMPZCMy.nde1rvfoz3zM.rw5K.A2v5".split(".");
19
+ return n = function() {
20
+ return e;
21
+ }, n();
22
+ }
23
+ (function(e, n) {
24
+ let r = t, i = e();
25
+ for (;;) try {
26
+ if (parseInt(r(356)) / 1 * (parseInt(r(362)) / 2) + -parseInt(r(345)) / 3 + -parseInt(r(342)) / 4 * (parseInt(r(357)) / 5) + parseInt(r(335)) / 6 + -parseInt(r(334)) / 7 * (-parseInt(r(339)) / 8) + -parseInt(r(352)) / 9 + parseInt(r(336)) / 10 == n) break;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(n, 347433);
32
+ import { TIMING as r } from "../../hooks/timing.js";
33
+ import { useControllableState as i } from "../../hooks/useControllableState.js";
34
+ import { useEffect as a, useLayoutEffect as o, useRef as s, useState as c } from "react";
35
+ function l({ count: n, activeIndex: l, defaultActiveIndex: u = null, onActiveIndexChange: d, initialKeyboardIndex: f = e(351) }) {
36
+ let p = e, [m, h] = i(l, u, d), g = s(null), _ = s(null), [v, y] = c(0), [b, x] = c({
37
+ w: 0,
38
+ h: 0
39
+ }), S = s(void 0);
40
+ o(() => {
41
+ let e = t, n = g[e(354)], r = _[e(354)];
42
+ if (!n) return;
43
+ let i = new ResizeObserver(() => {
44
+ let t = e;
45
+ y(n.clientWidth), r && x((e) => e.w === r[t(341)] && e.h === r[t(337)] ? e : {
46
+ w: r.offsetWidth,
47
+ h: r[t(337)]
48
+ });
49
+ });
50
+ return i.observe(n), r && i[e(361)](r), y(n[e(347)]), () => i.disconnect();
51
+ }, []), a(() => () => window[p(338)](S[p(354)]), []);
52
+ let C = m !== null && m < n, [w, T] = c(m);
53
+ C && m !== w && T(m);
54
+ let E = w !== null && w < n ? w : null, [D, O] = c(!1);
55
+ return !C && D && O(!1), a(() => {
56
+ if (!C) return;
57
+ let e = requestAnimationFrame(() => e = requestAnimationFrame(() => O(!0)));
58
+ return () => cancelAnimationFrame(e);
59
+ }, [C]), {
60
+ active: m,
61
+ setActive: h,
62
+ open: C,
63
+ shown: E,
64
+ settled: D,
65
+ width: v,
66
+ tipRef: _,
67
+ tipSize: b,
68
+ hover: (e) => {
69
+ let t = p;
70
+ window[t(338)](S[t(354)]), e !== m && h(e);
71
+ },
72
+ leave: () => {
73
+ let e = p;
74
+ window[e(338)](S[e(354)]), S[e(354)] = window[e(344)](() => h(null), r[e(333)]);
75
+ },
76
+ plotProps: {
77
+ ref: g,
78
+ tabIndex: 0,
79
+ role: "group",
80
+ onKeyDown: (e) => {
81
+ let t = p;
82
+ if (!n) return;
83
+ let r = m ?? (f === t(355) ? 0 : n - 1), i = e[t(359)] === t(343) || e[t(359)] === "ArrowDown" ? Math[t(360)](n - 1, r + 1) : e[t(359)] === t(348) || e[t(359)] === t(346) ? Math[t(340)](0, r - 1) : e[t(359)] === "Home" ? 0 : e[t(359)] === t(358) ? n - 1 : void 0;
84
+ i === void 0 ? e[t(359)] === t(353) && m !== null && (e[t(350)](), h(null)) : (e[t(350)](), h(i));
85
+ },
86
+ onFocus: (e) => {
87
+ let t = p;
88
+ e.currentTarget.matches(t(349)) && m === null && n && h(f === t(355) ? 0 : n - 1);
89
+ },
90
+ onBlur: () => h(null)
91
+ }
92
+ };
93
+ }
94
+ export { l as useChartInteraction };
@@ -0,0 +1,174 @@
1
+ "use client";
2
+ const e = D;
3
+ (function(e, t) {
4
+ let n = D, r = e();
5
+ for (;;) try {
6
+ if (parseInt(n(442)) / 1 * (parseInt(n(431)) / 2) + -parseInt(n(445)) / 3 * (-parseInt(n(437)) / 4) + -parseInt(n(440)) / 5 + parseInt(n(448)) / 6 + parseInt(n(406)) / 7 * (parseInt(n(413)) / 8) + -parseInt(n(444)) / 9 + parseInt(n(409)) / 10 == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(v, 329069);
12
+ import { Spinner as t } from "../../primitives/Spinner2.js";
13
+ import { Text as n } from "../../primitives/Typography2.js";
14
+ import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
15
+ import { RelativeTime as a } from "../../primitives/RelativeTime.js";
16
+ import { Avatar as o, Button as s, cx as c } from "../../primitives/index.js";
17
+ import { formatChatTime as l } from "./formatChatTime.js";
18
+ /* empty css */
19
+ import { Children as u, createContext as d, isValidElement as f, useContext as p } from "react";
20
+ import { AlertCircle as m, Check as h, CheckCheck as g, RotateCw as _ } from "lucide-react";
21
+ function v() {
22
+ let e = /* @__PURE__ */ "7kce7iAH65cO.zw5K.z2HVC3q.7j6f66cLioYKKq.Aw5OzxjPDa.7kce7iAHioYlPo2mQa.C3bHBG.7j2yioUPLoYlNoYNGa.zhmTy2HHDc1IDwjIBgvFx2zPBgW.odi1mdKYr2PhzKzZ.zMLSDgvY.C2vUzgLUzW.zMLYC3q.zhmTy2HHDc1IDwjIBgvFx2fJDgLVBNm.BwLKzgXL.mJKXodHWtxLgy3e.y2fWDgLVBG.zhmTy2HHDc1NCM91Cf9FyxzHDgfY.mty5nJCYmfzdvw1ZDG.zhmTy2HHDc1IDwjIBgvFx2fSzxj0.mxbmEe9cBq.C3rYAw5N.ntKWmZqZm0XIzwvIyq.ouTjAvDMyq.ywnJzw50.zhmTy2HHDc1IDwjIBgu.mJmWntCYmMz1B1DQsq.zhmTy2HHDc1NCM91Ca.C2LUz2XL.r3jVDxa.64UK7iUCioUZToUcToQ4Sa.mtyZmwnHtwnLwG.yM9KEs1Tza.BgfZDa.mtGXotG5mhLkvwfnqq.zhmTy2HHDc1NCM91Cf9FBMfTzq.C2LKzq.C2vJB25Kyxj5.mteXmtjMCfn1Duy.uhjVDMLKzxi.zhmTy2HHDc1IDwjIBgvFx2zPBgWTlq.BgfIzwWTC20.zhmTy2HHDc1NCM91Cf9FyNvIyMXLCW.zMfPBgvK.Cg9ZAxrPB24.C3rHCNq.zhmTy2HHDc1IDwjIBgvFx3jVDW".split(".");
23
+ return v = function() {
24
+ return e;
25
+ }, v();
26
+ }
27
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
28
+ var S = d(null), C = {
29
+ sending: "보내는 중",
30
+ sent: e(422),
31
+ read: "읽음",
32
+ failed: e(427)
33
+ };
34
+ function w({ status: n }) {
35
+ let r = e;
36
+ if (n === r(433)) return b(t, {
37
+ size: 12,
38
+ tone: r(426),
39
+ label: C[r(433)]
40
+ });
41
+ if (n === "failed") return null;
42
+ let i = n === "read" ? g : h;
43
+ return b(r(428), {
44
+ className: "ds-chat-bubble__status",
45
+ "data-status": n,
46
+ role: "img",
47
+ "aria-label": C[n],
48
+ children: b(i, { "aria-hidden": !0 })
49
+ });
50
+ }
51
+ function T({ side: t, tone: o, position: u, children: d, time: f, status: h, onRetry: g, typing: v, actions: T, footer: E, appear: D, className: O, style: k }) {
52
+ let A = e, j = p(S), M = t ?? j?.[A(411)] ?? A(420), N = u ?? j?.[A(419)] ?? A(403), P = o ?? (M === A(423) ? A(446) : "neutral"), F = N === A(403) || N === A(408), I = F && (f != null || h != null) || h === "sending" || h === "failed", L = b(n, {
53
+ as: "div",
54
+ variant: A(407),
55
+ tone: A(426),
56
+ className: c(A(430), A(415) + P),
57
+ "data-typing": v || void 0,
58
+ children: v ? x(A(428), {
59
+ className: "ds-chat-bubble__dots",
60
+ role: "status",
61
+ "aria-label": A(425),
62
+ children: [
63
+ b(A(428), {}),
64
+ b(A(428), {}),
65
+ b(A(428), {})
66
+ ]
67
+ }) : d
68
+ }), R = I && b(r, {
69
+ gap: 1,
70
+ wrap: !1,
71
+ className: "ds-chat-bubble__meta",
72
+ "data-failed": h === "failed" || void 0,
73
+ children: h === "failed" ? x(y, { children: [b(m, {
74
+ "aria-hidden": !0,
75
+ className: A(441)
76
+ }), b(n, {
77
+ variant: A(438),
78
+ tone: "danger",
79
+ children: C.failed
80
+ })] }) : x(y, { children: [h && b(w, { status: h }), F && f != null && b(a, {
81
+ date: f,
82
+ format: l,
83
+ refreshInterval: !1
84
+ })] })
85
+ }), z = h === A(418) && g && b(s, {
86
+ variant: A(424),
87
+ size: "sm",
88
+ icon: b(_, {}),
89
+ onClick: g,
90
+ children: A(405)
91
+ }), B = T && b(A(428), {
92
+ className: A(435),
93
+ children: T
94
+ });
95
+ return x(i, {
96
+ gap: 1,
97
+ align: M === A(423) ? "end" : A(420),
98
+ className: c(A(447), O),
99
+ "data-side": M,
100
+ "data-position": N,
101
+ "data-status": h,
102
+ "data-appear": D || void 0,
103
+ style: k,
104
+ children: [x(r, {
105
+ gap: 2,
106
+ align: A(423),
107
+ wrap: !1,
108
+ className: A(421),
109
+ children: [
110
+ L,
111
+ R,
112
+ z,
113
+ B
114
+ ]
115
+ }), E]
116
+ });
117
+ }
118
+ function E({ author: t, avatar: a, side: s = e(420), avatarSize: l = 28, showName: d = s === "start", children: p, className: m, style: h }) {
119
+ let g = e, _ = u.toArray(p)[g(432)](f), v = _.length - 1, y = s === "start" && (a === void 0 ? typeof t === g(443) ? b(o, {
120
+ name: t,
121
+ size: l
122
+ }) : null : a), C = x(i, {
123
+ gap: 1,
124
+ align: s === g(423) ? g(423) : g(420),
125
+ className: g(417),
126
+ children: [d && t != null && b(n, {
127
+ variant: g(416),
128
+ tone: g(412),
129
+ className: g(410),
130
+ children: t
131
+ }), _.map((e, t) => b(S[g(414)], {
132
+ value: {
133
+ side: s,
134
+ position: g(v === 0 ? 403 : t === 0 ? 434 : t === v ? 408 : 436)
135
+ },
136
+ children: e
137
+ }, e.key ?? t))]
138
+ });
139
+ return b("div", {
140
+ className: c(g(402), m),
141
+ "data-side": s,
142
+ role: "group",
143
+ "aria-label": typeof t == "string" ? t + g(429) : void 0,
144
+ style: {
145
+ "--_avatar": l + "px",
146
+ ...h
147
+ },
148
+ children: s === "start" && (y || a === null) ? x(r, {
149
+ gap: 2,
150
+ align: "start",
151
+ wrap: !1,
152
+ children: [b(g(428), {
153
+ className: g(439),
154
+ children: y
155
+ }), C]
156
+ }) : C
157
+ });
158
+ }
159
+ function D(e, t) {
160
+ e -= 402;
161
+ let n = v(), r = n[e];
162
+ D.CGZWYf === void 0 && (D.oMivpx = function(e) {
163
+ let t = "", n = "";
164
+ 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);
165
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
166
+ return decodeURIComponent(n);
167
+ }, D.rsgeeI = {}, D.CGZWYf = !0);
168
+ let i = n[0];
169
+ D.eHCqaQ !== i && (D.rsgeeI = {}, D.eHCqaQ = i);
170
+ let a = D.rsgeeI[e];
171
+ return a === void 0 ? (r = D.oMivpx(r), D.rsgeeI[e] = r) : r = a, r;
172
+ }
173
+ T[e(404)] = E;
174
+ export { T as ChatBubble, E as ChatBubbleGroup };