@factorialco/f0-react 12.0.2 → 12.1.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/{ChatPostComposerDialog-BjrsNFUH.js → ChatPostComposerDialog-NEIFDJib.js} +2 -2
- package/dist/{CoachmarkProvider-BJFpsBQz.js → CoachmarkProvider-BR6fdrrh.js} +69 -69
- package/dist/{DocumentToolbar-CS2Z7HiZ.js → DocumentToolbar-Cb3E9RnA.js} +4 -4
- package/dist/{DocxViewer-B_NnBwF0.js → DocxViewer-pfu-5v_l.js} +1 -1
- package/dist/{F0AiProcessingOverlay-_6Q5DfJg.js → F0AiProcessingOverlay-O9SpiZk4.js} +215 -215
- package/dist/{F0CanvasPanel-BMURqtcr.js → F0CanvasPanel-Dn-Gkmsz.js} +57 -57
- package/dist/{F0DocumentViewer-DRm6fqh4.js → F0DocumentViewer-CRPMDWGj.js} +7 -7
- package/dist/F0DocumentViewer-DzZu9sCO.js +3 -0
- package/dist/{F0Map-f0PCE1Mz.js → F0Map-toEYLWLQ.js} +33 -33
- package/dist/{F0Select-BcKwX9W8.js → F0Select-BMzj1oyt.js} +4701 -4629
- package/dist/F0Text-CjR98zwA.js +81 -0
- package/dist/{F0VideoPlayer-CRXj4sNZ.js → F0VideoPlayer-BmbFZEII.js} +1 -1
- package/dist/F0VideoPlayer-DsHl-sBd.js +1 -0
- package/dist/{Map-Cq4G6JVt.js → Map-Cakv1wM4.js} +5 -5
- package/dist/{PdfThumbnail-BEH1NBCB.js → PdfThumbnail-Bxzk7G0u.js} +1 -1
- package/dist/{SheetViewer-CcXri71G.js → SheetViewer-zNoFISP0.js} +3 -3
- package/dist/{TextViewer-BMHUpHg-.js → TextViewer-BTRJxwwJ.js} +1 -1
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +2 -2
- package/dist/component-status.js +1 -1
- package/dist/experimental.d.ts +2 -2
- package/dist/experimental.js +446 -446
- package/dist/{exports-CMhLojYN.d.ts → exports-CnbBeOMM.d.ts} +1 -1
- package/dist/f0.d.ts +3 -3
- package/dist/f0.js +204 -204
- package/dist/{index-aXC2gQbs.d.ts → index-DE9tIS8D.d.ts} +1 -1
- package/dist/{maplibre-B2bLeY4t.js → maplibre-C5htrHET.js} +1 -1
- package/dist/{pdfWorker-C7GrpmLJ.js → pdfWorker-B4yvX0G-.js} +1 -1
- package/dist/{types-CEo4cZBQ.d.ts → types-CUKMWWRC.d.ts} +1 -1
- package/dist/{useData-DpxY5-yo.js → useData-DWwEymV5.js} +5636 -4625
- package/package.json +1 -1
- package/dist/F0DocumentViewer-7PUNVXNk.js +0 -3
- package/dist/F0Text-Bu80O85X.js +0 -1093
- package/dist/F0VideoPlayer-cuFJGYLM.js +0 -1
package/dist/experimental.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { o as e } from "./rolldown-runtime-BItFwnF5.js";
|
|
2
|
-
import { $ as t, $n as n, $r as r, $t as i, Ar as a, At as o, B as s, Br as c, Bt as l, C as u, Cn as d, Cr as f, Ct as p, Dn as m, Dr as h, Dt as g, En as _, Er as v, Et as y, F as b, Fr as x, Ft as S, G as C, Gn as w, Gr as T, H as E, Hn as D, Hr as O, I as k, Ir as A, It as j, J as M, Jr as N, K as P, Kt as F, L as I, Lr as ee, M as te, Mr as ne, Mt as re, N as L, Nr as ie, On as R, Or as ae, Ot as oe, P as se, Pr as ce, Q as le, Qn as ue, Qr as de, R as fe, Rr as pe, Rt as me, S as z, Sn as he, Sr as ge, T as _e, Tn as ve, Tr as ye, Tt as be, U as xe, Un as Se, Ur as Ce, V as we, W as Te, Wn as Ee, Wr as De, X as Oe, Xn as ke, Xr as Ae, Xt as je, Y as Me, Yn as Ne, Yr as Pe, Z as Fe, Zn as Ie, Zr as Le, _ as Re, ai as ze, an as Be, at as Ve, b as He, br as Ue, ci as We, ct as Ge, d as Ke, di as qe, dr as Je, dt as Ye, ei as Xe, er as Ze, et as Qe, fi as $e, fn as et, fr as tt, ft as nt, g as rt, gr as it, h as at, hi as ot, hr as st, ii as ct, in as lt, ir as ut, it as dt, j as ft, jr as pt, jt as mt, kr as ht, li as gt, lr as _t, lt as vt, m as yt, mi as bt, mr as xt, mt as St, n as Ct, nr as wt, nt as Tt, oi as Et, ot as Dt, p as Ot, pr as kt, pt as At, q as jt, qn as Mt, qr as Nt, r as Pt, ri as Ft, rn as It, rr as Lt, rt as Rt, s as zt, si as Bt, st as Vt, t as Ht, ti as Ut, tr as Wt, tt as Gt, ui as Kt, ur as qt, ut as Jt, v as Yt, vr as Xt, w as Zt, wn as Qt, wr as $t, wt as en, x as tn, xr as nn, y as rn, yr as an, z as on, zr as sn } from "./CoachmarkProvider-
|
|
2
|
+
import { $ as t, $n as n, $r as r, $t as i, Ar as a, At as o, B as s, Br as c, Bt as l, C as u, Cn as d, Cr as f, Ct as p, Dn as m, Dr as h, Dt as g, En as _, Er as v, Et as y, F as b, Fr as x, Ft as S, G as C, Gn as w, Gr as T, H as E, Hn as D, Hr as O, I as k, Ir as A, It as j, J as M, Jr as N, K as P, Kt as F, L as I, Lr as ee, M as te, Mr as ne, Mt as re, N as L, Nr as ie, On as R, Or as ae, Ot as oe, P as se, Pr as ce, Q as le, Qn as ue, Qr as de, R as fe, Rr as pe, Rt as me, S as z, Sn as he, Sr as ge, T as _e, Tn as ve, Tr as ye, Tt as be, U as xe, Un as Se, Ur as Ce, V as we, W as Te, Wn as Ee, Wr as De, X as Oe, Xn as ke, Xr as Ae, Xt as je, Y as Me, Yn as Ne, Yr as Pe, Z as Fe, Zn as Ie, Zr as Le, _ as Re, ai as ze, an as Be, at as Ve, b as He, br as Ue, ci as We, ct as Ge, d as Ke, di as qe, dr as Je, dt as Ye, ei as Xe, er as Ze, et as Qe, fi as $e, fn as et, fr as tt, ft as nt, g as rt, gr as it, h as at, hi as ot, hr as st, ii as ct, in as lt, ir as ut, it as dt, j as ft, jr as pt, jt as mt, kr as ht, li as gt, lr as _t, lt as vt, m as yt, mi as bt, mr as xt, mt as St, n as Ct, nr as wt, nt as Tt, oi as Et, ot as Dt, p as Ot, pr as kt, pt as At, q as jt, qn as Mt, qr as Nt, r as Pt, ri as Ft, rn as It, rr as Lt, rt as Rt, s as zt, si as Bt, st as Vt, t as Ht, ti as Ut, tr as Wt, tt as Gt, ui as Kt, ur as qt, ut as Jt, v as Yt, vr as Xt, w as Zt, wn as Qt, wr as $t, wt as en, x as tn, xr as nn, y as rn, yr as an, z as on, zr as sn } from "./CoachmarkProvider-BR6fdrrh.js";
|
|
3
3
|
import { $t as cn, A as ln, Bt as un, Dt as dn, Ft as fn, G as pn, Gt as mn, Ht as hn, K as gn, Kt as _n, Lt as vn, M as yn, Mt as bn, N as xn, Nt as Sn, P as Cn, Pt as wn, Q as Tn, R as En, Rt as Dn, St as On, Tt as kn, U as An, Ut as jn, Wt as Mn, X as Nn, Y as Pn, Z as Fn, _n as In, a as Ln, b as B, bt as Rn, cn as zn, cr as Bn, dr as Vn, dt as Hn, en as Un, er as Wn, fn as V, fr as Gn, gn as Kn, gt as qn, hn as Jn, i as Yn, j as Xn, jt as Zn, ln as Qn, n as $n, nn as er, on as H, or as tr, ot as nr, pn as rr, pt as ir, qt as ar, sn as U, sr as or, t as sr, tn as cr, vn as lr, vt as ur, xt as dr, yn as W, yt as fr } from "./popover-B-ET_Kay.js";
|
|
4
4
|
import { L as G, R as pr, a as mr, i as hr, o as gr, r as _r, t as vr } from "./tooltip-BX4dSfeL.js";
|
|
5
|
-
import {
|
|
6
|
-
import { $ as
|
|
7
|
-
import { A as
|
|
8
|
-
import { $ as xs, A as Ss, An as Cs, Ct as ws, Dn as Ts, Dr as Es, En as Ds, Er as Os, F as ks, In as As, K as js, Mr as Ms, N as Ns, Nn as Ps, Nr as Fs, Nt as Is, On as Ls, Or as Rs, Ot as zs, P as Bs, Pn as Vs, Pr as Hs, St as Us, X as Ws, Y as Gs, Z as Ks, _ as qs, _t as Js, an as Ys, dr as Xs, et as Zs, g as Qs, gt as $s, h as ec, hr as tc, ht as nc, in as rc, jr as ic, kn as ac, kr as oc, lt as sc, m as cc, mn as lc, mr as uc, nn as dc, nt as fc, p as pc, rt as mc, st as hc, t as gc, tn as _c, tt as vc, un as yc, ur as bc, v as xc, vt as Sc, wn as Cc, wt as wc, xt as Tc, y as Ec, yn as Dc } from "./F0Select-
|
|
5
|
+
import { n as yr, r as br, t as xr } from "./F0Text-CjR98zwA.js";
|
|
6
|
+
import { $ as Sr, $a as Cr, $s as wr, Aa as Tr, Ar as Er, As as Dr, At as Or, Ba as kr, Bi as Ar, Bo as jr, Co as Mr, D as Nr, Do as Pr, Dr as Fr, Ds as Ir, Dt as Lr, E as Rr, Eo as zr, Er as Br, F as Vr, Fs as Hr, G as Ur, Go as Wr, Gr, I as Kr, Ia as qr, Ir as Jr, J as Yr, Ja as Xr, Jn as Zr, Jo as Qr, Js as $r, K as ei, Ko as ti, Kr as ni, L as ri, Ls as ii, Ma as ai, Mo as oi, Mr as si, Mt as ci, N as li, No as ui, Nr as di, Ns as fi, Oa as pi, Oo as mi, Or as hi, Os as gi, P as _i, Pa as vi, Ps as yi, Qo as bi, R as xi, Ra as Si, Ri as Ci, Rs as wi, So as Ti, Sr as Ei, T as Di, Tt as Oi, U as ki, Ua as Ai, Ui as ji, Uo as Mi, Ur as Ni, V as Pi, Vr as Fi, Vs as Ii, W as Li, Wo as Ri, Wr as zi, X as Bi, Xa as Vi, Xo as Hi, Y as Ui, Yn as Wi, Yr as Gi, Ys as Ki, Z as qi, Za as Ji, Zo as Yi, Zs as Xi, _ as Zi, _a as Qi, _r as $i, _t as ea, a as ta, ac as na, an as ra, ar as ia, as as aa, at as oa, b as sa, bs as ca, c as la, ca as ua, cr as da, ct as fa, d as pa, da as ma, do as ha, ds as ga, ec as _a, es as va, et as ya, f as ba, fa as xa, fo as Sa, ft as Ca, g as wa, ga as Ta, go as Ea, gr as Da, gs as Oa, gt as ka, h as Aa, ha as ja, hr as Ma, hs as Na, ht as Pa, i as Fa, in as Ia, ir as La, it as Ra, ja as za, jo as Ba, jr as Va, js as Ha, jt as Ua, ka as Wa, ko as Ga, kr as Ka, ks as qa, l as Ja, la as Ya, lc as Xa, lo as Za, m as Qa, mo as $a, mr as eo, ms as to, mt as no, n as ro, o as io, or as ao, os as oo, p as so, po as co, ps as lo, pt as uo, q as fo, qa as po, qo as mo, qs as ho, r as go, s as _o, sa as vo, sc as yo, so as bo, sr as xo, t as So, u as Co, ua as wo, uc as To, uo as Eo, v as Do, va as Oo, vo as ko, vr as Ao, vs as jo, vt as Mo, wr as No, wt as Po, x as Fo, xo as Io, xr as Lo, y as Ro, ya as zo, yo as Bo, ys as Vo, z as Ho, zo as Uo, zs as Wo } from "./F0CanvasPanel-Dn-Gkmsz.js";
|
|
7
|
+
import { A as Go, C as Ko, F as qo, G as Jo, H as Yo, I as Xo, J as Zo, K as Qo, L as $o, M as es, O as ts, P as ns, R as rs, S as is, V as as, W as os, X as ss, Y as cs, d as ls, f as us, h as ds, i as fs, j as ps, k as ms, l as hs, m as gs, p as _s, u as vs, y as ys, z as bs } from "./useData-DWwEymV5.js";
|
|
8
|
+
import { $ as xs, A as Ss, An as Cs, Ct as ws, Dn as Ts, Dr as Es, En as Ds, Er as Os, F as ks, In as As, K as js, Mr as Ms, N as Ns, Nn as Ps, Nr as Fs, Nt as Is, On as Ls, Or as Rs, Ot as zs, P as Bs, Pn as Vs, Pr as Hs, St as Us, X as Ws, Y as Gs, Z as Ks, _ as qs, _t as Js, an as Ys, dr as Xs, et as Zs, g as Qs, gt as $s, h as ec, hr as tc, ht as nc, in as rc, jr as ic, kn as ac, kr as oc, lt as sc, m as cc, mn as lc, mr as uc, nn as dc, nt as fc, p as pc, rt as mc, st as hc, t as gc, tn as _c, tt as vc, un as yc, ur as bc, v as xc, vt as Sc, wn as Cc, wt as wc, xt as Tc, y as Ec, yn as Dc } from "./F0Select-BMzj1oyt.js";
|
|
9
9
|
import { t as Oc } from "./Check-DAp9gCRh.js";
|
|
10
10
|
import { n as kc } from "./dist-UTTWm0CV.js";
|
|
11
11
|
import { a as Ac, i as jc, n as Mc, r as Nc, s as Pc } from "./dist-Cuwaibqg.js";
|
|
12
12
|
import './maplibre-gl.css';import './RichText.css';/* empty css */
|
|
13
13
|
import { t as Fc } from "./useFullscreen-CNwpzjpz.js";
|
|
14
|
-
import { C as Ic, D as Lc, E as Rc, O as zc, S as Bc, T as Vc, _ as Hc, a as Uc, b as Wc, c as Gc, d as Kc, f as qc, g as Jc, h as Yc, i as Xc, k as Zc, l as Qc, m as $c, n as el, o as tl, p as nl, r as rl, t as il, u as al, v as ol, w as sl, x as cl, y as ll } from "./F0Map-
|
|
14
|
+
import { C as Ic, D as Lc, E as Rc, O as zc, S as Bc, T as Vc, _ as Hc, a as Uc, b as Wc, c as Gc, d as Kc, f as qc, g as Jc, h as Yc, i as Xc, k as Zc, l as Qc, m as $c, n as el, o as tl, p as nl, r as rl, t as il, u as al, v as ol, w as sl, x as cl, y as ll } from "./F0Map-toEYLWLQ.js";
|
|
15
15
|
import { _ as ul, a as dl, c as fl, d as pl, f as ml, g as hl, h as gl, i as _l, l as vl, m as yl, n as bl, o as xl, p as Sl, r as Cl, s as wl, t as Tl, u as El } from "./posts-DGtDUrKT.js";
|
|
16
16
|
/* empty css */
|
|
17
17
|
import * as Dl from "react";
|
|
@@ -37,12 +37,12 @@ function Jl(e, t) {
|
|
|
37
37
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/differenceInMinutes.mjs
|
|
38
38
|
function Yl(e, t, n) {
|
|
39
39
|
let r = Jl(e, t) / Dc;
|
|
40
|
-
return
|
|
40
|
+
return ja(n?.roundingMethod)(r);
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
43
|
//#region ../../node_modules/.pnpm/date-fns@3.6.0/node_modules/date-fns/isTomorrow.mjs
|
|
44
44
|
function Xl(e) {
|
|
45
|
-
return lc(e, Cc(
|
|
45
|
+
return lc(e, Cc(Ta(e), 1));
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
48
|
//#region src/elements/F0ProgressSeries/types.ts
|
|
@@ -484,7 +484,7 @@ var _u = ({ children: e }) => {
|
|
|
484
484
|
variant: "ghost",
|
|
485
485
|
hideLabel: !0,
|
|
486
486
|
label: "",
|
|
487
|
-
icon:
|
|
487
|
+
icon: yr,
|
|
488
488
|
onClick: () => {
|
|
489
489
|
o(!1), s?.();
|
|
490
490
|
}
|
|
@@ -590,7 +590,7 @@ var _u = ({ children: e }) => {
|
|
|
590
590
|
size: s,
|
|
591
591
|
hideLabel: !0,
|
|
592
592
|
disabled: a,
|
|
593
|
-
icon: l ? void 0 :
|
|
593
|
+
icon: l ? void 0 : Bo
|
|
594
594
|
})
|
|
595
595
|
}), /* @__PURE__ */ $(Yn, {
|
|
596
596
|
side: "bottom",
|
|
@@ -671,7 +671,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
671
671
|
return /* @__PURE__ */ $("span", {
|
|
672
672
|
className: "flex min-w-0 flex-row items-center gap-1 text-base font-normal text-f1-foreground-secondary",
|
|
673
673
|
children: [/* @__PURE__ */ Q(U, {
|
|
674
|
-
icon:
|
|
674
|
+
icon: kr,
|
|
675
675
|
size: "md",
|
|
676
676
|
color: "currentColor",
|
|
677
677
|
"aria-hidden": !0
|
|
@@ -749,7 +749,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
749
749
|
}) : null
|
|
750
750
|
]
|
|
751
751
|
}),
|
|
752
|
-
r && i ? /* @__PURE__ */ Q(
|
|
752
|
+
r && i ? /* @__PURE__ */ Q(Gr, {
|
|
753
753
|
asChild: !0,
|
|
754
754
|
children: /* @__PURE__ */ Q(B, {
|
|
755
755
|
variant: "ghost",
|
|
@@ -762,7 +762,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
762
762
|
o ? /* @__PURE__ */ Q(B, {
|
|
763
763
|
variant: "ghost",
|
|
764
764
|
size: "sm",
|
|
765
|
-
icon:
|
|
765
|
+
icon: yr,
|
|
766
766
|
hideLabel: !0,
|
|
767
767
|
label: c.close,
|
|
768
768
|
onClick: o
|
|
@@ -793,7 +793,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
793
793
|
},
|
|
794
794
|
transition: { duration: a ? 0 : .2 },
|
|
795
795
|
className: "overflow-hidden",
|
|
796
|
-
children: /* @__PURE__ */ Q(
|
|
796
|
+
children: /* @__PURE__ */ Q(zi, {
|
|
797
797
|
forceMount: !0,
|
|
798
798
|
asChild: !0,
|
|
799
799
|
children: /* @__PURE__ */ Q("div", { children: n.map((t, r) => /* @__PURE__ */ Q(Wu, {
|
|
@@ -834,7 +834,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
834
834
|
})]
|
|
835
835
|
}), s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("div", {
|
|
836
836
|
className: "-ml-2",
|
|
837
|
-
children: /* @__PURE__ */ Q(
|
|
837
|
+
children: /* @__PURE__ */ Q(Gr, {
|
|
838
838
|
asChild: !0,
|
|
839
839
|
children: /* @__PURE__ */ Q(B, {
|
|
840
840
|
variant: "ghost",
|
|
@@ -861,7 +861,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
861
861
|
},
|
|
862
862
|
transition: { duration: l ? 0 : .2 },
|
|
863
863
|
className: "w-full overflow-hidden",
|
|
864
|
-
children: /* @__PURE__ */ Q(
|
|
864
|
+
children: /* @__PURE__ */ Q(zi, {
|
|
865
865
|
forceMount: !0,
|
|
866
866
|
asChild: !0,
|
|
867
867
|
children: /* @__PURE__ */ Q(d, {
|
|
@@ -928,7 +928,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
928
928
|
children: [A, j]
|
|
929
929
|
})]
|
|
930
930
|
});
|
|
931
|
-
return w ? /* @__PURE__ */ Q(
|
|
931
|
+
return w ? /* @__PURE__ */ Q(Ni, {
|
|
932
932
|
open: y,
|
|
933
933
|
onOpenChange: (e) => {
|
|
934
934
|
v(e), f?.(e);
|
|
@@ -961,7 +961,7 @@ var Nu = Bn(tr("F0EmojiPicker", Mu)), Pu = [
|
|
|
961
961
|
compact: t
|
|
962
962
|
});
|
|
963
963
|
ed.displayName = "F0AiCallout";
|
|
964
|
-
var nd =
|
|
964
|
+
var nd = Wa(Bn(ed), td), rd = lr({
|
|
965
965
|
base: "flex w-full flex-col rounded-lg p-[1px]",
|
|
966
966
|
variants: { variant: {
|
|
967
967
|
ai: "bg-gradient-to-l from-[#A1ADE51F] via-[#E519431F] to-[#E556191F]",
|
|
@@ -1000,7 +1000,7 @@ var nd = Ga(Bn(ed), td), rd = lr({
|
|
|
1000
1000
|
})]
|
|
1001
1001
|
}), t ? /* @__PURE__ */ Q(B, {
|
|
1002
1002
|
variant: "ghost",
|
|
1003
|
-
icon:
|
|
1003
|
+
icon: yr,
|
|
1004
1004
|
size: "sm",
|
|
1005
1005
|
hideLabel: !0,
|
|
1006
1006
|
onClick: t,
|
|
@@ -1054,7 +1054,7 @@ var nd = Ga(Bn(ed), td), rd = lr({
|
|
|
1054
1054
|
variant: t
|
|
1055
1055
|
});
|
|
1056
1056
|
cd.displayName = "F0Callout";
|
|
1057
|
-
var ud =
|
|
1057
|
+
var ud = Wa(Bn(cd), ld), dd = [
|
|
1058
1058
|
"#EE4B8E",
|
|
1059
1059
|
"#2E7FF0",
|
|
1060
1060
|
"#4CAF3E",
|
|
@@ -1165,7 +1165,7 @@ var Sd = Bn(tr("F0Confetti", xd)), Cd = (e, t) => {
|
|
|
1165
1165
|
return /* @__PURE__ */ Q("div", {
|
|
1166
1166
|
role: "group",
|
|
1167
1167
|
"aria-label": i.attendees,
|
|
1168
|
-
children: /* @__PURE__ */ Q(
|
|
1168
|
+
children: /* @__PURE__ */ Q(hs, {
|
|
1169
1169
|
type: "person",
|
|
1170
1170
|
avatars: Pd(e),
|
|
1171
1171
|
size: r,
|
|
@@ -1177,12 +1177,12 @@ var Sd = Bn(tr("F0Confetti", xd)), Cd = (e, t) => {
|
|
|
1177
1177
|
let { meetingCard: n } = H(), r = e.label ?? n.join;
|
|
1178
1178
|
return e.href && !t ? /* @__PURE__ */ Q(B, {
|
|
1179
1179
|
label: r,
|
|
1180
|
-
icon:
|
|
1180
|
+
icon: Xr,
|
|
1181
1181
|
variant: "default",
|
|
1182
1182
|
href: e.href
|
|
1183
1183
|
}) : /* @__PURE__ */ Q(B, {
|
|
1184
1184
|
label: r,
|
|
1185
|
-
icon:
|
|
1185
|
+
icon: Xr,
|
|
1186
1186
|
variant: "default",
|
|
1187
1187
|
disabled: t,
|
|
1188
1188
|
onClick: e.onJoin
|
|
@@ -1212,7 +1212,7 @@ var Sd = Bn(tr("F0Confetti", xd)), Cd = (e, t) => {
|
|
|
1212
1212
|
case "summarizing": return /* @__PURE__ */ Q(Ts, {
|
|
1213
1213
|
text: n.summarizing,
|
|
1214
1214
|
variant: "neutral",
|
|
1215
|
-
icon:
|
|
1215
|
+
icon: yo
|
|
1216
1216
|
});
|
|
1217
1217
|
case "finished": return /* @__PURE__ */ Q(Ts, {
|
|
1218
1218
|
text: n.finished,
|
|
@@ -1325,7 +1325,7 @@ var Sd = Bn(tr("F0Confetti", xd)), Cd = (e, t) => {
|
|
|
1325
1325
|
join: d,
|
|
1326
1326
|
disabled: A
|
|
1327
1327
|
}) : null] });
|
|
1328
|
-
return /* @__PURE__ */ Q(
|
|
1328
|
+
return /* @__PURE__ */ Q(ai, {
|
|
1329
1329
|
ref: m,
|
|
1330
1330
|
className: G("rounded-2xl border-f1-border-secondary bg-f1-background p-3 shadow-none", p ? "gap-1.5" : "gap-2.5"),
|
|
1331
1331
|
"data-testid": "meeting-card",
|
|
@@ -1366,7 +1366,7 @@ var Sd = Bn(tr("F0Confetti", xd)), Cd = (e, t) => {
|
|
|
1366
1366
|
});
|
|
1367
1367
|
});
|
|
1368
1368
|
Ud.displayName = "F0MeetingCard";
|
|
1369
|
-
var Wd = Bn(tr("F0MeetingCard",
|
|
1369
|
+
var Wd = Bn(tr("F0MeetingCard", Wa(Ud, ({ compact: e = !1 }) => /* @__PURE__ */ Q(ai, {
|
|
1370
1370
|
className: G("rounded-2xl border-f1-border-secondary bg-f1-background p-3 shadow-none", e ? "gap-1.5" : "gap-2.5"),
|
|
1371
1371
|
"aria-busy": "true",
|
|
1372
1372
|
"aria-live": "polite",
|
|
@@ -1579,7 +1579,7 @@ var of = 30, sf = 50, cf = (e, t, n) => Math.min(Math.max(e, t), n), lf = (e) =>
|
|
|
1579
1579
|
]), C = K((e) => {
|
|
1580
1580
|
i.current?.style.setProperty("flex-basis", `${S(e)}%`);
|
|
1581
1581
|
}, [S]);
|
|
1582
|
-
return /* @__PURE__ */ $(
|
|
1582
|
+
return /* @__PURE__ */ $(as, {
|
|
1583
1583
|
ref: r,
|
|
1584
1584
|
display: "flex",
|
|
1585
1585
|
flexDirection: g ? "row" : "column",
|
|
@@ -1606,7 +1606,7 @@ var of = 30, sf = 50, cf = (e, t, n) => Math.min(Math.max(e, t), n), lf = (e) =>
|
|
|
1606
1606
|
onCommit: (e) => y(S(e)),
|
|
1607
1607
|
onReset: () => y(h)
|
|
1608
1608
|
}),
|
|
1609
|
-
/* @__PURE__ */ Q(
|
|
1609
|
+
/* @__PURE__ */ Q(as, {
|
|
1610
1610
|
grow: !0,
|
|
1611
1611
|
minWidth: "0",
|
|
1612
1612
|
minHeight: "0",
|
|
@@ -1622,7 +1622,7 @@ var of = 30, sf = 50, cf = (e, t, n) => Math.min(Math.max(e, t), n), lf = (e) =>
|
|
|
1622
1622
|
Panel: af,
|
|
1623
1623
|
Handle: rf
|
|
1624
1624
|
}), mf = "Previous", hf = "bg-f1-background", gf = Bn(tr("F0CarouselDialog", ({ items: e, currentId: t, onNavigate: n, labels: r, loop: i = !1, pagination: a, placeholder: o, isOpen: s, onClose: c, ...l }) => {
|
|
1625
|
-
let u =
|
|
1625
|
+
let u = ia(), d = e.findIndex((e) => e.id === t), f = d < 0, p = f ? 0 : d, m = e[p], h = e.length, g = a?.total ?? h, _ = a?.hasMore ?? !1, v = a?.isLoading ?? !1, y = i && !_, b = (t) => y ? e[(p + t + h) % h]?.id : e[p + t]?.id, x = f ? void 0 : b(-1), S = f ? void 0 : b(1), C = K(() => {
|
|
1626
1626
|
x && n(x);
|
|
1627
1627
|
}, [x, n]), [w, T] = X(!1), E = Y(-1), D = K(() => {
|
|
1628
1628
|
a && !v && E.current !== h && (E.current = h, a.onLoadMore());
|
|
@@ -1707,7 +1707,7 @@ var of = 30, sf = 50, cf = (e, t, n) => Math.min(Math.max(e, t), n), lf = (e) =>
|
|
|
1707
1707
|
}, P = Y(N);
|
|
1708
1708
|
s && (P.current = N);
|
|
1709
1709
|
let F = s ? N : P.current;
|
|
1710
|
-
return !F.content && !F.title ? null : /* @__PURE__ */ Q(
|
|
1710
|
+
return !F.content && !F.title ? null : /* @__PURE__ */ Q(La, {
|
|
1711
1711
|
...l,
|
|
1712
1712
|
width: u ? void 0 : l.width,
|
|
1713
1713
|
position: u ? "fullscreen" : l.position,
|
|
@@ -1748,7 +1748,7 @@ var vf = Bn(tr("F0SegmentedBar", _f)), yf = ({ labels: e, canUndo: t, undoLabel:
|
|
|
1748
1748
|
/* @__PURE__ */ Q(B, {
|
|
1749
1749
|
variant: "neutral",
|
|
1750
1750
|
size: "lg",
|
|
1751
|
-
icon:
|
|
1751
|
+
icon: yr,
|
|
1752
1752
|
label: e.left,
|
|
1753
1753
|
hideLabel: !0,
|
|
1754
1754
|
onClick: () => i("left")
|
|
@@ -1756,7 +1756,7 @@ var vf = Bn(tr("F0SegmentedBar", _f)), yf = ({ labels: e, canUndo: t, undoLabel:
|
|
|
1756
1756
|
/* @__PURE__ */ Q(B, {
|
|
1757
1757
|
variant: "outline",
|
|
1758
1758
|
size: "md",
|
|
1759
|
-
icon:
|
|
1759
|
+
icon: _a,
|
|
1760
1760
|
label: n,
|
|
1761
1761
|
hideLabel: !0,
|
|
1762
1762
|
disabled: !t,
|
|
@@ -1803,7 +1803,7 @@ var vf = Bn(tr("F0SegmentedBar", _f)), yf = ({ labels: e, canUndo: t, undoLabel:
|
|
|
1803
1803
|
zIndex: 1
|
|
1804
1804
|
}
|
|
1805
1805
|
}, wf = Pl(function({ riseFromStack: e, onCommit: t, offsetThreshold: n, velocityThreshold: r, reduceMotion: i, children: a }, o) {
|
|
1806
|
-
let s = $e(), c =
|
|
1806
|
+
let s = $e(), c = To(0), l = bt(c, [
|
|
1807
1807
|
-480,
|
|
1808
1808
|
0,
|
|
1809
1809
|
xf
|
|
@@ -2109,7 +2109,7 @@ function If({ title: e, isActive: t = !1, onClick: n }) {
|
|
|
2109
2109
|
"aria-label": `${e}${t ? " (selected)" : ""}`,
|
|
2110
2110
|
"aria-pressed": n ? t : void 0,
|
|
2111
2111
|
children: [/* @__PURE__ */ Q(U, {
|
|
2112
|
-
icon:
|
|
2112
|
+
icon: Ki,
|
|
2113
2113
|
size: "md",
|
|
2114
2114
|
color: "selected"
|
|
2115
2115
|
}), /* @__PURE__ */ Q(On, {
|
|
@@ -2136,7 +2136,7 @@ function Lf({ author: e, timestamp: t, onClick: n, isActive: r }) {
|
|
|
2136
2136
|
children: a
|
|
2137
2137
|
}), /* @__PURE__ */ $("div", {
|
|
2138
2138
|
className: "flex flex-row items-center gap-[6px]",
|
|
2139
|
-
children: [/* @__PURE__ */ Q(
|
|
2139
|
+
children: [/* @__PURE__ */ Q(is, {
|
|
2140
2140
|
firstName: e.firstName,
|
|
2141
2141
|
lastName: e.lastName,
|
|
2142
2142
|
src: e.src,
|
|
@@ -2160,7 +2160,7 @@ function Rf({ title: e, versions: t, currentVersion: n, activeVersionId: r }) {
|
|
|
2160
2160
|
lines: 1,
|
|
2161
2161
|
className: "flex-shrink-0 px-2 pb-3 pt-4 text-lg font-semibold text-f1-foreground",
|
|
2162
2162
|
children: e
|
|
2163
|
-
}), /* @__PURE__ */ Q(
|
|
2163
|
+
}), /* @__PURE__ */ Q(ls, {
|
|
2164
2164
|
className: "h-full flex-1",
|
|
2165
2165
|
children: /* @__PURE__ */ $("div", {
|
|
2166
2166
|
className: "flex flex-col gap-1",
|
|
@@ -2261,7 +2261,7 @@ var qf = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
2261
2261
|
"aria-label": e.name,
|
|
2262
2262
|
className: G(i, "flex flex-row flex-wrap items-center gap-2 rounded border px-2 py-1.5 hover:cursor-pointer", "focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:bg-f1-background-hover", t && c ? "bg-f1-background-selected-bold/10 transition-colors dark:bg-f1-background-selected-bold/20" : ""),
|
|
2263
2263
|
children: [
|
|
2264
|
-
u ? null : /* @__PURE__ */ Q(
|
|
2264
|
+
u ? null : /* @__PURE__ */ Q(is, {
|
|
2265
2265
|
src: e.avatar,
|
|
2266
2266
|
firstName: f,
|
|
2267
2267
|
lastName: p,
|
|
@@ -2351,7 +2351,7 @@ var qf = ({ entity: e, selected: t, onSelect: n, onRemove: r, marginLeft: i, sea
|
|
|
2351
2351
|
className: "flex flex-1 flex-row items-center gap-2 rounded border px-2 py-1.5 focus-within:outline focus-within:outline-1 focus-within:-outline-offset-1 focus-within:outline-f1-border-selected-bold hover:cursor-pointer hover:bg-f1-background-hover",
|
|
2352
2352
|
children: [
|
|
2353
2353
|
p ? /* @__PURE__ */ Q(U, {
|
|
2354
|
-
icon:
|
|
2354
|
+
icon: bi,
|
|
2355
2355
|
className: "rounded-xs bg-f1-foreground-secondary text-f1-foreground-inverse"
|
|
2356
2356
|
}) : null,
|
|
2357
2357
|
/* @__PURE__ */ $("div", {
|
|
@@ -2426,7 +2426,7 @@ var Yf = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
2426
2426
|
let t = n.find((t) => t.label === e);
|
|
2427
2427
|
t && !t.disabled && t.onClick?.();
|
|
2428
2428
|
}, a = n.every((e) => e.disabled);
|
|
2429
|
-
return /* @__PURE__ */ Q(
|
|
2429
|
+
return /* @__PURE__ */ Q(Gi, {
|
|
2430
2430
|
items: r,
|
|
2431
2431
|
value: e.label,
|
|
2432
2432
|
disabled: a,
|
|
@@ -2489,7 +2489,7 @@ var Yf = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
2489
2489
|
onChange: (e) => t(e.target.value)
|
|
2490
2490
|
}),
|
|
2491
2491
|
e ? /* @__PURE__ */ Q(U, {
|
|
2492
|
-
icon:
|
|
2492
|
+
icon: cs,
|
|
2493
2493
|
size: "md",
|
|
2494
2494
|
onClick: () => t(""),
|
|
2495
2495
|
className: "cursor-pointer text-f1-icon-secondary"
|
|
@@ -2777,18 +2777,18 @@ var Yf = ({ label: e, onCreate: t, goToFirst: n, goToLast: r }) => /* @__PURE__
|
|
|
2777
2777
|
className: "pr-2 pt-1.5",
|
|
2778
2778
|
children: /* @__PURE__ */ Q(Cs, {
|
|
2779
2779
|
className: G("max-w-54 w-fit gap-1 text-ellipsis break-all border-[1px] border-solid border-f1-border-secondary py-[1px] pl-[1px]", "rounded-full", i ? "pl-2" : "pl-0"),
|
|
2780
|
-
left: !i && /* @__PURE__ */ Q(
|
|
2780
|
+
left: !i && /* @__PURE__ */ Q(Go, {
|
|
2781
2781
|
src: e.subAvatar,
|
|
2782
2782
|
name: e.subName,
|
|
2783
2783
|
size: "xs",
|
|
2784
2784
|
type: "rounded",
|
|
2785
2785
|
icon: r ? {
|
|
2786
|
-
icon:
|
|
2786
|
+
icon: Jo,
|
|
2787
2787
|
color: "secondary"
|
|
2788
2788
|
} : void 0
|
|
2789
2789
|
}),
|
|
2790
2790
|
right: !n && /* @__PURE__ */ Q(U, {
|
|
2791
|
-
icon:
|
|
2791
|
+
icon: yr,
|
|
2792
2792
|
size: "sm",
|
|
2793
2793
|
className: "cursor-pointer text-f1-icon-secondary",
|
|
2794
2794
|
onClick: () => t?.(e)
|
|
@@ -3460,13 +3460,13 @@ var bp = xs, xp = [
|
|
|
3460
3460
|
Lp.displayName = "F0TemplateTextInput";
|
|
3461
3461
|
//#endregion
|
|
3462
3462
|
//#region src/blocks/F0TemplateTextInput/index.tsx
|
|
3463
|
-
var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem",
|
|
3463
|
+
var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Wa(({ id: e, createdAt: t, title: n, description: r, icon: i, category: a, isUnread: o = !1, onClick: s, onVisible: c }) => {
|
|
3464
3464
|
let { ref: l } = Dn({
|
|
3465
3465
|
threshold: .1,
|
|
3466
3466
|
onChange(t) {
|
|
3467
3467
|
t && c?.(e);
|
|
3468
3468
|
}
|
|
3469
|
-
}), u = dc(), d =
|
|
3469
|
+
}), u = dc(), d = xa(t, {
|
|
3470
3470
|
yesterdayRelative: !1,
|
|
3471
3471
|
locale: u
|
|
3472
3472
|
});
|
|
@@ -3477,7 +3477,7 @@ var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Ga(({ id: e, cre
|
|
|
3477
3477
|
s(e);
|
|
3478
3478
|
},
|
|
3479
3479
|
children: [
|
|
3480
|
-
/* @__PURE__ */ Q(
|
|
3480
|
+
/* @__PURE__ */ Q(Ko, { icon: i ?? Xi }),
|
|
3481
3481
|
/* @__PURE__ */ $("div", {
|
|
3482
3482
|
className: "flex-1",
|
|
3483
3483
|
children: [
|
|
@@ -3526,7 +3526,7 @@ var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Ga(({ id: e, cre
|
|
|
3526
3526
|
}), /* @__PURE__ */ Q("div", {
|
|
3527
3527
|
className: "flex flex-col gap-1",
|
|
3528
3528
|
children: t
|
|
3529
|
-
})] }), Vp =
|
|
3529
|
+
})] }), Vp = Wa(({ title: e, items: t, onClickItem: n, onItemVisible: r }) => /* @__PURE__ */ Q(Bp, {
|
|
3530
3530
|
title: e,
|
|
3531
3531
|
children: t.map((e) => /* @__PURE__ */ Q(zp, {
|
|
3532
3532
|
...e,
|
|
@@ -3536,7 +3536,7 @@ var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Ga(({ id: e, cre
|
|
|
3536
3536
|
}), ({ title: e, numItems: t }) => /* @__PURE__ */ Q(Bp, {
|
|
3537
3537
|
title: e,
|
|
3538
3538
|
children: Array.from({ length: t }).map((e, t) => /* @__PURE__ */ Q(zp.Skeleton, {}, t))
|
|
3539
|
-
})), Hp = /* @__PURE__ */ e(
|
|
3539
|
+
})), Hp = /* @__PURE__ */ e(ji(), 1), Up = /* @__PURE__ */ e(Ar(), 1), Wp = 3, Gp = [
|
|
3540
3540
|
"today",
|
|
3541
3541
|
"yesterday",
|
|
3542
3542
|
"lastWeek",
|
|
@@ -3545,7 +3545,7 @@ var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Ga(({ id: e, cre
|
|
|
3545
3545
|
let t = Gp.indexOf(e);
|
|
3546
3546
|
return t === -1 ? -Number(e) : t - 4e3;
|
|
3547
3547
|
}), qp = () => /* @__PURE__ */ Q("div", { className: "-mx-2 h-px bg-f1-background-secondary" }), Jp = ({ items: e, loadingMoreItems: t = !1, onClickItem: n, onEndReached: r, onEndReachedItemsThreshold: i = 5 }) => {
|
|
3548
|
-
let a = H(), o =
|
|
3548
|
+
let a = H(), o = ua(e, "createdAt"), s = new Set(Object.values(o).slice().flatMap((e) => e.map((e) => e.id)).slice(-i)), c = (0, Up.default)((e) => {
|
|
3549
3549
|
s.has(e) && r?.();
|
|
3550
3550
|
}, 1e3), l = Kp(Object.entries(o).filter(([e, t]) => !!t.length));
|
|
3551
3551
|
return /* @__PURE__ */ $("div", {
|
|
@@ -3578,7 +3578,7 @@ var Rp = tr("F0TemplateTextInput", Lp), zp = tr("ActivityItem", Ga(({ id: e, cre
|
|
|
3578
3578
|
})
|
|
3579
3579
|
]
|
|
3580
3580
|
});
|
|
3581
|
-
}, Xp = tr("ActivityItemList",
|
|
3581
|
+
}, Xp = tr("ActivityItemList", Wa(Jp, Yp));
|
|
3582
3582
|
//#endregion
|
|
3583
3583
|
//#region src/blocks/F0ResourceHeader/useCompactOnScroll.ts
|
|
3584
3584
|
function Zp({ threshold: e = 24, container: t }) {
|
|
@@ -3613,7 +3613,7 @@ var Qp = {
|
|
|
3613
3613
|
//#region src/domains/platform/home/Home/Communities/Celebration/components/avatar.tsx
|
|
3614
3614
|
function em({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction: i, onReactionSelect: a, pickerRef: o }) {
|
|
3615
3615
|
return /* @__PURE__ */ $("div", {
|
|
3616
|
-
className: G("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : $p[
|
|
3616
|
+
className: G("relative h-32 w-full overflow-hidden rounded-md bg-f1-background", n ? "" : $p[ps([e, t].join(""))]),
|
|
3617
3617
|
children: [n ? /* @__PURE__ */ Q("div", {
|
|
3618
3618
|
className: "absolute inset-0 bg-cover bg-center bg-no-repeat opacity-10",
|
|
3619
3619
|
style: { backgroundImage: `url("${n}")` }
|
|
@@ -3623,7 +3623,7 @@ function em({ firstName: e, lastName: t, src: n, canReact: r, lastEmojiReaction:
|
|
|
3623
3623
|
className: "relative h-fit w-fit",
|
|
3624
3624
|
children: [/* @__PURE__ */ Q("div", {
|
|
3625
3625
|
style: r ? { clipPath: "path('M69.6933 48.707C71.1842 44.7556 72 40.4731 72 36C72 16.1177 55.8823 0 36 0C16.1177 0 0 16.1177 0 36C0 55.8823 16.1177 72 36 72C40.4731 72 44.7556 71.1842 48.707 69.6933C48.6283 69.4953 48.5557 69.2942 48.4894 69.0902C48 67.5838 48 65.7226 48 62C48 58.2774 48 56.4162 48.4894 54.9098C49.4786 51.8655 51.8655 49.4786 54.9098 48.4894C56.4162 48 58.2774 48 62 48C65.7226 48 67.5838 48 69.0902 48.4894C69.2942 48.5557 69.4953 48.6283 69.6933 48.707')" } : {},
|
|
3626
|
-
children: /* @__PURE__ */ Q(
|
|
3626
|
+
children: /* @__PURE__ */ Q(is, {
|
|
3627
3627
|
src: n,
|
|
3628
3628
|
firstName: e,
|
|
3629
3629
|
lastName: t,
|
|
@@ -3743,7 +3743,7 @@ var nm = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
3743
3743
|
})]
|
|
3744
3744
|
}), /* @__PURE__ */ Q("div", {
|
|
3745
3745
|
className: "shrink-0",
|
|
3746
|
-
children: /* @__PURE__ */ Q(
|
|
3746
|
+
children: /* @__PURE__ */ Q(vo, { date: u })
|
|
3747
3747
|
})]
|
|
3748
3748
|
})
|
|
3749
3749
|
]
|
|
@@ -3766,11 +3766,11 @@ var nm = ({ link: e, firstName: t, lastName: n, src: r, onClick: i, canReact: a
|
|
|
3766
3766
|
})
|
|
3767
3767
|
})
|
|
3768
3768
|
})]
|
|
3769
|
-
}), im =
|
|
3769
|
+
}), im = Wa(nm, rm), am = ({ title: e, subtitle: t, buttonLabel: n, onClick: r }) => /* @__PURE__ */ $("div", {
|
|
3770
3770
|
className: "flex w-full flex-col items-start justify-between gap-4 rounded-md bg-gradient-to-r from-[#F5A51C]/30 via-[#E51943]/30 to-[#5596F6]/30 px-3 py-3 ring-1 ring-inset ring-f1-border-secondary sm:flex-row sm:items-center sm:px-4",
|
|
3771
3771
|
children: [/* @__PURE__ */ $("div", {
|
|
3772
3772
|
className: "flex flex-col items-start gap-3 sm:flex-row sm:items-center",
|
|
3773
|
-
children: [/* @__PURE__ */ Q(
|
|
3773
|
+
children: [/* @__PURE__ */ Q(qo, {
|
|
3774
3774
|
module: "kudos",
|
|
3775
3775
|
size: "md"
|
|
3776
3776
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -3872,7 +3872,7 @@ function sm({ items: e, onInteraction: t, locale: n, action: r }) {
|
|
|
3872
3872
|
});
|
|
3873
3873
|
}
|
|
3874
3874
|
var cm = tr("Reactions", sm), lm = Pl(function({ content: e, collapsed: t, id: n, className: r, tabIndex: i }, a) {
|
|
3875
|
-
return /* @__PURE__ */ Q(
|
|
3875
|
+
return /* @__PURE__ */ Q(eo, {
|
|
3876
3876
|
ref: a,
|
|
3877
3877
|
id: n,
|
|
3878
3878
|
content: e,
|
|
@@ -3881,7 +3881,7 @@ var cm = tr("Reactions", sm), lm = Pl(function({ content: e, collapsed: t, id: n
|
|
|
3881
3881
|
});
|
|
3882
3882
|
});
|
|
3883
3883
|
lm.displayName = "BasePostDescription";
|
|
3884
|
-
var um =
|
|
3884
|
+
var um = Wa(lm, () => /* @__PURE__ */ $("div", {
|
|
3885
3885
|
className: "flex flex-col justify-around gap-3 py-2",
|
|
3886
3886
|
children: [/* @__PURE__ */ Q(V, { className: "h-2.5 w-1/2 rounded-2xs" }), /* @__PURE__ */ Q(V, { className: "h-2.5 w-2/3 rounded-2xs" })]
|
|
3887
3887
|
})), dm = ({ tags: e, right: t }) => /* @__PURE__ */ Q("div", {
|
|
@@ -3904,7 +3904,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
3904
3904
|
return /* @__PURE__ */ $("div", {
|
|
3905
3905
|
className: "flex flex-row items-center",
|
|
3906
3906
|
children: [
|
|
3907
|
-
e ? /* @__PURE__ */ Q(
|
|
3907
|
+
e ? /* @__PURE__ */ Q(vo, {
|
|
3908
3908
|
date: e,
|
|
3909
3909
|
size: r
|
|
3910
3910
|
}) : null,
|
|
@@ -3913,7 +3913,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
3913
3913
|
size: "sm",
|
|
3914
3914
|
className: "text-f1-foreground-tertiary"
|
|
3915
3915
|
}) : null,
|
|
3916
|
-
t ? /* @__PURE__ */ Q(
|
|
3916
|
+
t ? /* @__PURE__ */ Q(vo, {
|
|
3917
3917
|
date: t,
|
|
3918
3918
|
size: r
|
|
3919
3919
|
}) : null
|
|
@@ -4007,8 +4007,8 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4007
4007
|
if (e.includes("//s3.")) return e.includes("response-content-type=video");
|
|
4008
4008
|
let t = (e?.split(".")).at(-1);
|
|
4009
4009
|
return !!t && hm.has(t);
|
|
4010
|
-
}, _m =
|
|
4011
|
-
let i = dc(), a =
|
|
4010
|
+
}, _m = Wa(({ title: e, mediaUrl: t, place: n, date: r }) => {
|
|
4011
|
+
let i = dc(), a = Ya(r, i);
|
|
4012
4012
|
return n && (a = `${a} · ${n}`), /* @__PURE__ */ $("div", {
|
|
4013
4013
|
className: "flex w-full flex-col gap-1 rounded-xl border border-solid border-f1-border-secondary bg-f1-background-inverse-secondary p-1 shadow dark:bg-f1-background-tertiary",
|
|
4014
4014
|
children: [t ? /* @__PURE__ */ Q("div", {
|
|
@@ -4062,7 +4062,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4062
4062
|
})
|
|
4063
4063
|
});
|
|
4064
4064
|
}, ym = ({ id: e, author: t, group: n, createdAt: r, title: i, description: a, onClick: o, mediaUrl: s, event: c, counters: l, reactions: u, inLabel: d, comment: f, actions: p, dropdownItems: m, noReactionsButton: h = !1, descriptionExpandable: g = !1, noDescriptionClamp: _ = !1, hideTitle: v = !1, hideGroup: y = !1, pinned: b = !1, pinnedLabel: x, relativeDate: S = !1, noVideoPreload: C = !1, reserveCountersLine: w = !1 }) => {
|
|
4065
|
-
let T = zl(), E = zl(), D = dc(), O = Y(null), [k, A] = X(null), [j, M] = X(!1), N = [l.views, l.comments].filter(Boolean).join(" · "), P = g && k?.id === e && k.description === a, F = !P && !_, I = S ?
|
|
4065
|
+
let T = zl(), E = zl(), D = dc(), O = Y(null), [k, A] = X(null), [j, M] = X(!1), N = [l.views, l.comments].filter(Boolean).join(" · "), P = g && k?.id === e && k.description === a, F = !P && !_, I = S ? ma(r, D) : xa(r, { locale: D }), ee = !!o, te = o ? () => o(e) : void 0, ne = (e) => {
|
|
4066
4066
|
e.stopPropagation();
|
|
4067
4067
|
}, re = t ? `${t.firstName} ${t.lastName}` : void 0, L = (t) => {
|
|
4068
4068
|
t.preventDefault(), t.stopPropagation(), a && A({
|
|
@@ -4098,22 +4098,22 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4098
4098
|
/* @__PURE__ */ $("div", {
|
|
4099
4099
|
className: "flex min-w-0 flex-row items-center gap-3",
|
|
4100
4100
|
children: [
|
|
4101
|
-
t ? /* @__PURE__ */ Q(
|
|
4101
|
+
t ? /* @__PURE__ */ Q(ni, {
|
|
4102
4102
|
href: t.url || "#",
|
|
4103
4103
|
title: re,
|
|
4104
4104
|
className: "flex items-center leading-[0]",
|
|
4105
4105
|
stopPropagation: !0,
|
|
4106
|
-
children: /* @__PURE__ */ Q(
|
|
4106
|
+
children: /* @__PURE__ */ Q(is, {
|
|
4107
4107
|
firstName: t.firstName,
|
|
4108
4108
|
lastName: t.lastName,
|
|
4109
4109
|
src: t.avatarUrl
|
|
4110
4110
|
})
|
|
4111
|
-
}) : /* @__PURE__ */ Q(
|
|
4111
|
+
}) : /* @__PURE__ */ Q(Ko, { icon: mi }),
|
|
4112
4112
|
/* @__PURE__ */ $("div", {
|
|
4113
4113
|
className: "flex min-w-0 flex-1 flex-col",
|
|
4114
4114
|
children: [/* @__PURE__ */ $("div", {
|
|
4115
4115
|
className: "flex min-w-0 flex-1 flex-row flex-wrap items-center gap-1",
|
|
4116
|
-
children: [t ? /* @__PURE__ */ Q(
|
|
4116
|
+
children: [t ? /* @__PURE__ */ Q(ni, {
|
|
4117
4117
|
href: t.url,
|
|
4118
4118
|
title: re,
|
|
4119
4119
|
className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
|
|
@@ -4122,7 +4122,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4122
4122
|
}) : null, y ? null : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
4123
4123
|
className: G("text-f1-foreground-secondary", !t && "capitalize"),
|
|
4124
4124
|
children: d
|
|
4125
|
-
}), /* @__PURE__ */ Q(
|
|
4125
|
+
}), /* @__PURE__ */ Q(ni, {
|
|
4126
4126
|
onClick: n.onClick,
|
|
4127
4127
|
title: n.title,
|
|
4128
4128
|
className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
|
|
@@ -4133,7 +4133,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4133
4133
|
}), /* @__PURE__ */ $("span", {
|
|
4134
4134
|
className: "flex flex-row items-center gap-1.5 text-base text-f1-foreground-secondary",
|
|
4135
4135
|
children: [I, b ? /* @__PURE__ */ Q(U, {
|
|
4136
|
-
icon:
|
|
4136
|
+
icon: Ti,
|
|
4137
4137
|
size: "xs",
|
|
4138
4138
|
"aria-label": x,
|
|
4139
4139
|
role: x ? "img" : void 0
|
|
@@ -4152,19 +4152,19 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4152
4152
|
onClick: e.onClick,
|
|
4153
4153
|
label: e.label ?? "",
|
|
4154
4154
|
title: e.label ?? ""
|
|
4155
|
-
}, e.label)), m?.length ? /* @__PURE__ */ Q(
|
|
4155
|
+
}, e.label)), m?.length ? /* @__PURE__ */ Q(Oo, {
|
|
4156
4156
|
items: m,
|
|
4157
|
-
icon:
|
|
4157
|
+
icon: Zo,
|
|
4158
4158
|
size: "sm"
|
|
4159
4159
|
}) : null]
|
|
4160
4160
|
}), /* @__PURE__ */ Q("div", {
|
|
4161
4161
|
className: "md:hidden",
|
|
4162
|
-
children: /* @__PURE__ */ Q(
|
|
4162
|
+
children: /* @__PURE__ */ Q(Oo, {
|
|
4163
4163
|
items: [{
|
|
4164
4164
|
label: f.label,
|
|
4165
4165
|
onClick: f.onClick
|
|
4166
4166
|
}, ...m ?? []],
|
|
4167
|
-
icon:
|
|
4167
|
+
icon: Zo,
|
|
4168
4168
|
size: "sm"
|
|
4169
4169
|
})
|
|
4170
4170
|
})]
|
|
@@ -4220,7 +4220,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4220
4220
|
action: {
|
|
4221
4221
|
label: f.label,
|
|
4222
4222
|
onClick: f.onClick,
|
|
4223
|
-
icon:
|
|
4223
|
+
icon: Hr
|
|
4224
4224
|
}
|
|
4225
4225
|
})
|
|
4226
4226
|
]
|
|
@@ -4263,7 +4263,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4263
4263
|
})
|
|
4264
4264
|
]
|
|
4265
4265
|
})]
|
|
4266
|
-
}), xm =
|
|
4266
|
+
}), xm = Wa(ym, bm), Sm = "aspect-video", Cm = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", wm = "h-96", Tm = (e, t) => t > 0 ? Math.max(1, Math.floor(e / t)) : 1, Em = (e) => {
|
|
4267
4267
|
let t = Number.parseFloat(window.getComputedStyle(e).lineHeight);
|
|
4268
4268
|
if (t > 0) return t;
|
|
4269
4269
|
let n = e.firstElementChild, r = n ? Number.parseFloat(window.getComputedStyle(n).lineHeight) : NaN;
|
|
@@ -4291,7 +4291,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4291
4291
|
});
|
|
4292
4292
|
}, Om = ({ author: e, meta: t }) => /* @__PURE__ */ $("div", {
|
|
4293
4293
|
className: "mt-auto flex flex-row items-center gap-3 pt-2",
|
|
4294
|
-
children: [e ? /* @__PURE__ */ Q(
|
|
4294
|
+
children: [e ? /* @__PURE__ */ Q(is, {
|
|
4295
4295
|
firstName: e.firstName,
|
|
4296
4296
|
lastName: e.lastName,
|
|
4297
4297
|
src: e.avatarUrl
|
|
@@ -4436,7 +4436,7 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4436
4436
|
children: [
|
|
4437
4437
|
/* @__PURE__ */ $("div", {
|
|
4438
4438
|
className: "flex min-w-0 flex-1 flex-row items-center gap-1",
|
|
4439
|
-
children: [/* @__PURE__ */ Q(
|
|
4439
|
+
children: [/* @__PURE__ */ Q(xr, {
|
|
4440
4440
|
variant: "label",
|
|
4441
4441
|
content: t,
|
|
4442
4442
|
ellipsis: !0
|
|
@@ -4453,14 +4453,14 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4453
4453
|
className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
|
|
4454
4454
|
children: r.map((e, t) => /* @__PURE__ */ $(Ol.Fragment, { children: [/* @__PURE__ */ Q(ac, { ...e }), t < r.length - 1 ? /* @__PURE__ */ Q("span", { children: "·" }) : null] }, e.text))
|
|
4455
4455
|
}) : null,
|
|
4456
|
-
n ? /* @__PURE__ */ Q(
|
|
4456
|
+
n ? /* @__PURE__ */ Q(xr, {
|
|
4457
4457
|
variant: "description",
|
|
4458
4458
|
content: n,
|
|
4459
4459
|
ellipsis: !0
|
|
4460
4460
|
}) : null,
|
|
4461
4461
|
i && i.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
4462
4462
|
className: "flex flex-col gap-0.5",
|
|
4463
|
-
children: i.map((e, t) => /* @__PURE__ */ Q(
|
|
4463
|
+
children: i.map((e, t) => /* @__PURE__ */ Q(Fi, { metadata: e }, t))
|
|
4464
4464
|
}) : null
|
|
4465
4465
|
]
|
|
4466
4466
|
}),
|
|
@@ -4489,14 +4489,14 @@ var um = Ga(lm, () => /* @__PURE__ */ $("div", {
|
|
|
4489
4489
|
})]
|
|
4490
4490
|
});
|
|
4491
4491
|
Rm.displayName = "OneListItem";
|
|
4492
|
-
var Bm = Bn(tr("OneListItem",
|
|
4492
|
+
var Bm = Bn(tr("OneListItem", Wa(Rm, zm))), Vm = Ol.forwardRef(({ person: e, onClick: t, ...n }, r) => /* @__PURE__ */ $("div", {
|
|
4493
4493
|
ref: r,
|
|
4494
4494
|
className: G("flex w-full flex-row flex-wrap items-center gap-2 rounded-md border p-2 hover:bg-f1-background-hover focus:outline focus:outline-1 focus:outline-offset-1 focus:outline-f1-border-selected-bold", n.withPointerCursor && "cursor-pointer"),
|
|
4495
4495
|
onClick: () => {
|
|
4496
4496
|
t();
|
|
4497
4497
|
},
|
|
4498
4498
|
children: [
|
|
4499
|
-
/* @__PURE__ */ Q(
|
|
4499
|
+
/* @__PURE__ */ Q(is, {
|
|
4500
4500
|
firstName: e.firstName,
|
|
4501
4501
|
lastName: e.lastName,
|
|
4502
4502
|
src: e.avatarUrl,
|
|
@@ -4556,8 +4556,8 @@ var Bm = Bn(tr("OneListItem", Ga(Rm, zm))), Vm = Ol.forwardRef(({ person: e, onC
|
|
|
4556
4556
|
})]
|
|
4557
4557
|
});
|
|
4558
4558
|
Vm.displayName = "OnePersonListItem";
|
|
4559
|
-
var Um = Bn(tr("OnePersonListItem",
|
|
4560
|
-
let { open: e, activeContent: t, contentSide: n, restoringViewId: r } =
|
|
4559
|
+
var Um = Bn(tr("OnePersonListItem", Wa(Vm, Hm))), Wm = () => {
|
|
4560
|
+
let { open: e, activeContent: t, contentSide: n, restoringViewId: r } = Bi(), i = fn(), a = Y(t);
|
|
4561
4561
|
t && (a.current = t);
|
|
4562
4562
|
let o = !t && r ? {
|
|
4563
4563
|
id: r,
|
|
@@ -4567,7 +4567,7 @@ var Um = Bn(tr("OnePersonListItem", Ga(Vm, Hm))), Wm = () => {
|
|
|
4567
4567
|
className: "h-full w-full rounded-none"
|
|
4568
4568
|
})
|
|
4569
4569
|
} : null, s = t ?? o ?? a.current;
|
|
4570
|
-
return /* @__PURE__ */ Q(
|
|
4570
|
+
return /* @__PURE__ */ Q(fo, {
|
|
4571
4571
|
visible: e && (t !== null || o !== null),
|
|
4572
4572
|
side: n,
|
|
4573
4573
|
exitStyle: e ? "hold" : "shrink",
|
|
@@ -4627,7 +4627,7 @@ function Xm({ primarySidebar: e, secondarySidebar: t }) {
|
|
|
4627
4627
|
if (!n) throw Error("NavigationLayout must be rendered by ApplicationFrame with a primarySidebar");
|
|
4628
4628
|
return /* @__PURE__ */ Q(qc, {
|
|
4629
4629
|
value: "two-level",
|
|
4630
|
-
children: /* @__PURE__ */ Q(
|
|
4630
|
+
children: /* @__PURE__ */ Q(za, {
|
|
4631
4631
|
value: !0,
|
|
4632
4632
|
children: /* @__PURE__ */ Q(Zm, {
|
|
4633
4633
|
navigation: n,
|
|
@@ -5376,7 +5376,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5376
5376
|
width: window.innerWidth,
|
|
5377
5377
|
height: window.innerHeight
|
|
5378
5378
|
}, __ = () => {
|
|
5379
|
-
let [e, t] =
|
|
5379
|
+
let [e, t] = qi({
|
|
5380
5380
|
key: gg,
|
|
5381
5381
|
fallback: h_,
|
|
5382
5382
|
validate: s_
|
|
@@ -5432,7 +5432,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5432
5432
|
}
|
|
5433
5433
|
return e.values().next().value ?? null;
|
|
5434
5434
|
}, S_ = Nl(null), C_ = ({ defaultMode: e = "fullscreen", roomId: t = "", pictureInPicture: n = !0, children: r }) => {
|
|
5435
|
-
let [i, a] =
|
|
5435
|
+
let [i, a] = qi({
|
|
5436
5436
|
key: _g,
|
|
5437
5437
|
fallback: {
|
|
5438
5438
|
roomId: t,
|
|
@@ -5454,12 +5454,12 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5454
5454
|
...n,
|
|
5455
5455
|
[t]: e
|
|
5456
5456
|
});
|
|
5457
|
-
}, [v]), P = v !== null, F = v ? D[v] ?? null : null, [I, ee] =
|
|
5457
|
+
}, [v]), P = v !== null, F = v ? D[v] ?? null : null, [I, ee] = qi({
|
|
5458
5458
|
key: vg,
|
|
5459
5459
|
fallback: 420,
|
|
5460
5460
|
validate: (e) => typeof e == "number" && Number.isFinite(e) && e >= 320,
|
|
5461
5461
|
debounceMs: 150
|
|
5462
|
-
}), te = K(() => ee(420), [ee]), [ne, re] =
|
|
5462
|
+
}), te = K(() => ee(420), [ee]), [ne, re] = qi({
|
|
5463
5463
|
key: bg,
|
|
5464
5464
|
fallback: xg,
|
|
5465
5465
|
validate: Og,
|
|
@@ -5701,7 +5701,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5701
5701
|
...t,
|
|
5702
5702
|
id: "chat",
|
|
5703
5703
|
label: n,
|
|
5704
|
-
icon:
|
|
5704
|
+
icon: ti
|
|
5705
5705
|
}] : [])).filter((e) => e.tabs.length > 0), N_ = () => {
|
|
5706
5706
|
let e = H(), { sidePanels: t, sidePanel: n } = O_();
|
|
5707
5707
|
return J(() => M_(t, n, e.meeting.chatPanel), [
|
|
@@ -5714,10 +5714,10 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5714
5714
|
left: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:-left-[6px] [@media(pointer:coarse)]:before:right-0",
|
|
5715
5715
|
right: "[@media(pointer:coarse)]:before:-inset-y-[6px] [@media(pointer:coarse)]:before:left-0 [@media(pointer:coarse)]:before:-right-[6px]"
|
|
5716
5716
|
}, L_ = (e = "all") => G("relative", F_, I_[e]), R_ = () => "[@media(pointer:coarse)]:[&>button]:before:absolute [@media(pointer:coarse)]:[&>button]:before:content-[''] [@media(pointer:coarse)]:[&>button]:before:-inset-[6px]", z_ = () => {
|
|
5717
|
-
let e = H(), { effectiveMode: t, setMode: n, hasPanelSlot: r, panelSide: i } = w_(), a = i === "left" ?
|
|
5717
|
+
let e = H(), { effectiveMode: t, setMode: n, hasPanelSlot: r, panelSide: i } = w_(), a = i === "left" ? ui : oi, o = [
|
|
5718
5718
|
{
|
|
5719
5719
|
mode: "floating",
|
|
5720
|
-
icon:
|
|
5720
|
+
icon: Oa,
|
|
5721
5721
|
label: e.meeting.modeFloating
|
|
5722
5722
|
},
|
|
5723
5723
|
{
|
|
@@ -5727,7 +5727,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5727
5727
|
},
|
|
5728
5728
|
{
|
|
5729
5729
|
mode: "fullscreen",
|
|
5730
|
-
icon:
|
|
5730
|
+
icon: to,
|
|
5731
5731
|
label: e.meeting.modeFullscreen
|
|
5732
5732
|
}
|
|
5733
5733
|
], s = (t === "minimized" ? o.filter((e) => e.mode === "floating") : o).filter((e) => e.mode !== "panel" && e.mode !== "fullscreen" || r);
|
|
@@ -5834,7 +5834,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
5834
5834
|
variant: "ghost",
|
|
5835
5835
|
size: "md",
|
|
5836
5836
|
hideLabel: !0,
|
|
5837
|
-
icon:
|
|
5837
|
+
icon: Mi,
|
|
5838
5838
|
label: e.meeting.exitPictureInPicture,
|
|
5839
5839
|
onClick: () => {
|
|
5840
5840
|
t(), window.focus();
|
|
@@ -6193,7 +6193,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6193
6193
|
height: 32
|
|
6194
6194
|
},
|
|
6195
6195
|
children: e.id === "frequent" ? /* @__PURE__ */ Q(U, {
|
|
6196
|
-
icon:
|
|
6196
|
+
icon: ii,
|
|
6197
6197
|
size: "md"
|
|
6198
6198
|
}) : /* @__PURE__ */ Q(bn, {
|
|
6199
6199
|
emoji: kv[e.id],
|
|
@@ -6282,11 +6282,11 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6282
6282
|
})
|
|
6283
6283
|
}) : null;
|
|
6284
6284
|
};
|
|
6285
|
-
return /* @__PURE__ */ $(
|
|
6285
|
+
return /* @__PURE__ */ $(gs, {
|
|
6286
6286
|
className: "min-h-0 flex-1 overflow-hidden",
|
|
6287
6287
|
scrollHideDelay: 200,
|
|
6288
6288
|
children: [
|
|
6289
|
-
/* @__PURE__ */ Q(
|
|
6289
|
+
/* @__PURE__ */ Q(ds, {
|
|
6290
6290
|
ref: u,
|
|
6291
6291
|
id: a,
|
|
6292
6292
|
role: "listbox",
|
|
@@ -6322,8 +6322,8 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6322
6322
|
})]
|
|
6323
6323
|
})
|
|
6324
6324
|
}),
|
|
6325
|
-
/* @__PURE__ */ Q(
|
|
6326
|
-
/* @__PURE__ */ Q(
|
|
6325
|
+
/* @__PURE__ */ Q(us, { orientation: "vertical" }),
|
|
6326
|
+
/* @__PURE__ */ Q(_s, {})
|
|
6327
6327
|
]
|
|
6328
6328
|
});
|
|
6329
6329
|
}), Iv = (e, t) => {
|
|
@@ -6393,7 +6393,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6393
6393
|
Wv.delete(e), Wv.size === 0 && window.removeEventListener("storage", Gv);
|
|
6394
6394
|
}), qv = () => null, Jv = (e) => {
|
|
6395
6395
|
let t = Hv(Vv());
|
|
6396
|
-
|
|
6396
|
+
Sr(Rv, {
|
|
6397
6397
|
...t,
|
|
6398
6398
|
[e.id]: Math.min((t[e.id] ?? 0) + 1, Bv)
|
|
6399
6399
|
}), Gv();
|
|
@@ -6557,7 +6557,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6557
6557
|
noAutoTooltip: s,
|
|
6558
6558
|
label: t,
|
|
6559
6559
|
size: n,
|
|
6560
|
-
icon: i ??
|
|
6560
|
+
icon: i ?? Bo,
|
|
6561
6561
|
pressed: u,
|
|
6562
6562
|
onClick: (e) => {
|
|
6563
6563
|
e.preventDefault(), e.stopPropagation(), d(!u);
|
|
@@ -6767,7 +6767,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6767
6767
|
return t;
|
|
6768
6768
|
}, Fy = (e) => {
|
|
6769
6769
|
let t = ky(Ty());
|
|
6770
|
-
t.v > wy || (
|
|
6770
|
+
t.v > wy || (Sr(yg, {
|
|
6771
6771
|
...t,
|
|
6772
6772
|
...e,
|
|
6773
6773
|
v: wy
|
|
@@ -6921,7 +6921,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6921
6921
|
});
|
|
6922
6922
|
}, ab = ({ actions: e }) => {
|
|
6923
6923
|
let t = H(), n = e.reduce((e, t) => e + (typeof t.badge == "number" ? t.badge : 0), 0), r = n > 0 ? `${t.meeting.moreActions} · ${t.t("meeting.unreadCount", { count: n })}` : t.meeting.moreActions;
|
|
6924
|
-
return /* @__PURE__ */ Q(
|
|
6924
|
+
return /* @__PURE__ */ Q(Oo, {
|
|
6925
6925
|
items: e.map(tb),
|
|
6926
6926
|
align: "end",
|
|
6927
6927
|
children: /* @__PURE__ */ $("span", {
|
|
@@ -6930,7 +6930,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
6930
6930
|
variant: "ghost",
|
|
6931
6931
|
size: "md",
|
|
6932
6932
|
hideLabel: !0,
|
|
6933
|
-
icon:
|
|
6933
|
+
icon: Ir,
|
|
6934
6934
|
label: r
|
|
6935
6935
|
}), n > 0 ? /* @__PURE__ */ Q(by, { count: void 0 }) : null]
|
|
6936
6936
|
})
|
|
@@ -7097,8 +7097,8 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7097
7097
|
i.push({
|
|
7098
7098
|
id: "core:microphone",
|
|
7099
7099
|
label: r.microphone.enabled ? t.meeting.turnOffMicrophone : t.meeting.turnOnMicrophone,
|
|
7100
|
-
icon:
|
|
7101
|
-
activeIcon:
|
|
7100
|
+
icon: Wr,
|
|
7101
|
+
activeIcon: Ri,
|
|
7102
7102
|
pressed: !r.microphone.enabled,
|
|
7103
7103
|
pending: r.microphone.pending,
|
|
7104
7104
|
disabled: l?.canPublishAudio === !1 || !!u,
|
|
@@ -7116,7 +7116,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7116
7116
|
source: r.microphone,
|
|
7117
7117
|
output: r.speaker,
|
|
7118
7118
|
label: t.meeting.selectMicrophone,
|
|
7119
|
-
icon:
|
|
7119
|
+
icon: Ea,
|
|
7120
7120
|
priority: 70
|
|
7121
7121
|
});
|
|
7122
7122
|
d && i.push(d);
|
|
@@ -7128,8 +7128,8 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7128
7128
|
i.push({
|
|
7129
7129
|
id: "core:camera",
|
|
7130
7130
|
label: r.camera.enabled ? t.meeting.turnOffCamera : t.meeting.turnOnCamera,
|
|
7131
|
-
icon:
|
|
7132
|
-
activeIcon:
|
|
7131
|
+
icon: Xr,
|
|
7132
|
+
activeIcon: po,
|
|
7133
7133
|
pressed: !r.camera.enabled,
|
|
7134
7134
|
pending: r.camera.pending,
|
|
7135
7135
|
disabled: l?.canPublishVideo === !1 || !!f,
|
|
@@ -7146,7 +7146,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7146
7146
|
id: "core:cameraSettings",
|
|
7147
7147
|
source: r.camera,
|
|
7148
7148
|
label: t.meeting.selectCamera,
|
|
7149
|
-
icon:
|
|
7149
|
+
icon: ho,
|
|
7150
7150
|
priority: 65
|
|
7151
7151
|
});
|
|
7152
7152
|
if (p && i.push(p), n.hasScreenShare) {
|
|
@@ -7154,7 +7154,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7154
7154
|
i.push({
|
|
7155
7155
|
id: "core:screenShare",
|
|
7156
7156
|
label: e ? t.meeting.stopSharing : t.meeting.shareScreen,
|
|
7157
|
-
icon:
|
|
7157
|
+
icon: Ha,
|
|
7158
7158
|
pressed: e,
|
|
7159
7159
|
pending: r.screenShare?.pending,
|
|
7160
7160
|
disabled: l?.canShareScreen === !1,
|
|
@@ -7166,7 +7166,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7166
7166
|
return n.hasReactions && i.push({
|
|
7167
7167
|
id: "core:reactions",
|
|
7168
7168
|
label: t.meeting.reactions,
|
|
7169
|
-
icon:
|
|
7169
|
+
icon: Bo,
|
|
7170
7170
|
priority: 41,
|
|
7171
7171
|
group: "reactions",
|
|
7172
7172
|
modes: [
|
|
@@ -7178,7 +7178,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7178
7178
|
}), n.hasRaiseHand && i.push({
|
|
7179
7179
|
id: "core:raiseHand",
|
|
7180
7180
|
label: c ? t.meeting.lowerHand : t.meeting.raiseHand,
|
|
7181
|
-
icon:
|
|
7181
|
+
icon: ga,
|
|
7182
7182
|
pressed: c,
|
|
7183
7183
|
onClick: () => n.setHandRaised(!c),
|
|
7184
7184
|
priority: 40,
|
|
@@ -7204,7 +7204,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7204
7204
|
}), i.push({
|
|
7205
7205
|
id: "core:leave",
|
|
7206
7206
|
label: t.meeting.leave,
|
|
7207
|
-
icon:
|
|
7207
|
+
icon: Pr,
|
|
7208
7208
|
variant: "critical",
|
|
7209
7209
|
onClick: () => n.leave(),
|
|
7210
7210
|
pinned: !0,
|
|
@@ -7329,7 +7329,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7329
7329
|
}, Sb = () => {
|
|
7330
7330
|
let e = H();
|
|
7331
7331
|
return /* @__PURE__ */ $(xb, { children: [/* @__PURE__ */ Q(U, {
|
|
7332
|
-
icon:
|
|
7332
|
+
icon: Yo,
|
|
7333
7333
|
size: "lg",
|
|
7334
7334
|
state: "animate"
|
|
7335
7335
|
}), /* @__PURE__ */ Q("p", {
|
|
@@ -7364,7 +7364,7 @@ var Ch = gh.categories.flatMap((e) => _h.includes(e.id) ? [{
|
|
|
7364
7364
|
role: "status",
|
|
7365
7365
|
className: "pointer-events-none absolute left-1/2 top-3 z-10 flex -translate-x-1/2 items-center gap-2 rounded-full bg-f1-background-warning px-3 py-1.5 text-sm font-medium text-f1-foreground-warning",
|
|
7366
7366
|
children: [/* @__PURE__ */ Q(U, {
|
|
7367
|
-
icon:
|
|
7367
|
+
icon: Yo,
|
|
7368
7368
|
size: "sm",
|
|
7369
7369
|
state: "animate"
|
|
7370
7370
|
}), e.meeting.reconnecting]
|
|
@@ -7750,24 +7750,24 @@ var tx = () => {
|
|
|
7750
7750
|
return Ul(t, n, n);
|
|
7751
7751
|
}, nx = {
|
|
7752
7752
|
duration: Ac.duration.base,
|
|
7753
|
-
ease:
|
|
7753
|
+
ease: Pa
|
|
7754
7754
|
}, rx = [
|
|
7755
7755
|
"left",
|
|
7756
7756
|
"top",
|
|
7757
7757
|
"width",
|
|
7758
7758
|
"height"
|
|
7759
|
-
].map((e) => `${e} ${Math.round(nx.duration * 1e3)}ms cubic-bezier(${
|
|
7759
|
+
].map((e) => `${e} ${Math.round(nx.duration * 1e3)}ms cubic-bezier(${Pa.join(",")})`).join(", "), ix = {
|
|
7760
7760
|
duration: Ac.duration.base,
|
|
7761
|
-
ease:
|
|
7761
|
+
ease: Pa
|
|
7762
7762
|
}, ax = {
|
|
7763
7763
|
duration: Ac.duration.fast,
|
|
7764
|
-
ease:
|
|
7764
|
+
ease: Pa
|
|
7765
7765
|
}, ox = {
|
|
7766
7766
|
duration: Ac.duration.micro,
|
|
7767
7767
|
ease: "easeIn"
|
|
7768
7768
|
}, sx = {
|
|
7769
7769
|
duration: Ac.duration.fast,
|
|
7770
|
-
ease:
|
|
7770
|
+
ease: Pa
|
|
7771
7771
|
}, cx = {
|
|
7772
7772
|
duration: Ac.duration.micro,
|
|
7773
7773
|
ease: "easeIn"
|
|
@@ -7790,7 +7790,7 @@ var tx = () => {
|
|
|
7790
7790
|
}) : null, !i && (a || o) ? /* @__PURE__ */ Q("span", {
|
|
7791
7791
|
className: G("absolute -bottom-0.5 -end-0.5 flex h-4 w-4 items-center justify-center rounded-full", "border border-solid border-f1-border-secondary bg-f1-background text-f1-foreground-secondary"),
|
|
7792
7792
|
children: /* @__PURE__ */ Q(U, {
|
|
7793
|
-
icon: a ?
|
|
7793
|
+
icon: a ? Ha : Ri,
|
|
7794
7794
|
size: "xs",
|
|
7795
7795
|
"aria-label": a ? n.meeting.sharingScreen : n.meeting.muted
|
|
7796
7796
|
})
|
|
@@ -7886,12 +7886,12 @@ var tx = () => {
|
|
|
7886
7886
|
children: e.participant.name
|
|
7887
7887
|
}),
|
|
7888
7888
|
zg(e.participant) ? /* @__PURE__ */ Q(U, {
|
|
7889
|
-
icon:
|
|
7889
|
+
icon: Ri,
|
|
7890
7890
|
size: "sm",
|
|
7891
7891
|
color: "secondary"
|
|
7892
7892
|
}) : null,
|
|
7893
7893
|
Bg(e) ? null : /* @__PURE__ */ Q(U, {
|
|
7894
|
-
icon:
|
|
7894
|
+
icon: po,
|
|
7895
7895
|
size: "sm",
|
|
7896
7896
|
color: "secondary"
|
|
7897
7897
|
})
|
|
@@ -7990,10 +7990,10 @@ var tx = () => {
|
|
|
7990
7990
|
}), /* @__PURE__ */ Q("span", {
|
|
7991
7991
|
className: "flex shrink-0 items-center",
|
|
7992
7992
|
children: o ? /* @__PURE__ */ Q(U, {
|
|
7993
|
-
icon:
|
|
7993
|
+
icon: Ha,
|
|
7994
7994
|
size: "sm"
|
|
7995
7995
|
}) : s ? /* @__PURE__ */ Q(U, {
|
|
7996
|
-
icon:
|
|
7996
|
+
icon: Ri,
|
|
7997
7997
|
size: "sm"
|
|
7998
7998
|
}) : /* @__PURE__ */ Q(Tx, {
|
|
7999
7999
|
participantId: i.id,
|
|
@@ -8052,7 +8052,7 @@ var tx = () => {
|
|
|
8052
8052
|
hideLabel: !0,
|
|
8053
8053
|
size: "sm",
|
|
8054
8054
|
variant: "neutral",
|
|
8055
|
-
icon: l ?
|
|
8055
|
+
icon: l ? Mi : Hi,
|
|
8056
8056
|
onClick: u,
|
|
8057
8057
|
label: l ? s.meeting.exitFullscreen : s.meeting.enterFullscreen
|
|
8058
8058
|
})
|
|
@@ -8064,7 +8064,7 @@ var tx = () => {
|
|
|
8064
8064
|
variant: "neutral",
|
|
8065
8065
|
onClick: () => a?.(e.key),
|
|
8066
8066
|
pressed: r,
|
|
8067
|
-
icon: r ?
|
|
8067
|
+
icon: r ? Ti : Mr,
|
|
8068
8068
|
label: r ? s.meeting.unpinParticipant : s.meeting.pinParticipant
|
|
8069
8069
|
})
|
|
8070
8070
|
}) : null]
|
|
@@ -8512,7 +8512,7 @@ var tx = () => {
|
|
|
8512
8512
|
}) : null,
|
|
8513
8513
|
/* @__PURE__ */ $("div", {
|
|
8514
8514
|
className: "flex shrink-0 items-center",
|
|
8515
|
-
children: [/* @__PURE__ */ Q(
|
|
8515
|
+
children: [/* @__PURE__ */ Q(xo, {
|
|
8516
8516
|
tabs: v,
|
|
8517
8517
|
activeTabId: g,
|
|
8518
8518
|
setActiveTabId: c
|
|
@@ -8523,7 +8523,7 @@ var tx = () => {
|
|
|
8523
8523
|
variant: "outline",
|
|
8524
8524
|
size: "md",
|
|
8525
8525
|
hideLabel: !0,
|
|
8526
|
-
icon:
|
|
8526
|
+
icon: yr,
|
|
8527
8527
|
label: i.meeting.closePanel,
|
|
8528
8528
|
onClick: o
|
|
8529
8529
|
})
|
|
@@ -9486,7 +9486,7 @@ var tx = () => {
|
|
|
9486
9486
|
"aria-label": n.meeting.handRaised,
|
|
9487
9487
|
className: "text-f1-foreground-secondary",
|
|
9488
9488
|
children: /* @__PURE__ */ Q(U, {
|
|
9489
|
-
icon:
|
|
9489
|
+
icon: ga,
|
|
9490
9490
|
size: "sm"
|
|
9491
9491
|
})
|
|
9492
9492
|
}) : null,
|
|
@@ -9495,7 +9495,7 @@ var tx = () => {
|
|
|
9495
9495
|
"aria-label": n.meeting.muted,
|
|
9496
9496
|
className: "text-f1-foreground-secondary",
|
|
9497
9497
|
children: /* @__PURE__ */ Q(U, {
|
|
9498
|
-
icon:
|
|
9498
|
+
icon: Ri,
|
|
9499
9499
|
size: "sm"
|
|
9500
9500
|
})
|
|
9501
9501
|
}) : null
|
|
@@ -9567,7 +9567,7 @@ var tx = () => {
|
|
|
9567
9567
|
...HS,
|
|
9568
9568
|
side: VS
|
|
9569
9569
|
}, WS = () => {
|
|
9570
|
-
let e = T_(), t = ih(), n =
|
|
9570
|
+
let e = T_(), t = ih(), n = Ui(), { activeContent: r, present: i, clear: a, open: o, setOpen: s, layout: c, setLayout: l, contentSide: u, effectiveWidth: d } = Bi(), { currentPath: f } = Kn(), { hasPrimarySidebar: p } = Ic(), m = p ? VS : u, h = p ? US : HS, g = t ? e?.mode : void 0, _ = t ? e?.effectiveMode : void 0, v = e?.setMode, y = e?.setPanelSlot, b = e?.setPanelSlotWidth, x = r?.id === BS, S = _ === "panel" || _ === "fullscreen", C = g === "panel" || g === "fullscreen";
|
|
9571
9571
|
q(function() {
|
|
9572
9572
|
if (y) return y(n ? m : null), () => y(null);
|
|
9573
9573
|
}, [
|
|
@@ -9656,7 +9656,7 @@ function JS({ children: e, sidebar: t, primarySidebar: n, secondarySidebar: r, t
|
|
|
9656
9656
|
enabled: p,
|
|
9657
9657
|
hasSecondarySidebar: !!r,
|
|
9658
9658
|
topBarHeight: p && i ? eC : 0,
|
|
9659
|
-
children: /* @__PURE__ */ Q(cl, { children: /* @__PURE__ */ Q(
|
|
9659
|
+
children: /* @__PURE__ */ Q(cl, { children: /* @__PURE__ */ Q(Yr, {
|
|
9660
9660
|
views: d,
|
|
9661
9661
|
side: o?.side ?? c?.side,
|
|
9662
9662
|
contentSide: o?.panelContentSide ?? f,
|
|
@@ -9682,7 +9682,7 @@ function JS({ children: e, sidebar: t, primarySidebar: n, secondarySidebar: r, t
|
|
|
9682
9682
|
});
|
|
9683
9683
|
}
|
|
9684
9684
|
function YS({ children: e, navigation: t, topBar: n, banner: r, ai: i, aiPromotion: a, onNavigationPointerEnter: o }) {
|
|
9685
|
-
let s = i?.enabled ?
|
|
9685
|
+
let s = i?.enabled ? Nr : a?.enabled ? wu : Al, c = i?.enabled ? i : a?.enabled ? a : void 0;
|
|
9686
9686
|
return /* @__PURE__ */ Q(s, {
|
|
9687
9687
|
...c,
|
|
9688
9688
|
children: /* @__PURE__ */ Q(tC, {
|
|
@@ -9721,7 +9721,7 @@ function $S(e, t) {
|
|
|
9721
9721
|
}
|
|
9722
9722
|
var eC = 42;
|
|
9723
9723
|
function tC({ ai: e, aiPromotion: t, children: n, navigation: r, topBar: i, banner: a, onNavigationPointerEnter: o }) {
|
|
9724
|
-
let { sidebarState: s, toggleSidebar: c, isSmallScreen: l, setForceFloat: u, hasPrimarySidebar: d } = Ic(), f = Vc(), p = f?.primarySidebarWidth ?? 0, m = fn(), { hasAvailableView: h, open: g, layout: _, effectiveWidth: v, widthBounds: y, panelOverlays: b, setFrameWidth: x, resizable: S, side: C, activeContent: w, contentSide: T, restoringViewId: E, isResizing: D } =
|
|
9724
|
+
let { sidebarState: s, toggleSidebar: c, isSmallScreen: l, setForceFloat: u, hasPrimarySidebar: d } = Ic(), f = Vc(), p = f?.primarySidebarWidth ?? 0, m = fn(), { hasAvailableView: h, open: g, layout: _, effectiveWidth: v, widthBounds: y, panelOverlays: b, setFrameWidth: x, resizable: S, side: C, activeContent: w, contentSide: T, restoringViewId: E, isResizing: D } = Bi(), { canvasContent: O, canvasEntities: k, closeCanvas: A, isCanvasCovered: j } = Ho(), M = _ === "fullscreen", N = O !== null && !j, { open: P } = gu(), F = S ? v ?? ya : Math.min(ya, y?.max ?? ya), I = O?.coversChat === !0 ? 0 : F, ee = C === "left", te = T !== C, ne = !!(w || E), re = Y(ne);
|
|
9725
9725
|
q(function() {
|
|
9726
9726
|
re.current = ne;
|
|
9727
9727
|
});
|
|
@@ -9791,7 +9791,7 @@ function tC({ ai: e, aiPromotion: t, children: n, navigation: r, topBar: i, bann
|
|
|
9791
9791
|
children: [/* @__PURE__ */ Q("div", {
|
|
9792
9792
|
className: "col-[1/-1]",
|
|
9793
9793
|
children: a
|
|
9794
|
-
}), /* @__PURE__ */ Q(
|
|
9794
|
+
}), /* @__PURE__ */ Q(br, {
|
|
9795
9795
|
id: "ai-chat-group",
|
|
9796
9796
|
children: /* @__PURE__ */ $("div", {
|
|
9797
9797
|
className: "relative isolate flex h-full",
|
|
@@ -9855,7 +9855,7 @@ function tC({ ai: e, aiPromotion: t, children: n, navigation: r, topBar: i, bann
|
|
|
9855
9855
|
right: I
|
|
9856
9856
|
},
|
|
9857
9857
|
transition: Le,
|
|
9858
|
-
children: /* @__PURE__ */ Q(
|
|
9858
|
+
children: /* @__PURE__ */ Q(So, {
|
|
9859
9859
|
content: O,
|
|
9860
9860
|
onClose: A,
|
|
9861
9861
|
entities: k,
|
|
@@ -9883,7 +9883,7 @@ function tC({ ai: e, aiPromotion: t, children: n, navigation: r, topBar: i, bann
|
|
|
9883
9883
|
transition: ke(t, n),
|
|
9884
9884
|
children: r
|
|
9885
9885
|
}, `panel-${e}`);
|
|
9886
|
-
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(C, !te || !de, he.current, /* @__PURE__ */ Q(
|
|
9886
|
+
return /* @__PURE__ */ $(Z, { children: [e?.enabled ? t(C, !te || !de, he.current, /* @__PURE__ */ Q(Rr, {})) : null, !e?.enabled || te ? t(T, de || !e?.enabled, ge.current, /* @__PURE__ */ Q(Wm, {})) : null] });
|
|
9887
9887
|
})() : null
|
|
9888
9888
|
]
|
|
9889
9889
|
}),
|
|
@@ -10055,7 +10055,7 @@ var aC = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
10055
10055
|
duration: .2
|
|
10056
10056
|
}
|
|
10057
10057
|
},
|
|
10058
|
-
children: [/* @__PURE__ */ Q(
|
|
10058
|
+
children: [/* @__PURE__ */ Q(Go, {
|
|
10059
10059
|
type: "rounded",
|
|
10060
10060
|
name: [e, t],
|
|
10061
10061
|
src: n,
|
|
@@ -10102,7 +10102,7 @@ var aC = ({ firstName: e, lastName: t, src: n, "aria-label": r, "aria-labelledby
|
|
|
10102
10102
|
label: s.actions.add,
|
|
10103
10103
|
variant: "neutral",
|
|
10104
10104
|
size: "sm",
|
|
10105
|
-
icon:
|
|
10105
|
+
icon: Bo,
|
|
10106
10106
|
onClick: (e) => {
|
|
10107
10107
|
e.preventDefault(), e.stopPropagation(), o();
|
|
10108
10108
|
},
|
|
@@ -10141,7 +10141,7 @@ function sC({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
10141
10141
|
variant: "ghost",
|
|
10142
10142
|
onClick: () => o(),
|
|
10143
10143
|
label: "Open main menu",
|
|
10144
|
-
icon:
|
|
10144
|
+
icon: mo,
|
|
10145
10145
|
hideLabel: !0
|
|
10146
10146
|
}) : null,
|
|
10147
10147
|
/* @__PURE__ */ $("div", {
|
|
@@ -10152,7 +10152,7 @@ function sC({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
10152
10152
|
lastName: t.employeeLastName,
|
|
10153
10153
|
pulse: t.pulse,
|
|
10154
10154
|
onPulseClick: t.onPulseClick
|
|
10155
|
-
}) : /* @__PURE__ */ Q(
|
|
10155
|
+
}) : /* @__PURE__ */ Q(is, {
|
|
10156
10156
|
src: t.employeeAvatar,
|
|
10157
10157
|
firstName: t.employeeFirstName,
|
|
10158
10158
|
lastName: t.employeeLastName,
|
|
@@ -10169,7 +10169,7 @@ function sC({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
10169
10169
|
})]
|
|
10170
10170
|
})
|
|
10171
10171
|
]
|
|
10172
|
-
}), /* @__PURE__ */ $("div", { children: [i ? null : /* @__PURE__ */ Q(
|
|
10172
|
+
}), /* @__PURE__ */ $("div", { children: [i ? null : /* @__PURE__ */ Q(ro, {}), /* @__PURE__ */ Q(nC, {})] })]
|
|
10173
10173
|
}) : null,
|
|
10174
10174
|
/* @__PURE__ */ Q("div", {
|
|
10175
10175
|
className: G("isolate flex w-full flex-1 flex-col overflow-y-auto overflow-x-hidden [&>*]:flex-1", s && "-mt-3"),
|
|
@@ -10179,12 +10179,12 @@ function sC({ children: e, header: t, period: n, embedded: r = !1, hideOneSwitch
|
|
|
10179
10179
|
});
|
|
10180
10180
|
}
|
|
10181
10181
|
sC.displayName = "DaytimePage";
|
|
10182
|
-
var cC = Bn(tr("DaytimePage", sC)), lC = Pl(({ className: e, items: t }, n) => /* @__PURE__ */ Q(
|
|
10182
|
+
var cC = Bn(tr("DaytimePage", sC)), lC = Pl(({ className: e, items: t }, n) => /* @__PURE__ */ Q(Fr, {
|
|
10183
10183
|
ref: n,
|
|
10184
10184
|
className: e,
|
|
10185
10185
|
children: /* @__PURE__ */ $("div", {
|
|
10186
10186
|
className: "flex items-center",
|
|
10187
|
-
children: [/* @__PURE__ */ Q(
|
|
10187
|
+
children: [/* @__PURE__ */ Q(Ao, {}), /* @__PURE__ */ Q(Tr, {
|
|
10188
10188
|
items: t,
|
|
10189
10189
|
children: /* @__PURE__ */ Q("button", {
|
|
10190
10190
|
className: "rounded-sm px-1.5 py-0.5 font-medium text-f1-foreground no-underline transition-colors hover:bg-f1-background-secondary",
|
|
@@ -10265,10 +10265,10 @@ function _C({ breadcrumbs: e, append: t }) {
|
|
|
10265
10265
|
});
|
|
10266
10266
|
}, c = new ResizeObserver(s);
|
|
10267
10267
|
return c.observe(t), s(), () => c.disconnect();
|
|
10268
|
-
}, [e, t]), !e.length || a && !a.headItem ? /* @__PURE__ */ Q(
|
|
10268
|
+
}, [e, t]), !e.length || a && !a.headItem ? /* @__PURE__ */ Q(Br, {
|
|
10269
10269
|
ref: n,
|
|
10270
10270
|
className: "w-full"
|
|
10271
|
-
}) : /* @__PURE__ */ $(
|
|
10271
|
+
}) : /* @__PURE__ */ $(Br, {
|
|
10272
10272
|
ref: n,
|
|
10273
10273
|
className: "w-full overflow-x-hidden",
|
|
10274
10274
|
style: { minWidth: a?.minWidth },
|
|
@@ -10276,33 +10276,33 @@ function _C({ breadcrumbs: e, append: t }) {
|
|
|
10276
10276
|
className: "invisible absolute -left-full",
|
|
10277
10277
|
"aria-hidden": "true",
|
|
10278
10278
|
ref: r,
|
|
10279
|
-
children: e.map((n, r) => /* @__PURE__ */ Q(
|
|
10279
|
+
children: e.map((n, r) => /* @__PURE__ */ Q($i, {
|
|
10280
10280
|
item: n,
|
|
10281
10281
|
isLast: r === e.length - 1,
|
|
10282
10282
|
isFirst: r === 0,
|
|
10283
10283
|
children: r === e.length - 1 ? t : void 0
|
|
10284
|
-
},
|
|
10285
|
-
}), a && a.headItem ? /* @__PURE__ */ $(
|
|
10286
|
-
/* @__PURE__ */ Q(
|
|
10284
|
+
}, Er(n)))
|
|
10285
|
+
}), a && a.headItem ? /* @__PURE__ */ $(hi, { children: [
|
|
10286
|
+
/* @__PURE__ */ Q($i, {
|
|
10287
10287
|
isOnly: a.isOnly,
|
|
10288
10288
|
isFirst: !0,
|
|
10289
10289
|
item: a.headItem,
|
|
10290
10290
|
isLast: !1
|
|
10291
|
-
}, `first-item-${
|
|
10292
|
-
s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(lC, { items: a.collapsedItems }, "collapsed-items"), a.tailItems.map((e, n) => /* @__PURE__ */ Q(
|
|
10291
|
+
}, `first-item-${Er(a.headItem)}`),
|
|
10292
|
+
s ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(lC, { items: a.collapsedItems }, "collapsed-items"), a.tailItems.map((e, n) => /* @__PURE__ */ Q($i, {
|
|
10293
10293
|
item: e,
|
|
10294
10294
|
isLast: n === a.tailItems.length - 1,
|
|
10295
10295
|
isFirst: !1,
|
|
10296
10296
|
children: n === a.tailItems.length - 1 ? t : void 0
|
|
10297
|
-
},
|
|
10298
|
-
s ? null : /* @__PURE__ */ Q(Z, { children: a.tailItems.map((e, n) => /* @__PURE__ */ Q(
|
|
10297
|
+
}, Er(e)))] }) : null,
|
|
10298
|
+
s ? null : /* @__PURE__ */ Q(Z, { children: a.tailItems.map((e, n) => /* @__PURE__ */ Q($i, {
|
|
10299
10299
|
item: e,
|
|
10300
10300
|
isLast: n === a.tailItems.length - 1,
|
|
10301
10301
|
isFirst: !1,
|
|
10302
10302
|
children: n === a.tailItems.length - 1 ? t : void 0
|
|
10303
|
-
},
|
|
10303
|
+
}, Er(e))) })
|
|
10304
10304
|
] }) : null]
|
|
10305
|
-
}, `breadcrumb-${
|
|
10305
|
+
}, `breadcrumb-${Er(e.at(-1)) ?? 0}`);
|
|
10306
10306
|
}
|
|
10307
10307
|
//#endregion
|
|
10308
10308
|
//#region src/blocks/Header/PageHeader/PageHeaderNavigationContext.ts
|
|
@@ -10373,7 +10373,7 @@ var SC = W.create(U), CC = {
|
|
|
10373
10373
|
"aria-label": n,
|
|
10374
10374
|
children: e ? /* @__PURE__ */ Q(SC, {
|
|
10375
10375
|
size: "sm",
|
|
10376
|
-
icon:
|
|
10376
|
+
icon: Za,
|
|
10377
10377
|
className: "text-[hsl(var(--promote-50))] outline-none",
|
|
10378
10378
|
variants: CC,
|
|
10379
10379
|
initial: r ? "enterFromUnfavorite" : "initial",
|
|
@@ -10391,7 +10391,7 @@ var SC = W.create(U), CC = {
|
|
|
10391
10391
|
}, "favorite") : /* @__PURE__ */ Q(SC, {
|
|
10392
10392
|
size: "sm",
|
|
10393
10393
|
whileTap: { scale: .8 },
|
|
10394
|
-
icon:
|
|
10394
|
+
icon: Eo,
|
|
10395
10395
|
className: "outline-none",
|
|
10396
10396
|
variants: CC,
|
|
10397
10397
|
initial: r ? "enterFromFavorite" : "initial",
|
|
@@ -10452,13 +10452,13 @@ var SC = W.create(U), CC = {
|
|
|
10452
10452
|
};
|
|
10453
10453
|
return /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(dr, {
|
|
10454
10454
|
variant: "outline",
|
|
10455
|
-
icon:
|
|
10455
|
+
icon: Qr,
|
|
10456
10456
|
hideLabel: !0,
|
|
10457
10457
|
label: t,
|
|
10458
10458
|
pressed: p,
|
|
10459
10459
|
onClick: () => y(!0),
|
|
10460
10460
|
append: d && /* @__PURE__ */ Q(LC, { className: "absolute -right-0.5 -top-[1px]" })
|
|
10461
|
-
}), /* @__PURE__ */ Q(
|
|
10461
|
+
}), /* @__PURE__ */ Q(La, {
|
|
10462
10462
|
isOpen: p,
|
|
10463
10463
|
onClose: () => y(!1),
|
|
10464
10464
|
position: "center",
|
|
@@ -10544,7 +10544,7 @@ var SC = W.create(U), CC = {
|
|
|
10544
10544
|
}, AC = ({ content: e }) => /* @__PURE__ */ $("div", {
|
|
10545
10545
|
className: "flex flex-row items-center gap-2",
|
|
10546
10546
|
children: [/* @__PURE__ */ Q(U, {
|
|
10547
|
-
icon:
|
|
10547
|
+
icon: Qr,
|
|
10548
10548
|
size: "sm",
|
|
10549
10549
|
className: "text-f1-icon-secondary"
|
|
10550
10550
|
}), /* @__PURE__ */ Q(Zt, {
|
|
@@ -10555,7 +10555,7 @@ var SC = W.create(U), CC = {
|
|
|
10555
10555
|
className: "mt-auto isolate border border-x-0 border-b-0 border-t border-solid border-f1-border-secondary py-3 pl-4 pr-7",
|
|
10556
10556
|
children: /* @__PURE__ */ Q(B, {
|
|
10557
10557
|
variant: "outline",
|
|
10558
|
-
icon:
|
|
10558
|
+
icon: Qr,
|
|
10559
10559
|
label: e,
|
|
10560
10560
|
href: t,
|
|
10561
10561
|
onClick: n
|
|
@@ -10578,7 +10578,7 @@ var SC = W.create(U), CC = {
|
|
|
10578
10578
|
muted: !0,
|
|
10579
10579
|
loop: !0,
|
|
10580
10580
|
playsInline: !0
|
|
10581
|
-
}) : /* @__PURE__ */ Q(
|
|
10581
|
+
}) : /* @__PURE__ */ Q(es, {
|
|
10582
10582
|
src: n,
|
|
10583
10583
|
className: "block aspect-video w-full bg-f1-background-secondary object-cover object-center"
|
|
10584
10584
|
})
|
|
@@ -10629,7 +10629,7 @@ var SC = W.create(U), CC = {
|
|
|
10629
10629
|
title: e,
|
|
10630
10630
|
description: r,
|
|
10631
10631
|
icon: /* @__PURE__ */ Q(U, {
|
|
10632
|
-
icon:
|
|
10632
|
+
icon: Qr,
|
|
10633
10633
|
size: "lg",
|
|
10634
10634
|
className: "block"
|
|
10635
10635
|
}),
|
|
@@ -10695,7 +10695,7 @@ var SC = W.create(U), CC = {
|
|
|
10695
10695
|
className: "relative z-10 h-6 w-6",
|
|
10696
10696
|
children: /* @__PURE__ */ Q(B, {
|
|
10697
10697
|
variant: "ghost",
|
|
10698
|
-
icon:
|
|
10698
|
+
icon: yr,
|
|
10699
10699
|
size: "sm",
|
|
10700
10700
|
hideLabel: !0,
|
|
10701
10701
|
onClick: () => {
|
|
@@ -10751,7 +10751,7 @@ function zC({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
10751
10751
|
hideLabel: !0,
|
|
10752
10752
|
onClick: () => f(),
|
|
10753
10753
|
label: "Open main menu",
|
|
10754
|
-
icon:
|
|
10754
|
+
icon: mo
|
|
10755
10755
|
})
|
|
10756
10756
|
})
|
|
10757
10757
|
}, "menu") : null }),
|
|
@@ -10795,7 +10795,7 @@ function zC({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
10795
10795
|
variant: t.variant
|
|
10796
10796
|
}) }) : null,
|
|
10797
10797
|
!i && _ && (h || y || b) ? /* @__PURE__ */ Q("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
10798
|
-
h ? /* @__PURE__ */ Q(
|
|
10798
|
+
h ? /* @__PURE__ */ Q(Da, { ...h }) : null,
|
|
10799
10799
|
h && y ? /* @__PURE__ */ Q("div", { className: "h-4 w-px bg-f1-border-secondary" }) : null,
|
|
10800
10800
|
b || y ? /* @__PURE__ */ $("div", {
|
|
10801
10801
|
className: "flex items-center gap-2",
|
|
@@ -10812,7 +10812,7 @@ function zC({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
10812
10812
|
}) : null,
|
|
10813
10813
|
/* @__PURE__ */ $("div", {
|
|
10814
10814
|
className: "flex items-center gap-3",
|
|
10815
|
-
children: [u ? null : /* @__PURE__ */ Q(
|
|
10815
|
+
children: [u ? null : /* @__PURE__ */ Q(ro, {
|
|
10816
10816
|
tooltip: c,
|
|
10817
10817
|
autoOpen: l
|
|
10818
10818
|
}), /* @__PURE__ */ Q(nC, {})]
|
|
@@ -10823,7 +10823,7 @@ function zC({ module: e, statusTag: t = void 0, breadcrumbs: n = [], actions: r
|
|
|
10823
10823
|
}
|
|
10824
10824
|
function BC({ action: e }) {
|
|
10825
10825
|
let t = Y(null), [n, r] = X(!1), i = e.variant ?? "outline";
|
|
10826
|
-
return "actions" in e ? /* @__PURE__ */ Q(
|
|
10826
|
+
return "actions" in e ? /* @__PURE__ */ Q(Oo, {
|
|
10827
10827
|
items: e.actions,
|
|
10828
10828
|
open: n,
|
|
10829
10829
|
onOpenChange: r,
|
|
@@ -10876,13 +10876,13 @@ function HC({ label: e, options: t, hasNewUpdate: n }) {
|
|
|
10876
10876
|
bottom: "calc(8px + env(safe-area-inset-bottom))",
|
|
10877
10877
|
right: "calc(8px + env(safe-area-inset-right))"
|
|
10878
10878
|
},
|
|
10879
|
-
children: /* @__PURE__ */ Q(
|
|
10879
|
+
children: /* @__PURE__ */ Q(Oo, {
|
|
10880
10880
|
items: VC(t),
|
|
10881
10881
|
children: /* @__PURE__ */ $("button", {
|
|
10882
10882
|
className: G("relative flex h-6 w-6 items-center justify-center rounded-full bg-f1-background-inverse text-f1-foreground-inverse shadow-md transition-all", pr()),
|
|
10883
10883
|
"aria-label": e,
|
|
10884
10884
|
children: [/* @__PURE__ */ Q(U, {
|
|
10885
|
-
icon:
|
|
10885
|
+
icon: Io,
|
|
10886
10886
|
size: "sm"
|
|
10887
10887
|
}), n ? /* @__PURE__ */ Q("div", { className: "absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-f1-background-critical-bold ring-2 ring-f1-background-critical" }) : null]
|
|
10888
10888
|
})
|
|
@@ -11027,7 +11027,7 @@ var GC = Bn(tr("Page", WC)), KC = (e) => e.reduce((e, t) => e + t.chats.filter((
|
|
|
11027
11027
|
let u = nl() === "two-level", [d, f] = X(t), p = fn(), m = a && !d;
|
|
11028
11028
|
return /* @__PURE__ */ Q("div", {
|
|
11029
11029
|
"data-sidebar-collapsible-open": d,
|
|
11030
|
-
children: /* @__PURE__ */ $(
|
|
11030
|
+
children: /* @__PURE__ */ $(Ni, {
|
|
11031
11031
|
open: d,
|
|
11032
11032
|
children: [/* @__PURE__ */ $("div", {
|
|
11033
11033
|
className: "group/section group relative flex items-center",
|
|
@@ -11069,7 +11069,7 @@ var GC = Bn(tr("Page", WC)), KC = (e) => e.reduce((e, t) => e + t.chats.filter((
|
|
|
11069
11069
|
}
|
|
11070
11070
|
})
|
|
11071
11071
|
}) : null]
|
|
11072
|
-
}), /* @__PURE__ */ Q(
|
|
11072
|
+
}), /* @__PURE__ */ Q(zi, {
|
|
11073
11073
|
forceMount: !0,
|
|
11074
11074
|
className: "mt-0.5 flex flex-col gap-1",
|
|
11075
11075
|
children: /* @__PURE__ */ Q(dw, {
|
|
@@ -11095,7 +11095,7 @@ var GC = Bn(tr("Page", WC)), KC = (e) => e.reduce((e, t) => e + t.chats.filter((
|
|
|
11095
11095
|
}), vw = Nl(null), yw = () => Rl(vw), bw = ({ value: e, onChange: t, placeholder: n }) => /* @__PURE__ */ $("div", {
|
|
11096
11096
|
className: G("flex w-full -mt-px items-center gap-1 rounded bg-f1-background-inverse-secondary p-1.5 text-f1-foreground-secondary ring-1 ring-inset ring-f1-border-secondary transition-colors hover:ring-f1-border-hover dark:bg-f1-background-tertiary", "focus-within:outline-none focus-within:ring-f1-special-ring"),
|
|
11097
11097
|
children: [/* @__PURE__ */ Q(U, {
|
|
11098
|
-
icon:
|
|
11098
|
+
icon: os,
|
|
11099
11099
|
size: "md"
|
|
11100
11100
|
}), /* @__PURE__ */ Q("input", {
|
|
11101
11101
|
type: "search",
|
|
@@ -11141,7 +11141,7 @@ var GC = Bn(tr("Page", WC)), KC = (e) => e.reduce((e, t) => e + t.chats.filter((
|
|
|
11141
11141
|
});
|
|
11142
11142
|
}, ww = ({ groups: e, isSearching: t, animateItems: n }) => {
|
|
11143
11143
|
let r = fn();
|
|
11144
|
-
return n ? /* @__PURE__ */ Q(
|
|
11144
|
+
return n ? /* @__PURE__ */ Q(br, { children: /* @__PURE__ */ Q(Wn, {
|
|
11145
11145
|
mode: "popLayout",
|
|
11146
11146
|
initial: !1,
|
|
11147
11147
|
children: e.map((e) => /* @__PURE__ */ Q(W.div, {
|
|
@@ -11337,7 +11337,7 @@ var Ow = Bn(Dw), kw = (e, t) => e.type === "emoji" ? {
|
|
|
11337
11337
|
avatar: e
|
|
11338
11338
|
} : t && !e.src ? {
|
|
11339
11339
|
kind: "icon",
|
|
11340
|
-
icon:
|
|
11340
|
+
icon: Qr
|
|
11341
11341
|
} : {
|
|
11342
11342
|
kind: "avatar",
|
|
11343
11343
|
avatar: {
|
|
@@ -11467,7 +11467,7 @@ var Ow = Bn(Dw), kw = (e, t) => e.type === "emoji" ? {
|
|
|
11467
11467
|
size: "sm",
|
|
11468
11468
|
hideLabel: !0,
|
|
11469
11469
|
label: e.pinned ? r.chat.unpin : r.chat.pin,
|
|
11470
|
-
icon: e.pinned ?
|
|
11470
|
+
icon: e.pinned ? Ti : Mr,
|
|
11471
11471
|
onClick: (t) => {
|
|
11472
11472
|
t.stopPropagation(), e.onTogglePin?.();
|
|
11473
11473
|
}
|
|
@@ -12003,7 +12003,7 @@ var dT = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
12003
12003
|
a,
|
|
12004
12004
|
n,
|
|
12005
12005
|
t.id
|
|
12006
|
-
]), d = /* @__PURE__ */ Q(
|
|
12006
|
+
]), d = /* @__PURE__ */ Q(Oo, {
|
|
12007
12007
|
items: u,
|
|
12008
12008
|
label: a.navigation.sidebar.companySelector.label,
|
|
12009
12009
|
side: "right",
|
|
@@ -12081,12 +12081,12 @@ var dT = ({ companies: e, selected: t, onChange: n, children: r, additionalOptio
|
|
|
12081
12081
|
})]
|
|
12082
12082
|
})
|
|
12083
12083
|
});
|
|
12084
|
-
}, pT = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(
|
|
12084
|
+
}, pT = ({ company: e, withNotification: t = !1, size: n = "sm" }) => /* @__PURE__ */ Q(ms, {
|
|
12085
12085
|
name: e?.name?.[0],
|
|
12086
12086
|
src: e?.logo,
|
|
12087
12087
|
size: n,
|
|
12088
12088
|
badge: t ? {
|
|
12089
|
-
icon:
|
|
12089
|
+
icon: Wo,
|
|
12090
12090
|
type: "highlight"
|
|
12091
12091
|
} : void 0
|
|
12092
12092
|
}), mT = ({ company: e, withNotification: t = !1 }) => /* @__PURE__ */ $("div", {
|
|
@@ -12111,10 +12111,10 @@ function hT({ user: e, profile: t, options: n, onDropdownClick: r, compact: i =
|
|
|
12111
12111
|
src: e.avatarUrl
|
|
12112
12112
|
},
|
|
12113
12113
|
...t
|
|
12114
|
-
}] : [], ...n], d = /* @__PURE__ */ Q(
|
|
12114
|
+
}] : [], ...n], d = /* @__PURE__ */ Q(as, {
|
|
12115
12115
|
minWidth: "0",
|
|
12116
12116
|
onPointerMove: Bc,
|
|
12117
|
-
children: /* @__PURE__ */ Q(
|
|
12117
|
+
children: /* @__PURE__ */ Q(Tr, {
|
|
12118
12118
|
items: u,
|
|
12119
12119
|
side: i ? "right" : void 0,
|
|
12120
12120
|
align: i ? "end" : "start",
|
|
@@ -12133,14 +12133,14 @@ function hT({ user: e, profile: t, options: n, onDropdownClick: r, compact: i =
|
|
|
12133
12133
|
focused: o,
|
|
12134
12134
|
children: /* @__PURE__ */ Q("span", {
|
|
12135
12135
|
className: G("flex size-full items-center justify-center", rT),
|
|
12136
|
-
children: /* @__PURE__ */ Q(
|
|
12136
|
+
children: /* @__PURE__ */ Q(is, {
|
|
12137
12137
|
src: e.avatarUrl,
|
|
12138
12138
|
firstName: e.firstName,
|
|
12139
12139
|
lastName: e.lastName,
|
|
12140
12140
|
size: "sm"
|
|
12141
12141
|
})
|
|
12142
12142
|
})
|
|
12143
|
-
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(
|
|
12143
|
+
}) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(is, {
|
|
12144
12144
|
src: e.avatarUrl,
|
|
12145
12145
|
firstName: e.firstName,
|
|
12146
12146
|
lastName: e.lastName,
|
|
@@ -12172,7 +12172,7 @@ function gT({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
12172
12172
|
onDropdownClick: a
|
|
12173
12173
|
})
|
|
12174
12174
|
}),
|
|
12175
|
-
s?.length ? /* @__PURE__ */ Q(
|
|
12175
|
+
s?.length ? /* @__PURE__ */ Q(as, {
|
|
12176
12176
|
display: "flex",
|
|
12177
12177
|
shrink: !1,
|
|
12178
12178
|
alignItems: "center",
|
|
@@ -12185,17 +12185,17 @@ function gT({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
12185
12185
|
children: /* @__PURE__ */ $("div", {
|
|
12186
12186
|
className: "relative",
|
|
12187
12187
|
children: [/* @__PURE__ */ Q(B, {
|
|
12188
|
-
icon:
|
|
12188
|
+
icon: Xi,
|
|
12189
12189
|
label: c.notifications,
|
|
12190
12190
|
onClick: i,
|
|
12191
12191
|
variant: "ghost",
|
|
12192
12192
|
hideLabel: !0
|
|
12193
12193
|
}), o ? /* @__PURE__ */ Q("div", {
|
|
12194
12194
|
className: "absolute -right-1 -top-1 rounded-full bg-f1-background",
|
|
12195
|
-
children: /* @__PURE__ */ Q(
|
|
12195
|
+
children: /* @__PURE__ */ Q(ns, {
|
|
12196
12196
|
type: "highlight",
|
|
12197
12197
|
size: "sm",
|
|
12198
|
-
icon:
|
|
12198
|
+
icon: Wo
|
|
12199
12199
|
})
|
|
12200
12200
|
}) : null]
|
|
12201
12201
|
})
|
|
@@ -12204,7 +12204,7 @@ function gT({ user: e, options: t, showActivityButton: n = !1, activityButtonSho
|
|
|
12204
12204
|
});
|
|
12205
12205
|
}
|
|
12206
12206
|
function _T({ action: e }) {
|
|
12207
|
-
return e.items ? /* @__PURE__ */ Q(
|
|
12207
|
+
return e.items ? /* @__PURE__ */ Q(Oo, {
|
|
12208
12208
|
modal: !1,
|
|
12209
12209
|
items: e.items,
|
|
12210
12210
|
open: e.open,
|
|
@@ -12302,7 +12302,7 @@ var CT = ({ item: e, active: t }) => {
|
|
|
12302
12302
|
onClick: () => e.onChange(!e.pinned),
|
|
12303
12303
|
className: G("mr-1 flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-f1-icon", "hover:bg-f1-background-tertiary hover:text-f1-icon-bold", pr(), !e.pinned && "opacity-0 focus-visible:opacity-100 group-hover/item:opacity-100"),
|
|
12304
12304
|
children: /* @__PURE__ */ Q(U, {
|
|
12305
|
-
icon: e.pinned ?
|
|
12305
|
+
icon: e.pinned ? Ti : Mr,
|
|
12306
12306
|
size: "sm"
|
|
12307
12307
|
})
|
|
12308
12308
|
}), TT = ({ item: e }) => {
|
|
@@ -12324,15 +12324,15 @@ var CT = ({ item: e, active: t }) => {
|
|
|
12324
12324
|
return !S && !b && t.push({
|
|
12325
12325
|
label: u.actions.moveUp,
|
|
12326
12326
|
onClick: () => o?.(i, i - 1),
|
|
12327
|
-
icon:
|
|
12327
|
+
icon: Uo
|
|
12328
12328
|
}), !S && !x && t.push({
|
|
12329
12329
|
label: u.actions.moveDown,
|
|
12330
12330
|
onClick: () => o?.(i, i + 1),
|
|
12331
|
-
icon:
|
|
12331
|
+
icon: jr
|
|
12332
12332
|
}), t.length > 0 && t.push({ type: "separator" }), t.push({
|
|
12333
12333
|
label: u.favorites.remove,
|
|
12334
12334
|
onClick: () => r?.(e),
|
|
12335
|
-
icon:
|
|
12335
|
+
icon: fi,
|
|
12336
12336
|
critical: !0
|
|
12337
12337
|
}), t;
|
|
12338
12338
|
}, [
|
|
@@ -12386,7 +12386,7 @@ var CT = ({ item: e, active: t }) => {
|
|
|
12386
12386
|
})
|
|
12387
12387
|
}), /* @__PURE__ */ Q("div", {
|
|
12388
12388
|
className: G("absolute inset-y-1 right-1 z-10 flex h-6 w-6 items-center justify-center rounded-sm opacity-0 transition-opacity duration-100 hover:bg-f1-background-secondary group-hover:opacity-100", v && "bg-f1-background-secondary opacity-100", E && "opacity-100"),
|
|
12389
|
-
children: /* @__PURE__ */ Q(
|
|
12389
|
+
children: /* @__PURE__ */ Q(Oo, {
|
|
12390
12390
|
open: v,
|
|
12391
12391
|
onOpenChange: y,
|
|
12392
12392
|
items: C,
|
|
@@ -12394,7 +12394,7 @@ var CT = ({ item: e, active: t }) => {
|
|
|
12394
12394
|
className: "flex items-center justify-center",
|
|
12395
12395
|
role: "list",
|
|
12396
12396
|
children: /* @__PURE__ */ Q(U, {
|
|
12397
|
-
icon:
|
|
12397
|
+
icon: Zo,
|
|
12398
12398
|
size: "sm"
|
|
12399
12399
|
})
|
|
12400
12400
|
})
|
|
@@ -12509,7 +12509,7 @@ function OT({ tree: e, onCollapse: t, onSort: n, onFavoritesChange: r, favorites
|
|
|
12509
12509
|
}, []), m = K(function(e) {
|
|
12510
12510
|
n?.(e);
|
|
12511
12511
|
}, [n]), h = yT();
|
|
12512
|
-
return /* @__PURE__ */ Q(xT, { children: /* @__PURE__ */ Q(
|
|
12512
|
+
return /* @__PURE__ */ Q(xT, { children: /* @__PURE__ */ Q(br, {
|
|
12513
12513
|
id: "sidebar-menu",
|
|
12514
12514
|
children: /* @__PURE__ */ Q(kT, {
|
|
12515
12515
|
disableDragging: h,
|
|
@@ -13014,7 +13014,7 @@ var YT = 350, XT = (e = !0) => {
|
|
|
13014
13014
|
});
|
|
13015
13015
|
return /* @__PURE__ */ Q("div", {
|
|
13016
13016
|
className: G("group relative flex w-full items-center justify-center", n),
|
|
13017
|
-
children: e.options ? /* @__PURE__ */ Q(
|
|
13017
|
+
children: e.options ? /* @__PURE__ */ Q(Oo, {
|
|
13018
13018
|
items: e.options,
|
|
13019
13019
|
side: "right",
|
|
13020
13020
|
align: "end",
|
|
@@ -13051,7 +13051,7 @@ var YT = 350, XT = (e = !0) => {
|
|
|
13051
13051
|
className: G("flex w-full shrink-0 flex-col", "transition-[padding]", zT, n ? "pb-0.5 pt-1" : "pb-0 pt-2"),
|
|
13052
13052
|
children: /* @__PURE__ */ Q(rE, { action: {
|
|
13053
13053
|
id: "search",
|
|
13054
|
-
icon:
|
|
13054
|
+
icon: os,
|
|
13055
13055
|
shortcut: t,
|
|
13056
13056
|
...e
|
|
13057
13057
|
} })
|
|
@@ -13430,7 +13430,7 @@ function DE({ onClick: e, placeholder: t, shortcut: n = ["cmd", "k"], ...r }) {
|
|
|
13430
13430
|
children: [/* @__PURE__ */ $("div", {
|
|
13431
13431
|
className: "flex items-center gap-1",
|
|
13432
13432
|
children: [/* @__PURE__ */ Q(U, {
|
|
13433
|
-
icon:
|
|
13433
|
+
icon: os,
|
|
13434
13434
|
size: "md"
|
|
13435
13435
|
}), /* @__PURE__ */ Q("span", { children: t })]
|
|
13436
13436
|
}), /* @__PURE__ */ Q("div", {
|
|
@@ -13579,7 +13579,7 @@ function jE({ header: e, body: t, footer: n, onFooterDropdownClick: r }) {
|
|
|
13579
13579
|
}),
|
|
13580
13580
|
t ? /* @__PURE__ */ $("nav", {
|
|
13581
13581
|
className: "relative flex-grow overflow-y-hidden",
|
|
13582
|
-
children: [/* @__PURE__ */ $(
|
|
13582
|
+
children: [/* @__PURE__ */ $(ls, {
|
|
13583
13583
|
className: "h-full",
|
|
13584
13584
|
children: [
|
|
13585
13585
|
/* @__PURE__ */ Q("div", {
|
|
@@ -13715,7 +13715,7 @@ var ME = Bn(jE), NE = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
13715
13715
|
showLabel: !0,
|
|
13716
13716
|
probe: !0
|
|
13717
13717
|
}, e.id))
|
|
13718
|
-
}), /* @__PURE__ */ Q(
|
|
13718
|
+
}), /* @__PURE__ */ Q(br, { children: e.map((e) => /* @__PURE__ */ Q(PE, {
|
|
13719
13719
|
tab: e,
|
|
13720
13720
|
isActive: e.id === t,
|
|
13721
13721
|
showLabel: e.id === t || s,
|
|
@@ -13736,12 +13736,12 @@ var ME = Bn(jE), NE = ({ isActive: e }) => /* @__PURE__ */ Q("div", {
|
|
|
13736
13736
|
size: "sm"
|
|
13737
13737
|
},
|
|
13738
13738
|
rejected: {
|
|
13739
|
-
icon:
|
|
13739
|
+
icon: yr,
|
|
13740
13740
|
type: "critical",
|
|
13741
13741
|
size: "sm"
|
|
13742
13742
|
}
|
|
13743
13743
|
}, RE = {
|
|
13744
|
-
icon:
|
|
13744
|
+
icon: Io,
|
|
13745
13745
|
type: "neutral",
|
|
13746
13746
|
size: "sm"
|
|
13747
13747
|
}, zE = {
|
|
@@ -13782,7 +13782,7 @@ var HE = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
13782
13782
|
}),
|
|
13783
13783
|
/* @__PURE__ */ Q("div", {
|
|
13784
13784
|
className: "w-full",
|
|
13785
|
-
children: /* @__PURE__ */ Q(
|
|
13785
|
+
children: /* @__PURE__ */ Q(hs, {
|
|
13786
13786
|
avatars: l,
|
|
13787
13787
|
layout: "fill",
|
|
13788
13788
|
type: "person",
|
|
@@ -13827,7 +13827,7 @@ var HE = ({ title: e, approvalsRequired: t = 1, status: n, approvers: r, approva
|
|
|
13827
13827
|
});
|
|
13828
13828
|
})), WE = (e, t) => typeof t == "string" && t in e;
|
|
13829
13829
|
function GE(e, t, n) {
|
|
13830
|
-
let r = {}, i = !1, a =
|
|
13830
|
+
let r = {}, i = !1, a = Lo(e);
|
|
13831
13831
|
if (a !== void 0 && t.filters) {
|
|
13832
13832
|
let e = t.filters, o = Object.fromEntries(Object.entries(a).filter(([t]) => WE(e, t)));
|
|
13833
13833
|
(Object.keys(o).length > 0 || Object.keys(a).length === 0) && (n.setCurrentFilters(o), r.filters = o, i = !0);
|
|
@@ -13855,7 +13855,7 @@ function GE(e, t, n) {
|
|
|
13855
13855
|
//#endregion
|
|
13856
13856
|
//#region src/addons/data-collection/OneDataCollection/hooks/useDataCollectionItemNavigation/useDataCollectionItemNavigation.ts
|
|
13857
13857
|
function KE(e) {
|
|
13858
|
-
let { source: t, collectionId: n, activeItemId: r, defaultActiveItemId: i, onActiveItemChange: a, idProvider: o, itemUrl: s, getItemTitle: c, enabled: l = !0, restorePersistedState: u = !0, currentFilters: d, navigationMode: f = "url", deps: p = [] } = e, m =
|
|
13858
|
+
let { source: t, collectionId: n, activeItemId: r, defaultActiveItemId: i, onActiveItemChange: a, idProvider: o, itemUrl: s, getItemTitle: c, enabled: l = !0, restorePersistedState: u = !0, currentFilters: d, navigationMode: f = "url", deps: p = [] } = e, m = No(), h = me(t, p), [g, _] = X(null), v = g?.key === n && g.settled, y = Y(h);
|
|
13859
13859
|
y.current = h;
|
|
13860
13860
|
let b = Y(m);
|
|
13861
13861
|
b.current = m;
|
|
@@ -13911,7 +13911,7 @@ function KE(e) {
|
|
|
13911
13911
|
}, t);
|
|
13912
13912
|
} catch {}
|
|
13913
13913
|
};
|
|
13914
|
-
return
|
|
13914
|
+
return Ei(n, () => {
|
|
13915
13915
|
e();
|
|
13916
13916
|
});
|
|
13917
13917
|
}, [
|
|
@@ -13919,7 +13919,7 @@ function KE(e) {
|
|
|
13919
13919
|
l,
|
|
13920
13920
|
u
|
|
13921
13921
|
]);
|
|
13922
|
-
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } =
|
|
13922
|
+
let { data: D, paginationInfo: O, setPage: k, loadMore: A, isLoading: j, isInitialLoading: M } = fs(h, {
|
|
13923
13923
|
enabled: l && v,
|
|
13924
13924
|
fetchParamsProvider: (e) => ({
|
|
13925
13925
|
...e,
|
|
@@ -14027,7 +14027,7 @@ function XE(e, t) {
|
|
|
14027
14027
|
async function ZE(e, t, n) {
|
|
14028
14028
|
if (!e || e.length === 0) throw Error("No data available for export");
|
|
14029
14029
|
let r = At(e, t, n), i = [...n?.includeHeaders === !1 ? [] : [r.map((e) => e.label)], ...e.map((e) => r.map((t) => XE(e, t)))];
|
|
14030
|
-
vt(await
|
|
14030
|
+
vt(await Di([{
|
|
14031
14031
|
name: "Data",
|
|
14032
14032
|
rows: i
|
|
14033
14033
|
}]), nt(n?.filename || "data_collection", "xlsx"));
|
|
@@ -14150,13 +14150,13 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14150
14150
|
children: [/* @__PURE__ */ Q("span", {
|
|
14151
14151
|
className: G("flex shrink-0 items-center justify-center", u[a ? "phone" : "desktop"], l && G(a ? "rounded" : "rounded-sm", l.className)),
|
|
14152
14152
|
style: l?.style,
|
|
14153
|
-
children: e.avatar ? /* @__PURE__ */ Q(
|
|
14153
|
+
children: e.avatar ? /* @__PURE__ */ Q(is, {
|
|
14154
14154
|
firstName: e.avatar.firstName,
|
|
14155
14155
|
lastName: e.avatar.lastName,
|
|
14156
14156
|
src: e.avatar.src,
|
|
14157
14157
|
size: a ? "sm" : "xs"
|
|
14158
14158
|
}) : /* @__PURE__ */ Q(U, {
|
|
14159
|
-
icon: e.icon ??
|
|
14159
|
+
icon: e.icon ?? wr,
|
|
14160
14160
|
size: d
|
|
14161
14161
|
})
|
|
14162
14162
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -14308,7 +14308,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14308
14308
|
onClick: a,
|
|
14309
14309
|
children: [n ? /* @__PURE__ */ Q("span", {
|
|
14310
14310
|
className: "flex h-5 w-5 shrink-0 items-center justify-center",
|
|
14311
|
-
children: /* @__PURE__ */ Q(
|
|
14311
|
+
children: /* @__PURE__ */ Q(is, {
|
|
14312
14312
|
firstName: n.firstName,
|
|
14313
14313
|
lastName: n.lastName,
|
|
14314
14314
|
src: n.src,
|
|
@@ -14330,7 +14330,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14330
14330
|
className: G("flex items-center gap-2.5 border-0 border-solid border-f1-border-secondary px-4 py-3.5", v ? "border-t" : "border-b"),
|
|
14331
14331
|
children: [
|
|
14332
14332
|
/* @__PURE__ */ Q(U, {
|
|
14333
|
-
icon:
|
|
14333
|
+
icon: os,
|
|
14334
14334
|
size: "md",
|
|
14335
14335
|
color: "secondary"
|
|
14336
14336
|
}),
|
|
@@ -14460,7 +14460,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14460
14460
|
label: t.label,
|
|
14461
14461
|
hint: t.description,
|
|
14462
14462
|
avatar: t.avatar,
|
|
14463
|
-
icon: t.icon ??
|
|
14463
|
+
icon: t.icon ?? wr,
|
|
14464
14464
|
color: t.color,
|
|
14465
14465
|
keywords: t.keywords,
|
|
14466
14466
|
run: y(t)
|
|
@@ -14479,7 +14479,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14479
14479
|
key: "copy",
|
|
14480
14480
|
label: p.rowActions.copyLinkTo(e.label),
|
|
14481
14481
|
tip: p.rowActions.copyLink,
|
|
14482
|
-
icon:
|
|
14482
|
+
icon: va,
|
|
14483
14483
|
run: () => f(r)
|
|
14484
14484
|
}] : []];
|
|
14485
14485
|
return {
|
|
@@ -14487,7 +14487,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14487
14487
|
group: t,
|
|
14488
14488
|
label: e.label,
|
|
14489
14489
|
hint: e.kind === "one" ? e.sublabel : void 0,
|
|
14490
|
-
icon: e.icon ??
|
|
14490
|
+
icon: e.icon ?? wr,
|
|
14491
14491
|
color: e.color,
|
|
14492
14492
|
avatar: e.kind === "one" ? e.avatar : void 0,
|
|
14493
14493
|
scopeRef: n ? e : void 0,
|
|
@@ -14594,7 +14594,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14594
14594
|
group: e.label,
|
|
14595
14595
|
label: t.label,
|
|
14596
14596
|
hint: t.sublabel,
|
|
14597
|
-
icon: t.icon ?? (r.has(t.value) ?
|
|
14597
|
+
icon: t.icon ?? (r.has(t.value) ? Ii : void 0),
|
|
14598
14598
|
color: t.color,
|
|
14599
14599
|
avatar: t.avatar,
|
|
14600
14600
|
run: () => {
|
|
@@ -14636,7 +14636,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
14636
14636
|
...e,
|
|
14637
14637
|
id: `recent-${e.id}`,
|
|
14638
14638
|
group: p.groups.recent,
|
|
14639
|
-
icon:
|
|
14639
|
+
icon: wi,
|
|
14640
14640
|
color: void 0,
|
|
14641
14641
|
hint: void 0
|
|
14642
14642
|
})), ...r.flatMap((e) => e.provider ? [] : (b.find((t) => t.label === e.label)?.rows ?? []).slice(0, e.openLimit ?? Infinity))];
|
|
@@ -15000,10 +15000,10 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
15000
15000
|
ve(t), ae(t);
|
|
15001
15001
|
} else e.key.length === 1 && !e.metaKey && !e.ctrlKey && !e.altKey && (r(), R(), _((t) => t + e.key));
|
|
15002
15002
|
}, Ne = (e) => e && e.kind === "one" && e.sublabel ? `${e.label} · ${e.sublabel}` : e?.label ?? "", Pe = Ne(S ?? void 0), Fe = S ? void 0 : h ? d.placeholderPhone : d.placeholder, Ie = C.kind === "param" ? (C.action.params ?? [])[C.step]?.label ?? d.placeholderScoped : S ? d.fieldLabelScoped(Pe) : d.placeholder, Le = v.flatMap((e, t) => [e.trim(), b[t]?.label ?? ""]).filter(Boolean).join(" "), Re = S ? g.trim() ? Le : b.map((e) => e.label).join(" ") : g.trim();
|
|
15003
|
-
return /* @__PURE__ */ Q(
|
|
15003
|
+
return /* @__PURE__ */ Q(Va, {
|
|
15004
15004
|
open: e,
|
|
15005
15005
|
onOpenChange: t,
|
|
15006
|
-
children: /* @__PURE__ */ $(
|
|
15006
|
+
children: /* @__PURE__ */ $(di, {
|
|
15007
15007
|
"aria-label": d.label,
|
|
15008
15008
|
"aria-describedby": void 0,
|
|
15009
15009
|
withTranslateAnimation: !1,
|
|
@@ -15019,7 +15019,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
15019
15019
|
e.target === e.currentTarget && te();
|
|
15020
15020
|
},
|
|
15021
15021
|
children: [
|
|
15022
|
-
/* @__PURE__ */ Q(
|
|
15022
|
+
/* @__PURE__ */ Q(si, {
|
|
15023
15023
|
className: "sr-only",
|
|
15024
15024
|
children: d.label
|
|
15025
15025
|
}),
|
|
@@ -15178,14 +15178,14 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
15178
15178
|
"orange",
|
|
15179
15179
|
"red",
|
|
15180
15180
|
"grass"
|
|
15181
|
-
], eO = (e) => e.type === "system", tO = (e) => e.type === "call", nO = (e) => e.type === void 0 || e.type === "message", rO = (e) => e.type === "post", iO = "messages", aO = "latest", oO = (e) => e.kind === "image" ? "image" :
|
|
15181
|
+
], eO = (e) => e.type === "system", tO = (e) => e.type === "call", nO = (e) => e.type === void 0 || e.type === "message", rO = (e) => e.type === "post", iO = "messages", aO = "latest", oO = (e) => e.kind === "image" ? "image" : fa(e) ? "video" : Ra(e) ? "document" : "file", sO = (e) => {
|
|
15182
15182
|
let t = (e ?? []).filter((e) => e.kind === "image");
|
|
15183
15183
|
return t.length === 1 ? t[0] : void 0;
|
|
15184
15184
|
}, cO = (e) => {
|
|
15185
15185
|
if (e.progress !== void 0) return { bucket: "files" };
|
|
15186
|
-
if (
|
|
15187
|
-
let t =
|
|
15188
|
-
return t &&
|
|
15186
|
+
if (fa(e)) return { bucket: "videos" };
|
|
15187
|
+
let t = Ra(e);
|
|
15188
|
+
return t && Ca(e, t) ? {
|
|
15189
15189
|
bucket: "documents",
|
|
15190
15190
|
kind: t
|
|
15191
15191
|
} : { bucket: "files" };
|
|
@@ -15283,7 +15283,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
15283
15283
|
value: b,
|
|
15284
15284
|
children: i
|
|
15285
15285
|
});
|
|
15286
|
-
}, pO = () => Rl(dO), mO = 200, hO = 1600, gO = Nl(null), _O = Nl(null), vO = Nl(null), yO = Nl(null), bO = Nl(null), xO =
|
|
15286
|
+
}, pO = () => Rl(dO), mO = 200, hO = 1600, gO = Nl(null), _O = Nl(null), vO = Nl(null), yO = Nl(null), bO = Nl(null), xO = Mo, SO = ea, CO = Nl(null), wO = ({ children: e }) => {
|
|
15287
15287
|
let { messages: t, searchMessages: n, loadMessageContext: r, channel: i, capabilities: a } = El(), o = ml(), { showMessages: s, messagesActive: c } = pO(), l = Y(s);
|
|
15288
15288
|
l.current = s;
|
|
15289
15289
|
let [u, d] = X({ kind: "none" }), [f] = X(() => ul(null)), p = K((e) => f.set(e), [f]), m = Y(null), h = Y(null), g = Y(null), _ = Y(u);
|
|
@@ -15317,7 +15317,7 @@ var QE = ({ keys: e, label: t }) => /* @__PURE__ */ $("span", {
|
|
|
15317
15317
|
...t,
|
|
15318
15318
|
index: e
|
|
15319
15319
|
}), []), ue = K((e) => {
|
|
15320
|
-
let t =
|
|
15320
|
+
let t = Ra(e);
|
|
15321
15321
|
t && C({
|
|
15322
15322
|
file: e,
|
|
15323
15323
|
kind: t
|
|
@@ -15514,9 +15514,9 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15514
15514
|
scheduled: c.length,
|
|
15515
15515
|
draft: l.length
|
|
15516
15516
|
}, f = {
|
|
15517
|
-
pinned:
|
|
15518
|
-
scheduled:
|
|
15519
|
-
draft:
|
|
15517
|
+
pinned: Ti,
|
|
15518
|
+
scheduled: wi,
|
|
15519
|
+
draft: Vo
|
|
15520
15520
|
}, p = {
|
|
15521
15521
|
pinned: e.t("chat.community.pinnedPosts"),
|
|
15522
15522
|
scheduled: e.t("chat.community.scheduledPosts"),
|
|
@@ -15595,7 +15595,7 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15595
15595
|
}
|
|
15596
15596
|
}, ...i ? [{
|
|
15597
15597
|
label: n.t("chat.community.unpinPost"),
|
|
15598
|
-
icon:
|
|
15598
|
+
icon: Ti,
|
|
15599
15599
|
onClick: () => void i(e.id)
|
|
15600
15600
|
}] : []]
|
|
15601
15601
|
}, e.id))
|
|
@@ -15614,11 +15614,11 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15614
15614
|
meta: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ $("span", {
|
|
15615
15615
|
className: "flex items-center gap-1.5 text-f1-foreground-secondary",
|
|
15616
15616
|
children: [/* @__PURE__ */ Q(U, {
|
|
15617
|
-
icon:
|
|
15617
|
+
icon: wi,
|
|
15618
15618
|
size: "sm"
|
|
15619
15619
|
}), LO(e.scheduledFor, r)]
|
|
15620
15620
|
}), e.event ? /* @__PURE__ */ Q(ac, {
|
|
15621
|
-
icon:
|
|
15621
|
+
icon: $r,
|
|
15622
15622
|
text: n.t("chat.community.scheduledEvent")
|
|
15623
15623
|
}) : null] }),
|
|
15624
15624
|
onClick: a ? () => {
|
|
@@ -15648,7 +15648,7 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15648
15648
|
meta: /* @__PURE__ */ $("span", {
|
|
15649
15649
|
className: "flex items-center gap-1.5 text-f1-foreground-secondary",
|
|
15650
15650
|
children: [/* @__PURE__ */ Q(U, {
|
|
15651
|
-
icon:
|
|
15651
|
+
icon: Vo,
|
|
15652
15652
|
size: "sm"
|
|
15653
15653
|
}), n.t("chat.community.draftSavedAt", { when: LO(e.savedAt, r) })]
|
|
15654
15654
|
}),
|
|
@@ -15691,9 +15691,9 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15691
15691
|
})
|
|
15692
15692
|
}), o.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
15693
15693
|
className: "shrink-0",
|
|
15694
|
-
children: /* @__PURE__ */ Q(
|
|
15694
|
+
children: /* @__PURE__ */ Q(Oo, {
|
|
15695
15695
|
items: o,
|
|
15696
|
-
icon:
|
|
15696
|
+
icon: Zo,
|
|
15697
15697
|
size: "sm"
|
|
15698
15698
|
})
|
|
15699
15699
|
}) : null]
|
|
@@ -15755,7 +15755,7 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15755
15755
|
"aria-hidden": !e,
|
|
15756
15756
|
className: G("pointer-events-none absolute inset-1 z-50 flex flex-col items-center justify-center gap-2 rounded-xl", "border border-dashed border-f1-border bg-f1-background-tertiary/80 backdrop-blur", "transition-[opacity,visibility] duration-150 ease-out motion-reduce:transition-none", e ? "visible opacity-100" : "invisible opacity-0"),
|
|
15757
15757
|
children: [/* @__PURE__ */ Q(U, {
|
|
15758
|
-
icon:
|
|
15758
|
+
icon: Ji,
|
|
15759
15759
|
size: "lg",
|
|
15760
15760
|
color: "bold"
|
|
15761
15761
|
}), /* @__PURE__ */ Q("p", {
|
|
@@ -15773,7 +15773,7 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15773
15773
|
}), [t, n]);
|
|
15774
15774
|
return /* @__PURE__ */ Q(UO.Provider, {
|
|
15775
15775
|
value: r,
|
|
15776
|
-
children: /* @__PURE__ */ Q(
|
|
15776
|
+
children: /* @__PURE__ */ Q(Oi, {
|
|
15777
15777
|
reducedMotion: t,
|
|
15778
15778
|
children: e
|
|
15779
15779
|
})
|
|
@@ -15827,7 +15827,7 @@ var EO = () => TO(gO, "useChatJump"), DO = (e) => {
|
|
|
15827
15827
|
variant: "ghost",
|
|
15828
15828
|
hideLabel: !0,
|
|
15829
15829
|
label: e.chat.closeSearch,
|
|
15830
|
-
icon:
|
|
15830
|
+
icon: yr,
|
|
15831
15831
|
onClick: c
|
|
15832
15832
|
})]
|
|
15833
15833
|
})
|
|
@@ -15945,7 +15945,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
15945
15945
|
let n = H(), { tabs: r, activeTabId: i, selectTab: a } = pO(), { surface: o } = GO(), s = [{
|
|
15946
15946
|
id: iO,
|
|
15947
15947
|
label: n.chat.tabs.messages,
|
|
15948
|
-
icon:
|
|
15948
|
+
icon: Hr,
|
|
15949
15949
|
badge: t
|
|
15950
15950
|
}, ...r], { listRef: c, compact: l } = pk(s.map((e) => e.label).join("|"));
|
|
15951
15951
|
return q(() => {
|
|
@@ -16053,7 +16053,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16053
16053
|
}), /* @__PURE__ */ Q($s, {
|
|
16054
16054
|
align: "start",
|
|
16055
16055
|
className: "w-72 border-none bg-f1-background p-0 text-f1-foreground shadow-none",
|
|
16056
|
-
children: /* @__PURE__ */ Q(
|
|
16056
|
+
children: /* @__PURE__ */ Q(Fo, {
|
|
16057
16057
|
name: e.name,
|
|
16058
16058
|
avatar: e.avatar,
|
|
16059
16059
|
subtitle: e.subtitle,
|
|
@@ -16074,7 +16074,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16074
16074
|
className: G("h-2 w-2 rounded-full", "bg-f1-background-positive-bold")
|
|
16075
16075
|
})
|
|
16076
16076
|
}) : null, Ck = "[data-f0-chat-header-title]", wk = ({ channel: e, isFullscreen: t, onToggleFullscreen: n, onClose: r, actions: i, content: a, tabs: o }) => {
|
|
16077
|
-
let s = H(), { searchOpen: c, openSearch: l } = MO(), { panelOverlays: u } =
|
|
16077
|
+
let s = H(), { searchOpen: c, openSearch: l } = MO(), { panelOverlays: u } = Bi(), { surface: d } = GO(), f = d === "page", p = pO().tabs.length > 0, { sidebarState: m, toggleSidebar: h, hasPrimarySidebar: g } = Ic(), _ = f && !g && m !== "locked", v = e.type === "dm" && e.presence !== void 0, y = kw(e.avatar, e.type === "community"), b = e.type === "group" && e.details && e.title ? {
|
|
16078
16078
|
id: e.id,
|
|
16079
16079
|
name: e.title,
|
|
16080
16080
|
avatar: y.kind === "emoji" ? {
|
|
@@ -16085,7 +16085,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16085
16085
|
actions: e.details.actions
|
|
16086
16086
|
} : void 0, x = (i ?? []).filter((t) => !t.channelTypes || t.channelTypes.includes(e.type)), S = (e) => e.placement === "inline" && e.icon != null, C = x.filter(S), w = x.filter((e) => !S(e)), T = [...e.type === "announcement" ? [] : [{
|
|
16087
16087
|
label: s.actions.search,
|
|
16088
|
-
icon:
|
|
16088
|
+
icon: os,
|
|
16089
16089
|
onClick: l
|
|
16090
16090
|
}], ...w.map((t) => ({
|
|
16091
16091
|
label: t.label,
|
|
@@ -16144,7 +16144,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16144
16144
|
variant: "ghost",
|
|
16145
16145
|
hideLabel: !0,
|
|
16146
16146
|
label: s.navigation.sidebar.label,
|
|
16147
|
-
icon:
|
|
16147
|
+
icon: mo,
|
|
16148
16148
|
onClick: () => h()
|
|
16149
16149
|
}) : null,
|
|
16150
16150
|
e.user ? /* @__PURE__ */ Q(xk, {
|
|
@@ -16172,7 +16172,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16172
16172
|
label: t.label,
|
|
16173
16173
|
tooltip: t.label
|
|
16174
16174
|
}, t.id)),
|
|
16175
|
-
T.length > 0 ? /* @__PURE__ */ Q(
|
|
16175
|
+
T.length > 0 ? /* @__PURE__ */ Q(Oo, {
|
|
16176
16176
|
items: T,
|
|
16177
16177
|
align: "end",
|
|
16178
16178
|
label: s.chat.options,
|
|
@@ -16180,21 +16180,21 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16180
16180
|
variant: "ghost",
|
|
16181
16181
|
hideLabel: !0,
|
|
16182
16182
|
label: s.chat.options,
|
|
16183
|
-
icon:
|
|
16183
|
+
icon: Ir
|
|
16184
16184
|
})
|
|
16185
16185
|
}) : null,
|
|
16186
16186
|
n && !u ? /* @__PURE__ */ Q(dr, {
|
|
16187
16187
|
variant: "ghost",
|
|
16188
16188
|
hideLabel: !0,
|
|
16189
16189
|
label: t ? s.actions.collapse : s.actions.expand,
|
|
16190
|
-
icon: t ?
|
|
16190
|
+
icon: t ? Mi : Hi,
|
|
16191
16191
|
onClick: n
|
|
16192
16192
|
}) : null,
|
|
16193
16193
|
r ? /* @__PURE__ */ Q(dr, {
|
|
16194
16194
|
variant: "ghost",
|
|
16195
16195
|
hideLabel: !0,
|
|
16196
16196
|
label: s.actions.close,
|
|
16197
|
-
icon:
|
|
16197
|
+
icon: yr,
|
|
16198
16198
|
onClick: r
|
|
16199
16199
|
}) : null,
|
|
16200
16200
|
a ? /* @__PURE__ */ Q("div", {
|
|
@@ -16216,7 +16216,7 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16216
16216
|
messagesBadge: o.messagesBadge
|
|
16217
16217
|
})]
|
|
16218
16218
|
});
|
|
16219
|
-
}, Tk = ({ notice: e, dismissActions: t }) => /* @__PURE__ */ Q(
|
|
16219
|
+
}, Tk = ({ notice: e, dismissActions: t }) => /* @__PURE__ */ Q(Jr, {
|
|
16220
16220
|
title: e.title,
|
|
16221
16221
|
description: e.description,
|
|
16222
16222
|
children: /* @__PURE__ */ $("div", {
|
|
@@ -16238,19 +16238,19 @@ var ck = $O, lk = tk, uk = rk, dk = (e, t) => ({
|
|
|
16238
16238
|
})
|
|
16239
16239
|
}), Ek = () => {
|
|
16240
16240
|
let e = ml();
|
|
16241
|
-
return /* @__PURE__ */ Q(
|
|
16241
|
+
return /* @__PURE__ */ Q(uo, { onImageDownloaded: () => e.onAttachmentDownloaded({ kind: "image" }) });
|
|
16242
16242
|
}, Dk = (e) => {
|
|
16243
16243
|
let t = (e.attachments ?? []).filter((e) => e.kind === "image");
|
|
16244
16244
|
if (t.length !== 1) return [];
|
|
16245
16245
|
let [n] = t;
|
|
16246
16246
|
if (!n || n.width && n.height) return [];
|
|
16247
16247
|
let r = n.thumbnailUrl ?? n.url;
|
|
16248
|
-
return
|
|
16248
|
+
return _o(r) === void 0 ? [r] : [];
|
|
16249
16249
|
}, Ok = (e) => {
|
|
16250
16250
|
let t = e.linkPreviews ?? [];
|
|
16251
16251
|
if (t.length !== 1) return [];
|
|
16252
16252
|
let n = t[0]?.imageUrl;
|
|
16253
|
-
return n &&
|
|
16253
|
+
return n && _o(n) === void 0 ? [n] : [];
|
|
16254
16254
|
};
|
|
16255
16255
|
function kk(e, { enabled: t }) {
|
|
16256
16256
|
let [, n] = Hl((e) => e + 1, 0), r = Y(null);
|
|
@@ -16296,7 +16296,7 @@ function kk(e, { enabled: t }) {
|
|
|
16296
16296
|
let r = () => {
|
|
16297
16297
|
i.current.has(t) || (i.current.add(t), n());
|
|
16298
16298
|
}, o = window.setTimeout(r, e.ms);
|
|
16299
|
-
Promise.all(e.urls.map(
|
|
16299
|
+
Promise.all(e.urls.map(la)).then(() => {
|
|
16300
16300
|
window.clearTimeout(o), r();
|
|
16301
16301
|
});
|
|
16302
16302
|
});
|
|
@@ -16791,7 +16791,7 @@ var cA = (e, t, n) => {
|
|
|
16791
16791
|
};
|
|
16792
16792
|
}, BA = ({ message: e, onOpen: t }) => {
|
|
16793
16793
|
let n = H(), { channelType: r } = yl(), i = e.readBy?.length ?? e.readByCount ?? 0, a = e.readBy?.slice(0, RA) ?? [], o = Math.max(0, i - a.length), s = n.chat.info, c = uc;
|
|
16794
|
-
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c =
|
|
16794
|
+
return e.isMine && r === "group" && i > 0 ? (s = n.t(i === 1 ? "chat.readBy.one" : "chat.readBy.other", { count: i }), c = Ga) : e.isMine && e.readAt ? (s = `${n.chat.read} · ${zk(new Date(e.readAt))}`, c = Ga) : e.isMine && r !== "group" && (s = n.chat.delivered, c = Ga), /* @__PURE__ */ Q(IA, {
|
|
16795
16795
|
icon: c,
|
|
16796
16796
|
label: s,
|
|
16797
16797
|
onClick: t,
|
|
@@ -16800,7 +16800,7 @@ var cA = (e, t, n) => {
|
|
|
16800
16800
|
"aria-hidden": !0,
|
|
16801
16801
|
className: "flex shrink-0",
|
|
16802
16802
|
"data-testid": "chat-message-menu-readers",
|
|
16803
|
-
children: /* @__PURE__ */ Q(
|
|
16803
|
+
children: /* @__PURE__ */ Q(hs, {
|
|
16804
16804
|
type: "person",
|
|
16805
16805
|
size: "sm",
|
|
16806
16806
|
noTooltip: !0,
|
|
@@ -16848,13 +16848,13 @@ var cA = (e, t, n) => {
|
|
|
16848
16848
|
className: `${VA} flex w-64 flex-col rounded-lg p-1`,
|
|
16849
16849
|
onKeyDown: LA,
|
|
16850
16850
|
children: [/* @__PURE__ */ Q(IA, {
|
|
16851
|
-
icon:
|
|
16851
|
+
icon: _a,
|
|
16852
16852
|
label: n.chat.retry,
|
|
16853
16853
|
onClick: (n) => {
|
|
16854
16854
|
r(e.live.id), t(HA(n));
|
|
16855
16855
|
}
|
|
16856
16856
|
}), /* @__PURE__ */ Q(IA, {
|
|
16857
|
-
icon:
|
|
16857
|
+
icon: fi,
|
|
16858
16858
|
label: n.actions.delete,
|
|
16859
16859
|
onClick: (n) => {
|
|
16860
16860
|
o(e.live.id), t(HA(n));
|
|
@@ -16870,38 +16870,38 @@ var cA = (e, t, n) => {
|
|
|
16870
16870
|
className: "flex flex-col p-1",
|
|
16871
16871
|
children: [
|
|
16872
16872
|
bA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16873
|
-
icon:
|
|
16873
|
+
icon: ko,
|
|
16874
16874
|
label: r.chat.reply,
|
|
16875
16875
|
onClick: t(bA, () => l(n))
|
|
16876
16876
|
}) : null,
|
|
16877
16877
|
vA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16878
|
-
icon:
|
|
16878
|
+
icon: jo,
|
|
16879
16879
|
label: r.actions.copy,
|
|
16880
16880
|
onClick: t(vA, () => OA(i, n))
|
|
16881
16881
|
}) : null,
|
|
16882
16882
|
u ? /* @__PURE__ */ Q(IA, {
|
|
16883
|
-
icon:
|
|
16883
|
+
icon: lo,
|
|
16884
16884
|
label: r.chat.hideTranslation,
|
|
16885
16885
|
onClick: t(EA, () => o?.(n.id))
|
|
16886
16886
|
}) : wA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16887
|
-
icon:
|
|
16887
|
+
icon: lo,
|
|
16888
16888
|
label: r.chat.translate,
|
|
16889
16889
|
onClick: t(wA, () => c?.(n.id))
|
|
16890
16890
|
}) : null,
|
|
16891
16891
|
TA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16892
|
-
icon:
|
|
16892
|
+
icon: lo,
|
|
16893
16893
|
label: r.chat.translate,
|
|
16894
16894
|
onClick: t(TA, () => s?.()),
|
|
16895
16895
|
trailing: /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
16896
16896
|
className: "sr-only",
|
|
16897
16897
|
children: ", "
|
|
16898
16898
|
}), /* @__PURE__ */ Q(ac, {
|
|
16899
|
-
icon:
|
|
16899
|
+
icon: Vi,
|
|
16900
16900
|
text: r.chat.upgrade
|
|
16901
16901
|
})] })
|
|
16902
16902
|
}) : null,
|
|
16903
16903
|
CA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16904
|
-
icon:
|
|
16904
|
+
icon: Na,
|
|
16905
16905
|
label: r.chat.forward,
|
|
16906
16906
|
onClick: t(CA, () => a?.(n))
|
|
16907
16907
|
}) : null
|
|
@@ -16912,12 +16912,12 @@ var cA = (e, t, n) => {
|
|
|
16912
16912
|
return /* @__PURE__ */ $("div", {
|
|
16913
16913
|
className: "flex flex-col p-1",
|
|
16914
16914
|
children: [SA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16915
|
-
icon:
|
|
16915
|
+
icon: Qo,
|
|
16916
16916
|
label: r.chat.edit,
|
|
16917
16917
|
onClick: t(SA, () => a(n))
|
|
16918
16918
|
}) : null, xA(e) ? /* @__PURE__ */ Q(IA, {
|
|
16919
16919
|
critical: !0,
|
|
16920
|
-
icon:
|
|
16920
|
+
icon: fi,
|
|
16921
16921
|
label: r.actions.delete,
|
|
16922
16922
|
onClick: t(xA, () => i(n.id))
|
|
16923
16923
|
}) : null]
|
|
@@ -17261,14 +17261,14 @@ var cA = (e, t, n) => {
|
|
|
17261
17261
|
for (let { segment: e } of Cj.segment(t)) if (!Sj.test(e) && (n += 1, n > 3 || !xj.test(e))) return 0;
|
|
17262
17262
|
return n;
|
|
17263
17263
|
}, Dj = (e) => e.deleted || e.replyTo || (e.linkPreviews?.length ?? 0) > 0 || (e.attachments?.length ?? 0) > 0 || e.translation || (e.mentions?.length ?? 0) > 0 || e.mentionedEveryone ? 0 : Ej(e.body), Oj = /(https?:\/\/[^\s]+)/g, kj = (e, t) => {
|
|
17264
|
-
let n =
|
|
17264
|
+
let n = Li(e), r = n.split(Oj);
|
|
17265
17265
|
if (r.length === 1) return n;
|
|
17266
17266
|
let i = new Map((t ?? []).filter((e) => e.title).map((e) => [e.url, e.title]));
|
|
17267
17267
|
return r.map((e, t) => {
|
|
17268
17268
|
if (e.length === 0) return null;
|
|
17269
17269
|
if (t % 2 == 0) return /* @__PURE__ */ Q(Al, { children: e }, `text-${t}`);
|
|
17270
17270
|
let n = i.get(e);
|
|
17271
|
-
return /* @__PURE__ */ Q(
|
|
17271
|
+
return /* @__PURE__ */ Q(ni, {
|
|
17272
17272
|
href: e,
|
|
17273
17273
|
target: "_blank",
|
|
17274
17274
|
stopPropagation: !0,
|
|
@@ -17279,12 +17279,12 @@ var cA = (e, t, n) => {
|
|
|
17279
17279
|
});
|
|
17280
17280
|
}, Aj = (e, t, n) => {
|
|
17281
17281
|
if (t.length === 0) return kj(e, n);
|
|
17282
|
-
let r =
|
|
17282
|
+
let r = ki(e, t);
|
|
17283
17283
|
if (r.length === 0) return kj(e, n);
|
|
17284
17284
|
let i = [], a = 0;
|
|
17285
17285
|
return r.forEach((t, r) => {
|
|
17286
17286
|
t.start > a && i.push(/* @__PURE__ */ Q(Al, { children: kj(e.slice(a, t.start), n) }, `t-${r}`));
|
|
17287
|
-
let o = t.entry, s =
|
|
17287
|
+
let o = t.entry, s = Li(e.slice(t.start, t.end)), c = o.user?.subtitle ? `${s}, ${o.user.subtitle}` : s, l = G("cursor-pointer rounded-sm border-0 bg-transparent p-0 text-f1-foreground-secondary hover:text-f1-foreground", pr()), u = o.user?.profileHref ? /* @__PURE__ */ Q(ni, {
|
|
17288
17288
|
href: o.user.profileHref,
|
|
17289
17289
|
variant: "unstyled",
|
|
17290
17290
|
stopPropagation: !0,
|
|
@@ -17365,7 +17365,7 @@ var cA = (e, t, n) => {
|
|
|
17365
17365
|
}, Bj = (e, t, n, r) => G("flex w-full overflow-hidden rounded-xl text-left no-underline", "bg-f1-background-secondary", "transition-shadow hover:ring-1 hover:ring-inset hover:ring-f1-border-secondary", pr("focus-visible:ring-inset"), !n && "rounded-t-sm", !r && "rounded-b-sm", n && !t && (e ? "rounded-tr-xs" : "rounded-tl-xs")), Vj = ({ preview: e, host: t, compact: n }) => /* @__PURE__ */ $("div", {
|
|
17366
17366
|
className: "flex min-w-0 flex-1 flex-col gap-0.5 p-2.5",
|
|
17367
17367
|
children: [
|
|
17368
|
-
e.title ? /* @__PURE__ */ Q(
|
|
17368
|
+
e.title ? /* @__PURE__ */ Q(ri, {
|
|
17369
17369
|
className: "text-base font-medium text-f1-foreground",
|
|
17370
17370
|
children: e.title
|
|
17371
17371
|
}) : null,
|
|
@@ -17373,13 +17373,13 @@ var cA = (e, t, n) => {
|
|
|
17373
17373
|
className: G("text-sm text-f1-foreground-secondary", n ? "line-clamp-1" : "line-clamp-2"),
|
|
17374
17374
|
children: e.description
|
|
17375
17375
|
}) : null,
|
|
17376
|
-
/* @__PURE__ */ Q(
|
|
17376
|
+
/* @__PURE__ */ Q(ri, {
|
|
17377
17377
|
className: "text-sm text-f1-foreground",
|
|
17378
17378
|
children: t
|
|
17379
17379
|
})
|
|
17380
17380
|
]
|
|
17381
17381
|
}), Hj = ({ preview: e, host: t, compact: n, className: r, onOpen: i }) => {
|
|
17382
|
-
let a =
|
|
17382
|
+
let a = io(e.imageUrl), o = Rj(e.imageUrl, a, n);
|
|
17383
17383
|
return /* @__PURE__ */ $("a", {
|
|
17384
17384
|
href: e.url,
|
|
17385
17385
|
onClick: i,
|
|
@@ -17400,7 +17400,7 @@ var cA = (e, t, n) => {
|
|
|
17400
17400
|
alt: "",
|
|
17401
17401
|
"aria-hidden": !0,
|
|
17402
17402
|
className: "absolute inset-0 h-full w-full scale-110 object-cover opacity-60 blur-xl"
|
|
17403
|
-
}), /* @__PURE__ */ Q(
|
|
17403
|
+
}), /* @__PURE__ */ Q(no, {
|
|
17404
17404
|
src: e.imageUrl,
|
|
17405
17405
|
alt: "",
|
|
17406
17406
|
className: "relative h-full w-full object-contain"
|
|
@@ -17411,7 +17411,7 @@ var cA = (e, t, n) => {
|
|
|
17411
17411
|
host: t,
|
|
17412
17412
|
compact: n
|
|
17413
17413
|
}),
|
|
17414
|
-
o.kind === "thumb" ? /* @__PURE__ */ Q(
|
|
17414
|
+
o.kind === "thumb" ? /* @__PURE__ */ Q(no, {
|
|
17415
17415
|
src: e.imageUrl,
|
|
17416
17416
|
alt: "",
|
|
17417
17417
|
style: {
|
|
@@ -17450,7 +17450,7 @@ var cA = (e, t, n) => {
|
|
|
17450
17450
|
size: "sm",
|
|
17451
17451
|
hideLabel: !0,
|
|
17452
17452
|
label: a.chat.removeLinkPreview,
|
|
17453
|
-
icon:
|
|
17453
|
+
icon: yr,
|
|
17454
17454
|
onClick: () => r(e.url)
|
|
17455
17455
|
})
|
|
17456
17456
|
}) : null]
|
|
@@ -17460,7 +17460,7 @@ var cA = (e, t, n) => {
|
|
|
17460
17460
|
let n = H(), r = pl(), i = /* @__PURE__ */ Q(Jj, { parts: Kj(e, n.chat) });
|
|
17461
17461
|
return r === "announcement" ? null : t === "overlay" ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q("span", {
|
|
17462
17462
|
"aria-hidden": !0,
|
|
17463
|
-
className:
|
|
17463
|
+
className: ba
|
|
17464
17464
|
}), /* @__PURE__ */ Q("span", {
|
|
17465
17465
|
"aria-hidden": !0,
|
|
17466
17466
|
className: "pointer-events-none absolute bottom-1.5 right-2.5 text-xs leading-none text-f1-foreground-inverse [text-shadow:0_1px_2px_hsl(0_0%_0%/0.45)]",
|
|
@@ -17553,25 +17553,25 @@ var cA = (e, t, n) => {
|
|
|
17553
17553
|
name: n.length === 1 ? n[0].name : void 0
|
|
17554
17554
|
} : r.length > 0 ? { kind: "location" } : i.length > 0 ? { kind: "voice" } : null;
|
|
17555
17555
|
}, eM = (e) => {
|
|
17556
|
-
let t = H(), n =
|
|
17556
|
+
let t = H(), n = Li(e.body?.trim() ?? ""), r = Qj(e.attachments), i = $j(e.attachments);
|
|
17557
17557
|
if (!i) return {
|
|
17558
17558
|
label: n,
|
|
17559
17559
|
thumbnailUrl: r
|
|
17560
17560
|
};
|
|
17561
17561
|
let a = i.kind === "photo" ? {
|
|
17562
|
-
icon:
|
|
17562
|
+
icon: oo,
|
|
17563
17563
|
label: i.count === 1 ? t.chat.photo : t.t("chat.photoCount.other", { count: i.count })
|
|
17564
17564
|
} : i.kind === "file" ? {
|
|
17565
|
-
icon:
|
|
17565
|
+
icon: ca,
|
|
17566
17566
|
label: i.name ?? t.t("chat.fileCount.other", { count: i.count })
|
|
17567
17567
|
} : i.kind === "location" ? {
|
|
17568
|
-
icon:
|
|
17568
|
+
icon: Yi,
|
|
17569
17569
|
label: t.chat.location
|
|
17570
17570
|
} : i.kind === "voice" ? {
|
|
17571
|
-
icon:
|
|
17571
|
+
icon: Wr,
|
|
17572
17572
|
label: t.chat.voiceNote
|
|
17573
17573
|
} : {
|
|
17574
|
-
icon:
|
|
17574
|
+
icon: Ba,
|
|
17575
17575
|
label: t.t("chat.attachmentCount.other", { count: i.count })
|
|
17576
17576
|
};
|
|
17577
17577
|
return {
|
|
@@ -17597,7 +17597,7 @@ var cA = (e, t, n) => {
|
|
|
17597
17597
|
className: "ml-2.5 h-9 w-9 shrink-0 self-center rounded-sm object-cover"
|
|
17598
17598
|
}) : null, /* @__PURE__ */ $("div", {
|
|
17599
17599
|
className: "flex min-w-0 flex-1 flex-col gap-0.5 p-2.5",
|
|
17600
|
-
children: [/* @__PURE__ */ Q(
|
|
17600
|
+
children: [/* @__PURE__ */ Q(ri, {
|
|
17601
17601
|
className: G("text-sm font-medium", Fj(e.author)),
|
|
17602
17602
|
children: u
|
|
17603
17603
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -17606,7 +17606,7 @@ var cA = (e, t, n) => {
|
|
|
17606
17606
|
icon: s,
|
|
17607
17607
|
size: "sm",
|
|
17608
17608
|
color: "default"
|
|
17609
|
-
}) : null, /* @__PURE__ */ Q(
|
|
17609
|
+
}) : null, /* @__PURE__ */ Q(ri, {
|
|
17610
17610
|
className: "min-w-0 text-base",
|
|
17611
17611
|
children: c
|
|
17612
17612
|
})]
|
|
@@ -17724,16 +17724,16 @@ var cA = (e, t, n) => {
|
|
|
17724
17724
|
className: "flex w-fit items-center gap-1 px-2 text-sm italic text-f1-foreground-tertiary",
|
|
17725
17725
|
"data-testid": "chat-forwarded-tag",
|
|
17726
17726
|
children: [/* @__PURE__ */ Q(U, {
|
|
17727
|
-
icon:
|
|
17727
|
+
icon: Na,
|
|
17728
17728
|
size: "sm"
|
|
17729
17729
|
}), n]
|
|
17730
17730
|
});
|
|
17731
17731
|
}, oM = ({ card: e }) => {
|
|
17732
17732
|
let t = ml(), { action: n } = e;
|
|
17733
17733
|
return /* @__PURE__ */ Q("div", {
|
|
17734
|
-
className:
|
|
17734
|
+
className: Qa,
|
|
17735
17735
|
"data-testid": "chat-card-attachment",
|
|
17736
|
-
children: /* @__PURE__ */ Q(
|
|
17736
|
+
children: /* @__PURE__ */ Q(Jr, {
|
|
17737
17737
|
avatar: e.avatar,
|
|
17738
17738
|
title: e.title,
|
|
17739
17739
|
description: e.description,
|
|
@@ -17764,13 +17764,13 @@ function lM() {
|
|
|
17764
17764
|
//#region src/domains/platform/communications/chat/F0Chat/components/ChatDocumentAttachmentCard.tsx
|
|
17765
17765
|
var uM = (e) => {
|
|
17766
17766
|
let t = ml(), n = lM();
|
|
17767
|
-
return /* @__PURE__ */ Q(
|
|
17767
|
+
return /* @__PURE__ */ Q(Kr, {
|
|
17768
17768
|
...e,
|
|
17769
17769
|
onOpened: n === "transcript" ? () => t.onDocumentOpened({ kind: e.kind }) : void 0,
|
|
17770
17770
|
onDownloaded: () => t.onAttachmentDownloaded({ kind: oO(e.file) })
|
|
17771
17771
|
});
|
|
17772
17772
|
}, dM = Il(() => import("./LocationMap-Ds0SgBMO.js")), fM = 3 / 2, pM = ({ latitude: e, longitude: t }) => `https://www.google.com/maps?q=${e},${t}`, mM = ({ location: e, cornerClass: t = "rounded-xl", surfaceClassName: n, meta: r }) => {
|
|
17773
|
-
let i = H(), a = ml(), o = lM(), { ref: s, shouldMount: c } =
|
|
17773
|
+
let i = H(), a = ml(), o = lM(), { ref: s, shouldMount: c } = xi();
|
|
17774
17774
|
return /* @__PURE__ */ Q("a", {
|
|
17775
17775
|
ref: s,
|
|
17776
17776
|
href: pM(e),
|
|
@@ -17780,7 +17780,7 @@ var uM = (e) => {
|
|
|
17780
17780
|
target: "_blank",
|
|
17781
17781
|
rel: "noopener noreferrer",
|
|
17782
17782
|
"aria-label": e.name ?? i.chat.location,
|
|
17783
|
-
className: G("flex min-w-0 max-w-full flex-col overflow-hidden no-underline",
|
|
17783
|
+
className: G("flex min-w-0 max-w-full flex-col overflow-hidden no-underline", so, "bg-f1-background-tertiary", "transition-shadow hover:ring-1 hover:ring-inset hover:ring-f1-border-secondary", pr("focus-visible:ring-inset"), t, n),
|
|
17784
17784
|
"data-testid": "chat-location-attachment",
|
|
17785
17785
|
children: /* @__PURE__ */ $("div", {
|
|
17786
17786
|
className: "pointer-events-none relative w-full",
|
|
@@ -17821,7 +17821,7 @@ var uM = (e) => {
|
|
|
17821
17821
|
});
|
|
17822
17822
|
}, hM = ({ surface: e }) => /* @__PURE__ */ Q(V, { className: G("h-full w-full rounded-none motion-reduce:animate-none", e) }), gM = (e) => {
|
|
17823
17823
|
let t = ml();
|
|
17824
|
-
return /* @__PURE__ */ Q(
|
|
17824
|
+
return /* @__PURE__ */ Q(Ja, {
|
|
17825
17825
|
...e,
|
|
17826
17826
|
onDownloaded: () => t.onAttachmentDownloaded({ kind: "video" })
|
|
17827
17827
|
});
|
|
@@ -17924,7 +17924,7 @@ var uM = (e) => {
|
|
|
17924
17924
|
e.preventDefault(), s.seek(Math.min(h, Math.max(0, n)));
|
|
17925
17925
|
}, [h, s]);
|
|
17926
17926
|
return /* @__PURE__ */ $("div", {
|
|
17927
|
-
className: G("group/voice flex h-[58px] min-w-0 items-center gap-2 p-3",
|
|
17927
|
+
className: G("group/voice flex h-[58px] min-w-0 items-center gap-2 p-3", Qa, t ? "bg-f1-background-tertiary" : "bg-f1-background", n, r, i),
|
|
17928
17928
|
"data-testid": "chat-voice-attachment",
|
|
17929
17929
|
children: [
|
|
17930
17930
|
/* @__PURE__ */ Q("audio", {
|
|
@@ -17940,7 +17940,7 @@ var uM = (e) => {
|
|
|
17940
17940
|
size: "md",
|
|
17941
17941
|
hideLabel: !0,
|
|
17942
17942
|
label: s.isPlaying ? a.audioPlayer.pause : a.audioPlayer.play,
|
|
17943
|
-
icon: s.isPlaying ?
|
|
17943
|
+
icon: s.isPlaying ? co : Sa,
|
|
17944
17944
|
onClick: _
|
|
17945
17945
|
})
|
|
17946
17946
|
}),
|
|
@@ -17993,9 +17993,9 @@ var uM = (e) => {
|
|
|
17993
17993
|
surfaceClassName: i
|
|
17994
17994
|
})
|
|
17995
17995
|
}), AM = ({ message: e, isMine: t, isFirstOfRun: n = !0, isLastOfRun: r = !0, hasAvatar: i = !1 }) => {
|
|
17996
|
-
let a = H(), { openImagePreview: o } = jO(), s = ml(), c = e.attachments, l = sO(c), u =
|
|
17996
|
+
let a = H(), { openImagePreview: o } = jO(), s = ml(), c = e.attachments, l = sO(c), u = io(l ? l.thumbnailUrl ?? l.url : void 0, l) ?? void 0;
|
|
17997
17997
|
if (!c || c.length === 0) return null;
|
|
17998
|
-
let d = Ij(t), { images: f, videos: p, documents: m, files: h, locations: g, voices: _, cards: v } = lO(c), y = m.length + h.length, b = l ?
|
|
17998
|
+
let d = Ij(t), { images: f, videos: p, documents: m, files: h, locations: g, voices: _, cards: v } = lO(c), y = m.length + h.length, b = l ? ta(u?.width, u?.height) : null, x = e.body.trim().length > 0 || e.replyTo || e.deleted ? null : y > 0 || _.length > 0 || v.length > 0 ? "below" : g.length > 0 ? "location" : p.length > 0 ? "video" : f.length > 0 ? "image" : null, S = e.body.trim().length > 0 || !!e.replyTo, C = v.length > 0, w = p.length > 0 || y > 0 || _.length > 0 || C || S || !r, T = rM({
|
|
17999
17999
|
isMine: t,
|
|
18000
18000
|
hasAvatar: i,
|
|
18001
18001
|
isFirstOfRun: n,
|
|
@@ -18027,13 +18027,13 @@ var uM = (e) => {
|
|
|
18027
18027
|
children: [
|
|
18028
18028
|
f.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
18029
18029
|
style: b ? { width: b.width } : void 0,
|
|
18030
|
-
className: G("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", b ? "max-w-full" :
|
|
18030
|
+
className: G("grid grid-cols-2 overflow-hidden border border-solid border-f1-border-secondary", b ? "max-w-full" : Qa, Co, T),
|
|
18031
18031
|
"data-testid": "chat-image-album",
|
|
18032
|
-
children:
|
|
18032
|
+
children: Fa(u ? [u] : f).map((t, n, r) => {
|
|
18033
18033
|
let i = f[t.index];
|
|
18034
18034
|
if (!i) return null;
|
|
18035
18035
|
let c = x === "image" && n === r.length - 1;
|
|
18036
|
-
return /* @__PURE__ */ Q(
|
|
18036
|
+
return /* @__PURE__ */ Q(Aa, {
|
|
18037
18037
|
image: i,
|
|
18038
18038
|
aspectRatio: t.aspectRatio,
|
|
18039
18039
|
spanFull: t.span === 2,
|
|
@@ -18045,7 +18045,7 @@ var uM = (e) => {
|
|
|
18045
18045
|
},
|
|
18046
18046
|
overlay: t.hiddenCount > 0 ? /* @__PURE__ */ Q("span", {
|
|
18047
18047
|
"aria-hidden": !0,
|
|
18048
|
-
className: G("pointer-events-none absolute inset-0 flex items-center justify-center text-2xl font-semibold text-f1-foreground-inverse",
|
|
18048
|
+
className: G("pointer-events-none absolute inset-0 flex items-center justify-center text-2xl font-semibold text-f1-foreground-inverse", pa),
|
|
18049
18049
|
"data-testid": "chat-image-album-more",
|
|
18050
18050
|
children: `+${t.hiddenCount}`
|
|
18051
18051
|
}) : c ? /* @__PURE__ */ Q(Wj, {
|
|
@@ -18088,7 +18088,7 @@ var uM = (e) => {
|
|
|
18088
18088
|
v.map((e, t) => /* @__PURE__ */ Q(oM, { card: e }, `${e.title}-${t}`)),
|
|
18089
18089
|
h.length > 0 ? /* @__PURE__ */ Q("div", {
|
|
18090
18090
|
className: G("flex flex-wrap gap-1", t && "justify-end"),
|
|
18091
|
-
children: h.map((e, t) => /* @__PURE__ */ Q(
|
|
18091
|
+
children: h.map((e, t) => /* @__PURE__ */ Q(Or, {
|
|
18092
18092
|
size: "md",
|
|
18093
18093
|
file: {
|
|
18094
18094
|
name: e.name,
|
|
@@ -18096,9 +18096,9 @@ var uM = (e) => {
|
|
|
18096
18096
|
},
|
|
18097
18097
|
actions: [{
|
|
18098
18098
|
label: a.chat.download,
|
|
18099
|
-
icon:
|
|
18099
|
+
icon: qa,
|
|
18100
18100
|
onClick: () => {
|
|
18101
|
-
|
|
18101
|
+
Po(e.url, e.name), s.onAttachmentDownloaded({ kind: oO(e) });
|
|
18102
18102
|
}
|
|
18103
18103
|
}]
|
|
18104
18104
|
}, `${e.url}-${t}`))
|
|
@@ -18146,7 +18146,7 @@ var uM = (e) => {
|
|
|
18146
18146
|
"data-testid": "chat-failed-indicator",
|
|
18147
18147
|
onClick: (e) => n(e.currentTarget),
|
|
18148
18148
|
children: /* @__PURE__ */ Q(U, {
|
|
18149
|
-
icon:
|
|
18149
|
+
icon: na,
|
|
18150
18150
|
size: "sm",
|
|
18151
18151
|
color: "critical-bold"
|
|
18152
18152
|
})
|
|
@@ -18242,7 +18242,7 @@ var uM = (e) => {
|
|
|
18242
18242
|
variant: "ghost",
|
|
18243
18243
|
hideLabel: !0,
|
|
18244
18244
|
label: zk(new Date(e)),
|
|
18245
|
-
icon:
|
|
18245
|
+
icon: wi
|
|
18246
18246
|
}) : null
|
|
18247
18247
|
});
|
|
18248
18248
|
}, VM = {
|
|
@@ -18634,7 +18634,7 @@ var WN = (e) => {
|
|
|
18634
18634
|
let { message: t } = e, n = e.isFirstOfRun ? gN : _N;
|
|
18635
18635
|
if (t.deleted) return n + vN;
|
|
18636
18636
|
let r = t.attachments ?? [], i = !1, a = 0;
|
|
18637
|
-
for (let e of r) i = !0, e.kind === "image" ? a += 1 : e.kind === "location" ? n += ON : e.kind === "voice" ? n += kN : e.kind === "card" ? n += jN :
|
|
18637
|
+
for (let e of r) i = !0, e.kind === "image" ? a += 1 : e.kind === "location" ? n += ON : e.kind === "voice" ? n += kN : e.kind === "card" ? n += jN : fa(e) ? n += DN : Ra(e) ? n += AN : n += MN;
|
|
18638
18638
|
a > 0 && (n += EN);
|
|
18639
18639
|
let o = Dj(t), s = o ? Tj[o] : VN(t.body);
|
|
18640
18640
|
if (s > 0 || t.replyTo) {
|
|
@@ -19271,11 +19271,11 @@ var SP = ({ channel: e }) => {
|
|
|
19271
19271
|
});
|
|
19272
19272
|
y.current = O;
|
|
19273
19273
|
let k = w.getVirtualItems();
|
|
19274
|
-
return /* @__PURE__ */ $(
|
|
19274
|
+
return /* @__PURE__ */ $(gs, {
|
|
19275
19275
|
className: "size-full overflow-hidden",
|
|
19276
19276
|
scrollHideDelay: 200,
|
|
19277
19277
|
children: [
|
|
19278
|
-
/* @__PURE__ */ Q(
|
|
19278
|
+
/* @__PURE__ */ Q(ds, {
|
|
19279
19279
|
ref: T,
|
|
19280
19280
|
tabIndex: 0,
|
|
19281
19281
|
"data-chat-viewport": "",
|
|
@@ -19307,8 +19307,8 @@ var SP = ({ channel: e }) => {
|
|
|
19307
19307
|
}), /* @__PURE__ */ Q(CP, { onHeight: C })]
|
|
19308
19308
|
})
|
|
19309
19309
|
}),
|
|
19310
|
-
/* @__PURE__ */ Q(
|
|
19311
|
-
/* @__PURE__ */ Q(
|
|
19310
|
+
/* @__PURE__ */ Q(us, { orientation: "vertical" }),
|
|
19311
|
+
/* @__PURE__ */ Q(_s, {})
|
|
19312
19312
|
]
|
|
19313
19313
|
});
|
|
19314
19314
|
}, TP = (e, t) => {
|
|
@@ -19337,7 +19337,7 @@ var SP = ({ channel: e }) => {
|
|
|
19337
19337
|
},
|
|
19338
19338
|
transition: {
|
|
19339
19339
|
duration: r,
|
|
19340
|
-
ease:
|
|
19340
|
+
ease: Pa
|
|
19341
19341
|
},
|
|
19342
19342
|
children: /* @__PURE__ */ Q(W.div, {
|
|
19343
19343
|
className: "pointer-events-auto",
|
|
@@ -19345,7 +19345,7 @@ var SP = ({ channel: e }) => {
|
|
|
19345
19345
|
animate: { scale: 1 },
|
|
19346
19346
|
transition: {
|
|
19347
19347
|
duration: r,
|
|
19348
|
-
ease:
|
|
19348
|
+
ease: Pa
|
|
19349
19349
|
},
|
|
19350
19350
|
children: /* @__PURE__ */ Q(dr, {
|
|
19351
19351
|
onClick: () => {
|
|
@@ -19361,7 +19361,7 @@ var SP = ({ channel: e }) => {
|
|
|
19361
19361
|
}, DP = Ll(function({ atTop: e, viewportStore: t, rows: n, isCommunity: r, hasMoreOlder: i, loadingOlder: a, unreadCount: o, hasMoreNewer: s, reducedMotion: c, onJumpToBottom: l }) {
|
|
19362
19362
|
let u = H(), d = c ? 0 : .15, { scrolledUp: f, stickyIndex: p } = Ul(t.subscribe, t.get), m = p != null && !r ? TP(n, p) : null, h = f || s;
|
|
19363
19363
|
return /* @__PURE__ */ $(Z, { children: [
|
|
19364
|
-
/* @__PURE__ */ Q(Wn, { children: e ? null : /* @__PURE__ */ Q(
|
|
19364
|
+
/* @__PURE__ */ Q(Wn, { children: e ? null : /* @__PURE__ */ Q(go, { position: "top" }, "chat-header-shadow") }),
|
|
19365
19365
|
/* @__PURE__ */ Q(Wn, { children: f && (!e || i || a) && m ? /* @__PURE__ */ Q(W.div, {
|
|
19366
19366
|
className: G("pointer-events-none absolute inset-x-0 flex justify-center", mN),
|
|
19367
19367
|
initial: {
|
|
@@ -19644,7 +19644,7 @@ var SP = ({ channel: e }) => {
|
|
|
19644
19644
|
onJumpToBottom: Se
|
|
19645
19645
|
}) : null]
|
|
19646
19646
|
});
|
|
19647
|
-
}, MP = Il(() => import("./ChatPostComposerDialog-
|
|
19647
|
+
}, MP = Il(() => import("./ChatPostComposerDialog-NEIFDJib.js").then((e) => ({ default: e.ChatPostComposerDialog }))), NP = () => {
|
|
19648
19648
|
let e = H(), { createPost: t, composePost: n, searchMembers: r } = El(), i = ml(), [a, o] = X(!1);
|
|
19649
19649
|
return !t && !n ? null : /* @__PURE__ */ $("div", {
|
|
19650
19650
|
className: "pointer-events-none shrink-0 p-4 pt-0",
|
|
@@ -19658,7 +19658,7 @@ var SP = ({ channel: e }) => {
|
|
|
19658
19658
|
},
|
|
19659
19659
|
className: "flex w-full items-center gap-2 rounded-lg border border-solid border-f1-border-secondary hover:border-f1-border bg-f1-background/90 px-3 py-2.5 text-left shadow-md backdrop-blur-[2px] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-f1-border-selected",
|
|
19660
19660
|
children: [/* @__PURE__ */ Q(U, {
|
|
19661
|
-
icon:
|
|
19661
|
+
icon: Qo,
|
|
19662
19662
|
size: "md",
|
|
19663
19663
|
color: "secondary"
|
|
19664
19664
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -19786,7 +19786,7 @@ var SP = ({ channel: e }) => {
|
|
|
19786
19786
|
variant: "outline",
|
|
19787
19787
|
size: "sm",
|
|
19788
19788
|
label: e.chat.retry,
|
|
19789
|
-
icon:
|
|
19789
|
+
icon: _a,
|
|
19790
19790
|
onClick: () => void t()
|
|
19791
19791
|
}) : null]
|
|
19792
19792
|
}) });
|
|
@@ -19807,10 +19807,10 @@ var SP = ({ channel: e }) => {
|
|
|
19807
19807
|
}), WP = ({ attachment: e, uploading: t, onRemove: n }) => {
|
|
19808
19808
|
let r = H(), i = {
|
|
19809
19809
|
label: r.t("chat.removeNamedFile", { name: e.kind === "location" ? e.name ?? r.chat.location : e.kind === "voice" ? r.chat.voiceNote : e.name }),
|
|
19810
|
-
icon:
|
|
19810
|
+
icon: yr,
|
|
19811
19811
|
onClick: n
|
|
19812
19812
|
};
|
|
19813
|
-
return e.kind === "image" || e.kind === "file" ? /* @__PURE__ */ Q(
|
|
19813
|
+
return e.kind === "image" || e.kind === "file" ? /* @__PURE__ */ Q(Vr, {
|
|
19814
19814
|
attachment: e,
|
|
19815
19815
|
status: t ? "uploading" : "ready",
|
|
19816
19816
|
removeLabel: i.label,
|
|
@@ -19883,7 +19883,7 @@ var SP = ({ channel: e }) => {
|
|
|
19883
19883
|
children: [/* @__PURE__ */ $("span", {
|
|
19884
19884
|
className: "flex w-fit items-center gap-1 text-sm font-medium text-f1-foreground-info",
|
|
19885
19885
|
children: [/* @__PURE__ */ Q(U, {
|
|
19886
|
-
icon:
|
|
19886
|
+
icon: Qo,
|
|
19887
19887
|
size: "xs"
|
|
19888
19888
|
}), n.chat.editing]
|
|
19889
19889
|
}), /* @__PURE__ */ $("span", {
|
|
@@ -19906,7 +19906,7 @@ var SP = ({ channel: e }) => {
|
|
|
19906
19906
|
size: "sm",
|
|
19907
19907
|
hideLabel: !0,
|
|
19908
19908
|
label: n.chat.cancelEdit,
|
|
19909
|
-
icon:
|
|
19909
|
+
icon: yr,
|
|
19910
19910
|
onClick: t
|
|
19911
19911
|
})
|
|
19912
19912
|
})
|
|
@@ -19952,7 +19952,7 @@ var SP = ({ channel: e }) => {
|
|
|
19952
19952
|
size: "sm",
|
|
19953
19953
|
hideLabel: !0,
|
|
19954
19954
|
label: n.chat.removeQuote,
|
|
19955
|
-
icon:
|
|
19955
|
+
icon: yr,
|
|
19956
19956
|
onClick: t
|
|
19957
19957
|
})
|
|
19958
19958
|
})
|
|
@@ -20102,7 +20102,7 @@ function sF({ inputValue: e, setInputValue: t, cursorPosition: n, setCursorPosit
|
|
|
20102
20102
|
if (!g || !m) return null;
|
|
20103
20103
|
let e = i.current;
|
|
20104
20104
|
if (!e) return null;
|
|
20105
|
-
let t =
|
|
20105
|
+
let t = Ur(e, m.colonIndex);
|
|
20106
20106
|
return {
|
|
20107
20107
|
left: e.offsetLeft + t.left,
|
|
20108
20108
|
bottom: (e.offsetParent ? e.offsetParent.offsetHeight : 0) - (e.offsetTop + t.top)
|
|
@@ -20331,7 +20331,7 @@ var lF = {
|
|
|
20331
20331
|
size: e.size,
|
|
20332
20332
|
mimeType: e.type
|
|
20333
20333
|
}, _F = (e, t) => e && t, vF = () => {
|
|
20334
|
-
let e = H(), { sendMessage: t, editMessage: n, onInputActivity: r, stopTyping: i, uploadFiles: a, transcribe: o, maxFiles: s, maxFileSizeBytes: c, maxMessageCharacters: l, channel: u, searchMembers: d, capabilities: f } = El(), p = !!a && gA("canUpload", u.type, f), { target: m } = OO(), { clearComposeTarget: h, registerComposerHandle: g } = kO(), _ = mF(), { registerFileDropHandler: v } = AO(), y = ml(), { reducedMotion: b } = GO(), x = !!b, S = Y(null), [C, w] = X([]), T = Y(null), E = Y(null), D = Y(/* @__PURE__ */ new Set()), O = Y(0), { error: k, show: A, clear: j } =
|
|
20334
|
+
let e = H(), { sendMessage: t, editMessage: n, onInputActivity: r, stopTyping: i, uploadFiles: a, transcribe: o, maxFiles: s, maxFileSizeBytes: c, maxMessageCharacters: l, channel: u, searchMembers: d, capabilities: f } = El(), p = !!a && gA("canUpload", u.type, f), { target: m } = OO(), { clearComposeTarget: h, registerComposerHandle: g } = kO(), _ = mF(), { registerFileDropHandler: v } = AO(), y = ml(), { reducedMotion: b } = GO(), x = !!b, S = Y(null), [C, w] = X([]), T = Y(null), E = Y(null), D = Y(/* @__PURE__ */ new Set()), O = Y(0), { error: k, show: A, clear: j } = ei(), M = m.kind === "edit", N = m.kind === "edit" ? m.message : null, P = m.kind === "reply" ? m.message : null, F = p, [I, ee] = X(!1), te = Y({ channelId: u.id });
|
|
20335
20335
|
te.current = {
|
|
20336
20336
|
channelId: u.id,
|
|
20337
20337
|
replyToId: P?.id
|
|
@@ -20414,7 +20414,7 @@ var lF = {
|
|
|
20414
20414
|
return;
|
|
20415
20415
|
}
|
|
20416
20416
|
if (c !== void 0 && t.some((e) => e.size > c)) {
|
|
20417
|
-
A(e.chat.fileTooLargeError.replace("{{maxFileSize}}",
|
|
20417
|
+
A(e.chat.fileTooLargeError.replace("{{maxFileSize}}", oa(c)), { persistent: !0 });
|
|
20418
20418
|
return;
|
|
20419
20419
|
}
|
|
20420
20420
|
let r = t.map((e) => {
|
|
@@ -20568,7 +20568,7 @@ var lF = {
|
|
|
20568
20568
|
});
|
|
20569
20569
|
}, [y]), Ce = {
|
|
20570
20570
|
duration: x ? 0 : .18,
|
|
20571
|
-
ease:
|
|
20571
|
+
ease: Pa
|
|
20572
20572
|
}, we = /* @__PURE__ */ Q(Wn, {
|
|
20573
20573
|
initial: !1,
|
|
20574
20574
|
mode: "popLayout",
|
|
@@ -20611,7 +20611,7 @@ var lF = {
|
|
|
20611
20611
|
onRemove: ve
|
|
20612
20612
|
})
|
|
20613
20613
|
}, "reply-chip") : null
|
|
20614
|
-
}), Te = /* @__PURE__ */ Q(
|
|
20614
|
+
}), Te = /* @__PURE__ */ Q(_i, {
|
|
20615
20615
|
items: ce.map((e) => ({
|
|
20616
20616
|
id: e.id,
|
|
20617
20617
|
content: /* @__PURE__ */ Q(GP, {
|
|
@@ -20640,7 +20640,7 @@ var lF = {
|
|
|
20640
20640
|
size: "md",
|
|
20641
20641
|
hideLabel: !0,
|
|
20642
20642
|
label: e.chat.attachFile,
|
|
20643
|
-
icon:
|
|
20643
|
+
icon: Ba,
|
|
20644
20644
|
onClick: () => T.current?.click(),
|
|
20645
20645
|
disabled: !p || t === "transcribing"
|
|
20646
20646
|
}),
|
|
@@ -20803,9 +20803,9 @@ var EF = 1e3, DF = (e, t, n) => {
|
|
|
20803
20803
|
let e = vF(), { channel: t, messages: n } = El(), r = n.length > 0;
|
|
20804
20804
|
return /* @__PURE__ */ $("div", {
|
|
20805
20805
|
className: "pointer-events-none relative shrink-0 px-4 pt-0",
|
|
20806
|
-
children: [/* @__PURE__ */ Q(
|
|
20806
|
+
children: [/* @__PURE__ */ Q(Lr, { tone: "page" }), /* @__PURE__ */ $("div", {
|
|
20807
20807
|
className: "pointer-events-auto relative mx-auto w-full max-w-content",
|
|
20808
|
-
children: [/* @__PURE__ */ Q(
|
|
20808
|
+
children: [/* @__PURE__ */ Q(Pi, { ...e }), /* @__PURE__ */ Q(jF, { reducedMotion: !!e.reducedMotion }, `${t.id}:${r}`)]
|
|
20809
20809
|
})]
|
|
20810
20810
|
});
|
|
20811
20811
|
}, jF = ({ reducedMotion: e }) => {
|
|
@@ -20919,7 +20919,7 @@ var EF = 1e3, DF = (e, t, n) => {
|
|
|
20919
20919
|
children: D
|
|
20920
20920
|
}) : D,
|
|
20921
20921
|
/* @__PURE__ */ Q(Ek, {}),
|
|
20922
|
-
/* @__PURE__ */ Q(
|
|
20922
|
+
/* @__PURE__ */ Q(ka, {})
|
|
20923
20923
|
]
|
|
20924
20924
|
});
|
|
20925
20925
|
}, PF = ({ surface: e = "panel", tabs: t, activeTabId: n, onActiveTabChange: r, ...i }) => {
|
|
@@ -21179,7 +21179,7 @@ var VF = Bn(tr("F0ENPSButton", BF)), HF = {
|
|
|
21179
21179
|
children: e
|
|
21180
21180
|
}) : null
|
|
21181
21181
|
});
|
|
21182
|
-
}), { Skeleton: de.Skeleton }), tI =
|
|
21182
|
+
}), { Skeleton: de.Skeleton }), tI = Wa(Pl(function({ canBeBlurred: e, ...t }, n) {
|
|
21183
21183
|
let r = {
|
|
21184
21184
|
...t,
|
|
21185
21185
|
header: {
|
|
@@ -21207,7 +21207,7 @@ var VF = Bn(tr("F0ENPSButton", BF)), HF = {
|
|
|
21207
21207
|
...e.chart
|
|
21208
21208
|
})
|
|
21209
21209
|
});
|
|
21210
|
-
}), iI = tr("BarChartWidget",
|
|
21210
|
+
}), iI = tr("BarChartWidget", Wa(rI, eI.Skeleton)), aI = Wa(Pl(function(e, t) {
|
|
21211
21211
|
return /* @__PURE__ */ Q(eI, {
|
|
21212
21212
|
ref: t,
|
|
21213
21213
|
...e,
|
|
@@ -21216,19 +21216,19 @@ var VF = Bn(tr("F0ENPSButton", BF)), HF = {
|
|
|
21216
21216
|
...e.chart
|
|
21217
21217
|
})
|
|
21218
21218
|
});
|
|
21219
|
-
}), eI.Skeleton), oI = tr("LineChartWidget", aI), sI =
|
|
21219
|
+
}), eI.Skeleton), oI = tr("LineChartWidget", aI), sI = Wa(Pl(function(e, t) {
|
|
21220
21220
|
return /* @__PURE__ */ Q(eI, {
|
|
21221
21221
|
ref: t,
|
|
21222
21222
|
...e,
|
|
21223
21223
|
chart: /* @__PURE__ */ Q(ht, { ...e.chart })
|
|
21224
21224
|
});
|
|
21225
|
-
}), eI.Skeleton), cI = tr("PieChartWidget", sI), lI =
|
|
21225
|
+
}), eI.Skeleton), cI = tr("PieChartWidget", sI), lI = Wa(Pl(function(e, t) {
|
|
21226
21226
|
return /* @__PURE__ */ Q(eI, {
|
|
21227
21227
|
ref: t,
|
|
21228
21228
|
...e,
|
|
21229
21229
|
chart: null
|
|
21230
21230
|
});
|
|
21231
|
-
}), eI.Skeleton), uI = tr("SummariesWidget", lI), dI =
|
|
21231
|
+
}), eI.Skeleton), uI = tr("SummariesWidget", lI), dI = Wa(Pl(function(e, t) {
|
|
21232
21232
|
return /* @__PURE__ */ Q(eI, {
|
|
21233
21233
|
ref: t,
|
|
21234
21234
|
...e,
|
|
@@ -21526,13 +21526,13 @@ var VF = Bn(tr("F0ENPSButton", BF)), HF = {
|
|
|
21526
21526
|
"bar-chart": "promote"
|
|
21527
21527
|
}, TI = Pl(function({ title: e, content: t, buttonLabel: n, buttonIcon: r, buttonAction: i, type: a }, o) {
|
|
21528
21528
|
let s = xI[a], c = SI[a], l = CI[a], u = wI[a];
|
|
21529
|
-
return /* @__PURE__ */ $(
|
|
21529
|
+
return /* @__PURE__ */ $(ai, {
|
|
21530
21530
|
className: G("relative flex gap-4 overflow-hidden border-dashed", s),
|
|
21531
21531
|
ref: o,
|
|
21532
|
-
children: [/* @__PURE__ */ Q(
|
|
21532
|
+
children: [/* @__PURE__ */ Q(qr, {
|
|
21533
21533
|
className: "-mt-0.5",
|
|
21534
|
-
children: /* @__PURE__ */ Q(
|
|
21535
|
-
}), /* @__PURE__ */ $(
|
|
21534
|
+
children: /* @__PURE__ */ Q(Si, { children: e })
|
|
21535
|
+
}), /* @__PURE__ */ $(vi, {
|
|
21536
21536
|
className: G("flex flex-col gap-4", c),
|
|
21537
21537
|
children: [/* @__PURE__ */ $("div", {
|
|
21538
21538
|
className: G("absolute -top-12 bottom-0 left-0 right-0 flex flex-col justify-end bg-gradient-to-b to-transparent opacity-30", l),
|
|
@@ -21743,8 +21743,8 @@ function II({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
21743
21743
|
withEmoji: "emoji" in s && !!s.emoji,
|
|
21744
21744
|
withPointerCursor: a,
|
|
21745
21745
|
children: [
|
|
21746
|
-
"alert" in s && s.alert ? /* @__PURE__ */ Q(
|
|
21747
|
-
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(
|
|
21746
|
+
"alert" in s && s.alert ? /* @__PURE__ */ Q(Qi, { type: s.alert }) : null,
|
|
21747
|
+
"emoji" in s && s.emoji ? /* @__PURE__ */ Q(ts, { emoji: s.emoji }) : null,
|
|
21748
21748
|
/* @__PURE__ */ $("div", {
|
|
21749
21749
|
className: "flex-1",
|
|
21750
21750
|
children: [/* @__PURE__ */ Q("p", {
|
|
@@ -21757,7 +21757,7 @@ function II({ id: e, title: t, subtitle: n, avatars: r, remainingCount: i, withP
|
|
|
21757
21757
|
}),
|
|
21758
21758
|
/* @__PURE__ */ Q("div", {
|
|
21759
21759
|
className: "min-w-0 flex-1",
|
|
21760
|
-
children: /* @__PURE__ */ Q(
|
|
21760
|
+
children: /* @__PURE__ */ Q(hs, {
|
|
21761
21761
|
avatars: r,
|
|
21762
21762
|
remainingCount: i,
|
|
21763
21763
|
size: "emoji" in s && s.emoji ? "md" : "sm",
|
|
@@ -21786,7 +21786,7 @@ function zI({ id: e, title: t, subtitle: n, onClick: r, module: i }) {
|
|
|
21786
21786
|
t.preventDefault(), r?.(e);
|
|
21787
21787
|
},
|
|
21788
21788
|
className: a,
|
|
21789
|
-
children: [/* @__PURE__ */ Q(
|
|
21789
|
+
children: [/* @__PURE__ */ Q(qo, {
|
|
21790
21790
|
module: i ?? "inbox",
|
|
21791
21791
|
size: "sm"
|
|
21792
21792
|
}), /* @__PURE__ */ $("div", {
|
|
@@ -22007,7 +22007,7 @@ var ZI = (e, t) => ((t ?? 0) < -1 * (e ?? 0) ? -1 * e : t) ?? 0, QI = {
|
|
|
22007
22007
|
color: QI.empty
|
|
22008
22008
|
}), c;
|
|
22009
22009
|
}, nL = ({ data: e = [], remainingMinutes: t, trackedMinutes: n = 0 }) => {
|
|
22010
|
-
let r = e.find((e) => e.variant === "clocked-in")?.from, i = e.at(-1), a = r ?
|
|
22010
|
+
let r = e.find((e) => e.variant === "clocked-in")?.from, i = e.at(-1), a = r ? wo(r) : $I, o = t === void 0 || t > 0 ? $I : i ? wo(i.to) : $I, s = i?.variant === "break" ? i?.to.getTime() - i?.from.getTime() || 0 : n * 60 * 1e3, c = Math.floor(s / 36e5), l = Math.floor(s % 36e5 / 6e4);
|
|
22011
22011
|
return {
|
|
22012
22012
|
primaryLabel: a,
|
|
22013
22013
|
secondaryLabel: o,
|
|
@@ -22019,7 +22019,7 @@ var ZI = (e, t) => ((t ?? 0) < -1 * (e ?? 0) ? -1 * e : t) ?? 0, QI = {
|
|
|
22019
22019
|
}, aL = (e) => {
|
|
22020
22020
|
if (!e.from || !e.to) return;
|
|
22021
22021
|
let t = Math.round((e.to.getTime() - e.from.getTime()) / 6e4);
|
|
22022
|
-
return [`${
|
|
22022
|
+
return [`${wo(e.from)} – ${wo(e.to)} (${iL(t)})`, e.label].filter(Boolean).join(rL);
|
|
22023
22023
|
};
|
|
22024
22024
|
function oL({ segments: e }) {
|
|
22025
22025
|
let t = e.map(aL);
|
|
@@ -22077,7 +22077,7 @@ function sL({ data: e = [], trackedMinutes: t = 0, remainingMinutes: n, variant:
|
|
|
22077
22077
|
dataKey: "value",
|
|
22078
22078
|
strokeWidth: 0,
|
|
22079
22079
|
isAnimationActive: !1,
|
|
22080
|
-
children: i.map((e, t) => /* @__PURE__ */ Q(
|
|
22080
|
+
children: i.map((e, t) => /* @__PURE__ */ Q(Ci, {
|
|
22081
22081
|
fill: e.color,
|
|
22082
22082
|
role: "presentation",
|
|
22083
22083
|
"aria-label": `${e.value} minutes`
|
|
@@ -22237,7 +22237,7 @@ function vL({ locations: e, locationId: t, onChangeLocationId: n, label: r, sear
|
|
|
22237
22237
|
onChange: n,
|
|
22238
22238
|
label: r,
|
|
22239
22239
|
searchPlaceholder: i,
|
|
22240
|
-
fieldIcon:
|
|
22240
|
+
fieldIcon: zr,
|
|
22241
22241
|
required: a,
|
|
22242
22242
|
disabled: o
|
|
22243
22243
|
});
|
|
@@ -22257,7 +22257,7 @@ function bL({ projects: e, projectId: t, onChangeProjectId: n, label: r, searchP
|
|
|
22257
22257
|
onChange: n,
|
|
22258
22258
|
label: r,
|
|
22259
22259
|
searchPlaceholder: i,
|
|
22260
|
-
fieldIcon:
|
|
22260
|
+
fieldIcon: bo,
|
|
22261
22261
|
required: a,
|
|
22262
22262
|
disabled: o
|
|
22263
22263
|
});
|
|
@@ -22277,7 +22277,7 @@ function xL({ text: e, placeholder: t, icon: n, onClick: r }) {
|
|
|
22277
22277
|
className: G("font-medium", e ? "text-f1-foreground" : "text-f1-foreground-secondary"),
|
|
22278
22278
|
children: e ?? t
|
|
22279
22279
|
}),
|
|
22280
|
-
/* @__PURE__ */ Q(U, { icon:
|
|
22280
|
+
/* @__PURE__ */ Q(U, { icon: gi })
|
|
22281
22281
|
]
|
|
22282
22282
|
});
|
|
22283
22283
|
}
|
|
@@ -22406,7 +22406,7 @@ function TL({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
22406
22406
|
children: /* @__PURE__ */ Q(B, {
|
|
22407
22407
|
onClick: c,
|
|
22408
22408
|
label: r.clockIn,
|
|
22409
|
-
icon:
|
|
22409
|
+
icon: Sa
|
|
22410
22410
|
})
|
|
22411
22411
|
}) : null,
|
|
22412
22412
|
A === "clocked-in" ? /* @__PURE__ */ $(Z, { children: [p ? /* @__PURE__ */ Q(Z, { children: P.length > 1 && f ? /* @__PURE__ */ Q("div", {
|
|
@@ -22424,7 +22424,7 @@ function TL({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
22424
22424
|
children: /* @__PURE__ */ Q(B, {
|
|
22425
22425
|
label: r.break,
|
|
22426
22426
|
variant: "outline",
|
|
22427
|
-
icon:
|
|
22427
|
+
icon: co,
|
|
22428
22428
|
hideLabel: !0
|
|
22429
22429
|
})
|
|
22430
22430
|
})
|
|
@@ -22433,34 +22433,34 @@ function TL({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
22433
22433
|
onClick: ee,
|
|
22434
22434
|
label: r.break,
|
|
22435
22435
|
variant: "outline",
|
|
22436
|
-
icon:
|
|
22436
|
+
icon: co,
|
|
22437
22437
|
hideLabel: !0
|
|
22438
22438
|
}) }) : null, /* @__PURE__ */ Q(B, {
|
|
22439
22439
|
onClick: l,
|
|
22440
22440
|
label: r.clockOut,
|
|
22441
22441
|
variant: "outline",
|
|
22442
|
-
icon:
|
|
22442
|
+
icon: ha
|
|
22443
22443
|
})] }) : null,
|
|
22444
22444
|
A === "break" ? ue === "clock-out" ? /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(B, {
|
|
22445
22445
|
onClick: c,
|
|
22446
22446
|
label: r.resume,
|
|
22447
22447
|
variant: "outline",
|
|
22448
|
-
icon:
|
|
22448
|
+
icon: Sa,
|
|
22449
22449
|
hideLabel: !0
|
|
22450
22450
|
}), /* @__PURE__ */ Q(B, {
|
|
22451
22451
|
onClick: l,
|
|
22452
22452
|
label: r.clockOut,
|
|
22453
|
-
icon:
|
|
22453
|
+
icon: ha
|
|
22454
22454
|
})] }) : /* @__PURE__ */ $(Z, { children: [/* @__PURE__ */ Q(B, {
|
|
22455
22455
|
onClick: l,
|
|
22456
22456
|
label: r.clockOut,
|
|
22457
22457
|
variant: "outline",
|
|
22458
|
-
icon:
|
|
22458
|
+
icon: ha,
|
|
22459
22459
|
hideLabel: !0
|
|
22460
22460
|
}), /* @__PURE__ */ Q(B, {
|
|
22461
22461
|
onClick: c,
|
|
22462
22462
|
label: r.resume,
|
|
22463
|
-
icon:
|
|
22463
|
+
icon: Sa
|
|
22464
22464
|
})] }) : null
|
|
22465
22465
|
] }), fe = O === "horizontal-bar" ? ce : y ?? se, pe = O === "horizontal-bar" ? le : v, me = /* @__PURE__ */ $(Z, { children: [
|
|
22466
22466
|
o ? fe : null,
|
|
@@ -22581,9 +22581,9 @@ function TL({ trackedMinutes: e, remainingMinutes: t, data: n = [], labels: r, l
|
|
|
22581
22581
|
//#endregion
|
|
22582
22582
|
//#region src/domains/employee-lifecycle/profile/Profile/TasksList/TaskItem/TaskItem.tsx
|
|
22583
22583
|
var EL = {
|
|
22584
|
-
done:
|
|
22585
|
-
"in-progress":
|
|
22586
|
-
todo:
|
|
22584
|
+
done: yi,
|
|
22585
|
+
"in-progress": aa,
|
|
22586
|
+
todo: Dr
|
|
22587
22587
|
}, DL = {
|
|
22588
22588
|
done: "text-f1-icon-success",
|
|
22589
22589
|
"in-progress": "text-f1-icon-info",
|
|
@@ -22606,7 +22606,7 @@ function OL({ task: e, status: t, onClick: n, hideIcon: r = !1 }) {
|
|
|
22606
22606
|
} : void 0,
|
|
22607
22607
|
rawTag: e.badge && !e.badge.isPastDue ? {
|
|
22608
22608
|
text: e.badge.text,
|
|
22609
|
-
icon:
|
|
22609
|
+
icon: $r
|
|
22610
22610
|
} : void 0,
|
|
22611
22611
|
count: e.counter,
|
|
22612
22612
|
onClick: i
|
|
@@ -22782,7 +22782,7 @@ function tR() {
|
|
|
22782
22782
|
variant: "ghost",
|
|
22783
22783
|
onClick: () => t(),
|
|
22784
22784
|
label: "Open main menu",
|
|
22785
|
-
icon:
|
|
22785
|
+
icon: mo,
|
|
22786
22786
|
hideLabel: !0
|
|
22787
22787
|
}) : null] });
|
|
22788
22788
|
}
|
|
@@ -22817,7 +22817,7 @@ var rR = Pl(({ title: e, children: t }, n) => (Zn(e, { disallowEmpty: !0 }, { co
|
|
|
22817
22817
|
}), t]
|
|
22818
22818
|
})));
|
|
22819
22819
|
rR.displayName = "WidgetSection";
|
|
22820
|
-
var iR = Bn(tr("WidgetSection", rR)), aR = "**", oR = () => aR, sR = ({ children: e }) => /* @__PURE__ */ Q(
|
|
22820
|
+
var iR = Bn(tr("WidgetSection", rR)), aR = "**", oR = () => aR, sR = ({ children: e }) => /* @__PURE__ */ Q(as, {
|
|
22821
22821
|
height: "52",
|
|
22822
22822
|
paddingTop: "sm",
|
|
22823
22823
|
children: e
|
|
@@ -22849,7 +22849,7 @@ function lR({ type: e, params: { canBeBlurred: t = !1, ...n } }) {
|
|
|
22849
22849
|
type: e
|
|
22850
22850
|
}) });
|
|
22851
22851
|
}
|
|
22852
|
-
var uR = () => /* @__PURE__ */ $(
|
|
22852
|
+
var uR = () => /* @__PURE__ */ $(as, {
|
|
22853
22853
|
display: "flex",
|
|
22854
22854
|
flexDirection: "column",
|
|
22855
22855
|
gap: "md",
|
|
@@ -22905,7 +22905,7 @@ var uR = () => /* @__PURE__ */ $(br, {
|
|
|
22905
22905
|
"heatmap-chart": cR("heatmap", () => /* @__PURE__ */ Q(tt, {})),
|
|
22906
22906
|
"scatter-chart": cR("scatter", () => /* @__PURE__ */ Q(it, {})),
|
|
22907
22907
|
"combo-chart": {
|
|
22908
|
-
render: (e) => /* @__PURE__ */ Q(
|
|
22908
|
+
render: (e) => /* @__PURE__ */ Q(as, {
|
|
22909
22909
|
minHeight: "52",
|
|
22910
22910
|
paddingTop: "sm",
|
|
22911
22911
|
children: /* @__PURE__ */ Q(pt, { ...e })
|
|
@@ -23014,7 +23014,7 @@ function SR({ avatar: e, avatarSize: t = "lg", left: n, title: i, subtitle: a, s
|
|
|
23014
23014
|
size: b ? "md" : "sm",
|
|
23015
23015
|
onClick: e.onClick
|
|
23016
23016
|
});
|
|
23017
|
-
return e.items ? /* @__PURE__ */ Q(
|
|
23017
|
+
return e.items ? /* @__PURE__ */ Q(Tr, {
|
|
23018
23018
|
items: e.items,
|
|
23019
23019
|
align: "end",
|
|
23020
23020
|
open: x === e.label,
|
|
@@ -23092,11 +23092,11 @@ var CR = Ol.createContext(void 0), wR = ({ tracking: e, children: t }) => /* @__
|
|
|
23092
23092
|
status: "status" in e ? e.status : void 0
|
|
23093
23093
|
};
|
|
23094
23094
|
}, zR = "-m-2", BR = (e) => G(zR, !e.isFirstUnderNoHeader && "mt-0", !e.isLastSlot && "mb-0"), VR = "ml-1.5 mt-1 self-start", HR = (e) => G(VR, e.isLastSlot && !e.hasFooter && "mb-1.5"), UR = "gap-2", WR = "xl", GR = (e, t, n, r) => {
|
|
23095
|
-
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(
|
|
23095
|
+
if (e === "module" && t.module) return { left: /* @__PURE__ */ Q(qo, {
|
|
23096
23096
|
module: t.module,
|
|
23097
23097
|
size: n
|
|
23098
23098
|
}) };
|
|
23099
|
-
if (e === "alert" && t.alert) return { left: /* @__PURE__ */ Q(
|
|
23099
|
+
if (e === "alert" && t.alert) return { left: /* @__PURE__ */ Q(Qi, {
|
|
23100
23100
|
type: t.alert,
|
|
23101
23101
|
size: n
|
|
23102
23102
|
}) };
|
|
@@ -23116,10 +23116,10 @@ var CR = Ol.createContext(void 0), wR = ({ tracking: e, children: t }) => /* @__
|
|
|
23116
23116
|
avatarSize: r ? WR : n
|
|
23117
23117
|
} : {};
|
|
23118
23118
|
}, KR = (e, t, n, r) => {
|
|
23119
|
-
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(Mn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(
|
|
23119
|
+
if (e) return e === "counter" ? t.count == null ? void 0 : /* @__PURE__ */ Q(Mn, { value: t.count }) : e === "date" ? t.date ? /* @__PURE__ */ Q(vo, {
|
|
23120
23120
|
date: pe(t.date),
|
|
23121
23121
|
size: r ? "lg" : "md"
|
|
23122
|
-
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(
|
|
23122
|
+
}) : void 0 : e.endsWith("-list") ? t.avatars && t.avatars.length > 0 ? /* @__PURE__ */ Q(hs, {
|
|
23123
23123
|
type: e.slice(0, -5),
|
|
23124
23124
|
size: n,
|
|
23125
23125
|
max: 3,
|
|
@@ -23444,7 +23444,7 @@ var XR = 3, ZR = "slot-skeleton-item", QR = [
|
|
|
23444
23444
|
className: "font-medium text-f1-foreground-secondary",
|
|
23445
23445
|
children: FR(e).charAt(0)
|
|
23446
23446
|
})
|
|
23447
|
-
}) : e.icon ? /* @__PURE__ */ Q(
|
|
23447
|
+
}) : e.icon ? /* @__PURE__ */ Q(Ko, {
|
|
23448
23448
|
icon: e.icon,
|
|
23449
23449
|
size: "lg"
|
|
23450
23450
|
}) : /* @__PURE__ */ Q("span", {
|
|
@@ -23542,7 +23542,7 @@ function Sz({ header: e, params: t, fullHeight: n, action: r, summaries: i, head
|
|
|
23542
23542
|
size: "sm",
|
|
23543
23543
|
...e
|
|
23544
23544
|
}, t)),
|
|
23545
|
-
s ? /* @__PURE__ */ Q(
|
|
23545
|
+
s ? /* @__PURE__ */ Q(Oo, {
|
|
23546
23546
|
items: s.options.map((e) => ({
|
|
23547
23547
|
label: e.label,
|
|
23548
23548
|
...e.value === E ? { icon: Oc } : e.icon ? { icon: e.icon } : {},
|
|
@@ -23675,7 +23675,7 @@ function kz({ isOpen: e, onClose: t, schema: n, params: r, renderPreview: i, inf
|
|
|
23675
23675
|
let u = H(), { position: d, width: f, bodyClassName: p, asideClassName: m } = wz(), { formRef: h, getValues: g, trigger: _ } = et(), [v, y] = X(r ?? {});
|
|
23676
23676
|
return q(() => {
|
|
23677
23677
|
e && y(r ?? {});
|
|
23678
|
-
}, [e, r]), /* @__PURE__ */ Q(
|
|
23678
|
+
}, [e, r]), /* @__PURE__ */ Q(La, {
|
|
23679
23679
|
isOpen: e,
|
|
23680
23680
|
onClose: t,
|
|
23681
23681
|
title: c ?? u.widgets.editParamsTitle,
|
|
@@ -23757,7 +23757,7 @@ var Az = (e) => {
|
|
|
23757
23757
|
return n < e.length && t.push({ text: e.slice(n) }), t;
|
|
23758
23758
|
}, zz = ({ text: e }) => /* @__PURE__ */ Q("div", {
|
|
23759
23759
|
className: "text-center text-f1-foreground-secondary",
|
|
23760
|
-
children: Rz(e).map((e, t) => /* @__PURE__ */ Q(Al, { children: "href" in e ? /* @__PURE__ */ Q(
|
|
23760
|
+
children: Rz(e).map((e, t) => /* @__PURE__ */ Q(Al, { children: "href" in e ? /* @__PURE__ */ Q(ni, {
|
|
23761
23761
|
href: e.href,
|
|
23762
23762
|
children: e.label
|
|
23763
23763
|
}) : e.text }, t))
|
|
@@ -24001,11 +24001,11 @@ function oB({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
24001
24001
|
onClick: () => R(e.id)
|
|
24002
24002
|
}), e.paramsSchema && b && t.push({
|
|
24003
24003
|
label: E ?? A.widgets.editParams,
|
|
24004
|
-
icon:
|
|
24004
|
+
icon: $a,
|
|
24005
24005
|
onClick: () => re(e.id)
|
|
24006
24006
|
}), j && !e.locked && f && (t.length > 0 && t.push({ type: "separator" }), t.push({
|
|
24007
24007
|
label: w ?? A.widgets.removeWidget,
|
|
24008
|
-
icon:
|
|
24008
|
+
icon: fi,
|
|
24009
24009
|
critical: !0,
|
|
24010
24010
|
onClick: () => f(e.id)
|
|
24011
24011
|
})), t;
|
|
@@ -24053,11 +24053,11 @@ function oB({ widgets: e = [], side: t = "main", children: n, footnote: r, slotR
|
|
|
24053
24053
|
className: "relative",
|
|
24054
24054
|
children: [o, /* @__PURE__ */ Q("div", {
|
|
24055
24055
|
className: "absolute right-3 top-3 z-10",
|
|
24056
|
-
children: /* @__PURE__ */ Q(
|
|
24056
|
+
children: /* @__PURE__ */ Q(Tr, {
|
|
24057
24057
|
items: r,
|
|
24058
24058
|
align: "end",
|
|
24059
24059
|
children: /* @__PURE__ */ Q(B, {
|
|
24060
|
-
icon:
|
|
24060
|
+
icon: Ir,
|
|
24061
24061
|
label: "Actions",
|
|
24062
24062
|
variant: "ghost",
|
|
24063
24063
|
size: "sm",
|
|
@@ -24176,14 +24176,14 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24176
24176
|
q(() => {
|
|
24177
24177
|
r && s(!0);
|
|
24178
24178
|
}, [r]);
|
|
24179
|
-
let c = o && !a, l = GL(e, c ? 180 : 0), u = e ? l || t ? "panel" : "retracting" : "column", d = u === "panel", f = !d || t, p =
|
|
24179
|
+
let c = o && !a, l = GL(e, c ? 180 : 0), u = e ? l || t ? "panel" : "retracting" : "column", d = u === "panel", f = !d || t, p = To(i), m = bt(p, (e) => `${e}px`);
|
|
24180
24180
|
return Vl(() => {
|
|
24181
24181
|
if (!r) return;
|
|
24182
24182
|
if (!c) {
|
|
24183
24183
|
p.jump(i);
|
|
24184
24184
|
return;
|
|
24185
24185
|
}
|
|
24186
|
-
let e =
|
|
24186
|
+
let e = Xa(p, i, UL);
|
|
24187
24187
|
return () => e.stop();
|
|
24188
24188
|
}, [
|
|
24189
24189
|
r,
|
|
@@ -24340,7 +24340,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24340
24340
|
"aria-label": ge,
|
|
24341
24341
|
children: /* @__PURE__ */ Q(Kc, { isExpanded: !z })
|
|
24342
24342
|
})
|
|
24343
|
-
}) : null, D ? null : /* @__PURE__ */ Q(
|
|
24343
|
+
}) : null, D ? null : /* @__PURE__ */ Q(ro, {
|
|
24344
24344
|
tooltip: T,
|
|
24345
24345
|
autoOpen: E
|
|
24346
24346
|
})]
|
|
@@ -24490,9 +24490,9 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24490
24490
|
tracking: _,
|
|
24491
24491
|
children: Ve
|
|
24492
24492
|
});
|
|
24493
|
-
}), yB = (e) => e ?
|
|
24493
|
+
}), yB = (e) => e ? Ai[e] : void 0, bB = (e) => e.type === "icon" ? {
|
|
24494
24494
|
...e,
|
|
24495
|
-
icon: yB(e.icon) ??
|
|
24495
|
+
icon: yB(e.icon) ?? Wo
|
|
24496
24496
|
} : e, xB = (e, t, n) => ({
|
|
24497
24497
|
...e.type === "navigate" && Fz(e.href) ? { href: e.href } : {},
|
|
24498
24498
|
onClick: () => n(e, t)
|
|
@@ -24797,7 +24797,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24797
24797
|
className: G("relative h-full rounded-xl", e && "transition-colors hover:bg-f1-background-hover"),
|
|
24798
24798
|
children: t
|
|
24799
24799
|
}), oV = "after:absolute after:inset-0 after:z-[1] after:rounded-xl after:content-['']", sV = ({ label: e, press: t }) => {
|
|
24800
|
-
if (!t) return /* @__PURE__ */ Q(
|
|
24800
|
+
if (!t) return /* @__PURE__ */ Q(xr, {
|
|
24801
24801
|
variant: "label",
|
|
24802
24802
|
content: e
|
|
24803
24803
|
});
|
|
@@ -24843,17 +24843,17 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24843
24843
|
ariaLabel: t,
|
|
24844
24844
|
valueFormatter: r
|
|
24845
24845
|
});
|
|
24846
|
-
}, dV = ({ chart: e, press: t }) => /* @__PURE__ */ $(
|
|
24846
|
+
}, dV = ({ chart: e, press: t }) => /* @__PURE__ */ $(as, {
|
|
24847
24847
|
display: "flex",
|
|
24848
24848
|
flexDirection: "column",
|
|
24849
24849
|
gap: "md",
|
|
24850
|
-
children: [/* @__PURE__ */ $(
|
|
24850
|
+
children: [/* @__PURE__ */ $(as, {
|
|
24851
24851
|
display: "flex",
|
|
24852
24852
|
flexDirection: "column",
|
|
24853
24853
|
children: [/* @__PURE__ */ Q(sV, {
|
|
24854
24854
|
label: e.label,
|
|
24855
24855
|
press: t
|
|
24856
|
-
}), e.caption ? /* @__PURE__ */ Q(
|
|
24856
|
+
}), e.caption ? /* @__PURE__ */ Q(xr, {
|
|
24857
24857
|
variant: "description",
|
|
24858
24858
|
content: e.caption
|
|
24859
24859
|
}) : null]
|
|
@@ -24913,7 +24913,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24913
24913
|
}, e.id);
|
|
24914
24914
|
})
|
|
24915
24915
|
});
|
|
24916
|
-
}, wV = ({ events: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(
|
|
24916
|
+
}, wV = ({ events: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(as, {
|
|
24917
24917
|
display: "flex",
|
|
24918
24918
|
flexDirection: "column",
|
|
24919
24919
|
gap: "md",
|
|
@@ -24960,7 +24960,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24960
24960
|
schema: EV(e),
|
|
24961
24961
|
items: e.rows.map((e) => TV(e, t, n))
|
|
24962
24962
|
}
|
|
24963
|
-
}], OV = ({ content: e, elementId: t, onAction: n }) => /* @__PURE__ */ $(
|
|
24963
|
+
}], OV = ({ content: e, elementId: t, onAction: n }) => /* @__PURE__ */ $(as, {
|
|
24964
24964
|
display: "flex",
|
|
24965
24965
|
flexDirection: "column",
|
|
24966
24966
|
gap: "md",
|
|
@@ -24979,7 +24979,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24979
24979
|
}) : /* @__PURE__ */ Q(CB, {
|
|
24980
24980
|
title: e.title,
|
|
24981
24981
|
slots: DV(e, t, n)
|
|
24982
|
-
}), AV = ({ posts: e }) => /* @__PURE__ */ Q(
|
|
24982
|
+
}), AV = ({ posts: e }) => /* @__PURE__ */ Q(as, {
|
|
24983
24983
|
display: "flex",
|
|
24984
24984
|
flexDirection: "column",
|
|
24985
24985
|
gap: "md",
|
|
@@ -24991,7 +24991,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
24991
24991
|
createdAt: new Date(e)
|
|
24992
24992
|
}
|
|
24993
24993
|
}, n.id))
|
|
24994
|
-
}), jV = ({ shortcuts: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(
|
|
24994
|
+
}), jV = ({ shortcuts: e, elementId: t, onAction: n }) => /* @__PURE__ */ Q(as, {
|
|
24995
24995
|
display: "flex",
|
|
24996
24996
|
flexWrap: "wrap",
|
|
24997
24997
|
gap: "sm",
|
|
@@ -25020,13 +25020,13 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25020
25020
|
})) }
|
|
25021
25021
|
}), FV = ({ stat: e, press: t }) => {
|
|
25022
25022
|
let n = yB(e.icon);
|
|
25023
|
-
return /* @__PURE__ */ $(
|
|
25023
|
+
return /* @__PURE__ */ $(as, {
|
|
25024
25024
|
display: "flex",
|
|
25025
25025
|
flexDirection: "column",
|
|
25026
25026
|
justifyContent: "between",
|
|
25027
25027
|
gap: "4xl",
|
|
25028
25028
|
height: "full",
|
|
25029
|
-
children: [/* @__PURE__ */ $(
|
|
25029
|
+
children: [/* @__PURE__ */ $(as, {
|
|
25030
25030
|
display: "flex",
|
|
25031
25031
|
alignItems: "center",
|
|
25032
25032
|
gap: "md",
|
|
@@ -25037,10 +25037,10 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25037
25037
|
size: "md",
|
|
25038
25038
|
color: "default"
|
|
25039
25039
|
})
|
|
25040
|
-
}) : null, /* @__PURE__ */ $(
|
|
25040
|
+
}) : null, /* @__PURE__ */ $(as, {
|
|
25041
25041
|
display: "flex",
|
|
25042
25042
|
flexDirection: "column",
|
|
25043
|
-
children: [e.eyebrow ? /* @__PURE__ */ Q(
|
|
25043
|
+
children: [e.eyebrow ? /* @__PURE__ */ Q(xr, {
|
|
25044
25044
|
variant: "description",
|
|
25045
25045
|
content: e.eyebrow
|
|
25046
25046
|
}) : null, /* @__PURE__ */ Q(sV, {
|
|
@@ -25048,10 +25048,10 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25048
25048
|
press: t
|
|
25049
25049
|
})]
|
|
25050
25050
|
})]
|
|
25051
|
-
}), /* @__PURE__ */ $(
|
|
25051
|
+
}), /* @__PURE__ */ $(as, {
|
|
25052
25052
|
display: "flex",
|
|
25053
25053
|
flexDirection: "column",
|
|
25054
|
-
children: [/* @__PURE__ */ $(
|
|
25054
|
+
children: [/* @__PURE__ */ $(as, {
|
|
25055
25055
|
display: "flex",
|
|
25056
25056
|
alignItems: "baseline",
|
|
25057
25057
|
flexWrap: "wrap",
|
|
@@ -25066,7 +25066,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25066
25066
|
className: G("text-base font-medium", NV[e.trend.tone ?? "neutral"]),
|
|
25067
25067
|
children: e.trend.text
|
|
25068
25068
|
}) : null]
|
|
25069
|
-
}), e.caption ? /* @__PURE__ */ Q(
|
|
25069
|
+
}), e.caption ? /* @__PURE__ */ Q(xr, {
|
|
25070
25070
|
variant: "description",
|
|
25071
25071
|
content: e.caption
|
|
25072
25072
|
}) : null]
|
|
@@ -25125,7 +25125,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25125
25125
|
children: WV(e.children)
|
|
25126
25126
|
}, t);
|
|
25127
25127
|
case "emphasis": return /* @__PURE__ */ Q("em", { children: WV(e.children) }, t);
|
|
25128
|
-
case "inlineCode": return /* @__PURE__ */ Q(
|
|
25128
|
+
case "inlineCode": return /* @__PURE__ */ Q(xr, {
|
|
25129
25129
|
as: "code",
|
|
25130
25130
|
variant: "code",
|
|
25131
25131
|
markdown: !1,
|
|
@@ -25133,14 +25133,14 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25133
25133
|
}, t);
|
|
25134
25134
|
case "code": return /* @__PURE__ */ Q("pre", {
|
|
25135
25135
|
className: "m-0 overflow-x-auto whitespace-pre-wrap",
|
|
25136
|
-
children: /* @__PURE__ */ Q(
|
|
25136
|
+
children: /* @__PURE__ */ Q(xr, {
|
|
25137
25137
|
as: "code",
|
|
25138
25138
|
variant: "code",
|
|
25139
25139
|
markdown: !1,
|
|
25140
25140
|
content: e.value ?? ""
|
|
25141
25141
|
})
|
|
25142
25142
|
}, t);
|
|
25143
|
-
case "link": return e.url && Lz(e.url) ? /* @__PURE__ */ Q(
|
|
25143
|
+
case "link": return e.url && Lz(e.url) ? /* @__PURE__ */ Q(ni, {
|
|
25144
25144
|
href: e.url,
|
|
25145
25145
|
children: UV(e)
|
|
25146
25146
|
}, t) : UV(e);
|
|
@@ -25219,7 +25219,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25219
25219
|
next: t.navigation.next
|
|
25220
25220
|
},
|
|
25221
25221
|
children: e
|
|
25222
|
-
}) : /* @__PURE__ */ Q(
|
|
25222
|
+
}) : /* @__PURE__ */ Q(as, {
|
|
25223
25223
|
display: "grid",
|
|
25224
25224
|
columns: "1",
|
|
25225
25225
|
gap: "md",
|
|
@@ -25236,26 +25236,26 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25236
25236
|
slotRenderers: rH
|
|
25237
25237
|
}), aH = (e) => Array.from({ length: e }, (e, t) => t), oH = ({ count: e }) => /* @__PURE__ */ Q(eH, { cards: aH(e).map((e) => /* @__PURE__ */ Q(aV, { children: /* @__PURE__ */ Q(iH, {
|
|
25238
25238
|
fullHeight: !0,
|
|
25239
|
-
children: /* @__PURE__ */ $(
|
|
25239
|
+
children: /* @__PURE__ */ $(as, {
|
|
25240
25240
|
display: "flex",
|
|
25241
25241
|
flexDirection: "column",
|
|
25242
25242
|
gap: "md",
|
|
25243
|
-
children: [/* @__PURE__ */ $(
|
|
25243
|
+
children: [/* @__PURE__ */ $(as, {
|
|
25244
25244
|
display: "flex",
|
|
25245
25245
|
flexDirection: "column",
|
|
25246
25246
|
gap: "xs",
|
|
25247
25247
|
children: [/* @__PURE__ */ Q(tH, { className: "h-4 w-32" }), /* @__PURE__ */ Q(tH, { className: "h-3 w-24" })]
|
|
25248
25248
|
}), /* @__PURE__ */ Q(tH, { className: "h-48 w-full rounded-md" })]
|
|
25249
25249
|
})
|
|
25250
|
-
}) }, e)) }), sH = ({ count: e }) => /* @__PURE__ */ Q(
|
|
25250
|
+
}) }, e)) }), sH = ({ count: e }) => /* @__PURE__ */ Q(as, {
|
|
25251
25251
|
display: "flex",
|
|
25252
25252
|
flexDirection: "column",
|
|
25253
25253
|
gap: "md",
|
|
25254
|
-
children: aH(e).map((e) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ $(
|
|
25254
|
+
children: aH(e).map((e) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ $(as, {
|
|
25255
25255
|
display: "flex",
|
|
25256
25256
|
alignItems: "center",
|
|
25257
25257
|
gap: "md",
|
|
25258
|
-
children: [/* @__PURE__ */ Q(tH, { className: "h-12 w-12 shrink-0 rounded-md" }), /* @__PURE__ */ $(
|
|
25258
|
+
children: [/* @__PURE__ */ Q(tH, { className: "h-12 w-12 shrink-0 rounded-md" }), /* @__PURE__ */ $(as, {
|
|
25259
25259
|
display: "flex",
|
|
25260
25260
|
flexDirection: "column",
|
|
25261
25261
|
gap: "xs",
|
|
@@ -25265,15 +25265,15 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25265
25265
|
}) }, e))
|
|
25266
25266
|
}), cH = ({ count: e, schema: t }) => {
|
|
25267
25267
|
let n = !!(t?.descriptionRequired || t?.descriptionOptional), r = t?.left;
|
|
25268
|
-
return /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(
|
|
25268
|
+
return /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(as, {
|
|
25269
25269
|
display: "flex",
|
|
25270
25270
|
flexDirection: "column",
|
|
25271
25271
|
gap: "md",
|
|
25272
|
-
children: aH(e).map((e) => /* @__PURE__ */ $(
|
|
25272
|
+
children: aH(e).map((e) => /* @__PURE__ */ $(as, {
|
|
25273
25273
|
display: "flex",
|
|
25274
25274
|
alignItems: "center",
|
|
25275
25275
|
gap: "md",
|
|
25276
|
-
children: [r ? /* @__PURE__ */ Q(tH, { className: G("shrink-0", n ? "h-8 w-8" : "h-6 w-6", r === "person" ? "rounded-full" : "rounded-sm") }) : null, /* @__PURE__ */ $(
|
|
25276
|
+
children: [r ? /* @__PURE__ */ Q(tH, { className: G("shrink-0", n ? "h-8 w-8" : "h-6 w-6", r === "person" ? "rounded-full" : "rounded-sm") }) : null, /* @__PURE__ */ $(as, {
|
|
25277
25277
|
display: "flex",
|
|
25278
25278
|
flexDirection: "column",
|
|
25279
25279
|
gap: "xs",
|
|
@@ -25282,13 +25282,13 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25282
25282
|
})]
|
|
25283
25283
|
}, e))
|
|
25284
25284
|
}) });
|
|
25285
|
-
}, lH = ({ count: e }) => /* @__PURE__ */ Q(
|
|
25285
|
+
}, lH = ({ count: e }) => /* @__PURE__ */ Q(as, {
|
|
25286
25286
|
display: "flex",
|
|
25287
25287
|
flexDirection: "column",
|
|
25288
25288
|
gap: "md",
|
|
25289
25289
|
children: aH(e).map((e) => /* @__PURE__ */ $("div", {
|
|
25290
25290
|
className: "flex flex-row items-stretch gap-4 rounded-xl border border-solid border-f1-border-secondary p-4",
|
|
25291
|
-
children: [/* @__PURE__ */ Q(tH, { className: "aspect-video w-40 shrink-0 self-start rounded-md sm:w-64" }), /* @__PURE__ */ $(
|
|
25291
|
+
children: [/* @__PURE__ */ Q(tH, { className: "aspect-video w-40 shrink-0 self-start rounded-md sm:w-64" }), /* @__PURE__ */ $(as, {
|
|
25292
25292
|
display: "flex",
|
|
25293
25293
|
flexDirection: "column",
|
|
25294
25294
|
gap: "sm",
|
|
@@ -25297,7 +25297,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25297
25297
|
/* @__PURE__ */ Q(tH, { className: "h-5 w-3/4" }),
|
|
25298
25298
|
/* @__PURE__ */ Q(tH, { className: "h-3 w-full" }),
|
|
25299
25299
|
/* @__PURE__ */ Q(tH, { className: "h-3 w-5/6" }),
|
|
25300
|
-
/* @__PURE__ */ $(
|
|
25300
|
+
/* @__PURE__ */ $(as, {
|
|
25301
25301
|
display: "flex",
|
|
25302
25302
|
alignItems: "center",
|
|
25303
25303
|
gap: "md",
|
|
@@ -25309,29 +25309,29 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25309
25309
|
}, e))
|
|
25310
25310
|
}), uH = ({ count: e }) => /* @__PURE__ */ Q(eH, { cards: aH(e).map((e) => /* @__PURE__ */ Q(aV, { children: /* @__PURE__ */ Q(iH, {
|
|
25311
25311
|
fullHeight: !0,
|
|
25312
|
-
children: /* @__PURE__ */ $(
|
|
25312
|
+
children: /* @__PURE__ */ $(as, {
|
|
25313
25313
|
display: "flex",
|
|
25314
25314
|
flexDirection: "column",
|
|
25315
25315
|
gap: "lg",
|
|
25316
|
-
children: [/* @__PURE__ */ $(
|
|
25316
|
+
children: [/* @__PURE__ */ $(as, {
|
|
25317
25317
|
display: "flex",
|
|
25318
25318
|
alignItems: "center",
|
|
25319
25319
|
gap: "md",
|
|
25320
25320
|
children: [/* @__PURE__ */ Q(tH, { className: "h-10 w-10 shrink-0 rounded-md" }), /* @__PURE__ */ Q(tH, { className: "h-4 w-24" })]
|
|
25321
25321
|
}), /* @__PURE__ */ Q(tH, { className: "h-7 w-20" })]
|
|
25322
25322
|
})
|
|
25323
|
-
}) }, e)) }), dH = ({ count: e }) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(
|
|
25323
|
+
}) }, e)) }), dH = ({ count: e }) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(as, {
|
|
25324
25324
|
display: "flex",
|
|
25325
25325
|
flexDirection: "column",
|
|
25326
|
-
children: aH(e).map((t) => /* @__PURE__ */ $(
|
|
25326
|
+
children: aH(e).map((t) => /* @__PURE__ */ $(as, {
|
|
25327
25327
|
display: "flex",
|
|
25328
25328
|
gap: "md",
|
|
25329
|
-
children: [/* @__PURE__ */ $(
|
|
25329
|
+
children: [/* @__PURE__ */ $(as, {
|
|
25330
25330
|
display: "flex",
|
|
25331
25331
|
flexDirection: "column",
|
|
25332
25332
|
alignItems: "center",
|
|
25333
25333
|
children: [/* @__PURE__ */ Q(tH, { className: "h-5 w-5 shrink-0 rounded-full" }), t < e - 1 ? /* @__PURE__ */ Q("div", { className: "min-h-4 w-px grow bg-f1-border-secondary" }) : null]
|
|
25334
|
-
}), /* @__PURE__ */ $(
|
|
25334
|
+
}), /* @__PURE__ */ $(as, {
|
|
25335
25335
|
display: "flex",
|
|
25336
25336
|
flexDirection: "column",
|
|
25337
25337
|
gap: "xs",
|
|
@@ -25340,7 +25340,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25340
25340
|
children: [/* @__PURE__ */ Q(tH, { className: "h-4 w-1/2" }), /* @__PURE__ */ Q(tH, { className: "h-3 w-1/3" })]
|
|
25341
25341
|
})]
|
|
25342
25342
|
}, t))
|
|
25343
|
-
}) }), fH = ({ count: e }) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(
|
|
25343
|
+
}) }), fH = ({ count: e }) => /* @__PURE__ */ Q(iH, { children: /* @__PURE__ */ Q(as, {
|
|
25344
25344
|
display: "flex",
|
|
25345
25345
|
flexDirection: "column",
|
|
25346
25346
|
gap: "md",
|
|
@@ -25431,9 +25431,9 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25431
25431
|
elementId: e.id,
|
|
25432
25432
|
onAction: n
|
|
25433
25433
|
});
|
|
25434
|
-
}, wH = "agentic-list-stack", TH = ({ title: e }) => /* @__PURE__ */ Q(
|
|
25434
|
+
}, wH = "agentic-list-stack", TH = ({ title: e }) => /* @__PURE__ */ Q(as, {
|
|
25435
25435
|
paddingY: "sm",
|
|
25436
|
-
children: /* @__PURE__ */ Q(
|
|
25436
|
+
children: /* @__PURE__ */ Q(xr, {
|
|
25437
25437
|
variant: "description",
|
|
25438
25438
|
content: e
|
|
25439
25439
|
})
|
|
@@ -25485,7 +25485,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25485
25485
|
});
|
|
25486
25486
|
}, NH = ({ items: e, onAction: t }) => {
|
|
25487
25487
|
let n = H();
|
|
25488
|
-
return /* @__PURE__ */ Q(
|
|
25488
|
+
return /* @__PURE__ */ Q(Oo, {
|
|
25489
25489
|
items: e.map((e) => e.type === "separator" ? { type: "separator" } : {
|
|
25490
25490
|
label: e.label,
|
|
25491
25491
|
icon: yB(e.icon),
|
|
@@ -25495,7 +25495,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25495
25495
|
children: /* @__PURE__ */ Q(B, {
|
|
25496
25496
|
variant: "ghost",
|
|
25497
25497
|
size: "sm",
|
|
25498
|
-
icon:
|
|
25498
|
+
icon: Ir,
|
|
25499
25499
|
hideLabel: !0,
|
|
25500
25500
|
label: n.actions.more
|
|
25501
25501
|
})
|
|
@@ -25514,7 +25514,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25514
25514
|
} }), n = c + i.length;
|
|
25515
25515
|
}
|
|
25516
25516
|
return n < e.length && t.push({ text: e.slice(n) }), t;
|
|
25517
|
-
}, VH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: Rz(e).map((e, t) => /* @__PURE__ */ Q(Al, { children: "href" in e ? /* @__PURE__ */ Q(
|
|
25517
|
+
}, VH = ({ text: e }) => /* @__PURE__ */ Q(Z, { children: Rz(e).map((e, t) => /* @__PURE__ */ Q(Al, { children: "href" in e ? /* @__PURE__ */ Q(ni, {
|
|
25518
25518
|
href: e.href,
|
|
25519
25519
|
children: e.label
|
|
25520
25520
|
}) : /* @__PURE__ */ Q(RH, { text: e.text }) }, t)) }), HH = ({ text: e }) => {
|
|
@@ -25557,22 +25557,22 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25557
25557
|
children: e
|
|
25558
25558
|
}), QH = ({ section: e, size: t, composer: n, onAction: r }) => {
|
|
25559
25559
|
let i = t === "lead", a = e.actions?.length ? e.actions : void 0, o = !!(e.title || a);
|
|
25560
|
-
return !o && !e.eyebrow && !e.text && !n ? null : /* @__PURE__ */ $(
|
|
25560
|
+
return !o && !e.eyebrow && !e.text && !n ? null : /* @__PURE__ */ $(as, {
|
|
25561
25561
|
display: "flex",
|
|
25562
25562
|
flexDirection: "column",
|
|
25563
25563
|
gap: i ? "2xl" : "sm",
|
|
25564
25564
|
children: [
|
|
25565
|
-
/* @__PURE__ */ $(
|
|
25565
|
+
/* @__PURE__ */ $(as, {
|
|
25566
25566
|
display: "flex",
|
|
25567
25567
|
flexDirection: "column",
|
|
25568
25568
|
gap: "sm",
|
|
25569
25569
|
children: [e.eyebrow ? i ? /* @__PURE__ */ Q("p", {
|
|
25570
25570
|
className: "m-0 text-lg text-f1-foreground-secondary",
|
|
25571
25571
|
children: e.eyebrow
|
|
25572
|
-
}) : /* @__PURE__ */ Q(
|
|
25572
|
+
}) : /* @__PURE__ */ Q(xr, {
|
|
25573
25573
|
variant: "description",
|
|
25574
25574
|
content: e.eyebrow
|
|
25575
|
-
}) : null, o ? /* @__PURE__ */ $(
|
|
25575
|
+
}) : null, o ? /* @__PURE__ */ $(as, {
|
|
25576
25576
|
display: "flex",
|
|
25577
25577
|
alignItems: "start",
|
|
25578
25578
|
justifyContent: e.title ? "between" : "end",
|
|
@@ -25619,7 +25619,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25619
25619
|
onAction: a,
|
|
25620
25620
|
lead: r === "lead"
|
|
25621
25621
|
}, e.element.id)),
|
|
25622
|
-
e.followUps?.length ? /* @__PURE__ */ Q(
|
|
25622
|
+
e.followUps?.length ? /* @__PURE__ */ Q(as, {
|
|
25623
25623
|
display: "flex",
|
|
25624
25624
|
flexWrap: "wrap",
|
|
25625
25625
|
gap: "sm",
|
|
@@ -25662,7 +25662,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25662
25662
|
}), d = tU(e.actions, (e) => {
|
|
25663
25663
|
o(), u(e.action, {});
|
|
25664
25664
|
});
|
|
25665
|
-
return /* @__PURE__ */ Q(
|
|
25665
|
+
return /* @__PURE__ */ Q(La, {
|
|
25666
25666
|
isOpen: a,
|
|
25667
25667
|
onClose: o,
|
|
25668
25668
|
position: n === "drawer" ? "right" : "center",
|
|
@@ -25674,7 +25674,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25674
25674
|
children: e.widget ? /* @__PURE__ */ Q(rU, {
|
|
25675
25675
|
element: e.widget,
|
|
25676
25676
|
state: s?.[e.widget.id]
|
|
25677
|
-
}, nU(e.id, t)) : /* @__PURE__ */ Q(
|
|
25677
|
+
}, nU(e.id, t)) : /* @__PURE__ */ Q(as, {
|
|
25678
25678
|
display: "flex",
|
|
25679
25679
|
flexDirection: "column",
|
|
25680
25680
|
gap: "3xl",
|
|
@@ -25737,7 +25737,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25737
25737
|
children: /* @__PURE__ */ Q(U, {
|
|
25738
25738
|
size: "lg",
|
|
25739
25739
|
color: cU,
|
|
25740
|
-
icon: u ? a.icon : i ??
|
|
25740
|
+
icon: u ? a.icon : i ?? Cr
|
|
25741
25741
|
})
|
|
25742
25742
|
})
|
|
25743
25743
|
})]
|
|
@@ -25761,7 +25761,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25761
25761
|
transition: { duration: l ? 0 : .15 },
|
|
25762
25762
|
children: /* @__PURE__ */ $("div", {
|
|
25763
25763
|
className: "flex w-96 max-w-[calc(100vw-6rem)] flex-col gap-4 rounded-xl border border-solid border-f1-border-secondary bg-f1-background p-4 shadow-lg",
|
|
25764
|
-
children: [/* @__PURE__ */ Q(
|
|
25764
|
+
children: [/* @__PURE__ */ Q(xr, {
|
|
25765
25765
|
variant: "label",
|
|
25766
25766
|
content: s
|
|
25767
25767
|
}), c]
|
|
@@ -25777,7 +25777,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25777
25777
|
children: e
|
|
25778
25778
|
})
|
|
25779
25779
|
});
|
|
25780
|
-
}), dU = ({ greeting: e }) => /* @__PURE__ */ $(
|
|
25780
|
+
}), dU = ({ greeting: e }) => /* @__PURE__ */ $(as, {
|
|
25781
25781
|
display: "flex",
|
|
25782
25782
|
flexDirection: "column",
|
|
25783
25783
|
gap: "xs",
|
|
@@ -25785,7 +25785,7 @@ var sB = ({ collapsed: e, open: t, glide: n, drawn: r, width: i }) => {
|
|
|
25785
25785
|
as: "h1",
|
|
25786
25786
|
variant: "heading-large",
|
|
25787
25787
|
content: e.title
|
|
25788
|
-
}), e.subtitle ? /* @__PURE__ */ Q(
|
|
25788
|
+
}), e.subtitle ? /* @__PURE__ */ Q(xr, {
|
|
25789
25789
|
variant: "description",
|
|
25790
25790
|
content: e.subtitle
|
|
25791
25791
|
}) : null]
|
|
@@ -26284,7 +26284,7 @@ function ZU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
26284
26284
|
...r.length ? [{
|
|
26285
26285
|
id: "recommended",
|
|
26286
26286
|
label: u.widgets.recommended,
|
|
26287
|
-
icon:
|
|
26287
|
+
icon: Eo,
|
|
26288
26288
|
items: r
|
|
26289
26289
|
}] : [],
|
|
26290
26290
|
...(i ?? []).map((e) => ({
|
|
@@ -26308,7 +26308,7 @@ function ZU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
26308
26308
|
e && (b("pick"), S(!1), T(null));
|
|
26309
26309
|
}, [e]), q(() => {
|
|
26310
26310
|
y === "configure" && !F && b("pick");
|
|
26311
|
-
}, [y, F]), /* @__PURE__ */ Q(
|
|
26311
|
+
}, [y, F]), /* @__PURE__ */ Q(La, {
|
|
26312
26312
|
isOpen: e,
|
|
26313
26313
|
onClose: t,
|
|
26314
26314
|
title: I && N ? u.widgets.configureWidget.replace("{{title}}", N.title) : l,
|
|
@@ -26372,7 +26372,7 @@ function ZU({ isOpen: e, onClose: t, widgets: n, onAdd: r, groups: i, area: a, p
|
|
|
26372
26372
|
type: "button",
|
|
26373
26373
|
onClick: () => v(e.id),
|
|
26374
26374
|
className: "flex items-center gap-3 rounded-md p-2 text-left " + (N?.id === e.id ? "bg-f1-background-selected" : "hover:bg-f1-background-tertiary"),
|
|
26375
|
-
children: [/* @__PURE__ */ Q(
|
|
26375
|
+
children: [/* @__PURE__ */ Q(Ko, {
|
|
26376
26376
|
icon: e.icon,
|
|
26377
26377
|
size: "lg"
|
|
26378
26378
|
}), /* @__PURE__ */ Q("span", {
|
|
@@ -26683,16 +26683,16 @@ var jW = () => {
|
|
|
26683
26683
|
"sm",
|
|
26684
26684
|
"md",
|
|
26685
26685
|
"md"
|
|
26686
|
-
], LW =
|
|
26686
|
+
], LW = Wa(FW, () => /* @__PURE__ */ Q(pi, { children: /* @__PURE__ */ Q(FW, { children: IW.map((e, t) => /* @__PURE__ */ Q(de.Skeleton, { height: e }, t)) }) })), RW = ({ children: e }) => /* @__PURE__ */ Q("div", {
|
|
26687
26687
|
className: "flex min-h-40 flex-row items-stretch gap-4 text-f1-foreground @container [&>div]:min-w-[calc(100vw-64px)] @2xl:[&>div]:min-w-[calc(50vw-48px)]",
|
|
26688
26688
|
children: e
|
|
26689
|
-
}), zW =
|
|
26690
|
-
return /* @__PURE__ */ Q(
|
|
26689
|
+
}), zW = Wa(Pl(function({ children: e }, t) {
|
|
26690
|
+
return /* @__PURE__ */ Q(ls, {
|
|
26691
26691
|
ref: t,
|
|
26692
26692
|
showBar: !1,
|
|
26693
26693
|
children: /* @__PURE__ */ Q(RW, { children: e })
|
|
26694
26694
|
});
|
|
26695
|
-
}), () => /* @__PURE__ */ Q(
|
|
26695
|
+
}), () => /* @__PURE__ */ Q(pi, {
|
|
26696
26696
|
orientation: "horizontal",
|
|
26697
26697
|
children: /* @__PURE__ */ $(RW, { children: [
|
|
26698
26698
|
/* @__PURE__ */ Q(de.Skeleton, {}),
|
|
@@ -26730,6 +26730,6 @@ var HW = Bn(tr("WidgetEmptyState", VW)), UW = ({ identifier: e, allowedRoutes: t
|
|
|
26730
26730
|
}, WW = Bn(Qn({
|
|
26731
26731
|
name: "ScrollArea",
|
|
26732
26732
|
type: "layout"
|
|
26733
|
-
},
|
|
26733
|
+
}, ls));
|
|
26734
26734
|
//#endregion
|
|
26735
|
-
export { HU as AGENTIC_HOME_SPEC_VERSION, p as AUTO_PER_PAGE_MAX, en as AUTO_PER_PAGE_MIN_RESERVED_ROWS, Xp as ActivityItemList, Yp as ActivityItemListSkeleton, Cu as AiPromotionChat, wu as AiPromotionChatProvider, XS as ApplicationFrame, Xt as AreaChart, pI as AreaChartWidget, $F as AutoGrid,
|
|
26735
|
+
export { HU as AGENTIC_HOME_SPEC_VERSION, p as AUTO_PER_PAGE_MAX, en as AUTO_PER_PAGE_MIN_RESERVED_ROWS, Xp as ActivityItemList, Yp as ActivityItemListSkeleton, Cu as AiPromotionChat, wu as AiPromotionChatProvider, XS as ApplicationFrame, Xt as AreaChart, pI as AreaChartWidget, $F as AutoGrid, ns as Badge, an as BarChart, mI as BarChartWidget, Jp as BaseActivityItemList, at as BaseBanner, nm as BaseCelebration, ym as BaseCommunityPost, ao as BaseTabs, Ka as BreadcrumbSelect, _C as Breadcrumbs, mm as CalendarEvent, kI as CalendarEventList, n as CardSelectableContainer, ct as Carousel, Ue as CategoryBarChart, XI as CategoryBarSection, im as Celebration, rm as CelebrationSkeleton, EI as ChartWidgetEmptyState, ws as Chip, TL as ClockInControls, Ht as CoachmarkProvider, nn as ComboChart, xm as CommunityPost, Am as CommunityPostCard, bm as CommunityPostSkeleton, uT as CompanySelector, Mn as Counter, XR as DEFAULT_EXPECTED_ITEMS_COUNT, LW as Dashboard, cC as DaytimePage, Zi as DetailsItem, wa as DetailsItemsList, Yt as Dialog, Oo as Dropdown, UR as EVENT_LIST_GAP, hp as EntitySelect, wt as F0ActionBar, RU as F0AgenticHome, BU as F0AgenticHomeBlock, fe as F0AiBanner, nd as F0AiCallout, rs as F0AvatarColor, $o as F0AvatarColorList, qo as F0AvatarModule, Tc as F0ButtonToggle, ud as F0Callout, li as F0CardHorizontal, li as F0CardRow, gf as F0CarouselDialog, PF as F0Chat, Tk as F0ChatHistoryLimitCard, fl as F0ChatProvider, QD as F0CommandPaletteProvider, Fm as F0CommunityPostsCarousel, Sd as F0Confetti, VF as F0ENPSButton, Nu as F0EmojiPicker, Or as F0FileItem, je as F0FormEditableTable, Ve as F0LocationInput, il as F0Map, Zc as F0MapControls, zc as F0MapList, Rc as F0MapSidebar, Qc as F0MapSidebarToggle, tl as F0MapSkeleton, wS as F0Meeting, Wd as F0MeetingCard, rh as F0MeetingProvider, oS as F0MeetingRoom, TS as F0MeetingSlot, CS as F0MeetingSurface, rn as F0NotesTextEditor, He as F0NotesTextEditorSkeleton, m as F0NumberInput, _ as F0NumberInputInline, Fo as F0PersonCard, dt as F0PhoneInput, EE as F0PrimarySidebar, Sc as F0ProgressSeries, Yd as F0PulseDot, pf as F0Resizable, Re as F0ResourceHeader, Re as ResourceHeader, eo as F0RichTextDisplay, ft as F0RichTextEditor, cc as F0SearchInput, kE as F0SecondarySidebar, vf as F0SegmentedBar, Ze as F0SegmentedControl, kf as F0SwipeDeck, It as F0TableOfContent, Rp as F0TemplateTextInput, Qt as F0TextAreaInput, d as F0TextAreaInputInline, Zr as F0TextInput, he as F0TextInputInline, Vf as F0Timeline, zf as F0VersionHistory, Ck as F0_CHAT_HEADER_TITLE_SELECTOR, iO as F0_CHAT_MESSAGES_TAB_ID, ec as F1SearchBox, L as FILE_TYPES, Ua as FileItem, am as HighlightBanner, $L as HomeSlotItem, QL as HomeSlotItems, PI as IndicatorsList, Wi as Input, Be as Item, lt as ItemSectionHeader, aO as LATEST, kR as LIST_COMPACT_AFTER, VR as LIST_MORE_BUTTON_CLASS, ge as LineChart, hI as LineChartWidget, RS as MeetingNotes, DS as MeetingPanelContent, LS as MeetingParticipants, kS as MeetingRoomChat, Ux as MeetingSidePanel, C_ as MeetingSurfaceProvider, MS as MeetingTranscript, OT as Menu, zo as MobileDropdown, vB as NewHomeLayout, tn as NotesTextEditor, z as NotesTextEditorSkeleton, R as NumberInput, UC as OmniButton, UE as OneApprovalHistory, Qs as OneCalendar, qs as OneCalendarInternal, Dt as OneDataCollection, l as OneDateNavigator, S as OneEmptyState, Bm as OneListItem, zm as OneListItemSkeleton, mt as OnePagination, Um as OnePersonListItem, UW as OneRestrictComponent, GC as Page, zC as PageHeader, vC as PageHeaderNavigationContext, yC as PageHeaderNavigationProvider, Da as PageNavigation, f as PieChart, gI as PieChartWidget, Ut as PrivateBox, $t as ProgressBarChart, VU as RECOMMENDED_AGENTIC_HOME_RULES, Gc as RECOMMENDED_MAX_MARKERS, ye as RadarChart, cm as Reactions, Ma as RichTextDisplay, te as RichTextEditor, zR as SLOT_ROW_BLEED, ZR as SLOT_SKELETON_ITEM_TESTID, WW as ScrollArea, DE as SearchBar, i as SectionHeader, gc as Select, er as Shortcut, ME as Sidebar, Ow as SidebarChatBlankState, Iw as SidebarChatItem, Aw as SidebarChatItemSkeleton, Kw as SidebarChatList, Mw as SidebarChatListSkeleton, tw as SidebarChatProvider, fw as SidebarCollapsibleSection, gT as SidebarFooter, vT as SidebarHeader, jT as SidebarPanelHeader, Ew as SidebarTabPanel, bw as SidebarTabPanelSearch, FE as SidebarTabs, hT as SidebarUserMenu, Sz as SlotWidget, xz as SlotWidgetContent, zs as Spinner, QF as Split, ZF as Stack, vI as SummariesWidget, pc as Switch, xo as Tabs, da as TabsSkeleton, kL as TasksList, ve as Textarea, Ro as ToggleGroup, sa as ToggleGroupItem, cn as Tooltip, Un as TooltipGroup, YI as TwoColumnsList, se as UPLOAD_INPUT_ID, v as VerticalBarChart, _I as VerticalBarChartWidget, Uf as VirtualList, Ys as WeekStartDay, Do as Weekdays, BW as Widget, LI as WidgetAvatarsListItem, ZU as WidgetCatalog, HW as WidgetEmptyState, MI as WidgetHighlightButton, GI as WidgetInboxList, BI as WidgetInboxListItem, iR as WidgetSection, qI as WidgetSimpleList, UI as WidgetSimpleListItem, zW as WidgetStrip, Lt as actionBarStatuses, Pu as aiCalloutStatuses, Kd as attendeesDisplays, Rg as buildTiles, ke as buttonToggleColors, Ie as buttonToggleSizes, ue as buttonToggleVariants, fm as calendarEventVariants, wc as chipVariants, iu as coachmarks, jD as commandActionRisks, km as communityPostCardVariants, dd as confettiPalette, Xb as createMeetingSignalStore, el as defaultMapStyle, oz as defaultSlotRenderers, az as defaultSlotSkeleton, lu as defineStepByStepCoachmarkGuidance, Ge as downloadAsCSV, ZE as downloadAsExcel, $D as f0ChatSenderColors, Tu as f0EmojiPickerSizes, ci as f0FileItemSizes, Lc as f0MapMarkerVariants, rl as f0MapStyles, qg as f0MeetingConnectionQualities, Zg as f0MeetingCoreActionIds, Gg as f0MeetingDisconnectReasons, Kg as f0MeetingPermissions, Ug as f0MeetingPresences, Wg as f0MeetingStatuses, Jg as f0MeetingSurfaceDestinations, Yg as f0MeetingSurfaceModes, Hg as f0MeetingTrackKinds, Ql as f0ProgressSeriesColors, Zl as f0ProgressSeriesSizes, Xg as f0WindowCorners, NR as fromParams, Ye as generateCSVContent, be as getAutoPerPageMinHeight, xc as getGranularityDefinition, Zs as getGranularityDefinitions, Ec as getGranularitySimpleDefinition, Xc as googleMapStyles, Uc as googlePinlessMapStyles, vc as granularityDefinitions, jR as homeSlot, Ia as isPossiblePhoneValue, rO as isPost, eO as isSystemMessage, nO as isUserMessage, ra as isValidPhoneValue, Bb as layoutGrid, g as listIconColors, HR as listMoreButtonClass, MR as listSlot, bp as locationInputSizes, xp as locationParts, By as matchDevice, Gd as meetingStates, Xo as modules, a_ as nearestCorner, Im as oneListItemRowClassName, Sp as phoneInputSizes, i_ as placementFromRect, Ne as predefinedPresets, Xd as pulseDotVariants, LR as railActionTones, hc as rangeSeparator, Py as readMeetingMediaPreferences, Ub as reorderForSpeakers, Zd as resizableDirections, Ob as resolveAutoFocus, fc as resolveGranularityDefinition, r_ as resolvePlacement, OR as resolveSlotRenderer, PR as resolveWidgetHeader, Fh as sanitizeMeetingReaction, GE as seedFromStorage, D as selectSizes, Se as selectVariants, o_ as settlePlacement, BR as slotRowBleed, zb as solveGrid, Wb as solveSpotlight, Ff as swipeDirections, Vg as tileAspectRatio, Ig as tileKey, Fy as updateMeetingMediaPreferences, gu as useAiPromotionChat, XD as useCommandPalette, Zp as useCompactOnScroll, bd as useConfetti, re as useDataCollectionData, KE as useDataCollectionItemNavigation, me as useDataCollectionSource, Vt as useExportAction, El as useF0Chat, ah as useF0Meeting, sh as useF0MeetingRoster, oh as useF0MeetingStable, ih as useHasF0Meeting, o as useInfiniteScrollPagination, ZL as useIsBulkChange, Iy as useMeetingMediaPreferences, ex as useMeetingSignal, tx as useMeetingSpeakers, w_ as useMeetingSurface, T_ as useMeetingSurfaceOptional, xC as usePageHeaderItemNavigation, bC as usePageHeaderNavigation, Bi as useSidePanel, Ic as useSidebar, aw as useSidebarChatActions, iw as useSidebarChats, Pf as useSwipeDeck, uh as useTrackBinding, r as useWidgetIsWide, zS as viewportRect, RR as widgetChrome, IR as widgetParamsAreComplete, FR as widgetTitle };
|