@factorialco/f0-react 6.66.1 → 6.66.3

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.
@@ -1,8 +1,8 @@
1
- import { cP as i1, cQ as Pm, cR as n1, cS as C1, cT as o1, cU as r1, cV as Ap, cW as Gm, cX as fc, cY as ma, cZ as A1, bX as Kt, cs as hr, u as Gt, c_ as s1, c$ as a1, d0 as sp, cE as JA, cF as HA, bW as tI, bC as l1, bB as DU, V as ig, z as c1, A as d1, bP as sg, b8 as _U, K as u1, B as h1, m as dg, ak as qA, S as lt, c1 as xC, d1 as p1, d2 as B1, d3 as f1, _ as m1, d4 as F1, aq as Ti, b9 as ap, aj as lp, bS as Dn, c8 as sr, d5 as U1, e as cp, c3 as ro, d6 as Q1, a8 as dp, cM as ka, w as EI, r as Og, y as Da, t as up, v as hp, bt as SU, x as pp, aY as vU, bN as y1, ah as RU, bU as zI, s as ti, cG as Ta, d7 as lh, cu as Na, bM as Em, Y as w1, bV as bI, d8 as MU, d9 as Eh, cL as pr, da as Bp, db as b1, ch as fp, dc as $A, aP as x1, bG as D1, X as _1, i as S1, cD as v1, dd as oo, de as mp, df as rn, bf as R1, dg as M1, ae as V1, c9 as so, dh as nd, di as VU, dj as P1, dk as G1, b5 as E1, dl as Cd, dm as PU, j as od, dn as k1, ar as T1, k as OA, dp as GU, bm as N1, dq as Z1, dr as K1, ds as W1, dt as Y1, du as kh, dv as EU, cc as rd, aa as kU, dw as z1, dx as J1, dy as H1, dz as O1, dA as Br, dB as Th, ca as Fp, dC as j1, ck as es, dD as km, dE as L1, dF as TU, cg as X1, dG as jA, dH as q1, dI as $1, c2 as Sc, bl as eD, ay as Nh, ao as tD, dJ as NU, dK as gD, b as ZU, dL as ID, a as iD, dM as Ad, dN as nD, g as CD, F as oD, br as KU, cl as rD, o as sd, cn as AD, bv as Up, J as sD, bq as aD, bp as lD, a5 as WU, cw as cD, al as YU, dO as dD, be as uD, bd as hD, as as Zc, dP as pD, dQ as BD, dR as fD, dS as mD, dT as FD, dU as UD, dV as QD, cb as Zh, l as ad, bR as Qp, O as Kh, Q as vc, aW as yD, aM as wD, b6 as bD, bb as zU, bi as JU, bj as HU, bk as xD, c4 as DD, c5 as _D, c6 as SD, c7 as vD, dW as OU, dX as RD, b_ as MD, c0 as yp, bQ as VD, dY as jU, dZ as LU, d_ as XU, bJ as PD, d$ as qU, n as GD, ax as ld, R as ED, U as kD, a6 as TD, $ as Tm, a4 as $U, bu as ND, aN as ZD, am as KD, co as WD, e0 as YD, e1 as zD, e2 as JD, e3 as HD, e4 as jn, e5 as OD, e6 as jD, e7 as LD, e8 as XD, e9 as qD, cx as $D, aZ as e0, ea as Kc, eb as e_, bn as t_, bE as g_, av as I_, bz as ch, au as i_, aX as n_, ap as C_, ag as o_, ec as r_, by as A_, cq as s_, cr as a_, ed as l_, ee as t0, ef as c_, eg as d_ } from "./F0CanvasPanel-Db99rzA7.js";
1
+ import { cP as i1, cQ as Pm, cR as n1, cS as C1, cT as o1, cU as r1, cV as Ap, cW as Gm, cX as fc, cY as ma, cZ as A1, bX as Wt, cs as hr, u as Gt, c_ as s1, c$ as a1, d0 as sp, cE as JA, cF as HA, bW as tI, bC as l1, bB as DU, V as ig, z as c1, A as d1, bP as sg, b8 as _U, K as u1, B as h1, m as dg, ak as qA, S as lt, c1 as xC, d1 as p1, d2 as B1, d3 as f1, _ as m1, d4 as F1, aq as Ti, b9 as ap, aj as lp, bS as Dn, c8 as sr, d5 as U1, e as cp, c3 as ro, d6 as Q1, a8 as dp, cM as ka, w as EI, r as Og, y as Da, t as up, v as hp, bt as SU, x as pp, aY as vU, bN as y1, ah as RU, bU as zI, s as ti, cG as Ta, d7 as lh, cu as Na, bM as Em, Y as w1, bV as bI, d8 as MU, d9 as Eh, cL as pr, da as Bp, db as b1, ch as fp, dc as $A, aP as x1, bG as D1, X as _1, i as S1, cD as v1, dd as oo, de as mp, df as rn, bf as R1, dg as M1, ae as V1, c9 as so, dh as nd, di as VU, dj as P1, dk as G1, b5 as E1, dl as Cd, dm as PU, j as od, dn as k1, ar as T1, k as OA, dp as GU, bm as N1, dq as Z1, dr as K1, ds as W1, dt as Y1, du as kh, dv as EU, cc as rd, aa as kU, dw as z1, dx as J1, dy as H1, dz as O1, dA as Br, dB as Th, ca as Fp, dC as j1, ck as es, dD as km, dE as L1, dF as TU, cg as X1, dG as jA, dH as q1, dI as $1, c2 as Sc, bl as eD, ay as Nh, ao as tD, dJ as NU, dK as gD, b as ZU, dL as ID, a as iD, dM as Ad, dN as nD, g as CD, F as oD, br as KU, cl as rD, o as sd, cn as AD, bv as Up, J as sD, bq as aD, bp as lD, a5 as WU, cw as cD, al as YU, dO as dD, be as uD, bd as hD, as as Zc, dP as pD, dQ as BD, dR as fD, dS as mD, dT as FD, dU as UD, dV as QD, cb as Zh, l as ad, bR as Qp, O as Kh, Q as vc, aW as yD, aM as wD, b6 as bD, bb as zU, bi as JU, bj as HU, bk as xD, c4 as DD, c5 as _D, c6 as SD, c7 as vD, dW as OU, dX as RD, b_ as MD, c0 as yp, bQ as VD, dY as jU, dZ as LU, d_ as XU, bJ as PD, d$ as qU, n as GD, ax as ld, R as ED, U as kD, a6 as TD, $ as Tm, a4 as $U, bu as ND, aN as ZD, am as KD, co as WD, e0 as YD, e1 as zD, e2 as JD, e3 as HD, e4 as jn, e5 as OD, e6 as jD, e7 as LD, e8 as XD, e9 as qD, cx as $D, aZ as e0, ea as Kc, eb as e_, bn as t_, bE as g_, av as I_, bz as ch, au as i_, aX as n_, ap as C_, ag as o_, ec as r_, by as A_, cq as s_, cr as a_, ed as l_, ee as t0, ef as c_, eg as d_ } from "./F0CanvasPanel-KUJ5SdPc.js";
2
2
  import { jsx as p, jsxs as ee, Fragment as pg } from "react/jsx-runtime";
3
3
  import Et, { forwardRef as bg, useRef as Ee, useTransition as u_, useState as We, useLayoutEffect as Bi, useId as LA, useContext as fi, createContext as xI, useEffect as It, useCallback as gt, useMemo as Mt, useImperativeHandle as h_, Fragment as _i, isValidElement as wp, cloneElement as g0, Suspense as cd, lazy as fr, createElement as Rc, memo as I0, Children as bp } from "react";
4
4
  import { d as Ue, T as p_, a as B_, b as f_, f as Hg, c as m_, g as F_ } from "./tooltip-DTpaXpXW.js";
5
- import { C as U_, P as Q_, c as dd, n as y_, E as w_, a as xp, u as b_, b as Za, e as x_, f as D_, g as __, h as S_, M as v_, p as R_, i as i0, R as Nm, j as n0, k as M_, l as V_, m as P_, o as G_, q as E_, r as k_, O as C0, s as o0, F as T_, W as dr, A as N_, B as Z_, L as K_, t as W_, V as Y_, v as z_, w as J_, x as H_, y as Dp, S as O_, z as j_, D as L_, G as X_, H as q_, I as $_, J as eS, K as tS, N as gS, Q as IS, T as iS, U as nS, X as CS, Y as Zm, Z as oS, _ as rS } from "./CoachmarkProvider-MMyod2tH.js";
5
+ import { C as U_, P as Q_, c as dd, n as y_, E as w_, a as xp, u as b_, b as Za, e as x_, f as D_, g as __, h as S_, M as v_, p as R_, i as i0, R as Nm, j as n0, k as M_, l as V_, m as P_, o as G_, q as E_, r as k_, O as C0, s as o0, F as T_, W as dr, A as N_, B as Z_, L as K_, t as W_, V as Y_, v as z_, w as J_, x as H_, y as Dp, S as O_, z as j_, D as L_, G as X_, H as q_, I as $_, J as eS, K as tS, N as gS, Q as IS, T as iS, U as nS, X as CS, Y as Zm, Z as oS, _ as rS } from "./CoachmarkProvider-VWn5GzVw.js";
6
6
  import { g as AS } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import sS, { createPortal as Wh } from "react-dom";
8
8
  import './experimental.css';const aS = i1("Search", [
@@ -257,27 +257,14 @@ const BS = hr({
257
257
  transformStyle: C ? "preserve-3d" : void 0
258
258
  },
259
259
  children: /* @__PURE__ */ ee(
260
- Kt.svg,
260
+ "svg",
261
261
  {
262
262
  width: "100%",
263
263
  height: "100%",
264
264
  viewBox: "0 0 32 32",
265
265
  xmlns: "http://www.w3.org/2000/svg",
266
266
  ref: S,
267
- animate: {
268
- "--gradient-angle": ["0deg", "360deg"]
269
- },
270
- transition: f ? void 0 : {
271
- "--gradient-angle": {
272
- duration: 6,
273
- ease: "linear",
274
- repeat: 1 / 0
275
- }
276
- },
277
- style: {
278
- "--gradient-angle": "0deg",
279
- ...j.style
280
- },
267
+ style: j.style,
281
268
  ...(({ style: $, ...X }) => X)(j),
282
269
  children: [
283
270
  /* @__PURE__ */ ee("defs", { children: [
@@ -285,7 +272,7 @@ const BS = hr({
285
272
  Wm.map(($) => /* @__PURE__ */ p("clipPath", { id: `${y}-${$.id}`, children: /* @__PURE__ */ p("path", { d: $.path }) }, $.id))
286
273
  ] }),
287
274
  /* @__PURE__ */ p("g", { clipPath: `url(#${y}-circle)`, children: Wm.map(($) => /* @__PURE__ */ p(
288
- Kt.foreignObject,
275
+ Wt.foreignObject,
289
276
  {
290
277
  x: "0",
291
278
  y: "0",
@@ -336,6 +323,9 @@ const BS = hr({
336
323
  children: /* @__PURE__ */ p(
337
324
  "div",
338
325
  {
326
+ className: Ue(
327
+ !f && "[animation:rotate-gradient_6s_linear_infinite] motion-reduce:[animation:none]"
328
+ ),
339
329
  style: {
340
330
  width: "100%",
341
331
  height: "100%",
@@ -410,65 +400,48 @@ const a0 = ({
410
400
  }) => {
411
401
  const { enabled: f, setOpen: U, open: b } = ud(), S = Gt(), [y, o] = We(!1);
412
402
  return f ? /* @__PURE__ */ p("div", { className: "flex items-center", children: /* @__PURE__ */ p(p_, { children: /* @__PURE__ */ ee(B_, { delayDuration: 850, disableHoverableContent: !0, children: [
413
- /* @__PURE__ */ p(f_, { asChild: !0, children: /* @__PURE__ */ p(
414
- Kt.div,
403
+ /* @__PURE__ */ p(f_, { asChild: !0, children: /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
404
+ s1,
415
405
  {
416
- animate: {
417
- "--gradient-angle": ["0deg", "360deg"]
418
- },
419
- transition: {
420
- default: {
421
- duration: 8,
422
- ease: "linear",
423
- repeat: 1 / 0
424
- }
425
- },
426
- style: {
427
- "--gradient-angle": "180deg"
406
+ onCheckedChange: (V) => {
407
+ U(V);
428
408
  },
409
+ checked: b,
410
+ "aria-label": b ? S.ai.closeChat : S.ai.openChat,
411
+ className: Ue(
412
+ "group relative h-8 w-12 rounded-full border-none bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary transition-all hover:bg-f1-background-hover",
413
+ "shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.04)] data-[state=checked]:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.6)]",
414
+ "after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] data-[state=checked]:after:ring-f1-border-inverse",
415
+ "before:absolute before:inset-0 before:rounded-full before:bg-[conic-gradient(from_var(--gradient-angle),hsla(229,57%,76%,0.7),hsla(348,80%,50%,0.7),hsla(348,80%,50%,0.7),hsla(18,80%,50%,0.7),hsla(229,57%,76%,0.7),hsla(229,57%,76%,0.7))] before:opacity-0 before:transition-all before:duration-300 before:content-[''] data-[state=checked]:before:opacity-100",
416
+ "before:[animation:rotate-gradient_8s_linear_infinite_paused] data-[state=checked]:before:[animation:rotate-gradient_8s_linear_infinite_running] motion-reduce:before:[animation:none]",
417
+ a && "cursor-not-allowed opacity-50",
418
+ Hg(),
419
+ C
420
+ ),
421
+ disabled: a,
422
+ onMouseEnter: () => o(!0),
423
+ onMouseLeave: () => o(!1),
429
424
  children: /* @__PURE__ */ p(
430
- s1,
425
+ a1,
431
426
  {
432
- onCheckedChange: (V) => {
433
- U(V);
434
- },
435
- checked: b,
436
- "aria-label": b ? S.ai.closeChat : S.ai.openChat,
437
427
  className: Ue(
438
- "group relative h-8 w-12 rounded-full border-none bg-f1-background-inverse-secondary dark:bg-f1-background-tertiary transition-all hover:bg-f1-background-hover",
439
- "shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.04)] data-[state=checked]:shadow-[0_2px_6px_-1px_rgba(13,22,37,.04),inset_0_0_4px_rgba(13,22,37,.6)]",
440
- "after:pointer-events-none after:absolute after:inset-0 after:rounded-full after:ring-1 after:ring-inset after:ring-f1-border after:transition-all after:content-[''] data-[state=checked]:after:ring-f1-border-inverse",
441
- "before:absolute before:inset-0 before:rounded-full before:bg-[conic-gradient(from_var(--gradient-angle),hsla(229,57%,76%,0.7),hsla(348,80%,50%,0.7),hsla(348,80%,50%,0.7),hsla(18,80%,50%,0.7),hsla(229,57%,76%,0.7),hsla(229,57%,76%,0.7))] before:opacity-0 before:transition-all before:duration-300 before:content-[''] data-[state=checked]:before:opacity-100",
442
- a && "cursor-not-allowed opacity-50",
443
- Hg(),
444
- C
428
+ "block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"
445
429
  ),
446
- disabled: a,
447
- onMouseEnter: () => o(!0),
448
- onMouseLeave: () => o(!1),
449
- children: /* @__PURE__ */ p(
450
- a1,
430
+ style: {
431
+ transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)"
432
+ },
433
+ children: /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
434
+ A0,
451
435
  {
452
- className: Ue(
453
- "block h-[1.375rem] w-[1.375rem] translate-x-[0.3125rem] rounded-full transition-transform duration-300 data-[state=checked]:translate-x-[1.3125rem]"
454
- ),
455
- style: {
456
- transitionTimingFunction: "cubic-bezier(0.175,0.885,0.32,1.5)"
457
- },
458
- children: /* @__PURE__ */ p("div", { children: /* @__PURE__ */ p(
459
- A0,
460
- {
461
- size: "sm",
462
- background: b ? "white" : void 0,
463
- hover: y
464
- }
465
- ) })
436
+ size: "sm",
437
+ background: b ? "white" : void 0,
438
+ hover: y
466
439
  }
467
- )
440
+ ) })
468
441
  }
469
442
  )
470
443
  }
471
- ) }),
444
+ ) }) }),
472
445
  !b && /* @__PURE__ */ p(m_, { side: "left", className: "font-medium", children: S.ai.welcome })
473
446
  ] }) }) }) : null;
474
447
  }, Ym = "one_sidebar_locked", l0 = xI(void 0);
@@ -527,7 +500,7 @@ function US({ children: C }) {
527
500
  }
528
501
  );
529
502
  }
530
- const zm = Kt.create(ig), Jm = {
503
+ const zm = Wt.create(ig), Jm = {
531
504
  initial: { scale: 1 },
532
505
  animate: { scale: 1 },
533
506
  exit: { scale: 0.5 },
@@ -987,7 +960,7 @@ function gZ({
987
960
  children: [
988
961
  /* @__PURE__ */ ee("div", { className: "flex flex-grow items-center", children: [
989
962
  /* @__PURE__ */ p(tI, { children: !b && Y !== "locked" && /* @__PURE__ */ p(
990
- Kt.div,
963
+ Wt.div,
991
964
  {
992
965
  initial: { opacity: 0, width: 0 },
993
966
  animate: { opacity: 1, width: "auto" },
@@ -1185,28 +1158,16 @@ const IZ = Q1, d0 = process.env.NODE_ENV !== "production", u0 = (C) => {
1185
1158
  }, NS = () => {
1186
1159
  const C = Gt();
1187
1160
  return /* @__PURE__ */ ee(
1188
- Kt.div,
1161
+ Wt.div,
1189
1162
  {
1190
1163
  className: Ue(
1191
1164
  "relative isolate m-3 mt-2 flex flex-col gap-3 rounded-lg border border-solid border-f1-border",
1192
1165
  "after:pointer-events-none after:absolute after:inset-0.5 after:z-[-2] after:rounded-[inherit] after:bg-f1-foreground-secondary after:opacity-0 after:blur-[5px] after:content-['']",
1193
1166
  "from-[#E55619] via-[#A1ADE5] to-[#E51943] after:scale-90 after:bg-[conic-gradient(from_var(--gradient-angle),var(--tw-gradient-stops))]",
1194
1167
  "after:transition-all after:delay-200 after:duration-300",
1168
+ "after:[animation:rotate-gradient_6s_linear_infinite] motion-reduce:after:[animation:none]",
1195
1169
  "before:bg-white before:pointer-events-none before:absolute before:inset-0 before:z-[-1] before:rounded-[inherit] before:content-['']"
1196
1170
  ),
1197
- animate: {
1198
- "--gradient-angle": ["0deg", "360deg"]
1199
- },
1200
- transition: {
1201
- default: {
1202
- duration: 6,
1203
- ease: "linear",
1204
- repeat: 1 / 0
1205
- }
1206
- },
1207
- style: {
1208
- "--gradient-angle": "180deg"
1209
- },
1210
1171
  children: [
1211
1172
  /* @__PURE__ */ p("div", { className: "grid grid-cols-1 grid-rows-1", children: /* @__PURE__ */ p(
1212
1173
  "textarea",
@@ -1262,7 +1223,7 @@ const IZ = Q1, d0 = process.env.NODE_ENV !== "production", u0 = (C) => {
1262
1223
  isOpen: a,
1263
1224
  autoClearMinutes: b
1264
1225
  }), /* @__PURE__ */ p(tI, { children: a && /* @__PURE__ */ p(
1265
- Kt.div,
1226
+ Wt.div,
1266
1227
  {
1267
1228
  "aria-hidden": !a,
1268
1229
  className: "relative p-1 pl-1.5 w-[360px] flex h-full flex-col overflow-hidden ",
@@ -1277,7 +1238,7 @@ const IZ = Q1, d0 = process.env.NODE_ENV !== "production", u0 = (C) => {
1277
1238
  f && U(!1);
1278
1239
  },
1279
1240
  children: /* @__PURE__ */ p("div", { className: "border border-solid border-f1-border-secondary bg-f1-special-page shadow xs:rounded-xl h-full w-full", children: /* @__PURE__ */ p(
1280
- Kt.div,
1241
+ Wt.div,
1281
1242
  {
1282
1243
  className: "relative flex h-full w-full flex-col overflow-x-hidden ",
1283
1244
  initial: { opacity: 0 },
@@ -2483,7 +2444,7 @@ function yv() {
2483
2444
  return gI.REGISTERED_PROTOCOLS[I.substring(0, I.indexOf("://"))];
2484
2445
  }
2485
2446
  const yt = "global-dispatcher";
2486
- class Wt extends Error {
2447
+ class Kt extends Error {
2487
2448
  constructor(e, g, n, r) {
2488
2449
  super(`AJAXError: ${g} (${e}): ${n}`), this.status = e, this.statusText = g, this.url = n, this.body = r;
2489
2450
  }
@@ -2514,11 +2475,11 @@ function yv() {
2514
2475
  try {
2515
2476
  u = yield fetch(c);
2516
2477
  } catch (w) {
2517
- throw Jt(w) ? w : new Wt(0, qe(w).message, r.url, new Blob());
2478
+ throw Jt(w) ? w : new Kt(0, qe(w).message, r.url, new Blob());
2518
2479
  }
2519
2480
  if (!u.ok) {
2520
2481
  const w = yield u.blob();
2521
- throw new Wt(u.status, u.statusText, r.url, w);
2482
+ throw new Kt(u.status, u.statusText, r.url, w);
2522
2483
  }
2523
2484
  m = r.type === "arrayBuffer" || r.type === "image" ? u.arrayBuffer() : r.type === "json" ? u.json() : u.text();
2524
2485
  const B = yield m;
@@ -2546,7 +2507,7 @@ function yv() {
2546
2507
  c({ data: w, cacheControl: B.getResponseHeader("Cache-Control"), expires: B.getResponseHeader("Expires"), etag: B.getResponseHeader("ETag") });
2547
2508
  } else {
2548
2509
  const w = new Blob([B.response], { type: B.getResponseHeader("Content-Type") });
2549
- u(new Wt(B.status, B.statusText, r.url, w));
2510
+ u(new Kt(B.status, B.statusText, r.url, w));
2550
2511
  }
2551
2512
  }, s.signal.addEventListener("abort", (() => {
2552
2513
  B.abort(), u(new ng(s.signal.reason));
@@ -5586,7 +5547,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
5586
5547
  if (en[I]) throw new Error(`${I} is already registered.`);
5587
5548
  Object.defineProperty(e, "_classRegistryKey", { value: I, writeable: !1 }), en[I] = { klass: e, omit: g.omit || [], shallow: g.shallow || [] };
5588
5549
  }
5589
- Bt("Object", Object), Bt("Set", Set), Bt("TransferableGridIndex", dn), Bt("Color", Ag), Bt("Error", Error), Bt("AJAXError", Wt), Bt("ResolvedImage", Fi), Bt("StylePropertyFunction", Lr), Bt("StyleExpression", Ro, { omit: ["_evaluator"] }), Bt("ZoomDependentExpression", jr), Bt("ZoomConstantExpression", Or), Bt("CompoundExpression", Ri, { omit: ["_evaluate"] });
5550
+ Bt("Object", Object), Bt("Set", Set), Bt("TransferableGridIndex", dn), Bt("Color", Ag), Bt("Error", Error), Bt("AJAXError", Kt), Bt("ResolvedImage", Fi), Bt("StylePropertyFunction", Lr), Bt("StyleExpression", Ro, { omit: ["_evaluator"] }), Bt("ZoomDependentExpression", jr), Bt("ZoomConstantExpression", Or), Bt("CompoundExpression", Ri, { omit: ["_evaluate"] });
5590
5551
  for (const I in KC) KC[I]._classRegistryKey || Bt(`Expression_${I}`, KC[I]);
5591
5552
  function Gl(I) {
5592
5553
  var e;
@@ -14260,7 +14221,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
14260
14221
  }, y.cE = function(I, e) {
14261
14222
  return I[0] = e[0], I[1] = 0, I[2] = 0, I[3] = 0, I[4] = 0, I[5] = e[1], I[6] = 0, I[7] = 0, I[8] = 0, I[9] = 0, I[10] = e[2], I[11] = 0, I[12] = 0, I[13] = 0, I[14] = 0, I[15] = 1, I;
14262
14223
  }, y.cF = class extends iA {
14263
- }, y.cG = Wt, y.cH = function(I, e) {
14224
+ }, y.cG = Kt, y.cH = function(I, e) {
14264
14225
  gI.REGISTERED_PROTOCOLS[I] = e;
14265
14226
  }, y.cI = function(I) {
14266
14227
  delete gI.REGISTERED_PROTOCOLS[I];
@@ -16575,7 +16536,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
16575
16536
  })(mI || (mI = {})), (function(d) {
16576
16537
  d[d.Departing = 0] = "Departing", d[d.Incoming = 1] = "Incoming";
16577
16538
  })(yt || (yt = {}));
16578
- class Wt {
16539
+ class Kt {
16579
16540
  constructor(t, i) {
16580
16541
  this.timeAdded = 0, this.fadeEndTime = 0, this.fadeOpacity = 1, this.tileID = t, this.uid = o.ad(), this.uses = 0, this.tileSize = i, this.buckets = {}, this.expirationTime = null, this.queryPadding = 0, this.hasSymbolBuckets = !1, this.hasRTLText = !1, this.dependencies = {}, this.rtt = [], this.rttFingerprint = {}, this.expiredRequestCount = 0, this.state = "loading";
16581
16542
  }
@@ -17180,7 +17141,7 @@ Use an identity property function instead: \`{ "type": "identity", "property": $
17180
17141
  if (i) return i;
17181
17142
  i = this._outOfViewCache.getAndRemove(t), i && (i.resetFadeLogic(), this._setTileReloadTimer(t.key, i), i.tileID = t, this._state.initializeTileState(i, this.map ? this.map.painter : null));
17182
17143
  const A = i;
17183
- return i || (i = new Wt(t, this._source.tileSize * t.overscaleFactor()), this._loadTile(i, t.key, i.state)), i.uses++, this._inViewTiles.setTile(t.key, i), A || this._source.fire(new o.n("dataloading", { tile: i, coord: i.tileID, dataType: "source" })), i;
17144
+ return i || (i = new Kt(t, this._source.tileSize * t.overscaleFactor()), this._loadTile(i, t.key, i.state)), i.uses++, this._inViewTiles.setTile(t.key, i), A || this._source.fire(new o.n("dataloading", { tile: i, coord: i.tileID, dataType: "source" })), i;
17184
17145
  }
17185
17146
  _setTileReloadTimer(t, i) {
17186
17147
  this._clearTileReloadTimer(t);
@@ -25115,7 +25076,7 @@ ${x.shaderPreludeCode.vertexSource}`, define: x.shaderDefine }, defaultProjectio
25115
25076
  update(t, i) {
25116
25077
  this.tileManager.update(t, i), this._renderableTilesKeys = [];
25117
25078
  const A = {};
25118
- for (const l of aI(t, { tileSize: this.tileSize, minzoom: this.minzoom, maxzoom: this.maxzoom, reparseOverscaled: !1, terrain: i, calculateTileZoom: this.tileManager._source.calculateTileZoom })) A[l.key] = !0, this._renderableTilesKeys.push(l.key), this._tiles[l.key] || (l.terrainRttPosMatrix32f = new Float64Array(16), o.c7(l.terrainRttPosMatrix32f, 0, o.a6, o.a6, 0, 0, 1), this._tiles[l.key] = new Wt(l, this.tileSize), this._lastTilesetChange = X());
25079
+ for (const l of aI(t, { tileSize: this.tileSize, minzoom: this.minzoom, maxzoom: this.maxzoom, reparseOverscaled: !1, terrain: i, calculateTileZoom: this.tileManager._source.calculateTileZoom })) A[l.key] = !0, this._renderableTilesKeys.push(l.key), this._tiles[l.key] || (l.terrainRttPosMatrix32f = new Float64Array(16), o.c7(l.terrainRttPosMatrix32f, 0, o.a6, o.a6, 0, 0, 1), this._tiles[l.key] = new Kt(l, this.tileSize), this._lastTilesetChange = X());
25119
25080
  for (const l in this._tiles) A[l] || delete this._tiles[l];
25120
25081
  }
25121
25082
  freeRtt(t) {
@@ -27223,7 +27184,7 @@ const Hv = (C, a, f, U = 12, b = 164) => {
27223
27184
  ) : te
27224
27185
  }
27225
27186
  ), Qe = /* @__PURE__ */ p(tI, { children: b && /* @__PURE__ */ p(
27226
- Kt.svg,
27187
+ Wt.svg,
27227
27188
  {
27228
27189
  width: X.caretW,
27229
27190
  height: X.caretH,
@@ -27699,7 +27660,7 @@ const rR = k0, AR = 16, sR = (C, a, f, U) => {
27699
27660
  coordinates: O.coordinates,
27700
27661
  selected: !1,
27701
27662
  children: /* @__PURE__ */ p(
27702
- Kt.span,
27663
+ Wt.span,
27703
27664
  {
27704
27665
  initial: { scale: 0.8, opacity: 0 },
27705
27666
  animate: { scale: 1, opacity: 1 },
@@ -27729,7 +27690,7 @@ const rR = k0, AR = 16, sR = (C, a, f, U) => {
27729
27690
  coordinates: O.coordinates,
27730
27691
  selected: f === O.id || Ce,
27731
27692
  children: /* @__PURE__ */ p(
27732
- Kt.span,
27693
+ Wt.span,
27733
27694
  {
27734
27695
  initial: { opacity: 0 },
27735
27696
  animate: { opacity: 1 },
@@ -27740,7 +27701,7 @@ const rR = k0, AR = 16, sR = (C, a, f, U) => {
27740
27701
  transition: { duration: 0.2, ease: "easeOut" },
27741
27702
  style: { position: "absolute", left: 0, top: 0 },
27742
27703
  children: /* @__PURE__ */ p(tI, { initial: !1, children: /* @__PURE__ */ p(
27743
- Kt.span,
27704
+ Wt.span,
27744
27705
  {
27745
27706
  initial: { opacity: 0 },
27746
27707
  animate: { opacity: 1 },
@@ -31164,7 +31125,7 @@ const UZ = EI(
31164
31125
  side: f,
31165
31126
  exitStyle: C ? "hold" : "shrink",
31166
31127
  children: /* @__PURE__ */ p(tI, { initial: !1, children: /* @__PURE__ */ p(
31167
- Kt.div,
31128
+ Wt.div,
31168
31129
  {
31169
31130
  className: "absolute inset-0 flex flex-col overflow-hidden",
31170
31131
  initial: b ? !1 : { opacity: 0 },
@@ -31293,7 +31254,7 @@ function U2({
31293
31254
  /* @__PURE__ */ p("div", { className: "col-[1/-1]", children: b }),
31294
31255
  /* @__PURE__ */ p(Ad, { id: "ai-chat-group", children: /* @__PURE__ */ ee("div", { className: "relative isolate flex h-full", children: [
31295
31256
  /* @__PURE__ */ p(tI, { children: S === "unlocked" && /* @__PURE__ */ p(
31296
- Kt.nav,
31257
+ Wt.nav,
31297
31258
  {
31298
31259
  className: Ue(
31299
31260
  "fixed inset-0 z-20 bg-f1-background-inverse",
@@ -31324,7 +31285,7 @@ function U2({
31324
31285
  }
31325
31286
  ),
31326
31287
  /* @__PURE__ */ ee(
31327
- Kt.div,
31288
+ Wt.div,
31328
31289
  {
31329
31290
  className: "relative min-w-0 flex-1",
31330
31291
  animate: {
@@ -31337,7 +31298,7 @@ function U2({
31337
31298
  },
31338
31299
  children: [
31339
31300
  /* @__PURE__ */ p(
31340
- Kt.main,
31301
+ Wt.main,
31341
31302
  {
31342
31303
  id: "content",
31343
31304
  layoutId: "main",
@@ -31356,7 +31317,7 @@ function U2({
31356
31317
  ),
31357
31318
  layoutDependency: S,
31358
31319
  children: /* @__PURE__ */ p(
31359
- Kt.div,
31320
+ Wt.div,
31360
31321
  {
31361
31322
  className: Ue(
31362
31323
  "flex max-w-full flex-1",
@@ -31369,7 +31330,7 @@ function U2({
31369
31330
  }
31370
31331
  ),
31371
31332
  C?.enabled && re && Z && /* @__PURE__ */ p(
31372
- Kt.div,
31333
+ Wt.div,
31373
31334
  {
31374
31335
  className: Ue(
31375
31336
  // z-[21] sits above the chat wrapper (z-20 in canvas
@@ -31399,7 +31360,7 @@ function U2({
31399
31360
  ),
31400
31361
  C?.enabled && (() => {
31401
31362
  const Ne = ($e, rt, pt) => /* @__PURE__ */ p(
31402
- Kt.div,
31363
+ Wt.div,
31403
31364
  {
31404
31365
  className: Ue(
31405
31366
  "pointer-events-none",
@@ -31467,7 +31428,7 @@ const $0 = ({
31467
31428
  }) => {
31468
31429
  const o = Gt(), [V, k] = We(!S);
31469
31430
  return /* @__PURE__ */ p("div", { className: "relative h-10 w-10", children: /* @__PURE__ */ p(tI, { mode: "popLayout", initial: !!V, children: V ? /* @__PURE__ */ p(
31470
- Kt.div,
31431
+ Wt.div,
31471
31432
  {
31472
31433
  className: "relative h-10 w-10 rounded-full bg-f1-background-warning",
31473
31434
  initial: { opacity: 0, scale: 0.8 },
@@ -31486,7 +31447,7 @@ const $0 = ({
31486
31447
  }
31487
31448
  },
31488
31449
  children: /* @__PURE__ */ p(
31489
- Kt.div,
31450
+ Wt.div,
31490
31451
  {
31491
31452
  initial: { opacity: 0, originX: 0.6, originY: 0.6 },
31492
31453
  animate: {
@@ -31511,7 +31472,7 @@ const $0 = ({
31511
31472
  )
31512
31473
  }
31513
31474
  ) : /* @__PURE__ */ ee(
31514
- Kt.div,
31475
+ Wt.div,
31515
31476
  {
31516
31477
  initial: { opacity: 0, scale: 0.5 },
31517
31478
  animate: { opacity: 1, scale: 1 },
@@ -31562,7 +31523,7 @@ const $0 = ({
31562
31523
  )
31563
31524
  }
31564
31525
  ) }) : /* @__PURE__ */ p(
31565
- Kt.div,
31526
+ Wt.div,
31566
31527
  {
31567
31528
  initial: { opacity: 0, scale: 0.5 },
31568
31529
  animate: { opacity: 1, scale: 1 },
@@ -31888,7 +31849,7 @@ const bZ = EI(Og("Page", tQ)), b2 = (C) => C.reduce(
31888
31849
  }
31889
31850
  ),
31890
31851
  /* @__PURE__ */ p(
31891
- Kt.div,
31852
+ Wt.div,
31892
31853
  {
31893
31854
  initial: !1,
31894
31855
  animate: { rotate: k ? 0 : -90 },
@@ -31902,7 +31863,7 @@ const bZ = EI(Og("Page", tQ)), b2 = (C) => C.reduce(
31902
31863
  }
31903
31864
  ) }),
31904
31865
  /* @__PURE__ */ p(AD, { forceMount: !0, className: "mt-0.5 flex flex-col gap-1", children: /* @__PURE__ */ p(
31905
- Kt.div,
31866
+ Wt.div,
31906
31867
  {
31907
31868
  initial: !1,
31908
31869
  animate: {
@@ -32003,7 +31964,7 @@ const bZ = EI(Og("Page", tQ)), b2 = (C) => C.reduce(
32003
31964
  // remeasure together, so a row leaving one group and joining another
32004
31965
  // (pin/unpin) stays in sync as positions shift.
32005
31966
  /* @__PURE__ */ p(Ad, { children: /* @__PURE__ */ p(tI, { mode: "popLayout", initial: !1, children: O.map((T) => /* @__PURE__ */ p(
32006
- Kt.div,
31967
+ Wt.div,
32007
31968
  {
32008
31969
  "data-sidebar-panel-group-id": T.id,
32009
31970
  layout: "position",
@@ -32027,7 +31988,7 @@ const bZ = EI(Og("Page", tQ)), b2 = (C) => C.reduce(
32027
31988
  highlightWhenCollapsed: T.highlightWhenCollapsed,
32028
31989
  collapsedBadge: T.collapsedBadge,
32029
31990
  children: /* @__PURE__ */ p(tI, { mode: "popLayout", initial: !1, children: T.items.map((Ce) => /* @__PURE__ */ p(
32030
- Kt.div,
31991
+ Wt.div,
32031
31992
  {
32032
31993
  layout: "position",
32033
31994
  layoutId: `sidebar-row-${Ce.id}`,
@@ -32716,7 +32677,7 @@ const Y2 = ({
32716
32677
  children: [
32717
32678
  U,
32718
32679
  /* @__PURE__ */ p("div", { className: "flex w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ p("div", { className: "flex h-3 w-3 items-center justify-center rounded-2xs bg-f1-background-secondary transition-all", children: /* @__PURE__ */ p(
32719
- Kt.div,
32680
+ Wt.div,
32720
32681
  {
32721
32682
  animate: { rotate: y ? 180 : 0 },
32722
32683
  transition: { duration: 0.2 },
@@ -33365,7 +33326,7 @@ function MZ({
33365
33326
  ) });
33366
33327
  }
33367
33328
  const bF = ({ position: C }) => /* @__PURE__ */ p(
33368
- Kt.div,
33329
+ Wt.div,
33369
33330
  {
33370
33331
  initial: { opacity: 0 },
33371
33332
  animate: { opacity: 0.5 },
@@ -33406,7 +33367,7 @@ function $2({
33406
33367
  }
33407
33368
  ) : f : null;
33408
33369
  return /* @__PURE__ */ ee(
33409
- Kt.aside,
33370
+ Wt.aside,
33410
33371
  {
33411
33372
  initial: !1,
33412
33373
  "aria-label": Y.navigation.sidebar.label,
@@ -33522,7 +33483,7 @@ const VZ = EI($2), eM = () => /* @__PURE__ */ p("div", { className: "absolute -r
33522
33483
  }
33523
33484
  ),
33524
33485
  a && /* @__PURE__ */ p(
33525
- Kt.span,
33486
+ Wt.span,
33526
33487
  {
33527
33488
  layoutId: "sidebar-tab-active-pill",
33528
33489
  transition: o,
@@ -35000,7 +34961,7 @@ const WM = 250, YM = () => {
35000
34961
  ),
35001
34962
  children: C
35002
34963
  }
35003
- ), GQ = () => import("./ChatPdfThumbnail-2TrtvwK9.js"), EQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), kQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), TQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), HM = fr(GQ), OM = fr(EQ), jM = fr(kQ), LM = fr(TQ), XM = {
34964
+ ), GQ = () => import("./ChatPdfThumbnail-CgMK7qbN.js"), EQ = () => import("./ChatSheetThumbnail-BvnxT-4A.js"), kQ = () => import("./ChatDocxThumbnail-DzNPNFya.js"), TQ = () => import("./ChatTextThumbnail-yVt_iYi7.js"), HM = fr(GQ), OM = fr(EQ), jM = fr(kQ), LM = fr(TQ), XM = {
35004
34965
  pdf: GQ,
35005
34966
  sheet: EQ,
35006
34967
  docx: kQ,
@@ -35188,7 +35149,7 @@ const WM = 250, YM = () => {
35188
35149
  ]
35189
35150
  }
35190
35151
  );
35191
- }, ZQ = () => import("./LocationMap-DxV0F-lI.js"), eV = fr(ZQ), tV = 200, gV = ({ latitude: C, longitude: a }) => `https://www.google.com/maps?q=${C},${a}`, KQ = ({
35152
+ }, ZQ = () => import("./LocationMap-BAnCQ_CZ.js"), eV = fr(ZQ), tV = 200, gV = ({ latitude: C, longitude: a }) => `https://www.google.com/maps?q=${C},${a}`, KQ = ({
35192
35153
  location: C,
35193
35154
  cornerClass: a = "rounded-xl",
35194
35155
  surfaceClassName: f
@@ -36542,7 +36503,7 @@ const mV = {
36542
36503
  gI(Ft, "drop");
36543
36504
  });
36544
36505
  }, [T, gI]);
36545
- const Wt = gt(
36506
+ const Kt = gt(
36546
36507
  (Ft) => {
36547
36508
  if (!j) return;
36548
36509
  const Ut = Array.from(Ft.clipboardData.files);
@@ -36698,7 +36659,7 @@ const mV = {
36698
36659
  }
36699
36660
  ),
36700
36661
  /* @__PURE__ */ p(tI, { initial: !1, mode: "popLayout", children: Fg && O ? /* @__PURE__ */ p(
36701
- Kt.div,
36662
+ Wt.div,
36702
36663
  {
36703
36664
  className: "overflow-hidden",
36704
36665
  initial: { height: 0, opacity: 0 },
@@ -36712,7 +36673,7 @@ const mV = {
36712
36673
  },
36713
36674
  "edit-chip"
36714
36675
  ) : $ ? /* @__PURE__ */ p(
36715
- Kt.div,
36676
+ Wt.div,
36716
36677
  {
36717
36678
  className: "overflow-hidden",
36718
36679
  initial: { height: 0, opacity: 0 },
@@ -36727,7 +36688,7 @@ const mV = {
36727
36688
  "reply-chip"
36728
36689
  ) : null }),
36729
36690
  /* @__PURE__ */ p(tI, { initial: !1, children: pt && /* @__PURE__ */ p(
36730
- Kt.div,
36691
+ Wt.div,
36731
36692
  {
36732
36693
  role: "alert",
36733
36694
  "aria-atomic": "true",
@@ -36756,7 +36717,7 @@ const mV = {
36756
36717
  "transient-error"
36757
36718
  ) }),
36758
36719
  /* @__PURE__ */ p(tI, { initial: !1, children: J.length > 0 && /* @__PURE__ */ p(
36759
- Kt.div,
36720
+ Wt.div,
36760
36721
  {
36761
36722
  className: "overflow-hidden",
36762
36723
  initial: { height: 0, opacity: 0 },
@@ -36781,7 +36742,7 @@ const mV = {
36781
36742
  className: "flex flex-nowrap items-end gap-1 overflow-x-auto px-1 pt-1 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-f1-special-ring",
36782
36743
  "data-testid": "chat-composer-attachments",
36783
36744
  children: /* @__PURE__ */ p(tI, { initial: !1, mode: "popLayout", children: rt.map((Ft) => /* @__PURE__ */ p(
36784
- Kt.div,
36745
+ Wt.div,
36785
36746
  {
36786
36747
  layout: "position",
36787
36748
  className: "flex shrink-0",
@@ -36797,7 +36758,7 @@ const mV = {
36797
36758
  layout: MQ
36798
36759
  },
36799
36760
  children: /* @__PURE__ */ p(
36800
- Kt.div,
36761
+ Wt.div,
36801
36762
  {
36802
36763
  className: "flex",
36803
36764
  initial: Fe ? !1 : { opacity: 0 },
@@ -36831,7 +36792,7 @@ const mV = {
36831
36792
  accessibleLabel: jg,
36832
36793
  onChange: ng,
36833
36794
  onKeyDown: ji,
36834
- onPaste: Wt,
36795
+ onPaste: Kt,
36835
36796
  onBlur: Me,
36836
36797
  onCursorUpdate: Jt,
36837
36798
  onScroll: Pg,
@@ -36845,7 +36806,7 @@ const mV = {
36845
36806
  /* @__PURE__ */ p("div", { className: "grid", children: /* @__PURE__ */ p(tI, { initial: !1, children: Qt ? (
36846
36807
  // Recording: amplitude timeline + cancel / confirm, matching the AI chat.
36847
36808
  /* @__PURE__ */ ee(
36848
- Kt.div,
36809
+ Wt.div,
36849
36810
  {
36850
36811
  className: "flex items-center gap-3 p-3 [grid-area:1/1]",
36851
36812
  initial: { opacity: 0 },
@@ -36891,7 +36852,7 @@ const mV = {
36891
36852
  "recording-row"
36892
36853
  )
36893
36854
  ) : /* @__PURE__ */ ee(
36894
- Kt.div,
36855
+ Wt.div,
36895
36856
  {
36896
36857
  className: "flex items-center justify-between p-3 [grid-area:1/1]",
36897
36858
  initial: { opacity: 0 },
@@ -36951,7 +36912,7 @@ const mV = {
36951
36912
  }
36952
36913
  ),
36953
36914
  /* @__PURE__ */ p(tI, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ p(
36954
- Kt.div,
36915
+ Wt.div,
36955
36916
  {
36956
36917
  className: "flex",
36957
36918
  initial: Fe ? !1 : { opacity: 0, scale: 0.95 },
@@ -36982,7 +36943,7 @@ const mV = {
36982
36943
  }
36983
36944
  ) }) });
36984
36945
  }, SV = fr(
36985
- () => import("./index-Y07o6sHw.js").then((C) => C.i).then((C) => ({
36946
+ () => import("./index-CQWN-vhV.js").then((C) => C.i).then((C) => ({
36986
36947
  default: C.F0PdfViewer
36987
36948
  }))
36988
36949
  ), vV = () => {
@@ -37306,7 +37267,7 @@ const mV = {
37306
37267
  }
37307
37268
  ),
37308
37269
  /* @__PURE__ */ p("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center px-4 py-16", children: /* @__PURE__ */ p(tI, { initial: !1, mode: "popLayout", children: /* @__PURE__ */ p(
37309
- Kt.div,
37270
+ Wt.div,
37310
37271
  {
37311
37272
  className: "pointer-events-auto flex max-h-full max-w-full",
37312
37273
  initial: a ? !1 : { opacity: 0, scale: 0.98 },
@@ -40682,13 +40643,13 @@ function mG({
40682
40643
  if (O.current === null)
40683
40644
  O.current = nU(U);
40684
40645
  else {
40685
- const yt = nU(U), Wt = sG(O.current, yt);
40686
- Wt !== "none" && (de.current = !1, T.current = aG(
40646
+ const yt = nU(U), Kt = sG(O.current, yt);
40647
+ Kt !== "none" && (de.current = !1, T.current = aG(
40687
40648
  T.current,
40688
- Wt,
40649
+ Kt,
40689
40650
  q.current,
40690
40651
  C.length
40691
- ), (Wt === "replace" || Wt === "initial") && (Ce.current += 1), Wt === "append" && !o && U[U.length - 1]?.isMine && (ue.current = !0), O.current = yt);
40652
+ ), (Kt === "replace" || Kt === "initial") && (Ce.current += 1), Kt === "append" && !o && U[U.length - 1]?.isMine && (ue.current = !0), O.current = yt);
40692
40653
  }
40693
40654
  q.current = C.length;
40694
40655
  const re = `${G}:${Ce.current}`, pe = T.current, J = Ee(
@@ -40696,11 +40657,11 @@ function mG({
40696
40657
  );
40697
40658
  if (J.current?.key !== re) {
40698
40659
  let yt;
40699
- const Wt = Fe.current;
40700
- if (Wt?.kind === "bottom")
40660
+ const Kt = Fe.current;
40661
+ if (Kt?.kind === "bottom")
40701
40662
  yt = { index: "LAST", align: "end" }, Fe.current = null;
40702
40663
  else {
40703
- const Fg = Wt?.kind === "id" ? a.get(Wt.id) ?? null : null;
40664
+ const Fg = Kt?.kind === "id" ? a.get(Kt.id) ?? null : null;
40704
40665
  Fg != null && (Fe.current = null), yt = lG({
40705
40666
  pendingIndex: Fg,
40706
40667
  dividerIndex: C.findIndex((_t) => _t.type === "divider"),
@@ -40722,8 +40683,8 @@ function mG({
40722
40683
  }, []), rt = gt(
40723
40684
  (yt) => {
40724
40685
  if (mt.current = yt, Qe(yt), !yt) return;
40725
- const Wt = j.current;
40726
- Wt && Wt.scrollHeight - Wt.scrollTop - Wt.clientHeight <= xc && $e();
40686
+ const Kt = j.current;
40687
+ Kt && Kt.scrollHeight - Kt.scrollTop - Kt.clientHeight <= xc && $e();
40727
40688
  },
40728
40689
  [$e]
40729
40690
  ), pt = gt((yt) => {
@@ -40747,9 +40708,9 @@ function mG({
40747
40708
  Nt.current = null;
40748
40709
  const yt = X.current;
40749
40710
  if (!yt || !j.current) return;
40750
- const Wt = yt.scrollHeight - yt.scrollTop - yt.clientHeight;
40751
- wt.current = Wt, ve(
40752
- Wt > yt.clientHeight * pG
40711
+ const Kt = yt.scrollHeight - yt.scrollTop - yt.clientHeight;
40712
+ wt.current = Kt, ve(
40713
+ Kt > yt.clientHeight * pG
40753
40714
  ), uG(yt) && Le(), qe(
40754
40715
  fG(
40755
40716
  $.current,
@@ -40763,13 +40724,13 @@ function mG({
40763
40724
  }, [Le]), $t = gt(() => {
40764
40725
  const yt = j.current;
40765
40726
  if (!yt) return;
40766
- const Wt = {
40727
+ const Kt = {
40767
40728
  scrollHeight: yt.scrollHeight,
40768
40729
  scrollTop: yt.scrollTop,
40769
40730
  clientHeight: yt.clientHeight
40770
40731
  };
40771
- X.current = Wt;
40772
- const Fg = Wt.scrollHeight - Wt.scrollTop - Wt.clientHeight;
40732
+ X.current = Kt;
40733
+ const Fg = Kt.scrollHeight - Kt.scrollTop - Kt.clientHeight;
40773
40734
  wt.current = Fg, Fg <= xc && $e(), ug();
40774
40735
  }, [$e, ug]), hg = gt(() => {
40775
40736
  j.current && (xt.current || wt.current > np || Z.current?.scrollToIndex({
@@ -40781,11 +40742,11 @@ function mG({
40781
40742
  Qt.current = f;
40782
40743
  const zt = Ee({ height: 0, count: f }), Xt = gt(
40783
40744
  (yt) => {
40784
- const Wt = zt.current, Fg = Qt.current;
40745
+ const Kt = zt.current, Fg = Qt.current;
40785
40746
  zt.current = { height: yt, count: Fg }, cG({
40786
- prevHeight: Wt.height,
40747
+ prevHeight: Kt.height,
40787
40748
  height: yt,
40788
- prevCount: Wt.count,
40749
+ prevCount: Kt.count,
40789
40750
  count: Fg,
40790
40751
  // Pre-growth distance, same reasoning as pinToBottom's own gate.
40791
40752
  atBottom: !xt.current && wt.current <= np
@@ -40796,10 +40757,10 @@ function mG({
40796
40757
  (yt) => {
40797
40758
  if (yt.deltaY >= 0) return;
40798
40759
  Ne(), Tt.current != null && window.clearTimeout(Tt.current);
40799
- const Wt = j.current;
40760
+ const Kt = j.current;
40800
40761
  Tt.current = window.setTimeout(() => {
40801
- if (Tt.current = null, !Wt || j.current !== Wt) return;
40802
- const Fg = Wt.scrollHeight - Wt.scrollTop - Wt.clientHeight;
40762
+ if (Tt.current = null, !Kt || j.current !== Kt) return;
40763
+ const Fg = Kt.scrollHeight - Kt.scrollTop - Kt.clientHeight;
40803
40764
  wt.current = Fg, Fg <= xc && $e();
40804
40765
  }, BG);
40805
40766
  },
@@ -40809,8 +40770,8 @@ function mG({
40809
40770
  }, [Ne]), Zt = gt(
40810
40771
  (yt) => {
40811
40772
  Tt.current != null && (window.clearTimeout(Tt.current), Tt.current = null);
40812
- const Wt = j.current;
40813
- Wt && (Wt.removeEventListener("scroll", $t), Wt.removeEventListener("wheel", Ot), Wt.removeEventListener("touchmove", fg), Wt.removeEventListener("touchend", $t)), j.current = yt instanceof HTMLElement ? yt : null, X.current = null;
40773
+ const Kt = j.current;
40774
+ Kt && (Kt.removeEventListener("scroll", $t), Kt.removeEventListener("wheel", Ot), Kt.removeEventListener("touchmove", fg), Kt.removeEventListener("touchend", $t)), j.current = yt instanceof HTMLElement ? yt : null, X.current = null;
40814
40775
  const Fg = j.current;
40815
40776
  if (Fg) {
40816
40777
  const _t = {
@@ -40835,16 +40796,16 @@ function mG({
40835
40796
  }, [Y, $e]), Jt = Ee(a);
40836
40797
  Jt.current = a;
40837
40798
  const Pg = gt((yt) => {
40838
- const Wt = Jt.current.get(yt);
40839
- Wt != null ? Z.current?.scrollToIndex({ index: Wt, align: "center" }) : Fe.current = { kind: "id", id: yt };
40799
+ const Kt = Jt.current.get(yt);
40800
+ Kt != null ? Z.current?.scrollToIndex({ index: Kt, align: "center" }) : Fe.current = { kind: "id", id: yt };
40840
40801
  }, []), gI = gt(() => {
40841
40802
  Fe.current = { kind: "bottom" };
40842
40803
  }, []);
40843
40804
  It(() => {
40844
40805
  const yt = Fe.current;
40845
40806
  if (yt?.kind !== "id") return;
40846
- const Wt = a.get(yt.id);
40847
- Wt != null && (Fe.current = null, Z.current?.scrollToIndex({ index: Wt, align: "center" }));
40807
+ const Kt = a.get(yt.id);
40808
+ Kt != null && (Fe.current = null, Z.current?.scrollToIndex({ index: Kt, align: "center" }));
40848
40809
  }, [a]), Bi(() => {
40849
40810
  ue.current && (ue.current = !1, !(mt.current && !xt.current) && ng());
40850
40811
  });
@@ -41238,7 +41199,7 @@ const vG = (C) => {
41238
41199
  isLastOfRun: S
41239
41200
  });
41240
41201
  return C.deleted ? /* @__PURE__ */ p(
41241
- Kt.div,
41202
+ Wt.div,
41242
41203
  {
41243
41204
  initial: V.current || o ? !1 : { opacity: 0 },
41244
41205
  animate: { opacity: 1 },
@@ -41592,7 +41553,7 @@ const vG = (C) => {
41592
41553
  }
41593
41554
  )
41594
41555
  ] });
41595
- }, vy = () => import("./index-Dl4muhMx.js").then((C) => ({
41556
+ }, vy = () => import("./index-D-KNIRHD.js").then((C) => ({
41596
41557
  default: C.F0VideoPlayer
41597
41558
  })), WG = fr(vy), YG = ({
41598
41559
  file: C,
@@ -41878,7 +41839,7 @@ const vG = (C) => {
41878
41839
  ),
41879
41840
  children: [
41880
41841
  /* @__PURE__ */ p(tI, { initial: !1, mode: "popLayout", children: C.reactions.map((G) => /* @__PURE__ */ p(
41881
- Kt.span,
41842
+ Wt.span,
41882
41843
  {
41883
41844
  layout: "position",
41884
41845
  className: "flex",
@@ -42065,7 +42026,7 @@ const vG = (C) => {
42065
42026
  // remounts it, so `initial` applies) — never on a
42066
42027
  // scroll-back of an old failure.
42067
42028
  /* @__PURE__ */ p(
42068
- Kt.div,
42029
+ Wt.div,
42069
42030
  {
42070
42031
  initial: re.current || V ? !1 : { opacity: 0, scale: 0.9 },
42071
42032
  animate: { opacity: 1, scale: 1 },
@@ -42123,7 +42084,7 @@ const vG = (C) => {
42123
42084
  // shift when pinned at the bottom. Pills/pickers portal their
42124
42085
  // popovers, so the overflow clip never cuts them.
42125
42086
  /* @__PURE__ */ ee(
42126
- Kt.div,
42087
+ Wt.div,
42127
42088
  {
42128
42089
  className: "flex w-full gap-2 overflow-hidden",
42129
42090
  initial: de.current || V ? !1 : { height: 0, opacity: 0 },
@@ -42214,7 +42175,7 @@ const vG = (C) => {
42214
42175
  // extra motion reads as doubled. Its height is constant from mount,
42215
42176
  // keeping the virtualizer's measurements stable.
42216
42177
  /* @__PURE__ */ ee(
42217
- Kt.div,
42178
+ Wt.div,
42218
42179
  {
42219
42180
  role: "status",
42220
42181
  "aria-label": V,
@@ -42288,7 +42249,7 @@ const vG = (C) => {
42288
42249
  C.isMine ? "text-right" : "text-left"
42289
42250
  ),
42290
42251
  children: /* @__PURE__ */ p(
42291
- Kt.span,
42252
+ Wt.span,
42292
42253
  {
42293
42254
  className: "inline-block",
42294
42255
  initial: U ? !1 : { opacity: 0 },
@@ -42340,7 +42301,7 @@ const vG = (C) => {
42340
42301
  }, [C, b]), C.type === "separator" || C.type === "system") {
42341
42302
  const Ce = C.type === "separator" ? /* @__PURE__ */ p(Ry, { at: C.at, padded: !0 }) : /* @__PURE__ */ p(eE, { message: C.message });
42342
42303
  return G ? /* @__PURE__ */ p(
42343
- Kt.div,
42304
+ Wt.div,
42344
42305
  {
42345
42306
  className: V,
42346
42307
  initial: { opacity: 0 },
@@ -42391,7 +42352,7 @@ const vG = (C) => {
42391
42352
  // blank rows during big reconnect bursts). Only fresh unseen rows animate
42392
42353
  // — scrolled-back history is never disturbed.
42393
42354
  /* @__PURE__ */ p(
42394
- Kt.div,
42355
+ Wt.div,
42395
42356
  {
42396
42357
  className: Ue("flex flex-col gap-1", V),
42397
42358
  initial: { opacity: 0 },
@@ -42417,7 +42378,7 @@ const vG = (C) => {
42417
42378
  return /* @__PURE__ */ ee(pg, { children: [
42418
42379
  /* @__PURE__ */ p(tI, { children: !C && /* @__PURE__ */ p(WD, { position: "top" }, "chat-header-shadow") }),
42419
42380
  /* @__PURE__ */ p(tI, { children: a && (!C || f || U) && b && /* @__PURE__ */ p(
42420
- Kt.div,
42381
+ Wt.div,
42421
42382
  {
42422
42383
  className: "pointer-events-none absolute inset-x-0 top-2 flex justify-center",
42423
42384
  initial: { opacity: 0, y: -4 },
@@ -42442,7 +42403,7 @@ const vG = (C) => {
42442
42403
  }
42443
42404
  ) }),
42444
42405
  /* @__PURE__ */ p(tI, { children: S && /* @__PURE__ */ p(
42445
- Kt.div,
42406
+ Wt.div,
42446
42407
  {
42447
42408
  "data-testid": "chat-jump-overlay",
42448
42409
  className: "pointer-events-none absolute inset-x-0 flex justify-center",
@@ -42455,7 +42416,7 @@ const vG = (C) => {
42455
42416
  ease: bn
42456
42417
  },
42457
42418
  children: /* @__PURE__ */ p(
42458
- Kt.div,
42419
+ Wt.div,
42459
42420
  {
42460
42421
  className: "pointer-events-auto",
42461
42422
  initial: V || y === 0 ? !1 : { scale: 0.95 },
@@ -42675,14 +42636,14 @@ const vG = (C) => {
42675
42636
  ), mI = Ee(null), yt = Mt(
42676
42637
  () => ({ measureStripRef: mI, onListVisibilityChange: ng }),
42677
42638
  [ng]
42678
- ), Wt = FG((Pe) => {
42639
+ ), Kt = FG((Pe) => {
42679
42640
  const jg = mI.current, Ft = `${Pe}px`;
42680
42641
  jg && jg.style.height !== Ft && (jg.style.height = Ft);
42681
42642
  }), Fg = gt(
42682
42643
  (Pe) => {
42683
- Wt(Pe), Nt(Pe);
42644
+ Kt(Pe), Nt(Pe);
42684
42645
  },
42685
- [Nt, Wt]
42646
+ [Nt, Kt]
42686
42647
  );
42687
42648
  It(() => {
42688
42649
  X(Xt);
@@ -44616,7 +44577,7 @@ const dU = "[&_[data-testid=input-field-wrapper]]:bg-transparent", uU = ({ color
44616
44577
  const a = bI();
44617
44578
  return /* @__PURE__ */ ee("div", { className: "relative aspect-square h-4 shrink-0 self-center", children: [
44618
44579
  !a && /* @__PURE__ */ p(
44619
- Kt.div,
44580
+ Wt.div,
44620
44581
  {
44621
44582
  className: "absolute inset-0 rounded-full opacity-20",
44622
44583
  style: { backgroundColor: C },
@@ -45088,7 +45049,7 @@ const rB = [0.05, 0.7, 0.1, 1], XA = { duration: 0 }, Ny = 320, Zy = 10, Pk = 55
45088
45049
  }) => {
45089
45050
  const b = bI() || !a;
45090
45051
  return /* @__PURE__ */ p(
45091
- Kt.div,
45052
+ Wt.div,
45092
45053
  {
45093
45054
  className: C,
45094
45055
  style: { overflow: "hidden" },
@@ -45121,7 +45082,7 @@ const rB = [0.05, 0.7, 0.1, 1], XA = { duration: 0 }, Ny = 320, Zy = 10, Pk = 55
45121
45082
  }) => {
45122
45083
  const y = bI();
45123
45084
  return /* @__PURE__ */ p(
45124
- Kt.div,
45085
+ Wt.div,
45125
45086
  {
45126
45087
  className: Ue(U && "h-full", b),
45127
45088
  initial: f ? { opacity: 0, y: y ? 0 : Zy } : !1,
@@ -45947,7 +45908,7 @@ const WT = ({ transform: C }) => ({
45947
45908
  }, [a?.stowed, a?.pitch, k]);
45948
45909
  const G = b ? XA : C?.arriving ? AB(k, C.delayMs) : !a || a.instant ? XA : V ? Yk : zk;
45949
45910
  return /* @__PURE__ */ p(
45950
- Kt.div,
45911
+ Wt.div,
45951
45912
  {
45952
45913
  ref: S,
45953
45914
  className: Ue(f && "h-full"),
@@ -46478,7 +46439,7 @@ const LT = ({
46478
46439
  )
46479
46440
  }, Z = C.hasUpdates ? /* @__PURE__ */ p("span", { className: "pointer-events-none absolute -right-0.5 -top-0.5 h-2 w-2 rounded-full bg-f1-background-accent-bold ring-2 ring-f1-background" }) : null;
46480
46441
  return o ? /* @__PURE__ */ p(Dn, { label: o.label, instant: !0, children: /* @__PURE__ */ ee(
46481
- Kt.div,
46442
+ Wt.div,
46482
46443
  {
46483
46444
  className: Ue(
46484
46445
  // `pointer-events-auto` against the strip's `none`: a pill is wider
@@ -46540,7 +46501,7 @@ const LT = ({
46540
46501
  ]
46541
46502
  }
46542
46503
  ) }) : /* @__PURE__ */ p(
46543
- Kt.button,
46504
+ Wt.button,
46544
46505
  {
46545
46506
  type: "button",
46546
46507
  "aria-label": Nc(C),
@@ -46688,7 +46649,7 @@ const LT = ({
46688
46649
  ...vt.style
46689
46650
  }, yt = () => {
46690
46651
  St.current && clearTimeout(St.current), St.current = null;
46691
- }, Wt = () => {
46652
+ }, Kt = () => {
46692
46653
  yt(), St.current = setTimeout(() => qe(null), oN);
46693
46654
  }, Fg = (_t, _g) => {
46694
46655
  yt();
@@ -46700,7 +46661,7 @@ const LT = ({
46700
46661
  Tt(He != null), qe(_t);
46701
46662
  };
46702
46663
  return /* @__PURE__ */ ee(
46703
- Kt.div,
46664
+ Wt.div,
46704
46665
  {
46705
46666
  ref: (_t) => {
46706
46667
  ve.current = _t, typeof Ie == "function" ? Ie(_t) : Ie && (Ie.current = _t);
@@ -46867,7 +46828,7 @@ const LT = ({
46867
46828
  // The bleed is where the fade starts, too, so it opens on the gap
46868
46829
  // above the first glyph rather than on the glyph itself.
46869
46830
  /* @__PURE__ */ ee(
46870
- Kt.aside,
46831
+ Wt.aside,
46871
46832
  {
46872
46833
  ref: Yt.ref,
46873
46834
  className: Ue(
@@ -46913,7 +46874,7 @@ const LT = ({
46913
46874
  Oy,
46914
46875
  Re
46915
46876
  ),
46916
- onMouseLeave: Wt,
46877
+ onMouseLeave: Kt,
46917
46878
  onMouseEnter: yt,
46918
46879
  children: [
46919
46880
  U.map((_t, _g) => /* @__PURE__ */ p(
@@ -46932,7 +46893,7 @@ const LT = ({
46932
46893
  // The same control the column's placeholder is — a dashed box
46933
46894
  // around one glyph, named only on hover — at the strip's size.
46934
46895
  /* @__PURE__ */ p(Dn, { label: Ae.widgets.addWidget, children: /* @__PURE__ */ p(
46935
- Kt.button,
46896
+ Wt.button,
46936
46897
  {
46937
46898
  type: "button",
46938
46899
  "aria-label": Ae.widgets.addWidget,
@@ -46957,7 +46918,7 @@ const LT = ({
46957
46918
  ) }),
46958
46919
  " ",
46959
46920
  Qt || !hg ? null : /* @__PURE__ */ p(
46960
- Kt.aside,
46921
+ Wt.aside,
46961
46922
  {
46962
46923
  ref: vt.ref,
46963
46924
  hidden: Jt && ng.panelHidden,
@@ -46985,7 +46946,7 @@ const LT = ({
46985
46946
  },
46986
46947
  transition: ng.transition,
46987
46948
  onMouseEnter: Nt ? yt : void 0,
46988
- onMouseLeave: Nt ? Wt : void 0,
46949
+ onMouseLeave: Nt ? Kt : void 0,
46989
46950
  children: /* @__PURE__ */ p(
46990
46951
  UU,
46991
46952
  {