@spotlightjs/overlay 2.4.0 → 2.5.0

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.
@@ -375,8 +375,8 @@ function eN(e) {
375
375
  }
376
376
  function u(N, I, h) {
377
377
  I === void 0 && (I = null);
378
- let p = nN(i ? l().pathname : "/", N, I, h);
379
- return pa(p.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(N)), p;
378
+ let O = nN(i ? l().pathname : "/", N, I, h);
379
+ return pa(O.pathname.charAt(0) === "/", "relative pathnames are not supported in memory history: " + JSON.stringify(N)), O;
380
380
  }
381
381
  function c(N) {
382
382
  return typeof N == "string" ? N : TE(N);
@@ -1168,11 +1168,11 @@ const XN = ["onClick", "relative", "reloadDocument", "replace", "state", "target
1168
1168
  } = P.useContext(Xn), I, h = !1;
1169
1169
  if (typeof l == "string" && ZN.test(l) && (I = l, JN))
1170
1170
  try {
1171
- let O = new URL(window.location.href), d = l.startsWith("//") ? new URL(O.protocol + l) : new URL(l), m = Ai(d.pathname, N);
1172
- d.origin === O.origin && m != null ? l = m + d.search + d.hash : h = !0;
1171
+ let p = new URL(window.location.href), d = l.startsWith("//") ? new URL(p.protocol + l) : new URL(l), m = Ai(d.pathname, N);
1172
+ d.origin === p.origin && m != null ? l = m + d.search + d.hash : h = !0;
1173
1173
  } catch {
1174
1174
  }
1175
- let p = CN(l, {
1175
+ let O = CN(l, {
1176
1176
  relative: i
1177
1177
  }), A = qN(l, {
1178
1178
  replace: a,
@@ -1182,13 +1182,13 @@ const XN = ["onClick", "relative", "reloadDocument", "replace", "state", "target
1182
1182
  relative: i,
1183
1183
  unstable_viewTransition: c
1184
1184
  });
1185
- function R(O) {
1186
- r && r(O), O.defaultPrevented || A(O);
1185
+ function R(p) {
1186
+ r && r(p), p.defaultPrevented || A(p);
1187
1187
  }
1188
1188
  return (
1189
1189
  // eslint-disable-next-line jsx-a11y/anchor-has-content
1190
1190
  /* @__PURE__ */ P.createElement("a", Vs({}, f, {
1191
- href: I || p,
1191
+ href: I || O,
1192
1192
  onClick: h || s ? r : R,
1193
1193
  ref: n,
1194
1194
  target: E
@@ -1208,16 +1208,16 @@ const XN = ["onClick", "relative", "reloadDocument", "replace", "state", "target
1208
1208
  relative: c.relative
1209
1209
  }), N = jn(), I = P.useContext(eR), {
1210
1210
  navigator: h
1211
- } = P.useContext(Xn), p = I != null && // Conditional usage is OK here because the usage of a data router is static
1211
+ } = P.useContext(Xn), O = I != null && // Conditional usage is OK here because the usage of a data router is static
1212
1212
  // eslint-disable-next-line react-hooks/rules-of-hooks
1213
- $N(f) && l === !0, A = h.encodeLocation ? h.encodeLocation(f).pathname : f.pathname, R = N.pathname, O = I && I.navigation && I.navigation.location ? I.navigation.location.pathname : null;
1214
- i || (R = R.toLowerCase(), O = O ? O.toLowerCase() : null, A = A.toLowerCase());
1215
- let d = R === A || !a && R.startsWith(A) && R.charAt(A.length) === "/", m = O != null && (O === A || !a && O.startsWith(A) && O.charAt(A.length) === "/"), _ = {
1213
+ $N(f) && l === !0, A = h.encodeLocation ? h.encodeLocation(f).pathname : f.pathname, R = N.pathname, p = I && I.navigation && I.navigation.location ? I.navigation.location.pathname : null;
1214
+ i || (R = R.toLowerCase(), p = p ? p.toLowerCase() : null, A = A.toLowerCase());
1215
+ let d = R === A || !a && R.startsWith(A) && R.charAt(A.length) === "/", m = p != null && (p === A || !a && p.startsWith(A) && p.charAt(A.length) === "/"), _ = {
1216
1216
  isActive: d,
1217
1217
  isPending: m,
1218
- isTransitioning: p
1218
+ isTransitioning: O
1219
1219
  }, C = d ? r : void 0, L;
1220
- typeof s == "function" ? L = s(_) : L = [s, d ? "active" : null, m ? "pending" : null, p ? "transitioning" : null].filter(Boolean).join(" ");
1220
+ typeof s == "function" ? L = s(_) : L = [s, d ? "active" : null, m ? "pending" : null, O ? "transitioning" : null].filter(Boolean).join(" ");
1221
1221
  let g = typeof o == "function" ? o(_) : o;
1222
1222
  return /* @__PURE__ */ P.createElement(me, Vs({}, c, {
1223
1223
  "aria-current": C,
@@ -1727,19 +1727,18 @@ async function sp(e, t) {
1727
1727
  function J(...e) {
1728
1728
  return e.filter(Boolean).join(" ");
1729
1729
  }
1730
- function uR(e, t, n = !1) {
1730
+ function uR(e, t, n, r = !1) {
1731
+ const i = e.toLowerCase();
1731
1732
  P.useEffect(() => {
1732
- function r(i) {
1733
- n || i.stopPropagation(), e.every(
1734
- (s) => s in i ? i[s] : i.key.toLowerCase() === s.toLowerCase()
1735
- ) && t();
1733
+ function s(a) {
1734
+ r || a.stopPropagation(), a.key && t.every((o) => a[o]) && a.key.toLowerCase() === i && n();
1736
1735
  }
1737
- return window.addEventListener("keyup", r), () => window.removeEventListener("keyup", r);
1738
- }, [e, t, n]);
1736
+ return window.addEventListener("keyup", s), () => window.removeEventListener("keyup", s);
1737
+ }, [i, t, n, r]);
1739
1738
  }
1740
1739
  function _l({ tabs: e, nested: t, setOpen: n }) {
1741
1740
  const r = _a(), i = jn();
1742
- return uR(["Escape"], () => {
1741
+ return uR("Escape", [], () => {
1743
1742
  n && i.pathname.split("/").length === 2 ? n(!1) : r(-1);
1744
1743
  }), /* @__PURE__ */ T.jsxs("div", { children: [
1745
1744
  /* @__PURE__ */ T.jsxs("div", { className: "sm:hidden", children: [
@@ -2089,104 +2088,111 @@ function Ip({
2089
2088
  sidecarUrl: r,
2090
2089
  anchor: i,
2091
2090
  fullPage: s = !1,
2092
- showClearEventsButton: a = !0
2091
+ showClearEventsButton: a = !0,
2092
+ initialEvents: o = {}
2093
2093
  }) {
2094
- const [o, E] = P.useState({}), [l, u] = P.useState(!1), [c, f] = P.useState({ count: 0, severe: !1 }), [N, I] = P.useState(e);
2095
- ee("App rerender", o, l, c, N);
2096
- const h = P.useMemo(() => {
2097
- const O = /* @__PURE__ */ new Map();
2098
- for (const m of n)
2099
- if (m.forwardedContentType)
2100
- for (const _ of m.forwardedContentType) {
2101
- let C = O.get(_);
2102
- C || (C = [], O.set(_, C)), C.push(m);
2094
+ const [E, l] = P.useState({}), [u, c] = P.useState(!1), [f, N] = P.useState({ count: 0, severe: !1 }), [I, h] = P.useState(e);
2095
+ ee("App rerender", E, u, f, I);
2096
+ const O = P.useMemo(() => {
2097
+ const d = /* @__PURE__ */ new Map();
2098
+ for (const _ of n)
2099
+ if (_.forwardedContentType)
2100
+ for (const C of _.forwardedContentType) {
2101
+ let L = d.get(C);
2102
+ L || (L = [], d.set(C, L)), L.push(_);
2103
2103
  }
2104
- const d = /* @__PURE__ */ Object.create(null);
2105
- for (const [m, _] of O.entries()) {
2106
- const C = (L) => {
2107
- ee(`Received new ${m} event`);
2108
- for (const g of _) {
2109
- const S = g.processEvent ? g.processEvent({
2110
- contentType: m,
2111
- data: L.data
2112
- }) : { event: L };
2113
- if (!S)
2104
+ const m = /* @__PURE__ */ Object.create(null);
2105
+ for (const [_, C] of d.entries()) {
2106
+ const L = (g) => {
2107
+ ee(`Received new ${_} event`);
2108
+ for (const S of C) {
2109
+ const D = S.processEvent ? S.processEvent({
2110
+ contentType: _,
2111
+ data: g.data
2112
+ }) : { event: g };
2113
+ if (!D)
2114
2114
  continue;
2115
- const D = g.name;
2116
- E((M) => ({
2117
- ...M,
2118
- [D]: [...M[D] || [], S]
2115
+ const M = S.name;
2116
+ l((y) => ({
2117
+ ...y,
2118
+ [M]: [...y[M] || [], D]
2119
2119
  }));
2120
2120
  }
2121
2121
  };
2122
- ee("Adding listener for", m), d[m] = C;
2122
+ ee("Adding listener for", _), m[_] = L;
2123
2123
  }
2124
- return d;
2124
+ return m;
2125
2125
  }, [n]);
2126
2126
  P.useEffect(
2127
- () => Op(r, h, u),
2128
- [r, h]
2127
+ () => Op(r, O, c),
2128
+ [r, O]
2129
2129
  );
2130
- const p = P.useMemo(() => Gi(), []), A = _a(), R = P.useMemo(() => {
2130
+ const A = P.useMemo(() => Gi(), []), R = _a(), p = P.useMemo(() => {
2131
2131
  ee("useMemo: initializing event handlers");
2132
- const O = async () => {
2133
- const { origin: S } = new URL(r), D = `${S}/clear`;
2132
+ const d = async () => {
2133
+ const { origin: D } = new URL(r), M = `${D}/clear`;
2134
2134
  try {
2135
- await Np(), await fetch(D, {
2135
+ await Np(), await fetch(M, {
2136
2136
  method: "DELETE",
2137
2137
  mode: "cors"
2138
2138
  });
2139
- } catch (M) {
2139
+ } catch (y) {
2140
2140
  console.error(
2141
2141
  "Spotlight can't connect to Sidecar is it running? See: https://spotlightjs.com/sidecar/npx/",
2142
- M
2142
+ y
2143
2143
  );
2144
2144
  return;
2145
2145
  }
2146
- for (const M of n)
2147
- E((v) => ({ ...v, [M.name]: [] })), M.reset && M.reset();
2148
- }, d = (S) => {
2149
- ee("Open"), I(!0), S.detail.path && A(S.detail.path);
2150
- }, m = () => {
2151
- ee("Close"), I(!1);
2146
+ for (const y of n)
2147
+ l((U) => ({ ...U, [y.name]: [] })), y.reset && y.reset();
2148
+ }, m = (D) => {
2149
+ ee("Open"), h(!0), D.detail.path && R(D.detail.path);
2152
2150
  }, _ = () => {
2153
- ee("Toggle"), I((S) => !S);
2154
- }, C = (S) => {
2155
- ee("Navigate"), A(S.detail);
2156
- }, L = ({ contentType: S, data: D }) => {
2157
- const M = h[S];
2158
- if (!M) {
2159
- ee("Got event for unknown content type:", S);
2151
+ ee("Close"), h(!1);
2152
+ }, C = () => {
2153
+ ee("Toggle"), h((D) => !D);
2154
+ }, L = (D) => {
2155
+ ee("Navigate"), R(D.detail);
2156
+ }, g = ({ contentType: D, data: M }) => {
2157
+ const y = O[D];
2158
+ if (!y) {
2159
+ ee("Got event for unknown content type:", D);
2160
2160
  return;
2161
2161
  }
2162
- M({ data: D });
2163
- }, g = ({ detail: S }) => {
2164
- L(S), fp(S);
2162
+ y({ data: M });
2163
+ }, S = ({ detail: D }) => {
2164
+ g(D), fp(D);
2165
2165
  };
2166
- return dp().then((S) => {
2167
- for (const D of S)
2168
- L(D);
2169
- }), { clearEvents: O, onEvent: g, onOpen: d, onClose: m, onNavigate: C, onToggle: _ };
2170
- }, [n, A, r, h]);
2171
- return uR(["ctrlKey", "F12"], R.onToggle), P.useEffect(() => (ee("useEffect: Adding event listeners"), p.addEventListener("open", R.onOpen), p.addEventListener("close", R.onClose), p.addEventListener("navigate", R.onNavigate), p.addEventListener("clearEvents", R.clearEvents), p.addEventListener("event", R.onEvent), () => {
2172
- ee("useEffect[destructor]: Removing event listeners"), p.removeEventListener("open", R.onOpen), p.removeEventListener("close", R.onClose), p.removeEventListener("navigate", R.onNavigate), p.removeEventListener("clearEvents", R.clearEvents), p.removeEventListener("event", R.onEvent);
2173
- }), [p, R]), P.useEffect(() => {
2174
- N ? (p.dispatchEvent(new CustomEvent("opened")), document.body.style.overflow = "hidden") : (p.dispatchEvent(new CustomEvent("closed")), document.body.style.overflow = "auto");
2175
- }, [N, p]), P.useEffect(() => {
2176
- c.severe && p.dispatchEvent(
2177
- new CustomEvent("severeEventCount", { detail: { count: c.count } })
2166
+ dp().then((D) => {
2167
+ for (const M of D)
2168
+ g(M);
2169
+ });
2170
+ for (const D in o) {
2171
+ ee(`Injecting initial events for ${D}`);
2172
+ for (const M of o[D])
2173
+ g({ contentType: D, data: M });
2174
+ }
2175
+ return { clearEvents: d, onEvent: S, onOpen: m, onClose: _, onNavigate: L, onToggle: C };
2176
+ }, [n, R, r, O, o]);
2177
+ return uR("F12", ["ctrlKey"], p.onToggle), P.useEffect(() => (ee("useEffect: Adding event listeners"), A.addEventListener("open", p.onOpen), A.addEventListener("close", p.onClose), A.addEventListener("navigate", p.onNavigate), A.addEventListener("clearEvents", p.clearEvents), A.addEventListener("event", p.onEvent), () => {
2178
+ ee("useEffect[destructor]: Removing event listeners"), A.removeEventListener("open", p.onOpen), A.removeEventListener("close", p.onClose), A.removeEventListener("navigate", p.onNavigate), A.removeEventListener("clearEvents", p.clearEvents), A.removeEventListener("event", p.onEvent);
2179
+ }), [A, p]), P.useEffect(() => {
2180
+ I ? (A.dispatchEvent(new CustomEvent("opened")), document.body.style.overflow = "hidden") : (A.dispatchEvent(new CustomEvent("closed")), document.body.style.overflow = "auto");
2181
+ }, [I, A]), P.useEffect(() => {
2182
+ f.severe && A.dispatchEvent(
2183
+ new CustomEvent("severeEventCount", { detail: { count: f.count } })
2178
2184
  );
2179
- }, [c, p]), /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
2180
- t && /* @__PURE__ */ T.jsx(Tp, { isOpen: N, setOpen: I, notificationCount: c, anchor: i }),
2185
+ }, [f, A]), /* @__PURE__ */ T.jsxs(T.Fragment, { children: [
2186
+ t && /* @__PURE__ */ T.jsx(Tp, { isOpen: I, setOpen: h, notificationCount: f, anchor: i }),
2181
2187
  /* @__PURE__ */ T.jsx(
2182
2188
  Ep,
2183
2189
  {
2184
- isOpen: s || N,
2185
- setOpen: I,
2186
- isOnline: l,
2190
+ isOpen: s || I,
2191
+ setOpen: h,
2192
+ isOnline: u,
2187
2193
  integrations: n,
2188
- integrationData: o,
2189
- setTriggerButtonCount: f,
2194
+ integrationData: E,
2195
+ setTriggerButtonCount: N,
2190
2196
  fullPage: s,
2191
2197
  showClearEventsButton: a
2192
2198
  }
@@ -2732,62 +2738,62 @@ var fR = { exports: {} };
2732
2738
  (function(n, r) {
2733
2739
  e.exports = r();
2734
2740
  })(ce, function() {
2735
- var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", E = "hour", l = "day", u = "week", c = "month", f = "quarter", N = "year", I = "date", h = "Invalid Date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
2736
- var U = ["th", "st", "nd", "rd"], w = v % 100;
2737
- return "[" + v + (U[(w - 20) % 10] || U[w] || U[0]) + "]";
2738
- } }, O = function(v, U, w) {
2739
- var F = String(v);
2740
- return !F || F.length >= U ? v : "" + Array(U + 1 - F.length).join(w) + v;
2741
- }, d = { s: O, z: function(v) {
2742
- var U = -v.utcOffset(), w = Math.abs(U), F = Math.floor(w / 60), Y = w % 60;
2743
- return (U <= 0 ? "+" : "-") + O(F, 2, "0") + ":" + O(Y, 2, "0");
2744
- }, m: function v(U, w) {
2741
+ var n = 1e3, r = 6e4, i = 36e5, s = "millisecond", a = "second", o = "minute", E = "hour", l = "day", u = "week", c = "month", f = "quarter", N = "year", I = "date", h = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, A = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
2742
+ var U = ["th", "st", "nd", "rd"], w = y % 100;
2743
+ return "[" + y + (U[(w - 20) % 10] || U[w] || U[0]) + "]";
2744
+ } }, p = function(y, U, w) {
2745
+ var F = String(y);
2746
+ return !F || F.length >= U ? y : "" + Array(U + 1 - F.length).join(w) + y;
2747
+ }, d = { s: p, z: function(y) {
2748
+ var U = -y.utcOffset(), w = Math.abs(U), F = Math.floor(w / 60), Y = w % 60;
2749
+ return (U <= 0 ? "+" : "-") + p(F, 2, "0") + ":" + p(Y, 2, "0");
2750
+ }, m: function y(U, w) {
2745
2751
  if (U.date() < w.date())
2746
- return -v(w, U);
2747
- var F = 12 * (w.year() - U.year()) + (w.month() - U.month()), Y = U.clone().add(F, c), y = w - Y < 0, H = U.clone().add(F + (y ? -1 : 1), c);
2748
- return +(-(F + (w - Y) / (y ? Y - H : H - Y)) || 0);
2749
- }, a: function(v) {
2750
- return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
2751
- }, p: function(v) {
2752
- return { M: c, y: N, w: u, d: l, D: I, h: E, m: o, s: a, ms: s, Q: f }[v] || String(v || "").toLowerCase().replace(/s$/, "");
2753
- }, u: function(v) {
2754
- return v === void 0;
2752
+ return -y(w, U);
2753
+ var F = 12 * (w.year() - U.year()) + (w.month() - U.month()), Y = U.clone().add(F, c), v = w - Y < 0, H = U.clone().add(F + (v ? -1 : 1), c);
2754
+ return +(-(F + (w - Y) / (v ? Y - H : H - Y)) || 0);
2755
+ }, a: function(y) {
2756
+ return y < 0 ? Math.ceil(y) || 0 : Math.floor(y);
2757
+ }, p: function(y) {
2758
+ return { M: c, y: N, w: u, d: l, D: I, h: E, m: o, s: a, ms: s, Q: f }[y] || String(y || "").toLowerCase().replace(/s$/, "");
2759
+ }, u: function(y) {
2760
+ return y === void 0;
2755
2761
  } }, m = "en", _ = {};
2756
2762
  _[m] = R;
2757
- var C = function(v) {
2758
- return v instanceof D;
2759
- }, L = function v(U, w, F) {
2763
+ var C = function(y) {
2764
+ return y instanceof D;
2765
+ }, L = function y(U, w, F) {
2760
2766
  var Y;
2761
2767
  if (!U)
2762
2768
  return m;
2763
2769
  if (typeof U == "string") {
2764
- var y = U.toLowerCase();
2765
- _[y] && (Y = y), w && (_[y] = w, Y = y);
2770
+ var v = U.toLowerCase();
2771
+ _[v] && (Y = v), w && (_[v] = w, Y = v);
2766
2772
  var H = U.split("-");
2767
2773
  if (!Y && H.length > 1)
2768
- return v(H[0]);
2774
+ return y(H[0]);
2769
2775
  } else {
2770
2776
  var V = U.name;
2771
2777
  _[V] = U, Y = V;
2772
2778
  }
2773
2779
  return !F && Y && (m = Y), Y || !F && m;
2774
- }, g = function(v, U) {
2775
- if (C(v))
2776
- return v.clone();
2780
+ }, g = function(y, U) {
2781
+ if (C(y))
2782
+ return y.clone();
2777
2783
  var w = typeof U == "object" ? U : {};
2778
- return w.date = v, w.args = arguments, new D(w);
2784
+ return w.date = y, w.args = arguments, new D(w);
2779
2785
  }, S = d;
2780
- S.l = L, S.i = C, S.w = function(v, U) {
2781
- return g(v, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
2786
+ S.l = L, S.i = C, S.w = function(y, U) {
2787
+ return g(y, { locale: U.$L, utc: U.$u, x: U.$x, $offset: U.$offset });
2782
2788
  };
2783
2789
  var D = function() {
2784
- function v(w) {
2790
+ function y(w) {
2785
2791
  this.$L = L(w.locale, null, !0), this.parse(w);
2786
2792
  }
2787
- var U = v.prototype;
2793
+ var U = y.prototype;
2788
2794
  return U.parse = function(w) {
2789
2795
  this.$d = function(F) {
2790
- var Y = F.date, y = F.utc;
2796
+ var Y = F.date, v = F.utc;
2791
2797
  if (Y === null)
2792
2798
  return /* @__PURE__ */ new Date(NaN);
2793
2799
  if (S.u(Y))
@@ -2795,10 +2801,10 @@ var fR = { exports: {} };
2795
2801
  if (Y instanceof Date)
2796
2802
  return new Date(Y);
2797
2803
  if (typeof Y == "string" && !/Z$/i.test(Y)) {
2798
- var H = Y.match(p);
2804
+ var H = Y.match(O);
2799
2805
  if (H) {
2800
2806
  var V = H[2] - 1 || 0, X = (H[7] || "0").substring(0, 3);
2801
- return y ? new Date(Date.UTC(H[1], V, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, X)) : new Date(H[1], V, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, X);
2807
+ return v ? new Date(Date.UTC(H[1], V, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, X)) : new Date(H[1], V, H[3] || 1, H[4] || 0, H[5] || 0, H[6] || 0, X);
2802
2808
  }
2803
2809
  }
2804
2810
  return new Date(Y);
@@ -2824,20 +2830,20 @@ var fR = { exports: {} };
2824
2830
  }, U.valueOf = function() {
2825
2831
  return this.$d.getTime();
2826
2832
  }, U.startOf = function(w, F) {
2827
- var Y = this, y = !!S.u(F) || F, H = S.p(w), V = function(Ln, Xe) {
2833
+ var Y = this, v = !!S.u(F) || F, H = S.p(w), V = function(Ln, Xe) {
2828
2834
  var Xt = S.w(Y.$u ? Date.UTC(Y.$y, Xe, Ln) : new Date(Y.$y, Xe, Ln), Y);
2829
- return y ? Xt : Xt.endOf(l);
2835
+ return v ? Xt : Xt.endOf(l);
2830
2836
  }, X = function(Ln, Xe) {
2831
- return S.w(Y.toDate()[Ln].apply(Y.toDate("s"), (y ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Xe)), Y);
2837
+ return S.w(Y.toDate()[Ln].apply(Y.toDate("s"), (v ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Xe)), Y);
2832
2838
  }, K = this.$W, Re = this.$M, Ne = this.$D, Ot = "set" + (this.$u ? "UTC" : "");
2833
2839
  switch (H) {
2834
2840
  case N:
2835
- return y ? V(1, 0) : V(31, 11);
2841
+ return v ? V(1, 0) : V(31, 11);
2836
2842
  case c:
2837
- return y ? V(1, Re) : V(0, Re + 1);
2843
+ return v ? V(1, Re) : V(0, Re + 1);
2838
2844
  case u:
2839
2845
  var He = this.$locale().weekStart || 0, It = (K < He ? K + 7 : K) - He;
2840
- return V(y ? Ne - It : Ne + (6 - It), Re);
2846
+ return V(v ? Ne - It : Ne + (6 - It), Re);
2841
2847
  case l:
2842
2848
  case I:
2843
2849
  return X(Ot + "Hours", 0);
@@ -2853,8 +2859,8 @@ var fR = { exports: {} };
2853
2859
  }, U.endOf = function(w) {
2854
2860
  return this.startOf(w, !1);
2855
2861
  }, U.$set = function(w, F) {
2856
- var Y, y = S.p(w), H = "set" + (this.$u ? "UTC" : ""), V = (Y = {}, Y[l] = H + "Date", Y[I] = H + "Date", Y[c] = H + "Month", Y[N] = H + "FullYear", Y[E] = H + "Hours", Y[o] = H + "Minutes", Y[a] = H + "Seconds", Y[s] = H + "Milliseconds", Y)[y], X = y === l ? this.$D + (F - this.$W) : F;
2857
- if (y === c || y === N) {
2862
+ var Y, v = S.p(w), H = "set" + (this.$u ? "UTC" : ""), V = (Y = {}, Y[l] = H + "Date", Y[I] = H + "Date", Y[c] = H + "Month", Y[N] = H + "FullYear", Y[E] = H + "Hours", Y[o] = H + "Minutes", Y[a] = H + "Seconds", Y[s] = H + "Milliseconds", Y)[v], X = v === l ? this.$D + (F - this.$W) : F;
2863
+ if (v === c || v === N) {
2858
2864
  var K = this.clone().set(I, 1);
2859
2865
  K.$d[V](X), K.init(), this.$d = K.set(I, Math.min(this.$D, K.daysInMonth())).$d;
2860
2866
  } else
@@ -2865,11 +2871,11 @@ var fR = { exports: {} };
2865
2871
  }, U.get = function(w) {
2866
2872
  return this[S.p(w)]();
2867
2873
  }, U.add = function(w, F) {
2868
- var Y, y = this;
2874
+ var Y, v = this;
2869
2875
  w = Number(w);
2870
2876
  var H = S.p(F), V = function(Re) {
2871
- var Ne = g(y);
2872
- return S.w(Ne.date(Ne.date() + Math.round(Re * w)), y);
2877
+ var Ne = g(v);
2878
+ return S.w(Ne.date(Ne.date() + Math.round(Re * w)), v);
2873
2879
  };
2874
2880
  if (H === c)
2875
2881
  return this.set(c, this.$M + w);
@@ -2887,15 +2893,15 @@ var fR = { exports: {} };
2887
2893
  var F = this, Y = this.$locale();
2888
2894
  if (!this.isValid())
2889
2895
  return Y.invalidDate || h;
2890
- var y = w || "YYYY-MM-DDTHH:mm:ssZ", H = S.z(this), V = this.$H, X = this.$m, K = this.$M, Re = Y.weekdays, Ne = Y.months, Ot = Y.meridiem, He = function(Xe, Xt, br, zi) {
2891
- return Xe && (Xe[Xt] || Xe(F, y)) || br[Xt].slice(0, zi);
2896
+ var v = w || "YYYY-MM-DDTHH:mm:ssZ", H = S.z(this), V = this.$H, X = this.$m, K = this.$M, Re = Y.weekdays, Ne = Y.months, Ot = Y.meridiem, He = function(Xe, Xt, br, zi) {
2897
+ return Xe && (Xe[Xt] || Xe(F, v)) || br[Xt].slice(0, zi);
2892
2898
  }, It = function(Xe) {
2893
2899
  return S.s(V % 12 || 12, Xe, "0");
2894
2900
  }, Ln = Ot || function(Xe, Xt, br) {
2895
2901
  var zi = Xe < 12 ? "AM" : "PM";
2896
2902
  return br ? zi.toLowerCase() : zi;
2897
2903
  };
2898
- return y.replace(A, function(Xe, Xt) {
2904
+ return v.replace(A, function(Xe, Xt) {
2899
2905
  return Xt || function(br) {
2900
2906
  switch (br) {
2901
2907
  case "YY":
@@ -2953,38 +2959,38 @@ var fR = { exports: {} };
2953
2959
  }, U.utcOffset = function() {
2954
2960
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2955
2961
  }, U.diff = function(w, F, Y) {
2956
- var y, H = this, V = S.p(F), X = g(w), K = (X.utcOffset() - this.utcOffset()) * r, Re = this - X, Ne = function() {
2962
+ var v, H = this, V = S.p(F), X = g(w), K = (X.utcOffset() - this.utcOffset()) * r, Re = this - X, Ne = function() {
2957
2963
  return S.m(H, X);
2958
2964
  };
2959
2965
  switch (V) {
2960
2966
  case N:
2961
- y = Ne() / 12;
2967
+ v = Ne() / 12;
2962
2968
  break;
2963
2969
  case c:
2964
- y = Ne();
2970
+ v = Ne();
2965
2971
  break;
2966
2972
  case f:
2967
- y = Ne() / 3;
2973
+ v = Ne() / 3;
2968
2974
  break;
2969
2975
  case u:
2970
- y = (Re - K) / 6048e5;
2976
+ v = (Re - K) / 6048e5;
2971
2977
  break;
2972
2978
  case l:
2973
- y = (Re - K) / 864e5;
2979
+ v = (Re - K) / 864e5;
2974
2980
  break;
2975
2981
  case E:
2976
- y = Re / i;
2982
+ v = Re / i;
2977
2983
  break;
2978
2984
  case o:
2979
- y = Re / r;
2985
+ v = Re / r;
2980
2986
  break;
2981
2987
  case a:
2982
- y = Re / n;
2988
+ v = Re / n;
2983
2989
  break;
2984
2990
  default:
2985
- y = Re;
2991
+ v = Re;
2986
2992
  }
2987
- return Y ? y : S.a(y);
2993
+ return Y ? v : S.a(v);
2988
2994
  }, U.daysInMonth = function() {
2989
2995
  return this.endOf(c).$D;
2990
2996
  }, U.$locale = function() {
@@ -2992,8 +2998,8 @@ var fR = { exports: {} };
2992
2998
  }, U.locale = function(w, F) {
2993
2999
  if (!w)
2994
3000
  return this.$L;
2995
- var Y = this.clone(), y = L(w, F, !0);
2996
- return y && (Y.$L = y), Y;
3001
+ var Y = this.clone(), v = L(w, F, !0);
3002
+ return v && (Y.$L = v), Y;
2997
3003
  }, U.clone = function() {
2998
3004
  return S.w(this.$d, this);
2999
3005
  }, U.toDate = function() {
@@ -3004,16 +3010,16 @@ var fR = { exports: {} };
3004
3010
  return this.$d.toISOString();
3005
3011
  }, U.toString = function() {
3006
3012
  return this.$d.toUTCString();
3007
- }, v;
3013
+ }, y;
3008
3014
  }(), M = D.prototype;
3009
- return g.prototype = M, [["$ms", s], ["$s", a], ["$m", o], ["$H", E], ["$W", l], ["$M", c], ["$y", N], ["$D", I]].forEach(function(v) {
3010
- M[v[1]] = function(U) {
3011
- return this.$g(U, v[0], v[1]);
3015
+ return g.prototype = M, [["$ms", s], ["$s", a], ["$m", o], ["$H", E], ["$W", l], ["$M", c], ["$y", N], ["$D", I]].forEach(function(y) {
3016
+ M[y[1]] = function(U) {
3017
+ return this.$g(U, y[0], y[1]);
3012
3018
  };
3013
- }), g.extend = function(v, U) {
3014
- return v.$i || (v(U, D, g), v.$i = !0), g;
3015
- }, g.locale = L, g.isDayjs = C, g.unix = function(v) {
3016
- return g(1e3 * v);
3019
+ }), g.extend = function(y, U) {
3020
+ return y.$i || (y(U, D, g), y.$i = !0), g;
3021
+ }, g.locale = L, g.isDayjs = C, g.unix = function(y) {
3022
+ return g(1e3 * y);
3017
3023
  }, g.en = _[m], g.Ls = _, g.p = {}, g;
3018
3024
  });
3019
3025
  })(fR);
@@ -3031,20 +3037,20 @@ var dR = { exports: {} };
3031
3037
  return s.fromToBase(l, u, c, f);
3032
3038
  }
3033
3039
  i.en.relativeTime = a, s.fromToBase = function(l, u, c, f, N) {
3034
- for (var I, h, p, A = c.$locale().relativeTime || a, R = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], O = R.length, d = 0; d < O; d += 1) {
3040
+ for (var I, h, O, A = c.$locale().relativeTime || a, R = n.thresholds || [{ l: "s", r: 44, d: "second" }, { l: "m", r: 89 }, { l: "mm", r: 44, d: "minute" }, { l: "h", r: 89 }, { l: "hh", r: 21, d: "hour" }, { l: "d", r: 35 }, { l: "dd", r: 25, d: "day" }, { l: "M", r: 45 }, { l: "MM", r: 10, d: "month" }, { l: "y", r: 17 }, { l: "yy", d: "year" }], p = R.length, d = 0; d < p; d += 1) {
3035
3041
  var m = R[d];
3036
3042
  m.d && (I = f ? i(l).diff(c, m.d, !0) : c.diff(l, m.d, !0));
3037
3043
  var _ = (n.rounding || Math.round)(Math.abs(I));
3038
- if (p = I > 0, _ <= m.r || !m.r) {
3044
+ if (O = I > 0, _ <= m.r || !m.r) {
3039
3045
  _ <= 1 && d > 0 && (m = R[d - 1]);
3040
3046
  var C = A[m.l];
3041
- N && (_ = N("" + _)), h = typeof C == "string" ? C.replace("%d", _) : C(_, u, m.l, p);
3047
+ N && (_ = N("" + _)), h = typeof C == "string" ? C.replace("%d", _) : C(_, u, m.l, O);
3042
3048
  break;
3043
3049
  }
3044
3050
  }
3045
3051
  if (u)
3046
3052
  return h;
3047
- var L = p ? A.future : A.past;
3053
+ var L = O ? A.future : A.past;
3048
3054
  return typeof L == "function" ? L(h) : L.replace("%s", h);
3049
3055
  }, s.to = function(l, u) {
3050
3056
  return o(l, u, this, !0);
@@ -3268,7 +3274,7 @@ function Pl(e) {
3268
3274
  }
3269
3275
  );
3270
3276
  }
3271
- const SO = P.lazy(() => import("./main-edd185de.js").then((e) => e.m)), fO = () => {
3277
+ const SO = P.lazy(() => import("./main-6b16141c.js").then((e) => e.m)), fO = () => {
3272
3278
  };
3273
3279
  function Ao({
3274
3280
  data: e,
@@ -3630,9 +3636,9 @@ var IR = { exports: {} };
3630
3636
  E === void 0 && (E = "YYYY-MM-DDTHH:mm:ssZ");
3631
3637
  var l = this.$locale().formats, u = function(c, f) {
3632
3638
  return c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(N, I, h) {
3633
- var p = h && h.toUpperCase();
3634
- return I || f[h] || n[h] || f[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(A, R, O) {
3635
- return R || O.slice(1);
3639
+ var O = h && h.toUpperCase();
3640
+ return I || f[h] || n[h] || f[O].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(A, R, p) {
3641
+ return R || p.slice(1);
3636
3642
  });
3637
3643
  });
3638
3644
  }(E, l === void 0 ? {} : l);
@@ -4373,16 +4379,16 @@ function lI(e, t, n, r, i, s, a, o) {
4373
4379
  const E = e / 2 + r + o, l = {
4374
4380
  x: t + e / 2 - s / 2,
4375
4381
  y: n + e / 2 + a / 2
4376
- }, u = Object.values(i).reduce((M, v) => M + v, 0), c = -90, f = (M) => M / u * 360, [N, I, h, p, A] = [
4382
+ }, u = Object.values(i).reduce((M, y) => M + y, 0), c = -90, f = (M) => M / u * 360, [N, I, h, O, A] = [
4377
4383
  i.lcp,
4378
4384
  i.fcp,
4379
4385
  i.fid,
4380
4386
  i.cls,
4381
4387
  i.ttfb
4382
- ].map(f), R = l.x + E * Math.cos((c + N / 2) * Math.PI / 180), O = l.y + E * Math.sin((c + N / 2) * Math.PI / 180), d = l.x + E * Math.cos((c + N + I / 2) * Math.PI / 180), m = l.y + E * Math.sin((c + N + I / 2) * Math.PI / 180), _ = l.x + E * Math.cos((c + N + I + h / 2) * Math.PI / 180), C = l.y + E * Math.sin((c + N + I + h / 2) * Math.PI / 180), L = l.x + E * Math.cos((c + N + I + h + p / 2) * Math.PI / 180), g = l.y + E * Math.sin((c + N + I + h + p / 2) * Math.PI / 180), S = l.x - 12 + E * Math.cos((c + N + I + h + p + A / 2) * Math.PI / 180), D = l.y + E * Math.sin((c + N + I + h + p + A / 2) * Math.PI / 180);
4388
+ ].map(f), R = l.x + E * Math.cos((c + N / 2) * Math.PI / 180), p = l.y + E * Math.sin((c + N / 2) * Math.PI / 180), d = l.x + E * Math.cos((c + N + I / 2) * Math.PI / 180), m = l.y + E * Math.sin((c + N + I / 2) * Math.PI / 180), _ = l.x + E * Math.cos((c + N + I + h / 2) * Math.PI / 180), C = l.y + E * Math.sin((c + N + I + h / 2) * Math.PI / 180), L = l.x + E * Math.cos((c + N + I + h + O / 2) * Math.PI / 180), g = l.y + E * Math.sin((c + N + I + h + O / 2) * Math.PI / 180), S = l.x - 12 + E * Math.cos((c + N + I + h + O + A / 2) * Math.PI / 180), D = l.y + E * Math.sin((c + N + I + h + O + A / 2) * Math.PI / 180);
4383
4389
  return {
4384
4390
  lcpX: R,
4385
- lcpY: O,
4391
+ lcpY: p,
4386
4392
  fcpX: d,
4387
4393
  fcpY: m,
4388
4394
  fidX: _,
@@ -4487,12 +4493,12 @@ function cI({
4487
4493
  onBlur: u,
4488
4494
  ...c
4489
4495
  }) {
4490
- const f = n / 2, N = n / 4, I = n / 2 - r / 2, h = 2 * Math.PI * I, p = P.useMemo(() => {
4491
- const A = t.reduce((O, d) => O + d, 0);
4496
+ const f = n / 2, N = n / 4, I = n / 2 - r / 2, h = 2 * Math.PI * I, O = P.useMemo(() => {
4497
+ const A = t.reduce((p, d) => p + d, 0);
4492
4498
  let R = TI;
4493
- return t.flatMap((O, d) => {
4494
- const m = Math.min(Math.max(e[d], 0), O), _ = e.length > 1 ? AI : 0, C = (1 - Math.max(O - _, 0) / A) * h, L = (1 - Math.max(m - _, 0) / A) * h, g = R;
4495
- R += 360 * O / A;
4499
+ return t.flatMap((p, d) => {
4500
+ const m = Math.min(Math.max(e[d], 0), p), _ = e.length > 1 ? AI : 0, C = (1 - Math.max(p - _, 0) / A) * h, L = (1 - Math.max(m - _, 0) / A) * h, g = R;
4501
+ R += 360 * p / A;
4496
4502
  const S = I + r / 2, D = `${S}-${o[d]}-${a[d]}`;
4497
4503
  return [
4498
4504
  /* @__PURE__ */ T.jsx(
@@ -4558,7 +4564,7 @@ function cI({
4558
4564
  ]);
4559
4565
  return /* @__PURE__ */ T.jsxs("svg", { className: "relative", role: "img", height: I * 2 + r, width: I * 2 + r, ...c, children: [
4560
4566
  /* @__PURE__ */ T.jsx("title", { children: "Web Vitals Breakdown" }),
4561
- p,
4567
+ O,
4562
4568
  /* @__PURE__ */ T.jsx(
4563
4569
  "foreignObject",
4564
4570
  {
@@ -4677,7 +4683,7 @@ const fI = ({
4677
4683
  N({ x: D, y: M });
4678
4684
  }
4679
4685
  }
4680
- }), { lcpX: p, lcpY: A, fcpX: R, fcpY: O, fidX: d, fidY: m, clsX: _, clsY: C, ttfbX: L, ttfbY: g } = lI(
4686
+ }), { lcpX: O, lcpY: A, fcpX: R, fcpY: p, fidX: d, fidY: m, clsX: _, clsY: C, ttfbX: L, ttfbY: g } = lI(
4681
4687
  r,
4682
4688
  s,
4683
4689
  a,
@@ -4710,7 +4716,7 @@ const fI = ({
4710
4716
  {
4711
4717
  webVital: "lcp",
4712
4718
  coordinates: {
4713
- x: p,
4719
+ x: O,
4714
4720
  y: A
4715
4721
  }
4716
4722
  }
@@ -4721,7 +4727,7 @@ const fI = ({
4721
4727
  webVital: "fcp",
4722
4728
  coordinates: {
4723
4729
  x: R,
4724
- y: O
4730
+ y: p
4725
4731
  }
4726
4732
  }
4727
4733
  ),
@@ -13954,8 +13960,8 @@ var FR = { exports: {} };
13954
13960
  var I = u[N];
13955
13961
  if (I.isComplete) {
13956
13962
  if (I.finish(), I.data !== a.fail) {
13957
- for (var h = I.wantedBy, p = h.length; p--; ) {
13958
- var A = h[p];
13963
+ for (var h = I.wantedBy, O = h.length; O--; ) {
13964
+ var A = h[O];
13959
13965
  this.complete(A, I);
13960
13966
  }
13961
13967
  if (I.reference === this.index) {
@@ -13971,8 +13977,8 @@ var FR = { exports: {} };
13971
13977
  }
13972
13978
  if (c[R]) {
13973
13979
  if (c[R].push(I), f.hasOwnProperty(R))
13974
- for (var O = f[R], p = 0; p < O.length; p++) {
13975
- var d = O[p];
13980
+ for (var p = f[R], O = 0; O < p.length; O++) {
13981
+ var d = p[O];
13976
13982
  this.complete(I, d);
13977
13983
  }
13978
13984
  } else
@@ -14032,16 +14038,16 @@ var FR = { exports: {} };
14032
14038
  var N = this.index - this.lastLineBreak, I = String(this.line).length;
14033
14039
  return u += " at line " + this.line + " col " + N + `:
14034
14040
 
14035
- `, u += f.map(function(p, A) {
14036
- return h(this.line - f.length + A + 1, I) + " " + p;
14041
+ `, u += f.map(function(O, A) {
14042
+ return h(this.line - f.length + A + 1, I) + " " + O;
14037
14043
  }, this).join(`
14038
14044
  `), u += `
14039
14045
  ` + h("", I + N) + `^
14040
14046
  `, u;
14041
14047
  } else
14042
14048
  return u + " at index " + (this.index - 1);
14043
- function h(p, A) {
14044
- var R = String(p);
14049
+ function h(O, A) {
14050
+ var R = String(O);
14045
14051
  return Array(A - R.length + 1).join(" ") + R;
14046
14052
  }
14047
14053
  };
@@ -14077,9 +14083,9 @@ var FR = { exports: {} };
14077
14083
  this.options.keepHistory || delete this.table[this.current - 1];
14078
14084
  var I = this.current + 1, h = new r(this.grammar, I);
14079
14085
  this.table.push(h);
14080
- for (var p = c.text !== void 0 ? c.text : c.value, A = u.constructor === s ? c.value : c, R = N.scannable, O = R.length; O--; ) {
14081
- var d = R[O], m = d.rule.symbols[d.dot];
14082
- if (m.test ? m.test(A) : m.type ? m.type === c.type : m.literal === p) {
14086
+ for (var O = c.text !== void 0 ? c.text : c.value, A = u.constructor === s ? c.value : c, R = N.scannable, p = R.length; p--; ) {
14087
+ var d = R[p], m = d.rule.symbols[d.dot];
14088
+ if (m.test ? m.test(A) : m.type ? m.type === c.type : m.literal === O) {
14083
14089
  var _ = d.nextState({ data: A, token: c, isToken: !0, reference: I - 1 });
14084
14090
  h.states.push(_);
14085
14091
  }
@@ -14100,8 +14106,8 @@ var FR = { exports: {} };
14100
14106
  }, a.prototype.reportErrorCommon = function(l, u) {
14101
14107
  var c = [];
14102
14108
  c.push(l);
14103
- var f = this.table.length - 2, N = this.table[f], I = N.states.filter(function(p) {
14104
- var A = p.rule.symbols[p.dot];
14109
+ var f = this.table.length - 2, N = this.table[f], I = N.states.filter(function(O) {
14110
+ var A = O.rule.symbols[O.dot];
14105
14111
  return A && typeof A != "string";
14106
14112
  });
14107
14113
  if (I.length === 0)
@@ -14110,12 +14116,12 @@ var FR = { exports: {} };
14110
14116
  else {
14111
14117
  c.push("Unexpected " + u + `. Instead, I was expecting to see one of the following:
14112
14118
  `);
14113
- var h = I.map(function(p) {
14114
- return this.buildFirstStateStack(p, []) || [p];
14119
+ var h = I.map(function(O) {
14120
+ return this.buildFirstStateStack(O, []) || [O];
14115
14121
  }, this);
14116
- h.forEach(function(p) {
14117
- var A = p[0], R = A.rule.symbols[A.dot], O = this.getSymbolDisplay(R);
14118
- c.push("A " + O + " based on:"), this.displayStateStack(p, c);
14122
+ h.forEach(function(O) {
14123
+ var A = O[0], R = A.rule.symbols[A.dot], p = this.getSymbolDisplay(R);
14124
+ c.push("A " + p + " based on:"), this.displayStateStack(O, c);
14119
14125
  }, this);
14120
14126
  }
14121
14127
  return c.push(""), c.join(`
@@ -15740,15 +15746,15 @@ const u1 = ({
15740
15746
  },
15741
15747
  query: E
15742
15748
  }) => {
15743
- var R, O;
15749
+ var R, p;
15744
15750
  const { spanId: l } = yr(), u = P.useRef(null), [c, f] = P.useState(
15745
15751
  e.transaction && s > 1 && r !== 1 || r >= 15
15746
- ), [N, I] = P.useState(!1), h = Ir(e.start_timestamp, e.timestamp), p = (d) => {
15752
+ ), [N, I] = P.useState(!1), h = Ir(e.start_timestamp, e.timestamp), O = (d) => {
15747
15753
  if (u.current) {
15748
15754
  const m = u.current.getBoundingClientRect(), C = (d.clientX - m.left) / m.width * 100;
15749
15755
  o(C);
15750
15756
  }
15751
- }, A = E ? e.span_id.includes(E) || ((R = e.op) == null ? void 0 : R.includes(E)) || ((O = e.description) == null ? void 0 : O.includes(E)) : !1;
15757
+ }, A = E ? e.span_id.includes(E) || ((R = e.op) == null ? void 0 : R.includes(E)) || ((p = e.description) == null ? void 0 : p.includes(E)) : !1;
15752
15758
  return /* @__PURE__ */ T.jsxs("li", { className: "pl-4", ref: u, children: [
15753
15759
  /* @__PURE__ */ T.jsxs(
15754
15760
  me,
@@ -15813,7 +15819,7 @@ const u1 = ({
15813
15819
  left: `${a}%`
15814
15820
  },
15815
15821
  children: [
15816
- /* @__PURE__ */ T.jsx(l1, { setIsResizing: I, isResizing: N, handleResize: p }),
15822
+ /* @__PURE__ */ T.jsx(l1, { setIsResizing: I, isResizing: N, handleResize: O }),
15817
15823
  /* @__PURE__ */ T.jsx(
15818
15824
  "div",
15819
15825
  {
@@ -16296,43 +16302,43 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16296
16302
  * LICENSE file in the root directory of this source tree.
16297
16303
  */
16298
16304
  (function(e) {
16299
- function t(y, H) {
16300
- var V = y.length;
16301
- y.push(H);
16305
+ function t(v, H) {
16306
+ var V = v.length;
16307
+ v.push(H);
16302
16308
  e:
16303
16309
  for (; 0 < V; ) {
16304
- var X = V - 1 >>> 1, K = y[X];
16310
+ var X = V - 1 >>> 1, K = v[X];
16305
16311
  if (0 < i(K, H))
16306
- y[X] = H, y[V] = K, V = X;
16312
+ v[X] = H, v[V] = K, V = X;
16307
16313
  else
16308
16314
  break e;
16309
16315
  }
16310
16316
  }
16311
- function n(y) {
16312
- return y.length === 0 ? null : y[0];
16317
+ function n(v) {
16318
+ return v.length === 0 ? null : v[0];
16313
16319
  }
16314
- function r(y) {
16315
- if (y.length === 0)
16320
+ function r(v) {
16321
+ if (v.length === 0)
16316
16322
  return null;
16317
- var H = y[0], V = y.pop();
16323
+ var H = v[0], V = v.pop();
16318
16324
  if (V !== H) {
16319
- y[0] = V;
16325
+ v[0] = V;
16320
16326
  e:
16321
- for (var X = 0, K = y.length, Re = K >>> 1; X < Re; ) {
16322
- var Ne = 2 * (X + 1) - 1, Ot = y[Ne], He = Ne + 1, It = y[He];
16327
+ for (var X = 0, K = v.length, Re = K >>> 1; X < Re; ) {
16328
+ var Ne = 2 * (X + 1) - 1, Ot = v[Ne], He = Ne + 1, It = v[He];
16323
16329
  if (0 > i(Ot, V))
16324
- He < K && 0 > i(It, Ot) ? (y[X] = It, y[He] = V, X = He) : (y[X] = Ot, y[Ne] = V, X = Ne);
16330
+ He < K && 0 > i(It, Ot) ? (v[X] = It, v[He] = V, X = He) : (v[X] = Ot, v[Ne] = V, X = Ne);
16325
16331
  else if (He < K && 0 > i(It, V))
16326
- y[X] = It, y[He] = V, X = He;
16332
+ v[X] = It, v[He] = V, X = He;
16327
16333
  else
16328
16334
  break e;
16329
16335
  }
16330
16336
  }
16331
16337
  return H;
16332
16338
  }
16333
- function i(y, H) {
16334
- var V = y.sortIndex - H.sortIndex;
16335
- return V !== 0 ? V : y.id - H.id;
16339
+ function i(v, H) {
16340
+ var V = v.sortIndex - H.sortIndex;
16341
+ return V !== 0 ? V : v.id - H.id;
16336
16342
  }
16337
16343
  if (typeof performance == "object" && typeof performance.now == "function") {
16338
16344
  var s = performance;
@@ -16345,38 +16351,38 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16345
16351
  return a.now() - o;
16346
16352
  };
16347
16353
  }
16348
- var E = [], l = [], u = 1, c = null, f = 3, N = !1, I = !1, h = !1, p = typeof setTimeout == "function" ? setTimeout : null, A = typeof clearTimeout == "function" ? clearTimeout : null, R = typeof setImmediate < "u" ? setImmediate : null;
16354
+ var E = [], l = [], u = 1, c = null, f = 3, N = !1, I = !1, h = !1, O = typeof setTimeout == "function" ? setTimeout : null, A = typeof clearTimeout == "function" ? clearTimeout : null, R = typeof setImmediate < "u" ? setImmediate : null;
16349
16355
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
16350
- function O(y) {
16356
+ function p(v) {
16351
16357
  for (var H = n(l); H !== null; ) {
16352
16358
  if (H.callback === null)
16353
16359
  r(l);
16354
- else if (H.startTime <= y)
16360
+ else if (H.startTime <= v)
16355
16361
  r(l), H.sortIndex = H.expirationTime, t(E, H);
16356
16362
  else
16357
16363
  break;
16358
16364
  H = n(l);
16359
16365
  }
16360
16366
  }
16361
- function d(y) {
16362
- if (h = !1, O(y), !I)
16367
+ function d(v) {
16368
+ if (h = !1, p(v), !I)
16363
16369
  if (n(E) !== null)
16364
16370
  I = !0, F(m);
16365
16371
  else {
16366
16372
  var H = n(l);
16367
- H !== null && Y(d, H.startTime - y);
16373
+ H !== null && Y(d, H.startTime - v);
16368
16374
  }
16369
16375
  }
16370
- function m(y, H) {
16376
+ function m(v, H) {
16371
16377
  I = !1, h && (h = !1, A(L), L = -1), N = !0;
16372
16378
  var V = f;
16373
16379
  try {
16374
- for (O(H), c = n(E); c !== null && (!(c.expirationTime > H) || y && !D()); ) {
16380
+ for (p(H), c = n(E); c !== null && (!(c.expirationTime > H) || v && !D()); ) {
16375
16381
  var X = c.callback;
16376
16382
  if (typeof X == "function") {
16377
16383
  c.callback = null, f = c.priorityLevel;
16378
16384
  var K = X(c.expirationTime <= H);
16379
- H = e.unstable_now(), typeof K == "function" ? c.callback = K : c === n(E) && r(E), O(H);
16385
+ H = e.unstable_now(), typeof K == "function" ? c.callback = K : c === n(E) && r(E), p(H);
16380
16386
  } else
16381
16387
  r(E);
16382
16388
  c = n(E);
@@ -16398,50 +16404,50 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16398
16404
  }
16399
16405
  function M() {
16400
16406
  if (C !== null) {
16401
- var y = e.unstable_now();
16402
- S = y;
16407
+ var v = e.unstable_now();
16408
+ S = v;
16403
16409
  var H = !0;
16404
16410
  try {
16405
- H = C(!0, y);
16411
+ H = C(!0, v);
16406
16412
  } finally {
16407
- H ? v() : (_ = !1, C = null);
16413
+ H ? y() : (_ = !1, C = null);
16408
16414
  }
16409
16415
  } else
16410
16416
  _ = !1;
16411
16417
  }
16412
- var v;
16418
+ var y;
16413
16419
  if (typeof R == "function")
16414
- v = function() {
16420
+ y = function() {
16415
16421
  R(M);
16416
16422
  };
16417
16423
  else if (typeof MessageChannel < "u") {
16418
16424
  var U = new MessageChannel(), w = U.port2;
16419
- U.port1.onmessage = M, v = function() {
16425
+ U.port1.onmessage = M, y = function() {
16420
16426
  w.postMessage(null);
16421
16427
  };
16422
16428
  } else
16423
- v = function() {
16424
- p(M, 0);
16429
+ y = function() {
16430
+ O(M, 0);
16425
16431
  };
16426
- function F(y) {
16427
- C = y, _ || (_ = !0, v());
16432
+ function F(v) {
16433
+ C = v, _ || (_ = !0, y());
16428
16434
  }
16429
- function Y(y, H) {
16430
- L = p(function() {
16431
- y(e.unstable_now());
16435
+ function Y(v, H) {
16436
+ L = O(function() {
16437
+ v(e.unstable_now());
16432
16438
  }, H);
16433
16439
  }
16434
- e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(y) {
16435
- y.callback = null;
16440
+ e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(v) {
16441
+ v.callback = null;
16436
16442
  }, e.unstable_continueExecution = function() {
16437
16443
  I || N || (I = !0, F(m));
16438
- }, e.unstable_forceFrameRate = function(y) {
16439
- 0 > y || 125 < y ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : g = 0 < y ? Math.floor(1e3 / y) : 5;
16444
+ }, e.unstable_forceFrameRate = function(v) {
16445
+ 0 > v || 125 < v ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : g = 0 < v ? Math.floor(1e3 / v) : 5;
16440
16446
  }, e.unstable_getCurrentPriorityLevel = function() {
16441
16447
  return f;
16442
16448
  }, e.unstable_getFirstCallbackNode = function() {
16443
16449
  return n(E);
16444
- }, e.unstable_next = function(y) {
16450
+ }, e.unstable_next = function(v) {
16445
16451
  switch (f) {
16446
16452
  case 1:
16447
16453
  case 2:
@@ -16454,14 +16460,14 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16454
16460
  var V = f;
16455
16461
  f = H;
16456
16462
  try {
16457
- return y();
16463
+ return v();
16458
16464
  } finally {
16459
16465
  f = V;
16460
16466
  }
16461
16467
  }, e.unstable_pauseExecution = function() {
16462
16468
  }, e.unstable_requestPaint = function() {
16463
- }, e.unstable_runWithPriority = function(y, H) {
16464
- switch (y) {
16469
+ }, e.unstable_runWithPriority = function(v, H) {
16470
+ switch (v) {
16465
16471
  case 1:
16466
16472
  case 2:
16467
16473
  case 3:
@@ -16469,18 +16475,18 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16469
16475
  case 5:
16470
16476
  break;
16471
16477
  default:
16472
- y = 3;
16478
+ v = 3;
16473
16479
  }
16474
16480
  var V = f;
16475
- f = y;
16481
+ f = v;
16476
16482
  try {
16477
16483
  return H();
16478
16484
  } finally {
16479
16485
  f = V;
16480
16486
  }
16481
- }, e.unstable_scheduleCallback = function(y, H, V) {
16487
+ }, e.unstable_scheduleCallback = function(v, H, V) {
16482
16488
  var X = e.unstable_now();
16483
- switch (typeof V == "object" && V !== null ? (V = V.delay, V = typeof V == "number" && 0 < V ? X + V : X) : V = X, y) {
16489
+ switch (typeof V == "object" && V !== null ? (V = V.delay, V = typeof V == "number" && 0 < V ? X + V : X) : V = X, v) {
16484
16490
  case 1:
16485
16491
  var K = -1;
16486
16492
  break;
@@ -16496,14 +16502,14 @@ var NE = {}, KR = { exports: {} }, it = {}, JR = { exports: {} }, ZR = {};
16496
16502
  default:
16497
16503
  K = 5e3;
16498
16504
  }
16499
- return K = V + K, y = { id: u++, callback: H, priorityLevel: y, startTime: V, expirationTime: K, sortIndex: -1 }, V > X ? (y.sortIndex = V, t(l, y), n(E) === null && y === n(l) && (h ? (A(L), L = -1) : h = !0, Y(d, V - X))) : (y.sortIndex = K, t(E, y), I || N || (I = !0, F(m))), y;
16500
- }, e.unstable_shouldYield = D, e.unstable_wrapCallback = function(y) {
16505
+ return K = V + K, v = { id: u++, callback: H, priorityLevel: v, startTime: V, expirationTime: K, sortIndex: -1 }, V > X ? (v.sortIndex = V, t(l, v), n(E) === null && v === n(l) && (h ? (A(L), L = -1) : h = !0, Y(d, V - X))) : (v.sortIndex = K, t(E, v), I || N || (I = !0, F(m))), v;
16506
+ }, e.unstable_shouldYield = D, e.unstable_wrapCallback = function(v) {
16501
16507
  var H = f;
16502
16508
  return function() {
16503
16509
  var V = f;
16504
16510
  f = H;
16505
16511
  try {
16506
- return y.apply(this, arguments);
16512
+ return v.apply(this, arguments);
16507
16513
  } finally {
16508
16514
  f = V;
16509
16515
  }
@@ -18272,12 +18278,12 @@ function xo(e, t, n, r, i) {
18272
18278
  case "pointerup":
18273
18279
  N = qT;
18274
18280
  }
18275
- var h = (t & 4) !== 0, p = !h && e === "scroll", A = h ? f !== null ? f + "Capture" : null : f;
18281
+ var h = (t & 4) !== 0, O = !h && e === "scroll", A = h ? f !== null ? f + "Capture" : null : f;
18276
18282
  h = [];
18277
- for (var R = l, O; R !== null; ) {
18278
- O = R;
18279
- var d = O.stateNode;
18280
- if (O.tag === 5 && d !== null && (O = d, A !== null && (d = Si(R, A), d != null && h.push(_i(R, d, O)))), p)
18283
+ for (var R = l, p; R !== null; ) {
18284
+ p = R;
18285
+ var d = p.stateNode;
18286
+ if (p.tag === 5 && d !== null && (p = d, A !== null && (d = Si(R, A), d != null && h.push(_i(R, d, p)))), O)
18281
18287
  break;
18282
18288
  R = R.return;
18283
18289
  }
@@ -18288,17 +18294,17 @@ function xo(e, t, n, r, i) {
18288
18294
  e: {
18289
18295
  if (f = e === "mouseover" || e === "pointerover", N = e === "mouseout" || e === "pointerout", f && n !== yE && (I = n.relatedTarget || n.fromElement) && (Mn(I) || I[Ht]))
18290
18296
  break e;
18291
- if ((N || f) && (f = u.window === u ? u : (f = u.ownerDocument) ? f.defaultView || f.parentWindow : window, N ? (I = n.relatedTarget || n.toElement, N = l, I = I ? Mn(I) : null, I !== null && (p = zn(I), I !== p || I.tag !== 5 && I.tag !== 6) && (I = null)) : (N = null, I = l), N !== I)) {
18292
- if (h = zT, d = "onMouseLeave", A = "onMouseEnter", R = "mouse", (e === "pointerout" || e === "pointerover") && (h = qT, d = "onPointerLeave", A = "onPointerEnter", R = "pointer"), p = N == null ? f : ar(N), O = I == null ? f : ar(I), f = new h(d, R + "leave", N, n, u), f.target = p, f.relatedTarget = O, d = null, Mn(u) === l && (h = new h(A, R + "enter", I, n, u), h.target = O, h.relatedTarget = p, d = h), p = d, N && I)
18297
+ if ((N || f) && (f = u.window === u ? u : (f = u.ownerDocument) ? f.defaultView || f.parentWindow : window, N ? (I = n.relatedTarget || n.toElement, N = l, I = I ? Mn(I) : null, I !== null && (O = zn(I), I !== O || I.tag !== 5 && I.tag !== 6) && (I = null)) : (N = null, I = l), N !== I)) {
18298
+ if (h = zT, d = "onMouseLeave", A = "onMouseEnter", R = "mouse", (e === "pointerout" || e === "pointerover") && (h = qT, d = "onPointerLeave", A = "onPointerEnter", R = "pointer"), O = N == null ? f : ar(N), p = I == null ? f : ar(I), f = new h(d, R + "leave", N, n, u), f.target = O, f.relatedTarget = p, d = null, Mn(u) === l && (h = new h(A, R + "enter", I, n, u), h.target = p, h.relatedTarget = O, d = h), O = d, N && I)
18293
18299
  t: {
18294
- for (h = N, A = I, R = 0, O = h; O; O = $n(O))
18300
+ for (h = N, A = I, R = 0, p = h; p; p = $n(p))
18295
18301
  R++;
18296
- for (O = 0, d = A; d; d = $n(d))
18297
- O++;
18298
- for (; 0 < R - O; )
18302
+ for (p = 0, d = A; d; d = $n(d))
18303
+ p++;
18304
+ for (; 0 < R - p; )
18299
18305
  h = $n(h), R--;
18300
- for (; 0 < O - R; )
18301
- A = $n(A), O--;
18306
+ for (; 0 < p - R; )
18307
+ A = $n(A), p--;
18302
18308
  for (; R--; ) {
18303
18309
  if (h === A || A !== null && h === A.alternate)
18304
18310
  break t;
@@ -18308,7 +18314,7 @@ function xo(e, t, n, r, i) {
18308
18314
  }
18309
18315
  else
18310
18316
  h = null;
18311
- N !== null && lA(c, f, N, h, !1), I !== null && p !== null && lA(c, p, I, h, !0);
18317
+ N !== null && lA(c, f, N, h, !1), I !== null && O !== null && lA(c, O, I, h, !0);
18312
18318
  }
18313
18319
  }
18314
18320
  e: {
@@ -18941,8 +18947,8 @@ function IA(e) {
18941
18947
  function ef(e) {
18942
18948
  function t(A, R) {
18943
18949
  if (e) {
18944
- var O = A.deletions;
18945
- O === null ? (A.deletions = [R], A.flags |= 16) : O.push(R);
18950
+ var p = A.deletions;
18951
+ p === null ? (A.deletions = [R], A.flags |= 16) : p.push(R);
18946
18952
  }
18947
18953
  }
18948
18954
  function n(A, R) {
@@ -18960,117 +18966,117 @@ function ef(e) {
18960
18966
  function i(A, R) {
18961
18967
  return A = Rn(A, R), A.index = 0, A.sibling = null, A;
18962
18968
  }
18963
- function s(A, R, O) {
18964
- return A.index = O, e ? (O = A.alternate, O !== null ? (O = O.index, O < R ? (A.flags |= 2, R) : O) : (A.flags |= 2, R)) : (A.flags |= 1048576, R);
18969
+ function s(A, R, p) {
18970
+ return A.index = p, e ? (p = A.alternate, p !== null ? (p = p.index, p < R ? (A.flags |= 2, R) : p) : (A.flags |= 2, R)) : (A.flags |= 1048576, R);
18965
18971
  }
18966
18972
  function a(A) {
18967
18973
  return e && A.alternate === null && (A.flags |= 2), A;
18968
18974
  }
18969
- function o(A, R, O, d) {
18970
- return R === null || R.tag !== 6 ? (R = ko(O, A.mode, d), R.return = A, R) : (R = i(R, O), R.return = A, R);
18975
+ function o(A, R, p, d) {
18976
+ return R === null || R.tag !== 6 ? (R = ko(p, A.mode, d), R.return = A, R) : (R = i(R, p), R.return = A, R);
18971
18977
  }
18972
- function E(A, R, O, d) {
18973
- var m = O.type;
18974
- return m === nr ? u(A, R, O.props.children, d, O.key) : R !== null && (R.elementType === m || typeof m == "object" && m !== null && m.$$typeof === Zt && IA(m) === R.type) ? (d = i(R, O.props), d.ref = jr(A, R, O), d.return = A, d) : (d = ws(O.type, O.key, O.props, null, A.mode, d), d.ref = jr(A, R, O), d.return = A, d);
18978
+ function E(A, R, p, d) {
18979
+ var m = p.type;
18980
+ return m === nr ? u(A, R, p.props.children, d, p.key) : R !== null && (R.elementType === m || typeof m == "object" && m !== null && m.$$typeof === Zt && IA(m) === R.type) ? (d = i(R, p.props), d.ref = jr(A, R, p), d.return = A, d) : (d = ws(p.type, p.key, p.props, null, A.mode, d), d.ref = jr(A, R, p), d.return = A, d);
18975
18981
  }
18976
- function l(A, R, O, d) {
18977
- return R === null || R.tag !== 4 || R.stateNode.containerInfo !== O.containerInfo || R.stateNode.implementation !== O.implementation ? (R = Wo(O, A.mode, d), R.return = A, R) : (R = i(R, O.children || []), R.return = A, R);
18982
+ function l(A, R, p, d) {
18983
+ return R === null || R.tag !== 4 || R.stateNode.containerInfo !== p.containerInfo || R.stateNode.implementation !== p.implementation ? (R = Wo(p, A.mode, d), R.return = A, R) : (R = i(R, p.children || []), R.return = A, R);
18978
18984
  }
18979
- function u(A, R, O, d, m) {
18980
- return R === null || R.tag !== 7 ? (R = wn(O, A.mode, d, m), R.return = A, R) : (R = i(R, O), R.return = A, R);
18985
+ function u(A, R, p, d, m) {
18986
+ return R === null || R.tag !== 7 ? (R = wn(p, A.mode, d, m), R.return = A, R) : (R = i(R, p), R.return = A, R);
18981
18987
  }
18982
- function c(A, R, O) {
18988
+ function c(A, R, p) {
18983
18989
  if (typeof R == "string" && R !== "" || typeof R == "number")
18984
- return R = ko("" + R, A.mode, O), R.return = A, R;
18990
+ return R = ko("" + R, A.mode, p), R.return = A, R;
18985
18991
  if (typeof R == "object" && R !== null) {
18986
18992
  switch (R.$$typeof) {
18987
18993
  case $i:
18988
- return O = ws(R.type, R.key, R.props, null, A.mode, O), O.ref = jr(A, null, R), O.return = A, O;
18994
+ return p = ws(R.type, R.key, R.props, null, A.mode, p), p.ref = jr(A, null, R), p.return = A, p;
18989
18995
  case tr:
18990
- return R = Wo(R, A.mode, O), R.return = A, R;
18996
+ return R = Wo(R, A.mode, p), R.return = A, R;
18991
18997
  case Zt:
18992
18998
  var d = R._init;
18993
- return c(A, d(R._payload), O);
18999
+ return c(A, d(R._payload), p);
18994
19000
  }
18995
19001
  if ($r(R) || Yr(R))
18996
- return R = wn(R, A.mode, O, null), R.return = A, R;
19002
+ return R = wn(R, A.mode, p, null), R.return = A, R;
18997
19003
  us(A, R);
18998
19004
  }
18999
19005
  return null;
19000
19006
  }
19001
- function f(A, R, O, d) {
19007
+ function f(A, R, p, d) {
19002
19008
  var m = R !== null ? R.key : null;
19003
- if (typeof O == "string" && O !== "" || typeof O == "number")
19004
- return m !== null ? null : o(A, R, "" + O, d);
19005
- if (typeof O == "object" && O !== null) {
19006
- switch (O.$$typeof) {
19009
+ if (typeof p == "string" && p !== "" || typeof p == "number")
19010
+ return m !== null ? null : o(A, R, "" + p, d);
19011
+ if (typeof p == "object" && p !== null) {
19012
+ switch (p.$$typeof) {
19007
19013
  case $i:
19008
- return O.key === m ? E(A, R, O, d) : null;
19014
+ return p.key === m ? E(A, R, p, d) : null;
19009
19015
  case tr:
19010
- return O.key === m ? l(A, R, O, d) : null;
19016
+ return p.key === m ? l(A, R, p, d) : null;
19011
19017
  case Zt:
19012
- return m = O._init, f(
19018
+ return m = p._init, f(
19013
19019
  A,
19014
19020
  R,
19015
- m(O._payload),
19021
+ m(p._payload),
19016
19022
  d
19017
19023
  );
19018
19024
  }
19019
- if ($r(O) || Yr(O))
19020
- return m !== null ? null : u(A, R, O, d, null);
19021
- us(A, O);
19025
+ if ($r(p) || Yr(p))
19026
+ return m !== null ? null : u(A, R, p, d, null);
19027
+ us(A, p);
19022
19028
  }
19023
19029
  return null;
19024
19030
  }
19025
- function N(A, R, O, d, m) {
19031
+ function N(A, R, p, d, m) {
19026
19032
  if (typeof d == "string" && d !== "" || typeof d == "number")
19027
- return A = A.get(O) || null, o(R, A, "" + d, m);
19033
+ return A = A.get(p) || null, o(R, A, "" + d, m);
19028
19034
  if (typeof d == "object" && d !== null) {
19029
19035
  switch (d.$$typeof) {
19030
19036
  case $i:
19031
- return A = A.get(d.key === null ? O : d.key) || null, E(R, A, d, m);
19037
+ return A = A.get(d.key === null ? p : d.key) || null, E(R, A, d, m);
19032
19038
  case tr:
19033
- return A = A.get(d.key === null ? O : d.key) || null, l(R, A, d, m);
19039
+ return A = A.get(d.key === null ? p : d.key) || null, l(R, A, d, m);
19034
19040
  case Zt:
19035
19041
  var _ = d._init;
19036
- return N(A, R, O, _(d._payload), m);
19042
+ return N(A, R, p, _(d._payload), m);
19037
19043
  }
19038
19044
  if ($r(d) || Yr(d))
19039
- return A = A.get(O) || null, u(R, A, d, m, null);
19045
+ return A = A.get(p) || null, u(R, A, d, m, null);
19040
19046
  us(R, d);
19041
19047
  }
19042
19048
  return null;
19043
19049
  }
19044
- function I(A, R, O, d) {
19045
- for (var m = null, _ = null, C = R, L = R = 0, g = null; C !== null && L < O.length; L++) {
19050
+ function I(A, R, p, d) {
19051
+ for (var m = null, _ = null, C = R, L = R = 0, g = null; C !== null && L < p.length; L++) {
19046
19052
  C.index > L ? (g = C, C = null) : g = C.sibling;
19047
- var S = f(A, C, O[L], d);
19053
+ var S = f(A, C, p[L], d);
19048
19054
  if (S === null) {
19049
19055
  C === null && (C = g);
19050
19056
  break;
19051
19057
  }
19052
19058
  e && C && S.alternate === null && t(A, C), R = s(S, R, L), _ === null ? m = S : _.sibling = S, _ = S, C = g;
19053
19059
  }
19054
- if (L === O.length)
19060
+ if (L === p.length)
19055
19061
  return n(A, C), oe && Dn(A, L), m;
19056
19062
  if (C === null) {
19057
- for (; L < O.length; L++)
19058
- C = c(A, O[L], d), C !== null && (R = s(C, R, L), _ === null ? m = C : _.sibling = C, _ = C);
19063
+ for (; L < p.length; L++)
19064
+ C = c(A, p[L], d), C !== null && (R = s(C, R, L), _ === null ? m = C : _.sibling = C, _ = C);
19059
19065
  return oe && Dn(A, L), m;
19060
19066
  }
19061
- for (C = r(A, C); L < O.length; L++)
19062
- g = N(C, A, L, O[L], d), g !== null && (e && g.alternate !== null && C.delete(g.key === null ? L : g.key), R = s(g, R, L), _ === null ? m = g : _.sibling = g, _ = g);
19067
+ for (C = r(A, C); L < p.length; L++)
19068
+ g = N(C, A, L, p[L], d), g !== null && (e && g.alternate !== null && C.delete(g.key === null ? L : g.key), R = s(g, R, L), _ === null ? m = g : _.sibling = g, _ = g);
19063
19069
  return e && C.forEach(function(D) {
19064
19070
  return t(A, D);
19065
19071
  }), oe && Dn(A, L), m;
19066
19072
  }
19067
- function h(A, R, O, d) {
19068
- var m = Yr(O);
19073
+ function h(A, R, p, d) {
19074
+ var m = Yr(p);
19069
19075
  if (typeof m != "function")
19070
19076
  throw Error(B(150));
19071
- if (O = m.call(O), O == null)
19077
+ if (p = m.call(p), p == null)
19072
19078
  throw Error(B(151));
19073
- for (var _ = m = null, C = R, L = R = 0, g = null, S = O.next(); C !== null && !S.done; L++, S = O.next()) {
19079
+ for (var _ = m = null, C = R, L = R = 0, g = null, S = p.next(); C !== null && !S.done; L++, S = p.next()) {
19074
19080
  C.index > L ? (g = C, C = null) : g = C.sibling;
19075
19081
  var D = f(A, C, S.value, d);
19076
19082
  if (D === null) {
@@ -19085,30 +19091,30 @@ function ef(e) {
19085
19091
  C
19086
19092
  ), oe && Dn(A, L), m;
19087
19093
  if (C === null) {
19088
- for (; !S.done; L++, S = O.next())
19094
+ for (; !S.done; L++, S = p.next())
19089
19095
  S = c(A, S.value, d), S !== null && (R = s(S, R, L), _ === null ? m = S : _.sibling = S, _ = S);
19090
19096
  return oe && Dn(A, L), m;
19091
19097
  }
19092
- for (C = r(A, C); !S.done; L++, S = O.next())
19098
+ for (C = r(A, C); !S.done; L++, S = p.next())
19093
19099
  S = N(C, A, L, S.value, d), S !== null && (e && S.alternate !== null && C.delete(S.key === null ? L : S.key), R = s(S, R, L), _ === null ? m = S : _.sibling = S, _ = S);
19094
19100
  return e && C.forEach(function(M) {
19095
19101
  return t(A, M);
19096
19102
  }), oe && Dn(A, L), m;
19097
19103
  }
19098
- function p(A, R, O, d) {
19099
- if (typeof O == "object" && O !== null && O.type === nr && O.key === null && (O = O.props.children), typeof O == "object" && O !== null) {
19100
- switch (O.$$typeof) {
19104
+ function O(A, R, p, d) {
19105
+ if (typeof p == "object" && p !== null && p.type === nr && p.key === null && (p = p.props.children), typeof p == "object" && p !== null) {
19106
+ switch (p.$$typeof) {
19101
19107
  case $i:
19102
19108
  e: {
19103
- for (var m = O.key, _ = R; _ !== null; ) {
19109
+ for (var m = p.key, _ = R; _ !== null; ) {
19104
19110
  if (_.key === m) {
19105
- if (m = O.type, m === nr) {
19111
+ if (m = p.type, m === nr) {
19106
19112
  if (_.tag === 7) {
19107
- n(A, _.sibling), R = i(_, O.props.children), R.return = A, A = R;
19113
+ n(A, _.sibling), R = i(_, p.props.children), R.return = A, A = R;
19108
19114
  break e;
19109
19115
  }
19110
19116
  } else if (_.elementType === m || typeof m == "object" && m !== null && m.$$typeof === Zt && IA(m) === _.type) {
19111
- n(A, _.sibling), R = i(_, O.props), R.ref = jr(A, _, O), R.return = A, A = R;
19117
+ n(A, _.sibling), R = i(_, p.props), R.ref = jr(A, _, p), R.return = A, A = R;
19112
19118
  break e;
19113
19119
  }
19114
19120
  n(A, _);
@@ -19117,15 +19123,15 @@ function ef(e) {
19117
19123
  t(A, _);
19118
19124
  _ = _.sibling;
19119
19125
  }
19120
- O.type === nr ? (R = wn(O.props.children, A.mode, d, O.key), R.return = A, A = R) : (d = ws(O.type, O.key, O.props, null, A.mode, d), d.ref = jr(A, R, O), d.return = A, A = d);
19126
+ p.type === nr ? (R = wn(p.props.children, A.mode, d, p.key), R.return = A, A = R) : (d = ws(p.type, p.key, p.props, null, A.mode, d), d.ref = jr(A, R, p), d.return = A, A = d);
19121
19127
  }
19122
19128
  return a(A);
19123
19129
  case tr:
19124
19130
  e: {
19125
- for (_ = O.key; R !== null; ) {
19131
+ for (_ = p.key; R !== null; ) {
19126
19132
  if (R.key === _)
19127
- if (R.tag === 4 && R.stateNode.containerInfo === O.containerInfo && R.stateNode.implementation === O.implementation) {
19128
- n(A, R.sibling), R = i(R, O.children || []), R.return = A, A = R;
19133
+ if (R.tag === 4 && R.stateNode.containerInfo === p.containerInfo && R.stateNode.implementation === p.implementation) {
19134
+ n(A, R.sibling), R = i(R, p.children || []), R.return = A, A = R;
19129
19135
  break e;
19130
19136
  } else {
19131
19137
  n(A, R);
@@ -19135,21 +19141,21 @@ function ef(e) {
19135
19141
  t(A, R);
19136
19142
  R = R.sibling;
19137
19143
  }
19138
- R = Wo(O, A.mode, d), R.return = A, A = R;
19144
+ R = Wo(p, A.mode, d), R.return = A, A = R;
19139
19145
  }
19140
19146
  return a(A);
19141
19147
  case Zt:
19142
- return _ = O._init, p(A, R, _(O._payload), d);
19148
+ return _ = p._init, O(A, R, _(p._payload), d);
19143
19149
  }
19144
- if ($r(O))
19145
- return I(A, R, O, d);
19146
- if (Yr(O))
19147
- return h(A, R, O, d);
19148
- us(A, O);
19150
+ if ($r(p))
19151
+ return I(A, R, p, d);
19152
+ if (Yr(p))
19153
+ return h(A, R, p, d);
19154
+ us(A, p);
19149
19155
  }
19150
- return typeof O == "string" && O !== "" || typeof O == "number" ? (O = "" + O, R !== null && R.tag === 6 ? (n(A, R.sibling), R = i(R, O), R.return = A, A = R) : (n(A, R), R = ko(O, A.mode, d), R.return = A, A = R), a(A)) : n(A, R);
19156
+ return typeof p == "string" && p !== "" || typeof p == "number" ? (p = "" + p, R !== null && R.tag === 6 ? (n(A, R.sibling), R = i(R, p), R.return = A, A = R) : (n(A, R), R = ko(p, A.mode, d), R.return = A, A = R), a(A)) : n(A, R);
19151
19157
  }
19152
- return p;
19158
+ return O;
19153
19159
  }
19154
19160
  var Lr = ef(!0), tf = ef(!1), Vi = {}, Mt = _n(Vi), Ci = _n(Vi), Li = _n(Vi);
19155
19161
  function vn(e) {
@@ -20408,13 +20414,13 @@ function l0(e, t) {
20408
20414
  break;
20409
20415
  case 1:
20410
20416
  if (I !== null) {
20411
- var h = I.memoizedProps, p = I.memoizedState, A = t.stateNode, R = A.getSnapshotBeforeUpdate(t.elementType === t.type ? h : ct(t.type, h), p);
20417
+ var h = I.memoizedProps, O = I.memoizedState, A = t.stateNode, R = A.getSnapshotBeforeUpdate(t.elementType === t.type ? h : ct(t.type, h), O);
20412
20418
  A.__reactInternalSnapshotBeforeUpdate = R;
20413
20419
  }
20414
20420
  break;
20415
20421
  case 3:
20416
- var O = t.stateNode.containerInfo;
20417
- O.nodeType === 1 ? O.textContent = "" : O.nodeType === 9 && O.documentElement && O.removeChild(O.documentElement);
20422
+ var p = t.stateNode.containerInfo;
20423
+ p.nodeType === 1 ? p.textContent = "" : p.nodeType === 9 && p.documentElement && p.removeChild(p.documentElement);
20418
20424
  break;
20419
20425
  case 5:
20420
20426
  case 6:
@@ -21319,9 +21325,9 @@ function Ff(e, t) {
21319
21325
  E = Error(B(426));
21320
21326
  }
21321
21327
  } else if (oe && o.mode & 1) {
21322
- var p = LA(a);
21323
- if (p !== null) {
21324
- !(p.flags & 65536) && (p.flags |= 256), mA(p, a, o, s, t), ql(Pr(E, o));
21328
+ var O = LA(a);
21329
+ if (O !== null) {
21330
+ !(O.flags & 65536) && (O.flags |= 256), mA(O, a, o, s, t), ql(Pr(E, o));
21325
21331
  break e;
21326
21332
  }
21327
21333
  }
@@ -21335,8 +21341,8 @@ function Ff(e, t) {
21335
21341
  break e;
21336
21342
  case 1:
21337
21343
  o = E;
21338
- var R = s.type, O = s.stateNode;
21339
- if (!(s.flags & 128) && (typeof R.getDerivedStateFromError == "function" || O !== null && typeof O.componentDidCatch == "function" && (An === null || !An.has(O)))) {
21344
+ var R = s.type, p = s.stateNode;
21345
+ if (!(s.flags & 128) && (typeof R.getDerivedStateFromError == "function" || p !== null && typeof p.componentDidCatch == "function" && (An === null || !An.has(p)))) {
21340
21346
  s.flags |= 65536, t &= -t, s.lanes |= t;
21341
21347
  var d = Cf(s, o, t);
21342
21348
  dA(s, d);
@@ -21507,8 +21513,8 @@ function Nr() {
21507
21513
  if (h !== null) {
21508
21514
  I.child = null;
21509
21515
  do {
21510
- var p = h.sibling;
21511
- h.sibling = null, h = p;
21516
+ var O = h.sibling;
21517
+ h.sibling = null, h = O;
21512
21518
  } while (h !== null);
21513
21519
  }
21514
21520
  }
@@ -21538,9 +21544,9 @@ function Nr() {
21538
21544
  var R = e.current;
21539
21545
  for (k = R; k !== null; ) {
21540
21546
  a = k;
21541
- var O = a.child;
21542
- if (a.subtreeFlags & 2064 && O !== null)
21543
- O.return = a, k = O;
21547
+ var p = a.child;
21548
+ if (a.subtreeFlags & 2064 && p !== null)
21549
+ p.return = a, k = p;
21544
21550
  else
21545
21551
  e:
21546
21552
  for (a = R; k !== null; ) {
@@ -22811,7 +22817,7 @@ function ds() {
22811
22817
  EOF: n.EOF
22812
22818
  }, l = new r(/\/\*/, /\*\//), u = /0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/, c = /[0-9]/, f = /[^\d\.]/, N = ">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "), I = ">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";
22813
22819
  I = I.replace(/[-[\]{}()*+?.,\\^$|#]/g, "\\$&"), I = "\\?\\.(?!\\d) " + I, I = I.replace(/ /g, "|");
22814
- var h = new RegExp(I), p = "continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","), A = p.concat(["do", "in", "of", "else", "get", "set", "new", "catch", "finally", "typeof", "yield", "async", "await", "from", "as", "class", "extends"]), R = new RegExp("^(?:" + A.join("|") + ")$"), O, d = function(_, C) {
22820
+ var h = new RegExp(I), O = "continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","), A = O.concat(["do", "in", "of", "else", "get", "set", "new", "catch", "finally", "typeof", "yield", "async", "await", "from", "as", "class", "extends"]), R = new RegExp("^(?:" + A.join("|") + ")$"), p, d = function(_, C) {
22815
22821
  t.call(this, _, C), this._patterns.whitespace = this._patterns.whitespace.matching(
22816
22822
  /\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,
22817
22823
  /\u2028\u2029/.source
@@ -22844,7 +22850,7 @@ function ds() {
22844
22850
  }, d.prototype._is_closing = function(_, C) {
22845
22851
  return (_.type === E.END_BLOCK || _.type === E.END_EXPR) && C && (_.text === "]" && C.text === "[" || _.text === ")" && C.text === "(" || _.text === "}" && C.text === "{");
22846
22852
  }, d.prototype._reset = function() {
22847
- O = !1;
22853
+ p = !1;
22848
22854
  }, d.prototype._get_next_token = function(_, C) {
22849
22855
  var L = null;
22850
22856
  this._readWhitespace();
@@ -22889,10 +22895,10 @@ function ds() {
22889
22895
  if (C = this.__patterns.html_comment_start.read(), C) {
22890
22896
  for (; this._input.hasNext() && !this._input.testChar(i.newline); )
22891
22897
  C += this._input.next();
22892
- return O = !0, this._create_token(E.COMMENT, C);
22898
+ return p = !0, this._create_token(E.COMMENT, C);
22893
22899
  }
22894
- } else if (O && _ === "-" && (C = this.__patterns.html_comment_end.read(), C))
22895
- return O = !1, this._create_token(E.COMMENT, C);
22900
+ } else if (p && _ === "-" && (C = this.__patterns.html_comment_end.read(), C))
22901
+ return p = !1, this._create_token(E.COMMENT, C);
22896
22902
  return null;
22897
22903
  }, d.prototype._read_comment = function(_) {
22898
22904
  var C = null;
@@ -22939,8 +22945,8 @@ function ds() {
22939
22945
  var L = "", g = this.__patterns.xml.read_match();
22940
22946
  if (g) {
22941
22947
  for (var S = g[2].replace(/^{\s+/, "{").replace(/\s+}$/, "}"), D = S.indexOf("{") === 0, M = 0; g; ) {
22942
- var v = !!g[1], U = g[2], w = !!g[g.length - 1] || U.slice(0, 8) === "![CDATA[";
22943
- if (!w && (U === S || D && U.replace(/^{\s+/, "{").replace(/\s+}$/, "}")) && (v ? --M : ++M), L += g[0], M <= 0)
22948
+ var y = !!g[1], U = g[2], w = !!g[g.length - 1] || U.slice(0, 8) === "![CDATA[";
22949
+ if (!w && (U === S || D && U.replace(/^{\s+/, "{").replace(/\s+}$/, "}")) && (y ? --M : ++M), L += g[0], M <= 0)
22944
22950
  break;
22945
22951
  g = this.__patterns.xml.read_match();
22946
22952
  }
@@ -22980,7 +22986,7 @@ function ds() {
22980
22986
  M += S.read(), D += M;
22981
22987
  }
22982
22988
  return D;
22983
- }, er.Tokenizer = d, er.TOKEN = E, er.positionable_operators = N.slice(), er.line_starters = p.slice(), er;
22989
+ }, er.Tokenizer = d, er.TOKEN = E, er.positionable_operators = N.slice(), er.line_starters = O.slice(), er;
22984
22990
  }
22985
22991
  var nc;
22986
22992
  function x0() {
@@ -23005,7 +23011,7 @@ function x0() {
23005
23011
  function f(S, D) {
23006
23012
  return S && S.type === o.RESERVED && E(S.text, D);
23007
23013
  }
23008
- var N = ["case", "return", "do", "if", "throw", "else", "await", "break", "continue", "async"], I = ["before-newline", "after-newline", "preserve-newline"], h = u(I), p = [h.before_newline, h.preserve_newline], A = {
23014
+ var N = ["case", "return", "do", "if", "throw", "else", "await", "break", "continue", "async"], I = ["before-newline", "after-newline", "preserve-newline"], h = u(I), O = [h.before_newline, h.preserve_newline], A = {
23009
23015
  BlockStatement: "BlockStatement",
23010
23016
  // 'BLOCK'
23011
23017
  Statement: "Statement",
@@ -23024,7 +23030,7 @@ function x0() {
23024
23030
  function R(S, D) {
23025
23031
  D.multiline_frame || D.mode === A.ForInitializer || D.mode === A.Conditional || S.remove_indent(D.start_line_index);
23026
23032
  }
23027
- function O(S) {
23033
+ function p(S) {
23028
23034
  S = S.replace(n.allLineBreaks, `
23029
23035
  `);
23030
23036
  for (var D = [], M = S.indexOf(`
@@ -23041,14 +23047,14 @@ function x0() {
23041
23047
  }
23042
23048
  function _(S, D) {
23043
23049
  for (var M = 0; M < S.length; M++) {
23044
- var v = S[M].trim();
23045
- if (v.charAt(0) !== D)
23050
+ var y = S[M].trim();
23051
+ if (y.charAt(0) !== D)
23046
23052
  return !1;
23047
23053
  }
23048
23054
  return !0;
23049
23055
  }
23050
23056
  function C(S, D) {
23051
- for (var M = 0, v = S.length, U; M < v; M++)
23057
+ for (var M = 0, y = S.length, U; M < y; M++)
23052
23058
  if (U = S[M], U && U.indexOf(D) !== 0)
23053
23059
  return !1;
23054
23060
  return !0;
@@ -23059,7 +23065,7 @@ function x0() {
23059
23065
  L.prototype.create_flags = function(S, D) {
23060
23066
  var M = 0;
23061
23067
  S && (M = S.indentation_level, !this._output.just_added_newline() && S.line_indent_level > M && (M = S.line_indent_level));
23062
- var v = {
23068
+ var y = {
23063
23069
  mode: D,
23064
23070
  parent: S,
23065
23071
  last_token: S ? S.last_token : new t(o.START_BLOCK, ""),
@@ -23091,7 +23097,7 @@ function x0() {
23091
23097
  start_line_index: this._output.get_line_number(),
23092
23098
  ternary_depth: 0
23093
23099
  };
23094
- return v;
23100
+ return y;
23095
23101
  }, L.prototype._reset = function(S) {
23096
23102
  var D = S.match(/^[\t ]*/)[0];
23097
23103
  this._last_last_text = "", this._output = new e(this._options, D), this._output.raw = this._options.test_output_raw, this._flag_store = [], this.set_mode(A.BlockStatement);
@@ -23103,17 +23109,17 @@ function x0() {
23103
23109
  var S, D = this._reset(this._source_text), M = this._options.eol;
23104
23110
  this._options.eol === "auto" && (M = `
23105
23111
  `, D && n.lineBreak.test(D || "") && (M = D.match(n.lineBreak)[0]));
23106
- for (var v = this._tokens.next(); v; )
23107
- this.handle_token(v), this._last_last_text = this._flags.last_token.text, this._flags.last_token = v, v = this._tokens.next();
23112
+ for (var y = this._tokens.next(); y; )
23113
+ this.handle_token(y), this._last_last_text = this._flags.last_token.text, this._flags.last_token = y, y = this._tokens.next();
23108
23114
  return S = this._output.get_code(M), S;
23109
23115
  }, L.prototype.handle_token = function(S, D) {
23110
23116
  S.type === o.START_EXPR ? this.handle_start_expr(S) : S.type === o.END_EXPR ? this.handle_end_expr(S) : S.type === o.START_BLOCK ? this.handle_start_block(S) : S.type === o.END_BLOCK ? this.handle_end_block(S) : S.type === o.WORD ? this.handle_word(S) : S.type === o.RESERVED ? this.handle_word(S) : S.type === o.SEMICOLON ? this.handle_semicolon(S) : S.type === o.STRING ? this.handle_string(S) : S.type === o.EQUALS ? this.handle_equals(S) : S.type === o.OPERATOR ? this.handle_operator(S) : S.type === o.COMMA ? this.handle_comma(S) : S.type === o.BLOCK_COMMENT ? this.handle_block_comment(S, D) : S.type === o.COMMENT ? this.handle_comment(S, D) : S.type === o.DOT ? this.handle_dot(S) : S.type === o.EOF ? this.handle_eof(S) : S.type === o.UNKNOWN ? this.handle_unknown(S, D) : this.handle_unknown(S, D);
23111
23117
  }, L.prototype.handle_whitespace_and_comments = function(S, D) {
23112
- var M = S.newlines, v = this._options.keep_array_indentation && d(this._flags.mode);
23118
+ var M = S.newlines, y = this._options.keep_array_indentation && d(this._flags.mode);
23113
23119
  if (S.comments_before)
23114
23120
  for (var U = S.comments_before.next(); U; )
23115
23121
  this.handle_whitespace_and_comments(U, D), this.handle_token(U, D), U = S.comments_before.next();
23116
- if (v)
23122
+ if (y)
23117
23123
  for (var w = 0; w < M; w += 1)
23118
23124
  this.print_newline(w > 0, D);
23119
23125
  else if (this._options.max_preserve_newlines && M > this._options.max_preserve_newlines && (M = this._options.max_preserve_newlines), this._options.preserve_newlines && M > 1) {
@@ -23125,9 +23131,9 @@ function x0() {
23125
23131
  var g = ["async", "break", "continue", "return", "throw", "yield"];
23126
23132
  return L.prototype.allow_wrap_or_preserved_newline = function(S, D) {
23127
23133
  if (D = D === void 0 ? !1 : D, !this._output.just_added_newline()) {
23128
- var M = this._options.preserve_newlines && S.newlines || D, v = E(this._flags.last_token.text, a) || E(S.text, a);
23129
- if (v) {
23130
- var U = E(this._flags.last_token.text, a) && E(this._options.operator_position, p) || E(S.text, a);
23134
+ var M = this._options.preserve_newlines && S.newlines || D, y = E(this._flags.last_token.text, a) || E(S.text, a);
23135
+ if (y) {
23136
+ var U = E(this._flags.last_token.text, a) && E(this._options.operator_position, O) || E(S.text, a);
23131
23137
  M = M && U;
23132
23138
  }
23133
23139
  if (M)
@@ -23189,8 +23195,8 @@ function x0() {
23189
23195
  this._output.space_before_token = !1;
23190
23196
  var M = this._tokens.peek(-3);
23191
23197
  if (this._options.space_after_named_function && M) {
23192
- var v = this._tokens.peek(-4);
23193
- f(M, ["async", "function"]) || M.text === "*" && f(v, ["async", "function"]) ? this._output.space_before_token = !0 : this._flags.mode === A.ObjectLiteral ? (M.text === "{" || M.text === "," || M.text === "*" && (v.text === "{" || v.text === ",")) && (this._output.space_before_token = !0) : this._flags.parent && this._flags.parent.class_start_block && (this._output.space_before_token = !0);
23198
+ var y = this._tokens.peek(-4);
23199
+ f(M, ["async", "function"]) || M.text === "*" && f(y, ["async", "function"]) ? this._output.space_before_token = !0 : this._flags.mode === A.ObjectLiteral ? (M.text === "{" || M.text === "," || M.text === "*" && (y.text === "{" || y.text === ",")) && (this._output.space_before_token = !0) : this._flags.parent && this._flags.parent.class_start_block && (this._output.space_before_token = !0);
23194
23200
  }
23195
23201
  } else
23196
23202
  this.allow_wrap_or_preserved_newline(S);
@@ -23208,7 +23214,7 @@ function x0() {
23208
23214
  this.handle_whitespace_and_comments(S);
23209
23215
  var D = this._tokens.peek(), M = this._tokens.peek(1);
23210
23216
  this._flags.last_word === "switch" && this._flags.last_token.type === o.END_EXPR ? (this.set_mode(A.BlockStatement), this._flags.in_case_statement = !0) : this._flags.case_body ? this.set_mode(A.BlockStatement) : M && (E(M.text, [":", ","]) && E(D.type, [o.STRING, o.WORD, o.RESERVED]) || E(D.text, ["get", "set", "..."]) && E(M.type, [o.WORD, o.RESERVED])) ? E(this._last_last_text, ["class", "interface"]) && !E(M.text, [":", ","]) ? this.set_mode(A.BlockStatement) : this.set_mode(A.ObjectLiteral) : this._flags.last_token.type === o.OPERATOR && this._flags.last_token.text === "=>" ? this.set_mode(A.BlockStatement) : E(this._flags.last_token.type, [o.EQUALS, o.START_EXPR, o.COMMA, o.OPERATOR]) || f(this._flags.last_token, ["return", "throw", "import", "default"]) ? this.set_mode(A.ObjectLiteral) : this.set_mode(A.BlockStatement), this._flags.last_token && f(this._flags.last_token.previous, ["class", "extends"]) && (this._flags.class_start_block = !0);
23211
- var v = !D.comments_before && D.text === "}", U = v && this._flags.last_word === "function" && this._flags.last_token.type === o.END_EXPR;
23217
+ var y = !D.comments_before && D.text === "}", U = y && this._flags.last_word === "function" && this._flags.last_token.type === o.END_EXPR;
23212
23218
  if (this._options.brace_preserve_inline) {
23213
23219
  var w = 0, F = null;
23214
23220
  this._flags.inline_frame = !0;
@@ -23219,7 +23225,7 @@ function x0() {
23219
23225
  }
23220
23226
  while (F.type !== o.EOF && !(F.type === o.END_BLOCK && F.opened === S));
23221
23227
  }
23222
- (this._options.brace_style === "expand" || this._options.brace_style === "none" && S.newlines) && !this._flags.inline_frame ? this._flags.last_token.type !== o.OPERATOR && (U || this._flags.last_token.type === o.EQUALS || f(this._flags.last_token, N) && this._flags.last_token.text !== "else") ? this._output.space_before_token = !0 : this.print_newline(!1, !0) : (d(this._previous_flags.mode) && (this._flags.last_token.type === o.START_EXPR || this._flags.last_token.type === o.COMMA) && ((this._flags.last_token.type === o.COMMA || this._options.space_in_paren) && (this._output.space_before_token = !0), (this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR && this._flags.inline_frame) && (this.allow_wrap_or_preserved_newline(S), this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame, this._flags.multiline_frame = !1)), this._flags.last_token.type !== o.OPERATOR && this._flags.last_token.type !== o.START_EXPR && (E(this._flags.last_token.type, [o.START_BLOCK, o.SEMICOLON]) && !this._flags.inline_frame ? this.print_newline() : this._output.space_before_token = !0)), this.print_token(S), this.indent(), !v && !(this._options.brace_preserve_inline && this._flags.inline_frame) && this.print_newline();
23228
+ (this._options.brace_style === "expand" || this._options.brace_style === "none" && S.newlines) && !this._flags.inline_frame ? this._flags.last_token.type !== o.OPERATOR && (U || this._flags.last_token.type === o.EQUALS || f(this._flags.last_token, N) && this._flags.last_token.text !== "else") ? this._output.space_before_token = !0 : this.print_newline(!1, !0) : (d(this._previous_flags.mode) && (this._flags.last_token.type === o.START_EXPR || this._flags.last_token.type === o.COMMA) && ((this._flags.last_token.type === o.COMMA || this._options.space_in_paren) && (this._output.space_before_token = !0), (this._flags.last_token.type === o.COMMA || this._flags.last_token.type === o.START_EXPR && this._flags.inline_frame) && (this.allow_wrap_or_preserved_newline(S), this._previous_flags.multiline_frame = this._previous_flags.multiline_frame || this._flags.multiline_frame, this._flags.multiline_frame = !1)), this._flags.last_token.type !== o.OPERATOR && this._flags.last_token.type !== o.START_EXPR && (E(this._flags.last_token.type, [o.START_BLOCK, o.SEMICOLON]) && !this._flags.inline_frame ? this.print_newline() : this._output.space_before_token = !0)), this.print_token(S), this.indent(), !y && !(this._options.brace_preserve_inline && this._flags.inline_frame) && this.print_newline();
23223
23229
  }, L.prototype.handle_end_block = function(S) {
23224
23230
  for (this.handle_whitespace_and_comments(S); this._flags.mode === A.Statement; )
23225
23231
  this.restore_mode();
@@ -23267,8 +23273,8 @@ function x0() {
23267
23273
  this.print_newline();
23268
23274
  else {
23269
23275
  this._output.trim(!0);
23270
- var v = this._output.current_line;
23271
- v.last() !== "}" && this.print_newline(), this._output.space_before_token = !0;
23276
+ var y = this._output.current_line;
23277
+ y.last() !== "}" && this.print_newline(), this._output.space_before_token = !0;
23272
23278
  }
23273
23279
  else
23274
23280
  M === "NEWLINE" ? f(this._flags.last_token, N) ? this._output.space_before_token = !0 : this._flags.last_token.text === "declare" && f(S, ["var", "let", "const"]) ? this._output.space_before_token = !0 : this._flags.last_token.type !== o.END_EXPR ? (this._flags.last_token.type !== o.START_EXPR || !f(S, ["var", "let", "const"])) && this._flags.last_token.text !== ":" && (c(S, "if") && c(S.previous, "else") ? this._output.space_before_token = !0 : this.print_newline()) : f(S, s) && this._flags.last_token.text !== ")" && this.print_newline() : this._flags.multiline_frame && d(this._flags.mode) && this._flags.last_token.text === "," && this._last_last_text === "}" ? this.print_newline() : M === "SPACE" && (this._output.space_before_token = !0);
@@ -23287,8 +23293,8 @@ function x0() {
23287
23293
  }, L.prototype.handle_operator = function(S) {
23288
23294
  var D = S.text === "*" && (f(this._flags.last_token, ["function", "yield"]) || E(this._flags.last_token.type, [o.START_BLOCK, o.COMMA, o.END_BLOCK, o.SEMICOLON])), M = E(S.text, ["-", "+"]) && (E(this._flags.last_token.type, [o.START_BLOCK, o.START_EXPR, o.EQUALS, o.OPERATOR]) || E(this._flags.last_token.text, s) || this._flags.last_token.text === ",");
23289
23295
  if (!this.start_of_statement(S)) {
23290
- var v = !D;
23291
- this.handle_whitespace_and_comments(S, v);
23296
+ var y = !D;
23297
+ this.handle_whitespace_and_comments(S, y);
23292
23298
  }
23293
23299
  if (S.text === "*" && this._flags.last_token.type === o.DOT) {
23294
23300
  this.print_token(S);
@@ -23302,19 +23308,19 @@ function x0() {
23302
23308
  this.print_token(S);
23303
23309
  return;
23304
23310
  }
23305
- if (this._flags.last_token.type === o.OPERATOR && E(this._options.operator_position, p) && this.allow_wrap_or_preserved_newline(S), S.text === ":" && this._flags.in_case) {
23311
+ if (this._flags.last_token.type === o.OPERATOR && E(this._options.operator_position, O) && this.allow_wrap_or_preserved_newline(S), S.text === ":" && this._flags.in_case) {
23306
23312
  this.print_token(S), this._flags.in_case = !1, this._flags.case_body = !0, this._tokens.peek().type !== o.START_BLOCK ? (this.indent(), this.print_newline(), this._flags.case_block = !1) : (this._flags.case_block = !0, this._output.space_before_token = !0);
23307
23313
  return;
23308
23314
  }
23309
23315
  var U = !0, w = !0, F = !1;
23310
23316
  if (S.text === ":" ? this._flags.ternary_depth === 0 ? U = !1 : (this._flags.ternary_depth -= 1, F = !0) : S.text === "?" && (this._flags.ternary_depth += 1), !M && !D && this._options.preserve_newlines && E(S.text, a)) {
23311
- var Y = S.text === ":", y = Y && F, H = Y && !F;
23317
+ var Y = S.text === ":", v = Y && F, H = Y && !F;
23312
23318
  switch (this._options.operator_position) {
23313
23319
  case h.before_newline:
23314
- this._output.space_before_token = !H, this.print_token(S), (!Y || y) && this.allow_wrap_or_preserved_newline(S), this._output.space_before_token = !0;
23320
+ this._output.space_before_token = !H, this.print_token(S), (!Y || v) && this.allow_wrap_or_preserved_newline(S), this._output.space_before_token = !0;
23315
23321
  return;
23316
23322
  case h.after_newline:
23317
- this._output.space_before_token = !0, !Y || y ? this._tokens.peek().newlines ? this.print_newline(!1, !0) : this.allow_wrap_or_preserved_newline(S) : this._output.space_before_token = !1, this.print_token(S), this._output.space_before_token = !0;
23323
+ this._output.space_before_token = !0, !Y || v ? this._tokens.peek().newlines ? this.print_newline(!1, !0) : this.allow_wrap_or_preserved_newline(S) : this._output.space_before_token = !1, this.print_token(S), this._output.space_before_token = !0;
23318
23324
  return;
23319
23325
  case h.preserve_newline:
23320
23326
  H || this.allow_wrap_or_preserved_newline(S), U = !(this._output.just_added_newline() || H), this._output.space_before_token = U, this.print_token(S), this._output.space_before_token = !0;
@@ -23350,10 +23356,10 @@ function x0() {
23350
23356
  } else
23351
23357
  this.print_block_commment(S, D);
23352
23358
  }, L.prototype.print_block_commment = function(S, D) {
23353
- var M = O(S.text), v, U = !1, w = !1, F = S.whitespace_before, Y = F.length;
23359
+ var M = p(S.text), y, U = !1, w = !1, F = S.whitespace_before, Y = F.length;
23354
23360
  if (this.print_newline(!1, D), this.print_token_line_indentation(S), this._output.add_token(M[0]), this.print_newline(!1, D), M.length > 1) {
23355
- for (M = M.slice(1), U = _(M, "*"), w = C(M, F), U && (this._flags.alignment = 1), v = 0; v < M.length; v++)
23356
- U ? (this.print_token_line_indentation(S), this._output.add_token(l(M[v]))) : w && M[v] ? (this.print_token_line_indentation(S), this._output.add_token(M[v].substring(Y))) : (this._output.current_line.set_indent(-1), this._output.add_token(M[v])), this.print_newline(!1, D);
23361
+ for (M = M.slice(1), U = _(M, "*"), w = C(M, F), U && (this._flags.alignment = 1), y = 0; y < M.length; y++)
23362
+ U ? (this.print_token_line_indentation(S), this._output.add_token(l(M[y]))) : w && M[y] ? (this.print_token_line_indentation(S), this._output.add_token(M[y].substring(Y))) : (this._output.current_line.set_indent(-1), this._output.add_token(M[y])), this.print_newline(!1, D);
23357
23363
  this._flags.alignment = 0;
23358
23364
  }
23359
23365
  }, L.prototype.handle_comment = function(S, D) {
@@ -23475,7 +23481,7 @@ function G0() {
23475
23481
  `);
23476
23482
  var I = f.match(/^[\t ]*/)[0];
23477
23483
  this._output = new t(this._options, I), this._input = new n(f), this._indentLevel = 0, this._nestedLevel = 0, this._ch = null;
23478
- for (var h = 0, p = !1, A = !1, R = !1, O = !1, d = !1, m = this._ch, _ = !1, C, L, g; C = this._input.read(E), L = C !== "", g = m, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), m = this._ch, this._ch; )
23484
+ for (var h = 0, O = !1, A = !1, R = !1, p = !1, d = !1, m = this._ch, _ = !1, C, L, g; C = this._input.read(E), L = C !== "", g = m, this._ch = this._input.next(), this._ch === "\\" && this._input.hasNext() && (this._ch += this._input.next()), m = this._ch, this._ch; )
23479
23485
  if (this._ch === "/" && this._input.peek() === "*") {
23480
23486
  this._output.add_new_line(), this._input.back();
23481
23487
  var S = this._input.read(l), D = i.get_directives(S);
@@ -23491,27 +23497,27 @@ function G0() {
23491
23497
  this.print_string(this._ch + this.eatString("}"));
23492
23498
  else {
23493
23499
  this.print_string(this._ch);
23494
- var v = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
23495
- v.match(/[ :]$/) && (v = this.eatString(": ").replace(/\s+$/, ""), this.print_string(v), this._output.space_before_token = !0), h === 0 && v.indexOf(":") !== -1 ? (A = !0, this.indent()) : v in this.NESTED_AT_RULE ? (this._nestedLevel += 1, v in this.CONDITIONAL_GROUP_RULE && (R = !0)) : h === 0 && !A && (O = !0);
23500
+ var y = this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);
23501
+ y.match(/[ :]$/) && (y = this.eatString(": ").replace(/\s+$/, ""), this.print_string(y), this._output.space_before_token = !0), h === 0 && y.indexOf(":") !== -1 ? (A = !0, this.indent()) : y in this.NESTED_AT_RULE ? (this._nestedLevel += 1, y in this.CONDITIONAL_GROUP_RULE && (R = !0)) : h === 0 && !A && (p = !0);
23496
23502
  }
23497
23503
  else if (this._ch === "#" && this._input.peek() === "{")
23498
23504
  this.preserveSingleSpace(L), this.print_string(this._ch + this.eatString("}"));
23499
23505
  else if (this._ch === "{")
23500
- A && (A = !1, this.outdent()), O = !1, R ? (R = !1, p = this._indentLevel >= this._nestedLevel) : p = this._indentLevel >= this._nestedLevel - 1, this._options.newline_between_rules && p && this._output.previous_line && this._output.previous_line.item(-1) !== "{" && this._output.ensure_empty_line_above("/", ","), this._output.space_before_token = !0, this._options.brace_style === "expand" ? (this._output.add_new_line(), this.print_string(this._ch), this.indent(), this._output.set_indent(this._indentLevel)) : (g === "(" ? this._output.space_before_token = !1 : g !== "," && this.indent(), this.print_string(this._ch)), this.eatWhitespace(!0), this._output.add_new_line();
23506
+ A && (A = !1, this.outdent()), p = !1, R ? (R = !1, O = this._indentLevel >= this._nestedLevel) : O = this._indentLevel >= this._nestedLevel - 1, this._options.newline_between_rules && O && this._output.previous_line && this._output.previous_line.item(-1) !== "{" && this._output.ensure_empty_line_above("/", ","), this._output.space_before_token = !0, this._options.brace_style === "expand" ? (this._output.add_new_line(), this.print_string(this._ch), this.indent(), this._output.set_indent(this._indentLevel)) : (g === "(" ? this._output.space_before_token = !1 : g !== "," && this.indent(), this.print_string(this._ch)), this.eatWhitespace(!0), this._output.add_new_line();
23501
23507
  else if (this._ch === "}")
23502
- this.outdent(), this._output.add_new_line(), g === "{" && this._output.trim(!0), A && (this.outdent(), A = !1), this.print_string(this._ch), p = !1, this._nestedLevel && this._nestedLevel--, this.eatWhitespace(!0), this._output.add_new_line(), this._options.newline_between_rules && !this._output.just_added_blankline() && this._input.peek() !== "}" && this._output.add_new_line(!0), this._input.peek() === ")" && (this._output.trim(!0), this._options.brace_style === "expand" && this._output.add_new_line(!0));
23508
+ this.outdent(), this._output.add_new_line(), g === "{" && this._output.trim(!0), A && (this.outdent(), A = !1), this.print_string(this._ch), O = !1, this._nestedLevel && this._nestedLevel--, this.eatWhitespace(!0), this._output.add_new_line(), this._options.newline_between_rules && !this._output.just_added_blankline() && this._input.peek() !== "}" && this._output.add_new_line(!0), this._input.peek() === ")" && (this._output.trim(!0), this._options.brace_style === "expand" && this._output.add_new_line(!0));
23503
23509
  else if (this._ch === ":") {
23504
23510
  for (var U = 0; U < this.NON_SEMICOLON_NEWLINE_PROPERTY.length; U++)
23505
23511
  if (this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[U])) {
23506
23512
  _ = !0;
23507
23513
  break;
23508
23514
  }
23509
- (p || R) && !(this._input.lookBack("&") || this.foundNestedPseudoClass()) && !this._input.lookBack("(") && !O && h === 0 ? (this.print_string(":"), A || (A = !0, this._output.space_before_token = !0, this.eatWhitespace(!0), this.indent())) : (this._input.lookBack(" ") && (this._output.space_before_token = !0), this._input.peek() === ":" ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":"));
23515
+ (O || R) && !(this._input.lookBack("&") || this.foundNestedPseudoClass()) && !this._input.lookBack("(") && !p && h === 0 ? (this.print_string(":"), A || (A = !0, this._output.space_before_token = !0, this.eatWhitespace(!0), this.indent())) : (this._input.lookBack(" ") && (this._output.space_before_token = !0), this._input.peek() === ":" ? (this._ch = this._input.next(), this.print_string("::")) : this.print_string(":"));
23510
23516
  } else if (this._ch === '"' || this._ch === "'") {
23511
23517
  var w = g === '"' || g === "'";
23512
23518
  this.preserveSingleSpace(w || L), this.print_string(this._ch + this.eatString(this._ch)), this.eatWhitespace(!0);
23513
23519
  } else if (this._ch === ";")
23514
- _ = !1, h === 0 ? (A && (this.outdent(), A = !1), O = !1, this.print_string(this._ch), this.eatWhitespace(!0), this._input.peek() !== "/" && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(!0), this._output.space_before_token = !0);
23520
+ _ = !1, h === 0 ? (A && (this.outdent(), A = !1), p = !1, this.print_string(this._ch), this.eatWhitespace(!0), this._input.peek() !== "/" && this._output.add_new_line()) : (this.print_string(this._ch), this.eatWhitespace(!0), this._output.space_before_token = !0);
23515
23521
  else if (this._ch === "(")
23516
23522
  if (this._input.lookBack("url"))
23517
23523
  this.print_string(this._ch), this.eatWhitespace(), h++, this.indent(), this._ch = this._input.next(), this._ch === ")" || this._ch === '"' || this._ch === "'" ? this._input.back() : this._ch && (this.print_string(this._ch + this.eatString(")")), h && (h--, this.outdent()));
@@ -23522,7 +23528,7 @@ function G0() {
23522
23528
  else if (this._ch === ")")
23523
23529
  h && (h--, this.outdent()), d && this._input.peek() === ";" && this._options.selector_separator_newline && (d = !1, this.outdent(), this._output.add_new_line()), this.print_string(this._ch);
23524
23530
  else if (this._ch === ",")
23525
- this.print_string(this._ch), this.eatWhitespace(!0), this._options.selector_separator_newline && (!A || d) && h === 0 && !O ? this._output.add_new_line() : this._output.space_before_token = !0;
23531
+ this.print_string(this._ch), this.eatWhitespace(!0), this._options.selector_separator_newline && (!A || d) && h === 0 && !p ? this._output.add_new_line() : this._output.space_before_token = !0;
23526
23532
  else if ((this._ch === ">" || this._ch === "+" || this._ch === "~") && !A && h === 0)
23527
23533
  this._options.space_around_combinator ? (this._output.space_before_token = !0, this.print_string(this._ch), this._output.space_before_token = !0) : (this.print_string(this._ch), this.eatWhitespace(), this._ch && o.test(this._ch) && (this._ch = ""));
23528
23534
  else if (this._ch === "]")
@@ -23538,8 +23544,8 @@ function G0() {
23538
23544
  this.preserveSingleSpace(Y || L), this.print_string(this._ch), !this._output.just_added_newline() && this._input.peek() === `
23539
23545
  ` && _ && this._output.add_new_line();
23540
23546
  }
23541
- var y = this._output.get_code(N);
23542
- return y;
23547
+ var v = this._output.get_code(N);
23548
+ return v;
23543
23549
  }, rE.Beautifier = c, rE;
23544
23550
  }
23545
23551
  var ac;
@@ -23777,38 +23783,38 @@ function B0() {
23777
23783
  if (uc)
23778
23784
  return sE;
23779
23785
  uc = 1;
23780
- var e = id().Options, t = Cu().Output, n = lc().Tokenizer, r = lc().TOKEN, i = /\r\n|[\r\n]/, s = /\r\n|[\r\n]/g, a = function(p, A) {
23781
- this.indent_level = 0, this.alignment_size = 0, this.max_preserve_newlines = p.max_preserve_newlines, this.preserve_newlines = p.preserve_newlines, this._output = new t(p, A);
23786
+ var e = id().Options, t = Cu().Output, n = lc().Tokenizer, r = lc().TOKEN, i = /\r\n|[\r\n]/, s = /\r\n|[\r\n]/g, a = function(O, A) {
23787
+ this.indent_level = 0, this.alignment_size = 0, this.max_preserve_newlines = O.max_preserve_newlines, this.preserve_newlines = O.preserve_newlines, this._output = new t(O, A);
23782
23788
  };
23783
- a.prototype.current_line_has_match = function(p) {
23784
- return this._output.current_line.has_match(p);
23785
- }, a.prototype.set_space_before_token = function(p, A) {
23786
- this._output.space_before_token = p, this._output.non_breaking_space = A;
23789
+ a.prototype.current_line_has_match = function(O) {
23790
+ return this._output.current_line.has_match(O);
23791
+ }, a.prototype.set_space_before_token = function(O, A) {
23792
+ this._output.space_before_token = O, this._output.non_breaking_space = A;
23787
23793
  }, a.prototype.set_wrap_point = function() {
23788
23794
  this._output.set_indent(this.indent_level, this.alignment_size), this._output.set_wrap_point();
23789
- }, a.prototype.add_raw_token = function(p) {
23790
- this._output.add_raw_token(p);
23791
- }, a.prototype.print_preserved_newlines = function(p) {
23795
+ }, a.prototype.add_raw_token = function(O) {
23796
+ this._output.add_raw_token(O);
23797
+ }, a.prototype.print_preserved_newlines = function(O) {
23792
23798
  var A = 0;
23793
- p.type !== r.TEXT && p.previous.type !== r.TEXT && (A = p.newlines ? 1 : 0), this.preserve_newlines && (A = p.newlines < this.max_preserve_newlines + 1 ? p.newlines : this.max_preserve_newlines + 1);
23799
+ O.type !== r.TEXT && O.previous.type !== r.TEXT && (A = O.newlines ? 1 : 0), this.preserve_newlines && (A = O.newlines < this.max_preserve_newlines + 1 ? O.newlines : this.max_preserve_newlines + 1);
23794
23800
  for (var R = 0; R < A; R++)
23795
23801
  this.print_newline(R > 0);
23796
23802
  return A !== 0;
23797
- }, a.prototype.traverse_whitespace = function(p) {
23798
- return p.whitespace_before || p.newlines ? (this.print_preserved_newlines(p) || (this._output.space_before_token = !0), !0) : !1;
23803
+ }, a.prototype.traverse_whitespace = function(O) {
23804
+ return O.whitespace_before || O.newlines ? (this.print_preserved_newlines(O) || (this._output.space_before_token = !0), !0) : !1;
23799
23805
  }, a.prototype.previous_token_wrapped = function() {
23800
23806
  return this._output.previous_token_wrapped;
23801
- }, a.prototype.print_newline = function(p) {
23802
- this._output.add_new_line(p);
23803
- }, a.prototype.print_token = function(p) {
23804
- p.text && (this._output.set_indent(this.indent_level, this.alignment_size), this._output.add_token(p.text));
23807
+ }, a.prototype.print_newline = function(O) {
23808
+ this._output.add_new_line(O);
23809
+ }, a.prototype.print_token = function(O) {
23810
+ O.text && (this._output.set_indent(this.indent_level, this.alignment_size), this._output.add_token(O.text));
23805
23811
  }, a.prototype.indent = function() {
23806
23812
  this.indent_level++;
23807
- }, a.prototype.get_full_indent = function(p) {
23808
- return p = this.indent_level + (p || 0), p < 1 ? "" : this._output.get_indent_string(p);
23813
+ }, a.prototype.get_full_indent = function(O) {
23814
+ return O = this.indent_level + (O || 0), O < 1 ? "" : this._output.get_indent_string(O);
23809
23815
  };
23810
- var o = function(p) {
23811
- for (var A = null, R = p.next; R.type !== r.EOF && p.closed !== R; ) {
23816
+ var o = function(O) {
23817
+ for (var A = null, R = O.next; R.type !== r.EOF && O.closed !== R; ) {
23812
23818
  if (R.type === r.ATTRIBUTE && R.text === "type") {
23813
23819
  R.next && R.next.type === r.EQUALS && R.next.next && R.next.next.type === r.VALUE && (A = R.next.next.text);
23814
23820
  break;
@@ -23816,29 +23822,29 @@ function B0() {
23816
23822
  R = R.next;
23817
23823
  }
23818
23824
  return A;
23819
- }, E = function(p, A) {
23820
- var R = null, O = null;
23821
- return A.closed ? (p === "script" ? R = "text/javascript" : p === "style" && (R = "text/css"), R = o(A) || R, R.search("text/css") > -1 ? O = "css" : R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? O = "javascript" : R.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? O = "html" : R.search(/test\/null/) > -1 && (O = "null"), O) : null;
23825
+ }, E = function(O, A) {
23826
+ var R = null, p = null;
23827
+ return A.closed ? (O === "script" ? R = "text/javascript" : O === "style" && (R = "text/css"), R = o(A) || R, R.search("text/css") > -1 ? p = "css" : R.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/) > -1 ? p = "javascript" : R.search(/(text|application|dojo)\/(x-)?(html)/) > -1 ? p = "html" : R.search(/test\/null/) > -1 && (p = "null"), p) : null;
23822
23828
  };
23823
- function l(p, A) {
23824
- return A.indexOf(p) !== -1;
23829
+ function l(O, A) {
23830
+ return A.indexOf(O) !== -1;
23825
23831
  }
23826
- function u(p, A, R) {
23827
- this.parent = p || null, this.tag = A ? A.tag_name : "", this.indent_level = R || 0, this.parser_token = A || null;
23832
+ function u(O, A, R) {
23833
+ this.parent = O || null, this.tag = A ? A.tag_name : "", this.indent_level = R || 0, this.parser_token = A || null;
23828
23834
  }
23829
- function c(p) {
23830
- this._printer = p, this._current_frame = null;
23835
+ function c(O) {
23836
+ this._printer = O, this._current_frame = null;
23831
23837
  }
23832
23838
  c.prototype.get_parser_token = function() {
23833
23839
  return this._current_frame ? this._current_frame.parser_token : null;
23834
- }, c.prototype.record_tag = function(p) {
23835
- var A = new u(this._current_frame, p, this._printer.indent_level);
23840
+ }, c.prototype.record_tag = function(O) {
23841
+ var A = new u(this._current_frame, O, this._printer.indent_level);
23836
23842
  this._current_frame = A;
23837
- }, c.prototype._try_pop_frame = function(p) {
23843
+ }, c.prototype._try_pop_frame = function(O) {
23838
23844
  var A = null;
23839
- return p && (A = p.parser_token, this._printer.indent_level = p.indent_level, this._current_frame = p.parent), A;
23840
- }, c.prototype._get_frame = function(p, A) {
23841
- for (var R = this._current_frame; R && p.indexOf(R.tag) === -1; ) {
23845
+ return O && (A = O.parser_token, this._printer.indent_level = O.indent_level, this._current_frame = O.parent), A;
23846
+ }, c.prototype._get_frame = function(O, A) {
23847
+ for (var R = this._current_frame; R && O.indexOf(R.tag) === -1; ) {
23842
23848
  if (A && A.indexOf(R.tag) !== -1) {
23843
23849
  R = null;
23844
23850
  break;
@@ -23846,66 +23852,66 @@ function B0() {
23846
23852
  R = R.parent;
23847
23853
  }
23848
23854
  return R;
23849
- }, c.prototype.try_pop = function(p, A) {
23850
- var R = this._get_frame([p], A);
23855
+ }, c.prototype.try_pop = function(O, A) {
23856
+ var R = this._get_frame([O], A);
23851
23857
  return this._try_pop_frame(R);
23852
- }, c.prototype.indent_to_tag = function(p) {
23853
- var A = this._get_frame(p);
23858
+ }, c.prototype.indent_to_tag = function(O) {
23859
+ var A = this._get_frame(O);
23854
23860
  A && (this._printer.indent_level = A.indent_level);
23855
23861
  };
23856
- function f(p, A, R, O) {
23857
- this._source_text = p || "", A = A || {}, this._js_beautify = R, this._css_beautify = O, this._tag_stack = null;
23862
+ function f(O, A, R, p) {
23863
+ this._source_text = O || "", A = A || {}, this._js_beautify = R, this._css_beautify = p, this._tag_stack = null;
23858
23864
  var d = new e(A, "html");
23859
23865
  this._options = d, this._is_wrap_attributes_force = this._options.wrap_attributes.substr(0, 5) === "force", this._is_wrap_attributes_force_expand_multiline = this._options.wrap_attributes === "force-expand-multiline", this._is_wrap_attributes_force_aligned = this._options.wrap_attributes === "force-aligned", this._is_wrap_attributes_aligned_multiple = this._options.wrap_attributes === "aligned-multiple", this._is_wrap_attributes_preserve = this._options.wrap_attributes.substr(0, 8) === "preserve", this._is_wrap_attributes_preserve_aligned = this._options.wrap_attributes === "preserve-aligned";
23860
23866
  }
23861
23867
  f.prototype.beautify = function() {
23862
23868
  if (this._options.disabled)
23863
23869
  return this._source_text;
23864
- var p = this._source_text, A = this._options.eol;
23870
+ var O = this._source_text, A = this._options.eol;
23865
23871
  this._options.eol === "auto" && (A = `
23866
- `, p && i.test(p) && (A = p.match(i)[0])), p = p.replace(s, `
23872
+ `, O && i.test(O) && (A = O.match(i)[0])), O = O.replace(s, `
23867
23873
  `);
23868
- var R = p.match(/^[\t ]*/)[0], O = {
23874
+ var R = O.match(/^[\t ]*/)[0], p = {
23869
23875
  text: "",
23870
23876
  type: ""
23871
- }, d = new N(), m = new a(this._options, R), _ = new n(p, this._options).tokenize();
23877
+ }, d = new N(), m = new a(this._options, R), _ = new n(O, this._options).tokenize();
23872
23878
  this._tag_stack = new c(m);
23873
23879
  for (var C = null, L = _.next(); L.type !== r.EOF; )
23874
- L.type === r.TAG_OPEN || L.type === r.COMMENT ? (C = this._handle_tag_open(m, L, d, O, _), d = C) : L.type === r.ATTRIBUTE || L.type === r.EQUALS || L.type === r.VALUE || L.type === r.TEXT && !d.tag_complete ? C = this._handle_inside_tag(m, L, d, O) : L.type === r.TAG_CLOSE ? C = this._handle_tag_close(m, L, d) : L.type === r.TEXT ? C = this._handle_text(m, L, d) : m.add_raw_token(L), O = C, L = _.next();
23880
+ L.type === r.TAG_OPEN || L.type === r.COMMENT ? (C = this._handle_tag_open(m, L, d, p, _), d = C) : L.type === r.ATTRIBUTE || L.type === r.EQUALS || L.type === r.VALUE || L.type === r.TEXT && !d.tag_complete ? C = this._handle_inside_tag(m, L, d, p) : L.type === r.TAG_CLOSE ? C = this._handle_tag_close(m, L, d) : L.type === r.TEXT ? C = this._handle_text(m, L, d) : m.add_raw_token(L), p = C, L = _.next();
23875
23881
  var g = m._output.get_code(A);
23876
23882
  return g;
23877
- }, f.prototype._handle_tag_close = function(p, A, R) {
23878
- var O = {
23883
+ }, f.prototype._handle_tag_close = function(O, A, R) {
23884
+ var p = {
23879
23885
  text: A.text,
23880
23886
  type: A.type
23881
23887
  };
23882
- return p.alignment_size = 0, R.tag_complete = !0, p.set_space_before_token(A.newlines || A.whitespace_before !== "", !0), R.is_unformatted ? p.add_raw_token(A) : (R.tag_start_char === "<" && (p.set_space_before_token(A.text[0] === "/", !0), this._is_wrap_attributes_force_expand_multiline && R.has_wrapped_attrs && p.print_newline(!1)), p.print_token(A)), R.indent_content && !(R.is_unformatted || R.is_content_unformatted) && (p.indent(), R.indent_content = !1), !R.is_inline_element && !(R.is_unformatted || R.is_content_unformatted) && p.set_wrap_point(), O;
23883
- }, f.prototype._handle_inside_tag = function(p, A, R, O) {
23888
+ return O.alignment_size = 0, R.tag_complete = !0, O.set_space_before_token(A.newlines || A.whitespace_before !== "", !0), R.is_unformatted ? O.add_raw_token(A) : (R.tag_start_char === "<" && (O.set_space_before_token(A.text[0] === "/", !0), this._is_wrap_attributes_force_expand_multiline && R.has_wrapped_attrs && O.print_newline(!1)), O.print_token(A)), R.indent_content && !(R.is_unformatted || R.is_content_unformatted) && (O.indent(), R.indent_content = !1), !R.is_inline_element && !(R.is_unformatted || R.is_content_unformatted) && O.set_wrap_point(), p;
23889
+ }, f.prototype._handle_inside_tag = function(O, A, R, p) {
23884
23890
  var d = R.has_wrapped_attrs, m = {
23885
23891
  text: A.text,
23886
23892
  type: A.type
23887
23893
  };
23888
- return p.set_space_before_token(A.newlines || A.whitespace_before !== "", !0), R.is_unformatted ? p.add_raw_token(A) : R.tag_start_char === "{" && A.type === r.TEXT ? p.print_preserved_newlines(A) ? (A.newlines = 0, p.add_raw_token(A)) : p.print_token(A) : (A.type === r.ATTRIBUTE ? p.set_space_before_token(!0) : (A.type === r.EQUALS || A.type === r.VALUE && A.previous.type === r.EQUALS) && p.set_space_before_token(!1), A.type === r.ATTRIBUTE && R.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (p.traverse_whitespace(A), d = d || A.newlines !== 0), this._is_wrap_attributes_force && R.attr_count >= this._options.wrap_attributes_min_attrs && (O.type !== r.TAG_OPEN || // ie. second attribute and beyond
23889
- this._is_wrap_attributes_force_expand_multiline) && (p.print_newline(!1), d = !0)), p.print_token(A), d = d || p.previous_token_wrapped(), R.has_wrapped_attrs = d), m;
23890
- }, f.prototype._handle_text = function(p, A, R) {
23891
- var O = {
23894
+ return O.set_space_before_token(A.newlines || A.whitespace_before !== "", !0), R.is_unformatted ? O.add_raw_token(A) : R.tag_start_char === "{" && A.type === r.TEXT ? O.print_preserved_newlines(A) ? (A.newlines = 0, O.add_raw_token(A)) : O.print_token(A) : (A.type === r.ATTRIBUTE ? O.set_space_before_token(!0) : (A.type === r.EQUALS || A.type === r.VALUE && A.previous.type === r.EQUALS) && O.set_space_before_token(!1), A.type === r.ATTRIBUTE && R.tag_start_char === "<" && ((this._is_wrap_attributes_preserve || this._is_wrap_attributes_preserve_aligned) && (O.traverse_whitespace(A), d = d || A.newlines !== 0), this._is_wrap_attributes_force && R.attr_count >= this._options.wrap_attributes_min_attrs && (p.type !== r.TAG_OPEN || // ie. second attribute and beyond
23895
+ this._is_wrap_attributes_force_expand_multiline) && (O.print_newline(!1), d = !0)), O.print_token(A), d = d || O.previous_token_wrapped(), R.has_wrapped_attrs = d), m;
23896
+ }, f.prototype._handle_text = function(O, A, R) {
23897
+ var p = {
23892
23898
  text: A.text,
23893
23899
  type: "TK_CONTENT"
23894
23900
  };
23895
- return R.custom_beautifier_name ? this._print_custom_beatifier_text(p, A, R) : R.is_unformatted || R.is_content_unformatted ? p.add_raw_token(A) : (p.traverse_whitespace(A), p.print_token(A)), O;
23896
- }, f.prototype._print_custom_beatifier_text = function(p, A, R) {
23897
- var O = this;
23901
+ return R.custom_beautifier_name ? this._print_custom_beatifier_text(O, A, R) : R.is_unformatted || R.is_content_unformatted ? O.add_raw_token(A) : (O.traverse_whitespace(A), O.print_token(A)), p;
23902
+ }, f.prototype._print_custom_beatifier_text = function(O, A, R) {
23903
+ var p = this;
23898
23904
  if (A.text !== "") {
23899
23905
  var d = A.text, m, _ = 1, C = "", L = "";
23900
23906
  R.custom_beautifier_name === "javascript" && typeof this._js_beautify == "function" ? m = this._js_beautify : R.custom_beautifier_name === "css" && typeof this._css_beautify == "function" ? m = this._css_beautify : R.custom_beautifier_name === "html" && (m = function(U, w) {
23901
- var F = new f(U, w, O._js_beautify, O._css_beautify);
23907
+ var F = new f(U, w, p._js_beautify, p._css_beautify);
23902
23908
  return F.beautify();
23903
- }), this._options.indent_scripts === "keep" ? _ = 0 : this._options.indent_scripts === "separate" && (_ = -p.indent_level);
23904
- var g = p.get_full_indent(_);
23909
+ }), this._options.indent_scripts === "keep" ? _ = 0 : this._options.indent_scripts === "separate" && (_ = -O.indent_level);
23910
+ var g = O.get_full_indent(_);
23905
23911
  if (d = d.replace(/\n[ \t]*$/, ""), R.custom_beautifier_name !== "html" && d[0] === "<" && d.match(/^(<!--|<!\[CDATA\[)/)) {
23906
23912
  var S = /^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(d);
23907
23913
  if (!S) {
23908
- p.add_raw_token(A);
23914
+ O.add_raw_token(A);
23909
23915
  return;
23910
23916
  }
23911
23917
  C = g + S[1] + `
@@ -23922,71 +23928,71 @@ function B0() {
23922
23928
  var M = new D();
23923
23929
  d = m(g + d, M);
23924
23930
  } else {
23925
- var v = A.whitespace_before;
23926
- v && (d = d.replace(new RegExp(`
23927
- (` + v + ")?", "g"), `
23931
+ var y = A.whitespace_before;
23932
+ y && (d = d.replace(new RegExp(`
23933
+ (` + y + ")?", "g"), `
23928
23934
  `)), d = g + d.replace(/\n/g, `
23929
23935
  ` + g);
23930
23936
  }
23931
23937
  C && (d ? d = C + d + `
23932
- ` + L : d = C + L), p.print_newline(!1), d && (A.text = d, A.whitespace_before = "", A.newlines = 0, p.add_raw_token(A), p.print_newline(!0));
23938
+ ` + L : d = C + L), O.print_newline(!1), d && (A.text = d, A.whitespace_before = "", A.newlines = 0, O.add_raw_token(A), O.print_newline(!0));
23933
23939
  }
23934
- }, f.prototype._handle_tag_open = function(p, A, R, O, d) {
23940
+ }, f.prototype._handle_tag_open = function(O, A, R, p, d) {
23935
23941
  var m = this._get_tag_open_token(A);
23936
- if ((R.is_unformatted || R.is_content_unformatted) && !R.is_empty_element && A.type === r.TAG_OPEN && !m.is_start_tag ? (p.add_raw_token(A), m.start_tag_token = this._tag_stack.try_pop(m.tag_name)) : (p.traverse_whitespace(A), this._set_tag_position(p, A, m, R, O), m.is_inline_element || p.set_wrap_point(), p.print_token(A)), m.is_start_tag && this._is_wrap_attributes_force) {
23942
+ if ((R.is_unformatted || R.is_content_unformatted) && !R.is_empty_element && A.type === r.TAG_OPEN && !m.is_start_tag ? (O.add_raw_token(A), m.start_tag_token = this._tag_stack.try_pop(m.tag_name)) : (O.traverse_whitespace(A), this._set_tag_position(O, A, m, R, p), m.is_inline_element || O.set_wrap_point(), O.print_token(A)), m.is_start_tag && this._is_wrap_attributes_force) {
23937
23943
  var _ = 0, C;
23938
23944
  do
23939
23945
  C = d.peek(_), C.type === r.ATTRIBUTE && (m.attr_count += 1), _ += 1;
23940
23946
  while (C.type !== r.EOF && C.type !== r.TAG_CLOSE);
23941
23947
  }
23942
- return (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) && (m.alignment_size = A.text.length + 1), !m.tag_complete && !m.is_unformatted && (p.alignment_size = m.alignment_size), m;
23948
+ return (this._is_wrap_attributes_force_aligned || this._is_wrap_attributes_aligned_multiple || this._is_wrap_attributes_preserve_aligned) && (m.alignment_size = A.text.length + 1), !m.tag_complete && !m.is_unformatted && (O.alignment_size = m.alignment_size), m;
23943
23949
  };
23944
- var N = function(p, A) {
23945
- if (this.parent = p || null, this.text = "", this.type = "TK_TAG_OPEN", this.tag_name = "", this.is_inline_element = !1, this.is_unformatted = !1, this.is_content_unformatted = !1, this.is_empty_element = !1, this.is_start_tag = !1, this.is_end_tag = !1, this.indent_content = !1, this.multiline_content = !1, this.custom_beautifier_name = null, this.start_tag_token = null, this.attr_count = 0, this.has_wrapped_attrs = !1, this.alignment_size = 0, this.tag_complete = !1, this.tag_start_char = "", this.tag_check = "", !A)
23950
+ var N = function(O, A) {
23951
+ if (this.parent = O || null, this.text = "", this.type = "TK_TAG_OPEN", this.tag_name = "", this.is_inline_element = !1, this.is_unformatted = !1, this.is_content_unformatted = !1, this.is_empty_element = !1, this.is_start_tag = !1, this.is_end_tag = !1, this.indent_content = !1, this.multiline_content = !1, this.custom_beautifier_name = null, this.start_tag_token = null, this.attr_count = 0, this.has_wrapped_attrs = !1, this.alignment_size = 0, this.tag_complete = !1, this.tag_start_char = "", this.tag_check = "", !A)
23946
23952
  this.tag_complete = !0;
23947
23953
  else {
23948
23954
  var R;
23949
23955
  this.tag_start_char = A.text[0], this.text = A.text, this.tag_start_char === "<" ? (R = A.text.match(/^<([^\s>]*)/), this.tag_check = R ? R[1] : "") : (R = A.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/), this.tag_check = R ? R[1] : "", (A.text.startsWith("{{#>") || A.text.startsWith("{{~#>")) && this.tag_check[0] === ">" && (this.tag_check === ">" && A.next !== null ? this.tag_check = A.next.text.split(" ")[0] : this.tag_check = A.text.split(">")[1])), this.tag_check = this.tag_check.toLowerCase(), A.type === r.COMMENT && (this.tag_complete = !0), this.is_start_tag = this.tag_check.charAt(0) !== "/", this.tag_name = this.is_start_tag ? this.tag_check : this.tag_check.substr(1), this.is_end_tag = !this.is_start_tag || A.closed && A.closed.text === "/>";
23950
- var O = 2;
23951
- this.tag_start_char === "{" && this.text.length >= 3 && this.text.charAt(2) === "~" && (O = 3), this.is_end_tag = this.is_end_tag || this.tag_start_char === "{" && (this.text.length < 3 || /[^#\^]/.test(this.text.charAt(O)));
23956
+ var p = 2;
23957
+ this.tag_start_char === "{" && this.text.length >= 3 && this.text.charAt(2) === "~" && (p = 3), this.is_end_tag = this.is_end_tag || this.tag_start_char === "{" && (this.text.length < 3 || /[^#\^]/.test(this.text.charAt(p)));
23952
23958
  }
23953
23959
  };
23954
- f.prototype._get_tag_open_token = function(p) {
23955
- var A = new N(this._tag_stack.get_parser_token(), p);
23960
+ f.prototype._get_tag_open_token = function(O) {
23961
+ var A = new N(this._tag_stack.get_parser_token(), O);
23956
23962
  return A.alignment_size = this._options.wrap_attributes_indent_size, A.is_end_tag = A.is_end_tag || l(A.tag_check, this._options.void_elements), A.is_empty_element = A.tag_complete || A.is_start_tag && A.is_end_tag, A.is_unformatted = !A.tag_complete && l(A.tag_check, this._options.unformatted), A.is_content_unformatted = !A.is_empty_element && l(A.tag_check, this._options.content_unformatted), A.is_inline_element = l(A.tag_name, this._options.inline) || this._options.inline_custom_elements && A.tag_name.includes("-") || A.tag_start_char === "{", A;
23957
- }, f.prototype._set_tag_position = function(p, A, R, O, d) {
23958
- if (R.is_empty_element || (R.is_end_tag ? R.start_tag_token = this._tag_stack.try_pop(R.tag_name) : (this._do_optional_end_element(R) && (R.is_inline_element || p.print_newline(!1)), this._tag_stack.record_tag(R), (R.tag_name === "script" || R.tag_name === "style") && !(R.is_unformatted || R.is_content_unformatted) && (R.custom_beautifier_name = E(R.tag_check, A)))), l(R.tag_check, this._options.extra_liners) && (p.print_newline(!1), p._output.just_added_blankline() || p.print_newline(!0)), R.is_empty_element) {
23963
+ }, f.prototype._set_tag_position = function(O, A, R, p, d) {
23964
+ if (R.is_empty_element || (R.is_end_tag ? R.start_tag_token = this._tag_stack.try_pop(R.tag_name) : (this._do_optional_end_element(R) && (R.is_inline_element || O.print_newline(!1)), this._tag_stack.record_tag(R), (R.tag_name === "script" || R.tag_name === "style") && !(R.is_unformatted || R.is_content_unformatted) && (R.custom_beautifier_name = E(R.tag_check, A)))), l(R.tag_check, this._options.extra_liners) && (O.print_newline(!1), O._output.just_added_blankline() || O.print_newline(!0)), R.is_empty_element) {
23959
23965
  if (R.tag_start_char === "{" && R.tag_check === "else") {
23960
23966
  this._tag_stack.indent_to_tag(["if", "unless", "each"]), R.indent_content = !0;
23961
- var m = p.current_line_has_match(/{{#if/);
23962
- m || p.print_newline(!1);
23967
+ var m = O.current_line_has_match(/{{#if/);
23968
+ m || O.print_newline(!1);
23963
23969
  }
23964
- R.tag_name === "!--" && d.type === r.TAG_CLOSE && O.is_end_tag && R.text.indexOf(`
23965
- `) === -1 || (R.is_inline_element || R.is_unformatted || p.print_newline(!1), this._calcluate_parent_multiline(p, R));
23970
+ R.tag_name === "!--" && d.type === r.TAG_CLOSE && p.is_end_tag && R.text.indexOf(`
23971
+ `) === -1 || (R.is_inline_element || R.is_unformatted || O.print_newline(!1), this._calcluate_parent_multiline(O, R));
23966
23972
  } else if (R.is_end_tag) {
23967
23973
  var _ = !1;
23968
- _ = R.start_tag_token && R.start_tag_token.multiline_content, _ = _ || !R.is_inline_element && !(O.is_inline_element || O.is_unformatted) && !(d.type === r.TAG_CLOSE && R.start_tag_token === O) && d.type !== "TK_CONTENT", (R.is_content_unformatted || R.is_unformatted) && (_ = !1), _ && p.print_newline(!1);
23974
+ _ = R.start_tag_token && R.start_tag_token.multiline_content, _ = _ || !R.is_inline_element && !(p.is_inline_element || p.is_unformatted) && !(d.type === r.TAG_CLOSE && R.start_tag_token === p) && d.type !== "TK_CONTENT", (R.is_content_unformatted || R.is_unformatted) && (_ = !1), _ && O.print_newline(!1);
23969
23975
  } else
23970
- R.indent_content = !R.custom_beautifier_name, R.tag_start_char === "<" && (R.tag_name === "html" ? R.indent_content = this._options.indent_inner_html : R.tag_name === "head" ? R.indent_content = this._options.indent_head_inner_html : R.tag_name === "body" && (R.indent_content = this._options.indent_body_inner_html)), !(R.is_inline_element || R.is_unformatted) && (d.type !== "TK_CONTENT" || R.is_content_unformatted) && p.print_newline(!1), this._calcluate_parent_multiline(p, R);
23971
- }, f.prototype._calcluate_parent_multiline = function(p, A) {
23972
- A.parent && p._output.just_added_newline() && !((A.is_inline_element || A.is_unformatted) && A.parent.is_inline_element) && (A.parent.multiline_content = !0);
23976
+ R.indent_content = !R.custom_beautifier_name, R.tag_start_char === "<" && (R.tag_name === "html" ? R.indent_content = this._options.indent_inner_html : R.tag_name === "head" ? R.indent_content = this._options.indent_head_inner_html : R.tag_name === "body" && (R.indent_content = this._options.indent_body_inner_html)), !(R.is_inline_element || R.is_unformatted) && (d.type !== "TK_CONTENT" || R.is_content_unformatted) && O.print_newline(!1), this._calcluate_parent_multiline(O, R);
23977
+ }, f.prototype._calcluate_parent_multiline = function(O, A) {
23978
+ A.parent && O._output.just_added_newline() && !((A.is_inline_element || A.is_unformatted) && A.parent.is_inline_element) && (A.parent.multiline_content = !0);
23973
23979
  };
23974
23980
  var I = ["address", "article", "aside", "blockquote", "details", "div", "dl", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "header", "hr", "main", "menu", "nav", "ol", "p", "pre", "section", "table", "ul"], h = ["a", "audio", "del", "ins", "map", "noscript", "video"];
23975
- return f.prototype._do_optional_end_element = function(p) {
23981
+ return f.prototype._do_optional_end_element = function(O) {
23976
23982
  var A = null;
23977
- if (!(p.is_empty_element || !p.is_start_tag || !p.parent)) {
23978
- if (p.tag_name === "body")
23983
+ if (!(O.is_empty_element || !O.is_start_tag || !O.parent)) {
23984
+ if (O.tag_name === "body")
23979
23985
  A = A || this._tag_stack.try_pop("head");
23980
- else if (p.tag_name === "li")
23986
+ else if (O.tag_name === "li")
23981
23987
  A = A || this._tag_stack.try_pop("li", ["ol", "ul", "menu"]);
23982
- else if (p.tag_name === "dd" || p.tag_name === "dt")
23988
+ else if (O.tag_name === "dd" || O.tag_name === "dt")
23983
23989
  A = A || this._tag_stack.try_pop("dt", ["dl"]), A = A || this._tag_stack.try_pop("dd", ["dl"]);
23984
- else if (p.parent.tag_name === "p" && I.indexOf(p.tag_name) !== -1) {
23985
- var R = p.parent.parent;
23990
+ else if (O.parent.tag_name === "p" && I.indexOf(O.tag_name) !== -1) {
23991
+ var R = O.parent.parent;
23986
23992
  (!R || h.indexOf(R.tag_name) === -1) && (A = A || this._tag_stack.try_pop("p"));
23987
23993
  } else
23988
- p.tag_name === "rp" || p.tag_name === "rt" ? (A = A || this._tag_stack.try_pop("rt", ["ruby", "rtc"]), A = A || this._tag_stack.try_pop("rp", ["ruby", "rtc"])) : p.tag_name === "optgroup" ? A = A || this._tag_stack.try_pop("optgroup", ["select"]) : p.tag_name === "option" ? A = A || this._tag_stack.try_pop("option", ["select", "datalist", "optgroup"]) : p.tag_name === "colgroup" ? A = A || this._tag_stack.try_pop("caption", ["table"]) : p.tag_name === "thead" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"])) : p.tag_name === "tbody" || p.tag_name === "tfoot" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"]), A = A || this._tag_stack.try_pop("thead", ["table"]), A = A || this._tag_stack.try_pop("tbody", ["table"])) : p.tag_name === "tr" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"]), A = A || this._tag_stack.try_pop("tr", ["table", "thead", "tbody", "tfoot"])) : (p.tag_name === "th" || p.tag_name === "td") && (A = A || this._tag_stack.try_pop("td", ["table", "thead", "tbody", "tfoot", "tr"]), A = A || this._tag_stack.try_pop("th", ["table", "thead", "tbody", "tfoot", "tr"]));
23989
- return p.parent = this._tag_stack.get_parser_token(), A;
23994
+ O.tag_name === "rp" || O.tag_name === "rt" ? (A = A || this._tag_stack.try_pop("rt", ["ruby", "rtc"]), A = A || this._tag_stack.try_pop("rp", ["ruby", "rtc"])) : O.tag_name === "optgroup" ? A = A || this._tag_stack.try_pop("optgroup", ["select"]) : O.tag_name === "option" ? A = A || this._tag_stack.try_pop("option", ["select", "datalist", "optgroup"]) : O.tag_name === "colgroup" ? A = A || this._tag_stack.try_pop("caption", ["table"]) : O.tag_name === "thead" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"])) : O.tag_name === "tbody" || O.tag_name === "tfoot" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"]), A = A || this._tag_stack.try_pop("thead", ["table"]), A = A || this._tag_stack.try_pop("tbody", ["table"])) : O.tag_name === "tr" ? (A = A || this._tag_stack.try_pop("caption", ["table"]), A = A || this._tag_stack.try_pop("colgroup", ["table"]), A = A || this._tag_stack.try_pop("tr", ["table", "thead", "tbody", "tfoot"])) : (O.tag_name === "th" || O.tag_name === "td") && (A = A || this._tag_stack.try_pop("td", ["table", "thead", "tbody", "tfoot", "tr"]), A = A || this._tag_stack.try_pop("th", ["table", "thead", "tbody", "tfoot", "tr"]));
23995
+ return O.parent = this._tag_stack.get_parser_token(), A;
23990
23996
  }
23991
23997
  }, sE.Beautifier = f, sE;
23992
23998
  }
@@ -24031,8 +24037,8 @@ var Y0 = qf.exports, sd = { exports: {} };
24031
24037
  (function(e, t) {
24032
24038
  (function() {
24033
24039
  function n(r, i) {
24034
- var s, a = 0, o = r.length, E, l = "", u, c, f, N, I, h, p, A, R = !0, O = !1, d;
24035
- s = arguments.length > 1 ? i : {}, typeof s.indent > "u" && (s.indent = " "), typeof s.openbrace == "string" && (R = s.openbrace === "end-of-line"), typeof s.autosemicolon == "boolean" && (O = s.autosemicolon);
24040
+ var s, a = 0, o = r.length, E, l = "", u, c, f, N, I, h, O, A, R = !0, p = !1, d;
24041
+ s = arguments.length > 1 ? i : {}, typeof s.indent > "u" && (s.indent = " "), typeof s.openbrace == "string" && (R = s.openbrace === "end-of-line"), typeof s.autosemicolon == "boolean" && (p = s.autosemicolon);
24036
24042
  function m(D) {
24037
24043
  return D === " " || D === `
24038
24044
  ` || D === " " || D === "\r" || D === "\f";
@@ -24056,7 +24062,7 @@ var Y0 = qf.exports, sd = { exports: {} };
24056
24062
  }
24057
24063
  function S() {
24058
24064
  var D;
24059
- h -= 1, l = d(l), l.length > 0 && O && (D = l.charAt(l.length - 1), D !== ";" && D !== "{" && (l += ";")), l += `
24065
+ h -= 1, l = d(l), l.length > 0 && p && (D = l.charAt(l.length - 1), D !== ";" && D !== "{" && (l += ";")), l += `
24060
24066
  `, L(), l += "}", E.push(l), l = "";
24061
24067
  }
24062
24068
  for (String.prototype.trimRight ? d = function(D) {
@@ -24075,12 +24081,12 @@ var Y0 = qf.exports, sd = { exports: {} };
24075
24081
  URL: 8
24076
24082
  }, h = 0, N = I.Start, A = !1, E = [], r = r.replace(/\r\n/g, `
24077
24083
  `); a < o; ) {
24078
- if (u = r.charAt(a), c = r.charAt(a + 1), a += 1, _(p)) {
24079
- l += u, u === p && (p = null), u === "\\" && c === p && (l += c, a += 1);
24084
+ if (u = r.charAt(a), c = r.charAt(a + 1), a += 1, _(O)) {
24085
+ l += u, u === O && (O = null), u === "\\" && c === O && (l += c, a += 1);
24080
24086
  continue;
24081
24087
  }
24082
24088
  if (_(u)) {
24083
- l += u, p = u;
24089
+ l += u, O = u;
24084
24090
  continue;
24085
24091
  }
24086
24092
  if (A) {
@@ -24432,13 +24438,13 @@ function k0(e, t) {
24432
24438
  var h = -n.indent_level;
24433
24439
  else
24434
24440
  var h = 1;
24435
- var p = n.get_full_indent(h);
24441
+ var O = n.get_full_indent(h);
24436
24442
  if (I)
24437
- N = I(N.replace(/^\s*/, p), t);
24443
+ N = I(N.replace(/^\s*/, O), t);
24438
24444
  else {
24439
- var A = N.match(/^\s*/)[0], R = A.match(/[^\n\r]*$/)[0].split(n.indent_string).length - 1, O = n.get_full_indent(h - R);
24440
- N = N.replace(/^\s*/, p).replace(/\r\n|\r|\n/g, `
24441
- ` + O).replace(/\s*$/, "");
24445
+ var A = N.match(/^\s*/)[0], R = A.match(/[^\n\r]*$/)[0].split(n.indent_string).length - 1, p = n.get_full_indent(h - R);
24446
+ N = N.replace(/^\s*/, O).replace(/\r\n|\r|\n/g, `
24447
+ ` + p).replace(/\s*$/, "");
24442
24448
  }
24443
24449
  N && (n.print_token(N), n.print_newline(!0, n.output));
24444
24450
  }
@@ -24524,10 +24530,10 @@ var Q0 = ad.exports, Sn = {}, od = {}, Wt = {};
24524
24530
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, E = o.callback;
24525
24531
  typeof o == "function" && (E = o, o = {}), this.options = o;
24526
24532
  var l = this;
24527
- function u(O) {
24533
+ function u(p) {
24528
24534
  return E ? (setTimeout(function() {
24529
- E(void 0, O);
24530
- }, 0), !0) : O;
24535
+ E(void 0, p);
24536
+ }, 0), !0) : p;
24531
24537
  }
24532
24538
  s = this.castInput(s), a = this.castInput(a), s = this.removeEmpty(this.tokenize(s)), a = this.removeEmpty(this.tokenize(a));
24533
24539
  var c = a.length, f = s.length, N = 1, I = c + f;
@@ -24535,36 +24541,36 @@ var Q0 = ad.exports, Sn = {}, od = {}, Wt = {};
24535
24541
  var h = [{
24536
24542
  newPos: -1,
24537
24543
  components: []
24538
- }], p = this.extractCommon(h[0], a, s, 0);
24539
- if (h[0].newPos + 1 >= c && p + 1 >= f)
24544
+ }], O = this.extractCommon(h[0], a, s, 0);
24545
+ if (h[0].newPos + 1 >= c && O + 1 >= f)
24540
24546
  return u([{
24541
24547
  value: this.join(a),
24542
24548
  count: a.length
24543
24549
  }]);
24544
24550
  function A() {
24545
- for (var O = -1 * N; O <= N; O += 2) {
24551
+ for (var p = -1 * N; p <= N; p += 2) {
24546
24552
  var d = (
24547
24553
  /*istanbul ignore start*/
24548
24554
  void 0
24549
- ), m = h[O - 1], _ = h[O + 1], C = (_ ? _.newPos : 0) - O;
24550
- m && (h[O - 1] = void 0);
24555
+ ), m = h[p - 1], _ = h[p + 1], C = (_ ? _.newPos : 0) - p;
24556
+ m && (h[p - 1] = void 0);
24551
24557
  var L = m && m.newPos + 1 < c, g = _ && 0 <= C && C < f;
24552
24558
  if (!L && !g) {
24553
- h[O] = void 0;
24559
+ h[p] = void 0;
24554
24560
  continue;
24555
24561
  }
24556
- if (!L || g && m.newPos < _.newPos ? (d = r(_), l.pushComponent(d.components, void 0, !0)) : (d = m, d.newPos++, l.pushComponent(d.components, !0, void 0)), C = l.extractCommon(d, a, s, O), d.newPos + 1 >= c && C + 1 >= f)
24562
+ if (!L || g && m.newPos < _.newPos ? (d = r(_), l.pushComponent(d.components, void 0, !0)) : (d = m, d.newPos++, l.pushComponent(d.components, !0, void 0)), C = l.extractCommon(d, a, s, p), d.newPos + 1 >= c && C + 1 >= f)
24557
24563
  return u(n(l, d.components, a, s, l.useLongestToken));
24558
- h[O] = d;
24564
+ h[p] = d;
24559
24565
  }
24560
24566
  N++;
24561
24567
  }
24562
24568
  if (E)
24563
- (function O() {
24569
+ (function p() {
24564
24570
  setTimeout(function() {
24565
24571
  if (N > I)
24566
24572
  return E();
24567
- A() || O();
24573
+ A() || p();
24568
24574
  }, 0);
24569
24575
  })();
24570
24576
  else
@@ -24637,16 +24643,16 @@ var Q0 = ad.exports, Sn = {}, od = {}, Wt = {};
24637
24643
  if (!N.added && E) {
24638
24644
  var I = a.slice(c, c + N.count);
24639
24645
  I = I.map(function(A, R) {
24640
- var O = o[f + R];
24641
- return O.length > A.length ? O : A;
24646
+ var p = o[f + R];
24647
+ return p.length > A.length ? p : A;
24642
24648
  }), N.value = i.join(I);
24643
24649
  } else
24644
24650
  N.value = i.join(a.slice(c, c + N.count));
24645
24651
  c += N.count, N.added || (f += N.count);
24646
24652
  }
24647
24653
  }
24648
- var p = s[u - 1];
24649
- return u > 1 && typeof p.value == "string" && (p.added || p.removed) && i.equals("", p.value) && (s[u - 2].value += p.value, s.pop()), s;
24654
+ var O = s[u - 1];
24655
+ return u > 1 && typeof O.value == "string" && (O.added || O.removed) && i.equals("", O.value) && (s[u - 2].value += O.value, s.pop()), s;
24650
24656
  }
24651
24657
  function r(i) {
24652
24658
  return {
@@ -24990,15 +24996,15 @@ function Ad(e, t) {
24990
24996
  throw new Error("applyPatch only works with a single input.");
24991
24997
  t = t[0];
24992
24998
  }
24993
- var r = e.split(/\r\n|[\n\v\f\r\x85]/), i = e.match(/\r\n|[\n\v\f\r\x85]/g) || [], s = t.hunks, a = n.compareLine || function(w, F, Y, y) {
24999
+ var r = e.split(/\r\n|[\n\v\f\r\x85]/), i = e.match(/\r\n|[\n\v\f\r\x85]/g) || [], s = t.hunks, a = n.compareLine || function(w, F, Y, v) {
24994
25000
  return (
24995
25001
  /*istanbul ignore end*/
24996
- F === y
25002
+ F === v
24997
25003
  );
24998
25004
  }, o = 0, E = n.fuzzFactor || 0, l = 0, u = 0, c, f;
24999
25005
  function N(w, F) {
25000
25006
  for (var Y = 0; Y < w.lines.length; Y++) {
25001
- var y = w.lines[Y], H = y.length > 0 ? y[0] : " ", V = y.length > 0 ? y.substr(1) : y;
25007
+ var v = w.lines[Y], H = v.length > 0 ? v[0] : " ", V = v.length > 0 ? v.substr(1) : v;
25002
25008
  if (H === " " || H === "-") {
25003
25009
  if (!a(F + 1, r[F], H, V) && (o++, o > E))
25004
25010
  return !1;
@@ -25008,12 +25014,12 @@ function Ad(e, t) {
25008
25014
  return !0;
25009
25015
  }
25010
25016
  for (var I = 0; I < s.length; I++) {
25011
- for (var h = s[I], p = r.length - h.oldLines, A = 0, R = u + h.oldStart - 1, O = (
25017
+ for (var h = s[I], O = r.length - h.oldLines, A = 0, R = u + h.oldStart - 1, p = (
25012
25018
  /*istanbul ignore start*/
25013
25019
  /*istanbul ignore end*/
25014
25020
  /*istanbul ignore start*/
25015
- (0, mm.default)(R, l, p)
25016
- ); A !== void 0; A = O())
25021
+ (0, mm.default)(R, l, O)
25022
+ ); A !== void 0; A = p())
25017
25023
  if (N(h, R + A)) {
25018
25024
  h.offset = u += A;
25019
25025
  break;
@@ -25034,8 +25040,8 @@ function Ad(e, t) {
25034
25040
  else if (S === "+")
25035
25041
  r.splice(C, 0, D), i.splice(C, 0, M), C++;
25036
25042
  else if (S === "\\") {
25037
- var v = _.lines[L - 1] ? _.lines[L - 1][0] : null;
25038
- v === "+" ? c = !0 : v === "-" && (f = !0);
25043
+ var y = _.lines[L - 1] ? _.lines[L - 1][0] : null;
25044
+ y === "+" ? c = !0 : y === "-" && (f = !0);
25039
25045
  }
25040
25046
  }
25041
25047
  }
@@ -25133,9 +25139,9 @@ function cd(e, t, n, r, i, s, a) {
25133
25139
  });
25134
25140
  }
25135
25141
  for (var l = [], u = 0, c = 0, f = [], N = 1, I = 1, h = function(R) {
25136
- var O = o[R], d = O.lines || O.value.replace(/\n$/, "").split(`
25142
+ var p = o[R], d = p.lines || p.value.replace(/\n$/, "").split(`
25137
25143
  `);
25138
- if (O.lines = d, O.added || O.removed) {
25144
+ if (p.lines = d, p.added || p.removed) {
25139
25145
  var m;
25140
25146
  if (!u) {
25141
25147
  var _ = o[R - 1];
@@ -25149,10 +25155,10 @@ function cd(e, t, n, r, i, s, a) {
25149
25155
  oE(
25150
25156
  /*istanbul ignore end*/
25151
25157
  d.map(function(U) {
25152
- return (O.added ? "+" : "-") + U;
25158
+ return (p.added ? "+" : "-") + U;
25153
25159
  })
25154
25160
  )
25155
- ), O.added ? I += d.length : N += d.length;
25161
+ ), p.added ? I += d.length : N += d.length;
25156
25162
  } else {
25157
25163
  if (u)
25158
25164
  if (d.length <= a.context * 2 && R < o.length - 2) {
@@ -25187,17 +25193,17 @@ function cd(e, t, n, r, i, s, a) {
25187
25193
  lines: f
25188
25194
  };
25189
25195
  if (R >= o.length - 2 && d.length <= a.context) {
25190
- var D = /\n$/.test(n), M = /\n$/.test(r), v = d.length == 0 && f.length > S.oldLines;
25191
- !D && v && n.length > 0 && f.splice(S.oldLines, 0, "\"), (!D && !v || !M) && f.push("\");
25196
+ var D = /\n$/.test(n), M = /\n$/.test(r), y = d.length == 0 && f.length > S.oldLines;
25197
+ !D && y && n.length > 0 && f.splice(S.oldLines, 0, "\"), (!D && !y || !M) && f.push("\");
25192
25198
  }
25193
25199
  l.push(S), u = 0, c = 0, f = [];
25194
25200
  }
25195
25201
  N += d.length, I += d.length;
25196
25202
  }
25197
- }, p = 0; p < o.length; p++)
25203
+ }, O = 0; O < o.length; O++)
25198
25204
  h(
25199
25205
  /*istanbul ignore end*/
25200
- p
25206
+ O
25201
25207
  );
25202
25208
  return {
25203
25209
  oldFileName: e,
@@ -25680,8 +25686,8 @@ function Jm(e) {
25680
25686
  }
25681
25687
  });
25682
25688
  var t = h(Wt), n = ki, r = xr, i = Cn, s = Xi, a = ji, o = wr, E = Ki, l = eo, u = Ji, c = to, f = Qn, N = vu, I = Uu;
25683
- function h(p) {
25684
- return p && p.__esModule ? p : { default: p };
25689
+ function h(O) {
25690
+ return O && O.__esModule ? O : { default: O };
25685
25691
  }
25686
25692
  })(od);
25687
25693
  var Zm = ce && ce.__createBinding || (Object.create ? function(e, t, n, r) {
@@ -25734,10 +25740,10 @@ const Lc = (e) => e === "" ? [] : e.replace(/\n$/, "").split(`
25734
25740
  ignoreCase: !1
25735
25741
  }) : a = Rl.diffJson(e, t);
25736
25742
  let o = i, E = i, l = [], u = 0;
25737
- const c = [], f = [], N = (I, h, p, A, R) => Lc(I).map((d, m) => {
25743
+ const c = [], f = [], N = (I, h, O, A, R) => Lc(I).map((d, m) => {
25738
25744
  const _ = {}, C = {};
25739
25745
  if (!(f.includes(`${h}-${m}`) || R && m !== 0)) {
25740
- if (p || A) {
25746
+ if (O || A) {
25741
25747
  let L = !0;
25742
25748
  if (A) {
25743
25749
  E += 1, _.lineNumber = E, _.type = Gt.REMOVED, _.value = d || " ";
@@ -25745,8 +25751,8 @@ const Lc = (e) => e === "" ? [] : e.replace(/\n$/, "").split(`
25745
25751
  if (g && g.added) {
25746
25752
  const S = Lc(g.value)[m];
25747
25753
  if (S) {
25748
- const D = N(S, h, !0, !1, !0), { value: M, lineNumber: v, type: U } = D[0].right;
25749
- if (f.push(`${h + 1}-${m}`), C.lineNumber = v, _.value === M)
25754
+ const D = N(S, h, !0, !1, !0), { value: M, lineNumber: y, type: U } = D[0].right;
25755
+ if (f.push(`${h + 1}-${m}`), C.lineNumber = y, _.value === M)
25750
25756
  L = !1, C.type = 0, _.type = 0, C.value = M;
25751
25757
  else if (C.type = U, n)
25752
25758
  C.value = M;
@@ -25764,10 +25770,10 @@ const Lc = (e) => e === "" ? [] : e.replace(/\n$/, "").split(`
25764
25770
  return (s != null && s.includes(`L-${_.lineNumber}`) || s != null && s.includes(`R-${C.lineNumber}`) && !c.includes(u)) && c.push(u), R || (u += 1), { right: C, left: _ };
25765
25771
  }
25766
25772
  }).filter(Boolean);
25767
- return a.forEach(({ added: I, removed: h, value: p }, A) => {
25773
+ return a.forEach(({ added: I, removed: h, value: O }, A) => {
25768
25774
  l = [
25769
25775
  ...l,
25770
- ...N(p, A, I, h)
25776
+ ...N(O, A, I, h)
25771
25777
  ];
25772
25778
  }), {
25773
25779
  lineInformation: l,
@@ -25958,7 +25964,7 @@ function dP(e) {
25958
25964
  return hd(Hs("", null, null, null, [""], e = _d(e), 0, [0], e));
25959
25965
  }
25960
25966
  function Hs(e, t, n, r, i, s, a, o, E) {
25961
- for (var l = 0, u = 0, c = a, f = 0, N = 0, I = 0, h = 1, p = 1, A = 1, R = 0, O = "", d = i, m = s, _ = r, C = O; p; )
25967
+ for (var l = 0, u = 0, c = a, f = 0, N = 0, I = 0, h = 1, O = 1, A = 1, R = 0, p = "", d = i, m = s, _ = r, C = p; O; )
25962
25968
  switch (I = R, R = nt()) {
25963
25969
  case 40:
25964
25970
  if (I != 108 && Me(C, c - 1) == 58) {
@@ -25997,14 +26003,14 @@ function Hs(e, t, n, r, i, s, a, o, E) {
25997
26003
  switch (R) {
25998
26004
  case 0:
25999
26005
  case 125:
26000
- p = 0;
26006
+ O = 0;
26001
26007
  case 59 + u:
26002
26008
  A == -1 && (C = $(C, /\f/g, "")), N > 0 && Ct(C) - c && _s(N > 32 ? Pc(C + ";", r, n, c - 1) : Pc($(C, " ", "") + ";", r, n, c - 2), E);
26003
26009
  break;
26004
26010
  case 59:
26005
26011
  C += ";";
26006
26012
  default:
26007
- if (_s(_ = mc(C, t, n, l, u, i, o, O, d = [], m = [], c), s), R === 123)
26013
+ if (_s(_ = mc(C, t, n, l, u, i, o, p, d = [], m = [], c), s), R === 123)
26008
26014
  if (u === 0)
26009
26015
  Hs(C, t, _, _, d, s, c, o, m);
26010
26016
  else
@@ -26013,13 +26019,13 @@ function Hs(e, t, n, r, i, s, a, o, E) {
26013
26019
  case 108:
26014
26020
  case 109:
26015
26021
  case 115:
26016
- Hs(e, _, _, r && _s(mc(e, _, _, 0, 0, i, o, O, i, d = [], c), m), i, m, c, o, r ? d : m);
26022
+ Hs(e, _, _, r && _s(mc(e, _, _, 0, 0, i, o, p, i, d = [], c), m), i, m, c, o, r ? d : m);
26017
26023
  break;
26018
26024
  default:
26019
26025
  Hs(C, _, _, _, [""], m, 0, o, m);
26020
26026
  }
26021
26027
  }
26022
- l = u = N = 0, h = A = 1, O = C = "", c = a;
26028
+ l = u = N = 0, h = A = 1, p = C = "", c = a;
26023
26029
  break;
26024
26030
  case 58:
26025
26031
  c = 1 + Ct(C), N = I;
@@ -26038,7 +26044,7 @@ function Hs(e, t, n, r, i, s, a, o, E) {
26038
26044
  o[l++] = (Ct(C) - 1) * A, A = 1;
26039
26045
  break;
26040
26046
  case 64:
26041
- yt() === 45 && (C += Bs(nt())), f = yt(), u = c = Ct(O = C += fP(bs())), R++;
26047
+ yt() === 45 && (C += Bs(nt())), f = yt(), u = c = Ct(p = C += fP(bs())), R++;
26042
26048
  break;
26043
26049
  case 45:
26044
26050
  I === 45 && Ct(C) == 2 && (h = 0);
@@ -26047,9 +26053,9 @@ function Hs(e, t, n, r, i, s, a, o, E) {
26047
26053
  return s;
26048
26054
  }
26049
26055
  function mc(e, t, n, r, i, s, a, o, E, l, u) {
26050
- for (var c = i - 1, f = i === 0 ? s : [""], N = bu(f), I = 0, h = 0, p = 0; I < r; ++I)
26051
- for (var A = 0, R = yi(e, c + 1, c = aP(h = a[I])), O = e; A < N; ++A)
26052
- (O = Od(h > 0 ? f[A] + " " + R : $(R, /&\f/g, f[A]))) && (E[p++] = O);
26056
+ for (var c = i - 1, f = i === 0 ? s : [""], N = bu(f), I = 0, h = 0, O = 0; I < r; ++I)
26057
+ for (var A = 0, R = yi(e, c + 1, c = aP(h = a[I])), p = e; A < N; ++A)
26058
+ (p = Od(h > 0 ? f[A] + " " + R : $(R, /&\f/g, f[A]))) && (E[O++] = p);
26053
26059
  return so(e, t, n, i === 0 ? wu : o, E, l, u);
26054
26060
  }
26055
26061
  function NP(e, t, n) {
@@ -26297,8 +26303,8 @@ var DP = function(t, n, r, i) {
26297
26303
  if (n === "css") {
26298
26304
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
26299
26305
  Array.prototype.forEach.call(r, function(h) {
26300
- var p = h.getAttribute("data-emotion");
26301
- p.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
26306
+ var O = h.getAttribute("data-emotion");
26307
+ O.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
26302
26308
  });
26303
26309
  }
26304
26310
  var i = t.stylisPlugins || gP, s = {}, a, o = [];
@@ -26307,8 +26313,8 @@ var DP = function(t, n, r, i) {
26307
26313
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
26308
26314
  document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
26309
26315
  function(h) {
26310
- for (var p = h.getAttribute("data-emotion").split(" "), A = 1; A < p.length; A++)
26311
- s[p[A]] = !0;
26316
+ for (var O = h.getAttribute("data-emotion").split(" "), A = 1; A < O.length; A++)
26317
+ s[O[A]] = !0;
26312
26318
  o.push(h);
26313
26319
  }
26314
26320
  );
@@ -26316,11 +26322,11 @@ var DP = function(t, n, r, i) {
26316
26322
  {
26317
26323
  var u, c = [pP, IP(function(h) {
26318
26324
  u.insert(h);
26319
- })], f = OP(l.concat(i, c)), N = function(p) {
26320
- return Or(dP(p), f);
26325
+ })], f = OP(l.concat(i, c)), N = function(O) {
26326
+ return Or(dP(O), f);
26321
26327
  };
26322
- E = function(p, A, R, O) {
26323
- u = R, N(p ? p + "{" + A.styles + "}" : A.styles), O && (I.inserted[A.name] = !0);
26328
+ E = function(O, A, R, p) {
26329
+ u = R, N(O ? O + "{" + A.styles + "}" : A.styles), p && (I.inserted[A.name] = !0);
26324
26330
  };
26325
26331
  }
26326
26332
  var I = {
@@ -26738,7 +26744,7 @@ xu.default = (e, t = !1, n = "") => {
26738
26744
  }), h = o({
26739
26745
  color: a.gutterColor,
26740
26746
  label: "line-number"
26741
- }), p = o({
26747
+ }), O = o({
26742
26748
  background: a.removedBackground,
26743
26749
  color: a.removedColor,
26744
26750
  pre: {
@@ -26764,7 +26770,7 @@ xu.default = (e, t = !1, n = "") => {
26764
26770
  color: a.gutterColor
26765
26771
  },
26766
26772
  label: "diff-changed"
26767
- }), O = o({
26773
+ }), p = o({
26768
26774
  padding: 2,
26769
26775
  display: "inline-flex",
26770
26776
  borderRadius: 4,
@@ -26806,7 +26812,7 @@ xu.default = (e, t = !1, n = "") => {
26806
26812
  color: a.addedColor
26807
26813
  }
26808
26814
  },
26809
- [`&.${p}`]: {
26815
+ [`&.${O}`]: {
26810
26816
  pre: {
26811
26817
  color: a.removedColor
26812
26818
  }
@@ -26840,7 +26846,7 @@ xu.default = (e, t = !1, n = "") => {
26840
26846
  [`&.${A}`]: {
26841
26847
  background: a.addedGutterBackground
26842
26848
  },
26843
- [`&.${p}`]: {
26849
+ [`&.${O}`]: {
26844
26850
  background: a.removedGutterBackground
26845
26851
  },
26846
26852
  [`&.${D}`]: {
@@ -26849,7 +26855,7 @@ xu.default = (e, t = !1, n = "") => {
26849
26855
  background: a.highlightGutterBackground
26850
26856
  }
26851
26857
  }
26852
- }), v = o({
26858
+ }), y = o({
26853
26859
  "&:hover": {
26854
26860
  background: a.gutterBackground,
26855
26861
  cursor: "initial"
@@ -26860,7 +26866,7 @@ xu.default = (e, t = !1, n = "") => {
26860
26866
  label: "line"
26861
26867
  }), w = {
26862
26868
  diffContainer: c,
26863
- diffRemoved: p,
26869
+ diffRemoved: O,
26864
26870
  diffAdded: A,
26865
26871
  diffChanged: R,
26866
26872
  splitView: u,
@@ -26869,23 +26875,23 @@ xu.default = (e, t = !1, n = "") => {
26869
26875
  highlightedLine: S,
26870
26876
  gutter: M,
26871
26877
  line: U,
26872
- wordDiff: O,
26878
+ wordDiff: p,
26873
26879
  wordAdded: d,
26874
26880
  wordRemoved: m,
26875
26881
  codeFoldGutter: _,
26876
26882
  codeFold: C,
26877
- emptyGutter: v,
26883
+ emptyGutter: y,
26878
26884
  emptyLine: L,
26879
26885
  lineNumber: h,
26880
26886
  contentText: N,
26881
26887
  content: l,
26882
26888
  codeFoldContent: f,
26883
26889
  titleBlock: I
26884
- }, F = Object.keys(i).reduce((Y, y) => Object.assign(Object.assign({}, Y), {
26885
- [y]: o(i[y])
26890
+ }, F = Object.keys(i).reduce((Y, v) => Object.assign(Object.assign({}, Y), {
26891
+ [v]: o(i[v])
26886
26892
  }), {});
26887
- return Object.keys(w).reduce((Y, y) => Object.assign(Object.assign({}, Y), {
26888
- [y]: F[y] ? E(w[y], F[y]) : w[y]
26893
+ return Object.keys(w).reduce((Y, v) => Object.assign(Object.assign({}, Y), {
26894
+ [v]: F[v] ? E(w[v], F[v]) : w[v]
26889
26895
  }), {});
26890
26896
  };
26891
26897
  var ao = {};
@@ -26945,26 +26951,26 @@ const zP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26945
26951
  default: ZP
26946
26952
  }, Symbol.toStringTag, { value: "Module" })), QP = /* @__PURE__ */ bc(zP);
26947
26953
  (function(e) {
26948
- var t = ce && ce.__createBinding || (Object.create ? function(h, p, A, R) {
26954
+ var t = ce && ce.__createBinding || (Object.create ? function(h, O, A, R) {
26949
26955
  R === void 0 && (R = A);
26950
- var O = Object.getOwnPropertyDescriptor(p, A);
26951
- (!O || ("get" in O ? !p.__esModule : O.writable || O.configurable)) && (O = { enumerable: !0, get: function() {
26952
- return p[A];
26953
- } }), Object.defineProperty(h, R, O);
26954
- } : function(h, p, A, R) {
26955
- R === void 0 && (R = A), h[R] = p[A];
26956
- }), n = ce && ce.__setModuleDefault || (Object.create ? function(h, p) {
26957
- Object.defineProperty(h, "default", { enumerable: !0, value: p });
26958
- } : function(h, p) {
26959
- h.default = p;
26956
+ var p = Object.getOwnPropertyDescriptor(O, A);
26957
+ (!p || ("get" in p ? !O.__esModule : p.writable || p.configurable)) && (p = { enumerable: !0, get: function() {
26958
+ return O[A];
26959
+ } }), Object.defineProperty(h, R, p);
26960
+ } : function(h, O, A, R) {
26961
+ R === void 0 && (R = A), h[R] = O[A];
26962
+ }), n = ce && ce.__setModuleDefault || (Object.create ? function(h, O) {
26963
+ Object.defineProperty(h, "default", { enumerable: !0, value: O });
26964
+ } : function(h, O) {
26965
+ h.default = O;
26960
26966
  }), r = ce && ce.__importStar || function(h) {
26961
26967
  if (h && h.__esModule)
26962
26968
  return h;
26963
- var p = {};
26969
+ var O = {};
26964
26970
  if (h != null)
26965
26971
  for (var A in h)
26966
- A !== "default" && Object.prototype.hasOwnProperty.call(h, A) && t(p, h, A);
26967
- return n(p, h), p;
26972
+ A !== "default" && Object.prototype.hasOwnProperty.call(h, A) && t(O, h, A);
26973
+ return n(O, h), O;
26968
26974
  }, i = ce && ce.__importDefault || function(h) {
26969
26975
  return h && h.__esModule ? h : { default: h };
26970
26976
  };
@@ -26979,8 +26985,8 @@ const zP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26979
26985
  h.LEFT = "L", h.RIGHT = "R";
26980
26986
  })(N || (e.LineNumberPrefix = N = {}));
26981
26987
  class I extends a.Component {
26982
- constructor(p) {
26983
- super(p), this.resetCodeBlocks = () => this.state.expandedBlocks.length > 0 ? (this.setState({
26988
+ constructor(O) {
26989
+ super(O), this.resetCodeBlocks = () => this.state.expandedBlocks.length > 0 ? (this.setState({
26984
26990
  expandedBlocks: []
26985
26991
  }), !0) : !1, this.onBlockExpand = (A) => {
26986
26992
  const R = this.state.expandedBlocks.slice();
@@ -26988,13 +26994,13 @@ const zP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26988
26994
  expandedBlocks: R
26989
26995
  });
26990
26996
  }, this.computeStyles = f(l.default), this.onLineNumberClickProxy = (A) => this.props.onLineNumberClick ? (R) => this.props.onLineNumberClick(A, R) : () => {
26991
- }, this.renderWordDiff = (A, R) => A.map((O, d) => (0, s.jsx)("span", { className: (0, o.default)(this.styles.wordDiff, {
26992
- [this.styles.wordAdded]: O.type === E.DiffType.ADDED,
26993
- [this.styles.wordRemoved]: O.type === E.DiffType.REMOVED
26994
- }), children: R ? R(O.value) : O.value }, d)), this.renderLine = (A, R, O, d, m, _) => {
26995
- const C = `${O}-${A}`, L = `${_}-${m}`, g = this.props.highlightLines.includes(C) || this.props.highlightLines.includes(L), S = R === E.DiffType.ADDED, D = R === E.DiffType.REMOVED, M = R === E.DiffType.CHANGED;
26996
- let v;
26997
- return Array.isArray(d) ? v = this.renderWordDiff(d, this.props.renderContent) : this.props.renderContent ? v = this.props.renderContent(d) : v = d, (0, s.jsxs)(a.Fragment, { children: [!this.props.hideLineNumbers && (0, s.jsx)("td", { onClick: A && this.onLineNumberClickProxy(C), className: (0, o.default)(this.styles.gutter, {
26997
+ }, this.renderWordDiff = (A, R) => A.map((p, d) => (0, s.jsx)("span", { className: (0, o.default)(this.styles.wordDiff, {
26998
+ [this.styles.wordAdded]: p.type === E.DiffType.ADDED,
26999
+ [this.styles.wordRemoved]: p.type === E.DiffType.REMOVED
27000
+ }), children: R ? R(p.value) : p.value }, d)), this.renderLine = (A, R, p, d, m, _) => {
27001
+ const C = `${p}-${A}`, L = `${_}-${m}`, g = this.props.highlightLines.includes(C) || this.props.highlightLines.includes(L), S = R === E.DiffType.ADDED, D = R === E.DiffType.REMOVED, M = R === E.DiffType.CHANGED;
27002
+ let y;
27003
+ return Array.isArray(d) ? y = this.renderWordDiff(d, this.props.renderContent) : this.props.renderContent ? y = this.props.renderContent(d) : y = d, (0, s.jsxs)(a.Fragment, { children: [!this.props.hideLineNumbers && (0, s.jsx)("td", { onClick: A && this.onLineNumberClickProxy(C), className: (0, o.default)(this.styles.gutter, {
26998
27004
  [this.styles.emptyGutter]: !A,
26999
27005
  [this.styles.diffAdded]: S,
27000
27006
  [this.styles.diffRemoved]: D,
@@ -27009,56 +27015,56 @@ const zP = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27009
27015
  }), children: (0, s.jsx)("pre", { className: this.styles.lineNumber, children: m }) }), this.props.renderGutter ? this.props.renderGutter({
27010
27016
  lineNumber: A,
27011
27017
  type: R,
27012
- prefix: O,
27018
+ prefix: p,
27013
27019
  value: d,
27014
27020
  additionalLineNumber: m,
27015
27021
  additionalPrefix: _,
27016
27022
  styles: this.styles
27017
27023
  }) : null, !this.props.hideMarkers && (0, s.jsx)("td", { className: (0, o.default)(this.styles.marker, {
27018
- [this.styles.emptyLine]: !v,
27024
+ [this.styles.emptyLine]: !y,
27019
27025
  [this.styles.diffAdded]: S,
27020
27026
  [this.styles.diffRemoved]: D,
27021
27027
  [this.styles.diffChanged]: M,
27022
27028
  [this.styles.highlightedLine]: g
27023
27029
  }), children: (0, s.jsxs)("pre", { children: [S && "+", D && "-"] }) }), (0, s.jsx)("td", { className: (0, o.default)(this.styles.content, {
27024
- [this.styles.emptyLine]: !v,
27030
+ [this.styles.emptyLine]: !y,
27025
27031
  [this.styles.diffAdded]: S,
27026
27032
  [this.styles.diffRemoved]: D,
27027
27033
  [this.styles.diffChanged]: M,
27028
27034
  [this.styles.highlightedLine]: g
27029
- }), children: (0, s.jsx)("pre", { className: this.styles.contentText, children: v }) })] });
27030
- }, this.renderSplitView = ({ left: A, right: R }, O) => (0, s.jsxs)("tr", { className: this.styles.line, children: [this.renderLine(A.lineNumber, A.type, N.LEFT, A.value), this.renderLine(R.lineNumber, R.type, N.RIGHT, R.value)] }, O), this.renderInlineView = ({ left: A, right: R }, O) => {
27035
+ }), children: (0, s.jsx)("pre", { className: this.styles.contentText, children: y }) })] });
27036
+ }, this.renderSplitView = ({ left: A, right: R }, p) => (0, s.jsxs)("tr", { className: this.styles.line, children: [this.renderLine(A.lineNumber, A.type, N.LEFT, A.value), this.renderLine(R.lineNumber, R.type, N.RIGHT, R.value)] }, p), this.renderInlineView = ({ left: A, right: R }, p) => {
27031
27037
  let d;
27032
- return A.type === E.DiffType.REMOVED && R.type === E.DiffType.ADDED ? (0, s.jsxs)(a.Fragment, { children: [(0, s.jsx)("tr", { className: this.styles.line, children: this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, null) }), (0, s.jsx)("tr", { className: this.styles.line, children: this.renderLine(null, R.type, N.RIGHT, R.value, R.lineNumber) })] }, O) : (A.type === E.DiffType.REMOVED && (d = this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, null)), A.type === E.DiffType.DEFAULT && (d = this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, R.lineNumber, N.RIGHT)), R.type === E.DiffType.ADDED && (d = this.renderLine(null, R.type, N.RIGHT, R.value, R.lineNumber)), (0, s.jsx)("tr", { className: this.styles.line, children: d }, O));
27033
- }, this.onBlockClickProxy = (A) => () => this.onBlockExpand(A), this.renderSkippedLineIndicator = (A, R, O, d) => {
27034
- const { hideLineNumbers: m, splitView: _ } = this.props, C = this.props.codeFoldMessageRenderer ? this.props.codeFoldMessageRenderer(A, O, d) : (0, s.jsxs)("pre", { className: this.styles.codeFoldContent, children: ["Expand ", A, " lines ..."] }), L = (0, s.jsx)("td", { children: (0, s.jsx)("a", { onClick: this.onBlockClickProxy(R), tabIndex: 0, children: C }) }), g = !_ && !m;
27038
+ return A.type === E.DiffType.REMOVED && R.type === E.DiffType.ADDED ? (0, s.jsxs)(a.Fragment, { children: [(0, s.jsx)("tr", { className: this.styles.line, children: this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, null) }), (0, s.jsx)("tr", { className: this.styles.line, children: this.renderLine(null, R.type, N.RIGHT, R.value, R.lineNumber) })] }, p) : (A.type === E.DiffType.REMOVED && (d = this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, null)), A.type === E.DiffType.DEFAULT && (d = this.renderLine(A.lineNumber, A.type, N.LEFT, A.value, R.lineNumber, N.RIGHT)), R.type === E.DiffType.ADDED && (d = this.renderLine(null, R.type, N.RIGHT, R.value, R.lineNumber)), (0, s.jsx)("tr", { className: this.styles.line, children: d }, p));
27039
+ }, this.onBlockClickProxy = (A) => () => this.onBlockExpand(A), this.renderSkippedLineIndicator = (A, R, p, d) => {
27040
+ const { hideLineNumbers: m, splitView: _ } = this.props, C = this.props.codeFoldMessageRenderer ? this.props.codeFoldMessageRenderer(A, p, d) : (0, s.jsxs)("pre", { className: this.styles.codeFoldContent, children: ["Expand ", A, " lines ..."] }), L = (0, s.jsx)("td", { children: (0, s.jsx)("a", { onClick: this.onBlockClickProxy(R), tabIndex: 0, children: C }) }), g = !_ && !m;
27035
27041
  return (0, s.jsxs)("tr", { className: this.styles.codeFold, children: [!m && (0, s.jsx)("td", { className: this.styles.codeFoldGutter }), this.props.renderGutter ? (0, s.jsx)("td", { className: this.styles.codeFoldGutter }) : null, (0, s.jsx)("td", { className: (0, o.default)({
27036
27042
  [this.styles.codeFoldGutter]: g
27037
- }) }), g ? (0, s.jsxs)(a.Fragment, { children: [(0, s.jsx)("td", {}), L] }) : (0, s.jsxs)(a.Fragment, { children: [L, this.props.renderGutter ? (0, s.jsx)("td", {}) : null, (0, s.jsx)("td", {})] }), (0, s.jsx)("td", {}), (0, s.jsx)("td", {})] }, `${O}-${d}`);
27043
+ }) }), g ? (0, s.jsxs)(a.Fragment, { children: [(0, s.jsx)("td", {}), L] }) : (0, s.jsxs)(a.Fragment, { children: [L, this.props.renderGutter ? (0, s.jsx)("td", {}) : null, (0, s.jsx)("td", {})] }), (0, s.jsx)("td", {}), (0, s.jsx)("td", {})] }, `${p}-${d}`);
27038
27044
  }, this.renderDiff = () => {
27039
- const { oldValue: A, newValue: R, splitView: O, disableWordDiff: d, compareMethod: m, linesOffset: _ } = this.props, { lineInformation: C, diffLines: L } = (0, E.computeLineInformation)(A, R, d, m, _, this.props.alwaysShowLines), g = this.props.extraLinesSurroundingDiff < 0 ? 0 : Math.round(this.props.extraLinesSurroundingDiff), { lineBlocks: S, blocks: D } = (0, u.computeHiddenBlocks)(C, L, g);
27040
- return C.map((M, v) => {
27045
+ const { oldValue: A, newValue: R, splitView: p, disableWordDiff: d, compareMethod: m, linesOffset: _ } = this.props, { lineInformation: C, diffLines: L } = (0, E.computeLineInformation)(A, R, d, m, _, this.props.alwaysShowLines), g = this.props.extraLinesSurroundingDiff < 0 ? 0 : Math.round(this.props.extraLinesSurroundingDiff), { lineBlocks: S, blocks: D } = (0, u.computeHiddenBlocks)(C, L, g);
27046
+ return C.map((M, y) => {
27041
27047
  if (this.props.showDiffOnly) {
27042
- const w = S[v];
27048
+ const w = S[y];
27043
27049
  if (w !== void 0) {
27044
- const F = D[w].endLine === v;
27050
+ const F = D[w].endLine === y;
27045
27051
  if (!this.state.expandedBlocks.includes(w) && F)
27046
- return (0, s.jsx)(a.Fragment, { children: this.renderSkippedLineIndicator(D[w].lines, w, M.left.lineNumber, M.right.lineNumber) }, v);
27052
+ return (0, s.jsx)(a.Fragment, { children: this.renderSkippedLineIndicator(D[w].lines, w, M.left.lineNumber, M.right.lineNumber) }, y);
27047
27053
  if (!this.state.expandedBlocks.includes(w))
27048
27054
  return null;
27049
27055
  }
27050
27056
  }
27051
- return O ? this.renderSplitView(M, v) : this.renderInlineView(M, v);
27057
+ return p ? this.renderSplitView(M, y) : this.renderInlineView(M, y);
27052
27058
  });
27053
27059
  }, this.render = () => {
27054
- const { oldValue: A, newValue: R, useDarkTheme: O, leftTitle: d, rightTitle: m, splitView: _, hideLineNumbers: C, hideMarkers: L, nonce: g } = this.props;
27060
+ const { oldValue: A, newValue: R, useDarkTheme: p, leftTitle: d, rightTitle: m, splitView: _, hideLineNumbers: C, hideMarkers: L, nonce: g } = this.props;
27055
27061
  if (this.props.compareMethod !== E.DiffMethod.JSON && (typeof A != "string" || typeof R != "string"))
27056
27062
  throw Error('"oldValue" and "newValue" should be strings');
27057
- this.styles = this.computeStyles(this.props.styles, O, g);
27063
+ this.styles = this.computeStyles(this.props.styles, p, g);
27058
27064
  const S = this.renderDiff();
27059
27065
  let D = C ? 2 : 3, M = C ? 2 : 4;
27060
27066
  L && (D -= 1, M -= 1);
27061
- const v = this.props.renderGutter ? 1 : 0, U = (d || m) && (0, s.jsxs)("tr", { children: [(0, s.jsx)("td", { colSpan: (_ ? D : M) + v, className: this.styles.titleBlock, children: (0, s.jsx)("pre", { className: this.styles.contentText, children: d }) }), _ && (0, s.jsx)("td", { colSpan: D + v, className: this.styles.titleBlock, children: (0, s.jsx)("pre", { className: this.styles.contentText, children: m }) })] });
27067
+ const y = this.props.renderGutter ? 1 : 0, U = (d || m) && (0, s.jsxs)("tr", { children: [(0, s.jsx)("td", { colSpan: (_ ? D : M) + y, className: this.styles.titleBlock, children: (0, s.jsx)("pre", { className: this.styles.contentText, children: d }) }), _ && (0, s.jsx)("td", { colSpan: D + y, className: this.styles.titleBlock, children: (0, s.jsx)("pre", { className: this.styles.contentText, children: m }) })] });
27062
27068
  return (0, s.jsx)("table", { className: (0, o.default)(this.styles.diffContainer, {
27063
27069
  [this.styles.splitView]: _
27064
27070
  }), children: (0, s.jsxs)("tbody", { children: [U, S] }) });
@@ -27098,9 +27104,9 @@ function $P() {
27098
27104
  if (!o || !E || !(() => {
27099
27105
  if (i)
27100
27106
  return !0;
27101
- const p = document.head.querySelectorAll("style"), A = Array.from(p).filter((d) => d.getAttribute("data-emotion")), R = new CSSStyleSheet(), O = Array.from(A).map((d) => d.innerHTML).join(`
27107
+ const O = document.head.querySelectorAll("style"), A = Array.from(O).filter((d) => d.getAttribute("data-emotion")), R = new CSSStyleSheet(), p = Array.from(A).map((d) => d.innerHTML).join(`
27102
27108
  `);
27103
- return R.replaceSync(O), c && c.adoptedStyleSheets && !(c.adoptedStyleSheets.indexOf(R) >= 0) && A.length > 0 ? (c.adoptedStyleSheets = [...c.adoptedStyleSheets, R], s(!0), !0) : !1;
27109
+ return R.replaceSync(p), c && c.adoptedStyleSheets && !(c.adoptedStyleSheets.indexOf(R) >= 0) && A.length > 0 ? (c.adoptedStyleSheets = [...c.adoptedStyleSheets, R], s(!0), !0) : !1;
27104
27110
  })())
27105
27111
  return;
27106
27112
  const N = cc(o, { format: "html" });
@@ -27210,57 +27216,59 @@ async function TD({
27210
27216
  integrations: a,
27211
27217
  experiments: o = RE,
27212
27218
  fullPage: E = !1,
27213
- showClearEventsButton: l = !0
27214
- } = {}) {
27219
+ showClearEventsButton: l = !0,
27220
+ initialEvents: u = void 0
27221
+ } = ((c) => (c = window.__spotlight) == null ? void 0 : c.initOptions)() || {}) {
27215
27222
  if (typeof document > "u")
27216
27223
  return;
27217
- const u = { ...RE, ...o };
27224
+ const f = { ...RE, ...o };
27218
27225
  if (Gc())
27219
27226
  return;
27220
27227
  s && pp();
27221
- const c = [O1({ sidecarUrl: r })], f = {
27228
+ const N = [O1({ sidecarUrl: r })], I = {
27222
27229
  open: tD,
27223
27230
  close: nD,
27224
- experiments: u
27225
- }, [N] = await cR(a ?? c, f), I = document.createElement("div");
27226
- I.id = "sentry-spotlight-root";
27227
- const h = I.attachShadow({ mode: "open" }), p = document.createElement("div");
27228
- E ? (I.style.height = "100%", I.style.backgroundColor = np.indigo[950], p.style.height = "inherit") : (p.style.position = "absolute", p.style.top = "0", p.style.left = "0", p.style.right = "0"), h.appendChild(p);
27229
- const A = wc(_p);
27230
- h.adoptedStyleSheets = [wc($d), A];
27231
- const R = N.flatMap(
27232
- (m) => {
27233
- var _;
27234
- return ((_ = m.tabs) == null ? void 0 : _.call(m, { processedEvents: [] }).map((C) => ({
27235
- ...C,
27231
+ experiments: f
27232
+ }, [h] = await cR(a ?? N, I), O = document.createElement("div");
27233
+ O.id = "sentry-spotlight-root";
27234
+ const A = O.attachShadow({ mode: "open" }), R = document.createElement("div");
27235
+ E ? (O.style.height = "100%", O.style.backgroundColor = np.indigo[950], R.style.height = "inherit") : (R.style.position = "absolute", R.style.top = "0", R.style.left = "0", R.style.right = "0"), A.appendChild(R);
27236
+ const p = wc(_p);
27237
+ A.adoptedStyleSheets = [wc($d), p];
27238
+ const d = h.flatMap(
27239
+ (C) => {
27240
+ var L;
27241
+ return ((L = C.tabs) == null ? void 0 : L.call(C, { processedEvents: [] }).map((g) => ({
27242
+ ...g,
27236
27243
  processedEvents: []
27237
27244
  }))) || [];
27238
27245
  }
27239
- ), O = R.length ? `/${R[0].id}` : "/no-tabs";
27240
- NE.createRoot(p).render(
27246
+ ), m = d.length ? `/${d[0].id}` : "/no-tabs";
27247
+ NE.createRoot(R).render(
27241
27248
  // <React.StrictMode>
27242
- /* @__PURE__ */ T.jsx(YN, { initialEntries: [O], children: /* @__PURE__ */ T.jsx(tO, { context: f, children: /* @__PURE__ */ T.jsx(
27249
+ /* @__PURE__ */ T.jsx(YN, { initialEntries: [m], children: /* @__PURE__ */ T.jsx(tO, { context: I, children: /* @__PURE__ */ T.jsx(
27243
27250
  Ip,
27244
27251
  {
27245
- integrations: N,
27252
+ integrations: h,
27246
27253
  openOnInit: e,
27247
27254
  showTriggerButton: t,
27248
27255
  sidecarUrl: r,
27249
27256
  anchor: i,
27250
27257
  fullPage: E,
27251
- showClearEventsButton: l
27258
+ showClearEventsButton: l,
27259
+ initialEvents: u
27252
27260
  }
27253
27261
  ) }) })
27254
27262
  // </React.StrictMode>
27255
27263
  );
27256
- function d() {
27264
+ function _() {
27257
27265
  if (Gc()) {
27258
27266
  ee("Spotlight already injected, bailing.");
27259
27267
  return;
27260
27268
  }
27261
- ee("Injecting into application"), document.body.append(I);
27269
+ ee("Injecting into application"), document.body.append(O);
27262
27270
  }
27263
- document.readyState === "complete" || n ? d() : window.addEventListener("load", d), window.addEventListener("error", d);
27271
+ document.readyState === "complete" || n ? _() : window.addEventListener("load", _), window.addEventListener("error", _);
27264
27272
  }
27265
27273
  window.Spotlight && Spotlight.init();
27266
27274
  export {
@@ -27288,4 +27296,4 @@ export {
27288
27296
  Ca as t,
27289
27297
  aD as v
27290
27298
  };
27291
- //# sourceMappingURL=index-4cc92fd8.js.map
27299
+ //# sourceMappingURL=index-4373983e.js.map