@factorialco/f0-react 1.244.0 → 1.244.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/f0.js CHANGED
@@ -1,9 +1,9 @@
1
- import { C as _, L as pt, S as xe, a as mt, f as ne, b as K, c as ht, A as vt, i as U, d as yt, e as Te, E as bt, g as X, h as gt, j as xt, k as wt, l as Pt, m as $, n as De, u as Ct, G as St, o as Nt, p as we, q as At, r as _e, s as Ot, B as Ie, X as Ee, Y as le, t as kt, v as je, w as Lt, x as Ft, y as Tt, z as Dt, D as _t, F as It, H as Et, I as jt, J as Pe, K as $t, M as W, N as oe, O as Mt, P as Bt, Q as Rt, R as $e, T as I, U as zt, V as Kt, W as Wt, Z as Gt, _ as qt, $ as Vt, a0 as Z, a1 as Me, a2 as Be, a3 as Ht, a4 as Re, a5 as ze, a6 as Ke, a7 as We, a8 as Yt, a9 as Ge, aa as Jt, ab as Ut, ac as Xt, ad as Ce, ae as ie, af as Zt, ag as Qt, ah as qe, ai as ea, aj as ta, ak as Ve, al as aa, am as ra, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as He, at as B, au as Ye, av as ca, aw as ua, ax as Se, ay as da, az as Je, aA as fa, aB as pa, aC as ma, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Ca } from "./hooks-DfWgtHhy.js";
2
- import { bl as Hr, aM as Yr, bn as Jr, bw as Ur, aN as Xr, aO as Zr, aP as Qr, aQ as en, aR as tn, aS as an, aT as rn, aU as nn, aW as on, aX as sn, aY as ln, aZ as cn, bs as un, b0 as dn, b1 as fn, b2 as pn, b3 as mn, b6 as hn, b7 as vn, b8 as yn, b9 as bn, bb as gn, a$ as xn, ba as wn, b5 as Pn, bt as Cn, bm as Sn, bg as Nn, bj as An, bf as On, bx as kn, be as Ln, bd as Fn, aV as Tn, a_ as Dn, b4 as _n, bc as In, bh as En, bo as jn, bp as $n, bq as Mn, by as Bn, bi as Rn, br as zn, bv as Kn, bk as Wn, bu as Gn } from "./hooks-DfWgtHhy.js";
1
+ import { C as I, L as pt, S as xe, a as mt, f as ne, b as K, c as ht, A as vt, i as U, d as yt, e as De, E as bt, g as X, h as gt, j as xt, k as wt, l as Pt, m as $, n as Fe, u as St, G as Ct, o as Nt, p as we, q as At, r as Ie, s as Ot, B as _e, X as Ee, Y as le, t as kt, v as je, w as Lt, x as Tt, y as Dt, z as Ft, D as It, F as _t, H as Et, I as jt, J as Pe, K as $t, M as W, N as oe, O as Mt, P as Bt, Q as Rt, R as $e, T as _, U as zt, V as Kt, W as Wt, Z as Gt, _ as qt, $ as Vt, a0 as Z, a1 as Me, a2 as Be, a3 as Yt, a4 as Re, a5 as ze, a6 as Ke, a7 as We, a8 as Ht, a9 as Ge, aa as Jt, ab as Ut, ac as Xt, ad as Se, ae as ie, af as Zt, ag as Qt, ah as qe, ai as ea, aj as ta, ak as Ve, al as aa, am as ra, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as Ye, at as B, au as He, av as ca, aw as ua, ax as Ce, ay as da, az as Je, aA as fa, aB as pa, aC as ma, aD as ha, aE as va, aF as ya, aG as ba, aH as ga, aI as xa, aJ as wa, aK as Pa, aL as Sa } from "./hooks-DfWgtHhy.js";
2
+ import { bl as Yr, aM as Hr, bn as Jr, bw as Ur, aN as Xr, aO as Zr, aP as Qr, aQ as en, aR as tn, aS as an, aT as rn, aU as nn, aW as on, aX as sn, aY as ln, aZ as cn, bs as un, b0 as dn, b1 as fn, b2 as pn, b3 as mn, b6 as hn, b7 as vn, b8 as yn, b9 as bn, bb as gn, a$ as xn, ba as wn, b5 as Pn, bt as Sn, bm as Cn, bg as Nn, bj as An, bf as On, bx as kn, be as Ln, bd as Tn, aV as Dn, a_ as Fn, b4 as In, bc as _n, bh as En, bo as jn, bp as $n, bq as Mn, by as Bn, bi as Rn, br as zn, bv as Kn, bk as Wn, bu as Gn } from "./hooks-DfWgtHhy.js";
3
3
  import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
- import k, { PureComponent as Sa, useState as F, forwardRef as V, useEffect as M, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Na, Children as Aa, createContext as Oa } from "react";
6
- const Cr = {
5
+ import k, { PureComponent as Ca, useState as T, forwardRef as V, useEffect as M, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Na, Children as Aa, createContext as Oa } from "react";
6
+ const Sr = {
7
7
  approvals: {
8
8
  history: "Approval history",
9
9
  statuses: {
@@ -203,13 +203,13 @@ const Cr = {
203
203
  feedbackModal: {
204
204
  positive: {
205
205
  title: "What did you like about this response?",
206
- placeholder: "What did you like about this response? How could it be even better?",
207
- description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al."
206
+ label: "Your feedback helps us make Factorial AI better",
207
+ placeholder: "Share what worked well"
208
208
  },
209
209
  negative: {
210
- title: "What could have been better in this response?",
211
- placeholder: "What could have been better in this response? How could it be even better?",
212
- description: "Your feedback helps Factorial Al improve. The messages from your chat, the search results, and your feedback will be sent to Factorial to help improve Factorial Al."
210
+ title: "What could have been better?",
211
+ label: "Your feedback helps us improve future answers",
212
+ placeholder: "Share what didn’t work"
213
213
  }
214
214
  }
215
215
  },
@@ -217,7 +217,7 @@ const Cr = {
217
217
  noResults: "No results found",
218
218
  loadingMore: "Loading..."
219
219
  }
220
- }, Sr = _({
220
+ }, Cr = I({
221
221
  name: "Link",
222
222
  type: "info"
223
223
  }, pt), Nr = [
@@ -245,20 +245,20 @@ function La(e, t) {
245
245
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Ze(a.key), a);
246
246
  }
247
247
  }
248
- function Fa(e, t, r) {
248
+ function Ta(e, t, r) {
249
249
  return t && La(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
250
250
  }
251
- function Ta(e, t, r) {
252
- return t = Q(t), Da(e, Ue() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
251
+ function Da(e, t, r) {
252
+ return t = Q(t), Fa(e, Ue() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
253
253
  }
254
- function Da(e, t) {
254
+ function Fa(e, t) {
255
255
  if (t && (R(t) === "object" || typeof t == "function"))
256
256
  return t;
257
257
  if (t !== void 0)
258
258
  throw new TypeError("Derived constructors may only return object or undefined");
259
- return _a(e);
259
+ return Ia(e);
260
260
  }
261
- function _a(e) {
261
+ function Ia(e) {
262
262
  if (e === void 0)
263
263
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
264
264
  return e;
@@ -278,7 +278,7 @@ function Q(e) {
278
278
  return r.__proto__ || Object.getPrototypeOf(r);
279
279
  }, Q(e);
280
280
  }
281
- function Ia(e, t) {
281
+ function _a(e, t) {
282
282
  if (typeof t != "function" && t !== null)
283
283
  throw new TypeError("Super expression must either be null or a function");
284
284
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ce(e, t);
@@ -307,9 +307,9 @@ function Ea(e, t) {
307
307
  }
308
308
  var re = /* @__PURE__ */ function(e) {
309
309
  function t() {
310
- return ka(this, t), Ta(this, t, arguments);
310
+ return ka(this, t), Da(this, t, arguments);
311
311
  }
312
- return Ia(t, e), Fa(t, [{
312
+ return _a(t, e), Ta(t, [{
313
313
  key: "render",
314
314
  value: function() {
315
315
  return null;
@@ -396,7 +396,7 @@ function Ae(e, t) {
396
396
  }
397
397
  return r;
398
398
  }
399
- function D(e) {
399
+ function F(e) {
400
400
  for (var t = 1; t < arguments.length; t++) {
401
401
  var r = arguments[t] != null ? arguments[t] : {};
402
402
  t % 2 ? Ae(Object(r), !0).forEach(function(a) {
@@ -477,7 +477,7 @@ function Va(e, t) {
477
477
  }
478
478
  return String(e);
479
479
  }
480
- var H = /* @__PURE__ */ function(e) {
480
+ var Y = /* @__PURE__ */ function(e) {
481
481
  function t() {
482
482
  var r;
483
483
  Ra(this, t);
@@ -493,14 +493,14 @@ var H = /* @__PURE__ */ function(e) {
493
493
  r.setState({
494
494
  isAnimationFinished: !1
495
495
  });
496
- }), j(r, "id", Ct("recharts-scatter-")), r;
496
+ }), j(r, "id", St("recharts-scatter-")), r;
497
497
  }
498
498
  return qa(t, e), za(t, [{
499
499
  key: "renderSymbolsStatically",
500
500
  value: function(a) {
501
501
  var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
502
502
  return a.map(function(c, f) {
503
- var h = i === f, u = h ? d : l, x = D(D({}, m), c);
503
+ var h = i === f, u = h ? d : l, x = F(F({}, m), c);
504
504
  return /* @__PURE__ */ k.createElement(K, q({
505
505
  className: "recharts-scatter-symbol",
506
506
  key: "symbol-".concat(c == null ? void 0 : c.cx, "-").concat(c == null ? void 0 : c.cy, "-").concat(c == null ? void 0 : c.size, "-").concat(f)
@@ -532,19 +532,19 @@ var H = /* @__PURE__ */ function(e) {
532
532
  onAnimationEnd: this.handleAnimationEnd,
533
533
  onAnimationStart: this.handleAnimationStart
534
534
  }, function(h) {
535
- var u = h.t, x = s.map(function(A, C) {
536
- var O = f && f[C];
535
+ var u = h.t, x = s.map(function(A, S) {
536
+ var O = f && f[S];
537
537
  if (O) {
538
538
  var g = U(O.cx, A.cx), b = U(O.cy, A.cy), w = U(O.size, A.size);
539
- return D(D({}, A), {}, {
539
+ return F(F({}, A), {}, {
540
540
  cx: g(u),
541
541
  cy: b(u),
542
542
  size: w(u)
543
543
  });
544
544
  }
545
- var S = U(0, A.size);
546
- return D(D({}, A), {}, {
547
- size: S(u)
545
+ var C = U(0, A.size);
546
+ return F(F({}, A), {}, {
547
+ size: C(u)
548
548
  });
549
549
  });
550
550
  return /* @__PURE__ */ k.createElement(K, null, a.renderSymbolsStatically(x));
@@ -562,7 +562,7 @@ var H = /* @__PURE__ */ function(e) {
562
562
  var a = this.props.isAnimationActive;
563
563
  if (a && !this.state.isAnimationFinished)
564
564
  return null;
565
- var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Te(i, bt);
565
+ var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = De(i, bt);
566
566
  return m ? m.map(function(c, f) {
567
567
  var h = c.props, u = h.direction, x = h.dataKey;
568
568
  return /* @__PURE__ */ k.cloneElement(c, {
@@ -571,12 +571,12 @@ var H = /* @__PURE__ */ function(e) {
571
571
  xAxis: l,
572
572
  yAxis: d,
573
573
  layout: u === "x" ? "vertical" : "horizontal",
574
- dataPointFormatter: function(C, O) {
574
+ dataPointFormatter: function(S, O) {
575
575
  return {
576
- x: C.cx,
577
- y: C.cy,
578
- value: u === "x" ? +C.node.x : +C.node.y,
579
- errorVal: X(C, O)
576
+ x: S.cx,
577
+ y: S.cy,
578
+ value: u === "x" ? +S.node.x : +S.node.y,
579
+ errorVal: X(S, O)
580
580
  };
581
581
  }
582
582
  });
@@ -594,8 +594,8 @@ var H = /* @__PURE__ */ function(e) {
594
594
  };
595
595
  });
596
596
  else if (l === "fitting") {
597
- var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, C = h.b, O = function(w) {
598
- return A * w + C;
597
+ var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, S = h.b, O = function(w) {
598
+ return A * w + S;
599
599
  };
600
600
  c = [{
601
601
  x: u,
@@ -605,7 +605,7 @@ var H = /* @__PURE__ */ function(e) {
605
605
  y: O(x)
606
606
  }];
607
607
  }
608
- var g = D(D(D({}, i), {}, {
608
+ var g = F(F(F({}, i), {}, {
609
609
  fill: "none",
610
610
  stroke: i && i.fill
611
611
  }, m), {}, {
@@ -624,12 +624,12 @@ var H = /* @__PURE__ */ function(e) {
624
624
  var a = this.props, o = a.hide, s = a.points, l = a.line, d = a.className, i = a.xAxis, m = a.yAxis, c = a.left, f = a.top, h = a.width, u = a.height, x = a.id, A = a.isAnimationActive;
625
625
  if (o || !s || !s.length)
626
626
  return null;
627
- var C = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), g = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = g || b, S = $(x) ? this.id : x;
627
+ var S = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), g = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = g || b, C = $(x) ? this.id : x;
628
628
  return /* @__PURE__ */ k.createElement(K, {
629
629
  className: O,
630
- clipPath: w ? "url(#clipPath-".concat(S, ")") : null
630
+ clipPath: w ? "url(#clipPath-".concat(C, ")") : null
631
631
  }, g || b ? /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", {
632
- id: "clipPath-".concat(S)
632
+ id: "clipPath-".concat(C)
633
633
  }, /* @__PURE__ */ k.createElement("rect", {
634
634
  x: g ? c : c - h / 2,
635
635
  y: b ? f : f - u / 2,
@@ -637,7 +637,7 @@ var H = /* @__PURE__ */ function(e) {
637
637
  height: b ? u : u * 2
638
638
  }))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ k.createElement(K, {
639
639
  key: "recharts-scatter-symbols"
640
- }, this.renderSymbols()), (!A || C) && De.renderCallByParent(this.props, s));
640
+ }, this.renderSymbols()), (!A || S) && Fe.renderCallByParent(this.props, s));
641
641
  }
642
642
  }], [{
643
643
  key: "getDerivedStateFromProps",
@@ -651,9 +651,9 @@ var H = /* @__PURE__ */ function(e) {
651
651
  } : null;
652
652
  }
653
653
  }]);
654
- }(Sa);
655
- j(H, "displayName", "Scatter");
656
- j(H, "defaultProps", {
654
+ }(Ca);
655
+ j(Y, "displayName", "Scatter");
656
+ j(Y, "defaultProps", {
657
657
  xAxisId: 0,
658
658
  yAxisId: 0,
659
659
  zAxisId: 0,
@@ -663,17 +663,17 @@ j(H, "defaultProps", {
663
663
  data: [],
664
664
  shape: "circle",
665
665
  hide: !1,
666
- isAnimationActive: !St.isSsr,
666
+ isAnimationActive: !Ct.isSsr,
667
667
  animationBegin: 0,
668
668
  animationDuration: 400,
669
669
  animationEasing: "linear"
670
670
  });
671
- j(H, "getComposedData", function(e) {
672
- var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = Te(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, x = a ? a.range : re.defaultProps.range, A = x && x[0], C = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
673
- var S = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
671
+ j(Y, "getComposedData", function(e) {
672
+ var t = e.xAxis, r = e.yAxis, a = e.zAxis, o = e.item, s = e.displayedData, l = e.xAxisTicks, d = e.yAxisTicks, i = e.offset, m = o.props.tooltipType, c = De(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, x = a ? a.range : re.defaultProps.range, A = x && x[0], S = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
673
+ var C = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
674
674
  name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
675
675
  unit: t.unit || "",
676
- value: S,
676
+ value: C,
677
677
  payload: b,
678
678
  dataKey: f,
679
679
  type: m
@@ -693,10 +693,10 @@ j(H, "getComposedData", function(e) {
693
693
  dataKey: u,
694
694
  type: m
695
695
  });
696
- var T = we({
696
+ var D = we({
697
697
  axis: t,
698
698
  ticks: l,
699
- bandSize: C,
699
+ bandSize: S,
700
700
  entry: b,
701
701
  index: w,
702
702
  dataKey: f
@@ -708,10 +708,10 @@ j(H, "getComposedData", function(e) {
708
708
  index: w,
709
709
  dataKey: h
710
710
  }), p = v !== "-" ? a.scale(v) : A, P = Math.sqrt(Math.max(p, 0) / Math.PI);
711
- return D(D({}, b), {}, {
712
- cx: T,
711
+ return F(F({}, b), {}, {
712
+ cx: D,
713
713
  cy: E,
714
- x: T - P,
714
+ x: D - P,
715
715
  y: E - P,
716
716
  xAxis: t,
717
717
  yAxis: r,
@@ -720,25 +720,25 @@ j(H, "getComposedData", function(e) {
720
720
  height: 2 * P,
721
721
  size: p,
722
722
  node: {
723
- x: S,
723
+ x: C,
724
724
  y,
725
725
  z: v
726
726
  },
727
727
  tooltipPayload: L,
728
728
  tooltipPosition: {
729
- x: T,
729
+ x: D,
730
730
  y: E
731
731
  },
732
732
  payload: b
733
733
  }, c && c[w] && c[w].props);
734
734
  });
735
- return D({
735
+ return F({
736
736
  points: g
737
737
  }, i);
738
738
  });
739
- var Ha = At({
739
+ var Ya = At({
740
740
  chartName: "ComposedChart",
741
- GraphicalChild: [_e, Ot, Ie, H],
741
+ GraphicalChild: [Ie, Ot, _e, Y],
742
742
  axisComponents: [{
743
743
  axisType: "xAxis",
744
744
  AxisComp: Ee
@@ -751,7 +751,7 @@ var Ha = At({
751
751
  }],
752
752
  formatAxisMap: kt
753
753
  });
754
- const Ya = (e) => {
754
+ const Ha = (e) => {
755
755
  const t = (r) => {
756
756
  const { cx: a, cy: o, fill: s, payload: l } = r, d = () => {
757
757
  if (!l) return "-";
@@ -778,13 +778,13 @@ const Ya = (e) => {
778
778
  }, Ja = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
779
779
  hide: !0
780
780
  }, label: o = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: d, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, x) => {
781
- var v, L, T, E;
782
- const A = Lt(t), C = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...C, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Ft(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), S = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
783
- return n(Tt, {
781
+ var v, L, D, E;
782
+ const A = Lt(t), S = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], O = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], g = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...S, ...O, ...g], w = Math.max(...A.flatMap((p) => b.map((P) => Tt(a != null && a.tickFormatter ? a.tickFormatter(`${p[P]}`) : `${p[P]}`)))), C = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "left"), y = [c, f, h].filter((p) => (p == null ? void 0 : p.axisPosition) === "right");
783
+ return n(Dt, {
784
784
  config: e,
785
785
  ref: x,
786
786
  aspect: d,
787
- children: N(Ha, {
787
+ children: N(Ya, {
788
788
  accessibilityLayer: !0,
789
789
  data: A,
790
790
  margin: {
@@ -801,24 +801,24 @@ const Ya = (e) => {
801
801
  label: p.activeLabel,
802
802
  values: {}
803
803
  };
804
- for (const Y of p.activePayload)
805
- P.values[Y.name] = Y.value;
804
+ for (const H of p.activePayload)
805
+ P.values[H.name] = H.value;
806
806
  u(P);
807
807
  },
808
- children: [!s && n(Dt, {
809
- ..._t(),
810
- content: n(It, {
808
+ children: [!s && n(Ft, {
809
+ ...It(),
810
+ content: n(_t, {
811
811
  yAxisFormatter: a.tickFormatter
812
812
  })
813
813
  }), !l && n(Et, {
814
814
  ...jt()
815
- }), S.length > 0 && n(le, {
815
+ }), C.length > 0 && n(le, {
816
816
  ...Pe(a),
817
817
  tick: !0,
818
- width: a.width ?? w + 20 + (y.length > 0 && ((v = S[0]) != null && v.axisLabel) ? 20 : 0),
819
- hide: a.hide || S.some((p) => p == null ? void 0 : p.hideAxis),
820
- label: (L = S[0]) != null && L.axisLabel ? {
821
- value: S[0].axisLabel,
818
+ width: a.width ?? w + 20 + (y.length > 0 && ((v = C[0]) != null && v.axisLabel) ? 20 : 0),
819
+ hide: a.hide || C.some((p) => p == null ? void 0 : p.hideAxis),
820
+ label: (L = C[0]) != null && L.axisLabel ? {
821
+ value: C[0].axisLabel,
822
822
  angle: -90,
823
823
  position: "insideLeft"
824
824
  } : void 0
@@ -827,7 +827,7 @@ const Ya = (e) => {
827
827
  yAxisId: "right",
828
828
  orientation: "right",
829
829
  tick: !0,
830
- width: a.width ?? w + 20 + (S.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
830
+ width: a.width ?? w + 20 + (C.length > 0 && ((D = y[0]) != null && D.axisLabel) ? 20 : 0),
831
831
  hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
832
832
  label: (E = y[0]) != null && E.axisLabel ? {
833
833
  value: y[0].axisLabel,
@@ -839,9 +839,9 @@ const Ya = (e) => {
839
839
  hide: r == null ? void 0 : r.hide,
840
840
  tick: m ? (p) => {
841
841
  var be, ge;
842
- const { x: P, y: Y, payload: ve } = p, ye = ((be = t.find((ft) => ft.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, dt = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
842
+ const { x: P, y: H, payload: ve } = p, ye = ((be = t.find((ft) => ft.label === ve.value)) == null ? void 0 : be.values) || "", J = Object.keys(ye).length === 1 ? (ge = Object.values(ye)) == null ? void 0 : ge[0] : void 0, dt = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
843
843
  return N("g", {
844
- transform: `translate(${P},${Y})`,
844
+ transform: `translate(${P},${H})`,
845
845
  children: [n("text", {
846
846
  x: 0,
847
847
  y: 0,
@@ -859,33 +859,33 @@ const Ya = (e) => {
859
859
  })]
860
860
  });
861
861
  } : void 0
862
- }), C.map((p, P) => n(Ie, {
862
+ }), S.map((p, P) => n(_e, {
863
863
  isAnimationActive: !1,
864
864
  dataKey: String(p),
865
865
  fill: e[p].color ? W(e[p].color) : oe(P),
866
866
  radius: 4,
867
867
  maxBarSize: 32,
868
- children: o && n(De, {
868
+ children: o && n(Fe, {
869
869
  position: "top",
870
870
  offset: 10,
871
871
  className: "fill-f1-foreground",
872
872
  fontSize: 12
873
873
  }, `label-${String(p)}`)
874
- }, `bar-${String(p)}`)), O.map((p, P) => n(_e, {
874
+ }, `bar-${String(p)}`)), O.map((p, P) => n(Ie, {
875
875
  type: (f == null ? void 0 : f.lineType) ?? "natural",
876
876
  dataKey: String(p),
877
- stroke: e[p].color ? W(e[p].color) : oe(C.length + P),
877
+ stroke: e[p].color ? W(e[p].color) : oe(S.length + P),
878
878
  strokeWidth: 2,
879
879
  dot: (f == null ? void 0 : f.dot) ?? !1,
880
880
  isAnimationActive: !1,
881
881
  yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0
882
- }, `line-${String(p)}`)), g.map((p, P) => n(H, {
882
+ }, `line-${String(p)}`)), g.map((p, P) => n(Y, {
883
883
  dataKey: String(p),
884
- fill: e[p].color ? W(e[p].color) : oe(C.length + O.length + P),
884
+ fill: e[p].color ? W(e[p].color) : oe(S.length + O.length + P),
885
885
  r: 4,
886
886
  isAnimationActive: !1,
887
887
  yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
888
- shape: Ya(String(p))
888
+ shape: Ha(String(p))
889
889
  }, `scatter-${String(p)}`)), i && n(Mt, {
890
890
  content: n(Bt, {
891
891
  nameKey: "label"
@@ -974,7 +974,7 @@ Defaulting to \`null\`.`;
974
974
  var ot = tt, rr = rt;
975
975
  const it = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(ot, {
976
976
  ref: a,
977
- className: I("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
977
+ className: _("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
978
978
  ...r,
979
979
  children: n(rr, {
980
980
  className: "h-full w-full flex-1 transition-all",
@@ -1006,56 +1006,56 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1006
1006
  children: r
1007
1007
  })]
1008
1008
  });
1009
- }, or = je(nr), Or = _(
1009
+ }, or = je(nr), Or = I(
1010
1010
  {
1011
1011
  name: "AreaChart",
1012
1012
  type: "info"
1013
1013
  },
1014
1014
  zt
1015
- ), kr = _(
1015
+ ), kr = I(
1016
1016
  {
1017
1017
  name: "BarChart",
1018
1018
  type: "info"
1019
1019
  },
1020
1020
  Kt
1021
- ), Lr = _(
1021
+ ), Lr = I(
1022
1022
  {
1023
1023
  name: "CategoryBarChart",
1024
1024
  type: "info"
1025
1025
  },
1026
1026
  Wt
1027
- ), Fr = _(
1027
+ ), Tr = I(
1028
1028
  {
1029
1029
  name: "LineChart",
1030
1030
  type: "info"
1031
1031
  },
1032
1032
  Gt
1033
- ), Tr = _(
1033
+ ), Dr = I(
1034
1034
  {
1035
1035
  name: "PieChart",
1036
1036
  type: "info"
1037
1037
  },
1038
1038
  qt
1039
- ), Dr = _(
1039
+ ), Fr = I(
1040
1040
  {
1041
1041
  name: "VerticalBarChart",
1042
1042
  type: "info"
1043
1043
  },
1044
1044
  Vt
1045
- ), _r = _(
1045
+ ), Ir = I(
1046
1046
  {
1047
1047
  name: "ProgressBarChart",
1048
1048
  type: "info"
1049
1049
  },
1050
1050
  or
1051
- ), Ir = _(
1051
+ ), _r = I(
1052
1052
  {
1053
1053
  name: "ComboChart",
1054
1054
  type: "info"
1055
1055
  },
1056
1056
  Ua
1057
1057
  ), de = ({ count: e, list: t }) => {
1058
- const [r, a] = F(!1), o = n(Z, {
1058
+ const [r, a] = T(!1), o = n(Z, {
1059
1059
  label: `+${e}`
1060
1060
  });
1061
1061
  return t != null && t.length ? N(Me, {
@@ -1064,7 +1064,7 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1064
1064
  children: [n(Be, {
1065
1065
  asChild: !0,
1066
1066
  children: n("button", {
1067
- className: Ht("inline-flex flex-shrink-0 items-center"),
1067
+ className: Yt("inline-flex flex-shrink-0 items-center"),
1068
1068
  children: o
1069
1069
  })
1070
1070
  }), n(Re, {
@@ -1088,7 +1088,7 @@ const nr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1088
1088
  de.displayName = "ChipCounter";
1089
1089
  const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
1090
1090
  if (a === "fill")
1091
- return n(Yt, {
1091
+ return n(Ht, {
1092
1092
  items: e,
1093
1093
  renderListItem: (i) => n(Z, {
1094
1094
  ...i
@@ -1115,7 +1115,7 @@ const st = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
1115
1115
  };
1116
1116
  st.displayName = "F0ChipList";
1117
1117
  const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1118
- const [m, c] = F(""), [f, h] = F(!1), u = Ge();
1118
+ const [m, c] = T(""), [f, h] = T(!1), u = Ge();
1119
1119
  M(() => {
1120
1120
  c(r.toString(e == null ? void 0 : e.value, u));
1121
1121
  }, [e, r, u]);
@@ -1135,7 +1135,7 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
1135
1135
  value: w,
1136
1136
  granularity: b.key
1137
1137
  }), h(!1)) : h(!0);
1138
- }, C = () => {
1138
+ }, S = () => {
1139
1139
  A(m, r);
1140
1140
  };
1141
1141
  return n(ae, {
@@ -1148,14 +1148,14 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
1148
1148
  l == null || l(), c(""), A("", r);
1149
1149
  },
1150
1150
  onKeyDown: (g) => {
1151
- g.key === "Enter" && C();
1151
+ g.key === "Enter" && S();
1152
1152
  },
1153
1153
  type: "text",
1154
1154
  onChange: (g) => {
1155
1155
  c(g);
1156
1156
  },
1157
1157
  error: f || d.error,
1158
- onBlur: C,
1158
+ onBlur: S,
1159
1159
  value: m,
1160
1160
  onClickContent: () => a == null ? void 0 : a(!0)
1161
1161
  })
@@ -1163,16 +1163,16 @@ const Er = We("F0ChipList", st), lt = V(({ value: e, onDateChange: t, granularit
1163
1163
  });
1164
1164
  lt.displayName = "DateInput";
1165
1165
  function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
1166
- const [i, m] = F(), [c, f] = F(l);
1166
+ const [i, m] = T(), [c, f] = T(l);
1167
1167
  M(() => {
1168
1168
  f(l);
1169
1169
  }, [l]);
1170
1170
  const h = Ge(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
1171
1171
  const v = y || u;
1172
- if (!Ce[v])
1172
+ if (!Se[v])
1173
1173
  throw new Error(`Invalid granularity ${v}`);
1174
1174
  return {
1175
- ...Ce[v],
1175
+ ...Se[v],
1176
1176
  key: v
1177
1177
  };
1178
1178
  }, [u]), A = Ne((y) => {
@@ -1184,14 +1184,14 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1184
1184
  value: v.toRange(v.calendarMode === "range" ? y.value : ((L = y.value) == null ? void 0 : L.from) ?? void 0),
1185
1185
  granularity: y.granularity
1186
1186
  } : void 0;
1187
- }, [x]), C = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
1187
+ }, [x]), S = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
1188
1188
  M(() => {
1189
1189
  const y = A(t);
1190
1190
  ie(i, y) || m(y);
1191
1191
  }, [t]);
1192
1192
  const O = (y) => {
1193
- const v = A(y), T = x(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
1194
- g(v), T && f(!1);
1193
+ const v = A(y), D = x(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
1194
+ g(v), D && f(!1);
1195
1195
  }, g = (y) => {
1196
1196
  const v = A(y);
1197
1197
  if (m(v), !ie(v, i)) {
@@ -1201,11 +1201,11 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1201
1201
  }, b = (y) => {
1202
1202
  var v;
1203
1203
  f(y), (v = d.onOpenChange) == null || v.call(d, y);
1204
- }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), S = pe(null);
1204
+ }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), C = pe(null);
1205
1205
  return M(() => {
1206
- c && S.current && requestAnimationFrame(() => {
1206
+ c && C.current && requestAnimationFrame(() => {
1207
1207
  var y;
1208
- (y = S.current) == null || y.focus();
1208
+ (y = C.current) == null || y.focus();
1209
1209
  });
1210
1210
  }, [c]), n(Zt, {
1211
1211
  hideCalendarInput: !0,
@@ -1219,10 +1219,10 @@ function ir({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1219
1219
  onOpenChange: b,
1220
1220
  asChild: !0,
1221
1221
  children: n(lt, {
1222
- ref: S,
1222
+ ref: C,
1223
1223
  ...d,
1224
1224
  value: i,
1225
- granularity: C,
1225
+ granularity: S,
1226
1226
  onDateChange: g
1227
1227
  })
1228
1228
  });
@@ -1276,19 +1276,19 @@ const jr = Qt, $r = We(
1276
1276
  ref: s,
1277
1277
  className: "h-full",
1278
1278
  children: N("div", {
1279
- className: I("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", o && "md:sticky md:top-0 md:max-h-full"),
1279
+ className: _("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", o && "md:sticky md:top-0 md:max-h-full"),
1280
1280
  children: [n("main", {
1281
- className: I("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", o ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", a === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
1281
+ className: _("sm:min-h-xs order-2 h-fit border-0 px-4 py-5 sm:flex-1 sm:border-solid md:order-2 md:px-6", o ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", a === "right" ? "sm:border-l sm:border-l-f1-border-secondary" : "sm:border-r sm:border-r-f1-border-secondary", "border-t border-solid border-t-f1-border-secondary sm:border-t-0"),
1282
1282
  children: t
1283
1283
  }), n(ur, {
1284
1284
  sticky: o,
1285
- className: I("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1285
+ className: _("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1286
1286
  children: r
1287
1287
  })]
1288
1288
  })
1289
1289
  });
1290
1290
  }), ur = ({ children: e, className: t }) => n("aside", {
1291
- className: I("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1291
+ className: _("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1292
1292
  children: e
1293
1293
  }), dr = ta({
1294
1294
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
@@ -1301,10 +1301,10 @@ const jr = Qt, $r = We(
1301
1301
  layout: "standard",
1302
1302
  children: n("section", {
1303
1303
  ref: o,
1304
- className: I("relative flex-1 overflow-auto", r),
1304
+ className: _("relative flex-1 overflow-auto", r),
1305
1305
  ...a,
1306
1306
  children: n("div", {
1307
- className: I(dr({
1307
+ className: _(dr({
1308
1308
  variant: t
1309
1309
  })),
1310
1310
  children: e
@@ -1312,13 +1312,13 @@ const jr = Qt, $r = We(
1312
1312
  })
1313
1313
  }));
1314
1314
  ct.displayName = "StandardLayout";
1315
- const Mr = _({
1315
+ const Mr = I({
1316
1316
  name: "StandardLayout",
1317
1317
  type: "layout"
1318
- }, ct), Br = _({
1318
+ }, ct), Br = I({
1319
1319
  name: "TwoColumnLayout",
1320
1320
  type: "layout"
1321
- }, cr), Rr = _({
1321
+ }, cr), Rr = I({
1322
1322
  name: "HomeLayout",
1323
1323
  type: "layout"
1324
1324
  }, lr), fr = ({ benefits: e }) => n("div", {
@@ -1337,7 +1337,7 @@ const Mr = _({
1337
1337
  })]
1338
1338
  }), ut = V(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
1339
1339
  ref: i,
1340
- className: I("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1340
+ className: _("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1341
1341
  children: [n("div", {
1342
1342
  className: "aspect-auto flex-shrink-0 overflow-hidden rounded-xl py-1 pl-1",
1343
1343
  children: n("img", {
@@ -1380,7 +1380,7 @@ const Mr = _({
1380
1380
  }));
1381
1381
  ut.displayName = "ProductBlankslate";
1382
1382
  function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
1383
- const [l, d] = F(e);
1383
+ const [l, d] = T(e);
1384
1384
  return M(() => {
1385
1385
  d(e);
1386
1386
  }, [e]), n(oa, {
@@ -1402,7 +1402,7 @@ function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1402
1402
  }), r]
1403
1403
  }), n(la, {
1404
1404
  variant: "outline",
1405
- icon: He,
1405
+ icon: Ye,
1406
1406
  onClick: t,
1407
1407
  label: "Close modal",
1408
1408
  hideLabel: !0
@@ -1417,21 +1417,21 @@ function mr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1417
1417
  })
1418
1418
  });
1419
1419
  }
1420
- function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: x, tag: A, showResponseDialog: C = !0 }) {
1421
- const [O, g] = F(e), [b, w] = F(null), [S, y] = F(!1), v = async () => {
1420
+ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessage: s, successMessage: l, loadingState: d, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: x, tag: A, showResponseDialog: S = !0 }) {
1421
+ const [O, g] = T(e), [b, w] = T(null), [C, y] = T(!1), v = async () => {
1422
1422
  if (c != null && c.onClick) {
1423
1423
  y(!0);
1424
1424
  try {
1425
- await c.onClick(), g(!1), C && w("success");
1425
+ await c.onClick(), g(!1), S && w("success");
1426
1426
  } catch {
1427
- C && w("error");
1427
+ S && w("error");
1428
1428
  } finally {
1429
1429
  y(!1);
1430
1430
  }
1431
1431
  }
1432
1432
  }, L = () => {
1433
1433
  g(!1), t == null || t();
1434
- }, T = S;
1434
+ }, D = C;
1435
1435
  return N(ae, {
1436
1436
  children: [n(mr, {
1437
1437
  isOpen: O,
@@ -1451,7 +1451,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1451
1451
  className: "flex gap-3",
1452
1452
  children: [c && n(B, {
1453
1453
  variant: c.variant,
1454
- label: T ? d.label : c.label,
1454
+ label: D ? d.label : c.label,
1455
1455
  icon: c.icon || void 0,
1456
1456
  onClick: v,
1457
1457
  loading: c.loading,
@@ -1466,7 +1466,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1466
1466
  })
1467
1467
  })
1468
1468
  })
1469
- }), b && C && n(Ye, {
1469
+ }), b && S && n(He, {
1470
1470
  open: !0,
1471
1471
  onClose: () => {
1472
1472
  L(), w(null);
@@ -1481,7 +1481,7 @@ function zr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1481
1481
  });
1482
1482
  }
1483
1483
  function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
1484
- const [m, c] = F(!1), f = () => {
1484
+ const [m, c] = T(!1), f = () => {
1485
1485
  c(!0), a && a();
1486
1486
  };
1487
1487
  M(() => {
@@ -1499,7 +1499,7 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1499
1499
  className: "absolute right-2 top-2 z-10",
1500
1500
  children: n(B, {
1501
1501
  variant: "ghost",
1502
- icon: He,
1502
+ icon: Ye,
1503
1503
  size: "sm",
1504
1504
  hideLabel: !0,
1505
1505
  onClick: f,
@@ -1521,10 +1521,10 @@ function hr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1521
1521
  }))
1522
1522
  }), N("div", {
1523
1523
  className: "flex flex-col gap-[2px] p-3",
1524
- children: [n(Se, {
1524
+ children: [n(Ce, {
1525
1525
  className: "text-lg font-medium",
1526
1526
  children: t
1527
- }), n(Se, {
1527
+ }), n(Ce, {
1528
1528
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
1529
1529
  children: r
1530
1530
  })]
@@ -1581,8 +1581,8 @@ const vr = V(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1581
1581
  });
1582
1582
  });
1583
1583
  vr.displayName = "UpsellingBanner";
1584
- function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = pa, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: C = !1 }) {
1585
- const [O, g] = F(!1), [b, w] = F(null), [S, y] = F(null), v = (P) => {
1584
+ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = pa, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: S = !1 }) {
1585
+ const [O, g] = T(!1), [b, w] = T(null), [C, y] = T(null), v = (P) => {
1586
1586
  t(P), A && A();
1587
1587
  }, L = async (P) => {
1588
1588
  if (P.type === "upsell") {
@@ -1593,7 +1593,7 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1593
1593
  g(!0), w("error");
1594
1594
  }
1595
1595
  }
1596
- }, T = () => {
1596
+ }, D = () => {
1597
1597
  w(null), g(!1), y(null), t(!1);
1598
1598
  }, E = e && !O, p = x == null ? void 0 : x.map((P) => P.type === "upsell" ? {
1599
1599
  ...P,
@@ -1611,7 +1611,7 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1611
1611
  size: o,
1612
1612
  icon: s ? i : void 0,
1613
1613
  onClick: () => t(e),
1614
- hideLabel: C
1614
+ hideLabel: S
1615
1615
  })
1616
1616
  }), n(Re, {
1617
1617
  side: l,
@@ -1629,21 +1629,21 @@ function Kr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1629
1629
  showConfirmation: !1
1630
1630
  })
1631
1631
  })]
1632
- }), (S == null ? void 0 : S.type) === "upsell" && S.showConfirmation && b && n(Ye, {
1632
+ }), (C == null ? void 0 : C.type) === "upsell" && C.showConfirmation && b && n(He, {
1633
1633
  open: !0,
1634
- onClose: T,
1634
+ onClose: D,
1635
1635
  success: b === "success",
1636
- errorMessage: S.errorMessage,
1637
- successMessage: S.successMessage,
1638
- nextSteps: S.nextSteps,
1639
- closeLabel: S.closeLabel,
1636
+ errorMessage: C.errorMessage,
1637
+ successMessage: C.successMessage,
1638
+ nextSteps: C.nextSteps,
1639
+ closeLabel: C.closeLabel,
1640
1640
  portalContainer: null
1641
1641
  })]
1642
1642
  });
1643
1643
  }
1644
1644
  const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
1645
- const r = pe(null), [a, o] = F(r.current);
1646
- return Ca(() => {
1645
+ const r = pe(null), [a, o] = T(r.current);
1646
+ return Sa(() => {
1647
1647
  o(r.current);
1648
1648
  }, []), n(yr.Provider, {
1649
1649
  value: {
@@ -1652,7 +1652,7 @@ const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
1652
1652
  children: n("div", {
1653
1653
  ref: r,
1654
1654
  id: "f0-layout",
1655
- className: I({
1655
+ className: _({
1656
1656
  "flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": t
1657
1657
  }),
1658
1658
  children: e
@@ -1690,22 +1690,22 @@ const yr = Oa(null), br = ({ children: e, fullScreen: t = !0 }) => {
1690
1690
  })
1691
1691
  })
1692
1692
  })
1693
- }), Fe = (e) => `datacollection-${e}`, Gr = {
1693
+ }), Te = (e) => `datacollection-${e}`, Gr = {
1694
1694
  get: async (e) => JSON.parse(
1695
- localStorage.getItem(Fe(e)) ?? "{}"
1695
+ localStorage.getItem(Te(e)) ?? "{}"
1696
1696
  ),
1697
1697
  set: async (e, t) => {
1698
- localStorage.setItem(Fe(e), JSON.stringify(t));
1698
+ localStorage.setItem(Te(e), JSON.stringify(t));
1699
1699
  }
1700
1700
  };
1701
1701
  export {
1702
1702
  Or as AreaChart,
1703
- Hr as Await,
1703
+ Yr as Await,
1704
1704
  kr as BarChart,
1705
1705
  B as Button,
1706
1706
  Lr as CategoryBarChart,
1707
- Ir as ComboChart,
1708
- Yr as CopyButton,
1707
+ _r as ComboChart,
1708
+ Hr as CopyButton,
1709
1709
  Jr as DndProvider,
1710
1710
  Ur as EmojiImage,
1711
1711
  Xr as F0Avatar,
@@ -1737,41 +1737,41 @@ export {
1737
1737
  bn as F0TagTeam,
1738
1738
  gn as GROUP_ID_SYMBOL,
1739
1739
  Rr as HomeLayout,
1740
- Fr as LineChart,
1741
- Sr as Link,
1740
+ Tr as LineChart,
1741
+ Cr as Link,
1742
1742
  xn as OneFilterPicker,
1743
- Tr as PieChart,
1743
+ Dr as PieChart,
1744
1744
  ga as PrivacyModeProvider,
1745
1745
  ut as ProductBlankslate,
1746
1746
  wn as ProductCard,
1747
1747
  zr as ProductModal,
1748
1748
  hr as ProductWidget,
1749
- _r as ProgressBarChart,
1749
+ Ir as ProgressBarChart,
1750
1750
  Mr as StandardLayout,
1751
1751
  Pn as TagCounter,
1752
1752
  Br as TwoColumnLayout,
1753
- Ye as UpsellRequestResponseDialog,
1753
+ He as UpsellRequestResponseDialog,
1754
1754
  vr as UpsellingBanner,
1755
1755
  Je as UpsellingButton,
1756
1756
  Kr as UpsellingPopover,
1757
- Dr as VerticalBarChart,
1757
+ Fr as VerticalBarChart,
1758
1758
  Nr as avatarVariants,
1759
- Cn as buildTranslations,
1760
- Sn as createAtlaskitDriver,
1759
+ Sn as buildTranslations,
1760
+ Cn as createAtlaskitDriver,
1761
1761
  Nn as createDataSourceDefinition,
1762
1762
  Gr as dataCollectionLocalStorageHandler,
1763
1763
  jr as datepickerSizes,
1764
- Cr as defaultTranslations,
1764
+ Sr as defaultTranslations,
1765
1765
  We as experimental,
1766
1766
  An as getAnimationVariants,
1767
1767
  On as getDataSourcePaginationType,
1768
1768
  kn as getEmojiLabel,
1769
1769
  Ln as isInfiniteScrollPagination,
1770
- Fn as isPageBasedPagination,
1771
- Tn as modules,
1772
- Dn as predefinedPresets,
1773
- _n as tagDotColors,
1774
- In as useData,
1770
+ Tn as isPageBasedPagination,
1771
+ Dn as modules,
1772
+ Fn as predefinedPresets,
1773
+ In as tagDotColors,
1774
+ _n as useData,
1775
1775
  En as useDataSource,
1776
1776
  jn as useDndEvents,
1777
1777
  $n as useDraggable,