@altimateai/ui-components 0.0.73 → 0.0.75-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/CoachForm.js CHANGED
@@ -2,7 +2,7 @@ import './CoachForm.css';var k3 = Object.defineProperty;
2
2
  var S3 = (t, e, n) => e in t ? k3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var ae = (t, e, n) => S3(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { j as k, E as w3, D as A3, t as v3, c as L3, b as I3, u as N3, R as R3, v as Kd, w as D3, x as O3, g as M3, y as B3 } from "./index2.js";
5
- import zl, { forwardRef as zp, useRef as Er, useEffect as xe, useState as _e, createContext as P3, useContext as F3, useReducer as $3, useImperativeHandle as H3, useCallback as Wi, useMemo as z3, useId as mo } from "react";
5
+ import zl, { forwardRef as zp, useRef as Er, useEffect as Ce, useState as _e, createContext as P3, useContext as F3, useReducer as $3, useImperativeHandle as H3, useCallback as Wi, useMemo as z3, useId as mo } from "react";
6
6
  import { g as Ue, c as cn, B as ee, as as U3, T as si, X as Tt, a4 as kn, a5 as nh, aj as Up, a1 as j3, a7 as W3, a6 as q3, I as Y3, Y as el, M as rh, N as ih, ao as ah, aq as sh, ar as V3, ap as G3, a8 as X3, a0 as Pa } from "./Stack.js";
7
7
  import { an as K3, aq as Q3, ar as Z3, as as J3, au as t_, av as e_, at as n_, ax as r_, aw as i_, b3 as Uu, b4 as Ul, b5 as a_, u as oh, A as nl, F as go, a as ju, N as jp, ak as Qa, S as s_, y as o_, f as l_, E as u_, J as c_, b1 as h_, b2 as d_, B as Wp, aJ as f_, aW as p_, aX as m_, aY as jl, b6 as Qd, aZ as g_, a_ as b_, Q as y_, T as x_, U as C_, V as Wl, a1 as __, a3 as T_, a2 as E_, a5 as k_, a7 as S_, a8 as w_, a9 as A_, aa as v_, ab as L_, b7 as I_, b8 as N_, aQ as R_, aR as D_, aS as O_, aU as M_, aT as B_, aV as P_, af as F_, ag as $_, ah as H_, ai as z_, O as U_ } from "./ToggleGroup.js";
8
8
  import { z as St } from "zod";
@@ -317,8 +317,8 @@ var Zd = {
317
317
  } }, S = "en", E = {};
318
318
  E[S] = x;
319
319
  var L = "$isDayjsObject", $ = function(_) {
320
- return _ instanceof R || !(!_ || !_[L]);
321
- }, I = function _(v, W, j) {
320
+ return _ instanceof I || !(!_ || !_[L]);
321
+ }, R = function _(v, W, j) {
322
322
  var U;
323
323
  if (!v) return S;
324
324
  if (typeof v == "string") {
@@ -334,14 +334,14 @@ var Zd = {
334
334
  }, N = function(_, v) {
335
335
  if ($(_)) return _.clone();
336
336
  var W = typeof v == "object" ? v : {};
337
- return W.date = _, W.args = arguments, new R(W);
337
+ return W.date = _, W.args = arguments, new I(W);
338
338
  }, F = w;
339
- F.l = I, F.i = $, F.w = function(_, v) {
339
+ F.l = R, F.i = $, F.w = function(_, v) {
340
340
  return N(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
341
341
  };
342
- var R = function() {
342
+ var I = function() {
343
343
  function _(W) {
344
- this.$L = I(W.locale, null, !0), this.parse(W), this.$x = this.$x || W.x || {}, this[L] = !0;
344
+ this.$L = R(W.locale, null, !0), this.parse(W), this.$x = this.$x || W.x || {}, this[L] = !0;
345
345
  }
346
346
  var v = _.prototype;
347
347
  return v.parse = function(W) {
@@ -437,13 +437,13 @@ var Zd = {
437
437
  }, v.format = function(W) {
438
438
  var j = this, U = this.$locale();
439
439
  if (!this.isValid()) return U.invalidDate || m;
440
- var X = W || "YYYY-MM-DDTHH:mm:ssZ", O = F.z(this), Y = this.$H, G = this.$m, D = this.$M, it = U.weekdays, rt = U.months, yt = U.meridiem, At = function(Ft, Ht, ie, me) {
441
- return Ft && (Ft[Ht] || Ft(j, X)) || ie[Ht].slice(0, me);
440
+ var X = W || "YYYY-MM-DDTHH:mm:ssZ", O = F.z(this), Y = this.$H, G = this.$m, D = this.$M, it = U.weekdays, rt = U.months, yt = U.meridiem, At = function(Ft, Ht, ie, ge) {
441
+ return Ft && (Ft[Ht] || Ft(j, X)) || ie[Ht].slice(0, ge);
442
442
  }, Et = function(Ft) {
443
443
  return F.s(Y % 12 || 12, Ft, "0");
444
444
  }, wt = yt || function(Ft, Ht, ie) {
445
- var me = Ft < 12 ? "AM" : "PM";
446
- return ie ? me.toLowerCase() : me;
445
+ var ge = Ft < 12 ? "AM" : "PM";
446
+ return ie ? ge.toLowerCase() : ge;
447
447
  };
448
448
  return X.replace(g, function(Ft, Ht) {
449
449
  return Ht || function(ie) {
@@ -541,7 +541,7 @@ var Zd = {
541
541
  return E[this.$L];
542
542
  }, v.locale = function(W, j) {
543
543
  if (!W) return this.$L;
544
- var U = this.clone(), X = I(W, j, !0);
544
+ var U = this.clone(), X = R(W, j, !0);
545
545
  return X && (U.$L = X), U;
546
546
  }, v.clone = function() {
547
547
  return F.w(this.$d, this);
@@ -554,14 +554,14 @@ var Zd = {
554
554
  }, v.toString = function() {
555
555
  return this.$d.toUTCString();
556
556
  }, _;
557
- }(), B = R.prototype;
557
+ }(), B = I.prototype;
558
558
  return N.prototype = B, [["$ms", a], ["$s", s], ["$m", o], ["$H", l], ["$W", u], ["$M", h], ["$y", d], ["$D", p]].forEach(function(_) {
559
559
  B[_[1]] = function(v) {
560
560
  return this.$g(v, _[0], _[1]);
561
561
  };
562
562
  }), N.extend = function(_, v) {
563
- return _.$i || (_(v, R, N), _.$i = !0), N;
564
- }, N.locale = I, N.isDayjs = $, N.unix = function(_) {
563
+ return _.$i || (_(v, I, N), _.$i = !0), N;
564
+ }, N.locale = R, N.isDayjs = $, N.unix = function(_) {
565
565
  return N(1e3 * _);
566
566
  }, N.en = E[S], N.Ls = E, N.p = {}, N;
567
567
  });
@@ -1272,14 +1272,14 @@ function nm() {
1272
1272
  implementation: E,
1273
1273
  createNodeIterator: L,
1274
1274
  createDocumentFragment: $,
1275
- getElementsByTagName: I
1275
+ getElementsByTagName: R
1276
1276
  } = n, {
1277
1277
  importNode: N
1278
1278
  } = r;
1279
1279
  let F = of();
1280
1280
  e.isSupported = typeof Zp == "function" && typeof T == "function" && E && E.createHTMLDocument !== void 0;
1281
1281
  const {
1282
- MUSTACHE_EXPR: R,
1282
+ MUSTACHE_EXPR: I,
1283
1283
  ERB_EXPR: B,
1284
1284
  TMPLIT_EXPR: _,
1285
1285
  DATA_ATTR: v,
@@ -1313,14 +1313,14 @@ function nm() {
1313
1313
  enumerable: !0,
1314
1314
  value: !1
1315
1315
  }
1316
- })), yt = null, At = null, Et = !0, wt = !0, Ft = !1, Ht = !0, ie = !1, me = !0, A = !1, st = !1, et = !1, z = !1, H = !1, K = !1, lt = !0, ct = !1;
1316
+ })), yt = null, At = null, Et = !0, wt = !0, Ft = !1, Ht = !0, ie = !1, ge = !0, A = !1, st = !1, et = !1, z = !1, H = !1, K = !1, lt = !0, ct = !1;
1317
1317
  const tt = "user-content-";
1318
1318
  let dt = !0, _t = !1, ft = {}, Q = null;
1319
1319
  const ut = Zt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
1320
1320
  let xt = null;
1321
1321
  const zt = Zt({}, ["audio", "video", "img", "source", "image", "track"]);
1322
1322
  let Qt = null;
1323
- const fe = Zt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), De = "http://www.w3.org/1998/Math/MathML", te = "http://www.w3.org/2000/svg", ke = "http://www.w3.org/1999/xhtml";
1323
+ const pe = Zt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), De = "http://www.w3.org/1998/Math/MathML", te = "http://www.w3.org/2000/svg", ke = "http://www.w3.org/1999/xhtml";
1324
1324
  let Ye = ke, ue = !1, yn = null;
1325
1325
  const xn = Zt({}, [De, te, ke], Yl);
1326
1326
  let gi = Zt({}, ["mi", "mo", "mn", "ms", "mtext"]), bi = Zt({}, ["annotation-xml"]);
@@ -1334,7 +1334,7 @@ function nm() {
1334
1334
  let V = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1335
1335
  if (!(xi && xi === V)) {
1336
1336
  if ((!V || typeof V != "object") && (V = {}), V = lr(V), Bn = // eslint-disable-next-line unicorn/prefer-includes
1337
- yi.indexOf(V.PARSER_MEDIA_TYPE) === -1 ? C3 : V.PARSER_MEDIA_TYPE, Oe = Bn === "application/xhtml+xml" ? Yl : Js, Y = Pn(V, "ALLOWED_TAGS") ? Zt({}, V.ALLOWED_TAGS, Oe) : G, D = Pn(V, "ALLOWED_ATTR") ? Zt({}, V.ALLOWED_ATTR, Oe) : it, yn = Pn(V, "ALLOWED_NAMESPACES") ? Zt({}, V.ALLOWED_NAMESPACES, Yl) : xn, Qt = Pn(V, "ADD_URI_SAFE_ATTR") ? Zt(lr(fe), V.ADD_URI_SAFE_ATTR, Oe) : fe, xt = Pn(V, "ADD_DATA_URI_TAGS") ? Zt(lr(zt), V.ADD_DATA_URI_TAGS, Oe) : zt, Q = Pn(V, "FORBID_CONTENTS") ? Zt({}, V.FORBID_CONTENTS, Oe) : ut, yt = Pn(V, "FORBID_TAGS") ? Zt({}, V.FORBID_TAGS, Oe) : lr({}), At = Pn(V, "FORBID_ATTR") ? Zt({}, V.FORBID_ATTR, Oe) : lr({}), ft = Pn(V, "USE_PROFILES") ? V.USE_PROFILES : !1, Et = V.ALLOW_ARIA_ATTR !== !1, wt = V.ALLOW_DATA_ATTR !== !1, Ft = V.ALLOW_UNKNOWN_PROTOCOLS || !1, Ht = V.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = V.SAFE_FOR_TEMPLATES || !1, me = V.SAFE_FOR_XML !== !1, A = V.WHOLE_DOCUMENT || !1, z = V.RETURN_DOM || !1, H = V.RETURN_DOM_FRAGMENT || !1, K = V.RETURN_TRUSTED_TYPE || !1, et = V.FORCE_BODY || !1, lt = V.SANITIZE_DOM !== !1, ct = V.SANITIZE_NAMED_PROPS || !1, dt = V.KEEP_CONTENT !== !1, _t = V.IN_PLACE || !1, O = V.ALLOWED_URI_REGEXP || tm, Ye = V.NAMESPACE || ke, gi = V.MATHML_TEXT_INTEGRATION_POINTS || gi, bi = V.HTML_INTEGRATION_POINTS || bi, rt = V.CUSTOM_ELEMENT_HANDLING || {}, V.CUSTOM_ELEMENT_HANDLING && Fd(V.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (rt.tagNameCheck = V.CUSTOM_ELEMENT_HANDLING.tagNameCheck), V.CUSTOM_ELEMENT_HANDLING && Fd(V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (rt.attributeNameCheck = V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), V.CUSTOM_ELEMENT_HANDLING && typeof V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (rt.allowCustomizedBuiltInElements = V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ie && (wt = !1), H && (z = !0), ft && (Y = Zt({}, nf), D = [], ft.html === !0 && (Zt(Y, ef), Zt(D, rf)), ft.svg === !0 && (Zt(Y, Gl), Zt(D, Ql), Zt(D, Os)), ft.svgFilters === !0 && (Zt(Y, Xl), Zt(D, Ql), Zt(D, Os)), ft.mathMl === !0 && (Zt(Y, Kl), Zt(D, af), Zt(D, Os))), V.ADD_TAGS && (Y === G && (Y = lr(Y)), Zt(Y, V.ADD_TAGS, Oe)), V.ADD_ATTR && (D === it && (D = lr(D)), Zt(D, V.ADD_ATTR, Oe)), V.ADD_URI_SAFE_ATTR && Zt(Qt, V.ADD_URI_SAFE_ATTR, Oe), V.FORBID_CONTENTS && (Q === ut && (Q = lr(Q)), Zt(Q, V.FORBID_CONTENTS, Oe)), dt && (Y["#text"] = !0), A && Zt(Y, ["html", "head", "body"]), Y.table && (Zt(Y, ["tbody"]), delete yt.tbody), V.TRUSTED_TYPES_POLICY) {
1337
+ yi.indexOf(V.PARSER_MEDIA_TYPE) === -1 ? C3 : V.PARSER_MEDIA_TYPE, Oe = Bn === "application/xhtml+xml" ? Yl : Js, Y = Pn(V, "ALLOWED_TAGS") ? Zt({}, V.ALLOWED_TAGS, Oe) : G, D = Pn(V, "ALLOWED_ATTR") ? Zt({}, V.ALLOWED_ATTR, Oe) : it, yn = Pn(V, "ALLOWED_NAMESPACES") ? Zt({}, V.ALLOWED_NAMESPACES, Yl) : xn, Qt = Pn(V, "ADD_URI_SAFE_ATTR") ? Zt(lr(pe), V.ADD_URI_SAFE_ATTR, Oe) : pe, xt = Pn(V, "ADD_DATA_URI_TAGS") ? Zt(lr(zt), V.ADD_DATA_URI_TAGS, Oe) : zt, Q = Pn(V, "FORBID_CONTENTS") ? Zt({}, V.FORBID_CONTENTS, Oe) : ut, yt = Pn(V, "FORBID_TAGS") ? Zt({}, V.FORBID_TAGS, Oe) : lr({}), At = Pn(V, "FORBID_ATTR") ? Zt({}, V.FORBID_ATTR, Oe) : lr({}), ft = Pn(V, "USE_PROFILES") ? V.USE_PROFILES : !1, Et = V.ALLOW_ARIA_ATTR !== !1, wt = V.ALLOW_DATA_ATTR !== !1, Ft = V.ALLOW_UNKNOWN_PROTOCOLS || !1, Ht = V.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = V.SAFE_FOR_TEMPLATES || !1, ge = V.SAFE_FOR_XML !== !1, A = V.WHOLE_DOCUMENT || !1, z = V.RETURN_DOM || !1, H = V.RETURN_DOM_FRAGMENT || !1, K = V.RETURN_TRUSTED_TYPE || !1, et = V.FORCE_BODY || !1, lt = V.SANITIZE_DOM !== !1, ct = V.SANITIZE_NAMED_PROPS || !1, dt = V.KEEP_CONTENT !== !1, _t = V.IN_PLACE || !1, O = V.ALLOWED_URI_REGEXP || tm, Ye = V.NAMESPACE || ke, gi = V.MATHML_TEXT_INTEGRATION_POINTS || gi, bi = V.HTML_INTEGRATION_POINTS || bi, rt = V.CUSTOM_ELEMENT_HANDLING || {}, V.CUSTOM_ELEMENT_HANDLING && Fd(V.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (rt.tagNameCheck = V.CUSTOM_ELEMENT_HANDLING.tagNameCheck), V.CUSTOM_ELEMENT_HANDLING && Fd(V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (rt.attributeNameCheck = V.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), V.CUSTOM_ELEMENT_HANDLING && typeof V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (rt.allowCustomizedBuiltInElements = V.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ie && (wt = !1), H && (z = !0), ft && (Y = Zt({}, nf), D = [], ft.html === !0 && (Zt(Y, ef), Zt(D, rf)), ft.svg === !0 && (Zt(Y, Gl), Zt(D, Ql), Zt(D, Os)), ft.svgFilters === !0 && (Zt(Y, Xl), Zt(D, Ql), Zt(D, Os)), ft.mathMl === !0 && (Zt(Y, Kl), Zt(D, af), Zt(D, Os))), V.ADD_TAGS && (Y === G && (Y = lr(Y)), Zt(Y, V.ADD_TAGS, Oe)), V.ADD_ATTR && (D === it && (D = lr(D)), Zt(D, V.ADD_ATTR, Oe)), V.ADD_URI_SAFE_ATTR && Zt(Qt, V.ADD_URI_SAFE_ATTR, Oe), V.FORBID_CONTENTS && (Q === ut && (Q = lr(Q)), Zt(Q, V.FORBID_CONTENTS, Oe)), dt && (Y["#text"] = !0), A && Zt(Y, ["html", "head", "body"]), Y.table && (Zt(Y, ["tbody"]), delete yt.tbody), V.TRUSTED_TYPES_POLICY) {
1338
1338
  if (typeof V.TRUSTED_TYPES_POLICY.createHTML != "function")
1339
1339
  throw ba('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1340
1340
  if (typeof V.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -1350,8 +1350,8 @@ function nm() {
1350
1350
  namespaceURI: Ye,
1351
1351
  tagName: "template"
1352
1352
  });
1353
- const Ot = Js(V.tagName), ge = Js(bt.tagName);
1354
- return yn[V.namespaceURI] ? V.namespaceURI === te ? bt.namespaceURI === ke ? Ot === "svg" : bt.namespaceURI === De ? Ot === "svg" && (ge === "annotation-xml" || gi[ge]) : !!$d[Ot] : V.namespaceURI === De ? bt.namespaceURI === ke ? Ot === "math" : bt.namespaceURI === te ? Ot === "math" && bi[ge] : !!Hd[Ot] : V.namespaceURI === ke ? bt.namespaceURI === te && !bi[ge] || bt.namespaceURI === De && !gi[ge] ? !1 : !Hd[Ot] && (Rs[Ot] || !$d[Ot]) : !!(Bn === "application/xhtml+xml" && yn[V.namespaceURI]) : !1;
1353
+ const Ot = Js(V.tagName), be = Js(bt.tagName);
1354
+ return yn[V.namespaceURI] ? V.namespaceURI === te ? bt.namespaceURI === ke ? Ot === "svg" : bt.namespaceURI === De ? Ot === "svg" && (be === "annotation-xml" || gi[be]) : !!$d[Ot] : V.namespaceURI === De ? bt.namespaceURI === ke ? Ot === "math" : bt.namespaceURI === te ? Ot === "math" && bi[be] : !!Hd[Ot] : V.namespaceURI === ke ? bt.namespaceURI === te && !bi[be] || bt.namespaceURI === De && !gi[be] ? !1 : !Hd[Ot] && (Rs[Ot] || !$d[Ot]) : !!(Bn === "application/xhtml+xml" && yn[V.namespaceURI]) : !1;
1355
1355
  }, Yn = function(V) {
1356
1356
  ma(e.removed, {
1357
1357
  element: V
@@ -1393,21 +1393,21 @@ function nm() {
1393
1393
  Ot = Se && Se[0];
1394
1394
  }
1395
1395
  Bn === "application/xhtml+xml" && Ye === ke && (V = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + V + "</body></html>");
1396
- const ge = w ? w.createHTML(V) : V;
1396
+ const be = w ? w.createHTML(V) : V;
1397
1397
  if (Ye === ke)
1398
1398
  try {
1399
- bt = new f().parseFromString(ge, Bn);
1399
+ bt = new f().parseFromString(be, Bn);
1400
1400
  } catch {
1401
1401
  }
1402
1402
  if (!bt || !bt.documentElement) {
1403
1403
  bt = E.createDocument(Ye, "template", null);
1404
1404
  try {
1405
- bt.documentElement.innerHTML = ue ? S : ge;
1405
+ bt.documentElement.innerHTML = ue ? S : be;
1406
1406
  } catch {
1407
1407
  }
1408
1408
  }
1409
1409
  const Ve = bt.body || bt.documentElement;
1410
- return V && Ot && Ve.insertBefore(n.createTextNode(Ot), Ve.childNodes[0] || null), Ye === ke ? I.call(bt, A ? "html" : "body")[0] : A ? bt.documentElement : Ve;
1410
+ return V && Ot && Ve.insertBefore(n.createTextNode(Ot), Ve.childNodes[0] || null), Ye === ke ? R.call(bt, A ? "html" : "body")[0] : A ? bt.documentElement : Ve;
1411
1411
  }, Ud = function(V) {
1412
1412
  return L.call(
1413
1413
  V.ownerDocument || V,
@@ -1434,25 +1434,25 @@ function nm() {
1434
1434
  if (ar(F.uponSanitizeElement, V, {
1435
1435
  tagName: Ot,
1436
1436
  allowedTags: Y
1437
- }), me && V.hasChildNodes() && !jd(V.firstElementChild) && rn(/<[/\w!]/g, V.innerHTML) && rn(/<[/\w!]/g, V.textContent) || V.nodeType === xa.progressingInstruction || me && V.nodeType === xa.comment && rn(/<[/\w]/g, V.data))
1437
+ }), ge && V.hasChildNodes() && !jd(V.firstElementChild) && rn(/<[/\w!]/g, V.innerHTML) && rn(/<[/\w!]/g, V.textContent) || V.nodeType === xa.progressingInstruction || ge && V.nodeType === xa.comment && rn(/<[/\w]/g, V.data))
1438
1438
  return Yn(V), !0;
1439
1439
  if (!Y[Ot] || yt[Ot]) {
1440
1440
  if (!yt[Ot] && Yd(Ot) && (rt.tagNameCheck instanceof RegExp && rn(rt.tagNameCheck, Ot) || rt.tagNameCheck instanceof Function && rt.tagNameCheck(Ot)))
1441
1441
  return !1;
1442
1442
  if (dt && !Q[Ot]) {
1443
- const ge = T(V) || V.parentNode, Ve = x(V) || V.childNodes;
1444
- if (Ve && ge) {
1443
+ const be = T(V) || V.parentNode, Ve = x(V) || V.childNodes;
1444
+ if (Ve && be) {
1445
1445
  const Se = Ve.length;
1446
1446
  for (let hn = Se - 1; hn >= 0; --hn) {
1447
1447
  const sr = m(Ve[hn], !0);
1448
- sr.__removalCount = (V.__removalCount || 0) + 1, ge.insertBefore(sr, g(V));
1448
+ sr.__removalCount = (V.__removalCount || 0) + 1, be.insertBefore(sr, g(V));
1449
1449
  }
1450
1450
  }
1451
1451
  }
1452
1452
  return Yn(V), !0;
1453
1453
  }
1454
- return V instanceof l && !T3(V) || (Ot === "noscript" || Ot === "noembed" || Ot === "noframes") && rn(/<\/no(script|embed|frames)/i, V.innerHTML) ? (Yn(V), !0) : (ie && V.nodeType === xa.text && (bt = V.textContent, Ds([R, B, _], (ge) => {
1455
- bt = ga(bt, ge, " ");
1454
+ return V instanceof l && !T3(V) || (Ot === "noscript" || Ot === "noembed" || Ot === "noframes") && rn(/<\/no(script|embed|frames)/i, V.innerHTML) ? (Yn(V), !0) : (ie && V.nodeType === xa.text && (bt = V.textContent, Ds([I, B, _], (be) => {
1455
+ bt = ga(bt, be, " ");
1456
1456
  }), V.textContent !== bt && (ma(e.removed, {
1457
1457
  element: V.cloneNode()
1458
1458
  }), V.textContent = bt)), ar(F.afterSanitizeElements, V, null), !1);
@@ -1499,15 +1499,15 @@ function nm() {
1499
1499
  allowedAttributes: D,
1500
1500
  forceKeepAttr: void 0
1501
1501
  };
1502
- let ge = bt.length;
1503
- for (; ge--; ) {
1504
- const Ve = bt[ge], {
1502
+ let be = bt.length;
1503
+ for (; be--; ) {
1504
+ const Ve = bt[be], {
1505
1505
  name: Se,
1506
1506
  namespaceURI: hn,
1507
1507
  value: sr
1508
1508
  } = Ve, Ci = Oe(Se), Hl = sr;
1509
1509
  let $e = Se === "value" ? Hl : FT(Hl);
1510
- if (Ot.attrName = Ci, Ot.attrValue = $e, Ot.keepAttr = !0, Ot.forceKeepAttr = void 0, ar(F.uponSanitizeAttribute, V, Ot), $e = Ot.attrValue, ct && (Ci === "id" || Ci === "name") && (Br(Se, V), $e = tt + $e), me && rn(/((--!?|])>)|<\/(style|title|textarea)/i, $e)) {
1510
+ if (Ot.attrName = Ci, Ot.attrValue = $e, Ot.keepAttr = !0, Ot.forceKeepAttr = void 0, ar(F.uponSanitizeAttribute, V, Ot), $e = Ot.attrValue, ct && (Ci === "id" || Ci === "name") && (Br(Se, V), $e = tt + $e), ge && rn(/((--!?|])>)|<\/(style|title|textarea)/i, $e)) {
1511
1511
  Br(Se, V);
1512
1512
  continue;
1513
1513
  }
@@ -1525,7 +1525,7 @@ function nm() {
1525
1525
  Br(Se, V);
1526
1526
  continue;
1527
1527
  }
1528
- ie && Ds([R, B, _], (Xd) => {
1528
+ ie && Ds([I, B, _], (Xd) => {
1529
1529
  $e = ga($e, Xd, " ");
1530
1530
  });
1531
1531
  const Gd = Oe(V.nodeName);
@@ -1560,7 +1560,7 @@ function nm() {
1560
1560
  ar(F.afterSanitizeShadowDOM, V, null);
1561
1561
  };
1562
1562
  return e.sanitize = function(Bt) {
1563
- let V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, bt = null, Ot = null, ge = null, Ve = null;
1563
+ let V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, bt = null, Ot = null, be = null, Ve = null;
1564
1564
  if (ue = !Bt, ue && (Bt = "<!-->"), typeof Bt != "string" && !jd(Bt))
1565
1565
  if (typeof Bt.toString == "function") {
1566
1566
  if (Bt = Bt.toString(), typeof Bt != "string")
@@ -1586,8 +1586,8 @@ function nm() {
1586
1586
  }
1587
1587
  bt && et && Yn(bt.firstChild);
1588
1588
  const Se = Ud(_t ? Bt : bt);
1589
- for (; ge = Se.nextNode(); )
1590
- Wd(ge), Vd(ge), ge.content instanceof a && E3(ge.content);
1589
+ for (; be = Se.nextNode(); )
1590
+ Wd(be), Vd(be), be.content instanceof a && E3(be.content);
1591
1591
  if (_t)
1592
1592
  return Bt;
1593
1593
  if (z) {
@@ -1600,7 +1600,7 @@ function nm() {
1600
1600
  }
1601
1601
  let hn = A ? bt.outerHTML : bt.innerHTML;
1602
1602
  return A && Y["!doctype"] && bt.ownerDocument && bt.ownerDocument.doctype && bt.ownerDocument.doctype.name && rn(em, bt.ownerDocument.doctype.name) && (hn = "<!DOCTYPE " + bt.ownerDocument.doctype.name + `>
1603
- ` + hn), ie && Ds([R, B, _], (sr) => {
1603
+ ` + hn), ie && Ds([I, B, _], (sr) => {
1604
1604
  hn = ga(hn, sr, " ");
1605
1605
  }), w && K ? w.createHTML(hn) : hn;
1606
1606
  }, e.setConfig = function() {
@@ -1610,8 +1610,8 @@ function nm() {
1610
1610
  xi = null, st = !1;
1611
1611
  }, e.isValidAttribute = function(Bt, V, bt) {
1612
1612
  xi || Fl({});
1613
- const Ot = Oe(Bt), ge = Oe(V);
1614
- return qd(Ot, ge, bt);
1613
+ const Ot = Oe(Bt), be = Oe(V);
1614
+ return qd(Ot, be, bt);
1615
1615
  }, e.addHook = function(Bt, V) {
1616
1616
  typeof V == "function" && ma(F[Bt], V);
1617
1617
  }, e.removeHook = function(Bt, V) {
@@ -5334,15 +5334,15 @@ var Ke = {
5334
5334
  function Na(t, e) {
5335
5335
  if (t === void 0 || e === void 0)
5336
5336
  return { angle: 0, deltaX: 0, deltaY: 0 };
5337
- t = ye(t), e = ye(e);
5337
+ t = xe(t), e = xe(e);
5338
5338
  const [n, r] = [t.x, t.y], [i, a] = [e.x, e.y], s = i - n, o = a - r;
5339
5339
  return { angle: Math.atan(o / s), deltaX: s, deltaY: o };
5340
5340
  }
5341
5341
  C(Na, "calculateDeltaAndAngle");
5342
- var ye = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "pointTransformer"), yS = /* @__PURE__ */ C((t) => ({
5342
+ var xe = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "pointTransformer"), yS = /* @__PURE__ */ C((t) => ({
5343
5343
  x: /* @__PURE__ */ C(function(e, n, r) {
5344
5344
  let i = 0;
5345
- const a = ye(r[0]).x < ye(r[r.length - 1]).x ? "left" : "right";
5345
+ const a = xe(r[0]).x < xe(r[r.length - 1]).x ? "left" : "right";
5346
5346
  if (n === 0 && Object.hasOwn(Ke, t.arrowTypeStart)) {
5347
5347
  const { angle: d, deltaX: p } = Na(r[0], r[1]);
5348
5348
  i = Ke[t.arrowTypeStart] * Math.cos(d) * (p >= 0 ? 1 : -1);
@@ -5354,10 +5354,10 @@ var ye = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "
5354
5354
  i = Ke[t.arrowTypeEnd] * Math.cos(d) * (p >= 0 ? 1 : -1);
5355
5355
  }
5356
5356
  const s = Math.abs(
5357
- ye(e).x - ye(r[r.length - 1]).x
5357
+ xe(e).x - xe(r[r.length - 1]).x
5358
5358
  ), o = Math.abs(
5359
- ye(e).y - ye(r[r.length - 1]).y
5360
- ), l = Math.abs(ye(e).x - ye(r[0]).x), u = Math.abs(ye(e).y - ye(r[0]).y), c = Ke[t.arrowTypeStart], h = Ke[t.arrowTypeEnd], f = 1;
5359
+ xe(e).y - xe(r[r.length - 1]).y
5360
+ ), l = Math.abs(xe(e).x - xe(r[0]).x), u = Math.abs(xe(e).y - xe(r[0]).y), c = Ke[t.arrowTypeStart], h = Ke[t.arrowTypeEnd], f = 1;
5361
5361
  if (s < h && s > 0 && o < h) {
5362
5362
  let d = h + f - s;
5363
5363
  d *= a === "right" ? -1 : 1, i -= d;
@@ -5366,11 +5366,11 @@ var ye = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "
5366
5366
  let d = c + f - l;
5367
5367
  d *= a === "right" ? -1 : 1, i += d;
5368
5368
  }
5369
- return ye(e).x + i;
5369
+ return xe(e).x + i;
5370
5370
  }, "x"),
5371
5371
  y: /* @__PURE__ */ C(function(e, n, r) {
5372
5372
  let i = 0;
5373
- const a = ye(r[0]).y < ye(r[r.length - 1]).y ? "down" : "up";
5373
+ const a = xe(r[0]).y < xe(r[r.length - 1]).y ? "down" : "up";
5374
5374
  if (n === 0 && Object.hasOwn(Ke, t.arrowTypeStart)) {
5375
5375
  const { angle: d, deltaY: p } = Na(r[0], r[1]);
5376
5376
  i = Ke[t.arrowTypeStart] * Math.abs(Math.sin(d)) * (p >= 0 ? 1 : -1);
@@ -5382,10 +5382,10 @@ var ye = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "
5382
5382
  i = Ke[t.arrowTypeEnd] * Math.abs(Math.sin(d)) * (p >= 0 ? 1 : -1);
5383
5383
  }
5384
5384
  const s = Math.abs(
5385
- ye(e).y - ye(r[r.length - 1]).y
5385
+ xe(e).y - xe(r[r.length - 1]).y
5386
5386
  ), o = Math.abs(
5387
- ye(e).x - ye(r[r.length - 1]).x
5388
- ), l = Math.abs(ye(e).y - ye(r[0]).y), u = Math.abs(ye(e).x - ye(r[0]).x), c = Ke[t.arrowTypeStart], h = Ke[t.arrowTypeEnd], f = 1;
5387
+ xe(e).x - xe(r[r.length - 1]).x
5388
+ ), l = Math.abs(xe(e).y - xe(r[0]).y), u = Math.abs(xe(e).x - xe(r[0]).x), c = Ke[t.arrowTypeStart], h = Ke[t.arrowTypeEnd], f = 1;
5389
5389
  if (s < h && s > 0 && o < h) {
5390
5390
  let d = h + f - s;
5391
5391
  d *= a === "up" ? -1 : 1, i -= d;
@@ -5394,7 +5394,7 @@ var ye = /* @__PURE__ */ C((t) => Array.isArray(t) ? { x: t[0], y: t[1] } : t, "
5394
5394
  let d = c + f - l;
5395
5395
  d *= a === "up" ? -1 : 1, i += d;
5396
5396
  }
5397
- return ye(e).y + i;
5397
+ return xe(e).y + i;
5398
5398
  }, "y")
5399
5399
  }), "getLineFunctionsWithOffset"), Lh = /* @__PURE__ */ C(({
5400
5400
  flowchart: t
@@ -5882,11 +5882,11 @@ function Qw(t) {
5882
5882
  var n = Xw.call(e, "constructor") && e.constructor;
5883
5883
  return typeof n == "function" && n instanceof n && D2.call(n) == Kw;
5884
5884
  }
5885
- var Zw = "[object Arguments]", Jw = "[object Array]", tA = "[object Boolean]", eA = "[object Date]", nA = "[object Error]", rA = "[object Function]", iA = "[object Map]", aA = "[object Number]", sA = "[object Object]", oA = "[object RegExp]", lA = "[object Set]", uA = "[object String]", cA = "[object WeakMap]", hA = "[object ArrayBuffer]", dA = "[object DataView]", fA = "[object Float32Array]", pA = "[object Float64Array]", mA = "[object Int8Array]", gA = "[object Int16Array]", bA = "[object Int32Array]", yA = "[object Uint8Array]", xA = "[object Uint8ClampedArray]", CA = "[object Uint16Array]", _A = "[object Uint32Array]", pe = {};
5886
- pe[fA] = pe[pA] = pe[mA] = pe[gA] = pe[bA] = pe[yA] = pe[xA] = pe[CA] = pe[_A] = !0;
5887
- pe[Zw] = pe[Jw] = pe[hA] = pe[tA] = pe[dA] = pe[eA] = pe[nA] = pe[rA] = pe[iA] = pe[aA] = pe[sA] = pe[oA] = pe[lA] = pe[uA] = pe[cA] = !1;
5885
+ var Zw = "[object Arguments]", Jw = "[object Array]", tA = "[object Boolean]", eA = "[object Date]", nA = "[object Error]", rA = "[object Function]", iA = "[object Map]", aA = "[object Number]", sA = "[object Object]", oA = "[object RegExp]", lA = "[object Set]", uA = "[object String]", cA = "[object WeakMap]", hA = "[object ArrayBuffer]", dA = "[object DataView]", fA = "[object Float32Array]", pA = "[object Float64Array]", mA = "[object Int8Array]", gA = "[object Int16Array]", bA = "[object Int32Array]", yA = "[object Uint8Array]", xA = "[object Uint8ClampedArray]", CA = "[object Uint16Array]", _A = "[object Uint32Array]", me = {};
5886
+ me[fA] = me[pA] = me[mA] = me[gA] = me[bA] = me[yA] = me[xA] = me[CA] = me[_A] = !0;
5887
+ me[Zw] = me[Jw] = me[hA] = me[tA] = me[dA] = me[eA] = me[nA] = me[rA] = me[iA] = me[aA] = me[sA] = me[oA] = me[lA] = me[uA] = me[cA] = !1;
5888
5888
  function TA(t) {
5889
- return ys(t) && N2(t.length) && !!pe[ia(t)];
5889
+ return ys(t) && N2(t.length) && !!me[ia(t)];
5890
5890
  }
5891
5891
  function EA(t) {
5892
5892
  return function(e) {
@@ -8334,10 +8334,10 @@ function _1(t, e, n, r, i, a, s, o, l, u) {
8334
8334
  p = l && p > d ? d + 120 * Math.PI / 180 * 1 : d + 120 * Math.PI / 180 * -1, f = _1(n = m + i * Math.cos(p), r = b + a * Math.sin(p), _, v, i, a, s, 0, l, [p, B, m, b]);
8335
8335
  }
8336
8336
  g = p - d;
8337
- const x = Math.cos(d), T = Math.sin(d), w = Math.cos(p), S = Math.sin(p), E = Math.tan(g / 4), L = 4 / 3 * i * E, $ = 4 / 3 * a * E, I = [t, e], N = [t + L * T, e - $ * x], F = [n + L * S, r - $ * w], R = [n, r];
8338
- if (N[0] = 2 * I[0] - N[0], N[1] = 2 * I[1] - N[1], u) return [N, F, R].concat(f);
8337
+ const x = Math.cos(d), T = Math.sin(d), w = Math.cos(p), S = Math.sin(p), E = Math.tan(g / 4), L = 4 / 3 * i * E, $ = 4 / 3 * a * E, R = [t, e], N = [t + L * T, e - $ * x], F = [n + L * S, r - $ * w], I = [n, r];
8338
+ if (N[0] = 2 * R[0] - N[0], N[1] = 2 * R[1] - N[1], u) return [N, F, I].concat(f);
8339
8339
  {
8340
- f = [N, F, R].concat(f);
8340
+ f = [N, F, I].concat(f);
8341
8341
  const B = [];
8342
8342
  for (let _ = 0; _ < f.length; _ += 3) {
8343
8343
  const v = Ea(f[_][0], f[_][1], c), W = Ea(f[_ + 1][0], f[_ + 1][1], c), j = Ea(f[_ + 2][0], f[_ + 2][1], c);
@@ -8686,8 +8686,8 @@ class Wo {
8686
8686
  let L = b, $ = g;
8687
8687
  for (; L < 0; ) L += 2 * Math.PI, $ += 2 * Math.PI;
8688
8688
  $ - L > 2 * Math.PI && (L = 0, $ = 2 * Math.PI);
8689
- const I = ($ - L) / x.curveStepCount, N = [];
8690
- for (let F = L; F <= $; F += I) N.push([T + S * Math.cos(F), w + E * Math.sin(F)]);
8689
+ const R = ($ - L) / x.curveStepCount, N = [];
8690
+ for (let F = L; F <= $; F += R) N.push([T + S * Math.cos(F), w + E * Math.sin(F)]);
8691
8691
  return N.push([T + S * Math.cos($), w + E * Math.sin($)]), N.push([T, w]), Ti([N], x);
8692
8692
  }(e, n, r, i, a, s, u));
8693
8693
  return u.stroke !== Cn && c.push(h), this._d("arc", c, u);
@@ -9166,8 +9166,8 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9166
9166
  stroke: s,
9167
9167
  fillWeight: 3,
9168
9168
  seed: i
9169
- }), I = L.path(Dr(x, T, b, g, 0), $);
9170
- w = h.insert(() => (ot.debug("Rough node insert CXC", I), I), ":first-child"), w.select("path:nth-child(2)").attr("style", u.join(";")), w.select("path").attr("style", c.join(";").replace("fill", "stroke"));
9169
+ }), R = L.path(Dr(x, T, b, g, 0), $);
9170
+ w = h.insert(() => (ot.debug("Rough node insert CXC", R), R), ":first-child"), w.select("path:nth-child(2)").attr("style", u.join(";")), w.select("path").attr("style", c.join(";").replace("fill", "stroke"));
9171
9171
  } else
9172
9172
  w = h.insert("rect", ":first-child"), w.attr("style", l).attr("rx", e.rx).attr("ry", e.ry).attr("x", x).attr("y", T).attr("width", b).attr("height", g);
9173
9173
  const { subGraphTitleTopMargin: S } = Lh(n);
@@ -9196,8 +9196,8 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9196
9196
  const d = h.node().appendChild(await Xr(e.label, e.labelStyle, void 0, !0));
9197
9197
  let p = d.getBBox();
9198
9198
  if (Re(n.flowchart.htmlLabels)) {
9199
- const I = d.children[0], N = ne(d);
9200
- p = I.getBoundingClientRect(), N.attr("width", p.width), N.attr("height", p.height);
9199
+ const R = d.children[0], N = ne(d);
9200
+ p = R.getBoundingClientRect(), N.attr("width", p.width), N.attr("height", p.height);
9201
9201
  }
9202
9202
  const m = 0 * e.padding, b = m / 2, g = (e.width <= p.width + e.padding ? p.width + e.padding : e.width) + m;
9203
9203
  e.width <= p.width + e.padding ? e.diff = (g - e.width) / 2 - e.padding : e.diff = -e.padding;
@@ -9206,7 +9206,7 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9206
9206
  const E = e.y - e.height / 2 - b + p.height + 2;
9207
9207
  let L;
9208
9208
  if (e.look === "handDrawn") {
9209
- const I = e.cssClasses.includes("statediagram-cluster-alt"), N = Lt.svg(u), F = e.rx || e.ry ? N.path(Dr(w, S, g, x, 10), {
9209
+ const R = e.cssClasses.includes("statediagram-cluster-alt"), N = Lt.svg(u), F = e.rx || e.ry ? N.path(Dr(w, S, g, x, 10), {
9210
9210
  roughness: 0.7,
9211
9211
  fill: o,
9212
9212
  fillStyle: "solid",
@@ -9214,13 +9214,13 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9214
9214
  seed: i
9215
9215
  }) : N.rectangle(w, S, g, x, { seed: i });
9216
9216
  L = u.insert(() => F, ":first-child");
9217
- const R = N.rectangle(w, E, g, T, {
9218
- fill: I ? a : s,
9219
- fillStyle: I ? "hachure" : "solid",
9217
+ const I = N.rectangle(w, E, g, T, {
9218
+ fill: R ? a : s,
9219
+ fillStyle: R ? "hachure" : "solid",
9220
9220
  stroke: l,
9221
9221
  seed: i
9222
9222
  });
9223
- L = u.insert(() => F, ":first-child"), f = u.insert(() => R);
9223
+ L = u.insert(() => F, ":first-child"), f = u.insert(() => I);
9224
9224
  } else
9225
9225
  L = c.insert("rect", ":first-child"), L.attr("class", "outer").attr("x", w).attr("y", S).attr("width", g).attr("height", x).attr("data-look", e.look), f.attr("class", "inner").attr("x", w).attr("y", E).attr("width", g).attr("height", T);
9226
9226
  h.attr(
@@ -9228,8 +9228,8 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9228
9228
  `translate(${e.x - p.width / 2}, ${S + 1 - (Re(n.flowchart.htmlLabels) ? 0 : 3)})`
9229
9229
  );
9230
9230
  const $ = L.node().getBBox();
9231
- return e.height = $.height, e.offsetX = 0, e.offsetY = p.height - e.padding / 2, e.labelBBox = p, e.intersect = function(I) {
9232
- return sa(e, I);
9231
+ return e.height = $.height, e.offsetX = 0, e.offsetY = p.height - e.padding / 2, e.labelBBox = p, e.intersect = function(R) {
9232
+ return sa(e, R);
9233
9233
  }, { cluster: u, labelBBox: p };
9234
9234
  }, "roundedWithTitle"), W5 = /* @__PURE__ */ C(async (t, e) => {
9235
9235
  ot.info("Creating subgraph rect for ", e.id, e);
@@ -9257,8 +9257,8 @@ var z5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9257
9257
  stroke: s,
9258
9258
  fillWeight: 4,
9259
9259
  seed: i
9260
- }), I = L.path(Dr(x, T, b, g, e.rx), $);
9261
- w = h.insert(() => (ot.debug("Rough node insert CXC", I), I), ":first-child"), w.select("path:nth-child(2)").attr("style", u.join(";")), w.select("path").attr("style", c.join(";").replace("fill", "stroke"));
9260
+ }), R = L.path(Dr(x, T, b, g, e.rx), $);
9261
+ w = h.insert(() => (ot.debug("Rough node insert CXC", R), R), ":first-child"), w.select("path:nth-child(2)").attr("style", u.join(";")), w.select("path").attr("style", c.join(";").replace("fill", "stroke"));
9262
9262
  } else
9263
9263
  w = h.insert("rect", ":first-child"), w.attr("style", l).attr("rx", e.rx).attr("ry", e.ry).attr("x", x).attr("y", T).attr("width", b).attr("height", g);
9264
9264
  const { subGraphTitleTopMargin: S } = Lh(n);
@@ -9402,7 +9402,7 @@ function wc(t, e, n, r, i, a, s) {
9402
9402
  s && S < 0 && (S += 2 * Math.PI), !s && S > 0 && (S -= 2 * Math.PI);
9403
9403
  const E = [];
9404
9404
  for (let L = 0; L < 20; L++) {
9405
- const $ = L / 19, I = T + $ * S, N = g + i * Math.cos(I), F = x + a * Math.sin(I);
9405
+ const $ = L / 19, R = T + $ * S, N = g + i * Math.cos(R), F = x + a * Math.sin(R);
9406
9406
  E.push({ x: N, y: F });
9407
9407
  }
9408
9408
  return E;
@@ -9640,8 +9640,8 @@ async function j1(t, e) {
9640
9640
  return $.insert(() => L, ":first-child").attr("stroke-opacity", 0), $.insert(() => x, ":first-child"), $.insert(() => S, ":first-child"), $.attr("class", "text"), c && e.look !== "handDrawn" && $.selectAll("path").attr("style", c), r && e.look !== "handDrawn" && $.selectAll("path").attr("style", r), $.attr("transform", `translate(${u - u / 4}, 0)`), s.attr(
9641
9641
  "transform",
9642
9642
  `translate(${-o / 2 + (e.padding ?? 0) / 2 - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) / 2 - (a.y - (a.top ?? 0))})`
9643
- ), Dt(e, $), e.intersect = function(I) {
9644
- return kt.polygon(e, d, I);
9643
+ ), Dt(e, $), e.intersect = function(R) {
9644
+ return kt.polygon(e, d, R);
9645
9645
  }, i;
9646
9646
  }
9647
9647
  C(j1, "curlyBraces");
@@ -9860,25 +9860,25 @@ async function tb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9860
9860
  e.width = Math.max(o, l ?? 0);
9861
9861
  const { shapeSvg: u, bbox: c, label: h } = await Ut(t, e, "icon-shape default"), f = e.pos === "t", d = o, p = o, { nodeBorder: m } = n, { stylesMap: b } = ra(e), g = -p / 2, x = -d / 2, T = e.label ? 8 : 0, w = Lt.svg(u), S = It(e, { stroke: "none", fill: "none" });
9862
9862
  e.look !== "handDrawn" && (S.roughness = 0, S.fillStyle = "solid");
9863
- const E = w.rectangle(g, x, p, d, S), L = Math.max(p, c.width), $ = d + c.height + T, I = w.rectangle(-L / 2, -$ / 2, L, $, {
9863
+ const E = w.rectangle(g, x, p, d, S), L = Math.max(p, c.width), $ = d + c.height + T, R = w.rectangle(-L / 2, -$ / 2, L, $, {
9864
9864
  ...S,
9865
9865
  fill: "transparent",
9866
9866
  stroke: "none"
9867
- }), N = u.insert(() => E, ":first-child"), F = u.insert(() => I);
9867
+ }), N = u.insert(() => E, ":first-child"), F = u.insert(() => R);
9868
9868
  if (e.icon) {
9869
- const R = u.append("g");
9870
- R.html(
9869
+ const I = u.append("g");
9870
+ I.html(
9871
9871
  `<g>${await Cs(e.icon, {
9872
9872
  height: o,
9873
9873
  width: o,
9874
9874
  fallbackPrefix: ""
9875
9875
  })}</g>`
9876
9876
  );
9877
- const B = R.node().getBBox(), _ = B.width, v = B.height, W = B.x, j = B.y;
9878
- R.attr(
9877
+ const B = I.node().getBBox(), _ = B.width, v = B.height, W = B.x, j = B.y;
9878
+ I.attr(
9879
9879
  "transform",
9880
9880
  `translate(${-_ / 2 - W},${f ? c.height / 2 + T / 2 - v / 2 - j : -c.height / 2 - T / 2 - v / 2 - j})`
9881
- ), R.attr("style", `color: ${b.get("stroke") ?? m};`);
9881
+ ), I.attr("style", `color: ${b.get("stroke") ?? m};`);
9882
9882
  }
9883
9883
  return h.attr(
9884
9884
  "transform",
@@ -9886,9 +9886,9 @@ async function tb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9886
9886
  ), N.attr(
9887
9887
  "transform",
9888
9888
  `translate(0,${f ? c.height / 2 + T / 2 : -c.height / 2 - T / 2})`
9889
- ), Dt(e, F), e.intersect = function(R) {
9890
- if (ot.info("iconSquare intersect", e, R), !e.label)
9891
- return kt.rect(e, R);
9889
+ ), Dt(e, F), e.intersect = function(I) {
9890
+ if (ot.info("iconSquare intersect", e, I), !e.label)
9891
+ return kt.rect(e, I);
9892
9892
  const B = e.x ?? 0, _ = e.y ?? 0, v = e.height ?? 0;
9893
9893
  let W = [];
9894
9894
  return f ? W = [
@@ -9909,7 +9909,7 @@ async function tb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9909
9909
  { x: B - c.width / 2, y: _ + v / 2 },
9910
9910
  { x: B - c.width / 2, y: _ - v / 2 + d },
9911
9911
  { x: B - p / 2, y: _ - v / 2 + d }
9912
- ], kt.polygon(e, W, R);
9912
+ ], kt.polygon(e, W, I);
9913
9913
  }, u;
9914
9914
  }
9915
9915
  C(tb, "icon");
@@ -9930,14 +9930,14 @@ async function eb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9930
9930
  fallbackPrefix: ""
9931
9931
  })}</g>`
9932
9932
  );
9933
- const E = S.node().getBBox(), L = E.width, $ = E.height, I = E.x, N = E.y, F = Math.max(L, $) * Math.SQRT2 + f * 2, R = x.circle(0, 0, F, T), B = Math.max(F, c.width), _ = F + c.height + d, v = x.rectangle(-B / 2, -_ / 2, B, _, {
9933
+ const E = S.node().getBBox(), L = E.width, $ = E.height, R = E.x, N = E.y, F = Math.max(L, $) * Math.SQRT2 + f * 2, I = x.circle(0, 0, F, T), B = Math.max(F, c.width), _ = F + c.height + d, v = x.rectangle(-B / 2, -_ / 2, B, _, {
9934
9934
  ...T,
9935
9935
  fill: "transparent",
9936
9936
  stroke: "none"
9937
- }), W = u.insert(() => R, ":first-child"), j = u.insert(() => v);
9937
+ }), W = u.insert(() => I, ":first-child"), j = u.insert(() => v);
9938
9938
  return S.attr(
9939
9939
  "transform",
9940
- `translate(${-L / 2 - I},${p ? c.height / 2 + d / 2 - $ / 2 - N : -c.height / 2 - d / 2 - $ / 2 - N})`
9940
+ `translate(${-L / 2 - R},${p ? c.height / 2 + d / 2 - $ / 2 - N : -c.height / 2 - d / 2 - $ / 2 - N})`
9941
9941
  ), S.attr("style", `color: ${g.get("stroke") ?? m};`), h.attr(
9942
9942
  "transform",
9943
9943
  `translate(${-c.width / 2 - (c.x - (c.left ?? 0))},${p ? -_ / 2 : _ / 2 - c.height})`
@@ -9962,11 +9962,11 @@ async function nb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9962
9962
  e.look !== "handDrawn" && (L.roughness = 0, L.fillStyle = "solid");
9963
9963
  const $ = x.get("fill");
9964
9964
  L.stroke = $ ?? g;
9965
- const I = E.path(Dr(T, w, m, p, 5), L), N = Math.max(m, c.width), F = p + c.height + S, R = E.rectangle(-N / 2, -F / 2, N, F, {
9965
+ const R = E.path(Dr(T, w, m, p, 5), L), N = Math.max(m, c.width), F = p + c.height + S, I = E.rectangle(-N / 2, -F / 2, N, F, {
9966
9966
  ...L,
9967
9967
  fill: "transparent",
9968
9968
  stroke: "none"
9969
- }), B = u.insert(() => I, ":first-child").attr("class", "icon-shape2"), _ = u.insert(() => R);
9969
+ }), B = u.insert(() => R, ":first-child").attr("class", "icon-shape2"), _ = u.insert(() => I);
9970
9970
  if (e.icon) {
9971
9971
  const v = u.append("g");
9972
9972
  v.html(
@@ -10028,11 +10028,11 @@ async function rb(t, e, { config: { themeVariables: n, flowchart: r } }) {
10028
10028
  e.look !== "handDrawn" && (L.roughness = 0, L.fillStyle = "solid");
10029
10029
  const $ = x.get("fill");
10030
10030
  L.stroke = $ ?? g;
10031
- const I = E.path(Dr(T, w, m, p, 0.1), L), N = Math.max(m, c.width), F = p + c.height + S, R = E.rectangle(-N / 2, -F / 2, N, F, {
10031
+ const R = E.path(Dr(T, w, m, p, 0.1), L), N = Math.max(m, c.width), F = p + c.height + S, I = E.rectangle(-N / 2, -F / 2, N, F, {
10032
10032
  ...L,
10033
10033
  fill: "transparent",
10034
10034
  stroke: "none"
10035
- }), B = u.insert(() => I, ":first-child"), _ = u.insert(() => R);
10035
+ }), B = u.insert(() => R, ":first-child"), _ = u.insert(() => I);
10036
10036
  if (e.icon) {
10037
10037
  const v = u.append("g");
10038
10038
  v.html(
@@ -10101,7 +10101,7 @@ async function ib(t, e, { config: { flowchart: n } }) {
10101
10101
  ...T,
10102
10102
  fill: "none",
10103
10103
  stroke: "none"
10104
- }), $ = h.insert(() => w, ":first-child"), I = h.insert(() => L);
10104
+ }), $ = h.insert(() => w, ":first-child"), R = h.insert(() => L);
10105
10105
  if (e.img) {
10106
10106
  const N = h.append("image");
10107
10107
  N.attr("href", e.img), N.attr("width", u), N.attr("height", c), N.attr("preserveAspectRatio", "none"), N.attr(
@@ -10115,29 +10115,29 @@ async function ib(t, e, { config: { flowchart: n } }) {
10115
10115
  ), $.attr(
10116
10116
  "transform",
10117
10117
  `translate(0,${p ? f.height / 2 + g / 2 : -f.height / 2 - g / 2})`
10118
- ), Dt(e, I), e.intersect = function(N) {
10118
+ ), Dt(e, R), e.intersect = function(N) {
10119
10119
  if (ot.info("iconSquare intersect", e, N), !e.label)
10120
10120
  return kt.rect(e, N);
10121
- const F = e.x ?? 0, R = e.y ?? 0, B = e.height ?? 0;
10121
+ const F = e.x ?? 0, I = e.y ?? 0, B = e.height ?? 0;
10122
10122
  let _ = [];
10123
10123
  return p ? _ = [
10124
- { x: F - f.width / 2, y: R - B / 2 },
10125
- { x: F + f.width / 2, y: R - B / 2 },
10126
- { x: F + f.width / 2, y: R - B / 2 + f.height + g },
10127
- { x: F + u / 2, y: R - B / 2 + f.height + g },
10128
- { x: F + u / 2, y: R + B / 2 },
10129
- { x: F - u / 2, y: R + B / 2 },
10130
- { x: F - u / 2, y: R - B / 2 + f.height + g },
10131
- { x: F - f.width / 2, y: R - B / 2 + f.height + g }
10124
+ { x: F - f.width / 2, y: I - B / 2 },
10125
+ { x: F + f.width / 2, y: I - B / 2 },
10126
+ { x: F + f.width / 2, y: I - B / 2 + f.height + g },
10127
+ { x: F + u / 2, y: I - B / 2 + f.height + g },
10128
+ { x: F + u / 2, y: I + B / 2 },
10129
+ { x: F - u / 2, y: I + B / 2 },
10130
+ { x: F - u / 2, y: I - B / 2 + f.height + g },
10131
+ { x: F - f.width / 2, y: I - B / 2 + f.height + g }
10132
10132
  ] : _ = [
10133
- { x: F - u / 2, y: R - B / 2 },
10134
- { x: F + u / 2, y: R - B / 2 },
10135
- { x: F + u / 2, y: R - B / 2 + c },
10136
- { x: F + f.width / 2, y: R - B / 2 + c },
10137
- { x: F + f.width / 2 / 2, y: R + B / 2 },
10138
- { x: F - f.width / 2, y: R + B / 2 },
10139
- { x: F - f.width / 2, y: R - B / 2 + c },
10140
- { x: F - u / 2, y: R - B / 2 + c }
10133
+ { x: F - u / 2, y: I - B / 2 },
10134
+ { x: F + u / 2, y: I - B / 2 },
10135
+ { x: F + u / 2, y: I - B / 2 + c },
10136
+ { x: F + f.width / 2, y: I - B / 2 + c },
10137
+ { x: F + f.width / 2 / 2, y: I + B / 2 },
10138
+ { x: F - f.width / 2, y: I + B / 2 },
10139
+ { x: F - f.width / 2, y: I - B / 2 + c },
10140
+ { x: F - u / 2, y: I - B / 2 + c }
10141
10141
  ], kt.polygon(e, _, N);
10142
10142
  }, h;
10143
10143
  }
@@ -10395,11 +10395,11 @@ async function fb(t, e) {
10395
10395
  { x: h, y: f }
10396
10396
  ], T = Lt.svg(i), w = It(e, {});
10397
10397
  e.look !== "handDrawn" && (w.roughness = 0, w.fillStyle = "solid");
10398
- const S = Jt(g), E = T.path(S, w), L = Jt(x), $ = T.path(L, w), I = i.insert(() => E, ":first-child");
10399
- return I.insert(() => $), I.attr("class", "basic label-container"), p && e.look !== "handDrawn" && I.selectAll("path").attr("style", p), r && e.look !== "handDrawn" && I.selectAll("path").attr("style", r), I.attr("transform", `translate(0,${-u / 2})`), s.attr(
10398
+ const S = Jt(g), E = T.path(S, w), L = Jt(x), $ = T.path(L, w), R = i.insert(() => E, ":first-child");
10399
+ return R.insert(() => $), R.attr("class", "basic label-container"), p && e.look !== "handDrawn" && R.selectAll("path").attr("style", p), r && e.look !== "handDrawn" && R.selectAll("path").attr("style", r), R.attr("transform", `translate(0,${-u / 2})`), s.attr(
10400
10400
  "transform",
10401
10401
  `translate(${-(a.width / 2) - d - (a.x - (a.left ?? 0))}, ${-(a.height / 2) + d - u / 2 - (a.y - (a.top ?? 0))})`
10402
- ), Dt(e, I), e.intersect = function(N) {
10402
+ ), Dt(e, R), e.intersect = function(N) {
10403
10403
  return kt.polygon(e, g, N);
10404
10404
  }, i;
10405
10405
  }
@@ -10479,14 +10479,14 @@ async function gb(t, e) {
10479
10479
  }
10480
10480
  C(gb, "rect_left_inv_arrow");
10481
10481
  async function bb(t, e) {
10482
- var $, I;
10482
+ var $, R;
10483
10483
  const { labelStyles: n, nodeStyles: r } = Nt(e);
10484
10484
  e.labelStyle = n;
10485
10485
  let i;
10486
10486
  e.cssClasses ? i = "node " + e.cssClasses : i = "node default";
10487
10487
  const a = t.insert("g").attr("class", i).attr("id", e.domId || e.id), s = a.insert("g"), o = a.insert("g").attr("class", "label").attr("style", r), l = e.description, u = e.label, c = o.node().appendChild(await Xr(u, e.labelStyle, !0, !0));
10488
10488
  let h = { width: 0, height: 0 };
10489
- if (Re((I = ($ = oe()) == null ? void 0 : $.flowchart) == null ? void 0 : I.htmlLabels)) {
10489
+ if (Re((R = ($ = oe()) == null ? void 0 : $.flowchart) == null ? void 0 : R.htmlLabels)) {
10490
10490
  const N = c.children[0], F = ne(c);
10491
10491
  h = N.getBoundingClientRect(), F.attr("width", h.width), F.attr("height", h.height);
10492
10492
  }
@@ -10514,7 +10514,7 @@ async function bb(t, e) {
10514
10514
  const x = h.width + (e.padding || 0), T = h.height + (e.padding || 0), w = -h.width / 2 - g, S = -h.height / 2 - g;
10515
10515
  let E, L;
10516
10516
  if (e.look === "handDrawn") {
10517
- const N = Lt.svg(a), F = It(e, {}), R = N.path(
10517
+ const N = Lt.svg(a), F = It(e, {}), I = N.path(
10518
10518
  Dr(w, S, x, T, e.rx || 0),
10519
10519
  F
10520
10520
  ), B = N.line(
@@ -10524,7 +10524,7 @@ async function bb(t, e) {
10524
10524
  -h.height / 2 - g + d.height + g,
10525
10525
  F
10526
10526
  );
10527
- L = a.insert(() => (ot.debug("Rough node insert CXC", R), B), ":first-child"), E = a.insert(() => (ot.debug("Rough node insert CXC", R), R), ":first-child");
10527
+ L = a.insert(() => (ot.debug("Rough node insert CXC", I), B), ":first-child"), E = a.insert(() => (ot.debug("Rough node insert CXC", I), I), ":first-child");
10528
10528
  } else
10529
10529
  E = s.insert("rect", ":first-child"), L = s.insert("line"), E.attr("class", "outer title-state").attr("style", r).attr("x", -h.width / 2 - g).attr("y", -h.height / 2 - g).attr("width", h.width + (e.padding || 0)).attr("height", h.height + (e.padding || 0)), L.attr("class", "divider").attr("x1", -h.width / 2 - g).attr("x2", h.width / 2 + g).attr("y1", -h.height / 2 - g + d.height + g).attr("y2", -h.height / 2 - g + d.height + g);
10530
10530
  return Dt(e, E), e.intersect = function(N) {
@@ -10541,7 +10541,7 @@ function Da(t, e, n, r, i, a, s) {
10541
10541
  s && S < 0 && (S += 2 * Math.PI), !s && S > 0 && (S -= 2 * Math.PI);
10542
10542
  const E = [];
10543
10543
  for (let L = 0; L < 20; L++) {
10544
- const $ = L / 19, I = T + $ * S, N = g + i * Math.cos(I), F = x + a * Math.sin(I);
10544
+ const $ = L / 19, R = T + $ * S, N = g + i * Math.cos(R), F = x + a * Math.sin(R);
10545
10545
  E.push({ x: N, y: F });
10546
10546
  }
10547
10547
  return E;
@@ -10786,8 +10786,8 @@ async function vb(t, e) {
10786
10786
  return $.insert(() => S, ":first-child"), $.attr("class", "basic label-container"), d && e.look !== "handDrawn" && $.selectAll("path").attr("style", d), r && e.look !== "handDrawn" && $.selectAll("path").attr("style", r), $.attr("transform", `translate(0,${-u / 2})`), s.attr(
10787
10787
  "transform",
10788
10788
  `translate(${-o / 2 + (e.padding ?? 0) - (a.x - (a.left ?? 0))},${-l / 2 + (e.padding ?? 0) - u / 2 - (a.y - (a.top ?? 0))})`
10789
- ), Dt(e, $), e.intersect = function(I) {
10790
- return kt.polygon(e, b, I);
10789
+ ), Dt(e, $), e.intersect = function(R) {
10790
+ return kt.polygon(e, b, R);
10791
10791
  }, i;
10792
10792
  }
10793
10793
  C(vb, "taggedWaveEdgedRectangle");
@@ -11058,11 +11058,11 @@ async function td(t, e) {
11058
11058
  const yt = h.width + i * 2 - (m + b + g + x);
11059
11059
  m += yt / S, b += yt / S, g > 0 && (g += yt / S), x > 0 && (x += yt / S);
11060
11060
  }
11061
- const L = m + b + g + x, $ = Lt.svg(c), I = It(e, {});
11062
- e.look !== "handDrawn" && (I.roughness = 0, I.fillStyle = "solid");
11061
+ const L = m + b + g + x, $ = Lt.svg(c), R = It(e, {});
11062
+ e.look !== "handDrawn" && (R.roughness = 0, R.fillStyle = "solid");
11063
11063
  let N = 0;
11064
11064
  p.length > 0 && (N = p.reduce((yt, At) => yt + ((At == null ? void 0 : At.rowHeight) ?? 0), 0));
11065
- const F = Math.max(E.width + i * 2, (e == null ? void 0 : e.width) || 0, L), R = Math.max((N ?? 0) + h.height, (e == null ? void 0 : e.height) || 0), B = -F / 2, _ = -R / 2;
11065
+ const F = Math.max(E.width + i * 2, (e == null ? void 0 : e.width) || 0, L), I = Math.max((N ?? 0) + h.height, (e == null ? void 0 : e.height) || 0), B = -F / 2, _ = -I / 2;
11066
11066
  c.selectAll("g:not(:first-child)").each((yt, At, Et) => {
11067
11067
  const wt = ne(Et[At]), Ft = wt.attr("transform");
11068
11068
  let Ht = 0, ie = 0;
@@ -11075,29 +11075,29 @@ async function td(t, e) {
11075
11075
  `translate(${B + i / 2 + Ht}, ${ie + _ + h.height + a / 2})`
11076
11076
  );
11077
11077
  }), c.select(".name").attr("transform", "translate(" + -h.width / 2 + ", " + (_ + a / 2) + ")");
11078
- const v = $.rectangle(B, _, F, R, I), W = c.insert(() => v, ":first-child").attr("style", s.join("")), { themeVariables: j } = Qe(), { rowEven: U, rowOdd: X, nodeBorder: O } = j;
11078
+ const v = $.rectangle(B, _, F, I, R), W = c.insert(() => v, ":first-child").attr("style", s.join("")), { themeVariables: j } = Qe(), { rowEven: U, rowOdd: X, nodeBorder: O } = j;
11079
11079
  d.push(0);
11080
11080
  for (const [yt, At] of p.entries()) {
11081
11081
  const wt = (yt + 1) % 2 === 0 && At.yOffset !== 0, Ft = $.rectangle(B, h.height + _ + (At == null ? void 0 : At.yOffset), F, At == null ? void 0 : At.rowHeight, {
11082
- ...I,
11082
+ ...R,
11083
11083
  fill: wt ? U : X,
11084
11084
  stroke: O
11085
11085
  });
11086
11086
  c.insert(() => Ft, "g.label").attr("style", s.join("")).attr("class", `row-rect-${wt ? "even" : "odd"}`);
11087
11087
  }
11088
- let Y = $.line(B, h.height + _, F + B, h.height + _, I);
11089
- c.insert(() => Y).attr("class", "divider"), Y = $.line(m + B, h.height + _, m + B, R + _, I), c.insert(() => Y).attr("class", "divider"), T && (Y = $.line(
11088
+ let Y = $.line(B, h.height + _, F + B, h.height + _, R);
11089
+ c.insert(() => Y).attr("class", "divider"), Y = $.line(m + B, h.height + _, m + B, I + _, R), c.insert(() => Y).attr("class", "divider"), T && (Y = $.line(
11090
11090
  m + b + B,
11091
11091
  h.height + _,
11092
11092
  m + b + B,
11093
- R + _,
11094
- I
11093
+ I + _,
11094
+ R
11095
11095
  ), c.insert(() => Y).attr("class", "divider")), w && (Y = $.line(
11096
11096
  m + b + g + B,
11097
11097
  h.height + _,
11098
11098
  m + b + g + B,
11099
- R + _,
11100
- I
11099
+ I + _,
11100
+ R
11101
11101
  ), c.insert(() => Y).attr("class", "divider"));
11102
11102
  for (const yt of d)
11103
11103
  Y = $.line(
@@ -11105,7 +11105,7 @@ async function td(t, e) {
11105
11105
  h.height + _ + yt,
11106
11106
  F + B,
11107
11107
  h.height + _ + yt,
11108
- I
11108
+ R
11109
11109
  ), c.insert(() => Y).attr("class", "divider");
11110
11110
  if (Dt(e, W), l && e.look !== "handDrawn") {
11111
11111
  const yt = l.split(";"), At = (rt = yt == null ? void 0 : yt.filter((Et) => Et.includes("stroke"))) == null ? void 0 : rt.map((Et) => `${Et}`).join("; ");
@@ -11232,12 +11232,12 @@ async function Oa(t, e, n, r = []) {
11232
11232
  }
11233
11233
  C(Oa, "addText");
11234
11234
  async function Fb(t, e) {
11235
- var I, N;
11235
+ var R, N;
11236
11236
  const n = oe(), r = n.class.padding ?? 12, i = r, a = e.useHtmlLabels ?? Re(n.htmlLabels) ?? !0, s = e;
11237
11237
  s.annotations = s.annotations ?? [], s.members = s.members ?? [], s.methods = s.methods ?? [];
11238
11238
  const { shapeSvg: o, bbox: l } = await Pb(t, e, n, a, i), { labelStyles: u, nodeStyles: c } = Nt(e);
11239
11239
  e.labelStyle = u, e.cssStyles = s.styles || "";
11240
- const h = ((I = s.styles) == null ? void 0 : I.join(";")) || c || "";
11240
+ const h = ((R = s.styles) == null ? void 0 : R.join(";")) || c || "";
11241
11241
  e.cssStyles || (e.cssStyles = h.replaceAll("!important", "").split(";"));
11242
11242
  const f = s.members.length === 0 && s.methods.length === 0 && !((N = n.class) != null && N.hideEmptyMembersBox), d = Lt.svg(o), p = It(e, {});
11243
11243
  e.look !== "handDrawn" && (p.roughness = 0, p.fillStyle = "solid");
@@ -11253,9 +11253,9 @@ async function Fb(t, e) {
11253
11253
  ), w = o.insert(() => T, ":first-child");
11254
11254
  w.attr("class", "basic label-container");
11255
11255
  const S = w.node().getBBox();
11256
- o.selectAll(".text").each((F, R, B) => {
11256
+ o.selectAll(".text").each((F, I, B) => {
11257
11257
  var X;
11258
- const _ = ne(B[R]), v = _.attr("transform");
11258
+ const _ = ne(B[I]), v = _.attr("transform");
11259
11259
  let W = 0;
11260
11260
  if (v) {
11261
11261
  const Y = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(v);
@@ -11290,9 +11290,9 @@ async function Fb(t, e) {
11290
11290
  o.insert(() => F).attr("class", "divider").attr("style", h);
11291
11291
  }
11292
11292
  if (s.look !== "handDrawn" && o.selectAll("path").attr("style", h), w.select(":nth-child(2)").attr("style", h), o.selectAll(".divider").select("path").attr("style", h), e.labelStyle ? o.selectAll("span").attr("style", e.labelStyle) : o.selectAll("span").attr("style", h), !a) {
11293
- const F = RegExp(/color\s*:\s*([^;]*)/), R = F.exec(h);
11294
- if (R) {
11295
- const B = R[0].replace("color", "fill");
11293
+ const F = RegExp(/color\s*:\s*([^;]*)/), I = F.exec(h);
11294
+ if (I) {
11295
+ const B = I[0].replace("color", "fill");
11296
11296
  o.selectAll("tspan").attr("style", B);
11297
11297
  } else if (u) {
11298
11298
  const B = F.exec(u);
@@ -11334,13 +11334,13 @@ async function $b(t, e) {
11334
11334
  e.labelStyle
11335
11335
  );
11336
11336
  f += $;
11337
- const I = await Xn(
11337
+ const R = await Xn(
11338
11338
  c,
11339
11339
  `${i.text ? `Text: ${i.text}` : ""}`,
11340
11340
  f,
11341
11341
  e.labelStyle
11342
11342
  );
11343
- f += I;
11343
+ f += R;
11344
11344
  const N = await Xn(
11345
11345
  c,
11346
11346
  `${i.risk ? `Risk: ${i.risk}` : ""}`,
@@ -11370,16 +11370,16 @@ async function $b(t, e) {
11370
11370
  const p = (((E = c.node()) == null ? void 0 : E.getBBox().width) ?? 200) + s, m = (((L = c.node()) == null ? void 0 : L.getBBox().height) ?? 200) + s, b = -p / 2, g = -m / 2, x = Lt.svg(c), T = It(e, {});
11371
11371
  e.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
11372
11372
  const w = x.rectangle(b, g, p, m, T), S = c.insert(() => w, ":first-child");
11373
- if (S.attr("class", "basic label-container").attr("style", r), c.selectAll(".label").each(($, I, N) => {
11374
- const F = ne(N[I]), R = F.attr("transform");
11373
+ if (S.attr("class", "basic label-container").attr("style", r), c.selectAll(".label").each(($, R, N) => {
11374
+ const F = ne(N[R]), I = F.attr("transform");
11375
11375
  let B = 0, _ = 0;
11376
- if (R) {
11377
- const U = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(R);
11376
+ if (I) {
11377
+ const U = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(I);
11378
11378
  U && (B = parseFloat(U[1]), _ = parseFloat(U[2]));
11379
11379
  }
11380
11380
  const v = _ - m / 2;
11381
11381
  let W = b + s / 2;
11382
- (I === 0 || I === 1) && (W = B), F.attr("transform", `translate(${W}, ${v + s})`);
11382
+ (R === 0 || R === 1) && (W = B), F.attr("transform", `translate(${W}, ${v + s})`);
11383
11383
  }), f > h + d + o) {
11384
11384
  const $ = x.line(
11385
11385
  b,
@@ -11438,7 +11438,7 @@ var uv = /* @__PURE__ */ C((t) => {
11438
11438
  }
11439
11439
  }, "colorFromPriority");
11440
11440
  async function Hb(t, e, { config: n }) {
11441
- var R, B;
11441
+ var I, B;
11442
11442
  const { labelStyles: r, nodeStyles: i } = Nt(e);
11443
11443
  e.labelStyle = r || "";
11444
11444
  const a = 10, s = e.width;
@@ -11449,7 +11449,7 @@ async function Hb(t, e, { config: n }) {
11449
11449
  label: u
11450
11450
  } = await Ut(t, e, $t(e)), c = e.padding || 10;
11451
11451
  let h = "", f;
11452
- "ticket" in e && e.ticket && ((R = n == null ? void 0 : n.kanban) != null && R.ticketBaseUrl) && (h = (B = n == null ? void 0 : n.kanban) == null ? void 0 : B.ticketBaseUrl.replace("#TICKET#", e.ticket), f = o.insert("svg:a", ":first-child").attr("class", "kanban-ticket-link").attr("xlink:href", h).attr("target", "_blank"));
11452
+ "ticket" in e && e.ticket && ((I = n == null ? void 0 : n.kanban) != null && I.ticketBaseUrl) && (h = (B = n == null ? void 0 : n.kanban) == null ? void 0 : B.ticketBaseUrl.replace("#TICKET#", e.ticket), f = o.insert("svg:a", ":first-child").attr("class", "kanban-ticket-link").attr("xlink:href", h).attr("target", "_blank"));
11453
11453
  const d = {
11454
11454
  useHtmlLabels: e.useHtmlLabels,
11455
11455
  labelStyle: e.labelStyle || "",
@@ -11486,15 +11486,15 @@ async function Hb(t, e, { config: n }) {
11486
11486
  "translate(" + (c + T / 2 - g.width - 2 * a) + ", " + (-w + l.height / 2) + ")"
11487
11487
  );
11488
11488
  let $;
11489
- const { rx: I, ry: N } = e, { cssStyles: F } = e;
11489
+ const { rx: R, ry: N } = e, { cssStyles: F } = e;
11490
11490
  if (e.look === "handDrawn") {
11491
- const _ = Lt.svg(o), v = It(e, {}), W = I || N ? _.path(Dr(E, L, T, S, I || 0), v) : _.rectangle(E, L, T, S, v);
11491
+ const _ = Lt.svg(o), v = It(e, {}), W = R || N ? _.path(Dr(E, L, T, S, R || 0), v) : _.rectangle(E, L, T, S, v);
11492
11492
  $ = o.insert(() => W, ":first-child"), $.attr("class", "basic label-container").attr("style", F || null);
11493
11493
  } else {
11494
- $ = o.insert("rect", ":first-child"), $.attr("class", "basic label-container __APA__").attr("style", i).attr("rx", I ?? 5).attr("ry", N ?? 5).attr("x", E).attr("y", L).attr("width", T).attr("height", S);
11494
+ $ = o.insert("rect", ":first-child"), $.attr("class", "basic label-container __APA__").attr("style", i).attr("rx", R ?? 5).attr("ry", N ?? 5).attr("x", E).attr("y", L).attr("width", T).attr("height", S);
11495
11495
  const _ = "priority" in e && e.priority;
11496
11496
  if (_) {
11497
- const v = o.append("line"), W = E + 2, j = L + Math.floor((I ?? 0) / 2), U = L + S - Math.floor((I ?? 0) / 2);
11497
+ const v = o.append("line"), W = E + 2, j = L + Math.floor((R ?? 0) / 2), U = L + S - Math.floor((R ?? 0) / 2);
11498
11498
  v.attr("x1", W).attr("y1", j).attr("x2", W).attr("y2", U).attr("stroke-width", "4").attr("stroke", uv(_));
11499
11499
  }
11500
11500
  }
@@ -12413,7 +12413,7 @@ var r0 = /* @__PURE__ */ C(function(t, e, n) {
12413
12413
  }
12414
12414
  let S, E = e.curve === "rounded" ? Gb(Xb(m, e), 5) : T(m);
12415
12415
  const L = Array.isArray(e.style) ? e.style : [e.style];
12416
- let $ = L.find((v) => v == null ? void 0 : v.startsWith("stroke:")), I = !1;
12416
+ let $ = L.find((v) => v == null ? void 0 : v.startsWith("stroke:")), R = !1;
12417
12417
  if (e.look === "handDrawn") {
12418
12418
  const v = Lt.svg(t);
12419
12419
  Object.assign([], m);
@@ -12432,9 +12432,9 @@ var r0 = /* @__PURE__ */ C(function(t, e, n) {
12432
12432
  S = t.append("path").attr("d", E).attr("id", e.id).attr(
12433
12433
  "class",
12434
12434
  " " + w + (e.classes ? " " + e.classes : "") + (j ?? "")
12435
- ).attr("style", U), $ = (_ = U.match(/stroke:([^;]+)/)) == null ? void 0 : _[1], I = e.animate === !0 || !!e.animation || v.includes("animation");
12435
+ ).attr("style", U), $ = (_ = U.match(/stroke:([^;]+)/)) == null ? void 0 : _[1], R = e.animate === !0 || !!e.animation || v.includes("animation");
12436
12436
  const X = S.node(), O = typeof X.getTotalLength == "function" ? X.getTotalLength() : 0, Y = _f[e.arrowTypeStart] || 0, G = _f[e.arrowTypeEnd] || 0;
12437
- if (e.look === "neo" && !I) {
12437
+ if (e.look === "neo" && !R) {
12438
12438
  const it = `stroke-dasharray: ${e.pattern === "dotted" || e.pattern === "dashed" ? Cv(O, Y, G) : `0 ${Y} ${O - Y - G} ${G}`}; stroke-dashoffset: 0;`;
12439
12439
  S.attr("style", it + S.attr("style"));
12440
12440
  }
@@ -12444,8 +12444,8 @@ var r0 = /* @__PURE__ */ C(function(t, e, n) {
12444
12444
  });
12445
12445
  let N = "";
12446
12446
  (oe().flowchart.arrowMarkerAbsolute || oe().state.arrowMarkerAbsolute) && (N = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, N = N.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), ot.info("arrowTypeStart", e.arrowTypeStart), ot.info("arrowTypeEnd", e.arrowTypeEnd), fv(S, e, N, s, r, $);
12447
- const F = Math.floor(u.length / 2), R = u[F];
12448
- zn.isLabelCoordinateInPath(R, S.attr("d")) || (c = !0);
12447
+ const F = Math.floor(u.length / 2), I = u[F];
12448
+ zn.isLabelCoordinateInPath(I, S.attr("d")) || (c = !0);
12449
12449
  let B = {};
12450
12450
  return c && (B.updatedPath = u), B.originalPath = e.points, B;
12451
12451
  }, "insertEdge");
@@ -12471,8 +12471,8 @@ function Gb(t, e) {
12471
12471
  n += `L${s.x},${s.y}`;
12472
12472
  continue;
12473
12473
  }
12474
- const E = Math.min(e / Math.sin(S / 2), d / 2, p / 2), L = s.x - m * E, $ = s.y - b * E, I = s.x + g * E, N = s.y + x * E;
12475
- n += `L${L},${$}`, n += `Q${s.x},${s.y} ${I},${N}`;
12474
+ const E = Math.min(e / Math.sin(S / 2), d / 2, p / 2), L = s.x - m * E, $ = s.y - b * E, R = s.x + g * E, N = s.y + x * E;
12475
+ n += `L${L},${$}`, n += `Q${s.x},${s.y} ${R},${N}`;
12476
12476
  }
12477
12477
  }
12478
12478
  return n;
@@ -13389,7 +13389,7 @@ var WL = /* @__PURE__ */ C((t, e, n, r) => {
13389
13389
  var i, a, s;
13390
13390
  (i = t.getElementById(e)) == null || i.remove(), (a = t.getElementById(n)) == null || a.remove(), (s = t.getElementById(r)) == null || s.remove();
13391
13391
  }, "removeExistingElements"), qL = /* @__PURE__ */ C(async function(t, e, n) {
13392
- var R, B, _, v, W, j;
13392
+ var I, B, _, v, W, j;
13393
13393
  Al();
13394
13394
  const r = id(e);
13395
13395
  e = r.code;
@@ -13424,15 +13424,15 @@ var WL = /* @__PURE__ */ C((t, e, n, r) => {
13424
13424
  throw c(), U;
13425
13425
  m = await Oc.fromText("error"), b = U;
13426
13426
  }
13427
- const g = h.select(u).node(), x = m.type, T = g.firstChild, w = T.firstChild, S = (B = (R = m.renderer).getClasses) == null ? void 0 : B.call(R, e, m), E = zL(i, x, S, a), L = document.createElement("style");
13427
+ const g = h.select(u).node(), x = m.type, T = g.firstChild, w = T.firstChild, S = (B = (I = m.renderer).getClasses) == null ? void 0 : B.call(I, e, m), E = zL(i, x, S, a), L = document.createElement("style");
13428
13428
  L.innerHTML = E, T.insertBefore(L, w);
13429
13429
  try {
13430
13430
  await m.renderer.draw(e, t, Zd.version, m);
13431
13431
  } catch (U) {
13432
13432
  throw i.suppressErrorRendering ? c() : R8.draw(e, t, Zd.version), U;
13433
13433
  }
13434
- const $ = h.select(`${u} svg`), I = (v = (_ = m.db).getAccTitle) == null ? void 0 : v.call(_), N = (j = (W = m.db).getAccDescription) == null ? void 0 : j.call(W);
13435
- Fy(x, $, I, N), h.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", NL);
13434
+ const $ = h.select(`${u} svg`), R = (v = (_ = m.db).getAccTitle) == null ? void 0 : v.call(_), N = (j = (W = m.db).getAccDescription) == null ? void 0 : j.call(W);
13435
+ Fy(x, $, R, N), h.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", NL);
13436
13436
  let F = h.select(u).node().innerHTML;
13437
13437
  if (ot.debug("config.arrowMarkerAbsolute", i.arrowMarkerAbsolute), F = UL(F, f, Re(i.arrowMarkerAbsolute)), f) {
13438
13438
  const U = h.select(u + " svg").node();
@@ -13624,7 +13624,7 @@ Wy.initialize({
13624
13624
  });
13625
13625
  const JL = ({ content: t, id: e }) => {
13626
13626
  const n = Er(null);
13627
- return xe(() => {
13627
+ return Ce(() => {
13628
13628
  (async () => {
13629
13629
  if (n.current)
13630
13630
  try {
@@ -13708,7 +13708,7 @@ On.prototype.commaOrSpaceSeparated = !1;
13708
13708
  On.prototype.mustUseProperty = !1;
13709
13709
  On.prototype.defined = !1;
13710
13710
  let aI = 0;
13711
- const qt = di(), we = di(), Vy = di(), pt = di(), ce = di(), Ri = di(), _n = di();
13711
+ const qt = di(), we = di(), Vy = di(), pt = di(), he = di(), Ri = di(), _n = di();
13712
13712
  function di() {
13713
13713
  return 2 ** ++aI;
13714
13714
  }
@@ -13720,7 +13720,7 @@ const Pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13720
13720
  commaSeparated: Ri,
13721
13721
  number: pt,
13722
13722
  overloadedBoolean: Vy,
13723
- spaceSeparated: ce
13723
+ spaceSeparated: he
13724
13724
  }, Symbol.toStringTag, { value: "Module" })), hu = Object.keys(Pc);
13725
13725
  let ad = class extends On {
13726
13726
  /**
@@ -13804,36 +13804,36 @@ const Zy = la({
13804
13804
  ariaColCount: pt,
13805
13805
  ariaColIndex: pt,
13806
13806
  ariaColSpan: pt,
13807
- ariaControls: ce,
13807
+ ariaControls: he,
13808
13808
  ariaCurrent: null,
13809
- ariaDescribedBy: ce,
13809
+ ariaDescribedBy: he,
13810
13810
  ariaDetails: null,
13811
13811
  ariaDisabled: we,
13812
- ariaDropEffect: ce,
13812
+ ariaDropEffect: he,
13813
13813
  ariaErrorMessage: null,
13814
13814
  ariaExpanded: we,
13815
- ariaFlowTo: ce,
13815
+ ariaFlowTo: he,
13816
13816
  ariaGrabbed: we,
13817
13817
  ariaHasPopup: null,
13818
13818
  ariaHidden: we,
13819
13819
  ariaInvalid: null,
13820
13820
  ariaKeyShortcuts: null,
13821
13821
  ariaLabel: null,
13822
- ariaLabelledBy: ce,
13822
+ ariaLabelledBy: he,
13823
13823
  ariaLevel: pt,
13824
13824
  ariaLive: null,
13825
13825
  ariaModal: we,
13826
13826
  ariaMultiLine: we,
13827
13827
  ariaMultiSelectable: we,
13828
13828
  ariaOrientation: null,
13829
- ariaOwns: ce,
13829
+ ariaOwns: he,
13830
13830
  ariaPlaceholder: null,
13831
13831
  ariaPosInSet: pt,
13832
13832
  ariaPressed: we,
13833
13833
  ariaReadOnly: we,
13834
13834
  ariaRelevant: null,
13835
13835
  ariaRequired: we,
13836
- ariaRoleDescription: ce,
13836
+ ariaRoleDescription: he,
13837
13837
  ariaRowCount: pt,
13838
13838
  ariaRowIndex: pt,
13839
13839
  ariaRowSpan: pt,
@@ -13860,8 +13860,8 @@ const Zy = la({
13860
13860
  // Standard Properties.
13861
13861
  abbr: null,
13862
13862
  accept: Ri,
13863
- acceptCharset: ce,
13864
- accessKey: ce,
13863
+ acceptCharset: he,
13864
+ accessKey: he,
13865
13865
  action: null,
13866
13866
  allow: null,
13867
13867
  allowFullScreen: qt,
@@ -13871,21 +13871,21 @@ const Zy = la({
13871
13871
  as: null,
13872
13872
  async: qt,
13873
13873
  autoCapitalize: null,
13874
- autoComplete: ce,
13874
+ autoComplete: he,
13875
13875
  autoFocus: qt,
13876
13876
  autoPlay: qt,
13877
- blocking: ce,
13877
+ blocking: he,
13878
13878
  capture: null,
13879
13879
  charSet: null,
13880
13880
  checked: qt,
13881
13881
  cite: null,
13882
- className: ce,
13882
+ className: he,
13883
13883
  cols: pt,
13884
13884
  colSpan: null,
13885
13885
  content: null,
13886
13886
  contentEditable: we,
13887
13887
  controls: qt,
13888
- controlsList: ce,
13888
+ controlsList: he,
13889
13889
  coords: pt | Ri,
13890
13890
  crossOrigin: null,
13891
13891
  data: null,
@@ -13907,14 +13907,14 @@ const Zy = la({
13907
13907
  formMethod: null,
13908
13908
  formNoValidate: qt,
13909
13909
  formTarget: null,
13910
- headers: ce,
13910
+ headers: he,
13911
13911
  height: pt,
13912
13912
  hidden: qt,
13913
13913
  high: pt,
13914
13914
  href: null,
13915
13915
  hrefLang: null,
13916
- htmlFor: ce,
13917
- httpEquiv: ce,
13916
+ htmlFor: he,
13917
+ httpEquiv: he,
13918
13918
  id: null,
13919
13919
  imageSizes: null,
13920
13920
  imageSrcSet: null,
@@ -13924,10 +13924,10 @@ const Zy = la({
13924
13924
  is: null,
13925
13925
  isMap: qt,
13926
13926
  itemId: null,
13927
- itemProp: ce,
13928
- itemRef: ce,
13927
+ itemProp: he,
13928
+ itemRef: he,
13929
13929
  itemScope: qt,
13930
- itemType: ce,
13930
+ itemType: he,
13931
13931
  kind: null,
13932
13932
  label: null,
13933
13933
  lang: null,
@@ -14040,7 +14040,7 @@ const Zy = la({
14040
14040
  open: qt,
14041
14041
  optimum: pt,
14042
14042
  pattern: null,
14043
- ping: ce,
14043
+ ping: he,
14044
14044
  placeholder: null,
14045
14045
  playsInline: qt,
14046
14046
  popover: null,
@@ -14050,12 +14050,12 @@ const Zy = la({
14050
14050
  preload: null,
14051
14051
  readOnly: qt,
14052
14052
  referrerPolicy: null,
14053
- rel: ce,
14053
+ rel: he,
14054
14054
  required: qt,
14055
14055
  reversed: qt,
14056
14056
  rows: pt,
14057
14057
  rowSpan: pt,
14058
- sandbox: ce,
14058
+ sandbox: he,
14059
14059
  scope: null,
14060
14060
  scoped: qt,
14061
14061
  seamless: qt,
@@ -14093,7 +14093,7 @@ const Zy = la({
14093
14093
  // Several. Use CSS `text-align` instead,
14094
14094
  aLink: null,
14095
14095
  // `<body>`. Use CSS `a:active {color}` instead
14096
- archive: ce,
14096
+ archive: he,
14097
14097
  // `<object>`. List of URIs to archives
14098
14098
  axis: null,
14099
14099
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -14408,7 +14408,7 @@ const Zy = la({
14408
14408
  by: null,
14409
14409
  calcMode: null,
14410
14410
  capHeight: pt,
14411
- className: ce,
14411
+ className: he,
14412
14412
  clip: null,
14413
14413
  clipPath: null,
14414
14414
  clipPathUnits: null,
@@ -14643,7 +14643,7 @@ const Zy = la({
14643
14643
  patternTransform: null,
14644
14644
  patternUnits: null,
14645
14645
  phase: null,
14646
- ping: ce,
14646
+ ping: he,
14647
14647
  pitch: null,
14648
14648
  playbackOrder: null,
14649
14649
  pointerEvents: null,
@@ -15624,14 +15624,14 @@ function cN(t) {
15624
15624
  )
15625
15625
  return;
15626
15626
  const L = e.events.length;
15627
- let $ = L, I, N;
15627
+ let $ = L, R, N;
15628
15628
  for (; $--; )
15629
15629
  if (e.events[$][0] === "exit" && e.events[$][1].type === "chunkFlow") {
15630
- if (I) {
15630
+ if (R) {
15631
15631
  N = e.events[$][1].end;
15632
15632
  break;
15633
15633
  }
15634
- I = !0;
15634
+ R = !0;
15635
15635
  }
15636
15636
  for (g(r), E = L; E < e.events.length; )
15637
15637
  e.events[E][1].end = {
@@ -15934,19 +15934,19 @@ function TN(t, e, n) {
15934
15934
  return t.exit("codeFenced"), e(E);
15935
15935
  }
15936
15936
  function S(E, L, $) {
15937
- let I = 0;
15937
+ let R = 0;
15938
15938
  return N;
15939
15939
  function N(v) {
15940
15940
  return E.enter("lineEnding"), E.consume(v), E.exit("lineEnding"), F;
15941
15941
  }
15942
15942
  function F(v) {
15943
- return E.enter("codeFencedFence"), Xt(v) ? Gt(E, R, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(v) : R(v);
15943
+ return E.enter("codeFencedFence"), Xt(v) ? Gt(E, I, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(v) : I(v);
15944
15944
  }
15945
- function R(v) {
15945
+ function I(v) {
15946
15946
  return v === o ? (E.enter("codeFencedFenceSequence"), B(v)) : $(v);
15947
15947
  }
15948
15948
  function B(v) {
15949
- return v === o ? (I++, E.consume(v), B) : I >= s ? (E.exit("codeFencedFenceSequence"), Xt(v) ? Gt(E, _, "whitespace")(v) : _(v)) : $(v);
15949
+ return v === o ? (R++, E.consume(v), B) : R >= s ? (E.exit("codeFencedFenceSequence"), Xt(v) ? Gt(E, _, "whitespace")(v) : _(v)) : $(v);
15950
15950
  }
15951
15951
  function _(v) {
15952
15952
  return v === null || Rt(v) ? (E.exit("codeFencedFence"), L(v)) : $(v);
@@ -16608,7 +16608,7 @@ function ZN(t, e, n) {
16608
16608
  }
16609
16609
  function p(D) {
16610
16610
  const it = "CDATA[";
16611
- return D === it.charCodeAt(o++) ? (t.consume(D), o === it.length ? r.interrupt ? e : R : p) : n(D);
16611
+ return D === it.charCodeAt(o++) ? (t.consume(D), o === it.length ? r.interrupt ? e : I : p) : n(D);
16612
16612
  }
16613
16613
  function m(D) {
16614
16614
  return We(D) ? (t.consume(D), s = String.fromCharCode(D), b) : n(D);
@@ -16616,12 +16616,12 @@ function ZN(t, e, n) {
16616
16616
  function b(D) {
16617
16617
  if (D === null || D === 47 || D === 62 || re(D)) {
16618
16618
  const it = D === 47, rt = s.toLowerCase();
16619
- return !it && !a && B0.includes(rt) ? (i = 1, r.interrupt ? e(D) : R(D)) : VN.includes(s.toLowerCase()) ? (i = 6, it ? (t.consume(D), g) : r.interrupt ? e(D) : R(D)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(D) : a ? x(D) : T(D));
16619
+ return !it && !a && B0.includes(rt) ? (i = 1, r.interrupt ? e(D) : I(D)) : VN.includes(s.toLowerCase()) ? (i = 6, it ? (t.consume(D), g) : r.interrupt ? e(D) : I(D)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(D) : a ? x(D) : T(D));
16620
16620
  }
16621
16621
  return D === 45 || Fe(D) ? (t.consume(D), s += String.fromCharCode(D), b) : n(D);
16622
16622
  }
16623
16623
  function g(D) {
16624
- return D === 62 ? (t.consume(D), r.interrupt ? e : R) : n(D);
16624
+ return D === 62 ? (t.consume(D), r.interrupt ? e : I) : n(D);
16625
16625
  }
16626
16626
  function x(D) {
16627
16627
  return Xt(D) ? (t.consume(D), x) : N(D);
@@ -16639,22 +16639,22 @@ function ZN(t, e, n) {
16639
16639
  return D === null || D === 60 || D === 61 || D === 62 || D === 96 ? n(D) : D === 34 || D === 39 ? (t.consume(D), l = D, L) : Xt(D) ? (t.consume(D), E) : $(D);
16640
16640
  }
16641
16641
  function L(D) {
16642
- return D === l ? (t.consume(D), l = null, I) : D === null || Rt(D) ? n(D) : (t.consume(D), L);
16642
+ return D === l ? (t.consume(D), l = null, R) : D === null || Rt(D) ? n(D) : (t.consume(D), L);
16643
16643
  }
16644
16644
  function $(D) {
16645
16645
  return D === null || D === 34 || D === 39 || D === 47 || D === 60 || D === 61 || D === 62 || D === 96 || re(D) ? S(D) : (t.consume(D), $);
16646
16646
  }
16647
- function I(D) {
16647
+ function R(D) {
16648
16648
  return D === 47 || D === 62 || Xt(D) ? T(D) : n(D);
16649
16649
  }
16650
16650
  function N(D) {
16651
16651
  return D === 62 ? (t.consume(D), F) : n(D);
16652
16652
  }
16653
16653
  function F(D) {
16654
- return D === null || Rt(D) ? R(D) : Xt(D) ? (t.consume(D), F) : n(D);
16654
+ return D === null || Rt(D) ? I(D) : Xt(D) ? (t.consume(D), F) : n(D);
16655
16655
  }
16656
- function R(D) {
16657
- return D === 45 && i === 2 ? (t.consume(D), W) : D === 60 && i === 1 ? (t.consume(D), j) : D === 62 && i === 4 ? (t.consume(D), Y) : D === 63 && i === 3 ? (t.consume(D), O) : D === 93 && i === 5 ? (t.consume(D), X) : Rt(D) && (i === 6 || i === 7) ? (t.exit("htmlFlowData"), t.check(XN, G, B)(D)) : D === null || Rt(D) ? (t.exit("htmlFlowData"), B(D)) : (t.consume(D), R);
16656
+ function I(D) {
16657
+ return D === 45 && i === 2 ? (t.consume(D), W) : D === 60 && i === 1 ? (t.consume(D), j) : D === 62 && i === 4 ? (t.consume(D), Y) : D === 63 && i === 3 ? (t.consume(D), O) : D === 93 && i === 5 ? (t.consume(D), X) : Rt(D) && (i === 6 || i === 7) ? (t.exit("htmlFlowData"), t.check(XN, G, B)(D)) : D === null || Rt(D) ? (t.exit("htmlFlowData"), B(D)) : (t.consume(D), I);
16658
16658
  }
16659
16659
  function B(D) {
16660
16660
  return t.check(KN, _, G)(D);
@@ -16663,26 +16663,26 @@ function ZN(t, e, n) {
16663
16663
  return t.enter("lineEnding"), t.consume(D), t.exit("lineEnding"), v;
16664
16664
  }
16665
16665
  function v(D) {
16666
- return D === null || Rt(D) ? B(D) : (t.enter("htmlFlowData"), R(D));
16666
+ return D === null || Rt(D) ? B(D) : (t.enter("htmlFlowData"), I(D));
16667
16667
  }
16668
16668
  function W(D) {
16669
- return D === 45 ? (t.consume(D), O) : R(D);
16669
+ return D === 45 ? (t.consume(D), O) : I(D);
16670
16670
  }
16671
16671
  function j(D) {
16672
- return D === 47 ? (t.consume(D), s = "", U) : R(D);
16672
+ return D === 47 ? (t.consume(D), s = "", U) : I(D);
16673
16673
  }
16674
16674
  function U(D) {
16675
16675
  if (D === 62) {
16676
16676
  const it = s.toLowerCase();
16677
- return B0.includes(it) ? (t.consume(D), Y) : R(D);
16677
+ return B0.includes(it) ? (t.consume(D), Y) : I(D);
16678
16678
  }
16679
- return We(D) && s.length < 8 ? (t.consume(D), s += String.fromCharCode(D), U) : R(D);
16679
+ return We(D) && s.length < 8 ? (t.consume(D), s += String.fromCharCode(D), U) : I(D);
16680
16680
  }
16681
16681
  function X(D) {
16682
- return D === 93 ? (t.consume(D), O) : R(D);
16682
+ return D === 93 ? (t.consume(D), O) : I(D);
16683
16683
  }
16684
16684
  function O(D) {
16685
- return D === 62 ? (t.consume(D), Y) : D === 45 && i === 2 ? (t.consume(D), O) : R(D);
16685
+ return D === 62 ? (t.consume(D), Y) : D === 45 && i === 2 ? (t.consume(D), O) : I(D);
16686
16686
  }
16687
16687
  function Y(D) {
16688
16688
  return D === null || Rt(D) ? (t.exit("htmlFlowData"), G(D)) : (t.consume(D), Y);
@@ -16768,28 +16768,28 @@ function nR(t, e, n) {
16768
16768
  return Rt(O) ? (s = L, j(O)) : Xt(O) ? (t.consume(O), L) : W(O);
16769
16769
  }
16770
16770
  function $(O) {
16771
- return O === 45 || Fe(O) ? (t.consume(O), $) : O === 47 || O === 62 || re(O) ? I(O) : n(O);
16771
+ return O === 45 || Fe(O) ? (t.consume(O), $) : O === 47 || O === 62 || re(O) ? R(O) : n(O);
16772
16772
  }
16773
- function I(O) {
16774
- return O === 47 ? (t.consume(O), W) : O === 58 || O === 95 || We(O) ? (t.consume(O), N) : Rt(O) ? (s = I, j(O)) : Xt(O) ? (t.consume(O), I) : W(O);
16773
+ function R(O) {
16774
+ return O === 47 ? (t.consume(O), W) : O === 58 || O === 95 || We(O) ? (t.consume(O), N) : Rt(O) ? (s = R, j(O)) : Xt(O) ? (t.consume(O), R) : W(O);
16775
16775
  }
16776
16776
  function N(O) {
16777
16777
  return O === 45 || O === 46 || O === 58 || O === 95 || Fe(O) ? (t.consume(O), N) : F(O);
16778
16778
  }
16779
16779
  function F(O) {
16780
- return O === 61 ? (t.consume(O), R) : Rt(O) ? (s = F, j(O)) : Xt(O) ? (t.consume(O), F) : I(O);
16780
+ return O === 61 ? (t.consume(O), I) : Rt(O) ? (s = F, j(O)) : Xt(O) ? (t.consume(O), F) : R(O);
16781
16781
  }
16782
- function R(O) {
16783
- return O === null || O === 60 || O === 61 || O === 62 || O === 96 ? n(O) : O === 34 || O === 39 ? (t.consume(O), i = O, B) : Rt(O) ? (s = R, j(O)) : Xt(O) ? (t.consume(O), R) : (t.consume(O), _);
16782
+ function I(O) {
16783
+ return O === null || O === 60 || O === 61 || O === 62 || O === 96 ? n(O) : O === 34 || O === 39 ? (t.consume(O), i = O, B) : Rt(O) ? (s = I, j(O)) : Xt(O) ? (t.consume(O), I) : (t.consume(O), _);
16784
16784
  }
16785
16785
  function B(O) {
16786
16786
  return O === i ? (t.consume(O), i = void 0, v) : O === null ? n(O) : Rt(O) ? (s = B, j(O)) : (t.consume(O), B);
16787
16787
  }
16788
16788
  function _(O) {
16789
- return O === null || O === 34 || O === 39 || O === 60 || O === 61 || O === 96 ? n(O) : O === 47 || O === 62 || re(O) ? I(O) : (t.consume(O), _);
16789
+ return O === null || O === 34 || O === 39 || O === 60 || O === 61 || O === 96 ? n(O) : O === 47 || O === 62 || re(O) ? R(O) : (t.consume(O), _);
16790
16790
  }
16791
16791
  function v(O) {
16792
- return O === 47 || O === 62 || re(O) ? I(O) : n(O);
16792
+ return O === 47 || O === 62 || re(O) ? R(O) : n(O);
16793
16793
  }
16794
16794
  function W(O) {
16795
16795
  return O === 62 ? (t.consume(O), t.exit("htmlTextData"), t.exit("htmlText"), e) : n(O);
@@ -17360,8 +17360,8 @@ function jR(t, e, n) {
17360
17360
  function h(F) {
17361
17361
  return s = Ln(s, F), b(), s[s.length - 1] !== null ? [] : ($(e, 0), u.events = Il(a, u.events, u), u.events);
17362
17362
  }
17363
- function f(F, R) {
17364
- return qR(d(F), R);
17363
+ function f(F, I) {
17364
+ return qR(d(F), I);
17365
17365
  }
17366
17366
  function d(F) {
17367
17367
  return WR(s, F);
@@ -17369,14 +17369,14 @@ function jR(t, e, n) {
17369
17369
  function p() {
17370
17370
  const {
17371
17371
  _bufferIndex: F,
17372
- _index: R,
17372
+ _index: I,
17373
17373
  line: B,
17374
17374
  column: _,
17375
17375
  offset: v
17376
17376
  } = r;
17377
17377
  return {
17378
17378
  _bufferIndex: F,
17379
- _index: R,
17379
+ _index: I,
17380
17380
  line: B,
17381
17381
  column: _,
17382
17382
  offset: v
@@ -17388,12 +17388,12 @@ function jR(t, e, n) {
17388
17388
  function b() {
17389
17389
  let F;
17390
17390
  for (; r._index < s.length; ) {
17391
- const R = s[r._index];
17392
- if (typeof R == "string")
17393
- for (F = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === F && r._bufferIndex < R.length; )
17394
- g(R.charCodeAt(r._bufferIndex));
17391
+ const I = s[r._index];
17392
+ if (typeof I == "string")
17393
+ for (F = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === F && r._bufferIndex < I.length; )
17394
+ g(I.charCodeAt(r._bufferIndex));
17395
17395
  else
17396
- g(R);
17396
+ g(I);
17397
17397
  }
17398
17398
  }
17399
17399
  function g(F) {
@@ -17405,21 +17405,21 @@ function jR(t, e, n) {
17405
17405
  /** @type {string} */
17406
17406
  s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = F;
17407
17407
  }
17408
- function T(F, R) {
17409
- const B = R || {};
17408
+ function T(F, I) {
17409
+ const B = I || {};
17410
17410
  return B.type = F, B.start = p(), u.events.push(["enter", B, u]), o.push(B), B;
17411
17411
  }
17412
17412
  function w(F) {
17413
- const R = o.pop();
17414
- return R.end = p(), u.events.push(["exit", R, u]), R;
17413
+ const I = o.pop();
17414
+ return I.end = p(), u.events.push(["exit", I, u]), I;
17415
17415
  }
17416
- function S(F, R) {
17417
- $(F, R.from);
17416
+ function S(F, I) {
17417
+ $(F, I.from);
17418
17418
  }
17419
- function E(F, R) {
17420
- R.restore();
17419
+ function E(F, I) {
17420
+ I.restore();
17421
17421
  }
17422
- function L(F, R) {
17422
+ function L(F, I) {
17423
17423
  return B;
17424
17424
  function B(_, v, W) {
17425
17425
  let j, U, X, O;
@@ -17451,11 +17451,11 @@ function jR(t, e, n) {
17451
17451
  function D(yt) {
17452
17452
  return At;
17453
17453
  function At(Et) {
17454
- return O = I(), X = yt, yt.partial || (u.currentConstruct = yt), yt.name && u.parser.constructs.disable.null.includes(yt.name) ? rt() : yt.tokenize.call(
17454
+ return O = R(), X = yt, yt.partial || (u.currentConstruct = yt), yt.name && u.parser.constructs.disable.null.includes(yt.name) ? rt() : yt.tokenize.call(
17455
17455
  // If we do have fields, create an object w/ `context` as its
17456
17456
  // prototype.
17457
17457
  // This allows a “live binding”, which is needed for `interrupt`.
17458
- R ? Object.assign(Object.create(u), R) : u,
17458
+ I ? Object.assign(Object.create(u), I) : u,
17459
17459
  l,
17460
17460
  it,
17461
17461
  rt
@@ -17470,17 +17470,17 @@ function jR(t, e, n) {
17470
17470
  }
17471
17471
  }
17472
17472
  }
17473
- function $(F, R) {
17474
- F.resolveAll && !a.includes(F) && a.push(F), F.resolve && An(u.events, R, u.events.length - R, F.resolve(u.events.slice(R), u)), F.resolveTo && (u.events = F.resolveTo(u.events, u));
17473
+ function $(F, I) {
17474
+ F.resolveAll && !a.includes(F) && a.push(F), F.resolve && An(u.events, I, u.events.length - I, F.resolve(u.events.slice(I), u)), F.resolveTo && (u.events = F.resolveTo(u.events, u));
17475
17475
  }
17476
- function I() {
17477
- const F = p(), R = u.previous, B = u.currentConstruct, _ = u.events.length, v = Array.from(o);
17476
+ function R() {
17477
+ const F = p(), I = u.previous, B = u.currentConstruct, _ = u.events.length, v = Array.from(o);
17478
17478
  return {
17479
17479
  from: _,
17480
17480
  restore: W
17481
17481
  };
17482
17482
  function W() {
17483
- r = F, u.previous = R, u.currentConstruct = B, u.events.length = _, o = v, N();
17483
+ r = F, u.previous = I, u.currentConstruct = B, u.events.length = _, o = v, N();
17484
17484
  }
17485
17485
  }
17486
17486
  function N() {
@@ -17627,21 +17627,21 @@ function JR(t) {
17627
17627
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
17628
17628
  enter: {
17629
17629
  autolink: a(K),
17630
- autolinkProtocol: I,
17631
- autolinkEmail: I,
17630
+ autolinkProtocol: R,
17631
+ autolinkEmail: R,
17632
17632
  atxHeading: a(st),
17633
17633
  blockQuote: a(Ft),
17634
- characterEscape: I,
17635
- characterReference: I,
17634
+ characterEscape: R,
17635
+ characterReference: R,
17636
17636
  codeFenced: a(Ht),
17637
17637
  codeFencedFenceInfo: s,
17638
17638
  codeFencedFenceMeta: s,
17639
17639
  codeIndented: a(Ht, s),
17640
17640
  codeText: a(ie, s),
17641
- codeTextData: I,
17642
- data: I,
17643
- codeFlowValue: I,
17644
- definition: a(me),
17641
+ codeTextData: R,
17642
+ data: R,
17643
+ codeFlowValue: R,
17644
+ definition: a(ge),
17645
17645
  definitionDestinationString: s,
17646
17646
  definitionLabelString: s,
17647
17647
  definitionTitleString: s,
@@ -17649,9 +17649,9 @@ function JR(t) {
17649
17649
  hardBreakEscape: a(et),
17650
17650
  hardBreakTrailing: a(et),
17651
17651
  htmlFlow: a(z, s),
17652
- htmlFlowData: I,
17652
+ htmlFlowData: R,
17653
17653
  htmlText: a(z, s),
17654
- htmlTextData: I,
17654
+ htmlTextData: R,
17655
17655
  image: a(H),
17656
17656
  label: s,
17657
17657
  link: a(K),
@@ -17694,8 +17694,8 @@ function JR(t) {
17694
17694
  definitionLabelString: x,
17695
17695
  definitionTitleString: T,
17696
17696
  emphasis: l(),
17697
- hardBreakEscape: l(R),
17698
- hardBreakTrailing: l(R),
17697
+ hardBreakEscape: l(I),
17698
+ hardBreakTrailing: l(I),
17699
17699
  htmlFlow: l(B),
17700
17700
  htmlFlowData: N,
17701
17701
  htmlText: l(_),
@@ -17744,18 +17744,18 @@ function JR(t) {
17744
17744
  if (Q[Qt][0] === "enter")
17745
17745
  zt.push(Qt);
17746
17746
  else {
17747
- const fe = zt.pop();
17748
- Qt = i(Q, fe, Qt);
17747
+ const pe = zt.pop();
17748
+ Qt = i(Q, pe, Qt);
17749
17749
  }
17750
17750
  for (Qt = -1; ++Qt < Q.length; ) {
17751
- const fe = e[Q[Qt][0]];
17752
- xx.call(fe, Q[Qt][1].type) && fe[Q[Qt][1].type].call(Object.assign({
17751
+ const pe = e[Q[Qt][0]];
17752
+ xx.call(pe, Q[Qt][1].type) && pe[Q[Qt][1].type].call(Object.assign({
17753
17753
  sliceSerialize: Q[Qt][2].sliceSerialize
17754
17754
  }, xt), Q[Qt][1]);
17755
17755
  }
17756
17756
  if (xt.tokenStack.length > 0) {
17757
- const fe = xt.tokenStack[xt.tokenStack.length - 1];
17758
- (fe[1] || $0).call(xt, void 0, fe[0]);
17757
+ const pe = xt.tokenStack[xt.tokenStack.length - 1];
17758
+ (pe[1] || $0).call(xt, void 0, pe[0]);
17759
17759
  }
17760
17760
  for (ut.position = {
17761
17761
  start: br(Q.length > 0 ? Q[0][1].start : {
@@ -17773,7 +17773,7 @@ function JR(t) {
17773
17773
  return ut;
17774
17774
  }
17775
17775
  function i(Q, ut, xt) {
17776
- let zt = ut - 1, Qt = -1, fe = !1, De, te, ke, Ye;
17776
+ let zt = ut - 1, Qt = -1, pe = !1, De, te, ke, Ye;
17777
17777
  for (; ++zt <= xt; ) {
17778
17778
  const ue = Q[zt];
17779
17779
  switch (ue[1].type) {
@@ -17803,7 +17803,7 @@ function JR(t) {
17803
17803
  const xn = Q[yn];
17804
17804
  if (xn[1].type === "lineEnding" || xn[1].type === "lineEndingBlank") {
17805
17805
  if (xn[0] === "exit") continue;
17806
- te && (Q[te][1].type = "lineEndingBlank", fe = !0), xn[1].type = "lineEnding", te = yn;
17806
+ te && (Q[te][1].type = "lineEndingBlank", pe = !0), xn[1].type = "lineEnding", te = yn;
17807
17807
  } else if (!(xn[1].type === "linePrefix" || xn[1].type === "blockQuotePrefix" || xn[1].type === "blockQuotePrefixWhitespace" || xn[1].type === "blockQuoteMarker" || xn[1].type === "listItemIndent")) break;
17808
17808
  }
17809
17809
  ke && (!te || ke < te) && (De._spread = !0), De.end = Object.assign({}, te ? Q[te][1].start : ue[1].end), Q.splice(te || zt, 0, ["exit", De, ue[2]]), zt++, xt++;
@@ -17820,7 +17820,7 @@ function JR(t) {
17820
17820
  }
17821
17821
  }
17822
17822
  }
17823
- return Q[ut][1]._spread = fe, xt;
17823
+ return Q[ut][1]._spread = pe, xt;
17824
17824
  }
17825
17825
  function a(Q, ut) {
17826
17826
  return xt;
@@ -17917,7 +17917,7 @@ function JR(t) {
17917
17917
  function $() {
17918
17918
  this.data.setextHeadingSlurpLineEnding = void 0;
17919
17919
  }
17920
- function I(Q) {
17920
+ function R(Q) {
17921
17921
  const xt = this.stack[this.stack.length - 1].children;
17922
17922
  let zt = xt[xt.length - 1];
17923
17923
  (!zt || zt.type !== "text") && (zt = _t(), zt.position = {
@@ -17937,9 +17937,9 @@ function JR(t) {
17937
17937
  xt.position.end = br(Q.end), this.data.atHardBreak = void 0;
17938
17938
  return;
17939
17939
  }
17940
- !this.data.setextHeadingSlurpLineEnding && e.canContainEols.includes(ut.type) && (I.call(this, Q), N.call(this, Q));
17940
+ !this.data.setextHeadingSlurpLineEnding && e.canContainEols.includes(ut.type) && (R.call(this, Q), N.call(this, Q));
17941
17941
  }
17942
- function R() {
17942
+ function I() {
17943
17943
  this.data.atHardBreak = !0;
17944
17944
  }
17945
17945
  function B() {
@@ -18046,7 +18046,7 @@ function JR(t) {
18046
18046
  value: ""
18047
18047
  };
18048
18048
  }
18049
- function me() {
18049
+ function ge() {
18050
18050
  return {
18051
18051
  type: "definition",
18052
18052
  identifier: "",
@@ -22084,7 +22084,7 @@ function _M(t, e, n) {
22084
22084
  _ === "linePrefix") F--;
22085
22085
  else break;
22086
22086
  }
22087
- const R = F > -1 ? r.events[F][1].type : null, B = R === "tableHead" || R === "tableRow" ? E : l;
22087
+ const I = F > -1 ? r.events[F][1].type : null, B = I === "tableHead" || I === "tableRow" ? E : l;
22088
22088
  return B === E && r.parser.lazy[r.now().line] ? n(N) : B(N);
22089
22089
  }
22090
22090
  function l(N) {
@@ -22136,9 +22136,9 @@ function _M(t, e, n) {
22136
22136
  return N === 124 ? (t.enter("tableCellDivider"), t.consume(N), t.exit("tableCellDivider"), L) : N === null || Rt(N) ? (t.exit("tableRow"), e(N)) : Xt(N) ? Gt(t, L, "whitespace")(N) : (t.enter("data"), $(N));
22137
22137
  }
22138
22138
  function $(N) {
22139
- return N === null || N === 124 || re(N) ? (t.exit("data"), L(N)) : (t.consume(N), N === 92 ? I : $);
22139
+ return N === null || N === 124 || re(N) ? (t.exit("data"), L(N)) : (t.consume(N), N === 92 ? R : $);
22140
22140
  }
22141
- function I(N) {
22141
+ function R(N) {
22142
22142
  return N === 92 || N === 124 ? (t.consume(N), $) : $(N);
22143
22143
  }
22144
22144
  }
@@ -22370,7 +22370,7 @@ bn.prototype.property = "";
22370
22370
  bn.prototype.spaceSeparated = !1;
22371
22371
  bn.prototype.space = void 0;
22372
22372
  let DM = 0;
22373
- const Yt = fi(), Ae = fi(), tC = fi(), mt = fi(), he = fi(), Di = fi(), Tn = fi();
22373
+ const Yt = fi(), Ae = fi(), tC = fi(), mt = fi(), de = fi(), Di = fi(), Tn = fi();
22374
22374
  function fi() {
22375
22375
  return 2 ** ++DM;
22376
22376
  }
@@ -22382,7 +22382,7 @@ const Yc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22382
22382
  commaSeparated: Di,
22383
22383
  number: mt,
22384
22384
  overloadedBoolean: tC,
22385
- spaceSeparated: he
22385
+ spaceSeparated: de
22386
22386
  }, Symbol.toStringTag, { value: "Module" })), Au = (
22387
22387
  /** @type {ReadonlyArray<keyof typeof types>} */
22388
22388
  Object.keys(Yc)
@@ -22437,36 +22437,36 @@ const eC = ca({
22437
22437
  ariaColCount: mt,
22438
22438
  ariaColIndex: mt,
22439
22439
  ariaColSpan: mt,
22440
- ariaControls: he,
22440
+ ariaControls: de,
22441
22441
  ariaCurrent: null,
22442
- ariaDescribedBy: he,
22442
+ ariaDescribedBy: de,
22443
22443
  ariaDetails: null,
22444
22444
  ariaDisabled: Ae,
22445
- ariaDropEffect: he,
22445
+ ariaDropEffect: de,
22446
22446
  ariaErrorMessage: null,
22447
22447
  ariaExpanded: Ae,
22448
- ariaFlowTo: he,
22448
+ ariaFlowTo: de,
22449
22449
  ariaGrabbed: Ae,
22450
22450
  ariaHasPopup: null,
22451
22451
  ariaHidden: Ae,
22452
22452
  ariaInvalid: null,
22453
22453
  ariaKeyShortcuts: null,
22454
22454
  ariaLabel: null,
22455
- ariaLabelledBy: he,
22455
+ ariaLabelledBy: de,
22456
22456
  ariaLevel: mt,
22457
22457
  ariaLive: null,
22458
22458
  ariaModal: Ae,
22459
22459
  ariaMultiLine: Ae,
22460
22460
  ariaMultiSelectable: Ae,
22461
22461
  ariaOrientation: null,
22462
- ariaOwns: he,
22462
+ ariaOwns: de,
22463
22463
  ariaPlaceholder: null,
22464
22464
  ariaPosInSet: mt,
22465
22465
  ariaPressed: Ae,
22466
22466
  ariaReadOnly: Ae,
22467
22467
  ariaRelevant: null,
22468
22468
  ariaRequired: Ae,
22469
- ariaRoleDescription: he,
22469
+ ariaRoleDescription: de,
22470
22470
  ariaRowCount: mt,
22471
22471
  ariaRowIndex: mt,
22472
22472
  ariaRowSpan: mt,
@@ -22501,8 +22501,8 @@ const OM = ca({
22501
22501
  // Standard Properties.
22502
22502
  abbr: null,
22503
22503
  accept: Di,
22504
- acceptCharset: he,
22505
- accessKey: he,
22504
+ acceptCharset: de,
22505
+ accessKey: de,
22506
22506
  action: null,
22507
22507
  allow: null,
22508
22508
  allowFullScreen: Yt,
@@ -22512,21 +22512,21 @@ const OM = ca({
22512
22512
  as: null,
22513
22513
  async: Yt,
22514
22514
  autoCapitalize: null,
22515
- autoComplete: he,
22515
+ autoComplete: de,
22516
22516
  autoFocus: Yt,
22517
22517
  autoPlay: Yt,
22518
- blocking: he,
22518
+ blocking: de,
22519
22519
  capture: null,
22520
22520
  charSet: null,
22521
22521
  checked: Yt,
22522
22522
  cite: null,
22523
- className: he,
22523
+ className: de,
22524
22524
  cols: mt,
22525
22525
  colSpan: null,
22526
22526
  content: null,
22527
22527
  contentEditable: Ae,
22528
22528
  controls: Yt,
22529
- controlsList: he,
22529
+ controlsList: de,
22530
22530
  coords: mt | Di,
22531
22531
  crossOrigin: null,
22532
22532
  data: null,
@@ -22548,14 +22548,14 @@ const OM = ca({
22548
22548
  formMethod: null,
22549
22549
  formNoValidate: Yt,
22550
22550
  formTarget: null,
22551
- headers: he,
22551
+ headers: de,
22552
22552
  height: mt,
22553
22553
  hidden: Yt,
22554
22554
  high: mt,
22555
22555
  href: null,
22556
22556
  hrefLang: null,
22557
- htmlFor: he,
22558
- httpEquiv: he,
22557
+ htmlFor: de,
22558
+ httpEquiv: de,
22559
22559
  id: null,
22560
22560
  imageSizes: null,
22561
22561
  imageSrcSet: null,
@@ -22565,10 +22565,10 @@ const OM = ca({
22565
22565
  is: null,
22566
22566
  isMap: Yt,
22567
22567
  itemId: null,
22568
- itemProp: he,
22569
- itemRef: he,
22568
+ itemProp: de,
22569
+ itemRef: de,
22570
22570
  itemScope: Yt,
22571
- itemType: he,
22571
+ itemType: de,
22572
22572
  kind: null,
22573
22573
  label: null,
22574
22574
  lang: null,
@@ -22681,7 +22681,7 @@ const OM = ca({
22681
22681
  open: Yt,
22682
22682
  optimum: mt,
22683
22683
  pattern: null,
22684
- ping: he,
22684
+ ping: de,
22685
22685
  placeholder: null,
22686
22686
  playsInline: Yt,
22687
22687
  popover: null,
@@ -22691,12 +22691,12 @@ const OM = ca({
22691
22691
  preload: null,
22692
22692
  readOnly: Yt,
22693
22693
  referrerPolicy: null,
22694
- rel: he,
22694
+ rel: de,
22695
22695
  required: Yt,
22696
22696
  reversed: Yt,
22697
22697
  rows: mt,
22698
22698
  rowSpan: mt,
22699
- sandbox: he,
22699
+ sandbox: de,
22700
22700
  scope: null,
22701
22701
  scoped: Yt,
22702
22702
  seamless: Yt,
@@ -22734,7 +22734,7 @@ const OM = ca({
22734
22734
  // Several. Use CSS `text-align` instead,
22735
22735
  aLink: null,
22736
22736
  // `<body>`. Use CSS `a:active {color}` instead
22737
- archive: he,
22737
+ archive: de,
22738
22738
  // `<object>`. List of URIs to archives
22739
22739
  axis: null,
22740
22740
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -23049,7 +23049,7 @@ const OM = ca({
23049
23049
  by: null,
23050
23050
  calcMode: null,
23051
23051
  capHeight: mt,
23052
- className: he,
23052
+ className: de,
23053
23053
  clip: null,
23054
23054
  clipPath: null,
23055
23055
  clipPathUnits: null,
@@ -23284,7 +23284,7 @@ const OM = ca({
23284
23284
  patternTransform: null,
23285
23285
  patternUnits: null,
23286
23286
  phase: null,
23287
- ping: he,
23287
+ ping: de,
23288
23288
  pitch: null,
23289
23289
  playbackOrder: null,
23290
23290
  pointerEvents: null,
@@ -23849,7 +23849,7 @@ Mn.prototype.commaOrSpaceSeparated = !1;
23849
23849
  Mn.prototype.mustUseProperty = !1;
23850
23850
  Mn.prototype.defined = !1;
23851
23851
  let JM = 0;
23852
- const Vt = pi(), ve = pi(), dC = pi(), gt = pi(), de = pi(), Oi = pi(), En = pi();
23852
+ const Vt = pi(), ve = pi(), dC = pi(), gt = pi(), fe = pi(), Oi = pi(), En = pi();
23853
23853
  function pi() {
23854
23854
  return 2 ** ++JM;
23855
23855
  }
@@ -23861,7 +23861,7 @@ const Xc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23861
23861
  commaSeparated: Oi,
23862
23862
  number: gt,
23863
23863
  overloadedBoolean: dC,
23864
- spaceSeparated: de
23864
+ spaceSeparated: fe
23865
23865
  }, Symbol.toStringTag, { value: "Module" })), vu = Object.keys(Xc);
23866
23866
  class Sd extends Mn {
23867
23867
  /**
@@ -23945,36 +23945,36 @@ const bC = ha({
23945
23945
  ariaColCount: gt,
23946
23946
  ariaColIndex: gt,
23947
23947
  ariaColSpan: gt,
23948
- ariaControls: de,
23948
+ ariaControls: fe,
23949
23949
  ariaCurrent: null,
23950
- ariaDescribedBy: de,
23950
+ ariaDescribedBy: fe,
23951
23951
  ariaDetails: null,
23952
23952
  ariaDisabled: ve,
23953
- ariaDropEffect: de,
23953
+ ariaDropEffect: fe,
23954
23954
  ariaErrorMessage: null,
23955
23955
  ariaExpanded: ve,
23956
- ariaFlowTo: de,
23956
+ ariaFlowTo: fe,
23957
23957
  ariaGrabbed: ve,
23958
23958
  ariaHasPopup: null,
23959
23959
  ariaHidden: ve,
23960
23960
  ariaInvalid: null,
23961
23961
  ariaKeyShortcuts: null,
23962
23962
  ariaLabel: null,
23963
- ariaLabelledBy: de,
23963
+ ariaLabelledBy: fe,
23964
23964
  ariaLevel: gt,
23965
23965
  ariaLive: null,
23966
23966
  ariaModal: ve,
23967
23967
  ariaMultiLine: ve,
23968
23968
  ariaMultiSelectable: ve,
23969
23969
  ariaOrientation: null,
23970
- ariaOwns: de,
23970
+ ariaOwns: fe,
23971
23971
  ariaPlaceholder: null,
23972
23972
  ariaPosInSet: gt,
23973
23973
  ariaPressed: ve,
23974
23974
  ariaReadOnly: ve,
23975
23975
  ariaRelevant: null,
23976
23976
  ariaRequired: ve,
23977
- ariaRoleDescription: de,
23977
+ ariaRoleDescription: fe,
23978
23978
  ariaRowCount: gt,
23979
23979
  ariaRowIndex: gt,
23980
23980
  ariaRowSpan: gt,
@@ -24001,8 +24001,8 @@ const bC = ha({
24001
24001
  // Standard Properties.
24002
24002
  abbr: null,
24003
24003
  accept: Oi,
24004
- acceptCharset: de,
24005
- accessKey: de,
24004
+ acceptCharset: fe,
24005
+ accessKey: fe,
24006
24006
  action: null,
24007
24007
  allow: null,
24008
24008
  allowFullScreen: Vt,
@@ -24012,21 +24012,21 @@ const bC = ha({
24012
24012
  as: null,
24013
24013
  async: Vt,
24014
24014
  autoCapitalize: null,
24015
- autoComplete: de,
24015
+ autoComplete: fe,
24016
24016
  autoFocus: Vt,
24017
24017
  autoPlay: Vt,
24018
- blocking: de,
24018
+ blocking: fe,
24019
24019
  capture: null,
24020
24020
  charSet: null,
24021
24021
  checked: Vt,
24022
24022
  cite: null,
24023
- className: de,
24023
+ className: fe,
24024
24024
  cols: gt,
24025
24025
  colSpan: null,
24026
24026
  content: null,
24027
24027
  contentEditable: ve,
24028
24028
  controls: Vt,
24029
- controlsList: de,
24029
+ controlsList: fe,
24030
24030
  coords: gt | Oi,
24031
24031
  crossOrigin: null,
24032
24032
  data: null,
@@ -24048,14 +24048,14 @@ const bC = ha({
24048
24048
  formMethod: null,
24049
24049
  formNoValidate: Vt,
24050
24050
  formTarget: null,
24051
- headers: de,
24051
+ headers: fe,
24052
24052
  height: gt,
24053
24053
  hidden: Vt,
24054
24054
  high: gt,
24055
24055
  href: null,
24056
24056
  hrefLang: null,
24057
- htmlFor: de,
24058
- httpEquiv: de,
24057
+ htmlFor: fe,
24058
+ httpEquiv: fe,
24059
24059
  id: null,
24060
24060
  imageSizes: null,
24061
24061
  imageSrcSet: null,
@@ -24065,10 +24065,10 @@ const bC = ha({
24065
24065
  is: null,
24066
24066
  isMap: Vt,
24067
24067
  itemId: null,
24068
- itemProp: de,
24069
- itemRef: de,
24068
+ itemProp: fe,
24069
+ itemRef: fe,
24070
24070
  itemScope: Vt,
24071
- itemType: de,
24071
+ itemType: fe,
24072
24072
  kind: null,
24073
24073
  label: null,
24074
24074
  lang: null,
@@ -24181,7 +24181,7 @@ const bC = ha({
24181
24181
  open: Vt,
24182
24182
  optimum: gt,
24183
24183
  pattern: null,
24184
- ping: de,
24184
+ ping: fe,
24185
24185
  placeholder: null,
24186
24186
  playsInline: Vt,
24187
24187
  popover: null,
@@ -24191,12 +24191,12 @@ const bC = ha({
24191
24191
  preload: null,
24192
24192
  readOnly: Vt,
24193
24193
  referrerPolicy: null,
24194
- rel: de,
24194
+ rel: fe,
24195
24195
  required: Vt,
24196
24196
  reversed: Vt,
24197
24197
  rows: gt,
24198
24198
  rowSpan: gt,
24199
- sandbox: de,
24199
+ sandbox: fe,
24200
24200
  scope: null,
24201
24201
  scoped: Vt,
24202
24202
  seamless: Vt,
@@ -24234,7 +24234,7 @@ const bC = ha({
24234
24234
  // Several. Use CSS `text-align` instead,
24235
24235
  aLink: null,
24236
24236
  // `<body>`. Use CSS `a:active {color}` instead
24237
- archive: de,
24237
+ archive: fe,
24238
24238
  // `<object>`. List of URIs to archives
24239
24239
  axis: null,
24240
24240
  // `<td>` and `<th>`. Use `scope` on `<th>`
@@ -24549,7 +24549,7 @@ const bC = ha({
24549
24549
  by: null,
24550
24550
  calcMode: null,
24551
24551
  capHeight: gt,
24552
- className: de,
24552
+ className: fe,
24553
24553
  clip: null,
24554
24554
  clipPath: null,
24555
24555
  clipPathUnits: null,
@@ -24784,7 +24784,7 @@ const bC = ha({
24784
24784
  patternTransform: null,
24785
24785
  patternUnits: null,
24786
24786
  phase: null,
24787
- ping: de,
24787
+ ping: fe,
24788
24788
  pitch: null,
24789
24789
  playbackOrder: null,
24790
24790
  pointerEvents: null,
@@ -25098,7 +25098,7 @@ const xB = [
25098
25098
  1048575,
25099
25099
  1114110,
25100
25100
  1114111
25101
- ]), be = "�";
25101
+ ]), ye = "�";
25102
25102
  var M;
25103
25103
  (function(t) {
25104
25104
  t[t.EOF = -1] = "EOF", t[t.NULL = 0] = "NULL", t[t.TABULATION = 9] = "TABULATION", t[t.CARRIAGE_RETURN = 13] = "CARRIAGE_RETURN", t[t.LINE_FEED = 10] = "LINE_FEED", t[t.FORM_FEED = 12] = "FORM_FEED", t[t.SPACE = 32] = "SPACE", t[t.EXCLAMATION_MARK = 33] = "EXCLAMATION_MARK", t[t.QUOTATION_MARK = 34] = "QUOTATION_MARK", t[t.NUMBER_SIGN = 35] = "NUMBER_SIGN", t[t.AMPERSAND = 38] = "AMPERSAND", t[t.APOSTROPHE = 39] = "APOSTROPHE", t[t.HYPHEN_MINUS = 45] = "HYPHEN_MINUS", t[t.SOLIDUS = 47] = "SOLIDUS", t[t.DIGIT_0 = 48] = "DIGIT_0", t[t.DIGIT_9 = 57] = "DIGIT_9", t[t.SEMICOLON = 59] = "SEMICOLON", t[t.LESS_THAN_SIGN = 60] = "LESS_THAN_SIGN", t[t.EQUALS_SIGN = 61] = "EQUALS_SIGN", t[t.GREATER_THAN_SIGN = 62] = "GREATER_THAN_SIGN", t[t.QUESTION_MARK = 63] = "QUESTION_MARK", t[t.LATIN_CAPITAL_A = 65] = "LATIN_CAPITAL_A", t[t.LATIN_CAPITAL_F = 70] = "LATIN_CAPITAL_F", t[t.LATIN_CAPITAL_X = 88] = "LATIN_CAPITAL_X", t[t.LATIN_CAPITAL_Z = 90] = "LATIN_CAPITAL_Z", t[t.RIGHT_SQUARE_BRACKET = 93] = "RIGHT_SQUARE_BRACKET", t[t.GRAVE_ACCENT = 96] = "GRAVE_ACCENT", t[t.LATIN_SMALL_A = 97] = "LATIN_SMALL_A", t[t.LATIN_SMALL_F = 102] = "LATIN_SMALL_F", t[t.LATIN_SMALL_X = 120] = "LATIN_SMALL_X", t[t.LATIN_SMALL_Z = 122] = "LATIN_SMALL_Z", t[t.REPLACEMENT_CHARACTER = 65533] = "REPLACEMENT_CHARACTER";
@@ -26434,7 +26434,7 @@ class HB {
26434
26434
  break;
26435
26435
  }
26436
26436
  case M.NULL: {
26437
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26437
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26438
26438
  break;
26439
26439
  }
26440
26440
  case M.EOF: {
@@ -26454,7 +26454,7 @@ class HB {
26454
26454
  break;
26455
26455
  }
26456
26456
  case M.NULL: {
26457
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26457
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26458
26458
  break;
26459
26459
  }
26460
26460
  case M.EOF: {
@@ -26474,7 +26474,7 @@ class HB {
26474
26474
  break;
26475
26475
  }
26476
26476
  case M.NULL: {
26477
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26477
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26478
26478
  break;
26479
26479
  }
26480
26480
  case M.EOF: {
@@ -26490,7 +26490,7 @@ class HB {
26490
26490
  _statePlaintext(e) {
26491
26491
  switch (e) {
26492
26492
  case M.NULL: {
26493
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26493
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26494
26494
  break;
26495
26495
  }
26496
26496
  case M.EOF: {
@@ -26568,7 +26568,7 @@ class HB {
26568
26568
  break;
26569
26569
  }
26570
26570
  case M.NULL: {
26571
- this._err(nt.unexpectedNullCharacter), n.tagName += be;
26571
+ this._err(nt.unexpectedNullCharacter), n.tagName += ye;
26572
26572
  break;
26573
26573
  }
26574
26574
  case M.EOF: {
@@ -26677,7 +26677,7 @@ class HB {
26677
26677
  break;
26678
26678
  }
26679
26679
  case M.NULL: {
26680
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26680
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26681
26681
  break;
26682
26682
  }
26683
26683
  case M.EOF: {
@@ -26701,7 +26701,7 @@ class HB {
26701
26701
  break;
26702
26702
  }
26703
26703
  case M.NULL: {
26704
- this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_ESCAPED, this._emitChars(be);
26704
+ this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_ESCAPED, this._emitChars(ye);
26705
26705
  break;
26706
26706
  }
26707
26707
  case M.EOF: {
@@ -26729,7 +26729,7 @@ class HB {
26729
26729
  break;
26730
26730
  }
26731
26731
  case M.NULL: {
26732
- this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_ESCAPED, this._emitChars(be);
26732
+ this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_ESCAPED, this._emitChars(ye);
26733
26733
  break;
26734
26734
  }
26735
26735
  case M.EOF: {
@@ -26778,7 +26778,7 @@ class HB {
26778
26778
  break;
26779
26779
  }
26780
26780
  case M.NULL: {
26781
- this._err(nt.unexpectedNullCharacter), this._emitChars(be);
26781
+ this._err(nt.unexpectedNullCharacter), this._emitChars(ye);
26782
26782
  break;
26783
26783
  }
26784
26784
  case M.EOF: {
@@ -26802,7 +26802,7 @@ class HB {
26802
26802
  break;
26803
26803
  }
26804
26804
  case M.NULL: {
26805
- this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(be);
26805
+ this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(ye);
26806
26806
  break;
26807
26807
  }
26808
26808
  case M.EOF: {
@@ -26830,7 +26830,7 @@ class HB {
26830
26830
  break;
26831
26831
  }
26832
26832
  case M.NULL: {
26833
- this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(be);
26833
+ this._err(nt.unexpectedNullCharacter), this.state = P.SCRIPT_DATA_DOUBLE_ESCAPED, this._emitChars(ye);
26834
26834
  break;
26835
26835
  }
26836
26836
  case M.EOF: {
@@ -26904,7 +26904,7 @@ class HB {
26904
26904
  break;
26905
26905
  }
26906
26906
  case M.NULL: {
26907
- this._err(nt.unexpectedNullCharacter), this.currentAttr.name += be;
26907
+ this._err(nt.unexpectedNullCharacter), this.currentAttr.name += ye;
26908
26908
  break;
26909
26909
  }
26910
26910
  default:
@@ -26978,7 +26978,7 @@ class HB {
26978
26978
  break;
26979
26979
  }
26980
26980
  case M.NULL: {
26981
- this._err(nt.unexpectedNullCharacter), this.currentAttr.value += be;
26981
+ this._err(nt.unexpectedNullCharacter), this.currentAttr.value += ye;
26982
26982
  break;
26983
26983
  }
26984
26984
  case M.EOF: {
@@ -27002,7 +27002,7 @@ class HB {
27002
27002
  break;
27003
27003
  }
27004
27004
  case M.NULL: {
27005
- this._err(nt.unexpectedNullCharacter), this.currentAttr.value += be;
27005
+ this._err(nt.unexpectedNullCharacter), this.currentAttr.value += ye;
27006
27006
  break;
27007
27007
  }
27008
27008
  case M.EOF: {
@@ -27033,7 +27033,7 @@ class HB {
27033
27033
  break;
27034
27034
  }
27035
27035
  case M.NULL: {
27036
- this._err(nt.unexpectedNullCharacter), this.currentAttr.value += be;
27036
+ this._err(nt.unexpectedNullCharacter), this.currentAttr.value += ye;
27037
27037
  break;
27038
27038
  }
27039
27039
  case M.QUOTATION_MARK:
@@ -27110,7 +27110,7 @@ class HB {
27110
27110
  break;
27111
27111
  }
27112
27112
  case M.NULL: {
27113
- this._err(nt.unexpectedNullCharacter), n.data += be;
27113
+ this._err(nt.unexpectedNullCharacter), n.data += ye;
27114
27114
  break;
27115
27115
  }
27116
27116
  default:
@@ -27175,7 +27175,7 @@ class HB {
27175
27175
  break;
27176
27176
  }
27177
27177
  case M.NULL: {
27178
- this._err(nt.unexpectedNullCharacter), n.data += be;
27178
+ this._err(nt.unexpectedNullCharacter), n.data += ye;
27179
27179
  break;
27180
27180
  }
27181
27181
  case M.EOF: {
@@ -27319,7 +27319,7 @@ class HB {
27319
27319
  case M.FORM_FEED:
27320
27320
  break;
27321
27321
  case M.NULL: {
27322
- this._err(nt.unexpectedNullCharacter), this._createDoctypeToken(be), this.state = P.DOCTYPE_NAME;
27322
+ this._err(nt.unexpectedNullCharacter), this._createDoctypeToken(ye), this.state = P.DOCTYPE_NAME;
27323
27323
  break;
27324
27324
  }
27325
27325
  case M.GREATER_THAN_SIGN: {
@@ -27355,7 +27355,7 @@ class HB {
27355
27355
  break;
27356
27356
  }
27357
27357
  case M.NULL: {
27358
- this._err(nt.unexpectedNullCharacter), n.name += be;
27358
+ this._err(nt.unexpectedNullCharacter), n.name += ye;
27359
27359
  break;
27360
27360
  }
27361
27361
  case M.EOF: {
@@ -27460,7 +27460,7 @@ class HB {
27460
27460
  break;
27461
27461
  }
27462
27462
  case M.NULL: {
27463
- this._err(nt.unexpectedNullCharacter), n.publicId += be;
27463
+ this._err(nt.unexpectedNullCharacter), n.publicId += ye;
27464
27464
  break;
27465
27465
  }
27466
27466
  case M.GREATER_THAN_SIGN: {
@@ -27485,7 +27485,7 @@ class HB {
27485
27485
  break;
27486
27486
  }
27487
27487
  case M.NULL: {
27488
- this._err(nt.unexpectedNullCharacter), n.publicId += be;
27488
+ this._err(nt.unexpectedNullCharacter), n.publicId += ye;
27489
27489
  break;
27490
27490
  }
27491
27491
  case M.GREATER_THAN_SIGN: {
@@ -27634,7 +27634,7 @@ class HB {
27634
27634
  break;
27635
27635
  }
27636
27636
  case M.NULL: {
27637
- this._err(nt.unexpectedNullCharacter), n.systemId += be;
27637
+ this._err(nt.unexpectedNullCharacter), n.systemId += ye;
27638
27638
  break;
27639
27639
  }
27640
27640
  case M.GREATER_THAN_SIGN: {
@@ -27659,7 +27659,7 @@ class HB {
27659
27659
  break;
27660
27660
  }
27661
27661
  case M.NULL: {
27662
- this._err(nt.unexpectedNullCharacter), n.systemId += be;
27662
+ this._err(nt.unexpectedNullCharacter), n.systemId += ye;
27663
27663
  break;
27664
27664
  }
27665
27665
  case M.GREATER_THAN_SIGN: {
@@ -30736,7 +30736,7 @@ function jP(t, e) {
30736
30736
  }
30737
30737
  }
30738
30738
  function WP(t, e) {
30739
- e.chars = be, t._insertCharacters(e);
30739
+ e.chars = ye, t._insertCharacters(e);
30740
30740
  }
30741
30741
  function qP(t, e) {
30742
30742
  t._insertCharacters(e), t.framesetOk = !1;
@@ -31169,10 +31169,10 @@ function Nd(t, e) {
31169
31169
  } else
31170
31170
  S = "named";
31171
31171
  let E = "", L = "", $ = "";
31172
- const I = S === "named" ? Dp : S === "decimal" ? r3 : uF;
31172
+ const R = S === "named" ? Dp : S === "decimal" ? r3 : uF;
31173
31173
  for (w--; ++w <= t.length; ) {
31174
31174
  const B = t.charCodeAt(w);
31175
- if (!I(B))
31175
+ if (!R(B))
31176
31176
  break;
31177
31177
  $ += String.fromCharCode(B), S === "named" && lF.includes($) && (E = $, L = ls($));
31178
31178
  }
@@ -31182,7 +31182,7 @@ function Nd(t, e) {
31182
31182
  const B = S === "named" ? ls($) : !1;
31183
31183
  B && (E = $, L = B);
31184
31184
  }
31185
- let F = 1 + w - x, R = "";
31185
+ let F = 1 + w - x, I = "";
31186
31186
  if (!(!N && n.nonTerminated === !1)) if (!$)
31187
31187
  S !== "named" && m(4, F);
31188
31188
  else if (S === "named") {
@@ -31196,7 +31196,7 @@ function Nd(t, e) {
31196
31196
  } else
31197
31197
  m(B, F);
31198
31198
  }
31199
- R = L;
31199
+ I = L;
31200
31200
  } else {
31201
31201
  N || m(2, F);
31202
31202
  let B = Number.parseInt(
@@ -31204,22 +31204,22 @@ function Nd(t, e) {
31204
31204
  S === "hexadecimal" ? 16 : 10
31205
31205
  );
31206
31206
  if (dF(B))
31207
- m(7, F), R = "�";
31207
+ m(7, F), I = "�";
31208
31208
  else if (B in Rp)
31209
- m(6, F), R = Rp[B];
31209
+ m(6, F), I = Rp[B];
31210
31210
  else {
31211
31211
  let _ = "";
31212
31212
  fF(B) && m(6, F), B > 65535 && (B -= 65536, _ += String.fromCharCode(
31213
31213
  B >>> 10 | 55296
31214
- ), B = 56320 | B & 1023), R = _ + String.fromCharCode(B);
31214
+ ), B = 56320 | B & 1023), I = _ + String.fromCharCode(B);
31215
31215
  }
31216
31216
  }
31217
- if (R) {
31218
- b(), f = p(), a = w - 1, h += w - x + 1, i.push(R);
31217
+ if (I) {
31218
+ b(), f = p(), a = w - 1, h += w - x + 1, i.push(I);
31219
31219
  const B = p();
31220
31220
  B.offset++, n.reference && n.reference.call(
31221
31221
  n.referenceContext || void 0,
31222
- R,
31222
+ I,
31223
31223
  { start: f, end: B },
31224
31224
  t.slice(x - 1, w)
31225
31225
  ), f = B;
@@ -31549,19 +31549,19 @@ function Dd(t, e, n, r, i, a, s, o, l, u, c, h, f, d, p) {
31549
31549
  return v === 61 ? (t.enter(u), t.consume(v), t.exit(u), $) : (t.exit(a), x(v));
31550
31550
  }
31551
31551
  function $(v) {
31552
- return v === null || v === 60 || v === 61 || v === 62 || v === 96 || v === 125 || p && Rt(v) ? n(v) : v === 34 || v === 39 ? (t.enter(c), t.enter(f), t.consume(v), t.exit(f), b = v, N) : p && Xt(v) ? Gt(t, $, "whitespace")(v) : !p && re(v) ? hr(t, $)(v) : (t.enter(h), t.enter(d), t.consume(v), b = void 0, I);
31552
+ return v === null || v === 60 || v === 61 || v === 62 || v === 96 || v === 125 || p && Rt(v) ? n(v) : v === 34 || v === 39 ? (t.enter(c), t.enter(f), t.consume(v), t.exit(f), b = v, N) : p && Xt(v) ? Gt(t, $, "whitespace")(v) : !p && re(v) ? hr(t, $)(v) : (t.enter(h), t.enter(d), t.consume(v), b = void 0, R);
31553
31553
  }
31554
- function I(v) {
31555
- return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 125 || re(v) ? (t.exit(d), t.exit(h), t.exit(a), x(v)) : (t.consume(v), I);
31554
+ function R(v) {
31555
+ return v === null || v === 34 || v === 39 || v === 60 || v === 61 || v === 62 || v === 96 ? n(v) : v === 125 || re(v) ? (t.exit(d), t.exit(h), t.exit(a), x(v)) : (t.consume(v), R);
31556
31556
  }
31557
31557
  function N(v) {
31558
31558
  return v === b ? (t.enter(f), t.consume(v), t.exit(f), t.exit(c), t.exit(a), B) : (t.enter(h), F(v));
31559
31559
  }
31560
31560
  function F(v) {
31561
- return v === b ? (t.exit(h), N(v)) : v === null ? n(v) : Rt(v) ? p ? n(v) : hr(t, F)(v) : (t.enter(d), t.consume(v), R);
31561
+ return v === b ? (t.exit(h), N(v)) : v === null ? n(v) : Rt(v) ? p ? n(v) : hr(t, F)(v) : (t.enter(d), t.consume(v), I);
31562
31562
  }
31563
- function R(v) {
31564
- return v === b || v === null || Rt(v) ? (t.exit(d), F(v)) : (t.consume(v), R);
31563
+ function I(v) {
31564
+ return v === b || v === null || Rt(v) ? (t.exit(d), F(v)) : (t.consume(v), I);
31565
31565
  }
31566
31566
  function B(v) {
31567
31567
  return v === 125 || re(v) ? x(v) : _(v);
@@ -31625,79 +31625,79 @@ function FF(t, e, n) {
31625
31625
  const r = this, i = r.events[r.events.length - 1], a = i && i[1].type === "linePrefix" ? i[2].sliceSerialize(i[1], !0).length : 0;
31626
31626
  let s = 0, o;
31627
31627
  return l;
31628
- function l(I) {
31629
- return t.enter("directiveContainer"), t.enter("directiveContainerFence"), t.enter("directiveContainerSequence"), u(I);
31628
+ function l(R) {
31629
+ return t.enter("directiveContainer"), t.enter("directiveContainerFence"), t.enter("directiveContainerSequence"), u(R);
31630
31630
  }
31631
- function u(I) {
31632
- return I === 58 ? (t.consume(I), s++, u) : s < 3 ? n(I) : (t.exit("directiveContainerSequence"), Md.call(r, t, c, n, "directiveContainerName")(I));
31631
+ function u(R) {
31632
+ return R === 58 ? (t.consume(R), s++, u) : s < 3 ? n(R) : (t.exit("directiveContainerSequence"), Md.call(r, t, c, n, "directiveContainerName")(R));
31633
31633
  }
31634
- function c(I) {
31635
- return I === 91 ? t.attempt(BF, h, h)(I) : h(I);
31634
+ function c(R) {
31635
+ return R === 91 ? t.attempt(BF, h, h)(R) : h(R);
31636
31636
  }
31637
- function h(I) {
31638
- return I === 123 ? t.attempt(PF, f, f)(I) : f(I);
31637
+ function h(R) {
31638
+ return R === 123 ? t.attempt(PF, f, f)(R) : f(R);
31639
31639
  }
31640
- function f(I) {
31641
- return Gt(t, d, "whitespace")(I);
31640
+ function f(R) {
31641
+ return Gt(t, d, "whitespace")(R);
31642
31642
  }
31643
- function d(I) {
31644
- return t.exit("directiveContainerFence"), I === null ? L(I) : Rt(I) ? r.interrupt ? e(I) : t.attempt(Gs, p, L)(I) : n(I);
31643
+ function d(R) {
31644
+ return t.exit("directiveContainerFence"), R === null ? L(R) : Rt(R) ? r.interrupt ? e(R) : t.attempt(Gs, p, L)(R) : n(R);
31645
31645
  }
31646
- function p(I) {
31647
- return I === null ? L(I) : Rt(I) ? t.check(Gs, T, L)(I) : (t.enter("directiveContainerContent"), m(I));
31646
+ function p(R) {
31647
+ return R === null ? L(R) : Rt(R) ? t.check(Gs, T, L)(R) : (t.enter("directiveContainerContent"), m(R));
31648
31648
  }
31649
- function m(I) {
31649
+ function m(R) {
31650
31650
  return t.attempt({
31651
31651
  tokenize: $,
31652
31652
  partial: !0
31653
- }, E, a ? Gt(t, b, "linePrefix", a + 1) : b)(I);
31653
+ }, E, a ? Gt(t, b, "linePrefix", a + 1) : b)(R);
31654
31654
  }
31655
- function b(I) {
31656
- return I === null ? E(I) : Rt(I) ? t.check(Gs, x, E)(I) : x(I);
31655
+ function b(R) {
31656
+ return R === null ? E(R) : Rt(R) ? t.check(Gs, x, E)(R) : x(R);
31657
31657
  }
31658
- function g(I) {
31659
- if (I === null) {
31658
+ function g(R) {
31659
+ if (R === null) {
31660
31660
  const N = t.exit("chunkDocument");
31661
- return r.parser.lazy[N.start.line] = !1, E(I);
31661
+ return r.parser.lazy[N.start.line] = !1, E(R);
31662
31662
  }
31663
- return Rt(I) ? t.check(Gs, w, S)(I) : (t.consume(I), g);
31663
+ return Rt(R) ? t.check(Gs, w, S)(R) : (t.consume(R), g);
31664
31664
  }
31665
- function x(I) {
31665
+ function x(R) {
31666
31666
  const N = t.enter("chunkDocument", {
31667
31667
  contentType: "document",
31668
31668
  previous: o
31669
31669
  });
31670
- return o && (o.next = N), o = N, g(I);
31670
+ return o && (o.next = N), o = N, g(R);
31671
31671
  }
31672
- function T(I) {
31673
- return t.enter("directiveContainerContent"), m(I);
31672
+ function T(R) {
31673
+ return t.enter("directiveContainerContent"), m(R);
31674
31674
  }
31675
- function w(I) {
31676
- t.consume(I);
31675
+ function w(R) {
31676
+ t.consume(R);
31677
31677
  const N = t.exit("chunkDocument");
31678
31678
  return r.parser.lazy[N.start.line] = !1, m;
31679
31679
  }
31680
- function S(I) {
31680
+ function S(R) {
31681
31681
  const N = t.exit("chunkDocument");
31682
- return r.parser.lazy[N.start.line] = !1, E(I);
31682
+ return r.parser.lazy[N.start.line] = !1, E(R);
31683
31683
  }
31684
- function E(I) {
31685
- return t.exit("directiveContainerContent"), L(I);
31684
+ function E(R) {
31685
+ return t.exit("directiveContainerContent"), L(R);
31686
31686
  }
31687
- function L(I) {
31688
- return t.exit("directiveContainer"), e(I);
31687
+ function L(R) {
31688
+ return t.exit("directiveContainer"), e(R);
31689
31689
  }
31690
- function $(I, N, F) {
31691
- let R = 0;
31692
- return Gt(I, B, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
31690
+ function $(R, N, F) {
31691
+ let I = 0;
31692
+ return Gt(R, B, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
31693
31693
  function B(W) {
31694
- return I.enter("directiveContainerFence"), I.enter("directiveContainerSequence"), _(W);
31694
+ return R.enter("directiveContainerFence"), R.enter("directiveContainerSequence"), _(W);
31695
31695
  }
31696
31696
  function _(W) {
31697
- return W === 58 ? (I.consume(W), R++, _) : R < s ? F(W) : (I.exit("directiveContainerSequence"), Gt(I, v, "whitespace")(W));
31697
+ return W === 58 ? (R.consume(W), I++, _) : I < s ? F(W) : (R.exit("directiveContainerSequence"), Gt(R, v, "whitespace")(W));
31698
31698
  }
31699
31699
  function v(W) {
31700
- return W === null || Rt(W) ? (I.exit("directiveContainerFence"), N(W)) : F(W);
31700
+ return W === null || Rt(W) ? (R.exit("directiveContainerFence"), N(W)) : F(W);
31701
31701
  }
31702
31702
  }
31703
31703
  }
@@ -32086,7 +32086,7 @@ const p$ = ({
32086
32086
  e(f);
32087
32087
  }
32088
32088
  });
32089
- xe(() => {
32089
+ Ce(() => {
32090
32090
  u != null && u.message && o("content", { message: u.message });
32091
32091
  }, [u, o]);
32092
32092
  const h = (f) => {
@@ -32213,7 +32213,7 @@ const b$ = St.object({
32213
32213
  t(b, c.type);
32214
32214
  }
32215
32215
  });
32216
- xe(() => {
32216
+ Ce(() => {
32217
32217
  f != null && f.message && o("description", { message: f.message });
32218
32218
  }, [f, o]);
32219
32219
  const p = (b) => {
@@ -32414,7 +32414,7 @@ const b$ = St.object({
32414
32414
  queryFn: () => In.get("project_governance/checks"),
32415
32415
  enabled: !1
32416
32416
  });
32417
- return xe(() => {
32417
+ return Ce(() => {
32418
32418
  r();
32419
32419
  }, []), n ? /* @__PURE__ */ k.jsx(ea, {}) : e ? /* @__PURE__ */ k.jsxs(nl, { color: "danger", children: [
32420
32420
  "Error loading checks: ",
@@ -32437,7 +32437,7 @@ const b$ = St.object({
32437
32437
  /* @__PURE__ */ k.jsx(Tt, { direction: "column", className: "al-mt-2", children: t != null && t.length ? t.map((i) => /* @__PURE__ */ k.jsx(C$, { check: i, refetch: r }, i.id)) : /* @__PURE__ */ k.jsx("div", { children: "No checks added yet!" }) })
32438
32438
  ] }) });
32439
32439
  };
32440
- var Ce = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.LOADED = "LOADED", t.ERROR = "ERROR", t.UNINITIALIZED = "UNINITIALIZED", t))(Ce || {}), Is = /* @__PURE__ */ ((t) => (t.SNOWFLAKE_ACCOUNT = "snowflake_account", t.SNOWFLAKE_WAREHOUSE = "snowflake_warehouse", t.SNOWFLAKE_DATABASE = "snowflake_database", t.SNOWFLAKE_TABLE = "snowflake_table", t.SNOWFLAKE_USER = "snowflake_user", t.SNOWFLAKE_ROLE = "snowflake_role", t.UNKNOWN = "unknown", t))(Is || {});
32440
+ var ce = /* @__PURE__ */ ((t) => (t.LOADING = "LOADING", t.LOADED = "LOADED", t.ERROR = "ERROR", t.UNINITIALIZED = "UNINITIALIZED", t.CANCELLED = "cancelled", t))(ce || {}), Is = /* @__PURE__ */ ((t) => (t.SNOWFLAKE_ACCOUNT = "snowflake_account", t.SNOWFLAKE_WAREHOUSE = "snowflake_warehouse", t.SNOWFLAKE_DATABASE = "snowflake_database", t.SNOWFLAKE_TABLE = "snowflake_table", t.SNOWFLAKE_USER = "snowflake_user", t.SNOWFLAKE_ROLE = "snowflake_role", t.UNKNOWN = "unknown", t))(Is || {});
32441
32441
  const Hu = St.enum(["failed", "completed", "pending", "cancelled"]), T$ = St.object({
32442
32442
  id: St.string(),
32443
32443
  content: St.string(),
@@ -32535,7 +32535,7 @@ const L$ = (t, e) => {
32535
32535
  }, I$ = {
32536
32536
  sessions: {},
32537
32537
  currentSessionId: null,
32538
- loadingState: Ce.UNINITIALIZED,
32538
+ loadingState: ce.UNINITIALIZED,
32539
32539
  error: null,
32540
32540
  abortController: null,
32541
32541
  currentActions: [],
@@ -32651,10 +32651,13 @@ const L$ = (t, e) => {
32651
32651
  }
32652
32652
  },
32653
32653
  setSessions: (t, e) => {
32654
- t.sessions = { ...t.sessions, ...e.payload };
32654
+ if (t.sessions = { ...t.sessions, ...e.payload }, t.currentSessionId && t.loadingState === ce.UNINITIALIZED) {
32655
+ const n = t.sessions[t.currentSessionId];
32656
+ n != null && n.messages.length && (t.loadingState = ce.LOADED);
32657
+ }
32655
32658
  },
32656
32659
  resetSession: (t) => {
32657
- t.currentSessionId = null, t.loadingState = Ce.UNINITIALIZED, t.error = null;
32660
+ t.currentSessionId = null, t.loadingState = ce.UNINITIALIZED, t.error = null;
32658
32661
  }
32659
32662
  }
32660
32663
  }), {
@@ -32713,16 +32716,16 @@ const L$ = (t, e) => {
32713
32716
  refetchSession: E,
32714
32717
  chatboxStartPosition: L,
32715
32718
  helloMessageFooter: $,
32716
- handleSavePrompt: I,
32719
+ handleSavePrompt: R,
32717
32720
  showSavePromptButton: N,
32718
32721
  onEvent: F
32719
- }, R) => {
32722
+ }, I) => {
32720
32723
  const [B, _] = $3(th.reducer, {
32721
32724
  ...th.getInitialState(),
32722
32725
  sessions: g || {},
32723
32726
  currentSessionId: x || null
32724
32727
  });
32725
- return H3(R, () => ({
32728
+ return H3(I, () => ({
32726
32729
  getSessionId: () => B.currentSessionId,
32727
32730
  // delete current session id and create a new session
32728
32731
  resetSession: () => {
@@ -32740,22 +32743,23 @@ const L$ = (t, e) => {
32740
32743
  },
32741
32744
  resetStatus: () => {
32742
32745
  _(
32743
- ai({ state: Ce.UNINITIALIZED, sessionId: B.currentSessionId })
32746
+ ai({ state: ce.UNINITIALIZED, sessionId: B.currentSessionId })
32744
32747
  );
32745
32748
  }
32746
- })), xe(() => {
32749
+ })), Ce(() => {
32747
32750
  g && Object.keys(g || {}).length > 0 && _(H$(g));
32748
- }, [g]), xe(() => {
32751
+ }, [g]), Ce(() => {
32749
32752
  _(x ? R$(x) : $p({ context: l, models: f, modes: m }));
32750
- }, [x, _, l, f, m]), xe(() => {
32753
+ }, [x, _, l, f, m]), Ce(() => {
32751
32754
  B.currentSessionId && F && F({ type: "session_created", sessionId: B.currentSessionId });
32752
- }, [B.currentSessionId, F]), xe(() => {
32755
+ }, [B.currentSessionId, F]), Ce(() => {
32753
32756
  if (F && B.currentSessionId) {
32754
32757
  const v = {
32755
- [Ce.UNINITIALIZED]: "idle",
32756
- [Ce.LOADING]: "pending",
32757
- [Ce.LOADED]: "complete",
32758
- [Ce.ERROR]: "error"
32758
+ [ce.UNINITIALIZED]: "idle",
32759
+ [ce.LOADING]: "pending",
32760
+ [ce.LOADED]: "complete",
32761
+ [ce.ERROR]: "error",
32762
+ [ce.CANCELLED]: "cancelled"
32759
32763
  };
32760
32764
  F({
32761
32765
  type: "status_change",
@@ -32796,7 +32800,7 @@ const L$ = (t, e) => {
32796
32800
  refetchSession: E,
32797
32801
  chatboxStartPosition: L,
32798
32802
  helloMessageFooter: $,
32799
- handleSavePrompt: I,
32803
+ handleSavePrompt: R,
32800
32804
  showSavePromptButton: N
32801
32805
  }
32802
32806
  )
@@ -32810,14 +32814,14 @@ async function d3(t, e = {}) {
32810
32814
  const { isMarkdownResponse: n = !1, callbacks: r } = e, i = new TextDecoder();
32811
32815
  let a = [], s, o, l = "", u = !0, c = "", h = "", f = [], d, p, m = "";
32812
32816
  const b = (E, L) => {
32813
- const $ = E.findIndex((I) => I.id && I.id === L.id);
32817
+ const $ = E.findIndex((R) => R.id && R.id === L.id);
32814
32818
  if ($ !== -1) {
32815
- const I = [...E];
32816
- return I[$] = { ...I[$], ...L }, I;
32819
+ const R = [...E];
32820
+ return R[$] = { ...R[$], ...L }, R;
32817
32821
  } else
32818
32822
  return [...E, L];
32819
32823
  }, g = (E) => {
32820
- var L, $, I, N, F, R, B, _, v, W, j;
32824
+ var L, $, R, N, F, I, B, _, v, W, j;
32821
32825
  try {
32822
32826
  const U = JSON.parse(E);
32823
32827
  if (l = U.heading || l, U.type === "info" || U.type === "analysis") {
@@ -32846,7 +32850,7 @@ async function d3(t, e = {}) {
32846
32850
  content: X,
32847
32851
  timestamp: Date.now()
32848
32852
  };
32849
- a = b(a, O), (I = r == null ? void 0 : r.onAction) == null || I.call(r, O);
32853
+ a = b(a, O), (R = r == null ? void 0 : r.onAction) == null || R.call(r, O);
32850
32854
  }
32851
32855
  U.todos && U.todos.length > 0 && (o = U.todos, (N = r == null ? void 0 : r.onTodos) == null || N.call(r, U.todos));
32852
32856
  } else if (U.type === "citations")
@@ -32854,7 +32858,7 @@ async function d3(t, e = {}) {
32854
32858
  else if (U.type === "require_user_action")
32855
32859
  h = U.content || "", f = U.artifacts || [], d = U.interaction;
32856
32860
  else if (U.type === "agent_outcome" || U.type === "error")
32857
- s = U.citations, h = U.content || "", f = U.artifacts || [], U.type === "agent_outcome" && (p = U.confidence_str), U.type === "error" && ((R = r == null ? void 0 : r.onError) == null || R.call(r, U.content || "Unknown error"));
32861
+ s = U.citations, h = U.content || "", f = U.artifacts || [], U.type === "agent_outcome" && (p = U.confidence_str), U.type === "error" && ((I = r == null ? void 0 : r.onError) == null || I.call(r, U.content || "Unknown error"));
32858
32862
  else if (U.type === "final_response") {
32859
32863
  if (h = U.response || "", f = U.artifacts || [], (B = U.data) != null && B.tool_usage) {
32860
32864
  const O = {
@@ -32874,7 +32878,7 @@ async function d3(t, e = {}) {
32874
32878
  const { done: E, value: L } = await t.read();
32875
32879
  if (E) {
32876
32880
  if (u = !1, m.trim() && !n) {
32877
- const I = m.match(/^data:\s*(.+)$/), N = I ? I[1] : m;
32881
+ const R = m.match(/^data:\s*(.+)$/), N = R ? R[1] : m;
32878
32882
  try {
32879
32883
  g(N);
32880
32884
  } catch {
@@ -32893,8 +32897,8 @@ async function d3(t, e = {}) {
32893
32897
  $.endsWith(`
32894
32898
  `) ? m = "" : m = N.pop() || "";
32895
32899
  const F = N.filter(Boolean);
32896
- for (const R of F) {
32897
- const B = R.match(/^data:\s*(.+)$/), _ = B ? B[1] : R;
32900
+ for (const I of F) {
32901
+ const B = I.match(/^data:\s*(.+)$/), _ = B ? B[1] : I;
32898
32902
  g(_);
32899
32903
  }
32900
32904
  }
@@ -33108,15 +33112,15 @@ const Ns = () => {
33108
33112
  context: f,
33109
33113
  dontAddUserMessage: d = !1
33110
33114
  }) => {
33111
- var x, T;
33115
+ var T, w;
33112
33116
  if (!e)
33113
33117
  throw new Error("No active session");
33114
33118
  const p = {
33115
- ...((x = n[e]) == null ? void 0 : x.context) || {},
33119
+ ...((T = n[e]) == null ? void 0 : T.context) || {},
33116
33120
  ...f
33117
33121
  };
33118
33122
  if (!d) {
33119
- const w = o(p);
33123
+ const S = o(p);
33120
33124
  t(
33121
33125
  po({
33122
33126
  sessionId: e,
@@ -33125,14 +33129,14 @@ const Ns = () => {
33125
33129
  role: "user",
33126
33130
  timestamp: Date.now(),
33127
33131
  heading: "",
33128
- attachments: w.length > 0 ? w : void 0
33132
+ attachments: S.length > 0 ? S : void 0
33129
33133
  })
33130
33134
  ), t(
33131
33135
  Mi({ sessionId: e, context: { ...p, uploaded_files: [] } })
33132
33136
  );
33133
33137
  }
33134
33138
  const m = new AbortController();
33135
- t(ai({ state: Ce.LOADING, sessionId: e })), t(Hp(m)), t(u3()), t(P$());
33139
+ t(ai({ state: ce.LOADING, sessionId: e })), t(Hp(m)), t(u3()), t(P$());
33136
33140
  const b = n[e], g = h ? {
33137
33141
  values: c,
33138
33142
  session_id: e
@@ -33144,10 +33148,11 @@ const Ns = () => {
33144
33148
  mode: (b == null ? void 0 : b.mode) || void 0,
33145
33149
  datamates: (b == null ? void 0 : b.datamates) || void 0
33146
33150
  };
33151
+ let x = !1;
33147
33152
  try {
33148
33153
  await (r == null ? void 0 : r({ context: p }));
33149
- const w = (i == null ? void 0 : i.origin) || "https://api.getaltimate.com", S = await fetch(
33150
- h ? `${w}${(i == null ? void 0 : i.proceedPath) || "/agent/proceed"}` : `${w}${(i == null ? void 0 : i.askPath) || "/agent/ask"}`,
33154
+ const S = (i == null ? void 0 : i.origin) || "https://api.getaltimate.com", E = await fetch(
33155
+ h ? `${S}${(i == null ? void 0 : i.proceedPath) || "/agent/proceed"}` : `${S}${(i == null ? void 0 : i.askPath) || "/agent/ask"}`,
33151
33156
  {
33152
33157
  ...a,
33153
33158
  method: "POST",
@@ -33159,30 +33164,30 @@ const Ns = () => {
33159
33164
  signal: m.signal
33160
33165
  }
33161
33166
  );
33162
- if (!S.ok)
33167
+ if (!E.ok)
33163
33168
  throw new Error("Failed to send message");
33164
- const E = (T = S.body) == null ? void 0 : T.getReader();
33165
- if (!E)
33169
+ const L = (w = E.body) == null ? void 0 : w.getReader();
33170
+ if (!L)
33166
33171
  throw new Error("No response stream available");
33167
- const L = (Date.now() + 1).toString();
33168
- let $ = !1;
33169
- const I = await d3(E, {
33172
+ const $ = (Date.now() + 1).toString();
33173
+ let R = !1;
33174
+ const N = await d3(L, {
33170
33175
  isMarkdownResponse: s,
33171
33176
  callbacks: {
33172
- onAction: (F) => {
33173
- t(M$(F));
33177
+ onAction: (I) => {
33178
+ t(M$(I));
33174
33179
  },
33175
33180
  onCitation: () => {
33176
33181
  },
33177
- onTodos: (F) => {
33178
- t(B$(F));
33182
+ onTodos: (I) => {
33183
+ t(B$(I));
33179
33184
  },
33180
- onMarkdownChunk: (F) => {
33181
- $ = !0, t(
33185
+ onMarkdownChunk: (I) => {
33186
+ R = !0, t(
33182
33187
  po({
33183
33188
  sessionId: e,
33184
- id: L,
33185
- content: F,
33189
+ id: $,
33190
+ content: I,
33186
33191
  role: "assistant",
33187
33192
  timestamp: Date.now(),
33188
33193
  heading: "Markdown Response",
@@ -33193,47 +33198,52 @@ const Ns = () => {
33193
33198
  })
33194
33199
  );
33195
33200
  },
33196
- onError: (F) => {
33197
- console.error("Stream processing error:", F);
33201
+ onError: (I) => {
33202
+ console.error("Stream processing error:", I);
33198
33203
  },
33199
33204
  onComplete: () => {
33200
33205
  console.log("Stream processing complete");
33201
33206
  }
33202
33207
  }
33203
- }), N = {
33204
- content: I.content,
33208
+ }), F = {
33209
+ content: N.content,
33205
33210
  role: "assistant",
33206
33211
  timestamp: Date.now(),
33207
- actions: I.actions,
33208
- artifacts: I.artifacts || [],
33209
- heading: I.heading || (s ? "Markdown Response" : ""),
33210
- interaction: I.interaction,
33211
- todos: I.todos
33212
+ actions: N.actions,
33213
+ artifacts: N.artifacts || [],
33214
+ heading: N.heading || (s ? "Markdown Response" : ""),
33215
+ interaction: N.interaction,
33216
+ todos: N.todos
33212
33217
  };
33213
- if (!$) {
33214
- const F = (Date.now() + 1).toString();
33218
+ if (!R) {
33219
+ const I = (Date.now() + 1).toString();
33215
33220
  t(
33216
33221
  po({
33217
33222
  sessionId: e,
33218
- id: F,
33219
- content: N.content,
33223
+ id: I,
33224
+ content: F.content,
33220
33225
  role: "assistant",
33221
33226
  timestamp: Date.now(),
33222
- interaction: N.interaction,
33223
- heading: N.heading,
33224
- actions: N.actions,
33225
- artifacts: N.artifacts,
33226
- citations: I.citations,
33227
- todos: N.todos,
33228
- confidence_str: I.confidence_str
33227
+ interaction: F.interaction,
33228
+ heading: F.heading,
33229
+ actions: F.actions,
33230
+ artifacts: F.artifacts,
33231
+ citations: N.citations,
33232
+ todos: F.todos,
33233
+ confidence_str: N.confidence_str
33229
33234
  })
33230
33235
  );
33231
33236
  }
33232
- return N;
33233
- } catch (w) {
33234
- throw w instanceof Error && w.name !== "AbortError" && t(l3(w instanceof Error ? w.message : "Failed to send message")), w;
33237
+ return F;
33238
+ } catch (S) {
33239
+ throw S instanceof Error && S.name !== "AbortError" && t(l3(S instanceof Error ? S.message : "Failed to send message")), x = !0, S;
33235
33240
  } finally {
33236
- m.signal.aborted || t(Hp(null)), t(ai({ state: Ce.LOADED, sessionId: e }));
33241
+ m.signal.aborted || (t(Hp(null)), t(
33242
+ ai({
33243
+ state: x ? ce.ERROR : ce.LOADED,
33244
+ sessionId: e
33245
+ })
33246
+ ));
33237
33247
  }
33238
33248
  };
33239
33249
  return { sendMessage: u, updateContextAndSendMessage: l };
@@ -33296,7 +33306,7 @@ const Ns = () => {
33296
33306
  })
33297
33307
  );
33298
33308
  };
33299
- return xe(() => {
33309
+ return Ce(() => {
33300
33310
  var u;
33301
33311
  const l = (u = r == null ? void 0 : r[0]) == null ? void 0 : u.value;
33302
33312
  a || !l || !e || t(
@@ -33326,7 +33336,7 @@ const Ns = () => {
33326
33336
  error: t,
33327
33337
  currentSession: e,
33328
33338
  refetchSession: n
33329
- }) => (xe(() => {
33339
+ }) => (Ce(() => {
33330
33340
  if (!t && (e == null ? void 0 : e.status) !== Hu.enum.pending || !n)
33331
33341
  return;
33332
33342
  let r;
@@ -33370,9 +33380,9 @@ const Ns = () => {
33370
33380
  urls: E,
33371
33381
  models: L,
33372
33382
  classNames: $,
33373
- modes: I
33374
- } = qe(), { sendMessage: N } = Ns(), F = Er(null), R = Er(null), B = Er(!0);
33375
- xe(() => {
33383
+ modes: R
33384
+ } = qe(), { sendMessage: N } = Ns(), F = Er(null), I = Er(null), B = Er(!0);
33385
+ Ce(() => {
33376
33386
  In.get = async (D, it, rt = {}) => {
33377
33387
  var Ft;
33378
33388
  console.log("api helper get", D, it, rt);
@@ -33411,32 +33421,32 @@ const Ns = () => {
33411
33421
  }
33412
33422
  return yt.json();
33413
33423
  };
33414
- }, [S, E == null ? void 0 : E.origin]), xe(() => {
33424
+ }, [S, E == null ? void 0 : E.origin]), Ce(() => {
33415
33425
  var D;
33416
- m && (p(Mi({ sessionId: m, context: e || {} })), (D = I == null ? void 0 : I[0]) != null && D.value && p(eh({ sessionId: m, mode: I[0].value })));
33417
- }, [m, p, e, I]), xe(() => {
33418
- g === Ce.LOADED && p(u3());
33426
+ m && (p(Mi({ sessionId: m, context: e || {} })), (D = R == null ? void 0 : R[0]) != null && D.value && p(eh({ sessionId: m, mode: R[0].value })));
33427
+ }, [m, p, e, R]), Ce(() => {
33428
+ g === ce.LOADED && p(u3());
33419
33429
  }, [g, p]);
33420
- const _ = m ? b[m] : null, v = !!((G = _ == null ? void 0 : _.messages) != null && G.length), W = v || g === Ce.LOADING || !!x, j = () => {
33430
+ const _ = m ? b[m] : null, v = !!((G = _ == null ? void 0 : _.messages) != null && G.length), W = v || g === ce.LOADING || !!x, j = () => {
33421
33431
  const D = F.current;
33422
33432
  return D ? D.scrollHeight - D.scrollTop - D.clientHeight < 50 : !1;
33423
33433
  };
33424
- xe(() => {
33434
+ Ce(() => {
33425
33435
  const D = F.current;
33426
33436
  if (!D) return;
33427
33437
  const it = () => {
33428
33438
  B.current = j();
33429
33439
  };
33430
33440
  return D.addEventListener("scroll", it), () => D.removeEventListener("scroll", it);
33431
- }, []), xe(() => {
33441
+ }, []), Ce(() => {
33432
33442
  if (B.current) {
33433
33443
  const D = F.current;
33434
33444
  D && requestAnimationFrame(() => {
33435
33445
  D.scrollTop = D.scrollHeight;
33436
33446
  });
33437
33447
  }
33438
- }, [_ == null ? void 0 : _.messages, T]), xe(() => {
33439
- if (g === Ce.LOADING || x) {
33448
+ }, [_ == null ? void 0 : _.messages, T]), Ce(() => {
33449
+ if (g === ce.LOADING || x) {
33440
33450
  const D = F.current;
33441
33451
  D && B.current && requestAnimationFrame(() => {
33442
33452
  D.scrollTop = D.scrollHeight;
@@ -33459,7 +33469,7 @@ const Ns = () => {
33459
33469
  },
33460
33470
  [m, N]
33461
33471
  );
33462
- xe(() => {
33472
+ Ce(() => {
33463
33473
  o && s && m && !v && X(s);
33464
33474
  }, [
33465
33475
  o,
@@ -33527,7 +33537,7 @@ const Ns = () => {
33527
33537
  showSavePromptButton: d
33528
33538
  }
33529
33539
  ),
33530
- g === Ce.LOADING && /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
33540
+ g === ce.LOADING && /* @__PURE__ */ k.jsxs(k.Fragment, { children: [
33531
33541
  T.length > 0 && /* @__PURE__ */ k.jsx("div", { className: "al-mt-2", children: /* @__PURE__ */ k.jsx(
33532
33542
  b3,
33533
33543
  {
@@ -33548,7 +33558,7 @@ const Ns = () => {
33548
33558
  refetchSession: u
33549
33559
  }
33550
33560
  ),
33551
- /* @__PURE__ */ k.jsx("div", { ref: R })
33561
+ /* @__PURE__ */ k.jsx("div", { ref: I })
33552
33562
  ]
33553
33563
  }
33554
33564
  ),
@@ -33572,7 +33582,7 @@ const Ns = () => {
33572
33582
  TH,
33573
33583
  {
33574
33584
  onSubmit: X,
33575
- isLoading: g === Ce.LOADING,
33585
+ isLoading: g === ce.LOADING,
33576
33586
  placeholder: i,
33577
33587
  autoFocus: a,
33578
33588
  initialMessage: o ? void 0 : s,
@@ -33719,7 +33729,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33719
33729
  return b;
33720
33730
  }
33721
33731
  function s(d, p, m, b, g, x) {
33722
- var T, w, S = d.file, E = d.compression, L = x !== u.utf8encode, $ = o.transformTo("string", x(S.name)), I = o.transformTo("string", u.utf8encode(S.name)), N = S.comment, F = o.transformTo("string", x(N)), R = o.transformTo("string", u.utf8encode(N)), B = I.length !== S.name.length, _ = R.length !== N.length, v = "", W = "", j = "", U = S.dir, X = S.date, O = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
33732
+ var T, w, S = d.file, E = d.compression, L = x !== u.utf8encode, $ = o.transformTo("string", x(S.name)), R = o.transformTo("string", u.utf8encode(S.name)), N = S.comment, F = o.transformTo("string", x(N)), I = o.transformTo("string", u.utf8encode(N)), B = R.length !== S.name.length, _ = I.length !== N.length, v = "", W = "", j = "", U = S.dir, X = S.date, O = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
33723
33733
  p && !m || (O.crc32 = d.crc32, O.compressedSize = d.compressedSize, O.uncompressedSize = d.uncompressedSize);
33724
33734
  var Y = 0;
33725
33735
  p && (Y |= 8), L || !B && !_ || (Y |= 2048);
@@ -33729,7 +33739,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33729
33739
  return rt || (At = yt ? 16893 : 33204), (65535 & At) << 16;
33730
33740
  }(S.unixPermissions, U)) : (D = 20, G |= function(rt) {
33731
33741
  return 63 & (rt || 0);
33732
- }(S.dosPermissions)), T = X.getUTCHours(), T <<= 6, T |= X.getUTCMinutes(), T <<= 5, T |= X.getUTCSeconds() / 2, w = X.getUTCFullYear() - 1980, w <<= 4, w |= X.getUTCMonth() + 1, w <<= 5, w |= X.getUTCDate(), B && (W = a(1, 1) + a(c($), 4) + I, v += "up" + a(W.length, 2) + W), _ && (j = a(1, 1) + a(c(F), 4) + R, v += "uc" + a(j.length, 2) + j);
33742
+ }(S.dosPermissions)), T = X.getUTCHours(), T <<= 6, T |= X.getUTCMinutes(), T <<= 5, T |= X.getUTCSeconds() / 2, w = X.getUTCFullYear() - 1980, w <<= 4, w |= X.getUTCMonth() + 1, w <<= 5, w |= X.getUTCDate(), B && (W = a(1, 1) + a(c($), 4) + R, v += "up" + a(W.length, 2) + W), _ && (j = a(1, 1) + a(c(F), 4) + I, v += "uc" + a(j.length, 2) + j);
33733
33743
  var it = "";
33734
33744
  return it += `
33735
33745
  \0`, it += a(Y, 2), it += E.magic, it += a(T, 2), it += a(w, 2), it += a(O.crc32, 4), it += a(O.compressedSize, 4), it += a(O.uncompressedSize, 4), it += a($.length, 2), it += a(v.length, 2), { fileRecord: h.LOCAL_FILE_HEADER + it + $ + v, dirRecord: h.CENTRAL_FILE_HEADER + a(D, 2) + it + a(F.length, 2) + "\0\0\0\0" + a(G, 4) + a(b, 4) + $ + v + F };
@@ -33901,13 +33911,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33901
33911
  } };
33902
33912
  }, {}], 15: [function(n, r, i) {
33903
33913
  function a(S, E, L) {
33904
- var $, I = o.getTypeOf(E), N = o.extend(L || {}, c);
33914
+ var $, R = o.getTypeOf(E), N = o.extend(L || {}, c);
33905
33915
  N.date = N.date || /* @__PURE__ */ new Date(), N.compression !== null && (N.compression = N.compression.toUpperCase()), typeof N.unixPermissions == "string" && (N.unixPermissions = parseInt(N.unixPermissions, 8)), N.unixPermissions && 16384 & N.unixPermissions && (N.dir = !0), N.dosPermissions && 16 & N.dosPermissions && (N.dir = !0), N.dir && (S = g(S)), N.createFolders && ($ = b(S)) && x.call(this, $, !0);
33906
- var F = I === "string" && N.binary === !1 && N.base64 === !1;
33907
- L && L.binary !== void 0 || (N.binary = !F), (E instanceof h && E.uncompressedSize === 0 || N.dir || !E || E.length === 0) && (N.base64 = !1, N.binary = !0, E = "", N.compression = "STORE", I = "string");
33908
- var R = null;
33909
- R = E instanceof h || E instanceof l ? E : p.isNode && p.isStream(E) ? new m(S, E) : o.prepareContent(S, E, N.binary, N.optimizedBinaryString, N.base64);
33910
- var B = new f(S, R, N);
33916
+ var F = R === "string" && N.binary === !1 && N.base64 === !1;
33917
+ L && L.binary !== void 0 || (N.binary = !F), (E instanceof h && E.uncompressedSize === 0 || N.dir || !E || E.length === 0) && (N.base64 = !1, N.binary = !0, E = "", N.compression = "STORE", R = "string");
33918
+ var I = null;
33919
+ I = E instanceof h || E instanceof l ? E : p.isNode && p.isStream(E) ? new m(S, E) : o.prepareContent(S, E, N.binary, N.optimizedBinaryString, N.base64);
33920
+ var B = new f(S, I, N);
33911
33921
  this.files[S] = B;
33912
33922
  }
33913
33923
  var s = n("./utf8"), o = n("./utils"), l = n("./stream/GenericWorker"), u = n("./stream/StreamHelper"), c = n("./defaults"), h = n("./compressedObject"), f = n("./zipObject"), d = n("./generate"), p = n("./nodejsUtils"), m = n("./nodejs/NodejsStreamInputAdapter"), b = function(S) {
@@ -33940,12 +33950,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33940
33950
  return !F.dir && $.test(N);
33941
33951
  });
33942
33952
  }
33943
- var I = this.files[this.root + S];
33944
- return I && !I.dir ? I : null;
33953
+ var R = this.files[this.root + S];
33954
+ return R && !R.dir ? R : null;
33945
33955
  }, folder: function(S) {
33946
33956
  if (!S) return this;
33947
- if (T(S)) return this.filter(function(I, N) {
33948
- return N.dir && S.test(I);
33957
+ if (T(S)) return this.filter(function(R, N) {
33958
+ return N.dir && S.test(R);
33949
33959
  });
33950
33960
  var E = this.root + S, L = x.call(this, E), $ = this.clone();
33951
33961
  return $.root = L.name, $;
@@ -33953,7 +33963,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33953
33963
  S = this.root + S;
33954
33964
  var E = this.files[S];
33955
33965
  if (E || (S.slice(-1) !== "/" && (S += "/"), E = this.files[S]), E && !E.dir) delete this.files[S];
33956
- else for (var L = this.filter(function(I, N) {
33966
+ else for (var L = this.filter(function(R, N) {
33957
33967
  return N.name.slice(0, S.length) === S;
33958
33968
  }), $ = 0; $ < L.length; $++) delete this.files[L[$].name];
33959
33969
  return this;
@@ -33966,8 +33976,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33966
33976
  o.checkSupport(L.type), L.platform !== "darwin" && L.platform !== "freebsd" && L.platform !== "linux" && L.platform !== "sunos" || (L.platform = "UNIX"), L.platform === "win32" && (L.platform = "DOS");
33967
33977
  var $ = L.comment || this.comment || "";
33968
33978
  E = d.generateWorker(this, L, $);
33969
- } catch (I) {
33970
- (E = new l("error")).error(I);
33979
+ } catch (R) {
33980
+ (E = new l("error")).error(R);
33971
33981
  }
33972
33982
  return new u(E, L.type || "string", L.mimeType);
33973
33983
  }, generateAsync: function(S, E) {
@@ -34201,25 +34211,25 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34201
34211
  x = [], g(E);
34202
34212
  }).on("end", function() {
34203
34213
  try {
34204
- var E = function(L, $, I) {
34214
+ var E = function(L, $, R) {
34205
34215
  switch (L) {
34206
34216
  case "blob":
34207
- return a.newBlob(a.transformTo("arraybuffer", $), I);
34217
+ return a.newBlob(a.transformTo("arraybuffer", $), R);
34208
34218
  case "base64":
34209
34219
  return l.encode($);
34210
34220
  default:
34211
34221
  return a.transformTo(L, $);
34212
34222
  }
34213
34223
  }(w, function(L, $) {
34214
- var I, N = 0, F = null, R = 0;
34215
- for (I = 0; I < $.length; I++) R += $[I].length;
34224
+ var R, N = 0, F = null, I = 0;
34225
+ for (R = 0; R < $.length; R++) I += $[R].length;
34216
34226
  switch (L) {
34217
34227
  case "string":
34218
34228
  return $.join("");
34219
34229
  case "array":
34220
34230
  return Array.prototype.concat.apply([], $);
34221
34231
  case "uint8array":
34222
- for (F = new Uint8Array(R), I = 0; I < $.length; I++) F.set($[I], N), N += $[I].length;
34232
+ for (F = new Uint8Array(I), R = 0; R < $.length; R++) F.set($[R], N), N += $[R].length;
34223
34233
  return F;
34224
34234
  case "nodebuffer":
34225
34235
  return Buffer.concat($);
@@ -34763,13 +34773,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34763
34773
  if (Object.prototype.toString.call(g) !== "[object Array]") return this.reject(new TypeError("must be an array"));
34764
34774
  var T = g.length, w = !1;
34765
34775
  if (!T) return this.resolve([]);
34766
- for (var S = new Array(T), E = 0, L = -1, $ = new this(s); ++L < T; ) I(g[L], L);
34776
+ for (var S = new Array(T), E = 0, L = -1, $ = new this(s); ++L < T; ) R(g[L], L);
34767
34777
  return $;
34768
- function I(N, F) {
34769
- x.resolve(N).then(function(R) {
34770
- S[F] = R, ++E !== T || w || (w = !0, o.resolve($, S));
34771
- }, function(R) {
34772
- w || (w = !0, o.reject($, R));
34778
+ function R(N, F) {
34779
+ x.resolve(N).then(function(I) {
34780
+ S[F] = I, ++E !== T || w || (w = !0, o.resolve($, S));
34781
+ }, function(I) {
34782
+ w || (w = !0, o.reject($, I));
34773
34783
  });
34774
34784
  }
34775
34785
  }, h.race = function(g) {
@@ -34843,11 +34853,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34843
34853
  return g.result;
34844
34854
  }
34845
34855
  d.prototype.push = function(m, b) {
34846
- var g, x, T, w, S, E, L = this.strm, $ = this.options.chunkSize, I = this.options.dictionary, N = !1;
34856
+ var g, x, T, w, S, E, L = this.strm, $ = this.options.chunkSize, R = this.options.dictionary, N = !1;
34847
34857
  if (this.ended) return !1;
34848
34858
  x = b === ~~b ? b : b === !0 ? l.Z_FINISH : l.Z_NO_FLUSH, typeof m == "string" ? L.input = o.binstring2buf(m) : f.call(m) === "[object ArrayBuffer]" ? L.input = new Uint8Array(m) : L.input = m, L.next_in = 0, L.avail_in = L.input.length;
34849
34859
  do {
34850
- if (L.avail_out === 0 && (L.output = new s.Buf8($), L.next_out = 0, L.avail_out = $), (g = a.inflate(L, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && I && (E = typeof I == "string" ? o.string2buf(I) : f.call(I) === "[object ArrayBuffer]" ? new Uint8Array(I) : I, g = a.inflateSetDictionary(this.strm, E)), g === l.Z_BUF_ERROR && N === !0 && (g = l.Z_OK, N = !1), g !== l.Z_STREAM_END && g !== l.Z_OK) return this.onEnd(g), !(this.ended = !0);
34860
+ if (L.avail_out === 0 && (L.output = new s.Buf8($), L.next_out = 0, L.avail_out = $), (g = a.inflate(L, l.Z_NO_FLUSH)) === l.Z_NEED_DICT && R && (E = typeof R == "string" ? o.string2buf(R) : f.call(R) === "[object ArrayBuffer]" ? new Uint8Array(R) : R, g = a.inflateSetDictionary(this.strm, E)), g === l.Z_BUF_ERROR && N === !0 && (g = l.Z_OK, N = !1), g !== l.Z_STREAM_END && g !== l.Z_OK) return this.onEnd(g), !(this.ended = !0);
34851
34861
  L.next_out && (L.avail_out !== 0 && g !== l.Z_STREAM_END && (L.avail_in !== 0 || x !== l.Z_FINISH && x !== l.Z_SYNC_FLUSH) || (this.options.to === "string" ? (T = o.utf8border(L.output, L.next_out), w = L.next_out - T, S = o.buf2string(L.output, T), L.next_out = w, L.avail_out = $ - w, w && s.arraySet(L.output, L.output, T, w, 0), this.onData(S)) : this.onData(s.shrinkBuf(L.output, L.next_out)))), L.avail_in === 0 && L.avail_out === 0 && (N = !0);
34852
34862
  } while ((0 < L.avail_in || L.avail_out === 0) && g !== l.Z_STREAM_END);
34853
34863
  return g === l.Z_STREAM_END && (x = l.Z_FINISH), x === l.Z_FINISH ? (g = a.inflateEnd(this.strm), this.onEnd(g), this.ended = !0, g === l.Z_OK) : x !== l.Z_SYNC_FLUSH || (this.onEnd(l.Z_OK), !(L.avail_out = 0));
@@ -34956,7 +34966,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34956
34966
  return -1 ^ s;
34957
34967
  };
34958
34968
  }, {}], 46: [function(n, r, i) {
34959
- var a, s = n("../utils/common"), o = n("./trees"), l = n("./adler32"), u = n("./crc32"), c = n("./messages"), h = 0, f = 4, d = 0, p = -2, m = -1, b = 4, g = 2, x = 8, T = 9, w = 286, S = 30, E = 19, L = 2 * w + 1, $ = 15, I = 3, N = 258, F = N + I + 1, R = 42, B = 113, _ = 1, v = 2, W = 3, j = 4;
34969
+ var a, s = n("../utils/common"), o = n("./trees"), l = n("./adler32"), u = n("./crc32"), c = n("./messages"), h = 0, f = 4, d = 0, p = -2, m = -1, b = 4, g = 2, x = 8, T = 9, w = 286, S = 30, E = 19, L = 2 * w + 1, $ = 15, R = 3, N = 258, F = N + R + 1, I = 42, B = 113, _ = 1, v = 2, W = 3, j = 4;
34960
34970
  function U(A, st) {
34961
34971
  return A.msg = c[st], st;
34962
34972
  }
@@ -35005,7 +35015,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35005
35015
  H += ft;
35006
35016
  }
35007
35017
  if (A.strm.avail_in === 0) break;
35008
- if (lt = A.strm, ct = A.window, tt = A.strstart + A.lookahead, dt = H, _t = void 0, _t = lt.avail_in, dt < _t && (_t = dt), et = _t === 0 ? 0 : (lt.avail_in -= _t, s.arraySet(ct, lt.input, lt.next_in, _t, tt), lt.state.wrap === 1 ? lt.adler = l(lt.adler, ct, _t, tt) : lt.state.wrap === 2 && (lt.adler = u(lt.adler, ct, _t, tt)), lt.next_in += _t, lt.total_in += _t, _t), A.lookahead += et, A.lookahead + A.insert >= I) for (K = A.strstart - A.insert, A.ins_h = A.window[K], A.ins_h = (A.ins_h << A.hash_shift ^ A.window[K + 1]) & A.hash_mask; A.insert && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[K + I - 1]) & A.hash_mask, A.prev[K & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = K, K++, A.insert--, !(A.lookahead + A.insert < I)); ) ;
35018
+ if (lt = A.strm, ct = A.window, tt = A.strstart + A.lookahead, dt = H, _t = void 0, _t = lt.avail_in, dt < _t && (_t = dt), et = _t === 0 ? 0 : (lt.avail_in -= _t, s.arraySet(ct, lt.input, lt.next_in, _t, tt), lt.state.wrap === 1 ? lt.adler = l(lt.adler, ct, _t, tt) : lt.state.wrap === 2 && (lt.adler = u(lt.adler, ct, _t, tt)), lt.next_in += _t, lt.total_in += _t, _t), A.lookahead += et, A.lookahead + A.insert >= R) for (K = A.strstart - A.insert, A.ins_h = A.window[K], A.ins_h = (A.ins_h << A.hash_shift ^ A.window[K + 1]) & A.hash_mask; A.insert && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[K + R - 1]) & A.hash_mask, A.prev[K & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = K, K++, A.insert--, !(A.lookahead + A.insert < R)); ) ;
35009
35019
  } while (A.lookahead < F && A.strm.avail_in !== 0);
35010
35020
  }
35011
35021
  function At(A, st) {
@@ -35014,14 +35024,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35014
35024
  if (yt(A), A.lookahead < F && st === h) return _;
35015
35025
  if (A.lookahead === 0) break;
35016
35026
  }
35017
- if (et = 0, A.lookahead >= I && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + I - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), et !== 0 && A.strstart - et <= A.w_size - F && (A.match_length = rt(A, et)), A.match_length >= I) if (z = o._tr_tally(A, A.strstart - A.match_start, A.match_length - I), A.lookahead -= A.match_length, A.match_length <= A.max_lazy_match && A.lookahead >= I) {
35018
- for (A.match_length--; A.strstart++, A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + I - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart, --A.match_length != 0; ) ;
35027
+ if (et = 0, A.lookahead >= R && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + R - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), et !== 0 && A.strstart - et <= A.w_size - F && (A.match_length = rt(A, et)), A.match_length >= R) if (z = o._tr_tally(A, A.strstart - A.match_start, A.match_length - R), A.lookahead -= A.match_length, A.match_length <= A.max_lazy_match && A.lookahead >= R) {
35028
+ for (A.match_length--; A.strstart++, A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + R - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart, --A.match_length != 0; ) ;
35019
35029
  A.strstart++;
35020
35030
  } else A.strstart += A.match_length, A.match_length = 0, A.ins_h = A.window[A.strstart], A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + 1]) & A.hash_mask;
35021
35031
  else z = o._tr_tally(A, 0, A.window[A.strstart]), A.lookahead--, A.strstart++;
35022
35032
  if (z && (G(A, !1), A.strm.avail_out === 0)) return _;
35023
35033
  }
35024
- return A.insert = A.strstart < I - 1 ? A.strstart : I - 1, st === f ? (G(A, !0), A.strm.avail_out === 0 ? W : j) : A.last_lit && (G(A, !1), A.strm.avail_out === 0) ? _ : v;
35034
+ return A.insert = A.strstart < R - 1 ? A.strstart : R - 1, st === f ? (G(A, !0), A.strm.avail_out === 0 ? W : j) : A.last_lit && (G(A, !1), A.strm.avail_out === 0) ? _ : v;
35025
35035
  }
35026
35036
  function Et(A, st) {
35027
35037
  for (var et, z, H; ; ) {
@@ -35029,14 +35039,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35029
35039
  if (yt(A), A.lookahead < F && st === h) return _;
35030
35040
  if (A.lookahead === 0) break;
35031
35041
  }
35032
- if (et = 0, A.lookahead >= I && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + I - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), A.prev_length = A.match_length, A.prev_match = A.match_start, A.match_length = I - 1, et !== 0 && A.prev_length < A.max_lazy_match && A.strstart - et <= A.w_size - F && (A.match_length = rt(A, et), A.match_length <= 5 && (A.strategy === 1 || A.match_length === I && 4096 < A.strstart - A.match_start) && (A.match_length = I - 1)), A.prev_length >= I && A.match_length <= A.prev_length) {
35033
- for (H = A.strstart + A.lookahead - I, z = o._tr_tally(A, A.strstart - 1 - A.prev_match, A.prev_length - I), A.lookahead -= A.prev_length - 1, A.prev_length -= 2; ++A.strstart <= H && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + I - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), --A.prev_length != 0; ) ;
35034
- if (A.match_available = 0, A.match_length = I - 1, A.strstart++, z && (G(A, !1), A.strm.avail_out === 0)) return _;
35042
+ if (et = 0, A.lookahead >= R && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + R - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), A.prev_length = A.match_length, A.prev_match = A.match_start, A.match_length = R - 1, et !== 0 && A.prev_length < A.max_lazy_match && A.strstart - et <= A.w_size - F && (A.match_length = rt(A, et), A.match_length <= 5 && (A.strategy === 1 || A.match_length === R && 4096 < A.strstart - A.match_start) && (A.match_length = R - 1)), A.prev_length >= R && A.match_length <= A.prev_length) {
35043
+ for (H = A.strstart + A.lookahead - R, z = o._tr_tally(A, A.strstart - 1 - A.prev_match, A.prev_length - R), A.lookahead -= A.prev_length - 1, A.prev_length -= 2; ++A.strstart <= H && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + R - 1]) & A.hash_mask, et = A.prev[A.strstart & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = A.strstart), --A.prev_length != 0; ) ;
35044
+ if (A.match_available = 0, A.match_length = R - 1, A.strstart++, z && (G(A, !1), A.strm.avail_out === 0)) return _;
35035
35045
  } else if (A.match_available) {
35036
35046
  if ((z = o._tr_tally(A, 0, A.window[A.strstart - 1])) && G(A, !1), A.strstart++, A.lookahead--, A.strm.avail_out === 0) return _;
35037
35047
  } else A.match_available = 1, A.strstart++, A.lookahead--;
35038
35048
  }
35039
- return A.match_available && (z = o._tr_tally(A, 0, A.window[A.strstart - 1]), A.match_available = 0), A.insert = A.strstart < I - 1 ? A.strstart : I - 1, st === f ? (G(A, !0), A.strm.avail_out === 0 ? W : j) : A.last_lit && (G(A, !1), A.strm.avail_out === 0) ? _ : v;
35049
+ return A.match_available && (z = o._tr_tally(A, 0, A.window[A.strstart - 1]), A.match_available = 0), A.insert = A.strstart < R - 1 ? A.strstart : R - 1, st === f ? (G(A, !0), A.strm.avail_out === 0 ? W : j) : A.last_lit && (G(A, !1), A.strm.avail_out === 0) ? _ : v;
35040
35050
  }
35041
35051
  function wt(A, st, et, z, H) {
35042
35052
  this.good_length = A, this.max_lazy = st, this.nice_length = et, this.max_chain = z, this.func = H;
@@ -35046,21 +35056,21 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35046
35056
  }
35047
35057
  function Ht(A) {
35048
35058
  var st;
35049
- return A && A.state ? (A.total_in = A.total_out = 0, A.data_type = g, (st = A.state).pending = 0, st.pending_out = 0, st.wrap < 0 && (st.wrap = -st.wrap), st.status = st.wrap ? R : B, A.adler = st.wrap === 2 ? 0 : 1, st.last_flush = h, o._tr_init(st), d) : U(A, p);
35059
+ return A && A.state ? (A.total_in = A.total_out = 0, A.data_type = g, (st = A.state).pending = 0, st.pending_out = 0, st.wrap < 0 && (st.wrap = -st.wrap), st.status = st.wrap ? I : B, A.adler = st.wrap === 2 ? 0 : 1, st.last_flush = h, o._tr_init(st), d) : U(A, p);
35050
35060
  }
35051
35061
  function ie(A) {
35052
35062
  var st = Ht(A);
35053
35063
  return st === d && function(et) {
35054
- et.window_size = 2 * et.w_size, O(et.head), et.max_lazy_match = a[et.level].max_lazy, et.good_match = a[et.level].good_length, et.nice_match = a[et.level].nice_length, et.max_chain_length = a[et.level].max_chain, et.strstart = 0, et.block_start = 0, et.lookahead = 0, et.insert = 0, et.match_length = et.prev_length = I - 1, et.match_available = 0, et.ins_h = 0;
35064
+ et.window_size = 2 * et.w_size, O(et.head), et.max_lazy_match = a[et.level].max_lazy, et.good_match = a[et.level].good_length, et.nice_match = a[et.level].nice_length, et.max_chain_length = a[et.level].max_chain, et.strstart = 0, et.block_start = 0, et.lookahead = 0, et.insert = 0, et.match_length = et.prev_length = R - 1, et.match_available = 0, et.ins_h = 0;
35055
35065
  }(A.state), st;
35056
35066
  }
35057
- function me(A, st, et, z, H, K) {
35067
+ function ge(A, st, et, z, H, K) {
35058
35068
  if (!A) return p;
35059
35069
  var lt = 1;
35060
35070
  if (st === m && (st = 6), z < 0 ? (lt = 0, z = -z) : 15 < z && (lt = 2, z -= 16), H < 1 || T < H || et !== x || z < 8 || 15 < z || st < 0 || 9 < st || K < 0 || b < K) return U(A, p);
35061
35071
  z === 8 && (z = 9);
35062
35072
  var ct = new Ft();
35063
- return (A.state = ct).strm = A, ct.wrap = lt, ct.gzhead = null, ct.w_bits = z, ct.w_size = 1 << ct.w_bits, ct.w_mask = ct.w_size - 1, ct.hash_bits = H + 7, ct.hash_size = 1 << ct.hash_bits, ct.hash_mask = ct.hash_size - 1, ct.hash_shift = ~~((ct.hash_bits + I - 1) / I), ct.window = new s.Buf8(2 * ct.w_size), ct.head = new s.Buf16(ct.hash_size), ct.prev = new s.Buf16(ct.w_size), ct.lit_bufsize = 1 << H + 6, ct.pending_buf_size = 4 * ct.lit_bufsize, ct.pending_buf = new s.Buf8(ct.pending_buf_size), ct.d_buf = 1 * ct.lit_bufsize, ct.l_buf = 3 * ct.lit_bufsize, ct.level = st, ct.strategy = K, ct.method = et, ie(A);
35073
+ return (A.state = ct).strm = A, ct.wrap = lt, ct.gzhead = null, ct.w_bits = z, ct.w_size = 1 << ct.w_bits, ct.w_mask = ct.w_size - 1, ct.hash_bits = H + 7, ct.hash_size = 1 << ct.hash_bits, ct.hash_mask = ct.hash_size - 1, ct.hash_shift = ~~((ct.hash_bits + R - 1) / R), ct.window = new s.Buf8(2 * ct.w_size), ct.head = new s.Buf16(ct.hash_size), ct.prev = new s.Buf16(ct.w_size), ct.lit_bufsize = 1 << H + 6, ct.pending_buf_size = 4 * ct.lit_bufsize, ct.pending_buf = new s.Buf8(ct.pending_buf_size), ct.d_buf = 1 * ct.lit_bufsize, ct.l_buf = 3 * ct.lit_bufsize, ct.level = st, ct.strategy = K, ct.method = et, ie(A);
35064
35074
  }
35065
35075
  a = [new wt(0, 0, 0, 0, function(A, st) {
35066
35076
  var et = 65535;
@@ -35075,14 +35085,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35075
35085
  }
35076
35086
  return A.insert = 0, st === f ? (G(A, !0), A.strm.avail_out === 0 ? W : j) : (A.strstart > A.block_start && (G(A, !1), A.strm.avail_out), _);
35077
35087
  }), new wt(4, 4, 8, 4, At), new wt(4, 5, 16, 8, At), new wt(4, 6, 32, 32, At), new wt(4, 4, 16, 16, Et), new wt(8, 16, 32, 32, Et), new wt(8, 16, 128, 128, Et), new wt(8, 32, 128, 256, Et), new wt(32, 128, 258, 1024, Et), new wt(32, 258, 258, 4096, Et)], i.deflateInit = function(A, st) {
35078
- return me(A, st, x, 15, 8, 0);
35079
- }, i.deflateInit2 = me, i.deflateReset = ie, i.deflateResetKeep = Ht, i.deflateSetHeader = function(A, st) {
35088
+ return ge(A, st, x, 15, 8, 0);
35089
+ }, i.deflateInit2 = ge, i.deflateReset = ie, i.deflateResetKeep = Ht, i.deflateSetHeader = function(A, st) {
35080
35090
  return A && A.state ? A.state.wrap !== 2 ? p : (A.state.gzhead = st, d) : p;
35081
35091
  }, i.deflate = function(A, st) {
35082
35092
  var et, z, H, K;
35083
35093
  if (!A || !A.state || 5 < st || st < 0) return A ? U(A, p) : p;
35084
35094
  if (z = A.state, !A.output || !A.input && A.avail_in !== 0 || z.status === 666 && st !== f) return U(A, A.avail_out === 0 ? -5 : p);
35085
- if (z.strm = A, et = z.last_flush, z.last_flush = st, z.status === R) if (z.wrap === 2) A.adler = 0, D(z, 31), D(z, 139), D(z, 8), z.gzhead ? (D(z, (z.gzhead.text ? 1 : 0) + (z.gzhead.hcrc ? 2 : 0) + (z.gzhead.extra ? 4 : 0) + (z.gzhead.name ? 8 : 0) + (z.gzhead.comment ? 16 : 0)), D(z, 255 & z.gzhead.time), D(z, z.gzhead.time >> 8 & 255), D(z, z.gzhead.time >> 16 & 255), D(z, z.gzhead.time >> 24 & 255), D(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), D(z, 255 & z.gzhead.os), z.gzhead.extra && z.gzhead.extra.length && (D(z, 255 & z.gzhead.extra.length), D(z, z.gzhead.extra.length >> 8 & 255)), z.gzhead.hcrc && (A.adler = u(A.adler, z.pending_buf, z.pending, 0)), z.gzindex = 0, z.status = 69) : (D(z, 0), D(z, 0), D(z, 0), D(z, 0), D(z, 0), D(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), D(z, 3), z.status = B);
35095
+ if (z.strm = A, et = z.last_flush, z.last_flush = st, z.status === I) if (z.wrap === 2) A.adler = 0, D(z, 31), D(z, 139), D(z, 8), z.gzhead ? (D(z, (z.gzhead.text ? 1 : 0) + (z.gzhead.hcrc ? 2 : 0) + (z.gzhead.extra ? 4 : 0) + (z.gzhead.name ? 8 : 0) + (z.gzhead.comment ? 16 : 0)), D(z, 255 & z.gzhead.time), D(z, z.gzhead.time >> 8 & 255), D(z, z.gzhead.time >> 16 & 255), D(z, z.gzhead.time >> 24 & 255), D(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), D(z, 255 & z.gzhead.os), z.gzhead.extra && z.gzhead.extra.length && (D(z, 255 & z.gzhead.extra.length), D(z, z.gzhead.extra.length >> 8 & 255)), z.gzhead.hcrc && (A.adler = u(A.adler, z.pending_buf, z.pending, 0)), z.gzindex = 0, z.status = 69) : (D(z, 0), D(z, 0), D(z, 0), D(z, 0), D(z, 0), D(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), D(z, 3), z.status = B);
35086
35096
  else {
35087
35097
  var lt = x + (z.w_bits - 8 << 4) << 8;
35088
35098
  lt |= (2 <= z.strategy || z.level < 2 ? 0 : z.level < 6 ? 1 : z.level === 6 ? 2 : 3) << 6, z.strstart !== 0 && (lt |= 32), lt += 31 - lt % 31, z.status = B, it(z, lt), z.strstart !== 0 && (it(z, A.adler >>> 16), it(z, 65535 & A.adler)), A.adler = 1;
@@ -35133,14 +35143,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35133
35143
  if (yt(tt), tt.lookahead <= N && dt === h) return _;
35134
35144
  if (tt.lookahead === 0) break;
35135
35145
  }
35136
- if (tt.match_length = 0, tt.lookahead >= I && 0 < tt.strstart && (ft = xt[Q = tt.strstart - 1]) === xt[++Q] && ft === xt[++Q] && ft === xt[++Q]) {
35146
+ if (tt.match_length = 0, tt.lookahead >= R && 0 < tt.strstart && (ft = xt[Q = tt.strstart - 1]) === xt[++Q] && ft === xt[++Q] && ft === xt[++Q]) {
35137
35147
  ut = tt.strstart + N;
35138
35148
  do
35139
35149
  ;
35140
35150
  while (ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && ft === xt[++Q] && Q < ut);
35141
35151
  tt.match_length = N - (ut - Q), tt.match_length > tt.lookahead && (tt.match_length = tt.lookahead);
35142
35152
  }
35143
- if (tt.match_length >= I ? (_t = o._tr_tally(tt, 1, tt.match_length - I), tt.lookahead -= tt.match_length, tt.strstart += tt.match_length, tt.match_length = 0) : (_t = o._tr_tally(tt, 0, tt.window[tt.strstart]), tt.lookahead--, tt.strstart++), _t && (G(tt, !1), tt.strm.avail_out === 0)) return _;
35153
+ if (tt.match_length >= R ? (_t = o._tr_tally(tt, 1, tt.match_length - R), tt.lookahead -= tt.match_length, tt.strstart += tt.match_length, tt.match_length = 0) : (_t = o._tr_tally(tt, 0, tt.window[tt.strstart]), tt.lookahead--, tt.strstart++), _t && (G(tt, !1), tt.strm.avail_out === 0)) return _;
35144
35154
  }
35145
35155
  return tt.insert = 0, dt === f ? (G(tt, !0), tt.strm.avail_out === 0 ? W : j) : tt.last_lit && (G(tt, !1), tt.strm.avail_out === 0) ? _ : v;
35146
35156
  }(z, st) : a[z.level].func(z, st);
@@ -35150,15 +35160,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35150
35160
  return st !== f ? d : z.wrap <= 0 ? 1 : (z.wrap === 2 ? (D(z, 255 & A.adler), D(z, A.adler >> 8 & 255), D(z, A.adler >> 16 & 255), D(z, A.adler >> 24 & 255), D(z, 255 & A.total_in), D(z, A.total_in >> 8 & 255), D(z, A.total_in >> 16 & 255), D(z, A.total_in >> 24 & 255)) : (it(z, A.adler >>> 16), it(z, 65535 & A.adler)), Y(A), 0 < z.wrap && (z.wrap = -z.wrap), z.pending !== 0 ? d : 1);
35151
35161
  }, i.deflateEnd = function(A) {
35152
35162
  var st;
35153
- return A && A.state ? (st = A.state.status) !== R && st !== 69 && st !== 73 && st !== 91 && st !== 103 && st !== B && st !== 666 ? U(A, p) : (A.state = null, st === B ? U(A, -3) : d) : p;
35163
+ return A && A.state ? (st = A.state.status) !== I && st !== 69 && st !== 73 && st !== 91 && st !== 103 && st !== B && st !== 666 ? U(A, p) : (A.state = null, st === B ? U(A, -3) : d) : p;
35154
35164
  }, i.deflateSetDictionary = function(A, st) {
35155
35165
  var et, z, H, K, lt, ct, tt, dt, _t = st.length;
35156
- if (!A || !A.state || (K = (et = A.state).wrap) === 2 || K === 1 && et.status !== R || et.lookahead) return p;
35157
- for (K === 1 && (A.adler = l(A.adler, st, _t, 0)), et.wrap = 0, _t >= et.w_size && (K === 0 && (O(et.head), et.strstart = 0, et.block_start = 0, et.insert = 0), dt = new s.Buf8(et.w_size), s.arraySet(dt, st, _t - et.w_size, et.w_size, 0), st = dt, _t = et.w_size), lt = A.avail_in, ct = A.next_in, tt = A.input, A.avail_in = _t, A.next_in = 0, A.input = st, yt(et); et.lookahead >= I; ) {
35158
- for (z = et.strstart, H = et.lookahead - (I - 1); et.ins_h = (et.ins_h << et.hash_shift ^ et.window[z + I - 1]) & et.hash_mask, et.prev[z & et.w_mask] = et.head[et.ins_h], et.head[et.ins_h] = z, z++, --H; ) ;
35159
- et.strstart = z, et.lookahead = I - 1, yt(et);
35166
+ if (!A || !A.state || (K = (et = A.state).wrap) === 2 || K === 1 && et.status !== I || et.lookahead) return p;
35167
+ for (K === 1 && (A.adler = l(A.adler, st, _t, 0)), et.wrap = 0, _t >= et.w_size && (K === 0 && (O(et.head), et.strstart = 0, et.block_start = 0, et.insert = 0), dt = new s.Buf8(et.w_size), s.arraySet(dt, st, _t - et.w_size, et.w_size, 0), st = dt, _t = et.w_size), lt = A.avail_in, ct = A.next_in, tt = A.input, A.avail_in = _t, A.next_in = 0, A.input = st, yt(et); et.lookahead >= R; ) {
35168
+ for (z = et.strstart, H = et.lookahead - (R - 1); et.ins_h = (et.ins_h << et.hash_shift ^ et.window[z + R - 1]) & et.hash_mask, et.prev[z & et.w_mask] = et.head[et.ins_h], et.head[et.ins_h] = z, z++, --H; ) ;
35169
+ et.strstart = z, et.lookahead = R - 1, yt(et);
35160
35170
  }
35161
- return et.strstart += et.lookahead, et.block_start = et.strstart, et.insert = et.lookahead, et.lookahead = 0, et.match_length = et.prev_length = I - 1, et.match_available = 0, A.next_in = ct, A.input = tt, A.avail_in = lt, et.wrap = K, d;
35171
+ return et.strstart += et.lookahead, et.block_start = et.strstart, et.insert = et.lookahead, et.lookahead = 0, et.match_length = et.prev_length = R - 1, et.match_available = 0, A.next_in = ct, A.input = tt, A.avail_in = lt, et.wrap = K, d;
35162
35172
  }, i.deflateInfo = "pako deflate (from Nodeca project)";
35163
35173
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 }], 47: [function(n, r, i) {
35164
35174
  r.exports = function() {
@@ -35166,66 +35176,66 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35166
35176
  };
35167
35177
  }, {}], 48: [function(n, r, i) {
35168
35178
  r.exports = function(a, s) {
35169
- var o, l, u, c, h, f, d, p, m, b, g, x, T, w, S, E, L, $, I, N, F, R, B, _, v;
35179
+ var o, l, u, c, h, f, d, p, m, b, g, x, T, w, S, E, L, $, R, N, F, I, B, _, v;
35170
35180
  o = a.state, l = a.next_in, _ = a.input, u = l + (a.avail_in - 5), c = a.next_out, v = a.output, h = c - (s - a.avail_out), f = c + (a.avail_out - 257), d = o.dmax, p = o.wsize, m = o.whave, b = o.wnext, g = o.window, x = o.hold, T = o.bits, w = o.lencode, S = o.distcode, E = (1 << o.lenbits) - 1, L = (1 << o.distbits) - 1;
35171
35181
  t: do {
35172
35182
  T < 15 && (x += _[l++] << T, T += 8, x += _[l++] << T, T += 8), $ = w[x & E];
35173
35183
  e: for (; ; ) {
35174
- if (x >>>= I = $ >>> 24, T -= I, (I = $ >>> 16 & 255) === 0) v[c++] = 65535 & $;
35184
+ if (x >>>= R = $ >>> 24, T -= R, (R = $ >>> 16 & 255) === 0) v[c++] = 65535 & $;
35175
35185
  else {
35176
- if (!(16 & I)) {
35177
- if (!(64 & I)) {
35178
- $ = w[(65535 & $) + (x & (1 << I) - 1)];
35186
+ if (!(16 & R)) {
35187
+ if (!(64 & R)) {
35188
+ $ = w[(65535 & $) + (x & (1 << R) - 1)];
35179
35189
  continue e;
35180
35190
  }
35181
- if (32 & I) {
35191
+ if (32 & R) {
35182
35192
  o.mode = 12;
35183
35193
  break t;
35184
35194
  }
35185
35195
  a.msg = "invalid literal/length code", o.mode = 30;
35186
35196
  break t;
35187
35197
  }
35188
- N = 65535 & $, (I &= 15) && (T < I && (x += _[l++] << T, T += 8), N += x & (1 << I) - 1, x >>>= I, T -= I), T < 15 && (x += _[l++] << T, T += 8, x += _[l++] << T, T += 8), $ = S[x & L];
35198
+ N = 65535 & $, (R &= 15) && (T < R && (x += _[l++] << T, T += 8), N += x & (1 << R) - 1, x >>>= R, T -= R), T < 15 && (x += _[l++] << T, T += 8, x += _[l++] << T, T += 8), $ = S[x & L];
35189
35199
  n: for (; ; ) {
35190
- if (x >>>= I = $ >>> 24, T -= I, !(16 & (I = $ >>> 16 & 255))) {
35191
- if (!(64 & I)) {
35192
- $ = S[(65535 & $) + (x & (1 << I) - 1)];
35200
+ if (x >>>= R = $ >>> 24, T -= R, !(16 & (R = $ >>> 16 & 255))) {
35201
+ if (!(64 & R)) {
35202
+ $ = S[(65535 & $) + (x & (1 << R) - 1)];
35193
35203
  continue n;
35194
35204
  }
35195
35205
  a.msg = "invalid distance code", o.mode = 30;
35196
35206
  break t;
35197
35207
  }
35198
- if (F = 65535 & $, T < (I &= 15) && (x += _[l++] << T, (T += 8) < I && (x += _[l++] << T, T += 8)), d < (F += x & (1 << I) - 1)) {
35208
+ if (F = 65535 & $, T < (R &= 15) && (x += _[l++] << T, (T += 8) < R && (x += _[l++] << T, T += 8)), d < (F += x & (1 << R) - 1)) {
35199
35209
  a.msg = "invalid distance too far back", o.mode = 30;
35200
35210
  break t;
35201
35211
  }
35202
- if (x >>>= I, T -= I, (I = c - h) < F) {
35203
- if (m < (I = F - I) && o.sane) {
35212
+ if (x >>>= R, T -= R, (R = c - h) < F) {
35213
+ if (m < (R = F - R) && o.sane) {
35204
35214
  a.msg = "invalid distance too far back", o.mode = 30;
35205
35215
  break t;
35206
35216
  }
35207
- if (B = g, (R = 0) === b) {
35208
- if (R += p - I, I < N) {
35209
- for (N -= I; v[c++] = g[R++], --I; ) ;
35210
- R = c - F, B = v;
35217
+ if (B = g, (I = 0) === b) {
35218
+ if (I += p - R, R < N) {
35219
+ for (N -= R; v[c++] = g[I++], --R; ) ;
35220
+ I = c - F, B = v;
35211
35221
  }
35212
- } else if (b < I) {
35213
- if (R += p + b - I, (I -= b) < N) {
35214
- for (N -= I; v[c++] = g[R++], --I; ) ;
35215
- if (R = 0, b < N) {
35216
- for (N -= I = b; v[c++] = g[R++], --I; ) ;
35217
- R = c - F, B = v;
35222
+ } else if (b < R) {
35223
+ if (I += p + b - R, (R -= b) < N) {
35224
+ for (N -= R; v[c++] = g[I++], --R; ) ;
35225
+ if (I = 0, b < N) {
35226
+ for (N -= R = b; v[c++] = g[I++], --R; ) ;
35227
+ I = c - F, B = v;
35218
35228
  }
35219
35229
  }
35220
- } else if (R += b - I, I < N) {
35221
- for (N -= I; v[c++] = g[R++], --I; ) ;
35222
- R = c - F, B = v;
35230
+ } else if (I += b - R, R < N) {
35231
+ for (N -= R; v[c++] = g[I++], --R; ) ;
35232
+ I = c - F, B = v;
35223
35233
  }
35224
- for (; 2 < N; ) v[c++] = B[R++], v[c++] = B[R++], v[c++] = B[R++], N -= 3;
35225
- N && (v[c++] = B[R++], 1 < N && (v[c++] = B[R++]));
35234
+ for (; 2 < N; ) v[c++] = B[I++], v[c++] = B[I++], v[c++] = B[I++], N -= 3;
35235
+ N && (v[c++] = B[I++], 1 < N && (v[c++] = B[I++]));
35226
35236
  } else {
35227
- for (R = c - F; v[c++] = v[R++], v[c++] = v[R++], v[c++] = v[R++], 2 < (N -= 3); ) ;
35228
- N && (v[c++] = v[R++], 1 < N && (v[c++] = v[R++]));
35237
+ for (I = c - F; v[c++] = v[I++], v[c++] = v[I++], v[c++] = v[I++], 2 < (N -= 3); ) ;
35238
+ N && (v[c++] = v[I++], 1 < N && (v[c++] = v[I++]));
35229
35239
  }
35230
35240
  break;
35231
35241
  }
@@ -35237,51 +35247,51 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35237
35247
  };
35238
35248
  }, {}], 49: [function(n, r, i) {
35239
35249
  var a = n("../utils/common"), s = n("./adler32"), o = n("./crc32"), l = n("./inffast"), u = n("./inftrees"), c = 1, h = 2, f = 0, d = -2, p = 1, m = 852, b = 592;
35240
- function g(R) {
35241
- return (R >>> 24 & 255) + (R >>> 8 & 65280) + ((65280 & R) << 8) + ((255 & R) << 24);
35250
+ function g(I) {
35251
+ return (I >>> 24 & 255) + (I >>> 8 & 65280) + ((65280 & I) << 8) + ((255 & I) << 24);
35242
35252
  }
35243
35253
  function x() {
35244
35254
  this.mode = 0, this.last = !1, this.wrap = 0, this.havedict = !1, this.flags = 0, this.dmax = 0, this.check = 0, this.total = 0, this.head = null, this.wbits = 0, this.wsize = 0, this.whave = 0, this.wnext = 0, this.window = null, this.hold = 0, this.bits = 0, this.length = 0, this.offset = 0, this.extra = 0, this.lencode = null, this.distcode = null, this.lenbits = 0, this.distbits = 0, this.ncode = 0, this.nlen = 0, this.ndist = 0, this.have = 0, this.next = null, this.lens = new a.Buf16(320), this.work = new a.Buf16(288), this.lendyn = null, this.distdyn = null, this.sane = 0, this.back = 0, this.was = 0;
35245
35255
  }
35246
- function T(R) {
35256
+ function T(I) {
35247
35257
  var B;
35248
- return R && R.state ? (B = R.state, R.total_in = R.total_out = B.total = 0, R.msg = "", B.wrap && (R.adler = 1 & B.wrap), B.mode = p, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new a.Buf32(m), B.distcode = B.distdyn = new a.Buf32(b), B.sane = 1, B.back = -1, f) : d;
35258
+ return I && I.state ? (B = I.state, I.total_in = I.total_out = B.total = 0, I.msg = "", B.wrap && (I.adler = 1 & B.wrap), B.mode = p, B.last = 0, B.havedict = 0, B.dmax = 32768, B.head = null, B.hold = 0, B.bits = 0, B.lencode = B.lendyn = new a.Buf32(m), B.distcode = B.distdyn = new a.Buf32(b), B.sane = 1, B.back = -1, f) : d;
35249
35259
  }
35250
- function w(R) {
35260
+ function w(I) {
35251
35261
  var B;
35252
- return R && R.state ? ((B = R.state).wsize = 0, B.whave = 0, B.wnext = 0, T(R)) : d;
35262
+ return I && I.state ? ((B = I.state).wsize = 0, B.whave = 0, B.wnext = 0, T(I)) : d;
35253
35263
  }
35254
- function S(R, B) {
35264
+ function S(I, B) {
35255
35265
  var _, v;
35256
- return R && R.state ? (v = R.state, B < 0 ? (_ = 0, B = -B) : (_ = 1 + (B >> 4), B < 48 && (B &= 15)), B && (B < 8 || 15 < B) ? d : (v.window !== null && v.wbits !== B && (v.window = null), v.wrap = _, v.wbits = B, w(R))) : d;
35266
+ return I && I.state ? (v = I.state, B < 0 ? (_ = 0, B = -B) : (_ = 1 + (B >> 4), B < 48 && (B &= 15)), B && (B < 8 || 15 < B) ? d : (v.window !== null && v.wbits !== B && (v.window = null), v.wrap = _, v.wbits = B, w(I))) : d;
35257
35267
  }
35258
- function E(R, B) {
35268
+ function E(I, B) {
35259
35269
  var _, v;
35260
- return R ? (v = new x(), (R.state = v).window = null, (_ = S(R, B)) !== f && (R.state = null), _) : d;
35270
+ return I ? (v = new x(), (I.state = v).window = null, (_ = S(I, B)) !== f && (I.state = null), _) : d;
35261
35271
  }
35262
- var L, $, I = !0;
35263
- function N(R) {
35264
- if (I) {
35272
+ var L, $, R = !0;
35273
+ function N(I) {
35274
+ if (R) {
35265
35275
  var B;
35266
- for (L = new a.Buf32(512), $ = new a.Buf32(32), B = 0; B < 144; ) R.lens[B++] = 8;
35267
- for (; B < 256; ) R.lens[B++] = 9;
35268
- for (; B < 280; ) R.lens[B++] = 7;
35269
- for (; B < 288; ) R.lens[B++] = 8;
35270
- for (u(c, R.lens, 0, 288, L, 0, R.work, { bits: 9 }), B = 0; B < 32; ) R.lens[B++] = 5;
35271
- u(h, R.lens, 0, 32, $, 0, R.work, { bits: 5 }), I = !1;
35276
+ for (L = new a.Buf32(512), $ = new a.Buf32(32), B = 0; B < 144; ) I.lens[B++] = 8;
35277
+ for (; B < 256; ) I.lens[B++] = 9;
35278
+ for (; B < 280; ) I.lens[B++] = 7;
35279
+ for (; B < 288; ) I.lens[B++] = 8;
35280
+ for (u(c, I.lens, 0, 288, L, 0, I.work, { bits: 9 }), B = 0; B < 32; ) I.lens[B++] = 5;
35281
+ u(h, I.lens, 0, 32, $, 0, I.work, { bits: 5 }), R = !1;
35272
35282
  }
35273
- R.lencode = L, R.lenbits = 9, R.distcode = $, R.distbits = 5;
35283
+ I.lencode = L, I.lenbits = 9, I.distcode = $, I.distbits = 5;
35274
35284
  }
35275
- function F(R, B, _, v) {
35276
- var W, j = R.state;
35285
+ function F(I, B, _, v) {
35286
+ var W, j = I.state;
35277
35287
  return j.window === null && (j.wsize = 1 << j.wbits, j.wnext = 0, j.whave = 0, j.window = new a.Buf8(j.wsize)), v >= j.wsize ? (a.arraySet(j.window, B, _ - j.wsize, j.wsize, 0), j.wnext = 0, j.whave = j.wsize) : (v < (W = j.wsize - j.wnext) && (W = v), a.arraySet(j.window, B, _ - v, W, j.wnext), (v -= W) ? (a.arraySet(j.window, B, _ - v, v, 0), j.wnext = v, j.whave = j.wsize) : (j.wnext += W, j.wnext === j.wsize && (j.wnext = 0), j.whave < j.wsize && (j.whave += W))), 0;
35278
35288
  }
35279
- i.inflateReset = w, i.inflateReset2 = S, i.inflateResetKeep = T, i.inflateInit = function(R) {
35280
- return E(R, 15);
35281
- }, i.inflateInit2 = E, i.inflate = function(R, B) {
35282
- var _, v, W, j, U, X, O, Y, G, D, it, rt, yt, At, Et, wt, Ft, Ht, ie, me, A, st, et, z, H = 0, K = new a.Buf8(4), lt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
35283
- if (!R || !R.state || !R.output || !R.input && R.avail_in !== 0) return d;
35284
- (_ = R.state).mode === 12 && (_.mode = 13), U = R.next_out, W = R.output, O = R.avail_out, j = R.next_in, v = R.input, X = R.avail_in, Y = _.hold, G = _.bits, D = X, it = O, st = f;
35289
+ i.inflateReset = w, i.inflateReset2 = S, i.inflateResetKeep = T, i.inflateInit = function(I) {
35290
+ return E(I, 15);
35291
+ }, i.inflateInit2 = E, i.inflate = function(I, B) {
35292
+ var _, v, W, j, U, X, O, Y, G, D, it, rt, yt, At, Et, wt, Ft, Ht, ie, ge, A, st, et, z, H = 0, K = new a.Buf8(4), lt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
35293
+ if (!I || !I.state || !I.output || !I.input && I.avail_in !== 0) return d;
35294
+ (_ = I.state).mode === 12 && (_.mode = 13), U = I.next_out, W = I.output, O = I.avail_out, j = I.next_in, v = I.input, X = I.avail_in, Y = _.hold, G = _.bits, D = X, it = O, st = f;
35285
35295
  t: for (; ; ) switch (_.mode) {
35286
35296
  case p:
35287
35297
  if (_.wrap === 0) {
@@ -35297,19 +35307,19 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35297
35307
  break;
35298
35308
  }
35299
35309
  if (_.flags = 0, _.head && (_.head.done = !1), !(1 & _.wrap) || (((255 & Y) << 8) + (Y >> 8)) % 31) {
35300
- R.msg = "incorrect header check", _.mode = 30;
35310
+ I.msg = "incorrect header check", _.mode = 30;
35301
35311
  break;
35302
35312
  }
35303
35313
  if ((15 & Y) != 8) {
35304
- R.msg = "unknown compression method", _.mode = 30;
35314
+ I.msg = "unknown compression method", _.mode = 30;
35305
35315
  break;
35306
35316
  }
35307
35317
  if (G -= 4, A = 8 + (15 & (Y >>>= 4)), _.wbits === 0) _.wbits = A;
35308
35318
  else if (A > _.wbits) {
35309
- R.msg = "invalid window size", _.mode = 30;
35319
+ I.msg = "invalid window size", _.mode = 30;
35310
35320
  break;
35311
35321
  }
35312
- _.dmax = 1 << A, R.adler = _.check = 1, _.mode = 512 & Y ? 10 : 12, G = Y = 0;
35322
+ _.dmax = 1 << A, I.adler = _.check = 1, _.mode = 512 & Y ? 10 : 12, G = Y = 0;
35313
35323
  break;
35314
35324
  case 2:
35315
35325
  for (; G < 16; ) {
@@ -35317,11 +35327,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35317
35327
  X--, Y += v[j++] << G, G += 8;
35318
35328
  }
35319
35329
  if (_.flags = Y, (255 & _.flags) != 8) {
35320
- R.msg = "unknown compression method", _.mode = 30;
35330
+ I.msg = "unknown compression method", _.mode = 30;
35321
35331
  break;
35322
35332
  }
35323
35333
  if (57344 & _.flags) {
35324
- R.msg = "unknown header flags set", _.mode = 30;
35334
+ I.msg = "unknown header flags set", _.mode = 30;
35325
35335
  break;
35326
35336
  }
35327
35337
  _.head && (_.head.text = Y >> 8 & 1), 512 & _.flags && (K[0] = 255 & Y, K[1] = Y >>> 8 & 255, _.check = o(_.check, K, 2, 0)), G = Y = 0, _.mode = 3;
@@ -35370,22 +35380,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35370
35380
  X--, Y += v[j++] << G, G += 8;
35371
35381
  }
35372
35382
  if (Y !== (65535 & _.check)) {
35373
- R.msg = "header crc mismatch", _.mode = 30;
35383
+ I.msg = "header crc mismatch", _.mode = 30;
35374
35384
  break;
35375
35385
  }
35376
35386
  G = Y = 0;
35377
35387
  }
35378
- _.head && (_.head.hcrc = _.flags >> 9 & 1, _.head.done = !0), R.adler = _.check = 0, _.mode = 12;
35388
+ _.head && (_.head.hcrc = _.flags >> 9 & 1, _.head.done = !0), I.adler = _.check = 0, _.mode = 12;
35379
35389
  break;
35380
35390
  case 10:
35381
35391
  for (; G < 32; ) {
35382
35392
  if (X === 0) break t;
35383
35393
  X--, Y += v[j++] << G, G += 8;
35384
35394
  }
35385
- R.adler = _.check = g(Y), G = Y = 0, _.mode = 11;
35395
+ I.adler = _.check = g(Y), G = Y = 0, _.mode = 11;
35386
35396
  case 11:
35387
- if (_.havedict === 0) return R.next_out = U, R.avail_out = O, R.next_in = j, R.avail_in = X, _.hold = Y, _.bits = G, 2;
35388
- R.adler = _.check = 1, _.mode = 12;
35397
+ if (_.havedict === 0) return I.next_out = U, I.avail_out = O, I.next_in = j, I.avail_in = X, _.hold = Y, _.bits = G, 2;
35398
+ I.adler = _.check = 1, _.mode = 12;
35389
35399
  case 12:
35390
35400
  if (B === 5 || B === 6) break t;
35391
35401
  case 13:
@@ -35409,7 +35419,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35409
35419
  _.mode = 17;
35410
35420
  break;
35411
35421
  case 3:
35412
- R.msg = "invalid block type", _.mode = 30;
35422
+ I.msg = "invalid block type", _.mode = 30;
35413
35423
  }
35414
35424
  Y >>>= 2, G -= 2;
35415
35425
  break;
@@ -35419,7 +35429,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35419
35429
  X--, Y += v[j++] << G, G += 8;
35420
35430
  }
35421
35431
  if ((65535 & Y) != (Y >>> 16 ^ 65535)) {
35422
- R.msg = "invalid stored block lengths", _.mode = 30;
35432
+ I.msg = "invalid stored block lengths", _.mode = 30;
35423
35433
  break;
35424
35434
  }
35425
35435
  if (_.length = 65535 & Y, G = Y = 0, _.mode = 15, B === 6) break t;
@@ -35439,7 +35449,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35439
35449
  X--, Y += v[j++] << G, G += 8;
35440
35450
  }
35441
35451
  if (_.nlen = 257 + (31 & Y), Y >>>= 5, G -= 5, _.ndist = 1 + (31 & Y), Y >>>= 5, G -= 5, _.ncode = 4 + (15 & Y), Y >>>= 4, G -= 4, 286 < _.nlen || 30 < _.ndist) {
35442
- R.msg = "too many length or distance symbols", _.mode = 30;
35452
+ I.msg = "too many length or distance symbols", _.mode = 30;
35443
35453
  break;
35444
35454
  }
35445
35455
  _.have = 0, _.mode = 18;
@@ -35453,7 +35463,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35453
35463
  }
35454
35464
  for (; _.have < 19; ) _.lens[lt[_.have++]] = 0;
35455
35465
  if (_.lencode = _.lendyn, _.lenbits = 7, et = { bits: _.lenbits }, st = u(0, _.lens, 0, 19, _.lencode, 0, _.work, et), _.lenbits = et.bits, st) {
35456
- R.msg = "invalid code lengths set", _.mode = 30;
35466
+ I.msg = "invalid code lengths set", _.mode = 30;
35457
35467
  break;
35458
35468
  }
35459
35469
  _.have = 0, _.mode = 19;
@@ -35471,7 +35481,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35471
35481
  X--, Y += v[j++] << G, G += 8;
35472
35482
  }
35473
35483
  if (Y >>>= Et, G -= Et, _.have === 0) {
35474
- R.msg = "invalid bit length repeat", _.mode = 30;
35484
+ I.msg = "invalid bit length repeat", _.mode = 30;
35475
35485
  break;
35476
35486
  }
35477
35487
  A = _.lens[_.have - 1], rt = 3 + (3 & Y), Y >>>= 2, G -= 2;
@@ -35489,7 +35499,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35489
35499
  G -= Et, A = 0, rt = 11 + (127 & (Y >>>= Et)), Y >>>= 7, G -= 7;
35490
35500
  }
35491
35501
  if (_.have + rt > _.nlen + _.ndist) {
35492
- R.msg = "invalid bit length repeat", _.mode = 30;
35502
+ I.msg = "invalid bit length repeat", _.mode = 30;
35493
35503
  break;
35494
35504
  }
35495
35505
  for (; rt--; ) _.lens[_.have++] = A;
@@ -35497,15 +35507,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35497
35507
  }
35498
35508
  if (_.mode === 30) break;
35499
35509
  if (_.lens[256] === 0) {
35500
- R.msg = "invalid code -- missing end-of-block", _.mode = 30;
35510
+ I.msg = "invalid code -- missing end-of-block", _.mode = 30;
35501
35511
  break;
35502
35512
  }
35503
35513
  if (_.lenbits = 9, et = { bits: _.lenbits }, st = u(c, _.lens, 0, _.nlen, _.lencode, 0, _.work, et), _.lenbits = et.bits, st) {
35504
- R.msg = "invalid literal/lengths set", _.mode = 30;
35514
+ I.msg = "invalid literal/lengths set", _.mode = 30;
35505
35515
  break;
35506
35516
  }
35507
35517
  if (_.distbits = 6, _.distcode = _.distdyn, et = { bits: _.distbits }, st = u(h, _.lens, _.nlen, _.ndist, _.distcode, 0, _.work, et), _.distbits = et.bits, st) {
35508
- R.msg = "invalid distances set", _.mode = 30;
35518
+ I.msg = "invalid distances set", _.mode = 30;
35509
35519
  break;
35510
35520
  }
35511
35521
  if (_.mode = 20, B === 6) break t;
@@ -35513,7 +35523,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35513
35523
  _.mode = 21;
35514
35524
  case 21:
35515
35525
  if (6 <= X && 258 <= O) {
35516
- R.next_out = U, R.avail_out = O, R.next_in = j, R.avail_in = X, _.hold = Y, _.bits = G, l(R, it), U = R.next_out, W = R.output, O = R.avail_out, j = R.next_in, v = R.input, X = R.avail_in, Y = _.hold, G = _.bits, _.mode === 12 && (_.back = -1);
35526
+ I.next_out = U, I.avail_out = O, I.next_in = j, I.avail_in = X, _.hold = Y, _.bits = G, l(I, it), U = I.next_out, W = I.output, O = I.avail_out, j = I.next_in, v = I.input, X = I.avail_in, Y = _.hold, G = _.bits, _.mode === 12 && (_.back = -1);
35517
35527
  break;
35518
35528
  }
35519
35529
  for (_.back = 0; wt = (H = _.lencode[Y & (1 << _.lenbits) - 1]) >>> 16 & 255, Ft = 65535 & H, !((Et = H >>> 24) <= G); ) {
@@ -35521,7 +35531,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35521
35531
  X--, Y += v[j++] << G, G += 8;
35522
35532
  }
35523
35533
  if (wt && !(240 & wt)) {
35524
- for (Ht = Et, ie = wt, me = Ft; wt = (H = _.lencode[me + ((Y & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= G); ) {
35534
+ for (Ht = Et, ie = wt, ge = Ft; wt = (H = _.lencode[ge + ((Y & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= G); ) {
35525
35535
  if (X === 0) break t;
35526
35536
  X--, Y += v[j++] << G, G += 8;
35527
35537
  }
@@ -35536,7 +35546,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35536
35546
  break;
35537
35547
  }
35538
35548
  if (64 & wt) {
35539
- R.msg = "invalid literal/length code", _.mode = 30;
35549
+ I.msg = "invalid literal/length code", _.mode = 30;
35540
35550
  break;
35541
35551
  }
35542
35552
  _.extra = 15 & wt, _.mode = 22;
@@ -35555,14 +35565,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35555
35565
  X--, Y += v[j++] << G, G += 8;
35556
35566
  }
35557
35567
  if (!(240 & wt)) {
35558
- for (Ht = Et, ie = wt, me = Ft; wt = (H = _.distcode[me + ((Y & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= G); ) {
35568
+ for (Ht = Et, ie = wt, ge = Ft; wt = (H = _.distcode[ge + ((Y & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= G); ) {
35559
35569
  if (X === 0) break t;
35560
35570
  X--, Y += v[j++] << G, G += 8;
35561
35571
  }
35562
35572
  Y >>>= Ht, G -= Ht, _.back += Ht;
35563
35573
  }
35564
35574
  if (Y >>>= Et, G -= Et, _.back += Et, 64 & wt) {
35565
- R.msg = "invalid distance code", _.mode = 30;
35575
+ I.msg = "invalid distance code", _.mode = 30;
35566
35576
  break;
35567
35577
  }
35568
35578
  _.offset = Ft, _.extra = 15 & wt, _.mode = 24;
@@ -35575,7 +35585,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35575
35585
  _.offset += Y & (1 << _.extra) - 1, Y >>>= _.extra, G -= _.extra, _.back += _.extra;
35576
35586
  }
35577
35587
  if (_.offset > _.dmax) {
35578
- R.msg = "invalid distance too far back", _.mode = 30;
35588
+ I.msg = "invalid distance too far back", _.mode = 30;
35579
35589
  break;
35580
35590
  }
35581
35591
  _.mode = 25;
@@ -35583,7 +35593,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35583
35593
  if (O === 0) break t;
35584
35594
  if (rt = it - O, _.offset > rt) {
35585
35595
  if ((rt = _.offset - rt) > _.whave && _.sane) {
35586
- R.msg = "invalid distance too far back", _.mode = 30;
35596
+ I.msg = "invalid distance too far back", _.mode = 30;
35587
35597
  break;
35588
35598
  }
35589
35599
  yt = rt > _.wnext ? (rt -= _.wnext, _.wsize - rt) : _.wnext - rt, rt > _.length && (rt = _.length), At = _.window;
@@ -35601,8 +35611,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35601
35611
  if (X === 0) break t;
35602
35612
  X--, Y |= v[j++] << G, G += 8;
35603
35613
  }
35604
- if (it -= O, R.total_out += it, _.total += it, it && (R.adler = _.check = _.flags ? o(_.check, W, it, U - it) : s(_.check, W, it, U - it)), it = O, (_.flags ? Y : g(Y)) !== _.check) {
35605
- R.msg = "incorrect data check", _.mode = 30;
35614
+ if (it -= O, I.total_out += it, _.total += it, it && (I.adler = _.check = _.flags ? o(_.check, W, it, U - it) : s(_.check, W, it, U - it)), it = O, (_.flags ? Y : g(Y)) !== _.check) {
35615
+ I.msg = "incorrect data check", _.mode = 30;
35606
35616
  break;
35607
35617
  }
35608
35618
  G = Y = 0;
@@ -35615,7 +35625,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35615
35625
  X--, Y += v[j++] << G, G += 8;
35616
35626
  }
35617
35627
  if (Y !== (4294967295 & _.total)) {
35618
- R.msg = "incorrect length check", _.mode = 30;
35628
+ I.msg = "incorrect length check", _.mode = 30;
35619
35629
  break;
35620
35630
  }
35621
35631
  G = Y = 0;
@@ -35633,46 +35643,46 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35633
35643
  default:
35634
35644
  return d;
35635
35645
  }
35636
- return R.next_out = U, R.avail_out = O, R.next_in = j, R.avail_in = X, _.hold = Y, _.bits = G, (_.wsize || it !== R.avail_out && _.mode < 30 && (_.mode < 27 || B !== 4)) && F(R, R.output, R.next_out, it - R.avail_out) ? (_.mode = 31, -4) : (D -= R.avail_in, it -= R.avail_out, R.total_in += D, R.total_out += it, _.total += it, _.wrap && it && (R.adler = _.check = _.flags ? o(_.check, W, it, R.next_out - it) : s(_.check, W, it, R.next_out - it)), R.data_type = _.bits + (_.last ? 64 : 0) + (_.mode === 12 ? 128 : 0) + (_.mode === 20 || _.mode === 15 ? 256 : 0), (D == 0 && it === 0 || B === 4) && st === f && (st = -5), st);
35637
- }, i.inflateEnd = function(R) {
35638
- if (!R || !R.state) return d;
35639
- var B = R.state;
35640
- return B.window && (B.window = null), R.state = null, f;
35641
- }, i.inflateGetHeader = function(R, B) {
35646
+ return I.next_out = U, I.avail_out = O, I.next_in = j, I.avail_in = X, _.hold = Y, _.bits = G, (_.wsize || it !== I.avail_out && _.mode < 30 && (_.mode < 27 || B !== 4)) && F(I, I.output, I.next_out, it - I.avail_out) ? (_.mode = 31, -4) : (D -= I.avail_in, it -= I.avail_out, I.total_in += D, I.total_out += it, _.total += it, _.wrap && it && (I.adler = _.check = _.flags ? o(_.check, W, it, I.next_out - it) : s(_.check, W, it, I.next_out - it)), I.data_type = _.bits + (_.last ? 64 : 0) + (_.mode === 12 ? 128 : 0) + (_.mode === 20 || _.mode === 15 ? 256 : 0), (D == 0 && it === 0 || B === 4) && st === f && (st = -5), st);
35647
+ }, i.inflateEnd = function(I) {
35648
+ if (!I || !I.state) return d;
35649
+ var B = I.state;
35650
+ return B.window && (B.window = null), I.state = null, f;
35651
+ }, i.inflateGetHeader = function(I, B) {
35642
35652
  var _;
35643
- return R && R.state && 2 & (_ = R.state).wrap ? ((_.head = B).done = !1, f) : d;
35644
- }, i.inflateSetDictionary = function(R, B) {
35653
+ return I && I.state && 2 & (_ = I.state).wrap ? ((_.head = B).done = !1, f) : d;
35654
+ }, i.inflateSetDictionary = function(I, B) {
35645
35655
  var _, v = B.length;
35646
- return R && R.state ? (_ = R.state).wrap !== 0 && _.mode !== 11 ? d : _.mode === 11 && s(1, B, v, 0) !== _.check ? -3 : F(R, B, v, v) ? (_.mode = 31, -4) : (_.havedict = 1, f) : d;
35656
+ return I && I.state ? (_ = I.state).wrap !== 0 && _.mode !== 11 ? d : _.mode === 11 && s(1, B, v, 0) !== _.check ? -3 : F(I, B, v, v) ? (_.mode = 31, -4) : (_.havedict = 1, f) : d;
35647
35657
  }, i.inflateInfo = "pako inflate (from Nodeca project)";
35648
35658
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, r, i) {
35649
35659
  var a = n("../utils/common"), s = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], o = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], l = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], u = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
35650
35660
  r.exports = function(c, h, f, d, p, m, b, g) {
35651
- var x, T, w, S, E, L, $, I, N, F = g.bits, R = 0, B = 0, _ = 0, v = 0, W = 0, j = 0, U = 0, X = 0, O = 0, Y = 0, G = null, D = 0, it = new a.Buf16(16), rt = new a.Buf16(16), yt = null, At = 0;
35652
- for (R = 0; R <= 15; R++) it[R] = 0;
35661
+ var x, T, w, S, E, L, $, R, N, F = g.bits, I = 0, B = 0, _ = 0, v = 0, W = 0, j = 0, U = 0, X = 0, O = 0, Y = 0, G = null, D = 0, it = new a.Buf16(16), rt = new a.Buf16(16), yt = null, At = 0;
35662
+ for (I = 0; I <= 15; I++) it[I] = 0;
35653
35663
  for (B = 0; B < d; B++) it[h[f + B]]++;
35654
35664
  for (W = F, v = 15; 1 <= v && it[v] === 0; v--) ;
35655
35665
  if (v < W && (W = v), v === 0) return p[m++] = 20971520, p[m++] = 20971520, g.bits = 1, 0;
35656
35666
  for (_ = 1; _ < v && it[_] === 0; _++) ;
35657
- for (W < _ && (W = _), R = X = 1; R <= 15; R++) if (X <<= 1, (X -= it[R]) < 0) return -1;
35667
+ for (W < _ && (W = _), I = X = 1; I <= 15; I++) if (X <<= 1, (X -= it[I]) < 0) return -1;
35658
35668
  if (0 < X && (c === 0 || v !== 1)) return -1;
35659
- for (rt[1] = 0, R = 1; R < 15; R++) rt[R + 1] = rt[R] + it[R];
35669
+ for (rt[1] = 0, I = 1; I < 15; I++) rt[I + 1] = rt[I] + it[I];
35660
35670
  for (B = 0; B < d; B++) h[f + B] !== 0 && (b[rt[h[f + B]]++] = B);
35661
- if (L = c === 0 ? (G = yt = b, 19) : c === 1 ? (G = s, D -= 257, yt = o, At -= 257, 256) : (G = l, yt = u, -1), R = _, E = m, U = B = Y = 0, w = -1, S = (O = 1 << (j = W)) - 1, c === 1 && 852 < O || c === 2 && 592 < O) return 1;
35671
+ if (L = c === 0 ? (G = yt = b, 19) : c === 1 ? (G = s, D -= 257, yt = o, At -= 257, 256) : (G = l, yt = u, -1), I = _, E = m, U = B = Y = 0, w = -1, S = (O = 1 << (j = W)) - 1, c === 1 && 852 < O || c === 2 && 592 < O) return 1;
35662
35672
  for (; ; ) {
35663
- for ($ = R - U, N = b[B] < L ? (I = 0, b[B]) : b[B] > L ? (I = yt[At + b[B]], G[D + b[B]]) : (I = 96, 0), x = 1 << R - U, _ = T = 1 << j; p[E + (Y >> U) + (T -= x)] = $ << 24 | I << 16 | N | 0, T !== 0; ) ;
35664
- for (x = 1 << R - 1; Y & x; ) x >>= 1;
35665
- if (x !== 0 ? (Y &= x - 1, Y += x) : Y = 0, B++, --it[R] == 0) {
35666
- if (R === v) break;
35667
- R = h[f + b[B]];
35673
+ for ($ = I - U, N = b[B] < L ? (R = 0, b[B]) : b[B] > L ? (R = yt[At + b[B]], G[D + b[B]]) : (R = 96, 0), x = 1 << I - U, _ = T = 1 << j; p[E + (Y >> U) + (T -= x)] = $ << 24 | R << 16 | N | 0, T !== 0; ) ;
35674
+ for (x = 1 << I - 1; Y & x; ) x >>= 1;
35675
+ if (x !== 0 ? (Y &= x - 1, Y += x) : Y = 0, B++, --it[I] == 0) {
35676
+ if (I === v) break;
35677
+ I = h[f + b[B]];
35668
35678
  }
35669
- if (W < R && (Y & S) !== w) {
35670
- for (U === 0 && (U = W), E += _, X = 1 << (j = R - U); j + U < v && !((X -= it[j + U]) <= 0); ) j++, X <<= 1;
35679
+ if (W < I && (Y & S) !== w) {
35680
+ for (U === 0 && (U = W), E += _, X = 1 << (j = I - U); j + U < v && !((X -= it[j + U]) <= 0); ) j++, X <<= 1;
35671
35681
  if (O += 1 << j, c === 1 && 852 < O || c === 2 && 592 < O) return 1;
35672
35682
  p[w = Y & S] = W << 24 | j << 16 | E - m | 0;
35673
35683
  }
35674
35684
  }
35675
- return Y !== 0 && (p[E + Y] = R - U << 24 | 64 << 16 | 0), g.bits = W, 0;
35685
+ return Y !== 0 && (p[E + Y] = I - U << 24 | 64 << 16 | 0), g.bits = W, 0;
35676
35686
  };
35677
35687
  }, { "../utils/common": 41 }], 51: [function(n, r, i) {
35678
35688
  r.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
@@ -35681,10 +35691,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35681
35691
  function l(H) {
35682
35692
  for (var K = H.length; 0 <= --K; ) H[K] = 0;
35683
35693
  }
35684
- var u = 0, c = 29, h = 256, f = h + 1 + c, d = 30, p = 19, m = 2 * f + 1, b = 15, g = 16, x = 7, T = 256, w = 16, S = 17, E = 18, L = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], $ = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], I = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], N = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], F = new Array(2 * (f + 2));
35694
+ var u = 0, c = 29, h = 256, f = h + 1 + c, d = 30, p = 19, m = 2 * f + 1, b = 15, g = 16, x = 7, T = 256, w = 16, S = 17, E = 18, L = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], $ = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], R = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], N = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], F = new Array(2 * (f + 2));
35685
35695
  l(F);
35686
- var R = new Array(2 * d);
35687
- l(R);
35696
+ var I = new Array(2 * d);
35697
+ l(I);
35688
35698
  var B = new Array(512);
35689
35699
  l(B);
35690
35700
  var _ = new Array(256);
@@ -35745,22 +35755,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35745
35755
  if (H.last_lit !== 0) for (; ct = H.pending_buf[H.d_buf + 2 * ft] << 8 | H.pending_buf[H.d_buf + 2 * ft + 1], tt = H.pending_buf[H.l_buf + ft], ft++, ct === 0 ? rt(H, tt, K) : (rt(H, (dt = _[tt]) + h + 1, K), (_t = L[dt]) !== 0 && it(H, tt -= v[dt], _t), rt(H, dt = G(--ct), lt), (_t = $[dt]) !== 0 && it(H, ct -= X[dt], _t)), ft < H.last_lit; ) ;
35746
35756
  rt(H, T, K);
35747
35757
  }
35748
- function me(H, K) {
35758
+ function ge(H, K) {
35749
35759
  var lt, ct, tt, dt = K.dyn_tree, _t = K.stat_desc.static_tree, ft = K.stat_desc.has_stree, Q = K.stat_desc.elems, ut = -1;
35750
35760
  for (H.heap_len = 0, H.heap_max = m, lt = 0; lt < Q; lt++) dt[2 * lt] !== 0 ? (H.heap[++H.heap_len] = ut = lt, H.depth[lt] = 0) : dt[2 * lt + 1] = 0;
35751
35761
  for (; H.heap_len < 2; ) dt[2 * (tt = H.heap[++H.heap_len] = ut < 2 ? ++ut : 0)] = 1, H.depth[tt] = 0, H.opt_len--, ft && (H.static_len -= _t[2 * tt + 1]);
35752
35762
  for (K.max_code = ut, lt = H.heap_len >> 1; 1 <= lt; lt--) Ht(H, dt, lt);
35753
35763
  for (tt = Q; lt = H.heap[1], H.heap[1] = H.heap[H.heap_len--], Ht(H, dt, 1), ct = H.heap[1], H.heap[--H.heap_max] = lt, H.heap[--H.heap_max] = ct, dt[2 * tt] = dt[2 * lt] + dt[2 * ct], H.depth[tt] = (H.depth[lt] >= H.depth[ct] ? H.depth[lt] : H.depth[ct]) + 1, dt[2 * lt + 1] = dt[2 * ct + 1] = tt, H.heap[1] = tt++, Ht(H, dt, 1), 2 <= H.heap_len; ) ;
35754
35764
  H.heap[--H.heap_max] = H.heap[1], function(xt, zt) {
35755
- var Qt, fe, De, te, ke, Ye, ue = zt.dyn_tree, yn = zt.max_code, xn = zt.stat_desc.static_tree, gi = zt.stat_desc.has_stree, bi = zt.stat_desc.extra_bits, Rs = zt.stat_desc.extra_base, Bn = zt.stat_desc.max_length, yi = 0;
35765
+ var Qt, pe, De, te, ke, Ye, ue = zt.dyn_tree, yn = zt.max_code, xn = zt.stat_desc.static_tree, gi = zt.stat_desc.has_stree, bi = zt.stat_desc.extra_bits, Rs = zt.stat_desc.extra_base, Bn = zt.stat_desc.max_length, yi = 0;
35756
35766
  for (te = 0; te <= b; te++) xt.bl_count[te] = 0;
35757
- for (ue[2 * xt.heap[xt.heap_max] + 1] = 0, Qt = xt.heap_max + 1; Qt < m; Qt++) Bn < (te = ue[2 * ue[2 * (fe = xt.heap[Qt]) + 1] + 1] + 1) && (te = Bn, yi++), ue[2 * fe + 1] = te, yn < fe || (xt.bl_count[te]++, ke = 0, Rs <= fe && (ke = bi[fe - Rs]), Ye = ue[2 * fe], xt.opt_len += Ye * (te + ke), gi && (xt.static_len += Ye * (xn[2 * fe + 1] + ke)));
35767
+ for (ue[2 * xt.heap[xt.heap_max] + 1] = 0, Qt = xt.heap_max + 1; Qt < m; Qt++) Bn < (te = ue[2 * ue[2 * (pe = xt.heap[Qt]) + 1] + 1] + 1) && (te = Bn, yi++), ue[2 * pe + 1] = te, yn < pe || (xt.bl_count[te]++, ke = 0, Rs <= pe && (ke = bi[pe - Rs]), Ye = ue[2 * pe], xt.opt_len += Ye * (te + ke), gi && (xt.static_len += Ye * (xn[2 * pe + 1] + ke)));
35758
35768
  if (yi !== 0) {
35759
35769
  do {
35760
35770
  for (te = Bn - 1; xt.bl_count[te] === 0; ) te--;
35761
35771
  xt.bl_count[te]--, xt.bl_count[te + 1] += 2, xt.bl_count[Bn]--, yi -= 2;
35762
35772
  } while (0 < yi);
35763
- for (te = Bn; te !== 0; te--) for (fe = xt.bl_count[te]; fe !== 0; ) yn < (De = xt.heap[--Qt]) || (ue[2 * De + 1] !== te && (xt.opt_len += (te - ue[2 * De + 1]) * ue[2 * De], ue[2 * De + 1] = te), fe--);
35773
+ for (te = Bn; te !== 0; te--) for (pe = xt.bl_count[te]; pe !== 0; ) yn < (De = xt.heap[--Qt]) || (ue[2 * De + 1] !== te && (xt.opt_len += (te - ue[2 * De + 1]) * ue[2 * De], ue[2 * De + 1] = te), pe--);
35764
35774
  }
35765
35775
  }(H, K), At(dt, ut, H.bl_count);
35766
35776
  }
@@ -35794,8 +35804,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35794
35804
  for (; K <= 255; ) F[2 * K + 1] = 9, K++, _t[9]++;
35795
35805
  for (; K <= 279; ) F[2 * K + 1] = 7, K++, _t[7]++;
35796
35806
  for (; K <= 287; ) F[2 * K + 1] = 8, K++, _t[8]++;
35797
- for (At(F, f + 1, _t), K = 0; K < d; K++) R[2 * K + 1] = 5, R[2 * K] = yt(K, 5);
35798
- W = new O(F, L, h + 1, f, b), j = new O(R, $, 0, d, b), U = new O(new Array(0), I, 0, p, x);
35807
+ for (At(F, f + 1, _t), K = 0; K < d; K++) I[2 * K + 1] = 5, I[2 * K] = yt(K, 5);
35808
+ W = new O(F, L, h + 1, f, b), j = new O(I, $, 0, d, b), U = new O(new Array(0), R, 0, p, x);
35799
35809
  }(), et = !0), H.l_desc = new Y(H.dyn_ltree, W), H.d_desc = new Y(H.dyn_dtree, j), H.bl_desc = new Y(H.bl_tree, U), H.bi_buf = 0, H.bi_valid = 0, Et(H);
35800
35810
  }, i._tr_stored_block = z, i._tr_flush_block = function(H, K, lt, ct) {
35801
35811
  var tt, dt, _t = 0;
@@ -35805,11 +35815,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35805
35815
  if (ft.dyn_ltree[18] !== 0 || ft.dyn_ltree[20] !== 0 || ft.dyn_ltree[26] !== 0) return o;
35806
35816
  for (Q = 32; Q < h; Q++) if (ft.dyn_ltree[2 * Q] !== 0) return o;
35807
35817
  return s;
35808
- }(H)), me(H, H.l_desc), me(H, H.d_desc), _t = function(ft) {
35818
+ }(H)), ge(H, H.l_desc), ge(H, H.d_desc), _t = function(ft) {
35809
35819
  var Q;
35810
- for (A(ft, ft.dyn_ltree, ft.l_desc.max_code), A(ft, ft.dyn_dtree, ft.d_desc.max_code), me(ft, ft.bl_desc), Q = p - 1; 3 <= Q && ft.bl_tree[2 * N[Q] + 1] === 0; Q--) ;
35820
+ for (A(ft, ft.dyn_ltree, ft.l_desc.max_code), A(ft, ft.dyn_dtree, ft.d_desc.max_code), ge(ft, ft.bl_desc), Q = p - 1; 3 <= Q && ft.bl_tree[2 * N[Q] + 1] === 0; Q--) ;
35811
35821
  return ft.opt_len += 3 * (Q + 1) + 5 + 5 + 4, Q;
35812
- }(H), tt = H.opt_len + 3 + 7 >>> 3, (dt = H.static_len + 3 + 7 >>> 3) <= tt && (tt = dt)) : tt = dt = lt + 5, lt + 4 <= tt && K !== -1 ? z(H, K, lt, ct) : H.strategy === 4 || dt === tt ? (it(H, 2 + (ct ? 1 : 0), 3), ie(H, F, R)) : (it(H, 4 + (ct ? 1 : 0), 3), function(ft, Q, ut, xt) {
35822
+ }(H), tt = H.opt_len + 3 + 7 >>> 3, (dt = H.static_len + 3 + 7 >>> 3) <= tt && (tt = dt)) : tt = dt = lt + 5, lt + 4 <= tt && K !== -1 ? z(H, K, lt, ct) : H.strategy === 4 || dt === tt ? (it(H, 2 + (ct ? 1 : 0), 3), ie(H, F, I)) : (it(H, 4 + (ct ? 1 : 0), 3), function(ft, Q, ut, xt) {
35813
35823
  var zt;
35814
35824
  for (it(ft, Q - 257, 5), it(ft, ut - 1, 5), it(ft, xt - 4, 4), zt = 0; zt < xt; zt++) it(ft, ft.bl_tree[2 * N[zt] + 1], 3);
35815
35825
  st(ft, ft.dyn_ltree, Q - 1), st(ft, ft.dyn_dtree, ut - 1);
@@ -35976,11 +35986,11 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
35976
35986
  ] });
35977
35987
  }, V$ = () => {
35978
35988
  const { dispatch: t, abortController: e, currentSessionId: n } = qe(), r = async () => {
35979
- if (e && (e.abort(), t(ai({ state: Ce.LOADED, sessionId: n }))), n)
35989
+ if (e && (e.abort(), t(ai({ state: ce.CANCELLED, sessionId: n }))), n)
35980
35990
  try {
35981
35991
  await In.post("playground/cancel", {
35982
35992
  session_id: n
35983
- }), t(ai({ state: Ce.LOADED, sessionId: n }));
35993
+ }), t(ai({ state: ce.CANCELLED, sessionId: n }));
35984
35994
  } catch (i) {
35985
35995
  console.error("Failed to call cancel API:", i);
35986
35996
  }
@@ -36169,15 +36179,15 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36169
36179
  contextOptions: n
36170
36180
  }) => {
36171
36181
  const r = mo(), i = mo(), [a, s] = _e([]), [o, l] = _e({}), u = Er(null), { dispatch: c, currentSessionId: h, disableContext: f, loadingState: d, sessions: p } = qe();
36172
- xe(() => {
36182
+ Ce(() => {
36173
36183
  h && c(
36174
36184
  Mi({
36175
36185
  sessionId: h,
36176
36186
  context: o
36177
36187
  })
36178
36188
  );
36179
- }, [o, h, c]), xe(() => {
36180
- d === Ce.LOADING && (s([]), l({}));
36189
+ }, [o, h, c]), Ce(() => {
36190
+ d === ce.LOADING && (s([]), l({}));
36181
36191
  }, [d]);
36182
36192
  const m = async (T) => {
36183
36193
  var w;
@@ -36185,7 +36195,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36185
36195
  const S = Array.from(T.target.files);
36186
36196
  try {
36187
36197
  const E = await Promise.all(
36188
- S.map(async (L) => new Promise(($, I) => {
36198
+ S.map(async (L) => new Promise(($, R) => {
36189
36199
  const N = new FileReader();
36190
36200
  N.onload = () => {
36191
36201
  const F = N.result.split(",")[1];
@@ -36195,7 +36205,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36195
36205
  content_type: L.type || "application/octet-stream",
36196
36206
  size: L.size
36197
36207
  });
36198
- }, N.onerror = I, N.readAsDataURL(L);
36208
+ }, N.onerror = R, N.readAsDataURL(L);
36199
36209
  }))
36200
36210
  );
36201
36211
  if (h) {
@@ -36225,22 +36235,22 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36225
36235
  }, g = (T, w, S) => {
36226
36236
  var E;
36227
36237
  if (T === "file") {
36228
- if (s((L) => L.filter(($, I) => I.toString() !== w)), h) {
36229
- const I = ((((E = p[h]) == null ? void 0 : E.context) || {}).uploaded_files || []).filter((N, F) => F.toString() !== w);
36238
+ if (s((L) => L.filter(($, R) => R.toString() !== w)), h) {
36239
+ const R = ((((E = p[h]) == null ? void 0 : E.context) || {}).uploaded_files || []).filter((N, F) => F.toString() !== w);
36230
36240
  c(
36231
36241
  Mi({
36232
36242
  sessionId: h,
36233
36243
  context: {
36234
- uploaded_files: I
36244
+ uploaded_files: R
36235
36245
  }
36236
36246
  })
36237
36247
  );
36238
36248
  }
36239
36249
  } else
36240
36250
  l((L) => {
36241
- var I;
36251
+ var R;
36242
36252
  const $ = { ...L };
36243
- return S && ($[S] = (I = $[S]) == null ? void 0 : I.filter((N) => N !== w)), $;
36253
+ return S && ($[S] = (R = $[S]) == null ? void 0 : R.filter((N) => N !== w)), $;
36244
36254
  });
36245
36255
  }, x = () => {
36246
36256
  var T;
@@ -36267,7 +36277,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36267
36277
  "aria-controls": i,
36268
36278
  "aria-haspopup": "listbox",
36269
36279
  "aria-label": "Add Context",
36270
- disabled: d === Ce.LOADING,
36280
+ disabled: d === ce.LOADING,
36271
36281
  children: /* @__PURE__ */ k.jsx(el, { title: "Add context or files", children: /* @__PURE__ */ k.jsx(hT, { className: "al-h-4 al-w-4", "aria-hidden": "true" }) })
36272
36282
  }
36273
36283
  ) }) }),
@@ -36589,7 +36599,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36589
36599
  const s = i[r];
36590
36600
  if (s)
36591
36601
  try {
36592
- n(ai({ state: Ce.LOADING, sessionId: r }));
36602
+ n(ai({ state: ce.LOADING, sessionId: r }));
36593
36603
  const o = s.messages, l = o.findIndex((c) => c.id === t);
36594
36604
  if (l === -1) return;
36595
36605
  const u = o.slice(0, l).filter((c) => c.role === "user").pop();
@@ -36604,7 +36614,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36604
36614
  } catch (o) {
36605
36615
  n(l3(o instanceof Error ? o.message : "Failed to regenerate response"));
36606
36616
  } finally {
36607
- n(ai({ state: Ce.UNINITIALIZED, sessionId: r }));
36617
+ n(ai({ state: ce.UNINITIALIZED, sessionId: r }));
36608
36618
  }
36609
36619
  };
36610
36620
  return /* @__PURE__ */ k.jsx(el, { title: "Regenerate response", children: /* @__PURE__ */ k.jsx(
@@ -36999,7 +37009,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
36999
37009
  queryFn: () => In.get(e == null ? void 0 : e.followupPath, { session_id: t }),
37000
37010
  enabled: !1
37001
37011
  });
37002
- return xe(() => {
37012
+ return Ce(() => {
37003
37013
  t && (e != null && e.followupPath) && r();
37004
37014
  }, [t, e == null ? void 0 : e.followupPath]), !((i = n == null ? void 0 : n.questions) != null && i.length) || !(e != null && e.followupPath) || !t ? null : /* @__PURE__ */ k.jsx(Tt, { direction: "column", children: n.questions.map((a) => /* @__PURE__ */ k.jsx(fH, { text: a }, a)) });
37005
37015
  }, mH = (t) => {
@@ -37096,13 +37106,13 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
37096
37106
  t.role === "assistant" && t.todos && t.todos.length > 0 && /* @__PURE__ */ k.jsx("div", { id: `message-${t.id}-todos`, children: /* @__PURE__ */ k.jsx(p3, { todos: t.todos }) }),
37097
37107
  t.role === "assistant" && t.confidence_str && /* @__PURE__ */ k.jsx(nl, { className: "al-my-3", variant: "warning", children: /* @__PURE__ */ k.jsxs(Tt, { gap: "xl", align: "center", children: [
37098
37108
  /* @__PURE__ */ k.jsx(G_, { className: "al-min-h-6 al-min-w-6" }),
37099
- /* @__PURE__ */ k.jsx(Pa, { variant: "body", className: "al-flex-1", children: t.confidence_str })
37109
+ /* @__PURE__ */ k.jsx(Pa, { className: "al-flex-1", children: t.confidence_str })
37100
37110
  ] }) }),
37101
37111
  /* @__PURE__ */ k.jsx("div", { id: `message-${t.id}-content`, children: /* @__PURE__ */ k.jsx(tl, { content: t.content || "", id: t.id }) }),
37102
37112
  t.artifacts && /* @__PURE__ */ k.jsx("div", { id: `message-${t.id}-artifacts`, children: /* @__PURE__ */ k.jsx(g3, { artifacts: t.artifacts }) }),
37103
37113
  t.interaction && /* @__PURE__ */ k.jsx("div", { className: "al-mt-4", id: `message-${t.id}-interaction`, children: /* @__PURE__ */ k.jsx(lH, { interaction: t.interaction }) }),
37104
37114
  t.citations && t.citations.length > 0 && /* @__PURE__ */ k.jsx("div", { className: "al-mt-4", id: `message-${t.id}-citations`, children: /* @__PURE__ */ k.jsx(dH, { citations: t.citations, frontEndUrl: (l == null ? void 0 : l.frontendUrl) || "" }) }),
37105
- a && o === Ce.LOADED && /* @__PURE__ */ k.jsx("div", { id: `message-${t.id}-actions`, children: /* @__PURE__ */ k.jsxs(Tt, { direction: "row", justify: "between", align: "start", className: "al-mt-2", children: [
37115
+ a && o === ce.LOADED && /* @__PURE__ */ k.jsx("div", { id: `message-${t.id}-actions`, children: /* @__PURE__ */ k.jsxs(Tt, { direction: "row", justify: "between", align: "start", className: "al-mt-2", children: [
37106
37116
  /* @__PURE__ */ k.jsxs(Tt, { direction: "row", children: [
37107
37117
  /* @__PURE__ */ k.jsx(
37108
37118
  rH,
@@ -37122,7 +37132,7 @@ const Y$ = /* @__PURE__ */ lh(q$), g3 = ({ artifacts: t }) => {
37122
37132
  ]
37123
37133
  }
37124
37134
  ),
37125
- e && s && o === Ce.LOADED && /* @__PURE__ */ k.jsx(pH, {})
37135
+ e && s && o === ce.LOADED && /* @__PURE__ */ k.jsx(pH, {})
37126
37136
  ] });
37127
37137
  }, xH = ({
37128
37138
  messages: t,
@@ -37183,7 +37193,7 @@ class CH {
37183
37193
  }
37184
37194
  const _H = () => {
37185
37195
  const { dispatch: t, currentSessionId: e, sessions: n, urls: r, requestParams: i } = qe(), a = Er(null), s = Er(e), o = Er(n);
37186
- return s.current = e, o.current = n, xe(() => (a.current = new CH(500), () => {
37196
+ return s.current = e, o.current = n, Ce(() => (a.current = new CH(500), () => {
37187
37197
  var u;
37188
37198
  (u = a.current) == null || u.cleanup();
37189
37199
  }), []), { detectEntities: Wi(
@@ -37230,18 +37240,18 @@ const _H = () => {
37230
37240
  components: a
37231
37241
  }) => {
37232
37242
  var S, E, L, $;
37233
- const { components: s, currentSessionId: o, sessions: l, dispatch: u } = qe(), { detectEntities: c } = _H(), h = mo(), f = mo(), d = o && ((S = l[o]) == null ? void 0 : S.userInput) || "", p = (I) => {
37234
- o && u(c3({ sessionId: o, userInput: I }));
37243
+ const { components: s, currentSessionId: o, sessions: l, dispatch: u } = qe(), { detectEntities: c } = _H(), h = mo(), f = mo(), d = o && ((S = l[o]) == null ? void 0 : S.userInput) || "", p = (R) => {
37244
+ o && u(c3({ sessionId: o, userInput: R }));
37235
37245
  };
37236
- xe(() => {
37246
+ Ce(() => {
37237
37247
  i && o && p(i);
37238
37248
  }, [i, o]);
37239
- const b = (o && ((L = (E = l[o]) == null ? void 0 : E.context) == null ? void 0 : L.entities) || []).filter((I) => I.selected_type === Is.UNKNOWN), g = b.length > 0, x = !g, T = async (I) => {
37240
- I.preventDefault(), !(!d.trim() || e || !x) && (p(""), await t(d));
37241
- }, w = (I) => {
37242
- I.key === "Enter" && !I.shiftKey && (I.preventDefault(), T(I));
37249
+ const b = (o && ((L = (E = l[o]) == null ? void 0 : E.context) == null ? void 0 : L.entities) || []).filter((R) => R.selected_type === Is.UNKNOWN), g = b.length > 0, x = !g, T = async (R) => {
37250
+ R.preventDefault(), !(!d.trim() || e || !x) && (p(""), await t(d));
37251
+ }, w = (R) => {
37252
+ R.key === "Enter" && !R.shiftKey && (R.preventDefault(), T(R));
37243
37253
  };
37244
- return xe(() => {
37254
+ return Ce(() => {
37245
37255
  d.trim().length > 2 && c(d.trim());
37246
37256
  }, [d, c]), /* @__PURE__ */ k.jsx(k.Fragment, { children: /* @__PURE__ */ k.jsx(
37247
37257
  "form",
@@ -37258,7 +37268,7 @@ const _H = () => {
37258
37268
  {
37259
37269
  id: f,
37260
37270
  value: d,
37261
- onChange: (I) => p(I.target.value),
37271
+ onChange: (R) => p(R.target.value),
37262
37272
  onKeyDown: w,
37263
37273
  placeholder: n,
37264
37274
  minHeight: 40,
@@ -37276,8 +37286,8 @@ const _H = () => {
37276
37286
  /* @__PURE__ */ k.jsxs(Tt, { className: "al-pb-2", justify: "between", children: [
37277
37287
  a == null ? void 0 : a.questionFormLeftActions,
37278
37288
  /* @__PURE__ */ k.jsxs(Tt, { children: [
37279
- ($ = s == null ? void 0 : s.questionFormButtons) == null ? void 0 : $.call(s, d, (I) => {
37280
- p(I);
37289
+ ($ = s == null ? void 0 : s.questionFormButtons) == null ? void 0 : $.call(s, d, (R) => {
37290
+ p(R);
37281
37291
  }),
37282
37292
  e && /* @__PURE__ */ k.jsx(V$, {}),
37283
37293
  !e && /* @__PURE__ */ k.jsxs(
@@ -37287,7 +37297,7 @@ const _H = () => {
37287
37297
  disabled: e || !d.trim() || !x,
37288
37298
  "aria-busy": e,
37289
37299
  "aria-label": e ? "Sending message..." : g ? "Cannot send - unknown entities need types selected" : "Send message",
37290
- title: e ? "Cancel generation" : g ? `Please select right type for ${b.map((I) => I.name).join(", ")}` : "Send message",
37300
+ title: e ? "Cancel generation" : g ? `Please select right type for ${b.map((R) => R.name).join(", ")}` : "Send message",
37291
37301
  variant: "default",
37292
37302
  size: "icon",
37293
37303
  className: "!al-h-9",
@@ -37808,7 +37818,7 @@ export {
37808
37818
  Az as n,
37809
37819
  dH as o,
37810
37820
  d3 as p,
37811
- Ce as q,
37821
+ ce as q,
37812
37822
  Hu as r,
37813
37823
  vz as s,
37814
37824
  T$ as t,