@factorialco/f0-react 8.32.0 → 8.32.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.
- package/dist/{ChatPdfThumbnail-BSSuwnX6.js → ChatPdfThumbnail-DtjnbxlK.js} +1 -1
- package/dist/{ChatPostComposerDialog-DT2qzJz7.js → ChatPostComposerDialog-BaTMTzP7.js} +3 -3
- package/dist/{ChatSheetThumbnail-CyiwSdZJ.js → ChatSheetThumbnail-P76Jt0_u.js} +1 -1
- package/dist/{DocumentToolbar-COZ7xCb5.js → DocumentToolbar-DmU2Z6yx.js} +2 -2
- package/dist/{DocxViewer-Cwm_Q0g6.js → DocxViewer-C54WGD1S.js} +2 -2
- package/dist/{F0AiProcessingOverlay-CLBRUF77.js → F0AiProcessingOverlay-DZi5LhAe.js} +958 -958
- package/dist/{F0CanvasPanel-j19rKA2q.js → F0CanvasPanel-WVtVnJRZ.js} +846 -817
- package/dist/{F0Map-BYEGbNFJ.js → F0Map-CNWfSFZ1.js} +4 -4
- package/dist/{F0VideoPlayer-DLC7folq.js → F0VideoPlayer-D7c3Yh3w.js} +2 -2
- package/dist/{MapProvider-wJjbpL-O.js → MapProvider-27XPHPiu.js} +3 -3
- package/dist/{SheetViewer-DMCfqh-D.js → SheetViewer-1drEsfd7.js} +4 -4
- package/dist/{TextViewer-D4X0yq0F.js → TextViewer-EXSsPDXE.js} +2 -2
- package/dist/ai.d.ts +9 -9
- package/dist/ai.js +2 -2
- package/dist/browser-DqC2vZ6l.js +765 -0
- package/dist/component-status.d.ts +8 -8
- package/dist/component-status.js +1 -1
- package/dist/{experimental-C3h3olmD.js → experimental-BVFSvDo0.js} +1828 -1838
- package/dist/experimental.d.ts +9 -9
- package/dist/experimental.js +88 -88
- package/dist/f0.d.ts +10 -10
- package/dist/f0.js +9390 -9393
- package/dist/i18n-provider-defaults.d.ts +8 -8
- package/dist/index-6YSyIntj.js +4 -0
- package/dist/{index-D0RZbFbo.js → index-BC3sRBhO.js} +3 -3
- package/dist/{index-DPzxBulj.js → index-C3NBN1Ds.js} +2 -2
- package/dist/index-D-dPYkJS.js +2332 -0
- package/dist/{index-XRldN0kV.js → index-P3wd7w_Q.js} +1 -1
- package/dist/{index-2cL0J9Pc.js → index-SaYqmPwO.js} +3 -3
- package/dist/papaparse.min-Bh1MVuzw.js +405 -0
- package/dist/{pdfWorker-CQHWwuw6.js → pdfWorker-Bt3dfOGU.js} +2 -2
- package/dist/sheetPreview-BiccmyTD.js +2377 -0
- package/package.json +6 -2
- package/dist/index-no2co85K.js +0 -4
- package/dist/sheetPreview-Bqj3xODH.js +0 -51
- package/dist/xlsx-CzlURDDb.js +0 -24525
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { jsxs as c, jsx as r, Fragment as Fe } from "react/jsx-runtime";
|
|
2
|
-
import { useInsertionEffect as
|
|
3
|
-
import { ad as Ft, am as
|
|
4
|
-
import { d as b, f as le, g as
|
|
5
|
-
import { createPortal as
|
|
6
|
-
import { defaultTranslations as
|
|
7
|
-
import { useTrackVolume as
|
|
8
|
-
import { F as
|
|
9
|
-
import { b as
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
const
|
|
2
|
+
import { useInsertionEffect as mn, forwardRef as g, useState as B, useRef as I, useCallback as P, useEffect as z, useLayoutEffect as qe, useMemo as W, useId as ze, createContext as Xe, useContext as Pe, createElement as gn, memo as vn } from "react";
|
|
3
|
+
import { ad as Ft, am as wn, an as xn, ao as Nt, ap as bn, aq as Ln, ar as kn, as as yn, at as Mn, au as Rn, av as St, aw as Fn, ax as Nn, ay as u1, az as Sn, aA as Tn, aB as Vn, aC as An, aD as En, aE as Hn, aF as $n, aG as In, aH as Bn, N as Tt, aI as Pn, aJ as Dn, aK as _n, w as f1, aL as Vt, aM as De, A as At, aN as On, aO as jn, aP as Zn, aQ as Un, aR as zn, aS as Gn, ak as Ne, aT as Wn, aU as Et, aV as qn, aW as Xn, aX as Yn, m as Re, aY as Kn, aZ as Qn, a_ as Ht, a$ as Jn, b0 as eo, b1 as to, b2 as ro, b3 as no, b4 as oo, b5 as $t, b6 as so, b7 as ao, b8 as io, b9 as lo, ba as co, bb as uo, bc as fo, bd as ho, be as Co, bf as po, bg as mo, ab as go, bh as vo, bi as wo, bj as xo, bk as bo, V as Lo, bl as ko, bm as yo, bn as Mo, bo as Ro, bp as Fo, bq as No, br as So, bs as To, bt as Vo, bu as Ao, bv as Eo, bw as Ho, bx as $o, by as Io, bz as Bo, bA as Po, bB as Do, bC as _o, bD as Oo, a4 as It, bE as jo, bF as Zo, bG as Uo, bH as zo, bI as Bt, bJ as Go, a3 as Pt, bK as Wo, j as qo, bL as Xo, bM as Yo, ae as Ko, bN as Qo, bO as Jo, bP as es, bQ as ts, bR as h1, bS as rs, bT as ns, bU as os, bV as ss, bW as as, bX as is, bY as ls, k as cs, bZ as Dt, b_ as _t, b$ as ds, c0 as Ot, c1 as us, c2 as C1, B as fs, c3 as p1, c4 as hs, R as Cs, c5 as ps, c6 as m1, a1 as ms, a2 as gs, c7 as jt, c8 as vs, c9 as ws, ca as xs, cb as bs, cc as Ls, cd as ks, ac as ys, ce as Ms, cf as Rs, cg as Fs, ch as Zt, ci as Ns, cj as Ss, ck as Ts, cl as Vs, cm as As, u as j, K as Ye, L as g1, M as Ke, v as re, cn as Qe, co as te, cp as Es, S as fe, cq as Ut, cr as Hs, z as ge, a6 as $s, cs as ne, af as he, a7 as ke, a8 as K, ct as zt, cu as Is, b as ve, cv as Bs, cw as Ps, cx as Ds, d as Gt, cy as _s, i as Os, cz as js, cA as Zs, cB as Us, cC as O1, cD as zs, cE as Wt, cF as qt, cG as Xt, cH as Yt, cI as Kt, cJ as Qt, cK as Gs, cL as Ws, cM as qs, cN as Xs, cO as Ys, cP as Jt, n as Ks, cQ as Qs, cR as Js, aj as Be, s as er, t as tr, x as rr, c as c1, cS as j1, cT as nr, cU as ea, cV as ta, cW as _e, cX as ra, q as na, cY as oa, cZ as v1, c_ as sa, c$ as aa, d0 as ia, d1 as la, d2 as ca, d3 as da, G as ua, J as fa, aa as n1, d4 as Z1, d5 as or, d6 as sr, d7 as ha, d8 as Ca, d9 as pa, da as ma, db as ga, dc as va } from "./F0CanvasPanel-WVtVnJRZ.js";
|
|
4
|
+
import { d as b, f as le, g as wa } from "./tooltip-CrXp1Uaz.js";
|
|
5
|
+
import { createPortal as ar } from "react-dom";
|
|
6
|
+
import { defaultTranslations as xa } from "./i18n-provider-defaults.js";
|
|
7
|
+
import { useTrackVolume as ba } from "@livekit/components-react";
|
|
8
|
+
import { F as La } from "./Printer-BD-FEi_2.js";
|
|
9
|
+
import { b as ka, a as ya, F as Ma } from "./VolumeMuted-UfTwt2zn.js";
|
|
10
|
+
function Ra(e, t, n) {
|
|
11
|
+
mn(() => e.on(t, n), [e, t, n]);
|
|
12
|
+
}
|
|
13
|
+
const Fa = (e, t) => /* @__PURE__ */ c(
|
|
14
14
|
"svg",
|
|
15
15
|
{
|
|
16
16
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -46,7 +46,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
46
46
|
)
|
|
47
47
|
]
|
|
48
48
|
}
|
|
49
|
-
),
|
|
49
|
+
), Na = g(Fa), Sa = (e, t) => /* @__PURE__ */ r(
|
|
50
50
|
"svg",
|
|
51
51
|
{
|
|
52
52
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -62,7 +62,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
62
62
|
}
|
|
63
63
|
)
|
|
64
64
|
}
|
|
65
|
-
),
|
|
65
|
+
), Ta = g(Sa), Va = (e, t) => /* @__PURE__ */ c(
|
|
66
66
|
"svg",
|
|
67
67
|
{
|
|
68
68
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -98,7 +98,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
98
98
|
)
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
|
-
),
|
|
101
|
+
), Aa = g(Va), Ea = (e, t) => /* @__PURE__ */ c(
|
|
102
102
|
"svg",
|
|
103
103
|
{
|
|
104
104
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -136,7 +136,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
136
136
|
)
|
|
137
137
|
]
|
|
138
138
|
}
|
|
139
|
-
),
|
|
139
|
+
), Ha = g(Ea), $a = (e, t) => /* @__PURE__ */ c(
|
|
140
140
|
"svg",
|
|
141
141
|
{
|
|
142
142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -174,7 +174,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
174
174
|
)
|
|
175
175
|
]
|
|
176
176
|
}
|
|
177
|
-
),
|
|
177
|
+
), Ia = g($a), Ba = (e, t) => /* @__PURE__ */ c(
|
|
178
178
|
"svg",
|
|
179
179
|
{
|
|
180
180
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -199,7 +199,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
199
199
|
)
|
|
200
200
|
]
|
|
201
201
|
}
|
|
202
|
-
),
|
|
202
|
+
), Pa = g(Ba), Da = (e, t) => /* @__PURE__ */ c(
|
|
203
203
|
"svg",
|
|
204
204
|
{
|
|
205
205
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -222,7 +222,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
222
222
|
/* @__PURE__ */ r("path", { stroke: "currentColor", d: "M10 9V16" })
|
|
223
223
|
]
|
|
224
224
|
}
|
|
225
|
-
),
|
|
225
|
+
), _a = g(Da), Oa = (e, t) => /* @__PURE__ */ c(
|
|
226
226
|
"svg",
|
|
227
227
|
{
|
|
228
228
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -237,7 +237,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
237
237
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M16 11L16 15" })
|
|
238
238
|
]
|
|
239
239
|
}
|
|
240
|
-
),
|
|
240
|
+
), ja = g(Oa), Za = (e, t) => /* @__PURE__ */ r(
|
|
241
241
|
"svg",
|
|
242
242
|
{
|
|
243
243
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -253,7 +253,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
253
253
|
}
|
|
254
254
|
)
|
|
255
255
|
}
|
|
256
|
-
),
|
|
256
|
+
), Ua = g(Za), za = (e, t) => /* @__PURE__ */ r(
|
|
257
257
|
"svg",
|
|
258
258
|
{
|
|
259
259
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -269,7 +269,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
269
269
|
}
|
|
270
270
|
)
|
|
271
271
|
}
|
|
272
|
-
),
|
|
272
|
+
), Ga = g(za), Wa = (e, t) => /* @__PURE__ */ r(
|
|
273
273
|
"svg",
|
|
274
274
|
{
|
|
275
275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -287,7 +287,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
287
287
|
}
|
|
288
288
|
)
|
|
289
289
|
}
|
|
290
|
-
),
|
|
290
|
+
), qa = g(Wa), Xa = (e, t) => /* @__PURE__ */ c(
|
|
291
291
|
"svg",
|
|
292
292
|
{
|
|
293
293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -315,7 +315,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
315
315
|
)
|
|
316
316
|
]
|
|
317
317
|
}
|
|
318
|
-
),
|
|
318
|
+
), Ya = g(Xa), Ka = (e, t) => /* @__PURE__ */ c(
|
|
319
319
|
"svg",
|
|
320
320
|
{
|
|
321
321
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -347,7 +347,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
347
347
|
)
|
|
348
348
|
]
|
|
349
349
|
}
|
|
350
|
-
),
|
|
350
|
+
), Qa = g(Ka), Ja = (e, t) => /* @__PURE__ */ c(
|
|
351
351
|
"svg",
|
|
352
352
|
{
|
|
353
353
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -383,7 +383,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
383
383
|
)
|
|
384
384
|
]
|
|
385
385
|
}
|
|
386
|
-
),
|
|
386
|
+
), ei = g(Ja), ti = (e, t) => /* @__PURE__ */ c(
|
|
387
387
|
"svg",
|
|
388
388
|
{
|
|
389
389
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -421,7 +421,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
421
421
|
)
|
|
422
422
|
]
|
|
423
423
|
}
|
|
424
|
-
),
|
|
424
|
+
), ri = g(ti), ni = (e, t) => /* @__PURE__ */ c(
|
|
425
425
|
"svg",
|
|
426
426
|
{
|
|
427
427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -459,7 +459,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
459
459
|
)
|
|
460
460
|
]
|
|
461
461
|
}
|
|
462
|
-
),
|
|
462
|
+
), oi = g(ni), si = (e, t) => /* @__PURE__ */ c(
|
|
463
463
|
"svg",
|
|
464
464
|
{
|
|
465
465
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -497,7 +497,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
497
497
|
)
|
|
498
498
|
]
|
|
499
499
|
}
|
|
500
|
-
),
|
|
500
|
+
), ai = g(si), ii = (e, t) => /* @__PURE__ */ c(
|
|
501
501
|
"svg",
|
|
502
502
|
{
|
|
503
503
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -518,7 +518,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
518
518
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M16 12V12.1" })
|
|
519
519
|
]
|
|
520
520
|
}
|
|
521
|
-
),
|
|
521
|
+
), li = g(ii), ci = (e, t) => /* @__PURE__ */ r(
|
|
522
522
|
"svg",
|
|
523
523
|
{
|
|
524
524
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -534,7 +534,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
534
534
|
}
|
|
535
535
|
)
|
|
536
536
|
}
|
|
537
|
-
),
|
|
537
|
+
), di = g(ci), ui = (e, t) => /* @__PURE__ */ r(
|
|
538
538
|
"svg",
|
|
539
539
|
{
|
|
540
540
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -550,7 +550,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
550
550
|
}
|
|
551
551
|
)
|
|
552
552
|
}
|
|
553
|
-
),
|
|
553
|
+
), fi = g(ui), hi = (e, t) => /* @__PURE__ */ r(
|
|
554
554
|
"svg",
|
|
555
555
|
{
|
|
556
556
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -566,7 +566,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
566
566
|
}
|
|
567
567
|
)
|
|
568
568
|
}
|
|
569
|
-
),
|
|
569
|
+
), Ci = g(hi), pi = (e, t) => /* @__PURE__ */ r(
|
|
570
570
|
"svg",
|
|
571
571
|
{
|
|
572
572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -582,7 +582,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
582
582
|
}
|
|
583
583
|
)
|
|
584
584
|
}
|
|
585
|
-
),
|
|
585
|
+
), mi = g(pi), gi = (e, t) => /* @__PURE__ */ r(
|
|
586
586
|
"svg",
|
|
587
587
|
{
|
|
588
588
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -598,7 +598,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
598
598
|
}
|
|
599
599
|
)
|
|
600
600
|
}
|
|
601
|
-
),
|
|
601
|
+
), vi = g(gi), wi = (e, t) => /* @__PURE__ */ c(
|
|
602
602
|
"svg",
|
|
603
603
|
{
|
|
604
604
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -620,7 +620,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
620
620
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M15 12L12 15" })
|
|
621
621
|
]
|
|
622
622
|
}
|
|
623
|
-
),
|
|
623
|
+
), xi = g(wi), bi = (e, t) => /* @__PURE__ */ c(
|
|
624
624
|
"svg",
|
|
625
625
|
{
|
|
626
626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -650,7 +650,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
650
650
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M18 16L18 20" })
|
|
651
651
|
]
|
|
652
652
|
}
|
|
653
|
-
),
|
|
653
|
+
), Li = g(bi), ki = (e, t) => /* @__PURE__ */ r(
|
|
654
654
|
"svg",
|
|
655
655
|
{
|
|
656
656
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -667,7 +667,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
667
667
|
}
|
|
668
668
|
)
|
|
669
669
|
}
|
|
670
|
-
),
|
|
670
|
+
), yi = g(ki), Mi = (e, t) => /* @__PURE__ */ c(
|
|
671
671
|
"svg",
|
|
672
672
|
{
|
|
673
673
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -709,7 +709,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
709
709
|
)
|
|
710
710
|
]
|
|
711
711
|
}
|
|
712
|
-
),
|
|
712
|
+
), Ri = g(Mi), Fi = (e, t) => /* @__PURE__ */ c(
|
|
713
713
|
"svg",
|
|
714
714
|
{
|
|
715
715
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -745,7 +745,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
745
745
|
)
|
|
746
746
|
]
|
|
747
747
|
}
|
|
748
|
-
),
|
|
748
|
+
), Ni = g(Fi), Si = (e, t) => /* @__PURE__ */ c(
|
|
749
749
|
"svg",
|
|
750
750
|
{
|
|
751
751
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -774,7 +774,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
774
774
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M18 15V15.1" })
|
|
775
775
|
]
|
|
776
776
|
}
|
|
777
|
-
),
|
|
777
|
+
), Ti = g(Si), Vi = (e, t) => /* @__PURE__ */ c(
|
|
778
778
|
"svg",
|
|
779
779
|
{
|
|
780
780
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -802,7 +802,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
802
802
|
)
|
|
803
803
|
]
|
|
804
804
|
}
|
|
805
|
-
),
|
|
805
|
+
), Ai = g(Vi), Ei = (e, t) => /* @__PURE__ */ r(
|
|
806
806
|
"svg",
|
|
807
807
|
{
|
|
808
808
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -820,7 +820,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
820
820
|
}
|
|
821
821
|
)
|
|
822
822
|
}
|
|
823
|
-
),
|
|
823
|
+
), Hi = g(Ei), $i = (e, t) => /* @__PURE__ */ c(
|
|
824
824
|
"svg",
|
|
825
825
|
{
|
|
826
826
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -849,7 +849,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
849
849
|
)
|
|
850
850
|
]
|
|
851
851
|
}
|
|
852
|
-
),
|
|
852
|
+
), Ii = g($i), Bi = (e, t) => /* @__PURE__ */ r(
|
|
853
853
|
"svg",
|
|
854
854
|
{
|
|
855
855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -867,7 +867,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
867
867
|
}
|
|
868
868
|
)
|
|
869
869
|
}
|
|
870
|
-
),
|
|
870
|
+
), Pi = g(Bi), Di = (e, t) => /* @__PURE__ */ r(
|
|
871
871
|
"svg",
|
|
872
872
|
{
|
|
873
873
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -883,7 +883,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
883
883
|
}
|
|
884
884
|
)
|
|
885
885
|
}
|
|
886
|
-
),
|
|
886
|
+
), _i = g(Di), Oi = (e, t) => /* @__PURE__ */ r(
|
|
887
887
|
"svg",
|
|
888
888
|
{
|
|
889
889
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -901,7 +901,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
901
901
|
}
|
|
902
902
|
)
|
|
903
903
|
}
|
|
904
|
-
),
|
|
904
|
+
), ji = g(Oi), Zi = (e, t) => /* @__PURE__ */ c(
|
|
905
905
|
"svg",
|
|
906
906
|
{
|
|
907
907
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -923,7 +923,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
923
923
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M17 12V12.1" })
|
|
924
924
|
]
|
|
925
925
|
}
|
|
926
|
-
),
|
|
926
|
+
), Ui = g(Zi), zi = (e, t) => /* @__PURE__ */ c(
|
|
927
927
|
"svg",
|
|
928
928
|
{
|
|
929
929
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -961,7 +961,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
961
961
|
)
|
|
962
962
|
]
|
|
963
963
|
}
|
|
964
|
-
),
|
|
964
|
+
), Gi = g(zi), Wi = (e, t) => /* @__PURE__ */ c(
|
|
965
965
|
"svg",
|
|
966
966
|
{
|
|
967
967
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -986,7 +986,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
986
986
|
)
|
|
987
987
|
]
|
|
988
988
|
}
|
|
989
|
-
),
|
|
989
|
+
), qi = g(Wi), Xi = (e, t) => /* @__PURE__ */ c(
|
|
990
990
|
"svg",
|
|
991
991
|
{
|
|
992
992
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1015,7 +1015,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1015
1015
|
)
|
|
1016
1016
|
]
|
|
1017
1017
|
}
|
|
1018
|
-
),
|
|
1018
|
+
), Yi = g(Xi), Ki = (e, t) => /* @__PURE__ */ r(
|
|
1019
1019
|
"svg",
|
|
1020
1020
|
{
|
|
1021
1021
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1033,7 +1033,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1033
1033
|
}
|
|
1034
1034
|
)
|
|
1035
1035
|
}
|
|
1036
|
-
),
|
|
1036
|
+
), Qi = g(Ki), Ji = (e, t) => /* @__PURE__ */ c(
|
|
1037
1037
|
"svg",
|
|
1038
1038
|
{
|
|
1039
1039
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1062,7 +1062,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1062
1062
|
)
|
|
1063
1063
|
]
|
|
1064
1064
|
}
|
|
1065
|
-
),
|
|
1065
|
+
), e5 = g(Ji), t5 = (e, t) => /* @__PURE__ */ c(
|
|
1066
1066
|
"svg",
|
|
1067
1067
|
{
|
|
1068
1068
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1091,7 +1091,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1091
1091
|
)
|
|
1092
1092
|
]
|
|
1093
1093
|
}
|
|
1094
|
-
),
|
|
1094
|
+
), r5 = g(t5), n5 = (e, t) => /* @__PURE__ */ c(
|
|
1095
1095
|
"svg",
|
|
1096
1096
|
{
|
|
1097
1097
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1111,7 +1111,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1111
1111
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M6.60938 14.5H17" })
|
|
1112
1112
|
]
|
|
1113
1113
|
}
|
|
1114
|
-
),
|
|
1114
|
+
), o5 = g(n5), s5 = (e, t) => /* @__PURE__ */ c(
|
|
1115
1115
|
"svg",
|
|
1116
1116
|
{
|
|
1117
1117
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1137,7 +1137,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1137
1137
|
)
|
|
1138
1138
|
]
|
|
1139
1139
|
}
|
|
1140
|
-
),
|
|
1140
|
+
), a5 = g(s5), i5 = (e, t) => /* @__PURE__ */ c(
|
|
1141
1141
|
"svg",
|
|
1142
1142
|
{
|
|
1143
1143
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1165,7 +1165,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1165
1165
|
)
|
|
1166
1166
|
]
|
|
1167
1167
|
}
|
|
1168
|
-
),
|
|
1168
|
+
), l5 = g(i5), c5 = (e, t) => /* @__PURE__ */ r(
|
|
1169
1169
|
"svg",
|
|
1170
1170
|
{
|
|
1171
1171
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1183,7 +1183,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1183
1183
|
}
|
|
1184
1184
|
)
|
|
1185
1185
|
}
|
|
1186
|
-
),
|
|
1186
|
+
), d5 = g(c5), u5 = (e, t) => /* @__PURE__ */ r(
|
|
1187
1187
|
"svg",
|
|
1188
1188
|
{
|
|
1189
1189
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1201,7 +1201,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1201
1201
|
}
|
|
1202
1202
|
)
|
|
1203
1203
|
}
|
|
1204
|
-
),
|
|
1204
|
+
), f5 = g(u5), h5 = (e, t) => /* @__PURE__ */ c(
|
|
1205
1205
|
"svg",
|
|
1206
1206
|
{
|
|
1207
1207
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1230,7 +1230,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1230
1230
|
)
|
|
1231
1231
|
]
|
|
1232
1232
|
}
|
|
1233
|
-
),
|
|
1233
|
+
), C5 = g(h5), p5 = (e, t) => /* @__PURE__ */ r(
|
|
1234
1234
|
"svg",
|
|
1235
1235
|
{
|
|
1236
1236
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1246,7 +1246,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1246
1246
|
}
|
|
1247
1247
|
)
|
|
1248
1248
|
}
|
|
1249
|
-
),
|
|
1249
|
+
), m5 = g(p5), g5 = (e, t) => /* @__PURE__ */ c(
|
|
1250
1250
|
"svg",
|
|
1251
1251
|
{
|
|
1252
1252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1280,7 +1280,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1280
1280
|
)
|
|
1281
1281
|
]
|
|
1282
1282
|
}
|
|
1283
|
-
),
|
|
1283
|
+
), v5 = g(g5), w5 = (e, t) => /* @__PURE__ */ r(
|
|
1284
1284
|
"svg",
|
|
1285
1285
|
{
|
|
1286
1286
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1298,7 +1298,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1298
1298
|
}
|
|
1299
1299
|
)
|
|
1300
1300
|
}
|
|
1301
|
-
),
|
|
1301
|
+
), x5 = g(w5), b5 = (e, t) => /* @__PURE__ */ c(
|
|
1302
1302
|
"svg",
|
|
1303
1303
|
{
|
|
1304
1304
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1336,7 +1336,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1336
1336
|
)
|
|
1337
1337
|
]
|
|
1338
1338
|
}
|
|
1339
|
-
),
|
|
1339
|
+
), L5 = g(b5), k5 = (e, t) => /* @__PURE__ */ r(
|
|
1340
1340
|
"svg",
|
|
1341
1341
|
{
|
|
1342
1342
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1353,7 +1353,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1353
1353
|
}
|
|
1354
1354
|
)
|
|
1355
1355
|
}
|
|
1356
|
-
),
|
|
1356
|
+
), y5 = g(k5), M5 = (e, t) => /* @__PURE__ */ c(
|
|
1357
1357
|
"svg",
|
|
1358
1358
|
{
|
|
1359
1359
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1412,7 +1412,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1412
1412
|
)
|
|
1413
1413
|
]
|
|
1414
1414
|
}
|
|
1415
|
-
),
|
|
1415
|
+
), R5 = g(M5), F5 = (e, t) => /* @__PURE__ */ c(
|
|
1416
1416
|
"svg",
|
|
1417
1417
|
{
|
|
1418
1418
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1440,7 +1440,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1440
1440
|
)
|
|
1441
1441
|
]
|
|
1442
1442
|
}
|
|
1443
|
-
),
|
|
1443
|
+
), N5 = g(F5), S5 = (e, t) => /* @__PURE__ */ c(
|
|
1444
1444
|
"svg",
|
|
1445
1445
|
{
|
|
1446
1446
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1469,7 +1469,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1469
1469
|
)
|
|
1470
1470
|
]
|
|
1471
1471
|
}
|
|
1472
|
-
),
|
|
1472
|
+
), T5 = g(S5), V5 = (e, t) => /* @__PURE__ */ c(
|
|
1473
1473
|
"svg",
|
|
1474
1474
|
{
|
|
1475
1475
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1525,7 +1525,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1525
1525
|
)
|
|
1526
1526
|
]
|
|
1527
1527
|
}
|
|
1528
|
-
),
|
|
1528
|
+
), A5 = g(V5), E5 = (e, t) => /* @__PURE__ */ c(
|
|
1529
1529
|
"svg",
|
|
1530
1530
|
{
|
|
1531
1531
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1550,7 +1550,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1550
1550
|
)
|
|
1551
1551
|
]
|
|
1552
1552
|
}
|
|
1553
|
-
),
|
|
1553
|
+
), H5 = g(E5), $5 = (e, t) => /* @__PURE__ */ c(
|
|
1554
1554
|
"svg",
|
|
1555
1555
|
{
|
|
1556
1556
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1577,7 +1577,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1577
1577
|
)
|
|
1578
1578
|
]
|
|
1579
1579
|
}
|
|
1580
|
-
),
|
|
1580
|
+
), I5 = g($5), B5 = (e, t) => /* @__PURE__ */ c(
|
|
1581
1581
|
"svg",
|
|
1582
1582
|
{
|
|
1583
1583
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1611,7 +1611,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1611
1611
|
)
|
|
1612
1612
|
]
|
|
1613
1613
|
}
|
|
1614
|
-
),
|
|
1614
|
+
), ir = g(B5), P5 = (e, t) => /* @__PURE__ */ c(
|
|
1615
1615
|
"svg",
|
|
1616
1616
|
{
|
|
1617
1617
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1644,7 +1644,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1644
1644
|
)
|
|
1645
1645
|
]
|
|
1646
1646
|
}
|
|
1647
|
-
),
|
|
1647
|
+
), D5 = g(P5), _5 = (e, t) => /* @__PURE__ */ c(
|
|
1648
1648
|
"svg",
|
|
1649
1649
|
{
|
|
1650
1650
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1682,7 +1682,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1682
1682
|
)
|
|
1683
1683
|
]
|
|
1684
1684
|
}
|
|
1685
|
-
),
|
|
1685
|
+
), O5 = g(_5), j5 = (e, t) => /* @__PURE__ */ r(
|
|
1686
1686
|
"svg",
|
|
1687
1687
|
{
|
|
1688
1688
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1698,7 +1698,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1698
1698
|
}
|
|
1699
1699
|
)
|
|
1700
1700
|
}
|
|
1701
|
-
),
|
|
1701
|
+
), Z5 = g(j5), U5 = (e, t) => /* @__PURE__ */ c(
|
|
1702
1702
|
"svg",
|
|
1703
1703
|
{
|
|
1704
1704
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1737,7 +1737,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1737
1737
|
)
|
|
1738
1738
|
]
|
|
1739
1739
|
}
|
|
1740
|
-
),
|
|
1740
|
+
), z5 = g(U5), G5 = (e, t) => /* @__PURE__ */ c(
|
|
1741
1741
|
"svg",
|
|
1742
1742
|
{
|
|
1743
1743
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1765,7 +1765,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1765
1765
|
)
|
|
1766
1766
|
]
|
|
1767
1767
|
}
|
|
1768
|
-
),
|
|
1768
|
+
), W5 = g(G5), q5 = (e, t) => /* @__PURE__ */ c(
|
|
1769
1769
|
"svg",
|
|
1770
1770
|
{
|
|
1771
1771
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1804,7 +1804,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1804
1804
|
)
|
|
1805
1805
|
]
|
|
1806
1806
|
}
|
|
1807
|
-
),
|
|
1807
|
+
), X5 = g(q5), Y5 = (e, t) => /* @__PURE__ */ c(
|
|
1808
1808
|
"svg",
|
|
1809
1809
|
{
|
|
1810
1810
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1824,7 +1824,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1824
1824
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M7.5 14H11.5" })
|
|
1825
1825
|
]
|
|
1826
1826
|
}
|
|
1827
|
-
),
|
|
1827
|
+
), K5 = g(Y5), Q5 = (e, t) => /* @__PURE__ */ c(
|
|
1828
1828
|
"svg",
|
|
1829
1829
|
{
|
|
1830
1830
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1869,7 +1869,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1869
1869
|
)
|
|
1870
1870
|
]
|
|
1871
1871
|
}
|
|
1872
|
-
),
|
|
1872
|
+
), J5 = g(Q5), e0 = (e, t) => /* @__PURE__ */ c(
|
|
1873
1873
|
"svg",
|
|
1874
1874
|
{
|
|
1875
1875
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1896,7 +1896,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1896
1896
|
)
|
|
1897
1897
|
]
|
|
1898
1898
|
}
|
|
1899
|
-
),
|
|
1899
|
+
), t0 = g(e0), r0 = (e, t) => /* @__PURE__ */ c(
|
|
1900
1900
|
"svg",
|
|
1901
1901
|
{
|
|
1902
1902
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1922,7 +1922,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1922
1922
|
)
|
|
1923
1923
|
]
|
|
1924
1924
|
}
|
|
1925
|
-
),
|
|
1925
|
+
), n0 = g(r0), o0 = (e, t) => /* @__PURE__ */ c(
|
|
1926
1926
|
"svg",
|
|
1927
1927
|
{
|
|
1928
1928
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1960,7 +1960,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1960
1960
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M11.5 14V13" })
|
|
1961
1961
|
]
|
|
1962
1962
|
}
|
|
1963
|
-
),
|
|
1963
|
+
), lr = g(o0), s0 = (e, t) => /* @__PURE__ */ c(
|
|
1964
1964
|
"svg",
|
|
1965
1965
|
{
|
|
1966
1966
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1995,7 +1995,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
1995
1995
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M12 9V10" })
|
|
1996
1996
|
]
|
|
1997
1997
|
}
|
|
1998
|
-
),
|
|
1998
|
+
), a0 = g(s0), i0 = (e, t) => /* @__PURE__ */ c(
|
|
1999
1999
|
"svg",
|
|
2000
2000
|
{
|
|
2001
2001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2013,7 +2013,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2013
2013
|
/* @__PURE__ */ r("path", { d: "M8 21h8" })
|
|
2014
2014
|
]
|
|
2015
2015
|
}
|
|
2016
|
-
),
|
|
2016
|
+
), l0 = g(i0), c0 = (e, t) => /* @__PURE__ */ c(
|
|
2017
2017
|
"svg",
|
|
2018
2018
|
{
|
|
2019
2019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2064,7 +2064,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2064
2064
|
)
|
|
2065
2065
|
]
|
|
2066
2066
|
}
|
|
2067
|
-
),
|
|
2067
|
+
), d0 = g(c0), u0 = (e, t) => /* @__PURE__ */ r(
|
|
2068
2068
|
"svg",
|
|
2069
2069
|
{
|
|
2070
2070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2082,7 +2082,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2082
2082
|
}
|
|
2083
2083
|
)
|
|
2084
2084
|
}
|
|
2085
|
-
),
|
|
2085
|
+
), f0 = g(u0), h0 = (e, t) => /* @__PURE__ */ c(
|
|
2086
2086
|
"svg",
|
|
2087
2087
|
{
|
|
2088
2088
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2101,7 +2101,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2101
2101
|
)
|
|
2102
2102
|
]
|
|
2103
2103
|
}
|
|
2104
|
-
),
|
|
2104
|
+
), C0 = g(h0), p0 = (e, t) => /* @__PURE__ */ c(
|
|
2105
2105
|
"svg",
|
|
2106
2106
|
{
|
|
2107
2107
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2150,7 +2150,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2150
2150
|
)
|
|
2151
2151
|
]
|
|
2152
2152
|
}
|
|
2153
|
-
),
|
|
2153
|
+
), m0 = g(p0), g0 = (e, t) => /* @__PURE__ */ c(
|
|
2154
2154
|
"svg",
|
|
2155
2155
|
{
|
|
2156
2156
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2215,7 +2215,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2215
2215
|
)
|
|
2216
2216
|
]
|
|
2217
2217
|
}
|
|
2218
|
-
),
|
|
2218
|
+
), v0 = g(g0), w0 = (e, t) => /* @__PURE__ */ r(
|
|
2219
2219
|
"svg",
|
|
2220
2220
|
{
|
|
2221
2221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2231,7 +2231,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2231
2231
|
}
|
|
2232
2232
|
)
|
|
2233
2233
|
}
|
|
2234
|
-
), w1 = g(
|
|
2234
|
+
), w1 = g(w0), x0 = (e, t) => /* @__PURE__ */ r(
|
|
2235
2235
|
"svg",
|
|
2236
2236
|
{
|
|
2237
2237
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2249,7 +2249,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2249
2249
|
}
|
|
2250
2250
|
)
|
|
2251
2251
|
}
|
|
2252
|
-
),
|
|
2252
|
+
), b0 = g(x0), L0 = (e, t) => /* @__PURE__ */ c(
|
|
2253
2253
|
"svg",
|
|
2254
2254
|
{
|
|
2255
2255
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2284,7 +2284,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2284
2284
|
)
|
|
2285
2285
|
]
|
|
2286
2286
|
}
|
|
2287
|
-
),
|
|
2287
|
+
), k0 = g(L0), y0 = (e, t) => /* @__PURE__ */ r(
|
|
2288
2288
|
"svg",
|
|
2289
2289
|
{
|
|
2290
2290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2302,7 +2302,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2302
2302
|
}
|
|
2303
2303
|
)
|
|
2304
2304
|
}
|
|
2305
|
-
),
|
|
2305
|
+
), M0 = g(y0), R0 = (e, t) => /* @__PURE__ */ c(
|
|
2306
2306
|
"svg",
|
|
2307
2307
|
{
|
|
2308
2308
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2357,7 +2357,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2357
2357
|
)
|
|
2358
2358
|
]
|
|
2359
2359
|
}
|
|
2360
|
-
),
|
|
2360
|
+
), F0 = g(R0), N0 = (e, t) => /* @__PURE__ */ r(
|
|
2361
2361
|
"svg",
|
|
2362
2362
|
{
|
|
2363
2363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2375,7 +2375,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2375
2375
|
}
|
|
2376
2376
|
)
|
|
2377
2377
|
}
|
|
2378
|
-
),
|
|
2378
|
+
), S0 = g(N0), T0 = (e, t) => /* @__PURE__ */ r(
|
|
2379
2379
|
"svg",
|
|
2380
2380
|
{
|
|
2381
2381
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2391,7 +2391,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2391
2391
|
}
|
|
2392
2392
|
)
|
|
2393
2393
|
}
|
|
2394
|
-
),
|
|
2394
|
+
), V0 = g(T0), A0 = (e, t) => /* @__PURE__ */ r(
|
|
2395
2395
|
"svg",
|
|
2396
2396
|
{
|
|
2397
2397
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2407,7 +2407,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2407
2407
|
}
|
|
2408
2408
|
)
|
|
2409
2409
|
}
|
|
2410
|
-
),
|
|
2410
|
+
), E0 = g(A0), H0 = (e, t) => /* @__PURE__ */ c(
|
|
2411
2411
|
"svg",
|
|
2412
2412
|
{
|
|
2413
2413
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2456,7 +2456,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2456
2456
|
)
|
|
2457
2457
|
]
|
|
2458
2458
|
}
|
|
2459
|
-
),
|
|
2459
|
+
), $0 = g(H0), I0 = (e, t) => /* @__PURE__ */ r(
|
|
2460
2460
|
"svg",
|
|
2461
2461
|
{
|
|
2462
2462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2472,7 +2472,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2472
2472
|
}
|
|
2473
2473
|
)
|
|
2474
2474
|
}
|
|
2475
|
-
),
|
|
2475
|
+
), B0 = g(I0), P0 = (e, t) => /* @__PURE__ */ c(
|
|
2476
2476
|
"svg",
|
|
2477
2477
|
{
|
|
2478
2478
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2511,7 +2511,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2511
2511
|
)
|
|
2512
2512
|
]
|
|
2513
2513
|
}
|
|
2514
|
-
),
|
|
2514
|
+
), D0 = g(P0), _0 = (e, t) => /* @__PURE__ */ r(
|
|
2515
2515
|
"svg",
|
|
2516
2516
|
{
|
|
2517
2517
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2529,7 +2529,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2529
2529
|
}
|
|
2530
2530
|
)
|
|
2531
2531
|
}
|
|
2532
|
-
),
|
|
2532
|
+
), O0 = g(_0), j0 = (e, t) => /* @__PURE__ */ c(
|
|
2533
2533
|
"svg",
|
|
2534
2534
|
{
|
|
2535
2535
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2583,7 +2583,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2583
2583
|
)
|
|
2584
2584
|
]
|
|
2585
2585
|
}
|
|
2586
|
-
),
|
|
2586
|
+
), Z0 = g(j0), U0 = (e, t) => /* @__PURE__ */ c(
|
|
2587
2587
|
"svg",
|
|
2588
2588
|
{
|
|
2589
2589
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2655,7 +2655,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2655
2655
|
)
|
|
2656
2656
|
]
|
|
2657
2657
|
}
|
|
2658
|
-
),
|
|
2658
|
+
), z0 = g(U0), G0 = (e, t) => /* @__PURE__ */ r(
|
|
2659
2659
|
"svg",
|
|
2660
2660
|
{
|
|
2661
2661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2673,7 +2673,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2673
2673
|
}
|
|
2674
2674
|
)
|
|
2675
2675
|
}
|
|
2676
|
-
),
|
|
2676
|
+
), W0 = g(G0), q0 = (e, t) => /* @__PURE__ */ c(
|
|
2677
2677
|
"svg",
|
|
2678
2678
|
{
|
|
2679
2679
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2694,7 +2694,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2694
2694
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M9 12H13" })
|
|
2695
2695
|
]
|
|
2696
2696
|
}
|
|
2697
|
-
),
|
|
2697
|
+
), X0 = g(q0), Y0 = (e, t) => /* @__PURE__ */ c(
|
|
2698
2698
|
"svg",
|
|
2699
2699
|
{
|
|
2700
2700
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2707,7 +2707,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2707
2707
|
/* @__PURE__ */ r("circle", { cx: 12, cy: 12, r: 6, fill: "currentColor" })
|
|
2708
2708
|
]
|
|
2709
2709
|
}
|
|
2710
|
-
),
|
|
2710
|
+
), K0 = g(Y0), Q0 = (e, t) => /* @__PURE__ */ r(
|
|
2711
2711
|
"svg",
|
|
2712
2712
|
{
|
|
2713
2713
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2725,7 +2725,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2725
2725
|
}
|
|
2726
2726
|
)
|
|
2727
2727
|
}
|
|
2728
|
-
),
|
|
2728
|
+
), J0 = g(Q0), el = (e, t) => /* @__PURE__ */ c(
|
|
2729
2729
|
"svg",
|
|
2730
2730
|
{
|
|
2731
2731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2772,7 +2772,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2772
2772
|
)
|
|
2773
2773
|
]
|
|
2774
2774
|
}
|
|
2775
|
-
),
|
|
2775
|
+
), tl = g(el), rl = (e, t) => /* @__PURE__ */ c(
|
|
2776
2776
|
"svg",
|
|
2777
2777
|
{
|
|
2778
2778
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2800,7 +2800,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2800
2800
|
)
|
|
2801
2801
|
]
|
|
2802
2802
|
}
|
|
2803
|
-
),
|
|
2803
|
+
), nl = g(rl), ol = (e, t) => /* @__PURE__ */ r(
|
|
2804
2804
|
"svg",
|
|
2805
2805
|
{
|
|
2806
2806
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2818,7 +2818,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2818
2818
|
}
|
|
2819
2819
|
)
|
|
2820
2820
|
}
|
|
2821
|
-
),
|
|
2821
|
+
), sl = g(ol), al = (e, t) => /* @__PURE__ */ c(
|
|
2822
2822
|
"svg",
|
|
2823
2823
|
{
|
|
2824
2824
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2847,7 +2847,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2847
2847
|
)
|
|
2848
2848
|
]
|
|
2849
2849
|
}
|
|
2850
|
-
),
|
|
2850
|
+
), il = g(al), ll = (e, t) => /* @__PURE__ */ c(
|
|
2851
2851
|
"svg",
|
|
2852
2852
|
{
|
|
2853
2853
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2893,7 +2893,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2893
2893
|
)
|
|
2894
2894
|
]
|
|
2895
2895
|
}
|
|
2896
|
-
),
|
|
2896
|
+
), cl = g(ll), dl = (e, t) => /* @__PURE__ */ r(
|
|
2897
2897
|
"svg",
|
|
2898
2898
|
{
|
|
2899
2899
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2910,7 +2910,7 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2910
2910
|
}
|
|
2911
2911
|
)
|
|
2912
2912
|
}
|
|
2913
|
-
),
|
|
2913
|
+
), ul = g(dl), fl = (e, t) => /* @__PURE__ */ c(
|
|
2914
2914
|
"svg",
|
|
2915
2915
|
{
|
|
2916
2916
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2952,9 +2952,9 @@ const ka = (e, t) => /* @__PURE__ */ c(
|
|
|
2952
2952
|
)
|
|
2953
2953
|
]
|
|
2954
2954
|
}
|
|
2955
|
-
),
|
|
2956
|
-
|
|
2957
|
-
const
|
|
2955
|
+
), cr = g(fl);
|
|
2956
|
+
cr.displayName = "ShoppingCart";
|
|
2957
|
+
const hl = (e, t) => /* @__PURE__ */ c(
|
|
2958
2958
|
"svg",
|
|
2959
2959
|
{
|
|
2960
2960
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2993,7 +2993,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
2993
2993
|
)
|
|
2994
2994
|
]
|
|
2995
2995
|
}
|
|
2996
|
-
),
|
|
2996
|
+
), Cl = g(hl), pl = (e, t) => /* @__PURE__ */ c(
|
|
2997
2997
|
"svg",
|
|
2998
2998
|
{
|
|
2999
2999
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3022,7 +3022,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3022
3022
|
)
|
|
3023
3023
|
]
|
|
3024
3024
|
}
|
|
3025
|
-
),
|
|
3025
|
+
), ml = g(pl), gl = (e, t) => /* @__PURE__ */ c(
|
|
3026
3026
|
"svg",
|
|
3027
3027
|
{
|
|
3028
3028
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3051,7 +3051,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3051
3051
|
)
|
|
3052
3052
|
]
|
|
3053
3053
|
}
|
|
3054
|
-
),
|
|
3054
|
+
), vl = g(gl), wl = (e, t) => /* @__PURE__ */ c(
|
|
3055
3055
|
"svg",
|
|
3056
3056
|
{
|
|
3057
3057
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3110,7 +3110,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3110
3110
|
)
|
|
3111
3111
|
]
|
|
3112
3112
|
}
|
|
3113
|
-
),
|
|
3113
|
+
), xl = g(wl), bl = (e, t) => /* @__PURE__ */ c(
|
|
3114
3114
|
"svg",
|
|
3115
3115
|
{
|
|
3116
3116
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3139,7 +3139,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3139
3139
|
)
|
|
3140
3140
|
]
|
|
3141
3141
|
}
|
|
3142
|
-
),
|
|
3142
|
+
), Ll = g(bl), kl = (e, t) => /* @__PURE__ */ c(
|
|
3143
3143
|
"svg",
|
|
3144
3144
|
{
|
|
3145
3145
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3168,7 +3168,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3168
3168
|
)
|
|
3169
3169
|
]
|
|
3170
3170
|
}
|
|
3171
|
-
),
|
|
3171
|
+
), yl = g(kl), Ml = (e, t) => /* @__PURE__ */ c(
|
|
3172
3172
|
"svg",
|
|
3173
3173
|
{
|
|
3174
3174
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3188,7 +3188,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3188
3188
|
/* @__PURE__ */ r("path", { stroke: "currentColor", strokeLinecap: "round", d: "M12 16V16.1" })
|
|
3189
3189
|
]
|
|
3190
3190
|
}
|
|
3191
|
-
),
|
|
3191
|
+
), Rl = g(Ml), Fl = (e, t) => /* @__PURE__ */ c(
|
|
3192
3192
|
"svg",
|
|
3193
3193
|
{
|
|
3194
3194
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3204,7 +3204,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3204
3204
|
/* @__PURE__ */ r("circle", { cx: 7.5, cy: 7.5, r: 0.5, fill: "currentColor" })
|
|
3205
3205
|
]
|
|
3206
3206
|
}
|
|
3207
|
-
),
|
|
3207
|
+
), Nl = g(Fl), Sl = (e, t) => /* @__PURE__ */ c(
|
|
3208
3208
|
"svg",
|
|
3209
3209
|
{
|
|
3210
3210
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3233,7 +3233,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3233
3233
|
)
|
|
3234
3234
|
]
|
|
3235
3235
|
}
|
|
3236
|
-
),
|
|
3236
|
+
), dr = g(Sl), Tl = (e, t) => /* @__PURE__ */ c(
|
|
3237
3237
|
"svg",
|
|
3238
3238
|
{
|
|
3239
3239
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3258,7 +3258,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3258
3258
|
)
|
|
3259
3259
|
]
|
|
3260
3260
|
}
|
|
3261
|
-
),
|
|
3261
|
+
), ur = g(Tl), Vl = (e, t) => /* @__PURE__ */ c(
|
|
3262
3262
|
"svg",
|
|
3263
3263
|
{
|
|
3264
3264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3287,7 +3287,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3287
3287
|
)
|
|
3288
3288
|
]
|
|
3289
3289
|
}
|
|
3290
|
-
),
|
|
3290
|
+
), fr = g(Vl), Al = (e, t) => /* @__PURE__ */ c(
|
|
3291
3291
|
"svg",
|
|
3292
3292
|
{
|
|
3293
3293
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3312,7 +3312,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3312
3312
|
)
|
|
3313
3313
|
]
|
|
3314
3314
|
}
|
|
3315
|
-
),
|
|
3315
|
+
), hr = g(Al), El = (e, t) => /* @__PURE__ */ c(
|
|
3316
3316
|
"svg",
|
|
3317
3317
|
{
|
|
3318
3318
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3368,7 +3368,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3368
3368
|
)
|
|
3369
3369
|
]
|
|
3370
3370
|
}
|
|
3371
|
-
),
|
|
3371
|
+
), Hl = g(El), $l = (e, t) => /* @__PURE__ */ r(
|
|
3372
3372
|
"svg",
|
|
3373
3373
|
{
|
|
3374
3374
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3386,7 +3386,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3386
3386
|
}
|
|
3387
3387
|
)
|
|
3388
3388
|
}
|
|
3389
|
-
),
|
|
3389
|
+
), Il = g($l), Bl = (e, t) => /* @__PURE__ */ c(
|
|
3390
3390
|
"svg",
|
|
3391
3391
|
{
|
|
3392
3392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3414,7 +3414,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3414
3414
|
/* @__PURE__ */ r("circle", { cx: 16.25, cy: 13.75, r: 1.25, fill: "currentColor" })
|
|
3415
3415
|
]
|
|
3416
3416
|
}
|
|
3417
|
-
),
|
|
3417
|
+
), Pl = g(Bl), Dl = (e, t) => /* @__PURE__ */ c(
|
|
3418
3418
|
"svg",
|
|
3419
3419
|
{
|
|
3420
3420
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3442,7 +3442,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3442
3442
|
)
|
|
3443
3443
|
]
|
|
3444
3444
|
}
|
|
3445
|
-
),
|
|
3445
|
+
), _l = g(Dl), Ol = (e, t) => /* @__PURE__ */ c(
|
|
3446
3446
|
"svg",
|
|
3447
3447
|
{
|
|
3448
3448
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3467,7 +3467,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3467
3467
|
)
|
|
3468
3468
|
]
|
|
3469
3469
|
}
|
|
3470
|
-
),
|
|
3470
|
+
), jl = g(Ol), Zl = (e, t) => /* @__PURE__ */ c(
|
|
3471
3471
|
"svg",
|
|
3472
3472
|
{
|
|
3473
3473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3485,286 +3485,286 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3485
3485
|
/* @__PURE__ */ r("path", { d: "M8.5 16.429a5 5 0 0 1 7 0" })
|
|
3486
3486
|
]
|
|
3487
3487
|
}
|
|
3488
|
-
),
|
|
3488
|
+
), Ul = g(Zl), zl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3489
3489
|
__proto__: null,
|
|
3490
|
-
AcademicCap:
|
|
3490
|
+
AcademicCap: Na,
|
|
3491
3491
|
Add: Ft,
|
|
3492
|
-
Agentic:
|
|
3493
|
-
Ai:
|
|
3494
|
-
Alert:
|
|
3492
|
+
Agentic: Ta,
|
|
3493
|
+
Ai: wn,
|
|
3494
|
+
Alert: xn,
|
|
3495
3495
|
AlertCircle: Nt,
|
|
3496
|
-
AlertCircleLine:
|
|
3497
|
-
AlignTextCenter:
|
|
3498
|
-
AlignTextJustify:
|
|
3499
|
-
AlignTextLeft:
|
|
3500
|
-
AlignTextRight:
|
|
3501
|
-
Appearance:
|
|
3502
|
-
Archive:
|
|
3503
|
-
ArchiveOpen:
|
|
3504
|
-
ArrowCycle:
|
|
3496
|
+
AlertCircleLine: bn,
|
|
3497
|
+
AlignTextCenter: Ln,
|
|
3498
|
+
AlignTextJustify: kn,
|
|
3499
|
+
AlignTextLeft: yn,
|
|
3500
|
+
AlignTextRight: Mn,
|
|
3501
|
+
Appearance: Aa,
|
|
3502
|
+
Archive: Ha,
|
|
3503
|
+
ArchiveOpen: Ia,
|
|
3504
|
+
ArrowCycle: Rn,
|
|
3505
3505
|
ArrowDown: St,
|
|
3506
|
-
ArrowLeft:
|
|
3507
|
-
ArrowRight:
|
|
3506
|
+
ArrowLeft: Fn,
|
|
3507
|
+
ArrowRight: Nn,
|
|
3508
3508
|
ArrowUp: u1,
|
|
3509
|
-
Ascending:
|
|
3510
|
-
Balance:
|
|
3511
|
-
Bank:
|
|
3512
|
-
BarGraph:
|
|
3513
|
-
Basket:
|
|
3514
|
-
Bell:
|
|
3515
|
-
BellOff:
|
|
3516
|
-
Bold:
|
|
3517
|
-
BookOpen:
|
|
3518
|
-
Bookmark:
|
|
3519
|
-
BookmarkFilled:
|
|
3520
|
-
Briefcase:
|
|
3521
|
-
Bucket:
|
|
3522
|
-
Building:
|
|
3523
|
-
Bullet:
|
|
3524
|
-
Calculator:
|
|
3525
|
-
Calendar:
|
|
3526
|
-
CalendarArrowDown:
|
|
3527
|
-
CalendarArrowLeft:
|
|
3528
|
-
CalendarArrowRight:
|
|
3529
|
-
CameraPlus:
|
|
3530
|
-
CardPin:
|
|
3531
|
-
ChartFunnel:
|
|
3532
|
-
ChartHorizontalBars:
|
|
3533
|
-
ChartLine:
|
|
3534
|
-
ChartPie:
|
|
3535
|
-
ChartVerticalBars:
|
|
3509
|
+
Ascending: Sn,
|
|
3510
|
+
Balance: Pa,
|
|
3511
|
+
Bank: _a,
|
|
3512
|
+
BarGraph: ja,
|
|
3513
|
+
Basket: Ua,
|
|
3514
|
+
Bell: Tn,
|
|
3515
|
+
BellOff: Ga,
|
|
3516
|
+
Bold: Vn,
|
|
3517
|
+
BookOpen: qa,
|
|
3518
|
+
Bookmark: An,
|
|
3519
|
+
BookmarkFilled: En,
|
|
3520
|
+
Briefcase: Ya,
|
|
3521
|
+
Bucket: Qa,
|
|
3522
|
+
Building: ei,
|
|
3523
|
+
Bullet: Hn,
|
|
3524
|
+
Calculator: $n,
|
|
3525
|
+
Calendar: In,
|
|
3526
|
+
CalendarArrowDown: ri,
|
|
3527
|
+
CalendarArrowLeft: oi,
|
|
3528
|
+
CalendarArrowRight: ai,
|
|
3529
|
+
CameraPlus: Bn,
|
|
3530
|
+
CardPin: li,
|
|
3531
|
+
ChartFunnel: di,
|
|
3532
|
+
ChartHorizontalBars: fi,
|
|
3533
|
+
ChartLine: Ci,
|
|
3534
|
+
ChartPie: mi,
|
|
3535
|
+
ChartVerticalBars: vi,
|
|
3536
3536
|
Check: Tt,
|
|
3537
|
-
CheckCircle:
|
|
3538
|
-
CheckCircleLine:
|
|
3539
|
-
CheckDouble:
|
|
3537
|
+
CheckCircle: Pn,
|
|
3538
|
+
CheckCircleLine: Dn,
|
|
3539
|
+
CheckDouble: _n,
|
|
3540
3540
|
ChevronDown: f1,
|
|
3541
3541
|
ChevronLeft: Vt,
|
|
3542
3542
|
ChevronRight: De,
|
|
3543
3543
|
ChevronUp: At,
|
|
3544
|
-
Chip:
|
|
3545
|
-
Circle:
|
|
3546
|
-
Clock:
|
|
3547
|
-
ClockBack:
|
|
3548
|
-
ClockPlus:
|
|
3549
|
-
Cloud:
|
|
3550
|
-
Code:
|
|
3551
|
-
Coffee:
|
|
3552
|
-
Command:
|
|
3553
|
-
Comment:
|
|
3554
|
-
Completed:
|
|
3555
|
-
Computer:
|
|
3556
|
-
Contactless:
|
|
3557
|
-
CornerHandle:
|
|
3558
|
-
CreditCard:
|
|
3544
|
+
Chip: xi,
|
|
3545
|
+
Circle: On,
|
|
3546
|
+
Clock: jn,
|
|
3547
|
+
ClockBack: Zn,
|
|
3548
|
+
ClockPlus: Li,
|
|
3549
|
+
Cloud: yi,
|
|
3550
|
+
Code: Un,
|
|
3551
|
+
Coffee: Ri,
|
|
3552
|
+
Command: Ni,
|
|
3553
|
+
Comment: zn,
|
|
3554
|
+
Completed: Gn,
|
|
3555
|
+
Computer: Ti,
|
|
3556
|
+
Contactless: Ai,
|
|
3557
|
+
CornerHandle: Hi,
|
|
3558
|
+
CreditCard: Ii,
|
|
3559
3559
|
Cross: Ne,
|
|
3560
|
-
CrossedCircle:
|
|
3561
|
-
Crown:
|
|
3562
|
-
CursorClick:
|
|
3560
|
+
CrossedCircle: Wn,
|
|
3561
|
+
Crown: Pi,
|
|
3562
|
+
CursorClick: _i,
|
|
3563
3563
|
Delete: Et,
|
|
3564
|
-
Deny:
|
|
3565
|
-
Descending:
|
|
3566
|
-
Desktop:
|
|
3567
|
-
DollarBill:
|
|
3568
|
-
DollarReset:
|
|
3569
|
-
DottedCircle:
|
|
3564
|
+
Deny: ji,
|
|
3565
|
+
Descending: qn,
|
|
3566
|
+
Desktop: Xn,
|
|
3567
|
+
DollarBill: Ui,
|
|
3568
|
+
DollarReset: Gi,
|
|
3569
|
+
DottedCircle: Yn,
|
|
3570
3570
|
Download: Re,
|
|
3571
|
-
DropdownDefault:
|
|
3572
|
-
DropdownOpen:
|
|
3571
|
+
DropdownDefault: Kn,
|
|
3572
|
+
DropdownOpen: Qn,
|
|
3573
3573
|
Ellipsis: Ht,
|
|
3574
|
-
EllipsisHorizontal:
|
|
3575
|
-
Envelope:
|
|
3576
|
-
EnvelopeOpen:
|
|
3577
|
-
Equal:
|
|
3578
|
-
EqualApproximately:
|
|
3579
|
-
EqualGreater:
|
|
3580
|
-
EqualLess:
|
|
3581
|
-
Exit:
|
|
3574
|
+
EllipsisHorizontal: Jn,
|
|
3575
|
+
Envelope: eo,
|
|
3576
|
+
EnvelopeOpen: qi,
|
|
3577
|
+
Equal: to,
|
|
3578
|
+
EqualApproximately: ro,
|
|
3579
|
+
EqualGreater: no,
|
|
3580
|
+
EqualLess: oo,
|
|
3581
|
+
Exit: Yi,
|
|
3582
3582
|
ExternalLink: $t,
|
|
3583
|
-
EyeInvisible:
|
|
3584
|
-
EyeVisible:
|
|
3585
|
-
FaceNegative:
|
|
3586
|
-
FaceNeutral:
|
|
3587
|
-
FacePositive:
|
|
3588
|
-
FaceSuperNegative:
|
|
3589
|
-
FaceSuperPositive:
|
|
3590
|
-
Feed:
|
|
3591
|
-
File:
|
|
3592
|
-
FileFilled:
|
|
3593
|
-
FileSigned:
|
|
3594
|
-
Files:
|
|
3595
|
-
Filter:
|
|
3596
|
-
FitView:
|
|
3597
|
-
Flag:
|
|
3598
|
-
Flask:
|
|
3599
|
-
Floating:
|
|
3600
|
-
Folder:
|
|
3601
|
-
Folders:
|
|
3602
|
-
Forward:
|
|
3603
|
-
Fullscreen:
|
|
3604
|
-
Globe:
|
|
3605
|
-
Graph:
|
|
3606
|
-
Greater:
|
|
3607
|
-
Group:
|
|
3608
|
-
GroupBy:
|
|
3609
|
-
Handle:
|
|
3610
|
-
Handshake:
|
|
3611
|
-
HardDrive:
|
|
3612
|
-
HeadcountPlanning:
|
|
3613
|
-
Heading1:
|
|
3614
|
-
Heading2:
|
|
3615
|
-
Heading3:
|
|
3616
|
-
Headset:
|
|
3617
|
-
Heart:
|
|
3618
|
-
HoldHeart:
|
|
3619
|
-
Home:
|
|
3620
|
-
Hub:
|
|
3621
|
-
Image:
|
|
3622
|
-
InProgressTask:
|
|
3623
|
-
Inbox:
|
|
3624
|
-
Info:
|
|
3625
|
-
InfoCircle:
|
|
3626
|
-
InfoCircleLine:
|
|
3627
|
-
InputField:
|
|
3628
|
-
Italic:
|
|
3629
|
-
Kanban:
|
|
3630
|
-
Keyboard:
|
|
3631
|
-
Laptop:
|
|
3632
|
-
LayersFront:
|
|
3633
|
-
Less:
|
|
3634
|
-
Lightbulb:
|
|
3635
|
-
Link:
|
|
3636
|
-
LinkRemove:
|
|
3637
|
-
List:
|
|
3638
|
-
LockLocked:
|
|
3639
|
-
LockUnlocked:
|
|
3640
|
-
LogoAvatar:
|
|
3641
|
-
LogoEruditai:
|
|
3642
|
-
LogoTravelperk:
|
|
3643
|
-
Marker:
|
|
3644
|
-
Marketplace:
|
|
3645
|
-
Masonry:
|
|
3583
|
+
EyeInvisible: so,
|
|
3584
|
+
EyeVisible: ao,
|
|
3585
|
+
FaceNegative: io,
|
|
3586
|
+
FaceNeutral: lo,
|
|
3587
|
+
FacePositive: co,
|
|
3588
|
+
FaceSuperNegative: uo,
|
|
3589
|
+
FaceSuperPositive: fo,
|
|
3590
|
+
Feed: Qi,
|
|
3591
|
+
File: ho,
|
|
3592
|
+
FileFilled: Co,
|
|
3593
|
+
FileSigned: e5,
|
|
3594
|
+
Files: po,
|
|
3595
|
+
Filter: mo,
|
|
3596
|
+
FitView: go,
|
|
3597
|
+
Flag: r5,
|
|
3598
|
+
Flask: o5,
|
|
3599
|
+
Floating: vo,
|
|
3600
|
+
Folder: wo,
|
|
3601
|
+
Folders: a5,
|
|
3602
|
+
Forward: xo,
|
|
3603
|
+
Fullscreen: bo,
|
|
3604
|
+
Globe: Lo,
|
|
3605
|
+
Graph: l5,
|
|
3606
|
+
Greater: ko,
|
|
3607
|
+
Group: d5,
|
|
3608
|
+
GroupBy: f5,
|
|
3609
|
+
Handle: yo,
|
|
3610
|
+
Handshake: Mo,
|
|
3611
|
+
HardDrive: C5,
|
|
3612
|
+
HeadcountPlanning: m5,
|
|
3613
|
+
Heading1: Ro,
|
|
3614
|
+
Heading2: Fo,
|
|
3615
|
+
Heading3: No,
|
|
3616
|
+
Headset: v5,
|
|
3617
|
+
Heart: x5,
|
|
3618
|
+
HoldHeart: L5,
|
|
3619
|
+
Home: y5,
|
|
3620
|
+
Hub: R5,
|
|
3621
|
+
Image: So,
|
|
3622
|
+
InProgressTask: To,
|
|
3623
|
+
Inbox: N5,
|
|
3624
|
+
Info: T5,
|
|
3625
|
+
InfoCircle: Vo,
|
|
3626
|
+
InfoCircleLine: Ao,
|
|
3627
|
+
InputField: A5,
|
|
3628
|
+
Italic: Eo,
|
|
3629
|
+
Kanban: Ho,
|
|
3630
|
+
Keyboard: H5,
|
|
3631
|
+
Laptop: I5,
|
|
3632
|
+
LayersFront: $o,
|
|
3633
|
+
Less: Io,
|
|
3634
|
+
Lightbulb: ir,
|
|
3635
|
+
Link: Bo,
|
|
3636
|
+
LinkRemove: D5,
|
|
3637
|
+
List: Po,
|
|
3638
|
+
LockLocked: Do,
|
|
3639
|
+
LockUnlocked: O5,
|
|
3640
|
+
LogoAvatar: _o,
|
|
3641
|
+
LogoEruditai: Z5,
|
|
3642
|
+
LogoTravelperk: z5,
|
|
3643
|
+
Marker: Oo,
|
|
3644
|
+
Marketplace: W5,
|
|
3645
|
+
Masonry: X5,
|
|
3646
3646
|
Maximize: It,
|
|
3647
|
-
MaximizeHorizontal:
|
|
3648
|
-
Megaphone:
|
|
3649
|
-
Menu:
|
|
3650
|
-
MessageFilled:
|
|
3651
|
-
MessageFrown:
|
|
3652
|
-
MessageHeart:
|
|
3653
|
-
Messages:
|
|
3647
|
+
MaximizeHorizontal: jo,
|
|
3648
|
+
Megaphone: Zo,
|
|
3649
|
+
Menu: Uo,
|
|
3650
|
+
MessageFilled: K5,
|
|
3651
|
+
MessageFrown: J5,
|
|
3652
|
+
MessageHeart: t0,
|
|
3653
|
+
Messages: zo,
|
|
3654
3654
|
Microphone: Bt,
|
|
3655
|
-
MicrophoneNegative:
|
|
3655
|
+
MicrophoneNegative: Go,
|
|
3656
3656
|
Minimize: Pt,
|
|
3657
|
-
MinimizeHorizontal:
|
|
3658
|
-
Minus:
|
|
3659
|
-
Mobile:
|
|
3660
|
-
Money:
|
|
3661
|
-
MoneyBag:
|
|
3662
|
-
MonitorDot:
|
|
3663
|
-
MonitorSmartphone:
|
|
3664
|
-
Moon:
|
|
3665
|
-
Mouse:
|
|
3666
|
-
MoveDown:
|
|
3667
|
-
MoveTop:
|
|
3668
|
-
MoveUp:
|
|
3669
|
-
Multitask:
|
|
3657
|
+
MinimizeHorizontal: Wo,
|
|
3658
|
+
Minus: qo,
|
|
3659
|
+
Mobile: n0,
|
|
3660
|
+
Money: lr,
|
|
3661
|
+
MoneyBag: a0,
|
|
3662
|
+
MonitorDot: l0,
|
|
3663
|
+
MonitorSmartphone: d0,
|
|
3664
|
+
Moon: f0,
|
|
3665
|
+
Mouse: C0,
|
|
3666
|
+
MoveDown: Xo,
|
|
3667
|
+
MoveTop: m0,
|
|
3668
|
+
MoveUp: Yo,
|
|
3669
|
+
Multitask: v0,
|
|
3670
3670
|
New: w1,
|
|
3671
|
-
Numbers:
|
|
3672
|
-
Office:
|
|
3673
|
-
OlList:
|
|
3674
|
-
Organization:
|
|
3675
|
-
PalmTree:
|
|
3676
|
-
PanelLeft:
|
|
3677
|
-
PanelRight:
|
|
3671
|
+
Numbers: b0,
|
|
3672
|
+
Office: Ko,
|
|
3673
|
+
OlList: Qo,
|
|
3674
|
+
Organization: Jo,
|
|
3675
|
+
PalmTree: k0,
|
|
3676
|
+
PanelLeft: es,
|
|
3677
|
+
PanelRight: ts,
|
|
3678
3678
|
Paperclip: h1,
|
|
3679
|
-
PartiallyCompleted:
|
|
3680
|
-
Password:
|
|
3681
|
-
PauseCircle:
|
|
3682
|
-
Pencil:
|
|
3683
|
-
People:
|
|
3684
|
-
Person:
|
|
3685
|
-
PersonMinus:
|
|
3686
|
-
PersonNegative:
|
|
3687
|
-
PersonPlus:
|
|
3688
|
-
Phone:
|
|
3689
|
-
Pig:
|
|
3690
|
-
Pin:
|
|
3691
|
-
PinOff:
|
|
3692
|
-
PixBrazil:
|
|
3693
|
-
Placeholder:
|
|
3694
|
-
Plane:
|
|
3695
|
-
Plus:
|
|
3696
|
-
Present:
|
|
3697
|
-
Printer:
|
|
3698
|
-
Proyector:
|
|
3679
|
+
PartiallyCompleted: M0,
|
|
3680
|
+
Password: F0,
|
|
3681
|
+
PauseCircle: S0,
|
|
3682
|
+
Pencil: rs,
|
|
3683
|
+
People: ns,
|
|
3684
|
+
Person: os,
|
|
3685
|
+
PersonMinus: V0,
|
|
3686
|
+
PersonNegative: ss,
|
|
3687
|
+
PersonPlus: E0,
|
|
3688
|
+
Phone: as,
|
|
3689
|
+
Pig: $0,
|
|
3690
|
+
Pin: is,
|
|
3691
|
+
PinOff: B0,
|
|
3692
|
+
PixBrazil: D0,
|
|
3693
|
+
Placeholder: ls,
|
|
3694
|
+
Plane: O0,
|
|
3695
|
+
Plus: cs,
|
|
3696
|
+
Present: Z0,
|
|
3697
|
+
Printer: La,
|
|
3698
|
+
Proyector: z0,
|
|
3699
3699
|
PushPin: Dt,
|
|
3700
3700
|
PushPinSolid: _t,
|
|
3701
|
-
Question:
|
|
3702
|
-
QuestionCircle:
|
|
3701
|
+
Question: ds,
|
|
3702
|
+
QuestionCircle: W0,
|
|
3703
3703
|
Quote: Ot,
|
|
3704
|
-
Reaction:
|
|
3705
|
-
Receipt:
|
|
3706
|
-
Record:
|
|
3707
|
-
RemoveFavorite:
|
|
3708
|
-
Replace:
|
|
3704
|
+
Reaction: us,
|
|
3705
|
+
Receipt: X0,
|
|
3706
|
+
Record: K0,
|
|
3707
|
+
RemoveFavorite: J0,
|
|
3708
|
+
Replace: tl,
|
|
3709
3709
|
Reply: C1,
|
|
3710
|
-
Reset:
|
|
3711
|
-
Rocket:
|
|
3712
|
-
Salad:
|
|
3713
|
-
Save:
|
|
3714
|
-
Schedule:
|
|
3710
|
+
Reset: fs,
|
|
3711
|
+
Rocket: nl,
|
|
3712
|
+
Salad: sl,
|
|
3713
|
+
Save: il,
|
|
3714
|
+
Schedule: cl,
|
|
3715
3715
|
Search: p1,
|
|
3716
|
-
SearchPerson:
|
|
3717
|
-
Settings:
|
|
3718
|
-
Share:
|
|
3719
|
-
Shield:
|
|
3720
|
-
ShoppingCart:
|
|
3721
|
-
SignPost:
|
|
3722
|
-
Sleep:
|
|
3716
|
+
SearchPerson: hs,
|
|
3717
|
+
Settings: Cs,
|
|
3718
|
+
Share: ps,
|
|
3719
|
+
Shield: ul,
|
|
3720
|
+
ShoppingCart: cr,
|
|
3721
|
+
SignPost: Cl,
|
|
3722
|
+
Sleep: ml,
|
|
3723
3723
|
Sliders: m1,
|
|
3724
|
-
SolidPause:
|
|
3725
|
-
SolidPlay:
|
|
3724
|
+
SolidPause: ms,
|
|
3725
|
+
SolidPlay: gs,
|
|
3726
3726
|
SolidStop: jt,
|
|
3727
|
-
Sort:
|
|
3728
|
-
Sparkles:
|
|
3729
|
-
Spinner:
|
|
3730
|
-
Split:
|
|
3731
|
-
Star:
|
|
3732
|
-
StarFilled:
|
|
3733
|
-
Strikethrough:
|
|
3734
|
-
Suitcase:
|
|
3735
|
-
Swap:
|
|
3736
|
-
Table:
|
|
3737
|
-
Tablet:
|
|
3738
|
-
Tag:
|
|
3739
|
-
Target:
|
|
3740
|
-
TextSize:
|
|
3741
|
-
ThumbsDown:
|
|
3742
|
-
ThumbsDownFilled:
|
|
3743
|
-
ThumbsUp:
|
|
3744
|
-
ThumbsUpFilled:
|
|
3745
|
-
Timer:
|
|
3746
|
-
Underline:
|
|
3747
|
-
Upload:
|
|
3727
|
+
Sort: vl,
|
|
3728
|
+
Sparkles: xl,
|
|
3729
|
+
Spinner: vs,
|
|
3730
|
+
Split: Ll,
|
|
3731
|
+
Star: ws,
|
|
3732
|
+
StarFilled: xs,
|
|
3733
|
+
Strikethrough: bs,
|
|
3734
|
+
Suitcase: Ls,
|
|
3735
|
+
Swap: yl,
|
|
3736
|
+
Table: ks,
|
|
3737
|
+
Tablet: Rl,
|
|
3738
|
+
Tag: Nl,
|
|
3739
|
+
Target: ys,
|
|
3740
|
+
TextSize: Ms,
|
|
3741
|
+
ThumbsDown: dr,
|
|
3742
|
+
ThumbsDownFilled: ur,
|
|
3743
|
+
ThumbsUp: fr,
|
|
3744
|
+
ThumbsUpFilled: hr,
|
|
3745
|
+
Timer: Hl,
|
|
3746
|
+
Underline: Rs,
|
|
3747
|
+
Upload: Fs,
|
|
3748
3748
|
Upsell: Zt,
|
|
3749
|
-
UserProtected:
|
|
3750
|
-
Video:
|
|
3751
|
-
VideoRecorder:
|
|
3752
|
-
VideoRecorderNegative:
|
|
3753
|
-
VolumeHigh:
|
|
3754
|
-
VolumeMid:
|
|
3755
|
-
VolumeMuted:
|
|
3756
|
-
Wallet:
|
|
3757
|
-
Warning:
|
|
3758
|
-
Watch:
|
|
3759
|
-
WhatsappChat:
|
|
3760
|
-
Wifi:
|
|
3761
|
-
Windows:
|
|
3762
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3749
|
+
UserProtected: Il,
|
|
3750
|
+
Video: Ns,
|
|
3751
|
+
VideoRecorder: Ss,
|
|
3752
|
+
VideoRecorderNegative: Ts,
|
|
3753
|
+
VolumeHigh: ka,
|
|
3754
|
+
VolumeMid: ya,
|
|
3755
|
+
VolumeMuted: Ma,
|
|
3756
|
+
Wallet: Pl,
|
|
3757
|
+
Warning: Vs,
|
|
3758
|
+
Watch: _l,
|
|
3759
|
+
WhatsappChat: jl,
|
|
3760
|
+
Wifi: Ul,
|
|
3761
|
+
Windows: As
|
|
3762
|
+
}, Symbol.toStringTag, { value: "Module" })), E9 = [
|
|
3763
3763
|
"inProgress",
|
|
3764
3764
|
"executing",
|
|
3765
3765
|
"writing",
|
|
3766
3766
|
"completed"
|
|
3767
|
-
],
|
|
3767
|
+
], H9 = ["xs", "sm", "md", "lg"], o1 = 14, s1 = 2.31, Gl = ({ percentage: e, tone: t }) => {
|
|
3768
3768
|
const n = o1 / 2, o = n - s1 / 2, s = 2 * Math.PI * o, i = (100 - (t === "unlimited" ? 100 : e)) / 100 * s;
|
|
3769
3769
|
return /* @__PURE__ */ c(
|
|
3770
3770
|
"svg",
|
|
@@ -3849,13 +3849,13 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3849
3849
|
),
|
|
3850
3850
|
t ? /* @__PURE__ */ r("span", { className: "truncate text-sm text-f1-foreground-secondary", children: t }) : null
|
|
3851
3851
|
] });
|
|
3852
|
-
}, z1 = (e) => Math.min(100, Math.max(0, Math.round(e))),
|
|
3852
|
+
}, z1 = (e) => Math.min(100, Math.max(0, Math.round(e))), Wl = () => /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", "aria-busy": "true", "aria-live": "polite", children: [
|
|
3853
3853
|
/* @__PURE__ */ c("div", { className: "flex justify-between", children: [
|
|
3854
3854
|
/* @__PURE__ */ r("div", { className: "h-5 w-28 animate-pulse rounded bg-f1-background-secondary" }),
|
|
3855
3855
|
/* @__PURE__ */ r("div", { className: "h-5 w-16 animate-pulse rounded bg-f1-background-secondary" })
|
|
3856
3856
|
] }),
|
|
3857
3857
|
/* @__PURE__ */ r("div", { className: "h-2 w-full animate-pulse rounded-full bg-f1-background-secondary" })
|
|
3858
|
-
] }),
|
|
3858
|
+
] }), ql = ({
|
|
3859
3859
|
usage: e,
|
|
3860
3860
|
error: t = !1,
|
|
3861
3861
|
onOpenChange: n,
|
|
@@ -3882,7 +3882,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3882
3882
|
le()
|
|
3883
3883
|
),
|
|
3884
3884
|
children: [
|
|
3885
|
-
/* @__PURE__ */ r(
|
|
3885
|
+
/* @__PURE__ */ r(Gl, { percentage: u, tone: v }),
|
|
3886
3886
|
/* @__PURE__ */ r("span", { className: "sr-only", children: L })
|
|
3887
3887
|
]
|
|
3888
3888
|
}
|
|
@@ -3909,7 +3909,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3909
3909
|
percentage: u,
|
|
3910
3910
|
unlimited: C
|
|
3911
3911
|
}
|
|
3912
|
-
) : /* @__PURE__ */ r(
|
|
3912
|
+
) : /* @__PURE__ */ r(Wl, {}) }),
|
|
3913
3913
|
e && p ? /* @__PURE__ */ c("div", { className: "flex flex-col border-0 border-t border-solid border-f1-border-secondary p-2", children: [
|
|
3914
3914
|
e.onSeeCompany ? /* @__PURE__ */ c(
|
|
3915
3915
|
"button",
|
|
@@ -3941,7 +3941,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3941
3941
|
}
|
|
3942
3942
|
)
|
|
3943
3943
|
] });
|
|
3944
|
-
},
|
|
3944
|
+
}, $9 = ["top", "bottom"], Cr = (e) => e.map((t) => {
|
|
3945
3945
|
if (t.type === "separator")
|
|
3946
3946
|
return { type: "separator" };
|
|
3947
3947
|
if (t.type === "submenu") {
|
|
@@ -3949,7 +3949,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3949
3949
|
return {
|
|
3950
3950
|
...l,
|
|
3951
3951
|
type: "submenu",
|
|
3952
|
-
items:
|
|
3952
|
+
items: Cr(d)
|
|
3953
3953
|
};
|
|
3954
3954
|
}
|
|
3955
3955
|
if (t.type === "toggle") {
|
|
@@ -3958,7 +3958,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3958
3958
|
}
|
|
3959
3959
|
const { id: n, type: o, ...s } = t;
|
|
3960
3960
|
return s;
|
|
3961
|
-
}),
|
|
3961
|
+
}), Xl = ({
|
|
3962
3962
|
actions: e,
|
|
3963
3963
|
showAttachEntry: t,
|
|
3964
3964
|
onAttachClick: n,
|
|
@@ -3980,7 +3980,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
3980
3980
|
// A rule between what the composer owns and what the host brought —
|
|
3981
3981
|
// only when there is something on the other side of it.
|
|
3982
3982
|
...e.length > 0 ? [{ type: "separator" }] : []
|
|
3983
|
-
] : [], ...
|
|
3983
|
+
] : [], ...Cr(e)];
|
|
3984
3984
|
return (
|
|
3985
3985
|
// Clicks are STOPPED here rather than bubbling to the form, whose onClick
|
|
3986
3986
|
// focuses the textarea — the same guard `toolbarStart` and the suggestion
|
|
@@ -4013,7 +4013,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4013
4013
|
}
|
|
4014
4014
|
) })
|
|
4015
4015
|
);
|
|
4016
|
-
},
|
|
4016
|
+
}, Yl = ({
|
|
4017
4017
|
onUploadFiles: e,
|
|
4018
4018
|
composerActions: t,
|
|
4019
4019
|
isAtMaxFiles: n,
|
|
@@ -4032,7 +4032,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4032
4032
|
// the trigger — it disables that one entry, leaving the host's actions,
|
|
4033
4033
|
// which have nothing to do with the file count, still reachable.
|
|
4034
4034
|
/* @__PURE__ */ r(
|
|
4035
|
-
|
|
4035
|
+
Xl,
|
|
4036
4036
|
{
|
|
4037
4037
|
actions: v,
|
|
4038
4038
|
showAttachEntry: !!e,
|
|
@@ -4074,7 +4074,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4074
4074
|
}
|
|
4075
4075
|
) : null
|
|
4076
4076
|
] });
|
|
4077
|
-
},
|
|
4077
|
+
}, pr = ({
|
|
4078
4078
|
inProgress: e,
|
|
4079
4079
|
recordingStatus: t = "idle",
|
|
4080
4080
|
onStartRecording: n,
|
|
@@ -4095,7 +4095,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4095
4095
|
loading: t === "transcribing"
|
|
4096
4096
|
}
|
|
4097
4097
|
);
|
|
4098
|
-
},
|
|
4098
|
+
}, mr = ({
|
|
4099
4099
|
inProgress: e,
|
|
4100
4100
|
hasDataToSend: t,
|
|
4101
4101
|
isPreSending: n,
|
|
@@ -4125,7 +4125,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4125
4125
|
hideLabel: !0
|
|
4126
4126
|
}
|
|
4127
4127
|
);
|
|
4128
|
-
},
|
|
4128
|
+
}, Kl = ({
|
|
4129
4129
|
onUploadFiles: e,
|
|
4130
4130
|
toolbarStart: t,
|
|
4131
4131
|
composerActions: n,
|
|
@@ -4149,7 +4149,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4149
4149
|
const A = j();
|
|
4150
4150
|
return p === "recording" ? /* @__PURE__ */ c("div", { className: "flex shrink-0 items-center gap-3 p-3", children: [
|
|
4151
4151
|
/* @__PURE__ */ r(
|
|
4152
|
-
|
|
4152
|
+
Es,
|
|
4153
4153
|
{
|
|
4154
4154
|
stream: w ?? null,
|
|
4155
4155
|
className: "min-w-0 flex-1"
|
|
@@ -4199,7 +4199,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4199
4199
|
),
|
|
4200
4200
|
children: [
|
|
4201
4201
|
/* @__PURE__ */ r(
|
|
4202
|
-
|
|
4202
|
+
Yl,
|
|
4203
4203
|
{
|
|
4204
4204
|
onUploadFiles: e,
|
|
4205
4205
|
composerActions: n,
|
|
@@ -4230,7 +4230,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4230
4230
|
s ? /* @__PURE__ */ r("div", { className: "min-w-0 flex-1", children: s }) : null,
|
|
4231
4231
|
/* @__PURE__ */ c("div", { className: "ml-auto flex shrink-0 items-center gap-2", children: [
|
|
4232
4232
|
h ? /* @__PURE__ */ r(
|
|
4233
|
-
|
|
4233
|
+
pr,
|
|
4234
4234
|
{
|
|
4235
4235
|
inProgress: u,
|
|
4236
4236
|
recordingStatus: p,
|
|
@@ -4238,7 +4238,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4238
4238
|
}
|
|
4239
4239
|
) : null,
|
|
4240
4240
|
/* @__PURE__ */ r(
|
|
4241
|
-
|
|
4241
|
+
mr,
|
|
4242
4242
|
{
|
|
4243
4243
|
inProgress: u,
|
|
4244
4244
|
hasDataToSend: C,
|
|
@@ -4249,7 +4249,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4249
4249
|
] })
|
|
4250
4250
|
] })
|
|
4251
4251
|
);
|
|
4252
|
-
},
|
|
4252
|
+
}, Ql = ({
|
|
4253
4253
|
attachedFiles: e,
|
|
4254
4254
|
isUploading: t,
|
|
4255
4255
|
onRemove: n,
|
|
@@ -4262,7 +4262,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4262
4262
|
className: "flex flex-wrap gap-1 px-1 pt-1",
|
|
4263
4263
|
children: e.map(
|
|
4264
4264
|
(s) => s.status === "uploading" ? /* @__PURE__ */ r(fe, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ r(
|
|
4265
|
-
|
|
4265
|
+
Jl,
|
|
4266
4266
|
{
|
|
4267
4267
|
att: s,
|
|
4268
4268
|
onRemove: n,
|
|
@@ -4287,7 +4287,7 @@ const cl = (e, t) => /* @__PURE__ */ c(
|
|
|
4287
4287
|
)
|
|
4288
4288
|
}
|
|
4289
4289
|
);
|
|
4290
|
-
function
|
|
4290
|
+
function Jl({
|
|
4291
4291
|
att: e,
|
|
4292
4292
|
onRemove: t,
|
|
4293
4293
|
removeLabel: n
|
|
@@ -4308,16 +4308,16 @@ function Xl({
|
|
|
4308
4308
|
}
|
|
4309
4309
|
)
|
|
4310
4310
|
] });
|
|
4311
|
-
return e.errorMessage ? /* @__PURE__ */ r(
|
|
4311
|
+
return e.errorMessage ? /* @__PURE__ */ r(Hs, { label: e.errorMessage, children: o }) : o;
|
|
4312
4312
|
}
|
|
4313
|
-
const
|
|
4313
|
+
const e2 = {
|
|
4314
4314
|
soft: {
|
|
4315
4315
|
text: "",
|
|
4316
4316
|
bg: "bg-f1-background-secondary",
|
|
4317
4317
|
fontColor: "text-f1-foreground-secondary",
|
|
4318
4318
|
formBorder: "[&_form]:border-f1-border"
|
|
4319
4319
|
}
|
|
4320
|
-
},
|
|
4320
|
+
}, t2 = ({
|
|
4321
4321
|
creditWarning: e,
|
|
4322
4322
|
children: t
|
|
4323
4323
|
}) => {
|
|
@@ -4325,7 +4325,7 @@ const Yl = {
|
|
|
4325
4325
|
if (!e)
|
|
4326
4326
|
return t;
|
|
4327
4327
|
const o = {
|
|
4328
|
-
...
|
|
4328
|
+
...e2[e.level],
|
|
4329
4329
|
text: e.text ?? n.ai.creditWarning.soft
|
|
4330
4330
|
}, s = e.actionLabel ?? n.ai.creditWarning.getCredits ?? "";
|
|
4331
4331
|
return /* @__PURE__ */ c(
|
|
@@ -4370,7 +4370,7 @@ const Yl = {
|
|
|
4370
4370
|
]
|
|
4371
4371
|
}
|
|
4372
4372
|
);
|
|
4373
|
-
},
|
|
4373
|
+
}, r2 = (e) => e.type === "icon" || e.type === "emoji" ? "sm" : "xs", gr = g(
|
|
4374
4374
|
({ item: e, isSelected: t, onSelect: n }, o) => /* @__PURE__ */ c(
|
|
4375
4375
|
"div",
|
|
4376
4376
|
{
|
|
@@ -4386,7 +4386,7 @@ const Yl = {
|
|
|
4386
4386
|
s.preventDefault(), n(e);
|
|
4387
4387
|
},
|
|
4388
4388
|
children: [
|
|
4389
|
-
e.avatar ? /* @__PURE__ */ r(
|
|
4389
|
+
e.avatar ? /* @__PURE__ */ r($s, { avatar: e.avatar, size: r2(e.avatar) }) : null,
|
|
4390
4390
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4391
4391
|
/* @__PURE__ */ r(ne, { className: "text-base font-medium text-f1-foreground", children: e.label }),
|
|
4392
4392
|
e.description ? /* @__PURE__ */ r(ne, { className: "text-sm text-f1-foreground-secondary", children: e.description }) : null
|
|
@@ -4395,8 +4395,8 @@ const Yl = {
|
|
|
4395
4395
|
}
|
|
4396
4396
|
)
|
|
4397
4397
|
);
|
|
4398
|
-
|
|
4399
|
-
function
|
|
4398
|
+
gr.displayName = "MentionRow";
|
|
4399
|
+
function n2({
|
|
4400
4400
|
isOpen: e,
|
|
4401
4401
|
groups: t,
|
|
4402
4402
|
showGroupLabels: n,
|
|
@@ -4471,7 +4471,7 @@ function Jl({
|
|
|
4471
4471
|
h++;
|
|
4472
4472
|
const m = h === s;
|
|
4473
4473
|
return /* @__PURE__ */ r(
|
|
4474
|
-
|
|
4474
|
+
gr,
|
|
4475
4475
|
{
|
|
4476
4476
|
ref: m ? f : void 0,
|
|
4477
4477
|
item: w,
|
|
@@ -4488,7 +4488,7 @@ function Jl({
|
|
|
4488
4488
|
}
|
|
4489
4489
|
);
|
|
4490
4490
|
}
|
|
4491
|
-
const
|
|
4491
|
+
const o2 = ({
|
|
4492
4492
|
quote: e,
|
|
4493
4493
|
onRemove: t
|
|
4494
4494
|
}) => {
|
|
@@ -4524,7 +4524,7 @@ const e2 = ({
|
|
|
4524
4524
|
]
|
|
4525
4525
|
}
|
|
4526
4526
|
) });
|
|
4527
|
-
},
|
|
4527
|
+
}, s2 = ({
|
|
4528
4528
|
placeholders: e,
|
|
4529
4529
|
defaultPlaceholder: t,
|
|
4530
4530
|
inputValue: n,
|
|
@@ -4600,7 +4600,7 @@ const e2 = ({
|
|
|
4600
4600
|
)
|
|
4601
4601
|
}
|
|
4602
4602
|
) });
|
|
4603
|
-
},
|
|
4603
|
+
}, a2 = ({
|
|
4604
4604
|
textareaRef: e,
|
|
4605
4605
|
highlightRef: t,
|
|
4606
4606
|
inputValue: n,
|
|
@@ -4716,7 +4716,7 @@ const e2 = ({
|
|
|
4716
4716
|
}
|
|
4717
4717
|
),
|
|
4718
4718
|
f ? /* @__PURE__ */ r(
|
|
4719
|
-
|
|
4719
|
+
s2,
|
|
4720
4720
|
{
|
|
4721
4721
|
placeholders: u,
|
|
4722
4722
|
defaultPlaceholder: C,
|
|
@@ -4726,9 +4726,9 @@ const e2 = ({
|
|
|
4726
4726
|
) : null
|
|
4727
4727
|
]
|
|
4728
4728
|
}
|
|
4729
|
-
),
|
|
4729
|
+
), i2 = 4, l2 = ({
|
|
4730
4730
|
cards: e
|
|
4731
|
-
}) => e.length === 0 ? null : /* @__PURE__ */ r("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0,
|
|
4731
|
+
}) => e.length === 0 ? null : /* @__PURE__ */ r("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, i2).map((t) => /* @__PURE__ */ r(
|
|
4732
4732
|
zt,
|
|
4733
4733
|
{
|
|
4734
4734
|
avatar: { type: "icon", icon: t.icon },
|
|
@@ -4737,8 +4737,8 @@ const e2 = ({
|
|
|
4737
4737
|
onClick: t.onClick
|
|
4738
4738
|
},
|
|
4739
4739
|
t.id
|
|
4740
|
-
)) }),
|
|
4741
|
-
function
|
|
4740
|
+
)) }), c2 = 24;
|
|
4741
|
+
function d2(e = c2) {
|
|
4742
4742
|
const [t, n] = B(null), [o, s] = B({ start: !1, end: !1 });
|
|
4743
4743
|
z(() => {
|
|
4744
4744
|
if (!t)
|
|
@@ -4767,11 +4767,11 @@ function a2(e = s2) {
|
|
|
4767
4767
|
}, [o, e]);
|
|
4768
4768
|
return { ref: n, style: a };
|
|
4769
4769
|
}
|
|
4770
|
-
const
|
|
4771
|
-
function
|
|
4770
|
+
const u2 = 5, f2 = 46, h2 = 400, C2 = 16, p2 = 16;
|
|
4771
|
+
function m2(e, t = u2) {
|
|
4772
4772
|
return e.length <= t ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, t);
|
|
4773
4773
|
}
|
|
4774
|
-
const
|
|
4774
|
+
const g2 = ({
|
|
4775
4775
|
suggestions: e,
|
|
4776
4776
|
onItemClick: t,
|
|
4777
4777
|
onItemHover: n,
|
|
@@ -4779,7 +4779,7 @@ const h2 = ({
|
|
|
4779
4779
|
reserveTwoRows: s = !0,
|
|
4780
4780
|
overflow: a = "wrap"
|
|
4781
4781
|
}) => {
|
|
4782
|
-
const [i, d] = B(null), l = I(null), f = a === "scroll", u =
|
|
4782
|
+
const [i, d] = B(null), l = I(null), f = a === "scroll", u = d2(), C = I(null), v = I(!1), h = ze(), p = ze(), w = i !== null ? e[i] : null;
|
|
4783
4783
|
return e.length === 0 ? null : /* @__PURE__ */ c(
|
|
4784
4784
|
Ye,
|
|
4785
4785
|
{
|
|
@@ -4795,7 +4795,7 @@ const h2 = ({
|
|
|
4795
4795
|
"flex w-full items-end",
|
|
4796
4796
|
s && "min-h-[72px]"
|
|
4797
4797
|
),
|
|
4798
|
-
children: /* @__PURE__ */ r(
|
|
4798
|
+
children: /* @__PURE__ */ r(Is, { asChild: !0, children: /* @__PURE__ */ r(
|
|
4799
4799
|
"div",
|
|
4800
4800
|
{
|
|
4801
4801
|
ref: (m) => {
|
|
@@ -4873,8 +4873,8 @@ const h2 = ({
|
|
|
4873
4873
|
]
|
|
4874
4874
|
}
|
|
4875
4875
|
),
|
|
4876
|
-
/* @__PURE__ */ r("div", { className: "flex flex-col", children:
|
|
4877
|
-
|
|
4876
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col", children: m2(w.items).map((m, L) => /* @__PURE__ */ r(
|
|
4877
|
+
v2,
|
|
4878
4878
|
{
|
|
4879
4879
|
item: m,
|
|
4880
4880
|
onHover: n,
|
|
@@ -4891,7 +4891,7 @@ const h2 = ({
|
|
|
4891
4891
|
}
|
|
4892
4892
|
);
|
|
4893
4893
|
};
|
|
4894
|
-
function
|
|
4894
|
+
function v2({ item: e, onSelect: t, onHover: n }) {
|
|
4895
4895
|
const o = I(null), s = I(null), a = I(null), i = he(), d = P(() => {
|
|
4896
4896
|
a.current != null && (clearTimeout(a.current), a.current = null);
|
|
4897
4897
|
const C = s.current, v = o.current;
|
|
@@ -4904,11 +4904,11 @@ function C2({ item: e, onSelect: t, onHover: n }) {
|
|
|
4904
4904
|
const h = C.scrollWidth - C.clientWidth;
|
|
4905
4905
|
if (h <= 0)
|
|
4906
4906
|
return;
|
|
4907
|
-
const p = h +
|
|
4907
|
+
const p = h + C2, w = p / f2 * 1e3;
|
|
4908
4908
|
C.style.overflow = "visible";
|
|
4909
|
-
const m = `linear-gradient(90deg, transparent 0, #000 ${
|
|
4909
|
+
const m = `linear-gradient(90deg, transparent 0, #000 ${p2}px)`;
|
|
4910
4910
|
v.style.setProperty("mask-image", m), v.style.setProperty("-webkit-mask-image", m), C.style.transition = `transform ${w}ms linear`, C.style.transform = `translateX(-${p}px)`;
|
|
4911
|
-
},
|
|
4911
|
+
}, h2));
|
|
4912
4912
|
}, [i]), f = P(() => {
|
|
4913
4913
|
n?.(e), l();
|
|
4914
4914
|
}, [e, n, l]), u = P(() => {
|
|
@@ -4946,11 +4946,11 @@ function C2({ item: e, onSelect: t, onHover: n }) {
|
|
|
4946
4946
|
}
|
|
4947
4947
|
);
|
|
4948
4948
|
}
|
|
4949
|
-
const
|
|
4950
|
-
` || e === " ", Se = (e) => e.start + 1 + e.label.length, Ge = (e, t) => e.startsWith(`@${t.label}`, t.start) &&
|
|
4951
|
-
function
|
|
4949
|
+
const vr = (e) => e === " " || e === `
|
|
4950
|
+
` || e === " ", Se = (e) => e.start + 1 + e.label.length, Ge = (e, t) => e.startsWith(`@${t.label}`, t.start) && vr(e[Se(t)]);
|
|
4951
|
+
function w2(e, t, n) {
|
|
4952
4952
|
const o = e.slice(0, t).lastIndexOf("@");
|
|
4953
|
-
if (o === -1 || o > 0 && !
|
|
4953
|
+
if (o === -1 || o > 0 && !vr(e[o - 1]))
|
|
4954
4954
|
return null;
|
|
4955
4955
|
const s = e.slice(o + 1, t);
|
|
4956
4956
|
return s.includes(`
|
|
@@ -4963,19 +4963,19 @@ function G1(e, t, n) {
|
|
|
4963
4963
|
return n;
|
|
4964
4964
|
if (e === t)
|
|
4965
4965
|
return n.filter((s) => Ge(t, s));
|
|
4966
|
-
const o =
|
|
4966
|
+
const o = wr(e, t);
|
|
4967
4967
|
return n.flatMap((s) => {
|
|
4968
|
-
const a =
|
|
4968
|
+
const a = xr(o, s.start, Se(s)), i = a === s.start ? s : { ...s, start: a };
|
|
4969
4969
|
return a !== -1 && Ge(t, i) ? [i] : [];
|
|
4970
4970
|
});
|
|
4971
4971
|
}
|
|
4972
|
-
function
|
|
4972
|
+
function x2(e, t, n) {
|
|
4973
4973
|
if (n === -1 || e === t)
|
|
4974
4974
|
return n;
|
|
4975
|
-
const o =
|
|
4975
|
+
const o = xr(wr(e, t), n, n + 1);
|
|
4976
4976
|
return t[o] === "@" ? o : -1;
|
|
4977
4977
|
}
|
|
4978
|
-
function
|
|
4978
|
+
function wr(e, t) {
|
|
4979
4979
|
const n = Math.min(e.length, t.length);
|
|
4980
4980
|
let o = 0;
|
|
4981
4981
|
for (; o < n && e[o] === t[o]; )
|
|
@@ -4989,11 +4989,11 @@ function pr(e, t) {
|
|
|
4989
4989
|
delta: t.length - e.length
|
|
4990
4990
|
};
|
|
4991
4991
|
}
|
|
4992
|
-
function
|
|
4992
|
+
function xr(e, t, n) {
|
|
4993
4993
|
return n <= e.prefix ? t : t >= e.editEnd ? t + e.delta : -1;
|
|
4994
4994
|
}
|
|
4995
|
-
const
|
|
4996
|
-
function
|
|
4995
|
+
const b2 = (e, t) => e.filter((n) => Se(n) <= t).sort((n, o) => n.start - o.start);
|
|
4996
|
+
function L2(e, t, n, o) {
|
|
4997
4997
|
const s = `@${o.label} `;
|
|
4998
4998
|
return {
|
|
4999
4999
|
text: e.slice(0, t) + s + e.slice(n),
|
|
@@ -5006,17 +5006,17 @@ function v2(e, t, n, o) {
|
|
|
5006
5006
|
}
|
|
5007
5007
|
};
|
|
5008
5008
|
}
|
|
5009
|
-
const a1 = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """),
|
|
5010
|
-
function
|
|
5009
|
+
const a1 = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """), k2 = /[\\`*_{}[\]()#+\-.!|~>]/g, W1 = (e) => e.replace(/&/g, "&").replace(/</g, "<").replace(k2, "\\$&"), y2 = (e) => `<entity-ref type="${a1(e.type)}" id="${a1(e.id)}">${a1(e.label)}</entity-ref>`;
|
|
5010
|
+
function M2(e, t) {
|
|
5011
5011
|
const n = e.length - e.trimStart().length, o = e.trimEnd().length, s = t.filter(
|
|
5012
5012
|
(d) => d.start >= n && Ge(e, d)
|
|
5013
5013
|
).sort((d, l) => d.start - l.start);
|
|
5014
5014
|
let a = "", i = n;
|
|
5015
5015
|
for (const d of s)
|
|
5016
|
-
d.start < i || Se(d) > o || (a += W1(e.slice(i, d.start)) +
|
|
5016
|
+
d.start < i || Se(d) > o || (a += W1(e.slice(i, d.start)) + y2(d), i = Se(d));
|
|
5017
5017
|
return a + W1(e.slice(i, o));
|
|
5018
5018
|
}
|
|
5019
|
-
function
|
|
5019
|
+
function R2(e, t, n) {
|
|
5020
5020
|
const o = n?.cursorPosition ?? e.length, s = n?.inlineCompletion ?? null, a = t.filter((u) => Ge(e, u)).map((u) => ({ start: u.start, end: Se(u) })).sort((u, C) => u.start - C.start).filter((u, C, v) => {
|
|
5021
5021
|
const h = v[C - 1];
|
|
5022
5022
|
return !h || u.start >= h.end;
|
|
@@ -5033,7 +5033,7 @@ function L2(e, t, n) {
|
|
|
5033
5033
|
f(u.start), i.push({ type: "mention", text: e.slice(u.start, u.end) }), d = u.end;
|
|
5034
5034
|
return f(e.length), !l && s && o >= d && i.push({ type: "ghost", text: s }), i.length === 0 ? [{ type: "text", text: e }] : i;
|
|
5035
5035
|
}
|
|
5036
|
-
function
|
|
5036
|
+
function F2(e, t) {
|
|
5037
5037
|
return {
|
|
5038
5038
|
type: "person",
|
|
5039
5039
|
label: t.label,
|
|
@@ -5051,7 +5051,7 @@ function k2(e, t) {
|
|
|
5051
5051
|
}))
|
|
5052
5052
|
};
|
|
5053
5053
|
}
|
|
5054
|
-
function
|
|
5054
|
+
function N2({
|
|
5055
5055
|
searchPersons: e,
|
|
5056
5056
|
mentionSources: t
|
|
5057
5057
|
}) {
|
|
@@ -5059,13 +5059,13 @@ function y2({
|
|
|
5059
5059
|
return W(() => {
|
|
5060
5060
|
const s = t ?? [];
|
|
5061
5061
|
return !e || s.some((a) => a.type === "person") ? s : [
|
|
5062
|
-
|
|
5062
|
+
F2(e, { label: o }),
|
|
5063
5063
|
...s
|
|
5064
5064
|
];
|
|
5065
5065
|
}, [e, t, o]);
|
|
5066
5066
|
}
|
|
5067
|
-
const
|
|
5068
|
-
function
|
|
5067
|
+
const S2 = (e, t) => e.start - t.start;
|
|
5068
|
+
function T2() {
|
|
5069
5069
|
const [e, t] = B({
|
|
5070
5070
|
text: "",
|
|
5071
5071
|
mentions: [],
|
|
@@ -5076,7 +5076,7 @@ function R2() {
|
|
|
5076
5076
|
(d) => d.text === i ? d : {
|
|
5077
5077
|
text: i,
|
|
5078
5078
|
mentions: G1(d.text, i, d.mentions),
|
|
5079
|
-
dismissedAtIndex:
|
|
5079
|
+
dismissedAtIndex: x2(
|
|
5080
5080
|
d.text,
|
|
5081
5081
|
i,
|
|
5082
5082
|
d.dismissedAtIndex
|
|
@@ -5090,7 +5090,7 @@ function R2() {
|
|
|
5090
5090
|
mentions: [
|
|
5091
5091
|
...G1(l.text, i, l.mentions),
|
|
5092
5092
|
d
|
|
5093
|
-
].sort(
|
|
5093
|
+
].sort(S2),
|
|
5094
5094
|
dismissedAtIndex: -1,
|
|
5095
5095
|
popoverClosed: !1
|
|
5096
5096
|
}));
|
|
@@ -5103,7 +5103,7 @@ function R2() {
|
|
|
5103
5103
|
}, []);
|
|
5104
5104
|
return { ...e, setText: n, insertMention: o, dismissAtIndex: s, closePopover: a };
|
|
5105
5105
|
}
|
|
5106
|
-
function
|
|
5106
|
+
function V2(e, t) {
|
|
5107
5107
|
if (t === "*/*")
|
|
5108
5108
|
return !0;
|
|
5109
5109
|
if (t.endsWith("/*")) {
|
|
@@ -5112,16 +5112,16 @@ function F2(e, t) {
|
|
|
5112
5112
|
}
|
|
5113
5113
|
return e === t;
|
|
5114
5114
|
}
|
|
5115
|
-
function
|
|
5115
|
+
function A2(e, t) {
|
|
5116
5116
|
if (!t)
|
|
5117
5117
|
return e;
|
|
5118
5118
|
const n = Array.isArray(t) ? t : [t];
|
|
5119
5119
|
return n.length === 0 ? e : e.filter(
|
|
5120
|
-
(o) => n.some((s) =>
|
|
5120
|
+
(o) => n.some((s) => V2(o.type, s))
|
|
5121
5121
|
);
|
|
5122
5122
|
}
|
|
5123
|
-
const
|
|
5124
|
-
function
|
|
5123
|
+
const E2 = 4e3;
|
|
5124
|
+
function H2(e) {
|
|
5125
5125
|
const [t, n] = B([]), [o, s] = B(null), a = I(
|
|
5126
5126
|
null
|
|
5127
5127
|
), i = I(null), d = j(), l = e?.onUploadFiles, f = e?.allowedMimeTypes, u = e?.maxFiles, C = W(() => {
|
|
@@ -5134,7 +5134,7 @@ function T2(e) {
|
|
|
5134
5134
|
const p = P((A) => {
|
|
5135
5135
|
a.current && clearTimeout(a.current), s(A), a.current = setTimeout(() => {
|
|
5136
5136
|
s(null), a.current = null;
|
|
5137
|
-
},
|
|
5137
|
+
}, E2);
|
|
5138
5138
|
}, []);
|
|
5139
5139
|
z(
|
|
5140
5140
|
() => () => {
|
|
@@ -5146,7 +5146,7 @@ function T2(e) {
|
|
|
5146
5146
|
async (A) => {
|
|
5147
5147
|
if (A.length === 0 || !l)
|
|
5148
5148
|
return;
|
|
5149
|
-
const T =
|
|
5149
|
+
const T = A2(A, f);
|
|
5150
5150
|
if (T.length === 0)
|
|
5151
5151
|
return;
|
|
5152
5152
|
if (u !== void 0 && h.current + T.length > u) {
|
|
@@ -5227,7 +5227,7 @@ function T2(e) {
|
|
|
5227
5227
|
showTransientError: p
|
|
5228
5228
|
};
|
|
5229
5229
|
}
|
|
5230
|
-
const
|
|
5230
|
+
const $2 = [
|
|
5231
5231
|
"direction",
|
|
5232
5232
|
"boxSizing",
|
|
5233
5233
|
"width",
|
|
@@ -5263,10 +5263,10 @@ const V2 = [
|
|
|
5263
5263
|
"wordWrap",
|
|
5264
5264
|
"wordBreak"
|
|
5265
5265
|
];
|
|
5266
|
-
function
|
|
5266
|
+
function I2(e, t, n) {
|
|
5267
5267
|
const o = document.createElement("div"), s = o.style, a = window.getComputedStyle(e);
|
|
5268
5268
|
s.whiteSpace = "pre-wrap", s.wordWrap = "break-word", s.position = "absolute", s.visibility = "hidden", s.overflow = "hidden";
|
|
5269
|
-
for (const f of
|
|
5269
|
+
for (const f of $2)
|
|
5270
5270
|
s.setProperty(f, a.getPropertyValue(f));
|
|
5271
5271
|
o.textContent = t.substring(0, n);
|
|
5272
5272
|
const i = document.createElement("span");
|
|
@@ -5274,20 +5274,20 @@ function A2(e, t, n) {
|
|
|
5274
5274
|
const d = i.offsetLeft, l = i.offsetTop - e.scrollTop;
|
|
5275
5275
|
return document.body.removeChild(o), { left: d, top: l };
|
|
5276
5276
|
}
|
|
5277
|
-
const
|
|
5277
|
+
const B2 = 250, q1 = (e) => `${e.atIndex}:${e.query}`, X1 = (e, t) => typeof e.order == "function" ? e.order(t) : e.order ?? 0, P2 = (e, t, n) => Promise.all(
|
|
5278
5278
|
e.map(
|
|
5279
5279
|
(o) => o.search(t, n).then(
|
|
5280
5280
|
(s) => ({ source: o, items: s, failed: !1 }),
|
|
5281
5281
|
() => ({ source: o, items: [], failed: !0 })
|
|
5282
5282
|
)
|
|
5283
5283
|
)
|
|
5284
|
-
),
|
|
5284
|
+
), D2 = (e, t) => e.filter((n) => n.items.length > 0).map(({ source: n, items: o }) => ({ source: n, items: o })).sort(
|
|
5285
5285
|
(n, o) => X1(n.source, t) - X1(o.source, t)
|
|
5286
|
-
), Y1 = (e, t) => e ? t.length === 0 ? e.label : e.label.toLowerCase().startsWith(t.toLowerCase()) ? e.label.slice(t.length) : null : null,
|
|
5286
|
+
), Y1 = (e, t) => e ? t.length === 0 ? e.label : e.label.toLowerCase().startsWith(t.toLowerCase()) ? e.label.slice(t.length) : null : null, _2 = (e, t) => requestAnimationFrame(() => {
|
|
5287
5287
|
const n = e.current;
|
|
5288
5288
|
n && (n.focus(), n.setSelectionRange(t, t));
|
|
5289
5289
|
});
|
|
5290
|
-
function
|
|
5290
|
+
function O2({
|
|
5291
5291
|
input: e,
|
|
5292
5292
|
cursorPosition: t,
|
|
5293
5293
|
setCursorPosition: n,
|
|
@@ -5299,7 +5299,7 @@ function B2({
|
|
|
5299
5299
|
h.current = o;
|
|
5300
5300
|
});
|
|
5301
5301
|
const p = W(
|
|
5302
|
-
() => v ?
|
|
5302
|
+
() => v ? w2(a, t, i) : null,
|
|
5303
5303
|
[v, a, t, i]
|
|
5304
5304
|
), w = p ? q1(p) : null, m = p?.query ?? "", [L, E] = B(null), [A, T] = B({ key: "", index: 0 }), k = p !== null && p.atIndex !== d && !l, x = W(
|
|
5305
5305
|
() => k && L?.atIndex === p?.atIndex ? L.groups : [],
|
|
@@ -5311,15 +5311,15 @@ function B2({
|
|
|
5311
5311
|
const O = {
|
|
5312
5312
|
text: a,
|
|
5313
5313
|
cursor: t,
|
|
5314
|
-
mentionsBefore:
|
|
5314
|
+
mentionsBefore: b2(i, p.atIndex)
|
|
5315
5315
|
};
|
|
5316
5316
|
let D = !1;
|
|
5317
5317
|
const Y = setTimeout(() => {
|
|
5318
|
-
|
|
5318
|
+
P2(h.current, p.query, O).then(
|
|
5319
5319
|
(ie) => {
|
|
5320
5320
|
if (D)
|
|
5321
5321
|
return;
|
|
5322
|
-
const se =
|
|
5322
|
+
const se = D2(ie, O);
|
|
5323
5323
|
E({
|
|
5324
5324
|
key: q1(p),
|
|
5325
5325
|
atIndex: p.atIndex,
|
|
@@ -5329,7 +5329,7 @@ function B2({
|
|
|
5329
5329
|
se.length === 0 && p.query && ae && u(p.atIndex);
|
|
5330
5330
|
}
|
|
5331
5331
|
);
|
|
5332
|
-
},
|
|
5332
|
+
}, B2);
|
|
5333
5333
|
return () => {
|
|
5334
5334
|
D = !0, clearTimeout(Y);
|
|
5335
5335
|
};
|
|
@@ -5338,13 +5338,13 @@ function B2({
|
|
|
5338
5338
|
(O) => {
|
|
5339
5339
|
if (!p)
|
|
5340
5340
|
return;
|
|
5341
|
-
const D =
|
|
5341
|
+
const D = L2(
|
|
5342
5342
|
a,
|
|
5343
5343
|
p.atIndex,
|
|
5344
5344
|
t,
|
|
5345
5345
|
O
|
|
5346
5346
|
);
|
|
5347
|
-
f(D.text, D.mention), n(D.cursor),
|
|
5347
|
+
f(D.text, D.mention), n(D.cursor), _2(s, D.cursor);
|
|
5348
5348
|
},
|
|
5349
5349
|
[
|
|
5350
5350
|
p,
|
|
@@ -5394,13 +5394,13 @@ function B2({
|
|
|
5394
5394
|
C
|
|
5395
5395
|
]
|
|
5396
5396
|
), oe = P(
|
|
5397
|
-
(O) =>
|
|
5397
|
+
(O) => M2(O, i),
|
|
5398
5398
|
[i]
|
|
5399
5399
|
), J = p?.atIndex ?? -1, q = W(() => {
|
|
5400
5400
|
const O = s.current;
|
|
5401
5401
|
if (!k || J === -1 || !O)
|
|
5402
5402
|
return null;
|
|
5403
|
-
const D =
|
|
5403
|
+
const D = I2(O, a, J), Y = O.offsetLeft + D.left, se = (O.offsetParent instanceof HTMLElement ? O.offsetParent.offsetHeight : 0) - (O.offsetTop + D.top);
|
|
5404
5404
|
return { left: Y, bottom: se };
|
|
5405
5405
|
}, [k, J, a, s]), X = W(
|
|
5406
5406
|
() => k ? Y1(y[$], m) : null,
|
|
@@ -5421,7 +5421,7 @@ function B2({
|
|
|
5421
5421
|
close: C
|
|
5422
5422
|
};
|
|
5423
5423
|
}
|
|
5424
|
-
const
|
|
5424
|
+
const I9 = ({
|
|
5425
5425
|
onSubmit: e,
|
|
5426
5426
|
onStop: t,
|
|
5427
5427
|
inProgress: n,
|
|
@@ -5454,7 +5454,7 @@ const A9 = ({
|
|
|
5454
5454
|
padding: oe = "default",
|
|
5455
5455
|
ref: J
|
|
5456
5456
|
}) => {
|
|
5457
|
-
const q = j(), X = he(), O =
|
|
5457
|
+
const q = j(), X = he(), O = T2(), { text: D, setText: Y } = O, [ie, se] = B(0), [ae, we] = B(!1), xe = I(!1), [be, Z] = B(!1), [ce, Ce] = B(null), [F, N] = B(!1), R = I(null), V = I(null), S = I(null), _ = I(null);
|
|
5458
5458
|
z(
|
|
5459
5459
|
() => () => {
|
|
5460
5460
|
_.current && clearTimeout(_.current);
|
|
@@ -5473,20 +5473,20 @@ const A9 = ({
|
|
|
5473
5473
|
), {
|
|
5474
5474
|
attachedFiles: Ve,
|
|
5475
5475
|
fileInputRef: Je,
|
|
5476
|
-
onUploadFiles:
|
|
5477
|
-
acceptValue:
|
|
5478
|
-
isAtMaxFiles:
|
|
5479
|
-
maxFiles:
|
|
5476
|
+
onUploadFiles: Wr,
|
|
5477
|
+
acceptValue: qr,
|
|
5478
|
+
isAtMaxFiles: Xr,
|
|
5479
|
+
maxFiles: Yr,
|
|
5480
5480
|
processFiles: L1,
|
|
5481
|
-
handleFileSelect:
|
|
5482
|
-
handleRemoveFile:
|
|
5483
|
-
clearFiles:
|
|
5481
|
+
handleFileSelect: Kr,
|
|
5482
|
+
handleRemoveFile: Qr,
|
|
5483
|
+
clearFiles: Jr,
|
|
5484
5484
|
transientError: k1,
|
|
5485
5485
|
showTransientError: e1
|
|
5486
|
-
} =
|
|
5486
|
+
} = H2(C), y1 = N2({
|
|
5487
5487
|
searchPersons: m,
|
|
5488
5488
|
mentionSources: L
|
|
5489
|
-
}), de =
|
|
5489
|
+
}), de = O2({
|
|
5490
5490
|
input: O,
|
|
5491
5491
|
cursorPosition: ie,
|
|
5492
5492
|
setCursorPosition: se,
|
|
@@ -5498,20 +5498,20 @@ const A9 = ({
|
|
|
5498
5498
|
Y($e), se($e.length);
|
|
5499
5499
|
},
|
|
5500
5500
|
[Y]
|
|
5501
|
-
),
|
|
5501
|
+
), en = {
|
|
5502
5502
|
"permission-denied": q.ai.micPermissionDenied,
|
|
5503
5503
|
"device-error": q.ai.micError,
|
|
5504
5504
|
"transcription-failed": q.ai.transcriptionError
|
|
5505
|
-
}, me =
|
|
5505
|
+
}, me = Bs({
|
|
5506
5506
|
onTranscribe: w,
|
|
5507
5507
|
onPartial: R1,
|
|
5508
5508
|
onFinal: (U) => {
|
|
5509
5509
|
R1(U), V.current?.focus();
|
|
5510
5510
|
},
|
|
5511
|
-
onError: (U) => e1(
|
|
5511
|
+
onError: (U) => e1(en[U])
|
|
5512
5512
|
}), F1 = !!w && me.isSupported, N1 = P(() => {
|
|
5513
5513
|
ue?.onDictationStart?.(), M1.current = D, me.start();
|
|
5514
|
-
}, [D, me, ue]),
|
|
5514
|
+
}, [D, me, ue]), tn = P(() => {
|
|
5515
5515
|
ue?.onDictationCancel?.(), me.cancel();
|
|
5516
5516
|
}, [me, ue]);
|
|
5517
5517
|
z(() => {
|
|
@@ -5532,7 +5532,7 @@ const A9 = ({
|
|
|
5532
5532
|
E(null);
|
|
5533
5533
|
};
|
|
5534
5534
|
}, [E, L1]);
|
|
5535
|
-
const S1 = me.status === "recording",
|
|
5535
|
+
const S1 = me.status === "recording", rn = S1 ? q.ai.listening : q.ai.inputPlaceholder, T1 = Ve.filter((U) => U.status === "uploaded"), Oe = Ve.some((U) => U.status === "uploading"), V1 = Ve.some((U) => U.status === "error"), je = D.trim().length > 0 || T1.length > 0;
|
|
5536
5536
|
z(() => {
|
|
5537
5537
|
if (!(!be || Oe)) {
|
|
5538
5538
|
if (Z(!1), V1) {
|
|
@@ -5548,7 +5548,7 @@ const A9 = ({
|
|
|
5548
5548
|
e1,
|
|
5549
5549
|
q.ai.fileUploadBlockedSubmit
|
|
5550
5550
|
]);
|
|
5551
|
-
const
|
|
5551
|
+
const nn = async (U) => {
|
|
5552
5552
|
if (U.preventDefault(), !ee) {
|
|
5553
5553
|
if (de.close(), n)
|
|
5554
5554
|
t?.();
|
|
@@ -5578,24 +5578,24 @@ const A9 = ({
|
|
|
5578
5578
|
V.current?.focus();
|
|
5579
5579
|
return;
|
|
5580
5580
|
}
|
|
5581
|
-
Y(""),
|
|
5581
|
+
Y(""), Jr();
|
|
5582
5582
|
} finally {
|
|
5583
5583
|
xe.current = !1, we(!1);
|
|
5584
5584
|
}
|
|
5585
5585
|
}
|
|
5586
5586
|
V.current?.focus();
|
|
5587
5587
|
}
|
|
5588
|
-
},
|
|
5588
|
+
}, on = (U) => {
|
|
5589
5589
|
ee || de.handleKeyDown(U) || U.key === "Enter" && !U.shiftKey && (U.preventDefault(), n || R.current?.requestSubmit());
|
|
5590
|
-
},
|
|
5590
|
+
}, sn = () => {
|
|
5591
5591
|
se(V.current?.selectionStart ?? 0);
|
|
5592
|
-
},
|
|
5592
|
+
}, an = () => {
|
|
5593
5593
|
S.current && V.current && (S.current.scrollTop = V.current.scrollTop);
|
|
5594
|
-
}, A1 = ce ? ce.prompt ?? ce.title : null, E1 = S1 ? [q.ai.listening] : A1 ? [A1] : s ?? [],
|
|
5594
|
+
}, A1 = ce ? ce.prompt ?? ce.title : null, E1 = S1 ? [q.ai.listening] : A1 ? [A1] : s ?? [], ln = E1.length > 1, cn = W(() => R2(D, de.mentions, {
|
|
5595
5595
|
cursorPosition: ie,
|
|
5596
5596
|
inlineCompletion: de.inlineCompletion
|
|
5597
|
-
}), [D, de.mentions, ie, de.inlineCompletion]),
|
|
5598
|
-
|
|
5597
|
+
}), [D, de.mentions, ie, de.inlineCompletion]), dn = de.mentions.length > 0 || de.inlineCompletion !== null, Ee = M === "inside", He = x && !!y && y.length > 0 && !!$ ? /* @__PURE__ */ r(
|
|
5598
|
+
g2,
|
|
5599
5599
|
{
|
|
5600
5600
|
suggestions: y,
|
|
5601
5601
|
onItemClick: Ae,
|
|
@@ -5604,11 +5604,11 @@ const A9 = ({
|
|
|
5604
5604
|
reserveTwoRows: !Ee,
|
|
5605
5605
|
overflow: Ee ? "scroll" : "wrap"
|
|
5606
5606
|
}
|
|
5607
|
-
) : null, H1 = !G || F || je || me.status !== "idle",
|
|
5607
|
+
) : null, H1 = !G || F || je || me.status !== "idle", un = (U) => U instanceof Node ? R.current?.contains(U) ? !0 : U instanceof Element && U.closest("[data-radix-popper-content-wrapper]") !== null : !1, fn = () => {
|
|
5608
5608
|
_.current && clearTimeout(_.current), _.current = setTimeout(() => {
|
|
5609
|
-
|
|
5609
|
+
un(document.activeElement) || N(!1);
|
|
5610
5610
|
}, 0);
|
|
5611
|
-
}, Ze = Ee, $1 = Ze && G, t1 = $1 && !H1,
|
|
5611
|
+
}, Ze = Ee, $1 = Ze && G, t1 = $1 && !H1, hn = Ze && He ? (
|
|
5612
5612
|
// Clicks are STOPPED here rather than bubbling to the form, whose onClick
|
|
5613
5613
|
// focuses the textarea — the same guard `toolbarStart` takes. Without it,
|
|
5614
5614
|
// pressing a chip would pull focus off the trigger and break the popover's
|
|
@@ -5618,18 +5618,18 @@ const A9 = ({
|
|
|
5618
5618
|
duration: X ? 0 : 0.32,
|
|
5619
5619
|
ease: [0.4, 0, 0.2, 1]
|
|
5620
5620
|
}, B1 = /* @__PURE__ */ r(
|
|
5621
|
-
|
|
5621
|
+
Kl,
|
|
5622
5622
|
{
|
|
5623
|
-
onUploadFiles:
|
|
5623
|
+
onUploadFiles: Wr,
|
|
5624
5624
|
toolbarStart: v,
|
|
5625
5625
|
composerActions: h,
|
|
5626
5626
|
onComposerActionsOpenChange: p,
|
|
5627
|
-
center:
|
|
5628
|
-
isAtMaxFiles:
|
|
5629
|
-
maxFiles:
|
|
5630
|
-
acceptValue:
|
|
5627
|
+
center: hn,
|
|
5628
|
+
isAtMaxFiles: Xr,
|
|
5629
|
+
maxFiles: Yr,
|
|
5630
|
+
acceptValue: qr,
|
|
5631
5631
|
fileInputRef: Je,
|
|
5632
|
-
handleFileSelect:
|
|
5632
|
+
handleFileSelect: Kr,
|
|
5633
5633
|
inProgress: n,
|
|
5634
5634
|
hasDataToSend: je,
|
|
5635
5635
|
isPreSending: ae || be,
|
|
@@ -5638,9 +5638,9 @@ const A9 = ({
|
|
|
5638
5638
|
recordingStream: me.stream,
|
|
5639
5639
|
onStartRecording: N1,
|
|
5640
5640
|
onStopRecording: me.stop,
|
|
5641
|
-
onCancelRecording:
|
|
5641
|
+
onCancelRecording: tn
|
|
5642
5642
|
}
|
|
5643
|
-
),
|
|
5643
|
+
), Cn = x && H && !!Q && Q.length > 0, P1 = H && x, { motionProps: pn } = Ps(
|
|
5644
5644
|
x,
|
|
5645
5645
|
160,
|
|
5646
5646
|
0.5
|
|
@@ -5656,7 +5656,7 @@ const A9 = ({
|
|
|
5656
5656
|
oe === "default" && "px-4 pb-3 pt-2",
|
|
5657
5657
|
P1 && "min-h-0 flex-1 justify-start -mt-20"
|
|
5658
5658
|
),
|
|
5659
|
-
...H ?
|
|
5659
|
+
...H ? pn : {},
|
|
5660
5660
|
children: [
|
|
5661
5661
|
/* @__PURE__ */ c("div", { className: "flex w-full max-w-content flex-col gap-2", children: [
|
|
5662
5662
|
He && !Ee ? /* @__PURE__ */ r("div", { children: G ? /* @__PURE__ */ r(ke, { initial: !1, children: H1 ? /* @__PURE__ */ r(
|
|
@@ -5671,7 +5671,7 @@ const A9 = ({
|
|
|
5671
5671
|
},
|
|
5672
5672
|
"welcome-suggestions"
|
|
5673
5673
|
) : null }) : He }) : null,
|
|
5674
|
-
/* @__PURE__ */ r(
|
|
5674
|
+
/* @__PURE__ */ r(t2, { creditWarning: a, children: /* @__PURE__ */ c(
|
|
5675
5675
|
"form",
|
|
5676
5676
|
{
|
|
5677
5677
|
"aria-busy": n,
|
|
@@ -5709,11 +5709,11 @@ const A9 = ({
|
|
|
5709
5709
|
ee || V.current?.focus();
|
|
5710
5710
|
},
|
|
5711
5711
|
onFocus: () => N(!0),
|
|
5712
|
-
onBlur:
|
|
5713
|
-
onSubmit:
|
|
5712
|
+
onBlur: fn,
|
|
5713
|
+
onSubmit: nn,
|
|
5714
5714
|
children: [
|
|
5715
5715
|
/* @__PURE__ */ r(
|
|
5716
|
-
|
|
5716
|
+
n2,
|
|
5717
5717
|
{
|
|
5718
5718
|
isOpen: de.isOpen,
|
|
5719
5719
|
groups: de.groups,
|
|
@@ -5765,7 +5765,7 @@ const A9 = ({
|
|
|
5765
5765
|
},
|
|
5766
5766
|
children: [
|
|
5767
5767
|
f ? /* @__PURE__ */ r(
|
|
5768
|
-
|
|
5768
|
+
o2,
|
|
5769
5769
|
{
|
|
5770
5770
|
quote: f,
|
|
5771
5771
|
onRemove: () => u?.(null)
|
|
@@ -5792,7 +5792,7 @@ const A9 = ({
|
|
|
5792
5792
|
"bg-f1-background-critical text-f1-foreground"
|
|
5793
5793
|
),
|
|
5794
5794
|
children: [
|
|
5795
|
-
/* @__PURE__ */ r("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ r(
|
|
5795
|
+
/* @__PURE__ */ r("div", { className: "h-6 w-6 flex-shrink-0", children: /* @__PURE__ */ r(Ds, { type: "critical", size: "sm" }) }),
|
|
5796
5796
|
/* @__PURE__ */ r("p", { className: "font-medium text-f1-foreground-critical", children: k1 })
|
|
5797
5797
|
]
|
|
5798
5798
|
}
|
|
@@ -5801,11 +5801,11 @@ const A9 = ({
|
|
|
5801
5801
|
"transient-error"
|
|
5802
5802
|
) : null }),
|
|
5803
5803
|
/* @__PURE__ */ r(
|
|
5804
|
-
|
|
5804
|
+
Ql,
|
|
5805
5805
|
{
|
|
5806
5806
|
attachedFiles: Ve,
|
|
5807
5807
|
isUploading: Oe,
|
|
5808
|
-
onRemove:
|
|
5808
|
+
onRemove: Qr,
|
|
5809
5809
|
removeLabel: q.ai.removeFile
|
|
5810
5810
|
}
|
|
5811
5811
|
),
|
|
@@ -5819,7 +5819,7 @@ const A9 = ({
|
|
|
5819
5819
|
children: [
|
|
5820
5820
|
Ze ? /* @__PURE__ */ r("div", { className: "flex shrink-0 self-center pl-3", children: /* @__PURE__ */ r(Gt, { size: "sm", spin: n }) }) : null,
|
|
5821
5821
|
/* @__PURE__ */ r(
|
|
5822
|
-
|
|
5822
|
+
a2,
|
|
5823
5823
|
{
|
|
5824
5824
|
textareaRef: V,
|
|
5825
5825
|
highlightRef: S,
|
|
@@ -5827,14 +5827,14 @@ const A9 = ({
|
|
|
5827
5827
|
onInputChange: (U, Le) => {
|
|
5828
5828
|
Y(U), se(Le);
|
|
5829
5829
|
},
|
|
5830
|
-
onKeyDown:
|
|
5831
|
-
onCursorUpdate:
|
|
5832
|
-
onScroll:
|
|
5833
|
-
highlightSegments:
|
|
5834
|
-
hasOverlay:
|
|
5835
|
-
multiplePlaceholders:
|
|
5830
|
+
onKeyDown: on,
|
|
5831
|
+
onCursorUpdate: sn,
|
|
5832
|
+
onScroll: an,
|
|
5833
|
+
highlightSegments: cn,
|
|
5834
|
+
hasOverlay: dn,
|
|
5835
|
+
multiplePlaceholders: ln,
|
|
5836
5836
|
placeholders: E1,
|
|
5837
|
-
resolvedDefaultPlaceholder:
|
|
5837
|
+
resolvedDefaultPlaceholder: rn,
|
|
5838
5838
|
inProgress: n
|
|
5839
5839
|
}
|
|
5840
5840
|
),
|
|
@@ -5860,7 +5860,7 @@ const A9 = ({
|
|
|
5860
5860
|
onMouseDown: (U) => U.preventDefault(),
|
|
5861
5861
|
children: [
|
|
5862
5862
|
F1 ? /* @__PURE__ */ r(
|
|
5863
|
-
|
|
5863
|
+
pr,
|
|
5864
5864
|
{
|
|
5865
5865
|
inProgress: n,
|
|
5866
5866
|
recordingStatus: me.status,
|
|
@@ -5869,7 +5869,7 @@ const A9 = ({
|
|
|
5869
5869
|
}
|
|
5870
5870
|
) : null,
|
|
5871
5871
|
/* @__PURE__ */ r(
|
|
5872
|
-
|
|
5872
|
+
mr,
|
|
5873
5873
|
{
|
|
5874
5874
|
inProgress: n,
|
|
5875
5875
|
hasDataToSend: je,
|
|
@@ -5905,7 +5905,7 @@ const A9 = ({
|
|
|
5905
5905
|
}
|
|
5906
5906
|
) })
|
|
5907
5907
|
] }),
|
|
5908
|
-
|
|
5908
|
+
Cn ? /* @__PURE__ */ r("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ r(l2, { cards: Q }) }) : null,
|
|
5909
5909
|
k && x && H ? /* @__PURE__ */ r("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: k }) : null,
|
|
5910
5910
|
/* @__PURE__ */ r(ke, { mode: "wait", initial: !1, children: ee ? /* @__PURE__ */ c(
|
|
5911
5911
|
K.div,
|
|
@@ -5975,7 +5975,7 @@ const A9 = ({
|
|
|
5975
5975
|
}
|
|
5976
5976
|
) : A?.text ? /* @__PURE__ */ r(ne, { className: "text-sm font-medium text-f1-foreground-tertiary", children: A.text }) : null,
|
|
5977
5977
|
A?.link && A.linkText ? /* @__PURE__ */ r(
|
|
5978
|
-
|
|
5978
|
+
_s,
|
|
5979
5979
|
{
|
|
5980
5980
|
href: A.link,
|
|
5981
5981
|
target: "_blank",
|
|
@@ -5985,7 +5985,7 @@ const A9 = ({
|
|
|
5985
5985
|
}
|
|
5986
5986
|
) : null
|
|
5987
5987
|
] }),
|
|
5988
|
-
T ? /* @__PURE__ */ r("div", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ r(
|
|
5988
|
+
T ? /* @__PURE__ */ r("div", { className: "flex shrink-0 items-center", children: /* @__PURE__ */ r(ql, { ...T }) }) : null
|
|
5989
5989
|
]
|
|
5990
5990
|
},
|
|
5991
5991
|
"chat-disclaimer"
|
|
@@ -5994,7 +5994,7 @@ const A9 = ({
|
|
|
5994
5994
|
}
|
|
5995
5995
|
);
|
|
5996
5996
|
};
|
|
5997
|
-
function
|
|
5997
|
+
function j2({
|
|
5998
5998
|
children: e,
|
|
5999
5999
|
...t
|
|
6000
6000
|
}) {
|
|
@@ -6010,7 +6010,7 @@ function P2({
|
|
|
6010
6010
|
}
|
|
6011
6011
|
);
|
|
6012
6012
|
}
|
|
6013
|
-
function
|
|
6013
|
+
function Z2({
|
|
6014
6014
|
children: e,
|
|
6015
6015
|
...t
|
|
6016
6016
|
}) {
|
|
@@ -6029,7 +6029,7 @@ function D2({
|
|
|
6029
6029
|
}
|
|
6030
6030
|
);
|
|
6031
6031
|
}
|
|
6032
|
-
function
|
|
6032
|
+
function U2({
|
|
6033
6033
|
children: e,
|
|
6034
6034
|
...t
|
|
6035
6035
|
}) {
|
|
@@ -6045,7 +6045,7 @@ function _2({
|
|
|
6045
6045
|
}
|
|
6046
6046
|
);
|
|
6047
6047
|
}
|
|
6048
|
-
function
|
|
6048
|
+
function z2({ ...e }) {
|
|
6049
6049
|
return /* @__PURE__ */ r(
|
|
6050
6050
|
"hr",
|
|
6051
6051
|
{
|
|
@@ -6054,7 +6054,7 @@ function O2({ ...e }) {
|
|
|
6054
6054
|
}
|
|
6055
6055
|
);
|
|
6056
6056
|
}
|
|
6057
|
-
function
|
|
6057
|
+
function G2({
|
|
6058
6058
|
src: e,
|
|
6059
6059
|
alt: t,
|
|
6060
6060
|
...n
|
|
@@ -6087,13 +6087,13 @@ function j2({
|
|
|
6087
6087
|
) })
|
|
6088
6088
|
] });
|
|
6089
6089
|
}
|
|
6090
|
-
function
|
|
6090
|
+
function W2({
|
|
6091
6091
|
children: e,
|
|
6092
6092
|
...t
|
|
6093
6093
|
}) {
|
|
6094
|
-
return /* @__PURE__ */ r(
|
|
6094
|
+
return /* @__PURE__ */ r(Os, { ...t, variant: "link", href: t.href, children: e });
|
|
6095
6095
|
}
|
|
6096
|
-
function
|
|
6096
|
+
function q2({
|
|
6097
6097
|
children: e,
|
|
6098
6098
|
...t
|
|
6099
6099
|
}) {
|
|
@@ -6109,7 +6109,7 @@ function U2({
|
|
|
6109
6109
|
}
|
|
6110
6110
|
);
|
|
6111
6111
|
}
|
|
6112
|
-
function
|
|
6112
|
+
function X2({
|
|
6113
6113
|
children: e,
|
|
6114
6114
|
...t
|
|
6115
6115
|
}) {
|
|
@@ -6125,7 +6125,7 @@ function z2({
|
|
|
6125
6125
|
}
|
|
6126
6126
|
);
|
|
6127
6127
|
}
|
|
6128
|
-
function
|
|
6128
|
+
function Y2({
|
|
6129
6129
|
children: e,
|
|
6130
6130
|
...t
|
|
6131
6131
|
}) {
|
|
@@ -6161,7 +6161,7 @@ function Te({
|
|
|
6161
6161
|
});
|
|
6162
6162
|
}, [n, e, i, l]), p = u || !i ? s : o(i);
|
|
6163
6163
|
return /* @__PURE__ */ c(
|
|
6164
|
-
|
|
6164
|
+
js,
|
|
6165
6165
|
{
|
|
6166
6166
|
openDelay: 300,
|
|
6167
6167
|
closeDelay: 100,
|
|
@@ -6169,9 +6169,9 @@ function Te({
|
|
|
6169
6169
|
w && h();
|
|
6170
6170
|
},
|
|
6171
6171
|
children: [
|
|
6172
|
-
/* @__PURE__ */ r(
|
|
6172
|
+
/* @__PURE__ */ r(Zs, { asChild: !0, children: t }),
|
|
6173
6173
|
/* @__PURE__ */ r(
|
|
6174
|
-
|
|
6174
|
+
Us,
|
|
6175
6175
|
{
|
|
6176
6176
|
side: "top",
|
|
6177
6177
|
align: "start",
|
|
@@ -6202,7 +6202,7 @@ const x1 = g(
|
|
|
6202
6202
|
)
|
|
6203
6203
|
);
|
|
6204
6204
|
x1.displayName = "MentionTrigger";
|
|
6205
|
-
function
|
|
6205
|
+
function K2({ id: e, label: t, config: n }) {
|
|
6206
6206
|
const o = j(), { resolve: s, avatar: a, url: i } = n, d = i?.(e), l = P(
|
|
6207
6207
|
(C) => ({
|
|
6208
6208
|
...C,
|
|
@@ -6230,7 +6230,7 @@ function W2({ id: e, label: t, config: n }) {
|
|
|
6230
6230
|
}
|
|
6231
6231
|
);
|
|
6232
6232
|
}
|
|
6233
|
-
const
|
|
6233
|
+
const br = g(
|
|
6234
6234
|
({ label: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6235
6235
|
"button",
|
|
6236
6236
|
{
|
|
@@ -6245,8 +6245,8 @@ const gr = g(
|
|
|
6245
6245
|
}
|
|
6246
6246
|
)
|
|
6247
6247
|
);
|
|
6248
|
-
|
|
6249
|
-
function
|
|
6248
|
+
br.displayName = "CandidateTrigger";
|
|
6249
|
+
function Q2({
|
|
6250
6250
|
id: e,
|
|
6251
6251
|
label: t
|
|
6252
6252
|
}) {
|
|
@@ -6298,14 +6298,14 @@ function q2({
|
|
|
6298
6298
|
Te,
|
|
6299
6299
|
{
|
|
6300
6300
|
id: e,
|
|
6301
|
-
trigger: /* @__PURE__ */ r(
|
|
6301
|
+
trigger: /* @__PURE__ */ r(br, { label: t }),
|
|
6302
6302
|
resolver: o,
|
|
6303
6303
|
mapToCard: i,
|
|
6304
6304
|
fallbackCard: d
|
|
6305
6305
|
}
|
|
6306
6306
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6307
6307
|
}
|
|
6308
|
-
const
|
|
6308
|
+
const Lr = g(
|
|
6309
6309
|
({ label: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6310
6310
|
"button",
|
|
6311
6311
|
{
|
|
@@ -6320,13 +6320,13 @@ const vr = g(
|
|
|
6320
6320
|
}
|
|
6321
6321
|
)
|
|
6322
6322
|
);
|
|
6323
|
-
|
|
6324
|
-
function
|
|
6323
|
+
Lr.displayName = "ExpenseTrigger";
|
|
6324
|
+
function J2({ id: e, label: t }) {
|
|
6325
6325
|
const { entityRefs: n } = ve(), o = n?.resolvers?.expense, s = j(), a = n?.urls?.expense?.(e), i = W(
|
|
6326
6326
|
() => (l) => ({
|
|
6327
6327
|
avatar: {
|
|
6328
6328
|
type: "icon",
|
|
6329
|
-
icon:
|
|
6329
|
+
icon: lr
|
|
6330
6330
|
},
|
|
6331
6331
|
title: l.description || `Expense #${l.id}`,
|
|
6332
6332
|
description: [l.amount, l.status].filter(Boolean).join(" · "),
|
|
@@ -6354,14 +6354,14 @@ function X2({ id: e, label: t }) {
|
|
|
6354
6354
|
Te,
|
|
6355
6355
|
{
|
|
6356
6356
|
id: e,
|
|
6357
|
-
trigger: /* @__PURE__ */ r(
|
|
6357
|
+
trigger: /* @__PURE__ */ r(Lr, { label: t }),
|
|
6358
6358
|
resolver: o,
|
|
6359
6359
|
mapToCard: i,
|
|
6360
6360
|
fallbackCard: d
|
|
6361
6361
|
}
|
|
6362
6362
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6363
6363
|
}
|
|
6364
|
-
const
|
|
6364
|
+
const kr = g(
|
|
6365
6365
|
({ label: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6366
6366
|
"button",
|
|
6367
6367
|
{
|
|
@@ -6376,8 +6376,8 @@ const wr = g(
|
|
|
6376
6376
|
}
|
|
6377
6377
|
)
|
|
6378
6378
|
);
|
|
6379
|
-
|
|
6380
|
-
function
|
|
6379
|
+
kr.displayName = "JobPostingTrigger";
|
|
6380
|
+
function e6({
|
|
6381
6381
|
id: e,
|
|
6382
6382
|
label: t
|
|
6383
6383
|
}) {
|
|
@@ -6409,14 +6409,14 @@ function Y2({
|
|
|
6409
6409
|
Te,
|
|
6410
6410
|
{
|
|
6411
6411
|
id: e,
|
|
6412
|
-
trigger: /* @__PURE__ */ r(
|
|
6412
|
+
trigger: /* @__PURE__ */ r(kr, { label: t }),
|
|
6413
6413
|
resolver: o,
|
|
6414
6414
|
mapToCard: i,
|
|
6415
6415
|
fallbackCard: d
|
|
6416
6416
|
}
|
|
6417
6417
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6418
6418
|
}
|
|
6419
|
-
function
|
|
6419
|
+
function t6({ id: e, label: t }) {
|
|
6420
6420
|
const { entityRefs: n } = ve(), o = n?.resolvers?.person, s = j(), a = n?.urls?.person?.(e), i = W(
|
|
6421
6421
|
() => (l) => ({
|
|
6422
6422
|
avatar: {
|
|
@@ -6458,13 +6458,13 @@ function K2({ id: e, label: t }) {
|
|
|
6458
6458
|
}
|
|
6459
6459
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6460
6460
|
}
|
|
6461
|
-
function
|
|
6461
|
+
function r6({ rows: e }) {
|
|
6462
6462
|
return e.length === 0 ? null : /* @__PURE__ */ r("div", { className: "flex flex-col gap-2", children: e.map((t, n) => /* @__PURE__ */ c("div", { className: "flex flex-col", children: [
|
|
6463
6463
|
t.label ? /* @__PURE__ */ r("p", { className: "text-f1-foreground-secondary", children: t.label }) : null,
|
|
6464
6464
|
/* @__PURE__ */ r("div", { className: "flex items-center gap-1.5 font-medium text-f1-foreground", children: t.value })
|
|
6465
6465
|
] }, t.label ?? n)) });
|
|
6466
6466
|
}
|
|
6467
|
-
const
|
|
6467
|
+
const yr = g(
|
|
6468
6468
|
({ label: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6469
6469
|
"button",
|
|
6470
6470
|
{
|
|
@@ -6479,8 +6479,8 @@ const xr = g(
|
|
|
6479
6479
|
}
|
|
6480
6480
|
)
|
|
6481
6481
|
);
|
|
6482
|
-
|
|
6483
|
-
function
|
|
6482
|
+
yr.displayName = "RequisitionTrigger";
|
|
6483
|
+
function n6({
|
|
6484
6484
|
id: e,
|
|
6485
6485
|
label: t
|
|
6486
6486
|
}) {
|
|
@@ -6490,7 +6490,7 @@ function J2({
|
|
|
6490
6490
|
l.status ? {
|
|
6491
6491
|
label: s.t("ai.entityRef.requisition.status"),
|
|
6492
6492
|
value: /* @__PURE__ */ r("div", { className: "flex items-center pt-1", children: /* @__PURE__ */ r(
|
|
6493
|
-
|
|
6493
|
+
zs,
|
|
6494
6494
|
{
|
|
6495
6495
|
text: l.status,
|
|
6496
6496
|
variant: l.statusVariant ?? "neutral"
|
|
@@ -6523,7 +6523,7 @@ function J2({
|
|
|
6523
6523
|
title: l.title,
|
|
6524
6524
|
...l.location && { description: l.location },
|
|
6525
6525
|
...C.length > 0 && {
|
|
6526
|
-
children: /* @__PURE__ */ r(
|
|
6526
|
+
children: /* @__PURE__ */ r(r6, { rows: C })
|
|
6527
6527
|
},
|
|
6528
6528
|
...a && {
|
|
6529
6529
|
secondaryActions: {
|
|
@@ -6550,14 +6550,14 @@ function J2({
|
|
|
6550
6550
|
Te,
|
|
6551
6551
|
{
|
|
6552
6552
|
id: e,
|
|
6553
|
-
trigger: /* @__PURE__ */ r(
|
|
6553
|
+
trigger: /* @__PURE__ */ r(yr, { label: t }),
|
|
6554
6554
|
resolver: o,
|
|
6555
6555
|
mapToCard: i,
|
|
6556
6556
|
fallbackCard: d
|
|
6557
6557
|
}
|
|
6558
6558
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6559
6559
|
}
|
|
6560
|
-
const
|
|
6560
|
+
const Mr = g(
|
|
6561
6561
|
({ label: e, ...t }, n) => /* @__PURE__ */ r(
|
|
6562
6562
|
"button",
|
|
6563
6563
|
{
|
|
@@ -6572,8 +6572,8 @@ const br = g(
|
|
|
6572
6572
|
}
|
|
6573
6573
|
)
|
|
6574
6574
|
);
|
|
6575
|
-
|
|
6576
|
-
function
|
|
6575
|
+
Mr.displayName = "VacancyTrigger";
|
|
6576
|
+
function o6({ id: e, label: t }) {
|
|
6577
6577
|
const { entityRefs: n } = ve(), o = n?.resolvers?.vacancy, s = j(), a = n?.urls?.vacancy?.(e), i = W(
|
|
6578
6578
|
() => (l) => ({
|
|
6579
6579
|
title: l.name,
|
|
@@ -6602,31 +6602,31 @@ function e6({ id: e, label: t }) {
|
|
|
6602
6602
|
Te,
|
|
6603
6603
|
{
|
|
6604
6604
|
id: e,
|
|
6605
|
-
trigger: /* @__PURE__ */ r(
|
|
6605
|
+
trigger: /* @__PURE__ */ r(Mr, { label: t }),
|
|
6606
6606
|
resolver: o,
|
|
6607
6607
|
mapToCard: i,
|
|
6608
6608
|
fallbackCard: d
|
|
6609
6609
|
}
|
|
6610
6610
|
) : /* @__PURE__ */ r("span", { children: t });
|
|
6611
6611
|
}
|
|
6612
|
-
const
|
|
6613
|
-
["person",
|
|
6614
|
-
["candidate",
|
|
6615
|
-
["expense",
|
|
6616
|
-
["job-posting",
|
|
6617
|
-
["requisition",
|
|
6618
|
-
["vacancy",
|
|
6612
|
+
const s6 = /* @__PURE__ */ new Map([
|
|
6613
|
+
["person", t6],
|
|
6614
|
+
["candidate", Q2],
|
|
6615
|
+
["expense", J2],
|
|
6616
|
+
["job-posting", e6],
|
|
6617
|
+
["requisition", n6],
|
|
6618
|
+
["vacancy", o6]
|
|
6619
6619
|
]);
|
|
6620
|
-
function
|
|
6621
|
-
return
|
|
6620
|
+
function a6(e) {
|
|
6621
|
+
return s6.get(e);
|
|
6622
6622
|
}
|
|
6623
|
-
function
|
|
6623
|
+
function i6(e, t) {
|
|
6624
6624
|
return e && Object.prototype.hasOwnProperty.call(e, t) ? e[t] : void 0;
|
|
6625
6625
|
}
|
|
6626
6626
|
function We(e) {
|
|
6627
6627
|
return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(We).join("") : e && typeof e == "object" && "props" in e ? We(e.props.children) : "";
|
|
6628
6628
|
}
|
|
6629
|
-
function
|
|
6629
|
+
function l6({
|
|
6630
6630
|
type: e,
|
|
6631
6631
|
id: t,
|
|
6632
6632
|
children: n
|
|
@@ -6634,17 +6634,17 @@ function o6({
|
|
|
6634
6634
|
const { entityRefs: o } = ve();
|
|
6635
6635
|
if (!t || !e)
|
|
6636
6636
|
return /* @__PURE__ */ r("span", { children: n });
|
|
6637
|
-
const s = We(n), a =
|
|
6637
|
+
const s = We(n), a = a6(e);
|
|
6638
6638
|
if (a)
|
|
6639
6639
|
return /* @__PURE__ */ r(a, { id: t, label: s });
|
|
6640
|
-
const i =
|
|
6641
|
-
return i ? /* @__PURE__ */ r(
|
|
6640
|
+
const i = i6(o?.custom, e);
|
|
6641
|
+
return i ? /* @__PURE__ */ r(K2, { id: t, label: s, config: i }) : /* @__PURE__ */ r("span", { children: n });
|
|
6642
6642
|
}
|
|
6643
|
-
async function
|
|
6644
|
-
const o =
|
|
6645
|
-
|
|
6643
|
+
async function c6(e, t, n) {
|
|
6644
|
+
const o = qt(e), s = t === "xlsx" ? await Xt([{ name: "Data", rows: o }]) : await Yt(o);
|
|
6645
|
+
Kt(s, `${n}.${t}`);
|
|
6646
6646
|
}
|
|
6647
|
-
function
|
|
6647
|
+
function d6({
|
|
6648
6648
|
children: e,
|
|
6649
6649
|
title: t,
|
|
6650
6650
|
...n
|
|
@@ -6654,7 +6654,7 @@ function a6({
|
|
|
6654
6654
|
if (!s.current)
|
|
6655
6655
|
return;
|
|
6656
6656
|
const d = t?.replace(/\s+/g, "_").toLowerCase() || "table";
|
|
6657
|
-
|
|
6657
|
+
c6(s.current, i, d);
|
|
6658
6658
|
},
|
|
6659
6659
|
[t]
|
|
6660
6660
|
);
|
|
@@ -6706,7 +6706,7 @@ function a6({
|
|
|
6706
6706
|
) })
|
|
6707
6707
|
] });
|
|
6708
6708
|
}
|
|
6709
|
-
function
|
|
6709
|
+
function u6({
|
|
6710
6710
|
children: e,
|
|
6711
6711
|
...t
|
|
6712
6712
|
}) {
|
|
@@ -6722,7 +6722,7 @@ function i6({
|
|
|
6722
6722
|
}
|
|
6723
6723
|
);
|
|
6724
6724
|
}
|
|
6725
|
-
function
|
|
6725
|
+
function f6({
|
|
6726
6726
|
children: e,
|
|
6727
6727
|
ellipsis: t = !1,
|
|
6728
6728
|
...n
|
|
@@ -6742,13 +6742,13 @@ function l6({
|
|
|
6742
6742
|
}
|
|
6743
6743
|
);
|
|
6744
6744
|
}
|
|
6745
|
-
function
|
|
6745
|
+
function h6({
|
|
6746
6746
|
children: e,
|
|
6747
6747
|
...t
|
|
6748
6748
|
}) {
|
|
6749
6749
|
return /* @__PURE__ */ r("p", { ...t, className: b("text-base font-normal", t.className), children: e });
|
|
6750
6750
|
}
|
|
6751
|
-
function
|
|
6751
|
+
function C6({
|
|
6752
6752
|
children: e,
|
|
6753
6753
|
...t
|
|
6754
6754
|
}) {
|
|
@@ -6764,7 +6764,7 @@ function d6({
|
|
|
6764
6764
|
}
|
|
6765
6765
|
);
|
|
6766
6766
|
}
|
|
6767
|
-
function
|
|
6767
|
+
function p6({
|
|
6768
6768
|
children: e,
|
|
6769
6769
|
...t
|
|
6770
6770
|
}) {
|
|
@@ -6780,7 +6780,7 @@ function u6({
|
|
|
6780
6780
|
}
|
|
6781
6781
|
);
|
|
6782
6782
|
}
|
|
6783
|
-
function
|
|
6783
|
+
function m6({
|
|
6784
6784
|
children: e,
|
|
6785
6785
|
...t
|
|
6786
6786
|
}) {
|
|
@@ -6796,39 +6796,39 @@ function f6({
|
|
|
6796
6796
|
}
|
|
6797
6797
|
);
|
|
6798
6798
|
}
|
|
6799
|
-
function
|
|
6799
|
+
function g6({
|
|
6800
6800
|
children: e,
|
|
6801
6801
|
...t
|
|
6802
6802
|
}) {
|
|
6803
6803
|
return /* @__PURE__ */ r("strong", { ...t, className: b("font-semibold", t.className), children: e });
|
|
6804
6804
|
}
|
|
6805
|
-
function
|
|
6805
|
+
function v6({
|
|
6806
6806
|
children: e,
|
|
6807
6807
|
...t
|
|
6808
6808
|
}) {
|
|
6809
6809
|
return /* @__PURE__ */ r("em", { ...t, className: b("italic", t.className), children: e });
|
|
6810
6810
|
}
|
|
6811
|
-
const
|
|
6812
|
-
p:
|
|
6813
|
-
h1:
|
|
6814
|
-
h2:
|
|
6815
|
-
h3:
|
|
6816
|
-
a:
|
|
6817
|
-
strong:
|
|
6818
|
-
em:
|
|
6819
|
-
li:
|
|
6820
|
-
pre:
|
|
6821
|
-
code:
|
|
6822
|
-
blockquote:
|
|
6823
|
-
hr:
|
|
6824
|
-
ul:
|
|
6825
|
-
ol:
|
|
6826
|
-
table:
|
|
6827
|
-
th:
|
|
6828
|
-
td:
|
|
6829
|
-
img:
|
|
6830
|
-
"entity-ref":
|
|
6831
|
-
},
|
|
6811
|
+
const B9 = {
|
|
6812
|
+
p: h6,
|
|
6813
|
+
h1: C6,
|
|
6814
|
+
h2: p6,
|
|
6815
|
+
h3: m6,
|
|
6816
|
+
a: W2,
|
|
6817
|
+
strong: g6,
|
|
6818
|
+
em: v6,
|
|
6819
|
+
li: Y2,
|
|
6820
|
+
pre: j2,
|
|
6821
|
+
code: Z2,
|
|
6822
|
+
blockquote: U2,
|
|
6823
|
+
hr: z2,
|
|
6824
|
+
ul: q2,
|
|
6825
|
+
ol: X2,
|
|
6826
|
+
table: d6,
|
|
6827
|
+
th: u6,
|
|
6828
|
+
td: f6,
|
|
6829
|
+
img: G2,
|
|
6830
|
+
"entity-ref": l6
|
|
6831
|
+
}, w6 = ({ avatar: e }) => e?.type === "module" ? /* @__PURE__ */ r(Qt, { module: e.module, size: "md" }) : e?.type === "file" ? /* @__PURE__ */ r(Gs, { file: e.file, size: "lg" }) : e?.type === "icon" ? /* @__PURE__ */ r(Ws, { icon: e.icon, size: "md" }) : null, x6 = ({
|
|
6832
6832
|
action: e,
|
|
6833
6833
|
isActive: t
|
|
6834
6834
|
}) => {
|
|
@@ -6853,7 +6853,7 @@ const E9 = {
|
|
|
6853
6853
|
}
|
|
6854
6854
|
) : null;
|
|
6855
6855
|
};
|
|
6856
|
-
function
|
|
6856
|
+
function Rr({
|
|
6857
6857
|
avatar: e,
|
|
6858
6858
|
title: t,
|
|
6859
6859
|
description: n,
|
|
@@ -6873,21 +6873,21 @@ function Lr({
|
|
|
6873
6873
|
onClick: d,
|
|
6874
6874
|
children: [
|
|
6875
6875
|
/* @__PURE__ */ c("div", { className: "flex w-full min-w-0 flex-row items-center gap-3", children: [
|
|
6876
|
-
/* @__PURE__ */ r(
|
|
6876
|
+
/* @__PURE__ */ r(w6, { avatar: e }),
|
|
6877
6877
|
/* @__PURE__ */ c("div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
6878
6878
|
/* @__PURE__ */ r(ne, { className: "text-lg font-semibold text-f1-foreground", children: t }),
|
|
6879
6879
|
n ? /* @__PURE__ */ r(ne, { className: "text-base text-f1-foreground-secondary", children: n }) : null
|
|
6880
6880
|
] }),
|
|
6881
|
-
/* @__PURE__ */ r(
|
|
6881
|
+
/* @__PURE__ */ r(x6, { action: s, isActive: o })
|
|
6882
6882
|
] }),
|
|
6883
6883
|
a
|
|
6884
6884
|
]
|
|
6885
6885
|
}
|
|
6886
6886
|
);
|
|
6887
6887
|
}
|
|
6888
|
-
|
|
6888
|
+
Rr.displayName = "F0CanvasCard";
|
|
6889
6889
|
const b1 = Xe(null);
|
|
6890
|
-
function
|
|
6890
|
+
function P9({
|
|
6891
6891
|
children: e
|
|
6892
6892
|
}) {
|
|
6893
6893
|
const [t, n] = B(0), o = I([]), s = P(
|
|
@@ -6908,7 +6908,7 @@ function H9({
|
|
|
6908
6908
|
);
|
|
6909
6909
|
return /* @__PURE__ */ r(b1.Provider, { value: a, children: e });
|
|
6910
6910
|
}
|
|
6911
|
-
function
|
|
6911
|
+
function b6(e) {
|
|
6912
6912
|
const n = Pe(b1)?.formatters;
|
|
6913
6913
|
return W(() => !n || n.length === 0 ? null : (o, s, a) => {
|
|
6914
6914
|
let i, d = -1;
|
|
@@ -6923,7 +6923,7 @@ function g6(e) {
|
|
|
6923
6923
|
return i.format(s, { key: o, ...a });
|
|
6924
6924
|
}, [n, e]);
|
|
6925
6925
|
}
|
|
6926
|
-
function
|
|
6926
|
+
function D9() {
|
|
6927
6927
|
const e = Pe(b1);
|
|
6928
6928
|
if (!e)
|
|
6929
6929
|
throw new Error(
|
|
@@ -6931,15 +6931,15 @@ function $9() {
|
|
|
6931
6931
|
);
|
|
6932
6932
|
return e.setFormCardValueFormatter;
|
|
6933
6933
|
}
|
|
6934
|
-
const K1 = 7,
|
|
6935
|
-
function
|
|
6934
|
+
const K1 = 7, L6 = 625, Q1 = /* @__PURE__ */ new Set();
|
|
6935
|
+
function k6(e) {
|
|
6936
6936
|
return typeof DOMParser < "u" ? new DOMParser().parseFromString(e, "text/html").body.textContent?.replace(/\s+/g, " ").trim() ?? "" : e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
|
|
6937
6937
|
}
|
|
6938
|
-
function
|
|
6938
|
+
function y6(e) {
|
|
6939
6939
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
6940
6940
|
}
|
|
6941
|
-
function
|
|
6942
|
-
const { days: t, hours: n, minutes: o, seconds: s } =
|
|
6941
|
+
function M6(e) {
|
|
6942
|
+
const { days: t, hours: n, minutes: o, seconds: s } = Xs(e), a = [];
|
|
6943
6943
|
return t > 0 && a.push(`${t}d`), n > 0 && a.push(`${n}h`), o > 0 && a.push(`${o}m`), (s > 0 || a.length === 0) && a.push(`${s}s`), a.join(" ");
|
|
6944
6944
|
}
|
|
6945
6945
|
function J1(e) {
|
|
@@ -6956,14 +6956,14 @@ function et(e) {
|
|
|
6956
6956
|
function tt(e) {
|
|
6957
6957
|
return e.type === "item" ? e.text : "";
|
|
6958
6958
|
}
|
|
6959
|
-
function
|
|
6959
|
+
function Fr(e, t) {
|
|
6960
6960
|
if (e == null || e === "")
|
|
6961
6961
|
return { type: "item", text: "—" };
|
|
6962
6962
|
if (t === "duration" && typeof e == "number")
|
|
6963
|
-
return { type: "item", text:
|
|
6963
|
+
return { type: "item", text: M6(e) };
|
|
6964
6964
|
if (t === "richtext" && typeof e == "object" && e !== null && "value" in e) {
|
|
6965
6965
|
const n = e.value;
|
|
6966
|
-
return { type: "item", text: (n ?
|
|
6966
|
+
return { type: "item", text: (n ? k6(n) : "") || "—" };
|
|
6967
6967
|
}
|
|
6968
6968
|
if (t === "daterange" && typeof e == "object" && e !== null && "from" in e && "to" in e) {
|
|
6969
6969
|
const { from: n, to: o } = e, s = J1(n) ? et(n) : String(n), a = J1(o) ? et(o) : String(o);
|
|
@@ -6975,16 +6975,16 @@ function kr(e, t) {
|
|
|
6975
6975
|
return { type: "item", text: e ? "Yes" : "No" };
|
|
6976
6976
|
if (Array.isArray(e))
|
|
6977
6977
|
return { type: "item", text: e.map((o) => {
|
|
6978
|
-
const s =
|
|
6978
|
+
const s = Fr(o);
|
|
6979
6979
|
return Array.isArray(s) ? s.map(tt).join(", ") : tt(s);
|
|
6980
6980
|
}).filter(Boolean).join(", ") || "—" };
|
|
6981
6981
|
if (typeof e == "object" && e !== null) {
|
|
6982
6982
|
const n = e;
|
|
6983
6983
|
return typeof n.label == "string" ? { type: "item", text: n.label } : typeof n.name == "string" ? { type: "item", text: n.name } : typeof n.text == "string" ? { type: "item", text: n.text } : { type: "item", text: JSON.stringify(e) };
|
|
6984
6984
|
}
|
|
6985
|
-
return { type: "item", text:
|
|
6985
|
+
return { type: "item", text: y6(String(e)) };
|
|
6986
6986
|
}
|
|
6987
|
-
function
|
|
6987
|
+
function Nr({
|
|
6988
6988
|
formName: e,
|
|
6989
6989
|
formDescription: t,
|
|
6990
6990
|
module: n,
|
|
@@ -6994,7 +6994,7 @@ function yr({
|
|
|
6994
6994
|
formValues: i,
|
|
6995
6995
|
valueFormatter: d
|
|
6996
6996
|
}) {
|
|
6997
|
-
const { canvasContent: l, openCanvas: f, closeCanvas: u } = ve(), C =
|
|
6997
|
+
const { canvasContent: l, openCanvas: f, closeCanvas: u } = ve(), C = b6(e), v = d ?? C, h = I(() => {
|
|
6998
6998
|
}), p = o ?? e, w = s ?? t ?? "", m = l?.type === "form" && l.formName === e, L = () => f({
|
|
6999
6999
|
type: "form",
|
|
7000
7000
|
title: p,
|
|
@@ -7004,7 +7004,7 @@ function yr({
|
|
|
7004
7004
|
formModule: n
|
|
7005
7005
|
});
|
|
7006
7006
|
h.current = L, z(() => {
|
|
7007
|
-
typeof window > "u" || window.innerWidth <
|
|
7007
|
+
typeof window > "u" || window.innerWidth < L6 || Q1.has(e) || (Q1.add(e), h.current());
|
|
7008
7008
|
}, [e]);
|
|
7009
7009
|
const E = a && i ? Object.entries(a).map(([k, x]) => {
|
|
7010
7010
|
const H = i[k], y = v?.(k, H, {
|
|
@@ -7013,7 +7013,7 @@ function yr({
|
|
|
7013
7013
|
});
|
|
7014
7014
|
if (!y && x.fieldType === "custom" && typeof H == "object" && H !== null)
|
|
7015
7015
|
return null;
|
|
7016
|
-
const $ = y ??
|
|
7016
|
+
const $ = y ?? Fr(H, x.fieldType), M = ["richtext", "textarea"];
|
|
7017
7017
|
return {
|
|
7018
7018
|
label: x.label,
|
|
7019
7019
|
content: $,
|
|
@@ -7026,7 +7026,7 @@ function yr({
|
|
|
7026
7026
|
return !(x?.type === "item" && x.text === "—");
|
|
7027
7027
|
}) : [], A = E.slice(0, K1), T = E.length > K1;
|
|
7028
7028
|
return /* @__PURE__ */ r(
|
|
7029
|
-
|
|
7029
|
+
Rr,
|
|
7030
7030
|
{
|
|
7031
7031
|
avatar: n ? { type: "module", module: n } : void 0,
|
|
7032
7032
|
title: p,
|
|
@@ -7039,7 +7039,7 @@ function yr({
|
|
|
7039
7039
|
showButton: m
|
|
7040
7040
|
},
|
|
7041
7041
|
children: A.length > 0 && !m ? /* @__PURE__ */ r("div", { className: "-mx-3 flex w-full flex-col overflow-hidden pb-1", children: /* @__PURE__ */ r(
|
|
7042
|
-
|
|
7042
|
+
qs,
|
|
7043
7043
|
{
|
|
7044
7044
|
details: A.map((k) => ({
|
|
7045
7045
|
title: k.label,
|
|
@@ -7054,14 +7054,14 @@ function yr({
|
|
|
7054
7054
|
}
|
|
7055
7055
|
);
|
|
7056
7056
|
}
|
|
7057
|
-
|
|
7058
|
-
function
|
|
7059
|
-
const e =
|
|
7057
|
+
Nr.displayName = "FormCard";
|
|
7058
|
+
function R6() {
|
|
7059
|
+
const e = Ys(), t = e?.activeForm;
|
|
7060
7060
|
if (!t)
|
|
7061
7061
|
return null;
|
|
7062
7062
|
const n = t.cardTitle, o = t.cardDescription, s = (e?.getFillVersion(t.formName) ?? 0) > 0;
|
|
7063
7063
|
return !n || !o || !s ? null : /* @__PURE__ */ r("div", { className: "mt-2 w-full", children: /* @__PURE__ */ r(
|
|
7064
|
-
|
|
7064
|
+
Nr,
|
|
7065
7065
|
{
|
|
7066
7066
|
formName: t.formName,
|
|
7067
7067
|
formDescription: t.description,
|
|
@@ -7073,8 +7073,8 @@ function L6() {
|
|
|
7073
7073
|
}
|
|
7074
7074
|
) });
|
|
7075
7075
|
}
|
|
7076
|
-
const
|
|
7077
|
-
function
|
|
7076
|
+
const F6 = 2;
|
|
7077
|
+
function N6(e, t) {
|
|
7078
7078
|
if (!e.intersectsNode(t))
|
|
7079
7079
|
return null;
|
|
7080
7080
|
const n = document.createRange();
|
|
@@ -7082,12 +7082,12 @@ function y6(e, t) {
|
|
|
7082
7082
|
const o = e.cloneRange();
|
|
7083
7083
|
o.compareBoundaryPoints(Range.START_TO_START, n) < 0 && o.setStart(n.startContainer, n.startOffset), o.compareBoundaryPoints(Range.END_TO_END, n) > 0 && o.setEnd(n.endContainer, n.endOffset);
|
|
7084
7084
|
const s = o.toString().trim();
|
|
7085
|
-
if (s.length <
|
|
7085
|
+
if (s.length < F6)
|
|
7086
7086
|
return null;
|
|
7087
7087
|
const a = o.getBoundingClientRect();
|
|
7088
7088
|
return { rect: a.width > 0 || a.height > 0 ? a : t.getBoundingClientRect(), text: s };
|
|
7089
7089
|
}
|
|
7090
|
-
function
|
|
7090
|
+
function Sr({
|
|
7091
7091
|
containerRef: e,
|
|
7092
7092
|
enabled: t = !0
|
|
7093
7093
|
}) {
|
|
@@ -7104,7 +7104,7 @@ function Mr({
|
|
|
7104
7104
|
o(null);
|
|
7105
7105
|
return;
|
|
7106
7106
|
}
|
|
7107
|
-
o(
|
|
7107
|
+
o(N6(f.getRangeAt(0), a));
|
|
7108
7108
|
}, d = () => {
|
|
7109
7109
|
window.setTimeout(i, 0);
|
|
7110
7110
|
}, l = () => {
|
|
@@ -7117,7 +7117,7 @@ function Mr({
|
|
|
7117
7117
|
}, [e, t]), { anchor: n, clear: s };
|
|
7118
7118
|
}
|
|
7119
7119
|
const rt = 8, Ie = 8;
|
|
7120
|
-
function
|
|
7120
|
+
function Tr({ anchor: e, onReply: t }) {
|
|
7121
7121
|
const n = j(), o = I(null), [s, a] = B(
|
|
7122
7122
|
null
|
|
7123
7123
|
);
|
|
@@ -7143,7 +7143,7 @@ function Rr({ anchor: e, onReply: t }) {
|
|
|
7143
7143
|
}, [e]), typeof document > "u" || !e)
|
|
7144
7144
|
return null;
|
|
7145
7145
|
const i = n.ai.reply;
|
|
7146
|
-
return
|
|
7146
|
+
return ar(
|
|
7147
7147
|
/* @__PURE__ */ r(
|
|
7148
7148
|
"div",
|
|
7149
7149
|
{
|
|
@@ -7175,7 +7175,7 @@ function Rr({ anchor: e, onReply: t }) {
|
|
|
7175
7175
|
document.body
|
|
7176
7176
|
);
|
|
7177
7177
|
}
|
|
7178
|
-
const
|
|
7178
|
+
const Vr = Xe(void 0), _9 = () => Pe(Vr), S6 = (e) => /* @__PURE__ */ r(Jt, { content: e, format: "markdown" }), T6 = ({
|
|
7179
7179
|
isGenerating: e,
|
|
7180
7180
|
isLoading: t,
|
|
7181
7181
|
message: n,
|
|
@@ -7184,24 +7184,24 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7184
7184
|
onRendered: a,
|
|
7185
7185
|
renderMarkdown: i
|
|
7186
7186
|
}) => {
|
|
7187
|
-
const d = typeof n?.content == "string" ? n.content : "", l = (n && o?.(n)) ?? n?.generativeUI?.() ?? null, f = n?.toolCalls?.[0]?.id, u = !d && !l, C = I(null), { anchor: v, clear: h } =
|
|
7187
|
+
const d = typeof n?.content == "string" ? n.content : "", l = (n && o?.(n)) ?? n?.generativeUI?.() ?? null, f = n?.toolCalls?.[0]?.id, u = !d && !l, C = I(null), { anchor: v, clear: h } = Sr({
|
|
7188
7188
|
containerRef: C,
|
|
7189
7189
|
enabled: !!(n?.id && d)
|
|
7190
7190
|
});
|
|
7191
7191
|
return z(() => {
|
|
7192
7192
|
n?.id && !t && !e && a?.(n);
|
|
7193
|
-
}, [n, t, e, a]), !t && !e && u ? null : /* @__PURE__ */ r(
|
|
7193
|
+
}, [n, t, e, a]), !t && !e && u ? null : /* @__PURE__ */ r(Vr.Provider, { value: f, children: /* @__PURE__ */ c("div", { className: "relative isolate flex w-full flex-col items-start justify-center", children: [
|
|
7194
7194
|
n && d ? /* @__PURE__ */ r(
|
|
7195
7195
|
"div",
|
|
7196
7196
|
{
|
|
7197
7197
|
ref: C,
|
|
7198
7198
|
className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
|
|
7199
|
-
children: (i ??
|
|
7199
|
+
children: (i ?? S6)(d)
|
|
7200
7200
|
}
|
|
7201
7201
|
) : null,
|
|
7202
7202
|
l ? /* @__PURE__ */ r("div", { className: "w-full", children: l }) : null,
|
|
7203
7203
|
/* @__PURE__ */ r(
|
|
7204
|
-
|
|
7204
|
+
Tr,
|
|
7205
7205
|
{
|
|
7206
7206
|
anchor: v,
|
|
7207
7207
|
onReply: (p) => {
|
|
@@ -7210,7 +7210,7 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7210
7210
|
}
|
|
7211
7211
|
)
|
|
7212
7212
|
] }) });
|
|
7213
|
-
},
|
|
7213
|
+
}, V6 = ({
|
|
7214
7214
|
onClose: e,
|
|
7215
7215
|
onSubmit: t,
|
|
7216
7216
|
reactionType: n,
|
|
@@ -7229,7 +7229,7 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7229
7229
|
document.removeEventListener("keydown", v);
|
|
7230
7230
|
};
|
|
7231
7231
|
}, [u]), /* @__PURE__ */ r(
|
|
7232
|
-
|
|
7232
|
+
Ks,
|
|
7233
7233
|
{
|
|
7234
7234
|
position: "center",
|
|
7235
7235
|
isOpen: !0,
|
|
@@ -7246,7 +7246,7 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7246
7246
|
onClick: C
|
|
7247
7247
|
},
|
|
7248
7248
|
children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-6", children: /* @__PURE__ */ r(
|
|
7249
|
-
|
|
7249
|
+
Qs,
|
|
7250
7250
|
{
|
|
7251
7251
|
autoFocus: !0,
|
|
7252
7252
|
label: l,
|
|
@@ -7259,7 +7259,7 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7259
7259
|
) })
|
|
7260
7260
|
}
|
|
7261
7261
|
);
|
|
7262
|
-
},
|
|
7262
|
+
}, Ar = Xe(null), A6 = ({ children: e }) => {
|
|
7263
7263
|
const [t, n] = B(null), o = t ? {
|
|
7264
7264
|
isOpen: !0,
|
|
7265
7265
|
currentReaction: t.action,
|
|
@@ -7273,32 +7273,32 @@ const Fr = Xe(void 0), I9 = () => Pe(Fr), M6 = (e) => /* @__PURE__ */ r(Xt, { co
|
|
|
7273
7273
|
open: (s, a) => n({ action: s, message: a }),
|
|
7274
7274
|
close: () => n(null)
|
|
7275
7275
|
};
|
|
7276
|
-
return /* @__PURE__ */ r(
|
|
7277
|
-
},
|
|
7278
|
-
const e = Pe(
|
|
7276
|
+
return /* @__PURE__ */ r(Ar.Provider, { value: o, children: e });
|
|
7277
|
+
}, Er = () => {
|
|
7278
|
+
const e = Pe(Ar);
|
|
7279
7279
|
if (e === null)
|
|
7280
7280
|
throw new Error(
|
|
7281
7281
|
"useFeedbackModal must be used within a FeedbackModalProvider"
|
|
7282
7282
|
);
|
|
7283
7283
|
return e;
|
|
7284
7284
|
};
|
|
7285
|
-
function
|
|
7286
|
-
const t =
|
|
7285
|
+
function E6(e) {
|
|
7286
|
+
const t = Er();
|
|
7287
7287
|
return { modal: t, handleSubmit: (s, a) => {
|
|
7288
7288
|
(t.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: a }), t.close();
|
|
7289
7289
|
}, handleClose: (s) => {
|
|
7290
7290
|
(t.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: "" }), t.close();
|
|
7291
7291
|
} };
|
|
7292
7292
|
}
|
|
7293
|
-
const
|
|
7293
|
+
const H6 = ({
|
|
7294
7294
|
content: e,
|
|
7295
7295
|
targetMessage: t,
|
|
7296
7296
|
onCopy: n
|
|
7297
7297
|
}) => {
|
|
7298
|
-
const o = j(), { open: s } =
|
|
7298
|
+
const o = j(), { open: s } = Er(), [a, i] = B(null);
|
|
7299
7299
|
return /* @__PURE__ */ c("div", { className: "flex", children: [
|
|
7300
7300
|
/* @__PURE__ */ r(
|
|
7301
|
-
|
|
7301
|
+
Js,
|
|
7302
7302
|
{
|
|
7303
7303
|
size: "md",
|
|
7304
7304
|
variant: "ghost",
|
|
@@ -7323,7 +7323,7 @@ const T6 = ({
|
|
|
7323
7323
|
re,
|
|
7324
7324
|
{
|
|
7325
7325
|
size: "md",
|
|
7326
|
-
icon: a === "like" ?
|
|
7326
|
+
icon: a === "like" ? hr : fr,
|
|
7327
7327
|
color: "default"
|
|
7328
7328
|
}
|
|
7329
7329
|
) })
|
|
@@ -7344,14 +7344,14 @@ const T6 = ({
|
|
|
7344
7344
|
re,
|
|
7345
7345
|
{
|
|
7346
7346
|
size: "md",
|
|
7347
|
-
icon: a === "dislike" ?
|
|
7347
|
+
icon: a === "dislike" ? ur : dr,
|
|
7348
7348
|
color: "default"
|
|
7349
7349
|
}
|
|
7350
7350
|
) })
|
|
7351
7351
|
}
|
|
7352
7352
|
)
|
|
7353
7353
|
] });
|
|
7354
|
-
},
|
|
7354
|
+
}, $6 = ({
|
|
7355
7355
|
icon: e,
|
|
7356
7356
|
title: t,
|
|
7357
7357
|
children: n,
|
|
@@ -7362,7 +7362,7 @@ const T6 = ({
|
|
|
7362
7362
|
}) => {
|
|
7363
7363
|
const [d, l] = B(s), f = he(), u = o !== void 0, C = u ? o : d;
|
|
7364
7364
|
return /* @__PURE__ */ c(
|
|
7365
|
-
|
|
7365
|
+
er,
|
|
7366
7366
|
{
|
|
7367
7367
|
className: "mb-1 w-full",
|
|
7368
7368
|
open: C,
|
|
@@ -7371,7 +7371,7 @@ const T6 = ({
|
|
|
7371
7371
|
},
|
|
7372
7372
|
children: [
|
|
7373
7373
|
/* @__PURE__ */ c(
|
|
7374
|
-
|
|
7374
|
+
tr,
|
|
7375
7375
|
{
|
|
7376
7376
|
disabled: i,
|
|
7377
7377
|
className: b(
|
|
@@ -7385,7 +7385,7 @@ const T6 = ({
|
|
|
7385
7385
|
]
|
|
7386
7386
|
}
|
|
7387
7387
|
),
|
|
7388
|
-
/* @__PURE__ */ r(
|
|
7388
|
+
/* @__PURE__ */ r(rr, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ r(
|
|
7389
7389
|
K.div,
|
|
7390
7390
|
{
|
|
7391
7391
|
initial: !1,
|
|
@@ -7405,7 +7405,7 @@ const T6 = ({
|
|
|
7405
7405
|
]
|
|
7406
7406
|
}
|
|
7407
7407
|
);
|
|
7408
|
-
},
|
|
7408
|
+
}, I6 = 1e3, B6 = 1e3, Hr = ({
|
|
7409
7409
|
startedAt: e
|
|
7410
7410
|
}) => {
|
|
7411
7411
|
const t = j(), [n, o] = B(
|
|
@@ -7419,16 +7419,16 @@ const T6 = ({
|
|
|
7419
7419
|
o(Date.now() - e);
|
|
7420
7420
|
const l = setInterval(() => {
|
|
7421
7421
|
o(Date.now() - e);
|
|
7422
|
-
},
|
|
7422
|
+
}, B6);
|
|
7423
7423
|
return () => clearInterval(l);
|
|
7424
|
-
}, [e]), e === null || n <
|
|
7424
|
+
}, [e]), e === null || n < I6)
|
|
7425
7425
|
return null;
|
|
7426
7426
|
const s = Math.floor(n / 1e3), a = Math.floor(s / 60), i = s % 60, d = a > 0 ? t.t("ai.thinkingElapsedMinutes", { minutes: a, seconds: i }) : t.t("ai.thinkingElapsedSeconds", { seconds: i });
|
|
7427
7427
|
return /* @__PURE__ */ c("span", { "aria-hidden": !0, className: "whitespace-nowrap tabular-nums", children: [
|
|
7428
7428
|
/* @__PURE__ */ r("span", { className: "px-1 text-f1-foreground-tertiary", children: "·" }),
|
|
7429
7429
|
d
|
|
7430
7430
|
] });
|
|
7431
|
-
},
|
|
7431
|
+
}, P6 = ({
|
|
7432
7432
|
titles: e,
|
|
7433
7433
|
title: t,
|
|
7434
7434
|
inProgress: n,
|
|
@@ -7441,9 +7441,9 @@ const T6 = ({
|
|
|
7441
7441
|
}, [n, i]);
|
|
7442
7442
|
const f = n ? a.ai.thoughtsGroupTitle : t ?? a.ai.thoughtsGroupTitle, u = e.length - 1, C = (v) => !n || o ? "completed" : v === u ? "executing" : "completed";
|
|
7443
7443
|
return /* @__PURE__ */ r(
|
|
7444
|
-
|
|
7444
|
+
$6,
|
|
7445
7445
|
{
|
|
7446
|
-
icon:
|
|
7446
|
+
icon: ir,
|
|
7447
7447
|
title: f,
|
|
7448
7448
|
open: i,
|
|
7449
7449
|
onOpenChange: d,
|
|
@@ -7454,7 +7454,7 @@ const T6 = ({
|
|
|
7454
7454
|
{
|
|
7455
7455
|
title: v,
|
|
7456
7456
|
status: C(h),
|
|
7457
|
-
suffix: C(h) === "executing" ? /* @__PURE__ */ r(
|
|
7457
|
+
suffix: C(h) === "executing" ? /* @__PURE__ */ r(Hr, { startedAt: s }) : void 0,
|
|
7458
7458
|
inGroup: !0
|
|
7459
7459
|
}
|
|
7460
7460
|
),
|
|
@@ -7469,7 +7469,7 @@ const T6 = ({
|
|
|
7469
7469
|
}
|
|
7470
7470
|
);
|
|
7471
7471
|
};
|
|
7472
|
-
function
|
|
7472
|
+
function D6(e) {
|
|
7473
7473
|
if (typeof e == "string")
|
|
7474
7474
|
return e;
|
|
7475
7475
|
if (Array.isArray(e)) {
|
|
@@ -7477,7 +7477,7 @@ function $6(e) {
|
|
|
7477
7477
|
return t[t.length - 1];
|
|
7478
7478
|
}
|
|
7479
7479
|
}
|
|
7480
|
-
function
|
|
7480
|
+
function _6(e, t) {
|
|
7481
7481
|
const n = Array.isArray(e) ? e.filter((o) => o.type === "binary").map((o) => ({
|
|
7482
7482
|
url: o.url,
|
|
7483
7483
|
filename: o.filename,
|
|
@@ -7489,13 +7489,13 @@ function I6(e, t) {
|
|
|
7489
7489
|
(o) => typeof o?.filename == "string" && typeof o?.mimetype == "string" && typeof o?.url == "string"
|
|
7490
7490
|
);
|
|
7491
7491
|
}
|
|
7492
|
-
const
|
|
7492
|
+
const $r = (e) => /* @__PURE__ */ r(Jt, { content: e, format: "markdown" }), O6 = ({
|
|
7493
7493
|
text: e,
|
|
7494
7494
|
renderMarkdown: t
|
|
7495
7495
|
}) => /* @__PURE__ */ c("div", { className: "flex max-w-[90%] items-start gap-2 self-end pb-1 pr-2 text-f1-foreground-tertiary", children: [
|
|
7496
7496
|
/* @__PURE__ */ r("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ r(re, { icon: C1 }) }),
|
|
7497
|
-
/* @__PURE__ */ r("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (t ??
|
|
7498
|
-
] }),
|
|
7497
|
+
/* @__PURE__ */ r("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (t ?? $r)(e) })
|
|
7498
|
+
] }), j6 = ({
|
|
7499
7499
|
message: e,
|
|
7500
7500
|
onReplyQuote: t,
|
|
7501
7501
|
autoScrollIntoView: n = !0,
|
|
@@ -7507,10 +7507,10 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7507
7507
|
behavior: "smooth"
|
|
7508
7508
|
});
|
|
7509
7509
|
}, [n]);
|
|
7510
|
-
const i = e.rawData, d =
|
|
7510
|
+
const i = e.rawData, d = _6(
|
|
7511
7511
|
e?.content,
|
|
7512
7512
|
i
|
|
7513
|
-
), l = (
|
|
7513
|
+
), l = (D6(e?.content) ?? "").trim(), f = e?.replyQuote ?? null, u = l.length > 0, { anchor: C, clear: v } = Sr({
|
|
7514
7514
|
containerRef: a,
|
|
7515
7515
|
enabled: u
|
|
7516
7516
|
});
|
|
@@ -7520,7 +7520,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7520
7520
|
ref: s,
|
|
7521
7521
|
className: "my-4 flex w-full flex-col items-end gap-2 first:mt-0 last:mb-0",
|
|
7522
7522
|
children: [
|
|
7523
|
-
f ? /* @__PURE__ */ r(
|
|
7523
|
+
f ? /* @__PURE__ */ r(O6, { text: f, renderMarkdown: o }) : null,
|
|
7524
7524
|
d.length > 0 ? /* @__PURE__ */ r("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((h, p) => /* @__PURE__ */ r(
|
|
7525
7525
|
Ut,
|
|
7526
7526
|
{
|
|
@@ -7534,11 +7534,11 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7534
7534
|
{
|
|
7535
7535
|
ref: a,
|
|
7536
7536
|
className: "w-fit max-w-[90%] self-end whitespace-pre-wrap rounded-xl bg-f1-background-tertiary px-4 py-3 [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
|
|
7537
|
-
children: (o ??
|
|
7537
|
+
children: (o ?? $r)(l)
|
|
7538
7538
|
}
|
|
7539
7539
|
) : null,
|
|
7540
7540
|
/* @__PURE__ */ r(
|
|
7541
|
-
|
|
7541
|
+
Tr,
|
|
7542
7542
|
{
|
|
7543
7543
|
anchor: C,
|
|
7544
7544
|
onReply: (h) => {
|
|
@@ -7549,7 +7549,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7549
7549
|
]
|
|
7550
7550
|
}
|
|
7551
7551
|
);
|
|
7552
|
-
},
|
|
7552
|
+
}, Z6 = 35, U6 = 22, z6 = 400, G6 = 2500, W6 = 220, q6 = ({
|
|
7553
7553
|
phrase: e,
|
|
7554
7554
|
typed: t,
|
|
7555
7555
|
phraseIndex: n,
|
|
@@ -7581,7 +7581,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7581
7581
|
},
|
|
7582
7582
|
n
|
|
7583
7583
|
);
|
|
7584
|
-
},
|
|
7584
|
+
}, X6 = ({
|
|
7585
7585
|
messages: e,
|
|
7586
7586
|
caption: t,
|
|
7587
7587
|
subtitle: n,
|
|
@@ -7601,16 +7601,16 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7601
7601
|
return;
|
|
7602
7602
|
let m;
|
|
7603
7603
|
if (u === "starting")
|
|
7604
|
-
m = setTimeout(() => C("writing"),
|
|
7604
|
+
m = setTimeout(() => C("writing"), z6);
|
|
7605
7605
|
else if (u === "writing")
|
|
7606
|
-
l < h.length ? m = setTimeout(() => f((L) => L + 1),
|
|
7606
|
+
l < h.length ? m = setTimeout(() => f((L) => L + 1), Z6) : C("holding");
|
|
7607
7607
|
else if (u === "holding") {
|
|
7608
7608
|
if (e.length <= 1)
|
|
7609
7609
|
return;
|
|
7610
|
-
m = setTimeout(() => C("erasing"),
|
|
7611
|
-
} else u === "erasing" && (l > 0 ? m = setTimeout(() => f((L) => L - 1),
|
|
7610
|
+
m = setTimeout(() => C("erasing"), G6);
|
|
7611
|
+
} else u === "erasing" && (l > 0 ? m = setTimeout(() => f((L) => L - 1), U6) : m = setTimeout(() => {
|
|
7612
7612
|
d((L) => (L + 1) % e.length), C("starting");
|
|
7613
|
-
},
|
|
7613
|
+
}, W6));
|
|
7614
7614
|
return () => {
|
|
7615
7615
|
m && clearTimeout(m);
|
|
7616
7616
|
};
|
|
@@ -7635,7 +7635,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7635
7635
|
) : null,
|
|
7636
7636
|
t ? /* @__PURE__ */ r("p", { className: "animate-in fade-in-0 text-center text-2xl font-semibold leading-[28px] text-f1-foreground-secondary duration-500", children: t }) : null,
|
|
7637
7637
|
/* @__PURE__ */ r(
|
|
7638
|
-
|
|
7638
|
+
q6,
|
|
7639
7639
|
{
|
|
7640
7640
|
phrase: h,
|
|
7641
7641
|
typed: l,
|
|
@@ -7647,7 +7647,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7647
7647
|
] })
|
|
7648
7648
|
}
|
|
7649
7649
|
);
|
|
7650
|
-
},
|
|
7650
|
+
}, Y6 = (e, t) => {
|
|
7651
7651
|
const [n, o] = B(null);
|
|
7652
7652
|
return z(() => {
|
|
7653
7653
|
if (!e) {
|
|
@@ -7657,7 +7657,7 @@ const Vr = (e) => /* @__PURE__ */ r(Xt, { content: e, format: "markdown" }), B6
|
|
|
7657
7657
|
o((s) => s ?? t ?? Date.now());
|
|
7658
7658
|
}, [e, t]), n;
|
|
7659
7659
|
};
|
|
7660
|
-
function
|
|
7660
|
+
function K6({
|
|
7661
7661
|
viewportRef: e,
|
|
7662
7662
|
contentRef: t,
|
|
7663
7663
|
endRef: n,
|
|
@@ -7708,13 +7708,13 @@ function W6({
|
|
|
7708
7708
|
}), s === 0 && f(!1), u.current = s;
|
|
7709
7709
|
}, [s, o, e]), { showScrollBtn: l, turnMinHeight: i, scrollToBottom: v };
|
|
7710
7710
|
}
|
|
7711
|
-
const
|
|
7711
|
+
const Q6 = {
|
|
7712
7712
|
threadId: "",
|
|
7713
7713
|
onThumbsUp: () => {
|
|
7714
7714
|
},
|
|
7715
7715
|
onThumbsDown: () => {
|
|
7716
7716
|
}
|
|
7717
|
-
},
|
|
7717
|
+
}, O9 = (e) => /* @__PURE__ */ r(A6, { children: /* @__PURE__ */ r(J6, { ...e }) }), J6 = ({
|
|
7718
7718
|
turns: e,
|
|
7719
7719
|
isLoadingThread: t = !1,
|
|
7720
7720
|
interrupt: n,
|
|
@@ -7738,19 +7738,19 @@ const q6 = {
|
|
|
7738
7738
|
onRegenerate: T,
|
|
7739
7739
|
onCopy: k
|
|
7740
7740
|
}) => {
|
|
7741
|
-
const { modal: x, handleSubmit: H, handleClose: y } =
|
|
7742
|
-
h ??
|
|
7743
|
-
), $ = j(), M = E ??
|
|
7741
|
+
const { modal: x, handleSubmit: H, handleClose: y } = E6(
|
|
7742
|
+
h ?? Q6
|
|
7743
|
+
), $ = j(), M = E ?? T6, G = A ?? j6, Q = W(() => {
|
|
7744
7744
|
const Z = o ?? $.ai.defaultInitialMessage;
|
|
7745
7745
|
return (Array.isArray(Z) ? Z : [Z]).filter((Ce) => typeof Ce == "string" && Ce.length > 0);
|
|
7746
|
-
}, [o, $.ai.defaultInitialMessage]), oe = !t && e.length === 0 && Q.length > 0, J = I(null), q = I(null), X = I(null), O = I(null), D = I(null), { showScrollBtn: Y, turnMinHeight: ie, scrollToBottom: se } =
|
|
7746
|
+
}, [o, $.ai.defaultInitialMessage]), oe = !t && e.length === 0 && Q.length > 0, J = I(null), q = I(null), X = I(null), O = I(null), D = I(null), { showScrollBtn: Y, turnMinHeight: ie, scrollToBottom: se } = K6({
|
|
7747
7747
|
viewportRef: J,
|
|
7748
7748
|
contentRef: q,
|
|
7749
7749
|
endRef: X,
|
|
7750
7750
|
lastTurnRef: D,
|
|
7751
7751
|
turnsCount: e.length,
|
|
7752
7752
|
freezeTurnMinHeight: p
|
|
7753
|
-
}), ae = e[e.length - 1], we = !!(ae && (ae.endIndicator === "thinking" || ae.thinking?.inProgress)), xe =
|
|
7753
|
+
}), ae = e[e.length - 1], we = !!(ae && (ae.endIndicator === "thinking" || ae.thinking?.inProgress)), xe = Y6(
|
|
7754
7754
|
we,
|
|
7755
7755
|
ae?.thinking?.startedAt
|
|
7756
7756
|
), be = (Z, ce) => {
|
|
@@ -7819,7 +7819,7 @@ const q6 = {
|
|
|
7819
7819
|
(V, S) => N(V, S)
|
|
7820
7820
|
),
|
|
7821
7821
|
Z.thinking && Z.thinking.titles.length > 0 ? /* @__PURE__ */ r(
|
|
7822
|
-
|
|
7822
|
+
P6,
|
|
7823
7823
|
{
|
|
7824
7824
|
titles: Z.thinking.titles,
|
|
7825
7825
|
title: $.ai.thoughtsGroupTitle,
|
|
@@ -7836,19 +7836,19 @@ const q6 = {
|
|
|
7836
7836
|
{
|
|
7837
7837
|
title: $.ai.thinking,
|
|
7838
7838
|
status: "executing",
|
|
7839
|
-
suffix: /* @__PURE__ */ r(
|
|
7839
|
+
suffix: /* @__PURE__ */ r(Hr, { startedAt: xe })
|
|
7840
7840
|
}
|
|
7841
7841
|
) : null,
|
|
7842
7842
|
Z.endIndicator === "activity" ? /* @__PURE__ */ r(c1, { status: "writing" }) : null,
|
|
7843
7843
|
Z.feedback ? /* @__PURE__ */ r(
|
|
7844
|
-
|
|
7844
|
+
H6,
|
|
7845
7845
|
{
|
|
7846
7846
|
content: Z.feedback.content,
|
|
7847
7847
|
targetMessage: Z.feedback.targetMessage,
|
|
7848
7848
|
onCopy: k
|
|
7849
7849
|
}
|
|
7850
7850
|
) : null,
|
|
7851
|
-
Ce ? /* @__PURE__ */ r(
|
|
7851
|
+
Ce ? /* @__PURE__ */ r(R6, {}) : null
|
|
7852
7852
|
]
|
|
7853
7853
|
},
|
|
7854
7854
|
`turn-${ce}`
|
|
@@ -7882,9 +7882,9 @@ const q6 = {
|
|
|
7882
7882
|
"w-full max-w-content"
|
|
7883
7883
|
),
|
|
7884
7884
|
children: [
|
|
7885
|
-
t ? /* @__PURE__ */ r(
|
|
7885
|
+
t ? /* @__PURE__ */ r(e4, {}) : null,
|
|
7886
7886
|
oe ? /* @__PURE__ */ r(
|
|
7887
|
-
|
|
7887
|
+
X6,
|
|
7888
7888
|
{
|
|
7889
7889
|
messages: Q,
|
|
7890
7890
|
caption: s,
|
|
@@ -7932,7 +7932,7 @@ const q6 = {
|
|
|
7932
7932
|
] }) : null
|
|
7933
7933
|
] }),
|
|
7934
7934
|
x.isOpen ? /* @__PURE__ */ r(
|
|
7935
|
-
|
|
7935
|
+
V6,
|
|
7936
7936
|
{
|
|
7937
7937
|
onSubmit: H,
|
|
7938
7938
|
onClose: y,
|
|
@@ -7941,38 +7941,38 @@ const q6 = {
|
|
|
7941
7941
|
}
|
|
7942
7942
|
) : null
|
|
7943
7943
|
] });
|
|
7944
|
-
},
|
|
7944
|
+
}, e4 = () => /* @__PURE__ */ r("div", { className: "flex h-full w-full max-w-content flex-col gap-6", children: /* @__PURE__ */ c("div", { className: "flex flex-col gap-2", children: [
|
|
7945
7945
|
/* @__PURE__ */ r("div", { className: "flex justify-end", children: /* @__PURE__ */ r(fe, { className: "h-12 w-2/5 rounded-full" }) }),
|
|
7946
7946
|
/* @__PURE__ */ r(fe, { className: "mt-6 h-5 w-full rounded-md" }),
|
|
7947
7947
|
/* @__PURE__ */ r(fe, { className: "h-5 w-2/5 rounded-md" }),
|
|
7948
7948
|
/* @__PURE__ */ r(fe, { className: "h-5 w-4/5 rounded-md" })
|
|
7949
|
-
] }) }),
|
|
7950
|
-
ai:
|
|
7951
|
-
},
|
|
7952
|
-
function
|
|
7949
|
+
] }) }), j9 = {
|
|
7950
|
+
ai: xa.ai
|
|
7951
|
+
}, Ir = Xe(null);
|
|
7952
|
+
function Z9({
|
|
7953
7953
|
children: e,
|
|
7954
7954
|
translations: t
|
|
7955
7955
|
}) {
|
|
7956
|
-
return /* @__PURE__ */ r(
|
|
7956
|
+
return /* @__PURE__ */ r(Ir.Provider, { value: t, children: e });
|
|
7957
7957
|
}
|
|
7958
|
-
function
|
|
7959
|
-
const e = Pe(
|
|
7958
|
+
function U9() {
|
|
7959
|
+
const e = Pe(Ir);
|
|
7960
7960
|
if (e === null)
|
|
7961
7961
|
throw new Error(
|
|
7962
7962
|
"useAiChatTranslations must be used within an AiChatTranslationsProvider"
|
|
7963
7963
|
);
|
|
7964
7964
|
return e;
|
|
7965
7965
|
}
|
|
7966
|
-
function
|
|
7966
|
+
function t4() {
|
|
7967
7967
|
const { canvasEntities: e } = ve();
|
|
7968
7968
|
return e;
|
|
7969
7969
|
}
|
|
7970
|
-
function
|
|
7971
|
-
const t =
|
|
7970
|
+
function z9(e) {
|
|
7971
|
+
const t = t4();
|
|
7972
7972
|
if (!(!e || !t))
|
|
7973
7973
|
return t[e];
|
|
7974
7974
|
}
|
|
7975
|
-
const
|
|
7975
|
+
const r4 = ({
|
|
7976
7976
|
canProceed: e,
|
|
7977
7977
|
submitDisabled: t,
|
|
7978
7978
|
label: n,
|
|
@@ -8003,7 +8003,7 @@ const Q6 = ({
|
|
|
8003
8003
|
}
|
|
8004
8004
|
)
|
|
8005
8005
|
] });
|
|
8006
|
-
},
|
|
8006
|
+
}, Br = ({ isSelected: e }) => /* @__PURE__ */ r(
|
|
8007
8007
|
"div",
|
|
8008
8008
|
{
|
|
8009
8009
|
className: b(
|
|
@@ -8012,7 +8012,7 @@ const Q6 = ({
|
|
|
8012
8012
|
),
|
|
8013
8013
|
children: e ? /* @__PURE__ */ r("div", { className: "h-2 w-2 rounded-full bg-f1-background" }) : null
|
|
8014
8014
|
}
|
|
8015
|
-
), nt = 132,
|
|
8015
|
+
), nt = 132, n4 = ({
|
|
8016
8016
|
mode: e,
|
|
8017
8017
|
hasSelection: t,
|
|
8018
8018
|
hasCustomText: n,
|
|
@@ -8025,7 +8025,7 @@ const Q6 = ({
|
|
|
8025
8025
|
onToggleActive: f,
|
|
8026
8026
|
onConfirm: u
|
|
8027
8027
|
}) => {
|
|
8028
|
-
const v = j().ai.clarifyingQuestion.typeYourAnswer, h = I(null), p =
|
|
8028
|
+
const v = j().ai.clarifyingQuestion.typeYourAnswer, h = I(null), p = wa(h, i);
|
|
8029
8029
|
qe(() => {
|
|
8030
8030
|
const m = h.current;
|
|
8031
8031
|
if (!m)
|
|
@@ -8034,8 +8034,8 @@ const Q6 = ({
|
|
|
8034
8034
|
const L = Math.min(m.scrollHeight, nt);
|
|
8035
8035
|
m.style.height = `${L}px`, m.style.overflowY = m.scrollHeight > nt ? "auto" : "hidden";
|
|
8036
8036
|
}, [o]);
|
|
8037
|
-
const w = e === "single" ? /* @__PURE__ */ r(
|
|
8038
|
-
|
|
8037
|
+
const w = e === "single" ? /* @__PURE__ */ r(Br, { isSelected: n && !t }) : /* @__PURE__ */ r(
|
|
8038
|
+
nr,
|
|
8039
8039
|
{
|
|
8040
8040
|
checked: s,
|
|
8041
8041
|
onCheckedChange: () => f(!s),
|
|
@@ -8071,7 +8071,7 @@ const Q6 = ({
|
|
|
8071
8071
|
]
|
|
8072
8072
|
}
|
|
8073
8073
|
);
|
|
8074
|
-
},
|
|
8074
|
+
}, Pr = g(
|
|
8075
8075
|
({ option: e, isSelected: t, mode: n, isTabStop: o, onToggle: s, onKeyNavigate: a }, i) => n === "single" ? /* @__PURE__ */ c(
|
|
8076
8076
|
"div",
|
|
8077
8077
|
{
|
|
@@ -8092,7 +8092,7 @@ const Q6 = ({
|
|
|
8092
8092
|
a?.(d);
|
|
8093
8093
|
},
|
|
8094
8094
|
children: [
|
|
8095
|
-
/* @__PURE__ */ r(
|
|
8095
|
+
/* @__PURE__ */ r(Br, { isSelected: t }),
|
|
8096
8096
|
/* @__PURE__ */ r("span", { className: "text-base font-normal text-f1-foreground", children: e.label })
|
|
8097
8097
|
]
|
|
8098
8098
|
}
|
|
@@ -8105,7 +8105,7 @@ const Q6 = ({
|
|
|
8105
8105
|
),
|
|
8106
8106
|
children: [
|
|
8107
8107
|
/* @__PURE__ */ r(
|
|
8108
|
-
|
|
8108
|
+
nr,
|
|
8109
8109
|
{
|
|
8110
8110
|
checked: t,
|
|
8111
8111
|
onCheckedChange: () => s(e.id),
|
|
@@ -8125,8 +8125,8 @@ const Q6 = ({
|
|
|
8125
8125
|
}
|
|
8126
8126
|
)
|
|
8127
8127
|
);
|
|
8128
|
-
|
|
8129
|
-
const
|
|
8128
|
+
Pr.displayName = "OptionRow";
|
|
8129
|
+
const o4 = [0.23, 1, 0.32, 1], s4 = 0.2, a4 = 0.03, i4 = 4, l4 = ({
|
|
8130
8130
|
mode: e,
|
|
8131
8131
|
question: t,
|
|
8132
8132
|
options: n,
|
|
@@ -8181,12 +8181,12 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8181
8181
|
}
|
|
8182
8182
|
y.preventDefault(), T(M), k.current[M]?.focus();
|
|
8183
8183
|
}, H = (y) => ({
|
|
8184
|
-
initial: L ? !1 : { opacity: 0, y:
|
|
8184
|
+
initial: L ? !1 : { opacity: 0, y: i4 },
|
|
8185
8185
|
animate: { opacity: 1, y: 0 },
|
|
8186
8186
|
transition: {
|
|
8187
|
-
duration: L ? 0 :
|
|
8188
|
-
ease:
|
|
8189
|
-
delay: L ? 0 : y *
|
|
8187
|
+
duration: L ? 0 : s4,
|
|
8188
|
+
ease: o4,
|
|
8189
|
+
delay: L ? 0 : y * a4
|
|
8190
8190
|
}
|
|
8191
8191
|
});
|
|
8192
8192
|
return /* @__PURE__ */ c(
|
|
@@ -8197,7 +8197,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8197
8197
|
"aria-label": t,
|
|
8198
8198
|
children: [
|
|
8199
8199
|
n.map((y, $) => /* @__PURE__ */ r(K.div, { ...H($), children: /* @__PURE__ */ r(
|
|
8200
|
-
|
|
8200
|
+
Pr,
|
|
8201
8201
|
{
|
|
8202
8202
|
ref: (M) => {
|
|
8203
8203
|
k.current[$] = M;
|
|
@@ -8211,7 +8211,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8211
8211
|
}
|
|
8212
8212
|
) }, y.id)),
|
|
8213
8213
|
s ? /* @__PURE__ */ r(K.div, { ...H(n.length), children: /* @__PURE__ */ r(
|
|
8214
|
-
|
|
8214
|
+
n4,
|
|
8215
8215
|
{
|
|
8216
8216
|
mode: e,
|
|
8217
8217
|
hasSelection: a,
|
|
@@ -8229,7 +8229,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8229
8229
|
]
|
|
8230
8230
|
}
|
|
8231
8231
|
);
|
|
8232
|
-
},
|
|
8232
|
+
}, c4 = ({
|
|
8233
8233
|
question: e,
|
|
8234
8234
|
stepLabel: t,
|
|
8235
8235
|
isFirstStep: n,
|
|
@@ -8291,16 +8291,16 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8291
8291
|
}
|
|
8292
8292
|
)
|
|
8293
8293
|
] });
|
|
8294
|
-
}, ot = "easeOut",
|
|
8294
|
+
}, ot = "easeOut", d4 = 0.15, u4 = 0.1, G9 = ({
|
|
8295
8295
|
clarifyingQuestion: e,
|
|
8296
8296
|
isSubmitDisabled: t
|
|
8297
8297
|
}) => /* @__PURE__ */ r(
|
|
8298
|
-
|
|
8298
|
+
f4,
|
|
8299
8299
|
{
|
|
8300
8300
|
clarifyingQuestion: e,
|
|
8301
8301
|
isSubmitDisabled: t
|
|
8302
8302
|
}
|
|
8303
|
-
),
|
|
8303
|
+
), f4 = ({
|
|
8304
8304
|
clarifyingQuestion: e,
|
|
8305
8305
|
isSubmitDisabled: t
|
|
8306
8306
|
}) => {
|
|
@@ -8341,7 +8341,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8341
8341
|
});
|
|
8342
8342
|
}, we = (Z) => {
|
|
8343
8343
|
Z.key === "Escape" && (Z.preventDefault(), u());
|
|
8344
|
-
}, xe = o ? 0 :
|
|
8344
|
+
}, xe = o ? 0 : d4, be = o ? 0 : u4;
|
|
8345
8345
|
return /* @__PURE__ */ c("div", { className: "flex flex-col", onKeyDown: we, children: [
|
|
8346
8346
|
/* @__PURE__ */ r("div", { className: "flex flex-col gap-3 pt-3", children: /* @__PURE__ */ r(ke, { mode: "wait", initial: !1, children: /* @__PURE__ */ c(
|
|
8347
8347
|
K.div,
|
|
@@ -8355,7 +8355,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8355
8355
|
exit: { opacity: 0, transition: { duration: be, ease: ot } },
|
|
8356
8356
|
children: [
|
|
8357
8357
|
/* @__PURE__ */ r(
|
|
8358
|
-
|
|
8358
|
+
c4,
|
|
8359
8359
|
{
|
|
8360
8360
|
question: w,
|
|
8361
8361
|
stepLabel: Q,
|
|
@@ -8368,7 +8368,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8368
8368
|
}
|
|
8369
8369
|
),
|
|
8370
8370
|
/* @__PURE__ */ r(
|
|
8371
|
-
|
|
8371
|
+
l4,
|
|
8372
8372
|
{
|
|
8373
8373
|
mode: y,
|
|
8374
8374
|
question: w,
|
|
@@ -8393,7 +8393,7 @@ const e4 = [0.23, 1, 0.32, 1], t4 = 0.2, r4 = 0.03, n4 = 4, o4 = ({
|
|
|
8393
8393
|
a
|
|
8394
8394
|
) }) }),
|
|
8395
8395
|
/* @__PURE__ */ r(
|
|
8396
|
-
|
|
8396
|
+
r4,
|
|
8397
8397
|
{
|
|
8398
8398
|
canProceed: q,
|
|
8399
8399
|
submitDisabled: X,
|
|
@@ -8525,7 +8525,7 @@ function at(e, t, n) {
|
|
|
8525
8525
|
}
|
|
8526
8526
|
return o;
|
|
8527
8527
|
}
|
|
8528
|
-
function
|
|
8528
|
+
function h4(e, t, n) {
|
|
8529
8529
|
const o = at(e, e.VERTEX_SHADER, t), s = at(e, e.FRAGMENT_SHADER, n), a = e.createProgram();
|
|
8530
8530
|
if (!a)
|
|
8531
8531
|
throw new Error("Failed to create program");
|
|
@@ -8535,7 +8535,7 @@ function c4(e, t, n) {
|
|
|
8535
8535
|
}
|
|
8536
8536
|
return e.deleteShader(o), e.deleteShader(s), a;
|
|
8537
8537
|
}
|
|
8538
|
-
const
|
|
8538
|
+
const C4 = `#version 300 es
|
|
8539
8539
|
precision lowp float;
|
|
8540
8540
|
|
|
8541
8541
|
in vec2 vUV;
|
|
@@ -8742,7 +8742,7 @@ void main() {
|
|
|
8742
8742
|
|
|
8743
8743
|
outColor = vec4(color, alpha);
|
|
8744
8744
|
}
|
|
8745
|
-
`,
|
|
8745
|
+
`, p4 = `#version 300 es
|
|
8746
8746
|
|
|
8747
8747
|
in vec2 aPosition;
|
|
8748
8748
|
in vec2 aUV;
|
|
@@ -8751,7 +8751,7 @@ void main() {
|
|
|
8751
8751
|
vUV = aUV;
|
|
8752
8752
|
gl_Position = vec4(aPosition, 0.0, 1.0);
|
|
8753
8753
|
}
|
|
8754
|
-
`,
|
|
8754
|
+
`, m4 = [
|
|
8755
8755
|
"rgb(229, 25, 67)",
|
|
8756
8756
|
// #E51943 red
|
|
8757
8757
|
"rgb(229, 86, 25)",
|
|
@@ -8761,14 +8761,14 @@ void main() {
|
|
|
8761
8761
|
"rgb(161, 173, 229)"
|
|
8762
8762
|
// #A1ADE5 light blue
|
|
8763
8763
|
];
|
|
8764
|
-
function
|
|
8764
|
+
function g4(e) {
|
|
8765
8765
|
const t = e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
|
|
8766
8766
|
if (!t)
|
|
8767
8767
|
throw new Error(`Invalid color format: ${e}`);
|
|
8768
8768
|
const [, n, o, s] = t;
|
|
8769
8769
|
return [parseInt(n, 10) / 255, parseInt(o, 10) / 255, parseInt(s, 10) / 255];
|
|
8770
8770
|
}
|
|
8771
|
-
class
|
|
8771
|
+
class W9 {
|
|
8772
8772
|
element;
|
|
8773
8773
|
canvas;
|
|
8774
8774
|
options;
|
|
@@ -8928,7 +8928,7 @@ class Z9 {
|
|
|
8928
8928
|
});
|
|
8929
8929
|
if (!t)
|
|
8930
8930
|
throw new Error("WebGL2 is required but not available.");
|
|
8931
|
-
const n =
|
|
8931
|
+
const n = h4(t, p4, C4);
|
|
8932
8932
|
this.checkGLError(t, "setupGL: after createProgram");
|
|
8933
8933
|
const o = t.createVertexArray();
|
|
8934
8934
|
t.bindVertexArray(o), this.checkGLError(t, "setupGL: after VAO creation");
|
|
@@ -8947,7 +8947,7 @@ class Z9 {
|
|
|
8947
8947
|
t.enableVertexAttribArray(C), t.vertexAttribPointer(C, 2, t.FLOAT, !1, 0, 0), this.checkGLError(t, "setupGL: after UV buffer setup");
|
|
8948
8948
|
const v = t.getUniformLocation(n, "uResolution"), h = t.getUniformLocation(n, "uTime"), p = t.getUniformLocation(n, "uBorderWidth"), w = t.getUniformLocation(n, "uGlowWidth"), m = t.getUniformLocation(n, "uBorderRadius"), L = t.getUniformLocation(n, "uColors"), E = t.getUniformLocation(n, "uGlowExponent"), A = t.getUniformLocation(n, "uGlowFactor");
|
|
8949
8949
|
t.useProgram(n), t.uniform1f(p, this.options.borderWidth), t.uniform1f(w, this.options.glowWidth), t.uniform1f(m, this.options.borderRadius), this.options.mode === "dark" ? (t.uniform1f(E, 2), t.uniform1f(A, 1.8)) : (t.uniform1f(E, 1), t.uniform1f(A, 1));
|
|
8950
|
-
const T = (this.options.colors ||
|
|
8950
|
+
const T = (this.options.colors || m4).map(g4);
|
|
8951
8951
|
for (let k = 0; k < T.length; k++)
|
|
8952
8952
|
t.uniform3f(
|
|
8953
8953
|
t.getUniformLocation(n, `uColors[${k}]`),
|
|
@@ -8974,7 +8974,7 @@ class Z9 {
|
|
|
8974
8974
|
n.useProgram(o), n.bindVertexArray(s), n.uniform1f(a, t), n.disable(n.DEPTH_TEST), n.disable(n.CULL_FACE), n.disable(n.BLEND), n.clearColor(0, 0, 0, 0), n.clear(n.COLOR_BUFFER_BIT), n.drawArrays(n.TRIANGLES, 0, 24), this.checkGLError(n, "render: after draw call"), n.bindVertexArray(null);
|
|
8975
8975
|
}
|
|
8976
8976
|
}
|
|
8977
|
-
const
|
|
8977
|
+
const v4 = 10, w4 = 2, x4 = 0.5, b4 = 0.2, L4 = 1.5, pe = {
|
|
8978
8978
|
duration: 0.5,
|
|
8979
8979
|
ease: "easeOut"
|
|
8980
8980
|
}, it = {
|
|
@@ -8984,22 +8984,22 @@ const C4 = 10, p4 = 2, m4 = 0.5, g4 = 0.2, v4 = 1.5, pe = {
|
|
|
8984
8984
|
repeatType: "mirror"
|
|
8985
8985
|
};
|
|
8986
8986
|
function Ue(e) {
|
|
8987
|
-
const [t, n] = B(e), o =
|
|
8988
|
-
|
|
8987
|
+
const [t, n] = B(e), o = ea(e), s = I(null);
|
|
8988
|
+
Ra(o, "change", (i) => n(i));
|
|
8989
8989
|
const a = P(
|
|
8990
8990
|
(i, d) => {
|
|
8991
|
-
s.current =
|
|
8991
|
+
s.current = ta(o, i, d);
|
|
8992
8992
|
},
|
|
8993
8993
|
[o]
|
|
8994
8994
|
);
|
|
8995
8995
|
return { value: t, motionValue: o, controls: s, animate: a };
|
|
8996
8996
|
}
|
|
8997
|
-
function
|
|
8998
|
-
const [n, o] = B(
|
|
8997
|
+
function k4(e, t) {
|
|
8998
|
+
const [n, o] = B(v4), {
|
|
8999
8999
|
value: s,
|
|
9000
9000
|
animate: a,
|
|
9001
9001
|
motionValue: i
|
|
9002
|
-
} = Ue(
|
|
9002
|
+
} = Ue(b4), { value: d, animate: l } = Ue(w4), { value: f, animate: u } = Ue(x4), { value: C, animate: v } = Ue(L4), h = ba(t, {
|
|
9003
9003
|
fftSize: 512,
|
|
9004
9004
|
smoothingTimeConstant: 0.55
|
|
9005
9005
|
});
|
|
@@ -9047,40 +9047,40 @@ function w4(e, t) {
|
|
|
9047
9047
|
brightness: C
|
|
9048
9048
|
};
|
|
9049
9049
|
}
|
|
9050
|
-
const lt = ["lowp", "mediump", "highp"],
|
|
9050
|
+
const lt = ["lowp", "mediump", "highp"], y4 = `
|
|
9051
9051
|
void main(void){
|
|
9052
9052
|
vec4 color = vec4(0.0,0.0,0.0,1.0);
|
|
9053
9053
|
mainImage( color, gl_FragCoord.xy );
|
|
9054
9054
|
gl_FragColor = color;
|
|
9055
|
-
}`,
|
|
9055
|
+
}`, M4 = `void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
|
|
9056
9056
|
vec2 uv = fragCoord/iResolution.xy;
|
|
9057
9057
|
vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
|
|
9058
9058
|
fragColor = vec4(col,1.0);
|
|
9059
9059
|
}`, ct = `attribute vec3 aVertexPosition;
|
|
9060
9060
|
void main(void) {
|
|
9061
9061
|
gl_Position = vec4(aVertexPosition, 1.0);
|
|
9062
|
-
}`, dt = "iTime", ut = "iTimeDelta", ft = "iDate", ht = "iFrame", Ct = "iMouse", pt = "iResolution",
|
|
9063
|
-
function
|
|
9062
|
+
}`, dt = "iTime", ut = "iTimeDelta", ft = "iDate", ht = "iFrame", Ct = "iMouse", pt = "iResolution", R4 = "iChannel", mt = "iChannelResolution", gt = "iDeviceOrientation";
|
|
9063
|
+
function F4(e, t) {
|
|
9064
9064
|
return e.includes("Matrix") && Array.isArray(t);
|
|
9065
9065
|
}
|
|
9066
|
-
function
|
|
9066
|
+
function N4(e, t) {
|
|
9067
9067
|
return e.includes("v") && Array.isArray(t) && t.length > Number.parseInt(e.charAt(0), 10);
|
|
9068
9068
|
}
|
|
9069
|
-
function
|
|
9070
|
-
if (
|
|
9069
|
+
function S4(e, t) {
|
|
9070
|
+
if (F4(e, t)) {
|
|
9071
9071
|
const n = Number.parseInt(e.charAt(e.length - 3), 10);
|
|
9072
9072
|
return t.length > n * n ? `[${Math.floor(t.length / (n * n))}]` : void 0;
|
|
9073
9073
|
}
|
|
9074
|
-
if (
|
|
9074
|
+
if (N4(e, t)) {
|
|
9075
9075
|
const n = Number.parseInt(e.charAt(0), 10);
|
|
9076
9076
|
return `[${Math.floor(t.length / n)}]`;
|
|
9077
9077
|
}
|
|
9078
9078
|
}
|
|
9079
|
-
function
|
|
9079
|
+
function T4(e, t) {
|
|
9080
9080
|
return !e.includes("v") && Array.isArray(t) && t.length > Number.parseInt(e.charAt(0), 10);
|
|
9081
9081
|
}
|
|
9082
|
-
const
|
|
9083
|
-
if (
|
|
9082
|
+
const V4 = (e, t, n, o) => {
|
|
9083
|
+
if (T4(n, o))
|
|
9084
9084
|
switch (n) {
|
|
9085
9085
|
case "2f":
|
|
9086
9086
|
return e.uniform2f(t, o[0], o[1]);
|
|
@@ -9121,7 +9121,7 @@ const F4 = (e, t, n, o) => {
|
|
|
9121
9121
|
case "Matrix4fv":
|
|
9122
9122
|
return e.uniformMatrix4fv(t, !1, o);
|
|
9123
9123
|
}
|
|
9124
|
-
},
|
|
9124
|
+
}, A4 = (e) => {
|
|
9125
9125
|
switch (e) {
|
|
9126
9126
|
case "1f":
|
|
9127
9127
|
return "float";
|
|
@@ -9168,8 +9168,8 @@ const F4 = (e, t, n, o) => {
|
|
|
9168
9168
|
)
|
|
9169
9169
|
);
|
|
9170
9170
|
}
|
|
9171
|
-
}, i1 = 9729, vt = 9728,
|
|
9172
|
-
class
|
|
9171
|
+
}, i1 = 9729, vt = 9728, E4 = 9987, wt = 33071, xt = 10497;
|
|
9172
|
+
class H4 {
|
|
9173
9173
|
gl;
|
|
9174
9174
|
url;
|
|
9175
9175
|
wrapS;
|
|
@@ -9301,7 +9301,7 @@ class T4 {
|
|
|
9301
9301
|
), n.texParameteri(
|
|
9302
9302
|
n.TEXTURE_2D,
|
|
9303
9303
|
n.TEXTURE_MIN_FILTER,
|
|
9304
|
-
this.minFilter ||
|
|
9304
|
+
this.minFilter || E4
|
|
9305
9305
|
), n.texParameteri(
|
|
9306
9306
|
n.TEXTURE_2D,
|
|
9307
9307
|
n.TEXTURE_MAG_FILTER,
|
|
@@ -9315,8 +9315,8 @@ const Me = (e) => `react-shaders: ${e}`, bt = (e) => {
|
|
|
9315
9315
|
return [t?.clientX ?? 0, t?.clientY ?? 0];
|
|
9316
9316
|
}
|
|
9317
9317
|
return [e.clientX, e.clientY];
|
|
9318
|
-
}, Lt = (e, t, n) => e * (1 - n) + t * n,
|
|
9319
|
-
function
|
|
9318
|
+
}, Lt = (e, t, n) => e * (1 - n) + t * n, $4 = (e, t, n) => n > 0 ? e.substring(0, n) + t + e.substring(n, e.length) : t + e;
|
|
9319
|
+
function I4({
|
|
9320
9320
|
fs: e,
|
|
9321
9321
|
vs: t = ct,
|
|
9322
9322
|
textures: n = [],
|
|
@@ -9459,10 +9459,10 @@ ${N}`));
|
|
|
9459
9459
|
const N = o[F];
|
|
9460
9460
|
if (!N)
|
|
9461
9461
|
continue;
|
|
9462
|
-
const { value: R, type: V } = N, S =
|
|
9462
|
+
const { value: R, type: V } = N, S = A4(V);
|
|
9463
9463
|
if (!S)
|
|
9464
9464
|
continue;
|
|
9465
|
-
const _ =
|
|
9465
|
+
const _ = S4(V, R);
|
|
9466
9466
|
M.current[F] = {
|
|
9467
9467
|
type: S,
|
|
9468
9468
|
isNeeded: !1,
|
|
@@ -9481,10 +9481,10 @@ ${N}`));
|
|
|
9481
9481
|
value: []
|
|
9482
9482
|
};
|
|
9483
9483
|
const N = n.map(
|
|
9484
|
-
(R, V) => (M.current[`${
|
|
9484
|
+
(R, V) => (M.current[`${R4}${V}`] = {
|
|
9485
9485
|
type: "sampler2D",
|
|
9486
9486
|
isNeeded: !1
|
|
9487
|
-
}, Q(R, V), H.current[V] = new
|
|
9487
|
+
}, Q(R, V), H.current[V] = new H4(F), H.current[V]?.load(R).then((S) => Q(S, V)))
|
|
9488
9488
|
);
|
|
9489
9489
|
Promise.all(N).then(() => {
|
|
9490
9490
|
u && u();
|
|
@@ -9507,14 +9507,14 @@ ${N}`));
|
|
|
9507
9507
|
const ee = M.current[_];
|
|
9508
9508
|
if (!ee)
|
|
9509
9509
|
continue;
|
|
9510
|
-
V =
|
|
9510
|
+
V = $4(
|
|
9511
9511
|
V,
|
|
9512
9512
|
`uniform ${ee.type} ${_}${ee.arraySize || ""};
|
|
9513
9513
|
`,
|
|
9514
9514
|
V.lastIndexOf(R) + R.length
|
|
9515
9515
|
), ee.isNeeded = !0;
|
|
9516
9516
|
}
|
|
9517
|
-
return F.includes("mainImage") && (V = V.concat(
|
|
9517
|
+
return F.includes("mainImage") && (V = V.concat(y4)), V;
|
|
9518
9518
|
}, be = (F) => {
|
|
9519
9519
|
const N = p.current;
|
|
9520
9520
|
if (!N || !m.current)
|
|
@@ -9534,7 +9534,7 @@ ${N}`));
|
|
|
9534
9534
|
);
|
|
9535
9535
|
if (!ee)
|
|
9536
9536
|
return;
|
|
9537
|
-
|
|
9537
|
+
V4(
|
|
9538
9538
|
N,
|
|
9539
9539
|
ee,
|
|
9540
9540
|
_.type,
|
|
@@ -9659,7 +9659,7 @@ ${N}`));
|
|
|
9659
9659
|
function N() {
|
|
9660
9660
|
oe();
|
|
9661
9661
|
const R = p.current;
|
|
9662
|
-
R && h.current && (R.clearColor(...s), R.clearDepth(1), R.enable(R.DEPTH_TEST), R.depthFunc(R.LEQUAL), R.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, ae(), we(), se(xe(e ||
|
|
9662
|
+
R && h.current && (R.clearColor(...s), R.clearDepth(1), R.enable(R.DEPTH_TEST), R.depthFunc(R.LEQUAL), R.viewport(0, 0, h.current.width, h.current.height), h.current.height = h.current.clientHeight, h.current.width = h.current.clientWidth, ae(), we(), se(xe(e || M4), t || ct), J(), requestAnimationFrame(Z), ce(), Y());
|
|
9663
9663
|
}
|
|
9664
9664
|
return requestAnimationFrame(N), () => {
|
|
9665
9665
|
const R = p.current;
|
|
@@ -9679,7 +9679,7 @@ ${N}`));
|
|
|
9679
9679
|
}
|
|
9680
9680
|
);
|
|
9681
9681
|
}
|
|
9682
|
-
const
|
|
9682
|
+
const B4 = `
|
|
9683
9683
|
const float TAU = 6.283185;
|
|
9684
9684
|
|
|
9685
9685
|
// Noise for dithering
|
|
@@ -9846,7 +9846,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
9846
9846
|
float alpha = mappedBrightness * clamp(uMix, 1.0, 2.0);
|
|
9847
9847
|
fragColor = vec4(color, alpha);
|
|
9848
9848
|
}
|
|
9849
|
-
}`,
|
|
9849
|
+
}`, P4 = _e({
|
|
9850
9850
|
base: "aspect-square",
|
|
9851
9851
|
variants: {
|
|
9852
9852
|
size: {
|
|
@@ -9861,7 +9861,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
9861
9861
|
size: "lg"
|
|
9862
9862
|
}
|
|
9863
9863
|
});
|
|
9864
|
-
function
|
|
9864
|
+
function D4(e) {
|
|
9865
9865
|
const t = e.match(
|
|
9866
9866
|
/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
9867
9867
|
);
|
|
@@ -9870,7 +9870,7 @@ function $4(e) {
|
|
|
9870
9870
|
return [n, o, s].map((i = "00") => parseInt(i, 16) / 255);
|
|
9871
9871
|
}
|
|
9872
9872
|
}
|
|
9873
|
-
function
|
|
9873
|
+
function Dr({
|
|
9874
9874
|
shape: e = 1,
|
|
9875
9875
|
speed: t = 1,
|
|
9876
9876
|
amplitude: n = 0.5,
|
|
@@ -9885,11 +9885,11 @@ function $r({
|
|
|
9885
9885
|
className: C,
|
|
9886
9886
|
...v
|
|
9887
9887
|
}) {
|
|
9888
|
-
const h = W(() =>
|
|
9888
|
+
const h = W(() => D4(i), [i]);
|
|
9889
9889
|
return /* @__PURE__ */ r("div", { ref: u, className: C, ...v, children: /* @__PURE__ */ r(
|
|
9890
|
-
|
|
9890
|
+
I4,
|
|
9891
9891
|
{
|
|
9892
|
-
fs:
|
|
9892
|
+
fs: B4,
|
|
9893
9893
|
devicePixelRatio: globalThis.devicePixelRatio ?? 1,
|
|
9894
9894
|
uniforms: {
|
|
9895
9895
|
// Aurora wave speed
|
|
@@ -9931,8 +9931,8 @@ function $r({
|
|
|
9931
9931
|
}
|
|
9932
9932
|
) });
|
|
9933
9933
|
}
|
|
9934
|
-
|
|
9935
|
-
function
|
|
9934
|
+
Dr.displayName = "AuraShader";
|
|
9935
|
+
function q9({
|
|
9936
9936
|
size: e = "lg",
|
|
9937
9937
|
state: t,
|
|
9938
9938
|
color: n,
|
|
@@ -9943,9 +9943,9 @@ function U9({
|
|
|
9943
9943
|
ref: d,
|
|
9944
9944
|
...l
|
|
9945
9945
|
}) {
|
|
9946
|
-
const { speed: f, scale: u, amplitude: C, frequency: v, brightness: h } =
|
|
9946
|
+
const { speed: f, scale: u, amplitude: C, frequency: v, brightness: h } = k4(t, s);
|
|
9947
9947
|
return /* @__PURE__ */ r(
|
|
9948
|
-
|
|
9948
|
+
Dr,
|
|
9949
9949
|
{
|
|
9950
9950
|
ref: d,
|
|
9951
9951
|
blur: 0.2,
|
|
@@ -9958,7 +9958,7 @@ function U9({
|
|
|
9958
9958
|
frequency: v,
|
|
9959
9959
|
brightness: h,
|
|
9960
9960
|
className: b(
|
|
9961
|
-
|
|
9961
|
+
P4({ size: e }),
|
|
9962
9962
|
"overflow-hidden rounded-full",
|
|
9963
9963
|
i
|
|
9964
9964
|
),
|
|
@@ -9966,7 +9966,7 @@ function U9({
|
|
|
9966
9966
|
}
|
|
9967
9967
|
);
|
|
9968
9968
|
}
|
|
9969
|
-
const
|
|
9969
|
+
const X9 = ({
|
|
9970
9970
|
text: e,
|
|
9971
9971
|
description: t,
|
|
9972
9972
|
avatar: n,
|
|
@@ -9991,7 +9991,7 @@ const z9 = ({
|
|
|
9991
9991
|
onClick: i
|
|
9992
9992
|
}
|
|
9993
9993
|
}
|
|
9994
|
-
),
|
|
9994
|
+
), _4 = _e({
|
|
9995
9995
|
base: [
|
|
9996
9996
|
"relative flex flex-col rounded-2xl bg-f1-background",
|
|
9997
9997
|
"border border-solid border-f1-border-secondary",
|
|
@@ -10007,20 +10007,20 @@ const z9 = ({
|
|
|
10007
10007
|
defaultVariants: {
|
|
10008
10008
|
selected: !1
|
|
10009
10009
|
}
|
|
10010
|
-
}),
|
|
10010
|
+
}), _r = _e({
|
|
10011
10011
|
base: "text-lg font-semibold text-f1-foreground line-clamp-3"
|
|
10012
|
-
}),
|
|
10012
|
+
}), O4 = _e({
|
|
10013
10013
|
base: "text-sm text-f1-foreground-secondary leading-normal"
|
|
10014
|
-
}),
|
|
10014
|
+
}), Or = _e({
|
|
10015
10015
|
base: "text-sm font-medium text-f1-foreground leading-normal"
|
|
10016
|
-
}),
|
|
10016
|
+
}), j4 = ({
|
|
10017
10017
|
description: e,
|
|
10018
10018
|
isRevealed: t,
|
|
10019
10019
|
onAskOne: n
|
|
10020
10020
|
}) => {
|
|
10021
10021
|
const o = j(), s = he();
|
|
10022
10022
|
return /* @__PURE__ */ c(Fe, { children: [
|
|
10023
|
-
e ? /* @__PURE__ */ r("span", { className: b(
|
|
10023
|
+
e ? /* @__PURE__ */ r("span", { className: b(O4(), "truncate"), children: e }) : null,
|
|
10024
10024
|
/* @__PURE__ */ r(ke, { children: n && t ? /* @__PURE__ */ r(
|
|
10025
10025
|
K.div,
|
|
10026
10026
|
{
|
|
@@ -10033,7 +10033,7 @@ const z9 = ({
|
|
|
10033
10033
|
ease: [0.33, 1, 0.68, 1]
|
|
10034
10034
|
},
|
|
10035
10035
|
children: /* @__PURE__ */ r(
|
|
10036
|
-
|
|
10036
|
+
ra,
|
|
10037
10037
|
{
|
|
10038
10038
|
size: "md",
|
|
10039
10039
|
label: o.ai.ask,
|
|
@@ -10045,7 +10045,7 @@ const z9 = ({
|
|
|
10045
10045
|
}
|
|
10046
10046
|
) : null })
|
|
10047
10047
|
] });
|
|
10048
|
-
},
|
|
10048
|
+
}, Z4 = /* @__PURE__ */ new Set([
|
|
10049
10049
|
"person",
|
|
10050
10050
|
"people",
|
|
10051
10051
|
"team",
|
|
@@ -10057,16 +10057,16 @@ const z9 = ({
|
|
|
10057
10057
|
children: t
|
|
10058
10058
|
}) => /* @__PURE__ */ c("div", { className: "flex items-center gap-1", children: [
|
|
10059
10059
|
t,
|
|
10060
|
-
e ? /* @__PURE__ */ r("span", { className: b(
|
|
10061
|
-
] }),
|
|
10062
|
-
|
|
10060
|
+
e ? /* @__PURE__ */ r("span", { className: b(Or()), children: e }) : null
|
|
10061
|
+
] }), U4 = ({ balance: e }) => /* @__PURE__ */ r(
|
|
10062
|
+
aa,
|
|
10063
10063
|
{
|
|
10064
10064
|
amount: e.amount,
|
|
10065
10065
|
percentage: e.percentage ?? void 0,
|
|
10066
10066
|
invertStatus: e.invertStatus,
|
|
10067
10067
|
hint: e.hint
|
|
10068
10068
|
}
|
|
10069
|
-
),
|
|
10069
|
+
), z4 = (e) => {
|
|
10070
10070
|
const { label: t } = e;
|
|
10071
10071
|
return e.content === "person" ? /* @__PURE__ */ r(l1, { label: t, children: /* @__PURE__ */ r(
|
|
10072
10072
|
Wt,
|
|
@@ -10076,8 +10076,8 @@ const z9 = ({
|
|
|
10076
10076
|
src: e.avatar.src,
|
|
10077
10077
|
size: "xs"
|
|
10078
10078
|
}
|
|
10079
|
-
) }) : e.content === "people" ? /* @__PURE__ */ r(
|
|
10080
|
-
|
|
10079
|
+
) }) : e.content === "people" ? /* @__PURE__ */ r(na, { type: "person", avatars: e.avatars, size: "md", max: 3 }) : e.content === "team" ? /* @__PURE__ */ r(l1, { label: t, children: /* @__PURE__ */ r(
|
|
10080
|
+
oa,
|
|
10081
10081
|
{
|
|
10082
10082
|
name: e.avatar.name,
|
|
10083
10083
|
src: e.avatar.src,
|
|
@@ -10090,8 +10090,8 @@ const z9 = ({
|
|
|
10090
10090
|
src: e.avatar.src,
|
|
10091
10091
|
size: "xs"
|
|
10092
10092
|
}
|
|
10093
|
-
) }) : e.content === "alert" ? /* @__PURE__ */ r(
|
|
10094
|
-
},
|
|
10093
|
+
) }) : e.content === "alert" ? /* @__PURE__ */ r(sa, { text: e.alertLabel, level: e.level }) : e.content === "balance" ? /* @__PURE__ */ r(U4, { balance: e.balance }) : null;
|
|
10094
|
+
}, G4 = (e) => {
|
|
10095
10095
|
const {
|
|
10096
10096
|
heading: t,
|
|
10097
10097
|
label: n,
|
|
@@ -10100,27 +10100,27 @@ const z9 = ({
|
|
|
10100
10100
|
fadeTransition: a
|
|
10101
10101
|
} = e;
|
|
10102
10102
|
return /* @__PURE__ */ c("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
10103
|
-
/* @__PURE__ */ r("span", { className: b(
|
|
10103
|
+
/* @__PURE__ */ r("span", { className: b(_r()), children: t }),
|
|
10104
10104
|
/* @__PURE__ */ r(
|
|
10105
10105
|
K.div,
|
|
10106
10106
|
{
|
|
10107
10107
|
className: "flex flex-1 flex-col justify-end gap-2",
|
|
10108
10108
|
animate: { opacity: s ? 0 : 1 },
|
|
10109
10109
|
transition: a,
|
|
10110
|
-
children: /* @__PURE__ */ r(
|
|
10110
|
+
children: /* @__PURE__ */ r(z4, { ...e })
|
|
10111
10111
|
}
|
|
10112
10112
|
),
|
|
10113
|
-
n && !
|
|
10113
|
+
n && !Z4.has(o) ? /* @__PURE__ */ r(
|
|
10114
10114
|
K.span,
|
|
10115
10115
|
{
|
|
10116
|
-
className: b(
|
|
10116
|
+
className: b(Or()),
|
|
10117
10117
|
animate: { opacity: s ? 0 : 1 },
|
|
10118
10118
|
transition: a,
|
|
10119
10119
|
children: n
|
|
10120
10120
|
}
|
|
10121
10121
|
) : null
|
|
10122
10122
|
] });
|
|
10123
|
-
},
|
|
10123
|
+
}, jr = {
|
|
10124
10124
|
positive: {
|
|
10125
10125
|
stroke: "hsl(var(--positive-50))",
|
|
10126
10126
|
fill: "hsl(var(--positive-50))",
|
|
@@ -10137,21 +10137,21 @@ const z9 = ({
|
|
|
10137
10137
|
border: "border-f1-border"
|
|
10138
10138
|
}
|
|
10139
10139
|
};
|
|
10140
|
-
function
|
|
10140
|
+
function W4(e, t) {
|
|
10141
10141
|
const n = e[0]?.value ?? 0, o = e[e.length - 1]?.value ?? 0, s = Math.sign(o - n), a = t ? s * -1 : s;
|
|
10142
10142
|
return a > 0 ? "positive" : a < 0 ? "negative" : "neutral";
|
|
10143
10143
|
}
|
|
10144
|
-
const
|
|
10144
|
+
const q4 = ({
|
|
10145
10145
|
cx: e,
|
|
10146
10146
|
cy: t,
|
|
10147
10147
|
index: n,
|
|
10148
10148
|
dataLength: o,
|
|
10149
10149
|
color: s
|
|
10150
|
-
}) => n !== o - 1 || e == null || t == null ? null : /* @__PURE__ */ r("circle", { cx: e, cy: t, r: 2, fill: s, stroke: "none" }),
|
|
10150
|
+
}) => n !== o - 1 || e == null || t == null ? null : /* @__PURE__ */ r("circle", { cx: e, cy: t, r: 2, fill: s, stroke: "none" }), X4 = ({
|
|
10151
10151
|
label: e,
|
|
10152
10152
|
direction: t
|
|
10153
10153
|
}) => {
|
|
10154
|
-
const n =
|
|
10154
|
+
const n = jr[t];
|
|
10155
10155
|
return /* @__PURE__ */ r(
|
|
10156
10156
|
"span",
|
|
10157
10157
|
{
|
|
@@ -10169,12 +10169,12 @@ const U4 = ({
|
|
|
10169
10169
|
children: e
|
|
10170
10170
|
}
|
|
10171
10171
|
);
|
|
10172
|
-
},
|
|
10172
|
+
}, Y4 = ({
|
|
10173
10173
|
data: e,
|
|
10174
10174
|
label: t,
|
|
10175
10175
|
invertStatus: n
|
|
10176
10176
|
}) => {
|
|
10177
|
-
const s = `sparkline-gradient-${ze().replace(/:/g, "")}`, a =
|
|
10177
|
+
const s = `sparkline-gradient-${ze().replace(/:/g, "")}`, a = W4(e, n), i = jr[a];
|
|
10178
10178
|
return /* @__PURE__ */ r("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ c(
|
|
10179
10179
|
"div",
|
|
10180
10180
|
{
|
|
@@ -10182,8 +10182,8 @@ const U4 = ({
|
|
|
10182
10182
|
role: "img",
|
|
10183
10183
|
"aria-label": `Sparkline chart showing ${a} trend`,
|
|
10184
10184
|
children: [
|
|
10185
|
-
/* @__PURE__ */ r(
|
|
10186
|
-
|
|
10185
|
+
/* @__PURE__ */ r(ia, { width: "100%", height: "100%", children: /* @__PURE__ */ c(
|
|
10186
|
+
la,
|
|
10187
10187
|
{
|
|
10188
10188
|
data: e,
|
|
10189
10189
|
margin: { top: 4, right: 4, bottom: 0, left: 0 },
|
|
@@ -10192,9 +10192,9 @@ const U4 = ({
|
|
|
10192
10192
|
/* @__PURE__ */ r("stop", { offset: "5%", stopColor: i.fill, stopOpacity: 0.3 }),
|
|
10193
10193
|
/* @__PURE__ */ r("stop", { offset: "95%", stopColor: i.fill, stopOpacity: 0.02 })
|
|
10194
10194
|
] }) }),
|
|
10195
|
-
/* @__PURE__ */ r(
|
|
10195
|
+
/* @__PURE__ */ r(ca, { hide: !0, domain: ["dataMin - 1", "dataMax + 1"] }),
|
|
10196
10196
|
/* @__PURE__ */ r(
|
|
10197
|
-
|
|
10197
|
+
da,
|
|
10198
10198
|
{
|
|
10199
10199
|
type: "linear",
|
|
10200
10200
|
dataKey: "value",
|
|
@@ -10203,8 +10203,8 @@ const U4 = ({
|
|
|
10203
10203
|
fill: `url(#${s})`,
|
|
10204
10204
|
fillOpacity: 1,
|
|
10205
10205
|
isAnimationActive: !1,
|
|
10206
|
-
dot: (d) => /* @__PURE__ */
|
|
10207
|
-
|
|
10206
|
+
dot: (d) => /* @__PURE__ */ gn(
|
|
10207
|
+
q4,
|
|
10208
10208
|
{
|
|
10209
10209
|
...d,
|
|
10210
10210
|
key: d.index,
|
|
@@ -10218,11 +10218,11 @@ const U4 = ({
|
|
|
10218
10218
|
]
|
|
10219
10219
|
}
|
|
10220
10220
|
) }),
|
|
10221
|
-
/* @__PURE__ */ r(
|
|
10221
|
+
/* @__PURE__ */ r(X4, { label: t, direction: a })
|
|
10222
10222
|
]
|
|
10223
10223
|
}
|
|
10224
10224
|
) });
|
|
10225
|
-
},
|
|
10225
|
+
}, Zr = g(
|
|
10226
10226
|
(e, t) => {
|
|
10227
10227
|
const {
|
|
10228
10228
|
description: n,
|
|
@@ -10275,7 +10275,7 @@ const U4 = ({
|
|
|
10275
10275
|
role: i ? "button" : void 0,
|
|
10276
10276
|
tabIndex: i ? 0 : void 0,
|
|
10277
10277
|
className: b(
|
|
10278
|
-
|
|
10278
|
+
_4({ selected: a }),
|
|
10279
10279
|
a && "relative border-transparent",
|
|
10280
10280
|
i && "cursor-pointer select-none",
|
|
10281
10281
|
i && le(),
|
|
@@ -10289,7 +10289,7 @@ const U4 = ({
|
|
|
10289
10289
|
onBlur: () => h(!1),
|
|
10290
10290
|
children: [
|
|
10291
10291
|
/* @__PURE__ */ r(
|
|
10292
|
-
|
|
10292
|
+
j4,
|
|
10293
10293
|
{
|
|
10294
10294
|
description: n,
|
|
10295
10295
|
isRevealed: p,
|
|
@@ -10297,7 +10297,7 @@ const U4 = ({
|
|
|
10297
10297
|
}
|
|
10298
10298
|
),
|
|
10299
10299
|
f.content === "sparkline" ? /* @__PURE__ */ c("div", { className: "flex flex-1 flex-col gap-2", children: [
|
|
10300
|
-
/* @__PURE__ */ r("span", { className: b(
|
|
10300
|
+
/* @__PURE__ */ r("span", { className: b(_r()), children: o }),
|
|
10301
10301
|
/* @__PURE__ */ r(
|
|
10302
10302
|
K.div,
|
|
10303
10303
|
{
|
|
@@ -10305,7 +10305,7 @@ const U4 = ({
|
|
|
10305
10305
|
animate: { opacity: m ? 0 : 1 },
|
|
10306
10306
|
transition: L,
|
|
10307
10307
|
children: /* @__PURE__ */ r(
|
|
10308
|
-
|
|
10308
|
+
Y4,
|
|
10309
10309
|
{
|
|
10310
10310
|
data: f.data,
|
|
10311
10311
|
label: s ?? "",
|
|
@@ -10315,7 +10315,7 @@ const U4 = ({
|
|
|
10315
10315
|
}
|
|
10316
10316
|
)
|
|
10317
10317
|
] }) : /* @__PURE__ */ r(
|
|
10318
|
-
|
|
10318
|
+
G4,
|
|
10319
10319
|
{
|
|
10320
10320
|
heading: o,
|
|
10321
10321
|
label: s,
|
|
@@ -10330,16 +10330,16 @@ const U4 = ({
|
|
|
10330
10330
|
] });
|
|
10331
10331
|
}
|
|
10332
10332
|
);
|
|
10333
|
-
|
|
10334
|
-
const
|
|
10335
|
-
const n =
|
|
10333
|
+
Zr.displayName = "F0AiInsightCardInternal";
|
|
10334
|
+
const K4 = ["className"], Ur = g((e, t) => {
|
|
10335
|
+
const n = K4.reduce((o, s) => {
|
|
10336
10336
|
const { [s]: a, ...i } = o;
|
|
10337
10337
|
return i;
|
|
10338
10338
|
}, e);
|
|
10339
|
-
return /* @__PURE__ */ r(
|
|
10339
|
+
return /* @__PURE__ */ r(Zr, { ref: t, ...n });
|
|
10340
10340
|
});
|
|
10341
|
-
|
|
10342
|
-
const
|
|
10341
|
+
Ur.displayName = "F0AiInsightCard";
|
|
10342
|
+
const Q4 = () => /* @__PURE__ */ c(
|
|
10343
10343
|
"div",
|
|
10344
10344
|
{
|
|
10345
10345
|
className: "flex w-[217px] h-[200px] flex-col gap-2 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-4",
|
|
@@ -10359,9 +10359,9 @@ const q4 = () => /* @__PURE__ */ c(
|
|
|
10359
10359
|
] })
|
|
10360
10360
|
]
|
|
10361
10361
|
}
|
|
10362
|
-
),
|
|
10363
|
-
|
|
10364
|
-
),
|
|
10362
|
+
), Y9 = ua(
|
|
10363
|
+
fa(Ur, Q4)
|
|
10364
|
+
), K9 = [
|
|
10365
10365
|
"text",
|
|
10366
10366
|
"person",
|
|
10367
10367
|
"people",
|
|
@@ -10370,10 +10370,10 @@ const q4 = () => /* @__PURE__ */ c(
|
|
|
10370
10370
|
"alert",
|
|
10371
10371
|
"balance",
|
|
10372
10372
|
"sparkline"
|
|
10373
|
-
],
|
|
10373
|
+
], zr = 180, J4 = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : zr, e9 = (e, t) => e.length <= t ? e : `${e.slice(0, t).trimEnd()}...`, t9 = (e) => e.showActions !== !1, r9 = (e) => Object.fromEntries(
|
|
10374
10374
|
Object.entries(e).filter(([t]) => t.startsWith("data-"))
|
|
10375
10375
|
);
|
|
10376
|
-
function
|
|
10376
|
+
function n9(e) {
|
|
10377
10377
|
const {
|
|
10378
10378
|
module: t,
|
|
10379
10379
|
heading: n,
|
|
@@ -10381,10 +10381,10 @@ function J4(e) {
|
|
|
10381
10381
|
subtitle: s,
|
|
10382
10382
|
description: a,
|
|
10383
10383
|
seeMoreLabel: i,
|
|
10384
|
-
maxCollapsedDescriptionLength: d =
|
|
10385
|
-
} = e, [l, f] = B(!1), u = ze(), C = I(null), v =
|
|
10384
|
+
maxCollapsedDescriptionLength: d = zr
|
|
10385
|
+
} = e, [l, f] = B(!1), u = ze(), C = I(null), v = J4(
|
|
10386
10386
|
d
|
|
10387
|
-
), h = a.length > v, p = l ? a :
|
|
10387
|
+
), h = a.length > v, p = l ? a : e9(a, v), w = t9(e) ? e : null, m = r9(e);
|
|
10388
10388
|
return z(() => {
|
|
10389
10389
|
l && C.current?.focus();
|
|
10390
10390
|
}, [l]), /* @__PURE__ */ c(
|
|
@@ -10394,7 +10394,7 @@ function J4(e) {
|
|
|
10394
10394
|
...m,
|
|
10395
10395
|
children: [
|
|
10396
10396
|
/* @__PURE__ */ c("div", { className: "flex items-center gap-3 px-4 py-3", children: [
|
|
10397
|
-
t ? /* @__PURE__ */ r(
|
|
10397
|
+
t ? /* @__PURE__ */ r(Qt, { module: t, size: "md" }) : null,
|
|
10398
10398
|
/* @__PURE__ */ c("div", { className: "min-w-0 flex-1", children: [
|
|
10399
10399
|
/* @__PURE__ */ r("h2", { className: "truncate text-lg font-semibold text-f1-foreground", children: n }),
|
|
10400
10400
|
s ? /* @__PURE__ */ r("p", { className: "truncate text-base text-f1-foreground-secondary", children: s }) : null
|
|
@@ -10449,21 +10449,21 @@ function J4(e) {
|
|
|
10449
10449
|
}
|
|
10450
10450
|
);
|
|
10451
10451
|
}
|
|
10452
|
-
|
|
10453
|
-
const
|
|
10452
|
+
n9.displayName = "F0AiProposalCard";
|
|
10453
|
+
const o9 = ({
|
|
10454
10454
|
icon: e,
|
|
10455
10455
|
title: t,
|
|
10456
10456
|
children: n
|
|
10457
10457
|
}) => {
|
|
10458
10458
|
const [o, s] = B(!1), a = he();
|
|
10459
10459
|
return /* @__PURE__ */ c(
|
|
10460
|
-
|
|
10460
|
+
er,
|
|
10461
10461
|
{
|
|
10462
10462
|
className: "mb-1 w-full",
|
|
10463
10463
|
open: o,
|
|
10464
10464
|
onOpenChange: s,
|
|
10465
10465
|
children: [
|
|
10466
|
-
/* @__PURE__ */ c(
|
|
10466
|
+
/* @__PURE__ */ c(tr, { className: "flex w-full items-center text-base text-f1-foreground-secondary transition-colors duration-150 hover:text-f1-foreground [&[data-state=open]>svg]:rotate-90", children: [
|
|
10467
10467
|
/* @__PURE__ */ r("span", { className: "mr-2 *:block", children: /* @__PURE__ */ r(re, { icon: e, className: "block" }) }),
|
|
10468
10468
|
/* @__PURE__ */ r("span", { className: "mr-[2px]", children: t }),
|
|
10469
10469
|
/* @__PURE__ */ r(
|
|
@@ -10474,7 +10474,7 @@ const e9 = ({
|
|
|
10474
10474
|
}
|
|
10475
10475
|
)
|
|
10476
10476
|
] }),
|
|
10477
|
-
/* @__PURE__ */ r(
|
|
10477
|
+
/* @__PURE__ */ r(rr, { forceMount: !0, className: "data-[state=open]:mt-3", children: /* @__PURE__ */ r(
|
|
10478
10478
|
K.div,
|
|
10479
10479
|
{
|
|
10480
10480
|
initial: !1,
|
|
@@ -10494,8 +10494,8 @@ const e9 = ({
|
|
|
10494
10494
|
]
|
|
10495
10495
|
}
|
|
10496
10496
|
);
|
|
10497
|
-
},
|
|
10498
|
-
function
|
|
10497
|
+
}, s9 = (e) => zl[e] ?? $t, a9 = ({ iconName: e }) => e ? /* @__PURE__ */ r("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ r(re, { icon: s9(e), size: "md", color: "default" }) }) : null;
|
|
10498
|
+
function i9({
|
|
10499
10499
|
sources: e,
|
|
10500
10500
|
title: t
|
|
10501
10501
|
}) {
|
|
@@ -10503,8 +10503,8 @@ function n9({
|
|
|
10503
10503
|
if (!e || e.length === 0 || !Array.isArray(e))
|
|
10504
10504
|
return null;
|
|
10505
10505
|
const o = t ?? n.ai.resourcesGroupTitle;
|
|
10506
|
-
return /* @__PURE__ */ r(
|
|
10507
|
-
const i = /* @__PURE__ */ r(
|
|
10506
|
+
return /* @__PURE__ */ r(o9, { icon: p1, title: o, children: /* @__PURE__ */ r("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, a) => {
|
|
10507
|
+
const i = /* @__PURE__ */ r(a9, { iconName: s.icon });
|
|
10508
10508
|
return s.link ? /* @__PURE__ */ r(
|
|
10509
10509
|
Be,
|
|
10510
10510
|
{
|
|
@@ -10532,12 +10532,12 @@ function n9({
|
|
|
10532
10532
|
);
|
|
10533
10533
|
}) }) });
|
|
10534
10534
|
}
|
|
10535
|
-
|
|
10536
|
-
async function
|
|
10537
|
-
const o =
|
|
10538
|
-
|
|
10535
|
+
i9.displayName = "F0AiMessageSources";
|
|
10536
|
+
async function l9(e, t, n) {
|
|
10537
|
+
const o = qt(e), s = t === "xlsx" ? await Xt([{ name: "Data", rows: o }]) : await Yt(o);
|
|
10538
|
+
Kt(s, `${n}.${t}`);
|
|
10539
10539
|
}
|
|
10540
|
-
function
|
|
10540
|
+
function c9({
|
|
10541
10541
|
dataset: e,
|
|
10542
10542
|
title: t,
|
|
10543
10543
|
filename: n
|
|
@@ -10547,7 +10547,7 @@ function s9({
|
|
|
10547
10547
|
if (!s.current)
|
|
10548
10548
|
return;
|
|
10549
10549
|
const l = n ?? (a.replace(/\s+/g, "_").toLowerCase() || "table");
|
|
10550
|
-
|
|
10550
|
+
l9(s.current, d, l);
|
|
10551
10551
|
},
|
|
10552
10552
|
[a, n]
|
|
10553
10553
|
);
|
|
@@ -10639,8 +10639,8 @@ function s9({
|
|
|
10639
10639
|
}
|
|
10640
10640
|
) : null;
|
|
10641
10641
|
}
|
|
10642
|
-
|
|
10643
|
-
function
|
|
10642
|
+
c9.displayName = "F0AiTableCard";
|
|
10643
|
+
function d9({ credits: e, trigger: t }) {
|
|
10644
10644
|
const n = j(), [o, s] = B(!1), [a, i] = B(!1), [d, l] = B(!1), [f, u] = B(null), C = P(
|
|
10645
10645
|
(p) => {
|
|
10646
10646
|
s(p), p && e?.fetchUsage && (i(!0), l(!1), e.fetchUsage().then((w) => {
|
|
@@ -10766,7 +10766,7 @@ function a9({ credits: e, trigger: t }) {
|
|
|
10766
10766
|
)
|
|
10767
10767
|
] });
|
|
10768
10768
|
}
|
|
10769
|
-
const
|
|
10769
|
+
const u9 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", f9 = ({
|
|
10770
10770
|
loading: e,
|
|
10771
10771
|
error: t,
|
|
10772
10772
|
data: n
|
|
@@ -10806,7 +10806,7 @@ const i9 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", l9 = ({
|
|
|
10806
10806
|
className: "h-full rounded-full",
|
|
10807
10807
|
style: {
|
|
10808
10808
|
width: `${a}%`,
|
|
10809
|
-
backgroundImage:
|
|
10809
|
+
backgroundImage: u9,
|
|
10810
10810
|
backgroundSize: "300% 100%"
|
|
10811
10811
|
},
|
|
10812
10812
|
animate: s ? void 0 : { backgroundPosition: ["0% 0%", "100% 0%"] },
|
|
@@ -10825,7 +10825,7 @@ const i9 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)", l9 = ({
|
|
|
10825
10825
|
] }) : null
|
|
10826
10826
|
] }) });
|
|
10827
10827
|
};
|
|
10828
|
-
function
|
|
10828
|
+
function h9({
|
|
10829
10829
|
employeeCredits: e,
|
|
10830
10830
|
trigger: t
|
|
10831
10831
|
}) {
|
|
@@ -10886,7 +10886,7 @@ function c9({
|
|
|
10886
10886
|
) : null
|
|
10887
10887
|
] })
|
|
10888
10888
|
] }) : null,
|
|
10889
|
-
/* @__PURE__ */ r(
|
|
10889
|
+
/* @__PURE__ */ r(f9, { loading: a, error: d, data: f })
|
|
10890
10890
|
]
|
|
10891
10891
|
}
|
|
10892
10892
|
)
|
|
@@ -10897,12 +10897,12 @@ const d1 = ({
|
|
|
10897
10897
|
employeeCredits: t,
|
|
10898
10898
|
trigger: n
|
|
10899
10899
|
}) => t ? /* @__PURE__ */ r(
|
|
10900
|
-
|
|
10900
|
+
h9,
|
|
10901
10901
|
{
|
|
10902
10902
|
employeeCredits: t,
|
|
10903
10903
|
trigger: n
|
|
10904
10904
|
}
|
|
10905
|
-
) : e ? /* @__PURE__ */ r(
|
|
10905
|
+
) : e ? /* @__PURE__ */ r(d9, { credits: e, trigger: n }) : null, Q9 = d1, J9 = ({
|
|
10906
10906
|
historyEnabled: e = !1,
|
|
10907
10907
|
title: t,
|
|
10908
10908
|
currentThreadTitle: n,
|
|
@@ -11064,22 +11064,22 @@ const d1 = ({
|
|
|
11064
11064
|
)
|
|
11065
11065
|
] });
|
|
11066
11066
|
};
|
|
11067
|
-
function
|
|
11067
|
+
function C9(e) {
|
|
11068
11068
|
const t = new Date(e), n = /* @__PURE__ */ new Date();
|
|
11069
|
-
return
|
|
11069
|
+
return or(t) ? "today" : sr(t) ? "yesterday" : Ca(t, n) ? "thisMonth" : "older";
|
|
11070
11070
|
}
|
|
11071
|
-
function
|
|
11071
|
+
function p9(e, t, n) {
|
|
11072
11072
|
const o = new Date(e), s = Z1(o, "p", { locale: n });
|
|
11073
|
-
if (
|
|
11073
|
+
if (or(o))
|
|
11074
11074
|
return `${t.today}, ${s}`;
|
|
11075
|
-
if (
|
|
11075
|
+
if (sr(o))
|
|
11076
11076
|
return `${t.yesterday}, ${s}`;
|
|
11077
|
-
const a = !
|
|
11077
|
+
const a = !ha(o, /* @__PURE__ */ new Date());
|
|
11078
11078
|
return `${Z1(o, a ? "MMM d yyyy" : "MMM d", {
|
|
11079
11079
|
locale: n
|
|
11080
11080
|
})}, ${s}`;
|
|
11081
11081
|
}
|
|
11082
|
-
function
|
|
11082
|
+
function m9(e) {
|
|
11083
11083
|
const t = {
|
|
11084
11084
|
today: [],
|
|
11085
11085
|
yesterday: [],
|
|
@@ -11087,12 +11087,12 @@ function f9(e) {
|
|
|
11087
11087
|
older: []
|
|
11088
11088
|
};
|
|
11089
11089
|
for (const o of e) {
|
|
11090
|
-
const s =
|
|
11090
|
+
const s = C9(o.updatedAt);
|
|
11091
11091
|
t[s].push(o);
|
|
11092
11092
|
}
|
|
11093
11093
|
return ["today", "yesterday", "thisMonth", "older"].filter((o) => t[o].length > 0).map((o) => ({ key: o, threads: t[o] }));
|
|
11094
11094
|
}
|
|
11095
|
-
function
|
|
11095
|
+
function g9({
|
|
11096
11096
|
thread: e,
|
|
11097
11097
|
isPinned: t,
|
|
11098
11098
|
isActive: n = !1,
|
|
@@ -11103,7 +11103,7 @@ function h9({
|
|
|
11103
11103
|
onDelete: d,
|
|
11104
11104
|
className: l
|
|
11105
11105
|
}) {
|
|
11106
|
-
const f = j(), u =
|
|
11106
|
+
const f = j(), u = pa(), C = W(
|
|
11107
11107
|
() => [
|
|
11108
11108
|
{
|
|
11109
11109
|
label: t ? f.ai.unpinChat : f.ai.pinChat,
|
|
@@ -11119,7 +11119,7 @@ function h9({
|
|
|
11119
11119
|
],
|
|
11120
11120
|
[t, e.id, a, i, d]
|
|
11121
11121
|
), v = W(
|
|
11122
|
-
() =>
|
|
11122
|
+
() => p9(
|
|
11123
11123
|
e.updatedAt,
|
|
11124
11124
|
{
|
|
11125
11125
|
today: f.ai.today,
|
|
@@ -11175,7 +11175,7 @@ function h9({
|
|
|
11175
11175
|
{
|
|
11176
11176
|
className: "flex h-7 w-7 shrink-0 items-center justify-center",
|
|
11177
11177
|
"aria-label": f.ai.threadOptions,
|
|
11178
|
-
children: /* @__PURE__ */ r(
|
|
11178
|
+
children: /* @__PURE__ */ r(ma, { size: "small" })
|
|
11179
11179
|
}
|
|
11180
11180
|
)
|
|
11181
11181
|
) : /* @__PURE__ */ r(
|
|
@@ -11248,7 +11248,7 @@ function kt({
|
|
|
11248
11248
|
}
|
|
11249
11249
|
),
|
|
11250
11250
|
d ? /* @__PURE__ */ r("div", { className: "flex flex-col", children: t.map((C) => /* @__PURE__ */ r(
|
|
11251
|
-
|
|
11251
|
+
g9,
|
|
11252
11252
|
{
|
|
11253
11253
|
thread: C,
|
|
11254
11254
|
isPinned: n.has(C.id),
|
|
@@ -11261,20 +11261,20 @@ function kt({
|
|
|
11261
11261
|
)) }) : null
|
|
11262
11262
|
] });
|
|
11263
11263
|
}
|
|
11264
|
-
const yt = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"],
|
|
11264
|
+
const yt = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"], v9 = ({ width: e }) => /* @__PURE__ */ r("div", { className: "flex items-center py-1.5 pl-1.5 pr-2", children: /* @__PURE__ */ r(fe, { className: b("h-4 rounded", e) }) }), Mt = ({
|
|
11265
11265
|
titleWidth: e,
|
|
11266
11266
|
rows: t
|
|
11267
11267
|
}) => /* @__PURE__ */ c("div", { className: "flex flex-col gap-0.5", children: [
|
|
11268
11268
|
/* @__PURE__ */ r("div", { className: "flex items-center p-1.5", children: /* @__PURE__ */ r(fe, { className: b("h-3 rounded", e) }) }),
|
|
11269
|
-
t.map((n, o) => /* @__PURE__ */ r(
|
|
11269
|
+
t.map((n, o) => /* @__PURE__ */ r(v9, { width: n }, o))
|
|
11270
11270
|
] });
|
|
11271
|
-
function
|
|
11271
|
+
function w9() {
|
|
11272
11272
|
return /* @__PURE__ */ c("div", { "aria-hidden": "true", className: "flex flex-col gap-4", children: [
|
|
11273
11273
|
/* @__PURE__ */ r(Mt, { titleWidth: "w-12", rows: yt.slice(0, 2) }),
|
|
11274
11274
|
/* @__PURE__ */ r(Mt, { titleWidth: "w-24", rows: yt })
|
|
11275
11275
|
] });
|
|
11276
11276
|
}
|
|
11277
|
-
const
|
|
11277
|
+
const ec = ({
|
|
11278
11278
|
onClose: e,
|
|
11279
11279
|
onSelectThread: t,
|
|
11280
11280
|
onNewChat: n,
|
|
@@ -11318,7 +11318,7 @@ const Y9 = ({
|
|
|
11318
11318
|
() => p.filter((x) => !i.has(x.id)),
|
|
11319
11319
|
[p, i]
|
|
11320
11320
|
), L = W(
|
|
11321
|
-
() =>
|
|
11321
|
+
() => m9(m),
|
|
11322
11322
|
[m]
|
|
11323
11323
|
), E = P(
|
|
11324
11324
|
(x, H) => {
|
|
@@ -11333,7 +11333,7 @@ const Y9 = ({
|
|
|
11333
11333
|
},
|
|
11334
11334
|
[f]
|
|
11335
11335
|
), k = w.length > 0 || L.length > 0;
|
|
11336
|
-
return
|
|
11336
|
+
return ar(
|
|
11337
11337
|
/* @__PURE__ */ c(Fe, { children: [
|
|
11338
11338
|
/* @__PURE__ */ r(
|
|
11339
11339
|
"div",
|
|
@@ -11395,7 +11395,7 @@ const Y9 = ({
|
|
|
11395
11395
|
] })
|
|
11396
11396
|
}
|
|
11397
11397
|
),
|
|
11398
|
-
s ? /* @__PURE__ */ r(
|
|
11398
|
+
s ? /* @__PURE__ */ r(w9, {}) : null,
|
|
11399
11399
|
!s && a ? /* @__PURE__ */ r("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: a }) : null,
|
|
11400
11400
|
!s && !a && !k ? /* @__PURE__ */ r("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: u.ai.noPreviousChats }) : null,
|
|
11401
11401
|
!s && !a && w.length > 0 ? /* @__PURE__ */ r(
|
|
@@ -11432,22 +11432,22 @@ const Y9 = ({
|
|
|
11432
11432
|
] }),
|
|
11433
11433
|
document.body
|
|
11434
11434
|
);
|
|
11435
|
-
},
|
|
11436
|
-
function
|
|
11437
|
-
const e =
|
|
11435
|
+
}, Gr = "f0-ai-pinned-threads";
|
|
11436
|
+
function x9() {
|
|
11437
|
+
const e = ga(Gr, []);
|
|
11438
11438
|
return new Set(Array.isArray(e) ? e : []);
|
|
11439
11439
|
}
|
|
11440
11440
|
function Rt(e) {
|
|
11441
|
-
|
|
11441
|
+
va(Gr, [...e]);
|
|
11442
11442
|
}
|
|
11443
|
-
function
|
|
11443
|
+
function tc({
|
|
11444
11444
|
enabled: e = !1,
|
|
11445
11445
|
fetchThreads: t,
|
|
11446
11446
|
deleteThread: n,
|
|
11447
11447
|
pinThread: o,
|
|
11448
11448
|
unpinThread: s
|
|
11449
11449
|
}) {
|
|
11450
|
-
const [a, i] = B([]), [d, l] = B(!1), [f, u] = B(null), [C, v] = B(
|
|
11450
|
+
const [a, i] = B([]), [d, l] = B(!1), [f, u] = B(null), [C, v] = B(x9), [h, p] = B(() => /* @__PURE__ */ new Set()), w = P(async () => {
|
|
11451
11451
|
l(!0), u(null);
|
|
11452
11452
|
try {
|
|
11453
11453
|
const x = await t();
|
|
@@ -11515,7 +11515,7 @@ function K9({
|
|
|
11515
11515
|
deleteThread: k
|
|
11516
11516
|
};
|
|
11517
11517
|
}
|
|
11518
|
-
const
|
|
11518
|
+
const b9 = K.create(Gt), L9 = ({
|
|
11519
11519
|
label: e,
|
|
11520
11520
|
reduceMotion: t
|
|
11521
11521
|
}) => (
|
|
@@ -11528,7 +11528,7 @@ const g9 = K.create(Gt), v9 = ({
|
|
|
11528
11528
|
className: "flex flex-row items-center gap-1 rounded-full border border-solid border-f1-border-secondary bg-f1-background px-2 py-1.5 pr-2.5 shadow-md",
|
|
11529
11529
|
children: [
|
|
11530
11530
|
/* @__PURE__ */ r(
|
|
11531
|
-
|
|
11531
|
+
b9,
|
|
11532
11532
|
{
|
|
11533
11533
|
size: "xs",
|
|
11534
11534
|
animate: t ? void 0 : {
|
|
@@ -11564,7 +11564,7 @@ const g9 = K.create(Gt), v9 = ({
|
|
|
11564
11564
|
]
|
|
11565
11565
|
}
|
|
11566
11566
|
)
|
|
11567
|
-
),
|
|
11567
|
+
), rc = vn(function({
|
|
11568
11568
|
active: t,
|
|
11569
11569
|
label: n,
|
|
11570
11570
|
className: o,
|
|
@@ -11590,7 +11590,7 @@ const g9 = K.create(Gt), v9 = ({
|
|
|
11590
11590
|
animate: { opacity: 1, scale: 1 },
|
|
11591
11591
|
exit: { opacity: 0, scale: i ? 1 : 0.95 },
|
|
11592
11592
|
children: /* @__PURE__ */ r("div", { className: "mt-[40vh]", children: /* @__PURE__ */ r(
|
|
11593
|
-
|
|
11593
|
+
L9,
|
|
11594
11594
|
{
|
|
11595
11595
|
label: d,
|
|
11596
11596
|
reduceMotion: i
|
|
@@ -11612,47 +11612,47 @@ const g9 = K.create(Gt), v9 = ({
|
|
|
11612
11612
|
] });
|
|
11613
11613
|
});
|
|
11614
11614
|
export {
|
|
11615
|
-
|
|
11616
|
-
|
|
11615
|
+
Z9 as A,
|
|
11616
|
+
ql as B,
|
|
11617
11617
|
kt as C,
|
|
11618
|
-
|
|
11619
|
-
|
|
11620
|
-
|
|
11621
|
-
|
|
11622
|
-
|
|
11623
|
-
|
|
11624
|
-
|
|
11625
|
-
|
|
11626
|
-
|
|
11627
|
-
|
|
11628
|
-
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
|
-
|
|
11632
|
-
|
|
11633
|
-
|
|
11634
|
-
|
|
11635
|
-
|
|
11636
|
-
|
|
11637
|
-
|
|
11638
|
-
|
|
11639
|
-
|
|
11640
|
-
|
|
11641
|
-
|
|
11642
|
-
|
|
11643
|
-
|
|
11644
|
-
|
|
11645
|
-
|
|
11646
|
-
|
|
11647
|
-
|
|
11648
|
-
|
|
11649
|
-
|
|
11650
|
-
|
|
11651
|
-
|
|
11652
|
-
|
|
11653
|
-
|
|
11654
|
-
|
|
11655
|
-
|
|
11656
|
-
|
|
11657
|
-
|
|
11618
|
+
$9 as D,
|
|
11619
|
+
O9 as E,
|
|
11620
|
+
P9 as F,
|
|
11621
|
+
rc as G,
|
|
11622
|
+
M0 as H,
|
|
11623
|
+
b0 as I,
|
|
11624
|
+
Na as J,
|
|
11625
|
+
R5 as K,
|
|
11626
|
+
vi as L,
|
|
11627
|
+
fi as M,
|
|
11628
|
+
Ci as N,
|
|
11629
|
+
di as O,
|
|
11630
|
+
mi as P,
|
|
11631
|
+
g9 as T,
|
|
11632
|
+
j9 as a,
|
|
11633
|
+
U9 as b,
|
|
11634
|
+
b6 as c,
|
|
11635
|
+
D9 as d,
|
|
11636
|
+
Rr as e,
|
|
11637
|
+
z9 as f,
|
|
11638
|
+
G9 as g,
|
|
11639
|
+
E9 as h,
|
|
11640
|
+
W9 as i,
|
|
11641
|
+
q9 as j,
|
|
11642
|
+
X9 as k,
|
|
11643
|
+
Y9 as l,
|
|
11644
|
+
B9 as m,
|
|
11645
|
+
K9 as n,
|
|
11646
|
+
H9 as o,
|
|
11647
|
+
n9 as p,
|
|
11648
|
+
i9 as q,
|
|
11649
|
+
c9 as r,
|
|
11650
|
+
J9 as s,
|
|
11651
|
+
Q9 as t,
|
|
11652
|
+
_9 as u,
|
|
11653
|
+
ec as v,
|
|
11654
|
+
w9 as w,
|
|
11655
|
+
tc as x,
|
|
11656
|
+
I9 as y,
|
|
11657
|
+
F2 as z
|
|
11658
11658
|
};
|