@factorialco/f0-react 1.242.0 → 1.242.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 p, L as ge, c as ve, P as G, a as b, f as be, g as W, A as xe, B as ye, b as Ce, d as we, e as Ne, V as Pe, h as D, i as U, j as Y, k as Le, l as J, S as X, m as K, n as Se, O as ke, o as Q, p as Fe, q as Me, F as Z, r as De, s as Te, t as Ie, D as Be, u as Re, v as Oe, w as $e, x as ee, y as w, U as ae, z as Ee, E as _e, G as z, H as Ae, I as re, J as je, K as We, M as ze, N as Ve, Q as He, R as qe, X as Ge, T as Ue, W as Ye, Y as Je, Z as Xe, _ as Ke } from "./hooks-VZh3f1RF.js";
2
- import { az as Ya, $ as Ja, aB as Xa, aK as Ka, a0 as Qa, a1 as Za, a2 as er, a3 as ar, a4 as rr, a5 as sr, a6 as tr, a7 as or, a9 as lr, aa as nr, ab as ir, ac as dr, aG as cr, ae as ur, af as fr, ag as hr, ah as mr, ak as pr, al as gr, am as vr, an as br, ap as xr, ad as yr, ao as Cr, aj as wr, aH as Nr, aA as Pr, au as Lr, ax as Sr, at as kr, aL as Fr, as as Mr, ar as Dr, a8 as Tr, ai as Ir, aq as Br, av as Rr, aC as Or, aD as $r, aE as Er, aM as _r, aw as Ar, aF as jr, aJ as Wr, ay as zr, aI as Vr } from "./hooks-VZh3f1RF.js";
3
- import { jsx as e, jsxs as c, Fragment as E } from "react/jsx-runtime";
4
- import * as _ from "react";
5
- import Qe, { useState as v, forwardRef as I, useRef as se, useImperativeHandle as Ze, Children as ea, useEffect as te, createContext as aa } from "react";
6
- const ka = {
1
+ import { C as T, L as it, S as ve, a as st, f as ae, b as z, c as lt, A as ct, i as Y, d as ut, e as Oe, E as dt, g as J, h as pt, j as ft, k as mt, l as ht, m as I, n as Ae, u as vt, G as yt, o as gt, p as ye, q as bt, r as Ne, s as xt, B as Le, X as ke, Y as oe, t as wt, v as Te, w as Ct, x as Pt, y as St, z as Ot, D as At, F as Nt, H as Lt, I as kt, J as ge, K as Tt, M as K, N as re, O as Ft, P as Dt, Q as _t, R as Fe, T as j, U as jt, V as Et, W as $t, Z as It, _ as Mt, $ as Bt, a0 as U, a1 as De, a2 as _e, a3 as Rt, a4 as je, a5 as Ee, a6 as $e, a7 as zt, a8 as Kt, a9 as Ie, aa as Wt, ab as Vt, ac as Me, ad as qt, ae as Gt, af as Ht, ag as Yt, ah as Jt, ai as Ut, aj as Xt, ak as Be, al as M, am as Re, an as Zt, ao as Qt, ap as be, aq as ea, ar as ze, as as ta, at as aa, au as ra, av as oa, aw as na, ax as ia, ay as sa, az as la, aA as ca, aB as ua, aC as da, aD as pa } from "./hooks-D651MC-R.js";
2
+ import { bc as _r, aE as jr, be as Er, bn as $r, aF as Ir, aG as Mr, aH as Br, aI as Rr, aJ as zr, aK as Kr, aL as Wr, aM as Vr, aO as qr, aP as Gr, aQ as Hr, aR as Yr, bj as Jr, aT as Ur, aU as Xr, aV as Zr, aW as Qr, aZ as eo, a_ as to, a$ as ao, b0 as ro, b2 as oo, aS as no, b1 as io, aY as so, bk as lo, bd as co, b7 as uo, ba as po, b6 as fo, bo as mo, b5 as ho, b4 as vo, aN as yo, aX as go, b3 as bo, b8 as xo, bf as wo, bg as Co, bh as Po, bp as So, b9 as Oo, bi as Ao, bm as No, bb as Lo, bl as ko } from "./hooks-D651MC-R.js";
3
+ import { jsx as o, jsxs as g, Fragment as le } from "react/jsx-runtime";
4
+ import * as ce from "react";
5
+ import A, { PureComponent as fa, useState as _, forwardRef as ee, useRef as Ke, useImperativeHandle as ma, Children as ha, useEffect as We, createContext as va } from "react";
6
+ const dr = {
7
7
  approvals: {
8
8
  history: "Approval history",
9
9
  statuses: {
@@ -217,406 +217,1083 @@ const ka = {
217
217
  noResults: "No results found",
218
218
  loadingMore: "Loading..."
219
219
  }
220
- }, Fa = p({
220
+ }, pr = T({
221
221
  name: "Link",
222
222
  type: "info"
223
- }, ge), Ma = [
223
+ }, it), fr = [
224
224
  "person",
225
225
  "team",
226
226
  "company",
227
227
  "file",
228
228
  "flag"
229
229
  ];
230
- var A = "Progress", j = 100, [ra, Da] = ve(A), [sa, ta] = ra(A), oe = _.forwardRef(
231
- (a, r) => {
230
+ function B(e) {
231
+ "@babel/helpers - typeof";
232
+ return B = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
233
+ return typeof t;
234
+ } : function(t) {
235
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
236
+ }, B(e);
237
+ }
238
+ function ya(e, t) {
239
+ if (!(e instanceof t))
240
+ throw new TypeError("Cannot call a class as a function");
241
+ }
242
+ function ga(e, t) {
243
+ for (var r = 0; r < t.length; r++) {
244
+ var a = t[r];
245
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Ge(a.key), a);
246
+ }
247
+ }
248
+ function ba(e, t, r) {
249
+ return t && ga(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
250
+ }
251
+ function xa(e, t, r) {
252
+ return t = X(t), wa(e, Ve() ? Reflect.construct(t, r || [], X(e).constructor) : t.apply(e, r));
253
+ }
254
+ function wa(e, t) {
255
+ if (t && (B(t) === "object" || typeof t == "function"))
256
+ return t;
257
+ if (t !== void 0)
258
+ throw new TypeError("Derived constructors may only return object or undefined");
259
+ return Ca(e);
260
+ }
261
+ function Ca(e) {
262
+ if (e === void 0)
263
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
264
+ return e;
265
+ }
266
+ function Ve() {
267
+ try {
268
+ var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
269
+ }));
270
+ } catch {
271
+ }
272
+ return (Ve = function() {
273
+ return !!e;
274
+ })();
275
+ }
276
+ function X(e) {
277
+ return X = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
278
+ return r.__proto__ || Object.getPrototypeOf(r);
279
+ }, X(e);
280
+ }
281
+ function Pa(e, t) {
282
+ if (typeof t != "function" && t !== null)
283
+ throw new TypeError("Super expression must either be null or a function");
284
+ e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ne(e, t);
285
+ }
286
+ function ne(e, t) {
287
+ return ne = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, n) {
288
+ return a.__proto__ = n, a;
289
+ }, ne(e, t);
290
+ }
291
+ function qe(e, t, r) {
292
+ return t = Ge(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
293
+ }
294
+ function Ge(e) {
295
+ var t = Sa(e, "string");
296
+ return B(t) == "symbol" ? t : t + "";
297
+ }
298
+ function Sa(e, t) {
299
+ if (B(e) != "object" || !e) return e;
300
+ var r = e[Symbol.toPrimitive];
301
+ if (r !== void 0) {
302
+ var a = r.call(e, t);
303
+ if (B(a) != "object") return a;
304
+ throw new TypeError("@@toPrimitive must return a primitive value.");
305
+ }
306
+ return String(e);
307
+ }
308
+ var te = /* @__PURE__ */ function(e) {
309
+ function t() {
310
+ return ya(this, t), xa(this, t, arguments);
311
+ }
312
+ return Pa(t, e), ba(t, [{
313
+ key: "render",
314
+ value: function() {
315
+ return null;
316
+ }
317
+ }]);
318
+ }(A.Component);
319
+ qe(te, "displayName", "ZAxis");
320
+ qe(te, "defaultProps", {
321
+ zAxisId: 0,
322
+ range: [64, 64],
323
+ scale: "auto",
324
+ type: "number"
325
+ });
326
+ var Oa = ["option", "isActive"];
327
+ function W() {
328
+ return W = Object.assign ? Object.assign.bind() : function(e) {
329
+ for (var t = 1; t < arguments.length; t++) {
330
+ var r = arguments[t];
331
+ for (var a in r)
332
+ Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
333
+ }
334
+ return e;
335
+ }, W.apply(this, arguments);
336
+ }
337
+ function Aa(e, t) {
338
+ if (e == null) return {};
339
+ var r = Na(e, t), a, n;
340
+ if (Object.getOwnPropertySymbols) {
341
+ var s = Object.getOwnPropertySymbols(e);
342
+ for (n = 0; n < s.length; n++)
343
+ a = s[n], !(t.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(e, a) && (r[a] = e[a]);
344
+ }
345
+ return r;
346
+ }
347
+ function Na(e, t) {
348
+ if (e == null) return {};
349
+ var r = {};
350
+ for (var a in e)
351
+ if (Object.prototype.hasOwnProperty.call(e, a)) {
352
+ if (t.indexOf(a) >= 0) continue;
353
+ r[a] = e[a];
354
+ }
355
+ return r;
356
+ }
357
+ function La(e) {
358
+ var t = e.option, r = e.isActive, a = Aa(e, Oa);
359
+ return typeof t == "string" ? /* @__PURE__ */ A.createElement(ve, W({
360
+ option: /* @__PURE__ */ A.createElement(st, W({
361
+ type: t
362
+ }, a)),
363
+ isActive: r,
364
+ shapeType: "symbols"
365
+ }, a)) : /* @__PURE__ */ A.createElement(ve, W({
366
+ option: t,
367
+ isActive: r,
368
+ shapeType: "symbols"
369
+ }, a));
370
+ }
371
+ function R(e) {
372
+ "@babel/helpers - typeof";
373
+ return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
374
+ return typeof t;
375
+ } : function(t) {
376
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
377
+ }, R(e);
378
+ }
379
+ function V() {
380
+ return V = Object.assign ? Object.assign.bind() : function(e) {
381
+ for (var t = 1; t < arguments.length; t++) {
382
+ var r = arguments[t];
383
+ for (var a in r)
384
+ Object.prototype.hasOwnProperty.call(r, a) && (e[a] = r[a]);
385
+ }
386
+ return e;
387
+ }, V.apply(this, arguments);
388
+ }
389
+ function xe(e, t) {
390
+ var r = Object.keys(e);
391
+ if (Object.getOwnPropertySymbols) {
392
+ var a = Object.getOwnPropertySymbols(e);
393
+ t && (a = a.filter(function(n) {
394
+ return Object.getOwnPropertyDescriptor(e, n).enumerable;
395
+ })), r.push.apply(r, a);
396
+ }
397
+ return r;
398
+ }
399
+ function k(e) {
400
+ for (var t = 1; t < arguments.length; t++) {
401
+ var r = arguments[t] != null ? arguments[t] : {};
402
+ t % 2 ? xe(Object(r), !0).forEach(function(a) {
403
+ $(e, a, r[a]);
404
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : xe(Object(r)).forEach(function(a) {
405
+ Object.defineProperty(e, a, Object.getOwnPropertyDescriptor(r, a));
406
+ });
407
+ }
408
+ return e;
409
+ }
410
+ function ka(e, t) {
411
+ if (!(e instanceof t))
412
+ throw new TypeError("Cannot call a class as a function");
413
+ }
414
+ function we(e, t) {
415
+ for (var r = 0; r < t.length; r++) {
416
+ var a = t[r];
417
+ a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, Ye(a.key), a);
418
+ }
419
+ }
420
+ function Ta(e, t, r) {
421
+ return t && we(e.prototype, t), r && we(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
422
+ }
423
+ function Fa(e, t, r) {
424
+ return t = Z(t), Da(e, He() ? Reflect.construct(t, r || [], Z(e).constructor) : t.apply(e, r));
425
+ }
426
+ function Da(e, t) {
427
+ if (t && (R(t) === "object" || typeof t == "function"))
428
+ return t;
429
+ if (t !== void 0)
430
+ throw new TypeError("Derived constructors may only return object or undefined");
431
+ return _a(e);
432
+ }
433
+ function _a(e) {
434
+ if (e === void 0)
435
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
436
+ return e;
437
+ }
438
+ function He() {
439
+ try {
440
+ var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
441
+ }));
442
+ } catch {
443
+ }
444
+ return (He = function() {
445
+ return !!e;
446
+ })();
447
+ }
448
+ function Z(e) {
449
+ return Z = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
450
+ return r.__proto__ || Object.getPrototypeOf(r);
451
+ }, Z(e);
452
+ }
453
+ function ja(e, t) {
454
+ if (typeof t != "function" && t !== null)
455
+ throw new TypeError("Super expression must either be null or a function");
456
+ e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && ie(e, t);
457
+ }
458
+ function ie(e, t) {
459
+ return ie = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(a, n) {
460
+ return a.__proto__ = n, a;
461
+ }, ie(e, t);
462
+ }
463
+ function $(e, t, r) {
464
+ return t = Ye(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
465
+ }
466
+ function Ye(e) {
467
+ var t = Ea(e, "string");
468
+ return R(t) == "symbol" ? t : t + "";
469
+ }
470
+ function Ea(e, t) {
471
+ if (R(e) != "object" || !e) return e;
472
+ var r = e[Symbol.toPrimitive];
473
+ if (r !== void 0) {
474
+ var a = r.call(e, t);
475
+ if (R(a) != "object") return a;
476
+ throw new TypeError("@@toPrimitive must return a primitive value.");
477
+ }
478
+ return String(e);
479
+ }
480
+ var q = /* @__PURE__ */ function(e) {
481
+ function t() {
482
+ var r;
483
+ ka(this, t);
484
+ for (var a = arguments.length, n = new Array(a), s = 0; s < a; s++)
485
+ n[s] = arguments[s];
486
+ return r = Fa(this, t, [].concat(n)), $(r, "state", {
487
+ isAnimationFinished: !1
488
+ }), $(r, "handleAnimationEnd", function() {
489
+ r.setState({
490
+ isAnimationFinished: !0
491
+ });
492
+ }), $(r, "handleAnimationStart", function() {
493
+ r.setState({
494
+ isAnimationFinished: !1
495
+ });
496
+ }), $(r, "id", vt("recharts-scatter-")), r;
497
+ }
498
+ return ja(t, e), Ta(t, [{
499
+ key: "renderSymbolsStatically",
500
+ value: function(a) {
501
+ var n = this, s = this.props, l = s.shape, p = s.activeShape, i = s.activeIndex, m = ae(this.props, !1);
502
+ return a.map(function(c, f) {
503
+ var h = i === f, u = h ? p : l, w = k(k({}, m), c);
504
+ return /* @__PURE__ */ A.createElement(z, V({
505
+ className: "recharts-scatter-symbol",
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)
507
+ }, lt(n.props, c, f), {
508
+ role: "img"
509
+ }), /* @__PURE__ */ A.createElement(La, V({
510
+ option: u,
511
+ isActive: h,
512
+ key: "symbol-".concat(f)
513
+ }, w)));
514
+ });
515
+ }
516
+ }, {
517
+ key: "renderSymbolsWithAnimation",
518
+ value: function() {
519
+ var a = this, n = this.props, s = n.points, l = n.isAnimationActive, p = n.animationBegin, i = n.animationDuration, m = n.animationEasing, c = n.animationId, f = this.state.prevPoints;
520
+ return /* @__PURE__ */ A.createElement(ct, {
521
+ begin: p,
522
+ duration: i,
523
+ isActive: l,
524
+ easing: m,
525
+ from: {
526
+ t: 0
527
+ },
528
+ to: {
529
+ t: 1
530
+ },
531
+ key: "pie-".concat(c),
532
+ onAnimationEnd: this.handleAnimationEnd,
533
+ onAnimationStart: this.handleAnimationStart
534
+ }, function(h) {
535
+ var u = h.t, w = s.map(function(P, x) {
536
+ var S = f && f[x];
537
+ if (S) {
538
+ var C = Y(S.cx, P.cx), y = Y(S.cy, P.cy), O = Y(S.size, P.size);
539
+ return k(k({}, P), {}, {
540
+ cx: C(u),
541
+ cy: y(u),
542
+ size: O(u)
543
+ });
544
+ }
545
+ var b = Y(0, P.size);
546
+ return k(k({}, P), {}, {
547
+ size: b(u)
548
+ });
549
+ });
550
+ return /* @__PURE__ */ A.createElement(z, null, a.renderSymbolsStatically(w));
551
+ });
552
+ }
553
+ }, {
554
+ key: "renderSymbols",
555
+ value: function() {
556
+ var a = this.props, n = a.points, s = a.isAnimationActive, l = this.state.prevPoints;
557
+ return s && n && n.length && (!l || !ut(l, n)) ? this.renderSymbolsWithAnimation() : this.renderSymbolsStatically(n);
558
+ }
559
+ }, {
560
+ key: "renderErrorBar",
561
+ value: function() {
562
+ var a = this.props.isAnimationActive;
563
+ if (a && !this.state.isAnimationFinished)
564
+ return null;
565
+ var n = this.props, s = n.points, l = n.xAxis, p = n.yAxis, i = n.children, m = Oe(i, dt);
566
+ return m ? m.map(function(c, f) {
567
+ var h = c.props, u = h.direction, w = h.dataKey;
568
+ return /* @__PURE__ */ A.cloneElement(c, {
569
+ key: "".concat(u, "-").concat(w, "-").concat(s[f]),
570
+ data: s,
571
+ xAxis: l,
572
+ yAxis: p,
573
+ layout: u === "x" ? "vertical" : "horizontal",
574
+ dataPointFormatter: function(x, S) {
575
+ return {
576
+ x: x.cx,
577
+ y: x.cy,
578
+ value: u === "x" ? +x.node.x : +x.node.y,
579
+ errorVal: J(x, S)
580
+ };
581
+ }
582
+ });
583
+ }) : null;
584
+ }
585
+ }, {
586
+ key: "renderLine",
587
+ value: function() {
588
+ var a = this.props, n = a.points, s = a.line, l = a.lineType, p = a.lineJointType, i = ae(this.props, !1), m = ae(s, !1), c, f;
589
+ if (l === "joint")
590
+ c = n.map(function(y) {
591
+ return {
592
+ x: y.cx,
593
+ y: y.cy
594
+ };
595
+ });
596
+ else if (l === "fitting") {
597
+ var h = pt(n), u = h.xmin, w = h.xmax, P = h.a, x = h.b, S = function(O) {
598
+ return P * O + x;
599
+ };
600
+ c = [{
601
+ x: u,
602
+ y: S(u)
603
+ }, {
604
+ x: w,
605
+ y: S(w)
606
+ }];
607
+ }
608
+ var C = k(k(k({}, i), {}, {
609
+ fill: "none",
610
+ stroke: i && i.fill
611
+ }, m), {}, {
612
+ points: c
613
+ });
614
+ return /* @__PURE__ */ A.isValidElement(s) ? f = /* @__PURE__ */ A.cloneElement(s, C) : ft(s) ? f = s(C) : f = /* @__PURE__ */ A.createElement(mt, V({}, C, {
615
+ type: p
616
+ })), /* @__PURE__ */ A.createElement(z, {
617
+ className: "recharts-scatter-line",
618
+ key: "recharts-scatter-line"
619
+ }, f);
620
+ }
621
+ }, {
622
+ key: "render",
623
+ value: function() {
624
+ var a = this.props, n = a.hide, s = a.points, l = a.line, p = a.className, i = a.xAxis, m = a.yAxis, c = a.left, f = a.top, h = a.width, u = a.height, w = a.id, P = a.isAnimationActive;
625
+ if (n || !s || !s.length)
626
+ return null;
627
+ var x = this.state.isAnimationFinished, S = ht("recharts-scatter", p), C = i && i.allowDataOverflow, y = m && m.allowDataOverflow, O = C || y, b = I(w) ? this.id : w;
628
+ return /* @__PURE__ */ A.createElement(z, {
629
+ className: S,
630
+ clipPath: O ? "url(#clipPath-".concat(b, ")") : null
631
+ }, C || y ? /* @__PURE__ */ A.createElement("defs", null, /* @__PURE__ */ A.createElement("clipPath", {
632
+ id: "clipPath-".concat(b)
633
+ }, /* @__PURE__ */ A.createElement("rect", {
634
+ x: C ? c : c - h / 2,
635
+ y: y ? f : f - u / 2,
636
+ width: C ? h : h * 2,
637
+ height: y ? u : u * 2
638
+ }))) : null, l && this.renderLine(), this.renderErrorBar(), /* @__PURE__ */ A.createElement(z, {
639
+ key: "recharts-scatter-symbols"
640
+ }, this.renderSymbols()), (!P || x) && Ae.renderCallByParent(this.props, s));
641
+ }
642
+ }], [{
643
+ key: "getDerivedStateFromProps",
644
+ value: function(a, n) {
645
+ return a.animationId !== n.prevAnimationId ? {
646
+ prevAnimationId: a.animationId,
647
+ curPoints: a.points,
648
+ prevPoints: n.curPoints
649
+ } : a.points !== n.curPoints ? {
650
+ curPoints: a.points
651
+ } : null;
652
+ }
653
+ }]);
654
+ }(fa);
655
+ $(q, "displayName", "Scatter");
656
+ $(q, "defaultProps", {
657
+ xAxisId: 0,
658
+ yAxisId: 0,
659
+ zAxisId: 0,
660
+ legendType: "circle",
661
+ lineType: "joint",
662
+ lineJointType: "linear",
663
+ data: [],
664
+ shape: "circle",
665
+ hide: !1,
666
+ isAnimationActive: !yt.isSsr,
667
+ animationBegin: 0,
668
+ animationDuration: 400,
669
+ animationEasing: "linear"
670
+ });
671
+ $(q, "getComposedData", function(e) {
672
+ var t = e.xAxis, r = e.yAxis, a = e.zAxis, n = e.item, s = e.displayedData, l = e.xAxisTicks, p = e.yAxisTicks, i = e.offset, m = n.props.tooltipType, c = Oe(n.props.children, gt), f = I(t.dataKey) ? n.props.dataKey : t.dataKey, h = I(r.dataKey) ? n.props.dataKey : r.dataKey, u = a && a.dataKey, w = a ? a.range : te.defaultProps.range, P = w && w[0], x = t.scale.bandwidth ? t.scale.bandwidth() : 0, S = r.scale.bandwidth ? r.scale.bandwidth() : 0, C = s.map(function(y, O) {
673
+ var b = J(y, f), N = J(y, h), L = !I(u) && J(y, u) || "-", F = [{
674
+ name: I(t.dataKey) ? n.props.name : t.name || t.dataKey,
675
+ unit: t.unit || "",
676
+ value: b,
677
+ payload: y,
678
+ dataKey: f,
679
+ type: m
680
+ }, {
681
+ name: I(r.dataKey) ? n.props.name : r.name || r.dataKey,
682
+ unit: r.unit || "",
683
+ value: N,
684
+ payload: y,
685
+ dataKey: h,
686
+ type: m
687
+ }];
688
+ L !== "-" && F.push({
689
+ name: a.name || a.dataKey,
690
+ unit: a.unit || "",
691
+ value: L,
692
+ payload: y,
693
+ dataKey: u,
694
+ type: m
695
+ });
696
+ var D = ye({
697
+ axis: t,
698
+ ticks: l,
699
+ bandSize: x,
700
+ entry: y,
701
+ index: O,
702
+ dataKey: f
703
+ }), E = ye({
704
+ axis: r,
705
+ ticks: p,
706
+ bandSize: S,
707
+ entry: y,
708
+ index: O,
709
+ dataKey: h
710
+ }), d = L !== "-" ? a.scale(L) : P, v = Math.sqrt(Math.max(d, 0) / Math.PI);
711
+ return k(k({}, y), {}, {
712
+ cx: D,
713
+ cy: E,
714
+ x: D - v,
715
+ y: E - v,
716
+ xAxis: t,
717
+ yAxis: r,
718
+ zAxis: a,
719
+ width: 2 * v,
720
+ height: 2 * v,
721
+ size: d,
722
+ node: {
723
+ x: b,
724
+ y: N,
725
+ z: L
726
+ },
727
+ tooltipPayload: F,
728
+ tooltipPosition: {
729
+ x: D,
730
+ y: E
731
+ },
732
+ payload: y
733
+ }, c && c[O] && c[O].props);
734
+ });
735
+ return k({
736
+ points: C
737
+ }, i);
738
+ });
739
+ var $a = bt({
740
+ chartName: "ComposedChart",
741
+ GraphicalChild: [Ne, xt, Le, q],
742
+ axisComponents: [{
743
+ axisType: "xAxis",
744
+ AxisComp: ke
745
+ }, {
746
+ axisType: "yAxis",
747
+ AxisComp: oe
748
+ }, {
749
+ axisType: "zAxis",
750
+ AxisComp: te
751
+ }],
752
+ formatAxisMap: wt
753
+ });
754
+ const Ia = (e) => {
755
+ const t = (r) => {
756
+ const { cx: a, cy: n, fill: s, payload: l } = r, p = () => {
757
+ if (!l) return "-";
758
+ if (l[e] !== void 0)
759
+ return l[e];
760
+ for (const [i, m] of Object.entries(l))
761
+ if (typeof m == "number" && i !== "x")
762
+ return m;
763
+ return "-";
764
+ };
765
+ return o("circle", {
766
+ cx: a,
767
+ cy: n,
768
+ r: 4,
769
+ fill: s,
770
+ stroke: "white",
771
+ strokeWidth: 2,
772
+ ref: (i) => {
773
+ i != null && i.parentElement && i.parentElement.setAttribute("aria-label", `Data point: ${p()}`);
774
+ }
775
+ });
776
+ };
777
+ return t.displayName = `Scatter-${e}`, t;
778
+ }, Ma = ({ dataConfig: e, data: t, xAxis: r, yAxis: a = {
779
+ hide: !0
780
+ }, label: n = !1, hideTooltip: s = !1, hideGrid: l = !1, aspect: p, legend: i, showValueUnderLabel: m = !1, bar: c, line: f, scatter: h, onClick: u }, w) => {
781
+ var L, F, D, E;
782
+ const P = Ct(t), x = c != null && c.categories ? Array.isArray(c.categories) ? c.categories : [c.categories] : [], S = f != null && f.categories ? Array.isArray(f.categories) ? f.categories : [f.categories] : [], C = h != null && h.categories ? Array.isArray(h.categories) ? h.categories : [h.categories] : [], y = [...x, ...S, ...C], O = Math.max(...P.flatMap((d) => y.map((v) => Pt(a != null && a.tickFormatter ? a.tickFormatter(`${d[v]}`) : `${d[v]}`)))), b = [c, f, h].filter((d) => (d == null ? void 0 : d.axisPosition) === "left"), N = [c, f, h].filter((d) => (d == null ? void 0 : d.axisPosition) === "right");
783
+ return o(St, {
784
+ config: e,
785
+ ref: w,
786
+ aspect: p,
787
+ children: g($a, {
788
+ accessibilityLayer: !0,
789
+ data: P,
790
+ margin: {
791
+ left: a && !a.hide ? 0 : 12,
792
+ right: 12,
793
+ top: n ? 24 : 0,
794
+ bottom: m ? 24 : 12
795
+ },
796
+ stackOffset: void 0,
797
+ onClick: (d) => {
798
+ if (!u || !d.activeLabel || !d.activePayload)
799
+ return;
800
+ const v = {
801
+ label: d.activeLabel,
802
+ values: {}
803
+ };
804
+ for (const G of d.activePayload)
805
+ v.values[G.name] = G.value;
806
+ u(v);
807
+ },
808
+ children: [!s && o(Ot, {
809
+ ...At(),
810
+ content: o(Nt, {
811
+ yAxisFormatter: a.tickFormatter
812
+ })
813
+ }), !l && o(Lt, {
814
+ ...kt()
815
+ }), b.length > 0 && o(oe, {
816
+ ...ge(a),
817
+ tick: !0,
818
+ width: a.width ?? O + 20 + (N.length > 0 && ((L = b[0]) != null && L.axisLabel) ? 20 : 0),
819
+ hide: a.hide || b.some((d) => d == null ? void 0 : d.hideAxis),
820
+ label: (F = b[0]) != null && F.axisLabel ? {
821
+ value: b[0].axisLabel,
822
+ angle: -90,
823
+ position: "insideLeft"
824
+ } : void 0
825
+ }), N.length > 0 && o(oe, {
826
+ ...ge(a),
827
+ yAxisId: "right",
828
+ orientation: "right",
829
+ tick: !0,
830
+ width: a.width ?? O + 20 + (b.length > 0 && ((D = N[0]) != null && D.axisLabel) ? 20 : 0),
831
+ hide: a.hide || N.some((d) => d == null ? void 0 : d.hideAxis),
832
+ label: (E = N[0]) != null && E.axisLabel ? {
833
+ value: N[0].axisLabel,
834
+ angle: 90,
835
+ position: "insideRight"
836
+ } : void 0
837
+ }), o(ke, {
838
+ ...Tt(r),
839
+ hide: r == null ? void 0 : r.hide,
840
+ tick: m ? (d) => {
841
+ var me, he;
842
+ const { x: v, y: G, payload: pe } = d, fe = ((me = t.find((nt) => nt.label === pe.value)) == null ? void 0 : me.values) || "", H = Object.keys(fe).length === 1 ? (he = Object.values(fe)) == null ? void 0 : he[0] : void 0, ot = H !== void 0 && a.tickFormatter ? a.tickFormatter(`${H}`) : H.toLocaleString();
843
+ return g("g", {
844
+ transform: `translate(${v},${G})`,
845
+ children: [o("text", {
846
+ x: 0,
847
+ y: 0,
848
+ dy: 12,
849
+ textAnchor: "middle",
850
+ className: "text-sm font-medium !text-f1-foreground-secondary",
851
+ children: pe.value
852
+ }), !!H && o("text", {
853
+ x: 0,
854
+ y: 0,
855
+ dy: 28,
856
+ textAnchor: "middle",
857
+ className: "!fill-f1-foreground text-sm font-medium",
858
+ children: ot
859
+ })]
860
+ });
861
+ } : void 0
862
+ }), x.map((d, v) => o(Le, {
863
+ isAnimationActive: !1,
864
+ dataKey: String(d),
865
+ fill: e[d].color ? K(e[d].color) : re(v),
866
+ radius: 4,
867
+ maxBarSize: 32,
868
+ children: n && o(Ae, {
869
+ position: "top",
870
+ offset: 10,
871
+ className: "fill-f1-foreground",
872
+ fontSize: 12
873
+ }, `label-${String(d)}`)
874
+ }, `bar-${String(d)}`)), S.map((d, v) => o(Ne, {
875
+ type: (f == null ? void 0 : f.lineType) ?? "natural",
876
+ dataKey: String(d),
877
+ stroke: e[d].color ? K(e[d].color) : re(x.length + v),
878
+ strokeWidth: 2,
879
+ dot: (f == null ? void 0 : f.dot) ?? !1,
880
+ isAnimationActive: !1,
881
+ yAxisId: (f == null ? void 0 : f.axisPosition) === "right" ? "right" : void 0
882
+ }, `line-${String(d)}`)), C.map((d, v) => o(q, {
883
+ dataKey: String(d),
884
+ fill: e[d].color ? K(e[d].color) : re(x.length + S.length + v),
885
+ r: 4,
886
+ isAnimationActive: !1,
887
+ yAxisId: (h == null ? void 0 : h.axisPosition) === "right" ? "right" : void 0,
888
+ shape: Ia(String(d))
889
+ }, `scatter-${String(d)}`)), i && o(Ft, {
890
+ content: o(Dt, {
891
+ nameKey: "label"
892
+ }),
893
+ align: "center",
894
+ verticalAlign: "bottom",
895
+ layout: "vertical",
896
+ className: "flex-row items-start gap-4 pr-3 pt-2"
897
+ })]
898
+ })
899
+ });
900
+ }, Ba = Te(Ma);
901
+ var ue = "Progress", de = 100, [Ra, mr] = _t(ue), [za, Ka] = Ra(ue), Je = ce.forwardRef(
902
+ (e, t) => {
232
903
  const {
233
- __scopeProgress: s,
234
- value: o = null,
235
- max: t,
236
- getValueLabel: i = oa,
237
- ...n
238
- } = a;
239
- (t || t === 0) && !V(t) && console.error(la(`${t}`, "Progress"));
240
- const d = V(t) ? t : j;
241
- o !== null && !H(o, d) && console.error(na(`${o}`, "Progress"));
242
- const l = H(o, d) ? o : null, f = T(l) ? i(l, d) : void 0;
243
- return /* @__PURE__ */ e(sa, { scope: s, value: l, max: d, children: /* @__PURE__ */ e(
244
- G.div,
904
+ __scopeProgress: r,
905
+ value: a = null,
906
+ max: n,
907
+ getValueLabel: s = Wa,
908
+ ...l
909
+ } = e;
910
+ (n || n === 0) && !Ce(n) && console.error(Va(`${n}`, "Progress"));
911
+ const p = Ce(n) ? n : de;
912
+ a !== null && !Pe(a, p) && console.error(qa(`${a}`, "Progress"));
913
+ const i = Pe(a, p) ? a : null, m = Q(i) ? s(i, p) : void 0;
914
+ return /* @__PURE__ */ o(za, { scope: r, value: i, max: p, children: /* @__PURE__ */ o(
915
+ Fe.div,
245
916
  {
246
- "aria-valuemax": d,
917
+ "aria-valuemax": p,
247
918
  "aria-valuemin": 0,
248
- "aria-valuenow": T(l) ? l : void 0,
249
- "aria-valuetext": f,
919
+ "aria-valuenow": Q(i) ? i : void 0,
920
+ "aria-valuetext": m,
250
921
  role: "progressbar",
251
- "data-state": ie(l, d),
252
- "data-value": l ?? void 0,
253
- "data-max": d,
254
- ...n,
255
- ref: r
922
+ "data-state": Ze(i, p),
923
+ "data-value": i ?? void 0,
924
+ "data-max": p,
925
+ ...l,
926
+ ref: t
256
927
  }
257
928
  ) });
258
929
  }
259
930
  );
260
- oe.displayName = A;
261
- var le = "ProgressIndicator", ne = _.forwardRef(
262
- (a, r) => {
263
- const { __scopeProgress: s, ...o } = a, t = ta(le, s);
264
- return /* @__PURE__ */ e(
265
- G.div,
931
+ Je.displayName = ue;
932
+ var Ue = "ProgressIndicator", Xe = ce.forwardRef(
933
+ (e, t) => {
934
+ const { __scopeProgress: r, ...a } = e, n = Ka(Ue, r);
935
+ return /* @__PURE__ */ o(
936
+ Fe.div,
266
937
  {
267
- "data-state": ie(t.value, t.max),
268
- "data-value": t.value ?? void 0,
269
- "data-max": t.max,
270
- ...o,
271
- ref: r
938
+ "data-state": Ze(n.value, n.max),
939
+ "data-value": n.value ?? void 0,
940
+ "data-max": n.max,
941
+ ...a,
942
+ ref: t
272
943
  }
273
944
  );
274
945
  }
275
946
  );
276
- ne.displayName = le;
277
- function oa(a, r) {
278
- return `${Math.round(a / r * 100)}%`;
947
+ Xe.displayName = Ue;
948
+ function Wa(e, t) {
949
+ return `${Math.round(e / t * 100)}%`;
279
950
  }
280
- function ie(a, r) {
281
- return a == null ? "indeterminate" : a === r ? "complete" : "loading";
951
+ function Ze(e, t) {
952
+ return e == null ? "indeterminate" : e === t ? "complete" : "loading";
282
953
  }
283
- function T(a) {
284
- return typeof a == "number";
954
+ function Q(e) {
955
+ return typeof e == "number";
285
956
  }
286
- function V(a) {
287
- return T(a) && !isNaN(a) && a > 0;
957
+ function Ce(e) {
958
+ return Q(e) && !isNaN(e) && e > 0;
288
959
  }
289
- function H(a, r) {
290
- return T(a) && !isNaN(a) && a <= r && a >= 0;
960
+ function Pe(e, t) {
961
+ return Q(e) && !isNaN(e) && e <= t && e >= 0;
291
962
  }
292
- function la(a, r) {
293
- return `Invalid prop \`max\` of value \`${a}\` supplied to \`${r}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${j}\`.`;
963
+ function Va(e, t) {
964
+ return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${de}\`.`;
294
965
  }
295
- function na(a, r) {
296
- return `Invalid prop \`value\` of value \`${a}\` supplied to \`${r}\`. The \`value\` prop must be:
966
+ function qa(e, t) {
967
+ return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
297
968
  - a positive number
298
- - less than the value passed to \`max\` (or ${j} if no \`max\` prop is set)
969
+ - less than the value passed to \`max\` (or ${de} if no \`max\` prop is set)
299
970
  - \`null\` or \`undefined\` if the progress is indeterminate.
300
971
 
301
972
  Defaulting to \`null\`.`;
302
973
  }
303
- var de = oe, ia = ne;
304
- const ce = _.forwardRef(({ className: a, value: r, ...s }, o) => e(de, {
305
- ref: o,
306
- className: b("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", a),
307
- ...s,
308
- children: e(ia, {
974
+ var Qe = Je, Ga = Xe;
975
+ const et = ce.forwardRef(({ className: e, value: t, ...r }, a) => o(Qe, {
976
+ ref: a,
977
+ className: j("relative h-2 w-full overflow-hidden rounded-full bg-f1-background-secondary", e),
978
+ ...r,
979
+ children: o(Ga, {
309
980
  className: "h-full w-full flex-1 transition-all",
310
981
  style: {
311
- backgroundColor: s.color,
312
- transform: `translateX(-${100 - (r || 0)}%)`
982
+ backgroundColor: r.color,
983
+ transform: `translateX(-${100 - (t || 0)}%)`
313
984
  }
314
985
  })
315
986
  }));
316
- ce.displayName = de.displayName;
317
- const da = ({ value: a, max: r = 100, label: s, color: o }, t) => {
318
- const i = o ? W(o) : W("categorical-1"), n = a / r * 100;
319
- return c("div", {
987
+ et.displayName = Qe.displayName;
988
+ const Ha = ({ value: e, max: t = 100, label: r, color: a }, n) => {
989
+ const s = a ? K(a) : K("categorical-1"), l = e / t * 100;
990
+ return g("div", {
320
991
  className: "flex items-center space-x-2",
321
992
  "aria-live": "polite",
322
- children: [e("div", {
993
+ children: [o("div", {
323
994
  className: "flex-grow",
324
- children: e(ce, {
325
- color: i,
326
- value: n,
995
+ children: o(et, {
996
+ color: s,
997
+ value: l,
327
998
  className: "w-full",
328
999
  "aria-valuemin": 0,
329
- "aria-valuemax": r,
330
- "aria-valuenow": a,
331
- "aria-label": `${n.toFixed(1)}%`
1000
+ "aria-valuemax": t,
1001
+ "aria-valuenow": e,
1002
+ "aria-label": `${l.toFixed(1)}%`
332
1003
  })
333
- }), s && e("div", {
1004
+ }), r && o("div", {
334
1005
  className: "flex-shrink-0 text-sm font-medium",
335
- children: s
1006
+ children: r
336
1007
  })]
337
1008
  });
338
- }, ca = be(da), Ta = p(
1009
+ }, Ya = Te(Ha), hr = T(
339
1010
  {
340
1011
  name: "AreaChart",
341
1012
  type: "info"
342
1013
  },
343
- xe
344
- ), Ia = p(
1014
+ jt
1015
+ ), vr = T(
345
1016
  {
346
1017
  name: "BarChart",
347
1018
  type: "info"
348
1019
  },
349
- ye
350
- ), Ba = p(
1020
+ Et
1021
+ ), yr = T(
351
1022
  {
352
1023
  name: "CategoryBarChart",
353
1024
  type: "info"
354
1025
  },
355
- Ce
356
- ), Ra = p(
1026
+ $t
1027
+ ), gr = T(
357
1028
  {
358
1029
  name: "LineChart",
359
1030
  type: "info"
360
1031
  },
361
- we
362
- ), Oa = p(
1032
+ It
1033
+ ), br = T(
363
1034
  {
364
1035
  name: "PieChart",
365
1036
  type: "info"
366
1037
  },
367
- Ne
368
- ), $a = p(
1038
+ Mt
1039
+ ), xr = T(
369
1040
  {
370
1041
  name: "VerticalBarChart",
371
1042
  type: "info"
372
1043
  },
373
- Pe
374
- ), Ea = p(
1044
+ Bt
1045
+ ), wr = T(
375
1046
  {
376
1047
  name: "ProgressBarChart",
377
1048
  type: "info"
378
1049
  },
379
- ca
380
- ), $ = ({ count: a, list: r }) => {
381
- const [s, o] = v(!1), t = e(D, {
382
- label: `+${a}`
1050
+ Ya
1051
+ ), Cr = T(
1052
+ {
1053
+ name: "ComboChart",
1054
+ type: "info"
1055
+ },
1056
+ Ba
1057
+ ), se = ({ count: e, list: t }) => {
1058
+ const [r, a] = _(!1), n = o(U, {
1059
+ label: `+${e}`
383
1060
  });
384
- return r != null && r.length ? c(U, {
385
- open: s,
386
- onOpenChange: o,
387
- children: [e(Y, {
1061
+ return t != null && t.length ? g(De, {
1062
+ open: r,
1063
+ onOpenChange: a,
1064
+ children: [o(_e, {
388
1065
  asChild: !0,
389
- children: e("button", {
390
- className: Le("inline-flex flex-shrink-0 items-center"),
391
- children: t
1066
+ children: o("button", {
1067
+ className: Rt("inline-flex flex-shrink-0 items-center"),
1068
+ children: n
392
1069
  })
393
- }), e(J, {
1070
+ }), o(je, {
394
1071
  className: "rounded-md border border-solid border-f1-border-secondary p-1 shadow-md",
395
1072
  align: "end",
396
- children: c(X, {
1073
+ children: g(Ee, {
397
1074
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[172px] flex-col",
398
- children: [r.map((i, n) => e("div", {
1075
+ children: [t.map((s, l) => o("div", {
399
1076
  className: "flex w-[220px] min-w-0 items-center gap-1.5 px-2 py-1 [&:first-child]:pt-2 [&:last-child]:pb-2",
400
- children: e(D, {
401
- ...i
1077
+ children: o(U, {
1078
+ ...s
402
1079
  })
403
- }, n)), e(K, {
1080
+ }, l)), o($e, {
404
1081
  orientation: "vertical",
405
1082
  className: "[&_div]:bg-f1-background"
406
1083
  })]
407
1084
  })
408
1085
  })]
409
- }) : t;
1086
+ }) : n;
410
1087
  };
411
- $.displayName = "ChipCounter";
412
- const ue = ({ chips: a, max: r = 4, remainingCount: s, layout: o = "compact" }) => {
413
- if (o === "fill")
414
- return e(ke, {
415
- items: a,
416
- renderListItem: (l) => e(D, {
417
- ...l
1088
+ se.displayName = "ChipCounter";
1089
+ const tt = ({ chips: e, max: t = 4, remainingCount: r, layout: a = "compact" }) => {
1090
+ if (a === "fill")
1091
+ return o(Kt, {
1092
+ items: e,
1093
+ renderListItem: (i) => o(U, {
1094
+ ...i
418
1095
  }),
419
1096
  renderDropdownItem: () => null,
420
- forceShowingOverflowIndicator: s !== void 0,
421
- renderOverflowIndicator: (l) => e($, {
422
- count: (s ?? 0) + l,
423
- list: s ? void 0 : a.slice(a.length - l)
1097
+ forceShowingOverflowIndicator: r !== void 0,
1098
+ renderOverflowIndicator: (i) => o(se, {
1099
+ count: (r ?? 0) + i,
1100
+ list: r ? void 0 : e.slice(e.length - i)
424
1101
  }),
425
1102
  overflowIndicatorWithPopover: !1,
426
1103
  className: "flex-1"
427
1104
  });
428
- const t = a.slice(0, r), i = a.slice(r), n = s ?? a.length - r, d = n > 0;
429
- return c("div", {
1105
+ const n = e.slice(0, t), s = e.slice(t), l = r ?? e.length - t, p = l > 0;
1106
+ return g("div", {
430
1107
  className: "flex items-center gap-2",
431
- children: [t.map((l, f) => e(D, {
432
- ...l
433
- }, f)), d && e($, {
434
- count: n,
435
- list: s ? void 0 : i
1108
+ children: [n.map((i, m) => o(U, {
1109
+ ...i
1110
+ }, m)), p && o(se, {
1111
+ count: l,
1112
+ list: r ? void 0 : s
436
1113
  })]
437
1114
  });
438
1115
  };
439
- ue.displayName = "F0ChipList";
440
- const _a = Se("F0ChipList", ue), ua = {
1116
+ tt.displayName = "F0ChipList";
1117
+ const Pr = zt("F0ChipList", tt), Ja = {
441
1118
  xs: 1,
442
1119
  sm: 2,
443
1120
  md: 2,
444
1121
  lg: 2
445
- }, fa = I(function({ widgets: r, children: s }, o) {
446
- const t = se(null);
447
- Ze(o, () => t.current);
448
- const i = ea.toArray(r).filter((n) => !!n).map((n, d) => e("div", {
1122
+ }, Ua = ee(function({ widgets: t, children: r }, a) {
1123
+ const n = Ke(null);
1124
+ ma(a, () => n.current);
1125
+ const s = ha.toArray(t).filter((l) => !!l).map((l, p) => o("div", {
449
1126
  className: "h-full @5xl:h-auto [&>div]:h-full",
450
- children: n
451
- }, d));
452
- return e(Q, {
1127
+ children: l
1128
+ }, p));
1129
+ return o(Ie, {
453
1130
  layout: "home",
454
- children: c("div", {
455
- ref: t,
1131
+ children: g("div", {
1132
+ ref: n,
456
1133
  className: "@container",
457
- children: [c("div", {
1134
+ children: [g("div", {
458
1135
  className: "flex flex-col gap-6 px-5 pt-4 @md:pt-2 @5xl:hidden",
459
- children: [e(Fe, {
460
- columns: ua,
1136
+ children: [o(Wt, {
1137
+ columns: Ja,
461
1138
  showArrows: !1,
462
- children: i
463
- }), e("main", {
464
1139
  children: s
1140
+ }), o("main", {
1141
+ children: r
465
1142
  })]
466
- }), c("div", {
1143
+ }), g("div", {
467
1144
  className: "hidden grid-cols-3 gap-5 px-6 pb-6 pt-2 @5xl:grid",
468
- children: [e("div", {
1145
+ children: [o("div", {
469
1146
  className: "col-span-3 flex flex-row gap-5 *:flex-1",
470
- children: i.slice(0, 3)
471
- }), e("main", {
1147
+ children: s.slice(0, 3)
1148
+ }), o("main", {
472
1149
  className: "col-span-2",
473
- children: s
474
- }), e("div", {
1150
+ children: r
1151
+ }), o("div", {
475
1152
  className: "flex flex-1 flex-col gap-5",
476
- children: i.slice(3)
1153
+ children: s.slice(3)
477
1154
  })]
478
1155
  })]
479
1156
  })
480
1157
  });
481
- }), ha = I(function({ children: r, sideContent: s, mainColumnPosition: o = "left", sticky: t = !1 }, i) {
482
- return e("div", {
483
- ref: i,
1158
+ }), Xa = ee(function({ children: t, sideContent: r, mainColumnPosition: a = "left", sticky: n = !1 }, s) {
1159
+ return o("div", {
1160
+ ref: s,
484
1161
  className: "h-full",
485
- children: c("div", {
486
- className: b("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", t && "md:sticky md:top-0 md:max-h-full"),
487
- children: [e("main", {
488
- className: b("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", t ? "md:h-full md:max-h-full md:overflow-y-auto" : "min-h-full", o === "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"),
1162
+ children: g("div", {
1163
+ className: j("flex h-full max-w-full overflow-auto text-f1-foreground md:flex-row", "flex-col", "overflow-y-auto", n && "md:sticky md:top-0 md:max-h-full"),
1164
+ children: [o("main", {
1165
+ className: j("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", n ? "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"),
1166
+ children: t
1167
+ }), o(Za, {
1168
+ sticky: n,
1169
+ className: j("order-1", a === "right" ? "md:order-1" : "md:order-3"),
489
1170
  children: r
490
- }), e(ma, {
491
- sticky: t,
492
- className: b("order-1", o === "right" ? "md:order-1" : "md:order-3"),
493
- children: s
494
1171
  })]
495
1172
  })
496
1173
  });
497
- }), ma = ({ children: a, className: r }) => e("aside", {
498
- className: b("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", r),
499
- children: a
500
- }), pa = Me({
1174
+ }), Za = ({ children: e, className: t }) => o("aside", {
1175
+ className: j("min-w-30 py-5 pl-4 pr-4 sm:basis-1/4 sm:pb-6 md:max-w-80 md:pl-2", t),
1176
+ children: e
1177
+ }), Qa = Vt({
501
1178
  base: "relative flex min-h-full w-full flex-1 flex-col gap-4 place-self-center overflow-y-auto px-6 py-5",
502
1179
  variants: {
503
1180
  variant: {
504
1181
  narrow: "max-w-screen-lg"
505
1182
  }
506
1183
  }
507
- }), fe = Qe.forwardRef(({ children: a, variant: r, className: s, ...o }, t) => e(Q, {
1184
+ }), at = A.forwardRef(({ children: e, variant: t, className: r, ...a }, n) => o(Ie, {
508
1185
  layout: "standard",
509
- children: e("section", {
510
- ref: t,
511
- className: b("relative flex-1 overflow-auto", s),
512
- ...o,
513
- children: e("div", {
514
- className: b(pa({
515
- variant: r
1186
+ children: o("section", {
1187
+ ref: n,
1188
+ className: j("relative flex-1 overflow-auto", r),
1189
+ ...a,
1190
+ children: o("div", {
1191
+ className: j(Qa({
1192
+ variant: t
516
1193
  })),
517
- children: a
1194
+ children: e
518
1195
  })
519
1196
  })
520
1197
  }));
521
- fe.displayName = "StandardLayout";
522
- const Aa = p({
1198
+ at.displayName = "StandardLayout";
1199
+ const Sr = T({
523
1200
  name: "StandardLayout",
524
1201
  type: "layout"
525
- }, fe), ja = p({
1202
+ }, at), Or = T({
526
1203
  name: "TwoColumnLayout",
527
1204
  type: "layout"
528
- }, ha), Wa = p({
1205
+ }, Xa), Ar = T({
529
1206
  name: "HomeLayout",
530
1207
  type: "layout"
531
- }, fa), ga = ({ benefits: a }) => e("div", {
1208
+ }, Ua), er = ({ benefits: e }) => o("div", {
532
1209
  className: "flex flex-col gap-2",
533
- children: a.map((r, s) => e(va, {
534
- text: r
535
- }, s))
536
- }), va = ({ text: a }) => c("div", {
1210
+ children: e.map((t, r) => o(tr, {
1211
+ text: t
1212
+ }, r))
1213
+ }), tr = ({ text: e }) => g("div", {
537
1214
  className: "flex flex-row items-start gap-2",
538
- children: [e(Te, {
539
- icon: Ie,
1215
+ children: [o(Gt, {
1216
+ icon: Ht,
540
1217
  size: "md",
541
1218
  className: "text-f1-icon-positive"
542
- }), e("span", {
543
- children: a
1219
+ }), o("span", {
1220
+ children: e
544
1221
  })]
545
- }), he = I(({ title: a, image: r, benefits: s, actions: o, withShadow: t = !0, module: i, moduleName: n, tag: d }, l) => c("div", {
546
- ref: l,
547
- className: b("bg-white flex flex-row rounded-xl border border-f1-border-secondary", t && "shadow-md"),
548
- children: [e("div", {
1222
+ }), rt = ee(({ title: e, image: t, benefits: r, actions: a, withShadow: n = !0, module: s, moduleName: l, tag: p }, i) => g("div", {
1223
+ ref: i,
1224
+ className: j("bg-white flex flex-row rounded-xl border border-f1-border-secondary", n && "shadow-md"),
1225
+ children: [o("div", {
549
1226
  className: "aspect-auto flex-shrink-0 overflow-hidden rounded-xl py-1 pl-1",
550
- children: e("img", {
551
- src: r,
1227
+ children: o("img", {
1228
+ src: t,
552
1229
  alt: "",
553
1230
  className: "h-full w-full rounded-lg object-cover"
554
1231
  })
555
- }), c("div", {
1232
+ }), g("div", {
556
1233
  className: "flex flex-col justify-center gap-8 px-8 py-5",
557
- children: [c("div", {
1234
+ children: [g("div", {
558
1235
  className: "flex flex-col gap-5",
559
- children: [c("div", {
1236
+ children: [g("div", {
560
1237
  className: "flex flex-col gap-2",
561
- children: [c("div", {
1238
+ children: [g("div", {
562
1239
  className: "flex flex-row items-center gap-2",
563
- children: [i && e(Z, {
564
- module: i
565
- }), n && e("p", {
1240
+ children: [s && o(Me, {
1241
+ module: s
1242
+ }), l && o("p", {
566
1243
  className: "text-base font-medium text-f1-foreground",
567
- children: n
1244
+ children: l
568
1245
  })]
569
- }), d && e("div", {
1246
+ }), p && o("div", {
570
1247
  className: "flex justify-start",
571
- children: e(De, {
572
- icon: d.icon,
573
- text: d.label
1248
+ children: o(qt, {
1249
+ icon: p.icon,
1250
+ text: p.label
574
1251
  })
575
- }), e("h2", {
1252
+ }), o("h2", {
576
1253
  className: "font-bold text-xl text-f1-foreground",
577
- children: a
1254
+ children: e
578
1255
  })]
579
- }), e(ga, {
580
- benefits: s
1256
+ }), o(er, {
1257
+ benefits: r
581
1258
  })]
582
- }), o && e("div", {
1259
+ }), a && o("div", {
583
1260
  className: "flex gap-3",
584
- children: o
1261
+ children: a
585
1262
  })]
586
1263
  })]
587
1264
  }));
588
- he.displayName = "ProductBlankslate";
589
- function ba({ isOpen: a, onClose: r, title: s, children: o, module: t, portalContainer: i }) {
590
- const [n, d] = v(a);
591
- return te(() => {
592
- d(a);
593
- }, [a]), e(Be, {
594
- open: n,
595
- onOpenChange: (f) => {
596
- d(f), f || r();
1265
+ rt.displayName = "ProductBlankslate";
1266
+ function ar({ isOpen: e, onClose: t, title: r, children: a, module: n, portalContainer: s }) {
1267
+ const [l, p] = _(e);
1268
+ return We(() => {
1269
+ p(e);
1270
+ }, [e]), o(Yt, {
1271
+ open: l,
1272
+ onOpenChange: (m) => {
1273
+ p(m), m || t();
597
1274
  },
598
1275
  modal: !0,
599
- children: c(Re, {
1276
+ children: g(Jt, {
600
1277
  className: "max-h-[620px] w-[760px] overflow-y-auto overflow-x-hidden bg-f1-background",
601
- container: i,
602
- children: [c("div", {
1278
+ container: s,
1279
+ children: [g("div", {
603
1280
  className: "flex flex-row items-center justify-between px-4 py-4",
604
- children: [c(Oe, {
1281
+ children: [g(Ut, {
605
1282
  className: "flex flex-row items-center gap-2 text-lg font-semibold text-f1-foreground",
606
- children: [t && e(Z, {
607
- module: t,
1283
+ children: [n && o(Me, {
1284
+ module: n,
608
1285
  size: "lg"
609
- }), s]
610
- }), e($e, {
1286
+ }), r]
1287
+ }), o(Xt, {
611
1288
  variant: "outline",
612
- icon: ee,
613
- onClick: r,
1289
+ icon: Be,
1290
+ onClick: t,
614
1291
  label: "Close modal",
615
1292
  hideLabel: !0
616
1293
  })]
617
- }), c(X, {
1294
+ }), g(Ee, {
618
1295
  className: "[*[data-state=visible]_div]:bg-f1-background flex max-h-[512px] flex-col",
619
- children: [o, e(K, {
1296
+ children: [a, o($e, {
620
1297
  orientation: "vertical",
621
1298
  className: "[&_div]:bg-f1-background"
622
1299
  })]
@@ -624,46 +1301,46 @@ function ba({ isOpen: a, onClose: r, title: s, children: o, module: t, portalCon
624
1301
  })
625
1302
  });
626
1303
  }
627
- function za({ isOpen: a, onClose: r, title: s, image: o, benefits: t, errorMessage: i, successMessage: n, loadingState: d, nextSteps: l, closeLabel: f, primaryAction: h, modalTitle: N, modalModule: P, secondaryAction: u, portalContainer: y, tag: F, showResponseDialog: L = !0 }) {
628
- const [B, C] = v(a), [S, x] = v(null), [g, k] = v(!1), R = async () => {
629
- if (h != null && h.onClick) {
630
- k(!0);
1304
+ function Nr({ isOpen: e, onClose: t, title: r, image: a, benefits: n, errorMessage: s, successMessage: l, loadingState: p, nextSteps: i, closeLabel: m, primaryAction: c, modalTitle: f, modalModule: h, secondaryAction: u, portalContainer: w, tag: P, showResponseDialog: x = !0 }) {
1305
+ const [S, C] = _(e), [y, O] = _(null), [b, N] = _(!1), L = async () => {
1306
+ if (c != null && c.onClick) {
1307
+ N(!0);
631
1308
  try {
632
- await h.onClick(), C(!1), L && x("success");
1309
+ await c.onClick(), C(!1), x && O("success");
633
1310
  } catch {
634
- L && x("error");
1311
+ x && O("error");
635
1312
  } finally {
636
- k(!1);
1313
+ N(!1);
637
1314
  }
638
1315
  }
639
- }, M = () => {
640
- C(!1), r == null || r();
641
- }, O = g;
642
- return c(E, {
643
- children: [e(ba, {
644
- isOpen: B,
645
- onClose: M,
646
- title: N,
647
- module: P,
648
- portalContainer: y,
649
- children: e("div", {
1316
+ }, F = () => {
1317
+ C(!1), t == null || t();
1318
+ }, D = b;
1319
+ return g(le, {
1320
+ children: [o(ar, {
1321
+ isOpen: S,
1322
+ onClose: F,
1323
+ title: f,
1324
+ module: h,
1325
+ portalContainer: w,
1326
+ children: o("div", {
650
1327
  className: "pb-4 pl-4",
651
- children: e(he, {
652
- title: s,
653
- image: o,
654
- benefits: t,
1328
+ children: o(rt, {
1329
+ title: r,
1330
+ image: a,
1331
+ benefits: n,
655
1332
  withShadow: !1,
656
- tag: F,
657
- actions: c("div", {
1333
+ tag: P,
1334
+ actions: g("div", {
658
1335
  className: "flex gap-3",
659
- children: [h && e(w, {
660
- variant: h.variant,
661
- label: O ? d.label : h.label,
662
- icon: h.icon || void 0,
663
- onClick: R,
664
- loading: h.loading,
665
- size: h.size
666
- }), u && e(w, {
1336
+ children: [c && o(M, {
1337
+ variant: c.variant,
1338
+ label: D ? p.label : c.label,
1339
+ icon: c.icon || void 0,
1340
+ onClick: L,
1341
+ loading: c.loading,
1342
+ size: c.size
1343
+ }), u && o(M, {
667
1344
  onClick: u.onClick,
668
1345
  label: u.label,
669
1346
  variant: u.variant,
@@ -673,73 +1350,73 @@ function za({ isOpen: a, onClose: r, title: s, image: o, benefits: t, errorMessa
673
1350
  })
674
1351
  })
675
1352
  })
676
- }), S && L && e(ae, {
1353
+ }), y && x && o(Re, {
677
1354
  open: !0,
678
1355
  onClose: () => {
679
- M(), x(null);
1356
+ F(), O(null);
680
1357
  },
681
- success: S === "success",
682
- errorMessage: i,
683
- successMessage: n,
684
- nextSteps: l,
685
- closeLabel: f,
686
- portalContainer: y
1358
+ success: y === "success",
1359
+ errorMessage: s,
1360
+ successMessage: l,
1361
+ nextSteps: i,
1362
+ closeLabel: m,
1363
+ portalContainer: w
687
1364
  })]
688
1365
  });
689
1366
  }
690
- function xa({ mediaUrl: a, title: r, description: s, onClose: o, dismissible: t, width: i, trackVisibility: n, actions: d, showConfirmation: l = !0 }) {
691
- const [f, h] = v(!1), N = () => {
692
- h(!0), o && o();
1367
+ function rr({ mediaUrl: e, title: t, description: r, onClose: a, dismissible: n, width: s, trackVisibility: l, actions: p, showConfirmation: i = !0 }) {
1368
+ const [m, c] = _(!1), f = () => {
1369
+ c(!0), a && a();
693
1370
  };
694
- te(() => {
695
- n && n(!f);
696
- }, [n, f]);
697
- const P = a == null ? void 0 : a.includes(".mp4");
698
- return e(E, {
699
- children: f ? null : c(Ee, {
1371
+ We(() => {
1372
+ l && l(!m);
1373
+ }, [l, m]);
1374
+ const h = e == null ? void 0 : e.includes(".mp4");
1375
+ return o(le, {
1376
+ children: m ? null : g(Zt, {
700
1377
  style: {
701
- width: i
1378
+ width: s
702
1379
  },
703
1380
  className: "relative bg-f1-background p-1",
704
- children: [c(_e, {
705
- children: [t && e("div", {
1381
+ children: [g(Qt, {
1382
+ children: [n && o("div", {
706
1383
  className: "absolute right-2 top-2 z-10",
707
- children: e(w, {
1384
+ children: o(M, {
708
1385
  variant: "ghost",
709
- icon: ee,
1386
+ icon: Be,
710
1387
  size: "sm",
711
1388
  hideLabel: !0,
712
- onClick: N,
1389
+ onClick: f,
713
1390
  label: "Close"
714
1391
  })
715
- }), c("div", {
716
- children: [e("div", {
717
- children: a && (P ? e("video", {
718
- src: a,
1392
+ }), g("div", {
1393
+ children: [o("div", {
1394
+ children: e && (h ? o("video", {
1395
+ src: e,
719
1396
  autoPlay: !0,
720
1397
  muted: !0,
721
1398
  loop: !0,
722
1399
  playsInline: !0,
723
1400
  className: "h-full w-full rounded-md"
724
- }) : e("img", {
725
- src: a,
726
- alt: r,
1401
+ }) : o("img", {
1402
+ src: e,
1403
+ alt: t,
727
1404
  className: "h-full w-full rounded-md"
728
1405
  }))
729
- }), c("div", {
1406
+ }), g("div", {
730
1407
  className: "flex flex-col gap-[2px] p-3",
731
- children: [e(z, {
1408
+ children: [o(be, {
732
1409
  className: "text-lg font-medium",
733
- children: r
734
- }), e(z, {
1410
+ children: t
1411
+ }), o(be, {
735
1412
  className: "line-clamp-3 text-base font-normal text-f1-foreground-secondary",
736
- children: s
1413
+ children: r
737
1414
  })]
738
1415
  })]
739
1416
  })]
740
- }), d && e(Ae, {
1417
+ }), p && o(ea, {
741
1418
  className: "p-3",
742
- children: d.map((u) => u.type === "upsell" ? e(re, {
1419
+ children: p.map((u) => u.type === "upsell" ? o(ze, {
743
1420
  label: u.label,
744
1421
  onRequest: u.onClick,
745
1422
  errorMessage: u.errorMessage,
@@ -747,9 +1424,9 @@ function xa({ mediaUrl: a, title: r, description: s, onClose: o, dismissible: t,
747
1424
  loadingState: u.loadingState,
748
1425
  nextSteps: u.nextSteps,
749
1426
  closeLabel: u.closeLabel,
750
- showConfirmation: l && u.showConfirmation,
1427
+ showConfirmation: i && u.showConfirmation,
751
1428
  variant: u.variant
752
- }, u.label) : e(w, {
1429
+ }, u.label) : o(M, {
753
1430
  label: u.label,
754
1431
  onClick: u.onClick,
755
1432
  variant: u.variant
@@ -758,136 +1435,136 @@ function xa({ mediaUrl: a, title: r, description: s, onClose: o, dismissible: t,
758
1435
  })
759
1436
  });
760
1437
  }
761
- const ya = I(function({ primaryAction: r, secondaryAction: s, ...o }, t) {
762
- const i = (l) => l.variant === "promote" ? e(re, {
763
- label: l.label,
1438
+ const or = ee(function({ primaryAction: t, secondaryAction: r, ...a }, n) {
1439
+ const s = (i) => i.variant === "promote" ? o(ze, {
1440
+ label: i.label,
764
1441
  onRequest: async () => {
765
- await l.onClick();
1442
+ await i.onClick();
766
1443
  },
767
- errorMessage: l.errorMessage,
768
- successMessage: l.successMessage,
769
- loadingState: l.loadingState,
770
- nextSteps: l.nextSteps,
771
- closeLabel: l.closeLabel,
772
- showIcon: l.showIcon,
773
- showConfirmation: l.showConfirmation,
774
- variant: l.variant
775
- }) : e(w, {
776
- onClick: l.onClick,
777
- label: l.label,
778
- variant: l.variant || "default",
1444
+ errorMessage: i.errorMessage,
1445
+ successMessage: i.successMessage,
1446
+ loadingState: i.loadingState,
1447
+ nextSteps: i.nextSteps,
1448
+ closeLabel: i.closeLabel,
1449
+ showIcon: i.showIcon,
1450
+ showConfirmation: i.showConfirmation,
1451
+ variant: i.variant
1452
+ }) : o(M, {
1453
+ onClick: i.onClick,
1454
+ label: i.label,
1455
+ variant: i.variant || "default",
779
1456
  size: "md",
780
- icon: l.icon
781
- }), n = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0, d = (s == null ? void 0 : s.variant) !== "promote" ? s : void 0;
782
- return c(je, {
783
- ref: t,
784
- ...o,
785
- primaryAction: n,
786
- secondaryAction: d,
787
- children: [(r == null ? void 0 : r.variant) === "promote" && i(r), (s == null ? void 0 : s.variant) === "promote" && i(s)]
1457
+ icon: i.icon
1458
+ }), l = (t == null ? void 0 : t.variant) !== "promote" ? t : void 0, p = (r == null ? void 0 : r.variant) !== "promote" ? r : void 0;
1459
+ return g(ta, {
1460
+ ref: n,
1461
+ ...a,
1462
+ primaryAction: l,
1463
+ secondaryAction: p,
1464
+ children: [(t == null ? void 0 : t.variant) === "promote" && s(t), (r == null ? void 0 : r.variant) === "promote" && s(r)]
788
1465
  });
789
1466
  });
790
- ya.displayName = "UpsellingBanner";
791
- function Va({ isOpen: a, setIsOpen: r, label: s, variant: o = "promote", size: t = "md", showIcon: i = !0, side: n = "right", align: d = "center", icon: l = We, mediaUrl: f, title: h, description: N, width: P = "300px", trackVisibility: u, actions: y, onClick: F, hideLabel: L = !1 }) {
792
- const [B, C] = v(!1), [S, x] = v(null), [g, k] = v(null), R = (m) => {
793
- r(m), F && F();
794
- }, M = async (m) => {
795
- if (m.type === "upsell") {
796
- k(m);
1467
+ or.displayName = "UpsellingBanner";
1468
+ function Lr({ isOpen: e, setIsOpen: t, label: r, variant: a = "promote", size: n = "md", showIcon: s = !0, side: l = "right", align: p = "center", icon: i = aa, mediaUrl: m, title: c, description: f, width: h = "300px", trackVisibility: u, actions: w, onClick: P, hideLabel: x = !1 }) {
1469
+ const [S, C] = _(!1), [y, O] = _(null), [b, N] = _(null), L = (v) => {
1470
+ t(v), P && P();
1471
+ }, F = async (v) => {
1472
+ if (v.type === "upsell") {
1473
+ N(v);
797
1474
  try {
798
- await m.onClick(), m.showConfirmation && (C(!0), x("success"));
1475
+ await v.onClick(), v.showConfirmation && (C(!0), O("success"));
799
1476
  } catch {
800
- C(!0), x("error");
1477
+ C(!0), O("error");
801
1478
  }
802
1479
  }
803
- }, O = () => {
804
- x(null), C(!1), k(null), r(!1);
805
- }, me = a && !B, pe = y == null ? void 0 : y.map((m) => m.type === "upsell" ? {
806
- ...m,
807
- onClick: () => M(m)
808
- } : m);
809
- return c(E, {
810
- children: [c(U, {
811
- open: me,
812
- onOpenChange: R,
813
- children: [e(Y, {
1480
+ }, D = () => {
1481
+ O(null), C(!1), N(null), t(!1);
1482
+ }, E = e && !S, d = w == null ? void 0 : w.map((v) => v.type === "upsell" ? {
1483
+ ...v,
1484
+ onClick: () => F(v)
1485
+ } : v);
1486
+ return g(le, {
1487
+ children: [g(De, {
1488
+ open: E,
1489
+ onOpenChange: L,
1490
+ children: [o(_e, {
814
1491
  asChild: !0,
815
- children: e(w, {
816
- variant: o,
817
- label: s,
818
- size: t,
819
- icon: i ? l : void 0,
820
- onClick: () => r(a),
821
- hideLabel: L
1492
+ children: o(M, {
1493
+ variant: a,
1494
+ label: r,
1495
+ size: n,
1496
+ icon: s ? i : void 0,
1497
+ onClick: () => t(e),
1498
+ hideLabel: x
822
1499
  })
823
- }), e(J, {
824
- side: n,
825
- align: d,
1500
+ }), o(je, {
1501
+ side: l,
1502
+ align: p,
826
1503
  className: "w-fit border-none bg-transparent p-2 shadow-none",
827
- children: e(xa, {
828
- mediaUrl: f,
829
- title: h,
830
- description: N,
831
- onClose: () => r(!1),
1504
+ children: o(rr, {
1505
+ mediaUrl: m,
1506
+ title: c,
1507
+ description: f,
1508
+ onClose: () => t(!1),
832
1509
  dismissible: !1,
833
- width: P,
1510
+ width: h,
834
1511
  trackVisibility: u,
835
- actions: pe,
1512
+ actions: d,
836
1513
  showConfirmation: !1
837
1514
  })
838
1515
  })]
839
- }), (g == null ? void 0 : g.type) === "upsell" && g.showConfirmation && S && e(ae, {
1516
+ }), (b == null ? void 0 : b.type) === "upsell" && b.showConfirmation && y && o(Re, {
840
1517
  open: !0,
841
- onClose: O,
842
- success: S === "success",
843
- errorMessage: g.errorMessage,
844
- successMessage: g.successMessage,
845
- nextSteps: g.nextSteps,
846
- closeLabel: g.closeLabel,
1518
+ onClose: D,
1519
+ success: y === "success",
1520
+ errorMessage: b.errorMessage,
1521
+ successMessage: b.successMessage,
1522
+ nextSteps: b.nextSteps,
1523
+ closeLabel: b.closeLabel,
847
1524
  portalContainer: null
848
1525
  })]
849
1526
  });
850
1527
  }
851
- const Ca = aa(null), wa = ({ children: a, fullScreen: r = !0 }) => {
852
- const s = se(null), [o, t] = v(s.current);
853
- return Ke(() => {
854
- t(s.current);
855
- }, []), e(Ca.Provider, {
1528
+ const nr = va(null), ir = ({ children: e, fullScreen: t = !0 }) => {
1529
+ const r = Ke(null), [a, n] = _(r.current);
1530
+ return pa(() => {
1531
+ n(r.current);
1532
+ }, []), o(nr.Provider, {
856
1533
  value: {
857
- element: o
1534
+ element: a
858
1535
  },
859
- children: e("div", {
860
- ref: s,
1536
+ children: o("div", {
1537
+ ref: r,
861
1538
  id: "f0-layout",
862
- className: b({
863
- "flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": r
1539
+ className: j({
1540
+ "flex h-screen w-screen flex-col bg-[#F5F6F8] dark:bg-[#0D1625]": t
864
1541
  }),
865
- children: a
1542
+ children: e
866
1543
  })
867
1544
  });
868
- }, Na = ({ children: a }) => e(Xe, {
1545
+ }, sr = ({ children: e }) => o(da, {
869
1546
  reducedMotion: "user",
870
- children: a
871
- }), Ha = ({ children: a, layout: r, link: s, privacyModeInitiallyEnabled: o, image: t, i18n: i, l10n: n, isDev: d = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: f = !1 }) => e(Na, {
872
- children: e(ze, {
873
- isDev: d,
874
- showExperimentalWarnings: f,
875
- children: e(Ve, {
876
- ...n,
877
- children: e(He, {
878
- ...i,
879
- children: e(qe, {
880
- ...s,
881
- children: e(wa, {
882
- ...r,
883
- children: e(Ge, {
884
- children: e(Ue, {
885
- initiallyEnabled: o,
886
- children: e(Ye, {
887
- ...t,
888
- children: e(Je, {
889
- handler: l,
890
- children: a
1547
+ children: e
1548
+ }), kr = ({ children: e, layout: t, link: r, privacyModeInitiallyEnabled: a, image: n, i18n: s, l10n: l, isDev: p = !1, dataCollectionStorageHandler: i, showExperimentalWarnings: m = !1 }) => o(sr, {
1549
+ children: o(ra, {
1550
+ isDev: p,
1551
+ showExperimentalWarnings: m,
1552
+ children: o(oa, {
1553
+ ...l,
1554
+ children: o(na, {
1555
+ ...s,
1556
+ children: o(ia, {
1557
+ ...r,
1558
+ children: o(ir, {
1559
+ ...t,
1560
+ children: o(sa, {
1561
+ children: o(la, {
1562
+ initiallyEnabled: a,
1563
+ children: o(ca, {
1564
+ ...n,
1565
+ children: o(ua, {
1566
+ handler: i,
1567
+ children: e
891
1568
  })
892
1569
  })
893
1570
  })
@@ -897,92 +1574,93 @@ const Ca = aa(null), wa = ({ children: a, fullScreen: r = !0 }) => {
897
1574
  })
898
1575
  })
899
1576
  })
900
- }), q = (a) => `datacollection-${a}`, qa = {
901
- get: async (a) => JSON.parse(
902
- localStorage.getItem(q(a)) ?? "{}"
1577
+ }), Se = (e) => `datacollection-${e}`, Tr = {
1578
+ get: async (e) => JSON.parse(
1579
+ localStorage.getItem(Se(e)) ?? "{}"
903
1580
  ),
904
- set: async (a, r) => {
905
- localStorage.setItem(q(a), JSON.stringify(r));
1581
+ set: async (e, t) => {
1582
+ localStorage.setItem(Se(e), JSON.stringify(t));
906
1583
  }
907
1584
  };
908
1585
  export {
909
- Ta as AreaChart,
910
- Ya as Await,
911
- Ia as BarChart,
912
- w as Button,
913
- Ba as CategoryBarChart,
914
- Ja as CopyButton,
915
- Xa as DndProvider,
916
- Ka as EmojiImage,
917
- Qa as F0Avatar,
918
- Za as F0AvatarAlert,
919
- er as F0AvatarCompany,
920
- ar as F0AvatarDate,
921
- rr as F0AvatarEmoji,
922
- sr as F0AvatarFile,
923
- tr as F0AvatarIcon,
924
- or as F0AvatarList,
925
- Z as F0AvatarModule,
926
- lr as F0AvatarPerson,
927
- nr as F0AvatarTeam,
928
- ir as F0Card,
929
- dr as F0Checkbox,
930
- _a as F0ChipList,
931
- cr as F0EventCatcherProvider,
932
- Te as F0Icon,
933
- Ha as F0Provider,
934
- ur as F0TagAlert,
935
- fr as F0TagBalance,
936
- hr as F0TagCompany,
937
- mr as F0TagDot,
938
- pr as F0TagList,
939
- gr as F0TagPerson,
940
- De as F0TagRaw,
941
- vr as F0TagStatus,
942
- br as F0TagTeam,
943
- xr as GROUP_ID_SYMBOL,
944
- Wa as HomeLayout,
945
- Ra as LineChart,
946
- Fa as Link,
947
- yr as OneFilterPicker,
948
- Oa as PieChart,
949
- Ue as PrivacyModeProvider,
950
- he as ProductBlankslate,
951
- Cr as ProductCard,
952
- za as ProductModal,
953
- xa as ProductWidget,
954
- Ea as ProgressBarChart,
955
- Aa as StandardLayout,
956
- wr as TagCounter,
957
- ja as TwoColumnLayout,
958
- ae as UpsellRequestResponseDialog,
959
- ya as UpsellingBanner,
960
- re as UpsellingButton,
961
- Va as UpsellingPopover,
962
- $a as VerticalBarChart,
963
- Ma as avatarVariants,
964
- Nr as buildTranslations,
965
- Pr as createAtlaskitDriver,
966
- Lr as createDataSourceDefinition,
967
- qa as dataCollectionLocalStorageHandler,
968
- ka as defaultTranslations,
969
- Se as experimental,
970
- Sr as getAnimationVariants,
971
- kr as getDataSourcePaginationType,
972
- Fr as getEmojiLabel,
973
- Mr as isInfiniteScrollPagination,
974
- Dr as isPageBasedPagination,
975
- Tr as modules,
976
- Ir as tagDotColors,
977
- Br as useData,
978
- Rr as useDataSource,
979
- Or as useDndEvents,
980
- $r as useDraggable,
981
- Er as useDroppableList,
982
- _r as useEmojiConfetti,
983
- Ar as useGroups,
984
- jr as usePrivacyMode,
985
- Wr as useReducedMotion,
986
- zr as useSelectable,
987
- Vr as useXRay
1586
+ hr as AreaChart,
1587
+ _r as Await,
1588
+ vr as BarChart,
1589
+ M as Button,
1590
+ yr as CategoryBarChart,
1591
+ Cr as ComboChart,
1592
+ jr as CopyButton,
1593
+ Er as DndProvider,
1594
+ $r as EmojiImage,
1595
+ Ir as F0Avatar,
1596
+ Mr as F0AvatarAlert,
1597
+ Br as F0AvatarCompany,
1598
+ Rr as F0AvatarDate,
1599
+ zr as F0AvatarEmoji,
1600
+ Kr as F0AvatarFile,
1601
+ Wr as F0AvatarIcon,
1602
+ Vr as F0AvatarList,
1603
+ Me as F0AvatarModule,
1604
+ qr as F0AvatarPerson,
1605
+ Gr as F0AvatarTeam,
1606
+ Hr as F0Card,
1607
+ Yr as F0Checkbox,
1608
+ Pr as F0ChipList,
1609
+ Jr as F0EventCatcherProvider,
1610
+ Gt as F0Icon,
1611
+ kr as F0Provider,
1612
+ Ur as F0TagAlert,
1613
+ Xr as F0TagBalance,
1614
+ Zr as F0TagCompany,
1615
+ Qr as F0TagDot,
1616
+ eo as F0TagList,
1617
+ to as F0TagPerson,
1618
+ qt as F0TagRaw,
1619
+ ao as F0TagStatus,
1620
+ ro as F0TagTeam,
1621
+ oo as GROUP_ID_SYMBOL,
1622
+ Ar as HomeLayout,
1623
+ gr as LineChart,
1624
+ pr as Link,
1625
+ no as OneFilterPicker,
1626
+ br as PieChart,
1627
+ la as PrivacyModeProvider,
1628
+ rt as ProductBlankslate,
1629
+ io as ProductCard,
1630
+ Nr as ProductModal,
1631
+ rr as ProductWidget,
1632
+ wr as ProgressBarChart,
1633
+ Sr as StandardLayout,
1634
+ so as TagCounter,
1635
+ Or as TwoColumnLayout,
1636
+ Re as UpsellRequestResponseDialog,
1637
+ or as UpsellingBanner,
1638
+ ze as UpsellingButton,
1639
+ Lr as UpsellingPopover,
1640
+ xr as VerticalBarChart,
1641
+ fr as avatarVariants,
1642
+ lo as buildTranslations,
1643
+ co as createAtlaskitDriver,
1644
+ uo as createDataSourceDefinition,
1645
+ Tr as dataCollectionLocalStorageHandler,
1646
+ dr as defaultTranslations,
1647
+ zt as experimental,
1648
+ po as getAnimationVariants,
1649
+ fo as getDataSourcePaginationType,
1650
+ mo as getEmojiLabel,
1651
+ ho as isInfiniteScrollPagination,
1652
+ vo as isPageBasedPagination,
1653
+ yo as modules,
1654
+ go as tagDotColors,
1655
+ bo as useData,
1656
+ xo as useDataSource,
1657
+ wo as useDndEvents,
1658
+ Co as useDraggable,
1659
+ Po as useDroppableList,
1660
+ So as useEmojiConfetti,
1661
+ Oo as useGroups,
1662
+ Ao as usePrivacyMode,
1663
+ No as useReducedMotion,
1664
+ Lo as useSelectable,
1665
+ ko as useXRay
988
1666
  };