@altimateai/ui-components 0.0.68-beta.5 → 0.0.68-beta.7

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,8 +2,8 @@ import './CoachForm.css';var E3 = Object.defineProperty;
2
2
  var k3 = (t, e, n) => e in t ? E3(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var ae = (t, e, n) => k3(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { j as E, E as S3, D as w3, t as A3, c as v3, b as L3, u as I3, R as N3, v as Xd, w as R3, x as D3, g as O3, y as M3 } from "./index2.js";
5
- import zl, { forwardRef as Hp, useRef as Er, useEffect as xe, lazy as B3, Suspense as P3, useState as _e, createContext as F3, useContext as $3, useReducer as H3, useImperativeHandle as z3, useCallback as Ui, useMemo as U3, useId as go } from "react";
6
- import { f as Xe, h as cn, B as ee, as as j3, T as ai, X as Tt, a4 as kn, a5 as eh, aj as zp, a1 as W3, a7 as q3, a6 as Y3, I as V3, Y as ji, M as nh, N as rh, ao as ih, aq as ah, ar as G3, ap as X3, a8 as K3, a0 as Pa } from "./Stack.js";
5
+ import zl, { forwardRef as Hp, useRef as Er, useEffect as xe, lazy as B3, Suspense as P3, useState as _e, createContext as F3, useContext as $3, useReducer as H3, useImperativeHandle as z3, useCallback as ji, useMemo as U3, useId as go } from "react";
6
+ import { f as Xe, h as cn, B as ee, as as j3, T as si, X as Tt, a4 as kn, a5 as eh, aj as zp, a1 as W3, a7 as q3, a6 as Y3, I as V3, Y as Wi, M as nh, N as rh, ao as ih, aq as ah, ar as G3, ap as X3, a8 as K3, a0 as Pa } from "./Stack.js";
7
7
  import { an as Q3, aq as Z3, ar as J3, as as t_, au as e_, av as n_, at as r_, ax as i_, aw as a_, b3 as zu, b4 as Ul, b5 as s_, u as sh, A as nl, F as bo, a as Uu, N as Up, ak as Qa, S as o_, y as l_, c as u_, E as c_, J as h_, b1 as d_, b2 as f_, B as jp, aJ as p_, aW as m_, aX as g_, aY as jl, b6 as Kd, aZ as b_, a_ as y_, Q as x_, T as C_, U as __, V as Wl, a1 as T_, a3 as E_, a2 as k_, a5 as S_, a7 as w_, a8 as A_, a9 as v_, aa as L_, ab as I_, b7 as N_, b8 as R_, aQ as D_, aR as O_, aS as M_, aU as B_, aT as P_, aV as F_, af as $_, ag as H_, ah as z_, ai as U_, O as j_ } from "./ToggleGroup.js";
8
8
  import { z as St } from "zod";
9
9
  import { c as qr, g as oh, s as ne, l as rl, u as ps, A as In, I as W_, m as Wp, k as q_, t as Y_ } from "./redux-toolkit.modern.js";
@@ -334,8 +334,8 @@ var Qd = {
334
334
  if (F(_)) return _.clone();
335
335
  var U = typeof v == "object" ? v : {};
336
336
  return U.date = _, U.args = arguments, new N(U);
337
- }, $ = S;
338
- $.l = D, $.i = F, $.w = function(_, v) {
337
+ }, H = S;
338
+ H.l = D, H.i = F, H.w = function(_, v) {
339
339
  return R(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
340
340
  };
341
341
  var N = function() {
@@ -347,7 +347,7 @@ var Qd = {
347
347
  this.$d = function(j) {
348
348
  var Y = j.date, K = j.utc;
349
349
  if (Y === null) return /* @__PURE__ */ new Date(NaN);
350
- if ($.u(Y)) return /* @__PURE__ */ new Date();
350
+ if (H.u(Y)) return /* @__PURE__ */ new Date();
351
351
  if (Y instanceof Date) return new Date(Y);
352
352
  if (typeof Y == "string" && !/Z$/i.test(Y)) {
353
353
  var I = Y.match(b);
@@ -362,7 +362,7 @@ var Qd = {
362
362
  var U = this.$d;
363
363
  this.$y = U.getFullYear(), this.$M = U.getMonth(), this.$D = U.getDate(), this.$W = U.getDay(), this.$H = U.getHours(), this.$m = U.getMinutes(), this.$s = U.getSeconds(), this.$ms = U.getMilliseconds();
364
364
  }, v.$utils = function() {
365
- return $;
365
+ return H;
366
366
  }, v.isValid = function() {
367
367
  return this.$d.toString() !== m;
368
368
  }, v.isSame = function(U, j) {
@@ -373,17 +373,17 @@ var Qd = {
373
373
  }, v.isBefore = function(U, j) {
374
374
  return this.endOf(j) < R(U);
375
375
  }, v.$g = function(U, j, Y) {
376
- return $.u(U) ? this[j] : this.set(Y, U);
376
+ return H.u(U) ? this[j] : this.set(Y, U);
377
377
  }, v.unix = function() {
378
378
  return Math.floor(this.valueOf() / 1e3);
379
379
  }, v.valueOf = function() {
380
380
  return this.$d.getTime();
381
381
  }, v.startOf = function(U, j) {
382
- var Y = this, K = !!$.u(j) || j, I = $.p(U), q = function(wt, Ft) {
383
- var Ht = $.w(Y.$u ? Date.UTC(Y.$y, Ft, wt) : new Date(Y.$y, Ft, wt), Y);
382
+ var Y = this, K = !!H.u(j) || j, I = H.p(U), q = function(wt, Ft) {
383
+ var Ht = H.w(Y.$u ? Date.UTC(Y.$y, Ft, wt) : new Date(Y.$y, Ft, wt), Y);
384
384
  return K ? Ht : Ht.endOf(u);
385
385
  }, V = function(wt, Ft) {
386
- return $.w(Y.toDate()[wt].apply(Y.toDate("s"), (K ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ft)), Y);
386
+ return H.w(Y.toDate()[wt].apply(Y.toDate("s"), (K ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Ft)), Y);
387
387
  }, O = this.$W, st = this.$M, rt = this.$D, yt = "set" + (this.$u ? "UTC" : "");
388
388
  switch (I) {
389
389
  case d:
@@ -408,7 +408,7 @@ var Qd = {
408
408
  }, v.endOf = function(U) {
409
409
  return this.startOf(U, !1);
410
410
  }, v.$set = function(U, j) {
411
- var Y, K = $.p(U), I = "set" + (this.$u ? "UTC" : ""), q = (Y = {}, Y[u] = I + "Date", Y[p] = I + "Date", Y[h] = I + "Month", Y[d] = I + "FullYear", Y[l] = I + "Hours", Y[o] = I + "Minutes", Y[s] = I + "Seconds", Y[a] = I + "Milliseconds", Y)[K], V = K === u ? this.$D + (j - this.$W) : j;
411
+ var Y, K = H.p(U), I = "set" + (this.$u ? "UTC" : ""), q = (Y = {}, Y[u] = I + "Date", Y[p] = I + "Date", Y[h] = I + "Month", Y[d] = I + "FullYear", Y[l] = I + "Hours", Y[o] = I + "Minutes", Y[s] = I + "Seconds", Y[a] = I + "Milliseconds", Y)[K], V = K === u ? this.$D + (j - this.$W) : j;
412
412
  if (K === h || K === d) {
413
413
  var O = this.clone().set(p, 1);
414
414
  O.$d[q](V), O.init(), this.$d = O.set(p, Math.min(this.$D, O.daysInMonth())).$d;
@@ -417,29 +417,29 @@ var Qd = {
417
417
  }, v.set = function(U, j) {
418
418
  return this.clone().$set(U, j);
419
419
  }, v.get = function(U) {
420
- return this[$.p(U)]();
420
+ return this[H.p(U)]();
421
421
  }, v.add = function(U, j) {
422
422
  var Y, K = this;
423
423
  U = Number(U);
424
- var I = $.p(j), q = function(st) {
424
+ var I = H.p(j), q = function(st) {
425
425
  var rt = R(K);
426
- return $.w(rt.date(rt.date() + Math.round(st * U)), K);
426
+ return H.w(rt.date(rt.date() + Math.round(st * U)), K);
427
427
  };
428
428
  if (I === h) return this.set(h, this.$M + U);
429
429
  if (I === d) return this.set(d, this.$y + U);
430
430
  if (I === u) return q(1);
431
431
  if (I === c) return q(7);
432
432
  var V = (Y = {}, Y[o] = r, Y[l] = i, Y[s] = n, Y)[I] || 1, O = this.$d.getTime() + U * V;
433
- return $.w(O, this);
433
+ return H.w(O, this);
434
434
  }, v.subtract = function(U, j) {
435
435
  return this.add(-1 * U, j);
436
436
  }, v.format = function(U) {
437
437
  var j = this, Y = this.$locale();
438
438
  if (!this.isValid()) return Y.invalidDate || m;
439
- var K = U || "YYYY-MM-DDTHH:mm:ssZ", I = $.z(this), q = this.$H, V = this.$m, O = this.$M, st = Y.weekdays, rt = Y.months, yt = Y.meridiem, At = function(Ft, Ht, ie, me) {
439
+ var K = U || "YYYY-MM-DDTHH:mm:ssZ", I = H.z(this), q = this.$H, V = this.$m, O = this.$M, st = Y.weekdays, rt = Y.months, yt = Y.meridiem, At = function(Ft, Ht, ie, me) {
440
440
  return Ft && (Ft[Ht] || Ft(j, K)) || ie[Ht].slice(0, me);
441
441
  }, Et = function(Ft) {
442
- return $.s(q % 12 || 12, Ft, "0");
442
+ return H.s(q % 12 || 12, Ft, "0");
443
443
  }, wt = yt || function(Ft, Ht, ie) {
444
444
  var me = Ft < 12 ? "AM" : "PM";
445
445
  return ie ? me.toLowerCase() : me;
@@ -450,11 +450,11 @@ var Qd = {
450
450
  case "YY":
451
451
  return String(j.$y).slice(-2);
452
452
  case "YYYY":
453
- return $.s(j.$y, 4, "0");
453
+ return H.s(j.$y, 4, "0");
454
454
  case "M":
455
455
  return O + 1;
456
456
  case "MM":
457
- return $.s(O + 1, 2, "0");
457
+ return H.s(O + 1, 2, "0");
458
458
  case "MMM":
459
459
  return At(Y.monthsShort, O, rt, 3);
460
460
  case "MMMM":
@@ -462,7 +462,7 @@ var Qd = {
462
462
  case "D":
463
463
  return j.$D;
464
464
  case "DD":
465
- return $.s(j.$D, 2, "0");
465
+ return H.s(j.$D, 2, "0");
466
466
  case "d":
467
467
  return String(j.$W);
468
468
  case "dd":
@@ -474,7 +474,7 @@ var Qd = {
474
474
  case "H":
475
475
  return String(q);
476
476
  case "HH":
477
- return $.s(q, 2, "0");
477
+ return H.s(q, 2, "0");
478
478
  case "h":
479
479
  return Et(1);
480
480
  case "hh":
@@ -486,13 +486,13 @@ var Qd = {
486
486
  case "m":
487
487
  return String(V);
488
488
  case "mm":
489
- return $.s(V, 2, "0");
489
+ return H.s(V, 2, "0");
490
490
  case "s":
491
491
  return String(j.$s);
492
492
  case "ss":
493
- return $.s(j.$s, 2, "0");
493
+ return H.s(j.$s, 2, "0");
494
494
  case "SSS":
495
- return $.s(j.$ms, 3, "0");
495
+ return H.s(j.$ms, 3, "0");
496
496
  case "Z":
497
497
  return I;
498
498
  }
@@ -502,8 +502,8 @@ var Qd = {
502
502
  }, v.utcOffset = function() {
503
503
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
504
504
  }, v.diff = function(U, j, Y) {
505
- var K, I = this, q = $.p(j), V = R(U), O = (V.utcOffset() - this.utcOffset()) * r, st = this - V, rt = function() {
506
- return $.m(I, V);
505
+ var K, I = this, q = H.p(j), V = R(U), O = (V.utcOffset() - this.utcOffset()) * r, st = this - V, rt = function() {
506
+ return H.m(I, V);
507
507
  };
508
508
  switch (q) {
509
509
  case d:
@@ -533,7 +533,7 @@ var Qd = {
533
533
  default:
534
534
  K = st;
535
535
  }
536
- return Y ? K : $.a(K);
536
+ return Y ? K : H.a(K);
537
537
  }, v.daysInMonth = function() {
538
538
  return this.endOf(h).$D;
539
539
  }, v.$locale = function() {
@@ -543,7 +543,7 @@ var Qd = {
543
543
  var Y = this.clone(), K = D(U, j, !0);
544
544
  return K && (Y.$L = K), Y;
545
545
  }, v.clone = function() {
546
- return $.w(this.$d, this);
546
+ return H.w(this.$d, this);
547
547
  }, v.toDate = function() {
548
548
  return new Date(this.valueOf());
549
549
  }, v.toJSON = function() {
@@ -782,14 +782,14 @@ class LT {
782
782
  this.changed = !0, this.data.a = e;
783
783
  }
784
784
  }
785
- const il = new LT({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Li = {
785
+ const il = new LT({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Ii = {
786
786
  /* VARIABLES */
787
787
  re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
788
788
  /* API */
789
789
  parse: (t) => {
790
790
  if (t.charCodeAt(0) !== 35)
791
791
  return;
792
- const e = t.match(Li.re);
792
+ const e = t.match(Ii.re);
793
793
  if (!e)
794
794
  return;
795
795
  const n = e[1], r = parseInt(n, 16), i = n.length, a = i % 4 === 0, s = i > 4, o = s ? 1 : 17, l = s ? 8 : 4, u = a ? 0 : -1, c = s ? 255 : 15;
@@ -1000,10 +1000,10 @@ const il = new LT({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Li = {
1000
1000
  t = t.toLowerCase();
1001
1001
  const e = Fa.colors[t];
1002
1002
  if (e)
1003
- return Li.parse(e);
1003
+ return Ii.parse(e);
1004
1004
  },
1005
1005
  stringify: (t) => {
1006
- const e = Li.stringify(t);
1006
+ const e = Ii.stringify(t);
1007
1007
  for (const n in Fa.colors)
1008
1008
  if (Fa.colors[n] === e)
1009
1009
  return n;
@@ -1035,7 +1035,7 @@ const il = new LT({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Li = {
1035
1035
  /* VARIABLES */
1036
1036
  format: {
1037
1037
  keyword: Fa,
1038
- hex: Li,
1038
+ hex: Ii,
1039
1039
  rgb: Ia,
1040
1040
  rgba: Ia,
1041
1041
  hsl: Yr,
@@ -1045,12 +1045,12 @@ const il = new LT({ r: 0, g: 0, b: 0, a: 0 }, "transparent"), Li = {
1045
1045
  parse: (t) => {
1046
1046
  if (typeof t != "string")
1047
1047
  return t;
1048
- const e = Li.parse(t) || Ia.parse(t) || Yr.parse(t) || Fa.parse(t);
1048
+ const e = Ii.parse(t) || Ia.parse(t) || Yr.parse(t) || Fa.parse(t);
1049
1049
  if (e)
1050
1050
  return e;
1051
1051
  throw new Error(`Unsupported color format: "${t}"`);
1052
1052
  },
1053
- stringify: (t) => !t.changed && t.color ? t.color : t.type.is(Ve.HSL) || t.data.r === void 0 ? Yr.stringify(t) : t.a < 1 || !Number.isInteger(t.r) || !Number.isInteger(t.g) || !Number.isInteger(t.b) ? Ia.stringify(t) : Li.stringify(t)
1053
+ stringify: (t) => !t.changed && t.color ? t.color : t.type.is(Ve.HSL) || t.data.r === void 0 ? Yr.stringify(t) : t.a < 1 || !Number.isInteger(t.r) || !Number.isInteger(t.g) || !Number.isInteger(t.b) ? Ia.stringify(t) : Ii.stringify(t)
1054
1054
  }, Xp = (t, e) => {
1055
1055
  const n = tr.parse(t);
1056
1056
  for (const r in e)
@@ -1275,7 +1275,7 @@ function em() {
1275
1275
  } = n, {
1276
1276
  importNode: R
1277
1277
  } = r;
1278
- let $ = sf();
1278
+ let H = sf();
1279
1279
  e.isSupported = typeof Qp == "function" && typeof T == "function" && k && k.createHTMLDocument !== void 0;
1280
1280
  const {
1281
1281
  MUSTACHE_EXPR: N,
@@ -1312,7 +1312,7 @@ function em() {
1312
1312
  enumerable: !0,
1313
1313
  value: !1
1314
1314
  }
1315
- })), yt = null, At = null, Et = !0, wt = !0, Ft = !1, Ht = !0, ie = !1, me = !0, A = !1, at = !1, et = !1, z = !1, H = !1, X = !1, lt = !0, ct = !1;
1315
+ })), yt = null, At = null, Et = !0, wt = !0, Ft = !1, Ht = !0, ie = !1, me = !0, A = !1, at = !1, et = !1, z = !1, $ = !1, X = !1, lt = !0, ct = !1;
1316
1316
  const tt = "user-content-";
1317
1317
  let dt = !0, _t = !1, ft = {}, Q = null;
1318
1318
  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"]);
@@ -1322,18 +1322,18 @@ function em() {
1322
1322
  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
1323
  let qe = ke, ue = !1, yn = null;
1324
1324
  const xn = Zt({}, [De, te, ke], ql);
1325
- let mi = Zt({}, ["mi", "mo", "mn", "ms", "mtext"]), gi = Zt({}, ["annotation-xml"]);
1325
+ let gi = Zt({}, ["mi", "mo", "mn", "ms", "mtext"]), bi = Zt({}, ["annotation-xml"]);
1326
1326
  const Ds = Zt({}, ["title", "style", "font", "a", "script"]);
1327
1327
  let Bn = null;
1328
- const bi = ["application/xhtml+xml", "text/html"], x3 = "text/html";
1329
- let Oe = null, yi = null;
1328
+ const yi = ["application/xhtml+xml", "text/html"], x3 = "text/html";
1329
+ let Oe = null, xi = null;
1330
1330
  const C3 = n.createElement("form"), Pd = function(G) {
1331
1331
  return G instanceof RegExp || G instanceof Function;
1332
1332
  }, Fl = function() {
1333
1333
  let G = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1334
- if (!(yi && yi === G)) {
1334
+ if (!(xi && xi === G)) {
1335
1335
  if ((!G || typeof G != "object") && (G = {}), G = lr(G), Bn = // eslint-disable-next-line unicorn/prefer-includes
1336
- bi.indexOf(G.PARSER_MEDIA_TYPE) === -1 ? x3 : G.PARSER_MEDIA_TYPE, Oe = Bn === "application/xhtml+xml" ? ql : to, q = Pn(G, "ALLOWED_TAGS") ? Zt({}, G.ALLOWED_TAGS, Oe) : V, O = Pn(G, "ALLOWED_ATTR") ? Zt({}, G.ALLOWED_ATTR, Oe) : st, yn = Pn(G, "ALLOWED_NAMESPACES") ? Zt({}, G.ALLOWED_NAMESPACES, ql) : xn, Qt = Pn(G, "ADD_URI_SAFE_ATTR") ? Zt(lr(fe), G.ADD_URI_SAFE_ATTR, Oe) : fe, xt = Pn(G, "ADD_DATA_URI_TAGS") ? Zt(lr(zt), G.ADD_DATA_URI_TAGS, Oe) : zt, Q = Pn(G, "FORBID_CONTENTS") ? Zt({}, G.FORBID_CONTENTS, Oe) : ut, yt = Pn(G, "FORBID_TAGS") ? Zt({}, G.FORBID_TAGS, Oe) : lr({}), At = Pn(G, "FORBID_ATTR") ? Zt({}, G.FORBID_ATTR, Oe) : lr({}), ft = Pn(G, "USE_PROFILES") ? G.USE_PROFILES : !1, Et = G.ALLOW_ARIA_ATTR !== !1, wt = G.ALLOW_DATA_ATTR !== !1, Ft = G.ALLOW_UNKNOWN_PROTOCOLS || !1, Ht = G.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = G.SAFE_FOR_TEMPLATES || !1, me = G.SAFE_FOR_XML !== !1, A = G.WHOLE_DOCUMENT || !1, z = G.RETURN_DOM || !1, H = G.RETURN_DOM_FRAGMENT || !1, X = G.RETURN_TRUSTED_TYPE || !1, et = G.FORCE_BODY || !1, lt = G.SANITIZE_DOM !== !1, ct = G.SANITIZE_NAMED_PROPS || !1, dt = G.KEEP_CONTENT !== !1, _t = G.IN_PLACE || !1, I = G.ALLOWED_URI_REGEXP || Jp, qe = G.NAMESPACE || ke, mi = G.MATHML_TEXT_INTEGRATION_POINTS || mi, gi = G.HTML_INTEGRATION_POINTS || gi, rt = G.CUSTOM_ELEMENT_HANDLING || {}, G.CUSTOM_ELEMENT_HANDLING && Pd(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (rt.tagNameCheck = G.CUSTOM_ELEMENT_HANDLING.tagNameCheck), G.CUSTOM_ELEMENT_HANDLING && Pd(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (rt.attributeNameCheck = G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), G.CUSTOM_ELEMENT_HANDLING && typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (rt.allowCustomizedBuiltInElements = G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ie && (wt = !1), H && (z = !0), ft && (q = Zt({}, ef), O = [], ft.html === !0 && (Zt(q, tf), Zt(O, nf)), ft.svg === !0 && (Zt(q, Vl), Zt(O, Kl), Zt(O, Ms)), ft.svgFilters === !0 && (Zt(q, Gl), Zt(O, Kl), Zt(O, Ms)), ft.mathMl === !0 && (Zt(q, Xl), Zt(O, rf), Zt(O, Ms))), G.ADD_TAGS && (q === V && (q = lr(q)), Zt(q, G.ADD_TAGS, Oe)), G.ADD_ATTR && (O === st && (O = lr(O)), Zt(O, G.ADD_ATTR, Oe)), G.ADD_URI_SAFE_ATTR && Zt(Qt, G.ADD_URI_SAFE_ATTR, Oe), G.FORBID_CONTENTS && (Q === ut && (Q = lr(Q)), Zt(Q, G.FORBID_CONTENTS, Oe)), dt && (q["#text"] = !0), A && Zt(q, ["html", "head", "body"]), q.table && (Zt(q, ["tbody"]), delete yt.tbody), G.TRUSTED_TYPES_POLICY) {
1336
+ yi.indexOf(G.PARSER_MEDIA_TYPE) === -1 ? x3 : G.PARSER_MEDIA_TYPE, Oe = Bn === "application/xhtml+xml" ? ql : to, q = Pn(G, "ALLOWED_TAGS") ? Zt({}, G.ALLOWED_TAGS, Oe) : V, O = Pn(G, "ALLOWED_ATTR") ? Zt({}, G.ALLOWED_ATTR, Oe) : st, yn = Pn(G, "ALLOWED_NAMESPACES") ? Zt({}, G.ALLOWED_NAMESPACES, ql) : xn, Qt = Pn(G, "ADD_URI_SAFE_ATTR") ? Zt(lr(fe), G.ADD_URI_SAFE_ATTR, Oe) : fe, xt = Pn(G, "ADD_DATA_URI_TAGS") ? Zt(lr(zt), G.ADD_DATA_URI_TAGS, Oe) : zt, Q = Pn(G, "FORBID_CONTENTS") ? Zt({}, G.FORBID_CONTENTS, Oe) : ut, yt = Pn(G, "FORBID_TAGS") ? Zt({}, G.FORBID_TAGS, Oe) : lr({}), At = Pn(G, "FORBID_ATTR") ? Zt({}, G.FORBID_ATTR, Oe) : lr({}), ft = Pn(G, "USE_PROFILES") ? G.USE_PROFILES : !1, Et = G.ALLOW_ARIA_ATTR !== !1, wt = G.ALLOW_DATA_ATTR !== !1, Ft = G.ALLOW_UNKNOWN_PROTOCOLS || !1, Ht = G.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ie = G.SAFE_FOR_TEMPLATES || !1, me = G.SAFE_FOR_XML !== !1, A = G.WHOLE_DOCUMENT || !1, z = G.RETURN_DOM || !1, $ = G.RETURN_DOM_FRAGMENT || !1, X = G.RETURN_TRUSTED_TYPE || !1, et = G.FORCE_BODY || !1, lt = G.SANITIZE_DOM !== !1, ct = G.SANITIZE_NAMED_PROPS || !1, dt = G.KEEP_CONTENT !== !1, _t = G.IN_PLACE || !1, I = G.ALLOWED_URI_REGEXP || Jp, qe = G.NAMESPACE || ke, gi = G.MATHML_TEXT_INTEGRATION_POINTS || gi, bi = G.HTML_INTEGRATION_POINTS || bi, rt = G.CUSTOM_ELEMENT_HANDLING || {}, G.CUSTOM_ELEMENT_HANDLING && Pd(G.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (rt.tagNameCheck = G.CUSTOM_ELEMENT_HANDLING.tagNameCheck), G.CUSTOM_ELEMENT_HANDLING && Pd(G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (rt.attributeNameCheck = G.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), G.CUSTOM_ELEMENT_HANDLING && typeof G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (rt.allowCustomizedBuiltInElements = G.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ie && (wt = !1), $ && (z = !0), ft && (q = Zt({}, ef), O = [], ft.html === !0 && (Zt(q, tf), Zt(O, nf)), ft.svg === !0 && (Zt(q, Vl), Zt(O, Kl), Zt(O, Ms)), ft.svgFilters === !0 && (Zt(q, Gl), Zt(O, Kl), Zt(O, Ms)), ft.mathMl === !0 && (Zt(q, Xl), Zt(O, rf), Zt(O, Ms))), G.ADD_TAGS && (q === V && (q = lr(q)), Zt(q, G.ADD_TAGS, Oe)), G.ADD_ATTR && (O === st && (O = lr(O)), Zt(O, G.ADD_ATTR, Oe)), G.ADD_URI_SAFE_ATTR && Zt(Qt, G.ADD_URI_SAFE_ATTR, Oe), G.FORBID_CONTENTS && (Q === ut && (Q = lr(Q)), Zt(Q, G.FORBID_CONTENTS, Oe)), dt && (q["#text"] = !0), A && Zt(q, ["html", "head", "body"]), q.table && (Zt(q, ["tbody"]), delete yt.tbody), G.TRUSTED_TYPES_POLICY) {
1337
1337
  if (typeof G.TRUSTED_TYPES_POLICY.createHTML != "function")
1338
1338
  throw ba('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
1339
1339
  if (typeof G.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -1341,7 +1341,7 @@ function em() {
1341
1341
  S = G.TRUSTED_TYPES_POLICY, w = S.createHTML("");
1342
1342
  } else
1343
1343
  S === void 0 && (S = JT(d, i)), S !== null && typeof w == "string" && (w = S.createHTML(""));
1344
- ln && ln(G), yi = G;
1344
+ ln && ln(G), xi = G;
1345
1345
  }
1346
1346
  }, Fd = Zt({}, [...Vl, ...Gl, ...UT]), $d = Zt({}, [...Xl, ...jT]), _3 = function(G) {
1347
1347
  let bt = T(G);
@@ -1350,7 +1350,7 @@ function em() {
1350
1350
  tagName: "template"
1351
1351
  });
1352
1352
  const Ot = to(G.tagName), ge = to(bt.tagName);
1353
- return yn[G.namespaceURI] ? G.namespaceURI === te ? bt.namespaceURI === ke ? Ot === "svg" : bt.namespaceURI === De ? Ot === "svg" && (ge === "annotation-xml" || mi[ge]) : !!Fd[Ot] : G.namespaceURI === De ? bt.namespaceURI === ke ? Ot === "math" : bt.namespaceURI === te ? Ot === "math" && gi[ge] : !!$d[Ot] : G.namespaceURI === ke ? bt.namespaceURI === te && !gi[ge] || bt.namespaceURI === De && !mi[ge] ? !1 : !$d[Ot] && (Ds[Ot] || !Fd[Ot]) : !!(Bn === "application/xhtml+xml" && yn[G.namespaceURI]) : !1;
1353
+ return yn[G.namespaceURI] ? G.namespaceURI === te ? bt.namespaceURI === ke ? Ot === "svg" : bt.namespaceURI === De ? Ot === "svg" && (ge === "annotation-xml" || gi[ge]) : !!Fd[Ot] : G.namespaceURI === De ? bt.namespaceURI === ke ? Ot === "math" : bt.namespaceURI === te ? Ot === "math" && bi[ge] : !!$d[Ot] : G.namespaceURI === ke ? bt.namespaceURI === te && !bi[ge] || bt.namespaceURI === De && !gi[ge] ? !1 : !$d[Ot] && (Ds[Ot] || !Fd[Ot]) : !!(Bn === "application/xhtml+xml" && yn[G.namespaceURI]) : !1;
1354
1354
  }, Yn = function(G) {
1355
1355
  ma(e.removed, {
1356
1356
  element: G
@@ -1373,7 +1373,7 @@ function em() {
1373
1373
  });
1374
1374
  }
1375
1375
  if (bt.removeAttribute(G), G === "is")
1376
- if (z || H)
1376
+ if (z || $)
1377
1377
  try {
1378
1378
  Yn(bt);
1379
1379
  } catch {
@@ -1422,15 +1422,15 @@ function em() {
1422
1422
  };
1423
1423
  function ar(Bt, G, bt) {
1424
1424
  Os(Bt, (Ot) => {
1425
- Ot.call(e, G, bt, yi);
1425
+ Ot.call(e, G, bt, xi);
1426
1426
  });
1427
1427
  }
1428
1428
  const jd = function(G) {
1429
1429
  let bt = null;
1430
- if (ar($.beforeSanitizeElements, G, null), $l(G))
1430
+ if (ar(H.beforeSanitizeElements, G, null), $l(G))
1431
1431
  return Yn(G), !0;
1432
1432
  const Ot = Oe(G.nodeName);
1433
- if (ar($.uponSanitizeElement, G, {
1433
+ if (ar(H.uponSanitizeElement, G, {
1434
1434
  tagName: Ot,
1435
1435
  allowedTags: q
1436
1436
  }), me && G.hasChildNodes() && !Ud(G.firstElementChild) && rn(/<[/\w!]/g, G.innerHTML) && rn(/<[/\w!]/g, G.textContent) || G.nodeType === xa.progressingInstruction || me && G.nodeType === xa.comment && rn(/<[/\w]/g, G.data))
@@ -1454,7 +1454,7 @@ function em() {
1454
1454
  bt = ga(bt, ge, " ");
1455
1455
  }), G.textContent !== bt && (ma(e.removed, {
1456
1456
  element: G.cloneNode()
1457
- }), G.textContent = bt)), ar($.afterSanitizeElements, G, null), !1);
1457
+ }), G.textContent = bt)), ar(H.afterSanitizeElements, G, null), !1);
1458
1458
  }, Wd = function(G, bt, Ot) {
1459
1459
  if (lt && (bt === "id" || bt === "name") && (Ot in n || Ot in C3))
1460
1460
  return !1;
@@ -1485,7 +1485,7 @@ function em() {
1485
1485
  }, qd = function(G) {
1486
1486
  return G !== "annotation-xml" && Yl(G, K);
1487
1487
  }, Yd = function(G) {
1488
- ar($.beforeSanitizeAttributes, G, null);
1488
+ ar(H.beforeSanitizeAttributes, G, null);
1489
1489
  const {
1490
1490
  attributes: bt
1491
1491
  } = G;
@@ -1504,13 +1504,13 @@ function em() {
1504
1504
  name: Se,
1505
1505
  namespaceURI: hn,
1506
1506
  value: sr
1507
- } = Ye, xi = Oe(Se), Hl = sr;
1507
+ } = Ye, Ci = Oe(Se), Hl = sr;
1508
1508
  let $e = Se === "value" ? Hl : $T(Hl);
1509
- if (Ot.attrName = xi, Ot.attrValue = $e, Ot.keepAttr = !0, Ot.forceKeepAttr = void 0, ar($.uponSanitizeAttribute, G, Ot), $e = Ot.attrValue, ct && (xi === "id" || xi === "name") && (Br(Se, G), $e = tt + $e), me && rn(/((--!?|])>)|<\/(style|title|textarea)/i, $e)) {
1509
+ if (Ot.attrName = Ci, Ot.attrValue = $e, Ot.keepAttr = !0, Ot.forceKeepAttr = void 0, ar(H.uponSanitizeAttribute, G, Ot), $e = Ot.attrValue, ct && (Ci === "id" || Ci === "name") && (Br(Se, G), $e = tt + $e), me && rn(/((--!?|])>)|<\/(style|title|textarea)/i, $e)) {
1510
1510
  Br(Se, G);
1511
1511
  continue;
1512
1512
  }
1513
- if (xi === "attributename" && Yl($e, "href")) {
1513
+ if (Ci === "attributename" && Yl($e, "href")) {
1514
1514
  Br(Se, G);
1515
1515
  continue;
1516
1516
  }
@@ -1528,12 +1528,12 @@ function em() {
1528
1528
  $e = ga($e, Gd, " ");
1529
1529
  });
1530
1530
  const Vd = Oe(G.nodeName);
1531
- if (!Wd(Vd, xi, $e)) {
1531
+ if (!Wd(Vd, Ci, $e)) {
1532
1532
  Br(Se, G);
1533
1533
  continue;
1534
1534
  }
1535
1535
  if (S && typeof d == "object" && typeof d.getAttributeType == "function" && !hn)
1536
- switch (d.getAttributeType(Vd, xi)) {
1536
+ switch (d.getAttributeType(Vd, Ci)) {
1537
1537
  case "TrustedHTML": {
1538
1538
  $e = S.createHTML($e);
1539
1539
  break;
@@ -1550,13 +1550,13 @@ function em() {
1550
1550
  Br(Se, G);
1551
1551
  }
1552
1552
  }
1553
- ar($.afterSanitizeAttributes, G, null);
1553
+ ar(H.afterSanitizeAttributes, G, null);
1554
1554
  }, T3 = function Bt(G) {
1555
1555
  let bt = null;
1556
1556
  const Ot = zd(G);
1557
- for (ar($.beforeSanitizeShadowDOM, G, null); bt = Ot.nextNode(); )
1558
- ar($.uponSanitizeShadowNode, bt, null), jd(bt), Yd(bt), bt.content instanceof a && Bt(bt.content);
1559
- ar($.afterSanitizeShadowDOM, G, null);
1557
+ for (ar(H.beforeSanitizeShadowDOM, G, null); bt = Ot.nextNode(); )
1558
+ ar(H.uponSanitizeShadowNode, bt, null), jd(bt), Yd(bt), bt.content instanceof a && Bt(bt.content);
1559
+ ar(H.afterSanitizeShadowDOM, G, null);
1560
1560
  };
1561
1561
  return e.sanitize = function(Bt) {
1562
1562
  let G = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, bt = null, Ot = null, ge = null, Ye = null;
@@ -1590,7 +1590,7 @@ function em() {
1590
1590
  if (_t)
1591
1591
  return Bt;
1592
1592
  if (z) {
1593
- if (H)
1593
+ if ($)
1594
1594
  for (Ye = F.call(bt.ownerDocument); bt.firstChild; )
1595
1595
  Ye.appendChild(bt.firstChild);
1596
1596
  else
@@ -1606,30 +1606,30 @@ function em() {
1606
1606
  let Bt = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
1607
1607
  Fl(Bt), at = !0;
1608
1608
  }, e.clearConfig = function() {
1609
- yi = null, at = !1;
1609
+ xi = null, at = !1;
1610
1610
  }, e.isValidAttribute = function(Bt, G, bt) {
1611
- yi || Fl({});
1611
+ xi || Fl({});
1612
1612
  const Ot = Oe(Bt), ge = Oe(G);
1613
1613
  return Wd(Ot, ge, bt);
1614
1614
  }, e.addHook = function(Bt, G) {
1615
- typeof G == "function" && ma($[Bt], G);
1615
+ typeof G == "function" && ma(H[Bt], G);
1616
1616
  }, e.removeHook = function(Bt, G) {
1617
1617
  if (G !== void 0) {
1618
- const bt = BT($[Bt], G);
1619
- return bt === -1 ? void 0 : PT($[Bt], bt, 1)[0];
1618
+ const bt = BT(H[Bt], G);
1619
+ return bt === -1 ? void 0 : PT(H[Bt], bt, 1)[0];
1620
1620
  }
1621
- return Jd($[Bt]);
1621
+ return Jd(H[Bt]);
1622
1622
  }, e.removeHooks = function(Bt) {
1623
- $[Bt] = [];
1623
+ H[Bt] = [];
1624
1624
  }, e.removeAllHooks = function() {
1625
- $ = sf();
1625
+ H = sf();
1626
1626
  }, e;
1627
1627
  }
1628
- var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, tE = /\s*%%.*\n/gm, Oi, rm = (Oi = class extends Error {
1628
+ var qi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, tE = /\s*%%.*\n/gm, Mi, rm = (Mi = class extends Error {
1629
1629
  constructor(e) {
1630
1630
  super(e), this.name = "UnknownDiagramError";
1631
1631
  }
1632
- }, C(Oi, "UnknownDiagramError"), Oi), Zr = {}, uh = /* @__PURE__ */ C(function(t, e) {
1632
+ }, C(Mi, "UnknownDiagramError"), Mi), Zr = {}, uh = /* @__PURE__ */ C(function(t, e) {
1633
1633
  t = t.replace(nm, "").replace(Ha, "").replace(tE, `
1634
1634
  `);
1635
1635
  for (const [n, { detector: r }] of Object.entries(Zr))
@@ -1650,7 +1650,7 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1650
1650
  }), t) : t === void 0 || n <= 0 ? t != null && typeof t == "object" && typeof e == "object" ? Object.assign(t, e) : e : (e !== void 0 && typeof t == "object" && typeof e == "object" && Object.keys(e).forEach((a) => {
1651
1651
  typeof e[a] == "object" && (t[a] === void 0 || typeof t[a] == "object") ? (t[a] === void 0 && (t[a] = Array.isArray(e[a]) ? [] : {}), t[a] = Vu(t[a], e[a], { depth: n - 1, clobber: r })) : (r || typeof t[a] != "object" && typeof e[a] != "object") && (t[a] = e[a]);
1652
1652
  }), t);
1653
- }, "assignWithDepth"), Ie = Vu, al = "#ffffff", sl = "#f2f2f2", an = /* @__PURE__ */ C((t, e) => e ? Z(t, { s: -40, l: 10 }) : Z(t, { s: -40, l: -10 }), "mkBorder"), Mi, nE = (Mi = class {
1653
+ }, "assignWithDepth"), Ie = Vu, al = "#ffffff", sl = "#f2f2f2", an = /* @__PURE__ */ C((t, e) => e ? Z(t, { s: -40, l: 10 }) : Z(t, { s: -40, l: -10 }), "mkBorder"), Bi, nE = (Bi = class {
1654
1654
  constructor() {
1655
1655
  this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px";
1656
1656
  }
@@ -1709,10 +1709,10 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1709
1709
  this[r] = e[r];
1710
1710
  });
1711
1711
  }
1712
- }, C(Mi, "Theme"), Mi), rE = /* @__PURE__ */ C((t) => {
1712
+ }, C(Bi, "Theme"), Bi), rE = /* @__PURE__ */ C((t) => {
1713
1713
  const e = new nE();
1714
1714
  return e.calculate(t), e;
1715
- }, "getThemeVariables"), Bi, iE = (Bi = class {
1715
+ }, "getThemeVariables"), Pi, iE = (Pi = class {
1716
1716
  constructor() {
1717
1717
  this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = vt(this.primaryColor, 16), this.tertiaryColor = Z(this.primaryColor, { h: -160 }), this.primaryBorderColor = Ct(this.background), this.secondaryBorderColor = an(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = an(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ct(this.primaryColor), this.secondaryTextColor = Ct(this.secondaryColor), this.tertiaryTextColor = Ct(this.tertiaryColor), this.lineColor = Ct(this.background), this.textColor = Ct(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = vt(Ct("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = $a(255, 255, 255, 0.25), this.arrowheadColor = "calculated", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.sectionBkgColor = Pt("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = Pt(this.sectionBkgColor, 10), this.taskBorderColor = $a(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = $a(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || vt(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || Pt(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
1718
1718
  }
@@ -1774,10 +1774,10 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1774
1774
  this[r] = e[r];
1775
1775
  });
1776
1776
  }
1777
- }, C(Bi, "Theme"), Bi), aE = /* @__PURE__ */ C((t) => {
1777
+ }, C(Pi, "Theme"), Pi), aE = /* @__PURE__ */ C((t) => {
1778
1778
  const e = new iE();
1779
1779
  return e.calculate(t), e;
1780
- }, "getThemeVariables"), Pi, sE = (Pi = class {
1780
+ }, "getThemeVariables"), Fi, sE = (Fi = class {
1781
1781
  constructor() {
1782
1782
  this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = Z(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = Z(this.primaryColor, { h: -160 }), this.primaryBorderColor = an(this.primaryColor, this.darkMode), this.secondaryBorderColor = an(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = an(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ct(this.primaryColor), this.secondaryTextColor = Ct(this.secondaryColor), this.tertiaryTextColor = Ct(this.tertiaryColor), this.lineColor = Ct(this.background), this.textColor = Ct(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = $a(102, 102, 255, 0.49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.updateColors();
1783
1783
  }
@@ -1834,10 +1834,10 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1834
1834
  this[r] = e[r];
1835
1835
  });
1836
1836
  }
1837
- }, C(Pi, "Theme"), Pi), oE = /* @__PURE__ */ C((t) => {
1837
+ }, C(Fi, "Theme"), Fi), oE = /* @__PURE__ */ C((t) => {
1838
1838
  const e = new sE();
1839
1839
  return e.calculate(t), e;
1840
- }, "getThemeVariables"), Fi, lE = (Fi = class {
1840
+ }, "getThemeVariables"), $i, lE = ($i = class {
1841
1841
  constructor() {
1842
1842
  this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.tertiaryColor = vt("#cde498", 10), this.primaryBorderColor = an(this.primaryColor, this.darkMode), this.secondaryBorderColor = an(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = an(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ct(this.primaryColor), this.secondaryTextColor = Ct(this.secondaryColor), this.tertiaryTextColor = Ct(this.primaryColor), this.lineColor = Ct(this.background), this.textColor = Ct(this.background), this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
1843
1843
  }
@@ -1897,10 +1897,10 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1897
1897
  this[r] = e[r];
1898
1898
  });
1899
1899
  }
1900
- }, C(Fi, "Theme"), Fi), uE = /* @__PURE__ */ C((t) => {
1900
+ }, C($i, "Theme"), $i), uE = /* @__PURE__ */ C((t) => {
1901
1901
  const e = new lE();
1902
1902
  return e.calculate(t), e;
1903
- }, "getThemeVariables"), $i, cE = ($i = class {
1903
+ }, "getThemeVariables"), Hi, cE = (Hi = class {
1904
1904
  constructor() {
1905
1905
  this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = vt(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = Z(this.primaryColor, { h: -160 }), this.primaryBorderColor = an(this.primaryColor, this.darkMode), this.secondaryBorderColor = an(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = an(this.tertiaryColor, this.darkMode), this.primaryTextColor = Ct(this.primaryColor), this.secondaryTextColor = Ct(this.secondaryColor), this.tertiaryTextColor = Ct(this.tertiaryColor), this.lineColor = Ct(this.background), this.textColor = Ct(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif', this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || vt(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
1906
1906
  }
@@ -1956,7 +1956,7 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
1956
1956
  this[r] = e[r];
1957
1957
  });
1958
1958
  }
1959
- }, C($i, "Theme"), $i), hE = /* @__PURE__ */ C((t) => {
1959
+ }, C(Hi, "Theme"), Hi), hE = /* @__PURE__ */ C((t) => {
1960
1960
  const e = new cE();
1961
1961
  return e.calculate(t), e;
1962
1962
  }, "getThemeVariables"), dr = {
@@ -2743,7 +2743,7 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
2743
2743
  r === "{" ? e++ : r === "}" && n++;
2744
2744
  }
2745
2745
  return e !== n ? "{ /* ERROR: Unbalanced CSS */ }" : t;
2746
- }, "sanitizeCss"), qi = Object.freeze(om), mn = Ie({}, qi), xo, Jr = [], za = Ie({}, qi), ol = /* @__PURE__ */ C((t, e) => {
2746
+ }, "sanitizeCss"), Yi = Object.freeze(om), mn = Ie({}, Yi), xo, Jr = [], za = Ie({}, Yi), ol = /* @__PURE__ */ C((t, e) => {
2747
2747
  let n = Ie({}, t), r = {};
2748
2748
  for (const i of e)
2749
2749
  cm(i), r = Ie(r, i);
@@ -2755,7 +2755,7 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
2755
2755
  n.theme && n.theme in dr && (n.themeVariables = dr[n.theme].getThemeVariables(a));
2756
2756
  }
2757
2757
  return za = n, hm(za), za;
2758
- }, "updateCurrentConfig"), pE = /* @__PURE__ */ C((t) => (mn = Ie({}, qi), mn = Ie(mn, t), t.theme && dr[t.theme] && (mn.themeVariables = dr[t.theme].getThemeVariables(t.themeVariables)), ol(mn, Jr), mn), "setSiteConfig"), mE = /* @__PURE__ */ C((t) => {
2758
+ }, "updateCurrentConfig"), pE = /* @__PURE__ */ C((t) => (mn = Ie({}, Yi), mn = Ie(mn, t), t.theme && dr[t.theme] && (mn.themeVariables = dr[t.theme].getThemeVariables(t.themeVariables)), ol(mn, Jr), mn), "setSiteConfig"), mE = /* @__PURE__ */ C((t) => {
2759
2759
  xo = Ie({}, t);
2760
2760
  }, "saveConfigFromInitialize"), gE = /* @__PURE__ */ C((t) => (mn = Ie(mn, t), ol(mn, Jr), mn), "updateSiteConfig"), lm = /* @__PURE__ */ C(() => Ie({}, mn), "getSiteConfig"), um = /* @__PURE__ */ C((t) => (hm(t), Ie(za, t), Qe()), "setConfig"), Qe = /* @__PURE__ */ C(() => Ie({}, za), "getConfig"), cm = /* @__PURE__ */ C((t) => {
2761
2761
  t && (["secure", ...mn.secure ?? []].forEach((e) => {
@@ -2793,21 +2793,21 @@ var Wi = em(), nm = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ha = /%{2}{\s*(?
2793
2793
  })();
2794
2794
  function dm() {
2795
2795
  const t = "data-temp-href-target";
2796
- Wi.addHook("beforeSanitizeAttributes", (e) => {
2796
+ qi.addHook("beforeSanitizeAttributes", (e) => {
2797
2797
  e.tagName === "A" && e.hasAttribute("target") && e.setAttribute(t, e.getAttribute("target") ?? "");
2798
- }), Wi.addHook("afterSanitizeAttributes", (e) => {
2798
+ }), qi.addHook("afterSanitizeAttributes", (e) => {
2799
2799
  e.tagName === "A" && e.hasAttribute(t) && (e.setAttribute("target", e.getAttribute(t) ?? ""), e.removeAttribute(t), e.getAttribute("target") === "_blank" && e.setAttribute("rel", "noopener"));
2800
2800
  });
2801
2801
  }
2802
2802
  C(dm, "setupDompurifyHooks");
2803
- var fm = /* @__PURE__ */ C((t) => (_E(), Wi.sanitize(t)), "removeScript"), lf = /* @__PURE__ */ C((t, e) => {
2803
+ var fm = /* @__PURE__ */ C((t) => (_E(), qi.sanitize(t)), "removeScript"), lf = /* @__PURE__ */ C((t, e) => {
2804
2804
  var n;
2805
2805
  if (((n = e.flowchart) == null ? void 0 : n.htmlLabels) !== !1) {
2806
2806
  const r = e.securityLevel;
2807
2807
  r === "antiscript" || r === "strict" ? t = fm(t) : r !== "loose" && (t = pm(t), t = t.replace(/</g, "&lt;").replace(/>/g, "&gt;"), t = t.replace(/=/g, "&equals;"), t = SE(t));
2808
2808
  }
2809
2809
  return t;
2810
- }, "sanitizeMore"), Rn = /* @__PURE__ */ C((t, e) => t && (e.dompurifyConfig ? t = Wi.sanitize(lf(t, e), e.dompurifyConfig).toString() : t = Wi.sanitize(lf(t, e), {
2810
+ }, "sanitizeMore"), Rn = /* @__PURE__ */ C((t, e) => t && (e.dompurifyConfig ? t = qi.sanitize(lf(t, e), e.dompurifyConfig).toString() : t = qi.sanitize(lf(t, e), {
2811
2811
  FORBID_TAGS: ["style"]
2812
2812
  }).toString(), t), "sanitizeText"), TE = /* @__PURE__ */ C((t, e) => typeof t == "string" ? Rn(t, e) : t.flat().map((n) => Rn(n, e)), "sanitizeTextOrArray"), EE = /* @__PURE__ */ C((t) => gs.test(t), "hasBreaks"), kE = /* @__PURE__ */ C((t) => t.split(gs), "splitBreaks"), SE = /* @__PURE__ */ C((t) => t.replace(/#br#/g, "<br/>"), "placeholderToBreak"), pm = /* @__PURE__ */ C((t) => t.replace(gs, "#br#"), "breakToPlaceholder"), wE = /* @__PURE__ */ C((t) => {
2813
2813
  let e = "";
@@ -2843,7 +2843,7 @@ var fm = /* @__PURE__ */ C((t) => (_E(), Wi.sanitize(t)), "removeScript"), lf =
2843
2843
  for (; i !== -1 && a !== -1 && i !== a; )
2844
2844
  r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
2845
2845
  return n && r.unshift("~"), r.join("");
2846
- }, "processSet"), cf = /* @__PURE__ */ C(() => window.MathMLElement !== void 0, "isMathMLSupported"), Xu = /\$\$(.*)\$\$/g, Yi = /* @__PURE__ */ C((t) => {
2846
+ }, "processSet"), cf = /* @__PURE__ */ C(() => window.MathMLElement !== void 0, "isMathMLSupported"), Xu = /\$\$(.*)\$\$/g, Vi = /* @__PURE__ */ C((t) => {
2847
2847
  var e;
2848
2848
  return (((e = t.match(Xu)) == null ? void 0 : e.length) ?? 0) > 0;
2849
2849
  }, "hasKatex"), $H = /* @__PURE__ */ C(async (t, e) => {
@@ -2854,14 +2854,14 @@ var fm = /* @__PURE__ */ C((t) => (_E(), Wi.sanitize(t)), "removeScript"), lf =
2854
2854
  const i = { width: n.clientWidth, height: n.clientHeight };
2855
2855
  return n.remove(), i;
2856
2856
  }, "calculateMathMLDimensions"), NE = /* @__PURE__ */ C(async (t, e) => {
2857
- if (!Yi(t))
2857
+ if (!Vi(t))
2858
2858
  return t;
2859
2859
  if (!(cf() || e.legacyMathML || e.forceLegacyMathML))
2860
2860
  return t.replace(Xu, "MathML is unsupported in this environment.");
2861
2861
  {
2862
2862
  const { default: n } = await import("./katex.js"), r = e.forceLegacyMathML || !cf() && e.legacyMathML ? "htmlAndMathml" : "mathml";
2863
2863
  return t.split(gs).map(
2864
- (i) => Yi(i) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${i}</div>` : `<div>${i}</div>`
2864
+ (i) => Vi(i) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${i}</div>` : `<div>${i}</div>`
2865
2865
  ).join("").replace(
2866
2866
  Xu,
2867
2867
  (i, a) => n.renderToString(a, {
@@ -2999,7 +2999,7 @@ var hh = "", dh = "", fh = "", ph = /* @__PURE__ */ C((t) => Rn(t, Qe()), "sanit
2999
2999
  `);
3000
3000
  }, "setAccDescription"), UE = /* @__PURE__ */ C(() => fh, "getAccDescription"), jE = /* @__PURE__ */ C((t) => {
3001
3001
  dh = ph(t);
3002
- }, "setDiagramTitle"), WE = /* @__PURE__ */ C(() => dh, "getDiagramTitle"), hf = ot, qE = lh, oe = Qe, HH = um, zH = qi, mh = /* @__PURE__ */ C((t) => Rn(t, oe()), "sanitizeText"), YE = OE, VE = /* @__PURE__ */ C(() => gm, "getCommonDb"), _o = {}, To = /* @__PURE__ */ C((t, e, n) => {
3002
+ }, "setDiagramTitle"), WE = /* @__PURE__ */ C(() => dh, "getDiagramTitle"), hf = ot, qE = lh, oe = Qe, HH = um, zH = Yi, mh = /* @__PURE__ */ C((t) => Rn(t, oe()), "sanitizeText"), YE = OE, VE = /* @__PURE__ */ C(() => gm, "getCommonDb"), _o = {}, To = /* @__PURE__ */ C((t, e, n) => {
3003
3003
  var r;
3004
3004
  _o[t] && hf.warn(`Diagram with id ${t} already registered. Overwriting.`), _o[t] = e, n && im(t, n), BE(t, e.styles), (r = e.injectUtils) == null || r.call(
3005
3005
  e,
@@ -3016,11 +3016,11 @@ var hh = "", dh = "", fh = "", ph = /* @__PURE__ */ C((t) => Rn(t, Qe()), "sanit
3016
3016
  if (t in _o)
3017
3017
  return _o[t];
3018
3018
  throw new GE(t);
3019
- }, "getDiagram"), Hi, GE = (Hi = class extends Error {
3019
+ }, "getDiagram"), zi, GE = (zi = class extends Error {
3020
3020
  constructor(e) {
3021
3021
  super(`Diagram ${e} not found.`);
3022
3022
  }
3023
- }, C(Hi, "DiagramNotFoundError"), Hi);
3023
+ }, C(zi, "DiagramNotFoundError"), zi);
3024
3024
  const Qu = Math.PI, Zu = 2 * Qu, Hr = 1e-6, XE = Zu - Hr;
3025
3025
  function bm(t) {
3026
3026
  this._ += t[0];
@@ -3082,7 +3082,7 @@ class QE {
3082
3082
  return this._;
3083
3083
  }
3084
3084
  }
3085
- function Ci(t) {
3085
+ function _i(t) {
3086
3086
  return function() {
3087
3087
  return t;
3088
3088
  };
@@ -3150,8 +3150,8 @@ function ek(t) {
3150
3150
  return t[1];
3151
3151
  }
3152
3152
  function nk(t, e) {
3153
- var n = Ci(!0), r = null, i = Eo, a = null, s = ZE(o);
3154
- t = typeof t == "function" ? t : t === void 0 ? tk : Ci(t), e = typeof e == "function" ? e : e === void 0 ? ek : Ci(e);
3153
+ var n = _i(!0), r = null, i = Eo, a = null, s = ZE(o);
3154
+ t = typeof t == "function" ? t : t === void 0 ? tk : _i(t), e = typeof e == "function" ? e : e === void 0 ? ek : _i(e);
3155
3155
  function o(l) {
3156
3156
  var u, c = (l = JE(l)).length, h, f = !1, d;
3157
3157
  for (r == null && (a = i(d = s())), u = 0; u <= c; ++u)
@@ -3159,11 +3159,11 @@ function nk(t, e) {
3159
3159
  if (d) return a = null, d + "" || null;
3160
3160
  }
3161
3161
  return o.x = function(l) {
3162
- return arguments.length ? (t = typeof l == "function" ? l : Ci(+l), o) : t;
3162
+ return arguments.length ? (t = typeof l == "function" ? l : _i(+l), o) : t;
3163
3163
  }, o.y = function(l) {
3164
- return arguments.length ? (e = typeof l == "function" ? l : Ci(+l), o) : e;
3164
+ return arguments.length ? (e = typeof l == "function" ? l : _i(+l), o) : e;
3165
3165
  }, o.defined = function(l) {
3166
- return arguments.length ? (n = typeof l == "function" ? l : Ci(!!l), o) : n;
3166
+ return arguments.length ? (n = typeof l == "function" ? l : _i(!!l), o) : n;
3167
3167
  }, o.curve = function(l) {
3168
3168
  return arguments.length ? (i = l, r != null && (a = i(r)), o) : i;
3169
3169
  }, o.context = function(l) {
@@ -3948,16 +3948,16 @@ function Th(t, e) {
3948
3948
  ` + t.mark.snippet), r + " " + n) : r;
3949
3949
  }
3950
3950
  C(Th, "formatError");
3951
- function Vi(t, e) {
3951
+ function Gi(t, e) {
3952
3952
  Error.call(this), this.name = "YAMLException", this.reason = t, this.mark = e, this.message = Th(this, !1), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack || "";
3953
3953
  }
3954
- C(Vi, "YAMLException$1");
3955
- Vi.prototype = Object.create(Error.prototype);
3956
- Vi.prototype.constructor = Vi;
3957
- Vi.prototype.toString = /* @__PURE__ */ C(function(e) {
3954
+ C(Gi, "YAMLException$1");
3955
+ Gi.prototype = Object.create(Error.prototype);
3956
+ Gi.prototype.constructor = Gi;
3957
+ Gi.prototype.toString = /* @__PURE__ */ C(function(e) {
3958
3958
  return this.name + ": " + Th(this, e);
3959
3959
  }, "toString");
3960
- var gn = Vi;
3960
+ var gn = Gi;
3961
3961
  function ro(t, e, n, r, i) {
3962
3962
  var a = "", s = "", o = Math.floor(i / 2) - 1;
3963
3963
  return r - e > o && (a = " ... ", e = r - o + a.length), n - r > o && (s = " ...", n = r + o - s.length), {
@@ -5057,12 +5057,12 @@ function es(t) {
5057
5057
  return t === Zk || t === Kk;
5058
5058
  }
5059
5059
  C(es, "isWhitespace");
5060
- function Gi(t) {
5060
+ function Xi(t) {
5061
5061
  return 32 <= t && t <= 126 || 161 <= t && t <= 55295 && t !== 8232 && t !== 8233 || 57344 <= t && t <= 65533 && t !== wh || 65536 <= t && t <= 1114111;
5062
5062
  }
5063
- C(Gi, "isPrintable");
5063
+ C(Xi, "isPrintable");
5064
5064
  function sc(t) {
5065
- return Gi(t) && t !== wh && t !== Qk && t !== Ja;
5065
+ return Xi(t) && t !== wh && t !== Qk && t !== Ja;
5066
5066
  }
5067
5067
  C(sc, "isNsCharOrWhitespace");
5068
5068
  function oc(t, e, n) {
@@ -5077,44 +5077,44 @@ function oc(t, e, n) {
5077
5077
  }
5078
5078
  C(oc, "isPlainSafe");
5079
5079
  function u2(t) {
5080
- return Gi(t) && t !== wh && !es(t) && t !== aS && t !== lS && t !== Io && t !== t2 && t !== e2 && t !== n2 && t !== r2 && t !== i2 && t !== ic && t !== nS && t !== iS && t !== Jk && t !== hS && t !== sS && t !== oS && t !== rS && t !== tS && t !== eS && t !== uS && t !== cS;
5080
+ return Xi(t) && t !== wh && !es(t) && t !== aS && t !== lS && t !== Io && t !== t2 && t !== e2 && t !== n2 && t !== r2 && t !== i2 && t !== ic && t !== nS && t !== iS && t !== Jk && t !== hS && t !== sS && t !== oS && t !== rS && t !== tS && t !== eS && t !== uS && t !== cS;
5081
5081
  }
5082
5082
  C(u2, "isPlainSafeFirst");
5083
5083
  function c2(t) {
5084
5084
  return !es(t) && t !== Io;
5085
5085
  }
5086
5086
  C(c2, "isPlainSafeLast");
5087
- function Ai(t, e) {
5087
+ function vi(t, e) {
5088
5088
  var n = t.charCodeAt(e), r;
5089
5089
  return n >= 55296 && n <= 56319 && e + 1 < t.length && (r = t.charCodeAt(e + 1), r >= 56320 && r <= 57343) ? (n - 55296) * 1024 + r - 56320 + 65536 : n;
5090
5090
  }
5091
- C(Ai, "codePointAt");
5091
+ C(vi, "codePointAt");
5092
5092
  function Ah(t) {
5093
5093
  var e = /^\n* /;
5094
5094
  return e.test(t);
5095
5095
  }
5096
5096
  C(Ah, "needIndentIndicator");
5097
- var h2 = 1, lc = 2, d2 = 3, f2 = 4, Ei = 5;
5097
+ var h2 = 1, lc = 2, d2 = 3, f2 = 4, ki = 5;
5098
5098
  function p2(t, e, n, r, i, a, s, o) {
5099
- var l, u = 0, c = null, h = !1, f = !1, d = r !== -1, p = -1, m = u2(Ai(t, 0)) && c2(Ai(t, t.length - 1));
5099
+ var l, u = 0, c = null, h = !1, f = !1, d = r !== -1, p = -1, m = u2(vi(t, 0)) && c2(vi(t, t.length - 1));
5100
5100
  if (e || s)
5101
5101
  for (l = 0; l < t.length; u >= 65536 ? l += 2 : l++) {
5102
- if (u = Ai(t, l), !Gi(u))
5103
- return Ei;
5102
+ if (u = vi(t, l), !Xi(u))
5103
+ return ki;
5104
5104
  m = m && oc(u, c, o), c = u;
5105
5105
  }
5106
5106
  else {
5107
5107
  for (l = 0; l < t.length; u >= 65536 ? l += 2 : l++) {
5108
- if (u = Ai(t, l), u === Ja)
5108
+ if (u = vi(t, l), u === Ja)
5109
5109
  h = !0, d && (f = f || // Foldable line = too long, and not more-indented.
5110
5110
  l - p - 1 > r && t[p + 1] !== " ", p = l);
5111
- else if (!Gi(u))
5112
- return Ei;
5111
+ else if (!Xi(u))
5112
+ return ki;
5113
5113
  m = m && oc(u, c, o), c = u;
5114
5114
  }
5115
5115
  f = f || d && l - p - 1 > r && t[p + 1] !== " ";
5116
5116
  }
5117
- return !h && !f ? m && !s && !i(t) ? h2 : a === ts ? Ei : lc : n > 9 && Ah(t) ? Ei : s ? a === ts ? Ei : lc : f ? f2 : d2;
5117
+ return !h && !f ? m && !s && !i(t) ? h2 : a === ts ? ki : lc : n > 9 && Ah(t) ? ki : s ? a === ts ? ki : lc : f ? f2 : d2;
5118
5118
  }
5119
5119
  C(p2, "chooseScalarStyle");
5120
5120
  function m2(t, e, n, r, i) {
@@ -5145,7 +5145,7 @@ function m2(t, e, n, r, i) {
5145
5145
  return "|" + uc(e, t.indent) + cc(ac(e, a));
5146
5146
  case f2:
5147
5147
  return ">" + uc(e, t.indent) + cc(ac(g2(e, s), a));
5148
- case Ei:
5148
+ case ki:
5149
5149
  return '"' + b2(e) + '"';
5150
5150
  default:
5151
5151
  throw new gn("impossible error: invalid scalar style");
@@ -5193,7 +5193,7 @@ function hc(t, e) {
5193
5193
  C(hc, "foldLine");
5194
5194
  function b2(t) {
5195
5195
  for (var e = "", n = 0, r, i = 0; i < t.length; n >= 65536 ? i += 2 : i++)
5196
- n = Ai(t, i), r = tn[n], !r && Gi(n) ? (e += t[i], n >= 65536 && (e += t[i + 1])) : e += r || s2(n);
5196
+ n = vi(t, i), r = tn[n], !r && Xi(n) ? (e += t[i], n >= 65536 && (e += t[i + 1])) : e += r || s2(n);
5197
5197
  return e;
5198
5198
  }
5199
5199
  C(b2, "escapeString");
@@ -5552,13 +5552,13 @@ var OS = "[object Null]", MS = "[object Undefined]", Tf = Do ? Do.toStringTag :
5552
5552
  function ia(t) {
5553
5553
  return t == null ? t === void 0 ? MS : OS : Tf && Tf in Object(t) ? IS(t) : DS(t);
5554
5554
  }
5555
- function si(t) {
5555
+ function oi(t) {
5556
5556
  var e = typeof t;
5557
5557
  return t != null && (e == "object" || e == "function");
5558
5558
  }
5559
5559
  var BS = "[object AsyncFunction]", PS = "[object Function]", FS = "[object GeneratorFunction]", $S = "[object Proxy]";
5560
5560
  function Ih(t) {
5561
- if (!si(t))
5561
+ if (!oi(t))
5562
5562
  return !1;
5563
5563
  var e = ia(t);
5564
5564
  return e == PS || e == FS || e == BS || e == $S;
@@ -5571,7 +5571,7 @@ function HS(t) {
5571
5571
  return !!Ef && Ef in t;
5572
5572
  }
5573
5573
  var zS = Function.prototype, US = zS.toString;
5574
- function oi(t) {
5574
+ function li(t) {
5575
5575
  if (t != null) {
5576
5576
  try {
5577
5577
  return US.call(t);
@@ -5588,19 +5588,19 @@ var jS = /[\\^$.*+?()[\]{}|]/g, WS = /^\[object .+?Constructor\]$/, qS = Functio
5588
5588
  "^" + VS.call(GS).replace(jS, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
5589
5589
  );
5590
5590
  function KS(t) {
5591
- if (!si(t) || HS(t))
5591
+ if (!oi(t) || HS(t))
5592
5592
  return !1;
5593
5593
  var e = Ih(t) ? XS : WS;
5594
- return e.test(oi(t));
5594
+ return e.test(li(t));
5595
5595
  }
5596
5596
  function QS(t, e) {
5597
5597
  return t == null ? void 0 : t[e];
5598
5598
  }
5599
- function li(t, e) {
5599
+ function ui(t, e) {
5600
5600
  var n = QS(t, e);
5601
5601
  return KS(n) ? n : void 0;
5602
5602
  }
5603
- var ns = li(Object, "create");
5603
+ var ns = ui(Object, "create");
5604
5604
  function ZS() {
5605
5605
  this.__data__ = ns ? ns(null) : {}, this.size = 0;
5606
5606
  }
@@ -5682,7 +5682,7 @@ mr.prototype.delete = dw;
5682
5682
  mr.prototype.get = fw;
5683
5683
  mr.prototype.has = pw;
5684
5684
  mr.prototype.set = mw;
5685
- var rs = li(nr, "Map");
5685
+ var rs = ui(nr, "Map");
5686
5686
  function gw() {
5687
5687
  this.size = 0, this.__data__ = {
5688
5688
  hash: new ei(),
@@ -5773,7 +5773,7 @@ aa.prototype.has = ww;
5773
5773
  aa.prototype.set = vw;
5774
5774
  var Oo = function() {
5775
5775
  try {
5776
- var t = li(Object, "defineProperty");
5776
+ var t = ui(Object, "defineProperty");
5777
5777
  return t({}, "", {}), t;
5778
5778
  } catch {
5779
5779
  }
@@ -5825,7 +5825,7 @@ var vf = Object.create, Bw = /* @__PURE__ */ function() {
5825
5825
  function t() {
5826
5826
  }
5827
5827
  return function(e) {
5828
- if (!si(e))
5828
+ if (!oi(e))
5829
5829
  return {};
5830
5830
  if (vf)
5831
5831
  return vf(e);
@@ -5947,7 +5947,7 @@ function BA(t) {
5947
5947
  }
5948
5948
  var PA = Object.prototype, FA = PA.hasOwnProperty;
5949
5949
  function $A(t) {
5950
- if (!si(t))
5950
+ if (!oi(t))
5951
5951
  return BA(t);
5952
5952
  var e = ml(t), n = [];
5953
5953
  for (var r in t)
@@ -5969,13 +5969,13 @@ function zA(t, e, n, r, i, a, s) {
5969
5969
  var c = a ? a(o, l, n + "", t, e, s) : void 0, h = c === void 0;
5970
5970
  if (h) {
5971
5971
  var f = Bo(l), d = !f && Rh(l), p = !f && !d && Dh(l);
5972
- c = l, f || d || p ? Bo(o) ? c = o : jw(o) ? c = Mw(o) : d ? (h = !1, c = Rw(l, !0)) : p ? (h = !1, c = Ow(l, !0)) : c = [] : Zw(l) || Mo(l) ? (c = o, Mo(o) ? c = HA(o) : (!si(o) || Ih(o)) && (c = Fw(l))) : h = !1;
5972
+ c = l, f || d || p ? Bo(o) ? c = o : jw(o) ? c = Mw(o) : d ? (h = !1, c = Rw(l, !0)) : p ? (h = !1, c = Ow(l, !0)) : c = [] : Zw(l) || Mo(l) ? (c = o, Mo(o) ? c = HA(o) : (!oi(o) || Ih(o)) && (c = Fw(l))) : h = !1;
5973
5973
  }
5974
5974
  h && (s.set(l, c), i(c, l, r, a, s), s.delete(l)), pc(t, n, c);
5975
5975
  }
5976
5976
  function B2(t, e, n, r, i) {
5977
5977
  t !== e && Iw(e, function(a, s) {
5978
- if (i || (i = new aa()), si(a))
5978
+ if (i || (i = new aa()), oi(a))
5979
5979
  zA(t, e, s, n, B2, r, i);
5980
5980
  else {
5981
5981
  var o = r ? r(mc(t, s), a, s + "", t, e, i) : void 0;
@@ -6040,7 +6040,7 @@ function QA(t, e) {
6040
6040
  return KA(jA(t, e, P2), t + "");
6041
6041
  }
6042
6042
  function ZA(t, e, n) {
6043
- if (!si(n))
6043
+ if (!oi(n))
6044
6044
  return !1;
6045
6045
  var r = typeof e;
6046
6046
  return (r == "number" ? gl(n) && O2(e, n.length) : r == "string" && e in n) ? dl(n[e], t) : !1;
@@ -6312,11 +6312,11 @@ var Ph = ys(
6312
6312
  return l[h];
6313
6313
  },
6314
6314
  (t, e) => `${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`
6315
- ), zi, m6 = (zi = class {
6315
+ ), Ui, m6 = (Ui = class {
6316
6316
  constructor(e = !1, n) {
6317
6317
  this.count = 0, this.count = n ? n.length : 0, this.next = e ? () => this.count++ : () => Date.now();
6318
6318
  }
6319
- }, C(zi, "InitIDGenerator"), zi), Bs, g6 = /* @__PURE__ */ C(function(t) {
6319
+ }, C(Ui, "InitIDGenerator"), Ui), Bs, g6 = /* @__PURE__ */ C(function(t) {
6320
6320
  return Bs = Bs || document.createElement("div"), t = escape(t).replace(/%26/g, "&").replace(/%23/g, "#").replace(/%3B/g, ";"), Bs.innerHTML = t, unescape(Bs.textContent);
6321
6321
  }, "entityDecode");
6322
6322
  function Fh(t) {
@@ -6373,7 +6373,7 @@ var zn = {
6373
6373
  const r = n.substring(1, n.length - 1);
6374
6374
  return /^\+?\d+$/.test(r) ? "fl°°" + r + "¶ß" : "fl°" + r + "¶ß";
6375
6375
  }), e;
6376
- }, "encodeEntities"), ui = /* @__PURE__ */ C(function(t) {
6376
+ }, "encodeEntities"), ci = /* @__PURE__ */ C(function(t) {
6377
6377
  return t.replace(/fl°°/g, "&#").replace(/fl°/g, "&").replace(/¶ß/g, ";");
6378
6378
  }, "decodeEntities"), ZH = /* @__PURE__ */ C((t, e, {
6379
6379
  counter: n = 0,
@@ -6598,9 +6598,9 @@ function F6(t, e) {
6598
6598
  function Hh() {
6599
6599
  return { async: !1, breaks: !1, extensions: null, gfm: !0, hooks: null, pedantic: !1, renderer: null, silent: !1, tokenizer: null, walkTokens: null };
6600
6600
  }
6601
- var ci = Hh();
6601
+ var hi = Hh();
6602
6602
  function G2(t) {
6603
- ci = t;
6603
+ hi = t;
6604
6604
  }
6605
6605
  var ja = { exec: () => null };
6606
6606
  function se(t, e = "") {
@@ -6682,7 +6682,7 @@ var $o = class {
6682
6682
  ae(this, "options");
6683
6683
  ae(this, "rules");
6684
6684
  ae(this, "lexer");
6685
- this.options = e || ci;
6685
+ this.options = e || hi;
6686
6686
  }
6687
6687
  space(e) {
6688
6688
  let n = this.rules.block.newline.exec(e);
@@ -6966,7 +6966,7 @@ ${h}` : h;
6966
6966
  ae(this, "state");
6967
6967
  ae(this, "tokenizer");
6968
6968
  ae(this, "inlineQueue");
6969
- this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || ci, this.options.tokenizer = this.options.tokenizer || new $o(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
6969
+ this.tokens = [], this.tokens.links = /* @__PURE__ */ Object.create(null), this.options = e || hi, this.options.tokenizer = this.options.tokenizer || new $o(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = { inLink: !1, inRawBlock: !1, top: !0 };
6970
6970
  let n = { other: on, block: Ps.normal, inline: _a.normal };
6971
6971
  this.options.pedantic ? (n.block = Ps.pedantic, n.inline = _a.pedantic) : this.options.gfm && (n.block = Ps.gfm, this.options.breaks ? n.inline = _a.breaks : n.inline = _a.gfm), this.tokenizer.rules = n;
6972
6972
  }
@@ -7171,7 +7171,7 @@ ${h}` : h;
7171
7171
  constructor(e) {
7172
7172
  ae(this, "options");
7173
7173
  ae(this, "parser");
7174
- this.options = e || ci;
7174
+ this.options = e || hi;
7175
7175
  }
7176
7176
  space(e) {
7177
7177
  return "";
@@ -7324,7 +7324,7 @@ ${e}</tr>
7324
7324
  ae(this, "options");
7325
7325
  ae(this, "renderer");
7326
7326
  ae(this, "textRenderer");
7327
- this.options = e || ci, this.options.renderer = this.options.renderer || new Ho(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Gh();
7327
+ this.options = e || hi, this.options.renderer = this.options.renderer || new Ho(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Gh();
7328
7328
  }
7329
7329
  static parse(e, n) {
7330
7330
  return new yc(n).parse(e);
@@ -7469,7 +7469,7 @@ ${e}</tr>
7469
7469
  constructor(e) {
7470
7470
  ae(this, "options");
7471
7471
  ae(this, "block");
7472
- this.options = e || ci;
7472
+ this.options = e || hi;
7473
7473
  }
7474
7474
  preprocess(e) {
7475
7475
  return e;
@@ -7658,7 +7658,7 @@ le.options = le.setOptions = function(t) {
7658
7658
  return ni.setOptions(t), le.defaults = ni.defaults, G2(le.defaults), le;
7659
7659
  };
7660
7660
  le.getDefaults = Hh;
7661
- le.defaults = ci;
7661
+ le.defaults = hi;
7662
7662
  le.use = function(...t) {
7663
7663
  return ni.use(...t), le.defaults = ni.defaults, G2(le.defaults), le;
7664
7664
  };
@@ -7862,7 +7862,7 @@ C(Cc, "applyStyle");
7862
7862
  async function p1(t, e, n, r, i = !1, a = Qe()) {
7863
7863
  const s = t.append("foreignObject");
7864
7864
  s.attr("width", `${10 * n}px`), s.attr("height", `${10 * n}px`);
7865
- const o = s.append("xhtml:div"), l = Yi(e.label) ? await ch(e.label.replace(na.lineBreakRegex, `
7865
+ const o = s.append("xhtml:div"), l = Vi(e.label) ? await ch(e.label.replace(na.lineBreakRegex, `
7866
7866
  `), a) : Rn(e.label, a), u = e.isNode ? "nodeLabel" : "edgeLabel", c = o.append("span");
7867
7867
  c.html(l), Cc(c, e.labelStyle), c.attr("class", `${u} ${r}`), Cc(o, e.labelStyle), o.style("display", "table-cell"), o.style("white-space", "nowrap"), o.style("line-height", "1.5"), o.style("max-width", n + "px"), o.style("text-align", "center"), o.attr("xmlns", "http://www.w3.org/1999/xhtml"), i && o.attr("class", "labelBkg");
7868
7868
  let h = o.node().getBoundingClientRect();
@@ -7944,9 +7944,9 @@ var Rr = /* @__PURE__ */ C(async (t, e = "", {
7944
7944
  "addSvgBackground: ",
7945
7945
  l
7946
7946
  ), a) {
7947
- const c = c1(e, u), h = await b1(ui(c), u), f = e.replace(/\\\\/g, "\\"), d = {
7947
+ const c = c1(e, u), h = await b1(ci(c), u), f = e.replace(/\\\\/g, "\\"), d = {
7948
7948
  isNode: s,
7949
- label: Yi(e) ? f : h,
7949
+ label: Vi(e) ? f : h,
7950
7950
  labelStyle: n.replace("fill:", "color:")
7951
7951
  };
7952
7952
  return await p1(t, d, o, i, l, u);
@@ -8333,10 +8333,10 @@ function C1(t, e, n, r, i, a, s, o, l, u) {
8333
8333
  p = l && p > d ? d + 120 * Math.PI / 180 * 1 : d + 120 * Math.PI / 180 * -1, f = C1(n = m + i * Math.cos(p), r = b + a * Math.sin(p), _, v, i, a, s, 0, l, [p, B, m, b]);
8334
8334
  }
8335
8335
  g = p - d;
8336
- const x = Math.cos(d), T = Math.sin(d), S = Math.cos(p), w = Math.sin(p), k = Math.tan(g / 4), L = 4 / 3 * i * k, F = 4 / 3 * a * k, D = [t, e], R = [t + L * T, e - F * x], $ = [n + L * w, r - F * S], N = [n, r];
8337
- if (R[0] = 2 * D[0] - R[0], R[1] = 2 * D[1] - R[1], u) return [R, $, N].concat(f);
8336
+ const x = Math.cos(d), T = Math.sin(d), S = Math.cos(p), w = Math.sin(p), k = Math.tan(g / 4), L = 4 / 3 * i * k, F = 4 / 3 * a * k, D = [t, e], R = [t + L * T, e - F * x], H = [n + L * w, r - F * S], N = [n, r];
8337
+ if (R[0] = 2 * D[0] - R[0], R[1] = 2 * D[1] - R[1], u) return [R, H, N].concat(f);
8338
8338
  {
8339
- f = [R, $, N].concat(f);
8339
+ f = [R, H, N].concat(f);
8340
8340
  const B = [];
8341
8341
  for (let _ = 0; _ < f.length; _ += 3) {
8342
8342
  const v = Ea(f[_][0], f[_][1], c), U = Ea(f[_ + 1][0], f[_ + 1][1], c), j = Ea(f[_ + 2][0], f[_ + 2][1], c);
@@ -8447,7 +8447,7 @@ function au(t, e) {
8447
8447
  }
8448
8448
  return { type: "fillPath", ops: n };
8449
8449
  }
8450
- function _i(t, e) {
8450
+ function Ti(t, e) {
8451
8451
  return function(n, r) {
8452
8452
  let i = n.fillStyle || "hachure";
8453
8453
  if (!dn[i]) switch (i) {
@@ -8651,7 +8651,7 @@ class qo {
8651
8651
  const s = this._o(a), o = [], l = M5(e, n, r, i, s);
8652
8652
  if (s.fill) {
8653
8653
  const u = [[e, n], [e + r, n], [e + r, n + i], [e, n + i]];
8654
- s.fillStyle === "solid" ? o.push(au([u], s)) : o.push(_i([u], s));
8654
+ s.fillStyle === "solid" ? o.push(au([u], s)) : o.push(Ti([u], s));
8655
8655
  }
8656
8656
  return s.stroke !== Cn && o.push(l), this._d("rectangle", o, s);
8657
8657
  }
@@ -8660,7 +8660,7 @@ class qo {
8660
8660
  if (s.fill) if (s.fillStyle === "solid") {
8661
8661
  const c = _c(e, n, s, l).opset;
8662
8662
  c.type = "fillPath", o.push(c);
8663
- } else o.push(_i([u.estimatedPoints], s));
8663
+ } else o.push(Ti([u.estimatedPoints], s));
8664
8664
  return s.stroke !== Cn && o.push(u.opset), this._d("ellipse", o, s);
8665
8665
  }
8666
8666
  circle(e, n, r, i) {
@@ -8686,8 +8686,8 @@ class qo {
8686
8686
  for (; L < 0; ) L += 2 * Math.PI, F += 2 * Math.PI;
8687
8687
  F - L > 2 * Math.PI && (L = 0, F = 2 * Math.PI);
8688
8688
  const D = (F - L) / x.curveStepCount, R = [];
8689
- for (let $ = L; $ <= F; $ += D) R.push([T + w * Math.cos($), S + k * Math.sin($)]);
8690
- return R.push([T + w * Math.cos(F), S + k * Math.sin(F)]), R.push([T, S]), _i([R], x);
8689
+ for (let H = L; H <= F; H += D) R.push([T + w * Math.cos(H), S + k * Math.sin(H)]);
8690
+ return R.push([T + w * Math.cos(F), S + k * Math.sin(F)]), R.push([T, S]), Ti([R], x);
8691
8691
  }(e, n, r, i, a, s, u));
8692
8692
  return u.stroke !== Cn && c.push(h), this._d("arc", c, u);
8693
8693
  }
@@ -8702,13 +8702,13 @@ class qo {
8702
8702
  const l = typeof o[0][0] == "number" ? [o] : o;
8703
8703
  for (const u of l) u.length < 3 ? s.push(...u) : u.length === 3 ? s.push(...su(Jf([u[0], u[0], u[1], u[2]]), 10, (1 + r.roughness) / 2)) : s.push(...su(Jf(u), 10, (1 + r.roughness) / 2));
8704
8704
  }
8705
- s.length && i.push(_i([s], r));
8705
+ s.length && i.push(Ti([s], r));
8706
8706
  }
8707
8707
  return r.stroke !== Cn && i.push(a), this._d("curve", i, r);
8708
8708
  }
8709
8709
  polygon(e, n) {
8710
8710
  const r = this._o(n), i = [], a = ao(e, !0, r);
8711
- return r.fill && (r.fillStyle === "solid" ? i.push(au([e], r)) : i.push(_i([e], r))), r.stroke !== Cn && i.push(a), this._d("polygon", i, r);
8711
+ return r.fill && (r.fillStyle === "solid" ? i.push(au([e], r)) : i.push(Ti([e], r))), r.stroke !== Cn && i.push(a), this._d("polygon", i, r);
8712
8712
  }
8713
8713
  path(e, n) {
8714
8714
  const r = this._o(n), i = [];
@@ -8751,7 +8751,7 @@ class qo {
8751
8751
  const c = Xf(e, Object.assign(Object.assign({}, r), { disableMultiStroke: !0, roughness: r.roughness ? r.roughness + r.fillShapeRoughnessGain : 0 }));
8752
8752
  i.push({ type: "fillPath", ops: this._mergedShape(c.ops) });
8753
8753
  } else i.push(au(l, r));
8754
- else i.push(_i(l, r));
8754
+ else i.push(Ti(l, r));
8755
8755
  return s && (o ? l.forEach((c) => {
8756
8756
  i.push(ao(c, !1, r));
8757
8757
  }) : i.push(u)), this._d("path", i, r);
@@ -8966,7 +8966,7 @@ var Lt = { canvas: (t, e) => new $5(t, e), svg: (t, e) => new H5(t, e), generato
8966
8966
  const a = t.insert("g").attr("class", r).attr("id", e.domId || e.id), s = a.insert("g").attr("class", "label").attr("style", Je(e.labelStyle));
8967
8967
  let o;
8968
8968
  e.label === void 0 ? o = "" : o = typeof e.label == "string" ? e.label : e.label[0];
8969
- const l = await Rr(s, Rn(ui(o), oe()), {
8969
+ const l = await Rr(s, Rn(ci(o), oe()), {
8970
8970
  useHtmlLabels: i,
8971
8971
  width: e.width || ((f = oe().flowchart) == null ? void 0 : f.wrappingWidth),
8972
8972
  // @ts-expect-error -- This is currently not used. Should this be `classes` instead?
@@ -9003,7 +9003,7 @@ var Lt = { canvas: (t, e) => new $5(t, e), svg: (t, e) => new H5(t, e), generato
9003
9003
  return i ? s.attr("transform", "translate(" + -u.width / 2 + ", " + -u.height / 2 + ")") : s.attr("transform", "translate(0, " + -u.height / 2 + ")"), e.centerLabel && s.attr("transform", "translate(" + -u.width / 2 + ", " + -u.height / 2 + ")"), s.insert("rect", ":first-child"), { shapeSvg: a, bbox: u, halfPadding: c, label: s };
9004
9004
  }, "labelHelper"), ou = /* @__PURE__ */ C(async (t, e, n) => {
9005
9005
  var l, u, c, h, f, d;
9006
- const r = n.useHtmlLabels || Re((u = (l = oe()) == null ? void 0 : l.flowchart) == null ? void 0 : u.htmlLabels), i = t.insert("g").attr("class", "label").attr("style", n.labelStyle || ""), a = await Rr(i, Rn(ui(e), oe()), {
9006
+ const r = n.useHtmlLabels || Re((u = (l = oe()) == null ? void 0 : l.flowchart) == null ? void 0 : u.htmlLabels), i = t.insert("g").attr("class", "label").attr("style", n.labelStyle || ""), a = await Rr(i, Rn(ci(e), oe()), {
9007
9007
  useHtmlLabels: r,
9008
9008
  width: n.width || ((h = (c = oe()) == null ? void 0 : c.flowchart) == null ? void 0 : h.wrappingWidth),
9009
9009
  style: n.labelStyle,
@@ -9054,7 +9054,7 @@ C(k1, "applyStyle");
9054
9054
  async function S1(t) {
9055
9055
  const e = ne(document.createElementNS("http://www.w3.org/2000/svg", "foreignObject")), n = e.append("xhtml:div"), r = oe();
9056
9056
  let i = t.label;
9057
- t.label && Yi(t.label) && (i = await ch(t.label.replace(na.lineBreakRegex, `
9057
+ t.label && Vi(t.label) && (i = await ch(t.label.replace(na.lineBreakRegex, `
9058
9058
  `), r));
9059
9059
  const s = '<span class="' + (t.isNode ? "nodeLabel" : "edgeLabel") + '" ' + (t.labelStyle ? 'style="' + t.labelStyle + '"' : "") + // codeql [js/html-constructed-from-input] : false positive
9060
9060
  ">" + i + "</span>";
@@ -9067,7 +9067,7 @@ var U5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9067
9067
  i = i.replace(/\\n|\n/g, "<br />"), ot.info("vertexText" + i);
9068
9068
  const a = {
9069
9069
  isNode: r,
9070
- label: ui(i).replace(
9070
+ label: ci(i).replace(
9071
9071
  /fa[blrs]?:fa-[\w-]+/g,
9072
9072
  (o) => `<i class='${o.replace(":", " ")}'></i>`
9073
9073
  ),
@@ -9205,21 +9205,21 @@ var U5 = /* @__PURE__ */ C(async (t, e, n, r) => {
9205
9205
  const k = e.y - e.height / 2 - b + p.height + 2;
9206
9206
  let L;
9207
9207
  if (e.look === "handDrawn") {
9208
- const D = e.cssClasses.includes("statediagram-cluster-alt"), R = Lt.svg(u), $ = e.rx || e.ry ? R.path(Dr(S, w, g, x, 10), {
9208
+ const D = e.cssClasses.includes("statediagram-cluster-alt"), R = Lt.svg(u), H = e.rx || e.ry ? R.path(Dr(S, w, g, x, 10), {
9209
9209
  roughness: 0.7,
9210
9210
  fill: o,
9211
9211
  fillStyle: "solid",
9212
9212
  stroke: l,
9213
9213
  seed: i
9214
9214
  }) : R.rectangle(S, w, g, x, { seed: i });
9215
- L = u.insert(() => $, ":first-child");
9215
+ L = u.insert(() => H, ":first-child");
9216
9216
  const N = R.rectangle(S, k, g, T, {
9217
9217
  fill: D ? a : s,
9218
9218
  fillStyle: D ? "hachure" : "solid",
9219
9219
  stroke: l,
9220
9220
  seed: i
9221
9221
  });
9222
- L = u.insert(() => $, ":first-child"), f = u.insert(() => N);
9222
+ L = u.insert(() => H, ":first-child"), f = u.insert(() => N);
9223
9223
  } else
9224
9224
  L = c.insert("rect", ":first-child"), L.attr("class", "outer").attr("x", S).attr("y", w).attr("width", g).attr("height", x).attr("data-look", e.look), f.attr("class", "inner").attr("x", S).attr("y", k).attr("width", g).attr("height", T);
9225
9225
  h.attr(
@@ -9401,8 +9401,8 @@ function Sc(t, e, n, r, i, a, s) {
9401
9401
  s && w < 0 && (w += 2 * Math.PI), !s && w > 0 && (w -= 2 * Math.PI);
9402
9402
  const k = [];
9403
9403
  for (let L = 0; L < 20; L++) {
9404
- const F = L / 19, D = T + F * w, R = g + i * Math.cos(D), $ = x + a * Math.sin(D);
9405
- k.push({ x: R, y: $ });
9404
+ const F = L / 19, D = T + F * w, R = g + i * Math.cos(D), H = x + a * Math.sin(D);
9405
+ k.push({ x: R, y: H });
9406
9406
  }
9407
9407
  return k;
9408
9408
  }
@@ -9863,7 +9863,7 @@ async function J1(t, e, { config: { themeVariables: n, flowchart: r } }) {
9863
9863
  ...w,
9864
9864
  fill: "transparent",
9865
9865
  stroke: "none"
9866
- }), R = u.insert(() => k, ":first-child"), $ = u.insert(() => D);
9866
+ }), R = u.insert(() => k, ":first-child"), H = u.insert(() => D);
9867
9867
  if (e.icon) {
9868
9868
  const N = u.append("g");
9869
9869
  N.html(
@@ -9885,7 +9885,7 @@ async function J1(t, e, { config: { themeVariables: n, flowchart: r } }) {
9885
9885
  ), R.attr(
9886
9886
  "transform",
9887
9887
  `translate(0,${f ? c.height / 2 + T / 2 : -c.height / 2 - T / 2})`
9888
- ), Dt(e, $), e.intersect = function(N) {
9888
+ ), Dt(e, H), e.intersect = function(N) {
9889
9889
  if (ot.info("iconSquare intersect", e, N), !e.label)
9890
9890
  return kt.rect(e, N);
9891
9891
  const B = e.x ?? 0, _ = e.y ?? 0, v = e.height ?? 0;
@@ -9929,7 +9929,7 @@ async function tb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9929
9929
  fallbackPrefix: ""
9930
9930
  })}</g>`
9931
9931
  );
9932
- const k = w.node().getBBox(), L = k.width, F = k.height, D = k.x, R = k.y, $ = Math.max(L, F) * Math.SQRT2 + f * 2, N = x.circle(0, 0, $, T), B = Math.max($, c.width), _ = $ + c.height + d, v = x.rectangle(-B / 2, -_ / 2, B, _, {
9932
+ const k = w.node().getBBox(), L = k.width, F = k.height, D = k.x, R = k.y, H = Math.max(L, F) * Math.SQRT2 + f * 2, N = x.circle(0, 0, H, T), B = Math.max(H, c.width), _ = H + c.height + d, v = x.rectangle(-B / 2, -_ / 2, B, _, {
9933
9933
  ...T,
9934
9934
  fill: "transparent",
9935
9935
  stroke: "none"
@@ -9961,7 +9961,7 @@ async function eb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9961
9961
  e.look !== "handDrawn" && (L.roughness = 0, L.fillStyle = "solid");
9962
9962
  const F = x.get("fill");
9963
9963
  L.stroke = F ?? g;
9964
- const D = k.path(Dr(T, S, m, p, 5), L), R = Math.max(m, c.width), $ = p + c.height + w, N = k.rectangle(-R / 2, -$ / 2, R, $, {
9964
+ const D = k.path(Dr(T, S, m, p, 5), L), R = Math.max(m, c.width), H = p + c.height + w, N = k.rectangle(-R / 2, -H / 2, R, H, {
9965
9965
  ...L,
9966
9966
  fill: "transparent",
9967
9967
  stroke: "none"
@@ -9983,7 +9983,7 @@ async function eb(t, e, { config: { themeVariables: n, flowchart: r } }) {
9983
9983
  }
9984
9984
  return f.attr(
9985
9985
  "transform",
9986
- `translate(${-c.width / 2 - (c.x - (c.left ?? 0))},${d ? -$ / 2 : $ / 2 - c.height})`
9986
+ `translate(${-c.width / 2 - (c.x - (c.left ?? 0))},${d ? -H / 2 : H / 2 - c.height})`
9987
9987
  ), B.attr(
9988
9988
  "transform",
9989
9989
  `translate(0,${d ? c.height / 2 + w / 2 : -c.height / 2 - w / 2})`
@@ -10027,7 +10027,7 @@ async function nb(t, e, { config: { themeVariables: n, flowchart: r } }) {
10027
10027
  e.look !== "handDrawn" && (L.roughness = 0, L.fillStyle = "solid");
10028
10028
  const F = x.get("fill");
10029
10029
  L.stroke = F ?? g;
10030
- const D = k.path(Dr(T, S, m, p, 0.1), L), R = Math.max(m, c.width), $ = p + c.height + w, N = k.rectangle(-R / 2, -$ / 2, R, $, {
10030
+ const D = k.path(Dr(T, S, m, p, 0.1), L), R = Math.max(m, c.width), H = p + c.height + w, N = k.rectangle(-R / 2, -H / 2, R, H, {
10031
10031
  ...L,
10032
10032
  fill: "transparent",
10033
10033
  stroke: "none"
@@ -10049,7 +10049,7 @@ async function nb(t, e, { config: { themeVariables: n, flowchart: r } }) {
10049
10049
  }
10050
10050
  return f.attr(
10051
10051
  "transform",
10052
- `translate(${-c.width / 2 - (c.x - (c.left ?? 0))},${d ? -$ / 2 : $ / 2 - c.height})`
10052
+ `translate(${-c.width / 2 - (c.x - (c.left ?? 0))},${d ? -H / 2 : H / 2 - c.height})`
10053
10053
  ), B.attr(
10054
10054
  "transform",
10055
10055
  `translate(0,${d ? c.height / 2 + w / 2 : -c.height / 2 - w / 2})`
@@ -10117,26 +10117,26 @@ async function rb(t, e, { config: { flowchart: n } }) {
10117
10117
  ), Dt(e, D), e.intersect = function(R) {
10118
10118
  if (ot.info("iconSquare intersect", e, R), !e.label)
10119
10119
  return kt.rect(e, R);
10120
- const $ = e.x ?? 0, N = e.y ?? 0, B = e.height ?? 0;
10120
+ const H = e.x ?? 0, N = e.y ?? 0, B = e.height ?? 0;
10121
10121
  let _ = [];
10122
10122
  return p ? _ = [
10123
- { x: $ - f.width / 2, y: N - B / 2 },
10124
- { x: $ + f.width / 2, y: N - B / 2 },
10125
- { x: $ + f.width / 2, y: N - B / 2 + f.height + g },
10126
- { x: $ + u / 2, y: N - B / 2 + f.height + g },
10127
- { x: $ + u / 2, y: N + B / 2 },
10128
- { x: $ - u / 2, y: N + B / 2 },
10129
- { x: $ - u / 2, y: N - B / 2 + f.height + g },
10130
- { x: $ - f.width / 2, y: N - B / 2 + f.height + g }
10123
+ { x: H - f.width / 2, y: N - B / 2 },
10124
+ { x: H + f.width / 2, y: N - B / 2 },
10125
+ { x: H + f.width / 2, y: N - B / 2 + f.height + g },
10126
+ { x: H + u / 2, y: N - B / 2 + f.height + g },
10127
+ { x: H + u / 2, y: N + B / 2 },
10128
+ { x: H - u / 2, y: N + B / 2 },
10129
+ { x: H - u / 2, y: N - B / 2 + f.height + g },
10130
+ { x: H - f.width / 2, y: N - B / 2 + f.height + g }
10131
10131
  ] : _ = [
10132
- { x: $ - u / 2, y: N - B / 2 },
10133
- { x: $ + u / 2, y: N - B / 2 },
10134
- { x: $ + u / 2, y: N - B / 2 + c },
10135
- { x: $ + f.width / 2, y: N - B / 2 + c },
10136
- { x: $ + f.width / 2 / 2, y: N + B / 2 },
10137
- { x: $ - f.width / 2, y: N + B / 2 },
10138
- { x: $ - f.width / 2, y: N - B / 2 + c },
10139
- { x: $ - u / 2, y: N - B / 2 + c }
10132
+ { x: H - u / 2, y: N - B / 2 },
10133
+ { x: H + u / 2, y: N - B / 2 },
10134
+ { x: H + u / 2, y: N - B / 2 + c },
10135
+ { x: H + f.width / 2, y: N - B / 2 + c },
10136
+ { x: H + f.width / 2 / 2, y: N + B / 2 },
10137
+ { x: H - f.width / 2, y: N + B / 2 },
10138
+ { x: H - f.width / 2, y: N - B / 2 + c },
10139
+ { x: H - u / 2, y: N - B / 2 + c }
10140
10140
  ], kt.polygon(e, _, R);
10141
10141
  }, h;
10142
10142
  }
@@ -10486,8 +10486,8 @@ async function gb(t, e) {
10486
10486
  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));
10487
10487
  let h = { width: 0, height: 0 };
10488
10488
  if (Re((D = (F = oe()) == null ? void 0 : F.flowchart) == null ? void 0 : D.htmlLabels)) {
10489
- const R = c.children[0], $ = ne(c);
10490
- h = R.getBoundingClientRect(), $.attr("width", h.width), $.attr("height", h.height);
10489
+ const R = c.children[0], H = ne(c);
10490
+ h = R.getBoundingClientRect(), H.attr("width", h.width), H.attr("height", h.height);
10491
10491
  }
10492
10492
  ot.info("Text 2", l);
10493
10493
  const f = l || [], d = c.getBBox(), p = o.node().appendChild(
@@ -10513,15 +10513,15 @@ async function gb(t, e) {
10513
10513
  const x = h.width + (e.padding || 0), T = h.height + (e.padding || 0), S = -h.width / 2 - g, w = -h.height / 2 - g;
10514
10514
  let k, L;
10515
10515
  if (e.look === "handDrawn") {
10516
- const R = Lt.svg(a), $ = It(e, {}), N = R.path(
10516
+ const R = Lt.svg(a), H = It(e, {}), N = R.path(
10517
10517
  Dr(S, w, x, T, e.rx || 0),
10518
- $
10518
+ H
10519
10519
  ), B = R.line(
10520
10520
  -h.width / 2 - g,
10521
10521
  -h.height / 2 - g + d.height + g,
10522
10522
  h.width / 2 + g,
10523
10523
  -h.height / 2 - g + d.height + g,
10524
- $
10524
+ H
10525
10525
  );
10526
10526
  L = a.insert(() => (ot.debug("Rough node insert CXC", N), B), ":first-child"), k = a.insert(() => (ot.debug("Rough node insert CXC", N), N), ":first-child");
10527
10527
  } else
@@ -10540,8 +10540,8 @@ function Da(t, e, n, r, i, a, s) {
10540
10540
  s && w < 0 && (w += 2 * Math.PI), !s && w > 0 && (w -= 2 * Math.PI);
10541
10541
  const k = [];
10542
10542
  for (let L = 0; L < 20; L++) {
10543
- const F = L / 19, D = T + F * w, R = g + i * Math.cos(D), $ = x + a * Math.sin(D);
10544
- k.push({ x: R, y: $ });
10543
+ const F = L / 19, D = T + F * w, R = g + i * Math.cos(D), H = x + a * Math.sin(D);
10544
+ k.push({ x: R, y: H });
10545
10545
  }
10546
10546
  return k;
10547
10547
  }
@@ -11001,13 +11001,13 @@ async function Jh(t, e) {
11001
11001
  r.htmlLabels || (i *= 1.25, a *= 1.25);
11002
11002
  let u = $t(e);
11003
11003
  u || (u = "node default");
11004
- const c = t.insert("g").attr("class", u).attr("id", e.domId || e.id), h = await ki(c, e.label ?? "", r, 0, 0, ["name"], o);
11004
+ const c = t.insert("g").attr("class", u).attr("id", e.domId || e.id), h = await Si(c, e.label ?? "", r, 0, 0, ["name"], o);
11005
11005
  h.height += a;
11006
11006
  let f = 0;
11007
11007
  const d = [], p = [];
11008
11008
  let m = 0, b = 0, g = 0, x = 0, T = !0, S = !0;
11009
11009
  for (const yt of n.attributes) {
11010
- const At = await ki(
11010
+ const At = await Si(
11011
11011
  c,
11012
11012
  yt.type,
11013
11013
  r,
@@ -11017,7 +11017,7 @@ async function Jh(t, e) {
11017
11017
  o
11018
11018
  );
11019
11019
  m = Math.max(m, At.width + i);
11020
- const Et = await ki(
11020
+ const Et = await Si(
11021
11021
  c,
11022
11022
  yt.name,
11023
11023
  r,
@@ -11027,7 +11027,7 @@ async function Jh(t, e) {
11027
11027
  o
11028
11028
  );
11029
11029
  b = Math.max(b, Et.width + i);
11030
- const wt = await ki(
11030
+ const wt = await Si(
11031
11031
  c,
11032
11032
  yt.keys.join(),
11033
11033
  r,
@@ -11037,7 +11037,7 @@ async function Jh(t, e) {
11037
11037
  o
11038
11038
  );
11039
11039
  g = Math.max(g, wt.width + i);
11040
- const Ft = await ki(
11040
+ const Ft = await Si(
11041
11041
  c,
11042
11042
  yt.comment,
11043
11043
  r,
@@ -11061,7 +11061,7 @@ async function Jh(t, e) {
11061
11061
  e.look !== "handDrawn" && (D.roughness = 0, D.fillStyle = "solid");
11062
11062
  let R = 0;
11063
11063
  p.length > 0 && (R = p.reduce((yt, At) => yt + ((At == null ? void 0 : At.rowHeight) ?? 0), 0));
11064
- const $ = Math.max(k.width + i * 2, (e == null ? void 0 : e.width) || 0, L), N = Math.max((R ?? 0) + h.height, (e == null ? void 0 : e.height) || 0), B = -$ / 2, _ = -N / 2;
11064
+ const H = Math.max(k.width + i * 2, (e == null ? void 0 : e.width) || 0, L), N = Math.max((R ?? 0) + h.height, (e == null ? void 0 : e.height) || 0), B = -H / 2, _ = -N / 2;
11065
11065
  c.selectAll("g:not(:first-child)").each((yt, At, Et) => {
11066
11066
  const wt = ne(Et[At]), Ft = wt.attr("transform");
11067
11067
  let Ht = 0, ie = 0;
@@ -11074,17 +11074,17 @@ async function Jh(t, e) {
11074
11074
  `translate(${B + i / 2 + Ht}, ${ie + _ + h.height + a / 2})`
11075
11075
  );
11076
11076
  }), c.select(".name").attr("transform", "translate(" + -h.width / 2 + ", " + (_ + a / 2) + ")");
11077
- const v = F.rectangle(B, _, $, N, D), U = c.insert(() => v, ":first-child").attr("style", s.join("")), { themeVariables: j } = Qe(), { rowEven: Y, rowOdd: K, nodeBorder: I } = j;
11077
+ const v = F.rectangle(B, _, H, N, D), U = c.insert(() => v, ":first-child").attr("style", s.join("")), { themeVariables: j } = Qe(), { rowEven: Y, rowOdd: K, nodeBorder: I } = j;
11078
11078
  d.push(0);
11079
11079
  for (const [yt, At] of p.entries()) {
11080
- const wt = (yt + 1) % 2 === 0 && At.yOffset !== 0, Ft = F.rectangle(B, h.height + _ + (At == null ? void 0 : At.yOffset), $, At == null ? void 0 : At.rowHeight, {
11080
+ const wt = (yt + 1) % 2 === 0 && At.yOffset !== 0, Ft = F.rectangle(B, h.height + _ + (At == null ? void 0 : At.yOffset), H, At == null ? void 0 : At.rowHeight, {
11081
11081
  ...D,
11082
11082
  fill: wt ? Y : K,
11083
11083
  stroke: I
11084
11084
  });
11085
11085
  c.insert(() => Ft, "g.label").attr("style", s.join("")).attr("class", `row-rect-${wt ? "even" : "odd"}`);
11086
11086
  }
11087
- let q = F.line(B, h.height + _, $ + B, h.height + _, D);
11087
+ let q = F.line(B, h.height + _, H + B, h.height + _, D);
11088
11088
  c.insert(() => q).attr("class", "divider"), q = F.line(m + B, h.height + _, m + B, N + _, D), c.insert(() => q).attr("class", "divider"), T && (q = F.line(
11089
11089
  m + b + B,
11090
11090
  h.height + _,
@@ -11102,7 +11102,7 @@ async function Jh(t, e) {
11102
11102
  q = F.line(
11103
11103
  B,
11104
11104
  h.height + _ + yt,
11105
- $ + B,
11105
+ H + B,
11106
11106
  h.height + _ + yt,
11107
11107
  D
11108
11108
  ), c.insert(() => q).attr("class", "divider");
@@ -11115,7 +11115,7 @@ async function Jh(t, e) {
11115
11115
  }, c;
11116
11116
  }
11117
11117
  C(Jh, "erBox");
11118
- async function ki(t, e, n, r = 0, i = 0, a = [], s = "") {
11118
+ async function Si(t, e, n, r = 0, i = 0, a = [], s = "") {
11119
11119
  const o = t.insert("g").attr("class", `label ${a.join(" ")}`).attr("transform", `translate(${r}, ${i})`).attr("style", s);
11120
11120
  e !== uf(e) && (e = uf(e), e = e.replaceAll("<", "&lt;").replaceAll(">", "&gt;"));
11121
11121
  const l = o.node().appendChild(
@@ -11144,7 +11144,7 @@ async function ki(t, e, n, r = 0, i = 0, a = [], s = "") {
11144
11144
  }
11145
11145
  return u;
11146
11146
  }
11147
- C(ki, "addText");
11147
+ C(Si, "addText");
11148
11148
  async function Bb(t, e, n, r, i = n.class.padding ?? 12) {
11149
11149
  const a = r ? 0 : 3, s = t.insert("g").attr("class", $t(e)).attr("id", e.domId || e.id);
11150
11150
  let o = null, l = null, u = null, c = null, h = 0, f = 0, d = 0;
@@ -11183,10 +11183,10 @@ C(Bb, "textHelper");
11183
11183
  async function Oa(t, e, n, r = []) {
11184
11184
  const i = t.insert("g").attr("class", "label").attr("style", r.join("; ")), a = Qe();
11185
11185
  let s = "useHtmlLabels" in e ? e.useHtmlLabels : Re(a.htmlLabels) ?? !0, o = "";
11186
- "text" in e ? o = e.text : o = e.label, !s && o.startsWith("\\") && (o = o.substring(1)), Yi(o) && (s = !0);
11186
+ "text" in e ? o = e.text : o = e.label, !s && o.startsWith("\\") && (o = o.substring(1)), Vi(o) && (s = !0);
11187
11187
  const l = await Rr(
11188
11188
  i,
11189
- mh(ui(o)),
11189
+ mh(ci(o)),
11190
11190
  {
11191
11191
  width: pr(o, a) + 50,
11192
11192
  // Add room for error when splitting text into multiple lines
@@ -11252,7 +11252,7 @@ async function Pb(t, e) {
11252
11252
  ), S = o.insert(() => T, ":first-child");
11253
11253
  S.attr("class", "basic label-container");
11254
11254
  const w = S.node().getBBox();
11255
- o.selectAll(".text").each(($, N, B) => {
11255
+ o.selectAll(".text").each((H, N, B) => {
11256
11256
  var K;
11257
11257
  const _ = ne(B[N]), v = _.attr("transform");
11258
11258
  let U = 0;
@@ -11269,40 +11269,40 @@ async function Pb(t, e) {
11269
11269
  });
11270
11270
  const k = o.select(".annotation-group").node().getBBox().height - (f ? r / 2 : 0) || 0, L = o.select(".label-group").node().getBBox().height - (f ? r / 2 : 0) || 0, F = o.select(".members-group").node().getBBox().height - (f ? r / 2 : 0) || 0;
11271
11271
  if (s.members.length > 0 || s.methods.length > 0 || f) {
11272
- const $ = d.line(
11272
+ const H = d.line(
11273
11273
  w.x,
11274
11274
  k + L + x + r,
11275
11275
  w.x + w.width,
11276
11276
  k + L + x + r,
11277
11277
  p
11278
11278
  );
11279
- o.insert(() => $).attr("class", "divider").attr("style", h);
11279
+ o.insert(() => H).attr("class", "divider").attr("style", h);
11280
11280
  }
11281
11281
  if (f || s.members.length > 0 || s.methods.length > 0) {
11282
- const $ = d.line(
11282
+ const H = d.line(
11283
11283
  w.x,
11284
11284
  k + L + F + x + i * 2 + r,
11285
11285
  w.x + w.width,
11286
11286
  k + L + F + x + r + i * 2,
11287
11287
  p
11288
11288
  );
11289
- o.insert(() => $).attr("class", "divider").attr("style", h);
11289
+ o.insert(() => H).attr("class", "divider").attr("style", h);
11290
11290
  }
11291
11291
  if (s.look !== "handDrawn" && o.selectAll("path").attr("style", h), S.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) {
11292
- const $ = RegExp(/color\s*:\s*([^;]*)/), N = $.exec(h);
11292
+ const H = RegExp(/color\s*:\s*([^;]*)/), N = H.exec(h);
11293
11293
  if (N) {
11294
11294
  const B = N[0].replace("color", "fill");
11295
11295
  o.selectAll("tspan").attr("style", B);
11296
11296
  } else if (u) {
11297
- const B = $.exec(u);
11297
+ const B = H.exec(u);
11298
11298
  if (B) {
11299
11299
  const _ = B[0].replace("color", "fill");
11300
11300
  o.selectAll("tspan").attr("style", _);
11301
11301
  }
11302
11302
  }
11303
11303
  }
11304
- return Dt(e, S), e.intersect = function($) {
11305
- return kt.rect(e, $);
11304
+ return Dt(e, S), e.intersect = function(H) {
11305
+ return kt.rect(e, H);
11306
11306
  }, o;
11307
11307
  }
11308
11308
  C(Pb, "classBox");
@@ -11370,7 +11370,7 @@ async function Fb(t, e) {
11370
11370
  e.look !== "handDrawn" && (T.roughness = 0, T.fillStyle = "solid");
11371
11371
  const S = x.rectangle(b, g, p, m, T), w = c.insert(() => S, ":first-child");
11372
11372
  if (w.attr("class", "basic label-container").attr("style", r), c.selectAll(".label").each((F, D, R) => {
11373
- const $ = ne(R[D]), N = $.attr("transform");
11373
+ const H = ne(R[D]), N = H.attr("transform");
11374
11374
  let B = 0, _ = 0;
11375
11375
  if (N) {
11376
11376
  const Y = RegExp(/translate\(([^,]+),([^)]+)\)/).exec(N);
@@ -11378,7 +11378,7 @@ async function Fb(t, e) {
11378
11378
  }
11379
11379
  const v = _ - m / 2;
11380
11380
  let U = b + s / 2;
11381
- (D === 0 || D === 1) && (U = B), $.attr("transform", `translate(${U}, ${v + s})`);
11381
+ (D === 0 || D === 1) && (U = B), H.attr("transform", `translate(${U}, ${v + s})`);
11382
11382
  }), f > h + d + o) {
11383
11383
  const F = x.line(
11384
11384
  b,
@@ -11399,7 +11399,7 @@ async function Xn(t, e, n, r = "") {
11399
11399
  return 0;
11400
11400
  const i = t.insert("g").attr("class", "label").attr("style", r), a = oe(), s = a.htmlLabels ?? !0, o = await Rr(
11401
11401
  i,
11402
- mh(ui(e)),
11402
+ mh(ci(e)),
11403
11403
  {
11404
11404
  width: pr(e, a) + 50,
11405
11405
  // Add room for error when splitting text into multiple lines
@@ -11485,10 +11485,10 @@ async function $b(t, e, { config: n }) {
11485
11485
  "translate(" + (c + T / 2 - g.width - 2 * a) + ", " + (-S + l.height / 2) + ")"
11486
11486
  );
11487
11487
  let F;
11488
- const { rx: D, ry: R } = e, { cssStyles: $ } = e;
11488
+ const { rx: D, ry: R } = e, { cssStyles: H } = e;
11489
11489
  if (e.look === "handDrawn") {
11490
11490
  const _ = Lt.svg(o), v = It(e, {}), U = D || R ? _.path(Dr(k, L, T, w, D || 0), v) : _.rectangle(k, L, T, w, v);
11491
- F = o.insert(() => U, ":first-child"), F.attr("class", "basic label-container").attr("style", $ || null);
11491
+ F = o.insert(() => U, ":first-child"), F.attr("class", "basic label-container").attr("style", H || null);
11492
11492
  } else {
11493
11493
  F = o.insert("rect", ":first-child"), F.attr("class", "basic label-container __APA__").attr("style", i).attr("rx", D ?? 5).attr("ry", R ?? 5).attr("x", k).attr("y", L).attr("width", T).attr("height", w);
11494
11494
  const _ = "priority" in e && e.priority;
@@ -12443,7 +12443,7 @@ var n0 = /* @__PURE__ */ C(function(t, e, n) {
12443
12443
  });
12444
12444
  let R = "";
12445
12445
  (oe().flowchart.arrowMarkerAbsolute || oe().state.arrowMarkerAbsolute) && (R = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, R = R.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), ot.info("arrowTypeStart", e.arrowTypeStart), ot.info("arrowTypeEnd", e.arrowTypeEnd), pv(w, e, R, s, r, F);
12446
- const $ = Math.floor(u.length / 2), N = u[$];
12446
+ const H = Math.floor(u.length / 2), N = u[H];
12447
12447
  zn.isLabelCoordinateInPath(N, w.attr("d")) || (c = !0);
12448
12448
  let B = {};
12449
12449
  return c && (B.updatedPath = u), B.originalPath = e.points, B;
@@ -12612,10 +12612,10 @@ function oo(t, e, n) {
12612
12612
  function Vv(t, e, n) {
12613
12613
  return t.indexOf(e, n);
12614
12614
  }
12615
- function Ii(t, e) {
12615
+ function Ni(t, e) {
12616
12616
  return t.charCodeAt(e) | 0;
12617
12617
  }
12618
- function Xi(t, e, n) {
12618
+ function Ki(t, e, n) {
12619
12619
  return t.slice(e, n);
12620
12620
  }
12621
12621
  function Qn(t) {
@@ -12627,27 +12627,27 @@ function Gv(t) {
12627
12627
  function Us(t, e) {
12628
12628
  return e.push(t), t;
12629
12629
  }
12630
- var Sl = 1, Ki = 1, ey = 0, Dn = 0, Le = 0, oa = "";
12630
+ var Sl = 1, Qi = 1, ey = 0, Dn = 0, Le = 0, oa = "";
12631
12631
  function ed(t, e, n, r, i, a, s, o) {
12632
- return { value: t, root: e, parent: n, type: r, props: i, children: a, line: Sl, column: Ki, length: s, return: "", siblings: o };
12632
+ return { value: t, root: e, parent: n, type: r, props: i, children: a, line: Sl, column: Qi, length: s, return: "", siblings: o };
12633
12633
  }
12634
12634
  function Xv() {
12635
12635
  return Le;
12636
12636
  }
12637
12637
  function Kv() {
12638
- return Le = Dn > 0 ? Ii(oa, --Dn) : 0, Ki--, Le === 10 && (Ki = 1, Sl--), Le;
12638
+ return Le = Dn > 0 ? Ni(oa, --Dn) : 0, Qi--, Le === 10 && (Qi = 1, Sl--), Le;
12639
12639
  }
12640
12640
  function jn() {
12641
- return Le = Dn < ey ? Ii(oa, Dn++) : 0, Ki++, Le === 10 && (Ki = 1, Sl++), Le;
12641
+ return Le = Dn < ey ? Ni(oa, Dn++) : 0, Qi++, Le === 10 && (Qi = 1, Sl++), Le;
12642
12642
  }
12643
12643
  function Tr() {
12644
- return Ii(oa, Dn);
12644
+ return Ni(oa, Dn);
12645
12645
  }
12646
12646
  function lo() {
12647
12647
  return Dn;
12648
12648
  }
12649
12649
  function wl(t, e) {
12650
- return Xi(oa, t, e);
12650
+ return Ki(oa, t, e);
12651
12651
  }
12652
12652
  function ss(t) {
12653
12653
  switch (t) {
@@ -12682,7 +12682,7 @@ function ss(t) {
12682
12682
  return 0;
12683
12683
  }
12684
12684
  function Qv(t) {
12685
- return Sl = Ki = 1, ey = Qn(oa = t), Dn = 0, [];
12685
+ return Sl = Qi = 1, ey = Qn(oa = t), Dn = 0, [];
12686
12686
  }
12687
12687
  function Zv(t) {
12688
12688
  return oa = "", t;
@@ -12736,7 +12736,7 @@ function uo(t, e, n, r, i, a, s, o, l) {
12736
12736
  for (var u = 0, c = 0, h = s, f = 0, d = 0, p = 0, m = 1, b = 1, g = 1, x = 0, T = "", S = i, w = a, k = r, L = T; b; )
12737
12737
  switch (p = x, x = jn()) {
12738
12738
  case 40:
12739
- if (p != 108 && Ii(L, h - 1) == 58) {
12739
+ if (p != 108 && Ni(L, h - 1) == 58) {
12740
12740
  Vv(L += oo(lu(x), "&", "&\f"), "&\f", Jb(u ? o[u - 1] : 0)) != -1 && (g = -1);
12741
12741
  break;
12742
12742
  }
@@ -12758,7 +12758,7 @@ function uo(t, e, n, r, i, a, s, o, l) {
12758
12758
  switch (Tr()) {
12759
12759
  case 42:
12760
12760
  case 47:
12761
- Us(i4(e4(jn(), lo()), e, n, l), l), (ss(p || 1) == 5 || ss(Tr() || 1) == 5) && Qn(L) && Xi(L, -1, void 0) !== " " && (L += " ");
12761
+ Us(i4(e4(jn(), lo()), e, n, l), l), (ss(p || 1) == 5 || ss(Tr() || 1) == 5) && Qn(L) && Ki(L, -1, void 0) !== " " && (L += " ");
12762
12762
  break;
12763
12763
  default:
12764
12764
  L += "/";
@@ -12785,9 +12785,9 @@ function uo(t, e, n, r, i, a, s, o, l) {
12785
12785
  else {
12786
12786
  switch (f) {
12787
12787
  case 99:
12788
- if (Ii(L, 3) === 110) break;
12788
+ if (Ni(L, 3) === 110) break;
12789
12789
  case 108:
12790
- if (Ii(L, 2) === 97) break;
12790
+ if (Ni(L, 2) === 97) break;
12791
12791
  default:
12792
12792
  c = 0;
12793
12793
  case 100:
@@ -12826,15 +12826,15 @@ function uo(t, e, n, r, i, a, s, o, l) {
12826
12826
  }
12827
12827
  function r0(t, e, n, r, i, a, s, o, l, u, c, h) {
12828
12828
  for (var f = i - 1, d = i === 0 ? a : [""], p = Gv(d), m = 0, b = 0, g = 0; m < r; ++m)
12829
- for (var x = 0, T = Xi(t, f + 1, f = Jb(b = s[m])), S = t; x < p; ++x)
12829
+ for (var x = 0, T = Ki(t, f + 1, f = Jb(b = s[m])), S = t; x < p; ++x)
12830
12830
  (S = ty(b > 0 ? d[x] + " " + T : oo(T, /&\f/g, d[x]))) && (l[g++] = S);
12831
12831
  return ed(t, e, n, i === 0 ? Qb : o, l, u, c, h);
12832
12832
  }
12833
12833
  function i4(t, e, n, r) {
12834
- return ed(t, e, n, Kb, td(Xv()), Xi(t, 2, -2), 0, r);
12834
+ return ed(t, e, n, Kb, td(Xv()), Ki(t, 2, -2), 0, r);
12835
12835
  }
12836
12836
  function i0(t, e, n, r, i) {
12837
- return ed(t, e, n, Zb, Xi(t, 0, r), Xi(t, r + 1, -1), r, i);
12837
+ return ed(t, e, n, Zb, Ki(t, 0, r), Ki(t, r + 1, -1), r, i);
12838
12838
  }
12839
12839
  function vc(t, e) {
12840
12840
  for (var n = "", r = 0; r < t.length; r++)
@@ -12867,9 +12867,9 @@ function u4(t) {
12867
12867
  l4.call(t, n) && n != "constructor" && e.push(n);
12868
12868
  return e;
12869
12869
  }
12870
- var Lc = li(nr, "DataView"), Ic = li(nr, "Promise"), Nc = li(nr, "Set"), Rc = li(nr, "WeakMap"), a0 = "[object Map]", c4 = "[object Object]", s0 = "[object Promise]", o0 = "[object Set]", l0 = "[object WeakMap]", u0 = "[object DataView]", h4 = oi(Lc), d4 = oi(rs), f4 = oi(Ic), p4 = oi(Nc), m4 = oi(Rc), Ur = ia;
12870
+ var Lc = ui(nr, "DataView"), Ic = ui(nr, "Promise"), Nc = ui(nr, "Set"), Rc = ui(nr, "WeakMap"), a0 = "[object Map]", c4 = "[object Object]", s0 = "[object Promise]", o0 = "[object Set]", l0 = "[object WeakMap]", u0 = "[object DataView]", h4 = li(Lc), d4 = li(rs), f4 = li(Ic), p4 = li(Nc), m4 = li(Rc), Ur = ia;
12871
12871
  (Lc && Ur(new Lc(new ArrayBuffer(1))) != u0 || rs && Ur(new rs()) != a0 || Ic && Ur(Ic.resolve()) != s0 || Nc && Ur(new Nc()) != o0 || Rc && Ur(new Rc()) != l0) && (Ur = function(t) {
12872
- var e = ia(t), n = e == c4 ? t.constructor : void 0, r = n ? oi(n) : "";
12872
+ var e = ia(t), n = e == c4 ? t.constructor : void 0, r = n ? li(n) : "";
12873
12873
  if (r)
12874
12874
  switch (r) {
12875
12875
  case h4:
@@ -13367,7 +13367,7 @@ ${t.themeCSS}`), t.fontFamily !== void 0 && (n += `
13367
13367
  return !n && !e && (r = r.replace(
13368
13368
  /marker-end="url\([\d+./:=?A-Za-z-]*?#/g,
13369
13369
  'marker-end="url(#'
13370
- )), r = ui(r), r = r.replace(/<br>/g, "<br/>"), r;
13370
+ )), r = ci(r), r = r.replace(/<br>/g, "<br/>"), r;
13371
13371
  }, "cleanUpSvgCode"), WL = /* @__PURE__ */ C((t = "", e) => {
13372
13372
  var i, a;
13373
13373
  const n = (a = (i = e == null ? void 0 : e.viewBox) == null ? void 0 : i.baseVal) != null && a.height ? e.viewBox.baseVal.height + "px" : OL, r = Dy(`<body style="${BL}">${t}</body>`);
@@ -13432,11 +13432,11 @@ var qL = /* @__PURE__ */ C((t, e, n, r) => {
13432
13432
  }
13433
13433
  const F = h.select(`${u} svg`), D = (v = (_ = m.db).getAccTitle) == null ? void 0 : v.call(_), R = (j = (U = m.db).getAccDescription) == null ? void 0 : j.call(U);
13434
13434
  Py(x, F, D, R), h.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns", RL);
13435
- let $ = h.select(u).node().innerHTML;
13436
- if (ot.debug("config.arrowMarkerAbsolute", i.arrowMarkerAbsolute), $ = jL($, f, Re(i.arrowMarkerAbsolute)), f) {
13435
+ let H = h.select(u).node().innerHTML;
13436
+ if (ot.debug("config.arrowMarkerAbsolute", i.arrowMarkerAbsolute), H = jL(H, f, Re(i.arrowMarkerAbsolute)), f) {
13437
13437
  const Y = h.select(u + " svg").node();
13438
- $ = WL($, Y);
13439
- } else d || ($ = Wi.sanitize($, {
13438
+ H = WL(H, Y);
13439
+ } else d || (H = qi.sanitize(H, {
13440
13440
  ADD_TAGS: $L,
13441
13441
  ADD_ATTR: HL,
13442
13442
  HTML_INTEGRATION_POINTS: { foreignobject: !0 }
@@ -13445,7 +13445,7 @@ var qL = /* @__PURE__ */ C((t, e, n, r) => {
13445
13445
  throw b;
13446
13446
  return c(), {
13447
13447
  diagramType: x,
13448
- svg: $,
13448
+ svg: H,
13449
13449
  bindFunctions: m.db.bindFunctions
13450
13450
  };
13451
13451
  }, "render");
@@ -13480,9 +13480,9 @@ var ri = Object.freeze({
13480
13480
  Co();
13481
13481
  }, "reset"),
13482
13482
  globalReset: /* @__PURE__ */ C(() => {
13483
- Co(qi);
13483
+ Co(Yi);
13484
13484
  }, "globalReset"),
13485
- defaultConfig: qi
13485
+ defaultConfig: Yi
13486
13486
  });
13487
13487
  lh(Qe().logLevel);
13488
13488
  Co(Qe());
@@ -13707,8 +13707,8 @@ On.prototype.commaOrSpaceSeparated = !1;
13707
13707
  On.prototype.mustUseProperty = !1;
13708
13708
  On.prototype.defined = !1;
13709
13709
  let sI = 0;
13710
- const qt = hi(), we = hi(), Yy = hi(), pt = hi(), ce = hi(), Ni = hi(), _n = hi();
13711
- function hi() {
13710
+ const qt = di(), we = di(), Yy = di(), pt = di(), ce = di(), Ri = di(), _n = di();
13711
+ function di() {
13712
13712
  return 2 ** ++sI;
13713
13713
  }
13714
13714
  const Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -13716,7 +13716,7 @@ const Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
13716
13716
  boolean: qt,
13717
13717
  booleanish: we,
13718
13718
  commaOrSpaceSeparated: _n,
13719
- commaSeparated: Ni,
13719
+ commaSeparated: Ri,
13720
13720
  number: pt,
13721
13721
  overloadedBoolean: Yy,
13722
13722
  spaceSeparated: ce
@@ -13858,7 +13858,7 @@ const Qy = la({
13858
13858
  properties: {
13859
13859
  // Standard Properties.
13860
13860
  abbr: null,
13861
- accept: Ni,
13861
+ accept: Ri,
13862
13862
  acceptCharset: ce,
13863
13863
  accessKey: ce,
13864
13864
  action: null,
@@ -13885,7 +13885,7 @@ const Qy = la({
13885
13885
  contentEditable: we,
13886
13886
  controls: qt,
13887
13887
  controlsList: ce,
13888
- coords: pt | Ni,
13888
+ coords: pt | Ri,
13889
13889
  crossOrigin: null,
13890
13890
  data: null,
13891
13891
  dateTime: null,
@@ -14467,9 +14467,9 @@ const Qy = la({
14467
14467
  from: null,
14468
14468
  fx: null,
14469
14469
  fy: null,
14470
- g1: Ni,
14471
- g2: Ni,
14472
- glyphName: Ni,
14470
+ g1: Ri,
14471
+ g2: Ri,
14472
+ glyphName: Ri,
14473
14473
  glyphOrientationHorizontal: null,
14474
14474
  glyphOrientationVertical: null,
14475
14475
  glyphRef: null,
@@ -15654,7 +15654,7 @@ function hN(t) {
15654
15654
  function dN(t, e, n) {
15655
15655
  return Gt(t, t.attempt(this.parser.constructs.document, e, n), "linePrefix", this.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
15656
15656
  }
15657
- function Qi(t) {
15657
+ function Zi(t) {
15658
15658
  if (t === null || re(t) || ii(t))
15659
15659
  return 1;
15660
15660
  if (Ll(t))
@@ -15730,7 +15730,7 @@ function fN(t, e) {
15730
15730
  return t;
15731
15731
  }
15732
15732
  function pN(t, e) {
15733
- const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = Qi(r);
15733
+ const n = this.parser.constructs.attentionMarkers.null, r = this.previous, i = Zi(r);
15734
15734
  let a;
15735
15735
  return s;
15736
15736
  function s(l) {
@@ -15739,7 +15739,7 @@ function pN(t, e) {
15739
15739
  function o(l) {
15740
15740
  if (l === a)
15741
15741
  return t.consume(l), o;
15742
- const u = t.exit("attentionSequence"), c = Qi(l), h = !c || c === 2 && i || n.includes(l), f = !i || i === 2 && c || n.includes(r);
15742
+ const u = t.exit("attentionSequence"), c = Zi(l), h = !c || c === 2 && i || n.includes(l), f = !i || i === 2 && c || n.includes(r);
15743
15743
  return u._open = !!(a === 42 ? h : h && (i || !f)), u._close = !!(a === 42 ? f : f && (c || !h)), e(l);
15744
15744
  }
15745
15745
  }
@@ -15936,9 +15936,9 @@ function EN(t, e, n) {
15936
15936
  let D = 0;
15937
15937
  return R;
15938
15938
  function R(v) {
15939
- return k.enter("lineEnding"), k.consume(v), k.exit("lineEnding"), $;
15939
+ return k.enter("lineEnding"), k.consume(v), k.exit("lineEnding"), H;
15940
15940
  }
15941
- function $(v) {
15941
+ function H(v) {
15942
15942
  return k.enter("codeFencedFence"), Xt(v) ? Gt(k, N, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(v) : N(v);
15943
15943
  }
15944
15944
  function N(v) {
@@ -16647,10 +16647,10 @@ function JN(t, e, n) {
16647
16647
  return O === 47 || O === 62 || Xt(O) ? T(O) : n(O);
16648
16648
  }
16649
16649
  function R(O) {
16650
- return O === 62 ? (t.consume(O), $) : n(O);
16650
+ return O === 62 ? (t.consume(O), H) : n(O);
16651
16651
  }
16652
- function $(O) {
16653
- return O === null || Rt(O) ? N(O) : Xt(O) ? (t.consume(O), $) : n(O);
16652
+ function H(O) {
16653
+ return O === null || Rt(O) ? N(O) : Xt(O) ? (t.consume(O), H) : n(O);
16654
16654
  }
16655
16655
  function N(O) {
16656
16656
  return O === 45 && i === 2 ? (t.consume(O), U) : O === 60 && i === 1 ? (t.consume(O), j) : O === 62 && i === 4 ? (t.consume(O), q) : O === 63 && i === 3 ? (t.consume(O), I) : O === 93 && i === 5 ? (t.consume(O), K) : Rt(O) && (i === 6 || i === 7) ? (t.exit("htmlFlowData"), t.check(KN, V, B)(O)) : O === null || Rt(O) ? (t.exit("htmlFlowData"), B(O)) : (t.consume(O), N);
@@ -16773,10 +16773,10 @@ function rR(t, e, n) {
16773
16773
  return I === 47 ? (t.consume(I), U) : I === 58 || I === 95 || je(I) ? (t.consume(I), R) : Rt(I) ? (s = D, j(I)) : Xt(I) ? (t.consume(I), D) : U(I);
16774
16774
  }
16775
16775
  function R(I) {
16776
- return I === 45 || I === 46 || I === 58 || I === 95 || Fe(I) ? (t.consume(I), R) : $(I);
16776
+ return I === 45 || I === 46 || I === 58 || I === 95 || Fe(I) ? (t.consume(I), R) : H(I);
16777
16777
  }
16778
- function $(I) {
16779
- return I === 61 ? (t.consume(I), N) : Rt(I) ? (s = $, j(I)) : Xt(I) ? (t.consume(I), $) : D(I);
16778
+ function H(I) {
16779
+ return I === 61 ? (t.consume(I), N) : Rt(I) ? (s = H, j(I)) : Xt(I) ? (t.consume(I), H) : D(I);
16780
16780
  }
16781
16781
  function N(I) {
16782
16782
  return I === null || I === 60 || I === 61 || I === 62 || I === 96 ? n(I) : I === 34 || I === 39 ? (t.consume(I), i = I, B) : Rt(I) ? (s = N, j(I)) : Xt(I) ? (t.consume(I), N) : (t.consume(I), _);
@@ -17356,69 +17356,69 @@ function WR(t, e, n) {
17356
17356
  };
17357
17357
  let c = e.tokenize.call(u, l);
17358
17358
  return e.resolveAll && a.push(e), u;
17359
- function h($) {
17360
- return s = Ln(s, $), b(), s[s.length - 1] !== null ? [] : (F(e, 0), u.events = Il(a, u.events, u), u.events);
17359
+ function h(H) {
17360
+ return s = Ln(s, H), b(), s[s.length - 1] !== null ? [] : (F(e, 0), u.events = Il(a, u.events, u), u.events);
17361
17361
  }
17362
- function f($, N) {
17363
- return YR(d($), N);
17362
+ function f(H, N) {
17363
+ return YR(d(H), N);
17364
17364
  }
17365
- function d($) {
17366
- return qR(s, $);
17365
+ function d(H) {
17366
+ return qR(s, H);
17367
17367
  }
17368
17368
  function p() {
17369
17369
  const {
17370
- _bufferIndex: $,
17370
+ _bufferIndex: H,
17371
17371
  _index: N,
17372
17372
  line: B,
17373
17373
  column: _,
17374
17374
  offset: v
17375
17375
  } = r;
17376
17376
  return {
17377
- _bufferIndex: $,
17377
+ _bufferIndex: H,
17378
17378
  _index: N,
17379
17379
  line: B,
17380
17380
  column: _,
17381
17381
  offset: v
17382
17382
  };
17383
17383
  }
17384
- function m($) {
17385
- i[$.line] = $.column, R();
17384
+ function m(H) {
17385
+ i[H.line] = H.column, R();
17386
17386
  }
17387
17387
  function b() {
17388
- let $;
17388
+ let H;
17389
17389
  for (; r._index < s.length; ) {
17390
17390
  const N = s[r._index];
17391
17391
  if (typeof N == "string")
17392
- for ($ = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === $ && r._bufferIndex < N.length; )
17392
+ for (H = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === H && r._bufferIndex < N.length; )
17393
17393
  g(N.charCodeAt(r._bufferIndex));
17394
17394
  else
17395
17395
  g(N);
17396
17396
  }
17397
17397
  }
17398
- function g($) {
17399
- c = c($);
17398
+ function g(H) {
17399
+ c = c(H);
17400
17400
  }
17401
- function x($) {
17402
- Rt($) ? (r.line++, r.column = 1, r.offset += $ === -3 ? 2 : 1, R()) : $ !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
17401
+ function x(H) {
17402
+ Rt(H) ? (r.line++, r.column = 1, r.offset += H === -3 ? 2 : 1, R()) : H !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
17403
17403
  // strings.
17404
17404
  /** @type {string} */
17405
- s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = $;
17405
+ s[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = H;
17406
17406
  }
17407
- function T($, N) {
17407
+ function T(H, N) {
17408
17408
  const B = N || {};
17409
- return B.type = $, B.start = p(), u.events.push(["enter", B, u]), o.push(B), B;
17409
+ return B.type = H, B.start = p(), u.events.push(["enter", B, u]), o.push(B), B;
17410
17410
  }
17411
- function S($) {
17411
+ function S(H) {
17412
17412
  const N = o.pop();
17413
17413
  return N.end = p(), u.events.push(["exit", N, u]), N;
17414
17414
  }
17415
- function w($, N) {
17416
- F($, N.from);
17415
+ function w(H, N) {
17416
+ F(H, N.from);
17417
17417
  }
17418
- function k($, N) {
17418
+ function k(H, N) {
17419
17419
  N.restore();
17420
17420
  }
17421
- function L($, N) {
17421
+ function L(H, N) {
17422
17422
  return B;
17423
17423
  function B(_, v, U) {
17424
17424
  let j, Y, K, I;
@@ -17462,24 +17462,24 @@ function WR(t, e, n) {
17462
17462
  }
17463
17463
  }
17464
17464
  function st(yt) {
17465
- return $(K, I), v;
17465
+ return H(K, I), v;
17466
17466
  }
17467
17467
  function rt(yt) {
17468
17468
  return I.restore(), ++Y < j.length ? O(j[Y]) : U;
17469
17469
  }
17470
17470
  }
17471
17471
  }
17472
- function F($, N) {
17473
- $.resolveAll && !a.includes($) && a.push($), $.resolve && An(u.events, N, u.events.length - N, $.resolve(u.events.slice(N), u)), $.resolveTo && (u.events = $.resolveTo(u.events, u));
17472
+ function F(H, N) {
17473
+ H.resolveAll && !a.includes(H) && a.push(H), H.resolve && An(u.events, N, u.events.length - N, H.resolve(u.events.slice(N), u)), H.resolveTo && (u.events = H.resolveTo(u.events, u));
17474
17474
  }
17475
17475
  function D() {
17476
- const $ = p(), N = u.previous, B = u.currentConstruct, _ = u.events.length, v = Array.from(o);
17476
+ const H = p(), N = u.previous, B = u.currentConstruct, _ = u.events.length, v = Array.from(o);
17477
17477
  return {
17478
17478
  from: _,
17479
17479
  restore: U
17480
17480
  };
17481
17481
  function U() {
17482
- r = $, u.previous = N, u.currentConstruct = B, u.events.length = _, o = v, R();
17482
+ r = H, u.previous = N, u.currentConstruct = B, u.events.length = _, o = v, R();
17483
17483
  }
17484
17484
  }
17485
17485
  function R() {
@@ -17651,7 +17651,7 @@ function tD(t) {
17651
17651
  htmlFlowData: D,
17652
17652
  htmlText: a(z, s),
17653
17653
  htmlTextData: D,
17654
- image: a(H),
17654
+ image: a($),
17655
17655
  label: s,
17656
17656
  link: a(X),
17657
17657
  listItem: a(ct),
@@ -17702,7 +17702,7 @@ function tD(t) {
17702
17702
  image: l(j),
17703
17703
  label: K,
17704
17704
  labelText: Y,
17705
- lineEnding: $,
17705
+ lineEnding: H,
17706
17706
  link: l(U),
17707
17707
  listItem: l(),
17708
17708
  listOrdered: l(),
@@ -17929,7 +17929,7 @@ function tD(t) {
17929
17929
  const ut = this.stack.pop();
17930
17930
  ut.value += this.sliceSerialize(Q), ut.position.end = br(Q.end);
17931
17931
  }
17932
- function $(Q) {
17932
+ function H(Q) {
17933
17933
  const ut = this.stack[this.stack.length - 1];
17934
17934
  if (this.data.atHardBreak) {
17935
17935
  const xt = ut.children[ut.children.length - 1];
@@ -18079,7 +18079,7 @@ function tD(t) {
18079
18079
  value: ""
18080
18080
  };
18081
18081
  }
18082
- function H() {
18082
+ function $() {
18083
18083
  return {
18084
18084
  type: "image",
18085
18085
  title: null,
@@ -18601,24 +18601,24 @@ const Tx = -1, Nl = 0, Xo = 1, Ko = 2, hd = 3, dd = 4, fd = 5, pd = 6, Ex = 7, k
18601
18601
  return n(new U0[a](s), i);
18602
18602
  };
18603
18603
  return r;
18604
- }, j0 = (t) => LD(/* @__PURE__ */ new Map(), t)(0), Ti = "", { toString: ID } = {}, { keys: ND } = Object, wa = (t) => {
18604
+ }, j0 = (t) => LD(/* @__PURE__ */ new Map(), t)(0), Ei = "", { toString: ID } = {}, { keys: ND } = Object, wa = (t) => {
18605
18605
  const e = typeof t;
18606
18606
  if (e !== "object" || !t)
18607
18607
  return [Nl, e];
18608
18608
  const n = ID.call(t).slice(8, -1);
18609
18609
  switch (n) {
18610
18610
  case "Array":
18611
- return [Xo, Ti];
18611
+ return [Xo, Ei];
18612
18612
  case "Object":
18613
- return [Ko, Ti];
18613
+ return [Ko, Ei];
18614
18614
  case "Date":
18615
- return [hd, Ti];
18615
+ return [hd, Ei];
18616
18616
  case "RegExp":
18617
- return [dd, Ti];
18617
+ return [dd, Ei];
18618
18618
  case "Map":
18619
- return [fd, Ti];
18619
+ return [fd, Ei];
18620
18620
  case "Set":
18621
- return [pd, Ti];
18621
+ return [pd, Ei];
18622
18622
  }
18623
18623
  return n.includes("Array") ? [Xo, n] : n.includes("Error") ? [Ex, n] : [Ko, n];
18624
18624
  }, Ws = ([t, e]) => t === Nl && (e === "function" || e === "symbol"), RD = (t, e, n, r) => {
@@ -18698,7 +18698,7 @@ const Tx = -1, Nl = 0, Xo = 1, Ko = 2, hd = 3, dd = 4, fd = 5, pd = 6, Ex = 7, k
18698
18698
  }, W0 = (t, { json: e, lossy: n } = {}) => {
18699
18699
  const r = [];
18700
18700
  return RD(!(e || n), !!e, /* @__PURE__ */ new Map(), r)(t), r;
18701
- }, Zi = typeof structuredClone == "function" ? (
18701
+ }, Ji = typeof structuredClone == "function" ? (
18702
18702
  /* c8 ignore start */
18703
18703
  (t, e) => e && ("json" in e || "lossy" in e) ? j0(W0(t, e)) : structuredClone(t)
18704
18704
  ) : (t, e) => j0(W0(t, e));
@@ -18767,7 +18767,7 @@ function MD(t) {
18767
18767
  type: "element",
18768
18768
  tagName: a,
18769
18769
  properties: {
18770
- ...Zi(s),
18770
+ ...Ji(s),
18771
18771
  id: "footnote-label"
18772
18772
  },
18773
18773
  children: [{ type: "text", value: i }]
@@ -18949,10 +18949,10 @@ function qD(t, e) {
18949
18949
  return d(o, c, h);
18950
18950
  if (o.options.passThrough && o.options.passThrough.includes(f)) {
18951
18951
  if ("children" in c) {
18952
- const { children: m, ...b } = c, g = Zi(b);
18952
+ const { children: m, ...b } = c, g = Ji(b);
18953
18953
  return g.children = o.all(c), g;
18954
18954
  }
18955
- return Zi(c);
18955
+ return Ji(c);
18956
18956
  }
18957
18957
  return (o.options.unknownHandler || GD)(o, c, h);
18958
18958
  }
@@ -18989,7 +18989,7 @@ function VD(t, e) {
18989
18989
  const s = "children" in n ? n.children : [n];
18990
18990
  n = { type: "element", tagName: r, properties: {}, children: s };
18991
18991
  }
18992
- n.type === "element" && a && Object.assign(n.properties, Zi(a)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
18992
+ n.type === "element" && a && Object.assign(n.properties, Ji(a)), "children" in n && n.children && i !== null && i !== void 0 && (n.children = i);
18993
18993
  }
18994
18994
  return n;
18995
18995
  }
@@ -20885,7 +20885,7 @@ function us(t) {
20885
20885
  return "&#x" + t.toString(16).toUpperCase() + ";";
20886
20886
  }
20887
20887
  function Zo(t, e, n) {
20888
- const r = Qi(t), i = Qi(e);
20888
+ const r = Zi(t), i = Zi(e);
20889
20889
  return r === void 0 ? i === void 0 ? (
20890
20890
  // Letter inside:
20891
20891
  // we have to encode *both* letters for `_` as it is looser.
@@ -21963,11 +21963,11 @@ function bM(t) {
21963
21963
  return u === 126 && c[c.length - 1][1].type !== "characterEscape" ? l(p) : (s.enter("strikethroughSequenceTemporary"), d(p));
21964
21964
  }
21965
21965
  function d(p) {
21966
- const m = Qi(u);
21966
+ const m = Zi(u);
21967
21967
  if (p === 126)
21968
21968
  return h > 1 ? l(p) : (s.consume(p), h++, d);
21969
21969
  if (h < 2 && !n) return l(p);
21970
- const b = s.exit("strikethroughSequenceTemporary"), g = Qi(p);
21970
+ const b = s.exit("strikethroughSequenceTemporary"), g = Zi(p);
21971
21971
  return b._open = !g || g === 2 && !!m, b._close = !m || m === 2 && !!g, o(p);
21972
21972
  }
21973
21973
  }
@@ -22076,14 +22076,14 @@ function TM(t, e, n) {
22076
22076
  let i = 0, a = 0, s;
22077
22077
  return o;
22078
22078
  function o(R) {
22079
- let $ = r.events.length - 1;
22080
- for (; $ > -1; ) {
22081
- const _ = r.events[$][1].type;
22079
+ let H = r.events.length - 1;
22080
+ for (; H > -1; ) {
22081
+ const _ = r.events[H][1].type;
22082
22082
  if (_ === "lineEnding" || // Note: markdown-rs uses `whitespace` instead of `linePrefix`
22083
- _ === "linePrefix") $--;
22083
+ _ === "linePrefix") H--;
22084
22084
  else break;
22085
22085
  }
22086
- const N = $ > -1 ? r.events[$][1].type : null, B = N === "tableHead" || N === "tableRow" ? k : l;
22086
+ const N = H > -1 ? r.events[H][1].type : null, B = N === "tableHead" || N === "tableRow" ? k : l;
22087
22087
  return B === k && r.parser.lazy[r.now().line] ? n(R) : B(R);
22088
22088
  }
22089
22089
  function l(R) {
@@ -22166,15 +22166,15 @@ function EM(t, e) {
22166
22166
  }
22167
22167
  function Ys(t, e, n, r, i, a) {
22168
22168
  const s = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", o = "tableContent";
22169
- n[0] !== 0 && (a.end = Object.assign({}, Si(e.events, n[0])), t.add(n[0], 0, [["exit", a, e]]));
22170
- const l = Si(e.events, n[1]);
22169
+ n[0] !== 0 && (a.end = Object.assign({}, wi(e.events, n[0])), t.add(n[0], 0, [["exit", a, e]]));
22170
+ const l = wi(e.events, n[1]);
22171
22171
  if (a = {
22172
22172
  type: s,
22173
22173
  start: Object.assign({}, l),
22174
22174
  // Note: correct end is set later.
22175
22175
  end: Object.assign({}, l)
22176
22176
  }, t.add(n[1], 0, [["enter", a, e]]), n[2] !== 0) {
22177
- const u = Si(e.events, n[2]), c = Si(e.events, n[3]), h = {
22177
+ const u = wi(e.events, n[2]), c = wi(e.events, n[3]), h = {
22178
22178
  type: o,
22179
22179
  start: Object.assign({}, u),
22180
22180
  end: Object.assign({}, c)
@@ -22188,13 +22188,13 @@ function Ys(t, e, n, r, i, a) {
22188
22188
  }
22189
22189
  t.add(n[3] + 1, 0, [["exit", h, e]]);
22190
22190
  }
22191
- return i !== void 0 && (a.end = Object.assign({}, Si(e.events, i)), t.add(i, 0, [["exit", a, e]]), a = void 0), a;
22191
+ return i !== void 0 && (a.end = Object.assign({}, wi(e.events, i)), t.add(i, 0, [["exit", a, e]]), a = void 0), a;
22192
22192
  }
22193
22193
  function hp(t, e, n, r, i) {
22194
- const a = [], s = Si(e.events, n);
22194
+ const a = [], s = wi(e.events, n);
22195
22195
  i && (i.end = Object.assign({}, s), a.push(["exit", i, e])), r.end = Object.assign({}, s), a.push(["exit", r, e]), t.add(n + 1, 0, a);
22196
22196
  }
22197
- function Si(t, e) {
22197
+ function wi(t, e) {
22198
22198
  const n = t[e], r = n[0] === "enter" ? "start" : "end";
22199
22199
  return n[1][r];
22200
22200
  }
@@ -22369,8 +22369,8 @@ bn.prototype.property = "";
22369
22369
  bn.prototype.spaceSeparated = !1;
22370
22370
  bn.prototype.space = void 0;
22371
22371
  let OM = 0;
22372
- const Yt = di(), Ae = di(), Jx = di(), mt = di(), he = di(), Ri = di(), Tn = di();
22373
- function di() {
22372
+ const Yt = fi(), Ae = fi(), Jx = fi(), mt = fi(), he = fi(), Di = fi(), Tn = fi();
22373
+ function fi() {
22374
22374
  return 2 ** ++OM;
22375
22375
  }
22376
22376
  const qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -22378,7 +22378,7 @@ const qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22378
22378
  boolean: Yt,
22379
22379
  booleanish: Ae,
22380
22380
  commaOrSpaceSeparated: Tn,
22381
- commaSeparated: Ri,
22381
+ commaSeparated: Di,
22382
22382
  number: mt,
22383
22383
  overloadedBoolean: Jx,
22384
22384
  spaceSeparated: he
@@ -22499,7 +22499,7 @@ const MM = ca({
22499
22499
  properties: {
22500
22500
  // Standard Properties.
22501
22501
  abbr: null,
22502
- accept: Ri,
22502
+ accept: Di,
22503
22503
  acceptCharset: he,
22504
22504
  accessKey: he,
22505
22505
  action: null,
@@ -22526,7 +22526,7 @@ const MM = ca({
22526
22526
  contentEditable: Ae,
22527
22527
  controls: Yt,
22528
22528
  controlsList: he,
22529
- coords: mt | Ri,
22529
+ coords: mt | Di,
22530
22530
  crossOrigin: null,
22531
22531
  data: null,
22532
22532
  dateTime: null,
@@ -23108,9 +23108,9 @@ const MM = ca({
23108
23108
  from: null,
23109
23109
  fx: null,
23110
23110
  fy: null,
23111
- g1: Ri,
23112
- g2: Ri,
23113
- glyphName: Ri,
23111
+ g1: Di,
23112
+ g2: Di,
23113
+ glyphName: Di,
23114
23114
  glyphOrientationHorizontal: null,
23115
23115
  glyphOrientationVertical: null,
23116
23116
  glyphRef: null,
@@ -23755,7 +23755,7 @@ function ZM(t, e) {
23755
23755
  const o = (
23756
23756
  /** @type {DefaultTreeAdapterMap['template']} */
23757
23757
  e
23758
- ), l = o.sourceCodeLocation, u = l && l.startTag && vi(l.startTag), c = l && l.endTag && vi(l.endTag), h = (
23758
+ ), l = o.sourceCodeLocation, u = l && l.startTag && Li(l.startTag), c = l && l.endTag && Li(l.endTag), h = (
23759
23759
  /** @type {Root} */
23760
23760
  Ed(t, o.content)
23761
23761
  );
@@ -23770,7 +23770,7 @@ function fo(t, e, n) {
23770
23770
  }
23771
23771
  }
23772
23772
  function JM(t, e, n) {
23773
- const r = vi(n);
23773
+ const r = Li(n);
23774
23774
  if (e.type === "element") {
23775
23775
  const i = e.children[e.children.length - 1];
23776
23776
  if (r && !n.endTag && i && i.position && i.position.end && (r.end = Object.assign({}, i.position.end)), t.verbose) {
@@ -23778,17 +23778,17 @@ function JM(t, e, n) {
23778
23778
  let s;
23779
23779
  if (n.attrs)
23780
23780
  for (s in n.attrs)
23781
- lC.call(n.attrs, s) && (a[sC(t.schema, s).property] = vi(
23781
+ lC.call(n.attrs, s) && (a[sC(t.schema, s).property] = Li(
23782
23782
  n.attrs[s]
23783
23783
  ));
23784
23784
  n.startTag;
23785
- const o = vi(n.startTag), l = n.endTag ? vi(n.endTag) : void 0, u = { opening: o };
23785
+ const o = Li(n.startTag), l = n.endTag ? Li(n.endTag) : void 0, u = { opening: o };
23786
23786
  l && (u.closing = l), u.properties = a, e.data = { position: u };
23787
23787
  }
23788
23788
  }
23789
23789
  return r;
23790
23790
  }
23791
- function vi(t) {
23791
+ function Li(t) {
23792
23792
  const e = bp({
23793
23793
  line: t.startLine,
23794
23794
  column: t.startCol,
@@ -23848,8 +23848,8 @@ Mn.prototype.commaOrSpaceSeparated = !1;
23848
23848
  Mn.prototype.mustUseProperty = !1;
23849
23849
  Mn.prototype.defined = !1;
23850
23850
  let tB = 0;
23851
- const Vt = fi(), ve = fi(), hC = fi(), gt = fi(), de = fi(), Di = fi(), En = fi();
23852
- function fi() {
23851
+ const Vt = pi(), ve = pi(), hC = pi(), gt = pi(), de = pi(), Oi = pi(), En = pi();
23852
+ function pi() {
23853
23853
  return 2 ** ++tB;
23854
23854
  }
23855
23855
  const Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -23857,7 +23857,7 @@ const Gc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23857
23857
  boolean: Vt,
23858
23858
  booleanish: ve,
23859
23859
  commaOrSpaceSeparated: En,
23860
- commaSeparated: Di,
23860
+ commaSeparated: Oi,
23861
23861
  number: gt,
23862
23862
  overloadedBoolean: hC,
23863
23863
  spaceSeparated: de
@@ -23999,7 +23999,7 @@ const gC = ha({
23999
23999
  properties: {
24000
24000
  // Standard Properties.
24001
24001
  abbr: null,
24002
- accept: Di,
24002
+ accept: Oi,
24003
24003
  acceptCharset: de,
24004
24004
  accessKey: de,
24005
24005
  action: null,
@@ -24026,7 +24026,7 @@ const gC = ha({
24026
24026
  contentEditable: ve,
24027
24027
  controls: Vt,
24028
24028
  controlsList: de,
24029
- coords: gt | Di,
24029
+ coords: gt | Oi,
24030
24030
  crossOrigin: null,
24031
24031
  data: null,
24032
24032
  dateTime: null,
@@ -24608,9 +24608,9 @@ const gC = ha({
24608
24608
  from: null,
24609
24609
  fx: null,
24610
24610
  fy: null,
24611
- g1: Di,
24612
- g2: Di,
24613
- glyphName: Di,
24611
+ g1: Oi,
24612
+ g2: Oi,
24613
+ glyphName: Oi,
24614
24614
  glyphOrientationHorizontal: null,
24615
24615
  glyphOrientationVertical: null,
24616
24616
  glyphRef: null,
@@ -28121,7 +28121,7 @@ function Ep(t) {
28121
28121
  parentNode: null
28122
28122
  };
28123
28123
  }
28124
- const wi = {
28124
+ const Ai = {
28125
28125
  //Node construction
28126
28126
  createDocument() {
28127
28127
  return {
@@ -28179,7 +28179,7 @@ const wi = {
28179
28179
  systemId: r,
28180
28180
  parentNode: null
28181
28181
  };
28182
- wi.appendChild(t, a);
28182
+ Ai.appendChild(t, a);
28183
28183
  }
28184
28184
  },
28185
28185
  setDocumentMode(t, e) {
@@ -28197,16 +28197,16 @@ const wi = {
28197
28197
  insertText(t, e) {
28198
28198
  if (t.childNodes.length > 0) {
28199
28199
  const n = t.childNodes[t.childNodes.length - 1];
28200
- if (wi.isTextNode(n)) {
28200
+ if (Ai.isTextNode(n)) {
28201
28201
  n.value += e;
28202
28202
  return;
28203
28203
  }
28204
28204
  }
28205
- wi.appendChild(t, Ep(e));
28205
+ Ai.appendChild(t, Ep(e));
28206
28206
  },
28207
28207
  insertTextBefore(t, e, n) {
28208
28208
  const r = t.childNodes[t.childNodes.indexOf(n) - 1];
28209
- r && wi.isTextNode(r) ? r.value += e : wi.insertBefore(t, Ep(e), n);
28209
+ r && Ai.isTextNode(r) ? r.value += e : Ai.insertBefore(t, Ep(e), n);
28210
28210
  },
28211
28211
  adoptAttributes(t, e) {
28212
28212
  const n = new Set(t.attrs.map((r) => r.name));
@@ -28580,7 +28580,7 @@ const g7 = {
28580
28580
  }, BC = /* @__PURE__ */ new Set([y.TABLE, y.TBODY, y.TFOOT, y.THEAD, y.TR]), wp = {
28581
28581
  scriptingEnabled: !0,
28582
28582
  sourceCodeLocationInfo: !1,
28583
- treeAdapter: wi,
28583
+ treeAdapter: Ai,
28584
28584
  onParseError: null
28585
28585
  };
28586
28586
  class Ap {
@@ -29177,7 +29177,7 @@ class Ap {
29177
29177
  break;
29178
29178
  }
29179
29179
  case W.IN_TABLE: {
29180
- Ji(this, e);
29180
+ ta(this, e);
29181
29181
  break;
29182
29182
  }
29183
29183
  case W.IN_TABLE_TEXT: {
@@ -29610,14 +29610,14 @@ function I7(t, e) {
29610
29610
  break;
29611
29611
  }
29612
29612
  case y.TEMPLATE: {
29613
- pi(t, e);
29613
+ mi(t, e);
29614
29614
  break;
29615
29615
  }
29616
29616
  default:
29617
29617
  t._err(e, nt.endTagWithoutMatchingOpenElement);
29618
29618
  }
29619
29619
  }
29620
- function pi(t, e) {
29620
+ function mi(t, e) {
29621
29621
  t.openElements.tmplCount > 0 ? (t.openElements.generateImpliedEndTagsThoroughly(), t.openElements.currentTagId !== y.TEMPLATE && t._err(e, nt.closingOfElementWithOpenChildElements), t.openElements.popUntilTagNamePopped(y.TEMPLATE), t.activeFormattingElements.clearToLastMarker(), t.tmplInsertionModeStack.shift(), t._resetInsertionMode()) : t._err(e, nt.endTagWithoutMatchingOpenElement);
29622
29622
  }
29623
29623
  function Ga(t, e) {
@@ -29709,7 +29709,7 @@ function O7(t, e) {
29709
29709
  break;
29710
29710
  }
29711
29711
  case y.TEMPLATE: {
29712
- pi(t, e);
29712
+ mi(t, e);
29713
29713
  break;
29714
29714
  }
29715
29715
  default:
@@ -30215,7 +30215,7 @@ function Ml(t, e) {
30215
30215
  break;
30216
30216
  }
30217
30217
  case y.TEMPLATE: {
30218
- pi(t, e);
30218
+ mi(t, e);
30219
30219
  break;
30220
30220
  }
30221
30221
  default:
@@ -30271,7 +30271,7 @@ function AP(t, e) {
30271
30271
  function vP(t, e) {
30272
30272
  !t.formElement && t.openElements.tmplCount === 0 && (t._insertElement(e, it.HTML), t.formElement = t.openElements.current, t.openElements.pop());
30273
30273
  }
30274
- function Ji(t, e) {
30274
+ function ta(t, e) {
30275
30275
  switch (e.tagID) {
30276
30276
  case y.TD:
30277
30277
  case y.TH:
@@ -30326,7 +30326,7 @@ function hs(t, e) {
30326
30326
  break;
30327
30327
  }
30328
30328
  case y.TEMPLATE: {
30329
- pi(t, e);
30329
+ mi(t, e);
30330
30330
  break;
30331
30331
  }
30332
30332
  case y.BODY:
@@ -30368,7 +30368,7 @@ function va(t, e) {
30368
30368
  const qC = /* @__PURE__ */ new Set([y.CAPTION, y.COL, y.COLGROUP, y.TBODY, y.TD, y.TFOOT, y.TH, y.THEAD, y.TR]);
30369
30369
  function LP(t, e) {
30370
30370
  const n = e.tagID;
30371
- qC.has(n) ? t.openElements.hasInTableScope(y.CAPTION) && (t.openElements.generateImpliedEndTags(), t.openElements.popUntilTagNamePopped(y.CAPTION), t.activeFormattingElements.clearToLastMarker(), t.insertionMode = W.IN_TABLE, Ji(t, e)) : nn(t, e);
30371
+ qC.has(n) ? t.openElements.hasInTableScope(y.CAPTION) && (t.openElements.generateImpliedEndTags(), t.openElements.popUntilTagNamePopped(y.CAPTION), t.activeFormattingElements.clearToLastMarker(), t.insertionMode = W.IN_TABLE, ta(t, e)) : nn(t, e);
30372
30372
  }
30373
30373
  function IP(t, e) {
30374
30374
  const n = e.tagID;
@@ -30418,7 +30418,7 @@ function NP(t, e) {
30418
30418
  break;
30419
30419
  }
30420
30420
  case y.TEMPLATE: {
30421
- pi(t, e);
30421
+ mi(t, e);
30422
30422
  break;
30423
30423
  }
30424
30424
  case y.COL:
@@ -30447,11 +30447,11 @@ function Bl(t, e) {
30447
30447
  case y.TBODY:
30448
30448
  case y.TFOOT:
30449
30449
  case y.THEAD: {
30450
- t.openElements.hasTableBodyContextInTableScope() && (t.openElements.clearBackToTableBodyContext(), t.openElements.pop(), t.insertionMode = W.IN_TABLE, Ji(t, e));
30450
+ t.openElements.hasTableBodyContextInTableScope() && (t.openElements.clearBackToTableBodyContext(), t.openElements.pop(), t.insertionMode = W.IN_TABLE, ta(t, e));
30451
30451
  break;
30452
30452
  }
30453
30453
  default:
30454
- Ji(t, e);
30454
+ ta(t, e);
30455
30455
  }
30456
30456
  }
30457
30457
  function Zc(t, e) {
@@ -30498,7 +30498,7 @@ function Pl(t, e) {
30498
30498
  break;
30499
30499
  }
30500
30500
  default:
30501
- Ji(t, e);
30501
+ ta(t, e);
30502
30502
  }
30503
30503
  }
30504
30504
  function YC(t, e) {
@@ -30602,7 +30602,7 @@ function GC(t, e) {
30602
30602
  break;
30603
30603
  }
30604
30604
  case y.TEMPLATE: {
30605
- pi(t, e);
30605
+ mi(t, e);
30606
30606
  break;
30607
30607
  }
30608
30608
  }
@@ -30635,7 +30635,7 @@ function BP(t, e) {
30635
30635
  case y.TBODY:
30636
30636
  case y.TFOOT:
30637
30637
  case y.THEAD: {
30638
- t.tmplInsertionModeStack[0] = W.IN_TABLE, t.insertionMode = W.IN_TABLE, Ji(t, e);
30638
+ t.tmplInsertionModeStack[0] = W.IN_TABLE, t.insertionMode = W.IN_TABLE, ta(t, e);
30639
30639
  break;
30640
30640
  }
30641
30641
  case y.COL: {
@@ -30656,7 +30656,7 @@ function BP(t, e) {
30656
30656
  }
30657
30657
  }
30658
30658
  function PP(t, e) {
30659
- e.tagID === y.TEMPLATE && pi(t, e);
30659
+ e.tagID === y.TEMPLATE && mi(t, e);
30660
30660
  }
30661
30661
  function XC(t, e) {
30662
30662
  t.openElements.tmplCount > 0 ? (t.openElements.popUntilTagNamePopped(y.TEMPLATE), t.activeFormattingElements.clearToLastMarker(), t.tmplInsertionModeStack.shift(), t._resetInsertionMode(), t.onEof(e)) : vd(t, e);
@@ -30968,7 +30968,7 @@ function Is(t) {
30968
30968
  };
30969
30969
  }
30970
30970
  function oF(t) {
30971
- return "children" in t ? Zi({ ...t, children: [] }) : Zi(t);
30971
+ return "children" in t ? Ji({ ...t, children: [] }) : Ji(t);
30972
30972
  }
30973
30973
  function lF(t) {
30974
30974
  return function(e, n) {
@@ -31181,34 +31181,34 @@ function Id(t, e) {
31181
31181
  const B = w === "named" ? ls(F) : !1;
31182
31182
  B && (k = F, L = B);
31183
31183
  }
31184
- let $ = 1 + S - x, N = "";
31184
+ let H = 1 + S - x, N = "";
31185
31185
  if (!(!R && n.nonTerminated === !1)) if (!F)
31186
- w !== "named" && m(4, $);
31186
+ w !== "named" && m(4, H);
31187
31187
  else if (w === "named") {
31188
31188
  if (R && !L)
31189
31189
  m(5, 1);
31190
- else if (k !== F && (S = T + k.length, $ = 1 + S - T, R = !1), !R) {
31190
+ else if (k !== F && (S = T + k.length, H = 1 + S - T, R = !1), !R) {
31191
31191
  const B = k ? 1 : 3;
31192
31192
  if (n.attribute) {
31193
31193
  const _ = t.charCodeAt(S);
31194
- _ === 61 ? (m(B, $), L = "") : Rp(_) ? L = "" : m(B, $);
31194
+ _ === 61 ? (m(B, H), L = "") : Rp(_) ? L = "" : m(B, H);
31195
31195
  } else
31196
- m(B, $);
31196
+ m(B, H);
31197
31197
  }
31198
31198
  N = L;
31199
31199
  } else {
31200
- R || m(2, $);
31200
+ R || m(2, H);
31201
31201
  let B = Number.parseInt(
31202
31202
  F,
31203
31203
  w === "hexadecimal" ? 16 : 10
31204
31204
  );
31205
31205
  if (fF(B))
31206
- m(7, $), N = "�";
31206
+ m(7, H), N = "�";
31207
31207
  else if (B in Np)
31208
- m(6, $), N = Np[B];
31208
+ m(6, H), N = Np[B];
31209
31209
  else {
31210
31210
  let _ = "";
31211
- pF(B) && m(6, $), B > 65535 && (B -= 65536, _ += String.fromCharCode(
31211
+ pF(B) && m(6, H), B > 65535 && (B -= 65536, _ += String.fromCharCode(
31212
31212
  B >>> 10 | 55296
31213
31213
  ), B = 56320 | B & 1023), N = _ + String.fromCharCode(B);
31214
31214
  }
@@ -31554,13 +31554,13 @@ function Rd(t, e, n, r, i, a, s, o, l, u, c, h, f, d, p) {
31554
31554
  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), D);
31555
31555
  }
31556
31556
  function R(v) {
31557
- return v === b ? (t.enter(f), t.consume(v), t.exit(f), t.exit(c), t.exit(a), B) : (t.enter(h), $(v));
31557
+ return v === b ? (t.enter(f), t.consume(v), t.exit(f), t.exit(c), t.exit(a), B) : (t.enter(h), H(v));
31558
31558
  }
31559
- function $(v) {
31560
- return v === b ? (t.exit(h), R(v)) : v === null ? n(v) : Rt(v) ? p ? n(v) : hr(t, $)(v) : (t.enter(d), t.consume(v), N);
31559
+ function H(v) {
31560
+ return v === b ? (t.exit(h), R(v)) : v === null ? n(v) : Rt(v) ? p ? n(v) : hr(t, H)(v) : (t.enter(d), t.consume(v), N);
31561
31561
  }
31562
31562
  function N(v) {
31563
- return v === b || v === null || Rt(v) ? (t.exit(d), $(v)) : (t.consume(v), N);
31563
+ return v === b || v === null || Rt(v) ? (t.exit(d), H(v)) : (t.consume(v), N);
31564
31564
  }
31565
31565
  function B(v) {
31566
31566
  return v === 125 || re(v) ? x(v) : _(v);
@@ -31686,17 +31686,17 @@ function $F(t, e, n) {
31686
31686
  function L(D) {
31687
31687
  return t.exit("directiveContainer"), e(D);
31688
31688
  }
31689
- function F(D, R, $) {
31689
+ function F(D, R, H) {
31690
31690
  let N = 0;
31691
31691
  return Gt(D, B, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
31692
31692
  function B(U) {
31693
31693
  return D.enter("directiveContainerFence"), D.enter("directiveContainerSequence"), _(U);
31694
31694
  }
31695
31695
  function _(U) {
31696
- return U === 58 ? (D.consume(U), N++, _) : N < s ? $(U) : (D.exit("directiveContainerSequence"), Gt(D, v, "whitespace")(U));
31696
+ return U === 58 ? (D.consume(U), N++, _) : N < s ? H(U) : (D.exit("directiveContainerSequence"), Gt(D, v, "whitespace")(U));
31697
31697
  }
31698
31698
  function v(U) {
31699
- return U === null || Rt(U) ? (D.exit("directiveContainerFence"), R(U)) : $(U);
31699
+ return U === null || Rt(U) ? (D.exit("directiveContainerFence"), R(U)) : H(U);
31700
31700
  }
31701
31701
  }
31702
31702
  }
@@ -32094,7 +32094,7 @@ const m$ = ({
32094
32094
  };
32095
32095
  return /* @__PURE__ */ E.jsxs("form", { onSubmit: i(h), children: [
32096
32096
  /* @__PURE__ */ E.jsxs("div", { className: "al-space-y-2", children: [
32097
- /* @__PURE__ */ E.jsx(ai, { ...r("content"), className: a.content ? "al-border-red-500" : "" }),
32097
+ /* @__PURE__ */ E.jsx(si, { ...r("content"), className: a.content ? "al-border-red-500" : "" }),
32098
32098
  a.content && /* @__PURE__ */ E.jsx("p", { className: "al-text-sm al-font-medium al-text-destructive", children: a.content.message })
32099
32099
  ] }),
32100
32100
  /* @__PURE__ */ E.jsxs(Tt, { justify: "end", className: "mt-2", children: [
@@ -32152,7 +32152,7 @@ const m$ = ({
32152
32152
  /* @__PURE__ */ E.jsxs(eh, { className: "al-pt-4", children: [
32153
32153
  /* @__PURE__ */ E.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }),
32154
32154
  /* @__PURE__ */ E.jsx("div", { children: s ? /* @__PURE__ */ E.jsx(
32155
- ai,
32155
+ si,
32156
32156
  {
32157
32157
  value: i.ai_response,
32158
32158
  onChange: (g) => {
@@ -32223,7 +32223,7 @@ const y$ = St.object({
32223
32223
  return /* @__PURE__ */ E.jsxs("form", { onSubmit: r((b) => h(b).then((g) => t(g, b.type))), children: [
32224
32224
  /* @__PURE__ */ E.jsxs(bo, { className: "al-mb-4", children: [
32225
32225
  /* @__PURE__ */ E.jsx(
32226
- ai,
32226
+ si,
32227
32227
  {
32228
32228
  ...n("description"),
32229
32229
  onKeyDown: p,
@@ -32385,7 +32385,7 @@ const y$ = St.object({
32385
32385
  /* @__PURE__ */ E.jsxs(eh, { children: [
32386
32386
  /* @__PURE__ */ E.jsx("p", { children: n ? /* @__PURE__ */ E.jsxs(bo, { children: [
32387
32387
  /* @__PURE__ */ E.jsx(
32388
- ai,
32388
+ si,
32389
32389
  {
32390
32390
  ...a("description"),
32391
32391
  placeholder: "Describe the project governance check...",
@@ -32665,7 +32665,7 @@ const I$ = (t, e) => {
32665
32665
  updateMessageFeedback: O$,
32666
32666
  clearHistory: Tz,
32667
32667
  deleteMessage: M$,
32668
- setLoadingState: ta,
32668
+ setLoadingState: ai,
32669
32669
  setError: o3,
32670
32670
  setAbortController: $p,
32671
32671
  addAction: B$,
@@ -32715,7 +32715,7 @@ const I$ = (t, e) => {
32715
32715
  helloMessageFooter: F,
32716
32716
  handleSavePrompt: D,
32717
32717
  showSavePromptButton: R,
32718
- onEvent: $
32718
+ onEvent: H
32719
32719
  }, N) => {
32720
32720
  const [B, _] = H3(Jc.reducer, {
32721
32721
  ...Jc.getInitialState(),
@@ -32739,25 +32739,25 @@ const I$ = (t, e) => {
32739
32739
  );
32740
32740
  },
32741
32741
  resetStatus: () => {
32742
- B.loadingState !== Ce.LOADING && ($ == null || $({ type: "status_change", status: "idle" }));
32742
+ _(ai(Ce.UNINITIALIZED));
32743
32743
  }
32744
32744
  })), xe(() => {
32745
32745
  g && Object.keys(g || {}).length > 0 && _(z$(g));
32746
32746
  }, [g]), xe(() => {
32747
32747
  _(x ? D$(x) : Fp({ context: l, models: f, modes: m }));
32748
32748
  }, [x, _, l, f, m]), xe(() => {
32749
- B.currentSessionId && $ && $({ type: "session_created", sessionId: B.currentSessionId });
32750
- }, [B.currentSessionId, $]), xe(() => {
32751
- if ($) {
32749
+ B.currentSessionId && H && H({ type: "session_created", sessionId: B.currentSessionId });
32750
+ }, [B.currentSessionId, H]), xe(() => {
32751
+ if (H) {
32752
32752
  const v = {
32753
32753
  [Ce.UNINITIALIZED]: "idle",
32754
32754
  [Ce.LOADING]: "pending",
32755
32755
  [Ce.LOADED]: "complete",
32756
32756
  [Ce.ERROR]: "error"
32757
32757
  };
32758
- $({ type: "status_change", status: v[B.loadingState] });
32758
+ H({ type: "status_change", status: v[B.loadingState] });
32759
32759
  }
32760
- }, [B.loadingState, $]), /* @__PURE__ */ E.jsx(
32760
+ }, [B.loadingState, H]), /* @__PURE__ */ E.jsx(
32761
32761
  c3.Provider,
32762
32762
  {
32763
32763
  value: {
@@ -32800,7 +32800,7 @@ const I$ = (t, e) => {
32800
32800
  );
32801
32801
  Bd.displayName = "ChatProvider";
32802
32802
  async function h3(t, e = {}) {
32803
- var g, x, T, S, w, k, L, F, D, R, $, N;
32803
+ var g, x, T, S, w, k, L, F, D, R, H, N;
32804
32804
  const { isMarkdownResponse: n = !1, callbacks: r } = e, i = new TextDecoder();
32805
32805
  let a = [], s, o, l = "", u = !0, c = "", h = "", f = [], d, p;
32806
32806
  const m = (B, _) => {
@@ -32873,7 +32873,7 @@ async function h3(t, e = {}) {
32873
32873
  }
32874
32874
  } else I.type === "complete" && (h || (h = "Process completed"), (R = r == null ? void 0 : r.onComplete) == null || R.call(r));
32875
32875
  } catch (I) {
32876
- console.error("Failed to parse message:", K, I), ($ = r == null ? void 0 : r.onError) == null || $.call(r, `Failed to parse message: ${I}`);
32876
+ console.error("Failed to parse message:", K, I), (H = r == null ? void 0 : r.onError) == null || H.call(r, `Failed to parse message: ${I}`);
32877
32877
  }
32878
32878
  }
32879
32879
  }
@@ -33111,7 +33111,7 @@ const Rs = () => {
33111
33111
  );
33112
33112
  }
33113
33113
  const m = new AbortController();
33114
- t(ta(Ce.LOADING)), t($p(m)), t(l3()), t(F$());
33114
+ t(ai(Ce.LOADING)), t($p(m)), t(l3()), t(F$());
33115
33115
  const b = n[e], g = h ? {
33116
33116
  values: c,
33117
33117
  session_id: e
@@ -33210,7 +33210,7 @@ const Rs = () => {
33210
33210
  } catch (S) {
33211
33211
  throw S instanceof Error && S.name !== "AbortError" && t(o3(S instanceof Error ? S.message : "Failed to send message")), S;
33212
33212
  } finally {
33213
- m.signal.aborted || t($p(null)), t(ta(Ce.LOADED));
33213
+ m.signal.aborted || t($p(null)), t(ai(Ce.LOADED));
33214
33214
  }
33215
33215
  };
33216
33216
  return { sendMessage: u, updateContextAndSendMessage: l };
@@ -33290,7 +33290,7 @@ const Rs = () => {
33290
33290
  onValueChange: s,
33291
33291
  className: "al-bg-blue-100",
33292
33292
  children: r.map((l) => /* @__PURE__ */ E.jsx(
33293
- ji,
33293
+ Wi,
33294
33294
  {
33295
33295
  title: l.isComingSoon ? `${l.label} (coming soon)` : l.label,
33296
33296
  children: /* @__PURE__ */ E.jsx(f_, { value: l.value, disabled: l.isComingSoon, children: l.icon }, l.value)
@@ -33348,7 +33348,7 @@ const Rs = () => {
33348
33348
  models: L,
33349
33349
  classNames: F,
33350
33350
  modes: D
33351
- } = We(), { sendMessage: R } = Rs(), $ = Er(null), N = Er(null), B = Er(!0);
33351
+ } = We(), { sendMessage: R } = Rs(), H = Er(null), N = Er(null), B = Er(!0);
33352
33352
  xe(() => {
33353
33353
  In.get = async (O, st, rt = {}) => {
33354
33354
  var Ft;
@@ -33395,11 +33395,11 @@ const Rs = () => {
33395
33395
  g === Ce.LOADED && p(l3());
33396
33396
  }, [g, p]);
33397
33397
  const _ = m ? b[m] : null, v = !!((V = _ == null ? void 0 : _.messages) != null && V.length), U = v || g === Ce.LOADING || !!x, j = () => {
33398
- const O = $.current;
33398
+ const O = H.current;
33399
33399
  return O ? O.scrollHeight - O.scrollTop - O.clientHeight < 50 : !1;
33400
33400
  };
33401
33401
  xe(() => {
33402
- const O = $.current;
33402
+ const O = H.current;
33403
33403
  if (!O) return;
33404
33404
  const st = () => {
33405
33405
  B.current = j();
@@ -33407,25 +33407,25 @@ const Rs = () => {
33407
33407
  return O.addEventListener("scroll", st), () => O.removeEventListener("scroll", st);
33408
33408
  }, []), xe(() => {
33409
33409
  if (B.current) {
33410
- const O = $.current;
33410
+ const O = H.current;
33411
33411
  O && requestAnimationFrame(() => {
33412
33412
  O.scrollTop = O.scrollHeight;
33413
33413
  });
33414
33414
  }
33415
33415
  }, [_ == null ? void 0 : _.messages, T]), xe(() => {
33416
33416
  if (g === Ce.LOADING || x) {
33417
- const O = $.current;
33417
+ const O = H.current;
33418
33418
  O && B.current && requestAnimationFrame(() => {
33419
33419
  O.scrollTop = O.scrollHeight;
33420
33420
  });
33421
33421
  }
33422
33422
  }, [g, x]);
33423
- const Y = Ui(
33423
+ const Y = ji(
33424
33424
  (O) => {
33425
33425
  m && p(R$({ sessionId: m, model: O }));
33426
33426
  },
33427
33427
  [m, p]
33428
- ), K = Ui(
33428
+ ), K = ji(
33429
33429
  async (O) => {
33430
33430
  m && await R({ message: O });
33431
33431
  },
@@ -33478,7 +33478,7 @@ const Rs = () => {
33478
33478
  /* @__PURE__ */ E.jsxs(
33479
33479
  "div",
33480
33480
  {
33481
- ref: $,
33481
+ ref: H,
33482
33482
  className: Xe(
33483
33483
  "al-overflow-y-auto al-transition-[flex-grow] al-duration-300 ease-in-out",
33484
33484
  {
@@ -33547,7 +33547,7 @@ const Rs = () => {
33547
33547
  isLoading: g === Ce.LOADING,
33548
33548
  placeholder: i,
33549
33549
  autoFocus: a,
33550
- initialMessage: s,
33550
+ initialMessage: o ? void 0 : s,
33551
33551
  components: {
33552
33552
  questionFormLeftActions: /* @__PURE__ */ E.jsx(Tt, { align: "center", children: I.map((O, st) => /* @__PURE__ */ E.jsx("div", { children: O }, st)) })
33553
33553
  }
@@ -33691,7 +33691,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33691
33691
  return b;
33692
33692
  }
33693
33693
  function s(d, p, m, b, g, x) {
33694
- var T, S, w = d.file, k = d.compression, L = x !== u.utf8encode, F = o.transformTo("string", x(w.name)), D = o.transformTo("string", u.utf8encode(w.name)), R = w.comment, $ = o.transformTo("string", x(R)), N = o.transformTo("string", u.utf8encode(R)), B = D.length !== w.name.length, _ = N.length !== R.length, v = "", U = "", j = "", Y = w.dir, K = w.date, I = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
33694
+ var T, S, w = d.file, k = d.compression, L = x !== u.utf8encode, F = o.transformTo("string", x(w.name)), D = o.transformTo("string", u.utf8encode(w.name)), R = w.comment, H = o.transformTo("string", x(R)), N = o.transformTo("string", u.utf8encode(R)), B = D.length !== w.name.length, _ = N.length !== R.length, v = "", U = "", j = "", Y = w.dir, K = w.date, I = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
33695
33695
  p && !m || (I.crc32 = d.crc32, I.compressedSize = d.compressedSize, I.uncompressedSize = d.uncompressedSize);
33696
33696
  var q = 0;
33697
33697
  p && (q |= 8), L || !B && !_ || (q |= 2048);
@@ -33701,10 +33701,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33701
33701
  return rt || (At = yt ? 16893 : 33204), (65535 & At) << 16;
33702
33702
  }(w.unixPermissions, Y)) : (O = 20, V |= function(rt) {
33703
33703
  return 63 & (rt || 0);
33704
- }(w.dosPermissions)), T = K.getUTCHours(), T <<= 6, T |= K.getUTCMinutes(), T <<= 5, T |= K.getUTCSeconds() / 2, S = K.getUTCFullYear() - 1980, S <<= 4, S |= K.getUTCMonth() + 1, S <<= 5, S |= K.getUTCDate(), B && (U = a(1, 1) + a(c(F), 4) + D, v += "up" + a(U.length, 2) + U), _ && (j = a(1, 1) + a(c($), 4) + N, v += "uc" + a(j.length, 2) + j);
33704
+ }(w.dosPermissions)), T = K.getUTCHours(), T <<= 6, T |= K.getUTCMinutes(), T <<= 5, T |= K.getUTCSeconds() / 2, S = K.getUTCFullYear() - 1980, S <<= 4, S |= K.getUTCMonth() + 1, S <<= 5, S |= K.getUTCDate(), B && (U = a(1, 1) + a(c(F), 4) + D, v += "up" + a(U.length, 2) + U), _ && (j = a(1, 1) + a(c(H), 4) + N, v += "uc" + a(j.length, 2) + j);
33705
33705
  var st = "";
33706
33706
  return st += `
33707
- \0`, st += a(q, 2), st += k.magic, st += a(T, 2), st += a(S, 2), st += a(I.crc32, 4), st += a(I.compressedSize, 4), st += a(I.uncompressedSize, 4), st += a(F.length, 2), st += a(v.length, 2), { fileRecord: h.LOCAL_FILE_HEADER + st + F + v, dirRecord: h.CENTRAL_FILE_HEADER + a(O, 2) + st + a($.length, 2) + "\0\0\0\0" + a(V, 4) + a(b, 4) + F + v + $ };
33707
+ \0`, st += a(q, 2), st += k.magic, st += a(T, 2), st += a(S, 2), st += a(I.crc32, 4), st += a(I.compressedSize, 4), st += a(I.uncompressedSize, 4), st += a(F.length, 2), st += a(v.length, 2), { fileRecord: h.LOCAL_FILE_HEADER + st + F + v, dirRecord: h.CENTRAL_FILE_HEADER + a(O, 2) + st + a(H.length, 2) + "\0\0\0\0" + a(V, 4) + a(b, 4) + F + v + H };
33708
33708
  }
33709
33709
  var o = n("../utils"), l = n("../stream/GenericWorker"), u = n("../utf8"), c = n("../crc32"), h = n("../signature");
33710
33710
  function f(d, p, m, b) {
@@ -33875,8 +33875,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33875
33875
  function a(w, k, L) {
33876
33876
  var F, D = o.getTypeOf(k), R = o.extend(L || {}, c);
33877
33877
  R.date = R.date || /* @__PURE__ */ new Date(), R.compression !== null && (R.compression = R.compression.toUpperCase()), typeof R.unixPermissions == "string" && (R.unixPermissions = parseInt(R.unixPermissions, 8)), R.unixPermissions && 16384 & R.unixPermissions && (R.dir = !0), R.dosPermissions && 16 & R.dosPermissions && (R.dir = !0), R.dir && (w = g(w)), R.createFolders && (F = b(w)) && x.call(this, F, !0);
33878
- var $ = D === "string" && R.binary === !1 && R.base64 === !1;
33879
- L && L.binary !== void 0 || (R.binary = !$), (k instanceof h && k.uncompressedSize === 0 || R.dir || !k || k.length === 0) && (R.base64 = !1, R.binary = !0, k = "", R.compression = "STORE", D = "string");
33878
+ var H = D === "string" && R.binary === !1 && R.base64 === !1;
33879
+ L && L.binary !== void 0 || (R.binary = !H), (k instanceof h && k.uncompressedSize === 0 || R.dir || !k || k.length === 0) && (R.base64 = !1, R.binary = !0, k = "", R.compression = "STORE", D = "string");
33880
33880
  var N = null;
33881
33881
  N = k instanceof h || k instanceof l ? k : p.isNode && p.isStream(k) ? new m(w, k) : o.prepareContent(w, k, R.binary, R.optimizedBinaryString, R.base64);
33882
33882
  var B = new f(w, N, R);
@@ -33908,8 +33908,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
33908
33908
  if (arguments.length !== 1) return w = this.root + w, a.call(this, w, k, L), this;
33909
33909
  if (T(w)) {
33910
33910
  var F = w;
33911
- return this.filter(function(R, $) {
33912
- return !$.dir && F.test(R);
33911
+ return this.filter(function(R, H) {
33912
+ return !H.dir && F.test(R);
33913
33913
  });
33914
33914
  }
33915
33915
  var D = this.files[this.root + w];
@@ -34183,7 +34183,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34183
34183
  return a.transformTo(L, F);
34184
34184
  }
34185
34185
  }(S, function(L, F) {
34186
- var D, R = 0, $ = null, N = 0;
34186
+ var D, R = 0, H = null, N = 0;
34187
34187
  for (D = 0; D < F.length; D++) N += F[D].length;
34188
34188
  switch (L) {
34189
34189
  case "string":
@@ -34191,8 +34191,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34191
34191
  case "array":
34192
34192
  return Array.prototype.concat.apply([], F);
34193
34193
  case "uint8array":
34194
- for ($ = new Uint8Array(N), D = 0; D < F.length; D++) $.set(F[D], R), R += F[D].length;
34195
- return $;
34194
+ for (H = new Uint8Array(N), D = 0; D < F.length; D++) H.set(F[D], R), R += F[D].length;
34195
+ return H;
34196
34196
  case "nodebuffer":
34197
34197
  return Buffer.concat(F);
34198
34198
  default:
@@ -34737,9 +34737,9 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34737
34737
  if (!T) return this.resolve([]);
34738
34738
  for (var w = new Array(T), k = 0, L = -1, F = new this(s); ++L < T; ) D(g[L], L);
34739
34739
  return F;
34740
- function D(R, $) {
34740
+ function D(R, H) {
34741
34741
  x.resolve(R).then(function(N) {
34742
- w[$] = N, ++k !== T || S || (S = !0, o.resolve(F, w));
34742
+ w[H] = N, ++k !== T || S || (S = !0, o.resolve(F, w));
34743
34743
  }, function(N) {
34744
34744
  S || (S = !0, o.reject(F, N));
34745
34745
  });
@@ -34928,7 +34928,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34928
34928
  return -1 ^ s;
34929
34929
  };
34930
34930
  }, {}], 46: [function(n, r, i) {
34931
- 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, S = 286, w = 30, k = 19, L = 2 * S + 1, F = 15, D = 3, R = 258, $ = R + D + 1, N = 42, B = 113, _ = 1, v = 2, U = 3, j = 4;
34931
+ 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, S = 286, w = 30, k = 19, L = 2 * S + 1, F = 15, D = 3, R = 258, H = R + D + 1, N = 42, B = 113, _ = 1, v = 2, U = 3, j = 4;
34932
34932
  function Y(A, at) {
34933
34933
  return A.msg = c[at], at;
34934
34934
  }
@@ -34952,8 +34952,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34952
34952
  A.pending_buf[A.pending++] = at >>> 8 & 255, A.pending_buf[A.pending++] = 255 & at;
34953
34953
  }
34954
34954
  function rt(A, at) {
34955
- var et, z, H = A.max_chain_length, X = A.strstart, lt = A.prev_length, ct = A.nice_match, tt = A.strstart > A.w_size - $ ? A.strstart - (A.w_size - $) : 0, dt = A.window, _t = A.w_mask, ft = A.prev, Q = A.strstart + R, ut = dt[X + lt - 1], xt = dt[X + lt];
34956
- A.prev_length >= A.good_match && (H >>= 2), ct > A.lookahead && (ct = A.lookahead);
34955
+ var et, z, $ = A.max_chain_length, X = A.strstart, lt = A.prev_length, ct = A.nice_match, tt = A.strstart > A.w_size - H ? A.strstart - (A.w_size - H) : 0, dt = A.window, _t = A.w_mask, ft = A.prev, Q = A.strstart + R, ut = dt[X + lt - 1], xt = dt[X + lt];
34956
+ A.prev_length >= A.good_match && ($ >>= 2), ct > A.lookahead && (ct = A.lookahead);
34957
34957
  do
34958
34958
  if (dt[(et = at) + lt] === xt && dt[et + lt - 1] === ut && dt[et] === dt[X] && dt[++et] === dt[X + 1]) {
34959
34959
  X += 2, et++;
@@ -34965,28 +34965,28 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34965
34965
  ut = dt[X + lt - 1], xt = dt[X + lt];
34966
34966
  }
34967
34967
  }
34968
- while ((at = ft[at & _t]) > tt && --H != 0);
34968
+ while ((at = ft[at & _t]) > tt && --$ != 0);
34969
34969
  return lt <= A.lookahead ? lt : A.lookahead;
34970
34970
  }
34971
34971
  function yt(A) {
34972
- var at, et, z, H, X, lt, ct, tt, dt, _t, ft = A.w_size;
34972
+ var at, et, z, $, X, lt, ct, tt, dt, _t, ft = A.w_size;
34973
34973
  do {
34974
- if (H = A.window_size - A.lookahead - A.strstart, A.strstart >= ft + (ft - $)) {
34974
+ if ($ = A.window_size - A.lookahead - A.strstart, A.strstart >= ft + (ft - H)) {
34975
34975
  for (s.arraySet(A.window, A.window, ft, ft, 0), A.match_start -= ft, A.strstart -= ft, A.block_start -= ft, at = et = A.hash_size; z = A.head[--at], A.head[at] = ft <= z ? z - ft : 0, --et; ) ;
34976
34976
  for (at = et = ft; z = A.prev[--at], A.prev[at] = ft <= z ? z - ft : 0, --et; ) ;
34977
- H += ft;
34977
+ $ += ft;
34978
34978
  }
34979
34979
  if (A.strm.avail_in === 0) break;
34980
- 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 >= D) for (X = A.strstart - A.insert, A.ins_h = A.window[X], A.ins_h = (A.ins_h << A.hash_shift ^ A.window[X + 1]) & A.hash_mask; A.insert && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[X + D - 1]) & A.hash_mask, A.prev[X & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = X, X++, A.insert--, !(A.lookahead + A.insert < D)); ) ;
34981
- } while (A.lookahead < $ && A.strm.avail_in !== 0);
34980
+ if (lt = A.strm, ct = A.window, tt = A.strstart + A.lookahead, dt = $, _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 >= D) for (X = A.strstart - A.insert, A.ins_h = A.window[X], A.ins_h = (A.ins_h << A.hash_shift ^ A.window[X + 1]) & A.hash_mask; A.insert && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[X + D - 1]) & A.hash_mask, A.prev[X & A.w_mask] = A.head[A.ins_h], A.head[A.ins_h] = X, X++, A.insert--, !(A.lookahead + A.insert < D)); ) ;
34981
+ } while (A.lookahead < H && A.strm.avail_in !== 0);
34982
34982
  }
34983
34983
  function At(A, at) {
34984
34984
  for (var et, z; ; ) {
34985
- if (A.lookahead < $) {
34986
- if (yt(A), A.lookahead < $ && at === h) return _;
34985
+ if (A.lookahead < H) {
34986
+ if (yt(A), A.lookahead < H && at === h) return _;
34987
34987
  if (A.lookahead === 0) break;
34988
34988
  }
34989
- if (et = 0, A.lookahead >= D && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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 - $ && (A.match_length = rt(A, et)), A.match_length >= D) if (z = o._tr_tally(A, A.strstart - A.match_start, A.match_length - D), A.lookahead -= A.match_length, A.match_length <= A.max_lazy_match && A.lookahead >= D) {
34989
+ if (et = 0, A.lookahead >= D && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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 - H && (A.match_length = rt(A, et)), A.match_length >= D) if (z = o._tr_tally(A, A.strstart - A.match_start, A.match_length - D), A.lookahead -= A.match_length, A.match_length <= A.max_lazy_match && A.lookahead >= D) {
34990
34990
  for (A.match_length--; A.strstart++, A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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; ) ;
34991
34991
  A.strstart++;
34992
34992
  } 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;
@@ -34996,13 +34996,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
34996
34996
  return A.insert = A.strstart < D - 1 ? A.strstart : D - 1, at === f ? (V(A, !0), A.strm.avail_out === 0 ? U : j) : A.last_lit && (V(A, !1), A.strm.avail_out === 0) ? _ : v;
34997
34997
  }
34998
34998
  function Et(A, at) {
34999
- for (var et, z, H; ; ) {
35000
- if (A.lookahead < $) {
35001
- if (yt(A), A.lookahead < $ && at === h) return _;
34999
+ for (var et, z, $; ; ) {
35000
+ if (A.lookahead < H) {
35001
+ if (yt(A), A.lookahead < H && at === h) return _;
35002
35002
  if (A.lookahead === 0) break;
35003
35003
  }
35004
- if (et = 0, A.lookahead >= D && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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 = D - 1, et !== 0 && A.prev_length < A.max_lazy_match && A.strstart - et <= A.w_size - $ && (A.match_length = rt(A, et), A.match_length <= 5 && (A.strategy === 1 || A.match_length === D && 4096 < A.strstart - A.match_start) && (A.match_length = D - 1)), A.prev_length >= D && A.match_length <= A.prev_length) {
35005
- for (H = A.strstart + A.lookahead - D, z = o._tr_tally(A, A.strstart - 1 - A.prev_match, A.prev_length - D), 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 + D - 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; ) ;
35004
+ if (et = 0, A.lookahead >= D && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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 = D - 1, et !== 0 && A.prev_length < A.max_lazy_match && A.strstart - et <= A.w_size - H && (A.match_length = rt(A, et), A.match_length <= 5 && (A.strategy === 1 || A.match_length === D && 4096 < A.strstart - A.match_start) && (A.match_length = D - 1)), A.prev_length >= D && A.match_length <= A.prev_length) {
35005
+ for ($ = A.strstart + A.lookahead - D, z = o._tr_tally(A, A.strstart - 1 - A.prev_match, A.prev_length - D), A.lookahead -= A.prev_length - 1, A.prev_length -= 2; ++A.strstart <= $ && (A.ins_h = (A.ins_h << A.hash_shift ^ A.window[A.strstart + D - 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; ) ;
35006
35006
  if (A.match_available = 0, A.match_length = D - 1, A.strstart++, z && (V(A, !1), A.strm.avail_out === 0)) return _;
35007
35007
  } else if (A.match_available) {
35008
35008
  if ((z = o._tr_tally(A, 0, A.window[A.strstart - 1])) && V(A, !1), A.strstart++, A.lookahead--, A.strm.avail_out === 0) return _;
@@ -35010,8 +35010,8 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35010
35010
  }
35011
35011
  return A.match_available && (z = o._tr_tally(A, 0, A.window[A.strstart - 1]), A.match_available = 0), A.insert = A.strstart < D - 1 ? A.strstart : D - 1, at === f ? (V(A, !0), A.strm.avail_out === 0 ? U : j) : A.last_lit && (V(A, !1), A.strm.avail_out === 0) ? _ : v;
35012
35012
  }
35013
- function wt(A, at, et, z, H) {
35014
- this.good_length = A, this.max_lazy = at, this.nice_length = et, this.max_chain = z, this.func = H;
35013
+ function wt(A, at, et, z, $) {
35014
+ this.good_length = A, this.max_lazy = at, this.nice_length = et, this.max_chain = z, this.func = $;
35015
35015
  }
35016
35016
  function Ft() {
35017
35017
  this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = x, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new s.Buf16(2 * L), this.dyn_dtree = new s.Buf16(2 * (2 * w + 1)), this.bl_tree = new s.Buf16(2 * (2 * k + 1)), I(this.dyn_ltree), I(this.dyn_dtree), I(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new s.Buf16(F + 1), this.heap = new s.Buf16(2 * S + 1), I(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new s.Buf16(2 * S + 1), I(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
@@ -35026,13 +35026,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35026
35026
  et.window_size = 2 * et.w_size, I(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 = D - 1, et.match_available = 0, et.ins_h = 0;
35027
35027
  }(A.state), at;
35028
35028
  }
35029
- function me(A, at, et, z, H, X) {
35029
+ function me(A, at, et, z, $, X) {
35030
35030
  if (!A) return p;
35031
35031
  var lt = 1;
35032
- if (at === m && (at = 6), z < 0 ? (lt = 0, z = -z) : 15 < z && (lt = 2, z -= 16), H < 1 || T < H || et !== x || z < 8 || 15 < z || at < 0 || 9 < at || X < 0 || b < X) return Y(A, p);
35032
+ if (at === m && (at = 6), z < 0 ? (lt = 0, z = -z) : 15 < z && (lt = 2, z -= 16), $ < 1 || T < $ || et !== x || z < 8 || 15 < z || at < 0 || 9 < at || X < 0 || b < X) return Y(A, p);
35033
35033
  z === 8 && (z = 9);
35034
35034
  var ct = new Ft();
35035
- 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 + D - 1) / D), 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 = at, ct.strategy = X, ct.method = et, ie(A);
35035
+ 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 = $ + 7, ct.hash_size = 1 << ct.hash_bits, ct.hash_mask = ct.hash_size - 1, ct.hash_shift = ~~((ct.hash_bits + D - 1) / D), 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 << $ + 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 = at, ct.strategy = X, ct.method = et, ie(A);
35036
35036
  }
35037
35037
  a = [new wt(0, 0, 0, 0, function(A, at) {
35038
35038
  var et = 65535;
@@ -35043,7 +35043,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35043
35043
  }
35044
35044
  A.strstart += A.lookahead, A.lookahead = 0;
35045
35045
  var z = A.block_start + et;
35046
- if ((A.strstart === 0 || A.strstart >= z) && (A.lookahead = A.strstart - z, A.strstart = z, V(A, !1), A.strm.avail_out === 0) || A.strstart - A.block_start >= A.w_size - $ && (V(A, !1), A.strm.avail_out === 0)) return _;
35046
+ if ((A.strstart === 0 || A.strstart >= z) && (A.lookahead = A.strstart - z, A.strstart = z, V(A, !1), A.strm.avail_out === 0) || A.strstart - A.block_start >= A.w_size - H && (V(A, !1), A.strm.avail_out === 0)) return _;
35047
35047
  }
35048
35048
  return A.insert = 0, at === f ? (V(A, !0), A.strm.avail_out === 0 ? U : j) : (A.strstart > A.block_start && (V(A, !1), A.strm.avail_out), _);
35049
35049
  }), 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, at) {
@@ -35051,7 +35051,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35051
35051
  }, i.deflateInit2 = me, i.deflateReset = ie, i.deflateResetKeep = Ht, i.deflateSetHeader = function(A, at) {
35052
35052
  return A && A.state ? A.state.wrap !== 2 ? p : (A.state.gzhead = at, d) : p;
35053
35053
  }, i.deflate = function(A, at) {
35054
- var et, z, H, X;
35054
+ var et, z, $, X;
35055
35055
  if (!A || !A.state || 5 < at || at < 0) return A ? Y(A, p) : p;
35056
35056
  if (z = A.state, !A.output || !A.input && A.avail_in !== 0 || z.status === 666 && at !== f) return Y(A, A.avail_out === 0 ? -5 : p);
35057
35057
  if (z.strm = A, et = z.last_flush, z.last_flush = at, z.status === N) if (z.wrap === 2) A.adler = 0, O(z, 31), O(z, 139), O(z, 8), z.gzhead ? (O(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)), O(z, 255 & z.gzhead.time), O(z, z.gzhead.time >> 8 & 255), O(z, z.gzhead.time >> 16 & 255), O(z, z.gzhead.time >> 24 & 255), O(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), O(z, 255 & z.gzhead.os), z.gzhead.extra && z.gzhead.extra.length && (O(z, 255 & z.gzhead.extra.length), O(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) : (O(z, 0), O(z, 0), O(z, 0), O(z, 0), O(z, 0), O(z, z.level === 9 ? 2 : 2 <= z.strategy || z.level < 2 ? 4 : 0), O(z, 3), z.status = B);
@@ -35060,30 +35060,30 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35060
35060
  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, st(z, lt), z.strstart !== 0 && (st(z, A.adler >>> 16), st(z, 65535 & A.adler)), A.adler = 1;
35061
35061
  }
35062
35062
  if (z.status === 69) if (z.gzhead.extra) {
35063
- for (H = z.pending; z.gzindex < (65535 & z.gzhead.extra.length) && (z.pending !== z.pending_buf_size || (z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), q(A), H = z.pending, z.pending !== z.pending_buf_size)); ) O(z, 255 & z.gzhead.extra[z.gzindex]), z.gzindex++;
35064
- z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), z.gzindex === z.gzhead.extra.length && (z.gzindex = 0, z.status = 73);
35063
+ for ($ = z.pending; z.gzindex < (65535 & z.gzhead.extra.length) && (z.pending !== z.pending_buf_size || (z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), q(A), $ = z.pending, z.pending !== z.pending_buf_size)); ) O(z, 255 & z.gzhead.extra[z.gzindex]), z.gzindex++;
35064
+ z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), z.gzindex === z.gzhead.extra.length && (z.gzindex = 0, z.status = 73);
35065
35065
  } else z.status = 73;
35066
35066
  if (z.status === 73) if (z.gzhead.name) {
35067
- H = z.pending;
35067
+ $ = z.pending;
35068
35068
  do {
35069
- if (z.pending === z.pending_buf_size && (z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), q(A), H = z.pending, z.pending === z.pending_buf_size)) {
35069
+ if (z.pending === z.pending_buf_size && (z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), q(A), $ = z.pending, z.pending === z.pending_buf_size)) {
35070
35070
  X = 1;
35071
35071
  break;
35072
35072
  }
35073
35073
  X = z.gzindex < z.gzhead.name.length ? 255 & z.gzhead.name.charCodeAt(z.gzindex++) : 0, O(z, X);
35074
35074
  } while (X !== 0);
35075
- z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), X === 0 && (z.gzindex = 0, z.status = 91);
35075
+ z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), X === 0 && (z.gzindex = 0, z.status = 91);
35076
35076
  } else z.status = 91;
35077
35077
  if (z.status === 91) if (z.gzhead.comment) {
35078
- H = z.pending;
35078
+ $ = z.pending;
35079
35079
  do {
35080
- if (z.pending === z.pending_buf_size && (z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), q(A), H = z.pending, z.pending === z.pending_buf_size)) {
35080
+ if (z.pending === z.pending_buf_size && (z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), q(A), $ = z.pending, z.pending === z.pending_buf_size)) {
35081
35081
  X = 1;
35082
35082
  break;
35083
35083
  }
35084
35084
  X = z.gzindex < z.gzhead.comment.length ? 255 & z.gzhead.comment.charCodeAt(z.gzindex++) : 0, O(z, X);
35085
35085
  } while (X !== 0);
35086
- z.gzhead.hcrc && z.pending > H && (A.adler = u(A.adler, z.pending_buf, z.pending - H, H)), X === 0 && (z.status = 103);
35086
+ z.gzhead.hcrc && z.pending > $ && (A.adler = u(A.adler, z.pending_buf, z.pending - $, $)), X === 0 && (z.status = 103);
35087
35087
  } else z.status = 103;
35088
35088
  if (z.status === 103 && (z.gzhead.hcrc ? (z.pending + 2 > z.pending_buf_size && q(A), z.pending + 2 <= z.pending_buf_size && (O(z, 255 & A.adler), O(z, A.adler >> 8 & 255), A.adler = 0, z.status = B)) : z.status = B), z.pending !== 0) {
35089
35089
  if (q(A), A.avail_out === 0) return z.last_flush = -1, d;
@@ -35124,10 +35124,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35124
35124
  var at;
35125
35125
  return A && A.state ? (at = A.state.status) !== N && at !== 69 && at !== 73 && at !== 91 && at !== 103 && at !== B && at !== 666 ? Y(A, p) : (A.state = null, at === B ? Y(A, -3) : d) : p;
35126
35126
  }, i.deflateSetDictionary = function(A, at) {
35127
- var et, z, H, X, lt, ct, tt, dt, _t = at.length;
35127
+ var et, z, $, X, lt, ct, tt, dt, _t = at.length;
35128
35128
  if (!A || !A.state || (X = (et = A.state).wrap) === 2 || X === 1 && et.status !== N || et.lookahead) return p;
35129
35129
  for (X === 1 && (A.adler = l(A.adler, at, _t, 0)), et.wrap = 0, _t >= et.w_size && (X === 0 && (I(et.head), et.strstart = 0, et.block_start = 0, et.insert = 0), dt = new s.Buf8(et.w_size), s.arraySet(dt, at, _t - et.w_size, et.w_size, 0), at = 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 = at, yt(et); et.lookahead >= D; ) {
35130
- for (z = et.strstart, H = et.lookahead - (D - 1); et.ins_h = (et.ins_h << et.hash_shift ^ et.window[z + D - 1]) & et.hash_mask, et.prev[z & et.w_mask] = et.head[et.ins_h], et.head[et.ins_h] = z, z++, --H; ) ;
35130
+ for (z = et.strstart, $ = et.lookahead - (D - 1); et.ins_h = (et.ins_h << et.hash_shift ^ et.window[z + D - 1]) & et.hash_mask, et.prev[z & et.w_mask] = et.head[et.ins_h], et.head[et.ins_h] = z, z++, --$; ) ;
35131
35131
  et.strstart = z, et.lookahead = D - 1, yt(et);
35132
35132
  }
35133
35133
  return et.strstart += et.lookahead, et.block_start = et.strstart, et.insert = et.lookahead, et.lookahead = 0, et.match_length = et.prev_length = D - 1, et.match_available = 0, A.next_in = ct, A.input = tt, A.avail_in = lt, et.wrap = X, d;
@@ -35138,7 +35138,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35138
35138
  };
35139
35139
  }, {}], 48: [function(n, r, i) {
35140
35140
  r.exports = function(a, s) {
35141
- var o, l, u, c, h, f, d, p, m, b, g, x, T, S, w, k, L, F, D, R, $, N, B, _, v;
35141
+ var o, l, u, c, h, f, d, p, m, b, g, x, T, S, w, k, L, F, D, R, H, N, B, _, v;
35142
35142
  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, S = o.lencode, w = o.distcode, k = (1 << o.lenbits) - 1, L = (1 << o.distbits) - 1;
35143
35143
  t: do {
35144
35144
  T < 15 && (x += _[l++] << T, T += 8, x += _[l++] << T, T += 8), F = S[x & k];
@@ -35167,36 +35167,36 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35167
35167
  a.msg = "invalid distance code", o.mode = 30;
35168
35168
  break t;
35169
35169
  }
35170
- if ($ = 65535 & F, T < (D &= 15) && (x += _[l++] << T, (T += 8) < D && (x += _[l++] << T, T += 8)), d < ($ += x & (1 << D) - 1)) {
35170
+ if (H = 65535 & F, T < (D &= 15) && (x += _[l++] << T, (T += 8) < D && (x += _[l++] << T, T += 8)), d < (H += x & (1 << D) - 1)) {
35171
35171
  a.msg = "invalid distance too far back", o.mode = 30;
35172
35172
  break t;
35173
35173
  }
35174
- if (x >>>= D, T -= D, (D = c - h) < $) {
35175
- if (m < (D = $ - D) && o.sane) {
35174
+ if (x >>>= D, T -= D, (D = c - h) < H) {
35175
+ if (m < (D = H - D) && o.sane) {
35176
35176
  a.msg = "invalid distance too far back", o.mode = 30;
35177
35177
  break t;
35178
35178
  }
35179
35179
  if (B = g, (N = 0) === b) {
35180
35180
  if (N += p - D, D < R) {
35181
35181
  for (R -= D; v[c++] = g[N++], --D; ) ;
35182
- N = c - $, B = v;
35182
+ N = c - H, B = v;
35183
35183
  }
35184
35184
  } else if (b < D) {
35185
35185
  if (N += p + b - D, (D -= b) < R) {
35186
35186
  for (R -= D; v[c++] = g[N++], --D; ) ;
35187
35187
  if (N = 0, b < R) {
35188
35188
  for (R -= D = b; v[c++] = g[N++], --D; ) ;
35189
- N = c - $, B = v;
35189
+ N = c - H, B = v;
35190
35190
  }
35191
35191
  }
35192
35192
  } else if (N += b - D, D < R) {
35193
35193
  for (R -= D; v[c++] = g[N++], --D; ) ;
35194
- N = c - $, B = v;
35194
+ N = c - H, B = v;
35195
35195
  }
35196
35196
  for (; 2 < R; ) v[c++] = B[N++], v[c++] = B[N++], v[c++] = B[N++], R -= 3;
35197
35197
  R && (v[c++] = B[N++], 1 < R && (v[c++] = B[N++]));
35198
35198
  } else {
35199
- for (N = c - $; v[c++] = v[N++], v[c++] = v[N++], v[c++] = v[N++], 2 < (R -= 3); ) ;
35199
+ for (N = c - H; v[c++] = v[N++], v[c++] = v[N++], v[c++] = v[N++], 2 < (R -= 3); ) ;
35200
35200
  R && (v[c++] = v[N++], 1 < R && (v[c++] = v[N++]));
35201
35201
  }
35202
35202
  break;
@@ -35244,14 +35244,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35244
35244
  }
35245
35245
  N.lencode = L, N.lenbits = 9, N.distcode = F, N.distbits = 5;
35246
35246
  }
35247
- function $(N, B, _, v) {
35247
+ function H(N, B, _, v) {
35248
35248
  var U, j = N.state;
35249
35249
  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 < (U = j.wsize - j.wnext) && (U = v), a.arraySet(j.window, B, _ - v, U, j.wnext), (v -= U) ? (a.arraySet(j.window, B, _ - v, v, 0), j.wnext = v, j.whave = j.wsize) : (j.wnext += U, j.wnext === j.wsize && (j.wnext = 0), j.whave < j.wsize && (j.whave += U))), 0;
35250
35250
  }
35251
35251
  i.inflateReset = S, i.inflateReset2 = w, i.inflateResetKeep = T, i.inflateInit = function(N) {
35252
35252
  return k(N, 15);
35253
35253
  }, i.inflateInit2 = k, i.inflate = function(N, B) {
35254
- var _, v, U, j, Y, K, I, q, V, O, st, rt, yt, At, Et, wt, Ft, Ht, ie, me, A, at, et, z, H = 0, X = new a.Buf8(4), lt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
35254
+ var _, v, U, j, Y, K, I, q, V, O, st, rt, yt, At, Et, wt, Ft, Ht, ie, me, A, at, et, z, $ = 0, X = new a.Buf8(4), lt = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
35255
35255
  if (!N || !N.state || !N.output || !N.input && N.avail_in !== 0) return d;
35256
35256
  (_ = N.state).mode === 12 && (_.mode = 13), Y = N.next_out, U = N.output, I = N.avail_out, j = N.next_in, v = N.input, K = N.avail_in, q = _.hold, V = _.bits, O = K, st = I, at = f;
35257
35257
  t: for (; ; ) switch (_.mode) {
@@ -35431,7 +35431,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35431
35431
  _.have = 0, _.mode = 19;
35432
35432
  case 19:
35433
35433
  for (; _.have < _.nlen + _.ndist; ) {
35434
- for (; wt = (H = _.lencode[q & (1 << _.lenbits) - 1]) >>> 16 & 255, Ft = 65535 & H, !((Et = H >>> 24) <= V); ) {
35434
+ for (; wt = ($ = _.lencode[q & (1 << _.lenbits) - 1]) >>> 16 & 255, Ft = 65535 & $, !((Et = $ >>> 24) <= V); ) {
35435
35435
  if (K === 0) break t;
35436
35436
  K--, q += v[j++] << V, V += 8;
35437
35437
  }
@@ -35488,12 +35488,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35488
35488
  N.next_out = Y, N.avail_out = I, N.next_in = j, N.avail_in = K, _.hold = q, _.bits = V, l(N, st), Y = N.next_out, U = N.output, I = N.avail_out, j = N.next_in, v = N.input, K = N.avail_in, q = _.hold, V = _.bits, _.mode === 12 && (_.back = -1);
35489
35489
  break;
35490
35490
  }
35491
- for (_.back = 0; wt = (H = _.lencode[q & (1 << _.lenbits) - 1]) >>> 16 & 255, Ft = 65535 & H, !((Et = H >>> 24) <= V); ) {
35491
+ for (_.back = 0; wt = ($ = _.lencode[q & (1 << _.lenbits) - 1]) >>> 16 & 255, Ft = 65535 & $, !((Et = $ >>> 24) <= V); ) {
35492
35492
  if (K === 0) break t;
35493
35493
  K--, q += v[j++] << V, V += 8;
35494
35494
  }
35495
35495
  if (wt && !(240 & wt)) {
35496
- for (Ht = Et, ie = wt, me = Ft; wt = (H = _.lencode[me + ((q & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= V); ) {
35496
+ for (Ht = Et, ie = wt, me = Ft; wt = ($ = _.lencode[me + ((q & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & $, !(Ht + (Et = $ >>> 24) <= V); ) {
35497
35497
  if (K === 0) break t;
35498
35498
  K--, q += v[j++] << V, V += 8;
35499
35499
  }
@@ -35522,12 +35522,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35522
35522
  }
35523
35523
  _.was = _.length, _.mode = 23;
35524
35524
  case 23:
35525
- for (; wt = (H = _.distcode[q & (1 << _.distbits) - 1]) >>> 16 & 255, Ft = 65535 & H, !((Et = H >>> 24) <= V); ) {
35525
+ for (; wt = ($ = _.distcode[q & (1 << _.distbits) - 1]) >>> 16 & 255, Ft = 65535 & $, !((Et = $ >>> 24) <= V); ) {
35526
35526
  if (K === 0) break t;
35527
35527
  K--, q += v[j++] << V, V += 8;
35528
35528
  }
35529
35529
  if (!(240 & wt)) {
35530
- for (Ht = Et, ie = wt, me = Ft; wt = (H = _.distcode[me + ((q & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & H, !(Ht + (Et = H >>> 24) <= V); ) {
35530
+ for (Ht = Et, ie = wt, me = Ft; wt = ($ = _.distcode[me + ((q & (1 << Ht + ie) - 1) >> Ht)]) >>> 16 & 255, Ft = 65535 & $, !(Ht + (Et = $ >>> 24) <= V); ) {
35531
35531
  if (K === 0) break t;
35532
35532
  K--, q += v[j++] << V, V += 8;
35533
35533
  }
@@ -35605,7 +35605,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35605
35605
  default:
35606
35606
  return d;
35607
35607
  }
35608
- return N.next_out = Y, N.avail_out = I, N.next_in = j, N.avail_in = K, _.hold = q, _.bits = V, (_.wsize || st !== N.avail_out && _.mode < 30 && (_.mode < 27 || B !== 4)) && $(N, N.output, N.next_out, st - N.avail_out) ? (_.mode = 31, -4) : (O -= N.avail_in, st -= N.avail_out, N.total_in += O, N.total_out += st, _.total += st, _.wrap && st && (N.adler = _.check = _.flags ? o(_.check, U, st, N.next_out - st) : s(_.check, U, st, N.next_out - st)), N.data_type = _.bits + (_.last ? 64 : 0) + (_.mode === 12 ? 128 : 0) + (_.mode === 20 || _.mode === 15 ? 256 : 0), (O == 0 && st === 0 || B === 4) && at === f && (at = -5), at);
35608
+ return N.next_out = Y, N.avail_out = I, N.next_in = j, N.avail_in = K, _.hold = q, _.bits = V, (_.wsize || st !== N.avail_out && _.mode < 30 && (_.mode < 27 || B !== 4)) && H(N, N.output, N.next_out, st - N.avail_out) ? (_.mode = 31, -4) : (O -= N.avail_in, st -= N.avail_out, N.total_in += O, N.total_out += st, _.total += st, _.wrap && st && (N.adler = _.check = _.flags ? o(_.check, U, st, N.next_out - st) : s(_.check, U, st, N.next_out - st)), N.data_type = _.bits + (_.last ? 64 : 0) + (_.mode === 12 ? 128 : 0) + (_.mode === 20 || _.mode === 15 ? 256 : 0), (O == 0 && st === 0 || B === 4) && at === f && (at = -5), at);
35609
35609
  }, i.inflateEnd = function(N) {
35610
35610
  if (!N || !N.state) return d;
35611
35611
  var B = N.state;
@@ -35615,15 +35615,15 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35615
35615
  return N && N.state && 2 & (_ = N.state).wrap ? ((_.head = B).done = !1, f) : d;
35616
35616
  }, i.inflateSetDictionary = function(N, B) {
35617
35617
  var _, v = B.length;
35618
- return N && N.state ? (_ = N.state).wrap !== 0 && _.mode !== 11 ? d : _.mode === 11 && s(1, B, v, 0) !== _.check ? -3 : $(N, B, v, v) ? (_.mode = 31, -4) : (_.havedict = 1, f) : d;
35618
+ return N && N.state ? (_ = N.state).wrap !== 0 && _.mode !== 11 ? d : _.mode === 11 && s(1, B, v, 0) !== _.check ? -3 : H(N, B, v, v) ? (_.mode = 31, -4) : (_.havedict = 1, f) : d;
35619
35619
  }, i.inflateInfo = "pako inflate (from Nodeca project)";
35620
35620
  }, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(n, r, i) {
35621
35621
  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];
35622
35622
  r.exports = function(c, h, f, d, p, m, b, g) {
35623
- var x, T, S, w, k, L, F, D, R, $ = g.bits, N = 0, B = 0, _ = 0, v = 0, U = 0, j = 0, Y = 0, K = 0, I = 0, q = 0, V = null, O = 0, st = new a.Buf16(16), rt = new a.Buf16(16), yt = null, At = 0;
35623
+ var x, T, S, w, k, L, F, D, R, H = g.bits, N = 0, B = 0, _ = 0, v = 0, U = 0, j = 0, Y = 0, K = 0, I = 0, q = 0, V = null, O = 0, st = new a.Buf16(16), rt = new a.Buf16(16), yt = null, At = 0;
35624
35624
  for (N = 0; N <= 15; N++) st[N] = 0;
35625
35625
  for (B = 0; B < d; B++) st[h[f + B]]++;
35626
- for (U = $, v = 15; 1 <= v && st[v] === 0; v--) ;
35626
+ for (U = H, v = 15; 1 <= v && st[v] === 0; v--) ;
35627
35627
  if (v < U && (U = v), v === 0) return p[m++] = 20971520, p[m++] = 20971520, g.bits = 1, 0;
35628
35628
  for (_ = 1; _ < v && st[_] === 0; _++) ;
35629
35629
  for (U < _ && (U = _), N = K = 1; N <= 15; N++) if (K <<= 1, (K -= st[N]) < 0) return -1;
@@ -35650,11 +35650,11 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35650
35650
  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" };
35651
35651
  }, {}], 52: [function(n, r, i) {
35652
35652
  var a = n("../utils/common"), s = 0, o = 1;
35653
- function l(H) {
35654
- for (var X = H.length; 0 <= --X; ) H[X] = 0;
35653
+ function l($) {
35654
+ for (var X = $.length; 0 <= --X; ) $[X] = 0;
35655
35655
  }
35656
- 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, S = 16, w = 17, k = 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], F = [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], D = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], R = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], $ = new Array(2 * (f + 2));
35657
- l($);
35656
+ 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, S = 16, w = 17, k = 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], F = [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], D = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], R = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], H = new Array(2 * (f + 2));
35657
+ l(H);
35658
35658
  var N = new Array(2 * d);
35659
35659
  l(N);
35660
35660
  var B = new Array(512);
@@ -35664,134 +35664,134 @@ https://github.com/nodeca/pako/blob/main/LICENSE
35664
35664
  var v = new Array(c);
35665
35665
  l(v);
35666
35666
  var U, j, Y, K = new Array(d);
35667
- function I(H, X, lt, ct, tt) {
35668
- this.static_tree = H, this.extra_bits = X, this.extra_base = lt, this.elems = ct, this.max_length = tt, this.has_stree = H && H.length;
35667
+ function I($, X, lt, ct, tt) {
35668
+ this.static_tree = $, this.extra_bits = X, this.extra_base = lt, this.elems = ct, this.max_length = tt, this.has_stree = $ && $.length;
35669
35669
  }
35670
- function q(H, X) {
35671
- this.dyn_tree = H, this.max_code = 0, this.stat_desc = X;
35670
+ function q($, X) {
35671
+ this.dyn_tree = $, this.max_code = 0, this.stat_desc = X;
35672
35672
  }
35673
- function V(H) {
35674
- return H < 256 ? B[H] : B[256 + (H >>> 7)];
35673
+ function V($) {
35674
+ return $ < 256 ? B[$] : B[256 + ($ >>> 7)];
35675
35675
  }
35676
- function O(H, X) {
35677
- H.pending_buf[H.pending++] = 255 & X, H.pending_buf[H.pending++] = X >>> 8 & 255;
35676
+ function O($, X) {
35677
+ $.pending_buf[$.pending++] = 255 & X, $.pending_buf[$.pending++] = X >>> 8 & 255;
35678
35678
  }
35679
- function st(H, X, lt) {
35680
- H.bi_valid > g - lt ? (H.bi_buf |= X << H.bi_valid & 65535, O(H, H.bi_buf), H.bi_buf = X >> g - H.bi_valid, H.bi_valid += lt - g) : (H.bi_buf |= X << H.bi_valid & 65535, H.bi_valid += lt);
35679
+ function st($, X, lt) {
35680
+ $.bi_valid > g - lt ? ($.bi_buf |= X << $.bi_valid & 65535, O($, $.bi_buf), $.bi_buf = X >> g - $.bi_valid, $.bi_valid += lt - g) : ($.bi_buf |= X << $.bi_valid & 65535, $.bi_valid += lt);
35681
35681
  }
35682
- function rt(H, X, lt) {
35683
- st(H, lt[2 * X], lt[2 * X + 1]);
35682
+ function rt($, X, lt) {
35683
+ st($, lt[2 * X], lt[2 * X + 1]);
35684
35684
  }
35685
- function yt(H, X) {
35686
- for (var lt = 0; lt |= 1 & H, H >>>= 1, lt <<= 1, 0 < --X; ) ;
35685
+ function yt($, X) {
35686
+ for (var lt = 0; lt |= 1 & $, $ >>>= 1, lt <<= 1, 0 < --X; ) ;
35687
35687
  return lt >>> 1;
35688
35688
  }
35689
- function At(H, X, lt) {
35689
+ function At($, X, lt) {
35690
35690
  var ct, tt, dt = new Array(b + 1), _t = 0;
35691
35691
  for (ct = 1; ct <= b; ct++) dt[ct] = _t = _t + lt[ct - 1] << 1;
35692
35692
  for (tt = 0; tt <= X; tt++) {
35693
- var ft = H[2 * tt + 1];
35694
- ft !== 0 && (H[2 * tt] = yt(dt[ft]++, ft));
35693
+ var ft = $[2 * tt + 1];
35694
+ ft !== 0 && ($[2 * tt] = yt(dt[ft]++, ft));
35695
35695
  }
35696
35696
  }
35697
- function Et(H) {
35697
+ function Et($) {
35698
35698
  var X;
35699
- for (X = 0; X < f; X++) H.dyn_ltree[2 * X] = 0;
35700
- for (X = 0; X < d; X++) H.dyn_dtree[2 * X] = 0;
35701
- for (X = 0; X < p; X++) H.bl_tree[2 * X] = 0;
35702
- H.dyn_ltree[2 * T] = 1, H.opt_len = H.static_len = 0, H.last_lit = H.matches = 0;
35699
+ for (X = 0; X < f; X++) $.dyn_ltree[2 * X] = 0;
35700
+ for (X = 0; X < d; X++) $.dyn_dtree[2 * X] = 0;
35701
+ for (X = 0; X < p; X++) $.bl_tree[2 * X] = 0;
35702
+ $.dyn_ltree[2 * T] = 1, $.opt_len = $.static_len = 0, $.last_lit = $.matches = 0;
35703
35703
  }
35704
- function wt(H) {
35705
- 8 < H.bi_valid ? O(H, H.bi_buf) : 0 < H.bi_valid && (H.pending_buf[H.pending++] = H.bi_buf), H.bi_buf = 0, H.bi_valid = 0;
35704
+ function wt($) {
35705
+ 8 < $.bi_valid ? O($, $.bi_buf) : 0 < $.bi_valid && ($.pending_buf[$.pending++] = $.bi_buf), $.bi_buf = 0, $.bi_valid = 0;
35706
35706
  }
35707
- function Ft(H, X, lt, ct) {
35707
+ function Ft($, X, lt, ct) {
35708
35708
  var tt = 2 * X, dt = 2 * lt;
35709
- return H[tt] < H[dt] || H[tt] === H[dt] && ct[X] <= ct[lt];
35709
+ return $[tt] < $[dt] || $[tt] === $[dt] && ct[X] <= ct[lt];
35710
35710
  }
35711
- function Ht(H, X, lt) {
35712
- for (var ct = H.heap[lt], tt = lt << 1; tt <= H.heap_len && (tt < H.heap_len && Ft(X, H.heap[tt + 1], H.heap[tt], H.depth) && tt++, !Ft(X, ct, H.heap[tt], H.depth)); ) H.heap[lt] = H.heap[tt], lt = tt, tt <<= 1;
35713
- H.heap[lt] = ct;
35711
+ function Ht($, X, lt) {
35712
+ for (var ct = $.heap[lt], tt = lt << 1; tt <= $.heap_len && (tt < $.heap_len && Ft(X, $.heap[tt + 1], $.heap[tt], $.depth) && tt++, !Ft(X, ct, $.heap[tt], $.depth)); ) $.heap[lt] = $.heap[tt], lt = tt, tt <<= 1;
35713
+ $.heap[lt] = ct;
35714
35714
  }
35715
- function ie(H, X, lt) {
35715
+ function ie($, X, lt) {
35716
35716
  var ct, tt, dt, _t, ft = 0;
35717
- 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, X) : (rt(H, (dt = _[tt]) + h + 1, X), (_t = L[dt]) !== 0 && st(H, tt -= v[dt], _t), rt(H, dt = V(--ct), lt), (_t = F[dt]) !== 0 && st(H, ct -= K[dt], _t)), ft < H.last_lit; ) ;
35718
- rt(H, T, X);
35717
+ if ($.last_lit !== 0) for (; ct = $.pending_buf[$.d_buf + 2 * ft] << 8 | $.pending_buf[$.d_buf + 2 * ft + 1], tt = $.pending_buf[$.l_buf + ft], ft++, ct === 0 ? rt($, tt, X) : (rt($, (dt = _[tt]) + h + 1, X), (_t = L[dt]) !== 0 && st($, tt -= v[dt], _t), rt($, dt = V(--ct), lt), (_t = F[dt]) !== 0 && st($, ct -= K[dt], _t)), ft < $.last_lit; ) ;
35718
+ rt($, T, X);
35719
35719
  }
35720
- function me(H, X) {
35720
+ function me($, X) {
35721
35721
  var lt, ct, tt, dt = X.dyn_tree, _t = X.stat_desc.static_tree, ft = X.stat_desc.has_stree, Q = X.stat_desc.elems, ut = -1;
35722
- 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;
35723
- 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]);
35724
- for (X.max_code = ut, lt = H.heap_len >> 1; 1 <= lt; lt--) Ht(H, dt, lt);
35725
- 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; ) ;
35726
- H.heap[--H.heap_max] = H.heap[1], function(xt, zt) {
35727
- var Qt, fe, De, te, ke, qe, ue = zt.dyn_tree, yn = zt.max_code, xn = zt.stat_desc.static_tree, mi = zt.stat_desc.has_stree, gi = zt.stat_desc.extra_bits, Ds = zt.stat_desc.extra_base, Bn = zt.stat_desc.max_length, bi = 0;
35722
+ for ($.heap_len = 0, $.heap_max = m, lt = 0; lt < Q; lt++) dt[2 * lt] !== 0 ? ($.heap[++$.heap_len] = ut = lt, $.depth[lt] = 0) : dt[2 * lt + 1] = 0;
35723
+ for (; $.heap_len < 2; ) dt[2 * (tt = $.heap[++$.heap_len] = ut < 2 ? ++ut : 0)] = 1, $.depth[tt] = 0, $.opt_len--, ft && ($.static_len -= _t[2 * tt + 1]);
35724
+ for (X.max_code = ut, lt = $.heap_len >> 1; 1 <= lt; lt--) Ht($, dt, lt);
35725
+ for (tt = Q; lt = $.heap[1], $.heap[1] = $.heap[$.heap_len--], Ht($, dt, 1), ct = $.heap[1], $.heap[--$.heap_max] = lt, $.heap[--$.heap_max] = ct, dt[2 * tt] = dt[2 * lt] + dt[2 * ct], $.depth[tt] = ($.depth[lt] >= $.depth[ct] ? $.depth[lt] : $.depth[ct]) + 1, dt[2 * lt + 1] = dt[2 * ct + 1] = tt, $.heap[1] = tt++, Ht($, dt, 1), 2 <= $.heap_len; ) ;
35726
+ $.heap[--$.heap_max] = $.heap[1], function(xt, zt) {
35727
+ var Qt, fe, De, te, ke, qe, 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, Ds = zt.stat_desc.extra_base, Bn = zt.stat_desc.max_length, yi = 0;
35728
35728
  for (te = 0; te <= b; te++) xt.bl_count[te] = 0;
35729
- 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, bi++), ue[2 * fe + 1] = te, yn < fe || (xt.bl_count[te]++, ke = 0, Ds <= fe && (ke = gi[fe - Ds]), qe = ue[2 * fe], xt.opt_len += qe * (te + ke), mi && (xt.static_len += qe * (xn[2 * fe + 1] + ke)));
35730
- if (bi !== 0) {
35729
+ 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, Ds <= fe && (ke = bi[fe - Ds]), qe = ue[2 * fe], xt.opt_len += qe * (te + ke), gi && (xt.static_len += qe * (xn[2 * fe + 1] + ke)));
35730
+ if (yi !== 0) {
35731
35731
  do {
35732
35732
  for (te = Bn - 1; xt.bl_count[te] === 0; ) te--;
35733
- xt.bl_count[te]--, xt.bl_count[te + 1] += 2, xt.bl_count[Bn]--, bi -= 2;
35734
- } while (0 < bi);
35733
+ xt.bl_count[te]--, xt.bl_count[te + 1] += 2, xt.bl_count[Bn]--, yi -= 2;
35734
+ } while (0 < yi);
35735
35735
  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--);
35736
35736
  }
35737
- }(H, X), At(dt, ut, H.bl_count);
35737
+ }($, X), At(dt, ut, $.bl_count);
35738
35738
  }
35739
- function A(H, X, lt) {
35739
+ function A($, X, lt) {
35740
35740
  var ct, tt, dt = -1, _t = X[1], ft = 0, Q = 7, ut = 4;
35741
- for (_t === 0 && (Q = 138, ut = 3), X[2 * (lt + 1) + 1] = 65535, ct = 0; ct <= lt; ct++) tt = _t, _t = X[2 * (ct + 1) + 1], ++ft < Q && tt === _t || (ft < ut ? H.bl_tree[2 * tt] += ft : tt !== 0 ? (tt !== dt && H.bl_tree[2 * tt]++, H.bl_tree[2 * S]++) : ft <= 10 ? H.bl_tree[2 * w]++ : H.bl_tree[2 * k]++, dt = tt, ut = (ft = 0) === _t ? (Q = 138, 3) : tt === _t ? (Q = 6, 3) : (Q = 7, 4));
35741
+ for (_t === 0 && (Q = 138, ut = 3), X[2 * (lt + 1) + 1] = 65535, ct = 0; ct <= lt; ct++) tt = _t, _t = X[2 * (ct + 1) + 1], ++ft < Q && tt === _t || (ft < ut ? $.bl_tree[2 * tt] += ft : tt !== 0 ? (tt !== dt && $.bl_tree[2 * tt]++, $.bl_tree[2 * S]++) : ft <= 10 ? $.bl_tree[2 * w]++ : $.bl_tree[2 * k]++, dt = tt, ut = (ft = 0) === _t ? (Q = 138, 3) : tt === _t ? (Q = 6, 3) : (Q = 7, 4));
35742
35742
  }
35743
- function at(H, X, lt) {
35743
+ function at($, X, lt) {
35744
35744
  var ct, tt, dt = -1, _t = X[1], ft = 0, Q = 7, ut = 4;
35745
35745
  for (_t === 0 && (Q = 138, ut = 3), ct = 0; ct <= lt; ct++) if (tt = _t, _t = X[2 * (ct + 1) + 1], !(++ft < Q && tt === _t)) {
35746
- if (ft < ut) for (; rt(H, tt, H.bl_tree), --ft != 0; ) ;
35747
- else tt !== 0 ? (tt !== dt && (rt(H, tt, H.bl_tree), ft--), rt(H, S, H.bl_tree), st(H, ft - 3, 2)) : ft <= 10 ? (rt(H, w, H.bl_tree), st(H, ft - 3, 3)) : (rt(H, k, H.bl_tree), st(H, ft - 11, 7));
35746
+ if (ft < ut) for (; rt($, tt, $.bl_tree), --ft != 0; ) ;
35747
+ else tt !== 0 ? (tt !== dt && (rt($, tt, $.bl_tree), ft--), rt($, S, $.bl_tree), st($, ft - 3, 2)) : ft <= 10 ? (rt($, w, $.bl_tree), st($, ft - 3, 3)) : (rt($, k, $.bl_tree), st($, ft - 11, 7));
35748
35748
  dt = tt, ut = (ft = 0) === _t ? (Q = 138, 3) : tt === _t ? (Q = 6, 3) : (Q = 7, 4);
35749
35749
  }
35750
35750
  }
35751
35751
  l(K);
35752
35752
  var et = !1;
35753
- function z(H, X, lt, ct) {
35754
- st(H, (u << 1) + (ct ? 1 : 0), 3), function(tt, dt, _t, ft) {
35753
+ function z($, X, lt, ct) {
35754
+ st($, (u << 1) + (ct ? 1 : 0), 3), function(tt, dt, _t, ft) {
35755
35755
  wt(tt), O(tt, _t), O(tt, ~_t), a.arraySet(tt.pending_buf, tt.window, dt, _t, tt.pending), tt.pending += _t;
35756
- }(H, X, lt);
35756
+ }($, X, lt);
35757
35757
  }
35758
- i._tr_init = function(H) {
35758
+ i._tr_init = function($) {
35759
35759
  et || (function() {
35760
35760
  var X, lt, ct, tt, dt, _t = new Array(b + 1);
35761
35761
  for (tt = ct = 0; tt < c - 1; tt++) for (v[tt] = ct, X = 0; X < 1 << L[tt]; X++) _[ct++] = tt;
35762
35762
  for (_[ct - 1] = tt, tt = dt = 0; tt < 16; tt++) for (K[tt] = dt, X = 0; X < 1 << F[tt]; X++) B[dt++] = tt;
35763
35763
  for (dt >>= 7; tt < d; tt++) for (K[tt] = dt << 7, X = 0; X < 1 << F[tt] - 7; X++) B[256 + dt++] = tt;
35764
35764
  for (lt = 0; lt <= b; lt++) _t[lt] = 0;
35765
- for (X = 0; X <= 143; ) $[2 * X + 1] = 8, X++, _t[8]++;
35766
- for (; X <= 255; ) $[2 * X + 1] = 9, X++, _t[9]++;
35767
- for (; X <= 279; ) $[2 * X + 1] = 7, X++, _t[7]++;
35768
- for (; X <= 287; ) $[2 * X + 1] = 8, X++, _t[8]++;
35769
- for (At($, f + 1, _t), X = 0; X < d; X++) N[2 * X + 1] = 5, N[2 * X] = yt(X, 5);
35770
- U = new I($, L, h + 1, f, b), j = new I(N, F, 0, d, b), Y = new I(new Array(0), D, 0, p, x);
35771
- }(), et = !0), H.l_desc = new q(H.dyn_ltree, U), H.d_desc = new q(H.dyn_dtree, j), H.bl_desc = new q(H.bl_tree, Y), H.bi_buf = 0, H.bi_valid = 0, Et(H);
35772
- }, i._tr_stored_block = z, i._tr_flush_block = function(H, X, lt, ct) {
35765
+ for (X = 0; X <= 143; ) H[2 * X + 1] = 8, X++, _t[8]++;
35766
+ for (; X <= 255; ) H[2 * X + 1] = 9, X++, _t[9]++;
35767
+ for (; X <= 279; ) H[2 * X + 1] = 7, X++, _t[7]++;
35768
+ for (; X <= 287; ) H[2 * X + 1] = 8, X++, _t[8]++;
35769
+ for (At(H, f + 1, _t), X = 0; X < d; X++) N[2 * X + 1] = 5, N[2 * X] = yt(X, 5);
35770
+ U = new I(H, L, h + 1, f, b), j = new I(N, F, 0, d, b), Y = new I(new Array(0), D, 0, p, x);
35771
+ }(), et = !0), $.l_desc = new q($.dyn_ltree, U), $.d_desc = new q($.dyn_dtree, j), $.bl_desc = new q($.bl_tree, Y), $.bi_buf = 0, $.bi_valid = 0, Et($);
35772
+ }, i._tr_stored_block = z, i._tr_flush_block = function($, X, lt, ct) {
35773
35773
  var tt, dt, _t = 0;
35774
- 0 < H.level ? (H.strm.data_type === 2 && (H.strm.data_type = function(ft) {
35774
+ 0 < $.level ? ($.strm.data_type === 2 && ($.strm.data_type = function(ft) {
35775
35775
  var Q, ut = 4093624447;
35776
35776
  for (Q = 0; Q <= 31; Q++, ut >>>= 1) if (1 & ut && ft.dyn_ltree[2 * Q] !== 0) return s;
35777
35777
  if (ft.dyn_ltree[18] !== 0 || ft.dyn_ltree[20] !== 0 || ft.dyn_ltree[26] !== 0) return o;
35778
35778
  for (Q = 32; Q < h; Q++) if (ft.dyn_ltree[2 * Q] !== 0) return o;
35779
35779
  return s;
35780
- }(H)), me(H, H.l_desc), me(H, H.d_desc), _t = function(ft) {
35780
+ }($)), me($, $.l_desc), me($, $.d_desc), _t = function(ft) {
35781
35781
  var Q;
35782
35782
  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 * R[Q] + 1] === 0; Q--) ;
35783
35783
  return ft.opt_len += 3 * (Q + 1) + 5 + 5 + 4, Q;
35784
- }(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 && X !== -1 ? z(H, X, lt, ct) : H.strategy === 4 || dt === tt ? (st(H, 2 + (ct ? 1 : 0), 3), ie(H, $, N)) : (st(H, 4 + (ct ? 1 : 0), 3), function(ft, Q, ut, xt) {
35784
+ }($), tt = $.opt_len + 3 + 7 >>> 3, (dt = $.static_len + 3 + 7 >>> 3) <= tt && (tt = dt)) : tt = dt = lt + 5, lt + 4 <= tt && X !== -1 ? z($, X, lt, ct) : $.strategy === 4 || dt === tt ? (st($, 2 + (ct ? 1 : 0), 3), ie($, H, N)) : (st($, 4 + (ct ? 1 : 0), 3), function(ft, Q, ut, xt) {
35785
35785
  var zt;
35786
35786
  for (st(ft, Q - 257, 5), st(ft, ut - 1, 5), st(ft, xt - 4, 4), zt = 0; zt < xt; zt++) st(ft, ft.bl_tree[2 * R[zt] + 1], 3);
35787
35787
  at(ft, ft.dyn_ltree, Q - 1), at(ft, ft.dyn_dtree, ut - 1);
35788
- }(H, H.l_desc.max_code + 1, H.d_desc.max_code + 1, _t + 1), ie(H, H.dyn_ltree, H.dyn_dtree)), Et(H), ct && wt(H);
35789
- }, i._tr_tally = function(H, X, lt) {
35790
- return H.pending_buf[H.d_buf + 2 * H.last_lit] = X >>> 8 & 255, H.pending_buf[H.d_buf + 2 * H.last_lit + 1] = 255 & X, H.pending_buf[H.l_buf + H.last_lit] = 255 & lt, H.last_lit++, X === 0 ? H.dyn_ltree[2 * lt]++ : (H.matches++, X--, H.dyn_ltree[2 * (_[lt] + h + 1)]++, H.dyn_dtree[2 * V(X)]++), H.last_lit === H.lit_bufsize - 1;
35791
- }, i._tr_align = function(H) {
35792
- st(H, 2, 3), rt(H, T, $), function(X) {
35788
+ }($, $.l_desc.max_code + 1, $.d_desc.max_code + 1, _t + 1), ie($, $.dyn_ltree, $.dyn_dtree)), Et($), ct && wt($);
35789
+ }, i._tr_tally = function($, X, lt) {
35790
+ return $.pending_buf[$.d_buf + 2 * $.last_lit] = X >>> 8 & 255, $.pending_buf[$.d_buf + 2 * $.last_lit + 1] = 255 & X, $.pending_buf[$.l_buf + $.last_lit] = 255 & lt, $.last_lit++, X === 0 ? $.dyn_ltree[2 * lt]++ : ($.matches++, X--, $.dyn_ltree[2 * (_[lt] + h + 1)]++, $.dyn_dtree[2 * V(X)]++), $.last_lit === $.lit_bufsize - 1;
35791
+ }, i._tr_align = function($) {
35792
+ st($, 2, 3), rt($, T, H), function(X) {
35793
35793
  X.bi_valid === 16 ? (O(X, X.bi_buf), X.bi_buf = 0, X.bi_valid = 0) : 8 <= X.bi_valid && (X.pending_buf[X.pending++] = 255 & X.bi_buf, X.bi_buf >>= 8, X.bi_valid -= 8);
35794
- }(H);
35794
+ }($);
35795
35795
  };
35796
35796
  }, { "../utils/common": 41 }], 53: [function(n, r, i) {
35797
35797
  r.exports = function() {
@@ -35948,11 +35948,11 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
35948
35948
  ] });
35949
35949
  }, G$ = () => {
35950
35950
  const { dispatch: t, abortController: e, currentSessionId: n } = We(), r = async () => {
35951
- if (e && (e.abort(), t(ta(Ce.LOADED))), n)
35951
+ if (e && (e.abort(), t(ai(Ce.LOADED))), n)
35952
35952
  try {
35953
35953
  await In.post("playground/cancel", {
35954
35954
  session_id: n
35955
- }), t(ta(Ce.LOADED));
35955
+ }), t(ai(Ce.LOADED));
35956
35956
  } catch (i) {
35957
35957
  console.error("Failed to call cancel API:", i);
35958
35958
  }
@@ -36220,7 +36220,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36220
36220
  "aria-haspopup": "listbox",
36221
36221
  "aria-label": "Add Context",
36222
36222
  disabled: d === Ce.LOADING,
36223
- children: /* @__PURE__ */ E.jsx(ji, { title: "Add context or files", children: /* @__PURE__ */ E.jsx(dT, { className: "al-h-4 al-w-4", "aria-hidden": "true" }) })
36223
+ children: /* @__PURE__ */ E.jsx(Wi, { title: "Add context or files", children: /* @__PURE__ */ E.jsx(dT, { className: "al-h-4 al-w-4", "aria-hidden": "true" }) })
36224
36224
  }
36225
36225
  ) }) }),
36226
36226
  /* @__PURE__ */ E.jsxs(__, { className: "al-p-0", align: "start", children: [
@@ -36322,7 +36322,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36322
36322
  onSendEmail: n,
36323
36323
  isLoading: r = !1
36324
36324
  }) => {
36325
- const [i, a] = _e([]), s = Ui((h) => La(h), []), o = async () => {
36325
+ const [i, a] = _e([]), s = ji((h) => La(h), []), o = async () => {
36326
36326
  const h = i.filter((f) => La(f));
36327
36327
  if (h.length !== 0)
36328
36328
  try {
@@ -36415,7 +36415,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36415
36415
  ] }) })
36416
36416
  ] }) });
36417
36417
  }, nH = ({ messageId: t, messageContent: e, sessionId: n }) => {
36418
- const [r, i] = _e(!1), [a, s] = _e(!1), o = Ui(
36418
+ const [r, i] = _e(!1), [a, s] = _e(!1), o = ji(
36419
36419
  async (l) => {
36420
36420
  if (!e)
36421
36421
  throw new Error("No message content available for email");
@@ -36470,7 +36470,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36470
36470
  messageContent: e,
36471
36471
  sessionId: n
36472
36472
  }) => {
36473
- const { urls: r, requestParams: i } = We(), [a, s] = _e(!1), o = Ui(async () => {
36473
+ const { urls: r, requestParams: i } = We(), [a, s] = _e(!1), o = ji(async () => {
36474
36474
  if (!e) {
36475
36475
  console.warn("No message content available for PDF export");
36476
36476
  return;
@@ -36540,7 +36540,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36540
36540
  const s = i[r];
36541
36541
  if (s)
36542
36542
  try {
36543
- n(ta(Ce.LOADING));
36543
+ n(ai(Ce.LOADING));
36544
36544
  const o = s.messages, l = o.findIndex((c) => c.id === t);
36545
36545
  if (l === -1) return;
36546
36546
  const u = o.slice(0, l).filter((c) => c.role === "user").pop();
@@ -36555,10 +36555,10 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36555
36555
  } catch (o) {
36556
36556
  n(o3(o instanceof Error ? o.message : "Failed to regenerate response"));
36557
36557
  } finally {
36558
- n(ta(Ce.UNINITIALIZED));
36558
+ n(ai(Ce.UNINITIALIZED));
36559
36559
  }
36560
36560
  };
36561
- return /* @__PURE__ */ E.jsx(ji, { title: "Regenerate response", children: /* @__PURE__ */ E.jsx(
36561
+ return /* @__PURE__ */ E.jsx(Wi, { title: "Regenerate response", children: /* @__PURE__ */ E.jsx(
36562
36562
  ee,
36563
36563
  {
36564
36564
  variant: "ghost",
@@ -36579,7 +36579,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36579
36579
  };
36580
36580
  return /* @__PURE__ */ E.jsxs(Tt, { direction: "row", children: [
36581
36581
  /* @__PURE__ */ E.jsx(aH, { messageId: t }),
36582
- /* @__PURE__ */ E.jsx(ji, { title: "Copy message", children: /* @__PURE__ */ E.jsx(
36582
+ /* @__PURE__ */ E.jsx(Wi, { title: "Copy message", children: /* @__PURE__ */ E.jsx(
36583
36583
  ee,
36584
36584
  {
36585
36585
  variant: "ghost",
@@ -36640,7 +36640,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36640
36640
  return n != null && n.feedback ? n.feedback : /* @__PURE__ */ E.jsxs("div", { role: "group", "aria-label": "Message feedback", children: [
36641
36641
  /* @__PURE__ */ E.jsxs(Tt, { direction: "row", justify: "end", children: [
36642
36642
  e,
36643
- /* @__PURE__ */ E.jsx(ji, { title: "Like response", children: /* @__PURE__ */ E.jsx(
36643
+ /* @__PURE__ */ E.jsx(Wi, { title: "Like response", children: /* @__PURE__ */ E.jsx(
36644
36644
  ee,
36645
36645
  {
36646
36646
  variant: "ghost",
@@ -36653,7 +36653,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36653
36653
  children: /* @__PURE__ */ E.jsx(yT, { "aria-hidden": "true" })
36654
36654
  }
36655
36655
  ) }),
36656
- /* @__PURE__ */ E.jsx(ji, { title: "Dislike response", children: /* @__PURE__ */ E.jsx(
36656
+ /* @__PURE__ */ E.jsx(Wi, { title: "Dislike response", children: /* @__PURE__ */ E.jsx(
36657
36657
  ee,
36658
36658
  {
36659
36659
  variant: "ghost",
@@ -36669,7 +36669,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36669
36669
  ] }),
36670
36670
  r && /* @__PURE__ */ E.jsxs("div", { className: "al-mt-2 al-space-y-2", children: [
36671
36671
  /* @__PURE__ */ E.jsx(
36672
- ai,
36672
+ si,
36673
36673
  {
36674
36674
  placeholder: "Tell us more about your feedback...",
36675
36675
  value: a,
@@ -36761,7 +36761,7 @@ const V$ = /* @__PURE__ */ oh(Y$), m3 = ({ artifacts: t }) => {
36761
36761
  switch (t.type) {
36762
36762
  case "text":
36763
36763
  return /* @__PURE__ */ E.jsx(
36764
- ai,
36764
+ si,
36765
36765
  {
36766
36766
  value: n,
36767
36767
  onChange: (f) => r(f.target.value),
@@ -37133,7 +37133,7 @@ const TH = () => {
37133
37133
  return s.current = e, o.current = n, xe(() => (a.current = new _H(500), () => {
37134
37134
  var u;
37135
37135
  (u = a.current) == null || u.cleanup();
37136
- }), []), { detectEntities: Ui(
37136
+ }), []), { detectEntities: ji(
37137
37137
  async (u) => {
37138
37138
  var m, b;
37139
37139
  if (!a.current || !(r != null && r.entityDetectionUrl))
@@ -37292,7 +37292,7 @@ ${i}
37292
37292
  o != null && o.query ? null : /* @__PURE__ */ E.jsxs(kn, { className: "al-bg-muted al-p-4 al-rounded-md al-shadow-md al-space-y-2 al-mt-2", children: [
37293
37293
  /* @__PURE__ */ E.jsx("p", { children: "Please enter a query below or select a file using Add Context button to start the migration." }),
37294
37294
  /* @__PURE__ */ E.jsx(
37295
- ai,
37295
+ si,
37296
37296
  {
37297
37297
  value: i,
37298
37298
  onChange: (u) => a(u.target.value),
@@ -37552,7 +37552,7 @@ export {
37552
37552
  Ns as E,
37553
37553
  Tz as F,
37554
37554
  M$ as G,
37555
- ta as H,
37555
+ ai as H,
37556
37556
  uH as I,
37557
37557
  o3 as J,
37558
37558
  $p as K,
@@ -37586,7 +37586,7 @@ export {
37586
37586
  na as a9,
37587
37587
  Qd as aA,
37588
37588
  oE as aB,
37589
- Yi as aC,
37589
+ Vi as aC,
37590
37590
  $H as aD,
37591
37591
  wE as aE,
37592
37592
  ch as aF,
@@ -37640,7 +37640,7 @@ export {
37640
37640
  G$ as b,
37641
37641
  v2 as b$,
37642
37642
  jH as b0,
37643
- Ci as b1,
37643
+ _i as b1,
37644
37644
  QH as b2,
37645
37645
  KH as b3,
37646
37646
  qH as b4,
@@ -37650,7 +37650,7 @@ export {
37650
37650
  j2 as b8,
37651
37651
  Re as b9,
37652
37652
  _s as bA,
37653
- si as bB,
37653
+ oi as bB,
37654
37654
  ZA as bC,
37655
37655
  M2 as bD,
37656
37656
  dl as bE,
@@ -37680,7 +37680,7 @@ export {
37680
37680
  vh as bb,
37681
37681
  xS as bc,
37682
37682
  b1 as bd,
37683
- ui as be,
37683
+ ci as be,
37684
37684
  Wt as bf,
37685
37685
  tr as bg,
37686
37686
  Hv as bh,