@canaia/ui-kit 0.0.11-alpha.90 → 0.0.12-alpha.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/canaia-ui-kit.es.js
CHANGED
|
@@ -608,15 +608,15 @@ Check the top-level render call using <` + UA + ">.");
|
|
|
608
608
|
if (AA.call(aA, "key")) {
|
|
609
609
|
var rA = _(V), FA = Object.keys(aA).filter(function(pe) {
|
|
610
610
|
return pe !== "key";
|
|
611
|
-
}),
|
|
612
|
-
if (!Ko[rA +
|
|
611
|
+
}), VA = FA.length > 0 ? "{key: someKey, " + FA.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
612
|
+
if (!Ko[rA + VA]) {
|
|
613
613
|
var OA = FA.length > 0 ? "{" + FA.join(": ..., ") + ": ...}" : "{}";
|
|
614
614
|
h(`A props object containing a "key" prop is being spread into JSX:
|
|
615
615
|
let props = %s;
|
|
616
616
|
<%s {...props} />
|
|
617
617
|
React keys must be passed directly to JSX without using spread:
|
|
618
618
|
let props = %s;
|
|
619
|
-
<%s key={someKey} {...props} />`,
|
|
619
|
+
<%s key={someKey} {...props} />`, VA, rA, OA, rA), Ko[rA + VA] = !0;
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
622
|
return V === n ? _o(x) : qt(x), x;
|
|
@@ -1186,7 +1186,7 @@ IB.exports;
|
|
|
1186
1186
|
writable: !0
|
|
1187
1187
|
}) : b[Z] = L;
|
|
1188
1188
|
}
|
|
1189
|
-
var
|
|
1189
|
+
var VA = Lu();
|
|
1190
1190
|
function OA(b) {
|
|
1191
1191
|
return b == null ? b === void 0 ? w : Q : ve && ve in Object(b) ? Fs(b) : Ur(b);
|
|
1192
1192
|
}
|
|
@@ -1211,7 +1211,7 @@ IB.exports;
|
|
|
1211
1211
|
return L;
|
|
1212
1212
|
}
|
|
1213
1213
|
function zt(b, Z, L, xA, Be) {
|
|
1214
|
-
b !== Z &&
|
|
1214
|
+
b !== Z && VA(Z, function(ye, Le) {
|
|
1215
1215
|
if (Be || (Be = new qA()), io(ye))
|
|
1216
1216
|
Qt(b, Z, Le, L, zt, xA, Be);
|
|
1217
1217
|
else {
|
|
@@ -21505,7 +21505,7 @@ const qj = IA(Wn.div), Mu = MA((A, e) => {
|
|
|
21505
21505
|
] }) : /* @__PURE__ */ I.jsx(I.Fragment, { children: r });
|
|
21506
21506
|
});
|
|
21507
21507
|
Mu.displayName = "Tooltip";
|
|
21508
|
-
const
|
|
21508
|
+
const yA = MA(function(e, t) {
|
|
21509
21509
|
const n = bi("Text", e), { className: i, align: r, decoration: o, casing: a, ...s } = rt(e), l = iu({
|
|
21510
21510
|
textAlign: e.align,
|
|
21511
21511
|
textDecoration: e.decoration,
|
|
@@ -21522,7 +21522,7 @@ const VA = MA(function(e, t) {
|
|
|
21522
21522
|
}
|
|
21523
21523
|
);
|
|
21524
21524
|
});
|
|
21525
|
-
|
|
21525
|
+
yA.displayName = "Text";
|
|
21526
21526
|
const rS = MA(function(e, t) {
|
|
21527
21527
|
const {
|
|
21528
21528
|
spacing: n = "0.5rem",
|
|
@@ -21979,7 +21979,7 @@ const $j = {
|
|
|
21979
21979
|
}
|
|
21980
21980
|
)
|
|
21981
21981
|
] }),
|
|
21982
|
-
/* @__PURE__ */ I.jsxs(
|
|
21982
|
+
/* @__PURE__ */ I.jsxs(yA, { display: U !== "" ? "block" : "none", textAlign: R, color: F, margin: w, fontSize: m, fontFamily: T, children: [
|
|
21983
21983
|
" ",
|
|
21984
21984
|
U
|
|
21985
21985
|
] }),
|
|
@@ -22327,8 +22327,8 @@ const QEA = ({
|
|
|
22327
22327
|
children: [
|
|
22328
22328
|
s ? /* @__PURE__ */ I.jsx(Bm, { src: s, alt: "Uploaded", boxSize: "100%", rounded: "md" }) : /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
22329
22329
|
/* @__PURE__ */ I.jsx(yt, { as: GO, color: t, boxSize: 8 }),
|
|
22330
|
-
/* @__PURE__ */ I.jsx(
|
|
22331
|
-
/* @__PURE__ */ I.jsx(
|
|
22330
|
+
/* @__PURE__ */ I.jsx(yA, { fontWeight: "bold", children: A }),
|
|
22331
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "sm", color: "gray.500", children: e })
|
|
22332
22332
|
] }),
|
|
22333
22333
|
!a && /* @__PURE__ */ I.jsx(
|
|
22334
22334
|
"input",
|
|
@@ -22385,7 +22385,7 @@ const QEA = ({
|
|
|
22385
22385
|
bg: g.isCompleted && !g.isActive && B !== n ? a : "white",
|
|
22386
22386
|
border: `2px solid ${g.isCompleted || g.isActive ? i : o}`,
|
|
22387
22387
|
children: /* @__PURE__ */ I.jsx(
|
|
22388
|
-
|
|
22388
|
+
yA,
|
|
22389
22389
|
{
|
|
22390
22390
|
fontSize: "14px",
|
|
22391
22391
|
color: g.isCompleted || g.isActive ? i : r,
|
|
@@ -22396,7 +22396,7 @@ const QEA = ({
|
|
|
22396
22396
|
}
|
|
22397
22397
|
),
|
|
22398
22398
|
/* @__PURE__ */ I.jsx(
|
|
22399
|
-
|
|
22399
|
+
yA,
|
|
22400
22400
|
{
|
|
22401
22401
|
ml: 3,
|
|
22402
22402
|
mr: 2,
|
|
@@ -24624,7 +24624,7 @@ const CEA = ({
|
|
|
24624
24624
|
maxSize: d
|
|
24625
24625
|
});
|
|
24626
24626
|
return /* @__PURE__ */ I.jsxs(pA, { children: [
|
|
24627
|
-
/* @__PURE__ */ I.jsx(LA, { mt: 4, alignItems: "flex-start", children: r.trim() && /* @__PURE__ */ I.jsx(
|
|
24627
|
+
/* @__PURE__ */ I.jsx(LA, { mt: 4, alignItems: "flex-start", children: r.trim() && /* @__PURE__ */ I.jsx(yA, { fontSize: "20px", fontWeight: "700", color: s, mb: 2, children: r }) }),
|
|
24628
24628
|
/* @__PURE__ */ I.jsxs(
|
|
24629
24629
|
pA,
|
|
24630
24630
|
{
|
|
@@ -24644,7 +24644,7 @@ const CEA = ({
|
|
|
24644
24644
|
children: [
|
|
24645
24645
|
/* @__PURE__ */ I.jsx("input", { ...F() }),
|
|
24646
24646
|
e && e.includes("play") ? /* @__PURE__ */ I.jsx(yt, { as: NO, boxSize: "40px", color: B, mb: "16px" }) : /* @__PURE__ */ I.jsx(yt, { as: VX, boxSize: "40px", color: B, mb: "16px" }),
|
|
24647
|
-
/* @__PURE__ */ I.jsx(
|
|
24647
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "16px", fontWeight: "16px", color: l, mb: 4, children: o }),
|
|
24648
24648
|
/* @__PURE__ */ I.jsx(
|
|
24649
24649
|
$e,
|
|
24650
24650
|
{
|
|
@@ -24659,7 +24659,7 @@ const CEA = ({
|
|
|
24659
24659
|
}
|
|
24660
24660
|
)
|
|
24661
24661
|
] });
|
|
24662
|
-
}, REA = ({ text: A, fontSize: e = "md", ...t }) => /* @__PURE__ */ I.jsx(
|
|
24662
|
+
}, REA = ({ text: A, fontSize: e = "md", ...t }) => /* @__PURE__ */ I.jsx(yA, { fontSize: e, ...t, children: A }), UEA = _t(
|
|
24663
24663
|
({
|
|
24664
24664
|
label: A,
|
|
24665
24665
|
colorLabelText: e = "black.400",
|
|
@@ -24739,9 +24739,9 @@ const CEA = ({
|
|
|
24739
24739
|
]
|
|
24740
24740
|
}
|
|
24741
24741
|
),
|
|
24742
|
-
!f && B && /* @__PURE__ */ I.jsx(
|
|
24742
|
+
!f && B && /* @__PURE__ */ I.jsx(yA, { fontSize: u, color: E, mb: "10px", textAlign: "start", children: B }),
|
|
24743
24743
|
f ? w && B ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
24744
|
-
/* @__PURE__ */ I.jsx(
|
|
24744
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: u, color: E, mb: "10px", textAlign: "start", children: B }),
|
|
24745
24745
|
g ? /* @__PURE__ */ I.jsx(
|
|
24746
24746
|
Ol,
|
|
24747
24747
|
{
|
|
@@ -25107,8 +25107,8 @@ var kX = function(A) {
|
|
|
25107
25107
|
}
|
|
25108
25108
|
}(), m = w && w.isTypedArray;
|
|
25109
25109
|
function T(x, z, eA, rA) {
|
|
25110
|
-
var FA = -1,
|
|
25111
|
-
for (rA &&
|
|
25110
|
+
var FA = -1, VA = x ? x.length : 0;
|
|
25111
|
+
for (rA && VA && (eA = x[++FA]); ++FA < VA; ) eA = z(eA, x[FA], FA, x);
|
|
25112
25112
|
return eA;
|
|
25113
25113
|
}
|
|
25114
25114
|
function D(x, z) {
|
|
@@ -25116,8 +25116,8 @@ var kX = function(A) {
|
|
|
25116
25116
|
return !1;
|
|
25117
25117
|
}
|
|
25118
25118
|
function y(x, z, eA, rA, FA) {
|
|
25119
|
-
return FA(x, function(
|
|
25120
|
-
eA = rA ? (rA = !1,
|
|
25119
|
+
return FA(x, function(VA, OA, pe) {
|
|
25120
|
+
eA = rA ? (rA = !1, VA) : z(eA, VA, OA, pe);
|
|
25121
25121
|
}), eA;
|
|
25122
25122
|
}
|
|
25123
25123
|
function J(x) {
|
|
@@ -25176,7 +25176,7 @@ var kX = function(A) {
|
|
|
25176
25176
|
for (var be = -1, De = Array(OA); ++be < OA; ) De[be] = pe(be);
|
|
25177
25177
|
return De;
|
|
25178
25178
|
}(x.length, String) : [], rA = eA.length, FA = !!rA;
|
|
25179
|
-
for (var
|
|
25179
|
+
for (var VA in x) !P.call(x, VA) || FA && (VA == "length" || eo(VA, rA)) || eA.push(VA);
|
|
25180
25180
|
return eA;
|
|
25181
25181
|
}
|
|
25182
25182
|
function Te(x, z) {
|
|
@@ -25252,9 +25252,9 @@ var kX = function(A) {
|
|
|
25252
25252
|
return x;
|
|
25253
25253
|
}), ve = /* @__PURE__ */ function(x) {
|
|
25254
25254
|
return function(z, eA, rA) {
|
|
25255
|
-
for (var FA = -1,
|
|
25255
|
+
for (var FA = -1, VA = Object(z), OA = rA(z), pe = OA.length; pe--; ) {
|
|
25256
25256
|
var be = OA[++FA];
|
|
25257
|
-
if (eA(
|
|
25257
|
+
if (eA(VA[be], be, VA) === !1) break;
|
|
25258
25258
|
}
|
|
25259
25259
|
return z;
|
|
25260
25260
|
};
|
|
@@ -25267,11 +25267,11 @@ var kX = function(A) {
|
|
|
25267
25267
|
return x != null && z in Object(x);
|
|
25268
25268
|
}
|
|
25269
25269
|
function Ne(x, z, eA, rA, FA) {
|
|
25270
|
-
return x === z || (x == null || z == null || !qA(x) && !ce(z) ? x != x && z != z : function(
|
|
25271
|
-
var zt = V(
|
|
25272
|
-
zt || (ct = (ct = pn(
|
|
25273
|
-
var un = ct == a && !J(
|
|
25274
|
-
if (ii && !un) return ge || (ge = new vA()), zt || ee(
|
|
25270
|
+
return x === z || (x == null || z == null || !qA(x) && !ce(z) ? x != x && z != z : function(VA, OA, pe, be, De, ge) {
|
|
25271
|
+
var zt = V(VA), Qt = V(OA), ct = "[object Array]", It = "[object Array]";
|
|
25272
|
+
zt || (ct = (ct = pn(VA)) == r ? a : ct), Qt || (It = (It = pn(OA)) == r ? a : It);
|
|
25273
|
+
var un = ct == a && !J(VA), Cr = It == a && !J(OA), ii = ct == It;
|
|
25274
|
+
if (ii && !un) return ge || (ge = new vA()), zt || ee(VA) ? Bn(VA, OA, pe, be, De, ge) : function(de, Ie, Fs, Hi, no, jt, Yn) {
|
|
25275
25275
|
switch (Fs) {
|
|
25276
25276
|
case "[object DataView]":
|
|
25277
25277
|
if (de.byteLength != Ie.byteLength || de.byteOffset != Ie.byteOffset) return !1;
|
|
@@ -25301,11 +25301,11 @@ var kX = function(A) {
|
|
|
25301
25301
|
if ($) return $.call(de) == $.call(Ie);
|
|
25302
25302
|
}
|
|
25303
25303
|
return !1;
|
|
25304
|
-
}(
|
|
25304
|
+
}(VA, OA, ct, pe, be, De, ge);
|
|
25305
25305
|
if (!(2 & De)) {
|
|
25306
|
-
var Jc = un && P.call(
|
|
25306
|
+
var Jc = un && P.call(VA, "__wrapped__"), Pc = Cr && P.call(OA, "__wrapped__");
|
|
25307
25307
|
if (Jc || Pc) {
|
|
25308
|
-
var Xu = Jc ?
|
|
25308
|
+
var Xu = Jc ? VA.value() : VA, Lu = Pc ? OA.value() : OA;
|
|
25309
25309
|
return ge || (ge = new vA()), pe(Xu, Lu, be, De, ge);
|
|
25310
25310
|
}
|
|
25311
25311
|
}
|
|
@@ -25335,7 +25335,7 @@ var kX = function(A) {
|
|
|
25335
25335
|
Fr == Mr || !("constructor" in de) || !("constructor" in Ie) || typeof Fr == "function" && Fr instanceof Fr && typeof Mr == "function" && Mr instanceof Mr || (ea = !1);
|
|
25336
25336
|
}
|
|
25337
25337
|
return jt.delete(de), jt.delete(Ie), ea;
|
|
25338
|
-
}(
|
|
25338
|
+
}(VA, OA, pe, be, De, ge)) : !1;
|
|
25339
25339
|
}(x, z, Ne, eA, rA, FA));
|
|
25340
25340
|
}
|
|
25341
25341
|
function wn(x) {
|
|
@@ -25345,11 +25345,11 @@ var kX = function(A) {
|
|
|
25345
25345
|
}
|
|
25346
25346
|
function Hn(x) {
|
|
25347
25347
|
return typeof x == "function" ? x : x == null ? Ye : typeof x == "object" ? V(x) ? function(rA, FA) {
|
|
25348
|
-
return Ni(rA) && qt(FA) ? _o(Wi(rA), FA) : function(
|
|
25348
|
+
return Ni(rA) && qt(FA) ? _o(Wi(rA), FA) : function(VA) {
|
|
25349
25349
|
var OA = function(pe, be, De) {
|
|
25350
25350
|
var ge = pe == null ? void 0 : we(pe, be);
|
|
25351
25351
|
return ge === void 0 ? De : ge;
|
|
25352
|
-
}(
|
|
25352
|
+
}(VA, rA);
|
|
25353
25353
|
return OA === void 0 && OA === FA ? function(pe, be) {
|
|
25354
25354
|
return pe != null && function(De, ge, zt) {
|
|
25355
25355
|
ge = Ni(ge, De) ? [ge] : Qr(ge);
|
|
@@ -25360,18 +25360,18 @@ var kX = function(A) {
|
|
|
25360
25360
|
}
|
|
25361
25361
|
return Qt || !!(It = De ? De.length : 0) && HA(It) && eo(un, It) && (V(De) || qo(De));
|
|
25362
25362
|
}(pe, be, Ut);
|
|
25363
|
-
}(
|
|
25363
|
+
}(VA, rA) : Ne(FA, OA, void 0, 3);
|
|
25364
25364
|
};
|
|
25365
25365
|
}(x[0], x[1]) : function(rA) {
|
|
25366
|
-
var FA = function(
|
|
25367
|
-
for (var OA = ot(
|
|
25368
|
-
var be = OA[pe], De =
|
|
25366
|
+
var FA = function(VA) {
|
|
25367
|
+
for (var OA = ot(VA), pe = OA.length; pe--; ) {
|
|
25368
|
+
var be = OA[pe], De = VA[be];
|
|
25369
25369
|
OA[pe] = [be, De, qt(De)];
|
|
25370
25370
|
}
|
|
25371
25371
|
return OA;
|
|
25372
25372
|
}(rA);
|
|
25373
|
-
return FA.length == 1 && FA[0][2] ? _o(FA[0][0], FA[0][1]) : function(
|
|
25374
|
-
return
|
|
25373
|
+
return FA.length == 1 && FA[0][2] ? _o(FA[0][0], FA[0][1]) : function(VA) {
|
|
25374
|
+
return VA === rA || function(OA, pe, be, De) {
|
|
25375
25375
|
var ge = be.length, zt = ge;
|
|
25376
25376
|
if (OA == null) return !zt;
|
|
25377
25377
|
for (OA = Object(OA); ge--; ) {
|
|
@@ -25388,7 +25388,7 @@ var kX = function(A) {
|
|
|
25388
25388
|
}
|
|
25389
25389
|
}
|
|
25390
25390
|
return !0;
|
|
25391
|
-
}(
|
|
25391
|
+
}(VA, rA, FA);
|
|
25392
25392
|
};
|
|
25393
25393
|
}(x) : Ni(z = x) ? (eA = Wi(z), function(rA) {
|
|
25394
25394
|
return rA == null ? void 0 : rA[eA];
|
|
@@ -25402,21 +25402,21 @@ var kX = function(A) {
|
|
|
25402
25402
|
function Gn(x) {
|
|
25403
25403
|
if (eA = (z = x) && z.constructor, rA = typeof eA == "function" && eA.prototype || M, z !== rA) return DA(x);
|
|
25404
25404
|
var z, eA, rA, FA = [];
|
|
25405
|
-
for (var
|
|
25405
|
+
for (var VA in Object(x)) P.call(x, VA) && VA != "constructor" && FA.push(VA);
|
|
25406
25406
|
return FA;
|
|
25407
25407
|
}
|
|
25408
25408
|
function Qr(x) {
|
|
25409
25409
|
return V(x) ? x : Ko(x);
|
|
25410
25410
|
}
|
|
25411
|
-
function Bn(x, z, eA, rA, FA,
|
|
25411
|
+
function Bn(x, z, eA, rA, FA, VA) {
|
|
25412
25412
|
var OA = 2 & FA, pe = x.length, be = z.length;
|
|
25413
25413
|
if (pe != be && !(OA && be > pe)) return !1;
|
|
25414
|
-
var De =
|
|
25415
|
-
if (De &&
|
|
25414
|
+
var De = VA.get(x);
|
|
25415
|
+
if (De && VA.get(z)) return De == z;
|
|
25416
25416
|
var ge = -1, zt = !0, Qt = 1 & FA ? new bA() : void 0;
|
|
25417
|
-
for (
|
|
25417
|
+
for (VA.set(x, z), VA.set(z, x); ++ge < pe; ) {
|
|
25418
25418
|
var ct = x[ge], It = z[ge];
|
|
25419
|
-
if (rA) var un = OA ? rA(It, ct, ge, z, x,
|
|
25419
|
+
if (rA) var un = OA ? rA(It, ct, ge, z, x, VA) : rA(ct, It, ge, x, z, VA);
|
|
25420
25420
|
if (un !== void 0) {
|
|
25421
25421
|
if (un) continue;
|
|
25422
25422
|
zt = !1;
|
|
@@ -25424,17 +25424,17 @@ var kX = function(A) {
|
|
|
25424
25424
|
}
|
|
25425
25425
|
if (Qt) {
|
|
25426
25426
|
if (!D(z, function(Cr, ii) {
|
|
25427
|
-
if (!Qt.has(ii) && (ct === Cr || eA(ct, Cr, rA, FA,
|
|
25427
|
+
if (!Qt.has(ii) && (ct === Cr || eA(ct, Cr, rA, FA, VA))) return Qt.add(ii);
|
|
25428
25428
|
})) {
|
|
25429
25429
|
zt = !1;
|
|
25430
25430
|
break;
|
|
25431
25431
|
}
|
|
25432
|
-
} else if (ct !== It && !eA(ct, It, rA, FA,
|
|
25432
|
+
} else if (ct !== It && !eA(ct, It, rA, FA, VA)) {
|
|
25433
25433
|
zt = !1;
|
|
25434
25434
|
break;
|
|
25435
25435
|
}
|
|
25436
25436
|
}
|
|
25437
|
-
return
|
|
25437
|
+
return VA.delete(x), VA.delete(z), zt;
|
|
25438
25438
|
}
|
|
25439
25439
|
function hr(x, z) {
|
|
25440
25440
|
var eA, rA, FA = x.__data__;
|
|
@@ -25490,8 +25490,8 @@ var kX = function(A) {
|
|
|
25490
25490
|
return FA == "0" && 1 / rA == -1 / 0 ? "-0" : FA;
|
|
25491
25491
|
}(z);
|
|
25492
25492
|
var eA = [];
|
|
25493
|
-
return g.test(x) && eA.push(""), x.replace(B, function(rA, FA,
|
|
25494
|
-
eA.push(
|
|
25493
|
+
return g.test(x) && eA.push(""), x.replace(B, function(rA, FA, VA, OA) {
|
|
25494
|
+
eA.push(VA ? OA.replace(u, "$1") : FA || rA);
|
|
25495
25495
|
}), eA;
|
|
25496
25496
|
});
|
|
25497
25497
|
function Wi(x) {
|
|
@@ -25515,10 +25515,10 @@ var kX = function(A) {
|
|
|
25515
25515
|
function to(x, z) {
|
|
25516
25516
|
if (typeof x != "function" || z && typeof z != "function") throw new TypeError("Expected a function");
|
|
25517
25517
|
var eA = function() {
|
|
25518
|
-
var rA = arguments, FA = z ? z.apply(this, rA) : rA[0],
|
|
25519
|
-
if (
|
|
25518
|
+
var rA = arguments, FA = z ? z.apply(this, rA) : rA[0], VA = eA.cache;
|
|
25519
|
+
if (VA.has(FA)) return VA.get(FA);
|
|
25520
25520
|
var OA = x.apply(this, rA);
|
|
25521
|
-
return eA.cache =
|
|
25521
|
+
return eA.cache = VA.set(FA, OA), OA;
|
|
25522
25522
|
};
|
|
25523
25523
|
return eA.cache = new (to.Cache || gA)(), eA;
|
|
25524
25524
|
}
|
|
@@ -26074,7 +26074,7 @@ const vX = /* @__PURE__ */ gs(kX), FEA = ({
|
|
|
26074
26074
|
placeholder: n
|
|
26075
26075
|
}
|
|
26076
26076
|
),
|
|
26077
|
-
r && /* @__PURE__ */ I.jsx(
|
|
26077
|
+
r && /* @__PURE__ */ I.jsx(yA, { fontSize: "sm", color: "red.500", mt: 1, children: r })
|
|
26078
26078
|
] }), MEA = ({
|
|
26079
26079
|
label: A = "",
|
|
26080
26080
|
description: e = "",
|
|
@@ -26133,7 +26133,7 @@ const vX = /* @__PURE__ */ gs(kX), FEA = ({
|
|
|
26133
26133
|
)
|
|
26134
26134
|
] }),
|
|
26135
26135
|
r && B && e && /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
26136
|
-
/* @__PURE__ */ I.jsx(
|
|
26136
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "14px", color: "gray.500", mb: "10px", textAlign: "start", children: e }),
|
|
26137
26137
|
/* @__PURE__ */ I.jsx(LA, { wrap: "wrap", mb: 2, gap: 4, children: t.map((h, C) => /* @__PURE__ */ I.jsx(
|
|
26138
26138
|
pA,
|
|
26139
26139
|
{
|
|
@@ -26226,8 +26226,8 @@ const vX = /* @__PURE__ */ gs(kX), FEA = ({
|
|
|
26226
26226
|
) : /* @__PURE__ */ I.jsx("div", { style: s, children: /* @__PURE__ */ I.jsxs(LA, { direction: "row", align: "center", flex: "1", children: [
|
|
26227
26227
|
/* @__PURE__ */ I.jsx(yt, { as: r[A], style: l, boxSize: 6 }),
|
|
26228
26228
|
/* @__PURE__ */ I.jsxs(LA, { direction: "column", flex: "1", ml: 3, children: [
|
|
26229
|
-
/* @__PURE__ */ I.jsx(
|
|
26230
|
-
t && /* @__PURE__ */ I.jsx(
|
|
26229
|
+
/* @__PURE__ */ I.jsx(yA, { style: c, children: e }),
|
|
26230
|
+
t && /* @__PURE__ */ I.jsx(yA, { mt: 1, children: t })
|
|
26231
26231
|
] }),
|
|
26232
26232
|
i && /* @__PURE__ */ I.jsx(
|
|
26233
26233
|
$e,
|
|
@@ -26276,8 +26276,8 @@ const vX = /* @__PURE__ */ gs(kX), FEA = ({
|
|
|
26276
26276
|
wordBreak: "break-word",
|
|
26277
26277
|
alignItems: "flex-start",
|
|
26278
26278
|
children: [
|
|
26279
|
-
r === "image" ? /* @__PURE__ */ I.jsx(pA, { maxWidth: "24.3125rem", height: "13.4375rem", children: /* @__PURE__ */ I.jsx("img", { src: o, alt: a, style: { width: "100%", objectFit: "contain", height: "100%" } }) }) : /* @__PURE__ */ I.jsx(
|
|
26280
|
-
t && /* @__PURE__ */ I.jsx(
|
|
26279
|
+
r === "image" ? /* @__PURE__ */ I.jsx(pA, { maxWidth: "24.3125rem", height: "13.4375rem", children: /* @__PURE__ */ I.jsx("img", { src: o, alt: a, style: { width: "100%", objectFit: "contain", height: "100%" } }) }) : /* @__PURE__ */ I.jsx(yA, { textAlign: "right", fontSize: "md", whiteSpace: "normal", children: A }),
|
|
26280
|
+
t && /* @__PURE__ */ I.jsx(yA, { fontSize: "xs", color: "gray.500", textAlign: "right", mt: 1, children: t })
|
|
26281
26281
|
]
|
|
26282
26282
|
}
|
|
26283
26283
|
),
|
|
@@ -35395,7 +35395,7 @@ const SeA = lr`
|
|
|
35395
35395
|
}
|
|
35396
35396
|
),
|
|
35397
35397
|
/* @__PURE__ */ I.jsx(
|
|
35398
|
-
|
|
35398
|
+
yA,
|
|
35399
35399
|
{
|
|
35400
35400
|
textAlign: "center",
|
|
35401
35401
|
mt: 2,
|
|
@@ -36006,7 +36006,7 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36006
36006
|
_focus: { borderColor: u, boxShadow: "0 0 0 3px rgba(66, 153, 225, 0.6)" },
|
|
36007
36007
|
children: /* @__PURE__ */ I.jsx(Pt, { align: "flex-end", spacing: 0, children: /* @__PURE__ */ I.jsxs(LA, { align: "center", gap: "10px", children: [
|
|
36008
36008
|
/* @__PURE__ */ I.jsx(pA, { as: KeA, color: e, size: 18 }),
|
|
36009
|
-
/* @__PURE__ */ I.jsx(
|
|
36009
|
+
/* @__PURE__ */ I.jsx(yA, { color: e, fontSize: "18px", fontWeight: "medium", marginRight: 2, children: i }),
|
|
36010
36010
|
/* @__PURE__ */ I.jsx(xc, { fontSize: "24px", color: e })
|
|
36011
36011
|
] }) })
|
|
36012
36012
|
}
|
|
@@ -36049,7 +36049,7 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36049
36049
|
isActive: Q[w]
|
|
36050
36050
|
}
|
|
36051
36051
|
) : /* @__PURE__ */ I.jsx(I.Fragment, { children: U }) : /* @__PURE__ */ I.jsx(I.Fragment, { children: U }),
|
|
36052
|
-
/* @__PURE__ */ I.jsx(
|
|
36052
|
+
/* @__PURE__ */ I.jsx(yA, { children: C })
|
|
36053
36053
|
] })
|
|
36054
36054
|
},
|
|
36055
36055
|
w
|
|
@@ -36064,7 +36064,7 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36064
36064
|
_hover: { bg: "transparent", color: e },
|
|
36065
36065
|
children: /* @__PURE__ */ I.jsxs(LA, { align: "center", gap: "10px", children: [
|
|
36066
36066
|
/* @__PURE__ */ I.jsx(SO, { size: 24 }),
|
|
36067
|
-
/* @__PURE__ */ I.jsx(
|
|
36067
|
+
/* @__PURE__ */ I.jsx(yA, { children: r })
|
|
36068
36068
|
] })
|
|
36069
36069
|
}
|
|
36070
36070
|
)
|
|
@@ -36222,7 +36222,7 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36222
36222
|
isActive: t === E.url || r === f
|
|
36223
36223
|
}
|
|
36224
36224
|
),
|
|
36225
|
-
l && /* @__PURE__ */ I.jsx(
|
|
36225
|
+
l && /* @__PURE__ */ I.jsx(yA, { ml: 2, fontWeight: t === E.url || r === f ? "bold" : "normal", transition: "font-weight 0.3s ease", children: E.title })
|
|
36226
36226
|
]
|
|
36227
36227
|
},
|
|
36228
36228
|
f
|
|
@@ -36332,20 +36332,24 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36332
36332
|
onConfirm: t,
|
|
36333
36333
|
title: n,
|
|
36334
36334
|
description: i,
|
|
36335
|
-
|
|
36336
|
-
|
|
36337
|
-
|
|
36338
|
-
|
|
36335
|
+
descriptionSecondary: r,
|
|
36336
|
+
backText: o = "Volver",
|
|
36337
|
+
confirmText: a = "Eliminar",
|
|
36338
|
+
product: s = "assist",
|
|
36339
|
+
colorTextDelete: l = "danger.300"
|
|
36339
36340
|
}) => {
|
|
36340
|
-
const
|
|
36341
|
-
const [
|
|
36342
|
-
return `${
|
|
36341
|
+
const c = l ? (() => {
|
|
36342
|
+
const [g, B] = l.split("."), u = parseInt(B, 10) + 200;
|
|
36343
|
+
return `${g}.${u}`;
|
|
36343
36344
|
})() : "danger.400";
|
|
36344
36345
|
return /* @__PURE__ */ I.jsxs(cr, { isOpen: A, onClose: e, isCentered: !0, children: [
|
|
36345
36346
|
/* @__PURE__ */ I.jsx(Er, {}),
|
|
36346
36347
|
/* @__PURE__ */ I.jsxs(gr, { position: "relative", bg: "white", p: "24px", borderRadius: "16px", minW: "550px", children: [
|
|
36347
36348
|
/* @__PURE__ */ I.jsx(ur, { fontSize: "20px", fontFamily: "sansation", children: n }),
|
|
36348
|
-
/* @__PURE__ */ I.
|
|
36349
|
+
/* @__PURE__ */ I.jsxs(Br, { children: [
|
|
36350
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "16px", fontFamily: "Lato", children: i }),
|
|
36351
|
+
r && /* @__PURE__ */ I.jsx(yA, { fontSize: "16px", fontFamily: "Lato", mt: "25px", mb: "10px", children: r })
|
|
36352
|
+
] }),
|
|
36349
36353
|
/* @__PURE__ */ I.jsxs(Sc, { display: "flex", justifyContent: "center", mt: "2px", children: [
|
|
36350
36354
|
/* @__PURE__ */ I.jsx(
|
|
36351
36355
|
$e,
|
|
@@ -36353,11 +36357,11 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36353
36357
|
fontSize: "18px",
|
|
36354
36358
|
fontFamily: "sansation",
|
|
36355
36359
|
variant: "outline",
|
|
36356
|
-
color: `${
|
|
36357
|
-
borderColor: `${
|
|
36360
|
+
color: `${s}.500`,
|
|
36361
|
+
borderColor: `${s}.500`,
|
|
36358
36362
|
mr: 8,
|
|
36359
36363
|
onClick: e,
|
|
36360
|
-
children:
|
|
36364
|
+
children: o
|
|
36361
36365
|
}
|
|
36362
36366
|
),
|
|
36363
36367
|
/* @__PURE__ */ I.jsx(
|
|
@@ -36365,11 +36369,11 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36365
36369
|
{
|
|
36366
36370
|
fontSize: "18px",
|
|
36367
36371
|
fontFamily: "sansation",
|
|
36368
|
-
backgroundColor:
|
|
36372
|
+
backgroundColor: l || "danger.300",
|
|
36369
36373
|
color: "white",
|
|
36370
|
-
_hover: { backgroundColor:
|
|
36374
|
+
_hover: { backgroundColor: c || "danger.400" },
|
|
36371
36375
|
onClick: t,
|
|
36372
|
-
children:
|
|
36376
|
+
children: a
|
|
36373
36377
|
}
|
|
36374
36378
|
)
|
|
36375
36379
|
] })
|
|
@@ -36542,7 +36546,7 @@ const bEA = ({
|
|
|
36542
36546
|
e && l(g.target.value), i && i(g);
|
|
36543
36547
|
};
|
|
36544
36548
|
return /* @__PURE__ */ I.jsxs(Pt, { align: "start", children: [
|
|
36545
|
-
/* @__PURE__ */ I.jsx(
|
|
36549
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "1.875rem", fontWeight: "bold", color: "black.300", children: A }),
|
|
36546
36550
|
/* @__PURE__ */ I.jsx(
|
|
36547
36551
|
Ol,
|
|
36548
36552
|
{
|
|
@@ -36598,7 +36602,7 @@ const kEA = ({ type: A = "progress" }) => {
|
|
|
36598
36602
|
}
|
|
36599
36603
|
return /* @__PURE__ */ I.jsx(Pt, { children: /* @__PURE__ */ I.jsxs(LA, { children: [
|
|
36600
36604
|
e,
|
|
36601
|
-
/* @__PURE__ */ I.jsx(
|
|
36605
|
+
/* @__PURE__ */ I.jsx(yA, { color: n, fontWeight: "900", fontSize: "1rem", lineHeight: "1.375rem", children: t })
|
|
36602
36606
|
] }) });
|
|
36603
36607
|
}, vEA = ({ value: A = 50, size: e = "sm", backgroundColor: t = "black.40" }) => {
|
|
36604
36608
|
const n = `${A}%`, i = A < 50 ? "danger.400" : A < 100 ? "info.400" : A === 100 ? "success.400" : "info.500";
|
|
@@ -36609,7 +36613,7 @@ const kEA = ({ type: A = "progress" }) => {
|
|
|
36609
36613
|
// Change the progress bar color
|
|
36610
36614
|
}
|
|
36611
36615
|
} }) }),
|
|
36612
|
-
/* @__PURE__ */ I.jsx(
|
|
36616
|
+
/* @__PURE__ */ I.jsx(yA, { fontWeight: "bold", fontSize: "1rem", marginLeft: "1.75rem", children: n })
|
|
36613
36617
|
] });
|
|
36614
36618
|
}, NEA = ({ items: A, colorBackground: e, colorTitle: t, colorOption: n }) => /* @__PURE__ */ I.jsx(
|
|
36615
36619
|
LA,
|
|
@@ -36620,13 +36624,13 @@ const kEA = ({ type: A = "progress" }) => {
|
|
|
36620
36624
|
borderTopRightRadius: ".75rem",
|
|
36621
36625
|
justifyContent: "space-around",
|
|
36622
36626
|
children: A.map((i, r) => /* @__PURE__ */ I.jsxs(pA, { maxWidth: "max-content", textAlign: "center", padding: "1rem", children: [
|
|
36623
|
-
/* @__PURE__ */ I.jsx(
|
|
36624
|
-
/* @__PURE__ */ I.jsx(
|
|
36627
|
+
/* @__PURE__ */ I.jsx(yA, { color: t, fontSize: "1rem", fontWeight: "bold", children: i.title }),
|
|
36628
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "0.875rem", color: n, paddingTop: ".25rem", children: i.option })
|
|
36625
36629
|
] }, r))
|
|
36626
36630
|
}
|
|
36627
36631
|
), WEA = ({ text: A = "Positive Ranking", value: e = "1,302" }) => /* @__PURE__ */ I.jsxs(pA, { color: "black.600", maxWidth: "max-content", width: "100%", children: [
|
|
36628
|
-
/* @__PURE__ */ I.jsx(
|
|
36629
|
-
/* @__PURE__ */ I.jsx(
|
|
36632
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "1rem", children: A }),
|
|
36633
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "1.75rem", fontWeight: "bold", textAlign: "left", marginTop: "0.25rem", children: e })
|
|
36630
36634
|
] }), HEA = ({
|
|
36631
36635
|
backgroundColor: A = "#fff",
|
|
36632
36636
|
boxShadow: e = "1px 1px 4px #d7d7d7",
|
|
@@ -36810,7 +36814,7 @@ const JEA = ({
|
|
|
36810
36814
|
fontSize: "20px"
|
|
36811
36815
|
}
|
|
36812
36816
|
),
|
|
36813
|
-
/* @__PURE__ */ I.jsx(pA, { display: "flex", justifyContent: "center", flex: "1", mx: "16px", alignItems: "center", children: A === "idle" ? /* @__PURE__ */ I.jsx(
|
|
36817
|
+
/* @__PURE__ */ I.jsx(pA, { display: "flex", justifyContent: "center", flex: "1", mx: "16px", alignItems: "center", children: A === "idle" ? /* @__PURE__ */ I.jsx(yA, { fontSize: "sm", fontWeight: "bold", color: "white", children: "Record your voice" }) : A === "recording" ? /* @__PURE__ */ I.jsx(pA, { display: "flex", gap: "2px", alignItems: "center", children: s.map((g, B) => /* @__PURE__ */ I.jsx(
|
|
36814
36818
|
pA,
|
|
36815
36819
|
{
|
|
36816
36820
|
width: "2px",
|
|
@@ -36831,7 +36835,7 @@ const JEA = ({
|
|
|
36831
36835
|
},
|
|
36832
36836
|
B
|
|
36833
36837
|
)) }) }),
|
|
36834
|
-
/* @__PURE__ */ I.jsx(
|
|
36838
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "sm", fontWeight: "bold", marginLeft: "8px", children: e })
|
|
36835
36839
|
]
|
|
36836
36840
|
}
|
|
36837
36841
|
);
|
|
@@ -37009,8 +37013,8 @@ const JEA = ({
|
|
|
37009
37013
|
}, k = E.trim().split(" ");
|
|
37010
37014
|
let W = "0", O = "0", v = "0", iA = "0";
|
|
37011
37015
|
return k.length === 4 ? (W = k[0], O = k[1], v = k[2], iA = k[3]) : k.length === 3 ? (W = k[0], O = iA = k[1], v = k[2]) : k.length === 2 ? (W = v = k[0], iA = O = k[1]) : k.length === 1 ? W = O = v = iA = k[0] : W = O = v = iA = "0", /* @__PURE__ */ I.jsxs(LA, { flexDirection: "column", alignItems: "flex-start", children: [
|
|
37012
|
-
/* @__PURE__ */ I.jsx(
|
|
37013
|
-
/* @__PURE__ */ I.jsx(
|
|
37016
|
+
/* @__PURE__ */ I.jsx(yA, { color: d, fontFamily: Q, fontSize: h, textAlign: C, margin: U, children: f }),
|
|
37017
|
+
/* @__PURE__ */ I.jsx(yA, { color: F, fontFamily: w, fontSize: m, textAlign: T, children: R }),
|
|
37014
37018
|
/* @__PURE__ */ I.jsx(LA, { flexDirection: B, margin: u, children: A == null ? void 0 : A.map((oA, M) => /* @__PURE__ */ I.jsx("div", { children: /* @__PURE__ */ I.jsx(
|
|
37015
37019
|
m2,
|
|
37016
37020
|
{
|
|
@@ -37146,7 +37150,7 @@ const JEA = ({
|
|
|
37146
37150
|
}
|
|
37147
37151
|
),
|
|
37148
37152
|
/* @__PURE__ */ I.jsx(ur, { fontSize: "18px", fontFamily: "Body", children: n }),
|
|
37149
|
-
/* @__PURE__ */ I.jsx(Br, { children: /* @__PURE__ */ I.jsx(
|
|
37153
|
+
/* @__PURE__ */ I.jsx(Br, { children: /* @__PURE__ */ I.jsx(yA, { fontFamily: "Lato", children: i }) }),
|
|
37150
37154
|
/* @__PURE__ */ I.jsxs(Sc, { display: "flex", justifyContent: "center", mt: "10px", children: [
|
|
37151
37155
|
/* @__PURE__ */ I.jsx(
|
|
37152
37156
|
$e,
|
|
@@ -37253,7 +37257,7 @@ const JEA = ({
|
|
|
37253
37257
|
/* @__PURE__ */ I.jsxs(Br, { children: [
|
|
37254
37258
|
/* @__PURE__ */ I.jsxs(sn, { spacing: 3, justifyContent: "center", children: [
|
|
37255
37259
|
/* @__PURE__ */ I.jsx(stA, { color: E[i] || E.primary }),
|
|
37256
|
-
/* @__PURE__ */ I.jsx(
|
|
37260
|
+
/* @__PURE__ */ I.jsx(yA, { children: t })
|
|
37257
37261
|
] }),
|
|
37258
37262
|
/* @__PURE__ */ I.jsx(sn, { spacing: 3, justifyContent: "center", children: o })
|
|
37259
37263
|
] }),
|
|
@@ -37343,7 +37347,7 @@ const JEA = ({
|
|
|
37343
37347
|
}
|
|
37344
37348
|
),
|
|
37345
37349
|
/* @__PURE__ */ I.jsxs(Br, { p: 1, mb: 3, children: [
|
|
37346
|
-
/* @__PURE__ */ I.jsx(sn, { spacing: 3, justifyContent: "center", children: /* @__PURE__ */ I.jsx(
|
|
37350
|
+
/* @__PURE__ */ I.jsx(sn, { spacing: 3, justifyContent: "center", children: /* @__PURE__ */ I.jsx(yA, { fontFamily: "Lato-Regular", color: "danger.400", children: t }) }),
|
|
37347
37351
|
/* @__PURE__ */ I.jsx(sn, { spacing: 3, justifyContent: "center", children: o })
|
|
37348
37352
|
] }),
|
|
37349
37353
|
/* @__PURE__ */ I.jsx(Sc, { p: 1, children: /* @__PURE__ */ I.jsx(
|
|
@@ -37413,7 +37417,7 @@ const JEA = ({
|
|
|
37413
37417
|
borderColor: o,
|
|
37414
37418
|
borderRadius: "50px",
|
|
37415
37419
|
children: /* @__PURE__ */ I.jsx(LA, { justify: "space-between", align: "center", w: "100%", children: /* @__PURE__ */ I.jsx(
|
|
37416
|
-
|
|
37420
|
+
yA,
|
|
37417
37421
|
{
|
|
37418
37422
|
fontSize: "md",
|
|
37419
37423
|
whiteSpace: "pre-wrap",
|
|
@@ -37421,7 +37425,7 @@ const JEA = ({
|
|
|
37421
37425
|
w: "85%",
|
|
37422
37426
|
textAlign: "left",
|
|
37423
37427
|
color: e || "#333333",
|
|
37424
|
-
children: i ? /* @__PURE__ */ I.jsxs(
|
|
37428
|
+
children: i ? /* @__PURE__ */ I.jsxs(yA, { fontStyle: "italic", color: "gray.500", children: [
|
|
37425
37429
|
/* @__PURE__ */ I.jsx("span", { children: "." }),
|
|
37426
37430
|
/* @__PURE__ */ I.jsx("span", { children: "." }),
|
|
37427
37431
|
/* @__PURE__ */ I.jsx("span", { children: "." })
|
|
@@ -37478,14 +37482,14 @@ const qEA = ({
|
|
|
37478
37482
|
boxShadow: "0 0 0 rgba(0, 0, 0, 0.06)",
|
|
37479
37483
|
children: /* @__PURE__ */ I.jsxs(pA, { children: [
|
|
37480
37484
|
/* @__PURE__ */ I.jsxs(ur, { fontFamily: "Sansation-Bold", children: [
|
|
37481
|
-
/* @__PURE__ */ I.jsx(
|
|
37482
|
-
/* @__PURE__ */ I.jsx(
|
|
37485
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "20px", children: A }),
|
|
37486
|
+
/* @__PURE__ */ I.jsx(yA, { fontSize: "28px", children: e })
|
|
37483
37487
|
] }),
|
|
37484
37488
|
/* @__PURE__ */ I.jsx(mc, { _hover: { backgroundColor: "white.100" }, hidden: s }),
|
|
37485
37489
|
/* @__PURE__ */ I.jsxs(Br, { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", children: [
|
|
37486
37490
|
/* @__PURE__ */ I.jsx(LA, { direction: "column", align: "center", gap: 1, children: t == null ? void 0 : t.map((u, E) => /* @__PURE__ */ I.jsxs(LA, { align: "center", justify: "flex-start", w: "100%", gap: 2, children: [
|
|
37487
37491
|
/* @__PURE__ */ I.jsx(pA, { mt: "2px", children: o || /* @__PURE__ */ I.jsx(ltA, { size: "20", color: "#2f93df" }) }),
|
|
37488
|
-
/* @__PURE__ */ I.jsx(
|
|
37492
|
+
/* @__PURE__ */ I.jsx(yA, { fontFamily: "Lato", color: "black.400", fontSize: "16px", children: u.name })
|
|
37489
37493
|
] }, E)) }),
|
|
37490
37494
|
/* @__PURE__ */ I.jsx(
|
|
37491
37495
|
$e,
|
|
@@ -37500,7 +37504,7 @@ const qEA = ({
|
|
|
37500
37504
|
_hover: {
|
|
37501
37505
|
backgroundColor: "assist.500"
|
|
37502
37506
|
},
|
|
37503
|
-
children: /* @__PURE__ */ I.jsx(
|
|
37507
|
+
children: /* @__PURE__ */ I.jsx(yA, { children: n })
|
|
37504
37508
|
}
|
|
37505
37509
|
)
|
|
37506
37510
|
] })
|
|
@@ -37513,7 +37517,7 @@ function ctA(A) {
|
|
|
37513
37517
|
}
|
|
37514
37518
|
const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirection: "row", onClick: e, color: "info.500", alignItems: "center", fontFamily: "Lato", fontSize: "1rem", maxWidth: "max-content", width: "100%", cursor: "pointer", children: [
|
|
37515
37519
|
/* @__PURE__ */ I.jsx(ctA, {}),
|
|
37516
|
-
/* @__PURE__ */ I.jsx(
|
|
37520
|
+
/* @__PURE__ */ I.jsx(yA, { marginLeft: ".5rem", children: A })
|
|
37517
37521
|
] }), gtA = ({
|
|
37518
37522
|
width: A = 200,
|
|
37519
37523
|
height: e = 195,
|
|
@@ -37642,7 +37646,7 @@ const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37642
37646
|
children: [
|
|
37643
37647
|
r && /* @__PURE__ */ I.jsx(r, { width: "100%", height: "100%" }),
|
|
37644
37648
|
n || /* @__PURE__ */ I.jsx(
|
|
37645
|
-
|
|
37649
|
+
yA,
|
|
37646
37650
|
{
|
|
37647
37651
|
position: "absolute",
|
|
37648
37652
|
color: "white",
|
|
@@ -37719,7 +37723,7 @@ const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37719
37723
|
children: [
|
|
37720
37724
|
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", children: [
|
|
37721
37725
|
/* @__PURE__ */ I.jsx(pA, { mr: 3, children: r.icon }),
|
|
37722
|
-
/* @__PURE__ */ I.jsx(
|
|
37726
|
+
/* @__PURE__ */ I.jsx(yA, { fontWeight: "bold", fontSize: "19px", fontFamily: "Heading", children: r.name })
|
|
37723
37727
|
] }),
|
|
37724
37728
|
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-start", width: "45%", minW: "45%", children: [
|
|
37725
37729
|
/* @__PURE__ */ I.jsx(
|
|
@@ -37730,7 +37734,7 @@ const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37730
37734
|
}
|
|
37731
37735
|
),
|
|
37732
37736
|
/* @__PURE__ */ I.jsx(
|
|
37733
|
-
|
|
37737
|
+
yA,
|
|
37734
37738
|
{
|
|
37735
37739
|
ml: 2,
|
|
37736
37740
|
mr: 2,
|
|
@@ -37745,7 +37749,7 @@ const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37745
37749
|
}
|
|
37746
37750
|
),
|
|
37747
37751
|
r.numericPhone && /* @__PURE__ */ I.jsx(
|
|
37748
|
-
|
|
37752
|
+
yA,
|
|
37749
37753
|
{
|
|
37750
37754
|
color: "#21B06E",
|
|
37751
37755
|
fontSize: "16px",
|
|
@@ -37758,7 +37762,7 @@ const $EA = ({ text: A, onClick: e }) => /* @__PURE__ */ I.jsxs(LA, { flexDirect
|
|
|
37758
37762
|
] }),
|
|
37759
37763
|
/* @__PURE__ */ I.jsxs(LA, { align: "center", flex: "1", justify: "flex-end", children: [
|
|
37760
37764
|
/* @__PURE__ */ I.jsx(
|
|
37761
|
-
|
|
37765
|
+
yA,
|
|
37762
37766
|
{
|
|
37763
37767
|
ml: 2,
|
|
37764
37768
|
mr: 4,
|
|
@@ -37830,46 +37834,47 @@ function GF({
|
|
|
37830
37834
|
);
|
|
37831
37835
|
}
|
|
37832
37836
|
const nIA = ({
|
|
37833
|
-
|
|
37834
|
-
|
|
37835
|
-
|
|
37836
|
-
|
|
37837
|
-
|
|
37838
|
-
|
|
37839
|
-
|
|
37837
|
+
color: A,
|
|
37838
|
+
icon: e,
|
|
37839
|
+
title: t,
|
|
37840
|
+
status: n,
|
|
37841
|
+
menuOptions: i,
|
|
37842
|
+
textBottomOption: r,
|
|
37843
|
+
currentUrl: o,
|
|
37844
|
+
...a
|
|
37840
37845
|
}) => {
|
|
37841
|
-
const
|
|
37842
|
-
const m = localStorage.getItem(
|
|
37843
|
-
return m === null ? (localStorage.setItem(
|
|
37844
|
-
}),
|
|
37845
|
-
|
|
37846
|
-
};
|
|
37847
|
-
let
|
|
37848
|
-
switch (
|
|
37846
|
+
const s = ["hub", "play", "elevate", "assist", "talent", "ad", "collect", "localhost"], l = () => window.location.hostname.split(".").find((y) => s.includes(y)) || "default", c = `sidebarOpen_${l()}`, g = `sidebarOpenMap_${l()}`, [B, u] = SA(() => {
|
|
37847
|
+
const m = localStorage.getItem(c);
|
|
37848
|
+
return m === null ? (localStorage.setItem(c, "true"), !0) : m === "true";
|
|
37849
|
+
}), E = A || tt.primary[400], f = zf(tt, `${E.split(".")[0]}.300`), d = () => {
|
|
37850
|
+
u((m) => (localStorage.setItem(c, String(!m)), !m));
|
|
37851
|
+
};
|
|
37852
|
+
let Q, h;
|
|
37853
|
+
switch (n.toLowerCase()) {
|
|
37849
37854
|
case "progress":
|
|
37850
37855
|
case "processing":
|
|
37851
|
-
|
|
37856
|
+
Q = /* @__PURE__ */ I.jsx(qeA, { size: 20, style: { color: "#FFCF70", marginRight: ".5rem" } }), h = "En curso", A = "#FFCF70";
|
|
37852
37857
|
break;
|
|
37853
37858
|
case "active":
|
|
37854
37859
|
case "ready":
|
|
37855
|
-
|
|
37860
|
+
Q = /* @__PURE__ */ I.jsx(lS, { size: 20, style: { color: "#21B06e", marginRight: ".5rem" } }), h = "Disponible", A = "#21B06e";
|
|
37856
37861
|
break;
|
|
37857
37862
|
case "failed":
|
|
37858
37863
|
case "error":
|
|
37859
|
-
|
|
37864
|
+
Q = /* @__PURE__ */ I.jsx(etA, { size: 20, style: { color: "#ce0015", marginRight: ".5rem" } }), h = "Incidencia", A = "#ce0015";
|
|
37860
37865
|
break;
|
|
37861
37866
|
case "inactive":
|
|
37862
|
-
|
|
37867
|
+
Q = /* @__PURE__ */ I.jsx(Sx, { size: 20, style: { color: "#666", marginRight: ".5rem", transform: "rotate(90deg)" } }), h = "Inactivo", A = "#666";
|
|
37863
37868
|
break;
|
|
37864
37869
|
case "warning":
|
|
37865
|
-
|
|
37870
|
+
Q = /* @__PURE__ */ I.jsx(otA, { size: 20, style: { color: "#D68F00", marginRight: ".5rem" } }), h = "Atención", A = "#D68F00";
|
|
37866
37871
|
break;
|
|
37867
37872
|
default:
|
|
37868
|
-
|
|
37873
|
+
Q = null;
|
|
37869
37874
|
}
|
|
37870
37875
|
const [C, U] = SA(() => {
|
|
37871
37876
|
try {
|
|
37872
|
-
const m = localStorage.getItem(
|
|
37877
|
+
const m = localStorage.getItem(g);
|
|
37873
37878
|
return m ? JSON.parse(m) : {};
|
|
37874
37879
|
} catch {
|
|
37875
37880
|
return {};
|
|
@@ -37878,13 +37883,13 @@ const nIA = ({
|
|
|
37878
37883
|
U((D) => {
|
|
37879
37884
|
const y = { ...D, [m]: !D[m] };
|
|
37880
37885
|
try {
|
|
37881
|
-
localStorage.setItem(
|
|
37886
|
+
localStorage.setItem(g, JSON.stringify(y));
|
|
37882
37887
|
} catch {
|
|
37883
37888
|
}
|
|
37884
37889
|
return y;
|
|
37885
37890
|
});
|
|
37886
37891
|
}, F = (m, T, D, y) => {
|
|
37887
|
-
const J = Array.isArray(m.children) && m.children.length > 0, _ = !!(
|
|
37892
|
+
const J = Array.isArray(m.children) && m.children.length > 0, _ = !!(o && m.url && (o === m.url || o.startsWith(m.url + "/"))), k = `opt-${D}-${y}`, W = C[k] ?? !1, O = () => {
|
|
37888
37893
|
J && R(k), m.onClick && !J && m.onClick();
|
|
37889
37894
|
};
|
|
37890
37895
|
return /* @__PURE__ */ I.jsxs(pA, { width: "100%", children: [
|
|
@@ -37892,13 +37897,13 @@ const nIA = ({
|
|
|
37892
37897
|
$e,
|
|
37893
37898
|
{
|
|
37894
37899
|
onClick: O,
|
|
37895
|
-
justifyContent:
|
|
37900
|
+
justifyContent: B ? "flex-start" : "center",
|
|
37896
37901
|
width: "100%",
|
|
37897
37902
|
variant: "ghost",
|
|
37898
37903
|
color: _ ? "#5AA9E6" : tt.black[400],
|
|
37899
|
-
px:
|
|
37904
|
+
px: B ? 4 : 2,
|
|
37900
37905
|
transition: "all 0.6s ease-in-out",
|
|
37901
|
-
iconSpacing:
|
|
37906
|
+
iconSpacing: B ? 2 : 0,
|
|
37902
37907
|
display: "flex",
|
|
37903
37908
|
alignItems: "center",
|
|
37904
37909
|
h: "36px",
|
|
@@ -37911,11 +37916,11 @@ const nIA = ({
|
|
|
37911
37916
|
color: "#5AA9E6",
|
|
37912
37917
|
"> div > p": { fontWeight: "bold" }
|
|
37913
37918
|
},
|
|
37914
|
-
children: /* @__PURE__ */ I.jsxs(LA, { align: "center", width: "100%", justifyContent:
|
|
37915
|
-
|
|
37919
|
+
children: /* @__PURE__ */ I.jsxs(LA, { align: "center", width: "100%", justifyContent: B ? "flex-start" : "center", children: [
|
|
37920
|
+
B && /* @__PURE__ */ I.jsx(pA, { width: `${T * 12}px`, flexShrink: 0 }),
|
|
37916
37921
|
m.icon,
|
|
37917
|
-
|
|
37918
|
-
J &&
|
|
37922
|
+
B && /* @__PURE__ */ I.jsx(yA, { ml: 2, transition: "font-weight 0.3s ease", color: "black.500", noOfLines: 1, children: m.title }),
|
|
37923
|
+
J && B && /* @__PURE__ */ I.jsx(pA, { ml: 2, children: /* @__PURE__ */ I.jsx(utA, {}) })
|
|
37919
37924
|
] })
|
|
37920
37925
|
}
|
|
37921
37926
|
),
|
|
@@ -37938,9 +37943,9 @@ const nIA = ({
|
|
|
37938
37943
|
bg: tt.white[100],
|
|
37939
37944
|
color: tt.black[400],
|
|
37940
37945
|
borderRight: `1px solid ${tt.black[50]}`,
|
|
37941
|
-
minWidth:
|
|
37942
|
-
width:
|
|
37943
|
-
padding:
|
|
37946
|
+
minWidth: B ? "210px" : "80px",
|
|
37947
|
+
width: B ? "210px" : "80px",
|
|
37948
|
+
padding: B ? "0 10px 0 0" : "0",
|
|
37944
37949
|
transition: "min-width 0.3s ease, background-color 0.3s ease",
|
|
37945
37950
|
minHeight: "100vh",
|
|
37946
37951
|
boxShadow: "xl",
|
|
@@ -37949,22 +37954,22 @@ const nIA = ({
|
|
|
37949
37954
|
h: "100vh",
|
|
37950
37955
|
zIndex: 9,
|
|
37951
37956
|
paddingTop: "83px",
|
|
37952
|
-
...
|
|
37957
|
+
...a,
|
|
37953
37958
|
children: [
|
|
37954
37959
|
/* @__PURE__ */ I.jsxs(Pt, { align: "start", pt: "20px", position: "relative", width: "100%", spacing: 0, children: [
|
|
37955
|
-
/* @__PURE__ */ I.jsx(LA, { width: "100%", display:
|
|
37956
|
-
/* @__PURE__ */ I.jsxs(pA, { width: "100%", display:
|
|
37957
|
-
/* @__PURE__ */ I.jsx(
|
|
37960
|
+
/* @__PURE__ */ I.jsx(LA, { width: "100%", display: B ? "none" : "flex", justifyContent: "center", children: e }),
|
|
37961
|
+
/* @__PURE__ */ I.jsxs(pA, { width: "100%", display: B ? "block" : "none", mb: 4, children: [
|
|
37962
|
+
/* @__PURE__ */ I.jsx(yA, { color: "#5AA9E6", fontFamily: "Sansation-Bold", fontSize: "24px", width: "100%", children: t }),
|
|
37958
37963
|
/* @__PURE__ */ I.jsxs(LA, { width: "100%", justifyContent: "center", alignItems: "center", cursor: "pointer", children: [
|
|
37959
|
-
|
|
37960
|
-
/* @__PURE__ */ I.jsx(
|
|
37964
|
+
Q,
|
|
37965
|
+
/* @__PURE__ */ I.jsx(yA, { color: A, fontSize: "16px", children: h })
|
|
37961
37966
|
] })
|
|
37962
37967
|
] }),
|
|
37963
37968
|
/* @__PURE__ */ I.jsx(
|
|
37964
37969
|
Et,
|
|
37965
37970
|
{
|
|
37966
|
-
icon:
|
|
37967
|
-
onClick:
|
|
37971
|
+
icon: B ? /* @__PURE__ */ I.jsx(oS, { boxSize: "24px" }) : /* @__PURE__ */ I.jsx(mQ, { boxSize: "24px" }),
|
|
37972
|
+
onClick: d,
|
|
37968
37973
|
position: "absolute",
|
|
37969
37974
|
top: "125px",
|
|
37970
37975
|
right: "-20px",
|
|
@@ -37975,20 +37980,20 @@ const nIA = ({
|
|
|
37975
37980
|
boxShadow: "md",
|
|
37976
37981
|
zIndex: 2,
|
|
37977
37982
|
transition: "all 0.6s ease-in-out",
|
|
37978
|
-
_hover: { bg:
|
|
37983
|
+
_hover: { bg: f }
|
|
37979
37984
|
}
|
|
37980
37985
|
),
|
|
37981
|
-
|
|
37986
|
+
i.length > 0 && i[0].options.length > 0 && /* @__PURE__ */ I.jsx(
|
|
37982
37987
|
pA,
|
|
37983
37988
|
{
|
|
37984
37989
|
width: "100%",
|
|
37985
37990
|
mb: 4,
|
|
37986
37991
|
alignItems: "center",
|
|
37987
|
-
ml:
|
|
37988
|
-
children: F(
|
|
37992
|
+
ml: B ? 4 : 0,
|
|
37993
|
+
children: F(i[0].options[0], 0, 0, "chat")
|
|
37989
37994
|
}
|
|
37990
37995
|
),
|
|
37991
|
-
|
|
37996
|
+
i.slice(1).map((m, T) => {
|
|
37992
37997
|
var W;
|
|
37993
37998
|
const D = T + 1, y = `section-${D}`, J = (((W = m.options) == null ? void 0 : W.length) ?? 0) > 0, _ = C[y] ?? !1, k = () => R(y);
|
|
37994
37999
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -37996,10 +38001,10 @@ const nIA = ({
|
|
|
37996
38001
|
{
|
|
37997
38002
|
flexDirection: "column",
|
|
37998
38003
|
width: "100%",
|
|
37999
|
-
pl:
|
|
38004
|
+
pl: B ? "10px" : "0px",
|
|
38000
38005
|
mt: w,
|
|
38001
38006
|
children: [
|
|
38002
|
-
m.title &&
|
|
38007
|
+
m.title && B && /* @__PURE__ */ I.jsxs(
|
|
38003
38008
|
LA,
|
|
38004
38009
|
{
|
|
38005
38010
|
ml: 2,
|
|
@@ -38011,7 +38016,7 @@ const nIA = ({
|
|
|
38011
38016
|
userSelect: "none",
|
|
38012
38017
|
children: [
|
|
38013
38018
|
/* @__PURE__ */ I.jsx(
|
|
38014
|
-
|
|
38019
|
+
yA,
|
|
38015
38020
|
{
|
|
38016
38021
|
transition: "font-weight 0.3s ease",
|
|
38017
38022
|
fontFamily: "Sansation-Bold",
|
|
@@ -38029,7 +38034,7 @@ const nIA = ({
|
|
|
38029
38034
|
/* @__PURE__ */ I.jsx(
|
|
38030
38035
|
GF,
|
|
38031
38036
|
{
|
|
38032
|
-
open:
|
|
38037
|
+
open: B ? _ : !0,
|
|
38033
38038
|
items: m.options || [],
|
|
38034
38039
|
stepDelayMs: 70,
|
|
38035
38040
|
enterMs: 600,
|
|
@@ -38043,7 +38048,7 @@ const nIA = ({
|
|
|
38043
38048
|
);
|
|
38044
38049
|
})
|
|
38045
38050
|
] }),
|
|
38046
|
-
|
|
38051
|
+
r == null ? void 0 : r.map((m, T) => /* @__PURE__ */ I.jsx(
|
|
38047
38052
|
$e,
|
|
38048
38053
|
{
|
|
38049
38054
|
display: "flex",
|
|
@@ -38061,10 +38066,10 @@ const nIA = ({
|
|
|
38061
38066
|
"& p": { fontWeight: "bold" }
|
|
38062
38067
|
},
|
|
38063
38068
|
onClick: m.onClick,
|
|
38064
|
-
isActive:
|
|
38069
|
+
isActive: o === m.url,
|
|
38065
38070
|
children: /* @__PURE__ */ I.jsxs(LA, { children: [
|
|
38066
38071
|
m.icon,
|
|
38067
|
-
|
|
38072
|
+
B && /* @__PURE__ */ I.jsx(yA, { ml: 2, transition: "font-weight 0.3s ease", color: "black.500", children: m.title })
|
|
38068
38073
|
] })
|
|
38069
38074
|
},
|
|
38070
38075
|
T
|
|
@@ -38102,13 +38107,13 @@ const nIA = ({
|
|
|
38102
38107
|
mt: "4px",
|
|
38103
38108
|
children: [
|
|
38104
38109
|
/* @__PURE__ */ I.jsx(pA, { as: "span", textAlign: "center", children: /* @__PURE__ */ I.jsx(QtA, { width: 40, height: 40 }) }),
|
|
38105
|
-
/* @__PURE__ */ I.jsx(
|
|
38110
|
+
/* @__PURE__ */ I.jsx(yA, { fontFamily: "Heading", fontSize: "22px", children: "¡Atención!" })
|
|
38106
38111
|
]
|
|
38107
38112
|
}
|
|
38108
38113
|
),
|
|
38109
38114
|
/* @__PURE__ */ I.jsx(mc, { hidden: r }),
|
|
38110
38115
|
/* @__PURE__ */ I.jsx(Br, { margin: "0 auto", maxWidth: "320px", width: "100%", padding: "0", mb: "15px", children: /* @__PURE__ */ I.jsx(
|
|
38111
|
-
|
|
38116
|
+
yA,
|
|
38112
38117
|
{
|
|
38113
38118
|
fontFamily: "Lato",
|
|
38114
38119
|
fontSize: "16px",
|
|
@@ -38167,13 +38172,13 @@ const nIA = ({
|
|
|
38167
38172
|
mt: "4px",
|
|
38168
38173
|
children: [
|
|
38169
38174
|
/* @__PURE__ */ I.jsx(pA, { as: "span", textAlign: "center", children: /* @__PURE__ */ I.jsx(htA, { width: 40, height: 40 }) }),
|
|
38170
|
-
/* @__PURE__ */ I.jsx(
|
|
38175
|
+
/* @__PURE__ */ I.jsx(yA, { fontFamily: "Sansation-Bold", fontSize: "20px", children: "¡Atención!" })
|
|
38171
38176
|
]
|
|
38172
38177
|
}
|
|
38173
38178
|
),
|
|
38174
38179
|
/* @__PURE__ */ I.jsx(mc, { hidden: r }),
|
|
38175
38180
|
/* @__PURE__ */ I.jsx(Br, { margin: "0 auto", maxWidth: "310px", width: "100%", padding: "0", children: /* @__PURE__ */ I.jsx(
|
|
38176
|
-
|
|
38181
|
+
yA,
|
|
38177
38182
|
{
|
|
38178
38183
|
fontFamily: "Lato-Regular",
|
|
38179
38184
|
fontSize: "16px",
|
|
@@ -38345,7 +38350,7 @@ const mtA = ({ content: A }) => /* @__PURE__ */ I.jsx(
|
|
|
38345
38350
|
textAlign: "right",
|
|
38346
38351
|
justifyContent: "flex-end",
|
|
38347
38352
|
width: "fit-content",
|
|
38348
|
-
children: /* @__PURE__ */ I.jsx(
|
|
38353
|
+
children: /* @__PURE__ */ I.jsx(yA, { children: A })
|
|
38349
38354
|
}
|
|
38350
38355
|
), PF = {};
|
|
38351
38356
|
function StA(A) {
|
|
@@ -54231,7 +54236,7 @@ const aEA = {
|
|
|
54231
54236
|
},
|
|
54232
54237
|
children: [
|
|
54233
54238
|
/* @__PURE__ */ I.jsx(pA, { children: /* @__PURE__ */ I.jsx(
|
|
54234
|
-
|
|
54239
|
+
yA,
|
|
54235
54240
|
{
|
|
54236
54241
|
fontFamily: "Sansation-Regular, sans-serif",
|
|
54237
54242
|
fontSize: "17px",
|