@alxxsck/ai-assistant 2.9.0 → 2.10.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.
- package/dist/{Avatar-BaLHO8xH.js → Avatar-F_7JgbT9.js} +1 -1
- package/dist/{ChatWidgetContent-BNjQc58h.js → ChatWidgetContent-HOXAyr_K.js} +175 -210
- package/dist/bridge-ai-chat-widget.es.js +1 -1
- package/dist/{index-CAdBI0Ef.js → index-9a_TIQZV.js} +101 -101
- package/dist/ui/chat-composer-layout.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as N, jsx as x, Fragment as o0 } from "react/jsx-runtime";
|
|
2
2
|
import * as q from "react";
|
|
3
3
|
import ue, { useRef as S, useCallback as P, useEffect as H, useState as V, useMemo as Se, useLayoutEffect as xu, useContext as xe, createContext as He, forwardRef as Ft, Fragment as Nu, isValidElement as i0, cloneElement as a0, createElement as Iu, useId as At, memo as Sn } from "react";
|
|
4
|
-
import { P as oe, u as le, a as ku, b as ju, c as Dt, d as c0, e as Ue, C as se, N as Ru, f as au, V as s0, M as Oe, g as Tt, h as l0, i as d0, j as f0, k as h0, l as p0, m as b0, n as m0, o as g0, p as x0, q as k0, r as C0, t as v0, s as St, v as y0, w as Ye, x as _0, y as w0, z as E0, A as F0, B as A0, D as D0, E as T0, F as S0, R as $0, G as nu, H as Wt } from "./index-
|
|
4
|
+
import { P as oe, u as le, a as ku, b as ju, c as Dt, d as c0, e as Ue, C as se, N as Ru, f as au, V as s0, M as Oe, g as Tt, h as l0, i as d0, j as f0, k as h0, l as p0, m as b0, n as m0, o as g0, p as x0, q as k0, r as C0, t as v0, s as St, v as y0, w as Ye, x as _0, y as w0, z as E0, A as F0, B as A0, D as D0, E as T0, F as S0, R as $0, G as nu, H as Wt } from "./index-9a_TIQZV.js";
|
|
5
5
|
const M0 = (e) => /* @__PURE__ */ q.createElement("svg", { width: 15, height: 22, viewBox: "0 0 15 22", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ q.createElement("path", { d: "M3 10.5V4.5C3 3.30653 3.47411 2.16193 4.31802 1.31802C5.16193 0.474106 6.30653 0 7.5 0C8.69347 0 9.83807 0.474106 10.682 1.31802C11.5259 2.16193 12 3.30653 12 4.5V10.5C12 11.6935 11.5259 12.8381 10.682 13.682C9.83807 14.5259 8.69347 15 7.5 15C6.30653 15 5.16193 14.5259 4.31802 13.682C3.47411 12.8381 3 11.6935 3 10.5ZM15 10.5C15 10.3011 14.921 10.1103 14.7803 9.96967C14.6397 9.82902 14.4489 9.75 14.25 9.75C14.0511 9.75 13.8603 9.82902 13.7197 9.96967C13.579 10.1103 13.5 10.3011 13.5 10.5C13.5 12.0913 12.8679 13.6174 11.7426 14.7426C10.6174 15.8679 9.0913 16.5 7.5 16.5C5.9087 16.5 4.38258 15.8679 3.25736 14.7426C2.13214 13.6174 1.5 12.0913 1.5 10.5C1.5 10.3011 1.42098 10.1103 1.28033 9.96967C1.13968 9.82902 0.948912 9.75 0.75 9.75C0.551088 9.75 0.360322 9.82902 0.21967 9.96967C0.0790178 10.1103 0 10.3011 0 10.5C0.00228386 12.3586 0.693677 14.1504 1.94048 15.5288C3.18728 16.9072 4.90091 17.7743 6.75 17.9625V21C6.75 21.1989 6.82902 21.3897 6.96967 21.5303C7.11032 21.671 7.30109 21.75 7.5 21.75C7.69891 21.75 7.88968 21.671 8.03033 21.5303C8.17098 21.3897 8.25 21.1989 8.25 21V17.9625C10.0991 17.7743 11.8127 16.9072 13.0595 15.5288C14.3063 14.1504 14.9977 12.3586 15 10.5Z", fill: "white" })), L0 = (e) => /* @__PURE__ */ q.createElement("svg", { width: 17, height: 22, viewBox: "0 0 17 22", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ q.createElement("path", { d: "M16.2483 20.05C16.1011 20.1838 15.9068 20.2536 15.7082 20.2441C15.5095 20.2346 15.3227 20.1466 15.189 19.9994L12.2902 16.8119C11.2986 17.4511 10.1683 17.8436 8.99395 17.9566V20.995C8.99395 21.1939 8.91494 21.3847 8.77428 21.5253C8.63363 21.666 8.44287 21.745 8.24395 21.745C8.04504 21.745 7.85428 21.666 7.71362 21.5253C7.57297 21.3847 7.49395 21.1939 7.49395 20.995V17.9575C5.64487 17.7694 3.93123 16.9022 2.68443 15.5238C1.43763 14.1454 0.746237 12.3536 0.743953 10.495C0.743953 10.2961 0.822971 10.1053 0.963623 9.96468C1.10428 9.82403 1.29504 9.74501 1.49395 9.74501C1.69287 9.74501 1.88363 9.82403 2.02428 9.96468C2.16494 10.1053 2.24395 10.2961 2.24395 10.495C2.24569 12.0858 2.87839 13.6109 4.00323 14.7357C5.12807 15.8606 6.65319 16.4933 8.24395 16.495C9.3051 16.4981 10.3477 16.2172 11.2636 15.6813L10.223 14.5375C9.53688 14.8735 8.77649 15.0293 8.01351 14.9902C7.25052 14.951 6.51006 14.7183 5.86189 14.3139C5.21372 13.9095 4.67918 13.3467 4.30864 12.6786C3.93811 12.0105 3.74377 11.259 3.74395 10.495V7.4097L0.188953 3.49939C0.0579834 3.35175 -0.00951799 3.15845 0.00108397 2.96138C0.0116859 2.76431 0.0995364 2.57936 0.245589 2.44663C0.391643 2.3139 0.584126 2.24408 0.781309 2.25232C0.978492 2.26056 1.16448 2.34619 1.29895 2.49064L16.299 18.9906C16.4327 19.1378 16.5025 19.3321 16.493 19.5308C16.4835 19.7295 16.3955 19.9162 16.2483 20.05ZM13.9805 14.1316C14.0828 14.1823 14.1954 14.2086 14.3096 14.2085C14.4501 14.2085 14.5878 14.169 14.7069 14.0946C14.8261 14.0202 14.922 13.9138 14.9836 13.7875C15.4869 12.7631 15.7471 11.6364 15.744 10.495C15.744 10.2961 15.6649 10.1053 15.5243 9.96468C15.3836 9.82403 15.1929 9.74501 14.994 9.74501C14.795 9.74501 14.6043 9.82403 14.4636 9.96468C14.323 10.1053 14.244 10.2961 14.244 10.495C14.2466 11.4079 14.0387 12.309 13.6365 13.1285C13.5491 13.3071 13.5363 13.5131 13.6008 13.7013C13.6653 13.8894 13.8019 14.0442 13.9805 14.1316ZM11.4183 11.3922C11.5158 11.4995 11.6422 11.5762 11.7824 11.6131C11.9225 11.65 12.0703 11.6456 12.208 11.6002C12.3456 11.5549 12.4672 11.4707 12.558 11.3577C12.6488 11.2448 12.7049 11.1079 12.7196 10.9638C12.7356 10.808 12.7437 10.6516 12.744 10.495V4.49501C12.7428 3.46146 12.3859 2.45981 11.7333 1.6584C11.0806 0.85698 10.172 0.304654 9.16007 0.0942441C8.14816 -0.116166 7.09467 0.0281652 6.17664 0.502981C5.25861 0.977798 4.53201 1.75415 4.11895 2.70158C4.06128 2.834 4.04308 2.98027 4.06652 3.1228C4.08997 3.26532 4.15408 3.39804 4.25114 3.50501L11.4183 11.3922Z" })), N0 = (e) => /* @__PURE__ */ q.createElement("svg", { width: 19, height: 17, viewBox: "0 0 19 17", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ q.createElement("path", { d: "M12.5227 3.81607C11.8966 2.45748 10.8252 1.35355 9.48597 0.687157C8.14671 0.0207681 6.61998 -0.168078 5.15872 0.151907C3.69745 0.471891 2.38936 1.2815 1.45116 2.4466C0.512966 3.6117 0.000969112 5.06237 0 6.55826V11.5583C0 11.9727 0.16462 12.3701 0.457646 12.6631C0.750671 12.9561 1.1481 13.1208 1.5625 13.1208H5.63281C6.16643 14.2418 7.00649 15.1889 8.05583 15.8525C9.10517 16.5161 10.3209 16.8692 11.5625 16.8708H16.5625C16.9769 16.8708 17.3743 16.7061 17.6674 16.4131C17.9604 16.1201 18.125 15.7227 18.125 15.3083V10.3083C18.1251 8.73409 17.5593 7.21234 16.5309 6.02056C15.5024 4.82878 14.0799 4.04638 12.5227 3.81607ZM1.875 6.55826C1.875 5.63116 2.14992 4.72488 2.66499 3.95402C3.18006 3.18317 3.91214 2.58236 4.76867 2.22757C5.6252 1.87278 6.5677 1.77996 7.47699 1.96082C8.38627 2.14169 9.2215 2.58813 9.87706 3.24369C10.5326 3.89925 10.9791 4.73448 11.1599 5.64377C11.3408 6.55306 11.248 7.49556 10.8932 8.35209C10.5384 9.20861 9.93759 9.9407 9.16674 10.4558C8.39588 10.9708 7.4896 11.2458 6.5625 11.2458H1.875V6.55826ZM16.25 14.9958H11.5625C10.8125 14.9949 10.0737 14.8145 9.40771 14.4697C8.74173 14.1249 8.16796 13.6256 7.73438 13.0137C9.36318 12.7195 10.8205 11.8202 11.8138 10.4962C12.8071 9.17219 13.2629 7.52154 13.0898 5.87544C14.0125 6.19342 14.8129 6.79144 15.3794 7.58608C15.9459 8.38072 16.2502 9.33236 16.25 10.3083V14.9958Z" }));
|
|
6
6
|
function $n(e) {
|
|
7
7
|
var u, t, n = "";
|
|
@@ -290,12 +290,12 @@ const R0 = (e, u) => {
|
|
|
290
290
|
}, no = [], Z = (e) => {
|
|
291
291
|
const u = (t) => t[e] || no;
|
|
292
292
|
return u.isThemeGetter = !0, u;
|
|
293
|
-
}, Rn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ro = /^\d+\/\d+$/, oo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, io = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ao = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, so = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => ro.test(e),
|
|
293
|
+
}, Rn = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, zn = /^\((?:(\w[\w-]*):)?(.+)\)$/i, ro = /^\d+\/\d+$/, oo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, io = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ao = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, co = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, so = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => ro.test(e), L = (e) => !!e && !Number.isNaN(Number(e)), Ee = (e) => !!e && Number.isInteger(Number(e)), rt = (e) => e.endsWith("%") && L(e.slice(0, -1)), ve = (e) => oo.test(e), lo = () => !0, fo = (e) => (
|
|
294
294
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
295
295
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
296
296
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
297
297
|
io.test(e) && !ao.test(e)
|
|
298
|
-
), Pn = () => !1, ho = (e) => co.test(e), po = (e) => so.test(e), bo = (e) => !F(e) && !A(e), mo = (e) => Xe(e, qn, Pn), F = (e) => Rn.test(e), Ie = (e) => Xe(e, jn, fo), ot = (e) => Xe(e, vo,
|
|
298
|
+
), Pn = () => !1, ho = (e) => co.test(e), po = (e) => so.test(e), bo = (e) => !F(e) && !A(e), mo = (e) => Xe(e, qn, Pn), F = (e) => Rn.test(e), Ie = (e) => Xe(e, jn, fo), ot = (e) => Xe(e, vo, L), Qt = (e) => Xe(e, Bn, Pn), go = (e) => Xe(e, On, po), Fu = (e) => Xe(e, Hn, ho), A = (e) => zn.test(e), ru = (e) => eu(e, jn), xo = (e) => eu(e, yo), Xt = (e) => eu(e, Bn), ko = (e) => eu(e, qn), Co = (e) => eu(e, On), Au = (e) => eu(e, Hn, !0), Xe = (e, u, t) => {
|
|
299
299
|
const n = Rn.exec(e);
|
|
300
300
|
return n ? n[1] ? u(n[1]) : t(n[2]) : !1;
|
|
301
301
|
}, eu = (e, u, t = !1) => {
|
|
@@ -320,7 +320,7 @@ const R0 = (e, u) => {
|
|
|
320
320
|
"bottom-left",
|
|
321
321
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
322
322
|
"left-bottom"
|
|
323
|
-
], _ = () => [...v(), A, F], E = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], y = () => [A, F, c], I = () => [Ge, "full", "auto", ...y()],
|
|
323
|
+
], _ = () => [...v(), A, F], E = () => ["auto", "hidden", "clip", "visible", "scroll"], w = () => ["auto", "contain", "none"], y = () => [A, F, c], I = () => [Ge, "full", "auto", ...y()], $ = () => [Ee, "none", "subgrid", A, F], M = () => ["auto", {
|
|
324
324
|
span: ["full", Ee, A, F]
|
|
325
325
|
}, Ee, A, F], Q = () => [Ee, "auto", A, F], X = () => ["auto", "min", "max", "fr", A, F], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], G = () => ["auto", ...y()], ee = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...y()], D = () => [e, A, F], fe = () => [...v(), Xt, Qt, {
|
|
326
326
|
position: [A, F]
|
|
@@ -336,14 +336,14 @@ const R0 = (e, u) => {
|
|
|
336
336
|
s,
|
|
337
337
|
A,
|
|
338
338
|
F
|
|
339
|
-
], T = () => ["",
|
|
339
|
+
], T = () => ["", L, ru, Ie], B = () => ["solid", "dashed", "dotted", "double"], re = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], R = () => [L, rt, Xt, Qt], he = () => [
|
|
340
340
|
// Deprecated since Tailwind CSS v4.0.0
|
|
341
341
|
"",
|
|
342
342
|
"none",
|
|
343
343
|
f,
|
|
344
344
|
A,
|
|
345
345
|
F
|
|
346
|
-
], pe = () => ["none",
|
|
346
|
+
], pe = () => ["none", L, A, F], wu = () => ["none", L, A, F], nt = () => [L, A, F], Eu = () => [Ge, "full", ...y()];
|
|
347
347
|
return {
|
|
348
348
|
cacheSize: 500,
|
|
349
349
|
theme: {
|
|
@@ -362,7 +362,7 @@ const R0 = (e, u) => {
|
|
|
362
362
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
363
363
|
radius: [ve],
|
|
364
364
|
shadow: [ve],
|
|
365
|
-
spacing: ["px",
|
|
365
|
+
spacing: ["px", L],
|
|
366
366
|
text: [ve],
|
|
367
367
|
"text-shadow": [ve],
|
|
368
368
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -389,7 +389,7 @@ const R0 = (e, u) => {
|
|
|
389
389
|
* @see https://tailwindcss.com/docs/columns
|
|
390
390
|
*/
|
|
391
391
|
columns: [{
|
|
392
|
-
columns: [
|
|
392
|
+
columns: [L, F, A, a]
|
|
393
393
|
}],
|
|
394
394
|
/**
|
|
395
395
|
* Break After
|
|
@@ -620,21 +620,21 @@ const R0 = (e, u) => {
|
|
|
620
620
|
* @see https://tailwindcss.com/docs/flex
|
|
621
621
|
*/
|
|
622
622
|
flex: [{
|
|
623
|
-
flex: [
|
|
623
|
+
flex: [L, Ge, "auto", "initial", "none", F]
|
|
624
624
|
}],
|
|
625
625
|
/**
|
|
626
626
|
* Flex Grow
|
|
627
627
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
628
628
|
*/
|
|
629
629
|
grow: [{
|
|
630
|
-
grow: ["",
|
|
630
|
+
grow: ["", L, A, F]
|
|
631
631
|
}],
|
|
632
632
|
/**
|
|
633
633
|
* Flex Shrink
|
|
634
634
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
635
635
|
*/
|
|
636
636
|
shrink: [{
|
|
637
|
-
shrink: ["",
|
|
637
|
+
shrink: ["", L, A, F]
|
|
638
638
|
}],
|
|
639
639
|
/**
|
|
640
640
|
* Order
|
|
@@ -648,14 +648,14 @@ const R0 = (e, u) => {
|
|
|
648
648
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
649
649
|
*/
|
|
650
650
|
"grid-cols": [{
|
|
651
|
-
"grid-cols":
|
|
651
|
+
"grid-cols": $()
|
|
652
652
|
}],
|
|
653
653
|
/**
|
|
654
654
|
* Grid Column Start / End
|
|
655
655
|
* @see https://tailwindcss.com/docs/grid-column
|
|
656
656
|
*/
|
|
657
657
|
"col-start-end": [{
|
|
658
|
-
col:
|
|
658
|
+
col: M()
|
|
659
659
|
}],
|
|
660
660
|
/**
|
|
661
661
|
* Grid Column Start
|
|
@@ -676,14 +676,14 @@ const R0 = (e, u) => {
|
|
|
676
676
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
677
677
|
*/
|
|
678
678
|
"grid-rows": [{
|
|
679
|
-
"grid-rows":
|
|
679
|
+
"grid-rows": $()
|
|
680
680
|
}],
|
|
681
681
|
/**
|
|
682
682
|
* Grid Row Start / End
|
|
683
683
|
* @see https://tailwindcss.com/docs/grid-row
|
|
684
684
|
*/
|
|
685
685
|
"row-start-end": [{
|
|
686
|
-
row:
|
|
686
|
+
row: M()
|
|
687
687
|
}],
|
|
688
688
|
/**
|
|
689
689
|
* Grid Row Start
|
|
@@ -1111,7 +1111,7 @@ const R0 = (e, u) => {
|
|
|
1111
1111
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1112
1112
|
*/
|
|
1113
1113
|
"line-clamp": [{
|
|
1114
|
-
"line-clamp": [
|
|
1114
|
+
"line-clamp": [L, "none", A, ot]
|
|
1115
1115
|
}],
|
|
1116
1116
|
/**
|
|
1117
1117
|
* Line Height
|
|
@@ -1184,7 +1184,7 @@ const R0 = (e, u) => {
|
|
|
1184
1184
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1185
1185
|
*/
|
|
1186
1186
|
"text-decoration-thickness": [{
|
|
1187
|
-
decoration: [
|
|
1187
|
+
decoration: [L, "from-font", "auto", A, Ie]
|
|
1188
1188
|
}],
|
|
1189
1189
|
/**
|
|
1190
1190
|
* Text Decoration Color
|
|
@@ -1198,7 +1198,7 @@ const R0 = (e, u) => {
|
|
|
1198
1198
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1199
1199
|
*/
|
|
1200
1200
|
"underline-offset": [{
|
|
1201
|
-
"underline-offset": [
|
|
1201
|
+
"underline-offset": [L, "auto", A, F]
|
|
1202
1202
|
}],
|
|
1203
1203
|
/**
|
|
1204
1204
|
* Text Transform
|
|
@@ -1664,14 +1664,14 @@ const R0 = (e, u) => {
|
|
|
1664
1664
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1665
1665
|
*/
|
|
1666
1666
|
"outline-offset": [{
|
|
1667
|
-
"outline-offset": [
|
|
1667
|
+
"outline-offset": [L, A, F]
|
|
1668
1668
|
}],
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Outline Width
|
|
1671
1671
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1672
1672
|
*/
|
|
1673
1673
|
"outline-w": [{
|
|
1674
|
-
outline: ["",
|
|
1674
|
+
outline: ["", L, ru, Ie]
|
|
1675
1675
|
}],
|
|
1676
1676
|
/**
|
|
1677
1677
|
* Outline Color
|
|
@@ -1746,7 +1746,7 @@ const R0 = (e, u) => {
|
|
|
1746
1746
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1747
1747
|
*/
|
|
1748
1748
|
"ring-offset-w": [{
|
|
1749
|
-
"ring-offset": [
|
|
1749
|
+
"ring-offset": [L, Ie]
|
|
1750
1750
|
}],
|
|
1751
1751
|
/**
|
|
1752
1752
|
* Ring Offset Color
|
|
@@ -1790,7 +1790,7 @@ const R0 = (e, u) => {
|
|
|
1790
1790
|
* @see https://tailwindcss.com/docs/opacity
|
|
1791
1791
|
*/
|
|
1792
1792
|
opacity: [{
|
|
1793
|
-
opacity: [
|
|
1793
|
+
opacity: [L, A, F]
|
|
1794
1794
|
}],
|
|
1795
1795
|
/**
|
|
1796
1796
|
* Mix Blend Mode
|
|
@@ -1825,7 +1825,7 @@ const R0 = (e, u) => {
|
|
|
1825
1825
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1826
1826
|
*/
|
|
1827
1827
|
"mask-image-linear-pos": [{
|
|
1828
|
-
"mask-linear": [
|
|
1828
|
+
"mask-linear": [L]
|
|
1829
1829
|
}],
|
|
1830
1830
|
"mask-image-linear-from-pos": [{
|
|
1831
1831
|
"mask-linear-from": R()
|
|
@@ -1939,7 +1939,7 @@ const R0 = (e, u) => {
|
|
|
1939
1939
|
"mask-radial-at": v()
|
|
1940
1940
|
}],
|
|
1941
1941
|
"mask-image-conic-pos": [{
|
|
1942
|
-
"mask-conic": [
|
|
1942
|
+
"mask-conic": [L]
|
|
1943
1943
|
}],
|
|
1944
1944
|
"mask-image-conic-from-pos": [{
|
|
1945
1945
|
"mask-conic-from": R()
|
|
@@ -2030,14 +2030,14 @@ const R0 = (e, u) => {
|
|
|
2030
2030
|
* @see https://tailwindcss.com/docs/brightness
|
|
2031
2031
|
*/
|
|
2032
2032
|
brightness: [{
|
|
2033
|
-
brightness: [
|
|
2033
|
+
brightness: [L, A, F]
|
|
2034
2034
|
}],
|
|
2035
2035
|
/**
|
|
2036
2036
|
* Contrast
|
|
2037
2037
|
* @see https://tailwindcss.com/docs/contrast
|
|
2038
2038
|
*/
|
|
2039
2039
|
contrast: [{
|
|
2040
|
-
contrast: [
|
|
2040
|
+
contrast: [L, A, F]
|
|
2041
2041
|
}],
|
|
2042
2042
|
/**
|
|
2043
2043
|
* Drop Shadow
|
|
@@ -2065,35 +2065,35 @@ const R0 = (e, u) => {
|
|
|
2065
2065
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2066
2066
|
*/
|
|
2067
2067
|
grayscale: [{
|
|
2068
|
-
grayscale: ["",
|
|
2068
|
+
grayscale: ["", L, A, F]
|
|
2069
2069
|
}],
|
|
2070
2070
|
/**
|
|
2071
2071
|
* Hue Rotate
|
|
2072
2072
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2073
2073
|
*/
|
|
2074
2074
|
"hue-rotate": [{
|
|
2075
|
-
"hue-rotate": [
|
|
2075
|
+
"hue-rotate": [L, A, F]
|
|
2076
2076
|
}],
|
|
2077
2077
|
/**
|
|
2078
2078
|
* Invert
|
|
2079
2079
|
* @see https://tailwindcss.com/docs/invert
|
|
2080
2080
|
*/
|
|
2081
2081
|
invert: [{
|
|
2082
|
-
invert: ["",
|
|
2082
|
+
invert: ["", L, A, F]
|
|
2083
2083
|
}],
|
|
2084
2084
|
/**
|
|
2085
2085
|
* Saturate
|
|
2086
2086
|
* @see https://tailwindcss.com/docs/saturate
|
|
2087
2087
|
*/
|
|
2088
2088
|
saturate: [{
|
|
2089
|
-
saturate: [
|
|
2089
|
+
saturate: [L, A, F]
|
|
2090
2090
|
}],
|
|
2091
2091
|
/**
|
|
2092
2092
|
* Sepia
|
|
2093
2093
|
* @see https://tailwindcss.com/docs/sepia
|
|
2094
2094
|
*/
|
|
2095
2095
|
sepia: [{
|
|
2096
|
-
sepia: ["",
|
|
2096
|
+
sepia: ["", L, A, F]
|
|
2097
2097
|
}],
|
|
2098
2098
|
/**
|
|
2099
2099
|
* Backdrop Filter
|
|
@@ -2120,56 +2120,56 @@ const R0 = (e, u) => {
|
|
|
2120
2120
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2121
2121
|
*/
|
|
2122
2122
|
"backdrop-brightness": [{
|
|
2123
|
-
"backdrop-brightness": [
|
|
2123
|
+
"backdrop-brightness": [L, A, F]
|
|
2124
2124
|
}],
|
|
2125
2125
|
/**
|
|
2126
2126
|
* Backdrop Contrast
|
|
2127
2127
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2128
2128
|
*/
|
|
2129
2129
|
"backdrop-contrast": [{
|
|
2130
|
-
"backdrop-contrast": [
|
|
2130
|
+
"backdrop-contrast": [L, A, F]
|
|
2131
2131
|
}],
|
|
2132
2132
|
/**
|
|
2133
2133
|
* Backdrop Grayscale
|
|
2134
2134
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2135
2135
|
*/
|
|
2136
2136
|
"backdrop-grayscale": [{
|
|
2137
|
-
"backdrop-grayscale": ["",
|
|
2137
|
+
"backdrop-grayscale": ["", L, A, F]
|
|
2138
2138
|
}],
|
|
2139
2139
|
/**
|
|
2140
2140
|
* Backdrop Hue Rotate
|
|
2141
2141
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2142
2142
|
*/
|
|
2143
2143
|
"backdrop-hue-rotate": [{
|
|
2144
|
-
"backdrop-hue-rotate": [
|
|
2144
|
+
"backdrop-hue-rotate": [L, A, F]
|
|
2145
2145
|
}],
|
|
2146
2146
|
/**
|
|
2147
2147
|
* Backdrop Invert
|
|
2148
2148
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2149
2149
|
*/
|
|
2150
2150
|
"backdrop-invert": [{
|
|
2151
|
-
"backdrop-invert": ["",
|
|
2151
|
+
"backdrop-invert": ["", L, A, F]
|
|
2152
2152
|
}],
|
|
2153
2153
|
/**
|
|
2154
2154
|
* Backdrop Opacity
|
|
2155
2155
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2156
2156
|
*/
|
|
2157
2157
|
"backdrop-opacity": [{
|
|
2158
|
-
"backdrop-opacity": [
|
|
2158
|
+
"backdrop-opacity": [L, A, F]
|
|
2159
2159
|
}],
|
|
2160
2160
|
/**
|
|
2161
2161
|
* Backdrop Saturate
|
|
2162
2162
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2163
2163
|
*/
|
|
2164
2164
|
"backdrop-saturate": [{
|
|
2165
|
-
"backdrop-saturate": [
|
|
2165
|
+
"backdrop-saturate": [L, A, F]
|
|
2166
2166
|
}],
|
|
2167
2167
|
/**
|
|
2168
2168
|
* Backdrop Sepia
|
|
2169
2169
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2170
2170
|
*/
|
|
2171
2171
|
"backdrop-sepia": [{
|
|
2172
|
-
"backdrop-sepia": ["",
|
|
2172
|
+
"backdrop-sepia": ["", L, A, F]
|
|
2173
2173
|
}],
|
|
2174
2174
|
// --------------
|
|
2175
2175
|
// --- Tables ---
|
|
@@ -2238,7 +2238,7 @@ const R0 = (e, u) => {
|
|
|
2238
2238
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2239
2239
|
*/
|
|
2240
2240
|
duration: [{
|
|
2241
|
-
duration: [
|
|
2241
|
+
duration: [L, "initial", A, F]
|
|
2242
2242
|
}],
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Transition Timing Function
|
|
@@ -2252,7 +2252,7 @@ const R0 = (e, u) => {
|
|
|
2252
2252
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2253
2253
|
*/
|
|
2254
2254
|
delay: [{
|
|
2255
|
-
delay: [
|
|
2255
|
+
delay: [L, A, F]
|
|
2256
2256
|
}],
|
|
2257
2257
|
/**
|
|
2258
2258
|
* Animation
|
|
@@ -2696,7 +2696,7 @@ const R0 = (e, u) => {
|
|
|
2696
2696
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2697
2697
|
*/
|
|
2698
2698
|
"stroke-w": [{
|
|
2699
|
-
stroke: [
|
|
2699
|
+
stroke: [L, ru, Ie, ot]
|
|
2700
2700
|
}],
|
|
2701
2701
|
/**
|
|
2702
2702
|
* Stroke
|
|
@@ -3755,22 +3755,22 @@ function br(e, u) {
|
|
|
3755
3755
|
let mr = Nu, gr = rr.RenderStrategy;
|
|
3756
3756
|
function Oi(e, u) {
|
|
3757
3757
|
var t, n;
|
|
3758
|
-
let { transition: r = !0, beforeEnter: o, afterEnter: i, beforeLeave: a, afterLeave: c, enter: s, enterFrom: l, enterTo: d, entered: p, leave: h, leaveFrom: f, leaveTo: m, ...b } = e, [C, g] = V(null), k = S(null), v = pr(e), _ = Wu(...v ? [k, u, g] : u === null ? [] : [u]), E = (t = b.unmount) == null || t ? De.Unmount : De.Hidden, { show: w, appear: y, initial: I } = Pi(), [M
|
|
3758
|
+
let { transition: r = !0, beforeEnter: o, afterEnter: i, beforeLeave: a, afterLeave: c, enter: s, enterFrom: l, enterTo: d, entered: p, leave: h, leaveFrom: f, leaveTo: m, ...b } = e, [C, g] = V(null), k = S(null), v = pr(e), _ = Wu(...v ? [k, u, g] : u === null ? [] : [u]), E = (t = b.unmount) == null || t ? De.Unmount : De.Hidden, { show: w, appear: y, initial: I } = Pi(), [$, M] = V(w ? "visible" : "hidden"), Q = Bi(), { register: X, unregister: Y } = Q;
|
|
3759
3759
|
ge(() => X(k), [X, k]), ge(() => {
|
|
3760
3760
|
if (E === De.Hidden && k.current) {
|
|
3761
|
-
if (w &&
|
|
3762
|
-
|
|
3761
|
+
if (w && $ !== "visible") {
|
|
3762
|
+
M("visible");
|
|
3763
3763
|
return;
|
|
3764
3764
|
}
|
|
3765
|
-
return Zu(
|
|
3765
|
+
return Zu($, { hidden: () => Y(k), visible: () => X(k) });
|
|
3766
3766
|
}
|
|
3767
|
-
}, [
|
|
3767
|
+
}, [$, k, X, Y, w, E]);
|
|
3768
3768
|
let O = hr();
|
|
3769
3769
|
ge(() => {
|
|
3770
|
-
if (v && O &&
|
|
3771
|
-
}, [k,
|
|
3770
|
+
if (v && O && $ === "visible" && k.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
3771
|
+
}, [k, $, O, v]);
|
|
3772
3772
|
let G = I && !y, ee = y && w && I, D = S(!1), fe = br(() => {
|
|
3773
|
-
D.current || (
|
|
3773
|
+
D.current || (M("hidden"), Y(k));
|
|
3774
3774
|
}, Q), Le = ae((R) => {
|
|
3775
3775
|
D.current = !0;
|
|
3776
3776
|
let he = R ? "enter" : "leave";
|
|
@@ -3781,15 +3781,15 @@ function Oi(e, u) {
|
|
|
3781
3781
|
let he = R ? "enter" : "leave";
|
|
3782
3782
|
D.current = !1, fe.onStop(k, he, (pe) => {
|
|
3783
3783
|
pe === "enter" ? i?.() : pe === "leave" && c?.();
|
|
3784
|
-
}), he === "leave" && !Ju(fe) && (
|
|
3784
|
+
}), he === "leave" && !Ju(fe) && (M("hidden"), Y(k));
|
|
3785
3785
|
});
|
|
3786
3786
|
H(() => {
|
|
3787
3787
|
v && r || (Le(w), Ne(w));
|
|
3788
3788
|
}, [w, v, r]);
|
|
3789
3789
|
let we = !(!r || !v || !O || G), [, z] = Ti(we, C, w, { start: Le, end: Ne }), T = ze({ ref: _, className: ((n = vt(b.className, ee && s, ee && l, z.enter && s, z.enter && z.closed && l, z.enter && !z.closed && d, z.leave && h, z.leave && !z.closed && f, z.leave && z.closed && m, !z.transition && w && p)) == null ? void 0 : n.trim()) || void 0, ...Di(z) }), B = 0;
|
|
3790
|
-
|
|
3790
|
+
$ === "visible" && (B |= Be.Open), $ === "hidden" && (B |= Be.Closed), w && $ === "hidden" && (B |= Be.Opening), !w && $ === "visible" && (B |= Be.Closing);
|
|
3791
3791
|
let re = uu();
|
|
3792
|
-
return ue.createElement(Yu.Provider, { value: fe }, ue.createElement(Ni, { value: B }, re({ ourProps: T, theirProps: b, defaultTag: mr, features: gr, visible:
|
|
3792
|
+
return ue.createElement(Yu.Provider, { value: fe }, ue.createElement(Ni, { value: B }, re({ ourProps: T, theirProps: b, defaultTag: mr, features: gr, visible: $ === "visible", name: "Transition.Child" })));
|
|
3793
3793
|
}
|
|
3794
3794
|
function qi(e, u) {
|
|
3795
3795
|
let { show: t, appear: n = !1, unmount: r = !0, ...o } = e, i = S(null), a = pr(e), c = Wu(...a ? [i, u] : u === null ? [] : [u]);
|
|
@@ -3831,7 +3831,7 @@ function kr({
|
|
|
3831
3831
|
className: u,
|
|
3832
3832
|
...t
|
|
3833
3833
|
}) {
|
|
3834
|
-
return /* @__PURE__ */
|
|
3834
|
+
return /* @__PURE__ */ N(
|
|
3835
3835
|
"div",
|
|
3836
3836
|
{
|
|
3837
3837
|
...t,
|
|
@@ -3883,8 +3883,8 @@ function vr({ className: e }) {
|
|
|
3883
3883
|
executeCta: s,
|
|
3884
3884
|
dismissCta: l
|
|
3885
3885
|
} = ku();
|
|
3886
|
-
return t ? /* @__PURE__ */
|
|
3887
|
-
/* @__PURE__ */
|
|
3886
|
+
return t ? /* @__PURE__ */ N("div", { className: U("flex max-w-full flex-col gap-1.5", e), children: [
|
|
3887
|
+
/* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
|
|
3888
3888
|
/* @__PURE__ */ x(
|
|
3889
3889
|
J,
|
|
3890
3890
|
{
|
|
@@ -3920,7 +3920,7 @@ function vr({ className: e }) {
|
|
|
3920
3920
|
children: u("cta.openTelegram", { username: i })
|
|
3921
3921
|
}
|
|
3922
3922
|
),
|
|
3923
|
-
c && /* @__PURE__ */
|
|
3923
|
+
c && /* @__PURE__ */ N("p", { className: "max-w-72 text-xs text-white/65", children: [
|
|
3924
3924
|
u("cta.manualCommand"),
|
|
3925
3925
|
" ",
|
|
3926
3926
|
/* @__PURE__ */ x("code", { className: "break-all", dir: "ltr", children: c })
|
|
@@ -3934,14 +3934,14 @@ function Ki({ className: e }) {
|
|
|
3934
3934
|
endVoiceChat: s,
|
|
3935
3935
|
acceptConversation: l,
|
|
3936
3936
|
declineConversation: d
|
|
3937
|
-
} = c0(), p = Ue((
|
|
3938
|
-
(
|
|
3937
|
+
} = c0(), p = Ue((M) => M.pendingInvitation), h = Ue((M) => M.status), f = Ue((M) => M.errorMessage), m = Ue((M) => M.errorCode), b = Ue((M) => M.microphoneEnabled), C = Ue(
|
|
3938
|
+
(M) => M.assistantResponseInProgress
|
|
3939
3939
|
), [g, k] = V(!1), v = P(async () => {
|
|
3940
3940
|
k(!0);
|
|
3941
3941
|
try {
|
|
3942
3942
|
await l(t, n);
|
|
3943
|
-
} catch (
|
|
3944
|
-
console.error("voice invitation failed",
|
|
3943
|
+
} catch (M) {
|
|
3944
|
+
console.error("voice invitation failed", M);
|
|
3945
3945
|
} finally {
|
|
3946
3946
|
k(!1);
|
|
3947
3947
|
}
|
|
@@ -3958,8 +3958,8 @@ function Ki({ className: e }) {
|
|
|
3958
3958
|
}
|
|
3959
3959
|
try {
|
|
3960
3960
|
await a(t, n);
|
|
3961
|
-
} catch (
|
|
3962
|
-
console.error("voice init error",
|
|
3961
|
+
} catch (M) {
|
|
3962
|
+
console.error("voice init error", M);
|
|
3963
3963
|
}
|
|
3964
3964
|
}, [
|
|
3965
3965
|
v,
|
|
@@ -3981,8 +3981,8 @@ function Ki({ className: e }) {
|
|
|
3981
3981
|
p,
|
|
3982
3982
|
u,
|
|
3983
3983
|
h
|
|
3984
|
-
]),
|
|
3985
|
-
return /* @__PURE__ */
|
|
3984
|
+
]), $ = !r && y;
|
|
3985
|
+
return /* @__PURE__ */ N(
|
|
3986
3986
|
"div",
|
|
3987
3987
|
{
|
|
3988
3988
|
className: U(
|
|
@@ -3998,11 +3998,11 @@ function Ki({ className: e }) {
|
|
|
3998
3998
|
source: Cr.ReactionMessage
|
|
3999
3999
|
}
|
|
4000
4000
|
),
|
|
4001
|
-
p && !r && /* @__PURE__ */
|
|
4001
|
+
p && !r && /* @__PURE__ */ N("div", { className: "chat-voice-card mb-5 flex max-w-70 flex-col items-center gap-2.5 p-4 text-center text-white", children: [
|
|
4002
4002
|
/* @__PURE__ */ x("p", { className: "text-sm font-semibold", children: u("voice.calling") }),
|
|
4003
4003
|
/* @__PURE__ */ x("p", { className: "text-[13px] leading-5 text-white/80", children: p.text }),
|
|
4004
4004
|
/* @__PURE__ */ x("p", { className: "text-xs text-white/70", children: u("voice.aiDisclosure") }),
|
|
4005
|
-
/* @__PURE__ */
|
|
4005
|
+
/* @__PURE__ */ N("div", { className: "flex gap-2", children: [
|
|
4006
4006
|
/* @__PURE__ */ x(
|
|
4007
4007
|
J,
|
|
4008
4008
|
{
|
|
@@ -4029,10 +4029,10 @@ function Ki({ className: e }) {
|
|
|
4029
4029
|
)
|
|
4030
4030
|
] })
|
|
4031
4031
|
] }),
|
|
4032
|
-
|
|
4032
|
+
$ && /* @__PURE__ */ x(kr, { className: "mb-5", message: y }),
|
|
4033
4033
|
/* @__PURE__ */ x(vr, { className: "mb-5 items-center text-center" }),
|
|
4034
|
-
/* @__PURE__ */
|
|
4035
|
-
/* @__PURE__ */
|
|
4034
|
+
/* @__PURE__ */ N("div", { className: "flex flex-col items-center gap-3", children: [
|
|
4035
|
+
/* @__PURE__ */ N("div", { className: "flex flex-col items-center gap-2.5 text-white", children: [
|
|
4036
4036
|
/* @__PURE__ */ x(
|
|
4037
4037
|
"span",
|
|
4038
4038
|
{
|
|
@@ -5771,8 +5771,8 @@ function vc(e, u, t, n) {
|
|
|
5771
5771
|
a = e.push("list_item_open", "li", 1), a.markup = String.fromCharCode(f);
|
|
5772
5772
|
const I = [c, 0];
|
|
5773
5773
|
a.map = I, d && (a.info = e.src.slice(i, h - 1));
|
|
5774
|
-
const
|
|
5775
|
-
if (e.listIndent = e.blkIndent, e.blkIndent = y, e.tight = !0, e.tShift[c] = E - e.bMarks[c], e.sCount[c] = _, E >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || C) && (s = !1), C = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = X, e.tShift[c] =
|
|
5774
|
+
const $ = e.tight, M = e.tShift[c], Q = e.sCount[c], X = e.listIndent;
|
|
5775
|
+
if (e.listIndent = e.blkIndent, e.blkIndent = y, e.tight = !0, e.tShift[c] = E - e.bMarks[c], e.sCount[c] = _, E >= r && e.isEmpty(c + 1) ? e.line = Math.min(e.line + 2, t) : e.md.block.tokenize(e, c, t, !0), (!e.tight || C) && (s = !1), C = e.line - c > 1 && e.isEmpty(e.line - 1), e.blkIndent = e.listIndent, e.listIndent = X, e.tShift[c] = M, e.sCount[c] = Q, e.tight = $, a = e.push("list_item_close", "li", -1), a.markup = String.fromCharCode(f), c = e.line, I[1] = c, c >= t || e.sCount[c] < e.blkIndent || e.sCount[c] - e.blkIndent >= 4)
|
|
5776
5776
|
break;
|
|
5777
5777
|
let Y = !1;
|
|
5778
5778
|
for (let O = 0, G = g.length; O < G; O++)
|
|
@@ -5806,8 +5806,8 @@ function yc(e, u, t, n) {
|
|
|
5806
5806
|
const w = e.md.block.ruler.getRules("reference"), y = e.parentType;
|
|
5807
5807
|
e.parentType = "reference";
|
|
5808
5808
|
let I = !1;
|
|
5809
|
-
for (let
|
|
5810
|
-
if (w[
|
|
5809
|
+
for (let $ = 0, M = w.length; $ < M; $++)
|
|
5810
|
+
if (w[$](e, g, k, !0)) {
|
|
5811
5811
|
I = !0;
|
|
5812
5812
|
break;
|
|
5813
5813
|
}
|
|
@@ -7452,7 +7452,7 @@ function Xr({
|
|
|
7452
7452
|
...t
|
|
7453
7453
|
}) {
|
|
7454
7454
|
const { t: n } = le();
|
|
7455
|
-
return /* @__PURE__ */
|
|
7455
|
+
return /* @__PURE__ */ N(
|
|
7456
7456
|
"div",
|
|
7457
7457
|
{
|
|
7458
7458
|
...t,
|
|
@@ -7559,8 +7559,8 @@ const rl = (e) => e ? [e] : [], ol = (e) => typeof Intl.Segmenter != "function"
|
|
|
7559
7559
|
if (l) {
|
|
7560
7560
|
if (l.firstTimestamp ??= b, b - l.firstTimestamp < nl)
|
|
7561
7561
|
return null;
|
|
7562
|
-
const I = l.target,
|
|
7563
|
-
l = null, m(I,
|
|
7562
|
+
const I = l.target, $ = l.text;
|
|
7563
|
+
l = null, m(I, $);
|
|
7564
7564
|
}
|
|
7565
7565
|
if (f()) return null;
|
|
7566
7566
|
if (s)
|
|
@@ -7658,7 +7658,7 @@ function dl({
|
|
|
7658
7658
|
const d = (p, h) => {
|
|
7659
7659
|
p.target === p.currentTarget && h === i.revision && (a.current = h, r && i.isSettled && l());
|
|
7660
7660
|
};
|
|
7661
|
-
return /* @__PURE__ */
|
|
7661
|
+
return /* @__PURE__ */ N("span", { children: [
|
|
7662
7662
|
i.stableText,
|
|
7663
7663
|
i.animatedFragments.map((p) => /* @__PURE__ */ x(
|
|
7664
7664
|
"span",
|
|
@@ -7694,7 +7694,7 @@ const fl = /* @__PURE__ */ new Set([
|
|
|
7694
7694
|
}) {
|
|
7695
7695
|
const { t: r } = le(), { anycableService: o } = Dt(), { settleMessageStream: i } = Tt(), a = hl(u), [c, s] = V("idle"), [l, d] = V(), [p, h] = V(), [f, m] = V(a), b = S(void 0), C = S(void 0), { author: g } = u, k = l0(u.id), v = u.status === Oe.Failed, _ = u.status === Oe.Completed || v, E = d0(u), w = g.type === oe.Agent;
|
|
7696
7696
|
w && k && (C.current = k);
|
|
7697
|
-
const y = w ? k ?? C.current : void 0,
|
|
7697
|
+
const y = w ? k ?? C.current : void 0, $ = (_ ? a : "") || y?.text || "", M = !!(y && (y.done || _)), Q = !!(y && $ && (!M || p !== y.sequence)), X = Q ? "" : Ks(u);
|
|
7698
7698
|
H(() => {
|
|
7699
7699
|
y || m(a);
|
|
7700
7700
|
}, [y, a]);
|
|
@@ -7712,7 +7712,7 @@ const fl = /* @__PURE__ */ new Set([
|
|
|
7712
7712
|
}
|
|
7713
7713
|
}
|
|
7714
7714
|
};
|
|
7715
|
-
return v ? null : /* @__PURE__ */
|
|
7715
|
+
return v ? null : /* @__PURE__ */ N(
|
|
7716
7716
|
"div",
|
|
7717
7717
|
{
|
|
7718
7718
|
...n,
|
|
@@ -7742,8 +7742,8 @@ const fl = /* @__PURE__ */ new Set([
|
|
|
7742
7742
|
incomingText: y.incomingText,
|
|
7743
7743
|
sequence: y.sequence,
|
|
7744
7744
|
initialText: f,
|
|
7745
|
-
targetText:
|
|
7746
|
-
finished:
|
|
7745
|
+
targetText: $,
|
|
7746
|
+
finished: M,
|
|
7747
7747
|
onSettled: () => {
|
|
7748
7748
|
h(y.sequence), i(u.id);
|
|
7749
7749
|
}
|
|
@@ -7760,7 +7760,7 @@ const fl = /* @__PURE__ */ new Set([
|
|
|
7760
7760
|
) : /* @__PURE__ */ x(Xr, {})
|
|
7761
7761
|
}
|
|
7762
7762
|
),
|
|
7763
|
-
E && /* @__PURE__ */
|
|
7763
|
+
E && /* @__PURE__ */ N(
|
|
7764
7764
|
"div",
|
|
7765
7765
|
{
|
|
7766
7766
|
className: "flex flex-wrap gap-2 self-start",
|
|
@@ -8013,14 +8013,14 @@ function yl() {
|
|
|
8013
8013
|
role: "status",
|
|
8014
8014
|
"aria-label": e("chat.loadingOlder"),
|
|
8015
8015
|
className: "flex flex-col gap-2 px-2 py-3",
|
|
8016
|
-
children: /* @__PURE__ */ x("div", { "aria-hidden": "true", className: "flex flex-col gap-2", children: u0.map((u) => /* @__PURE__ */
|
|
8016
|
+
children: /* @__PURE__ */ x("div", { "aria-hidden": "true", className: "flex flex-col gap-2", children: u0.map((u) => /* @__PURE__ */ N(
|
|
8017
8017
|
"div",
|
|
8018
8018
|
{
|
|
8019
8019
|
style: { "--chat-skeleton-delay": u },
|
|
8020
8020
|
className: "chat-list-pagination-skeleton chat-message-skeleton-bubble flex h-14 items-center gap-3 rounded-2xl border border-white/[0.05] bg-white/[0.035] px-3",
|
|
8021
8021
|
children: [
|
|
8022
8022
|
/* @__PURE__ */ x("span", { className: "h-8 w-8 shrink-0 rounded-full bg-[#68d8ff]/[0.1]" }),
|
|
8023
|
-
/* @__PURE__ */
|
|
8023
|
+
/* @__PURE__ */ N("span", { className: "flex flex-1 flex-col gap-2", children: [
|
|
8024
8024
|
/* @__PURE__ */ x("span", { className: "h-2 w-[42%] rounded-full bg-white/[0.11]" }),
|
|
8025
8025
|
/* @__PURE__ */ x("span", { className: "h-2 w-[76%] rounded-full bg-white/[0.07]" })
|
|
8026
8026
|
] })
|
|
@@ -8039,7 +8039,7 @@ function _l() {
|
|
|
8039
8039
|
role: "status",
|
|
8040
8040
|
"aria-label": e("chat.loadingOlderMessages"),
|
|
8041
8041
|
className: "flex w-full flex-col gap-2 py-2",
|
|
8042
|
-
children: /* @__PURE__ */ x("div", { "aria-hidden": "true", className: "flex flex-col gap-2", children: u0.map((u, t) => /* @__PURE__ */
|
|
8042
|
+
children: /* @__PURE__ */ x("div", { "aria-hidden": "true", className: "flex flex-col gap-2", children: u0.map((u, t) => /* @__PURE__ */ N(
|
|
8043
8043
|
"div",
|
|
8044
8044
|
{
|
|
8045
8045
|
style: { "--chat-skeleton-delay": u },
|
|
@@ -8184,14 +8184,11 @@ function wl({
|
|
|
8184
8184
|
r
|
|
8185
8185
|
]), { captureAnchor: l, clearAnchor: s };
|
|
8186
8186
|
}
|
|
8187
|
-
function El(e, u
|
|
8188
|
-
const
|
|
8187
|
+
function El(e, u) {
|
|
8188
|
+
const t = Math.max(80, Math.ceil(u.scrollWidth) + 46);
|
|
8189
8189
|
e.style.setProperty(
|
|
8190
8190
|
"--chat-talk-expanded-width",
|
|
8191
|
-
`${
|
|
8192
|
-
), e.style.setProperty(
|
|
8193
|
-
"--chat-talk-input-offset-x",
|
|
8194
|
-
`${t === "rtl" ? -r : r}px`
|
|
8191
|
+
`${t}px`
|
|
8195
8192
|
);
|
|
8196
8193
|
}
|
|
8197
8194
|
function Fl() {
|
|
@@ -8200,55 +8197,55 @@ function Fl() {
|
|
|
8200
8197
|
fetchOlderThreadMessages: b,
|
|
8201
8198
|
sendMessage: C,
|
|
8202
8199
|
setLatestReadMessageDate: g
|
|
8203
|
-
} = Tt(), k = f0(), v = h0(), _ = p0(), E = b0(), w = m0(), y = g0(), I = x0(),
|
|
8200
|
+
} = Tt(), k = f0(), v = h0(), _ = p0(), E = b0(), w = m0(), y = g0(), I = x0(), $ = k0(), M = C0(), { networkStatus: Q } = Dt();
|
|
8204
8201
|
xu(() => {
|
|
8205
8202
|
const T = l.current, B = d.current;
|
|
8206
8203
|
if (!T || !B) return;
|
|
8207
8204
|
let re = !0;
|
|
8208
8205
|
const R = () => {
|
|
8209
|
-
re && El(T, B
|
|
8206
|
+
re && El(T, B);
|
|
8210
8207
|
};
|
|
8211
8208
|
R();
|
|
8212
8209
|
const he = typeof ResizeObserver == "function" ? new ResizeObserver(R) : null;
|
|
8213
8210
|
return he?.observe(B), document.fonts?.ready.then(R), () => {
|
|
8214
8211
|
re = !1, he?.disconnect();
|
|
8215
8212
|
};
|
|
8216
|
-
}, [
|
|
8213
|
+
}, [t]);
|
|
8217
8214
|
const X = Se(() => {
|
|
8218
|
-
const T =
|
|
8215
|
+
const T = $.map((R) => ({
|
|
8219
8216
|
type: "canonical",
|
|
8220
8217
|
message: R
|
|
8221
8218
|
}));
|
|
8222
8219
|
if (!I) return T;
|
|
8223
|
-
const B = I.afterMessageId ?
|
|
8220
|
+
const B = I.afterMessageId ? $.findIndex(
|
|
8224
8221
|
({ id: R }) => R === I.afterMessageId
|
|
8225
8222
|
) : -1, re = I.afterMessageId ? B >= 0 ? B + 1 : T.length : 0;
|
|
8226
8223
|
return T.splice(re, 0, {
|
|
8227
8224
|
type: "optimistic",
|
|
8228
8225
|
message: I
|
|
8229
8226
|
}), T;
|
|
8230
|
-
}, [I,
|
|
8227
|
+
}, [I, $]), Y = _ && X.length === 0, O = gl({
|
|
8231
8228
|
containerRef: h,
|
|
8232
8229
|
contentRef: f,
|
|
8233
|
-
firstMessageId:
|
|
8234
|
-
messageCount:
|
|
8235
|
-
threadId:
|
|
8230
|
+
firstMessageId: $[0]?.id,
|
|
8231
|
+
messageCount: $.length + +!!I + Number(v),
|
|
8232
|
+
threadId: M
|
|
8236
8233
|
}), { captureAnchor: G, clearAnchor: ee } = wl({
|
|
8237
8234
|
containerRef: h,
|
|
8238
|
-
contextId:
|
|
8239
|
-
firstItemId:
|
|
8235
|
+
contextId: M,
|
|
8236
|
+
firstItemId: $[0]?.id,
|
|
8240
8237
|
isLoading: w,
|
|
8241
|
-
itemCount:
|
|
8238
|
+
itemCount: $.length
|
|
8242
8239
|
}), D = P(async () => {
|
|
8243
|
-
if (
|
|
8240
|
+
if (M) {
|
|
8244
8241
|
G();
|
|
8245
8242
|
try {
|
|
8246
|
-
await b(
|
|
8243
|
+
await b(M);
|
|
8247
8244
|
} catch (T) {
|
|
8248
8245
|
throw ee(), T;
|
|
8249
8246
|
}
|
|
8250
8247
|
}
|
|
8251
|
-
}, [G, ee,
|
|
8248
|
+
}, [G, ee, M, b]), {
|
|
8252
8249
|
error: fe,
|
|
8253
8250
|
loadMore: Le,
|
|
8254
8251
|
sentinelRef: Ne
|
|
@@ -8257,7 +8254,7 @@ function Fl() {
|
|
|
8257
8254
|
enabled: E,
|
|
8258
8255
|
isLoading: w,
|
|
8259
8256
|
onLoad: D,
|
|
8260
|
-
resetKey:
|
|
8257
|
+
resetKey: M
|
|
8261
8258
|
});
|
|
8262
8259
|
H(
|
|
8263
8260
|
() => () => {
|
|
@@ -8266,36 +8263,36 @@ function Fl() {
|
|
|
8266
8263
|
[]
|
|
8267
8264
|
), H(
|
|
8268
8265
|
() => () => {
|
|
8269
|
-
|
|
8266
|
+
M && m(M);
|
|
8270
8267
|
},
|
|
8271
|
-
[m,
|
|
8268
|
+
[m, M]
|
|
8272
8269
|
), H(() => {
|
|
8273
|
-
if (n &&
|
|
8274
|
-
const T =
|
|
8270
|
+
if (n && $.length > 0) {
|
|
8271
|
+
const T = $.findLast(
|
|
8275
8272
|
(B) => B.author.type === oe.Customer || B.status === Oe.Completed || B.status === Oe.Failed
|
|
8276
8273
|
);
|
|
8277
8274
|
T && g(T.updatedAt);
|
|
8278
8275
|
}
|
|
8279
|
-
}, [
|
|
8280
|
-
const we = Se(() => k ? v0(k, u) :
|
|
8276
|
+
}, [$, n, g]);
|
|
8277
|
+
const we = Se(() => k ? v0(k, u) : $.some((B) => B.author.type === oe.Agent && B.status === Oe.Failed) ? u(au.agentResponseFailed) : Q === Ru.Unavailable ? u(au.connectionFailed) : Q === Ru.Offline ? u(au.offline) : null, [Q, k, u, $]), z = () => {
|
|
8281
8278
|
const T = o.trim();
|
|
8282
8279
|
!T || y || (p.current !== null && (window.clearTimeout(p.current), p.current = null), i(""), s.current && (s.current.style.height = "auto"), C(T));
|
|
8283
8280
|
};
|
|
8284
|
-
return /* @__PURE__ */
|
|
8281
|
+
return /* @__PURE__ */ N("div", { className: "z-1 flex min-h-0 flex-1 flex-col overflow-hidden px-3 pb-2", children: [
|
|
8285
8282
|
/* @__PURE__ */ x(
|
|
8286
8283
|
"div",
|
|
8287
8284
|
{
|
|
8288
8285
|
ref: h,
|
|
8289
8286
|
onScroll: O,
|
|
8290
8287
|
className: "chat-scrollbar flex h-0 min-h-0 flex-1 flex-col overflow-y-auto px-1 [overflow-anchor:none]",
|
|
8291
|
-
children: /* @__PURE__ */
|
|
8288
|
+
children: /* @__PURE__ */ N(
|
|
8292
8289
|
"div",
|
|
8293
8290
|
{
|
|
8294
8291
|
ref: f,
|
|
8295
8292
|
"aria-busy": Y || w,
|
|
8296
8293
|
className: "chat-timeline relative z-1 flex min-h-full shrink-0 flex-col justify-end gap-2 pt-3 pb-3",
|
|
8297
8294
|
children: [
|
|
8298
|
-
(E || w) && /* @__PURE__ */
|
|
8295
|
+
(E || w) && /* @__PURE__ */ N("div", { className: "relative flex h-7 shrink-0 items-center justify-center", children: [
|
|
8299
8296
|
/* @__PURE__ */ x(
|
|
8300
8297
|
"div",
|
|
8301
8298
|
{
|
|
@@ -8318,7 +8315,7 @@ function Fl() {
|
|
|
8318
8315
|
)
|
|
8319
8316
|
] }),
|
|
8320
8317
|
fe && /* @__PURE__ */ x("p", { role: "alert", className: "text-center text-xs text-red-200", children: u("chat.previousLoadFailed") }),
|
|
8321
|
-
/* @__PURE__ */
|
|
8318
|
+
/* @__PURE__ */ N("div", { className: "relative w-full", children: [
|
|
8322
8319
|
/* @__PURE__ */ x(
|
|
8323
8320
|
rn,
|
|
8324
8321
|
{
|
|
@@ -8369,94 +8366,62 @@ function Fl() {
|
|
|
8369
8366
|
)
|
|
8370
8367
|
}
|
|
8371
8368
|
),
|
|
8372
|
-
/* @__PURE__ */
|
|
8369
|
+
/* @__PURE__ */ N(
|
|
8373
8370
|
"div",
|
|
8374
8371
|
{
|
|
8375
8372
|
ref: l,
|
|
8376
8373
|
className: "chat-composer flex w-full shrink-0 flex-row items-center gap-1 p-1",
|
|
8377
8374
|
children: [
|
|
8378
|
-
/* @__PURE__ */
|
|
8375
|
+
/* @__PURE__ */ N("div", { className: "chat-composer-main flex min-w-0 flex-1 flex-row items-center gap-1", children: [
|
|
8379
8376
|
/* @__PURE__ */ x(
|
|
8380
|
-
|
|
8377
|
+
J,
|
|
8381
8378
|
{
|
|
8382
|
-
"
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
|
|
8388
|
-
|
|
8389
|
-
|
|
8390
|
-
|
|
8391
|
-
|
|
8392
|
-
|
|
8393
|
-
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
className: "chat-talk-button__surface chat-talk-button__surface_expanded"
|
|
8398
|
-
}
|
|
8399
|
-
),
|
|
8400
|
-
/* @__PURE__ */ x(
|
|
8401
|
-
"span",
|
|
8402
|
-
{
|
|
8403
|
-
"data-talk-surface": "compact",
|
|
8404
|
-
"aria-hidden": "true",
|
|
8405
|
-
className: "chat-talk-button__surface chat-talk-button__surface_compact"
|
|
8406
|
-
}
|
|
8407
|
-
),
|
|
8408
|
-
/* @__PURE__ */ $("span", { className: "chat-talk-button__content", children: [
|
|
8409
|
-
/* @__PURE__ */ x(Yi, { className: "chat-talk-button__icon h-3.5 w-3.5 shrink-0 text-[#68d8ff]" }),
|
|
8410
|
-
/* @__PURE__ */ x(
|
|
8411
|
-
"span",
|
|
8412
|
-
{
|
|
8413
|
-
ref: d,
|
|
8414
|
-
className: "chat-talk-button__label whitespace-nowrap",
|
|
8415
|
-
children: t
|
|
8416
|
-
}
|
|
8417
|
-
)
|
|
8418
|
-
] })
|
|
8419
|
-
]
|
|
8420
|
-
}
|
|
8421
|
-
)
|
|
8379
|
+
"aria-label": u("chat.switchToVoice"),
|
|
8380
|
+
"data-compact": a,
|
|
8381
|
+
className: "chat-composer-button chat-talk-button relative h-8 shrink-0 overflow-hidden text-[12px] leading-4 font-medium text-white",
|
|
8382
|
+
onClick: () => r(se.voice),
|
|
8383
|
+
children: /* @__PURE__ */ N("span", { className: "chat-talk-button__content", children: [
|
|
8384
|
+
/* @__PURE__ */ x(Yi, { className: "chat-talk-button__icon h-3.5 w-3.5 shrink-0 text-[#68d8ff]" }),
|
|
8385
|
+
/* @__PURE__ */ x(
|
|
8386
|
+
"span",
|
|
8387
|
+
{
|
|
8388
|
+
ref: d,
|
|
8389
|
+
className: "chat-talk-button__label whitespace-nowrap",
|
|
8390
|
+
children: t
|
|
8391
|
+
}
|
|
8392
|
+
)
|
|
8393
|
+
] })
|
|
8422
8394
|
}
|
|
8423
8395
|
),
|
|
8424
|
-
/* @__PURE__ */ x(
|
|
8425
|
-
|
|
8396
|
+
/* @__PURE__ */ x("div", { className: "flex min-w-0 flex-1 items-center", children: /* @__PURE__ */ x(
|
|
8397
|
+
Gi,
|
|
8426
8398
|
{
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
},
|
|
8450
|
-
onKeyDown: (T) => {
|
|
8451
|
-
T.key === "Enter" && !T.nativeEvent.isComposing && (T.preventDefault(), z());
|
|
8452
|
-
},
|
|
8453
|
-
className: "no-scrollbar block h-8 min-h-8 w-full resize-none overflow-y-auto border-none bg-transparent px-2 py-1.5 text-[13px] leading-[18px] font-normal text-white transition-[height] duration-200 outline-none placeholder:text-white/38"
|
|
8454
|
-
}
|
|
8455
|
-
)
|
|
8399
|
+
ref: s,
|
|
8400
|
+
value: o,
|
|
8401
|
+
rows: 1,
|
|
8402
|
+
"aria-label": u("chat.messageLabel"),
|
|
8403
|
+
placeholder: u("chat.messagePlaceholder"),
|
|
8404
|
+
onFocus: () => c(!0),
|
|
8405
|
+
onBlur: () => c(!1),
|
|
8406
|
+
onChange: (T) => i(T.target.value),
|
|
8407
|
+
onInput: (T) => {
|
|
8408
|
+
const B = T.currentTarget;
|
|
8409
|
+
p.current !== null && window.clearTimeout(p.current), p.current = null;
|
|
8410
|
+
const re = B.clientHeight + "px";
|
|
8411
|
+
B.style.height = "auto";
|
|
8412
|
+
const R = Math.min(B.scrollHeight, 160) + "px";
|
|
8413
|
+
B.style.height = re, re !== R && (p.current = window.setTimeout(() => {
|
|
8414
|
+
B.style.height = R, p.current = null;
|
|
8415
|
+
}));
|
|
8416
|
+
},
|
|
8417
|
+
onKeyDown: (T) => {
|
|
8418
|
+
T.key === "Enter" && !T.nativeEvent.isComposing && (T.preventDefault(), z());
|
|
8419
|
+
},
|
|
8420
|
+
className: "no-scrollbar block h-8 min-h-8 w-full resize-none overflow-y-auto border-none bg-transparent px-2 py-1.5 text-[13px] leading-[18px] font-normal text-white transition-[height] duration-200 outline-none placeholder:text-white/38"
|
|
8456
8421
|
}
|
|
8457
|
-
)
|
|
8422
|
+
) })
|
|
8458
8423
|
] }),
|
|
8459
|
-
/* @__PURE__ */
|
|
8424
|
+
/* @__PURE__ */ N(
|
|
8460
8425
|
J,
|
|
8461
8426
|
{
|
|
8462
8427
|
disabled: !o.trim() || y,
|
|
@@ -8492,7 +8457,7 @@ function Fl() {
|
|
|
8492
8457
|
}
|
|
8493
8458
|
const Al = (e) => /* @__PURE__ */ q.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ q.createElement("path", { d: "M15.4238 13.8329C15.6352 14.0442 15.7539 14.3309 15.7539 14.6298C15.7539 14.9286 15.6352 15.2153 15.4238 15.4266C15.2125 15.638 14.9258 15.7567 14.627 15.7567C14.3281 15.7567 14.0414 15.638 13.8301 15.4266L7.87789 9.47258L1.92383 15.4248C1.71248 15.6361 1.42584 15.7548 1.12695 15.7548C0.828065 15.7548 0.541421 15.6361 0.330077 15.4248C0.118732 15.2134 4.45375e-09 14.9268 0 14.6279C-4.45375e-09 14.329 0.118732 14.0424 0.330077 13.831L6.28414 7.87883L0.331951 1.92476C0.120607 1.71342 0.00187504 1.42677 0.00187504 1.12789C0.00187505 0.829003 0.120607 0.542358 0.331951 0.331014C0.543296 0.11967 0.82994 0.000937346 1.12883 0.000937343C1.42771 0.00093734 1.71436 0.11967 1.9257 0.331014L7.87789 6.28508L13.832 0.330076C14.0433 0.118732 14.3299 -4.97944e-09 14.6288 0C14.9277 4.97944e-09 15.2144 0.118732 15.4257 0.330076C15.637 0.541421 15.7558 0.828065 15.7558 1.12695C15.7558 1.42584 15.637 1.71248 15.4257 1.92383L9.47164 7.87883L15.4238 13.8329Z" })), Dl = (e) => /* @__PURE__ */ q.createElement("svg", { width: 16, height: 3, viewBox: "0 0 16 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ q.createElement("path", { d: "M9.375 1.5C9.375 1.79667 9.28703 2.08668 9.1222 2.33336C8.95738 2.58003 8.72312 2.77229 8.44903 2.88582C8.17494 2.99935 7.87334 3.02906 7.58237 2.97118C7.29139 2.9133 7.02412 2.77044 6.81434 2.56066C6.60456 2.35088 6.4617 2.08361 6.40382 1.79264C6.34594 1.50166 6.37565 1.20006 6.48918 0.925975C6.60271 0.651886 6.79497 0.417618 7.04165 0.252796C7.28832 0.0879736 7.57833 0 7.875 0C8.27283 0 8.65436 0.158036 8.93566 0.43934C9.21696 0.720645 9.375 1.10218 9.375 1.5ZM1.5 0C1.20333 0 0.913319 0.0879736 0.666646 0.252796C0.419972 0.417618 0.227713 0.651886 0.114181 0.925975C0.000649922 1.20006 -0.0290551 1.50166 0.0288228 1.79264C0.0867006 2.08361 0.229562 2.35088 0.439341 2.56066C0.649119 2.77044 0.916394 2.9133 1.20737 2.97118C1.49834 3.02906 1.79994 2.99935 2.07403 2.88582C2.34811 2.77229 2.58238 2.58003 2.74721 2.33336C2.91203 2.08668 3 1.79667 3 1.5C3 1.10218 2.84197 0.720645 2.56066 0.43934C2.27936 0.158036 1.89783 0 1.5 0ZM14.25 0C13.9533 0 13.6633 0.0879736 13.4166 0.252796C13.17 0.417618 12.9777 0.651886 12.8642 0.925975C12.7507 1.20006 12.7209 1.50166 12.7788 1.79264C12.8367 2.08361 12.9796 2.35088 13.1893 2.56066C13.3991 2.77044 13.6664 2.9133 13.9574 2.97118C14.2483 3.02906 14.5499 2.99935 14.824 2.88582C15.0981 2.77229 15.3324 2.58003 15.4972 2.33336C15.662 2.08668 15.75 1.79667 15.75 1.5C15.75 1.10218 15.592 0.720645 15.3107 0.43934C15.0294 0.158036 14.6478 0 14.25 0Z", fill: "white" }));
|
|
8494
8459
|
function Tl({ className: e }) {
|
|
8495
|
-
return /* @__PURE__ */
|
|
8460
|
+
return /* @__PURE__ */ N("div", { className: U("tob-blur-parent transition-opacity", e), children: [
|
|
8496
8461
|
/* @__PURE__ */ x(
|
|
8497
8462
|
"div",
|
|
8498
8463
|
{
|
|
@@ -8592,7 +8557,7 @@ function Bl({
|
|
|
8592
8557
|
...u
|
|
8593
8558
|
}) {
|
|
8594
8559
|
const { isFullscreen: t, isMobile: n, setFullscreen: r, setOpen: o } = ku(), { t: i } = le(), a = ju(), c = St(), s = y0(c.pathname);
|
|
8595
|
-
return /* @__PURE__ */
|
|
8560
|
+
return /* @__PURE__ */ N(
|
|
8596
8561
|
"div",
|
|
8597
8562
|
{
|
|
8598
8563
|
...u,
|
|
@@ -8607,8 +8572,8 @@ function Bl({
|
|
|
8607
8572
|
)
|
|
8608
8573
|
}
|
|
8609
8574
|
),
|
|
8610
|
-
/* @__PURE__ */
|
|
8611
|
-
/* @__PURE__ */
|
|
8575
|
+
/* @__PURE__ */ N("div", { className: "relative flex h-16 flex-row items-center justify-between px-4 pt-1", children: [
|
|
8576
|
+
/* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
|
|
8612
8577
|
/* @__PURE__ */ x(
|
|
8613
8578
|
J,
|
|
8614
8579
|
{
|
|
@@ -8634,7 +8599,7 @@ function Bl({
|
|
|
8634
8599
|
}
|
|
8635
8600
|
)
|
|
8636
8601
|
] }),
|
|
8637
|
-
/* @__PURE__ */
|
|
8602
|
+
/* @__PURE__ */ N("div", { className: "flex items-center gap-2", children: [
|
|
8638
8603
|
n && /* @__PURE__ */ x(
|
|
8639
8604
|
J,
|
|
8640
8605
|
{
|
|
@@ -8666,7 +8631,7 @@ function Bl({
|
|
|
8666
8631
|
function Ol({
|
|
8667
8632
|
className: e
|
|
8668
8633
|
}) {
|
|
8669
|
-
return /* @__PURE__ */
|
|
8634
|
+
return /* @__PURE__ */ N(
|
|
8670
8635
|
"div",
|
|
8671
8636
|
{
|
|
8672
8637
|
className: U(
|
|
@@ -8747,7 +8712,7 @@ const Ul = Sn(function({
|
|
|
8747
8712
|
onSelect: r
|
|
8748
8713
|
}) {
|
|
8749
8714
|
const { locale: o } = le(), i = Ws(t);
|
|
8750
|
-
return /* @__PURE__ */
|
|
8715
|
+
return /* @__PURE__ */ N(
|
|
8751
8716
|
"button",
|
|
8752
8717
|
{
|
|
8753
8718
|
type: "button",
|
|
@@ -8767,7 +8732,7 @@ const Ul = Sn(function({
|
|
|
8767
8732
|
className: "h-10 w-10 rounded-full bg-[#17131b] object-contain"
|
|
8768
8733
|
}
|
|
8769
8734
|
) }),
|
|
8770
|
-
/* @__PURE__ */
|
|
8735
|
+
/* @__PURE__ */ N("div", { className: "min-w-0 flex-1", children: [
|
|
8771
8736
|
/* @__PURE__ */ x("p", { className: "truncate text-[14px] leading-5 font-medium tracking-[-0.005em] text-white/90", children: i }),
|
|
8772
8737
|
/* @__PURE__ */ x("p", { className: "mt-0.5 text-xs leading-4 text-white/42", children: Vl(t.updatedAt, o) })
|
|
8773
8738
|
] }),
|
|
@@ -8825,7 +8790,7 @@ function Gl({
|
|
|
8825
8790
|
c();
|
|
8826
8791
|
},
|
|
8827
8792
|
[c]
|
|
8828
|
-
), /* @__PURE__ */
|
|
8793
|
+
), /* @__PURE__ */ N(
|
|
8829
8794
|
"div",
|
|
8830
8795
|
{
|
|
8831
8796
|
...u,
|
|
@@ -8834,7 +8799,7 @@ function Gl({
|
|
|
8834
8799
|
e
|
|
8835
8800
|
),
|
|
8836
8801
|
children: [
|
|
8837
|
-
/* @__PURE__ */
|
|
8802
|
+
/* @__PURE__ */ N("header", { className: "relative flex h-16 shrink-0 items-center justify-between gap-4 border-b border-white/8 px-4 pt-1", children: [
|
|
8838
8803
|
/* @__PURE__ */ x(
|
|
8839
8804
|
J,
|
|
8840
8805
|
{
|
|
@@ -8862,7 +8827,7 @@ function Gl({
|
|
|
8862
8827
|
}
|
|
8863
8828
|
)
|
|
8864
8829
|
] }),
|
|
8865
|
-
/* @__PURE__ */
|
|
8830
|
+
/* @__PURE__ */ N(
|
|
8866
8831
|
"div",
|
|
8867
8832
|
{
|
|
8868
8833
|
ref: i,
|
|
@@ -8909,8 +8874,8 @@ function Gl({
|
|
|
8909
8874
|
}
|
|
8910
8875
|
function Tn({ mode: e }) {
|
|
8911
8876
|
const u = e === Ye.Text;
|
|
8912
|
-
return /* @__PURE__ */
|
|
8913
|
-
/* @__PURE__ */
|
|
8877
|
+
return /* @__PURE__ */ N(o0, { children: [
|
|
8878
|
+
/* @__PURE__ */ N("div", { className: "pointer-events-none absolute inset-0", children: [
|
|
8914
8879
|
/* @__PURE__ */ x(
|
|
8915
8880
|
Ol,
|
|
8916
8881
|
{
|
|
@@ -8919,14 +8884,14 @@ function Tn({ mode: e }) {
|
|
|
8919
8884
|
),
|
|
8920
8885
|
/* @__PURE__ */ x(ql, { className: u ? "opacity-100" : "opacity-0" })
|
|
8921
8886
|
] }),
|
|
8922
|
-
/* @__PURE__ */
|
|
8887
|
+
/* @__PURE__ */ N("div", { className: "relative z-5 flex h-full min-h-0 w-full flex-col", children: [
|
|
8923
8888
|
/* @__PURE__ */ x(Bl, { className: "shrink-0" }),
|
|
8924
8889
|
/* @__PURE__ */ x("div", { className: "flex min-h-0 flex-1 flex-col justify-end", children: e === Ye.Voice ? /* @__PURE__ */ x(Ki, {}) : /* @__PURE__ */ x(Fl, {}) })
|
|
8925
8890
|
] })
|
|
8926
8891
|
] });
|
|
8927
8892
|
}
|
|
8928
8893
|
function Zl({ location: e }) {
|
|
8929
|
-
return /* @__PURE__ */
|
|
8894
|
+
return /* @__PURE__ */ N($0, { location: e, children: [
|
|
8930
8895
|
/* @__PURE__ */ x(
|
|
8931
8896
|
nu,
|
|
8932
8897
|
{
|