@ukpc-lib/react 0.8.13 → 0.8.15

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.
@@ -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 de = "".concat(Ze).concat(d).concat(Qe);
750
- We[Qe] = this.translate(de, $i($i({}, o), {
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] === de && (We[Qe] = U[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 $e = o.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, He = $e && Ve ? void 0 : U, Pe = ot && De !== U && this.options.updateMissing;
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), {}, {
@@ -2822,7 +2822,11 @@ function YA(e) {
2822
2822
  var s, l;
2823
2823
  const { data: t, isFetching: n } = ay(
2824
2824
  ["customTheme"],
2825
- () => e != null && e.url ? fetch(e.url).then((c) => c.json()) : void 0,
2825
+ () => e != null && e.url ? fetch(e.url).then((c) => c.json()).then((c) => {
2826
+ var v, p;
2827
+ const d = c;
2828
+ return console.log("🚀 ~ .then ~ _info:", d), (v = d == null ? void 0 : d.theme) != null && v.image && (d.theme.image = d.theme.image + "?v=" + Date.now()), (p = d == null ? void 0 : d.theme) != null && p.favicon && (d.theme.favicon = d.theme.favicon + "?v=" + Date.now()), d;
2829
+ }) : void 0,
2826
2830
  {
2827
2831
  enabled: !!(e != null && e.url) && (e == null ? void 0 : e.enabled),
2828
2832
  refetchOnWindowFocus: !1,
@@ -2833,7 +2837,7 @@ function YA(e) {
2833
2837
  }
2834
2838
  }
2835
2839
  ), r = WA(_i, (s = t == null ? void 0 : t.theme) == null ? void 0 : s.keyColor);
2836
- console.log("🚀 ~ useThemeContext ~ isFetching:", n);
2840
+ console.log("🚀 ~ useThemeContext ~ isFetching:", n), console.log("🚀 ~ useThemeContext ~ data?.theme?:", t == null ? void 0 : t.theme);
2837
2841
  const i = UA({ colors: r }), o = (l = t == null ? void 0 : t.theme) == null ? void 0 : l.image;
2838
2842
  return {
2839
2843
  colors: r,
@@ -3590,8 +3594,8 @@ function AM() {
3590
3594
  formData: "FormData" in l,
3591
3595
  arrayBuffer: "ArrayBuffer" in l
3592
3596
  };
3593
- function d(de) {
3594
- return de && DataView.prototype.isPrototypeOf(de);
3597
+ function d(he) {
3598
+ return he && DataView.prototype.isPrototypeOf(he);
3595
3599
  }
3596
3600
  if (c.arrayBuffer)
3597
3601
  var v = [
@@ -3604,21 +3608,21 @@ function AM() {
3604
3608
  "[object Uint32Array]",
3605
3609
  "[object Float32Array]",
3606
3610
  "[object Float64Array]"
3607
- ], p = ArrayBuffer.isView || function(de) {
3608
- return de && v.indexOf(Object.prototype.toString.call(de)) > -1;
3611
+ ], p = ArrayBuffer.isView || function(he) {
3612
+ return he && v.indexOf(Object.prototype.toString.call(he)) > -1;
3609
3613
  };
3610
- function S(de) {
3611
- if (typeof de != "string" && (de = String(de)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(de) || de === "")
3612
- throw new TypeError('Invalid character in header field name: "' + de + '"');
3613
- return de.toLowerCase();
3614
+ function S(he) {
3615
+ if (typeof he != "string" && (he = String(he)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(he) || he === "")
3616
+ throw new TypeError('Invalid character in header field name: "' + he + '"');
3617
+ return he.toLowerCase();
3614
3618
  }
3615
- function T(de) {
3616
- return typeof de != "string" && (de = String(de)), de;
3619
+ function T(he) {
3620
+ return typeof he != "string" && (he = String(he)), he;
3617
3621
  }
3618
- function P(de) {
3622
+ function P(he) {
3619
3623
  var Te = {
3620
3624
  next: function() {
3621
- var Ve = de.shift();
3625
+ var Ve = he.shift();
3622
3626
  return { done: Ve === void 0, value: Ve };
3623
3627
  }
3624
3628
  };
@@ -3626,86 +3630,86 @@ function AM() {
3626
3630
  return Te;
3627
3631
  }), Te;
3628
3632
  }
3629
- function R(de) {
3630
- this.map = {}, de instanceof R ? de.forEach(function(Te, Ve) {
3633
+ function R(he) {
3634
+ this.map = {}, he instanceof R ? he.forEach(function(Te, Ve) {
3631
3635
  this.append(Ve, Te);
3632
- }, this) : Array.isArray(de) ? de.forEach(function(Te) {
3636
+ }, this) : Array.isArray(he) ? he.forEach(function(Te) {
3633
3637
  this.append(Te[0], Te[1]);
3634
- }, this) : de && Object.getOwnPropertyNames(de).forEach(function(Te) {
3635
- this.append(Te, de[Te]);
3638
+ }, this) : he && Object.getOwnPropertyNames(he).forEach(function(Te) {
3639
+ this.append(Te, he[Te]);
3636
3640
  }, this);
3637
3641
  }
3638
- R.prototype.append = function(de, Te) {
3639
- de = S(de), Te = T(Te);
3640
- var Ve = this.map[de];
3641
- this.map[de] = Ve ? Ve + ", " + Te : Te;
3642
- }, R.prototype.delete = function(de) {
3643
- delete this.map[S(de)];
3644
- }, R.prototype.get = function(de) {
3645
- return de = S(de), this.has(de) ? this.map[de] : null;
3646
- }, R.prototype.has = function(de) {
3647
- return this.map.hasOwnProperty(S(de));
3648
- }, R.prototype.set = function(de, Te) {
3649
- this.map[S(de)] = T(Te);
3650
- }, R.prototype.forEach = function(de, Te) {
3642
+ R.prototype.append = function(he, Te) {
3643
+ he = S(he), Te = T(Te);
3644
+ var Ve = this.map[he];
3645
+ this.map[he] = Ve ? Ve + ", " + Te : Te;
3646
+ }, R.prototype.delete = function(he) {
3647
+ delete this.map[S(he)];
3648
+ }, R.prototype.get = function(he) {
3649
+ return he = S(he), this.has(he) ? this.map[he] : null;
3650
+ }, R.prototype.has = function(he) {
3651
+ return this.map.hasOwnProperty(S(he));
3652
+ }, R.prototype.set = function(he, Te) {
3653
+ this.map[S(he)] = T(Te);
3654
+ }, R.prototype.forEach = function(he, Te) {
3651
3655
  for (var Ve in this.map)
3652
- this.map.hasOwnProperty(Ve) && de.call(Te, this.map[Ve], Ve, this);
3656
+ this.map.hasOwnProperty(Ve) && he.call(Te, this.map[Ve], Ve, this);
3653
3657
  }, R.prototype.keys = function() {
3654
- var de = [];
3658
+ var he = [];
3655
3659
  return this.forEach(function(Te, Ve) {
3656
- de.push(Ve);
3657
- }), P(de);
3660
+ he.push(Ve);
3661
+ }), P(he);
3658
3662
  }, R.prototype.values = function() {
3659
- var de = [];
3663
+ var he = [];
3660
3664
  return this.forEach(function(Te) {
3661
- de.push(Te);
3662
- }), P(de);
3665
+ he.push(Te);
3666
+ }), P(he);
3663
3667
  }, R.prototype.entries = function() {
3664
- var de = [];
3668
+ var he = [];
3665
3669
  return this.forEach(function(Te, Ve) {
3666
- de.push([Ve, Te]);
3667
- }), P(de);
3670
+ he.push([Ve, Te]);
3671
+ }), P(he);
3668
3672
  }, c.iterable && (R.prototype[Symbol.iterator] = R.prototype.entries);
3669
- function L(de) {
3670
- if (de.bodyUsed)
3673
+ function L(he) {
3674
+ if (he.bodyUsed)
3671
3675
  return Promise.reject(new TypeError("Already read"));
3672
- de.bodyUsed = !0;
3676
+ he.bodyUsed = !0;
3673
3677
  }
3674
- function I(de) {
3678
+ function I(he) {
3675
3679
  return new Promise(function(Te, Ve) {
3676
- de.onload = function() {
3677
- Te(de.result);
3678
- }, de.onerror = function() {
3679
- Ve(de.error);
3680
+ he.onload = function() {
3681
+ Te(he.result);
3682
+ }, he.onerror = function() {
3683
+ Ve(he.error);
3680
3684
  };
3681
3685
  });
3682
3686
  }
3683
- function U(de) {
3687
+ function U(he) {
3684
3688
  var Te = new FileReader(), Ve = I(Te);
3685
- return Te.readAsArrayBuffer(de), Ve;
3689
+ return Te.readAsArrayBuffer(he), Ve;
3686
3690
  }
3687
- function W(de) {
3691
+ function W(he) {
3688
3692
  var Te = new FileReader(), Ve = I(Te);
3689
- return Te.readAsText(de), Ve;
3693
+ return Te.readAsText(he), Ve;
3690
3694
  }
3691
- function ee(de) {
3692
- for (var Te = new Uint8Array(de), Ve = new Array(Te.length), Je = 0; Je < Te.length; Je++)
3695
+ function ee(he) {
3696
+ for (var Te = new Uint8Array(he), Ve = new Array(Te.length), Je = 0; Je < Te.length; Je++)
3693
3697
  Ve[Je] = String.fromCharCode(Te[Je]);
3694
3698
  return Ve.join("");
3695
3699
  }
3696
- function Z(de) {
3697
- if (de.slice)
3698
- return de.slice(0);
3699
- var Te = new Uint8Array(de.byteLength);
3700
- return Te.set(new Uint8Array(de)), Te.buffer;
3700
+ function Z(he) {
3701
+ if (he.slice)
3702
+ return he.slice(0);
3703
+ var Te = new Uint8Array(he.byteLength);
3704
+ return Te.set(new Uint8Array(he)), Te.buffer;
3701
3705
  }
3702
3706
  function pe() {
3703
- return this.bodyUsed = !1, this._initBody = function(de) {
3704
- this.bodyUsed = this.bodyUsed, this._bodyInit = de, de ? typeof de == "string" ? this._bodyText = de : c.blob && Blob.prototype.isPrototypeOf(de) ? this._bodyBlob = de : c.formData && FormData.prototype.isPrototypeOf(de) ? this._bodyFormData = de : c.searchParams && URLSearchParams.prototype.isPrototypeOf(de) ? this._bodyText = de.toString() : c.arrayBuffer && c.blob && d(de) ? (this._bodyArrayBuffer = Z(de.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : c.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(de) || p(de)) ? this._bodyArrayBuffer = Z(de) : this._bodyText = de = Object.prototype.toString.call(de) : this._bodyText = "", this.headers.get("content-type") || (typeof de == "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(de) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
3707
+ return this.bodyUsed = !1, this._initBody = function(he) {
3708
+ 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
3709
  }, c.blob && (this.blob = function() {
3706
- var de = L(this);
3707
- if (de)
3708
- return de;
3710
+ var he = L(this);
3711
+ if (he)
3712
+ return he;
3709
3713
  if (this._bodyBlob)
3710
3714
  return Promise.resolve(this._bodyBlob);
3711
3715
  if (this._bodyArrayBuffer)
@@ -3715,8 +3719,8 @@ function AM() {
3715
3719
  return Promise.resolve(new Blob([this._bodyText]));
3716
3720
  }, this.arrayBuffer = function() {
3717
3721
  if (this._bodyArrayBuffer) {
3718
- var de = L(this);
3719
- return de || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
3722
+ var he = L(this);
3723
+ return he || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
3720
3724
  this._bodyArrayBuffer.buffer.slice(
3721
3725
  this._bodyArrayBuffer.byteOffset,
3722
3726
  this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength
@@ -3725,9 +3729,9 @@ function AM() {
3725
3729
  } else
3726
3730
  return this.blob().then(U);
3727
3731
  }), this.text = function() {
3728
- var de = L(this);
3729
- if (de)
3730
- return de;
3732
+ var he = L(this);
3733
+ if (he)
3734
+ return he;
3731
3735
  if (this._bodyBlob)
3732
3736
  return W(this._bodyBlob);
3733
3737
  if (this._bodyArrayBuffer)
@@ -3742,21 +3746,21 @@ function AM() {
3742
3746
  }, this;
3743
3747
  }
3744
3748
  var x = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
3745
- function ue(de) {
3746
- var Te = de.toUpperCase();
3747
- return x.indexOf(Te) > -1 ? Te : de;
3749
+ function ue(he) {
3750
+ var Te = he.toUpperCase();
3751
+ return x.indexOf(Te) > -1 ? Te : he;
3748
3752
  }
3749
- function oe(de, Te) {
3753
+ function oe(he, Te) {
3750
3754
  if (!(this instanceof oe))
3751
3755
  throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
3752
3756
  Te = Te || {};
3753
3757
  var Ve = Te.body;
3754
- if (de instanceof oe) {
3755
- if (de.bodyUsed)
3758
+ if (he instanceof oe) {
3759
+ if (he.bodyUsed)
3756
3760
  throw new TypeError("Already read");
3757
- this.url = de.url, this.credentials = de.credentials, Te.headers || (this.headers = new R(de.headers)), this.method = de.method, this.mode = de.mode, this.signal = de.signal, !Ve && de._bodyInit != null && (Ve = de._bodyInit, de.bodyUsed = !0);
3761
+ 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
3762
  } else
3759
- this.url = String(de);
3763
+ this.url = String(he);
3760
3764
  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
3765
  throw new TypeError("Body not allowed for GET or HEAD requests");
3762
3766
  if (this._initBody(Ve), (this.method === "GET" || this.method === "HEAD") && (Te.cache === "no-store" || Te.cache === "no-cache")) {
@@ -3772,17 +3776,17 @@ function AM() {
3772
3776
  oe.prototype.clone = function() {
3773
3777
  return new oe(this, { body: this._bodyInit });
3774
3778
  };
3775
- function Fe(de) {
3779
+ function Fe(he) {
3776
3780
  var Te = new FormData();
3777
- return de.trim().split("&").forEach(function(Ve) {
3781
+ return he.trim().split("&").forEach(function(Ve) {
3778
3782
  if (Ve) {
3779
3783
  var Je = Ve.split("="), ot = Je.shift().replace(/\+/g, " "), Ce = Je.join("=").replace(/\+/g, " ");
3780
3784
  Te.append(decodeURIComponent(ot), decodeURIComponent(Ce));
3781
3785
  }
3782
3786
  }), Te;
3783
3787
  }
3784
- function Ke(de) {
3785
- var Te = new R(), Ve = de.replace(/\r?\n[\t ]+/g, " ");
3788
+ function Ke(he) {
3789
+ var Te = new R(), Ve = he.replace(/\r?\n[\t ]+/g, " ");
3786
3790
  return Ve.split("\r").map(function(Je) {
3787
3791
  return Je.indexOf(`
3788
3792
  `) === 0 ? Je.substr(1, Je.length) : Je;
@@ -3795,10 +3799,10 @@ function AM() {
3795
3799
  }), Te;
3796
3800
  }
3797
3801
  pe.call(oe.prototype);
3798
- function We(de, Te) {
3802
+ function We(he, Te) {
3799
3803
  if (!(this instanceof We))
3800
3804
  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(de);
3805
+ 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
3806
  }
3803
3807
  pe.call(We.prototype), We.prototype.clone = function() {
3804
3808
  return new We(this._bodyInit, {
@@ -3808,14 +3812,14 @@ function AM() {
3808
3812
  url: this.url
3809
3813
  });
3810
3814
  }, We.error = function() {
3811
- var de = new We(null, { status: 0, statusText: "" });
3812
- return de.type = "error", de;
3815
+ var he = new We(null, { status: 0, statusText: "" });
3816
+ return he.type = "error", he;
3813
3817
  };
3814
3818
  var Ze = [301, 302, 303, 307, 308];
3815
- We.redirect = function(de, Te) {
3819
+ We.redirect = function(he, Te) {
3816
3820
  if (Ze.indexOf(Te) === -1)
3817
3821
  throw new RangeError("Invalid status code");
3818
- return new We(null, { status: Te, headers: { location: de } });
3822
+ return new We(null, { status: Te, headers: { location: he } });
3819
3823
  }, s.DOMException = l.DOMException;
3820
3824
  try {
3821
3825
  new s.DOMException();
@@ -3826,9 +3830,9 @@ function AM() {
3826
3830
  this.stack = Je.stack;
3827
3831
  }, s.DOMException.prototype = Object.create(Error.prototype), s.DOMException.prototype.constructor = s.DOMException;
3828
3832
  }
3829
- function Qe(de, Te) {
3833
+ function Qe(he, Te) {
3830
3834
  return new Promise(function(Ve, Je) {
3831
- var ot = new oe(de, Te);
3835
+ var ot = new oe(he, Te);
3832
3836
  if (ot.signal && ot.signal.aborted)
3833
3837
  return Je(new s.DOMException("Aborted", "AbortError"));
3834
3838
  var Ce = new XMLHttpRequest();
@@ -3859,14 +3863,14 @@ function AM() {
3859
3863
  Je(new s.DOMException("Aborted", "AbortError"));
3860
3864
  }, 0);
3861
3865
  };
3862
- function $e(He) {
3866
+ function Be(He) {
3863
3867
  try {
3864
3868
  return He === "" && l.location.href ? l.location.href : He;
3865
3869
  } catch {
3866
3870
  return He;
3867
3871
  }
3868
3872
  }
3869
- Ce.open(ot.method, $e(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) {
3873
+ 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
3874
  Ce.setRequestHeader(He, T(Te.headers[He]));
3871
3875
  }) : ot.headers.forEach(function(He, Pe) {
3872
3876
  Ce.setRequestHeader(Pe, He);
@@ -4962,27 +4966,27 @@ function IL(e) {
4962
4966
  }, removeToast: pe, toasts: W, clearQueue: () => {
4963
4967
  P -= R.length, R = [];
4964
4968
  }, buildToast: (ue, oe) => {
4965
- if ((($e) => {
4966
- let { containerId: He, toastId: Pe, updateId: Le } = $e;
4969
+ if (((Be) => {
4970
+ let { containerId: He, toastId: Pe, updateId: Le } = Be;
4967
4971
  const ze = He ? He !== v : v !== 1, st = W.has(Pe) && Le == null;
4968
4972
  return ze || st;
4969
4973
  })(oe))
4970
4974
  return;
4971
- const { toastId: Fe, updateId: Ke, data: We, staleId: Ze, delay: Qe } = oe, de = () => {
4975
+ const { toastId: Fe, updateId: Ke, data: We, staleId: Ze, delay: Qe } = oe, he = () => {
4972
4976
  pe(Fe);
4973
4977
  }, Te = Ke == null;
4974
4978
  Te && P++;
4975
- const Ve = { ...U, style: U.toastStyle, key: T++, ...Object.fromEntries(Object.entries(oe).filter(($e) => {
4976
- let [He, Pe] = $e;
4979
+ const Ve = { ...U, style: U.toastStyle, key: T++, ...Object.fromEntries(Object.entries(oe).filter((Be) => {
4980
+ let [He, Pe] = Be;
4977
4981
  return Pe != null;
4978
- })), toastId: Fe, updateId: Ke, data: We, closeToast: de, 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 $e = W.get(Fe), { onClose: He, children: Pe } = $e.props;
4980
- ra(He) && He(Lc(Pe) && Pe.props), S(ow($e, "removed")), W.delete(Fe), P--, P < 0 && (P = 0), R.length > 0 ? x(R.shift()) : Z();
4982
+ })), 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() {
4983
+ const Be = W.get(Fe), { onClose: He, children: Pe } = Be.props;
4984
+ 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
4985
  } };
4982
4986
  var Je, ot;
4983
4987
  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
4988
  let Ce = ue;
4985
- Lc(ue) && !Fc(ue.type) ? Ce = Rd(ue, { closeToast: de, toastProps: Ve, data: We }) : ra(ue) && (Ce = ue({ closeToast: de, toastProps: Ve, data: We }));
4989
+ 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
4990
  const De = { content: Ce, props: Ve, staleId: Ze };
4987
4991
  U.limit && U.limit > 0 && P > U.limit && Te ? R.push(De) : Ld(Qe) ? setTimeout(() => {
4988
4992
  x(De);
@@ -5151,16 +5155,16 @@ const NL = typeof window < "u" ? Ys : Rt, Eh = (e) => {
5151
5155
  }, spinner: function() {
5152
5156
  return pt.createElement("div", { className: "Toastify__spinner" });
5153
5157
  } }, 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, de = 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: de }) : ku(de, R), Ve = function(De) {
5155
- let { theme: $e, type: He, isLoading: Pe, icon: Le } = De, ze = null;
5156
- const st = { theme: $e, type: He };
5158
+ 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) {
5159
+ let { theme: Be, type: He, isLoading: Pe, icon: Le } = De, ze = null;
5160
+ const st = { theme: Be, type: He };
5157
5161
  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
5162
  }(e), Je = !!x || !c, ot = { closeToast: S, type: v, theme: Qe };
5159
5163
  let Ce = null;
5160
5164
  return s === !1 || (Ce = ra(s) ? s(ot) : Lc(s) ? Rd(s, ot) : function(De) {
5161
- let { closeToast: $e, theme: He, ariaLabel: Pe = "close" } = De;
5165
+ let { closeToast: Be, theme: He, ariaLabel: Pe = "close" } = De;
5162
5166
  return pt.createElement("button", { className: `Toastify__close-button Toastify__close-button--${He}`, type: "button", onClick: (Le) => {
5163
- Le.stopPropagation(), $e(Le);
5167
+ Le.stopPropagation(), Be(Le);
5164
5168
  }, "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
5169
  }(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
5170
  }, Wp = function(e, t) {
@@ -7645,8 +7649,8 @@ function $C(e) {
7645
7649
  }
7646
7650
  function We(Qe) {
7647
7651
  if (pe || (Qe = -Qe), s += Qe, !Z) {
7648
- const de = oe.next(Math.max(0, s));
7649
- ee = de.value, x && (ee = x(ee)), Z = pe ? de.done : s <= 0;
7652
+ const he = oe.next(Math.max(0, s));
7653
+ ee = he.value, x && (ee = x(ee)), Z = pe ? he.done : s <= 0;
7650
7654
  }
7651
7655
  P == null || P(ee), Z && (U === 0 && (W ?? (W = s)), U < l ? MN(s, W, d, pe) && Fe() : Ke());
7652
7656
  }
@@ -8318,18 +8322,18 @@ function IB(e) {
8318
8322
  !Fe && !oe.prevProp || // Or if the prop doesn't define an animation
8319
8323
  yy(Fe) || typeof Fe == "boolean")
8320
8324
  return "continue";
8321
- var Qe = AB(oe.prevProp, Fe), de = Qe || // If we're making this variant active, we want to always make it active
8325
+ var Qe = AB(oe.prevProp, Fe), he = Qe || // If we're making this variant active, we want to always make it active
8322
8326
  ue === p && oe.isActive && !Ze && Ke || // If we removed a higher-priority variant (i is in reverse order)
8323
8327
  x > U && Ke, Te = Array.isArray(Fe) ? Fe : [Fe], Ve = Te.reduce(o, {});
8324
8328
  We === !1 && (Ve = {});
8325
8329
  var Je = oe.prevResolvedValues, ot = Je === void 0 ? {} : Je, Ce = at(at({}, ot), Ve), De = function(Le) {
8326
- de = !0, L.delete(Le), oe.needsAnimating[Le] = !0;
8330
+ he = !0, L.delete(Le), oe.needsAnimating[Le] = !0;
8327
8331
  };
8328
- for (var $e in Ce) {
8329
- var He = Ve[$e], Pe = ot[$e];
8330
- I.hasOwnProperty($e) || (He !== Pe ? Vd(He) && Vd(Pe) ? !XC(He, Pe) || Qe ? De($e) : oe.protectedKeys[$e] = !0 : He !== void 0 ? De($e) : L.add($e) : He !== void 0 && L.has($e) ? De($e) : oe.protectedKeys[$e] = !0);
8332
+ for (var Be in Ce) {
8333
+ var He = Ve[Be], Pe = ot[Be];
8334
+ 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
8335
  }
8332
- oe.prevProp = Fe, oe.prevResolvedValues = Ve, oe.isActive && (I = at(at({}, I), Ve)), i && e.blockInitialAnimation && (de = !1), de && !Ze && R.push.apply(R, oa([], Qr(Te.map(function(Le) {
8336
+ 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
8337
  return {
8334
8338
  animation: Le,
8335
8339
  options: at({ type: ue }, v)
@@ -8928,9 +8932,9 @@ var oE = function(e) {
8928
8932
  T === void 0 && (T = {});
8929
8933
  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
8934
  function Qe() {
8931
- !x || !ee || (de(), l(x, pe, R.style, He.projection));
8935
+ !x || !ee || (he(), l(x, pe, R.style, He.projection));
8932
8936
  }
8933
- function de() {
8937
+ function he() {
8934
8938
  r(He, pe, Z, T, R);
8935
8939
  }
8936
8940
  function Te() {
@@ -8949,7 +8953,7 @@ var oE = function(e) {
8949
8953
  var Ce = Je[ot];
8950
8954
  Z[ot] !== void 0 && Bl(Ce) && Ce.set(Z[ot], !1);
8951
8955
  }
8952
- var De = Xp(R), $e = qT(R), He = at(at({
8956
+ var De = Xp(R), Be = qT(R), He = at(at({
8953
8957
  treeType: n,
8954
8958
  /**
8955
8959
  * This is a mirror of the internal instance prop, which keeps
@@ -8972,7 +8976,7 @@ var oE = function(e) {
8972
8976
  * any children that are also part of the tree. This is essentially
8973
8977
  * a shadow tree to simplify logic around how to stagger over children.
8974
8978
  */
8975
- variantChildren: $e ? /* @__PURE__ */ new Set() : void 0,
8979
+ variantChildren: Be ? /* @__PURE__ */ new Set() : void 0,
8976
8980
  /**
8977
8981
  * Whether this instance is visible. This can be changed imperatively
8978
8982
  * by the projection tree, is analogous to CSS's visibility in that
@@ -9003,7 +9007,7 @@ var oE = function(e) {
9003
9007
  return !!x;
9004
9008
  },
9005
9009
  mount: function(Pe) {
9006
- ee = !0, x = He.current = Pe, He.projection && He.projection.mount(Pe), $e && P && !De && (Ze = P == null ? void 0 : P.addVariantChild(He)), oe.forEach(function(Le, ze) {
9010
+ 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
9011
  return Ve(ze, Le);
9008
9012
  }), P == null || P.children.add(He), He.setProps(R);
9009
9013
  },
@@ -9034,7 +9038,7 @@ var oE = function(e) {
9034
9038
  * this visual element.
9035
9039
  */
9036
9040
  getClosestVariantNode: function() {
9037
- return $e ? He : P == null ? void 0 : P.getClosestVariantNode();
9041
+ return Be ? He : P == null ? void 0 : P.getClosestVariantNode();
9038
9042
  },
9039
9043
  /**
9040
9044
  * Expose the latest layoutId prop.
@@ -9157,7 +9161,7 @@ var oE = function(e) {
9157
9161
  * Build the renderer state based on the latest visual state.
9158
9162
  */
9159
9163
  build: function() {
9160
- return de(), pe;
9164
+ return he(), pe;
9161
9165
  },
9162
9166
  /**
9163
9167
  * Schedule a render on the next animation frame.
@@ -9746,8 +9750,8 @@ function gE(e) {
9746
9750
  d.target = void 0, d.relativeTarget = void 0;
9747
9751
  return;
9748
9752
  }
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, de = !d.targetLayout || !pE(d.targetLayout, Fe) || oe, Te = !ue && oe;
9750
- if (!((ee = d.resumeFrom) === null || ee === void 0) && ee.instance || Te || ue && (de || !d.currentAnimation)) {
9753
+ 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;
9754
+ if (!((ee = d.resumeFrom) === null || ee === void 0) && ee.instance || Te || ue && (he || !d.currentAnimation)) {
9751
9755
  d.resumeFrom && (d.resumingFrom = d.resumeFrom, d.resumingFrom.resumingFrom = void 0), d.setAnimationOrigin(x, Te);
9752
9756
  var Ve = at(at({}, _y(Ke, "layout")), { onPlay: Ze, onComplete: Qe });
9753
9757
  P.shouldReduceMotion && (Ve.delay = 0, Ve.type = !1), d.startAnimation(Ve);
@@ -14693,12 +14697,12 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
14693
14697
  let We = 1 / 0, Ze = 1 / 0;
14694
14698
  Ke !== null && (We = Ke + s, Ze = We * (o + 1) - s);
14695
14699
  let Qe = 0;
14696
- const de = (De) => {
14700
+ const he = (De) => {
14697
14701
  if (oe === null)
14698
14702
  return;
14699
14703
  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 $e = Qe - t * (T >= 0 ? 1 : -1), He = T >= 0 ? $e < 0 : $e > Ze;
14701
- Qe = Math.max($e, 0), x === "finished" && ue === null && (Qe = Ze);
14704
+ const Be = Qe - t * (T >= 0 ? 1 : -1), He = T >= 0 ? Be < 0 : Be > Ze;
14705
+ Qe = Math.max(Be, 0), x === "finished" && ue === null && (Qe = Ze);
14702
14706
  let Pe = Qe, Le = Z;
14703
14707
  if (o) {
14704
14708
  const wt = Math.min(Qe, Ze) / We;
@@ -14720,14 +14724,14 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
14720
14724
  }, ot = () => {
14721
14725
  if (P)
14722
14726
  return;
14723
- U || (U = n(de));
14727
+ U || (U = n(he));
14724
14728
  const De = U.now();
14725
14729
  c && c(), ue !== null ? oe = De - ue : (!oe || x === "finished") && (oe = De), x === "finished" && I(), Fe = oe, ue = null, x = "running", U.start();
14726
14730
  };
14727
14731
  e && ot();
14728
14732
  const Ce = {
14729
- then(De, $e) {
14730
- return L.then(De, $e);
14733
+ then(De, Be) {
14734
+ return L.then(De, Be);
14731
14735
  },
14732
14736
  get time() {
14733
14737
  return Fl(Qe);
@@ -14756,12 +14760,12 @@ function Ip({ autoplay: e = !0, delay: t = 0, driver: n = YU, keyframes: r, type
14756
14760
  P = !0, x !== "idle" && (x = "idle", d && d(), Ve());
14757
14761
  },
14758
14762
  cancel: () => {
14759
- Fe !== null && de(Fe), Ve();
14763
+ Fe !== null && he(Fe), Ve();
14760
14764
  },
14761
14765
  complete: () => {
14762
14766
  x = "finished";
14763
14767
  },
14764
- sample: (De) => (oe = 0, de(De))
14768
+ sample: (De) => (oe = 0, he(De))
14765
14769
  };
14766
14770
  return Ce;
14767
14771
  }
@@ -15416,7 +15420,7 @@ function IW(e) {
15416
15420
  const { prevResolvedValues: Ze = {} } = W, Qe = {
15417
15421
  ...Ze,
15418
15422
  ...We
15419
- }, de = (Te) => {
15423
+ }, he = (Te) => {
15420
15424
  oe = !0, T.has(Te) && (Fe = !0, T.delete(Te)), W.needsAnimating[Te] = !0;
15421
15425
  };
15422
15426
  for (const Te in Qe) {
@@ -15424,7 +15428,7 @@ function IW(e) {
15424
15428
  if (P.hasOwnProperty(Te))
15425
15429
  continue;
15426
15430
  let ot = !1;
15427
- Dp(Ve) && Dp(Je) ? ot = !fk(Ve, Je) : ot = Ve !== Je, ot ? Ve !== void 0 ? de(Te) : T.add(Te) : Ve !== void 0 && T.has(Te) ? de(Te) : W.protectedKeys[Te] = !0;
15431
+ 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
15432
  }
15429
15433
  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
15434
  animation: Te,
@@ -17674,8 +17678,8 @@ var Of = /* @__PURE__ */ new Map(), dO = function(t) {
17674
17678
  for (var oe = p.querySelectorAll("script"), Fe = [], Ke, We, Ze = 0, Qe = oe.length; Ze < Qe; Ze++)
17675
17679
  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
17680
  if (Fe.length > 0 && (n === "always" || n === "once" && !Qx[c])) {
17677
- for (var de = 0, Te = Fe.length; de < Te; de++)
17678
- new Function(Fe[de])(window);
17681
+ for (var he = 0, Te = Fe.length; he < Te; he++)
17682
+ new Function(Fe[he])(window);
17679
17683
  Qx[c] = !0;
17680
17684
  }
17681
17685
  var Ve = p.querySelectorAll("style");
@@ -17826,7 +17830,7 @@ function R5() {
17826
17830
  }
17827
17831
  }
17828
17832
  }
17829
- var Z = c, pe = d, x = l, ue = s, oe = t, Fe = v, Ke = r, We = P, Ze = T, Qe = n, de = o, Te = i, Ve = p, Je = !1;
17833
+ 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
17834
  function ot(it) {
17831
17835
  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
17836
  }
@@ -17836,7 +17840,7 @@ function R5() {
17836
17840
  function De(it) {
17837
17841
  return ee(it) === l;
17838
17842
  }
17839
- function $e(it) {
17843
+ function Be(it) {
17840
17844
  return ee(it) === s;
17841
17845
  }
17842
17846
  function He(it) {
@@ -17866,7 +17870,7 @@ function R5() {
17866
17870
  function Et(it) {
17867
17871
  return ee(it) === p;
17868
17872
  }
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 = de, En.StrictMode = Te, En.Suspense = Ve, En.isAsyncMode = ot, En.isConcurrentMode = Ce, En.isContextConsumer = De, En.isContextProvider = $e, 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;
17873
+ 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
17874
  }()), En;
17871
17875
  }
17872
17876
  var r1;
@@ -18042,7 +18046,7 @@ function M5() {
18042
18046
  R.prototype = Error.prototype;
18043
18047
  function L(Ce) {
18044
18048
  if (process.env.NODE_ENV !== "production")
18045
- var De = {}, $e = 0;
18049
+ var De = {}, Be = 0;
18046
18050
  function He(Le, ze, st, mt, wt, vt, Et) {
18047
18051
  if (mt = mt || S, vt = vt || st, Et !== n) {
18048
18052
  if (c) {
@@ -18053,9 +18057,9 @@ function M5() {
18053
18057
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
18054
18058
  var Vt = mt + ":" + st;
18055
18059
  !De[Vt] && // Avoid spamming the console because they are often not actionable except for lib authors
18056
- $e < 3 && (o(
18060
+ Be < 3 && (o(
18057
18061
  "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, $e++);
18062
+ ), De[Vt] = !0, Be++);
18059
18063
  }
18060
18064
  }
18061
18065
  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 +18068,8 @@ function M5() {
18064
18068
  return Pe.isRequired = He.bind(null, !0), Pe;
18065
18069
  }
18066
18070
  function I(Ce) {
18067
- function De($e, He, Pe, Le, ze, st) {
18068
- var mt = $e[He], wt = Te(mt);
18071
+ function De(Be, He, Pe, Le, ze, st) {
18072
+ var mt = Be[He], wt = Te(mt);
18069
18073
  if (wt !== Ce) {
18070
18074
  var vt = Ve(mt);
18071
18075
  return new R(
@@ -18081,10 +18085,10 @@ function M5() {
18081
18085
  return L(s);
18082
18086
  }
18083
18087
  function W(Ce) {
18084
- function De($e, He, Pe, Le, ze) {
18088
+ function De(Be, He, Pe, Le, ze) {
18085
18089
  if (typeof Ce != "function")
18086
18090
  return new R("Property `" + ze + "` of component `" + Pe + "` has invalid PropType notation inside arrayOf.");
18087
- var st = $e[He];
18091
+ var st = Be[He];
18088
18092
  if (!Array.isArray(st)) {
18089
18093
  var mt = Te(st);
18090
18094
  return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected an array."));
@@ -18099,8 +18103,8 @@ function M5() {
18099
18103
  return L(De);
18100
18104
  }
18101
18105
  function ee() {
18102
- function Ce(De, $e, He, Pe, Le) {
18103
- var ze = De[$e];
18106
+ function Ce(De, Be, He, Pe, Le) {
18107
+ var ze = De[Be];
18104
18108
  if (!l(ze)) {
18105
18109
  var st = Te(ze);
18106
18110
  return new R("Invalid " + Pe + " `" + Le + "` of type " + ("`" + st + "` supplied to `" + He + "`, expected a single ReactElement."));
@@ -18110,8 +18114,8 @@ function M5() {
18110
18114
  return L(Ce);
18111
18115
  }
18112
18116
  function Z() {
18113
- function Ce(De, $e, He, Pe, Le) {
18114
- var ze = De[$e];
18117
+ function Ce(De, Be, He, Pe, Le) {
18118
+ var ze = De[Be];
18115
18119
  if (!e.isValidElementType(ze)) {
18116
18120
  var st = Te(ze);
18117
18121
  return new R("Invalid " + Pe + " `" + Le + "` of type " + ("`" + st + "` supplied to `" + He + "`, expected a single ReactElement type."));
@@ -18121,9 +18125,9 @@ function M5() {
18121
18125
  return L(Ce);
18122
18126
  }
18123
18127
  function pe(Ce) {
18124
- function De($e, He, Pe, Le, ze) {
18125
- if (!($e[He] instanceof Ce)) {
18126
- var st = Ce.name || S, mt = ot($e[He]);
18128
+ function De(Be, He, Pe, Le, ze) {
18129
+ if (!(Be[He] instanceof Ce)) {
18130
+ var st = Ce.name || S, mt = ot(Be[He]);
18127
18131
  return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected ") + ("instance of `" + st + "`."));
18128
18132
  }
18129
18133
  return null;
@@ -18135,8 +18139,8 @@ function M5() {
18135
18139
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
18136
18140
  "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
18141
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
18138
- function De($e, He, Pe, Le, ze) {
18139
- for (var st = $e[He], mt = 0; mt < Ce.length; mt++)
18142
+ function De(Be, He, Pe, Le, ze) {
18143
+ for (var st = Be[He], mt = 0; mt < Ce.length; mt++)
18140
18144
  if (P(st, Ce[mt]))
18141
18145
  return null;
18142
18146
  var wt = JSON.stringify(Ce, function(Et, it) {
@@ -18148,10 +18152,10 @@ function M5() {
18148
18152
  return L(De);
18149
18153
  }
18150
18154
  function ue(Ce) {
18151
- function De($e, He, Pe, Le, ze) {
18155
+ function De(Be, He, Pe, Le, ze) {
18152
18156
  if (typeof Ce != "function")
18153
18157
  return new R("Property `" + ze + "` of component `" + Pe + "` has invalid PropType notation inside objectOf.");
18154
- var st = $e[He], mt = Te(st);
18158
+ var st = Be[He], mt = Te(st);
18155
18159
  if (mt !== "object")
18156
18160
  return new R("Invalid " + Le + " `" + ze + "` of type " + ("`" + mt + "` supplied to `" + Pe + "`, expected an object."));
18157
18161
  for (var wt in st)
@@ -18168,10 +18172,10 @@ function M5() {
18168
18172
  if (!Array.isArray(Ce))
18169
18173
  return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), s;
18170
18174
  for (var De = 0; De < Ce.length; De++) {
18171
- var $e = Ce[De];
18172
- if (typeof $e != "function")
18175
+ var Be = Ce[De];
18176
+ if (typeof Be != "function")
18173
18177
  return o(
18174
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Je($e) + " at index " + De + "."
18178
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + Je(Be) + " at index " + De + "."
18175
18179
  ), s;
18176
18180
  }
18177
18181
  function He(Pe, Le, ze, st, mt) {
@@ -18187,19 +18191,19 @@ function M5() {
18187
18191
  return L(He);
18188
18192
  }
18189
18193
  function Fe() {
18190
- function Ce(De, $e, He, Pe, Le) {
18191
- return Qe(De[$e]) ? null : new R("Invalid " + Pe + " `" + Le + "` supplied to " + ("`" + He + "`, expected a ReactNode."));
18194
+ function Ce(De, Be, He, Pe, Le) {
18195
+ return Qe(De[Be]) ? null : new R("Invalid " + Pe + " `" + Le + "` supplied to " + ("`" + He + "`, expected a ReactNode."));
18192
18196
  }
18193
18197
  return L(Ce);
18194
18198
  }
18195
- function Ke(Ce, De, $e, He, Pe) {
18199
+ function Ke(Ce, De, Be, He, Pe) {
18196
18200
  return new R(
18197
- (Ce || "React class") + ": " + De + " type `" + $e + "." + He + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Pe + "`."
18201
+ (Ce || "React class") + ": " + De + " type `" + Be + "." + He + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + Pe + "`."
18198
18202
  );
18199
18203
  }
18200
18204
  function We(Ce) {
18201
- function De($e, He, Pe, Le, ze) {
18202
- var st = $e[He], mt = Te(st);
18205
+ function De(Be, He, Pe, Le, ze) {
18206
+ var st = Be[He], mt = Te(st);
18203
18207
  if (mt !== "object")
18204
18208
  return new R("Invalid " + Le + " `" + ze + "` of type `" + mt + "` " + ("supplied to `" + Pe + "`, expected `object`."));
18205
18209
  for (var wt in Ce) {
@@ -18215,18 +18219,18 @@ function M5() {
18215
18219
  return L(De);
18216
18220
  }
18217
18221
  function Ze(Ce) {
18218
- function De($e, He, Pe, Le, ze) {
18219
- var st = $e[He], mt = Te(st);
18222
+ function De(Be, He, Pe, Le, ze) {
18223
+ var st = Be[He], mt = Te(st);
18220
18224
  if (mt !== "object")
18221
18225
  return new R("Invalid " + Le + " `" + ze + "` of type `" + mt + "` " + ("supplied to `" + Pe + "`, expected `object`."));
18222
- var wt = t({}, $e[He], Ce);
18226
+ var wt = t({}, Be[He], Ce);
18223
18227
  for (var vt in wt) {
18224
18228
  var Et = Ce[vt];
18225
18229
  if (r(Ce, vt) && typeof Et != "function")
18226
18230
  return Ke(Pe, Le, ze, vt, Ve(Et));
18227
18231
  if (!Et)
18228
18232
  return new R(
18229
- "Invalid " + Le + " `" + ze + "` key `" + vt + "` supplied to `" + Pe + "`.\nBad object: " + JSON.stringify($e[He], null, " ") + `
18233
+ "Invalid " + Le + " `" + ze + "` key `" + vt + "` supplied to `" + Pe + "`.\nBad object: " + JSON.stringify(Be[He], null, " ") + `
18230
18234
  Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
18231
18235
  );
18232
18236
  var it = Et(st, vt, Pe, Le, ze + "." + vt, n);
@@ -18252,13 +18256,13 @@ Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
18252
18256
  return !0;
18253
18257
  var De = p(Ce);
18254
18258
  if (De) {
18255
- var $e = De.call(Ce), He;
18259
+ var Be = De.call(Ce), He;
18256
18260
  if (De !== Ce.entries) {
18257
- for (; !(He = $e.next()).done; )
18261
+ for (; !(He = Be.next()).done; )
18258
18262
  if (!Qe(He.value))
18259
18263
  return !1;
18260
18264
  } else
18261
- for (; !(He = $e.next()).done; ) {
18265
+ for (; !(He = Be.next()).done; ) {
18262
18266
  var Pe = He.value;
18263
18267
  if (Pe && !Qe(Pe[1]))
18264
18268
  return !1;
@@ -18270,12 +18274,12 @@ Valid keys: ` + JSON.stringify(Object.keys(Ce), null, " ")
18270
18274
  return !1;
18271
18275
  }
18272
18276
  }
18273
- function de(Ce, De) {
18277
+ function he(Ce, De) {
18274
18278
  return Ce === "symbol" ? !0 : De ? De["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && De instanceof Symbol : !1;
18275
18279
  }
18276
18280
  function Te(Ce) {
18277
18281
  var De = typeof Ce;
18278
- return Array.isArray(Ce) ? "array" : Ce instanceof RegExp ? "object" : de(De, Ce) ? "symbol" : De;
18282
+ return Array.isArray(Ce) ? "array" : Ce instanceof RegExp ? "object" : he(De, Ce) ? "symbol" : De;
18279
18283
  }
18280
18284
  function Ve(Ce) {
18281
18285
  if (typeof Ce > "u" || Ce === null)
@@ -18577,122 +18581,236 @@ function V5(e) {
18577
18581
  function H5({ item: e }) {
18578
18582
  return (Uf.get(V5(e)) || Uf.get("text"))(e);
18579
18583
  }
18580
- function vO({ ...e }) {
18581
- var Ve, Je, ot, Ce, De;
18582
- 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 = ($e, He = s) => `${$e} ${He} ${l} ${c}`, [v, p] = fn(!1), [S, T] = fn(t.isFavorite || !1);
18583
- Rt(() => {
18584
- T(!!e.item.isFavorite);
18585
- }, [e.item.isFavorite]);
18586
- const P = hn(), R = hn();
18587
- 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);
18588
- 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 = () => {
18589
- p(!0);
18590
- }, Ke = () => {
18591
- p(!1);
18592
- }, We = "/global-menu-config/api/v1/menu-items/user/set-favorite", Ze = t.serviceKey === "mn_poms";
18593
- e.params.depth * 20, e.params.depth, z3(
18594
- t.id,
18595
- e.params.isOpen,
18596
- e.params.onToggle
18584
+ function U5(e) {
18585
+ return /* @__PURE__ */ rt(
18586
+ "svg",
18587
+ {
18588
+ xmlns: "http://www.w3.org/2000/svg",
18589
+ width: "16",
18590
+ height: "16",
18591
+ fill: "currentColor",
18592
+ viewBox: "0 0 16 16",
18593
+ ...e,
18594
+ children: /* @__PURE__ */ rt(
18595
+ "path",
18596
+ {
18597
+ fill: "currenColor",
18598
+ 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"
18599
+ }
18600
+ )
18601
+ }
18597
18602
  );
18598
- const Qe = ($e) => {
18599
- $e.stopPropagation(), e.params.onToggle();
18600
- }, Te = Ze || o && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null;
18603
+ }
18604
+ function W5(e) {
18605
+ const { renderChildren: t, parentRef: n, onlyChild: r, dropdownLevel: i } = e, [o, s] = fn({ top: 0, left: 0 }), l = hn(null), [c, d] = fn("auto");
18606
+ return Ys(() => {
18607
+ if (n.current && l.current) {
18608
+ const v = n.current.getBoundingClientRect(), p = l.current.getBoundingClientRect();
18609
+ let S, T;
18610
+ if (i === 1)
18611
+ 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;
18612
+ else if (i > 1) {
18613
+ S = v.top, T = v.left + v.width;
18614
+ const P = p.height + (window.innerHeight - v.top) > window.innerHeight;
18615
+ P && (console.log("overtop"), d(window.innerHeight - v.top - 50)), v.top + p.height > window.innerHeight && !P && (S = v.top - p.height + v.height);
18616
+ }
18617
+ s({
18618
+ top: S,
18619
+ left: T
18620
+ });
18621
+ }
18622
+ }, [n, l, i]), r ? t({ maxHeight: c }) : sy(
18623
+ /* @__PURE__ */ rt(
18624
+ "div",
18625
+ {
18626
+ ref: l,
18627
+ style: {
18628
+ position: "fixed",
18629
+ top: o.top,
18630
+ left: o.left,
18631
+ zIndex: 1200
18632
+ },
18633
+ children: t({ maxHeight: c })
18634
+ }
18635
+ ),
18636
+ n.current
18637
+ );
18638
+ }
18639
+ const Wf = /* @__PURE__ */ new Map();
18640
+ Wf.set("text", (e) => {
18641
+ var t;
18642
+ return /* @__PURE__ */ rt(
18643
+ "div",
18644
+ {
18645
+ style: {
18646
+ width: 24,
18647
+ height: 24,
18648
+ backgroundColor: "#dadada",
18649
+ borderRadius: "5px",
18650
+ display: "flex",
18651
+ justifyContent: "center",
18652
+ alignItems: "center",
18653
+ lineHeight: "24px"
18654
+ },
18655
+ children: (t = e.name.trim().at(0)) == null ? void 0 : t.toUpperCase()
18656
+ }
18657
+ );
18658
+ });
18659
+ Wf.set("svgHtml", (e) => {
18660
+ function t(n) {
18661
+ function r(o) {
18662
+ const l = new DOMParser().parseFromString(o, "image/svg+xml").querySelector("svg");
18663
+ return l ? (l.querySelectorAll("path").forEach((d) => {
18664
+ d.hasAttribute("fill") && d.setAttribute("fill", "currentColor"), d.hasAttribute("stroke") && d.setAttribute("stroke", "currentColor");
18665
+ }), l.outerHTML) : "";
18666
+ }
18667
+ const i = r(n.svgString);
18668
+ return /* @__PURE__ */ rt(
18669
+ "div",
18670
+ {
18671
+ dangerouslySetInnerHTML: { __html: i },
18672
+ style: { width: 24, height: 24, margin: "0 auto" }
18673
+ }
18674
+ );
18675
+ }
18676
+ return /* @__PURE__ */ rt(t, { svgString: e.icon });
18677
+ });
18678
+ Wf.set("svgHttp", (e) => /* @__PURE__ */ rt(
18679
+ pg,
18680
+ {
18681
+ src: e.icon,
18682
+ beforeInjection: (t) => {
18683
+ t.setAttribute("style", "margin: 0 auto;"), t.querySelectorAll("path").forEach((r) => {
18684
+ r.hasAttribute("fill") && r.setAttribute("fill", "currentColor"), r.hasAttribute("stroke") && r.setAttribute("stroke", "currentColor");
18685
+ });
18686
+ }
18687
+ }
18688
+ ));
18689
+ Wf.set("img", (e) => /* @__PURE__ */ rt(
18690
+ "img",
18691
+ {
18692
+ src: e.icon || "/",
18693
+ alt: e.name,
18694
+ style: { height: 24, maxHeight: 24, maxWidth: 24 }
18695
+ }
18696
+ ));
18697
+ function z5(e) {
18698
+ return e.icon = (e.icon || "").trim(), e.icon ? e.icon.startsWith("<svg") ? "svgHtml" : e.icon.endsWith(".svg") ? "svgHttp" : "img" : "text";
18699
+ }
18700
+ function Y5({ item: e }) {
18701
+ return (Wf.get(z5(e)) || Wf.get("text"))(e);
18702
+ }
18703
+ function vO({ ...e }) {
18704
+ var Fe, Ke, We, Ze, Qe;
18705
+ 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();
18706
+ 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);
18707
+ 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 = () => {
18708
+ d(!0);
18709
+ }, ue = () => {
18710
+ d(!1);
18711
+ }, oe = "/global-menu-config/api/v1/menu-items/user/set-favorite";
18601
18712
  return /* @__PURE__ */ Ui(
18602
18713
  "div",
18603
18714
  {
18604
- ref: P,
18605
- className: d("menu-item__wrapper tree-node"),
18715
+ ref: S,
18716
+ className: l("menu-item__wrapper tree-node"),
18606
18717
  style: {
18718
+ // display: 'flex',
18719
+ // justifyContent: 'space-between',
18720
+ // height: '56px',
18721
+ // p: 2,
18607
18722
  borderRadius: "8px",
18723
+ // marginLeft: `${indent}px`,
18724
+ // marginTop: '2px',
18725
+ // marginBottom: '8px',
18608
18726
  transition: "all 0.3s"
18727
+ // border: `1px solid ${props.params.isDropTarget ? '#93D500' : 'transparent'}`,
18728
+ // backgroundColor: isLevel0 ? '#E5F5ED' : '#aca2a212',
18729
+ // ':hover': {
18730
+ // backgroundColor: isLevel0 ? '#d3eee0' : '#aca2a226',
18731
+ // },
18609
18732
  },
18610
- onMouseOver: Fe,
18611
- onMouseOut: Ke,
18612
- onDragStart: ($e) => {
18613
- o && n > 1 && $e.preventDefault();
18733
+ onMouseOver: x,
18734
+ onMouseOut: ue,
18735
+ onDragStart: (he) => {
18736
+ n > 1 && he.preventDefault();
18614
18737
  },
18615
18738
  children: [
18616
- /* @__PURE__ */ rt(Id, { placement: "top", disableInteractive: !0, title: Te, children: /* @__PURE__ */ Ui(
18617
- Z,
18739
+ /* @__PURE__ */ Ui(
18740
+ W,
18618
18741
  {
18619
- to: pe,
18620
- href: pe,
18742
+ to: ee,
18743
+ href: ee,
18621
18744
  draggable: "true",
18622
- className: d("menu-item__link"),
18745
+ className: l("menu-item__link"),
18623
18746
  style: {
18624
- paddingLeft: oe,
18747
+ // paddingLeft: paddingLeft,
18748
+ width: "100%",
18625
18749
  transition: "all 0.3s",
18626
18750
  // transitionDelay: '0.1s',
18627
- color: i(t.id) ? ((Ce = e.brandColors) == null ? void 0 : Ce.primary400) || _i.primary400 : void 0,
18628
- backgroundColor: i(t.id) && n === 0 ? (De = e.brandColors) == null ? void 0 : De.primary200 : void 0
18751
+ color: i(t.id) ? ((Ze = e.brandColors) == null ? void 0 : Ze.primary400) || _i.primary400 : void 0,
18752
+ backgroundColor: i(t.id) && n === 1 ? (Qe = e.brandColors) == null ? void 0 : Qe.primary200 : void 0
18629
18753
  },
18630
- onClick: ($e) => {
18631
- o || Qe($e);
18754
+ onDragStart: (he) => {
18755
+ console.log("onDragStart component", he.target);
18632
18756
  },
18633
18757
  children: [
18634
- /* @__PURE__ */ rt(U5, { cls: d, item: t }),
18635
- /* @__PURE__ */ rt("span", { className: d("menu-item__label"), ref: R, children: t.name }),
18758
+ /* @__PURE__ */ rt(G5, { cls: l, item: t }),
18759
+ /* @__PURE__ */ rt("span", { className: l("menu-item__label"), ref: T, children: t.name }),
18636
18760
  /* @__PURE__ */ rt(
18637
- W5,
18761
+ q5,
18638
18762
  {
18639
18763
  menuLevel: n,
18640
18764
  hasChildren: r,
18641
- isHovered: v,
18642
- isFavorite: S,
18643
- onClick: ($e) => {
18644
- const He = {
18765
+ isHovered: c,
18766
+ isFavorite: v,
18767
+ onClick: (he) => {
18768
+ const Te = {
18645
18769
  menuConfigId: t.id,
18646
- isFavorite: $e
18647
- }, Pe = e.baseUrl + We;
18648
- Hs.post(Pe, He).then((Le) => {
18649
- var ze;
18650
- T($e), OT("Set favorite menu item successfully"), (ze = e.onSetFavoriteSuccess) == null || ze.call(e, e.item.id, $e);
18651
- }).catch((Le) => {
18652
- var ze, st;
18770
+ isFavorite: he
18771
+ }, Ve = e.baseUrl + oe;
18772
+ Hs.post(Ve, Te).then((Je) => {
18773
+ var ot;
18774
+ p(he), OT("Set favorite menu item successfully"), (ot = e.onSetFavoriteSuccess) == null || ot.call(e, e.item.id, he);
18775
+ }).catch((Je) => {
18776
+ var ot, Ce;
18653
18777
  zp(
18654
- ((st = (ze = Le.response) == null ? void 0 : ze.data) == null ? void 0 : st.errorMessage) || "Have error when set favorite menu item"
18778
+ ((Ce = (ot = Je.response) == null ? void 0 : ot.data) == null ? void 0 : Ce.errorMessage) || "Have error when set favorite menu item"
18655
18779
  );
18656
18780
  });
18657
18781
  }
18658
18782
  }
18659
18783
  ),
18660
- r && /* @__PURE__ */ rt("div", { className: d("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(
18661
- p5,
18662
- {
18663
- className: d(
18664
- `menu-item__icon-arrow__icon ${e.params.isOpen ? "open" : "close"}`
18665
- )
18666
- }
18667
- ) })
18784
+ r && /* @__PURE__ */ rt("div", { className: l("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(U5, { className: l("menu-item__icon-arrow__icon") }) })
18668
18785
  ]
18669
18786
  }
18670
- ) }),
18671
- ue && /* @__PURE__ */ rt(
18672
- g5,
18787
+ ),
18788
+ pe && /* @__PURE__ */ rt(
18789
+ W5,
18673
18790
  {
18674
- parentRef: P,
18675
- onlyChild: !o,
18676
- renderChildren: ({ maxHeight: $e }) => {
18677
- var He;
18791
+ parentRef: S,
18792
+ onlyChild: Z < 2,
18793
+ dropdownLevel: n,
18794
+ renderChildren: ({ maxHeight: he }) => {
18795
+ var Te;
18678
18796
  return /* @__PURE__ */ rt(
18679
18797
  lO.div,
18680
18798
  {
18681
- className: d(
18682
- `menu-item__dropdown ${e.params.isOpen ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
18683
- `level-${x}`
18799
+ className: l(
18800
+ "menu-item__dropdown dropdown-favorite ? 'menu-item__dropdown--open' : 'menu-item__dropdown--close'}",
18801
+ `level-${Z}`
18684
18802
  ),
18685
18803
  style: fO(
18686
- { maxHeight: $e, overflowY: "auto", paddingRight: 3 },
18687
- $e !== "auto" && !!x
18804
+ { maxHeight: he, overflowY: "auto", paddingRight: 3 },
18805
+ he !== "auto" && !!Z
18688
18806
  ),
18689
- children: (He = t.children) == null ? void 0 : He.map((Pe) => /* @__PURE__ */ Kd(
18807
+ children: (Te = t.children) == null ? void 0 : Te.map((Ve) => /* @__PURE__ */ Kd(
18690
18808
  vO,
18691
18809
  {
18692
18810
  ...e,
18693
- key: Pe.id,
18694
- item: Pe,
18695
- level: x
18811
+ key: Ve.id,
18812
+ item: Ve,
18813
+ level: Z
18696
18814
  }
18697
18815
  ))
18698
18816
  }
@@ -18704,103 +18822,53 @@ function vO({ ...e }) {
18704
18822
  }
18705
18823
  );
18706
18824
  }
18707
- function U5({ item: e, cls: t }) {
18708
- return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(H5, { item: e }) });
18825
+ function G5({ item: e, cls: t }) {
18826
+ return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(Y5, { item: e }) });
18709
18827
  }
18710
- function W5(e) {
18828
+ function q5(e) {
18711
18829
  const t = {
18712
18830
  marginRight: e.hasChildren ? 10 : 0,
18713
18831
  fontSize: 22,
18714
- fill: _i.warning
18832
+ fill: _i.warning,
18833
+ minWidth: 16
18715
18834
  };
18716
- return /* @__PURE__ */ Ui(Bp, { children: [
18717
- e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
18718
- Id,
18719
- {
18720
- title: "Add to favorites",
18721
- children: /* @__PURE__ */ rt(
18722
- uO,
18723
- {
18724
- style: t,
18725
- onClick: (n) => {
18726
- var r;
18727
- n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
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);
18835
+ if (e.menuLevel !== 0)
18836
+ return /* @__PURE__ */ Ui(Bp, { children: [
18837
+ e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
18838
+ Id,
18839
+ {
18840
+ title: "Add to favorites",
18841
+ children: /* @__PURE__ */ rt(
18842
+ uO,
18843
+ {
18844
+ style: t,
18845
+ onClick: (n) => {
18846
+ var r;
18847
+ n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
18848
+ }
18744
18849
  }
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",
18850
+ )
18851
+ }
18852
+ ),
18853
+ e.isFavorite && /* @__PURE__ */ rt(
18854
+ Id,
18793
18855
  {
18794
- fill: "#E01B00",
18795
- fillRule: "evenodd",
18796
- 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",
18797
- clipRule: "evenodd"
18856
+ title: "Remove from favorites",
18857
+ children: /* @__PURE__ */ rt(
18858
+ cO,
18859
+ {
18860
+ style: t,
18861
+ onClick: (n) => {
18862
+ var r;
18863
+ n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
18864
+ }
18865
+ }
18866
+ )
18798
18867
  }
18799
18868
  )
18800
- }
18801
- );
18869
+ ] });
18802
18870
  }
18803
- const q5 = `.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}}
18871
+ 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
18872
  `;
18805
18873
  var Oc = {};
18806
18874
  /**
@@ -18813,7 +18881,7 @@ var Oc = {};
18813
18881
  * LICENSE file in the root directory of this source tree.
18814
18882
  */
18815
18883
  var f1;
18816
- function X5() {
18884
+ function K5() {
18817
18885
  if (f1)
18818
18886
  return Oc;
18819
18887
  f1 = 1;
@@ -19342,7 +19410,7 @@ function X5() {
19342
19410
  throw Error(t(395));
19343
19411
  return E.push(q), E.push('"></template>');
19344
19412
  }
19345
- function de(E, B, q, ne) {
19413
+ function he(E, B, q, ne) {
19346
19414
  switch (q.insertionMode) {
19347
19415
  case 0:
19348
19416
  case 1:
@@ -19405,7 +19473,7 @@ function X5() {
19405
19473
  function Ce(E, B, q, ne) {
19406
19474
  return q.generateStaticMarkup ? (E.push(P(B)), !1) : (B === "" ? E = ne : (ne && E.push("<!-- -->"), E.push(P(B)), E = !0), E);
19407
19475
  }
19408
- var De = Object.assign, $e = 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;
19476
+ 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
19477
  function zi(E) {
19410
19478
  if (E == null)
19411
19479
  return null;
@@ -19831,7 +19899,7 @@ function X5() {
19831
19899
  function wn(E, B, q) {
19832
19900
  if (B.node = q, typeof q == "object" && q !== null) {
19833
19901
  switch (q.$$typeof) {
19834
- case $e:
19902
+ case Be:
19835
19903
  Xn(E, B, q.type, q.props, q.ref);
19836
19904
  return;
19837
19905
  case He:
@@ -19991,7 +20059,7 @@ function X5() {
19991
20059
  return li(E, B, q[0]), E = E.responseState.generateStaticMarkup ? !0 : B.push("<!--/$-->"), E;
19992
20060
  }
19993
20061
  function Ki(E, B, q) {
19994
- return de(B, E.responseState, q.formatContext, q.id), li(E, B, q), Te(B, q.formatContext);
20062
+ return he(B, E.responseState, q.formatContext, q.id), li(E, B, q), Te(B, q.formatContext);
19995
20063
  }
19996
20064
  function Mn(E, B, q) {
19997
20065
  for (var ne = q.completedSegments, Oe = 0; Oe < ne.length; Oe++)
@@ -20144,7 +20212,7 @@ var Xh = {};
20144
20212
  * LICENSE file in the root directory of this source tree.
20145
20213
  */
20146
20214
  var d1;
20147
- function K5() {
20215
+ function Z5() {
20148
20216
  if (d1)
20149
20217
  return Xh;
20150
20218
  d1 = 1;
@@ -20184,8 +20252,8 @@ function K5() {
20184
20252
  function R(k) {
20185
20253
  return p.call(P, k) ? !0 : p.call(T, k) ? !1 : S.test(k) ? P[k] = !0 : (T[k] = !0, !1);
20186
20254
  }
20187
- function L(k, F, z, te, Se, xe, Be) {
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 = Be;
20255
+ function L(k, F, z, te, Se, xe, je) {
20256
+ 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
20257
  }
20190
20258
  var I = {};
20191
20259
  "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k) {
@@ -20313,7 +20381,7 @@ function K5() {
20313
20381
  }
20314
20382
  return k;
20315
20383
  }
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="'), de = d('" async=""><\/script>'), Te = /(<\/|<)(s)(cript)/gi;
20384
+ 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
20385
  function Ve(k, F, z, te) {
20318
20386
  return "" + F + (z === "s" ? "\\u0073" : "\\u0053") + te;
20319
20387
  }
@@ -20322,10 +20390,10 @@ function K5() {
20322
20390
  var xe = [];
20323
20391
  if (z !== void 0 && xe.push(F, c(("" + z).replace(Te, Ve)), We), te !== void 0)
20324
20392
  for (z = 0; z < te.length; z++)
20325
- xe.push(Ze, c(x(te[z])), de);
20393
+ xe.push(Ze, c(x(te[z])), he);
20326
20394
  if (Se !== void 0)
20327
20395
  for (te = 0; te < Se.length; te++)
20328
- xe.push(Qe, c(x(Se[te])), de);
20396
+ xe.push(Qe, c(x(Se[te])), he);
20329
20397
  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
20398
  }
20331
20399
  function ot(k, F) {
@@ -20357,9 +20425,9 @@ function K5() {
20357
20425
  }
20358
20426
  return 4 <= k.insertionMode || k.insertionMode === 0 ? ot(1, null) : k;
20359
20427
  }
20360
- var $e = d("<!-- -->");
20428
+ var Be = d("<!-- -->");
20361
20429
  function He(k, F, z, te) {
20362
- return F === "" ? te : (te && k.push($e), k.push(c(x(F))), !0);
20430
+ return F === "" ? te : (te && k.push(Be), k.push(c(x(F))), !0);
20363
20431
  }
20364
20432
  var Pe = /* @__PURE__ */ new Map(), Le = d(' style="'), ze = d(":"), st = d(";");
20365
20433
  function mt(k, F, z) {
@@ -20375,8 +20443,8 @@ function K5() {
20375
20443
  Se = c(x(("" + Se).trim()));
20376
20444
  } else {
20377
20445
  xe = te;
20378
- var Be = Pe.get(xe);
20379
- Be !== void 0 || (Be = d(x(xe.replace(ue, "-$1").toLowerCase().replace(oe, "-ms-"))), Pe.set(xe, Be)), xe = Be, Se = typeof Se == "number" ? Se === 0 || p.call(ee, te) ? c("" + Se) : c(Se + "px") : c(x(("" + Se).trim()));
20446
+ var je = Pe.get(xe);
20447
+ 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
20448
  }
20381
20449
  F ? (F = !1, k.push(Le, xe, ze, Se)) : k.push(st, xe, ze, Se);
20382
20450
  }
@@ -20457,17 +20525,17 @@ function K5() {
20457
20525
  var Se = z = null, xe;
20458
20526
  for (xe in F)
20459
20527
  if (p.call(F, xe)) {
20460
- var Be = F[xe];
20461
- if (Be != null)
20528
+ var je = F[xe];
20529
+ if (je != null)
20462
20530
  switch (xe) {
20463
20531
  case "children":
20464
- z = Be;
20532
+ z = je;
20465
20533
  break;
20466
20534
  case "dangerouslySetInnerHTML":
20467
- Se = Be;
20535
+ Se = je;
20468
20536
  break;
20469
20537
  default:
20470
- Vt(k, te, xe, Be);
20538
+ Vt(k, te, xe, je);
20471
20539
  }
20472
20540
  }
20473
20541
  return k.push(Ut), Er(k, Se, z), typeof z == "string" ? (k.push(c(x(z))), null) : z;
@@ -20488,7 +20556,7 @@ function K5() {
20488
20556
  switch (F) {
20489
20557
  case "select":
20490
20558
  k.push(mn("select"));
20491
- var xe = null, Be = null;
20559
+ var xe = null, je = null;
20492
20560
  for (_t in z)
20493
20561
  if (p.call(z, _t)) {
20494
20562
  var et = z[_t];
@@ -20498,7 +20566,7 @@ function K5() {
20498
20566
  xe = et;
20499
20567
  break;
20500
20568
  case "dangerouslySetInnerHTML":
20501
- Be = et;
20569
+ je = et;
20502
20570
  break;
20503
20571
  case "defaultValue":
20504
20572
  case "value":
@@ -20507,9 +20575,9 @@ function K5() {
20507
20575
  Vt(k, te, _t, et);
20508
20576
  }
20509
20577
  }
20510
- return k.push(Ut), Er(k, Be, xe), xe;
20578
+ return k.push(Ut), Er(k, je, xe), xe;
20511
20579
  case "option":
20512
- Be = Se.selectedValue, k.push(mn("option"));
20580
+ je = Se.selectedValue, k.push(mn("option"));
20513
20581
  var St = et = null, Bt = null, _t = null;
20514
20582
  for (xe in z)
20515
20583
  if (p.call(z, xe)) {
@@ -20531,20 +20599,20 @@ function K5() {
20531
20599
  Vt(k, te, xe, Ct);
20532
20600
  }
20533
20601
  }
20534
- if (Be != null)
20535
- if (z = St !== null ? "" + St : tr(et), Fe(Be)) {
20536
- for (te = 0; te < Be.length; te++)
20537
- if ("" + Be[te] === z) {
20602
+ if (je != null)
20603
+ if (z = St !== null ? "" + St : tr(et), Fe(je)) {
20604
+ for (te = 0; te < je.length; te++)
20605
+ if ("" + je[te] === z) {
20538
20606
  k.push(Pn);
20539
20607
  break;
20540
20608
  }
20541
20609
  } else
20542
- "" + Be === z && k.push(Pn);
20610
+ "" + je === z && k.push(Pn);
20543
20611
  else
20544
20612
  Bt && k.push(Pn);
20545
20613
  return k.push(Ut), Er(k, _t, et), et;
20546
20614
  case "textarea":
20547
- k.push(mn("textarea")), _t = Be = xe = null;
20615
+ k.push(mn("textarea")), _t = je = xe = null;
20548
20616
  for (et in z)
20549
20617
  if (p.call(z, et) && (St = z[et], St != null))
20550
20618
  switch (et) {
@@ -20555,14 +20623,14 @@ function K5() {
20555
20623
  xe = St;
20556
20624
  break;
20557
20625
  case "defaultValue":
20558
- Be = St;
20626
+ je = St;
20559
20627
  break;
20560
20628
  case "dangerouslySetInnerHTML":
20561
20629
  throw Error(t(91));
20562
20630
  default:
20563
20631
  Vt(k, te, et, St);
20564
20632
  }
20565
- if (xe === null && Be !== null && (xe = Be), k.push(Ut), _t != null) {
20633
+ if (xe === null && je !== null && (xe = je), k.push(Ut), _t != null) {
20566
20634
  if (xe != null)
20567
20635
  throw Error(t(92));
20568
20636
  if (Fe(_t) && 1 < _t.length)
@@ -20573,9 +20641,9 @@ function K5() {
20573
20641
  ` && k.push(Lr), xe !== null && k.push(c(x("" + xe))), null;
20574
20642
  case "input":
20575
20643
  k.push(mn("input")), St = _t = et = xe = null;
20576
- for (Be in z)
20577
- if (p.call(z, Be) && (Bt = z[Be], Bt != null))
20578
- switch (Be) {
20644
+ for (je in z)
20645
+ if (p.call(z, je) && (Bt = z[je], Bt != null))
20646
+ switch (je) {
20579
20647
  case "children":
20580
20648
  case "dangerouslySetInnerHTML":
20581
20649
  throw Error(t(399, "input"));
@@ -20592,7 +20660,7 @@ function K5() {
20592
20660
  xe = Bt;
20593
20661
  break;
20594
20662
  default:
20595
- Vt(k, te, Be, Bt);
20663
+ Vt(k, te, je, Bt);
20596
20664
  }
20597
20665
  return _t !== null ? Vt(
20598
20666
  k,
@@ -20615,20 +20683,20 @@ function K5() {
20615
20683
  case "title":
20616
20684
  k.push(mn("title")), xe = null;
20617
20685
  for (Ct in z)
20618
- if (p.call(z, Ct) && (Be = z[Ct], Be != null))
20686
+ if (p.call(z, Ct) && (je = z[Ct], je != null))
20619
20687
  switch (Ct) {
20620
20688
  case "children":
20621
- xe = Be;
20689
+ xe = je;
20622
20690
  break;
20623
20691
  case "dangerouslySetInnerHTML":
20624
20692
  throw Error(t(434));
20625
20693
  default:
20626
- Vt(k, te, Ct, Be);
20694
+ Vt(k, te, Ct, je);
20627
20695
  }
20628
20696
  return k.push(Ut), xe;
20629
20697
  case "listing":
20630
20698
  case "pre":
20631
- k.push(mn(F)), Be = xe = null;
20699
+ k.push(mn(F)), je = xe = null;
20632
20700
  for (St in z)
20633
20701
  if (p.call(z, St) && (et = z[St], et != null))
20634
20702
  switch (St) {
@@ -20636,17 +20704,17 @@ function K5() {
20636
20704
  xe = et;
20637
20705
  break;
20638
20706
  case "dangerouslySetInnerHTML":
20639
- Be = et;
20707
+ je = et;
20640
20708
  break;
20641
20709
  default:
20642
20710
  Vt(k, te, St, et);
20643
20711
  }
20644
- if (k.push(Ut), Be != null) {
20712
+ if (k.push(Ut), je != null) {
20645
20713
  if (xe != null)
20646
20714
  throw Error(t(60));
20647
- if (typeof Be != "object" || !("__html" in Be))
20715
+ if (typeof je != "object" || !("__html" in je))
20648
20716
  throw Error(t(61));
20649
- z = Be.__html, z != null && (typeof z == "string" && 0 < z.length && z[0] === `
20717
+ z = je.__html, z != null && (typeof z == "string" && 0 < z.length && z[0] === `
20650
20718
  ` ? k.push(Lr, c(z)) : k.push(c("" + z)));
20651
20719
  }
20652
20720
  return typeof xe == "string" && xe[0] === `
@@ -20690,7 +20758,7 @@ function K5() {
20690
20758
  default:
20691
20759
  if (F.indexOf("-") === -1 && typeof z.is != "string")
20692
20760
  return zi(k, z, F, te);
20693
- k.push(mn(F)), Be = xe = null;
20761
+ k.push(mn(F)), je = xe = null;
20694
20762
  for (Bt in z)
20695
20763
  if (p.call(z, Bt) && (et = z[Bt], et != null))
20696
20764
  switch (Bt) {
@@ -20698,7 +20766,7 @@ function K5() {
20698
20766
  xe = et;
20699
20767
  break;
20700
20768
  case "dangerouslySetInnerHTML":
20701
- Be = et;
20769
+ je = et;
20702
20770
  break;
20703
20771
  case "style":
20704
20772
  mt(k, te, et);
@@ -20709,7 +20777,7 @@ function K5() {
20709
20777
  default:
20710
20778
  R(Bt) && typeof et != "function" && typeof et != "symbol" && k.push(wt, c(Bt), vt, c(x(et)), Et);
20711
20779
  }
20712
- return k.push(Ut), Er(k, Be, xe), xe;
20780
+ return k.push(Ut), Er(k, je, xe), xe;
20713
20781
  }
20714
20782
  }
20715
20783
  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 +20951,14 @@ function K5() {
20883
20951
  k.updater = Ji, k.props = z, k.state = Se;
20884
20952
  var xe = { queue: [], replace: !1 };
20885
20953
  k._reactInternals = xe;
20886
- var Be = F.contextType;
20887
- if (k.context = typeof Be == "object" && Be !== null ? Be._currentValue : te, Be = F.getDerivedStateFromProps, typeof Be == "function" && (Be = Be(z, Se), Se = Be == null ? Se : ai({}, Se, Be), k.state = Se), typeof F.getDerivedStateFromProps != "function" && typeof k.getSnapshotBeforeUpdate != "function" && (typeof k.UNSAFE_componentWillMount == "function" || typeof k.componentWillMount == "function"))
20954
+ var je = F.contextType;
20955
+ 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
20956
  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, Be = xe.replace, xe.queue = null, xe.replace = !1, Be && F.length === 1)
20957
+ if (F = xe.queue, je = xe.replace, xe.queue = null, xe.replace = !1, je && F.length === 1)
20890
20958
  k.state = F[0];
20891
20959
  else {
20892
- for (xe = Be ? F[0] : k.state, Se = !0, Be = Be ? 1 : 0; Be < F.length; Be++) {
20893
- var et = F[Be];
20960
+ for (xe = je ? F[0] : k.state, Se = !0, je = je ? 1 : 0; je < F.length; je++) {
20961
+ var et = F[je];
20894
20962
  et = typeof et == "function" ? et.call(k, xe, z, te) : et, et != null && (Se ? (Se = !1, xe = ai({}, xe, et)) : ai(xe, et));
20895
20963
  }
20896
20964
  k.state = xe;
@@ -20906,8 +20974,8 @@ function K5() {
20906
20974
  te &= ~(1 << Se), z += 1;
20907
20975
  var xe = 32 - jo(F) + Se;
20908
20976
  if (30 < xe) {
20909
- var Be = Se - Se % 5;
20910
- return xe = (te & (1 << Be) - 1).toString(32), te >>= Be, Se -= Be, { id: 1 << 32 - jo(F) + Se | z << Se | te, overflow: xe + k };
20977
+ var je = Se - Se % 5;
20978
+ 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
20979
  }
20912
20980
  return { id: 1 << xe | z << Se | te, overflow: k };
20913
20981
  }
@@ -21029,16 +21097,16 @@ function K5() {
21029
21097
  }
21030
21098
  function O() {
21031
21099
  }
21032
- function N(k, F, z, te, Se, xe, Be, et, St) {
21100
+ function N(k, F, z, te, Se, xe, je, et, St) {
21033
21101
  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: Be === void 0 ? O : Be, 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;
21102
+ 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
21103
  }
21036
- function j(k, F, z, te, Se, xe, Be, et) {
21104
+ function j(k, F, z, te, Se, xe, je, et) {
21037
21105
  k.allPendingTasks++, z === null ? k.pendingRootTasks++ : z.pendingTasks++;
21038
21106
  var St = { node: F, ping: function() {
21039
21107
  var Bt = k.pingedTasks;
21040
21108
  Bt.push(St), Bt.length === 1 && Yr(k);
21041
- }, blockedBoundary: z, blockedSegment: te, abortSet: Se, legacyContext: xe, context: Be, treeContext: et };
21109
+ }, blockedBoundary: z, blockedSegment: te, abortSet: Se, legacyContext: xe, context: je, treeContext: et };
21042
21110
  return Se.add(St), St;
21043
21111
  }
21044
21112
  function H(k, F, z, te, Se, xe) {
@@ -21061,17 +21129,17 @@ function K5() {
21061
21129
  function Me(k, F, z, te) {
21062
21130
  var Se = z.render(), xe = te.childContextTypes;
21063
21131
  if (xe != null) {
21064
- var Be = F.legacyContext;
21132
+ var je = F.legacyContext;
21065
21133
  if (typeof z.getChildContext != "function")
21066
- te = Be;
21134
+ te = je;
21067
21135
  else {
21068
21136
  z = z.getChildContext();
21069
21137
  for (var et in z)
21070
21138
  if (!(et in xe))
21071
21139
  throw Error(t(108, tt(te) || "Unknown", et));
21072
- te = ai({}, Be, z);
21140
+ te = ai({}, je, z);
21073
21141
  }
21074
- F.legacyContext = te, Ye(k, F, Se), F.legacyContext = Be;
21142
+ F.legacyContext = te, Ye(k, F, Se), F.legacyContext = je;
21075
21143
  } else
21076
21144
  Ye(k, F, Se);
21077
21145
  }
@@ -21092,10 +21160,10 @@ function K5() {
21092
21160
  xe = new z(te, typeof xe == "object" && xe !== null ? xe._currentValue : Se), Ti(xe, z, te, Se), Me(k, F, xe, z);
21093
21161
  } else {
21094
21162
  xe = Tt(z, F.legacyContext), Se = be(k, F, z, te, xe);
21095
- var Be = Ai !== 0;
21163
+ var je = Ai !== 0;
21096
21164
  if (typeof Se == "object" && Se !== null && typeof Se.render == "function" && Se.$$typeof === void 0)
21097
21165
  Ti(Se, z, te, xe), Me(k, F, Se, z);
21098
- else if (Be) {
21166
+ else if (je) {
21099
21167
  te = F.treeContext, F.treeContext = Wr(te, 1, 0);
21100
21168
  try {
21101
21169
  Ye(k, F, Se);
@@ -21106,7 +21174,7 @@ function K5() {
21106
21174
  Ye(k, F, Se);
21107
21175
  }
21108
21176
  else if (typeof z == "string") {
21109
- switch (Se = F.blockedSegment, xe = gt(Se.chunks, z, te, k.responseState, Se.formatContext), Se.lastPushedText = !1, Be = Se.formatContext, Se.formatContext = De(Be, z, te), Dt(k, F, xe), Se.formatContext = Be, z) {
21177
+ 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
21178
  case "area":
21111
21179
  case "base":
21112
21180
  case "br":
@@ -21143,8 +21211,8 @@ function K5() {
21143
21211
  throw Error(t(343));
21144
21212
  case Zi:
21145
21213
  e: {
21146
- z = F.blockedBoundary, Se = F.blockedSegment, xe = te.fallback, te = te.children, Be = /* @__PURE__ */ new Set();
21147
- var et = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks: Be, errorDigest: null }, St = H(k, Se.chunks.length, et, Se.formatContext, !1, !1);
21214
+ z = F.blockedBoundary, Se = F.blockedSegment, xe = te.fallback, te = te.children, je = /* @__PURE__ */ new Set();
21215
+ 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
21216
  Se.children.push(St), Se.lastPushedText = !1;
21149
21217
  var Bt = H(k, 0, null, Se.formatContext, !1, !1);
21150
21218
  Bt.parentFlushed = !0, F.blockedBoundary = et, F.blockedSegment = Bt;
@@ -21153,14 +21221,14 @@ function K5() {
21153
21221
  k,
21154
21222
  F,
21155
21223
  te
21156
- ), Bt.lastPushedText && Bt.textEmbedded && Bt.chunks.push($e), Bt.status = 1, vn(et, Bt), et.pendingTasks === 0)
21224
+ ), Bt.lastPushedText && Bt.textEmbedded && Bt.chunks.push(Be), Bt.status = 1, vn(et, Bt), et.pendingTasks === 0)
21157
21225
  break e;
21158
21226
  } catch (_t) {
21159
21227
  Bt.status = 4, et.forceClientRender = !0, et.errorDigest = le(k, _t);
21160
21228
  } finally {
21161
21229
  F.blockedBoundary = z, F.blockedSegment = Se;
21162
21230
  }
21163
- F = j(k, xe, z, St, Be, F.legacyContext, F.context, F.treeContext), k.pingedTasks.push(F);
21231
+ F = j(k, xe, z, St, je, F.legacyContext, F.context, F.treeContext), k.pingedTasks.push(F);
21164
21232
  }
21165
21233
  return;
21166
21234
  }
@@ -21181,7 +21249,7 @@ function K5() {
21181
21249
  z = z.type, te = Ne(z, te), Ee(k, F, z, te, Se);
21182
21250
  return;
21183
21251
  case Pr:
21184
- if (Se = te.children, z = z._context, te = te.value, xe = z._currentValue, z._currentValue = te, Be = bt, bt = te = { parent: Be, depth: Be === null ? 0 : Be.depth + 1, context: z, parentValue: xe, value: te }, F.context = te, Ye(k, F, Se), k = bt, k === null)
21252
+ 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
21253
  throw Error(t(403));
21186
21254
  te = k.parentValue, k.context._currentValue = te === ye ? k.context._defaultValue : te, k = bt = k.parent, F.context = k;
21187
21255
  return;
@@ -21248,8 +21316,8 @@ function K5() {
21248
21316
  } catch (St) {
21249
21317
  if (ca(), typeof St == "object" && St !== null && typeof St.then == "function") {
21250
21318
  z = St;
21251
- var Be = F.blockedSegment, et = H(k, Be.chunks.length, null, Be.formatContext, Be.lastPushedText, !0);
21252
- Be.children.push(et), Be.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);
21319
+ var je = F.blockedSegment, et = H(k, je.chunks.length, null, je.formatContext, je.lastPushedText, !0);
21320
+ 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
21321
  } else
21254
21322
  throw F.blockedSegment.formatContext = te, F.legacyContext = Se, F.context = xe, cr(xe), St;
21255
21323
  }
@@ -21292,18 +21360,18 @@ function K5() {
21292
21360
  try {
21293
21361
  var Se = k.pingedTasks, xe;
21294
21362
  for (xe = 0; xe < Se.length; xe++) {
21295
- var Be = Se[xe], et = k, St = Be.blockedSegment;
21363
+ var je = Se[xe], et = k, St = je.blockedSegment;
21296
21364
  if (St.status === 0) {
21297
- cr(Be.context);
21365
+ cr(je.context);
21298
21366
  try {
21299
- Ye(et, Be, Be.node), St.lastPushedText && St.textEmbedded && St.chunks.push($e), Be.abortSet.delete(Be), St.status = 1, zr(et, Be.blockedBoundary, St);
21367
+ 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
21368
  } catch (Zn) {
21301
21369
  if (ca(), typeof Zn == "object" && Zn !== null && typeof Zn.then == "function") {
21302
- var Bt = Be.ping;
21370
+ var Bt = je.ping;
21303
21371
  Zn.then(Bt, Bt);
21304
21372
  } else {
21305
- Be.abortSet.delete(Be), St.status = 4;
21306
- var _t = Be.blockedBoundary, Ct = Zn, Un = le(et, Ct);
21373
+ je.abortSet.delete(je), St.status = 4;
21374
+ var _t = je.blockedBoundary, Ct = Zn, Un = le(et, Ct);
21307
21375
  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
21376
  var On = et.onAllReady;
21309
21377
  On();
@@ -21332,8 +21400,8 @@ function K5() {
21332
21400
  te = z.chunks;
21333
21401
  var xe = 0;
21334
21402
  z = z.children;
21335
- for (var Be = 0; Be < z.length; Be++) {
21336
- for (Se = z[Be]; xe < Se.index; xe++)
21403
+ for (var je = 0; je < z.length; je++) {
21404
+ for (Se = z[je]; xe < Se.index; xe++)
21337
21405
  i(F, te[xe]);
21338
21406
  Se = Gr(k, F, Se);
21339
21407
  }
@@ -21397,9 +21465,9 @@ function K5() {
21397
21465
  }
21398
21466
  var Se = k.clientRenderedBoundaries, xe;
21399
21467
  for (xe = 0; xe < Se.length; xe++) {
21400
- var Be = Se[xe];
21468
+ var je = Se[xe];
21401
21469
  te = F;
21402
- var et = k.responseState, St = Be.id, Bt = Be.errorDigest, _t = Be.errorMessage, Ct = Be.errorComponentStack;
21470
+ var et = k.responseState, St = je.id, Bt = je.errorDigest, _t = je.errorMessage, Ct = je.errorComponentStack;
21403
21471
  if (i(te, et.startInlineScript), et.sentClientRenderFunction ? i(te, wn) : (et.sentClientRenderFunction = !0, i(
21404
21472
  te,
21405
21473
  Xn
@@ -21416,12 +21484,12 @@ function K5() {
21416
21484
  for (xe = 0; xe < On.length; xe++) {
21417
21485
  var Zn = On[xe];
21418
21486
  e: {
21419
- Se = k, Be = F;
21487
+ Se = k, je = F;
21420
21488
  var fa = Zn.completedSegments;
21421
21489
  for (et = 0; et < fa.length; et++)
21422
21490
  if (!So(
21423
21491
  Se,
21424
- Be,
21492
+ je,
21425
21493
  Zn,
21426
21494
  fa[et]
21427
21495
  )) {
@@ -21457,7 +21525,7 @@ function K5() {
21457
21525
  }
21458
21526
  return Xh.renderToReadableStream = function(k, F) {
21459
21527
  return new Promise(function(z, te) {
21460
- var Se, xe, Be = new Promise(function(_t, Ct) {
21528
+ var Se, xe, je = new Promise(function(_t, Ct) {
21461
21529
  xe = _t, Se = Ct;
21462
21530
  }), 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
21531
  var _t = new ReadableStream({ type: "bytes", pull: function(Ct) {
@@ -21474,9 +21542,9 @@ function K5() {
21474
21542
  }, cancel: function() {
21475
21543
  Rr(et);
21476
21544
  } }, { highWaterMark: 0 });
21477
- _t.allReady = Be, z(_t);
21545
+ _t.allReady = je, z(_t);
21478
21546
  }, function(_t) {
21479
- Be.catch(function() {
21547
+ je.catch(function() {
21480
21548
  }), te(_t);
21481
21549
  }, Se);
21482
21550
  if (F && F.signal) {
@@ -21500,7 +21568,7 @@ var _c = {};
21500
21568
  * LICENSE file in the root directory of this source tree.
21501
21569
  */
21502
21570
  var h1;
21503
- function Z5() {
21571
+ function J5() {
21504
21572
  return h1 || (h1 = 1, process.env.NODE_ENV !== "production" && function() {
21505
21573
  var e = pt, t = "18.2.0", n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
21506
21574
  function r(h) {
@@ -21580,9 +21648,9 @@ function Z5() {
21580
21648
  if (L(h))
21581
21649
  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
21650
  }
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", de = new RegExp("^[" + Ze + "][" + Qe + "]*$"), Te = {}, Ve = {};
21651
+ 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
21652
  function Je(h) {
21585
- return Z.call(Ve, h) ? !0 : Z.call(Te, h) ? !1 : de.test(h) ? (Ve[h] = !0, !0) : (Te[h] = !0, i("Invalid attribute name: `%s`", h), !1);
21653
+ 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
21654
  }
21587
21655
  function ot(h, b, _, M) {
21588
21656
  if (_ !== null && _.type === pe)
@@ -21604,12 +21672,12 @@ function Z5() {
21604
21672
  }
21605
21673
  }
21606
21674
  function Ce(h) {
21607
- return $e.hasOwnProperty(h) ? $e[h] : null;
21675
+ return Be.hasOwnProperty(h) ? Be[h] : null;
21608
21676
  }
21609
21677
  function De(h, b, _, M, Y, re, ce) {
21610
21678
  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
21679
  }
21612
- var $e = {}, He = [
21680
+ var Be = {}, He = [
21613
21681
  "children",
21614
21682
  "dangerouslySetInnerHTML",
21615
21683
  // TODO: This prevents the assignment of defaultValue to regular
@@ -21623,7 +21691,7 @@ function Z5() {
21623
21691
  "style"
21624
21692
  ];
21625
21693
  He.forEach(function(h) {
21626
- $e[h] = new De(
21694
+ Be[h] = new De(
21627
21695
  h,
21628
21696
  pe,
21629
21697
  !1,
@@ -21638,7 +21706,7 @@ function Z5() {
21638
21706
  );
21639
21707
  }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(h) {
21640
21708
  var b = h[0], _ = h[1];
21641
- $e[b] = new De(
21709
+ Be[b] = new De(
21642
21710
  b,
21643
21711
  x,
21644
21712
  !1,
@@ -21652,7 +21720,7 @@ function Z5() {
21652
21720
  !1
21653
21721
  );
21654
21722
  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(h) {
21655
- $e[h] = new De(
21723
+ Be[h] = new De(
21656
21724
  h,
21657
21725
  ue,
21658
21726
  !1,
@@ -21666,7 +21734,7 @@ function Z5() {
21666
21734
  !1
21667
21735
  );
21668
21736
  }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(h) {
21669
- $e[h] = new De(
21737
+ Be[h] = new De(
21670
21738
  h,
21671
21739
  ue,
21672
21740
  !1,
@@ -21707,7 +21775,7 @@ function Z5() {
21707
21775
  // Microdata
21708
21776
  "itemScope"
21709
21777
  ].forEach(function(h) {
21710
- $e[h] = new De(
21778
+ Be[h] = new De(
21711
21779
  h,
21712
21780
  oe,
21713
21781
  !1,
@@ -21731,7 +21799,7 @@ function Z5() {
21731
21799
  // you'll need to set attributeName to name.toLowerCase()
21732
21800
  // instead in the assignment below.
21733
21801
  ].forEach(function(h) {
21734
- $e[h] = new De(
21802
+ Be[h] = new De(
21735
21803
  h,
21736
21804
  oe,
21737
21805
  !0,
@@ -21751,7 +21819,7 @@ function Z5() {
21751
21819
  // you'll need to set attributeName to name.toLowerCase()
21752
21820
  // instead in the assignment below.
21753
21821
  ].forEach(function(h) {
21754
- $e[h] = new De(
21822
+ Be[h] = new De(
21755
21823
  h,
21756
21824
  Fe,
21757
21825
  !1,
@@ -21773,7 +21841,7 @@ function Z5() {
21773
21841
  // you'll need to set attributeName to name.toLowerCase()
21774
21842
  // instead in the assignment below.
21775
21843
  ].forEach(function(h) {
21776
- $e[h] = new De(
21844
+ Be[h] = new De(
21777
21845
  h,
21778
21846
  We,
21779
21847
  !1,
@@ -21787,7 +21855,7 @@ function Z5() {
21787
21855
  !1
21788
21856
  );
21789
21857
  }), ["rowSpan", "start"].forEach(function(h) {
21790
- $e[h] = new De(
21858
+ Be[h] = new De(
21791
21859
  h,
21792
21860
  Ke,
21793
21861
  !1,
@@ -21883,7 +21951,7 @@ function Z5() {
21883
21951
  // instead in the assignment below.
21884
21952
  ].forEach(function(h) {
21885
21953
  var b = h.replace(Pe, Le);
21886
- $e[b] = new De(
21954
+ Be[b] = new De(
21887
21955
  b,
21888
21956
  x,
21889
21957
  !1,
@@ -21907,7 +21975,7 @@ function Z5() {
21907
21975
  // instead in the assignment below.
21908
21976
  ].forEach(function(h) {
21909
21977
  var b = h.replace(Pe, Le);
21910
- $e[b] = new De(
21978
+ Be[b] = new De(
21911
21979
  b,
21912
21980
  x,
21913
21981
  !1,
@@ -21927,7 +21995,7 @@ function Z5() {
21927
21995
  // instead in the assignment below.
21928
21996
  ].forEach(function(h) {
21929
21997
  var b = h.replace(Pe, Le);
21930
- $e[b] = new De(
21998
+ Be[b] = new De(
21931
21999
  b,
21932
22000
  x,
21933
22001
  !1,
@@ -21939,7 +22007,7 @@ function Z5() {
21939
22007
  !1
21940
22008
  );
21941
22009
  }), ["tabIndex", "crossOrigin"].forEach(function(h) {
21942
- $e[h] = new De(
22010
+ Be[h] = new De(
21943
22011
  h,
21944
22012
  x,
21945
22013
  !1,
@@ -21954,7 +22022,7 @@ function Z5() {
21954
22022
  );
21955
22023
  });
21956
22024
  var ze = "xlinkHref";
21957
- $e[ze] = new De(
22025
+ Be[ze] = new De(
21958
22026
  "xlinkHref",
21959
22027
  x,
21960
22028
  !1,
@@ -21965,7 +22033,7 @@ function Z5() {
21965
22033
  // sanitizeURL
21966
22034
  !1
21967
22035
  ), ["src", "href", "action", "formAction"].forEach(function(h) {
21968
- $e[h] = new De(
22036
+ Be[h] = new De(
21969
22037
  h,
21970
22038
  x,
21971
22039
  !1,
@@ -23395,7 +23463,7 @@ function Z5() {
23395
23463
  throw new Error("Unknown insertion mode. This is a bug in React.");
23396
23464
  }
23397
23465
  }
23398
- function Be(h, b) {
23466
+ function je(h, b) {
23399
23467
  switch (b.insertionMode) {
23400
23468
  case _r:
23401
23469
  case Br:
@@ -23495,7 +23563,7 @@ function Z5() {
23495
23563
  function _e(h, b) {
23496
23564
  return b.generateStaticMarkup ? !0 : Ne(h);
23497
23565
  }
23498
- var ke = Object.assign, J = Symbol.for("react.element"), he = Symbol.for("react.portal"), fe = Symbol.for("react.fragment"), je = 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";
23566
+ 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
23567
  function In(h) {
23500
23568
  if (h === null || typeof h != "object")
23501
23569
  return null;
@@ -23522,11 +23590,11 @@ function Z5() {
23522
23590
  switch (h) {
23523
23591
  case fe:
23524
23592
  return "Fragment";
23525
- case he:
23593
+ case de:
23526
23594
  return "Portal";
23527
23595
  case Ue:
23528
23596
  return "Profiler";
23529
- case je:
23597
+ case $e:
23530
23598
  return "StrictMode";
23531
23599
  case Mt:
23532
23600
  return "Suspense";
@@ -24622,7 +24690,7 @@ Error generating stack: ` + M.message + `
24622
24690
  switch (_) {
24623
24691
  case qr:
24624
24692
  case Jn:
24625
- case je:
24693
+ case $e:
24626
24694
  case Ue:
24627
24695
  case fe: {
24628
24696
  Jr(h, b, M.children);
@@ -24684,7 +24752,7 @@ Error generating stack: ` + M.message + `
24684
24752
  yl(h, b, Y, re, ce);
24685
24753
  return;
24686
24754
  }
24687
- case he:
24755
+ case de:
24688
24756
  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
24757
  case jn: {
24690
24758
  var Re = _, Xe = Re._payload, dt = Re._init, xt;
@@ -24937,7 +25005,7 @@ Error generating stack: ` + M.message + `
24937
25005
  return Zs(b, h.responseState, _.id, _.errorDigest, _.errorMessage, _.errorComponentStack);
24938
25006
  }
24939
25007
  function du(h, b, _) {
24940
- return xe(b, h.responseState, _.formatContext, _.id), Tl(h, b, _), Be(b, _.formatContext);
25008
+ return xe(b, h.responseState, _.formatContext, _.id), Tl(h, b, _), je(b, _.formatContext);
24941
25009
  }
24942
25010
  function xr(h, b, _) {
24943
25011
  for (var M = _.completedSegments, Y = 0; Y < M.length; Y++) {
@@ -25086,7 +25154,7 @@ var Kh = {};
25086
25154
  * LICENSE file in the root directory of this source tree.
25087
25155
  */
25088
25156
  var p1;
25089
- function J5() {
25157
+ function Q5() {
25090
25158
  return p1 || (p1 = 1, process.env.NODE_ENV !== "production" && function() {
25091
25159
  var e = pt, t = "18.2.0", n = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
25092
25160
  function r(g) {
@@ -25177,8 +25245,8 @@ function J5() {
25177
25245
  if (ee(g))
25178
25246
  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
25247
  }
25180
- var oe = Object.prototype.hasOwnProperty, Fe = 0, Ke = 1, We = 2, Ze = 3, Qe = 4, de = 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 = {};
25181
- function $e(g) {
25248
+ 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 = {};
25249
+ function Be(g) {
25182
25250
  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
25251
  }
25184
25252
  function He(g, w, A, $) {
@@ -25386,7 +25454,7 @@ function J5() {
25386
25454
  }), ["rowSpan", "start"].forEach(function(g) {
25387
25455
  ze[g] = new Le(
25388
25456
  g,
25389
- de,
25457
+ he,
25390
25458
  !1,
25391
25459
  // mustUseProperty
25392
25460
  g.toLowerCase(),
@@ -26525,7 +26593,7 @@ function J5() {
26525
26593
  case Qe:
26526
26594
  $ === !0 ? g.push(Ae, ge, Tt) : $ === !1 || g.push(Ae, ge, tt, L(gn($)), yt);
26527
26595
  return;
26528
- case de:
26596
+ case he:
26529
26597
  isNaN($) || g.push(Ae, ge, tt, L(gn($)), yt);
26530
26598
  break;
26531
26599
  case Te:
@@ -26534,7 +26602,7 @@ function J5() {
26534
26602
  default:
26535
26603
  K.sanitizeURL && (pe($, ae), $ = "" + $, yo($)), g.push(Ae, ge, tt, L(gn($)), yt);
26536
26604
  }
26537
- } else if ($e(A)) {
26605
+ } else if (Be(A)) {
26538
26606
  switch (typeof $) {
26539
26607
  case "function":
26540
26608
  case "symbol":
@@ -26820,7 +26888,7 @@ function J5() {
26820
26888
  case "suppressHydrationWarning":
26821
26889
  break;
26822
26890
  default:
26823
- $e(ge) && typeof Ie != "function" && typeof Ie != "symbol" && g.push(Ae, L(ge), tt, L(gn(Ie)), yt);
26891
+ Be(ge) && typeof Ie != "function" && typeof Ie != "symbol" && g.push(Ae, L(ge), tt, L(gn(Ie)), yt);
26824
26892
  break;
26825
26893
  }
26826
26894
  }
@@ -26974,7 +27042,7 @@ function J5() {
26974
27042
  function At(g, w) {
26975
27043
  return S(g, N);
26976
27044
  }
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('">'), Be = I("</tr></table>"), et = I('<table hidden><colgroup id="'), St = I('">'), Bt = I("</colgroup></table>");
27045
+ 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
27046
  function _t(g, w, A, $) {
26979
27047
  switch (A.insertionMode) {
26980
27048
  case Xn:
@@ -27010,7 +27078,7 @@ function J5() {
27010
27078
  case xi:
27011
27079
  return S(g, te);
27012
27080
  case Vr:
27013
- return S(g, Be);
27081
+ return S(g, je);
27014
27082
  case ai:
27015
27083
  return S(g, Bt);
27016
27084
  default:
@@ -27052,7 +27120,7 @@ function J5() {
27052
27120
  }
27053
27121
  });
27054
27122
  }
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"), he = Symbol.for("react.profiler"), fe = Symbol.for("react.provider"), je = 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";
27123
+ 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
27124
  function to(g) {
27057
27125
  if (g === null || typeof g != "object")
27058
27126
  return null;
@@ -27081,7 +27149,7 @@ function J5() {
27081
27149
  return "Fragment";
27082
27150
  case _e:
27083
27151
  return "Portal";
27084
- case he:
27152
+ case de:
27085
27153
  return "Profiler";
27086
27154
  case J:
27087
27155
  return "StrictMode";
@@ -27092,7 +27160,7 @@ function J5() {
27092
27160
  }
27093
27161
  if (typeof g == "object")
27094
27162
  switch (g.$$typeof) {
27095
- case je:
27163
+ case $e:
27096
27164
  var w = g;
27097
27165
  return Zc(w) + ".Consumer";
27098
27166
  case fe:
@@ -27511,7 +27579,7 @@ Please check the code for the %s component.`, w, w, $), za[K] = !0;
27511
27579
  if ("contextType" in g) {
27512
27580
  var ae = (
27513
27581
  // Allow null for conditional declaration
27514
- K === null || K !== void 0 && K.$$typeof === je && K._context === void 0
27582
+ K === null || K !== void 0 && K.$$typeof === $e && K._context === void 0
27515
27583
  );
27516
27584
  if (!ae && !ks.has(g)) {
27517
27585
  ks.add(g);
@@ -28180,7 +28248,7 @@ Error generating stack: ` + $.message + `
28180
28248
  case jn:
28181
28249
  case Gt:
28182
28250
  case J:
28183
- case he:
28251
+ case de:
28184
28252
  case ke: {
28185
28253
  hi(g, w, $.children);
28186
28254
  return;
@@ -28210,7 +28278,7 @@ Error generating stack: ` + $.message + `
28210
28278
  Ca(g, w, A, $);
28211
28279
  return;
28212
28280
  }
28213
- case je: {
28281
+ case $e: {
28214
28282
  di(g, w, A, $);
28215
28283
  return;
28216
28284
  }
@@ -28629,18 +28697,18 @@ Error generating stack: ` + $.message + `
28629
28697
  }()), Kh;
28630
28698
  }
28631
28699
  var Vc, qm;
28632
- process.env.NODE_ENV === "production" ? (Vc = X5(), qm = K5()) : (Vc = Z5(), qm = J5());
28700
+ process.env.NODE_ENV === "production" ? (Vc = K5(), qm = Z5()) : (Vc = J5(), qm = Q5());
28633
28701
  Vc.version;
28634
- var Q5 = Vc.renderToString;
28702
+ var e4 = Vc.renderToString;
28635
28703
  Vc.renderToStaticMarkup;
28636
28704
  Vc.renderToNodeStream;
28637
28705
  Vc.renderToStaticNodeStream;
28638
28706
  qm.renderToReadableStream;
28639
- var e4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
28707
+ var t4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
28640
28708
  function mO(e, t) {
28641
28709
  return e(t = { exports: {} }, t.exports), t.exports;
28642
28710
  }
28643
- var t4 = mO(function(e) {
28711
+ var n4 = mO(function(e) {
28644
28712
  (function(t) {
28645
28713
  var n = function(L, I, U) {
28646
28714
  if (!c(I) || v(I) || p(I) || S(I) || l(I))
@@ -28694,11 +28762,11 @@ var t4 = mO(function(e) {
28694
28762
  return this.decamelizeKeys.apply(this, arguments);
28695
28763
  } };
28696
28764
  e.exports ? e.exports = R : t.humps = R;
28697
- })(e4);
28698
- }).decamelize, n4 = function(e) {
28765
+ })(t4);
28766
+ }).decamelize, r4 = function(e) {
28699
28767
  if (Array.isArray(e))
28700
28768
  return e;
28701
- }, r4 = function(e, t) {
28769
+ }, i4 = function(e, t) {
28702
28770
  if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
28703
28771
  var n = [], r = !0, i = !1, o = void 0;
28704
28772
  try {
@@ -28721,18 +28789,18 @@ var t4 = mO(function(e) {
28721
28789
  for (var n = 0, r = new Array(t); n < t; n++)
28722
28790
  r[n] = e[n];
28723
28791
  return r;
28724
- }, i4 = function(e, t) {
28792
+ }, o4 = function(e, t) {
28725
28793
  if (e) {
28726
28794
  if (typeof e == "string")
28727
28795
  return g1(e, t);
28728
28796
  var n = Object.prototype.toString.call(e).slice(8, -1);
28729
28797
  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
28798
  }
28731
- }, o4 = function() {
28799
+ }, a4 = function() {
28732
28800
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
28733
28801
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
28734
- }, a4 = function(e, t) {
28735
- return n4(e) || r4(e, t) || i4(e, t) || o4();
28802
+ }, s4 = function(e, t) {
28803
+ return r4(e) || i4(e, t) || o4(e, t) || a4();
28736
28804
  }, yO = mO(function(e) {
28737
28805
  function t() {
28738
28806
  return e.exports = t = Object.assign || function(n) {
@@ -28745,7 +28813,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
28745
28813
  }, t.apply(this, arguments);
28746
28814
  }
28747
28815
  e.exports = t;
28748
- }), s4 = function(e, t) {
28816
+ }), l4 = function(e, t) {
28749
28817
  if (e == null)
28750
28818
  return {};
28751
28819
  var n, r, i = {}, o = Object.keys(e);
@@ -28755,27 +28823,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
28755
28823
  }, bO = function(e, t) {
28756
28824
  if (e == null)
28757
28825
  return {};
28758
- var n, r, i = s4(e, t);
28826
+ var n, r, i = l4(e, t);
28759
28827
  if (Object.getOwnPropertySymbols) {
28760
28828
  var o = Object.getOwnPropertySymbols(e);
28761
28829
  for (r = 0; r < o.length; r++)
28762
28830
  n = o[r], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
28763
28831
  }
28764
28832
  return i;
28765
- }, l4 = vr(null);
28833
+ }, u4 = vr(null);
28766
28834
  function Xm(e) {
28767
28835
  var t = e.children, n = bO(e, ["children"]);
28768
- return typeof t != "string" && (t = Q5(t)), pt.createElement("template", yO({}, n, { dangerouslySetInnerHTML: { __html: t } }));
28836
+ return typeof t != "string" && (t = e4(t)), pt.createElement("template", yO({}, n, { dangerouslySetInnerHTML: { __html: t } }));
28769
28837
  }
28770
28838
  function Km(e) {
28771
28839
  var t = e.root, n = e.children;
28772
28840
  return sy(n, t);
28773
28841
  }
28774
- function u4(e) {
28842
+ function c4(e) {
28775
28843
  var t = jp(function(n, r) {
28776
28844
  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
28845
  i && (i.current = o.current);
28778
- }, [i]), o), T = fn(null), P = a4(T, 2), R = P[0], L = P[1], I = "node_".concat(s).concat(l);
28846
+ }, [i]), o), T = fn(null), P = s4(T, 2), R = P[0], L = P[1], I = "node_".concat(s).concat(l);
28779
28847
  return Ys(function() {
28780
28848
  if (S.current)
28781
28849
  try {
@@ -28797,345 +28865,31 @@ function u4(e) {
28797
28865
  }
28798
28866
  })({ error: ee, styleSheets: c, root: R });
28799
28867
  }
28800
- }, [r, S, c]), pt.createElement(pt.Fragment, null, pt.createElement(e.tag, yO({ key: I, ref: S }, p), (R || d) && pt.createElement(l4.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 })))));
28868
+ }, [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
28869
  });
28802
28870
  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
28871
  }
28804
28872
  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
28873
  var $v = /* @__PURE__ */ new Map();
28806
- function c4() {
28874
+ function f4() {
28807
28875
  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
28876
  return r.children;
28809
28877
  };
28810
28878
  return new Proxy(e, { get: function(r, i) {
28811
- var o = t4(i, { separator: "-" }), s = "".concat(t, "-").concat(o);
28812
- return $v.has(s) || $v.set(s, u4({ tag: o, render: n })), $v.get(s);
28879
+ var o = n4(i, { separator: "-" }), s = "".concat(t, "-").concat(o);
28880
+ return $v.has(s) || $v.set(s, c4({ tag: o, render: n })), $v.get(s);
28813
28881
  } });
28814
28882
  }
28815
- var wO = c4();
28816
- const f4 = (e) => {
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}
28883
+ var wO = f4();
28884
+ const d4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
29131
28885
  `;
29132
- function x4(e) {
28886
+ function h4(e) {
29133
28887
  const t = new CustomEvent("updateFavoriteMenu", {
29134
28888
  detail: { menuItem: e }
29135
28889
  });
29136
28890
  window.dispatchEvent(t);
29137
28891
  }
29138
- function T4(e) {
28892
+ function p4(e) {
29139
28893
  const t = F1(), [n, r] = fn([]), [i, o] = fn(window.location.href);
29140
28894
  Rt(() => {
29141
28895
  o(window.location.href);
@@ -29156,7 +28910,7 @@ function T4(e) {
29156
28910
  console.log("favoriteItems", n);
29157
28911
  function c(S, T) {
29158
28912
  const P = l(n, S);
29159
- P ? (P.isFavorite = T, x4(P), xO(S, T)) : console.error(`Item with id ${S} not found`);
28913
+ P ? (P.isFavorite = T, h4(P), SO(S, T)) : console.error(`Item with id ${S} not found`);
29160
28914
  }
29161
28915
  const d = (S) => {
29162
28916
  console.log("Favorite menus changed", S), r(S.detail.favoriteMenus || []);
@@ -29174,7 +28928,7 @@ function T4(e) {
29174
28928
  ) + 1;
29175
28929
  }
29176
28930
  const p = (S, T, P) => /* @__PURE__ */ rt(
29177
- SO,
28931
+ vO,
29178
28932
  {
29179
28933
  isActive: (L) => P.some((I) => I.id === L),
29180
28934
  brandColors: e.brandColors,
@@ -29203,9 +28957,9 @@ function T4(e) {
29203
28957
  ) }) : "" });
29204
28958
  }
29205
28959
  function a7(e) {
29206
- return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(G1, { styles: [ST, w4, S4], children: /* @__PURE__ */ rt(T4, { ...e }) }) });
28960
+ return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(G1, { styles: [ST, X5, d4], children: /* @__PURE__ */ rt(p4, { ...e }) }) });
29207
28961
  }
29208
- function xO(e, t) {
28962
+ function SO(e, t) {
29209
28963
  const n = JSON.parse(
29210
28964
  localStorage.getItem("favoriteItems") || "[]"
29211
28965
  );
@@ -29217,7 +28971,256 @@ function xO(e, t) {
29217
28971
  }
29218
28972
  localStorage.setItem("favoriteItems", JSON.stringify(n));
29219
28973
  }
29220
- const Vv = localStorage.getItem("isCollapsed");
28974
+ function xO({ ...e }) {
28975
+ var Ve, Je, ot, Ce, De;
28976
+ 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);
28977
+ Rt(() => {
28978
+ T(!!e.item.isFavorite);
28979
+ }, [e.item.isFavorite]);
28980
+ const P = hn(), R = hn();
28981
+ 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);
28982
+ 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 = () => {
28983
+ p(!0);
28984
+ }, Ke = () => {
28985
+ p(!1);
28986
+ }, We = "/global-menu-config/api/v1/menu-items/user/set-favorite", Ze = t.serviceKey === "mn_poms";
28987
+ e.params.depth * 20, e.params.depth, z3(
28988
+ t.id,
28989
+ e.params.isOpen,
28990
+ e.params.onToggle
28991
+ );
28992
+ const Qe = (Be) => {
28993
+ Be.stopPropagation(), e.params.onToggle();
28994
+ }, Te = Ze || o && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null;
28995
+ return /* @__PURE__ */ Ui(
28996
+ "div",
28997
+ {
28998
+ ref: P,
28999
+ className: d("menu-item__wrapper tree-node"),
29000
+ style: {
29001
+ borderRadius: "8px",
29002
+ transition: "all 0.3s"
29003
+ },
29004
+ onMouseOver: Fe,
29005
+ onMouseOut: Ke,
29006
+ onDragStart: (Be) => {
29007
+ o && n > 1 && Be.preventDefault();
29008
+ },
29009
+ children: [
29010
+ /* @__PURE__ */ rt(Id, { placement: "top", disableInteractive: !0, title: Te, children: /* @__PURE__ */ Ui(
29011
+ Z,
29012
+ {
29013
+ to: pe,
29014
+ href: pe,
29015
+ draggable: "true",
29016
+ className: d("menu-item__link"),
29017
+ style: {
29018
+ paddingLeft: oe,
29019
+ transition: "all 0.3s",
29020
+ // transitionDelay: '0.1s',
29021
+ color: i(t.id) ? ((Ce = e.brandColors) == null ? void 0 : Ce.primary400) || _i.primary400 : void 0,
29022
+ backgroundColor: i(t.id) && n === 0 ? (De = e.brandColors) == null ? void 0 : De.primary200 : void 0
29023
+ },
29024
+ onClick: (Be) => {
29025
+ o || Qe(Be);
29026
+ },
29027
+ children: [
29028
+ /* @__PURE__ */ rt(g4, { cls: d, item: t }),
29029
+ /* @__PURE__ */ rt("span", { className: d("menu-item__label"), ref: R, children: t.name }),
29030
+ /* @__PURE__ */ rt(
29031
+ v4,
29032
+ {
29033
+ menuLevel: n,
29034
+ hasChildren: r,
29035
+ isHovered: v,
29036
+ isFavorite: S,
29037
+ onClick: (Be) => {
29038
+ const He = {
29039
+ menuConfigId: t.id,
29040
+ isFavorite: Be
29041
+ }, Pe = e.baseUrl + We;
29042
+ Hs.post(Pe, He).then((Le) => {
29043
+ var ze;
29044
+ T(Be), OT("Set favorite menu item successfully"), (ze = e.onSetFavoriteSuccess) == null || ze.call(e, e.item.id, Be), SO(e.item.id, Be);
29045
+ }).catch((Le) => {
29046
+ var ze, st;
29047
+ zp(
29048
+ ((st = (ze = Le.response) == null ? void 0 : ze.data) == null ? void 0 : st.errorMessage) || "Have error when set favorite menu item"
29049
+ );
29050
+ });
29051
+ }
29052
+ }
29053
+ ),
29054
+ r && /* @__PURE__ */ rt("div", { className: d("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ rt(
29055
+ p5,
29056
+ {
29057
+ className: d(
29058
+ `menu-item__icon-arrow__icon ${e.params.isOpen ? "open" : "close"}`
29059
+ )
29060
+ }
29061
+ ) })
29062
+ ]
29063
+ }
29064
+ ) }),
29065
+ ue && /* @__PURE__ */ rt(
29066
+ g5,
29067
+ {
29068
+ parentRef: P,
29069
+ onlyChild: !o,
29070
+ renderChildren: ({ maxHeight: Be }) => {
29071
+ var He;
29072
+ return /* @__PURE__ */ rt(
29073
+ lO.div,
29074
+ {
29075
+ className: d(
29076
+ `menu-item__dropdown ${e.params.isOpen ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
29077
+ `level-${x}`
29078
+ ),
29079
+ style: fO(
29080
+ { maxHeight: Be, overflowY: "auto", paddingRight: 3 },
29081
+ Be !== "auto" && !!x
29082
+ ),
29083
+ children: (He = t.children) == null ? void 0 : He.map((Pe) => /* @__PURE__ */ Kd(
29084
+ xO,
29085
+ {
29086
+ ...e,
29087
+ key: Pe.id,
29088
+ item: Pe,
29089
+ level: x
29090
+ }
29091
+ ))
29092
+ }
29093
+ );
29094
+ }
29095
+ }
29096
+ )
29097
+ ]
29098
+ }
29099
+ );
29100
+ }
29101
+ function g4({ item: e, cls: t }) {
29102
+ return /* @__PURE__ */ rt("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ rt(H5, { item: e }) });
29103
+ }
29104
+ function v4(e) {
29105
+ const t = {
29106
+ marginRight: e.hasChildren ? 10 : 0,
29107
+ fontSize: 22,
29108
+ fill: _i.warning
29109
+ };
29110
+ return /* @__PURE__ */ Ui(Bp, { children: [
29111
+ e.isHovered && !e.isFavorite && /* @__PURE__ */ rt(
29112
+ Id,
29113
+ {
29114
+ title: "Add to favorites",
29115
+ children: /* @__PURE__ */ rt(
29116
+ uO,
29117
+ {
29118
+ style: t,
29119
+ onClick: (n) => {
29120
+ var r;
29121
+ n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !0);
29122
+ }
29123
+ }
29124
+ )
29125
+ }
29126
+ ),
29127
+ e.isFavorite && /* @__PURE__ */ rt(
29128
+ Id,
29129
+ {
29130
+ title: "Remove from favorites",
29131
+ children: /* @__PURE__ */ rt(
29132
+ cO,
29133
+ {
29134
+ style: t,
29135
+ onClick: (n) => {
29136
+ var r;
29137
+ n.preventDefault(), n.stopPropagation(), (r = e.onClick) == null || r.call(e, !1);
29138
+ }
29139
+ }
29140
+ )
29141
+ }
29142
+ )
29143
+ ] });
29144
+ }
29145
+ function m4() {
29146
+ return /* @__PURE__ */ rt(
29147
+ "svg",
29148
+ {
29149
+ xmlns: "http://www.w3.org/2000/svg",
29150
+ width: "22",
29151
+ height: "22",
29152
+ fill: "currentColor",
29153
+ stroke: "currentColor",
29154
+ strokeWidth: "0",
29155
+ viewBox: "0 0 24 24",
29156
+ 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" })
29157
+ }
29158
+ );
29159
+ }
29160
+ function y4() {
29161
+ return /* @__PURE__ */ rt(
29162
+ "svg",
29163
+ {
29164
+ xmlns: "http://www.w3.org/2000/svg",
29165
+ width: "22",
29166
+ height: "22",
29167
+ fill: "currentColor",
29168
+ stroke: "currentColor",
29169
+ strokeWidth: "0",
29170
+ viewBox: "0 0 24 24",
29171
+ children: /* @__PURE__ */ rt("path", { d: "M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" })
29172
+ }
29173
+ );
29174
+ }
29175
+ function b4(e) {
29176
+ return /* @__PURE__ */ rt(
29177
+ "svg",
29178
+ {
29179
+ xmlns: "http://www.w3.org/2000/svg",
29180
+ width: "18",
29181
+ height: "20",
29182
+ fill: "none",
29183
+ viewBox: "0 0 18 20",
29184
+ ...e,
29185
+ children: /* @__PURE__ */ rt(
29186
+ "path",
29187
+ {
29188
+ fill: "#E01B00",
29189
+ fillRule: "evenodd",
29190
+ 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",
29191
+ clipRule: "evenodd"
29192
+ }
29193
+ )
29194
+ }
29195
+ );
29196
+ }
29197
+ 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}}
29198
+ `, S4 = (e) => {
29199
+ const t = e.isCollapsed ? 0 : e.depth * 16;
29200
+ return /* @__PURE__ */ rt(
29201
+ "div",
29202
+ {
29203
+ style: {
29204
+ backgroundColor: e.color || "#93D500",
29205
+ height: "2px",
29206
+ position: "absolute",
29207
+ right: "0",
29208
+ // transform: 'translateY(-50%)',
29209
+ top: "0",
29210
+ left: t
29211
+ }
29212
+ }
29213
+ );
29214
+ }, x4 = `.app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}
29215
+ `, T4 = (e) => {
29216
+ const [t, n] = fn(() => {
29217
+ const r = localStorage.getItem("openingMenuIds");
29218
+ return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
29219
+ });
29220
+ return Rt(() => {
29221
+ localStorage.setItem("openingMenuIds", JSON.stringify(t));
29222
+ }, [t]), [t, n];
29223
+ }, Vv = localStorage.getItem("isCollapsed");
29221
29224
  function C4(e) {
29222
29225
  const t = new CustomEvent("favoriteMenusChange", {
29223
29226
  detail: { favoriteMenus: e }
@@ -29236,7 +29239,7 @@ function E4(e) {
29236
29239
  }, [t]);
29237
29240
  const S = O4(i, d);
29238
29241
  console.log("matchPaths:", d, t, S);
29239
- const [T, P] = h4({
29242
+ const [T, P] = T4({
29240
29243
  initOpenIds: e.initOpenIds
29241
29244
  }), R = () => {
29242
29245
  var ue, oe;
@@ -29257,13 +29260,13 @@ function E4(e) {
29257
29260
  parentKey: Te.parentKey || 0
29258
29261
  }));
29259
29262
  Qe = CO(Qe), e.replacePath && (Qe = TO(Qe, e.replacePath));
29260
- const de = Qe.map((Te) => ({
29263
+ const he = Qe.map((Te) => ({
29261
29264
  id: Te.id,
29262
29265
  parent: Te.parentKey,
29263
29266
  text: Te.name,
29264
29267
  data: Te
29265
29268
  }));
29266
- r(de);
29269
+ r(he);
29267
29270
  } catch (Ke) {
29268
29271
  console.error(Ke), zp(
29269
29272
  ((Fe = (oe = Ke.response) == null ? void 0 : oe.data) == null ? void 0 : Fe.errorMessage) || "Have error when get menu items"
@@ -29276,7 +29279,7 @@ function E4(e) {
29276
29279
  );
29277
29280
  let oe = [];
29278
29281
  ue.forEach((We) => {
29279
- const Ze = i.find((Qe) => Qe.id === We);
29282
+ const Ze = i.find((Qe) => Qe.id === We && Qe.isFavorite === !0);
29280
29283
  Ze && (oe = [...oe, Ze]);
29281
29284
  });
29282
29285
  function Fe(We) {
@@ -29343,7 +29346,7 @@ function E4(e) {
29343
29346
  {
29344
29347
  className: "icon-btn side-bar__toggle-btn",
29345
29348
  onClick: R,
29346
- children: l ? /* @__PURE__ */ rt(Y5, {}) : /* @__PURE__ */ rt(z5, {})
29349
+ children: l ? /* @__PURE__ */ rt(y4, {}) : /* @__PURE__ */ rt(m4, {})
29347
29350
  }
29348
29351
  ) }),
29349
29352
  /* @__PURE__ */ rt(
@@ -29376,27 +29379,27 @@ function E4(e) {
29376
29379
  onDrop: pe,
29377
29380
  render: (ue, oe) => {
29378
29381
  function Fe(Qe) {
29379
- return n.every((de) => de.parent !== Qe.id) ? Qe : {
29382
+ return n.every((he) => he.parent !== Qe.id) ? Qe : {
29380
29383
  ...Qe,
29381
- children: n.filter((de) => de.parent === Qe.id).map((de) => Fe(de.data))
29384
+ children: n.filter((he) => he.parent === Qe.id).map((he) => Fe(he.data))
29382
29385
  };
29383
29386
  }
29384
- const Ke = Fe(ue.data), We = (Qe) => S.some((de) => de.id === Qe);
29385
- function Ze(Qe, de) {
29387
+ const Ke = Fe(ue.data), We = (Qe) => S.some((he) => he.id === Qe);
29388
+ function Ze(Qe, he) {
29386
29389
  r(
29387
29390
  (Te) => Te.map(
29388
29391
  (Ve) => Ve.id === Qe ? {
29389
29392
  ...Ve,
29390
29393
  data: {
29391
29394
  ...Ve.data,
29392
- isFavorite: de
29395
+ isFavorite: he
29393
29396
  }
29394
29397
  } : Ve
29395
29398
  )
29396
- ), xO(Qe, de);
29399
+ );
29397
29400
  }
29398
29401
  return /* @__PURE__ */ rt(
29399
- vO,
29402
+ xO,
29400
29403
  {
29401
29404
  isActive: We,
29402
29405
  isCollapsed: l,
@@ -29419,7 +29422,7 @@ function E4(e) {
29419
29422
  placeholderRender: (ue, { depth: oe }) => {
29420
29423
  var Fe;
29421
29424
  return /* @__PURE__ */ rt(
29422
- f4,
29425
+ S4,
29423
29426
  {
29424
29427
  node: ue,
29425
29428
  depth: oe,
@@ -29448,7 +29451,7 @@ function E4(e) {
29448
29451
  className: W("side-bar__logout-btn"),
29449
29452
  onClick: () => I(!0),
29450
29453
  children: [
29451
- /* @__PURE__ */ rt(G5, { className: W("side-bar__icon-logout") }),
29454
+ /* @__PURE__ */ rt(b4, { className: W("side-bar__icon-logout") }),
29452
29455
  /* @__PURE__ */ rt("span", { className: W("side-bar__logout-btn__text"), children: "Logout" })
29453
29456
  ]
29454
29457
  }
@@ -29513,7 +29516,7 @@ function s7(e) {
29513
29516
  return /* @__PURE__ */ rt(wO.div, { children: /* @__PURE__ */ rt(
29514
29517
  G1,
29515
29518
  {
29516
- styles: [ST, q5, d4],
29519
+ styles: [ST, w4, x4],
29517
29520
  style: { position: "sticky", zIndex: 20 },
29518
29521
  children: /* @__PURE__ */ rt(E4, { ...e })
29519
29522
  }
@@ -29538,7 +29541,7 @@ var Lp = { exports: {} };
29538
29541
  Lp.exports;
29539
29542
  (function(e, t) {
29540
29543
  (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, de = 2, Te = 3, Ve = 1 / 0, Je = 9007199254740991, ot = 17976931348623157e292, Ce = 0 / 0, De = 4294967295, $e = De - 1, He = De >>> 1, Pe = [
29544
+ 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
29545
  ["ary", x],
29543
29546
  ["bind", L],
29544
29547
  ["bindKey", I],
@@ -29811,84 +29814,84 @@ Lp.exports;
29811
29814
  } catch {
29812
29815
  }
29813
29816
  }(), 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, he, fe) {
29817
+ function H(J, de, fe) {
29815
29818
  switch (fe.length) {
29816
29819
  case 0:
29817
- return J.call(he);
29820
+ return J.call(de);
29818
29821
  case 1:
29819
- return J.call(he, fe[0]);
29822
+ return J.call(de, fe[0]);
29820
29823
  case 2:
29821
- return J.call(he, fe[0], fe[1]);
29824
+ return J.call(de, fe[0], fe[1]);
29822
29825
  case 3:
29823
- return J.call(he, fe[0], fe[1], fe[2]);
29826
+ return J.call(de, fe[0], fe[1], fe[2]);
29824
29827
  }
29825
- return J.apply(he, fe);
29828
+ return J.apply(de, fe);
29826
29829
  }
29827
- function le(J, he, fe, je) {
29830
+ function le(J, de, fe, $e) {
29828
29831
  for (var Ue = -1, ct = J == null ? 0 : J.length; ++Ue < ct; ) {
29829
29832
  var ft = J[Ue];
29830
- he(je, ft, fe(ft), J);
29833
+ de($e, ft, fe(ft), J);
29831
29834
  }
29832
- return je;
29835
+ return $e;
29833
29836
  }
29834
- function ie(J, he) {
29835
- for (var fe = -1, je = J == null ? 0 : J.length; ++fe < je && he(J[fe], fe, J) !== !1; )
29837
+ function ie(J, de) {
29838
+ for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e && de(J[fe], fe, J) !== !1; )
29836
29839
  ;
29837
29840
  return J;
29838
29841
  }
29839
- function be(J, he) {
29840
- for (var fe = J == null ? 0 : J.length; fe-- && he(J[fe], fe, J) !== !1; )
29842
+ function be(J, de) {
29843
+ for (var fe = J == null ? 0 : J.length; fe-- && de(J[fe], fe, J) !== !1; )
29841
29844
  ;
29842
29845
  return J;
29843
29846
  }
29844
- function Me(J, he) {
29845
- for (var fe = -1, je = J == null ? 0 : J.length; ++fe < je; )
29846
- if (!he(J[fe], fe, J))
29847
+ function Me(J, de) {
29848
+ for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e; )
29849
+ if (!de(J[fe], fe, J))
29847
29850
  return !1;
29848
29851
  return !0;
29849
29852
  }
29850
- function Ne(J, he) {
29851
- for (var fe = -1, je = J == null ? 0 : J.length, Ue = 0, ct = []; ++fe < je; ) {
29853
+ function Ne(J, de) {
29854
+ for (var fe = -1, $e = J == null ? 0 : J.length, Ue = 0, ct = []; ++fe < $e; ) {
29852
29855
  var ft = J[fe];
29853
- he(ft, fe, J) && (ct[Ue++] = ft);
29856
+ de(ft, fe, J) && (ct[Ue++] = ft);
29854
29857
  }
29855
29858
  return ct;
29856
29859
  }
29857
- function Ee(J, he) {
29860
+ function Ee(J, de) {
29858
29861
  var fe = J == null ? 0 : J.length;
29859
- return !!fe && sn(J, he, 0) > -1;
29862
+ return !!fe && sn(J, de, 0) > -1;
29860
29863
  }
29861
- function Ye(J, he, fe) {
29862
- for (var je = -1, Ue = J == null ? 0 : J.length; ++je < Ue; )
29863
- if (fe(he, J[je]))
29864
+ function Ye(J, de, fe) {
29865
+ for (var $e = -1, Ue = J == null ? 0 : J.length; ++$e < Ue; )
29866
+ if (fe(de, J[$e]))
29864
29867
  return !0;
29865
29868
  return !1;
29866
29869
  }
29867
- function ut(J, he) {
29868
- for (var fe = -1, je = J == null ? 0 : J.length, Ue = Array(je); ++fe < je; )
29869
- Ue[fe] = he(J[fe], fe, J);
29870
+ function ut(J, de) {
29871
+ for (var fe = -1, $e = J == null ? 0 : J.length, Ue = Array($e); ++fe < $e; )
29872
+ Ue[fe] = de(J[fe], fe, J);
29870
29873
  return Ue;
29871
29874
  }
29872
- function Dt(J, he) {
29873
- for (var fe = -1, je = he.length, Ue = J.length; ++fe < je; )
29874
- J[Ue + fe] = he[fe];
29875
+ function Dt(J, de) {
29876
+ for (var fe = -1, $e = de.length, Ue = J.length; ++fe < $e; )
29877
+ J[Ue + fe] = de[fe];
29875
29878
  return J;
29876
29879
  }
29877
- function At(J, he, fe, je) {
29880
+ function At(J, de, fe, $e) {
29878
29881
  var Ue = -1, ct = J == null ? 0 : J.length;
29879
- for (je && ct && (fe = J[++Ue]); ++Ue < ct; )
29880
- fe = he(fe, J[Ue], Ue, J);
29882
+ for ($e && ct && (fe = J[++Ue]); ++Ue < ct; )
29883
+ fe = de(fe, J[Ue], Ue, J);
29881
29884
  return fe;
29882
29885
  }
29883
- function Bn(J, he, fe, je) {
29886
+ function Bn(J, de, fe, $e) {
29884
29887
  var Ue = J == null ? 0 : J.length;
29885
- for (je && Ue && (fe = J[--Ue]); Ue--; )
29886
- fe = he(fe, J[Ue], Ue, J);
29888
+ for ($e && Ue && (fe = J[--Ue]); Ue--; )
29889
+ fe = de(fe, J[Ue], Ue, J);
29887
29890
  return fe;
29888
29891
  }
29889
- function vn(J, he) {
29890
- for (var fe = -1, je = J == null ? 0 : J.length; ++fe < je; )
29891
- if (he(J[fe], fe, J))
29892
+ function vn(J, de) {
29893
+ for (var fe = -1, $e = J == null ? 0 : J.length; ++fe < $e; )
29894
+ if (de(J[fe], fe, J))
29892
29895
  return !0;
29893
29896
  return !1;
29894
29897
  }
@@ -29899,70 +29902,70 @@ Lp.exports;
29899
29902
  function zt(J) {
29900
29903
  return J.match(mo) || [];
29901
29904
  }
29902
- function Gr(J, he, fe) {
29903
- var je;
29905
+ function Gr(J, de, fe) {
29906
+ var $e;
29904
29907
  return fe(J, function(Ue, ct, ft) {
29905
- if (he(Ue, ct, ft))
29906
- return je = ct, !1;
29907
- }), je;
29908
+ if (de(Ue, ct, ft))
29909
+ return $e = ct, !1;
29910
+ }), $e;
29908
29911
  }
29909
- function Yt(J, he, fe, je) {
29910
- for (var Ue = J.length, ct = fe + (je ? 1 : -1); je ? ct-- : ++ct < Ue; )
29911
- if (he(J[ct], ct, J))
29912
+ function Yt(J, de, fe, $e) {
29913
+ for (var Ue = J.length, ct = fe + ($e ? 1 : -1); $e ? ct-- : ++ct < Ue; )
29914
+ if (de(J[ct], ct, J))
29912
29915
  return ct;
29913
29916
  return -1;
29914
29917
  }
29915
- function sn(J, he, fe) {
29916
- return he === he ? Hu(J, he, fe) : Yt(J, xo, fe);
29918
+ function sn(J, de, fe) {
29919
+ return de === de ? Hu(J, de, fe) : Yt(J, xo, fe);
29917
29920
  }
29918
- function So(J, he, fe, je) {
29921
+ function So(J, de, fe, $e) {
29919
29922
  for (var Ue = fe - 1, ct = J.length; ++Ue < ct; )
29920
- if (je(J[Ue], he))
29923
+ if ($e(J[Ue], de))
29921
29924
  return Ue;
29922
29925
  return -1;
29923
29926
  }
29924
29927
  function xo(J) {
29925
29928
  return J !== J;
29926
29929
  }
29927
- function Rr(J, he) {
29930
+ function Rr(J, de) {
29928
29931
  var fe = J == null ? 0 : J.length;
29929
- return fe ? Se(J, he) / fe : Ce;
29932
+ return fe ? Se(J, de) / fe : Ce;
29930
29933
  }
29931
29934
  function k(J) {
29932
- return function(he) {
29933
- return he == null ? n : he[J];
29935
+ return function(de) {
29936
+ return de == null ? n : de[J];
29934
29937
  };
29935
29938
  }
29936
29939
  function F(J) {
29937
- return function(he) {
29938
- return J == null ? n : J[he];
29940
+ return function(de) {
29941
+ return J == null ? n : J[de];
29939
29942
  };
29940
29943
  }
29941
- function z(J, he, fe, je, Ue) {
29944
+ function z(J, de, fe, $e, Ue) {
29942
29945
  return Ue(J, function(ct, ft, lt) {
29943
- fe = je ? (je = !1, ct) : he(fe, ct, ft, lt);
29946
+ fe = $e ? ($e = !1, ct) : de(fe, ct, ft, lt);
29944
29947
  }), fe;
29945
29948
  }
29946
- function te(J, he) {
29949
+ function te(J, de) {
29947
29950
  var fe = J.length;
29948
- for (J.sort(he); fe--; )
29951
+ for (J.sort(de); fe--; )
29949
29952
  J[fe] = J[fe].value;
29950
29953
  return J;
29951
29954
  }
29952
- function Se(J, he) {
29953
- for (var fe, je = -1, Ue = J.length; ++je < Ue; ) {
29954
- var ct = he(J[je]);
29955
+ function Se(J, de) {
29956
+ for (var fe, $e = -1, Ue = J.length; ++$e < Ue; ) {
29957
+ var ct = de(J[$e]);
29955
29958
  ct !== n && (fe = fe === n ? ct : fe + ct);
29956
29959
  }
29957
29960
  return fe;
29958
29961
  }
29959
- function xe(J, he) {
29960
- for (var fe = -1, je = Array(J); ++fe < J; )
29961
- je[fe] = he(fe);
29962
- return je;
29962
+ function xe(J, de) {
29963
+ for (var fe = -1, $e = Array(J); ++fe < J; )
29964
+ $e[fe] = de(fe);
29965
+ return $e;
29963
29966
  }
29964
- function Be(J, he) {
29965
- return ut(he, function(fe) {
29967
+ function je(J, de) {
29968
+ return ut(de, function(fe) {
29966
29969
  return [fe, J[fe]];
29967
29970
  });
29968
29971
  }
@@ -29970,39 +29973,39 @@ Lp.exports;
29970
29973
  return J && J.slice(0, Js(J) + 1).replace(gn, "");
29971
29974
  }
29972
29975
  function St(J) {
29973
- return function(he) {
29974
- return J(he);
29976
+ return function(de) {
29977
+ return J(de);
29975
29978
  };
29976
29979
  }
29977
- function Bt(J, he) {
29978
- return ut(he, function(fe) {
29980
+ function Bt(J, de) {
29981
+ return ut(de, function(fe) {
29979
29982
  return J[fe];
29980
29983
  });
29981
29984
  }
29982
- function _t(J, he) {
29983
- return J.has(he);
29985
+ function _t(J, de) {
29986
+ return J.has(de);
29984
29987
  }
29985
- function Ct(J, he) {
29986
- for (var fe = -1, je = J.length; ++fe < je && sn(he, J[fe], 0) > -1; )
29988
+ function Ct(J, de) {
29989
+ for (var fe = -1, $e = J.length; ++fe < $e && sn(de, J[fe], 0) > -1; )
29987
29990
  ;
29988
29991
  return fe;
29989
29992
  }
29990
- function Un(J, he) {
29991
- for (var fe = J.length; fe-- && sn(he, J[fe], 0) > -1; )
29993
+ function Un(J, de) {
29994
+ for (var fe = J.length; fe-- && sn(de, J[fe], 0) > -1; )
29992
29995
  ;
29993
29996
  return fe;
29994
29997
  }
29995
- function On(J, he) {
29996
- for (var fe = J.length, je = 0; fe--; )
29997
- J[fe] === he && ++je;
29998
- return je;
29998
+ function On(J, de) {
29999
+ for (var fe = J.length, $e = 0; fe--; )
30000
+ J[fe] === de && ++$e;
30001
+ return $e;
29999
30002
  }
30000
30003
  var Zn = F(Ai), fa = F(ui);
30001
30004
  function ps(J) {
30002
30005
  return "\\" + Ei[J];
30003
30006
  }
30004
- function da(J, he) {
30005
- return J == null ? n : J[he];
30007
+ function da(J, de) {
30008
+ return J == null ? n : J[de];
30006
30009
  }
30007
30010
  function ci(J) {
30008
30011
  return Ci.test(J);
@@ -30011,51 +30014,51 @@ Lp.exports;
30011
30014
  return $o.test(J);
30012
30015
  }
30013
30016
  function To(J) {
30014
- for (var he, fe = []; !(he = J.next()).done; )
30015
- fe.push(he.value);
30017
+ for (var de, fe = []; !(de = J.next()).done; )
30018
+ fe.push(de.value);
30016
30019
  return fe;
30017
30020
  }
30018
30021
  function gs(J) {
30019
- var he = -1, fe = Array(J.size);
30020
- return J.forEach(function(je, Ue) {
30021
- fe[++he] = [Ue, je];
30022
+ var de = -1, fe = Array(J.size);
30023
+ return J.forEach(function($e, Ue) {
30024
+ fe[++de] = [Ue, $e];
30022
30025
  }), fe;
30023
30026
  }
30024
- function ha(J, he) {
30027
+ function ha(J, de) {
30025
30028
  return function(fe) {
30026
- return J(he(fe));
30029
+ return J(de(fe));
30027
30030
  };
30028
30031
  }
30029
- function Oi(J, he) {
30030
- for (var fe = -1, je = J.length, Ue = 0, ct = []; ++fe < je; ) {
30032
+ function Oi(J, de) {
30033
+ for (var fe = -1, $e = J.length, Ue = 0, ct = []; ++fe < $e; ) {
30031
30034
  var ft = J[fe];
30032
- (ft === he || ft === v) && (J[fe] = v, ct[Ue++] = fe);
30035
+ (ft === de || ft === v) && (J[fe] = v, ct[Ue++] = fe);
30033
30036
  }
30034
30037
  return ct;
30035
30038
  }
30036
30039
  function eo(J) {
30037
- var he = -1, fe = Array(J.size);
30038
- return J.forEach(function(je) {
30039
- fe[++he] = je;
30040
+ var de = -1, fe = Array(J.size);
30041
+ return J.forEach(function($e) {
30042
+ fe[++de] = $e;
30040
30043
  }), fe;
30041
30044
  }
30042
30045
  function Zs(J) {
30043
- var he = -1, fe = Array(J.size);
30044
- return J.forEach(function(je) {
30045
- fe[++he] = [je, je];
30046
+ var de = -1, fe = Array(J.size);
30047
+ return J.forEach(function($e) {
30048
+ fe[++de] = [$e, $e];
30046
30049
  }), fe;
30047
30050
  }
30048
- function Hu(J, he, fe) {
30049
- for (var je = fe - 1, Ue = J.length; ++je < Ue; )
30050
- if (J[je] === he)
30051
- return je;
30051
+ function Hu(J, de, fe) {
30052
+ for (var $e = fe - 1, Ue = J.length; ++$e < Ue; )
30053
+ if (J[$e] === de)
30054
+ return $e;
30052
30055
  return -1;
30053
30056
  }
30054
- function pa(J, he, fe) {
30055
- for (var je = fe + 1; je--; )
30056
- if (J[je] === he)
30057
- return je;
30058
- return je;
30057
+ function pa(J, de, fe) {
30058
+ for (var $e = fe + 1; $e--; )
30059
+ if (J[$e] === de)
30060
+ return $e;
30061
+ return $e;
30059
30062
  }
30060
30063
  function Co(J) {
30061
30064
  return ci(J) ? ms(J) : zr(J);
@@ -30064,15 +30067,15 @@ Lp.exports;
30064
30067
  return ci(J) ? Q(J) : Yr(J);
30065
30068
  }
30066
30069
  function Js(J) {
30067
- for (var he = J.length; he-- && Di.test(J.charAt(he)); )
30070
+ for (var de = J.length; de-- && Di.test(J.charAt(de)); )
30068
30071
  ;
30069
- return he;
30072
+ return de;
30070
30073
  }
30071
30074
  var vs = F(Vo);
30072
30075
  function ms(J) {
30073
- for (var he = Va.lastIndex = 0; Va.test(J); )
30074
- ++he;
30075
- return he;
30076
+ for (var de = Va.lastIndex = 0; Va.test(J); )
30077
+ ++de;
30078
+ return de;
30076
30079
  }
30077
30080
  function Q(J) {
30078
30081
  return J.match(Va) || [];
@@ -30080,20 +30083,20 @@ Lp.exports;
30080
30083
  function me(J) {
30081
30084
  return J.match(Ha) || [];
30082
30085
  }
30083
- var _e = function J(he) {
30084
- he = he == null ? xn : ke.defaults(xn.Object(), he, ke.pick(xn, ua));
30085
- var fe = he.Array, je = he.Date, Ue = he.Error, ct = he.Function, ft = he.Math, lt = he.Object, Mt = he.RegExp, kt = he.String, Gt = he.TypeError, jn = fe.prototype, fr = ct.prototype, Jn = lt.prototype, qr = he["__core-js_shared__"], to = fr.toString, Lt = Jn.hasOwnProperty, Zc = 0, In = function() {
30086
+ var _e = function J(de) {
30087
+ de = de == null ? xn : ke.defaults(xn.Object(), de, ke.pick(xn, ua));
30088
+ 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
30089
  var a = /[^.]+$/.exec(qr && qr.keys && qr.keys.IE_PROTO || "");
30087
30090
  return a ? "Symbol(src)_1." + a : "";
30088
30091
  }(), ga = Jn.toString, Uu = to.call(lt), An = xn._, ys = Mt(
30089
30092
  "^" + to.call(Lt).replace(Or, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
30090
- ), bs = hs ? he.Buffer : n, Eo = he.Symbol, ws = he.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() {
30093
+ ), 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
30094
  try {
30092
30095
  var a = wc(lt, "defineProperty");
30093
30096
  return a({}, "", {}), a;
30094
30097
  } catch {
30095
30098
  }
30096
- }(), Qs = he.clearTimeout !== xn.clearTimeout && he.clearTimeout, el = je && je.now !== xn.Date.now && je.now, zl = he.setTimeout !== xn.setTimeout && he.setTimeout, tl = ft.ceil, xs = ft.floor, nl = lt.getOwnPropertySymbols, Yu = bs ? bs.isBuffer : n, Gu = he.isFinite, Ts = jn.join, qu = ha(lt.keys, lt), $n = ft.max, Vn = ft.min, Xu = je.now, Ku = he.parseInt, zo = ft.random, Jc = jn.reverse, Yo = wc(he, "DataView"), ro = wc(he, "Map"), rl = wc(he, "Promise"), Xr = wc(he, "Set"), va = wc(he, "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;
30099
+ }(), 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
30100
  function G(a) {
30098
30101
  if (hr(a) && !Kt(a) && !(a instanceof Xt)) {
30099
30102
  if (a instanceof Kr)
@@ -30191,7 +30194,7 @@ Lp.exports;
30191
30194
  Ge += u;
30192
30195
  for (var rn = -1, Nt = a[Ge]; ++rn < nt; ) {
30193
30196
  var an = qe[rn], ln = an.iteratee, ea = an.type, co = ln(Nt);
30194
- if (ea == de)
30197
+ if (ea == he)
30195
30198
  Nt = co;
30196
30199
  else if (!co) {
30197
30200
  if (ea == Qe)
@@ -30863,7 +30866,7 @@ Lp.exports;
30863
30866
  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
30867
  Nt ? V = qe + 1 : X = qe;
30865
30868
  }
30866
- return Vn(X, $e);
30869
+ return Vn(X, Be);
30867
30870
  }
30868
30871
  function df(a, u) {
30869
30872
  for (var y = -1, D = a.length, V = 0, X = []; ++y < D; ) {
@@ -31309,7 +31312,7 @@ Lp.exports;
31309
31312
  function dr(a) {
31310
31313
  return function(u) {
31311
31314
  var y = ji(u);
31312
- return y == Ut ? gs(u) : y == lr ? Zs(u) : Be(u, a(u));
31315
+ return y == Ut ? gs(u) : y == lr ? Zs(u) : je(u, a(u));
31313
31316
  };
31314
31317
  }
31315
31318
  function Qn(a, u, y, D, V, X, se, ve) {
@@ -33551,12 +33554,12 @@ var R4 = function(e, t) {
33551
33554
  // IE doesn't have `contains` on SVG.
33552
33555
  (f.contains ? f.contains(C) : f.compareDocumentPosition && f.compareDocumentPosition(C) & 16));
33553
33556
  };
33554
- var de = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
33557
+ var he = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;
33555
33558
  function Te(f, m) {
33556
33559
  return m ? f === "\0" ? "�" : f.slice(0, -1) + "\\" + f.charCodeAt(f.length - 1).toString(16) + " " : "\\" + f;
33557
33560
  }
33558
33561
  x.escapeSelector = function(f) {
33559
- return (f + "").replace(de, Te);
33562
+ return (f + "").replace(he, Te);
33560
33563
  };
33561
33564
  var Ve = I, Je = l;
33562
33565
  (function() {
@@ -33578,7 +33581,7 @@ var R4 = function(e, t) {
33578
33581
  // For use in libraries implementing .is()
33579
33582
  // We use this for POS matching in `select`
33580
33583
  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 = /[+~]/, Be = new RegExp("\\\\[\\da-fA-F]{1,6}" + Ze + "?|\\\\([^\\r\\n\\f])", "g"), et = function(Q, me) {
33584
+ }, 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
33585
  var _e = "0x" + Q.slice(1) - 65536;
33583
33586
  return me || (_e < 0 ? String.fromCharCode(_e + 65536) : String.fromCharCode(_e >> 10 | 55296, _e & 1023 | 56320));
33584
33587
  }, St = function() {
@@ -33611,7 +33614,7 @@ var R4 = function(e, t) {
33611
33614
  };
33612
33615
  }
33613
33616
  function Ct(Q, me, _e, ke) {
33614
- var J, he, fe, je, Ue, ct, ft, lt = me && me.ownerDocument, Mt = me ? me.nodeType : 9;
33617
+ var J, de, fe, $e, Ue, ct, ft, lt = me && me.ownerDocument, Mt = me ? me.nodeType : 9;
33615
33618
  if (_e = _e || [], typeof Q != "string" || !Q || Mt !== 1 && Mt !== 9 && Mt !== 11)
33616
33619
  return _e;
33617
33620
  if (!ke && (To(me), me = me || H, ie)) {
@@ -33633,8 +33636,8 @@ var R4 = function(e, t) {
33633
33636
  }
33634
33637
  if (!Bn[Q + " "] && (!be || !be.test(Q))) {
33635
33638
  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) && ((je = me.getAttribute("id")) ? je = x.escapeSelector(je) : me.setAttribute("id", je = Ne)), ct = ha(Q), he = ct.length; he--; )
33637
- ct[he] = (je ? "#" + je : ":scope") + " " + Oi(ct[he]);
33639
+ 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--; )
33640
+ ct[de] = ($e ? "#" + $e : ":scope") + " " + Oi(ct[de]);
33638
33641
  ft = ct.join(",");
33639
33642
  }
33640
33643
  try {
@@ -33645,7 +33648,7 @@ var R4 = function(e, t) {
33645
33648
  } catch {
33646
33649
  Bn(Q, !0);
33647
33650
  } finally {
33648
- je === Ne && me.removeAttribute("id");
33651
+ $e === Ne && me.removeAttribute("id");
33649
33652
  }
33650
33653
  }
33651
33654
  }
@@ -33690,8 +33693,8 @@ var R4 = function(e, t) {
33690
33693
  function ci(Q) {
33691
33694
  return On(function(me) {
33692
33695
  return me = +me, On(function(_e, ke) {
33693
- for (var J, he = Q([], _e.length, me), fe = he.length; fe--; )
33694
- _e[J = he[fe]] && (_e[J] = !(ke[J] = _e[J]));
33696
+ for (var J, de = Q([], _e.length, me), fe = de.length; fe--; )
33697
+ _e[J = de[fe]] && (_e[J] = !(ke[J] = _e[J]));
33695
33698
  });
33696
33699
  });
33697
33700
  }
@@ -33717,29 +33720,29 @@ var R4 = function(e, t) {
33717
33720
  return !0;
33718
33721
  }
33719
33722
  }), P.getById ? (m.filter.ID = function(ke) {
33720
- var J = ke.replace(Be, et);
33721
- return function(he) {
33722
- return he.getAttribute("id") === J;
33723
+ var J = ke.replace(je, et);
33724
+ return function(de) {
33725
+ return de.getAttribute("id") === J;
33723
33726
  };
33724
33727
  }, m.find.ID = function(ke, J) {
33725
33728
  if (typeof J.getElementById < "u" && ie) {
33726
- var he = J.getElementById(ke);
33727
- return he ? [he] : [];
33729
+ var de = J.getElementById(ke);
33730
+ return de ? [de] : [];
33728
33731
  }
33729
33732
  }) : (m.filter.ID = function(ke) {
33730
- var J = ke.replace(Be, et);
33731
- return function(he) {
33732
- var fe = typeof he.getAttributeNode < "u" && he.getAttributeNode("id");
33733
+ var J = ke.replace(je, et);
33734
+ return function(de) {
33735
+ var fe = typeof de.getAttributeNode < "u" && de.getAttributeNode("id");
33733
33736
  return fe && fe.value === J;
33734
33737
  };
33735
33738
  }, m.find.ID = function(ke, J) {
33736
33739
  if (typeof J.getElementById < "u" && ie) {
33737
- var he, fe, je, Ue = J.getElementById(ke);
33740
+ var de, fe, $e, Ue = J.getElementById(ke);
33738
33741
  if (Ue) {
33739
- if (he = Ue.getAttributeNode("id"), he && he.value === ke)
33742
+ if (de = Ue.getAttributeNode("id"), de && de.value === ke)
33740
33743
  return [Ue];
33741
- for (je = J.getElementsByName(ke), fe = 0; Ue = je[fe++]; )
33742
- if (he = Ue.getAttributeNode("id"), he && he.value === ke)
33744
+ for ($e = J.getElementsByName(ke), fe = 0; Ue = $e[fe++]; )
33745
+ if (de = Ue.getAttributeNode("id"), de && de.value === ke)
33743
33746
  return [Ue];
33744
33747
  }
33745
33748
  return [];
@@ -33755,11 +33758,11 @@ var R4 = function(e, t) {
33755
33758
  }), P.cssHas || be.push(":has"), be = be.length && new RegExp(be.join("|")), vn = function(ke, J) {
33756
33759
  if (ke === J)
33757
33760
  return N = !0, 0;
33758
- var he = !ke.compareDocumentPosition - !J.compareDocumentPosition;
33759
- return he || (he = (ke.ownerDocument || ke) == (J.ownerDocument || J) ? ke.compareDocumentPosition(J) : (
33761
+ var de = !ke.compareDocumentPosition - !J.compareDocumentPosition;
33762
+ return de || (de = (ke.ownerDocument || ke) == (J.ownerDocument || J) ? ke.compareDocumentPosition(J) : (
33760
33763
  // Otherwise we know they are disconnected
33761
33764
  1
33762
- ), he & 1 || !P.sortDetached && J.compareDocumentPosition(ke) === he ? 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 : he & 4 ? -1 : 1);
33765
+ ), 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
33766
  }), H;
33764
33767
  }
33765
33768
  Ct.matches = function(Q, me) {
@@ -33810,7 +33813,7 @@ var R4 = function(e, t) {
33810
33813
  },
33811
33814
  preFilter: {
33812
33815
  ATTR: function(Q) {
33813
- return Q[1] = Q[1].replace(Be, et), Q[3] = (Q[3] || Q[4] || Q[5] || "").replace(Be, et), Q[2] === "~=" && (Q[3] = " " + Q[3] + " "), Q.slice(0, 4);
33816
+ 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
33817
  },
33815
33818
  CHILD: function(Q) {
33816
33819
  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 +33827,7 @@ var R4 = function(e, t) {
33824
33827
  },
33825
33828
  filter: {
33826
33829
  TAG: function(Q) {
33827
- var me = Q.replace(Be, et).toLowerCase();
33830
+ var me = Q.replace(je, et).toLowerCase();
33828
33831
  return Q === "*" ? function() {
33829
33832
  return !0;
33830
33833
  } : function(_e) {
@@ -33846,19 +33849,19 @@ var R4 = function(e, t) {
33846
33849
  };
33847
33850
  },
33848
33851
  CHILD: function(Q, me, _e, ke, J) {
33849
- var he = Q.slice(0, 3) !== "nth", fe = Q.slice(-4) !== "last", je = me === "of-type";
33852
+ var de = Q.slice(0, 3) !== "nth", fe = Q.slice(-4) !== "last", $e = me === "of-type";
33850
33853
  return ke === 1 && J === 0 ? (
33851
33854
  // Shortcut for :nth-*(n)
33852
33855
  function(Ue) {
33853
33856
  return !!Ue.parentNode;
33854
33857
  }
33855
33858
  ) : function(Ue, ct, ft) {
33856
- var lt, Mt, kt, Gt, jn, fr = he !== fe ? "nextSibling" : "previousSibling", Jn = Ue.parentNode, qr = je && Ue.nodeName.toLowerCase(), to = !ft && !je, Lt = !1;
33859
+ 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
33860
  if (Jn) {
33858
- if (he) {
33861
+ if (de) {
33859
33862
  for (; fr; ) {
33860
33863
  for (kt = Ue; kt = kt[fr]; )
33861
- if (je ? oe(kt, qr) : kt.nodeType === 1)
33864
+ if ($e ? oe(kt, qr) : kt.nodeType === 1)
33862
33865
  return !1;
33863
33866
  jn = fr = Q === "only" && !jn && "nextSibling";
33864
33867
  }
@@ -33872,7 +33875,7 @@ var R4 = function(e, t) {
33872
33875
  break;
33873
33876
  }
33874
33877
  } 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()) && !((je ? oe(kt, qr) : kt.nodeType === 1) && ++Lt && (to && (Mt = kt[Ne] || (kt[Ne] = {}), Mt[Q] = [Ee, Lt]), kt === Ue)); )
33878
+ 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
33879
  ;
33877
33880
  return Lt -= J, Lt === ke || Lt % ke === 0 && Lt / ke >= 0;
33878
33881
  }
@@ -33880,9 +33883,9 @@ var R4 = function(e, t) {
33880
33883
  },
33881
33884
  PSEUDO: function(Q, me) {
33882
33885
  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, he) {
33884
- for (var fe, je = ke(J, me), Ue = je.length; Ue--; )
33885
- fe = c.call(J, je[Ue]), J[fe] = !(he[fe] = je[Ue]);
33886
+ return ke[Ne] ? ke(me) : ke.length > 1 ? (_e = [Q, Q, "", me], m.setFilters.hasOwnProperty(Q.toLowerCase()) ? On(function(J, de) {
33887
+ for (var fe, $e = ke(J, me), Ue = $e.length; Ue--; )
33888
+ fe = c.call(J, $e[Ue]), J[fe] = !(de[fe] = $e[Ue]);
33886
33889
  }) : function(J) {
33887
33890
  return ke(J, 0, _e);
33888
33891
  }) : ke;
@@ -33892,10 +33895,10 @@ var R4 = function(e, t) {
33892
33895
  // Potentially complex pseudos
33893
33896
  not: On(function(Q) {
33894
33897
  var me = [], _e = [], ke = vs(Q.replace(Qe, "$1"));
33895
- return ke[Ne] ? On(function(J, he, fe, je) {
33896
- for (var Ue, ct = ke(J, null, je, []), ft = J.length; ft--; )
33897
- (Ue = ct[ft]) && (J[ft] = !(he[ft] = Ue));
33898
- }) : function(J, he, fe) {
33898
+ return ke[Ne] ? On(function(J, de, fe, $e) {
33899
+ for (var Ue, ct = ke(J, null, $e, []), ft = J.length; ft--; )
33900
+ (Ue = ct[ft]) && (J[ft] = !(de[ft] = Ue));
33901
+ }) : function(J, de, fe) {
33899
33902
  return me[0] = J, ke(me, null, fe, _e), me[0] = null, !_e.pop();
33900
33903
  };
33901
33904
  }),
@@ -33905,7 +33908,7 @@ var R4 = function(e, t) {
33905
33908
  };
33906
33909
  }),
33907
33910
  contains: On(function(Q) {
33908
- return Q = Q.replace(Be, et), function(me) {
33911
+ return Q = Q.replace(je, et), function(me) {
33909
33912
  return (me.textContent || x.text(me)).indexOf(Q) > -1;
33910
33913
  };
33911
33914
  }),
@@ -33917,7 +33920,7 @@ var R4 = function(e, t) {
33917
33920
  // The identifier C does not have to be a valid language name."
33918
33921
  // https://www.w3.org/TR/selectors/#lang-pseudo
33919
33922
  lang: On(function(Q) {
33920
- return k.test(Q || "") || Ct.error("unsupported lang: " + Q), Q = Q.replace(Be, et).toLowerCase(), function(me) {
33923
+ return k.test(Q || "") || Ct.error("unsupported lang: " + Q), Q = Q.replace(je, et).toLowerCase(), function(me) {
33921
33924
  var _e;
33922
33925
  do
33923
33926
  if (_e = ie ? me.lang : me.getAttribute("xml:lang") || me.getAttribute("lang"))
@@ -34014,19 +34017,19 @@ var R4 = function(e, t) {
34014
34017
  }
34015
34018
  gs.prototype = m.filters = m.pseudos, m.setFilters = new gs();
34016
34019
  function ha(Q, me) {
34017
- var _e, ke, J, he, fe, je, Ue, ct = Dt[Q + " "];
34020
+ var _e, ke, J, de, fe, $e, Ue, ct = Dt[Q + " "];
34018
34021
  if (ct)
34019
34022
  return me ? 0 : ct.slice(0);
34020
- for (fe = Q, je = [], Ue = m.preFilter; fe; ) {
34021
- (!_e || (ke = sn.exec(fe))) && (ke && (fe = fe.slice(ke[0].length) || fe), je.push(J = [])), _e = !1, (ke = So.exec(fe)) && (_e = ke.shift(), J.push({
34023
+ for (fe = Q, $e = [], Ue = m.preFilter; fe; ) {
34024
+ (!_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
34025
  value: _e,
34023
34026
  // Cast descendant combinators to space
34024
34027
  type: ke[0].replace(Qe, " ")
34025
34028
  }), fe = fe.slice(_e.length));
34026
- for (he in m.filter)
34027
- (ke = F[he].exec(fe)) && (!Ue[he] || (ke = Ue[he](ke))) && (_e = ke.shift(), J.push({
34029
+ for (de in m.filter)
34030
+ (ke = F[de].exec(fe)) && (!Ue[de] || (ke = Ue[de](ke))) && (_e = ke.shift(), J.push({
34028
34031
  value: _e,
34029
- type: he,
34032
+ type: de,
34030
34033
  matches: ke
34031
34034
  }), fe = fe.slice(_e.length));
34032
34035
  if (!_e)
@@ -34034,7 +34037,7 @@ var R4 = function(e, t) {
34034
34037
  }
34035
34038
  return me ? fe.length : fe ? Ct.error(Q) : (
34036
34039
  // Cache the tokens
34037
- Dt(Q, je).slice(0)
34040
+ Dt(Q, $e).slice(0)
34038
34041
  );
34039
34042
  }
34040
34043
  function Oi(Q) {
@@ -34043,7 +34046,7 @@ var R4 = function(e, t) {
34043
34046
  return ke;
34044
34047
  }
34045
34048
  function eo(Q, me, _e) {
34046
- var ke = me.dir, J = me.next, he = J || ke, fe = _e && he === "parentNode", je = Ye++;
34049
+ var ke = me.dir, J = me.next, de = J || ke, fe = _e && de === "parentNode", $e = Ye++;
34047
34050
  return me.first ? (
34048
34051
  // Check against closest ancestor/preceding element
34049
34052
  function(Ue, ct, ft) {
@@ -34055,7 +34058,7 @@ var R4 = function(e, t) {
34055
34058
  ) : (
34056
34059
  // Check against all ancestor/preceding elements
34057
34060
  function(Ue, ct, ft) {
34058
- var lt, Mt, kt = [Ee, je];
34061
+ var lt, Mt, kt = [Ee, $e];
34059
34062
  if (ft) {
34060
34063
  for (; Ue = Ue[ke]; )
34061
34064
  if ((Ue.nodeType === 1 || fe) && Q(Ue, ct, ft))
@@ -34066,9 +34069,9 @@ var R4 = function(e, t) {
34066
34069
  if (Mt = Ue[Ne] || (Ue[Ne] = {}), J && oe(Ue, J))
34067
34070
  Ue = Ue[ke] || Ue;
34068
34071
  else {
34069
- if ((lt = Mt[he]) && lt[0] === Ee && lt[1] === je)
34072
+ if ((lt = Mt[de]) && lt[0] === Ee && lt[1] === $e)
34070
34073
  return kt[2] = lt[2];
34071
- if (Mt[he] = kt, kt[2] = Q(Ue, ct, ft))
34074
+ if (Mt[de] = kt, kt[2] = Q(Ue, ct, ft))
34072
34075
  return !0;
34073
34076
  }
34074
34077
  return !1;
@@ -34089,13 +34092,13 @@ var R4 = function(e, t) {
34089
34092
  return _e;
34090
34093
  }
34091
34094
  function pa(Q, me, _e, ke, J) {
34092
- for (var he, fe = [], je = 0, Ue = Q.length, ct = me != null; je < Ue; je++)
34093
- (he = Q[je]) && (!_e || _e(he, ke, J)) && (fe.push(he), ct && me.push(je));
34095
+ for (var de, fe = [], $e = 0, Ue = Q.length, ct = me != null; $e < Ue; $e++)
34096
+ (de = Q[$e]) && (!_e || _e(de, ke, J)) && (fe.push(de), ct && me.push($e));
34094
34097
  return fe;
34095
34098
  }
34096
- function Co(Q, me, _e, ke, J, he) {
34097
- return ke && !ke[Ne] && (ke = Co(ke)), J && !J[Ne] && (J = Co(J, he)), On(function(fe, je, Ue, ct) {
34098
- var ft, lt, Mt, kt, Gt = [], jn = [], fr = je.length, Jn = fe || Hu(
34099
+ function Co(Q, me, _e, ke, J, de) {
34100
+ return ke && !ke[Ne] && (ke = Co(ke)), J && !J[Ne] && (J = Co(J, de)), On(function(fe, $e, Ue, ct) {
34101
+ var ft, lt, Mt, kt, Gt = [], jn = [], fr = $e.length, Jn = fe || Hu(
34099
34102
  me || "*",
34100
34103
  Ue.nodeType ? [Ue] : Ue,
34101
34104
  []
@@ -34105,7 +34108,7 @@ var R4 = function(e, t) {
34105
34108
  []
34106
34109
  ) : (
34107
34110
  // ...otherwise use results directly
34108
- je
34111
+ $e
34109
34112
  ), _e(qr, kt, Ue, ct)) : kt = qr, ke)
34110
34113
  for (ft = pa(kt, jn), ke(ft, [], Ue, ct), lt = ft.length; lt--; )
34111
34114
  (Mt = ft[lt]) && (kt[jn[lt]] = !(qr[jn[lt]] = Mt));
@@ -34117,37 +34120,37 @@ var R4 = function(e, t) {
34117
34120
  J(null, kt = [], ft, ct);
34118
34121
  }
34119
34122
  for (lt = kt.length; lt--; )
34120
- (Mt = kt[lt]) && (ft = J ? c.call(fe, Mt) : Gt[lt]) > -1 && (fe[ft] = !(je[ft] = Mt));
34123
+ (Mt = kt[lt]) && (ft = J ? c.call(fe, Mt) : Gt[lt]) > -1 && (fe[ft] = !($e[ft] = Mt));
34121
34124
  }
34122
34125
  } else
34123
34126
  kt = pa(
34124
- kt === je ? kt.splice(fr, kt.length) : kt
34125
- ), J ? J(null, je, kt, ct) : j.apply(je, kt);
34127
+ kt === $e ? kt.splice(fr, kt.length) : kt
34128
+ ), J ? J(null, $e, kt, ct) : j.apply($e, kt);
34126
34129
  });
34127
34130
  }
34128
34131
  function br(Q) {
34129
- for (var me, _e, ke, J = Q.length, he = m.relative[Q[0].type], fe = he || m.relative[" "], je = he ? 1 : 0, Ue = eo(function(lt) {
34132
+ 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
34133
  return lt === me;
34131
34134
  }, fe, !0), ct = eo(function(lt) {
34132
34135
  return c.call(me, lt) > -1;
34133
34136
  }, fe, !0), ft = [function(lt, Mt, kt) {
34134
- var Gt = !he && (kt || Mt != C) || ((me = Mt).nodeType ? Ue(lt, Mt, kt) : ct(lt, Mt, kt));
34137
+ var Gt = !de && (kt || Mt != C) || ((me = Mt).nodeType ? Ue(lt, Mt, kt) : ct(lt, Mt, kt));
34135
34138
  return me = null, Gt;
34136
- }]; je < J; je++)
34137
- if (_e = m.relative[Q[je].type])
34139
+ }]; $e < J; $e++)
34140
+ if (_e = m.relative[Q[$e].type])
34138
34141
  ft = [eo(Zs(ft), _e)];
34139
34142
  else {
34140
- if (_e = m.filter[Q[je].type].apply(null, Q[je].matches), _e[Ne]) {
34141
- for (ke = ++je; ke < J && !m.relative[Q[ke].type]; ke++)
34143
+ if (_e = m.filter[Q[$e].type].apply(null, Q[$e].matches), _e[Ne]) {
34144
+ for (ke = ++$e; ke < J && !m.relative[Q[ke].type]; ke++)
34142
34145
  ;
34143
34146
  return Co(
34144
- je > 1 && Zs(ft),
34145
- je > 1 && Oi(
34147
+ $e > 1 && Zs(ft),
34148
+ $e > 1 && Oi(
34146
34149
  // If the preceding token was a descendant combinator, insert an implicit any-element `*`
34147
- Q.slice(0, je - 1).concat({ value: Q[je - 2].type === " " ? "*" : "" })
34150
+ Q.slice(0, $e - 1).concat({ value: Q[$e - 2].type === " " ? "*" : "" })
34148
34151
  ).replace(Qe, "$1"),
34149
34152
  _e,
34150
- je < ke && br(Q.slice(je, ke)),
34153
+ $e < ke && br(Q.slice($e, ke)),
34151
34154
  ke < J && br(Q = Q.slice(ke)),
34152
34155
  ke < J && Oi(Q)
34153
34156
  );
@@ -34157,65 +34160,65 @@ var R4 = function(e, t) {
34157
34160
  return Zs(ft);
34158
34161
  }
34159
34162
  function Js(Q, me) {
34160
- var _e = me.length > 0, ke = Q.length > 0, J = function(he, fe, je, Ue, ct) {
34161
- var ft, lt, Mt, kt = 0, Gt = "0", jn = he && [], fr = [], Jn = C, qr = he || ke && m.find.TAG("*", ct), to = Ee += Jn == null ? 1 : Math.random() || 0.1, Lt = qr.length;
34163
+ var _e = me.length > 0, ke = Q.length > 0, J = function(de, fe, $e, Ue, ct) {
34164
+ 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
34165
  for (ct && (C = fe == H || fe || ct); Gt !== Lt && (ft = qr[Gt]) != null; Gt++) {
34163
34166
  if (ke && ft) {
34164
- for (lt = 0, !fe && ft.ownerDocument != H && (To(ft), je = !ie); Mt = Q[lt++]; )
34165
- if (Mt(ft, fe || H, je)) {
34167
+ for (lt = 0, !fe && ft.ownerDocument != H && (To(ft), $e = !ie); Mt = Q[lt++]; )
34168
+ if (Mt(ft, fe || H, $e)) {
34166
34169
  j.call(Ue, ft);
34167
34170
  break;
34168
34171
  }
34169
34172
  ct && (Ee = to);
34170
34173
  }
34171
- _e && ((ft = !Mt && ft) && kt--, he && jn.push(ft));
34174
+ _e && ((ft = !Mt && ft) && kt--, de && jn.push(ft));
34172
34175
  }
34173
34176
  if (kt += Gt, _e && Gt !== kt) {
34174
34177
  for (lt = 0; Mt = me[lt++]; )
34175
- Mt(jn, fr, fe, je);
34176
- if (he) {
34178
+ Mt(jn, fr, fe, $e);
34179
+ if (de) {
34177
34180
  if (kt > 0)
34178
34181
  for (; Gt--; )
34179
34182
  jn[Gt] || fr[Gt] || (fr[Gt] = Fe.call(Ue));
34180
34183
  fr = pa(fr);
34181
34184
  }
34182
- j.apply(Ue, fr), ct && !he && fr.length > 0 && kt + me.length > 1 && x.uniqueSort(Ue);
34185
+ j.apply(Ue, fr), ct && !de && fr.length > 0 && kt + me.length > 1 && x.uniqueSort(Ue);
34183
34186
  }
34184
34187
  return ct && (Ee = to, C = Jn), jn;
34185
34188
  };
34186
34189
  return _e ? On(J) : J;
34187
34190
  }
34188
34191
  function vs(Q, me) {
34189
- var _e, ke = [], J = [], he = At[Q + " "];
34190
- if (!he) {
34192
+ var _e, ke = [], J = [], de = At[Q + " "];
34193
+ if (!de) {
34191
34194
  for (me || (me = ha(Q)), _e = me.length; _e--; )
34192
- he = br(me[_e]), he[Ne] ? ke.push(he) : J.push(he);
34193
- he = At(
34195
+ de = br(me[_e]), de[Ne] ? ke.push(de) : J.push(de);
34196
+ de = At(
34194
34197
  Q,
34195
34198
  Js(J, ke)
34196
- ), he.selector = Q;
34199
+ ), de.selector = Q;
34197
34200
  }
34198
- return he;
34201
+ return de;
34199
34202
  }
34200
34203
  function ms(Q, me, _e, ke) {
34201
- var J, he, fe, je, Ue, ct = typeof Q == "function" && Q, ft = !ke && ha(Q = ct.selector || Q);
34204
+ var J, de, fe, $e, Ue, ct = typeof Q == "function" && Q, ft = !ke && ha(Q = ct.selector || Q);
34202
34205
  if (_e = _e || [], ft.length === 1) {
34203
- if (he = ft[0] = ft[0].slice(0), he.length > 2 && (fe = he[0]).type === "ID" && me.nodeType === 9 && ie && m.relative[he[1].type]) {
34206
+ 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
34207
  if (me = (m.find.ID(
34205
- fe.matches[0].replace(Be, et),
34208
+ fe.matches[0].replace(je, et),
34206
34209
  me
34207
34210
  ) || [])[0], me)
34208
34211
  ct && (me = me.parentNode);
34209
34212
  else
34210
34213
  return _e;
34211
- Q = Q.slice(he.shift().value.length);
34214
+ Q = Q.slice(de.shift().value.length);
34212
34215
  }
34213
- for (J = F.needsContext.test(Q) ? 0 : he.length; J-- && (fe = he[J], !m.relative[je = fe.type]); )
34214
- if ((Ue = m.find[je]) && (ke = Ue(
34215
- fe.matches[0].replace(Be, et),
34216
- xe.test(he[0].type) && Ks(me.parentNode) || me
34216
+ for (J = F.needsContext.test(Q) ? 0 : de.length; J-- && (fe = de[J], !m.relative[$e = fe.type]); )
34217
+ if ((Ue = m.find[$e]) && (ke = Ue(
34218
+ fe.matches[0].replace(je, et),
34219
+ xe.test(de[0].type) && Ks(me.parentNode) || me
34217
34220
  ))) {
34218
- if (he.splice(J, 1), Q = ke.length && Oi(he), !Q)
34221
+ if (de.splice(J, 1), Q = ke.length && Oi(de), !Q)
34219
34222
  return j.apply(_e, ke), _e;
34220
34223
  break;
34221
34224
  }
@@ -34244,7 +34247,7 @@ var R4 = function(e, t) {
34244
34247
  for (var C = []; f; f = f.nextSibling)
34245
34248
  f.nodeType === 1 && f !== m && C.push(f);
34246
34249
  return C;
34247
- }, De = x.expr.match.needsContext, $e = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
34250
+ }, De = x.expr.match.needsContext, Be = /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;
34248
34251
  function He(f, m, C) {
34249
34252
  return R(m) ? x.grep(f, function(O, N) {
34250
34253
  return !!m.call(O, N, O) !== C;
@@ -34299,7 +34302,7 @@ var R4 = function(e, t) {
34299
34302
  O[1],
34300
34303
  m && m.nodeType ? m.ownerDocument || m : I,
34301
34304
  !0
34302
- )), $e.test(O[1]) && x.isPlainObject(m))
34305
+ )), Be.test(O[1]) && x.isPlainObject(m))
34303
34306
  for (O in m)
34304
34307
  R(this[O]) ? this[O](m[O]) : this.attr(O, m[O]);
34305
34308
  return this;
@@ -36757,7 +36760,7 @@ var R4 = function(e, t) {
36757
36760
  return [];
36758
36761
  typeof m == "boolean" && (C = m, m = !1);
36759
36762
  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 = $e.exec(f), j = !C && [], N ? [m.createElement(N[1])] : (N = Sn([f], m, j), j && j.length && x(j).remove(), x.merge([], N.childNodes));
36763
+ 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
36764
  }, x.fn.load = function(f, m, C) {
36762
36765
  var O, N, j, H = this, le = f.indexOf(" ");
36763
36766
  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 +37078,8 @@ var L4 = { exports: {} };
37075
37078
  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
37079
  var Fe = this.locale.monthNames[I[1][1].month()] + I[1][1].format(" YYYY");
37077
37080
  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, de = We == Qe, Te = We == Ze, Ve = '<select class="monthselect">', Je = 0; Je < 12; Je++)
37079
- (!de || 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>";
37081
+ 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++)
37082
+ (!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
37083
  Ve += "</select>";
37081
37084
  for (var ot = '<select class="yearselect">', Ce = Qe; Ce <= Ze; Ce++)
37082
37085
  ot += '<option value="' + Ce + '"' + (Ce === We ? ' selected="selected"' : "") + ">" + Ce + "</option>";
@@ -37091,12 +37094,12 @@ var L4 = { exports: {} };
37091
37094
  for (var pe = 0; pe < 6; pe++) {
37092
37095
  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
37096
  for (var Z = 0; Z < 7; Z++) {
37094
- var $e = [];
37095
- I[pe][Z].isSame(/* @__PURE__ */ new Date(), "day") && $e.push("today"), I[pe][Z].isoWeekday() > 5 && $e.push("weekend"), I[pe][Z].month() != I[1][1].month() && $e.push("off", "ends"), this.minDate && I[pe][Z].isBefore(this.minDate, "day") && $e.push("off", "disabled"), ue && I[pe][Z].isAfter(ue, "day") && $e.push("off", "disabled"), this.isInvalidDate(I[pe][Z]) && $e.push("off", "disabled"), I[pe][Z].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && $e.push("active", "start-date"), this.endDate != null && I[pe][Z].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && $e.push("active", "end-date"), this.endDate != null && I[pe][Z] > this.startDate && I[pe][Z] < this.endDate && $e.push("in-range");
37097
+ var Be = [];
37098
+ 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
37099
  var He = this.isCustomDate(I[pe][Z]);
37097
- He !== !1 && (typeof He == "string" ? $e.push(He) : Array.prototype.push.apply($e, He));
37098
- for (var Pe = "", Le = !1, U = 0; U < $e.length; U++)
37099
- Pe += $e[U] + " ", $e[U] == "disabled" && (Le = !0);
37100
+ He !== !1 && (typeof He == "string" ? Be.push(He) : Array.prototype.push.apply(Be, He));
37101
+ for (var Pe = "", Le = !1, U = 0; U < Be.length; U++)
37102
+ Pe += Be[U] + " ", Be[U] == "disabled" && (Le = !0);
37100
37103
  Le || (Pe += "available"), oe += '<td class="' + Pe.replace(/^\s+|\s+$/g, "") + '" data-title="r' + pe + "c" + Z + '">' + I[pe][Z].date() + "</td>";
37101
37104
  }
37102
37105
  oe += "</tr>";
@@ -40519,7 +40522,7 @@ export {
40519
40522
  s7 as G,
40520
40523
  a7 as H,
40521
40524
  c7 as I,
40522
- xO as J,
40525
+ SO as J,
40523
40526
  H5 as K,
40524
40527
  lT as L,
40525
40528
  uT as M,