@canaia/ui-kit 0.0.12-alpha.6 → 0.0.12-alpha.8
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
|
@@ -212,8 +212,8 @@ function fy() {
|
|
|
212
212
|
}
|
|
213
213
|
var dA = !1, EA;
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
EA = new
|
|
215
|
+
var mA = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
|
+
EA = new mA();
|
|
217
217
|
}
|
|
218
218
|
function q(V, aA) {
|
|
219
219
|
if (!V || dA)
|
|
@@ -322,13 +322,13 @@ function fy() {
|
|
|
322
322
|
}
|
|
323
323
|
return "";
|
|
324
324
|
}
|
|
325
|
-
var AA = Object.prototype.hasOwnProperty, cA = {},
|
|
325
|
+
var AA = Object.prototype.hasOwnProperty, cA = {}, SA = Q.ReactDebugCurrentFrame;
|
|
326
326
|
function CA(V) {
|
|
327
327
|
if (V) {
|
|
328
328
|
var aA = V._owner, UA = Y(V.type, V._source, aA ? aA.type : null);
|
|
329
|
-
|
|
329
|
+
SA.setExtraStackFrame(UA);
|
|
330
330
|
} else
|
|
331
|
-
|
|
331
|
+
SA.setExtraStackFrame(null);
|
|
332
332
|
}
|
|
333
333
|
function RA(V, aA, UA, HA, qA) {
|
|
334
334
|
{
|
|
@@ -974,13 +974,13 @@ IB.exports;
|
|
|
974
974
|
(function(A, e) {
|
|
975
975
|
var t = 200, n = "__lodash_hash_undefined__", i = 800, r = 16, o = 9007199254740991, a = "[object Arguments]", s = "[object Array]", l = "[object AsyncFunction]", c = "[object Boolean]", g = "[object Date]", B = "[object Error]", u = "[object Function]", I = "[object GeneratorFunction]", f = "[object Map]", d = "[object Number]", Q = "[object Null]", h = "[object Object]", C = "[object Proxy]", U = "[object RegExp]", R = "[object Set]", F = "[object String]", w = "[object Undefined]", m = "[object WeakMap]", T = "[object ArrayBuffer]", D = "[object DataView]", y = "[object Float32Array]", J = "[object Float64Array]", _ = "[object Int8Array]", k = "[object Int16Array]", W = "[object Int32Array]", O = "[object Uint8Array]", v = "[object Uint8ClampedArray]", iA = "[object Uint16Array]", oA = "[object Uint32Array]", M = /[\\^$.*+?()[\]{}|]/g, H = /^\[object .+?Constructor\]$/, K = /^(?:0|[1-9]\d*)$/, p = {};
|
|
976
976
|
p[y] = p[J] = p[_] = p[k] = p[W] = p[O] = p[v] = p[iA] = p[oA] = !0, p[a] = p[s] = p[T] = p[c] = p[D] = p[g] = p[B] = p[u] = p[f] = p[d] = p[h] = p[U] = p[R] = p[F] = p[m] = !1;
|
|
977
|
-
var P = typeof Vr == "object" && Vr && Vr.Object === Object && Vr, S = typeof self == "object" && self && self.Object === Object && self, X = P || S || Function("return this")(), nA = e && !e.nodeType && e, tA = nA && !0 && A && !A.nodeType && A, dA = tA && tA.exports === nA, EA = dA && P.process,
|
|
977
|
+
var P = typeof Vr == "object" && Vr && Vr.Object === Object && Vr, S = typeof self == "object" && self && self.Object === Object && self, X = P || S || Function("return this")(), nA = e && !e.nodeType && e, tA = nA && !0 && A && !A.nodeType && A, dA = tA && tA.exports === nA, EA = dA && P.process, mA = function() {
|
|
978
978
|
try {
|
|
979
979
|
var b = tA && tA.require && tA.require("util").types;
|
|
980
980
|
return b || EA && EA.binding && EA.binding("util");
|
|
981
981
|
} catch {
|
|
982
982
|
}
|
|
983
|
-
}(), q =
|
|
983
|
+
}(), q = mA && mA.isTypedArray;
|
|
984
984
|
function NA(b, Z, L) {
|
|
985
985
|
switch (L.length) {
|
|
986
986
|
case 0:
|
|
@@ -1012,14 +1012,14 @@ IB.exports;
|
|
|
1012
1012
|
return b(Z(L));
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
var
|
|
1015
|
+
var SA = Array.prototype, CA = Function.prototype, RA = Object.prototype, kA = X["__core-js_shared__"], LA = CA.toString, QA = RA.hasOwnProperty, $ = function() {
|
|
1016
1016
|
var b = /[^.]+$/.exec(kA && kA.keys && kA.keys.IE_PROTO || "");
|
|
1017
1017
|
return b ? "Symbol(src)_1." + b : "";
|
|
1018
1018
|
}(), lA = RA.toString, N = LA.call(Object), j = RegExp(
|
|
1019
1019
|
"^" + LA.call(QA).replace(M, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1020
1020
|
), gA = dA ? X.Buffer : void 0, yA = X.Symbol, vA = X.Uint8Array;
|
|
1021
1021
|
gA && gA.allocUnsafe;
|
|
1022
|
-
var Ee = cA(Object.getPrototypeOf, Object), Te = Object.create, Ye = RA.propertyIsEnumerable, ae =
|
|
1022
|
+
var Ee = cA(Object.getPrototypeOf, Object), Te = Object.create, Ye = RA.propertyIsEnumerable, ae = SA.splice, ve = yA ? yA.toStringTag : void 0, we = function() {
|
|
1023
1023
|
try {
|
|
1024
1024
|
var b = Ie(Object, "defineProperty");
|
|
1025
1025
|
return b({}, "", {}), b;
|
|
@@ -7326,10 +7326,10 @@ function KN() {
|
|
|
7326
7326
|
function EA(q) {
|
|
7327
7327
|
return U(q) === i;
|
|
7328
7328
|
}
|
|
7329
|
-
function
|
|
7329
|
+
function mA(q) {
|
|
7330
7330
|
return U(q) === g;
|
|
7331
7331
|
}
|
|
7332
|
-
Se.AsyncMode = R, Se.ConcurrentMode = F, Se.ContextConsumer = w, Se.ContextProvider = m, Se.Element = T, Se.ForwardRef = D, Se.Fragment = y, Se.Lazy = J, Se.Memo = _, Se.Portal = k, Se.Profiler = W, Se.StrictMode = O, Se.Suspense = v, Se.isAsyncMode = oA, Se.isConcurrentMode = M, Se.isContextConsumer = H, Se.isContextProvider = K, Se.isElement = p, Se.isForwardRef = P, Se.isFragment = S, Se.isLazy = X, Se.isMemo = nA, Se.isPortal = tA, Se.isProfiler = dA, Se.isStrictMode = EA, Se.isSuspense =
|
|
7332
|
+
Se.AsyncMode = R, Se.ConcurrentMode = F, Se.ContextConsumer = w, Se.ContextProvider = m, Se.Element = T, Se.ForwardRef = D, Se.Fragment = y, Se.Lazy = J, Se.Memo = _, Se.Portal = k, Se.Profiler = W, Se.StrictMode = O, Se.Suspense = v, Se.isAsyncMode = oA, Se.isConcurrentMode = M, Se.isContextConsumer = H, Se.isContextProvider = K, Se.isElement = p, Se.isForwardRef = P, Se.isFragment = S, Se.isLazy = X, Se.isMemo = nA, Se.isPortal = tA, Se.isProfiler = dA, Se.isStrictMode = EA, Se.isSuspense = mA, Se.isValidElementType = C, Se.typeOf = U;
|
|
7333
7333
|
}()), Se;
|
|
7334
7334
|
}
|
|
7335
7335
|
var BC;
|
|
@@ -15481,7 +15481,7 @@ function D2(A = {}) {
|
|
|
15481
15481
|
"data-invalid": te(r)
|
|
15482
15482
|
}),
|
|
15483
15483
|
[F, t, p, r, iA]
|
|
15484
|
-
),
|
|
15484
|
+
), mA = sA(
|
|
15485
15485
|
(fA = {}, Y = null) => ({
|
|
15486
15486
|
...fA,
|
|
15487
15487
|
ref: bt(v, Y),
|
|
@@ -15563,7 +15563,7 @@ function D2(A = {}) {
|
|
|
15563
15563
|
getRootProps: EA,
|
|
15564
15564
|
getCheckboxProps: tA,
|
|
15565
15565
|
getIndicatorProps: dA,
|
|
15566
|
-
getInputProps:
|
|
15566
|
+
getInputProps: mA,
|
|
15567
15567
|
getLabelProps: q,
|
|
15568
15568
|
htmlProps: F
|
|
15569
15569
|
};
|
|
@@ -15963,8 +15963,8 @@ function iJ() {
|
|
|
15963
15963
|
function d(M) {
|
|
15964
15964
|
if (process.env.NODE_ENV !== "production")
|
|
15965
15965
|
var H = {}, K = 0;
|
|
15966
|
-
function p(S, X, nA, tA, dA, EA,
|
|
15967
|
-
if (tA = tA || B, EA = EA || nA,
|
|
15966
|
+
function p(S, X, nA, tA, dA, EA, mA) {
|
|
15967
|
+
if (tA = tA || B, EA = EA || nA, mA !== t) {
|
|
15968
15968
|
if (s) {
|
|
15969
15969
|
var q = new Error(
|
|
15970
15970
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -16059,7 +16059,7 @@ function iJ() {
|
|
|
16059
16059
|
for (var nA = K[p], tA = 0; tA < M.length; tA++)
|
|
16060
16060
|
if (I(nA, M[tA]))
|
|
16061
16061
|
return null;
|
|
16062
|
-
var dA = JSON.stringify(M, function(
|
|
16062
|
+
var dA = JSON.stringify(M, function(mA, q) {
|
|
16063
16063
|
var NA = v(q);
|
|
16064
16064
|
return NA === "symbol" ? String(q) : q;
|
|
16065
16065
|
});
|
|
@@ -16096,7 +16096,7 @@ function iJ() {
|
|
|
16096
16096
|
}
|
|
16097
16097
|
function p(P, S, X, nA, tA) {
|
|
16098
16098
|
for (var dA = [], EA = 0; EA < M.length; EA++) {
|
|
16099
|
-
var
|
|
16099
|
+
var mA = M[EA], q = mA(P, S, X, nA, tA, t);
|
|
16100
16100
|
if (q == null)
|
|
16101
16101
|
return null;
|
|
16102
16102
|
q.data && n(q.data, "expectedType") && dA.push(q.data.expectedType);
|
|
@@ -16126,9 +16126,9 @@ function iJ() {
|
|
|
16126
16126
|
var EA = M[dA];
|
|
16127
16127
|
if (typeof EA != "function")
|
|
16128
16128
|
return y(P, S, X, dA, v(EA));
|
|
16129
|
-
var
|
|
16130
|
-
if (
|
|
16131
|
-
return
|
|
16129
|
+
var mA = EA(nA, dA, P, S, X + "." + dA, t);
|
|
16130
|
+
if (mA)
|
|
16131
|
+
return mA;
|
|
16132
16132
|
}
|
|
16133
16133
|
return null;
|
|
16134
16134
|
}
|
|
@@ -16141,15 +16141,15 @@ function iJ() {
|
|
|
16141
16141
|
return new f("Invalid " + S + " `" + X + "` of type `" + tA + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
16142
16142
|
var dA = e({}, K[p], M);
|
|
16143
16143
|
for (var EA in dA) {
|
|
16144
|
-
var
|
|
16145
|
-
if (n(M, EA) && typeof
|
|
16146
|
-
return y(P, S, X, EA, v(
|
|
16147
|
-
if (!
|
|
16144
|
+
var mA = M[EA];
|
|
16145
|
+
if (n(M, EA) && typeof mA != "function")
|
|
16146
|
+
return y(P, S, X, EA, v(mA));
|
|
16147
|
+
if (!mA)
|
|
16148
16148
|
return new f(
|
|
16149
16149
|
"Invalid " + S + " `" + X + "` key `" + EA + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(K[p], null, " ") + `
|
|
16150
16150
|
Valid keys: ` + JSON.stringify(Object.keys(M), null, " ")
|
|
16151
16151
|
);
|
|
16152
|
-
var q =
|
|
16152
|
+
var q = mA(nA, EA, P, S, X + "." + EA, t);
|
|
16153
16153
|
if (q)
|
|
16154
16154
|
return q;
|
|
16155
16155
|
}
|
|
@@ -16478,18 +16478,18 @@ var H2 = iQ({}, function(A) {
|
|
|
16478
16478
|
ssr: typeof document < "u"
|
|
16479
16479
|
}), dJ = /* @__PURE__ */ Ti(void 0), QJ = [], rQ = /* @__PURE__ */ _t(function(e, t) {
|
|
16480
16480
|
var n, i = bA(), r = i[0], o = i[1], a = zA(), s = zA(!1), l = zA(null), c = bA({}), g = c[1], B = e.children, u = e.disabled, I = u === void 0 ? !1 : u, f = e.noFocusGuards, d = f === void 0 ? !1 : f, Q = e.persistentFocus, h = Q === void 0 ? !1 : Q, C = e.crossFrame, U = C === void 0 ? !0 : C, R = e.autoFocus, F = R === void 0 ? !0 : R, w = e.allowTextSelection, m = e.group, T = e.className, D = e.whiteList, y = e.hasPositiveIndices, J = e.shards, _ = J === void 0 ? QJ : J, k = e.as, W = k === void 0 ? "div" : k, O = e.lockProps, v = O === void 0 ? {} : O, iA = e.sideCar, oA = e.returnFocus, M = oA === void 0 ? !1 : oA, H = e.focusOptions, K = e.onActivation, p = e.onDeactivation, P = bA({}), S = P[0], X = sA(function(cA) {
|
|
16481
|
-
var
|
|
16481
|
+
var SA = cA.captureFocusRestore;
|
|
16482
16482
|
if (!l.current) {
|
|
16483
16483
|
var CA, RA = (CA = document) == null ? void 0 : CA.activeElement;
|
|
16484
|
-
l.current = RA, RA !== document.body && (l.current =
|
|
16484
|
+
l.current = RA, RA !== document.body && (l.current = SA(RA));
|
|
16485
16485
|
}
|
|
16486
16486
|
a.current && K && K(a.current), s.current = !0, g();
|
|
16487
16487
|
}, [K]), nA = sA(function() {
|
|
16488
16488
|
s.current = !1, p && p(a.current), g();
|
|
16489
16489
|
}, [p]), tA = sA(function(cA) {
|
|
16490
|
-
var
|
|
16491
|
-
if (
|
|
16492
|
-
var CA = (typeof
|
|
16490
|
+
var SA = l.current;
|
|
16491
|
+
if (SA) {
|
|
16492
|
+
var CA = (typeof SA == "function" ? SA() : SA) || document.body, RA = typeof M == "function" ? M(CA) : M;
|
|
16493
16493
|
if (RA) {
|
|
16494
16494
|
var kA = typeof RA == "object" ? RA : void 0;
|
|
16495
16495
|
l.current = null, cA ? Promise.resolve().then(function() {
|
|
@@ -16499,13 +16499,13 @@ var H2 = iQ({}, function(A) {
|
|
|
16499
16499
|
}
|
|
16500
16500
|
}, [M]), dA = sA(function(cA) {
|
|
16501
16501
|
s.current && H2.useMedium(cA);
|
|
16502
|
-
}, []), EA = G2.useMedium,
|
|
16502
|
+
}, []), EA = G2.useMedium, mA = sA(function(cA) {
|
|
16503
16503
|
a.current !== cA && (a.current = cA, o(cA));
|
|
16504
16504
|
}, []);
|
|
16505
16505
|
process.env.NODE_ENV !== "production" && (typeof w < "u" && console.warn("React-Focus-Lock: allowTextSelection is deprecated and enabled by default"), OA(function() {
|
|
16506
16506
|
!a.current && typeof W != "string" && console.error("FocusLock: could not obtain ref to internal node");
|
|
16507
16507
|
}, []));
|
|
16508
|
-
var q = ko((n = {}, n[b2] = I && "disabled", n[w0] = m, n), v), NA = d !== !0, fA = NA && d !== "tail", Y = y2([t,
|
|
16508
|
+
var q = ko((n = {}, n[b2] = I && "disabled", n[w0] = m, n), v), NA = d !== !0, fA = NA && d !== "tail", Y = y2([t, mA]), AA = _A(function() {
|
|
16509
16509
|
return {
|
|
16510
16510
|
observed: a,
|
|
16511
16511
|
shards: _,
|
|
@@ -18398,11 +18398,11 @@ function TY(A) {
|
|
|
18398
18398
|
var _, k = U === "y" ? an : sn, W = U === "y" ? vn : Nn, O = U === "y" ? "height" : "width", v = F[U], iA = v + d[k], oA = v - d[W], M = u ? -m[O] / 2 : 0, H = h === Ka ? w[O] : m[O], K = h === Ka ? -m[O] : -w[O], p = e.elements.arrow, P = u && p ? RQ(p) : {
|
|
18399
18399
|
width: 0,
|
|
18400
18400
|
height: 0
|
|
18401
|
-
}, S = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Um(), X = S[k], nA = S[W], tA = Ql(0, w[O], P[O]), dA = C ? w[O] / 2 - M - tA - X - D.mainAxis : H - tA - X - D.mainAxis, EA = C ? -w[O] / 2 + M + tA + nA + D.mainAxis : K + tA + nA + D.mainAxis,
|
|
18401
|
+
}, S = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Um(), X = S[k], nA = S[W], tA = Ql(0, w[O], P[O]), dA = C ? w[O] / 2 - M - tA - X - D.mainAxis : H - tA - X - D.mainAxis, EA = C ? -w[O] / 2 + M + tA + nA + D.mainAxis : K + tA + nA + D.mainAxis, mA = e.elements.arrow && pc(e.elements.arrow), q = mA ? U === "y" ? mA.clientTop || 0 : mA.clientLeft || 0 : 0, NA = (_ = y == null ? void 0 : y[U]) != null ? _ : 0, fA = v + dA - NA - q, Y = v + EA - NA, AA = Ql(u ? mB(iA, fA) : iA, v, u ? To(oA, Y) : oA);
|
|
18402
18402
|
F[U] = AA, J[U] = AA - v;
|
|
18403
18403
|
}
|
|
18404
18404
|
if (a) {
|
|
18405
|
-
var cA,
|
|
18405
|
+
var cA, SA = U === "x" ? an : sn, CA = U === "x" ? vn : Nn, RA = F[R], kA = R === "y" ? "height" : "width", LA = RA + d[SA], QA = RA - d[CA], $ = [an, sn].indexOf(Q) !== -1, lA = (cA = y == null ? void 0 : y[R]) != null ? cA : 0, N = $ ? LA : RA - w[kA] - m[kA] - lA + D.altAxis, j = $ ? RA + w[kA] + m[kA] - lA - D.altAxis : QA, gA = u && $ ? eY(N, RA, j) : Ql(u ? N : LA, RA, u ? j : QA);
|
|
18406
18406
|
F[R] = gA, J[R] = gA - RA;
|
|
18407
18407
|
}
|
|
18408
18408
|
e.modifiersData[n] = J;
|
|
@@ -21379,7 +21379,7 @@ function _j(A = {}) {
|
|
|
21379
21379
|
NA
|
|
21380
21380
|
),
|
|
21381
21381
|
[y, I, f]
|
|
21382
|
-
),
|
|
21382
|
+
), mA = sA(
|
|
21383
21383
|
(q = {}, NA = null) => {
|
|
21384
21384
|
const fA = {
|
|
21385
21385
|
...q.style,
|
|
@@ -21402,7 +21402,7 @@ function _j(A = {}) {
|
|
|
21402
21402
|
show: P,
|
|
21403
21403
|
hide: S,
|
|
21404
21404
|
getTriggerProps: dA,
|
|
21405
|
-
getTooltipProps:
|
|
21405
|
+
getTooltipProps: mA,
|
|
21406
21406
|
getTooltipPositionerProps: EA,
|
|
21407
21407
|
getArrowProps: _,
|
|
21408
21408
|
getArrowInnerProps: J
|
|
@@ -21505,7 +21505,7 @@ const qj = IA(on.div), Mu = MA((A, e) => {
|
|
|
21505
21505
|
] }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: r });
|
|
21506
21506
|
});
|
|
21507
21507
|
Mu.displayName = "Tooltip";
|
|
21508
|
-
const
|
|
21508
|
+
const DA = 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 SA = MA(function(e, t) {
|
|
|
21522
21522
|
}
|
|
21523
21523
|
);
|
|
21524
21524
|
});
|
|
21525
|
-
|
|
21525
|
+
DA.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__ */ E.jsxs(
|
|
21982
|
+
/* @__PURE__ */ E.jsxs(DA, { 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 hEA = ({
|
|
|
22327
22327
|
children: [
|
|
22328
22328
|
s ? /* @__PURE__ */ E.jsx(Bm, { src: s, alt: "Uploaded", boxSize: "100%", rounded: "md" }) : /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
22329
22329
|
/* @__PURE__ */ E.jsx(yt, { as: GO, color: t, boxSize: 8 }),
|
|
22330
|
-
/* @__PURE__ */ E.jsx(
|
|
22331
|
-
/* @__PURE__ */ E.jsx(
|
|
22330
|
+
/* @__PURE__ */ E.jsx(DA, { fontWeight: "bold", children: A }),
|
|
22331
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "sm", color: "gray.500", children: e })
|
|
22332
22332
|
] }),
|
|
22333
22333
|
!a && /* @__PURE__ */ E.jsx(
|
|
22334
22334
|
"input",
|
|
@@ -22385,7 +22385,7 @@ const hEA = ({
|
|
|
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__ */ E.jsx(
|
|
22388
|
-
|
|
22388
|
+
DA,
|
|
22389
22389
|
{
|
|
22390
22390
|
fontSize: "14px",
|
|
22391
22391
|
color: g.isCompleted || g.isActive ? i : r,
|
|
@@ -22396,7 +22396,7 @@ const hEA = ({
|
|
|
22396
22396
|
}
|
|
22397
22397
|
),
|
|
22398
22398
|
/* @__PURE__ */ E.jsx(
|
|
22399
|
-
|
|
22399
|
+
DA,
|
|
22400
22400
|
{
|
|
22401
22401
|
ml: 3,
|
|
22402
22402
|
mr: 2,
|
|
@@ -24397,7 +24397,7 @@ function US() {
|
|
|
24397
24397
|
isDragReject: j.length > 0,
|
|
24398
24398
|
type: "setFiles"
|
|
24399
24399
|
}), B && B(N, j, lA), j.length > 0 && I && I(j, lA), N.length > 0 && u && u(N, lA);
|
|
24400
|
-
}, [oA, a, D, o, r, s, B, u, I, T]),
|
|
24400
|
+
}, [oA, a, D, o, r, s, B, u, I, T]), mA = sA(function($) {
|
|
24401
24401
|
$.preventDefault(), $.persist(), RA($), P.current = [], lg($) && Promise.resolve(i($)).then(function(lA) {
|
|
24402
24402
|
kB($) && !w || EA(lA, $);
|
|
24403
24403
|
}).catch(function(lA) {
|
|
@@ -24444,7 +24444,7 @@ function US() {
|
|
|
24444
24444
|
U || (IX() ? setTimeout(q, 0) : q());
|
|
24445
24445
|
}, [U, q]), cA = function(lA) {
|
|
24446
24446
|
return n ? null : lA;
|
|
24447
|
-
},
|
|
24447
|
+
}, SA = function(lA) {
|
|
24448
24448
|
return R ? null : cA(lA);
|
|
24449
24449
|
}, CA = function(lA) {
|
|
24450
24450
|
return F ? null : cA(lA);
|
|
@@ -24454,20 +24454,20 @@ function US() {
|
|
|
24454
24454
|
return function() {
|
|
24455
24455
|
var $ = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, lA = $.refKey, N = lA === void 0 ? "ref" : lA, j = $.role, gA = $.onKeyDown, yA = $.onFocus, vA = $.onBlur, Ee = $.onClick, Te = $.onDragEnter, Ye = $.onDragOver, ae = $.onDragLeave, ve = $.onDrop, we = vB($, FX);
|
|
24456
24456
|
return At(At(J0({
|
|
24457
|
-
onKeyDown:
|
|
24458
|
-
onFocus:
|
|
24459
|
-
onBlur:
|
|
24457
|
+
onKeyDown: SA(li(gA, NA)),
|
|
24458
|
+
onFocus: SA(li(yA, fA)),
|
|
24459
|
+
onBlur: SA(li(vA, Y)),
|
|
24460
24460
|
onClick: cA(li(Ee, AA)),
|
|
24461
24461
|
onDragEnter: CA(li(Te, nA)),
|
|
24462
24462
|
onDragOver: CA(li(Ye, tA)),
|
|
24463
24463
|
onDragLeave: CA(li(ae, dA)),
|
|
24464
|
-
onDrop: CA(li(ve,
|
|
24464
|
+
onDrop: CA(li(ve, mA)),
|
|
24465
24465
|
role: typeof j == "string" && j !== "" ? j : "presentation"
|
|
24466
24466
|
}, N, k), !n && !R ? {
|
|
24467
24467
|
tabIndex: 0
|
|
24468
24468
|
} : {}), we);
|
|
24469
24469
|
};
|
|
24470
|
-
}, [k, NA, fA, Y, AA, nA, tA, dA,
|
|
24470
|
+
}, [k, NA, fA, Y, AA, nA, tA, dA, mA, R, F, n]), LA = sA(function($) {
|
|
24471
24471
|
$.stopPropagation();
|
|
24472
24472
|
}, []), QA = _A(function() {
|
|
24473
24473
|
return function() {
|
|
@@ -24487,13 +24487,13 @@ function US() {
|
|
|
24487
24487
|
width: "1px",
|
|
24488
24488
|
whiteSpace: "nowrap"
|
|
24489
24489
|
},
|
|
24490
|
-
onChange: cA(li(j,
|
|
24490
|
+
onChange: cA(li(j, mA)),
|
|
24491
24491
|
onClick: cA(li(gA, LA)),
|
|
24492
24492
|
tabIndex: -1
|
|
24493
24493
|
}, N, W);
|
|
24494
24494
|
return At(At({}, vA), yA);
|
|
24495
24495
|
};
|
|
24496
|
-
}, [W, t, a,
|
|
24496
|
+
}, [W, t, a, mA, n]);
|
|
24497
24497
|
return At(At({}, iA), {}, {
|
|
24498
24498
|
isFocused: M && !n,
|
|
24499
24499
|
getRootProps: kA,
|
|
@@ -24624,7 +24624,7 @@ const REA = ({
|
|
|
24624
24624
|
maxSize: d
|
|
24625
24625
|
});
|
|
24626
24626
|
return /* @__PURE__ */ E.jsxs(wA, { children: [
|
|
24627
|
-
/* @__PURE__ */ E.jsx(XA, { mt: 4, alignItems: "flex-start", children: r.trim() && /* @__PURE__ */ E.jsx(
|
|
24627
|
+
/* @__PURE__ */ E.jsx(XA, { mt: 4, alignItems: "flex-start", children: r.trim() && /* @__PURE__ */ E.jsx(DA, { fontSize: "20px", fontWeight: "700", color: s, mb: 2, children: r }) }),
|
|
24628
24628
|
/* @__PURE__ */ E.jsxs(
|
|
24629
24629
|
wA,
|
|
24630
24630
|
{
|
|
@@ -24644,7 +24644,7 @@ const REA = ({
|
|
|
24644
24644
|
children: [
|
|
24645
24645
|
/* @__PURE__ */ E.jsx("input", { ...F() }),
|
|
24646
24646
|
e && e.includes("play") ? /* @__PURE__ */ E.jsx(yt, { as: NO, boxSize: "40px", color: B, mb: "16px" }) : /* @__PURE__ */ E.jsx(yt, { as: VX, boxSize: "40px", color: B, mb: "16px" }),
|
|
24647
|
-
/* @__PURE__ */ E.jsx(
|
|
24647
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "16px", fontWeight: "16px", color: l, mb: 4, children: o }),
|
|
24648
24648
|
/* @__PURE__ */ E.jsx(
|
|
24649
24649
|
Ze,
|
|
24650
24650
|
{
|
|
@@ -24659,7 +24659,7 @@ const REA = ({
|
|
|
24659
24659
|
}
|
|
24660
24660
|
)
|
|
24661
24661
|
] });
|
|
24662
|
-
}, UEA = ({ text: A, fontSize: e = "md", ...t }) => /* @__PURE__ */ E.jsx(
|
|
24662
|
+
}, UEA = ({ text: A, fontSize: e = "md", ...t }) => /* @__PURE__ */ E.jsx(DA, { fontSize: e, ...t, children: A }), FEA = _t(
|
|
24663
24663
|
({
|
|
24664
24664
|
label: A,
|
|
24665
24665
|
colorLabelText: e = "black.400",
|
|
@@ -24739,9 +24739,9 @@ const REA = ({
|
|
|
24739
24739
|
]
|
|
24740
24740
|
}
|
|
24741
24741
|
),
|
|
24742
|
-
!f && B && /* @__PURE__ */ E.jsx(
|
|
24742
|
+
!f && B && /* @__PURE__ */ E.jsx(DA, { fontSize: u, color: I, mb: "10px", textAlign: "start", children: B }),
|
|
24743
24743
|
f ? w && B ? /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
24744
|
-
/* @__PURE__ */ E.jsx(
|
|
24744
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: u, color: I, mb: "10px", textAlign: "start", children: B }),
|
|
24745
24745
|
g ? /* @__PURE__ */ E.jsx(
|
|
24746
24746
|
Xl,
|
|
24747
24747
|
{
|
|
@@ -25140,9 +25140,9 @@ var kX = function(A) {
|
|
|
25140
25140
|
eA[++z] = rA;
|
|
25141
25141
|
}), eA;
|
|
25142
25142
|
}
|
|
25143
|
-
var W, O, v, iA = Array.prototype, oA = Function.prototype, M = Object.prototype, H = C["__core-js_shared__"], K = (W = /[^.]+$/.exec(H && H.keys && H.keys.IE_PROTO || "")) ? "Symbol(src)_1." + W : "", p = oA.toString, P = M.hasOwnProperty, S = M.toString, X = RegExp("^" + p.call(P).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), nA = C.Symbol, tA = C.Uint8Array, dA = M.propertyIsEnumerable, EA = iA.splice,
|
|
25143
|
+
var W, O, v, iA = Array.prototype, oA = Function.prototype, M = Object.prototype, H = C["__core-js_shared__"], K = (W = /[^.]+$/.exec(H && H.keys && H.keys.IE_PROTO || "")) ? "Symbol(src)_1." + W : "", p = oA.toString, P = M.hasOwnProperty, S = M.toString, X = RegExp("^" + p.call(P).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), nA = C.Symbol, tA = C.Uint8Array, dA = M.propertyIsEnumerable, EA = iA.splice, mA = (O = Object.keys, v = Object, function(x) {
|
|
25144
25144
|
return O(v(x));
|
|
25145
|
-
}), q = Zn(C, "DataView"), NA = Zn(C, "Map"), fA = Zn(C, "Promise"), Y = Zn(C, "Set"), AA = Zn(C, "WeakMap"), cA = Zn(Object, "create"),
|
|
25145
|
+
}), q = Zn(C, "DataView"), NA = Zn(C, "Map"), fA = Zn(C, "Promise"), Y = Zn(C, "Set"), AA = Zn(C, "WeakMap"), cA = Zn(Object, "create"), SA = Jn(q), CA = Jn(NA), RA = Jn(fA), kA = Jn(Y), LA = Jn(AA), QA = nA ? nA.prototype : void 0, $ = QA ? QA.valueOf : void 0, lA = QA ? QA.toString : void 0;
|
|
25146
25146
|
function N(x) {
|
|
25147
25147
|
var z = -1, eA = x ? x.length : 0;
|
|
25148
25148
|
for (this.clear(); ++z < eA; ) {
|
|
@@ -25400,7 +25400,7 @@ var kX = function(A) {
|
|
|
25400
25400
|
var z, eA;
|
|
25401
25401
|
}
|
|
25402
25402
|
function Gn(x) {
|
|
25403
|
-
if (eA = (z = x) && z.constructor, rA = typeof eA == "function" && eA.prototype || M, z !== rA) return
|
|
25403
|
+
if (eA = (z = x) && z.constructor, rA = typeof eA == "function" && eA.prototype || M, z !== rA) return mA(x);
|
|
25404
25404
|
var z, eA, rA, FA = [];
|
|
25405
25405
|
for (var VA in Object(x)) P.call(x, VA) && VA != "constructor" && FA.push(VA);
|
|
25406
25406
|
return FA;
|
|
@@ -25468,7 +25468,7 @@ var kX = function(A) {
|
|
|
25468
25468
|
(q && Dn(new q(new ArrayBuffer(1))) != "[object DataView]" || NA && Dn(new NA()) != o || fA && Dn(fA.resolve()) != "[object Promise]" || Y && Dn(new Y()) != s || AA && Dn(new AA()) != "[object WeakMap]") && (Dn = function(x) {
|
|
25469
25469
|
var z = S.call(x), eA = z == a ? x.constructor : void 0, rA = eA ? Jn(eA) : void 0;
|
|
25470
25470
|
if (rA) switch (rA) {
|
|
25471
|
-
case
|
|
25471
|
+
case SA:
|
|
25472
25472
|
return "[object DataView]";
|
|
25473
25473
|
case CA:
|
|
25474
25474
|
return o;
|
|
@@ -25671,7 +25671,7 @@ var kX = function(A) {
|
|
|
25671
25671
|
var S, X, nA = [];
|
|
25672
25672
|
return X = H === !0, [(S = []).concat.apply(S, r(M.map(function(tA) {
|
|
25673
25673
|
var dA = { name: tA[0], regions: tA[1], iso2: tA[2], countryCode: tA[3], dialCode: tA[3], format: k(K, tA[3], tA[4], p, P), priority: tA[5] || 0 }, EA = [];
|
|
25674
|
-
return tA[6] && tA[6].map(function(
|
|
25674
|
+
return tA[6] && tA[6].map(function(mA) {
|
|
25675
25675
|
var q = function(NA) {
|
|
25676
25676
|
for (var fA = 1; fA < arguments.length; fA++) {
|
|
25677
25677
|
var Y = arguments[fA] != null ? arguments[fA] : {}, AA = Object.keys(Y);
|
|
@@ -25683,7 +25683,7 @@ var kX = function(A) {
|
|
|
25683
25683
|
}
|
|
25684
25684
|
return NA;
|
|
25685
25685
|
}({}, dA);
|
|
25686
|
-
q.dialCode = tA[3] +
|
|
25686
|
+
q.dialCode = tA[3] + mA, q.isAreaCode = !0, q.areaCodeLength = mA.length, EA.push(q);
|
|
25687
25687
|
}), EA.length > 0 ? (dA.mainCode = !0, X || H.constructor.name === "Array" && H.includes(tA[2]) ? (dA.hasAreaCodes = !0, [dA].concat(EA)) : (nA = nA.concat(EA), [dA])) : [dA];
|
|
25688
25688
|
}))), nA];
|
|
25689
25689
|
}
|
|
@@ -25712,7 +25712,7 @@ var kX = function(A) {
|
|
|
25712
25712
|
return P[1] && (K[4] = P[1]), P[3] && (K[5] = P[3]), P[2] && (K[6] = P[2]), K;
|
|
25713
25713
|
});
|
|
25714
25714
|
}
|
|
25715
|
-
var iA = function M(H, K, p, P, S, X, nA, tA, dA, EA,
|
|
25715
|
+
var iA = function M(H, K, p, P, S, X, nA, tA, dA, EA, mA, q, NA, fA) {
|
|
25716
25716
|
s(this, M), this.filterRegions = function(QA, $) {
|
|
25717
25717
|
if (typeof QA == "string") {
|
|
25718
25718
|
var lA = QA;
|
|
@@ -25768,12 +25768,12 @@ var kX = function(A) {
|
|
|
25768
25768
|
var Y = function(QA, $, lA) {
|
|
25769
25769
|
var N = [];
|
|
25770
25770
|
return O(N, 1, QA, !0), O(N, 3, $), O(N, 2, lA), N;
|
|
25771
|
-
}(tA, dA, EA), AA = v(JSON.parse(JSON.stringify(J)), Y), cA = v(JSON.parse(JSON.stringify(_)), Y),
|
|
25771
|
+
}(tA, dA, EA), AA = v(JSON.parse(JSON.stringify(J)), Y), cA = v(JSON.parse(JSON.stringify(_)), Y), SA = y(W(AA, H, q, NA, fA), 2), CA = SA[0], RA = SA[1];
|
|
25772
25772
|
if (K) {
|
|
25773
25773
|
var kA = y(W(cA, H, q, NA, fA), 2), LA = kA[0];
|
|
25774
25774
|
kA[1], CA = this.sortTerritories(LA, CA);
|
|
25775
25775
|
}
|
|
25776
|
-
p && (CA = this.filterRegions(p, CA)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(P, CA, nA.includes("onlyCountries")), X),
|
|
25776
|
+
p && (CA = this.filterRegions(p, CA)), this.onlyCountries = this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(P, CA, nA.includes("onlyCountries")), X), mA, nA.includes("onlyCountries")), this.preferredCountries = S.length === 0 ? [] : this.localizeCountries(this.getFilteredCountryList(S, CA, nA.includes("preferredCountries")), mA, nA.includes("preferredCountries")), this.hiddenAreaCodes = this.excludeCountries(this.getFilteredCountryList(P, RA), X);
|
|
25777
25777
|
}, oA = function(M) {
|
|
25778
25778
|
function H(P) {
|
|
25779
25779
|
var S;
|
|
@@ -25783,9 +25783,9 @@ var kX = function(A) {
|
|
|
25783
25783
|
return Y && Y.length !== 0 ? S.state.onlyCountries.filter(function(AA) {
|
|
25784
25784
|
return m()(AA.name.toLowerCase(), Y.toLowerCase());
|
|
25785
25785
|
}, B(B(S)))[0] : null;
|
|
25786
|
-
}), S.guessSelectedCountry = U()(function(Y, AA, cA,
|
|
25786
|
+
}), S.guessSelectedCountry = U()(function(Y, AA, cA, SA) {
|
|
25787
25787
|
var CA;
|
|
25788
|
-
if (S.props.enableAreaCodes === !1 && (
|
|
25788
|
+
if (S.props.enableAreaCodes === !1 && (SA.some(function(LA) {
|
|
25789
25789
|
if (m()(Y, LA.dialCode)) return cA.some(function(QA) {
|
|
25790
25790
|
if (LA.iso2 === QA.iso2 && QA.mainCode) return CA = QA, !0;
|
|
25791
25791
|
}), !0;
|
|
@@ -25800,20 +25800,20 @@ var kX = function(A) {
|
|
|
25800
25800
|
return kA.name ? kA : RA;
|
|
25801
25801
|
}), S.updateCountry = function(Y) {
|
|
25802
25802
|
var AA, cA = S.state.onlyCountries;
|
|
25803
|
-
(AA = Y.indexOf(0) >= "0" && Y.indexOf(0) <= "9" ? cA.find(function(
|
|
25804
|
-
return
|
|
25805
|
-
}) : cA.find(function(
|
|
25806
|
-
return
|
|
25803
|
+
(AA = Y.indexOf(0) >= "0" && Y.indexOf(0) <= "9" ? cA.find(function(SA) {
|
|
25804
|
+
return SA.dialCode == +Y;
|
|
25805
|
+
}) : cA.find(function(SA) {
|
|
25806
|
+
return SA.iso2 == Y;
|
|
25807
25807
|
})) && AA.dialCode && S.setState({ selectedCountry: AA, formattedNumber: S.props.disableCountryCode ? "" : S.formatNumber(AA.dialCode, AA) });
|
|
25808
25808
|
}, S.scrollTo = function(Y, AA) {
|
|
25809
25809
|
if (Y) {
|
|
25810
25810
|
var cA = S.dropdownRef;
|
|
25811
25811
|
if (cA && document.body) {
|
|
25812
|
-
var
|
|
25812
|
+
var SA = cA.offsetHeight, CA = cA.getBoundingClientRect().top + document.body.scrollTop, RA = CA + SA, kA = Y, LA = kA.getBoundingClientRect(), QA = kA.offsetHeight, $ = LA.top + document.body.scrollTop, lA = $ + QA, N = $ - CA + cA.scrollTop, j = SA / 2 - QA / 2;
|
|
25813
25813
|
if (S.props.enableSearch ? $ < CA + 32 : $ < CA) AA && (N -= j), cA.scrollTop = N;
|
|
25814
25814
|
else if (lA > RA) {
|
|
25815
25815
|
AA && (N += j);
|
|
25816
|
-
var gA =
|
|
25816
|
+
var gA = SA - QA;
|
|
25817
25817
|
cA.scrollTop = N - gA;
|
|
25818
25818
|
}
|
|
25819
25819
|
}
|
|
@@ -25823,8 +25823,8 @@ var kX = function(A) {
|
|
|
25823
25823
|
Y && document.body && (Y.scrollTop = 0);
|
|
25824
25824
|
}, S.formatNumber = function(Y, AA) {
|
|
25825
25825
|
if (!AA) return Y;
|
|
25826
|
-
var cA,
|
|
25827
|
-
if (RA ? ((cA =
|
|
25826
|
+
var cA, SA = AA.format, CA = S.props, RA = CA.disableCountryCode, kA = CA.enableAreaCodeStretch, LA = CA.enableLongNumbers, QA = CA.autoFormat;
|
|
25827
|
+
if (RA ? ((cA = SA.split(" ")).shift(), cA = cA.join(" ")) : kA && AA.isAreaCode ? ((cA = SA.split(" "))[1] = cA[1].replace(/\.+/, "".padEnd(AA.areaCodeLength, ".")), cA = cA.join(" ")) : cA = SA, !Y || Y.length === 0) return RA ? "" : S.props.prefix;
|
|
25828
25828
|
if (Y && Y.length < 2 || !cA || !QA) return RA ? Y : S.props.prefix + Y;
|
|
25829
25829
|
var $, lA = F()(cA, function(N, j) {
|
|
25830
25830
|
if (N.remainingText.length === 0) return N;
|
|
@@ -25846,7 +25846,7 @@ var kX = function(A) {
|
|
|
25846
25846
|
return S.state.selectedCountry ? { name: S.state.selectedCountry.name || "", dialCode: S.state.selectedCountry.dialCode || "", countryCode: S.state.selectedCountry.iso2 || "", format: S.state.selectedCountry.format || "" } : {};
|
|
25847
25847
|
}, S.handleFlagDropdownClick = function(Y) {
|
|
25848
25848
|
if (Y.preventDefault(), S.state.showDropdown || !S.props.disabled) {
|
|
25849
|
-
var AA = S.state, cA = AA.preferredCountries,
|
|
25849
|
+
var AA = S.state, cA = AA.preferredCountries, SA = AA.onlyCountries, CA = AA.selectedCountry, RA = S.concatPreferredCountries(cA, SA).findIndex(function(kA) {
|
|
25850
25850
|
return kA.dialCode === CA.dialCode && kA.iso2 === CA.iso2;
|
|
25851
25851
|
});
|
|
25852
25852
|
S.setState({ showDropdown: !S.state.showDropdown, highlightCountryIndex: RA }, function() {
|
|
@@ -25854,14 +25854,14 @@ var kX = function(A) {
|
|
|
25854
25854
|
});
|
|
25855
25855
|
}
|
|
25856
25856
|
}, S.handleInput = function(Y) {
|
|
25857
|
-
var AA = Y.target.value, cA = S.props,
|
|
25857
|
+
var AA = Y.target.value, cA = S.props, SA = cA.prefix, CA = cA.onChange, RA = S.props.disableCountryCode ? "" : SA, kA = S.state.selectedCountry, LA = S.state.freezeSelection;
|
|
25858
25858
|
if (!S.props.countryCodeEditable) {
|
|
25859
|
-
var QA =
|
|
25859
|
+
var QA = SA + (kA.hasAreaCodes ? S.state.onlyCountries.find(function(ae) {
|
|
25860
25860
|
return ae.iso2 === kA.iso2 && ae.mainCode;
|
|
25861
25861
|
}).dialCode : kA.dialCode);
|
|
25862
25862
|
if (AA.slice(0, QA.length) !== QA) return;
|
|
25863
25863
|
}
|
|
25864
|
-
if (AA ===
|
|
25864
|
+
if (AA === SA) return CA && CA("", S.getCountryData(), Y, ""), S.setState({ formattedNumber: "" });
|
|
25865
25865
|
if (!(AA.replace(/\D/g, "").length > 15 && (S.props.enableLongNumbers === !1 || typeof S.props.enableLongNumbers == "number" && AA.replace(/\D/g, "").length > S.props.enableLongNumbers)) && AA !== S.state.formattedNumber) {
|
|
25866
25866
|
Y.preventDefault ? Y.preventDefault() : Y.returnValue = !1;
|
|
25867
25867
|
var $ = S.props.country, lA = S.state, N = lA.onlyCountries, j = lA.selectedCountry, gA = lA.hiddenAreaCodes;
|
|
@@ -25880,12 +25880,12 @@ var kX = function(A) {
|
|
|
25880
25880
|
var AA = Y.target.value.length;
|
|
25881
25881
|
Y.target.setSelectionRange(0, AA);
|
|
25882
25882
|
}, S.handleFlagItemClick = function(Y, AA) {
|
|
25883
|
-
var cA = S.state.selectedCountry,
|
|
25883
|
+
var cA = S.state.selectedCountry, SA = S.state.onlyCountries.find(function(LA) {
|
|
25884
25884
|
return LA == Y;
|
|
25885
25885
|
});
|
|
25886
|
-
if (
|
|
25887
|
-
var CA = S.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), RA = CA.length > 1 ? CA.replace(cA.dialCode,
|
|
25888
|
-
S.setState({ showDropdown: !1, selectedCountry:
|
|
25886
|
+
if (SA) {
|
|
25887
|
+
var CA = S.state.formattedNumber.replace(" ", "").replace("(", "").replace(")", "").replace("-", ""), RA = CA.length > 1 ? CA.replace(cA.dialCode, SA.dialCode) : SA.dialCode, kA = S.formatNumber(RA.replace(/\D/g, ""), SA);
|
|
25888
|
+
S.setState({ showDropdown: !1, selectedCountry: SA, freezeSelection: !0, formattedNumber: kA, searchValue: "" }, function() {
|
|
25889
25889
|
S.cursorToEnd(), S.props.onChange && S.props.onChange(kA.replace(/[^0-9]+/g, ""), S.getCountryData(), AA, kA);
|
|
25890
25890
|
});
|
|
25891
25891
|
}
|
|
@@ -25914,17 +25914,17 @@ var kX = function(A) {
|
|
|
25914
25914
|
if (cA.includes("form-control") && (Y.which === AA.ENTER || Y.which === AA.ESC)) return Y.target.blur();
|
|
25915
25915
|
if (S.state.showDropdown && !S.props.disabled && (!cA.includes("search-box") || Y.which === AA.UP || Y.which === AA.DOWN || Y.which === AA.ENTER || Y.which === AA.ESC && Y.target.value === "")) {
|
|
25916
25916
|
Y.preventDefault ? Y.preventDefault() : Y.returnValue = !1;
|
|
25917
|
-
var
|
|
25917
|
+
var SA = function(CA) {
|
|
25918
25918
|
S.setState({ highlightCountryIndex: S.getHighlightCountryIndex(CA) }, function() {
|
|
25919
25919
|
S.scrollTo(S.getElement(S.state.highlightCountryIndex), !0);
|
|
25920
25920
|
});
|
|
25921
25921
|
};
|
|
25922
25922
|
switch (Y.which) {
|
|
25923
25923
|
case AA.DOWN:
|
|
25924
|
-
|
|
25924
|
+
SA(1);
|
|
25925
25925
|
break;
|
|
25926
25926
|
case AA.UP:
|
|
25927
|
-
|
|
25927
|
+
SA(-1);
|
|
25928
25928
|
break;
|
|
25929
25929
|
case AA.ENTER:
|
|
25930
25930
|
S.props.enableSearch ? S.handleFlagItemClick(S.getSearchFilteredCountries()[S.state.highlightCountryIndex] || S.getSearchFilteredCountries()[0], Y) : S.handleFlagItemClick([].concat(r(S.state.preferredCountries), r(S.state.onlyCountries))[S.state.highlightCountryIndex], Y);
|
|
@@ -25938,15 +25938,15 @@ var kX = function(A) {
|
|
|
25938
25938
|
}
|
|
25939
25939
|
}
|
|
25940
25940
|
}, S.handleInputKeyDown = function(Y) {
|
|
25941
|
-
var AA = S.props, cA = AA.keys,
|
|
25942
|
-
Y.which === cA.ENTER &&
|
|
25941
|
+
var AA = S.props, cA = AA.keys, SA = AA.onEnterKeyPress, CA = AA.onKeyDown;
|
|
25942
|
+
Y.which === cA.ENTER && SA && SA(Y), CA && CA(Y);
|
|
25943
25943
|
}, S.handleClickOutside = function(Y) {
|
|
25944
25944
|
S.dropdownRef && !S.dropdownContainerRef.contains(Y.target) && S.state.showDropdown && S.setState({ showDropdown: !1 });
|
|
25945
25945
|
}, S.handleSearchChange = function(Y) {
|
|
25946
|
-
var AA = Y.currentTarget.value, cA = S.state,
|
|
25946
|
+
var AA = Y.currentTarget.value, cA = S.state, SA = cA.preferredCountries, CA = cA.selectedCountry, RA = 0;
|
|
25947
25947
|
if (AA === "" && CA) {
|
|
25948
25948
|
var kA = S.state.onlyCountries;
|
|
25949
|
-
RA = S.concatPreferredCountries(
|
|
25949
|
+
RA = S.concatPreferredCountries(SA, kA).findIndex(function(LA) {
|
|
25950
25950
|
return LA == CA;
|
|
25951
25951
|
}), setTimeout(function() {
|
|
25952
25952
|
return S.scrollTo(S.getElement(RA));
|
|
@@ -25958,7 +25958,7 @@ var kX = function(A) {
|
|
|
25958
25958
|
}, S.getDropdownCountryName = function(Y) {
|
|
25959
25959
|
return Y.localName || Y.name;
|
|
25960
25960
|
}, S.getSearchFilteredCountries = function() {
|
|
25961
|
-
var Y = S.state, AA = Y.preferredCountries, cA = Y.onlyCountries,
|
|
25961
|
+
var Y = S.state, AA = Y.preferredCountries, cA = Y.onlyCountries, SA = Y.searchValue, CA = S.props.enableSearch, RA = S.concatPreferredCountries(AA, cA), kA = SA.trim().toLowerCase().replace("+", "");
|
|
25962
25962
|
if (CA && kA) {
|
|
25963
25963
|
if (/^\d+$/.test(kA)) return RA.filter(function($) {
|
|
25964
25964
|
var lA = $.dialCode;
|
|
@@ -25981,7 +25981,7 @@ var kX = function(A) {
|
|
|
25981
25981
|
}
|
|
25982
25982
|
return RA;
|
|
25983
25983
|
}, S.getCountryDropdownList = function() {
|
|
25984
|
-
var Y = S.state, AA = Y.preferredCountries, cA = Y.highlightCountryIndex,
|
|
25984
|
+
var Y = S.state, AA = Y.preferredCountries, cA = Y.highlightCountryIndex, SA = Y.showDropdown, CA = Y.searchValue, RA = S.props, kA = RA.disableDropdown, LA = RA.prefix, QA = S.props, $ = QA.enableSearch, lA = QA.searchNotFound, N = QA.disableSearchIcon, j = QA.searchClass, gA = QA.searchStyle, yA = QA.searchPlaceholder, vA = QA.autocompleteSearch, Ee = S.getSearchFilteredCountries().map(function(ae, ve) {
|
|
25985
25985
|
var we = cA === ve, Ut = D()({ country: !0, preferred: ae.iso2 === "us" || ae.iso2 === "gb", active: ae.iso2 === "us", highlight: we }), Ne = "flag ".concat(ae.iso2);
|
|
25986
25986
|
return d.a.createElement("li", Object.assign({ ref: function(pn) {
|
|
25987
25987
|
return S["flag_no_".concat(ve)] = pn;
|
|
@@ -25990,17 +25990,17 @@ var kX = function(A) {
|
|
|
25990
25990
|
}, role: "option" }, we ? { "aria-selected": !0 } : {}), d.a.createElement("div", { className: Ne }), d.a.createElement("span", { className: "country-name" }, S.getDropdownCountryName(ae)), d.a.createElement("span", { className: "dial-code" }, ae.format ? S.formatNumber(ae.dialCode, ae) : LA + ae.dialCode));
|
|
25991
25991
|
}), Te = d.a.createElement("li", { key: "dashes", className: "divider" });
|
|
25992
25992
|
AA.length > 0 && (!$ || $ && !CA.trim()) && Ee.splice(AA.length, 0, Te);
|
|
25993
|
-
var Ye = D()(n({ "country-list": !0, hide: !
|
|
25993
|
+
var Ye = D()(n({ "country-list": !0, hide: !SA }, S.props.dropdownClass, !0));
|
|
25994
25994
|
return d.a.createElement("ul", { ref: function(ae) {
|
|
25995
25995
|
return !$ && ae && ae.focus(), S.dropdownRef = ae;
|
|
25996
25996
|
}, className: Ye, style: S.props.dropdownStyle, role: "listbox", tabIndex: "0" }, $ && d.a.createElement("li", { className: D()(n({ search: !0 }, j, j)) }, !N && d.a.createElement("span", { className: D()(n({ "search-emoji": !0 }, "".concat(j, "-emoji"), j)), role: "img", "aria-label": "Magnifying glass" }, "🔎"), d.a.createElement("input", { className: D()(n({ "search-box": !0 }, "".concat(j, "-box"), j)), style: gA, type: "search", placeholder: yA, autoFocus: !0, autoComplete: vA ? "on" : "off", value: CA, onChange: S.handleSearchChange })), Ee.length > 0 ? Ee : d.a.createElement("li", { className: "no-entries-message" }, d.a.createElement("span", null, lA)));
|
|
25997
25997
|
};
|
|
25998
|
-
var X, nA = new iA(P.enableAreaCodes, P.enableTerritories, P.regions, P.onlyCountries, P.preferredCountries, P.excludeCountries, P.preserveOrder, P.masks, P.priority, P.areaCodes, P.localization, P.prefix, P.defaultMask, P.alwaysDefaultMask), tA = nA.onlyCountries, dA = nA.preferredCountries, EA = nA.hiddenAreaCodes,
|
|
25999
|
-
X = P.disableInitialCountryGuess ? 0 :
|
|
25998
|
+
var X, nA = new iA(P.enableAreaCodes, P.enableTerritories, P.regions, P.onlyCountries, P.preferredCountries, P.excludeCountries, P.preserveOrder, P.masks, P.priority, P.areaCodes, P.localization, P.prefix, P.defaultMask, P.alwaysDefaultMask), tA = nA.onlyCountries, dA = nA.preferredCountries, EA = nA.hiddenAreaCodes, mA = P.value ? P.value.replace(/\D/g, "") : "";
|
|
25999
|
+
X = P.disableInitialCountryGuess ? 0 : mA.length > 1 ? S.guessSelectedCountry(mA.substring(0, 6), P.country, tA, EA) || 0 : P.country && tA.find(function(Y) {
|
|
26000
26000
|
return Y.iso2 == P.country;
|
|
26001
26001
|
}) || 0;
|
|
26002
|
-
var q, NA =
|
|
26003
|
-
q =
|
|
26002
|
+
var q, NA = mA.length < 2 && X && !m()(mA, X.dialCode) ? X.dialCode : "";
|
|
26003
|
+
q = mA === "" && X === 0 ? "" : S.formatNumber((P.disableCountryCode ? "" : NA) + mA, X.name ? X : void 0);
|
|
26004
26004
|
var fA = tA.findIndex(function(Y) {
|
|
26005
26005
|
return Y == X;
|
|
26006
26006
|
});
|
|
@@ -26018,27 +26018,27 @@ var kX = function(A) {
|
|
|
26018
26018
|
P.country !== this.props.country ? this.updateCountry(this.props.country) : P.value !== this.props.value && this.updateFormattedNumber(this.props.value);
|
|
26019
26019
|
} }, { key: "updateFormattedNumber", value: function(P) {
|
|
26020
26020
|
if (P === null) return this.setState({ selectedCountry: 0, formattedNumber: "" });
|
|
26021
|
-
var S = this.state, X = S.onlyCountries, nA = S.selectedCountry, tA = S.hiddenAreaCodes, dA = this.props, EA = dA.country,
|
|
26021
|
+
var S = this.state, X = S.onlyCountries, nA = S.selectedCountry, tA = S.hiddenAreaCodes, dA = this.props, EA = dA.country, mA = dA.prefix;
|
|
26022
26022
|
if (P === "") return this.setState({ selectedCountry: nA, formattedNumber: "" });
|
|
26023
26023
|
var q, NA, fA = P.replace(/\D/g, "");
|
|
26024
|
-
if (nA && m()(P,
|
|
26024
|
+
if (nA && m()(P, mA + nA.dialCode)) NA = this.formatNumber(fA, nA), this.setState({ formattedNumber: NA });
|
|
26025
26025
|
else {
|
|
26026
|
-
var Y = (q = this.props.disableCountryGuess ? nA : this.guessSelectedCountry(fA.substring(0, 6), EA, X, tA) || nA) && m()(fA,
|
|
26026
|
+
var Y = (q = this.props.disableCountryGuess ? nA : this.guessSelectedCountry(fA.substring(0, 6), EA, X, tA) || nA) && m()(fA, mA + q.dialCode) ? q.dialCode : "";
|
|
26027
26027
|
NA = this.formatNumber((this.props.disableCountryCode ? "" : Y) + fA, q || void 0), this.setState({ selectedCountry: q, formattedNumber: NA });
|
|
26028
26028
|
}
|
|
26029
26029
|
} }, { key: "render", value: function() {
|
|
26030
|
-
var P, S, X, nA = this, tA = this.state, dA = tA.onlyCountries, EA = tA.selectedCountry,
|
|
26030
|
+
var P, S, X, nA = this, tA = this.state, dA = tA.onlyCountries, EA = tA.selectedCountry, mA = tA.showDropdown, q = tA.formattedNumber, NA = tA.hiddenAreaCodes, fA = this.props, Y = fA.disableDropdown, AA = fA.renderStringAsFlag, cA = fA.isValid, SA = fA.defaultErrorMessage, CA = fA.specialLabel;
|
|
26031
26031
|
if (typeof cA == "boolean") S = cA;
|
|
26032
26032
|
else {
|
|
26033
26033
|
var RA = cA(q.replace(/\D/g, ""), EA, dA, NA);
|
|
26034
|
-
typeof RA == "boolean" ? (S = RA) === !1 && (X =
|
|
26034
|
+
typeof RA == "boolean" ? (S = RA) === !1 && (X = SA) : (S = !1, X = RA);
|
|
26035
26035
|
}
|
|
26036
|
-
var kA = D()((n(P = {}, this.props.containerClass, !0), n(P, "react-tel-input", !0), P)), LA = D()({ arrow: !0, up:
|
|
26036
|
+
var kA = D()((n(P = {}, this.props.containerClass, !0), n(P, "react-tel-input", !0), P)), LA = D()({ arrow: !0, up: mA }), QA = D()(n({ "form-control": !0, "invalid-number": !S, open: mA }, this.props.inputClass, !0)), $ = D()({ "selected-flag": !0, open: mA }), lA = D()(n({ "flag-dropdown": !0, "invalid-number": !S, open: mA }, this.props.buttonClass, !0)), N = "flag ".concat(EA && EA.iso2);
|
|
26037
26037
|
return d.a.createElement("div", { className: "".concat(kA, " ").concat(this.props.className), style: this.props.style || this.props.containerStyle, onKeyDown: this.handleKeydown }, CA && d.a.createElement("div", { className: "special-label" }, CA), X && d.a.createElement("div", { className: "invalid-number-message" }, X), d.a.createElement("input", Object.assign({ className: QA, style: this.props.inputStyle, onChange: this.handleInput, onClick: this.handleInputClick, onDoubleClick: this.handleDoubleClick, onFocus: this.handleInputFocus, onBlur: this.handleInputBlur, onCopy: this.handleInputCopy, value: q, onKeyDown: this.handleInputKeyDown, placeholder: this.props.placeholder, disabled: this.props.disabled, type: "tel" }, this.props.inputProps, { ref: function(j) {
|
|
26038
26038
|
nA.numberInputRef = j, typeof nA.props.inputProps.ref == "function" ? nA.props.inputProps.ref(j) : typeof nA.props.inputProps.ref == "object" && (nA.props.inputProps.ref.current = j);
|
|
26039
26039
|
} })), d.a.createElement("div", { className: lA, style: this.props.buttonStyle, ref: function(j) {
|
|
26040
26040
|
return nA.dropdownContainerRef = j;
|
|
26041
|
-
} }, AA ? d.a.createElement("div", { className: $ }, AA) : d.a.createElement("div", { onClick: Y ? void 0 : this.handleFlagDropdownClick, className: $, title: EA ? "".concat(EA.localName || EA.name, ": + ").concat(EA.dialCode) : "", tabIndex: Y ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!
|
|
26041
|
+
} }, AA ? d.a.createElement("div", { className: $ }, AA) : d.a.createElement("div", { onClick: Y ? void 0 : this.handleFlagDropdownClick, className: $, title: EA ? "".concat(EA.localName || EA.name, ": + ").concat(EA.dialCode) : "", tabIndex: Y ? "-1" : "0", role: "button", "aria-haspopup": "listbox", "aria-expanded": !!mA || void 0 }, d.a.createElement("div", { className: N }, !Y && d.a.createElement("div", { className: LA }))), mA && this.getCountryDropdownList()));
|
|
26042
26042
|
} }]) && l(K.prototype, p), H;
|
|
26043
26043
|
}(d.a.Component);
|
|
26044
26044
|
oA.defaultProps = { country: "", value: "", onlyCountries: [], preferredCountries: [], excludeCountries: [], placeholder: "1 (702) 123-4567", searchPlaceholder: "search", searchNotFound: "No entries to show", flagsImagePath: "./flags.png", disabled: !1, containerStyle: {}, inputStyle: {}, buttonStyle: {}, dropdownStyle: {}, searchStyle: {}, containerClass: "", inputClass: "", buttonClass: "", dropdownClass: "", searchClass: "", className: "", autoFormat: !0, enableAreaCodes: !1, enableTerritories: !1, disableCountryCode: !1, disableDropdown: !1, enableLongNumbers: !1, countryCodeEditable: !0, enableSearch: !1, disableSearchIcon: !1, disableInitialCountryGuess: !1, disableCountryGuess: !1, regions: "", inputProps: {}, localization: {}, masks: null, priority: null, areaCodes: null, preserveOrder: [], defaultMask: "... ... ... ... ..", alwaysDefaultMask: !1, prefix: "+", copyNumbersOnly: !0, renderStringAsFlag: "", autocompleteSearch: !1, jumpCursorToEnd: !0, enableAreaCodeStretch: !1, enableClickOutside: !0, showDropdown: !1, isValid: !0, defaultErrorMessage: "", specialLabel: "Phone", onEnterKeyPress: null, keys: { UP: 38, DOWN: 40, RIGHT: 39, LEFT: 37, ENTER: 13, ESC: 27, PLUS: 43, A: 65, Z: 90, SPACE: 32, TAB: 9 } }, e.default = oA;
|
|
@@ -26074,7 +26074,7 @@ const vX = /* @__PURE__ */ gs(kX), MEA = ({
|
|
|
26074
26074
|
placeholder: n
|
|
26075
26075
|
}
|
|
26076
26076
|
),
|
|
26077
|
-
r && /* @__PURE__ */ E.jsx(
|
|
26077
|
+
r && /* @__PURE__ */ E.jsx(DA, { fontSize: "sm", color: "red.500", mt: 1, children: r })
|
|
26078
26078
|
] }), wEA = ({
|
|
26079
26079
|
label: A = "",
|
|
26080
26080
|
description: e = "",
|
|
@@ -26133,7 +26133,7 @@ const vX = /* @__PURE__ */ gs(kX), MEA = ({
|
|
|
26133
26133
|
)
|
|
26134
26134
|
] }),
|
|
26135
26135
|
r && B && e && /* @__PURE__ */ E.jsxs(E.Fragment, { children: [
|
|
26136
|
-
/* @__PURE__ */ E.jsx(
|
|
26136
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "14px", color: "gray.500", mb: "10px", textAlign: "start", children: e }),
|
|
26137
26137
|
/* @__PURE__ */ E.jsx(XA, { wrap: "wrap", mb: 2, gap: 4, children: t.map((h, C) => /* @__PURE__ */ E.jsx(
|
|
26138
26138
|
wA,
|
|
26139
26139
|
{
|
|
@@ -26226,8 +26226,8 @@ const vX = /* @__PURE__ */ gs(kX), MEA = ({
|
|
|
26226
26226
|
) : /* @__PURE__ */ E.jsx("div", { style: s, children: /* @__PURE__ */ E.jsxs(XA, { direction: "row", align: "center", flex: "1", children: [
|
|
26227
26227
|
/* @__PURE__ */ E.jsx(yt, { as: r[A], style: l, boxSize: 6 }),
|
|
26228
26228
|
/* @__PURE__ */ E.jsxs(XA, { direction: "column", flex: "1", ml: 3, children: [
|
|
26229
|
-
/* @__PURE__ */ E.jsx(
|
|
26230
|
-
t && /* @__PURE__ */ E.jsx(
|
|
26229
|
+
/* @__PURE__ */ E.jsx(DA, { style: c, children: e }),
|
|
26230
|
+
t && /* @__PURE__ */ E.jsx(DA, { mt: 1, children: t })
|
|
26231
26231
|
] }),
|
|
26232
26232
|
i && /* @__PURE__ */ E.jsx(
|
|
26233
26233
|
Ze,
|
|
@@ -26276,8 +26276,8 @@ const vX = /* @__PURE__ */ gs(kX), MEA = ({
|
|
|
26276
26276
|
wordBreak: "break-word",
|
|
26277
26277
|
alignItems: "flex-start",
|
|
26278
26278
|
children: [
|
|
26279
|
-
r === "image" ? /* @__PURE__ */ E.jsx(wA, { maxWidth: "24.3125rem", height: "13.4375rem", children: /* @__PURE__ */ E.jsx("img", { src: o, alt: a, style: { width: "100%", objectFit: "contain", height: "100%" } }) }) : /* @__PURE__ */ E.jsx(
|
|
26280
|
-
t && /* @__PURE__ */ E.jsx(
|
|
26279
|
+
r === "image" ? /* @__PURE__ */ E.jsx(wA, { maxWidth: "24.3125rem", height: "13.4375rem", children: /* @__PURE__ */ E.jsx("img", { src: o, alt: a, style: { width: "100%", objectFit: "contain", height: "100%" } }) }) : /* @__PURE__ */ E.jsx(DA, { textAlign: "right", fontSize: "md", whiteSpace: "normal", children: A }),
|
|
26280
|
+
t && /* @__PURE__ */ E.jsx(DA, { fontSize: "xs", color: "gray.500", textAlign: "right", mt: 1, children: t })
|
|
26281
26281
|
]
|
|
26282
26282
|
}
|
|
26283
26283
|
),
|
|
@@ -30166,13 +30166,13 @@ function HK(A, e, t) {
|
|
|
30166
30166
|
function H(X) {
|
|
30167
30167
|
return nA;
|
|
30168
30168
|
function nA(tA) {
|
|
30169
|
-
const dA = tA !== null && X[tA], EA = tA !== null && X.null,
|
|
30169
|
+
const dA = tA !== null && X[tA], EA = tA !== null && X.null, mA = [
|
|
30170
30170
|
// To do: add more extension tests.
|
|
30171
30171
|
/* c8 ignore next 2 */
|
|
30172
30172
|
...Array.isArray(dA) ? dA : dA ? [dA] : [],
|
|
30173
30173
|
...Array.isArray(EA) ? EA : EA ? [EA] : []
|
|
30174
30174
|
];
|
|
30175
|
-
return K(
|
|
30175
|
+
return K(mA)(tA);
|
|
30176
30176
|
}
|
|
30177
30177
|
}
|
|
30178
30178
|
function K(X) {
|
|
@@ -30363,10 +30363,10 @@ function LK(A) {
|
|
|
30363
30363
|
blockQuote: r(EA),
|
|
30364
30364
|
characterEscape: T,
|
|
30365
30365
|
characterReference: T,
|
|
30366
|
-
codeFenced: r(
|
|
30366
|
+
codeFenced: r(mA),
|
|
30367
30367
|
codeFencedFenceInfo: o,
|
|
30368
30368
|
codeFencedFenceMeta: o,
|
|
30369
|
-
codeIndented: r(
|
|
30369
|
+
codeIndented: r(mA, o),
|
|
30370
30370
|
codeText: r(q, o),
|
|
30371
30371
|
codeTextData: T,
|
|
30372
30372
|
data: T,
|
|
@@ -30382,7 +30382,7 @@ function LK(A) {
|
|
|
30382
30382
|
htmlFlowData: T,
|
|
30383
30383
|
htmlText: r(cA, o),
|
|
30384
30384
|
htmlTextData: T,
|
|
30385
|
-
image: r(
|
|
30385
|
+
image: r(SA),
|
|
30386
30386
|
label: o,
|
|
30387
30387
|
link: r(CA),
|
|
30388
30388
|
listItem: r(kA),
|
|
@@ -30762,7 +30762,7 @@ function LK(A) {
|
|
|
30762
30762
|
children: []
|
|
30763
30763
|
};
|
|
30764
30764
|
}
|
|
30765
|
-
function
|
|
30765
|
+
function mA() {
|
|
30766
30766
|
return {
|
|
30767
30767
|
type: "code",
|
|
30768
30768
|
lang: null,
|
|
@@ -30810,7 +30810,7 @@ function LK(A) {
|
|
|
30810
30810
|
value: ""
|
|
30811
30811
|
};
|
|
30812
30812
|
}
|
|
30813
|
-
function
|
|
30813
|
+
function SA() {
|
|
30814
30814
|
return {
|
|
30815
30815
|
type: "image",
|
|
30816
30816
|
title: null,
|
|
@@ -35395,7 +35395,7 @@ const SeA = Er`
|
|
|
35395
35395
|
}
|
|
35396
35396
|
),
|
|
35397
35397
|
/* @__PURE__ */ E.jsx(
|
|
35398
|
-
|
|
35398
|
+
DA,
|
|
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__ */ E.jsx(kt, { align: "flex-end", spacing: 0, children: /* @__PURE__ */ E.jsxs(XA, { align: "center", gap: "10px", children: [
|
|
36008
36008
|
/* @__PURE__ */ E.jsx(wA, { as: KeA, color: e, size: 18 }),
|
|
36009
|
-
/* @__PURE__ */ E.jsx(
|
|
36009
|
+
/* @__PURE__ */ E.jsx(DA, { color: e, fontSize: "18px", fontWeight: "medium", marginRight: 2, children: i }),
|
|
36010
36010
|
/* @__PURE__ */ E.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__ */ E.jsx(E.Fragment, { children: U }) : /* @__PURE__ */ E.jsx(E.Fragment, { children: U }),
|
|
36052
|
-
/* @__PURE__ */ E.jsx(
|
|
36052
|
+
/* @__PURE__ */ E.jsx(DA, { 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__ */ E.jsxs(XA, { align: "center", gap: "10px", children: [
|
|
36066
36066
|
/* @__PURE__ */ E.jsx(SO, { size: 24 }),
|
|
36067
|
-
/* @__PURE__ */ E.jsx(
|
|
36067
|
+
/* @__PURE__ */ E.jsx(DA, { children: r })
|
|
36068
36068
|
] })
|
|
36069
36069
|
}
|
|
36070
36070
|
)
|
|
@@ -36222,7 +36222,7 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36222
36222
|
isActive: t === I.url || r === f
|
|
36223
36223
|
}
|
|
36224
36224
|
),
|
|
36225
|
-
l && /* @__PURE__ */ E.jsx(
|
|
36225
|
+
l && /* @__PURE__ */ E.jsx(DA, { ml: 2, fontWeight: t === I.url || r === f ? "bold" : "normal", transition: "font-weight 0.3s ease", children: I.title })
|
|
36226
36226
|
]
|
|
36227
36227
|
},
|
|
36228
36228
|
f
|
|
@@ -36347,8 +36347,8 @@ const xx = ({ iconDefault: A, iconHover: e, isActive: t }) => {
|
|
|
36347
36347
|
/* @__PURE__ */ E.jsxs(ki, { position: "relative", bg: "white", p: "24px", borderRadius: "16px", minW: "550px", children: [
|
|
36348
36348
|
/* @__PURE__ */ E.jsx(Ni, { fontSize: "20px", fontFamily: "sansation", children: n }),
|
|
36349
36349
|
/* @__PURE__ */ E.jsxs(vi, { children: [
|
|
36350
|
-
/* @__PURE__ */ E.jsx(
|
|
36351
|
-
r && /* @__PURE__ */ E.jsx(
|
|
36350
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "16px", fontFamily: "Lato", children: i }),
|
|
36351
|
+
r && /* @__PURE__ */ E.jsx(DA, { fontSize: "16px", fontFamily: "Lato", mt: "25px", mb: "10px", children: r })
|
|
36352
36352
|
] }),
|
|
36353
36353
|
/* @__PURE__ */ E.jsxs(Sc, { display: "flex", justifyContent: "center", mt: "2px", children: [
|
|
36354
36354
|
/* @__PURE__ */ E.jsx(
|
|
@@ -36546,7 +36546,7 @@ const yEA = ({
|
|
|
36546
36546
|
e && l(g.target.value), i && i(g);
|
|
36547
36547
|
};
|
|
36548
36548
|
return /* @__PURE__ */ E.jsxs(kt, { align: "start", children: [
|
|
36549
|
-
/* @__PURE__ */ E.jsx(
|
|
36549
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "1.875rem", fontWeight: "bold", color: "black.300", children: A }),
|
|
36550
36550
|
/* @__PURE__ */ E.jsx(
|
|
36551
36551
|
Xl,
|
|
36552
36552
|
{
|
|
@@ -36602,7 +36602,7 @@ const vEA = ({ type: A = "progress" }) => {
|
|
|
36602
36602
|
}
|
|
36603
36603
|
return /* @__PURE__ */ E.jsx(kt, { children: /* @__PURE__ */ E.jsxs(XA, { children: [
|
|
36604
36604
|
e,
|
|
36605
|
-
/* @__PURE__ */ E.jsx(
|
|
36605
|
+
/* @__PURE__ */ E.jsx(DA, { color: n, fontWeight: "900", fontSize: "1rem", lineHeight: "1.375rem", children: t })
|
|
36606
36606
|
] }) });
|
|
36607
36607
|
}, NEA = ({ value: A = 50, size: e = "sm", backgroundColor: t = "black.40" }) => {
|
|
36608
36608
|
const n = `${A}%`, i = A < 50 ? "danger.400" : A < 100 ? "info.400" : A === 100 ? "success.400" : "info.500";
|
|
@@ -36613,7 +36613,7 @@ const vEA = ({ type: A = "progress" }) => {
|
|
|
36613
36613
|
// Change the progress bar color
|
|
36614
36614
|
}
|
|
36615
36615
|
} }) }),
|
|
36616
|
-
/* @__PURE__ */ E.jsx(
|
|
36616
|
+
/* @__PURE__ */ E.jsx(DA, { fontWeight: "bold", fontSize: "1rem", marginLeft: "1.75rem", children: n })
|
|
36617
36617
|
] });
|
|
36618
36618
|
}, WEA = ({ items: A, colorBackground: e, colorTitle: t, colorOption: n }) => /* @__PURE__ */ E.jsx(
|
|
36619
36619
|
XA,
|
|
@@ -36624,13 +36624,13 @@ const vEA = ({ type: A = "progress" }) => {
|
|
|
36624
36624
|
borderTopRightRadius: ".75rem",
|
|
36625
36625
|
justifyContent: "space-around",
|
|
36626
36626
|
children: A.map((i, r) => /* @__PURE__ */ E.jsxs(wA, { maxWidth: "max-content", textAlign: "center", padding: "1rem", children: [
|
|
36627
|
-
/* @__PURE__ */ E.jsx(
|
|
36628
|
-
/* @__PURE__ */ E.jsx(
|
|
36627
|
+
/* @__PURE__ */ E.jsx(DA, { color: t, fontSize: "1rem", fontWeight: "bold", children: i.title }),
|
|
36628
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "0.875rem", color: n, paddingTop: ".25rem", children: i.option })
|
|
36629
36629
|
] }, r))
|
|
36630
36630
|
}
|
|
36631
36631
|
), HEA = ({ text: A = "Positive Ranking", value: e = "1,302" }) => /* @__PURE__ */ E.jsxs(wA, { color: "black.600", maxWidth: "max-content", width: "100%", children: [
|
|
36632
|
-
/* @__PURE__ */ E.jsx(
|
|
36633
|
-
/* @__PURE__ */ E.jsx(
|
|
36632
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "1rem", children: A }),
|
|
36633
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "1.75rem", fontWeight: "bold", textAlign: "left", marginTop: "0.25rem", children: e })
|
|
36634
36634
|
] }), GEA = ({
|
|
36635
36635
|
backgroundColor: A = "#fff",
|
|
36636
36636
|
boxShadow: e = "1px 1px 4px #d7d7d7",
|
|
@@ -36814,7 +36814,7 @@ const PEA = ({
|
|
|
36814
36814
|
fontSize: "20px"
|
|
36815
36815
|
}
|
|
36816
36816
|
),
|
|
36817
|
-
/* @__PURE__ */ E.jsx(wA, { display: "flex", justifyContent: "center", flex: "1", mx: "16px", alignItems: "center", children: A === "idle" ? /* @__PURE__ */ E.jsx(
|
|
36817
|
+
/* @__PURE__ */ E.jsx(wA, { display: "flex", justifyContent: "center", flex: "1", mx: "16px", alignItems: "center", children: A === "idle" ? /* @__PURE__ */ E.jsx(DA, { fontSize: "sm", fontWeight: "bold", color: "white", children: "Record your voice" }) : A === "recording" ? /* @__PURE__ */ E.jsx(wA, { display: "flex", gap: "2px", alignItems: "center", children: s.map((g, B) => /* @__PURE__ */ E.jsx(
|
|
36818
36818
|
wA,
|
|
36819
36819
|
{
|
|
36820
36820
|
width: "2px",
|
|
@@ -36835,7 +36835,7 @@ const PEA = ({
|
|
|
36835
36835
|
},
|
|
36836
36836
|
B
|
|
36837
36837
|
)) }) }),
|
|
36838
|
-
/* @__PURE__ */ E.jsx(
|
|
36838
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "sm", fontWeight: "bold", marginLeft: "8px", children: e })
|
|
36839
36839
|
]
|
|
36840
36840
|
}
|
|
36841
36841
|
);
|
|
@@ -37013,8 +37013,8 @@ const PEA = ({
|
|
|
37013
37013
|
}, k = I.trim().split(" ");
|
|
37014
37014
|
let W = "0", O = "0", v = "0", iA = "0";
|
|
37015
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__ */ E.jsxs(XA, { flexDirection: "column", alignItems: "flex-start", children: [
|
|
37016
|
-
/* @__PURE__ */ E.jsx(
|
|
37017
|
-
/* @__PURE__ */ E.jsx(
|
|
37016
|
+
/* @__PURE__ */ E.jsx(DA, { color: d, fontFamily: Q, fontSize: h, textAlign: C, margin: U, children: f }),
|
|
37017
|
+
/* @__PURE__ */ E.jsx(DA, { color: F, fontFamily: w, fontSize: m, textAlign: T, children: R }),
|
|
37018
37018
|
/* @__PURE__ */ E.jsx(XA, { flexDirection: B, margin: u, children: A == null ? void 0 : A.map((oA, M) => /* @__PURE__ */ E.jsx("div", { children: /* @__PURE__ */ E.jsx(
|
|
37019
37019
|
m2,
|
|
37020
37020
|
{
|
|
@@ -37150,7 +37150,7 @@ const PEA = ({
|
|
|
37150
37150
|
}
|
|
37151
37151
|
),
|
|
37152
37152
|
/* @__PURE__ */ E.jsx(Ni, { fontSize: "18px", fontFamily: "Body", children: n }),
|
|
37153
|
-
/* @__PURE__ */ E.jsx(vi, { children: /* @__PURE__ */ E.jsx(
|
|
37153
|
+
/* @__PURE__ */ E.jsx(vi, { children: /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato", children: i }) }),
|
|
37154
37154
|
/* @__PURE__ */ E.jsxs(Sc, { display: "flex", justifyContent: "center", mt: "10px", children: [
|
|
37155
37155
|
/* @__PURE__ */ E.jsx(
|
|
37156
37156
|
Ze,
|
|
@@ -37200,9 +37200,10 @@ const PEA = ({
|
|
|
37200
37200
|
hideCloseButton: c = !1,
|
|
37201
37201
|
closeOnEsc: g = !0,
|
|
37202
37202
|
closeOnOverlayClick: B = !0,
|
|
37203
|
-
|
|
37203
|
+
descriptionSecondary: u = "",
|
|
37204
|
+
...I
|
|
37204
37205
|
}) => {
|
|
37205
|
-
const
|
|
37206
|
+
const f = {
|
|
37206
37207
|
assist: "#2F93DF",
|
|
37207
37208
|
elevate: "#FF6F9A",
|
|
37208
37209
|
play: "#FB8E79",
|
|
@@ -37216,7 +37217,7 @@ const PEA = ({
|
|
|
37216
37217
|
isCentered: !0,
|
|
37217
37218
|
closeOnEsc: g,
|
|
37218
37219
|
closeOnOverlayClick: B,
|
|
37219
|
-
...
|
|
37220
|
+
...I,
|
|
37220
37221
|
children: [
|
|
37221
37222
|
/* @__PURE__ */ E.jsx(Wi, {}),
|
|
37222
37223
|
/* @__PURE__ */ E.jsxs(
|
|
@@ -37255,9 +37256,18 @@ const PEA = ({
|
|
|
37255
37256
|
}
|
|
37256
37257
|
),
|
|
37257
37258
|
/* @__PURE__ */ E.jsxs(vi, { children: [
|
|
37258
|
-
/* @__PURE__ */ E.jsxs(ln, { spacing:
|
|
37259
|
-
/* @__PURE__ */ E.jsx(
|
|
37260
|
-
|
|
37259
|
+
/* @__PURE__ */ E.jsxs(ln, { spacing: 2, justifyContent: "center", children: [
|
|
37260
|
+
/* @__PURE__ */ E.jsx(
|
|
37261
|
+
stA,
|
|
37262
|
+
{
|
|
37263
|
+
color: f[i] || f.primary,
|
|
37264
|
+
width: u ? 52 : 24
|
|
37265
|
+
}
|
|
37266
|
+
),
|
|
37267
|
+
/* @__PURE__ */ E.jsxs(XA, { direction: "column", align: "center", textAlign: "center", children: [
|
|
37268
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "16px", children: t }),
|
|
37269
|
+
u && /* @__PURE__ */ E.jsx(DA, { fontSize: "16px", mt: 2, children: u })
|
|
37270
|
+
] })
|
|
37261
37271
|
] }),
|
|
37262
37272
|
/* @__PURE__ */ E.jsx(ln, { spacing: 3, justifyContent: "center", children: o })
|
|
37263
37273
|
] }),
|
|
@@ -37267,10 +37277,10 @@ const PEA = ({
|
|
|
37267
37277
|
{
|
|
37268
37278
|
backgroundColor: "#fff",
|
|
37269
37279
|
border: "1px solid",
|
|
37270
|
-
borderColor: `${i}.
|
|
37271
|
-
color: `${i}.
|
|
37280
|
+
borderColor: `${i}.500`,
|
|
37281
|
+
color: `${i}.500`,
|
|
37272
37282
|
onClick: s,
|
|
37273
|
-
_hover: { backgroundColor: "#
|
|
37283
|
+
_hover: { backgroundColor: "#f7fcffff" },
|
|
37274
37284
|
marginRight: "1.5rem",
|
|
37275
37285
|
children: l
|
|
37276
37286
|
}
|
|
@@ -37347,7 +37357,7 @@ const PEA = ({
|
|
|
37347
37357
|
}
|
|
37348
37358
|
),
|
|
37349
37359
|
/* @__PURE__ */ E.jsxs(vi, { p: 1, mb: 3, children: [
|
|
37350
|
-
/* @__PURE__ */ E.jsx(ln, { spacing: 3, justifyContent: "center", children: /* @__PURE__ */ E.jsx(
|
|
37360
|
+
/* @__PURE__ */ E.jsx(ln, { spacing: 3, justifyContent: "center", children: /* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", color: "danger.400", children: t }) }),
|
|
37351
37361
|
/* @__PURE__ */ E.jsx(ln, { spacing: 3, justifyContent: "center", children: o })
|
|
37352
37362
|
] }),
|
|
37353
37363
|
/* @__PURE__ */ E.jsx(Sc, { p: 1, children: /* @__PURE__ */ E.jsx(
|
|
@@ -37417,7 +37427,7 @@ const PEA = ({
|
|
|
37417
37427
|
borderColor: o,
|
|
37418
37428
|
borderRadius: "50px",
|
|
37419
37429
|
children: /* @__PURE__ */ E.jsx(XA, { justify: "space-between", align: "center", w: "100%", children: /* @__PURE__ */ E.jsx(
|
|
37420
|
-
|
|
37430
|
+
DA,
|
|
37421
37431
|
{
|
|
37422
37432
|
fontSize: "md",
|
|
37423
37433
|
whiteSpace: "pre-wrap",
|
|
@@ -37425,7 +37435,7 @@ const PEA = ({
|
|
|
37425
37435
|
w: "85%",
|
|
37426
37436
|
textAlign: "left",
|
|
37427
37437
|
color: e || "#333333",
|
|
37428
|
-
children: i ? /* @__PURE__ */ E.jsxs(
|
|
37438
|
+
children: i ? /* @__PURE__ */ E.jsxs(DA, { fontStyle: "italic", color: "gray.500", children: [
|
|
37429
37439
|
/* @__PURE__ */ E.jsx("span", { children: "." }),
|
|
37430
37440
|
/* @__PURE__ */ E.jsx("span", { children: "." }),
|
|
37431
37441
|
/* @__PURE__ */ E.jsx("span", { children: "." })
|
|
@@ -37482,14 +37492,14 @@ const $EA = ({
|
|
|
37482
37492
|
boxShadow: "0 0 0 rgba(0, 0, 0, 0.06)",
|
|
37483
37493
|
children: /* @__PURE__ */ E.jsxs(wA, { children: [
|
|
37484
37494
|
/* @__PURE__ */ E.jsxs(Ni, { fontFamily: "Sansation-Bold", children: [
|
|
37485
|
-
/* @__PURE__ */ E.jsx(
|
|
37486
|
-
/* @__PURE__ */ E.jsx(
|
|
37495
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "20px", children: A }),
|
|
37496
|
+
/* @__PURE__ */ E.jsx(DA, { fontSize: "28px", children: e })
|
|
37487
37497
|
] }),
|
|
37488
37498
|
/* @__PURE__ */ E.jsx(hs, { _hover: { backgroundColor: "white.100" }, hidden: s }),
|
|
37489
37499
|
/* @__PURE__ */ E.jsxs(vi, { display: "flex", alignItems: "center", justifyContent: "center", flexDirection: "column", children: [
|
|
37490
37500
|
/* @__PURE__ */ E.jsx(XA, { direction: "column", align: "center", gap: 1, children: t == null ? void 0 : t.map((u, I) => /* @__PURE__ */ E.jsxs(XA, { align: "center", justify: "flex-start", w: "100%", gap: 2, children: [
|
|
37491
37501
|
/* @__PURE__ */ E.jsx(wA, { mt: "2px", children: o || /* @__PURE__ */ E.jsx(ltA, { size: "20", color: "#2f93df" }) }),
|
|
37492
|
-
/* @__PURE__ */ E.jsx(
|
|
37502
|
+
/* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato", color: "black.400", fontSize: "16px", children: u.name })
|
|
37493
37503
|
] }, I)) }),
|
|
37494
37504
|
/* @__PURE__ */ E.jsx(
|
|
37495
37505
|
Ze,
|
|
@@ -37504,7 +37514,7 @@ const $EA = ({
|
|
|
37504
37514
|
_hover: {
|
|
37505
37515
|
backgroundColor: "assist.500"
|
|
37506
37516
|
},
|
|
37507
|
-
children: /* @__PURE__ */ E.jsx(
|
|
37517
|
+
children: /* @__PURE__ */ E.jsx(DA, { children: n })
|
|
37508
37518
|
}
|
|
37509
37519
|
)
|
|
37510
37520
|
] })
|
|
@@ -37517,7 +37527,7 @@ function ctA(A) {
|
|
|
37517
37527
|
}
|
|
37518
37528
|
const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirection: "row", onClick: e, color: "info.500", alignItems: "center", fontFamily: "Lato", fontSize: "1rem", maxWidth: "max-content", width: "100%", cursor: "pointer", children: [
|
|
37519
37529
|
/* @__PURE__ */ E.jsx(ctA, {}),
|
|
37520
|
-
/* @__PURE__ */ E.jsx(
|
|
37530
|
+
/* @__PURE__ */ E.jsx(DA, { marginLeft: ".5rem", children: A })
|
|
37521
37531
|
] }), gtA = ({
|
|
37522
37532
|
width: A = 200,
|
|
37523
37533
|
height: e = 195,
|
|
@@ -37646,7 +37656,7 @@ const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirect
|
|
|
37646
37656
|
children: [
|
|
37647
37657
|
r && /* @__PURE__ */ E.jsx(r, { width: "100%", height: "100%" }),
|
|
37648
37658
|
n || /* @__PURE__ */ E.jsx(
|
|
37649
|
-
|
|
37659
|
+
DA,
|
|
37650
37660
|
{
|
|
37651
37661
|
position: "absolute",
|
|
37652
37662
|
color: "white",
|
|
@@ -37723,7 +37733,7 @@ const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirect
|
|
|
37723
37733
|
children: [
|
|
37724
37734
|
/* @__PURE__ */ E.jsxs(XA, { align: "center", flex: "1", children: [
|
|
37725
37735
|
/* @__PURE__ */ E.jsx(wA, { mr: 3, children: r.icon }),
|
|
37726
|
-
/* @__PURE__ */ E.jsx(
|
|
37736
|
+
/* @__PURE__ */ E.jsx(DA, { fontWeight: "bold", fontSize: "19px", fontFamily: "Heading", children: r.name })
|
|
37727
37737
|
] }),
|
|
37728
37738
|
/* @__PURE__ */ E.jsxs(XA, { align: "center", flex: "1", justify: "flex-start", width: "45%", minW: "45%", children: [
|
|
37729
37739
|
/* @__PURE__ */ E.jsx(
|
|
@@ -37734,7 +37744,7 @@ const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirect
|
|
|
37734
37744
|
}
|
|
37735
37745
|
),
|
|
37736
37746
|
/* @__PURE__ */ E.jsx(
|
|
37737
|
-
|
|
37747
|
+
DA,
|
|
37738
37748
|
{
|
|
37739
37749
|
ml: 2,
|
|
37740
37750
|
mr: 2,
|
|
@@ -37749,7 +37759,7 @@ const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirect
|
|
|
37749
37759
|
}
|
|
37750
37760
|
),
|
|
37751
37761
|
r.numericPhone && /* @__PURE__ */ E.jsx(
|
|
37752
|
-
|
|
37762
|
+
DA,
|
|
37753
37763
|
{
|
|
37754
37764
|
color: "#21B06E",
|
|
37755
37765
|
fontSize: "16px",
|
|
@@ -37762,7 +37772,7 @@ const AIA = ({ text: A, onClick: e }) => /* @__PURE__ */ E.jsxs(XA, { flexDirect
|
|
|
37762
37772
|
] }),
|
|
37763
37773
|
/* @__PURE__ */ E.jsxs(XA, { align: "center", flex: "1", justify: "flex-end", children: [
|
|
37764
37774
|
/* @__PURE__ */ E.jsx(
|
|
37765
|
-
|
|
37775
|
+
DA,
|
|
37766
37776
|
{
|
|
37767
37777
|
ml: 2,
|
|
37768
37778
|
mr: 4,
|
|
@@ -37947,7 +37957,7 @@ const iIA = ({
|
|
|
37947
37957
|
children: /* @__PURE__ */ E.jsxs(XA, { align: "center", width: "100%", justifyContent: B ? "flex-start" : "center", children: [
|
|
37948
37958
|
B && /* @__PURE__ */ E.jsx(wA, { width: `${T * 12}px`, flexShrink: 0 }),
|
|
37949
37959
|
m.icon,
|
|
37950
|
-
B && /* @__PURE__ */ E.jsx(
|
|
37960
|
+
B && /* @__PURE__ */ E.jsx(DA, { ml: 2, transition: "font-weight 0.2s ease", color: "black.500", noOfLines: 1, children: m.title }),
|
|
37951
37961
|
J && B && /* @__PURE__ */ E.jsx(wA, { ml: 2, children: /* @__PURE__ */ E.jsx(utA, {}) })
|
|
37952
37962
|
] })
|
|
37953
37963
|
}
|
|
@@ -37987,10 +37997,10 @@ const iIA = ({
|
|
|
37987
37997
|
/* @__PURE__ */ E.jsxs(kt, { align: "start", pt: "20px", position: "relative", width: "100%", spacing: 0, children: [
|
|
37988
37998
|
/* @__PURE__ */ E.jsx(XA, { width: "100%", display: B ? "none" : "flex", justifyContent: "center", children: e }),
|
|
37989
37999
|
/* @__PURE__ */ E.jsxs(wA, { width: "100%", display: B ? "block" : "none", mb: 4, children: [
|
|
37990
|
-
/* @__PURE__ */ E.jsx(
|
|
38000
|
+
/* @__PURE__ */ E.jsx(DA, { color: "#5AA9E6", fontFamily: "Sansation-Bold", fontSize: "24px", width: "100%", children: t }),
|
|
37991
38001
|
/* @__PURE__ */ E.jsxs(XA, { width: "100%", justifyContent: "center", alignItems: "center", cursor: "pointer", children: [
|
|
37992
38002
|
Q,
|
|
37993
|
-
/* @__PURE__ */ E.jsx(
|
|
38003
|
+
/* @__PURE__ */ E.jsx(DA, { color: A, fontSize: "16px", children: h })
|
|
37994
38004
|
] })
|
|
37995
38005
|
] }),
|
|
37996
38006
|
/* @__PURE__ */ E.jsx(
|
|
@@ -38035,7 +38045,7 @@ const iIA = ({
|
|
|
38035
38045
|
userSelect: "none",
|
|
38036
38046
|
children: [
|
|
38037
38047
|
/* @__PURE__ */ E.jsx(
|
|
38038
|
-
|
|
38048
|
+
DA,
|
|
38039
38049
|
{
|
|
38040
38050
|
transition: "font-weight 0.2s ease",
|
|
38041
38051
|
fontFamily: "Sansation-Bold",
|
|
@@ -38088,7 +38098,7 @@ const iIA = ({
|
|
|
38088
38098
|
isActive: o === m.url,
|
|
38089
38099
|
children: /* @__PURE__ */ E.jsxs(XA, { children: [
|
|
38090
38100
|
m.icon,
|
|
38091
|
-
B && /* @__PURE__ */ E.jsx(
|
|
38101
|
+
B && /* @__PURE__ */ E.jsx(DA, { ml: 2, transition: "font-weight 0.2s ease", color: "black.500", children: m.title })
|
|
38092
38102
|
] })
|
|
38093
38103
|
},
|
|
38094
38104
|
T
|
|
@@ -38126,13 +38136,13 @@ const iIA = ({
|
|
|
38126
38136
|
mt: "4px",
|
|
38127
38137
|
children: [
|
|
38128
38138
|
/* @__PURE__ */ E.jsx(wA, { as: "span", textAlign: "center", children: /* @__PURE__ */ E.jsx(QtA, { width: 40, height: 40 }) }),
|
|
38129
|
-
/* @__PURE__ */ E.jsx(
|
|
38139
|
+
/* @__PURE__ */ E.jsx(DA, { fontFamily: "Heading", fontSize: "24px", children: "¡Atención!" })
|
|
38130
38140
|
]
|
|
38131
38141
|
}
|
|
38132
38142
|
),
|
|
38133
38143
|
/* @__PURE__ */ E.jsx(hs, { hidden: r }),
|
|
38134
38144
|
/* @__PURE__ */ E.jsx(vi, { margin: "0 auto", maxWidth: "320px", width: "100%", padding: "0", mb: "15px", children: /* @__PURE__ */ E.jsx(
|
|
38135
|
-
|
|
38145
|
+
DA,
|
|
38136
38146
|
{
|
|
38137
38147
|
fontFamily: "Lato",
|
|
38138
38148
|
fontSize: "19px",
|
|
@@ -38191,13 +38201,13 @@ const iIA = ({
|
|
|
38191
38201
|
mt: "4px",
|
|
38192
38202
|
children: [
|
|
38193
38203
|
/* @__PURE__ */ E.jsx(wA, { as: "span", textAlign: "center", children: /* @__PURE__ */ E.jsx(htA, { width: 40, height: 40 }) }),
|
|
38194
|
-
/* @__PURE__ */ E.jsx(
|
|
38204
|
+
/* @__PURE__ */ E.jsx(DA, { fontFamily: "Sansation-Bold", fontSize: "20px", children: "¡Atención!" })
|
|
38195
38205
|
]
|
|
38196
38206
|
}
|
|
38197
38207
|
),
|
|
38198
38208
|
/* @__PURE__ */ E.jsx(hs, { hidden: r }),
|
|
38199
38209
|
/* @__PURE__ */ E.jsx(vi, { margin: "0 auto", maxWidth: "310px", width: "100%", padding: "0", children: /* @__PURE__ */ E.jsx(
|
|
38200
|
-
|
|
38210
|
+
DA,
|
|
38201
38211
|
{
|
|
38202
38212
|
fontFamily: "Lato-Regular",
|
|
38203
38213
|
fontSize: "16px",
|
|
@@ -38369,7 +38379,7 @@ const mtA = ({ content: A }) => /* @__PURE__ */ E.jsx(
|
|
|
38369
38379
|
textAlign: "right",
|
|
38370
38380
|
justifyContent: "flex-end",
|
|
38371
38381
|
width: "fit-content",
|
|
38372
|
-
children: /* @__PURE__ */ E.jsx(
|
|
38382
|
+
children: /* @__PURE__ */ E.jsx(DA, { children: A })
|
|
38373
38383
|
}
|
|
38374
38384
|
), PF = {};
|
|
38375
38385
|
function StA(A) {
|
|
@@ -54255,7 +54265,7 @@ const aEA = {
|
|
|
54255
54265
|
},
|
|
54256
54266
|
children: [
|
|
54257
54267
|
/* @__PURE__ */ E.jsx(wA, { children: /* @__PURE__ */ E.jsx(
|
|
54258
|
-
|
|
54268
|
+
DA,
|
|
54259
54269
|
{
|
|
54260
54270
|
fontFamily: "Sansation-Regular, sans-serif",
|
|
54261
54271
|
fontSize: "17px",
|
|
@@ -54348,7 +54358,7 @@ const aEA = {
|
|
|
54348
54358
|
gap: "2",
|
|
54349
54359
|
children: [
|
|
54350
54360
|
/* @__PURE__ */ E.jsx(wA, { as: "span", textAlign: "center", children: /* @__PURE__ */ E.jsx(lEA, { width: 40, height: 40 }) }),
|
|
54351
|
-
/* @__PURE__ */ E.jsx(
|
|
54361
|
+
/* @__PURE__ */ E.jsx(DA, { fontFamily: "Sansation-Bold", fontSize: "24px", color: "danger.400", children: "¡Atención!" })
|
|
54352
54362
|
]
|
|
54353
54363
|
}
|
|
54354
54364
|
),
|
|
@@ -54363,9 +54373,9 @@ const aEA = {
|
|
|
54363
54373
|
textAlign: "center",
|
|
54364
54374
|
mt: "2",
|
|
54365
54375
|
children: [
|
|
54366
|
-
/* @__PURE__ */ E.jsx(
|
|
54376
|
+
/* @__PURE__ */ E.jsx(DA, { fontFamily: "Lato-Regular", fontSize: "19px", lineHeight: "1.4", children: i }),
|
|
54367
54377
|
r && /* @__PURE__ */ E.jsx(
|
|
54368
|
-
|
|
54378
|
+
DA,
|
|
54369
54379
|
{
|
|
54370
54380
|
fontFamily: "Lato-Regular",
|
|
54371
54381
|
fontSize: "19px",
|