@factorialco/f0-react 7.28.0 → 7.28.1

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,5 +1,5 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { D as l, P as d, e as s } from "./pdfWorker-Ce9zqyou.js";
2
+ import { D as l, P as d, e as s } from "./pdfWorker-BAmFwu_I.js";
3
3
  s();
4
4
  const f = ({
5
5
  url: n,
@@ -1,8 +1,8 @@
1
1
  import { jsx as c, jsxs as I } from "react/jsx-runtime";
2
2
  import { useRef as M, useState as n, useCallback as v } from "react";
3
- import { F as R } from "./MapProvider-C4kRQyql.js";
3
+ import { F as R } from "./MapProvider-DzPbwkDE.js";
4
4
  import { u as _, m as x } from "./F0CanvasPanel-CMwh5HFX.js";
5
- import { u as B, a as L, s as P } from "./experimental-Drx9E2I8.js";
5
+ import { u as B, a as L, s as P } from "./experimental-Boy_OMyB.js";
6
6
  const N = 140, O = 1e4, K = ({
7
7
  onClose: d,
8
8
  searchMembers: f
@@ -1,7 +1,7 @@
1
1
  import { jsxs as i, jsx as o } from "react/jsx-runtime";
2
2
  import { useState as b, useCallback as m, useMemo as p } from "react";
3
3
  import { u as x, i as w, j as k, k as S, l as C } from "./F0CanvasPanel-CMwh5HFX.js";
4
- import { n as g, a as h, f as v, T as n, d as F } from "./index-lalKcSOE.js";
4
+ import { n as g, a as h, f as v, T as n, d as F } from "./index-BhyZ9gB4.js";
5
5
  const D = () => {
6
6
  const [r, a] = b(1), t = m(
7
7
  () => a((e) => g(e) ?? e),
@@ -2,7 +2,7 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { r as g } from "./docx-preview-BaRDMyPN.js";
3
3
  import { useRef as b, useState as h, useEffect as w } from "react";
4
4
  import { u as p, S as v } from "./F0CanvasPanel-CMwh5HFX.js";
5
- import { u as x, D as y } from "./DocumentToolbar-C7zG7ZUu.js";
5
+ import { u as x, D as y } from "./DocumentToolbar-Bf5SCuTi.js";
6
6
  const V = ({
7
7
  url: t,
8
8
  filename: d,
@@ -1,7 +1,7 @@
1
1
  import { jsx as o, jsxs as O, Fragment as Fe } from "react/jsx-runtime";
2
2
  import { forwardRef as re, useState as F, useEffect as N, useRef as M, useContext as Pn, createContext as Cn, useCallback as B, useMemo as et, useId as An, useImperativeHandle as In } from "react";
3
3
  import { a3 as Xt, u as se, a4 as le, y as Pe, a5 as Fn, a6 as En, a7 as $n, i as On, n as be, a8 as Bn, v as Yt, a9 as Je, aa as tt, ab as Ae, ac as Wn, ad as Ut, ae as Dn, af as Hn, ag as _t, ah as Gt, ai as Xn } from "./F0CanvasPanel-CMwh5HFX.js";
4
- import { b as Yn, c as Un, d as Gn } from "./MapProvider-C4kRQyql.js";
4
+ import { b as Yn, c as Un, d as Gn } from "./MapProvider-DzPbwkDE.js";
5
5
  import { d as D, f as Zn } from "./tooltip-CrXp1Uaz.js";
6
6
  import { createPortal as Kn } from "react-dom";
7
7
  const qn = (e, t) => ({
@@ -1425,7 +1425,7 @@ const rl = {
1425
1425
  }, []);
1426
1426
  return N(() => () => a.current?.disconnect(), []), { containerRef: l, isDark: e };
1427
1427
  }, Ma = {
1428
- maplibre: () => import("./index-Df32kENo.js").then((e) => e.createMaplibreAdapter),
1428
+ maplibre: () => import("./index-vqmGg9GN.js").then((e) => e.createMaplibreAdapter),
1429
1429
  // Google needs its script in the page before a map can be constructed, so the
1430
1430
  // loader resolves only once the API is up - which is what keeps the factory
1431
1431
  // itself synchronous for every engine.
@@ -1,6 +1,6 @@
1
1
  import { jsx as m, jsxs as R, Fragment as He } from "react/jsx-runtime";
2
2
  import * as Be from "react";
3
- import ie, { useRef as z, useState as J, useCallback as X, useEffect as se, useContext as lt, useMemo as Y, createContext as Ft, forwardRef as Ze, useLayoutEffect as an, memo as Tt, useReducer as J$, cloneElement as sT, PureComponent as Jc, useId as io, useImperativeHandle as nl, Fragment as $f, createElement as _m, isValidElement as Z$, Suspense as Q$, lazy as eB, useDebugValue as aT, version as V_, createRef as lT, useSyncExternalStore as W_ } from "react";
3
+ import ie, { useRef as z, useState as J, useCallback as X, useEffect as se, useContext as lt, useMemo as Y, createContext as Ft, forwardRef as Ze, useLayoutEffect as ln, memo as Tt, useReducer as J$, cloneElement as sT, PureComponent as Jc, useId as io, useImperativeHandle as nl, Fragment as $f, createElement as _m, isValidElement as Z$, Suspense as Q$, lazy as eB, useDebugValue as aT, version as V_, createRef as lT, useSyncExternalStore as W_ } from "react";
4
4
  import { f0 as U_, f1 as Gu, f2 as tB, cM as cT, f3 as nB, f4 as iB, f5 as rB, f6 as mv, f7 as oB, f8 as sB, f9 as aB, fa as lB, fb as cB, fc as dB, fd as fB, ab as et, fe as dT, ff as uB, ch as Lt, aJ as Ku, aK as Zc, au as hB, av as pB, cO as ro, B as Pt, E as ei, G as Qc, df as dk, es as fk, et as Sm, S as Fe, fg as fT, eu as uk, u as $e, v as ot, bi as Yu, ck as Bf, bq as hk, r as pk, cS as mB, cy as uT, cP as gB, dd as yB, e1 as hT, y as De, aY as Xu, fh as vB, b4 as bB, b5 as wB, fi as xB, cs as pT, dK as kB, fj as mT, d7 as gT, fk as _B, fl as SB, fm as da, fn as It, fo as Si, fp as yT, fq as CB, fr as vT, fs as EB, ft as Gn, fu as Ny, fv as un, fw as bT, fx as Ay, fy as mk, fz as gk, fA as yk, fB as Bn, fC as ki, fD as _b, fE as Ty, fF as NB, fG as si, fH as Ao, fI as bi, fJ as il, fK as vk, fL as Oy, fM as Vp, fN as Dy, ey as bk, fO as AB, fP as Wh, fQ as Cm, fR as TB, fS as OB, fT as DB, fU as IB, fV as MB, fW as PB, fX as wT, fY as xT, fZ as kT, f_ as _T, f$ as ST, g0 as RB, g1 as Em, g2 as LB, g3 as FB, g4 as Ju, g5 as Gs, cW as jo, g6 as wk, g7 as Po, g8 as CT, cX as ET, g9 as $B, ga as BB, cU as zB, gb as jB, cV as HB, dh as ai, gc as li, gd as VB, ge as WB, gf as UB, gg as qB, gh as GB, gi as Sb, gj as KB, a4 as NT, gk as AT, er as dr, aa as Qt, eJ as YB, dn as Tr, cA as ed, d2 as Fa, am as Zu, an as XB, dF as JB, gl as TT, gm as OT, o as ZB, ad as rl, ct as td, ew as DT, cC as IT, cD as xk, a9 as Qu, L as Iy, gn as QB, eq as MT, dc as ez, go as PT, eN as Hn, gp as RT, gq as LT, gr as Cb, gs as tz, gt as q_, gu as eh, eV as FT, dt as $T, eP as My, H as Py, J as kk, K as Ry, eT as nz, k as Xn, aE as G_, aM as iz, a_ as rz, bv as _k, gv as BT, gw as oz, eO as zT, gx as gv, bS as jT, cr as ol, ai as sr, di as $s, eo as sz, gy as K_, ek as Sk, gz as az, dR as lz, e5 as cz, e3 as dz, gA as HT, gB as fz, cN as uz, gC as hz, gD as VT, af as WT, gE as pz, gF as mz, gG as gz, gH as Y_, gI as X_, gJ as J_, gK as Z_, gL as yz, gM as UT, aC as vz, gN as Ly, gO as qT, dq as bz, gP as wz, cI as nd, M as GT, N as KT, Q as YT, e8 as xz, gQ as kz, gR as Q_, dP as Nm, eH as zf, U as XT, V as JT, X as ZT, Y as QT, w as sl, cm as Ho, s as _z, x as Sz, gS as Cz, z as Ck, gT as eO, gU as tO, gV as Ez, gW as Am, gX as Nz, gY as Az, gZ as Ea, g_ as Tz, g$ as e4, h0 as Oz, h1 as Dz, h2 as Tm, h3 as Iz, h4 as Mz, h5 as Pz, h6 as nO, h7 as Rz, h8 as iO, h9 as Lz, ha as Fy, hb as id, hc as Fz, hd as Ek, he as rn, cL as jf, hf as Zn, cY as th, hg as $z, a7 as $a, at as Eb, dk as Bz, dl as zz, cu as rO, cv as oO, cw as sO, hh as Nk, hi as jz, d1 as aO, dr as Hz, bM as $y, aS as Ko, ei as lO, ej as cO, aG as Vz, aV as Wz, cb as dO, dE as Uz, hj as qz, hk as Gz, hl as Om, hm as ko, m as Kz, b$ as Yz, hn as Xz, dX as Jz, aR as Dm, c2 as fO, bZ as Zz, ev as t4, eh as Qz, aZ as ej, ho as tj, hp as By, hq as zy, hr as jy, cx as Hy, hs as nj, ht as Im, hu as ij, hv as rj, dm as oj, hw as uO, bx as yv, hx as sj, hy as aj, bA as lj, bG as cj, hz as n4, hA as dj, hB as i4, hC as vv, hD as hO, a1 as pO, b_ as fj, a5 as uj, i as Ak, hE as hj, hF as pj, dM as mj, j as Tk, eD as gj, bR as yj, bK as vj, bs as r4, bw as Ok, c7 as bj, ef as wj, hG as mO, hH as xj, hI as Dk, l as kj, ax as _j, aT as Sj, c0 as Cj, hJ as Ej, hK as Nj, A as Aj, hL as Tj, hM as Oj, hN as Dj, hO as Ij, hP as gO, ca as Mj, hQ as Ik, hR as Pj, hS as Rj, hT as Lj, hU as bv, hV as Fj, hW as Oe, hX as nh, hY as $j, hZ as Bj, h_ as zj, h$ as jj, i0 as o4, i1 as Hj, i2 as Mm, R as Vj, i3 as Wj, i4 as wv, i5 as Uh, i6 as Uj, i7 as qj, i8 as Gj, i9 as Kj, ia as Yj, aw as Xj, c as Jj, c1 as Zj, W as xv, ib as ih, ic as Mk, id as Pk, ie as rh, ig as Qj, bX as eH, dO as Rk, ea as s4, al as tH, ah as nH, ed as iH, az as rH, br as oH, c9 as sH, c5 as aH, bk as yO, bl as vO, bm as bO, bJ as wO, aI as xO, aq as kO, ao as _O, ar as SO, ap as CO, aO as EO, bW as NO, cz as AO, ih as TO, ii as lH, cH, ba as dH, b8 as fH, b7 as uH, b6 as hH, b9 as pH, bn as mH, cc as gH, cj as yH, ci as vH, c8 as bH, bE as wH, bL as xH, a2 as kH, cp as _H, ij as SH, cG as CH, ik as EH, il as NH, im as AH, io as TH, cB as OH, ip as DH, co as IH, iq as MH } from "./F0CanvasPanel-CMwh5HFX.js";
5
5
  import { d as K, g as PH, e as ci, T as oh, a as sh, b as ah, f as mn, u as Lk, S as RH, c as Vy } from "./tooltip-CrXp1Uaz.js";
6
6
  import { g as lh } from "./_commonjsHelpers-ByX85dGu.js";
@@ -513,19 +513,19 @@ function Uy(e) {
513
513
  function p4(e) {
514
514
  return Object.prototype.toString.call(e) === "[object Object]";
515
515
  }
516
- function sn(e) {
516
+ function an(e) {
517
517
  return Math.abs(e);
518
518
  }
519
519
  function jk(e) {
520
520
  return Math.sign(e);
521
521
  }
522
522
  function rf(e, t) {
523
- return sn(e - t);
523
+ return an(e - t);
524
524
  }
525
525
  function cV(e, t) {
526
- if (e === 0 || t === 0 || sn(e) <= sn(t)) return 0;
527
- const n = rf(sn(e), sn(t));
528
- return sn(n / e);
526
+ if (e === 0 || t === 0 || an(e) <= an(t)) return 0;
527
+ const n = rf(an(e), an(t));
528
+ return an(n / e);
529
529
  }
530
530
  function dV(e) {
531
531
  return Math.round(e * 100) / 100;
@@ -668,7 +668,7 @@ function hV(e, t) {
668
668
  };
669
669
  }
670
670
  function Ba(e = 0, t = 0) {
671
- const n = sn(e - t);
671
+ const n = an(e - t);
672
672
  function i(c) {
673
673
  return c < e;
674
674
  }
@@ -701,7 +701,7 @@ function IO(e, t, n) {
701
701
  } = Ba(0, e), r = e + 1;
702
702
  let o = s(t);
703
703
  function s(u) {
704
- return n ? sn((r + u) % r) : i(u);
704
+ return n ? an((r + u) % r) : i(u);
705
705
  }
706
706
  function a() {
707
707
  return o;
@@ -763,7 +763,7 @@ function pV(e, t, n, i, r, o, s, a, l, c, d, f, u, h, p, g, y, v, w) {
763
763
  }
764
764
  function j(Q, fe) {
765
765
  const me = f.add(jk(Q) * -1), be = d.byDistance(Q, !p).distance;
766
- return p || sn(Q) < C ? be : y && fe ? be * 0.5 : d.byIndex(me.get(), 0).distance;
766
+ return p || an(Q) < C ? be : y && fe ? be * 0.5 : d.byIndex(me.get(), 0).distance;
767
767
  }
768
768
  function Z(Q) {
769
769
  const fe = Ab(Q, i);
@@ -812,7 +812,7 @@ function mV(e, t) {
812
812
  function c(f) {
813
813
  if (!i || !r) return 0;
814
814
  const u = s(r) - s(i), h = o(f) - o(i), p = o(f) - o(r) > 170, g = u / h;
815
- return h && !p && sn(g) > 0.1 ? g : 0;
815
+ return h && !p && an(g) > 0.1 ? g : 0;
816
816
  }
817
817
  return {
818
818
  pointerDown: a,
@@ -863,7 +863,7 @@ function vV(e, t, n, i, r, o, s) {
863
863
  for (const x of w) {
864
864
  if (f) return;
865
865
  const b = x.target === e, _ = i.indexOf(x.target), k = b ? c : d[_], S = u(b ? e : i[_]);
866
- if (sn(S - k) >= 0.5) {
866
+ if (an(S - k) >= 0.5) {
867
867
  y.reInit(), t.emit("resize");
868
868
  break;
869
869
  }
@@ -892,7 +892,7 @@ function bV(e, t, n, i, r, o) {
892
892
  }
893
893
  function h() {
894
894
  const k = i.get() - t.get();
895
- return sn(k) < 1e-3;
895
+ return an(k) < 1e-3;
896
896
  }
897
897
  function p() {
898
898
  return l;
@@ -936,8 +936,8 @@ function wV(e, t, n, i, r) {
936
936
  }
937
937
  function d(h) {
938
938
  if (!c()) return;
939
- const p = e.reachedMin(t.get()) ? "min" : "max", g = sn(e[p] - t.get()), y = n.get() - t.get(), v = a.constrain(g / s);
940
- n.subtract(y * v), !h && sn(y) < o && (n.set(e.constrain(n.get())), i.useDuration(25).useBaseFriction());
939
+ const p = e.reachedMin(t.get()) ? "min" : "max", g = an(e[p] - t.get()), y = n.get() - t.get(), v = a.constrain(g / s);
940
+ n.subtract(y * v), !h && an(y) < o && (n.set(e.constrain(n.get())), i.useDuration(25).useBaseFriction());
941
941
  }
942
942
  function f(h) {
943
943
  l = !h;
@@ -1024,10 +1024,10 @@ function CV(e, t, n, i, r) {
1024
1024
  groupSlides: a
1025
1025
  } = r, l = f().map(t.measure), c = u(), d = h();
1026
1026
  function f() {
1027
- return a(i).map((g) => Cr(g)[s] - g[0][o]).map(sn);
1027
+ return a(i).map((g) => Cr(g)[s] - g[0][o]).map(an);
1028
1028
  }
1029
1029
  function u() {
1030
- return i.map((g) => n[o] - g[o]).map((g) => -sn(g));
1030
+ return i.map((g) => n[o] - g[o]).map((g) => -an(g));
1031
1031
  }
1032
1032
  function h() {
1033
1033
  return a(c).map((g) => g[0]).map((g, y) => g + l[y]);
@@ -1070,13 +1070,13 @@ function NV(e, t, n, i, r) {
1070
1070
  constrain: a
1071
1071
  } = i;
1072
1072
  function l(p) {
1073
- return p.concat().sort((g, y) => sn(g) - sn(y))[0];
1073
+ return p.concat().sort((g, y) => an(g) - an(y))[0];
1074
1074
  }
1075
1075
  function c(p) {
1076
1076
  const g = e ? s(p) : a(p), y = t.map((w, x) => ({
1077
1077
  diff: d(w - g, 0),
1078
1078
  index: x
1079
- })).sort((w, x) => sn(w.diff) - sn(x.diff)), {
1079
+ })).sort((w, x) => an(w.diff) - an(x.diff)), {
1080
1080
  index: v
1081
1081
  } = y[0];
1082
1082
  return {
@@ -1348,7 +1348,7 @@ function MV(e, t, n, i, r, o) {
1348
1348
  function p() {
1349
1349
  if (!c) return 0;
1350
1350
  const w = n[0];
1351
- return sn(t[a] - w[a]);
1351
+ return an(t[a] - w[a]);
1352
1352
  }
1353
1353
  function g() {
1354
1354
  if (!c) return 0;
@@ -1359,7 +1359,7 @@ function MV(e, t, n, i, r, o) {
1359
1359
  return n.map((w, x, b) => {
1360
1360
  const _ = !x, k = Hk(b, x);
1361
1361
  return _ ? u[x] + d : k ? u[x] + f : b[x + 1][a] - w[a];
1362
- }).map(sn);
1362
+ }).map(an);
1363
1363
  }
1364
1364
  return {
1365
1365
  slideSizes: u,
@@ -1379,7 +1379,7 @@ function PV(e, t, n, i, r, o, s, a, l) {
1379
1379
  }
1380
1380
  function p(v) {
1381
1381
  return v.length ? Hf(v).reduce((w, x, b) => {
1382
- const _ = Cr(w) || 0, k = _ === 0, S = x === ch(v), E = r[c] - o[_][c], C = r[c] - o[x][d], N = !i && k ? f(s) : 0, T = !i && S ? f(a) : 0, D = sn(C - T - (E + N));
1382
+ const _ = Cr(w) || 0, k = _ === 0, S = x === ch(v), E = r[c] - o[_][c], C = r[c] - o[x][d], N = !i && k ? f(s) : 0, T = !i && S ? f(a) : 0, D = an(C - T - (E + N));
1383
1383
  return b && D > t + l && w.push(x), S && w.push(v.length), w;
1384
1384
  }, []).map((w, x, b) => {
1385
1385
  const _ = Math.max(b[x - 1] || 0);
@@ -2239,7 +2239,7 @@ const gi = 28, b4 = 16, oW = ({ children: e }) => {
2239
2239
  const { scrollLeft: d, scrollWidth: f, clientWidth: u } = t.current;
2240
2240
  o(d > 0), i(d + u < f);
2241
2241
  };
2242
- an(() => {
2242
+ ln(() => {
2243
2243
  const d = t.current;
2244
2244
  if (!d)
2245
2245
  return;
@@ -2899,7 +2899,7 @@ function qO(e) {
2899
2899
  function od(e) {
2900
2900
  return e ? rd(e) ? e.document : qk(e) ? Gk(e) ? e : dh(e) || qO(e) ? e.ownerDocument : document : document : document;
2901
2901
  }
2902
- const Or = qy ? an : se;
2902
+ const Or = qy ? ln : se;
2903
2903
  function Gy(e) {
2904
2904
  const t = z(e);
2905
2905
  return Or(() => {
@@ -5045,15 +5045,15 @@ const OU = /* @__PURE__ */ Tt(function(t) {
5045
5045
  return;
5046
5046
  const {
5047
5047
  onDragPending: wn
5048
- } = F.current, ln = {
5048
+ } = F.current, sn = {
5049
5049
  id: bt,
5050
5050
  constraint: on,
5051
5051
  initialCoordinates: Yt,
5052
5052
  offset: Vt
5053
5053
  };
5054
- wn?.(ln), w({
5054
+ wn?.(sn), w({
5055
5055
  type: "onDragPending",
5056
- event: ln
5056
+ event: sn
5057
5057
  });
5058
5058
  },
5059
5059
  onStart(bt) {
@@ -5102,29 +5102,29 @@ const OU = /* @__PURE__ */ Tt(function(t) {
5102
5102
  over: ni,
5103
5103
  scrollAdjustedTranslate: wn
5104
5104
  } = Q.current;
5105
- let ln = null;
5105
+ let sn = null;
5106
5106
  if (Yt && wn) {
5107
5107
  const {
5108
5108
  cancelDrop: zn
5109
5109
  } = F.current;
5110
- ln = {
5110
+ sn = {
5111
5111
  activatorEvent: ut,
5112
5112
  active: Yt,
5113
5113
  collisions: Vt,
5114
5114
  delta: wn,
5115
5115
  over: ni
5116
- }, bt === Cn.DragEnd && typeof zn == "function" && await Promise.resolve(zn(ln)) && (bt = Cn.DragCancel);
5116
+ }, bt === Cn.DragEnd && typeof zn == "function" && await Promise.resolve(zn(sn)) && (bt = Cn.DragCancel);
5117
5117
  }
5118
5118
  A.current = null, qh(() => {
5119
5119
  v({
5120
5120
  type: bt
5121
5121
  }), _(vs.Uninitialized), ke(null), O(null), $(null), de.current = null;
5122
5122
  const zn = bt === Cn.DragEnd ? "onDragEnd" : "onDragCancel";
5123
- if (ln) {
5123
+ if (sn) {
5124
5124
  const _n = F.current[zn];
5125
- _n?.(ln), w({
5125
+ _n?.(sn), w({
5126
5126
  type: zn,
5127
- event: ln
5127
+ event: sn
5128
5128
  });
5129
5129
  }
5130
5130
  });
@@ -9338,7 +9338,7 @@ const WK = ({
9338
9338
  const a = Be.useId(), l = `chart-${e || a.replace(/:/g, "")}`, c = Be.useRef(null), [d, f] = J(), u = Y(() => new ResizeObserver(
9339
9339
  (h) => f(h[0].contentRect.height)
9340
9340
  ), []);
9341
- return an(() => {
9341
+ return ln(() => {
9342
9342
  const h = s && "current" in s ? s.current : c.current;
9343
9343
  return h && u.observe(h.parentElement), () => {
9344
9344
  u.disconnect();
@@ -13297,7 +13297,7 @@ const _Ne = r1, rD = Ze(
13297
13297
  ...b
13298
13298
  }, _) => {
13299
13299
  const k = z(null);
13300
- return nl(_, () => k.current), an(() => {
13300
+ return nl(_, () => k.current), ln(() => {
13301
13301
  const S = k.current;
13302
13302
  if (!S)
13303
13303
  return;
@@ -20285,7 +20285,7 @@ const xc = 40, wi = Ze(
20285
20285
  wi.displayName = "TableRow";
20286
20286
  function E2({ children: e, sticky: t = !1 }) {
20287
20287
  const n = z(null), r = lt(md)?.setStickyHeaderHeight;
20288
- return an(() => {
20288
+ return ln(() => {
20289
20289
  if (!r)
20290
20290
  return;
20291
20291
  if (!t) {
@@ -24433,7 +24433,7 @@ const EC = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.selecte
24433
24433
  },
24434
24434
  [a]
24435
24435
  );
24436
- return an(() => {
24436
+ return ln(() => {
24437
24437
  const p = r?.previousElementSibling;
24438
24438
  if (!r || !p) {
24439
24439
  c(0);
@@ -24614,7 +24614,7 @@ const EC = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.selecte
24614
24614
  };
24615
24615
  }, Yte = (e, t, n) => {
24616
24616
  const [i, r] = J(!1), s = lt(md)?.stickyHeaderHeight ?? xc;
24617
- return an(() => {
24617
+ return ln(() => {
24618
24618
  if (!e) {
24619
24619
  r(!1);
24620
24620
  return;
@@ -24653,7 +24653,7 @@ const EC = (e) => e ? e.indeterminate || e.selectedCount !== void 0 && e.selecte
24653
24653
  }, [e, t, n, s]), { isSticky: i };
24654
24654
  }, Xte = (e, t) => {
24655
24655
  const n = z(null), i = e.rowRef?.current;
24656
- an(() => {
24656
+ ln(() => {
24657
24657
  if (n.current && i) {
24658
24658
  const a = e.rowRef?.current?.getBoundingClientRect().height;
24659
24659
  n.current.style.height = `${a}px`;
@@ -24731,7 +24731,7 @@ const Zte = (e, t) => /* @__PURE__ */ m(
24731
24731
  headerGroups: h
24732
24732
  }, p) => {
24733
24733
  const g = z(null), y = e?.current;
24734
- an(() => {
24734
+ ln(() => {
24735
24735
  if (g.current && y) {
24736
24736
  const x = e.current.getBoundingClientRect().height;
24737
24737
  g.current.style.height = `${x}px`;
@@ -25264,7 +25264,7 @@ function une(e, t) {
25264
25264
  }), s;
25265
25265
  }
25266
25266
  const hne = 220, pne = (e, t, n, i = !0) => {
25267
- an(() => {
25267
+ ln(() => {
25268
25268
  if (t.length === 0)
25269
25269
  return;
25270
25270
  const r = e.current;
@@ -25884,7 +25884,7 @@ const hne = 220, pne = (e, t, n, i = !0) => {
25884
25884
  "Sorting is defined on a column but no sortings are provided in the data source"
25885
25885
  );
25886
25886
  });
25887
- const wn = We.selectedCount > 0 || We.checked, ln = t.disableSelectAll ?? !1, zn = he.length > 0 && he.every((ge) => ct.has(ge)), _n = We.checked && !We.indeterminate || zn, Ge = !ln && !!t.allPagesSelection && (!We.checked || We.indeterminate) && ee?.total !== void 0 && Ne > We.selectedCount, je = O.length + (me ? ye : 0), it = We.selectedCount === 1 ? E.status.selected.singular : E.status.selected.plural;
25887
+ const wn = We.selectedCount > 0 || We.checked, sn = t.disableSelectAll ?? !1, zn = he.length > 0 && he.every((ge) => ct.has(ge)), _n = We.checked && !We.indeterminate || zn, Ge = !sn && !!t.allPagesSelection && (!We.checked || We.indeterminate) && ee?.total !== void 0 && Ne > We.selectedCount, je = O.length + (me ? ye : 0), it = We.selectedCount === 1 ? E.status.selected.singular : E.status.selected.plural;
25888
25888
  return /* @__PURE__ */ m("div", { className: "flex h-full min-h-0 flex-col gap-4", children: /* @__PURE__ */ R(
25889
25889
  qte,
25890
25890
  {
@@ -26006,8 +26006,11 @@ const hne = 220, pne = (e, t, n, i = !0) => {
26006
26006
  width: Vt,
26007
26007
  sticky: { left: 0 },
26008
26008
  align: "left",
26009
- className: P ? K("[&>div:first-child]:hidden", ql) : void 0,
26010
- children: ln ? null : /* @__PURE__ */ m("div", { className: "ml-3.5 flex w-full items-center justify-start", children: /* @__PURE__ */ m(
26009
+ className: K(
26010
+ P && K("[&>div:first-child]:hidden", ql),
26011
+ sn && "hover:after:bg-transparent"
26012
+ ),
26013
+ children: sn ? null : /* @__PURE__ */ m("div", { className: "ml-3.5 flex w-full items-center justify-start", children: /* @__PURE__ */ m(
26011
26014
  jf,
26012
26015
  {
26013
26016
  checked: _n,
@@ -26112,7 +26115,7 @@ const hne = 220, pne = (e, t, n, i = !0) => {
26112
26115
  {
26113
26116
  width: Vt,
26114
26117
  sticky: { left: 0 },
26115
- children: /* @__PURE__ */ m("div", { className: "pointer-events-auto ml-1.5 flex items-center justify-start", children: ln ? null : /* @__PURE__ */ m(
26118
+ children: /* @__PURE__ */ m("div", { className: "pointer-events-auto ml-1.5 flex items-center justify-start", children: sn ? null : /* @__PURE__ */ m(
26116
26119
  jf,
26117
26120
  {
26118
26121
  checked: !!EC(
@@ -30105,7 +30108,7 @@ function Jse({ onSelectionChange: e }) {
30105
30108
  const t = pt(Xse);
30106
30109
  return e || t ? m(Yse, { onSelectionChange: e }) : null;
30107
30110
  }
30108
- const kw = typeof window < "u" ? an : se, uP = [0, 0], Zse = { x: 0, y: 0, zoom: 1 }, Qse = [
30111
+ const kw = typeof window < "u" ? ln : se, uP = [0, 0], Zse = { x: 0, y: 0, zoom: 1 }, Qse = [
30109
30112
  "nodes",
30110
30113
  "edges",
30111
30114
  "defaultNodes",
@@ -31987,11 +31990,11 @@ const _le = {
31987
31990
  position: "relative",
31988
31991
  zIndex: 0
31989
31992
  };
31990
- function Sle({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: y, onClickConnectEnd: v, onNodeMouseEnter: w, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: k, onNodeDragStart: S, onNodeDrag: E, onNodeDragStop: C, onNodesDelete: N, onEdgesDelete: T, onDelete: D, onSelectionChange: I, onSelectionDragStart: A, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: $, onSelectionEnd: F, onBeforeDelete: B, connectionMode: L, connectionLineType: q = Ss.Bezier, connectionLineStyle: W, connectionLineComponent: ee, connectionLineContainerStyle: j, deleteKeyCode: Z = "Backspace", selectionKeyCode: V = "Shift", selectionOnDrag: H = !1, selectionMode: ne = du.Full, panActivationKeyCode: re = "Space", multiSelectionKeyCode: G = uu() ? "Meta" : "Control", zoomActivationKeyCode: Q = uu() ? "Meta" : "Control", snapToGrid: fe, snapGrid: me, onlyRenderVisibleElements: be = !1, selectNodesOnDrag: Ee, nodesDraggable: ye, autoPanOnNodeFocus: U, nodesConnectable: te, nodesFocusable: ae, nodeOrigin: ce = uP, edgesFocusable: oe, edgesReconnectable: le, elementsSelectable: ue = !0, defaultViewport: ve = Zse, minZoom: Se = 0.5, maxZoom: Me = 2, translateExtent: Ue = cu, preventScrolling: ct = !0, nodeExtent: We, defaultMarkerColor: tt = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: rt = !0, panOnScroll: pe = !1, panOnScrollSpeed: de = 0.5, panOnScrollMode: he = Aa.Free, zoomOnDoubleClick: Ne = !0, panOnDrag: _e = !0, onPaneClick: Ae, onPaneMouseEnter: Xe, onPaneMouseMove: mt, onPaneMouseLeave: qe, onPaneScroll: st, onPaneContextMenu: gt, paneClickDistance: zt = 1, nodeClickDistance: vt = 0, children: ut, onReconnect: $t, onReconnectStart: Kt, onReconnectEnd: bt, onEdgeContextMenu: on, onEdgeDoubleClick: Yt, onEdgeMouseEnter: Vt, onEdgeMouseMove: ni, onEdgeMouseLeave: wn, reconnectRadius: ln = 10, onNodesChange: zn, onEdgesChange: _n, noDragClassName: Ge = "nodrag", noWheelClassName: je = "nowheel", noPanClassName: it = "nopan", fitView: ge, fitViewOptions: Le, connectOnClick: Ct, attributionPosition: wt, proOptions: Xt, defaultEdgeOptions: jn, elevateNodesOnSelect: ii = !0, elevateEdgesOnSelect: Cd = !1, disableKeyboardA11y: ns = !1, autoPanOnConnect: Ed, autoPanOnNodeDrag: ea, autoPanSpeed: $r, connectionRadius: ur, isValidConnection: ao, onError: Nd, style: lo, id: pl, nodeDragThreshold: Ad, connectionDragThreshold: ml, viewport: gl, onViewportChange: is, width: Br, height: zr, colorMode: co = "light", debug: Td, onScroll: fo, ariaLabelConfig: Od, zIndexMode: yl = "basic", ...vl }, bl) {
31993
+ function Sle({ nodes: e, edges: t, defaultNodes: n, defaultEdges: i, className: r, nodeTypes: o, edgeTypes: s, onNodeClick: a, onEdgeClick: l, onInit: c, onMove: d, onMoveStart: f, onMoveEnd: u, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: y, onClickConnectEnd: v, onNodeMouseEnter: w, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: k, onNodeDragStart: S, onNodeDrag: E, onNodeDragStop: C, onNodesDelete: N, onEdgesDelete: T, onDelete: D, onSelectionChange: I, onSelectionDragStart: A, onSelectionDrag: M, onSelectionDragStop: O, onSelectionContextMenu: P, onSelectionStart: $, onSelectionEnd: F, onBeforeDelete: B, connectionMode: L, connectionLineType: q = Ss.Bezier, connectionLineStyle: W, connectionLineComponent: ee, connectionLineContainerStyle: j, deleteKeyCode: Z = "Backspace", selectionKeyCode: V = "Shift", selectionOnDrag: H = !1, selectionMode: ne = du.Full, panActivationKeyCode: re = "Space", multiSelectionKeyCode: G = uu() ? "Meta" : "Control", zoomActivationKeyCode: Q = uu() ? "Meta" : "Control", snapToGrid: fe, snapGrid: me, onlyRenderVisibleElements: be = !1, selectNodesOnDrag: Ee, nodesDraggable: ye, autoPanOnNodeFocus: U, nodesConnectable: te, nodesFocusable: ae, nodeOrigin: ce = uP, edgesFocusable: oe, edgesReconnectable: le, elementsSelectable: ue = !0, defaultViewport: ve = Zse, minZoom: Se = 0.5, maxZoom: Me = 2, translateExtent: Ue = cu, preventScrolling: ct = !0, nodeExtent: We, defaultMarkerColor: tt = "#b1b1b7", zoomOnScroll: ke = !0, zoomOnPinch: rt = !0, panOnScroll: pe = !1, panOnScrollSpeed: de = 0.5, panOnScrollMode: he = Aa.Free, zoomOnDoubleClick: Ne = !0, panOnDrag: _e = !0, onPaneClick: Ae, onPaneMouseEnter: Xe, onPaneMouseMove: mt, onPaneMouseLeave: qe, onPaneScroll: st, onPaneContextMenu: gt, paneClickDistance: zt = 1, nodeClickDistance: vt = 0, children: ut, onReconnect: $t, onReconnectStart: Kt, onReconnectEnd: bt, onEdgeContextMenu: on, onEdgeDoubleClick: Yt, onEdgeMouseEnter: Vt, onEdgeMouseMove: ni, onEdgeMouseLeave: wn, reconnectRadius: sn = 10, onNodesChange: zn, onEdgesChange: _n, noDragClassName: Ge = "nodrag", noWheelClassName: je = "nowheel", noPanClassName: it = "nopan", fitView: ge, fitViewOptions: Le, connectOnClick: Ct, attributionPosition: wt, proOptions: Xt, defaultEdgeOptions: jn, elevateNodesOnSelect: ii = !0, elevateEdgesOnSelect: Cd = !1, disableKeyboardA11y: ns = !1, autoPanOnConnect: Ed, autoPanOnNodeDrag: ea, autoPanSpeed: $r, connectionRadius: ur, isValidConnection: ao, onError: Nd, style: lo, id: pl, nodeDragThreshold: Ad, connectionDragThreshold: ml, viewport: gl, onViewportChange: is, width: Br, height: zr, colorMode: co = "light", debug: Td, onScroll: fo, ariaLabelConfig: Od, zIndexMode: yl = "basic", ...vl }, bl) {
31991
31994
  const Di = pl || "1", ta = nae(co), En = X((uo) => {
31992
31995
  uo.currentTarget.scrollTo({ top: 0, left: 0, behavior: "instant" }), fo?.(uo);
31993
31996
  }, [fo]);
31994
- return m("div", { "data-testid": "rf__wrapper", ...vl, onScroll: En, style: { ...lo, ..._le }, ref: bl, className: bn(["react-flow", r, ta]), id: pl, role: "application", children: R(kle, { nodes: e, edges: t, width: Br, height: zr, fitView: ge, fitViewOptions: Le, minZoom: Se, maxZoom: Me, nodeOrigin: ce, nodeExtent: We, zIndexMode: yl, children: [m(tae, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: y, onClickConnectEnd: v, nodesDraggable: ye, autoPanOnNodeFocus: U, nodesConnectable: te, nodesFocusable: ae, edgesFocusable: oe, edgesReconnectable: le, elementsSelectable: ue, elevateNodesOnSelect: ii, elevateEdgesOnSelect: Cd, minZoom: Se, maxZoom: Me, nodeExtent: We, onNodesChange: zn, onEdgesChange: _n, snapToGrid: fe, snapGrid: me, connectionMode: L, translateExtent: Ue, connectOnClick: Ct, defaultEdgeOptions: jn, fitView: ge, fitViewOptions: Le, onNodesDelete: N, onEdgesDelete: T, onDelete: D, onNodeDragStart: S, onNodeDrag: E, onNodeDragStop: C, onSelectionDrag: M, onSelectionDragStart: A, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: it, nodeOrigin: ce, rfId: Di, autoPanOnConnect: Ed, autoPanOnNodeDrag: ea, autoPanSpeed: $r, onError: Nd, connectionRadius: ur, isValidConnection: ao, selectNodesOnDrag: Ee, nodeDragThreshold: Ad, connectionDragThreshold: ml, onBeforeDelete: B, debug: Td, ariaLabelConfig: Od, zIndexMode: yl }), m(wle, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: w, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: k, nodeTypes: o, edgeTypes: s, connectionLineType: q, connectionLineStyle: W, connectionLineComponent: ee, connectionLineContainerStyle: j, selectionKeyCode: V, selectionOnDrag: H, selectionMode: ne, deleteKeyCode: Z, multiSelectionKeyCode: G, panActivationKeyCode: re, zoomActivationKeyCode: Q, onlyRenderVisibleElements: be, defaultViewport: ve, translateExtent: Ue, minZoom: Se, maxZoom: Me, preventScrolling: ct, zoomOnScroll: ke, zoomOnPinch: rt, zoomOnDoubleClick: Ne, panOnScroll: pe, panOnScrollSpeed: de, panOnScrollMode: he, panOnDrag: _e, onPaneClick: Ae, onPaneMouseEnter: Xe, onPaneMouseMove: mt, onPaneMouseLeave: qe, onPaneScroll: st, onPaneContextMenu: gt, paneClickDistance: zt, nodeClickDistance: vt, onSelectionContextMenu: P, onSelectionStart: $, onSelectionEnd: F, onReconnect: $t, onReconnectStart: Kt, onReconnectEnd: bt, onEdgeContextMenu: on, onEdgeDoubleClick: Yt, onEdgeMouseEnter: Vt, onEdgeMouseMove: ni, onEdgeMouseLeave: wn, reconnectRadius: ln, defaultMarkerColor: tt, noDragClassName: Ge, noWheelClassName: je, noPanClassName: it, rfId: Di, disableKeyboardA11y: ns, nodeExtent: We, viewport: gl, onViewportChange: is }), m(Jse, { onSelectionChange: I }), ut, m(qse, { proOptions: Xt, position: wt }), m(Use, { rfId: Di, disableKeyboardA11y: ns })] }) });
31997
+ return m("div", { "data-testid": "rf__wrapper", ...vl, onScroll: En, style: { ...lo, ..._le }, ref: bl, className: bn(["react-flow", r, ta]), id: pl, role: "application", children: R(kle, { nodes: e, edges: t, width: Br, height: zr, fitView: ge, fitViewOptions: Le, minZoom: Se, maxZoom: Me, nodeOrigin: ce, nodeExtent: We, zIndexMode: yl, children: [m(tae, { nodes: e, edges: t, defaultNodes: n, defaultEdges: i, onConnect: h, onConnectStart: p, onConnectEnd: g, onClickConnectStart: y, onClickConnectEnd: v, nodesDraggable: ye, autoPanOnNodeFocus: U, nodesConnectable: te, nodesFocusable: ae, edgesFocusable: oe, edgesReconnectable: le, elementsSelectable: ue, elevateNodesOnSelect: ii, elevateEdgesOnSelect: Cd, minZoom: Se, maxZoom: Me, nodeExtent: We, onNodesChange: zn, onEdgesChange: _n, snapToGrid: fe, snapGrid: me, connectionMode: L, translateExtent: Ue, connectOnClick: Ct, defaultEdgeOptions: jn, fitView: ge, fitViewOptions: Le, onNodesDelete: N, onEdgesDelete: T, onDelete: D, onNodeDragStart: S, onNodeDrag: E, onNodeDragStop: C, onSelectionDrag: M, onSelectionDragStart: A, onSelectionDragStop: O, onMove: d, onMoveStart: f, onMoveEnd: u, noPanClassName: it, nodeOrigin: ce, rfId: Di, autoPanOnConnect: Ed, autoPanOnNodeDrag: ea, autoPanSpeed: $r, onError: Nd, connectionRadius: ur, isValidConnection: ao, selectNodesOnDrag: Ee, nodeDragThreshold: Ad, connectionDragThreshold: ml, onBeforeDelete: B, debug: Td, ariaLabelConfig: Od, zIndexMode: yl }), m(wle, { onInit: c, onNodeClick: a, onEdgeClick: l, onNodeMouseEnter: w, onNodeMouseMove: x, onNodeMouseLeave: b, onNodeContextMenu: _, onNodeDoubleClick: k, nodeTypes: o, edgeTypes: s, connectionLineType: q, connectionLineStyle: W, connectionLineComponent: ee, connectionLineContainerStyle: j, selectionKeyCode: V, selectionOnDrag: H, selectionMode: ne, deleteKeyCode: Z, multiSelectionKeyCode: G, panActivationKeyCode: re, zoomActivationKeyCode: Q, onlyRenderVisibleElements: be, defaultViewport: ve, translateExtent: Ue, minZoom: Se, maxZoom: Me, preventScrolling: ct, zoomOnScroll: ke, zoomOnPinch: rt, zoomOnDoubleClick: Ne, panOnScroll: pe, panOnScrollSpeed: de, panOnScrollMode: he, panOnDrag: _e, onPaneClick: Ae, onPaneMouseEnter: Xe, onPaneMouseMove: mt, onPaneMouseLeave: qe, onPaneScroll: st, onPaneContextMenu: gt, paneClickDistance: zt, nodeClickDistance: vt, onSelectionContextMenu: P, onSelectionStart: $, onSelectionEnd: F, onReconnect: $t, onReconnectStart: Kt, onReconnectEnd: bt, onEdgeContextMenu: on, onEdgeDoubleClick: Yt, onEdgeMouseEnter: Vt, onEdgeMouseMove: ni, onEdgeMouseLeave: wn, reconnectRadius: sn, defaultMarkerColor: tt, noDragClassName: Ge, noWheelClassName: je, noPanClassName: it, rfId: Di, disableKeyboardA11y: ns, nodeExtent: We, viewport: gl, onViewportChange: is }), m(Jse, { onSelectionChange: I }), ut, m(qse, { proOptions: Xt, position: wt }), m(Use, { rfId: Di, disableKeyboardA11y: ns })] }) });
31995
31998
  }
31996
31999
  var Cle = pP(Sle);
31997
32000
  function Ele({ dimensions: e, lineWidth: t, variant: n, className: i }) {
@@ -33428,7 +33431,7 @@ function rde({
33428
33431
  const oe = W.nodes.find((ue) => ue.id === ce), le = fe.current.get(ce);
33429
33432
  return le && oe ? { dx: le.x - oe.x, dy: le.y - oe.y } : { dx: 0, dy: 0 };
33430
33433
  }, [W.nodes, i]);
33431
- an(() => {
33434
+ ln(() => {
33432
33435
  const { dx: ce, dy: oe } = me;
33433
33436
  fe.current = new Map(
33434
33437
  W.nodes.map((ue) => [ue.id, { x: ue.x, y: ue.y }])
@@ -34409,7 +34412,7 @@ function _de(e) {
34409
34412
  []
34410
34413
  ), {
34411
34414
  zoomLevel: wn,
34412
- viewportReady: ln,
34415
+ viewportReady: sn,
34413
34416
  handleViewportChange: zn,
34414
34417
  handleZoomIn: _n,
34415
34418
  handleZoomOut: Ge,
@@ -34429,7 +34432,7 @@ function _de(e) {
34429
34432
  getContentBounds: Vt,
34430
34433
  getNodePosition: ni,
34431
34434
  viewportInset: I
34432
- }), wt = (G ?? !1) && ln, {
34435
+ }), wt = (G ?? !1) && sn, {
34433
34436
  selectedNodes: Xt,
34434
34437
  focusedNodeId: jn,
34435
34438
  setFocusedNodeId: ii,
@@ -34547,7 +34550,7 @@ function _de(e) {
34547
34550
  nodeIds: is,
34548
34551
  loadVisibleNodeData: fe,
34549
34552
  debounceMs: me,
34550
- enabled: !G || ln
34553
+ enabled: !G || sn
34551
34554
  });
34552
34555
  const En = z(() => {
34553
34556
  });
@@ -36912,7 +36915,7 @@ function Cfe({
36912
36915
  });
36913
36916
  };
36914
36917
  return window.addEventListener("kanban-test-move", D), () => window.removeEventListener("kanban-test-move", D);
36915
- }, [e, n]), an(() => {
36918
+ }, [e, n]), ln(() => {
36916
36919
  if (i === "content") {
36917
36920
  f(null);
36918
36921
  return;
@@ -38066,7 +38069,7 @@ const p0 = ({
38066
38069
  }
38067
38070
  );
38068
38071
  }, Bfe = eB(
38069
- () => import("./index-dy3bOSuJ.js").then((e) => ({ default: e.MapCollection }))
38072
+ () => import("./index-YMTefoxC.js").then((e) => ({ default: e.MapCollection }))
38070
38073
  ), zs = {
38071
38074
  table: {
38072
38075
  name: "Table",
@@ -38247,7 +38250,7 @@ function Kfe(e, t, {
38247
38250
  measureKey: r
38248
38251
  } = {}) {
38249
38252
  const [o, s] = J(void 0), a = z(void 0), l = z(!1);
38250
- return an(() => {
38253
+ return ln(() => {
38251
38254
  if (!t) {
38252
38255
  s(void 0), a.current = void 0, l.current = !1;
38253
38256
  return;
@@ -39024,7 +39027,7 @@ const Tw = (e) => typeof e == "object" && e !== null && !Array.isArray(e), ps =
39024
39027
  ), [c, d] = J({}), f = z(o), u = z(!1), h = z(!1), p = z(null), g = z(n), y = z(r);
39025
39028
  y.current = r;
39026
39029
  const v = z(e);
39027
- if (v.current = e, an(() => {
39030
+ if (v.current = e, ln(() => {
39028
39031
  u.current = !1, h.current = !1, p.current = null, f.current = o, g.current = n, d(
39029
39032
  (C) => Object.keys(C).length > 0 ? {} : C
39030
39033
  );
@@ -39036,14 +39039,14 @@ const Tw = (e) => typeof e == "object" && e !== null && !Array.isArray(e), ps =
39036
39039
  } else n !== g.current && (p.current = null);
39037
39040
  } else
39038
39041
  p.current = null;
39039
- g.current = n, an(() => {
39042
+ g.current = n, ln(() => {
39040
39043
  if (!a || !u.current || h.current)
39041
39044
  return;
39042
39045
  const C = ps(o), N = c[C];
39043
39046
  i(
39044
39047
  N ?? g0(o, r)
39045
39048
  ), h.current = !0;
39046
- }, [a, o, c]), an(() => {
39049
+ }, [a, o, c]), ln(() => {
39047
39050
  if (!a)
39048
39051
  return;
39049
39052
  if (u.current && !h.current) {
@@ -39104,7 +39107,7 @@ const Tw = (e) => typeof e == "object" && e !== null && !Array.isArray(e), ps =
39104
39107
  viz: o,
39105
39108
  json: JSON.stringify(n)
39106
39109
  });
39107
- an(() => {
39110
+ ln(() => {
39108
39111
  if (!a || !h.current)
39109
39112
  return;
39110
39113
  const C = _.current;
@@ -39607,7 +39610,7 @@ const Ow = "dc_shared_view", Mue = (e) => {
39607
39610
  (we) => !("type" in we && we.type === "separator")
39608
39611
  )
39609
39612
  };
39610
- }, [ut, Kt]), [on, Yt] = J(!1), [Vt, ni] = J(0), [wn, ln] = J(!1), [zn, _n] = J("idle"), [Ge, je] = J(!1), it = z(null), ge = z(null), Le = z(null), Ct = z(null), wt = z(null), Xt = Ate(
39613
+ }, [ut, Kt]), [on, Yt] = J(!1), [Vt, ni] = J(0), [wn, sn] = J(!1), [zn, _n] = J("idle"), [Ge, je] = J(!1), it = z(null), ge = z(null), Le = z(null), Ct = z(null), wt = z(null), Xt = Ate(
39611
39614
  Le,
39612
39615
  Ct,
39613
39616
  wt
@@ -39640,7 +39643,7 @@ const Ow = "dc_shared_view", Mue = (e) => {
39640
39643
  const ur = $e(), ao = Y(() => $ === !0 ? (we) => we !== void 0 ? `${we} ${ur.collections.itemsCount}` : null : $ || void 0, [$, ur]), Nd = (we, ze, Et) => {
39641
39644
  i?.(we, ze, Et), Yt(
39642
39645
  !!we.allSelected || we.itemsStatus.some((hr) => hr.checked)
39643
- ), _n((hr) => hr === "error" ? "idle" : hr), ni(we.selectedCount), zt(() => ze), ln(we.allSelected === !0);
39646
+ ), _n((hr) => hr === "error" ? "idle" : hr), ni(we.selectedCount), zt(() => ze), sn(we.allSelected === !0);
39644
39647
  const Dt = e.bulkActions ? e.bulkActions(we) : void 0, mi = (hr, as) => {
39645
39648
  _n("loading"), as.then(
39646
39649
  () => {
@@ -39788,7 +39791,7 @@ const Ow = "dc_shared_view", Mue = (e) => {
39788
39791
  na
39789
39792
  ]
39790
39793
  );
39791
- an(() => {
39794
+ ln(() => {
39792
39795
  const we = Cl.current;
39793
39796
  we && we.visualization === j && (Cl.current = null, U(we.filters));
39794
39797
  }, [j, U]);
@@ -59579,7 +59582,7 @@ function ywe() {
59579
59582
  }
59580
59583
  process.env.NODE_ENV === "production" ? mx.exports = gwe() : mx.exports = ywe();
59581
59584
  var vwe = mx.exports;
59582
- const bwe = typeof window < "u" ? an : se;
59585
+ const bwe = typeof window < "u" ? ln : se;
59583
59586
  class wwe {
59584
59587
  constructor(t) {
59585
59588
  this.transactionNumber = 0, this.lastTransactionNumber = 0, this.subscribers = /* @__PURE__ */ new Set(), this.editor = t, this.lastSnapshot = { editor: t, transactionNumber: 0 }, this.getSnapshot = this.getSnapshot.bind(this), this.getServerSnapshot = this.getServerSnapshot.bind(this), this.watch = this.watch.bind(this), this.subscribe = this.subscribe.bind(this);
@@ -60281,7 +60284,7 @@ const Pg = ({
60281
60284
  } = t, w = $e(), x = z(null), b = z(!1), _ = z(!1), [k, S] = J(!1), [E, C] = J(0), [N, T] = J(-5), [D, I] = J(-E), [A, M] = J(o), [O, P] = J(
60282
60285
  null
60283
60286
  ), [$, F] = J(null), B = u || h, L = 0;
60284
- an(() => {
60287
+ ln(() => {
60285
60288
  if (!k || B && b.current)
60286
60289
  return;
60287
60290
  const re = () => {
@@ -60314,9 +60317,9 @@ const Pg = ({
60314
60317
  return b.current = Q, Q;
60315
60318
  });
60316
60319
  };
60317
- an(() => {
60320
+ ln(() => {
60318
60321
  B && b.current && S(!0);
60319
- }, [B]), an(() => {
60322
+ }, [B]), ln(() => {
60320
60323
  const re = B && b.current, G = _.current;
60321
60324
  if (re && !G) {
60322
60325
  const Q = x.current?.getBoundingClientRect();
@@ -75504,13 +75507,13 @@ function IF(e) {
75504
75507
  le,
75505
75508
  l
75506
75509
  ]
75507
- ), ln = G.handleSubmit(qe), _n = /* @__PURE__ */ R(
75510
+ ), sn = G.handleSubmit(qe), _n = /* @__PURE__ */ R(
75508
75511
  "form",
75509
75512
  {
75510
75513
  ref: de,
75511
75514
  onSubmit: (Ge) => {
75512
75515
  const je = document.activeElement;
75513
- (!(je instanceof HTMLElement && (je.tagName === "BUTTON" || je.tagName === "INPUT" && je.type === "submit")) || N) && gt(), ln(Ge);
75516
+ (!(je instanceof HTMLElement && (je.tagName === "BUTTON" || je.tagName === "INPUT" && je.type === "submit")) || N) && gt(), sn(Ge);
75514
75517
  },
75515
75518
  className: K(
75516
75519
  "flex flex-col w-full mx-auto max-w-content",
@@ -75609,7 +75612,7 @@ function IF(e) {
75609
75612
  discardIcon: M,
75610
75613
  issuesOneLabel: n.actionBar.issues.one,
75611
75614
  issuesOtherLabel: n.actionBar.issues.other,
75612
- onSubmit: () => ln(),
75615
+ onSubmit: () => sn(),
75613
75616
  onDiscard: ut,
75614
75617
  goToPreviousError: _e,
75615
75618
  goToNextError: Ae
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r, Fragment as N } from "react/jsx-runtime";
2
2
  import { useState as i, useEffect as k } from "react";
3
3
  import { u as v, T as S, h as V, S as R } from "./F0CanvasPanel-CMwh5HFX.js";
4
4
  import { f as z, c as E } from "./sheetPreview-Djc-YyVs.js";
5
- import { u as _, D as j } from "./DocumentToolbar-C7zG7ZUu.js";
5
+ import { u as _, D as j } from "./DocumentToolbar-Bf5SCuTi.js";
6
6
  const g = 1e3, F = 100, G = ({
7
7
  url: n,
8
8
  filename: y,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as b, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as _, useEffect as h } from "react";
3
3
  import { u as x, S as p, p as w } from "./F0CanvasPanel-CMwh5HFX.js";
4
- import { u as y, D as g } from "./DocumentToolbar-C7zG7ZUu.js";
4
+ import { u as y, D as g } from "./DocumentToolbar-Bf5SCuTi.js";
5
5
  const k = 2 * 1024 * 1024, v = [
6
6
  "[&_h1]:mb-3 [&_h1]:mt-6 [&_h1]:text-2xl [&_h1]:font-semibold",
7
7
  "[&_h2]:mb-2 [&_h2]:mt-5 [&_h2]:text-xl [&_h2]:font-semibold",
package/dist/ai.d.ts CHANGED
@@ -6167,11 +6167,9 @@ declare module "@tiptap/core" {
6167
6167
 
6168
6168
  declare module "@tiptap/core" {
6169
6169
  interface Commands<ReturnType> {
6170
- enhanceHighlight: {
6171
- setEnhanceHighlight: (from: number, to: number, options?: {
6172
- placeholder?: string;
6173
- }) => ReturnType;
6174
- clearEnhanceHighlight: () => ReturnType;
6170
+ fontSize: {
6171
+ setFontSize: (fontSize: string) => ReturnType;
6172
+ unsetFontSize: () => ReturnType;
6175
6173
  };
6176
6174
  }
6177
6175
  }
@@ -6179,9 +6177,11 @@ declare module "@tiptap/core" {
6179
6177
 
6180
6178
  declare module "@tiptap/core" {
6181
6179
  interface Commands<ReturnType> {
6182
- fontSize: {
6183
- setFontSize: (fontSize: string) => ReturnType;
6184
- unsetFontSize: () => ReturnType;
6180
+ enhanceHighlight: {
6181
+ setEnhanceHighlight: (from: number, to: number, options?: {
6182
+ placeholder?: string;
6183
+ }) => ReturnType;
6184
+ clearEnhanceHighlight: () => ReturnType;
6185
6185
  };
6186
6186
  }
6187
6187
  }