@factorialco/f0-react 4.51.0 → 4.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ChatDocxThumbnail-ZpA0oGfg.js → ChatDocxThumbnail-DzNPNFya.js} +1 -1
- package/dist/{ChatPdfThumbnail-Inmuy7U7.js → ChatPdfThumbnail-Ee5Wx96X.js} +1 -1
- package/dist/{DocumentToolbar-BYKMRth5.js → DocumentToolbar-BwJIFXDT.js} +2 -2
- package/dist/{DocxViewer-DTyN6WkM.js → DocxViewer-C8UBtCTB.js} +3 -3
- package/dist/{F0AiProcessingOverlay-BUB4HW4a.js → F0AiProcessingOverlay-BR8LMWyo.js} +802 -693
- package/dist/{F0CanvasPanel-DkQ4xhBx.js → F0CanvasPanel-DGLx1cqO.js} +545 -575
- package/dist/{LocationMap-BiiecVq_.js → LocationMap-BeSyUnec.js} +1 -1
- package/dist/{SheetViewer-BettRk5l.js → SheetViewer-DUvAHeaC.js} +2 -2
- package/dist/{TextViewer-DkXDyzcR.js → TextViewer-60i44dbD.js} +2 -2
- package/dist/_commonjsHelpers-ByX85dGu.js +33 -0
- package/dist/ai.d.ts +16 -0
- package/dist/ai.js +2 -2
- package/dist/axe-mZXA-kzX.js +23823 -0
- package/dist/component-status.d.ts +14 -0
- package/dist/component-status.js +297 -92
- package/dist/{docx-preview-bIzfytWN.js → docx-preview-BaRDMyPN.js} +1 -1
- package/dist/experimental.d.ts +16 -0
- package/dist/experimental.js +7 -7
- package/dist/f0.d.ts +67 -0
- package/dist/f0.js +13027 -12287
- package/dist/i18n-provider-defaults.d.ts +16 -0
- package/dist/i18n-provider-defaults.js +16 -0
- package/dist/{index-C4zDor6d.js → index-DsuHJt_y.js} +135 -134
- package/dist/{index-Ck1QOo1R.js → index-EDXekGcx.js} +29 -29
- package/dist/{pdfWorker-BecOMPtI.js → pdfWorker-D0j0TkJF.js} +3 -2
- package/dist/styles.css +1 -1
- package/icons/app/VolumeHigh.d.ts +4 -0
- package/icons/app/VolumeHigh.d.ts.map +1 -0
- package/icons/app/VolumeHigh.js +5 -0
- package/icons/app/VolumeMid.d.ts +4 -0
- package/icons/app/VolumeMid.d.ts.map +1 -0
- package/icons/app/VolumeMid.js +5 -0
- package/icons/app/VolumeMuted.d.ts +4 -0
- package/icons/app/VolumeMuted.d.ts.map +1 -0
- package/icons/app/VolumeMuted.js +5 -0
- package/icons/app/index.d.ts +3 -0
- package/icons/app/index.d.ts.map +1 -1
- package/icons/app/index.js +3 -0
- package/package.json +3 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as a, jsx as t, Fragment as Re } from "react/jsx-runtime";
|
|
2
|
-
import { useInsertionEffect as Tr, forwardRef as
|
|
3
|
-
import {
|
|
2
|
+
import { useInsertionEffect as Tr, forwardRef as h, useRef as j, useEffect as q, useLayoutEffect as rt, useState as B, useMemo as J, useCallback as _, createContext as Ge, useContext as Ie, useId as ot, createElement as Hr, memo as Ar } from "react";
|
|
3
|
+
import { d6 as $r, d7 as Br, ac as nt, c4 as Ir, d8 as Pr, d9 as jr, da as Dr, db as Zr, c5 as _r, cd as st, c3 as Or, dc as Ur, al as s1, dd as zr, aU as Gr, de as Wr, df as qr, dg as Xr, at as Yr, dh as Kr, cE as Qr, an as it, aq as Jr, di as eo, q as i1, ag as at, a7 as We, o as ct, bs as to, cb as ro, dj as oo, bd as no, cD as so, ae as Fe, aG as io, bw as lt, dk as ao, cB as co, l as Me, cz as lo, dl as fo, bZ as dt, bc as uo, dm as ho, dn as go, dp as po, dq as Co, dr as mo, ds as ft, cs as vo, ct as wo, dt as xo, du as ko, dv as Lo, dw as bo, dx as yo, bG as Mo, c7 as Eo, dy as Ro, dz as Fo, dA as No, dB as Vo, dC as So, dD as To, dE as Ho, dF as Ao, bF as $o, cC as Bo, ao as Io, co as Po, dG as jo, dH as Do, dI as Zo, dJ as _o, dK as Oo, dL as Uo, dM as zo, aC as Go, bH as Wo, b$ as ut, a4 as qo, af as Xo, bI as ht, bY as Yo, b_ as gt, i as Ko, bv as Qo, bu as Jo, dN as en, dO as tn, bJ as pt, bK as rn, bL as on, bb as nn, aJ as sn, dP as an, j as cn, bq as Ct, bp as mt, bj as ln, dQ as vt, bi as dn, c6 as a1, r as fn, bm as c1, dR as un, dS as hn, dT as l1, c9 as gn, ca as pn, cA as wt, dU as Cn, $ as mn, _ as vn, dV as wn, dW as xn, dX as kn, dY as Ln, bW as bn, dZ as xt, d_ as yn, ap as Mn, d$ as En, a3 as ce, n as k, L as Te, ci as Rn, u as G, bV as Fn, S as he, bU as kt, a0 as le, U as ge, ah as Nn, m as ve, e0 as Vn, ar as se, a_ as Le, Z as Ee, K as ee, cJ as Lt, aO as d1, e1 as Sn, aP as f1, aQ as u1, b as ye, bS as Tn, e2 as Hn, bT as An, a8 as $n, ba as Bn, ak as h1, bM as In, bN as Pn, bO as jn, bP as y1, ai as Dn, ax as bt, b1 as yt, c8 as Zn, cO as _n, e3 as On, e4 as Un, b6 as Mt, e5 as zn, cK as Gn, e6 as Wn, b3 as Be, bk as Et, e7 as Rt, bl as Ft, c as r1, cc as M1, e8 as Nt, e9 as qn, ea as Xn, bA as Yn, eb as Kn, br as g1, cp as Qn, ec as Jn, ed as es, ee as ts, ef as rs, eg as os, w as ns, t as ss, X as is, Y as as, aw as E1, eh as Vt, ei as St, ej as cs, ek as ls, av as ds, am as fs, el as us, em as hs, d as gs } from "./F0CanvasPanel-DGLx1cqO.js";
|
|
4
4
|
import { createPortal as Tt } from "react-dom";
|
|
5
5
|
import { defaultTranslations as ps } from "./i18n-provider-defaults.js";
|
|
6
6
|
import { useTrackVolume as Cs } from "@livekit/components-react";
|
|
@@ -47,7 +47,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
47
47
|
)
|
|
48
48
|
]
|
|
49
49
|
}
|
|
50
|
-
), xs =
|
|
50
|
+
), xs = h(ws), ks = (e, r) => /* @__PURE__ */ a(
|
|
51
51
|
"svg",
|
|
52
52
|
{
|
|
53
53
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -75,7 +75,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
75
75
|
)
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
|
-
), Ls =
|
|
78
|
+
), Ls = h(ks), bs = (e, r) => /* @__PURE__ */ a(
|
|
79
79
|
"svg",
|
|
80
80
|
{
|
|
81
81
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -114,7 +114,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
114
114
|
)
|
|
115
115
|
]
|
|
116
116
|
}
|
|
117
|
-
), ys =
|
|
117
|
+
), ys = h(bs), Ms = (e, r) => /* @__PURE__ */ a(
|
|
118
118
|
"svg",
|
|
119
119
|
{
|
|
120
120
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -155,7 +155,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
155
155
|
)
|
|
156
156
|
]
|
|
157
157
|
}
|
|
158
|
-
), Es =
|
|
158
|
+
), Es = h(Ms), Rs = (e, r) => /* @__PURE__ */ a(
|
|
159
159
|
"svg",
|
|
160
160
|
{
|
|
161
161
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -196,7 +196,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
196
196
|
)
|
|
197
197
|
]
|
|
198
198
|
}
|
|
199
|
-
), Fs =
|
|
199
|
+
), Fs = h(Rs), Ns = (e, r) => /* @__PURE__ */ a(
|
|
200
200
|
"svg",
|
|
201
201
|
{
|
|
202
202
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -255,7 +255,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
255
255
|
)
|
|
256
256
|
]
|
|
257
257
|
}
|
|
258
|
-
), Vs =
|
|
258
|
+
), Vs = h(Ns), Ss = (e, r) => /* @__PURE__ */ a(
|
|
259
259
|
"svg",
|
|
260
260
|
{
|
|
261
261
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -311,7 +311,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
311
311
|
)
|
|
312
312
|
]
|
|
313
313
|
}
|
|
314
|
-
), Ts =
|
|
314
|
+
), Ts = h(Ss), Hs = (e, r) => /* @__PURE__ */ a(
|
|
315
315
|
"svg",
|
|
316
316
|
{
|
|
317
317
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -361,7 +361,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
361
361
|
)
|
|
362
362
|
]
|
|
363
363
|
}
|
|
364
|
-
), As =
|
|
364
|
+
), As = h(Hs), $s = (e, r) => /* @__PURE__ */ t(
|
|
365
365
|
"svg",
|
|
366
366
|
{
|
|
367
367
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -377,7 +377,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
377
377
|
}
|
|
378
378
|
)
|
|
379
379
|
}
|
|
380
|
-
), Bs =
|
|
380
|
+
), Bs = h($s), Is = (e, r) => /* @__PURE__ */ t(
|
|
381
381
|
"svg",
|
|
382
382
|
{
|
|
383
383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -396,7 +396,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
396
396
|
}
|
|
397
397
|
)
|
|
398
398
|
}
|
|
399
|
-
), Ps =
|
|
399
|
+
), Ps = h(Is), js = (e, r) => /* @__PURE__ */ a(
|
|
400
400
|
"svg",
|
|
401
401
|
{
|
|
402
402
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -445,7 +445,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
445
445
|
)
|
|
446
446
|
]
|
|
447
447
|
}
|
|
448
|
-
),
|
|
448
|
+
), Ds = h(js), Zs = (e, r) => /* @__PURE__ */ a(
|
|
449
449
|
"svg",
|
|
450
450
|
{
|
|
451
451
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -480,7 +480,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
480
480
|
)
|
|
481
481
|
]
|
|
482
482
|
}
|
|
483
|
-
), _s =
|
|
483
|
+
), _s = h(Zs), Os = (e, r) => /* @__PURE__ */ a(
|
|
484
484
|
"svg",
|
|
485
485
|
{
|
|
486
486
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -519,7 +519,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
519
519
|
)
|
|
520
520
|
]
|
|
521
521
|
}
|
|
522
|
-
), Us =
|
|
522
|
+
), Us = h(Os), zs = (e, r) => /* @__PURE__ */ a(
|
|
523
523
|
"svg",
|
|
524
524
|
{
|
|
525
525
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -560,7 +560,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
560
560
|
)
|
|
561
561
|
]
|
|
562
562
|
}
|
|
563
|
-
), Gs =
|
|
563
|
+
), Gs = h(zs), Ws = (e, r) => /* @__PURE__ */ a(
|
|
564
564
|
"svg",
|
|
565
565
|
{
|
|
566
566
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -601,7 +601,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
601
601
|
)
|
|
602
602
|
]
|
|
603
603
|
}
|
|
604
|
-
), qs =
|
|
604
|
+
), qs = h(Ws), Xs = (e, r) => /* @__PURE__ */ a(
|
|
605
605
|
"svg",
|
|
606
606
|
{
|
|
607
607
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -642,7 +642,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
642
642
|
)
|
|
643
643
|
]
|
|
644
644
|
}
|
|
645
|
-
), Ys =
|
|
645
|
+
), Ys = h(Xs), Ks = (e, r) => /* @__PURE__ */ a(
|
|
646
646
|
"svg",
|
|
647
647
|
{
|
|
648
648
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -691,7 +691,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
691
691
|
)
|
|
692
692
|
]
|
|
693
693
|
}
|
|
694
|
-
), Qs =
|
|
694
|
+
), Qs = h(Ks), Js = (e, r) => /* @__PURE__ */ a(
|
|
695
695
|
"svg",
|
|
696
696
|
{
|
|
697
697
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -737,7 +737,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
737
737
|
)
|
|
738
738
|
]
|
|
739
739
|
}
|
|
740
|
-
), ei =
|
|
740
|
+
), ei = h(Js), ti = (e, r) => /* @__PURE__ */ t(
|
|
741
741
|
"svg",
|
|
742
742
|
{
|
|
743
743
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -754,7 +754,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
754
754
|
}
|
|
755
755
|
)
|
|
756
756
|
}
|
|
757
|
-
), ri =
|
|
757
|
+
), ri = h(ti), oi = (e, r) => /* @__PURE__ */ t(
|
|
758
758
|
"svg",
|
|
759
759
|
{
|
|
760
760
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -771,7 +771,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
771
771
|
}
|
|
772
772
|
)
|
|
773
773
|
}
|
|
774
|
-
), ni =
|
|
774
|
+
), ni = h(oi), si = (e, r) => /* @__PURE__ */ t(
|
|
775
775
|
"svg",
|
|
776
776
|
{
|
|
777
777
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -788,7 +788,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
788
788
|
}
|
|
789
789
|
)
|
|
790
790
|
}
|
|
791
|
-
), ii =
|
|
791
|
+
), ii = h(si), ai = (e, r) => /* @__PURE__ */ t(
|
|
792
792
|
"svg",
|
|
793
793
|
{
|
|
794
794
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -805,7 +805,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
805
805
|
}
|
|
806
806
|
)
|
|
807
807
|
}
|
|
808
|
-
), ci =
|
|
808
|
+
), ci = h(ai), li = (e, r) => /* @__PURE__ */ t(
|
|
809
809
|
"svg",
|
|
810
810
|
{
|
|
811
811
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -822,7 +822,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
822
822
|
}
|
|
823
823
|
)
|
|
824
824
|
}
|
|
825
|
-
), di =
|
|
825
|
+
), di = h(li), fi = (e, r) => /* @__PURE__ */ a(
|
|
826
826
|
"svg",
|
|
827
827
|
{
|
|
828
828
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -853,7 +853,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
853
853
|
)
|
|
854
854
|
]
|
|
855
855
|
}
|
|
856
|
-
), ui =
|
|
856
|
+
), ui = h(fi), hi = (e, r) => /* @__PURE__ */ a(
|
|
857
857
|
"svg",
|
|
858
858
|
{
|
|
859
859
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -966,7 +966,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
966
966
|
)
|
|
967
967
|
]
|
|
968
968
|
}
|
|
969
|
-
), gi =
|
|
969
|
+
), gi = h(hi), pi = (e, r) => /* @__PURE__ */ t(
|
|
970
970
|
"svg",
|
|
971
971
|
{
|
|
972
972
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -983,7 +983,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
983
983
|
}
|
|
984
984
|
)
|
|
985
985
|
}
|
|
986
|
-
), Ci =
|
|
986
|
+
), Ci = h(pi), mi = (e, r) => /* @__PURE__ */ a(
|
|
987
987
|
"svg",
|
|
988
988
|
{
|
|
989
989
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1031,7 +1031,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1031
1031
|
)
|
|
1032
1032
|
]
|
|
1033
1033
|
}
|
|
1034
|
-
), vi =
|
|
1034
|
+
), vi = h(mi), wi = (e, r) => /* @__PURE__ */ t(
|
|
1035
1035
|
"svg",
|
|
1036
1036
|
{
|
|
1037
1037
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1049,7 +1049,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1049
1049
|
}
|
|
1050
1050
|
)
|
|
1051
1051
|
}
|
|
1052
|
-
), xi =
|
|
1052
|
+
), xi = h(wi), ki = (e, r) => /* @__PURE__ */ a(
|
|
1053
1053
|
"svg",
|
|
1054
1054
|
{
|
|
1055
1055
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1095,7 +1095,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1095
1095
|
)
|
|
1096
1096
|
]
|
|
1097
1097
|
}
|
|
1098
|
-
), Li =
|
|
1098
|
+
), Li = h(ki), bi = (e, r) => /* @__PURE__ */ a(
|
|
1099
1099
|
"svg",
|
|
1100
1100
|
{
|
|
1101
1101
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1134,7 +1134,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1134
1134
|
)
|
|
1135
1135
|
]
|
|
1136
1136
|
}
|
|
1137
|
-
), yi =
|
|
1137
|
+
), yi = h(bi), Mi = (e, r) => /* @__PURE__ */ a(
|
|
1138
1138
|
"svg",
|
|
1139
1139
|
{
|
|
1140
1140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1189,7 +1189,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1189
1189
|
)
|
|
1190
1190
|
]
|
|
1191
1191
|
}
|
|
1192
|
-
), Ei =
|
|
1192
|
+
), Ei = h(Mi), Ri = (e, r) => /* @__PURE__ */ a(
|
|
1193
1193
|
"svg",
|
|
1194
1194
|
{
|
|
1195
1195
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1227,7 +1227,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1227
1227
|
)
|
|
1228
1228
|
]
|
|
1229
1229
|
}
|
|
1230
|
-
), Fi =
|
|
1230
|
+
), Fi = h(Ri), Ni = (e, r) => /* @__PURE__ */ t(
|
|
1231
1231
|
"svg",
|
|
1232
1232
|
{
|
|
1233
1233
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1246,7 +1246,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1246
1246
|
}
|
|
1247
1247
|
)
|
|
1248
1248
|
}
|
|
1249
|
-
), Vi =
|
|
1249
|
+
), Vi = h(Ni), Si = (e, r) => /* @__PURE__ */ a(
|
|
1250
1250
|
"svg",
|
|
1251
1251
|
{
|
|
1252
1252
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1277,7 +1277,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1277
1277
|
)
|
|
1278
1278
|
]
|
|
1279
1279
|
}
|
|
1280
|
-
), Ti =
|
|
1280
|
+
), Ti = h(Si), Hi = (e, r) => /* @__PURE__ */ t(
|
|
1281
1281
|
"svg",
|
|
1282
1282
|
{
|
|
1283
1283
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1294,7 +1294,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1294
1294
|
}
|
|
1295
1295
|
)
|
|
1296
1296
|
}
|
|
1297
|
-
), Ai =
|
|
1297
|
+
), Ai = h(Hi), $i = (e, r) => /* @__PURE__ */ t(
|
|
1298
1298
|
"svg",
|
|
1299
1299
|
{
|
|
1300
1300
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1313,7 +1313,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1313
1313
|
}
|
|
1314
1314
|
)
|
|
1315
1315
|
}
|
|
1316
|
-
), Bi =
|
|
1316
|
+
), Bi = h($i), Ii = (e, r) => /* @__PURE__ */ t(
|
|
1317
1317
|
"svg",
|
|
1318
1318
|
{
|
|
1319
1319
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1332,7 +1332,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1332
1332
|
}
|
|
1333
1333
|
)
|
|
1334
1334
|
}
|
|
1335
|
-
), Pi =
|
|
1335
|
+
), Pi = h(Ii), ji = (e, r) => /* @__PURE__ */ a(
|
|
1336
1336
|
"svg",
|
|
1337
1337
|
{
|
|
1338
1338
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1382,7 +1382,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1382
1382
|
)
|
|
1383
1383
|
]
|
|
1384
1384
|
}
|
|
1385
|
-
),
|
|
1385
|
+
), Di = h(ji), Zi = (e, r) => /* @__PURE__ */ a(
|
|
1386
1386
|
"svg",
|
|
1387
1387
|
{
|
|
1388
1388
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1432,7 +1432,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1432
1432
|
)
|
|
1433
1433
|
]
|
|
1434
1434
|
}
|
|
1435
|
-
), _i =
|
|
1435
|
+
), _i = h(Zi), Oi = (e, r) => /* @__PURE__ */ a(
|
|
1436
1436
|
"svg",
|
|
1437
1437
|
{
|
|
1438
1438
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1489,7 +1489,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1489
1489
|
)
|
|
1490
1490
|
]
|
|
1491
1491
|
}
|
|
1492
|
-
), Ui =
|
|
1492
|
+
), Ui = h(Oi), zi = (e, r) => /* @__PURE__ */ a(
|
|
1493
1493
|
"svg",
|
|
1494
1494
|
{
|
|
1495
1495
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1516,7 +1516,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1516
1516
|
)
|
|
1517
1517
|
]
|
|
1518
1518
|
}
|
|
1519
|
-
), Gi =
|
|
1519
|
+
), Gi = h(zi), Wi = (e, r) => /* @__PURE__ */ a(
|
|
1520
1520
|
"svg",
|
|
1521
1521
|
{
|
|
1522
1522
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1547,7 +1547,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1547
1547
|
)
|
|
1548
1548
|
]
|
|
1549
1549
|
}
|
|
1550
|
-
), qi =
|
|
1550
|
+
), qi = h(Wi), Xi = (e, r) => /* @__PURE__ */ t(
|
|
1551
1551
|
"svg",
|
|
1552
1552
|
{
|
|
1553
1553
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1566,7 +1566,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1566
1566
|
}
|
|
1567
1567
|
)
|
|
1568
1568
|
}
|
|
1569
|
-
), Yi =
|
|
1569
|
+
), Yi = h(Xi), Ki = (e, r) => /* @__PURE__ */ a(
|
|
1570
1570
|
"svg",
|
|
1571
1571
|
{
|
|
1572
1572
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1607,7 +1607,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1607
1607
|
)
|
|
1608
1608
|
]
|
|
1609
1609
|
}
|
|
1610
|
-
), Qi =
|
|
1610
|
+
), Qi = h(Ki), Ji = (e, r) => /* @__PURE__ */ a(
|
|
1611
1611
|
"svg",
|
|
1612
1612
|
{
|
|
1613
1613
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1638,7 +1638,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1638
1638
|
)
|
|
1639
1639
|
]
|
|
1640
1640
|
}
|
|
1641
|
-
), ea =
|
|
1641
|
+
), ea = h(Ji), ta = (e, r) => /* @__PURE__ */ a(
|
|
1642
1642
|
"svg",
|
|
1643
1643
|
{
|
|
1644
1644
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1669,7 +1669,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1669
1669
|
)
|
|
1670
1670
|
]
|
|
1671
1671
|
}
|
|
1672
|
-
), ra =
|
|
1672
|
+
), ra = h(ta), oa = (e, r) => /* @__PURE__ */ a(
|
|
1673
1673
|
"svg",
|
|
1674
1674
|
{
|
|
1675
1675
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1706,7 +1706,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1706
1706
|
)
|
|
1707
1707
|
]
|
|
1708
1708
|
}
|
|
1709
|
-
), na =
|
|
1709
|
+
), na = h(oa), sa = (e, r) => /* @__PURE__ */ a(
|
|
1710
1710
|
"svg",
|
|
1711
1711
|
{
|
|
1712
1712
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1734,7 +1734,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1734
1734
|
)
|
|
1735
1735
|
]
|
|
1736
1736
|
}
|
|
1737
|
-
), ia =
|
|
1737
|
+
), ia = h(sa), aa = (e, r) => /* @__PURE__ */ a(
|
|
1738
1738
|
"svg",
|
|
1739
1739
|
{
|
|
1740
1740
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1781,7 +1781,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1781
1781
|
)
|
|
1782
1782
|
]
|
|
1783
1783
|
}
|
|
1784
|
-
), ca =
|
|
1784
|
+
), ca = h(aa), la = (e, r) => /* @__PURE__ */ a(
|
|
1785
1785
|
"svg",
|
|
1786
1786
|
{
|
|
1787
1787
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1811,7 +1811,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1811
1811
|
)
|
|
1812
1812
|
]
|
|
1813
1813
|
}
|
|
1814
|
-
), da =
|
|
1814
|
+
), da = h(la), fa = (e, r) => /* @__PURE__ */ t(
|
|
1815
1815
|
"svg",
|
|
1816
1816
|
{
|
|
1817
1817
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1830,7 +1830,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1830
1830
|
}
|
|
1831
1831
|
)
|
|
1832
1832
|
}
|
|
1833
|
-
), ua =
|
|
1833
|
+
), ua = h(fa), ha = (e, r) => /* @__PURE__ */ t(
|
|
1834
1834
|
"svg",
|
|
1835
1835
|
{
|
|
1836
1836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1849,7 +1849,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1849
1849
|
}
|
|
1850
1850
|
)
|
|
1851
1851
|
}
|
|
1852
|
-
), ga =
|
|
1852
|
+
), ga = h(ha), pa = (e, r) => /* @__PURE__ */ a(
|
|
1853
1853
|
"svg",
|
|
1854
1854
|
{
|
|
1855
1855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1894,7 +1894,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1894
1894
|
)
|
|
1895
1895
|
]
|
|
1896
1896
|
}
|
|
1897
|
-
), Ca =
|
|
1897
|
+
), Ca = h(pa), ma = (e, r) => /* @__PURE__ */ a(
|
|
1898
1898
|
"svg",
|
|
1899
1899
|
{
|
|
1900
1900
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1941,7 +1941,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1941
1941
|
)
|
|
1942
1942
|
]
|
|
1943
1943
|
}
|
|
1944
|
-
), va =
|
|
1944
|
+
), va = h(ma), wa = (e, r) => /* @__PURE__ */ t(
|
|
1945
1945
|
"svg",
|
|
1946
1946
|
{
|
|
1947
1947
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1958,7 +1958,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1958
1958
|
}
|
|
1959
1959
|
)
|
|
1960
1960
|
}
|
|
1961
|
-
), xa =
|
|
1961
|
+
), xa = h(wa), ka = (e, r) => /* @__PURE__ */ a(
|
|
1962
1962
|
"svg",
|
|
1963
1963
|
{
|
|
1964
1964
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1995,7 +1995,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
1995
1995
|
)
|
|
1996
1996
|
]
|
|
1997
1997
|
}
|
|
1998
|
-
), La =
|
|
1998
|
+
), La = h(ka), ba = (e, r) => /* @__PURE__ */ t(
|
|
1999
1999
|
"svg",
|
|
2000
2000
|
{
|
|
2001
2001
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2014,7 +2014,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2014
2014
|
}
|
|
2015
2015
|
)
|
|
2016
2016
|
}
|
|
2017
|
-
), ya =
|
|
2017
|
+
), ya = h(ba), Ma = (e, r) => /* @__PURE__ */ a(
|
|
2018
2018
|
"svg",
|
|
2019
2019
|
{
|
|
2020
2020
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2055,7 +2055,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2055
2055
|
)
|
|
2056
2056
|
]
|
|
2057
2057
|
}
|
|
2058
|
-
), Ea =
|
|
2058
|
+
), Ea = h(Ma), Ra = (e, r) => /* @__PURE__ */ t(
|
|
2059
2059
|
"svg",
|
|
2060
2060
|
{
|
|
2061
2061
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2073,7 +2073,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2073
2073
|
}
|
|
2074
2074
|
)
|
|
2075
2075
|
}
|
|
2076
|
-
), Fa =
|
|
2076
|
+
), Fa = h(Ra), Na = (e, r) => /* @__PURE__ */ a(
|
|
2077
2077
|
"svg",
|
|
2078
2078
|
{
|
|
2079
2079
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2136,7 +2136,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2136
2136
|
)
|
|
2137
2137
|
]
|
|
2138
2138
|
}
|
|
2139
|
-
), Va =
|
|
2139
|
+
), Va = h(Na), Sa = (e, r) => /* @__PURE__ */ a(
|
|
2140
2140
|
"svg",
|
|
2141
2141
|
{
|
|
2142
2142
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2166,7 +2166,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2166
2166
|
)
|
|
2167
2167
|
]
|
|
2168
2168
|
}
|
|
2169
|
-
), Ta =
|
|
2169
|
+
), Ta = h(Sa), Ha = (e, r) => /* @__PURE__ */ a(
|
|
2170
2170
|
"svg",
|
|
2171
2171
|
{
|
|
2172
2172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2197,7 +2197,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2197
2197
|
)
|
|
2198
2198
|
]
|
|
2199
2199
|
}
|
|
2200
|
-
), Aa =
|
|
2200
|
+
), Aa = h(Ha), $a = (e, r) => /* @__PURE__ */ a(
|
|
2201
2201
|
"svg",
|
|
2202
2202
|
{
|
|
2203
2203
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2258,7 +2258,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2258
2258
|
)
|
|
2259
2259
|
]
|
|
2260
2260
|
}
|
|
2261
|
-
), Ba =
|
|
2261
|
+
), Ba = h($a), Ia = (e, r) => /* @__PURE__ */ a(
|
|
2262
2262
|
"svg",
|
|
2263
2263
|
{
|
|
2264
2264
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2335,7 +2335,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2335
2335
|
)
|
|
2336
2336
|
]
|
|
2337
2337
|
}
|
|
2338
|
-
), Pa =
|
|
2338
|
+
), Pa = h(Ia), ja = (e, r) => /* @__PURE__ */ a(
|
|
2339
2339
|
"svg",
|
|
2340
2340
|
{
|
|
2341
2341
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2364,7 +2364,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2364
2364
|
)
|
|
2365
2365
|
]
|
|
2366
2366
|
}
|
|
2367
|
-
),
|
|
2367
|
+
), Da = h(ja), Za = (e, r) => /* @__PURE__ */ a(
|
|
2368
2368
|
"svg",
|
|
2369
2369
|
{
|
|
2370
2370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2401,7 +2401,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2401
2401
|
)
|
|
2402
2402
|
]
|
|
2403
2403
|
}
|
|
2404
|
-
), Ht =
|
|
2404
|
+
), Ht = h(Za), _a = (e, r) => /* @__PURE__ */ a(
|
|
2405
2405
|
"svg",
|
|
2406
2406
|
{
|
|
2407
2407
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2484,7 +2484,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2484
2484
|
)
|
|
2485
2485
|
]
|
|
2486
2486
|
}
|
|
2487
|
-
), Oa =
|
|
2487
|
+
), Oa = h(_a), Ua = (e, r) => /* @__PURE__ */ a(
|
|
2488
2488
|
"svg",
|
|
2489
2489
|
{
|
|
2490
2490
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2525,7 +2525,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2525
2525
|
)
|
|
2526
2526
|
]
|
|
2527
2527
|
}
|
|
2528
|
-
), za =
|
|
2528
|
+
), za = h(Ua), Ga = (e, r) => /* @__PURE__ */ t(
|
|
2529
2529
|
"svg",
|
|
2530
2530
|
{
|
|
2531
2531
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2542,7 +2542,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2542
2542
|
}
|
|
2543
2543
|
)
|
|
2544
2544
|
}
|
|
2545
|
-
), Wa =
|
|
2545
|
+
), Wa = h(Ga), qa = (e, r) => /* @__PURE__ */ a(
|
|
2546
2546
|
"svg",
|
|
2547
2547
|
{
|
|
2548
2548
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2585,7 +2585,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2585
2585
|
)
|
|
2586
2586
|
]
|
|
2587
2587
|
}
|
|
2588
|
-
), Xa =
|
|
2588
|
+
), Xa = h(qa), Ya = (e, r) => /* @__PURE__ */ a(
|
|
2589
2589
|
"svg",
|
|
2590
2590
|
{
|
|
2591
2591
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2615,7 +2615,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2615
2615
|
)
|
|
2616
2616
|
]
|
|
2617
2617
|
}
|
|
2618
|
-
), Ka =
|
|
2618
|
+
), Ka = h(Ya), Qa = (e, r) => /* @__PURE__ */ a(
|
|
2619
2619
|
"svg",
|
|
2620
2620
|
{
|
|
2621
2621
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2658,7 +2658,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2658
2658
|
)
|
|
2659
2659
|
]
|
|
2660
2660
|
}
|
|
2661
|
-
), Ja =
|
|
2661
|
+
), Ja = h(Qa), e5 = (e, r) => /* @__PURE__ */ a(
|
|
2662
2662
|
"svg",
|
|
2663
2663
|
{
|
|
2664
2664
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2695,7 +2695,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2695
2695
|
)
|
|
2696
2696
|
]
|
|
2697
2697
|
}
|
|
2698
|
-
), t5 =
|
|
2698
|
+
), t5 = h(e5), r5 = (e, r) => /* @__PURE__ */ a(
|
|
2699
2699
|
"svg",
|
|
2700
2700
|
{
|
|
2701
2701
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2744,7 +2744,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2744
2744
|
)
|
|
2745
2745
|
]
|
|
2746
2746
|
}
|
|
2747
|
-
), o5 =
|
|
2747
|
+
), o5 = h(r5), n5 = (e, r) => /* @__PURE__ */ a(
|
|
2748
2748
|
"svg",
|
|
2749
2749
|
{
|
|
2750
2750
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2773,7 +2773,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2773
2773
|
)
|
|
2774
2774
|
]
|
|
2775
2775
|
}
|
|
2776
|
-
), s5 =
|
|
2776
|
+
), s5 = h(n5), i5 = (e, r) => /* @__PURE__ */ a(
|
|
2777
2777
|
"svg",
|
|
2778
2778
|
{
|
|
2779
2779
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2804,7 +2804,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2804
2804
|
)
|
|
2805
2805
|
]
|
|
2806
2806
|
}
|
|
2807
|
-
), a5 =
|
|
2807
|
+
), a5 = h(i5), c5 = (e, r) => /* @__PURE__ */ a(
|
|
2808
2808
|
"svg",
|
|
2809
2809
|
{
|
|
2810
2810
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2832,7 +2832,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2832
2832
|
)
|
|
2833
2833
|
]
|
|
2834
2834
|
}
|
|
2835
|
-
), l5 =
|
|
2835
|
+
), l5 = h(c5), d5 = (e, r) => /* @__PURE__ */ a(
|
|
2836
2836
|
"svg",
|
|
2837
2837
|
{
|
|
2838
2838
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2889,7 +2889,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2889
2889
|
)
|
|
2890
2890
|
]
|
|
2891
2891
|
}
|
|
2892
|
-
), At =
|
|
2892
|
+
), At = h(d5), f5 = (e, r) => /* @__PURE__ */ a(
|
|
2893
2893
|
"svg",
|
|
2894
2894
|
{
|
|
2895
2895
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2943,7 +2943,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2943
2943
|
)
|
|
2944
2944
|
]
|
|
2945
2945
|
}
|
|
2946
|
-
), u5 =
|
|
2946
|
+
), u5 = h(f5), h5 = (e, r) => /* @__PURE__ */ a(
|
|
2947
2947
|
"svg",
|
|
2948
2948
|
{
|
|
2949
2949
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2967,7 +2967,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
2967
2967
|
/* @__PURE__ */ t("path", { d: "M8 21h8", vectorEffect: "non-scaling-stroke" })
|
|
2968
2968
|
]
|
|
2969
2969
|
}
|
|
2970
|
-
), g5 =
|
|
2970
|
+
), g5 = h(h5), p5 = (e, r) => /* @__PURE__ */ a(
|
|
2971
2971
|
"svg",
|
|
2972
2972
|
{
|
|
2973
2973
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3022,7 +3022,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3022
3022
|
)
|
|
3023
3023
|
]
|
|
3024
3024
|
}
|
|
3025
|
-
), C5 =
|
|
3025
|
+
), C5 = h(p5), m5 = (e, r) => /* @__PURE__ */ t(
|
|
3026
3026
|
"svg",
|
|
3027
3027
|
{
|
|
3028
3028
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3041,7 +3041,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3041
3041
|
}
|
|
3042
3042
|
)
|
|
3043
3043
|
}
|
|
3044
|
-
), v5 =
|
|
3044
|
+
), v5 = h(m5), w5 = (e, r) => /* @__PURE__ */ a(
|
|
3045
3045
|
"svg",
|
|
3046
3046
|
{
|
|
3047
3047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3069,7 +3069,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3069
3069
|
)
|
|
3070
3070
|
]
|
|
3071
3071
|
}
|
|
3072
|
-
), x5 =
|
|
3072
|
+
), x5 = h(w5), k5 = (e, r) => /* @__PURE__ */ a(
|
|
3073
3073
|
"svg",
|
|
3074
3074
|
{
|
|
3075
3075
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3123,7 +3123,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3123
3123
|
)
|
|
3124
3124
|
]
|
|
3125
3125
|
}
|
|
3126
|
-
), L5 =
|
|
3126
|
+
), L5 = h(k5), b5 = (e, r) => /* @__PURE__ */ a(
|
|
3127
3127
|
"svg",
|
|
3128
3128
|
{
|
|
3129
3129
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3269,7 +3269,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3269
3269
|
)
|
|
3270
3270
|
]
|
|
3271
3271
|
}
|
|
3272
|
-
), y5 =
|
|
3272
|
+
), y5 = h(b5), M5 = (e, r) => /* @__PURE__ */ t(
|
|
3273
3273
|
"svg",
|
|
3274
3274
|
{
|
|
3275
3275
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3286,7 +3286,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3286
3286
|
}
|
|
3287
3287
|
)
|
|
3288
3288
|
}
|
|
3289
|
-
), p1 =
|
|
3289
|
+
), p1 = h(M5), E5 = (e, r) => /* @__PURE__ */ t(
|
|
3290
3290
|
"svg",
|
|
3291
3291
|
{
|
|
3292
3292
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3305,7 +3305,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3305
3305
|
}
|
|
3306
3306
|
)
|
|
3307
3307
|
}
|
|
3308
|
-
), R5 =
|
|
3308
|
+
), R5 = h(E5), F5 = (e, r) => /* @__PURE__ */ a(
|
|
3309
3309
|
"svg",
|
|
3310
3310
|
{
|
|
3311
3311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3364,7 +3364,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3364
3364
|
)
|
|
3365
3365
|
]
|
|
3366
3366
|
}
|
|
3367
|
-
), N5 =
|
|
3367
|
+
), N5 = h(F5), V5 = (e, r) => /* @__PURE__ */ a(
|
|
3368
3368
|
"svg",
|
|
3369
3369
|
{
|
|
3370
3370
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3402,7 +3402,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3402
3402
|
)
|
|
3403
3403
|
]
|
|
3404
3404
|
}
|
|
3405
|
-
), S5 =
|
|
3405
|
+
), S5 = h(V5), T5 = (e, r) => /* @__PURE__ */ t(
|
|
3406
3406
|
"svg",
|
|
3407
3407
|
{
|
|
3408
3408
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3421,7 +3421,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3421
3421
|
}
|
|
3422
3422
|
)
|
|
3423
3423
|
}
|
|
3424
|
-
), H5 =
|
|
3424
|
+
), H5 = h(T5), A5 = (e, r) => /* @__PURE__ */ a(
|
|
3425
3425
|
"svg",
|
|
3426
3426
|
{
|
|
3427
3427
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3481,7 +3481,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3481
3481
|
)
|
|
3482
3482
|
]
|
|
3483
3483
|
}
|
|
3484
|
-
), $5 =
|
|
3484
|
+
), $5 = h(A5), B5 = (e, r) => /* @__PURE__ */ t(
|
|
3485
3485
|
"svg",
|
|
3486
3486
|
{
|
|
3487
3487
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3500,7 +3500,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3500
3500
|
}
|
|
3501
3501
|
)
|
|
3502
3502
|
}
|
|
3503
|
-
), I5 =
|
|
3503
|
+
), I5 = h(B5), P5 = (e, r) => /* @__PURE__ */ t(
|
|
3504
3504
|
"svg",
|
|
3505
3505
|
{
|
|
3506
3506
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3517,7 +3517,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3517
3517
|
}
|
|
3518
3518
|
)
|
|
3519
3519
|
}
|
|
3520
|
-
),
|
|
3520
|
+
), j5 = h(P5), D5 = (e, r) => /* @__PURE__ */ t(
|
|
3521
3521
|
"svg",
|
|
3522
3522
|
{
|
|
3523
3523
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3534,7 +3534,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3534
3534
|
}
|
|
3535
3535
|
)
|
|
3536
3536
|
}
|
|
3537
|
-
), Z5 =
|
|
3537
|
+
), Z5 = h(D5), _5 = (e, r) => /* @__PURE__ */ t(
|
|
3538
3538
|
"svg",
|
|
3539
3539
|
{
|
|
3540
3540
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3552,7 +3552,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3552
3552
|
}
|
|
3553
3553
|
)
|
|
3554
3554
|
}
|
|
3555
|
-
), O5 =
|
|
3555
|
+
), O5 = h(_5), U5 = (e, r) => /* @__PURE__ */ a(
|
|
3556
3556
|
"svg",
|
|
3557
3557
|
{
|
|
3558
3558
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3605,7 +3605,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3605
3605
|
)
|
|
3606
3606
|
]
|
|
3607
3607
|
}
|
|
3608
|
-
), z5 =
|
|
3608
|
+
), z5 = h(U5), G5 = (e, r) => /* @__PURE__ */ a(
|
|
3609
3609
|
"svg",
|
|
3610
3610
|
{
|
|
3611
3611
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3638,7 +3638,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3638
3638
|
)
|
|
3639
3639
|
]
|
|
3640
3640
|
}
|
|
3641
|
-
), W5 =
|
|
3641
|
+
), W5 = h(G5), q5 = (e, r) => /* @__PURE__ */ a(
|
|
3642
3642
|
"svg",
|
|
3643
3643
|
{
|
|
3644
3644
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3681,7 +3681,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3681
3681
|
)
|
|
3682
3682
|
]
|
|
3683
3683
|
}
|
|
3684
|
-
), X5 =
|
|
3684
|
+
), X5 = h(q5), Y5 = (e, r) => /* @__PURE__ */ t(
|
|
3685
3685
|
"svg",
|
|
3686
3686
|
{
|
|
3687
3687
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3700,7 +3700,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3700
3700
|
}
|
|
3701
3701
|
)
|
|
3702
3702
|
}
|
|
3703
|
-
), K5 =
|
|
3703
|
+
), K5 = h(Y5), Q5 = (e, r) => /* @__PURE__ */ a(
|
|
3704
3704
|
"svg",
|
|
3705
3705
|
{
|
|
3706
3706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3759,7 +3759,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3759
3759
|
)
|
|
3760
3760
|
]
|
|
3761
3761
|
}
|
|
3762
|
-
), J5 =
|
|
3762
|
+
), J5 = h(Q5), e0 = (e, r) => /* @__PURE__ */ a(
|
|
3763
3763
|
"svg",
|
|
3764
3764
|
{
|
|
3765
3765
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3838,7 +3838,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3838
3838
|
)
|
|
3839
3839
|
]
|
|
3840
3840
|
}
|
|
3841
|
-
), t0 =
|
|
3841
|
+
), t0 = h(e0), r0 = (e, r) => /* @__PURE__ */ a(
|
|
3842
3842
|
"svg",
|
|
3843
3843
|
{
|
|
3844
3844
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3876,7 +3876,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3876
3876
|
)
|
|
3877
3877
|
]
|
|
3878
3878
|
}
|
|
3879
|
-
), o0 =
|
|
3879
|
+
), o0 = h(r0), n0 = (e, r) => /* @__PURE__ */ a(
|
|
3880
3880
|
"svg",
|
|
3881
3881
|
{
|
|
3882
3882
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3907,7 +3907,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3907
3907
|
)
|
|
3908
3908
|
]
|
|
3909
3909
|
}
|
|
3910
|
-
), s0 =
|
|
3910
|
+
), s0 = h(n0), i0 = (e, r) => /* @__PURE__ */ t(
|
|
3911
3911
|
"svg",
|
|
3912
3912
|
{
|
|
3913
3913
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3926,7 +3926,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3926
3926
|
}
|
|
3927
3927
|
)
|
|
3928
3928
|
}
|
|
3929
|
-
), a0 =
|
|
3929
|
+
), a0 = h(i0), c0 = (e, r) => /* @__PURE__ */ a(
|
|
3930
3930
|
"svg",
|
|
3931
3931
|
{
|
|
3932
3932
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3977,7 +3977,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
3977
3977
|
)
|
|
3978
3978
|
]
|
|
3979
3979
|
}
|
|
3980
|
-
), l0 =
|
|
3980
|
+
), l0 = h(c0), d0 = (e, r) => /* @__PURE__ */ a(
|
|
3981
3981
|
"svg",
|
|
3982
3982
|
{
|
|
3983
3983
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4007,7 +4007,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4007
4007
|
)
|
|
4008
4008
|
]
|
|
4009
4009
|
}
|
|
4010
|
-
), f0 =
|
|
4010
|
+
), f0 = h(d0), u0 = (e, r) => /* @__PURE__ */ t(
|
|
4011
4011
|
"svg",
|
|
4012
4012
|
{
|
|
4013
4013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4026,7 +4026,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4026
4026
|
}
|
|
4027
4027
|
)
|
|
4028
4028
|
}
|
|
4029
|
-
), h0 =
|
|
4029
|
+
), h0 = h(u0), g0 = (e, r) => /* @__PURE__ */ a(
|
|
4030
4030
|
"svg",
|
|
4031
4031
|
{
|
|
4032
4032
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4057,7 +4057,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4057
4057
|
)
|
|
4058
4058
|
]
|
|
4059
4059
|
}
|
|
4060
|
-
), p0 =
|
|
4060
|
+
), p0 = h(g0), C0 = (e, r) => /* @__PURE__ */ a(
|
|
4061
4061
|
"svg",
|
|
4062
4062
|
{
|
|
4063
4063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4116,7 +4116,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4116
4116
|
)
|
|
4117
4117
|
]
|
|
4118
4118
|
}
|
|
4119
|
-
), m0 =
|
|
4119
|
+
), m0 = h(C0), v0 = (e, r) => /* @__PURE__ */ a(
|
|
4120
4120
|
"svg",
|
|
4121
4121
|
{
|
|
4122
4122
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4145,7 +4145,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4145
4145
|
)
|
|
4146
4146
|
]
|
|
4147
4147
|
}
|
|
4148
|
-
), w0 =
|
|
4148
|
+
), w0 = h(v0), x0 = (e, r) => /* @__PURE__ */ t(
|
|
4149
4149
|
"svg",
|
|
4150
4150
|
{
|
|
4151
4151
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4163,7 +4163,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4163
4163
|
}
|
|
4164
4164
|
)
|
|
4165
4165
|
}
|
|
4166
|
-
), k0 =
|
|
4166
|
+
), k0 = h(x0), L0 = (e, r) => /* @__PURE__ */ a(
|
|
4167
4167
|
"svg",
|
|
4168
4168
|
{
|
|
4169
4169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4208,7 +4208,7 @@ const ws = (e, r) => /* @__PURE__ */ a(
|
|
|
4208
4208
|
)
|
|
4209
4209
|
]
|
|
4210
4210
|
}
|
|
4211
|
-
), $t =
|
|
4211
|
+
), $t = h(L0);
|
|
4212
4212
|
$t.displayName = "ShoppingCart";
|
|
4213
4213
|
const b0 = (e, r) => /* @__PURE__ */ a(
|
|
4214
4214
|
"svg",
|
|
@@ -4260,7 +4260,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4260
4260
|
)
|
|
4261
4261
|
]
|
|
4262
4262
|
}
|
|
4263
|
-
), y0 =
|
|
4263
|
+
), y0 = h(b0), M0 = (e, r) => /* @__PURE__ */ a(
|
|
4264
4264
|
"svg",
|
|
4265
4265
|
{
|
|
4266
4266
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4291,7 +4291,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4291
4291
|
)
|
|
4292
4292
|
]
|
|
4293
4293
|
}
|
|
4294
|
-
), E0 =
|
|
4294
|
+
), E0 = h(M0), R0 = (e, r) => /* @__PURE__ */ a(
|
|
4295
4295
|
"svg",
|
|
4296
4296
|
{
|
|
4297
4297
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4322,7 +4322,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4322
4322
|
)
|
|
4323
4323
|
]
|
|
4324
4324
|
}
|
|
4325
|
-
), F0 =
|
|
4325
|
+
), F0 = h(R0), N0 = (e, r) => /* @__PURE__ */ a(
|
|
4326
4326
|
"svg",
|
|
4327
4327
|
{
|
|
4328
4328
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4387,7 +4387,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4387
4387
|
)
|
|
4388
4388
|
]
|
|
4389
4389
|
}
|
|
4390
|
-
), V0 =
|
|
4390
|
+
), V0 = h(N0), S0 = (e, r) => /* @__PURE__ */ a(
|
|
4391
4391
|
"svg",
|
|
4392
4392
|
{
|
|
4393
4393
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4418,7 +4418,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4418
4418
|
)
|
|
4419
4419
|
]
|
|
4420
4420
|
}
|
|
4421
|
-
), T0 =
|
|
4421
|
+
), T0 = h(S0), H0 = (e, r) => /* @__PURE__ */ a(
|
|
4422
4422
|
"svg",
|
|
4423
4423
|
{
|
|
4424
4424
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4467,7 +4467,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4467
4467
|
)
|
|
4468
4468
|
]
|
|
4469
4469
|
}
|
|
4470
|
-
), A0 =
|
|
4470
|
+
), A0 = h(H0), $0 = (e, r) => /* @__PURE__ */ a(
|
|
4471
4471
|
"svg",
|
|
4472
4472
|
{
|
|
4473
4473
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4498,7 +4498,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4498
4498
|
)
|
|
4499
4499
|
]
|
|
4500
4500
|
}
|
|
4501
|
-
), B0 =
|
|
4501
|
+
), B0 = h($0), I0 = (e, r) => /* @__PURE__ */ a(
|
|
4502
4502
|
"svg",
|
|
4503
4503
|
{
|
|
4504
4504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4527,7 +4527,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4527
4527
|
)
|
|
4528
4528
|
]
|
|
4529
4529
|
}
|
|
4530
|
-
), P0 =
|
|
4530
|
+
), P0 = h(I0), j0 = (e, r) => /* @__PURE__ */ a(
|
|
4531
4531
|
"svg",
|
|
4532
4532
|
{
|
|
4533
4533
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4558,7 +4558,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4558
4558
|
)
|
|
4559
4559
|
]
|
|
4560
4560
|
}
|
|
4561
|
-
),
|
|
4561
|
+
), D0 = h(j0), Z0 = (e, r) => /* @__PURE__ */ a(
|
|
4562
4562
|
"svg",
|
|
4563
4563
|
{
|
|
4564
4564
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4597,7 +4597,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4597
4597
|
)
|
|
4598
4598
|
]
|
|
4599
4599
|
}
|
|
4600
|
-
), _0 =
|
|
4600
|
+
), _0 = h(Z0), O0 = (e, r) => /* @__PURE__ */ a(
|
|
4601
4601
|
"svg",
|
|
4602
4602
|
{
|
|
4603
4603
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4628,7 +4628,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4628
4628
|
)
|
|
4629
4629
|
]
|
|
4630
4630
|
}
|
|
4631
|
-
), Bt =
|
|
4631
|
+
), Bt = h(O0), U0 = (e, r) => /* @__PURE__ */ a(
|
|
4632
4632
|
"svg",
|
|
4633
4633
|
{
|
|
4634
4634
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4655,7 +4655,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4655
4655
|
)
|
|
4656
4656
|
]
|
|
4657
4657
|
}
|
|
4658
|
-
), It =
|
|
4658
|
+
), It = h(U0), z0 = (e, r) => /* @__PURE__ */ a(
|
|
4659
4659
|
"svg",
|
|
4660
4660
|
{
|
|
4661
4661
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4686,7 +4686,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4686
4686
|
)
|
|
4687
4687
|
]
|
|
4688
4688
|
}
|
|
4689
|
-
), Pt =
|
|
4689
|
+
), Pt = h(z0), G0 = (e, r) => /* @__PURE__ */ a(
|
|
4690
4690
|
"svg",
|
|
4691
4691
|
{
|
|
4692
4692
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4713,7 +4713,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4713
4713
|
)
|
|
4714
4714
|
]
|
|
4715
4715
|
}
|
|
4716
|
-
),
|
|
4716
|
+
), jt = h(G0), W0 = (e, r) => /* @__PURE__ */ a(
|
|
4717
4717
|
"svg",
|
|
4718
4718
|
{
|
|
4719
4719
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4783,7 +4783,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4783
4783
|
)
|
|
4784
4784
|
]
|
|
4785
4785
|
}
|
|
4786
|
-
), q0 =
|
|
4786
|
+
), q0 = h(W0), X0 = (e, r) => /* @__PURE__ */ t(
|
|
4787
4787
|
"svg",
|
|
4788
4788
|
{
|
|
4789
4789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4801,7 +4801,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4801
4801
|
}
|
|
4802
4802
|
)
|
|
4803
4803
|
}
|
|
4804
|
-
), Y0 =
|
|
4804
|
+
), Y0 = h(X0), K0 = (e, r) => /* @__PURE__ */ a(
|
|
4805
4805
|
"svg",
|
|
4806
4806
|
{
|
|
4807
4807
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4836,7 +4836,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4836
4836
|
)
|
|
4837
4837
|
]
|
|
4838
4838
|
}
|
|
4839
|
-
), Q0 =
|
|
4839
|
+
), Q0 = h(K0), J0 = (e, r) => /* @__PURE__ */ a(
|
|
4840
4840
|
"svg",
|
|
4841
4841
|
{
|
|
4842
4842
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4876,7 +4876,110 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4876
4876
|
)
|
|
4877
4877
|
]
|
|
4878
4878
|
}
|
|
4879
|
-
), ec =
|
|
4879
|
+
), ec = h(J0), tc = (e, r) => /* @__PURE__ */ a(
|
|
4880
|
+
"svg",
|
|
4881
|
+
{
|
|
4882
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4883
|
+
fill: "none",
|
|
4884
|
+
viewBox: "0 0 24 24",
|
|
4885
|
+
ref: r,
|
|
4886
|
+
...e,
|
|
4887
|
+
children: [
|
|
4888
|
+
/* @__PURE__ */ t(
|
|
4889
|
+
"path",
|
|
4890
|
+
{
|
|
4891
|
+
stroke: "currentColor",
|
|
4892
|
+
strokeLinecap: "round",
|
|
4893
|
+
strokeLinejoin: "round",
|
|
4894
|
+
d: "M11 5L6 9H3V15H6L11 19V5Z",
|
|
4895
|
+
vectorEffect: "non-scaling-stroke"
|
|
4896
|
+
}
|
|
4897
|
+
),
|
|
4898
|
+
/* @__PURE__ */ t(
|
|
4899
|
+
"path",
|
|
4900
|
+
{
|
|
4901
|
+
stroke: "currentColor",
|
|
4902
|
+
strokeLinecap: "round",
|
|
4903
|
+
strokeLinejoin: "round",
|
|
4904
|
+
d: "M15 9.5C16 10.6667 16 13.3333 15 14.5",
|
|
4905
|
+
vectorEffect: "non-scaling-stroke"
|
|
4906
|
+
}
|
|
4907
|
+
),
|
|
4908
|
+
/* @__PURE__ */ t(
|
|
4909
|
+
"path",
|
|
4910
|
+
{
|
|
4911
|
+
stroke: "currentColor",
|
|
4912
|
+
strokeLinecap: "round",
|
|
4913
|
+
strokeLinejoin: "round",
|
|
4914
|
+
d: "M17.5 7C19.6667 9.33333 19.6667 14.6667 17.5 17",
|
|
4915
|
+
vectorEffect: "non-scaling-stroke"
|
|
4916
|
+
}
|
|
4917
|
+
)
|
|
4918
|
+
]
|
|
4919
|
+
}
|
|
4920
|
+
), rc = h(tc), oc = (e, r) => /* @__PURE__ */ a(
|
|
4921
|
+
"svg",
|
|
4922
|
+
{
|
|
4923
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4924
|
+
fill: "none",
|
|
4925
|
+
viewBox: "0 0 24 24",
|
|
4926
|
+
ref: r,
|
|
4927
|
+
...e,
|
|
4928
|
+
children: [
|
|
4929
|
+
/* @__PURE__ */ t(
|
|
4930
|
+
"path",
|
|
4931
|
+
{
|
|
4932
|
+
stroke: "currentColor",
|
|
4933
|
+
strokeLinecap: "round",
|
|
4934
|
+
strokeLinejoin: "round",
|
|
4935
|
+
d: "M11 5L6 9H3V15H6L11 19V5Z",
|
|
4936
|
+
vectorEffect: "non-scaling-stroke"
|
|
4937
|
+
}
|
|
4938
|
+
),
|
|
4939
|
+
/* @__PURE__ */ t(
|
|
4940
|
+
"path",
|
|
4941
|
+
{
|
|
4942
|
+
stroke: "currentColor",
|
|
4943
|
+
strokeLinecap: "round",
|
|
4944
|
+
strokeLinejoin: "round",
|
|
4945
|
+
d: "M15 9.5C16 10.6667 16 13.3333 15 14.5",
|
|
4946
|
+
vectorEffect: "non-scaling-stroke"
|
|
4947
|
+
}
|
|
4948
|
+
)
|
|
4949
|
+
]
|
|
4950
|
+
}
|
|
4951
|
+
), nc = h(oc), sc = (e, r) => /* @__PURE__ */ a(
|
|
4952
|
+
"svg",
|
|
4953
|
+
{
|
|
4954
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4955
|
+
fill: "none",
|
|
4956
|
+
viewBox: "0 0 24 24",
|
|
4957
|
+
ref: r,
|
|
4958
|
+
...e,
|
|
4959
|
+
children: [
|
|
4960
|
+
/* @__PURE__ */ t(
|
|
4961
|
+
"path",
|
|
4962
|
+
{
|
|
4963
|
+
stroke: "currentColor",
|
|
4964
|
+
strokeLinecap: "round",
|
|
4965
|
+
strokeLinejoin: "round",
|
|
4966
|
+
d: "M11 5L6 9H3V15H6L11 19V5Z",
|
|
4967
|
+
vectorEffect: "non-scaling-stroke"
|
|
4968
|
+
}
|
|
4969
|
+
),
|
|
4970
|
+
/* @__PURE__ */ t(
|
|
4971
|
+
"path",
|
|
4972
|
+
{
|
|
4973
|
+
stroke: "currentColor",
|
|
4974
|
+
strokeLinecap: "round",
|
|
4975
|
+
strokeLinejoin: "round",
|
|
4976
|
+
d: "M15.5 9.5L20.5 14.5M20.5 9.5L15.5 14.5",
|
|
4977
|
+
vectorEffect: "non-scaling-stroke"
|
|
4978
|
+
}
|
|
4979
|
+
)
|
|
4980
|
+
]
|
|
4981
|
+
}
|
|
4982
|
+
), ic = h(sc), ac = (e, r) => /* @__PURE__ */ a(
|
|
4880
4983
|
"svg",
|
|
4881
4984
|
{
|
|
4882
4985
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4915,7 +5018,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4915
5018
|
)
|
|
4916
5019
|
]
|
|
4917
5020
|
}
|
|
4918
|
-
),
|
|
5021
|
+
), cc = h(ac), lc = (e, r) => /* @__PURE__ */ a(
|
|
4919
5022
|
"svg",
|
|
4920
5023
|
{
|
|
4921
5024
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4944,7 +5047,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4944
5047
|
)
|
|
4945
5048
|
]
|
|
4946
5049
|
}
|
|
4947
|
-
),
|
|
5050
|
+
), dc = h(lc), fc = (e, r) => /* @__PURE__ */ a(
|
|
4948
5051
|
"svg",
|
|
4949
5052
|
{
|
|
4950
5053
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4971,7 +5074,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4971
5074
|
)
|
|
4972
5075
|
]
|
|
4973
5076
|
}
|
|
4974
|
-
),
|
|
5077
|
+
), uc = h(fc), hc = (e, r) => /* @__PURE__ */ a(
|
|
4975
5078
|
"svg",
|
|
4976
5079
|
{
|
|
4977
5080
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4989,7 +5092,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4989
5092
|
/* @__PURE__ */ t("path", { d: "M8.5 16.429a5 5 0 0 1 7 0", vectorEffect: "non-scaling-stroke" })
|
|
4990
5093
|
]
|
|
4991
5094
|
}
|
|
4992
|
-
),
|
|
5095
|
+
), gc = h(hc), pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4993
5096
|
__proto__: null,
|
|
4994
5097
|
AcademicCap: xs,
|
|
4995
5098
|
Add: $r,
|
|
@@ -4998,8 +5101,8 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
4998
5101
|
AlertCircle: nt,
|
|
4999
5102
|
AlertCircleLine: Ir,
|
|
5000
5103
|
AlignTextCenter: Pr,
|
|
5001
|
-
AlignTextJustify:
|
|
5002
|
-
AlignTextLeft:
|
|
5104
|
+
AlignTextJustify: jr,
|
|
5105
|
+
AlignTextLeft: Dr,
|
|
5003
5106
|
AlignTextRight: Zr,
|
|
5004
5107
|
Appearance: ys,
|
|
5005
5108
|
Archive: Es,
|
|
@@ -5019,7 +5122,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5019
5122
|
BookOpen: Ps,
|
|
5020
5123
|
Bookmark: qr,
|
|
5021
5124
|
BookmarkFilled: Xr,
|
|
5022
|
-
Briefcase:
|
|
5125
|
+
Briefcase: Ds,
|
|
5023
5126
|
Bucket: _s,
|
|
5024
5127
|
Building: Us,
|
|
5025
5128
|
Bullet: Yr,
|
|
@@ -5065,7 +5168,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5065
5168
|
Delete: lt,
|
|
5066
5169
|
Deny: Pi,
|
|
5067
5170
|
Descending: ao,
|
|
5068
|
-
Desktop:
|
|
5171
|
+
Desktop: Di,
|
|
5069
5172
|
DollarBill: _i,
|
|
5070
5173
|
DollarReset: Ui,
|
|
5071
5174
|
DottedCircle: co,
|
|
@@ -5124,10 +5227,10 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5124
5227
|
InfoCircle: Io,
|
|
5125
5228
|
InfoCircleLine: Po,
|
|
5126
5229
|
InputField: Ba,
|
|
5127
|
-
Italic:
|
|
5128
|
-
Kanban:
|
|
5230
|
+
Italic: jo,
|
|
5231
|
+
Kanban: Do,
|
|
5129
5232
|
Keyboard: Pa,
|
|
5130
|
-
Laptop:
|
|
5233
|
+
Laptop: Da,
|
|
5131
5234
|
LayersFront: Zo,
|
|
5132
5235
|
Less: _o,
|
|
5133
5236
|
Lightbulb: Ht,
|
|
@@ -5177,7 +5280,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5177
5280
|
Pencil: rn,
|
|
5178
5281
|
People: on,
|
|
5179
5282
|
Person: nn,
|
|
5180
|
-
PersonMinus:
|
|
5283
|
+
PersonMinus: j5,
|
|
5181
5284
|
PersonNegative: sn,
|
|
5182
5285
|
PersonPlus: Z5,
|
|
5183
5286
|
Phone: O5,
|
|
@@ -5228,13 +5331,13 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5228
5331
|
Swap: B0,
|
|
5229
5332
|
Table: xn,
|
|
5230
5333
|
Tablet: P0,
|
|
5231
|
-
Tag:
|
|
5334
|
+
Tag: D0,
|
|
5232
5335
|
Target: _0,
|
|
5233
5336
|
TextSize: kn,
|
|
5234
5337
|
ThumbsDown: Bt,
|
|
5235
5338
|
ThumbsDownFilled: It,
|
|
5236
5339
|
ThumbsUp: Pt,
|
|
5237
|
-
ThumbsUpFilled:
|
|
5340
|
+
ThumbsUpFilled: jt,
|
|
5238
5341
|
Timer: q0,
|
|
5239
5342
|
Underline: Ln,
|
|
5240
5343
|
Upload: bn,
|
|
@@ -5243,13 +5346,16 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5243
5346
|
Video: yn,
|
|
5244
5347
|
VideoRecorder: Q0,
|
|
5245
5348
|
VideoRecorderNegative: ec,
|
|
5246
|
-
|
|
5349
|
+
VolumeHigh: rc,
|
|
5350
|
+
VolumeMid: nc,
|
|
5351
|
+
VolumeMuted: ic,
|
|
5352
|
+
Wallet: cc,
|
|
5247
5353
|
Warning: Mn,
|
|
5248
|
-
Watch:
|
|
5249
|
-
WhatsappChat:
|
|
5250
|
-
Wifi:
|
|
5354
|
+
Watch: dc,
|
|
5355
|
+
WhatsappChat: uc,
|
|
5356
|
+
Wifi: gc,
|
|
5251
5357
|
Windows: En
|
|
5252
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5358
|
+
}, Symbol.toStringTag, { value: "Module" })), Cc = (e, r) => /* @__PURE__ */ t(
|
|
5253
5359
|
"svg",
|
|
5254
5360
|
{
|
|
5255
5361
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5266,7 +5372,7 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5266
5372
|
}
|
|
5267
5373
|
)
|
|
5268
5374
|
}
|
|
5269
|
-
),
|
|
5375
|
+
), mc = h(Cc), vc = [
|
|
5270
5376
|
"append",
|
|
5271
5377
|
"className",
|
|
5272
5378
|
"pressed",
|
|
@@ -5277,8 +5383,8 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5277
5383
|
"variant",
|
|
5278
5384
|
"loading",
|
|
5279
5385
|
"emoji"
|
|
5280
|
-
],
|
|
5281
|
-
const o =
|
|
5386
|
+
], Dt = h((e, r) => {
|
|
5387
|
+
const o = vc.reduce((n, s) => {
|
|
5282
5388
|
const { [s]: i, ...l } = n;
|
|
5283
5389
|
return l;
|
|
5284
5390
|
}, e);
|
|
@@ -5288,11 +5394,11 @@ const b0 = (e, r) => /* @__PURE__ */ a(
|
|
|
5288
5394
|
...o,
|
|
5289
5395
|
variant: "ai",
|
|
5290
5396
|
ref: r,
|
|
5291
|
-
iconRotate: e.icon ==
|
|
5397
|
+
iconRotate: e.icon == mc
|
|
5292
5398
|
}
|
|
5293
5399
|
);
|
|
5294
5400
|
});
|
|
5295
|
-
|
|
5401
|
+
Dt.displayName = "AIButton";
|
|
5296
5402
|
const Zt = {
|
|
5297
5403
|
background: {
|
|
5298
5404
|
transparent: "bg-transparent",
|
|
@@ -5433,7 +5539,7 @@ const Zt = {
|
|
|
5433
5539
|
double: "border-double",
|
|
5434
5540
|
none: "border-none"
|
|
5435
5541
|
}
|
|
5436
|
-
},
|
|
5542
|
+
}, wc = {}, xc = {
|
|
5437
5543
|
// Special
|
|
5438
5544
|
auto: "w-auto",
|
|
5439
5545
|
full: "w-full",
|
|
@@ -5490,7 +5596,7 @@ const Zt = {
|
|
|
5490
5596
|
"4/5": "w-4/5",
|
|
5491
5597
|
"1/6": "w-1/6",
|
|
5492
5598
|
"5/6": "w-5/6"
|
|
5493
|
-
},
|
|
5599
|
+
}, kc = {
|
|
5494
5600
|
auto: "h-auto",
|
|
5495
5601
|
full: "h-full",
|
|
5496
5602
|
screen: "h-screen",
|
|
@@ -5544,7 +5650,7 @@ const Zt = {
|
|
|
5544
5650
|
"4/5": "h-4/5",
|
|
5545
5651
|
"1/6": "h-1/6",
|
|
5546
5652
|
"5/6": "h-5/6"
|
|
5547
|
-
},
|
|
5653
|
+
}, Lc = {
|
|
5548
5654
|
auto: "min-w-0",
|
|
5549
5655
|
full: "min-w-full",
|
|
5550
5656
|
screen: "min-w-screen",
|
|
@@ -5598,7 +5704,7 @@ const Zt = {
|
|
|
5598
5704
|
"4/5": "min-w-4/5",
|
|
5599
5705
|
"1/6": "min-w-1/6",
|
|
5600
5706
|
"5/6": "min-w-5/6"
|
|
5601
|
-
},
|
|
5707
|
+
}, bc = {
|
|
5602
5708
|
auto: "min-h-0",
|
|
5603
5709
|
full: "min-h-full",
|
|
5604
5710
|
screen: "min-h-screen",
|
|
@@ -5652,7 +5758,7 @@ const Zt = {
|
|
|
5652
5758
|
"4/5": "min-h-4/5",
|
|
5653
5759
|
"1/6": "min-h-1/6",
|
|
5654
5760
|
"5/6": "min-h-5/6"
|
|
5655
|
-
},
|
|
5761
|
+
}, yc = {
|
|
5656
5762
|
auto: "max-w-none",
|
|
5657
5763
|
full: "max-w-full",
|
|
5658
5764
|
screen: "max-w-screen",
|
|
@@ -5706,7 +5812,7 @@ const Zt = {
|
|
|
5706
5812
|
"4/5": "max-w-4/5",
|
|
5707
5813
|
"1/6": "max-w-1/6",
|
|
5708
5814
|
"5/6": "max-w-5/6"
|
|
5709
|
-
},
|
|
5815
|
+
}, Mc = {
|
|
5710
5816
|
auto: "max-h-none",
|
|
5711
5817
|
full: "max-h-full",
|
|
5712
5818
|
screen: "max-h-screen",
|
|
@@ -5761,12 +5867,12 @@ const Zt = {
|
|
|
5761
5867
|
"1/6": "max-h-1/6",
|
|
5762
5868
|
"5/6": "max-h-5/6"
|
|
5763
5869
|
}, Ot = {
|
|
5764
|
-
width:
|
|
5765
|
-
height:
|
|
5766
|
-
minWidth:
|
|
5767
|
-
minHeight:
|
|
5768
|
-
maxWidth:
|
|
5769
|
-
maxHeight:
|
|
5870
|
+
width: xc,
|
|
5871
|
+
height: kc,
|
|
5872
|
+
minWidth: Lc,
|
|
5873
|
+
minHeight: bc,
|
|
5874
|
+
maxWidth: yc,
|
|
5875
|
+
maxHeight: Mc
|
|
5770
5876
|
}, Ut = {
|
|
5771
5877
|
display: {
|
|
5772
5878
|
block: "block",
|
|
@@ -5852,7 +5958,7 @@ const Zt = {
|
|
|
5852
5958
|
true: "shrink",
|
|
5853
5959
|
false: "shrink-0"
|
|
5854
5960
|
}
|
|
5855
|
-
},
|
|
5961
|
+
}, Ec = {}, Wt = {
|
|
5856
5962
|
columns: {
|
|
5857
5963
|
none: "grid-cols-none",
|
|
5858
5964
|
1: "grid-cols-1",
|
|
@@ -6058,13 +6164,13 @@ const Zt = {
|
|
|
6058
6164
|
"5xl": "mr-16",
|
|
6059
6165
|
auto: "mr-auto"
|
|
6060
6166
|
}
|
|
6061
|
-
},
|
|
6167
|
+
}, Rc = {}, Fc = {
|
|
6062
6168
|
visible: "overflow-visible",
|
|
6063
6169
|
hidden: "overflow-hidden",
|
|
6064
6170
|
auto: "overflow-auto",
|
|
6065
6171
|
scroll: "overflow-scroll"
|
|
6066
6172
|
}, Yt = {
|
|
6067
|
-
overflow:
|
|
6173
|
+
overflow: Fc,
|
|
6068
6174
|
overflowX: {
|
|
6069
6175
|
visible: "overflow-x-visible",
|
|
6070
6176
|
hidden: "overflow-x-hidden",
|
|
@@ -6077,7 +6183,7 @@ const Zt = {
|
|
|
6077
6183
|
auto: "overflow-y-auto",
|
|
6078
6184
|
scroll: "overflow-y-scroll"
|
|
6079
6185
|
}
|
|
6080
|
-
},
|
|
6186
|
+
}, Nc = {}, Kt = {
|
|
6081
6187
|
padding: {
|
|
6082
6188
|
none: "p-0",
|
|
6083
6189
|
xs: "p-1",
|
|
@@ -6162,7 +6268,7 @@ const Zt = {
|
|
|
6162
6268
|
"4xl": "pr-12",
|
|
6163
6269
|
"5xl": "pr-16"
|
|
6164
6270
|
}
|
|
6165
|
-
},
|
|
6271
|
+
}, Vc = {}, Sc = {
|
|
6166
6272
|
boxShadow: {
|
|
6167
6273
|
none: "shadow-none",
|
|
6168
6274
|
sm: "shadow",
|
|
@@ -6180,7 +6286,7 @@ const Zt = {
|
|
|
6180
6286
|
40: "z-40",
|
|
6181
6287
|
50: "z-50"
|
|
6182
6288
|
}
|
|
6183
|
-
},
|
|
6289
|
+
}, Tc = {
|
|
6184
6290
|
...Ut,
|
|
6185
6291
|
...qt,
|
|
6186
6292
|
...Kt,
|
|
@@ -6194,21 +6300,21 @@ const Zt = {
|
|
|
6194
6300
|
...zt,
|
|
6195
6301
|
...Qt
|
|
6196
6302
|
};
|
|
6197
|
-
function
|
|
6303
|
+
function Hc(e, r) {
|
|
6198
6304
|
return r.split(" ").map((o) => `${e}:${o}`).join(" ");
|
|
6199
6305
|
}
|
|
6200
|
-
function
|
|
6306
|
+
function Ac(e, r) {
|
|
6201
6307
|
const o = [];
|
|
6202
6308
|
for (const [n, s] of Object.entries(r)) {
|
|
6203
6309
|
if (s == null) continue;
|
|
6204
|
-
const i =
|
|
6310
|
+
const i = Tc[n];
|
|
6205
6311
|
if (!i) continue;
|
|
6206
6312
|
const l = i[String(s)];
|
|
6207
|
-
l && o.push(
|
|
6313
|
+
l && o.push(Hc(e, l));
|
|
6208
6314
|
}
|
|
6209
6315
|
return o.join(" ");
|
|
6210
6316
|
}
|
|
6211
|
-
const
|
|
6317
|
+
const $c = Te({
|
|
6212
6318
|
base: "",
|
|
6213
6319
|
variants: {
|
|
6214
6320
|
...Ut,
|
|
@@ -6222,17 +6328,17 @@ const Nc = Te({
|
|
|
6222
6328
|
..._t,
|
|
6223
6329
|
...Yt,
|
|
6224
6330
|
...zt,
|
|
6225
|
-
...
|
|
6331
|
+
...Sc,
|
|
6226
6332
|
...Qt
|
|
6227
6333
|
},
|
|
6228
6334
|
defaultVariants: {
|
|
6229
|
-
...
|
|
6230
|
-
...
|
|
6231
|
-
...
|
|
6232
|
-
...
|
|
6233
|
-
...
|
|
6335
|
+
...Vc,
|
|
6336
|
+
...Rc,
|
|
6337
|
+
...Ec,
|
|
6338
|
+
...wc,
|
|
6339
|
+
...Nc
|
|
6234
6340
|
}
|
|
6235
|
-
}),
|
|
6341
|
+
}), Bc = ["sm", "md", "lg", "xl"], Jt = h(
|
|
6236
6342
|
({
|
|
6237
6343
|
// Display & Position
|
|
6238
6344
|
display: e,
|
|
@@ -6249,7 +6355,7 @@ const Nc = Te({
|
|
|
6249
6355
|
paddingTop: f,
|
|
6250
6356
|
paddingBottom: p,
|
|
6251
6357
|
paddingLeft: C,
|
|
6252
|
-
paddingRight:
|
|
6358
|
+
paddingRight: g,
|
|
6253
6359
|
// Margin
|
|
6254
6360
|
margin: m,
|
|
6255
6361
|
marginX: x,
|
|
@@ -6278,7 +6384,7 @@ const Nc = Te({
|
|
|
6278
6384
|
// Border
|
|
6279
6385
|
borderColor: X,
|
|
6280
6386
|
border: Y,
|
|
6281
|
-
borderTop:
|
|
6387
|
+
borderTop: D,
|
|
6282
6388
|
borderBottom: W,
|
|
6283
6389
|
borderLeft: K,
|
|
6284
6390
|
borderRight: ie,
|
|
@@ -6310,9 +6416,9 @@ const Nc = Te({
|
|
|
6310
6416
|
xl: Ke,
|
|
6311
6417
|
...Pe
|
|
6312
6418
|
}, Qe) => {
|
|
6313
|
-
const Ae =
|
|
6314
|
-
const _e =
|
|
6315
|
-
return _e ?
|
|
6419
|
+
const Ae = D && D !== "none" || W && W !== "none" || K && K !== "none" || ie && ie !== "none", Se = Y && Y !== "none" || Ae, je = { sm: xe, md: Xe, lg: Ye, xl: Ke }, De = Bc.map((Ze) => {
|
|
6420
|
+
const _e = je[Ze];
|
|
6421
|
+
return _e ? Ac(Ze, _e) : "";
|
|
6316
6422
|
}).filter(Boolean).join(" ");
|
|
6317
6423
|
return /* @__PURE__ */ t(
|
|
6318
6424
|
"div",
|
|
@@ -6320,7 +6426,7 @@ const Nc = Te({
|
|
|
6320
6426
|
ref: Qe,
|
|
6321
6427
|
className: k(
|
|
6322
6428
|
Ae && "border-0",
|
|
6323
|
-
|
|
6429
|
+
$c({
|
|
6324
6430
|
display: e,
|
|
6325
6431
|
position: r,
|
|
6326
6432
|
top: o,
|
|
@@ -6334,7 +6440,7 @@ const Nc = Te({
|
|
|
6334
6440
|
paddingTop: f,
|
|
6335
6441
|
paddingBottom: p,
|
|
6336
6442
|
paddingLeft: C,
|
|
6337
|
-
paddingRight:
|
|
6443
|
+
paddingRight: g,
|
|
6338
6444
|
margin: m,
|
|
6339
6445
|
marginX: x,
|
|
6340
6446
|
marginY: v,
|
|
@@ -6357,7 +6463,7 @@ const Nc = Te({
|
|
|
6357
6463
|
background: oe,
|
|
6358
6464
|
borderColor: X,
|
|
6359
6465
|
border: Y,
|
|
6360
|
-
borderTop:
|
|
6466
|
+
borderTop: D,
|
|
6361
6467
|
borderBottom: W,
|
|
6362
6468
|
borderLeft: K,
|
|
6363
6469
|
borderRight: ie,
|
|
@@ -6380,7 +6486,7 @@ const Nc = Te({
|
|
|
6380
6486
|
shrink: qe,
|
|
6381
6487
|
boxShadow: ae
|
|
6382
6488
|
}),
|
|
6383
|
-
|
|
6489
|
+
De,
|
|
6384
6490
|
Se && !X && "border-f1-border",
|
|
6385
6491
|
T && !Z && "divide-f1-border",
|
|
6386
6492
|
"scrollbar-macos"
|
|
@@ -6397,12 +6503,12 @@ const e1 = Rn(
|
|
|
6397
6503
|
type: "layout"
|
|
6398
6504
|
},
|
|
6399
6505
|
Jt
|
|
6400
|
-
),
|
|
6506
|
+
), P6 = ["xs", "sm", "md", "lg"], j6 = [
|
|
6401
6507
|
"inProgress",
|
|
6402
6508
|
"executing",
|
|
6403
6509
|
"writing",
|
|
6404
6510
|
"completed"
|
|
6405
|
-
],
|
|
6511
|
+
], Ic = ({
|
|
6406
6512
|
onUploadFiles: e,
|
|
6407
6513
|
toolbarStart: r,
|
|
6408
6514
|
isAtMaxFiles: o,
|
|
@@ -6416,7 +6522,7 @@ const e1 = Rn(
|
|
|
6416
6522
|
canRecord: f,
|
|
6417
6523
|
recordingStatus: p = "idle",
|
|
6418
6524
|
recordingStream: C,
|
|
6419
|
-
onStartRecording:
|
|
6525
|
+
onStartRecording: g,
|
|
6420
6526
|
onStopRecording: m,
|
|
6421
6527
|
onCancelRecording: x
|
|
6422
6528
|
}) => {
|
|
@@ -6508,7 +6614,7 @@ const e1 = Rn(
|
|
|
6508
6614
|
variant: "outline",
|
|
6509
6615
|
size: "md",
|
|
6510
6616
|
disabled: d,
|
|
6511
|
-
onClick:
|
|
6617
|
+
onClick: g,
|
|
6512
6618
|
loading: p === "transcribing"
|
|
6513
6619
|
}
|
|
6514
6620
|
),
|
|
@@ -6534,7 +6640,7 @@ const e1 = Rn(
|
|
|
6534
6640
|
)
|
|
6535
6641
|
] })
|
|
6536
6642
|
] });
|
|
6537
|
-
},
|
|
6643
|
+
}, Pc = ({
|
|
6538
6644
|
attachedFiles: e,
|
|
6539
6645
|
isUploading: r,
|
|
6540
6646
|
onRemove: o,
|
|
@@ -6547,7 +6653,7 @@ const e1 = Rn(
|
|
|
6547
6653
|
className: "flex flex-wrap gap-1 px-1 pt-1",
|
|
6548
6654
|
children: e.map(
|
|
6549
6655
|
(s) => s.status === "uploading" ? /* @__PURE__ */ t(he, { className: "h-9 w-36 rounded-[10px]" }, s.id) : s.status === "error" ? /* @__PURE__ */ t(
|
|
6550
|
-
|
|
6656
|
+
jc,
|
|
6551
6657
|
{
|
|
6552
6658
|
att: s,
|
|
6553
6659
|
onRemove: o,
|
|
@@ -6572,7 +6678,7 @@ const e1 = Rn(
|
|
|
6572
6678
|
)
|
|
6573
6679
|
}
|
|
6574
6680
|
);
|
|
6575
|
-
function
|
|
6681
|
+
function jc({
|
|
6576
6682
|
att: e,
|
|
6577
6683
|
onRemove: r,
|
|
6578
6684
|
removeLabel: o
|
|
@@ -6595,21 +6701,21 @@ function Hc({
|
|
|
6595
6701
|
] });
|
|
6596
6702
|
return e.errorMessage ? /* @__PURE__ */ t(Nn, { label: e.errorMessage, children: n }) : n;
|
|
6597
6703
|
}
|
|
6598
|
-
const
|
|
6704
|
+
const Dc = {
|
|
6599
6705
|
soft: {
|
|
6600
6706
|
text: "",
|
|
6601
6707
|
bg: "bg-f1-background-info",
|
|
6602
6708
|
fontColor: "text-f1-foreground-info",
|
|
6603
6709
|
formBorder: "[&_form]:border-f1-border-info"
|
|
6604
6710
|
}
|
|
6605
|
-
},
|
|
6711
|
+
}, Zc = ({
|
|
6606
6712
|
creditWarning: e,
|
|
6607
6713
|
children: r
|
|
6608
6714
|
}) => {
|
|
6609
6715
|
const o = G();
|
|
6610
6716
|
if (!e) return r;
|
|
6611
6717
|
const n = {
|
|
6612
|
-
...
|
|
6718
|
+
...Dc[e.level],
|
|
6613
6719
|
text: o.ai.creditWarning.soft
|
|
6614
6720
|
};
|
|
6615
6721
|
return /* @__PURE__ */ a(
|
|
@@ -6654,7 +6760,7 @@ const Ac = {
|
|
|
6654
6760
|
}
|
|
6655
6761
|
);
|
|
6656
6762
|
};
|
|
6657
|
-
function
|
|
6763
|
+
function _c({
|
|
6658
6764
|
isOpen: e,
|
|
6659
6765
|
results: r,
|
|
6660
6766
|
isLoading: o,
|
|
@@ -6662,7 +6768,7 @@ function Bc({
|
|
|
6662
6768
|
position: s,
|
|
6663
6769
|
onSelect: i
|
|
6664
6770
|
}) {
|
|
6665
|
-
const l =
|
|
6771
|
+
const l = j(null), d = j(null);
|
|
6666
6772
|
q(() => {
|
|
6667
6773
|
d.current?.scrollIntoView({ block: "nearest" });
|
|
6668
6774
|
}, [n]), rt(() => {
|
|
@@ -6706,7 +6812,7 @@ function Bc({
|
|
|
6706
6812
|
},
|
|
6707
6813
|
p
|
|
6708
6814
|
)) : r.map((f, p) => {
|
|
6709
|
-
const C = p === n,
|
|
6815
|
+
const C = p === n, g = `${f.firstName} ${f.lastName}`.trim();
|
|
6710
6816
|
return /* @__PURE__ */ a(
|
|
6711
6817
|
"div",
|
|
6712
6818
|
{
|
|
@@ -6733,7 +6839,7 @@ function Bc({
|
|
|
6733
6839
|
size: "xsmall"
|
|
6734
6840
|
}
|
|
6735
6841
|
),
|
|
6736
|
-
/* @__PURE__ */ t("div", { className: "flex min-w-0 flex-1 flex-col", children: /* @__PURE__ */ t(se, { className: "text-base font-medium text-f1-foreground", children:
|
|
6842
|
+
/* @__PURE__ */ t("div", { className: "flex min-w-0 flex-1 flex-col", children: /* @__PURE__ */ t(se, { className: "text-base font-medium text-f1-foreground", children: g }) })
|
|
6737
6843
|
]
|
|
6738
6844
|
},
|
|
6739
6845
|
String(f.id)
|
|
@@ -6742,7 +6848,7 @@ function Bc({
|
|
|
6742
6848
|
}
|
|
6743
6849
|
);
|
|
6744
6850
|
}
|
|
6745
|
-
const
|
|
6851
|
+
const Oc = ({
|
|
6746
6852
|
quote: e,
|
|
6747
6853
|
onRemove: r
|
|
6748
6854
|
}) => {
|
|
@@ -6778,16 +6884,16 @@ const Ic = ({
|
|
|
6778
6884
|
]
|
|
6779
6885
|
}
|
|
6780
6886
|
) });
|
|
6781
|
-
},
|
|
6887
|
+
}, Uc = ({
|
|
6782
6888
|
placeholders: e,
|
|
6783
6889
|
defaultPlaceholder: r,
|
|
6784
6890
|
inputValue: o,
|
|
6785
6891
|
inProgress: n
|
|
6786
6892
|
}) => {
|
|
6787
|
-
const s = Le(), [i, l] = B(""), [d, c] = B(0), [u, f] = B(!1), p =
|
|
6893
|
+
const s = Le(), [i, l] = B(""), [d, c] = B(0), [u, f] = B(!1), p = j(null), C = j(null), g = j(null), m = e[d] ?? r;
|
|
6788
6894
|
return q(() => {
|
|
6789
6895
|
const x = () => {
|
|
6790
|
-
C.current && (clearInterval(C.current), C.current = null),
|
|
6896
|
+
C.current && (clearInterval(C.current), C.current = null), g.current && (clearInterval(g.current), g.current = null), p.current && (clearTimeout(p.current), p.current = null);
|
|
6791
6897
|
};
|
|
6792
6898
|
if (o.length > 0 || n) {
|
|
6793
6899
|
f(!1), l(""), x();
|
|
@@ -6805,8 +6911,8 @@ const Ic = ({
|
|
|
6805
6911
|
const F = 50, I = 30, H = 2e3, S = 1e3;
|
|
6806
6912
|
return C.current = setInterval(() => {
|
|
6807
6913
|
v < m.length ? (l(m.slice(0, v + 1)), v++) : (C.current && (clearInterval(C.current), C.current = null), p.current = setTimeout(() => {
|
|
6808
|
-
|
|
6809
|
-
v > 0 ? (v--, l(m.slice(0, v))) : (
|
|
6914
|
+
g.current = setInterval(() => {
|
|
6915
|
+
v > 0 ? (v--, l(m.slice(0, v))) : (g.current && (clearInterval(g.current), g.current = null), p.current = setTimeout(() => {
|
|
6810
6916
|
const M = (d + 1) % Math.max(e.length, 1);
|
|
6811
6917
|
c(M);
|
|
6812
6918
|
}, S));
|
|
@@ -6851,7 +6957,7 @@ const Ic = ({
|
|
|
6851
6957
|
)
|
|
6852
6958
|
}
|
|
6853
6959
|
) });
|
|
6854
|
-
},
|
|
6960
|
+
}, zc = ({
|
|
6855
6961
|
textareaRef: e,
|
|
6856
6962
|
highlightRef: r,
|
|
6857
6963
|
inputValue: o,
|
|
@@ -6901,14 +7007,14 @@ const Ic = ({
|
|
|
6901
7007
|
"overflow-y-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
|
|
6902
7008
|
),
|
|
6903
7009
|
children: d.map(
|
|
6904
|
-
(
|
|
7010
|
+
(g, m) => g.type === "mention" ? /* @__PURE__ */ t(
|
|
6905
7011
|
"span",
|
|
6906
7012
|
{
|
|
6907
7013
|
className: "font-medium text-f1-foreground-secondary",
|
|
6908
|
-
children:
|
|
7014
|
+
children: g.text
|
|
6909
7015
|
},
|
|
6910
7016
|
m
|
|
6911
|
-
) :
|
|
7017
|
+
) : g.type === "ghost" ? /* @__PURE__ */ t("span", { className: "text-f1-foreground-secondary opacity-50", children: g.text }, m) : /* @__PURE__ */ t("span", { children: g.text }, m)
|
|
6912
7018
|
)
|
|
6913
7019
|
}
|
|
6914
7020
|
),
|
|
@@ -6934,8 +7040,8 @@ const Ic = ({
|
|
|
6934
7040
|
rows: 1,
|
|
6935
7041
|
ref: e,
|
|
6936
7042
|
value: o,
|
|
6937
|
-
onChange: (
|
|
6938
|
-
n(
|
|
7043
|
+
onChange: (g) => {
|
|
7044
|
+
n(g.target.value, g.target.selectionStart ?? 0);
|
|
6939
7045
|
},
|
|
6940
7046
|
onKeyDown: s,
|
|
6941
7047
|
onKeyUp: i,
|
|
@@ -6957,7 +7063,7 @@ const Ic = ({
|
|
|
6957
7063
|
}
|
|
6958
7064
|
),
|
|
6959
7065
|
u && /* @__PURE__ */ t(
|
|
6960
|
-
|
|
7066
|
+
Uc,
|
|
6961
7067
|
{
|
|
6962
7068
|
placeholders: f,
|
|
6963
7069
|
defaultPlaceholder: p,
|
|
@@ -6967,9 +7073,9 @@ const Ic = ({
|
|
|
6967
7073
|
)
|
|
6968
7074
|
]
|
|
6969
7075
|
}
|
|
6970
|
-
),
|
|
7076
|
+
), Gc = 4, Wc = ({
|
|
6971
7077
|
cards: e
|
|
6972
|
-
}) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0,
|
|
7078
|
+
}) => e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "grid w-full grid-cols-2 gap-3", children: e.slice(0, Gc).map((r) => /* @__PURE__ */ t(
|
|
6973
7079
|
Lt,
|
|
6974
7080
|
{
|
|
6975
7081
|
avatar: { type: "icon", icon: r.icon },
|
|
@@ -6978,11 +7084,11 @@ const Ic = ({
|
|
|
6978
7084
|
onClick: r.onClick
|
|
6979
7085
|
},
|
|
6980
7086
|
r.id
|
|
6981
|
-
)) }),
|
|
6982
|
-
function
|
|
7087
|
+
)) }), qc = 5;
|
|
7088
|
+
function Xc(e, r = qc) {
|
|
6983
7089
|
return e.length <= r ? e : [...e].sort(() => 0.5 - Math.random()).slice(0, r);
|
|
6984
7090
|
}
|
|
6985
|
-
const
|
|
7091
|
+
const Yc = ({
|
|
6986
7092
|
suggestions: e,
|
|
6987
7093
|
onItemClick: r,
|
|
6988
7094
|
onItemHover: o,
|
|
@@ -7025,7 +7131,7 @@ const Uc = ({
|
|
|
7025
7131
|
/* @__PURE__ */ t(le, { icon: l.icon, size: "sm" }),
|
|
7026
7132
|
/* @__PURE__ */ t("span", { children: l.label })
|
|
7027
7133
|
] }),
|
|
7028
|
-
/* @__PURE__ */ t("div", { className: "flex flex-col", children:
|
|
7134
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col", children: Xc(l.items).map((d, c) => /* @__PURE__ */ a(
|
|
7029
7135
|
"button",
|
|
7030
7136
|
{
|
|
7031
7137
|
type: "button",
|
|
@@ -7064,15 +7170,15 @@ const Uc = ({
|
|
|
7064
7170
|
function R1(e) {
|
|
7065
7171
|
return e.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
7066
7172
|
}
|
|
7067
|
-
function
|
|
7173
|
+
function Kc(e, r, o) {
|
|
7068
7174
|
const n = o?.cursorPosition ?? e.length, s = o?.inlineCompletion ?? null, i = [];
|
|
7069
7175
|
for (const f of r) {
|
|
7070
7176
|
const p = `@${f.name}`;
|
|
7071
7177
|
let C = 0;
|
|
7072
7178
|
for (; ; ) {
|
|
7073
|
-
const
|
|
7074
|
-
if (
|
|
7075
|
-
i.push({ start:
|
|
7179
|
+
const g = e.indexOf(p, C);
|
|
7180
|
+
if (g === -1) break;
|
|
7181
|
+
i.push({ start: g, end: g + p.length }), C = g + p.length;
|
|
7076
7182
|
}
|
|
7077
7183
|
}
|
|
7078
7184
|
i.sort((f, p) => f.start - p.start);
|
|
@@ -7089,7 +7195,7 @@ function zc(e, r, o) {
|
|
|
7089
7195
|
u(f.start), l.push({ type: "mention", text: e.slice(f.start, f.end) }), d = f.end;
|
|
7090
7196
|
return u(e.length), !c && s && n >= d && l.push({ type: "ghost", text: s }), l.length === 0 ? [{ type: "text", text: e }] : l;
|
|
7091
7197
|
}
|
|
7092
|
-
function
|
|
7198
|
+
function Qc(e, r) {
|
|
7093
7199
|
if (r === "*/*") return !0;
|
|
7094
7200
|
if (r.endsWith("/*")) {
|
|
7095
7201
|
const o = r.slice(0, r.indexOf("/"));
|
|
@@ -7097,28 +7203,28 @@ function Gc(e, r) {
|
|
|
7097
7203
|
}
|
|
7098
7204
|
return e === r;
|
|
7099
7205
|
}
|
|
7100
|
-
function
|
|
7206
|
+
function Jc(e, r) {
|
|
7101
7207
|
if (!r) return e;
|
|
7102
7208
|
const o = Array.isArray(r) ? r : [r];
|
|
7103
7209
|
return o.length === 0 ? e : e.filter(
|
|
7104
|
-
(n) => o.some((s) =>
|
|
7210
|
+
(n) => o.some((s) => Qc(n.type, s))
|
|
7105
7211
|
);
|
|
7106
7212
|
}
|
|
7107
|
-
const
|
|
7108
|
-
function
|
|
7109
|
-
const [r, o] = B([]), [n, s] = B(null), i =
|
|
7213
|
+
const e2 = 4e3;
|
|
7214
|
+
function t2(e) {
|
|
7215
|
+
const [r, o] = B([]), [n, s] = B(null), i = j(
|
|
7110
7216
|
null
|
|
7111
|
-
), l =
|
|
7217
|
+
), l = j(null), d = G(), c = e?.onUploadFiles, u = e?.allowedMimeTypes, f = e?.maxFiles, p = J(() => {
|
|
7112
7218
|
if (u)
|
|
7113
7219
|
return Array.isArray(u) ? u.join(",") : u;
|
|
7114
|
-
}, [u]), C = f !== void 0 && r.length >= f,
|
|
7220
|
+
}, [u]), C = f !== void 0 && r.length >= f, g = j(0);
|
|
7115
7221
|
q(() => {
|
|
7116
|
-
|
|
7222
|
+
g.current = r.length;
|
|
7117
7223
|
}, [r]);
|
|
7118
7224
|
const m = _((H) => {
|
|
7119
7225
|
i.current && clearTimeout(i.current), s(H), i.current = setTimeout(() => {
|
|
7120
7226
|
s(null), i.current = null;
|
|
7121
|
-
},
|
|
7227
|
+
}, e2);
|
|
7122
7228
|
}, []);
|
|
7123
7229
|
q(
|
|
7124
7230
|
() => () => {
|
|
@@ -7129,9 +7235,9 @@ function Xc(e) {
|
|
|
7129
7235
|
const x = _(
|
|
7130
7236
|
async (H) => {
|
|
7131
7237
|
if (H.length === 0 || !c) return;
|
|
7132
|
-
const S =
|
|
7238
|
+
const S = Jc(H, u);
|
|
7133
7239
|
if (S.length === 0) return;
|
|
7134
|
-
if (f !== void 0 &&
|
|
7240
|
+
if (f !== void 0 && g.current + S.length > f) {
|
|
7135
7241
|
m(
|
|
7136
7242
|
d.ai.tooManyFilesError.replace(
|
|
7137
7243
|
"{{maxFiles}}",
|
|
@@ -7209,7 +7315,7 @@ function Xc(e) {
|
|
|
7209
7315
|
showTransientError: m
|
|
7210
7316
|
};
|
|
7211
7317
|
}
|
|
7212
|
-
function
|
|
7318
|
+
function r2(e, r, o) {
|
|
7213
7319
|
const s = e.slice(0, r).lastIndexOf("@");
|
|
7214
7320
|
if (s === -1) return null;
|
|
7215
7321
|
if (s > 0) {
|
|
@@ -7232,7 +7338,7 @@ function Yc(e, r, o) {
|
|
|
7232
7338
|
}
|
|
7233
7339
|
return { atIndex: s, query: i };
|
|
7234
7340
|
}
|
|
7235
|
-
const
|
|
7341
|
+
const o2 = [
|
|
7236
7342
|
"direction",
|
|
7237
7343
|
"boxSizing",
|
|
7238
7344
|
"width",
|
|
@@ -7268,10 +7374,10 @@ const Kc = [
|
|
|
7268
7374
|
"wordWrap",
|
|
7269
7375
|
"wordBreak"
|
|
7270
7376
|
];
|
|
7271
|
-
function
|
|
7377
|
+
function n2(e, r) {
|
|
7272
7378
|
const o = document.createElement("div"), n = o.style, s = window.getComputedStyle(e);
|
|
7273
7379
|
n.whiteSpace = "pre-wrap", n.wordWrap = "break-word", n.position = "absolute", n.visibility = "hidden", n.overflow = "hidden";
|
|
7274
|
-
for (const c of
|
|
7380
|
+
for (const c of o2)
|
|
7275
7381
|
n.setProperty(c, s.getPropertyValue(c));
|
|
7276
7382
|
o.textContent = e.value.substring(0, r);
|
|
7277
7383
|
const i = document.createElement("span");
|
|
@@ -7279,21 +7385,21 @@ function Qc(e, r) {
|
|
|
7279
7385
|
const l = i.offsetLeft, d = i.offsetTop - e.scrollTop;
|
|
7280
7386
|
return document.body.removeChild(o), { left: l, top: d };
|
|
7281
7387
|
}
|
|
7282
|
-
const
|
|
7283
|
-
function
|
|
7388
|
+
const s2 = 250;
|
|
7389
|
+
function i2({
|
|
7284
7390
|
inputValue: e,
|
|
7285
7391
|
setInputValue: r,
|
|
7286
7392
|
cursorPosition: o,
|
|
7287
7393
|
searchPersons: n,
|
|
7288
7394
|
textareaRef: s
|
|
7289
7395
|
}) {
|
|
7290
|
-
const [i, l] = B(!1), [d, c] = B(""), [u, f] = B([]), [p, C] = B(!1), [
|
|
7396
|
+
const [i, l] = B(!1), [d, c] = B(""), [u, f] = B([]), [p, C] = B(!1), [g, m] = B(0), [x, v] = B([]), F = j(-1), I = j(null), H = j(0), S = j(-1);
|
|
7291
7397
|
q(() => {
|
|
7292
7398
|
if (!n) {
|
|
7293
7399
|
l(!1);
|
|
7294
7400
|
return;
|
|
7295
7401
|
}
|
|
7296
|
-
const V =
|
|
7402
|
+
const V = r2(e, o, x);
|
|
7297
7403
|
if (!V) {
|
|
7298
7404
|
l(!1), c(""), f([]), m(0), F.current = -1, S.current = -1;
|
|
7299
7405
|
return;
|
|
@@ -7310,7 +7416,7 @@ function e2({
|
|
|
7310
7416
|
}).finally(() => {
|
|
7311
7417
|
$ === H.current && C(!1);
|
|
7312
7418
|
});
|
|
7313
|
-
},
|
|
7419
|
+
}, s2), () => {
|
|
7314
7420
|
I.current && clearTimeout(I.current);
|
|
7315
7421
|
};
|
|
7316
7422
|
}, [e, o, n, x]);
|
|
@@ -7321,9 +7427,9 @@ function e2({
|
|
|
7321
7427
|
const $ = F.current;
|
|
7322
7428
|
if ($ === -1) return;
|
|
7323
7429
|
const U = `${V.firstName} ${V.lastName}`.trim(), O = String(V.id), z = e.slice(0, $), te = e.slice(o), oe = `@${U} `, X = z + oe + te, Y = z.length + oe.length;
|
|
7324
|
-
r(X), v((
|
|
7325
|
-
const
|
|
7326
|
-
|
|
7430
|
+
r(X), v((D) => [...D.filter((K) => !(K.id === O && K.name === U)), { id: O, name: U }]), M(), requestAnimationFrame(() => {
|
|
7431
|
+
const D = s.current;
|
|
7432
|
+
D && (D.focus(), D.setSelectionRange(Y, Y));
|
|
7327
7433
|
});
|
|
7328
7434
|
},
|
|
7329
7435
|
[e, o, r, s, M]
|
|
@@ -7341,7 +7447,7 @@ function e2({
|
|
|
7341
7447
|
($) => ($ + u.length - 1) % u.length
|
|
7342
7448
|
), !0;
|
|
7343
7449
|
case "Tab": {
|
|
7344
|
-
const $ = u[
|
|
7450
|
+
const $ = u[g];
|
|
7345
7451
|
if ($) {
|
|
7346
7452
|
const U = `${$.firstName} ${$.lastName}`.trim();
|
|
7347
7453
|
if (d.length === 0 || U.toLowerCase().startsWith(d.toLowerCase()))
|
|
@@ -7350,12 +7456,12 @@ function e2({
|
|
|
7350
7456
|
return !1;
|
|
7351
7457
|
}
|
|
7352
7458
|
case "Enter":
|
|
7353
|
-
return V.preventDefault(), u[
|
|
7459
|
+
return V.preventDefault(), u[g] && w(u[g]), !0;
|
|
7354
7460
|
default:
|
|
7355
7461
|
return !1;
|
|
7356
7462
|
}
|
|
7357
7463
|
},
|
|
7358
|
-
[i, u,
|
|
7464
|
+
[i, u, g, d, w, M]
|
|
7359
7465
|
), L = _(
|
|
7360
7466
|
(V) => {
|
|
7361
7467
|
if (x.length === 0) return V;
|
|
@@ -7385,21 +7491,21 @@ function e2({
|
|
|
7385
7491
|
if (!i || F.current === -1) return null;
|
|
7386
7492
|
const V = s.current;
|
|
7387
7493
|
if (!V) return null;
|
|
7388
|
-
const $ =
|
|
7494
|
+
const $ = n2(V, F.current), U = V.offsetLeft + $.left, z = (V.offsetParent ? V.offsetParent.offsetHeight : 0) - (V.offsetTop + $.top);
|
|
7389
7495
|
return { left: U, bottom: z };
|
|
7390
7496
|
}, [i, e, o, s]), E = J(() => {
|
|
7391
7497
|
if (!i || u.length === 0) return null;
|
|
7392
|
-
const V = u[
|
|
7498
|
+
const V = u[g];
|
|
7393
7499
|
if (!V) return null;
|
|
7394
7500
|
const $ = `${V.firstName} ${V.lastName}`.trim();
|
|
7395
7501
|
return d.length === 0 ? $ : $.toLowerCase().startsWith(d.toLowerCase()) ? $.slice(d.length) : null;
|
|
7396
|
-
}, [i, u,
|
|
7502
|
+
}, [i, u, g, d]);
|
|
7397
7503
|
return {
|
|
7398
7504
|
isOpen: i,
|
|
7399
7505
|
query: d,
|
|
7400
7506
|
results: u,
|
|
7401
7507
|
isLoading: p,
|
|
7402
|
-
selectedIndex:
|
|
7508
|
+
selectedIndex: g,
|
|
7403
7509
|
mentions: x,
|
|
7404
7510
|
popoverPosition: A,
|
|
7405
7511
|
inlineCompletion: E,
|
|
@@ -7409,7 +7515,7 @@ function e2({
|
|
|
7409
7515
|
close: M
|
|
7410
7516
|
};
|
|
7411
7517
|
}
|
|
7412
|
-
const
|
|
7518
|
+
const a2 = /[\\`*_{}[\]()#+\-.!|~>]/g, c2 = (e) => e.split(/(<entity-ref\b[^>]*>[\s\S]*?<\/entity-ref>)/g).map((r, o) => o % 2 === 1 ? r : r.replace(/&/g, "&").replace(/</g, "<").replace(a2, "\\$&")).join(""), D6 = ({
|
|
7413
7519
|
onSubmit: e,
|
|
7414
7520
|
onStop: r,
|
|
7415
7521
|
inProgress: o,
|
|
@@ -7423,7 +7529,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7423
7529
|
onPendingQuoteChange: f,
|
|
7424
7530
|
fileAttachments: p,
|
|
7425
7531
|
toolbarStart: C,
|
|
7426
|
-
onTranscribe:
|
|
7532
|
+
onTranscribe: g,
|
|
7427
7533
|
searchPersons: m,
|
|
7428
7534
|
onProcessFilesRef: x,
|
|
7429
7535
|
disclaimer: v,
|
|
@@ -7435,7 +7541,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7435
7541
|
welcomeScreenCards: w,
|
|
7436
7542
|
ref: N
|
|
7437
7543
|
}) => {
|
|
7438
|
-
const L = G(), A = Le(), [E, V] = B(""), [$, U] = B(0), [O, z] = B(!1), [te, oe] = B(!1), [X, Y] = B(null),
|
|
7544
|
+
const L = G(), A = Le(), [E, V] = B(""), [$, U] = B(0), [O, z] = B(!1), [te, oe] = B(!1), [X, Y] = B(null), D = j(null), W = j(null), K = j(null), ie = l != null, { tracking: ue } = ye(), pe = _(
|
|
7439
7545
|
(Q, ke) => {
|
|
7440
7546
|
ue?.onWelcomeSuggestionClick?.({
|
|
7441
7547
|
item: Q,
|
|
@@ -7457,13 +7563,13 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7457
7563
|
clearFiles: ae,
|
|
7458
7564
|
transientError: fe,
|
|
7459
7565
|
showTransientError: me
|
|
7460
|
-
} =
|
|
7566
|
+
} = t2(p), ne = i2({
|
|
7461
7567
|
inputValue: E,
|
|
7462
7568
|
setInputValue: V,
|
|
7463
7569
|
cursorPosition: $,
|
|
7464
7570
|
searchPersons: m,
|
|
7465
7571
|
textareaRef: W
|
|
7466
|
-
}), Ne =
|
|
7572
|
+
}), Ne = j(""), Ve = _((Q) => {
|
|
7467
7573
|
const ke = Ne.current, Je = ke && !/\s$/.test(ke) ? " " : "", Oe = `${ke}${Je}${Q}`;
|
|
7468
7574
|
V(Oe), U(Oe.length);
|
|
7469
7575
|
}, []), qe = {
|
|
@@ -7471,13 +7577,13 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7471
7577
|
"device-error": L.ai.micError,
|
|
7472
7578
|
"transcription-failed": L.ai.transcriptionError
|
|
7473
7579
|
}, xe = Tn({
|
|
7474
|
-
onTranscribe:
|
|
7580
|
+
onTranscribe: g,
|
|
7475
7581
|
onPartial: Ve,
|
|
7476
7582
|
onFinal: (Q) => {
|
|
7477
7583
|
Ve(Q), W.current?.focus();
|
|
7478
7584
|
},
|
|
7479
7585
|
onError: (Q) => me(qe[Q])
|
|
7480
|
-
}), Xe = !!
|
|
7586
|
+
}), Xe = !!g && xe.isSupported, Ye = _(() => {
|
|
7481
7587
|
ue?.onDictationStart?.(), Ne.current = E, xe.start();
|
|
7482
7588
|
}, [E, xe, ue]), Ke = _(() => {
|
|
7483
7589
|
ue?.onDictationCancel?.(), xe.cancel();
|
|
@@ -7492,19 +7598,19 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7492
7598
|
x(null);
|
|
7493
7599
|
};
|
|
7494
7600
|
}, [x, P]);
|
|
7495
|
-
const Pe = xe.status === "recording", Qe = Pe ? L.ai.listening : L.ai.inputPlaceholder, Ae = re.filter((Q) => Q.status === "uploaded"), Se = re.some((Q) => Q.status === "uploading"),
|
|
7601
|
+
const Pe = xe.status === "recording", Qe = Pe ? L.ai.listening : L.ai.inputPlaceholder, Ae = re.filter((Q) => Q.status === "uploaded"), Se = re.some((Q) => Q.status === "uploading"), je = re.some((Q) => Q.status === "error"), De = E.trim().length > 0 || Ae.length > 0;
|
|
7496
7602
|
q(() => {
|
|
7497
7603
|
if (!(!te || Se)) {
|
|
7498
|
-
if (oe(!1),
|
|
7604
|
+
if (oe(!1), je) {
|
|
7499
7605
|
me(L.ai.fileUploadBlockedSubmit);
|
|
7500
7606
|
return;
|
|
7501
7607
|
}
|
|
7502
|
-
|
|
7608
|
+
D.current?.requestSubmit();
|
|
7503
7609
|
}
|
|
7504
7610
|
}, [
|
|
7505
7611
|
te,
|
|
7506
7612
|
Se,
|
|
7507
|
-
|
|
7613
|
+
je,
|
|
7508
7614
|
me,
|
|
7509
7615
|
L.ai.fileUploadBlockedSubmit
|
|
7510
7616
|
]);
|
|
@@ -7512,7 +7618,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7512
7618
|
if (Q.preventDefault(), !ie) {
|
|
7513
7619
|
if (ne.close(), o)
|
|
7514
7620
|
r?.();
|
|
7515
|
-
else if (
|
|
7621
|
+
else if (De && !O) {
|
|
7516
7622
|
if (Se) {
|
|
7517
7623
|
oe(!0), W.current?.focus();
|
|
7518
7624
|
return;
|
|
@@ -7528,7 +7634,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7528
7634
|
z(!1);
|
|
7529
7635
|
}
|
|
7530
7636
|
}
|
|
7531
|
-
const ke = ne.transformMentions(E.trim()), Je =
|
|
7637
|
+
const ke = ne.transformMentions(E.trim()), Je = c2(ke), Oe = Ae.flatMap(
|
|
7532
7638
|
(b1) => b1.uploadedFile ? [b1.uploadedFile] : []
|
|
7533
7639
|
), k1 = d, L1 = u;
|
|
7534
7640
|
k1 && c?.(null), L1 && f?.(null), await e({
|
|
@@ -7541,16 +7647,16 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7541
7647
|
W.current?.focus();
|
|
7542
7648
|
}
|
|
7543
7649
|
}, _e = (Q) => {
|
|
7544
|
-
ie || ne.handleKeyDown(Q) || Q.key === "Enter" && !Q.shiftKey && (Q.preventDefault(), o ||
|
|
7650
|
+
ie || ne.handleKeyDown(Q) || Q.key === "Enter" && !Q.shiftKey && (Q.preventDefault(), o || D.current?.requestSubmit());
|
|
7545
7651
|
}, Mr = () => {
|
|
7546
7652
|
U(W.current?.selectionStart ?? 0);
|
|
7547
7653
|
}, Er = () => {
|
|
7548
7654
|
K.current && W.current && (K.current.scrollTop = W.current.scrollTop);
|
|
7549
|
-
}, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() =>
|
|
7655
|
+
}, m1 = X ? X.prompt ?? X.title : null, v1 = Pe ? [L.ai.listening] : m1 ? [m1] : s ?? [], Rr = v1.length > 1, Fr = J(() => Kc(E, ne.mentions, {
|
|
7550
7656
|
cursorPosition: $,
|
|
7551
7657
|
inlineCompletion: ne.inlineCompletion
|
|
7552
7658
|
}), [E, ne.mentions, $, ne.inlineCompletion]), Nr = ne.mentions.length > 0 || ne.inlineCompletion !== null, w1 = I && !!S && S.length > 0 && !!M ? /* @__PURE__ */ t(
|
|
7553
|
-
|
|
7659
|
+
Yc,
|
|
7554
7660
|
{
|
|
7555
7661
|
suggestions: S,
|
|
7556
7662
|
onItemClick: pe,
|
|
@@ -7574,11 +7680,11 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7574
7680
|
children: [
|
|
7575
7681
|
/* @__PURE__ */ a("div", { className: "flex w-full max-w-content flex-col gap-2", children: [
|
|
7576
7682
|
w1 && /* @__PURE__ */ t("div", { children: w1 }),
|
|
7577
|
-
/* @__PURE__ */ t(
|
|
7683
|
+
/* @__PURE__ */ t(Zc, { creditWarning: i, children: /* @__PURE__ */ a(
|
|
7578
7684
|
ee.form,
|
|
7579
7685
|
{
|
|
7580
7686
|
"aria-busy": o,
|
|
7581
|
-
ref:
|
|
7687
|
+
ref: D,
|
|
7582
7688
|
className: k(
|
|
7583
7689
|
"relative isolate z-20",
|
|
7584
7690
|
"flex flex-col items-stretch md:gap-3 gap-2",
|
|
@@ -7613,7 +7719,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7613
7719
|
onSubmit: Ze,
|
|
7614
7720
|
children: [
|
|
7615
7721
|
/* @__PURE__ */ t(
|
|
7616
|
-
|
|
7722
|
+
_c,
|
|
7617
7723
|
{
|
|
7618
7724
|
isOpen: ne.isOpen,
|
|
7619
7725
|
results: ne.results,
|
|
@@ -7664,7 +7770,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7664
7770
|
},
|
|
7665
7771
|
children: [
|
|
7666
7772
|
u && /* @__PURE__ */ t(
|
|
7667
|
-
|
|
7773
|
+
Oc,
|
|
7668
7774
|
{
|
|
7669
7775
|
quote: u,
|
|
7670
7776
|
onRemove: () => f?.(null)
|
|
@@ -7700,7 +7806,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7700
7806
|
"transient-error"
|
|
7701
7807
|
) }),
|
|
7702
7808
|
/* @__PURE__ */ t(
|
|
7703
|
-
|
|
7809
|
+
Pc,
|
|
7704
7810
|
{
|
|
7705
7811
|
attachedFiles: re,
|
|
7706
7812
|
isUploading: Se,
|
|
@@ -7709,7 +7815,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7709
7815
|
}
|
|
7710
7816
|
),
|
|
7711
7817
|
/* @__PURE__ */ t(
|
|
7712
|
-
|
|
7818
|
+
zc,
|
|
7713
7819
|
{
|
|
7714
7820
|
textareaRef: W,
|
|
7715
7821
|
highlightRef: K,
|
|
@@ -7729,7 +7835,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7729
7835
|
}
|
|
7730
7836
|
),
|
|
7731
7837
|
/* @__PURE__ */ t(
|
|
7732
|
-
|
|
7838
|
+
Ic,
|
|
7733
7839
|
{
|
|
7734
7840
|
onUploadFiles: we,
|
|
7735
7841
|
toolbarStart: C,
|
|
@@ -7739,7 +7845,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7739
7845
|
fileInputRef: de,
|
|
7740
7846
|
handleFileSelect: T,
|
|
7741
7847
|
inProgress: o,
|
|
7742
|
-
hasDataToSend:
|
|
7848
|
+
hasDataToSend: De,
|
|
7743
7849
|
isPreSending: O || te,
|
|
7744
7850
|
canRecord: Xe,
|
|
7745
7851
|
recordingStatus: xe.status,
|
|
@@ -7757,7 +7863,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7757
7863
|
}
|
|
7758
7864
|
) })
|
|
7759
7865
|
] }),
|
|
7760
|
-
Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(
|
|
7866
|
+
Vr && /* @__PURE__ */ t("div", { className: "w-full max-w-content pt-2", children: /* @__PURE__ */ t(Wc, { cards: w }) }),
|
|
7761
7867
|
F && I && H && /* @__PURE__ */ t("div", { className: "w-full py-4 mx-auto flex max-w-content justify-center", children: F }),
|
|
7762
7868
|
/* @__PURE__ */ t(Ee, { mode: "wait", initial: !1, children: ie ? /* @__PURE__ */ a(
|
|
7763
7869
|
ee.div,
|
|
@@ -7840,7 +7946,7 @@ const t2 = /[\\`*_{}[\]()#+\-.!|~>]/g, r2 = (e) => e.split(/(<entity-ref\b[^>]*>
|
|
|
7840
7946
|
}
|
|
7841
7947
|
);
|
|
7842
7948
|
};
|
|
7843
|
-
function
|
|
7949
|
+
function l2({
|
|
7844
7950
|
children: e,
|
|
7845
7951
|
...r
|
|
7846
7952
|
}) {
|
|
@@ -7856,7 +7962,7 @@ function o2({
|
|
|
7856
7962
|
}
|
|
7857
7963
|
);
|
|
7858
7964
|
}
|
|
7859
|
-
function
|
|
7965
|
+
function d2({
|
|
7860
7966
|
children: e,
|
|
7861
7967
|
...r
|
|
7862
7968
|
}) {
|
|
@@ -7875,7 +7981,7 @@ function n2({
|
|
|
7875
7981
|
}
|
|
7876
7982
|
);
|
|
7877
7983
|
}
|
|
7878
|
-
function
|
|
7984
|
+
function f2({
|
|
7879
7985
|
children: e,
|
|
7880
7986
|
...r
|
|
7881
7987
|
}) {
|
|
@@ -7891,7 +7997,7 @@ function s2({
|
|
|
7891
7997
|
}
|
|
7892
7998
|
);
|
|
7893
7999
|
}
|
|
7894
|
-
function
|
|
8000
|
+
function u2({ ...e }) {
|
|
7895
8001
|
return /* @__PURE__ */ t(
|
|
7896
8002
|
"hr",
|
|
7897
8003
|
{
|
|
@@ -7900,7 +8006,7 @@ function i2({ ...e }) {
|
|
|
7900
8006
|
}
|
|
7901
8007
|
);
|
|
7902
8008
|
}
|
|
7903
|
-
function
|
|
8009
|
+
function h2({
|
|
7904
8010
|
src: e,
|
|
7905
8011
|
alt: r,
|
|
7906
8012
|
...o
|
|
@@ -7933,13 +8039,13 @@ function a2({
|
|
|
7933
8039
|
) })
|
|
7934
8040
|
] });
|
|
7935
8041
|
}
|
|
7936
|
-
function
|
|
8042
|
+
function g2({
|
|
7937
8043
|
children: e,
|
|
7938
8044
|
...r
|
|
7939
8045
|
}) {
|
|
7940
8046
|
return /* @__PURE__ */ t(Bn, { ...r, variant: "link", href: r.href, children: e });
|
|
7941
8047
|
}
|
|
7942
|
-
function
|
|
8048
|
+
function p2({
|
|
7943
8049
|
children: e,
|
|
7944
8050
|
...r
|
|
7945
8051
|
}) {
|
|
@@ -7955,7 +8061,7 @@ function l2({
|
|
|
7955
8061
|
}
|
|
7956
8062
|
);
|
|
7957
8063
|
}
|
|
7958
|
-
function
|
|
8064
|
+
function C2({
|
|
7959
8065
|
children: e,
|
|
7960
8066
|
...r
|
|
7961
8067
|
}) {
|
|
@@ -7971,26 +8077,26 @@ function d2({
|
|
|
7971
8077
|
}
|
|
7972
8078
|
);
|
|
7973
8079
|
}
|
|
7974
|
-
function
|
|
8080
|
+
function m2({
|
|
7975
8081
|
children: e,
|
|
7976
8082
|
...r
|
|
7977
8083
|
}) {
|
|
7978
8084
|
return /* @__PURE__ */ t("li", { ...r, className: k("mb-2", r.className), children: e });
|
|
7979
8085
|
}
|
|
7980
|
-
async function
|
|
8086
|
+
async function v2(e, r, o) {
|
|
7981
8087
|
const n = await import("./xlsx-CzlURDDb.js"), s = n.utils.table_to_book(e, { sheet: "Data" });
|
|
7982
8088
|
n.writeFile(s, `${o}.${r}`);
|
|
7983
8089
|
}
|
|
7984
|
-
function
|
|
8090
|
+
function w2({
|
|
7985
8091
|
children: e,
|
|
7986
8092
|
title: r,
|
|
7987
8093
|
...o
|
|
7988
8094
|
}) {
|
|
7989
|
-
const n = G(), s =
|
|
8095
|
+
const n = G(), s = j(null), i = _(
|
|
7990
8096
|
(l) => {
|
|
7991
8097
|
if (!s.current) return;
|
|
7992
8098
|
const d = r?.replace(/\s+/g, "_").toLowerCase() || "table";
|
|
7993
|
-
|
|
8099
|
+
v2(s.current, l, d);
|
|
7994
8100
|
},
|
|
7995
8101
|
[r]
|
|
7996
8102
|
);
|
|
@@ -8042,7 +8148,7 @@ function h2({
|
|
|
8042
8148
|
) })
|
|
8043
8149
|
] });
|
|
8044
8150
|
}
|
|
8045
|
-
function
|
|
8151
|
+
function x2({
|
|
8046
8152
|
children: e,
|
|
8047
8153
|
...r
|
|
8048
8154
|
}) {
|
|
@@ -8058,7 +8164,7 @@ function g2({
|
|
|
8058
8164
|
}
|
|
8059
8165
|
);
|
|
8060
8166
|
}
|
|
8061
|
-
function
|
|
8167
|
+
function k2({
|
|
8062
8168
|
children: e,
|
|
8063
8169
|
...r
|
|
8064
8170
|
}) {
|
|
@@ -8074,13 +8180,13 @@ function p2({
|
|
|
8074
8180
|
}
|
|
8075
8181
|
);
|
|
8076
8182
|
}
|
|
8077
|
-
function
|
|
8183
|
+
function L2({
|
|
8078
8184
|
children: e,
|
|
8079
8185
|
...r
|
|
8080
8186
|
}) {
|
|
8081
8187
|
return /* @__PURE__ */ t("p", { ...r, className: k("text-base font-normal", r.className), children: e });
|
|
8082
8188
|
}
|
|
8083
|
-
function
|
|
8189
|
+
function b2({
|
|
8084
8190
|
children: e,
|
|
8085
8191
|
...r
|
|
8086
8192
|
}) {
|
|
@@ -8096,7 +8202,7 @@ function m2({
|
|
|
8096
8202
|
}
|
|
8097
8203
|
);
|
|
8098
8204
|
}
|
|
8099
|
-
function
|
|
8205
|
+
function y2({
|
|
8100
8206
|
children: e,
|
|
8101
8207
|
...r
|
|
8102
8208
|
}) {
|
|
@@ -8112,7 +8218,7 @@ function v2({
|
|
|
8112
8218
|
}
|
|
8113
8219
|
);
|
|
8114
8220
|
}
|
|
8115
|
-
function
|
|
8221
|
+
function M2({
|
|
8116
8222
|
children: e,
|
|
8117
8223
|
...r
|
|
8118
8224
|
}) {
|
|
@@ -8128,13 +8234,13 @@ function w2({
|
|
|
8128
8234
|
}
|
|
8129
8235
|
);
|
|
8130
8236
|
}
|
|
8131
|
-
function
|
|
8237
|
+
function E2({
|
|
8132
8238
|
children: e,
|
|
8133
8239
|
...r
|
|
8134
8240
|
}) {
|
|
8135
8241
|
return /* @__PURE__ */ t("strong", { ...r, className: k("font-semibold", r.className), children: e });
|
|
8136
8242
|
}
|
|
8137
|
-
function
|
|
8243
|
+
function R2({
|
|
8138
8244
|
children: e,
|
|
8139
8245
|
...r
|
|
8140
8246
|
}) {
|
|
@@ -8147,13 +8253,13 @@ function He({
|
|
|
8147
8253
|
mapToCard: n,
|
|
8148
8254
|
fallbackCard: s
|
|
8149
8255
|
}) {
|
|
8150
|
-
const i =
|
|
8256
|
+
const i = j(/* @__PURE__ */ new Map()), [l, d] = B(
|
|
8151
8257
|
() => i.current.get(e) ?? null
|
|
8152
|
-
), [c, u] = B(!1), [f, p] = B(!1), C =
|
|
8258
|
+
), [c, u] = B(!1), [f, p] = B(!1), C = j(!0);
|
|
8153
8259
|
q(() => () => {
|
|
8154
8260
|
C.current = !1;
|
|
8155
8261
|
}, []);
|
|
8156
|
-
const
|
|
8262
|
+
const g = _(() => {
|
|
8157
8263
|
if (l || c) return;
|
|
8158
8264
|
const x = i.current.get(e);
|
|
8159
8265
|
if (x) {
|
|
@@ -8174,12 +8280,12 @@ function He({
|
|
|
8174
8280
|
openDelay: 300,
|
|
8175
8281
|
closeDelay: 100,
|
|
8176
8282
|
onOpenChange: (x) => {
|
|
8177
|
-
x &&
|
|
8283
|
+
x && g();
|
|
8178
8284
|
},
|
|
8179
8285
|
children: [
|
|
8180
8286
|
/* @__PURE__ */ t(Pn, { asChild: !0, children: r }),
|
|
8181
8287
|
/* @__PURE__ */ t(
|
|
8182
|
-
|
|
8288
|
+
jn,
|
|
8183
8289
|
{
|
|
8184
8290
|
side: "top",
|
|
8185
8291
|
align: "start",
|
|
@@ -8191,7 +8297,7 @@ function He({
|
|
|
8191
8297
|
}
|
|
8192
8298
|
);
|
|
8193
8299
|
}
|
|
8194
|
-
const er =
|
|
8300
|
+
const er = h(
|
|
8195
8301
|
({ label: e, ...r }, o) => /* @__PURE__ */ t(
|
|
8196
8302
|
"button",
|
|
8197
8303
|
{
|
|
@@ -8207,7 +8313,7 @@ const er = g(
|
|
|
8207
8313
|
)
|
|
8208
8314
|
);
|
|
8209
8315
|
er.displayName = "CandidateTrigger";
|
|
8210
|
-
function
|
|
8316
|
+
function F2({
|
|
8211
8317
|
id: e,
|
|
8212
8318
|
label: r
|
|
8213
8319
|
}) {
|
|
@@ -8266,7 +8372,7 @@ function L2({
|
|
|
8266
8372
|
}
|
|
8267
8373
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8268
8374
|
}
|
|
8269
|
-
const tr =
|
|
8375
|
+
const tr = h(
|
|
8270
8376
|
({ label: e, ...r }, o) => /* @__PURE__ */ t(
|
|
8271
8377
|
"button",
|
|
8272
8378
|
{
|
|
@@ -8282,7 +8388,7 @@ const tr = g(
|
|
|
8282
8388
|
)
|
|
8283
8389
|
);
|
|
8284
8390
|
tr.displayName = "ExpenseTrigger";
|
|
8285
|
-
function
|
|
8391
|
+
function N2({ id: e, label: r }) {
|
|
8286
8392
|
const { entityRefs: o } = ye(), n = o?.resolvers?.expense, s = G(), i = o?.urls?.expense?.(e), l = J(
|
|
8287
8393
|
() => (c) => ({
|
|
8288
8394
|
avatar: {
|
|
@@ -8322,7 +8428,7 @@ function b2({ id: e, label: r }) {
|
|
|
8322
8428
|
}
|
|
8323
8429
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8324
8430
|
}
|
|
8325
|
-
const rr =
|
|
8431
|
+
const rr = h(
|
|
8326
8432
|
({ label: e, ...r }, o) => /* @__PURE__ */ t(
|
|
8327
8433
|
"button",
|
|
8328
8434
|
{
|
|
@@ -8338,7 +8444,7 @@ const rr = g(
|
|
|
8338
8444
|
)
|
|
8339
8445
|
);
|
|
8340
8446
|
rr.displayName = "JobPostingTrigger";
|
|
8341
|
-
function
|
|
8447
|
+
function V2({
|
|
8342
8448
|
id: e,
|
|
8343
8449
|
label: r
|
|
8344
8450
|
}) {
|
|
@@ -8377,13 +8483,13 @@ function y2({
|
|
|
8377
8483
|
}
|
|
8378
8484
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8379
8485
|
}
|
|
8380
|
-
function
|
|
8486
|
+
function S2({ rows: e }) {
|
|
8381
8487
|
return e.length === 0 ? null : /* @__PURE__ */ t("div", { className: "flex flex-col gap-2", children: e.map((r, o) => /* @__PURE__ */ a("div", { className: "flex flex-col", children: [
|
|
8382
8488
|
r.label && /* @__PURE__ */ t("p", { className: "text-f1-foreground-secondary", children: r.label }),
|
|
8383
8489
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-1.5 font-medium text-f1-foreground", children: r.value })
|
|
8384
8490
|
] }, r.label ?? o)) });
|
|
8385
8491
|
}
|
|
8386
|
-
const or =
|
|
8492
|
+
const or = h(
|
|
8387
8493
|
({ label: e, ...r }, o) => /* @__PURE__ */ t(
|
|
8388
8494
|
"button",
|
|
8389
8495
|
{
|
|
@@ -8399,7 +8505,7 @@ const or = g(
|
|
|
8399
8505
|
)
|
|
8400
8506
|
);
|
|
8401
8507
|
or.displayName = "RequisitionTrigger";
|
|
8402
|
-
function
|
|
8508
|
+
function T2({
|
|
8403
8509
|
id: e,
|
|
8404
8510
|
label: r
|
|
8405
8511
|
}) {
|
|
@@ -8409,7 +8515,7 @@ function E2({
|
|
|
8409
8515
|
c.status ? {
|
|
8410
8516
|
label: s.t("ai.entityRef.requisition.status"),
|
|
8411
8517
|
value: /* @__PURE__ */ t("div", { className: "flex items-center pt-1", children: /* @__PURE__ */ t(
|
|
8412
|
-
|
|
8518
|
+
Dn,
|
|
8413
8519
|
{
|
|
8414
8520
|
text: c.status,
|
|
8415
8521
|
variant: c.statusVariant ?? "neutral"
|
|
@@ -8442,7 +8548,7 @@ function E2({
|
|
|
8442
8548
|
title: c.title,
|
|
8443
8549
|
...c.location && { description: c.location },
|
|
8444
8550
|
...p.length > 0 && {
|
|
8445
|
-
children: /* @__PURE__ */ t(
|
|
8551
|
+
children: /* @__PURE__ */ t(S2, { rows: p })
|
|
8446
8552
|
},
|
|
8447
8553
|
...i && {
|
|
8448
8554
|
secondaryActions: {
|
|
@@ -8476,7 +8582,7 @@ function E2({
|
|
|
8476
8582
|
}
|
|
8477
8583
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8478
8584
|
}
|
|
8479
|
-
const nr =
|
|
8585
|
+
const nr = h(
|
|
8480
8586
|
({ label: e, ...r }, o) => /* @__PURE__ */ a(
|
|
8481
8587
|
"button",
|
|
8482
8588
|
{
|
|
@@ -8495,7 +8601,7 @@ const nr = g(
|
|
|
8495
8601
|
)
|
|
8496
8602
|
);
|
|
8497
8603
|
nr.displayName = "PersonTrigger";
|
|
8498
|
-
function
|
|
8604
|
+
function H2({ id: e, label: r }) {
|
|
8499
8605
|
const { entityRefs: o } = ye(), n = o?.resolvers?.person, s = G(), i = o?.urls?.person?.(e), l = J(
|
|
8500
8606
|
() => (c) => ({
|
|
8501
8607
|
avatar: {
|
|
@@ -8537,7 +8643,7 @@ function R2({ id: e, label: r }) {
|
|
|
8537
8643
|
}
|
|
8538
8644
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8539
8645
|
}
|
|
8540
|
-
const sr =
|
|
8646
|
+
const sr = h(
|
|
8541
8647
|
({ label: e, ...r }, o) => /* @__PURE__ */ t(
|
|
8542
8648
|
"button",
|
|
8543
8649
|
{
|
|
@@ -8553,7 +8659,7 @@ const sr = g(
|
|
|
8553
8659
|
)
|
|
8554
8660
|
);
|
|
8555
8661
|
sr.displayName = "VacancyTrigger";
|
|
8556
|
-
function
|
|
8662
|
+
function A2({ id: e, label: r }) {
|
|
8557
8663
|
const { entityRefs: o } = ye(), n = o?.resolvers?.vacancy, s = G(), i = o?.urls?.vacancy?.(e), l = J(
|
|
8558
8664
|
() => (c) => ({
|
|
8559
8665
|
title: c.name,
|
|
@@ -8589,50 +8695,50 @@ function F2({ id: e, label: r }) {
|
|
|
8589
8695
|
}
|
|
8590
8696
|
) : /* @__PURE__ */ t("span", { children: r });
|
|
8591
8697
|
}
|
|
8592
|
-
const
|
|
8593
|
-
person:
|
|
8594
|
-
candidate:
|
|
8595
|
-
expense:
|
|
8596
|
-
"job-posting":
|
|
8597
|
-
requisition:
|
|
8598
|
-
vacancy:
|
|
8698
|
+
const $2 = {
|
|
8699
|
+
person: H2,
|
|
8700
|
+
candidate: F2,
|
|
8701
|
+
expense: N2,
|
|
8702
|
+
"job-posting": V2,
|
|
8703
|
+
requisition: T2,
|
|
8704
|
+
vacancy: A2
|
|
8599
8705
|
};
|
|
8600
|
-
function
|
|
8601
|
-
return
|
|
8706
|
+
function B2(e) {
|
|
8707
|
+
return $2[e];
|
|
8602
8708
|
}
|
|
8603
8709
|
function o1(e) {
|
|
8604
8710
|
return typeof e == "string" ? e : typeof e == "number" ? String(e) : Array.isArray(e) ? e.map(o1).join("") : e && typeof e == "object" && "props" in e ? o1(e.props.children) : "";
|
|
8605
8711
|
}
|
|
8606
|
-
function
|
|
8712
|
+
function I2({
|
|
8607
8713
|
type: e,
|
|
8608
8714
|
id: r,
|
|
8609
8715
|
children: o
|
|
8610
8716
|
}) {
|
|
8611
8717
|
if (!r || !e)
|
|
8612
8718
|
return /* @__PURE__ */ t("span", { children: o });
|
|
8613
|
-
const n = o1(o), s =
|
|
8719
|
+
const n = o1(o), s = B2(e);
|
|
8614
8720
|
return s ? /* @__PURE__ */ t(s, { id: r, label: n }) : /* @__PURE__ */ t("span", { children: o });
|
|
8615
8721
|
}
|
|
8616
|
-
const
|
|
8617
|
-
p:
|
|
8618
|
-
h1:
|
|
8619
|
-
h2:
|
|
8620
|
-
h3:
|
|
8621
|
-
a:
|
|
8622
|
-
strong:
|
|
8623
|
-
em:
|
|
8624
|
-
li:
|
|
8625
|
-
pre:
|
|
8626
|
-
code:
|
|
8627
|
-
blockquote:
|
|
8628
|
-
hr:
|
|
8629
|
-
ul:
|
|
8630
|
-
ol:
|
|
8631
|
-
table:
|
|
8632
|
-
th:
|
|
8633
|
-
td:
|
|
8634
|
-
img:
|
|
8635
|
-
"entity-ref":
|
|
8722
|
+
const Z6 = {
|
|
8723
|
+
p: L2,
|
|
8724
|
+
h1: b2,
|
|
8725
|
+
h2: y2,
|
|
8726
|
+
h3: M2,
|
|
8727
|
+
a: g2,
|
|
8728
|
+
strong: E2,
|
|
8729
|
+
em: R2,
|
|
8730
|
+
li: m2,
|
|
8731
|
+
pre: l2,
|
|
8732
|
+
code: d2,
|
|
8733
|
+
blockquote: f2,
|
|
8734
|
+
hr: u2,
|
|
8735
|
+
ul: p2,
|
|
8736
|
+
ol: C2,
|
|
8737
|
+
table: w2,
|
|
8738
|
+
th: x2,
|
|
8739
|
+
td: k2,
|
|
8740
|
+
img: h2,
|
|
8741
|
+
"entity-ref": I2
|
|
8636
8742
|
};
|
|
8637
8743
|
function ir({
|
|
8638
8744
|
avatar: e,
|
|
@@ -8688,10 +8794,10 @@ function ir({
|
|
|
8688
8794
|
}
|
|
8689
8795
|
ir.displayName = "F0CanvasCard";
|
|
8690
8796
|
const C1 = Ge(null);
|
|
8691
|
-
function
|
|
8797
|
+
function _6({
|
|
8692
8798
|
children: e
|
|
8693
8799
|
}) {
|
|
8694
|
-
const [r, o] = B(0), n =
|
|
8800
|
+
const [r, o] = B(0), n = j([]), s = _(
|
|
8695
8801
|
(l) => {
|
|
8696
8802
|
const d = n.current, c = d.findIndex(
|
|
8697
8803
|
(f) => f.formName === l.formName && f.customFieldName === l.customFieldName
|
|
@@ -8709,7 +8815,7 @@ function B6({
|
|
|
8709
8815
|
);
|
|
8710
8816
|
return /* @__PURE__ */ t(C1.Provider, { value: i, children: e });
|
|
8711
8817
|
}
|
|
8712
|
-
function
|
|
8818
|
+
function P2(e) {
|
|
8713
8819
|
const o = Ie(C1)?.formatters;
|
|
8714
8820
|
return J(() => !o || o.length === 0 ? null : (n, s, i) => {
|
|
8715
8821
|
let l, d = -1;
|
|
@@ -8723,7 +8829,7 @@ function T2(e) {
|
|
|
8723
8829
|
return l.format(s, { key: n, ...i });
|
|
8724
8830
|
}, [o, e]);
|
|
8725
8831
|
}
|
|
8726
|
-
function
|
|
8832
|
+
function O6() {
|
|
8727
8833
|
const e = Ie(C1);
|
|
8728
8834
|
if (!e)
|
|
8729
8835
|
throw new Error(
|
|
@@ -8731,14 +8837,14 @@ function I6() {
|
|
|
8731
8837
|
);
|
|
8732
8838
|
return e.setFormCardValueFormatter;
|
|
8733
8839
|
}
|
|
8734
|
-
const F1 = 7,
|
|
8735
|
-
function
|
|
8840
|
+
const F1 = 7, j2 = 625, N1 = /* @__PURE__ */ new Set();
|
|
8841
|
+
function D2(e) {
|
|
8736
8842
|
return typeof DOMParser < "u" ? new DOMParser().parseFromString(e, "text/html").body.textContent?.replace(/\s+/g, " ").trim() ?? "" : e.replace(/<[^>]*>/g, " ").replace(/\s+/g, " ").trim();
|
|
8737
8843
|
}
|
|
8738
|
-
function
|
|
8844
|
+
function Z2(e) {
|
|
8739
8845
|
return e && e.charAt(0).toUpperCase() + e.slice(1);
|
|
8740
8846
|
}
|
|
8741
|
-
function
|
|
8847
|
+
function _2(e) {
|
|
8742
8848
|
const { days: r, hours: o, minutes: n, seconds: s } = On(e), i = [];
|
|
8743
8849
|
return r > 0 && i.push(`${r}d`), o > 0 && i.push(`${o}h`), n > 0 && i.push(`${n}m`), (s > 0 || i.length === 0) && i.push(`${s}s`), i.join(" ");
|
|
8744
8850
|
}
|
|
@@ -8757,10 +8863,10 @@ function T1(e) {
|
|
|
8757
8863
|
function ar(e, r) {
|
|
8758
8864
|
if (e == null || e === "") return { type: "item", text: "—" };
|
|
8759
8865
|
if (r === "duration" && typeof e == "number")
|
|
8760
|
-
return { type: "item", text:
|
|
8866
|
+
return { type: "item", text: _2(e) };
|
|
8761
8867
|
if (r === "richtext" && typeof e == "object" && e !== null && "value" in e) {
|
|
8762
8868
|
const o = e.value;
|
|
8763
|
-
return { type: "item", text: (o ?
|
|
8869
|
+
return { type: "item", text: (o ? D2(o) : "") || "—" };
|
|
8764
8870
|
}
|
|
8765
8871
|
if (r === "daterange" && typeof e == "object" && e !== null && "from" in e && "to" in e) {
|
|
8766
8872
|
const { from: o, to: n } = e, s = V1(o) ? S1(o) : String(o), i = V1(n) ? S1(n) : String(n);
|
|
@@ -8779,7 +8885,7 @@ function ar(e, r) {
|
|
|
8779
8885
|
const o = e;
|
|
8780
8886
|
return typeof o.label == "string" ? { type: "item", text: o.label } : typeof o.name == "string" ? { type: "item", text: o.name } : typeof o.text == "string" ? { type: "item", text: o.text } : { type: "item", text: JSON.stringify(e) };
|
|
8781
8887
|
}
|
|
8782
|
-
return { type: "item", text:
|
|
8888
|
+
return { type: "item", text: Z2(String(e)) };
|
|
8783
8889
|
}
|
|
8784
8890
|
function cr({
|
|
8785
8891
|
formName: e,
|
|
@@ -8791,7 +8897,7 @@ function cr({
|
|
|
8791
8897
|
formValues: l,
|
|
8792
8898
|
valueFormatter: d
|
|
8793
8899
|
}) {
|
|
8794
|
-
const { canvasContent: c, openCanvas: u, closeCanvas: f } = ye(), p =
|
|
8900
|
+
const { canvasContent: c, openCanvas: u, closeCanvas: f } = ye(), p = P2(e), C = d ?? p, g = j(() => {
|
|
8795
8901
|
}), m = n ?? e, x = s ?? r ?? "", v = c?.type === "form" && c.formName === e, F = () => u({
|
|
8796
8902
|
type: "form",
|
|
8797
8903
|
title: m,
|
|
@@ -8800,8 +8906,8 @@ function cr({
|
|
|
8800
8906
|
formDescription: r,
|
|
8801
8907
|
formModule: o
|
|
8802
8908
|
});
|
|
8803
|
-
|
|
8804
|
-
typeof window > "u" || window.innerWidth <
|
|
8909
|
+
g.current = F, q(() => {
|
|
8910
|
+
typeof window > "u" || window.innerWidth < j2 || N1.has(e) || (N1.add(e), g.current());
|
|
8805
8911
|
}, [e]);
|
|
8806
8912
|
const I = i && l ? Object.entries(i).map(([M, w]) => {
|
|
8807
8913
|
const N = l[M], L = C?.(M, N, {
|
|
@@ -8851,7 +8957,7 @@ function cr({
|
|
|
8851
8957
|
);
|
|
8852
8958
|
}
|
|
8853
8959
|
cr.displayName = "FormCard";
|
|
8854
|
-
function
|
|
8960
|
+
function O2() {
|
|
8855
8961
|
const e = Un(), r = e?.activeForm;
|
|
8856
8962
|
if (!r) return null;
|
|
8857
8963
|
const o = r.cardTitle, n = r.cardDescription, s = (e?.getFillVersion(r.formName) ?? 0) > 0;
|
|
@@ -8868,15 +8974,15 @@ function I2() {
|
|
|
8868
8974
|
}
|
|
8869
8975
|
) });
|
|
8870
8976
|
}
|
|
8871
|
-
const
|
|
8872
|
-
function
|
|
8977
|
+
const U2 = 2;
|
|
8978
|
+
function z2(e, r) {
|
|
8873
8979
|
if (!e.intersectsNode(r)) return null;
|
|
8874
8980
|
const o = document.createRange();
|
|
8875
8981
|
o.selectNodeContents(r);
|
|
8876
8982
|
const n = e.cloneRange();
|
|
8877
8983
|
n.compareBoundaryPoints(Range.START_TO_START, o) < 0 && n.setStart(o.startContainer, o.startOffset), n.compareBoundaryPoints(Range.END_TO_END, o) > 0 && n.setEnd(o.endContainer, o.endOffset);
|
|
8878
8984
|
const s = n.toString().trim();
|
|
8879
|
-
if (s.length <
|
|
8985
|
+
if (s.length < U2) return null;
|
|
8880
8986
|
const i = n.getBoundingClientRect();
|
|
8881
8987
|
return { rect: i.width > 0 || i.height > 0 ? i : r.getBoundingClientRect(), text: s };
|
|
8882
8988
|
}
|
|
@@ -8895,7 +9001,7 @@ function lr({
|
|
|
8895
9001
|
n(null);
|
|
8896
9002
|
return;
|
|
8897
9003
|
}
|
|
8898
|
-
n(
|
|
9004
|
+
n(z2(u.getRangeAt(0), i));
|
|
8899
9005
|
}, d = () => {
|
|
8900
9006
|
window.setTimeout(l, 0);
|
|
8901
9007
|
}, c = () => {
|
|
@@ -8909,7 +9015,7 @@ function lr({
|
|
|
8909
9015
|
}
|
|
8910
9016
|
const H1 = 8, $e = 8;
|
|
8911
9017
|
function dr({ anchor: e, onReply: r }) {
|
|
8912
|
-
const o = G(), n =
|
|
9018
|
+
const o = G(), n = j(null), [s, i] = B(
|
|
8913
9019
|
null
|
|
8914
9020
|
);
|
|
8915
9021
|
if (rt(() => {
|
|
@@ -8925,8 +9031,8 @@ function dr({ anchor: e, onReply: r }) {
|
|
|
8925
9031
|
Math.max(C, $e),
|
|
8926
9032
|
p - u - $e
|
|
8927
9033
|
);
|
|
8928
|
-
const
|
|
8929
|
-
Math.max(
|
|
9034
|
+
const g = e.rect.left + e.rect.width / 2 - c / 2, m = Math.min(
|
|
9035
|
+
Math.max(g, $e),
|
|
8930
9036
|
f - c - $e
|
|
8931
9037
|
);
|
|
8932
9038
|
i({ top: C, left: m });
|
|
@@ -8964,7 +9070,7 @@ function dr({ anchor: e, onReply: r }) {
|
|
|
8964
9070
|
document.body
|
|
8965
9071
|
);
|
|
8966
9072
|
}
|
|
8967
|
-
const fr = Ge(void 0),
|
|
9073
|
+
const fr = Ge(void 0), U6 = () => Ie(fr), G2 = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), W2 = ({
|
|
8968
9074
|
isGenerating: e,
|
|
8969
9075
|
isLoading: r,
|
|
8970
9076
|
message: o,
|
|
@@ -8973,7 +9079,7 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
8973
9079
|
onRendered: i,
|
|
8974
9080
|
renderMarkdown: l
|
|
8975
9081
|
}) => {
|
|
8976
|
-
const d = typeof o?.content == "string" ? o.content : "", c = (o && n?.(o)) ?? o?.generativeUI?.() ?? null, u = o?.toolCalls?.[0]?.id, f = !d && !c, p =
|
|
9082
|
+
const d = typeof o?.content == "string" ? o.content : "", c = (o && n?.(o)) ?? o?.generativeUI?.() ?? null, u = o?.toolCalls?.[0]?.id, f = !d && !c, p = j(null), { anchor: C, clear: g } = lr({
|
|
8977
9083
|
containerRef: p,
|
|
8978
9084
|
enabled: !!(o?.id && d)
|
|
8979
9085
|
});
|
|
@@ -8985,7 +9091,7 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
8985
9091
|
{
|
|
8986
9092
|
ref: p,
|
|
8987
9093
|
className: "w-full max-w-full [&>div]:flex [&>div]:flex-col [&>div]:gap-1",
|
|
8988
|
-
children: (l ??
|
|
9094
|
+
children: (l ?? G2)(d)
|
|
8989
9095
|
}
|
|
8990
9096
|
),
|
|
8991
9097
|
!!c && /* @__PURE__ */ t("div", { className: "w-full", children: c }),
|
|
@@ -8994,12 +9100,12 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
8994
9100
|
{
|
|
8995
9101
|
anchor: C,
|
|
8996
9102
|
onReply: (m) => {
|
|
8997
|
-
s?.(m),
|
|
9103
|
+
s?.(m), g(), window.getSelection()?.removeAllRanges();
|
|
8998
9104
|
}
|
|
8999
9105
|
}
|
|
9000
9106
|
)
|
|
9001
9107
|
] }) });
|
|
9002
|
-
},
|
|
9108
|
+
}, q2 = ({
|
|
9003
9109
|
onClose: e,
|
|
9004
9110
|
onSubmit: r,
|
|
9005
9111
|
reactionType: o,
|
|
@@ -9011,8 +9117,8 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
9011
9117
|
e(n);
|
|
9012
9118
|
};
|
|
9013
9119
|
return q(() => {
|
|
9014
|
-
const C = (
|
|
9015
|
-
|
|
9120
|
+
const C = (g) => {
|
|
9121
|
+
g.key === "Enter" && (g.preventDefault(), f());
|
|
9016
9122
|
};
|
|
9017
9123
|
return document.addEventListener("keydown", C), () => {
|
|
9018
9124
|
document.removeEventListener("keydown", C);
|
|
@@ -9048,7 +9154,7 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
9048
9154
|
) })
|
|
9049
9155
|
}
|
|
9050
9156
|
);
|
|
9051
|
-
}, ur = Ge(null),
|
|
9157
|
+
}, ur = Ge(null), X2 = ({ children: e }) => {
|
|
9052
9158
|
const [r, o] = B(null), n = r ? {
|
|
9053
9159
|
isOpen: !0,
|
|
9054
9160
|
currentReaction: r.action,
|
|
@@ -9071,7 +9177,7 @@ const fr = Ge(void 0), P6 = () => Ie(fr), j2 = (e) => /* @__PURE__ */ t(Mt, { co
|
|
|
9071
9177
|
);
|
|
9072
9178
|
return e;
|
|
9073
9179
|
};
|
|
9074
|
-
function
|
|
9180
|
+
function Y2(e) {
|
|
9075
9181
|
const r = hr();
|
|
9076
9182
|
return { modal: r, handleSubmit: (s, i) => {
|
|
9077
9183
|
(r.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: i }), r.close();
|
|
@@ -9079,7 +9185,7 @@ function U2(e) {
|
|
|
9079
9185
|
(r.currentReaction === "like" ? e.onThumbsUp : e.onThumbsDown)?.(s, { threadId: e.threadId, feedback: "" }), r.close();
|
|
9080
9186
|
} };
|
|
9081
9187
|
}
|
|
9082
|
-
const
|
|
9188
|
+
const K2 = ({
|
|
9083
9189
|
content: e,
|
|
9084
9190
|
targetMessage: r,
|
|
9085
9191
|
onCopy: o
|
|
@@ -9112,7 +9218,7 @@ const z2 = ({
|
|
|
9112
9218
|
le,
|
|
9113
9219
|
{
|
|
9114
9220
|
size: "md",
|
|
9115
|
-
icon: i === "like" ?
|
|
9221
|
+
icon: i === "like" ? jt : Pt,
|
|
9116
9222
|
color: "default"
|
|
9117
9223
|
}
|
|
9118
9224
|
) })
|
|
@@ -9140,7 +9246,7 @@ const z2 = ({
|
|
|
9140
9246
|
}
|
|
9141
9247
|
)
|
|
9142
9248
|
] });
|
|
9143
|
-
},
|
|
9249
|
+
}, Q2 = ({
|
|
9144
9250
|
icon: e,
|
|
9145
9251
|
title: r,
|
|
9146
9252
|
children: o,
|
|
@@ -9155,8 +9261,8 @@ const z2 = ({
|
|
|
9155
9261
|
{
|
|
9156
9262
|
className: "mb-1 w-full",
|
|
9157
9263
|
open: p,
|
|
9158
|
-
onOpenChange: (
|
|
9159
|
-
l || (f || c(
|
|
9264
|
+
onOpenChange: (g) => {
|
|
9265
|
+
l || (f || c(g), i?.(g));
|
|
9160
9266
|
},
|
|
9161
9267
|
children: [
|
|
9162
9268
|
/* @__PURE__ */ a(
|
|
@@ -9194,19 +9300,19 @@ const z2 = ({
|
|
|
9194
9300
|
]
|
|
9195
9301
|
}
|
|
9196
9302
|
);
|
|
9197
|
-
},
|
|
9303
|
+
}, J2 = ({
|
|
9198
9304
|
titles: e,
|
|
9199
9305
|
title: r,
|
|
9200
9306
|
inProgress: o,
|
|
9201
9307
|
isWriting: n
|
|
9202
9308
|
}) => {
|
|
9203
|
-
const s = G(), [i, l] = B(!!o), d =
|
|
9309
|
+
const s = G(), [i, l] = B(!!o), d = j(o);
|
|
9204
9310
|
q(() => {
|
|
9205
9311
|
d.current && !o ? l(!1) : o && !i && l(!0), d.current = o;
|
|
9206
9312
|
}, [o, i]);
|
|
9207
9313
|
const c = o ? s.ai.thoughtsGroupTitle : r ?? s.ai.thoughtsGroupTitle, u = e.length - 1, f = (p) => !o || n ? "completed" : p === u ? "executing" : "completed";
|
|
9208
9314
|
return /* @__PURE__ */ t(
|
|
9209
|
-
|
|
9315
|
+
Q2,
|
|
9210
9316
|
{
|
|
9211
9317
|
icon: Ht,
|
|
9212
9318
|
title: c,
|
|
@@ -9233,14 +9339,14 @@ const z2 = ({
|
|
|
9233
9339
|
}
|
|
9234
9340
|
);
|
|
9235
9341
|
};
|
|
9236
|
-
function
|
|
9342
|
+
function el(e) {
|
|
9237
9343
|
if (typeof e == "string") return e;
|
|
9238
9344
|
if (Array.isArray(e)) {
|
|
9239
9345
|
const r = e.filter((o) => o.type === "text").map((o) => o.text).filter((o) => typeof o == "string");
|
|
9240
9346
|
return r[r.length - 1];
|
|
9241
9347
|
}
|
|
9242
9348
|
}
|
|
9243
|
-
function
|
|
9349
|
+
function tl(e, r) {
|
|
9244
9350
|
const o = Array.isArray(e) ? e.filter((n) => n.type === "binary").map((n) => ({
|
|
9245
9351
|
url: n.url,
|
|
9246
9352
|
filename: n.filename,
|
|
@@ -9252,28 +9358,28 @@ function X2(e, r) {
|
|
|
9252
9358
|
(n) => typeof n?.filename == "string" && typeof n?.mimetype == "string" && typeof n?.url == "string"
|
|
9253
9359
|
);
|
|
9254
9360
|
}
|
|
9255
|
-
const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }),
|
|
9361
|
+
const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), rl = ({
|
|
9256
9362
|
text: e,
|
|
9257
9363
|
renderMarkdown: r
|
|
9258
9364
|
}) => /* @__PURE__ */ a("div", { className: "flex max-w-[90%] items-start gap-2 self-end pb-1 pr-2 text-f1-foreground-tertiary", children: [
|
|
9259
9365
|
/* @__PURE__ */ t("div", { className: "flex h-5 items-center", children: /* @__PURE__ */ t(le, { icon: a1 }) }),
|
|
9260
9366
|
/* @__PURE__ */ t("div", { className: "min-w-0 whitespace-pre-wrap text-base leading-5 [&>div]:flex [&>div]:flex-col [&>div]:gap-1 [&_p]:m-0", children: (r ?? gr)(e) })
|
|
9261
|
-
] }),
|
|
9367
|
+
] }), ol = ({
|
|
9262
9368
|
message: e,
|
|
9263
9369
|
onReplyQuote: r,
|
|
9264
9370
|
autoScrollIntoView: o = !0,
|
|
9265
9371
|
renderMarkdown: n
|
|
9266
9372
|
}) => {
|
|
9267
|
-
const s =
|
|
9373
|
+
const s = j(null), i = j(null);
|
|
9268
9374
|
q(() => {
|
|
9269
9375
|
!s.current || !o || s.current.scrollIntoView({
|
|
9270
9376
|
behavior: "smooth"
|
|
9271
9377
|
});
|
|
9272
9378
|
}, [o]);
|
|
9273
|
-
const l = e.rawData, d =
|
|
9379
|
+
const l = e.rawData, d = tl(
|
|
9274
9380
|
e?.content,
|
|
9275
9381
|
l
|
|
9276
|
-
), c = (
|
|
9382
|
+
), c = (el(e?.content) ?? "").trim(), u = e?.replyQuote ?? null, f = c.length > 0, { anchor: p, clear: C } = lr({
|
|
9277
9383
|
containerRef: i,
|
|
9278
9384
|
enabled: f
|
|
9279
9385
|
});
|
|
@@ -9283,14 +9389,14 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), Y2
|
|
|
9283
9389
|
ref: s,
|
|
9284
9390
|
className: "my-4 flex w-full flex-col items-end gap-2 first:mt-0 last:mb-0",
|
|
9285
9391
|
children: [
|
|
9286
|
-
u && /* @__PURE__ */ t(
|
|
9287
|
-
d.length > 0 && /* @__PURE__ */ t("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((
|
|
9392
|
+
u && /* @__PURE__ */ t(rl, { text: u, renderMarkdown: n }),
|
|
9393
|
+
d.length > 0 && /* @__PURE__ */ t("div", { className: "flex max-w-[90%] flex-wrap justify-end gap-1.5", children: d.map((g, m) => /* @__PURE__ */ t(
|
|
9288
9394
|
kt,
|
|
9289
9395
|
{
|
|
9290
|
-
file: { name:
|
|
9396
|
+
file: { name: g.filename, type: g.mimetype },
|
|
9291
9397
|
size: "lg"
|
|
9292
9398
|
},
|
|
9293
|
-
`${
|
|
9399
|
+
`${g.filename}-${m}`
|
|
9294
9400
|
)) }),
|
|
9295
9401
|
f && /* @__PURE__ */ t(
|
|
9296
9402
|
"div",
|
|
@@ -9304,15 +9410,15 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), Y2
|
|
|
9304
9410
|
dr,
|
|
9305
9411
|
{
|
|
9306
9412
|
anchor: p,
|
|
9307
|
-
onReply: (
|
|
9308
|
-
r?.(
|
|
9413
|
+
onReply: (g) => {
|
|
9414
|
+
r?.(g), C(), window.getSelection()?.removeAllRanges();
|
|
9309
9415
|
}
|
|
9310
9416
|
}
|
|
9311
9417
|
)
|
|
9312
9418
|
]
|
|
9313
9419
|
}
|
|
9314
9420
|
);
|
|
9315
|
-
},
|
|
9421
|
+
}, nl = 35, sl = 22, il = 400, al = 2500, cl = 220, ll = ({
|
|
9316
9422
|
messages: e,
|
|
9317
9423
|
onClick: r,
|
|
9318
9424
|
fullscreen: o = !1
|
|
@@ -9323,15 +9429,15 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), Y2
|
|
|
9323
9429
|
}, [e.length, n]), q(() => {
|
|
9324
9430
|
let C;
|
|
9325
9431
|
if (d === "starting")
|
|
9326
|
-
C = setTimeout(() => c("writing"),
|
|
9432
|
+
C = setTimeout(() => c("writing"), il);
|
|
9327
9433
|
else if (d === "writing")
|
|
9328
|
-
i < u.length ? C = setTimeout(() => l((
|
|
9434
|
+
i < u.length ? C = setTimeout(() => l((g) => g + 1), nl) : c("holding");
|
|
9329
9435
|
else if (d === "holding") {
|
|
9330
9436
|
if (e.length <= 1) return;
|
|
9331
|
-
C = setTimeout(() => c("erasing"),
|
|
9332
|
-
} else d === "erasing" && (i > 0 ? C = setTimeout(() => l((
|
|
9333
|
-
s((
|
|
9334
|
-
},
|
|
9437
|
+
C = setTimeout(() => c("erasing"), al);
|
|
9438
|
+
} else d === "erasing" && (i > 0 ? C = setTimeout(() => l((g) => g - 1), sl) : C = setTimeout(() => {
|
|
9439
|
+
s((g) => (g + 1) % e.length), c("starting");
|
|
9440
|
+
}, cl));
|
|
9335
9441
|
return () => {
|
|
9336
9442
|
C && clearTimeout(C);
|
|
9337
9443
|
};
|
|
@@ -9370,7 +9476,7 @@ const gr = (e) => /* @__PURE__ */ t(Mt, { content: e, format: "markdown" }), Y2
|
|
|
9370
9476
|
}
|
|
9371
9477
|
);
|
|
9372
9478
|
};
|
|
9373
|
-
function
|
|
9479
|
+
function dl({
|
|
9374
9480
|
viewportRef: e,
|
|
9375
9481
|
contentRef: r,
|
|
9376
9482
|
endRef: o,
|
|
@@ -9378,7 +9484,7 @@ function nl({
|
|
|
9378
9484
|
turnsCount: s,
|
|
9379
9485
|
freezeTurnMinHeight: i = !1
|
|
9380
9486
|
}) {
|
|
9381
|
-
const [l, d] = B(0), [c, u] = B(!1), f =
|
|
9487
|
+
const [l, d] = B(0), [c, u] = B(!1), f = j(s), p = j(i);
|
|
9382
9488
|
p.current = i;
|
|
9383
9489
|
const C = _(
|
|
9384
9490
|
(m = "smooth") => {
|
|
@@ -9396,7 +9502,7 @@ function nl({
|
|
|
9396
9502
|
});
|
|
9397
9503
|
return v.observe(m), v.observe(x), () => v.disconnect();
|
|
9398
9504
|
}, [e, r]);
|
|
9399
|
-
const
|
|
9505
|
+
const g = _(() => {
|
|
9400
9506
|
const m = e.current;
|
|
9401
9507
|
if (!m) return;
|
|
9402
9508
|
const { scrollTop: x, scrollHeight: v, clientHeight: F } = m, I = v - x - F;
|
|
@@ -9405,8 +9511,8 @@ function nl({
|
|
|
9405
9511
|
return q(() => {
|
|
9406
9512
|
const m = e.current;
|
|
9407
9513
|
if (m)
|
|
9408
|
-
return m.addEventListener("scroll",
|
|
9409
|
-
}, [
|
|
9514
|
+
return m.addEventListener("scroll", g, { passive: !0 }), () => m.removeEventListener("scroll", g);
|
|
9515
|
+
}, [g, e]), q(() => {
|
|
9410
9516
|
s > f.current && requestAnimationFrame(() => {
|
|
9411
9517
|
requestAnimationFrame(() => {
|
|
9412
9518
|
const m = e.current, x = n.current;
|
|
@@ -9417,13 +9523,13 @@ function nl({
|
|
|
9417
9523
|
}), s === 0 && u(!1), f.current = s;
|
|
9418
9524
|
}, [s, n, e]), { showScrollBtn: c, turnMinHeight: l, scrollToBottom: C };
|
|
9419
9525
|
}
|
|
9420
|
-
const
|
|
9526
|
+
const fl = {
|
|
9421
9527
|
threadId: "",
|
|
9422
9528
|
onThumbsUp: () => {
|
|
9423
9529
|
},
|
|
9424
9530
|
onThumbsDown: () => {
|
|
9425
9531
|
}
|
|
9426
|
-
},
|
|
9532
|
+
}, z6 = (e) => /* @__PURE__ */ t(X2, { children: /* @__PURE__ */ t(ul, { ...e }) }), ul = ({
|
|
9427
9533
|
turns: e,
|
|
9428
9534
|
isLoadingThread: r = !1,
|
|
9429
9535
|
interrupt: o,
|
|
@@ -9437,26 +9543,26 @@ const sl = {
|
|
|
9437
9543
|
feedback: f,
|
|
9438
9544
|
freezeLayout: p = !1,
|
|
9439
9545
|
noShadows: C = !1,
|
|
9440
|
-
fullscreen:
|
|
9546
|
+
fullscreen: g = !1,
|
|
9441
9547
|
children: m,
|
|
9442
9548
|
AssistantMessage: x,
|
|
9443
9549
|
UserMessage: v,
|
|
9444
9550
|
onRegenerate: F,
|
|
9445
9551
|
onCopy: I
|
|
9446
9552
|
}) => {
|
|
9447
|
-
const { modal: H, handleSubmit: S, handleClose: M } =
|
|
9448
|
-
f ??
|
|
9449
|
-
), w = G(), N = x ??
|
|
9450
|
-
const
|
|
9451
|
-
return (Array.isArray(
|
|
9452
|
-
}, [n, w.ai.defaultInitialMessage]), E = !r && e.length === 0 && A.length > 0, V =
|
|
9553
|
+
const { modal: H, handleSubmit: S, handleClose: M } = Y2(
|
|
9554
|
+
f ?? fl
|
|
9555
|
+
), w = G(), N = x ?? W2, L = v ?? ol, A = J(() => {
|
|
9556
|
+
const D = n ?? w.ai.defaultInitialMessage;
|
|
9557
|
+
return (Array.isArray(D) ? D : [D]).filter((K) => typeof K == "string" && K.length > 0);
|
|
9558
|
+
}, [n, w.ai.defaultInitialMessage]), E = !r && e.length === 0 && A.length > 0, V = j(null), $ = j(null), U = j(null), O = j(null), z = j(null), { showScrollBtn: te, turnMinHeight: oe, scrollToBottom: X } = dl({
|
|
9453
9559
|
viewportRef: V,
|
|
9454
9560
|
contentRef: $,
|
|
9455
9561
|
endRef: U,
|
|
9456
9562
|
lastTurnRef: z,
|
|
9457
9563
|
turnsCount: e.length,
|
|
9458
9564
|
freezeTurnMinHeight: p
|
|
9459
|
-
}), Y = (
|
|
9565
|
+
}), Y = (D, W) => {
|
|
9460
9566
|
const K = W === e.length - 1, ie = {
|
|
9461
9567
|
renderToolCall: i,
|
|
9462
9568
|
onReplyQuote: l,
|
|
@@ -9466,7 +9572,7 @@ const sl = {
|
|
|
9466
9572
|
}, ue = (re, de) => {
|
|
9467
9573
|
const we = {
|
|
9468
9574
|
message: re,
|
|
9469
|
-
inProgress:
|
|
9575
|
+
inProgress: D.isInProgress,
|
|
9470
9576
|
index: de,
|
|
9471
9577
|
isCurrentMessage: !1,
|
|
9472
9578
|
AssistantMessage: N,
|
|
@@ -9484,9 +9590,9 @@ const sl = {
|
|
|
9484
9590
|
`${W}-u-${de}`
|
|
9485
9591
|
);
|
|
9486
9592
|
}, pe = (re, de) => {
|
|
9487
|
-
const we = K && de ===
|
|
9593
|
+
const we = K && de === D.assistantMessages.length - 1, b = D.userMessages.length + de, R = {
|
|
9488
9594
|
message: re,
|
|
9489
|
-
inProgress:
|
|
9595
|
+
inProgress: D.isInProgress,
|
|
9490
9596
|
index: b,
|
|
9491
9597
|
isCurrentMessage: we,
|
|
9492
9598
|
AssistantMessage: N,
|
|
@@ -9500,8 +9606,8 @@ const sl = {
|
|
|
9500
9606
|
N,
|
|
9501
9607
|
{
|
|
9502
9608
|
...R,
|
|
9503
|
-
isGenerating:
|
|
9504
|
-
isLoading:
|
|
9609
|
+
isGenerating: D.isInProgress && we,
|
|
9610
|
+
isLoading: D.isInProgress && we && !re.content
|
|
9505
9611
|
},
|
|
9506
9612
|
`${W}-a-${de}`
|
|
9507
9613
|
);
|
|
@@ -9518,32 +9624,32 @@ const sl = {
|
|
|
9518
9624
|
minHeight: K && oe || void 0
|
|
9519
9625
|
},
|
|
9520
9626
|
children: [
|
|
9521
|
-
|
|
9627
|
+
D.userMessages.map(
|
|
9522
9628
|
(re, de) => ue(re, de)
|
|
9523
9629
|
),
|
|
9524
|
-
|
|
9525
|
-
|
|
9630
|
+
D.thinking && D.thinking.titles.length > 0 && /* @__PURE__ */ t(
|
|
9631
|
+
J2,
|
|
9526
9632
|
{
|
|
9527
|
-
titles:
|
|
9633
|
+
titles: D.thinking.titles,
|
|
9528
9634
|
title: w.ai.thoughtsGroupTitle,
|
|
9529
|
-
inProgress:
|
|
9530
|
-
isWriting:
|
|
9635
|
+
inProgress: D.thinking.inProgress,
|
|
9636
|
+
isWriting: D.thinking.isWriting
|
|
9531
9637
|
}
|
|
9532
9638
|
),
|
|
9533
|
-
|
|
9639
|
+
D.assistantMessages.map(
|
|
9534
9640
|
(re, de) => pe(re, de)
|
|
9535
9641
|
),
|
|
9536
|
-
|
|
9537
|
-
|
|
9538
|
-
|
|
9539
|
-
|
|
9642
|
+
D.endIndicator === "thinking" && /* @__PURE__ */ t(r1, { title: w.ai.thinking, status: "executing" }),
|
|
9643
|
+
D.endIndicator === "activity" && /* @__PURE__ */ t(r1, { status: "writing" }),
|
|
9644
|
+
D.feedback && /* @__PURE__ */ t(
|
|
9645
|
+
K2,
|
|
9540
9646
|
{
|
|
9541
|
-
content:
|
|
9542
|
-
targetMessage:
|
|
9647
|
+
content: D.feedback.content,
|
|
9648
|
+
targetMessage: D.feedback.targetMessage,
|
|
9543
9649
|
onCopy: I
|
|
9544
9650
|
}
|
|
9545
9651
|
),
|
|
9546
|
-
K && /* @__PURE__ */ t(
|
|
9652
|
+
K && /* @__PURE__ */ t(O2, {})
|
|
9547
9653
|
]
|
|
9548
9654
|
},
|
|
9549
9655
|
`turn-${W}`
|
|
@@ -9577,16 +9683,16 @@ const sl = {
|
|
|
9577
9683
|
"w-full max-w-content"
|
|
9578
9684
|
),
|
|
9579
9685
|
children: [
|
|
9580
|
-
r && /* @__PURE__ */ t(
|
|
9686
|
+
r && /* @__PURE__ */ t(hl, {}),
|
|
9581
9687
|
E && /* @__PURE__ */ t(
|
|
9582
|
-
|
|
9688
|
+
ll,
|
|
9583
9689
|
{
|
|
9584
9690
|
messages: A,
|
|
9585
9691
|
onClick: s,
|
|
9586
|
-
fullscreen:
|
|
9692
|
+
fullscreen: g
|
|
9587
9693
|
}
|
|
9588
9694
|
),
|
|
9589
|
-
!r && e.map((
|
|
9695
|
+
!r && e.map((D, W) => Y(D, W)),
|
|
9590
9696
|
o
|
|
9591
9697
|
]
|
|
9592
9698
|
}
|
|
@@ -9624,7 +9730,7 @@ const sl = {
|
|
|
9624
9730
|
] })
|
|
9625
9731
|
] }),
|
|
9626
9732
|
H.isOpen && /* @__PURE__ */ t(
|
|
9627
|
-
|
|
9733
|
+
q2,
|
|
9628
9734
|
{
|
|
9629
9735
|
onSubmit: S,
|
|
9630
9736
|
onClose: M,
|
|
@@ -9633,21 +9739,21 @@ const sl = {
|
|
|
9633
9739
|
}
|
|
9634
9740
|
)
|
|
9635
9741
|
] });
|
|
9636
|
-
},
|
|
9742
|
+
}, hl = () => /* @__PURE__ */ t("div", { className: "flex h-full w-full max-w-content flex-col gap-6", children: /* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
|
|
9637
9743
|
/* @__PURE__ */ t("div", { className: "flex justify-end", children: /* @__PURE__ */ t(he, { className: "h-12 w-2/5 rounded-full" }) }),
|
|
9638
9744
|
/* @__PURE__ */ t(he, { className: "mt-6 h-5 w-full rounded-md" }),
|
|
9639
9745
|
/* @__PURE__ */ t(he, { className: "h-5 w-2/5 rounded-md" }),
|
|
9640
9746
|
/* @__PURE__ */ t(he, { className: "h-5 w-4/5 rounded-md" })
|
|
9641
|
-
] }) }),
|
|
9747
|
+
] }) }), G6 = {
|
|
9642
9748
|
ai: ps.ai
|
|
9643
9749
|
}, pr = Ge(null);
|
|
9644
|
-
function
|
|
9750
|
+
function W6({
|
|
9645
9751
|
children: e,
|
|
9646
9752
|
translations: r
|
|
9647
9753
|
}) {
|
|
9648
9754
|
return /* @__PURE__ */ t(pr.Provider, { value: r, children: e });
|
|
9649
9755
|
}
|
|
9650
|
-
function
|
|
9756
|
+
function q6() {
|
|
9651
9757
|
const e = Ie(pr);
|
|
9652
9758
|
if (e === null)
|
|
9653
9759
|
throw new Error(
|
|
@@ -9655,16 +9761,16 @@ function _6() {
|
|
|
9655
9761
|
);
|
|
9656
9762
|
return e;
|
|
9657
9763
|
}
|
|
9658
|
-
function
|
|
9764
|
+
function gl() {
|
|
9659
9765
|
const { canvasEntities: e } = ye();
|
|
9660
9766
|
return e;
|
|
9661
9767
|
}
|
|
9662
|
-
function
|
|
9663
|
-
const r =
|
|
9768
|
+
function X6(e) {
|
|
9769
|
+
const r = gl();
|
|
9664
9770
|
if (!(!e || !r))
|
|
9665
9771
|
return r[e];
|
|
9666
9772
|
}
|
|
9667
|
-
const
|
|
9773
|
+
const pl = ({
|
|
9668
9774
|
canProceed: e,
|
|
9669
9775
|
submitDisabled: r,
|
|
9670
9776
|
label: o,
|
|
@@ -9702,7 +9808,7 @@ const ll = ({
|
|
|
9702
9808
|
),
|
|
9703
9809
|
children: e && /* @__PURE__ */ t("div", { className: "h-2 w-2 rounded-full bg-f1-background" })
|
|
9704
9810
|
}
|
|
9705
|
-
),
|
|
9811
|
+
), Cl = ({
|
|
9706
9812
|
mode: e,
|
|
9707
9813
|
hasSelection: r,
|
|
9708
9814
|
hasCustomText: o,
|
|
@@ -9715,7 +9821,7 @@ const ll = ({
|
|
|
9715
9821
|
onToggleActive: u,
|
|
9716
9822
|
onConfirm: f
|
|
9717
9823
|
}) => {
|
|
9718
|
-
const C = G().ai.clarifyingQuestion.typeYourAnswer,
|
|
9824
|
+
const C = G().ai.clarifyingQuestion.typeYourAnswer, g = e === "single" ? /* @__PURE__ */ t(Cr, { isSelected: o && !r }) : /* @__PURE__ */ t(
|
|
9719
9825
|
Nt,
|
|
9720
9826
|
{
|
|
9721
9827
|
checked: s,
|
|
@@ -9732,7 +9838,7 @@ const ll = ({
|
|
|
9732
9838
|
"transition-colors hover:bg-f1-background-hover"
|
|
9733
9839
|
),
|
|
9734
9840
|
children: [
|
|
9735
|
-
|
|
9841
|
+
g,
|
|
9736
9842
|
/* @__PURE__ */ t(
|
|
9737
9843
|
"input",
|
|
9738
9844
|
{
|
|
@@ -9752,7 +9858,7 @@ const ll = ({
|
|
|
9752
9858
|
]
|
|
9753
9859
|
}
|
|
9754
9860
|
);
|
|
9755
|
-
}, mr =
|
|
9861
|
+
}, mr = h(
|
|
9756
9862
|
({ option: e, isSelected: r, mode: o, isTabStop: n, onToggle: s, onKeyNavigate: i }, l) => o === "single" ? /* @__PURE__ */ a(
|
|
9757
9863
|
"div",
|
|
9758
9864
|
{
|
|
@@ -9807,7 +9913,7 @@ const ll = ({
|
|
|
9807
9913
|
)
|
|
9808
9914
|
);
|
|
9809
9915
|
mr.displayName = "OptionRow";
|
|
9810
|
-
const
|
|
9916
|
+
const ml = ({
|
|
9811
9917
|
mode: e,
|
|
9812
9918
|
question: r,
|
|
9813
9919
|
options: o,
|
|
@@ -9821,7 +9927,7 @@ const fl = ({
|
|
|
9821
9927
|
customInputRef: f,
|
|
9822
9928
|
autoFocus: p,
|
|
9823
9929
|
onToggleOption: C,
|
|
9824
|
-
onActivateCustom:
|
|
9930
|
+
onActivateCustom: g,
|
|
9825
9931
|
onChangeCustomText: m,
|
|
9826
9932
|
onToggleCustomActive: x,
|
|
9827
9933
|
onConfirm: v
|
|
@@ -9830,7 +9936,7 @@ const fl = ({
|
|
|
9830
9936
|
if (e !== "single") return 0;
|
|
9831
9937
|
const N = o.findIndex((L) => n.includes(L.id));
|
|
9832
9938
|
return N >= 0 ? N : 0;
|
|
9833
|
-
})(), [H, S] = B(I), M =
|
|
9939
|
+
})(), [H, S] = B(I), M = j([]);
|
|
9834
9940
|
q(() => {
|
|
9835
9941
|
p && e === "single" && M.current[H]?.focus();
|
|
9836
9942
|
}, []);
|
|
@@ -9894,7 +10000,7 @@ const fl = ({
|
|
|
9894
10000
|
N.id
|
|
9895
10001
|
)),
|
|
9896
10002
|
s && /* @__PURE__ */ t(
|
|
9897
|
-
|
|
10003
|
+
Cl,
|
|
9898
10004
|
{
|
|
9899
10005
|
mode: e,
|
|
9900
10006
|
hasSelection: i,
|
|
@@ -9903,7 +10009,7 @@ const fl = ({
|
|
|
9903
10009
|
isCustomAnswerActive: c,
|
|
9904
10010
|
canProceed: u,
|
|
9905
10011
|
inputRef: f,
|
|
9906
|
-
onActivate:
|
|
10012
|
+
onActivate: g,
|
|
9907
10013
|
onChangeText: m,
|
|
9908
10014
|
onToggleActive: x,
|
|
9909
10015
|
onConfirm: v
|
|
@@ -9912,7 +10018,7 @@ const fl = ({
|
|
|
9912
10018
|
]
|
|
9913
10019
|
}
|
|
9914
10020
|
);
|
|
9915
|
-
},
|
|
10021
|
+
}, vl = ({
|
|
9916
10022
|
question: e,
|
|
9917
10023
|
stepLabel: r,
|
|
9918
10024
|
isFirstStep: o,
|
|
@@ -9971,16 +10077,16 @@ const fl = ({
|
|
|
9971
10077
|
}
|
|
9972
10078
|
)
|
|
9973
10079
|
] });
|
|
9974
|
-
},
|
|
10080
|
+
}, wl = "easeOut", xl = 0.3, Y6 = ({
|
|
9975
10081
|
clarifyingQuestion: e,
|
|
9976
10082
|
isSubmitDisabled: r
|
|
9977
10083
|
}) => /* @__PURE__ */ t(
|
|
9978
|
-
|
|
10084
|
+
kl,
|
|
9979
10085
|
{
|
|
9980
10086
|
clarifyingQuestion: e,
|
|
9981
10087
|
isSubmitDisabled: r
|
|
9982
10088
|
}
|
|
9983
|
-
),
|
|
10089
|
+
), kl = ({
|
|
9984
10090
|
clarifyingQuestion: e,
|
|
9985
10091
|
isSubmitDisabled: r
|
|
9986
10092
|
}) => {
|
|
@@ -9994,7 +10100,7 @@ const fl = ({
|
|
|
9994
10100
|
cancel: f,
|
|
9995
10101
|
back: p,
|
|
9996
10102
|
setCustomAnswerText: C,
|
|
9997
|
-
setCustomAnswerActive:
|
|
10103
|
+
setCustomAnswerActive: g,
|
|
9998
10104
|
activateCustomAnswer: m
|
|
9999
10105
|
} = e, {
|
|
10000
10106
|
question: x,
|
|
@@ -10005,7 +10111,7 @@ const fl = ({
|
|
|
10005
10111
|
allowCustomAnswer: S,
|
|
10006
10112
|
customAnswerText: M,
|
|
10007
10113
|
isCustomAnswerActive: w
|
|
10008
|
-
} = s, N =
|
|
10114
|
+
} = s, N = j(null), L = I ?? "single", A = l > 1, E = i === 0, V = i === l - 1, $ = A ? o.t("ai.clarifyingQuestion.stepOf", {
|
|
10009
10115
|
current: String(i + 1),
|
|
10010
10116
|
total: String(l)
|
|
10011
10117
|
}) : void 0, U = F.length > 0, O = (M ?? "").trim().length > 0, z = U || w && O || H === !0, te = r === !0 && V, oe = () => {
|
|
@@ -10015,13 +10121,13 @@ const fl = ({
|
|
|
10015
10121
|
}, Y = (pe) => {
|
|
10016
10122
|
const re = L === "single" && F.includes(pe);
|
|
10017
10123
|
d(pe), L === "single" && !V && !re && Promise.resolve().then(c);
|
|
10018
|
-
},
|
|
10124
|
+
}, D = V ? o.ai.clarifyingQuestion.submit : o.ai.clarifyingQuestion.next, W = H === !0 && !U && !(w && O), K = () => {
|
|
10019
10125
|
m(), requestAnimationFrame(() => {
|
|
10020
10126
|
N.current?.focus();
|
|
10021
10127
|
});
|
|
10022
10128
|
}, ie = (pe) => {
|
|
10023
10129
|
pe.key === "Escape" && (pe.preventDefault(), f());
|
|
10024
|
-
}, ue = n ? 0 :
|
|
10130
|
+
}, ue = n ? 0 : xl / 2;
|
|
10025
10131
|
return /* @__PURE__ */ a("div", { className: "flex flex-col", onKeyDown: ie, children: [
|
|
10026
10132
|
/* @__PURE__ */ t("div", { className: "flex flex-col gap-3 pt-3", children: /* @__PURE__ */ t(Ee, { mode: "wait", initial: !1, children: /* @__PURE__ */ a(
|
|
10027
10133
|
ee.div,
|
|
@@ -10030,10 +10136,10 @@ const fl = ({
|
|
|
10030
10136
|
initial: { opacity: 0 },
|
|
10031
10137
|
animate: { opacity: 1 },
|
|
10032
10138
|
exit: { opacity: 0 },
|
|
10033
|
-
transition: { duration: ue, ease:
|
|
10139
|
+
transition: { duration: ue, ease: wl },
|
|
10034
10140
|
children: [
|
|
10035
10141
|
/* @__PURE__ */ t(
|
|
10036
|
-
|
|
10142
|
+
vl,
|
|
10037
10143
|
{
|
|
10038
10144
|
question: x,
|
|
10039
10145
|
stepLabel: $,
|
|
@@ -10046,7 +10152,7 @@ const fl = ({
|
|
|
10046
10152
|
}
|
|
10047
10153
|
),
|
|
10048
10154
|
/* @__PURE__ */ t(
|
|
10049
|
-
|
|
10155
|
+
ml,
|
|
10050
10156
|
{
|
|
10051
10157
|
mode: L,
|
|
10052
10158
|
question: x,
|
|
@@ -10062,7 +10168,7 @@ const fl = ({
|
|
|
10062
10168
|
onToggleOption: Y,
|
|
10063
10169
|
onActivateCustom: K,
|
|
10064
10170
|
onChangeCustomText: C,
|
|
10065
|
-
onToggleCustomActive:
|
|
10171
|
+
onToggleCustomActive: g,
|
|
10066
10172
|
onConfirm: oe
|
|
10067
10173
|
}
|
|
10068
10174
|
)
|
|
@@ -10071,11 +10177,11 @@ const fl = ({
|
|
|
10071
10177
|
i
|
|
10072
10178
|
) }) }),
|
|
10073
10179
|
/* @__PURE__ */ t(
|
|
10074
|
-
|
|
10180
|
+
pl,
|
|
10075
10181
|
{
|
|
10076
10182
|
canProceed: z,
|
|
10077
10183
|
submitDisabled: te,
|
|
10078
|
-
label:
|
|
10184
|
+
label: D,
|
|
10079
10185
|
onConfirm: oe,
|
|
10080
10186
|
onSkip: X,
|
|
10081
10187
|
showSkip: W
|
|
@@ -10084,7 +10190,7 @@ const fl = ({
|
|
|
10084
10190
|
] });
|
|
10085
10191
|
};
|
|
10086
10192
|
function A1(e, r, o, n) {
|
|
10087
|
-
const s = Math.max(1, Math.min(e, r)), i = Math.min(o, 20), d = Math.min(i + n, s), c = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(r / 2)), f = (K) => K / e * 2 - 1, p = (K) => K / r * 2 - 1, C = 0,
|
|
10193
|
+
const s = Math.max(1, Math.min(e, r)), i = Math.min(o, 20), d = Math.min(i + n, s), c = Math.min(d, Math.floor(e / 2)), u = Math.min(d, Math.floor(r / 2)), f = (K) => K / e * 2 - 1, p = (K) => K / r * 2 - 1, C = 0, g = e, m = 0, x = r, v = c, F = e - c, I = u, H = r - u, S = f(C), M = f(g), w = p(m), N = p(x), L = f(v), A = f(F), E = p(I), V = p(H), $ = 0, U = 0, O = 1, z = 1, te = c / e, oe = 1 - c / e, X = u / r, Y = 1 - u / r, D = new Float32Array([
|
|
10088
10194
|
// Top strip
|
|
10089
10195
|
S,
|
|
10090
10196
|
w,
|
|
@@ -10191,7 +10297,7 @@ function A1(e, r, o, n) {
|
|
|
10191
10297
|
O,
|
|
10192
10298
|
Y
|
|
10193
10299
|
]);
|
|
10194
|
-
return { positions:
|
|
10300
|
+
return { positions: D, uvs: W };
|
|
10195
10301
|
}
|
|
10196
10302
|
function $1(e, r, o) {
|
|
10197
10303
|
const n = e.createShader(r);
|
|
@@ -10202,7 +10308,7 @@ function $1(e, r, o) {
|
|
|
10202
10308
|
}
|
|
10203
10309
|
return n;
|
|
10204
10310
|
}
|
|
10205
|
-
function
|
|
10311
|
+
function Ll(e, r, o) {
|
|
10206
10312
|
const n = $1(e, e.VERTEX_SHADER, r), s = $1(e, e.FRAGMENT_SHADER, o), i = e.createProgram();
|
|
10207
10313
|
if (!i) throw new Error("Failed to create program");
|
|
10208
10314
|
if (e.attachShader(i, n), e.attachShader(i, s), e.linkProgram(i), !e.getProgramParameter(i, e.LINK_STATUS)) {
|
|
@@ -10211,7 +10317,7 @@ function Cl(e, r, o) {
|
|
|
10211
10317
|
}
|
|
10212
10318
|
return e.deleteShader(n), e.deleteShader(s), i;
|
|
10213
10319
|
}
|
|
10214
|
-
const
|
|
10320
|
+
const bl = `#version 300 es
|
|
10215
10321
|
precision lowp float;
|
|
10216
10322
|
|
|
10217
10323
|
in vec2 vUV;
|
|
@@ -10418,7 +10524,7 @@ void main() {
|
|
|
10418
10524
|
|
|
10419
10525
|
outColor = vec4(color, alpha);
|
|
10420
10526
|
}
|
|
10421
|
-
`,
|
|
10527
|
+
`, yl = `#version 300 es
|
|
10422
10528
|
|
|
10423
10529
|
in vec2 aPosition;
|
|
10424
10530
|
in vec2 aUV;
|
|
@@ -10427,7 +10533,7 @@ void main() {
|
|
|
10427
10533
|
vUV = aUV;
|
|
10428
10534
|
gl_Position = vec4(aPosition, 0.0, 1.0);
|
|
10429
10535
|
}
|
|
10430
|
-
`,
|
|
10536
|
+
`, Ml = [
|
|
10431
10537
|
"rgb(229, 25, 67)",
|
|
10432
10538
|
// #E51943 red
|
|
10433
10539
|
"rgb(229, 86, 25)",
|
|
@@ -10437,14 +10543,14 @@ void main() {
|
|
|
10437
10543
|
"rgb(161, 173, 229)"
|
|
10438
10544
|
// #A1ADE5 light blue
|
|
10439
10545
|
];
|
|
10440
|
-
function
|
|
10546
|
+
function El(e) {
|
|
10441
10547
|
const r = e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);
|
|
10442
10548
|
if (!r)
|
|
10443
10549
|
throw new Error(`Invalid color format: ${e}`);
|
|
10444
10550
|
const [, o, n, s] = r;
|
|
10445
10551
|
return [parseInt(o) / 255, parseInt(n) / 255, parseInt(s) / 255];
|
|
10446
10552
|
}
|
|
10447
|
-
class
|
|
10553
|
+
class K6 {
|
|
10448
10554
|
element;
|
|
10449
10555
|
canvas;
|
|
10450
10556
|
options;
|
|
@@ -10509,13 +10615,13 @@ class z6 {
|
|
|
10509
10615
|
if (this.options.width = r, this.options.height = o, n && (this.options.ratio = n), !this.running) return;
|
|
10510
10616
|
const { gl: s, program: i, vao: l, positionBuffer: d, uvBuffer: c, uResolution: u } = this.glr, f = n ?? this.options.ratio ?? window.devicePixelRatio ?? 1, p = Math.max(1, Math.floor(r * f)), C = Math.max(1, Math.floor(o * f));
|
|
10511
10617
|
this.canvas.style.width = `${r}px`, this.canvas.style.height = `${o}px`, (this.canvas.width !== p || this.canvas.height !== C) && (this.canvas.width = p, this.canvas.height = C), s.viewport(0, 0, this.canvas.width, this.canvas.height), this.checkGLError(s, "resize: after viewport setup");
|
|
10512
|
-
const { positions:
|
|
10618
|
+
const { positions: g, uvs: m } = A1(
|
|
10513
10619
|
this.canvas.width,
|
|
10514
10620
|
this.canvas.height,
|
|
10515
10621
|
this.options.borderWidth * f,
|
|
10516
10622
|
this.options.glowWidth * f
|
|
10517
10623
|
);
|
|
10518
|
-
s.bindVertexArray(l), s.bindBuffer(s.ARRAY_BUFFER, d), s.bufferData(s.ARRAY_BUFFER,
|
|
10624
|
+
s.bindVertexArray(l), s.bindBuffer(s.ARRAY_BUFFER, d), s.bufferData(s.ARRAY_BUFFER, g, s.STATIC_DRAW);
|
|
10519
10625
|
const x = s.getAttribLocation(i, "aPosition");
|
|
10520
10626
|
s.enableVertexAttribArray(x), s.vertexAttribPointer(x, 2, s.FLOAT, !1, 0, 0), this.checkGLError(s, "resize: after position buffer update"), s.bindBuffer(s.ARRAY_BUFFER, c), s.bufferData(s.ARRAY_BUFFER, m, s.STATIC_DRAW);
|
|
10521
10627
|
const v = s.getAttribLocation(i, "aUV");
|
|
@@ -10594,7 +10700,7 @@ class z6 {
|
|
|
10594
10700
|
});
|
|
10595
10701
|
if (!r)
|
|
10596
10702
|
throw new Error("WebGL2 is required but not available.");
|
|
10597
|
-
const o =
|
|
10703
|
+
const o = Ll(r, yl, bl);
|
|
10598
10704
|
this.checkGLError(r, "setupGL: after createProgram");
|
|
10599
10705
|
const n = r.createVertexArray();
|
|
10600
10706
|
r.bindVertexArray(n), this.checkGLError(r, "setupGL: after VAO creation");
|
|
@@ -10611,9 +10717,9 @@ class z6 {
|
|
|
10611
10717
|
r.bindBuffer(r.ARRAY_BUFFER, f), r.bufferData(r.ARRAY_BUFFER, d, r.STATIC_DRAW);
|
|
10612
10718
|
const p = r.getAttribLocation(o, "aUV");
|
|
10613
10719
|
r.enableVertexAttribArray(p), r.vertexAttribPointer(p, 2, r.FLOAT, !1, 0, 0), this.checkGLError(r, "setupGL: after UV buffer setup");
|
|
10614
|
-
const C = r.getUniformLocation(o, "uResolution"),
|
|
10720
|
+
const C = r.getUniformLocation(o, "uResolution"), g = r.getUniformLocation(o, "uTime"), m = r.getUniformLocation(o, "uBorderWidth"), x = r.getUniformLocation(o, "uGlowWidth"), v = r.getUniformLocation(o, "uBorderRadius"), F = r.getUniformLocation(o, "uColors"), I = r.getUniformLocation(o, "uGlowExponent"), H = r.getUniformLocation(o, "uGlowFactor");
|
|
10615
10721
|
r.useProgram(o), r.uniform1f(m, this.options.borderWidth), r.uniform1f(x, this.options.glowWidth), r.uniform1f(v, this.options.borderRadius), this.options.mode === "dark" ? (r.uniform1f(I, 2), r.uniform1f(H, 1.8)) : (r.uniform1f(I, 1), r.uniform1f(H, 1));
|
|
10616
|
-
const S = (this.options.colors ||
|
|
10722
|
+
const S = (this.options.colors || Ml).map(El);
|
|
10617
10723
|
for (let M = 0; M < S.length; M++)
|
|
10618
10724
|
r.uniform3f(
|
|
10619
10725
|
r.getUniformLocation(o, `uColors[${M}]`),
|
|
@@ -10626,7 +10732,7 @@ class z6 {
|
|
|
10626
10732
|
positionBuffer: c,
|
|
10627
10733
|
uvBuffer: f,
|
|
10628
10734
|
uResolution: C,
|
|
10629
|
-
uTime:
|
|
10735
|
+
uTime: g,
|
|
10630
10736
|
uBorderWidth: m,
|
|
10631
10737
|
uGlowWidth: x,
|
|
10632
10738
|
uBorderRadius: v,
|
|
@@ -10639,30 +10745,30 @@ class z6 {
|
|
|
10639
10745
|
o.useProgram(n), o.bindVertexArray(s), o.uniform1f(i, r), o.disable(o.DEPTH_TEST), o.disable(o.CULL_FACE), o.disable(o.BLEND), o.clearColor(0, 0, 0, 0), o.clear(o.COLOR_BUFFER_BIT), o.drawArrays(o.TRIANGLES, 0, 24), this.checkGLError(o, "render: after draw call"), o.bindVertexArray(null);
|
|
10640
10746
|
}
|
|
10641
10747
|
}
|
|
10642
|
-
const B1 = ["lowp", "mediump", "highp"],
|
|
10748
|
+
const B1 = ["lowp", "mediump", "highp"], Rl = `
|
|
10643
10749
|
void main(void){
|
|
10644
10750
|
vec4 color = vec4(0.0,0.0,0.0,1.0);
|
|
10645
10751
|
mainImage( color, gl_FragCoord.xy );
|
|
10646
10752
|
gl_FragColor = color;
|
|
10647
|
-
}`,
|
|
10753
|
+
}`, Fl = `void mainImage( out vec4 fragColor, in vec2 fragCoord ) {
|
|
10648
10754
|
vec2 uv = fragCoord/iResolution.xy;
|
|
10649
10755
|
vec3 col = 0.5 + 0.5*cos(iTime+uv.xyx+vec3(0,2,4));
|
|
10650
10756
|
fragColor = vec4(col,1.0);
|
|
10651
10757
|
}`, I1 = `attribute vec3 aVertexPosition;
|
|
10652
10758
|
void main(void) {
|
|
10653
10759
|
gl_Position = vec4(aVertexPosition, 1.0);
|
|
10654
|
-
}`, P1 = "iTime",
|
|
10655
|
-
function
|
|
10760
|
+
}`, P1 = "iTime", j1 = "iTimeDelta", D1 = "iDate", Z1 = "iFrame", _1 = "iMouse", O1 = "iResolution", Nl = "iChannel", U1 = "iChannelResolution", z1 = "iDeviceOrientation";
|
|
10761
|
+
function Vl(e, r) {
|
|
10656
10762
|
return e.includes("Matrix") && Array.isArray(r);
|
|
10657
10763
|
}
|
|
10658
|
-
function
|
|
10764
|
+
function Sl(e, r) {
|
|
10659
10765
|
return e.includes("v") && Array.isArray(r) && r.length > Number.parseInt(e.charAt(0));
|
|
10660
10766
|
}
|
|
10661
|
-
function
|
|
10767
|
+
function Tl(e, r) {
|
|
10662
10768
|
return !e.includes("v") && Array.isArray(r) && r.length > Number.parseInt(e.charAt(0));
|
|
10663
10769
|
}
|
|
10664
|
-
const
|
|
10665
|
-
if (
|
|
10770
|
+
const Hl = (e, r, o, n) => {
|
|
10771
|
+
if (Tl(o, n))
|
|
10666
10772
|
switch (o) {
|
|
10667
10773
|
case "2f":
|
|
10668
10774
|
return e.uniform2f(r, n[0], n[1]);
|
|
@@ -10703,7 +10809,7 @@ const Rl = (e, r, o, n) => {
|
|
|
10703
10809
|
case "Matrix4fv":
|
|
10704
10810
|
return e.uniformMatrix4fv(r, !1, n);
|
|
10705
10811
|
}
|
|
10706
|
-
},
|
|
10812
|
+
}, Al = (e) => {
|
|
10707
10813
|
switch (e) {
|
|
10708
10814
|
case "1f":
|
|
10709
10815
|
return "float";
|
|
@@ -10750,8 +10856,8 @@ const Rl = (e, r, o, n) => {
|
|
|
10750
10856
|
)
|
|
10751
10857
|
);
|
|
10752
10858
|
}
|
|
10753
|
-
}, t1 = 9729, G1 = 9728,
|
|
10754
|
-
class
|
|
10859
|
+
}, t1 = 9729, G1 = 9728, $l = 9987, W1 = 33071, q1 = 10497;
|
|
10860
|
+
class Bl {
|
|
10755
10861
|
gl;
|
|
10756
10862
|
url;
|
|
10757
10863
|
wrapS;
|
|
@@ -10839,12 +10945,12 @@ class Vl {
|
|
|
10839
10945
|
)
|
|
10840
10946
|
);
|
|
10841
10947
|
Object.assign(this, { url: n, wrapS: s, wrapT: i, minFilter: l, magFilter: d, flipY: c });
|
|
10842
|
-
const p = 0, C = o.RGBA,
|
|
10948
|
+
const p = 0, C = o.RGBA, g = 1, m = 1, x = 0, v = o.RGBA, F = o.UNSIGNED_BYTE, I = new Uint8Array([255, 255, 255, 0]), H = o.createTexture();
|
|
10843
10949
|
if (o.bindTexture(o.TEXTURE_2D, H), o.texImage2D(
|
|
10844
10950
|
o.TEXTURE_2D,
|
|
10845
10951
|
p,
|
|
10846
10952
|
C,
|
|
10847
|
-
|
|
10953
|
+
g,
|
|
10848
10954
|
m,
|
|
10849
10955
|
x,
|
|
10850
10956
|
v,
|
|
@@ -10883,7 +10989,7 @@ class Vl {
|
|
|
10883
10989
|
), o.texParameteri(
|
|
10884
10990
|
o.TEXTURE_2D,
|
|
10885
10991
|
o.TEXTURE_MIN_FILTER,
|
|
10886
|
-
this.minFilter ||
|
|
10992
|
+
this.minFilter || $l
|
|
10887
10993
|
), o.texParameteri(
|
|
10888
10994
|
o.TEXTURE_2D,
|
|
10889
10995
|
o.TEXTURE_MAG_FILTER,
|
|
@@ -10897,8 +11003,8 @@ const be = (e) => `react-shaders: ${e}`, X1 = (e) => {
|
|
|
10897
11003
|
return [r?.clientX ?? 0, r?.clientY ?? 0];
|
|
10898
11004
|
}
|
|
10899
11005
|
return [e.clientX, e.clientY];
|
|
10900
|
-
}, Y1 = (e, r, o) => e * (1 - o) + r * o,
|
|
10901
|
-
function
|
|
11006
|
+
}, Y1 = (e, r, o) => e * (1 - o) + r * o, Il = (e, r, o) => o > 0 ? e.substring(0, o) + r + e.substring(o, e.length) : r + e;
|
|
11007
|
+
function Pl({
|
|
10902
11008
|
fs: e,
|
|
10903
11009
|
vs: r = I1,
|
|
10904
11010
|
textures: o = [],
|
|
@@ -10913,10 +11019,10 @@ function Tl({
|
|
|
10913
11019
|
onError: p = console.error,
|
|
10914
11020
|
onWarning: C = console.warn
|
|
10915
11021
|
}) {
|
|
10916
|
-
const
|
|
11022
|
+
const g = j(null), m = j(null), x = j(null), v = j(null), F = j(void 0), I = j(void 0), H = j(!1), S = j(void 0), M = j(0), w = j([0, 0]), N = j([]), L = j(0), A = j(void 0), E = j({
|
|
10917
11023
|
[P1]: { type: "float", isNeeded: !1, value: 0 },
|
|
10918
|
-
[
|
|
10919
|
-
[
|
|
11024
|
+
[j1]: { type: "float", isNeeded: !1, value: 0 },
|
|
11025
|
+
[D1]: { type: "vec4", isNeeded: !1, value: [0, 0, 0, 0] },
|
|
10920
11026
|
[_1]: { type: "vec4", isNeeded: !1, value: [0, 0, 0, 0] },
|
|
10921
11027
|
[O1]: { type: "vec2", isNeeded: !1, value: [0, 0] },
|
|
10922
11028
|
[Z1]: { type: "int", isNeeded: !1, value: 0 },
|
|
@@ -10925,13 +11031,13 @@ function Tl({
|
|
|
10925
11031
|
isNeeded: !1,
|
|
10926
11032
|
value: [0, 0, 0, 0]
|
|
10927
11033
|
}
|
|
10928
|
-
}), V =
|
|
11034
|
+
}), V = j(n), $ = (b, R) => {
|
|
10929
11035
|
const y = "width" in b ? b.width ?? 0 : 0, P = "height" in b ? b.height ?? 0 : 0, T = E.current.iChannelResolution;
|
|
10930
11036
|
if (!T) return;
|
|
10931
11037
|
const Z = Array.isArray(T.value) ? T.value : T.value = [];
|
|
10932
11038
|
Z[R * 3] = y * u, Z[R * 3 + 1] = P * u, Z[R * 3 + 2] = 0;
|
|
10933
11039
|
}, U = () => {
|
|
10934
|
-
|
|
11040
|
+
g.current && (m.current = g.current.getContext("webgl", d) || g.current.getContext(
|
|
10935
11041
|
"experimental-webgl",
|
|
10936
11042
|
d
|
|
10937
11043
|
), m.current?.getExtension("OES_standard_derivatives"), m.current?.getExtension("EXT_shader_texture_lod"));
|
|
@@ -10970,7 +11076,7 @@ function Tl({
|
|
|
10970
11076
|
const Z = Array.isArray(E.current.iMouse?.value) ? E.current.iMouse.value : void 0;
|
|
10971
11077
|
Z && (Z[2] = P, Z[3] = T), w.current[0] = P, w.current[1] = T;
|
|
10972
11078
|
}, oe = (b) => {
|
|
10973
|
-
S.current =
|
|
11079
|
+
S.current = g.current?.getBoundingClientRect();
|
|
10974
11080
|
const [R = 0, y = 0] = X1(b), P = R - (S.current?.left ?? 0), T = (S.current?.height ?? 0) - y - (S.current?.top ?? 0);
|
|
10975
11081
|
if (c !== 1)
|
|
10976
11082
|
w.current[0] = P, w.current[1] = T;
|
|
@@ -10984,7 +11090,7 @@ function Tl({
|
|
|
10984
11090
|
}, Y = () => {
|
|
10985
11091
|
const b = m.current;
|
|
10986
11092
|
if (!b) return;
|
|
10987
|
-
S.current =
|
|
11093
|
+
S.current = g.current?.getBoundingClientRect();
|
|
10988
11094
|
const R = u, y = Math.floor(
|
|
10989
11095
|
(S.current?.width ?? 1) * R
|
|
10990
11096
|
), P = Math.floor(
|
|
@@ -10997,7 +11103,7 @@ function Tl({
|
|
|
10997
11103
|
);
|
|
10998
11104
|
b.uniform2fv(T, [b.canvas.width, b.canvas.height]);
|
|
10999
11105
|
}
|
|
11000
|
-
},
|
|
11106
|
+
}, D = (b, R) => {
|
|
11001
11107
|
const y = m.current;
|
|
11002
11108
|
if (!y) return null;
|
|
11003
11109
|
const P = y.createShader(b);
|
|
@@ -11012,7 +11118,7 @@ ${R}`));
|
|
|
11012
11118
|
}, W = (b, R) => {
|
|
11013
11119
|
const y = m.current;
|
|
11014
11120
|
if (!y) return;
|
|
11015
|
-
const P =
|
|
11121
|
+
const P = D(y.FRAGMENT_SHADER, b), T = D(y.VERTEX_SHADER, R);
|
|
11016
11122
|
if (v.current = y.createProgram(), !(!v.current || !T || !P)) {
|
|
11017
11123
|
if (y.attachShader(v.current, T), y.attachShader(v.current, P), y.linkProgram(v.current), !y.getProgramParameter(v.current, y.LINK_STATUS)) {
|
|
11018
11124
|
p?.(
|
|
@@ -11034,13 +11140,13 @@ ${R}`));
|
|
|
11034
11140
|
for (const b of Object.keys(n)) {
|
|
11035
11141
|
const R = n[b];
|
|
11036
11142
|
if (!R) continue;
|
|
11037
|
-
const { value: y, type: P } = R, T =
|
|
11143
|
+
const { value: y, type: P } = R, T = Al(P);
|
|
11038
11144
|
if (!T) continue;
|
|
11039
11145
|
const Z = {};
|
|
11040
|
-
if (
|
|
11146
|
+
if (Vl(P, y)) {
|
|
11041
11147
|
const ae = P.length, fe = Number.parseInt(P.charAt(ae - 3)), me = Math.floor(y.length / (fe * fe));
|
|
11042
11148
|
y.length > fe * fe && (Z.arraySize = `[${me}]`);
|
|
11043
|
-
} else
|
|
11149
|
+
} else Sl(P, y) && (Z.arraySize = `[${Math.floor(y.length / Number.parseInt(P.charAt(0)))}]`);
|
|
11044
11150
|
E.current[b] = {
|
|
11045
11151
|
type: T,
|
|
11046
11152
|
isNeeded: !1,
|
|
@@ -11059,10 +11165,10 @@ ${R}`));
|
|
|
11059
11165
|
value: []
|
|
11060
11166
|
};
|
|
11061
11167
|
const R = o.map(
|
|
11062
|
-
(y, P) => (E.current[`${
|
|
11168
|
+
(y, P) => (E.current[`${Nl}${P}`] = {
|
|
11063
11169
|
type: "sampler2D",
|
|
11064
11170
|
isNeeded: !1
|
|
11065
|
-
}, $(y, P), N.current[P] = new
|
|
11171
|
+
}, $(y, P), N.current[P] = new Bl(b), N.current[P]?.load(y).then((T) => {
|
|
11066
11172
|
$(T, P);
|
|
11067
11173
|
}))
|
|
11068
11174
|
);
|
|
@@ -11086,14 +11192,14 @@ ${R}`));
|
|
|
11086
11192
|
if (b.includes(Z)) {
|
|
11087
11193
|
const ae = E.current[Z];
|
|
11088
11194
|
if (!ae) continue;
|
|
11089
|
-
P =
|
|
11195
|
+
P = Il(
|
|
11090
11196
|
P,
|
|
11091
11197
|
`uniform ${ae.type} ${Z}${ae.arraySize || ""};
|
|
11092
11198
|
`,
|
|
11093
11199
|
P.lastIndexOf(y) + y.length
|
|
11094
11200
|
), ae.isNeeded = !0;
|
|
11095
11201
|
}
|
|
11096
|
-
return b.includes("mainImage") && (P = P.concat(
|
|
11202
|
+
return b.includes("mainImage") && (P = P.concat(Rl)), P;
|
|
11097
11203
|
}, pe = (b) => {
|
|
11098
11204
|
const R = m.current;
|
|
11099
11205
|
if (!R || !v.current) return;
|
|
@@ -11110,7 +11216,7 @@ ${R}`));
|
|
|
11110
11216
|
T
|
|
11111
11217
|
);
|
|
11112
11218
|
if (!ae) return;
|
|
11113
|
-
|
|
11219
|
+
Hl(
|
|
11114
11220
|
R,
|
|
11115
11221
|
ae,
|
|
11116
11222
|
Z.type,
|
|
@@ -11155,14 +11261,14 @@ ${R}`));
|
|
|
11155
11261
|
if (E.current.iTimeDelta?.isNeeded) {
|
|
11156
11262
|
const T = R.getUniformLocation(
|
|
11157
11263
|
v.current,
|
|
11158
|
-
|
|
11264
|
+
j1
|
|
11159
11265
|
);
|
|
11160
11266
|
R.uniform1f(T, y);
|
|
11161
11267
|
}
|
|
11162
11268
|
if (E.current.iDate?.isNeeded) {
|
|
11163
11269
|
const T = /* @__PURE__ */ new Date(), Z = T.getMonth() + 1, ae = T.getDate(), fe = T.getFullYear(), me = T.getHours() * 60 * 60 + T.getMinutes() * 60 + T.getSeconds() + T.getMilliseconds() * 1e-3, ne = R.getUniformLocation(
|
|
11164
11270
|
v.current,
|
|
11165
|
-
|
|
11271
|
+
D1
|
|
11166
11272
|
);
|
|
11167
11273
|
R.uniform4fv(ne, [fe, Z, ae, me]);
|
|
11168
11274
|
}
|
|
@@ -11211,14 +11317,14 @@ ${R}`));
|
|
|
11211
11317
|
I.current = requestAnimationFrame(re);
|
|
11212
11318
|
}, de = () => {
|
|
11213
11319
|
const b = { passive: !0 };
|
|
11214
|
-
E.current.iMouse?.isNeeded &&
|
|
11320
|
+
E.current.iMouse?.isNeeded && g.current && (g.current.addEventListener("mousemove", oe, b), g.current.addEventListener("mouseout", X, b), g.current.addEventListener("mouseup", X, b), g.current.addEventListener("mousedown", te, b), g.current.addEventListener("touchmove", oe, b), g.current.addEventListener("touchend", X, b), g.current.addEventListener("touchstart", te, b)), E.current.iDeviceOrientation?.isNeeded && window.addEventListener(
|
|
11215
11321
|
"deviceorientation",
|
|
11216
11322
|
z,
|
|
11217
11323
|
b
|
|
11218
|
-
),
|
|
11324
|
+
), g.current && (A.current = new ResizeObserver(Y), A.current.observe(g.current), window.addEventListener("resize", Y, b));
|
|
11219
11325
|
}, we = () => {
|
|
11220
11326
|
const b = { passive: !0 };
|
|
11221
|
-
E.current.iMouse?.isNeeded &&
|
|
11327
|
+
E.current.iMouse?.isNeeded && g.current && (g.current.removeEventListener("mousemove", oe, b), g.current.removeEventListener("mouseout", X, b), g.current.removeEventListener("mouseup", X, b), g.current.removeEventListener("mousedown", te, b), g.current.removeEventListener("touchmove", oe, b), g.current.removeEventListener("touchend", X, b), g.current.removeEventListener("touchstart", te, b)), E.current.iDeviceOrientation?.isNeeded && window.removeEventListener(
|
|
11222
11328
|
"deviceorientation",
|
|
11223
11329
|
z,
|
|
11224
11330
|
b
|
|
@@ -11231,7 +11337,7 @@ ${R}`));
|
|
|
11231
11337
|
function R() {
|
|
11232
11338
|
U();
|
|
11233
11339
|
const y = m.current;
|
|
11234
|
-
y &&
|
|
11340
|
+
y && g.current && (y.clearColor(...s), y.clearDepth(1), y.enable(y.DEPTH_TEST), y.depthFunc(y.LEQUAL), y.viewport(0, 0, g.current.width, g.current.height), g.current.height = g.current.clientHeight, g.current.width = g.current.clientWidth, K(), ie(), W(ue(e || Fl), r || I1), O(), requestAnimationFrame(re), de(), Y());
|
|
11235
11341
|
}
|
|
11236
11342
|
return requestAnimationFrame(R), () => {
|
|
11237
11343
|
const y = m.current;
|
|
@@ -11246,12 +11352,12 @@ ${R}`));
|
|
|
11246
11352
|
}, []), /* @__PURE__ */ t(
|
|
11247
11353
|
"canvas",
|
|
11248
11354
|
{
|
|
11249
|
-
ref:
|
|
11355
|
+
ref: g,
|
|
11250
11356
|
style: { height: "100%", width: "100%", ...l }
|
|
11251
11357
|
}
|
|
11252
11358
|
);
|
|
11253
11359
|
}
|
|
11254
|
-
const
|
|
11360
|
+
const jl = `
|
|
11255
11361
|
const float TAU = 6.283185;
|
|
11256
11362
|
|
|
11257
11363
|
// Noise for dithering
|
|
@@ -11418,7 +11524,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
11418
11524
|
float alpha = mappedBrightness * clamp(uMix, 1.0, 2.0);
|
|
11419
11525
|
fragColor = vec4(color, alpha);
|
|
11420
11526
|
}
|
|
11421
|
-
}`,
|
|
11527
|
+
}`, Dl = 10, Zl = 2, _l = 0.5, Ol = 0.2, Ul = 1.5, Ce = {
|
|
11422
11528
|
duration: 0.5,
|
|
11423
11529
|
ease: "easeOut"
|
|
11424
11530
|
}, K1 = {
|
|
@@ -11428,7 +11534,7 @@ void mainImage(out vec4 fragColor, in vec2 fragCoord) {
|
|
|
11428
11534
|
repeatType: "mirror"
|
|
11429
11535
|
};
|
|
11430
11536
|
function Ue(e) {
|
|
11431
|
-
const [r, o] = B(e), n = qn(e), s =
|
|
11537
|
+
const [r, o] = B(e), n = qn(e), s = j(null);
|
|
11432
11538
|
vs(n, "change", (l) => o(l));
|
|
11433
11539
|
const i = _(
|
|
11434
11540
|
(l, d) => {
|
|
@@ -11438,12 +11544,12 @@ function Ue(e) {
|
|
|
11438
11544
|
);
|
|
11439
11545
|
return { value: r, motionValue: n, controls: s, animate: i };
|
|
11440
11546
|
}
|
|
11441
|
-
function
|
|
11442
|
-
const [o, n] = B(
|
|
11547
|
+
function zl(e, r) {
|
|
11548
|
+
const [o, n] = B(Dl), {
|
|
11443
11549
|
value: s,
|
|
11444
11550
|
animate: i,
|
|
11445
11551
|
motionValue: l
|
|
11446
|
-
} = Ue(
|
|
11552
|
+
} = Ue(Ol), { value: d, animate: c } = Ue(Zl), { value: u, animate: f } = Ue(_l), { value: p, animate: C } = Ue(Ul), g = Cs(r, {
|
|
11447
11553
|
fftSize: 512,
|
|
11448
11554
|
smoothingTimeConstant: 0.55
|
|
11449
11555
|
});
|
|
@@ -11474,10 +11580,10 @@ function Dl(e, r) {
|
|
|
11474
11580
|
f,
|
|
11475
11581
|
C
|
|
11476
11582
|
]), q(() => {
|
|
11477
|
-
e === "speaking" &&
|
|
11583
|
+
e === "speaking" && g > 0 && !l.isAnimating() && i(0.2 + 0.2 * g, { duration: 0 });
|
|
11478
11584
|
}, [
|
|
11479
11585
|
e,
|
|
11480
|
-
|
|
11586
|
+
g,
|
|
11481
11587
|
l,
|
|
11482
11588
|
i,
|
|
11483
11589
|
c,
|
|
@@ -11491,7 +11597,7 @@ function Dl(e, r) {
|
|
|
11491
11597
|
brightness: p
|
|
11492
11598
|
};
|
|
11493
11599
|
}
|
|
11494
|
-
const
|
|
11600
|
+
const Gl = Te({
|
|
11495
11601
|
base: "aspect-square",
|
|
11496
11602
|
variants: {
|
|
11497
11603
|
size: {
|
|
@@ -11506,7 +11612,7 @@ const jl = Te({
|
|
|
11506
11612
|
size: "lg"
|
|
11507
11613
|
}
|
|
11508
11614
|
});
|
|
11509
|
-
function
|
|
11615
|
+
function Wl(e) {
|
|
11510
11616
|
const r = e.match(
|
|
11511
11617
|
/^#([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/
|
|
11512
11618
|
);
|
|
@@ -11530,11 +11636,11 @@ function vr({
|
|
|
11530
11636
|
className: p,
|
|
11531
11637
|
...C
|
|
11532
11638
|
}) {
|
|
11533
|
-
const
|
|
11639
|
+
const g = J(() => Wl(l), [l]);
|
|
11534
11640
|
return /* @__PURE__ */ t("div", { ref: f, className: p, ...C, children: /* @__PURE__ */ t(
|
|
11535
|
-
|
|
11641
|
+
Pl,
|
|
11536
11642
|
{
|
|
11537
|
-
fs:
|
|
11643
|
+
fs: jl,
|
|
11538
11644
|
devicePixelRatio: globalThis.devicePixelRatio ?? 1,
|
|
11539
11645
|
uniforms: {
|
|
11540
11646
|
// Aurora wave speed
|
|
@@ -11564,7 +11670,7 @@ function vr({
|
|
|
11564
11670
|
// Display mode: 0=dark background, 1=light background
|
|
11565
11671
|
uMode: { type: "1f", value: u === "light" ? 1 : 0 },
|
|
11566
11672
|
// Color
|
|
11567
|
-
uColor: { type: "3fv", value:
|
|
11673
|
+
uColor: { type: "3fv", value: g ?? [0, 0.7, 1] }
|
|
11568
11674
|
},
|
|
11569
11675
|
onError: (m) => {
|
|
11570
11676
|
console.error("Shader error:", m);
|
|
@@ -11577,7 +11683,7 @@ function vr({
|
|
|
11577
11683
|
) });
|
|
11578
11684
|
}
|
|
11579
11685
|
vr.displayName = "AuraShader";
|
|
11580
|
-
function
|
|
11686
|
+
function Q6({
|
|
11581
11687
|
size: e = "lg",
|
|
11582
11688
|
state: r,
|
|
11583
11689
|
color: o,
|
|
@@ -11588,7 +11694,7 @@ function G6({
|
|
|
11588
11694
|
ref: d,
|
|
11589
11695
|
...c
|
|
11590
11696
|
}) {
|
|
11591
|
-
const { speed: u, scale: f, amplitude: p, frequency: C, brightness:
|
|
11697
|
+
const { speed: u, scale: f, amplitude: p, frequency: C, brightness: g } = zl(r, s);
|
|
11592
11698
|
return /* @__PURE__ */ t(
|
|
11593
11699
|
vr,
|
|
11594
11700
|
{
|
|
@@ -11601,9 +11707,9 @@ function G6({
|
|
|
11601
11707
|
themeMode: i,
|
|
11602
11708
|
amplitude: p,
|
|
11603
11709
|
frequency: C,
|
|
11604
|
-
brightness:
|
|
11710
|
+
brightness: g,
|
|
11605
11711
|
className: k(
|
|
11606
|
-
|
|
11712
|
+
Gl({ size: e }),
|
|
11607
11713
|
"overflow-hidden rounded-full",
|
|
11608
11714
|
l
|
|
11609
11715
|
),
|
|
@@ -11611,7 +11717,7 @@ function G6({
|
|
|
11611
11717
|
}
|
|
11612
11718
|
);
|
|
11613
11719
|
}
|
|
11614
|
-
const
|
|
11720
|
+
const J6 = ({
|
|
11615
11721
|
text: e,
|
|
11616
11722
|
description: r,
|
|
11617
11723
|
avatar: o,
|
|
@@ -11636,7 +11742,7 @@ const W6 = ({
|
|
|
11636
11742
|
onClick: l
|
|
11637
11743
|
}
|
|
11638
11744
|
}
|
|
11639
|
-
),
|
|
11745
|
+
), ql = Te({
|
|
11640
11746
|
base: [
|
|
11641
11747
|
"relative flex flex-col rounded-2xl bg-f1-background",
|
|
11642
11748
|
"border border-solid border-f1-border-secondary",
|
|
@@ -11654,18 +11760,18 @@ const W6 = ({
|
|
|
11654
11760
|
}
|
|
11655
11761
|
}), wr = Te({
|
|
11656
11762
|
base: "text-lg font-semibold text-f1-foreground line-clamp-3"
|
|
11657
|
-
}),
|
|
11763
|
+
}), Xl = Te({
|
|
11658
11764
|
base: "text-sm text-f1-foreground-secondary leading-normal"
|
|
11659
11765
|
}), ze = Te({
|
|
11660
11766
|
base: "text-sm font-medium text-f1-foreground leading-normal"
|
|
11661
|
-
}),
|
|
11767
|
+
}), Yl = ({
|
|
11662
11768
|
description: e,
|
|
11663
11769
|
isRevealed: r,
|
|
11664
11770
|
onAskOne: o
|
|
11665
11771
|
}) => {
|
|
11666
11772
|
const n = G(), s = Le();
|
|
11667
11773
|
return /* @__PURE__ */ a(Re, { children: [
|
|
11668
|
-
e && /* @__PURE__ */ t("span", { className: k(
|
|
11774
|
+
e && /* @__PURE__ */ t("span", { className: k(Xl(), "truncate"), children: e }),
|
|
11669
11775
|
/* @__PURE__ */ t(Ee, { children: o && r && /* @__PURE__ */ t(
|
|
11670
11776
|
ee.div,
|
|
11671
11777
|
{
|
|
@@ -11678,7 +11784,7 @@ const W6 = ({
|
|
|
11678
11784
|
ease: [0.33, 1, 0.68, 1]
|
|
11679
11785
|
},
|
|
11680
11786
|
children: /* @__PURE__ */ t(
|
|
11681
|
-
|
|
11787
|
+
Dt,
|
|
11682
11788
|
{
|
|
11683
11789
|
size: "md",
|
|
11684
11790
|
label: n.ai.ask,
|
|
@@ -11690,14 +11796,14 @@ const W6 = ({
|
|
|
11690
11796
|
}
|
|
11691
11797
|
) })
|
|
11692
11798
|
] });
|
|
11693
|
-
},
|
|
11799
|
+
}, Kl = /* @__PURE__ */ new Set([
|
|
11694
11800
|
"person",
|
|
11695
11801
|
"people",
|
|
11696
11802
|
"team",
|
|
11697
11803
|
"company",
|
|
11698
11804
|
"alert",
|
|
11699
11805
|
"balance"
|
|
11700
|
-
]),
|
|
11806
|
+
]), Ql = ({ balance: e }) => /* @__PURE__ */ t(
|
|
11701
11807
|
Jn,
|
|
11702
11808
|
{
|
|
11703
11809
|
amount: e.amount,
|
|
@@ -11705,7 +11811,7 @@ const W6 = ({
|
|
|
11705
11811
|
invertStatus: e.invertStatus,
|
|
11706
11812
|
hint: e.hint
|
|
11707
11813
|
}
|
|
11708
|
-
),
|
|
11814
|
+
), Jl = (e) => {
|
|
11709
11815
|
const {
|
|
11710
11816
|
heading: r,
|
|
11711
11817
|
label: o,
|
|
@@ -11766,11 +11872,11 @@ const W6 = ({
|
|
|
11766
11872
|
o && /* @__PURE__ */ t("span", { className: k(ze()), children: o })
|
|
11767
11873
|
] }),
|
|
11768
11874
|
n === "alert" && /* @__PURE__ */ t(Qn, { text: e.alertLabel, level: e.level }),
|
|
11769
|
-
n === "balance" && /* @__PURE__ */ t(
|
|
11875
|
+
n === "balance" && /* @__PURE__ */ t(Ql, { balance: e.balance })
|
|
11770
11876
|
]
|
|
11771
11877
|
}
|
|
11772
11878
|
),
|
|
11773
|
-
o && !
|
|
11879
|
+
o && !Kl.has(n) && /* @__PURE__ */ t(
|
|
11774
11880
|
ee.span,
|
|
11775
11881
|
{
|
|
11776
11882
|
className: k(ze()),
|
|
@@ -11797,17 +11903,17 @@ const W6 = ({
|
|
|
11797
11903
|
border: "border-f1-border"
|
|
11798
11904
|
}
|
|
11799
11905
|
};
|
|
11800
|
-
function
|
|
11906
|
+
function e6(e, r) {
|
|
11801
11907
|
const o = e[0]?.value ?? 0, n = e[e.length - 1]?.value ?? 0, s = Math.sign(n - o), i = r ? s * -1 : s;
|
|
11802
11908
|
return i > 0 ? "positive" : i < 0 ? "negative" : "neutral";
|
|
11803
11909
|
}
|
|
11804
|
-
const
|
|
11910
|
+
const t6 = ({
|
|
11805
11911
|
cx: e,
|
|
11806
11912
|
cy: r,
|
|
11807
11913
|
index: o,
|
|
11808
11914
|
dataLength: n,
|
|
11809
11915
|
color: s
|
|
11810
|
-
}) => o !== n - 1 || e == null || r == null ? null : /* @__PURE__ */ t("circle", { cx: e, cy: r, r: 2, fill: s, stroke: "none" }),
|
|
11916
|
+
}) => o !== n - 1 || e == null || r == null ? null : /* @__PURE__ */ t("circle", { cx: e, cy: r, r: 2, fill: s, stroke: "none" }), r6 = ({
|
|
11811
11917
|
label: e,
|
|
11812
11918
|
direction: r
|
|
11813
11919
|
}) => {
|
|
@@ -11829,12 +11935,12 @@ const Xl = ({
|
|
|
11829
11935
|
children: e
|
|
11830
11936
|
}
|
|
11831
11937
|
);
|
|
11832
|
-
},
|
|
11938
|
+
}, o6 = ({
|
|
11833
11939
|
data: e,
|
|
11834
11940
|
label: r,
|
|
11835
11941
|
invertStatus: o
|
|
11836
11942
|
}) => {
|
|
11837
|
-
const s = `sparkline-gradient-${ot().replace(/:/g, "")}`, i =
|
|
11943
|
+
const s = `sparkline-gradient-${ot().replace(/:/g, "")}`, i = e6(e, o), l = xr[i];
|
|
11838
11944
|
return /* @__PURE__ */ t("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ a(
|
|
11839
11945
|
"div",
|
|
11840
11946
|
{
|
|
@@ -11864,7 +11970,7 @@ const Xl = ({
|
|
|
11864
11970
|
fillOpacity: 1,
|
|
11865
11971
|
isAnimationActive: !1,
|
|
11866
11972
|
dot: (d) => /* @__PURE__ */ Hr(
|
|
11867
|
-
|
|
11973
|
+
t6,
|
|
11868
11974
|
{
|
|
11869
11975
|
...d,
|
|
11870
11976
|
key: d.index,
|
|
@@ -11878,11 +11984,11 @@ const Xl = ({
|
|
|
11878
11984
|
]
|
|
11879
11985
|
}
|
|
11880
11986
|
) }),
|
|
11881
|
-
/* @__PURE__ */ t(
|
|
11987
|
+
/* @__PURE__ */ t(r6, { label: r, direction: i })
|
|
11882
11988
|
]
|
|
11883
11989
|
}
|
|
11884
11990
|
) });
|
|
11885
|
-
}, kr =
|
|
11991
|
+
}, kr = h(
|
|
11886
11992
|
(e, r) => {
|
|
11887
11993
|
const {
|
|
11888
11994
|
description: o,
|
|
@@ -11893,7 +11999,7 @@ const Xl = ({
|
|
|
11893
11999
|
onAskOne: d,
|
|
11894
12000
|
className: c,
|
|
11895
12001
|
...u
|
|
11896
|
-
} = e, [f, p] = B(!1), [C,
|
|
12002
|
+
} = e, [f, p] = B(!1), [C, g] = B(!1), m = f || C, x = Le(), v = m && !!d, F = {
|
|
11897
12003
|
duration: x ? 0 : 0.2,
|
|
11898
12004
|
ease: [0.33, 1, 0.68, 1]
|
|
11899
12005
|
}, I = () => {
|
|
@@ -11935,7 +12041,7 @@ const Xl = ({
|
|
|
11935
12041
|
role: l ? "button" : void 0,
|
|
11936
12042
|
tabIndex: l ? 0 : void 0,
|
|
11937
12043
|
className: k(
|
|
11938
|
-
|
|
12044
|
+
ql({ selected: i }),
|
|
11939
12045
|
i && "relative border-transparent",
|
|
11940
12046
|
l && "cursor-pointer select-none",
|
|
11941
12047
|
l && ge(),
|
|
@@ -11945,11 +12051,11 @@ const Xl = ({
|
|
|
11945
12051
|
onKeyDown: l ? H : void 0,
|
|
11946
12052
|
onMouseEnter: () => p(!0),
|
|
11947
12053
|
onMouseLeave: () => p(!1),
|
|
11948
|
-
onFocus: () =>
|
|
11949
|
-
onBlur: () =>
|
|
12054
|
+
onFocus: () => g(!0),
|
|
12055
|
+
onBlur: () => g(!1),
|
|
11950
12056
|
children: [
|
|
11951
12057
|
/* @__PURE__ */ t(
|
|
11952
|
-
|
|
12058
|
+
Yl,
|
|
11953
12059
|
{
|
|
11954
12060
|
description: o,
|
|
11955
12061
|
isRevealed: m,
|
|
@@ -11965,7 +12071,7 @@ const Xl = ({
|
|
|
11965
12071
|
animate: { opacity: v ? 0 : 1 },
|
|
11966
12072
|
transition: F,
|
|
11967
12073
|
children: /* @__PURE__ */ t(
|
|
11968
|
-
|
|
12074
|
+
o6,
|
|
11969
12075
|
{
|
|
11970
12076
|
data: u.data,
|
|
11971
12077
|
label: s ?? "",
|
|
@@ -11975,7 +12081,7 @@ const Xl = ({
|
|
|
11975
12081
|
}
|
|
11976
12082
|
)
|
|
11977
12083
|
] }) : /* @__PURE__ */ t(
|
|
11978
|
-
|
|
12084
|
+
Jl,
|
|
11979
12085
|
{
|
|
11980
12086
|
heading: n,
|
|
11981
12087
|
label: s,
|
|
@@ -11991,15 +12097,15 @@ const Xl = ({
|
|
|
11991
12097
|
}
|
|
11992
12098
|
);
|
|
11993
12099
|
kr.displayName = "F0AiInsightCardInternal";
|
|
11994
|
-
const
|
|
11995
|
-
const o =
|
|
12100
|
+
const n6 = ["className"], Lr = h((e, r) => {
|
|
12101
|
+
const o = n6.reduce((n, s) => {
|
|
11996
12102
|
const { [s]: i, ...l } = n;
|
|
11997
12103
|
return l;
|
|
11998
12104
|
}, e);
|
|
11999
12105
|
return /* @__PURE__ */ t(kr, { ref: r, ...o });
|
|
12000
12106
|
});
|
|
12001
12107
|
Lr.displayName = "F0AiInsightCard";
|
|
12002
|
-
const
|
|
12108
|
+
const s6 = () => /* @__PURE__ */ a(
|
|
12003
12109
|
"div",
|
|
12004
12110
|
{
|
|
12005
12111
|
className: "flex w-[217px] h-[200px] flex-col gap-2 rounded-2xl border border-solid border-f1-border-secondary bg-f1-background p-4",
|
|
@@ -12019,9 +12125,9 @@ const Jl = () => /* @__PURE__ */ a(
|
|
|
12019
12125
|
] })
|
|
12020
12126
|
]
|
|
12021
12127
|
}
|
|
12022
|
-
),
|
|
12023
|
-
ss(Lr,
|
|
12024
|
-
),
|
|
12128
|
+
), e4 = ns(
|
|
12129
|
+
ss(Lr, s6)
|
|
12130
|
+
), t4 = [
|
|
12025
12131
|
"text",
|
|
12026
12132
|
"person",
|
|
12027
12133
|
"people",
|
|
@@ -12030,10 +12136,10 @@ const Jl = () => /* @__PURE__ */ a(
|
|
|
12030
12136
|
"alert",
|
|
12031
12137
|
"balance",
|
|
12032
12138
|
"sparkline"
|
|
12033
|
-
], br = 180,
|
|
12139
|
+
], br = 180, i6 = (e) => Number.isFinite(e) ? Math.max(0, Math.floor(e)) : br, a6 = (e, r) => e.length <= r ? e : `${e.slice(0, r).trimEnd()}...`, c6 = (e) => e.showActions !== !1, l6 = (e) => Object.fromEntries(
|
|
12034
12140
|
Object.entries(e).filter(([r]) => r.startsWith("data-"))
|
|
12035
12141
|
);
|
|
12036
|
-
function
|
|
12142
|
+
function d6(e) {
|
|
12037
12143
|
const {
|
|
12038
12144
|
module: r,
|
|
12039
12145
|
heading: o,
|
|
@@ -12042,9 +12148,9 @@ function n6(e) {
|
|
|
12042
12148
|
description: i,
|
|
12043
12149
|
seeMoreLabel: l,
|
|
12044
12150
|
maxCollapsedDescriptionLength: d = br
|
|
12045
|
-
} = e, [c, u] = B(!1), f = ot(), p =
|
|
12151
|
+
} = e, [c, u] = B(!1), f = ot(), p = j(null), C = i6(
|
|
12046
12152
|
d
|
|
12047
|
-
),
|
|
12153
|
+
), g = i.length > C, m = c ? i : a6(i, C), x = c6(e) ? e : null, v = l6(e);
|
|
12048
12154
|
return q(() => {
|
|
12049
12155
|
c && p.current?.focus();
|
|
12050
12156
|
}, [c]), /* @__PURE__ */ a(
|
|
@@ -12075,7 +12181,7 @@ function n6(e) {
|
|
|
12075
12181
|
),
|
|
12076
12182
|
children: [
|
|
12077
12183
|
m,
|
|
12078
|
-
|
|
12184
|
+
g && !c && /* @__PURE__ */ a(Re, { children: [
|
|
12079
12185
|
" ",
|
|
12080
12186
|
/* @__PURE__ */ t(
|
|
12081
12187
|
"button",
|
|
@@ -12109,8 +12215,8 @@ function n6(e) {
|
|
|
12109
12215
|
}
|
|
12110
12216
|
);
|
|
12111
12217
|
}
|
|
12112
|
-
|
|
12113
|
-
const
|
|
12218
|
+
d6.displayName = "F0AiProposalCard";
|
|
12219
|
+
const f6 = ({
|
|
12114
12220
|
icon: e,
|
|
12115
12221
|
title: r,
|
|
12116
12222
|
children: o
|
|
@@ -12154,8 +12260,8 @@ const s6 = ({
|
|
|
12154
12260
|
]
|
|
12155
12261
|
}
|
|
12156
12262
|
);
|
|
12157
|
-
},
|
|
12158
|
-
function
|
|
12263
|
+
}, u6 = (e) => pc[e] ?? ft, h6 = ({ iconName: e }) => e ? /* @__PURE__ */ t("div", { className: "mr-1 flex items-center justify-center", children: /* @__PURE__ */ t(le, { icon: u6(e), size: "md", color: "default" }) }) : null;
|
|
12264
|
+
function g6({
|
|
12159
12265
|
sources: e,
|
|
12160
12266
|
title: r
|
|
12161
12267
|
}) {
|
|
@@ -12163,8 +12269,8 @@ function c6({
|
|
|
12163
12269
|
if (!e || e.length === 0 || !Array.isArray(e))
|
|
12164
12270
|
return null;
|
|
12165
12271
|
const n = r ?? o.ai.resourcesGroupTitle;
|
|
12166
|
-
return /* @__PURE__ */ t(
|
|
12167
|
-
const l = /* @__PURE__ */ t(
|
|
12272
|
+
return /* @__PURE__ */ t(f6, { icon: c1, title: n, children: /* @__PURE__ */ t("div", { className: "flex flex-col gap-1 rounded-lg border border-solid border-f1-border-secondary p-2", children: e.map((s, i) => {
|
|
12273
|
+
const l = /* @__PURE__ */ t(h6, { iconName: s.icon });
|
|
12168
12274
|
return s.link ? /* @__PURE__ */ t(
|
|
12169
12275
|
Be,
|
|
12170
12276
|
{
|
|
@@ -12192,21 +12298,21 @@ function c6({
|
|
|
12192
12298
|
);
|
|
12193
12299
|
}) }) });
|
|
12194
12300
|
}
|
|
12195
|
-
|
|
12196
|
-
async function
|
|
12301
|
+
g6.displayName = "F0AiMessageSources";
|
|
12302
|
+
async function p6(e, r, o) {
|
|
12197
12303
|
const n = await import("./xlsx-CzlURDDb.js"), s = n.utils.table_to_book(e, { sheet: "Data" });
|
|
12198
12304
|
n.writeFile(s, `${o}.${r}`);
|
|
12199
12305
|
}
|
|
12200
|
-
function
|
|
12306
|
+
function C6({
|
|
12201
12307
|
dataset: e,
|
|
12202
12308
|
title: r,
|
|
12203
12309
|
filename: o
|
|
12204
12310
|
}) {
|
|
12205
|
-
const n = G(), s =
|
|
12311
|
+
const n = G(), s = j(null), i = r ?? n.ai.aiTable.title, l = _(
|
|
12206
12312
|
(d) => {
|
|
12207
12313
|
if (!s.current) return;
|
|
12208
12314
|
const c = o ?? (i.replace(/\s+/g, "_").toLowerCase() || "table");
|
|
12209
|
-
|
|
12315
|
+
p6(s.current, d, c);
|
|
12210
12316
|
},
|
|
12211
12317
|
[i, o]
|
|
12212
12318
|
);
|
|
@@ -12298,8 +12404,8 @@ function d6({
|
|
|
12298
12404
|
}
|
|
12299
12405
|
) : null;
|
|
12300
12406
|
}
|
|
12301
|
-
|
|
12302
|
-
function
|
|
12407
|
+
C6.displayName = "F0AiTableCard";
|
|
12408
|
+
function m6({ credits: e, trigger: r }) {
|
|
12303
12409
|
const o = G(), [n, s] = B(!1), [i, l] = B(!1), [d, c] = B(!1), [u, f] = B(null), p = _(
|
|
12304
12410
|
(m) => {
|
|
12305
12411
|
s(m), m && e?.fetchUsage && (l(!0), c(!1), e.fetchUsage().then((x) => {
|
|
@@ -12313,7 +12419,7 @@ function f6({ credits: e, trigger: r }) {
|
|
|
12313
12419
|
[e]
|
|
12314
12420
|
);
|
|
12315
12421
|
if (!e) return null;
|
|
12316
|
-
const C = u ? Math.min(100, Math.round(u.used / u.total * 100)) : 0,
|
|
12422
|
+
const C = u ? Math.min(100, Math.round(u.used / u.total * 100)) : 0, g = e.companyName;
|
|
12317
12423
|
return /* @__PURE__ */ a(d1, { open: n, onOpenChange: p, children: [
|
|
12318
12424
|
/* @__PURE__ */ t(f1, { asChild: !0, children: r ?? /* @__PURE__ */ t(
|
|
12319
12425
|
ce,
|
|
@@ -12335,7 +12441,7 @@ function f6({ credits: e, trigger: r }) {
|
|
|
12335
12441
|
collisionPadding: 12,
|
|
12336
12442
|
className: "flex w-[324px] flex-col gap-3 rounded-md border border-solid border-f1-border-secondary p-3",
|
|
12337
12443
|
children: [
|
|
12338
|
-
|
|
12444
|
+
g && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
|
|
12339
12445
|
/* @__PURE__ */ t(
|
|
12340
12446
|
g1,
|
|
12341
12447
|
{
|
|
@@ -12424,8 +12530,8 @@ function f6({ credits: e, trigger: r }) {
|
|
|
12424
12530
|
)
|
|
12425
12531
|
] });
|
|
12426
12532
|
}
|
|
12427
|
-
const
|
|
12428
|
-
function
|
|
12533
|
+
const v6 = "linear-gradient(90deg, #E55619, #A1ADE5, #E51943, #E55619)";
|
|
12534
|
+
function w6({
|
|
12429
12535
|
employeeCredits: e,
|
|
12430
12536
|
trigger: r
|
|
12431
12537
|
}) {
|
|
@@ -12442,7 +12548,7 @@ function h6({
|
|
|
12442
12548
|
[e]
|
|
12443
12549
|
);
|
|
12444
12550
|
if (!e) return null;
|
|
12445
|
-
const
|
|
12551
|
+
const g = !!e.companyName, m = f && f.total > 0 ? Math.min(100, Math.round(f.used / f.total * 100)) : 0, x = f ? Math.max(0, f.total - f.used) : 0;
|
|
12446
12552
|
return /* @__PURE__ */ a(d1, { open: s, onOpenChange: C, children: [
|
|
12447
12553
|
/* @__PURE__ */ t(f1, { asChild: !0, children: r ?? /* @__PURE__ */ t(
|
|
12448
12554
|
ce,
|
|
@@ -12464,7 +12570,7 @@ function h6({
|
|
|
12464
12570
|
collisionPadding: 12,
|
|
12465
12571
|
className: "flex w-[324px] flex-col gap-3 rounded-md border border-solid border-f1-border-secondary p-3",
|
|
12466
12572
|
children: [
|
|
12467
|
-
|
|
12573
|
+
g && /* @__PURE__ */ a("div", { className: "flex min-w-0 max-w-full flex-1 items-center gap-2 overflow-hidden text-left text-lg text-f1-foreground", children: [
|
|
12468
12574
|
/* @__PURE__ */ t(
|
|
12469
12575
|
g1,
|
|
12470
12576
|
{
|
|
@@ -12519,7 +12625,7 @@ function h6({
|
|
|
12519
12625
|
className: "h-full rounded-full",
|
|
12520
12626
|
style: {
|
|
12521
12627
|
width: `${m}%`,
|
|
12522
|
-
backgroundImage:
|
|
12628
|
+
backgroundImage: v6,
|
|
12523
12629
|
backgroundSize: "300% 100%"
|
|
12524
12630
|
},
|
|
12525
12631
|
animate: n ? void 0 : { backgroundPosition: ["0% 0%", "100% 0%"] },
|
|
@@ -12547,12 +12653,12 @@ const n1 = ({
|
|
|
12547
12653
|
employeeCredits: r,
|
|
12548
12654
|
trigger: o
|
|
12549
12655
|
}) => r ? /* @__PURE__ */ t(
|
|
12550
|
-
|
|
12656
|
+
w6,
|
|
12551
12657
|
{
|
|
12552
12658
|
employeeCredits: r,
|
|
12553
12659
|
trigger: o
|
|
12554
12660
|
}
|
|
12555
|
-
) : e ? /* @__PURE__ */ t(
|
|
12661
|
+
) : e ? /* @__PURE__ */ t(m6, { credits: e, trigger: o }) : null, r4 = n1, o4 = ({
|
|
12556
12662
|
historyEnabled: e = !1,
|
|
12557
12663
|
title: r,
|
|
12558
12664
|
currentThreadTitle: o,
|
|
@@ -12567,14 +12673,14 @@ const n1 = ({
|
|
|
12567
12673
|
employeeCredits: p,
|
|
12568
12674
|
compact: C = !1
|
|
12569
12675
|
}) => {
|
|
12570
|
-
const
|
|
12676
|
+
const g = G(), m = is(`(max-width: ${as.md}px)`, {
|
|
12571
12677
|
initializeWithValue: !0
|
|
12572
12678
|
}), x = !s && !m && /* @__PURE__ */ t(
|
|
12573
12679
|
ce,
|
|
12574
12680
|
{
|
|
12575
12681
|
variant: "ghost",
|
|
12576
12682
|
hideLabel: !0,
|
|
12577
|
-
label: n ?
|
|
12683
|
+
label: n ? g.ai.collapseChat : g.ai.expandChat,
|
|
12578
12684
|
icon: n ? gt : ut,
|
|
12579
12685
|
onClick: i
|
|
12580
12686
|
}
|
|
@@ -12583,7 +12689,7 @@ const n1 = ({
|
|
|
12583
12689
|
{
|
|
12584
12690
|
variant: "ghost",
|
|
12585
12691
|
hideLabel: !0,
|
|
12586
|
-
label:
|
|
12692
|
+
label: g.ai.closeChat,
|
|
12587
12693
|
icon: Fe,
|
|
12588
12694
|
onClick: l
|
|
12589
12695
|
}
|
|
@@ -12598,7 +12704,7 @@ const n1 = ({
|
|
|
12598
12704
|
{
|
|
12599
12705
|
lines: 1,
|
|
12600
12706
|
className: "min-w-0 flex-1 text-left font-semibold text-f1-foreground",
|
|
12601
|
-
children: o ??
|
|
12707
|
+
children: o ?? g.ai.newConversation
|
|
12602
12708
|
}
|
|
12603
12709
|
),
|
|
12604
12710
|
/* @__PURE__ */ a(
|
|
@@ -12631,7 +12737,7 @@ const n1 = ({
|
|
|
12631
12737
|
className: "min-w-0 max-w-full [&>div>span>span]:w-full",
|
|
12632
12738
|
onClick: c,
|
|
12633
12739
|
children: /* @__PURE__ */ a("div", { className: "flex min-w-0 items-center gap-1", children: [
|
|
12634
|
-
/* @__PURE__ */ t(se, { lines: 1, className: "min-w-0 text-left", children: o ??
|
|
12740
|
+
/* @__PURE__ */ t(se, { lines: 1, className: "min-w-0 text-left", children: o ?? g.ai.newConversation }),
|
|
12635
12741
|
/* @__PURE__ */ t(le, { icon: i1, color: "default", size: "md" })
|
|
12636
12742
|
] })
|
|
12637
12743
|
}
|
|
@@ -12673,7 +12779,7 @@ const n1 = ({
|
|
|
12673
12779
|
{
|
|
12674
12780
|
variant: "ghost",
|
|
12675
12781
|
hideLabel: !0,
|
|
12676
|
-
label:
|
|
12782
|
+
label: g.ai.startNewChat,
|
|
12677
12783
|
icon: p1,
|
|
12678
12784
|
onClick: d
|
|
12679
12785
|
}
|
|
@@ -12692,16 +12798,16 @@ const n1 = ({
|
|
|
12692
12798
|
)
|
|
12693
12799
|
] });
|
|
12694
12800
|
};
|
|
12695
|
-
function
|
|
12801
|
+
function x6() {
|
|
12696
12802
|
if (!(typeof navigator > "u"))
|
|
12697
12803
|
return ds(navigator.language);
|
|
12698
12804
|
}
|
|
12699
|
-
function
|
|
12805
|
+
function k6(e) {
|
|
12700
12806
|
const r = new Date(e), o = /* @__PURE__ */ new Date();
|
|
12701
12807
|
return Vt(r) ? "today" : St(r) ? "yesterday" : ls(r, o) ? "thisMonth" : "older";
|
|
12702
12808
|
}
|
|
12703
|
-
function
|
|
12704
|
-
const o = new Date(e), n =
|
|
12809
|
+
function L6(e, r) {
|
|
12810
|
+
const o = new Date(e), n = x6(), s = E1(o, "p", { locale: n });
|
|
12705
12811
|
if (Vt(o)) return `${r.today}, ${s}`;
|
|
12706
12812
|
if (St(o)) return `${r.yesterday}, ${s}`;
|
|
12707
12813
|
const i = !cs(o, /* @__PURE__ */ new Date());
|
|
@@ -12709,7 +12815,7 @@ function C6(e, r) {
|
|
|
12709
12815
|
locale: n
|
|
12710
12816
|
})}, ${s}`;
|
|
12711
12817
|
}
|
|
12712
|
-
function
|
|
12818
|
+
function b6(e) {
|
|
12713
12819
|
const r = {
|
|
12714
12820
|
today: [],
|
|
12715
12821
|
yesterday: [],
|
|
@@ -12717,12 +12823,12 @@ function m6(e) {
|
|
|
12717
12823
|
older: []
|
|
12718
12824
|
};
|
|
12719
12825
|
for (const n of e) {
|
|
12720
|
-
const s =
|
|
12826
|
+
const s = k6(n.updatedAt);
|
|
12721
12827
|
r[s].push(n);
|
|
12722
12828
|
}
|
|
12723
12829
|
return ["today", "yesterday", "thisMonth", "older"].filter((n) => r[n].length > 0).map((n) => ({ key: n, threads: r[n] }));
|
|
12724
12830
|
}
|
|
12725
|
-
function
|
|
12831
|
+
function y6({
|
|
12726
12832
|
thread: e,
|
|
12727
12833
|
isPinned: r,
|
|
12728
12834
|
isActive: o = !1,
|
|
@@ -12749,7 +12855,7 @@ function v6({
|
|
|
12749
12855
|
],
|
|
12750
12856
|
[r, e.id, i, l, d]
|
|
12751
12857
|
), p = J(
|
|
12752
|
-
() =>
|
|
12858
|
+
() => L6(e.updatedAt, {
|
|
12753
12859
|
today: u.ai.today,
|
|
12754
12860
|
yesterday: u.ai.yesterday
|
|
12755
12861
|
}),
|
|
@@ -12864,7 +12970,7 @@ function Q1({
|
|
|
12864
12970
|
}
|
|
12865
12971
|
),
|
|
12866
12972
|
d && /* @__PURE__ */ t("div", { className: "flex flex-col", children: r.map((p) => /* @__PURE__ */ t(
|
|
12867
|
-
|
|
12973
|
+
y6,
|
|
12868
12974
|
{
|
|
12869
12975
|
thread: p,
|
|
12870
12976
|
isPinned: o.has(p.id),
|
|
@@ -12877,20 +12983,20 @@ function Q1({
|
|
|
12877
12983
|
)) })
|
|
12878
12984
|
] });
|
|
12879
12985
|
}
|
|
12880
|
-
const J1 = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"],
|
|
12986
|
+
const J1 = ["w-3/5", "w-4/5", "w-2/5", "w-3/4", "w-1/2", "w-2/3"], M6 = ({ width: e }) => /* @__PURE__ */ t("div", { className: "flex items-center py-1.5 pl-1.5 pr-2", children: /* @__PURE__ */ t(he, { className: k("h-4 rounded", e) }) }), et = ({
|
|
12881
12987
|
titleWidth: e,
|
|
12882
12988
|
rows: r
|
|
12883
12989
|
}) => /* @__PURE__ */ a("div", { className: "flex flex-col gap-0.5", children: [
|
|
12884
12990
|
/* @__PURE__ */ t("div", { className: "flex items-center p-1.5", children: /* @__PURE__ */ t(he, { className: k("h-3 rounded", e) }) }),
|
|
12885
|
-
r.map((o, n) => /* @__PURE__ */ t(
|
|
12991
|
+
r.map((o, n) => /* @__PURE__ */ t(M6, { width: o }, n))
|
|
12886
12992
|
] });
|
|
12887
|
-
function
|
|
12993
|
+
function E6() {
|
|
12888
12994
|
return /* @__PURE__ */ a("div", { "aria-hidden": "true", className: "flex flex-col gap-4", children: [
|
|
12889
12995
|
/* @__PURE__ */ t(et, { titleWidth: "w-12", rows: J1.slice(0, 2) }),
|
|
12890
12996
|
/* @__PURE__ */ t(et, { titleWidth: "w-24", rows: J1 })
|
|
12891
12997
|
] });
|
|
12892
12998
|
}
|
|
12893
|
-
const
|
|
12999
|
+
const n4 = ({
|
|
12894
13000
|
onClose: e,
|
|
12895
13001
|
onSelectThread: r,
|
|
12896
13002
|
onNewChat: o,
|
|
@@ -12909,7 +13015,7 @@ const Q6 = ({
|
|
|
12909
13015
|
};
|
|
12910
13016
|
return document.addEventListener("keydown", w), () => document.removeEventListener("keydown", w);
|
|
12911
13017
|
}, [e]);
|
|
12912
|
-
const
|
|
13018
|
+
const g = J(
|
|
12913
13019
|
() => ({
|
|
12914
13020
|
today: f.ai.today,
|
|
12915
13021
|
yesterday: f.ai.yesterday,
|
|
@@ -12933,7 +13039,7 @@ const Q6 = ({
|
|
|
12933
13039
|
() => m.filter((w) => !l.has(w.id)),
|
|
12934
13040
|
[m, l]
|
|
12935
13041
|
), F = J(
|
|
12936
|
-
() =>
|
|
13042
|
+
() => b6(v),
|
|
12937
13043
|
[v]
|
|
12938
13044
|
), I = _(
|
|
12939
13045
|
(w, N) => {
|
|
@@ -13010,7 +13116,7 @@ const Q6 = ({
|
|
|
13010
13116
|
] })
|
|
13011
13117
|
}
|
|
13012
13118
|
),
|
|
13013
|
-
s && /* @__PURE__ */ t(
|
|
13119
|
+
s && /* @__PURE__ */ t(E6, {}),
|
|
13014
13120
|
!s && i && /* @__PURE__ */ t("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: i }),
|
|
13015
13121
|
!s && !i && !M && /* @__PURE__ */ t("p", { className: "py-8 text-center text-base text-f1-foreground-tertiary", children: f.ai.noPreviousChats }),
|
|
13016
13122
|
!s && !i && x.length > 0 && /* @__PURE__ */ t(
|
|
@@ -13028,7 +13134,7 @@ const Q6 = ({
|
|
|
13028
13134
|
!s && !i && F.map((w) => /* @__PURE__ */ t(
|
|
13029
13135
|
Q1,
|
|
13030
13136
|
{
|
|
13031
|
-
label:
|
|
13137
|
+
label: g[w.key],
|
|
13032
13138
|
threads: w.threads,
|
|
13033
13139
|
pinnedIds: l,
|
|
13034
13140
|
onSelect: I,
|
|
@@ -13048,21 +13154,21 @@ const Q6 = ({
|
|
|
13048
13154
|
document.body
|
|
13049
13155
|
);
|
|
13050
13156
|
}, yr = "f0-ai-pinned-threads";
|
|
13051
|
-
function
|
|
13157
|
+
function R6() {
|
|
13052
13158
|
const e = us(yr, []);
|
|
13053
13159
|
return new Set(Array.isArray(e) ? e : []);
|
|
13054
13160
|
}
|
|
13055
13161
|
function tt(e) {
|
|
13056
13162
|
hs(yr, [...e]);
|
|
13057
13163
|
}
|
|
13058
|
-
function
|
|
13164
|
+
function s4({
|
|
13059
13165
|
enabled: e = !1,
|
|
13060
13166
|
fetchThreads: r,
|
|
13061
13167
|
deleteThread: o,
|
|
13062
13168
|
pinThread: n,
|
|
13063
13169
|
unpinThread: s
|
|
13064
13170
|
}) {
|
|
13065
|
-
const [i, l] = B([]), [d, c] = B(!1), [u, f] = B(null), [p, C] = B(
|
|
13171
|
+
const [i, l] = B([]), [d, c] = B(!1), [u, f] = B(null), [p, C] = B(R6), [g, m] = B(() => /* @__PURE__ */ new Set()), x = _(async () => {
|
|
13066
13172
|
c(!0), f(null);
|
|
13067
13173
|
try {
|
|
13068
13174
|
const w = await r();
|
|
@@ -13121,13 +13227,13 @@ function J6({
|
|
|
13121
13227
|
error: u,
|
|
13122
13228
|
refetch: x,
|
|
13123
13229
|
pinnedIds: p,
|
|
13124
|
-
pendingIds:
|
|
13230
|
+
pendingIds: g,
|
|
13125
13231
|
pinThread: H,
|
|
13126
13232
|
unpinThread: S,
|
|
13127
13233
|
deleteThread: M
|
|
13128
13234
|
};
|
|
13129
13235
|
}
|
|
13130
|
-
const
|
|
13236
|
+
const F6 = ee.create(gs), N6 = ({
|
|
13131
13237
|
label: e,
|
|
13132
13238
|
reduceMotion: r
|
|
13133
13239
|
}) => (
|
|
@@ -13140,7 +13246,7 @@ const L6 = ee.create(gs), b6 = ({
|
|
|
13140
13246
|
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",
|
|
13141
13247
|
children: [
|
|
13142
13248
|
/* @__PURE__ */ t(
|
|
13143
|
-
|
|
13249
|
+
F6,
|
|
13144
13250
|
{
|
|
13145
13251
|
size: "xs",
|
|
13146
13252
|
animate: r ? void 0 : {
|
|
@@ -13176,7 +13282,7 @@ const L6 = ee.create(gs), b6 = ({
|
|
|
13176
13282
|
]
|
|
13177
13283
|
}
|
|
13178
13284
|
)
|
|
13179
|
-
),
|
|
13285
|
+
), i4 = Ar(function({
|
|
13180
13286
|
active: r,
|
|
13181
13287
|
label: o,
|
|
13182
13288
|
className: n,
|
|
@@ -13200,7 +13306,7 @@ const L6 = ee.create(gs), b6 = ({
|
|
|
13200
13306
|
animate: { opacity: 1, scale: 1 },
|
|
13201
13307
|
exit: { opacity: 0, scale: l ? 1 : 0.95 },
|
|
13202
13308
|
children: /* @__PURE__ */ t("div", { className: "mt-[40vh]", children: /* @__PURE__ */ t(
|
|
13203
|
-
|
|
13309
|
+
N6,
|
|
13204
13310
|
{
|
|
13205
13311
|
label: d,
|
|
13206
13312
|
reduceMotion: l
|
|
@@ -13221,48 +13327,51 @@ const L6 = ee.create(gs), b6 = ({
|
|
|
13221
13327
|
] });
|
|
13222
13328
|
});
|
|
13223
13329
|
export {
|
|
13224
|
-
|
|
13225
|
-
|
|
13330
|
+
W6 as A,
|
|
13331
|
+
i4 as B,
|
|
13226
13332
|
Q1 as C,
|
|
13227
|
-
|
|
13228
|
-
|
|
13229
|
-
|
|
13230
|
-
|
|
13231
|
-
|
|
13232
|
-
|
|
13233
|
-
|
|
13234
|
-
|
|
13235
|
-
|
|
13236
|
-
|
|
13237
|
-
|
|
13238
|
-
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13242
|
-
|
|
13243
|
-
|
|
13244
|
-
|
|
13245
|
-
|
|
13333
|
+
Dt as D,
|
|
13334
|
+
mc as E,
|
|
13335
|
+
_6 as F,
|
|
13336
|
+
ic as G,
|
|
13337
|
+
nc as H,
|
|
13338
|
+
rc as I,
|
|
13339
|
+
H5 as J,
|
|
13340
|
+
R5 as K,
|
|
13341
|
+
xs as L,
|
|
13342
|
+
Va as M,
|
|
13343
|
+
ui as N,
|
|
13344
|
+
e1 as O,
|
|
13345
|
+
di as P,
|
|
13346
|
+
ni as Q,
|
|
13347
|
+
ii as R,
|
|
13348
|
+
ri as S,
|
|
13349
|
+
y6 as T,
|
|
13350
|
+
ci as U,
|
|
13351
|
+
G6 as a,
|
|
13352
|
+
q6 as b,
|
|
13353
|
+
P2 as c,
|
|
13354
|
+
O6 as d,
|
|
13246
13355
|
ir as e,
|
|
13247
|
-
|
|
13248
|
-
|
|
13249
|
-
|
|
13250
|
-
|
|
13251
|
-
|
|
13252
|
-
|
|
13253
|
-
|
|
13254
|
-
|
|
13255
|
-
|
|
13256
|
-
|
|
13257
|
-
|
|
13258
|
-
|
|
13259
|
-
|
|
13260
|
-
|
|
13261
|
-
|
|
13262
|
-
|
|
13263
|
-
|
|
13264
|
-
|
|
13265
|
-
|
|
13266
|
-
|
|
13267
|
-
|
|
13356
|
+
X6 as f,
|
|
13357
|
+
Y6 as g,
|
|
13358
|
+
j6 as h,
|
|
13359
|
+
K6 as i,
|
|
13360
|
+
Q6 as j,
|
|
13361
|
+
J6 as k,
|
|
13362
|
+
e4 as l,
|
|
13363
|
+
Z6 as m,
|
|
13364
|
+
t4 as n,
|
|
13365
|
+
P6 as o,
|
|
13366
|
+
d6 as p,
|
|
13367
|
+
g6 as q,
|
|
13368
|
+
C6 as r,
|
|
13369
|
+
o4 as s,
|
|
13370
|
+
r4 as t,
|
|
13371
|
+
U6 as u,
|
|
13372
|
+
n4 as v,
|
|
13373
|
+
E6 as w,
|
|
13374
|
+
s4 as x,
|
|
13375
|
+
D6 as y,
|
|
13376
|
+
z6 as z
|
|
13268
13377
|
};
|