@ukpc-lib/react 0.16.2-dev.3 → 0.16.3-dev.4
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/components/FavoriteMenu/components/MenuItem.d.ts +2 -1
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +1 -0
- package/dist/components/GlobalMenu/helpers/index.d.ts +3 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.esm2017-LTgSfnax.js → index.esm2017-BqpQWqJC.js} +3120 -3114
- package/dist/{index.esm2017-CqyZ1p2Z.cjs → index.esm2017-C-HHU_vB.cjs} +103 -103
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +2 -2
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/base-breadcrumbs/index.js +2 -2
- package/web-components-bundle/favorite-menu/index.js +6 -6
- package/web-components-bundle/global-menu/index.js +5 -5
- package/web-components-bundle/global-topbar/index.js +6 -6
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-DqxmsDJs.js → index-BUE-pz1x.js} +1 -1
- package/web-components-bundle/{index-Ch-015PG.js → index-CiYHK3Rq.js} +1 -1
- package/web-components-bundle/{index-BU5SX9Tl.js → index-DzW7qqrH.js} +537 -537
- package/web-components-bundle/{index-Dwj8e2_y.js → index-Jn6GHi9p.js} +328 -322
- package/web-components-bundle/page-not-found/index.js +2 -2
- package/web-components-bundle/{react-to-web-component-w5r1Fs9q.js → react-to-web-component-BOygDorD.js} +1535 -1527
- package/web-components-bundle/{react-toastify.esm-H_Xdunfj.js → react-toastify.esm-DnABvuky.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { c as Fi, g as yu, r as A, R as Ne, j as L, a as Kd, b as Up, s as zp, d as fV } from "./react-to-web-component-
|
|
2
|
-
import { t as KD, I as dV, i as hV, L as hy } from "./index-
|
|
3
|
-
import { _ as Zo, i as Jh, s as pV, a as Te, b as py, f as mV, r as my, n as Wn, t as XD, e as gV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as vV, T as JD, u as yV, v as bV, w as xV, x as ek, y as Er, D as wV, z as tp, A as SV, B as tk, C as TV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as CV, L as xu, M as kf, N as or, O as _V, P as nk, Q as rk, R as qr, S as EV, U as DV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as kV, a0 as yS, a1 as OV, a2 as Qd, a3 as PV, a4 as rp, a5 as MV, a6 as AV, a7 as Dn, a8 as IV, a9 as RV, aa as LV, ab as ok, ac as ak, ad as lk } from "./index-
|
|
1
|
+
import { c as Fi, g as yu, r as A, R as Ne, j as L, a as Kd, b as Up, s as zp, d as fV } from "./react-to-web-component-BOygDorD.js";
|
|
2
|
+
import { t as KD, I as dV, i as hV, L as hy } from "./index-CiYHK3Rq.js";
|
|
3
|
+
import { _ as Zo, i as Jh, s as pV, a as Te, b as py, f as mV, r as my, n as Wn, t as XD, e as gV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as vV, T as JD, u as yV, v as bV, w as xV, x as ek, y as Er, D as wV, z as tp, A as SV, B as tk, C as TV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as CV, L as xu, M as kf, N as or, O as _V, P as nk, Q as rk, R as qr, S as EV, U as DV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as kV, a0 as yS, a1 as OV, a2 as Qd, a3 as PV, a4 as rp, a5 as MV, a6 as AV, a7 as Dn, a8 as IV, a9 as RV, aa as LV, ab as ok, ac as ak, ad as lk } from "./index-DzW7qqrH.js";
|
|
4
4
|
import { c as $s } from "./clsx-DB4S2d7J.js";
|
|
5
|
-
import { S as Z0 } from "./index-
|
|
6
|
-
import { B as J0 } from "./react-toastify.esm-
|
|
5
|
+
import { S as Z0 } from "./index-BUE-pz1x.js";
|
|
6
|
+
import { B as J0 } from "./react-toastify.esm-DnABvuky.js";
|
|
7
7
|
import "./toast-config/index.js";
|
|
8
8
|
import "./toast-config-notification/index.js";
|
|
9
9
|
import { _ as bS } from "./setPrototypeOf-CP0c5ut2.js";
|
|
@@ -1964,22 +1964,22 @@ un.getAdapter = Fk.getAdapter;
|
|
|
1964
1964
|
un.HttpStatusCode = xy;
|
|
1965
1965
|
un.default = un;
|
|
1966
1966
|
const {
|
|
1967
|
-
Axios:
|
|
1968
|
-
AxiosError:
|
|
1969
|
-
CanceledError:
|
|
1970
|
-
isCancel:
|
|
1971
|
-
CancelToken:
|
|
1972
|
-
VERSION:
|
|
1973
|
-
all:
|
|
1974
|
-
Cancel:
|
|
1975
|
-
isAxiosError:
|
|
1976
|
-
spread:
|
|
1977
|
-
toFormData:
|
|
1978
|
-
AxiosHeaders:
|
|
1979
|
-
HttpStatusCode:
|
|
1980
|
-
formToJSON:
|
|
1981
|
-
getAdapter:
|
|
1982
|
-
mergeConfig:
|
|
1967
|
+
Axios: nfe,
|
|
1968
|
+
AxiosError: rfe,
|
|
1969
|
+
CanceledError: ife,
|
|
1970
|
+
isCancel: sfe,
|
|
1971
|
+
CancelToken: ofe,
|
|
1972
|
+
VERSION: afe,
|
|
1973
|
+
all: lfe,
|
|
1974
|
+
Cancel: ufe,
|
|
1975
|
+
isAxiosError: cfe,
|
|
1976
|
+
spread: ffe,
|
|
1977
|
+
toFormData: dfe,
|
|
1978
|
+
AxiosHeaders: hfe,
|
|
1979
|
+
HttpStatusCode: pfe,
|
|
1980
|
+
formToJSON: mfe,
|
|
1981
|
+
getAdapter: gfe,
|
|
1982
|
+
mergeConfig: vfe
|
|
1983
1983
|
} = un;
|
|
1984
1984
|
var Af = /* @__PURE__ */ function() {
|
|
1985
1985
|
function e() {
|
|
@@ -2714,28 +2714,28 @@ function h5() {
|
|
|
2714
2714
|
var v = typeof h < "u", Y = v ? h : jS(t.options, b);
|
|
2715
2715
|
j = N(b, v, Y);
|
|
2716
2716
|
} else if (y) {
|
|
2717
|
-
var z = typeof h < "u",
|
|
2718
|
-
j = N(b, z,
|
|
2717
|
+
var z = typeof h < "u", oe = z ? h : p5(t.options, b);
|
|
2718
|
+
j = N(b, z, oe, !0);
|
|
2719
2719
|
} else
|
|
2720
2720
|
(function() {
|
|
2721
2721
|
_ = [];
|
|
2722
|
-
var
|
|
2723
|
-
j = te ? N([],
|
|
2722
|
+
var se = typeof t.options.getNextPageParam > "u", te = c && b[0] ? c(b[0], 0, b) : !0;
|
|
2723
|
+
j = te ? N([], se, C[0]) : Promise.resolve(V([], C[0], b[0]));
|
|
2724
2724
|
for (var fe = function(re) {
|
|
2725
2725
|
j = j.then(function(ve) {
|
|
2726
2726
|
var we = c && b[re] ? c(b[re], re, b) : !0;
|
|
2727
2727
|
if (we) {
|
|
2728
|
-
var Ce =
|
|
2729
|
-
return N(ve,
|
|
2728
|
+
var Ce = se ? C[re] : jS(t.options, ve);
|
|
2729
|
+
return N(ve, se, Ce);
|
|
2730
2730
|
}
|
|
2731
2731
|
return Promise.resolve(V(ve, C[re], b[re]));
|
|
2732
2732
|
});
|
|
2733
2733
|
}, de = 1; de < b.length; de++)
|
|
2734
2734
|
fe(de);
|
|
2735
2735
|
})();
|
|
2736
|
-
var ae = j.then(function(
|
|
2736
|
+
var ae = j.then(function(se) {
|
|
2737
2737
|
return {
|
|
2738
|
-
pages:
|
|
2738
|
+
pages: se,
|
|
2739
2739
|
pageParams: _
|
|
2740
2740
|
};
|
|
2741
2741
|
}), ye = ae;
|
|
@@ -3038,16 +3038,16 @@ var m5 = /* @__PURE__ */ function() {
|
|
|
3038
3038
|
else
|
|
3039
3039
|
j = C.data;
|
|
3040
3040
|
if (typeof s.placeholderData < "u" && typeof j > "u" && (P === "loading" || P === "idle")) {
|
|
3041
|
-
var
|
|
3041
|
+
var oe;
|
|
3042
3042
|
if (c != null && c.isPlaceholderData && s.placeholderData === (h == null ? void 0 : h.placeholderData))
|
|
3043
|
-
|
|
3044
|
-
else if (
|
|
3043
|
+
oe = c.data;
|
|
3044
|
+
else if (oe = typeof s.placeholderData == "function" ? s.placeholderData() : s.placeholderData, s.select && typeof oe < "u")
|
|
3045
3045
|
try {
|
|
3046
|
-
|
|
3046
|
+
oe = s.select(oe), s.structuralSharing !== !1 && (oe = my(c == null ? void 0 : c.data, oe)), this.selectError = null;
|
|
3047
3047
|
} catch (ye) {
|
|
3048
3048
|
ep().error(ye), this.selectError = ye;
|
|
3049
3049
|
}
|
|
3050
|
-
typeof
|
|
3050
|
+
typeof oe < "u" && (P = "success", j = oe, N = !0);
|
|
3051
3051
|
}
|
|
3052
3052
|
this.selectError && (E = this.selectError, j = this.selectResult, _ = Date.now(), P = "error");
|
|
3053
3053
|
var ae = {
|
|
@@ -3895,11 +3895,11 @@ function KS(e) {
|
|
|
3895
3895
|
}
|
|
3896
3896
|
if (i === Cr || (i === Tr || i === Si) && s === rf) {
|
|
3897
3897
|
P = Ti;
|
|
3898
|
-
var
|
|
3898
|
+
var oe = p && j === N && N.visualViewport ? N.visualViewport.width : (
|
|
3899
3899
|
// $FlowFixMe[prop-missing]
|
|
3900
3900
|
j[Y]
|
|
3901
3901
|
);
|
|
3902
|
-
b -=
|
|
3902
|
+
b -= oe - r.width, b *= c ? 1 : -1;
|
|
3903
3903
|
}
|
|
3904
3904
|
}
|
|
3905
3905
|
var ae = Object.assign({
|
|
@@ -3912,8 +3912,8 @@ function KS(e) {
|
|
|
3912
3912
|
y: w
|
|
3913
3913
|
};
|
|
3914
3914
|
if (b = ye.x, w = ye.y, c) {
|
|
3915
|
-
var
|
|
3916
|
-
return Object.assign({}, ae, (
|
|
3915
|
+
var se;
|
|
3916
|
+
return Object.assign({}, ae, (se = {}, se[V] = I ? "0" : "", se[P] = _ ? "0" : "", se.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + b + "px, " + w + "px)" : "translate3d(" + b + "px, " + w + "px, 0)", se));
|
|
3917
3917
|
}
|
|
3918
3918
|
return Object.assign({}, ae, (t = {}, t[V] = I ? w + "px" : "", t[P] = _ ? b + "px" : "", t.transform = "", t));
|
|
3919
3919
|
}
|
|
@@ -4119,7 +4119,7 @@ function sf(e, t) {
|
|
|
4119
4119
|
reference: j,
|
|
4120
4120
|
element: P,
|
|
4121
4121
|
placement: i
|
|
4122
|
-
}), Y = Cy(Object.assign({}, P, v)), z = y === gc ? Y : j,
|
|
4122
|
+
}), Y = Cy(Object.assign({}, P, v)), z = y === gc ? Y : j, oe = {
|
|
4123
4123
|
top: N.top - z.top + _.top,
|
|
4124
4124
|
bottom: z.bottom - N.bottom + _.bottom,
|
|
4125
4125
|
left: N.left - z.left + _.left,
|
|
@@ -4127,12 +4127,12 @@ function sf(e, t) {
|
|
|
4127
4127
|
}, ae = e.modifiersData.offset;
|
|
4128
4128
|
if (y === gc && ae) {
|
|
4129
4129
|
var ye = ae[i];
|
|
4130
|
-
Object.keys(
|
|
4131
|
-
var te = [Ti, Si].indexOf(
|
|
4132
|
-
se
|
|
4130
|
+
Object.keys(oe).forEach(function(se) {
|
|
4131
|
+
var te = [Ti, Si].indexOf(se) >= 0 ? 1 : -1, fe = [Tr, Si].indexOf(se) >= 0 ? "y" : "x";
|
|
4132
|
+
oe[se] += ye[fe] * te;
|
|
4133
4133
|
});
|
|
4134
4134
|
}
|
|
4135
|
-
return
|
|
4135
|
+
return oe;
|
|
4136
4136
|
}
|
|
4137
4137
|
function M4(e, t) {
|
|
4138
4138
|
t === void 0 && (t = {});
|
|
@@ -4163,23 +4163,23 @@ function A4(e) {
|
|
|
4163
4163
|
function I4(e) {
|
|
4164
4164
|
var t = e.state, n = e.options, r = e.name;
|
|
4165
4165
|
if (!t.modifiersData[r]._skip) {
|
|
4166
|
-
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, c = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, y = n.altBoundary, b = n.flipVariations, C = b === void 0 ? !0 : b, w = n.allowedAutoPlacements, E = t.options.placement, _ = us(E), I = _ === E, P = c || (I || !C ? [Dh(E)] : A4(E)), V = [E].concat(P).reduce(function(Me,
|
|
4167
|
-
return Me.concat(us(
|
|
4168
|
-
placement:
|
|
4166
|
+
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, c = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, y = n.altBoundary, b = n.flipVariations, C = b === void 0 ? !0 : b, w = n.allowedAutoPlacements, E = t.options.placement, _ = us(E), I = _ === E, P = c || (I || !C ? [Dh(E)] : A4(E)), V = [E].concat(P).reduce(function(Me, Be) {
|
|
4167
|
+
return Me.concat(us(Be) === fb ? M4(t, {
|
|
4168
|
+
placement: Be,
|
|
4169
4169
|
boundary: h,
|
|
4170
4170
|
rootBoundary: p,
|
|
4171
4171
|
padding: d,
|
|
4172
4172
|
flipVariations: C,
|
|
4173
4173
|
allowedAutoPlacements: w
|
|
4174
|
-
}) :
|
|
4175
|
-
}, []), N = t.rects.reference, j = t.rects.popper, v = /* @__PURE__ */ new Map(), Y = !0, z = V[0],
|
|
4176
|
-
var ae = V[
|
|
4174
|
+
}) : Be);
|
|
4175
|
+
}, []), N = t.rects.reference, j = t.rects.popper, v = /* @__PURE__ */ new Map(), Y = !0, z = V[0], oe = 0; oe < V.length; oe++) {
|
|
4176
|
+
var ae = V[oe], ye = us(ae), se = cu(ae) === au, te = [Tr, Si].indexOf(ye) >= 0, fe = te ? "width" : "height", de = sf(t, {
|
|
4177
4177
|
placement: ae,
|
|
4178
4178
|
boundary: h,
|
|
4179
4179
|
rootBoundary: p,
|
|
4180
4180
|
altBoundary: y,
|
|
4181
4181
|
padding: d
|
|
4182
|
-
}), le = te ?
|
|
4182
|
+
}), le = te ? se ? Ti : Cr : se ? Si : Tr;
|
|
4183
4183
|
N[fe] > j[fe] && (le = Dh(le));
|
|
4184
4184
|
var re = Dh(le), ve = [];
|
|
4185
4185
|
if (s && ve.push(de[ye] <= 0), l && ve.push(de[le] <= 0, de[re] <= 0), ve.every(function(Me) {
|
|
@@ -4191,11 +4191,11 @@ function I4(e) {
|
|
|
4191
4191
|
v.set(ae, ve);
|
|
4192
4192
|
}
|
|
4193
4193
|
if (Y)
|
|
4194
|
-
for (var we = C ? 3 : 1, Ce = function(
|
|
4194
|
+
for (var we = C ? 3 : 1, Ce = function(Be) {
|
|
4195
4195
|
var ft = V.find(function(It) {
|
|
4196
4196
|
var dt = v.get(It);
|
|
4197
4197
|
if (dt)
|
|
4198
|
-
return dt.slice(0,
|
|
4198
|
+
return dt.slice(0, Be).every(function(xt) {
|
|
4199
4199
|
return xt;
|
|
4200
4200
|
});
|
|
4201
4201
|
});
|
|
@@ -4309,7 +4309,7 @@ function H4(e) {
|
|
|
4309
4309
|
altBoundary: h
|
|
4310
4310
|
}), _ = us(t.placement), I = cu(t.placement), P = !I, V = pb(_), N = W4(V), j = t.modifiersData.popperOffsets, v = t.rects.reference, Y = t.rects.popper, z = typeof w == "function" ? w(Object.assign({}, t.rects, {
|
|
4311
4311
|
placement: t.placement
|
|
4312
|
-
})) : w,
|
|
4312
|
+
})) : w, oe = typeof z == "number" ? {
|
|
4313
4313
|
mainAxis: z,
|
|
4314
4314
|
altAxis: z
|
|
4315
4315
|
} : Object.assign({
|
|
@@ -4321,14 +4321,14 @@ function H4(e) {
|
|
|
4321
4321
|
};
|
|
4322
4322
|
if (j) {
|
|
4323
4323
|
if (s) {
|
|
4324
|
-
var
|
|
4324
|
+
var se, te = V === "y" ? Tr : Cr, fe = V === "y" ? Si : Ti, de = V === "y" ? "height" : "width", le = j[V], re = le + E[te], ve = le - E[fe], we = b ? -Y[de] / 2 : 0, Ce = I === au ? v[de] : Y[de], Pe = I === au ? -Y[de] : -v[de], je = t.elements.arrow, Me = b && je ? hb(je) : {
|
|
4325
4325
|
width: 0,
|
|
4326
4326
|
height: 0
|
|
4327
|
-
},
|
|
4327
|
+
}, Be = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : lO(), ft = Be[te], It = Be[fe], dt = jc(0, v[de], Me[de]), xt = P ? v[de] / 2 - we - dt - ft - oe.mainAxis : Ce - dt - ft - oe.mainAxis, Dt = P ? -v[de] / 2 + we + dt + It + oe.mainAxis : Pe + dt + It + oe.mainAxis, Ve = t.elements.arrow && Rf(t.elements.arrow), Tt = Ve ? V === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, tn = (se = ae == null ? void 0 : ae[V]) != null ? se : 0, Rt = le + xt - tn - Tt, Ht = le + Dt - tn, ur = jc(b ? sp(re, Rt) : re, le, b ? Ga(ve, Ht) : ve);
|
|
4328
4328
|
j[V] = ur, ye[V] = ur - le;
|
|
4329
4329
|
}
|
|
4330
4330
|
if (l) {
|
|
4331
|
-
var mn, cn = V === "x" ? Tr : Cr, oo = V === "x" ? Si : Ti, gn = j[N], fn = N === "y" ? "height" : "width", Ut = gn + E[cn], kn = gn - E[oo], cr = [Tr, Cr].indexOf(_) !== -1, Ae = (mn = ae == null ? void 0 : ae[N]) != null ? mn : 0, zt = cr ? Ut : gn - v[fn] - Y[fn] - Ae +
|
|
4331
|
+
var mn, cn = V === "x" ? Tr : Cr, oo = V === "x" ? Si : Ti, gn = j[N], fn = N === "y" ? "height" : "width", Ut = gn + E[cn], kn = gn - E[oo], cr = [Tr, Cr].indexOf(_) !== -1, Ae = (mn = ae == null ? void 0 : ae[N]) != null ? mn : 0, zt = cr ? Ut : gn - v[fn] - Y[fn] - Ae + oe.altAxis, Dr = cr ? gn + v[fn] + Y[fn] - Ae - oe.altAxis : kn, kr = b && cr ? h4(zt, gn, Dr) : jc(b ? zt : Ut, gn, b ? Dr : kn);
|
|
4332
4332
|
j[N] = kr, ye[N] = kr - gn;
|
|
4333
4333
|
}
|
|
4334
4334
|
t.modifiersData[r] = ye;
|
|
@@ -4473,8 +4473,8 @@ function J4(e) {
|
|
|
4473
4473
|
h.rects = {
|
|
4474
4474
|
reference: G4(I, Rf(P), h.options.strategy === "fixed"),
|
|
4475
4475
|
popper: hb(P)
|
|
4476
|
-
}, h.reset = !1, h.placement = h.options.placement, h.orderedModifiers.forEach(function(
|
|
4477
|
-
return h.modifiersData[
|
|
4476
|
+
}, h.reset = !1, h.placement = h.options.placement, h.orderedModifiers.forEach(function(oe) {
|
|
4477
|
+
return h.modifiersData[oe.name] = Object.assign({}, oe.data);
|
|
4478
4478
|
});
|
|
4479
4479
|
for (var V = 0; V < h.orderedModifiers.length; V++) {
|
|
4480
4480
|
if (h.reset === !0) {
|
|
@@ -4620,11 +4620,11 @@ const uH = (e) => {
|
|
|
4620
4620
|
np(() => {
|
|
4621
4621
|
N.current = V;
|
|
4622
4622
|
}, [V]), A.useImperativeHandle(y, () => P.current, []);
|
|
4623
|
-
const j = aH(h, o), [v, Y] = A.useState(j), [z,
|
|
4623
|
+
const j = aH(h, o), [v, Y] = A.useState(j), [z, oe] = A.useState(_y(i));
|
|
4624
4624
|
A.useEffect(() => {
|
|
4625
4625
|
P.current && P.current.forceUpdate();
|
|
4626
4626
|
}), A.useEffect(() => {
|
|
4627
|
-
i &&
|
|
4627
|
+
i && oe(_y(i));
|
|
4628
4628
|
}, [i]), np(() => {
|
|
4629
4629
|
if (!z || !d)
|
|
4630
4630
|
return;
|
|
@@ -4665,8 +4665,8 @@ const uH = (e) => {
|
|
|
4665
4665
|
placement: v
|
|
4666
4666
|
};
|
|
4667
4667
|
w !== null && (ae.TransitionProps = w);
|
|
4668
|
-
const ye = uH(t),
|
|
4669
|
-
elementType:
|
|
4668
|
+
const ye = uH(t), se = (r = C.root) != null ? r : "div", te = CV({
|
|
4669
|
+
elementType: se,
|
|
4670
4670
|
externalSlotProps: b.root,
|
|
4671
4671
|
externalForwardedProps: E,
|
|
4672
4672
|
additionalProps: {
|
|
@@ -4676,7 +4676,7 @@ const uH = (e) => {
|
|
|
4676
4676
|
ownerState: t,
|
|
4677
4677
|
className: ye.root
|
|
4678
4678
|
});
|
|
4679
|
-
return /* @__PURE__ */ L.jsx(
|
|
4679
|
+
return /* @__PURE__ */ L.jsx(se, Te({}, te, {
|
|
4680
4680
|
children: typeof s == "function" ? s(ae) : s
|
|
4681
4681
|
}));
|
|
4682
4682
|
}), dH = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
@@ -4707,8 +4707,8 @@ const uH = (e) => {
|
|
|
4707
4707
|
if (s)
|
|
4708
4708
|
v = s;
|
|
4709
4709
|
else if (r) {
|
|
4710
|
-
const
|
|
4711
|
-
v =
|
|
4710
|
+
const oe = _y(r);
|
|
4711
|
+
v = oe && lH(oe) ? vS(oe).body : vS(null).body;
|
|
4712
4712
|
}
|
|
4713
4713
|
const Y = !h && c && (!w || P) ? "none" : void 0, z = w ? {
|
|
4714
4714
|
in: h,
|
|
@@ -4860,20 +4860,20 @@ const wH = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
4860
4860
|
tabIndex: N,
|
|
4861
4861
|
type: j,
|
|
4862
4862
|
value: v
|
|
4863
|
-
} = t, Y = Er(t, wH), [z,
|
|
4863
|
+
} = t, Y = Er(t, wH), [z, oe] = rk({
|
|
4864
4864
|
controlled: i,
|
|
4865
4865
|
default: !!l,
|
|
4866
4866
|
name: "SwitchBase",
|
|
4867
4867
|
state: "checked"
|
|
4868
4868
|
}), ae = gH(), ye = (ve) => {
|
|
4869
4869
|
I && I(ve), ae && ae.onFocus && ae.onFocus(ve);
|
|
4870
|
-
},
|
|
4870
|
+
}, se = (ve) => {
|
|
4871
4871
|
E && E(ve), ae && ae.onBlur && ae.onBlur(ve);
|
|
4872
4872
|
}, te = (ve) => {
|
|
4873
4873
|
if (ve.nativeEvent.defaultPrevented)
|
|
4874
4874
|
return;
|
|
4875
4875
|
const we = ve.target.checked;
|
|
4876
|
-
|
|
4876
|
+
oe(we), _ && _(ve, we);
|
|
4877
4877
|
};
|
|
4878
4878
|
let fe = c;
|
|
4879
4879
|
ae && typeof fe > "u" && (fe = ae.disabled);
|
|
@@ -4892,7 +4892,7 @@ const wH = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
4892
4892
|
tabIndex: null,
|
|
4893
4893
|
role: void 0,
|
|
4894
4894
|
onFocus: ye,
|
|
4895
|
-
onBlur:
|
|
4895
|
+
onBlur: se,
|
|
4896
4896
|
ownerState: le,
|
|
4897
4897
|
ref: n
|
|
4898
4898
|
}, Y, {
|
|
@@ -5352,8 +5352,8 @@ const YH = (e) => {
|
|
|
5352
5352
|
wrap: w = "wrap",
|
|
5353
5353
|
zeroMinWidth: E = !1
|
|
5354
5354
|
} = s, _ = Er(s, FH), I = b || C, P = c || C, V = A.useContext(oT), N = h ? l || 12 : V, j = {}, v = Te({}, _);
|
|
5355
|
-
i.keys.forEach((
|
|
5356
|
-
_[
|
|
5355
|
+
i.keys.forEach((oe) => {
|
|
5356
|
+
_[oe] != null && (j[oe] = _[oe], delete v[oe]);
|
|
5357
5357
|
});
|
|
5358
5358
|
const Y = Te({}, s, {
|
|
5359
5359
|
columns: N,
|
|
@@ -5434,7 +5434,7 @@ const KH = {
|
|
|
5434
5434
|
delay: re,
|
|
5435
5435
|
easing: ve
|
|
5436
5436
|
})].join(","), c && c(fe, de);
|
|
5437
|
-
}),
|
|
5437
|
+
}), oe = v(d), ae = v(b), ye = v((fe) => {
|
|
5438
5438
|
const {
|
|
5439
5439
|
duration: de,
|
|
5440
5440
|
delay: le,
|
|
@@ -5455,7 +5455,7 @@ const KH = {
|
|
|
5455
5455
|
delay: nv ? le : le || ve * 0.333,
|
|
5456
5456
|
easing: re
|
|
5457
5457
|
})].join(","), fe.style.opacity = 0, fe.style.transform = Ey(0.75), p && p(fe);
|
|
5458
|
-
}),
|
|
5458
|
+
}), se = v(y), te = (fe) => {
|
|
5459
5459
|
w === "auto" && I.start(P.current || 0, fe), r && r(N.current, fe);
|
|
5460
5460
|
};
|
|
5461
5461
|
return /* @__PURE__ */ L.jsx(E, Te({
|
|
@@ -5463,10 +5463,10 @@ const KH = {
|
|
|
5463
5463
|
in: l,
|
|
5464
5464
|
nodeRef: N,
|
|
5465
5465
|
onEnter: z,
|
|
5466
|
-
onEntered:
|
|
5466
|
+
onEntered: oe,
|
|
5467
5467
|
onEntering: Y,
|
|
5468
5468
|
onExit: ye,
|
|
5469
|
-
onExited:
|
|
5469
|
+
onExited: se,
|
|
5470
5470
|
onExiting: ae,
|
|
5471
5471
|
addEndListener: te,
|
|
5472
5472
|
timeout: w === "auto" ? null : w
|
|
@@ -5672,10 +5672,10 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5672
5672
|
arrow: v = !1,
|
|
5673
5673
|
children: Y,
|
|
5674
5674
|
components: z = {},
|
|
5675
|
-
componentsProps:
|
|
5675
|
+
componentsProps: oe = {},
|
|
5676
5676
|
describeChild: ae = !1,
|
|
5677
5677
|
disableFocusListener: ye = !1,
|
|
5678
|
-
disableHoverListener:
|
|
5678
|
+
disableHoverListener: se = !1,
|
|
5679
5679
|
disableInteractive: te = !1,
|
|
5680
5680
|
disableTouchListener: fe = !1,
|
|
5681
5681
|
enterDelay: de = 100,
|
|
@@ -5687,19 +5687,19 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5687
5687
|
leaveTouchDelay: Pe = 1500,
|
|
5688
5688
|
onClose: je,
|
|
5689
5689
|
onOpen: Me,
|
|
5690
|
-
open:
|
|
5690
|
+
open: Be,
|
|
5691
5691
|
placement: ft = "bottom",
|
|
5692
5692
|
PopperComponent: It,
|
|
5693
5693
|
PopperProps: dt = {},
|
|
5694
5694
|
slotProps: xt = {},
|
|
5695
5695
|
slots: Dt = {},
|
|
5696
|
-
title:
|
|
5696
|
+
title: Ve,
|
|
5697
5697
|
TransitionComponent: Tt = Dy,
|
|
5698
5698
|
TransitionProps: tn
|
|
5699
5699
|
} = j, Rt = Er(j, QH), Ht = /* @__PURE__ */ A.isValidElement(Y) ? Y : /* @__PURE__ */ L.jsx("span", {
|
|
5700
5700
|
children: Y
|
|
5701
5701
|
}), ur = ub(), mn = j5(), [cn, oo] = A.useState(), [gn, fn] = A.useState(null), Ut = A.useRef(!1), kn = te || ve, cr = Ec(), Ae = Ec(), zt = Ec(), Dr = Ec(), [kr, ao] = rk({
|
|
5702
|
-
controlled:
|
|
5702
|
+
controlled: Be,
|
|
5703
5703
|
default: !1,
|
|
5704
5704
|
name: "Tooltip",
|
|
5705
5705
|
state: "open"
|
|
@@ -5763,15 +5763,15 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5763
5763
|
};
|
|
5764
5764
|
}, [Kn, Nn]);
|
|
5765
5765
|
const Au = tf(lb(Ht), Di, oo, n);
|
|
5766
|
-
!
|
|
5766
|
+
!Ve && Ve !== 0 && (Nn = !1);
|
|
5767
5767
|
const uo = A.useRef(), dl = (nt) => {
|
|
5768
5768
|
const dn = Ht.props;
|
|
5769
5769
|
dn.onMouseMove && dn.onMouseMove(nt), yc = {
|
|
5770
5770
|
x: nt.clientX,
|
|
5771
5771
|
y: nt.clientY
|
|
5772
5772
|
}, uo.current && uo.current.update();
|
|
5773
|
-
}, $n = {}, ei = typeof
|
|
5774
|
-
ae ? ($n.title = !Nn && ei && !
|
|
5773
|
+
}, $n = {}, ei = typeof Ve == "string";
|
|
5774
|
+
ae ? ($n.title = !Nn && ei && !se ? Ve : null, $n["aria-describedby"] = Nn ? Hi : null) : ($n["aria-label"] = ei ? Ve : null, $n["aria-labelledby"] = Nn && !ei ? Hi : null);
|
|
5775
5775
|
const vn = Te({}, $n, Rt, Ht.props, {
|
|
5776
5776
|
className: $s(Rt.className, Ht.props.className),
|
|
5777
5777
|
onTouchStart: On,
|
|
@@ -5779,7 +5779,7 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5779
5779
|
}, ve ? {
|
|
5780
5780
|
onMouseMove: dl
|
|
5781
5781
|
} : {}), ti = {};
|
|
5782
|
-
fe || (vn.onTouchStart = Cn, vn.onTouchEnd = lo),
|
|
5782
|
+
fe || (vn.onTouchStart = Cn, vn.onTouchEnd = lo), se || (vn.onMouseOver = eh(Ui, vn.onMouseOver), vn.onMouseLeave = eh(Jr, vn.onMouseLeave), kn || (ti.onMouseOver = Ui, ti.onMouseLeave = Jr)), ye || (vn.onFocus = eh(oa, vn.onFocus), vn.onBlur = eh(sa, vn.onBlur), kn || (ti.onFocus = oa, ti.onBlur = sa));
|
|
5783
5783
|
const Iu = A.useMemo(() => {
|
|
5784
5784
|
var nt;
|
|
5785
5785
|
let dn = [{
|
|
@@ -5800,12 +5800,12 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5800
5800
|
placement: ft,
|
|
5801
5801
|
PopperComponentProp: It,
|
|
5802
5802
|
touch: Ut.current
|
|
5803
|
-
}), aa = JH(ys), la = (r = (i = Dt.popper) != null ? i : z.Popper) != null ? r : eU, hl = (s = (o = (l = Dt.transition) != null ? l : z.Transition) != null ? o : Tt) != null ? s : Dy, pl = (c = (d = Dt.tooltip) != null ? d : z.Tooltip) != null ? c : tU, ua = (h = (p = Dt.arrow) != null ? p : z.Arrow) != null ? h : nU, ml = Qd(la, Te({}, dt, (y = xt.popper) != null ? y :
|
|
5804
|
-
className: $s(aa.popper, dt == null ? void 0 : dt.className, (b = (C = xt.popper) != null ? C :
|
|
5805
|
-
}), ys), zi = Qd(hl, Te({}, tn, (w = xt.transition) != null ? w :
|
|
5806
|
-
className: $s(aa.tooltip, (_ = (I = xt.tooltip) != null ? I :
|
|
5807
|
-
}), ys), ca = Qd(ua, Te({}, (P = xt.arrow) != null ? P :
|
|
5808
|
-
className: $s(aa.arrow, (V = (N = xt.arrow) != null ? N :
|
|
5803
|
+
}), aa = JH(ys), la = (r = (i = Dt.popper) != null ? i : z.Popper) != null ? r : eU, hl = (s = (o = (l = Dt.transition) != null ? l : z.Transition) != null ? o : Tt) != null ? s : Dy, pl = (c = (d = Dt.tooltip) != null ? d : z.Tooltip) != null ? c : tU, ua = (h = (p = Dt.arrow) != null ? p : z.Arrow) != null ? h : nU, ml = Qd(la, Te({}, dt, (y = xt.popper) != null ? y : oe.popper, {
|
|
5804
|
+
className: $s(aa.popper, dt == null ? void 0 : dt.className, (b = (C = xt.popper) != null ? C : oe.popper) == null ? void 0 : b.className)
|
|
5805
|
+
}), ys), zi = Qd(hl, Te({}, tn, (w = xt.transition) != null ? w : oe.transition), ys), gl = Qd(pl, Te({}, (E = xt.tooltip) != null ? E : oe.tooltip, {
|
|
5806
|
+
className: $s(aa.tooltip, (_ = (I = xt.tooltip) != null ? I : oe.tooltip) == null ? void 0 : _.className)
|
|
5807
|
+
}), ys), ca = Qd(ua, Te({}, (P = xt.arrow) != null ? P : oe.arrow, {
|
|
5808
|
+
className: $s(aa.arrow, (V = (N = xt.arrow) != null ? N : oe.arrow) == null ? void 0 : V.className)
|
|
5809
5809
|
}), ys);
|
|
5810
5810
|
return /* @__PURE__ */ L.jsxs(A.Fragment, {
|
|
5811
5811
|
children: [/* @__PURE__ */ A.cloneElement(Ht, vn), /* @__PURE__ */ L.jsx(la, Te({
|
|
@@ -5833,7 +5833,7 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5833
5833
|
timeout: ur.transitions.duration.shorter
|
|
5834
5834
|
}, nt, zi, {
|
|
5835
5835
|
children: /* @__PURE__ */ L.jsxs(pl, Te({}, gl, {
|
|
5836
|
-
children: [
|
|
5836
|
+
children: [Ve, v ? /* @__PURE__ */ L.jsx(ua, Te({}, ca, {
|
|
5837
5837
|
ref: fn
|
|
5838
5838
|
})) : null]
|
|
5839
5839
|
}))
|
|
@@ -9477,16 +9477,16 @@ const M9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9477
9477
|
if (j === 0) {
|
|
9478
9478
|
if (v <= 60)
|
|
9479
9479
|
return `${v} minute${v > 1 ? "s" : ""} ago`;
|
|
9480
|
-
const
|
|
9481
|
-
return console.log("diffIhours",
|
|
9480
|
+
const oe = Math.floor(v / 60);
|
|
9481
|
+
return console.log("diffIhours", oe), `${oe} hour${oe > 1 ? "s" : ""} ago`;
|
|
9482
9482
|
}
|
|
9483
9483
|
if (j === 1)
|
|
9484
9484
|
return "Yesterday";
|
|
9485
9485
|
if (j >= 2 && j < 7)
|
|
9486
9486
|
return `${j} days ago`;
|
|
9487
9487
|
if (j < 30) {
|
|
9488
|
-
const
|
|
9489
|
-
return `${
|
|
9488
|
+
const oe = Math.floor(j / 7);
|
|
9489
|
+
return `${oe} week${oe > 1 ? "s" : ""} ago`;
|
|
9490
9490
|
}
|
|
9491
9491
|
return Y === 0 || Y === 1 ? "1 month ago" : Y < 12 ? `${Y} months ago` : z === 0 || z === 1 ? "1 year ago" : "Over 1 year ago";
|
|
9492
9492
|
}, C = e != null && e.data ? (_ = e == null ? void 0 : e.data) == null ? void 0 : _.length : 0, w = e != null && e.contextUrl ? "a" : "p", E = (P, V) => {
|
|
@@ -9882,11 +9882,11 @@ function Y9(e) {
|
|
|
9882
9882
|
if (N.hasOwnProperty(E))
|
|
9883
9883
|
j = N[E];
|
|
9884
9884
|
else {
|
|
9885
|
-
var v = n(w.props, E, w._instanceProps), Y = i(w.props, E, w._instanceProps), z = I === "horizontal" || V === "horizontal",
|
|
9885
|
+
var v = n(w.props, E, w._instanceProps), Y = i(w.props, E, w._instanceProps), z = I === "horizontal" || V === "horizontal", oe = I === "rtl", ae = z ? v : 0;
|
|
9886
9886
|
N[E] = j = {
|
|
9887
9887
|
position: "absolute",
|
|
9888
|
-
left:
|
|
9889
|
-
right:
|
|
9888
|
+
left: oe ? void 0 : ae,
|
|
9889
|
+
right: oe ? ae : void 0,
|
|
9890
9890
|
top: z ? 0 : v,
|
|
9891
9891
|
height: z ? "100%" : Y,
|
|
9892
9892
|
width: z ? Y : "100%"
|
|
@@ -9999,18 +9999,18 @@ function Y9(e) {
|
|
|
9999
9999
|
}, b.componentWillUnmount = function() {
|
|
10000
10000
|
this._resetIsScrollingTimeoutId !== null && bT(this._resetIsScrollingTimeoutId);
|
|
10001
10001
|
}, b.render = function() {
|
|
10002
|
-
var w = this.props, E = w.children, _ = w.className, I = w.direction, P = w.height, V = w.innerRef, N = w.innerElementType, j = w.innerTagName, v = w.itemCount, Y = w.itemData, z = w.itemKey,
|
|
10002
|
+
var w = this.props, E = w.children, _ = w.className, I = w.direction, P = w.height, V = w.innerRef, N = w.innerElementType, j = w.innerTagName, v = w.itemCount, Y = w.itemData, z = w.itemKey, oe = z === void 0 ? z9 : z, ae = w.layout, ye = w.outerElementType, se = w.outerTagName, te = w.style, fe = w.useIsScrolling, de = w.width, le = this.state.isScrolling, re = I === "horizontal" || ae === "horizontal", ve = re ? this._onScrollHorizontal : this._onScrollVertical, we = this._getRangeToRender(), Ce = we[0], Pe = we[1], je = [];
|
|
10003
10003
|
if (v > 0)
|
|
10004
10004
|
for (var Me = Ce; Me <= Pe; Me++)
|
|
10005
10005
|
je.push(A.createElement(E, {
|
|
10006
10006
|
data: Y,
|
|
10007
|
-
key:
|
|
10007
|
+
key: oe(Me, Y),
|
|
10008
10008
|
index: Me,
|
|
10009
10009
|
isScrolling: fe ? le : void 0,
|
|
10010
10010
|
style: this._getItemStyle(Me)
|
|
10011
10011
|
}));
|
|
10012
|
-
var
|
|
10013
|
-
return A.createElement(ye ||
|
|
10012
|
+
var Be = r(this.props, this._instanceProps);
|
|
10013
|
+
return A.createElement(ye || se || "div", {
|
|
10014
10014
|
className: _,
|
|
10015
10015
|
onScroll: ve,
|
|
10016
10016
|
ref: this._outerRefSetter,
|
|
@@ -10027,9 +10027,9 @@ function Y9(e) {
|
|
|
10027
10027
|
children: je,
|
|
10028
10028
|
ref: V,
|
|
10029
10029
|
style: {
|
|
10030
|
-
height: re ? "100%" :
|
|
10030
|
+
height: re ? "100%" : Be,
|
|
10031
10031
|
pointerEvents: le ? "none" : void 0,
|
|
10032
|
-
width: re ?
|
|
10032
|
+
width: re ? Be : "100%"
|
|
10033
10033
|
}
|
|
10034
10034
|
}));
|
|
10035
10035
|
}, b._callPropsCallbacks = function() {
|
|
@@ -10181,7 +10181,7 @@ const cv = 20, TT = ({
|
|
|
10181
10181
|
j,
|
|
10182
10182
|
h.length,
|
|
10183
10183
|
i
|
|
10184
|
-
]), z = y ? h.length + 1 : h.length,
|
|
10184
|
+
]), z = y ? h.length + 1 : h.length, oe = (re) => !y || re < h.length, ae = async () => {
|
|
10185
10185
|
try {
|
|
10186
10186
|
const we = e + (t || "/notification-management/api/v1/notifications");
|
|
10187
10187
|
await qn.put(we);
|
|
@@ -10197,7 +10197,7 @@ const cv = 20, TT = ({
|
|
|
10197
10197
|
})), _(1), b(!0), l(!1);
|
|
10198
10198
|
}, ye = () => {
|
|
10199
10199
|
l(!0), ae();
|
|
10200
|
-
},
|
|
10200
|
+
}, se = ({ style: re }) => /* @__PURE__ */ L.jsxs(
|
|
10201
10201
|
bH,
|
|
10202
10202
|
{
|
|
10203
10203
|
style: re,
|
|
@@ -10215,8 +10215,8 @@ const cv = 20, TT = ({
|
|
|
10215
10215
|
), te = async (re, ve, we) => {
|
|
10216
10216
|
p(i === "unread" && ve ? (je) => je.filter((Me) => Me.id !== re) : (je) => je.map((Me) => Me.id === re ? { ...Me, isRead: ve } : Me)), N((je) => {
|
|
10217
10217
|
let Me = 0;
|
|
10218
|
-
const
|
|
10219
|
-
return
|
|
10218
|
+
const Be = h.find((ft) => ft.id === re);
|
|
10219
|
+
return Be && (!Be.isRead && ve && (Me = -1), Be.isRead && !ve && (Me = 1)), {
|
|
10220
10220
|
...je,
|
|
10221
10221
|
unread: {
|
|
10222
10222
|
...je.unread,
|
|
@@ -10239,8 +10239,8 @@ const cv = 20, TT = ({
|
|
|
10239
10239
|
}, 0), Ce;
|
|
10240
10240
|
});
|
|
10241
10241
|
}, le = ({ index: re, style: ve }) => {
|
|
10242
|
-
if (!
|
|
10243
|
-
return /* @__PURE__ */ L.jsx(
|
|
10242
|
+
if (!oe(re))
|
|
10243
|
+
return /* @__PURE__ */ L.jsx(se, { style: ve });
|
|
10244
10244
|
const we = h[re];
|
|
10245
10245
|
return /* @__PURE__ */ L.jsx("div", { style: ve, children: /* @__PURE__ */ L.jsx(
|
|
10246
10246
|
A9,
|
|
@@ -10273,7 +10273,7 @@ const cv = 20, TT = ({
|
|
|
10273
10273
|
children: /* @__PURE__ */ L.jsx(
|
|
10274
10274
|
j9,
|
|
10275
10275
|
{
|
|
10276
|
-
isItemLoaded:
|
|
10276
|
+
isItemLoaded: oe,
|
|
10277
10277
|
itemCount: z,
|
|
10278
10278
|
loadMoreItems: Y,
|
|
10279
10279
|
threshold: 10,
|
|
@@ -11009,9 +11009,9 @@ function kq(e, t, n, {
|
|
|
11009
11009
|
ignoreLocation: d
|
|
11010
11010
|
}) <= b ? Y = z : V = z, z = Math.floor((V - Y) / 2 + Y);
|
|
11011
11011
|
V = z;
|
|
11012
|
-
let
|
|
11012
|
+
let oe = Math.max(1, y - z + 1), ae = o ? p : Math.min(y + z, p) + h, ye = Array(ae + 2);
|
|
11013
11013
|
ye[ae + 1] = (1 << v) - 1;
|
|
11014
|
-
for (let te = ae; te >=
|
|
11014
|
+
for (let te = ae; te >= oe; te -= 1) {
|
|
11015
11015
|
let fe = te - 1, de = n[e.charAt(fe)];
|
|
11016
11016
|
if (w && (E[fe] = +!!de), ye[te] = (ye[te + 1] << 1 | 1) & de, v && (ye[te] |= (I[te + 1] | I[te]) << 1 | 1 | I[te + 1]), ye[te] & N && (P = rh(t, {
|
|
11017
11017
|
errors: v,
|
|
@@ -11022,7 +11022,7 @@ function kq(e, t, n, {
|
|
|
11022
11022
|
}), P <= b)) {
|
|
11023
11023
|
if (b = P, C = fe, C <= y)
|
|
11024
11024
|
break;
|
|
11025
|
-
|
|
11025
|
+
oe = Math.max(1, 2 * y - C);
|
|
11026
11026
|
}
|
|
11027
11027
|
}
|
|
11028
11028
|
if (rh(t, {
|
|
@@ -11898,21 +11898,21 @@ function t8({
|
|
|
11898
11898
|
({ ...C });
|
|
11899
11899
|
const v = { ...OT, ...t }, Y = new _u(e, v);
|
|
11900
11900
|
Y.setCollection(e);
|
|
11901
|
-
const [z,
|
|
11901
|
+
const [z, oe] = A.useState(E), [ae, ye] = A.useState([]), [se, te] = A.useState(-1), [fe, de] = A.useState(!1), [le, re] = A.useState(!1), [ve, we] = A.useState(!1), [Ce, Pe] = A.useState(!1);
|
|
11902
11902
|
A.useEffect(() => {
|
|
11903
|
-
|
|
11904
|
-
const
|
|
11903
|
+
oe(E);
|
|
11904
|
+
const Ve = setTimeout(
|
|
11905
11905
|
() => ye(It(E)),
|
|
11906
11906
|
0
|
|
11907
11907
|
);
|
|
11908
|
-
return () => clearTimeout(
|
|
11908
|
+
return () => clearTimeout(Ve);
|
|
11909
11909
|
}, [E]), A.useEffect(() => {
|
|
11910
11910
|
(z == null ? void 0 : z.length) >= 3 ? e && (e == null ? void 0 : e.length) > 0 && ye(e) : ye([]);
|
|
11911
11911
|
}, [e]), A.useEffect(() => {
|
|
11912
|
-
const
|
|
11912
|
+
const Ve = () => {
|
|
11913
11913
|
xt(), Pe(!1);
|
|
11914
11914
|
};
|
|
11915
|
-
return document.addEventListener("click",
|
|
11915
|
+
return document.addEventListener("click", Ve), () => document.removeEventListener("click", Ve);
|
|
11916
11916
|
}, []), A.useEffect(() => {
|
|
11917
11917
|
(() => {
|
|
11918
11918
|
I && z.length > 0 && !le && ae.length === 0 && !fe ? we(!0) : we(!1), V && ae.length === 0 && z.length === 0 && Ce && ye(e.slice(0, p));
|
|
@@ -11926,41 +11926,41 @@ function t8({
|
|
|
11926
11926
|
V,
|
|
11927
11927
|
Ce
|
|
11928
11928
|
]);
|
|
11929
|
-
const je = (
|
|
11930
|
-
c && o(
|
|
11931
|
-
}, Me = (
|
|
11929
|
+
const je = (Ve) => {
|
|
11930
|
+
c && o(Ve), Pe(!0);
|
|
11931
|
+
}, Me = (Ve) => {
|
|
11932
11932
|
let Tt = [];
|
|
11933
|
-
(
|
|
11934
|
-
},
|
|
11935
|
-
n > 0 ? Gq((
|
|
11933
|
+
(Ve == null ? void 0 : Ve.length) > 0 && (Tt = It(Ve)), ye(Tt), r(Ve, Tt), re(!1);
|
|
11934
|
+
}, Be = Ne.useCallback(
|
|
11935
|
+
n > 0 ? Gq((Ve) => Me(Ve), n) : (Ve) => Me(Ve),
|
|
11936
11936
|
[e]
|
|
11937
|
-
), ft = (
|
|
11938
|
-
xt(), s(
|
|
11939
|
-
}, It = (
|
|
11940
|
-
const Tt =
|
|
11941
|
-
|
|
11937
|
+
), ft = (Ve) => {
|
|
11938
|
+
xt(), s(Ve), oe(Ve[w]), te(0);
|
|
11939
|
+
}, It = (Ve) => Y.search(Ve, { limit: p }).map((Tt) => ({ ...Tt.item })).slice(0, p), dt = ({ target: Ve }) => {
|
|
11940
|
+
const Tt = Ve.value;
|
|
11941
|
+
oe(Tt), Be(Tt), re(!0), fe && de(!1);
|
|
11942
11942
|
}, xt = () => {
|
|
11943
11943
|
ye([]), de(!0);
|
|
11944
11944
|
}, Dt = ({
|
|
11945
|
-
index:
|
|
11945
|
+
index: Ve,
|
|
11946
11946
|
event: Tt
|
|
11947
11947
|
}) => {
|
|
11948
11948
|
let tn = -1;
|
|
11949
11949
|
const Rt = (Ht) => {
|
|
11950
11950
|
te(Ht), ae != null && ae[Ht] && i(ae[Ht]);
|
|
11951
11951
|
};
|
|
11952
|
-
if (
|
|
11953
|
-
te(
|
|
11952
|
+
if (Ve !== void 0)
|
|
11953
|
+
te(Ve), ae != null && ae[Ve] && i(ae[Ve]);
|
|
11954
11954
|
else if (Tt)
|
|
11955
11955
|
switch (Tt.key) {
|
|
11956
11956
|
case "Enter":
|
|
11957
|
-
ae.length > 0 && ae[
|
|
11957
|
+
ae.length > 0 && ae[se] ? (Tt.preventDefault(), s(ae[se])) : r(z, ae), te(-1), xt();
|
|
11958
11958
|
break;
|
|
11959
11959
|
case "ArrowUp":
|
|
11960
|
-
Tt.preventDefault(), tn =
|
|
11960
|
+
Tt.preventDefault(), tn = se > -1 ? se - 1 : ae.length - 1, Rt(tn);
|
|
11961
11961
|
break;
|
|
11962
11962
|
case "ArrowDown":
|
|
11963
|
-
Tt.preventDefault(), tn =
|
|
11963
|
+
Tt.preventDefault(), tn = se < ae.length - 1 ? se + 1 : -1, Rt(tn);
|
|
11964
11964
|
break;
|
|
11965
11965
|
}
|
|
11966
11966
|
};
|
|
@@ -11987,12 +11987,12 @@ function t8({
|
|
|
11987
11987
|
{
|
|
11988
11988
|
results: ae,
|
|
11989
11989
|
onClick: ft,
|
|
11990
|
-
setSearchString:
|
|
11990
|
+
setSearchString: oe,
|
|
11991
11991
|
showIcon: d,
|
|
11992
11992
|
maxResults: p,
|
|
11993
11993
|
resultStringKeyName: w,
|
|
11994
11994
|
formatResult: _,
|
|
11995
|
-
highlightedItem:
|
|
11995
|
+
highlightedItem: se,
|
|
11996
11996
|
setHighlightedItem: Dt,
|
|
11997
11997
|
showNoResultsFlag: ve,
|
|
11998
11998
|
showNoResultsText: P
|
|
@@ -12033,26 +12033,26 @@ function CP({ classNames: e = "", ...t }) {
|
|
|
12033
12033
|
}, v = (ae, ye) => {
|
|
12034
12034
|
_(ae), console.log(ae, ye);
|
|
12035
12035
|
}, Y = (ae) => {
|
|
12036
|
-
const ye = ae.entityType,
|
|
12036
|
+
const ye = ae.entityType, se = ae.entityId;
|
|
12037
12037
|
switch (ye) {
|
|
12038
12038
|
case "Zone":
|
|
12039
|
-
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" +
|
|
12039
|
+
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" + se;
|
|
12040
12040
|
return;
|
|
12041
12041
|
case "Location":
|
|
12042
|
-
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" +
|
|
12042
|
+
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" + se;
|
|
12043
12043
|
return;
|
|
12044
12044
|
case "Company":
|
|
12045
|
-
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" +
|
|
12045
|
+
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" + se;
|
|
12046
12046
|
return;
|
|
12047
12047
|
default:
|
|
12048
|
-
console.log(`Unsure how to navigate to ${ye} ${
|
|
12048
|
+
console.log(`Unsure how to navigate to ${ye} ${se}`);
|
|
12049
12049
|
return;
|
|
12050
12050
|
}
|
|
12051
12051
|
}, z = () => {
|
|
12052
|
-
const ae = document.querySelector("global-topbar"),
|
|
12053
|
-
|
|
12054
|
-
}, 1e3), N(
|
|
12055
|
-
},
|
|
12052
|
+
const ae = document.querySelector("global-topbar"), se = (ae != null ? ae.shadowRoot : document).getElementById("GlobalSearchInput");
|
|
12053
|
+
se && se.value.length >= 3 && (setTimeout(() => {
|
|
12054
|
+
}, 1e3), N(se.value));
|
|
12055
|
+
}, oe = (ae) => ae.entityType === "Location" ? /* @__PURE__ */ L.jsxs(L.Fragment, { children: [
|
|
12056
12056
|
/* @__PURE__ */ L.jsx("div", { dangerouslySetInnerHTML: { __html: ae.name } }),
|
|
12057
12057
|
" ",
|
|
12058
12058
|
/* @__PURE__ */ L.jsxs("div", { style: { fontSize: "0.6em" }, children: [
|
|
@@ -12100,7 +12100,7 @@ function CP({ classNames: e = "", ...t }) {
|
|
|
12100
12100
|
autoFocus: !0,
|
|
12101
12101
|
inputDebounce: 300,
|
|
12102
12102
|
placeholder: "Search",
|
|
12103
|
-
formatResult:
|
|
12103
|
+
formatResult: oe,
|
|
12104
12104
|
searchOnFocus: !0,
|
|
12105
12105
|
showIcon: !1,
|
|
12106
12106
|
showNoResults: !1
|
|
@@ -12259,7 +12259,7 @@ function r8({
|
|
|
12259
12259
|
}
|
|
12260
12260
|
) }) });
|
|
12261
12261
|
}
|
|
12262
|
-
function
|
|
12262
|
+
function yfe(e) {
|
|
12263
12263
|
const { user: t, logout: n, isFetching: r } = dU();
|
|
12264
12264
|
return /* @__PURE__ */ L.jsx(
|
|
12265
12265
|
CP,
|
|
@@ -13835,8 +13835,8 @@ function zT({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
13835
13835
|
const E = p + w, _ = o === void 0 ? E : o(E);
|
|
13836
13836
|
_ !== E && (w = _ - p);
|
|
13837
13837
|
const I = (Y) => -w * Math.exp(-Y / r), P = (Y) => _ + I(Y), V = (Y) => {
|
|
13838
|
-
const z = I(Y),
|
|
13839
|
-
y.done = Math.abs(z) <= d, y.value = y.done ? _ :
|
|
13838
|
+
const z = I(Y), oe = P(Y);
|
|
13839
|
+
y.done = Math.abs(z) <= d, y.value = y.done ? _ : oe;
|
|
13840
13840
|
};
|
|
13841
13841
|
let N, j;
|
|
13842
13842
|
const v = (Y) => {
|
|
@@ -13905,34 +13905,34 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = J7, keyframes: r, type
|
|
|
13905
13905
|
keyframes: [...r].reverse(),
|
|
13906
13906
|
velocity: -(y.velocity || 0)
|
|
13907
13907
|
}));
|
|
13908
|
-
let v = "idle", Y = null, z = null,
|
|
13908
|
+
let v = "idle", Y = null, z = null, oe = null;
|
|
13909
13909
|
N.calculatedDuration === null && s && (N.calculatedDuration = qT(N));
|
|
13910
13910
|
const { calculatedDuration: ae } = N;
|
|
13911
|
-
let ye = 1 / 0,
|
|
13912
|
-
ae !== null && (ye = ae + o,
|
|
13911
|
+
let ye = 1 / 0, se = 1 / 0;
|
|
13912
|
+
ae !== null && (ye = ae + o, se = ye * (s + 1) - o);
|
|
13913
13913
|
let te = 0;
|
|
13914
13914
|
const fe = (Ce) => {
|
|
13915
13915
|
if (z === null)
|
|
13916
13916
|
return;
|
|
13917
|
-
b > 0 && (z = Math.min(z, Ce)), b < 0 && (z = Math.min(Ce -
|
|
13918
|
-
const Pe = te - t * (b >= 0 ? 1 : -1), je = b >= 0 ? Pe < 0 : Pe >
|
|
13919
|
-
te = Math.max(Pe, 0), v === "finished" && Y === null && (te =
|
|
13920
|
-
let Me = te,
|
|
13917
|
+
b > 0 && (z = Math.min(z, Ce)), b < 0 && (z = Math.min(Ce - se / b, z)), Y !== null ? te = Y : te = Math.round(Ce - z) * b;
|
|
13918
|
+
const Pe = te - t * (b >= 0 ? 1 : -1), je = b >= 0 ? Pe < 0 : Pe > se;
|
|
13919
|
+
te = Math.max(Pe, 0), v === "finished" && Y === null && (te = se);
|
|
13920
|
+
let Me = te, Be = N;
|
|
13921
13921
|
if (s) {
|
|
13922
|
-
const xt = Math.min(te,
|
|
13923
|
-
let Dt = Math.floor(xt),
|
|
13924
|
-
!
|
|
13922
|
+
const xt = Math.min(te, se) / ye;
|
|
13923
|
+
let Dt = Math.floor(xt), Ve = xt % 1;
|
|
13924
|
+
!Ve && xt >= 1 && (Ve = 1), Ve === 1 && Dt--, Dt = Math.min(Dt, s + 1), !!(Dt % 2) && (l === "reverse" ? (Ve = 1 - Ve, o && (Ve -= o / ye)) : l === "mirror" && (Be = j)), Me = Yo(0, 1, Ve) * ye;
|
|
13925
13925
|
}
|
|
13926
|
-
const ft = je ? { done: !1, value: r[0] } :
|
|
13926
|
+
const ft = je ? { done: !1, value: r[0] } : Be.next(Me);
|
|
13927
13927
|
V && (ft.value = V(ft.value));
|
|
13928
13928
|
let { done: It } = ft;
|
|
13929
|
-
!je && ae !== null && (It = b >= 0 ? te >=
|
|
13929
|
+
!je && ae !== null && (It = b >= 0 ? te >= se : te <= 0);
|
|
13930
13930
|
const dt = Y === null && (v === "finished" || v === "running" && It);
|
|
13931
13931
|
return p && p(ft.value), dt && re(), ft;
|
|
13932
13932
|
}, de = () => {
|
|
13933
13933
|
I && I.stop(), I = void 0;
|
|
13934
13934
|
}, le = () => {
|
|
13935
|
-
v = "idle", de(), w(), _(), z =
|
|
13935
|
+
v = "idle", de(), w(), _(), z = oe = null;
|
|
13936
13936
|
}, re = () => {
|
|
13937
13937
|
v = "finished", h && h(), de(), w();
|
|
13938
13938
|
}, ve = () => {
|
|
@@ -13940,7 +13940,7 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = J7, keyframes: r, type
|
|
|
13940
13940
|
return;
|
|
13941
13941
|
I || (I = n(fe));
|
|
13942
13942
|
const Ce = I.now();
|
|
13943
|
-
c && c(), Y !== null ? z = Ce - Y : (!z || v === "finished") && (z = Ce), v === "finished" && _(),
|
|
13943
|
+
c && c(), Y !== null ? z = Ce - Y : (!z || v === "finished") && (z = Ce), v === "finished" && _(), oe = z, Y = null, v = "running", I.start();
|
|
13944
13944
|
};
|
|
13945
13945
|
e && ve();
|
|
13946
13946
|
const we = {
|
|
@@ -13974,7 +13974,7 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = J7, keyframes: r, type
|
|
|
13974
13974
|
C = !0, v !== "idle" && (v = "idle", d && d(), le());
|
|
13975
13975
|
},
|
|
13976
13976
|
cancel: () => {
|
|
13977
|
-
|
|
13977
|
+
oe !== null && fe(oe), le();
|
|
13978
13978
|
},
|
|
13979
13979
|
complete: () => {
|
|
13980
13980
|
v = "finished";
|
|
@@ -14622,24 +14622,24 @@ function jG(e) {
|
|
|
14622
14622
|
continue;
|
|
14623
14623
|
let z = BG(P.prevProp, V) || // If we're making this variant active, we want to always make it active
|
|
14624
14624
|
I === d && P.isActive && !v && N || // If we removed a higher-priority variant (i is in reverse order)
|
|
14625
|
-
_ > w && N,
|
|
14625
|
+
_ > w && N, oe = !1;
|
|
14626
14626
|
const ae = Array.isArray(V) ? V : [V];
|
|
14627
14627
|
let ye = ae.reduce(i, {});
|
|
14628
14628
|
j === !1 && (ye = {});
|
|
14629
|
-
const { prevResolvedValues:
|
|
14630
|
-
...
|
|
14629
|
+
const { prevResolvedValues: se = {} } = P, te = {
|
|
14630
|
+
...se,
|
|
14631
14631
|
...ye
|
|
14632
14632
|
}, fe = (de) => {
|
|
14633
|
-
z = !0, b.has(de) && (
|
|
14633
|
+
z = !0, b.has(de) && (oe = !0, b.delete(de)), P.needsAnimating[de] = !0;
|
|
14634
14634
|
};
|
|
14635
14635
|
for (const de in te) {
|
|
14636
|
-
const le = ye[de], re =
|
|
14636
|
+
const le = ye[de], re = se[de];
|
|
14637
14637
|
if (C.hasOwnProperty(de))
|
|
14638
14638
|
continue;
|
|
14639
14639
|
let ve = !1;
|
|
14640
14640
|
gp(le) && gp(re) ? ve = !QP(le, re) : ve = le !== re, ve ? le !== void 0 ? fe(de) : b.add(de) : le !== void 0 && b.has(de) ? fe(de) : P.protectedKeys[de] = !0;
|
|
14641
14641
|
}
|
|
14642
|
-
P.prevProp = V, P.prevResolvedValues = ye, P.isActive && (C = { ...C, ...ye }), r && e.blockInitialAnimation && (z = !1), z && (!v ||
|
|
14642
|
+
P.prevProp = V, P.prevResolvedValues = ye, P.isActive && (C = { ...C, ...ye }), r && e.blockInitialAnimation && (z = !1), z && (!v || oe) && y.push(...ae.map((de) => ({
|
|
14643
14643
|
animation: de,
|
|
14644
14644
|
options: { type: I, ...c }
|
|
14645
14645
|
})));
|
|
@@ -16844,31 +16844,31 @@ var Bl = /* @__PURE__ */ new Map(), ZM = function(t) {
|
|
|
16844
16844
|
V = re, j = P[re], N = p.querySelectorAll(V + "[id]");
|
|
16845
16845
|
for (var ve = function(je, Me) {
|
|
16846
16846
|
v = N[je].id, Y = v + "-" + AX();
|
|
16847
|
-
var
|
|
16847
|
+
var Be;
|
|
16848
16848
|
Array.prototype.forEach.call(j, function(tn) {
|
|
16849
|
-
|
|
16850
|
-
for (var Rt = 0, Ht =
|
|
16851
|
-
var ur =
|
|
16852
|
-
ur && !ur.match(new RegExp('url\\("?#' + v + '"?\\)')) ||
|
|
16849
|
+
Be = p.querySelectorAll("[" + tn + '*="' + v + '"]');
|
|
16850
|
+
for (var Rt = 0, Ht = Be.length; Rt < Ht; Rt++) {
|
|
16851
|
+
var ur = Be[Rt].getAttribute(tn);
|
|
16852
|
+
ur && !ur.match(new RegExp('url\\("?#' + v + '"?\\)')) || Be[Rt].setAttribute(tn, "url(#" + Y + ")");
|
|
16853
16853
|
}
|
|
16854
16854
|
});
|
|
16855
16855
|
for (var ft = p.querySelectorAll("[*|href]"), It = [], dt = 0, xt = ft.length; dt < xt; dt++) {
|
|
16856
16856
|
var Dt = ft[dt].getAttributeNS(Cv, "href");
|
|
16857
16857
|
Dt && Dt.toString() === "#" + N[je].id && It.push(ft[dt]);
|
|
16858
16858
|
}
|
|
16859
|
-
for (var
|
|
16860
|
-
It[
|
|
16859
|
+
for (var Ve = 0, Tt = It.length; Ve < Tt; Ve++)
|
|
16860
|
+
It[Ve].setAttributeNS(Cv, "href", "#" + Y);
|
|
16861
16861
|
N[je].id = Y;
|
|
16862
16862
|
}, we = 0, Ce = N.length; we < Ce; we++)
|
|
16863
16863
|
ve(we);
|
|
16864
16864
|
});
|
|
16865
16865
|
}
|
|
16866
16866
|
p.removeAttribute("xmlns:a");
|
|
16867
|
-
for (var z = p.querySelectorAll("script"),
|
|
16868
|
-
ye = z[
|
|
16869
|
-
if (
|
|
16870
|
-
for (var fe = 0, de =
|
|
16871
|
-
new Function(
|
|
16867
|
+
for (var z = p.querySelectorAll("script"), oe = [], ae, ye, se = 0, te = z.length; se < te; se++)
|
|
16868
|
+
ye = z[se].getAttribute("type"), (!ye || ye === "application/ecmascript" || ye === "application/javascript" || ye === "text/javascript") && (ae = z[se].innerText || z[se].textContent, ae && oe.push(ae), p.removeChild(z[se]));
|
|
16869
|
+
if (oe.length > 0 && (n === "always" || n === "once" && !FC[c])) {
|
|
16870
|
+
for (var fe = 0, de = oe.length; fe < de; fe++)
|
|
16871
|
+
new Function(oe[fe])(window);
|
|
16872
16872
|
FC[c] = !0;
|
|
16873
16873
|
}
|
|
16874
16874
|
var le = p.querySelectorAll("style");
|
|
@@ -16960,8 +16960,8 @@ var Bl = /* @__PURE__ */ new Map(), ZM = function(t) {
|
|
|
16960
16960
|
z.innerHTML = o, v.prepend(z);
|
|
16961
16961
|
}
|
|
16962
16962
|
if (p) {
|
|
16963
|
-
var
|
|
16964
|
-
|
|
16963
|
+
var oe = v.querySelector(":scope > title");
|
|
16964
|
+
oe && v.removeChild(oe);
|
|
16965
16965
|
var ae = document.createElement("title");
|
|
16966
16966
|
ae.innerHTML = p, v.prepend(ae);
|
|
16967
16967
|
}
|
|
@@ -17107,15 +17107,15 @@ function jX({ item: e }) {
|
|
|
17107
17107
|
return (hu.get(FX(e)) || hu.get("text"))(e);
|
|
17108
17108
|
}
|
|
17109
17109
|
function eA({ ...e }) {
|
|
17110
|
-
var
|
|
17111
|
-
const t = e.item, n = e.level || 0, r = !!((
|
|
17110
|
+
var oe, ae, ye;
|
|
17111
|
+
const t = e.item, n = e.level || 0, r = !!((oe = e.item.children) != null && oe.length), i = `level-${n}`, s = (se, te = i) => `${se} ${te} `, [o, l] = A.useState(!1), [c, d] = A.useState(t.isFavorite || !1), h = A.useRef(), p = A.useRef();
|
|
17112
17112
|
p != null && p.current && ((ae = p == null ? void 0 : p.current) == null ? void 0 : ae.scrollWidth) > ((ye = p == null ? void 0 : p.current) == null ? void 0 : ye.clientWidth);
|
|
17113
|
-
const y = window.location.origin, b = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, C = window.location.pathname.split("/")[1], w = b.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !y.includes("local") && y !== b.origin || w !== C, _ = r || n === 0 ? "div" : E ? "a" : ok, I = t.redirectUrl || t.path || "#", P = n + 1, V = r && o && n > 0, N = () => {
|
|
17113
|
+
const y = window.location.origin, b = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, C = window.location.pathname.split("/")[1], w = b.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !y.includes("local") && y !== b.origin || w !== C, _ = r || n === 0 ? "div" : E ? "a" : ok, I = t.redirectUrl || (t.path && t.path.includes("http") ? new URL(t.path).pathname : t.path) || "#", P = n + 1, V = r && o && n > 0, N = () => {
|
|
17114
17114
|
e.isDrop || l(!0);
|
|
17115
17115
|
}, j = () => {
|
|
17116
17116
|
l(!1);
|
|
17117
17117
|
}, v = "/global-menu-config/api/v1/menu-items/user/set-favorite", Y = y !== b.origin || e.item.redirectUrl ? "_blank" : "_self", z = Object.entries(e.brandColors || {}).reduce(
|
|
17118
|
-
(
|
|
17118
|
+
(se, [te, fe]) => (fe && (se[`--${te}`] = fe), se),
|
|
17119
17119
|
{}
|
|
17120
17120
|
);
|
|
17121
17121
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -17130,8 +17130,8 @@ function eA({ ...e }) {
|
|
|
17130
17130
|
},
|
|
17131
17131
|
onMouseOver: N,
|
|
17132
17132
|
onMouseOut: j,
|
|
17133
|
-
onDragStart: (
|
|
17134
|
-
n > 1 &&
|
|
17133
|
+
onDragStart: (se) => {
|
|
17134
|
+
n > 1 && se.preventDefault(), l(!1);
|
|
17135
17135
|
},
|
|
17136
17136
|
onDragEnd: () => {
|
|
17137
17137
|
console.log("drag end 1223"), l(!1);
|
|
@@ -17142,15 +17142,18 @@ function eA({ ...e }) {
|
|
|
17142
17142
|
{
|
|
17143
17143
|
target: Y,
|
|
17144
17144
|
to: I,
|
|
17145
|
-
href: I,
|
|
17146
17145
|
draggable: "true",
|
|
17147
17146
|
className: s("menu-item__link"),
|
|
17148
17147
|
style: {
|
|
17149
17148
|
width: "100%",
|
|
17150
17149
|
transition: "all 0.3s"
|
|
17151
17150
|
},
|
|
17152
|
-
|
|
17153
|
-
|
|
17151
|
+
onClick: () => {
|
|
17152
|
+
var se;
|
|
17153
|
+
_ === "a" && Y === "_blank" || !r && t.path && ((se = e.onClickItem) == null || se.call(e, I));
|
|
17154
|
+
},
|
|
17155
|
+
onDragStart: (se) => {
|
|
17156
|
+
console.log("onDragStart component", se.target);
|
|
17154
17157
|
},
|
|
17155
17158
|
onDragEnd: () => {
|
|
17156
17159
|
console.log("onDragEnd menu item"), l(!1);
|
|
@@ -17165,18 +17168,18 @@ function eA({ ...e }) {
|
|
|
17165
17168
|
hasChildren: r,
|
|
17166
17169
|
isHovered: o,
|
|
17167
17170
|
isFavorite: c,
|
|
17168
|
-
onClick: (
|
|
17171
|
+
onClick: (se) => {
|
|
17169
17172
|
const te = {
|
|
17170
17173
|
menuConfigId: t.id,
|
|
17171
|
-
isFavorite:
|
|
17174
|
+
isFavorite: se
|
|
17172
17175
|
}, fe = e.baseUrl + v;
|
|
17173
17176
|
qn.post(fe, te).then((de) => {
|
|
17174
17177
|
var le;
|
|
17175
|
-
d(
|
|
17178
|
+
d(se), EP(
|
|
17176
17179
|
qt("components.menu.pushSuccess.menuSuccess", {
|
|
17177
17180
|
defaultValue: "Set favorite menu item successful"
|
|
17178
17181
|
})
|
|
17179
|
-
), (le = e.onSetFavoriteSuccess) == null || le.call(e, e.item.id,
|
|
17182
|
+
), (le = e.onSetFavoriteSuccess) == null || le.call(e, e.item.id, se);
|
|
17180
17183
|
}).catch((de) => {
|
|
17181
17184
|
var le, re;
|
|
17182
17185
|
console.log(" MenuItem.tsx ~ error:", de), jf(
|
|
@@ -17198,7 +17201,7 @@ function eA({ ...e }) {
|
|
|
17198
17201
|
parentRef: h,
|
|
17199
17202
|
onlyChild: P < 2,
|
|
17200
17203
|
dropdownLevel: n,
|
|
17201
|
-
renderChildren: ({ maxHeight:
|
|
17204
|
+
renderChildren: ({ maxHeight: se }) => {
|
|
17202
17205
|
var te;
|
|
17203
17206
|
return /* @__PURE__ */ L.jsx(
|
|
17204
17207
|
GM.div,
|
|
@@ -17208,8 +17211,8 @@ function eA({ ...e }) {
|
|
|
17208
17211
|
`level-${P}`
|
|
17209
17212
|
),
|
|
17210
17213
|
style: KM(
|
|
17211
|
-
{ maxHeight:
|
|
17212
|
-
|
|
17214
|
+
{ maxHeight: se, overflowY: "auto", paddingRight: 3 },
|
|
17215
|
+
se !== "auto" && !!P
|
|
17213
17216
|
),
|
|
17214
17217
|
children: (te = t.children) == null ? void 0 : te.map((fe) => /* @__PURE__ */ A.createElement(
|
|
17215
17218
|
eA,
|
|
@@ -17217,7 +17220,8 @@ function eA({ ...e }) {
|
|
|
17217
17220
|
...e,
|
|
17218
17221
|
key: fe.id,
|
|
17219
17222
|
item: fe,
|
|
17220
|
-
level: P
|
|
17223
|
+
level: P,
|
|
17224
|
+
onClickItem: e.onClickItem
|
|
17221
17225
|
}
|
|
17222
17226
|
))
|
|
17223
17227
|
}
|
|
@@ -20142,13 +20146,13 @@ function aJ(e) {
|
|
|
20142
20146
|
p.length > 0 && (v.adoptedStyleSheets = p), V(v);
|
|
20143
20147
|
} catch (Y) {
|
|
20144
20148
|
(function(z) {
|
|
20145
|
-
var
|
|
20146
|
-
switch (
|
|
20149
|
+
var oe = z.error, ae = z.styleSheets, ye = z.root;
|
|
20150
|
+
switch (oe.name) {
|
|
20147
20151
|
case "NotSupportedError":
|
|
20148
20152
|
ae.length > 0 && (ye.adoptedStyleSheets = ae);
|
|
20149
20153
|
break;
|
|
20150
20154
|
default:
|
|
20151
|
-
throw
|
|
20155
|
+
throw oe;
|
|
20152
20156
|
}
|
|
20153
20157
|
})({ error: Y, styleSheets: p, root: P });
|
|
20154
20158
|
}
|
|
@@ -22587,7 +22591,7 @@ function wte(e) {
|
|
|
22587
22591
|
collect: (te) => ({
|
|
22588
22592
|
isDragging: te.isDragging()
|
|
22589
22593
|
})
|
|
22590
|
-
}), [{ isOver:
|
|
22594
|
+
}), [{ isOver: oe, isOverCurrent: ae }, ye] = Ap(
|
|
22591
22595
|
() => ({
|
|
22592
22596
|
accept: Bv,
|
|
22593
22597
|
collect: (te) => ({
|
|
@@ -22600,8 +22604,8 @@ function wte(e) {
|
|
|
22600
22604
|
}),
|
|
22601
22605
|
[]
|
|
22602
22606
|
);
|
|
22603
|
-
let
|
|
22604
|
-
return (ae ||
|
|
22607
|
+
let se = "hover-off";
|
|
22608
|
+
return (ae || oe) && (se = "hover-on"), z(ye(v)), /* @__PURE__ */ L.jsx(
|
|
22605
22609
|
"div",
|
|
22606
22610
|
{
|
|
22607
22611
|
ref: v,
|
|
@@ -22615,7 +22619,7 @@ function wte(e) {
|
|
|
22615
22619
|
transition: "transform 0.3s ease-in-out",
|
|
22616
22620
|
...I
|
|
22617
22621
|
},
|
|
22618
|
-
className: `item ${
|
|
22622
|
+
className: `item ${se}`,
|
|
22619
22623
|
children: /* @__PURE__ */ L.jsx(
|
|
22620
22624
|
eA,
|
|
22621
22625
|
{
|
|
@@ -22626,7 +22630,8 @@ function wte(e) {
|
|
|
22626
22630
|
item: N,
|
|
22627
22631
|
level: 1,
|
|
22628
22632
|
onSetFavoriteSuccess: b,
|
|
22629
|
-
isDrop: o
|
|
22633
|
+
isDrop: o,
|
|
22634
|
+
onClickItem: e.onClickItem
|
|
22630
22635
|
}
|
|
22631
22636
|
)
|
|
22632
22637
|
}
|
|
@@ -22748,7 +22753,7 @@ var Ip = { exports: {} };
|
|
|
22748
22753
|
Ip.exports;
|
|
22749
22754
|
(function(e, t) {
|
|
22750
22755
|
(function() {
|
|
22751
|
-
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, y = 2, b = 4, C = 1, w = 2, E = 1, _ = 2, I = 4, P = 8, V = 16, N = 32, j = 64, v = 128, Y = 256, z = 512,
|
|
22756
|
+
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, h = "__lodash_placeholder__", p = 1, y = 2, b = 4, C = 1, w = 2, E = 1, _ = 2, I = 4, P = 8, V = 16, N = 32, j = 64, v = 128, Y = 256, z = 512, oe = 30, ae = "...", ye = 800, se = 16, te = 1, fe = 2, de = 3, le = 1 / 0, re = 9007199254740991, ve = 17976931348623157e292, we = NaN, Ce = 4294967295, Pe = Ce - 1, je = Ce >>> 1, Me = [
|
|
22752
22757
|
["ary", v],
|
|
22753
22758
|
["bind", E],
|
|
22754
22759
|
["bindKey", _],
|
|
@@ -22758,7 +22763,7 @@ Ip.exports;
|
|
|
22758
22763
|
["partial", N],
|
|
22759
22764
|
["partialRight", j],
|
|
22760
22765
|
["rearg", Y]
|
|
22761
|
-
],
|
|
22766
|
+
], Be = "[object Arguments]", ft = "[object Array]", It = "[object AsyncFunction]", dt = "[object Boolean]", xt = "[object Date]", Dt = "[object DOMException]", Ve = "[object Error]", Tt = "[object Function]", tn = "[object GeneratorFunction]", Rt = "[object Map]", Ht = "[object Number]", ur = "[object Null]", mn = "[object Object]", cn = "[object Promise]", oo = "[object Proxy]", gn = "[object RegExp]", fn = "[object Set]", Ut = "[object String]", kn = "[object Symbol]", cr = "[object Undefined]", Ae = "[object WeakMap]", zt = "[object WeakSet]", Dr = "[object ArrayBuffer]", kr = "[object DataView]", ao = "[object Float32Array]", Nn = "[object Float64Array]", Hi = "[object Int8Array]", Gn = "[object Int16Array]", Tn = "[object Int32Array]", fr = "[object Uint8Array]", Kn = "[object Uint8ClampedArray]", Ui = "[object Uint16Array]", Jr = "[object Uint32Array]", ia = /\b__p \+= '';/g, fl = /\b(__p \+=) '' \+/g, Mu = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Di = /&(?:amp|lt|gt|quot|#39);/g, ki = /[&<>"']/g, sa = RegExp(Di.source), oa = RegExp(ki.source), On = /<%-([\s\S]+?)%>/g, Cn = /<%([\s\S]+?)%>/g, lo = /<%=([\s\S]+?)%>/g, Au = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, uo = /^\w*$/, dl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $n = /[\\^$.*+?()[\]{}|]/g, ei = RegExp($n.source), vn = /^\s+/, ti = /\s/, Iu = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ys = /\{\n\/\* \[wrapped with (.+)\] \*/, aa = /,? & /, la = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, hl = /[()=,{}\[\]\/\s]/, pl = /\\(\\)?/g, ua = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ml = /\w*$/, zi = /^[-+]0x[0-9a-f]+$/i, gl = /^0b[01]+$/i, ca = /^\[object .+?Constructor\]$/, nt = /^0o[0-7]+$/i, dn = /^(?:0|[1-9]\d*)$/, Kf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, vl = /($^)/, fa = /['\n\r\u2028\u2029\\]/g, da = "\\ud800-\\udfff", Xf = "\\u0300-\\u036f", Qf = "\\ufe20-\\ufe2f", Zf = "\\u20d0-\\u20ff", Jf = Xf + Qf + Zf, yl = "\\u2700-\\u27bf", ed = "a-z\\xdf-\\xf6\\xf8-\\xff", Bm = "\\xac\\xb1\\xd7\\xf7", td = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", nd = "\\u2000-\\u206f", Ru = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Lu = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pn = "\\ufe0e\\ufe0f", bs = Bm + td + nd + Ru, co = "['’]", Vm = "[" + da + "]", rd = "[" + bs + "]", fo = "[" + Jf + "]", Nu = "\\d+", bl = "[" + yl + "]", $u = "[" + ed + "]", id = "[^" + da + bs + Nu + yl + ed + Lu + "]", Fu = "\\ud83c[\\udffb-\\udfff]", Or = "(?:" + fo + "|" + Fu + ")", ju = "[^" + da + "]", xs = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ho = "[" + Lu + "]", Yi = "\\u200d", qi = "(?:" + $u + "|" + id + ")", Vu = "(?:" + ho + "|" + id + ")", sd = "(?:" + co + "(?:d|ll|m|re|s|t|ve))?", po = "(?:" + co + "(?:D|LL|M|RE|S|T|VE))?", Wu = Or + "?", xl = "[" + Pn + "]?", od = "(?:" + Yi + "(?:" + [ju, xs, Bu].join("|") + ")" + xl + Wu + ")*", ad = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hu = xl + Wu + od, Hm = "(?:" + [bl, xs, Bu].join("|") + ")" + Hu, Um = "(?:" + [ju + fo + "?", fo, xs, Bu, Vm].join("|") + ")", Uu = RegExp(co, "g"), zm = RegExp(fo, "g"), zu = RegExp(Fu + "(?=" + Fu + ")|" + Um + Hu, "g"), Ym = RegExp([
|
|
22762
22767
|
ho + "?" + $u + "+" + sd + "(?=" + [rd, ho, "$"].join("|") + ")",
|
|
22763
22768
|
Vu + "+" + po + "(?=" + [rd, ho + qi, "$"].join("|") + ")",
|
|
22764
22769
|
ho + "?" + qi + "+" + sd,
|
|
@@ -22799,9 +22804,9 @@ Ip.exports;
|
|
|
22799
22804
|
"parseInt",
|
|
22800
22805
|
"setTimeout"
|
|
22801
22806
|
], Xm = -1, Mt = {};
|
|
22802
|
-
Mt[ao] = Mt[Nn] = Mt[Hi] = Mt[Gn] = Mt[Tn] = Mt[fr] = Mt[Kn] = Mt[Ui] = Mt[Jr] = !0, Mt[
|
|
22807
|
+
Mt[ao] = Mt[Nn] = Mt[Hi] = Mt[Gn] = Mt[Tn] = Mt[fr] = Mt[Kn] = Mt[Ui] = Mt[Jr] = !0, Mt[Be] = Mt[ft] = Mt[Dr] = Mt[dt] = Mt[kr] = Mt[xt] = Mt[Ve] = Mt[Tt] = Mt[Rt] = Mt[Ht] = Mt[mn] = Mt[gn] = Mt[fn] = Mt[Ut] = Mt[Ae] = !1;
|
|
22803
22808
|
var kt = {};
|
|
22804
|
-
kt[
|
|
22809
|
+
kt[Be] = kt[ft] = kt[Dr] = kt[kr] = kt[dt] = kt[xt] = kt[ao] = kt[Nn] = kt[Hi] = kt[Gn] = kt[Tn] = kt[Rt] = kt[Ht] = kt[mn] = kt[gn] = kt[fn] = kt[Ut] = kt[kn] = kt[fr] = kt[Kn] = kt[Ui] = kt[Jr] = !0, kt[Ve] = kt[Tt] = kt[Ae] = !1;
|
|
22805
22810
|
var ld = {
|
|
22806
22811
|
// Latin-1 Supplement block.
|
|
22807
22812
|
À: "A",
|
|
@@ -23617,7 +23622,7 @@ Ip.exports;
|
|
|
23617
23622
|
var be = Bn(a), _e = be == Tt || be == tn;
|
|
23618
23623
|
if (So(a))
|
|
23619
23624
|
return i1(a, K);
|
|
23620
|
-
if (be == mn || be ==
|
|
23625
|
+
if (be == mn || be == Be || _e && !O) {
|
|
23621
23626
|
if (H = Z || _e ? {} : T1(a), !K)
|
|
23622
23627
|
return Z ? O2(a, ZN(H, a)) : k2(a, Rw(H, a));
|
|
23623
23628
|
} else {
|
|
@@ -23786,7 +23791,7 @@ Ip.exports;
|
|
|
23786
23791
|
return S == null ? n : M(S, a, m);
|
|
23787
23792
|
}
|
|
23788
23793
|
function Vw(a) {
|
|
23789
|
-
return Jt(a) && Jn(a) ==
|
|
23794
|
+
return Jt(a) && Jn(a) == Be;
|
|
23790
23795
|
}
|
|
23791
23796
|
function o2(a) {
|
|
23792
23797
|
return Jt(a) && Jn(a) == Dr;
|
|
@@ -23799,7 +23804,7 @@ Ip.exports;
|
|
|
23799
23804
|
}
|
|
23800
23805
|
function l2(a, u, m, S, O, $) {
|
|
23801
23806
|
var H = et(a), K = et(u), Z = H ? ft : Bn(a), pe = K ? ft : Bn(u);
|
|
23802
|
-
Z = Z ==
|
|
23807
|
+
Z = Z == Be ? mn : Z, pe = pe == Be ? mn : pe;
|
|
23803
23808
|
var me = Z == mn, be = pe == mn, _e = Z == pe;
|
|
23804
23809
|
if (_e && So(a)) {
|
|
23805
23810
|
if (!So(u))
|
|
@@ -24604,7 +24609,7 @@ Ip.exports;
|
|
|
24604
24609
|
case xt:
|
|
24605
24610
|
case Ht:
|
|
24606
24611
|
return Ri(+a, +u);
|
|
24607
|
-
case
|
|
24612
|
+
case Ve:
|
|
24608
24613
|
return a.name == u.name && a.message == u.message;
|
|
24609
24614
|
case gn:
|
|
24610
24615
|
case Ut:
|
|
@@ -24930,7 +24935,7 @@ Ip.exports;
|
|
|
24930
24935
|
function P1(a) {
|
|
24931
24936
|
var u = 0, m = 0;
|
|
24932
24937
|
return function() {
|
|
24933
|
-
var S = gN(), O =
|
|
24938
|
+
var S = gN(), O = se - (S - m);
|
|
24934
24939
|
if (m = S, O > 0) {
|
|
24935
24940
|
if (++u >= ye)
|
|
24936
24941
|
return arguments[0];
|
|
@@ -25666,7 +25671,7 @@ Ip.exports;
|
|
|
25666
25671
|
if (!Jt(a))
|
|
25667
25672
|
return !1;
|
|
25668
25673
|
var u = Jn(a);
|
|
25669
|
-
return u ==
|
|
25674
|
+
return u == Ve || u == Dt || typeof a.message == "string" && typeof a.name == "string" && !dc(a);
|
|
25670
25675
|
}
|
|
25671
25676
|
function sj(a) {
|
|
25672
25677
|
return typeof a == "number" && Ow(a);
|
|
@@ -26112,7 +26117,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
26112
26117
|
return wo(S, O).join("");
|
|
26113
26118
|
}
|
|
26114
26119
|
function TB(a, u) {
|
|
26115
|
-
var m =
|
|
26120
|
+
var m = oe, S = ae;
|
|
26116
26121
|
if (Xt(u)) {
|
|
26117
26122
|
var O = "separator" in u ? u.separator : O;
|
|
26118
26123
|
m = "length" in u ? st(u.length) : m, S = "omission" in u ? Ir(u.omission) : S;
|
|
@@ -26626,8 +26631,8 @@ var _I = { exports: {} };
|
|
|
26626
26631
|
function z(f, g) {
|
|
26627
26632
|
return f.nodeName && f.nodeName.toLowerCase() === g.toLowerCase();
|
|
26628
26633
|
}
|
|
26629
|
-
var
|
|
26630
|
-
"^" +
|
|
26634
|
+
var oe = r.pop, ae = r.sort, ye = r.splice, se = "[\\x20\\t\\r\\n\\f]", te = new RegExp(
|
|
26635
|
+
"^" + se + "+|((?:^|[^\\\\])(?:\\\\.)*)" + se + "+$",
|
|
26631
26636
|
"g"
|
|
26632
26637
|
);
|
|
26633
26638
|
v.contains = function(f, g) {
|
|
@@ -26647,23 +26652,23 @@ var _I = { exports: {} };
|
|
|
26647
26652
|
(function() {
|
|
26648
26653
|
var f, g, x, T, D, k = re, M, U, W, Q, ie, ue = v.expando, ee = 0, xe = 0, Oe = ga(), Je = ga(), Ze = ga(), yn = ga(), Kt = function(B, X) {
|
|
26649
26654
|
return B === X && (D = !0), 0;
|
|
26650
|
-
}, ni = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ri = "(?:\\\\[\\da-fA-F]{1,6}" +
|
|
26651
|
-
"*([*^$|!~]?=)" +
|
|
26652
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + ri + "))|)" +
|
|
26655
|
+
}, ni = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", ri = "(?:\\\\[\\da-fA-F]{1,6}" + se + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", ht = "\\[" + se + "*(" + ri + ")(?:" + se + // Operator (capture 2)
|
|
26656
|
+
"*([*^$|!~]?=)" + se + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
26657
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + ri + "))|)" + se + "*\\]", Gi = ":(" + ri + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + ht + ")*)|.*)\\)|)", pt = new RegExp(se + "+", "g"), Pt = new RegExp("^" + se + "*," + se + "*"), ha = new RegExp("^" + se + "*([>+~]|" + se + ")" + se + "*"), Sl = new RegExp(se + "|>"), Pr = new RegExp(Gi), ws = new RegExp("^" + ri + "$"), hr = {
|
|
26653
26658
|
ID: new RegExp("^#(" + ri + ")"),
|
|
26654
26659
|
CLASS: new RegExp("^\\.(" + ri + ")"),
|
|
26655
26660
|
TAG: new RegExp("^(" + ri + "|[*])"),
|
|
26656
26661
|
ATTR: new RegExp("^" + ht),
|
|
26657
26662
|
PSEUDO: new RegExp("^" + Gi),
|
|
26658
26663
|
CHILD: new RegExp(
|
|
26659
|
-
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
|
|
26664
|
+
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + se + "*(even|odd|(([+-]|)(\\d*)n|)" + se + "*(?:([+-]|)" + se + "*(\\d+)|))" + se + "*\\)|)",
|
|
26660
26665
|
"i"
|
|
26661
26666
|
),
|
|
26662
26667
|
bool: new RegExp("^(?:" + ni + ")$", "i"),
|
|
26663
26668
|
// For use in libraries implementing .is()
|
|
26664
26669
|
// We use this for POS matching in `select`
|
|
26665
|
-
needsContext: new RegExp("^" +
|
|
26666
|
-
}, Pi = /^(?:input|select|textarea|button)$/i, Ki = /^h\d$/i, Fn = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, pa = /[+~]/, Mi = new RegExp("\\\\[\\da-fA-F]{1,6}" +
|
|
26670
|
+
needsContext: new RegExp("^" + se + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + se + "*((?:-\\d)?\\d*)" + se + "*\\)|)(?=[^-]|$)", "i")
|
|
26671
|
+
}, Pi = /^(?:input|select|textarea|button)$/i, Ki = /^h\d$/i, Fn = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, pa = /[+~]/, Mi = new RegExp("\\\\[\\da-fA-F]{1,6}" + se + "?|\\\\([^\\r\\n\\f])", "g"), ii = function(B, X) {
|
|
26667
26672
|
var J = "0x" + B.slice(1) - 65536;
|
|
26668
26673
|
return X || (J < 0 ? String.fromCharCode(J + 65536) : String.fromCharCode(J >> 10 | 55296, J & 1023 | 56320));
|
|
26669
26674
|
}, Xn = function() {
|
|
@@ -26836,7 +26841,7 @@ var _I = { exports: {} };
|
|
|
26836
26841
|
return F.getElementsByClassName(ne);
|
|
26837
26842
|
}, Q = [], mo(function(ne) {
|
|
26838
26843
|
var F;
|
|
26839
|
-
U.appendChild(ne).innerHTML = "<a id='" + ue + "' href='' disabled='disabled'></a><select id='" + ue + "-\r\\' disabled='disabled'><option selected=''></option></select>", ne.querySelectorAll("[selected]").length || Q.push("\\[" +
|
|
26844
|
+
U.appendChild(ne).innerHTML = "<a id='" + ue + "' href='' disabled='disabled'></a><select id='" + ue + "-\r\\' disabled='disabled'><option selected=''></option></select>", ne.querySelectorAll("[selected]").length || Q.push("\\[" + se + "*(?:value|" + ni + ")"), ne.querySelectorAll("[id~=" + ue + "-]").length || Q.push("~="), ne.querySelectorAll("a#" + ue + "+*").length || Q.push(".#.+[+~]"), ne.querySelectorAll(":checked").length || Q.push(":checked"), F = M.createElement("input"), F.setAttribute("type", "hidden"), ne.appendChild(F).setAttribute("name", "D"), U.appendChild(ne).disabled = !0, ne.querySelectorAll(":disabled").length !== 2 && Q.push(":enabled", ":disabled"), F = M.createElement("input"), F.setAttribute("name", ""), ne.appendChild(F), ne.querySelectorAll("[name='']").length || Q.push("\\[" + se + "*name" + se + "*=" + se + `*(?:''|"")`);
|
|
26840
26845
|
}), C.cssHas || Q.push(":has"), Q = Q.length && new RegExp(Q.join("|")), Kt = function(ne, F) {
|
|
26841
26846
|
if (ne === F)
|
|
26842
26847
|
return D = !0, 0;
|
|
@@ -26918,7 +26923,7 @@ var _I = { exports: {} };
|
|
|
26918
26923
|
},
|
|
26919
26924
|
CLASS: function(B) {
|
|
26920
26925
|
var X = Oe[B + " "];
|
|
26921
|
-
return X || (X = new RegExp("(^|" +
|
|
26926
|
+
return X || (X = new RegExp("(^|" + se + ")" + B + "(" + se + "|$)")) && Oe(B, function(J) {
|
|
26922
26927
|
return X.test(
|
|
26923
26928
|
typeof J.className == "string" && J.className || typeof J.getAttribute < "u" && J.getAttribute("class") || ""
|
|
26924
26929
|
);
|
|
@@ -27261,7 +27266,7 @@ var _I = { exports: {} };
|
|
|
27261
27266
|
if (G) {
|
|
27262
27267
|
if (He > 0)
|
|
27263
27268
|
for (; lt--; )
|
|
27264
|
-
bn[lt] || _n[lt] || (_n[lt] =
|
|
27269
|
+
bn[lt] || _n[lt] || (_n[lt] = oe.call(he));
|
|
27265
27270
|
_n = Cl(_n);
|
|
27266
27271
|
}
|
|
27267
27272
|
k.apply(he, _n), Ie && !G && _n.length > 0 && He + X.length > 1 && v.uniqueSort(he);
|
|
@@ -27373,12 +27378,12 @@ var _I = { exports: {} };
|
|
|
27373
27378
|
).length;
|
|
27374
27379
|
}
|
|
27375
27380
|
});
|
|
27376
|
-
var Me,
|
|
27381
|
+
var Me, Be = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, ft = v.fn.init = function(f, g, x) {
|
|
27377
27382
|
var T, D;
|
|
27378
27383
|
if (!f)
|
|
27379
27384
|
return this;
|
|
27380
27385
|
if (x = x || Me, typeof f == "string")
|
|
27381
|
-
if (f[0] === "<" && f[f.length - 1] === ">" && f.length >= 3 ? T = [null, f, null] : T =
|
|
27386
|
+
if (f[0] === "<" && f[f.length - 1] === ">" && f.length >= 3 ? T = [null, f, null] : T = Be.exec(f), T && (T[1] || !g))
|
|
27382
27387
|
if (T[1]) {
|
|
27383
27388
|
if (g = g instanceof v ? g[0] : g, v.merge(this, v.parseHTML(
|
|
27384
27389
|
T[1],
|
|
@@ -27508,14 +27513,14 @@ var _I = { exports: {} };
|
|
|
27508
27513
|
};
|
|
27509
27514
|
});
|
|
27510
27515
|
var Dt = /[^\x20\t\r\n\f]+/g;
|
|
27511
|
-
function
|
|
27516
|
+
function Ve(f) {
|
|
27512
27517
|
var g = {};
|
|
27513
27518
|
return v.each(f.match(Dt) || [], function(x, T) {
|
|
27514
27519
|
g[T] = !0;
|
|
27515
27520
|
}), g;
|
|
27516
27521
|
}
|
|
27517
27522
|
v.Callbacks = function(f) {
|
|
27518
|
-
f = typeof f == "string" ?
|
|
27523
|
+
f = typeof f == "string" ? Ve(f) : v.extend({}, f);
|
|
27519
27524
|
var g, x, T, D, k = [], M = [], U = -1, W = function() {
|
|
27520
27525
|
for (D = D || f.once, T = g = !0; M.length; U = -1)
|
|
27521
27526
|
for (x = M.shift(); ++U < k.length; )
|
|
@@ -30159,16 +30164,16 @@ const Dte = /* @__PURE__ */ fV(M9);
|
|
|
30159
30164
|
i == "left" ? this.startDate : this.endDate, this.locale.direction == "ltr";
|
|
30160
30165
|
var z = '<table class="table-condensed">';
|
|
30161
30166
|
z += "<thead>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += "<th></th>"), (!v || v.isBefore(_.firstDay)) && (!this.linkedCalendars || i == "left") ? z += '<th class="prev available"><span></span></th>' : z += "<th></th>";
|
|
30162
|
-
var
|
|
30167
|
+
var oe = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
|
|
30163
30168
|
if (this.showDropdowns) {
|
|
30164
|
-
for (var ae = _[1][1].month(), ye = _[1][1].year(),
|
|
30169
|
+
for (var ae = _[1][1].month(), ye = _[1][1].year(), se = Y && Y.year() || this.maxYear, te = v && v.year() || this.minYear, fe = ye == te, de = ye == se, le = '<select class="monthselect">', re = 0; re < 12; re++)
|
|
30165
30170
|
(!fe || v && re >= v.month()) && (!de || Y && re <= Y.month()) ? le += "<option value='" + re + "'" + (re === ae ? " selected='selected'" : "") + ">" + this.locale.monthNames[re] + "</option>" : le += "<option value='" + re + "'" + (re === ae ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[re] + "</option>";
|
|
30166
30171
|
le += "</select>";
|
|
30167
|
-
for (var ve = '<select class="yearselect">', we = te; we <=
|
|
30172
|
+
for (var ve = '<select class="yearselect">', we = te; we <= se; we++)
|
|
30168
30173
|
ve += '<option value="' + we + '"' + (we === ye ? ' selected="selected"' : "") + ">" + we + "</option>";
|
|
30169
|
-
ve += "</select>",
|
|
30174
|
+
ve += "</select>", oe = le + ve;
|
|
30170
30175
|
}
|
|
30171
|
-
if (z += '<th colspan="5" class="month">' +
|
|
30176
|
+
if (z += '<th colspan="5" class="month">' + oe + "</th>", (!Y || Y.isAfter(_.lastDay)) && (!this.linkedCalendars || i == "right" || this.singleDatePicker) ? z += '<th class="next available"><span></span></th>' : z += "<th></th>", z += "</tr>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += '<th class="week">' + this.locale.weekLabel + "</th>"), n.each(this.locale.daysOfWeek, function(ft, It) {
|
|
30172
30177
|
z += "<th>" + It + "</th>";
|
|
30173
30178
|
}), z += "</tr>", z += "</thead>", z += "<tbody>", this.endDate == null && this.maxSpan) {
|
|
30174
30179
|
var Ce = this.startDate.clone().add(this.maxSpan).endOf("day");
|
|
@@ -30181,9 +30186,9 @@ const Dte = /* @__PURE__ */ fV(M9);
|
|
|
30181
30186
|
_[j][N].isSame(/* @__PURE__ */ new Date(), "day") && Pe.push("today"), _[j][N].isoWeekday() > 5 && Pe.push("weekend"), _[j][N].month() != _[1][1].month() && Pe.push("off", "ends"), this.minDate && _[j][N].isBefore(this.minDate, "day") && Pe.push("off", "disabled"), Y && _[j][N].isAfter(Y, "day") && Pe.push("off", "disabled"), this.isInvalidDate(_[j][N]) && Pe.push("off", "disabled"), _[j][N].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && Pe.push("active", "start-date"), this.endDate != null && _[j][N].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && Pe.push("active", "end-date"), this.endDate != null && _[j][N] > this.startDate && _[j][N] < this.endDate && Pe.push("in-range");
|
|
30182
30187
|
var je = this.isCustomDate(_[j][N]);
|
|
30183
30188
|
je !== !1 && (typeof je == "string" ? Pe.push(je) : Array.prototype.push.apply(Pe, je));
|
|
30184
|
-
for (var Me = "",
|
|
30185
|
-
Me += Pe[I] + " ", Pe[I] == "disabled" && (
|
|
30186
|
-
|
|
30189
|
+
for (var Me = "", Be = !1, I = 0; I < Pe.length; I++)
|
|
30190
|
+
Me += Pe[I] + " ", Pe[I] == "disabled" && (Be = !0);
|
|
30191
|
+
Be || (Me += "available"), z += '<td class="' + Me.replace(/^\s+|\s+$/g, "") + '" data-title="r' + j + "c" + N + '">' + _[j][N].date() + "</td>";
|
|
30187
30192
|
}
|
|
30188
30193
|
z += "</tr>";
|
|
30189
30194
|
}
|
|
@@ -33946,9 +33951,9 @@ var Za = function(e) {
|
|
|
33946
33951
|
return mh.get(e);
|
|
33947
33952
|
if (uR(e))
|
|
33948
33953
|
return mh.set(e, wE), wE;
|
|
33949
|
-
var n = getComputedStyle(e), r = Ux(e) && e.ownerSVGElement && e.getBBox(), i = !Hie && n.boxSizing === "border-box", s = Wie.test(n.writingMode || ""), o = !r && xE.test(n.overflowY || ""), l = !r && xE.test(n.overflowX || ""), c = r ? 0 : ns(n.paddingTop), d = r ? 0 : ns(n.paddingRight), h = r ? 0 : ns(n.paddingBottom), p = r ? 0 : ns(n.paddingLeft), y = r ? 0 : ns(n.borderTopWidth), b = r ? 0 : ns(n.borderRightWidth), C = r ? 0 : ns(n.borderBottomWidth), w = r ? 0 : ns(n.borderLeftWidth), E = p + d, _ = c + h, I = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, N = o ? e.offsetWidth - I - e.clientWidth : 0, j = i ? E + I : 0, v = i ? _ + P : 0, Y = r ? r.width : ns(n.width) - j - N, z = r ? r.height : ns(n.height) - v - V,
|
|
33954
|
+
var n = getComputedStyle(e), r = Ux(e) && e.ownerSVGElement && e.getBBox(), i = !Hie && n.boxSizing === "border-box", s = Wie.test(n.writingMode || ""), o = !r && xE.test(n.overflowY || ""), l = !r && xE.test(n.overflowX || ""), c = r ? 0 : ns(n.paddingTop), d = r ? 0 : ns(n.paddingRight), h = r ? 0 : ns(n.paddingBottom), p = r ? 0 : ns(n.paddingLeft), y = r ? 0 : ns(n.borderTopWidth), b = r ? 0 : ns(n.borderRightWidth), C = r ? 0 : ns(n.borderBottomWidth), w = r ? 0 : ns(n.borderLeftWidth), E = p + d, _ = c + h, I = w + b, P = y + C, V = l ? e.offsetHeight - P - e.clientHeight : 0, N = o ? e.offsetWidth - I - e.clientWidth : 0, j = i ? E + I : 0, v = i ? _ + P : 0, Y = r ? r.width : ns(n.width) - j - N, z = r ? r.height : ns(n.height) - v - V, oe = Y + E + N + I, ae = z + _ + V + P, ye = Za({
|
|
33950
33955
|
devicePixelContentBoxSize: su(Math.round(Y * devicePixelRatio), Math.round(z * devicePixelRatio), s),
|
|
33951
|
-
borderBoxSize: su(
|
|
33956
|
+
borderBoxSize: su(oe, ae, s),
|
|
33952
33957
|
contentBoxSize: su(Y, z, s),
|
|
33953
33958
|
contentRect: new lR(p, c, Y, z)
|
|
33954
33959
|
});
|
|
@@ -36190,8 +36195,8 @@ function KE({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
36190
36195
|
const E = p + w, _ = o === void 0 ? E : o(E);
|
|
36191
36196
|
_ !== E && (w = _ - p);
|
|
36192
36197
|
const I = (Y) => -w * Math.exp(-Y / r), P = (Y) => _ + I(Y), V = (Y) => {
|
|
36193
|
-
const z = I(Y),
|
|
36194
|
-
y.done = Math.abs(z) <= d, y.value = y.done ? _ :
|
|
36198
|
+
const z = I(Y), oe = P(Y);
|
|
36199
|
+
y.done = Math.abs(z) <= d, y.value = y.done ? _ : oe;
|
|
36195
36200
|
};
|
|
36196
36201
|
let N, j;
|
|
36197
36202
|
const v = (Y) => {
|
|
@@ -36373,8 +36378,8 @@ class ww extends pL {
|
|
|
36373
36378
|
let P = this.currentTime, V = s;
|
|
36374
36379
|
if (b) {
|
|
36375
36380
|
const Y = Math.min(this.currentTime, h) / p;
|
|
36376
|
-
let z = Math.floor(Y),
|
|
36377
|
-
!
|
|
36381
|
+
let z = Math.floor(Y), oe = Y % 1;
|
|
36382
|
+
!oe && Y >= 1 && (oe = 1), oe === 1 && z--, z = Math.min(z, b + 1), !!(z % 2) && (C === "reverse" ? (oe = 1 - oe, w && (oe -= w / p)) : C === "mirror" && (V = o)), P = to(0, 1, oe) * p;
|
|
36378
36383
|
}
|
|
36379
36384
|
const N = I ? { done: !1, value: c[0] } : V.next(P);
|
|
36380
36385
|
l && (N.value = l(N.value));
|
|
@@ -36830,10 +36835,10 @@ function Yae(e) {
|
|
|
36830
36835
|
let Y = v || // If we're making this variant active, we want to always make it active
|
|
36831
36836
|
_ === c && I.isActive && !j && V || // If we removed a higher-priority variant (i is in reverse order)
|
|
36832
36837
|
E > C && V, z = !1;
|
|
36833
|
-
const
|
|
36834
|
-
let ae =
|
|
36838
|
+
const oe = Array.isArray(P) ? P : [P];
|
|
36839
|
+
let ae = oe.reduce(i(_), {});
|
|
36835
36840
|
N === !1 && (ae = {});
|
|
36836
|
-
const { prevResolvedValues: ye = {} } = I,
|
|
36841
|
+
const { prevResolvedValues: ye = {} } = I, se = {
|
|
36837
36842
|
...ye,
|
|
36838
36843
|
...ae
|
|
36839
36844
|
}, te = (le) => {
|
|
@@ -36841,14 +36846,14 @@ function Yae(e) {
|
|
|
36841
36846
|
const re = e.getValue(le);
|
|
36842
36847
|
re && (re.liveStyle = !1);
|
|
36843
36848
|
};
|
|
36844
|
-
for (const le in
|
|
36849
|
+
for (const le in se) {
|
|
36845
36850
|
const re = ae[le], ve = ye[le];
|
|
36846
36851
|
if (b.hasOwnProperty(le))
|
|
36847
36852
|
continue;
|
|
36848
36853
|
let we = !1;
|
|
36849
36854
|
k0(re) && k0(ve) ? we = !LR(re, ve) : we = re !== ve, we ? re != null ? te(le) : y.add(le) : re !== void 0 && y.has(le) ? te(le) : I.protectedKeys[le] = !0;
|
|
36850
36855
|
}
|
|
36851
|
-
I.prevProp = P, I.prevResolvedValues = ae, I.isActive && (b = { ...b, ...ae }), r && e.blockInitialAnimation && (Y = !1), Y && (!(j && v) || z) && p.push(...
|
|
36856
|
+
I.prevProp = P, I.prevResolvedValues = ae, I.isActive && (b = { ...b, ...ae }), r && e.blockInitialAnimation && (Y = !1), Y && (!(j && v) || z) && p.push(...oe.map((le) => ({
|
|
36852
36857
|
animation: le,
|
|
36853
36858
|
options: { type: _ }
|
|
36854
36859
|
})));
|
|
@@ -38895,7 +38900,7 @@ function Mue(e) {
|
|
|
38895
38900
|
bottom: v,
|
|
38896
38901
|
right: Y,
|
|
38897
38902
|
x: z,
|
|
38898
|
-
y:
|
|
38903
|
+
y: oe
|
|
38899
38904
|
} = c.current.element.getBoundingClientRect(), ae = {
|
|
38900
38905
|
left: P,
|
|
38901
38906
|
top: V,
|
|
@@ -38904,7 +38909,7 @@ function Mue(e) {
|
|
|
38904
38909
|
bottom: v,
|
|
38905
38910
|
right: Y,
|
|
38906
38911
|
x: z,
|
|
38907
|
-
y:
|
|
38912
|
+
y: oe
|
|
38908
38913
|
};
|
|
38909
38914
|
c.current.element instanceof HTMLElement && i && (ae.height = c.current.element.offsetHeight, ae.width = c.current.element.offsetWidth), Object.freeze(ae), p.current && !Lue(c.current.lastBounds, ae) && l(c.current.lastBounds = ae);
|
|
38910
38915
|
};
|
|
@@ -40049,15 +40054,24 @@ function kce(e) {
|
|
|
40049
40054
|
n.current
|
|
40050
40055
|
);
|
|
40051
40056
|
}
|
|
40057
|
+
function Oce(e) {
|
|
40058
|
+
if (e.redirectUrl)
|
|
40059
|
+
return e.redirectUrl;
|
|
40060
|
+
if (e.path && e.path.includes("http")) {
|
|
40061
|
+
const t = new URL(e.path);
|
|
40062
|
+
return t.href.replace(t.origin, "");
|
|
40063
|
+
}
|
|
40064
|
+
return e.path || "#";
|
|
40065
|
+
}
|
|
40052
40066
|
function nN({ ...e }) {
|
|
40053
40067
|
var Ce, Pe, je;
|
|
40054
|
-
const t = e.item, n = e.level || 0, r = !!((Ce = e.item.children) != null && Ce.length), { isActive: i, isCollapsed: s } = e, o = `level-${n}`, l = s ? "collapsed" : "expanded", c = i(t.id) ? "active" : "", d = r ? "parent" : "child", h = e.params.isOpen ? "isOpen" : "isClose", p = e.isInternalApp ? "isInternalApp" : "", y = (Me,
|
|
40068
|
+
const t = e.item, n = e.level || 0, r = !!((Ce = e.item.children) != null && Ce.length), { isActive: i, isCollapsed: s } = e, o = `level-${n}`, l = s ? "collapsed" : "expanded", c = i(t.id) ? "active" : "", d = r ? "parent" : "child", h = e.params.isOpen ? "isOpen" : "isClose", p = e.isInternalApp ? "isInternalApp" : "", y = (Me, Be = o) => `${Me} ${Be} ${l} ${c} ${d} ${h} ${p}`, [b, C] = A.useState(!1), [w, E] = A.useState(t.isFavorite || !1);
|
|
40055
40069
|
A.useEffect(() => {
|
|
40056
40070
|
E(!!e.item.isFavorite);
|
|
40057
40071
|
}, [e.item.isFavorite]);
|
|
40058
40072
|
const _ = A.useRef(), I = A.useRef();
|
|
40059
40073
|
I != null && I.current && ((Pe = I == null ? void 0 : I.current) == null ? void 0 : Pe.scrollWidth) > ((je = I == null ? void 0 : I.current) == null ? void 0 : je.clientWidth);
|
|
40060
|
-
const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== N, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = t
|
|
40074
|
+
const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== N, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = Oce(t), oe = n + 1, ae = r && s && b, ye = s || n === 0 ? void 0 : `${n + 0.25}rem`, se = () => {
|
|
40061
40075
|
C(!0);
|
|
40062
40076
|
}, te = () => {
|
|
40063
40077
|
C(!1);
|
|
@@ -40068,7 +40082,7 @@ function nN({ ...e }) {
|
|
|
40068
40082
|
e.params.onToggle
|
|
40069
40083
|
);
|
|
40070
40084
|
const re = de || s && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null, ve = Object.entries(e.brandColors || {}).reduce(
|
|
40071
|
-
(Me, [
|
|
40085
|
+
(Me, [Be, ft]) => (ft && (Me[`--${Be}`] = ft), Me),
|
|
40072
40086
|
{}
|
|
40073
40087
|
), we = P !== V.origin || e.item.redirectUrl ? "_blank" : "_self";
|
|
40074
40088
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -40081,7 +40095,7 @@ function nN({ ...e }) {
|
|
|
40081
40095
|
transition: "all 0.3s",
|
|
40082
40096
|
...ve
|
|
40083
40097
|
},
|
|
40084
|
-
onMouseOver:
|
|
40098
|
+
onMouseOver: se,
|
|
40085
40099
|
onMouseOut: te,
|
|
40086
40100
|
onDragStart: (Me) => {
|
|
40087
40101
|
s && n > 1 && Me.preventDefault();
|
|
@@ -40092,32 +40106,23 @@ function nN({ ...e }) {
|
|
|
40092
40106
|
{
|
|
40093
40107
|
target: we,
|
|
40094
40108
|
to: z,
|
|
40095
|
-
href: z,
|
|
40096
40109
|
draggable: "true",
|
|
40097
40110
|
className: y("menu-item__link"),
|
|
40098
40111
|
style: {
|
|
40099
40112
|
paddingLeft: ye
|
|
40100
|
-
// transition: 'all 0.3s',
|
|
40101
|
-
// transitionDelay: '0.1s',
|
|
40102
|
-
// color: isActive(item.id)
|
|
40103
|
-
// ? props.brandColors?.primary400 || color.primary400
|
|
40104
|
-
// : undefined,
|
|
40105
|
-
// backgroundColor:
|
|
40106
|
-
// isActive(item.id) && level === 0
|
|
40107
|
-
// ? props.brandColors?.primary200
|
|
40108
|
-
// : undefined,
|
|
40109
40113
|
},
|
|
40110
40114
|
onClick: (Me) => {
|
|
40111
|
-
|
|
40115
|
+
var Be;
|
|
40116
|
+
Y === "a" && we === "_blank" || (!r && t.path && (localStorage.setItem(
|
|
40112
40117
|
"latestClickMenuPath",
|
|
40113
40118
|
(t.path || "").replace(window.location.origin, "")
|
|
40114
|
-
), !s && e.toggleExpand(Me));
|
|
40119
|
+
), (Be = e.onClickItem) == null || Be.call(e, z)), !s && e.toggleExpand(Me));
|
|
40115
40120
|
},
|
|
40116
40121
|
children: [
|
|
40117
|
-
/* @__PURE__ */ L.jsx(
|
|
40122
|
+
/* @__PURE__ */ L.jsx(Pce, { cls: y, item: t }),
|
|
40118
40123
|
/* @__PURE__ */ L.jsx("span", { className: y("menu-item__label"), ref: I, children: t.name }),
|
|
40119
40124
|
/* @__PURE__ */ L.jsx(
|
|
40120
|
-
|
|
40125
|
+
Mce,
|
|
40121
40126
|
{
|
|
40122
40127
|
tooltipPosition: re ? "right" : "top",
|
|
40123
40128
|
menuLevel: n,
|
|
@@ -40125,11 +40130,11 @@ function nN({ ...e }) {
|
|
|
40125
40130
|
isHovered: b,
|
|
40126
40131
|
isFavorite: w,
|
|
40127
40132
|
onClick: (Me) => {
|
|
40128
|
-
const
|
|
40133
|
+
const Be = {
|
|
40129
40134
|
menuConfigId: t.id,
|
|
40130
40135
|
isFavorite: Me
|
|
40131
40136
|
}, ft = e.baseUrl + fe;
|
|
40132
|
-
qn.post(ft,
|
|
40137
|
+
qn.post(ft, Be).then((It) => {
|
|
40133
40138
|
var dt;
|
|
40134
40139
|
E(Me), EP(qt("components.menu.pushSuccess.menuSuccess", { defaultValue: "Set favorite menu item successful" })), (dt = e.onSetFavoriteSuccess) == null || dt.call(e, e.item.id, Me), CI(e.item.id, Me);
|
|
40135
40140
|
}).catch((It) => {
|
|
@@ -40158,25 +40163,25 @@ function nN({ ...e }) {
|
|
|
40158
40163
|
parentRef: _,
|
|
40159
40164
|
onlyChild: !s,
|
|
40160
40165
|
renderChildren: ({ maxHeight: Me }) => {
|
|
40161
|
-
var
|
|
40166
|
+
var Be;
|
|
40162
40167
|
return /* @__PURE__ */ L.jsx(
|
|
40163
40168
|
GM.div,
|
|
40164
40169
|
{
|
|
40165
40170
|
className: y(
|
|
40166
40171
|
`menu-item__dropdown ${e.params.isOpen ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
|
|
40167
|
-
`level-${
|
|
40172
|
+
`level-${oe}`
|
|
40168
40173
|
),
|
|
40169
40174
|
style: KM(
|
|
40170
40175
|
{ maxHeight: Me, overflowY: "auto", paddingRight: 3 },
|
|
40171
|
-
Me !== "auto" && !!
|
|
40176
|
+
Me !== "auto" && !!oe
|
|
40172
40177
|
),
|
|
40173
|
-
children: (
|
|
40178
|
+
children: (Be = t.children) == null ? void 0 : Be.map((ft) => /* @__PURE__ */ A.createElement(
|
|
40174
40179
|
nN,
|
|
40175
40180
|
{
|
|
40176
40181
|
...e,
|
|
40177
40182
|
key: ft.id,
|
|
40178
40183
|
item: ft,
|
|
40179
|
-
level:
|
|
40184
|
+
level: oe
|
|
40180
40185
|
}
|
|
40181
40186
|
))
|
|
40182
40187
|
}
|
|
@@ -40188,10 +40193,10 @@ function nN({ ...e }) {
|
|
|
40188
40193
|
}
|
|
40189
40194
|
);
|
|
40190
40195
|
}
|
|
40191
|
-
function
|
|
40196
|
+
function Pce({ item: e, cls: t }) {
|
|
40192
40197
|
return /* @__PURE__ */ L.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ L.jsx(Pie, { item: e }) });
|
|
40193
40198
|
}
|
|
40194
|
-
function
|
|
40199
|
+
function Mce(e) {
|
|
40195
40200
|
const t = {
|
|
40196
40201
|
marginRight: e.hasChildren ? 10 : 0,
|
|
40197
40202
|
fontSize: 18,
|
|
@@ -40236,7 +40241,7 @@ function Pce(e) {
|
|
|
40236
40241
|
)
|
|
40237
40242
|
] });
|
|
40238
40243
|
}
|
|
40239
|
-
function
|
|
40244
|
+
function Ace() {
|
|
40240
40245
|
return /* @__PURE__ */ L.jsx(
|
|
40241
40246
|
"svg",
|
|
40242
40247
|
{
|
|
@@ -40251,7 +40256,7 @@ function Mce() {
|
|
|
40251
40256
|
}
|
|
40252
40257
|
);
|
|
40253
40258
|
}
|
|
40254
|
-
function
|
|
40259
|
+
function Ice() {
|
|
40255
40260
|
return /* @__PURE__ */ L.jsx(
|
|
40256
40261
|
"svg",
|
|
40257
40262
|
{
|
|
@@ -40266,7 +40271,7 @@ function Ace() {
|
|
|
40266
40271
|
}
|
|
40267
40272
|
);
|
|
40268
40273
|
}
|
|
40269
|
-
function
|
|
40274
|
+
function Rce(e) {
|
|
40270
40275
|
return /* @__PURE__ */ L.jsx(
|
|
40271
40276
|
"svg",
|
|
40272
40277
|
{
|
|
@@ -40288,7 +40293,7 @@ function Ice(e) {
|
|
|
40288
40293
|
}
|
|
40289
40294
|
);
|
|
40290
40295
|
}
|
|
40291
|
-
const
|
|
40296
|
+
const Lce = ".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", Nce = (e) => {
|
|
40292
40297
|
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
40293
40298
|
return /* @__PURE__ */ L.jsx(
|
|
40294
40299
|
"div",
|
|
@@ -40304,7 +40309,7 @@ const Rce = ".flex-col-center{display:flex;flex-direction:column;justify-content
|
|
|
40304
40309
|
}
|
|
40305
40310
|
}
|
|
40306
40311
|
);
|
|
40307
|
-
},
|
|
40312
|
+
}, $ce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", Fce = (e) => {
|
|
40308
40313
|
const [t, n] = A.useState(() => {
|
|
40309
40314
|
const r = localStorage.getItem("openingMenuIds");
|
|
40310
40315
|
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
@@ -40323,13 +40328,13 @@ function rN(e) {
|
|
|
40323
40328
|
}
|
|
40324
40329
|
const Zh = localStorage.getItem("isCollapsed");
|
|
40325
40330
|
rN(Zh);
|
|
40326
|
-
function
|
|
40331
|
+
function jce(e) {
|
|
40327
40332
|
const t = new CustomEvent("favoriteMenusChange", {
|
|
40328
40333
|
detail: { favoriteMenus: e }
|
|
40329
40334
|
});
|
|
40330
40335
|
window.dispatchEvent(t);
|
|
40331
40336
|
}
|
|
40332
|
-
function
|
|
40337
|
+
function Bce(e) {
|
|
40333
40338
|
const t = lk(), [n, r] = A.useState([]), i = n.map((te) => te.data), [s, o] = A.useState(!1), [l, c] = A.useState([]), [d, h] = A.useState(
|
|
40334
40339
|
Zh === null ? !0 : Zh === "true"
|
|
40335
40340
|
), [p, y] = A.useState(window.location.href), b = A.useRef(null);
|
|
@@ -40339,7 +40344,7 @@ function jce(e) {
|
|
|
40339
40344
|
}, [i, e.handleCallback]), A.useEffect(() => {
|
|
40340
40345
|
y(window.location.href);
|
|
40341
40346
|
}, [t]);
|
|
40342
|
-
const C =
|
|
40347
|
+
const C = Wce(i, p), [w, E] = Fce({
|
|
40343
40348
|
initOpenIds: e.initOpenIds
|
|
40344
40349
|
}), _ = () => {
|
|
40345
40350
|
var te, fe;
|
|
@@ -40429,9 +40434,9 @@ function jce(e) {
|
|
|
40429
40434
|
};
|
|
40430
40435
|
}
|
|
40431
40436
|
const de = te.map((le) => fe(le));
|
|
40432
|
-
|
|
40437
|
+
jce(de);
|
|
40433
40438
|
}, [i]);
|
|
40434
|
-
function
|
|
40439
|
+
function oe(te) {
|
|
40435
40440
|
const fe = te.detail.menuItem;
|
|
40436
40441
|
r((de) => de.map(
|
|
40437
40442
|
(le) => le.id !== fe.id ? le : {
|
|
@@ -40440,8 +40445,8 @@ function jce(e) {
|
|
|
40440
40445
|
}
|
|
40441
40446
|
)), z();
|
|
40442
40447
|
}
|
|
40443
|
-
A.useEffect(() => (window.addEventListener("updateFavoriteMenu",
|
|
40444
|
-
window.removeEventListener("updateFavoriteMenu",
|
|
40448
|
+
A.useEffect(() => (window.addEventListener("updateFavoriteMenu", oe), () => {
|
|
40449
|
+
window.removeEventListener("updateFavoriteMenu", oe);
|
|
40445
40450
|
}), []), A.useLayoutEffect(() => {
|
|
40446
40451
|
var le;
|
|
40447
40452
|
const te = localStorage.getItem("scrollPos");
|
|
@@ -40462,18 +40467,18 @@ function jce(e) {
|
|
|
40462
40467
|
function ae(te) {
|
|
40463
40468
|
o(!0);
|
|
40464
40469
|
const fe = [...n], de = [...te], le = de.filter((Me) => Me.parent === 0), re = de.filter((Me) => Me.parent !== 0), ve = le.find((Me) => {
|
|
40465
|
-
var
|
|
40466
|
-
return ((
|
|
40470
|
+
var Be;
|
|
40471
|
+
return ((Be = Me.data) == null ? void 0 : Be.name) === "Home";
|
|
40467
40472
|
}), we = le.filter(
|
|
40468
40473
|
(Me) => {
|
|
40469
|
-
var
|
|
40470
|
-
return ((
|
|
40474
|
+
var Be;
|
|
40475
|
+
return ((Be = Me.data) == null ? void 0 : Be.name) !== "Home";
|
|
40471
40476
|
}
|
|
40472
40477
|
), Pe = [...ve ? [ve, ...we] : we, ...re];
|
|
40473
40478
|
r(Pe);
|
|
40474
|
-
const je = Pe.map((Me,
|
|
40479
|
+
const je = Pe.map((Me, Be) => ({
|
|
40475
40480
|
menuItemId: Me.id,
|
|
40476
|
-
order:
|
|
40481
|
+
order: Be
|
|
40477
40482
|
}));
|
|
40478
40483
|
qn.post("/global-menu-config/api/v1/menu-items/user", je, {
|
|
40479
40484
|
baseURL: e.baseUrl
|
|
@@ -40487,14 +40492,14 @@ function jce(e) {
|
|
|
40487
40492
|
const ye = A.useMemo(
|
|
40488
40493
|
() => Zh === "false" ? w : [],
|
|
40489
40494
|
[]
|
|
40490
|
-
),
|
|
40495
|
+
), se = document.getElementById("global-menu-container");
|
|
40491
40496
|
return /* @__PURE__ */ L.jsxs("div", { className: N("side-bar"), children: [
|
|
40492
40497
|
/* @__PURE__ */ L.jsx("div", { className: N("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ L.jsx(
|
|
40493
40498
|
"button",
|
|
40494
40499
|
{
|
|
40495
40500
|
className: "icon-btn side-bar__toggle-btn",
|
|
40496
40501
|
onClick: _,
|
|
40497
|
-
children: d ? /* @__PURE__ */ L.jsx(
|
|
40502
|
+
children: d ? /* @__PURE__ */ L.jsx(Ice, {}) : /* @__PURE__ */ L.jsx(Ace, {})
|
|
40498
40503
|
}
|
|
40499
40504
|
) }),
|
|
40500
40505
|
/* @__PURE__ */ L.jsx(
|
|
@@ -40553,6 +40558,7 @@ function jce(e) {
|
|
|
40553
40558
|
return /* @__PURE__ */ L.jsx(
|
|
40554
40559
|
nN,
|
|
40555
40560
|
{
|
|
40561
|
+
onClickItem: e.onClickItem,
|
|
40556
40562
|
isInternalApp: e.isInternalApp,
|
|
40557
40563
|
isActive: re,
|
|
40558
40564
|
isCollapsed: d,
|
|
@@ -40588,7 +40594,7 @@ function jce(e) {
|
|
|
40588
40594
|
placeholderRender: (te, { depth: fe }) => {
|
|
40589
40595
|
var de;
|
|
40590
40596
|
return /* @__PURE__ */ L.jsx(
|
|
40591
|
-
|
|
40597
|
+
Nce,
|
|
40592
40598
|
{
|
|
40593
40599
|
node: te,
|
|
40594
40600
|
depth: fe,
|
|
@@ -40619,10 +40625,10 @@ function jce(e) {
|
|
|
40619
40625
|
{
|
|
40620
40626
|
className: N("side-bar__logout-btn"),
|
|
40621
40627
|
onClick: () => {
|
|
40622
|
-
|
|
40628
|
+
se.style.setProperty("z-index", "1304"), se.classList.remove("backdrop-delay-transition"), P(!0);
|
|
40623
40629
|
},
|
|
40624
40630
|
children: [
|
|
40625
|
-
/* @__PURE__ */ L.jsx(
|
|
40631
|
+
/* @__PURE__ */ L.jsx(Rce, { className: N("side-bar__icon-logout") }),
|
|
40626
40632
|
/* @__PURE__ */ L.jsx("span", { className: N("side-bar__logout-btn__text"), children: "Logout" })
|
|
40627
40633
|
]
|
|
40628
40634
|
}
|
|
@@ -40632,10 +40638,10 @@ function jce(e) {
|
|
|
40632
40638
|
{
|
|
40633
40639
|
isOpen: I,
|
|
40634
40640
|
onClose: () => {
|
|
40635
|
-
|
|
40641
|
+
se.style.setProperty(
|
|
40636
40642
|
"z-index",
|
|
40637
40643
|
"var(--menu-z-index)"
|
|
40638
|
-
),
|
|
40644
|
+
), se.classList.add("backdrop-delay-transition"), P(!1);
|
|
40639
40645
|
},
|
|
40640
40646
|
onConfirm: () => e.logout ? e.logout() : Iie(e.baseUrl)
|
|
40641
40647
|
}
|
|
@@ -40727,14 +40733,14 @@ const GD = {
|
|
|
40727
40733
|
"/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
|
|
40728
40734
|
"/anpr/page/Issues/Index": ["/anpr/page/Issues"]
|
|
40729
40735
|
};
|
|
40730
|
-
function
|
|
40736
|
+
function Vce(e, t) {
|
|
40731
40737
|
const r = e.replace(window.origin, "").replace("/app", ""), i = new URL(r, window.location.origin), s = new URL(t.replace("/app", ""), window.origin), o = (localStorage.getItem("latestClickMenuPath") || "").replace("/app", "");
|
|
40732
40738
|
return r && GD[r] && GD[r].some((l) => t.replace("/app", "").includes(l)) ? o === r ? 5 : 4 : i.pathname === s.pathname && i.search === s.search ? 3 : i.pathname === s.pathname ? 2 : s.pathname.startsWith(i.pathname) ? 1 : 0;
|
|
40733
40739
|
}
|
|
40734
|
-
function
|
|
40740
|
+
function Wce(e, t) {
|
|
40735
40741
|
const n = e.map((o) => ({
|
|
40736
40742
|
item: o,
|
|
40737
|
-
priority: o.path ?
|
|
40743
|
+
priority: o.path ? Vce(o.path, t) : 0
|
|
40738
40744
|
})).filter((o) => o.priority > 0);
|
|
40739
40745
|
console.log(" index.tsx ~ matchedItems:", n);
|
|
40740
40746
|
const r = n.length > 0 ? n.reduce(
|
|
@@ -40757,30 +40763,30 @@ function sN(e) {
|
|
|
40757
40763
|
path: window.location.origin + "/app" + n.path
|
|
40758
40764
|
} : (n.children && (n.children = sN(n.children)), n));
|
|
40759
40765
|
}
|
|
40760
|
-
function
|
|
40766
|
+
function Hce(e) {
|
|
40761
40767
|
return (
|
|
40762
40768
|
// <ShadowDOM.div>
|
|
40763
40769
|
/* @__PURE__ */ L.jsx(
|
|
40764
40770
|
Z0,
|
|
40765
40771
|
{
|
|
40766
40772
|
id: "global-menu-container",
|
|
40767
|
-
styles: [bk,
|
|
40773
|
+
styles: [bk, Lce, $ce],
|
|
40768
40774
|
style: {
|
|
40769
40775
|
zIndex: "var(--menu-z-index)",
|
|
40770
40776
|
position: "relative"
|
|
40771
40777
|
},
|
|
40772
40778
|
className: "backdrop-delay-transition",
|
|
40773
|
-
children: /* @__PURE__ */ L.jsx(
|
|
40779
|
+
children: /* @__PURE__ */ L.jsx(Bce, { ...e })
|
|
40774
40780
|
}
|
|
40775
40781
|
)
|
|
40776
40782
|
);
|
|
40777
40783
|
}
|
|
40778
|
-
function
|
|
40784
|
+
function Uce(e) {
|
|
40779
40785
|
const t = { ...Dn, ...e.brandColors };
|
|
40780
|
-
return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(ak, { children: /* @__PURE__ */ L.jsx(W5, { theme: kU({ colors: t }), children: /* @__PURE__ */ L.jsx(
|
|
40786
|
+
return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(ak, { children: /* @__PURE__ */ L.jsx(W5, { theme: kU({ colors: t }), children: /* @__PURE__ */ L.jsx(Hce, { ...e, ssr: !0 }) }) });
|
|
40781
40787
|
}
|
|
40782
40788
|
{
|
|
40783
|
-
const e = zp(
|
|
40789
|
+
const e = zp(Uce, {
|
|
40784
40790
|
props: {
|
|
40785
40791
|
baseUrl: "string",
|
|
40786
40792
|
menuPath: "string",
|
|
@@ -40798,10 +40804,10 @@ function Hce(e) {
|
|
|
40798
40804
|
}
|
|
40799
40805
|
export {
|
|
40800
40806
|
Tte as F,
|
|
40801
|
-
|
|
40807
|
+
Hce as G,
|
|
40802
40808
|
pU as H,
|
|
40803
40809
|
n8 as L,
|
|
40804
|
-
|
|
40810
|
+
yfe as T,
|
|
40805
40811
|
hU as g,
|
|
40806
40812
|
CI as u
|
|
40807
40813
|
};
|