@ukpc-lib/react 0.8.13 → 0.8.14
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.module-ef03b882.js → index.module-5a12462e.js} +1055 -1056
- package/dist/{index.module-0cdc2858.cjs → index.module-a8cd9ce2.cjs} +33 -33
- 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-20a3871b.js → index-dc78637c.js} +102 -102
|
@@ -746,11 +746,11 @@ var wb = {}, Sb = function(e) {
|
|
|
746
746
|
var Ke = Z === "[object Array]", We = Ke ? [] : {}, Ze = Ke ? ee : W;
|
|
747
747
|
for (var Qe in U)
|
|
748
748
|
if (Object.prototype.hasOwnProperty.call(U, Qe)) {
|
|
749
|
-
var
|
|
750
|
-
We[Qe] = this.translate(
|
|
749
|
+
var he = "".concat(Ze).concat(d).concat(Qe);
|
|
750
|
+
We[Qe] = this.translate(he, $i($i({}, o), {
|
|
751
751
|
joinArrays: !1,
|
|
752
752
|
ns: S
|
|
753
|
-
})), We[Qe] ===
|
|
753
|
+
})), We[Qe] === he && (We[Qe] = U[Qe]);
|
|
754
754
|
}
|
|
755
755
|
U = We;
|
|
756
756
|
}
|
|
@@ -759,7 +759,7 @@ var wb = {}, Sb = function(e) {
|
|
|
759
759
|
else {
|
|
760
760
|
var Te = !1, Ve = !1, Je = o.count !== void 0 && typeof o.count != "string", ot = n.hasDefaultValue(o), Ce = Je ? this.pluralResolver.getSuffix(P, o.count, o) : "", De = o["defaultValue".concat(Ce)] || o.defaultValue;
|
|
761
761
|
!this.isValidLookup(U) && ot && (Te = !0, U = De), this.isValidLookup(U) || (Ve = !0, U = p);
|
|
762
|
-
var
|
|
762
|
+
var Be = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, He = Be && Ve ? void 0 : U, Pe = ot && De !== U && this.options.updateMissing;
|
|
763
763
|
if (Ve || Te || Pe) {
|
|
764
764
|
if (this.logger.log(Pe ? "updateKey" : "missingKey", P, T, p, Pe ? De : U), d) {
|
|
765
765
|
var Le = this.resolve(p, $i($i({}, o), {}, {
|
|
@@ -3590,8 +3590,8 @@ function AM() {
|
|
|
3590
3590
|
formData: "FormData" in l,
|
|
3591
3591
|
arrayBuffer: "ArrayBuffer" in l
|
|
3592
3592
|
};
|
|
3593
|
-
function d(
|
|
3594
|
-
return
|
|
3593
|
+
function d(he) {
|
|
3594
|
+
return he && DataView.prototype.isPrototypeOf(he);
|
|
3595
3595
|
}
|
|
3596
3596
|
if (c.arrayBuffer)
|
|
3597
3597
|
var v = [
|
|
@@ -3604,21 +3604,21 @@ function AM() {
|
|
|
3604
3604
|
"[object Uint32Array]",
|
|
3605
3605
|
"[object Float32Array]",
|
|
3606
3606
|
"[object Float64Array]"
|
|
3607
|
-
], p = ArrayBuffer.isView || function(
|
|
3608
|
-
return
|
|
3607
|
+
], p = ArrayBuffer.isView || function(he) {
|
|
3608
|
+
return he && v.indexOf(Object.prototype.toString.call(he)) > -1;
|
|
3609
3609
|
};
|
|
3610
|
-
function S(
|
|
3611
|
-
if (typeof
|
|
3612
|
-
throw new TypeError('Invalid character in header field name: "' +
|
|
3613
|
-
return
|
|
3610
|
+
function S(he) {
|
|
3611
|
+
if (typeof he != "string" && (he = String(he)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(he) || he === "")
|
|
3612
|
+
throw new TypeError('Invalid character in header field name: "' + he + '"');
|
|
3613
|
+
return he.toLowerCase();
|
|
3614
3614
|
}
|
|
3615
|
-
function T(
|
|
3616
|
-
return typeof
|
|
3615
|
+
function T(he) {
|
|
3616
|
+
return typeof he != "string" && (he = String(he)), he;
|
|
3617
3617
|
}
|
|
3618
|
-
function P(
|
|
3618
|
+
function P(he) {
|
|
3619
3619
|
var Te = {
|
|
3620
3620
|
next: function() {
|
|
3621
|
-
var Ve =
|
|
3621
|
+
var Ve = he.shift();
|
|
3622
3622
|
return { done: Ve === void 0, value: Ve };
|
|
3623
3623
|
}
|
|
3624
3624
|
};
|
|
@@ -3626,86 +3626,86 @@ function AM() {
|
|
|
3626
3626
|
return Te;
|
|
3627
3627
|
}), Te;
|
|
3628
3628
|
}
|
|
3629
|
-
function R(
|
|
3630
|
-
this.map = {},
|
|
3629
|
+
function R(he) {
|
|
3630
|
+
this.map = {}, he instanceof R ? he.forEach(function(Te, Ve) {
|
|
3631
3631
|
this.append(Ve, Te);
|
|
3632
|
-
}, this) : Array.isArray(
|
|
3632
|
+
}, this) : Array.isArray(he) ? he.forEach(function(Te) {
|
|
3633
3633
|
this.append(Te[0], Te[1]);
|
|
3634
|
-
}, this) :
|
|
3635
|
-
this.append(Te,
|
|
3634
|
+
}, this) : he && Object.getOwnPropertyNames(he).forEach(function(Te) {
|
|
3635
|
+
this.append(Te, he[Te]);
|
|
3636
3636
|
}, this);
|
|
3637
3637
|
}
|
|
3638
|
-
R.prototype.append = function(
|
|
3639
|
-
|
|
3640
|
-
var Ve = this.map[
|
|
3641
|
-
this.map[
|
|
3642
|
-
}, R.prototype.delete = function(
|
|
3643
|
-
delete this.map[S(
|
|
3644
|
-
}, R.prototype.get = function(
|
|
3645
|
-
return
|
|
3646
|
-
}, R.prototype.has = function(
|
|
3647
|
-
return this.map.hasOwnProperty(S(
|
|
3648
|
-
}, R.prototype.set = function(
|
|
3649
|
-
this.map[S(
|
|
3650
|
-
}, R.prototype.forEach = function(
|
|
3638
|
+
R.prototype.append = function(he, Te) {
|
|
3639
|
+
he = S(he), Te = T(Te);
|
|
3640
|
+
var Ve = this.map[he];
|
|
3641
|
+
this.map[he] = Ve ? Ve + ", " + Te : Te;
|
|
3642
|
+
}, R.prototype.delete = function(he) {
|
|
3643
|
+
delete this.map[S(he)];
|
|
3644
|
+
}, R.prototype.get = function(he) {
|
|
3645
|
+
return he = S(he), this.has(he) ? this.map[he] : null;
|
|
3646
|
+
}, R.prototype.has = function(he) {
|
|
3647
|
+
return this.map.hasOwnProperty(S(he));
|
|
3648
|
+
}, R.prototype.set = function(he, Te) {
|
|
3649
|
+
this.map[S(he)] = T(Te);
|
|
3650
|
+
}, R.prototype.forEach = function(he, Te) {
|
|
3651
3651
|
for (var Ve in this.map)
|
|
3652
|
-
this.map.hasOwnProperty(Ve) &&
|
|
3652
|
+
this.map.hasOwnProperty(Ve) && he.call(Te, this.map[Ve], Ve, this);
|
|
3653
3653
|
}, R.prototype.keys = function() {
|
|
3654
|
-
var
|
|
3654
|
+
var he = [];
|
|
3655
3655
|
return this.forEach(function(Te, Ve) {
|
|
3656
|
-
|
|
3657
|
-
}), P(
|
|
3656
|
+
he.push(Ve);
|
|
3657
|
+
}), P(he);
|
|
3658
3658
|
}, R.prototype.values = function() {
|
|
3659
|
-
var
|
|
3659
|
+
var he = [];
|
|
3660
3660
|
return this.forEach(function(Te) {
|
|
3661
|
-
|
|
3662
|
-
}), P(
|
|
3661
|
+
he.push(Te);
|
|
3662
|
+
}), P(he);
|
|
3663
3663
|
}, R.prototype.entries = function() {
|
|
3664
|
-
var
|
|
3664
|
+
var he = [];
|
|
3665
3665
|
return this.forEach(function(Te, Ve) {
|
|
3666
|
-
|
|
3667
|
-
}), P(
|
|
3666
|
+
he.push([Ve, Te]);
|
|
3667
|
+
}), P(he);
|
|
3668
3668
|
}, c.iterable && (R.prototype[Symbol.iterator] = R.prototype.entries);
|
|
3669
|
-
function L(
|
|
3670
|
-
if (
|
|
3669
|
+
function L(he) {
|
|
3670
|
+
if (he.bodyUsed)
|
|
3671
3671
|
return Promise.reject(new TypeError("Already read"));
|
|
3672
|
-
|
|
3672
|
+
he.bodyUsed = !0;
|
|
3673
3673
|
}
|
|
3674
|
-
function I(
|
|
3674
|
+
function I(he) {
|
|
3675
3675
|
return new Promise(function(Te, Ve) {
|
|
3676
|
-
|
|
3677
|
-
Te(
|
|
3678
|
-
},
|
|
3679
|
-
Ve(
|
|
3676
|
+
he.onload = function() {
|
|
3677
|
+
Te(he.result);
|
|
3678
|
+
}, he.onerror = function() {
|
|
3679
|
+
Ve(he.error);
|
|
3680
3680
|
};
|
|
3681
3681
|
});
|
|
3682
3682
|
}
|
|
3683
|
-
function U(
|
|
3683
|
+
function U(he) {
|
|
3684
3684
|
var Te = new FileReader(), Ve = I(Te);
|
|
3685
|
-
return Te.readAsArrayBuffer(
|
|
3685
|
+
return Te.readAsArrayBuffer(he), Ve;
|
|
3686
3686
|
}
|
|
3687
|
-
function W(
|
|
3687
|
+
function W(he) {
|
|
3688
3688
|
var Te = new FileReader(), Ve = I(Te);
|
|
3689
|
-
return Te.readAsText(
|
|
3689
|
+
return Te.readAsText(he), Ve;
|
|
3690
3690
|
}
|
|
3691
|
-
function ee(
|
|
3692
|
-
for (var Te = new Uint8Array(
|
|
3691
|
+
function ee(he) {
|
|
3692
|
+
for (var Te = new Uint8Array(he), Ve = new Array(Te.length), Je = 0; Je < Te.length; Je++)
|
|
3693
3693
|
Ve[Je] = String.fromCharCode(Te[Je]);
|
|
3694
3694
|
return Ve.join("");
|
|
3695
3695
|
}
|
|
3696
|
-
function Z(
|
|
3697
|
-
if (
|
|
3698
|
-
return
|
|
3699
|
-
var Te = new Uint8Array(
|
|
3700
|
-
return Te.set(new Uint8Array(
|
|
3696
|
+
function Z(he) {
|
|
3697
|
+
if (he.slice)
|
|
3698
|
+
return he.slice(0);
|
|
3699
|
+
var Te = new Uint8Array(he.byteLength);
|
|
3700
|
+
return Te.set(new Uint8Array(he)), Te.buffer;
|
|
3701
3701
|
}
|
|
3702
3702
|
function pe() {
|
|
3703
|
-
return this.bodyUsed = !1, this._initBody = function(
|
|
3704
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit =
|
|
3703
|
+
return this.bodyUsed = !1, this._initBody = function(he) {
|
|
3704
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = he, he ? typeof he == "string" ? this._bodyText = he : c.blob && Blob.prototype.isPrototypeOf(he) ? this._bodyBlob = he : c.formData && FormData.prototype.isPrototypeOf(he) ? this._bodyFormData = he : c.searchParams && URLSearchParams.prototype.isPrototypeOf(he) ? this._bodyText = he.toString() : c.arrayBuffer && c.blob && d(he) ? (this._bodyArrayBuffer = Z(he.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : c.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(he) || p(he)) ? this._bodyArrayBuffer = Z(he) : this._bodyText = he = Object.prototype.toString.call(he) : this._bodyText = "", this.headers.get("content-type") || (typeof he == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : c.searchParams && URLSearchParams.prototype.isPrototypeOf(he) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
3705
3705
|
}, c.blob && (this.blob = function() {
|
|
3706
|
-
var
|
|
3707
|
-
if (
|
|
3708
|
-
return
|
|
3706
|
+
var he = L(this);
|
|
3707
|
+
if (he)
|
|
3708
|
+
return he;
|
|
3709
3709
|
if (this._bodyBlob)
|
|
3710
3710
|
return Promise.resolve(this._bodyBlob);
|
|
3711
3711
|
if (this._bodyArrayBuffer)
|
|
@@ -3715,8 +3715,8 @@ function AM() {
|
|
|
3715
3715
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
3716
3716
|
}, this.arrayBuffer = function() {
|
|
3717
3717
|
if (this._bodyArrayBuffer) {
|
|
3718
|
-
var
|
|
3719
|
-
return
|
|
3718
|
+
var he = L(this);
|
|
3719
|
+
return he || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
|
|
3720
3720
|
this._bodyArrayBuffer.buffer.slice(
|
|
3721
3721
|
this._bodyArrayBuffer.byteOffset,
|
|
3722
3722
|
this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
|
|
@@ -3725,9 +3725,9 @@ function AM() {
|
|
|
3725
3725
|
} else
|
|
3726
3726
|
return this.blob().then(U);
|
|
3727
3727
|
}), this.text = function() {
|
|
3728
|
-
var
|
|
3729
|
-
if (
|
|
3730
|
-
return
|
|
3728
|
+
var he = L(this);
|
|
3729
|
+
if (he)
|
|
3730
|
+
return he;
|
|
3731
3731
|
if (this._bodyBlob)
|
|
3732
3732
|
return W(this._bodyBlob);
|
|
3733
3733
|
if (this._bodyArrayBuffer)
|
|
@@ -3742,21 +3742,21 @@ function AM() {
|
|
|
3742
3742
|
}, this;
|
|
3743
3743
|
}
|
|
3744
3744
|
var x = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
3745
|
-
function ue(
|
|
3746
|
-
var Te =
|
|
3747
|
-
return x.indexOf(Te) > -1 ? Te :
|
|
3745
|
+
function ue(he) {
|
|
3746
|
+
var Te = he.toUpperCase();
|
|
3747
|
+
return x.indexOf(Te) > -1 ? Te : he;
|
|
3748
3748
|
}
|
|
3749
|
-
function oe(
|
|
3749
|
+
function oe(he, Te) {
|
|
3750
3750
|
if (!(this instanceof oe))
|
|
3751
3751
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
3752
3752
|
Te = Te || {};
|
|
3753
3753
|
var Ve = Te.body;
|
|
3754
|
-
if (
|
|
3755
|
-
if (
|
|
3754
|
+
if (he instanceof oe) {
|
|
3755
|
+
if (he.bodyUsed)
|
|
3756
3756
|
throw new TypeError("Already read");
|
|
3757
|
-
this.url =
|
|
3757
|
+
this.url = he.url, this.credentials = he.credentials, Te.headers || (this.headers = new R(he.headers)), this.method = he.method, this.mode = he.mode, this.signal = he.signal, !Ve && he._bodyInit != null && (Ve = he._bodyInit, he.bodyUsed = !0);
|
|
3758
3758
|
} else
|
|
3759
|
-
this.url = String(
|
|
3759
|
+
this.url = String(he);
|
|
3760
3760
|
if (this.credentials = Te.credentials || this.credentials || "same-origin", (Te.headers || !this.headers) && (this.headers = new R(Te.headers)), this.method = ue(Te.method || this.method || "GET"), this.mode = Te.mode || this.mode || null, this.signal = Te.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && Ve)
|
|
3761
3761
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
3762
3762
|
if (this._initBody(Ve), (this.method === "GET" || this.method === "HEAD") && (Te.cache === "no-store" || Te.cache === "no-cache")) {
|
|
@@ -3772,17 +3772,17 @@ function AM() {
|
|
|
3772
3772
|
oe.prototype.clone = function() {
|
|
3773
3773
|
return new oe(this, { body: this._bodyInit });
|
|
3774
3774
|
};
|
|
3775
|
-
function Fe(
|
|
3775
|
+
function Fe(he) {
|
|
3776
3776
|
var Te = new FormData();
|
|
3777
|
-
return
|
|
3777
|
+
return he.trim().split("&").forEach(function(Ve) {
|
|
3778
3778
|
if (Ve) {
|
|
3779
3779
|
var Je = Ve.split("="), ot = Je.shift().replace(/\+/g, " "), Ce = Je.join("=").replace(/\+/g, " ");
|
|
3780
3780
|
Te.append(decodeURIComponent(ot), decodeURIComponent(Ce));
|
|
3781
3781
|
}
|
|
3782
3782
|
}), Te;
|
|
3783
3783
|
}
|
|
3784
|
-
function Ke(
|
|
3785
|
-
var Te = new R(), Ve =
|
|
3784
|
+
function Ke(he) {
|
|
3785
|
+
var Te = new R(), Ve = he.replace(/\r?\n[\t ]+/g, " ");
|
|
3786
3786
|
return Ve.split("\r").map(function(Je) {
|
|
3787
3787
|
return Je.indexOf(`
|
|
3788
3788
|
`) === 0 ? Je.substr(1, Je.length) : Je;
|
|
@@ -3795,10 +3795,10 @@ function AM() {
|
|
|
3795
3795
|
}), Te;
|
|
3796
3796
|
}
|
|
3797
3797
|
pe.call(oe.prototype);
|
|
3798
|
-
function We(
|
|
3798
|
+
function We(he, Te) {
|
|
3799
3799
|
if (!(this instanceof We))
|
|
3800
3800
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
3801
|
-
Te || (Te = {}), this.type = "default", this.status = Te.status === void 0 ? 200 : Te.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = Te.statusText === void 0 ? "" : "" + Te.statusText, this.headers = new R(Te.headers), this.url = Te.url || "", this._initBody(
|
|
3801
|
+
Te || (Te = {}), this.type = "default", this.status = Te.status === void 0 ? 200 : Te.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = Te.statusText === void 0 ? "" : "" + Te.statusText, this.headers = new R(Te.headers), this.url = Te.url || "", this._initBody(he);
|
|
3802
3802
|
}
|
|
3803
3803
|
pe.call(We.prototype), We.prototype.clone = function() {
|
|
3804
3804
|
return new We(this._bodyInit, {
|
|
@@ -3808,14 +3808,14 @@ function AM() {
|
|
|
3808
3808
|
url: this.url
|
|
3809
3809
|
});
|
|
3810
3810
|
}, We.error = function() {
|
|
3811
|
-
var
|
|
3812
|
-
return
|
|
3811
|
+
var he = new We(null, { status: 0, statusText: "" });
|
|
3812
|
+
return he.type = "error", he;
|
|
3813
3813
|
};
|
|
3814
3814
|
var Ze = [301, 302, 303, 307, 308];
|
|
3815
|
-
We.redirect = function(
|
|
3815
|
+
We.redirect = function(he, Te) {
|
|
3816
3816
|
if (Ze.indexOf(Te) === -1)
|
|
3817
3817
|
throw new RangeError("Invalid status code");
|
|
3818
|
-
return new We(null, { status: Te, headers: { location:
|
|
3818
|
+
return new We(null, { status: Te, headers: { location: he } });
|
|
3819
3819
|
}, s.DOMException = l.DOMException;
|
|
3820
3820
|
try {
|
|
3821
3821
|
new s.DOMException();
|
|
@@ -3826,9 +3826,9 @@ function AM() {
|
|
|
3826
3826
|
this.stack = Je.stack;
|
|
3827
3827
|
}, s.DOMException.prototype = Object.create(Error.prototype), s.DOMException.prototype.constructor = s.DOMException;
|
|
3828
3828
|
}
|
|
3829
|
-
function Qe(
|
|
3829
|
+
function Qe(he, Te) {
|
|
3830
3830
|
return new Promise(function(Ve, Je) {
|
|
3831
|
-
var ot = new oe(
|
|
3831
|
+
var ot = new oe(he, Te);
|
|
3832
3832
|
if (ot.signal && ot.signal.aborted)
|
|
3833
3833
|
return Je(new s.DOMException("Aborted", "AbortError"));
|
|
3834
3834
|
var Ce = new XMLHttpRequest();
|
|
@@ -3859,14 +3859,14 @@ function AM() {
|
|
|
3859
3859
|
Je(new s.DOMException("Aborted", "AbortError"));
|
|
3860
3860
|
}, 0);
|
|
3861
3861
|
};
|
|
3862
|
-
function
|
|
3862
|
+
function Be(He) {
|
|
3863
3863
|
try {
|
|
3864
3864
|
return He === "" && l.location.href ? l.location.href : He;
|
|
3865
3865
|
} catch {
|
|
3866
3866
|
return He;
|
|
3867
3867
|
}
|
|
3868
3868
|
}
|
|
3869
|
-
Ce.open(ot.method,
|
|
3869
|
+
Ce.open(ot.method, Be(ot.url), !0), ot.credentials === "include" ? Ce.withCredentials = !0 : ot.credentials === "omit" && (Ce.withCredentials = !1), "responseType" in Ce && (c.blob ? Ce.responseType = "blob" : c.arrayBuffer && ot.headers.get("Content-Type") && ot.headers.get("Content-Type").indexOf("application/octet-stream") !== -1 && (Ce.responseType = "arraybuffer")), Te && typeof Te.headers == "object" && !(Te.headers instanceof R) ? Object.getOwnPropertyNames(Te.headers).forEach(function(He) {
|
|
3870
3870
|
Ce.setRequestHeader(He, T(Te.headers[He]));
|
|
3871
3871
|
}) : ot.headers.forEach(function(He, Pe) {
|
|
3872
3872
|
Ce.setRequestHeader(Pe, He);
|
|
@@ -4962,27 +4962,27 @@ function IL(e) {
|
|
|
4962
4962
|
}, removeToast: pe, toasts: W, clearQueue: () => {
|
|
4963
4963
|
P -= R.length, R = [];
|
|
4964
4964
|
}, buildToast: (ue, oe) => {
|
|
4965
|
-
if (((
|
|
4966
|
-
let { containerId: He, toastId: Pe, updateId: Le } =
|
|
4965
|
+
if (((Be) => {
|
|
4966
|
+
let { containerId: He, toastId: Pe, updateId: Le } = Be;
|
|
4967
4967
|
const ze = He ? He !== v : v !== 1, st = W.has(Pe) && Le == null;
|
|
4968
4968
|
return ze || st;
|
|
4969
4969
|
})(oe))
|
|
4970
4970
|
return;
|
|
4971
|
-
const { toastId: Fe, updateId: Ke, data: We, staleId: Ze, delay: Qe } = oe,
|
|
4971
|
+
const { toastId: Fe, updateId: Ke, data: We, staleId: Ze, delay: Qe } = oe, he = () => {
|
|
4972
4972
|
pe(Fe);
|
|
4973
4973
|
}, Te = Ke == null;
|
|
4974
4974
|
Te && P++;
|
|
4975
|
-
const Ve = { ...U, style: U.toastStyle, key: T++, ...Object.fromEntries(Object.entries(oe).filter((
|
|
4976
|
-
let [He, Pe] =
|
|
4975
|
+
const Ve = { ...U, style: U.toastStyle, key: T++, ...Object.fromEntries(Object.entries(oe).filter((Be) => {
|
|
4976
|
+
let [He, Pe] = Be;
|
|
4977
4977
|
return Pe != null;
|
|
4978
|
-
})), toastId: Fe, updateId: Ke, data: We, closeToast:
|
|
4979
|
-
const
|
|
4980
|
-
ra(He) && He(Lc(Pe) && Pe.props), S(ow(
|
|
4978
|
+
})), toastId: Fe, updateId: Ke, data: We, closeToast: he, isIn: !1, className: Jh(oe.className || U.toastClassName), bodyClassName: Jh(oe.bodyClassName || U.bodyClassName), progressClassName: Jh(oe.progressClassName || U.progressClassName), autoClose: !oe.isLoading && (Je = oe.autoClose, ot = U.autoClose, Je === !1 || Ld(Je) && Je > 0 ? Je : ot), deleteToast() {
|
|
4979
|
+
const Be = W.get(Fe), { onClose: He, children: Pe } = Be.props;
|
|
4980
|
+
ra(He) && He(Lc(Pe) && Pe.props), S(ow(Be, "removed")), W.delete(Fe), P--, P < 0 && (P = 0), R.length > 0 ? x(R.shift()) : Z();
|
|
4981
4981
|
} };
|
|
4982
4982
|
var Je, ot;
|
|
4983
4983
|
Ve.closeButton = U.closeButton, oe.closeButton === !1 || im(oe.closeButton) ? Ve.closeButton = oe.closeButton : oe.closeButton === !0 && (Ve.closeButton = !im(U.closeButton) || U.closeButton);
|
|
4984
4984
|
let Ce = ue;
|
|
4985
|
-
Lc(ue) && !Fc(ue.type) ? Ce = Rd(ue, { closeToast:
|
|
4985
|
+
Lc(ue) && !Fc(ue.type) ? Ce = Rd(ue, { closeToast: he, toastProps: Ve, data: We }) : ra(ue) && (Ce = ue({ closeToast: he, toastProps: Ve, data: We }));
|
|
4986
4986
|
const De = { content: Ce, props: Ve, staleId: Ze };
|
|
4987
4987
|
U.limit && U.limit > 0 && P > U.limit && Te ? R.push(De) : Ld(Qe) ? setTimeout(() => {
|
|
4988
4988
|
x(De);
|
|
@@ -5151,16 +5151,16 @@ const NL = typeof window < "u" ? Ys : Rt, Eh = (e) => {
|
|
|
5151
5151
|
}, spinner: function() {
|
|
5152
5152
|
return pt.createElement("div", { className: "Toastify__spinner" });
|
|
5153
5153
|
} }, BL = (e) => {
|
|
5154
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: o } = AL(e), { closeButton: s, children: l, autoClose: c, onClick: d, type: v, hideProgressBar: p, closeToast: S, transition: T, position: P, className: R, style: L, bodyClassName: I, bodyStyle: U, progressClassName: W, progressStyle: ee, updateId: Z, role: pe, progress: x, rtl: ue, toastId: oe, deleteToast: Fe, isIn: Ke, isLoading: We, closeOnClick: Ze, theme: Qe } = e,
|
|
5155
|
-
let { theme:
|
|
5156
|
-
const st = { theme:
|
|
5154
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: i, playToast: o } = AL(e), { closeButton: s, children: l, autoClose: c, onClick: d, type: v, hideProgressBar: p, closeToast: S, transition: T, position: P, className: R, style: L, bodyClassName: I, bodyStyle: U, progressClassName: W, progressStyle: ee, updateId: Z, role: pe, progress: x, rtl: ue, toastId: oe, deleteToast: Fe, isIn: Ke, isLoading: We, closeOnClick: Ze, theme: Qe } = e, he = ku("Toastify__toast", `Toastify__toast-theme--${Qe}`, `Toastify__toast--${v}`, { "Toastify__toast--rtl": ue }, { "Toastify__toast--close-on-click": Ze }), Te = ra(R) ? R({ rtl: ue, position: P, type: v, defaultClassName: he }) : ku(he, R), Ve = function(De) {
|
|
5155
|
+
let { theme: Be, type: He, isLoading: Pe, icon: Le } = De, ze = null;
|
|
5156
|
+
const st = { theme: Be, type: He };
|
|
5157
5157
|
return Le === !1 || (ra(Le) ? ze = Le({ ...st, isLoading: Pe }) : Lc(Le) ? ze = Rd(Le, st) : Pe ? ze = Jg.spinner() : ((mt) => mt in Jg)(He) && (ze = Jg[He](st))), ze;
|
|
5158
5158
|
}(e), Je = !!x || !c, ot = { closeToast: S, type: v, theme: Qe };
|
|
5159
5159
|
let Ce = null;
|
|
5160
5160
|
return s === !1 || (Ce = ra(s) ? s(ot) : Lc(s) ? Rd(s, ot) : function(De) {
|
|
5161
|
-
let { closeToast:
|
|
5161
|
+
let { closeToast: Be, theme: He, ariaLabel: Pe = "close" } = De;
|
|
5162
5162
|
return pt.createElement("button", { className: `Toastify__close-button Toastify__close-button--${He}`, type: "button", onClick: (Le) => {
|
|
5163
|
-
Le.stopPropagation(),
|
|
5163
|
+
Le.stopPropagation(), Be(Le);
|
|
5164
5164
|
}, "aria-label": Pe }, pt.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, pt.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" })));
|
|
5165
5165
|
}(ot)), pt.createElement(T, { isIn: Ke, done: Fe, position: P, preventExitTransition: n, nodeRef: r, playToast: o }, pt.createElement("div", { id: oe, onClick: d, "data-in": Ke, className: Te, ...i, style: L, ref: r }, pt.createElement("div", { ...Ke && { role: pe }, className: ra(I) ? I({ type: v }) : ku("Toastify__toast-body", I), style: U }, Ve != null && pt.createElement("div", { className: ku("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !We }) }, Ve), pt.createElement("div", null, l)), Ce, pt.createElement(ML, { ...Z && !Je ? { key: `pb-${Z}` } : {}, rtl: ue, theme: Qe, delay: c, isRunning: t, isIn: Ke, closeToast: S, hide: p, type: v, style: ee, className: W, controlledProgress: Je, progress: x || 0 })));
|
|
5166
5166
|
}, Wp = function(e, t) {
|
|
@@ -7645,8 +7645,8 @@ function $C(e) {
|
|
|
7645
7645
|
}
|
|
7646
7646
|
function We(Qe) {
|
|
7647
7647
|
if (pe || (Qe = -Qe), s += Qe, !Z) {
|
|
7648
|
-
const
|
|
7649
|
-
ee =
|
|
7648
|
+
const he = oe.next(Math.max(0, s));
|
|
7649
|
+
ee = he.value, x && (ee = x(ee)), Z = pe ? he.done : s <= 0;
|
|
7650
7650
|
}
|
|
7651
7651
|
P == null || P(ee), Z && (U === 0 && (W ?? (W = s)), U < l ? MN(s, W, d, pe) && Fe() : Ke());
|
|
7652
7652
|
}
|
|
@@ -8318,18 +8318,18 @@ function IB(e) {
|
|
|
8318
8318
|
!Fe && !oe.prevProp || // Or if the prop doesn't define an animation
|
|
8319
8319
|
yy(Fe) || typeof Fe == "boolean")
|
|
8320
8320
|
return "continue";
|
|
8321
|
-
var Qe = AB(oe.prevProp, Fe),
|
|
8321
|
+
var Qe = AB(oe.prevProp, Fe), he = Qe || // If we're making this variant active, we want to always make it active
|
|
8322
8322
|
ue === p && oe.isActive && !Ze && Ke || // If we removed a higher-priority variant (i is in reverse order)
|
|
8323
8323
|
x > U && Ke, Te = Array.isArray(Fe) ? Fe : [Fe], Ve = Te.reduce(o, {});
|
|
8324
8324
|
We === !1 && (Ve = {});
|
|
8325
8325
|
var Je = oe.prevResolvedValues, ot = Je === void 0 ? {} : Je, Ce = at(at({}, ot), Ve), De = function(Le) {
|
|
8326
|
-
|
|
8326
|
+
he = !0, L.delete(Le), oe.needsAnimating[Le] = !0;
|
|
8327
8327
|
};
|
|
8328
|
-
for (var
|
|
8329
|
-
var He = Ve[
|
|
8330
|
-
I.hasOwnProperty(
|
|
8328
|
+
for (var Be in Ce) {
|
|
8329
|
+
var He = Ve[Be], Pe = ot[Be];
|
|
8330
|
+
I.hasOwnProperty(Be) || (He !== Pe ? Vd(He) && Vd(Pe) ? !XC(He, Pe) || Qe ? De(Be) : oe.protectedKeys[Be] = !0 : He !== void 0 ? De(Be) : L.add(Be) : He !== void 0 && L.has(Be) ? De(Be) : oe.protectedKeys[Be] = !0);
|
|
8331
8331
|
}
|
|
8332
|
-
oe.prevProp = Fe, oe.prevResolvedValues = Ve, oe.isActive && (I = at(at({}, I), Ve)), i && e.blockInitialAnimation && (
|
|
8332
|
+
oe.prevProp = Fe, oe.prevResolvedValues = Ve, oe.isActive && (I = at(at({}, I), Ve)), i && e.blockInitialAnimation && (he = !1), he && !Ze && R.push.apply(R, oa([], Qr(Te.map(function(Le) {
|
|
8333
8333
|
return {
|
|
8334
8334
|
animation: Le,
|
|
8335
8335
|
options: at({ type: ue }, v)
|
|
@@ -8928,9 +8928,9 @@ var oE = function(e) {
|
|
|
8928
8928
|
T === void 0 && (T = {});
|
|
8929
8929
|
var ee = !1, Z = U.latestValues, pe = U.renderState, x, ue = rj(), oe = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map(), Ke = {}, We = at({}, Z), Ze;
|
|
8930
8930
|
function Qe() {
|
|
8931
|
-
!x || !ee || (
|
|
8931
|
+
!x || !ee || (he(), l(x, pe, R.style, He.projection));
|
|
8932
8932
|
}
|
|
8933
|
-
function
|
|
8933
|
+
function he() {
|
|
8934
8934
|
r(He, pe, Z, T, R);
|
|
8935
8935
|
}
|
|
8936
8936
|
function Te() {
|
|
@@ -8949,7 +8949,7 @@ var oE = function(e) {
|
|
|
8949
8949
|
var Ce = Je[ot];
|
|
8950
8950
|
Z[ot] !== void 0 && Bl(Ce) && Ce.set(Z[ot], !1);
|
|
8951
8951
|
}
|
|
8952
|
-
var De = Xp(R),
|
|
8952
|
+
var De = Xp(R), Be = qT(R), He = at(at({
|
|
8953
8953
|
treeType: n,
|
|
8954
8954
|
/**
|
|
8955
8955
|
* This is a mirror of the internal instance prop, which keeps
|
|
@@ -8972,7 +8972,7 @@ var oE = function(e) {
|
|
|
8972
8972
|
* any children that are also part of the tree. This is essentially
|
|
8973
8973
|
* a shadow tree to simplify logic around how to stagger over children.
|
|
8974
8974
|
*/
|
|
8975
|
-
variantChildren:
|
|
8975
|
+
variantChildren: Be ? /* @__PURE__ */ new Set() : void 0,
|
|
8976
8976
|
/**
|
|
8977
8977
|
* Whether this instance is visible. This can be changed imperatively
|
|
8978
8978
|
* by the projection tree, is analogous to CSS's visibility in that
|
|
@@ -9003,7 +9003,7 @@ var oE = function(e) {
|
|
|
9003
9003
|
return !!x;
|
|
9004
9004
|
},
|
|
9005
9005
|
mount: function(Pe) {
|
|
9006
|
-
ee = !0, x = He.current = Pe, He.projection && He.projection.mount(Pe),
|
|
9006
|
+
ee = !0, x = He.current = Pe, He.projection && He.projection.mount(Pe), Be && P && !De && (Ze = P == null ? void 0 : P.addVariantChild(He)), oe.forEach(function(Le, ze) {
|
|
9007
9007
|
return Ve(ze, Le);
|
|
9008
9008
|
}), P == null || P.children.add(He), He.setProps(R);
|
|
9009
9009
|
},
|
|
@@ -9034,7 +9034,7 @@ var oE = function(e) {
|
|
|
9034
9034
|
* this visual element.
|
|
9035
9035
|
*/
|
|
9036
9036
|
getClosestVariantNode: function() {
|
|
9037
|
-
return
|
|
9037
|
+
return Be ? He : P == null ? void 0 : P.getClosestVariantNode();
|
|
9038
9038
|
},
|
|
9039
9039
|
/**
|
|
9040
9040
|
* Expose the latest layoutId prop.
|
|
@@ -9157,7 +9157,7 @@ var oE = function(e) {
|
|
|
9157
9157
|
* Build the renderer state based on the latest visual state.
|
|
9158
9158
|
*/
|
|
9159
9159
|
build: function() {
|
|
9160
|
-
return
|
|
9160
|
+
return he(), pe;
|
|
9161
9161
|
},
|
|
9162
9162
|
/**
|
|
9163
9163
|
* Schedule a render on the next animation frame.
|
|
@@ -9746,8 +9746,8 @@ function gE(e) {
|
|
|
9746
9746
|
d.target = void 0, d.relativeTarget = void 0;
|
|
9747
9747
|
return;
|
|
9748
9748
|
}
|
|
9749
|
-
var Ke = (W = (U = d.options.transition) !== null && U !== void 0 ? U : P.getDefaultTransition()) !== null && W !== void 0 ? W : Kj, We = P.getProps(), Ze = We.onLayoutAnimationStart, Qe = We.onLayoutAnimationComplete,
|
|
9750
|
-
if (!((ee = d.resumeFrom) === null || ee === void 0) && ee.instance || Te || ue && (
|
|
9749
|
+
var Ke = (W = (U = d.options.transition) !== null && U !== void 0 ? U : P.getDefaultTransition()) !== null && W !== void 0 ? W : Kj, We = P.getProps(), Ze = We.onLayoutAnimationStart, Qe = We.onLayoutAnimationComplete, he = !d.targetLayout || !pE(d.targetLayout, Fe) || oe, Te = !ue && oe;
|
|
9750
|
+
if (!((ee = d.resumeFrom) === null || ee === void 0) && ee.instance || Te || ue && (he || !d.currentAnimation)) {
|
|
9751
9751
|
d.resumeFrom && (d.resumingFrom = d.resumeFrom, d.resumingFrom.resumingFrom = void 0), d.setAnimationOrigin(x, Te);
|
|
9752
9752
|
var Ve = at(at({}, _y(Ke, "layout")), { onPlay: Ze, onComplete: Qe });
|
|
9753
9753
|
P.shouldReduceMotion && (Ve.delay = 0, Ve.type = !1), d.startAnimation(Ve);
|
|
@@ -14693,12 +14693,12 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
|
|
|
14693
14693
|
let We = 1 / 0, Ze = 1 / 0;
|
|
14694
14694
|
Ke !== null && (We = Ke + s, Ze = We * (o + 1) - s);
|
|
14695
14695
|
let Qe = 0;
|
|
14696
|
-
const
|
|
14696
|
+
const he = (De) => {
|
|
14697
14697
|
if (oe === null)
|
|
14698
14698
|
return;
|
|
14699
14699
|
T > 0 && (oe = Math.min(oe, De)), T < 0 && (oe = Math.min(De - Ze / T, oe)), ue !== null ? Qe = ue : Qe = Math.round(De - oe) * T;
|
|
14700
|
-
const
|
|
14701
|
-
Qe = Math.max(
|
|
14700
|
+
const Be = Qe - t * (T >= 0 ? 1 : -1), He = T >= 0 ? Be < 0 : Be > Ze;
|
|
14701
|
+
Qe = Math.max(Be, 0), x === "finished" && ue === null && (Qe = Ze);
|
|
14702
14702
|
let Pe = Qe, Le = Z;
|
|
14703
14703
|
if (o) {
|
|
14704
14704
|
const wt = Math.min(Qe, Ze) / We;
|
|
@@ -14720,14 +14720,14 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
|
|
|
14720
14720
|
}, ot = () => {
|
|
14721
14721
|
if (P)
|
|
14722
14722
|
return;
|
|
14723
|
-
U || (U = n(
|
|
14723
|
+
U || (U = n(he));
|
|
14724
14724
|
const De = U.now();
|
|
14725
14725
|
c && c(), ue !== null ? oe = De - ue : (!oe || x === "finished") && (oe = De), x === "finished" && I(), Fe = oe, ue = null, x = "running", U.start();
|
|
14726
14726
|
};
|
|
14727
14727
|
e && ot();
|
|
14728
14728
|
const Ce = {
|
|
14729
|
-
then(De,
|
|
14730
|
-
return L.then(De,
|
|
14729
|
+
then(De, Be) {
|
|
14730
|
+
return L.then(De, Be);
|
|
14731
14731
|
},
|
|
14732
14732
|
get time() {
|
|
14733
14733
|
return Fl(Qe);
|
|
@@ -14756,12 +14756,12 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
|
|
|
14756
14756
|
P = !0, x !== "idle" && (x = "idle", d && d(), Ve());
|
|
14757
14757
|
},
|
|
14758
14758
|
cancel: () => {
|
|
14759
|
-
Fe !== null &&
|
|
14759
|
+
Fe !== null && he(Fe), Ve();
|
|
14760
14760
|
},
|
|
14761
14761
|
complete: () => {
|
|
14762
14762
|
x = "finished";
|
|
14763
14763
|
},
|
|
14764
|
-
sample: (De) => (oe = 0,
|
|
14764
|
+
sample: (De) => (oe = 0, he(De))
|
|
14765
14765
|
};
|
|
14766
14766
|
return Ce;
|
|
14767
14767
|
}
|
|
@@ -15416,7 +15416,7 @@ function IW(e) {
|
|
|
15416
15416
|
const { prevResolvedValues: Ze = {} } = W, Qe = {
|
|
15417
15417
|
...Ze,
|
|
15418
15418
|
...We
|
|
15419
|
-
},
|
|
15419
|
+
}, he = (Te) => {
|
|
15420
15420
|
oe = !0, T.has(Te) && (Fe = !0, T.delete(Te)), W.needsAnimating[Te] = !0;
|
|
15421
15421
|
};
|
|
15422
15422
|
for (const Te in Qe) {
|
|
@@ -15424,7 +15424,7 @@ function IW(e) {
|
|
|
15424
15424
|
if (P.hasOwnProperty(Te))
|
|
15425
15425
|
continue;
|
|
15426
15426
|
let ot = !1;
|
|
15427
|
-
Dp(Ve) && Dp(Je) ? ot = !fk(Ve, Je) : ot = Ve !== Je, ot ? Ve !== void 0 ?
|
|
15427
|
+
Dp(Ve) && Dp(Je) ? ot = !fk(Ve, Je) : ot = Ve !== Je, ot ? Ve !== void 0 ? he(Te) : T.add(Te) : Ve !== void 0 && T.has(Te) ? he(Te) : W.protectedKeys[Te] = !0;
|
|
15428
15428
|
}
|
|
15429
15429
|
W.prevProp = ee, W.prevResolvedValues = We, W.isActive && (P = { ...P, ...We }), r && e.blockInitialAnimation && (oe = !1), oe && (!x || Fe) && S.push(...Ke.map((Te) => ({
|
|
15430
15430
|
animation: Te,
|
|
@@ -17674,8 +17674,8 @@ var Of = /* @__PURE__ */ new Map(), dO = function(t) {
|
|
|
17674
17674
|
for (var oe = p.querySelectorAll("script"), Fe = [], Ke, We, Ze = 0, Qe = oe.length; Ze < Qe; Ze++)
|
|
17675
17675
|
We = oe[Ze].getAttribute("type"), (!We || We === "application/ecmascript" || We === "application/javascript" || We === "text/javascript") && (Ke = oe[Ze].innerText || oe[Ze].textContent, Ke && Fe.push(Ke), p.removeChild(oe[Ze]));
|
|
17676
17676
|
if (Fe.length > 0 && (n === "always" || n === "once" && !Qx[c])) {
|
|
17677
|
-
for (var
|
|
17678
|
-
new Function(Fe[
|
|
17677
|
+
for (var he = 0, Te = Fe.length; he < Te; he++)
|
|
17678
|
+
new Function(Fe[he])(window);
|
|
17679
17679
|
Qx[c] = !0;
|
|
17680
17680
|
}
|
|
17681
17681
|
var Ve = p.querySelectorAll("style");
|
|
@@ -17826,7 +17826,7 @@ function R5() {
|
|
|
17826
17826
|
}
|
|
17827
17827
|
}
|
|
17828
17828
|
}
|
|
17829
|
-
var Z = c, pe = d, x = l, ue = s, oe = t, Fe = v, Ke = r, We = P, Ze = T, Qe = n,
|
|
17829
|
+
var Z = c, pe = d, x = l, ue = s, oe = t, Fe = v, Ke = r, We = P, Ze = T, Qe = n, he = o, Te = i, Ve = p, Je = !1;
|
|
17830
17830
|
function ot(it) {
|
|
17831
17831
|
return Je || (Je = !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.")), Ce(it) || ee(it) === c;
|
|
17832
17832
|
}
|
|
@@ -17836,7 +17836,7 @@ function R5() {
|
|
|
17836
17836
|
function De(it) {
|
|
17837
17837
|
return ee(it) === l;
|
|
17838
17838
|
}
|
|
17839
|
-
function
|
|
17839
|
+
function Be(it) {
|
|
17840
17840
|
return ee(it) === s;
|
|
17841
17841
|
}
|
|
17842
17842
|
function He(it) {
|
|
@@ -17866,7 +17866,7 @@ function R5() {
|
|
|
17866
17866
|
function Et(it) {
|
|
17867
17867
|
return ee(it) === p;
|
|
17868
17868
|
}
|
|
17869
|
-
En.AsyncMode = Z, En.ConcurrentMode = pe, En.ContextConsumer = x, En.ContextProvider = ue, En.Element = oe, En.ForwardRef = Fe, En.Fragment = Ke, En.Lazy = We, En.Memo = Ze, En.Portal = Qe, En.Profiler =
|
|
17869
|
+
En.AsyncMode = Z, En.ConcurrentMode = pe, En.ContextConsumer = x, En.ContextProvider = ue, En.Element = oe, En.ForwardRef = Fe, En.Fragment = Ke, En.Lazy = We, En.Memo = Ze, En.Portal = Qe, En.Profiler = he, En.StrictMode = Te, En.Suspense = Ve, En.isAsyncMode = ot, En.isConcurrentMode = Ce, En.isContextConsumer = De, En.isContextProvider = Be, En.isElement = He, En.isForwardRef = Pe, En.isFragment = Le, En.isLazy = ze, En.isMemo = st, En.isPortal = mt, En.isProfiler = wt, En.isStrictMode = vt, En.isSuspense = Et, En.isValidElementType = W, En.typeOf = ee;
|
|
17870
17870
|
}()), En;
|
|
17871
17871
|
}
|
|
17872
17872
|
var r1;
|
|
@@ -18042,7 +18042,7 @@ function M5() {
|
|
|
18042
18042
|
R.prototype = Error.prototype;
|
|
18043
18043
|
function L(Ce) {
|
|
18044
18044
|
if (process.env.NODE_ENV !== "production")
|
|
18045
|
-
var De = {},
|
|
18045
|
+
var De = {}, Be = 0;
|
|
18046
18046
|
function He(Le, ze, st, mt, wt, vt, Et) {
|
|
18047
18047
|
if (mt = mt || S, vt = vt || st, Et !== n) {
|
|
18048
18048
|
if (c) {
|
|
@@ -18053,9 +18053,9 @@ function M5() {
|
|
|
18053
18053
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
18054
18054
|
var Vt = mt + ":" + st;
|
|
18055
18055
|
!De[Vt] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
18056
|
-
|
|
18056
|
+
Be < 3 && (o(
|
|
18057
18057
|
"You are manually calling a React.PropTypes validation function for the `" + vt + "` prop on `" + mt + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
18058
|
-
), De[Vt] = !0,
|
|
18058
|
+
), De[Vt] = !0, Be++);
|
|
18059
18059
|
}
|
|
18060
18060
|
}
|
|
18061
18061
|
return ze[st] == null ? Le ? ze[st] === null ? new R("The " + wt + " `" + vt + "` is marked as required " + ("in `" + mt + "`, but its value is `null`.")) : new R("The " + wt + " `" + vt + "` is marked as required in " + ("`" + mt + "`, but its value is `undefined`.")) : null : Ce(ze, st, mt, wt, vt);
|
|
@@ -18064,8 +18064,8 @@ function M5() {
|
|
|
18064
18064
|
return Pe.isRequired = He.bind(null, !0), Pe;
|
|
18065
18065
|
}
|
|
18066
18066
|
function I(Ce) {
|
|
18067
|
-
function De(
|
|
18068
|
-
var mt =
|
|
18067
|
+
function De(Be, He, Pe, Le, ze, st) {
|
|
18068
|
+
var mt = Be[He], wt = Te(mt);
|
|
18069
18069
|
if (wt !== Ce) {
|
|
18070
18070
|
var vt = Ve(mt);
|
|
18071
18071
|
return new R(
|
|
@@ -18081,10 +18081,10 @@ function M5() {
|
|
|
18081
18081
|
return L(s);
|
|
18082
18082
|
}
|
|
18083
18083
|
function W(Ce) {
|
|
18084
|
-
function De(
|
|
18084
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18085
18085
|
if (typeof Ce != "function")
|
|
18086
18086
|
return new R("Property `" + ze + "` of component `" + Pe + "` has invalid PropType notation inside arrayOf.");
|
|
18087
|
-
var st =
|
|
18087
|
+
var st = Be[He];
|
|
18088
18088
|
if (!Array.isArray(st)) {
|
|
18089
18089
|
var mt = Te(st);
|
|
18090
18090
|
return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected an array."));
|
|
@@ -18099,8 +18099,8 @@ function M5() {
|
|
|
18099
18099
|
return L(De);
|
|
18100
18100
|
}
|
|
18101
18101
|
function ee() {
|
|
18102
|
-
function Ce(De,
|
|
18103
|
-
var ze = De[
|
|
18102
|
+
function Ce(De, Be, He, Pe, Le) {
|
|
18103
|
+
var ze = De[Be];
|
|
18104
18104
|
if (!l(ze)) {
|
|
18105
18105
|
var st = Te(ze);
|
|
18106
18106
|
return new R("Invalid " + Pe + " `" + Le + "` of type " + ("`" + st + "` supplied to `" + He + "`, expected a single ReactElement."));
|
|
@@ -18110,8 +18110,8 @@ function M5() {
|
|
|
18110
18110
|
return L(Ce);
|
|
18111
18111
|
}
|
|
18112
18112
|
function Z() {
|
|
18113
|
-
function Ce(De,
|
|
18114
|
-
var ze = De[
|
|
18113
|
+
function Ce(De, Be, He, Pe, Le) {
|
|
18114
|
+
var ze = De[Be];
|
|
18115
18115
|
if (!e.isValidElementType(ze)) {
|
|
18116
18116
|
var st = Te(ze);
|
|
18117
18117
|
return new R("Invalid " + Pe + " `" + Le + "` of type " + ("`" + st + "` supplied to `" + He + "`, expected a single ReactElement type."));
|
|
@@ -18121,9 +18121,9 @@ function M5() {
|
|
|
18121
18121
|
return L(Ce);
|
|
18122
18122
|
}
|
|
18123
18123
|
function pe(Ce) {
|
|
18124
|
-
function De(
|
|
18125
|
-
if (!(
|
|
18126
|
-
var st = Ce.name || S, mt = ot(
|
|
18124
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18125
|
+
if (!(Be[He] instanceof Ce)) {
|
|
18126
|
+
var st = Ce.name || S, mt = ot(Be[He]);
|
|
18127
18127
|
return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected ") + ("instance of `" + st + "`."));
|
|
18128
18128
|
}
|
|
18129
18129
|
return null;
|
|
@@ -18135,8 +18135,8 @@ function M5() {
|
|
|
18135
18135
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
18136
18136
|
"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])."
|
|
18137
18137
|
) : o("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
18138
|
-
function De(
|
|
18139
|
-
for (var st =
|
|
18138
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18139
|
+
for (var st = Be[He], mt = 0; mt < Ce.length; mt++)
|
|
18140
18140
|
if (P(st, Ce[mt]))
|
|
18141
18141
|
return null;
|
|
18142
18142
|
var wt = JSON.stringify(Ce, function(Et, it) {
|
|
@@ -18148,10 +18148,10 @@ function M5() {
|
|
|
18148
18148
|
return L(De);
|
|
18149
18149
|
}
|
|
18150
18150
|
function ue(Ce) {
|
|
18151
|
-
function De(
|
|
18151
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18152
18152
|
if (typeof Ce != "function")
|
|
18153
18153
|
return new R("Property `" + ze + "` of component `" + Pe + "` has invalid PropType notation inside objectOf.");
|
|
18154
|
-
var st =
|
|
18154
|
+
var st = Be[He], mt = Te(st);
|
|
18155
18155
|
if (mt !== "object")
|
|
18156
18156
|
return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected an object."));
|
|
18157
18157
|
for (var wt in st)
|
|
@@ -18168,10 +18168,10 @@ function M5() {
|
|
|
18168
18168
|
if (!Array.isArray(Ce))
|
|
18169
18169
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
18170
18170
|
for (var De = 0; De < Ce.length; De++) {
|
|
18171
|
-
var
|
|
18172
|
-
if (typeof
|
|
18171
|
+
var Be = Ce[De];
|
|
18172
|
+
if (typeof Be != "function")
|
|
18173
18173
|
return o(
|
|
18174
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Je(
|
|
18174
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Je(Be) + " at index " + De + "."
|
|
18175
18175
|
), s;
|
|
18176
18176
|
}
|
|
18177
18177
|
function He(Pe, Le, ze, st, mt) {
|
|
@@ -18187,19 +18187,19 @@ function M5() {
|
|
|
18187
18187
|
return L(He);
|
|
18188
18188
|
}
|
|
18189
18189
|
function Fe() {
|
|
18190
|
-
function Ce(De,
|
|
18191
|
-
return Qe(De[
|
|
18190
|
+
function Ce(De, Be, He, Pe, Le) {
|
|
18191
|
+
return Qe(De[Be]) ? null : new R("Invalid " + Pe + " `" + Le + "` supplied to " + ("`" + He + "`, expected a ReactNode."));
|
|
18192
18192
|
}
|
|
18193
18193
|
return L(Ce);
|
|
18194
18194
|
}
|
|
18195
|
-
function Ke(Ce, De,
|
|
18195
|
+
function Ke(Ce, De, Be, He, Pe) {
|
|
18196
18196
|
return new R(
|
|
18197
|
-
(Ce || "React class") + ": " + De + " type `" +
|
|
18197
|
+
(Ce || "React class") + ": " + De + " type `" + Be + "." + He + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Pe + "`."
|
|
18198
18198
|
);
|
|
18199
18199
|
}
|
|
18200
18200
|
function We(Ce) {
|
|
18201
|
-
function De(
|
|
18202
|
-
var st =
|
|
18201
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18202
|
+
var st = Be[He], mt = Te(st);
|
|
18203
18203
|
if (mt !== "object")
|
|
18204
18204
|
return new R("Invalid " + Le + " `" + ze + "` of type `" + mt + "` " + ("supplied to `" + Pe + "`, expected `object`."));
|
|
18205
18205
|
for (var wt in Ce) {
|
|
@@ -18215,18 +18215,18 @@ function M5() {
|
|
|
18215
18215
|
return L(De);
|
|
18216
18216
|
}
|
|
18217
18217
|
function Ze(Ce) {
|
|
18218
|
-
function De(
|
|
18219
|
-
var st =
|
|
18218
|
+
function De(Be, He, Pe, Le, ze) {
|
|
18219
|
+
var st = Be[He], mt = Te(st);
|
|
18220
18220
|
if (mt !== "object")
|
|
18221
18221
|
return new R("Invalid " + Le + " `" + ze + "` of type `" + mt + "` " + ("supplied to `" + Pe + "`, expected `object`."));
|
|
18222
|
-
var wt = t({},
|
|
18222
|
+
var wt = t({}, Be[He], Ce);
|
|
18223
18223
|
for (var vt in wt) {
|
|
18224
18224
|
var Et = Ce[vt];
|
|
18225
18225
|
if (r(Ce, vt) && typeof Et != "function")
|
|
18226
18226
|
return Ke(Pe, Le, ze, vt, Ve(Et));
|
|
18227
18227
|
if (!Et)
|
|
18228
18228
|
return new R(
|
|
18229
|
-
"Invalid " + Le + " `" + ze + "` key `" + vt + "` supplied to `" + Pe + "`.\nBad object: " + JSON.stringify(
|
|
18229
|
+
"Invalid " + Le + " `" + ze + "` key `" + vt + "` supplied to `" + Pe + "`.\nBad object: " + JSON.stringify(Be[He], null, " ") + `
|
|
18230
18230
|
Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
|
|
18231
18231
|
);
|
|
18232
18232
|
var it = Et(st, vt, Pe, Le, ze + "." + vt, n);
|
|
@@ -18252,13 +18252,13 @@ Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
|
|
|
18252
18252
|
return !0;
|
|
18253
18253
|
var De = p(Ce);
|
|
18254
18254
|
if (De) {
|
|
18255
|
-
var
|
|
18255
|
+
var Be = De.call(Ce), He;
|
|
18256
18256
|
if (De !== Ce.entries) {
|
|
18257
|
-
for (; !(He =
|
|
18257
|
+
for (; !(He = Be.next()).done; )
|
|
18258
18258
|
if (!Qe(He.value))
|
|
18259
18259
|
return !1;
|
|
18260
18260
|
} else
|
|
18261
|
-
for (; !(He =
|
|
18261
|
+
for (; !(He = Be.next()).done; ) {
|
|
18262
18262
|
var Pe = He.value;
|
|
18263
18263
|
if (Pe && !Qe(Pe[1]))
|
|
18264
18264
|
return !1;
|
|
@@ -18270,12 +18270,12 @@ Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
|
|
|
18270
18270
|
return !1;
|
|
18271
18271
|
}
|
|
18272
18272
|
}
|
|
18273
|
-
function
|
|
18273
|
+
function he(Ce, De) {
|
|
18274
18274
|
return Ce === "symbol" ? !0 : De ? De["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && De instanceof Symbol : !1;
|
|
18275
18275
|
}
|
|
18276
18276
|
function Te(Ce) {
|
|
18277
18277
|
var De = typeof Ce;
|
|
18278
|
-
return Array.isArray(Ce) ? "array" : Ce instanceof RegExp ? "object" :
|
|
18278
|
+
return Array.isArray(Ce) ? "array" : Ce instanceof RegExp ? "object" : he(De, Ce) ? "symbol" : De;
|
|
18279
18279
|
}
|
|
18280
18280
|
function Ve(Ce) {
|
|
18281
18281
|
if (typeof Ce > "u" || Ce === null)
|
|
@@ -18577,122 +18577,236 @@ function V5(e) {
|
|
|
18577
18577
|
function H5({ item: e }) {
|
|
18578
18578
|
return (Uf.get(V5(e)) || Uf.get("text"))(e);
|
|
18579
18579
|
}
|
|
18580
|
-
function
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18580
|
+
function U5(e) {
|
|
18581
|
+
return /* @__PURE__ */ rt(
|
|
18582
|
+
"svg",
|
|
18583
|
+
{
|
|
18584
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18585
|
+
width: "16",
|
|
18586
|
+
height: "16",
|
|
18587
|
+
fill: "currentColor",
|
|
18588
|
+
viewBox: "0 0 16 16",
|
|
18589
|
+
...e,
|
|
18590
|
+
children: /* @__PURE__ */ rt(
|
|
18591
|
+
"path",
|
|
18592
|
+
{
|
|
18593
|
+
fill: "currenColor",
|
|
18594
|
+
d: "M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
|
|
18595
|
+
}
|
|
18596
|
+
)
|
|
18597
|
+
}
|
|
18597
18598
|
);
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18599
|
+
}
|
|
18600
|
+
function W5(e) {
|
|
18601
|
+
const { renderChildren: t, parentRef: n, onlyChild: r, dropdownLevel: i } = e, [o, s] = fn({ top: 0, left: 0 }), l = hn(null), [c, d] = fn("auto");
|
|
18602
|
+
return Ys(() => {
|
|
18603
|
+
if (n.current && l.current) {
|
|
18604
|
+
const v = n.current.getBoundingClientRect(), p = l.current.getBoundingClientRect();
|
|
18605
|
+
let S, T;
|
|
18606
|
+
if (i === 1)
|
|
18607
|
+
S = v.bottom, T = v.left, p.height + S > window.innerHeight ? (console.log("overbottom"), d(window.innerHeight - S - 50), S = v.bottom - p.height) : S = v.bottom;
|
|
18608
|
+
else if (i > 1) {
|
|
18609
|
+
S = v.top, T = v.left + v.width;
|
|
18610
|
+
const P = p.height + (window.innerHeight - v.top) > window.innerHeight;
|
|
18611
|
+
P && (console.log("overtop"), d(window.innerHeight - v.top - 50)), v.top + p.height > window.innerHeight && !P && (S = v.top - p.height + v.height);
|
|
18612
|
+
}
|
|
18613
|
+
s({
|
|
18614
|
+
top: S,
|
|
18615
|
+
left: T
|
|
18616
|
+
});
|
|
18617
|
+
}
|
|
18618
|
+
}, [n, l, i]), r ? t({ maxHeight: c }) : sy(
|
|
18619
|
+
/* @__PURE__ */ rt(
|
|
18620
|
+
"div",
|
|
18621
|
+
{
|
|
18622
|
+
ref: l,
|
|
18623
|
+
style: {
|
|
18624
|
+
position: "fixed",
|
|
18625
|
+
top: o.top,
|
|
18626
|
+
left: o.left,
|
|
18627
|
+
zIndex: 1200
|
|
18628
|
+
},
|
|
18629
|
+
children: t({ maxHeight: c })
|
|
18630
|
+
}
|
|
18631
|
+
),
|
|
18632
|
+
n.current
|
|
18633
|
+
);
|
|
18634
|
+
}
|
|
18635
|
+
const Wf = /* @__PURE__ */ new Map();
|
|
18636
|
+
Wf.set("text", (e) => {
|
|
18637
|
+
var t;
|
|
18638
|
+
return /* @__PURE__ */ rt(
|
|
18639
|
+
"div",
|
|
18640
|
+
{
|
|
18641
|
+
style: {
|
|
18642
|
+
width: 24,
|
|
18643
|
+
height: 24,
|
|
18644
|
+
backgroundColor: "#dadada",
|
|
18645
|
+
borderRadius: "5px",
|
|
18646
|
+
display: "flex",
|
|
18647
|
+
justifyContent: "center",
|
|
18648
|
+
alignItems: "center",
|
|
18649
|
+
lineHeight: "24px"
|
|
18650
|
+
},
|
|
18651
|
+
children: (t = e.name.trim().at(0)) == null ? void 0 : t.toUpperCase()
|
|
18652
|
+
}
|
|
18653
|
+
);
|
|
18654
|
+
});
|
|
18655
|
+
Wf.set("svgHtml", (e) => {
|
|
18656
|
+
function t(n) {
|
|
18657
|
+
function r(o) {
|
|
18658
|
+
const l = new DOMParser().parseFromString(o, "image/svg+xml").querySelector("svg");
|
|
18659
|
+
return l ? (l.querySelectorAll("path").forEach((d) => {
|
|
18660
|
+
d.hasAttribute("fill") && d.setAttribute("fill", "currentColor"), d.hasAttribute("stroke") && d.setAttribute("stroke", "currentColor");
|
|
18661
|
+
}), l.outerHTML) : "";
|
|
18662
|
+
}
|
|
18663
|
+
const i = r(n.svgString);
|
|
18664
|
+
return /* @__PURE__ */ rt(
|
|
18665
|
+
"div",
|
|
18666
|
+
{
|
|
18667
|
+
dangerouslySetInnerHTML: { __html: i },
|
|
18668
|
+
style: { width: 24, height: 24, margin: "0 auto" }
|
|
18669
|
+
}
|
|
18670
|
+
);
|
|
18671
|
+
}
|
|
18672
|
+
return /* @__PURE__ */ rt(t, { svgString: e.icon });
|
|
18673
|
+
});
|
|
18674
|
+
Wf.set("svgHttp", (e) => /* @__PURE__ */ rt(
|
|
18675
|
+
pg,
|
|
18676
|
+
{
|
|
18677
|
+
src: e.icon,
|
|
18678
|
+
beforeInjection: (t) => {
|
|
18679
|
+
t.setAttribute("style", "margin: 0 auto;"), t.querySelectorAll("path").forEach((r) => {
|
|
18680
|
+
r.hasAttribute("fill") && r.setAttribute("fill", "currentColor"), r.hasAttribute("stroke") && r.setAttribute("stroke", "currentColor");
|
|
18681
|
+
});
|
|
18682
|
+
}
|
|
18683
|
+
}
|
|
18684
|
+
));
|
|
18685
|
+
Wf.set("img", (e) => /* @__PURE__ */ rt(
|
|
18686
|
+
"img",
|
|
18687
|
+
{
|
|
18688
|
+
src: e.icon || "/",
|
|
18689
|
+
alt: e.name,
|
|
18690
|
+
style: { height: 24, maxHeight: 24, maxWidth: 24 }
|
|
18691
|
+
}
|
|
18692
|
+
));
|
|
18693
|
+
function z5(e) {
|
|
18694
|
+
return e.icon = (e.icon || "").trim(), e.icon ? e.icon.startsWith("<svg") ? "svgHtml" : e.icon.endsWith(".svg") ? "svgHttp" : "img" : "text";
|
|
18695
|
+
}
|
|
18696
|
+
function Y5({ item: e }) {
|
|
18697
|
+
return (Wf.get(z5(e)) || Wf.get("text"))(e);
|
|
18698
|
+
}
|
|
18699
|
+
function vO({ ...e }) {
|
|
18700
|
+
var Fe, Ke, We, Ze, Qe;
|
|
18701
|
+
const t = e.item, n = e.level || 0, r = !!((Fe = e.item.children) != null && Fe.length), { isActive: i } = e, o = `level-${n}`, s = i(t.id) ? "active" : "", l = (he, Te = o) => `${he} ${Te} ${s}`, [c, d] = fn(!1), [v, p] = fn(t.isFavorite || !1), S = hn(), T = hn();
|
|
18702
|
+
T != null && T.current && ((Ke = T == null ? void 0 : T.current) == null ? void 0 : Ke.scrollWidth) > ((We = T == null ? void 0 : T.current) == null ? void 0 : We.clientWidth);
|
|
18703
|
+
const P = window.location.origin, R = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, L = window.location.pathname.split("/")[1], I = R.pathname.split("/")[1], U = e.ssr || !P.includes("local") && P !== R.origin || I !== L, W = r || n === 0 ? "div" : U ? "a" : L1, ee = t.path || "#", Z = n + 1, pe = r && c && n > 0, x = () => {
|
|
18704
|
+
d(!0);
|
|
18705
|
+
}, ue = () => {
|
|
18706
|
+
d(!1);
|
|
18707
|
+
}, oe = "/global-menu-config/api/v1/menu-items/user/set-favorite";
|
|
18601
18708
|
return /* @__PURE__ */ Ui(
|
|
18602
18709
|
"div",
|
|
18603
18710
|
{
|
|
18604
|
-
ref:
|
|
18605
|
-
className:
|
|
18711
|
+
ref: S,
|
|
18712
|
+
className: l("menu-item__wrapper tree-node"),
|
|
18606
18713
|
style: {
|
|
18714
|
+
// display: 'flex',
|
|
18715
|
+
// justifyContent: 'space-between',
|
|
18716
|
+
// height: '56px',
|
|
18717
|
+
// p: 2,
|
|
18607
18718
|
borderRadius: "8px",
|
|
18719
|
+
// marginLeft: `${indent}px`,
|
|
18720
|
+
// marginTop: '2px',
|
|
18721
|
+
// marginBottom: '8px',
|
|
18608
18722
|
transition: "all 0.3s"
|
|
18723
|
+
// border: `1px solid ${props.params.isDropTarget ? '#93D500' : 'transparent'}`,
|
|
18724
|
+
// backgroundColor: isLevel0 ? '#E5F5ED' : '#aca2a212',
|
|
18725
|
+
// ':hover': {
|
|
18726
|
+
// backgroundColor: isLevel0 ? '#d3eee0' : '#aca2a226',
|
|
18727
|
+
// },
|
|
18609
18728
|
},
|
|
18610
|
-
onMouseOver:
|
|
18611
|
-
onMouseOut:
|
|
18612
|
-
onDragStart: (
|
|
18613
|
-
|
|
18729
|
+
onMouseOver: x,
|
|
18730
|
+
onMouseOut: ue,
|
|
18731
|
+
onDragStart: (he) => {
|
|
18732
|
+
n > 1 && he.preventDefault();
|
|
18614
18733
|
},
|
|
18615
18734
|
children: [
|
|
18616
|
-
/* @__PURE__ */
|
|
18617
|
-
|
|
18735
|
+
/* @__PURE__ */ Ui(
|
|
18736
|
+
W,
|
|
18618
18737
|
{
|
|
18619
|
-
to:
|
|
18620
|
-
href:
|
|
18738
|
+
to: ee,
|
|
18739
|
+
href: ee,
|
|
18621
18740
|
draggable: "true",
|
|
18622
|
-
className:
|
|
18741
|
+
className: l("menu-item__link"),
|
|
18623
18742
|
style: {
|
|
18624
|
-
paddingLeft:
|
|
18743
|
+
// paddingLeft: paddingLeft,
|
|
18744
|
+
width: "100%",
|
|
18625
18745
|
transition: "all 0.3s",
|
|
18626
18746
|
// transitionDelay: '0.1s',
|
|
18627
|
-
color: i(t.id) ? ((
|
|
18628
|
-
backgroundColor: i(t.id) && n ===
|
|
18747
|
+
color: i(t.id) ? ((Ze = e.brandColors) == null ? void 0 : Ze.primary400) || _i.primary400 : void 0,
|
|
18748
|
+
backgroundColor: i(t.id) && n === 1 ? (Qe = e.brandColors) == null ? void 0 : Qe.primary200 : void 0
|
|
18629
18749
|
},
|
|
18630
|
-
|
|
18631
|
-
|
|
18750
|
+
onDragStart: (he) => {
|
|
18751
|
+
console.log("onDragStart component", he.target);
|
|
18632
18752
|
},
|
|
18633
18753
|
children: [
|
|
18634
|
-
/* @__PURE__ */ rt(
|
|
18635
|
-
/* @__PURE__ */ rt("span", { className:
|
|
18754
|
+
/* @__PURE__ */ rt(G5, { cls: l, item: t }),
|
|
18755
|
+
/* @__PURE__ */ rt("span", { className: l("menu-item__label"), ref: T, children: t.name }),
|
|
18636
18756
|
/* @__PURE__ */ rt(
|
|
18637
|
-
|
|
18757
|
+
q5,
|
|
18638
18758
|
{
|
|
18639
18759
|
menuLevel: n,
|
|
18640
18760
|
hasChildren: r,
|
|
18641
|
-
isHovered:
|
|
18642
|
-
isFavorite:
|
|
18643
|
-
onClick: (
|
|
18644
|
-
const
|
|
18761
|
+
isHovered: c,
|
|
18762
|
+
isFavorite: v,
|
|
18763
|
+
onClick: (he) => {
|
|
18764
|
+
const Te = {
|
|
18645
18765
|
menuConfigId: t.id,
|
|
18646
|
-
isFavorite:
|
|
18647
|
-
},
|
|
18648
|
-
Hs.post(
|
|
18649
|
-
var
|
|
18650
|
-
|
|
18651
|
-
}).catch((
|
|
18652
|
-
var
|
|
18766
|
+
isFavorite: he
|
|
18767
|
+
}, Ve = e.baseUrl + oe;
|
|
18768
|
+
Hs.post(Ve, Te).then((Je) => {
|
|
18769
|
+
var ot;
|
|
18770
|
+
p(he), OT("Set favorite menu item successfully"), (ot = e.onSetFavoriteSuccess) == null || ot.call(e, e.item.id, he);
|
|
18771
|
+
}).catch((Je) => {
|
|
18772
|
+
var ot, Ce;
|
|
18653
18773
|
zp(
|
|
18654
|
-
((
|
|
18774
|
+
((Ce = (ot = Je.response) == null ? void 0 : ot.data) == null ? void 0 : Ce.errorMessage) || "Have error when set favorite menu item"
|
|
18655
18775
|
);
|
|
18656
18776
|
});
|
|
18657
18777
|
}
|
|
18658
18778
|
}
|
|
18659
18779
|
),
|
|
18660
|
-
r && /* @__PURE__ */ rt("div", { className:
|
|
18661
|
-
p5,
|
|
18662
|
-
{
|
|
18663
|
-
className: d(
|
|
18664
|
-
`menu-item__icon-arrow__icon ${e.params.isOpen ? "open" : "close"}`
|
|
18665
|
-
)
|
|
18666
|
-
}
|
|
18667
|
-
) })
|
|
18780
|
+
r && /* @__PURE__ */ rt("div", { className: l("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(U5, { className: l("menu-item__icon-arrow__icon") }) })
|
|
18668
18781
|
]
|
|
18669
18782
|
}
|
|
18670
|
-
)
|
|
18671
|
-
|
|
18672
|
-
|
|
18783
|
+
),
|
|
18784
|
+
pe && /* @__PURE__ */ rt(
|
|
18785
|
+
W5,
|
|
18673
18786
|
{
|
|
18674
|
-
parentRef:
|
|
18675
|
-
onlyChild:
|
|
18676
|
-
|
|
18677
|
-
|
|
18787
|
+
parentRef: S,
|
|
18788
|
+
onlyChild: Z < 2,
|
|
18789
|
+
dropdownLevel: n,
|
|
18790
|
+
renderChildren: ({ maxHeight: he }) => {
|
|
18791
|
+
var Te;
|
|
18678
18792
|
return /* @__PURE__ */ rt(
|
|
18679
18793
|
lO.div,
|
|
18680
18794
|
{
|
|
18681
|
-
className:
|
|
18682
|
-
|
|
18683
|
-
`level-${
|
|
18795
|
+
className: l(
|
|
18796
|
+
"menu-item__dropdown dropdown-favorite ? 'menu-item__dropdown--open' : 'menu-item__dropdown--close'}",
|
|
18797
|
+
`level-${Z}`
|
|
18684
18798
|
),
|
|
18685
18799
|
style: fO(
|
|
18686
|
-
{ maxHeight:
|
|
18687
|
-
|
|
18800
|
+
{ maxHeight: he, overflowY: "auto", paddingRight: 3 },
|
|
18801
|
+
he !== "auto" && !!Z
|
|
18688
18802
|
),
|
|
18689
|
-
children: (
|
|
18803
|
+
children: (Te = t.children) == null ? void 0 : Te.map((Ve) => /* @__PURE__ */ Kd(
|
|
18690
18804
|
vO,
|
|
18691
18805
|
{
|
|
18692
18806
|
...e,
|
|
18693
|
-
key:
|
|
18694
|
-
item:
|
|
18695
|
-
level:
|
|
18807
|
+
key: Ve.id,
|
|
18808
|
+
item: Ve,
|
|
18809
|
+
level: Z
|
|
18696
18810
|
}
|
|
18697
18811
|
))
|
|
18698
18812
|
}
|
|
@@ -18704,103 +18818,53 @@ function vO({ ...e }) {
|
|
|
18704
18818
|
}
|
|
18705
18819
|
);
|
|
18706
18820
|
}
|
|
18707
|
-
function
|
|
18708
|
-
return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(
|
|
18821
|
+
function G5({ item: e, cls: t }) {
|
|
18822
|
+
return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(Y5, { item: e }) });
|
|
18709
18823
|
}
|
|
18710
|
-
function
|
|
18824
|
+
function q5(e) {
|
|
18711
18825
|
const t = {
|
|
18712
18826
|
marginRight: e.hasChildren ? 10 : 0,
|
|
18713
18827
|
fontSize: 22,
|
|
18714
|
-
fill: _i.warning
|
|
18828
|
+
fill: _i.warning,
|
|
18829
|
+
minWidth: 16
|
|
18715
18830
|
};
|
|
18716
|
-
|
|
18717
|
-
|
|
18718
|
-
|
|
18719
|
-
|
|
18720
|
-
|
|
18721
|
-
|
|
18722
|
-
|
|
18723
|
-
|
|
18724
|
-
|
|
18725
|
-
|
|
18726
|
-
|
|
18727
|
-
|
|
18728
|
-
|
|
18729
|
-
|
|
18730
|
-
)
|
|
18731
|
-
}
|
|
18732
|
-
),
|
|
18733
|
-
e.isFavorite && /* @__PURE__ */ rt(
|
|
18734
|
-
Id,
|
|
18735
|
-
{
|
|
18736
|
-
title: "Remove from favorites",
|
|
18737
|
-
children: /* @__PURE__ */ rt(
|
|
18738
|
-
cO,
|
|
18739
|
-
{
|
|
18740
|
-
style: t,
|
|
18741
|
-
onClick: (n) => {
|
|
18742
|
-
var r;
|
|
18743
|
-
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
|
|
18831
|
+
if (e.menuLevel !== 0)
|
|
18832
|
+
return /* @__PURE__ */ Ui(Bp, { children: [
|
|
18833
|
+
e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
|
|
18834
|
+
Id,
|
|
18835
|
+
{
|
|
18836
|
+
title: "Add to favorites",
|
|
18837
|
+
children: /* @__PURE__ */ rt(
|
|
18838
|
+
uO,
|
|
18839
|
+
{
|
|
18840
|
+
style: t,
|
|
18841
|
+
onClick: (n) => {
|
|
18842
|
+
var r;
|
|
18843
|
+
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
|
|
18844
|
+
}
|
|
18744
18845
|
}
|
|
18745
|
-
|
|
18746
|
-
|
|
18747
|
-
|
|
18748
|
-
|
|
18749
|
-
|
|
18750
|
-
}
|
|
18751
|
-
function z5() {
|
|
18752
|
-
return /* @__PURE__ */ rt(
|
|
18753
|
-
"svg",
|
|
18754
|
-
{
|
|
18755
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18756
|
-
width: "22",
|
|
18757
|
-
height: "22",
|
|
18758
|
-
fill: "currentColor",
|
|
18759
|
-
stroke: "currentColor",
|
|
18760
|
-
strokeWidth: "0",
|
|
18761
|
-
viewBox: "0 0 24 24",
|
|
18762
|
-
children: /* @__PURE__ */ rt("path", { d: "M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z" })
|
|
18763
|
-
}
|
|
18764
|
-
);
|
|
18765
|
-
}
|
|
18766
|
-
function Y5() {
|
|
18767
|
-
return /* @__PURE__ */ rt(
|
|
18768
|
-
"svg",
|
|
18769
|
-
{
|
|
18770
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18771
|
-
width: "22",
|
|
18772
|
-
height: "22",
|
|
18773
|
-
fill: "currentColor",
|
|
18774
|
-
stroke: "currentColor",
|
|
18775
|
-
strokeWidth: "0",
|
|
18776
|
-
viewBox: "0 0 24 24",
|
|
18777
|
-
children: /* @__PURE__ */ rt("path", { d: "M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" })
|
|
18778
|
-
}
|
|
18779
|
-
);
|
|
18780
|
-
}
|
|
18781
|
-
function G5(e) {
|
|
18782
|
-
return /* @__PURE__ */ rt(
|
|
18783
|
-
"svg",
|
|
18784
|
-
{
|
|
18785
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
18786
|
-
width: "18",
|
|
18787
|
-
height: "20",
|
|
18788
|
-
fill: "none",
|
|
18789
|
-
viewBox: "0 0 18 20",
|
|
18790
|
-
...e,
|
|
18791
|
-
children: /* @__PURE__ */ rt(
|
|
18792
|
-
"path",
|
|
18846
|
+
)
|
|
18847
|
+
}
|
|
18848
|
+
),
|
|
18849
|
+
e.isFavorite && /* @__PURE__ */ rt(
|
|
18850
|
+
Id,
|
|
18793
18851
|
{
|
|
18794
|
-
|
|
18795
|
-
|
|
18796
|
-
|
|
18797
|
-
|
|
18852
|
+
title: "Remove from favorites",
|
|
18853
|
+
children: /* @__PURE__ */ rt(
|
|
18854
|
+
cO,
|
|
18855
|
+
{
|
|
18856
|
+
style: t,
|
|
18857
|
+
onClick: (n) => {
|
|
18858
|
+
var r;
|
|
18859
|
+
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
|
|
18860
|
+
}
|
|
18861
|
+
}
|
|
18862
|
+
)
|
|
18798
18863
|
}
|
|
18799
18864
|
)
|
|
18800
|
-
}
|
|
18801
|
-
);
|
|
18865
|
+
] });
|
|
18802
18866
|
}
|
|
18803
|
-
const
|
|
18867
|
+
const X5 = `.flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{transition:all .3s;padding:0 4px}.side-bar{display:flex;height:56px;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;width:100%}.scrollbar-hidden::-webkit-scrollbar{width:2px;background:transparent}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;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;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;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.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,.menu-item__link.active.level-10{background-color:inherit;color:inherit}.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-10:hover{background-color:#919eab14}.menu-item__link.menu-item__link.level-0{padding:0;background-color:#919eab14;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.level-1>*{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;color:#292929;opacity:1}.menu-item__label.level-1{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.level-0,.menu-item__label.level-1{font-size:.875rem;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:8px}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.level-0{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.open{transform:rotate(0)!important}.menu-item__dropdown{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.dropdown-favorite{width:auto;min-width:180px;max-width:350px}.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:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown .menu-item__link{height:40px}.menu-item__dropdown .menu-item__link.level-1{height:48px}.menu-item__dropdown.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.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 .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
18804
18868
|
`;
|
|
18805
18869
|
var Oc = {};
|
|
18806
18870
|
/**
|
|
@@ -18813,7 +18877,7 @@ var Oc = {};
|
|
|
18813
18877
|
* LICENSE file in the root directory of this source tree.
|
|
18814
18878
|
*/
|
|
18815
18879
|
var f1;
|
|
18816
|
-
function
|
|
18880
|
+
function K5() {
|
|
18817
18881
|
if (f1)
|
|
18818
18882
|
return Oc;
|
|
18819
18883
|
f1 = 1;
|
|
@@ -19342,7 +19406,7 @@ function X5() {
|
|
|
19342
19406
|
throw Error(t(395));
|
|
19343
19407
|
return E.push(q), E.push('"></template>');
|
|
19344
19408
|
}
|
|
19345
|
-
function
|
|
19409
|
+
function he(E, B, q, ne) {
|
|
19346
19410
|
switch (q.insertionMode) {
|
|
19347
19411
|
case 0:
|
|
19348
19412
|
case 1:
|
|
@@ -19405,7 +19469,7 @@ function X5() {
|
|
|
19405
19469
|
function Ce(E, B, q, ne) {
|
|
19406
19470
|
return q.generateStaticMarkup ? (E.push(P(B)), !1) : (B === "" ? E = ne : (ne && E.push("<!-- -->"), E.push(P(B)), E = !0), E);
|
|
19407
19471
|
}
|
|
19408
|
-
var De = Object.assign,
|
|
19472
|
+
var De = Object.assign, Be = Symbol.for("react.element"), He = Symbol.for("react.portal"), Pe = Symbol.for("react.fragment"), Le = Symbol.for("react.strict_mode"), ze = Symbol.for("react.profiler"), st = Symbol.for("react.provider"), mt = Symbol.for("react.context"), wt = Symbol.for("react.forward_ref"), vt = Symbol.for("react.suspense"), Et = Symbol.for("react.suspense_list"), it = Symbol.for("react.memo"), Vt = Symbol.for("react.lazy"), Ut = Symbol.for("react.scope"), er = Symbol.for("react.debug_trace_mode"), Er = Symbol.for("react.legacy_hidden"), tr = Symbol.for("react.default_value"), Pn = Symbol.iterator;
|
|
19409
19473
|
function zi(E) {
|
|
19410
19474
|
if (E == null)
|
|
19411
19475
|
return null;
|
|
@@ -19831,7 +19895,7 @@ function X5() {
|
|
|
19831
19895
|
function wn(E, B, q) {
|
|
19832
19896
|
if (B.node = q, typeof q == "object" && q !== null) {
|
|
19833
19897
|
switch (q.$$typeof) {
|
|
19834
|
-
case
|
|
19898
|
+
case Be:
|
|
19835
19899
|
Xn(E, B, q.type, q.props, q.ref);
|
|
19836
19900
|
return;
|
|
19837
19901
|
case He:
|
|
@@ -19991,7 +20055,7 @@ function X5() {
|
|
|
19991
20055
|
return li(E, B, q[0]), E = E.responseState.generateStaticMarkup ? !0 : B.push("<!--/$-->"), E;
|
|
19992
20056
|
}
|
|
19993
20057
|
function Ki(E, B, q) {
|
|
19994
|
-
return
|
|
20058
|
+
return he(B, E.responseState, q.formatContext, q.id), li(E, B, q), Te(B, q.formatContext);
|
|
19995
20059
|
}
|
|
19996
20060
|
function Mn(E, B, q) {
|
|
19997
20061
|
for (var ne = q.completedSegments, Oe = 0; Oe < ne.length; Oe++)
|
|
@@ -20144,7 +20208,7 @@ var Xh = {};
|
|
|
20144
20208
|
* LICENSE file in the root directory of this source tree.
|
|
20145
20209
|
*/
|
|
20146
20210
|
var d1;
|
|
20147
|
-
function
|
|
20211
|
+
function Z5() {
|
|
20148
20212
|
if (d1)
|
|
20149
20213
|
return Xh;
|
|
20150
20214
|
d1 = 1;
|
|
@@ -20184,8 +20248,8 @@ function K5() {
|
|
|
20184
20248
|
function R(k) {
|
|
20185
20249
|
return p.call(P, k) ? !0 : p.call(T, k) ? !1 : S.test(k) ? P[k] = !0 : (T[k] = !0, !1);
|
|
20186
20250
|
}
|
|
20187
|
-
function L(k, F, z, te, Se, xe,
|
|
20188
|
-
this.acceptsBooleans = F === 2 || F === 3 || F === 4, this.attributeName = te, this.attributeNamespace = Se, this.mustUseProperty = z, this.propertyName = k, this.type = F, this.sanitizeURL = xe, this.removeEmptyString =
|
|
20251
|
+
function L(k, F, z, te, Se, xe, je) {
|
|
20252
|
+
this.acceptsBooleans = F === 2 || F === 3 || F === 4, this.attributeName = te, this.attributeNamespace = Se, this.mustUseProperty = z, this.propertyName = k, this.type = F, this.sanitizeURL = xe, this.removeEmptyString = je;
|
|
20189
20253
|
}
|
|
20190
20254
|
var I = {};
|
|
20191
20255
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k) {
|
|
@@ -20313,7 +20377,7 @@ function K5() {
|
|
|
20313
20377
|
}
|
|
20314
20378
|
return k;
|
|
20315
20379
|
}
|
|
20316
|
-
var ue = /([A-Z])/g, oe = /^ms-/, Fe = Array.isArray, Ke = d("<script>"), We = d("<\/script>"), Ze = d('<script src="'), Qe = d('<script type="module" src="'),
|
|
20380
|
+
var ue = /([A-Z])/g, oe = /^ms-/, Fe = Array.isArray, Ke = d("<script>"), We = d("<\/script>"), Ze = d('<script src="'), Qe = d('<script type="module" src="'), he = d('" async=""><\/script>'), Te = /(<\/|<)(s)(cript)/gi;
|
|
20317
20381
|
function Ve(k, F, z, te) {
|
|
20318
20382
|
return "" + F + (z === "s" ? "\\u0073" : "\\u0053") + te;
|
|
20319
20383
|
}
|
|
@@ -20322,10 +20386,10 @@ function K5() {
|
|
|
20322
20386
|
var xe = [];
|
|
20323
20387
|
if (z !== void 0 && xe.push(F, c(("" + z).replace(Te, Ve)), We), te !== void 0)
|
|
20324
20388
|
for (z = 0; z < te.length; z++)
|
|
20325
|
-
xe.push(Ze, c(x(te[z])),
|
|
20389
|
+
xe.push(Ze, c(x(te[z])), he);
|
|
20326
20390
|
if (Se !== void 0)
|
|
20327
20391
|
for (te = 0; te < Se.length; te++)
|
|
20328
|
-
xe.push(Qe, c(x(Se[te])),
|
|
20392
|
+
xe.push(Qe, c(x(Se[te])), he);
|
|
20329
20393
|
return { bootstrapChunks: xe, startInlineScript: F, placeholderPrefix: d(k + "P:"), segmentPrefix: d(k + "S:"), boundaryPrefix: k + "B:", idPrefix: k, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
20330
20394
|
}
|
|
20331
20395
|
function ot(k, F) {
|
|
@@ -20357,9 +20421,9 @@ function K5() {
|
|
|
20357
20421
|
}
|
|
20358
20422
|
return 4 <= k.insertionMode || k.insertionMode === 0 ? ot(1, null) : k;
|
|
20359
20423
|
}
|
|
20360
|
-
var
|
|
20424
|
+
var Be = d("<!-- -->");
|
|
20361
20425
|
function He(k, F, z, te) {
|
|
20362
|
-
return F === "" ? te : (te && k.push(
|
|
20426
|
+
return F === "" ? te : (te && k.push(Be), k.push(c(x(F))), !0);
|
|
20363
20427
|
}
|
|
20364
20428
|
var Pe = /* @__PURE__ */ new Map(), Le = d(' style="'), ze = d(":"), st = d(";");
|
|
20365
20429
|
function mt(k, F, z) {
|
|
@@ -20375,8 +20439,8 @@ function K5() {
|
|
|
20375
20439
|
Se = c(x(("" + Se).trim()));
|
|
20376
20440
|
} else {
|
|
20377
20441
|
xe = te;
|
|
20378
|
-
var
|
|
20379
|
-
|
|
20442
|
+
var je = Pe.get(xe);
|
|
20443
|
+
je !== void 0 || (je = d(x(xe.replace(ue, "-$1").toLowerCase().replace(oe, "-ms-"))), Pe.set(xe, je)), xe = je, Se = typeof Se == "number" ? Se === 0 || p.call(ee, te) ? c("" + Se) : c(Se + "px") : c(x(("" + Se).trim()));
|
|
20380
20444
|
}
|
|
20381
20445
|
F ? (F = !1, k.push(Le, xe, ze, Se)) : k.push(st, xe, ze, Se);
|
|
20382
20446
|
}
|
|
@@ -20457,17 +20521,17 @@ function K5() {
|
|
|
20457
20521
|
var Se = z = null, xe;
|
|
20458
20522
|
for (xe in F)
|
|
20459
20523
|
if (p.call(F, xe)) {
|
|
20460
|
-
var
|
|
20461
|
-
if (
|
|
20524
|
+
var je = F[xe];
|
|
20525
|
+
if (je != null)
|
|
20462
20526
|
switch (xe) {
|
|
20463
20527
|
case "children":
|
|
20464
|
-
z =
|
|
20528
|
+
z = je;
|
|
20465
20529
|
break;
|
|
20466
20530
|
case "dangerouslySetInnerHTML":
|
|
20467
|
-
Se =
|
|
20531
|
+
Se = je;
|
|
20468
20532
|
break;
|
|
20469
20533
|
default:
|
|
20470
|
-
Vt(k, te, xe,
|
|
20534
|
+
Vt(k, te, xe, je);
|
|
20471
20535
|
}
|
|
20472
20536
|
}
|
|
20473
20537
|
return k.push(Ut), Er(k, Se, z), typeof z == "string" ? (k.push(c(x(z))), null) : z;
|
|
@@ -20488,7 +20552,7 @@ function K5() {
|
|
|
20488
20552
|
switch (F) {
|
|
20489
20553
|
case "select":
|
|
20490
20554
|
k.push(mn("select"));
|
|
20491
|
-
var xe = null,
|
|
20555
|
+
var xe = null, je = null;
|
|
20492
20556
|
for (_t in z)
|
|
20493
20557
|
if (p.call(z, _t)) {
|
|
20494
20558
|
var et = z[_t];
|
|
@@ -20498,7 +20562,7 @@ function K5() {
|
|
|
20498
20562
|
xe = et;
|
|
20499
20563
|
break;
|
|
20500
20564
|
case "dangerouslySetInnerHTML":
|
|
20501
|
-
|
|
20565
|
+
je = et;
|
|
20502
20566
|
break;
|
|
20503
20567
|
case "defaultValue":
|
|
20504
20568
|
case "value":
|
|
@@ -20507,9 +20571,9 @@ function K5() {
|
|
|
20507
20571
|
Vt(k, te, _t, et);
|
|
20508
20572
|
}
|
|
20509
20573
|
}
|
|
20510
|
-
return k.push(Ut), Er(k,
|
|
20574
|
+
return k.push(Ut), Er(k, je, xe), xe;
|
|
20511
20575
|
case "option":
|
|
20512
|
-
|
|
20576
|
+
je = Se.selectedValue, k.push(mn("option"));
|
|
20513
20577
|
var St = et = null, Bt = null, _t = null;
|
|
20514
20578
|
for (xe in z)
|
|
20515
20579
|
if (p.call(z, xe)) {
|
|
@@ -20531,20 +20595,20 @@ function K5() {
|
|
|
20531
20595
|
Vt(k, te, xe, Ct);
|
|
20532
20596
|
}
|
|
20533
20597
|
}
|
|
20534
|
-
if (
|
|
20535
|
-
if (z = St !== null ? "" + St : tr(et), Fe(
|
|
20536
|
-
for (te = 0; te <
|
|
20537
|
-
if ("" +
|
|
20598
|
+
if (je != null)
|
|
20599
|
+
if (z = St !== null ? "" + St : tr(et), Fe(je)) {
|
|
20600
|
+
for (te = 0; te < je.length; te++)
|
|
20601
|
+
if ("" + je[te] === z) {
|
|
20538
20602
|
k.push(Pn);
|
|
20539
20603
|
break;
|
|
20540
20604
|
}
|
|
20541
20605
|
} else
|
|
20542
|
-
"" +
|
|
20606
|
+
"" + je === z && k.push(Pn);
|
|
20543
20607
|
else
|
|
20544
20608
|
Bt && k.push(Pn);
|
|
20545
20609
|
return k.push(Ut), Er(k, _t, et), et;
|
|
20546
20610
|
case "textarea":
|
|
20547
|
-
k.push(mn("textarea")), _t =
|
|
20611
|
+
k.push(mn("textarea")), _t = je = xe = null;
|
|
20548
20612
|
for (et in z)
|
|
20549
20613
|
if (p.call(z, et) && (St = z[et], St != null))
|
|
20550
20614
|
switch (et) {
|
|
@@ -20555,14 +20619,14 @@ function K5() {
|
|
|
20555
20619
|
xe = St;
|
|
20556
20620
|
break;
|
|
20557
20621
|
case "defaultValue":
|
|
20558
|
-
|
|
20622
|
+
je = St;
|
|
20559
20623
|
break;
|
|
20560
20624
|
case "dangerouslySetInnerHTML":
|
|
20561
20625
|
throw Error(t(91));
|
|
20562
20626
|
default:
|
|
20563
20627
|
Vt(k, te, et, St);
|
|
20564
20628
|
}
|
|
20565
|
-
if (xe === null &&
|
|
20629
|
+
if (xe === null && je !== null && (xe = je), k.push(Ut), _t != null) {
|
|
20566
20630
|
if (xe != null)
|
|
20567
20631
|
throw Error(t(92));
|
|
20568
20632
|
if (Fe(_t) && 1 < _t.length)
|
|
@@ -20573,9 +20637,9 @@ function K5() {
|
|
|
20573
20637
|
` && k.push(Lr), xe !== null && k.push(c(x("" + xe))), null;
|
|
20574
20638
|
case "input":
|
|
20575
20639
|
k.push(mn("input")), St = _t = et = xe = null;
|
|
20576
|
-
for (
|
|
20577
|
-
if (p.call(z,
|
|
20578
|
-
switch (
|
|
20640
|
+
for (je in z)
|
|
20641
|
+
if (p.call(z, je) && (Bt = z[je], Bt != null))
|
|
20642
|
+
switch (je) {
|
|
20579
20643
|
case "children":
|
|
20580
20644
|
case "dangerouslySetInnerHTML":
|
|
20581
20645
|
throw Error(t(399, "input"));
|
|
@@ -20592,7 +20656,7 @@ function K5() {
|
|
|
20592
20656
|
xe = Bt;
|
|
20593
20657
|
break;
|
|
20594
20658
|
default:
|
|
20595
|
-
Vt(k, te,
|
|
20659
|
+
Vt(k, te, je, Bt);
|
|
20596
20660
|
}
|
|
20597
20661
|
return _t !== null ? Vt(
|
|
20598
20662
|
k,
|
|
@@ -20615,20 +20679,20 @@ function K5() {
|
|
|
20615
20679
|
case "title":
|
|
20616
20680
|
k.push(mn("title")), xe = null;
|
|
20617
20681
|
for (Ct in z)
|
|
20618
|
-
if (p.call(z, Ct) && (
|
|
20682
|
+
if (p.call(z, Ct) && (je = z[Ct], je != null))
|
|
20619
20683
|
switch (Ct) {
|
|
20620
20684
|
case "children":
|
|
20621
|
-
xe =
|
|
20685
|
+
xe = je;
|
|
20622
20686
|
break;
|
|
20623
20687
|
case "dangerouslySetInnerHTML":
|
|
20624
20688
|
throw Error(t(434));
|
|
20625
20689
|
default:
|
|
20626
|
-
Vt(k, te, Ct,
|
|
20690
|
+
Vt(k, te, Ct, je);
|
|
20627
20691
|
}
|
|
20628
20692
|
return k.push(Ut), xe;
|
|
20629
20693
|
case "listing":
|
|
20630
20694
|
case "pre":
|
|
20631
|
-
k.push(mn(F)),
|
|
20695
|
+
k.push(mn(F)), je = xe = null;
|
|
20632
20696
|
for (St in z)
|
|
20633
20697
|
if (p.call(z, St) && (et = z[St], et != null))
|
|
20634
20698
|
switch (St) {
|
|
@@ -20636,17 +20700,17 @@ function K5() {
|
|
|
20636
20700
|
xe = et;
|
|
20637
20701
|
break;
|
|
20638
20702
|
case "dangerouslySetInnerHTML":
|
|
20639
|
-
|
|
20703
|
+
je = et;
|
|
20640
20704
|
break;
|
|
20641
20705
|
default:
|
|
20642
20706
|
Vt(k, te, St, et);
|
|
20643
20707
|
}
|
|
20644
|
-
if (k.push(Ut),
|
|
20708
|
+
if (k.push(Ut), je != null) {
|
|
20645
20709
|
if (xe != null)
|
|
20646
20710
|
throw Error(t(60));
|
|
20647
|
-
if (typeof
|
|
20711
|
+
if (typeof je != "object" || !("__html" in je))
|
|
20648
20712
|
throw Error(t(61));
|
|
20649
|
-
z =
|
|
20713
|
+
z = je.__html, z != null && (typeof z == "string" && 0 < z.length && z[0] === `
|
|
20650
20714
|
` ? k.push(Lr, c(z)) : k.push(c("" + z)));
|
|
20651
20715
|
}
|
|
20652
20716
|
return typeof xe == "string" && xe[0] === `
|
|
@@ -20690,7 +20754,7 @@ function K5() {
|
|
|
20690
20754
|
default:
|
|
20691
20755
|
if (F.indexOf("-") === -1 && typeof z.is != "string")
|
|
20692
20756
|
return zi(k, z, F, te);
|
|
20693
|
-
k.push(mn(F)),
|
|
20757
|
+
k.push(mn(F)), je = xe = null;
|
|
20694
20758
|
for (Bt in z)
|
|
20695
20759
|
if (p.call(z, Bt) && (et = z[Bt], et != null))
|
|
20696
20760
|
switch (Bt) {
|
|
@@ -20698,7 +20762,7 @@ function K5() {
|
|
|
20698
20762
|
xe = et;
|
|
20699
20763
|
break;
|
|
20700
20764
|
case "dangerouslySetInnerHTML":
|
|
20701
|
-
|
|
20765
|
+
je = et;
|
|
20702
20766
|
break;
|
|
20703
20767
|
case "style":
|
|
20704
20768
|
mt(k, te, et);
|
|
@@ -20709,7 +20773,7 @@ function K5() {
|
|
|
20709
20773
|
default:
|
|
20710
20774
|
R(Bt) && typeof et != "function" && typeof et != "symbol" && k.push(wt, c(Bt), vt, c(x(et)), Et);
|
|
20711
20775
|
}
|
|
20712
|
-
return k.push(Ut), Er(k,
|
|
20776
|
+
return k.push(Ut), Er(k, je, xe), xe;
|
|
20713
20777
|
}
|
|
20714
20778
|
}
|
|
20715
20779
|
var Ln = d("</"), vi = d(">"), dn = d('<template id="'), Yi = d('"></template>'), Gi = d("<!--$-->"), qi = d('<!--$?--><template id="'), Fr = d('"></template>'), qn = d("<!--$!-->"), Nr = d("<!--/$-->"), kr = d("<template"), ei = d('"'), ti = d(' data-dgst="');
|
|
@@ -20883,14 +20947,14 @@ function K5() {
|
|
|
20883
20947
|
k.updater = Ji, k.props = z, k.state = Se;
|
|
20884
20948
|
var xe = { queue: [], replace: !1 };
|
|
20885
20949
|
k._reactInternals = xe;
|
|
20886
|
-
var
|
|
20887
|
-
if (k.context = typeof
|
|
20950
|
+
var je = F.contextType;
|
|
20951
|
+
if (k.context = typeof je == "object" && je !== null ? je._currentValue : te, je = F.getDerivedStateFromProps, typeof je == "function" && (je = je(z, Se), Se = je == null ? Se : ai({}, Se, je), k.state = Se), typeof F.getDerivedStateFromProps != "function" && typeof k.getSnapshotBeforeUpdate != "function" && (typeof k.UNSAFE_componentWillMount == "function" || typeof k.componentWillMount == "function"))
|
|
20888
20952
|
if (F = k.state, typeof k.componentWillMount == "function" && k.componentWillMount(), typeof k.UNSAFE_componentWillMount == "function" && k.UNSAFE_componentWillMount(), F !== k.state && Ji.enqueueReplaceState(k, k.state, null), xe.queue !== null && 0 < xe.queue.length)
|
|
20889
|
-
if (F = xe.queue,
|
|
20953
|
+
if (F = xe.queue, je = xe.replace, xe.queue = null, xe.replace = !1, je && F.length === 1)
|
|
20890
20954
|
k.state = F[0];
|
|
20891
20955
|
else {
|
|
20892
|
-
for (xe =
|
|
20893
|
-
var et = F[
|
|
20956
|
+
for (xe = je ? F[0] : k.state, Se = !0, je = je ? 1 : 0; je < F.length; je++) {
|
|
20957
|
+
var et = F[je];
|
|
20894
20958
|
et = typeof et == "function" ? et.call(k, xe, z, te) : et, et != null && (Se ? (Se = !1, xe = ai({}, xe, et)) : ai(xe, et));
|
|
20895
20959
|
}
|
|
20896
20960
|
k.state = xe;
|
|
@@ -20906,8 +20970,8 @@ function K5() {
|
|
|
20906
20970
|
te &= ~(1 << Se), z += 1;
|
|
20907
20971
|
var xe = 32 - jo(F) + Se;
|
|
20908
20972
|
if (30 < xe) {
|
|
20909
|
-
var
|
|
20910
|
-
return xe = (te & (1 <<
|
|
20973
|
+
var je = Se - Se % 5;
|
|
20974
|
+
return xe = (te & (1 << je) - 1).toString(32), te >>= je, Se -= je, { id: 1 << 32 - jo(F) + Se | z << Se | te, overflow: xe + k };
|
|
20911
20975
|
}
|
|
20912
20976
|
return { id: 1 << xe | z << Se | te, overflow: k };
|
|
20913
20977
|
}
|
|
@@ -21029,16 +21093,16 @@ function K5() {
|
|
|
21029
21093
|
}
|
|
21030
21094
|
function O() {
|
|
21031
21095
|
}
|
|
21032
|
-
function N(k, F, z, te, Se, xe,
|
|
21096
|
+
function N(k, F, z, te, Se, xe, je, et, St) {
|
|
21033
21097
|
var Bt = [], _t = /* @__PURE__ */ new Set();
|
|
21034
|
-
return F = { destination: null, responseState: F, progressiveChunkSize: te === void 0 ? 12800 : te, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: _t, pingedTasks: Bt, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: Se === void 0 ? C : Se, onAllReady: xe === void 0 ? O : xe, onShellReady:
|
|
21098
|
+
return F = { destination: null, responseState: F, progressiveChunkSize: te === void 0 ? 12800 : te, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: _t, pingedTasks: Bt, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: Se === void 0 ? C : Se, onAllReady: xe === void 0 ? O : xe, onShellReady: je === void 0 ? O : je, onShellError: et === void 0 ? O : et, onFatalError: St === void 0 ? O : St }, z = H(F, 0, null, z, !1, !1), z.parentFlushed = !0, k = j(F, k, null, z, _t, yt, null, Qi), Bt.push(k), F;
|
|
21035
21099
|
}
|
|
21036
|
-
function j(k, F, z, te, Se, xe,
|
|
21100
|
+
function j(k, F, z, te, Se, xe, je, et) {
|
|
21037
21101
|
k.allPendingTasks++, z === null ? k.pendingRootTasks++ : z.pendingTasks++;
|
|
21038
21102
|
var St = { node: F, ping: function() {
|
|
21039
21103
|
var Bt = k.pingedTasks;
|
|
21040
21104
|
Bt.push(St), Bt.length === 1 && Yr(k);
|
|
21041
|
-
}, blockedBoundary: z, blockedSegment: te, abortSet: Se, legacyContext: xe, context:
|
|
21105
|
+
}, blockedBoundary: z, blockedSegment: te, abortSet: Se, legacyContext: xe, context: je, treeContext: et };
|
|
21042
21106
|
return Se.add(St), St;
|
|
21043
21107
|
}
|
|
21044
21108
|
function H(k, F, z, te, Se, xe) {
|
|
@@ -21061,17 +21125,17 @@ function K5() {
|
|
|
21061
21125
|
function Me(k, F, z, te) {
|
|
21062
21126
|
var Se = z.render(), xe = te.childContextTypes;
|
|
21063
21127
|
if (xe != null) {
|
|
21064
|
-
var
|
|
21128
|
+
var je = F.legacyContext;
|
|
21065
21129
|
if (typeof z.getChildContext != "function")
|
|
21066
|
-
te =
|
|
21130
|
+
te = je;
|
|
21067
21131
|
else {
|
|
21068
21132
|
z = z.getChildContext();
|
|
21069
21133
|
for (var et in z)
|
|
21070
21134
|
if (!(et in xe))
|
|
21071
21135
|
throw Error(t(108, tt(te) || "Unknown", et));
|
|
21072
|
-
te = ai({},
|
|
21136
|
+
te = ai({}, je, z);
|
|
21073
21137
|
}
|
|
21074
|
-
F.legacyContext = te, Ye(k, F, Se), F.legacyContext =
|
|
21138
|
+
F.legacyContext = te, Ye(k, F, Se), F.legacyContext = je;
|
|
21075
21139
|
} else
|
|
21076
21140
|
Ye(k, F, Se);
|
|
21077
21141
|
}
|
|
@@ -21092,10 +21156,10 @@ function K5() {
|
|
|
21092
21156
|
xe = new z(te, typeof xe == "object" && xe !== null ? xe._currentValue : Se), Ti(xe, z, te, Se), Me(k, F, xe, z);
|
|
21093
21157
|
} else {
|
|
21094
21158
|
xe = Tt(z, F.legacyContext), Se = be(k, F, z, te, xe);
|
|
21095
|
-
var
|
|
21159
|
+
var je = Ai !== 0;
|
|
21096
21160
|
if (typeof Se == "object" && Se !== null && typeof Se.render == "function" && Se.$$typeof === void 0)
|
|
21097
21161
|
Ti(Se, z, te, xe), Me(k, F, Se, z);
|
|
21098
|
-
else if (
|
|
21162
|
+
else if (je) {
|
|
21099
21163
|
te = F.treeContext, F.treeContext = Wr(te, 1, 0);
|
|
21100
21164
|
try {
|
|
21101
21165
|
Ye(k, F, Se);
|
|
@@ -21106,7 +21170,7 @@ function K5() {
|
|
|
21106
21170
|
Ye(k, F, Se);
|
|
21107
21171
|
}
|
|
21108
21172
|
else if (typeof z == "string") {
|
|
21109
|
-
switch (Se = F.blockedSegment, xe = gt(Se.chunks, z, te, k.responseState, Se.formatContext), Se.lastPushedText = !1,
|
|
21173
|
+
switch (Se = F.blockedSegment, xe = gt(Se.chunks, z, te, k.responseState, Se.formatContext), Se.lastPushedText = !1, je = Se.formatContext, Se.formatContext = De(je, z, te), Dt(k, F, xe), Se.formatContext = je, z) {
|
|
21110
21174
|
case "area":
|
|
21111
21175
|
case "base":
|
|
21112
21176
|
case "br":
|
|
@@ -21143,8 +21207,8 @@ function K5() {
|
|
|
21143
21207
|
throw Error(t(343));
|
|
21144
21208
|
case Zi:
|
|
21145
21209
|
e: {
|
|
21146
|
-
z = F.blockedBoundary, Se = F.blockedSegment, xe = te.fallback, te = te.children,
|
|
21147
|
-
var et = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks:
|
|
21210
|
+
z = F.blockedBoundary, Se = F.blockedSegment, xe = te.fallback, te = te.children, je = /* @__PURE__ */ new Set();
|
|
21211
|
+
var et = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks: je, errorDigest: null }, St = H(k, Se.chunks.length, et, Se.formatContext, !1, !1);
|
|
21148
21212
|
Se.children.push(St), Se.lastPushedText = !1;
|
|
21149
21213
|
var Bt = H(k, 0, null, Se.formatContext, !1, !1);
|
|
21150
21214
|
Bt.parentFlushed = !0, F.blockedBoundary = et, F.blockedSegment = Bt;
|
|
@@ -21153,14 +21217,14 @@ function K5() {
|
|
|
21153
21217
|
k,
|
|
21154
21218
|
F,
|
|
21155
21219
|
te
|
|
21156
|
-
), Bt.lastPushedText && Bt.textEmbedded && Bt.chunks.push(
|
|
21220
|
+
), Bt.lastPushedText && Bt.textEmbedded && Bt.chunks.push(Be), Bt.status = 1, vn(et, Bt), et.pendingTasks === 0)
|
|
21157
21221
|
break e;
|
|
21158
21222
|
} catch (_t) {
|
|
21159
21223
|
Bt.status = 4, et.forceClientRender = !0, et.errorDigest = le(k, _t);
|
|
21160
21224
|
} finally {
|
|
21161
21225
|
F.blockedBoundary = z, F.blockedSegment = Se;
|
|
21162
21226
|
}
|
|
21163
|
-
F = j(k, xe, z, St,
|
|
21227
|
+
F = j(k, xe, z, St, je, F.legacyContext, F.context, F.treeContext), k.pingedTasks.push(F);
|
|
21164
21228
|
}
|
|
21165
21229
|
return;
|
|
21166
21230
|
}
|
|
@@ -21181,7 +21245,7 @@ function K5() {
|
|
|
21181
21245
|
z = z.type, te = Ne(z, te), Ee(k, F, z, te, Se);
|
|
21182
21246
|
return;
|
|
21183
21247
|
case Pr:
|
|
21184
|
-
if (Se = te.children, z = z._context, te = te.value, xe = z._currentValue, z._currentValue = te,
|
|
21248
|
+
if (Se = te.children, z = z._context, te = te.value, xe = z._currentValue, z._currentValue = te, je = bt, bt = te = { parent: je, depth: je === null ? 0 : je.depth + 1, context: z, parentValue: xe, value: te }, F.context = te, Ye(k, F, Se), k = bt, k === null)
|
|
21185
21249
|
throw Error(t(403));
|
|
21186
21250
|
te = k.parentValue, k.context._currentValue = te === ye ? k.context._defaultValue : te, k = bt = k.parent, F.context = k;
|
|
21187
21251
|
return;
|
|
@@ -21248,8 +21312,8 @@ function K5() {
|
|
|
21248
21312
|
} catch (St) {
|
|
21249
21313
|
if (ca(), typeof St == "object" && St !== null && typeof St.then == "function") {
|
|
21250
21314
|
z = St;
|
|
21251
|
-
var
|
|
21252
|
-
|
|
21315
|
+
var je = F.blockedSegment, et = H(k, je.chunks.length, null, je.formatContext, je.lastPushedText, !0);
|
|
21316
|
+
je.children.push(et), je.lastPushedText = !1, k = j(k, F.node, F.blockedBoundary, et, F.abortSet, F.legacyContext, F.context, F.treeContext).ping, z.then(k, k), F.blockedSegment.formatContext = te, F.legacyContext = Se, F.context = xe, cr(xe);
|
|
21253
21317
|
} else
|
|
21254
21318
|
throw F.blockedSegment.formatContext = te, F.legacyContext = Se, F.context = xe, cr(xe), St;
|
|
21255
21319
|
}
|
|
@@ -21292,18 +21356,18 @@ function K5() {
|
|
|
21292
21356
|
try {
|
|
21293
21357
|
var Se = k.pingedTasks, xe;
|
|
21294
21358
|
for (xe = 0; xe < Se.length; xe++) {
|
|
21295
|
-
var
|
|
21359
|
+
var je = Se[xe], et = k, St = je.blockedSegment;
|
|
21296
21360
|
if (St.status === 0) {
|
|
21297
|
-
cr(
|
|
21361
|
+
cr(je.context);
|
|
21298
21362
|
try {
|
|
21299
|
-
Ye(et,
|
|
21363
|
+
Ye(et, je, je.node), St.lastPushedText && St.textEmbedded && St.chunks.push(Be), je.abortSet.delete(je), St.status = 1, zr(et, je.blockedBoundary, St);
|
|
21300
21364
|
} catch (Zn) {
|
|
21301
21365
|
if (ca(), typeof Zn == "object" && Zn !== null && typeof Zn.then == "function") {
|
|
21302
|
-
var Bt =
|
|
21366
|
+
var Bt = je.ping;
|
|
21303
21367
|
Zn.then(Bt, Bt);
|
|
21304
21368
|
} else {
|
|
21305
|
-
|
|
21306
|
-
var _t =
|
|
21369
|
+
je.abortSet.delete(je), St.status = 4;
|
|
21370
|
+
var _t = je.blockedBoundary, Ct = Zn, Un = le(et, Ct);
|
|
21307
21371
|
if (_t === null ? ie(et, Ct) : (_t.pendingTasks--, _t.forceClientRender || (_t.forceClientRender = !0, _t.errorDigest = Un, _t.parentFlushed && et.clientRenderedBoundaries.push(_t))), et.allPendingTasks--, et.allPendingTasks === 0) {
|
|
21308
21372
|
var On = et.onAllReady;
|
|
21309
21373
|
On();
|
|
@@ -21332,8 +21396,8 @@ function K5() {
|
|
|
21332
21396
|
te = z.chunks;
|
|
21333
21397
|
var xe = 0;
|
|
21334
21398
|
z = z.children;
|
|
21335
|
-
for (var
|
|
21336
|
-
for (Se = z[
|
|
21399
|
+
for (var je = 0; je < z.length; je++) {
|
|
21400
|
+
for (Se = z[je]; xe < Se.index; xe++)
|
|
21337
21401
|
i(F, te[xe]);
|
|
21338
21402
|
Se = Gr(k, F, Se);
|
|
21339
21403
|
}
|
|
@@ -21397,9 +21461,9 @@ function K5() {
|
|
|
21397
21461
|
}
|
|
21398
21462
|
var Se = k.clientRenderedBoundaries, xe;
|
|
21399
21463
|
for (xe = 0; xe < Se.length; xe++) {
|
|
21400
|
-
var
|
|
21464
|
+
var je = Se[xe];
|
|
21401
21465
|
te = F;
|
|
21402
|
-
var et = k.responseState, St =
|
|
21466
|
+
var et = k.responseState, St = je.id, Bt = je.errorDigest, _t = je.errorMessage, Ct = je.errorComponentStack;
|
|
21403
21467
|
if (i(te, et.startInlineScript), et.sentClientRenderFunction ? i(te, wn) : (et.sentClientRenderFunction = !0, i(
|
|
21404
21468
|
te,
|
|
21405
21469
|
Xn
|
|
@@ -21416,12 +21480,12 @@ function K5() {
|
|
|
21416
21480
|
for (xe = 0; xe < On.length; xe++) {
|
|
21417
21481
|
var Zn = On[xe];
|
|
21418
21482
|
e: {
|
|
21419
|
-
Se = k,
|
|
21483
|
+
Se = k, je = F;
|
|
21420
21484
|
var fa = Zn.completedSegments;
|
|
21421
21485
|
for (et = 0; et < fa.length; et++)
|
|
21422
21486
|
if (!So(
|
|
21423
21487
|
Se,
|
|
21424
|
-
|
|
21488
|
+
je,
|
|
21425
21489
|
Zn,
|
|
21426
21490
|
fa[et]
|
|
21427
21491
|
)) {
|
|
@@ -21457,7 +21521,7 @@ function K5() {
|
|
|
21457
21521
|
}
|
|
21458
21522
|
return Xh.renderToReadableStream = function(k, F) {
|
|
21459
21523
|
return new Promise(function(z, te) {
|
|
21460
|
-
var Se, xe,
|
|
21524
|
+
var Se, xe, je = new Promise(function(_t, Ct) {
|
|
21461
21525
|
xe = _t, Se = Ct;
|
|
21462
21526
|
}), et = N(k, Je(F ? F.identifierPrefix : void 0, F ? F.nonce : void 0, F ? F.bootstrapScriptContent : void 0, F ? F.bootstrapScripts : void 0, F ? F.bootstrapModules : void 0), Ce(F ? F.namespaceURI : void 0), F ? F.progressiveChunkSize : void 0, F ? F.onError : void 0, xe, function() {
|
|
21463
21527
|
var _t = new ReadableStream({ type: "bytes", pull: function(Ct) {
|
|
@@ -21474,9 +21538,9 @@ function K5() {
|
|
|
21474
21538
|
}, cancel: function() {
|
|
21475
21539
|
Rr(et);
|
|
21476
21540
|
} }, { highWaterMark: 0 });
|
|
21477
|
-
_t.allReady =
|
|
21541
|
+
_t.allReady = je, z(_t);
|
|
21478
21542
|
}, function(_t) {
|
|
21479
|
-
|
|
21543
|
+
je.catch(function() {
|
|
21480
21544
|
}), te(_t);
|
|
21481
21545
|
}, Se);
|
|
21482
21546
|
if (F && F.signal) {
|
|
@@ -21500,7 +21564,7 @@ var _c = {};
|
|
|
21500
21564
|
* LICENSE file in the root directory of this source tree.
|
|
21501
21565
|
*/
|
|
21502
21566
|
var h1;
|
|
21503
|
-
function
|
|
21567
|
+
function J5() {
|
|
21504
21568
|
return h1 || (h1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
21505
21569
|
var e = pt, t = "18.2.0", n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
21506
21570
|
function r(h) {
|
|
@@ -21580,9 +21644,9 @@ function Z5() {
|
|
|
21580
21644
|
if (L(h))
|
|
21581
21645
|
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.", R(h)), I(h);
|
|
21582
21646
|
}
|
|
21583
|
-
var Z = Object.prototype.hasOwnProperty, pe = 0, x = 1, ue = 2, oe = 3, Fe = 4, Ke = 5, We = 6, Ze = ":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", Qe = Ze + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",
|
|
21647
|
+
var Z = Object.prototype.hasOwnProperty, pe = 0, x = 1, ue = 2, oe = 3, Fe = 4, Ke = 5, We = 6, Ze = ":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", Qe = Ze + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", he = new RegExp("^[" + Ze + "][" + Qe + "]*$"), Te = {}, Ve = {};
|
|
21584
21648
|
function Je(h) {
|
|
21585
|
-
return Z.call(Ve, h) ? !0 : Z.call(Te, h) ? !1 :
|
|
21649
|
+
return Z.call(Ve, h) ? !0 : Z.call(Te, h) ? !1 : he.test(h) ? (Ve[h] = !0, !0) : (Te[h] = !0, i("Invalid attribute name: `%s`", h), !1);
|
|
21586
21650
|
}
|
|
21587
21651
|
function ot(h, b, _, M) {
|
|
21588
21652
|
if (_ !== null && _.type === pe)
|
|
@@ -21604,12 +21668,12 @@ function Z5() {
|
|
|
21604
21668
|
}
|
|
21605
21669
|
}
|
|
21606
21670
|
function Ce(h) {
|
|
21607
|
-
return
|
|
21671
|
+
return Be.hasOwnProperty(h) ? Be[h] : null;
|
|
21608
21672
|
}
|
|
21609
21673
|
function De(h, b, _, M, Y, re, ce) {
|
|
21610
21674
|
this.acceptsBooleans = b === ue || b === oe || b === Fe, this.attributeName = M, this.attributeNamespace = Y, this.mustUseProperty = _, this.propertyName = h, this.type = b, this.sanitizeURL = re, this.removeEmptyString = ce;
|
|
21611
21675
|
}
|
|
21612
|
-
var
|
|
21676
|
+
var Be = {}, He = [
|
|
21613
21677
|
"children",
|
|
21614
21678
|
"dangerouslySetInnerHTML",
|
|
21615
21679
|
// TODO: This prevents the assignment of defaultValue to regular
|
|
@@ -21623,7 +21687,7 @@ function Z5() {
|
|
|
21623
21687
|
"style"
|
|
21624
21688
|
];
|
|
21625
21689
|
He.forEach(function(h) {
|
|
21626
|
-
|
|
21690
|
+
Be[h] = new De(
|
|
21627
21691
|
h,
|
|
21628
21692
|
pe,
|
|
21629
21693
|
!1,
|
|
@@ -21638,7 +21702,7 @@ function Z5() {
|
|
|
21638
21702
|
);
|
|
21639
21703
|
}), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(h) {
|
|
21640
21704
|
var b = h[0], _ = h[1];
|
|
21641
|
-
|
|
21705
|
+
Be[b] = new De(
|
|
21642
21706
|
b,
|
|
21643
21707
|
x,
|
|
21644
21708
|
!1,
|
|
@@ -21652,7 +21716,7 @@ function Z5() {
|
|
|
21652
21716
|
!1
|
|
21653
21717
|
);
|
|
21654
21718
|
}), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(h) {
|
|
21655
|
-
|
|
21719
|
+
Be[h] = new De(
|
|
21656
21720
|
h,
|
|
21657
21721
|
ue,
|
|
21658
21722
|
!1,
|
|
@@ -21666,7 +21730,7 @@ function Z5() {
|
|
|
21666
21730
|
!1
|
|
21667
21731
|
);
|
|
21668
21732
|
}), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(h) {
|
|
21669
|
-
|
|
21733
|
+
Be[h] = new De(
|
|
21670
21734
|
h,
|
|
21671
21735
|
ue,
|
|
21672
21736
|
!1,
|
|
@@ -21707,7 +21771,7 @@ function Z5() {
|
|
|
21707
21771
|
// Microdata
|
|
21708
21772
|
"itemScope"
|
|
21709
21773
|
].forEach(function(h) {
|
|
21710
|
-
|
|
21774
|
+
Be[h] = new De(
|
|
21711
21775
|
h,
|
|
21712
21776
|
oe,
|
|
21713
21777
|
!1,
|
|
@@ -21731,7 +21795,7 @@ function Z5() {
|
|
|
21731
21795
|
// you'll need to set attributeName to name.toLowerCase()
|
|
21732
21796
|
// instead in the assignment below.
|
|
21733
21797
|
].forEach(function(h) {
|
|
21734
|
-
|
|
21798
|
+
Be[h] = new De(
|
|
21735
21799
|
h,
|
|
21736
21800
|
oe,
|
|
21737
21801
|
!0,
|
|
@@ -21751,7 +21815,7 @@ function Z5() {
|
|
|
21751
21815
|
// you'll need to set attributeName to name.toLowerCase()
|
|
21752
21816
|
// instead in the assignment below.
|
|
21753
21817
|
].forEach(function(h) {
|
|
21754
|
-
|
|
21818
|
+
Be[h] = new De(
|
|
21755
21819
|
h,
|
|
21756
21820
|
Fe,
|
|
21757
21821
|
!1,
|
|
@@ -21773,7 +21837,7 @@ function Z5() {
|
|
|
21773
21837
|
// you'll need to set attributeName to name.toLowerCase()
|
|
21774
21838
|
// instead in the assignment below.
|
|
21775
21839
|
].forEach(function(h) {
|
|
21776
|
-
|
|
21840
|
+
Be[h] = new De(
|
|
21777
21841
|
h,
|
|
21778
21842
|
We,
|
|
21779
21843
|
!1,
|
|
@@ -21787,7 +21851,7 @@ function Z5() {
|
|
|
21787
21851
|
!1
|
|
21788
21852
|
);
|
|
21789
21853
|
}), ["rowSpan", "start"].forEach(function(h) {
|
|
21790
|
-
|
|
21854
|
+
Be[h] = new De(
|
|
21791
21855
|
h,
|
|
21792
21856
|
Ke,
|
|
21793
21857
|
!1,
|
|
@@ -21883,7 +21947,7 @@ function Z5() {
|
|
|
21883
21947
|
// instead in the assignment below.
|
|
21884
21948
|
].forEach(function(h) {
|
|
21885
21949
|
var b = h.replace(Pe, Le);
|
|
21886
|
-
|
|
21950
|
+
Be[b] = new De(
|
|
21887
21951
|
b,
|
|
21888
21952
|
x,
|
|
21889
21953
|
!1,
|
|
@@ -21907,7 +21971,7 @@ function Z5() {
|
|
|
21907
21971
|
// instead in the assignment below.
|
|
21908
21972
|
].forEach(function(h) {
|
|
21909
21973
|
var b = h.replace(Pe, Le);
|
|
21910
|
-
|
|
21974
|
+
Be[b] = new De(
|
|
21911
21975
|
b,
|
|
21912
21976
|
x,
|
|
21913
21977
|
!1,
|
|
@@ -21927,7 +21991,7 @@ function Z5() {
|
|
|
21927
21991
|
// instead in the assignment below.
|
|
21928
21992
|
].forEach(function(h) {
|
|
21929
21993
|
var b = h.replace(Pe, Le);
|
|
21930
|
-
|
|
21994
|
+
Be[b] = new De(
|
|
21931
21995
|
b,
|
|
21932
21996
|
x,
|
|
21933
21997
|
!1,
|
|
@@ -21939,7 +22003,7 @@ function Z5() {
|
|
|
21939
22003
|
!1
|
|
21940
22004
|
);
|
|
21941
22005
|
}), ["tabIndex", "crossOrigin"].forEach(function(h) {
|
|
21942
|
-
|
|
22006
|
+
Be[h] = new De(
|
|
21943
22007
|
h,
|
|
21944
22008
|
x,
|
|
21945
22009
|
!1,
|
|
@@ -21954,7 +22018,7 @@ function Z5() {
|
|
|
21954
22018
|
);
|
|
21955
22019
|
});
|
|
21956
22020
|
var ze = "xlinkHref";
|
|
21957
|
-
|
|
22021
|
+
Be[ze] = new De(
|
|
21958
22022
|
"xlinkHref",
|
|
21959
22023
|
x,
|
|
21960
22024
|
!1,
|
|
@@ -21965,7 +22029,7 @@ function Z5() {
|
|
|
21965
22029
|
// sanitizeURL
|
|
21966
22030
|
!1
|
|
21967
22031
|
), ["src", "href", "action", "formAction"].forEach(function(h) {
|
|
21968
|
-
|
|
22032
|
+
Be[h] = new De(
|
|
21969
22033
|
h,
|
|
21970
22034
|
x,
|
|
21971
22035
|
!1,
|
|
@@ -23395,7 +23459,7 @@ function Z5() {
|
|
|
23395
23459
|
throw new Error("Unknown insertion mode. This is a bug in React.");
|
|
23396
23460
|
}
|
|
23397
23461
|
}
|
|
23398
|
-
function
|
|
23462
|
+
function je(h, b) {
|
|
23399
23463
|
switch (b.insertionMode) {
|
|
23400
23464
|
case _r:
|
|
23401
23465
|
case Br:
|
|
@@ -23495,7 +23559,7 @@ function Z5() {
|
|
|
23495
23559
|
function _e(h, b) {
|
|
23496
23560
|
return b.generateStaticMarkup ? !0 : Ne(h);
|
|
23497
23561
|
}
|
|
23498
|
-
var ke = Object.assign, J = Symbol.for("react.element"),
|
|
23562
|
+
var ke = Object.assign, J = Symbol.for("react.element"), de = Symbol.for("react.portal"), fe = Symbol.for("react.fragment"), $e = Symbol.for("react.strict_mode"), Ue = Symbol.for("react.profiler"), ct = Symbol.for("react.provider"), ft = Symbol.for("react.context"), lt = Symbol.for("react.forward_ref"), Mt = Symbol.for("react.suspense"), kt = Symbol.for("react.suspense_list"), Gt = Symbol.for("react.memo"), jn = Symbol.for("react.lazy"), fr = Symbol.for("react.scope"), Jn = Symbol.for("react.debug_trace_mode"), qr = Symbol.for("react.legacy_hidden"), to = Symbol.for("react.default_value"), Lt = Symbol.iterator, Zc = "@@iterator";
|
|
23499
23563
|
function In(h) {
|
|
23500
23564
|
if (h === null || typeof h != "object")
|
|
23501
23565
|
return null;
|
|
@@ -23522,11 +23586,11 @@ function Z5() {
|
|
|
23522
23586
|
switch (h) {
|
|
23523
23587
|
case fe:
|
|
23524
23588
|
return "Fragment";
|
|
23525
|
-
case
|
|
23589
|
+
case de:
|
|
23526
23590
|
return "Portal";
|
|
23527
23591
|
case Ue:
|
|
23528
23592
|
return "Profiler";
|
|
23529
|
-
case
|
|
23593
|
+
case $e:
|
|
23530
23594
|
return "StrictMode";
|
|
23531
23595
|
case Mt:
|
|
23532
23596
|
return "Suspense";
|
|
@@ -24622,7 +24686,7 @@ Error generating stack: ` + M.message + `
|
|
|
24622
24686
|
switch (_) {
|
|
24623
24687
|
case qr:
|
|
24624
24688
|
case Jn:
|
|
24625
|
-
case
|
|
24689
|
+
case $e:
|
|
24626
24690
|
case Ue:
|
|
24627
24691
|
case fe: {
|
|
24628
24692
|
Jr(h, b, M.children);
|
|
@@ -24684,7 +24748,7 @@ Error generating stack: ` + M.message + `
|
|
|
24684
24748
|
yl(h, b, Y, re, ce);
|
|
24685
24749
|
return;
|
|
24686
24750
|
}
|
|
24687
|
-
case
|
|
24751
|
+
case de:
|
|
24688
24752
|
throw new Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");
|
|
24689
24753
|
case jn: {
|
|
24690
24754
|
var Re = _, Xe = Re._payload, dt = Re._init, xt;
|
|
@@ -24937,7 +25001,7 @@ Error generating stack: ` + M.message + `
|
|
|
24937
25001
|
return Zs(b, h.responseState, _.id, _.errorDigest, _.errorMessage, _.errorComponentStack);
|
|
24938
25002
|
}
|
|
24939
25003
|
function du(h, b, _) {
|
|
24940
|
-
return xe(b, h.responseState, _.formatContext, _.id), Tl(h, b, _),
|
|
25004
|
+
return xe(b, h.responseState, _.formatContext, _.id), Tl(h, b, _), je(b, _.formatContext);
|
|
24941
25005
|
}
|
|
24942
25006
|
function xr(h, b, _) {
|
|
24943
25007
|
for (var M = _.completedSegments, Y = 0; Y < M.length; Y++) {
|
|
@@ -25086,7 +25150,7 @@ var Kh = {};
|
|
|
25086
25150
|
* LICENSE file in the root directory of this source tree.
|
|
25087
25151
|
*/
|
|
25088
25152
|
var p1;
|
|
25089
|
-
function
|
|
25153
|
+
function Q5() {
|
|
25090
25154
|
return p1 || (p1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
25091
25155
|
var e = pt, t = "18.2.0", n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
25092
25156
|
function r(g) {
|
|
@@ -25177,8 +25241,8 @@ function J5() {
|
|
|
25177
25241
|
if (ee(g))
|
|
25178
25242
|
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.", W(g)), Z(g);
|
|
25179
25243
|
}
|
|
25180
|
-
var oe = Object.prototype.hasOwnProperty, Fe = 0, Ke = 1, We = 2, Ze = 3, Qe = 4,
|
|
25181
|
-
function
|
|
25244
|
+
var oe = Object.prototype.hasOwnProperty, Fe = 0, Ke = 1, We = 2, Ze = 3, Qe = 4, he = 5, Te = 6, Ve = ":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", Je = Ve + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", ot = new RegExp("^[" + Ve + "][" + Je + "]*$"), Ce = {}, De = {};
|
|
25245
|
+
function Be(g) {
|
|
25182
25246
|
return oe.call(De, g) ? !0 : oe.call(Ce, g) ? !1 : ot.test(g) ? (De[g] = !0, !0) : (Ce[g] = !0, i("Invalid attribute name: `%s`", g), !1);
|
|
25183
25247
|
}
|
|
25184
25248
|
function He(g, w, A, $) {
|
|
@@ -25386,7 +25450,7 @@ function J5() {
|
|
|
25386
25450
|
}), ["rowSpan", "start"].forEach(function(g) {
|
|
25387
25451
|
ze[g] = new Le(
|
|
25388
25452
|
g,
|
|
25389
|
-
|
|
25453
|
+
he,
|
|
25390
25454
|
!1,
|
|
25391
25455
|
// mustUseProperty
|
|
25392
25456
|
g.toLowerCase(),
|
|
@@ -26525,7 +26589,7 @@ function J5() {
|
|
|
26525
26589
|
case Qe:
|
|
26526
26590
|
$ === !0 ? g.push(Ae, ge, Tt) : $ === !1 || g.push(Ae, ge, tt, L(gn($)), yt);
|
|
26527
26591
|
return;
|
|
26528
|
-
case
|
|
26592
|
+
case he:
|
|
26529
26593
|
isNaN($) || g.push(Ae, ge, tt, L(gn($)), yt);
|
|
26530
26594
|
break;
|
|
26531
26595
|
case Te:
|
|
@@ -26534,7 +26598,7 @@ function J5() {
|
|
|
26534
26598
|
default:
|
|
26535
26599
|
K.sanitizeURL && (pe($, ae), $ = "" + $, yo($)), g.push(Ae, ge, tt, L(gn($)), yt);
|
|
26536
26600
|
}
|
|
26537
|
-
} else if (
|
|
26601
|
+
} else if (Be(A)) {
|
|
26538
26602
|
switch (typeof $) {
|
|
26539
26603
|
case "function":
|
|
26540
26604
|
case "symbol":
|
|
@@ -26820,7 +26884,7 @@ function J5() {
|
|
|
26820
26884
|
case "suppressHydrationWarning":
|
|
26821
26885
|
break;
|
|
26822
26886
|
default:
|
|
26823
|
-
|
|
26887
|
+
Be(ge) && typeof Ie != "function" && typeof Ie != "symbol" && g.push(Ae, L(ge), tt, L(gn(Ie)), yt);
|
|
26824
26888
|
break;
|
|
26825
26889
|
}
|
|
26826
26890
|
}
|
|
@@ -26974,7 +27038,7 @@ function J5() {
|
|
|
26974
27038
|
function At(g, w) {
|
|
26975
27039
|
return S(g, N);
|
|
26976
27040
|
}
|
|
26977
|
-
var Bn = I('<div hidden id="'), vn = I('">'), zr = I("</div>"), Yr = I('<svg aria-hidden="true" style="display:none" id="'), zt = I('">'), Gr = I("</svg>"), Yt = I('<math aria-hidden="true" style="display:none" id="'), sn = I('">'), So = I("</math>"), xo = I('<table hidden id="'), Rr = I('">'), k = I("</table>"), F = I('<table hidden><tbody id="'), z = I('">'), te = I("</tbody></table>"), Se = I('<table hidden><tr id="'), xe = I('">'),
|
|
27041
|
+
var Bn = I('<div hidden id="'), vn = I('">'), zr = I("</div>"), Yr = I('<svg aria-hidden="true" style="display:none" id="'), zt = I('">'), Gr = I("</svg>"), Yt = I('<math aria-hidden="true" style="display:none" id="'), sn = I('">'), So = I("</math>"), xo = I('<table hidden id="'), Rr = I('">'), k = I("</table>"), F = I('<table hidden><tbody id="'), z = I('">'), te = I("</tbody></table>"), Se = I('<table hidden><tr id="'), xe = I('">'), je = I("</tr></table>"), et = I('<table hidden><colgroup id="'), St = I('">'), Bt = I("</colgroup></table>");
|
|
26978
27042
|
function _t(g, w, A, $) {
|
|
26979
27043
|
switch (A.insertionMode) {
|
|
26980
27044
|
case Xn:
|
|
@@ -27010,7 +27074,7 @@ function J5() {
|
|
|
27010
27074
|
case xi:
|
|
27011
27075
|
return S(g, te);
|
|
27012
27076
|
case Vr:
|
|
27013
|
-
return S(g,
|
|
27077
|
+
return S(g, je);
|
|
27014
27078
|
case ai:
|
|
27015
27079
|
return S(g, Bt);
|
|
27016
27080
|
default:
|
|
@@ -27052,7 +27116,7 @@ function J5() {
|
|
|
27052
27116
|
}
|
|
27053
27117
|
});
|
|
27054
27118
|
}
|
|
27055
|
-
var Q = Object.assign, me = Symbol.for("react.element"), _e = Symbol.for("react.portal"), ke = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"),
|
|
27119
|
+
var Q = Object.assign, me = Symbol.for("react.element"), _e = Symbol.for("react.portal"), ke = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"), de = Symbol.for("react.profiler"), fe = Symbol.for("react.provider"), $e = Symbol.for("react.context"), Ue = Symbol.for("react.forward_ref"), ct = Symbol.for("react.suspense"), ft = Symbol.for("react.suspense_list"), lt = Symbol.for("react.memo"), Mt = Symbol.for("react.lazy"), kt = Symbol.for("react.scope"), Gt = Symbol.for("react.debug_trace_mode"), jn = Symbol.for("react.legacy_hidden"), fr = Symbol.for("react.default_value"), Jn = Symbol.iterator, qr = "@@iterator";
|
|
27056
27120
|
function to(g) {
|
|
27057
27121
|
if (g === null || typeof g != "object")
|
|
27058
27122
|
return null;
|
|
@@ -27081,7 +27145,7 @@ function J5() {
|
|
|
27081
27145
|
return "Fragment";
|
|
27082
27146
|
case _e:
|
|
27083
27147
|
return "Portal";
|
|
27084
|
-
case
|
|
27148
|
+
case de:
|
|
27085
27149
|
return "Profiler";
|
|
27086
27150
|
case J:
|
|
27087
27151
|
return "StrictMode";
|
|
@@ -27092,7 +27156,7 @@ function J5() {
|
|
|
27092
27156
|
}
|
|
27093
27157
|
if (typeof g == "object")
|
|
27094
27158
|
switch (g.$$typeof) {
|
|
27095
|
-
case
|
|
27159
|
+
case $e:
|
|
27096
27160
|
var w = g;
|
|
27097
27161
|
return Zc(w) + ".Consumer";
|
|
27098
27162
|
case fe:
|
|
@@ -27511,7 +27575,7 @@ Please check the code for the %s component.`, w, w, $), za[K] = !0;
|
|
|
27511
27575
|
if ("contextType" in g) {
|
|
27512
27576
|
var ae = (
|
|
27513
27577
|
// Allow null for conditional declaration
|
|
27514
|
-
K === null || K !== void 0 && K.$$typeof ===
|
|
27578
|
+
K === null || K !== void 0 && K.$$typeof === $e && K._context === void 0
|
|
27515
27579
|
);
|
|
27516
27580
|
if (!ae && !ks.has(g)) {
|
|
27517
27581
|
ks.add(g);
|
|
@@ -28180,7 +28244,7 @@ Error generating stack: ` + $.message + `
|
|
|
28180
28244
|
case jn:
|
|
28181
28245
|
case Gt:
|
|
28182
28246
|
case J:
|
|
28183
|
-
case
|
|
28247
|
+
case de:
|
|
28184
28248
|
case ke: {
|
|
28185
28249
|
hi(g, w, $.children);
|
|
28186
28250
|
return;
|
|
@@ -28210,7 +28274,7 @@ Error generating stack: ` + $.message + `
|
|
|
28210
28274
|
Ca(g, w, A, $);
|
|
28211
28275
|
return;
|
|
28212
28276
|
}
|
|
28213
|
-
case
|
|
28277
|
+
case $e: {
|
|
28214
28278
|
di(g, w, A, $);
|
|
28215
28279
|
return;
|
|
28216
28280
|
}
|
|
@@ -28629,18 +28693,18 @@ Error generating stack: ` + $.message + `
|
|
|
28629
28693
|
}()), Kh;
|
|
28630
28694
|
}
|
|
28631
28695
|
var Vc, qm;
|
|
28632
|
-
process.env.NODE_ENV === "production" ? (Vc =
|
|
28696
|
+
process.env.NODE_ENV === "production" ? (Vc = K5(), qm = Z5()) : (Vc = J5(), qm = Q5());
|
|
28633
28697
|
Vc.version;
|
|
28634
|
-
var
|
|
28698
|
+
var e4 = Vc.renderToString;
|
|
28635
28699
|
Vc.renderToStaticMarkup;
|
|
28636
28700
|
Vc.renderToNodeStream;
|
|
28637
28701
|
Vc.renderToStaticNodeStream;
|
|
28638
28702
|
qm.renderToReadableStream;
|
|
28639
|
-
var
|
|
28703
|
+
var t4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
28640
28704
|
function mO(e, t) {
|
|
28641
28705
|
return e(t = { exports: {} }, t.exports), t.exports;
|
|
28642
28706
|
}
|
|
28643
|
-
var
|
|
28707
|
+
var n4 = mO(function(e) {
|
|
28644
28708
|
(function(t) {
|
|
28645
28709
|
var n = function(L, I, U) {
|
|
28646
28710
|
if (!c(I) || v(I) || p(I) || S(I) || l(I))
|
|
@@ -28694,11 +28758,11 @@ var t4 = mO(function(e) {
|
|
|
28694
28758
|
return this.decamelizeKeys.apply(this, arguments);
|
|
28695
28759
|
} };
|
|
28696
28760
|
e.exports ? e.exports = R : t.humps = R;
|
|
28697
|
-
})(
|
|
28698
|
-
}).decamelize,
|
|
28761
|
+
})(t4);
|
|
28762
|
+
}).decamelize, r4 = function(e) {
|
|
28699
28763
|
if (Array.isArray(e))
|
|
28700
28764
|
return e;
|
|
28701
|
-
},
|
|
28765
|
+
}, i4 = function(e, t) {
|
|
28702
28766
|
if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
|
|
28703
28767
|
var n = [], r = !0, i = !1, o = void 0;
|
|
28704
28768
|
try {
|
|
@@ -28721,18 +28785,18 @@ var t4 = mO(function(e) {
|
|
|
28721
28785
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
28722
28786
|
r[n] = e[n];
|
|
28723
28787
|
return r;
|
|
28724
|
-
},
|
|
28788
|
+
}, o4 = function(e, t) {
|
|
28725
28789
|
if (e) {
|
|
28726
28790
|
if (typeof e == "string")
|
|
28727
28791
|
return g1(e, t);
|
|
28728
28792
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
28729
28793
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? g1(e, t) : void 0;
|
|
28730
28794
|
}
|
|
28731
|
-
},
|
|
28795
|
+
}, a4 = function() {
|
|
28732
28796
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
28733
28797
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
28734
|
-
},
|
|
28735
|
-
return
|
|
28798
|
+
}, s4 = function(e, t) {
|
|
28799
|
+
return r4(e) || i4(e, t) || o4(e, t) || a4();
|
|
28736
28800
|
}, yO = mO(function(e) {
|
|
28737
28801
|
function t() {
|
|
28738
28802
|
return e.exports = t = Object.assign || function(n) {
|
|
@@ -28745,7 +28809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28745
28809
|
}, t.apply(this, arguments);
|
|
28746
28810
|
}
|
|
28747
28811
|
e.exports = t;
|
|
28748
|
-
}),
|
|
28812
|
+
}), l4 = function(e, t) {
|
|
28749
28813
|
if (e == null)
|
|
28750
28814
|
return {};
|
|
28751
28815
|
var n, r, i = {}, o = Object.keys(e);
|
|
@@ -28755,27 +28819,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
28755
28819
|
}, bO = function(e, t) {
|
|
28756
28820
|
if (e == null)
|
|
28757
28821
|
return {};
|
|
28758
|
-
var n, r, i =
|
|
28822
|
+
var n, r, i = l4(e, t);
|
|
28759
28823
|
if (Object.getOwnPropertySymbols) {
|
|
28760
28824
|
var o = Object.getOwnPropertySymbols(e);
|
|
28761
28825
|
for (r = 0; r < o.length; r++)
|
|
28762
28826
|
n = o[r], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
28763
28827
|
}
|
|
28764
28828
|
return i;
|
|
28765
|
-
},
|
|
28829
|
+
}, u4 = vr(null);
|
|
28766
28830
|
function Xm(e) {
|
|
28767
28831
|
var t = e.children, n = bO(e, ["children"]);
|
|
28768
|
-
return typeof t != "string" && (t =
|
|
28832
|
+
return typeof t != "string" && (t = e4(t)), pt.createElement("template", yO({}, n, { dangerouslySetInnerHTML: { __html: t } }));
|
|
28769
28833
|
}
|
|
28770
28834
|
function Km(e) {
|
|
28771
28835
|
var t = e.root, n = e.children;
|
|
28772
28836
|
return sy(n, t);
|
|
28773
28837
|
}
|
|
28774
|
-
function
|
|
28838
|
+
function c4(e) {
|
|
28775
28839
|
var t = jp(function(n, r) {
|
|
28776
28840
|
var i, o, s = n.mode, l = n.delegatesFocus, c = n.styleSheets, d = n.ssr, v = n.children, p = bO(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), S = (o = hn((i = r) && i.current), Rt(function() {
|
|
28777
28841
|
i && (i.current = o.current);
|
|
28778
|
-
}, [i]), o), T = fn(null), P =
|
|
28842
|
+
}, [i]), o), T = fn(null), P = s4(T, 2), R = P[0], L = P[1], I = "node_".concat(s).concat(l);
|
|
28779
28843
|
return Ys(function() {
|
|
28780
28844
|
if (S.current)
|
|
28781
28845
|
try {
|
|
@@ -28797,345 +28861,31 @@ function u4(e) {
|
|
|
28797
28861
|
}
|
|
28798
28862
|
})({ error: ee, styleSheets: c, root: R });
|
|
28799
28863
|
}
|
|
28800
|
-
}, [r, S, c]), pt.createElement(pt.Fragment, null, pt.createElement(e.tag, yO({ key: I, ref: S }, p), (R || d) && pt.createElement(
|
|
28864
|
+
}, [r, S, c]), pt.createElement(pt.Fragment, null, pt.createElement(e.tag, yO({ key: I, ref: S }, p), (R || d) && pt.createElement(u4.Provider, { value: R }, d ? pt.createElement(Xm, { shadowroot: s, shadowrootmode: s }, e.render({ root: R, ssr: d, children: v })) : pt.createElement(Km, { root: R }, e.render({ root: R, ssr: d, children: v })))));
|
|
28801
28865
|
});
|
|
28802
28866
|
return t.propTypes = { mode: cs.oneOf(["open", "closed"]), delegatesFocus: cs.bool, styleSheets: cs.arrayOf(cs.instanceOf(globalThis.CSSStyleSheet)), ssr: cs.bool, children: cs.node }, t.defaultProps = { mode: "open", delegatesFocus: !1, styleSheets: [], ssr: !1, children: null }, t;
|
|
28803
28867
|
}
|
|
28804
28868
|
Xm.propTypes = { children: cs.oneOfType([cs.string, cs.node]) }, Xm.defaultProps = { children: "" }, Km.propTypes = { root: cs.object.isRequired, children: cs.node }, Km.defaultProps = { children: null };
|
|
28805
28869
|
var $v = /* @__PURE__ */ new Map();
|
|
28806
|
-
function
|
|
28870
|
+
function f4() {
|
|
28807
28871
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "core", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(r) {
|
|
28808
28872
|
return r.children;
|
|
28809
28873
|
};
|
|
28810
28874
|
return new Proxy(e, { get: function(r, i) {
|
|
28811
|
-
var o =
|
|
28812
|
-
return $v.has(s) || $v.set(s,
|
|
28875
|
+
var o = n4(i, { separator: "-" }), s = "".concat(t, "-").concat(o);
|
|
28876
|
+
return $v.has(s) || $v.set(s, c4({ tag: o, render: n })), $v.get(s);
|
|
28813
28877
|
} });
|
|
28814
28878
|
}
|
|
28815
|
-
var wO =
|
|
28816
|
-
const
|
|
28817
|
-
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
28818
|
-
return /* @__PURE__ */ rt(
|
|
28819
|
-
"div",
|
|
28820
|
-
{
|
|
28821
|
-
style: {
|
|
28822
|
-
backgroundColor: e.color || "#93D500",
|
|
28823
|
-
height: "2px",
|
|
28824
|
-
position: "absolute",
|
|
28825
|
-
right: "0",
|
|
28826
|
-
// transform: 'translateY(-50%)',
|
|
28827
|
-
top: "0",
|
|
28828
|
-
left: t
|
|
28829
|
-
}
|
|
28830
|
-
}
|
|
28831
|
-
);
|
|
28832
|
-
}, d4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
|
|
28833
|
-
`, h4 = (e) => {
|
|
28834
|
-
const [t, n] = fn(() => {
|
|
28835
|
-
const r = localStorage.getItem("openingMenuIds");
|
|
28836
|
-
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
28837
|
-
});
|
|
28838
|
-
return Rt(() => {
|
|
28839
|
-
localStorage.setItem("openingMenuIds", JSON.stringify(t));
|
|
28840
|
-
}, [t]), [t, n];
|
|
28841
|
-
};
|
|
28842
|
-
function p4(e) {
|
|
28843
|
-
return /* @__PURE__ */ rt(
|
|
28844
|
-
"svg",
|
|
28845
|
-
{
|
|
28846
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
28847
|
-
width: "16",
|
|
28848
|
-
height: "16",
|
|
28849
|
-
fill: "currentColor",
|
|
28850
|
-
viewBox: "0 0 16 16",
|
|
28851
|
-
...e,
|
|
28852
|
-
children: /* @__PURE__ */ rt(
|
|
28853
|
-
"path",
|
|
28854
|
-
{
|
|
28855
|
-
fill: "currenColor",
|
|
28856
|
-
d: "M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
|
|
28857
|
-
}
|
|
28858
|
-
)
|
|
28859
|
-
}
|
|
28860
|
-
);
|
|
28861
|
-
}
|
|
28862
|
-
function g4(e) {
|
|
28863
|
-
const { renderChildren: t, parentRef: n, onlyChild: r, dropdownLevel: i } = e, [o, s] = fn({ top: 0, left: 0 }), l = hn(null), [c, d] = fn("auto");
|
|
28864
|
-
return Ys(() => {
|
|
28865
|
-
if (n.current && l.current) {
|
|
28866
|
-
const v = n.current.getBoundingClientRect(), p = l.current.getBoundingClientRect();
|
|
28867
|
-
let S, T;
|
|
28868
|
-
if (i === 1)
|
|
28869
|
-
S = v.bottom, T = v.left, p.height + S > window.innerHeight ? (console.log("overbottom"), d(window.innerHeight - S - 50), S = v.bottom - p.height) : S = v.bottom;
|
|
28870
|
-
else if (i > 1) {
|
|
28871
|
-
S = v.top, T = v.left + v.width;
|
|
28872
|
-
const P = p.height + (window.innerHeight - v.top) > window.innerHeight;
|
|
28873
|
-
P && (console.log("overtop"), d(window.innerHeight - v.top - 50)), v.top + p.height > window.innerHeight && !P && (S = v.top - p.height + v.height);
|
|
28874
|
-
}
|
|
28875
|
-
s({
|
|
28876
|
-
top: S,
|
|
28877
|
-
left: T
|
|
28878
|
-
});
|
|
28879
|
-
}
|
|
28880
|
-
}, [n, l, i]), r ? t({ maxHeight: c }) : sy(
|
|
28881
|
-
/* @__PURE__ */ rt(
|
|
28882
|
-
"div",
|
|
28883
|
-
{
|
|
28884
|
-
ref: l,
|
|
28885
|
-
style: {
|
|
28886
|
-
position: "fixed",
|
|
28887
|
-
top: o.top,
|
|
28888
|
-
left: o.left,
|
|
28889
|
-
zIndex: 1200
|
|
28890
|
-
},
|
|
28891
|
-
children: t({ maxHeight: c })
|
|
28892
|
-
}
|
|
28893
|
-
),
|
|
28894
|
-
n.current
|
|
28895
|
-
);
|
|
28896
|
-
}
|
|
28897
|
-
const Wf = /* @__PURE__ */ new Map();
|
|
28898
|
-
Wf.set("text", (e) => {
|
|
28899
|
-
var t;
|
|
28900
|
-
return /* @__PURE__ */ rt(
|
|
28901
|
-
"div",
|
|
28902
|
-
{
|
|
28903
|
-
style: {
|
|
28904
|
-
width: 24,
|
|
28905
|
-
height: 24,
|
|
28906
|
-
backgroundColor: "#dadada",
|
|
28907
|
-
borderRadius: "5px",
|
|
28908
|
-
display: "flex",
|
|
28909
|
-
justifyContent: "center",
|
|
28910
|
-
alignItems: "center",
|
|
28911
|
-
lineHeight: "24px"
|
|
28912
|
-
},
|
|
28913
|
-
children: (t = e.name.trim().at(0)) == null ? void 0 : t.toUpperCase()
|
|
28914
|
-
}
|
|
28915
|
-
);
|
|
28916
|
-
});
|
|
28917
|
-
Wf.set("svgHtml", (e) => {
|
|
28918
|
-
function t(n) {
|
|
28919
|
-
function r(o) {
|
|
28920
|
-
const l = new DOMParser().parseFromString(o, "image/svg+xml").querySelector("svg");
|
|
28921
|
-
return l ? (l.querySelectorAll("path").forEach((d) => {
|
|
28922
|
-
d.hasAttribute("fill") && d.setAttribute("fill", "currentColor"), d.hasAttribute("stroke") && d.setAttribute("stroke", "currentColor");
|
|
28923
|
-
}), l.outerHTML) : "";
|
|
28924
|
-
}
|
|
28925
|
-
const i = r(n.svgString);
|
|
28926
|
-
return /* @__PURE__ */ rt(
|
|
28927
|
-
"div",
|
|
28928
|
-
{
|
|
28929
|
-
dangerouslySetInnerHTML: { __html: i },
|
|
28930
|
-
style: { width: 24, height: 24, margin: "0 auto" }
|
|
28931
|
-
}
|
|
28932
|
-
);
|
|
28933
|
-
}
|
|
28934
|
-
return /* @__PURE__ */ rt(t, { svgString: e.icon });
|
|
28935
|
-
});
|
|
28936
|
-
Wf.set("svgHttp", (e) => /* @__PURE__ */ rt(
|
|
28937
|
-
pg,
|
|
28938
|
-
{
|
|
28939
|
-
src: e.icon,
|
|
28940
|
-
beforeInjection: (t) => {
|
|
28941
|
-
t.setAttribute("style", "margin: 0 auto;"), t.querySelectorAll("path").forEach((r) => {
|
|
28942
|
-
r.hasAttribute("fill") && r.setAttribute("fill", "currentColor"), r.hasAttribute("stroke") && r.setAttribute("stroke", "currentColor");
|
|
28943
|
-
});
|
|
28944
|
-
}
|
|
28945
|
-
}
|
|
28946
|
-
));
|
|
28947
|
-
Wf.set("img", (e) => /* @__PURE__ */ rt(
|
|
28948
|
-
"img",
|
|
28949
|
-
{
|
|
28950
|
-
src: e.icon || "/",
|
|
28951
|
-
alt: e.name,
|
|
28952
|
-
style: { height: 24, maxHeight: 24, maxWidth: 24 }
|
|
28953
|
-
}
|
|
28954
|
-
));
|
|
28955
|
-
function v4(e) {
|
|
28956
|
-
return e.icon = (e.icon || "").trim(), e.icon ? e.icon.startsWith("<svg") ? "svgHtml" : e.icon.endsWith(".svg") ? "svgHttp" : "img" : "text";
|
|
28957
|
-
}
|
|
28958
|
-
function m4({ item: e }) {
|
|
28959
|
-
return (Wf.get(v4(e)) || Wf.get("text"))(e);
|
|
28960
|
-
}
|
|
28961
|
-
function SO({ ...e }) {
|
|
28962
|
-
var Fe, Ke, We, Ze, Qe;
|
|
28963
|
-
const t = e.item, n = e.level || 0, r = !!((Fe = e.item.children) != null && Fe.length), { isActive: i } = e, o = `level-${n}`, s = i(t.id) ? "active" : "", l = (de, Te = o) => `${de} ${Te} ${s}`, [c, d] = fn(!1), [v, p] = fn(t.isFavorite || !1), S = hn(), T = hn();
|
|
28964
|
-
T != null && T.current && ((Ke = T == null ? void 0 : T.current) == null ? void 0 : Ke.scrollWidth) > ((We = T == null ? void 0 : T.current) == null ? void 0 : We.clientWidth);
|
|
28965
|
-
const P = window.location.origin, R = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, L = window.location.pathname.split("/")[1], I = R.pathname.split("/")[1], U = e.ssr || !P.includes("local") && P !== R.origin || I !== L, W = r || n === 0 ? "div" : U ? "a" : L1, ee = t.path || "#", Z = n + 1, pe = r && c && n > 0, x = () => {
|
|
28966
|
-
d(!0);
|
|
28967
|
-
}, ue = () => {
|
|
28968
|
-
d(!1);
|
|
28969
|
-
}, oe = "/global-menu-config/api/v1/menu-items/user/set-favorite";
|
|
28970
|
-
return /* @__PURE__ */ Ui(
|
|
28971
|
-
"div",
|
|
28972
|
-
{
|
|
28973
|
-
ref: S,
|
|
28974
|
-
className: l("menu-item__wrapper tree-node"),
|
|
28975
|
-
style: {
|
|
28976
|
-
// display: 'flex',
|
|
28977
|
-
// justifyContent: 'space-between',
|
|
28978
|
-
// height: '56px',
|
|
28979
|
-
// p: 2,
|
|
28980
|
-
borderRadius: "8px",
|
|
28981
|
-
// marginLeft: `${indent}px`,
|
|
28982
|
-
// marginTop: '2px',
|
|
28983
|
-
// marginBottom: '8px',
|
|
28984
|
-
transition: "all 0.3s"
|
|
28985
|
-
// border: `1px solid ${props.params.isDropTarget ? '#93D500' : 'transparent'}`,
|
|
28986
|
-
// backgroundColor: isLevel0 ? '#E5F5ED' : '#aca2a212',
|
|
28987
|
-
// ':hover': {
|
|
28988
|
-
// backgroundColor: isLevel0 ? '#d3eee0' : '#aca2a226',
|
|
28989
|
-
// },
|
|
28990
|
-
},
|
|
28991
|
-
onMouseOver: x,
|
|
28992
|
-
onMouseOut: ue,
|
|
28993
|
-
onDragStart: (de) => {
|
|
28994
|
-
n > 1 && de.preventDefault();
|
|
28995
|
-
},
|
|
28996
|
-
children: [
|
|
28997
|
-
/* @__PURE__ */ Ui(
|
|
28998
|
-
W,
|
|
28999
|
-
{
|
|
29000
|
-
to: ee,
|
|
29001
|
-
href: ee,
|
|
29002
|
-
draggable: "true",
|
|
29003
|
-
className: l("menu-item__link"),
|
|
29004
|
-
style: {
|
|
29005
|
-
// paddingLeft: paddingLeft,
|
|
29006
|
-
width: "100%",
|
|
29007
|
-
transition: "all 0.3s",
|
|
29008
|
-
// transitionDelay: '0.1s',
|
|
29009
|
-
color: i(t.id) ? ((Ze = e.brandColors) == null ? void 0 : Ze.primary400) || _i.primary400 : void 0,
|
|
29010
|
-
backgroundColor: i(t.id) && n === 1 ? (Qe = e.brandColors) == null ? void 0 : Qe.primary200 : void 0
|
|
29011
|
-
},
|
|
29012
|
-
onDragStart: (de) => {
|
|
29013
|
-
console.log("onDragStart component", de.target);
|
|
29014
|
-
},
|
|
29015
|
-
children: [
|
|
29016
|
-
/* @__PURE__ */ rt(y4, { cls: l, item: t }),
|
|
29017
|
-
/* @__PURE__ */ rt("span", { className: l("menu-item__label"), ref: T, children: t.name }),
|
|
29018
|
-
/* @__PURE__ */ rt(
|
|
29019
|
-
b4,
|
|
29020
|
-
{
|
|
29021
|
-
menuLevel: n,
|
|
29022
|
-
hasChildren: r,
|
|
29023
|
-
isHovered: c,
|
|
29024
|
-
isFavorite: v,
|
|
29025
|
-
onClick: (de) => {
|
|
29026
|
-
const Te = {
|
|
29027
|
-
menuConfigId: t.id,
|
|
29028
|
-
isFavorite: de
|
|
29029
|
-
}, Ve = e.baseUrl + oe;
|
|
29030
|
-
Hs.post(Ve, Te).then((Je) => {
|
|
29031
|
-
var ot;
|
|
29032
|
-
p(de), OT("Set favorite menu item successfully"), (ot = e.onSetFavoriteSuccess) == null || ot.call(e, e.item.id, de);
|
|
29033
|
-
}).catch((Je) => {
|
|
29034
|
-
var ot, Ce;
|
|
29035
|
-
zp(
|
|
29036
|
-
((Ce = (ot = Je.response) == null ? void 0 : ot.data) == null ? void 0 : Ce.errorMessage) || "Have error when set favorite menu item"
|
|
29037
|
-
);
|
|
29038
|
-
});
|
|
29039
|
-
}
|
|
29040
|
-
}
|
|
29041
|
-
),
|
|
29042
|
-
r && /* @__PURE__ */ rt("div", { className: l("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(p4, { className: l("menu-item__icon-arrow__icon") }) })
|
|
29043
|
-
]
|
|
29044
|
-
}
|
|
29045
|
-
),
|
|
29046
|
-
pe && /* @__PURE__ */ rt(
|
|
29047
|
-
g4,
|
|
29048
|
-
{
|
|
29049
|
-
parentRef: S,
|
|
29050
|
-
onlyChild: Z < 2,
|
|
29051
|
-
dropdownLevel: n,
|
|
29052
|
-
renderChildren: ({ maxHeight: de }) => {
|
|
29053
|
-
var Te;
|
|
29054
|
-
return /* @__PURE__ */ rt(
|
|
29055
|
-
lO.div,
|
|
29056
|
-
{
|
|
29057
|
-
className: l(
|
|
29058
|
-
"menu-item__dropdown dropdown-favorite ? 'menu-item__dropdown--open' : 'menu-item__dropdown--close'}",
|
|
29059
|
-
`level-${Z}`
|
|
29060
|
-
),
|
|
29061
|
-
style: fO(
|
|
29062
|
-
{ maxHeight: de, overflowY: "auto", paddingRight: 3 },
|
|
29063
|
-
de !== "auto" && !!Z
|
|
29064
|
-
),
|
|
29065
|
-
children: (Te = t.children) == null ? void 0 : Te.map((Ve) => /* @__PURE__ */ Kd(
|
|
29066
|
-
SO,
|
|
29067
|
-
{
|
|
29068
|
-
...e,
|
|
29069
|
-
key: Ve.id,
|
|
29070
|
-
item: Ve,
|
|
29071
|
-
level: Z
|
|
29072
|
-
}
|
|
29073
|
-
))
|
|
29074
|
-
}
|
|
29075
|
-
);
|
|
29076
|
-
}
|
|
29077
|
-
}
|
|
29078
|
-
)
|
|
29079
|
-
]
|
|
29080
|
-
}
|
|
29081
|
-
);
|
|
29082
|
-
}
|
|
29083
|
-
function y4({ item: e, cls: t }) {
|
|
29084
|
-
return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(m4, { item: e }) });
|
|
29085
|
-
}
|
|
29086
|
-
function b4(e) {
|
|
29087
|
-
const t = {
|
|
29088
|
-
marginRight: e.hasChildren ? 10 : 0,
|
|
29089
|
-
fontSize: 22,
|
|
29090
|
-
fill: _i.warning,
|
|
29091
|
-
minWidth: 16
|
|
29092
|
-
};
|
|
29093
|
-
if (e.menuLevel !== 0)
|
|
29094
|
-
return /* @__PURE__ */ Ui(Bp, { children: [
|
|
29095
|
-
e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
|
|
29096
|
-
Id,
|
|
29097
|
-
{
|
|
29098
|
-
title: "Add to favorites",
|
|
29099
|
-
children: /* @__PURE__ */ rt(
|
|
29100
|
-
uO,
|
|
29101
|
-
{
|
|
29102
|
-
style: t,
|
|
29103
|
-
onClick: (n) => {
|
|
29104
|
-
var r;
|
|
29105
|
-
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
|
|
29106
|
-
}
|
|
29107
|
-
}
|
|
29108
|
-
)
|
|
29109
|
-
}
|
|
29110
|
-
),
|
|
29111
|
-
e.isFavorite && /* @__PURE__ */ rt(
|
|
29112
|
-
Id,
|
|
29113
|
-
{
|
|
29114
|
-
title: "Remove from favorites",
|
|
29115
|
-
children: /* @__PURE__ */ rt(
|
|
29116
|
-
cO,
|
|
29117
|
-
{
|
|
29118
|
-
style: t,
|
|
29119
|
-
onClick: (n) => {
|
|
29120
|
-
var r;
|
|
29121
|
-
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
|
|
29122
|
-
}
|
|
29123
|
-
}
|
|
29124
|
-
)
|
|
29125
|
-
}
|
|
29126
|
-
)
|
|
29127
|
-
] });
|
|
29128
|
-
}
|
|
29129
|
-
const w4 = `.flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{transition:all .3s;padding:0 4px}.side-bar{display:flex;height:56px;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s;width:100%}.scrollbar-hidden::-webkit-scrollbar{width:2px;background:transparent}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;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;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;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.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,.menu-item__link.active.level-10{background-color:inherit;color:inherit}.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-10:hover{background-color:#919eab14}.menu-item__link.menu-item__link.level-0{padding:0;background-color:#919eab14;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.level-1>*{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;color:#292929;opacity:1}.menu-item__label.level-1{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.level-0,.menu-item__label.level-1{font-size:.875rem;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:8px}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.level-0{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.open{transform:rotate(0)!important}.menu-item__dropdown{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown.dropdown-favorite{width:auto;min-width:180px;max-width:350px}.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:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown .menu-item__link{height:40px}.menu-item__dropdown .menu-item__link.level-1{height:48px}.menu-item__dropdown.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.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 .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
29130
|
-
`, S4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
|
|
28879
|
+
var wO = f4();
|
|
28880
|
+
const d4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
|
|
29131
28881
|
`;
|
|
29132
|
-
function
|
|
28882
|
+
function h4(e) {
|
|
29133
28883
|
const t = new CustomEvent("updateFavoriteMenu", {
|
|
29134
28884
|
detail: { menuItem: e }
|
|
29135
28885
|
});
|
|
29136
28886
|
window.dispatchEvent(t);
|
|
29137
28887
|
}
|
|
29138
|
-
function
|
|
28888
|
+
function p4(e) {
|
|
29139
28889
|
const t = F1(), [n, r] = fn([]), [i, o] = fn(window.location.href);
|
|
29140
28890
|
Rt(() => {
|
|
29141
28891
|
o(window.location.href);
|
|
@@ -29156,7 +28906,7 @@ function T4(e) {
|
|
|
29156
28906
|
console.log("favoriteItems", n);
|
|
29157
28907
|
function c(S, T) {
|
|
29158
28908
|
const P = l(n, S);
|
|
29159
|
-
P ? (P.isFavorite = T,
|
|
28909
|
+
P ? (P.isFavorite = T, h4(P), SO(S, T)) : console.error(`Item with id ${S} not found`);
|
|
29160
28910
|
}
|
|
29161
28911
|
const d = (S) => {
|
|
29162
28912
|
console.log("Favorite menus changed", S), r(S.detail.favoriteMenus || []);
|
|
@@ -29174,7 +28924,7 @@ function T4(e) {
|
|
|
29174
28924
|
) + 1;
|
|
29175
28925
|
}
|
|
29176
28926
|
const p = (S, T, P) => /* @__PURE__ */ rt(
|
|
29177
|
-
|
|
28927
|
+
vO,
|
|
29178
28928
|
{
|
|
29179
28929
|
isActive: (L) => P.some((I) => I.id === L),
|
|
29180
28930
|
brandColors: e.brandColors,
|
|
@@ -29203,9 +28953,9 @@ function T4(e) {
|
|
|
29203
28953
|
) }) : "" });
|
|
29204
28954
|
}
|
|
29205
28955
|
function a7(e) {
|
|
29206
|
-
return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(G1, { styles: [ST,
|
|
28956
|
+
return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(G1, { styles: [ST, X5, d4], children: /* @__PURE__ */ rt(p4, { ...e }) }) });
|
|
29207
28957
|
}
|
|
29208
|
-
function
|
|
28958
|
+
function SO(e, t) {
|
|
29209
28959
|
const n = JSON.parse(
|
|
29210
28960
|
localStorage.getItem("favoriteItems") || "[]"
|
|
29211
28961
|
);
|
|
@@ -29217,7 +28967,256 @@ function xO(e, t) {
|
|
|
29217
28967
|
}
|
|
29218
28968
|
localStorage.setItem("favoriteItems", JSON.stringify(n));
|
|
29219
28969
|
}
|
|
29220
|
-
|
|
28970
|
+
function xO({ ...e }) {
|
|
28971
|
+
var Ve, Je, ot, Ce, De;
|
|
28972
|
+
const t = e.item, n = e.level || 0, r = !!((Ve = e.item.children) != null && Ve.length), { isActive: i, isCollapsed: o } = e, s = `level-${n}`, l = o ? "collapsed" : "expanded", c = i(t.id) ? "active" : "", d = (Be, He = s) => `${Be} ${He} ${l} ${c}`, [v, p] = fn(!1), [S, T] = fn(t.isFavorite || !1);
|
|
28973
|
+
Rt(() => {
|
|
28974
|
+
T(!!e.item.isFavorite);
|
|
28975
|
+
}, [e.item.isFavorite]);
|
|
28976
|
+
const P = hn(), R = hn();
|
|
28977
|
+
R != null && R.current && ((Je = R == null ? void 0 : R.current) == null ? void 0 : Je.scrollWidth) > ((ot = R == null ? void 0 : R.current) == null ? void 0 : ot.clientWidth);
|
|
28978
|
+
const L = window.location.origin, I = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, U = window.location.pathname.split("/")[1], W = I.pathname.split("/")[1], ee = e.ssr || !L.includes("local") && L !== I.origin || W !== U, Z = r || n === 0 ? "div" : ee ? "a" : L1, pe = t.path || "#", x = n + 1, ue = r && o && v, oe = o || n === 0 ? void 0 : `${n + 0.25}rem`, Fe = () => {
|
|
28979
|
+
p(!0);
|
|
28980
|
+
}, Ke = () => {
|
|
28981
|
+
p(!1);
|
|
28982
|
+
}, We = "/global-menu-config/api/v1/menu-items/user/set-favorite", Ze = t.serviceKey === "mn_poms";
|
|
28983
|
+
e.params.depth * 20, e.params.depth, z3(
|
|
28984
|
+
t.id,
|
|
28985
|
+
e.params.isOpen,
|
|
28986
|
+
e.params.onToggle
|
|
28987
|
+
);
|
|
28988
|
+
const Qe = (Be) => {
|
|
28989
|
+
Be.stopPropagation(), e.params.onToggle();
|
|
28990
|
+
}, Te = Ze || o && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null;
|
|
28991
|
+
return /* @__PURE__ */ Ui(
|
|
28992
|
+
"div",
|
|
28993
|
+
{
|
|
28994
|
+
ref: P,
|
|
28995
|
+
className: d("menu-item__wrapper tree-node"),
|
|
28996
|
+
style: {
|
|
28997
|
+
borderRadius: "8px",
|
|
28998
|
+
transition: "all 0.3s"
|
|
28999
|
+
},
|
|
29000
|
+
onMouseOver: Fe,
|
|
29001
|
+
onMouseOut: Ke,
|
|
29002
|
+
onDragStart: (Be) => {
|
|
29003
|
+
o && n > 1 && Be.preventDefault();
|
|
29004
|
+
},
|
|
29005
|
+
children: [
|
|
29006
|
+
/* @__PURE__ */ rt(Id, { placement: "top", disableInteractive: !0, title: Te, children: /* @__PURE__ */ Ui(
|
|
29007
|
+
Z,
|
|
29008
|
+
{
|
|
29009
|
+
to: pe,
|
|
29010
|
+
href: pe,
|
|
29011
|
+
draggable: "true",
|
|
29012
|
+
className: d("menu-item__link"),
|
|
29013
|
+
style: {
|
|
29014
|
+
paddingLeft: oe,
|
|
29015
|
+
transition: "all 0.3s",
|
|
29016
|
+
// transitionDelay: '0.1s',
|
|
29017
|
+
color: i(t.id) ? ((Ce = e.brandColors) == null ? void 0 : Ce.primary400) || _i.primary400 : void 0,
|
|
29018
|
+
backgroundColor: i(t.id) && n === 0 ? (De = e.brandColors) == null ? void 0 : De.primary200 : void 0
|
|
29019
|
+
},
|
|
29020
|
+
onClick: (Be) => {
|
|
29021
|
+
o || Qe(Be);
|
|
29022
|
+
},
|
|
29023
|
+
children: [
|
|
29024
|
+
/* @__PURE__ */ rt(g4, { cls: d, item: t }),
|
|
29025
|
+
/* @__PURE__ */ rt("span", { className: d("menu-item__label"), ref: R, children: t.name }),
|
|
29026
|
+
/* @__PURE__ */ rt(
|
|
29027
|
+
v4,
|
|
29028
|
+
{
|
|
29029
|
+
menuLevel: n,
|
|
29030
|
+
hasChildren: r,
|
|
29031
|
+
isHovered: v,
|
|
29032
|
+
isFavorite: S,
|
|
29033
|
+
onClick: (Be) => {
|
|
29034
|
+
const He = {
|
|
29035
|
+
menuConfigId: t.id,
|
|
29036
|
+
isFavorite: Be
|
|
29037
|
+
}, Pe = e.baseUrl + We;
|
|
29038
|
+
Hs.post(Pe, He).then((Le) => {
|
|
29039
|
+
var ze;
|
|
29040
|
+
T(Be), OT("Set favorite menu item successfully"), (ze = e.onSetFavoriteSuccess) == null || ze.call(e, e.item.id, Be), SO(e.item.id, Be);
|
|
29041
|
+
}).catch((Le) => {
|
|
29042
|
+
var ze, st;
|
|
29043
|
+
zp(
|
|
29044
|
+
((st = (ze = Le.response) == null ? void 0 : ze.data) == null ? void 0 : st.errorMessage) || "Have error when set favorite menu item"
|
|
29045
|
+
);
|
|
29046
|
+
});
|
|
29047
|
+
}
|
|
29048
|
+
}
|
|
29049
|
+
),
|
|
29050
|
+
r && /* @__PURE__ */ rt("div", { className: d("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(
|
|
29051
|
+
p5,
|
|
29052
|
+
{
|
|
29053
|
+
className: d(
|
|
29054
|
+
`menu-item__icon-arrow__icon ${e.params.isOpen ? "open" : "close"}`
|
|
29055
|
+
)
|
|
29056
|
+
}
|
|
29057
|
+
) })
|
|
29058
|
+
]
|
|
29059
|
+
}
|
|
29060
|
+
) }),
|
|
29061
|
+
ue && /* @__PURE__ */ rt(
|
|
29062
|
+
g5,
|
|
29063
|
+
{
|
|
29064
|
+
parentRef: P,
|
|
29065
|
+
onlyChild: !o,
|
|
29066
|
+
renderChildren: ({ maxHeight: Be }) => {
|
|
29067
|
+
var He;
|
|
29068
|
+
return /* @__PURE__ */ rt(
|
|
29069
|
+
lO.div,
|
|
29070
|
+
{
|
|
29071
|
+
className: d(
|
|
29072
|
+
`menu-item__dropdown ${e.params.isOpen ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
|
|
29073
|
+
`level-${x}`
|
|
29074
|
+
),
|
|
29075
|
+
style: fO(
|
|
29076
|
+
{ maxHeight: Be, overflowY: "auto", paddingRight: 3 },
|
|
29077
|
+
Be !== "auto" && !!x
|
|
29078
|
+
),
|
|
29079
|
+
children: (He = t.children) == null ? void 0 : He.map((Pe) => /* @__PURE__ */ Kd(
|
|
29080
|
+
xO,
|
|
29081
|
+
{
|
|
29082
|
+
...e,
|
|
29083
|
+
key: Pe.id,
|
|
29084
|
+
item: Pe,
|
|
29085
|
+
level: x
|
|
29086
|
+
}
|
|
29087
|
+
))
|
|
29088
|
+
}
|
|
29089
|
+
);
|
|
29090
|
+
}
|
|
29091
|
+
}
|
|
29092
|
+
)
|
|
29093
|
+
]
|
|
29094
|
+
}
|
|
29095
|
+
);
|
|
29096
|
+
}
|
|
29097
|
+
function g4({ item: e, cls: t }) {
|
|
29098
|
+
return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(H5, { item: e }) });
|
|
29099
|
+
}
|
|
29100
|
+
function v4(e) {
|
|
29101
|
+
const t = {
|
|
29102
|
+
marginRight: e.hasChildren ? 10 : 0,
|
|
29103
|
+
fontSize: 22,
|
|
29104
|
+
fill: _i.warning
|
|
29105
|
+
};
|
|
29106
|
+
return /* @__PURE__ */ Ui(Bp, { children: [
|
|
29107
|
+
e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
|
|
29108
|
+
Id,
|
|
29109
|
+
{
|
|
29110
|
+
title: "Add to favorites",
|
|
29111
|
+
children: /* @__PURE__ */ rt(
|
|
29112
|
+
uO,
|
|
29113
|
+
{
|
|
29114
|
+
style: t,
|
|
29115
|
+
onClick: (n) => {
|
|
29116
|
+
var r;
|
|
29117
|
+
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
|
|
29118
|
+
}
|
|
29119
|
+
}
|
|
29120
|
+
)
|
|
29121
|
+
}
|
|
29122
|
+
),
|
|
29123
|
+
e.isFavorite && /* @__PURE__ */ rt(
|
|
29124
|
+
Id,
|
|
29125
|
+
{
|
|
29126
|
+
title: "Remove from favorites",
|
|
29127
|
+
children: /* @__PURE__ */ rt(
|
|
29128
|
+
cO,
|
|
29129
|
+
{
|
|
29130
|
+
style: t,
|
|
29131
|
+
onClick: (n) => {
|
|
29132
|
+
var r;
|
|
29133
|
+
n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
|
|
29134
|
+
}
|
|
29135
|
+
}
|
|
29136
|
+
)
|
|
29137
|
+
}
|
|
29138
|
+
)
|
|
29139
|
+
] });
|
|
29140
|
+
}
|
|
29141
|
+
function m4() {
|
|
29142
|
+
return /* @__PURE__ */ rt(
|
|
29143
|
+
"svg",
|
|
29144
|
+
{
|
|
29145
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29146
|
+
width: "22",
|
|
29147
|
+
height: "22",
|
|
29148
|
+
fill: "currentColor",
|
|
29149
|
+
stroke: "currentColor",
|
|
29150
|
+
strokeWidth: "0",
|
|
29151
|
+
viewBox: "0 0 24 24",
|
|
29152
|
+
children: /* @__PURE__ */ rt("path", { d: "M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z" })
|
|
29153
|
+
}
|
|
29154
|
+
);
|
|
29155
|
+
}
|
|
29156
|
+
function y4() {
|
|
29157
|
+
return /* @__PURE__ */ rt(
|
|
29158
|
+
"svg",
|
|
29159
|
+
{
|
|
29160
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29161
|
+
width: "22",
|
|
29162
|
+
height: "22",
|
|
29163
|
+
fill: "currentColor",
|
|
29164
|
+
stroke: "currentColor",
|
|
29165
|
+
strokeWidth: "0",
|
|
29166
|
+
viewBox: "0 0 24 24",
|
|
29167
|
+
children: /* @__PURE__ */ rt("path", { d: "M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" })
|
|
29168
|
+
}
|
|
29169
|
+
);
|
|
29170
|
+
}
|
|
29171
|
+
function b4(e) {
|
|
29172
|
+
return /* @__PURE__ */ rt(
|
|
29173
|
+
"svg",
|
|
29174
|
+
{
|
|
29175
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
29176
|
+
width: "18",
|
|
29177
|
+
height: "20",
|
|
29178
|
+
fill: "none",
|
|
29179
|
+
viewBox: "0 0 18 20",
|
|
29180
|
+
...e,
|
|
29181
|
+
children: /* @__PURE__ */ rt(
|
|
29182
|
+
"path",
|
|
29183
|
+
{
|
|
29184
|
+
fill: "#E01B00",
|
|
29185
|
+
fillRule: "evenodd",
|
|
29186
|
+
d: "M.179 2.875A2.375 2.375 0 012.554.5h3.393a1.018 1.018 0 010 2.036H2.554a.34.34 0 00-.34.339v14.25c0 .187.152.34.34.34h3.393a1.018 1.018 0 110 2.035H2.554a2.375 2.375 0 01-2.375-2.375V2.875zm14.167 6.107h-7.72a1.018 1.018 0 000 2.036h7.72l-2.673 2.673a1.018 1.018 0 101.44 1.44l4.41-4.411a1.018 1.018 0 000-1.44l-4.41-4.41a1.018 1.018 0 10-1.44 1.439l2.673 2.673z",
|
|
29187
|
+
clipRule: "evenodd"
|
|
29188
|
+
}
|
|
29189
|
+
)
|
|
29190
|
+
}
|
|
29191
|
+
);
|
|
29192
|
+
}
|
|
29193
|
+
const w4 = `.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{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);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:40px 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%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link.expanded.level-0{padding:.5rem 10px}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.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;color:#292929;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px}.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:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
29194
|
+
`, S4 = (e) => {
|
|
29195
|
+
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
29196
|
+
return /* @__PURE__ */ rt(
|
|
29197
|
+
"div",
|
|
29198
|
+
{
|
|
29199
|
+
style: {
|
|
29200
|
+
backgroundColor: e.color || "#93D500",
|
|
29201
|
+
height: "2px",
|
|
29202
|
+
position: "absolute",
|
|
29203
|
+
right: "0",
|
|
29204
|
+
// transform: 'translateY(-50%)',
|
|
29205
|
+
top: "0",
|
|
29206
|
+
left: t
|
|
29207
|
+
}
|
|
29208
|
+
}
|
|
29209
|
+
);
|
|
29210
|
+
}, x4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
|
|
29211
|
+
`, T4 = (e) => {
|
|
29212
|
+
const [t, n] = fn(() => {
|
|
29213
|
+
const r = localStorage.getItem("openingMenuIds");
|
|
29214
|
+
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
29215
|
+
});
|
|
29216
|
+
return Rt(() => {
|
|
29217
|
+
localStorage.setItem("openingMenuIds", JSON.stringify(t));
|
|
29218
|
+
}, [t]), [t, n];
|
|
29219
|
+
}, Vv = localStorage.getItem("isCollapsed");
|
|
29221
29220
|
function C4(e) {
|
|
29222
29221
|
const t = new CustomEvent("favoriteMenusChange", {
|
|
29223
29222
|
detail: { favoriteMenus: e }
|
|
@@ -29236,7 +29235,7 @@ function E4(e) {
|
|
|
29236
29235
|
}, [t]);
|
|
29237
29236
|
const S = O4(i, d);
|
|
29238
29237
|
console.log("matchPaths:", d, t, S);
|
|
29239
|
-
const [T, P] =
|
|
29238
|
+
const [T, P] = T4({
|
|
29240
29239
|
initOpenIds: e.initOpenIds
|
|
29241
29240
|
}), R = () => {
|
|
29242
29241
|
var ue, oe;
|
|
@@ -29257,13 +29256,13 @@ function E4(e) {
|
|
|
29257
29256
|
parentKey: Te.parentKey || 0
|
|
29258
29257
|
}));
|
|
29259
29258
|
Qe = CO(Qe), e.replacePath && (Qe = TO(Qe, e.replacePath));
|
|
29260
|
-
const
|
|
29259
|
+
const he = Qe.map((Te) => ({
|
|
29261
29260
|
id: Te.id,
|
|
29262
29261
|
parent: Te.parentKey,
|
|
29263
29262
|
text: Te.name,
|
|
29264
29263
|
data: Te
|
|
29265
29264
|
}));
|
|
29266
|
-
r(
|
|
29265
|
+
r(he);
|
|
29267
29266
|
} catch (Ke) {
|
|
29268
29267
|
console.error(Ke), zp(
|
|
29269
29268
|
((Fe = (oe = Ke.response) == null ? void 0 : oe.data) == null ? void 0 : Fe.errorMessage) || "Have error when get menu items"
|
|
@@ -29276,7 +29275,7 @@ function E4(e) {
|
|
|
29276
29275
|
);
|
|
29277
29276
|
let oe = [];
|
|
29278
29277
|
ue.forEach((We) => {
|
|
29279
|
-
const Ze = i.find((Qe) => Qe.id === We);
|
|
29278
|
+
const Ze = i.find((Qe) => Qe.id === We && Qe.isFavorite === !0);
|
|
29280
29279
|
Ze && (oe = [...oe, Ze]);
|
|
29281
29280
|
});
|
|
29282
29281
|
function Fe(We) {
|
|
@@ -29343,7 +29342,7 @@ function E4(e) {
|
|
|
29343
29342
|
{
|
|
29344
29343
|
className: "icon-btn side-bar__toggle-btn",
|
|
29345
29344
|
onClick: R,
|
|
29346
|
-
children: l ? /* @__PURE__ */ rt(
|
|
29345
|
+
children: l ? /* @__PURE__ */ rt(y4, {}) : /* @__PURE__ */ rt(m4, {})
|
|
29347
29346
|
}
|
|
29348
29347
|
) }),
|
|
29349
29348
|
/* @__PURE__ */ rt(
|
|
@@ -29376,27 +29375,27 @@ function E4(e) {
|
|
|
29376
29375
|
onDrop: pe,
|
|
29377
29376
|
render: (ue, oe) => {
|
|
29378
29377
|
function Fe(Qe) {
|
|
29379
|
-
return n.every((
|
|
29378
|
+
return n.every((he) => he.parent !== Qe.id) ? Qe : {
|
|
29380
29379
|
...Qe,
|
|
29381
|
-
children: n.filter((
|
|
29380
|
+
children: n.filter((he) => he.parent === Qe.id).map((he) => Fe(he.data))
|
|
29382
29381
|
};
|
|
29383
29382
|
}
|
|
29384
|
-
const Ke = Fe(ue.data), We = (Qe) => S.some((
|
|
29385
|
-
function Ze(Qe,
|
|
29383
|
+
const Ke = Fe(ue.data), We = (Qe) => S.some((he) => he.id === Qe);
|
|
29384
|
+
function Ze(Qe, he) {
|
|
29386
29385
|
r(
|
|
29387
29386
|
(Te) => Te.map(
|
|
29388
29387
|
(Ve) => Ve.id === Qe ? {
|
|
29389
29388
|
...Ve,
|
|
29390
29389
|
data: {
|
|
29391
29390
|
...Ve.data,
|
|
29392
|
-
isFavorite:
|
|
29391
|
+
isFavorite: he
|
|
29393
29392
|
}
|
|
29394
29393
|
} : Ve
|
|
29395
29394
|
)
|
|
29396
|
-
)
|
|
29395
|
+
);
|
|
29397
29396
|
}
|
|
29398
29397
|
return /* @__PURE__ */ rt(
|
|
29399
|
-
|
|
29398
|
+
xO,
|
|
29400
29399
|
{
|
|
29401
29400
|
isActive: We,
|
|
29402
29401
|
isCollapsed: l,
|
|
@@ -29419,7 +29418,7 @@ function E4(e) {
|
|
|
29419
29418
|
placeholderRender: (ue, { depth: oe }) => {
|
|
29420
29419
|
var Fe;
|
|
29421
29420
|
return /* @__PURE__ */ rt(
|
|
29422
|
-
|
|
29421
|
+
S4,
|
|
29423
29422
|
{
|
|
29424
29423
|
node: ue,
|
|
29425
29424
|
depth: oe,
|
|
@@ -29448,7 +29447,7 @@ function E4(e) {
|
|
|
29448
29447
|
className: W("side-bar__logout-btn"),
|
|
29449
29448
|
onClick: () => I(!0),
|
|
29450
29449
|
children: [
|
|
29451
|
-
/* @__PURE__ */ rt(
|
|
29450
|
+
/* @__PURE__ */ rt(b4, { className: W("side-bar__icon-logout") }),
|
|
29452
29451
|
/* @__PURE__ */ rt("span", { className: W("side-bar__logout-btn__text"), children: "Logout" })
|
|
29453
29452
|
]
|
|
29454
29453
|
}
|
|
@@ -29513,7 +29512,7 @@ function s7(e) {
|
|
|
29513
29512
|
return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(
|
|
29514
29513
|
G1,
|
|
29515
29514
|
{
|
|
29516
|
-
styles: [ST,
|
|
29515
|
+
styles: [ST, w4, x4],
|
|
29517
29516
|
style: { position: "sticky", zIndex: 20 },
|
|
29518
29517
|
children: /* @__PURE__ */ rt(E4, { ...e })
|
|
29519
29518
|
}
|
|
@@ -29538,7 +29537,7 @@ var Lp = { exports: {} };
|
|
|
29538
29537
|
Lp.exports;
|
|
29539
29538
|
(function(e, t) {
|
|
29540
29539
|
(function() {
|
|
29541
|
-
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, v = "__lodash_placeholder__", p = 1, S = 2, T = 4, P = 1, R = 2, L = 1, I = 2, U = 4, W = 8, ee = 16, Z = 32, pe = 64, x = 128, ue = 256, oe = 512, Fe = 30, Ke = "...", We = 800, Ze = 16, Qe = 1,
|
|
29540
|
+
var n, r = "4.17.21", i = 200, o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", s = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", d = 500, v = "__lodash_placeholder__", p = 1, S = 2, T = 4, P = 1, R = 2, L = 1, I = 2, U = 4, W = 8, ee = 16, Z = 32, pe = 64, x = 128, ue = 256, oe = 512, Fe = 30, Ke = "...", We = 800, Ze = 16, Qe = 1, he = 2, Te = 3, Ve = 1 / 0, Je = 9007199254740991, ot = 17976931348623157e292, Ce = 0 / 0, De = 4294967295, Be = De - 1, He = De >>> 1, Pe = [
|
|
29542
29541
|
["ary", x],
|
|
29543
29542
|
["bind", L],
|
|
29544
29543
|
["bindKey", I],
|
|
@@ -29811,84 +29810,84 @@ Lp.exports;
|
|
|
29811
29810
|
} catch {
|
|
29812
29811
|
}
|
|
29813
29812
|
}(), f = or && or.isArrayBuffer, m = or && or.isDate, C = or && or.isMap, O = or && or.isRegExp, N = or && or.isSet, j = or && or.isTypedArray;
|
|
29814
|
-
function H(J,
|
|
29813
|
+
function H(J, de, fe) {
|
|
29815
29814
|
switch (fe.length) {
|
|
29816
29815
|
case 0:
|
|
29817
|
-
return J.call(
|
|
29816
|
+
return J.call(de);
|
|
29818
29817
|
case 1:
|
|
29819
|
-
return J.call(
|
|
29818
|
+
return J.call(de, fe[0]);
|
|
29820
29819
|
case 2:
|
|
29821
|
-
return J.call(
|
|
29820
|
+
return J.call(de, fe[0], fe[1]);
|
|
29822
29821
|
case 3:
|
|
29823
|
-
return J.call(
|
|
29822
|
+
return J.call(de, fe[0], fe[1], fe[2]);
|
|
29824
29823
|
}
|
|
29825
|
-
return J.apply(
|
|
29824
|
+
return J.apply(de, fe);
|
|
29826
29825
|
}
|
|
29827
|
-
function le(J,
|
|
29826
|
+
function le(J, de, fe, $e) {
|
|
29828
29827
|
for (var Ue = -1, ct = J == null ? 0 : J.length; ++Ue < ct; ) {
|
|
29829
29828
|
var ft = J[Ue];
|
|
29830
|
-
|
|
29829
|
+
de($e, ft, fe(ft), J);
|
|
29831
29830
|
}
|
|
29832
|
-
return
|
|
29831
|
+
return $e;
|
|
29833
29832
|
}
|
|
29834
|
-
function ie(J,
|
|
29835
|
-
for (var fe = -1,
|
|
29833
|
+
function ie(J, de) {
|
|
29834
|
+
for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e && de(J[fe], fe, J) !== !1; )
|
|
29836
29835
|
;
|
|
29837
29836
|
return J;
|
|
29838
29837
|
}
|
|
29839
|
-
function be(J,
|
|
29840
|
-
for (var fe = J == null ? 0 : J.length; fe-- &&
|
|
29838
|
+
function be(J, de) {
|
|
29839
|
+
for (var fe = J == null ? 0 : J.length; fe-- && de(J[fe], fe, J) !== !1; )
|
|
29841
29840
|
;
|
|
29842
29841
|
return J;
|
|
29843
29842
|
}
|
|
29844
|
-
function Me(J,
|
|
29845
|
-
for (var fe = -1,
|
|
29846
|
-
if (!
|
|
29843
|
+
function Me(J, de) {
|
|
29844
|
+
for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e; )
|
|
29845
|
+
if (!de(J[fe], fe, J))
|
|
29847
29846
|
return !1;
|
|
29848
29847
|
return !0;
|
|
29849
29848
|
}
|
|
29850
|
-
function Ne(J,
|
|
29851
|
-
for (var fe = -1,
|
|
29849
|
+
function Ne(J, de) {
|
|
29850
|
+
for (var fe = -1, $e = J == null ? 0 : J.length, Ue = 0, ct = []; ++fe < $e; ) {
|
|
29852
29851
|
var ft = J[fe];
|
|
29853
|
-
|
|
29852
|
+
de(ft, fe, J) && (ct[Ue++] = ft);
|
|
29854
29853
|
}
|
|
29855
29854
|
return ct;
|
|
29856
29855
|
}
|
|
29857
|
-
function Ee(J,
|
|
29856
|
+
function Ee(J, de) {
|
|
29858
29857
|
var fe = J == null ? 0 : J.length;
|
|
29859
|
-
return !!fe && sn(J,
|
|
29858
|
+
return !!fe && sn(J, de, 0) > -1;
|
|
29860
29859
|
}
|
|
29861
|
-
function Ye(J,
|
|
29862
|
-
for (var
|
|
29863
|
-
if (fe(
|
|
29860
|
+
function Ye(J, de, fe) {
|
|
29861
|
+
for (var $e = -1, Ue = J == null ? 0 : J.length; ++$e < Ue; )
|
|
29862
|
+
if (fe(de, J[$e]))
|
|
29864
29863
|
return !0;
|
|
29865
29864
|
return !1;
|
|
29866
29865
|
}
|
|
29867
|
-
function ut(J,
|
|
29868
|
-
for (var fe = -1,
|
|
29869
|
-
Ue[fe] =
|
|
29866
|
+
function ut(J, de) {
|
|
29867
|
+
for (var fe = -1, $e = J == null ? 0 : J.length, Ue = Array($e); ++fe < $e; )
|
|
29868
|
+
Ue[fe] = de(J[fe], fe, J);
|
|
29870
29869
|
return Ue;
|
|
29871
29870
|
}
|
|
29872
|
-
function Dt(J,
|
|
29873
|
-
for (var fe = -1,
|
|
29874
|
-
J[Ue + fe] =
|
|
29871
|
+
function Dt(J, de) {
|
|
29872
|
+
for (var fe = -1, $e = de.length, Ue = J.length; ++fe < $e; )
|
|
29873
|
+
J[Ue + fe] = de[fe];
|
|
29875
29874
|
return J;
|
|
29876
29875
|
}
|
|
29877
|
-
function At(J,
|
|
29876
|
+
function At(J, de, fe, $e) {
|
|
29878
29877
|
var Ue = -1, ct = J == null ? 0 : J.length;
|
|
29879
|
-
for (
|
|
29880
|
-
fe =
|
|
29878
|
+
for ($e && ct && (fe = J[++Ue]); ++Ue < ct; )
|
|
29879
|
+
fe = de(fe, J[Ue], Ue, J);
|
|
29881
29880
|
return fe;
|
|
29882
29881
|
}
|
|
29883
|
-
function Bn(J,
|
|
29882
|
+
function Bn(J, de, fe, $e) {
|
|
29884
29883
|
var Ue = J == null ? 0 : J.length;
|
|
29885
|
-
for (
|
|
29886
|
-
fe =
|
|
29884
|
+
for ($e && Ue && (fe = J[--Ue]); Ue--; )
|
|
29885
|
+
fe = de(fe, J[Ue], Ue, J);
|
|
29887
29886
|
return fe;
|
|
29888
29887
|
}
|
|
29889
|
-
function vn(J,
|
|
29890
|
-
for (var fe = -1,
|
|
29891
|
-
if (
|
|
29888
|
+
function vn(J, de) {
|
|
29889
|
+
for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e; )
|
|
29890
|
+
if (de(J[fe], fe, J))
|
|
29892
29891
|
return !0;
|
|
29893
29892
|
return !1;
|
|
29894
29893
|
}
|
|
@@ -29899,70 +29898,70 @@ Lp.exports;
|
|
|
29899
29898
|
function zt(J) {
|
|
29900
29899
|
return J.match(mo) || [];
|
|
29901
29900
|
}
|
|
29902
|
-
function Gr(J,
|
|
29903
|
-
var
|
|
29901
|
+
function Gr(J, de, fe) {
|
|
29902
|
+
var $e;
|
|
29904
29903
|
return fe(J, function(Ue, ct, ft) {
|
|
29905
|
-
if (
|
|
29906
|
-
return
|
|
29907
|
-
}),
|
|
29904
|
+
if (de(Ue, ct, ft))
|
|
29905
|
+
return $e = ct, !1;
|
|
29906
|
+
}), $e;
|
|
29908
29907
|
}
|
|
29909
|
-
function Yt(J,
|
|
29910
|
-
for (var Ue = J.length, ct = fe + (
|
|
29911
|
-
if (
|
|
29908
|
+
function Yt(J, de, fe, $e) {
|
|
29909
|
+
for (var Ue = J.length, ct = fe + ($e ? 1 : -1); $e ? ct-- : ++ct < Ue; )
|
|
29910
|
+
if (de(J[ct], ct, J))
|
|
29912
29911
|
return ct;
|
|
29913
29912
|
return -1;
|
|
29914
29913
|
}
|
|
29915
|
-
function sn(J,
|
|
29916
|
-
return
|
|
29914
|
+
function sn(J, de, fe) {
|
|
29915
|
+
return de === de ? Hu(J, de, fe) : Yt(J, xo, fe);
|
|
29917
29916
|
}
|
|
29918
|
-
function So(J,
|
|
29917
|
+
function So(J, de, fe, $e) {
|
|
29919
29918
|
for (var Ue = fe - 1, ct = J.length; ++Ue < ct; )
|
|
29920
|
-
if (
|
|
29919
|
+
if ($e(J[Ue], de))
|
|
29921
29920
|
return Ue;
|
|
29922
29921
|
return -1;
|
|
29923
29922
|
}
|
|
29924
29923
|
function xo(J) {
|
|
29925
29924
|
return J !== J;
|
|
29926
29925
|
}
|
|
29927
|
-
function Rr(J,
|
|
29926
|
+
function Rr(J, de) {
|
|
29928
29927
|
var fe = J == null ? 0 : J.length;
|
|
29929
|
-
return fe ? Se(J,
|
|
29928
|
+
return fe ? Se(J, de) / fe : Ce;
|
|
29930
29929
|
}
|
|
29931
29930
|
function k(J) {
|
|
29932
|
-
return function(
|
|
29933
|
-
return
|
|
29931
|
+
return function(de) {
|
|
29932
|
+
return de == null ? n : de[J];
|
|
29934
29933
|
};
|
|
29935
29934
|
}
|
|
29936
29935
|
function F(J) {
|
|
29937
|
-
return function(
|
|
29938
|
-
return J == null ? n : J[
|
|
29936
|
+
return function(de) {
|
|
29937
|
+
return J == null ? n : J[de];
|
|
29939
29938
|
};
|
|
29940
29939
|
}
|
|
29941
|
-
function z(J,
|
|
29940
|
+
function z(J, de, fe, $e, Ue) {
|
|
29942
29941
|
return Ue(J, function(ct, ft, lt) {
|
|
29943
|
-
fe =
|
|
29942
|
+
fe = $e ? ($e = !1, ct) : de(fe, ct, ft, lt);
|
|
29944
29943
|
}), fe;
|
|
29945
29944
|
}
|
|
29946
|
-
function te(J,
|
|
29945
|
+
function te(J, de) {
|
|
29947
29946
|
var fe = J.length;
|
|
29948
|
-
for (J.sort(
|
|
29947
|
+
for (J.sort(de); fe--; )
|
|
29949
29948
|
J[fe] = J[fe].value;
|
|
29950
29949
|
return J;
|
|
29951
29950
|
}
|
|
29952
|
-
function Se(J,
|
|
29953
|
-
for (var fe,
|
|
29954
|
-
var ct =
|
|
29951
|
+
function Se(J, de) {
|
|
29952
|
+
for (var fe, $e = -1, Ue = J.length; ++$e < Ue; ) {
|
|
29953
|
+
var ct = de(J[$e]);
|
|
29955
29954
|
ct !== n && (fe = fe === n ? ct : fe + ct);
|
|
29956
29955
|
}
|
|
29957
29956
|
return fe;
|
|
29958
29957
|
}
|
|
29959
|
-
function xe(J,
|
|
29960
|
-
for (var fe = -1,
|
|
29961
|
-
|
|
29962
|
-
return
|
|
29958
|
+
function xe(J, de) {
|
|
29959
|
+
for (var fe = -1, $e = Array(J); ++fe < J; )
|
|
29960
|
+
$e[fe] = de(fe);
|
|
29961
|
+
return $e;
|
|
29963
29962
|
}
|
|
29964
|
-
function
|
|
29965
|
-
return ut(
|
|
29963
|
+
function je(J, de) {
|
|
29964
|
+
return ut(de, function(fe) {
|
|
29966
29965
|
return [fe, J[fe]];
|
|
29967
29966
|
});
|
|
29968
29967
|
}
|
|
@@ -29970,39 +29969,39 @@ Lp.exports;
|
|
|
29970
29969
|
return J && J.slice(0, Js(J) + 1).replace(gn, "");
|
|
29971
29970
|
}
|
|
29972
29971
|
function St(J) {
|
|
29973
|
-
return function(
|
|
29974
|
-
return J(
|
|
29972
|
+
return function(de) {
|
|
29973
|
+
return J(de);
|
|
29975
29974
|
};
|
|
29976
29975
|
}
|
|
29977
|
-
function Bt(J,
|
|
29978
|
-
return ut(
|
|
29976
|
+
function Bt(J, de) {
|
|
29977
|
+
return ut(de, function(fe) {
|
|
29979
29978
|
return J[fe];
|
|
29980
29979
|
});
|
|
29981
29980
|
}
|
|
29982
|
-
function _t(J,
|
|
29983
|
-
return J.has(
|
|
29981
|
+
function _t(J, de) {
|
|
29982
|
+
return J.has(de);
|
|
29984
29983
|
}
|
|
29985
|
-
function Ct(J,
|
|
29986
|
-
for (var fe = -1,
|
|
29984
|
+
function Ct(J, de) {
|
|
29985
|
+
for (var fe = -1, $e = J.length; ++fe < $e && sn(de, J[fe], 0) > -1; )
|
|
29987
29986
|
;
|
|
29988
29987
|
return fe;
|
|
29989
29988
|
}
|
|
29990
|
-
function Un(J,
|
|
29991
|
-
for (var fe = J.length; fe-- && sn(
|
|
29989
|
+
function Un(J, de) {
|
|
29990
|
+
for (var fe = J.length; fe-- && sn(de, J[fe], 0) > -1; )
|
|
29992
29991
|
;
|
|
29993
29992
|
return fe;
|
|
29994
29993
|
}
|
|
29995
|
-
function On(J,
|
|
29996
|
-
for (var fe = J.length,
|
|
29997
|
-
J[fe] ===
|
|
29998
|
-
return
|
|
29994
|
+
function On(J, de) {
|
|
29995
|
+
for (var fe = J.length, $e = 0; fe--; )
|
|
29996
|
+
J[fe] === de && ++$e;
|
|
29997
|
+
return $e;
|
|
29999
29998
|
}
|
|
30000
29999
|
var Zn = F(Ai), fa = F(ui);
|
|
30001
30000
|
function ps(J) {
|
|
30002
30001
|
return "\\" + Ei[J];
|
|
30003
30002
|
}
|
|
30004
|
-
function da(J,
|
|
30005
|
-
return J == null ? n : J[
|
|
30003
|
+
function da(J, de) {
|
|
30004
|
+
return J == null ? n : J[de];
|
|
30006
30005
|
}
|
|
30007
30006
|
function ci(J) {
|
|
30008
30007
|
return Ci.test(J);
|
|
@@ -30011,51 +30010,51 @@ Lp.exports;
|
|
|
30011
30010
|
return $o.test(J);
|
|
30012
30011
|
}
|
|
30013
30012
|
function To(J) {
|
|
30014
|
-
for (var
|
|
30015
|
-
fe.push(
|
|
30013
|
+
for (var de, fe = []; !(de = J.next()).done; )
|
|
30014
|
+
fe.push(de.value);
|
|
30016
30015
|
return fe;
|
|
30017
30016
|
}
|
|
30018
30017
|
function gs(J) {
|
|
30019
|
-
var
|
|
30020
|
-
return J.forEach(function(
|
|
30021
|
-
fe[++
|
|
30018
|
+
var de = -1, fe = Array(J.size);
|
|
30019
|
+
return J.forEach(function($e, Ue) {
|
|
30020
|
+
fe[++de] = [Ue, $e];
|
|
30022
30021
|
}), fe;
|
|
30023
30022
|
}
|
|
30024
|
-
function ha(J,
|
|
30023
|
+
function ha(J, de) {
|
|
30025
30024
|
return function(fe) {
|
|
30026
|
-
return J(
|
|
30025
|
+
return J(de(fe));
|
|
30027
30026
|
};
|
|
30028
30027
|
}
|
|
30029
|
-
function Oi(J,
|
|
30030
|
-
for (var fe = -1,
|
|
30028
|
+
function Oi(J, de) {
|
|
30029
|
+
for (var fe = -1, $e = J.length, Ue = 0, ct = []; ++fe < $e; ) {
|
|
30031
30030
|
var ft = J[fe];
|
|
30032
|
-
(ft ===
|
|
30031
|
+
(ft === de || ft === v) && (J[fe] = v, ct[Ue++] = fe);
|
|
30033
30032
|
}
|
|
30034
30033
|
return ct;
|
|
30035
30034
|
}
|
|
30036
30035
|
function eo(J) {
|
|
30037
|
-
var
|
|
30038
|
-
return J.forEach(function(
|
|
30039
|
-
fe[++
|
|
30036
|
+
var de = -1, fe = Array(J.size);
|
|
30037
|
+
return J.forEach(function($e) {
|
|
30038
|
+
fe[++de] = $e;
|
|
30040
30039
|
}), fe;
|
|
30041
30040
|
}
|
|
30042
30041
|
function Zs(J) {
|
|
30043
|
-
var
|
|
30044
|
-
return J.forEach(function(
|
|
30045
|
-
fe[++
|
|
30042
|
+
var de = -1, fe = Array(J.size);
|
|
30043
|
+
return J.forEach(function($e) {
|
|
30044
|
+
fe[++de] = [$e, $e];
|
|
30046
30045
|
}), fe;
|
|
30047
30046
|
}
|
|
30048
|
-
function Hu(J,
|
|
30049
|
-
for (var
|
|
30050
|
-
if (J[
|
|
30051
|
-
return
|
|
30047
|
+
function Hu(J, de, fe) {
|
|
30048
|
+
for (var $e = fe - 1, Ue = J.length; ++$e < Ue; )
|
|
30049
|
+
if (J[$e] === de)
|
|
30050
|
+
return $e;
|
|
30052
30051
|
return -1;
|
|
30053
30052
|
}
|
|
30054
|
-
function pa(J,
|
|
30055
|
-
for (var
|
|
30056
|
-
if (J[
|
|
30057
|
-
return
|
|
30058
|
-
return
|
|
30053
|
+
function pa(J, de, fe) {
|
|
30054
|
+
for (var $e = fe + 1; $e--; )
|
|
30055
|
+
if (J[$e] === de)
|
|
30056
|
+
return $e;
|
|
30057
|
+
return $e;
|
|
30059
30058
|
}
|
|
30060
30059
|
function Co(J) {
|
|
30061
30060
|
return ci(J) ? ms(J) : zr(J);
|
|
@@ -30064,15 +30063,15 @@ Lp.exports;
|
|
|
30064
30063
|
return ci(J) ? Q(J) : Yr(J);
|
|
30065
30064
|
}
|
|
30066
30065
|
function Js(J) {
|
|
30067
|
-
for (var
|
|
30066
|
+
for (var de = J.length; de-- && Di.test(J.charAt(de)); )
|
|
30068
30067
|
;
|
|
30069
|
-
return
|
|
30068
|
+
return de;
|
|
30070
30069
|
}
|
|
30071
30070
|
var vs = F(Vo);
|
|
30072
30071
|
function ms(J) {
|
|
30073
|
-
for (var
|
|
30074
|
-
++
|
|
30075
|
-
return
|
|
30072
|
+
for (var de = Va.lastIndex = 0; Va.test(J); )
|
|
30073
|
+
++de;
|
|
30074
|
+
return de;
|
|
30076
30075
|
}
|
|
30077
30076
|
function Q(J) {
|
|
30078
30077
|
return J.match(Va) || [];
|
|
@@ -30080,20 +30079,20 @@ Lp.exports;
|
|
|
30080
30079
|
function me(J) {
|
|
30081
30080
|
return J.match(Ha) || [];
|
|
30082
30081
|
}
|
|
30083
|
-
var _e = function J(
|
|
30084
|
-
|
|
30085
|
-
var fe =
|
|
30082
|
+
var _e = function J(de) {
|
|
30083
|
+
de = de == null ? xn : ke.defaults(xn.Object(), de, ke.pick(xn, ua));
|
|
30084
|
+
var fe = de.Array, $e = de.Date, Ue = de.Error, ct = de.Function, ft = de.Math, lt = de.Object, Mt = de.RegExp, kt = de.String, Gt = de.TypeError, jn = fe.prototype, fr = ct.prototype, Jn = lt.prototype, qr = de["__core-js_shared__"], to = fr.toString, Lt = Jn.hasOwnProperty, Zc = 0, In = function() {
|
|
30086
30085
|
var a = /[^.]+$/.exec(qr && qr.keys && qr.keys.IE_PROTO || "");
|
|
30087
30086
|
return a ? "Symbol(src)_1." + a : "";
|
|
30088
30087
|
}(), ga = Jn.toString, Uu = to.call(lt), An = xn._, ys = Mt(
|
|
30089
30088
|
"^" + to.call(Lt).replace(Or, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
30090
|
-
), bs = hs ?
|
|
30089
|
+
), bs = hs ? de.Buffer : n, Eo = de.Symbol, ws = de.Uint8Array, Ul = bs ? bs.allocUnsafe : n, Ss = ha(lt.getPrototypeOf, lt), Wu = lt.create, zu = Jn.propertyIsEnumerable, Wa = jn.splice, Wl = Eo ? Eo.isConcatSpreadable : n, Uo = Eo ? Eo.iterator : n, no = Eo ? Eo.toStringTag : n, Wo = function() {
|
|
30091
30090
|
try {
|
|
30092
30091
|
var a = wc(lt, "defineProperty");
|
|
30093
30092
|
return a({}, "", {}), a;
|
|
30094
30093
|
} catch {
|
|
30095
30094
|
}
|
|
30096
|
-
}(), Qs =
|
|
30095
|
+
}(), Qs = de.clearTimeout !== xn.clearTimeout && de.clearTimeout, el = $e && $e.now !== xn.Date.now && $e.now, zl = de.setTimeout !== xn.setTimeout && de.setTimeout, tl = ft.ceil, xs = ft.floor, nl = lt.getOwnPropertySymbols, Yu = bs ? bs.isBuffer : n, Gu = de.isFinite, Ts = jn.join, qu = ha(lt.keys, lt), $n = ft.max, Vn = ft.min, Xu = $e.now, Ku = de.parseInt, zo = ft.random, Jc = jn.reverse, Yo = wc(de, "DataView"), ro = wc(de, "Map"), rl = wc(de, "Promise"), Xr = wc(de, "Set"), va = wc(de, "WeakMap"), ma = wc(lt, "create"), ya = va && new va(), ba = {}, il = Sc(Yo), Qc = Sc(ro), ef = Sc(rl), Yl = Sc(Xr), ol = Sc(va), Cs = Eo ? Eo.prototype : n, al = Cs ? Cs.valueOf : n, za = Cs ? Cs.toString : n;
|
|
30097
30096
|
function G(a) {
|
|
30098
30097
|
if (hr(a) && !Kt(a) && !(a instanceof Xt)) {
|
|
30099
30098
|
if (a instanceof Kr)
|
|
@@ -30191,7 +30190,7 @@ Lp.exports;
|
|
|
30191
30190
|
Ge += u;
|
|
30192
30191
|
for (var rn = -1, Nt = a[Ge]; ++rn < nt; ) {
|
|
30193
30192
|
var an = qe[rn], ln = an.iteratee, ea = an.type, co = ln(Nt);
|
|
30194
|
-
if (ea ==
|
|
30193
|
+
if (ea == he)
|
|
30195
30194
|
Nt = co;
|
|
30196
30195
|
else if (!co) {
|
|
30197
30196
|
if (ea == Qe)
|
|
@@ -30863,7 +30862,7 @@ Lp.exports;
|
|
|
30863
30862
|
Ge ? Nt = Ft && (D || ht) : ve ? Nt = Ft && ht && (D || !Ot) : we ? Nt = Ft && ht && !Ot && (D || !rn) : Ot || rn ? Nt = !1 : Nt = D ? nt <= u : nt < u;
|
|
30864
30863
|
Nt ? V = qe + 1 : X = qe;
|
|
30865
30864
|
}
|
|
30866
|
-
return Vn(X,
|
|
30865
|
+
return Vn(X, Be);
|
|
30867
30866
|
}
|
|
30868
30867
|
function df(a, u) {
|
|
30869
30868
|
for (var y = -1, D = a.length, V = 0, X = []; ++y < D; ) {
|
|
@@ -31309,7 +31308,7 @@ Lp.exports;
|
|
|
31309
31308
|
function dr(a) {
|
|
31310
31309
|
return function(u) {
|
|
31311
31310
|
var y = ji(u);
|
|
31312
|
-
return y == Ut ? gs(u) : y == lr ? Zs(u) :
|
|
31311
|
+
return y == Ut ? gs(u) : y == lr ? Zs(u) : je(u, a(u));
|
|
31313
31312
|
};
|
|
31314
31313
|
}
|
|
31315
31314
|
function Qn(a, u, y, D, V, X, se, ve) {
|
|
@@ -33551,12 +33550,12 @@ var R4 = function(e, t) {
|
|
|
33551
33550
|
// IE doesn't have `contains` on SVG.
|
|
33552
33551
|
(f.contains ? f.contains(C) : f.compareDocumentPosition && f.compareDocumentPosition(C) & 16));
|
|
33553
33552
|
};
|
|
33554
|
-
var
|
|
33553
|
+
var he = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
|
|
33555
33554
|
function Te(f, m) {
|
|
33556
33555
|
return m ? f === "\0" ? "�" : f.slice(0, -1) + "\\" + f.charCodeAt(f.length - 1).toString(16) + " " : "\\" + f;
|
|
33557
33556
|
}
|
|
33558
33557
|
x.escapeSelector = function(f) {
|
|
33559
|
-
return (f + "").replace(
|
|
33558
|
+
return (f + "").replace(he, Te);
|
|
33560
33559
|
};
|
|
33561
33560
|
var Ve = I, Je = l;
|
|
33562
33561
|
(function() {
|
|
@@ -33578,7 +33577,7 @@ var R4 = function(e, t) {
|
|
|
33578
33577
|
// For use in libraries implementing .is()
|
|
33579
33578
|
// We use this for POS matching in `select`
|
|
33580
33579
|
needsContext: new RegExp("^" + Ze + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + Ze + "*((?:-\\d)?\\d*)" + Ze + "*\\)|)(?=[^-]|$)", "i")
|
|
33581
|
-
}, z = /^(?:input|select|textarea|button)$/i, te = /^h\d$/i, Se = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, xe = /[+~]/,
|
|
33580
|
+
}, z = /^(?:input|select|textarea|button)$/i, te = /^h\d$/i, Se = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, xe = /[+~]/, je = new RegExp("\\\\[\\da-fA-F]{1,6}" + Ze + "?|\\\\([^\\r\\n\\f])", "g"), et = function(Q, me) {
|
|
33582
33581
|
var _e = "0x" + Q.slice(1) - 65536;
|
|
33583
33582
|
return me || (_e < 0 ? String.fromCharCode(_e + 65536) : String.fromCharCode(_e >> 10 | 55296, _e & 1023 | 56320));
|
|
33584
33583
|
}, St = function() {
|
|
@@ -33611,7 +33610,7 @@ var R4 = function(e, t) {
|
|
|
33611
33610
|
};
|
|
33612
33611
|
}
|
|
33613
33612
|
function Ct(Q, me, _e, ke) {
|
|
33614
|
-
var J,
|
|
33613
|
+
var J, de, fe, $e, Ue, ct, ft, lt = me && me.ownerDocument, Mt = me ? me.nodeType : 9;
|
|
33615
33614
|
if (_e = _e || [], typeof Q != "string" || !Q || Mt !== 1 && Mt !== 9 && Mt !== 11)
|
|
33616
33615
|
return _e;
|
|
33617
33616
|
if (!ke && (To(me), me = me || H, ie)) {
|
|
@@ -33633,8 +33632,8 @@ var R4 = function(e, t) {
|
|
|
33633
33632
|
}
|
|
33634
33633
|
if (!Bn[Q + " "] && (!be || !be.test(Q))) {
|
|
33635
33634
|
if (ft = Q, lt = me, Mt === 1 && (xo.test(Q) || So.test(Q))) {
|
|
33636
|
-
for (lt = xe.test(Q) && Ks(me.parentNode) || me, (lt != me || !P.scope) && ((
|
|
33637
|
-
ct[
|
|
33635
|
+
for (lt = xe.test(Q) && Ks(me.parentNode) || me, (lt != me || !P.scope) && (($e = me.getAttribute("id")) ? $e = x.escapeSelector($e) : me.setAttribute("id", $e = Ne)), ct = ha(Q), de = ct.length; de--; )
|
|
33636
|
+
ct[de] = ($e ? "#" + $e : ":scope") + " " + Oi(ct[de]);
|
|
33638
33637
|
ft = ct.join(",");
|
|
33639
33638
|
}
|
|
33640
33639
|
try {
|
|
@@ -33645,7 +33644,7 @@ var R4 = function(e, t) {
|
|
|
33645
33644
|
} catch {
|
|
33646
33645
|
Bn(Q, !0);
|
|
33647
33646
|
} finally {
|
|
33648
|
-
|
|
33647
|
+
$e === Ne && me.removeAttribute("id");
|
|
33649
33648
|
}
|
|
33650
33649
|
}
|
|
33651
33650
|
}
|
|
@@ -33690,8 +33689,8 @@ var R4 = function(e, t) {
|
|
|
33690
33689
|
function ci(Q) {
|
|
33691
33690
|
return On(function(me) {
|
|
33692
33691
|
return me = +me, On(function(_e, ke) {
|
|
33693
|
-
for (var J,
|
|
33694
|
-
_e[J =
|
|
33692
|
+
for (var J, de = Q([], _e.length, me), fe = de.length; fe--; )
|
|
33693
|
+
_e[J = de[fe]] && (_e[J] = !(ke[J] = _e[J]));
|
|
33695
33694
|
});
|
|
33696
33695
|
});
|
|
33697
33696
|
}
|
|
@@ -33717,29 +33716,29 @@ var R4 = function(e, t) {
|
|
|
33717
33716
|
return !0;
|
|
33718
33717
|
}
|
|
33719
33718
|
}), P.getById ? (m.filter.ID = function(ke) {
|
|
33720
|
-
var J = ke.replace(
|
|
33721
|
-
return function(
|
|
33722
|
-
return
|
|
33719
|
+
var J = ke.replace(je, et);
|
|
33720
|
+
return function(de) {
|
|
33721
|
+
return de.getAttribute("id") === J;
|
|
33723
33722
|
};
|
|
33724
33723
|
}, m.find.ID = function(ke, J) {
|
|
33725
33724
|
if (typeof J.getElementById < "u" && ie) {
|
|
33726
|
-
var
|
|
33727
|
-
return
|
|
33725
|
+
var de = J.getElementById(ke);
|
|
33726
|
+
return de ? [de] : [];
|
|
33728
33727
|
}
|
|
33729
33728
|
}) : (m.filter.ID = function(ke) {
|
|
33730
|
-
var J = ke.replace(
|
|
33731
|
-
return function(
|
|
33732
|
-
var fe = typeof
|
|
33729
|
+
var J = ke.replace(je, et);
|
|
33730
|
+
return function(de) {
|
|
33731
|
+
var fe = typeof de.getAttributeNode < "u" && de.getAttributeNode("id");
|
|
33733
33732
|
return fe && fe.value === J;
|
|
33734
33733
|
};
|
|
33735
33734
|
}, m.find.ID = function(ke, J) {
|
|
33736
33735
|
if (typeof J.getElementById < "u" && ie) {
|
|
33737
|
-
var
|
|
33736
|
+
var de, fe, $e, Ue = J.getElementById(ke);
|
|
33738
33737
|
if (Ue) {
|
|
33739
|
-
if (
|
|
33738
|
+
if (de = Ue.getAttributeNode("id"), de && de.value === ke)
|
|
33740
33739
|
return [Ue];
|
|
33741
|
-
for (
|
|
33742
|
-
if (
|
|
33740
|
+
for ($e = J.getElementsByName(ke), fe = 0; Ue = $e[fe++]; )
|
|
33741
|
+
if (de = Ue.getAttributeNode("id"), de && de.value === ke)
|
|
33743
33742
|
return [Ue];
|
|
33744
33743
|
}
|
|
33745
33744
|
return [];
|
|
@@ -33755,11 +33754,11 @@ var R4 = function(e, t) {
|
|
|
33755
33754
|
}), P.cssHas || be.push(":has"), be = be.length && new RegExp(be.join("|")), vn = function(ke, J) {
|
|
33756
33755
|
if (ke === J)
|
|
33757
33756
|
return N = !0, 0;
|
|
33758
|
-
var
|
|
33759
|
-
return
|
|
33757
|
+
var de = !ke.compareDocumentPosition - !J.compareDocumentPosition;
|
|
33758
|
+
return de || (de = (ke.ownerDocument || ke) == (J.ownerDocument || J) ? ke.compareDocumentPosition(J) : (
|
|
33760
33759
|
// Otherwise we know they are disconnected
|
|
33761
33760
|
1
|
|
33762
|
-
),
|
|
33761
|
+
), de & 1 || !P.sortDetached && J.compareDocumentPosition(ke) === de ? ke === H || ke.ownerDocument == Ve && Ct.contains(Ve, ke) ? -1 : J === H || J.ownerDocument == Ve && Ct.contains(Ve, J) ? 1 : O ? c.call(O, ke) - c.call(O, J) : 0 : de & 4 ? -1 : 1);
|
|
33763
33762
|
}), H;
|
|
33764
33763
|
}
|
|
33765
33764
|
Ct.matches = function(Q, me) {
|
|
@@ -33810,7 +33809,7 @@ var R4 = function(e, t) {
|
|
|
33810
33809
|
},
|
|
33811
33810
|
preFilter: {
|
|
33812
33811
|
ATTR: function(Q) {
|
|
33813
|
-
return Q[1] = Q[1].replace(
|
|
33812
|
+
return Q[1] = Q[1].replace(je, et), Q[3] = (Q[3] || Q[4] || Q[5] || "").replace(je, et), Q[2] === "~=" && (Q[3] = " " + Q[3] + " "), Q.slice(0, 4);
|
|
33814
33813
|
},
|
|
33815
33814
|
CHILD: function(Q) {
|
|
33816
33815
|
return Q[1] = Q[1].toLowerCase(), Q[1].slice(0, 3) === "nth" ? (Q[3] || Ct.error(Q[0]), Q[4] = +(Q[4] ? Q[5] + (Q[6] || 1) : 2 * (Q[3] === "even" || Q[3] === "odd")), Q[5] = +(Q[7] + Q[8] || Q[3] === "odd")) : Q[3] && Ct.error(Q[0]), Q;
|
|
@@ -33824,7 +33823,7 @@ var R4 = function(e, t) {
|
|
|
33824
33823
|
},
|
|
33825
33824
|
filter: {
|
|
33826
33825
|
TAG: function(Q) {
|
|
33827
|
-
var me = Q.replace(
|
|
33826
|
+
var me = Q.replace(je, et).toLowerCase();
|
|
33828
33827
|
return Q === "*" ? function() {
|
|
33829
33828
|
return !0;
|
|
33830
33829
|
} : function(_e) {
|
|
@@ -33846,19 +33845,19 @@ var R4 = function(e, t) {
|
|
|
33846
33845
|
};
|
|
33847
33846
|
},
|
|
33848
33847
|
CHILD: function(Q, me, _e, ke, J) {
|
|
33849
|
-
var
|
|
33848
|
+
var de = Q.slice(0, 3) !== "nth", fe = Q.slice(-4) !== "last", $e = me === "of-type";
|
|
33850
33849
|
return ke === 1 && J === 0 ? (
|
|
33851
33850
|
// Shortcut for :nth-*(n)
|
|
33852
33851
|
function(Ue) {
|
|
33853
33852
|
return !!Ue.parentNode;
|
|
33854
33853
|
}
|
|
33855
33854
|
) : function(Ue, ct, ft) {
|
|
33856
|
-
var lt, Mt, kt, Gt, jn, fr =
|
|
33855
|
+
var lt, Mt, kt, Gt, jn, fr = de !== fe ? "nextSibling" : "previousSibling", Jn = Ue.parentNode, qr = $e && Ue.nodeName.toLowerCase(), to = !ft && !$e, Lt = !1;
|
|
33857
33856
|
if (Jn) {
|
|
33858
|
-
if (
|
|
33857
|
+
if (de) {
|
|
33859
33858
|
for (; fr; ) {
|
|
33860
33859
|
for (kt = Ue; kt = kt[fr]; )
|
|
33861
|
-
if (
|
|
33860
|
+
if ($e ? oe(kt, qr) : kt.nodeType === 1)
|
|
33862
33861
|
return !1;
|
|
33863
33862
|
jn = fr = Q === "only" && !jn && "nextSibling";
|
|
33864
33863
|
}
|
|
@@ -33872,7 +33871,7 @@ var R4 = function(e, t) {
|
|
|
33872
33871
|
break;
|
|
33873
33872
|
}
|
|
33874
33873
|
} else if (to && (Mt = Ue[Ne] || (Ue[Ne] = {}), lt = Mt[Q] || [], Gt = lt[0] === Ee && lt[1], Lt = Gt), Lt === !1)
|
|
33875
|
-
for (; (kt = ++Gt && kt && kt[fr] || (Lt = Gt = 0) || jn.pop()) && !((
|
|
33874
|
+
for (; (kt = ++Gt && kt && kt[fr] || (Lt = Gt = 0) || jn.pop()) && !(($e ? oe(kt, qr) : kt.nodeType === 1) && ++Lt && (to && (Mt = kt[Ne] || (kt[Ne] = {}), Mt[Q] = [Ee, Lt]), kt === Ue)); )
|
|
33876
33875
|
;
|
|
33877
33876
|
return Lt -= J, Lt === ke || Lt % ke === 0 && Lt / ke >= 0;
|
|
33878
33877
|
}
|
|
@@ -33880,9 +33879,9 @@ var R4 = function(e, t) {
|
|
|
33880
33879
|
},
|
|
33881
33880
|
PSEUDO: function(Q, me) {
|
|
33882
33881
|
var _e, ke = m.pseudos[Q] || m.setFilters[Q.toLowerCase()] || Ct.error("unsupported pseudo: " + Q);
|
|
33883
|
-
return ke[Ne] ? ke(me) : ke.length > 1 ? (_e = [Q, Q, "", me], m.setFilters.hasOwnProperty(Q.toLowerCase()) ? On(function(J,
|
|
33884
|
-
for (var fe,
|
|
33885
|
-
fe = c.call(J,
|
|
33882
|
+
return ke[Ne] ? ke(me) : ke.length > 1 ? (_e = [Q, Q, "", me], m.setFilters.hasOwnProperty(Q.toLowerCase()) ? On(function(J, de) {
|
|
33883
|
+
for (var fe, $e = ke(J, me), Ue = $e.length; Ue--; )
|
|
33884
|
+
fe = c.call(J, $e[Ue]), J[fe] = !(de[fe] = $e[Ue]);
|
|
33886
33885
|
}) : function(J) {
|
|
33887
33886
|
return ke(J, 0, _e);
|
|
33888
33887
|
}) : ke;
|
|
@@ -33892,10 +33891,10 @@ var R4 = function(e, t) {
|
|
|
33892
33891
|
// Potentially complex pseudos
|
|
33893
33892
|
not: On(function(Q) {
|
|
33894
33893
|
var me = [], _e = [], ke = vs(Q.replace(Qe, "$1"));
|
|
33895
|
-
return ke[Ne] ? On(function(J,
|
|
33896
|
-
for (var Ue, ct = ke(J, null,
|
|
33897
|
-
(Ue = ct[ft]) && (J[ft] = !(
|
|
33898
|
-
}) : function(J,
|
|
33894
|
+
return ke[Ne] ? On(function(J, de, fe, $e) {
|
|
33895
|
+
for (var Ue, ct = ke(J, null, $e, []), ft = J.length; ft--; )
|
|
33896
|
+
(Ue = ct[ft]) && (J[ft] = !(de[ft] = Ue));
|
|
33897
|
+
}) : function(J, de, fe) {
|
|
33899
33898
|
return me[0] = J, ke(me, null, fe, _e), me[0] = null, !_e.pop();
|
|
33900
33899
|
};
|
|
33901
33900
|
}),
|
|
@@ -33905,7 +33904,7 @@ var R4 = function(e, t) {
|
|
|
33905
33904
|
};
|
|
33906
33905
|
}),
|
|
33907
33906
|
contains: On(function(Q) {
|
|
33908
|
-
return Q = Q.replace(
|
|
33907
|
+
return Q = Q.replace(je, et), function(me) {
|
|
33909
33908
|
return (me.textContent || x.text(me)).indexOf(Q) > -1;
|
|
33910
33909
|
};
|
|
33911
33910
|
}),
|
|
@@ -33917,7 +33916,7 @@ var R4 = function(e, t) {
|
|
|
33917
33916
|
// The identifier C does not have to be a valid language name."
|
|
33918
33917
|
// https://www.w3.org/TR/selectors/#lang-pseudo
|
|
33919
33918
|
lang: On(function(Q) {
|
|
33920
|
-
return k.test(Q || "") || Ct.error("unsupported lang: " + Q), Q = Q.replace(
|
|
33919
|
+
return k.test(Q || "") || Ct.error("unsupported lang: " + Q), Q = Q.replace(je, et).toLowerCase(), function(me) {
|
|
33921
33920
|
var _e;
|
|
33922
33921
|
do
|
|
33923
33922
|
if (_e = ie ? me.lang : me.getAttribute("xml:lang") || me.getAttribute("lang"))
|
|
@@ -34014,19 +34013,19 @@ var R4 = function(e, t) {
|
|
|
34014
34013
|
}
|
|
34015
34014
|
gs.prototype = m.filters = m.pseudos, m.setFilters = new gs();
|
|
34016
34015
|
function ha(Q, me) {
|
|
34017
|
-
var _e, ke, J,
|
|
34016
|
+
var _e, ke, J, de, fe, $e, Ue, ct = Dt[Q + " "];
|
|
34018
34017
|
if (ct)
|
|
34019
34018
|
return me ? 0 : ct.slice(0);
|
|
34020
|
-
for (fe = Q,
|
|
34021
|
-
(!_e || (ke = sn.exec(fe))) && (ke && (fe = fe.slice(ke[0].length) || fe),
|
|
34019
|
+
for (fe = Q, $e = [], Ue = m.preFilter; fe; ) {
|
|
34020
|
+
(!_e || (ke = sn.exec(fe))) && (ke && (fe = fe.slice(ke[0].length) || fe), $e.push(J = [])), _e = !1, (ke = So.exec(fe)) && (_e = ke.shift(), J.push({
|
|
34022
34021
|
value: _e,
|
|
34023
34022
|
// Cast descendant combinators to space
|
|
34024
34023
|
type: ke[0].replace(Qe, " ")
|
|
34025
34024
|
}), fe = fe.slice(_e.length));
|
|
34026
|
-
for (
|
|
34027
|
-
(ke = F[
|
|
34025
|
+
for (de in m.filter)
|
|
34026
|
+
(ke = F[de].exec(fe)) && (!Ue[de] || (ke = Ue[de](ke))) && (_e = ke.shift(), J.push({
|
|
34028
34027
|
value: _e,
|
|
34029
|
-
type:
|
|
34028
|
+
type: de,
|
|
34030
34029
|
matches: ke
|
|
34031
34030
|
}), fe = fe.slice(_e.length));
|
|
34032
34031
|
if (!_e)
|
|
@@ -34034,7 +34033,7 @@ var R4 = function(e, t) {
|
|
|
34034
34033
|
}
|
|
34035
34034
|
return me ? fe.length : fe ? Ct.error(Q) : (
|
|
34036
34035
|
// Cache the tokens
|
|
34037
|
-
Dt(Q,
|
|
34036
|
+
Dt(Q, $e).slice(0)
|
|
34038
34037
|
);
|
|
34039
34038
|
}
|
|
34040
34039
|
function Oi(Q) {
|
|
@@ -34043,7 +34042,7 @@ var R4 = function(e, t) {
|
|
|
34043
34042
|
return ke;
|
|
34044
34043
|
}
|
|
34045
34044
|
function eo(Q, me, _e) {
|
|
34046
|
-
var ke = me.dir, J = me.next,
|
|
34045
|
+
var ke = me.dir, J = me.next, de = J || ke, fe = _e && de === "parentNode", $e = Ye++;
|
|
34047
34046
|
return me.first ? (
|
|
34048
34047
|
// Check against closest ancestor/preceding element
|
|
34049
34048
|
function(Ue, ct, ft) {
|
|
@@ -34055,7 +34054,7 @@ var R4 = function(e, t) {
|
|
|
34055
34054
|
) : (
|
|
34056
34055
|
// Check against all ancestor/preceding elements
|
|
34057
34056
|
function(Ue, ct, ft) {
|
|
34058
|
-
var lt, Mt, kt = [Ee,
|
|
34057
|
+
var lt, Mt, kt = [Ee, $e];
|
|
34059
34058
|
if (ft) {
|
|
34060
34059
|
for (; Ue = Ue[ke]; )
|
|
34061
34060
|
if ((Ue.nodeType === 1 || fe) && Q(Ue, ct, ft))
|
|
@@ -34066,9 +34065,9 @@ var R4 = function(e, t) {
|
|
|
34066
34065
|
if (Mt = Ue[Ne] || (Ue[Ne] = {}), J && oe(Ue, J))
|
|
34067
34066
|
Ue = Ue[ke] || Ue;
|
|
34068
34067
|
else {
|
|
34069
|
-
if ((lt = Mt[
|
|
34068
|
+
if ((lt = Mt[de]) && lt[0] === Ee && lt[1] === $e)
|
|
34070
34069
|
return kt[2] = lt[2];
|
|
34071
|
-
if (Mt[
|
|
34070
|
+
if (Mt[de] = kt, kt[2] = Q(Ue, ct, ft))
|
|
34072
34071
|
return !0;
|
|
34073
34072
|
}
|
|
34074
34073
|
return !1;
|
|
@@ -34089,13 +34088,13 @@ var R4 = function(e, t) {
|
|
|
34089
34088
|
return _e;
|
|
34090
34089
|
}
|
|
34091
34090
|
function pa(Q, me, _e, ke, J) {
|
|
34092
|
-
for (var
|
|
34093
|
-
(
|
|
34091
|
+
for (var de, fe = [], $e = 0, Ue = Q.length, ct = me != null; $e < Ue; $e++)
|
|
34092
|
+
(de = Q[$e]) && (!_e || _e(de, ke, J)) && (fe.push(de), ct && me.push($e));
|
|
34094
34093
|
return fe;
|
|
34095
34094
|
}
|
|
34096
|
-
function Co(Q, me, _e, ke, J,
|
|
34097
|
-
return ke && !ke[Ne] && (ke = Co(ke)), J && !J[Ne] && (J = Co(J,
|
|
34098
|
-
var ft, lt, Mt, kt, Gt = [], jn = [], fr =
|
|
34095
|
+
function Co(Q, me, _e, ke, J, de) {
|
|
34096
|
+
return ke && !ke[Ne] && (ke = Co(ke)), J && !J[Ne] && (J = Co(J, de)), On(function(fe, $e, Ue, ct) {
|
|
34097
|
+
var ft, lt, Mt, kt, Gt = [], jn = [], fr = $e.length, Jn = fe || Hu(
|
|
34099
34098
|
me || "*",
|
|
34100
34099
|
Ue.nodeType ? [Ue] : Ue,
|
|
34101
34100
|
[]
|
|
@@ -34105,7 +34104,7 @@ var R4 = function(e, t) {
|
|
|
34105
34104
|
[]
|
|
34106
34105
|
) : (
|
|
34107
34106
|
// ...otherwise use results directly
|
|
34108
|
-
|
|
34107
|
+
$e
|
|
34109
34108
|
), _e(qr, kt, Ue, ct)) : kt = qr, ke)
|
|
34110
34109
|
for (ft = pa(kt, jn), ke(ft, [], Ue, ct), lt = ft.length; lt--; )
|
|
34111
34110
|
(Mt = ft[lt]) && (kt[jn[lt]] = !(qr[jn[lt]] = Mt));
|
|
@@ -34117,37 +34116,37 @@ var R4 = function(e, t) {
|
|
|
34117
34116
|
J(null, kt = [], ft, ct);
|
|
34118
34117
|
}
|
|
34119
34118
|
for (lt = kt.length; lt--; )
|
|
34120
|
-
(Mt = kt[lt]) && (ft = J ? c.call(fe, Mt) : Gt[lt]) > -1 && (fe[ft] = !(
|
|
34119
|
+
(Mt = kt[lt]) && (ft = J ? c.call(fe, Mt) : Gt[lt]) > -1 && (fe[ft] = !($e[ft] = Mt));
|
|
34121
34120
|
}
|
|
34122
34121
|
} else
|
|
34123
34122
|
kt = pa(
|
|
34124
|
-
kt ===
|
|
34125
|
-
), J ? J(null,
|
|
34123
|
+
kt === $e ? kt.splice(fr, kt.length) : kt
|
|
34124
|
+
), J ? J(null, $e, kt, ct) : j.apply($e, kt);
|
|
34126
34125
|
});
|
|
34127
34126
|
}
|
|
34128
34127
|
function br(Q) {
|
|
34129
|
-
for (var me, _e, ke, J = Q.length,
|
|
34128
|
+
for (var me, _e, ke, J = Q.length, de = m.relative[Q[0].type], fe = de || m.relative[" "], $e = de ? 1 : 0, Ue = eo(function(lt) {
|
|
34130
34129
|
return lt === me;
|
|
34131
34130
|
}, fe, !0), ct = eo(function(lt) {
|
|
34132
34131
|
return c.call(me, lt) > -1;
|
|
34133
34132
|
}, fe, !0), ft = [function(lt, Mt, kt) {
|
|
34134
|
-
var Gt = !
|
|
34133
|
+
var Gt = !de && (kt || Mt != C) || ((me = Mt).nodeType ? Ue(lt, Mt, kt) : ct(lt, Mt, kt));
|
|
34135
34134
|
return me = null, Gt;
|
|
34136
|
-
}];
|
|
34137
|
-
if (_e = m.relative[Q[
|
|
34135
|
+
}]; $e < J; $e++)
|
|
34136
|
+
if (_e = m.relative[Q[$e].type])
|
|
34138
34137
|
ft = [eo(Zs(ft), _e)];
|
|
34139
34138
|
else {
|
|
34140
|
-
if (_e = m.filter[Q[
|
|
34141
|
-
for (ke =
|
|
34139
|
+
if (_e = m.filter[Q[$e].type].apply(null, Q[$e].matches), _e[Ne]) {
|
|
34140
|
+
for (ke = ++$e; ke < J && !m.relative[Q[ke].type]; ke++)
|
|
34142
34141
|
;
|
|
34143
34142
|
return Co(
|
|
34144
|
-
|
|
34145
|
-
|
|
34143
|
+
$e > 1 && Zs(ft),
|
|
34144
|
+
$e > 1 && Oi(
|
|
34146
34145
|
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
|
34147
|
-
Q.slice(0,
|
|
34146
|
+
Q.slice(0, $e - 1).concat({ value: Q[$e - 2].type === " " ? "*" : "" })
|
|
34148
34147
|
).replace(Qe, "$1"),
|
|
34149
34148
|
_e,
|
|
34150
|
-
|
|
34149
|
+
$e < ke && br(Q.slice($e, ke)),
|
|
34151
34150
|
ke < J && br(Q = Q.slice(ke)),
|
|
34152
34151
|
ke < J && Oi(Q)
|
|
34153
34152
|
);
|
|
@@ -34157,65 +34156,65 @@ var R4 = function(e, t) {
|
|
|
34157
34156
|
return Zs(ft);
|
|
34158
34157
|
}
|
|
34159
34158
|
function Js(Q, me) {
|
|
34160
|
-
var _e = me.length > 0, ke = Q.length > 0, J = function(
|
|
34161
|
-
var ft, lt, Mt, kt = 0, Gt = "0", jn =
|
|
34159
|
+
var _e = me.length > 0, ke = Q.length > 0, J = function(de, fe, $e, Ue, ct) {
|
|
34160
|
+
var ft, lt, Mt, kt = 0, Gt = "0", jn = de && [], fr = [], Jn = C, qr = de || ke && m.find.TAG("*", ct), to = Ee += Jn == null ? 1 : Math.random() || 0.1, Lt = qr.length;
|
|
34162
34161
|
for (ct && (C = fe == H || fe || ct); Gt !== Lt && (ft = qr[Gt]) != null; Gt++) {
|
|
34163
34162
|
if (ke && ft) {
|
|
34164
|
-
for (lt = 0, !fe && ft.ownerDocument != H && (To(ft),
|
|
34165
|
-
if (Mt(ft, fe || H,
|
|
34163
|
+
for (lt = 0, !fe && ft.ownerDocument != H && (To(ft), $e = !ie); Mt = Q[lt++]; )
|
|
34164
|
+
if (Mt(ft, fe || H, $e)) {
|
|
34166
34165
|
j.call(Ue, ft);
|
|
34167
34166
|
break;
|
|
34168
34167
|
}
|
|
34169
34168
|
ct && (Ee = to);
|
|
34170
34169
|
}
|
|
34171
|
-
_e && ((ft = !Mt && ft) && kt--,
|
|
34170
|
+
_e && ((ft = !Mt && ft) && kt--, de && jn.push(ft));
|
|
34172
34171
|
}
|
|
34173
34172
|
if (kt += Gt, _e && Gt !== kt) {
|
|
34174
34173
|
for (lt = 0; Mt = me[lt++]; )
|
|
34175
|
-
Mt(jn, fr, fe,
|
|
34176
|
-
if (
|
|
34174
|
+
Mt(jn, fr, fe, $e);
|
|
34175
|
+
if (de) {
|
|
34177
34176
|
if (kt > 0)
|
|
34178
34177
|
for (; Gt--; )
|
|
34179
34178
|
jn[Gt] || fr[Gt] || (fr[Gt] = Fe.call(Ue));
|
|
34180
34179
|
fr = pa(fr);
|
|
34181
34180
|
}
|
|
34182
|
-
j.apply(Ue, fr), ct && !
|
|
34181
|
+
j.apply(Ue, fr), ct && !de && fr.length > 0 && kt + me.length > 1 && x.uniqueSort(Ue);
|
|
34183
34182
|
}
|
|
34184
34183
|
return ct && (Ee = to, C = Jn), jn;
|
|
34185
34184
|
};
|
|
34186
34185
|
return _e ? On(J) : J;
|
|
34187
34186
|
}
|
|
34188
34187
|
function vs(Q, me) {
|
|
34189
|
-
var _e, ke = [], J = [],
|
|
34190
|
-
if (!
|
|
34188
|
+
var _e, ke = [], J = [], de = At[Q + " "];
|
|
34189
|
+
if (!de) {
|
|
34191
34190
|
for (me || (me = ha(Q)), _e = me.length; _e--; )
|
|
34192
|
-
|
|
34193
|
-
|
|
34191
|
+
de = br(me[_e]), de[Ne] ? ke.push(de) : J.push(de);
|
|
34192
|
+
de = At(
|
|
34194
34193
|
Q,
|
|
34195
34194
|
Js(J, ke)
|
|
34196
|
-
),
|
|
34195
|
+
), de.selector = Q;
|
|
34197
34196
|
}
|
|
34198
|
-
return
|
|
34197
|
+
return de;
|
|
34199
34198
|
}
|
|
34200
34199
|
function ms(Q, me, _e, ke) {
|
|
34201
|
-
var J,
|
|
34200
|
+
var J, de, fe, $e, Ue, ct = typeof Q == "function" && Q, ft = !ke && ha(Q = ct.selector || Q);
|
|
34202
34201
|
if (_e = _e || [], ft.length === 1) {
|
|
34203
|
-
if (
|
|
34202
|
+
if (de = ft[0] = ft[0].slice(0), de.length > 2 && (fe = de[0]).type === "ID" && me.nodeType === 9 && ie && m.relative[de[1].type]) {
|
|
34204
34203
|
if (me = (m.find.ID(
|
|
34205
|
-
fe.matches[0].replace(
|
|
34204
|
+
fe.matches[0].replace(je, et),
|
|
34206
34205
|
me
|
|
34207
34206
|
) || [])[0], me)
|
|
34208
34207
|
ct && (me = me.parentNode);
|
|
34209
34208
|
else
|
|
34210
34209
|
return _e;
|
|
34211
|
-
Q = Q.slice(
|
|
34210
|
+
Q = Q.slice(de.shift().value.length);
|
|
34212
34211
|
}
|
|
34213
|
-
for (J = F.needsContext.test(Q) ? 0 :
|
|
34214
|
-
if ((Ue = m.find[
|
|
34215
|
-
fe.matches[0].replace(
|
|
34216
|
-
xe.test(
|
|
34212
|
+
for (J = F.needsContext.test(Q) ? 0 : de.length; J-- && (fe = de[J], !m.relative[$e = fe.type]); )
|
|
34213
|
+
if ((Ue = m.find[$e]) && (ke = Ue(
|
|
34214
|
+
fe.matches[0].replace(je, et),
|
|
34215
|
+
xe.test(de[0].type) && Ks(me.parentNode) || me
|
|
34217
34216
|
))) {
|
|
34218
|
-
if (
|
|
34217
|
+
if (de.splice(J, 1), Q = ke.length && Oi(de), !Q)
|
|
34219
34218
|
return j.apply(_e, ke), _e;
|
|
34220
34219
|
break;
|
|
34221
34220
|
}
|
|
@@ -34244,7 +34243,7 @@ var R4 = function(e, t) {
|
|
|
34244
34243
|
for (var C = []; f; f = f.nextSibling)
|
|
34245
34244
|
f.nodeType === 1 && f !== m && C.push(f);
|
|
34246
34245
|
return C;
|
|
34247
|
-
}, De = x.expr.match.needsContext,
|
|
34246
|
+
}, De = x.expr.match.needsContext, Be = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
|
|
34248
34247
|
function He(f, m, C) {
|
|
34249
34248
|
return R(m) ? x.grep(f, function(O, N) {
|
|
34250
34249
|
return !!m.call(O, N, O) !== C;
|
|
@@ -34299,7 +34298,7 @@ var R4 = function(e, t) {
|
|
|
34299
34298
|
O[1],
|
|
34300
34299
|
m && m.nodeType ? m.ownerDocument || m : I,
|
|
34301
34300
|
!0
|
|
34302
|
-
)),
|
|
34301
|
+
)), Be.test(O[1]) && x.isPlainObject(m))
|
|
34303
34302
|
for (O in m)
|
|
34304
34303
|
R(this[O]) ? this[O](m[O]) : this.attr(O, m[O]);
|
|
34305
34304
|
return this;
|
|
@@ -36757,7 +36756,7 @@ var R4 = function(e, t) {
|
|
|
36757
36756
|
return [];
|
|
36758
36757
|
typeof m == "boolean" && (C = m, m = !1);
|
|
36759
36758
|
var O, N, j;
|
|
36760
|
-
return m || (P.createHTMLDocument ? (m = I.implementation.createHTMLDocument(""), O = m.createElement("base"), O.href = I.location.href, m.head.appendChild(O)) : m = I), N =
|
|
36759
|
+
return m || (P.createHTMLDocument ? (m = I.implementation.createHTMLDocument(""), O = m.createElement("base"), O.href = I.location.href, m.head.appendChild(O)) : m = I), N = Be.exec(f), j = !C && [], N ? [m.createElement(N[1])] : (N = Sn([f], m, j), j && j.length && x(j).remove(), x.merge([], N.childNodes));
|
|
36761
36760
|
}, x.fn.load = function(f, m, C) {
|
|
36762
36761
|
var O, N, j, H = this, le = f.indexOf(" ");
|
|
36763
36762
|
return le > -1 && (O = bt(f.slice(le)), f = f.slice(0, le)), R(m) ? (C = m, m = void 0) : m && typeof m == "object" && (N = "POST"), H.length > 0 && x.ajax({
|
|
@@ -37075,8 +37074,8 @@ var L4 = { exports: {} };
|
|
|
37075
37074
|
oe += "<thead>", oe += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (oe += "<th></th>"), (!x || x.isBefore(I.firstDay)) && (!this.linkedCalendars || i == "left") ? oe += '<th class="prev available"><span></span></th>' : oe += "<th></th>";
|
|
37076
37075
|
var Fe = this.locale.monthNames[I[1][1].month()] + I[1][1].format(" YYYY");
|
|
37077
37076
|
if (this.showDropdowns) {
|
|
37078
|
-
for (var Ke = I[1][1].month(), We = I[1][1].year(), Ze = ue && ue.year() || this.maxYear, Qe = x && x.year() || this.minYear,
|
|
37079
|
-
(!
|
|
37077
|
+
for (var Ke = I[1][1].month(), We = I[1][1].year(), Ze = ue && ue.year() || this.maxYear, Qe = x && x.year() || this.minYear, he = We == Qe, Te = We == Ze, Ve = '<select class="monthselect">', Je = 0; Je < 12; Je++)
|
|
37078
|
+
(!he || x && Je >= x.month()) && (!Te || ue && Je <= ue.month()) ? Ve += "<option value='" + Je + "'" + (Je === Ke ? " selected='selected'" : "") + ">" + this.locale.monthNames[Je] + "</option>" : Ve += "<option value='" + Je + "'" + (Je === Ke ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[Je] + "</option>";
|
|
37080
37079
|
Ve += "</select>";
|
|
37081
37080
|
for (var ot = '<select class="yearselect">', Ce = Qe; Ce <= Ze; Ce++)
|
|
37082
37081
|
ot += '<option value="' + Ce + '"' + (Ce === We ? ' selected="selected"' : "") + ">" + Ce + "</option>";
|
|
@@ -37091,12 +37090,12 @@ var L4 = { exports: {} };
|
|
|
37091
37090
|
for (var pe = 0; pe < 6; pe++) {
|
|
37092
37091
|
oe += "<tr>", this.showWeekNumbers ? oe += '<td class="week">' + I[pe][0].week() + "</td>" : this.showISOWeekNumbers && (oe += '<td class="week">' + I[pe][0].isoWeek() + "</td>");
|
|
37093
37092
|
for (var Z = 0; Z < 7; Z++) {
|
|
37094
|
-
var
|
|
37095
|
-
I[pe][Z].isSame(/* @__PURE__ */ new Date(), "day") &&
|
|
37093
|
+
var Be = [];
|
|
37094
|
+
I[pe][Z].isSame(/* @__PURE__ */ new Date(), "day") && Be.push("today"), I[pe][Z].isoWeekday() > 5 && Be.push("weekend"), I[pe][Z].month() != I[1][1].month() && Be.push("off", "ends"), this.minDate && I[pe][Z].isBefore(this.minDate, "day") && Be.push("off", "disabled"), ue && I[pe][Z].isAfter(ue, "day") && Be.push("off", "disabled"), this.isInvalidDate(I[pe][Z]) && Be.push("off", "disabled"), I[pe][Z].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && Be.push("active", "start-date"), this.endDate != null && I[pe][Z].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && Be.push("active", "end-date"), this.endDate != null && I[pe][Z] > this.startDate && I[pe][Z] < this.endDate && Be.push("in-range");
|
|
37096
37095
|
var He = this.isCustomDate(I[pe][Z]);
|
|
37097
|
-
He !== !1 && (typeof He == "string" ?
|
|
37098
|
-
for (var Pe = "", Le = !1, U = 0; U <
|
|
37099
|
-
Pe +=
|
|
37096
|
+
He !== !1 && (typeof He == "string" ? Be.push(He) : Array.prototype.push.apply(Be, He));
|
|
37097
|
+
for (var Pe = "", Le = !1, U = 0; U < Be.length; U++)
|
|
37098
|
+
Pe += Be[U] + " ", Be[U] == "disabled" && (Le = !0);
|
|
37100
37099
|
Le || (Pe += "available"), oe += '<td class="' + Pe.replace(/^\s+|\s+$/g, "") + '" data-title="r' + pe + "c" + Z + '">' + I[pe][Z].date() + "</td>";
|
|
37101
37100
|
}
|
|
37102
37101
|
oe += "</tr>";
|
|
@@ -40519,7 +40518,7 @@ export {
|
|
|
40519
40518
|
s7 as G,
|
|
40520
40519
|
a7 as H,
|
|
40521
40520
|
c7 as I,
|
|
40522
|
-
|
|
40521
|
+
SO as J,
|
|
40523
40522
|
H5 as K,
|
|
40524
40523
|
lT as L,
|
|
40525
40524
|
uT as M,
|