@goodhood-web/nebenan-base 1.5.0-development.21 → 1.5.0-development.23
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/index.js +1 -1
- package/index.mjs +75 -73
- package/package.json +1 -1
- package/style.css +1 -1
package/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ var Qa = (n, e, i) => {
|
|
|
11
11
|
};
|
|
12
12
|
var yr = (n, e, i) => (qu(n, e, "access private method"), i);
|
|
13
13
|
import * as c from "react";
|
|
14
|
-
import ri, { useLayoutEffect as Rl, useEffect as
|
|
14
|
+
import ri, { useLayoutEffect as Rl, useEffect as We, forwardRef as S, Children as po, isValidElement as ko, cloneElement as bo, useRef as He, useState as Qe, useCallback as Oe, useMemo as wf, createContext as Al, createElement as Wu, useContext as Pl, Component as Ku } from "react";
|
|
15
15
|
import * as zl from "react-dom";
|
|
16
16
|
var oi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
17
17
|
function Ll(n) {
|
|
@@ -278,18 +278,18 @@ function Uu() {
|
|
|
278
278
|
if (dn && me && typeof dn.stack == "string") {
|
|
279
279
|
for (var xe = dn.stack.split(`
|
|
280
280
|
`), an = me.stack.split(`
|
|
281
|
-
`), qe = xe.length - 1,
|
|
282
|
-
|
|
283
|
-
for (; qe >= 1 &&
|
|
284
|
-
if (xe[qe] !== an[
|
|
285
|
-
if (qe !== 1 ||
|
|
281
|
+
`), qe = xe.length - 1, Ue = an.length - 1; qe >= 1 && Ue >= 0 && xe[qe] !== an[Ue]; )
|
|
282
|
+
Ue--;
|
|
283
|
+
for (; qe >= 1 && Ue >= 0; qe--, Ue--)
|
|
284
|
+
if (xe[qe] !== an[Ue]) {
|
|
285
|
+
if (qe !== 1 || Ue !== 1)
|
|
286
286
|
do
|
|
287
|
-
if (qe--,
|
|
287
|
+
if (qe--, Ue--, Ue < 0 || xe[qe] !== an[Ue]) {
|
|
288
288
|
var kn = `
|
|
289
289
|
` + xe[qe].replace(" at new ", " at ");
|
|
290
290
|
return k.displayName && kn.includes("<anonymous>") && (kn = kn.replace("<anonymous>", k.displayName)), typeof k == "function" && ae.set(k, kn), kn;
|
|
291
291
|
}
|
|
292
|
-
while (qe >= 1 &&
|
|
292
|
+
while (qe >= 1 && Ue >= 0);
|
|
293
293
|
break;
|
|
294
294
|
}
|
|
295
295
|
}
|
|
@@ -409,7 +409,7 @@ function Uu() {
|
|
|
409
409
|
}
|
|
410
410
|
return k.key !== void 0;
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Ze(k, $) {
|
|
413
413
|
if (typeof k.ref == "string" && ke.current && $ && ke.current.stateNode !== $) {
|
|
414
414
|
var K = I(ke.current.type);
|
|
415
415
|
N[K] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', I(ke.current.type), k.ref), N[K] = !0);
|
|
@@ -469,7 +469,7 @@ function Uu() {
|
|
|
469
469
|
function Pu(k, $, K, me, Te) {
|
|
470
470
|
{
|
|
471
471
|
var $e, Fe = {}, xe = null, an = null;
|
|
472
|
-
K !== void 0 && (pe(K), xe = "" + K), Pe($) && (pe($.key), xe = "" + $.key), Y($) && (an = $.ref,
|
|
472
|
+
K !== void 0 && (pe(K), xe = "" + K), Pe($) && (pe($.key), xe = "" + $.key), Y($) && (an = $.ref, Ze($, Te));
|
|
473
473
|
for ($e in $)
|
|
474
474
|
Gn.call($, $e) && !Ne.hasOwnProperty($e) && (Fe[$e] = $[$e]);
|
|
475
475
|
if (k && k.defaultProps) {
|
|
@@ -478,8 +478,8 @@ function Uu() {
|
|
|
478
478
|
Fe[$e] === void 0 && (Fe[$e] = qe[$e]);
|
|
479
479
|
}
|
|
480
480
|
if (xe || an) {
|
|
481
|
-
var
|
|
482
|
-
xe && Ka(Fe,
|
|
481
|
+
var Ue = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
482
|
+
xe && Ka(Fe, Ue), an && Ru(Fe, Ue);
|
|
483
483
|
}
|
|
484
484
|
return Au(k, xe, an, Te, me, ke.current, Fe);
|
|
485
485
|
}
|
|
@@ -606,9 +606,9 @@ Check the top-level render call using <` + K + ">.");
|
|
|
606
606
|
var qe;
|
|
607
607
|
k === null ? qe = "null" : C(k) ? qe = "array" : k !== void 0 && k.$$typeof === e ? (qe = "<" + (I(k.type) || "Unknown") + " />", xe = " Did you accidentally export a JSX literal instead of a component?") : qe = typeof k, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", qe, xe);
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
if (
|
|
611
|
-
return
|
|
609
|
+
var Ue = Pu(k, $, K, Te, $e);
|
|
610
|
+
if (Ue == null)
|
|
611
|
+
return Ue;
|
|
612
612
|
if (Fe) {
|
|
613
613
|
var kn = $.children;
|
|
614
614
|
if (kn !== void 0)
|
|
@@ -636,7 +636,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
636
636
|
<%s key={someKey} {...props} />`, Ya, ki, Hu, ki), kf[ki + Ya] = !0;
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
-
return k === t ? $u(
|
|
639
|
+
return k === t ? $u(Ue) : Bu(Ue), Ue;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
function ju(k, $, K) {
|
|
@@ -3760,7 +3760,7 @@ const D0 = b0, N0 = w0, H0 = p0, V0 = (n, e, i) => {
|
|
|
3760
3760
|
platform: a
|
|
3761
3761
|
});
|
|
3762
3762
|
};
|
|
3763
|
-
var Dr = typeof document < "u" ? Rl :
|
|
3763
|
+
var Dr = typeof document < "u" ? Rl : We;
|
|
3764
3764
|
function Qr(n, e) {
|
|
3765
3765
|
if (n === e)
|
|
3766
3766
|
return !0;
|
|
@@ -4819,8 +4819,8 @@ function ug(n) {
|
|
|
4819
4819
|
}, [f, u]), ge = c.useCallback((N, Y) => {
|
|
4820
4820
|
h == null || h(N, Y ?? null);
|
|
4821
4821
|
}, [h]), ue = c.useCallback((N, Y, Pe) => {
|
|
4822
|
-
var
|
|
4823
|
-
Y === "open" && (m == null || m(Pe), Pe === !1 && (N == null ? void 0 : N.type) !== "blur" && ((
|
|
4822
|
+
var Ze;
|
|
4823
|
+
Y === "open" && (m == null || m(Pe), Pe === !1 && (N == null ? void 0 : N.type) !== "blur" && ((Ze = T.current) == null || Ze.focus()));
|
|
4824
4824
|
}, [m]), Z = c.useCallback((N) => {
|
|
4825
4825
|
var Y;
|
|
4826
4826
|
return N == null ? null : ((Y = D.get(N)) == null ? void 0 : Y.ref.current) ?? null;
|
|
@@ -4868,18 +4868,18 @@ function ug(n) {
|
|
|
4868
4868
|
Gn.current || Y.current.focus({
|
|
4869
4869
|
preventScroll: !0
|
|
4870
4870
|
});
|
|
4871
|
-
const Pe = M.current.getBoundingClientRect(),
|
|
4872
|
-
|
|
4871
|
+
const Pe = M.current.getBoundingClientRect(), Ze = Y.current.getBoundingClientRect();
|
|
4872
|
+
Ze.top < Pe.top ? M.current.scrollTop -= Pe.top - Ze.top : Ze.bottom > Pe.bottom && (M.current.scrollTop += Ze.bottom - Pe.bottom);
|
|
4873
4873
|
}
|
|
4874
4874
|
}, [O, Ge, Ee]);
|
|
4875
4875
|
const Xn = c.useCallback((N) => Ee(N), [Ee]), Wi = (N) => (Y) => {
|
|
4876
4876
|
var Pe;
|
|
4877
4877
|
if ((Pe = N == null ? void 0 : N.onClick) == null || Pe.call(N, Y), !Y.defaultMuiPrevented) {
|
|
4878
|
-
const
|
|
4878
|
+
const Ze = {
|
|
4879
4879
|
type: Xr.buttonClick,
|
|
4880
4880
|
event: Y
|
|
4881
4881
|
};
|
|
4882
|
-
X(
|
|
4882
|
+
X(Ze);
|
|
4883
4883
|
}
|
|
4884
4884
|
}, zn = (N) => (Y) => {
|
|
4885
4885
|
var Pe;
|
|
@@ -4904,8 +4904,8 @@ function ug(n) {
|
|
|
4904
4904
|
...Pe(Y)
|
|
4905
4905
|
};
|
|
4906
4906
|
}, G = (N) => (Y) => {
|
|
4907
|
-
var Pe,
|
|
4908
|
-
(Pe = N.onBlur) == null || Pe.call(N, Y), !Y.defaultMuiPrevented && ((
|
|
4907
|
+
var Pe, Ze;
|
|
4908
|
+
(Pe = N.onBlur) == null || Pe.call(N, Y), !Y.defaultMuiPrevented && ((Ze = M.current) != null && Ze.contains(Y.relatedTarget) || Y.relatedTarget === T.current) && (Y.defaultMuiPrevented = !0);
|
|
4909
4909
|
}, J = (N = {}) => ({
|
|
4910
4910
|
onBlur: G(N)
|
|
4911
4911
|
}), se = (N = {}) => {
|
|
@@ -4932,8 +4932,8 @@ function ug(n) {
|
|
|
4932
4932
|
let Ne;
|
|
4933
4933
|
f ? Ne = ke.map((N) => Xn(N)).filter((N) => N !== void 0) : Ne = Xn(ke) ?? null;
|
|
4934
4934
|
const rn = (N) => (Y) => {
|
|
4935
|
-
var
|
|
4936
|
-
if ((
|
|
4935
|
+
var Ze;
|
|
4936
|
+
if ((Ze = N == null ? void 0 : N.onChange) == null || Ze.call(N, Y), Y.defaultMuiPrevented)
|
|
4937
4937
|
return;
|
|
4938
4938
|
const Pe = V.get(Y.target.value);
|
|
4939
4939
|
Y.target.value === "" ? X({
|
|
@@ -6025,11 +6025,11 @@ function jo({
|
|
|
6025
6025
|
}
|
|
6026
6026
|
);
|
|
6027
6027
|
}
|
|
6028
|
-
const Rk = "
|
|
6028
|
+
const Rk = "_overlay_yercy_106", Ak = "_sheet_yercy_117", Pk = "_sheetWrapper_yercy_128", zk = "_handle_yercy_138", Lk = "_sheetBody_yercy_146", Bk = "_sheetHeader_yercy_149", $k = "_sheetFooter_yercy_158", bi = {
|
|
6029
6029
|
overlay: Rk,
|
|
6030
|
-
"fade-in": "_fade-
|
|
6030
|
+
"fade-in": "_fade-in_yercy_1",
|
|
6031
6031
|
sheet: Ak,
|
|
6032
|
-
"slide-up": "_slide-
|
|
6032
|
+
"slide-up": "_slide-up_yercy_1",
|
|
6033
6033
|
sheetWrapper: Pk,
|
|
6034
6034
|
handle: zk,
|
|
6035
6035
|
sheetBody: Lk,
|
|
@@ -6043,7 +6043,9 @@ const Rk = "_overlay_kkgwk_106", Ak = "_sheet_kkgwk_117", Pk = "_sheetWrapper_kk
|
|
|
6043
6043
|
open: r,
|
|
6044
6044
|
sheetBody: a,
|
|
6045
6045
|
sheetHeader: s
|
|
6046
|
-
}) =>
|
|
6046
|
+
}) => (We(() => (r && (document.body.style.overflow = "hidden"), () => {
|
|
6047
|
+
document.body.style.overflow = "";
|
|
6048
|
+
}), [r]), r ? /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
|
6047
6049
|
/* @__PURE__ */ v.jsx("div", { className: bi.overlay, onClick: t, "data-testid": "overlay" }),
|
|
6048
6050
|
/* @__PURE__ */ v.jsx(
|
|
6049
6051
|
"dialog",
|
|
@@ -6065,7 +6067,7 @@ const Rk = "_overlay_kkgwk_106", Ak = "_sheet_kkgwk_117", Pk = "_sheetWrapper_kk
|
|
|
6065
6067
|
] })
|
|
6066
6068
|
}
|
|
6067
6069
|
)
|
|
6068
|
-
] }) : null, Ok = "_primaryButton_6hx2l_106", xt = {
|
|
6070
|
+
] }) : null), Ok = "_primaryButton_6hx2l_106", xt = {
|
|
6069
6071
|
primaryButton: Ok,
|
|
6070
6072
|
"primaryButton--fullWidth": "_primaryButton--fullWidth_6hx2l_117",
|
|
6071
6073
|
"primaryButton--medium": "_primaryButton--medium_6hx2l_120",
|
|
@@ -9140,9 +9142,9 @@ function dy(n) {
|
|
|
9140
9142
|
validateOnMount: s,
|
|
9141
9143
|
onSubmit: d
|
|
9142
9144
|
}, u), m = He(h.initialValues), g = He(h.initialErrors || _i), p = He(h.initialTouched || Ar), b = He(h.initialStatus), w = He(!1), y = He({});
|
|
9143
|
-
process.env.NODE_ENV !== "production" &&
|
|
9145
|
+
process.env.NODE_ENV !== "production" && We(function() {
|
|
9144
9146
|
typeof o > "u" || (process.env.NODE_ENV !== "production" ? Yi(!1, "isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead.") : Yi());
|
|
9145
|
-
}, []),
|
|
9147
|
+
}, []), We(function() {
|
|
9146
9148
|
return w.current = !0, function() {
|
|
9147
9149
|
w.current = !1;
|
|
9148
9150
|
};
|
|
@@ -9214,7 +9216,7 @@ function dy(n) {
|
|
|
9214
9216
|
})), G;
|
|
9215
9217
|
});
|
|
9216
9218
|
});
|
|
9217
|
-
|
|
9219
|
+
We(function() {
|
|
9218
9220
|
s && w.current === !0 && xi(m.current, h.initialValues) && I(m.current);
|
|
9219
9221
|
}, [s, I]);
|
|
9220
9222
|
var Q = Oe(function(C) {
|
|
@@ -9240,19 +9242,19 @@ function dy(n) {
|
|
|
9240
9242
|
} else
|
|
9241
9243
|
ke();
|
|
9242
9244
|
}, [h.initialErrors, h.initialStatus, h.initialTouched, h.onReset]);
|
|
9243
|
-
|
|
9245
|
+
We(function() {
|
|
9244
9246
|
w.current === !0 && !xi(m.current, h.initialValues) && l && (m.current = h.initialValues, Q(), s && I(m.current));
|
|
9245
|
-
}, [l, h.initialValues, Q, s, I]),
|
|
9247
|
+
}, [l, h.initialValues, Q, s, I]), We(function() {
|
|
9246
9248
|
l && w.current === !0 && !xi(g.current, h.initialErrors) && (g.current = h.initialErrors || _i, P({
|
|
9247
9249
|
type: "SET_ERRORS",
|
|
9248
9250
|
payload: h.initialErrors || _i
|
|
9249
9251
|
}));
|
|
9250
|
-
}, [l, h.initialErrors]),
|
|
9252
|
+
}, [l, h.initialErrors]), We(function() {
|
|
9251
9253
|
l && w.current === !0 && !xi(p.current, h.initialTouched) && (p.current = h.initialTouched || Ar, P({
|
|
9252
9254
|
type: "SET_TOUCHED",
|
|
9253
9255
|
payload: h.initialTouched || Ar
|
|
9254
9256
|
}));
|
|
9255
|
-
}, [l, h.initialTouched]),
|
|
9257
|
+
}, [l, h.initialTouched]), We(function() {
|
|
9256
9258
|
l && w.current === !0 && !xi(b.current, h.initialStatus) && (b.current = h.initialStatus, P({
|
|
9257
9259
|
type: "SET_STATUS",
|
|
9258
9260
|
payload: h.initialStatus
|
|
@@ -9352,12 +9354,12 @@ function dy(n) {
|
|
|
9352
9354
|
var J = G, se = C, pe;
|
|
9353
9355
|
if (!ps(C)) {
|
|
9354
9356
|
C.persist && C.persist();
|
|
9355
|
-
var ke = C.target ? C.target : C.currentTarget, Ne = ke.type, rn = ke.name, pi = ke.id, N = ke.value, Y = ke.checked, Pe = ke.outerHTML,
|
|
9357
|
+
var ke = C.target ? C.target : C.currentTarget, Ne = ke.type, rn = ke.name, pi = ke.id, N = ke.value, Y = ke.checked, Pe = ke.outerHTML, Ze = ke.options, Ka = ke.multiple;
|
|
9356
9358
|
J = G || rn || pi, !J && process.env.NODE_ENV !== "production" && Dd({
|
|
9357
9359
|
htmlContent: Pe,
|
|
9358
9360
|
documentationAnchorLink: "handlechange-e-reactchangeeventany--void",
|
|
9359
9361
|
handlerName: "handleChange"
|
|
9360
|
-
}), se = /number|range/.test(Ne) ? (pe = parseFloat(N), isNaN(pe) ? "" : pe) : /checkbox/.test(Ne) ? gy(gn(M.values, J), Y, N) :
|
|
9362
|
+
}), se = /number|range/.test(Ne) ? (pe = parseFloat(N), isNaN(pe) ? "" : pe) : /checkbox/.test(Ne) ? gy(gn(M.values, J), Y, N) : Ze && Ka ? hy(Ze) : N;
|
|
9361
9363
|
}
|
|
9362
9364
|
J && te(J, se);
|
|
9363
9365
|
}, [te, M.values]), de = bn(function(C) {
|
|
@@ -9610,7 +9612,7 @@ function gy(n, e, i) {
|
|
|
9610
9612
|
return !!e;
|
|
9611
9613
|
return e && i && !r ? t.concat(i) : r ? t.slice(0, a).concat(t.slice(a + 1)) : t;
|
|
9612
9614
|
}
|
|
9613
|
-
var my = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Rl :
|
|
9615
|
+
var my = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Rl : We;
|
|
9614
9616
|
function bn(n) {
|
|
9615
9617
|
var e = He(n);
|
|
9616
9618
|
return my(function() {
|
|
@@ -14326,26 +14328,26 @@ function U1(n) {
|
|
|
14326
14328
|
return U1(ji(n, r));
|
|
14327
14329
|
}, i;
|
|
14328
14330
|
}
|
|
14329
|
-
const
|
|
14330
|
-
|
|
14331
|
-
|
|
14332
|
-
|
|
14333
|
-
|
|
14334
|
-
|
|
14335
|
-
|
|
14336
|
-
|
|
14337
|
-
|
|
14338
|
-
|
|
14331
|
+
const Ke = U1(wr);
|
|
14332
|
+
Ke.Axios = Ti;
|
|
14333
|
+
Ke.CanceledError = kt;
|
|
14334
|
+
Ke.CancelToken = J8;
|
|
14335
|
+
Ke.isCancel = H1;
|
|
14336
|
+
Ke.VERSION = K1;
|
|
14337
|
+
Ke.toFormData = Ga;
|
|
14338
|
+
Ke.AxiosError = be;
|
|
14339
|
+
Ke.Cancel = Ke.CanceledError;
|
|
14340
|
+
Ke.all = function(e) {
|
|
14339
14341
|
return Promise.all(e);
|
|
14340
14342
|
};
|
|
14341
|
-
|
|
14342
|
-
|
|
14343
|
-
|
|
14344
|
-
|
|
14345
|
-
|
|
14346
|
-
|
|
14347
|
-
|
|
14348
|
-
|
|
14343
|
+
Ke.spread = Y8;
|
|
14344
|
+
Ke.isAxiosError = Q8;
|
|
14345
|
+
Ke.mergeConfig = ji;
|
|
14346
|
+
Ke.AxiosHeaders = cn;
|
|
14347
|
+
Ke.formToJSON = (n) => N1(E.isHTMLForm(n) ? new FormData(n) : n);
|
|
14348
|
+
Ke.getAdapter = W1.getAdapter;
|
|
14349
|
+
Ke.HttpStatusCode = oo;
|
|
14350
|
+
Ke.default = Ke;
|
|
14349
14351
|
const {
|
|
14350
14352
|
Axios: LF,
|
|
14351
14353
|
AxiosError: BF,
|
|
@@ -14363,9 +14365,9 @@ const {
|
|
|
14363
14365
|
formToJSON: WF,
|
|
14364
14366
|
getAdapter: KF,
|
|
14365
14367
|
mergeConfig: ZF
|
|
14366
|
-
} =
|
|
14368
|
+
} = Ke, uf = class uf {
|
|
14367
14369
|
static setup(e) {
|
|
14368
|
-
return this.instance || (this.instance =
|
|
14370
|
+
return this.instance || (this.instance = Ke.create({
|
|
14369
14371
|
baseURL: e.baseUrl
|
|
14370
14372
|
}), e.basicAuth && (this.instance.defaults.auth = {
|
|
14371
14373
|
password: e.basicAuth.password,
|
|
@@ -17782,7 +17784,7 @@ button {
|
|
|
17782
17784
|
`;
|
|
17783
17785
|
function gx(n) {
|
|
17784
17786
|
const e = He(null), i = He(null);
|
|
17785
|
-
return i.current && i.current.update(n),
|
|
17787
|
+
return i.current && i.current.update(n), We(() => (i.current = new cf({
|
|
17786
17788
|
...n,
|
|
17787
17789
|
ref: e
|
|
17788
17790
|
}), () => {
|
|
@@ -17796,7 +17798,7 @@ function Ts(n, e, i) {
|
|
|
17796
17798
|
}
|
|
17797
17799
|
var Ms = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown: "onMouseDown", mouseup: "onMouseUp", touchstart: "onTouchStart", touchend: "onTouchEnd" }, yu = function(n) {
|
|
17798
17800
|
var e, i = n.children, t = n.onClickAway, r = n.focusEvent, a = r === void 0 ? "focusin" : r, s = n.mouseEvent, o = s === void 0 ? "click" : s, f = n.touchEvent, l = f === void 0 ? "touchend" : f, d = He(null), u = He(null), h = He(!1);
|
|
17799
|
-
|
|
17801
|
+
We(function() {
|
|
17800
17802
|
return setTimeout(function() {
|
|
17801
17803
|
h.current = !0;
|
|
17802
17804
|
}, 0), function() {
|
|
@@ -17810,7 +17812,7 @@ var Ms = { click: "onClick", focusin: "onFocus", focusout: "onFocus", mousedown:
|
|
|
17810
17812
|
x && x(y);
|
|
17811
17813
|
};
|
|
17812
17814
|
};
|
|
17813
|
-
|
|
17815
|
+
We(function() {
|
|
17814
17816
|
var w, y, x = (w = (y = d.current) === null || y === void 0 ? void 0 : y.ownerDocument) !== null && w !== void 0 ? w : document, T = function(_) {
|
|
17815
17817
|
h.current && (d.current && d.current.contains(_.target) || u.current === _.target || !x.contains(_.target) || t(_));
|
|
17816
17818
|
};
|
|
@@ -56710,7 +56712,7 @@ const mx = "_emojiPopup_101b2_106", vx = "_emojiPopupHeader_101b2_116", Sl = {
|
|
|
56710
56712
|
const [r, a] = Qe(0), s = () => {
|
|
56711
56713
|
a(window.innerWidth);
|
|
56712
56714
|
};
|
|
56713
|
-
return
|
|
56715
|
+
return We(() => (s(), window.addEventListener("resize", s), () => {
|
|
56714
56716
|
window.removeEventListener("resize", s);
|
|
56715
56717
|
}), []), !r || i ? /* @__PURE__ */ v.jsx("div", { className: Nx.loadingSpinnerContainer, children: /* @__PURE__ */ v.jsx(Ex, {}) }) : r < 800 ? /* @__PURE__ */ v.jsx(Ox, { ...t, children: n }) : /* @__PURE__ */ v.jsx(Px, { ...e, children: n });
|
|
56716
56718
|
}, Hx = "_menuLinkList_1i579_106", Vx = {
|
|
@@ -56890,9 +56892,9 @@ const Ix = "_mobileHeaderBar_16ifw_106", Gx = "_typography_16ifw_117", qx = "_ti
|
|
|
56890
56892
|
const l = He(null), [d, u] = Qe(0), [h, m] = Qe(0), g = () => {
|
|
56891
56893
|
m(window.innerWidth);
|
|
56892
56894
|
};
|
|
56893
|
-
|
|
56895
|
+
We(() => (g(), window.addEventListener("resize", g), () => {
|
|
56894
56896
|
window.removeEventListener("resize", g);
|
|
56895
|
-
}), []),
|
|
56897
|
+
}), []), We(() => {
|
|
56896
56898
|
l.current !== null && u(l.current.offsetHeight);
|
|
56897
56899
|
}, [h]);
|
|
56898
56900
|
const p = () => {
|
|
@@ -57066,7 +57068,7 @@ function BS(n, {
|
|
|
57066
57068
|
},
|
|
57067
57069
|
[n, y, a, t, x, w]
|
|
57068
57070
|
);
|
|
57069
|
-
return
|
|
57071
|
+
return We(() => {
|
|
57070
57072
|
if (!window)
|
|
57071
57073
|
return;
|
|
57072
57074
|
function _(M) {
|
|
@@ -57076,12 +57078,12 @@ function BS(n, {
|
|
|
57076
57078
|
return window.addEventListener("mouseup", _), window.addEventListener("touchend", _), window.addEventListener("pointerup", _), () => {
|
|
57077
57079
|
window.removeEventListener("mouseup", _), window.removeEventListener("touchend", _), window.removeEventListener("pointerup", _);
|
|
57078
57080
|
};
|
|
57079
|
-
}, [y]),
|
|
57081
|
+
}, [y]), We(
|
|
57080
57082
|
() => () => {
|
|
57081
57083
|
g.current !== void 0 && clearTimeout(g.current);
|
|
57082
57084
|
},
|
|
57083
57085
|
[]
|
|
57084
|
-
),
|
|
57086
|
+
), We(() => {
|
|
57085
57087
|
p.current = n;
|
|
57086
57088
|
}, [n]), T;
|
|
57087
57089
|
}
|
|
@@ -57289,7 +57291,7 @@ const Ln = {
|
|
|
57289
57291
|
), b = () => {
|
|
57290
57292
|
h.current && clearTimeout(h.current);
|
|
57291
57293
|
};
|
|
57292
|
-
|
|
57294
|
+
We(() => {
|
|
57293
57295
|
const ie = () => {
|
|
57294
57296
|
u("ontouchstart" in window);
|
|
57295
57297
|
};
|
|
@@ -57582,7 +57584,7 @@ const _F = "_cardHeader_aocle_106", yF = "_cardBody_aocle_117", xF = "_tabsList_
|
|
|
57582
57584
|
console.error("Error fetching reactions:", ee);
|
|
57583
57585
|
}
|
|
57584
57586
|
}, [a, u, l, i]);
|
|
57585
|
-
|
|
57587
|
+
We(() => (r && b(), () => {
|
|
57586
57588
|
g([]);
|
|
57587
57589
|
}), [r, l, b]);
|
|
57588
57590
|
const w = (ee, D) => {
|