@iamfiro/design 0.3.0 → 0.3.2

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 (156) hide show
  1. package/agents/avatar/AGENTS.md +29 -1
  2. package/agents/tooltip/AGENTS.md +1 -1
  3. package/lib/components/Accordion/Accordion2.js +76 -76
  4. package/lib/components/ActionBar/ActionBar2.js +43 -43
  5. package/lib/components/Alert/Alert2.js +46 -46
  6. package/lib/components/AppShell/AppShell2.js +58 -58
  7. package/lib/components/AreaChart/AreaChart.js +39 -40
  8. package/lib/components/BarChart/BarChart2.js +169 -169
  9. package/lib/components/BarList/BarList2.js +99 -99
  10. package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
  11. package/lib/components/Calendar/Calendar2.js +172 -171
  12. package/lib/components/Calendar/DatePicker2.js +101 -102
  13. package/lib/components/Calendar/date.js +71 -71
  14. package/lib/components/Card/Card2.js +55 -56
  15. package/lib/components/CardFrame/CardFrame2.js +52 -52
  16. package/lib/components/Chart/ChartParts.js +90 -90
  17. package/lib/components/Chart/chart2.js +52 -52
  18. package/lib/components/Chart/useChartInteraction.js +44 -44
  19. package/lib/components/ChatBubble/ChatBubble2.js +112 -112
  20. package/lib/components/ChatBubble/formatChatTime.js +44 -42
  21. package/lib/components/ChatComposer/ChatComposer2.js +94 -94
  22. package/lib/components/CodeBlock/CodeBlock2.js +66 -66
  23. package/lib/components/CodeBlock/highlight.js +67 -70
  24. package/lib/components/ColorPicker/ColorPicker2.js +404 -405
  25. package/lib/components/ColorPicker/color.js +81 -81
  26. package/lib/components/ColorPicker/presets.js +44 -43
  27. package/lib/components/Combobox/Combobox2.js +128 -128
  28. package/lib/components/CommandMenu/CommandMenu.js +137 -137
  29. package/lib/components/Comment/Comment2.js +55 -80
  30. package/lib/components/ContextMenu/ContextMenu2.js +93 -94
  31. package/lib/components/DataGrid/DataGrid2.js +1181 -1180
  32. package/lib/components/DataGrid/GridPopover.js +112 -112
  33. package/lib/components/DataGrid/anchor.js +23 -25
  34. package/lib/components/DataGrid/model.js +274 -275
  35. package/lib/components/DataGrid/panels.js +423 -423
  36. package/lib/components/DataGrid/typeMeta.js +21 -22
  37. package/lib/components/DataGrid/types.js +38 -37
  38. package/lib/components/DescriptionList/DescriptionList2.js +107 -107
  39. package/lib/components/Dialog/AlertDialog.js +53 -53
  40. package/lib/components/Dialog/Dialog2.js +71 -70
  41. package/lib/components/Dialog/modal.js +59 -58
  42. package/lib/components/Drawer/Drawer2.js +123 -124
  43. package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
  44. package/lib/components/DropdownMenu/menuCore.js +46 -47
  45. package/lib/components/Dropzone/Dropzone2.js +77 -77
  46. package/lib/components/EmptyState/EmptyState2.js +57 -56
  47. package/lib/components/FileChip/FileChip2.js +71 -71
  48. package/lib/components/FileUpload/FileUpload.js +119 -119
  49. package/lib/components/FilterChips/FilterChips2.js +61 -61
  50. package/lib/components/FunnelChart/FunnelChart2.js +141 -141
  51. package/lib/components/FunnelChart/funnel.js +51 -51
  52. package/lib/components/Highlight/Highlight2.js +54 -54
  53. package/lib/components/HoverCard/HoverCard.js +108 -83
  54. package/lib/components/InlineDiff/InlineDiff2.js +126 -126
  55. package/lib/components/InlineDiff/diff.js +82 -82
  56. package/lib/components/InlineDiff/useDiffReview.js +62 -60
  57. package/lib/components/Kanban/Kanban2.js +382 -382
  58. package/lib/components/Kanban/KanbanCard.js +92 -92
  59. package/lib/components/Kanban/move.js +45 -49
  60. package/lib/components/LineChart/LineChart2.js +207 -207
  61. package/lib/components/List/List2.js +71 -71
  62. package/lib/components/Listbox/Listbox2.js +115 -115
  63. package/lib/components/Marker/Marker2.js +67 -60
  64. package/lib/components/Menubar/Menubar2.js +130 -133
  65. package/lib/components/MultiSelect/MultiSelect2.js +104 -104
  66. package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
  67. package/lib/components/NoticeStack/NoticeStack2.js +105 -105
  68. package/lib/components/NumberStepper/NumberStepper2.js +67 -67
  69. package/lib/components/OtpInput/OtpInput2.js +66 -67
  70. package/lib/components/Pagination/Pagination2.js +90 -90
  71. package/lib/components/Pagination/paginationRange.js +24 -24
  72. package/lib/components/PhoneInput/PhoneInput.js +74 -74
  73. package/lib/components/PieChart/PieChart2.js +119 -119
  74. package/lib/components/PieChart/arc.js +63 -42
  75. package/lib/components/PieChart/useArcTween.js +56 -54
  76. package/lib/components/Popover/Popover2.js +61 -61
  77. package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
  78. package/lib/components/Rating/Rating2.js +81 -81
  79. package/lib/components/Resizable/Resizable2.js +112 -110
  80. package/lib/components/Resizable/layout.js +50 -50
  81. package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
  82. package/lib/components/ScatterChart/ScatterChart2.js +226 -227
  83. package/lib/components/ScatterChart/scatter.js +59 -57
  84. package/lib/components/ScrollArea/ScrollArea2.js +112 -112
  85. package/lib/components/Select/Select2.js +79 -79
  86. package/lib/components/Sidebar/Sidebar2.js +79 -79
  87. package/lib/components/Skeleton/Skeleton2.js +68 -68
  88. package/lib/components/Slider/Slider2.js +78 -77
  89. package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
  90. package/lib/components/SparkChart/SparkChart2.js +146 -145
  91. package/lib/components/SparkChart/spark.js +41 -67
  92. package/lib/components/Sparkbar/Sparkbar2.js +61 -60
  93. package/lib/components/SplitView/SplitView2.js +53 -53
  94. package/lib/components/Stat/Stat2.js +94 -94
  95. package/lib/components/StepList/StepList2.js +70 -70
  96. package/lib/components/Table/Table2.js +63 -63
  97. package/lib/components/Tabs/Tabs2.js +70 -70
  98. package/lib/components/TagInput/TagInput2.js +236 -239
  99. package/lib/components/TimePicker/TimePicker2.js +231 -232
  100. package/lib/components/TimePicker/time.js +63 -65
  101. package/lib/components/Timeline/Timeline2.js +167 -167
  102. package/lib/components/Timeline/scale.js +55 -55
  103. package/lib/components/Toast/Toaster.js +151 -152
  104. package/lib/components/Toast/store.js +90 -87
  105. package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
  106. package/lib/components/Toolbar/Toolbar2.js +145 -145
  107. package/lib/components/Tracker/Tracker2.js +76 -76
  108. package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
  109. package/lib/components/TreeView/TreeView2.js +124 -124
  110. package/lib/hooks/timing.js +30 -29
  111. package/lib/hooks/useControllableState.js +37 -36
  112. package/lib/hooks/useCountdown.js +56 -59
  113. package/lib/hooks/useDigitInput.js +52 -78
  114. package/lib/hooks/useDismiss.js +58 -57
  115. package/lib/hooks/useElapsed.js +54 -54
  116. package/lib/hooks/useFloating.js +26 -26
  117. package/lib/hooks/useFocusTrap.js +42 -42
  118. package/lib/hooks/usePresence.js +49 -48
  119. package/lib/hooks/usePressToOpen.js +42 -41
  120. package/lib/hooks/useScrollLock.js +45 -44
  121. package/lib/hooks/useSelection.js +45 -39
  122. package/lib/index.js +71 -71
  123. package/lib/primitives/AspectRatio2.js +60 -60
  124. package/lib/primitives/BrandIcon.js +161 -161
  125. package/lib/primitives/ColorDot2.js +42 -45
  126. package/lib/primitives/CopyButton2.js +57 -56
  127. package/lib/primitives/CountBadge2.js +55 -51
  128. package/lib/primitives/Countdown2.js +41 -46
  129. package/lib/primitives/Delta2.js +36 -36
  130. package/lib/primitives/Elapsed.js +49 -49
  131. package/lib/primitives/FileIcon2.js +96 -96
  132. package/lib/primitives/Flag2.js +135 -135
  133. package/lib/primitives/IconStack2.js +38 -60
  134. package/lib/primitives/IconTile2.js +28 -29
  135. package/lib/primitives/Kbd2.js +50 -50
  136. package/lib/primitives/Layout2.js +71 -71
  137. package/lib/primitives/Link2.js +32 -31
  138. package/lib/primitives/MaskedText2.js +49 -74
  139. package/lib/primitives/Progress2.js +65 -66
  140. package/lib/primitives/RelativeTime.js +58 -57
  141. package/lib/primitives/SearchInput2.js +65 -65
  142. package/lib/primitives/SelectorButton2.js +74 -73
  143. package/lib/primitives/Spinner2.js +50 -50
  144. package/lib/primitives/StatusIcon2.js +68 -68
  145. package/lib/primitives/Swatch2.js +59 -55
  146. package/lib/primitives/Tooltip2.js +81 -81
  147. package/lib/primitives/Typography2.js +53 -53
  148. package/lib/primitives/formatCountdown.js +21 -22
  149. package/lib/primitives/formatElapsed.js +43 -42
  150. package/lib/primitives/formatRelativeTime.js +50 -50
  151. package/lib/primitives/hotkey.js +82 -82
  152. package/lib/primitives/index.js +193 -174
  153. package/lib/primitives/maskValue.js +28 -28
  154. package/lib/style.css +1 -1
  155. package/lib/types/primitives/index.d.ts +6 -2
  156. package/package.json +1 -1
@@ -1,48 +1,42 @@
1
1
  "use client";
2
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
3
  (function(e, n) {
18
4
  let r = t, i = e();
19
5
  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;
6
+ if (parseInt(r(238)) / 1 * (parseInt(r(214)) / 2) + parseInt(r(199)) / 3 * (parseInt(r(237)) / 4) + -parseInt(r(219)) / 5 + parseInt(r(229)) / 6 * (parseInt(r(226)) / 7) + parseInt(r(208)) / 8 * (-parseInt(r(212)) / 9) + parseInt(r(235)) / 10 * (parseInt(r(225)) / 11) + parseInt(r(239)) / 12 * (parseInt(r(222)) / 13) == n) break;
21
7
  i.push(i.shift());
22
8
  } catch {
23
9
  i.push(i.shift());
24
10
  }
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();
11
+ })(p, 574765);
12
+ function t(e, n) {
13
+ e -= 199;
14
+ let r = p(), i = r[e];
15
+ t.dgQlCe === void 0 && (t.OGjcKE = function(e) {
16
+ let t = "", n = "";
17
+ 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
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
19
+ return decodeURIComponent(n);
20
+ }, t.YQBrFu = {}, t.dgQlCe = !0);
21
+ let a = r[0];
22
+ t.DkOFsG !== a && (t.YQBrFu = {}, t.DkOFsG = a);
23
+ let o = t.YQBrFu[e];
24
+ return o === void 0 ? (i = t.OGjcKE(i), t.YQBrFu[e] = i) : i = o, i;
31
25
  }
32
- var r = new Intl[e(122)](e(128)), i = new Intl[e(122)](e(128), {
33
- notation: e(132),
26
+ var n = new Intl[e(231)](e(204)), r = new Intl.NumberFormat(e(204), {
27
+ notation: e(200),
34
28
  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) => {
29
+ }), i = (e) => n.format(e), a = (t) => r[e(240)](t), o = (t) => Math[e(230)](t * 1e3) / 10 + "%", s = (t, n) => {
30
+ let r = t ?? e(211) + (n % 6 + 1);
31
+ return r.startsWith("--") ? "var(" + r + ")" : r;
32
+ }, c = (t, n) => {
39
33
  let r = e, i = t?.[n];
40
- return typeof i === r(142) && Number[r(145)](i) ? i : null;
34
+ return typeof i === r(206) && Number[r(227)](i) ? i : null;
41
35
  };
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 = ([
36
+ function l(t, n) {
37
+ let r = e, i = Math[r(242)](1, n - 1);
38
+ if (t <= 0) return Array[r(228)]({ length: i + 1 }, (e, t) => t);
39
+ let a = t / i, o = 10 ** Math[r(217)](Math[r(232)](a)), s = ([
46
40
  1,
47
41
  1.5,
48
42
  2,
@@ -50,21 +44,27 @@ function u(t, n) {
50
44
  3,
51
45
  5,
52
46
  10
53
- ][r(148)]((e) => e * o >= a) ?? 10) * o;
54
- return Array[r(136)]({ length: i + 1 }, (e, t) => t * s);
47
+ ][r(207)]((e) => e * o >= a) ?? 10) * o;
48
+ return Array.from({ length: i + 1 }, (e, t) => t * s);
49
+ }
50
+ var u = (t) => Math[e(242)](...t.map((t) => t[e(223)])) * 7 + 14, d = (t, n, r = 110) => Math[e(242)](1, Math[e(210)](t / Math[e(242)](1, Math[e(217)](n / r)))), f = (t, n) => n === e(215) && t[e(223)] > 2 ? m(t) : t[e(234)](([e, t], n) => (n ? "L" : "M") + e + "," + t)[e(233)]("");
51
+ function p() {
52
+ let e = /* @__PURE__ */ "CMv2zxjZzq.mJK4nZy5ou1ms0rUDG.BgvUz3rO.CMvWBgfJzq.mtfev3PQthC.odC0m0X5AxnQAq.AxngAw5PDgu.zNjVBq.mZq5ogTlwgTuDG.CM91BMq.tNvTyMvYrM9YBwf0.Bg9Nmta.AM9PBG.BwfW.mta4nJq1mhLSAfDlAq.BwLU.mte5nJC2ne1SANngta.ndGXmdC2C1jQCKzU.mtjqy0PJCgG.zM9YBwf0.C3fYDa.Bwf4.nK5PsLb5uq.y29TCgfJDa.DMfYkc0TC3vYzMfJzs1Hy3rPDMuP.C2XPy2u.DMfYkc0TywnJzw50kq.A28Ts1i.DMfYkc0TzgfUz2vYkq.BNvTyMvY.zMLUza.mti4odGWmgHZzNPPyG.DMfYkc0TywnJzw50lxnVzNqP.y2vPBa.ls1JAgfYDc0.ntrPAe1wzKm.DMfYkc0TD2fYBMLUzYK.mKDTuhrHuW.C21VB3rO.DMfYkc0TzgfUz2vYlxnVzNqP.zMXVB3i.DMfYkc0Ty2HHCNqTyxHPCYK.mZaYmZy0mePgBK5YBW.DMfYkc0TD2fYBMLUzY1ZB2z0kq".split(".");
53
+ return p = function() {
54
+ return e;
55
+ }, p();
55
56
  }
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
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);
58
+ let n = e, r = t[n(223)], i = t[n(202)](0, -1)[n(234)](([e, n], r) => (t[r + 1][1] - n) / (t[r + 1][0] - e)), a = t.map((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
59
  for (let e = 0; e < r - 1; e++) {
60
60
  if (i[e] === 0) {
61
61
  a[e] = a[e + 1] = 0;
62
62
  continue;
63
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];
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(241)](o);
67
+ a[e] = s * t * i[e], a[e + 1] = s * r * i[e];
68
68
  }
69
69
  }
70
70
  let o = "M" + t[0][0] + "," + t[0][1];
@@ -75,22 +75,22 @@ function m(t) {
75
75
  return o;
76
76
  }
77
77
  function h(t, n, r, i, a) {
78
- let o = e, s = Math[o(124)](0, Math[o(125)](a, r / 2, i));
78
+ let o = e, s = Math[o(242)](0, Math[o(236)](a, r / 2, i));
79
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
80
  }
81
81
  var g = {
82
- neutral: e(151),
83
- accent: "var(--accent-soft)",
84
- warning: e(137),
85
- danger: e(147)
82
+ neutral: e(201),
83
+ accent: e(209),
84
+ warning: e(220),
85
+ danger: e(216)
86
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) : "";
87
+ neutral: e(218),
88
+ accent: e(203),
89
+ warning: e(213),
90
+ danger: e(205)
91
+ }, v = (e, t) => e.length ? f(e, t) : "";
92
92
  function y(t, n, r) {
93
93
  let i = e;
94
- return t[i(131)] ? "" + p(t, r) + p([...n][i(117)](), r).replace(/^M/, "L") + "Z" : "";
94
+ return t.length ? "" + f(t, r) + f([...n][i(221)](), r)[i(224)](/^M/, "L") + "Z" : "";
95
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 };
96
+ export { g as CHART_TONE_SOFT, _ as CHART_TONE_STRONG, u as axisGutter, y as bandPath, h as barPath, s as chartColor, a as formatCompact, i as formatNumber, o as formatPercent, d as labelStep, v as linePath, l as niceTicks, c as numberAt };
@@ -1,57 +1,57 @@
1
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) {
2
+ const e = n;
3
+ (function(e, t) {
4
+ let r = n, i = e();
5
+ for (;;) try {
6
+ if (-parseInt(r(282)) / 1 + -parseInt(r(273)) / 2 + -parseInt(r(290)) / 3 + -parseInt(r(292)) / 4 + parseInt(r(278)) / 5 * (parseInt(r(274)) / 6) + parseInt(r(271)) / 7 * (parseInt(r(296)) / 8) + parseInt(r(299)) / 9 == t) break;
7
+ i.push(i.shift());
8
+ } catch {
9
+ i.push(i.shift());
10
+ }
11
+ })(t, 491486);
12
+ function t() {
13
+ let e = /* @__PURE__ */ "y2XLyxjuAw1LB3v0.mZjUwMPfq2K.C2v0vgLTzw91Da.qxjYB3DeB3DU.mti1mdC1ntj3twr4qu8.ndu5mZi2uurLyMDW.ChjLDMvUDerLzMf1Bhq.mteXnJK4EwLWExDj.mZi1ote0wufZEfbK.qxjYB3Dmzwz0.Bwf4.rxnJyxbL.mZvpsujQsKi.z3jVDxa.B2zMC2v0v2LKDgG.y3vYCMvUDa.nZa1nZjnr3HjBuW.y2XPzw50v2LKDgG.B2jZzxj2zq.zMLYC3q.oMzVy3vZlxzPC2LIBgu.Bwf0y2HLCW.A2v5.qxjYB3DsAwDODa.mJKZnduXm1n0qM5Tyq.BwLU.mtC0ntqYmg9XChbKvq.sg9Tzq.BgfZDa".split(".");
14
+ return t = function() {
15
+ return e;
16
+ }, t();
17
+ }
18
+ function n(e, r) {
19
+ e -= 271;
20
+ let i = t(), a = i[e];
21
+ n.XVvPyO === void 0 && (n.qNAjBf = function(e) {
7
22
  let t = "", n = "";
8
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);
9
24
  for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
10
25
  return decodeURIComponent(n);
11
- }, t.OrzuxQ = {}, t.uxmFPO = !0);
26
+ }, n.byXfMw = {}, n.XVvPyO = !0);
12
27
  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;
28
+ n.JFspSs !== o && (n.byXfMw = {}, n.JFspSs = o);
29
+ let s = n.byXfMw[e];
30
+ return s === void 0 ? (a = n.qNAjBf(a), n.byXfMw[e] = a) : a = s, a;
16
31
  }
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
32
  import { TIMING as r } from "../../hooks/timing.js";
33
33
  import { useControllableState as i } from "../../hooks/useControllableState.js";
34
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) }) {
35
+ function l({ count: t, activeIndex: l, defaultActiveIndex: u = null, onActiveIndexChange: d, initialKeyboardIndex: f = e(294) }) {
36
36
  let p = e, [m, h] = i(l, u, d), g = s(null), _ = s(null), [v, y] = c(0), [b, x] = c({
37
37
  w: 0,
38
38
  h: 0
39
39
  }), S = s(void 0);
40
40
  o(() => {
41
- let e = t, n = g[e(354)], r = _[e(354)];
42
- if (!n) return;
41
+ let e = n, t = g[e(281)], r = _[e(281)];
42
+ if (!t) return;
43
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)]
44
+ let n = e;
45
+ y(t[n(283)]), r && x((e) => e.w === r[n(280)] && e.h === r.offsetHeight ? e : {
46
+ w: r[n(280)],
47
+ h: r.offsetHeight
48
48
  });
49
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);
50
+ return i[e(284)](t), r && i[e(284)](r), y(t.clientWidth), () => i.disconnect();
51
+ }, []), a(() => () => window[p(295)](S[p(281)]), []);
52
+ let C = m !== null && m < t, [w, T] = c(m);
53
53
  C && m !== w && T(m);
54
- let E = w !== null && w < n ? w : null, [D, O] = c(!1);
54
+ let E = w !== null && w < t ? w : null, [D, O] = c(!1);
55
55
  return !C && D && O(!1), a(() => {
56
56
  if (!C) return;
57
57
  let e = requestAnimationFrame(() => e = requestAnimationFrame(() => O(!0)));
@@ -67,25 +67,25 @@ function l({ count: n, activeIndex: l, defaultActiveIndex: u = null, onActiveInd
67
67
  tipSize: b,
68
68
  hover: (e) => {
69
69
  let t = p;
70
- window[t(338)](S[t(354)]), e !== m && h(e);
70
+ window[t(295)](S[t(281)]), e !== m && h(e);
71
71
  },
72
72
  leave: () => {
73
73
  let e = p;
74
- window[e(338)](S[e(354)]), S[e(354)] = window[e(344)](() => h(null), r[e(333)]);
74
+ window[e(295)](S.current), S[e(281)] = window[e(297)](() => h(null), r.hoverGrace);
75
75
  },
76
76
  plotProps: {
77
77
  ref: g,
78
78
  tabIndex: 0,
79
- role: "group",
79
+ role: p(279),
80
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));
81
+ let n = p;
82
+ if (!t) return;
83
+ let r = m ?? (f === n(285) ? 0 : t - 1), i = e[n(288)] === n(289) || e.key === n(298) ? Math[n(291)](t - 1, r + 1) : e[n(288)] === n(275) || e.key === "ArrowUp" ? Math[n(276)](0, r - 1) : e.key === n(293) ? 0 : e[n(288)] === "End" ? t - 1 : void 0;
84
+ i === void 0 ? e.key === n(277) && m !== null && (e[n(272)](), h(null)) : (e[n(272)](), h(i));
85
85
  },
86
86
  onFocus: (e) => {
87
- let t = p;
88
- e.currentTarget.matches(t(349)) && m === null && n && h(f === t(355) ? 0 : n - 1);
87
+ let n = p;
88
+ e.currentTarget[n(287)](n(286)) && m === null && t && h(f === "first" ? 0 : t - 1);
89
89
  },
90
90
  onBlur: () => h(null)
91
91
  }
@@ -1,111 +1,125 @@
1
1
  "use client";
2
- const e = D;
2
+ const e = d;
3
3
  (function(e, t) {
4
- let n = D, r = e();
4
+ let n = d, r = e();
5
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;
6
+ if (parseInt(n(224)) / 1 * (-parseInt(n(212)) / 2) + parseInt(n(223)) / 3 * (parseInt(n(204)) / 4) + -parseInt(n(237)) / 5 * (parseInt(n(191)) / 6) + parseInt(n(209)) / 7 + -parseInt(n(195)) / 8 + parseInt(n(196)) / 9 + parseInt(n(194)) / 10 * (parseInt(n(215)) / 11) == t) break;
7
7
  r.push(r.shift());
8
8
  } catch {
9
9
  r.push(r.shift());
10
10
  }
11
- })(v, 329069);
11
+ })(r, 968535);
12
12
  import { Spinner as t } from "../../primitives/Spinner2.js";
13
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() {
14
+ function r() {
15
+ let e = /* @__PURE__ */ "C3bHBG.BwfW.Aw1N.BMv1DhjHBa.C2LUz2XL.zMfPBgvK.Aw5OzxjPDa.mJe0mZbmy25YzLG.64UK7iUCioUZToUcToQ4Sa.zhmTy2HHDc1IDwjIBgvFx2zPBgWTlq.C2LKzq.zMLSDgvY.C2vJB25Kyxj5.zhmTy2HHDc1IDwjIBgvFx21LDge.BgfZDa.ndaYA2PHruDy.zhmTy2HHDc1NCM91Ca.zMLYC3q.mJi2mfPWCuLKEG.nJeYnJuYogjNt1z5DG.ndGYmtm1nefxt3H5EG.Cg9ZAxrPB24.uhjVDMLKzxi.zw5K.C2vUzgLUzW.zhmTy2HHDc1NCM91Cf9FyNvIyMXLCW.CMvHza.r3jVDxa.ng9PCvbYAa.zhmTy2HHDc1NCM91Cf9FBMfTzq.zhmTy2HHDc1IDwjIBgvFx3n0yxr1CW.BgfIzwWTC20.A2v5.mteZotGYnJHJywvLqKe.BgvUz3rO.zgL2.mJu0otaYzhvdzuHx.BwLKzgXL.zhmTy2HHDc1IDwjIBgvFx3jVDW.odKYmvHNvuvAvq.7j6f66cLioYKKq.ywnJzw50.yM9KEs1Tza.z2HVC3q.zhmTy2HHDc1IDwjIBgvFx2fSzxj0.C3rHCNq.C3rYAw5N.ntuYmdaZv1bVsuzj.neTfrgzYuq.zhmTy2HHDc1IDwjIBgvFx2rVDhm.zhmTy2HHDc1NCM91Cf9FyxzHDgfY.7j2yioUPLoYlNoYNGa.Dg9bCNjHEq.C3rHDhvZ".split(".");
16
+ return r = function() {
24
17
  return e;
25
- }, v();
18
+ }, r();
19
+ }
20
+ import { Inline as i, Stack as a } from "../../primitives/Layout2.js";
21
+ import { RelativeTime as o } from "../../primitives/RelativeTime.js";
22
+ import { Avatar as s, Button as c, cx as l } from "../../primitives/index.js";
23
+ import { formatChatTime as u } from "./formatChatTime.js";
24
+ function d(e, t) {
25
+ e -= 184;
26
+ let n = r(), i = n[e];
27
+ d.xQoXKX === void 0 && (d.KUZQZQ = function(e) {
28
+ let t = "", n = "";
29
+ 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);
30
+ for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
31
+ return decodeURIComponent(n);
32
+ }, d.OjOcqH = {}, d.xQoXKX = !0);
33
+ let a = n[0];
34
+ d.ptlVaL !== a && (d.OjOcqH = {}, d.ptlVaL = a);
35
+ let o = d.OjOcqH[e];
36
+ return o === void 0 ? (i = d.KUZQZQ(i), d.OjOcqH[e] = i) : i = o, i;
26
37
  }
27
- import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
28
- var S = d(null), C = {
38
+ /* empty css */
39
+ import { Children as f, createContext as p, isValidElement as m, useContext as h } from "react";
40
+ import { AlertCircle as g, Check as _, CheckCheck as v, RotateCw as y } from "lucide-react";
41
+ import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
42
+ var C = p(null), w = {
29
43
  sending: "보내는 중",
30
- sent: e(422),
44
+ sent: "전송됨",
31
45
  read: "읽음",
32
- failed: e(427)
46
+ failed: "전송 실패"
33
47
  };
34
- function w({ status: n }) {
35
- let r = e;
36
- if (n === r(433)) return b(t, {
48
+ function T({ status: e }) {
49
+ let n = d;
50
+ if (e === n(200)) return x(t, {
37
51
  size: 12,
38
- tone: r(426),
39
- label: C[r(433)]
52
+ tone: "inherit",
53
+ label: w[n(200)]
40
54
  });
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 })
55
+ if (e === n(235)) return null;
56
+ let r = e === n(202) ? v : _;
57
+ return x(n(230), {
58
+ className: n(206),
59
+ "data-status": e,
60
+ role: n(232),
61
+ "aria-label": w[e],
62
+ children: x(r, { "aria-hidden": !0 })
49
63
  });
50
64
  }
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, {
65
+ function E({ side: e, tone: t, position: r, children: s, time: f, status: p, onRetry: m, typing: _, actions: v, footer: E, appear: D, className: O, style: k }) {
66
+ let A = d, j = h(C), M = e ?? j?.[A(186)] ?? A(221), N = r ?? j?.[A(197)] ?? A(234), P = t ?? (M === A(199) ? A(217) : A(233)), F = N === "single" || N === A(190), I = F && (f != null || p != null) || p === "sending" || p === A(235), L = x(n, {
53
67
  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),
68
+ variant: A(218),
69
+ tone: A(236),
70
+ className: l("ds-chat-bubble__fill", A(185) + P),
71
+ "data-typing": _ || void 0,
72
+ children: _ ? S(A(230), {
73
+ className: A(225),
74
+ role: A(229),
75
+ "aria-label": A(216),
62
76
  children: [
63
- b(A(428), {}),
64
- b(A(428), {}),
65
- b(A(428), {})
77
+ x(A(230), {}),
78
+ x("span", {}),
79
+ x("span", {})
66
80
  ]
67
- }) : d
68
- }), R = I && b(r, {
81
+ }) : s
82
+ }), R = I && x(i, {
69
83
  gap: 1,
70
84
  wrap: !1,
71
- className: "ds-chat-bubble__meta",
72
- "data-failed": h === "failed" || void 0,
73
- children: h === "failed" ? x(y, { children: [b(m, {
85
+ className: A(189),
86
+ "data-failed": p === "failed" || void 0,
87
+ children: p === "failed" ? S(b, { children: [x(g, {
74
88
  "aria-hidden": !0,
75
- className: A(441)
76
- }), b(n, {
77
- variant: A(438),
89
+ className: A(220)
90
+ }), x(n, {
91
+ variant: "caption",
78
92
  tone: "danger",
79
- children: C.failed
80
- })] }) : x(y, { children: [h && b(w, { status: h }), F && f != null && b(a, {
93
+ children: w[A(235)]
94
+ })] }) : S(b, { children: [p && x(T, { status: p }), F && f != null && x(o, {
81
95
  date: f,
82
- format: l,
96
+ format: u,
83
97
  refreshInterval: !1
84
98
  })] })
85
- }), z = h === A(418) && g && b(s, {
86
- variant: A(424),
99
+ }), z = p === A(235) && m && x(c, {
100
+ variant: A(219),
87
101
  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
102
+ icon: x(y, {}),
103
+ onClick: m,
104
+ children: A(184)
105
+ }), B = v && x("span", {
106
+ className: "ds-chat-bubble__actions",
107
+ children: v
94
108
  });
95
- return x(i, {
109
+ return S(a, {
96
110
  gap: 1,
97
- align: M === A(423) ? "end" : A(420),
98
- className: c(A(447), O),
111
+ align: M === A(199) ? A(199) : A(221),
112
+ className: l("ds-chat-bubble", O),
99
113
  "data-side": M,
100
114
  "data-position": N,
101
- "data-status": h,
115
+ "data-status": p,
102
116
  "data-appear": D || void 0,
103
117
  style: k,
104
- children: [x(r, {
118
+ children: [S(i, {
105
119
  gap: 2,
106
- align: A(423),
120
+ align: A(199),
107
121
  wrap: !1,
108
- className: A(421),
122
+ className: A(214),
109
123
  children: [
110
124
  L,
111
125
  R,
@@ -115,60 +129,46 @@ function T({ side: t, tone: o, position: u, children: d, time: f, status: h, onR
115
129
  }), E]
116
130
  });
117
131
  }
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, {
132
+ function D({ author: t, avatar: r, side: o = "start", avatarSize: c = 28, showName: u = o === e(221), children: d, className: p, style: h }) {
133
+ let g = e, _ = f[g(228)](d)[g(187)](m), v = _[g(210)] - 1, y = o === "start" && (r === void 0 ? typeof t === g(222) ? x(s, {
120
134
  name: t,
121
- size: l
122
- }) : null : a), C = x(i, {
135
+ size: c
136
+ }) : null : r), b = S(a, {
123
137
  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),
138
+ align: o === g(199) ? g(199) : g(221),
139
+ className: g(201),
140
+ children: [u && t != null && x(n, {
141
+ variant: g(207),
142
+ tone: g(188),
143
+ className: g(205),
130
144
  children: t
131
- }), _.map((e, t) => b(S[g(414)], {
145
+ }), _[g(231)]((e, t) => x(C[g(198)], {
132
146
  value: {
133
- side: s,
134
- position: g(v === 0 ? 403 : t === 0 ? 434 : t === v ? 408 : 436)
147
+ side: o,
148
+ position: v === 0 ? g(234) : t === 0 ? g(193) : t === v ? "last" : g(213)
135
149
  },
136
150
  children: e
137
- }, e.key ?? t))]
151
+ }, e[g(208)] ?? t))]
138
152
  });
139
- return b("div", {
140
- className: c(g(402), m),
141
- "data-side": s,
153
+ return x(g(211), {
154
+ className: l(g(192), p),
155
+ "data-side": o,
142
156
  role: "group",
143
- "aria-label": typeof t == "string" ? t + g(429) : void 0,
157
+ "aria-label": typeof t == "string" ? t + g(227) : void 0,
144
158
  style: {
145
- "--_avatar": l + "px",
159
+ "--_avatar": c + "px",
146
160
  ...h
147
161
  },
148
- children: s === "start" && (y || a === null) ? x(r, {
162
+ children: o === "start" && (y || r === null) ? S(i, {
149
163
  gap: 2,
150
- align: "start",
164
+ align: g(221),
151
165
  wrap: !1,
152
- children: [b(g(428), {
153
- className: g(439),
166
+ children: [x(g(230), {
167
+ className: g(226),
154
168
  children: y
155
- }), C]
156
- }) : C
169
+ }), b]
170
+ }) : b
157
171
  });
158
172
  }
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 };
173
+ E[e(203)] = D;
174
+ export { E as ChatBubble, D as ChatBubbleGroup };