@ukpc-lib/react 0.16.9-sandbox.saas-9778.patch-1 → 0.16.9-sandbox.saas-9778.patch-2
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/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.esm2017-BXR0dxce.js → index.esm2017-B6zu5jRU.js} +274 -269
- package/dist/{index.esm2017-PVn6lyKj.cjs → index.esm2017-C1LDnzEg.cjs} +18 -18
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +2 -2
- package/package.json +1 -1
- package/web-components-bundle/{SaasThemeProvider-A_eMJWqw.js → SaasThemeProvider-DUpoV8xb.js} +1 -1
- package/web-components-bundle/access-denied/index.js +2 -2
- package/web-components-bundle/base-breadcrumbs/index.js +3 -3
- package/web-components-bundle/favorite-menu/index.js +7 -7
- package/web-components-bundle/global-menu/index.js +6 -6
- package/web-components-bundle/global-topbar/index.js +7 -7
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-760z9lEs.js → index-BBl8HzU3.js} +565 -565
- package/web-components-bundle/{index-DgePM6pT.js → index-BMBB1Vda.js} +12 -7
- package/web-components-bundle/{index-CiYHK3Rq.js → index-Ch-015PG.js} +1 -1
- package/web-components-bundle/{index-BwEhsh9S.js → index-N6zjI_u_.js} +2 -2
- package/web-components-bundle/page-not-found/index.js +3 -3
- package/web-components-bundle/{react-to-web-component-BOygDorD.js → react-to-web-component-w5r1Fs9q.js} +1527 -1535
- package/web-components-bundle/{react-toastify.esm-DnABvuky.js → react-toastify.esm-H_Xdunfj.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
|
@@ -684,11 +684,11 @@ var D0 = {}, P0 = function(t) {
|
|
|
684
684
|
} else if (se && typeof x == "string" && q === "[object Array]")
|
|
685
685
|
U = U.join(x), U && (U = this.extendTranslation(U, i, o, a));
|
|
686
686
|
else {
|
|
687
|
-
var De = !1, Le = !1, $e = o.count !== void 0 && typeof o.count != "string", rt = n.hasDefaultValue(o),
|
|
687
|
+
var De = !1, Le = !1, $e = o.count !== void 0 && typeof o.count != "string", rt = n.hasDefaultValue(o), we = $e ? this.pluralResolver.getSuffix(A, o.count, o) : "", ke = o["defaultValue".concat(we)] || o.defaultValue;
|
|
688
688
|
!this.isValidLookup(U) && rt && (De = !0, U = ke), this.isValidLookup(U) || (Le = !0, U = g);
|
|
689
|
-
var Ye = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, Ze = Ye && Le ? void 0 : U,
|
|
690
|
-
if (Le || De ||
|
|
691
|
-
if (this.logger.log(
|
|
689
|
+
var Ye = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, Ze = Ye && Le ? void 0 : U, be = rt && ke !== U && this.options.updateMissing;
|
|
690
|
+
if (Le || De || be) {
|
|
691
|
+
if (this.logger.log(be ? "updateKey" : "missingKey", A, E, g, be ? ke : U), p) {
|
|
692
692
|
var Pe = this.resolve(g, Vi(Vi({}, o), {}, {
|
|
693
693
|
keySeparator: !1
|
|
694
694
|
}));
|
|
@@ -702,7 +702,7 @@ var D0 = {}, P0 = function(t) {
|
|
|
702
702
|
this.options.saveMissingTo === "all" ? Ie = this.languageUtils.toResolveHierarchy(o.lng || this.language) : Ie.push(o.lng || this.language);
|
|
703
703
|
var it = function(st, je, pt) {
|
|
704
704
|
var wt = rt && pt !== U ? pt : Ze;
|
|
705
|
-
c.options.missingKeyHandler ? c.options.missingKeyHandler(st, E, je, wt,
|
|
705
|
+
c.options.missingKeyHandler ? c.options.missingKeyHandler(st, E, je, wt, be, o) : c.backendConnector && c.backendConnector.saveMissing && c.backendConnector.saveMissing(st, E, je, wt, be, o), c.emit("missingKey", st, E, je, U);
|
|
706
706
|
};
|
|
707
707
|
this.options.saveMissing && (this.options.saveMissingPlurals && $e ? Ie.forEach(function(tt) {
|
|
708
708
|
c.pluralResolver.getSuffixes(tt, o).forEach(function(st) {
|
|
@@ -3132,8 +3132,8 @@ function sL() {
|
|
|
3132
3132
|
var De = new FormData();
|
|
3133
3133
|
return de.trim().split("&").forEach(function(Le) {
|
|
3134
3134
|
if (Le) {
|
|
3135
|
-
var $e = Le.split("="), rt = $e.shift().replace(/\+/g, " "),
|
|
3136
|
-
De.append(decodeURIComponent(rt), decodeURIComponent(
|
|
3135
|
+
var $e = Le.split("="), rt = $e.shift().replace(/\+/g, " "), we = $e.join("=").replace(/\+/g, " ");
|
|
3136
|
+
De.append(decodeURIComponent(rt), decodeURIComponent(we));
|
|
3137
3137
|
}
|
|
3138
3138
|
}), De;
|
|
3139
3139
|
}
|
|
@@ -3143,10 +3143,10 @@ function sL() {
|
|
|
3143
3143
|
return $e.indexOf(`
|
|
3144
3144
|
`) === 0 ? $e.substr(1, $e.length) : $e;
|
|
3145
3145
|
}).forEach(function($e) {
|
|
3146
|
-
var rt = $e.split(":"),
|
|
3147
|
-
if (
|
|
3146
|
+
var rt = $e.split(":"), we = rt.shift().trim();
|
|
3147
|
+
if (we) {
|
|
3148
3148
|
var ke = rt.join(":").trim();
|
|
3149
|
-
De.append(
|
|
3149
|
+
De.append(we, ke);
|
|
3150
3150
|
}
|
|
3151
3151
|
}), De;
|
|
3152
3152
|
}
|
|
@@ -3187,30 +3187,30 @@ function sL() {
|
|
|
3187
3187
|
var rt = new ae(de, De);
|
|
3188
3188
|
if (rt.signal && rt.signal.aborted)
|
|
3189
3189
|
return $e(new a.DOMException("Aborted", "AbortError"));
|
|
3190
|
-
var
|
|
3190
|
+
var we = new XMLHttpRequest();
|
|
3191
3191
|
function ke() {
|
|
3192
|
-
|
|
3192
|
+
we.abort();
|
|
3193
3193
|
}
|
|
3194
|
-
|
|
3194
|
+
we.onload = function() {
|
|
3195
3195
|
var Ze = {
|
|
3196
|
-
status:
|
|
3197
|
-
statusText:
|
|
3198
|
-
headers: et(
|
|
3196
|
+
status: we.status,
|
|
3197
|
+
statusText: we.statusText,
|
|
3198
|
+
headers: et(we.getAllResponseHeaders() || "")
|
|
3199
3199
|
};
|
|
3200
|
-
Ze.url = "responseURL" in
|
|
3201
|
-
var
|
|
3200
|
+
Ze.url = "responseURL" in we ? we.responseURL : Ze.headers.get("X-Request-URL");
|
|
3201
|
+
var be = "response" in we ? we.response : we.responseText;
|
|
3202
3202
|
setTimeout(function() {
|
|
3203
|
-
Le(new Qe(
|
|
3203
|
+
Le(new Qe(be, Ze));
|
|
3204
3204
|
}, 0);
|
|
3205
|
-
},
|
|
3205
|
+
}, we.onerror = function() {
|
|
3206
3206
|
setTimeout(function() {
|
|
3207
3207
|
$e(new TypeError("Network request failed"));
|
|
3208
3208
|
}, 0);
|
|
3209
|
-
},
|
|
3209
|
+
}, we.ontimeout = function() {
|
|
3210
3210
|
setTimeout(function() {
|
|
3211
3211
|
$e(new TypeError("Network request failed"));
|
|
3212
3212
|
}, 0);
|
|
3213
|
-
},
|
|
3213
|
+
}, we.onabort = function() {
|
|
3214
3214
|
setTimeout(function() {
|
|
3215
3215
|
$e(new a.DOMException("Aborted", "AbortError"));
|
|
3216
3216
|
}, 0);
|
|
@@ -3222,13 +3222,13 @@ function sL() {
|
|
|
3222
3222
|
return Ze;
|
|
3223
3223
|
}
|
|
3224
3224
|
}
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
}) : rt.headers.forEach(function(Ze,
|
|
3228
|
-
|
|
3229
|
-
}), rt.signal && (rt.signal.addEventListener("abort", ke),
|
|
3230
|
-
|
|
3231
|
-
}),
|
|
3225
|
+
we.open(rt.method, Ye(rt.url), !0), rt.credentials === "include" ? we.withCredentials = !0 : rt.credentials === "omit" && (we.withCredentials = !1), "responseType" in we && (f.blob ? we.responseType = "blob" : f.arrayBuffer && rt.headers.get("Content-Type") && rt.headers.get("Content-Type").indexOf("application/octet-stream") !== -1 && (we.responseType = "arraybuffer")), De && typeof De.headers == "object" && !(De.headers instanceof R) ? Object.getOwnPropertyNames(De.headers).forEach(function(Ze) {
|
|
3226
|
+
we.setRequestHeader(Ze, E(De.headers[Ze]));
|
|
3227
|
+
}) : rt.headers.forEach(function(Ze, be) {
|
|
3228
|
+
we.setRequestHeader(be, Ze);
|
|
3229
|
+
}), rt.signal && (rt.signal.addEventListener("abort", ke), we.onreadystatechange = function() {
|
|
3230
|
+
we.readyState === 4 && rt.signal.removeEventListener("abort", ke);
|
|
3231
|
+
}), we.send(typeof rt._bodyInit > "u" ? null : rt._bodyInit);
|
|
3232
3232
|
});
|
|
3233
3233
|
}
|
|
3234
3234
|
return He.polyfill = !0, c.fetch || (c.fetch = He, c.Headers = R, c.Request = ae, c.Response = Qe), a.Headers = R, a.Request = ae, a.Response = Qe, a.fetch = He, a;
|
|
@@ -5486,8 +5486,8 @@ function Q2(t) {
|
|
|
5486
5486
|
A -= R.length, R = [];
|
|
5487
5487
|
}, buildToast: (se, ae) => {
|
|
5488
5488
|
if (((Ye) => {
|
|
5489
|
-
let { containerId: Ze, toastId:
|
|
5490
|
-
const Ie = Ze ? Ze !== y : y !== 1, Ue = H.has(
|
|
5489
|
+
let { containerId: Ze, toastId: be, updateId: Pe } = Ye;
|
|
5490
|
+
const Ie = Ze ? Ze !== y : y !== 1, Ue = H.has(be) && Pe == null;
|
|
5491
5491
|
return Ie || Ue;
|
|
5492
5492
|
})(ae))
|
|
5493
5493
|
return;
|
|
@@ -5496,17 +5496,17 @@ function Q2(t) {
|
|
|
5496
5496
|
}, De = et == null;
|
|
5497
5497
|
De && A++;
|
|
5498
5498
|
const Le = { ...U, style: U.toastStyle, key: E++, ...Object.fromEntries(Object.entries(ae).filter((Ye) => {
|
|
5499
|
-
let [Ze,
|
|
5500
|
-
return
|
|
5499
|
+
let [Ze, be] = Ye;
|
|
5500
|
+
return be != null;
|
|
5501
5501
|
})), toastId: Be, updateId: et, data: Qe, closeToast: de, isIn: !1, className: qh(ae.className || U.toastClassName), bodyClassName: qh(ae.bodyClassName || U.bodyClassName), progressClassName: qh(ae.progressClassName || U.progressClassName), autoClose: !ae.isLoading && ($e = ae.autoClose, rt = U.autoClose, $e === !1 || jd($e) && $e > 0 ? $e : rt), deleteToast() {
|
|
5502
|
-
const Ye = H.get(Be), { onClose: Ze, children:
|
|
5503
|
-
os(Ze) && Ze(Oc(
|
|
5502
|
+
const Ye = H.get(Be), { onClose: Ze, children: be } = Ye.props;
|
|
5503
|
+
os(Ze) && Ze(Oc(be) && be.props), T(vw(Ye, "removed")), H.delete(Be), A--, A < 0 && (A = 0), R.length > 0 ? x(R.shift()) : q();
|
|
5504
5504
|
} };
|
|
5505
5505
|
var $e, rt;
|
|
5506
5506
|
Le.closeButton = U.closeButton, ae.closeButton === !1 || Km(ae.closeButton) ? Le.closeButton = ae.closeButton : ae.closeButton === !0 && (Le.closeButton = !Km(U.closeButton) || U.closeButton);
|
|
5507
|
-
let
|
|
5508
|
-
Oc(se) && !_c(se.type) ?
|
|
5509
|
-
const ke = { content:
|
|
5507
|
+
let we = se;
|
|
5508
|
+
Oc(se) && !_c(se.type) ? we = Fd(se, { closeToast: de, toastProps: Le, data: Qe }) : os(se) && (we = se({ closeToast: de, toastProps: Le, data: Qe }));
|
|
5509
|
+
const ke = { content: we, props: Le, staleId: nt };
|
|
5510
5510
|
U.limit && U.limit > 0 && A > U.limit && De ? R.push(ke) : jd(He) ? setTimeout(() => {
|
|
5511
5511
|
x(ke);
|
|
5512
5512
|
}, He) : x(ke);
|
|
@@ -5675,17 +5675,17 @@ const iF = typeof window < "u" ? qa : Tt, Ph = (t) => {
|
|
|
5675
5675
|
return ht.createElement("div", { className: "Toastify__spinner" });
|
|
5676
5676
|
} }, oF = (t) => {
|
|
5677
5677
|
const { isRunning: e, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: o } = eF(t), { closeButton: a, children: c, autoClose: f, onClick: p, type: y, hideProgressBar: g, closeToast: T, transition: E, position: A, className: R, style: B, bodyClassName: I, bodyStyle: U, progressClassName: H, progressStyle: te, updateId: q, role: ie, progress: x, rtl: se, toastId: ae, deleteToast: Be, isIn: et, isLoading: Qe, closeOnClick: nt, theme: He } = t, de = vu("Toastify__toast", `Toastify__toast-theme--${He}`, `Toastify__toast--${y}`, { "Toastify__toast--rtl": se }, { "Toastify__toast--close-on-click": nt }), De = os(R) ? R({ rtl: se, position: A, type: y, defaultClassName: de }) : vu(de, R), Le = function(ke) {
|
|
5678
|
-
let { theme: Ye, type: Ze, isLoading:
|
|
5678
|
+
let { theme: Ye, type: Ze, isLoading: be, icon: Pe } = ke, Ie = null;
|
|
5679
5679
|
const Ue = { theme: Ye, type: Ze };
|
|
5680
|
-
return Pe === !1 || (os(Pe) ? Ie = Pe({ ...Ue, isLoading:
|
|
5680
|
+
return Pe === !1 || (os(Pe) ? Ie = Pe({ ...Ue, isLoading: be }) : Oc(Pe) ? Ie = Fd(Pe, Ue) : be ? Ie = zg.spinner() : ((Je) => Je in zg)(Ze) && (Ie = zg[Ze](Ue))), Ie;
|
|
5681
5681
|
}(t), $e = !!x || !f, rt = { closeToast: T, type: y, theme: He };
|
|
5682
|
-
let
|
|
5683
|
-
return a === !1 || (
|
|
5684
|
-
let { closeToast: Ye, theme: Ze, ariaLabel:
|
|
5682
|
+
let we = null;
|
|
5683
|
+
return a === !1 || (we = os(a) ? a(rt) : Oc(a) ? Fd(a, rt) : function(ke) {
|
|
5684
|
+
let { closeToast: Ye, theme: Ze, ariaLabel: be = "close" } = ke;
|
|
5685
5685
|
return ht.createElement("button", { className: `Toastify__close-button Toastify__close-button--${Ze}`, type: "button", onClick: (Pe) => {
|
|
5686
5686
|
Pe.stopPropagation(), Ye(Pe);
|
|
5687
|
-
}, "aria-label":
|
|
5688
|
-
}(rt)), ht.createElement(E, { isIn: et, done: Be, position: A, preventExitTransition: n, nodeRef: r, playToast: o }, ht.createElement("div", { id: ae, onClick: p, "data-in": et, className: De, ...i, style: B, ref: r }, ht.createElement("div", { ...et && { role: ie }, className: os(I) ? I({ type: y }) : vu("Toastify__toast-body", I), style: U }, Le != null && ht.createElement("div", { className: vu("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Qe }) }, Le), ht.createElement("div", null, c)),
|
|
5687
|
+
}, "aria-label": be }, ht.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, ht.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
|
|
5688
|
+
}(rt)), ht.createElement(E, { isIn: et, done: Be, position: A, preventExitTransition: n, nodeRef: r, playToast: o }, ht.createElement("div", { id: ae, onClick: p, "data-in": et, className: De, ...i, style: B, ref: r }, ht.createElement("div", { ...et && { role: ie }, className: os(I) ? I({ type: y }) : vu("Toastify__toast-body", I), style: U }, Le != null && ht.createElement("div", { className: vu("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Qe }) }, Le), ht.createElement("div", null, c)), we, ht.createElement(tF, { ...q && !$e ? { key: `pb-${q}` } : {}, rtl: se, theme: He, delay: f, isRunning: e, isIn: et, closeToast: T, hide: g, type: y, style: te, className: H, controlledProgress: $e, progress: x || 0 })));
|
|
5689
5689
|
}, Vp = function(t, e) {
|
|
5690
5690
|
return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${t}-enter`, exit: `Toastify--animate Toastify__${t}-exit`, appendPosition: e };
|
|
5691
5691
|
}, sF = jp(Vp("bounce", !0));
|
|
@@ -9468,8 +9468,8 @@ function L$(t) {
|
|
|
9468
9468
|
const $e = et[Le], rt = Qe[Le];
|
|
9469
9469
|
if (E.hasOwnProperty(Le))
|
|
9470
9470
|
continue;
|
|
9471
|
-
let
|
|
9472
|
-
ev($e) && ev(rt) ?
|
|
9471
|
+
let we = !1;
|
|
9472
|
+
ev($e) && ev(rt) ? we = !HC($e, rt) : we = $e !== rt, we ? $e != null ? He(Le) : T.add(Le) : $e !== void 0 && T.has(Le) ? He(Le) : U.protectedKeys[Le] = !0;
|
|
9473
9473
|
}
|
|
9474
9474
|
U.prevProp = H, U.prevResolvedValues = et, U.isActive && (E = { ...E, ...et }), r && t.blockInitialAnimation && (se = !1), se && (!(ie && x) || ae) && g.push(...Be.map((Le) => ({
|
|
9475
9475
|
animation: Le,
|
|
@@ -15846,13 +15846,13 @@ function _p({ autoplay: t = !0, delay: e = 0, driver: n = e5, keyframes: r, type
|
|
|
15846
15846
|
E > 0 && (ae = Math.min(ae, ke)), E < 0 && (ae = Math.min(ke - nt / E, ae)), se !== null ? He = se : He = Math.round(ke - ae) * E;
|
|
15847
15847
|
const Ye = He - e * (E >= 0 ? 1 : -1), Ze = E >= 0 ? Ye < 0 : Ye > nt;
|
|
15848
15848
|
He = Math.max(Ye, 0), x === "finished" && se === null && (He = nt);
|
|
15849
|
-
let
|
|
15849
|
+
let be = He, Pe = q;
|
|
15850
15850
|
if (o) {
|
|
15851
15851
|
const it = Math.min(He, nt) / Qe;
|
|
15852
15852
|
let tt = Math.floor(it), st = it % 1;
|
|
15853
|
-
!st && it >= 1 && (st = 1), st === 1 && tt--, tt = Math.min(tt, o + 1), !!(tt % 2) && (c === "reverse" ? (st = 1 - st, a && (st -= a / Qe)) : c === "mirror" && (Pe = ie)),
|
|
15853
|
+
!st && it >= 1 && (st = 1), st === 1 && tt--, tt = Math.min(tt, o + 1), !!(tt % 2) && (c === "reverse" ? (st = 1 - st, a && (st -= a / Qe)) : c === "mirror" && (Pe = ie)), be = Ou(0, 1, st) * Qe;
|
|
15854
15854
|
}
|
|
15855
|
-
const Ie = Ze ? { done: !1, value: r[0] } : Pe.next(
|
|
15855
|
+
const Ie = Ze ? { done: !1, value: r[0] } : Pe.next(be);
|
|
15856
15856
|
te && (Ie.value = te(Ie.value));
|
|
15857
15857
|
let { done: Ue } = Ie;
|
|
15858
15858
|
!Ze && et !== null && (Ue = E >= 0 ? He >= nt : He <= 0);
|
|
@@ -15872,7 +15872,7 @@ function _p({ autoplay: t = !0, delay: e = 0, driver: n = e5, keyframes: r, type
|
|
|
15872
15872
|
f && f(), se !== null ? ae = ke - se : (!ae || x === "finished") && (ae = ke), x === "finished" && I(), Be = ae, se = null, x = "running", U.start();
|
|
15873
15873
|
};
|
|
15874
15874
|
t && rt();
|
|
15875
|
-
const
|
|
15875
|
+
const we = {
|
|
15876
15876
|
then(ke, Ye) {
|
|
15877
15877
|
return B.then(ke, Ye);
|
|
15878
15878
|
},
|
|
@@ -15890,7 +15890,7 @@ function _p({ autoplay: t = !0, delay: e = 0, driver: n = e5, keyframes: r, type
|
|
|
15890
15890
|
return E;
|
|
15891
15891
|
},
|
|
15892
15892
|
set speed(ke) {
|
|
15893
|
-
ke === E || !U || (E = ke,
|
|
15893
|
+
ke === E || !U || (E = ke, we.time = Il(He));
|
|
15894
15894
|
},
|
|
15895
15895
|
get state() {
|
|
15896
15896
|
return x;
|
|
@@ -15910,7 +15910,7 @@ function _p({ autoplay: t = !0, delay: e = 0, driver: n = e5, keyframes: r, type
|
|
|
15910
15910
|
},
|
|
15911
15911
|
sample: (ke) => (ae = 0, de(ke))
|
|
15912
15912
|
};
|
|
15913
|
-
return
|
|
15913
|
+
return we;
|
|
15914
15914
|
}
|
|
15915
15915
|
function n5(t) {
|
|
15916
15916
|
let e;
|
|
@@ -18785,7 +18785,7 @@ var Sf = /* @__PURE__ */ new Map(), qD = function(e) {
|
|
|
18785
18785
|
}, te, q, ie, x, se;
|
|
18786
18786
|
Object.keys(H).forEach(function($e) {
|
|
18787
18787
|
te = $e, ie = H[$e], q = g.querySelectorAll(te + "[id]");
|
|
18788
|
-
for (var rt = function(Ze,
|
|
18788
|
+
for (var rt = function(Ze, be) {
|
|
18789
18789
|
x = q[Ze].id, se = x + "-" + M4();
|
|
18790
18790
|
var Pe;
|
|
18791
18791
|
Array.prototype.forEach.call(ie, function(pt) {
|
|
@@ -18802,8 +18802,8 @@ var Sf = /* @__PURE__ */ new Map(), qD = function(e) {
|
|
|
18802
18802
|
for (var st = 0, je = Ue.length; st < je; st++)
|
|
18803
18803
|
Ue[st].setAttributeNS(Cm, "href", "#" + se);
|
|
18804
18804
|
q[Ze].id = se;
|
|
18805
|
-
},
|
|
18806
|
-
rt(
|
|
18805
|
+
}, we = 0, ke = q.length; we < ke; we++)
|
|
18806
|
+
rt(we);
|
|
18807
18807
|
});
|
|
18808
18808
|
}
|
|
18809
18809
|
g.removeAttribute("xmlns:a");
|
|
@@ -18964,9 +18964,9 @@ function B4() {
|
|
|
18964
18964
|
}
|
|
18965
18965
|
var q = f, ie = p, x = c, se = a, ae = e, Be = y, et = r, Qe = A, nt = E, He = n, de = o, De = i, Le = g, $e = !1;
|
|
18966
18966
|
function rt(je) {
|
|
18967
|
-
return $e || ($e = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
18967
|
+
return $e || ($e = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), we(je) || te(je) === f;
|
|
18968
18968
|
}
|
|
18969
|
-
function
|
|
18969
|
+
function we(je) {
|
|
18970
18970
|
return te(je) === p;
|
|
18971
18971
|
}
|
|
18972
18972
|
function ke(je) {
|
|
@@ -18978,7 +18978,7 @@ function B4() {
|
|
|
18978
18978
|
function Ze(je) {
|
|
18979
18979
|
return typeof je == "object" && je !== null && je.$$typeof === e;
|
|
18980
18980
|
}
|
|
18981
|
-
function
|
|
18981
|
+
function be(je) {
|
|
18982
18982
|
return te(je) === y;
|
|
18983
18983
|
}
|
|
18984
18984
|
function Pe(je) {
|
|
@@ -19002,7 +19002,7 @@ function B4() {
|
|
|
19002
19002
|
function st(je) {
|
|
19003
19003
|
return te(je) === g;
|
|
19004
19004
|
}
|
|
19005
|
-
Tn.AsyncMode = q, Tn.ConcurrentMode = ie, Tn.ContextConsumer = x, Tn.ContextProvider = se, Tn.Element = ae, Tn.ForwardRef = Be, Tn.Fragment = et, Tn.Lazy = Qe, Tn.Memo = nt, Tn.Portal = He, Tn.Profiler = de, Tn.StrictMode = De, Tn.Suspense = Le, Tn.isAsyncMode = rt, Tn.isConcurrentMode =
|
|
19005
|
+
Tn.AsyncMode = q, Tn.ConcurrentMode = ie, Tn.ContextConsumer = x, Tn.ContextProvider = se, Tn.Element = ae, Tn.ForwardRef = Be, Tn.Fragment = et, Tn.Lazy = Qe, Tn.Memo = nt, Tn.Portal = He, Tn.Profiler = de, Tn.StrictMode = De, Tn.Suspense = Le, Tn.isAsyncMode = rt, Tn.isConcurrentMode = we, Tn.isContextConsumer = ke, Tn.isContextProvider = Ye, Tn.isElement = Ze, Tn.isForwardRef = be, Tn.isFragment = Pe, Tn.isLazy = Ie, Tn.isMemo = Ue, Tn.isPortal = Je, Tn.isProfiler = it, Tn.isStrictMode = tt, Tn.isSuspense = st, Tn.isValidElementType = H, Tn.typeOf = te;
|
|
19006
19006
|
}()), Tn;
|
|
19007
19007
|
}
|
|
19008
19008
|
var T1;
|
|
@@ -19143,8 +19143,8 @@ function V4() {
|
|
|
19143
19143
|
}
|
|
19144
19144
|
return Om = function(c, f) {
|
|
19145
19145
|
var p = typeof Symbol == "function" && Symbol.iterator, y = "@@iterator";
|
|
19146
|
-
function g(
|
|
19147
|
-
var ke =
|
|
19146
|
+
function g(we) {
|
|
19147
|
+
var ke = we && (p && we[p] || we[y]);
|
|
19148
19148
|
if (typeof ke == "function")
|
|
19149
19149
|
return ke;
|
|
19150
19150
|
}
|
|
@@ -19169,14 +19169,14 @@ function V4() {
|
|
|
19169
19169
|
shape: Qe,
|
|
19170
19170
|
exact: nt
|
|
19171
19171
|
};
|
|
19172
|
-
function A(
|
|
19173
|
-
return
|
|
19172
|
+
function A(we, ke) {
|
|
19173
|
+
return we === ke ? we !== 0 || 1 / we === 1 / ke : we !== we && ke !== ke;
|
|
19174
19174
|
}
|
|
19175
|
-
function R(
|
|
19176
|
-
this.message =
|
|
19175
|
+
function R(we, ke) {
|
|
19176
|
+
this.message = we, this.data = ke && typeof ke == "object" ? ke : {}, this.stack = "";
|
|
19177
19177
|
}
|
|
19178
19178
|
R.prototype = Error.prototype;
|
|
19179
|
-
function B(
|
|
19179
|
+
function B(we) {
|
|
19180
19180
|
if (process.env.NODE_ENV !== "production")
|
|
19181
19181
|
var ke = {}, Ye = 0;
|
|
19182
19182
|
function Ze(Pe, Ie, Ue, Je, it, tt, st) {
|
|
@@ -19194,19 +19194,19 @@ function V4() {
|
|
|
19194
19194
|
), ke[pt] = !0, Ye++);
|
|
19195
19195
|
}
|
|
19196
19196
|
}
|
|
19197
|
-
return Ie[Ue] == null ? Pe ? Ie[Ue] === null ? new R("The " + it + " `" + tt + "` is marked as required " + ("in `" + Je + "`, but its value is `null`.")) : new R("The " + it + " `" + tt + "` is marked as required in " + ("`" + Je + "`, but its value is `undefined`.")) : null :
|
|
19197
|
+
return Ie[Ue] == null ? Pe ? Ie[Ue] === null ? new R("The " + it + " `" + tt + "` is marked as required " + ("in `" + Je + "`, but its value is `null`.")) : new R("The " + it + " `" + tt + "` is marked as required in " + ("`" + Je + "`, but its value is `undefined`.")) : null : we(Ie, Ue, Je, it, tt);
|
|
19198
19198
|
}
|
|
19199
|
-
var
|
|
19200
|
-
return
|
|
19199
|
+
var be = Ze.bind(null, !1);
|
|
19200
|
+
return be.isRequired = Ze.bind(null, !0), be;
|
|
19201
19201
|
}
|
|
19202
|
-
function I(
|
|
19203
|
-
function ke(Ye, Ze,
|
|
19202
|
+
function I(we) {
|
|
19203
|
+
function ke(Ye, Ze, be, Pe, Ie, Ue) {
|
|
19204
19204
|
var Je = Ye[Ze], it = De(Je);
|
|
19205
|
-
if (it !==
|
|
19205
|
+
if (it !== we) {
|
|
19206
19206
|
var tt = Le(Je);
|
|
19207
19207
|
return new R(
|
|
19208
|
-
"Invalid " + Pe + " `" + Ie + "` of type " + ("`" + tt + "` supplied to `" +
|
|
19209
|
-
{ expectedType:
|
|
19208
|
+
"Invalid " + Pe + " `" + Ie + "` of type " + ("`" + tt + "` supplied to `" + be + "`, expected ") + ("`" + we + "`."),
|
|
19209
|
+
{ expectedType: we }
|
|
19210
19210
|
);
|
|
19211
19211
|
}
|
|
19212
19212
|
return null;
|
|
@@ -19216,17 +19216,17 @@ function V4() {
|
|
|
19216
19216
|
function U() {
|
|
19217
19217
|
return B(a);
|
|
19218
19218
|
}
|
|
19219
|
-
function H(
|
|
19220
|
-
function ke(Ye, Ze,
|
|
19221
|
-
if (typeof
|
|
19222
|
-
return new R("Property `" + Ie + "` of component `" +
|
|
19219
|
+
function H(we) {
|
|
19220
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19221
|
+
if (typeof we != "function")
|
|
19222
|
+
return new R("Property `" + Ie + "` of component `" + be + "` has invalid PropType notation inside arrayOf.");
|
|
19223
19223
|
var Ue = Ye[Ze];
|
|
19224
19224
|
if (!Array.isArray(Ue)) {
|
|
19225
19225
|
var Je = De(Ue);
|
|
19226
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" +
|
|
19226
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" + be + "`, expected an array."));
|
|
19227
19227
|
}
|
|
19228
19228
|
for (var it = 0; it < Ue.length; it++) {
|
|
19229
|
-
var tt =
|
|
19229
|
+
var tt = we(Ue, it, be, Pe, Ie + "[" + it + "]", n);
|
|
19230
19230
|
if (tt instanceof Error)
|
|
19231
19231
|
return tt;
|
|
19232
19232
|
}
|
|
@@ -19235,64 +19235,64 @@ function V4() {
|
|
|
19235
19235
|
return B(ke);
|
|
19236
19236
|
}
|
|
19237
19237
|
function te() {
|
|
19238
|
-
function
|
|
19238
|
+
function we(ke, Ye, Ze, be, Pe) {
|
|
19239
19239
|
var Ie = ke[Ye];
|
|
19240
19240
|
if (!c(Ie)) {
|
|
19241
19241
|
var Ue = De(Ie);
|
|
19242
|
-
return new R("Invalid " +
|
|
19242
|
+
return new R("Invalid " + be + " `" + Pe + "` of type " + ("`" + Ue + "` supplied to `" + Ze + "`, expected a single ReactElement."));
|
|
19243
19243
|
}
|
|
19244
19244
|
return null;
|
|
19245
19245
|
}
|
|
19246
|
-
return B(
|
|
19246
|
+
return B(we);
|
|
19247
19247
|
}
|
|
19248
19248
|
function q() {
|
|
19249
|
-
function
|
|
19249
|
+
function we(ke, Ye, Ze, be, Pe) {
|
|
19250
19250
|
var Ie = ke[Ye];
|
|
19251
19251
|
if (!t.isValidElementType(Ie)) {
|
|
19252
19252
|
var Ue = De(Ie);
|
|
19253
|
-
return new R("Invalid " +
|
|
19253
|
+
return new R("Invalid " + be + " `" + Pe + "` of type " + ("`" + Ue + "` supplied to `" + Ze + "`, expected a single ReactElement type."));
|
|
19254
19254
|
}
|
|
19255
19255
|
return null;
|
|
19256
19256
|
}
|
|
19257
|
-
return B(
|
|
19257
|
+
return B(we);
|
|
19258
19258
|
}
|
|
19259
|
-
function ie(
|
|
19260
|
-
function ke(Ye, Ze,
|
|
19261
|
-
if (!(Ye[Ze] instanceof
|
|
19262
|
-
var Ue =
|
|
19263
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" +
|
|
19259
|
+
function ie(we) {
|
|
19260
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19261
|
+
if (!(Ye[Ze] instanceof we)) {
|
|
19262
|
+
var Ue = we.name || T, Je = rt(Ye[Ze]);
|
|
19263
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" + be + "`, expected ") + ("instance of `" + Ue + "`."));
|
|
19264
19264
|
}
|
|
19265
19265
|
return null;
|
|
19266
19266
|
}
|
|
19267
19267
|
return B(ke);
|
|
19268
19268
|
}
|
|
19269
|
-
function x(
|
|
19270
|
-
if (!Array.isArray(
|
|
19269
|
+
function x(we) {
|
|
19270
|
+
if (!Array.isArray(we))
|
|
19271
19271
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
19272
19272
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
19273
19273
|
) : o("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
19274
|
-
function ke(Ye, Ze,
|
|
19275
|
-
for (var Ue = Ye[Ze], Je = 0; Je <
|
|
19276
|
-
if (A(Ue,
|
|
19274
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19275
|
+
for (var Ue = Ye[Ze], Je = 0; Je < we.length; Je++)
|
|
19276
|
+
if (A(Ue, we[Je]))
|
|
19277
19277
|
return null;
|
|
19278
|
-
var it = JSON.stringify(
|
|
19278
|
+
var it = JSON.stringify(we, function(st, je) {
|
|
19279
19279
|
var pt = Le(je);
|
|
19280
19280
|
return pt === "symbol" ? String(je) : je;
|
|
19281
19281
|
});
|
|
19282
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of value `" + String(Ue) + "` " + ("supplied to `" +
|
|
19282
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of value `" + String(Ue) + "` " + ("supplied to `" + be + "`, expected one of " + it + "."));
|
|
19283
19283
|
}
|
|
19284
19284
|
return B(ke);
|
|
19285
19285
|
}
|
|
19286
|
-
function se(
|
|
19287
|
-
function ke(Ye, Ze,
|
|
19288
|
-
if (typeof
|
|
19289
|
-
return new R("Property `" + Ie + "` of component `" +
|
|
19286
|
+
function se(we) {
|
|
19287
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19288
|
+
if (typeof we != "function")
|
|
19289
|
+
return new R("Property `" + Ie + "` of component `" + be + "` has invalid PropType notation inside objectOf.");
|
|
19290
19290
|
var Ue = Ye[Ze], Je = De(Ue);
|
|
19291
19291
|
if (Je !== "object")
|
|
19292
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" +
|
|
19292
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of type " + ("`" + Je + "` supplied to `" + be + "`, expected an object."));
|
|
19293
19293
|
for (var it in Ue)
|
|
19294
19294
|
if (r(Ue, it)) {
|
|
19295
|
-
var tt =
|
|
19295
|
+
var tt = we(Ue, it, be, Pe, Ie + "." + it, n);
|
|
19296
19296
|
if (tt instanceof Error)
|
|
19297
19297
|
return tt;
|
|
19298
19298
|
}
|
|
@@ -19300,19 +19300,19 @@ function V4() {
|
|
|
19300
19300
|
}
|
|
19301
19301
|
return B(ke);
|
|
19302
19302
|
}
|
|
19303
|
-
function ae(
|
|
19304
|
-
if (!Array.isArray(
|
|
19303
|
+
function ae(we) {
|
|
19304
|
+
if (!Array.isArray(we))
|
|
19305
19305
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
19306
|
-
for (var ke = 0; ke <
|
|
19307
|
-
var Ye =
|
|
19306
|
+
for (var ke = 0; ke < we.length; ke++) {
|
|
19307
|
+
var Ye = we[ke];
|
|
19308
19308
|
if (typeof Ye != "function")
|
|
19309
19309
|
return o(
|
|
19310
19310
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $e(Ye) + " at index " + ke + "."
|
|
19311
19311
|
), a;
|
|
19312
19312
|
}
|
|
19313
|
-
function Ze(
|
|
19314
|
-
for (var it = [], tt = 0; tt <
|
|
19315
|
-
var st =
|
|
19313
|
+
function Ze(be, Pe, Ie, Ue, Je) {
|
|
19314
|
+
for (var it = [], tt = 0; tt < we.length; tt++) {
|
|
19315
|
+
var st = we[tt], je = st(be, Pe, Ie, Ue, Je, n);
|
|
19316
19316
|
if (je == null)
|
|
19317
19317
|
return null;
|
|
19318
19318
|
je.data && r(je.data, "expectedType") && it.push(je.data.expectedType);
|
|
@@ -19323,26 +19323,26 @@ function V4() {
|
|
|
19323
19323
|
return B(Ze);
|
|
19324
19324
|
}
|
|
19325
19325
|
function Be() {
|
|
19326
|
-
function
|
|
19327
|
-
return He(ke[Ye]) ? null : new R("Invalid " +
|
|
19326
|
+
function we(ke, Ye, Ze, be, Pe) {
|
|
19327
|
+
return He(ke[Ye]) ? null : new R("Invalid " + be + " `" + Pe + "` supplied to " + ("`" + Ze + "`, expected a ReactNode."));
|
|
19328
19328
|
}
|
|
19329
|
-
return B(
|
|
19329
|
+
return B(we);
|
|
19330
19330
|
}
|
|
19331
|
-
function et(
|
|
19331
|
+
function et(we, ke, Ye, Ze, be) {
|
|
19332
19332
|
return new R(
|
|
19333
|
-
(
|
|
19333
|
+
(we || "React class") + ": " + ke + " type `" + Ye + "." + Ze + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + be + "`."
|
|
19334
19334
|
);
|
|
19335
19335
|
}
|
|
19336
|
-
function Qe(
|
|
19337
|
-
function ke(Ye, Ze,
|
|
19336
|
+
function Qe(we) {
|
|
19337
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19338
19338
|
var Ue = Ye[Ze], Je = De(Ue);
|
|
19339
19339
|
if (Je !== "object")
|
|
19340
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of type `" + Je + "` " + ("supplied to `" +
|
|
19341
|
-
for (var it in
|
|
19342
|
-
var tt =
|
|
19340
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of type `" + Je + "` " + ("supplied to `" + be + "`, expected `object`."));
|
|
19341
|
+
for (var it in we) {
|
|
19342
|
+
var tt = we[it];
|
|
19343
19343
|
if (typeof tt != "function")
|
|
19344
|
-
return et(
|
|
19345
|
-
var st = tt(Ue, it,
|
|
19344
|
+
return et(be, Pe, Ie, it, Le(tt));
|
|
19345
|
+
var st = tt(Ue, it, be, Pe, Ie + "." + it, n);
|
|
19346
19346
|
if (st)
|
|
19347
19347
|
return st;
|
|
19348
19348
|
}
|
|
@@ -19350,22 +19350,22 @@ function V4() {
|
|
|
19350
19350
|
}
|
|
19351
19351
|
return B(ke);
|
|
19352
19352
|
}
|
|
19353
|
-
function nt(
|
|
19354
|
-
function ke(Ye, Ze,
|
|
19353
|
+
function nt(we) {
|
|
19354
|
+
function ke(Ye, Ze, be, Pe, Ie) {
|
|
19355
19355
|
var Ue = Ye[Ze], Je = De(Ue);
|
|
19356
19356
|
if (Je !== "object")
|
|
19357
|
-
return new R("Invalid " + Pe + " `" + Ie + "` of type `" + Je + "` " + ("supplied to `" +
|
|
19358
|
-
var it = e({}, Ye[Ze],
|
|
19357
|
+
return new R("Invalid " + Pe + " `" + Ie + "` of type `" + Je + "` " + ("supplied to `" + be + "`, expected `object`."));
|
|
19358
|
+
var it = e({}, Ye[Ze], we);
|
|
19359
19359
|
for (var tt in it) {
|
|
19360
|
-
var st =
|
|
19361
|
-
if (r(
|
|
19362
|
-
return et(
|
|
19360
|
+
var st = we[tt];
|
|
19361
|
+
if (r(we, tt) && typeof st != "function")
|
|
19362
|
+
return et(be, Pe, Ie, tt, Le(st));
|
|
19363
19363
|
if (!st)
|
|
19364
19364
|
return new R(
|
|
19365
|
-
"Invalid " + Pe + " `" + Ie + "` key `" + tt + "` supplied to `" +
|
|
19366
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
19365
|
+
"Invalid " + Pe + " `" + Ie + "` key `" + tt + "` supplied to `" + be + "`.\nBad object: " + JSON.stringify(Ye[Ze], null, " ") + `
|
|
19366
|
+
Valid keys: ` + JSON.stringify(Object.keys(we), null, " ")
|
|
19367
19367
|
);
|
|
19368
|
-
var je = st(Ue, tt,
|
|
19368
|
+
var je = st(Ue, tt, be, Pe, Ie + "." + tt, n);
|
|
19369
19369
|
if (je)
|
|
19370
19370
|
return je;
|
|
19371
19371
|
}
|
|
@@ -19373,30 +19373,30 @@ Valid keys: ` + JSON.stringify(Object.keys(be), null, " ")
|
|
|
19373
19373
|
}
|
|
19374
19374
|
return B(ke);
|
|
19375
19375
|
}
|
|
19376
|
-
function He(
|
|
19377
|
-
switch (typeof
|
|
19376
|
+
function He(we) {
|
|
19377
|
+
switch (typeof we) {
|
|
19378
19378
|
case "number":
|
|
19379
19379
|
case "string":
|
|
19380
19380
|
case "undefined":
|
|
19381
19381
|
return !0;
|
|
19382
19382
|
case "boolean":
|
|
19383
|
-
return !
|
|
19383
|
+
return !we;
|
|
19384
19384
|
case "object":
|
|
19385
|
-
if (Array.isArray(
|
|
19386
|
-
return
|
|
19387
|
-
if (
|
|
19385
|
+
if (Array.isArray(we))
|
|
19386
|
+
return we.every(He);
|
|
19387
|
+
if (we === null || c(we))
|
|
19388
19388
|
return !0;
|
|
19389
|
-
var ke = g(
|
|
19389
|
+
var ke = g(we);
|
|
19390
19390
|
if (ke) {
|
|
19391
|
-
var Ye = ke.call(
|
|
19392
|
-
if (ke !==
|
|
19391
|
+
var Ye = ke.call(we), Ze;
|
|
19392
|
+
if (ke !== we.entries) {
|
|
19393
19393
|
for (; !(Ze = Ye.next()).done; )
|
|
19394
19394
|
if (!He(Ze.value))
|
|
19395
19395
|
return !1;
|
|
19396
19396
|
} else
|
|
19397
19397
|
for (; !(Ze = Ye.next()).done; ) {
|
|
19398
|
-
var
|
|
19399
|
-
if (
|
|
19398
|
+
var be = Ze.value;
|
|
19399
|
+
if (be && !He(be[1]))
|
|
19400
19400
|
return !1;
|
|
19401
19401
|
}
|
|
19402
19402
|
} else
|
|
@@ -19406,27 +19406,27 @@ Valid keys: ` + JSON.stringify(Object.keys(be), null, " ")
|
|
|
19406
19406
|
return !1;
|
|
19407
19407
|
}
|
|
19408
19408
|
}
|
|
19409
|
-
function de(
|
|
19410
|
-
return
|
|
19409
|
+
function de(we, ke) {
|
|
19410
|
+
return we === "symbol" ? !0 : ke ? ke["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && ke instanceof Symbol : !1;
|
|
19411
19411
|
}
|
|
19412
|
-
function De(
|
|
19413
|
-
var ke = typeof
|
|
19414
|
-
return Array.isArray(
|
|
19412
|
+
function De(we) {
|
|
19413
|
+
var ke = typeof we;
|
|
19414
|
+
return Array.isArray(we) ? "array" : we instanceof RegExp ? "object" : de(ke, we) ? "symbol" : ke;
|
|
19415
19415
|
}
|
|
19416
|
-
function Le(
|
|
19417
|
-
if (typeof
|
|
19418
|
-
return "" +
|
|
19419
|
-
var ke = De(
|
|
19416
|
+
function Le(we) {
|
|
19417
|
+
if (typeof we > "u" || we === null)
|
|
19418
|
+
return "" + we;
|
|
19419
|
+
var ke = De(we);
|
|
19420
19420
|
if (ke === "object") {
|
|
19421
|
-
if (
|
|
19421
|
+
if (we instanceof Date)
|
|
19422
19422
|
return "date";
|
|
19423
|
-
if (
|
|
19423
|
+
if (we instanceof RegExp)
|
|
19424
19424
|
return "regexp";
|
|
19425
19425
|
}
|
|
19426
19426
|
return ke;
|
|
19427
19427
|
}
|
|
19428
|
-
function $e(
|
|
19429
|
-
var ke = Le(
|
|
19428
|
+
function $e(we) {
|
|
19429
|
+
var ke = Le(we);
|
|
19430
19430
|
switch (ke) {
|
|
19431
19431
|
case "array":
|
|
19432
19432
|
case "object":
|
|
@@ -19439,8 +19439,8 @@ Valid keys: ` + JSON.stringify(Object.keys(be), null, " ")
|
|
|
19439
19439
|
return ke;
|
|
19440
19440
|
}
|
|
19441
19441
|
}
|
|
19442
|
-
function rt(
|
|
19443
|
-
return !
|
|
19442
|
+
function rt(we) {
|
|
19443
|
+
return !we.constructor || !we.constructor.name ? T : we.constructor.name;
|
|
19444
19444
|
}
|
|
19445
19445
|
return E.checkPropTypes = i, E.resetWarningCache = i.resetWarningCache, E.PropTypes = E, E;
|
|
19446
19446
|
}, Om;
|
|
@@ -20608,10 +20608,10 @@ function r6() {
|
|
|
20608
20608
|
function rt(k, F) {
|
|
20609
20609
|
return F = F === void 0 ? "" : F, { bootstrapChunks: [], startInlineScript: "<script>", placeholderPrefix: F + "P:", segmentPrefix: F + "S:", boundaryPrefix: F + "B:", idPrefix: F, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1, generateStaticMarkup: k };
|
|
20610
20610
|
}
|
|
20611
|
-
function
|
|
20611
|
+
function we(k, F, G, Q) {
|
|
20612
20612
|
return G.generateStaticMarkup ? (k.push(A(F)), !1) : (F === "" ? k = Q : (Q && k.push("<!-- -->"), k.push(A(F)), k = !0), k);
|
|
20613
20613
|
}
|
|
20614
|
-
var ke = Object.assign, Ye = Symbol.for("react.element"), Ze = Symbol.for("react.portal"),
|
|
20614
|
+
var ke = Object.assign, Ye = Symbol.for("react.element"), Ze = Symbol.for("react.portal"), be = Symbol.for("react.fragment"), Pe = Symbol.for("react.strict_mode"), Ie = Symbol.for("react.profiler"), Ue = Symbol.for("react.provider"), Je = Symbol.for("react.context"), it = Symbol.for("react.forward_ref"), tt = Symbol.for("react.suspense"), st = Symbol.for("react.suspense_list"), je = Symbol.for("react.memo"), pt = Symbol.for("react.lazy"), wt = Symbol.for("react.scope"), mn = Symbol.for("react.debug_trace_mode"), Tr = Symbol.for("react.legacy_hidden"), qn = Symbol.for("react.default_value"), Pn = Symbol.iterator;
|
|
20615
20615
|
function qi(k) {
|
|
20616
20616
|
if (k == null)
|
|
20617
20617
|
return null;
|
|
@@ -20620,7 +20620,7 @@ function r6() {
|
|
|
20620
20620
|
if (typeof k == "string")
|
|
20621
20621
|
return k;
|
|
20622
20622
|
switch (k) {
|
|
20623
|
-
case
|
|
20623
|
+
case be:
|
|
20624
20624
|
return "Fragment";
|
|
20625
20625
|
case Ze:
|
|
20626
20626
|
return "Portal";
|
|
@@ -20966,7 +20966,7 @@ function r6() {
|
|
|
20966
20966
|
case mn:
|
|
20967
20967
|
case Pe:
|
|
20968
20968
|
case Ie:
|
|
20969
|
-
case
|
|
20969
|
+
case be:
|
|
20970
20970
|
Cn(k, F, Q.children);
|
|
20971
20971
|
return;
|
|
20972
20972
|
case st:
|
|
@@ -21063,7 +21063,7 @@ function r6() {
|
|
|
21063
21063
|
}
|
|
21064
21064
|
throw k = Object.prototype.toString.call(G), Error(e(31, k === "[object Object]" ? "object with keys {" + Object.keys(G).join(", ") + "}" : k));
|
|
21065
21065
|
}
|
|
21066
|
-
typeof G == "string" ? (Q = F.blockedSegment, Q.lastPushedText =
|
|
21066
|
+
typeof G == "string" ? (Q = F.blockedSegment, Q.lastPushedText = we(F.blockedSegment.chunks, G, k.responseState, Q.lastPushedText)) : typeof G == "number" && (Q = F.blockedSegment, Q.lastPushedText = we(F.blockedSegment.chunks, "" + G, k.responseState, Q.lastPushedText));
|
|
21067
21067
|
}
|
|
21068
21068
|
function jr(k, F, G) {
|
|
21069
21069
|
for (var Q = G.length, Ce = 0; Ce < Q; Ce++) {
|
|
@@ -21537,7 +21537,7 @@ function i6() {
|
|
|
21537
21537
|
function rt(D, M) {
|
|
21538
21538
|
return { insertionMode: D, selectedValue: M };
|
|
21539
21539
|
}
|
|
21540
|
-
function
|
|
21540
|
+
function we(D) {
|
|
21541
21541
|
return rt(D === "http://www.w3.org/2000/svg" ? 2 : D === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
|
|
21542
21542
|
}
|
|
21543
21543
|
function ke(D, M, W) {
|
|
@@ -21567,7 +21567,7 @@ function i6() {
|
|
|
21567
21567
|
function Ze(D, M, W, J) {
|
|
21568
21568
|
return M === "" ? J : (J && D.push(Ye), D.push(f(x(M))), !0);
|
|
21569
21569
|
}
|
|
21570
|
-
var
|
|
21570
|
+
var be = /* @__PURE__ */ new Map(), Pe = p(' style="'), Ie = p(":"), Ue = p(";");
|
|
21571
21571
|
function Je(D, M, W) {
|
|
21572
21572
|
if (typeof W != "object")
|
|
21573
21573
|
throw Error(e(62));
|
|
@@ -21581,8 +21581,8 @@ function i6() {
|
|
|
21581
21581
|
me = f(x(("" + me).trim()));
|
|
21582
21582
|
} else {
|
|
21583
21583
|
ve = J;
|
|
21584
|
-
var Me =
|
|
21585
|
-
Me !== void 0 || (Me = p(x(ve.replace(se, "-$1").toLowerCase().replace(ae, "-ms-"))),
|
|
21584
|
+
var Me = be.get(ve);
|
|
21585
|
+
Me !== void 0 || (Me = p(x(ve.replace(se, "-$1").toLowerCase().replace(ae, "-ms-"))), be.set(ve, Me)), ve = Me, me = typeof me == "number" ? me === 0 || g.call(te, J) ? f("" + me) : f(me + "px") : f(x(("" + me).trim()));
|
|
21586
21586
|
}
|
|
21587
21587
|
M ? (M = !1, D.push(Pe, ve, Ie, me)) : D.push(Ue, ve, Ie, me);
|
|
21588
21588
|
}
|
|
@@ -22665,7 +22665,7 @@ function i6() {
|
|
|
22665
22665
|
return new Promise(function(W, J) {
|
|
22666
22666
|
var me, ve, Me = new Promise(function(Et, bt) {
|
|
22667
22667
|
ve = Et, me = bt;
|
|
22668
|
-
}), Ge = L(D, $e(M ? M.identifierPrefix : void 0, M ? M.nonce : void 0, M ? M.bootstrapScriptContent : void 0, M ? M.bootstrapScripts : void 0, M ? M.bootstrapModules : void 0),
|
|
22668
|
+
}), Ge = L(D, $e(M ? M.identifierPrefix : void 0, M ? M.nonce : void 0, M ? M.bootstrapScriptContent : void 0, M ? M.bootstrapScripts : void 0, M ? M.bootstrapModules : void 0), we(M ? M.namespaceURI : void 0), M ? M.progressiveChunkSize : void 0, M ? M.onError : void 0, ve, function() {
|
|
22669
22669
|
var Et = new ReadableStream({ type: "bytes", pull: function(bt) {
|
|
22670
22670
|
if (Ge.status === 1)
|
|
22671
22671
|
Ge.status = 2, y(bt, Ge.fatalError);
|
|
@@ -22807,7 +22807,7 @@ function o6() {
|
|
|
22807
22807
|
return !1;
|
|
22808
22808
|
}
|
|
22809
22809
|
}
|
|
22810
|
-
function
|
|
22810
|
+
function we(l) {
|
|
22811
22811
|
return Ye.hasOwnProperty(l) ? Ye[l] : null;
|
|
22812
22812
|
}
|
|
22813
22813
|
function ke(l, d, m, S, _, $, Y) {
|
|
@@ -23005,7 +23005,7 @@ function o6() {
|
|
|
23005
23005
|
!1
|
|
23006
23006
|
);
|
|
23007
23007
|
});
|
|
23008
|
-
var
|
|
23008
|
+
var be = /[\-\:]([a-z])/g, Pe = function(l) {
|
|
23009
23009
|
return l[1].toUpperCase();
|
|
23010
23010
|
};
|
|
23011
23011
|
[
|
|
@@ -23086,7 +23086,7 @@ function o6() {
|
|
|
23086
23086
|
// you'll need to set attributeName to name.toLowerCase()
|
|
23087
23087
|
// instead in the assignment below.
|
|
23088
23088
|
].forEach(function(l) {
|
|
23089
|
-
var d = l.replace(
|
|
23089
|
+
var d = l.replace(be, Pe);
|
|
23090
23090
|
Ye[d] = new ke(
|
|
23091
23091
|
d,
|
|
23092
23092
|
x,
|
|
@@ -23110,7 +23110,7 @@ function o6() {
|
|
|
23110
23110
|
// you'll need to set attributeName to name.toLowerCase()
|
|
23111
23111
|
// instead in the assignment below.
|
|
23112
23112
|
].forEach(function(l) {
|
|
23113
|
-
var d = l.replace(
|
|
23113
|
+
var d = l.replace(be, Pe);
|
|
23114
23114
|
Ye[d] = new ke(
|
|
23115
23115
|
d,
|
|
23116
23116
|
x,
|
|
@@ -23130,7 +23130,7 @@ function o6() {
|
|
|
23130
23130
|
// you'll need to set attributeName to name.toLowerCase()
|
|
23131
23131
|
// instead in the assignment below.
|
|
23132
23132
|
].forEach(function(l) {
|
|
23133
|
-
var d = l.replace(
|
|
23133
|
+
var d = l.replace(be, Pe);
|
|
23134
23134
|
Ye[d] = new ke(
|
|
23135
23135
|
d,
|
|
23136
23136
|
x,
|
|
@@ -23890,7 +23890,7 @@ function o6() {
|
|
|
23890
23890
|
return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof m), yn[d] = !0, !0;
|
|
23891
23891
|
if (typeof m == "number" && isNaN(m))
|
|
23892
23892
|
return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", d), yn[d] = !0, !0;
|
|
23893
|
-
var ye =
|
|
23893
|
+
var ye = we(d), Ne = ye !== null && ye.type === ie;
|
|
23894
23894
|
if (fn.hasOwnProperty(_)) {
|
|
23895
23895
|
var qe = fn[_];
|
|
23896
23896
|
if (qe !== d)
|
|
@@ -24098,7 +24098,7 @@ function o6() {
|
|
|
24098
24098
|
// We have already filtered out null/undefined and reserved words.
|
|
24099
24099
|
!(m.length > 2 && (m[0] === "o" || m[0] === "O") && (m[1] === "n" || m[1] === "N"))
|
|
24100
24100
|
) {
|
|
24101
|
-
var _ =
|
|
24101
|
+
var _ = we(m);
|
|
24102
24102
|
if (_ !== null) {
|
|
24103
24103
|
switch (typeof S) {
|
|
24104
24104
|
case "function":
|
|
@@ -26373,9 +26373,9 @@ function s6() {
|
|
|
26373
26373
|
if (te(v))
|
|
26374
26374
|
return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", H(v)), q(v);
|
|
26375
26375
|
}
|
|
26376
|
-
var ae = Object.prototype.hasOwnProperty, Be = 0, et = 1, Qe = 2, nt = 3, He = 4, de = 5, De = 6, Le = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", $e = Le + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", rt = new RegExp("^[" + Le + "][" + $e + "]*$"),
|
|
26376
|
+
var ae = Object.prototype.hasOwnProperty, Be = 0, et = 1, Qe = 2, nt = 3, He = 4, de = 5, De = 6, Le = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", $e = Le + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", rt = new RegExp("^[" + Le + "][" + $e + "]*$"), we = {}, ke = {};
|
|
26377
26377
|
function Ye(v) {
|
|
26378
|
-
return ae.call(ke, v) ? !0 : ae.call(
|
|
26378
|
+
return ae.call(ke, v) ? !0 : ae.call(we, v) ? !1 : rt.test(v) ? (ke[v] = !0, !0) : (we[v] = !0, i("Invalid attribute name: `%s`", v), !1);
|
|
26379
26379
|
}
|
|
26380
26380
|
function Ze(v, l, d, m) {
|
|
26381
26381
|
if (d !== null && d.type === Be)
|
|
@@ -26394,7 +26394,7 @@ function s6() {
|
|
|
26394
26394
|
return !1;
|
|
26395
26395
|
}
|
|
26396
26396
|
}
|
|
26397
|
-
function
|
|
26397
|
+
function be(v) {
|
|
26398
26398
|
return Ie.hasOwnProperty(v) ? Ie[v] : null;
|
|
26399
26399
|
}
|
|
26400
26400
|
function Pe(v, l, d, m, S, _, $) {
|
|
@@ -27477,7 +27477,7 @@ function s6() {
|
|
|
27477
27477
|
return i("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.", typeof d), cn[l] = !0, !0;
|
|
27478
27478
|
if (typeof d == "number" && isNaN(d))
|
|
27479
27479
|
return i("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.", l), cn[l] = !0, !0;
|
|
27480
|
-
var ne =
|
|
27480
|
+
var ne = be(l), ye = ne !== null && ne.type === Be;
|
|
27481
27481
|
if (Rn.hasOwnProperty(S)) {
|
|
27482
27482
|
var Ne = Rn[S];
|
|
27483
27483
|
if (Ne !== l)
|
|
@@ -27701,7 +27701,7 @@ function s6() {
|
|
|
27701
27701
|
// We have already filtered out null/undefined and reserved words.
|
|
27702
27702
|
!(d.length > 2 && (d[0] === "o" || d[0] === "O") && (d[1] === "n" || d[1] === "N"))
|
|
27703
27703
|
) {
|
|
27704
|
-
var S =
|
|
27704
|
+
var S = be(d);
|
|
27705
27705
|
if (S !== null) {
|
|
27706
27706
|
switch (typeof m) {
|
|
27707
27707
|
case "function":
|
|
@@ -30328,7 +30328,7 @@ function D6(t) {
|
|
|
30328
30328
|
}
|
|
30329
30329
|
function oP({ ...t }) {
|
|
30330
30330
|
var ke, Ye, Ze;
|
|
30331
|
-
const e = t.item, n = t.level || 0, r = !!((ke = t.item.children) != null && ke.length), { isActive: i, isCollapsed: o } = t, a = `level-${n}`, c = o ? "collapsed" : "expanded", f = i(e.id) ? "active" : "", p = r ? "parent" : "child", y = t.params.isOpen ? "isOpen" : "isClose", g = t.isInternalApp ? "isInternalApp" : "", T = (
|
|
30331
|
+
const e = t.item, n = t.level || 0, r = !!((ke = t.item.children) != null && ke.length), { isActive: i, isCollapsed: o } = t, a = `level-${n}`, c = o ? "collapsed" : "expanded", f = i(e.id) ? "active" : "", p = r ? "parent" : "child", y = t.params.isOpen ? "isOpen" : "isClose", g = t.isInternalApp ? "isInternalApp" : "", T = (be, Pe = a) => `${be} ${Pe} ${c} ${f} ${p} ${y} ${g}`, [E, A] = Ft(!1), [R, B] = Ft(e.isFavorite || !1);
|
|
30332
30332
|
Tt(() => {
|
|
30333
30333
|
B(!!t.item.isFavorite);
|
|
30334
30334
|
}, [t.item.isFavorite]);
|
|
@@ -30345,9 +30345,9 @@ function oP({ ...t }) {
|
|
|
30345
30345
|
t.params.onToggle
|
|
30346
30346
|
);
|
|
30347
30347
|
const $e = De || o && n === 0 ? e.name === "POMs" ? "Parking Operations Management" : e.description || e.name : null, rt = Object.entries(t.brandColors || {}).reduce(
|
|
30348
|
-
(
|
|
30348
|
+
(be, [Pe, Ie]) => (Ie && (be[`--${Pe}`] = Ie), be),
|
|
30349
30349
|
{}
|
|
30350
|
-
),
|
|
30350
|
+
), we = H !== te.origin || t.item.redirectUrl ? "_blank" : "_self";
|
|
30351
30351
|
return /* @__PURE__ */ qt(
|
|
30352
30352
|
"div",
|
|
30353
30353
|
{
|
|
@@ -30360,26 +30360,26 @@ function oP({ ...t }) {
|
|
|
30360
30360
|
},
|
|
30361
30361
|
onMouseOver: nt,
|
|
30362
30362
|
onMouseOut: He,
|
|
30363
|
-
onDragStart: (
|
|
30364
|
-
o && n > 1 &&
|
|
30363
|
+
onDragStart: (be) => {
|
|
30364
|
+
o && n > 1 && be.preventDefault();
|
|
30365
30365
|
},
|
|
30366
30366
|
children: [
|
|
30367
30367
|
/* @__PURE__ */ Te(Nd, { placement: "top", title: $e, disableInteractive: !0, children: /* @__PURE__ */ qt(
|
|
30368
30368
|
se,
|
|
30369
30369
|
{
|
|
30370
|
-
target:
|
|
30370
|
+
target: we,
|
|
30371
30371
|
to: ae,
|
|
30372
30372
|
draggable: "true",
|
|
30373
30373
|
className: T("menu-item__link"),
|
|
30374
30374
|
style: {
|
|
30375
30375
|
paddingLeft: Qe
|
|
30376
30376
|
},
|
|
30377
|
-
onClick: (
|
|
30377
|
+
onClick: (be) => {
|
|
30378
30378
|
var Pe;
|
|
30379
|
-
se === "a" &&
|
|
30379
|
+
se === "a" && we === "_blank" || (!r && e.path && (localStorage.setItem(
|
|
30380
30380
|
"latestClickMenuPath",
|
|
30381
30381
|
(e.path || "").replace(window.location.origin, "")
|
|
30382
|
-
), (Pe = t.onClickItem) == null || Pe.call(t, ae)), !o && t.toggleExpand(
|
|
30382
|
+
), (Pe = t.onClickItem) == null || Pe.call(t, ae)), !o && t.toggleExpand(be));
|
|
30383
30383
|
},
|
|
30384
30384
|
children: [
|
|
30385
30385
|
/* @__PURE__ */ Te(P6, { cls: T, item: e }),
|
|
@@ -30392,14 +30392,14 @@ function oP({ ...t }) {
|
|
|
30392
30392
|
hasChildren: r,
|
|
30393
30393
|
isHovered: E,
|
|
30394
30394
|
isFavorite: R,
|
|
30395
|
-
onClick: (
|
|
30395
|
+
onClick: (be) => {
|
|
30396
30396
|
const Pe = {
|
|
30397
30397
|
menuConfigId: e.id,
|
|
30398
|
-
isFavorite:
|
|
30398
|
+
isFavorite: be
|
|
30399
30399
|
}, Ie = t.baseUrl + de;
|
|
30400
30400
|
ha.post(Ie, Pe).then((Ue) => {
|
|
30401
30401
|
var Je;
|
|
30402
|
-
B(
|
|
30402
|
+
B(be), aC(Wi("components.menu.pushSuccess.menuSuccess", { defaultValue: "Set favorite menu item successful" })), (Je = t.onSetFavoriteSuccess) == null || Je.call(t, t.item.id, be), iP(t.item.id, be);
|
|
30403
30403
|
}).catch((Ue) => {
|
|
30404
30404
|
var Je, it;
|
|
30405
30405
|
Hp(
|
|
@@ -30425,7 +30425,7 @@ function oP({ ...t }) {
|
|
|
30425
30425
|
{
|
|
30426
30426
|
parentRef: I,
|
|
30427
30427
|
onlyChild: !o,
|
|
30428
|
-
renderChildren: ({ maxHeight:
|
|
30428
|
+
renderChildren: ({ maxHeight: be }) => {
|
|
30429
30429
|
var Pe;
|
|
30430
30430
|
return /* @__PURE__ */ Te(
|
|
30431
30431
|
WD.div,
|
|
@@ -30435,8 +30435,8 @@ function oP({ ...t }) {
|
|
|
30435
30435
|
`level-${Be}`
|
|
30436
30436
|
),
|
|
30437
30437
|
style: GD(
|
|
30438
|
-
{ maxHeight:
|
|
30439
|
-
|
|
30438
|
+
{ maxHeight: be, overflowY: "auto", paddingRight: 3 },
|
|
30439
|
+
be !== "auto" && !!Be
|
|
30440
30440
|
),
|
|
30441
30441
|
children: (Pe = e.children) == null ? void 0 : Pe.map((Ie) => /* @__PURE__ */ eh(
|
|
30442
30442
|
oP,
|
|
@@ -30583,7 +30583,7 @@ const R6 = ".flex-col-center{display:flex;flex-direction:column;justify-content:
|
|
|
30583
30583
|
};
|
|
30584
30584
|
function sP(t, e = !1) {
|
|
30585
30585
|
let n;
|
|
30586
|
-
e ? n = "0" : n =
|
|
30586
|
+
e ? n = "0" : n = !t || t === "true" ? "17rem" : "64px", document.documentElement.style.setProperty("--global-menu-width", n);
|
|
30587
30587
|
const r = new CustomEvent("menuWidthChange", {
|
|
30588
30588
|
detail: { menuWidth: n }
|
|
30589
30589
|
});
|
|
@@ -30599,12 +30599,12 @@ function N6(t) {
|
|
|
30599
30599
|
}
|
|
30600
30600
|
function B6(t) {
|
|
30601
30601
|
var Ye, Ze;
|
|
30602
|
-
const e = dT(), { user: n } = xM(), [r, i] = Ft([]), o = r.map((
|
|
30602
|
+
const e = dT(), { user: n } = xM(), [r, i] = Ft([]), o = r.map((be) => be.data), [a, c] = Ft(!1), [f, p] = Ft([]), [y, g] = Ft(
|
|
30603
30603
|
sp === null ? !0 : sp === "true"
|
|
30604
30604
|
), [T, E] = Ft(window.innerWidth < 768), [A, R] = Ft(!1), [B, I] = Ft(window.location.href), U = tn(null);
|
|
30605
30605
|
Tt(() => {
|
|
30606
|
-
var
|
|
30607
|
-
(
|
|
30606
|
+
var be;
|
|
30607
|
+
(be = t.handleCallback) == null || be.call(t, o);
|
|
30608
30608
|
}, [o, t.handleCallback]), Tt(() => {
|
|
30609
30609
|
I(window.location.href), e.pathname + e.search + e.hash && localStorage.setItem(
|
|
30610
30610
|
"latestClickMenuPath",
|
|
@@ -30614,29 +30614,34 @@ function B6(t) {
|
|
|
30614
30614
|
)
|
|
30615
30615
|
), T && R(!1);
|
|
30616
30616
|
}, [e, T]), Tt(() => {
|
|
30617
|
-
const
|
|
30617
|
+
const be = () => {
|
|
30618
30618
|
E(window.innerWidth < 768);
|
|
30619
30619
|
};
|
|
30620
|
-
return window.addEventListener("resize",
|
|
30620
|
+
return window.addEventListener("resize", be), () => window.removeEventListener("resize", be);
|
|
30621
30621
|
}, []), Tt(() => {
|
|
30622
|
-
const
|
|
30622
|
+
const be = () => {
|
|
30623
30623
|
R((Pe) => !Pe);
|
|
30624
30624
|
};
|
|
30625
|
-
return window.addEventListener("toggleMobileMenu",
|
|
30625
|
+
return window.addEventListener("toggleMobileMenu", be), () => window.removeEventListener("toggleMobileMenu", be);
|
|
30626
30626
|
}, []), Tt(() => {
|
|
30627
|
+
if (T) {
|
|
30628
|
+
const be = !A;
|
|
30629
|
+
g(be), localStorage.setItem("isCollapsed", JSON.stringify(be));
|
|
30630
|
+
}
|
|
30631
|
+
}, [T, A]), Tt(() => {
|
|
30627
30632
|
sP(y, T);
|
|
30628
30633
|
}, [y, T]);
|
|
30629
30634
|
const H = U1(o, B), [te, q] = F6({
|
|
30630
30635
|
initOpenIds: t.initOpenIds
|
|
30631
30636
|
}), ie = () => {
|
|
30632
|
-
var
|
|
30637
|
+
var be, Pe;
|
|
30633
30638
|
if (g(!y), localStorage.setItem("isCollapsed", JSON.stringify(!y)), y)
|
|
30634
|
-
te && ((
|
|
30639
|
+
te && ((be = U.current) == null || be.open(te));
|
|
30635
30640
|
else {
|
|
30636
30641
|
const Ie = r.filter((Ue) => Ue.parent === 0).map((Ue) => Ue.id);
|
|
30637
30642
|
console.log("closeIds:", Ie), (Pe = U.current) == null || Pe.close(Ie);
|
|
30638
30643
|
}
|
|
30639
|
-
}, [x, se] = Ft(!1), ae = y && !T ? "collapsed" : "expanded", Be = (
|
|
30644
|
+
}, [x, se] = Ft(!1), ae = y && !T ? "collapsed" : "expanded", Be = (be) => `${be} ${ae}`, et = tn(null);
|
|
30640
30645
|
qa(() => {
|
|
30641
30646
|
(async () => {
|
|
30642
30647
|
var Pe, Ie;
|
|
@@ -30668,21 +30673,21 @@ function B6(t) {
|
|
|
30668
30673
|
new CustomEvent("favoriteLoadingChange", { detail: { isLoading: !0 } })
|
|
30669
30674
|
);
|
|
30670
30675
|
try {
|
|
30671
|
-
const
|
|
30676
|
+
const be = await fetch(
|
|
30672
30677
|
`${t.baseUrl}/global-menu-config/api/v1/menu-items/user/get-favorites`
|
|
30673
30678
|
);
|
|
30674
|
-
if (!
|
|
30679
|
+
if (!be.ok)
|
|
30675
30680
|
throw new Error("Failed to fetch favorite items");
|
|
30676
|
-
const Pe = await
|
|
30681
|
+
const Pe = await be.json();
|
|
30677
30682
|
p(Pe), document.documentElement.style.setProperty(
|
|
30678
30683
|
"--favorite-menu-height",
|
|
30679
30684
|
`${Pe.length ? 57 : 0}px`
|
|
30680
30685
|
);
|
|
30681
|
-
} catch (
|
|
30686
|
+
} catch (be) {
|
|
30682
30687
|
document.documentElement.style.setProperty(
|
|
30683
30688
|
"--favorite-menu-height",
|
|
30684
30689
|
"0px"
|
|
30685
|
-
), console.error("Error fetching favorite items:",
|
|
30690
|
+
), console.error("Error fetching favorite items:", be);
|
|
30686
30691
|
} finally {
|
|
30687
30692
|
nt(!1), window.dispatchEvent(
|
|
30688
30693
|
new CustomEvent("favoriteLoadingChange", {
|
|
@@ -30694,22 +30699,22 @@ function B6(t) {
|
|
|
30694
30699
|
Tt(() => {
|
|
30695
30700
|
He();
|
|
30696
30701
|
}, [t.baseUrl, e]), Tt(() => {
|
|
30697
|
-
const
|
|
30702
|
+
const be = (Pe) => {
|
|
30698
30703
|
p(Pe.detail.favoriteMenuId);
|
|
30699
30704
|
};
|
|
30700
|
-
return window.addEventListener("favoriteOrderUpdated",
|
|
30705
|
+
return window.addEventListener("favoriteOrderUpdated", be), () => {
|
|
30701
30706
|
window.removeEventListener(
|
|
30702
30707
|
"favoriteOrderUpdated",
|
|
30703
|
-
|
|
30708
|
+
be
|
|
30704
30709
|
);
|
|
30705
30710
|
};
|
|
30706
30711
|
}, []), Tt(() => {
|
|
30707
|
-
let
|
|
30712
|
+
let be = [];
|
|
30708
30713
|
f.forEach((Ue) => {
|
|
30709
30714
|
const Je = o.find(
|
|
30710
30715
|
(it) => it.id === Ue && it.isFavorite === !0
|
|
30711
30716
|
);
|
|
30712
|
-
Je && (
|
|
30717
|
+
Je && (be = [...be, Je]);
|
|
30713
30718
|
});
|
|
30714
30719
|
function Pe(Ue) {
|
|
30715
30720
|
return o.every((Je) => Je.parentKey !== Ue.id) ? Ue : {
|
|
@@ -30717,22 +30722,22 @@ function B6(t) {
|
|
|
30717
30722
|
children: o.filter((Je) => Je.parentKey === Ue.id).map((Je) => Pe(Je))
|
|
30718
30723
|
};
|
|
30719
30724
|
}
|
|
30720
|
-
const Ie =
|
|
30725
|
+
const Ie = be.map((Ue) => Pe(Ue));
|
|
30721
30726
|
N6(Ie);
|
|
30722
30727
|
}, [o]);
|
|
30723
|
-
const de = (
|
|
30724
|
-
let Ue =
|
|
30728
|
+
const de = (be, Pe, Ie) => {
|
|
30729
|
+
let Ue = be.find((Je) => Je.id === Ie);
|
|
30725
30730
|
for (; Ue; ) {
|
|
30726
30731
|
if (Ue.parentKey === Pe)
|
|
30727
30732
|
return !0;
|
|
30728
|
-
Ue =
|
|
30733
|
+
Ue = be.find((Je) => Je.id === (Ue == null ? void 0 : Ue.parentKey));
|
|
30729
30734
|
}
|
|
30730
30735
|
return !1;
|
|
30731
30736
|
}, De = tn(te);
|
|
30732
30737
|
Tt(() => {
|
|
30733
30738
|
De.current = te;
|
|
30734
30739
|
}, [te]), Tt(() => {
|
|
30735
|
-
const
|
|
30740
|
+
const be = (Pe) => {
|
|
30736
30741
|
var je;
|
|
30737
30742
|
const Ie = Pe, { path: Ue } = Ie.detail, it = U1(o, Ue).map((pt) => pt.id), st = De.current.filter((pt) => it.includes(pt) ? !1 : !it.some((wt) => de(o, pt, wt)));
|
|
30738
30743
|
console.log("idsToClose:", st), y || (je = U.current) == null || je.open(it), setTimeout(() => {
|
|
@@ -30742,16 +30747,16 @@ function B6(t) {
|
|
|
30742
30747
|
};
|
|
30743
30748
|
return window.addEventListener(
|
|
30744
30749
|
"favoriteMenuPathChange",
|
|
30745
|
-
|
|
30750
|
+
be
|
|
30746
30751
|
), () => {
|
|
30747
30752
|
window.removeEventListener(
|
|
30748
30753
|
"favoriteMenuPathChange",
|
|
30749
|
-
|
|
30754
|
+
be
|
|
30750
30755
|
);
|
|
30751
30756
|
};
|
|
30752
30757
|
}, [o]);
|
|
30753
|
-
function Le(
|
|
30754
|
-
const Pe =
|
|
30758
|
+
function Le(be) {
|
|
30759
|
+
const Pe = be.detail.menuItem;
|
|
30755
30760
|
i((Ie) => Ie.map(
|
|
30756
30761
|
(Ue) => Ue.id !== Pe.id ? Ue : {
|
|
30757
30762
|
...Ue,
|
|
@@ -30763,10 +30768,10 @@ function B6(t) {
|
|
|
30763
30768
|
window.removeEventListener("updateFavoriteMenu", Le);
|
|
30764
30769
|
}), []), qa(() => {
|
|
30765
30770
|
var Ue;
|
|
30766
|
-
const
|
|
30767
|
-
|
|
30771
|
+
const be = localStorage.getItem("scrollPos");
|
|
30772
|
+
be && et.current && setTimeout(() => {
|
|
30768
30773
|
const Je = et.current.getScrollElement();
|
|
30769
|
-
Je.scrollTop = parseInt(
|
|
30774
|
+
Je.scrollTop = parseInt(be);
|
|
30770
30775
|
}, 0);
|
|
30771
30776
|
const Pe = () => {
|
|
30772
30777
|
if (et.current) {
|
|
@@ -30778,9 +30783,9 @@ function B6(t) {
|
|
|
30778
30783
|
Ie == null || Ie.removeEventListener("scroll", Pe);
|
|
30779
30784
|
};
|
|
30780
30785
|
}, [o]);
|
|
30781
|
-
function $e(
|
|
30786
|
+
function $e(be) {
|
|
30782
30787
|
c(!0);
|
|
30783
|
-
const Pe = [...r], Ie = [...
|
|
30788
|
+
const Pe = [...r], Ie = [...be], Ue = Ie.filter((wt) => wt.parent === 0), Je = Ie.filter((wt) => wt.parent !== 0), it = Ue.find((wt) => {
|
|
30784
30789
|
var mn;
|
|
30785
30790
|
return ((mn = wt.data) == null ? void 0 : mn.name) === "Home";
|
|
30786
30791
|
}), tt = Ue.filter(
|
|
@@ -30806,7 +30811,7 @@ function B6(t) {
|
|
|
30806
30811
|
const rt = Bn(
|
|
30807
30812
|
() => sp === "false" ? te : [],
|
|
30808
30813
|
[]
|
|
30809
|
-
),
|
|
30814
|
+
), we = document.getElementById("global-menu-container"), ke = th(() => {
|
|
30810
30815
|
R(!1);
|
|
30811
30816
|
}, []);
|
|
30812
30817
|
return /* @__PURE__ */ qt(
|
|
@@ -30877,9 +30882,9 @@ function B6(t) {
|
|
|
30877
30882
|
root: "treeRoot",
|
|
30878
30883
|
draggingSource: "draggingSource",
|
|
30879
30884
|
placeholder: "placeholderContainer",
|
|
30880
|
-
listItem: (
|
|
30885
|
+
listItem: (be) => {
|
|
30881
30886
|
var Pe;
|
|
30882
|
-
return ((Pe =
|
|
30887
|
+
return ((Pe = be.data) == null ? void 0 : Pe.name) === "Home" ? "isHome" : "";
|
|
30883
30888
|
}
|
|
30884
30889
|
},
|
|
30885
30890
|
tree: r,
|
|
@@ -30889,14 +30894,14 @@ function B6(t) {
|
|
|
30889
30894
|
enableAnimateExpand: !0,
|
|
30890
30895
|
dropTargetOffset: 10,
|
|
30891
30896
|
onDrop: $e,
|
|
30892
|
-
render: (
|
|
30897
|
+
render: (be, Pe) => {
|
|
30893
30898
|
function Ie(tt) {
|
|
30894
30899
|
return r.every((st) => st.parent !== tt.id) ? tt : {
|
|
30895
30900
|
...tt,
|
|
30896
30901
|
children: r.filter((st) => st.parent === tt.id).map((st) => Ie(st.data))
|
|
30897
30902
|
};
|
|
30898
30903
|
}
|
|
30899
|
-
const Ue = Ie(
|
|
30904
|
+
const Ue = Ie(be.data), Je = (tt) => H.some((st) => st.id === tt);
|
|
30900
30905
|
function it(tt, st) {
|
|
30901
30906
|
i(
|
|
30902
30907
|
(je) => je.map(
|
|
@@ -30921,7 +30926,7 @@ function B6(t) {
|
|
|
30921
30926
|
ssr: t.ssr,
|
|
30922
30927
|
brandColors: t.brandColors,
|
|
30923
30928
|
baseUrl: t.baseUrl,
|
|
30924
|
-
node:
|
|
30929
|
+
node: be,
|
|
30925
30930
|
params: Pe,
|
|
30926
30931
|
nodes: r,
|
|
30927
30932
|
item: Ue,
|
|
@@ -30932,9 +30937,9 @@ function B6(t) {
|
|
|
30932
30937
|
Pe.onToggle();
|
|
30933
30938
|
else {
|
|
30934
30939
|
const je = r.filter(
|
|
30935
|
-
(pt) => pt.parent ===
|
|
30940
|
+
(pt) => pt.parent === be.parent && pt.id !== be.id
|
|
30936
30941
|
).map((pt) => pt.id);
|
|
30937
|
-
console.log(" closeIds:", je), (st = U.current) == null || st.open(
|
|
30942
|
+
console.log(" closeIds:", je), (st = U.current) == null || st.open(be.id), setTimeout(() => {
|
|
30938
30943
|
var pt;
|
|
30939
30944
|
(pt = U.current) == null || pt.close(je);
|
|
30940
30945
|
}, 0);
|
|
@@ -30945,28 +30950,28 @@ function B6(t) {
|
|
|
30945
30950
|
}
|
|
30946
30951
|
);
|
|
30947
30952
|
},
|
|
30948
|
-
placeholderRender: (
|
|
30953
|
+
placeholderRender: (be, { depth: Pe }) => {
|
|
30949
30954
|
var Ie;
|
|
30950
30955
|
return /* @__PURE__ */ Te(
|
|
30951
30956
|
M6,
|
|
30952
30957
|
{
|
|
30953
|
-
node:
|
|
30958
|
+
node: be,
|
|
30954
30959
|
depth: Pe,
|
|
30955
30960
|
color: (Ie = t.brandColors) == null ? void 0 : Ie.primary300,
|
|
30956
30961
|
isCollapsed: y
|
|
30957
30962
|
}
|
|
30958
30963
|
);
|
|
30959
30964
|
},
|
|
30960
|
-
canDrag: (
|
|
30965
|
+
canDrag: (be) => {
|
|
30961
30966
|
var Pe;
|
|
30962
|
-
return !a && ((Pe =
|
|
30967
|
+
return !a && ((Pe = be == null ? void 0 : be.data) == null ? void 0 : Pe.name) !== "Home";
|
|
30963
30968
|
},
|
|
30964
|
-
canDrop: (
|
|
30965
|
-
onDragStart: (
|
|
30966
|
-
console.log("onDragStart",
|
|
30969
|
+
canDrop: (be, { dragSource: Pe, dropTargetId: Ie }) => (Pe == null ? void 0 : Pe.parent) === Ie,
|
|
30970
|
+
onDragStart: (be) => {
|
|
30971
|
+
console.log("onDragStart", be);
|
|
30967
30972
|
},
|
|
30968
|
-
onChangeOpen: (
|
|
30969
|
-
localStorage.getItem("isCollapsed") === "false" && (console.log("onChangeOpen:",
|
|
30973
|
+
onChangeOpen: (be) => {
|
|
30974
|
+
localStorage.getItem("isCollapsed") === "false" && (console.log("onChangeOpen:", be), q(be));
|
|
30970
30975
|
},
|
|
30971
30976
|
initialOpen: rt
|
|
30972
30977
|
}
|
|
@@ -30979,7 +30984,7 @@ function B6(t) {
|
|
|
30979
30984
|
{
|
|
30980
30985
|
className: Be("side-bar__logout-btn"),
|
|
30981
30986
|
onClick: () => {
|
|
30982
|
-
|
|
30987
|
+
we.style.setProperty("z-index", "1304"), we.classList.remove("backdrop-delay-transition"), se(!0);
|
|
30983
30988
|
},
|
|
30984
30989
|
children: [
|
|
30985
30990
|
/* @__PURE__ */ Te(A6, { className: Be("side-bar__icon-logout") }),
|
|
@@ -30992,10 +30997,10 @@ function B6(t) {
|
|
|
30992
30997
|
{
|
|
30993
30998
|
isOpen: x,
|
|
30994
30999
|
onClose: () => {
|
|
30995
|
-
|
|
31000
|
+
we.style.setProperty(
|
|
30996
31001
|
"z-index",
|
|
30997
31002
|
"var(--menu-z-index)"
|
|
30998
|
-
),
|
|
31003
|
+
), we.classList.add("backdrop-delay-transition"), se(!1);
|
|
30999
31004
|
},
|
|
31000
31005
|
onConfirm: () => t.logout ? t.logout() : gM(t.baseUrl)
|
|
31001
31006
|
}
|
|
@@ -31336,7 +31341,7 @@ var Rp = { exports: {} };
|
|
|
31336
31341
|
Rp.exports;
|
|
31337
31342
|
(function(t, e) {
|
|
31338
31343
|
(function() {
|
|
31339
|
-
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", c = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", p = 500, y = "__lodash_placeholder__", g = 1, T = 2, E = 4, A = 1, R = 2, B = 1, I = 2, U = 4, H = 8, te = 16, q = 32, ie = 64, x = 128, se = 256, ae = 512, Be = 30, et = "...", Qe = 800, nt = 16, He = 1, de = 2, De = 3, Le = 1 / 0, $e = 9007199254740991, rt = 17976931348623157e292,
|
|
31344
|
+
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", a = "Expected a function", c = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", p = 500, y = "__lodash_placeholder__", g = 1, T = 2, E = 4, A = 1, R = 2, B = 1, I = 2, U = 4, H = 8, te = 16, q = 32, ie = 64, x = 128, se = 256, ae = 512, Be = 30, et = "...", Qe = 800, nt = 16, He = 1, de = 2, De = 3, Le = 1 / 0, $e = 9007199254740991, rt = 17976931348623157e292, we = NaN, ke = 4294967295, Ye = ke - 1, Ze = ke >>> 1, be = [
|
|
31340
31345
|
["ary", x],
|
|
31341
31346
|
["bind", B],
|
|
31342
31347
|
["bindKey", I],
|
|
@@ -31724,7 +31729,7 @@ Rp.exports;
|
|
|
31724
31729
|
}
|
|
31725
31730
|
function Or(K, ue) {
|
|
31726
31731
|
var le = K == null ? 0 : K.length;
|
|
31727
|
-
return le ? me(K, ue) / le :
|
|
31732
|
+
return le ? me(K, ue) / le : we;
|
|
31728
31733
|
}
|
|
31729
31734
|
function D(K) {
|
|
31730
31735
|
return function(ue) {
|
|
@@ -32674,7 +32679,7 @@ Rp.exports;
|
|
|
32674
32679
|
return X;
|
|
32675
32680
|
}
|
|
32676
32681
|
function sf(s) {
|
|
32677
|
-
return typeof s == "number" ? s : Qo(s) ?
|
|
32682
|
+
return typeof s == "number" ? s : Qo(s) ? we : +s;
|
|
32678
32683
|
}
|
|
32679
32684
|
function Kr(s) {
|
|
32680
32685
|
if (typeof s == "string")
|
|
@@ -33561,7 +33566,7 @@ Rp.exports;
|
|
|
33561
33566
|
return "";
|
|
33562
33567
|
}
|
|
33563
33568
|
function uO(s, u) {
|
|
33564
|
-
return ee(
|
|
33569
|
+
return ee(be, function(w) {
|
|
33565
33570
|
var O = "_." + w[0];
|
|
33566
33571
|
u & w[1] && !xe(s, O) && s.push(O);
|
|
33567
33572
|
}), s.sort();
|
|
@@ -34365,7 +34370,7 @@ Rp.exports;
|
|
|
34365
34370
|
if (typeof s == "number")
|
|
34366
34371
|
return s;
|
|
34367
34372
|
if (Qo(s))
|
|
34368
|
-
return
|
|
34373
|
+
return we;
|
|
34369
34374
|
if (er(s)) {
|
|
34370
34375
|
var u = typeof s.valueOf == "function" ? s.valueOf() : s;
|
|
34371
34376
|
s = er(u) ? u + "" : u;
|
|
@@ -34374,7 +34379,7 @@ Rp.exports;
|
|
|
34374
34379
|
return s === 0 ? s : +s;
|
|
34375
34380
|
s = Ge(s);
|
|
34376
34381
|
var w = yi.test(s);
|
|
34377
|
-
return w || kr.test(s) ? Ws(s.slice(2), w ? 2 : 8) : Br.test(s) ?
|
|
34382
|
+
return w || kr.test(s) ? Ws(s.slice(2), w ? 2 : 8) : Br.test(s) ? we : +s;
|
|
34378
34383
|
}
|
|
34379
34384
|
function a0(s) {
|
|
34380
34385
|
return $i(s, Lo(s));
|
|
@@ -35914,7 +35919,7 @@ var uP = { exports: {} };
|
|
|
35914
35919
|
P.push(h);
|
|
35915
35920
|
}
|
|
35916
35921
|
return P;
|
|
35917
|
-
},
|
|
35922
|
+
}, we = function(h, b) {
|
|
35918
35923
|
for (var C = []; h; h = h.nextSibling)
|
|
35919
35924
|
h.nodeType === 1 && h !== b && C.push(h);
|
|
35920
35925
|
return C;
|
|
@@ -35962,11 +35967,11 @@ var uP = { exports: {} };
|
|
|
35962
35967
|
).length;
|
|
35963
35968
|
}
|
|
35964
35969
|
});
|
|
35965
|
-
var
|
|
35970
|
+
var be, Pe = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Ie = x.fn.init = function(h, b, C) {
|
|
35966
35971
|
var P, L;
|
|
35967
35972
|
if (!h)
|
|
35968
35973
|
return this;
|
|
35969
|
-
if (C = C ||
|
|
35974
|
+
if (C = C || be, typeof h == "string")
|
|
35970
35975
|
if (h[0] === "<" && h[h.length - 1] === ">" && h.length >= 3 ? P = [null, h, null] : P = Pe.exec(h), P && (P[1] || !b))
|
|
35971
35976
|
if (P[1]) {
|
|
35972
35977
|
if (b = b instanceof x ? b[0] : b, x.merge(this, x.parseHTML(
|
|
@@ -35992,7 +35997,7 @@ var uP = { exports: {} };
|
|
|
35992
35997
|
}
|
|
35993
35998
|
return x.makeArray(h, this);
|
|
35994
35999
|
};
|
|
35995
|
-
Ie.prototype = x.fn,
|
|
36000
|
+
Ie.prototype = x.fn, be = x(I);
|
|
35996
36001
|
var Ue = /^(?:parents|prev(?:Until|All))/, Je = {
|
|
35997
36002
|
children: !0,
|
|
35998
36003
|
contents: !0,
|
|
@@ -36079,10 +36084,10 @@ var uP = { exports: {} };
|
|
|
36079
36084
|
return rt(h, "previousSibling", C);
|
|
36080
36085
|
},
|
|
36081
36086
|
siblings: function(h) {
|
|
36082
|
-
return
|
|
36087
|
+
return we((h.parentNode || {}).firstChild, h);
|
|
36083
36088
|
},
|
|
36084
36089
|
children: function(h) {
|
|
36085
|
-
return
|
|
36090
|
+
return we(h.firstChild);
|
|
36086
36091
|
},
|
|
36087
36092
|
contents: function(h) {
|
|
36088
36093
|
return h.contentDocument != null && // Support: IE 11+
|
|
@@ -38752,8 +38757,8 @@ var z6 = { exports: {} };
|
|
|
38752
38757
|
for (var et = I[1][1].month(), Qe = I[1][1].year(), nt = se && se.year() || this.maxYear, He = x && x.year() || this.minYear, de = Qe == He, De = Qe == nt, Le = '<select class="monthselect">', $e = 0; $e < 12; $e++)
|
|
38753
38758
|
(!de || x && $e >= x.month()) && (!De || se && $e <= se.month()) ? Le += "<option value='" + $e + "'" + ($e === et ? " selected='selected'" : "") + ">" + this.locale.monthNames[$e] + "</option>" : Le += "<option value='" + $e + "'" + ($e === et ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[$e] + "</option>";
|
|
38754
38759
|
Le += "</select>";
|
|
38755
|
-
for (var rt = '<select class="yearselect">',
|
|
38756
|
-
rt += '<option value="' +
|
|
38760
|
+
for (var rt = '<select class="yearselect">', we = He; we <= nt; we++)
|
|
38761
|
+
rt += '<option value="' + we + '"' + (we === Qe ? ' selected="selected"' : "") + ">" + we + "</option>";
|
|
38757
38762
|
rt += "</select>", Be = Le + rt;
|
|
38758
38763
|
}
|
|
38759
38764
|
if (ae += '<th colspan="5" class="month">' + Be + "</th>", (!se || se.isAfter(I.lastDay)) && (!this.linkedCalendars || i == "right" || this.singleDatePicker) ? ae += '<th class="next available"><span></span></th>' : ae += "<th></th>", ae += "</tr>", ae += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (ae += '<th class="week">' + this.locale.weekLabel + "</th>"), n.each(this.locale.daysOfWeek, function(Ie, Ue) {
|
|
@@ -38769,9 +38774,9 @@ var z6 = { exports: {} };
|
|
|
38769
38774
|
I[ie][q].isSame(/* @__PURE__ */ new Date(), "day") && Ye.push("today"), I[ie][q].isoWeekday() > 5 && Ye.push("weekend"), I[ie][q].month() != I[1][1].month() && Ye.push("off", "ends"), this.minDate && I[ie][q].isBefore(this.minDate, "day") && Ye.push("off", "disabled"), se && I[ie][q].isAfter(se, "day") && Ye.push("off", "disabled"), this.isInvalidDate(I[ie][q]) && Ye.push("off", "disabled"), I[ie][q].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && Ye.push("active", "start-date"), this.endDate != null && I[ie][q].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && Ye.push("active", "end-date"), this.endDate != null && I[ie][q] > this.startDate && I[ie][q] < this.endDate && Ye.push("in-range");
|
|
38770
38775
|
var Ze = this.isCustomDate(I[ie][q]);
|
|
38771
38776
|
Ze !== !1 && (typeof Ze == "string" ? Ye.push(Ze) : Array.prototype.push.apply(Ye, Ze));
|
|
38772
|
-
for (var
|
|
38773
|
-
|
|
38774
|
-
Pe || (
|
|
38777
|
+
for (var be = "", Pe = !1, U = 0; U < Ye.length; U++)
|
|
38778
|
+
be += Ye[U] + " ", Ye[U] == "disabled" && (Pe = !0);
|
|
38779
|
+
Pe || (be += "available"), ae += '<td class="' + be.replace(/^\s+|\s+$/g, "") + '" data-title="r' + ie + "c" + q + '">' + I[ie][q].date() + "</td>";
|
|
38775
38780
|
}
|
|
38776
38781
|
ae += "</tr>";
|
|
38777
38782
|
}
|