@iamfiro/design 0.1.0 → 0.3.1

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 +66 -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 +90 -0
  13. package/lib/components/Calendar/Calendar2.js +309 -0
  14. package/lib/components/Calendar/DatePicker2.js +228 -0
  15. package/lib/components/Calendar/date.js +118 -0
  16. package/lib/components/Card/Card2.js +103 -0
  17. package/lib/components/CardFrame/CardFrame2.js +67 -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 +48 -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 +111 -0
  26. package/lib/components/ColorPicker/ColorPicker2.js +609 -0
  27. package/lib/components/ColorPicker/color.js +180 -0
  28. package/lib/components/ColorPicker/presets.js +70 -0
  29. package/lib/components/Combobox/Combobox2.js +228 -0
  30. package/lib/components/CommandMenu/CommandMenu.js +267 -0
  31. package/lib/components/Comment/Comment2.js +110 -0
  32. package/lib/components/ContextMenu/ContextMenu2.js +168 -0
  33. package/lib/components/DataGrid/DataGrid2.js +1998 -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 +557 -0
  37. package/lib/components/DataGrid/panels.js +701 -0
  38. package/lib/components/DataGrid/typeMeta.js +75 -0
  39. package/lib/components/DataGrid/types.js +53 -0
  40. package/lib/components/DescriptionList/DescriptionList2.js +180 -0
  41. package/lib/components/Dialog/AlertDialog.js +119 -0
  42. package/lib/components/Dialog/Dialog2.js +110 -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 +393 -0
  46. package/lib/components/DropdownMenu/menuCore.js +63 -0
  47. package/lib/components/Dropzone/Dropzone2.js +145 -0
  48. package/lib/components/EmptyState/EmptyState2.js +70 -0
  49. package/lib/components/FileChip/FileChip2.js +94 -0
  50. package/lib/components/FileUpload/FileUpload.js +259 -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 +72 -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 +110 -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 +132 -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 +222 -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 +128 -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 +52 -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 +90 -0
  77. package/lib/components/PieChart/useArcTween.js +92 -0
  78. package/lib/components/Popover/Popover2.js +111 -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 +238 -0
  82. package/lib/components/Resizable/layout.js +115 -0
  83. package/lib/components/ScaledPreview/ScaledPreview2.js +99 -0
  84. package/lib/components/ScatterChart/ScatterChart2.js +355 -0
  85. package/lib/components/ScatterChart/scatter.js +85 -0
  86. package/lib/components/ScrollArea/ScrollArea2.js +217 -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 +84 -0
  92. package/lib/components/SparkChart/SparkChart2.js +217 -0
  93. package/lib/components/SparkChart/spark.js +71 -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 +357 -0
  101. package/lib/components/TimePicker/TimePicker2.js +388 -0
  102. package/lib/components/TimePicker/time.js +81 -0
  103. package/lib/components/Timeline/Timeline2.js +369 -0
  104. package/lib/components/Timeline/scale.js +81 -0
  105. package/lib/components/Toast/Toaster.js +213 -0
  106. package/lib/components/Toast/store.js +128 -0
  107. package/lib/components/ToggleGroup/ToggleGroup2.js +125 -0
  108. package/lib/components/Toolbar/Toolbar2.js +283 -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 +286 -0
  112. package/lib/hooks/timing.js +57 -0
  113. package/lib/hooks/useControllableState.js +49 -0
  114. package/lib/hooks/useCountdown.js +75 -0
  115. package/lib/hooks/useDigitInput.js +103 -0
  116. package/lib/hooks/useDismiss.js +69 -0
  117. package/lib/hooks/useElapsed.js +85 -0
  118. package/lib/hooks/useFloating.js +70 -0
  119. package/lib/hooks/useFocusTrap.js +85 -0
  120. package/lib/hooks/usePresence.js +58 -0
  121. package/lib/hooks/usePressToOpen.js +70 -0
  122. package/lib/hooks/useScrollLock.js +71 -0
  123. package/lib/hooks/useSelection.js +65 -0
  124. package/lib/index.js +176 -17911
  125. package/lib/primitives/AspectRatio2.js +76 -0
  126. package/lib/primitives/BrandIcon.js +245 -0
  127. package/lib/primitives/ColorDot2.js +71 -0
  128. package/lib/primitives/CopyButton2.js +86 -0
  129. package/lib/primitives/CountBadge2.js +80 -0
  130. package/lib/primitives/Countdown2.js +61 -0
  131. package/lib/primitives/Delta2.js +92 -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 +69 -0
  137. package/lib/primitives/Kbd2.js +88 -0
  138. package/lib/primitives/Layout2.js +118 -0
  139. package/lib/primitives/Link2.js +55 -0
  140. package/lib/primitives/MaskedText2.js +121 -0
  141. package/lib/primitives/Progress2.js +137 -0
  142. package/lib/primitives/RelativeTime.js +82 -0
  143. package/lib/primitives/SearchInput2.js +85 -0
  144. package/lib/primitives/SelectorButton2.js +96 -0
  145. package/lib/primitives/Spinner2.js +94 -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 +54 -0
  151. package/lib/primitives/formatElapsed.js +63 -0
  152. package/lib/primitives/formatRelativeTime.js +64 -0
  153. package/lib/primitives/hotkey.js +94 -0
  154. package/lib/primitives/index.js +351 -0
  155. package/lib/primitives/maskValue.js +69 -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,103 @@
1
+ "use client";
2
+ var e = f;
3
+ (function(e, t) {
4
+ for (var n = f, r = e();;) try {
5
+ if (parseInt(n(427)) / 1 * (-parseInt(n(423)) / 2) + -parseInt(n(404)) / 3 * (parseInt(n(411)) / 4) + -parseInt(n(416)) / 5 * (parseInt(n(407)) / 6) + -parseInt(n(406)) / 7 * (parseInt(n(401)) / 8) + parseInt(n(415)) / 9 * (parseInt(n(424)) / 10) + parseInt(n(410)) / 11 + parseInt(n(409)) / 12 == t) break;
6
+ r.push(r.shift());
7
+ } catch {
8
+ r.push(r.shift());
9
+ }
10
+ })(c, 510740);
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: t, variant: r = e(425), padding: a = "md", interactive: o, selected: s, className: c, children: l, ...u }) {
16
+ var d = e;
17
+ return i(t ?? d(418), {
18
+ className: n(d(426), "ds-card--" + r, "ds-card--pad-" + a, o && "ds-card--interactive", c),
19
+ "data-selectable": s !== void 0 || void 0,
20
+ "data-selected": s || void 0,
21
+ ...u,
22
+ children: l
23
+ });
24
+ }
25
+ function s({ title: t, description: o, eyebrow: s, icon: c, actions: l, children: u, className: d }) {
26
+ var f = e;
27
+ return a(f(418), {
28
+ className: n(f(421), d),
29
+ children: [
30
+ c && i(f(418), {
31
+ className: f(403),
32
+ children: c
33
+ }),
34
+ i(f(418), {
35
+ className: "ds-card__heading",
36
+ children: u ?? a(r, { children: [
37
+ s && i("div", {
38
+ className: f(417),
39
+ children: s
40
+ }),
41
+ t && i(f(418), {
42
+ className: f(412),
43
+ children: t
44
+ }),
45
+ o && i(f(418), {
46
+ className: "ds-card__description",
47
+ children: o
48
+ })
49
+ ] })
50
+ }),
51
+ l && i(f(418), {
52
+ className: f(405),
53
+ children: l
54
+ })
55
+ ]
56
+ });
57
+ }
58
+ function c() {
59
+ var e = /* @__PURE__ */ "zhmTy2fYzf9FAwnVBG.nda1ChPQALLL.zhmTy2fYzf9Fywn0Aw9UCW.mta1n0jRquTXwG.nZmYshvQvLbL.zhmTy2fYzf9FyM9KEq.mJq2nZK5mdHwsg9AzfC.nta4otK2nezUsuDzyG.mJu2mZzlwxfjr3C.zhmTy2fYzf9FDgL0Bgu.sgvHzgvY.zhmTy2fYzf9FzM9VDgvYls1KAxzPzgvK.nJeZotm3n0TUuufJqW.nJKYnwHPs3zcBG.zhmTy2fYzf9FzxLLyNjVDW.zgL2.zhmTy2fYzf9FzM9VDgvYls0.twvKAwe.zhmTy2fYzf9FAgvHzgvY.zhmTy2fYzf9FzM9VDgvYls1Iyw5K.mtyYody2nMz1rerjDa.mtbWrNDyBwm.zgvMyxvSDa.zhmTy2fYza.munewwrbvW.zhmTy2fYzf9FzM9VDgvY.ndq2mJrjtg9eyNi.zhmTy2fYzf9FBwvKAwe".split(".");
60
+ return c = function() {
61
+ return e;
62
+ }, c();
63
+ }
64
+ function l({ children: t, className: r, style: a }) {
65
+ return i("div", {
66
+ className: n(e(408), r),
67
+ style: a,
68
+ children: t
69
+ });
70
+ }
71
+ function u({ children: t, align: r = "end", divided: a, band: o, className: s }) {
72
+ var c = e;
73
+ return i(c(418), {
74
+ className: n(c(400), c(419) + r, a && c(414), o && c(422), s),
75
+ children: t
76
+ });
77
+ }
78
+ function d({ children: r, ratio: a, className: o }) {
79
+ var s = e;
80
+ return a === void 0 ? i(s(418), {
81
+ className: n(s(402), o),
82
+ children: r
83
+ }) : i(t, {
84
+ ratio: a,
85
+ className: n(s(402), o),
86
+ children: r
87
+ });
88
+ }
89
+ o[e(413)] = s, o.Body = l, o.Footer = u, o[e(420)] = d;
90
+ function f(e, t) {
91
+ e -= 400;
92
+ var n = c(), r = n[e];
93
+ f.jPvfxX === void 0 && (f.qTtTez = function(e) {
94
+ 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);
95
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
96
+ return decodeURIComponent(r);
97
+ }, f.CmDcAK = {}, f.jPvfxX = !0);
98
+ var i = n[0];
99
+ f.wVFmnp !== i && (f.CmDcAK = {}, f.wVFmnp = i);
100
+ var a = f.CmDcAK[e];
101
+ return a === void 0 ? (r = f.qTtTez(r), f.CmDcAK[e] = r) : r = a, r;
102
+ }
103
+ export { o as Card, l as CardBody, u as CardFooter, s as CardHeader, d as CardMedia };
@@ -0,0 +1,67 @@
1
+ "use client";
2
+ (function(e, t) {
3
+ for (var r = n, i = e();;) try {
4
+ if (-parseInt(r(483)) / 1 + -parseInt(r(488)) / 2 + -parseInt(r(479)) / 3 * (-parseInt(r(490)) / 4) + -parseInt(r(484)) / 5 + parseInt(r(486)) / 6 * (parseInt(r(481)) / 7) + -parseInt(r(478)) / 8 + parseInt(r(489)) / 9 == t) break;
5
+ i.push(i.shift());
6
+ } catch {
7
+ i.push(i.shift());
8
+ }
9
+ })(t, 376860);
10
+ import { cx as e } from "../../primitives/index.js";
11
+ /* empty css */
12
+ function t() {
13
+ var e = [
14
+ "nZKWnJe3r09vALj4",
15
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TzM9VDgvY",
16
+ "n212BM9iAa",
17
+ "zgL2",
18
+ "mZy0otu4swXmy1Hm",
19
+ "nJy4mtu1EM9rvgDX",
20
+ "zhmTy2fYzc1MCMfTzq",
21
+ "nJu5mJy4ve9bD2r6",
22
+ "zhmTy2fYzc1MCMfTzv9FyMfYigrZlwnHCMqTzNjHBwvFx2jHCI0TAgvHzgvY",
23
+ "ndG1nti2BwLfEwPO",
24
+ "odCXota3nfveEezwta",
25
+ "nhnRA0LcCq",
26
+ "mtC5mtKYohPiDMHsua"
27
+ ];
28
+ return t = function() {
29
+ return e;
30
+ }, t();
31
+ }
32
+ function n(e, r) {
33
+ e -= 478;
34
+ var i = t(), a = i[e];
35
+ n.yFaMnL === void 0 && (n.YkNXRQ = function(e) {
36
+ 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);
37
+ for (var c = 0, l = n.length; c < l; c++) r += "%" + ("00" + n.charCodeAt(c).toString(16)).slice(-2);
38
+ return decodeURIComponent(r);
39
+ }, n.itTtHM = {}, n.yFaMnL = !0);
40
+ var o = i[0];
41
+ n.JAmKhz !== o && (n.itTtHM = {}, n.JAmKhz = o);
42
+ var s = n.itTtHM[e];
43
+ return s === void 0 ? (a = n.YkNXRQ(a), n.itTtHM[e] = a) : a = s, a;
44
+ }
45
+ import { jsx as r, jsxs as i } from "react/jsx-runtime";
46
+ function a({ header: t, footer: a, children: o, className: s, ...c }) {
47
+ var l = n;
48
+ return i(l(482), {
49
+ className: e(l(485), s),
50
+ ...c,
51
+ children: [
52
+ t != null && r(l(482), {
53
+ className: l(487),
54
+ children: t
55
+ }),
56
+ r(l(482), {
57
+ className: "ds-card-frame__content",
58
+ children: o
59
+ }),
60
+ a != null && r(l(482), {
61
+ className: l(480),
62
+ children: a
63
+ })
64
+ ]
65
+ });
66
+ }
67
+ export { a as CardFrame };
@@ -0,0 +1,150 @@
1
+ "use client";
2
+ const e = r;
3
+ (function(e, t) {
4
+ let n = r, i = e();
5
+ for (;;) try {
6
+ if (parseInt(n(255)) / 1 + -parseInt(n(270)) / 2 * (parseInt(n(266)) / 3) + -parseInt(n(254)) / 4 + -parseInt(n(250)) / 5 + -parseInt(n(246)) / 6 * (parseInt(n(252)) / 7) + parseInt(n(260)) / 8 * (-parseInt(n(245)) / 9) + -parseInt(n(262)) / 10 * (-parseInt(n(267)) / 11) == t) break;
7
+ i.push(i.shift());
8
+ } catch {
9
+ i.push(i.shift());
10
+ }
11
+ })(f, 815482);
12
+ import { Text as t } from "../../primitives/Typography2.js";
13
+ import { ColorDot as n } from "../../primitives/ColorDot2.js";
14
+ function r(e, t) {
15
+ e -= 245;
16
+ let n = f(), i = n[e];
17
+ r.PlCcor === void 0 && (r.ZHhYSb = function(e) {
18
+ let t = "", n = "";
19
+ for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
20
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
21
+ return decodeURIComponent(n);
22
+ }, r.EsjXhP = {}, r.PlCcor = !0);
23
+ let a = n[0];
24
+ r.foGdLX !== a && (r.EsjXhP = {}, r.foGdLX = a);
25
+ let o = r.EsjXhP[e];
26
+ return o === void 0 ? (i = r.ZHhYSb(i), r.EsjXhP[e] = i) : i = o, i;
27
+ }
28
+ import { Inline as i, Separator as a, Stack as o } from "../../primitives/Layout2.js";
29
+ import { Card as s, CardBody as c } from "../Card/Card2.js";
30
+ /* empty css */
31
+ import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
32
+ function f() {
33
+ let e = /* @__PURE__ */ "otC1ntK5ne1nzKjgzW.BgfIzwWTC20.yMv0D2vLBG.Aw5SAw5L.mJy1mdmZnufisxffwG.DMfSDwu.n3r4EMHVCq.zgL2.mZC1mZe4neDst0rmDG.ndGYnJqZyw9juNDA.C2vJB25Kyxj5.zgvMyxvSDa.CMfPC2vK.BwfW.mJu2B0H0Bevx.BgLZDa.mJG2mtbMuKfYAKu.zgv0ywLS.AgvHzgLUzY14CW.y29SB3i.nKHNtMnuAa.mJeZntfkzwzotw0.BgfIzwW.yM9KEs1ZBq.mtqZnJe3nM1oBxfXDW.DgvYDgLHCNK.A2v5.mtK0mdeZDuTiEhrq".split(".");
34
+ return f = function() {
35
+ return e;
36
+ }, f();
37
+ }
38
+ function p({ title: e, leading: n, value: f, rows: p, footer: h }) {
39
+ let g = r;
40
+ return u(s, {
41
+ variant: g(258),
42
+ padding: "sm",
43
+ children: u(c, { children: d(o, {
44
+ gap: 2,
45
+ children: [
46
+ (e != null || n != null || f != null) && d(l, { children: [d(i, {
47
+ justify: g(248),
48
+ gap: 6,
49
+ wrap: !1,
50
+ children: [d(i, {
51
+ gap: 2,
52
+ wrap: !1,
53
+ children: [n, e != null && u(t, {
54
+ variant: g(264),
55
+ as: g(253),
56
+ children: e
57
+ })]
58
+ }), f != null && u(t, {
59
+ variant: "heading-xs",
60
+ as: g(253),
61
+ numeric: !0,
62
+ children: f
63
+ })]
64
+ }), u(a, {})] }),
65
+ u(o, {
66
+ gap: 1,
67
+ children: p[g(259)]((e) => u(m, { row: e }, e[g(272)]))
68
+ }),
69
+ h && d(l, { children: [u(a, {}), u(m, {
70
+ row: h,
71
+ strong: !0
72
+ })] })
73
+ ]
74
+ }) })
75
+ });
76
+ }
77
+ function m({ row: e, strong: a }) {
78
+ let o = r;
79
+ return d(i, {
80
+ justify: o(248),
81
+ gap: 6,
82
+ wrap: !1,
83
+ children: [d(i, {
84
+ gap: 2,
85
+ wrap: !1,
86
+ children: [!a && u(n, { color: e.color }), u(t, {
87
+ variant: o(269),
88
+ tone: a ? o(257) : "secondary",
89
+ children: e[o(268)]
90
+ })]
91
+ }), u(t, {
92
+ variant: o(247),
93
+ numeric: !0,
94
+ children: e[o(251)]
95
+ })]
96
+ });
97
+ }
98
+ function h({ items: r, layout: a = e(249), focused: s = null, onFocusChange: c }) {
99
+ let l = e, f = (e) => s === null || s === e ? l(256) : "tertiary";
100
+ return a === l(261) ? u(o, {
101
+ gap: 2,
102
+ onPointerLeave: () => c?.(null),
103
+ children: r[l(259)]((e) => d(i, {
104
+ justify: "between",
105
+ gap: 6,
106
+ wrap: !1,
107
+ onPointerEnter: () => c?.(e[l(272)]),
108
+ children: [d(i, {
109
+ gap: 2,
110
+ wrap: !1,
111
+ children: [u(n, { color: e[l(265)] }), u(t, {
112
+ variant: l(269),
113
+ tone: f(e.key),
114
+ children: e[l(268)]
115
+ })]
116
+ }), (e[l(251)] != null || e[l(263)] != null) && d(i, {
117
+ gap: 4,
118
+ wrap: !1,
119
+ children: [e[l(251)] != null && u(t, {
120
+ variant: l(247),
121
+ numeric: !0,
122
+ tone: s === null || s === e.key ? l(257) : l(271),
123
+ children: e.value
124
+ }), e.detail != null && u(t, {
125
+ as: "span",
126
+ variant: l(269),
127
+ numeric: !0,
128
+ align: "end",
129
+ tone: "tertiary",
130
+ className: "ds-chart-legend__detail",
131
+ children: e[l(263)]
132
+ })]
133
+ })]
134
+ }, e[l(272)]))
135
+ }) : u(i, {
136
+ gap: 4,
137
+ onPointerLeave: () => c?.(null),
138
+ children: r[l(259)]((e) => d(i, {
139
+ gap: 2,
140
+ wrap: !1,
141
+ onPointerEnter: () => c?.(e.key),
142
+ children: [u(n, { color: e[l(265)] }), u(t, {
143
+ variant: l(269),
144
+ tone: f(e.key),
145
+ children: e[l(268)]
146
+ })]
147
+ }, e[l(272)]))
148
+ });
149
+ }
150
+ export { h as ChartLegend, p as ChartTooltip };
@@ -0,0 +1,96 @@
1
+ "use client";
2
+ function e(t, r) {
3
+ t -= 271;
4
+ let i = n(), a = i[t];
5
+ e.qGGPPI === void 0 && (e.JbeJkU = function(e) {
6
+ let t = "", n = "";
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);
8
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.azHtcX = {}, e.qGGPPI = !0);
11
+ let o = i[0];
12
+ e.KeULEA !== o && (e.azHtcX = {}, e.KeULEA = o);
13
+ let s = e.azHtcX[t];
14
+ return s === void 0 ? (a = e.JbeJkU(a), e.azHtcX[t] = a) : a = s, a;
15
+ }
16
+ const t = e;
17
+ function n() {
18
+ let e = /* @__PURE__ */ "tNvTyMvYrM9YBwf0.BwLU.mJbNAKnrCgm.DMfYka.mtjKuvrNq3C.y29TCgfJDa.nJm5mty4m1LxzNDLzq.DMfYkc0TzgfUz2vYkq.C3fYDa.zNjVBq.C21VB3rO.zM9YBwf0.BwfW.DMfYkc0TD2fYBMLUzYK.mJvLAwLIEeO.Bg9Nmta.BgvUz3rO.mJGZmZa2ofbsr1H2qq.mtm5mZqWuwH4rNvO.CM91BMq.y2vPBa.ndq5mtu0Cu5srKzn.BNvTyMvY.ntuWotu2BwDbAwrQ.mJKWmJmXmxvlDuToDa.C2XPy2u.DMfYkc0Ty2HHCNqTyxHPCYK.zMXVB3i.DMfYkc0TD2fYBMLUzY1ZB2z0kq.AxngAw5PDgu.ls1JAgfYDc0.CMv2zxjZzq.A28Ts1i.AM9PBG.mJi0ndiWogHhB0zICa.Bwf4".split(".");
19
+ return n = function() {
20
+ return e;
21
+ }, n();
22
+ }
23
+ (function(t, n) {
24
+ let r = e, i = t();
25
+ for (;;) try {
26
+ if (-parseInt(r(301)) / 1 + parseInt(r(299)) / 2 + parseInt(r(302)) / 3 + -parseInt(r(296)) / 4 * (-parseInt(r(292)) / 5) + -parseInt(r(282)) / 6 * (-parseInt(r(295)) / 7) + parseInt(r(276)) / 8 + -parseInt(r(284)) / 9 * (parseInt(r(280)) / 10) == n) break;
27
+ i.push(i.shift());
28
+ } catch {
29
+ i.push(i.shift());
30
+ }
31
+ })(n, 484833);
32
+ var r = new Intl[t(278)](t(274)), i = new Intl[t(278)](t(274), {
33
+ notation: t(283),
34
+ maximumFractionDigits: 1
35
+ }), a = (e) => r[t(289)](e), o = (e) => i[t(289)](e), s = (e) => Math[t(297)](e * 1e3) / 10 + "%", c = (e, n) => {
36
+ let r = t, i = e ?? r(272) + (n % 6 + 1);
37
+ return i.startsWith("--") ? r(281) + i + ")" : i;
38
+ }, l = (e, n) => {
39
+ let r = t, i = e?.[n];
40
+ return typeof i === r(300) && Number[r(271)](i) ? i : null;
41
+ };
42
+ function u(e, n) {
43
+ let r = t, i = Math[r(277)](1, n - 1);
44
+ if (e <= 0) return Array[r(287)]({ length: i + 1 }, (e, t) => t);
45
+ let a = e / i, o = 10 ** Math[r(305)](Math[r(293)](a)), s = ([
46
+ 1,
47
+ 1.5,
48
+ 2,
49
+ 2.5,
50
+ 3,
51
+ 5,
52
+ 10
53
+ ].find((e) => e * o >= a) ?? 10) * o;
54
+ return Array.from({ length: i + 1 }, (e, t) => t * s);
55
+ }
56
+ var d = (e) => Math.max(...e[t(290)]((e) => e[t(294)])) * 7 + 14, f = (e, n, r = 110) => Math.max(1, Math[t(298)](e / Math[t(277)](1, Math[t(305)](n / r)))), p = (e, n) => n === t(288) && e[t(294)] > 2 ? m(e) : e[t(290)](([e, t], n) => (n ? "L" : "M") + e + "," + t)[t(275)]("");
57
+ function m(e) {
58
+ let n = t, r = e[n(294)], i = e[n(303)](0, -1)[n(290)](([t, n], r) => (e[r + 1][1] - n) / (e[r + 1][0] - t)), a = e[n(290)]((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], r = a[e + 1] / i[e], o = t * t + r * r;
65
+ if (o > 9) {
66
+ let s = 3 / Math[n(286)](o);
67
+ a[e] = s * t * i[e], a[e + 1] = s * r * i[e];
68
+ }
69
+ }
70
+ let o = "M" + e[0][0] + "," + e[0][1];
71
+ for (let t = 0; t < r - 1; t++) {
72
+ let n = (e[t + 1][0] - e[t][0]) / 3;
73
+ o += "C" + (e[t][0] + n) + "," + (e[t][1] + a[t] * n) + " " + (e[t + 1][0] - n) + "," + (e[t + 1][1] - a[t + 1] * n) + " " + e[t + 1][0] + "," + e[t + 1][1];
74
+ }
75
+ return o;
76
+ }
77
+ function h(e, n, r, i, a) {
78
+ let o = t, s = Math[o(277)](0, Math[o(279)](a, r / 2, i));
79
+ return "M" + e + "," + (n + i) + "V" + (n + s) + "Q" + e + "," + n + " " + (e + s) + "," + n + "H" + (e + r - s) + "Q" + (e + r) + "," + n + " " + (e + r) + "," + (n + s) + "V" + (n + i) + "Z";
80
+ }
81
+ var g = {
82
+ neutral: "var(--surface-active)",
83
+ accent: "var(--accent-soft)",
84
+ warning: t(306),
85
+ danger: "var(--danger-soft)"
86
+ }, _ = {
87
+ neutral: t(304),
88
+ accent: "var(--accent)",
89
+ warning: t(291),
90
+ danger: t(285)
91
+ }, v = (e, t) => e.length ? p(e, t) : "";
92
+ function y(e, n, r) {
93
+ let i = t;
94
+ return e[i(294)] ? "" + p(e, r) + p([...n][i(273)](), 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
+ function e(t, n) {
3
+ t -= 471;
4
+ let r = l(), i = r[t];
5
+ e.ekisQP === void 0 && (e.PFkmjs = function(e) {
6
+ let t = "", n = "";
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);
8
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
9
+ return decodeURIComponent(n);
10
+ }, e.sLeVHZ = {}, e.ekisQP = !0);
11
+ let a = r[0];
12
+ e.VnhnCj !== a && (e.sLeVHZ = {}, e.VnhnCj = a);
13
+ let o = e.sLeVHZ[t];
14
+ return o === void 0 ? (i = e.PFkmjs(i), e.sLeVHZ[t] = i) : i = o, i;
15
+ }
16
+ const t = e;
17
+ (function(t, n) {
18
+ let r = e, i = t();
19
+ for (;;) try {
20
+ if (-parseInt(r(498)) / 1 * (parseInt(r(496)) / 2) + -parseInt(r(473)) / 3 * (-parseInt(r(479)) / 4) + -parseInt(r(478)) / 5 + -parseInt(r(477)) / 6 * (parseInt(r(490)) / 7) + parseInt(r(494)) / 8 + parseInt(r(472)) / 9 + parseInt(r(483)) / 10 * (parseInt(r(491)) / 11) == n) break;
21
+ i.push(i.shift());
22
+ } catch {
23
+ i.push(i.shift());
24
+ }
25
+ })(l, 957337);
26
+ import { TIMING as n } from "../../hooks/timing.js";
27
+ import { useControllableState as r } from "../../hooks/useControllableState.js";
28
+ import { useEffect as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
29
+ function c({ count: c, activeIndex: l, defaultActiveIndex: u = null, onActiveIndexChange: d, initialKeyboardIndex: f = t(487) }) {
30
+ let p = t, [m, h] = r(l, u, d), g = o(null), _ = o(null), [v, y] = s(0), [b, x] = s({
31
+ w: 0,
32
+ h: 0
33
+ }), S = o(void 0);
34
+ a(() => {
35
+ let t = e, n = g.current, r = _.current;
36
+ if (!n) return;
37
+ let i = new ResizeObserver(() => {
38
+ let t = e;
39
+ y(n[t(471)]), r && x((e) => e.w === r[t(488)] && e.h === r[t(485)] ? e : {
40
+ w: r[t(488)],
41
+ h: r.offsetHeight
42
+ });
43
+ });
44
+ return i[t(484)](n), r && i[t(484)](r), y(n[t(471)]), () => i[t(474)]();
45
+ }, []), i(() => () => window.clearTimeout(S.current), []);
46
+ let C = m !== null && m < c, [w, T] = s(m);
47
+ C && m !== w && T(m);
48
+ let E = w !== null && w < c ? w : null, [D, O] = s(!1);
49
+ return !C && D && O(!1), i(() => {
50
+ if (!C) return;
51
+ let e = requestAnimationFrame(() => e = requestAnimationFrame(() => O(!0)));
52
+ return () => cancelAnimationFrame(e);
53
+ }, [C]), {
54
+ active: m,
55
+ setActive: h,
56
+ open: C,
57
+ shown: E,
58
+ settled: D,
59
+ width: v,
60
+ tipRef: _,
61
+ tipSize: b,
62
+ hover: (t) => {
63
+ let n = e;
64
+ window.clearTimeout(S[n(480)]), t !== m && h(t);
65
+ },
66
+ leave: () => {
67
+ let t = e;
68
+ window[t(481)](S[t(480)]), S[t(480)] = window.setTimeout(() => h(null), n.hoverGrace);
69
+ },
70
+ plotProps: {
71
+ ref: g,
72
+ tabIndex: 0,
73
+ role: p(497),
74
+ onKeyDown: (t) => {
75
+ let n = e;
76
+ if (!c) return;
77
+ let r = m ?? (f === n(482) ? 0 : c - 1), i = t[n(495)] === "ArrowRight" || t.key === "ArrowDown" ? Math[n(499)](c - 1, r + 1) : t[n(495)] === "ArrowLeft" || t[n(495)] === "ArrowUp" ? Math.max(0, r - 1) : t[n(495)] === "Home" ? 0 : t[n(495)] === n(475) ? c - 1 : void 0;
78
+ i === void 0 ? t[n(495)] === n(489) && m !== null && (t[n(493)](), h(null)) : (t[n(493)](), h(i));
79
+ },
80
+ onFocus: (e) => {
81
+ let t = p;
82
+ e[t(476)][t(486)](t(492)) && m === null && c && h(f === t(482) ? 0 : c - 1);
83
+ },
84
+ onBlur: () => h(null)
85
+ }
86
+ };
87
+ }
88
+ function l() {
89
+ let e = /* @__PURE__ */ "y3vYCMvUDa.y2XLyxjuAw1LB3v0.zMLYC3q.mZuXmteWD3b1zNv6.B2jZzxj2zq.B2zMC2v0sgvPz2H0.Bwf0y2HLCW.BgfZDa.B2zMC2v0v2LKDgG.rxnJyxbL.nZG4nti5v3zWru9M.mJK3EKLlCuvg.oMzVy3vZlxzPC2LIBgu.ChjLDMvUDerLzMf1Bhq.ndmYndK1mMfPtvvYBG.A2v5.nJCXmZjTA2rnAMy.z3jVDxa.ndrSrw9KwwS.BwLU.y2XPzw50v2LKDgG.odC3ndK1nvHvy09PuW.ndK4mtG5CgnZCMzv.zgLZy29UBMvJDa.rw5K.y3vYCMvUDfrHCMDLDa.nJznr0nOCKG.mJi1ndqXnunpBKPeta.ndbssejbuw8".split(".");
90
+ return l = function() {
91
+ return e;
92
+ }, l();
93
+ }
94
+ export { c 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(358)) / 1 * (-parseInt(n(354)) / 2) + -parseInt(n(341)) / 3 + -parseInt(n(377)) / 4 + -parseInt(n(342)) / 5 * (parseInt(n(368)) / 6) + -parseInt(n(366)) / 7 * (parseInt(n(371)) / 8) + -parseInt(n(379)) / 9 + parseInt(n(362)) / 10 * (parseInt(n(369)) / 11) == t) break;
7
+ r.push(r.shift());
8
+ } catch {
9
+ r.push(r.shift());
10
+ }
11
+ })(T, 905697);
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
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
22
+ var x = d(null), S = {
23
+ sending: e(338),
24
+ sent: e(360),
25
+ read: "읽음",
26
+ failed: e(356)
27
+ };
28
+ function C({ status: n }) {
29
+ let r = e;
30
+ if (n === r(346)) return y(t, {
31
+ size: 12,
32
+ tone: r(345),
33
+ label: S[r(346)]
34
+ });
35
+ if (n === r(336)) return null;
36
+ let i = n === r(359) ? g : h;
37
+ return y(r(332), {
38
+ className: r(348),
39
+ "data-status": n,
40
+ role: "img",
41
+ "aria-label": S[n],
42
+ children: y(i, { "aria-hidden": !0 })
43
+ });
44
+ }
45
+ function w({ side: t, tone: o, position: u, children: d, time: f, status: h, onRetry: g, typing: w, actions: T, footer: E, appear: D, className: O, style: k }) {
46
+ let A = e, j = p(x), M = t ?? j?.side ?? A(367), N = u ?? j?.[A(370)] ?? A(380), P = o ?? (M === A(344) ? A(376) : A(331)), F = N === A(380) || N === A(337), I = F && (f != null || h != null) || h === A(346) || h === A(336), L = y(n, {
47
+ as: "div",
48
+ variant: "body-md",
49
+ tone: A(345),
50
+ className: c("ds-chat-bubble__fill", A(363) + P),
51
+ "data-typing": w || void 0,
52
+ children: w ? b(A(332), {
53
+ className: A(340),
54
+ role: A(335),
55
+ "aria-label": A(372),
56
+ children: [
57
+ y(A(332), {}),
58
+ y("span", {}),
59
+ y(A(332), {})
60
+ ]
61
+ }) : d
62
+ }), R = I && y(r, {
63
+ gap: 1,
64
+ wrap: !1,
65
+ className: A(343),
66
+ "data-failed": h === A(336) || void 0,
67
+ children: h === "failed" ? b(v, { children: [y(m, {
68
+ "aria-hidden": !0,
69
+ className: A(365)
70
+ }), y(n, {
71
+ variant: A(383),
72
+ tone: A(351),
73
+ children: S[A(336)]
74
+ })] }) : b(v, { children: [h && y(C, { status: h }), F && f != null && y(a, {
75
+ date: f,
76
+ format: l,
77
+ refreshInterval: !1
78
+ })] })
79
+ }), z = h === A(336) && g && y(s, {
80
+ variant: "ghost",
81
+ size: "sm",
82
+ icon: y(_, {}),
83
+ onClick: g,
84
+ children: A(361)
85
+ }), B = T && y(A(332), {
86
+ className: A(352),
87
+ children: T
88
+ });
89
+ return b(i, {
90
+ gap: 1,
91
+ align: M === A(344) ? A(344) : A(367),
92
+ className: c("ds-chat-bubble", O),
93
+ "data-side": M,
94
+ "data-position": N,
95
+ "data-status": h,
96
+ "data-appear": D || void 0,
97
+ style: k,
98
+ children: [b(r, {
99
+ gap: 2,
100
+ align: A(344),
101
+ wrap: !1,
102
+ className: A(349),
103
+ children: [
104
+ L,
105
+ R,
106
+ z,
107
+ B
108
+ ]
109
+ }), E]
110
+ });
111
+ }
112
+ function T() {
113
+ let e = /* @__PURE__ */ "zhmTy2HHDc1IDwjIBgvFx2zPBgWTlq.BwfW.zhmTy2HHDc1IDwjIBgvFx2fSzxj0.mtGXnZjbB0LtsvK.C3rHCNq.mZe3otiYwvnqExrw.mtq5mZHRC1jfBhK.Cg9ZAxrPB24.mJm0nhHWuhnYrG.7j6f66cLioYKKq.C3rYAw5N.zhmTy2HHDc1NCM91Cf9FyxzHDgfY.zgL2.ywnJzw50.mZe5ody0A3vYvNrW.zMLSDgvY.mtqXmZi1odnxDKfSrMK.C2LUz2XL.BgvUz3rO.BwLKzgXL.y2fWDgLVBG.BMv1DhjHBa.C3bHBG.zhmTy2HHDc1NCM91Cf9FBMfTzq.A2v5.C3rHDhvZ.zMfPBgvK.BgfZDa.67o064k064QuioYKKq.uhjVDMLKzxi.zhmTy2HHDc1IDwjIBgvFx2rVDhm.ndCXntCWuhHrv3zi.otbPCg5Xv1i.zhmTy2HHDc1IDwjIBgvFx21LDge.zw5K.Aw5OzxjPDa.C2vUzgLUzW.zMLYC3q.zhmTy2HHDc1IDwjIBgvFx3n0yxr1CW.zhmTy2HHDc1IDwjIBgvFx3jVDW.zhmTy2HHDc1NCM91Ca.zgfUz2vY.zhmTy2HHDc1IDwjIBgvFx2fJDgLVBNm.r3jVDxa.mteZmtm2nejOs3bVrq.C2vJB25Kyxj5.7kce7iAHioYlPo2mQa.zhmTy2HHDc1NCM91Cf9FyNvIyMXLCW.m3bHq2rssa.CMvHza.7kce7iAH65cO.64UK7iUCioUZToUcToQ4Sa.nduXmdbtB2XZBLe".split(".");
114
+ return T = function() {
115
+ return e;
116
+ }, T();
117
+ }
118
+ function E({ author: t, avatar: a, side: s = e(367), avatarSize: l = 28, showName: d = s === e(367), children: p, className: m, style: h }) {
119
+ let g = e, _ = u.toArray(p)[g(378)](f), v = _[g(381)] - 1, S = s === g(367) && (a === void 0 ? typeof t === g(373) ? y(o, {
120
+ name: t,
121
+ size: l
122
+ }) : null : a), C = b(i, {
123
+ gap: 1,
124
+ align: s === g(344) ? g(344) : "start",
125
+ className: g(357),
126
+ children: [d && t != null && y(n, {
127
+ variant: "label-sm",
128
+ tone: g(355),
129
+ className: g(333),
130
+ children: t
131
+ }), _[g(364)]((e, t) => y(x[g(339)], {
132
+ value: {
133
+ side: s,
134
+ position: g(v === 0 ? 380 : t === 0 ? 347 : t === v ? 337 : 382)
135
+ },
136
+ children: e
137
+ }, e[g(334)] ?? t))]
138
+ });
139
+ return y(g(375), {
140
+ className: c(g(350), m),
141
+ "data-side": s,
142
+ role: "group",
143
+ "aria-label": typeof t === g(373) ? t + "의 메시지" : void 0,
144
+ style: {
145
+ "--_avatar": l + "px",
146
+ ...h
147
+ },
148
+ children: s === "start" && (S || a === null) ? b(r, {
149
+ gap: 2,
150
+ align: g(367),
151
+ wrap: !1,
152
+ children: [y(g(332), {
153
+ className: g(374),
154
+ children: S
155
+ }), C]
156
+ }) : C
157
+ });
158
+ }
159
+ w[e(353)] = E;
160
+ function D(e, t) {
161
+ e -= 331;
162
+ let n = T(), r = n[e];
163
+ D.FMKRsp === void 0 && (D.CPNoDr = function(e) {
164
+ let t = "", n = "";
165
+ 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);
166
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
167
+ return decodeURIComponent(n);
168
+ }, D.zLNDCw = {}, D.FMKRsp = !0);
169
+ let i = n[0];
170
+ D.kjIBGp !== i && (D.zLNDCw = {}, D.kjIBGp = i);
171
+ let a = D.zLNDCw[e];
172
+ return a === void 0 ? (r = D.CPNoDr(r), D.zLNDCw[e] = r) : r = a, r;
173
+ }
174
+ export { w as ChatBubble, E as ChatBubbleGroup };