@factorialco/f0-react 1.249.0 → 1.250.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/f0.js CHANGED
@@ -1,9 +1,9 @@
1
- import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, c as yt, d as Te, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Fe, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Tt, x as Ft, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as _, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as He, av as M, aw as Je, ax as da, ay as fa, az as Ce, aA as pa, aB as Ue, 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, aM as Ca, aN as Na } from "./hooks-MY9wJB8E.js";
2
- import { bp as en, br as tn, bA as an, aO as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aX as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, bw as bn, b2 as gn, b4 as xn, b5 as wn, b6 as Pn, b7 as Sn, ba as Cn, bb as Nn, bc as An, bd as On, bf as kn, b3 as Ln, be as Dn, b9 as Tn, bx as Fn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aW as Rn, b1 as zn, b8 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-MY9wJB8E.js";
3
- import { jsx as n, jsxs as N, Fragment as ae } from "react/jsx-runtime";
1
+ import { S as xe, a as mt, f as ne, L as K, b as ht, A as vt, i as U, c as yt, d as Fe, E as bt, g as X, e as gt, h as xt, C as wt, j as Pt, k as $, l as Te, u as St, G as Ct, m as Nt, n as we, o as At, p as Ie, q as Ot, B as _e, X as Ee, Y as le, r as kt, s as je, t as Lt, v as Dt, w as Ft, x as Tt, y as It, z as _t, D as Et, F as jt, H as Pe, I as $t, J as W, K as oe, M as Bt, N as Mt, O as Rt, P as $e, Q as E, R as I, T as zt, U as Kt, V as Wt, W as Gt, Z as Vt, _ as qt, $ as Yt, a0 as Be, a1 as Ht, a2 as Z, a3 as Me, a4 as Re, a5 as Jt, a6 as ze, a7 as Ke, a8 as We, a9 as Ge, aa as Ut, ab as Ve, ac as Xt, ad as Zt, ae as Qt, af as Se, ag as ie, ah as ea, ai as ta, aj as qe, ak as aa, al as ra, am as Ye, an as na, ao as oa, ap as ia, aq as sa, ar as la, as as ca, at as ua, au as da, av as He, aw as M, ax as Je, ay as fa, az as pa, aA as Ce, aB as ma, aC as Ue, 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, aM as Ca, aN as Na, aO as Aa } from "./hooks-2T2V5slK.js";
2
+ import { bp as tn, br as an, bA as rn, aP as nn, aQ as on, aR as sn, aS as ln, aT as cn, aU as un, aV as dn, aW as fn, aY as pn, aZ as mn, a_ as hn, a$ as vn, b0 as yn, b1 as bn, bw as gn, b3 as xn, b5 as wn, b6 as Pn, b7 as Sn, b8 as Cn, bb as Nn, bc as An, bd as On, bf as kn, b4 as Ln, be as Dn, ba as Fn, bx as Tn, bq as In, bk as _n, bn as En, bj as jn, bB as $n, bi as Bn, bh as Mn, aX as Rn, b2 as zn, b9 as Kn, bg as Wn, bl as Gn, bs as Vn, bt as qn, bu as Yn, bC as Hn, bm as Jn, bv as Un, bz as Xn, bo as Zn, by as Qn } from "./hooks-2T2V5slK.js";
3
+ import { jsx as n, jsxs as C, Fragment as ae } from "react/jsx-runtime";
4
4
  import * as fe from "react";
5
- import k, { PureComponent as Aa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as Oa, Children as ka, createContext as La } from "react";
6
- const Nr = {
5
+ import k, { PureComponent as Oa, useState as D, forwardRef as q, useEffect as B, useMemo as se, useCallback as Ne, useRef as pe, useImperativeHandle as ka, Children as La, createContext as Da } from "react";
6
+ const Ar = {
7
7
  approvals: {
8
8
  history: "Approval history",
9
9
  statuses: {
@@ -218,7 +218,7 @@ const Nr = {
218
218
  noResults: "No results found",
219
219
  loadingMore: "Loading..."
220
220
  }
221
- }, Ar = [
221
+ }, Or = [
222
222
  "person",
223
223
  "team",
224
224
  "company",
@@ -233,7 +233,7 @@ function R(e) {
233
233
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
234
234
  }, R(e);
235
235
  }
236
- function Da(e, t) {
236
+ function Fa(e, t) {
237
237
  if (!(e instanceof t))
238
238
  throw new TypeError("Cannot call a class as a function");
239
239
  }
@@ -243,20 +243,20 @@ function Ta(e, t) {
243
243
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Qe(a.key), a);
244
244
  }
245
245
  }
246
- function Fa(e, t, r) {
246
+ function Ia(e, t, r) {
247
247
  return t && Ta(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
248
248
  }
249
- function Ia(e, t, r) {
250
- return t = Q(t), _a(e, Xe() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
249
+ function _a(e, t, r) {
250
+ return t = Q(t), Ea(e, Xe() ? Reflect.construct(t, r || [], Q(e).constructor) : t.apply(e, r));
251
251
  }
252
- function _a(e, t) {
252
+ function Ea(e, t) {
253
253
  if (t && (R(t) === "object" || typeof t == "function"))
254
254
  return t;
255
255
  if (t !== void 0)
256
256
  throw new TypeError("Derived constructors may only return object or undefined");
257
- return Ea(e);
257
+ return ja(e);
258
258
  }
259
- function Ea(e) {
259
+ function ja(e) {
260
260
  if (e === void 0)
261
261
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
262
262
  return e;
@@ -276,7 +276,7 @@ function Q(e) {
276
276
  return r.__proto__ || Object.getPrototypeOf(r);
277
277
  }, Q(e);
278
278
  }
279
- function ja(e, t) {
279
+ function $a(e, t) {
280
280
  if (typeof t != "function" && t !== null)
281
281
  throw new TypeError("Super expression must either be null or a function");
282
282
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ce(e, t);
@@ -290,10 +290,10 @@ function Ze(e, t, r) {
290
290
  return t = Qe(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
291
291
  }
292
292
  function Qe(e) {
293
- var t = $a(e, "string");
293
+ var t = Ba(e, "string");
294
294
  return R(t) == "symbol" ? t : t + "";
295
295
  }
296
- function $a(e, t) {
296
+ function Ba(e, t) {
297
297
  if (R(e) != "object" || !e) return e;
298
298
  var r = e[Symbol.toPrimitive];
299
299
  if (r !== void 0) {
@@ -305,9 +305,9 @@ function $a(e, t) {
305
305
  }
306
306
  var re = /* @__PURE__ */ function(e) {
307
307
  function t() {
308
- return Da(this, t), Ia(this, t, arguments);
308
+ return Fa(this, t), _a(this, t, arguments);
309
309
  }
310
- return ja(t, e), Fa(t, [{
310
+ return $a(t, e), Ia(t, [{
311
311
  key: "render",
312
312
  value: function() {
313
313
  return null;
@@ -321,7 +321,7 @@ Ze(re, "defaultProps", {
321
321
  scale: "auto",
322
322
  type: "number"
323
323
  });
324
- var Ba = ["option", "isActive"];
324
+ var Ma = ["option", "isActive"];
325
325
  function G() {
326
326
  return G = Object.assign ? Object.assign.bind() : function(e) {
327
327
  for (var t = 1; t < arguments.length; t++) {
@@ -332,9 +332,9 @@ function G() {
332
332
  return e;
333
333
  }, G.apply(this, arguments);
334
334
  }
335
- function Ma(e, t) {
335
+ function Ra(e, t) {
336
336
  if (e == null) return {};
337
- var r = Ra(e, t), a, o;
337
+ var r = za(e, t), a, o;
338
338
  if (Object.getOwnPropertySymbols) {
339
339
  var s = Object.getOwnPropertySymbols(e);
340
340
  for (o = 0; o < s.length; o++)
@@ -342,7 +342,7 @@ function Ma(e, t) {
342
342
  }
343
343
  return r;
344
344
  }
345
- function Ra(e, t) {
345
+ function za(e, t) {
346
346
  if (e == null) return {};
347
347
  var r = {};
348
348
  for (var a in e)
@@ -352,8 +352,8 @@ function Ra(e, t) {
352
352
  }
353
353
  return r;
354
354
  }
355
- function za(e) {
356
- var t = e.option, r = e.isActive, a = Ma(e, Ba);
355
+ function Ka(e) {
356
+ var t = e.option, r = e.isActive, a = Ra(e, Ma);
357
357
  return typeof t == "string" ? /* @__PURE__ */ k.createElement(xe, G({
358
358
  option: /* @__PURE__ */ k.createElement(mt, G({
359
359
  type: t
@@ -394,7 +394,7 @@ function Ae(e, t) {
394
394
  }
395
395
  return r;
396
396
  }
397
- function F(e) {
397
+ function T(e) {
398
398
  for (var t = 1; t < arguments.length; t++) {
399
399
  var r = arguments[t] != null ? arguments[t] : {};
400
400
  t % 2 ? Ae(Object(r), !0).forEach(function(a) {
@@ -405,7 +405,7 @@ function F(e) {
405
405
  }
406
406
  return e;
407
407
  }
408
- function Ka(e, t) {
408
+ function Wa(e, t) {
409
409
  if (!(e instanceof t))
410
410
  throw new TypeError("Cannot call a class as a function");
411
411
  }
@@ -415,20 +415,20 @@ function Oe(e, t) {
415
415
  a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, tt(a.key), a);
416
416
  }
417
417
  }
418
- function Wa(e, t, r) {
418
+ function Ga(e, t, r) {
419
419
  return t && Oe(e.prototype, t), r && Oe(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
420
420
  }
421
- function Ga(e, t, r) {
422
- return t = ee(t), Va(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
421
+ function Va(e, t, r) {
422
+ return t = ee(t), qa(e, et() ? Reflect.construct(t, r || [], ee(e).constructor) : t.apply(e, r));
423
423
  }
424
- function Va(e, t) {
424
+ function qa(e, t) {
425
425
  if (t && (z(t) === "object" || typeof t == "function"))
426
426
  return t;
427
427
  if (t !== void 0)
428
428
  throw new TypeError("Derived constructors may only return object or undefined");
429
- return qa(e);
429
+ return Ya(e);
430
430
  }
431
- function qa(e) {
431
+ function Ya(e) {
432
432
  if (e === void 0)
433
433
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
434
434
  return e;
@@ -448,7 +448,7 @@ function ee(e) {
448
448
  return r.__proto__ || Object.getPrototypeOf(r);
449
449
  }, ee(e);
450
450
  }
451
- function Ya(e, t) {
451
+ function Ha(e, t) {
452
452
  if (typeof t != "function" && t !== null)
453
453
  throw new TypeError("Super expression must either be null or a function");
454
454
  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ue(e, t);
@@ -462,10 +462,10 @@ function j(e, t, r) {
462
462
  return t = tt(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
463
463
  }
464
464
  function tt(e) {
465
- var t = Ha(e, "string");
465
+ var t = Ja(e, "string");
466
466
  return z(t) == "symbol" ? t : t + "";
467
467
  }
468
- function Ha(e, t) {
468
+ function Ja(e, t) {
469
469
  if (z(e) != "object" || !e) return e;
470
470
  var r = e[Symbol.toPrimitive];
471
471
  if (r !== void 0) {
@@ -478,10 +478,10 @@ function Ha(e, t) {
478
478
  var Y = /* @__PURE__ */ function(e) {
479
479
  function t() {
480
480
  var r;
481
- Ka(this, t);
481
+ Wa(this, t);
482
482
  for (var a = arguments.length, o = new Array(a), s = 0; s < a; s++)
483
483
  o[s] = arguments[s];
484
- return r = Ga(this, t, [].concat(o)), j(r, "state", {
484
+ return r = Va(this, t, [].concat(o)), j(r, "state", {
485
485
  isAnimationFinished: !1
486
486
  }), j(r, "handleAnimationEnd", function() {
487
487
  r.setState({
@@ -493,22 +493,22 @@ var Y = /* @__PURE__ */ function(e) {
493
493
  });
494
494
  }), j(r, "id", St("recharts-scatter-")), r;
495
495
  }
496
- return Ya(t, e), Wa(t, [{
496
+ return Ha(t, e), Ga(t, [{
497
497
  key: "renderSymbolsStatically",
498
498
  value: function(a) {
499
499
  var o = this, s = this.props, l = s.shape, d = s.activeShape, i = s.activeIndex, m = ne(this.props, !1);
500
500
  return a.map(function(c, f) {
501
- var h = i === f, u = h ? d : l, x = F(F({}, m), c);
501
+ var h = i === f, u = h ? d : l, g = T(T({}, m), c);
502
502
  return /* @__PURE__ */ k.createElement(K, V({
503
503
  className: "recharts-scatter-symbol",
504
504
  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)
505
505
  }, ht(o.props, c, f), {
506
506
  role: "img"
507
- }), /* @__PURE__ */ k.createElement(za, V({
507
+ }), /* @__PURE__ */ k.createElement(Ka, V({
508
508
  option: u,
509
509
  isActive: h,
510
510
  key: "symbol-".concat(f)
511
- }, x)));
511
+ }, g)));
512
512
  });
513
513
  }
514
514
  }, {
@@ -530,22 +530,22 @@ var Y = /* @__PURE__ */ function(e) {
530
530
  onAnimationEnd: this.handleAnimationEnd,
531
531
  onAnimationStart: this.handleAnimationStart
532
532
  }, function(h) {
533
- var u = h.t, x = s.map(function(A, S) {
534
- var O = f && f[S];
533
+ var u = h.t, g = s.map(function(N, A) {
534
+ var O = f && f[A];
535
535
  if (O) {
536
- var g = U(O.cx, A.cx), b = U(O.cy, A.cy), w = U(O.size, A.size);
537
- return F(F({}, A), {}, {
538
- cx: g(u),
536
+ var x = U(O.cx, N.cx), b = U(O.cy, N.cy), w = U(O.size, N.size);
537
+ return T(T({}, N), {}, {
538
+ cx: x(u),
539
539
  cy: b(u),
540
540
  size: w(u)
541
541
  });
542
542
  }
543
- var C = U(0, A.size);
544
- return F(F({}, A), {}, {
545
- size: C(u)
543
+ var P = U(0, N.size);
544
+ return T(T({}, N), {}, {
545
+ size: P(u)
546
546
  });
547
547
  });
548
- return /* @__PURE__ */ k.createElement(K, null, a.renderSymbolsStatically(x));
548
+ return /* @__PURE__ */ k.createElement(K, null, a.renderSymbolsStatically(g));
549
549
  });
550
550
  }
551
551
  }, {
@@ -560,21 +560,21 @@ var Y = /* @__PURE__ */ function(e) {
560
560
  var a = this.props.isAnimationActive;
561
561
  if (a && !this.state.isAnimationFinished)
562
562
  return null;
563
- var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Te(i, bt);
563
+ var o = this.props, s = o.points, l = o.xAxis, d = o.yAxis, i = o.children, m = Fe(i, bt);
564
564
  return m ? m.map(function(c, f) {
565
- var h = c.props, u = h.direction, x = h.dataKey;
565
+ var h = c.props, u = h.direction, g = h.dataKey;
566
566
  return /* @__PURE__ */ k.cloneElement(c, {
567
- key: "".concat(u, "-").concat(x, "-").concat(s[f]),
567
+ key: "".concat(u, "-").concat(g, "-").concat(s[f]),
568
568
  data: s,
569
569
  xAxis: l,
570
570
  yAxis: d,
571
571
  layout: u === "x" ? "vertical" : "horizontal",
572
- dataPointFormatter: function(S, O) {
572
+ dataPointFormatter: function(A, O) {
573
573
  return {
574
- x: S.cx,
575
- y: S.cy,
576
- value: u === "x" ? +S.node.x : +S.node.y,
577
- errorVal: X(S, O)
574
+ x: A.cx,
575
+ y: A.cy,
576
+ value: u === "x" ? +A.node.x : +A.node.y,
577
+ errorVal: X(A, O)
578
578
  };
579
579
  }
580
580
  });
@@ -592,24 +592,24 @@ var Y = /* @__PURE__ */ function(e) {
592
592
  };
593
593
  });
594
594
  else if (l === "fitting") {
595
- var h = gt(o), u = h.xmin, x = h.xmax, A = h.a, S = h.b, O = function(w) {
596
- return A * w + S;
595
+ var h = gt(o), u = h.xmin, g = h.xmax, N = h.a, A = h.b, O = function(w) {
596
+ return N * w + A;
597
597
  };
598
598
  c = [{
599
599
  x: u,
600
600
  y: O(u)
601
601
  }, {
602
- x,
603
- y: O(x)
602
+ x: g,
603
+ y: O(g)
604
604
  }];
605
605
  }
606
- var g = F(F(F({}, i), {}, {
606
+ var x = T(T(T({}, i), {}, {
607
607
  fill: "none",
608
608
  stroke: i && i.fill
609
609
  }, m), {}, {
610
610
  points: c
611
611
  });
612
- return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, g) : xt(s) ? f = s(g) : f = /* @__PURE__ */ k.createElement(wt, V({}, g, {
612
+ return /* @__PURE__ */ k.isValidElement(s) ? f = /* @__PURE__ */ k.cloneElement(s, x) : xt(s) ? f = s(x) : f = /* @__PURE__ */ k.createElement(wt, V({}, x, {
613
613
  type: d
614
614
  })), /* @__PURE__ */ k.createElement(K, {
615
615
  className: "recharts-scatter-line",
@@ -619,23 +619,23 @@ var Y = /* @__PURE__ */ function(e) {
619
619
  }, {
620
620
  key: "render",
621
621
  value: function() {
622
- 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;
622
+ 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, g = a.id, N = a.isAnimationActive;
623
623
  if (o || !s || !s.length)
624
624
  return null;
625
- 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;
625
+ var A = this.state.isAnimationFinished, O = Pt("recharts-scatter", d), x = i && i.allowDataOverflow, b = m && m.allowDataOverflow, w = x || b, P = $(g) ? this.id : g;
626
626
  return /* @__PURE__ */ k.createElement(K, {
627
627
  className: O,
628
- clipPath: w ? "url(#clipPath-".concat(C, ")") : null
629
- }, g || b ? /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", {
630
- id: "clipPath-".concat(C)
628
+ clipPath: w ? "url(#clipPath-".concat(P, ")") : null
629
+ }, x || b ? /* @__PURE__ */ k.createElement("defs", null, /* @__PURE__ */ k.createElement("clipPath", {
630
+ id: "clipPath-".concat(P)
631
631
  }, /* @__PURE__ */ k.createElement("rect", {
632
- x: g ? c : c - h / 2,
632
+ x: x ? c : c - h / 2,
633
633
  y: b ? f : f - u / 2,
634
- width: g ? h : h * 2,
634
+ width: x ? h : h * 2,
635
635
  height: b ? u : u * 2
636
636
  }))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ k.createElement(K, {
637
637
  key: "recharts-scatter-symbols"
638
- }, this.renderSymbols()), (!A || S) && Fe.renderCallByParent(this.props, s));
638
+ }, this.renderSymbols()), (!N || A) && Te.renderCallByParent(this.props, s));
639
639
  }
640
640
  }], [{
641
641
  key: "getDerivedStateFromProps",
@@ -649,7 +649,7 @@ var Y = /* @__PURE__ */ function(e) {
649
649
  } : null;
650
650
  }
651
651
  }]);
652
- }(Aa);
652
+ }(Oa);
653
653
  j(Y, "displayName", "Scatter");
654
654
  j(Y, "defaultProps", {
655
655
  xAxisId: 0,
@@ -667,11 +667,11 @@ j(Y, "defaultProps", {
667
667
  animationEasing: "linear"
668
668
  });
669
669
  j(Y, "getComposedData", function(e) {
670
- 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], S = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, g = s.map(function(b, w) {
671
- var C = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
670
+ 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 = Fe(o.props.children, Nt), f = $(t.dataKey) ? o.props.dataKey : t.dataKey, h = $(r.dataKey) ? o.props.dataKey : r.dataKey, u = a && a.dataKey, g = a ? a.range : re.defaultProps.range, N = g && g[0], A = t.scale.bandwidth ? t.scale.bandwidth() : 0, O = r.scale.bandwidth ? r.scale.bandwidth() : 0, x = s.map(function(b, w) {
671
+ var P = X(b, f), y = X(b, h), v = !$(u) && X(b, u) || "-", L = [{
672
672
  name: $(t.dataKey) ? o.props.name : t.name || t.dataKey,
673
673
  unit: t.unit || "",
674
- value: C,
674
+ value: P,
675
675
  payload: b,
676
676
  dataKey: f,
677
677
  type: m
@@ -691,50 +691,50 @@ j(Y, "getComposedData", function(e) {
691
691
  dataKey: u,
692
692
  type: m
693
693
  });
694
- var T = we({
694
+ var F = we({
695
695
  axis: t,
696
696
  ticks: l,
697
- bandSize: S,
697
+ bandSize: A,
698
698
  entry: b,
699
699
  index: w,
700
700
  dataKey: f
701
- }), E = we({
701
+ }), _ = we({
702
702
  axis: r,
703
703
  ticks: d,
704
704
  bandSize: O,
705
705
  entry: b,
706
706
  index: w,
707
707
  dataKey: h
708
- }), p = v !== "-" ? a.scale(v) : A, P = Math.sqrt(Math.max(p, 0) / Math.PI);
709
- return F(F({}, b), {}, {
710
- cx: T,
711
- cy: E,
712
- x: T - P,
713
- y: E - P,
708
+ }), p = v !== "-" ? a.scale(v) : N, S = Math.sqrt(Math.max(p, 0) / Math.PI);
709
+ return T(T({}, b), {}, {
710
+ cx: F,
711
+ cy: _,
712
+ x: F - S,
713
+ y: _ - S,
714
714
  xAxis: t,
715
715
  yAxis: r,
716
716
  zAxis: a,
717
- width: 2 * P,
718
- height: 2 * P,
717
+ width: 2 * S,
718
+ height: 2 * S,
719
719
  size: p,
720
720
  node: {
721
- x: C,
721
+ x: P,
722
722
  y,
723
723
  z: v
724
724
  },
725
725
  tooltipPayload: L,
726
726
  tooltipPosition: {
727
- x: T,
728
- y: E
727
+ x: F,
728
+ y: _
729
729
  },
730
730
  payload: b
731
731
  }, c && c[w] && c[w].props);
732
732
  });
733
- return F({
734
- points: g
733
+ return T({
734
+ points: x
735
735
  }, i);
736
736
  });
737
- var Ja = At({
737
+ var Ua = At({
738
738
  chartName: "ComposedChart",
739
739
  GraphicalChild: [Ie, Ot, _e, Y],
740
740
  axisComponents: [{
@@ -749,7 +749,7 @@ var Ja = At({
749
749
  }],
750
750
  formatAxisMap: kt
751
751
  });
752
- const Ua = (e) => {
752
+ const Xa = (e) => {
753
753
  const t = (r) => {
754
754
  const { cx: a, cy: o, fill: s, payload: l } = r, d = () => {
755
755
  if (!l) return "-";
@@ -773,18 +773,18 @@ const Ua = (e) => {
773
773
  });
774
774
  };
775
775
  return t.displayName = `Scatter-${e}`, t;
776
- }, Xa = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
776
+ }, Za = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
777
777
  hide: !0
778
- }, 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) => {
779
- var v, L, T, E;
780
- 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) => Dt(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");
781
- return n(Tt, {
778
+ }, label: o = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: d, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, g) => {
779
+ var v, L, F, _;
780
+ const N = Lt(t), A = 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] : [], x = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], b = [...A, ...O, ...x], w = Math.max(...N.flatMap((p) => b.map((S) => Dt(a != null && a.tickFormatter ? a.tickFormatter(`${p[S]}`) : `${p[S]}`)))), P = [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");
781
+ return n(Ft, {
782
782
  config: e,
783
- ref: x,
783
+ ref: g,
784
784
  aspect: d,
785
- children: N(Ja, {
785
+ children: C(Ua, {
786
786
  accessibilityLayer: !0,
787
- data: A,
787
+ data: N,
788
788
  margin: {
789
789
  left: a && !a.hide ? 0 : 12,
790
790
  right: 12,
@@ -795,28 +795,28 @@ const Ua = (e) => {
795
795
  onClick: (p) => {
796
796
  if (!u || !p.activeLabel || !p.activePayload)
797
797
  return;
798
- const P = {
798
+ const S = {
799
799
  label: p.activeLabel,
800
800
  values: {}
801
801
  };
802
802
  for (const H of p.activePayload)
803
- P.values[H.name] = H.value;
804
- u(P);
803
+ S.values[H.name] = H.value;
804
+ u(S);
805
805
  },
806
- children: [!s && n(Ft, {
806
+ children: [!s && n(Tt, {
807
807
  ...It(),
808
808
  content: n(_t, {
809
809
  yAxisFormatter: a.tickFormatter
810
810
  })
811
811
  }), !l && n(Et, {
812
812
  ...jt()
813
- }), C.length > 0 && n(le, {
813
+ }), P.length > 0 && n(le, {
814
814
  ...Pe(a),
815
815
  tick: !0,
816
- width: a.width ?? w + 20 + (y.length > 0 && ((v = C[0]) != null && v.axisLabel) ? 20 : 0),
817
- hide: a.hide || C.some((p) => p == null ? void 0 : p.hideAxis),
818
- label: (L = C[0]) != null && L.axisLabel ? {
819
- value: C[0].axisLabel,
816
+ width: a.width ?? w + 20 + (y.length > 0 && ((v = P[0]) != null && v.axisLabel) ? 20 : 0),
817
+ hide: a.hide || P.some((p) => p == null ? void 0 : p.hideAxis),
818
+ label: (L = P[0]) != null && L.axisLabel ? {
819
+ value: P[0].axisLabel,
820
820
  angle: -90,
821
821
  position: "insideLeft"
822
822
  } : void 0
@@ -825,9 +825,9 @@ const Ua = (e) => {
825
825
  yAxisId: "right",
826
826
  orientation: "right",
827
827
  tick: !0,
828
- width: a.width ?? w + 20 + (C.length > 0 && ((T = y[0]) != null && T.axisLabel) ? 20 : 0),
828
+ width: a.width ?? w + 20 + (P.length > 0 && ((F = y[0]) != null && F.axisLabel) ? 20 : 0),
829
829
  hide: a.hide || y.some((p) => p == null ? void 0 : p.hideAxis),
830
- label: (E = y[0]) != null && E.axisLabel ? {
830
+ label: (_ = y[0]) != null && _.axisLabel ? {
831
831
  value: y[0].axisLabel,
832
832
  angle: 90,
833
833
  position: "insideRight"
@@ -837,9 +837,9 @@ const Ua = (e) => {
837
837
  hide: r == null ? void 0 : r.hide,
838
838
  tick: m ? (p) => {
839
839
  var be, ge;
840
- const { x: P, y: H, payload: ve } = p, ye = ((be = t.find((pt) => pt.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, ft = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
841
- return N("g", {
842
- transform: `translate(${P},${H})`,
840
+ const { x: S, y: H, payload: ve } = p, ye = ((be = t.find((pt) => pt.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, ft = J !== void 0 && a.tickFormatter ? a.tickFormatter(`${J}`) : J.toLocaleString();
841
+ return C("g", {
842
+ transform: `translate(${S},${H})`,
843
843
  children: [n("text", {
844
844
  x: 0,
845
845
  y: 0,
@@ -857,33 +857,33 @@ const Ua = (e) => {
857
857
  })]
858
858
  });
859
859
  } : void 0
860
- }), S.map((p, P) => n(_e, {
860
+ }), A.map((p, S) => n(_e, {
861
861
  isAnimationActive: !1,
862
862
  dataKey: String(p),
863
- fill: e[p].color ? W(e[p].color) : oe(P),
863
+ fill: e[p].color ? W(e[p].color) : oe(S),
864
864
  radius: 4,
865
865
  maxBarSize: 32,
866
- children: o && n(Fe, {
866
+ children: o && n(Te, {
867
867
  position: "top",
868
868
  offset: 10,
869
869
  className: "fill-f1-foreground",
870
870
  fontSize: 12
871
871
  }, `label-${String(p)}`)
872
- }, `bar-${String(p)}`)), O.map((p, P) => n(Ie, {
872
+ }, `bar-${String(p)}`)), O.map((p, S) => n(Ie, {
873
873
  type: (f == null ? void 0 : f.lineType) ?? "natural",
874
874
  dataKey: String(p),
875
- stroke: e[p].color ? W(e[p].color) : oe(S.length + P),
875
+ stroke: e[p].color ? W(e[p].color) : oe(A.length + S),
876
876
  strokeWidth: 2,
877
877
  dot: (f == null ? void 0 : f.dot) ?? !1,
878
878
  isAnimationActive: !1,
879
879
  yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0
880
- }, `line-${String(p)}`)), g.map((p, P) => n(Y, {
880
+ }, `line-${String(p)}`)), x.map((p, S) => n(Y, {
881
881
  dataKey: String(p),
882
- fill: e[p].color ? W(e[p].color) : oe(S.length + O.length + P),
882
+ fill: e[p].color ? W(e[p].color) : oe(A.length + O.length + S),
883
883
  r: 4,
884
884
  isAnimationActive: !1,
885
885
  yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
886
- shape: Ua(String(p))
886
+ shape: Xa(String(p))
887
887
  }, `scatter-${String(p)}`)), i && n(Bt, {
888
888
  content: n(Mt, {
889
889
  nameKey: "label"
@@ -895,21 +895,21 @@ const Ua = (e) => {
895
895
  })]
896
896
  })
897
897
  });
898
- }, Za = je(Xa);
899
- var me = "Progress", he = 100, [Qa, Or] = Rt(me), [er, tr] = Qa(me), at = fe.forwardRef(
898
+ }, Qa = je(Za);
899
+ var me = "Progress", he = 100, [er, kr] = Rt(me), [tr, ar] = er(me), at = fe.forwardRef(
900
900
  (e, t) => {
901
901
  const {
902
902
  __scopeProgress: r,
903
903
  value: a = null,
904
904
  max: o,
905
- getValueLabel: s = ar,
905
+ getValueLabel: s = rr,
906
906
  ...l
907
907
  } = e;
908
- (o || o === 0) && !ke(o) && console.error(rr(`${o}`, "Progress"));
908
+ (o || o === 0) && !ke(o) && console.error(nr(`${o}`, "Progress"));
909
909
  const d = ke(o) ? o : he;
910
- a !== null && !Le(a, d) && console.error(nr(`${a}`, "Progress"));
910
+ a !== null && !Le(a, d) && console.error(or(`${a}`, "Progress"));
911
911
  const i = Le(a, d) ? a : null, m = te(i) ? s(i, d) : void 0;
912
- return /* @__PURE__ */ n(er, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
912
+ return /* @__PURE__ */ n(tr, { scope: r, value: i, max: d, children: /* @__PURE__ */ n(
913
913
  $e.div,
914
914
  {
915
915
  "aria-valuemax": d,
@@ -929,7 +929,7 @@ var me = "Progress", he = 100, [Qa, Or] = Rt(me), [er, tr] = Qa(me), at = fe.for
929
929
  at.displayName = me;
930
930
  var rt = "ProgressIndicator", nt = fe.forwardRef(
931
931
  (e, t) => {
932
- const { __scopeProgress: r, ...a } = e, o = tr(rt, r);
932
+ const { __scopeProgress: r, ...a } = e, o = ar(rt, r);
933
933
  return /* @__PURE__ */ n(
934
934
  $e.div,
935
935
  {
@@ -943,7 +943,7 @@ var rt = "ProgressIndicator", nt = fe.forwardRef(
943
943
  }
944
944
  );
945
945
  nt.displayName = rt;
946
- function ar(e, t) {
946
+ function rr(e, t) {
947
947
  return `${Math.round(e / t * 100)}%`;
948
948
  }
949
949
  function ot(e, t) {
@@ -958,10 +958,10 @@ function ke(e) {
958
958
  function Le(e, t) {
959
959
  return te(e) && !isNaN(e) && e <= t && e >= 0;
960
960
  }
961
- function rr(e, t) {
961
+ function nr(e, t) {
962
962
  return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${he}\`.`;
963
963
  }
964
- function nr(e, t) {
964
+ function or(e, t) {
965
965
  return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
966
966
  - a positive number
967
967
  - less than the value passed to \`max\` (or ${he} if no \`max\` prop is set)
@@ -969,12 +969,12 @@ function nr(e, t) {
969
969
 
970
970
  Defaulting to \`null\`.`;
971
971
  }
972
- var it = at, or = nt;
972
+ var it = at, ir = nt;
973
973
  const st = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(it, {
974
974
  ref: a,
975
- className: _("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
975
+ className: E("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
976
976
  ...r,
977
- children: n(or, {
977
+ children: n(ir, {
978
978
  className: "h-full w-full flex-1 transition-all",
979
979
  style: {
980
980
  backgroundColor: r.color,
@@ -983,9 +983,9 @@ const st = fe.forwardRef(({ className: e, value: t, ...r }, a) => n(it, {
983
983
  })
984
984
  }));
985
985
  st.displayName = it.displayName;
986
- const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
986
+ const sr = ({ value: e, max: t = 100, label: r, color: a }, o) => {
987
987
  const s = a ? W(a) : W("categorical-1"), l = e / t * 100;
988
- return N("div", {
988
+ return C("div", {
989
989
  className: "flex items-center space-x-2",
990
990
  "aria-live": "polite",
991
991
  children: [n("div", {
@@ -1004,19 +1004,19 @@ const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1004
1004
  children: r
1005
1005
  })]
1006
1006
  });
1007
- }, sr = je(ir), kr = I(
1007
+ }, lr = je(sr), Lr = I(
1008
1008
  {
1009
1009
  name: "AreaChart",
1010
1010
  type: "info"
1011
1011
  },
1012
1012
  qt
1013
- ), Lr = I(
1013
+ ), Dr = I(
1014
1014
  {
1015
1015
  name: "BarChart",
1016
1016
  type: "info"
1017
1017
  },
1018
1018
  zt
1019
- ), Dr = I(
1019
+ ), Fr = I(
1020
1020
  {
1021
1021
  name: "CategoryBarChart",
1022
1022
  type: "info"
@@ -1028,35 +1028,35 @@ const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1028
1028
  type: "info"
1029
1029
  },
1030
1030
  Wt
1031
- ), Fr = I(
1031
+ ), Ir = I(
1032
1032
  {
1033
1033
  name: "PieChart",
1034
1034
  type: "info"
1035
1035
  },
1036
1036
  Gt
1037
- ), Ir = I(
1037
+ ), _r = I(
1038
1038
  {
1039
1039
  name: "VerticalBarChart",
1040
1040
  type: "info"
1041
1041
  },
1042
1042
  Vt
1043
- ), _r = I(
1043
+ ), Er = I(
1044
1044
  {
1045
1045
  name: "ProgressBarChart",
1046
1046
  type: "info"
1047
1047
  },
1048
- sr
1049
- ), Er = I(
1048
+ lr
1049
+ ), jr = I(
1050
1050
  {
1051
1051
  name: "ComboChart",
1052
1052
  type: "info"
1053
1053
  },
1054
- Za
1055
- ), jr = Yt, $r = Be, Br = ["default", "outline", "neutral"], Mr = Be, Rr = ["sm", "md", "lg"], zr = Ht, de = ({ count: e, list: t }) => {
1054
+ Qa
1055
+ ), $r = Yt, Br = Be, Mr = ["default", "outline", "neutral"], Rr = Be, zr = ["sm", "md", "lg"], Kr = Ht, de = ({ count: e, list: t }) => {
1056
1056
  const [r, a] = D(!1), o = n(Z, {
1057
1057
  label: `+${e}`
1058
1058
  });
1059
- return t != null && t.length ? N(Me, {
1059
+ return t != null && t.length ? C(Me, {
1060
1060
  open: r,
1061
1061
  onOpenChange: a,
1062
1062
  children: [n(Re, {
@@ -1068,7 +1068,7 @@ const ir = ({ value: e, max: t = 100, label: r, color: a }, o) => {
1068
1068
  }), n(ze, {
1069
1069
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
1070
1070
  align: "end",
1071
- children: N(Ke, {
1071
+ children: C(Ke, {
1072
1072
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
1073
1073
  children: [t.map((s, l) => n("div", {
1074
1074
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
@@ -1101,7 +1101,7 @@ const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
1101
1101
  className: "flex-1"
1102
1102
  });
1103
1103
  const o = e.slice(0, t), s = e.slice(t), l = r ?? e.length - t, d = l > 0;
1104
- return N("div", {
1104
+ return C("div", {
1105
1105
  className: "flex items-center gap-2",
1106
1106
  children: [o.map((i, m) => n(Z, {
1107
1107
  ...i
@@ -1112,29 +1112,29 @@ const lt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" })
1112
1112
  });
1113
1113
  };
1114
1114
  lt.displayName = "F0ChipList";
1115
- const Kr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1115
+ const Wr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularity: r, onOpenChange: a, minDate: o, maxDate: s, onClear: l, ...d }, i) => {
1116
1116
  const [m, c] = D(""), [f, h] = D(!1), u = Ve();
1117
1117
  B(() => {
1118
1118
  c(r.toString(e == null ? void 0 : e.value, u));
1119
1119
  }, [e, r, u]);
1120
- const x = (g) => Qt(g, r, {
1120
+ const g = (x) => Qt(x, r, {
1121
1121
  minDate: o,
1122
1122
  maxDate: s
1123
- }), A = (g, b) => {
1124
- if (g === "") {
1123
+ }), N = (x, b) => {
1124
+ if (x === "") {
1125
1125
  t == null || t({
1126
1126
  value: void 0,
1127
1127
  granularity: b.key
1128
1128
  }), h(d.required ?? !1);
1129
1129
  return;
1130
1130
  }
1131
- const w = b.toRange(b.fromString(g, u));
1132
- w && x(w == null ? void 0 : w.from) && x(w == null ? void 0 : w.to) ? (t == null || t({
1131
+ const w = b.toRange(b.fromString(x, u));
1132
+ w && g(w == null ? void 0 : w.from) && g(w == null ? void 0 : w.to) ? (t == null || t({
1133
1133
  value: w,
1134
1134
  granularity: b.key
1135
1135
  }), h(!1)) : h(!0);
1136
- }, S = () => {
1137
- A(m, r);
1136
+ }, A = () => {
1137
+ N(m, r);
1138
1138
  };
1139
1139
  return n(ae, {
1140
1140
  children: n(Xt, {
@@ -1143,29 +1143,29 @@ const Kr = Ge("F0ChipList", lt), ct = q(({ value: e, onDateChange: t, granularit
1143
1143
  ref: i,
1144
1144
  onFocus: () => a == null ? void 0 : a(!0),
1145
1145
  onClear: () => {
1146
- l == null || l(), c(""), A("", r);
1146
+ l == null || l(), c(""), N("", r);
1147
1147
  },
1148
- onKeyDown: (g) => {
1149
- g.key === "Enter" && S();
1148
+ onKeyDown: (x) => {
1149
+ x.key === "Enter" && A();
1150
1150
  },
1151
1151
  type: "text",
1152
- onChange: (g) => {
1153
- c(g);
1152
+ onChange: (x) => {
1153
+ c(x);
1154
1154
  },
1155
1155
  error: f || d.error,
1156
- onBlur: S,
1156
+ onBlur: A,
1157
1157
  value: m,
1158
1158
  onClickContent: () => a == null ? void 0 : a(!0)
1159
1159
  })
1160
1160
  });
1161
1161
  });
1162
1162
  ct.displayName = "DateInput";
1163
- function lr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
1163
+ function cr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"], minDate: o, maxDate: s, open: l = !1, ...d }) {
1164
1164
  const [i, m] = D(), [c, f] = D(l);
1165
1165
  B(() => {
1166
1166
  f(l);
1167
1167
  }, [l]);
1168
- const h = Ve(), u = se(() => a[0] ?? "day", [a]), x = Ne((y) => {
1168
+ const h = Ve(), u = se(() => a[0] ?? "day", [a]), g = Ne((y) => {
1169
1169
  const v = y || u;
1170
1170
  if (!Se[v])
1171
1171
  throw new Error(`Invalid granularity ${v}`);
@@ -1173,37 +1173,37 @@ function lr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1173
1173
  ...Se[v],
1174
1174
  key: v
1175
1175
  };
1176
- }, [u]), A = Ne((y) => {
1176
+ }, [u]), N = Ne((y) => {
1177
1177
  var L;
1178
1178
  if (!y)
1179
1179
  return;
1180
- const v = x(y == null ? void 0 : y.granularity);
1180
+ const v = g(y == null ? void 0 : y.granularity);
1181
1181
  return y ? {
1182
1182
  value: v.toRange(v.calendarMode === "range" ? y.value : ((L = y.value) == null ? void 0 : L.from) ?? void 0),
1183
1183
  granularity: y.granularity
1184
1184
  } : void 0;
1185
- }, [x]), S = se(() => x(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, x]);
1185
+ }, [g]), A = se(() => g(i == null ? void 0 : i.granularity), [i == null ? void 0 : i.granularity, g]);
1186
1186
  B(() => {
1187
- const y = A(t);
1187
+ const y = N(t);
1188
1188
  ie(i, y) || m(y);
1189
1189
  }, [t]);
1190
1190
  const O = (y) => {
1191
- 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);
1192
- g(v), T && f(!1);
1193
- }, g = (y) => {
1194
- const v = A(y);
1191
+ const v = N(y), F = g(v == null ? void 0 : v.granularity).calendarMode !== "range" && (v == null ? void 0 : v.granularity) === (i == null ? void 0 : i.granularity) && !ie(v, i);
1192
+ x(v), F && f(!1);
1193
+ }, x = (y) => {
1194
+ const v = N(y);
1195
1195
  if (m(v), !ie(v, i)) {
1196
- const L = x(v == null ? void 0 : v.granularity);
1196
+ const L = g(v == null ? void 0 : v.granularity);
1197
1197
  e == null || e(v, L.toString(v == null ? void 0 : v.value, h));
1198
1198
  }
1199
1199
  }, b = (y) => {
1200
1200
  var v;
1201
1201
  f(y), (v = d.onOpenChange) == null || v.call(d, y);
1202
- }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), C = pe(null);
1202
+ }, w = se(() => r.filter((y) => a.includes(y.granularity)), [r, a]), P = pe(null);
1203
1203
  return B(() => {
1204
- c && C.current && requestAnimationFrame(() => {
1204
+ c && P.current && requestAnimationFrame(() => {
1205
1205
  var y;
1206
- (y = C.current) == null || y.focus();
1206
+ (y = P.current) == null || y.focus();
1207
1207
  });
1208
1208
  }, [c]), n(ea, {
1209
1209
  hideCalendarInput: !0,
@@ -1217,44 +1217,44 @@ function lr({ onChange: e, value: t, presets: r = [], granularities: a = ["day"]
1217
1217
  onOpenChange: b,
1218
1218
  asChild: !0,
1219
1219
  children: n(ct, {
1220
- ref: C,
1220
+ ref: P,
1221
1221
  ...d,
1222
1222
  value: i,
1223
- granularity: S,
1224
- onDateChange: g
1223
+ granularity: A,
1224
+ onDateChange: x
1225
1225
  })
1226
1226
  });
1227
1227
  }
1228
- const Wr = ta, Gr = Ge(
1228
+ const Gr = ta, Vr = Ge(
1229
1229
  "F0DatePicker",
1230
- lr
1231
- ), cr = {
1230
+ cr
1231
+ ), ur = {
1232
1232
  xs: 1,
1233
1233
  sm: 2,
1234
1234
  md: 2,
1235
1235
  lg: 2
1236
- }, ur = q(function({ widgets: t, children: r }, a) {
1236
+ }, dr = q(function({ widgets: t, children: r }, a) {
1237
1237
  const o = pe(null);
1238
- Oa(a, () => o.current);
1239
- const s = ka.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
1238
+ ka(a, () => o.current);
1239
+ const s = La.toArray(t).filter((l) => !!l).map((l, d) => n("div", {
1240
1240
  className: "h-full @5xl:h-auto [&>div]:h-full",
1241
1241
  children: l
1242
1242
  }, d));
1243
1243
  return n(qe, {
1244
1244
  layout: "home",
1245
- children: N("div", {
1245
+ children: C("div", {
1246
1246
  ref: o,
1247
1247
  className: "@container",
1248
- children: [N("div", {
1248
+ children: [C("div", {
1249
1249
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
1250
1250
  children: [n(aa, {
1251
- columns: cr,
1251
+ columns: ur,
1252
1252
  showArrows: !1,
1253
1253
  children: s
1254
1254
  }), n("main", {
1255
1255
  children: r
1256
1256
  })]
1257
- }), N("div", {
1257
+ }), C("div", {
1258
1258
  className: "hidden grid-cols-3 gap-5 px-6 pb-6 pt-2 @5xl:grid",
1259
1259
  children: [n("div", {
1260
1260
  className: "col-span-3 flex flex-row gap-5 *:flex-1",
@@ -1269,26 +1269,26 @@ const Wr = ta, Gr = Ge(
1269
1269
  })]
1270
1270
  })
1271
1271
  });
1272
- }), dr = q(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1272
+ }), fr = q(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: o = !1 }, s) {
1273
1273
  return n("div", {
1274
1274
  ref: s,
1275
1275
  className: "h-full",
1276
- children: N("div", {
1277
- 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"),
1276
+ children: C("div", {
1277
+ className: E("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"),
1278
1278
  children: [n("main", {
1279
- 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"),
1279
+ className: E("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"),
1280
1280
  children: t
1281
- }), n(fr, {
1281
+ }), n(pr, {
1282
1282
  sticky: o,
1283
- className: _("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1283
+ className: E("order-1", a === "right" ? "md:order-1" : "md:order-3"),
1284
1284
  children: r
1285
1285
  })]
1286
1286
  })
1287
1287
  });
1288
- }), fr = ({ children: e, className: t }) => n("aside", {
1289
- 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),
1288
+ }), pr = ({ children: e, className: t }) => n("aside", {
1289
+ className: E("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1290
1290
  children: e
1291
- }), pr = ra({
1291
+ }), mr = ra({
1292
1292
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
1293
1293
  variants: {
1294
1294
  variant: {
@@ -1299,10 +1299,10 @@ const Wr = ta, Gr = Ge(
1299
1299
  layout: "standard",
1300
1300
  children: n("section", {
1301
1301
  ref: o,
1302
- className: _("relative flex-1 overflow-auto", r),
1302
+ className: E("relative flex-1 overflow-auto", r),
1303
1303
  ...a,
1304
1304
  children: n("div", {
1305
- className: _(pr({
1305
+ className: E(mr({
1306
1306
  variant: t
1307
1307
  })),
1308
1308
  children: e
@@ -1310,32 +1310,32 @@ const Wr = ta, Gr = Ge(
1310
1310
  })
1311
1311
  }));
1312
1312
  ut.displayName = "StandardLayout";
1313
- const Vr = I({
1313
+ const qr = I({
1314
1314
  name: "StandardLayout",
1315
1315
  type: "layout"
1316
- }, ut), qr = I({
1316
+ }, ut), Yr = I({
1317
1317
  name: "TwoColumnLayout",
1318
1318
  type: "layout"
1319
- }, dr), Yr = I({
1319
+ }, fr), Hr = I({
1320
1320
  name: "HomeLayout",
1321
1321
  type: "layout"
1322
- }, ur), mr = ({ benefits: e }) => n("div", {
1322
+ }, dr), hr = ({ benefits: e }) => n("div", {
1323
1323
  className: "flex flex-col gap-2",
1324
- children: e.map((t, r) => n(hr, {
1324
+ children: e.map((t, r) => n(vr, {
1325
1325
  text: t
1326
1326
  }, r))
1327
- }), hr = ({ text: e }) => N("div", {
1327
+ }), vr = ({ text: e }) => C("div", {
1328
1328
  className: "flex flex-row items-start gap-2",
1329
- children: [n(oa, {
1330
- icon: ia,
1329
+ children: [n(ia, {
1330
+ icon: sa,
1331
1331
  size: "md",
1332
1332
  className: "text-f1-icon-positive"
1333
1333
  }), n("span", {
1334
1334
  children: e
1335
1335
  })]
1336
- }), dt = q(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d }, i) => N("div", {
1337
- ref: i,
1338
- className: _("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1336
+ }), dt = q(({ title: e, image: t, benefits: r, actions: a, withShadow: o = !0, module: s, moduleName: l, tag: d, promoTag: i }, m) => C("div", {
1337
+ ref: m,
1338
+ className: E("bg-white flex flex-row rounded-xl border border-f1-border-secondary", o && "shadow-md"),
1339
1339
  children: [n("div", {
1340
1340
  className: "aspect-auto flex-shrink-0 overflow-hidden rounded-xl py-1 pl-1",
1341
1341
  children: n("img", {
@@ -1343,13 +1343,13 @@ const Vr = I({
1343
1343
  alt: "",
1344
1344
  className: "h-full w-full rounded-lg object-cover"
1345
1345
  })
1346
- }), N("div", {
1346
+ }), C("div", {
1347
1347
  className: "flex flex-col justify-center gap-8 px-8 py-5",
1348
- children: [N("div", {
1348
+ children: [C("div", {
1349
1349
  className: "flex flex-col gap-5",
1350
- children: [N("div", {
1350
+ children: [C("div", {
1351
1351
  className: "flex flex-col gap-2",
1352
- children: [N("div", {
1352
+ children: [C("div", {
1353
1353
  className: "flex flex-row items-center gap-2",
1354
1354
  children: [s && n(Ye, {
1355
1355
  module: s
@@ -1357,17 +1357,20 @@ const Vr = I({
1357
1357
  className: "text-base font-medium text-f1-foreground",
1358
1358
  children: l
1359
1359
  })]
1360
- }), d && n("div", {
1361
- className: "flex justify-start",
1362
- children: n(na, {
1360
+ }), (d || i) && C("div", {
1361
+ className: "flex justify-start gap-2",
1362
+ children: [d && n(na, {
1363
1363
  icon: d.icon,
1364
1364
  text: d.label
1365
- })
1365
+ }), i && n(oa, {
1366
+ variant: i.variant || "positive",
1367
+ text: i.label
1368
+ })]
1366
1369
  }), n("h2", {
1367
1370
  className: "font-bold text-xl text-f1-foreground",
1368
1371
  children: e
1369
1372
  })]
1370
- }), n(mr, {
1373
+ }), n(hr, {
1371
1374
  benefits: r
1372
1375
  })]
1373
1376
  }), a && n("div", {
@@ -1377,35 +1380,35 @@ const Vr = I({
1377
1380
  })]
1378
1381
  }));
1379
1382
  dt.displayName = "ProductBlankslate";
1380
- function vr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
1383
+ function yr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalContainer: s }) {
1381
1384
  const [l, d] = D(e);
1382
1385
  return B(() => {
1383
1386
  d(e);
1384
- }, [e]), n(sa, {
1387
+ }, [e]), n(la, {
1385
1388
  open: l,
1386
1389
  onOpenChange: (m) => {
1387
1390
  d(m), m || t();
1388
1391
  },
1389
1392
  modal: !0,
1390
- children: N(la, {
1393
+ children: C(ca, {
1391
1394
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
1392
1395
  container: s,
1393
- children: [N("div", {
1396
+ children: [C("div", {
1394
1397
  className: "flex flex-row items-center justify-between px-4 py-4",
1395
- children: [N(ca, {
1398
+ children: [C(ua, {
1396
1399
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
1397
1400
  children: [o && n(Ye, {
1398
1401
  module: o,
1399
1402
  size: "lg"
1400
1403
  }), r]
1401
- }), n(ua, {
1404
+ }), n(da, {
1402
1405
  variant: "outline",
1403
1406
  icon: He,
1404
1407
  onClick: t,
1405
1408
  label: "Close modal",
1406
1409
  hideLabel: !0
1407
1410
  })]
1408
- }), N(Ke, {
1411
+ }), C(Ke, {
1409
1412
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
1410
1413
  children: [a, n(We, {
1411
1414
  orientation: "vertical",
@@ -1415,28 +1418,28 @@ function vr({ isOpen: e, onClose: t, title: r, children: a, module: o, portalCon
1415
1418
  })
1416
1419
  });
1417
1420
  }
1418
- function Hr({ 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 }) {
1419
- const [O, g] = D(e), [b, w] = D(null), [C, y] = D(!1), v = async () => {
1421
+ function Jr({ 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: g, tag: N, promoTag: A, showResponseDialog: O = !0 }) {
1422
+ const [x, b] = D(e), [w, P] = D(null), [y, v] = D(!1), L = async () => {
1420
1423
  if (c != null && c.onClick) {
1421
- y(!0);
1424
+ v(!0);
1422
1425
  try {
1423
- await c.onClick(), g(!1), S && w("success");
1426
+ await c.onClick(), b(!1), O && P("success");
1424
1427
  } catch {
1425
- S && w("error");
1428
+ O && P("error");
1426
1429
  } finally {
1427
- y(!1);
1430
+ v(!1);
1428
1431
  }
1429
1432
  }
1430
- }, L = () => {
1431
- g(!1), t == null || t();
1432
- }, T = C;
1433
- return N(ae, {
1434
- children: [n(vr, {
1435
- isOpen: O,
1436
- onClose: L,
1433
+ }, F = () => {
1434
+ b(!1), t == null || t();
1435
+ }, _ = y;
1436
+ return C(ae, {
1437
+ children: [n(yr, {
1438
+ isOpen: x,
1439
+ onClose: F,
1437
1440
  title: f,
1438
1441
  module: h,
1439
- portalContainer: x,
1442
+ portalContainer: g,
1440
1443
  children: n("div", {
1441
1444
  className: "pb-4 pl-4",
1442
1445
  children: n(dt, {
@@ -1444,14 +1447,15 @@ function Hr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1444
1447
  image: a,
1445
1448
  benefits: o,
1446
1449
  withShadow: !1,
1447
- tag: A,
1448
- actions: N("div", {
1450
+ tag: N,
1451
+ promoTag: A,
1452
+ actions: C("div", {
1449
1453
  className: "flex gap-3",
1450
1454
  children: [c && n(M, {
1451
1455
  variant: c.variant,
1452
- label: T ? d.label : c.label,
1456
+ label: _ ? d.label : c.label,
1453
1457
  icon: c.icon || void 0,
1454
- onClick: v,
1458
+ onClick: L,
1455
1459
  loading: c.loading,
1456
1460
  size: c.size
1457
1461
  }), u && n(M, {
@@ -1464,21 +1468,21 @@ function Hr({ isOpen: e, onClose: t, title: r, image: a, benefits: o, errorMessa
1464
1468
  })
1465
1469
  })
1466
1470
  })
1467
- }), b && S && n(Je, {
1471
+ }), w && O && n(Je, {
1468
1472
  open: !0,
1469
1473
  onClose: () => {
1470
- L(), w(null);
1474
+ F(), P(null);
1471
1475
  },
1472
- success: b === "success",
1476
+ success: w === "success",
1473
1477
  errorMessage: s,
1474
1478
  successMessage: l,
1475
1479
  nextSteps: i,
1476
1480
  closeLabel: m,
1477
- portalContainer: x
1481
+ portalContainer: g
1478
1482
  })]
1479
1483
  });
1480
1484
  }
1481
- function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
1485
+ function br({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o, width: s, trackVisibility: l, actions: d, showConfirmation: i = !0 }) {
1482
1486
  const [m, c] = D(!1), f = () => {
1483
1487
  c(!0), a && a();
1484
1488
  };
@@ -1487,12 +1491,12 @@ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1487
1491
  }, [l, m]);
1488
1492
  const h = e == null ? void 0 : e.includes(".mp4");
1489
1493
  return n(ae, {
1490
- children: m ? null : N(da, {
1494
+ children: m ? null : C(fa, {
1491
1495
  style: {
1492
1496
  width: s
1493
1497
  },
1494
1498
  className: "relative bg-f1-background p-1",
1495
- children: [N(fa, {
1499
+ children: [C(pa, {
1496
1500
  children: [o && n("div", {
1497
1501
  className: "absolute right-2 top-2 z-10",
1498
1502
  children: n(M, {
@@ -1503,7 +1507,7 @@ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1503
1507
  onClick: f,
1504
1508
  label: "Close"
1505
1509
  })
1506
- }), N("div", {
1510
+ }), C("div", {
1507
1511
  children: [n("div", {
1508
1512
  children: e && (h ? n("video", {
1509
1513
  src: e,
@@ -1517,7 +1521,7 @@ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1517
1521
  alt: t,
1518
1522
  className: "h-full w-full rounded-md"
1519
1523
  }))
1520
- }), N("div", {
1524
+ }), C("div", {
1521
1525
  className: "flex flex-col gap-[2px] p-3",
1522
1526
  children: [n(Ce, {
1523
1527
  className: "text-lg font-medium",
@@ -1528,7 +1532,7 @@ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1528
1532
  })]
1529
1533
  })]
1530
1534
  })]
1531
- }), d && n(pa, {
1535
+ }), d && n(ma, {
1532
1536
  className: "p-3",
1533
1537
  children: d.map((u) => u.type === "upsell" ? n(Ue, {
1534
1538
  label: u.label,
@@ -1549,7 +1553,7 @@ function yr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: o,
1549
1553
  })
1550
1554
  });
1551
1555
  }
1552
- const br = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1556
+ const gr = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1553
1557
  const s = (i) => i.variant === "promote" ? n(Ue, {
1554
1558
  label: i.label,
1555
1559
  onRequest: async () => {
@@ -1570,7 +1574,7 @@ const br = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1570
1574
  size: "md",
1571
1575
  icon: i.icon
1572
1576
  }), l = (t == null ? void 0 : t.variant) !== "promote" ? t : void 0, d = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0;
1573
- return N(ma, {
1577
+ return C(ha, {
1574
1578
  ref: o,
1575
1579
  ...a,
1576
1580
  primaryAction: l,
@@ -1578,28 +1582,28 @@ const br = q(function({ primaryAction: t, secondaryAction: r, ...a }, o) {
1578
1582
  children: [(t == null ? void 0 : t.variant) === "promote" && s(t), (r == null ? void 0 : r.variant) === "promote" && s(r)]
1579
1583
  });
1580
1584
  });
1581
- br.displayName = "UpsellingBanner";
1582
- function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = ha, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: x, onClick: A, hideLabel: S = !1 }) {
1583
- const [O, g] = D(!1), [b, w] = D(null), [C, y] = D(null), v = (P) => {
1584
- t(P), A && A();
1585
- }, L = async (P) => {
1586
- if (P.type === "upsell") {
1587
- y(P);
1585
+ gr.displayName = "UpsellingBanner";
1586
+ function Ur({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o = "md", showIcon: s = !0, side: l = "right", align: d = "center", icon: i = va, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: g, onClick: N, hideLabel: A = !1 }) {
1587
+ const [O, x] = D(!1), [b, w] = D(null), [P, y] = D(null), v = (S) => {
1588
+ t(S), N && N();
1589
+ }, L = async (S) => {
1590
+ if (S.type === "upsell") {
1591
+ y(S);
1588
1592
  try {
1589
- await P.onClick(), P.showConfirmation && (g(!0), w("success"));
1593
+ await S.onClick(), S.showConfirmation && (x(!0), w("success"));
1590
1594
  } catch {
1591
- g(!0), w("error");
1595
+ x(!0), w("error");
1592
1596
  }
1593
1597
  }
1594
- }, T = () => {
1595
- w(null), g(!1), y(null), t(!1);
1596
- }, E = e && !O, p = x == null ? void 0 : x.map((P) => P.type === "upsell" ? {
1597
- ...P,
1598
- onClick: () => L(P)
1599
- } : P);
1600
- return N(ae, {
1601
- children: [N(Me, {
1602
- open: E,
1598
+ }, F = () => {
1599
+ w(null), x(!1), y(null), t(!1);
1600
+ }, _ = e && !O, p = g == null ? void 0 : g.map((S) => S.type === "upsell" ? {
1601
+ ...S,
1602
+ onClick: () => L(S)
1603
+ } : S);
1604
+ return C(ae, {
1605
+ children: [C(Me, {
1606
+ open: _,
1603
1607
  onOpenChange: v,
1604
1608
  children: [n(Re, {
1605
1609
  asChild: !0,
@@ -1609,13 +1613,13 @@ function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1609
1613
  size: o,
1610
1614
  icon: s ? i : void 0,
1611
1615
  onClick: () => t(e),
1612
- hideLabel: S
1616
+ hideLabel: A
1613
1617
  })
1614
1618
  }), n(ze, {
1615
1619
  side: l,
1616
1620
  align: d,
1617
1621
  className: "w-fit border-none bg-transparent p-2 shadow-none",
1618
- children: n(yr, {
1622
+ children: n(br, {
1619
1623
  mediaUrl: m,
1620
1624
  title: c,
1621
1625
  description: f,
@@ -1627,56 +1631,56 @@ function Jr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: o
1627
1631
  showConfirmation: !1
1628
1632
  })
1629
1633
  })]
1630
- }), (C == null ? void 0 : C.type) === "upsell" && C.showConfirmation && b && n(Je, {
1634
+ }), (P == null ? void 0 : P.type) === "upsell" && P.showConfirmation && b && n(Je, {
1631
1635
  open: !0,
1632
- onClose: T,
1636
+ onClose: F,
1633
1637
  success: b === "success",
1634
- errorMessage: C.errorMessage,
1635
- successMessage: C.successMessage,
1636
- nextSteps: C.nextSteps,
1637
- closeLabel: C.closeLabel,
1638
+ errorMessage: P.errorMessage,
1639
+ successMessage: P.successMessage,
1640
+ nextSteps: P.nextSteps,
1641
+ closeLabel: P.closeLabel,
1638
1642
  portalContainer: null
1639
1643
  })]
1640
1644
  });
1641
1645
  }
1642
- const gr = La(null), xr = ({ children: e, fullScreen: t = !0 }) => {
1646
+ const xr = Da(null), wr = ({ children: e, fullScreen: t = !0 }) => {
1643
1647
  const r = pe(null), [a, o] = D(r.current);
1644
- return Na(() => {
1648
+ return Aa(() => {
1645
1649
  o(r.current);
1646
- }, []), n(gr.Provider, {
1650
+ }, []), n(xr.Provider, {
1647
1651
  value: {
1648
1652
  element: a
1649
1653
  },
1650
1654
  children: n("div", {
1651
1655
  ref: r,
1652
1656
  id: "f0-layout",
1653
- className: _({
1657
+ className: E({
1654
1658
  "flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": t
1655
1659
  }),
1656
1660
  children: e
1657
1661
  })
1658
1662
  });
1659
- }, wr = ({ children: e }) => n(Ca, {
1663
+ }, Pr = ({ children: e }) => n(Na, {
1660
1664
  reducedMotion: "user",
1661
1665
  children: e
1662
- }), Ur = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(wr, {
1663
- children: n(va, {
1666
+ }), Xr = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: o, i18n: s, l10n: l, isDev: d = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => n(Pr, {
1667
+ children: n(ya, {
1664
1668
  isDev: d,
1665
1669
  showExperimentalWarnings: m,
1666
- children: n(ya, {
1670
+ children: n(ba, {
1667
1671
  ...l,
1668
- children: n(ba, {
1672
+ children: n(ga, {
1669
1673
  ...s,
1670
- children: n(ga, {
1674
+ children: n(xa, {
1671
1675
  ...r,
1672
- children: n(xr, {
1676
+ children: n(wr, {
1673
1677
  ...t,
1674
- children: n(xa, {
1675
- children: n(wa, {
1678
+ children: n(wa, {
1679
+ children: n(Pa, {
1676
1680
  initiallyEnabled: a,
1677
- children: n(Pa, {
1681
+ children: n(Sa, {
1678
1682
  ...o,
1679
- children: n(Sa, {
1683
+ children: n(Ca, {
1680
1684
  handler: i,
1681
1685
  children: e
1682
1686
  })
@@ -1688,7 +1692,7 @@ const gr = La(null), xr = ({ children: e, fullScreen: t = !0 }) => {
1688
1692
  })
1689
1693
  })
1690
1694
  })
1691
- }), De = (e) => `datacollection-${e}`, Xr = {
1695
+ }), De = (e) => `datacollection-${e}`, Zr = {
1692
1696
  get: async (e) => JSON.parse(
1693
1697
  localStorage.getItem(De(e)) ?? "{}"
1694
1698
  ),
@@ -1697,82 +1701,82 @@ const gr = La(null), xr = ({ children: e, fullScreen: t = !0 }) => {
1697
1701
  }
1698
1702
  };
1699
1703
  export {
1700
- kr as AreaChart,
1701
- en as Await,
1702
- Lr as BarChart,
1703
- Dr as CategoryBarChart,
1704
- Er as ComboChart,
1705
- tn as DndProvider,
1706
- an as EmojiImage,
1707
- rn as F0Avatar,
1708
- nn as F0AvatarAlert,
1709
- on as F0AvatarCompany,
1710
- sn as F0AvatarDate,
1711
- ln as F0AvatarEmoji,
1712
- cn as F0AvatarFile,
1713
- un as F0AvatarIcon,
1714
- dn as F0AvatarList,
1704
+ Lr as AreaChart,
1705
+ tn as Await,
1706
+ Dr as BarChart,
1707
+ Fr as CategoryBarChart,
1708
+ jr as ComboChart,
1709
+ an as DndProvider,
1710
+ rn as EmojiImage,
1711
+ nn as F0Avatar,
1712
+ on as F0AvatarAlert,
1713
+ sn as F0AvatarCompany,
1714
+ ln as F0AvatarDate,
1715
+ cn as F0AvatarEmoji,
1716
+ un as F0AvatarFile,
1717
+ dn as F0AvatarIcon,
1718
+ fn as F0AvatarList,
1715
1719
  Ye as F0AvatarModule,
1716
- fn as F0AvatarPerson,
1717
- pn as F0AvatarTeam,
1720
+ pn as F0AvatarPerson,
1721
+ mn as F0AvatarTeam,
1718
1722
  M as F0Button,
1719
- mn as F0ButtonDropdown,
1720
- hn as F0ButtonToggle,
1721
- vn as F0Card,
1722
- yn as F0Checkbox,
1723
- Kr as F0ChipList,
1724
- Gr as F0DatePicker,
1725
- bn as F0EventCatcherProvider,
1726
- oa as F0Icon,
1727
- gn as F0Link,
1728
- Ur as F0Provider,
1729
- xn as F0TagAlert,
1730
- wn as F0TagBalance,
1731
- Pn as F0TagCompany,
1732
- Sn as F0TagDot,
1733
- Cn as F0TagList,
1734
- Nn as F0TagPerson,
1723
+ hn as F0ButtonDropdown,
1724
+ vn as F0ButtonToggle,
1725
+ yn as F0Card,
1726
+ bn as F0Checkbox,
1727
+ Wr as F0ChipList,
1728
+ Vr as F0DatePicker,
1729
+ gn as F0EventCatcherProvider,
1730
+ ia as F0Icon,
1731
+ xn as F0Link,
1732
+ Xr as F0Provider,
1733
+ wn as F0TagAlert,
1734
+ Pn as F0TagBalance,
1735
+ Sn as F0TagCompany,
1736
+ Cn as F0TagDot,
1737
+ Nn as F0TagList,
1738
+ An as F0TagPerson,
1735
1739
  na as F0TagRaw,
1736
- An as F0TagStatus,
1740
+ oa as F0TagStatus,
1737
1741
  On as F0TagTeam,
1738
1742
  kn as GROUP_ID_SYMBOL,
1739
- Yr as HomeLayout,
1743
+ Hr as HomeLayout,
1740
1744
  Tr as LineChart,
1741
1745
  Ln as OneFilterPicker,
1742
- Fr as PieChart,
1743
- wa as PrivacyModeProvider,
1746
+ Ir as PieChart,
1747
+ Pa as PrivacyModeProvider,
1744
1748
  dt as ProductBlankslate,
1745
1749
  Dn as ProductCard,
1746
- Hr as ProductModal,
1747
- yr as ProductWidget,
1748
- _r as ProgressBarChart,
1749
- Vr as StandardLayout,
1750
- Tn as TagCounter,
1751
- qr as TwoColumnLayout,
1750
+ Jr as ProductModal,
1751
+ br as ProductWidget,
1752
+ Er as ProgressBarChart,
1753
+ qr as StandardLayout,
1754
+ Fn as TagCounter,
1755
+ Yr as TwoColumnLayout,
1752
1756
  Je as UpsellRequestResponseDialog,
1753
- br as UpsellingBanner,
1757
+ gr as UpsellingBanner,
1754
1758
  Ue as UpsellingButton,
1755
- Jr as UpsellingPopover,
1756
- Ir as VerticalBarChart,
1757
- Ar as avatarVariants,
1758
- Fn as buildTranslations,
1759
- Mr as buttonDropdownSizes,
1760
- Br as buttonDropdownVariants,
1761
- $r as buttonSizes,
1762
- Rr as buttonToggleSizes,
1763
- jr as buttonVariants,
1759
+ Ur as UpsellingPopover,
1760
+ _r as VerticalBarChart,
1761
+ Or as avatarVariants,
1762
+ Tn as buildTranslations,
1763
+ Rr as buttonDropdownSizes,
1764
+ Mr as buttonDropdownVariants,
1765
+ Br as buttonSizes,
1766
+ zr as buttonToggleSizes,
1767
+ $r as buttonVariants,
1764
1768
  In as createAtlaskitDriver,
1765
1769
  _n as createDataSourceDefinition,
1766
- Xr as dataCollectionLocalStorageHandler,
1767
- Wr as datepickerSizes,
1768
- Nr as defaultTranslations,
1770
+ Zr as dataCollectionLocalStorageHandler,
1771
+ Gr as datepickerSizes,
1772
+ Ar as defaultTranslations,
1769
1773
  Ge as experimental,
1770
1774
  En as getAnimationVariants,
1771
1775
  jn as getDataSourcePaginationType,
1772
1776
  $n as getEmojiLabel,
1773
1777
  Bn as isInfiniteScrollPagination,
1774
1778
  Mn as isPageBasedPagination,
1775
- zr as linkVariants,
1779
+ Kr as linkVariants,
1776
1780
  Rn as modules,
1777
1781
  zn as predefinedPresets,
1778
1782
  Kn as tagDotColors,