@factorialco/f0-react 4.56.5 → 4.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { v as Sl, B as kl, x as Tl, y as Rl, z as Vo, A as Tn, E as ln, G as El, H as ue, J as zt, u as pe, R as Ll, K as zl, L as so, M as Hn, N as mn, O as Ve, Q as Al, U as Fl, V as ve, W as Pl, X as Ml, Y as Ie, Z as ea, _ as Ol, $ as Dl, m as Me, a0 as er, S as ie, a1 as Vt, a2 as Bl, a3 as _l, a4 as Hl, a5 as $l, a6 as Wl, a7 as ct, a8 as ta, a9 as na, aa as At, ab as $n, ac as jl, e as ra, ad as Wt, ae as oa, af as tr, w as tt, r as We, ag as Wn, ah as ia, ai as Vl, aj as aa, ak as Ue, s as Qe, al as Ul, am as Gl, an as Kl, ao as ql, ap as Yl, aq as Et, ar as nr, as as Xl, at as Ql, au as Jl, av as Zl, aw as rr, ax as sa, j as la, ay as ec, az as tc, k as jn, aA as nc, aB as ca, aC as rc, aD as oc, aE as ic, aF as ac, aG as sc, aH as da, aI as ua, aJ as fa, aK as Br, aL as ha, aM as _r, aN as ma, aO as lc, aP as cc, aQ as dc, aR as pa, aS as uc, aT as nt, aU as Zt, aV as Hr, aW as ga, aX as fc, aY as or, aZ as hc, a_ as mc, a$ as pc, b0 as Jt, b1 as gc, b2 as bc, b3 as dn, b4 as Uo, b5 as $r, b6 as vc, b7 as xc, b as ba, b8 as yc, a as wc, b9 as ir, ba as Nc, g as Cc, F as Ic, bb as Sc, bc as va, bd as kc, o as lo, be as Tc, bf as co, bg as en, bh as Rc, bi as Ec, bj as Lc, bk as zc, bl as xa, bm as Ac, bn as Fc, bo as Pc, bp as Wr, bq as Mc, br as Oc, bs as Dc, bt as uo, bu as Bc, bv as _c, bw as Hc, bx as $c, by as Wc, bz as jc, bA as Vc, bB as ya, bC as wa, bD as Na, bE as Uc, bF as Gc, bG as Kc, bH as qc, bI as Yc, bJ as Ca, bK as Xc, bL as Qc, bM as Ia, bN as fo, bO as Jc, bP as Zc, bQ as ed, n as td, bR as nd, bS as Sa, bT as rd, bU as od, bV as ka, bW as Ta, bX as Ra, l as Vn, bY as id, bZ as Go, b_ as Ea, b$ as ad, c0 as sd, c1 as ld, c2 as jr, c3 as Vr, c4 as cd, c5 as dd, c6 as ud, c7 as fd, c8 as hd, c9 as md, ca as pd, cb as St, cc as ho, cd as mo, ce as po, cf as La, cg as go, ch as za, ci as Aa, cj as gd, ck as bd, cl as vd, cm as xd, cn as yd, co as wd, cp as Nd, cq as Ko, cr as Cd, cs as Id, ct as qo, cu as Sd, cv as kd, cw as Td, cx as Rd, cy as Fa, cz as Ed, cA as Ld } from "./F0CanvasPanel-CNdEi4a2.js";
2
- import { cK as k0, cJ as T0, cW as R0, cG as E0, cH as L0, cB as z0, cC as A0, cC as F0, cD as P0, cZ as M0, cI as O0, cS as D0, cT as B0, cX as _0, cE as H0, cM as $0, cL as W0, T as j0, h as V0, cU as U0, c_ as G0, cV as K0, cY as q0, cR as Y0, cO as X0, cQ as Q0, cN as J0, cF as Z0, cP as ex } from "./F0CanvasPanel-CNdEi4a2.js";
1
+ import { v as Sl, B as kl, x as Tl, y as Rl, z as Vo, A as Tn, E as ln, G as El, H as ue, J as zt, u as pe, R as Ll, K as zl, L as so, M as Hn, N as mn, O as Ve, Q as Al, U as Fl, V as ve, W as Pl, X as Ml, Y as Ie, Z as ea, _ as Ol, $ as Dl, m as Me, a0 as er, S as ie, a1 as Vt, a2 as Bl, a3 as _l, a4 as Hl, a5 as $l, a6 as Wl, a7 as ct, a8 as ta, a9 as na, aa as At, ab as $n, ac as jl, e as ra, ad as Wt, ae as oa, af as tr, w as tt, r as We, ag as Wn, ah as ia, ai as Vl, aj as aa, ak as Ue, s as Qe, al as Ul, am as Gl, an as Kl, ao as ql, ap as Yl, aq as Et, ar as nr, as as Xl, at as Ql, au as Jl, av as Zl, aw as rr, ax as sa, j as la, ay as ec, az as tc, k as jn, aA as nc, aB as ca, aC as rc, aD as oc, aE as ic, aF as ac, aG as sc, aH as da, aI as ua, aJ as fa, aK as Br, aL as ha, aM as _r, aN as ma, aO as lc, aP as cc, aQ as dc, aR as pa, aS as uc, aT as nt, aU as Zt, aV as Hr, aW as ga, aX as fc, aY as or, aZ as hc, a_ as mc, a$ as pc, b0 as Jt, b1 as gc, b2 as bc, b3 as dn, b4 as Uo, b5 as $r, b6 as vc, b7 as xc, b as ba, b8 as yc, a as wc, b9 as ir, ba as Nc, g as Cc, F as Ic, bb as Sc, bc as va, bd as kc, o as lo, be as Tc, bf as co, bg as en, bh as Rc, bi as Ec, bj as Lc, bk as zc, bl as xa, bm as Ac, bn as Fc, bo as Pc, bp as Wr, bq as Mc, br as Oc, bs as Dc, bt as uo, bu as Bc, bv as _c, bw as Hc, bx as $c, by as Wc, bz as jc, bA as Vc, bB as ya, bC as wa, bD as Na, bE as Uc, bF as Gc, bG as Kc, bH as qc, bI as Yc, bJ as Ca, bK as Xc, bL as Qc, bM as Ia, bN as fo, bO as Jc, bP as Zc, bQ as ed, n as td, bR as nd, bS as Sa, bT as rd, bU as od, bV as ka, bW as Ta, bX as Ra, l as Vn, bY as id, bZ as Go, b_ as Ea, b$ as ad, c0 as sd, c1 as ld, c2 as jr, c3 as Vr, c4 as cd, c5 as dd, c6 as ud, c7 as fd, c8 as hd, c9 as md, ca as pd, cb as St, cc as ho, cd as mo, ce as po, cf as La, cg as go, ch as za, ci as Aa, cj as gd, ck as bd, cl as vd, cm as xd, cn as yd, co as wd, cp as Nd, cq as Ko, cr as Cd, cs as Id, ct as qo, cu as Sd, cv as kd, cw as Td, cx as Rd, cy as Fa, cz as Ed, cA as Ld } from "./F0CanvasPanel-B7F3sn6X.js";
2
+ import { cK as k0, cJ as T0, cW as R0, cG as E0, cH as L0, cB as z0, cC as A0, cC as F0, cD as P0, cZ as M0, cI as O0, cS as D0, cT as B0, cX as _0, cE as H0, cM as $0, cL as W0, T as j0, h as V0, cU as U0, c_ as G0, cV as K0, cY as q0, cR as Y0, cO as X0, cQ as Q0, cN as J0, cF as Z0, cP as ex } from "./F0CanvasPanel-B7F3sn6X.js";
3
3
  import { jsx as n, jsxs as m, Fragment as De } from "react/jsx-runtime";
4
4
  import Q, { forwardRef as Ae, useRef as _, useTransition as zd, useState as $, useLayoutEffect as ar, useId as Ur, useContext as Nt, createContext as st, useEffect as te, useCallback as K, useMemo as he, Fragment as Rt, isValidElement as Ad, cloneElement as Pa, Suspense as bo, lazy as tn, createElement as Mn, memo as Ma, Children as Oa } from "react";
5
5
  import { d as S, T as Fd, a as Pd, b as Md, f as Je, c as Od } from "./tooltip-BH6Se8A4.js";
6
- import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-UWbV56F1.js";
7
- import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-UWbV56F1.js";
6
+ import { C as Dd, P as Bd, a as Nn, M as _d, p as Hd, b as $d, R as Yo, c as Da, u as Wd, e as jd, f as Vd, g as Ud, h as Gd, i as Kd, O as Ba, j as _a, S as qd, A as Yd, B as Xd, L as Qd, k as Jd, V as Zd, l as eu, m as tu, n as nu } from "./index-DaAesvIC.js";
7
+ import { a3 as nx, a4 as rx, t as ox, v as ix, r as ax, J as sx, w as lx, E as cx, ae as dx, I as ux, s as fx, a1 as hx, ag as mx, af as px, U as gx, aj as bx, F as vx, _ as xx, X as yx, N as wx, al as Nx, Q as Cx, $ as Ix, a0 as Sx, x as kx, ah as Tx, ai as Rx, T as Ex, a2 as Lx, ab as zx, ad as Ax, y as Fx, D as Px, G as Mx, Y as Ox, ak as Dx, Z as Bx, W as _x, am as Hx, z as $x, H as Wx, o as jx, q as Vx, a7 as Ux, a8 as Gx, a5 as Kx, ac as qx, K as Yx, a9 as Xx, a6 as Qx, aa as Jx } from "./index-DaAesvIC.js";
8
8
  import ru from "react-dom";
9
9
  const ou = Sl("Search", [
10
10
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
@@ -8413,7 +8413,7 @@ const $h = {
8413
8413
  ] })
8414
8414
  ] }) });
8415
8415
  }, Jh = tn(
8416
- () => import("./index-CQsKy7ci.js").then((e) => e.i).then((e) => ({
8416
+ () => import("./index-Db0lCoib.js").then((e) => e.i).then((e) => ({
8417
8417
  default: e.F0PdfViewer
8418
8418
  }))
8419
8419
  ), Zh = () => {
@@ -12629,7 +12629,7 @@ const Wp = (e) => {
12629
12629
  }
12630
12630
  )
12631
12631
  ] });
12632
- }, Jp = tn(() => import("./ChatPdfThumbnail-YVDknsQj.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12632
+ }, Jp = tn(() => import("./ChatPdfThumbnail-BVazHdz6.js")), Zp = tn(() => import("./ChatSheetThumbnail-BvnxT-4A.js")), eg = tn(() => import("./ChatDocxThumbnail-DzNPNFya.js")), tg = tn(() => import("./ChatTextThumbnail-yVt_iYi7.js")), Fr = 288, ng = 160, rg = (e) => {
12633
12633
  const [t, r] = $(!1);
12634
12634
  return te(() => {
12635
12635
  const o = e.current;
package/dist/f0.d.ts CHANGED
@@ -690,6 +690,13 @@ export declare type AiChatProviderProps = {
690
690
  chatHeader?: React.ReactNode;
691
691
  chatMessages?: React.ReactNode;
692
692
  chatInput?: React.ReactNode;
693
+ /**
694
+ * Optional host-provided content rendered above the complete chat surface.
695
+ * The chat owns the scoped backdrop and disables its header, messages, and
696
+ * input while this content is mounted; the host owns the overlay content and
697
+ * its dismissal behavior.
698
+ */
699
+ chatOverlay?: React.ReactNode;
693
700
  /** Children rendered inside the provider. */
694
701
  children?: React.ReactNode;
695
702
  };
@@ -843,7 +850,7 @@ declare type AiChatProviderReturnValue = {
843
850
  panelContentSide: "left" | "right";
844
851
  /** Set which edge hosted panel content docks to. */
845
852
  setPanelContentSide: React.Dispatch<React.SetStateAction<"left" | "right">>;
846
- } & Pick<AiChatState, "agent" | "chatHeader" | "chatMessages" | "chatInput" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "credits" | "employeeCredits" | "creditWarning" | "fileAttachments" | "onTranscribe"> & {
853
+ } & Pick<AiChatState, "agent" | "chatHeader" | "chatMessages" | "chatInput" | "chatOverlay" | "disclaimer" | "resizable" | "entityRefs" | "canvasActions" | "canvasEntities" | "credits" | "employeeCredits" | "creditWarning" | "fileAttachments" | "onTranscribe"> & {
847
854
  /** The current canvas content, or null when canvas is closed */
848
855
  canvasContent: CanvasContent | null;
849
856
  /** Open the canvas panel with the given content */
@@ -874,6 +881,7 @@ declare interface AiChatState {
874
881
  chatHeader?: React.ReactNode;
875
882
  chatMessages?: React.ReactNode;
876
883
  chatInput?: React.ReactNode;
884
+ chatOverlay?: React.ReactNode;
877
885
  welcomeScreenSuggestions?: WelcomeScreenSuggestion[];
878
886
  welcomeScreenCards?: F0AiChatWelcomeCard[];
879
887
  disclaimer?: AiChatDisclaimer;
@@ -6259,7 +6267,7 @@ export declare interface F0AiAvailableFormDefinition<TParams extends Record<stri
6259
6267
  /**
6260
6268
  * @experimental This is an experimental component use it at your own risk
6261
6269
  */
6262
- export declare const F0AiChat: ({ header: headerProp, messages: messagesProp, input: inputProp, }: F0AiChatProps) => JSX_2.Element | null;
6270
+ export declare const F0AiChat: ({ header: headerProp, messages: messagesProp, input: inputProp, overlay: overlayProp, }: F0AiChatProps) => JSX_2.Element | null;
6263
6271
 
6264
6272
  /**
6265
6273
  * The AI chat credits / settings popover button, on its own. Use it to surface
@@ -6392,12 +6400,17 @@ export declare interface F0AiChatProps {
6392
6400
  messages?: ReactNode;
6393
6401
  /** Input slot rendered at the bottom (textarea + suggestions + disclaimer). */
6394
6402
  input?: ReactNode;
6403
+ /**
6404
+ * Host-provided content rendered above the complete chat surface. F0
6405
+ * supplies the scoped backdrop and makes the chat beneath it inert.
6406
+ */
6407
+ overlay?: ReactNode;
6395
6408
  }
6396
6409
 
6397
6410
  /**
6398
6411
  * @experimental This is an experimental component use it at your own risk
6399
6412
  */
6400
- export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initialMessage, chatHeader, chatMessages, chatInput, welcomeScreenSuggestions, welcomeScreenCards, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, credits, employeeCredits, creditWarning, fileAttachments, onTranscribe, onThumbsUp, onThumbsDown, children, agent, tracking, }: AiChatProviderProps) => JSX_2.Element;
6413
+ export declare const F0AiChatProvider: ({ enabled, side, panelContentSide, initialMessage, chatHeader, chatMessages, chatInput, chatOverlay, welcomeScreenSuggestions, welcomeScreenCards, disclaimer, resizable, defaultVisualizationMode, lockVisualizationMode, historyEnabled, footer, VoiceMode, entityRefs, canvasActions, canvasEntities, credits, employeeCredits, creditWarning, fileAttachments, onTranscribe, onThumbsUp, onThumbsDown, children, agent, tracking, }: AiChatProviderProps) => JSX_2.Element;
6401
6414
 
6402
6415
  /**
6403
6416
  * Headless chat composer.
package/dist/f0.js CHANGED
@@ -1,16 +1,16 @@
1
- import { gP as uN, w as rt, cb as T_, J as vn, gx as cN, H as fn, eV as WV, gQ as fN, s as qv, S as Q, u as Re, V as tt, dv as Rl, O as pl, y as UV, Y as _d, bS as Ma, r as Bt, ad as Jc, gR as $V, ak as il, gu as qy, gS as YV, gT as XV, gU as Dw, e5 as qV, gV as ZV, gW as hN, gX as jV, gY as KV, gZ as dN, g_ as QV, c2 as vN, c3 as pN, W as ef, X as tf, m as Je, $ as rf, fY as gN, a4 as $t, aj as nf, a6 as Wo, aT as D_, ar as A_, g$ as JV, bd as eF, e0 as Aw, n as mN, o as gl, be as tF, aH as Zv, aI as jv, aJ as Kv, cW as xd, c9 as yN, h0 as rF, gw as Mw, fy as nF, h1 as Ew, fs as iF, h2 as aF, bM as bN, bX as _N, fH as Zy, ag as Fr, aw as oF, d5 as jy, bY as xN, g3 as Ol, g4 as af, g6 as wN, gD as sF, fW as SN, fV as lF, bT as M_, bU as E_, h3 as Qv, dE as L_, gk as uF, ab as CN, fr as cF, cu as fF, gM as N_, bA as TN, bF as hF, bG as dF, bH as vF, d as pF, U as DN, db as es, dQ as AN, dD as MN, cx as I_, bP as EN, c$ as P_, f_ as al, f$ as ol, _ as sl, g0 as ll, fZ as ha, bZ as LN, j as gF, dB as wd, bp as ml, bh as Er, cE as mF, aa as NN, dF as Ky, e1 as _c, cD as yF, a7 as Bl, b0 as IN, aG as bF, gd as Rr, h4 as _F, h5 as xF, h6 as PN, h7 as Jv, h8 as wF, h9 as SF, d_ as CF, ha as TF, aW as kN, bV as DF, bW as AF, cc as zl, cg as Vl, cn as of, dS as MF, cd as EF, bc as LF, a0 as RN, bg as NF, a9 as IF, by as Lw, dP as xc, fu as PF, fv as kF, hb as RF, a$ as OF, ch as BF, l as ON, ae as zF, c6 as VF, gA as FF, b3 as GF, M as BN, hc as zN, hd as HF, he as WF, I as UF, hf as $F, hg as YF, hh as XF, hi as qF } from "./F0CanvasPanel-CNdEi4a2.js";
2
- import { hy as phe, C as ghe, D as mhe, aU as yhe, c as bhe, F as _he, a as xhe, hr as whe, f as She, bk as Che, aV as The, cp as Dhe, c1 as Ahe, aM as Mhe, bt as Ehe, aq as Lhe, e4 as Nhe, ay as Ihe, cB as Phe, g as khe, bI as Rhe, cC as Ohe, hm as Bhe, hD as zhe, bN as Vhe, e as Fhe, bQ as Ghe, k as Hhe, ci as Whe, ht as Uhe, b7 as $he, hu as Yhe, hw as Xhe, hx as qhe, cZ as Zhe, hA as jhe, cS as Khe, cT as Qhe, P as Jhe, cX as ede, hv as tde, cU as rde, hz as nde, hE as ide, hj as ade, hk as ode, hl as sde, cV as lde, hC as ude, hs as cde, hp as fde, ho as hde, cY as dde, fT as vde, gl as pde, hB as gde, aZ as mde, cR as yde, cO as bde, cQ as _de, cN as xde, hq as wde, gn as Sde, gh as Cde, g7 as Tde, hH as Dde, cF as Ade, cP as Mde, hG as Ede, bu as Lde, dY as Nde, fS as Ide, g8 as Pde, b as kde, bx as Rde, gC as Ode, aX as Bde, dZ as zde, hn as Vde, gj as Fde, gi as Gde, hF as Hde } from "./F0CanvasPanel-CNdEi4a2.js";
1
+ import { gP as uN, w as rt, cb as T_, J as vn, gx as cN, H as fn, eV as WV, gQ as fN, s as qv, S as Q, u as Re, V as tt, dv as Rl, O as pl, y as UV, Y as _d, bS as Ma, r as Bt, ad as Jc, gR as $V, ak as il, gu as qy, gS as YV, gT as XV, gU as Dw, e5 as qV, gV as ZV, gW as hN, gX as jV, gY as KV, gZ as dN, g_ as QV, c2 as vN, c3 as pN, W as ef, X as tf, m as Je, $ as rf, fY as gN, a4 as $t, aj as nf, a6 as Wo, aT as D_, ar as A_, g$ as JV, bd as eF, e0 as Aw, n as mN, o as gl, be as tF, aH as Zv, aI as jv, aJ as Kv, cW as xd, c9 as yN, h0 as rF, gw as Mw, fy as nF, h1 as Ew, fs as iF, h2 as aF, bM as bN, bX as _N, fH as Zy, ag as Fr, aw as oF, d5 as jy, bY as xN, g3 as Ol, g4 as af, g6 as wN, gD as sF, fW as SN, fV as lF, bT as M_, bU as E_, h3 as Qv, dE as L_, gk as uF, ab as CN, fr as cF, cu as fF, gM as N_, bA as TN, bF as hF, bG as dF, bH as vF, d as pF, U as DN, db as es, dQ as AN, dD as MN, cx as I_, bP as EN, c$ as P_, f_ as al, f$ as ol, _ as sl, g0 as ll, fZ as ha, bZ as LN, j as gF, dB as wd, bp as ml, bh as Er, cE as mF, aa as NN, dF as Ky, e1 as _c, cD as yF, a7 as Bl, b0 as IN, aG as bF, gd as Rr, h4 as _F, h5 as xF, h6 as PN, h7 as Jv, h8 as wF, h9 as SF, d_ as CF, ha as TF, aW as kN, bV as DF, bW as AF, cc as zl, cg as Vl, cn as of, dS as MF, cd as EF, bc as LF, a0 as RN, bg as NF, a9 as IF, by as Lw, dP as xc, fu as PF, fv as kF, hb as RF, a$ as OF, ch as BF, l as ON, ae as zF, c6 as VF, gA as FF, b3 as GF, M as BN, hc as zN, hd as HF, he as WF, I as UF, hf as $F, hg as YF, hh as XF, hi as qF } from "./F0CanvasPanel-B7F3sn6X.js";
2
+ import { hy as phe, C as ghe, D as mhe, aU as yhe, c as bhe, F as _he, a as xhe, hr as whe, f as She, bk as Che, aV as The, cp as Dhe, c1 as Ahe, aM as Mhe, bt as Ehe, aq as Lhe, e4 as Nhe, ay as Ihe, cB as Phe, g as khe, bI as Rhe, cC as Ohe, hm as Bhe, hD as zhe, bN as Vhe, e as Fhe, bQ as Ghe, k as Hhe, ci as Whe, ht as Uhe, b7 as $he, hu as Yhe, hw as Xhe, hx as qhe, cZ as Zhe, hA as jhe, cS as Khe, cT as Qhe, P as Jhe, cX as ede, hv as tde, cU as rde, hz as nde, hE as ide, hj as ade, hk as ode, hl as sde, cV as lde, hC as ude, hs as cde, hp as fde, ho as hde, cY as dde, fT as vde, gl as pde, hB as gde, aZ as mde, cR as yde, cO as bde, cQ as _de, cN as xde, hq as wde, gn as Sde, gh as Cde, g7 as Tde, hH as Dde, cF as Ade, cP as Mde, hG as Ede, bu as Lde, dY as Nde, fS as Ide, g8 as Pde, b as kde, bx as Rde, gC as Ode, aX as Bde, dZ as zde, hn as Vde, gj as Fde, gi as Gde, hF as Hde } from "./F0CanvasPanel-B7F3sn6X.js";
3
3
  import { jsx as w, jsxs as O, Fragment as it } from "react/jsx-runtime";
4
4
  import * as bt from "react";
5
5
  import ZF, { forwardRef as Dr, useRef as ie, useImperativeHandle as jF, Children as Sd, createContext as Ba, useContext as ts, useState as se, useMemo as ye, useEffect as me, useCallback as le, useLayoutEffect as Nw, isValidElement as VN, Fragment as Fl, useSyncExternalStore as yl, useId as ic, memo as KF } from "react";
6
- import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-BoxHwlCh.js";
7
- import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-BoxHwlCh.js";
6
+ import { D as QF, E as JF, G as e5, H as t5, I as r5, J as n5, K as Cd, L as k_, M as FN, N as GN, O as Jn, P as i5, Q as a5, R as o5, S as s5, U as l5, F as u5 } from "./F0AiProcessingOverlay-oR419tUE.js";
7
+ import { A as Ude, C as $de, t as Yde, s as Xde, v as qde, y as Zde, l as jde, i as Kde, q as Qde, z as Jde, B as eve, p as tve, r as rve, j as nve, e as ive, g as ave, k as ove, T as sve, w as lve, h as uve, a as cve, n as fve, m as hve, o as dve, b as vve, f as pve, x as gve, c as mve, d as yve, u as bve } from "./F0AiProcessingOverlay-oR419tUE.js";
8
8
  import { d as J, u as ep, g as c5, h as js, P as sf, i as Gl, j as f5, f as yi } from "./tooltip-BH6Se8A4.js";
9
9
  import { createPortal as tp } from "react-dom";
10
- import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-UWbV56F1.js";
11
- import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-UWbV56F1.js";
12
- import { F as Epe, p as Lpe } from "./index-CQsKy7ci.js";
13
- import { c as Ipe } from "./pdfWorker-CHR-MkPu.js";
10
+ import { C as h5, an as d5, ao as v5, ap as p5, aq as Iw, ar as g5, as as m5, at as y5, au as b5, av as _5, aw as x5, ax as w5, i as S5, F as HN, ay as C5, az as T5, aA as D5, aB as A5, aC as M5, aD as WN, aE as E5, aF as rp, aG as Wa, aH as L5, aI as R_, aJ as O_, I as N5, aK as I5, aL as ps, aM as UN, aN as P5, aO as k5, aP as R5, aQ as O5, aR as B5, aS as z5, _ as V5, ae as F5, aT as G5, U as H5, aU as W5, aV as U5, c as np, R as B_, u as z_, Y as $N, O as V_, aW as YN, aX as Pw, aY as F_, r as $5, e as XN, a2 as qN, aZ as Y5, a_ as X5, a$ as q5, b0 as Z5, M as j5 } from "./index-DaAesvIC.js";
11
+ import { t as xve, v as wve, J as Sve, w as Cve, E as Tve, bm as Dve, bl as Ave, bf as Mve, b2 as Eve, b1 as Lve, b3 as Nve, b4 as Ive, b6 as Pve, b7 as kve, ag as Rve, af as Ove, aj as Bve, X as zve, N as Vve, al as Fve, Q as Gve, x as Hve, bn as Wve, ah as Uve, ai as $ve, T as Yve, y as Xve, P as qve, D as Zve, G as jve, ak as Kve, W as Qve, am as Jve, z as epe, H as tpe, bp as rpe, o as npe, q as ipe, be as ape, bj as ope, bj as spe, bk as lpe, ba as upe, b9 as cpe, bo as fpe, ac as hpe, bc as dpe, bd as vpe, K as ppe, bq as gpe, br as mpe, f as ype, bg as bpe, bh as _pe, bi as xpe, b5 as wpe, bb as Spe, g as Cpe, j as Tpe, b8 as Dpe, bs as Ape } from "./index-DaAesvIC.js";
12
+ import { F as Epe, p as Lpe } from "./index-Db0lCoib.js";
13
+ import { c as Ipe } from "./pdfWorker-D8-ImR1V.js";
14
14
  import { g as K5 } from "./_commonjsHelpers-ByX85dGu.js";
15
15
  import { utils as ul, write as ZN } from "./xlsx-CzlURDDb.js";
16
16
  import { defaultTranslations as kpe } from "./i18n-provider-defaults.js";
@@ -1,7 +1,7 @@
1
1
  import { jsx as m, jsxs as P, Fragment as Fe } from "react/jsx-runtime";
2
2
  import * as Ve from "react";
3
3
  import ae, { useRef as V, useState as Y, useCallback as Q, useEffect as ie, useContext as ht, useMemo as J, createContext as Mt, forwardRef as Qe, useLayoutEffect as rn, memo as Et, useReducer as L7, cloneElement as Z6, PureComponent as yc, useImperativeHandle as La, Fragment as Ol, useId as vc, createElement as Bv, isValidElement as F7, useDebugValue as Q6, version as L2, createRef as $7 } from "react";
4
- import { eg as F2, eh as Wf, ei as z7, e2 as eE, ej as B7, ek as j7, el as H7, em as j1, en as V7, eo as W7, ep as U7, eq as q7, er as K7, es as G7, et as Y7, H as Ge, eu as tE, ev as X7, Y as Qt, a9 as ig, a0 as rg, bY as J7, d5 as Z7, J as Ts, w as Pt, r as Xi, ew as nE, ex as iE, ey as Q7, ez as eP, eA as Gs, eB as Ct, eC as li, eD as rE, eE as tP, eF as oE, eG as nP, eH as Pn, eI as og, eJ as Zt, eK as sE, eL as sg, eM as uw, eN as hw, eO as pw, eP as Tn, eQ as si, eR as jv, eS as ag, eT as iP, eU as qn, eV as ls, eW as ii, eX as Fa, eY as mw, eZ as lg, e_ as Ih, e$ as cg, cr as gw, f0 as rP, f1 as Bu, f2 as cp, f3 as oP, f4 as sP, f5 as aP, f6 as lP, f7 as cP, f8 as dP, f9 as aE, fa as lE, fb as cE, fc as dE, fd as fE, fe as fP, ff as dp, fg as uP, fh as hP, fi as Uf, fj as Ds, e8 as mo, fk as yw, fl as qf, fm as uE, e9 as hE, fn as pP, fo as mP, e6 as gP, fp as yP, e7 as vP, al as Kn, fq as Gn, fr as bP, fs as pE, ft as mE, cb as Ji, O as $t, cI as wP, ay as qi, m as Ae, ad as bc, af as Ml, V as it, a5 as Kf, bZ as xP, fu as kP, fv as _P, u as je, aT as gE, b3 as wc, cp as yE, c1 as vE, aM as vw, bg as dg, ag as fg, fw as bE, aW as SP, a7 as Rr, fx as CP, bQ as wE, fy as EP, cN as cn, fz as xE, fA as kE, fB as Hv, fC as AP, fD as $2, an as Gf, cU as _E, cO as Vv, aH as bw, aI as ww, aJ as xw, cS as NP, k as Vi, cx as z2, c4 as TP, df as DP, dD as Wv, fE as OP, fF as MP, fG as H1, dI as SE, bM as $a, ar as bs, c9 as IP, fH as B2, bX as kw, fI as RP, cM as PP, G as LP, A as FP, y as $P, fJ as CE, fK as zP, e3 as BP, fL as jP, fM as EE, M as HP, fN as VP, fO as WP, fP as UP, fQ as j2, fR as H2, fS as V1, fT as V2, fU as qP, fV as KP, am as GP, fW as AE, fX as YP, aD as XP, cD as ug, W as NE, X as TE, bS as hg, $ as DE, a6 as JP, fY as ZP, fZ as W2, a4 as fp, cE as pg, f_ as OE, f$ as ME, _ as IE, g0 as RE, o as xc, dv as mg, ak as go, aw as PE, bd as QP, be as eL, g1 as tL, n as _w, g2 as LE, g3 as gg, g4 as kc, g5 as nL, g6 as Sw, g7 as Ut, e1 as Gd, g8 as zn, c$ as va, c6 as Uv, at as iL, au as rL, S as Ie, a1 as oL, aa as qv, ch as sL, bF as FE, bG as $E, bH as zE, s as Yf, g9 as Cw, ap as yg, ga as aL, aE as lL, bD as vg, bp as ko, bV as BE, bW as jE, aj as cL, cu as dL, dS as HE, a_ as fL, gb as uL, gc as hL, cR as pL, gd as up, ge as Yo, d_ as mL, dL as gL, gf as yL, b9 as vL, az as Kv, dN as bL, bf as wL, bv as xL, gg as VE, bx as kL, b5 as _L, gh as SL, gi as bg, gj as Ew, cc as CL, cd as EL, ce as AL, cg as NL, gk as Aw, gl as Gv, bI as wg, gm as TL, gn as hp, go as DL, ax as OL, dF as ML, gp as U2, gq as IL, gr as q2, gs as W1, gt as WE, bT as UE, dK as RL, ds as PL, i as Nw, gu as LL, gv as FL, b7 as $L, ab as zL, j as Tw, cA as BL, dH as jL, dA as K2, dE as Dw, dP as HL, l as VL, gw as WL, gx as Ow, d6 as UL, dd as qL, dM as KL, gy as GL, q as YL, co as G2, gz as XL, gA as JL, gB as ZL, gC as QL, gD as qE, bP as eF, ae as tF, c as nF, ct as iF, bh as U1, gE as Xf, gF as Mw, gG as Iw, gH as Jf, gI as rF, bb as oF, cB as Rw, bm as sF, d0 as aF, aY as lF, bs as cF, d7 as dF, dz as fF, dR as uF, dO as hF, dw as KE, dx as GE, dy as YE, dG as XE, db as JE, d3 as ZE, d1 as QE, d4 as e9, d2 as t9, dc as n9, dJ as i9, aq as r9, gJ as o9, gK as pF, a$ as mF, dq as gF, dn as yF, dm as vF, dl as bF, dp as wF, by as xF, dT as kF, bN as _F, bO as SF, dQ as CF, bB as EF, bC as AF, bU as NF, bL as TF, gL as DF, dZ as OF, gM as MF, gN as IF, gO as RF } from "./F0CanvasPanel-CNdEi4a2.js";
4
+ import { eg as F2, eh as Wf, ei as z7, e2 as eE, ej as B7, ek as j7, el as H7, em as j1, en as V7, eo as W7, ep as U7, eq as q7, er as K7, es as G7, et as Y7, H as Ge, eu as tE, ev as X7, Y as Qt, a9 as ig, a0 as rg, bY as J7, d5 as Z7, J as Ts, w as Pt, r as Xi, ew as nE, ex as iE, ey as Q7, ez as eP, eA as Gs, eB as Ct, eC as li, eD as rE, eE as tP, eF as oE, eG as nP, eH as Pn, eI as og, eJ as Zt, eK as sE, eL as sg, eM as uw, eN as hw, eO as pw, eP as Tn, eQ as si, eR as jv, eS as ag, eT as iP, eU as qn, eV as ls, eW as ii, eX as Fa, eY as mw, eZ as lg, e_ as Ih, e$ as cg, cr as gw, f0 as rP, f1 as Bu, f2 as cp, f3 as oP, f4 as sP, f5 as aP, f6 as lP, f7 as cP, f8 as dP, f9 as aE, fa as lE, fb as cE, fc as dE, fd as fE, fe as fP, ff as dp, fg as uP, fh as hP, fi as Uf, fj as Ds, e8 as mo, fk as yw, fl as qf, fm as uE, e9 as hE, fn as pP, fo as mP, e6 as gP, fp as yP, e7 as vP, al as Kn, fq as Gn, fr as bP, fs as pE, ft as mE, cb as Ji, O as $t, cI as wP, ay as qi, m as Ae, ad as bc, af as Ml, V as it, a5 as Kf, bZ as xP, fu as kP, fv as _P, u as je, aT as gE, b3 as wc, cp as yE, c1 as vE, aM as vw, bg as dg, ag as fg, fw as bE, aW as SP, a7 as Rr, fx as CP, bQ as wE, fy as EP, cN as cn, fz as xE, fA as kE, fB as Hv, fC as AP, fD as $2, an as Gf, cU as _E, cO as Vv, aH as bw, aI as ww, aJ as xw, cS as NP, k as Vi, cx as z2, c4 as TP, df as DP, dD as Wv, fE as OP, fF as MP, fG as H1, dI as SE, bM as $a, ar as bs, c9 as IP, fH as B2, bX as kw, fI as RP, cM as PP, G as LP, A as FP, y as $P, fJ as CE, fK as zP, e3 as BP, fL as jP, fM as EE, M as HP, fN as VP, fO as WP, fP as UP, fQ as j2, fR as H2, fS as V1, fT as V2, fU as qP, fV as KP, am as GP, fW as AE, fX as YP, aD as XP, cD as ug, W as NE, X as TE, bS as hg, $ as DE, a6 as JP, fY as ZP, fZ as W2, a4 as fp, cE as pg, f_ as OE, f$ as ME, _ as IE, g0 as RE, o as xc, dv as mg, ak as go, aw as PE, bd as QP, be as eL, g1 as tL, n as _w, g2 as LE, g3 as gg, g4 as kc, g5 as nL, g6 as Sw, g7 as Ut, e1 as Gd, g8 as zn, c$ as va, c6 as Uv, at as iL, au as rL, S as Ie, a1 as oL, aa as qv, ch as sL, bF as FE, bG as $E, bH as zE, s as Yf, g9 as Cw, ap as yg, ga as aL, aE as lL, bD as vg, bp as ko, bV as BE, bW as jE, aj as cL, cu as dL, dS as HE, a_ as fL, gb as uL, gc as hL, cR as pL, gd as up, ge as Yo, d_ as mL, dL as gL, gf as yL, b9 as vL, az as Kv, dN as bL, bf as wL, bv as xL, gg as VE, bx as kL, b5 as _L, gh as SL, gi as bg, gj as Ew, cc as CL, cd as EL, ce as AL, cg as NL, gk as Aw, gl as Gv, bI as wg, gm as TL, gn as hp, go as DL, ax as OL, dF as ML, gp as U2, gq as IL, gr as q2, gs as W1, gt as WE, bT as UE, dK as RL, ds as PL, i as Nw, gu as LL, gv as FL, b7 as $L, ab as zL, j as Tw, cA as BL, dH as jL, dA as K2, dE as Dw, dP as HL, l as VL, gw as WL, gx as Ow, d6 as UL, dd as qL, dM as KL, gy as GL, q as YL, co as G2, gz as XL, gA as JL, gB as ZL, gC as QL, gD as qE, bP as eF, ae as tF, c as nF, ct as iF, bh as U1, gE as Xf, gF as Mw, gG as Iw, gH as Jf, gI as rF, bb as oF, cB as Rw, bm as sF, d0 as aF, aY as lF, bs as cF, d7 as dF, dz as fF, dR as uF, dO as hF, dw as KE, dx as GE, dy as YE, dG as XE, db as JE, d3 as ZE, d1 as QE, d4 as e9, d2 as t9, dc as n9, dJ as i9, aq as r9, gJ as o9, gK as pF, a$ as mF, dq as gF, dn as yF, dm as vF, dl as bF, dp as wF, by as xF, dT as kF, bN as _F, bO as SF, dQ as CF, bB as EF, bC as AF, bU as NF, bL as TF, gL as DF, dZ as OF, gM as MF, gN as IF, gO as RF } from "./F0CanvasPanel-B7F3sn6X.js";
5
5
  import { d as K, e as Yn, T as Zf, a as Qf, b as eu, c as tu, f as dn, u as s9, S as PF } from "./tooltip-BH6Se8A4.js";
6
6
  import { g as xg } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import Pw, { unstable_batchedUpdates as ju, createPortal as Lw, flushSync as LF } from "react-dom";
@@ -1,7 +1,7 @@
1
- import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-CNdEi4a2.js";
1
+ import { S as L, m as ye, u as Z, n as Se, o as Re, i as ke, j as _e, k as Ne, q as Ce, l as Le, w as Fe, r as Ve, s as Te } from "./F0CanvasPanel-B7F3sn6X.js";
2
2
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
3
3
  import { lazy as J, forwardRef as ne, Suspense as He, useState as V, useRef as A, useMemo as te, useCallback as w, useEffect as T } from "react";
4
- import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-CHR-MkPu.js";
4
+ import { e as Ee, D as Ue, P as je, c as De } from "./pdfWorker-D8-ImR1V.js";
5
5
  import { F as We } from "./Printer-B7iDPx2r.js";
6
6
  import { d as ae } from "./tooltip-BH6Se8A4.js";
7
7
  import './index.css';const Oe = ({
@@ -222,7 +222,7 @@ import './index.css';const Oe = ({
222
222
  }), i;
223
223
  };
224
224
  Ee();
225
- const qe = J(() => import("./SheetViewer-CS_CBXw8.js")), Ge = J(() => import("./DocxViewer-O89C4vEX.js")), Ze = J(() => import("./TextViewer-6xssw6Sa.js")), oe = 48, se = ne(
225
+ const qe = J(() => import("./SheetViewer-DAS3K7Jo.js")), Ge = J(() => import("./DocxViewer-DQppG2kg.js")), Ze = J(() => import("./TextViewer-BHXsdcFD.js")), oe = 48, se = ne(
226
226
  (o, a) => {
227
227
  const { kind: e = "pdf", mimeType: i, ...l } = o;
228
228
  if (e === "pdf") return /* @__PURE__ */ t(le, { ref: a, ...l });
@@ -1,8 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { createContext, useReducer, forwardRef, useRef, useImperativeHandle, useEffect, useCallback, useMemo, useContext, useLayoutEffect } from "react";
3
3
  import { e as clsx } from "./tooltip-BH6Se8A4.js";
4
- import { t as invariant } from "./F0CanvasPanel-CNdEi4a2.js";
5
- import { d as dequal } from "./index-UWbV56F1.js";
4
+ import { t as invariant } from "./F0CanvasPanel-B7F3sn6X.js";
5
+ import { d as dequal } from "./index-DaAesvIC.js";
6
6
  import { a as getAugmentedNamespace, g as getDefaultExportFromCjs } from "./_commonjsHelpers-ByX85dGu.js";
7
7
  import { c as commonjsRequire } from "./_commonjs-dynamic-modules-BpilXLfW.js";
8
8
  import './pdfWorker.css';var pdf$1 = { exports: {} };