@ukpc-lib/react 0.14.4-sandbox.saas-9642.patch-2 → 0.14.4-sandbox.saas-9642.patch-3
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/GlobalMenu/index.d.ts +2 -0
- package/dist/components/index.cjs +2 -2
- package/dist/components/index.js +3 -3
- package/dist/{index.esm2017-55t5vWTS.js → index.esm2017-DLjiPHbA.js} +97 -92
- package/dist/{index.esm2017-CuD5dcjM.cjs → index.esm2017-DNrIADxm.cjs} +1 -1
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +1 -1
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-Co0XYbCx.js → index-Byn-TU-z.js} +1662 -1656
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./index.css";
|
|
2
|
-
import { jsx as Ee, jsxs as
|
|
2
|
+
import { jsx as Ee, jsxs as on, Fragment as Fl } from "react/jsx-runtime";
|
|
3
3
|
import * as An from "react";
|
|
4
|
-
import dt, { useMemo as Nn, useEffect as St, createContext as ir, useContext as Qt, useState as Lt, useRef as
|
|
4
|
+
import dt, { useMemo as Nn, useEffect as St, createContext as ir, useContext as Qt, useState as Lt, useRef as sn, createElement as eh, PureComponent as wI, isValidElement as Oc, useLayoutEffect as qa, useSyncExternalStore as xI, cloneElement as Fd, useId as oT, useCallback as th, useInsertionEffect as sT, forwardRef as Lp, Fragment as aT, Component as SI, memo as TI, useImperativeHandle as CI } from "react";
|
|
5
5
|
import EI from "axios";
|
|
6
6
|
import { useQueryClient as lT, useQuery as Jv } from "react-query";
|
|
7
7
|
import { Grid as kI, CircularProgress as DI, createTheme as PI, ThemeProvider as OI, Tooltip as Nd, styled as _I, Switch as AI } from "@mui/material";
|
|
@@ -2669,7 +2669,7 @@ function Bg(t) {
|
|
|
2669
2669
|
return t;
|
|
2670
2670
|
}
|
|
2671
2671
|
var YM = function(e, n) {
|
|
2672
|
-
var r =
|
|
2672
|
+
var r = sn();
|
|
2673
2673
|
return St(function() {
|
|
2674
2674
|
r.current = e;
|
|
2675
2675
|
}, [e, n]), r.current;
|
|
@@ -2694,7 +2694,7 @@ function GM(t) {
|
|
|
2694
2694
|
}
|
|
2695
2695
|
var I = Lt(R), B = zM(I, 2), A = B[0], U = B[1], H = T.join();
|
|
2696
2696
|
e.lng && (H = "".concat(e.lng).concat(H));
|
|
2697
|
-
var te = YM(H), q =
|
|
2697
|
+
var te = YM(H), q = sn(!0);
|
|
2698
2698
|
St(function() {
|
|
2699
2699
|
var se = p.bindI18n, ae = p.bindI18nStore;
|
|
2700
2700
|
q.current = !0, !E && !y && (e.lng ? z0(a, e.lng, T, function() {
|
|
@@ -2713,7 +2713,7 @@ function GM(t) {
|
|
|
2713
2713
|
});
|
|
2714
2714
|
};
|
|
2715
2715
|
}, [a, H]);
|
|
2716
|
-
var ie =
|
|
2716
|
+
var ie = sn(!0);
|
|
2717
2717
|
St(function() {
|
|
2718
2718
|
q.current && !ie.current && U(R), ie.current = !1;
|
|
2719
2719
|
}, [a, g]);
|
|
@@ -4314,15 +4314,15 @@ function AL({
|
|
|
4314
4314
|
var o;
|
|
4315
4315
|
((o = i.target) == null ? void 0 : o.id) === "modal-wrapper" && e();
|
|
4316
4316
|
}
|
|
4317
|
-
return /* @__PURE__ */
|
|
4317
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
4318
4318
|
/* @__PURE__ */ Ee("style", { type: "text/css", children: _L }),
|
|
4319
|
-
/* @__PURE__ */ Ee("div", { onClick: r, className: "modal-overlay", id: "modal-wrapper", children: /* @__PURE__ */
|
|
4319
|
+
/* @__PURE__ */ Ee("div", { onClick: r, className: "modal-overlay", id: "modal-wrapper", children: /* @__PURE__ */ on("div", { className: "modal-container", children: [
|
|
4320
4320
|
/* @__PURE__ */ Ee("h3", { className: "modal-title", children: fa("components.logoutPage.title", { defaultValue: "Log out" }) }),
|
|
4321
|
-
/* @__PURE__ */
|
|
4321
|
+
/* @__PURE__ */ on("p", { className: "text-sm", children: [
|
|
4322
4322
|
" ",
|
|
4323
4323
|
fa("components.logoutPage.confirmLogOut", { defaultValue: "Are you sure you want to log out?" })
|
|
4324
4324
|
] }),
|
|
4325
|
-
/* @__PURE__ */
|
|
4325
|
+
/* @__PURE__ */ on("div", { className: "modal-footer", children: [
|
|
4326
4326
|
/* @__PURE__ */ Ee(
|
|
4327
4327
|
"button",
|
|
4328
4328
|
{
|
|
@@ -4423,7 +4423,7 @@ const rY = dt.memo(
|
|
|
4423
4423
|
}
|
|
4424
4424
|
return H.message;
|
|
4425
4425
|
};
|
|
4426
|
-
return /* @__PURE__ */ Ee(Fl, { children: /* @__PURE__ */
|
|
4426
|
+
return /* @__PURE__ */ Ee(Fl, { children: /* @__PURE__ */ on("div", { className: "notitification-item__container", children: [
|
|
4427
4427
|
/* @__PURE__ */ Ee("div", { className: "notification-item__image-container", children: /* @__PURE__ */ Ee(
|
|
4428
4428
|
"img",
|
|
4429
4429
|
{
|
|
@@ -4434,11 +4434,11 @@ const rY = dt.memo(
|
|
|
4434
4434
|
alt: t.actorName
|
|
4435
4435
|
}
|
|
4436
4436
|
) }),
|
|
4437
|
-
/* @__PURE__ */
|
|
4438
|
-
/* @__PURE__ */
|
|
4439
|
-
/* @__PURE__ */
|
|
4437
|
+
/* @__PURE__ */ on("div", { style: { width: "calc(100% - 56px)" }, children: [
|
|
4438
|
+
/* @__PURE__ */ on("div", { className: "notification-item__content-wrapper", children: [
|
|
4439
|
+
/* @__PURE__ */ on("div", { className: "notification-item__content", children: [
|
|
4440
4440
|
/* @__PURE__ */ Ee("p", { className: "notification-item__user-name", children: t.actorName }),
|
|
4441
|
-
/* @__PURE__ */
|
|
4441
|
+
/* @__PURE__ */ on(
|
|
4442
4442
|
I,
|
|
4443
4443
|
{
|
|
4444
4444
|
href: t.contextUrl,
|
|
@@ -4461,7 +4461,7 @@ const rY = dt.memo(
|
|
|
4461
4461
|
]
|
|
4462
4462
|
}
|
|
4463
4463
|
),
|
|
4464
|
-
(t == null ? void 0 : t.notificationType) === "deleteMultiple" && /* @__PURE__ */
|
|
4464
|
+
(t == null ? void 0 : t.notificationType) === "deleteMultiple" && /* @__PURE__ */ on(
|
|
4465
4465
|
"button",
|
|
4466
4466
|
{
|
|
4467
4467
|
style: {
|
|
@@ -4499,7 +4499,7 @@ const rY = dt.memo(
|
|
|
4499
4499
|
fontSize: "12px",
|
|
4500
4500
|
marginTop: "8px"
|
|
4501
4501
|
},
|
|
4502
|
-
children: /* @__PURE__ */ Ee("ul", { children: (U = t == null ? void 0 : t.data) == null ? void 0 : U.map((H, te) => /* @__PURE__ */
|
|
4502
|
+
children: /* @__PURE__ */ Ee("ul", { children: (U = t == null ? void 0 : t.data) == null ? void 0 : U.map((H, te) => /* @__PURE__ */ on(
|
|
4503
4503
|
"li",
|
|
4504
4504
|
{
|
|
4505
4505
|
style: {
|
|
@@ -4694,13 +4694,13 @@ function BL(t, e) {
|
|
|
4694
4694
|
}
|
|
4695
4695
|
const $L = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
|
|
4696
4696
|
function jT({ children: t, styles: e = [], ...n }) {
|
|
4697
|
-
return /* @__PURE__ */
|
|
4697
|
+
return /* @__PURE__ */ on("div", { ...n, children: [
|
|
4698
4698
|
[$L, ...e].map((r, i) => /* @__PURE__ */ Ee("style", { type: "text/css", children: r }, i)),
|
|
4699
4699
|
t
|
|
4700
4700
|
] });
|
|
4701
4701
|
}
|
|
4702
4702
|
function jL(t) {
|
|
4703
|
-
return /* @__PURE__ */
|
|
4703
|
+
return /* @__PURE__ */ on(
|
|
4704
4704
|
"svg",
|
|
4705
4705
|
{
|
|
4706
4706
|
width: "34",
|
|
@@ -4710,7 +4710,7 @@ function jL(t) {
|
|
|
4710
4710
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4711
4711
|
...t,
|
|
4712
4712
|
children: [
|
|
4713
|
-
/* @__PURE__ */
|
|
4713
|
+
/* @__PURE__ */ on("g", { "clip-path": "url(#clip0_16865_28134)", children: [
|
|
4714
4714
|
/* @__PURE__ */ Ee("rect", { y: "0.5", width: "34", height: "24", rx: "3", fill: "#1A47B8" }),
|
|
4715
4715
|
/* @__PURE__ */ Ee(
|
|
4716
4716
|
"path",
|
|
@@ -4787,7 +4787,7 @@ function VT({
|
|
|
4787
4787
|
document.addEventListener("click", f, !0);
|
|
4788
4788
|
}
|
|
4789
4789
|
function VL(t) {
|
|
4790
|
-
return /* @__PURE__ */
|
|
4790
|
+
return /* @__PURE__ */ on(
|
|
4791
4791
|
"svg",
|
|
4792
4792
|
{
|
|
4793
4793
|
width: "34",
|
|
@@ -4797,7 +4797,7 @@ function VL(t) {
|
|
|
4797
4797
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4798
4798
|
...t,
|
|
4799
4799
|
children: [
|
|
4800
|
-
/* @__PURE__ */
|
|
4800
|
+
/* @__PURE__ */ on("g", { "clip-path": "url(#clip0_16886_62505)", children: [
|
|
4801
4801
|
/* @__PURE__ */ Ee("rect", { width: "34", height: "24", rx: "3", fill: "#F93939" }),
|
|
4802
4802
|
/* @__PURE__ */ Ee(
|
|
4803
4803
|
"path",
|
|
@@ -5386,7 +5386,7 @@ function $p(t) {
|
|
|
5386
5386
|
let { enter: e, exit: n, appendPosition: r = !1, collapse: i = !0, collapseDuration: o = 300 } = t;
|
|
5387
5387
|
return function(a) {
|
|
5388
5388
|
let { children: c, position: f, preventExitTransition: p, done: y, nodeRef: g, isIn: T, playToast: E } = a;
|
|
5389
|
-
const R = r ? `${e}--${f}` : e, I = r ? `${n}--${f}` : n, B =
|
|
5389
|
+
const R = r ? `${e}--${f}` : e, I = r ? `${n}--${f}` : n, B = sn(0);
|
|
5390
5390
|
return qa(() => {
|
|
5391
5391
|
const A = g.current, U = R.split(" "), H = (te) => {
|
|
5392
5392
|
te.target === g.current && (E(), A.removeEventListener("animationend", H), A.removeEventListener("animationcancel", H), B.current === 0 && te.type !== "animationcancel" && A.classList.remove(...U));
|
|
@@ -5426,7 +5426,7 @@ function vw(t, e) {
|
|
|
5426
5426
|
});
|
|
5427
5427
|
}
|
|
5428
5428
|
function Z2(t) {
|
|
5429
|
-
const { subscribe: e, getSnapshot: n, setProps: r } =
|
|
5429
|
+
const { subscribe: e, getSnapshot: n, setProps: r } = sn(function(o) {
|
|
5430
5430
|
const a = o.containerId || 1;
|
|
5431
5431
|
return { subscribe(c) {
|
|
5432
5432
|
const f = /* @__PURE__ */ function(y, g, T) {
|
|
@@ -5503,7 +5503,7 @@ function Z2(t) {
|
|
|
5503
5503
|
}, isToastActive: nC, count: i == null ? void 0 : i.length };
|
|
5504
5504
|
}
|
|
5505
5505
|
function J2(t) {
|
|
5506
|
-
const [e, n] = Lt(!1), [r, i] = Lt(!1), o =
|
|
5506
|
+
const [e, n] = Lt(!1), [r, i] = Lt(!1), o = sn(null), a = sn({ start: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, didMove: !1 }).current, { autoClose: c, pauseOnHover: f, closeToast: p, onClick: y, closeOnClick: g } = t;
|
|
5507
5507
|
var T, E;
|
|
5508
5508
|
function R() {
|
|
5509
5509
|
n(!0);
|
|
@@ -5656,7 +5656,7 @@ $p(jp("flip"));
|
|
|
5656
5656
|
const oF = { position: "top-right", transition: iF, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
5657
5657
|
function aY(t) {
|
|
5658
5658
|
let e = { ...oF, ...t };
|
|
5659
|
-
const n = t.stacked, [r, i] = Lt(!0), o =
|
|
5659
|
+
const n = t.stacked, [r, i] = Lt(!0), o = sn(null), { getToastToRender: a, isToastActive: c, count: f } = Z2(e), { className: p, style: y, rtl: g, containerId: T } = e;
|
|
5660
5660
|
function E(I) {
|
|
5661
5661
|
const B = yu("Toastify__toast-container", `Toastify__toast-container--${I}`, { "Toastify__toast-container--rtl": g });
|
|
5662
5662
|
return is(p) ? p({ position: I, rtl: g, defaultClassName: B }) : yu(B, Gh(p));
|
|
@@ -5687,7 +5687,7 @@ function aY(t) {
|
|
|
5687
5687
|
}));
|
|
5688
5688
|
}
|
|
5689
5689
|
function sF() {
|
|
5690
|
-
return /* @__PURE__ */
|
|
5690
|
+
return /* @__PURE__ */ on(
|
|
5691
5691
|
"svg",
|
|
5692
5692
|
{
|
|
5693
5693
|
width: "22",
|
|
@@ -5733,7 +5733,7 @@ function sF() {
|
|
|
5733
5733
|
);
|
|
5734
5734
|
}
|
|
5735
5735
|
function aF() {
|
|
5736
|
-
return /* @__PURE__ */
|
|
5736
|
+
return /* @__PURE__ */ on(
|
|
5737
5737
|
"svg",
|
|
5738
5738
|
{
|
|
5739
5739
|
width: "24",
|
|
@@ -5758,7 +5758,7 @@ function aF() {
|
|
|
5758
5758
|
);
|
|
5759
5759
|
}
|
|
5760
5760
|
function lF() {
|
|
5761
|
-
return /* @__PURE__ */
|
|
5761
|
+
return /* @__PURE__ */ on(
|
|
5762
5762
|
"svg",
|
|
5763
5763
|
{
|
|
5764
5764
|
width: "24",
|
|
@@ -6722,7 +6722,7 @@ var Rc = function(t) {
|
|
|
6722
6722
|
}();
|
|
6723
6723
|
const wC = ir({});
|
|
6724
6724
|
function zF(t) {
|
|
6725
|
-
const e =
|
|
6725
|
+
const e = sn(null);
|
|
6726
6726
|
return e.current === null && (e.current = t()), e.current;
|
|
6727
6727
|
}
|
|
6728
6728
|
const sy = ir(null), xC = ir({
|
|
@@ -6989,7 +6989,7 @@ function oN(t, e, n) {
|
|
|
6989
6989
|
const fy = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), sN = "framerAppearId", kC = "data-" + fy(sN), { schedule: dy } = SC(queueMicrotask, !1), DC = ir({});
|
|
6990
6990
|
function aN(t, e, n, r, i) {
|
|
6991
6991
|
var o, a;
|
|
6992
|
-
const { visualElement: c } = Qt(Up), f = Qt(TC), p = Qt(sy), y = Qt(xC).reducedMotion, g =
|
|
6992
|
+
const { visualElement: c } = Qt(Up), f = Qt(TC), p = Qt(sy), y = Qt(xC).reducedMotion, g = sn(null);
|
|
6993
6993
|
r = r || f.renderer, !g.current && r && (g.current = r(t, {
|
|
6994
6994
|
visualState: e,
|
|
6995
6995
|
parent: c,
|
|
@@ -7000,11 +7000,11 @@ function aN(t, e, n, r, i) {
|
|
|
7000
7000
|
}));
|
|
7001
7001
|
const T = g.current, E = Qt(DC);
|
|
7002
7002
|
T && !T.projection && i && (T.type === "html" || T.type === "svg") && lN(g.current, n, i, E);
|
|
7003
|
-
const R =
|
|
7003
|
+
const R = sn(!1);
|
|
7004
7004
|
sT(() => {
|
|
7005
7005
|
T && R.current && T.update(n, p);
|
|
7006
7006
|
});
|
|
7007
|
-
const I = n[kC], B =
|
|
7007
|
+
const I = n[kC], B = sn(!!I && !(!((o = window.MotionHandoffIsComplete) === null || o === void 0) && o.call(window, I)) && ((a = window.MotionHasOptimisedAnimation) === null || a === void 0 ? void 0 : a.call(window, I)));
|
|
7008
7008
|
return GF(() => {
|
|
7009
7009
|
T && (R.current = !0, window.MotionIsMounted = !0, T.updateFeatures(), dy.render(T.render), B.current && T.animationState && T.animationState.animateChanges());
|
|
7010
7010
|
}), St(() => {
|
|
@@ -7053,7 +7053,7 @@ function uN({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVis
|
|
|
7053
7053
|
const B = dN(T);
|
|
7054
7054
|
g = B.MeasureLayout, R.visualElement = aN(i, I, T, e, B.ProjectionNode);
|
|
7055
7055
|
}
|
|
7056
|
-
return
|
|
7056
|
+
return on(Up.Provider, { value: R, children: [g && R.visualElement ? Ee(g, { visualElement: R.visualElement, ...T }) : null, n(i, p, oN(I, R.visualElement, y), I, E, R.visualElement)] });
|
|
7057
7057
|
}
|
|
7058
7058
|
c.displayName = `motion.${typeof i == "string" ? i : `create(${(a = (o = i.displayName) !== null && o !== void 0 ? o : i.name) !== null && a !== void 0 ? a : ""})`}`;
|
|
7059
7059
|
const f = Lp(c);
|
|
@@ -11459,12 +11459,12 @@ function yV(t) {
|
|
|
11459
11459
|
right: 0,
|
|
11460
11460
|
x: 0,
|
|
11461
11461
|
y: 0
|
|
11462
|
-
}), f =
|
|
11462
|
+
}), f = sn({
|
|
11463
11463
|
element: null,
|
|
11464
11464
|
scrollContainers: null,
|
|
11465
11465
|
resizeObserver: null,
|
|
11466
11466
|
lastBounds: a
|
|
11467
|
-
}), p = e ? typeof e == "number" ? e : e.scroll : null, y = e ? typeof e == "number" ? e : e.resize : null, g =
|
|
11467
|
+
}), p = e ? typeof e == "number" ? e : e.scroll : null, y = e ? typeof e == "number" ? e : e.resize : null, g = sn(!1);
|
|
11468
11468
|
St(() => (g.current = !0, () => void (g.current = !1)));
|
|
11469
11469
|
const [T, E, R] = Nn(() => {
|
|
11470
11470
|
const U = () => {
|
|
@@ -14086,7 +14086,7 @@ var pk = ir({}), FH = {
|
|
|
14086
14086
|
}), i = r[0].isDragging, o = r[1], a = r[2];
|
|
14087
14087
|
return [i, o, a];
|
|
14088
14088
|
}, ZH = function(t, e, n) {
|
|
14089
|
-
var r =
|
|
14089
|
+
var r = sn(0), i = sn(0), o = function() {
|
|
14090
14090
|
r.current += 1, r.current === 1 && !e && (i.current = window.setTimeout(function() {
|
|
14091
14091
|
return n(t);
|
|
14092
14092
|
}, 500));
|
|
@@ -14234,7 +14234,7 @@ var pk = ir({}), FH = {
|
|
|
14234
14234
|
e.current ? n(e) : n(t);
|
|
14235
14235
|
}, [e.current]);
|
|
14236
14236
|
}, iU = function(t) {
|
|
14237
|
-
var e = Lu(), n = Qt(ah), r =
|
|
14237
|
+
var e = Lu(), n = Qt(ah), r = sn(null), i = sn(null), o = e.tree.find(function(se) {
|
|
14238
14238
|
return se.id === t.id;
|
|
14239
14239
|
}), a = e.openIds, c = e.classes, f = e.enableAnimateExpand, p = a.includes(t.id), y = KH(o, r), g = y[0], T = y[1], E = y[2], R = QH(o, r), I = R[0], B = R[1], A = R[2];
|
|
14240
14240
|
rU(r, i, T), Ou(B, t.id, e) && A(r), St(function() {
|
|
@@ -14271,7 +14271,7 @@ var pk = ir({}), FH = {
|
|
|
14271
14271
|
var p = t.dropTargetId === o.dropTargetId && (t.index === o.index || t.index === void 0 && t.listCount === o.index), y = c.getTargetIds();
|
|
14272
14272
|
return !p || !y.length ? null : dt.createElement(r, { className: (i == null ? void 0 : i.placeholder) || "" }, n(f, { depth: t.depth }));
|
|
14273
14273
|
}, Ev = function(t) {
|
|
14274
|
-
var e = Lu(), n =
|
|
14274
|
+
var e = Lu(), n = sn(null), r = e.tree.filter(function(I) {
|
|
14275
14275
|
return I.parent === t.parentId;
|
|
14276
14276
|
}), i = r, o = typeof e.sort == "function" ? e.sort : $H;
|
|
14277
14277
|
if (e.insertDroppableFirst) {
|
|
@@ -14339,7 +14339,7 @@ const xk = ir({
|
|
|
14339
14339
|
reducedMotion: "never"
|
|
14340
14340
|
}), eg = ir({}), zy = ir(null), tg = typeof document < "u", cU = tg ? qa : St, Sk = ir({ strict: !1 }), Yy = (t) => t.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), fU = "framerAppearId", Tk = "data-" + Yy(fU);
|
|
14341
14341
|
function dU(t, e, n, r) {
|
|
14342
|
-
const { visualElement: i } = Qt(eg), o = Qt(Sk), a = Qt(zy), c = Qt(xk).reducedMotion, f =
|
|
14342
|
+
const { visualElement: i } = Qt(eg), o = Qt(Sk), a = Qt(zy), c = Qt(xk).reducedMotion, f = sn();
|
|
14343
14343
|
r = r || o.renderer, !f.current && r && (f.current = r(t, {
|
|
14344
14344
|
visualState: e,
|
|
14345
14345
|
parent: i,
|
|
@@ -14352,7 +14352,7 @@ function dU(t, e, n, r) {
|
|
|
14352
14352
|
sT(() => {
|
|
14353
14353
|
p && p.update(n, a);
|
|
14354
14354
|
});
|
|
14355
|
-
const y =
|
|
14355
|
+
const y = sn(!!(n[Tk] && !window.HandoffComplete));
|
|
14356
14356
|
return cU(() => {
|
|
14357
14357
|
p && (p.render(), y.current && p.animationState && p.animationState.animateChanges());
|
|
14358
14358
|
}), St(() => {
|
|
@@ -14899,7 +14899,7 @@ function tb(t, e, n, r = {}, i = {}) {
|
|
|
14899
14899
|
return typeof e == "function" && (e = e(n !== void 0 ? n : t.custom, r, i)), typeof e == "string" && (e = t.variants && t.variants[e]), typeof e == "function" && (e = e(n !== void 0 ? n : t.custom, r, i)), e;
|
|
14900
14900
|
}
|
|
14901
14901
|
function UU(t) {
|
|
14902
|
-
const e =
|
|
14902
|
+
const e = sn(null);
|
|
14903
14903
|
return e.current === null && (e.current = t()), e.current;
|
|
14904
14904
|
}
|
|
14905
14905
|
const kp = (t) => Array.isArray(t), WU = (t) => !!(t && typeof t == "object" && t.mix && t.toValue), zU = (t) => kp(t) ? t[t.length - 1] || 0 : t;
|
|
@@ -18560,7 +18560,7 @@ function w4(t) {
|
|
|
18560
18560
|
);
|
|
18561
18561
|
}
|
|
18562
18562
|
function x4(t) {
|
|
18563
|
-
const { renderChildren: e, parentRef: n, onlyChild: r } = t, [i, o] = Lt({ top: 0, left: 0 }), a =
|
|
18563
|
+
const { renderChildren: e, parentRef: n, onlyChild: r } = t, [i, o] = Lt({ top: 0, left: 0 }), a = sn(null), [c, f] = Lt("auto");
|
|
18564
18564
|
return qa(() => {
|
|
18565
18565
|
if (n.current && a.current) {
|
|
18566
18566
|
const p = n.current.getBoundingClientRect(), y = a.current.getBoundingClientRect();
|
|
@@ -19698,7 +19698,7 @@ function q4(t) {
|
|
|
19698
19698
|
);
|
|
19699
19699
|
}
|
|
19700
19700
|
function X4(t) {
|
|
19701
|
-
const { renderChildren: e, parentRef: n, onlyChild: r, dropdownLevel: i } = t, [o, a] = Lt({ top: 0, left: 0 }), c =
|
|
19701
|
+
const { renderChildren: e, parentRef: n, onlyChild: r, dropdownLevel: i } = t, [o, a] = Lt({ top: 0, left: 0 }), c = sn(null), [f, p] = Lt("auto");
|
|
19702
19702
|
return qa(() => {
|
|
19703
19703
|
if (n.current && c.current) {
|
|
19704
19704
|
const y = n.current.getBoundingClientRect(), g = c.current.getBoundingClientRect();
|
|
@@ -19798,7 +19798,7 @@ function Z4({ item: t }) {
|
|
|
19798
19798
|
}
|
|
19799
19799
|
function KD({ ...t }) {
|
|
19800
19800
|
var Ne, Qe, Je;
|
|
19801
|
-
const e = t.item, n = t.level || 0, r = !!((Ne = t.item.children) != null && Ne.length), i = `level-${n}`, o = (Ge, Ke = i) => `${Ge} ${Ke} `, [a, c] = Lt(!1), [f, p] = Lt(e.isFavorite || !1), y =
|
|
19801
|
+
const e = t.item, n = t.level || 0, r = !!((Ne = t.item.children) != null && Ne.length), i = `level-${n}`, o = (Ge, Ke = i) => `${Ge} ${Ke} `, [a, c] = Lt(!1), [f, p] = Lt(e.isFavorite || !1), y = sn(), g = sn();
|
|
19802
19802
|
g != null && g.current && ((Qe = g == null ? void 0 : g.current) == null ? void 0 : Qe.scrollWidth) > ((Je = g == null ? void 0 : g.current) == null ? void 0 : Je.clientWidth);
|
|
19803
19803
|
const T = window.location.origin, E = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, R = window.location.pathname.split("/")[1], I = E.pathname.split("/")[1], B = t.item.redirectUrl || t.ssr || !T.includes("local") && T !== E.origin || I !== R, A = r || n === 0 ? "div" : B ? "a" : uT, U = e.redirectUrl || e.path || "#", H = n + 1, te = r && a && n > 0, q = () => {
|
|
19804
19804
|
t.isDrop || c(!0);
|
|
@@ -19808,7 +19808,7 @@ function KD({ ...t }) {
|
|
|
19808
19808
|
(Ge, [Ke, pe]) => (pe && (Ge[`--${Ke}`] = pe), Ge),
|
|
19809
19809
|
{}
|
|
19810
19810
|
);
|
|
19811
|
-
return /* @__PURE__ */
|
|
19811
|
+
return /* @__PURE__ */ on(
|
|
19812
19812
|
"div",
|
|
19813
19813
|
{
|
|
19814
19814
|
ref: y,
|
|
@@ -19827,7 +19827,7 @@ function KD({ ...t }) {
|
|
|
19827
19827
|
console.log("drag end 1223"), c(!1);
|
|
19828
19828
|
},
|
|
19829
19829
|
children: [
|
|
19830
|
-
/* @__PURE__ */
|
|
19830
|
+
/* @__PURE__ */ on(
|
|
19831
19831
|
A,
|
|
19832
19832
|
{
|
|
19833
19833
|
target: se,
|
|
@@ -19924,7 +19924,7 @@ function Q4(t) {
|
|
|
19924
19924
|
minWidth: 16
|
|
19925
19925
|
};
|
|
19926
19926
|
if (t.menuLevel !== 0)
|
|
19927
|
-
return /* @__PURE__ */
|
|
19927
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
19928
19928
|
t.isHovered && !t.isFavorite && /* @__PURE__ */ Ee(
|
|
19929
19929
|
Nd,
|
|
19930
19930
|
{
|
|
@@ -29923,7 +29923,7 @@ function tP(t) {
|
|
|
29923
29923
|
}
|
|
29924
29924
|
function g6(t) {
|
|
29925
29925
|
var e = Lp(function(n, r) {
|
|
29926
|
-
var i, o, a = n.mode, c = a === void 0 ? "open" : a, f = n.delegatesFocus, p = f !== void 0 && f, y = n.styleSheets, g = y === void 0 ? [] : y, T = n.ssr, E = T !== void 0 && T, R = n.children, I = QD(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), B = (o =
|
|
29926
|
+
var i, o, a = n.mode, c = a === void 0 ? "open" : a, f = n.delegatesFocus, p = f !== void 0 && f, y = n.styleSheets, g = y === void 0 ? [] : y, T = n.ssr, E = T !== void 0 && T, R = n.children, I = QD(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), B = (o = sn((i = r) && i.current), St(function() {
|
|
29927
29927
|
i && (i.current = o.current);
|
|
29928
29928
|
}, [i]), o), A = Lt(null), U = d6(A, 2), H = U[0], te = U[1], q = "node_".concat(c).concat(p);
|
|
29929
29929
|
return qa(function() {
|
|
@@ -30029,7 +30029,7 @@ const Am = "MENU_ITEM";
|
|
|
30029
30029
|
function S6(t) {
|
|
30030
30030
|
const e = cT(), [n, r] = Lt([]), [i, o] = Lt([]), [a, c] = Lt(!1);
|
|
30031
30031
|
console.log("isSubmit", a);
|
|
30032
|
-
const f =
|
|
30032
|
+
const f = sn(null), [p, y] = Lt(window.location.href);
|
|
30033
30033
|
St(() => {
|
|
30034
30034
|
y(window.location.href);
|
|
30035
30035
|
}, [e]);
|
|
@@ -30100,7 +30100,7 @@ function S6(t) {
|
|
|
30100
30100
|
(q, [ie, x]) => (x && (q[`--${ie}`] = x), q),
|
|
30101
30101
|
{}
|
|
30102
30102
|
), H = ({ item: q, index: ie }) => {
|
|
30103
|
-
const x =
|
|
30103
|
+
const x = sn(null), [{ isDragging: se }, ae] = lk({
|
|
30104
30104
|
type: Am,
|
|
30105
30105
|
item: () => ({ id: q.id, index: ie }),
|
|
30106
30106
|
collect: (Ke) => ({
|
|
@@ -30151,7 +30151,7 @@ function S6(t) {
|
|
|
30151
30151
|
}
|
|
30152
30152
|
);
|
|
30153
30153
|
}, te = () => {
|
|
30154
|
-
const q =
|
|
30154
|
+
const q = sn(null), [{ isOver: ie, canDrop: x }, se] = Sp(
|
|
30155
30155
|
() => ({
|
|
30156
30156
|
accept: Am,
|
|
30157
30157
|
drop: (ae) => {
|
|
@@ -30198,7 +30198,7 @@ function S6(t) {
|
|
|
30198
30198
|
flex: 1,
|
|
30199
30199
|
height: "100%"
|
|
30200
30200
|
},
|
|
30201
|
-
children: /* @__PURE__ */ Ee(nk, { backend: hC, children: /* @__PURE__ */
|
|
30201
|
+
children: /* @__PURE__ */ Ee(nk, { backend: hC, children: /* @__PURE__ */ on("div", { style: { display: "inline-flex" }, children: [
|
|
30202
30202
|
n.map((q, ie) => /* @__PURE__ */ Ee(H, { item: q, index: ie }, q.id)),
|
|
30203
30203
|
/* @__PURE__ */ Ee(te, {})
|
|
30204
30204
|
] }) })
|
|
@@ -30216,7 +30216,7 @@ function T6(t = 32) {
|
|
|
30216
30216
|
}
|
|
30217
30217
|
function MY(t) {
|
|
30218
30218
|
const { isFavoriteBarVisible: e } = T6();
|
|
30219
|
-
return /* @__PURE__ */
|
|
30219
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
30220
30220
|
/* @__PURE__ */ Ee("style", { children: y6 }),
|
|
30221
30221
|
/* @__PURE__ */ Ee(
|
|
30222
30222
|
"div",
|
|
@@ -30245,7 +30245,7 @@ function iP({ ...t }) {
|
|
|
30245
30245
|
St(() => {
|
|
30246
30246
|
B(!!t.item.isFavorite);
|
|
30247
30247
|
}, [t.item.isFavorite]);
|
|
30248
|
-
const A =
|
|
30248
|
+
const A = sn(), U = sn();
|
|
30249
30249
|
U != null && U.current && ((De = U == null ? void 0 : U.current) == null ? void 0 : De.scrollWidth) > ((Fe = U == null ? void 0 : U.current) == null ? void 0 : Fe.clientWidth);
|
|
30250
30250
|
const H = window.location.origin, te = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, q = window.location.pathname.split("/")[1], ie = te.pathname.split("/")[1], x = t.item.redirectUrl || t.ssr || !H.includes("local") && H !== te.origin || ie !== q, se = r ? "div" : !t.isInternalApp && x ? "a" : uT, ae = e.redirectUrl || e.path || "#", Ne = n + 1, Qe = r && o && E, Je = o || n === 0 ? void 0 : `${n + 0.25}rem`, Ge = () => {
|
|
30251
30251
|
R(!0);
|
|
@@ -30261,7 +30261,7 @@ function iP({ ...t }) {
|
|
|
30261
30261
|
(_e, [$e, We]) => (We && (_e[`--${$e}`] = We), _e),
|
|
30262
30262
|
{}
|
|
30263
30263
|
), we = H !== te.origin || t.item.redirectUrl ? "_blank" : "_self";
|
|
30264
|
-
return /* @__PURE__ */
|
|
30264
|
+
return /* @__PURE__ */ on(
|
|
30265
30265
|
"div",
|
|
30266
30266
|
{
|
|
30267
30267
|
ref: A,
|
|
@@ -30277,7 +30277,7 @@ function iP({ ...t }) {
|
|
|
30277
30277
|
o && n > 1 && _e.preventDefault();
|
|
30278
30278
|
},
|
|
30279
30279
|
children: [
|
|
30280
|
-
/* @__PURE__ */ Ee(Nd, { placement: "top", title: He, disableInteractive: !0, children: /* @__PURE__ */
|
|
30280
|
+
/* @__PURE__ */ Ee(Nd, { placement: "top", title: He, disableInteractive: !0, children: /* @__PURE__ */ on(
|
|
30281
30281
|
se,
|
|
30282
30282
|
{
|
|
30283
30283
|
target: we,
|
|
@@ -30387,7 +30387,7 @@ function E6(t) {
|
|
|
30387
30387
|
fontSize: 18,
|
|
30388
30388
|
fill: Ir.warning
|
|
30389
30389
|
};
|
|
30390
|
-
return /* @__PURE__ */
|
|
30390
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
30391
30391
|
t.isHovered && !t.isFavorite && /* @__PURE__ */ Ee(
|
|
30392
30392
|
Nd,
|
|
30393
30393
|
{
|
|
@@ -30478,7 +30478,7 @@ function P6(t) {
|
|
|
30478
30478
|
}
|
|
30479
30479
|
);
|
|
30480
30480
|
}
|
|
30481
|
-
const O6 = ".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;text-decoration:none!important;color:inherit!important}.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__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.active{color:inherit}.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::-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.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}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1299}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}@media (min-width: 768px){.menu-item__label.level-0.collapsed{text-overflow:unset}.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__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__link.menu-item__link.collapsed.level-0{padding: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}}@media (max-width: 768px){.side-bar{position:fixed!important;top:0!important;width:70%!important;height:100vh!important;transform:translate(-100%)!important;transition:transform .3s ease-in-out!important;z-index:1300!important}.side-bar.mobile-open{transform:translate(0)!important}.side-bar__mobile-header{display:block;padding:2rem 1rem}.languageDropdown{justify-content:flex-start!important}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", _6 = (t) => {
|
|
30481
|
+
const O6 = ".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;text-decoration:none!important;color:inherit!important}.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__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.active{color:inherit}.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::-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.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}.backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#00000080;z-index:1299}.userContainer{display:flex;align-items:center;gap:.5rem}.userFullName{color:#fff;font-weight:400;font-size:.875rem;line-height:1.25rem;transition:width .3s}.userAvatar{width:2.5rem;height:2.5rem;-o-object-fit:cover;object-fit:cover;border-radius:9999px;border:2px solid #FFFFFF}#userAvatarNull{width:2.5rem;height:2.5rem;background:#ddd;border-radius:100%;color:#fff;font-size:20px;font-weight:400;display:flex;align-items:center;justify-content:center}@media (min-width: 768px){.menu-item__label.level-0.collapsed{text-overflow:unset}.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__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__link.menu-item__link.collapsed.level-0{padding: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}}@media (max-width: 768px){.side-bar{position:fixed!important;top:0!important;width:70%!important;height:100vh!important;transform:translate(-100%)!important;transition:transform .3s ease-in-out!important;z-index:1300!important}.side-bar.mobile-open{transform:translate(0)!important}.side-bar__mobile-header{display:block;padding:2rem 1rem}.languageDropdown{justify-content:flex-start!important}button.MuiButtonBase-root{display:inline-flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;-webkit-tap-highlight-color:transparent;outline:0;border:0;margin:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;-moz-appearance:none;-webkit-appearance:none;-webkit-text-decoration:none;text-decoration:none;transition:background-color .25s cubic-bezier(.4,0,.2,1) 0ms,box-shadow .25s cubic-bezier(.4,0,.2,1) 0ms,border-color .25s cubic-bezier(.4,0,.2,1) 0ms,color .25s cubic-bezier(.4,0,.2,1) 0ms;color:#000000de;height:-moz-fit-content;height:fit-content;border-radius:5px;font-family:SpecialAmpersand,TT Firs Neue Trl;padding:.6875rem 1rem;font-size:.875rem;line-height:1rem;box-shadow:none;background-color:#93d500;font-weight:400;width:100%}.custom-element{padding:1rem}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", _6 = (t) => {
|
|
30482
30482
|
const e = t.isCollapsed ? 0 : t.depth * 16;
|
|
30483
30483
|
return /* @__PURE__ */ Ee(
|
|
30484
30484
|
"div",
|
|
@@ -30519,7 +30519,7 @@ function M6(t) {
|
|
|
30519
30519
|
var nt, we;
|
|
30520
30520
|
const e = cT(), { user: n } = vM(), [r, i] = Lt([]), o = r.map((ce) => ce.data), [a, c] = Lt(!1), [f, p] = Lt([]), [y, g] = Lt(
|
|
30521
30521
|
op === null ? !0 : op === "true"
|
|
30522
|
-
), [T, E] = Lt(window.innerWidth < 768), [R, I] = Lt(!1), [B, A] = Lt(window.location.href), U =
|
|
30522
|
+
), [T, E] = Lt(window.innerWidth < 768), [R, I] = Lt(!1), [B, A] = Lt(window.location.href), U = sn(null);
|
|
30523
30523
|
St(() => {
|
|
30524
30524
|
var ce;
|
|
30525
30525
|
(ce = t.handleCallback) == null || ce.call(t, o);
|
|
@@ -30555,7 +30555,7 @@ function M6(t) {
|
|
|
30555
30555
|
const Fe = r.filter((_e) => _e.parent === 0).map((_e) => _e.id);
|
|
30556
30556
|
console.log("closeIds:", Fe), (De = U.current) == null || De.close(Fe);
|
|
30557
30557
|
}
|
|
30558
|
-
}, [x, se] = Lt(!1), ae = y && !T ? "collapsed" : "expanded", Ne = (ce) => `${ce} ${ae}`, Qe =
|
|
30558
|
+
}, [x, se] = Lt(!1), ae = y && !T ? "collapsed" : "expanded", Ne = (ce) => `${ce} ${ae}`, Qe = sn(null);
|
|
30559
30559
|
qa(() => {
|
|
30560
30560
|
(async () => {
|
|
30561
30561
|
var De, Fe;
|
|
@@ -30684,9 +30684,9 @@ function M6(t) {
|
|
|
30684
30684
|
const He = th(() => {
|
|
30685
30685
|
I(!1);
|
|
30686
30686
|
}, []);
|
|
30687
|
-
return /* @__PURE__ */
|
|
30687
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
30688
30688
|
T && R && /* @__PURE__ */ Ee("div", { className: "backdrop", onClick: He }),
|
|
30689
|
-
/* @__PURE__ */
|
|
30689
|
+
/* @__PURE__ */ on(
|
|
30690
30690
|
"div",
|
|
30691
30691
|
{
|
|
30692
30692
|
className: Ne(
|
|
@@ -30701,8 +30701,8 @@ function M6(t) {
|
|
|
30701
30701
|
children: y ? /* @__PURE__ */ Ee(D6, {}) : /* @__PURE__ */ Ee(k6, {})
|
|
30702
30702
|
}
|
|
30703
30703
|
) }),
|
|
30704
|
-
T && /* @__PURE__ */
|
|
30705
|
-
/* @__PURE__ */
|
|
30704
|
+
T && /* @__PURE__ */ on("div", { className: Ne("wrap-section side-bar__mobile-header"), children: [
|
|
30705
|
+
/* @__PURE__ */ on("div", { className: "userContainer", children: [
|
|
30706
30706
|
/* @__PURE__ */ Ee(
|
|
30707
30707
|
F6,
|
|
30708
30708
|
{
|
|
@@ -30841,7 +30841,12 @@ function M6(t) {
|
|
|
30841
30841
|
) })
|
|
30842
30842
|
}
|
|
30843
30843
|
),
|
|
30844
|
-
/* @__PURE__ */
|
|
30844
|
+
T && /* @__PURE__ */ on("div", { className: Ne("custom-element"), children: [
|
|
30845
|
+
" ",
|
|
30846
|
+
t == null ? void 0 : t.customElement,
|
|
30847
|
+
" "
|
|
30848
|
+
] }),
|
|
30849
|
+
/* @__PURE__ */ Ee("div", { className: Ne("wrap-section side-bar__wrap-btn-logout"), children: /* @__PURE__ */ on(
|
|
30845
30850
|
"button",
|
|
30846
30851
|
{
|
|
30847
30852
|
className: Ne("side-bar__logout-btn"),
|
|
@@ -30890,14 +30895,14 @@ function L6() {
|
|
|
30890
30895
|
});
|
|
30891
30896
|
}, []);
|
|
30892
30897
|
const c = (f = t.find((p) => p.value == o)) == null ? void 0 : f.element;
|
|
30893
|
-
return /* @__PURE__ */
|
|
30898
|
+
return /* @__PURE__ */ on(Fl, { children: [
|
|
30894
30899
|
/* @__PURE__ */ Ee("style", { children: HT }),
|
|
30895
30900
|
/* @__PURE__ */ Ee(
|
|
30896
30901
|
"div",
|
|
30897
30902
|
{
|
|
30898
30903
|
className: "languageDropdownContainer",
|
|
30899
30904
|
style: { position: "relative" },
|
|
30900
|
-
children: /* @__PURE__ */
|
|
30905
|
+
children: /* @__PURE__ */ on(
|
|
30901
30906
|
"div",
|
|
30902
30907
|
{
|
|
30903
30908
|
className: "languageDropdown",
|
|
@@ -30918,8 +30923,8 @@ function F6({
|
|
|
30918
30923
|
avatarUrl: t,
|
|
30919
30924
|
userName: e
|
|
30920
30925
|
}) {
|
|
30921
|
-
const [n, r] = Lt(!1), i =
|
|
30922
|
-
|
|
30926
|
+
const [n, r] = Lt(!1), i = sn(null);
|
|
30927
|
+
sn(null);
|
|
30923
30928
|
const [o, a] = Lt(!1), [c, f] = Lt(!1);
|
|
30924
30929
|
return St(() => {
|
|
30925
30930
|
VT({
|
|
@@ -31743,7 +31748,7 @@ Rp.exports;
|
|
|
31743
31748
|
for (; me-- && ut < bt; ) {
|
|
31744
31749
|
Ve += u;
|
|
31745
31750
|
for (var Zt = -1, Ot = s[Ve]; ++Zt < Xe; ) {
|
|
31746
|
-
var tn = Ue[Zt],
|
|
31751
|
+
var tn = Ue[Zt], an = tn.iteratee, Qo = tn.type, uo = an(Ot);
|
|
31747
31752
|
if (Qo == pe)
|
|
31748
31753
|
Ot = uo;
|
|
31749
31754
|
else if (!uo) {
|
|
@@ -32748,19 +32753,19 @@ Rp.exports;
|
|
|
32748
32753
|
function be(s, u, w, O, j, X, re, de, me, Ve) {
|
|
32749
32754
|
var Ue = u & x, Xe = u & B, ut = u & A, bt = u & (H | te), Pt = u & ae, Zt = ut ? n : _(s);
|
|
32750
32755
|
function Ot() {
|
|
32751
|
-
for (var tn = arguments.length,
|
|
32752
|
-
|
|
32756
|
+
for (var tn = arguments.length, an = le(tn), Qo = tn; Qo--; )
|
|
32757
|
+
an[Qo] = arguments[Qo];
|
|
32753
32758
|
if (bt)
|
|
32754
|
-
var uo = pf(Ot), es = Cn(
|
|
32755
|
-
if (O && (
|
|
32756
|
-
var xr = li(
|
|
32759
|
+
var uo = pf(Ot), es = Cn(an, uo);
|
|
32760
|
+
if (O && (an = fc(an, O, j, bt)), X && (an = ff(an, X, re, bt)), tn -= es, bt && tn < Ve) {
|
|
32761
|
+
var xr = li(an, uo);
|
|
32757
32762
|
return Ds(
|
|
32758
32763
|
s,
|
|
32759
32764
|
u,
|
|
32760
32765
|
be,
|
|
32761
32766
|
Ot.placeholder,
|
|
32762
32767
|
w,
|
|
32763
|
-
|
|
32768
|
+
an,
|
|
32764
32769
|
xr,
|
|
32765
32770
|
de,
|
|
32766
32771
|
me,
|
|
@@ -32768,7 +32773,7 @@ Rp.exports;
|
|
|
32768
32773
|
);
|
|
32769
32774
|
}
|
|
32770
32775
|
var la = Xe ? w : this, Tl = ut ? la[s] : s;
|
|
32771
|
-
return tn =
|
|
32776
|
+
return tn = an.length, de ? an = sO(an, de) : Pt && tn > 1 && an.reverse(), Ue && me < tn && (an.length = me), this && this !== hn && this instanceof Ot && (Tl = Zt || _(Tl)), Tl.apply(la, an);
|
|
32772
32777
|
}
|
|
32773
32778
|
return Ot;
|
|
32774
32779
|
}
|
|
@@ -32921,9 +32926,9 @@ Rp.exports;
|
|
|
32921
32926
|
break;
|
|
32922
32927
|
}
|
|
32923
32928
|
if (bt) {
|
|
32924
|
-
if (!pn(u, function(tn,
|
|
32925
|
-
if (!Tt(bt,
|
|
32926
|
-
return bt.push(
|
|
32929
|
+
if (!pn(u, function(tn, an) {
|
|
32930
|
+
if (!Tt(bt, an) && (Pt === tn || j(Pt, tn, w, O, X)))
|
|
32931
|
+
return bt.push(an);
|
|
32927
32932
|
})) {
|
|
32928
32933
|
ut = !1;
|
|
32929
32934
|
break;
|
|
@@ -32986,10 +32991,10 @@ Rp.exports;
|
|
|
32986
32991
|
X.set(s, u), X.set(u, s);
|
|
32987
32992
|
for (var Ot = re; ++Xe < me; ) {
|
|
32988
32993
|
ut = de[Xe];
|
|
32989
|
-
var tn = s[ut],
|
|
32994
|
+
var tn = s[ut], an = u[ut];
|
|
32990
32995
|
if (O)
|
|
32991
|
-
var Qo = re ? O(
|
|
32992
|
-
if (!(Qo === n ? tn ===
|
|
32996
|
+
var Qo = re ? O(an, tn, ut, u, s, X) : O(tn, an, ut, s, u, X);
|
|
32997
|
+
if (!(Qo === n ? tn === an || j(tn, an, w, O, X) : Qo)) {
|
|
32993
32998
|
Zt = !1;
|
|
32994
32999
|
break;
|
|
32995
33000
|
}
|
|
@@ -33826,17 +33831,17 @@ Rp.exports;
|
|
|
33826
33831
|
function tn() {
|
|
33827
33832
|
var xr = yh();
|
|
33828
33833
|
if (Ot(xr))
|
|
33829
|
-
return
|
|
33834
|
+
return an(xr);
|
|
33830
33835
|
de = sd(tn, Zt(xr));
|
|
33831
33836
|
}
|
|
33832
|
-
function
|
|
33837
|
+
function an(xr) {
|
|
33833
33838
|
return de = n, ut && O ? bt(xr) : (O = j = n, re);
|
|
33834
33839
|
}
|
|
33835
33840
|
function Qo() {
|
|
33836
33841
|
de !== n && au(de), Ve = 0, O = me = j = de = n;
|
|
33837
33842
|
}
|
|
33838
33843
|
function uo() {
|
|
33839
|
-
return de === n ? re :
|
|
33844
|
+
return de === n ? re : an(yh());
|
|
33840
33845
|
}
|
|
33841
33846
|
function es() {
|
|
33842
33847
|
var xr = yh(), la = Ot(xr);
|
|
@@ -34392,13 +34397,13 @@ Rp.exports;
|
|
|
34392
34397
|
"g"
|
|
34393
34398
|
), bt = "//# sourceURL=" + (Dt.call(u, "sourceURL") ? (u.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++un + "]") + `
|
|
34394
34399
|
`;
|
|
34395
|
-
s.replace(ut, function(Ot, tn,
|
|
34396
|
-
return
|
|
34400
|
+
s.replace(ut, function(Ot, tn, an, Qo, uo, es) {
|
|
34401
|
+
return an || (an = Qo), Xe += s.slice(Ve, es).replace(Li, va), tn && (de = !0, Xe += `' +
|
|
34397
34402
|
__e(` + tn + `) +
|
|
34398
34403
|
'`), uo && (me = !0, Xe += `';
|
|
34399
34404
|
` + uo + `;
|
|
34400
|
-
__p += '`),
|
|
34401
|
-
((__t = (` +
|
|
34405
|
+
__p += '`), an && (Xe += `' +
|
|
34406
|
+
((__t = (` + an + `)) == null ? '' : __t) +
|
|
34402
34407
|
'`), Ve = es + Ot.length, Ot;
|
|
34403
34408
|
}), Xe += `';
|
|
34404
34409
|
`;
|
|
@@ -34716,8 +34721,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
34716
34721
|
var w = /^(?:filter|find|map|reject)|While$/.test(u), O = /^(?:head|last)$/.test(u), j = z[O ? "take" + (u == "last" ? "Right" : "") : u], X = O || /^find/.test(u);
|
|
34717
34722
|
j && (z.prototype[u] = function() {
|
|
34718
34723
|
var re = this.__wrapped__, de = O ? [1] : arguments, me = re instanceof Ht, Ve = de[0], Ue = me || Wt(re), Xe = function(tn) {
|
|
34719
|
-
var
|
|
34720
|
-
return O && ut ?
|
|
34724
|
+
var an = j.apply(z, Ct([tn], de));
|
|
34725
|
+
return O && ut ? an[0] : an;
|
|
34721
34726
|
};
|
|
34722
34727
|
Ue && w && typeof Ve == "function" && Ve.length != 1 && (me = Ue = !1);
|
|
34723
34728
|
var ut = this.__chain__, bt = !!this.__actions__.length, Pt = X && !ut, Zt = me && !bt;
|