@factorialco/f0-react 1.356.1 → 1.356.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/f0.js CHANGED
@@ -1,10 +1,10 @@
1
- import { a6 as X, a7 as mt, aa as qi, ab as Nn, ac as Dn, ad as Io, ae as Po, af as Yi, ag as $e, u as Tn, ah as An, ai as Bo, aj as Fo, ak as Ho, al as jo, am as De, an as Te, ao as $o, ap as Wo, aq as Ki, ar as Go, as as _r, at as Xi, au as Ji, av as Qi, aw as es, ax as ts, ay as rs, az as Vo, aA as Zo, aB as Uo, aC as qo, aD as Yo, a8 as Ge, aE as ri, aF as Ko, aG as Xo, aH as Rt, aI as Jo, aJ as Qo, aK as ea, aL as ta, aM as ra, aN as na, aO as ia, aP as sa, aQ as oa, aR as aa, aS as la, aT as ca, aU as ns, aV as da, aW as ua, aX as ha, aY as fa, aZ as ma, a_ as is, a$ as pa, b0 as ga, b1 as va, b2 as ya, b3 as ba, b4 as xa, I as wa, b5 as _a, b6 as Ca, b7 as Ea, b8 as ka } from "./F0AiChat-CiIS6L-I.js";
1
+ import { a6 as X, a7 as mt, aa as qi, ab as Dn, ac as Tn, ad as Io, ae as Po, af as Yi, ag as $e, u as Gr, ah as An, ai as Bo, aj as Fo, ak as Ho, al as jo, am as De, an as Te, ao as $o, ap as Wo, aq as Ki, ar as Go, as as _r, at as Xi, au as Ji, av as Qi, aw as es, ax as ts, ay as rs, az as Vo, aA as Zo, aB as Uo, aC as qo, aD as Yo, a8 as Ge, aE as ri, aF as Ko, aG as Xo, aH as Rt, aI as Jo, aJ as Qo, aK as ea, aL as ta, aM as ra, aN as na, aO as ia, aP as sa, aQ as oa, aR as aa, aS as la, aT as ca, aU as ns, aV as da, aW as ua, aX as ha, aY as fa, aZ as ma, a_ as is, a$ as pa, b0 as ga, b1 as va, b2 as ya, b3 as ba, b4 as xa, I as wa, b5 as _a, b6 as Ca, b7 as Ea, b8 as ka } from "./F0AiChat-CiIS6L-I.js";
2
2
  import { A as Rm, bn as Nm, B as Dm, C as Tm, E as Am, bC as Om, h as Mm, F as Lm, a as zm, x as Im, i as Pm, b as Bm, b9 as Fm, ba as Hm, bb as jm, bc as $m, be as Wm, bf as Gm, bg as Vm, bh as Zm, bi as Um, bj as qm, bk as Ym, by as Km, s as Xm, t as Jm, v as Qm, w as ep, c as tp, bo as rp, n as np, o as ip, p as sp, H as op, k as ap, L as lp, O as cp, bm as dp, q as up, P as hp, S as fp, T as mp, l as pp, m as gp, U as vp, bz as yp, bt as bp, r as xp, j as wp, bw as _p, bs as Cp, bD as Ep, br as kp, bq as Sp, bd as Rp, d as Np, bp as Dp, bu as Tp, e as Ap, bE as Op, bl as Mp, bv as Lp, g as zp, f as Ip, bB as Pp, bx as Bp, bA as Fp } from "./F0AiChat-CiIS6L-I.js";
3
3
  import { jsx as h, jsxs as I, Fragment as sr } from "react/jsx-runtime";
4
- import G, { forwardRef as ye, useRef as $, useImperativeHandle as Sa, Children as Cr, createContext as Ze, useContext as ze, useState as Z, useMemo as F, useEffect as V, useCallback as te, useLayoutEffect as mn, createElement as ni, isValidElement as ss, Fragment as Ra, memo as Na, useReducer as Da, cloneElement as Ta, PureComponent as Aa } from "react";
4
+ import G, { forwardRef as ye, useRef as $, useImperativeHandle as Sa, Children as Cr, createContext as Ze, useContext as ze, useState as Z, useMemo as F, useEffect as V, useCallback as te, useLayoutEffect as pn, createElement as ni, isValidElement as ss, Fragment as Ra, memo as Na, useReducer as Da, cloneElement as Ta, PureComponent as Aa } from "react";
5
5
  import { createPortal as os, unstable_batchedUpdates as gr } from "react-dom";
6
- import { L as as, C as Oa, i as ls, D as Ma, S as ii, a as La, f as sn, b as Wt, c as za, A as Ia, d as vr, e as cs, E as Pa, g as xr, h as Ba, j as Fa, k as Ha, l as Et, m as ds, u as ja, G as $a, n as Wa, o as si, p as Ga, q as us, r as Va, B as hs, X as fs, Y as pn, s as Za, t as ms, v as Ua, w as qa, x as Ya, y as Ka, z as Xa, F as Ja, H as Qa, I as el, J as oi, K as tl, M as Vt, N as on, O as rl, P as nl, Q as il, R as sl, T as ol, U as al, V as ll, W as cl, Z as dl, _ as ul, $ as hl, a0 as ai, a1 as fl, a2 as ml, a3 as ps, a4 as pl, a5 as gl, a6 as vl, a7 as On, a8 as li, a9 as yl, aa as bl, ab as xl, ac as wl, ad as _l, ae as Cl, af as El, ag as kl, ah as Sl, ai as Rl, aj as Nl, ak as Dl, al as gs, am as ci, an as vs, ao as Tl, ap as Al, aq as Ol, ar as Ml } from "./DataCollectionStorageProvider-CYjGlOJW.js";
7
- import { aJ as jp, as as $p, at as Wp, aw as Gp, aA as Vp, aB as Zp, aC as Up, aE as qp, aF as Yp, aG as Kp, aH as Xp, az as Jp, aD as Qp, au as eg, av as tg, aI as rg, ax as ng, ay as ig, aK as sg, aL as og, aM as ag, aN as lg } from "./DataCollectionStorageProvider-CYjGlOJW.js";
6
+ import { L as as, C as Oa, i as ls, D as Ma, S as ii, a as La, f as on, b as Wt, c as za, A as Ia, d as vr, e as cs, E as Pa, g as xr, h as Ba, j as Fa, k as Ha, l as Et, m as ds, u as ja, G as $a, n as Wa, o as si, p as Ga, q as us, r as Va, B as hs, X as fs, Y as gn, s as Za, t as ms, v as Ua, w as qa, x as Ya, y as Ka, z as Xa, F as Ja, H as Qa, I as el, J as oi, K as tl, M as Vt, N as an, O as rl, P as nl, Q as il, R as sl, T as ol, U as al, V as ll, W as cl, Z as dl, _ as ul, $ as hl, a0 as ai, a1 as fl, a2 as ml, a3 as ps, a4 as pl, a5 as gl, a6 as vl, a7 as On, a8 as li, a9 as yl, aa as bl, ab as xl, ac as wl, ad as _l, ae as Cl, af as El, ag as kl, ah as Sl, ai as Rl, aj as Nl, ak as Dl, al as gs, am as ci, an as vs, ao as Tl, ap as Al, aq as Ol, ar as Ml } from "./DataCollectionStorageProvider-B9NpFZxX.js";
7
+ import { aJ as jp, as as $p, at as Wp, aw as Gp, aA as Vp, aB as Zp, aC as Up, aE as qp, aF as Yp, aG as Kp, aH as Xp, az as Jp, aD as Qp, au as eg, av as tg, aI as rg, ax as ng, ay as ig, aK as sg, aL as og, aM as ag, aN as lg } from "./DataCollectionStorageProvider-B9NpFZxX.js";
8
8
  import { A as dg, F as ug, c as hg, b as fg, a as mg, o as pg, u as gg } from "./F0HILActionConfirmation-DYjm5fCH.js";
9
9
  import { defaultTranslations as yg } from "./i18n-provider-defaults.js";
10
10
  import './f0.css';const Ll = {
@@ -229,7 +229,7 @@ function $l({ children: r, options: e, onResizeStop: t, onChange: n, widgets: i
229
229
  if (N.get(A)) {
230
230
  const re = s.el.querySelector(`[gs-id="${A}"] .grid-stack-item-content`);
231
231
  let se = "";
232
- re && (se = jl(re)), N.set(A, h(Nn.div, {
232
+ re && (se = jl(re)), N.set(A, h(Dn.div, {
233
233
  className: "h-full w-full",
234
234
  initial: {
235
235
  opacity: 1,
@@ -1714,14 +1714,14 @@ function ui(r) {
1714
1714
  delete We.pointerLeaveTimeout, _s(r, "mouseleave");
1715
1715
  }, 10));
1716
1716
  }
1717
- class Gr {
1717
+ class Vr {
1718
1718
  constructor(e, t, n) {
1719
1719
  this.host = e, this.dir = t, this.option = n, this.moving = !1, this._mouseDown = this._mouseDown.bind(this), this._mouseMove = this._mouseMove.bind(this), this._mouseUp = this._mouseUp.bind(this), this._keyEvent = this._keyEvent.bind(this), this._init();
1720
1720
  }
1721
1721
  /** @internal */
1722
1722
  _init() {
1723
1723
  const e = this.el = document.createElement("div");
1724
- return e.classList.add("ui-resizable-handle"), e.classList.add(`${Gr.prefix}${this.dir}`), e.style.zIndex = "100", e.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), Le && (this.el.addEventListener("touchstart", kr), this.el.addEventListener("pointerdown", Nr)), this;
1724
+ return e.classList.add("ui-resizable-handle"), e.classList.add(`${Vr.prefix}${this.dir}`), e.style.zIndex = "100", e.style.userSelect = "none", this.host.appendChild(this.el), this.el.addEventListener("mousedown", this._mouseDown), Le && (this.el.addEventListener("touchstart", kr), this.el.addEventListener("pointerdown", Nr)), this;
1725
1725
  }
1726
1726
  /** call this when resize handle needs to be removed and cleaned up */
1727
1727
  destroy() {
@@ -1749,7 +1749,7 @@ class Gr {
1749
1749
  return this.option[e] && this.option[e](t), this;
1750
1750
  }
1751
1751
  }
1752
- Gr.prefix = "ui-resizable-";
1752
+ Vr.prefix = "ui-resizable-";
1753
1753
  class Mn {
1754
1754
  constructor() {
1755
1755
  this._eventRegister = {};
@@ -1881,7 +1881,7 @@ class Xt extends Mn {
1881
1881
  }
1882
1882
  /** @internal */
1883
1883
  _setupHandlers() {
1884
- return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new Gr(this.el, e, {
1884
+ return this.handlers = this.option.handles.split(",").map((e) => e.trim()).map((e) => new Vr(this.el, e, {
1885
1885
  start: (t) => {
1886
1886
  this._resizeStart(t);
1887
1887
  },
@@ -3847,7 +3847,7 @@ function Kl({ children: r }) {
3847
3847
  const { children: f, ...m } = c, { children: x, ...v } = u;
3848
3848
  return ls(m, v);
3849
3849
  };
3850
- return mn(() => {
3850
+ return pn(() => {
3851
3851
  if (!d(n, o.current) && e)
3852
3852
  try {
3853
3853
  e.removeAll(!1), e.destroy(!1), i.current.clear(), yr.delete(e), o.current = n, t(null);
@@ -3855,7 +3855,7 @@ function Kl({ children: r }) {
3855
3855
  console.error("Error destroying gridstack", c);
3856
3856
  }
3857
3857
  else e && (o.current = n, n.handle && e.opts && (e.opts.handle = n.handle));
3858
- }, [n, e, t]), mn(() => {
3858
+ }, [n, e, t]), pn(() => {
3859
3859
  if (!e && s.current)
3860
3860
  try {
3861
3861
  t(l());
@@ -3927,9 +3927,9 @@ const zn = ({ options: r, widgets: e, onChange: t, className: n }) => {
3927
3927
  zn.displayName = "F0GridStack";
3928
3928
  const Xl = (r, e, t) => h("div", {
3929
3929
  children: r
3930
- }), Vr = ({ widgets: r = [], editMode: e = !1, onChange: t = () => {
3930
+ }), Zr = ({ widgets: r = [], editMode: e = !1, onChange: t = () => {
3931
3931
  }, WidgetWrapper: n = Xl, main: i = !1, deps: s }) => {
3932
- const o = te((y, b, g) => h(Nn.div, {
3932
+ const o = te((y, b, g) => h(Dn.div, {
3933
3933
  className: "h-full w-full",
3934
3934
  initial: {
3935
3935
  opacity: 0,
@@ -4084,8 +4084,8 @@ const Xl = (r, e, t) => h("div", {
4084
4084
  widgets: c
4085
4085
  });
4086
4086
  };
4087
- Vr.displayName = "GroupGrid";
4088
- Vr.__isPageLayoutGroup = !0;
4087
+ Zr.displayName = "GroupGrid";
4088
+ Zr.__isPageLayoutGroup = !0;
4089
4089
  const Jl = (r, e) => {
4090
4090
  const t = e;
4091
4091
  return t.displayName = r, t.__isPageLayoutBlock = !0, t;
@@ -4108,7 +4108,7 @@ const Jl = (r, e) => {
4108
4108
  const { [i]: s, ...o } = n;
4109
4109
  return o;
4110
4110
  }, r);
4111
- return h(Dn, {
4111
+ return h(Tn, {
4112
4112
  ...t,
4113
4113
  variant: "ai",
4114
4114
  ref: e,
@@ -4116,7 +4116,7 @@ const Jl = (r, e) => {
4116
4116
  });
4117
4117
  });
4118
4118
  Es.displayName = "AIButton";
4119
- const an = mt({
4119
+ const ln = mt({
4120
4120
  base: "text-base text-f1-foreground",
4121
4121
  variants: {
4122
4122
  variant: {
@@ -4184,7 +4184,7 @@ const an = mt({
4184
4184
  lines: typeof s == "number" ? s : 1,
4185
4185
  noTooltip: o,
4186
4186
  tag: c,
4187
- className: X(an({
4187
+ className: X(ln({
4188
4188
  variant: e,
4189
4189
  align: t
4190
4190
  }), n),
@@ -4196,7 +4196,7 @@ const an = mt({
4196
4196
  const u = Po(r);
4197
4197
  return ni(c, {
4198
4198
  ...l,
4199
- className: X(an({
4199
+ className: X(ln({
4200
4200
  variant: e,
4201
4201
  align: t
4202
4202
  }), n),
@@ -4208,7 +4208,7 @@ const an = mt({
4208
4208
  }
4209
4209
  return ni(c, {
4210
4210
  ...l,
4211
- className: X(an({
4211
+ className: X(ln({
4212
4212
  variant: e,
4213
4213
  align: t
4214
4214
  }), n),
@@ -4229,7 +4229,7 @@ const $f = [
4229
4229
  "file",
4230
4230
  "flag"
4231
4231
  ], Ss = ({ title: r, draggable: e = !1, onDragStart: t, onDragEnd: n, isDragging: i = !1, AIButton: s, actions: o, children: a, selected: l = !1 }) => {
4232
- const [d, c] = Z(!1), [u, f] = Z(!1), m = Tn(), x = (w) => {
4232
+ const [d, c] = Z(!1), [u, f] = Z(!1), m = Gr(), x = (w) => {
4233
4233
  c(w);
4234
4234
  }, v = u || d;
4235
4235
  return V(() => {
@@ -4265,7 +4265,7 @@ const $f = [
4265
4265
  })
4266
4266
  })]
4267
4267
  }), h(Fo, {
4268
- children: (s || o) && v && I(Nn.div, {
4268
+ children: (s || o) && v && I(Dn.div, {
4269
4269
  className: X("flex shrink-0 items-center gap-0.5 pr-2", !o && "pr-4"),
4270
4270
  initial: {
4271
4271
  opacity: 0
@@ -4293,7 +4293,7 @@ const $f = [
4293
4293
  open: d,
4294
4294
  onOpenChange: x,
4295
4295
  align: "end",
4296
- children: h(Dn, {
4296
+ children: h(Tn, {
4297
4297
  icon: jo,
4298
4298
  label: "Actions",
4299
4299
  variant: "ghost",
@@ -4343,7 +4343,7 @@ const ic = Yi(Ss, nc), sc = ({ children: r, title: e, draggable: t = !1, actions
4343
4343
  AIButton: i,
4344
4344
  children: r
4345
4345
  }), Rs = ({ widgets: r, editMode: e = !1, onChange: t = () => {
4346
- }, deps: n, ...i }) => h(Vr, {
4346
+ }, deps: n, ...i }) => h(Zr, {
4347
4347
  widgets: r,
4348
4348
  editMode: e,
4349
4349
  onChange: t,
@@ -4374,7 +4374,7 @@ const oc = Ql("Dashboard", Rs), Wf = De("Dashboard", oc), ac = mt({
4374
4374
  return Array.isArray(r) ? r.every(e) ? [{
4375
4375
  items: r
4376
4376
  }] : r : [r];
4377
- }, Zr = ye(({ children: r, variant: e = "default", className: t, draggable: n = !1, onDragStart: i, onDragEnd: s, onDrop: o, dragId: a, primaryAction: l, ...d }, c) => {
4377
+ }, Ur = ye(({ children: r, variant: e = "default", className: t, draggable: n = !1, onDragStart: i, onDragEnd: s, onDrop: o, dragId: a, primaryAction: l, ...d }, c) => {
4378
4378
  const u = F(() => cc(d.actions || []), [d.actions]), f = F(() => u.flatMap((x) => x.items), [u]), m = F(() => f.length > 0 || !!l, [f, l]);
4379
4379
  return I("div", {
4380
4380
  ref: c,
@@ -4397,12 +4397,12 @@ const oc = Ql("Dashboard", Rs), Wf = De("Dashboard", oc), ac = mt({
4397
4397
  })]
4398
4398
  });
4399
4399
  });
4400
- Zr.displayName = "Block";
4401
- Zr.__isPageLayoutBlock = !0;
4400
+ Ur.displayName = "Block";
4401
+ Ur.__isPageLayoutBlock = !0;
4402
4402
  const dc = ({ title: r = "", description: e, titleLevel: t = "h2", children: n, className: i, ...s }) => {
4403
4403
  if (!r) return null;
4404
4404
  const o = t;
4405
- return I(Zr, {
4405
+ return I(Ur, {
4406
4406
  ...s,
4407
4407
  className: X("space-y-4", i),
4408
4408
  children: [I("div", {
@@ -4461,7 +4461,7 @@ function mc() {
4461
4461
  e
4462
4462
  );
4463
4463
  }
4464
- const Ur = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
4464
+ const qr = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u";
4465
4465
  function zt(r) {
4466
4466
  const e = Object.prototype.toString.call(r);
4467
4467
  return e === "[object Window]" || // In Electron context the Window object serializes to [object global]
@@ -4489,8 +4489,8 @@ function Ds(r) {
4489
4489
  function It(r) {
4490
4490
  return r ? zt(r) ? r.document : Bn(r) ? Fn(r) ? r : or(r) || Ds(r) ? r.ownerDocument : document : document : document;
4491
4491
  }
4492
- const Ie = Ur ? mn : V;
4493
- function qr(r) {
4492
+ const Ie = qr ? pn : V;
4493
+ function Yr(r) {
4494
4494
  const e = $(r);
4495
4495
  return Ie(() => {
4496
4496
  e.current = r;
@@ -4527,7 +4527,7 @@ function ar(r, e) {
4527
4527
  );
4528
4528
  }
4529
4529
  function Dr(r) {
4530
- const e = qr(r), t = $(null), n = te(
4530
+ const e = Yr(r), t = $(null), n = te(
4531
4531
  (i) => {
4532
4532
  i !== t.current && e?.(i, t.current), t.current = i;
4533
4533
  },
@@ -4542,13 +4542,13 @@ function Tr(r) {
4542
4542
  e.current = r;
4543
4543
  }, [r]), e.current;
4544
4544
  }
4545
- let ln = {};
4545
+ let cn = {};
4546
4546
  function lr(r, e) {
4547
4547
  return F(() => {
4548
4548
  if (e)
4549
4549
  return e;
4550
- const t = ln[r] == null ? 0 : ln[r] + 1;
4551
- return ln[r] = t, r + "-" + t;
4550
+ const t = cn[r] == null ? 0 : cn[r] + 1;
4551
+ return cn[r] = t, r + "-" + t;
4552
4552
  }, [r, e]);
4553
4553
  }
4554
4554
  function Ts(r) {
@@ -4571,7 +4571,7 @@ const Nt = /* @__PURE__ */ Ts(1), er = /* @__PURE__ */ Ts(-1);
4571
4571
  function gc(r) {
4572
4572
  return "clientX" in r && "clientY" in r;
4573
4573
  }
4574
- function Yr(r) {
4574
+ function Kr(r) {
4575
4575
  if (!r)
4576
4576
  return !1;
4577
4577
  const {
@@ -5110,7 +5110,7 @@ function Wc(r, e) {
5110
5110
  return typeof s == "string" ? t.test(s) : !1;
5111
5111
  });
5112
5112
  }
5113
- function Kr(r, e) {
5113
+ function Xr(r, e) {
5114
5114
  const t = [];
5115
5115
  function n(i) {
5116
5116
  if (e != null && t.length >= e || !i)
@@ -5125,11 +5125,11 @@ function Kr(r, e) {
5125
5125
  return r ? n(r) : t;
5126
5126
  }
5127
5127
  function zs(r) {
5128
- const [e] = Kr(r, 1);
5128
+ const [e] = Xr(r, 1);
5129
5129
  return e ?? null;
5130
5130
  }
5131
- function cn(r) {
5132
- return !Ur || !r ? null : zt(r) ? r : Bn(r) ? Fn(r) || r === It(r).scrollingElement ? window : or(r) ? r : null : null;
5131
+ function dn(r) {
5132
+ return !qr || !r ? null : zt(r) ? r : Bn(r) ? Fn(r) || r === It(r).scrollingElement ? window : or(r) ? r : null : null;
5133
5133
  }
5134
5134
  function Is(r) {
5135
5135
  return zt(r) ? r.scrollX : r.scrollLeft;
@@ -5137,7 +5137,7 @@ function Is(r) {
5137
5137
  function Ps(r) {
5138
5138
  return zt(r) ? r.scrollY : r.scrollTop;
5139
5139
  }
5140
- function gn(r) {
5140
+ function vn(r) {
5141
5141
  return {
5142
5142
  x: Is(r),
5143
5143
  y: Ps(r)
@@ -5148,7 +5148,7 @@ var de;
5148
5148
  r[r.Forward = 1] = "Forward", r[r.Backward = -1] = "Backward";
5149
5149
  })(de || (de = {}));
5150
5150
  function Bs(r) {
5151
- return !Ur || !r ? !1 : r === document.scrollingElement;
5151
+ return !qr || !r ? !1 : r === document.scrollingElement;
5152
5152
  }
5153
5153
  function Fs(r) {
5154
5154
  const e = {
@@ -5236,7 +5236,7 @@ function Zc(r) {
5236
5236
  };
5237
5237
  }
5238
5238
  function Hs(r) {
5239
- return r.reduce((e, t) => Nt(e, gn(t)), Pe);
5239
+ return r.reduce((e, t) => Nt(e, vn(t)), Pe);
5240
5240
  }
5241
5241
  function Uc(r) {
5242
5242
  return r.reduce((e, t) => e + Is(t), 0);
@@ -5262,7 +5262,7 @@ const Yc = [["x", ["left", "right"], Uc], ["y", ["top", "bottom"], qc]];
5262
5262
  class Hn {
5263
5263
  constructor(e, t) {
5264
5264
  this.rect = void 0, this.width = void 0, this.height = void 0, this.top = void 0, this.bottom = void 0, this.right = void 0, this.left = void 0;
5265
- const n = Kr(t), i = Hs(n);
5265
+ const n = Xr(t), i = Hs(n);
5266
5266
  this.rect = {
5267
5267
  ...e
5268
5268
  }, this.width = e.width, this.height = e.height;
@@ -5300,7 +5300,7 @@ function Kc(r) {
5300
5300
  } = ve(r);
5301
5301
  return r instanceof e ? r : It(r);
5302
5302
  }
5303
- function dn(r, e) {
5303
+ function un(r, e) {
5304
5304
  const t = Math.abs(r.x), n = Math.abs(r.y);
5305
5305
  return typeof e == "number" ? Math.sqrt(t ** 2 + n ** 2) > e : "x" in e && "y" in e ? t > e.x && n > e.y : "x" in e ? t > e.x : "y" in e ? n > e.y : !1;
5306
5306
  }
@@ -5370,7 +5370,7 @@ class jn {
5370
5370
  n && js(n), t(Pe);
5371
5371
  }
5372
5372
  handleKeyDown(e) {
5373
- if (Yr(e)) {
5373
+ if (Kr(e)) {
5374
5374
  const {
5375
5375
  active: t,
5376
5376
  context: n,
@@ -5582,12 +5582,12 @@ class $n {
5582
5582
  const l = (t = Ar(e)) != null ? t : Pe, d = er(i, l);
5583
5583
  if (!n && a) {
5584
5584
  if (vi(a)) {
5585
- if (a.tolerance != null && dn(d, a.tolerance))
5585
+ if (a.tolerance != null && un(d, a.tolerance))
5586
5586
  return this.handleCancel();
5587
- if (dn(d, a.distance))
5587
+ if (un(d, a.distance))
5588
5588
  return this.handleStart();
5589
5589
  }
5590
- if (yi(a) && dn(d, a.tolerance))
5590
+ if (yi(a) && un(d, a.tolerance))
5591
5591
  return this.handleCancel();
5592
5592
  this.handlePending(a, d);
5593
5593
  return;
@@ -5656,10 +5656,10 @@ const ed = {
5656
5656
  name: "mouseup"
5657
5657
  }
5658
5658
  };
5659
- var vn;
5659
+ var yn;
5660
5660
  (function(r) {
5661
5661
  r[r.RightClick = 2] = "RightClick";
5662
- })(vn || (vn = {}));
5662
+ })(yn || (yn = {}));
5663
5663
  class td extends $n {
5664
5664
  constructor(e) {
5665
5665
  super(e, ed, It(e.event.target));
@@ -5673,12 +5673,12 @@ td.activators = [{
5673
5673
  } = r, {
5674
5674
  onActivation: n
5675
5675
  } = e;
5676
- return t.button === vn.RightClick ? !1 : (n?.({
5676
+ return t.button === yn.RightClick ? !1 : (n?.({
5677
5677
  event: t
5678
5678
  }), !0);
5679
5679
  }
5680
5680
  }];
5681
- const un = {
5681
+ const hn = {
5682
5682
  cancel: {
5683
5683
  name: "touchcancel"
5684
5684
  },
@@ -5691,14 +5691,14 @@ const un = {
5691
5691
  };
5692
5692
  class rd extends $n {
5693
5693
  constructor(e) {
5694
- super(e, un);
5694
+ super(e, hn);
5695
5695
  }
5696
5696
  static setup() {
5697
- return window.addEventListener(un.move.name, e, {
5697
+ return window.addEventListener(hn.move.name, e, {
5698
5698
  capture: !1,
5699
5699
  passive: !1
5700
5700
  }), function() {
5701
- window.removeEventListener(un.move.name, e);
5701
+ window.removeEventListener(hn.move.name, e);
5702
5702
  };
5703
5703
  function e() {
5704
5704
  }
@@ -5880,10 +5880,10 @@ var tr;
5880
5880
  (function(r) {
5881
5881
  r[r.Always = 0] = "Always", r[r.BeforeDragging = 1] = "BeforeDragging", r[r.WhileDragging = 2] = "WhileDragging";
5882
5882
  })(tr || (tr = {}));
5883
- var yn;
5883
+ var bn;
5884
5884
  (function(r) {
5885
5885
  r.Optimized = "optimized";
5886
- })(yn || (yn = {}));
5886
+ })(bn || (bn = {}));
5887
5887
  const bi = /* @__PURE__ */ new Map();
5888
5888
  function ld(r, e) {
5889
5889
  let {
@@ -5965,7 +5965,7 @@ function dd(r) {
5965
5965
  callback: e,
5966
5966
  disabled: t
5967
5967
  } = r;
5968
- const n = qr(e), i = F(() => {
5968
+ const n = Yr(e), i = F(() => {
5969
5969
  if (t || typeof window > "u" || typeof window.MutationObserver > "u")
5970
5970
  return;
5971
5971
  const {
@@ -5975,12 +5975,12 @@ function dd(r) {
5975
5975
  }, [n, t]);
5976
5976
  return V(() => () => i?.disconnect(), [i]), i;
5977
5977
  }
5978
- function Xr(r) {
5978
+ function Jr(r) {
5979
5979
  let {
5980
5980
  callback: e,
5981
5981
  disabled: t
5982
5982
  } = r;
5983
- const n = qr(e), i = F(
5983
+ const n = Yr(e), i = F(
5984
5984
  () => {
5985
5985
  if (t || typeof window > "u" || typeof window.ResizeObserver > "u")
5986
5986
  return;
@@ -6026,7 +6026,7 @@ function xi(r, e, t) {
6026
6026
  }
6027
6027
  }
6028
6028
  }
6029
- }), a = Xr({
6029
+ }), a = Jr({
6030
6030
  callback: s
6031
6031
  });
6032
6032
  return Ie(() => {
@@ -6042,25 +6042,25 @@ function hd(r) {
6042
6042
  }
6043
6043
  const wi = [];
6044
6044
  function fd(r) {
6045
- const e = $(r), t = ar((n) => r ? n && n !== wi && r && e.current && r.parentNode === e.current.parentNode ? n : Kr(r) : wi, [r]);
6045
+ const e = $(r), t = ar((n) => r ? n && n !== wi && r && e.current && r.parentNode === e.current.parentNode ? n : Xr(r) : wi, [r]);
6046
6046
  return V(() => {
6047
6047
  e.current = r;
6048
6048
  }, [r]), t;
6049
6049
  }
6050
6050
  function md(r) {
6051
6051
  const [e, t] = Z(null), n = $(r), i = te((s) => {
6052
- const o = cn(s.target);
6053
- o && t((a) => a ? (a.set(o, gn(o)), new Map(a)) : null);
6052
+ const o = dn(s.target);
6053
+ o && t((a) => a ? (a.set(o, vn(o)), new Map(a)) : null);
6054
6054
  }, []);
6055
6055
  return V(() => {
6056
6056
  const s = n.current;
6057
6057
  if (r !== s) {
6058
6058
  o(s);
6059
6059
  const a = r.map((l) => {
6060
- const d = cn(l);
6060
+ const d = dn(l);
6061
6061
  return d ? (d.addEventListener("scroll", i, {
6062
6062
  passive: !0
6063
- }), [d, gn(d)]) : null;
6063
+ }), [d, vn(d)]) : null;
6064
6064
  }).filter((l) => l != null);
6065
6065
  t(a.length ? new Map(a) : null), n.current = r;
6066
6066
  }
@@ -6069,7 +6069,7 @@ function md(r) {
6069
6069
  };
6070
6070
  function o(a) {
6071
6071
  a.forEach((l) => {
6072
- const d = cn(l);
6072
+ const d = dn(l);
6073
6073
  d?.removeEventListener("scroll", i);
6074
6074
  });
6075
6075
  }
@@ -6092,7 +6092,7 @@ function _i(r, e) {
6092
6092
  function pd(r) {
6093
6093
  V(
6094
6094
  () => {
6095
- if (!Ur)
6095
+ if (!qr)
6096
6096
  return;
6097
6097
  const e = r.map((t) => {
6098
6098
  let {
@@ -6136,7 +6136,7 @@ function vd(r, e) {
6136
6136
  function o() {
6137
6137
  s(() => r.length ? r.map((l) => Bs(l) ? n : new Hn(e(l), l)) : Ci);
6138
6138
  }
6139
- const a = Xr({
6139
+ const a = Jr({
6140
6140
  callback: o
6141
6141
  });
6142
6142
  return Ie(() => {
@@ -6170,7 +6170,7 @@ function yd(r) {
6170
6170
  });
6171
6171
  break;
6172
6172
  }
6173
- }, [e]), s = Xr({
6173
+ }, [e]), s = Jr({
6174
6174
  callback: i
6175
6175
  }), o = te((d) => {
6176
6176
  const c = Gs(d);
@@ -6197,7 +6197,7 @@ const bd = [{
6197
6197
  droppable: {
6198
6198
  measure: pi,
6199
6199
  strategy: tr.WhileDragging,
6200
- frequency: yn.Optimized
6200
+ frequency: bn.Optimized
6201
6201
  },
6202
6202
  dragOverlay: {
6203
6203
  measure: Pt
@@ -6384,7 +6384,7 @@ function Ed(r) {
6384
6384
  } = ze(cr), s = Tr(n), o = Tr(t?.id);
6385
6385
  return V(() => {
6386
6386
  if (!e && !n && s && o != null) {
6387
- if (!Yr(s) || document.activeElement === s.target)
6387
+ if (!Kr(s) || document.activeElement === s.target)
6388
6388
  return;
6389
6389
  const a = i.get(o);
6390
6390
  if (!a)
@@ -6473,7 +6473,7 @@ function Sd(r) {
6473
6473
  }
6474
6474
  }, [e, o, a, n, t]);
6475
6475
  }
6476
- const Jr = /* @__PURE__ */ Ze({
6476
+ const Qr = /* @__PURE__ */ Ze({
6477
6477
  ...Pe,
6478
6478
  scaleX: 1,
6479
6479
  scaleY: 1
@@ -6563,13 +6563,13 @@ const Rd = /* @__PURE__ */ Na(function(e) {
6563
6563
  scrollableAncestors: Fe,
6564
6564
  scrollableAncestorRects: wt,
6565
6565
  windowRect: Bt
6566
- }), fr = xt ? Nt(xt, M) : null, mr = md(Fe), tn = _i(mr), pr = _i(mr, [Q]), qe = Nt(gt, tn), _t = tt ? Bc(tt, gt) : null, Ft = A && _t ? u({
6566
+ }), fr = xt ? Nt(xt, M) : null, mr = md(Fe), rn = _i(mr), pr = _i(mr, [Q]), qe = Nt(gt, rn), _t = tt ? Bc(tt, gt) : null, Ft = A && _t ? u({
6567
6567
  active: A,
6568
6568
  collisionRect: _t,
6569
6569
  droppableRects: ie,
6570
6570
  droppableContainers: Je,
6571
6571
  pointerCoordinates: fr
6572
- }) : null, Jn = Os(Ft, "id"), [rt, Qn] = Z(null), To = ur ? gt : Nt(gt, pr), Ao = Ic(To, (s = rt?.rect) != null ? s : null, Q), rn = $(null), ei = te(
6572
+ }) : null, Jn = Os(Ft, "id"), [rt, Qn] = Z(null), To = ur ? gt : Nt(gt, pr), Ao = Ic(To, (s = rt?.rect) != null ? s : null, Q), nn = $(null), ei = te(
6573
6573
  (me, be) => {
6574
6574
  let {
6575
6575
  sensor: xe,
@@ -6642,7 +6642,7 @@ const Rd = /* @__PURE__ */ Na(function(e) {
6642
6642
  }), D({
6643
6643
  type: "onDragStart",
6644
6644
  event: Ht
6645
- }), se(rn.current), ue(we);
6645
+ }), se(nn.current), ue(we);
6646
6646
  });
6647
6647
  },
6648
6648
  onMove(he) {
@@ -6654,7 +6654,7 @@ const Rd = /* @__PURE__ */ Na(function(e) {
6654
6654
  onEnd: Ct(ae.DragEnd),
6655
6655
  onCancel: Ct(ae.DragCancel)
6656
6656
  });
6657
- rn.current = He;
6657
+ nn.current = He;
6658
6658
  function Ct(he) {
6659
6659
  return async function() {
6660
6660
  const {
@@ -6679,11 +6679,11 @@ const Rd = /* @__PURE__ */ Na(function(e) {
6679
6679
  H.current = null, gr(() => {
6680
6680
  S({
6681
6681
  type: he
6682
- }), y(at.Uninitialized), Qn(null), se(null), ue(null), rn.current = null;
6682
+ }), y(at.Uninitialized), Qn(null), se(null), ue(null), nn.current = null;
6683
6683
  const $t = he === ae.DragEnd ? "onDragEnd" : "onDragCancel";
6684
6684
  if (st) {
6685
- const nn = J.current[$t];
6686
- nn?.(st), D({
6685
+ const sn = J.current[$t];
6686
+ sn?.(st), D({
6687
6687
  type: $t,
6688
6688
  event: st
6689
6689
  });
@@ -6844,7 +6844,7 @@ const Rd = /* @__PURE__ */ Na(function(e) {
6844
6844
  value: Lo
6845
6845
  }, G.createElement(Zs.Provider, {
6846
6846
  value: Mo
6847
- }, G.createElement(Jr.Provider, {
6847
+ }, G.createElement(Qr.Provider, {
6848
6848
  value: Ao
6849
6849
  }, d)), G.createElement(Ed, {
6850
6850
  disabled: a?.restoreFocus === !1
@@ -6881,7 +6881,7 @@ function Td(r) {
6881
6881
  role: m = Ei,
6882
6882
  roleDescription: x = "draggable",
6883
6883
  tabIndex: v = 0
6884
- } = i ?? {}, w = l?.id === e, S = ze(w ? Jr : Nd), [D, _] = Dr(), [R, y] = Dr(), b = gd(o, e), g = Qt(t);
6884
+ } = i ?? {}, w = l?.id === e, S = ze(w ? Qr : Nd), [D, _] = Dr(), [R, y] = Dr(), b = gd(o, e), g = Qt(t);
6885
6885
  Ie(
6886
6886
  () => (u.set(e, {
6887
6887
  id: e,
@@ -6957,7 +6957,7 @@ function Md(r) {
6957
6957
  },
6958
6958
  //eslint-disable-next-line react-hooks/exhaustive-deps
6959
6959
  [w]
6960
- ), _ = Xr({
6960
+ ), _ = Jr({
6961
6961
  callback: D,
6962
6962
  disabled: x || !o
6963
6963
  }), R = te((E, M) => {
@@ -7032,14 +7032,14 @@ function Id(r) {
7032
7032
  } = r;
7033
7033
  return G.createElement(cr.Provider, {
7034
7034
  value: Vs
7035
- }, G.createElement(Jr.Provider, {
7035
+ }, G.createElement(Qr.Provider, {
7036
7036
  value: zd
7037
7037
  }, e));
7038
7038
  }
7039
7039
  const Pd = {
7040
7040
  position: "fixed",
7041
7041
  touchAction: "none"
7042
- }, Bd = (r) => Yr(r) ? "transform 250ms ease" : void 0, Fd = /* @__PURE__ */ ye((r, e) => {
7042
+ }, Bd = (r) => Kr(r) ? "transform 250ms ease" : void 0, Fd = /* @__PURE__ */ ye((r, e) => {
7043
7043
  let {
7044
7044
  as: t,
7045
7045
  activatorEvent: n,
@@ -7124,7 +7124,7 @@ function Wd(r) {
7124
7124
  droppableContainers: n,
7125
7125
  measuringConfiguration: i
7126
7126
  } = r;
7127
- return qr((s, o) => {
7127
+ return Yr((s, o) => {
7128
7128
  if (e === null)
7129
7129
  return;
7130
7130
  const a = t.get(s);
@@ -7248,7 +7248,7 @@ const Zd = /* @__PURE__ */ G.memo((r) => {
7248
7248
  scrollableAncestors: _,
7249
7249
  scrollableAncestorRects: R,
7250
7250
  windowRect: y
7251
- } = qs(), b = ze(Jr), g = Vd(u?.id), E = Us(o, {
7251
+ } = qs(), b = ze(Qr), g = Vd(u?.id), E = Us(o, {
7252
7252
  activatorEvent: c,
7253
7253
  active: u,
7254
7254
  activeNodeRect: f,
@@ -7579,7 +7579,7 @@ function nu(r) {
7579
7579
  pt && Q.current.newIndex === R
7580
7580
  )
7581
7581
  return eu;
7582
- if (!(ce && !Yr(N) || !d) && (le || ke))
7582
+ if (!(ce && !Kr(N) || !d) && (le || ke))
7583
7583
  return ut.Transition.toString({
7584
7584
  ...d,
7585
7585
  property: Js
@@ -7647,7 +7647,7 @@ const su = [q.Down, q.Right, q.Up, q.Left], ou = (r, e) => {
7647
7647
  if (c === o?.id && d.length > 1 && (c = d[1].id), c != null) {
7648
7648
  const u = s.get(t.id), f = s.get(c), m = f ? i.get(f.id) : null, x = f?.node.current;
7649
7649
  if (x && m && u && f) {
7650
- const w = Kr(x).some((b, g) => a[g] !== b), S = Qs(u, f), D = au(u, f), _ = w || !S ? {
7650
+ const w = Xr(x).some((b, g) => a[g] !== b), S = Qs(u, f), D = au(u, f), _ = w || !S ? {
7651
7651
  x: 0,
7652
7652
  y: 0
7653
7653
  } : {
@@ -7751,10 +7751,10 @@ const lu = ye(function({ children: e, aside: t, header: n, variant: i = "main-as
7751
7751
  });
7752
7752
  }), Gf = {
7753
7753
  Page: De("Page", lu),
7754
- Block: De("Block", Zr),
7754
+ Block: De("Block", Ur),
7755
7755
  BlockContent: De("BlockContent", uc),
7756
7756
  Group: De("Group", Pn),
7757
- GroupGrid: De("GroupGrid", Vr),
7757
+ GroupGrid: De("GroupGrid", Zr),
7758
7758
  GroupMasonry: De("GroupMasonry", Zn)
7759
7759
  }, Vf = Te({
7760
7760
  name: "StandardLayout",
@@ -7820,12 +7820,12 @@ function zr(r) {
7820
7820
  function pu(r, e) {
7821
7821
  if (typeof e != "function" && e !== null)
7822
7822
  throw new TypeError("Super expression must either be null or a function");
7823
- r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && bn(r, e);
7823
+ r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && xn(r, e);
7824
7824
  }
7825
- function bn(r, e) {
7826
- return bn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
7825
+ function xn(r, e) {
7826
+ return xn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
7827
7827
  return n.__proto__ = i, n;
7828
- }, bn(r, e);
7828
+ }, xn(r, e);
7829
7829
  }
7830
7830
  function to(r, e, t) {
7831
7831
  return e = ro(e), e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
@@ -7844,7 +7844,7 @@ function gu(r, e) {
7844
7844
  }
7845
7845
  return String(r);
7846
7846
  }
7847
- var Qr = /* @__PURE__ */ (function(r) {
7847
+ var en = /* @__PURE__ */ (function(r) {
7848
7848
  function e() {
7849
7849
  return cu(this, e), hu(this, e, arguments);
7850
7850
  }
@@ -7855,8 +7855,8 @@ var Qr = /* @__PURE__ */ (function(r) {
7855
7855
  }
7856
7856
  }]);
7857
7857
  })(G.Component);
7858
- to(Qr, "displayName", "ZAxis");
7859
- to(Qr, "defaultProps", {
7858
+ to(en, "displayName", "ZAxis");
7859
+ to(en, "defaultProps", {
7860
7860
  zAxisId: 0,
7861
7861
  range: [64, 64],
7862
7862
  scale: "auto",
@@ -7992,12 +7992,12 @@ function Ir(r) {
7992
7992
  function Su(r, e) {
7993
7993
  if (typeof e != "function" && e !== null)
7994
7994
  throw new TypeError("Super expression must either be null or a function");
7995
- r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && xn(r, e);
7995
+ r.prototype = Object.create(e && e.prototype, { constructor: { value: r, writable: !0, configurable: !0 } }), Object.defineProperty(r, "prototype", { writable: !1 }), e && wn(r, e);
7996
7996
  }
7997
- function xn(r, e) {
7998
- return xn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
7997
+ function wn(r, e) {
7998
+ return wn = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, i) {
7999
7999
  return n.__proto__ = i, n;
8000
- }, xn(r, e);
8000
+ }, wn(r, e);
8001
8001
  }
8002
8002
  function ct(r, e, t) {
8003
8003
  return e = io(e), e in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
@@ -8037,7 +8037,7 @@ var dr = /* @__PURE__ */ (function(r) {
8037
8037
  return Su(e, r), _u(e, [{
8038
8038
  key: "renderSymbolsStatically",
8039
8039
  value: function(n) {
8040
- var i = this, s = this.props, o = s.shape, a = s.activeShape, l = s.activeIndex, d = sn(this.props, !1);
8040
+ var i = this, s = this.props, o = s.shape, a = s.activeShape, l = s.activeIndex, d = on(this.props, !1);
8041
8041
  return n.map(function(c, u) {
8042
8042
  var f = l === u, m = f ? a : o, x = Re(Re({}, d), c);
8043
8043
  return /* @__PURE__ */ G.createElement(Wt, Kt({
@@ -8124,7 +8124,7 @@ var dr = /* @__PURE__ */ (function(r) {
8124
8124
  }, {
8125
8125
  key: "renderLine",
8126
8126
  value: function() {
8127
- var n = this.props, i = n.points, s = n.line, o = n.lineType, a = n.lineJointType, l = sn(this.props, !1), d = sn(s, !1), c, u;
8127
+ var n = this.props, i = n.points, s = n.line, o = n.lineType, a = n.lineJointType, l = on(this.props, !1), d = on(s, !1), c, u;
8128
8128
  if (o === "joint")
8129
8129
  c = i.map(function(_) {
8130
8130
  return {
@@ -8208,7 +8208,7 @@ ct(dr, "defaultProps", {
8208
8208
  animationEasing: "linear"
8209
8209
  });
8210
8210
  ct(dr, "getComposedData", function(r) {
8211
- var e = r.xAxis, t = r.yAxis, n = r.zAxis, i = r.item, s = r.displayedData, o = r.xAxisTicks, a = r.yAxisTicks, l = r.offset, d = i.props.tooltipType, c = cs(i.props.children, Wa), u = Et(e.dataKey) ? i.props.dataKey : e.dataKey, f = Et(t.dataKey) ? i.props.dataKey : t.dataKey, m = n && n.dataKey, x = n ? n.range : Qr.defaultProps.range, v = x && x[0], w = e.scale.bandwidth ? e.scale.bandwidth() : 0, S = t.scale.bandwidth ? t.scale.bandwidth() : 0, D = s.map(function(_, R) {
8211
+ var e = r.xAxis, t = r.yAxis, n = r.zAxis, i = r.item, s = r.displayedData, o = r.xAxisTicks, a = r.yAxisTicks, l = r.offset, d = i.props.tooltipType, c = cs(i.props.children, Wa), u = Et(e.dataKey) ? i.props.dataKey : e.dataKey, f = Et(t.dataKey) ? i.props.dataKey : t.dataKey, m = n && n.dataKey, x = n ? n.range : en.defaultProps.range, v = x && x[0], w = e.scale.bandwidth ? e.scale.bandwidth() : 0, S = t.scale.bandwidth ? t.scale.bandwidth() : 0, D = s.map(function(_, R) {
8212
8212
  var y = xr(_, u), b = xr(_, f), g = !Et(m) && xr(_, m) || "-", E = [{
8213
8213
  name: Et(e.dataKey) ? i.props.name : e.name || e.dataKey,
8214
8214
  unit: e.unit || "",
@@ -8283,10 +8283,10 @@ var Nu = Ga({
8283
8283
  AxisComp: fs
8284
8284
  }, {
8285
8285
  axisType: "yAxis",
8286
- AxisComp: pn
8286
+ AxisComp: gn
8287
8287
  }, {
8288
8288
  axisType: "zAxis",
8289
- AxisComp: Qr
8289
+ AxisComp: en
8290
8290
  }],
8291
8291
  formatAxisMap: Za
8292
8292
  });
@@ -8350,7 +8350,7 @@ const Du = (r) => {
8350
8350
  })
8351
8351
  }), !o && h(Qa, {
8352
8352
  ...el()
8353
- }), y.length > 0 && h(pn, {
8353
+ }), y.length > 0 && h(gn, {
8354
8354
  ...oi(n),
8355
8355
  tick: !0,
8356
8356
  width: n.width ?? R + 20 + (b.length > 0 && y[0]?.axisLabel ? 20 : 0),
@@ -8360,7 +8360,7 @@ const Du = (r) => {
8360
8360
  angle: -90,
8361
8361
  position: "insideLeft"
8362
8362
  } : void 0
8363
- }), b.length > 0 && h(pn, {
8363
+ }), b.length > 0 && h(gn, {
8364
8364
  ...oi(n),
8365
8365
  yAxisId: "right",
8366
8366
  orientation: "right",
@@ -8399,7 +8399,7 @@ const Du = (r) => {
8399
8399
  }), w.map((g, E) => h(hs, {
8400
8400
  isAnimationActive: !1,
8401
8401
  dataKey: String(g),
8402
- fill: r[g].color ? Vt(r[g].color) : on(E),
8402
+ fill: r[g].color ? Vt(r[g].color) : an(E),
8403
8403
  radius: 4,
8404
8404
  maxBarSize: 32,
8405
8405
  children: i && h(ds, {
@@ -8411,14 +8411,14 @@ const Du = (r) => {
8411
8411
  }, `bar-${String(g)}`)), S.map((g, E) => h(us, {
8412
8412
  type: u?.lineType ?? "natural",
8413
8413
  dataKey: String(g),
8414
- stroke: r[g].color ? Vt(r[g].color) : on(w.length + E),
8414
+ stroke: r[g].color ? Vt(r[g].color) : an(w.length + E),
8415
8415
  strokeWidth: 2,
8416
8416
  dot: u?.dot ?? !1,
8417
8417
  isAnimationActive: !1,
8418
8418
  yAxisId: u?.axisPosition === "right" ? "right" : void 0
8419
8419
  }, `line-${String(g)}`)), D.map((g, E) => h(dr, {
8420
8420
  dataKey: String(g),
8421
- fill: r[g].color ? Vt(r[g].color) : on(w.length + S.length + E),
8421
+ fill: r[g].color ? Vt(r[g].color) : an(w.length + S.length + E),
8422
8422
  r: 4,
8423
8423
  isAnimationActive: !1,
8424
8424
  yAxisId: f?.axisPosition === "right" ? "right" : void 0,
@@ -9417,7 +9417,7 @@ const Ju = mt({
9417
9417
  md: ur,
9418
9418
  lg: hr,
9419
9419
  xl: Bt
9420
- }, tn = Qu.map((pr) => {
9420
+ }, rn = Qu.map((pr) => {
9421
9421
  const qe = mr[pr];
9422
9422
  return qe ? Xu(pr, qe) : "";
9423
9423
  }).filter(Boolean).join(" ");
@@ -9476,7 +9476,7 @@ const Ju = mt({
9476
9476
  flexWrap: Qe,
9477
9477
  grow: Me,
9478
9478
  shrink: et
9479
- }), tn, fr && !A && "border-f1-border", Oe && !Ee && "divide-f1-border", "scrollbar-macos"),
9479
+ }), rn, fr && !A && "border-f1-border", Oe && !Ee && "divide-f1-border", "scrollbar-macos"),
9480
9480
  ...Fe
9481
9481
  });
9482
9482
  });
@@ -9498,7 +9498,7 @@ const nm = Te({
9498
9498
  "flubber",
9499
9499
  "indigo",
9500
9500
  "camel"
9501
- ], wn = ({ count: r, list: e }) => {
9501
+ ], _n = ({ count: r, list: e }) => {
9502
9502
  const [t, n] = Z(!1), i = h(_r, {
9503
9503
  label: `+${r}`
9504
9504
  });
@@ -9529,7 +9529,7 @@ const nm = Te({
9529
9529
  })]
9530
9530
  }) : i;
9531
9531
  };
9532
- wn.displayName = "ChipCounter";
9532
+ _n.displayName = "ChipCounter";
9533
9533
  const yo = ({ chips: r, max: e = 4, remainingCount: t, layout: n = "compact" }) => {
9534
9534
  if (n === "fill")
9535
9535
  return h(Vo, {
@@ -9539,7 +9539,7 @@ const yo = ({ chips: r, max: e = 4, remainingCount: t, layout: n = "compact" })
9539
9539
  }),
9540
9540
  renderDropdownItem: () => null,
9541
9541
  forceShowingOverflowIndicator: t !== void 0,
9542
- renderOverflowIndicator: (l) => h(wn, {
9542
+ renderOverflowIndicator: (l) => h(_n, {
9543
9543
  count: (t ?? 0) + l,
9544
9544
  list: t ? void 0 : r.slice(r.length - l)
9545
9545
  }),
@@ -9551,7 +9551,7 @@ const yo = ({ chips: r, max: e = 4, remainingCount: t, layout: n = "compact" })
9551
9551
  className: "flex items-center gap-2",
9552
9552
  children: [i.map((l, d) => h(_r, {
9553
9553
  ...l
9554
- }, d)), a && h(wn, {
9554
+ }, d)), a && h(_n, {
9555
9555
  count: o,
9556
9556
  list: t ? void 0 : s
9557
9557
  })]
@@ -9641,7 +9641,7 @@ const hm = De("F0ChipList", yo), fm = Zo, eh = mt({
9641
9641
  });
9642
9642
  }, rh = 388;
9643
9643
  function nh({ filters: r, value: e, onChange: t, height: n, width: i = 600, className: s, showApplyButton: o = !0, applyButtonLabel: a }) {
9644
- const l = Tn(), [d, c] = Z(null), [u, f] = Z(e);
9644
+ const l = Gr(), [d, c] = Z(null), [u, f] = Z(e);
9645
9645
  V(() => {
9646
9646
  f(e);
9647
9647
  }, [e]), V(() => {
@@ -9746,7 +9746,7 @@ function ah(r) {
9746
9746
  const e = Be(r);
9747
9747
  return ne(e, "ZodString") ? oh(r) : !0;
9748
9748
  }
9749
- function en(r, e) {
9749
+ function tn(r, e) {
9750
9750
  const t = e[r.fieldId];
9751
9751
  if ("equalsTo" in r)
9752
9752
  return r.equalsTo instanceof Date && t instanceof Date ? t.getTime() === r.equalsTo.getTime() : t === r.equalsTo;
@@ -9789,8 +9789,8 @@ function ch({ field: r, formField: e }) {
9789
9789
  onCheckedChange: e.onChange
9790
9790
  });
9791
9791
  }
9792
- function dh({ field: r, formField: e, error: t, isValidating: n }) {
9793
- const i = {
9792
+ function dh({ field: r, formField: e, error: t, isValidating: n, required: i }) {
9793
+ const s = {
9794
9794
  id: r.id,
9795
9795
  label: r.label,
9796
9796
  placeholder: r.placeholder,
@@ -9800,10 +9800,11 @@ function dh({ field: r, formField: e, error: t, isValidating: n }) {
9800
9800
  error: t,
9801
9801
  isValidating: n,
9802
9802
  disabled: r.disabled,
9803
+ required: i,
9803
9804
  config: r.fieldConfig
9804
9805
  };
9805
9806
  return h(sr, {
9806
- children: r.render(i)
9807
+ children: r.render(s)
9807
9808
  });
9808
9809
  }
9809
9810
  function uh(r, e) {
@@ -10044,53 +10045,53 @@ function Rh({ field: r, formField: e, error: t, loading: n }) {
10044
10045
  loading: n
10045
10046
  });
10046
10047
  }
10047
- function Nh({ field: r, formField: e, fieldState: t, isSubmitting: n }) {
10048
- const i = !!t.error, { isValidating: s } = t, o = r.disabled || n, a = {
10049
- error: i,
10050
- loading: s
10048
+ function Nh({ field: r, formField: e, fieldState: t, isSubmitting: n, isRequired: i }) {
10049
+ const s = !!t.error, { isValidating: o } = t, a = r.disabled || n, l = {
10050
+ error: s,
10051
+ loading: o
10051
10052
  };
10052
10053
  switch (r.type) {
10053
10054
  case "text":
10054
10055
  return h(Sh, {
10055
10056
  field: {
10056
10057
  ...r,
10057
- disabled: o
10058
+ disabled: a
10058
10059
  },
10059
10060
  formField: e,
10060
- ...a
10061
+ ...l
10061
10062
  });
10062
10063
  case "number":
10063
10064
  return h(vh, {
10064
10065
  field: {
10065
10066
  ...r,
10066
- disabled: o
10067
+ disabled: a
10067
10068
  },
10068
10069
  formField: e,
10069
- ...a
10070
+ ...l
10070
10071
  });
10071
10072
  case "textarea":
10072
10073
  return h(Rh, {
10073
10074
  field: {
10074
10075
  ...r,
10075
- disabled: o
10076
+ disabled: a
10076
10077
  },
10077
10078
  formField: e,
10078
- ...a
10079
+ ...l
10079
10080
  });
10080
10081
  case "select":
10081
10082
  return h(wh, {
10082
10083
  field: {
10083
10084
  ...r,
10084
- disabled: o
10085
+ disabled: a
10085
10086
  },
10086
10087
  formField: e,
10087
- ...a
10088
+ ...l
10088
10089
  });
10089
10090
  case "checkbox":
10090
10091
  return h(ch, {
10091
10092
  field: {
10092
10093
  ...r,
10093
- disabled: o
10094
+ disabled: a
10094
10095
  },
10095
10096
  formField: e
10096
10097
  });
@@ -10098,7 +10099,7 @@ function Nh({ field: r, formField: e, fieldState: t, isSubmitting: n }) {
10098
10099
  return h(Ch, {
10099
10100
  field: {
10100
10101
  ...r,
10101
- disabled: o
10102
+ disabled: a
10102
10103
  },
10103
10104
  formField: e
10104
10105
  });
@@ -10106,25 +10107,25 @@ function Nh({ field: r, formField: e, fieldState: t, isSubmitting: n }) {
10106
10107
  return h(fh, {
10107
10108
  field: {
10108
10109
  ...r,
10109
- disabled: o
10110
+ disabled: a
10110
10111
  },
10111
10112
  formField: e,
10112
- ...a
10113
+ ...l
10113
10114
  });
10114
10115
  case "daterange":
10115
10116
  return h(gh, {
10116
10117
  field: {
10117
10118
  ...r,
10118
- disabled: o
10119
+ disabled: a
10119
10120
  },
10120
10121
  formField: e,
10121
- ...a
10122
+ ...l
10122
10123
  });
10123
10124
  case "richtext":
10124
10125
  return h(yh, {
10125
10126
  field: {
10126
10127
  ...r,
10127
- disabled: o
10128
+ disabled: a
10128
10129
  },
10129
10130
  formField: e
10130
10131
  });
@@ -10132,41 +10133,44 @@ function Nh({ field: r, formField: e, fieldState: t, isSubmitting: n }) {
10132
10133
  return h(dh, {
10133
10134
  field: {
10134
10135
  ...r,
10135
- disabled: o
10136
+ disabled: a
10136
10137
  },
10137
10138
  formField: e,
10138
- error: t.error?.message,
10139
- isValidating: s
10139
+ isValidating: o,
10140
+ required: i
10140
10141
  });
10141
10142
  default:
10142
10143
  return null;
10143
10144
  }
10144
10145
  }
10145
10146
  function Kn({ field: r, sectionId: e }) {
10146
- const t = On(), n = t.watch(), { isSubmitting: i } = t.formState, { formName: s } = xo(), o = !r.renderIf || en(r.renderIf, n), a = r.type !== "checkbox" && r.type !== "custom", l = r.validation && ah(r.validation), d = Pr(s, e, r.id);
10147
- return o ? h(li, {
10147
+ const t = On(), n = t.watch(), { isSubmitting: i } = t.formState, { formName: s } = xo(), { forms: o } = Gr(), a = !r.renderIf || tn(r.renderIf, n), l = r.type !== "checkbox" && r.type !== "custom", d = r.validation && ah(r.validation), c = Pr(s, e, r.id);
10148
+ return a ? h(li, {
10148
10149
  control: t.control,
10149
10150
  name: r.id,
10150
- render: ({ field: c, fieldState: u }) => I(yl, {
10151
- id: d,
10151
+ render: ({ field: u, fieldState: f }) => I(yl, {
10152
+ id: c,
10152
10153
  className: "scroll-mt-4",
10153
- children: [a && I("label", {
10154
+ children: [l && I("label", {
10154
10155
  htmlFor: r.id,
10155
10156
  className: "text-base font-medium leading-normal text-f1-foreground-secondary",
10156
- children: [r.label, l && h("span", {
10157
+ children: [r.label, d && h("span", {
10157
10158
  className: "ml-0.5 text-f1-foreground-critical",
10158
10159
  children: "*"
10159
10160
  })]
10160
10161
  }), h(bl, {
10161
10162
  children: Nh({
10162
10163
  field: r,
10163
- formField: c,
10164
- fieldState: u,
10165
- isSubmitting: i
10164
+ formField: u,
10165
+ fieldState: f,
10166
+ isSubmitting: i,
10167
+ isRequired: d
10166
10168
  })
10167
10169
  }), r.helpText && h(xl, {
10168
10170
  children: r.helpText
10169
- }), h(wl, {})]
10171
+ }), h(wl, {
10172
+ fallback: d ? o.validation.required : o.validation.invalidType
10173
+ })]
10170
10174
  })
10171
10175
  }) : h(li, {
10172
10176
  control: t.control,
@@ -10191,7 +10195,7 @@ function Dh(r) {
10191
10195
  return ne(e, "ZodLiteral") && e._def.value === !0;
10192
10196
  }
10193
10197
  function Co({ fields: r }) {
10194
- const e = On(), { watch: t, setValue: n } = e, { isSubmitting: i } = e.formState, s = t(), o = F(() => r.filter((c) => !c.renderIf || en(c.renderIf, s)), [r, s]), a = F(() => o.map((c) => ({
10198
+ const e = On(), { watch: t, setValue: n } = e, { isSubmitting: i } = e.formState, s = t(), o = F(() => r.filter((c) => !c.renderIf || tn(c.renderIf, s)), [r, s]), a = F(() => o.map((c) => ({
10195
10199
  value: c.id,
10196
10200
  title: c.label,
10197
10201
  description: c.helpText,
@@ -10215,7 +10219,7 @@ function Co({ fields: r }) {
10215
10219
  });
10216
10220
  }
10217
10221
  function Th(r, e) {
10218
- return typeof r == "function" ? r(e) : en(r, e);
10222
+ return typeof r == "function" ? r(e) : tn(r, e);
10219
10223
  }
10220
10224
  function Ah(r) {
10221
10225
  const e = [];
@@ -10435,7 +10439,7 @@ class Xe extends Error {
10435
10439
  }
10436
10440
  }
10437
10441
  Xe.create = (r) => new Xe(r);
10438
- const _n = (r, e) => {
10442
+ const Cn = (r, e) => {
10439
10443
  let t;
10440
10444
  switch (r.code) {
10441
10445
  case k.invalid_type:
@@ -10491,7 +10495,7 @@ const _n = (r, e) => {
10491
10495
  }
10492
10496
  return { message: t };
10493
10497
  };
10494
- let Mh = _n;
10498
+ let Mh = Cn;
10495
10499
  function Lh() {
10496
10500
  return Mh;
10497
10501
  }
@@ -10528,7 +10532,7 @@ function O(r, e) {
10528
10532
  // then schema-bound map if available
10529
10533
  t,
10530
10534
  // then global override map
10531
- t === _n ? void 0 : _n
10535
+ t === Cn ? void 0 : Cn
10532
10536
  // then global default map
10533
10537
  ].filter((i) => !!i)
10534
10538
  });
@@ -10791,7 +10795,7 @@ class Y {
10791
10795
  }
10792
10796
  default(e) {
10793
10797
  const t = typeof e == "function" ? e : () => e;
10794
- return new kn({
10798
+ return new Sn({
10795
10799
  ...U(this._def),
10796
10800
  innerType: this,
10797
10801
  defaultValue: t,
@@ -10807,7 +10811,7 @@ class Y {
10807
10811
  }
10808
10812
  catch(e) {
10809
10813
  const t = typeof e == "function" ? e : () => e;
10810
- return new Sn({
10814
+ return new Rn({
10811
10815
  ...U(this._def),
10812
10816
  innerType: this,
10813
10817
  catchValue: t,
@@ -10825,7 +10829,7 @@ class Y {
10825
10829
  return Xn.create(this, e);
10826
10830
  }
10827
10831
  readonly() {
10828
- return Rn.create(this);
10832
+ return Nn.create(this);
10829
10833
  }
10830
10834
  isOptional() {
10831
10835
  return this.safeParse(void 0).success;
@@ -10835,7 +10839,7 @@ class Y {
10835
10839
  }
10836
10840
  }
10837
10841
  const Ih = /^c[^\s-]{8,}$/i, Ph = /^[0-9a-z]+$/, Bh = /^[0-9A-HJKMNP-TV-Z]{26}$/i, Fh = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, Hh = /^[a-z0-9_-]{21}$/i, jh = /^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/, $h = /^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/, Wh = /^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, Gh = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
10838
- let hn;
10842
+ let fn;
10839
10843
  const Vh = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, Zh = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/, Uh = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/, qh = /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Yh = /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/, Kh = /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/, Eo = "((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))", Xh = new RegExp(`^${Eo}$`);
10840
10844
  function ko(r) {
10841
10845
  let e = "[0-5]\\d";
@@ -10925,7 +10929,7 @@ class vt extends Y {
10925
10929
  message: s.message
10926
10930
  }), n.dirty());
10927
10931
  else if (s.kind === "emoji")
10928
- hn || (hn = new RegExp(Gh, "u")), hn.test(e.data) || (i = this._getOrReturnCtx(e, i), O(i, {
10932
+ fn || (fn = new RegExp(Gh, "u")), fn.test(e.data) || (i = this._getOrReturnCtx(e, i), O(i, {
10929
10933
  validation: "emoji",
10930
10934
  code: k.invalid_string,
10931
10935
  message: s.message
@@ -11709,7 +11713,7 @@ Ii.create = (r) => new Ii({
11709
11713
  typeName: W.ZodNull,
11710
11714
  ...U(r)
11711
11715
  });
11712
- class Cn extends Y {
11716
+ class En extends Y {
11713
11717
  constructor() {
11714
11718
  super(...arguments), this._any = !0;
11715
11719
  }
@@ -11717,7 +11721,7 @@ class Cn extends Y {
11717
11721
  return Ae(e.data);
11718
11722
  }
11719
11723
  }
11720
- Cn.create = (r) => new Cn({
11724
+ En.create = (r) => new En({
11721
11725
  typeName: W.ZodAny,
11722
11726
  ...U(r)
11723
11727
  });
@@ -12213,14 +12217,14 @@ Hr.create = (r, e) => new Hr({
12213
12217
  typeName: W.ZodUnion,
12214
12218
  ...U(e)
12215
12219
  });
12216
- function En(r, e) {
12220
+ function kn(r, e) {
12217
12221
  const t = lt(r), n = lt(e);
12218
12222
  if (r === e)
12219
12223
  return { valid: !0, data: r };
12220
12224
  if (t === L.object && n === L.object) {
12221
12225
  const i = K.objectKeys(e), s = K.objectKeys(r).filter((a) => i.indexOf(a) !== -1), o = { ...r, ...e };
12222
12226
  for (const a of s) {
12223
- const l = En(r[a], e[a]);
12227
+ const l = kn(r[a], e[a]);
12224
12228
  if (!l.valid)
12225
12229
  return { valid: !1 };
12226
12230
  o[a] = l.data;
@@ -12231,7 +12235,7 @@ function En(r, e) {
12231
12235
  return { valid: !1 };
12232
12236
  const i = [];
12233
12237
  for (let s = 0; s < r.length; s++) {
12234
- const o = r[s], a = e[s], l = En(o, a);
12238
+ const o = r[s], a = e[s], l = kn(o, a);
12235
12239
  if (!l.valid)
12236
12240
  return { valid: !1 };
12237
12241
  i.push(l.data);
@@ -12244,7 +12248,7 @@ class jr extends Y {
12244
12248
  const { status: t, ctx: n } = this._processInputParams(e), i = (s, o) => {
12245
12249
  if (Ti(s) || Ti(o))
12246
12250
  return j;
12247
- const a = En(s.value, o.value);
12251
+ const a = kn(s.value, o.value);
12248
12252
  return a.valid ? ((Ai(s) || Ai(o)) && t.dirty(), { status: t.value, value: a.data }) : (O(n, {
12249
12253
  code: k.invalid_intersection_types
12250
12254
  }), j);
@@ -12708,7 +12712,7 @@ Lt.create = (r, e) => new Lt({
12708
12712
  typeName: W.ZodNullable,
12709
12713
  ...U(e)
12710
12714
  });
12711
- class kn extends Y {
12715
+ class Sn extends Y {
12712
12716
  _parse(e) {
12713
12717
  const { ctx: t } = this._processInputParams(e);
12714
12718
  let n = t.data;
@@ -12722,13 +12726,13 @@ class kn extends Y {
12722
12726
  return this._def.innerType;
12723
12727
  }
12724
12728
  }
12725
- kn.create = (r, e) => new kn({
12729
+ Sn.create = (r, e) => new Sn({
12726
12730
  innerType: r,
12727
12731
  typeName: W.ZodDefault,
12728
12732
  defaultValue: typeof e.default == "function" ? e.default : () => e.default,
12729
12733
  ...U(e)
12730
12734
  });
12731
- class Sn extends Y {
12735
+ class Rn extends Y {
12732
12736
  _parse(e) {
12733
12737
  const { ctx: t } = this._processInputParams(e), n = {
12734
12738
  ...t,
@@ -12765,7 +12769,7 @@ class Sn extends Y {
12765
12769
  return this._def.innerType;
12766
12770
  }
12767
12771
  }
12768
- Sn.create = (r, e) => new Sn({
12772
+ Rn.create = (r, e) => new Rn({
12769
12773
  innerType: r,
12770
12774
  typeName: W.ZodCatch,
12771
12775
  catchValue: typeof e.catch == "function" ? e.catch : () => e.catch,
@@ -12841,7 +12845,7 @@ class Xn extends Y {
12841
12845
  });
12842
12846
  }
12843
12847
  }
12844
- class Rn extends Y {
12848
+ class Nn extends Y {
12845
12849
  _parse(e) {
12846
12850
  const t = this._def.innerType._parse(e), n = (i) => (At(i) && (i.value = Object.freeze(i.value)), i);
12847
12851
  return Br(t) ? t.then((i) => n(i)) : n(t);
@@ -12850,7 +12854,7 @@ class Rn extends Y {
12850
12854
  return this._def.innerType;
12851
12855
  }
12852
12856
  }
12853
- Rn.create = (r, e) => new Rn({
12857
+ Nn.create = (r, e) => new Nn({
12854
12858
  innerType: r,
12855
12859
  typeName: W.ZodReadonly,
12856
12860
  ...U(e)
@@ -12859,7 +12863,7 @@ var W;
12859
12863
  (function(r) {
12860
12864
  r.ZodString = "ZodString", r.ZodNumber = "ZodNumber", r.ZodNaN = "ZodNaN", r.ZodBigInt = "ZodBigInt", r.ZodBoolean = "ZodBoolean", r.ZodDate = "ZodDate", r.ZodSymbol = "ZodSymbol", r.ZodUndefined = "ZodUndefined", r.ZodNull = "ZodNull", r.ZodAny = "ZodAny", r.ZodUnknown = "ZodUnknown", r.ZodNever = "ZodNever", r.ZodVoid = "ZodVoid", r.ZodArray = "ZodArray", r.ZodObject = "ZodObject", r.ZodUnion = "ZodUnion", r.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", r.ZodIntersection = "ZodIntersection", r.ZodTuple = "ZodTuple", r.ZodRecord = "ZodRecord", r.ZodMap = "ZodMap", r.ZodSet = "ZodSet", r.ZodFunction = "ZodFunction", r.ZodLazy = "ZodLazy", r.ZodLiteral = "ZodLiteral", r.ZodEnum = "ZodEnum", r.ZodEffects = "ZodEffects", r.ZodNativeEnum = "ZodNativeEnum", r.ZodOptional = "ZodOptional", r.ZodNullable = "ZodNullable", r.ZodDefault = "ZodDefault", r.ZodCatch = "ZodCatch", r.ZodPromise = "ZodPromise", r.ZodBranded = "ZodBranded", r.ZodPipeline = "ZodPipeline", r.ZodReadonly = "ZodReadonly";
12861
12865
  })(W || (W = {}));
12862
- const of = Cn.create;
12866
+ const of = En.create;
12863
12867
  ft.create;
12864
12868
  Ve.create;
12865
12869
  const af = oe.create;
@@ -12884,7 +12888,7 @@ function cf(r, e) {
12884
12888
  n[i] = s;
12885
12889
  continue;
12886
12890
  }
12887
- en(o.renderIf, e) ? n[i] = s : n[i] = of();
12891
+ tn(o.renderIf, e) ? n[i] = s : n[i] = of();
12888
12892
  }
12889
12893
  return af(n);
12890
12894
  }
@@ -13321,7 +13325,7 @@ const bf = {
13321
13325
  "on-submit": "onSubmit"
13322
13326
  };
13323
13327
  function xf(r) {
13324
- const e = Tn(), { forms: t } = e, { name: n, schema: i, sections: s, defaultValues: o, onSubmit: a, submitConfig: l, className: d, errorTriggerMode: c = "on-blur" } = r, u = l?.type === "action-bar", f = l?.label ?? "Submit", m = l?.icon === null ? void 0 : l?.icon ?? ra, x = !u, v = l?.type === "action-bar" && l?.discardable, w = u ? l?.discardConfig : void 0, S = w?.label ?? t.actionBar.discard, D = w?.icon === null ? void 0 : w?.icon ?? na, _ = u ? l?.actionBarLabel ?? t.actionBar.unsavedChanges : t.actionBar.unsavedChanges, R = u && !!l?.centerActionBarInFrameContent, y = gf(i, s), b = F(() => vf(e), [e]), g = bf[c], E = F(() => lf(i, {
13328
+ const e = Gr(), { forms: t } = e, { name: n, schema: i, sections: s, defaultValues: o, onSubmit: a, submitConfig: l, className: d, errorTriggerMode: c = "on-blur" } = r, u = l?.type === "action-bar", f = l?.label ?? "Submit", m = l?.icon === null ? void 0 : l?.icon ?? ra, x = !u, v = l?.type === "action-bar" && l?.discardable, w = u ? l?.discardConfig : void 0, S = w?.label ?? t.actionBar.discard, D = w?.icon === null ? void 0 : w?.icon ?? na, _ = u ? l?.actionBarLabel ?? t.actionBar.unsavedChanges : t.actionBar.unsavedChanges, R = u && !!l?.centerActionBarInFrameContent, y = gf(i, s), b = F(() => vf(e), [e]), g = bf[c], E = F(() => lf(i, {
13325
13329
  errorMap: b
13326
13330
  }), [i, b]), M = kl({
13327
13331
  resolver: E,
@@ -13443,7 +13447,7 @@ wf.displayName = "F0Heading";
13443
13447
  const bm = De(
13444
13448
  "F0GridStack",
13445
13449
  zn
13446
- ), fn = 16, _f = mt({
13450
+ ), mn = 16, _f = mt({
13447
13451
  base: "h-0.5 rounded-full bg-f1-foreground cursor-pointer",
13448
13452
  variants: {
13449
13453
  depth: {
@@ -13484,9 +13488,9 @@ function No(r, e = 0) {
13484
13488
  }
13485
13489
  function Cf(r, e) {
13486
13490
  const t = r.length;
13487
- if (t <= fn) return r;
13488
- const n = t / (fn - 1), i = new Set(Array.from({
13489
- length: fn - 1
13491
+ if (t <= mn) return r;
13492
+ const n = t / (mn - 1), i = new Set(Array.from({
13493
+ length: mn - 1
13490
13494
  }, (s, o) => Math.min(Math.floor(o * n), t - 1)));
13491
13495
  if (i.add(t - 1), e) {
13492
13496
  const s = r.findIndex((o) => o.id === e);
@@ -13655,7 +13659,7 @@ function Af({ isOpen: r, onClose: e, title: t, children: n, module: i, portalCon
13655
13659
  module: i,
13656
13660
  size: "lg"
13657
13661
  }), t]
13658
- }), h(Dn, {
13662
+ }), h(Tn, {
13659
13663
  variant: "outline",
13660
13664
  icon: is,
13661
13665
  onClick: e,
@@ -14080,7 +14084,7 @@ export {
14080
14084
  fm as datepickerSizes,
14081
14085
  yg as defaultTranslations,
14082
14086
  xp as downloadTableAsExcel,
14083
- en as evaluateRenderIf,
14087
+ tn as evaluateRenderIf,
14084
14088
  De as experimental,
14085
14089
  pm as f0FormField,
14086
14090
  wp as f0MarkdownRenderers,