@zenuml/core 3.23.6 → 3.23.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.
@@ -409,7 +409,7 @@ function jn(t, e) {
409
409
  function w0(t, e) {
410
410
  return t.findIndex((n) => jn(n, e));
411
411
  }
412
- const Ge = (t) => Ye(t) ? t : t == null ? "" : X(t) || Ae(t) && (t.toString === Uu || !he(t.toString)) ? JSON.stringify(t, Hu, 2) : String(t), Hu = (t, e) => e && e.__v_isRef ? Hu(t, e.value) : os(e) ? {
412
+ const Ze = (t) => Ye(t) ? t : t == null ? "" : X(t) || Ae(t) && (t.toString === Uu || !he(t.toString)) ? JSON.stringify(t, Hu, 2) : String(t), Hu = (t, e) => e && e.__v_isRef ? Hu(t, e.value) : os(e) ? {
413
413
  [`Map(${e.size})`]: [...e.entries()].reduce((n, [r, s]) => (n[`${r} =>`] = s, n), {})
414
414
  } : zr(e) ? {
415
415
  [`Set(${e.size})`]: [...e.values()]
@@ -919,7 +919,7 @@ function n1(t, e) {
919
919
  function gt(t) {
920
920
  return !!(t && t.__v_isRef === !0);
921
921
  }
922
- function Le(t) {
922
+ function xe(t) {
923
923
  return s3(t, !1);
924
924
  }
925
925
  function r3(t) {
@@ -1910,7 +1910,7 @@ function ds(t) {
1910
1910
  return d().then((g) => () => W1(g, p)).catch((g) => (m(g), () => r ? G(r, {
1911
1911
  error: g
1912
1912
  }) : null));
1913
- const y = Le(!1), T = Le(), L = Le(!!s);
1913
+ const y = xe(!1), T = xe(), L = xe(!!s);
1914
1914
  return s && setTimeout(() => {
1915
1915
  L.value = !1;
1916
1916
  }, s), i != null && setTimeout(() => {
@@ -2497,7 +2497,7 @@ function Dd(t) {
2497
2497
  _c: () => Ri,
2498
2498
  _o: () => Nd,
2499
2499
  _n: () => On,
2500
- _s: () => Ge,
2500
+ _s: () => Ze,
2501
2501
  _l: () => Nn,
2502
2502
  _t: (r) => kd.bind(null, r),
2503
2503
  _q: () => jn,
@@ -2507,7 +2507,7 @@ function Dd(t) {
2507
2507
  _k: (r) => Md.bind(null, r),
2508
2508
  _b: () => Ad,
2509
2509
  _v: () => An,
2510
- _e: () => me,
2510
+ _e: () => Le,
2511
2511
  _u: () => Od,
2512
2512
  _g: () => Rd,
2513
2513
  _d: () => Pd,
@@ -4012,7 +4012,7 @@ function f1(t, e) {
4012
4012
  const n = G(Pr, null, t);
4013
4013
  return n.staticCount = e, n;
4014
4014
  }
4015
- function me(t = "", e = !1) {
4015
+ function Le(t = "", e = !1) {
4016
4016
  return e ? (R(), Se(yt, null, t)) : G(yt, null, t);
4017
4017
  }
4018
4018
  function qt(t) {
@@ -5179,7 +5179,7 @@ var C9 = /* @__PURE__ */ Object.freeze({
5179
5179
  withKeys: x9,
5180
5180
  vShow: F0,
5181
5181
  reactive: Mn,
5182
- ref: Le,
5182
+ ref: xe,
5183
5183
  readonly: Tl,
5184
5184
  unref: N,
5185
5185
  proxyRefs: Ol,
@@ -5287,12 +5287,12 @@ var C9 = /* @__PURE__ */ Object.freeze({
5287
5287
  createBlock: Se,
5288
5288
  setBlockTracking: No,
5289
5289
  createTextVNode: An,
5290
- createCommentVNode: me,
5290
+ createCommentVNode: Le,
5291
5291
  createStaticVNode: f1,
5292
5292
  createElementVNode: S,
5293
5293
  createElementBlock: q,
5294
5294
  guardReactiveProps: o5,
5295
- toDisplayString: Ge,
5295
+ toDisplayString: Ze,
5296
5296
  camelize: kt,
5297
5297
  capitalize: T0,
5298
5298
  toHandlerKey: as,
@@ -8794,14 +8794,14 @@ class m7 {
8794
8794
  return Object.keys(this.data).filter((e) => e.startsWith("k-")).map((e) => this.data[e], this);
8795
8795
  }
8796
8796
  }
8797
- const Ze = {
8797
+ const je = {
8798
8798
  SLL: 0,
8799
8799
  LL: 1,
8800
8800
  LL_EXACT_AMBIG_DETECTION: 2,
8801
8801
  hasSLLConflictTerminatingPrediction: function(t, e) {
8802
- if (Ze.allConfigsInRuleStopStates(e))
8802
+ if (je.allConfigsInRuleStopStates(e))
8803
8803
  return !0;
8804
- if (t === Ze.SLL && e.hasSemanticContext) {
8804
+ if (t === je.SLL && e.hasSemanticContext) {
8805
8805
  const r = new Tt();
8806
8806
  for (let s = 0; s < e.items.length; s++) {
8807
8807
  let i = e.items[s];
@@ -8809,8 +8809,8 @@ const Ze = {
8809
8809
  }
8810
8810
  e = r;
8811
8811
  }
8812
- const n = Ze.getConflictingAltSubsets(e);
8813
- return Ze.hasConflictingAltSet(n) && !Ze.hasStateAssociatedWithOneAlt(e);
8812
+ const n = je.getConflictingAltSubsets(e);
8813
+ return je.hasConflictingAltSet(n) && !je.hasStateAssociatedWithOneAlt(e);
8814
8814
  },
8815
8815
  hasConfigInRuleStopState: function(t) {
8816
8816
  for (let e = 0; e < t.items.length; e++)
@@ -8825,10 +8825,10 @@ const Ze = {
8825
8825
  return !0;
8826
8826
  },
8827
8827
  resolvesToJustOneViableAlt: function(t) {
8828
- return Ze.getSingleViableAlt(t);
8828
+ return je.getSingleViableAlt(t);
8829
8829
  },
8830
8830
  allSubsetsConflict: function(t) {
8831
- return !Ze.hasNonConflictingAltSet(t);
8831
+ return !je.hasNonConflictingAltSet(t);
8832
8832
  },
8833
8833
  hasNonConflictingAltSet: function(t) {
8834
8834
  for (let e = 0; e < t.length; e++)
@@ -8854,7 +8854,7 @@ const Ze = {
8854
8854
  return !0;
8855
8855
  },
8856
8856
  getUniqueAlt: function(t) {
8857
- const e = Ze.getAlts(t);
8857
+ const e = je.getAlts(t);
8858
8858
  return e.length === 1 ? e.minValue() : et.INVALID_ALT_NUMBER;
8859
8859
  },
8860
8860
  getAlts: function(t) {
@@ -8882,7 +8882,7 @@ const Ze = {
8882
8882
  }), e;
8883
8883
  },
8884
8884
  hasStateAssociatedWithOneAlt: function(t) {
8885
- const e = Ze.getStateToAltMap(t).values();
8885
+ const e = je.getStateToAltMap(t).values();
8886
8886
  for (let n = 0; n < e.length; n++)
8887
8887
  if (e[n].length === 1)
8888
8888
  return !0;
@@ -8920,7 +8920,7 @@ class x7 {
8920
8920
  }
8921
8921
  class L7 extends En {
8922
8922
  constructor(e, n, r, s) {
8923
- super(n, s), this.parser = e, this.decisionToDFA = r, this.predictionMode = Ze.LL, this._input = null, this._startIndex = 0, this._outerContext = null, this._dfa = null, this.mergeCache = null, this.debug = !1, this.debug_closure = !1, this.debug_add = !1, this.debug_list_atn_decisions = !1, this.dfa_debug = !1, this.retry_debug = !1;
8923
+ super(n, s), this.parser = e, this.decisionToDFA = r, this.predictionMode = je.LL, this._input = null, this._startIndex = 0, this._outerContext = null, this._dfa = null, this.mergeCache = null, this.debug = !1, this.debug_closure = !1, this.debug_add = !1, this.debug_list_atn_decisions = !1, this.dfa_debug = !1, this.retry_debug = !1;
8924
8924
  }
8925
8925
  reset() {
8926
8926
  }
@@ -8956,7 +8956,7 @@ class L7 extends En {
8956
8956
  return o;
8957
8957
  throw u;
8958
8958
  }
8959
- if (c.requiresFullContext && this.predictionMode !== Ze.SLL) {
8959
+ if (c.requiresFullContext && this.predictionMode !== je.SLL) {
8960
8960
  let u = null;
8961
8961
  if (c.predicates !== null) {
8962
8962
  this.debug && console.log("DFA state has preds in DFA sim LL failover");
@@ -8993,10 +8993,10 @@ class L7 extends En {
8993
8993
  let i = new Gn(null, s);
8994
8994
  const o = this.getUniqueAlt(s);
8995
8995
  if (this.debug) {
8996
- const l = Ze.getConflictingAltSubsets(s);
8997
- console.log("SLL altSubSets=" + or(l) + ", configs=" + s + ", predict=" + o + ", allSubsetsConflict=" + Ze.allSubsetsConflict(l) + ", conflictingAlts=" + this.getConflictingAlts(s));
8996
+ const l = je.getConflictingAltSubsets(s);
8997
+ console.log("SLL altSubSets=" + or(l) + ", configs=" + s + ", predict=" + o + ", allSubsetsConflict=" + je.allSubsetsConflict(l) + ", conflictingAlts=" + this.getConflictingAlts(s));
8998
8998
  }
8999
- return o !== et.INVALID_ALT_NUMBER ? (i.isAcceptState = !0, i.configs.uniqueAlt = o, i.prediction = o) : Ze.hasSLLConflictTerminatingPrediction(this.predictionMode, s) && (i.configs.conflictingAlts = this.getConflictingAlts(s), i.requiresFullContext = !0, i.isAcceptState = !0, i.prediction = i.configs.conflictingAlts.minValue()), i.isAcceptState && i.configs.hasSemanticContext && (this.predicateDFAState(i, this.atn.getDecisionState(e.decision)), i.predicates !== null && (i.prediction = et.INVALID_ALT_NUMBER)), i = this.addDFAEdge(e, n, r, i), i;
8999
+ return o !== et.INVALID_ALT_NUMBER ? (i.isAcceptState = !0, i.configs.uniqueAlt = o, i.prediction = o) : je.hasSLLConflictTerminatingPrediction(this.predictionMode, s) && (i.configs.conflictingAlts = this.getConflictingAlts(s), i.requiresFullContext = !0, i.isAcceptState = !0, i.prediction = i.configs.conflictingAlts.minValue()), i.isAcceptState && i.configs.hasSemanticContext && (this.predicateDFAState(i, this.atn.getDecisionState(e.decision)), i.predicates !== null && (i.prediction = et.INVALID_ALT_NUMBER)), i = this.addDFAEdge(e, n, r, i), i;
9000
9000
  }
9001
9001
  predicateDFAState(e, n) {
9002
9002
  const r = n.transitions.length, s = this.getConflictingAltsOrUniqueAlt(e.configs), i = this.getPredsForAmbigAlts(s, e.configs, r);
@@ -9017,15 +9017,15 @@ class L7 extends En {
9017
9017
  return y;
9018
9018
  throw m;
9019
9019
  }
9020
- const p = Ze.getConflictingAltSubsets(c);
9021
- if (this.debug && console.log("LL altSubSets=" + p + ", predict=" + Ze.getUniqueAlt(p) + ", resolvesToJustOneViableAlt=" + Ze.resolvesToJustOneViableAlt(p)), c.uniqueAlt = this.getUniqueAlt(c), c.uniqueAlt !== et.INVALID_ALT_NUMBER) {
9020
+ const p = je.getConflictingAltSubsets(c);
9021
+ if (this.debug && console.log("LL altSubSets=" + p + ", predict=" + je.getUniqueAlt(p) + ", resolvesToJustOneViableAlt=" + je.resolvesToJustOneViableAlt(p)), c.uniqueAlt = this.getUniqueAlt(c), c.uniqueAlt !== et.INVALID_ALT_NUMBER) {
9022
9022
  d = c.uniqueAlt;
9023
9023
  break;
9024
- } else if (this.predictionMode !== Ze.LL_EXACT_AMBIG_DETECTION) {
9025
- if (d = Ze.resolvesToJustOneViableAlt(p), d !== et.INVALID_ALT_NUMBER)
9024
+ } else if (this.predictionMode !== je.LL_EXACT_AMBIG_DETECTION) {
9025
+ if (d = je.resolvesToJustOneViableAlt(p), d !== et.INVALID_ALT_NUMBER)
9026
9026
  break;
9027
- } else if (Ze.allSubsetsConflict(p) && Ze.allSubsetsEqual(p)) {
9028
- a = !0, d = Ze.getSingleViableAlt(p);
9027
+ } else if (je.allSubsetsConflict(p) && je.allSubsetsEqual(p)) {
9028
+ a = !0, d = je.getSingleViableAlt(p);
9029
9029
  break;
9030
9030
  }
9031
9031
  u = c, h !== z.EOF && (s.consume(), h = s.LA(1));
@@ -9057,13 +9057,13 @@ class L7 extends En {
9057
9057
  for (let c = 0; c < s.items.length; c++)
9058
9058
  this.closure(s.items[c], o, l, !1, r, a);
9059
9059
  }
9060
- if (n === z.EOF && (o = this.removeAllConfigsNotInRuleStopState(o, o === s)), i !== null && (!r || !Ze.hasConfigInRuleStopState(o)))
9060
+ if (n === z.EOF && (o = this.removeAllConfigsNotInRuleStopState(o, o === s)), i !== null && (!r || !je.hasConfigInRuleStopState(o)))
9061
9061
  for (let l = 0; l < i.length; l++)
9062
9062
  o.add(i[l], this.mergeCache);
9063
9063
  return o.items.length === 0 ? null : o;
9064
9064
  }
9065
9065
  removeAllConfigsNotInRuleStopState(e, n) {
9066
- if (Ze.allConfigsInRuleStopStates(e))
9066
+ if (je.allConfigsInRuleStopStates(e))
9067
9067
  return e;
9068
9068
  const r = new Tt(e.fullCtx);
9069
9069
  for (let s = 0; s < e.items.length; s++) {
@@ -9325,8 +9325,8 @@ class L7 extends En {
9325
9325
  return new ot({ state: n.target, context: s }, e);
9326
9326
  }
9327
9327
  getConflictingAlts(e) {
9328
- const n = Ze.getConflictingAltSubsets(e);
9329
- return Ze.getAlts(n);
9328
+ const n = je.getConflictingAltSubsets(e);
9329
+ return je.getAlts(n);
9330
9330
  }
9331
9331
  getConflictingAltsOrUniqueAlt(e) {
9332
9332
  let n = null;
@@ -9412,7 +9412,7 @@ class L7 extends En {
9412
9412
  this.parser !== null && this.parser.getErrorListenerDispatch().reportAmbiguity(this.parser, e, r, s, i, o, l);
9413
9413
  }
9414
9414
  }
9415
- const _7 = { ATN: et, ATNDeserializer: t4, LexerATNSimulator: nt, ParserATNSimulator: L7, PredictionMode: Ze };
9415
+ const _7 = { ATN: et, ATNDeserializer: t4, LexerATNSimulator: nt, ParserATNSimulator: L7, PredictionMode: je };
9416
9416
  class ma {
9417
9417
  constructor(e, n, r) {
9418
9418
  this.dfa = e, this.literalNames = n || [], this.symbolicNames = r || [];
@@ -24908,7 +24908,7 @@ const Ps = ZC, WC = Ps(/[\n\r]/g, " "), qC = Ps(/\s+/g, " "), KC = Ps(/\s*([,;.]
24908
24908
  r--;
24909
24909
  }
24910
24910
  return 0;
24911
- }, fI = (t, e) => {
24911
+ }, dI = (t, e) => {
24912
24912
  const n = oh(t, e);
24913
24913
  if (n === 0)
24914
24914
  return "";
@@ -25405,7 +25405,7 @@ const gh = () => (ph = e7(), {
25405
25405
  }
25406
25406
  },
25407
25407
  setup(t) {
25408
- const e = t, n = ds(() => vv(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.218e3134.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.b7834c43.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.983bcb0e.js"), "./icons/debug.svg": () => import("./debug.ba13e8aa.js"), "./icons/message-arrow.svg": () => import("./message-arrow.0cdd089f.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.ab1a32b9.js"), "./icons/numbering.svg": () => import("./numbering.05940e7b.js"), "./icons/privacy.svg": () => import("./privacy.4de16c7b.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.d77819c3.js"), "./icons/theme.svg": () => import("./theme.9418deff.js"), "./icons/tip.svg": () => import("./tip.6db86764.js"), "./icons/zoom-in.svg": () => import("./zoom-in.c4cf9716.js"), "./icons/zoom-out.svg": () => import("./zoom-out.838b1984.js") }), `./icons/${e.name}.svg`));
25408
+ const e = t, n = ds(() => vv(/* @__PURE__ */ Object.assign({ "./icons/close.svg": () => import("./close.a942a30d.js"), "./icons/collapse-expanded.svg": () => import("./collapse-expanded.f4b3a43a.js"), "./icons/collapse-unexpanded.svg": () => import("./collapse-unexpanded.cd66f4cd.js"), "./icons/debug.svg": () => import("./debug.ebe92755.js"), "./icons/message-arrow.svg": () => import("./message-arrow.8ede6bc4.js"), "./icons/non-selected-cycle.svg": () => import("./non-selected-cycle.86d496c0.js"), "./icons/numbering.svg": () => import("./numbering.50ab5c38.js"), "./icons/privacy.svg": () => import("./privacy.df46770b.js"), "./icons/selected-cycle.svg": () => import("./selected-cycle.ed8261c0.js"), "./icons/theme.svg": () => import("./theme.c0eb17c1.js"), "./icons/tip.svg": () => import("./tip.8bfd5e6b.js"), "./icons/zoom-in.svg": () => import("./zoom-in.0c71215e.js"), "./icons/zoom-out.svg": () => import("./zoom-out.4d0b296b.js") }), `./icons/${e.name}.svg`));
25409
25409
  return (r, s) => (R(), q("span", {
25410
25410
  class: ye(["flex items-center justify-center", t.iconClass]),
25411
25411
  onClick: s[0] || (s[0] = (i) => r.$emit("icon-click"))
@@ -25414,7 +25414,7 @@ const gh = () => (ph = e7(), {
25414
25414
  ], 2));
25415
25415
  }
25416
25416
  };
25417
- const je = (t, e) => {
25417
+ const Ge = (t, e) => {
25418
25418
  const n = t.__vccOpts || t;
25419
25419
  for (const [r, s] of e)
25420
25420
  n[r] = s;
@@ -25437,7 +25437,7 @@ function Ev(t, e, n, r, s, i) {
25437
25437
  ])
25438
25438
  ]);
25439
25439
  }
25440
- const Tv = /* @__PURE__ */ je(bv, [["render", Ev], ["__scopeId", "data-v-3e7c8bd7"]]), Sv = {
25440
+ const Tv = /* @__PURE__ */ Ge(bv, [["render", Ev], ["__scopeId", "data-v-3e7c8bd7"]]), Sv = {
25441
25441
  name: "DiagramTitle",
25442
25442
  props: ["context"],
25443
25443
  computed: {
@@ -25448,9 +25448,9 @@ const Tv = /* @__PURE__ */ je(bv, [["render", Ev], ["__scopeId", "data-v-3e7c8bd
25448
25448
  }
25449
25449
  }, Av = { class: "title text-skin-title text-base font-semibold" };
25450
25450
  function Rv(t, e, n, r, s, i) {
25451
- return R(), q("div", Av, Ge(i.title), 1);
25451
+ return R(), q("div", Av, Ze(i.title), 1);
25452
25452
  }
25453
- const kv = /* @__PURE__ */ je(Sv, [["render", Rv]]), cc = new O5();
25453
+ const kv = /* @__PURE__ */ Ge(Sv, [["render", Rv]]), cc = new O5();
25454
25454
  function Ov(t, e, n, r) {
25455
25455
  t.commit("eventEmit", {
25456
25456
  event: "trackEvent",
@@ -26651,7 +26651,7 @@ const $v = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="h
26651
26651
  redis: fw
26652
26652
  };
26653
26653
  function _h() {
26654
- const t = Le(0), e = Le(0), n = () => {
26654
+ const t = xe(0), e = xe(0), n = () => {
26655
26655
  t.value = document.documentElement.scrollTop, e.value = document.documentElement.scrollLeft;
26656
26656
  };
26657
26657
  return qe(() => {
@@ -26684,7 +26684,7 @@ function mw() {
26684
26684
  }), document.body.appendChild(t), { detectorContainer: t, detectors: e });
26685
26685
  }
26686
26686
  function yh() {
26687
- const t = Le(0);
26687
+ const t = xe(0);
26688
26688
  let e;
26689
26689
  return qe(() => {
26690
26690
  const { detectorContainer: n, detectors: r } = mw(), s = document.documentElement.scrollHeight, i = document.documentElement.scrollWidth - gw;
@@ -26717,7 +26717,7 @@ function Ch(t) {
26717
26717
  return e;
26718
26718
  }
26719
26719
  const _0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, hc = (t) => {
26720
- const e = Le(!1);
26720
+ const e = xe(!1);
26721
26721
  function n(l) {
26722
26722
  e.value = l;
26723
26723
  }
@@ -26789,7 +26789,7 @@ const _0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, hc = (t) => {
26789
26789
  }
26790
26790
  const { editing: u, handleDblClick: h, handleBlur: d, handleKeydown: p, handleKeyup: m } = hc(c);
26791
26791
  return (y, T) => (R(), q("div", xw, [
26792
- t.assignee ? (R(), q("label", Lw, Ge(t.assignee) + ":", 1)) : me("", !0),
26792
+ t.assignee ? (R(), q("label", Lw, Ze(t.assignee) + ":", 1)) : Le("", !0),
26793
26793
  S("label", {
26794
26794
  title: "Double click to edit",
26795
26795
  class: ye(["name leading-4 cursor-text right hover:text-skin-message-hover hover:bg-skin-message-hover", {
@@ -26800,7 +26800,7 @@ const _0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, hc = (t) => {
26800
26800
  onBlur: T[1] || (T[1] = (...L) => N(d) && N(d)(...L)),
26801
26801
  onKeyup: T[2] || (T[2] = (...L) => N(m) && N(m)(...L)),
26802
26802
  onKeydown: T[3] || (T[3] = (...L) => N(p) && N(p)(...L))
26803
- }, Ge(N(n)), 43, _w)
26803
+ }, Ze(N(n)), 43, _w)
26804
26804
  ]));
26805
26805
  }
26806
26806
  }), Cw = 10, vw = {
@@ -26809,7 +26809,7 @@ const _0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, hc = (t) => {
26809
26809
  ParticipantLabel: yw
26810
26810
  },
26811
26811
  setup(t) {
26812
- const e = rn(), n = Le(null);
26812
+ const e = rn(), n = xe(null);
26813
26813
  if (e.state.mode === Jt.Static)
26814
26814
  return { translate: 0, participant: n };
26815
26815
  const r = P(
@@ -26884,14 +26884,11 @@ const _0 = /[!@#$%^&*()+-,.?''":{}|<>/\s]/, hc = (t) => {
26884
26884
  this.color = e > 128 ? "#000" : "#fff";
26885
26885
  }
26886
26886
  }
26887
- }, bw = ["innerHTML", "alt"], ww = { class: "h-5 group flex flex-col justify-center" }, Ew = {
26887
+ }, bw = ["innerHTML", "aria-description"], ww = { class: "h-5 group flex flex-col justify-center" }, Ew = {
26888
26888
  key: 0,
26889
- class: "absolute hidden rounded-lg transform -translate-y-8 bg-gray-400 px-2 py-1 text-center text-sm text-white group-hover:flex"
26890
- }, Tw = {
26891
- key: 1,
26892
26889
  class: "interface leading-4"
26893
26890
  };
26894
- function Sw(t, e, n, r, s, i) {
26891
+ function Tw(t, e, n, r, s, i) {
26895
26892
  const o = pe("ParticipantLabel");
26896
26893
  return R(), q("div", {
26897
26894
  class: ye(["participant bg-skin-participant shadow-participant border-skin-participant text-skin-participant rounded text-base leading-4 flex flex-col justify-center z-10 h-10 top-8", { selected: i.selected }]),
@@ -26906,12 +26903,11 @@ function Sw(t, e, n, r, s, i) {
26906
26903
  i.icon ? (R(), q("div", {
26907
26904
  key: 0,
26908
26905
  innerHTML: i.icon,
26909
- class: "absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",
26910
- alt: `icon for ${n.entity.name}`
26911
- }, null, 8, bw)) : me("", !0),
26906
+ class: "text-skin-base absolute left-1/2 transform -translate-x-1/2 -translate-y-full h-8 [&>svg]:w-full [&>svg]:h-full",
26907
+ "aria-description": `icon for ${n.entity.name}`
26908
+ }, null, 8, bw)) : Le("", !0),
26912
26909
  S("div", ww, [
26913
- i.comment ? (R(), q("span", Ew, Ge(i.comment), 1)) : me("", !0),
26914
- i.stereotype ? (R(), q("label", Tw, "\xAB" + Ge(i.stereotype) + "\xBB", 1)) : me("", !0),
26910
+ i.stereotype ? (R(), q("label", Ew, "\xAB" + Ze(i.stereotype) + "\xBB", 1)) : Le("", !0),
26915
26911
  G(o, {
26916
26912
  labelText: i.labelText,
26917
26913
  labelPositions: r.labelPositions,
@@ -26920,8 +26916,8 @@ function Sw(t, e, n, r, s, i) {
26920
26916
  ])
26921
26917
  ], 6);
26922
26918
  }
26923
- const vh = /* @__PURE__ */ je(vw, [["render", Sw]]);
26924
- const js = b0.child({ name: "LifeLine" }), Aw = {
26919
+ const vh = /* @__PURE__ */ Ge(vw, [["render", Tw]]);
26920
+ const js = b0.child({ name: "LifeLine" }), Sw = {
26925
26921
  name: "life-line",
26926
26922
  components: { Participant: vh },
26927
26923
  props: [
@@ -26976,11 +26972,11 @@ const js = b0.child({ name: "LifeLine" }), Aw = {
26976
26972
  this.top = 0;
26977
26973
  }
26978
26974
  }
26979
- }, Rw = ["id", "entity-type"], kw = {
26975
+ }, Aw = ["id", "entity-type"], Rw = {
26980
26976
  key: 1,
26981
26977
  class: "line w0 mx-auto flex-grow w-px"
26982
26978
  };
26983
- function Ow(t, e, n, r, s, i) {
26979
+ function kw(t, e, n, r, s, i) {
26984
26980
  var l;
26985
26981
  const o = pe("participant");
26986
26982
  return R(), q("div", {
@@ -26989,18 +26985,18 @@ function Ow(t, e, n, r, s, i) {
26989
26985
  class: "lifeline absolute flex flex-col mx-2 transform -translate-x-1/2 h-full",
26990
26986
  style: ve({ paddingTop: t.top + "px", left: i.left + "px" })
26991
26987
  }, [
26992
- c1(S("div", null, Ge(t.centerOf(n.entity.name)), 513), [
26988
+ c1(S("div", null, Ze(t.centerOf(n.entity.name)), 513), [
26993
26989
  [F0, i.debug]
26994
26990
  ]),
26995
26991
  n.renderParticipants ? (R(), Se(o, {
26996
26992
  key: 0,
26997
26993
  entity: n.entity,
26998
26994
  offsetTop: t.top
26999
- }, null, 8, ["entity", "offsetTop"])) : me("", !0),
27000
- n.renderLifeLine ? (R(), q("div", kw)) : me("", !0)
27001
- ], 12, Rw);
26995
+ }, null, 8, ["entity", "offsetTop"])) : Le("", !0),
26996
+ n.renderLifeLine ? (R(), q("div", Rw)) : Le("", !0)
26997
+ ], 12, Aw);
27002
26998
  }
27003
- const bh = /* @__PURE__ */ je(Aw, [["render", Ow], ["__scopeId", "data-v-19661715"]]), Iw = {
26999
+ const bh = /* @__PURE__ */ Ge(Sw, [["render", kw], ["__scopeId", "data-v-19661715"]]), Ow = {
27004
27000
  name: "lifeline-group",
27005
27001
  props: ["context", "renderParticipants", "renderLifeLine"],
27006
27002
  computed: {
@@ -27036,8 +27032,8 @@ const bh = /* @__PURE__ */ je(Aw, [["render", Ow], ["__scopeId", "data-v-1966171
27036
27032
  components: {
27037
27033
  LifeLine: bh
27038
27034
  }
27039
- }, Mw = { class: "lifeline-group relative flex-grow" };
27040
- function Nw(t, e, n, r, s, i) {
27035
+ }, Iw = { class: "lifeline-group relative flex-grow" };
27036
+ function Mw(t, e, n, r, s, i) {
27041
27037
  const o = pe("life-line");
27042
27038
  return i.entities.length > 0 ? (R(), q("div", {
27043
27039
  key: 0,
@@ -27050,7 +27046,7 @@ function Nw(t, e, n, r, s, i) {
27050
27046
  "shadow-slate-500/50": !n.renderParticipants
27051
27047
  }])
27052
27048
  }, [
27053
- S("div", Mw, [
27049
+ S("div", Iw, [
27054
27050
  (R(!0), q(Ne, null, Nn(i.entities, (l) => (R(), Se(o, {
27055
27051
  inGroup: "true",
27056
27052
  key: l.name,
@@ -27063,9 +27059,9 @@ function Nw(t, e, n, r, s, i) {
27063
27059
  }, null, 8, ["entity", "group-left", "render-life-line", "renderParticipants"]))), 128))
27064
27060
  ])
27065
27061
  ], 2)
27066
- ], 4)) : me("", !0);
27062
+ ], 4)) : Le("", !0);
27067
27063
  }
27068
- const Pw = /* @__PURE__ */ je(Iw, [["render", Nw]]), lu = b0.child({ name: "LifeLineLayer" }), Fw = 70, Dw = 10, Bw = {
27064
+ const Nw = /* @__PURE__ */ Ge(Ow, [["render", Mw]]), lu = b0.child({ name: "LifeLineLayer" }), Pw = 70, Fw = 10, Dw = {
27069
27065
  name: "life-line-layer",
27070
27066
  props: ["context", "renderParticipants", "renderLifeLine", "leftGap"],
27071
27067
  setup() {
@@ -27076,9 +27072,9 @@ const Pw = /* @__PURE__ */ je(Iw, [["render", Nw]]), lu = b0.child({ name: "Life
27076
27072
  return { translate: P(() => {
27077
27073
  var c;
27078
27074
  let o = r.value + s.value;
27079
- r.value > Dw && (e == null ? void 0 : e.state.stickyOffset) && (o += e == null ? void 0 : e.state.stickyOffset);
27075
+ r.value > Fw && (e == null ? void 0 : e.state.stickyOffset) && (o += e == null ? void 0 : e.state.stickyOffset);
27080
27076
  const l = ((c = e == null ? void 0 : e.state.diagramElement) == null ? void 0 : c.clientHeight) || 0, a = e != null && e.state.diagramElement ? Ch(e == null ? void 0 : e.state.diagramElement) : 0;
27081
- return o <= 0 + a ? 0 : Math.min(o - a, l - Fw) - 0;
27077
+ return o <= 0 + a ? 0 : Math.min(o - a, l - Pw) - 0;
27082
27078
  }), RenderMode: Jt, mode: n };
27083
27079
  },
27084
27080
  computed: {
@@ -27125,10 +27121,10 @@ const Pw = /* @__PURE__ */ je(Iw, [["render", Nw]]), lu = b0.child({ name: "Life
27125
27121
  },
27126
27122
  components: {
27127
27123
  LifeLine: bh,
27128
- LifeLineGroup: Pw
27124
+ LifeLineGroup: Nw
27129
27125
  }
27130
- }, $w = { class: "container relative grow" };
27131
- function Hw(t, e, n, r, s, i) {
27126
+ }, Bw = { class: "container relative grow" };
27127
+ function $w(t, e, n, r, s, i) {
27132
27128
  const o = pe("life-line"), l = pe("life-line-group");
27133
27129
  return R(), q("div", {
27134
27130
  class: "life-line-layer lifeline-layer z-30 absolute h-full flex flex-col top-0",
@@ -27144,27 +27140,27 @@ function Hw(t, e, n, r, s, i) {
27144
27140
  }),
27145
27141
  class: "pt-8 after:bg-gradient-to-b after:from-skin-frame after:via-skin-frame after:to-skin-frame/0 after:block after:absolute after:top-0 after:w-full after:h-[72px]"
27146
27142
  }, null, 4),
27147
- S("div", $w, [
27143
+ S("div", Bw, [
27148
27144
  i.starterOnTheLeft ? (R(), Se(o, {
27149
27145
  key: 0,
27150
27146
  entity: i.starterParticipant,
27151
27147
  class: ye(["starter", { invisible: i.invisibleStarter && !i.debug }]),
27152
27148
  renderParticipants: n.renderParticipants,
27153
27149
  renderLifeLine: n.renderLifeLine
27154
- }, null, 8, ["entity", "class", "renderParticipants", "renderLifeLine"])) : me("", !0),
27150
+ }, null, 8, ["entity", "class", "renderParticipants", "renderLifeLine"])) : Le("", !0),
27155
27151
  (R(!0), q(Ne, null, Nn(i.explicitGroupAndParticipants, (a, c) => (R(), q(Ne, null, [
27156
27152
  a instanceof t.GroupContext ? (R(), Se(l, {
27157
27153
  key: c,
27158
27154
  context: a,
27159
27155
  renderParticipants: n.renderParticipants,
27160
27156
  renderLifeLine: n.renderLifeLine
27161
- }, null, 8, ["context", "renderParticipants", "renderLifeLine"])) : me("", !0),
27157
+ }, null, 8, ["context", "renderParticipants", "renderLifeLine"])) : Le("", !0),
27162
27158
  a instanceof t.ParticipantContext ? (R(), Se(o, {
27163
27159
  key: c,
27164
27160
  entity: i.getParticipantEntity(a),
27165
27161
  renderParticipants: n.renderParticipants,
27166
27162
  renderLifeLine: n.renderLifeLine
27167
- }, null, 8, ["entity", "renderParticipants", "renderLifeLine"])) : me("", !0)
27163
+ }, null, 8, ["entity", "renderParticipants", "renderLifeLine"])) : Le("", !0)
27168
27164
  ], 64))), 256)),
27169
27165
  (R(!0), q(Ne, null, Nn(i.implicitParticipants, (a) => (R(), Se(o, {
27170
27166
  key: a.name,
@@ -27175,13 +27171,13 @@ function Hw(t, e, n, r, s, i) {
27175
27171
  ])
27176
27172
  ], 4);
27177
27173
  }
27178
- const fo = /* @__PURE__ */ je(Bw, [["render", Hw]]), Uw = { class: "message-layer relative z-30 pt-24 pb-10" }, au = /* @__PURE__ */ Ve({
27174
+ const fo = /* @__PURE__ */ Ge(Dw, [["render", $w]]), Hw = { class: "message-layer relative z-30 pt-24 pb-10" }, au = /* @__PURE__ */ Ve({
27179
27175
  __name: "MessageLayer",
27180
27176
  props: {
27181
27177
  context: null
27182
27178
  },
27183
27179
  setup(t) {
27184
- const e = t, n = ds(() => import("./StylePanel.083f2156.js")), r = b0.child({ name: "MessageLayer" }), s = rn(), i = P(() => s.getters.participants), o = P(() => s.getters.centerOf), l = P(() => {
27180
+ const e = t, n = ds(() => import("./StylePanel.cceea619.js")), r = b0.child({ name: "MessageLayer" }), s = rn(), i = P(() => s.getters.participants), o = P(() => s.getters.centerOf), l = P(() => {
27185
27181
  var m, y;
27186
27182
  const c = (m = e.context) == null ? void 0 : m.stat()[0].message();
27187
27183
  if (!c)
@@ -27201,7 +27197,7 @@ const fo = /* @__PURE__ */ je(Bw, [["render", Hw]]), Uw = { class: "message-laye
27201
27197
  r.debug("MessageLayer updated");
27202
27198
  }), (c, u) => {
27203
27199
  const h = pe("block");
27204
- return R(), q("div", Uw, [
27200
+ return R(), q("div", Hw, [
27205
27201
  G(h, {
27206
27202
  context: t.context,
27207
27203
  style: ve({ "padding-left": N(a) + "px" })
@@ -27211,7 +27207,7 @@ const fo = /* @__PURE__ */ je(Bw, [["render", Hw]]), Uw = { class: "message-laye
27211
27207
  };
27212
27208
  }
27213
27209
  });
27214
- const Vw = w.tree.ParseTreeWalker.DEFAULT;
27210
+ const Uw = w.tree.ParseTreeWalker.DEFAULT;
27215
27211
  class dc extends E {
27216
27212
  constructor(n) {
27217
27213
  super();
@@ -27277,7 +27273,7 @@ class dc extends E {
27277
27273
  }
27278
27274
  getFrame(n) {
27279
27275
  return n.children.map((r) => {
27280
- Vw.walk(this, r);
27276
+ Uw.walk(this, r);
27281
27277
  }), this.frameRoot;
27282
27278
  }
27283
27279
  }
@@ -27296,14 +27292,14 @@ function fc(t) {
27296
27292
  } : { left: 0, right: 0 };
27297
27293
  }
27298
27294
  function wh(t, e) {
27299
- const n = e.orderedParticipantNames(), r = [t.Origin(), ...Fs(t).Names()], s = n.find((u) => r.includes(u)) || "", i = n.slice().reverse().find((u) => r.includes(u)) || "", l = new dc(n).getFrame(t), a = fc(l), c = zw(
27295
+ const n = e.orderedParticipantNames(), r = [t.Origin(), ...Fs(t).Names()], s = n.find((u) => r.includes(u)) || "", i = n.slice().reverse().find((u) => r.includes(u)) || "", l = new dc(n).getFrame(t), a = fc(l), c = Vw(
27300
27296
  t,
27301
27297
  i,
27302
27298
  e
27303
27299
  );
27304
27300
  return e.distance(s, i) + a.left + a.right + e.half(s) + e.half(i) + c;
27305
27301
  }
27306
- function zw(t, e, n) {
27302
+ function Vw(t, e, n) {
27307
27303
  const s = fh(t).filter((i) => i.from === i.to).map(
27308
27304
  (i) => L0(i.signature, Lr.MessageContent) + 37 - n.distance(i.from, e) - n.half(e)
27309
27305
  );
@@ -27315,7 +27311,7 @@ const pc = /* @__PURE__ */ Ve({
27315
27311
  const e = rn(), n = P(() => e.state.theme), r = P(() => e.state.mode), s = P(() => e.getters.rootContext), i = P(() => e.getters.coordinates), o = P(() => wh(s.value, i.value)), l = P(() => {
27316
27312
  const c = i.value.orderedParticipantNames(), h = new dc(c).getFrame(s.value);
27317
27313
  return h ? fc(h).left + ll + 20 : 0;
27318
- }), a = Le(null);
27314
+ }), a = xe(null);
27319
27315
  return e.commit("diagramElement", a), (c, u) => (R(), q("div", {
27320
27316
  class: ye(["zenuml sequence-diagram relative box-border text-left overflow-visible", N(n)]),
27321
27317
  ref_key: "diagramRef",
@@ -27342,7 +27338,7 @@ const pc = /* @__PURE__ */ Ve({
27342
27338
  renderParticipants: !0,
27343
27339
  renderLifeLine: !1
27344
27340
  }, null, 8, ["leftGap", "context"])
27345
- ], 64)) : me("", !0),
27341
+ ], 64)) : Le("", !0),
27346
27342
  N(r) === N(Jt).Static ? (R(), q(Ne, { key: 1 }, [
27347
27343
  G(fo, {
27348
27344
  leftGap: N(l),
@@ -27354,12 +27350,12 @@ const pc = /* @__PURE__ */ Ve({
27354
27350
  context: N(s).block(),
27355
27351
  style: ve({ width: `${N(o)}px` })
27356
27352
  }, null, 8, ["context", "style"])
27357
- ], 64)) : me("", !0)
27353
+ ], 64)) : Le("", !0)
27358
27354
  ], 4)
27359
27355
  ], 2));
27360
27356
  }
27361
27357
  });
27362
- const Gw = {
27358
+ const zw = {
27363
27359
  name: "IconList",
27364
27360
  props: ["types"],
27365
27361
  computed: {},
@@ -27368,35 +27364,35 @@ const Gw = {
27368
27364
  return Lh[t == null ? void 0 : t.toLowerCase()];
27369
27365
  }
27370
27366
  }
27371
- }, jw = {
27367
+ }, Gw = {
27372
27368
  role: "list",
27373
27369
  class: "mt-3 grid grid-cols-4 gap-5 sm:gap-6 sm:grid-cols-6 lg:grid-cols-8"
27374
- }, Zw = { class: "h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md" }, Ww = ["innerHTML", "alt"], qw = { class: "flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md" }, Kw = { class: "px-2 py-2 text-xs" }, Yw = { class: "text-gray-900 font-medium hover:text-gray-600" };
27375
- function Xw(t, e, n, r, s, i) {
27376
- return R(), q("ul", jw, [
27370
+ }, jw = { class: "h-12 flex items-center justify-center bg-gray-50 text-white text-sm font-medium rounded-t-md" }, Zw = ["innerHTML", "alt"], Ww = { class: "flex items-center justify-center border-t border-r border-b border-gray-200 bg-white rounded-b-md" }, qw = { class: "px-2 py-2 text-xs" }, Kw = { class: "text-gray-900 font-medium hover:text-gray-600" };
27371
+ function Yw(t, e, n, r, s, i) {
27372
+ return R(), q("ul", Gw, [
27377
27373
  (R(!0), q(Ne, null, Nn(n.types, (o) => (R(), q("li", {
27378
27374
  key: o,
27379
27375
  class: "col-span-1 flex flex-col shadow-sm rounded-md"
27380
27376
  }, [
27381
- S("div", Zw, [
27377
+ S("div", jw, [
27382
27378
  i.icon ? (R(), q("i", {
27383
27379
  key: 0,
27384
27380
  innerHTML: i.icon(o),
27385
27381
  class: "object-contain h-8 w-8 m-auto [&>svg]:w-full [&>svg]:h-full",
27386
27382
  alt: `icon for ${o}`
27387
- }, null, 8, Ww)) : me("", !0)
27383
+ }, null, 8, Zw)) : Le("", !0)
27388
27384
  ]),
27389
- S("div", qw, [
27390
- S("div", Kw, [
27391
- S("span", Yw, "@" + Ge(o), 1)
27385
+ S("div", Ww, [
27386
+ S("div", qw, [
27387
+ S("span", Kw, "@" + Ze(o), 1)
27392
27388
  ])
27393
27389
  ])
27394
27390
  ]))), 128))
27395
27391
  ]);
27396
27392
  }
27397
- const Qw = /* @__PURE__ */ je(Gw, [["render", Xw]]), Jw = {
27393
+ const Xw = /* @__PURE__ */ Ge(zw, [["render", Yw]]), Qw = {
27398
27394
  name: "TipsDialog",
27399
- components: { Icon: dr, IconList: Qw },
27395
+ components: { Icon: dr, IconList: Xw },
27400
27396
  computed: {
27401
27397
  standardTypes() {
27402
27398
  return ["Actor", "Boundary", "Control", "Database", "Entity"];
@@ -27478,16 +27474,16 @@ const Qw = /* @__PURE__ */ je(Gw, [["render", Xw]]), Jw = {
27478
27474
  }
27479
27475
  }
27480
27476
  }
27481
- }, eE = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block" }, tE = /* @__PURE__ */ S("div", {
27477
+ }, Jw = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block" }, eE = /* @__PURE__ */ S("div", {
27482
27478
  class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity",
27483
27479
  "aria-hidden": "true"
27484
- }, null, -1), nE = /* @__PURE__ */ S("span", {
27480
+ }, null, -1), tE = /* @__PURE__ */ S("span", {
27485
27481
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
27486
27482
  "aria-hidden": "true"
27487
- }, "\u200B", -1), rE = { class: "z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2" }, sE = {
27483
+ }, "\u200B", -1), nE = { class: "z-40 inline-block align-bottom bg-white rounded-lg px-4 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:p-2" }, rE = {
27488
27484
  class: "bg-white px-4 py-5 border-b border-gray-200 sm:px-6",
27489
27485
  slot: "header"
27490
- }, iE = /* @__PURE__ */ S("h3", { class: "text-xl leading-6 font-medium text-gray-900 inline-block" }, " ZenUML Tips ", -1), oE = /* @__PURE__ */ S("span", { class: "sr-only" }, "Close menu", -1), lE = { slot: "body" }, aE = { class: "relative bg-white pb-32 mt-4 overflow-hidden" }, cE = { class: "relative" }, uE = { class: "lg:mx-auto lg:max-w-11/12 lg:px-8" }, hE = /* @__PURE__ */ f1(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
27486
+ }, sE = /* @__PURE__ */ S("h3", { class: "text-xl leading-6 font-medium text-gray-900 inline-block" }, " ZenUML Tips ", -1), iE = /* @__PURE__ */ S("span", { class: "sr-only" }, "Close menu", -1), oE = { slot: "body" }, lE = { class: "relative bg-white pb-32 mt-4 overflow-hidden" }, aE = { class: "relative" }, cE = { class: "lg:mx-auto lg:max-w-11/12 lg:px-8" }, uE = /* @__PURE__ */ f1(`<div class="grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1"><div><div class="px-4 max-w-full mx-auto sm:px-6 lg:max-w-none lg:mx-0"><h2 class="mt-4 mb-4 text-lg leading-6 font-medium text-gray-900"> Declare Participants </h2><pre class="text-xs w-full bg-gray-50 text-gray-600 p-2 rounded-lg"><code>// Define a Starter (optional)
27491
27487
  @Starter(A)
27492
27488
 
27493
27489
  // Show icons
@@ -27534,48 +27530,48 @@ A.method() {
27534
27530
  }
27535
27531
  A.method() {
27536
27532
  @return A-&gt;B: message
27537
- }</code></pre></div></div>`, 1), dE = { class: "px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0" }, fE = /* @__PURE__ */ S("h2", { class: "mt-8 mb-4 text-lg leading-6 font-medium text-gray-900" }, " Builtin Icons ", -1), pE = /* @__PURE__ */ S("p", { class: "text-sm text-gray-500" }, [
27533
+ }</code></pre></div></div>`, 1), hE = { class: "px-4 max-w-7xl mx-auto sm:px-6 lg:max-w-none lg:mx-0" }, dE = /* @__PURE__ */ S("h2", { class: "mt-8 mb-4 text-lg leading-6 font-medium text-gray-900" }, " Builtin Icons ", -1), fE = /* @__PURE__ */ S("p", { class: "text-sm text-gray-500" }, [
27538
27534
  /* @__PURE__ */ An(" Use "),
27539
27535
  /* @__PURE__ */ S("span", { class: "rounded inline-block bg-gray-50 text-gray-600" }, [
27540
27536
  /* @__PURE__ */ S("code", { class: "text-xs" }, "@Actor TheParticipant")
27541
27537
  ]),
27542
27538
  /* @__PURE__ */ An(" to define the type of the participant. ")
27543
- ], -1), gE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1), mE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1), xE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1);
27544
- function LE(t, e, n, r, s, i) {
27539
+ ], -1), pE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1), gE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1), mE = /* @__PURE__ */ S("hr", { class: "mt-4" }, null, -1);
27540
+ function xE(t, e, n, r, s, i) {
27545
27541
  const o = pe("Icon"), l = pe("IconList");
27546
- return R(), q("div", eE, [
27542
+ return R(), q("div", Jw, [
27543
+ eE,
27547
27544
  tE,
27548
- nE,
27549
- S("div", rE, [
27545
+ S("div", nE, [
27550
27546
  S("div", null, [
27551
- S("div", sE, [
27552
- iE,
27547
+ S("div", rE, [
27548
+ sE,
27553
27549
  S("button", {
27554
27550
  type: "button",
27555
27551
  onClick: e[0] || (e[0] = (a) => i.closeTipsDialog()),
27556
27552
  class: "float-right bg-white rounded-md inline-flex items-center justify-center text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500"
27557
27553
  }, [
27558
- oE,
27554
+ iE,
27559
27555
  G(o, {
27560
27556
  name: "close",
27561
27557
  "icon-class": "h-6 w-6"
27562
27558
  })
27563
27559
  ])
27564
27560
  ]),
27565
- S("div", lE, [
27566
- S("div", aE, [
27567
- S("div", cE, [
27568
- S("div", uE, [
27569
- hE,
27570
- S("div", dE, [
27561
+ S("div", oE, [
27562
+ S("div", lE, [
27563
+ S("div", aE, [
27564
+ S("div", cE, [
27565
+ uE,
27566
+ S("div", hE, [
27567
+ dE,
27571
27568
  fE,
27572
- pE,
27573
27569
  G(l, { types: i.standardTypes }, null, 8, ["types"]),
27574
- gE,
27570
+ pE,
27575
27571
  G(l, { types: i.awsServices }, null, 8, ["types"]),
27576
- mE,
27572
+ gE,
27577
27573
  G(l, { types: i.azureServices }, null, 8, ["types"]),
27578
- xE,
27574
+ mE,
27579
27575
  G(l, { types: i.googleServices }, null, 8, ["types"])
27580
27576
  ])
27581
27577
  ])
@@ -27586,71 +27582,71 @@ function LE(t, e, n, r, s, i) {
27586
27582
  ])
27587
27583
  ]);
27588
27584
  }
27589
- const _E = /* @__PURE__ */ je(Jw, [["render", LE]]), yE = {
27585
+ const LE = /* @__PURE__ */ Ge(Qw, [["render", xE]]), _E = {
27590
27586
  name: "point",
27591
27587
  props: ["fill", "rtl"]
27592
- }, CE = {
27588
+ }, yE = {
27593
27589
  key: 0,
27594
27590
  class: "arrow stroke-2",
27595
27591
  height: "10",
27596
27592
  width: "10",
27597
27593
  viewBox: "0 0 3 6"
27598
- }, vE = /* @__PURE__ */ S("path", {
27594
+ }, CE = /* @__PURE__ */ S("path", {
27599
27595
  d: "M4.42834 2.657C4.68727 2.81236 4.68727 3.18764 4.42834 3.343L0.605799 5.63652C0.339189 5.79649 1.66376e-08 5.60444 2.97152e-08 5.29352L2.22651e-07 0.706476C2.35729e-07 0.395559 0.339189 0.203513 0.605799 0.363479L4.42834 2.657Z",
27600
27596
  fill: "currentColor",
27601
27597
  stroke: "none"
27602
- }, null, -1), bE = [
27603
- vE
27604
- ], wE = {
27598
+ }, null, -1), vE = [
27599
+ CE
27600
+ ], bE = {
27605
27601
  key: 1,
27606
27602
  class: "arrow stroke-2",
27607
27603
  height: "10",
27608
27604
  width: "10",
27609
27605
  viewBox: "0 0 2 8.5"
27610
- }, EE = /* @__PURE__ */ S("path", {
27606
+ }, wE = /* @__PURE__ */ S("path", {
27611
27607
  d: "M1 1L4.14331 4.29299C4.14704 4.2969 4.14699 4.30306 4.1432 4.30691L1 7.5",
27612
27608
  stroke: "currentColor",
27613
27609
  "stroke-linecap": "round",
27614
27610
  fill: "none"
27615
- }, null, -1), TE = [
27616
- EE
27617
- ], SE = {
27611
+ }, null, -1), EE = [
27612
+ wE
27613
+ ], TE = {
27618
27614
  key: 2,
27619
27615
  class: "arrow stroke-2",
27620
27616
  height: "10",
27621
27617
  width: "10",
27622
27618
  viewBox: "1 0 5 6"
27623
- }, AE = /* @__PURE__ */ S("path", {
27619
+ }, SE = /* @__PURE__ */ S("path", {
27624
27620
  d: "M0.571662 2.657C0.312726 2.81236 0.312726 3.18764 0.571662 3.343L4.3942 5.63652C4.66081 5.79649 5 5.60444 5 5.29352L5 0.706476C5 0.395559 4.66081 0.203513 4.3942 0.363479L0.571662 2.657Z",
27625
27621
  fill: "currentColor",
27626
27622
  stroke: "none"
27627
- }, null, -1), RE = [
27628
- AE
27629
- ], kE = {
27623
+ }, null, -1), AE = [
27624
+ SE
27625
+ ], RE = {
27630
27626
  key: 3,
27631
27627
  class: "arrow stroke-2",
27632
27628
  height: "10",
27633
27629
  width: "10",
27634
27630
  viewBox: "2 0 5 9"
27635
- }, OE = /* @__PURE__ */ S("path", {
27631
+ }, kE = /* @__PURE__ */ S("path", {
27636
27632
  d: "M4.14844 1L1.00441 4.54711C1.00101 4.55094 1.00106 4.55671 1.00451 4.56049L4.14844 8",
27637
27633
  stroke: "currentColor",
27638
27634
  "stroke-linecap": "round",
27639
27635
  fill: "none"
27640
- }, null, -1), IE = [
27641
- OE
27636
+ }, null, -1), OE = [
27637
+ kE
27642
27638
  ];
27643
- function ME(t, e, n, r, s, i) {
27639
+ function IE(t, e, n, r, s, i) {
27644
27640
  return R(), q("div", {
27645
27641
  class: ye(["point text-skin-message-arrow", { filled: n.fill, open: !n.fill, "right-to-left": n.rtl }])
27646
27642
  }, [
27647
- !n.rtl && n.fill ? (R(), q("svg", CE, bE)) : me("", !0),
27648
- !n.rtl && !n.fill ? (R(), q("svg", wE, TE)) : me("", !0),
27649
- n.rtl && n.fill ? (R(), q("svg", SE, RE)) : me("", !0),
27650
- n.rtl && !n.fill ? (R(), q("svg", kE, IE)) : me("", !0)
27643
+ !n.rtl && n.fill ? (R(), q("svg", yE, vE)) : Le("", !0),
27644
+ !n.rtl && !n.fill ? (R(), q("svg", bE, EE)) : Le("", !0),
27645
+ n.rtl && n.fill ? (R(), q("svg", TE, AE)) : Le("", !0),
27646
+ n.rtl && !n.fill ? (R(), q("svg", RE, OE)) : Le("", !0)
27651
27647
  ], 2);
27652
27648
  }
27653
- const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], gc = /* @__PURE__ */ Ve({
27649
+ const ME = /* @__PURE__ */ Ge(_E, [["render", IE]]), NE = ["contenteditable"], gc = /* @__PURE__ */ Ve({
27654
27650
  __name: "MessageLabel",
27655
27651
  props: {
27656
27652
  labelText: null,
@@ -27698,9 +27694,9 @@ const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], g
27698
27694
  onBlur: _[1] || (_[1] = (...v) => N(y) && N(y)(...v)),
27699
27695
  onKeyup: _[2] || (_[2] = (...v) => N(L) && N(L)(...v)),
27700
27696
  onKeydown: _[3] || (_[3] = (...v) => N(T) && N(T)(...v))
27701
- }, Ge(N(n)), 43, PE));
27697
+ }, Ze(N(n)), 43, NE));
27702
27698
  }
27703
- }), FE = { class: "name group flex-grow relative text-sm hover:text-skin-message-hover hover:bg-skin-message-hover" }, DE = { class: "inline-block static min-h-[1em]" }, BE = {
27699
+ }), PE = { class: "name group flex-grow relative text-sm hover:text-skin-message-hover hover:bg-skin-message-hover" }, FE = { class: "inline-block static min-h-[1em]" }, DE = {
27704
27700
  key: 0,
27705
27701
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"
27706
27702
  }, j0 = /* @__PURE__ */ Ve({
@@ -27715,7 +27711,7 @@ const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], g
27715
27711
  number: null
27716
27712
  },
27717
27713
  setup(t) {
27718
- const e = t, { context: n, content: r, rtl: s, type: i, textStyle: o, classNames: l, number: a } = Gr(e), c = rn(), u = Le(), h = P(() => c.state.numbering), d = P(() => (i == null ? void 0 : i.value) === "async"), p = P(() => c.state.mode), m = P(() => {
27714
+ const e = t, { context: n, content: r, rtl: s, type: i, textStyle: o, classNames: l, number: a } = Gr(e), c = rn(), u = xe(), h = P(() => c.state.numbering), d = P(() => (i == null ? void 0 : i.value) === "async"), p = P(() => c.state.mode), m = P(() => {
27719
27715
  if (p.value === Jt.Static)
27720
27716
  return !1;
27721
27717
  switch (i == null ? void 0 : i.value) {
@@ -27791,8 +27787,8 @@ const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], g
27791
27787
  ref_key: "messageRef",
27792
27788
  ref: u
27793
27789
  }, [
27794
- S("div", FE, [
27795
- S("div", DE, [
27790
+ S("div", PE, [
27791
+ S("div", FE, [
27796
27792
  S("div", {
27797
27793
  style: ve(N(o)),
27798
27794
  class: ye(N(l))
@@ -27803,20 +27799,20 @@ const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], g
27803
27799
  labelPosition: N(y),
27804
27800
  isAsync: N(d)
27805
27801
  }, null, 8, ["labelText", "labelPosition", "isAsync"])) : (R(), q(Ne, { key: 1 }, [
27806
- An(Ge(N(r)), 1)
27802
+ An(Ze(N(r)), 1)
27807
27803
  ], 64))
27808
27804
  ], 6),
27809
- N(h) ? (R(), q("div", BE, Ge(N(a)), 1)) : me("", !0)
27805
+ N(h) ? (R(), q("div", DE, Ze(N(a)), 1)) : Le("", !0)
27810
27806
  ])
27811
27807
  ]),
27812
- G(NE, {
27808
+ G(ME, {
27813
27809
  class: "flex-shrink-0 transform translate-y-1/2 -my-px",
27814
27810
  fill: N(L),
27815
27811
  rtl: N(s)
27816
27812
  }, null, 8, ["fill", "rtl"])
27817
27813
  ], 6));
27818
27814
  }
27819
- }), $E = {
27815
+ }), BE = {
27820
27816
  name: "WidthProvider",
27821
27817
  components: { Message: j0 },
27822
27818
  data: function() {
@@ -27832,10 +27828,10 @@ const NE = /* @__PURE__ */ je(yE, [["render", ME]]), PE = ["contenteditable"], g
27832
27828
  mounted() {
27833
27829
  this.$store.state.widthProvider = this;
27834
27830
  }
27835
- }, HE = { class: "hidden" };
27836
- function UE(t, e, n, r, s, i) {
27831
+ }, $E = { class: "hidden" };
27832
+ function HE(t, e, n, r, s, i) {
27837
27833
  const o = pe("message");
27838
- return R(), q("div", HE, [
27834
+ return R(), q("div", $E, [
27839
27835
  G(o, {
27840
27836
  content: t.text,
27841
27837
  rtl: "false",
@@ -27843,8 +27839,8 @@ function UE(t, e, n, r, s, i) {
27843
27839
  }, null, 8, ["content"])
27844
27840
  ]);
27845
27841
  }
27846
- const VE = /* @__PURE__ */ je($E, [["render", UE]]);
27847
- function zE(t, e) {
27842
+ const UE = /* @__PURE__ */ Ge(BE, [["render", HE]]);
27843
+ function VE(t, e) {
27848
27844
  if (t.match(/^[a-z]+:\/\//i))
27849
27845
  return t;
27850
27846
  if (t.match(/^\/\//))
@@ -27854,7 +27850,7 @@ function zE(t, e) {
27854
27850
  const n = document.implementation.createHTMLDocument(), r = n.createElement("base"), s = n.createElement("a");
27855
27851
  return n.head.appendChild(r), n.body.appendChild(s), e && (r.href = e), s.href = t, s.href;
27856
27852
  }
27857
- const GE = (() => {
27853
+ const zE = (() => {
27858
27854
  let t = 0;
27859
27855
  const e = () => `0000${(Math.random() * 36 ** 4 << 0).toString(36)}`.slice(-4);
27860
27856
  return () => (t += 1, `u${e()}${t}`);
@@ -27869,19 +27865,19 @@ function zi(t, e) {
27869
27865
  const r = (t.ownerDocument.defaultView || window).getComputedStyle(t).getPropertyValue(e);
27870
27866
  return r ? parseFloat(r.replace("px", "")) : 0;
27871
27867
  }
27872
- function jE(t) {
27868
+ function GE(t) {
27873
27869
  const e = zi(t, "border-left-width"), n = zi(t, "border-right-width");
27874
27870
  return t.clientWidth + e + n;
27875
27871
  }
27876
- function ZE(t) {
27872
+ function jE(t) {
27877
27873
  const e = zi(t, "border-top-width"), n = zi(t, "border-bottom-width");
27878
27874
  return t.clientHeight + e + n;
27879
27875
  }
27880
27876
  function Eh(t, e = {}) {
27881
- const n = e.width || jE(t), r = e.height || ZE(t);
27877
+ const n = e.width || GE(t), r = e.height || jE(t);
27882
27878
  return { width: n, height: r };
27883
27879
  }
27884
- function WE() {
27880
+ function ZE() {
27885
27881
  let t, e;
27886
27882
  try {
27887
27883
  e = process;
@@ -27891,10 +27887,10 @@ function WE() {
27891
27887
  return n && (t = parseInt(n, 10), Number.isNaN(t) && (t = 1)), t || window.devicePixelRatio || 1;
27892
27888
  }
27893
27889
  const jt = 16384;
27894
- function qE(t) {
27890
+ function WE(t) {
27895
27891
  (t.width > jt || t.height > jt) && (t.width > jt && t.height > jt ? t.width > t.height ? (t.height *= jt / t.width, t.width = jt) : (t.width *= jt / t.height, t.height = jt) : t.width > jt ? (t.height *= jt / t.width, t.width = jt) : (t.width *= jt / t.height, t.height = jt));
27896
27892
  }
27897
- function KE(t, e = {}) {
27893
+ function qE(t, e = {}) {
27898
27894
  return t.toBlob ? new Promise((n) => {
27899
27895
  t.toBlob(n, e.type ? e.type : "image/png", e.quality ? e.quality : 1);
27900
27896
  }) : new Promise((n) => {
@@ -27912,44 +27908,44 @@ function Gi(t) {
27912
27908
  r.decode = () => e(r), r.onload = () => e(r), r.onerror = n, r.crossOrigin = "anonymous", r.decoding = "async", r.src = t;
27913
27909
  });
27914
27910
  }
27915
- async function YE(t) {
27911
+ async function KE(t) {
27916
27912
  return Promise.resolve().then(() => new XMLSerializer().serializeToString(t)).then(encodeURIComponent).then((e) => `data:image/svg+xml;charset=utf-8,${e}`);
27917
27913
  }
27918
- async function XE(t, e, n) {
27914
+ async function YE(t, e, n) {
27919
27915
  const r = "http://www.w3.org/2000/svg", s = document.createElementNS(r, "svg"), i = document.createElementNS(r, "foreignObject");
27920
- return s.setAttribute("width", `${e}`), s.setAttribute("height", `${n}`), s.setAttribute("viewBox", `0 0 ${e} ${n}`), i.setAttribute("width", "100%"), i.setAttribute("height", "100%"), i.setAttribute("x", "0"), i.setAttribute("y", "0"), i.setAttribute("externalResourcesRequired", "true"), s.appendChild(i), i.appendChild(t), YE(s);
27916
+ return s.setAttribute("width", `${e}`), s.setAttribute("height", `${n}`), s.setAttribute("viewBox", `0 0 ${e} ${n}`), i.setAttribute("width", "100%"), i.setAttribute("height", "100%"), i.setAttribute("x", "0"), i.setAttribute("y", "0"), i.setAttribute("externalResourcesRequired", "true"), s.appendChild(i), i.appendChild(t), KE(s);
27921
27917
  }
27922
- function QE(t) {
27918
+ function XE(t) {
27923
27919
  const e = t.getPropertyValue("content");
27924
27920
  return `${t.cssText} content: '${e.replace(/'|"/g, "")}';`;
27925
27921
  }
27926
- function JE(t) {
27922
+ function QE(t) {
27927
27923
  return _r(t).map((e) => {
27928
27924
  const n = t.getPropertyValue(e), r = t.getPropertyPriority(e);
27929
27925
  return `${e}: ${n}${r ? " !important" : ""};`;
27930
27926
  }).join(" ");
27931
27927
  }
27932
- function eT(t, e, n) {
27933
- const r = `.${t}:${e}`, s = n.cssText ? QE(n) : JE(n);
27928
+ function JE(t, e, n) {
27929
+ const r = `.${t}:${e}`, s = n.cssText ? XE(n) : QE(n);
27934
27930
  return document.createTextNode(`${r}{${s}}`);
27935
27931
  }
27936
27932
  function cu(t, e, n) {
27937
27933
  const r = window.getComputedStyle(t, n), s = r.getPropertyValue("content");
27938
27934
  if (s === "" || s === "none")
27939
27935
  return;
27940
- const i = GE();
27936
+ const i = zE();
27941
27937
  try {
27942
27938
  e.className = `${e.className} ${i}`;
27943
27939
  } catch {
27944
27940
  return;
27945
27941
  }
27946
27942
  const o = document.createElement("style");
27947
- o.appendChild(eT(i, n, r)), e.appendChild(o);
27943
+ o.appendChild(JE(i, n, r)), e.appendChild(o);
27948
27944
  }
27949
- function tT(t, e) {
27945
+ function eT(t, e) {
27950
27946
  cu(t, e, ":before"), cu(t, e, ":after");
27951
27947
  }
27952
- const uu = "application/font-woff", hu = "image/jpeg", nT = {
27948
+ const uu = "application/font-woff", hu = "image/jpeg", tT = {
27953
27949
  woff: uu,
27954
27950
  woff2: uu,
27955
27951
  ttf: "application/font-truetype",
@@ -27962,15 +27958,15 @@ const uu = "application/font-woff", hu = "image/jpeg", nT = {
27962
27958
  svg: "image/svg+xml",
27963
27959
  webp: "image/webp"
27964
27960
  };
27965
- function rT(t) {
27961
+ function nT(t) {
27966
27962
  const e = /\.([^./]*?)$/g.exec(t);
27967
27963
  return e ? e[1] : "";
27968
27964
  }
27969
27965
  function mc(t) {
27970
- const e = rT(t).toLowerCase();
27971
- return nT[e] || "";
27966
+ const e = nT(t).toLowerCase();
27967
+ return tT[e] || "";
27972
27968
  }
27973
- function sT(t) {
27969
+ function rT(t) {
27974
27970
  return t.split(/,/)[1];
27975
27971
  }
27976
27972
  function ul(t) {
@@ -27996,18 +27992,18 @@ async function Sh(t, e, n) {
27996
27992
  });
27997
27993
  }
27998
27994
  const po = {};
27999
- function iT(t, e, n) {
27995
+ function sT(t, e, n) {
28000
27996
  let r = t.replace(/\?.*/, "");
28001
27997
  return n && (r = t), /ttf|otf|eot|woff2?/i.test(r) && (r = r.replace(/.*\//, "")), e ? `[${e}]${r}` : r;
28002
27998
  }
28003
27999
  async function xc(t, e, n) {
28004
- const r = iT(t, e, n.includeQueryParams);
28000
+ const r = sT(t, e, n.includeQueryParams);
28005
28001
  if (po[r] != null)
28006
28002
  return po[r];
28007
28003
  n.cacheBust && (t += (/\?/.test(t) ? "&" : "?") + new Date().getTime());
28008
28004
  let s;
28009
28005
  try {
28010
- const i = await Sh(t, n.fetchRequestInit, ({ res: o, result: l }) => (e || (e = o.headers.get("Content-Type") || ""), sT(l)));
28006
+ const i = await Sh(t, n.fetchRequestInit, ({ res: o, result: l }) => (e || (e = o.headers.get("Content-Type") || ""), rT(l)));
28011
28007
  s = Th(i, e);
28012
28008
  } catch (i) {
28013
28009
  s = n.imagePlaceholder || "";
@@ -28016,11 +28012,11 @@ async function xc(t, e, n) {
28016
28012
  }
28017
28013
  return po[r] = s, s;
28018
28014
  }
28019
- async function oT(t) {
28015
+ async function iT(t) {
28020
28016
  const e = t.toDataURL();
28021
28017
  return e === "data:," ? t.cloneNode(!1) : Gi(e);
28022
28018
  }
28023
- async function lT(t, e) {
28019
+ async function oT(t, e) {
28024
28020
  if (t.currentSrc) {
28025
28021
  const i = document.createElement("canvas"), o = i.getContext("2d");
28026
28022
  i.width = t.clientWidth, i.height = t.clientHeight, o == null || o.drawImage(t, 0, 0, i.width, i.height);
@@ -28030,7 +28026,7 @@ async function lT(t, e) {
28030
28026
  const n = t.poster, r = mc(n), s = await xc(n, r, e);
28031
28027
  return Gi(s);
28032
28028
  }
28033
- async function aT(t) {
28029
+ async function lT(t) {
28034
28030
  var e;
28035
28031
  try {
28036
28032
  if (!((e = t == null ? void 0 : t.contentDocument) === null || e === void 0) && e.body)
@@ -28039,18 +28035,18 @@ async function aT(t) {
28039
28035
  }
28040
28036
  return t.cloneNode(!1);
28041
28037
  }
28042
- async function cT(t, e) {
28043
- return t instanceof HTMLCanvasElement ? oT(t) : t instanceof HTMLVideoElement ? lT(t, e) : t instanceof HTMLIFrameElement ? aT(t) : t.cloneNode(!1);
28038
+ async function aT(t, e) {
28039
+ return t instanceof HTMLCanvasElement ? iT(t) : t instanceof HTMLVideoElement ? oT(t, e) : t instanceof HTMLIFrameElement ? lT(t) : t.cloneNode(!1);
28044
28040
  }
28045
- const uT = (t) => t.tagName != null && t.tagName.toUpperCase() === "SLOT";
28046
- async function hT(t, e, n) {
28041
+ const cT = (t) => t.tagName != null && t.tagName.toUpperCase() === "SLOT";
28042
+ async function uT(t, e, n) {
28047
28043
  var r;
28048
- const s = uT(t) && t.assignedNodes ? _r(t.assignedNodes()) : _r(((r = t.shadowRoot) !== null && r !== void 0 ? r : t).childNodes);
28044
+ const s = cT(t) && t.assignedNodes ? _r(t.assignedNodes()) : _r(((r = t.shadowRoot) !== null && r !== void 0 ? r : t).childNodes);
28049
28045
  return s.length === 0 || t instanceof HTMLVideoElement || await s.reduce((i, o) => i.then(() => V1(o, n)).then((l) => {
28050
28046
  l && e.appendChild(l);
28051
28047
  }), Promise.resolve()), e;
28052
28048
  }
28053
- function dT(t, e) {
28049
+ function hT(t, e) {
28054
28050
  const n = e.style;
28055
28051
  if (!n)
28056
28052
  return;
@@ -28060,19 +28056,19 @@ function dT(t, e) {
28060
28056
  s === "font-size" && i.endsWith("px") && (i = `${Math.floor(parseFloat(i.substring(0, i.length - 2))) - 0.1}px`), n.setProperty(s, i, r.getPropertyPriority(s));
28061
28057
  });
28062
28058
  }
28063
- function fT(t, e) {
28059
+ function dT(t, e) {
28064
28060
  t instanceof HTMLTextAreaElement && (e.innerHTML = t.value), t instanceof HTMLInputElement && e.setAttribute("value", t.value);
28065
28061
  }
28066
- function pT(t, e) {
28062
+ function fT(t, e) {
28067
28063
  if (t instanceof HTMLSelectElement) {
28068
28064
  const n = e, r = Array.from(n.children).find((s) => t.value === s.getAttribute("value"));
28069
28065
  r && r.setAttribute("selected", "");
28070
28066
  }
28071
28067
  }
28072
- function gT(t, e) {
28073
- return e instanceof Element && (dT(t, e), tT(t, e), fT(t, e), pT(t, e)), e;
28068
+ function pT(t, e) {
28069
+ return e instanceof Element && (hT(t, e), eT(t, e), dT(t, e), fT(t, e)), e;
28074
28070
  }
28075
- async function mT(t, e) {
28071
+ async function gT(t, e) {
28076
28072
  const n = t.querySelectorAll ? t.querySelectorAll("use") : [];
28077
28073
  if (n.length === 0)
28078
28074
  return t;
@@ -28097,35 +28093,35 @@ async function mT(t, e) {
28097
28093
  return t;
28098
28094
  }
28099
28095
  async function V1(t, e, n) {
28100
- return !n && e.filter && !e.filter(t) ? null : Promise.resolve(t).then((r) => cT(r, e)).then((r) => hT(t, r, e)).then((r) => gT(t, r)).then((r) => mT(r, e));
28096
+ return !n && e.filter && !e.filter(t) ? null : Promise.resolve(t).then((r) => aT(r, e)).then((r) => uT(t, r, e)).then((r) => pT(t, r)).then((r) => gT(r, e));
28101
28097
  }
28102
- const Ah = /url\((['"]?)([^'"]+?)\1\)/g, xT = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, LT = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
28103
- function _T(t) {
28098
+ const Ah = /url\((['"]?)([^'"]+?)\1\)/g, mT = /url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g, xT = /src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;
28099
+ function LT(t) {
28104
28100
  const e = t.replace(/([.*+?^${}()|\[\]\/\\])/g, "\\$1");
28105
28101
  return new RegExp(`(url\\(['"]?)(${e})(['"]?\\))`, "g");
28106
28102
  }
28107
- function yT(t) {
28103
+ function _T(t) {
28108
28104
  const e = [];
28109
28105
  return t.replace(Ah, (n, r, s) => (e.push(s), n)), e.filter((n) => !ul(n));
28110
28106
  }
28111
- async function CT(t, e, n, r, s) {
28107
+ async function yT(t, e, n, r, s) {
28112
28108
  try {
28113
- const i = n ? zE(e, n) : e, o = mc(e);
28109
+ const i = n ? VE(e, n) : e, o = mc(e);
28114
28110
  let l;
28115
28111
  if (s) {
28116
28112
  const a = await s(i);
28117
28113
  l = Th(a, o);
28118
28114
  } else
28119
28115
  l = await xc(i, o, r);
28120
- return t.replace(_T(e), `$1${l}$3`);
28116
+ return t.replace(LT(e), `$1${l}$3`);
28121
28117
  } catch {
28122
28118
  }
28123
28119
  return t;
28124
28120
  }
28125
- function vT(t, { preferredFontFormat: e }) {
28126
- return e ? t.replace(LT, (n) => {
28121
+ function CT(t, { preferredFontFormat: e }) {
28122
+ return e ? t.replace(xT, (n) => {
28127
28123
  for (; ; ) {
28128
- const [r, , s] = xT.exec(n) || [];
28124
+ const [r, , s] = mT.exec(n) || [];
28129
28125
  if (!s)
28130
28126
  return "";
28131
28127
  if (s === e)
@@ -28139,10 +28135,10 @@ function Rh(t) {
28139
28135
  async function kh(t, e, n) {
28140
28136
  if (!Rh(t))
28141
28137
  return t;
28142
- const r = vT(t, n);
28143
- return yT(r).reduce((i, o) => i.then((l) => CT(l, o, e, n)), Promise.resolve(r));
28138
+ const r = CT(t, n);
28139
+ return _T(r).reduce((i, o) => i.then((l) => yT(l, o, e, n)), Promise.resolve(r));
28144
28140
  }
28145
- async function bT(t, e) {
28141
+ async function vT(t, e) {
28146
28142
  var n;
28147
28143
  const r = (n = t.style) === null || n === void 0 ? void 0 : n.getPropertyValue("background");
28148
28144
  if (r) {
@@ -28150,7 +28146,7 @@ async function bT(t, e) {
28150
28146
  t.style.setProperty("background", s, t.style.getPropertyPriority("background"));
28151
28147
  }
28152
28148
  }
28153
- async function wT(t, e) {
28149
+ async function bT(t, e) {
28154
28150
  if (!(t instanceof HTMLImageElement && !ul(t.src)) && !(t instanceof SVGImageElement && !ul(t.href.baseVal)))
28155
28151
  return;
28156
28152
  const n = t instanceof HTMLImageElement ? t.src : t.href.baseVal, r = await xc(n, mc(n), e);
@@ -28160,14 +28156,14 @@ async function wT(t, e) {
28160
28156
  o.decode && (o.decode = s), t instanceof HTMLImageElement ? (t.srcset = "", t.src = r) : t.href.baseVal = r;
28161
28157
  });
28162
28158
  }
28163
- async function ET(t, e) {
28159
+ async function wT(t, e) {
28164
28160
  const r = _r(t.childNodes).map((s) => Oh(s, e));
28165
28161
  await Promise.all(r).then(() => t);
28166
28162
  }
28167
28163
  async function Oh(t, e) {
28168
- t instanceof Element && (await bT(t, e), await wT(t, e), await ET(t, e));
28164
+ t instanceof Element && (await vT(t, e), await bT(t, e), await wT(t, e));
28169
28165
  }
28170
- function TT(t, e) {
28166
+ function ET(t, e) {
28171
28167
  const { style: n } = t;
28172
28168
  e.backgroundColor && (n.backgroundColor = e.backgroundColor), e.width && (n.width = `${e.width}px`), e.height && (n.height = `${e.height}px`);
28173
28169
  const r = e.style;
@@ -28217,7 +28213,7 @@ function gu(t) {
28217
28213
  }
28218
28214
  return e;
28219
28215
  }
28220
- async function ST(t, e) {
28216
+ async function TT(t, e) {
28221
28217
  const n = [], r = [];
28222
28218
  return t.forEach((s) => {
28223
28219
  if ("cssRules" in s)
@@ -28259,25 +28255,25 @@ async function ST(t, e) {
28259
28255
  }
28260
28256
  }), n));
28261
28257
  }
28262
- function AT(t) {
28258
+ function ST(t) {
28263
28259
  return t.filter((e) => e.type === CSSRule.FONT_FACE_RULE).filter((e) => Rh(e.style.getPropertyValue("src")));
28264
28260
  }
28265
- async function RT(t, e) {
28261
+ async function AT(t, e) {
28266
28262
  if (t.ownerDocument == null)
28267
28263
  throw new Error("Provided element is not within a Document");
28268
- const n = _r(t.ownerDocument.styleSheets), r = await ST(n, e);
28269
- return AT(r);
28264
+ const n = _r(t.ownerDocument.styleSheets), r = await TT(n, e);
28265
+ return ST(r);
28270
28266
  }
28271
- async function kT(t, e) {
28272
- const n = await RT(t, e);
28267
+ async function RT(t, e) {
28268
+ const n = await AT(t, e);
28273
28269
  return (await Promise.all(n.map((s) => {
28274
28270
  const i = s.parentStyleSheet ? s.parentStyleSheet.href : null;
28275
28271
  return kh(s.cssText, i, e);
28276
28272
  }))).join(`
28277
28273
  `);
28278
28274
  }
28279
- async function OT(t, e) {
28280
- const n = e.fontEmbedCSS != null ? e.fontEmbedCSS : e.skipFonts ? null : await kT(t, e);
28275
+ async function kT(t, e) {
28276
+ const n = e.fontEmbedCSS != null ? e.fontEmbedCSS : e.skipFonts ? null : await RT(t, e);
28281
28277
  if (n) {
28282
28278
  const r = document.createElement("style"), s = document.createTextNode(n);
28283
28279
  r.appendChild(s), t.firstChild ? t.insertBefore(r, t.firstChild) : t.appendChild(r);
@@ -28285,29 +28281,29 @@ async function OT(t, e) {
28285
28281
  }
28286
28282
  async function Ih(t, e = {}) {
28287
28283
  const { width: n, height: r } = Eh(t, e), s = await V1(t, e, !0);
28288
- return await OT(s, e), await Oh(s, e), TT(s, e), await XE(s, n, r);
28284
+ return await kT(s, e), await Oh(s, e), ET(s, e), await YE(s, n, r);
28289
28285
  }
28290
28286
  async function Lc(t, e = {}) {
28291
- const { width: n, height: r } = Eh(t, e), s = await Ih(t, e), i = await Gi(s), o = document.createElement("canvas"), l = o.getContext("2d"), a = e.pixelRatio || WE(), c = e.canvasWidth || n, u = e.canvasHeight || r;
28292
- return o.width = c * a, o.height = u * a, e.skipAutoScale || qE(o), o.style.width = `${c}`, o.style.height = `${u}`, e.backgroundColor && (l.fillStyle = e.backgroundColor, l.fillRect(0, 0, o.width, o.height)), l.drawImage(i, 0, 0, o.width, o.height), o;
28287
+ const { width: n, height: r } = Eh(t, e), s = await Ih(t, e), i = await Gi(s), o = document.createElement("canvas"), l = o.getContext("2d"), a = e.pixelRatio || ZE(), c = e.canvasWidth || n, u = e.canvasHeight || r;
28288
+ return o.width = c * a, o.height = u * a, e.skipAutoScale || WE(o), o.style.width = `${c}`, o.style.height = `${u}`, e.backgroundColor && (l.fillStyle = e.backgroundColor, l.fillRect(0, 0, o.width, o.height)), l.drawImage(i, 0, 0, o.width, o.height), o;
28293
28289
  }
28294
- async function IT(t, e = {}) {
28290
+ async function OT(t, e = {}) {
28295
28291
  return (await Lc(t, e)).toDataURL();
28296
28292
  }
28297
- async function MT(t, e = {}) {
28293
+ async function IT(t, e = {}) {
28298
28294
  return (await Lc(t, e)).toDataURL("image/jpeg", e.quality || 1);
28299
28295
  }
28300
- async function NT(t, e = {}) {
28296
+ async function MT(t, e = {}) {
28301
28297
  const n = await Lc(t, e);
28302
- return await KE(n);
28298
+ return await qE(n);
28303
28299
  }
28304
- const PT = {}.VITE_APP_GIT_HASH, FT = {}.VITE_APP_GIT_BRANCH, DT = {
28300
+ const NT = {}.VITE_APP_GIT_HASH, PT = {}.VITE_APP_GIT_BRANCH, FT = {
28305
28301
  name: "Debug",
28306
28302
  components: { Icon: dr },
28307
28303
  data() {
28308
28304
  return {
28309
- commitHash: PT,
28310
- gitBranch: FT
28305
+ commitHash: NT,
28306
+ gitBranch: PT
28311
28307
  };
28312
28308
  },
28313
28309
  computed: {
@@ -28315,24 +28311,24 @@ const PT = {}.VITE_APP_GIT_HASH, FT = {}.VITE_APP_GIT_BRANCH, DT = {
28315
28311
  return !!localStorage.zenumlDebug;
28316
28312
  }
28317
28313
  }
28318
- }, BT = { class: "flex flex-nowrap m-2 text-sm" }, $T = { class: "ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm" }, HT = { class: "inline-block px-2" };
28319
- function UT(t, e, n, r, s, i) {
28314
+ }, DT = { class: "flex flex-nowrap m-2 text-sm" }, BT = { class: "ml-4 text-xs inline-flex items-center font-bold leading-sm px-3 py-1 bg-green-200 text-green-700 rounded-sm" }, $T = { class: "inline-block px-2" };
28315
+ function HT(t, e, n, r, s, i) {
28320
28316
  const o = pe("Icon");
28321
28317
  return c1((R(), q("div", null, [
28322
- S("div", BT, [
28323
- S("div", $T, [
28318
+ S("div", DT, [
28319
+ S("div", BT, [
28324
28320
  G(o, {
28325
28321
  name: "debug",
28326
28322
  "icon-class": "h-4 w-4"
28327
28323
  }),
28328
- S("span", HT, Ge(s.gitBranch) + ":" + Ge(s.commitHash), 1)
28324
+ S("span", $T, Ze(s.gitBranch) + ":" + Ze(s.commitHash), 1)
28329
28325
  ])
28330
28326
  ])
28331
28327
  ], 512)), [
28332
28328
  [F0, i.debug]
28333
28329
  ]);
28334
28330
  }
28335
- const VT = /* @__PURE__ */ je(DT, [["render", UT]]);
28331
+ const UT = /* @__PURE__ */ Ge(FT, [["render", HT]]);
28336
28332
  function Dn(t, e, ...n) {
28337
28333
  if (t in e) {
28338
28334
  let s = e[t];
@@ -28369,7 +28365,7 @@ function go({ props: t, attrs: e, slots: n, slot: r, name: s }) {
28369
28365
  if (l === "template") {
28370
28366
  if (c = Mh(c != null ? c : []), Object.keys(a).length > 0 || Object.keys(e).length > 0) {
28371
28367
  let [h, ...d] = c != null ? c : [];
28372
- if (!GT(h) || d.length > 0)
28368
+ if (!zT(h) || d.length > 0)
28373
28369
  throw new Error(['Passing props on "template"!', "", `The current component <${s} /> is rendering a "template".`, "However we need to passthrough the following props:", Object.keys(a).concat(Object.keys(e)).map((y) => y.trim()).filter((y, T, L) => L.indexOf(y) === T).sort((y, T) => y.localeCompare(T)).map((y) => ` - ${y}`).join(`
28374
28370
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".', "Render a single element as the child so that we can forward the props onto that element."].map((y) => ` - ${y}`).join(`
28375
28371
  `)].join(`
@@ -28408,7 +28404,7 @@ function Nh(...t) {
28408
28404
  } });
28409
28405
  return e;
28410
28406
  }
28411
- function zT(t) {
28407
+ function VT(t) {
28412
28408
  let e = Object.assign({}, t);
28413
28409
  for (let n in e)
28414
28410
  e[n] === void 0 && delete e[n];
@@ -28420,15 +28416,15 @@ function _c(t, e = []) {
28420
28416
  r in n && delete n[r];
28421
28417
  return n;
28422
28418
  }
28423
- function GT(t) {
28419
+ function zT(t) {
28424
28420
  return t == null ? !1 : typeof t.type == "string" || typeof t.type == "object" || typeof t.type == "function";
28425
28421
  }
28426
- let jT = 0;
28427
- function ZT() {
28428
- return ++jT;
28422
+ let GT = 0;
28423
+ function jT() {
28424
+ return ++GT;
28429
28425
  }
28430
28426
  function Hn() {
28431
- return ZT();
28427
+ return jT();
28432
28428
  }
28433
28429
  var sr = ((t) => (t.Space = " ", t.Enter = "Enter", t.Escape = "Escape", t.Backspace = "Backspace", t.Delete = "Delete", t.ArrowLeft = "ArrowLeft", t.ArrowUp = "ArrowUp", t.ArrowRight = "ArrowRight", t.ArrowDown = "ArrowDown", t.Home = "Home", t.End = "End", t.PageUp = "PageUp", t.PageDown = "PageDown", t.Tab = "Tab", t))(sr || {});
28434
28430
  function st(t) {
@@ -28437,17 +28433,17 @@ function st(t) {
28437
28433
  }
28438
28434
  let Ph = Symbol("Context");
28439
28435
  var Kt = ((t) => (t[t.Open = 1] = "Open", t[t.Closed = 2] = "Closed", t[t.Closing = 4] = "Closing", t[t.Opening = 8] = "Opening", t))(Kt || {});
28440
- function WT() {
28436
+ function ZT() {
28441
28437
  return yc() !== null;
28442
28438
  }
28443
28439
  function yc() {
28444
28440
  return lt(Ph, null);
28445
28441
  }
28446
- function qT(t) {
28442
+ function WT(t) {
28447
28443
  Vt(Ph, t);
28448
28444
  }
28449
- var KT = Object.defineProperty, YT = (t, e, n) => e in t ? KT(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, mu = (t, e, n) => (YT(t, typeof e != "symbol" ? e + "" : e, n), n);
28450
- class XT {
28445
+ var qT = Object.defineProperty, KT = (t, e, n) => e in t ? qT(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, mu = (t, e, n) => (KT(t, typeof e != "symbol" ? e + "" : e, n), n);
28446
+ class YT {
28451
28447
  constructor() {
28452
28448
  mu(this, "current", this.detect()), mu(this, "currentId", 0);
28453
28449
  }
@@ -28470,7 +28466,7 @@ class XT {
28470
28466
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
28471
28467
  }
28472
28468
  }
28473
- let Z0 = new XT();
28469
+ let Z0 = new YT();
28474
28470
  function kn(t) {
28475
28471
  if (Z0.isServer)
28476
28472
  return null;
@@ -28483,7 +28479,7 @@ function kn(t) {
28483
28479
  }
28484
28480
  return document;
28485
28481
  }
28486
- function QT({ container: t, accept: e, walk: n, enabled: r }) {
28482
+ function XT({ container: t, accept: e, walk: n, enabled: r }) {
28487
28483
  en(() => {
28488
28484
  let s = t.value;
28489
28485
  if (!s || r !== void 0 && !r.value)
@@ -28497,12 +28493,12 @@ function QT({ container: t, accept: e, walk: n, enabled: r }) {
28497
28493
  });
28498
28494
  }
28499
28495
  let hl = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
28500
- var un = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t))(un || {}), Zi = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Zi || {}), JT = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(JT || {});
28501
- function eS(t = document.body) {
28496
+ var un = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t))(un || {}), Zi = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Zi || {}), QT = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(QT || {});
28497
+ function JT(t = document.body) {
28502
28498
  return t == null ? [] : Array.from(t.querySelectorAll(hl)).sort((e, n) => Math.sign((e.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
28503
28499
  }
28504
28500
  var Fh = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(Fh || {});
28505
- function tS(t, e = 0) {
28501
+ function eS(t, e = 0) {
28506
28502
  var n;
28507
28503
  return t === ((n = kn(t)) == null ? void 0 : n.body) ? !1 : Dn(e, { [0]() {
28508
28504
  return t.matches(hl);
@@ -28516,7 +28512,7 @@ function tS(t, e = 0) {
28516
28512
  return !1;
28517
28513
  } });
28518
28514
  }
28519
- var nS = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(nS || {});
28515
+ var tS = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(tS || {});
28520
28516
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (t) => {
28521
28517
  t.metaKey || t.altKey || t.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
28522
28518
  }, !0), document.addEventListener("click", (t) => {
@@ -28525,10 +28521,10 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
28525
28521
  function Fr(t) {
28526
28522
  t == null || t.focus({ preventScroll: !0 });
28527
28523
  }
28528
- let rS = ["textarea", "input"].join(",");
28529
- function sS(t) {
28524
+ let nS = ["textarea", "input"].join(",");
28525
+ function rS(t) {
28530
28526
  var e, n;
28531
- return (n = (e = t == null ? void 0 : t.matches) == null ? void 0 : e.call(t, rS)) != null ? n : !1;
28527
+ return (n = (e = t == null ? void 0 : t.matches) == null ? void 0 : e.call(t, nS)) != null ? n : !1;
28532
28528
  }
28533
28529
  function Dh(t, e = (n) => n) {
28534
28530
  return t.slice().sort((n, r) => {
@@ -28541,7 +28537,7 @@ function Dh(t, e = (n) => n) {
28541
28537
  }
28542
28538
  function gs(t, e, { sorted: n = !0, relativeTo: r = null, skipElements: s = [] } = {}) {
28543
28539
  var i;
28544
- let o = (i = Array.isArray(t) ? t.length > 0 ? t[0].ownerDocument : document : t == null ? void 0 : t.ownerDocument) != null ? i : document, l = Array.isArray(t) ? n ? Dh(t) : t : eS(t);
28540
+ let o = (i = Array.isArray(t) ? t.length > 0 ? t[0].ownerDocument : document : t == null ? void 0 : t.ownerDocument) != null ? i : document, l = Array.isArray(t) ? n ? Dh(t) : t : JT(t);
28545
28541
  s.length > 0 && l.length > 1 && (l = l.filter((m) => !s.includes(m))), r = r != null ? r : o.activeElement;
28546
28542
  let a = (() => {
28547
28543
  if (e & 5)
@@ -28574,7 +28570,7 @@ function gs(t, e, { sorted: n = !0, relativeTo: r = null, skipElements: s = [] }
28574
28570
  }
28575
28571
  p = l[m], p == null || p.focus(u), h += a;
28576
28572
  } while (p !== o.activeElement);
28577
- return e & 6 && sS(p) && p.select(), 2;
28573
+ return e & 6 && rS(p) && p.select(), 2;
28578
28574
  }
28579
28575
  function mi(t, e, n) {
28580
28576
  Z0.isServer || en((r) => {
@@ -28586,7 +28582,7 @@ function Bh(t, e, n) {
28586
28582
  window.addEventListener(t, e, n), r(() => window.removeEventListener(t, e, n));
28587
28583
  });
28588
28584
  }
28589
- function iS(t, e, n = P(() => !0)) {
28585
+ function sS(t, e, n = P(() => !0)) {
28590
28586
  function r(i, o) {
28591
28587
  if (!n.value || i.defaultPrevented)
28592
28588
  return;
@@ -28603,9 +28599,9 @@ function iS(t, e, n = P(() => !0)) {
28603
28599
  if (u != null && u.contains(l) || i.composed && i.composedPath().includes(u))
28604
28600
  return;
28605
28601
  }
28606
- return !tS(l, Fh.Loose) && l.tabIndex !== -1 && i.preventDefault(), e(i, l);
28602
+ return !eS(l, Fh.Loose) && l.tabIndex !== -1 && i.preventDefault(), e(i, l);
28607
28603
  }
28608
- let s = Le(null);
28604
+ let s = xe(null);
28609
28605
  mi("pointerdown", (i) => {
28610
28606
  var o, l;
28611
28607
  n.value && (s.value = ((l = (o = i.composedPath) == null ? void 0 : o.call(i)) == null ? void 0 : l[0]) || i.target);
@@ -28638,7 +28634,7 @@ function Uh(t, e, n) {
28638
28634
  else
28639
28635
  n instanceof Date ? t.push([e, n.toISOString()]) : typeof n == "boolean" ? t.push([e, n ? "1" : "0"]) : typeof n == "string" ? t.push([e, n]) : typeof n == "number" ? t.push([e, `${n}`]) : n == null ? t.push([e, ""]) : $h(n, e, t);
28640
28636
  }
28641
- function oS(t) {
28637
+ function iS(t) {
28642
28638
  var e, n;
28643
28639
  let r = (e = t == null ? void 0 : t.form) != null ? e : t.closest("form");
28644
28640
  if (r) {
@@ -28650,13 +28646,13 @@ function oS(t) {
28650
28646
  (n = r.requestSubmit) == null || n.call(r);
28651
28647
  }
28652
28648
  }
28653
- function lS(t, e, n) {
28654
- let r = Le(n == null ? void 0 : n.value), s = P(() => t.value !== void 0);
28649
+ function oS(t, e, n) {
28650
+ let r = xe(n == null ? void 0 : n.value), s = P(() => t.value !== void 0);
28655
28651
  return [P(() => s.value ? t.value : r.value), function(i) {
28656
28652
  return s.value || (r.value = i), e == null ? void 0 : e(i);
28657
28653
  }];
28658
28654
  }
28659
- function aS() {
28655
+ function lS() {
28660
28656
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
28661
28657
  }
28662
28658
  function Cc(t) {
@@ -28706,8 +28702,8 @@ function W0() {
28706
28702
  return e;
28707
28703
  }
28708
28704
  var Ys = ((t) => (t[t.Forwards = 0] = "Forwards", t[t.Backwards = 1] = "Backwards", t))(Ys || {});
28709
- function cS() {
28710
- let t = Le(0);
28705
+ function aS() {
28706
+ let t = xe(0);
28711
28707
  return Bh("keydown", (e) => {
28712
28708
  e.key === "Tab" && (t.value = e.shiftKey ? 1 : 0);
28713
28709
  }), t;
@@ -28717,7 +28713,7 @@ function Vh(t, e, n, r) {
28717
28713
  t = t != null ? t : window, t.addEventListener(e, n, r), s(() => t.removeEventListener(e, n, r));
28718
28714
  });
28719
28715
  }
28720
- function uS(t) {
28716
+ function cS(t) {
28721
28717
  function e() {
28722
28718
  document.readyState !== "loading" && (t(), document.removeEventListener("DOMContentLoaded", e));
28723
28719
  }
@@ -28736,14 +28732,14 @@ function zh(t) {
28736
28732
  return e;
28737
28733
  }
28738
28734
  var Gh = ((t) => (t[t.None = 1] = "None", t[t.InitialFocus = 2] = "InitialFocus", t[t.TabLock = 4] = "TabLock", t[t.FocusLock = 8] = "FocusLock", t[t.RestoreFocus = 16] = "RestoreFocus", t[t.All = 30] = "All", t))(Gh || {});
28739
- let Zs = Object.assign(Ve({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: Le(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
28740
- let s = Le(null);
28735
+ let Zs = Object.assign(Ve({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: xe(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
28736
+ let s = xe(null);
28741
28737
  r({ el: s, $el: s });
28742
- let i = P(() => kn(s)), o = Le(!1);
28743
- qe(() => o.value = !0), ht(() => o.value = !1), dS({ ownerDocument: i }, P(() => o.value && Boolean(t.features & 16)));
28744
- let l = fS({ ownerDocument: i, container: s, initialFocus: P(() => t.initialFocus) }, P(() => o.value && Boolean(t.features & 2)));
28745
- pS({ ownerDocument: i, container: s, containers: t.containers, previousActiveElement: l }, P(() => o.value && Boolean(t.features & 8)));
28746
- let a = cS();
28738
+ let i = P(() => kn(s)), o = xe(!1);
28739
+ qe(() => o.value = !0), ht(() => o.value = !1), hS({ ownerDocument: i }, P(() => o.value && Boolean(t.features & 16)));
28740
+ let l = dS({ ownerDocument: i, container: s, initialFocus: P(() => t.initialFocus) }, P(() => o.value && Boolean(t.features & 2)));
28741
+ fS({ ownerDocument: i, container: s, containers: t.containers, previousActiveElement: l }, P(() => o.value && Boolean(t.features & 8)));
28742
+ let a = aS();
28747
28743
  function c(p) {
28748
28744
  let m = st(s);
28749
28745
  !m || ((y) => y())(() => {
@@ -28754,7 +28750,7 @@ let Zs = Object.assign(Ve({ name: "FocusTrap", props: { as: { type: [Object, Str
28754
28750
  } });
28755
28751
  });
28756
28752
  }
28757
- let u = Le(!1);
28753
+ let u = xe(!1);
28758
28754
  function h(p) {
28759
28755
  p.key === "Tab" && (u.value = !0, requestAnimationFrame(() => {
28760
28756
  u.value = !1;
@@ -28773,14 +28769,14 @@ let Zs = Object.assign(Ve({ name: "FocusTrap", props: { as: { type: [Object, Str
28773
28769
  return ct(Ne, [Boolean(y & 4) && ct(Wi, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: c, features: y0.Focusable }), wt({ ourProps: m, theirProps: { ...e, ...g }, slot: p, attrs: e, slots: n, name: "FocusTrap" }), Boolean(y & 4) && ct(Wi, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: c, features: y0.Focusable })]);
28774
28770
  };
28775
28771
  } }), { features: Gh }), Rr = [];
28776
- uS(() => {
28772
+ cS(() => {
28777
28773
  function t(e) {
28778
28774
  e.target instanceof HTMLElement && e.target !== document.body && Rr[0] !== e.target && (Rr.unshift(e.target), Rr = Rr.filter((n) => n != null && n.isConnected), Rr.splice(10));
28779
28775
  }
28780
28776
  window.addEventListener("click", t, { capture: !0 }), window.addEventListener("mousedown", t, { capture: !0 }), window.addEventListener("focus", t, { capture: !0 }), document.body.addEventListener("click", t, { capture: !0 }), document.body.addEventListener("mousedown", t, { capture: !0 }), document.body.addEventListener("focus", t, { capture: !0 });
28781
28777
  });
28782
- function hS(t) {
28783
- let e = Le(Rr.slice());
28778
+ function uS(t) {
28779
+ let e = xe(Rr.slice());
28784
28780
  return Xt([t], ([n], [r]) => {
28785
28781
  r === !0 && n === !1 ? Cc(() => {
28786
28782
  e.value.splice(0);
@@ -28790,8 +28786,8 @@ function hS(t) {
28790
28786
  return (n = e.value.find((r) => r != null && r.isConnected)) != null ? n : null;
28791
28787
  };
28792
28788
  }
28793
- function dS({ ownerDocument: t }, e) {
28794
- let n = hS(e);
28789
+ function hS({ ownerDocument: t }, e) {
28790
+ let n = uS(e);
28795
28791
  qe(() => {
28796
28792
  en(() => {
28797
28793
  var r, s;
@@ -28801,8 +28797,8 @@ function dS({ ownerDocument: t }, e) {
28801
28797
  e.value && Fr(n());
28802
28798
  });
28803
28799
  }
28804
- function fS({ ownerDocument: t, container: e, initialFocus: n }, r) {
28805
- let s = Le(null), i = Le(!1);
28800
+ function dS({ ownerDocument: t, container: e, initialFocus: n }, r) {
28801
+ let s = xe(null), i = xe(!1);
28806
28802
  return qe(() => i.value = !0), ht(() => i.value = !1), qe(() => {
28807
28803
  Xt([e, n, r], (o, l) => {
28808
28804
  if (o.every((c, u) => (l == null ? void 0 : l[u]) === c) || !r.value)
@@ -28827,7 +28823,7 @@ function fS({ ownerDocument: t, container: e, initialFocus: n }, r) {
28827
28823
  }, { immediate: !0, flush: "post" });
28828
28824
  }), s;
28829
28825
  }
28830
- function pS({ ownerDocument: t, container: e, containers: n, previousActiveElement: r }, s) {
28826
+ function fS({ ownerDocument: t, container: e, containers: n, previousActiveElement: r }, s) {
28831
28827
  var i;
28832
28828
  Vh((i = t.value) == null ? void 0 : i.defaultView, "focus", (o) => {
28833
28829
  if (!s.value)
@@ -28848,7 +28844,7 @@ function jh(t, e) {
28848
28844
  return !1;
28849
28845
  }
28850
28846
  let mo = /* @__PURE__ */ new Map(), Ws = /* @__PURE__ */ new Map();
28851
- function xu(t, e = Le(!0)) {
28847
+ function xu(t, e = xe(!0)) {
28852
28848
  en((n) => {
28853
28849
  var r;
28854
28850
  if (!e.value)
@@ -28871,7 +28867,7 @@ function xu(t, e = Le(!0)) {
28871
28867
  });
28872
28868
  }
28873
28869
  let Zh = Symbol("ForcePortalRootContext");
28874
- function gS() {
28870
+ function pS() {
28875
28871
  return lt(Zh, !1);
28876
28872
  }
28877
28873
  let dl = Ve({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(t, { slots: e, attrs: n }) {
@@ -28880,7 +28876,7 @@ let dl = Ve({ name: "ForcePortalRoot", props: { as: { type: [Object, String], de
28880
28876
  return wt({ theirProps: s, ourProps: {}, slot: {}, slots: e, attrs: n, name: "ForcePortalRoot" });
28881
28877
  };
28882
28878
  } });
28883
- function mS(t) {
28879
+ function gS(t) {
28884
28880
  let e = kn(t);
28885
28881
  if (!e) {
28886
28882
  if (t === null)
@@ -28894,7 +28890,7 @@ function mS(t) {
28894
28890
  return r.setAttribute("id", "headlessui-portal-root"), e.body.appendChild(r);
28895
28891
  }
28896
28892
  let Wh = Ve({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(t, { slots: e, attrs: n }) {
28897
- let r = Le(null), s = P(() => kn(r)), i = gS(), o = lt(qh, null), l = Le(i === !0 || o == null ? mS(r.value) : o.resolveTarget());
28893
+ let r = xe(null), s = P(() => kn(r)), i = pS(), o = lt(qh, null), l = xe(i === !0 || o == null ? gS(r.value) : o.resolveTarget());
28898
28894
  en(() => {
28899
28895
  i || o != null && (l.value = o.resolveTarget());
28900
28896
  });
@@ -28913,8 +28909,8 @@ let Wh = Ve({ name: "Portal", props: { as: { type: [Object, String], default: "d
28913
28909
  return ct(t5, { to: l.value }, wt({ ourProps: c, theirProps: t, slot: {}, attrs: n, slots: e, name: "Portal" }));
28914
28910
  };
28915
28911
  } }), fl = Symbol("PortalParentContext");
28916
- function xS() {
28917
- let t = lt(fl, null), e = Le([]);
28912
+ function mS() {
28913
+ let t = lt(fl, null), e = xe([]);
28918
28914
  function n(i) {
28919
28915
  return e.value.push(i), t && t.register(i), () => r(i);
28920
28916
  }
@@ -28930,7 +28926,7 @@ function xS() {
28930
28926
  };
28931
28927
  } })];
28932
28928
  }
28933
- let qh = Symbol("PortalGroupContext"), LS = Ve({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(t, { attrs: e, slots: n }) {
28929
+ let qh = Symbol("PortalGroupContext"), xS = Ve({ name: "PortalGroup", props: { as: { type: [Object, String], default: "template" }, target: { type: Object, default: null } }, setup(t, { attrs: e, slots: n }) {
28934
28930
  let r = Mn({ resolveTarget() {
28935
28931
  return t.target;
28936
28932
  } });
@@ -28940,12 +28936,12 @@ let qh = Symbol("PortalGroupContext"), LS = Ve({ name: "PortalGroup", props: { a
28940
28936
  };
28941
28937
  } }), Kh = Symbol("StackContext");
28942
28938
  var pl = ((t) => (t[t.Add = 0] = "Add", t[t.Remove = 1] = "Remove", t))(pl || {});
28943
- function _S() {
28939
+ function LS() {
28944
28940
  return lt(Kh, () => {
28945
28941
  });
28946
28942
  }
28947
- function yS({ type: t, enabled: e, element: n, onUpdate: r }) {
28948
- let s = _S();
28943
+ function _S({ type: t, enabled: e, element: n, onUpdate: r }) {
28944
+ let s = LS();
28949
28945
  function i(...o) {
28950
28946
  r == null || r(...o), s(...o);
28951
28947
  }
@@ -28958,14 +28954,14 @@ function yS({ type: t, enabled: e, element: n, onUpdate: r }) {
28958
28954
  }), Vt(Kh, i);
28959
28955
  }
28960
28956
  let Yh = Symbol("DescriptionContext");
28961
- function CS() {
28957
+ function yS() {
28962
28958
  let t = lt(Yh, null);
28963
28959
  if (t === null)
28964
28960
  throw new Error("Missing parent");
28965
28961
  return t;
28966
28962
  }
28967
- function vc({ slot: t = Le({}), name: e = "Description", props: n = {} } = {}) {
28968
- let r = Le([]);
28963
+ function vc({ slot: t = xe({}), name: e = "Description", props: n = {} } = {}) {
28964
+ let r = xe([]);
28969
28965
  function s(i) {
28970
28966
  return r.value.push(i), () => {
28971
28967
  let o = r.value.indexOf(i);
@@ -28974,20 +28970,20 @@ function vc({ slot: t = Le({}), name: e = "Description", props: n = {} } = {}) {
28974
28970
  }
28975
28971
  return Vt(Yh, { register: s, slot: t, name: e, props: n }), P(() => r.value.length > 0 ? r.value.join(" ") : void 0);
28976
28972
  }
28977
- let pI = Ve({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Hn()}` } }, setup(t, { attrs: e, slots: n }) {
28978
- let r = CS();
28973
+ let fI = Ve({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Hn()}` } }, setup(t, { attrs: e, slots: n }) {
28974
+ let r = yS();
28979
28975
  return qe(() => ht(r.register(t.id))), () => {
28980
- let { name: s = "Description", slot: i = Le({}), props: o = {} } = r, { id: l, ...a } = t, c = { ...Object.entries(o).reduce((u, [h, d]) => Object.assign(u, { [h]: N(d) }), {}), id: l };
28976
+ let { name: s = "Description", slot: i = xe({}), props: o = {} } = r, { id: l, ...a } = t, c = { ...Object.entries(o).reduce((u, [h, d]) => Object.assign(u, { [h]: N(d) }), {}), id: l };
28981
28977
  return wt({ ourProps: c, theirProps: a, slot: i.value, attrs: e, slots: n, name: s });
28982
28978
  };
28983
28979
  } });
28984
- function vS(t) {
28980
+ function CS(t) {
28985
28981
  let e = r3(t.getSnapshot());
28986
28982
  return ht(t.subscribe(() => {
28987
28983
  e.value = t.getSnapshot();
28988
28984
  })), e;
28989
28985
  }
28990
- function bS(t, e) {
28986
+ function vS(t, e) {
28991
28987
  let n = t(), r = /* @__PURE__ */ new Set();
28992
28988
  return { getSnapshot() {
28993
28989
  return n;
@@ -28998,7 +28994,7 @@ function bS(t, e) {
28998
28994
  o && (n = o, r.forEach((l) => l()));
28999
28995
  } };
29000
28996
  }
29001
- function wS() {
28997
+ function bS() {
29002
28998
  let t;
29003
28999
  return { before({ doc: e }) {
29004
29000
  var n;
@@ -29009,8 +29005,8 @@ function wS() {
29009
29005
  n.style(r, "paddingRight", `${i}px`);
29010
29006
  } };
29011
29007
  }
29012
- function ES() {
29013
- if (!aS())
29008
+ function wS() {
29009
+ if (!lS())
29014
29010
  return {};
29015
29011
  let t;
29016
29012
  return { before() {
@@ -29042,18 +29038,18 @@ function ES() {
29042
29038
  });
29043
29039
  } };
29044
29040
  }
29045
- function TS() {
29041
+ function ES() {
29046
29042
  return { before({ doc: t, d: e }) {
29047
29043
  e.style(t.documentElement, "overflow", "hidden");
29048
29044
  } };
29049
29045
  }
29050
- function SS(t) {
29046
+ function TS(t) {
29051
29047
  let e = {};
29052
29048
  for (let n of t)
29053
29049
  Object.assign(e, n(e));
29054
29050
  return e;
29055
29051
  }
29056
- let kr = bS(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
29052
+ let kr = vS(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
29057
29053
  var n;
29058
29054
  let r = (n = this.get(t)) != null ? n : { doc: t, count: 0, d: W0(), meta: /* @__PURE__ */ new Set() };
29059
29055
  return r.count++, r.meta.add(e), this.set(t, r), this;
@@ -29061,7 +29057,7 @@ let kr = bS(() => /* @__PURE__ */ new Map(), { PUSH(t, e) {
29061
29057
  let n = this.get(t);
29062
29058
  return n && (n.count--, n.meta.delete(e)), this;
29063
29059
  }, SCROLL_PREVENT({ doc: t, d: e, meta: n }) {
29064
- let r = { doc: t, d: e, meta: SS(n) }, s = [ES(), wS(), TS()];
29060
+ let r = { doc: t, d: e, meta: TS(n) }, s = [wS(), bS(), ES()];
29065
29061
  s.forEach(({ before: i }) => i == null ? void 0 : i(r)), s.forEach(({ after: i }) => i == null ? void 0 : i(r));
29066
29062
  }, SCROLL_ALLOW({ d: t }) {
29067
29063
  t.dispose();
@@ -29077,8 +29073,8 @@ kr.subscribe(() => {
29077
29073
  (s && !r || !s && r) && kr.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && kr.dispatch("TEARDOWN", n);
29078
29074
  }
29079
29075
  });
29080
- function AS(t, e, n) {
29081
- let r = vS(kr), s = P(() => {
29076
+ function SS(t, e, n) {
29077
+ let r = CS(kr), s = P(() => {
29082
29078
  let i = t.value ? r.value.get(t.value) : void 0;
29083
29079
  return i ? i.count > 0 : !1;
29084
29080
  });
@@ -29092,8 +29088,8 @@ function AS(t, e, n) {
29092
29088
  });
29093
29089
  }, { immediate: !0 }), s;
29094
29090
  }
29095
- function RS({ defaultContainers: t = [], portals: e, mainTreeNodeRef: n } = {}) {
29096
- let r = Le(null), s = kn(r);
29091
+ function AS({ defaultContainers: t = [], portals: e, mainTreeNodeRef: n } = {}) {
29092
+ let r = xe(null), s = kn(r);
29097
29093
  function i() {
29098
29094
  var o;
29099
29095
  let l = [];
@@ -29112,7 +29108,7 @@ function RS({ defaultContainers: t = [], portals: e, mainTreeNodeRef: n } = {})
29112
29108
  return n != null ? null : ct(Wi, { features: y0.Hidden, ref: r });
29113
29109
  } };
29114
29110
  }
29115
- var kS = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(kS || {});
29111
+ var RS = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(RS || {});
29116
29112
  let gl = Symbol("DialogContext");
29117
29113
  function q0(t) {
29118
29114
  let e = lt(gl, null);
@@ -29122,18 +29118,18 @@ function q0(t) {
29122
29118
  }
29123
29119
  return e;
29124
29120
  }
29125
- let xi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", OS = Ve({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: xi }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Hn()}` } }, emits: { close: (t) => !0 }, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29121
+ let xi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", kS = Ve({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: xi }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Hn()}` } }, emits: { close: (t) => !0 }, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29126
29122
  var i;
29127
- let o = Le(!1);
29123
+ let o = xe(!1);
29128
29124
  qe(() => {
29129
29125
  o.value = !0;
29130
29126
  });
29131
- let l = Le(0), a = yc(), c = P(() => t.open === xi && a !== null ? (a.value & Kt.Open) === Kt.Open : t.open), u = Le(null), h = P(() => kn(u));
29127
+ let l = xe(0), a = yc(), c = P(() => t.open === xi && a !== null ? (a.value & Kt.Open) === Kt.Open : t.open), u = xe(null), h = P(() => kn(u));
29132
29128
  if (s({ el: u, $el: u }), !(t.open !== xi || a !== null))
29133
29129
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
29134
29130
  if (typeof c.value != "boolean")
29135
29131
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value === xi ? void 0 : t.open}`);
29136
- let d = P(() => o.value && c.value ? 0 : 1), p = P(() => d.value === 0), m = P(() => l.value > 1), y = lt(gl, null) !== null, [T, L] = xS(), { resolveContainers: g, mainTreeNodeRef: _, MainTreeNode: v } = RS({ portals: T, defaultContainers: [P(() => {
29132
+ let d = P(() => o.value && c.value ? 0 : 1), p = P(() => d.value === 0), m = P(() => l.value > 1), y = lt(gl, null) !== null, [T, L] = mS(), { resolveContainers: g, mainTreeNodeRef: _, MainTreeNode: v } = AS({ portals: T, defaultContainers: [P(() => {
29137
29133
  var J;
29138
29134
  return (J = _e.panelRef.value) != null ? J : u.value;
29139
29135
  })] }), O = P(() => m.value ? "parent" : "leaf"), B = P(() => a !== null ? (a.value & Kt.Closing) === Kt.Closing : !1), H = P(() => y || B.value ? !1 : p.value), k = P(() => {
@@ -29145,18 +29141,18 @@ let xi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", OS = Ve({ name: "Dialog", inher
29145
29141
  var J, fe, Xe;
29146
29142
  return (Xe = Array.from((fe = (J = h.value) == null ? void 0 : J.querySelectorAll("[data-headlessui-portal]")) != null ? fe : []).find((Qe) => Qe.contains(st(_)) && Qe instanceof HTMLElement)) != null ? Xe : null;
29147
29143
  });
29148
- xu(U, ne), yS({ type: "Dialog", enabled: P(() => d.value === 0), element: u, onUpdate: (J, fe) => {
29144
+ xu(U, ne), _S({ type: "Dialog", enabled: P(() => d.value === 0), element: u, onUpdate: (J, fe) => {
29149
29145
  if (fe === "Dialog")
29150
29146
  return Dn(J, { [pl.Add]: () => l.value += 1, [pl.Remove]: () => l.value -= 1 });
29151
29147
  } });
29152
- let de = vc({ name: "DialogDescription", slot: P(() => ({ open: c.value })) }), He = Le(null), _e = { titleId: He, panelRef: Le(null), dialogState: d, setTitleId(J) {
29148
+ let de = vc({ name: "DialogDescription", slot: P(() => ({ open: c.value })) }), He = xe(null), _e = { titleId: He, panelRef: xe(null), dialogState: d, setTitleId(J) {
29153
29149
  He.value !== J && (He.value = J);
29154
29150
  }, close() {
29155
29151
  e("close", !1);
29156
29152
  } };
29157
29153
  Vt(gl, _e);
29158
29154
  let oe = P(() => !(!p.value || m.value));
29159
- iS(g, (J, fe) => {
29155
+ sS(g, (J, fe) => {
29160
29156
  _e.close(), gr(() => fe == null ? void 0 : fe.focus());
29161
29157
  }, oe);
29162
29158
  let Pe = P(() => !(m.value || d.value !== 0));
@@ -29164,7 +29160,7 @@ let xi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", OS = Ve({ name: "Dialog", inher
29164
29160
  Pe.value && (J.defaultPrevented || J.key === sr.Escape && (J.preventDefault(), J.stopPropagation(), _e.close()));
29165
29161
  });
29166
29162
  let V = P(() => !(B.value || d.value !== 0 || y));
29167
- return AS(h, V, (J) => {
29163
+ return SS(h, V, (J) => {
29168
29164
  var fe;
29169
29165
  return { containers: [...(fe = J.containers) != null ? fe : [], g] };
29170
29166
  }), en((J) => {
@@ -29182,7 +29178,7 @@ let xi = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", OS = Ve({ name: "Dialog", inher
29182
29178
  Xe.observe(fe), J(() => Xe.disconnect());
29183
29179
  }), () => {
29184
29180
  let { id: J, open: fe, initialFocus: Xe, ...Qe } = t, Ot = { ...n, ref: u, id: J, role: "dialog", "aria-modal": d.value === 0 ? !0 : void 0, "aria-labelledby": He.value, "aria-describedby": de.value }, it = { open: d.value === 0 };
29185
- return ct(dl, { force: !0 }, () => [ct(Wh, () => ct(LS, { target: u.value }, () => ct(dl, { force: !1 }, () => ct(Zs, { initialFocus: Xe, containers: g, features: p.value ? Dn(O.value, { parent: Zs.features.RestoreFocus, leaf: Zs.features.All & ~Zs.features.FocusLock }) : Zs.features.None }, () => ct(L, {}, () => wt({ ourProps: Ot, theirProps: { ...Qe, ...n }, slot: it, attrs: n, slots: r, visible: d.value === 0, features: ji.RenderStrategy | ji.Static, name: "Dialog" })))))), ct(v)]);
29181
+ return ct(dl, { force: !0 }, () => [ct(Wh, () => ct(xS, { target: u.value }, () => ct(dl, { force: !1 }, () => ct(Zs, { initialFocus: Xe, containers: g, features: p.value ? Dn(O.value, { parent: Zs.features.RestoreFocus, leaf: Zs.features.All & ~Zs.features.FocusLock }) : Zs.features.None }, () => ct(L, {}, () => wt({ ourProps: Ot, theirProps: { ...Qe, ...n }, slot: it, attrs: n, slots: r, visible: d.value === 0, features: ji.RenderStrategy | ji.Static, name: "Dialog" })))))), ct(v)]);
29186
29182
  };
29187
29183
  } });
29188
29184
  Ve({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Hn()}` } }, setup(t, { attrs: e, slots: n }) {
@@ -29196,7 +29192,7 @@ Ve({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
29196
29192
  };
29197
29193
  } });
29198
29194
  Ve({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${Hn()}` } }, inheritAttrs: !1, setup(t, { attrs: e, slots: n, expose: r }) {
29199
- let s = q0("DialogBackdrop"), i = Le(null);
29195
+ let s = q0("DialogBackdrop"), i = xe(null);
29200
29196
  return r({ el: i, $el: i }), qe(() => {
29201
29197
  if (s.panelRef.value === null)
29202
29198
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
@@ -29205,7 +29201,7 @@ Ve({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "di
29205
29201
  return ct(dl, { force: !0 }, () => ct(Wh, () => wt({ ourProps: a, theirProps: { ...e, ...l }, slot: { open: s.dialogState.value === 0 }, attrs: e, slots: n, name: "DialogBackdrop" })));
29206
29202
  };
29207
29203
  } });
29208
- let IS = Ve({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Hn()}` } }, setup(t, { attrs: e, slots: n, expose: r }) {
29204
+ let OS = Ve({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Hn()}` } }, setup(t, { attrs: e, slots: n, expose: r }) {
29209
29205
  let s = q0("DialogPanel");
29210
29206
  r({ el: s.panelRef, $el: s.panelRef });
29211
29207
  function i(o) {
@@ -29215,7 +29211,7 @@ let IS = Ve({ name: "DialogPanel", props: { as: { type: [Object, String], defaul
29215
29211
  let { id: o, ...l } = t, a = { id: o, ref: s.panelRef, onClick: i };
29216
29212
  return wt({ ourProps: a, theirProps: l, slot: { open: s.dialogState.value === 0 }, attrs: e, slots: n, name: "DialogPanel" });
29217
29213
  };
29218
- } }), MS = Ve({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Hn()}` } }, setup(t, { attrs: e, slots: n }) {
29214
+ } }), IS = Ve({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Hn()}` } }, setup(t, { attrs: e, slots: n }) {
29219
29215
  let r = q0("DialogTitle");
29220
29216
  return qe(() => {
29221
29217
  r.setTitleId(t.id), ht(() => r.setTitleId(null));
@@ -29233,7 +29229,7 @@ function Qh() {
29233
29229
  return t;
29234
29230
  }
29235
29231
  function Jh({ slot: t = {}, name: e = "Label", props: n = {} } = {}) {
29236
- let r = Le([]);
29232
+ let r = xe([]);
29237
29233
  function s(i) {
29238
29234
  return r.value.push(i), () => {
29239
29235
  let o = r.value.indexOf(i);
@@ -29242,14 +29238,14 @@ function Jh({ slot: t = {}, name: e = "Label", props: n = {} } = {}) {
29242
29238
  }
29243
29239
  return Vt(Xh, { register: s, slot: t, name: e, props: n }), P(() => r.value.length > 0 ? r.value.join(" ") : void 0);
29244
29240
  }
29245
- let NS = Ve({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${Hn()}` } }, setup(t, { slots: e, attrs: n }) {
29241
+ let MS = Ve({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${Hn()}` } }, setup(t, { slots: e, attrs: n }) {
29246
29242
  let r = Qh();
29247
29243
  return qe(() => ht(r.register(t.id))), () => {
29248
29244
  let { name: s = "Label", slot: i = {}, props: o = {} } = r, { id: l, passive: a, ...c } = t, u = { ...Object.entries(o).reduce((h, [d, p]) => Object.assign(h, { [d]: N(p) }), {}), id: l };
29249
29245
  return a && (delete u.onClick, delete u.htmlFor, delete c.onClick), wt({ ourProps: u, theirProps: c, slot: i, attrs: n, slots: e, name: s });
29250
29246
  };
29251
29247
  } });
29252
- function PS(t, e) {
29248
+ function NS(t, e) {
29253
29249
  return t === e;
29254
29250
  }
29255
29251
  let e6 = Symbol("RadioGroupContext");
@@ -29261,10 +29257,10 @@ function t6(t) {
29261
29257
  }
29262
29258
  return e;
29263
29259
  }
29264
- let FS = Ve({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, props: { as: { type: [Object, String], default: "div" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => PS }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, id: { type: String, default: () => `headlessui-radiogroup-${Hn()}` } }, inheritAttrs: !1, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29265
- let i = Le(null), o = Le([]), l = Jh({ name: "RadioGroupLabel" }), a = vc({ name: "RadioGroupDescription" });
29260
+ let PS = Ve({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, props: { as: { type: [Object, String], default: "div" }, disabled: { type: [Boolean], default: !1 }, by: { type: [String, Function], default: () => NS }, modelValue: { type: [Object, String, Number, Boolean], default: void 0 }, defaultValue: { type: [Object, String, Number, Boolean], default: void 0 }, form: { type: String, optional: !0 }, name: { type: String, optional: !0 }, id: { type: String, default: () => `headlessui-radiogroup-${Hn()}` } }, inheritAttrs: !1, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29261
+ let i = xe(null), o = xe([]), l = Jh({ name: "RadioGroupLabel" }), a = vc({ name: "RadioGroupDescription" });
29266
29262
  s({ el: i, $el: i });
29267
- let [c, u] = lS(P(() => t.modelValue), (m) => e("update:modelValue", m), P(() => t.defaultValue)), h = { options: o, value: c, disabled: P(() => t.disabled), firstOption: P(() => o.value.find((m) => !m.propsRef.disabled)), containsCheckedOption: P(() => o.value.some((m) => h.compare(we(m.propsRef.value), we(t.modelValue)))), compare(m, y) {
29263
+ let [c, u] = oS(P(() => t.modelValue), (m) => e("update:modelValue", m), P(() => t.defaultValue)), h = { options: o, value: c, disabled: P(() => t.disabled), firstOption: P(() => o.value.find((m) => !m.propsRef.disabled)), containsCheckedOption: P(() => o.value.some((m) => h.compare(we(m.propsRef.value), we(t.modelValue)))), compare(m, y) {
29268
29264
  if (typeof t.by == "string") {
29269
29265
  let T = t.by;
29270
29266
  return (m == null ? void 0 : m[T]) === (y == null ? void 0 : y[T]);
@@ -29282,7 +29278,7 @@ let FS = Ve({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, pro
29282
29278
  let y = o.value.findIndex((T) => T.id === m);
29283
29279
  y !== -1 && o.value.splice(y, 1);
29284
29280
  } };
29285
- Vt(e6, h), QT({ container: P(() => st(i)), accept(m) {
29281
+ Vt(e6, h), XT({ container: P(() => st(i)), accept(m) {
29286
29282
  return m.getAttribute("role") === "radio" ? NodeFilter.FILTER_REJECT : m.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
29287
29283
  }, walk(m) {
29288
29284
  m.setAttribute("role", "none");
@@ -29293,7 +29289,7 @@ let FS = Ve({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, pro
29293
29289
  let y = o.value.filter((T) => T.propsRef.disabled === !1).map((T) => T.element);
29294
29290
  switch (m.key) {
29295
29291
  case sr.Enter:
29296
- oS(m.currentTarget);
29292
+ iS(m.currentTarget);
29297
29293
  break;
29298
29294
  case sr.ArrowLeft:
29299
29295
  case sr.ArrowUp:
@@ -29345,12 +29341,12 @@ let FS = Ve({ name: "RadioGroup", emits: { "update:modelValue": (t) => !0 }, pro
29345
29341
  }, { immediate: !0 });
29346
29342
  }), () => {
29347
29343
  let { disabled: m, name: y, id: T, form: L, ...g } = t, _ = { ref: i, id: T, role: "radiogroup", "aria-labelledby": l.value, "aria-describedby": a.value, onKeydown: d };
29348
- return ct(Ne, [...y != null && c.value != null ? $h({ [y]: c.value }).map(([v, O]) => ct(Wi, zT({ features: y0.Hidden, key: v, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: L, name: v, value: O }))) : [], wt({ ourProps: _, theirProps: { ...n, ..._c(g, ["modelValue", "defaultValue", "by"]) }, slot: {}, attrs: n, slots: r, name: "RadioGroup" })]);
29344
+ return ct(Ne, [...y != null && c.value != null ? $h({ [y]: c.value }).map(([v, O]) => ct(Wi, VT({ features: y0.Hidden, key: v, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: L, name: v, value: O }))) : [], wt({ ourProps: _, theirProps: { ...n, ..._c(g, ["modelValue", "defaultValue", "by"]) }, slot: {}, attrs: n, slots: r, name: "RadioGroup" })]);
29349
29345
  };
29350
29346
  } });
29351
- var DS = ((t) => (t[t.Empty = 1] = "Empty", t[t.Active = 2] = "Active", t))(DS || {});
29352
- let BS = Ve({ name: "RadioGroupOption", props: { as: { type: [Object, String], default: "div" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-radiogroup-option-${Hn()}` } }, setup(t, { attrs: e, slots: n, expose: r }) {
29353
- let s = t6("RadioGroupOption"), i = Jh({ name: "RadioGroupLabel" }), o = vc({ name: "RadioGroupDescription" }), l = Le(null), a = P(() => ({ value: t.value, disabled: t.disabled })), c = Le(1);
29347
+ var FS = ((t) => (t[t.Empty = 1] = "Empty", t[t.Active = 2] = "Active", t))(FS || {});
29348
+ let DS = Ve({ name: "RadioGroupOption", props: { as: { type: [Object, String], default: "div" }, value: { type: [Object, String, Number, Boolean] }, disabled: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-radiogroup-option-${Hn()}` } }, setup(t, { attrs: e, slots: n, expose: r }) {
29349
+ let s = t6("RadioGroupOption"), i = Jh({ name: "RadioGroupLabel" }), o = vc({ name: "RadioGroupDescription" }), l = xe(null), a = P(() => ({ value: t.value, disabled: t.disabled })), c = xe(1);
29354
29350
  r({ el: l, $el: l });
29355
29351
  let u = P(() => st(l));
29356
29352
  qe(() => s.registerOption({ id: t.id, element: u, propsRef: a })), ht(() => s.unregisterOption(t.id));
@@ -29372,8 +29368,8 @@ let BS = Ve({ name: "RadioGroupOption", props: { as: { type: [Object, String], d
29372
29368
  let { id: g, value: _, disabled: v, ...O } = t, B = { checked: p.value, disabled: d.value, active: Boolean(c.value & 2) }, H = { id: g, ref: l, role: "radio", "aria-checked": p.value ? "true" : "false", "aria-labelledby": i.value, "aria-describedby": o.value, "aria-disabled": d.value ? !0 : void 0, tabIndex: m.value, onClick: d.value ? void 0 : y, onFocus: d.value ? void 0 : T, onBlur: d.value ? void 0 : L };
29373
29369
  return wt({ ourProps: H, theirProps: O, slot: B, attrs: e, slots: n, name: "RadioGroupOption" });
29374
29370
  };
29375
- } }), Lu = NS;
29376
- function $S(t) {
29371
+ } }), Lu = MS;
29372
+ function BS(t) {
29377
29373
  let e = { called: !1 };
29378
29374
  return (...n) => {
29379
29375
  if (!e.called)
@@ -29387,7 +29383,7 @@ function Li(t, ...e) {
29387
29383
  t && e.length > 0 && t.classList.remove(...e);
29388
29384
  }
29389
29385
  var ml = ((t) => (t.Finished = "finished", t.Cancelled = "cancelled", t))(ml || {});
29390
- function HS(t, e) {
29386
+ function $S(t, e) {
29391
29387
  let n = W0();
29392
29388
  if (!t)
29393
29389
  return n.dispose;
@@ -29398,27 +29394,27 @@ function HS(t, e) {
29398
29394
  return i !== 0 ? n.setTimeout(() => e("finished"), i + o) : e("finished"), n.add(() => e("cancelled")), n.dispose;
29399
29395
  }
29400
29396
  function _u(t, e, n, r, s, i) {
29401
- let o = W0(), l = i !== void 0 ? $S(i) : () => {
29397
+ let o = W0(), l = i !== void 0 ? BS(i) : () => {
29402
29398
  };
29403
29399
  return Li(t, ...s), xo(t, ...e, ...n), o.nextFrame(() => {
29404
- Li(t, ...n), xo(t, ...r), o.add(HS(t, (a) => (Li(t, ...r, ...e), xo(t, ...s), l(a))));
29400
+ Li(t, ...n), xo(t, ...r), o.add($S(t, (a) => (Li(t, ...r, ...e), xo(t, ...s), l(a))));
29405
29401
  }), o.add(() => Li(t, ...e, ...n, ...r, ...s)), o.add(() => l("cancelled")), o.dispose;
29406
29402
  }
29407
29403
  function br(t = "") {
29408
29404
  return t.split(" ").filter((e) => e.trim().length > 1);
29409
29405
  }
29410
29406
  let bc = Symbol("TransitionContext");
29411
- var US = ((t) => (t.Visible = "visible", t.Hidden = "hidden", t))(US || {});
29412
- function VS() {
29407
+ var HS = ((t) => (t.Visible = "visible", t.Hidden = "hidden", t))(HS || {});
29408
+ function US() {
29413
29409
  return lt(bc, null) !== null;
29414
29410
  }
29415
- function zS() {
29411
+ function VS() {
29416
29412
  let t = lt(bc, null);
29417
29413
  if (t === null)
29418
29414
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
29419
29415
  return t;
29420
29416
  }
29421
- function GS() {
29417
+ function zS() {
29422
29418
  let t = lt(wc, null);
29423
29419
  if (t === null)
29424
29420
  throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");
@@ -29429,7 +29425,7 @@ function z1(t) {
29429
29425
  return "children" in t ? z1(t.children) : t.value.filter(({ state: e }) => e === "visible").length > 0;
29430
29426
  }
29431
29427
  function n6(t) {
29432
- let e = Le([]), n = Le(!1);
29428
+ let e = xe([]), n = xe(!1);
29433
29429
  qe(() => n.value = !0), ht(() => n.value = !1);
29434
29430
  function r(i, o = lr.Hidden) {
29435
29431
  let l = e.value.findIndex(({ id: a }) => a === i);
@@ -29446,7 +29442,7 @@ function n6(t) {
29446
29442
  return { children: e, register: s, unregister: r };
29447
29443
  }
29448
29444
  let r6 = ji.RenderStrategy, xl = Ve({ props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r, expose: s }) {
29449
- let i = Le(0);
29445
+ let i = xe(0);
29450
29446
  function o() {
29451
29447
  i.value |= Kt.Opening, e("beforeEnter");
29452
29448
  }
@@ -29459,11 +29455,11 @@ let r6 = ji.RenderStrategy, xl = Ve({ props: { as: { type: [Object, String], def
29459
29455
  function c() {
29460
29456
  i.value &= ~Kt.Closing, e("afterLeave");
29461
29457
  }
29462
- if (!VS() && WT())
29458
+ if (!US() && ZT())
29463
29459
  return () => ct(s6, { ...t, onBeforeEnter: o, onAfterEnter: l, onBeforeLeave: a, onAfterLeave: c }, r);
29464
- let u = Le(null), h = P(() => t.unmount ? lr.Unmount : lr.Hidden);
29460
+ let u = xe(null), h = P(() => t.unmount ? lr.Unmount : lr.Hidden);
29465
29461
  s({ el: u, $el: u });
29466
- let { show: d, appear: p } = zS(), { register: m, unregister: y } = GS(), T = Le(d.value ? "visible" : "hidden"), L = { value: !0 }, g = Hn(), _ = { value: !1 }, v = n6(() => {
29462
+ let { show: d, appear: p } = VS(), { register: m, unregister: y } = zS(), T = xe(d.value ? "visible" : "hidden"), L = { value: !0 }, g = Hn(), _ = { value: !1 }, v = n6(() => {
29467
29463
  !_.value && T.value !== "hidden" && (T.value = "hidden", y(g), c());
29468
29464
  });
29469
29465
  qe(() => {
@@ -29500,29 +29496,29 @@ let r6 = ji.RenderStrategy, xl = Ve({ props: { as: { type: [Object, String], def
29500
29496
  Xt([d], (_e, oe, Pe) => {
29501
29497
  He(Pe), L.value = !1;
29502
29498
  }, { immediate: !0 });
29503
- }), Vt(wc, v), qT(P(() => Dn(T.value, { visible: Kt.Open, hidden: Kt.Closed }) | i.value)), () => {
29499
+ }), Vt(wc, v), WT(P(() => Dn(T.value, { visible: Kt.Open, hidden: Kt.Closed }) | i.value)), () => {
29504
29500
  let { appear: _e, show: oe, enter: Pe, enterFrom: V, enterTo: J, entered: fe, leave: Xe, leaveFrom: Qe, leaveTo: Ot, ...it } = t, F = { ref: u }, le = { ...it, ...p.value && d.value && Z0.isServer ? { class: ye([n.class, it.class, ...O, ...B]) } : {} };
29505
29501
  return wt({ theirProps: le, ourProps: F, slot: {}, slots: r, attrs: n, features: r6, visible: T.value === "visible", name: "TransitionChild" });
29506
29502
  };
29507
- } }), jS = xl, s6 = Ve({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
29503
+ } }), GS = xl, s6 = Ve({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
29508
29504
  let s = yc(), i = P(() => t.show === null && s !== null ? (s.value & Kt.Open) === Kt.Open : t.show);
29509
29505
  en(() => {
29510
29506
  if (![!0, !1].includes(i.value))
29511
29507
  throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
29512
29508
  });
29513
- let o = Le(i.value ? "visible" : "hidden"), l = n6(() => {
29509
+ let o = xe(i.value ? "visible" : "hidden"), l = n6(() => {
29514
29510
  o.value = "hidden";
29515
- }), a = Le(!0), c = { show: i, appear: P(() => t.appear || !a.value) };
29511
+ }), a = xe(!0), c = { show: i, appear: P(() => t.appear || !a.value) };
29516
29512
  return qe(() => {
29517
29513
  en(() => {
29518
29514
  a.value = !1, i.value ? o.value = "visible" : z1(l) || (o.value = "hidden");
29519
29515
  });
29520
29516
  }), Vt(wc, l), Vt(bc, c), () => {
29521
29517
  let u = _c(t, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), h = { unmount: t.unmount };
29522
- return wt({ ourProps: { ...h, as: "template" }, theirProps: {}, slot: {}, slots: { ...r, default: () => [ct(jS, { onBeforeEnter: () => e("beforeEnter"), onAfterEnter: () => e("afterEnter"), onBeforeLeave: () => e("beforeLeave"), onAfterLeave: () => e("afterLeave"), ...n, ...h, ...u }, r.default)] }, attrs: {}, features: r6, visible: o.value === "visible", name: "Transition" });
29518
+ return wt({ ourProps: { ...h, as: "template" }, theirProps: {}, slot: {}, slots: { ...r, default: () => [ct(GS, { onBeforeEnter: () => e("beforeEnter"), onAfterEnter: () => e("afterEnter"), onBeforeLeave: () => e("beforeLeave"), onAfterLeave: () => e("afterLeave"), ...n, ...h, ...u }, r.default)] }, attrs: {}, features: r6, visible: o.value === "visible", name: "Transition" });
29523
29519
  };
29524
29520
  } });
29525
- const ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29521
+ const jS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29526
29522
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="white"/>
29527
29523
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
29528
29524
  <rect x="4" y="6" width="16" height="6" fill="#F2F4F7"/>
@@ -29537,7 +29533,7 @@ const ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="h
29537
29533
  <line x1="13" y1="16.75" x2="31" y2="16.75" stroke="#98A2B3" stroke-width="0.5"/>
29538
29534
  <line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#98A2B3" stroke-width="0.5"/>
29539
29535
  </svg>
29540
- `, WS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29536
+ `, ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29541
29537
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="#FCFCFD"/>
29542
29538
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
29543
29539
  <rect x="4" y="6" width="16" height="6" fill="#D1E0FF"/>
@@ -29552,7 +29548,7 @@ const ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="h
29552
29548
  <line x1="13" y1="16.75" x2="31" y2="16.75" stroke="#98A2B3" stroke-width="0.5"/>
29553
29549
  <line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#98A2B3" stroke-width="0.5"/>
29554
29550
  </svg>
29555
- `, qS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29551
+ `, WS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29556
29552
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="#1F242F"/>
29557
29553
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
29558
29554
  <rect x="4" y="6" width="16" height="6" fill="#536FFF"/>
@@ -29567,7 +29563,7 @@ const ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="h
29567
29563
  <line x1="13" y1="16.75" x2="31" y2="16.75" stroke="#EBEBEB" stroke-width="0.5"/>
29568
29564
  <line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#EBEBEB" stroke-width="0.5"/>
29569
29565
  </svg>
29570
- `, KS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29566
+ `, qS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="http://www.w3.org/2000/svg">
29571
29567
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" fill="#1F242F"/>
29572
29568
  <rect x="0.5" y="0.5" width="63" height="41" rx="3.5" stroke="#E6E7EB"/>
29573
29569
  <rect x="4" y="6" width="16" height="6" fill="#34D399"/>
@@ -29583,39 +29579,39 @@ const ZS = `<svg width="64" height="42" viewBox="0 0 64 42" fill="none" xmlns="h
29583
29579
  <line x1="13" y1="30.75" x2="51" y2="30.75" stroke="#34D399" stroke-width="0.5"/>
29584
29580
  </svg>
29585
29581
  `;
29586
- const YS = {
29582
+ const KS = {
29587
29583
  key: 0,
29588
29584
  class: "dot"
29589
- }, XS = /* @__PURE__ */ S("div", { class: "fixed inset-0 bg-black bg-opacity-25" }, null, -1), QS = { class: "fixed inset-0 overflow-y-auto" }, JS = { class: "flex min-h-full items-center justify-center p-4 text-center" }, eA = { class: "px-6" }, tA = /* @__PURE__ */ S("p", { class: "text-gray-500 text-sm" }, "Customize your UI theme", -1), nA = { class: "mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto" }, rA = { class: "pb-4" }, sA = { class: "space-y-2" }, iA = { class: "flex w-full items-center justify-between" }, oA = { class: "flex items-center text-sm text-gray-900" }, lA = ["innerHTML"], aA = { class: "pt-6 px-6 border-t flex items-center gap-2" }, cA = ["checked"], uA = /* @__PURE__ */ S("label", {
29585
+ }, YS = /* @__PURE__ */ S("div", { class: "fixed inset-0 bg-black bg-opacity-25" }, null, -1), XS = { class: "fixed inset-0 overflow-y-auto" }, QS = { class: "flex min-h-full items-center justify-center p-4 text-center" }, JS = { class: "px-6" }, eA = /* @__PURE__ */ S("p", { class: "text-gray-500 text-sm" }, "Customize your UI theme", -1), tA = { class: "mt-4 ml-[-0.5rem] px-2 max-h-72 overflow-y-auto" }, nA = { class: "pb-4" }, rA = { class: "space-y-2" }, sA = { class: "flex w-full items-center justify-between" }, iA = { class: "flex items-center text-sm text-gray-900" }, oA = ["innerHTML"], lA = { class: "pt-6 px-6 border-t flex items-center gap-2" }, aA = ["checked"], cA = /* @__PURE__ */ S("label", {
29590
29586
  for: "scopeTheming",
29591
29587
  class: "select-none"
29592
- }, "Apply to this diagram only", -1), hA = {
29588
+ }, "Apply to this diagram only", -1), uA = {
29593
29589
  __name: "ThemeSelect",
29594
29590
  setup(t) {
29595
- const e = Le(!1), n = [
29591
+ const e = xe(!1), n = [
29596
29592
  {
29597
29593
  name: "Legacy",
29598
29594
  id: "theme-default",
29599
- icon: ZS
29595
+ icon: jS
29600
29596
  },
29601
29597
  {
29602
29598
  name: "Clear Light",
29603
29599
  id: "theme-clean-light",
29604
- icon: WS
29600
+ icon: ZS
29605
29601
  },
29606
29602
  {
29607
29603
  name: "Clear Dark",
29608
29604
  id: "theme-clean-dark",
29609
- icon: qS
29605
+ icon: WS
29610
29606
  },
29611
29607
  {
29612
29608
  name: "Neon Dark",
29613
29609
  id: "theme-neon",
29614
- icon: KS
29610
+ icon: qS
29615
29611
  }
29616
29612
  ], r = rn(), s = P(() => r.state.theme || n[0].id), i = P(
29617
29613
  () => r.state.enableScopedTheming || !1
29618
- ), o = Le(r.state.themeIconDot), l = () => {
29614
+ ), o = xe(r.state.themeIconDot), l = () => {
29619
29615
  e.value = !1, h("theme-close-modal");
29620
29616
  }, a = () => {
29621
29617
  e.value = !0, o.value = !0, r.commit("setThemeIconDot", !0), h("theme-open-modal");
@@ -29641,7 +29637,7 @@ const YS = {
29641
29637
  onClick: a
29642
29638
  }, [
29643
29639
  G(dr, { name: "theme" }),
29644
- o.value ? me("", !0) : (R(), q("span", YS))
29640
+ o.value ? Le("", !0) : (R(), q("span", KS))
29645
29641
  ]),
29646
29642
  G(N(s6), {
29647
29643
  appear: "",
@@ -29649,7 +29645,7 @@ const YS = {
29649
29645
  as: "template"
29650
29646
  }, {
29651
29647
  default: Zt(() => [
29652
- G(N(OS), {
29648
+ G(N(kS), {
29653
29649
  as: "div",
29654
29650
  onClose: l,
29655
29651
  class: "relative z-10"
@@ -29665,12 +29661,12 @@ const YS = {
29665
29661
  "leave-to": "opacity-0"
29666
29662
  }, {
29667
29663
  default: Zt(() => [
29668
- XS
29664
+ YS
29669
29665
  ], void 0, !0),
29670
29666
  _: 1
29671
29667
  }),
29672
- S("div", QS, [
29673
- S("div", JS, [
29668
+ S("div", XS, [
29669
+ S("div", QS, [
29674
29670
  G(N(xl), {
29675
29671
  as: "template",
29676
29672
  enter: "duration-300 ease-out",
@@ -29681,10 +29677,10 @@ const YS = {
29681
29677
  "leave-to": "opacity-0 scale-95"
29682
29678
  }, {
29683
29679
  default: Zt(() => [
29684
- G(N(IS), { class: "w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all" }, {
29680
+ G(N(OS), { class: "w-full max-w-md transform overflow-hidden rounded-2xl bg-white py-6 text-left align-middle shadow-xl transition-all" }, {
29685
29681
  default: Zt(() => [
29686
- S("div", eA, [
29687
- G(N(MS), {
29682
+ S("div", JS, [
29683
+ G(N(IS), {
29688
29684
  as: "h3",
29689
29685
  class: "text-lg font-semibold leading-6 text-gray-900"
29690
29686
  }, {
@@ -29693,10 +29689,10 @@ const YS = {
29693
29689
  ], void 0, !0),
29694
29690
  _: 1
29695
29691
  }),
29696
- tA,
29697
- S("div", nA, [
29698
- S("div", rA, [
29699
- G(N(FS), {
29692
+ eA,
29693
+ S("div", tA, [
29694
+ S("div", nA, [
29695
+ G(N(PS), {
29700
29696
  "model-value": N(s),
29701
29697
  "onUpdate:modelValue": c
29702
29698
  }, {
@@ -29707,8 +29703,8 @@ const YS = {
29707
29703
  ], void 0, !0),
29708
29704
  _: 1
29709
29705
  }),
29710
- S("div", sA, [
29711
- (R(), q(Ne, null, Nn(n, (m) => G(N(BS), {
29706
+ S("div", rA, [
29707
+ (R(), q(Ne, null, Nn(n, (m) => G(N(DS), {
29712
29708
  as: "template",
29713
29709
  key: m.id,
29714
29710
  value: m.id
@@ -29719,8 +29715,8 @@ const YS = {
29719
29715
  y ? "border-2 text-gray-900 border-primary" : "border-2 border-transparent"
29720
29716
  ], "relative flex items-center cursor-pointer rounded-lg px-4 py-3 shadow-md"])
29721
29717
  }, [
29722
- S("div", iA, [
29723
- S("div", oA, [
29718
+ S("div", sA, [
29719
+ S("div", iA, [
29724
29720
  y ? (R(), Se(dr, {
29725
29721
  key: 0,
29726
29722
  name: "selected-cycle",
@@ -29738,7 +29734,7 @@ const YS = {
29738
29734
  ])
29739
29735
  }, {
29740
29736
  default: Zt(() => [
29741
- An(Ge(m.name), 1)
29737
+ An(Ze(m.name), 1)
29742
29738
  ], void 0, !0),
29743
29739
  _: 2
29744
29740
  }, 1032, ["class"])
@@ -29747,7 +29743,7 @@ const YS = {
29747
29743
  S("span", {
29748
29744
  class: "inline-block w-20 border rounded-md overflow-hidden",
29749
29745
  innerHTML: m.icon
29750
- }, null, 8, lA)
29746
+ }, null, 8, oA)
29751
29747
  ], 2)
29752
29748
  ]),
29753
29749
  _: 2
@@ -29759,14 +29755,14 @@ const YS = {
29759
29755
  ])
29760
29756
  ])
29761
29757
  ]),
29762
- S("div", aA, [
29758
+ S("div", lA, [
29763
29759
  S("input", {
29764
29760
  type: "checkbox",
29765
29761
  id: "scopeTheming",
29766
29762
  checked: N(i),
29767
29763
  onChange: p[0] || (p[0] = (m) => u(m.target.checked))
29768
- }, null, 40, cA),
29769
- uA
29764
+ }, null, 40, aA),
29765
+ cA
29770
29766
  ])
29771
29767
  ], void 0, !0),
29772
29768
  _: 1
@@ -29784,7 +29780,7 @@ const YS = {
29784
29780
  }, 8, ["show"])
29785
29781
  ], 64));
29786
29782
  }
29787
- }, dA = {
29783
+ }, hA = {
29788
29784
  name: "DiagramFrame",
29789
29785
  setup() {
29790
29786
  return {
@@ -29826,7 +29822,7 @@ const YS = {
29826
29822
  }
29827
29823
  },
29828
29824
  toPng() {
29829
- return IT(this.$refs.export, {
29825
+ return OT(this.$refs.export, {
29830
29826
  backgroundColor: "white",
29831
29827
  filter: (t) => {
29832
29828
  var e;
@@ -29844,7 +29840,7 @@ const YS = {
29844
29840
  });
29845
29841
  },
29846
29842
  toBlob() {
29847
- return NT(this.$refs.export, {
29843
+ return MT(this.$refs.export, {
29848
29844
  backgroundColor: "white",
29849
29845
  filter: (t) => {
29850
29846
  var e;
@@ -29853,7 +29849,7 @@ const YS = {
29853
29849
  });
29854
29850
  },
29855
29851
  toJpeg() {
29856
- return MT(this.$refs.export, {
29852
+ return IT(this.$refs.export, {
29857
29853
  backgroundColor: "white",
29858
29854
  filter: (t) => {
29859
29855
  var e;
@@ -29893,30 +29889,30 @@ const YS = {
29893
29889
  },
29894
29890
  components: {
29895
29891
  Icon: dr,
29896
- Debug: VT,
29897
- WidthProvider: VE,
29898
- TipsDialog: _E,
29892
+ Debug: UT,
29893
+ WidthProvider: UE,
29894
+ TipsDialog: LE,
29899
29895
  DiagramTitle: kv,
29900
29896
  SeqDiagram: pc,
29901
29897
  Privacy: Tv,
29902
- ThemeSelect: hA
29898
+ ThemeSelect: uA
29903
29899
  }
29904
- }, fA = { class: "frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded" }, pA = { ref: "content" }, gA = { class: "header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t" }, mA = { class: "left hide-export" }, xA = { class: "right flex-grow flex justify-between" }, LA = {
29900
+ }, dA = { class: "frame text-skin-frame bg-skin-frame border-skin-frame relative m-1 origin-top-left whitespace-nowrap border rounded" }, fA = { ref: "content" }, pA = { class: "header text-skin-title bg-skin-title border-skin-frame border-b p-1 flex justify-between rounded-t" }, gA = { class: "left hide-export" }, mA = { class: "right flex-grow flex justify-between" }, xA = {
29905
29901
  key: 0,
29906
29902
  class: "fixed z-40 inset-0 overflow-y-auto",
29907
29903
  "aria-labelledby": "modal-title",
29908
29904
  role: "dialog",
29909
29905
  "aria-modal": "true"
29910
- }, _A = { class: "footer text-skin-control px-4 py-1 flex justify-between items-center gap-3" }, yA = { class: "flex items-center gap-3 color-base" }, CA = { class: "flex items-center" }, vA = ["checked"], bA = {
29906
+ }, LA = { class: "footer text-skin-control px-4 py-1 flex justify-between items-center gap-3" }, _A = { class: "flex items-center gap-3 color-base" }, yA = { class: "flex items-center" }, CA = ["checked"], vA = {
29911
29907
  for: "order-display",
29912
29908
  title: "Numbering the diagram",
29913
29909
  class: "select-none"
29914
- }, wA = { class: "zoom-controls bg-skin-base flex hide-export gap-1" }, EA = { class: "w-12 block text-center" }, TA = /* @__PURE__ */ S("a", {
29910
+ }, bA = { class: "zoom-controls bg-skin-base flex hide-export gap-1" }, wA = { class: "w-12 block text-center" }, EA = /* @__PURE__ */ S("a", {
29915
29911
  target: "_blank",
29916
29912
  href: "https://zenuml.com",
29917
29913
  class: "brand text-xs hover:underline"
29918
29914
  }, "ZenUML.com", -1);
29919
- function SA(t, e, n, r, s, i) {
29915
+ function TA(t, e, n, r, s, i) {
29920
29916
  const o = pe("debug"), l = pe("diagram-title"), a = pe("privacy"), c = pe("TipsDialog"), u = pe("seq-diagram"), h = pe("Icon"), d = pe("ThemeSelect"), p = pe("width-provider");
29921
29917
  return R(), q("div", {
29922
29918
  ref: "export",
@@ -29924,21 +29920,21 @@ function SA(t, e, n, r, s, i) {
29924
29920
  style: { display: "inline-block" }
29925
29921
  }, [
29926
29922
  G(o),
29927
- S("div", fA, [
29928
- S("div", pA, [
29929
- S("div", gA, [
29930
- S("div", mA, [
29923
+ S("div", dA, [
29924
+ S("div", fA, [
29925
+ S("div", pA, [
29926
+ S("div", gA, [
29931
29927
  zl(t.$slots, "default")
29932
29928
  ]),
29933
- S("div", xA, [
29929
+ S("div", mA, [
29934
29930
  G(l, { context: i.title }, null, 8, ["context"]),
29935
29931
  G(a, { class: "hide-export flex items-center" })
29936
29932
  ])
29937
29933
  ]),
29938
29934
  S("div", null, [
29939
- t.showTips ? (R(), q("div", LA, [
29935
+ t.showTips ? (R(), q("div", xA, [
29940
29936
  G(c)
29941
- ])) : me("", !0)
29937
+ ])) : Le("", !0)
29942
29938
  ]),
29943
29939
  G(u, {
29944
29940
  ref: "diagram",
@@ -29946,9 +29942,9 @@ function SA(t, e, n, r, s, i) {
29946
29942
  class: "origin-top-left"
29947
29943
  }, null, 8, ["style"])
29948
29944
  ], 512),
29949
- S("div", _A, [
29945
+ S("div", LA, [
29950
29946
  t.mode === r.RenderMode.Dynamic ? (R(), q(Ne, { key: 0 }, [
29951
- S("div", yA, [
29947
+ S("div", _A, [
29952
29948
  S("button", {
29953
29949
  class: "bottom-1 flex items-center left-1 hide-export",
29954
29950
  onClick: e[0] || (e[0] = (m) => i.showTipsDialog())
@@ -29958,16 +29954,16 @@ function SA(t, e, n, r, s, i) {
29958
29954
  "icon-class": "filter grayscale w-4 h-4"
29959
29955
  })
29960
29956
  ]),
29961
- t.enableMultiTheme ? (R(), Se(d, { key: 0 })) : me("", !0),
29962
- S("div", CA, [
29957
+ t.enableMultiTheme ? (R(), Se(d, { key: 0 })) : Le("", !0),
29958
+ S("div", yA, [
29963
29959
  S("input", {
29964
29960
  type: "checkbox",
29965
29961
  id: "order-display",
29966
29962
  class: "mr-1",
29967
29963
  checked: t.numbering,
29968
29964
  onInput: e[1] || (e[1] = (m) => t.toggleNumbering(!t.numbering))
29969
- }, null, 40, vA),
29970
- S("label", bA, [
29965
+ }, null, 40, CA),
29966
+ S("label", vA, [
29971
29967
  G(h, {
29972
29968
  name: "numbering",
29973
29969
  "icon-class": "w-6 h-6"
@@ -29975,7 +29971,7 @@ function SA(t, e, n, r, s, i) {
29975
29971
  ])
29976
29972
  ])
29977
29973
  ]),
29978
- S("div", wA, [
29974
+ S("div", bA, [
29979
29975
  S("button", {
29980
29976
  class: "zoom-in",
29981
29977
  onClick: e[2] || (e[2] = (m) => i.zoomIn())
@@ -29985,7 +29981,7 @@ function SA(t, e, n, r, s, i) {
29985
29981
  "icon-class": "w-4 h-4"
29986
29982
  })
29987
29983
  ]),
29988
- S("label", EA, Ge(Number(t.scale * 100).toFixed(0)) + "%", 1),
29984
+ S("label", wA, Ze(Number(t.scale * 100).toFixed(0)) + "%", 1),
29989
29985
  S("button", {
29990
29986
  class: "zoom-out",
29991
29987
  onClick: e[3] || (e[3] = (m) => i.zoomOut())
@@ -29996,14 +29992,14 @@ function SA(t, e, n, r, s, i) {
29996
29992
  })
29997
29993
  ])
29998
29994
  ]),
29999
- TA
30000
- ], 64)) : me("", !0)
29995
+ EA
29996
+ ], 64)) : Le("", !0)
30001
29997
  ]),
30002
29998
  G(p)
30003
29999
  ])
30004
30000
  ], 2);
30005
30001
  }
30006
- const i6 = /* @__PURE__ */ je(dA, [["render", SA]]);
30002
+ const i6 = /* @__PURE__ */ Ge(hA, [["render", TA]]);
30007
30003
  function o6() {
30008
30004
  return {
30009
30005
  baseUrl: null,
@@ -30028,50 +30024,50 @@ function o6() {
30028
30024
  };
30029
30025
  }
30030
30026
  let Ds = o6();
30031
- function AA(t) {
30027
+ function SA(t) {
30032
30028
  Ds = t;
30033
30029
  }
30034
- const RA = /[&<>"']/, kA = /[&<>"']/g, OA = /[<>"']|&(?!#?\w+;)/, IA = /[<>"']|&(?!#?\w+;)/g, MA = {
30030
+ const AA = /[&<>"']/, RA = /[&<>"']/g, kA = /[<>"']|&(?!#?\w+;)/, OA = /[<>"']|&(?!#?\w+;)/g, IA = {
30035
30031
  "&": "&amp;",
30036
30032
  "<": "&lt;",
30037
30033
  ">": "&gt;",
30038
30034
  '"': "&quot;",
30039
30035
  "'": "&#39;"
30040
- }, yu = (t) => MA[t];
30036
+ }, yu = (t) => IA[t];
30041
30037
  function pt(t, e) {
30042
30038
  if (e) {
30043
- if (RA.test(t))
30044
- return t.replace(kA, yu);
30045
- } else if (OA.test(t))
30046
- return t.replace(IA, yu);
30039
+ if (AA.test(t))
30040
+ return t.replace(RA, yu);
30041
+ } else if (kA.test(t))
30042
+ return t.replace(OA, yu);
30047
30043
  return t;
30048
30044
  }
30049
- const NA = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
30045
+ const MA = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig;
30050
30046
  function l6(t) {
30051
- return t.replace(NA, (e, n) => (n = n.toLowerCase(), n === "colon" ? ":" : n.charAt(0) === "#" ? n.charAt(1) === "x" ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1)) : ""));
30047
+ return t.replace(MA, (e, n) => (n = n.toLowerCase(), n === "colon" ? ":" : n.charAt(0) === "#" ? n.charAt(1) === "x" ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1)) : ""));
30052
30048
  }
30053
- const PA = /(^|[^\[])\^/g;
30049
+ const NA = /(^|[^\[])\^/g;
30054
30050
  function We(t, e) {
30055
30051
  t = t.source || t, e = e || "";
30056
30052
  const n = {
30057
- replace: (r, s) => (s = s.source || s, s = s.replace(PA, "$1"), t = t.replace(r, s), n),
30053
+ replace: (r, s) => (s = s.source || s, s = s.replace(NA, "$1"), t = t.replace(r, s), n),
30058
30054
  getRegex: () => new RegExp(t, e)
30059
30055
  };
30060
30056
  return n;
30061
30057
  }
30062
- const FA = /[^\w:]/g, DA = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
30058
+ const PA = /[^\w:]/g, FA = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
30063
30059
  function Cu(t, e, n) {
30064
30060
  if (t) {
30065
30061
  let r;
30066
30062
  try {
30067
- r = decodeURIComponent(l6(n)).replace(FA, "").toLowerCase();
30063
+ r = decodeURIComponent(l6(n)).replace(PA, "").toLowerCase();
30068
30064
  } catch {
30069
30065
  return null;
30070
30066
  }
30071
30067
  if (r.indexOf("javascript:") === 0 || r.indexOf("vbscript:") === 0 || r.indexOf("data:") === 0)
30072
30068
  return null;
30073
30069
  }
30074
- e && !DA.test(n) && (n = UA(e, n));
30070
+ e && !FA.test(n) && (n = HA(e, n));
30075
30071
  try {
30076
30072
  n = encodeURI(n).replace(/%25/g, "%");
30077
30073
  } catch {
@@ -30079,11 +30075,11 @@ function Cu(t, e, n) {
30079
30075
  }
30080
30076
  return n;
30081
30077
  }
30082
- const _i = {}, BA = /^[^:]+:\/*[^/]*$/, $A = /^([^:]+:)[\s\S]*$/, HA = /^([^:]+:\/*[^/]*)[\s\S]*$/;
30083
- function UA(t, e) {
30084
- _i[" " + t] || (BA.test(t) ? _i[" " + t] = t + "/" : _i[" " + t] = Ei(t, "/", !0)), t = _i[" " + t];
30078
+ const _i = {}, DA = /^[^:]+:\/*[^/]*$/, BA = /^([^:]+:)[\s\S]*$/, $A = /^([^:]+:\/*[^/]*)[\s\S]*$/;
30079
+ function HA(t, e) {
30080
+ _i[" " + t] || (DA.test(t) ? _i[" " + t] = t + "/" : _i[" " + t] = Ei(t, "/", !0)), t = _i[" " + t];
30085
30081
  const n = t.indexOf(":") === -1;
30086
- return e.substring(0, 2) === "//" ? n ? e : t.replace($A, "$1") + e : e.charAt(0) === "/" ? n ? e : t.replace(HA, "$1") + e : t + e;
30082
+ return e.substring(0, 2) === "//" ? n ? e : t.replace(BA, "$1") + e : e.charAt(0) === "/" ? n ? e : t.replace($A, "$1") + e : t + e;
30087
30083
  }
30088
30084
  const qi = { exec: function() {
30089
30085
  } };
@@ -30129,7 +30125,7 @@ function Ei(t, e, n) {
30129
30125
  }
30130
30126
  return t.substr(0, r - s);
30131
30127
  }
30132
- function VA(t, e) {
30128
+ function UA(t, e) {
30133
30129
  if (t.indexOf(e[1]) === -1)
30134
30130
  return -1;
30135
30131
  const n = t.length;
@@ -30176,7 +30172,7 @@ function wu(t, e, n, r) {
30176
30172
  text: pt(o)
30177
30173
  };
30178
30174
  }
30179
- function zA(t, e) {
30175
+ function VA(t, e) {
30180
30176
  const n = t.match(/^(\s+)(?:```)/);
30181
30177
  if (n === null)
30182
30178
  return e;
@@ -30219,7 +30215,7 @@ class Ec {
30219
30215
  fences(e) {
30220
30216
  const n = this.rules.block.fences.exec(e);
30221
30217
  if (n) {
30222
- const r = n[0], s = zA(r, n[3] || "");
30218
+ const r = n[0], s = VA(r, n[3] || "");
30223
30219
  return {
30224
30220
  type: "code",
30225
30221
  raw: r,
@@ -30445,7 +30441,7 @@ class Ec {
30445
30441
  if ((r.length - o.length) % 2 === 0)
30446
30442
  return;
30447
30443
  } else {
30448
- const o = VA(n[2], "()");
30444
+ const o = UA(n[2], "()");
30449
30445
  if (o > -1) {
30450
30446
  const a = (n[0].indexOf("!") === 0 ? 5 : 4) + n[1].length + o;
30451
30447
  n[2] = n[2].substring(0, o), n[0] = n[0].substring(0, a).trim(), n[3] = "";
@@ -30720,7 +30716,7 @@ se.breaks = Ln({}, se.gfm, {
30720
30716
  br: We(se.br).replace("{2,}", "*").getRegex(),
30721
30717
  text: We(se.gfm.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
30722
30718
  });
30723
- function GA(t) {
30719
+ function zA(t) {
30724
30720
  return t.replace(/---/g, "\u2014").replace(/--/g, "\u2013").replace(/(^|[-\u2014/(\[{"\s])'/g, "$1\u2018").replace(/'/g, "\u2019").replace(/(^|[-\u2014/(\[{\u2018\s])"/g, "$1\u201C").replace(/"/g, "\u201D").replace(/\.{3}/g, "\u2026");
30725
30721
  }
30726
30722
  function Eu(t) {
@@ -30916,7 +30912,7 @@ class qn {
30916
30912
  d = p.call({ lexer: this }, h), typeof d == "number" && d >= 0 && (u = Math.min(u, d));
30917
30913
  }), u < 1 / 0 && u >= 0 && (i = e.substring(0, u + 1));
30918
30914
  }
30919
- if (r = this.tokenizer.inlineText(i, GA)) {
30915
+ if (r = this.tokenizer.inlineText(i, zA)) {
30920
30916
  e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (c = r.raw.slice(-1)), a = !0, s = n[n.length - 1], s && s.type === "text" ? (s.raw += r.raw, s.text += r.text) : n.push(r);
30921
30917
  continue;
30922
30918
  }
@@ -31243,12 +31239,12 @@ class Kn {
31243
31239
  return r;
31244
31240
  }
31245
31241
  }
31246
- function xe(t, e, n) {
31242
+ function me(t, e, n) {
31247
31243
  if (typeof t > "u" || t === null)
31248
31244
  throw new Error("marked(): input parameter is undefined or null");
31249
31245
  if (typeof t != "string")
31250
31246
  throw new Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected");
31251
- if (typeof e == "function" && (n = e, e = null), e = Ln({}, xe.defaults, e || {}), a6(e), n) {
31247
+ if (typeof e == "function" && (n = e, e = null), e = Ln({}, me.defaults, e || {}), a6(e), n) {
31252
31248
  const r = e.highlight;
31253
31249
  let s;
31254
31250
  try {
@@ -31260,7 +31256,7 @@ function xe(t, e, n) {
31260
31256
  let a;
31261
31257
  if (!l)
31262
31258
  try {
31263
- e.walkTokens && xe.walkTokens(s, e.walkTokens), a = Kn.parse(s, e);
31259
+ e.walkTokens && me.walkTokens(s, e.walkTokens), a = Kn.parse(s, e);
31264
31260
  } catch (c) {
31265
31261
  l = c;
31266
31262
  }
@@ -31269,7 +31265,7 @@ function xe(t, e, n) {
31269
31265
  if (!r || r.length < 3 || (delete e.highlight, !s.length))
31270
31266
  return i();
31271
31267
  let o = 0;
31272
- xe.walkTokens(s, function(l) {
31268
+ me.walkTokens(s, function(l) {
31273
31269
  l.type === "code" && (o++, setTimeout(() => {
31274
31270
  r(l.text, l.lang, function(a, c) {
31275
31271
  if (a)
@@ -31282,7 +31278,7 @@ function xe(t, e, n) {
31282
31278
  }
31283
31279
  try {
31284
31280
  const r = qn.lex(t, e);
31285
- return e.walkTokens && xe.walkTokens(r, e.walkTokens), Kn.parse(r, e);
31281
+ return e.walkTokens && me.walkTokens(r, e.walkTokens), Kn.parse(r, e);
31286
31282
  } catch (r) {
31287
31283
  if (r.message += `
31288
31284
  Please report this to https://github.com/markedjs/marked.`, e.silent)
@@ -31290,13 +31286,13 @@ Please report this to https://github.com/markedjs/marked.`, e.silent)
31290
31286
  throw r;
31291
31287
  }
31292
31288
  }
31293
- xe.options = xe.setOptions = function(t) {
31294
- return Ln(xe.defaults, t), AA(xe.defaults), xe;
31289
+ me.options = me.setOptions = function(t) {
31290
+ return Ln(me.defaults, t), SA(me.defaults), me;
31295
31291
  };
31296
- xe.getDefaults = o6;
31297
- xe.defaults = Ds;
31298
- xe.use = function(...t) {
31299
- const e = Ln({}, ...t), n = xe.defaults.extensions || { renderers: {}, childTokens: {} };
31292
+ me.getDefaults = o6;
31293
+ me.defaults = Ds;
31294
+ me.use = function(...t) {
31295
+ const e = Ln({}, ...t), n = me.defaults.extensions || { renderers: {}, childTokens: {} };
31300
31296
  let r;
31301
31297
  t.forEach((s) => {
31302
31298
  if (s.extensions && (r = !0, s.extensions.forEach((i) => {
@@ -31316,7 +31312,7 @@ xe.use = function(...t) {
31316
31312
  }
31317
31313
  i.childTokens && (n.childTokens[i.name] = i.childTokens);
31318
31314
  })), s.renderer) {
31319
- const i = xe.defaults.renderer || new Tc();
31315
+ const i = me.defaults.renderer || new Tc();
31320
31316
  for (const o in s.renderer) {
31321
31317
  const l = i[o];
31322
31318
  i[o] = (...a) => {
@@ -31327,7 +31323,7 @@ xe.use = function(...t) {
31327
31323
  e.renderer = i;
31328
31324
  }
31329
31325
  if (s.tokenizer) {
31330
- const i = xe.defaults.tokenizer || new Ec();
31326
+ const i = me.defaults.tokenizer || new Ec();
31331
31327
  for (const o in s.tokenizer) {
31332
31328
  const l = i[o];
31333
31329
  i[o] = (...a) => {
@@ -31338,44 +31334,44 @@ xe.use = function(...t) {
31338
31334
  e.tokenizer = i;
31339
31335
  }
31340
31336
  if (s.walkTokens) {
31341
- const i = xe.defaults.walkTokens;
31337
+ const i = me.defaults.walkTokens;
31342
31338
  e.walkTokens = function(o) {
31343
31339
  s.walkTokens.call(this, o), i && i.call(this, o);
31344
31340
  };
31345
31341
  }
31346
- r && (e.extensions = n), xe.setOptions(e);
31342
+ r && (e.extensions = n), me.setOptions(e);
31347
31343
  });
31348
31344
  };
31349
- xe.walkTokens = function(t, e) {
31345
+ me.walkTokens = function(t, e) {
31350
31346
  for (const n of t)
31351
- switch (e.call(xe, n), n.type) {
31347
+ switch (e.call(me, n), n.type) {
31352
31348
  case "table": {
31353
31349
  for (const r of n.header)
31354
- xe.walkTokens(r.tokens, e);
31350
+ me.walkTokens(r.tokens, e);
31355
31351
  for (const r of n.rows)
31356
31352
  for (const s of r)
31357
- xe.walkTokens(s.tokens, e);
31353
+ me.walkTokens(s.tokens, e);
31358
31354
  break;
31359
31355
  }
31360
31356
  case "list": {
31361
- xe.walkTokens(n.items, e);
31357
+ me.walkTokens(n.items, e);
31362
31358
  break;
31363
31359
  }
31364
31360
  default:
31365
- xe.defaults.extensions && xe.defaults.extensions.childTokens && xe.defaults.extensions.childTokens[n.type] ? xe.defaults.extensions.childTokens[n.type].forEach(function(r) {
31366
- xe.walkTokens(n[r], e);
31367
- }) : n.tokens && xe.walkTokens(n.tokens, e);
31361
+ me.defaults.extensions && me.defaults.extensions.childTokens && me.defaults.extensions.childTokens[n.type] ? me.defaults.extensions.childTokens[n.type].forEach(function(r) {
31362
+ me.walkTokens(n[r], e);
31363
+ }) : n.tokens && me.walkTokens(n.tokens, e);
31368
31364
  }
31369
31365
  };
31370
- xe.parseInline = function(t, e) {
31366
+ me.parseInline = function(t, e) {
31371
31367
  if (typeof t > "u" || t === null)
31372
31368
  throw new Error("marked.parseInline(): input parameter is undefined or null");
31373
31369
  if (typeof t != "string")
31374
31370
  throw new Error("marked.parseInline(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected");
31375
- e = Ln({}, xe.defaults, e || {}), a6(e);
31371
+ e = Ln({}, me.defaults, e || {}), a6(e);
31376
31372
  try {
31377
31373
  const n = qn.lexInline(t, e);
31378
- return e.walkTokens && xe.walkTokens(n, e.walkTokens), Kn.parseInline(n, e);
31374
+ return e.walkTokens && me.walkTokens(n, e.walkTokens), Kn.parseInline(n, e);
31379
31375
  } catch (n) {
31380
31376
  if (n.message += `
31381
31377
  Please report this to https://github.com/markedjs/marked.`, e.silent)
@@ -31383,20 +31379,20 @@ Please report this to https://github.com/markedjs/marked.`, e.silent)
31383
31379
  throw n;
31384
31380
  }
31385
31381
  };
31386
- xe.Parser = Kn;
31387
- xe.parser = Kn.parse;
31388
- xe.Renderer = Tc;
31389
- xe.TextRenderer = c6;
31390
- xe.Lexer = qn;
31391
- xe.lexer = qn.lex;
31392
- xe.Tokenizer = Ec;
31393
- xe.Slugger = u6;
31394
- xe.parse = xe;
31395
- xe.options;
31396
- xe.setOptions;
31397
- xe.use;
31398
- xe.walkTokens;
31399
- xe.parseInline;
31382
+ me.Parser = Kn;
31383
+ me.parser = Kn.parse;
31384
+ me.Renderer = Tc;
31385
+ me.TextRenderer = c6;
31386
+ me.Lexer = qn;
31387
+ me.lexer = qn.lex;
31388
+ me.Tokenizer = Ec;
31389
+ me.Slugger = u6;
31390
+ me.parse = me;
31391
+ me.options;
31392
+ me.setOptions;
31393
+ me.use;
31394
+ me.walkTokens;
31395
+ me.parseInline;
31400
31396
  Kn.parse;
31401
31397
  qn.lex;
31402
31398
  function Sc(t) {
@@ -31409,8 +31405,8 @@ function Sc(t) {
31409
31405
  typeof n == "object" && !Object.isFrozen(n) && Sc(n);
31410
31406
  }), t;
31411
31407
  }
31412
- var h6 = Sc, jA = Sc;
31413
- h6.default = jA;
31408
+ var h6 = Sc, GA = Sc;
31409
+ h6.default = GA;
31414
31410
  class Tu {
31415
31411
  constructor(e) {
31416
31412
  e.data === void 0 && (e.data = {}), this.data = e.data, this.isMatchIgnored = !1;
@@ -31431,8 +31427,8 @@ function ar(t, ...e) {
31431
31427
  n[s] = r[s];
31432
31428
  }), n;
31433
31429
  }
31434
- const ZA = "</span>", Su = (t) => !!t.kind;
31435
- class WA {
31430
+ const jA = "</span>", Su = (t) => !!t.kind;
31431
+ class ZA {
31436
31432
  constructor(e, n) {
31437
31433
  this.buffer = "", this.classPrefix = n.classPrefix, e.walk(this);
31438
31434
  }
@@ -31446,7 +31442,7 @@ class WA {
31446
31442
  e.sublanguage || (n = `${this.classPrefix}${n}`), this.span(n);
31447
31443
  }
31448
31444
  closeNode(e) {
31449
- !Su(e) || (this.buffer += ZA);
31445
+ !Su(e) || (this.buffer += jA);
31450
31446
  }
31451
31447
  value() {
31452
31448
  return this.buffer;
@@ -31495,7 +31491,7 @@ class Ac {
31495
31491
  })));
31496
31492
  }
31497
31493
  }
31498
- class qA extends Ac {
31494
+ class WA extends Ac {
31499
31495
  constructor(e) {
31500
31496
  super(), this.options = e;
31501
31497
  }
@@ -31510,40 +31506,40 @@ class qA extends Ac {
31510
31506
  r.kind = n, r.sublanguage = !0, this.add(r);
31511
31507
  }
31512
31508
  toHTML() {
31513
- return new WA(this, this.options).value();
31509
+ return new ZA(this, this.options).value();
31514
31510
  }
31515
31511
  finalize() {
31516
31512
  return !0;
31517
31513
  }
31518
31514
  }
31519
- function KA(t) {
31515
+ function qA(t) {
31520
31516
  return new RegExp(t.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m");
31521
31517
  }
31522
31518
  function C0(t) {
31523
31519
  return t ? typeof t == "string" ? t : t.source : null;
31524
31520
  }
31525
- function YA(...t) {
31521
+ function KA(...t) {
31526
31522
  return t.map((n) => C0(n)).join("");
31527
31523
  }
31528
- function XA(...t) {
31524
+ function YA(...t) {
31529
31525
  return "(" + t.map((n) => C0(n)).join("|") + ")";
31530
31526
  }
31531
- function QA(t) {
31527
+ function XA(t) {
31532
31528
  return new RegExp(t.toString() + "|").exec("").length - 1;
31533
31529
  }
31534
- function JA(t, e) {
31530
+ function QA(t, e) {
31535
31531
  const n = t && t.exec(e);
31536
31532
  return n && n.index === 0;
31537
31533
  }
31538
- const eR = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
31539
- function tR(t, e = "|") {
31534
+ const JA = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
31535
+ function eR(t, e = "|") {
31540
31536
  let n = 0;
31541
31537
  return t.map((r) => {
31542
31538
  n += 1;
31543
31539
  const s = n;
31544
31540
  let i = C0(r), o = "";
31545
31541
  for (; i.length > 0; ) {
31546
- const l = eR.exec(i);
31542
+ const l = JA.exec(i);
31547
31543
  if (!l) {
31548
31544
  o += i;
31549
31545
  break;
@@ -31553,9 +31549,9 @@ function tR(t, e = "|") {
31553
31549
  return o;
31554
31550
  }).map((r) => `(${r})`).join(e);
31555
31551
  }
31556
- const nR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\\d+)?", f6 = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", p6 = "\\b(0b[01]+)", rR = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", sR = (t = {}) => {
31552
+ const tR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\\d+)?", f6 = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)", p6 = "\\b(0b[01]+)", nR = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", rR = (t = {}) => {
31557
31553
  const e = /^#![ ]*\//;
31558
- return t.binary && (t.begin = YA(
31554
+ return t.binary && (t.begin = KA(
31559
31555
  e,
31560
31556
  /.*\b/,
31561
31557
  t.binary,
@@ -31572,13 +31568,13 @@ const nR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\
31572
31568
  }, v0 = {
31573
31569
  begin: "\\\\[\\s\\S]",
31574
31570
  relevance: 0
31575
- }, iR = {
31571
+ }, sR = {
31576
31572
  className: "string",
31577
31573
  begin: "'",
31578
31574
  end: "'",
31579
31575
  illegal: "\\n",
31580
31576
  contains: [v0]
31581
- }, oR = {
31577
+ }, iR = {
31582
31578
  className: "string",
31583
31579
  begin: '"',
31584
31580
  end: '"',
@@ -31601,23 +31597,23 @@ const nR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\
31601
31597
  begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
31602
31598
  relevance: 0
31603
31599
  }), r;
31604
- }, lR = G1("//", "$"), aR = G1("/\\*", "\\*/"), cR = G1("#", "$"), uR = {
31600
+ }, oR = G1("//", "$"), lR = G1("/\\*", "\\*/"), aR = G1("#", "$"), cR = {
31605
31601
  className: "number",
31606
31602
  begin: kc,
31607
31603
  relevance: 0
31608
- }, hR = {
31604
+ }, uR = {
31609
31605
  className: "number",
31610
31606
  begin: f6,
31611
31607
  relevance: 0
31612
- }, dR = {
31608
+ }, hR = {
31613
31609
  className: "number",
31614
31610
  begin: p6,
31615
31611
  relevance: 0
31616
- }, fR = {
31612
+ }, dR = {
31617
31613
  className: "number",
31618
31614
  begin: kc + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
31619
31615
  relevance: 0
31620
- }, pR = {
31616
+ }, fR = {
31621
31617
  begin: /(?=\/[^/\n]*\/)/,
31622
31618
  contains: [{
31623
31619
  className: "regexp",
@@ -31634,18 +31630,18 @@ const nR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\
31634
31630
  }
31635
31631
  ]
31636
31632
  }]
31637
- }, gR = {
31633
+ }, pR = {
31638
31634
  className: "title",
31639
31635
  begin: d6,
31640
31636
  relevance: 0
31641
- }, mR = {
31637
+ }, gR = {
31642
31638
  className: "title",
31643
31639
  begin: Rc,
31644
31640
  relevance: 0
31645
- }, xR = {
31641
+ }, mR = {
31646
31642
  begin: "\\.\\s*" + Rc,
31647
31643
  relevance: 0
31648
- }, LR = function(t) {
31644
+ }, xR = function(t) {
31649
31645
  return Object.assign(
31650
31646
  t,
31651
31647
  {
@@ -31660,52 +31656,52 @@ const nR = /\b\B/, d6 = "[a-zA-Z]\\w*", Rc = "[a-zA-Z_]\\w*", kc = "\\b\\d+(\\.\
31660
31656
  };
31661
31657
  var yi = /* @__PURE__ */ Object.freeze({
31662
31658
  __proto__: null,
31663
- MATCH_NOTHING_RE: nR,
31659
+ MATCH_NOTHING_RE: tR,
31664
31660
  IDENT_RE: d6,
31665
31661
  UNDERSCORE_IDENT_RE: Rc,
31666
31662
  NUMBER_RE: kc,
31667
31663
  C_NUMBER_RE: f6,
31668
31664
  BINARY_NUMBER_RE: p6,
31669
- RE_STARTERS_RE: rR,
31670
- SHEBANG: sR,
31665
+ RE_STARTERS_RE: nR,
31666
+ SHEBANG: rR,
31671
31667
  BACKSLASH_ESCAPE: v0,
31672
- APOS_STRING_MODE: iR,
31673
- QUOTE_STRING_MODE: oR,
31668
+ APOS_STRING_MODE: sR,
31669
+ QUOTE_STRING_MODE: iR,
31674
31670
  PHRASAL_WORDS_MODE: g6,
31675
31671
  COMMENT: G1,
31676
- C_LINE_COMMENT_MODE: lR,
31677
- C_BLOCK_COMMENT_MODE: aR,
31678
- HASH_COMMENT_MODE: cR,
31679
- NUMBER_MODE: uR,
31680
- C_NUMBER_MODE: hR,
31681
- BINARY_NUMBER_MODE: dR,
31682
- CSS_NUMBER_MODE: fR,
31683
- REGEXP_MODE: pR,
31684
- TITLE_MODE: gR,
31685
- UNDERSCORE_TITLE_MODE: mR,
31686
- METHOD_GUARD: xR,
31687
- END_SAME_AS_BEGIN: LR
31672
+ C_LINE_COMMENT_MODE: oR,
31673
+ C_BLOCK_COMMENT_MODE: lR,
31674
+ HASH_COMMENT_MODE: aR,
31675
+ NUMBER_MODE: cR,
31676
+ C_NUMBER_MODE: uR,
31677
+ BINARY_NUMBER_MODE: hR,
31678
+ CSS_NUMBER_MODE: dR,
31679
+ REGEXP_MODE: fR,
31680
+ TITLE_MODE: pR,
31681
+ UNDERSCORE_TITLE_MODE: gR,
31682
+ METHOD_GUARD: mR,
31683
+ END_SAME_AS_BEGIN: xR
31688
31684
  });
31689
- function _R(t, e) {
31685
+ function LR(t, e) {
31690
31686
  t.input[t.index - 1] === "." && e.ignoreMatch();
31691
31687
  }
31688
+ function _R(t, e) {
31689
+ !e || !t.beginKeywords || (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = LR, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0));
31690
+ }
31692
31691
  function yR(t, e) {
31693
- !e || !t.beginKeywords || (t.begin = "\\b(" + t.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", t.__beforeBegin = _R, t.keywords = t.keywords || t.beginKeywords, delete t.beginKeywords, t.relevance === void 0 && (t.relevance = 0));
31692
+ !Array.isArray(t.illegal) || (t.illegal = YA(...t.illegal));
31694
31693
  }
31695
31694
  function CR(t, e) {
31696
- !Array.isArray(t.illegal) || (t.illegal = XA(...t.illegal));
31697
- }
31698
- function vR(t, e) {
31699
31695
  if (!!t.match) {
31700
31696
  if (t.begin || t.end)
31701
31697
  throw new Error("begin & end are not supported with match");
31702
31698
  t.begin = t.match, delete t.match;
31703
31699
  }
31704
31700
  }
31705
- function bR(t, e) {
31701
+ function vR(t, e) {
31706
31702
  t.relevance === void 0 && (t.relevance = 1);
31707
31703
  }
31708
- const wR = [
31704
+ const bR = [
31709
31705
  "of",
31710
31706
  "and",
31711
31707
  "for",
@@ -31717,8 +31713,8 @@ const wR = [
31717
31713
  "parent",
31718
31714
  "list",
31719
31715
  "value"
31720
- ], ER = "keyword";
31721
- function m6(t, e, n = ER) {
31716
+ ], wR = "keyword";
31717
+ function m6(t, e, n = wR) {
31722
31718
  const r = {};
31723
31719
  return typeof t == "string" ? s(n, t.split(" ")) : Array.isArray(t) ? s(n, t) : Object.keys(t).forEach(function(i) {
31724
31720
  Object.assign(
@@ -31729,17 +31725,17 @@ function m6(t, e, n = ER) {
31729
31725
  function s(i, o) {
31730
31726
  e && (o = o.map((l) => l.toLowerCase())), o.forEach(function(l) {
31731
31727
  const a = l.split("|");
31732
- r[a[0]] = [i, TR(a[0], a[1])];
31728
+ r[a[0]] = [i, ER(a[0], a[1])];
31733
31729
  });
31734
31730
  }
31735
31731
  }
31736
- function TR(t, e) {
31737
- return e ? Number(e) : SR(t) ? 0 : 1;
31732
+ function ER(t, e) {
31733
+ return e ? Number(e) : TR(t) ? 0 : 1;
31738
31734
  }
31739
- function SR(t) {
31740
- return wR.includes(t.toLowerCase());
31735
+ function TR(t) {
31736
+ return bR.includes(t.toLowerCase());
31741
31737
  }
31742
- function AR(t, { plugins: e }) {
31738
+ function SR(t, { plugins: e }) {
31743
31739
  function n(l, a) {
31744
31740
  return new RegExp(
31745
31741
  C0(l),
@@ -31751,12 +31747,12 @@ function AR(t, { plugins: e }) {
31751
31747
  this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0;
31752
31748
  }
31753
31749
  addRule(a, c) {
31754
- c.position = this.position++, this.matchIndexes[this.matchAt] = c, this.regexes.push([c, a]), this.matchAt += QA(a) + 1;
31750
+ c.position = this.position++, this.matchIndexes[this.matchAt] = c, this.regexes.push([c, a]), this.matchAt += XA(a) + 1;
31755
31751
  }
31756
31752
  compile() {
31757
31753
  this.regexes.length === 0 && (this.exec = () => null);
31758
31754
  const a = this.regexes.map((c) => c[1]);
31759
- this.matcherRe = n(tR(a), !0), this.lastIndex = 0;
31755
+ this.matcherRe = n(eR(a), !0), this.lastIndex = 0;
31760
31756
  }
31761
31757
  exec(a) {
31762
31758
  this.matcherRe.lastIndex = this.lastIndex;
@@ -31806,17 +31802,17 @@ function AR(t, { plugins: e }) {
31806
31802
  if (l.isCompiled)
31807
31803
  return c;
31808
31804
  [
31809
- vR
31805
+ CR
31810
31806
  ].forEach((h) => h(l, a)), t.compilerExtensions.forEach((h) => h(l, a)), l.__beforeBegin = null, [
31807
+ _R,
31811
31808
  yR,
31812
- CR,
31813
- bR
31809
+ vR
31814
31810
  ].forEach((h) => h(l, a)), l.isCompiled = !0;
31815
31811
  let u = null;
31816
31812
  if (typeof l.keywords == "object" && (u = l.keywords.$pattern, delete l.keywords.$pattern), l.keywords && (l.keywords = m6(l.keywords, t.case_insensitive)), l.lexemes && u)
31817
31813
  throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
31818
31814
  return u = u || l.lexemes || /\w+/, c.keywordPatternRe = n(u, !0), a && (l.begin || (l.begin = /\B|\b/), c.beginRe = n(l.begin), l.endSameAsBegin && (l.end = l.begin), !l.end && !l.endsWithParent && (l.end = /\B|\b/), l.end && (c.endRe = n(l.end)), c.terminatorEnd = C0(l.end) || "", l.endsWithParent && a.terminatorEnd && (c.terminatorEnd += (l.end ? "|" : "") + a.terminatorEnd)), l.illegal && (c.illegalRe = n(l.illegal)), l.contains || (l.contains = []), l.contains = [].concat(...l.contains.map(function(h) {
31819
- return RR(h === "self" ? l : h);
31815
+ return AR(h === "self" ? l : h);
31820
31816
  })), l.contains.forEach(function(h) {
31821
31817
  o(h, c);
31822
31818
  }), l.starts && o(l.starts, a), c.matcher = i(c), c;
@@ -31828,16 +31824,16 @@ function AR(t, { plugins: e }) {
31828
31824
  function x6(t) {
31829
31825
  return t ? t.endsWithParent || x6(t.starts) : !1;
31830
31826
  }
31831
- function RR(t) {
31827
+ function AR(t) {
31832
31828
  return t.variants && !t.cachedVariants && (t.cachedVariants = t.variants.map(function(e) {
31833
31829
  return ar(t, { variants: null }, e);
31834
31830
  })), t.cachedVariants ? t.cachedVariants : x6(t) ? ar(t, { starts: t.starts ? ar(t.starts) : null }) : Object.isFrozen(t) ? ar(t) : t;
31835
31831
  }
31836
- var kR = "10.7.3";
31837
- function OR(t) {
31832
+ var RR = "10.7.3";
31833
+ function kR(t) {
31838
31834
  return Boolean(t || t === "");
31839
31835
  }
31840
- function IR(t) {
31836
+ function OR(t) {
31841
31837
  const e = {
31842
31838
  props: ["language", "code", "autodetect"],
31843
31839
  data: function() {
@@ -31857,7 +31853,7 @@ function IR(t) {
31857
31853
  return this.autoDetect ? (r = t.highlightAuto(this.code), this.detectedLanguage = r.language) : (r = t.highlight(this.language, this.code, this.ignoreIllegals), this.detectedLanguage = this.language), r.value;
31858
31854
  },
31859
31855
  autoDetect() {
31860
- return !this.language || OR(this.autodetect);
31856
+ return !this.language || kR(this.autodetect);
31861
31857
  },
31862
31858
  ignoreIllegals() {
31863
31859
  return !0;
@@ -31878,13 +31874,13 @@ function IR(t) {
31878
31874
  }
31879
31875
  } };
31880
31876
  }
31881
- const MR = {
31877
+ const IR = {
31882
31878
  "after:highlightElement": ({ el: t, result: e, text: n }) => {
31883
31879
  const r = Au(t);
31884
31880
  if (!r.length)
31885
31881
  return;
31886
31882
  const s = document.createElement("div");
31887
- s.innerHTML = e.value, e.value = NR(r, Au(s), n);
31883
+ s.innerHTML = e.value, e.value = MR(r, Au(s), n);
31888
31884
  }
31889
31885
  };
31890
31886
  function Ll(t) {
@@ -31906,7 +31902,7 @@ function Au(t) {
31906
31902
  return s;
31907
31903
  }(t, 0), e;
31908
31904
  }
31909
- function NR(t, e, n) {
31905
+ function MR(t, e, n) {
31910
31906
  let r = 0, s = "";
31911
31907
  const i = [];
31912
31908
  function o() {
@@ -31943,7 +31939,7 @@ const Ru = {}, Lo = (t) => {
31943
31939
  console.log(`WARN: ${t}`, ...e);
31944
31940
  }, an = (t, e) => {
31945
31941
  Ru[`${t}/${e}`] || (console.log(`Deprecated as of ${t}. ${e}`), Ru[`${t}/${e}`] = !0);
31946
- }, _o = ms, Ou = ar, Iu = Symbol("nomatch"), PR = function(t) {
31942
+ }, _o = ms, Ou = ar, Iu = Symbol("nomatch"), NR = function(t) {
31947
31943
  const e = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null), r = [];
31948
31944
  let s = !0;
31949
31945
  const i = /(^(<[^>]+>|\t|)+|\n)/gm, o = "Could not find the language '{}', did you forget to load/include a language module?", l = { disableAutodetect: !0, name: "Plain text", contains: [] };
@@ -31954,7 +31950,7 @@ const Ru = {}, Lo = (t) => {
31954
31950
  tabReplace: null,
31955
31951
  useBR: !1,
31956
31952
  languages: null,
31957
- __emitter: qA
31953
+ __emitter: WA
31958
31954
  };
31959
31955
  function c(F) {
31960
31956
  return a.noHighlightRe.test(F);
@@ -32032,7 +32028,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), _n = F, tt = le);
32032
32028
  return te.className && ee.openNode(Z.classNameAliases[te.className] || te.className), $ = Object.create(te, { parent: { value: $ } }), $;
32033
32029
  }
32034
32030
  function x(te, ue, Ee) {
32035
- let Ie = JA(te.endRe, Ee);
32031
+ let Ie = QA(te.endRe, Ee);
32036
32032
  if (Ie) {
32037
32033
  if (te["on:end"]) {
32038
32034
  const xt = new Tu(te);
@@ -32055,7 +32051,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), _n = F, tt = le);
32055
32051
  for (const ft of xt)
32056
32052
  if (!!ft && (ft(te, Ie), Ie.isMatchIgnored))
32057
32053
  return C(ue);
32058
- return Ee && Ee.endSameAsBegin && (Ee.endRe = KA(ue)), Ee.skip ? ie += ue : (Ee.excludeBegin && (ie += ue), It(), !Ee.returnBegin && !Ee.excludeBegin && (ie = ue)), Mt(Ee), Ee.returnBegin ? 0 : ue.length;
32054
+ return Ee && Ee.endSameAsBegin && (Ee.endRe = qA(ue)), Ee.skip ? ie += ue : (Ee.excludeBegin && (ie += ue), It(), !Ee.returnBegin && !Ee.excludeBegin && (ie = ue)), Mt(Ee), Ee.returnBegin ? 0 : ue.length;
32059
32055
  }
32060
32056
  function M(te) {
32061
32057
  const ue = te[0], Ee = le.substr(te.index), Ie = x($, te, Ee);
@@ -32105,7 +32101,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`), _n = F, tt = le);
32105
32101
  const Z = Pe(F);
32106
32102
  if (!Z)
32107
32103
  throw Lo(o.replace("{}", F)), new Error('Unknown language: "' + F + '"');
32108
- const W = AR(Z, { plugins: r });
32104
+ const W = SR(Z, { plugins: r });
32109
32105
  let D = "", $ = ke || W;
32110
32106
  const ae = {}, ee = new a.__emitter(a);
32111
32107
  I();
@@ -32335,18 +32331,18 @@ https://github.com/highlightjs/highlight.js/issues/2277`), _n = F, tt = le);
32335
32331
  autoDetection: J,
32336
32332
  inherit: Ou,
32337
32333
  addPlugin: Xe,
32338
- vuePlugin: IR(t).VuePlugin
32334
+ vuePlugin: OR(t).VuePlugin
32339
32335
  }), t.debugMode = function() {
32340
32336
  s = !1;
32341
32337
  }, t.safeMode = function() {
32342
32338
  s = !0;
32343
- }, t.versionString = kR;
32339
+ }, t.versionString = RR;
32344
32340
  for (const F in yi)
32345
32341
  typeof yi[F] == "object" && h6(yi[F]);
32346
- return Object.assign(t, yi), t.addPlugin(L), t.addPlugin(MR), t.addPlugin(_), t;
32342
+ return Object.assign(t, yi), t.addPlugin(L), t.addPlugin(IR), t.addPlugin(_), t;
32347
32343
  };
32348
- var FR = PR({}), Dr = FR;
32349
- function DR(t) {
32344
+ var PR = NR({}), Dr = PR;
32345
+ function FR(t) {
32350
32346
  return {
32351
32347
  name: "Plain text",
32352
32348
  aliases: [
@@ -32356,8 +32352,8 @@ function DR(t) {
32356
32352
  disableAutodetect: !0
32357
32353
  };
32358
32354
  }
32359
- var BR = DR;
32360
- const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32355
+ var DR = FR;
32356
+ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", BR = [
32361
32357
  "as",
32362
32358
  "in",
32363
32359
  "of",
@@ -32396,14 +32392,14 @@ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32396
32392
  "from",
32397
32393
  "export",
32398
32394
  "extends"
32399
- ], HR = [
32395
+ ], $R = [
32400
32396
  "true",
32401
32397
  "false",
32402
32398
  "null",
32403
32399
  "undefined",
32404
32400
  "NaN",
32405
32401
  "Infinity"
32406
- ], UR = [
32402
+ ], HR = [
32407
32403
  "Intl",
32408
32404
  "DataView",
32409
32405
  "Number",
@@ -32438,7 +32434,7 @@ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32438
32434
  "BigInt64Array",
32439
32435
  "BigUint64Array",
32440
32436
  "BigInt"
32441
- ], VR = [
32437
+ ], UR = [
32442
32438
  "EvalError",
32443
32439
  "InternalError",
32444
32440
  "RangeError",
@@ -32446,7 +32442,7 @@ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32446
32442
  "SyntaxError",
32447
32443
  "TypeError",
32448
32444
  "URIError"
32449
- ], zR = [
32445
+ ], VR = [
32450
32446
  "setInterval",
32451
32447
  "setTimeout",
32452
32448
  "clearInterval",
@@ -32464,7 +32460,7 @@ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32464
32460
  "encodeURIComponent",
32465
32461
  "escape",
32466
32462
  "unescape"
32467
- ], GR = [
32463
+ ], zR = [
32468
32464
  "arguments",
32469
32465
  "this",
32470
32466
  "super",
@@ -32474,22 +32470,22 @@ const Mu = "[A-Za-z$_][0-9A-Za-z$_]*", $R = [
32474
32470
  "localStorage",
32475
32471
  "module",
32476
32472
  "global"
32477
- ], jR = [].concat(
32473
+ ], GR = [].concat(
32474
+ VR,
32478
32475
  zR,
32479
- GR,
32480
- UR,
32481
- VR
32476
+ HR,
32477
+ UR
32482
32478
  );
32483
- function ZR(t) {
32479
+ function jR(t) {
32484
32480
  return t ? typeof t == "string" ? t : t.source : null;
32485
32481
  }
32486
32482
  function Nu(t) {
32487
32483
  return _l("(?=", t, ")");
32488
32484
  }
32489
32485
  function _l(...t) {
32490
- return t.map((n) => ZR(n)).join("");
32486
+ return t.map((n) => jR(n)).join("");
32491
32487
  }
32492
- function WR(t) {
32488
+ function ZR(t) {
32493
32489
  const e = (v, { after: O }) => {
32494
32490
  const B = "</" + v[0].slice(1);
32495
32491
  return v.input.indexOf(B, O) !== -1;
@@ -32509,9 +32505,9 @@ function WR(t) {
32509
32505
  }
32510
32506
  }, i = {
32511
32507
  $pattern: Mu,
32512
- keyword: $R,
32513
- literal: HR,
32514
- built_in: jR
32508
+ keyword: BR,
32509
+ literal: $R,
32510
+ built_in: GR
32515
32511
  }, o = "[0-9](_?[0-9])*", l = `\\.(${o})`, a = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*", c = {
32516
32512
  className: "number",
32517
32513
  variants: [
@@ -32811,14 +32807,14 @@ function WR(t) {
32811
32807
  ]
32812
32808
  };
32813
32809
  }
32814
- var qR = WR;
32815
- function KR(t) {
32810
+ var WR = ZR;
32811
+ function qR(t) {
32816
32812
  return t ? typeof t == "string" ? t : t.source : null;
32817
32813
  }
32818
- function YR(...t) {
32819
- return t.map((n) => KR(n)).join("");
32814
+ function KR(...t) {
32815
+ return t.map((n) => qR(n)).join("");
32820
32816
  }
32821
- function XR(t) {
32817
+ function YR(t) {
32822
32818
  const e = {}, n = {
32823
32819
  begin: /\$\{/,
32824
32820
  end: /\}/,
@@ -32833,7 +32829,7 @@ function XR(t) {
32833
32829
  Object.assign(e, {
32834
32830
  className: "variable",
32835
32831
  variants: [
32836
- { begin: YR(
32832
+ { begin: KR(
32837
32833
  /\$[\w\d#@][\w\d_]*/,
32838
32834
  "(?![\\w\\d])(?![$])"
32839
32835
  ) },
@@ -32925,8 +32921,8 @@ function XR(t) {
32925
32921
  ]
32926
32922
  };
32927
32923
  }
32928
- var QR = XR;
32929
- function JR(t) {
32924
+ var XR = YR;
32925
+ function QR(t) {
32930
32926
  var e = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = {
32931
32927
  className: "attr",
32932
32928
  variants: [
@@ -33049,12 +33045,12 @@ function JR(t) {
33049
33045
  contains: y
33050
33046
  };
33051
33047
  }
33052
- var ek = JR;
33053
- Dr.registerLanguage("plaintext", BR);
33054
- Dr.registerLanguage("javascript", qR);
33055
- Dr.registerLanguage("bash", QR);
33056
- Dr.registerLanguage("yaml", ek);
33057
- const tk = {
33048
+ var JR = QR;
33049
+ Dr.registerLanguage("plaintext", DR);
33050
+ Dr.registerLanguage("javascript", WR);
33051
+ Dr.registerLanguage("bash", XR);
33052
+ Dr.registerLanguage("yaml", JR);
33053
+ const ek = {
33058
33054
  codespan(t) {
33059
33055
  let n = /(GET|HEAD|POST|PUT|DELETE|CONNECT|OPTIONS|TRACE|PATCH)\s+(.+)/gi.exec(t);
33060
33056
  return (n == null ? void 0 : n.length) === 3 ? `
@@ -33065,7 +33061,7 @@ const tk = {
33065
33061
  ` : `<code>${t}</code>`;
33066
33062
  }
33067
33063
  };
33068
- xe.setOptions({
33064
+ me.setOptions({
33069
33065
  highlight: function(t, e) {
33070
33066
  if (!e)
33071
33067
  return Dr.highlightAuto(t).value;
@@ -33074,14 +33070,14 @@ xe.setOptions({
33074
33070
  },
33075
33071
  breaks: !0
33076
33072
  });
33077
- xe.use({ renderer: tk });
33078
- const nk = {
33073
+ me.use({ renderer: ek });
33074
+ const tk = {
33079
33075
  name: "comment",
33080
33076
  props: ["comment", "commentObj"],
33081
33077
  computed: {
33082
33078
  markedComment() {
33083
33079
  var t, e;
33084
- return ((t = this.commentObj) == null ? void 0 : t.text) && xe.parse((e = this.commentObj) == null ? void 0 : e.text) || this.comment && xe.parse(this.comment);
33080
+ return ((t = this.commentObj) == null ? void 0 : t.text) && me.parse((e = this.commentObj) == null ? void 0 : e.text) || this.comment && me.parse(this.comment);
33085
33081
  },
33086
33082
  commentStyle() {
33087
33083
  var t;
@@ -33092,27 +33088,27 @@ const nk = {
33092
33088
  return (t = this.commentObj) == null ? void 0 : t.commentClassNames;
33093
33089
  }
33094
33090
  }
33095
- }, rk = { class: "comments text-skin-comment min-w-[100px] flex text-left text-sm opacity-50 hover:opacity-100" }, sk = ["innerHTML"];
33096
- function ik(t, e, n, r, s, i) {
33097
- return R(), q("div", rk, [
33091
+ }, nk = { class: "comments text-skin-comment min-w-[100px] flex text-left text-sm opacity-50 hover:opacity-100" }, rk = ["innerHTML"];
33092
+ function sk(t, e, n, r, s, i) {
33093
+ return R(), q("div", nk, [
33098
33094
  S("div", {
33099
33095
  innerHTML: i.markedComment,
33100
33096
  class: ye(i.classNames),
33101
33097
  style: ve(i.commentStyle)
33102
- }, null, 14, sk)
33098
+ }, null, 14, rk)
33103
33099
  ]);
33104
33100
  }
33105
- const K0 = /* @__PURE__ */ je(nk, [["render", ik], ["__scopeId", "data-v-49a61c68"]]);
33106
- const ok = {
33101
+ const K0 = /* @__PURE__ */ Ge(tk, [["render", sk], ["__scopeId", "data-v-49a61c68"]]);
33102
+ const ik = {
33107
33103
  props: ["collapsed"],
33108
33104
  emits: ["click"]
33109
- }, lk = { class: "collapsible-header" }, ak = /* @__PURE__ */ f1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="2" x2="13" y2="10" data-v-175097b8></line><polyline points="9 7 13 11 17 7" data-v-175097b8></polyline><line x1="13" y1="23" x2="13" y2="15" data-v-175097b8></line><polyline points="9 19 13 15 17 19" data-v-175097b8></polyline></g>', 3), ck = [
33110
- ak
33111
- ], uk = /* @__PURE__ */ f1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="1" x2="13" y2="9" data-v-175097b8></line><polyline points="9 5 13 1 17 5" data-v-175097b8></polyline><line x1="13" y1="13" x2="13" y2="13" data-v-175097b8></line><line x1="13" y1="24" x2="13" y2="17" data-v-175097b8></line><polyline points="9 20 13 24 17 20" data-v-175097b8></polyline></g>', 3), hk = [
33112
- uk
33105
+ }, ok = { class: "collapsible-header" }, lk = /* @__PURE__ */ f1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="2" x2="13" y2="10" data-v-175097b8></line><polyline points="9 7 13 11 17 7" data-v-175097b8></polyline><line x1="13" y1="23" x2="13" y2="15" data-v-175097b8></line><polyline points="9 19 13 15 17 19" data-v-175097b8></polyline></g>', 3), ak = [
33106
+ lk
33107
+ ], ck = /* @__PURE__ */ f1('<g id="SVGRepo_bgCarrier" stroke-width="0" data-v-175097b8></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" data-v-175097b8></g><g id="SVGRepo_iconCarrier" data-v-175097b8><line x1="13" y1="1" x2="13" y2="9" data-v-175097b8></line><polyline points="9 5 13 1 17 5" data-v-175097b8></polyline><line x1="13" y1="13" x2="13" y2="13" data-v-175097b8></line><line x1="13" y1="24" x2="13" y2="17" data-v-175097b8></line><polyline points="9 20 13 24 17 20" data-v-175097b8></polyline></g>', 3), uk = [
33108
+ ck
33113
33109
  ];
33114
- function dk(t, e, n, r, s, i) {
33115
- return R(), q("div", lk, [
33110
+ function hk(t, e, n, r, s, i) {
33111
+ return R(), q("div", ok, [
33116
33112
  (R(), q("svg", {
33117
33113
  width: "20px",
33118
33114
  height: "20px",
@@ -33125,7 +33121,7 @@ function dk(t, e, n, r, s, i) {
33125
33121
  "stroke-width": "1",
33126
33122
  "stroke-linecap": "round",
33127
33123
  "stroke-linejoin": "miter"
33128
- }, ck, 2)),
33124
+ }, ak, 2)),
33129
33125
  (R(), q("svg", {
33130
33126
  width: "20px",
33131
33127
  height: "20px",
@@ -33138,11 +33134,11 @@ function dk(t, e, n, r, s, i) {
33138
33134
  "stroke-width": "1",
33139
33135
  "stroke-linecap": "round",
33140
33136
  "stroke-linejoin": "miter"
33141
- }, hk, 2))
33137
+ }, uk, 2))
33142
33138
  ]);
33143
33139
  }
33144
- const fk = /* @__PURE__ */ je(ok, [["render", dk], ["__scopeId", "data-v-175097b8"]]);
33145
- const pk = {
33140
+ const dk = /* @__PURE__ */ Ge(ik, [["render", hk], ["__scopeId", "data-v-175097b8"]]);
33141
+ const fk = {
33146
33142
  name: "occurrence",
33147
33143
  props: ["context", "selfCallIndent", "participant", "rtl", "number"],
33148
33144
  data: function() {
@@ -33175,14 +33171,14 @@ const pk = {
33175
33171
  this.collapsed = !this.collapsed, cc.$emit("participant_set_top");
33176
33172
  }
33177
33173
  },
33178
- components: { CollapseButton: fk },
33174
+ components: { CollapseButton: dk },
33179
33175
  watch: {
33180
33176
  context() {
33181
33177
  this.collapsed && (this.collapsed = !1);
33182
33178
  }
33183
33179
  }
33184
- }, gk = ["data-belongs-to", "data-x-offset", "data-debug-center-of"];
33185
- function mk(t, e, n, r, s, i) {
33180
+ }, pk = ["data-belongs-to", "data-x-offset", "data-debug-center-of"];
33181
+ function gk(t, e, n, r, s, i) {
33186
33182
  const o = pe("collapse-button"), l = pe("block");
33187
33183
  return R(), q("div", {
33188
33184
  class: ye(["occurrence shadow-occurrence border-skin-occurrence bg-skin-occurrence rounded-sm border-2 relative left-full", { "right-to-left": n.rtl }]),
@@ -33195,7 +33191,7 @@ function mk(t, e, n, r, s, i) {
33195
33191
  key: 0,
33196
33192
  collapsed: t.collapsed,
33197
33193
  onClick: this.toggle
33198
- }, null, 8, ["collapsed", "onClick"])) : me("", !0),
33194
+ }, null, 8, ["collapsed", "onClick"])) : Le("", !0),
33199
33195
  this.context.braceBlock() ? (R(), Se(l, {
33200
33196
  key: 1,
33201
33197
  context: n.context.braceBlock().block(),
@@ -33203,10 +33199,10 @@ function mk(t, e, n, r, s, i) {
33203
33199
  number: n.number,
33204
33200
  collapsed: t.collapsed,
33205
33201
  inheritFromOccurrence: !0
33206
- }, null, 8, ["context", "selfCallIndent", "number", "collapsed"])) : me("", !0)
33207
- ], 10, gk);
33202
+ }, null, 8, ["context", "selfCallIndent", "number", "collapsed"])) : Le("", !0)
33203
+ ], 10, pk);
33208
33204
  }
33209
- const L6 = /* @__PURE__ */ je(pk, [["render", mk], ["__scopeId", "data-v-3ef58b46"]]);
33205
+ const L6 = /* @__PURE__ */ Ge(fk, [["render", gk], ["__scopeId", "data-v-3ef58b46"]]);
33210
33206
  class Bs {
33211
33207
  constructor(e, n, r, s) {
33212
33208
  K(this, "start");
@@ -33223,7 +33219,7 @@ class Bs {
33223
33219
  );
33224
33220
  }
33225
33221
  }
33226
- const Pu = b0.child({ name: "Creation" }), xk = {
33222
+ const Pu = b0.child({ name: "Creation" }), mk = {
33227
33223
  name: "creation",
33228
33224
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
33229
33225
  computed: {
@@ -33299,11 +33295,11 @@ const Pu = b0.child({ name: "Creation" }), xk = {
33299
33295
  Occurrence: L6,
33300
33296
  Message: j0
33301
33297
  }
33302
- }, Lk = ["data-signature"], _k = ["data-to"], yk = {
33298
+ }, xk = ["data-signature"], Lk = ["data-to"], _k = {
33303
33299
  ref: "participantPlaceHolder",
33304
33300
  class: "invisible right-0 flex flex-col justify-center flex-shrink-0"
33305
33301
  };
33306
- function Ck(t, e, n, r, s, i) {
33302
+ function yk(t, e, n, r, s, i) {
33307
33303
  var u;
33308
33304
  const o = pe("comment"), l = pe("message"), a = pe("participant"), c = pe("occurrence");
33309
33305
  return R(), q("div", {
@@ -33320,7 +33316,7 @@ function Ck(t, e, n, r, s, i) {
33320
33316
  n.comment ? (R(), Se(o, {
33321
33317
  key: 0,
33322
33318
  commentObj: n.commentObj
33323
- }, null, 8, ["commentObj"])) : me("", !0),
33319
+ }, null, 8, ["commentObj"])) : Le("", !0),
33324
33320
  S("div", {
33325
33321
  ref: "messageContainer",
33326
33322
  "data-type": "creation",
@@ -33338,12 +33334,12 @@ function Ck(t, e, n, r, s, i) {
33338
33334
  classNames: i.messageClassNames,
33339
33335
  textStyle: i.messageTextStyle
33340
33336
  }, null, 8, ["context", "content", "rtl", "number", "classNames", "textStyle"]),
33341
- S("div", yk, [
33337
+ S("div", _k, [
33342
33338
  G(a, {
33343
33339
  entity: { name: i.to }
33344
33340
  }, null, 8, ["entity"])
33345
33341
  ], 512)
33346
- ], 10, _k),
33342
+ ], 10, Lk),
33347
33343
  G(c, {
33348
33344
  context: i.creation,
33349
33345
  class: "pointer-events-auto",
@@ -33360,13 +33356,13 @@ function Ck(t, e, n, r, s, i) {
33360
33356
  number: `${n.number}.${(((u = i.creation.braceBlock()) == null ? void 0 : u.block().stat().length) || 0) + 1}`,
33361
33357
  classNames: i.messageClassNames,
33362
33358
  textStyle: i.messageTextStyle
33363
- }, null, 8, ["context", "content", "rtl", "number", "classNames", "textStyle"])) : me("", !0)
33364
- ], 14, Lk);
33359
+ }, null, 8, ["context", "content", "rtl", "number", "classNames", "textStyle"])) : Le("", !0)
33360
+ ], 14, xk);
33365
33361
  }
33366
- const vk = /* @__PURE__ */ je(xk, [["render", Ck]]), bk = { class: "name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover relative min-h-[1em] w-full" }, wk = {
33362
+ const Ck = /* @__PURE__ */ Ge(mk, [["render", yk]]), vk = { class: "name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover relative min-h-[1em] w-full" }, bk = {
33367
33363
  key: 0,
33368
33364
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"
33369
- }, Ek = /* @__PURE__ */ S("svg", {
33365
+ }, wk = /* @__PURE__ */ S("svg", {
33370
33366
  class: "arrow text-skin-message-arrow",
33371
33367
  width: "30",
33372
33368
  height: "24"
@@ -33379,7 +33375,7 @@ const vk = /* @__PURE__ */ je(xk, [["render", Ck]]), bk = { class: "name group p
33379
33375
  class: "head stroke-current fill-current stroke-2",
33380
33376
  points: "18,9 8,15 18,21"
33381
33377
  })
33382
- ], -1), Tk = /* @__PURE__ */ Ve({
33378
+ ], -1), Ek = /* @__PURE__ */ Ve({
33383
33379
  __name: "SelfInvocation",
33384
33380
  props: {
33385
33381
  context: null,
@@ -33388,7 +33384,7 @@ const vk = /* @__PURE__ */ je(xk, [["render", Ck]]), bk = { class: "name group p
33388
33384
  classNames: null
33389
33385
  },
33390
33386
  setup(t) {
33391
- const e = t, { context: n } = Gr(e), r = rn(), s = P(() => r.state.numbering), i = Le(), o = P(() => {
33387
+ const e = t, { context: n } = Gr(e), r = rn(), s = P(() => r.state.numbering), i = xe(), o = P(() => {
33392
33388
  const c = n == null ? void 0 : n.value.messageBody();
33393
33389
  return [c.start.start, c.stop.stop];
33394
33390
  }), l = P(() => n == null ? void 0 : n.value.messageBody().getFormattedText()), a = () => {
@@ -33401,8 +33397,8 @@ const vk = /* @__PURE__ */ je(xk, [["render", Ck]]), bk = { class: "name group p
33401
33397
  ref_key: "messageRef",
33402
33398
  ref: i
33403
33399
  }, [
33404
- S("label", bk, [
33405
- N(s) ? (R(), q("div", wk, Ge(t.number), 1)) : me("", !0),
33400
+ S("label", vk, [
33401
+ N(s) ? (R(), q("div", bk, Ze(t.number), 1)) : Le("", !0),
33406
33402
  S("div", {
33407
33403
  style: ve(t.textStyle),
33408
33404
  class: ye(t.classNames)
@@ -33414,11 +33410,11 @@ const vk = /* @__PURE__ */ je(xk, [["render", Ck]]), bk = { class: "name group p
33414
33410
  }, null, 8, ["labelText", "labelPosition"])
33415
33411
  ], 6)
33416
33412
  ]),
33417
- Ek
33413
+ wk
33418
33414
  ], 512));
33419
33415
  }
33420
33416
  });
33421
- const Sk = {
33417
+ const Tk = {
33422
33418
  name: "interaction",
33423
33419
  props: [
33424
33420
  "context",
@@ -33515,12 +33511,12 @@ const Sk = {
33515
33511
  },
33516
33512
  components: {
33517
33513
  Message: j0,
33518
- SelfInvocation: Tk,
33514
+ SelfInvocation: Ek,
33519
33515
  Comment: K0,
33520
33516
  Occurrence: L6
33521
33517
  }
33522
- }, Ak = ["data-to", "data-signature"];
33523
- function Rk(t, e, n, r, s, i) {
33518
+ }, Sk = ["data-to", "data-signature"];
33519
+ function Ak(t, e, n, r, s, i) {
33524
33520
  var u;
33525
33521
  const o = pe("comment"), l = pe("self-invocation"), a = pe("message"), c = pe("occurrence");
33526
33522
  return R(), q("div", {
@@ -33543,11 +33539,11 @@ function Rk(t, e, n, r, s, i) {
33543
33539
  i.showStarter && i.isRootBlock || i.outOfBand ? (R(), q("div", {
33544
33540
  key: 0,
33545
33541
  class: ye(["occurrence source border-2", { "right-to-left": i.rightToLeft }])
33546
- }, null, 2)) : me("", !0),
33542
+ }, null, 2)) : Le("", !0),
33547
33543
  i.hasComment ? (R(), Se(o, {
33548
33544
  key: 1,
33549
33545
  commentObj: n.commentObj
33550
- }, null, 8, ["commentObj"])) : me("", !0),
33546
+ }, null, 8, ["commentObj"])) : Le("", !0),
33551
33547
  i.isSelf ? (R(), Se(l, {
33552
33548
  key: 2,
33553
33549
  classNames: i.messageClassNames,
@@ -33582,16 +33578,16 @@ function Rk(t, e, n, r, s, i) {
33582
33578
  number: `${n.number}.${(((u = i.message.braceBlock()) == null ? void 0 : u.block().stat().length) || 0) + 1}`,
33583
33579
  classNames: i.messageClassNames,
33584
33580
  textStyle: i.messageTextStyle
33585
- }, null, 8, ["context", "content", "rtl", "number", "classNames", "textStyle"])) : me("", !0)
33586
- ], 14, Ak);
33581
+ }, null, 8, ["context", "content", "rtl", "number", "classNames", "textStyle"])) : Le("", !0)
33582
+ ], 14, Sk);
33587
33583
  }
33588
- const kk = /* @__PURE__ */ je(Sk, [["render", Rk], ["__scopeId", "data-v-3bc6eae5"]]), Ok = (t) => (A0("data-v-ecfb84d4"), t = t(), R0(), t), Ik = {
33584
+ const Rk = /* @__PURE__ */ Ge(Tk, [["render", Ak], ["__scopeId", "data-v-3bc6eae5"]]), kk = (t) => (A0("data-v-ecfb84d4"), t = t(), R0(), t), Ok = {
33589
33585
  class: "message self flex items-start flex-col",
33590
33586
  style: { "border-width": "0" }
33591
- }, Mk = { class: "name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover min-h-[1em]" }, Nk = {
33587
+ }, Ik = { class: "name group px-px hover:text-skin-message-hover hover:bg-skin-message-hover min-h-[1em]" }, Mk = {
33592
33588
  key: 0,
33593
33589
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500"
33594
- }, Pk = /* @__PURE__ */ Ok(() => /* @__PURE__ */ S("svg", {
33590
+ }, Nk = /* @__PURE__ */ kk(() => /* @__PURE__ */ S("svg", {
33595
33591
  class: "arrow text-skin-message-arrow",
33596
33592
  width: "34",
33597
33593
  height: "34"
@@ -33604,7 +33600,7 @@ const kk = /* @__PURE__ */ je(Sk, [["render", Rk], ["__scopeId", "data-v-3bc6eae
33604
33600
  class: "head stroke-current stroke-2 fill-none",
33605
33601
  points: "11,19 1,25 11,31"
33606
33602
  })
33607
- ], -1)), Fk = /* @__PURE__ */ Ve({
33603
+ ], -1)), Pk = /* @__PURE__ */ Ve({
33608
33604
  __name: "SelfInvocation-async",
33609
33605
  props: {
33610
33606
  context: null,
@@ -33619,9 +33615,9 @@ const kk = /* @__PURE__ */ je(Sk, [["render", Rk], ["__scopeId", "data-v-3bc6eae
33619
33615
  const l = n == null ? void 0 : n.value.content();
33620
33616
  return [l.start.start, l.stop.stop];
33621
33617
  }), o = P(() => n == null ? void 0 : n.value.content().getFormattedText());
33622
- return (l, a) => (R(), q("div", Ik, [
33623
- S("label", Mk, [
33624
- N(s) ? (R(), q("div", Nk, Ge(t.number), 1)) : me("", !0),
33618
+ return (l, a) => (R(), q("div", Ok, [
33619
+ S("label", Ik, [
33620
+ N(s) ? (R(), q("div", Mk, Ze(t.number), 1)) : Le("", !0),
33625
33621
  G(gc, {
33626
33622
  labelText: N(o),
33627
33623
  labelPosition: N(i),
@@ -33629,15 +33625,15 @@ const kk = /* @__PURE__ */ je(Sk, [["render", Rk], ["__scopeId", "data-v-3bc6eae
33629
33625
  isSelf: !0
33630
33626
  }, null, 8, ["labelText", "labelPosition"])
33631
33627
  ]),
33632
- Pk
33628
+ Nk
33633
33629
  ]));
33634
33630
  }
33635
33631
  });
33636
- const Dk = /* @__PURE__ */ je(Fk, [["__scopeId", "data-v-ecfb84d4"]]);
33632
+ const Fk = /* @__PURE__ */ Ge(Pk, [["__scopeId", "data-v-ecfb84d4"]]);
33637
33633
  function yo(t) {
33638
33634
  return t == null;
33639
33635
  }
33640
- const Bk = {
33636
+ const Dk = {
33641
33637
  name: "interaction-async",
33642
33638
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
33643
33639
  computed: {
@@ -33720,11 +33716,11 @@ const Bk = {
33720
33716
  },
33721
33717
  components: {
33722
33718
  Comment: K0,
33723
- SelfInvocationAsync: Dk,
33719
+ SelfInvocationAsync: Fk,
33724
33720
  Message: j0
33725
33721
  }
33726
- }, $k = ["data-signature"];
33727
- function Hk(t, e, n, r, s, i) {
33722
+ }, Bk = ["data-signature"];
33723
+ function $k(t, e, n, r, s, i) {
33728
33724
  const o = pe("comment"), l = pe("self-invocation-async"), a = pe("message");
33729
33725
  return R(), q("div", {
33730
33726
  class: ye(["interaction async", {
@@ -33745,7 +33741,7 @@ function Hk(t, e, n, r, s, i) {
33745
33741
  n.comment ? (R(), Se(o, {
33746
33742
  key: 0,
33747
33743
  commentObj: n.commentObj
33748
- }, null, 8, ["commentObj"])) : me("", !0),
33744
+ }, null, 8, ["commentObj"])) : Le("", !0),
33749
33745
  i.isSelf ? (R(), Se(l, {
33750
33746
  key: 1,
33751
33747
  classNames: i.messageClassNames,
@@ -33762,18 +33758,18 @@ function Hk(t, e, n, r, s, i) {
33762
33758
  type: "async",
33763
33759
  number: n.number
33764
33760
  }, null, 8, ["classNames", "textStyle", "context", "content", "rtl", "number"]))
33765
- ], 14, $k);
33761
+ ], 14, Bk);
33766
33762
  }
33767
- const Uk = /* @__PURE__ */ je(Bk, [["render", Hk], ["__scopeId", "data-v-d9e0a8fb"]]);
33768
- const Vk = {
33763
+ const Hk = /* @__PURE__ */ Ge(Dk, [["render", $k], ["__scopeId", "data-v-d9e0a8fb"]]);
33764
+ const Uk = {
33769
33765
  components: { Icon: dr },
33770
33766
  props: ["label", "collapsed"],
33771
33767
  emits: ["click"]
33772
- }, zk = { class: "collapsible-header" }, Gk = { class: "mb-0" };
33773
- function jk(t, e, n, r, s, i) {
33768
+ }, Vk = { class: "collapsible-header" }, zk = { class: "mb-0" };
33769
+ function Gk(t, e, n, r, s, i) {
33774
33770
  const o = pe("Icon");
33775
- return R(), q("div", zk, [
33776
- S("label", Gk, Ge(n.label), 1),
33771
+ return R(), q("div", Vk, [
33772
+ S("label", zk, Ze(n.label), 1),
33777
33773
  n.collapsed ? (R(), Se(o, {
33778
33774
  key: 1,
33779
33775
  name: "collapse-unexpanded",
@@ -33787,7 +33783,7 @@ function jk(t, e, n, r, s, i) {
33787
33783
  }, null, 8, ["icon-class"]))
33788
33784
  ]);
33789
33785
  }
33790
- const Zk = /* @__PURE__ */ je(Vk, [["render", jk], ["__scopeId", "data-v-048a5186"]]), Y0 = {
33786
+ const jk = /* @__PURE__ */ Ge(Uk, [["render", Gk], ["__scopeId", "data-v-048a5186"]]), Y0 = {
33791
33787
  computed: {
33792
33788
  ...mn(["coordinates"]),
33793
33789
  offsetX: function() {
@@ -33817,13 +33813,13 @@ const Zk = /* @__PURE__ */ je(Vk, [["render", jk], ["__scopeId", "data-v-048a518
33817
33813
  this.collapsed = !this.collapsed, cc.$emit("participant_set_top");
33818
33814
  }
33819
33815
  },
33820
- components: { CollapseButton: Zk },
33816
+ components: { CollapseButton: jk },
33821
33817
  watch: {
33822
33818
  context() {
33823
33819
  this.collapsed && (this.collapsed = !1);
33824
33820
  }
33825
33821
  }
33826
- }, Wk = (t) => {
33822
+ }, Zk = (t) => {
33827
33823
  const e = {
33828
33824
  loop: "FragmentLoop",
33829
33825
  alt: "FragmentAlt",
@@ -33837,13 +33833,13 @@ const Zk = /* @__PURE__ */ je(Vk, [["render", jk], ["__scopeId", "data-v-048a518
33837
33833
  ret: "Return"
33838
33834
  }, n = Object.keys(e).find((r) => t[r]() !== null) || "";
33839
33835
  return e[n];
33840
- }, i0 = (t) => t && t.stat() ? t.stat().filter((e) => Wk(e) !== "Divider").length : 0, _6 = (t, e) => {
33836
+ }, i0 = (t) => t && t.stat() ? t.stat().filter((e) => Zk(e) !== "Divider").length : 0, _6 = (t, e) => {
33841
33837
  if (t) {
33842
33838
  const n = t.split(".");
33843
33839
  return n[n.length - 1] = Number(n[n.length - 1]) + e, n.join(".");
33844
33840
  } else
33845
33841
  return String(e);
33846
- }, qk = ["contenteditable"], y6 = /* @__PURE__ */ Ve({
33842
+ }, Wk = ["contenteditable"], y6 = /* @__PURE__ */ Ve({
33847
33843
  __name: "ConditionLabel",
33848
33844
  props: {
33849
33845
  condition: null
@@ -33892,10 +33888,10 @@ const Zk = /* @__PURE__ */ je(Vk, [["render", jk], ["__scopeId", "data-v-048a518
33892
33888
  onBlur: L[1] || (L[1] = (...g) => N(p) && N(p)(...g)),
33893
33889
  onKeyup: L[2] || (L[2] = (...g) => N(y) && N(y)(...g)),
33894
33890
  onKeydown: L[3] || (L[3] = (...g) => N(m) && N(m)(...g))
33895
- }, Ge(N(h) ? N(a) : `[${N(a)}]`), 43, qk));
33891
+ }, Ze(N(h) ? N(a) : `[${N(a)}]`), 43, Wk));
33896
33892
  }
33897
33893
  });
33898
- const Kk = {
33894
+ const qk = {
33899
33895
  name: "fragment-alt",
33900
33896
  props: ["context", "comment", "selfCallIndent", "commentObj", "number"],
33901
33897
  mixins: [Y0],
@@ -33951,31 +33947,31 @@ const Kk = {
33951
33947
  blockLength: i0
33952
33948
  };
33953
33949
  }
33954
- }, C6 = (t) => (A0("data-v-b9c5cb88"), t = t(), R0(), t), Yk = { class: "segment" }, Xk = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, Qk = {
33950
+ }, C6 = (t) => (A0("data-v-b9c5cb88"), t = t(), R0(), t), Kk = { class: "segment" }, Yk = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, Xk = {
33955
33951
  key: 0,
33956
33952
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
33957
- }, Jk = { class: "name font-semibold p-1 border-b text-sm" }, eO = { class: "p-0" }, tO = { class: "segment" }, nO = { class: "text-skin-fragment flex" }, rO = /* @__PURE__ */ C6(() => /* @__PURE__ */ S("label", { class: "else-if hidden" }, "else if", -1)), sO = {
33953
+ }, Qk = { class: "name font-semibold p-1 border-b text-sm" }, Jk = { class: "p-0" }, eO = { class: "segment" }, tO = { class: "text-skin-fragment flex" }, nO = /* @__PURE__ */ C6(() => /* @__PURE__ */ S("label", { class: "else-if hidden" }, "else if", -1)), rO = {
33958
33954
  key: 0,
33959
33955
  class: "segment mt-2 border-t border-solid"
33960
- }, iO = /* @__PURE__ */ C6(() => /* @__PURE__ */ S("div", { class: "text-skin-fragment" }, [
33956
+ }, sO = /* @__PURE__ */ C6(() => /* @__PURE__ */ S("div", { class: "text-skin-fragment" }, [
33961
33957
  /* @__PURE__ */ S("label", { class: "p-1" }, "[else]")
33962
33958
  ], -1));
33963
- function oO(t, e, n, r, s, i) {
33959
+ function iO(t, e, n, r, s, i) {
33964
33960
  const o = pe("comment"), l = pe("collapse-button"), a = pe("ConditionLabel"), c = pe("block");
33965
33961
  return R(), q("div", {
33966
33962
  class: "fragment alt border-skin-fragment rounded",
33967
33963
  style: ve(t.fragmentStyle)
33968
33964
  }, [
33969
- S("div", Yk, [
33965
+ S("div", Kk, [
33970
33966
  n.comment ? (R(), Se(o, {
33971
33967
  key: 0,
33972
33968
  comment: n.comment,
33973
33969
  commentObj: n.commentObj
33974
- }, null, 8, ["comment", "commentObj"])) : me("", !0),
33975
- S("div", Xk, [
33976
- r.numbering ? (R(), q("div", Qk, Ge(n.number), 1)) : me("", !0),
33977
- S("div", Jk, [
33978
- S("label", eO, [
33970
+ }, null, 8, ["comment", "commentObj"])) : Le("", !0),
33971
+ S("div", Yk, [
33972
+ r.numbering ? (R(), q("div", Xk, Ze(n.number), 1)) : Le("", !0),
33973
+ S("div", Qk, [
33974
+ S("label", Jk, [
33979
33975
  G(l, {
33980
33976
  label: "Alt",
33981
33977
  collapsed: t.collapsed,
@@ -33990,8 +33986,8 @@ function oO(t, e, n, r, s, i) {
33990
33986
  S("div", {
33991
33987
  class: ye({ hidden: t.collapsed })
33992
33988
  }, [
33993
- S("div", tO, [
33994
- S("div", nO, [
33989
+ S("div", eO, [
33990
+ S("div", tO, [
33995
33991
  G(a, {
33996
33992
  condition: r.conditionFromIfElseBlock(r.ifBlock)
33997
33993
  }, null, 8, ["condition"])
@@ -34003,7 +33999,7 @@ function oO(t, e, n, r, s, i) {
34003
33999
  selfCallIndent: n.selfCallIndent,
34004
34000
  number: `${n.number}.1`,
34005
34001
  incremental: ""
34006
- }, null, 8, ["style", "context", "selfCallIndent", "number"])) : me("", !0)
34002
+ }, null, 8, ["style", "context", "selfCallIndent", "number"])) : Le("", !0)
34007
34003
  ]),
34008
34004
  (R(!0), q(Ne, null, Nn(r.elseIfBlocks, (u, h) => (R(), q("div", {
34009
34005
  key: h + 500,
@@ -34013,7 +34009,7 @@ function oO(t, e, n, r, s, i) {
34013
34009
  class: "text-skin-fragment",
34014
34010
  key: h + 1e3
34015
34011
  }, [
34016
- rO,
34012
+ nO,
34017
34013
  G(a, {
34018
34014
  condition: r.conditionFromIfElseBlock(u)
34019
34015
  }, null, 8, ["condition"])
@@ -34027,8 +34023,8 @@ function oO(t, e, n, r, s, i) {
34027
34023
  incremental: ""
34028
34024
  }, null, 8, ["style", "context", "selfCallIndent", "number"]))
34029
34025
  ]))), 128)),
34030
- r.elseBlock ? (R(), q("div", sO, [
34031
- iO,
34026
+ r.elseBlock ? (R(), q("div", rO, [
34027
+ sO,
34032
34028
  G(c, {
34033
34029
  style: ve({ paddingLeft: `${t.offsetX}px` }),
34034
34030
  context: r.elseBlock,
@@ -34036,12 +34032,12 @@ function oO(t, e, n, r, s, i) {
34036
34032
  number: `${n.number}.${r.blockLengthAcc[r.blockLengthAcc.length - 1] + 1}`,
34037
34033
  incremental: ""
34038
34034
  }, null, 8, ["style", "context", "selfCallIndent", "number"])
34039
- ])) : me("", !0)
34035
+ ])) : Le("", !0)
34040
34036
  ], 2)
34041
34037
  ], 4);
34042
34038
  }
34043
- const lO = /* @__PURE__ */ je(Kk, [["render", oO], ["__scopeId", "data-v-b9c5cb88"]]);
34044
- const aO = {
34039
+ const oO = /* @__PURE__ */ Ge(qk, [["render", iO], ["__scopeId", "data-v-b9c5cb88"]]);
34040
+ const lO = {
34045
34041
  name: "fragment-par",
34046
34042
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
34047
34043
  mixins: [Y0],
@@ -34054,11 +34050,11 @@ const aO = {
34054
34050
  return this.context.par();
34055
34051
  }
34056
34052
  }
34057
- }, cO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, uO = {
34053
+ }, aO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, cO = {
34058
34054
  key: 0,
34059
34055
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
34060
- }, hO = { class: "name font-semibold p-1 border-b" };
34061
- function dO(t, e, n, r, s, i) {
34056
+ }, uO = { class: "name font-semibold p-1 border-b" };
34057
+ function hO(t, e, n, r, s, i) {
34062
34058
  const o = pe("comment"), l = pe("collapse-button"), a = pe("block");
34063
34059
  return R(), q("div", {
34064
34060
  class: "fragment par border-skin-fragment rounded",
@@ -34068,10 +34064,10 @@ function dO(t, e, n, r, s, i) {
34068
34064
  key: 0,
34069
34065
  comment: n.comment,
34070
34066
  commentObj: n.commentObj
34071
- }, null, 8, ["comment", "commentObj"])) : me("", !0),
34072
- S("div", cO, [
34073
- t.numbering ? (R(), q("div", uO, Ge(n.number), 1)) : me("", !0),
34074
- S("div", hO, [
34067
+ }, null, 8, ["comment", "commentObj"])) : Le("", !0),
34068
+ S("div", aO, [
34069
+ t.numbering ? (R(), q("div", cO, Ze(n.number), 1)) : Le("", !0),
34070
+ S("div", uO, [
34075
34071
  G(l, {
34076
34072
  label: "Par",
34077
34073
  collapsed: t.collapsed,
@@ -34090,8 +34086,8 @@ function dO(t, e, n, r, s, i) {
34090
34086
  }, null, 8, ["class", "style", "context", "selfCallIndent", "number"])
34091
34087
  ], 4);
34092
34088
  }
34093
- const fO = /* @__PURE__ */ je(aO, [["render", dO], ["__scopeId", "data-v-12f63f5c"]]);
34094
- const pO = {
34089
+ const dO = /* @__PURE__ */ Ge(lO, [["render", hO], ["__scopeId", "data-v-12f63f5c"]]);
34090
+ const fO = {
34095
34091
  name: "fragment-loop",
34096
34092
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
34097
34093
  mixins: [Y0],
@@ -34114,11 +34110,11 @@ const pO = {
34114
34110
  }
34115
34111
  };
34116
34112
  }
34117
- }, gO = { class: "header text-skin-fragment-header bg-skin-fragment-header text-base leading-4 relative" }, mO = {
34113
+ }, pO = { class: "header text-skin-fragment-header bg-skin-fragment-header text-base leading-4 relative" }, gO = {
34118
34114
  key: 0,
34119
34115
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
34120
- }, xO = { class: "name font-semibold p-1 border-b" }, LO = { class: "segment" }, _O = { class: "text-skin-fragment" };
34121
- function yO(t, e, n, r, s, i) {
34116
+ }, mO = { class: "name font-semibold p-1 border-b" }, xO = { class: "segment" }, LO = { class: "text-skin-fragment" };
34117
+ function _O(t, e, n, r, s, i) {
34122
34118
  const o = pe("comment"), l = pe("collapse-button"), a = pe("ConditionLabel"), c = pe("block");
34123
34119
  return R(), q("div", {
34124
34120
  class: "fragment loop border-skin-fragment rounded",
@@ -34128,10 +34124,10 @@ function yO(t, e, n, r, s, i) {
34128
34124
  key: 0,
34129
34125
  comment: n.comment,
34130
34126
  commentObj: n.commentObj
34131
- }, null, 8, ["comment", "commentObj"])) : me("", !0),
34132
- S("div", gO, [
34133
- r.numbering ? (R(), q("div", mO, Ge(n.number), 1)) : me("", !0),
34134
- S("div", xO, [
34127
+ }, null, 8, ["comment", "commentObj"])) : Le("", !0),
34128
+ S("div", pO, [
34129
+ r.numbering ? (R(), q("div", gO, Ze(n.number), 1)) : Le("", !0),
34130
+ S("div", mO, [
34135
34131
  G(l, {
34136
34132
  label: "Loop",
34137
34133
  collapsed: t.collapsed,
@@ -34144,8 +34140,8 @@ function yO(t, e, n, r, s, i) {
34144
34140
  S("div", {
34145
34141
  class: ye({ hidden: t.collapsed })
34146
34142
  }, [
34147
- S("div", LO, [
34148
- S("div", _O, [
34143
+ S("div", xO, [
34144
+ S("div", LO, [
34149
34145
  G(a, {
34150
34146
  condition: r.getConditionFromBlock(r.blockInLoop)
34151
34147
  }, null, 8, ["condition"])
@@ -34160,8 +34156,8 @@ function yO(t, e, n, r, s, i) {
34160
34156
  ], 2)
34161
34157
  ], 4);
34162
34158
  }
34163
- const CO = /* @__PURE__ */ je(pO, [["render", yO], ["__scopeId", "data-v-632f3b8c"]]);
34164
- const vO = {
34159
+ const yO = /* @__PURE__ */ Ge(fO, [["render", _O], ["__scopeId", "data-v-632f3b8c"]]);
34160
+ const CO = {
34165
34161
  name: "fragment-opt",
34166
34162
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
34167
34163
  mixins: [Y0],
@@ -34174,11 +34170,11 @@ const vO = {
34174
34170
  return this.context.opt();
34175
34171
  }
34176
34172
  }
34177
- }, bO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 relative" }, wO = {
34173
+ }, vO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 relative" }, bO = {
34178
34174
  key: 0,
34179
34175
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
34180
- }, EO = { class: "name font-semibold p-1 border-b" };
34181
- function TO(t, e, n, r, s, i) {
34176
+ }, wO = { class: "name font-semibold p-1 border-b" };
34177
+ function EO(t, e, n, r, s, i) {
34182
34178
  const o = pe("comment"), l = pe("collapse-button"), a = pe("block");
34183
34179
  return R(), q("div", {
34184
34180
  class: "fragment opt border-skin-fragment rounded",
@@ -34188,10 +34184,10 @@ function TO(t, e, n, r, s, i) {
34188
34184
  key: 0,
34189
34185
  comment: n.comment,
34190
34186
  commentObj: n.commentObj
34191
- }, null, 8, ["comment", "commentObj"])) : me("", !0),
34192
- S("div", bO, [
34193
- t.numbering ? (R(), q("div", wO, Ge(n.number), 1)) : me("", !0),
34194
- S("div", EO, [
34187
+ }, null, 8, ["comment", "commentObj"])) : Le("", !0),
34188
+ S("div", vO, [
34189
+ t.numbering ? (R(), q("div", bO, Ze(n.number), 1)) : Le("", !0),
34190
+ S("div", wO, [
34195
34191
  G(l, {
34196
34192
  label: "Opt",
34197
34193
  collapsed: t.collapsed,
@@ -34210,8 +34206,8 @@ function TO(t, e, n, r, s, i) {
34210
34206
  }, null, 8, ["class", "style", "context", "selfCallIndent", "number"])
34211
34207
  ], 4);
34212
34208
  }
34213
- const SO = /* @__PURE__ */ je(vO, [["render", TO], ["__scopeId", "data-v-533e0127"]]);
34214
- const AO = {
34209
+ const TO = /* @__PURE__ */ Ge(CO, [["render", EO], ["__scopeId", "data-v-533e0127"]]);
34210
+ const SO = {
34215
34211
  name: "fragment-tcf",
34216
34212
  props: ["context", "comment", "commentObj", "selfCallIndent", "number"],
34217
34213
  mixins: [Y0],
@@ -34251,30 +34247,30 @@ const AO = {
34251
34247
  return (e = t == null ? void 0 : t.braceBlock()) == null ? void 0 : e.block();
34252
34248
  }
34253
34249
  }
34254
- }, v6 = (t) => (A0("data-v-4defdd44"), t = t(), R0(), t), RO = { class: "segment" }, kO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, OO = {
34250
+ }, v6 = (t) => (A0("data-v-4defdd44"), t = t(), R0(), t), AO = { class: "segment" }, RO = { class: "header bg-skin-fragment-header text-skin-fragment-header text-base leading-4 rounded-t relative" }, kO = {
34255
34251
  key: 0,
34256
34252
  class: "absolute right-[100%] top-0 pr-1 group-hover:hidden text-gray-500 text-sm font-thin leading-6"
34257
- }, IO = { class: "name font-semibold p-1 border-b text-sm" }, MO = { class: "segment" }, NO = /* @__PURE__ */ v6(() => /* @__PURE__ */ S("label", { class: "keyword catch p-1" }, "catch", -1)), PO = { class: "exception p-1" }, FO = {
34253
+ }, OO = { class: "name font-semibold p-1 border-b text-sm" }, IO = { class: "segment" }, MO = /* @__PURE__ */ v6(() => /* @__PURE__ */ S("label", { class: "keyword catch p-1" }, "catch", -1)), NO = { class: "exception p-1" }, PO = {
34258
34254
  key: 0,
34259
34255
  class: "segment mt-2 border-t border-solid"
34260
- }, DO = /* @__PURE__ */ v6(() => /* @__PURE__ */ S("div", { class: "header flex text-skin-fragment finally" }, [
34256
+ }, FO = /* @__PURE__ */ v6(() => /* @__PURE__ */ S("div", { class: "header flex text-skin-fragment finally" }, [
34261
34257
  /* @__PURE__ */ S("label", { class: "keyword finally bg-skin-frame/[0.66] px-1 inline-block text-sm" }, "finally")
34262
34258
  ], -1));
34263
- function BO(t, e, n, r, s, i) {
34259
+ function DO(t, e, n, r, s, i) {
34264
34260
  const o = pe("comment"), l = pe("collapse-button"), a = pe("block");
34265
34261
  return R(), q("div", {
34266
34262
  class: "fragment tcf border-skin-fragment rounded",
34267
34263
  style: ve(t.fragmentStyle)
34268
34264
  }, [
34269
- S("div", RO, [
34265
+ S("div", AO, [
34270
34266
  n.comment ? (R(), Se(o, {
34271
34267
  key: 0,
34272
34268
  comment: n.comment,
34273
34269
  commentObj: n.commentObj
34274
- }, null, 8, ["comment", "commentObj"])) : me("", !0),
34275
- S("div", kO, [
34276
- t.numbering ? (R(), q("div", OO, Ge(n.number), 1)) : me("", !0),
34277
- S("div", IO, [
34270
+ }, null, 8, ["comment", "commentObj"])) : Le("", !0),
34271
+ S("div", RO, [
34272
+ t.numbering ? (R(), q("div", kO, Ze(n.number), 1)) : Le("", !0),
34273
+ S("div", OO, [
34278
34274
  G(l, {
34279
34275
  label: "Try",
34280
34276
  collapsed: t.collapsed,
@@ -34286,7 +34282,7 @@ function BO(t, e, n, r, s, i) {
34286
34282
  S("div", {
34287
34283
  class: ye({ hidden: t.collapsed })
34288
34284
  }, [
34289
- S("div", MO, [
34285
+ S("div", IO, [
34290
34286
  i.blockInTryBlock ? (R(), Se(a, {
34291
34287
  key: 0,
34292
34288
  style: ve({ paddingLeft: `${t.offsetX}px` }),
@@ -34294,7 +34290,7 @@ function BO(t, e, n, r, s, i) {
34294
34290
  selfCallIndent: n.selfCallIndent,
34295
34291
  number: `${n.number}.1`,
34296
34292
  incremental: ""
34297
- }, null, 8, ["style", "context", "selfCallIndent", "number"])) : me("", !0)
34293
+ }, null, 8, ["style", "context", "selfCallIndent", "number"])) : Le("", !0)
34298
34294
  ]),
34299
34295
  (R(!0), q(Ne, null, Nn(i.tcf.catchBlock(), (c, u) => (R(), q("div", {
34300
34296
  key: u + 500,
@@ -34304,8 +34300,8 @@ function BO(t, e, n, r, s, i) {
34304
34300
  class: "header inline-block bg-skin-frame/[0.66]",
34305
34301
  key: u + 1e3
34306
34302
  }, [
34307
- NO,
34308
- S("label", PO, Ge(i.exception(c)), 1)
34303
+ MO,
34304
+ S("label", NO, Ze(i.exception(c)), 1)
34309
34305
  ])),
34310
34306
  (R(), Se(a, {
34311
34307
  style: ve({ paddingLeft: `${t.offsetX}px` }),
@@ -34316,8 +34312,8 @@ function BO(t, e, n, r, s, i) {
34316
34312
  incremental: ""
34317
34313
  }, null, 8, ["style", "context", "selfCallIndent", "number"]))
34318
34314
  ]))), 128)),
34319
- i.finallyBlock ? (R(), q("div", FO, [
34320
- DO,
34315
+ i.finallyBlock ? (R(), q("div", PO, [
34316
+ FO,
34321
34317
  G(a, {
34322
34318
  style: ve({ paddingLeft: `${t.offsetX}px` }),
34323
34319
  context: i.finallyBlock,
@@ -34325,11 +34321,11 @@ function BO(t, e, n, r, s, i) {
34325
34321
  number: `${n.number}.${i.blockLengthAcc[i.blockLengthAcc.length - 1] + 1}`,
34326
34322
  incremental: ""
34327
34323
  }, null, 8, ["style", "context", "selfCallIndent", "number"])
34328
- ])) : me("", !0)
34324
+ ])) : Le("", !0)
34329
34325
  ], 2)
34330
34326
  ], 4);
34331
34327
  }
34332
- const $O = /* @__PURE__ */ je(AO, [["render", BO], ["__scopeId", "data-v-4defdd44"]]), HO = {
34328
+ const BO = /* @__PURE__ */ Ge(SO, [["render", DO], ["__scopeId", "data-v-4defdd44"]]), $O = {
34333
34329
  name: "return",
34334
34330
  props: ["context", "comment", "commentObj", "number"],
34335
34331
  computed: {
@@ -34393,10 +34389,10 @@ const $O = /* @__PURE__ */ je(AO, [["render", BO], ["__scopeId", "data-v-4defdd4
34393
34389
  Comment: K0,
34394
34390
  Message: j0
34395
34391
  }
34396
- }, UO = ["data-signature"], VO = {
34392
+ }, HO = ["data-signature"], UO = {
34397
34393
  key: 1,
34398
34394
  class: "flex items-center"
34399
- }, zO = /* @__PURE__ */ S("svg", {
34395
+ }, VO = /* @__PURE__ */ S("svg", {
34400
34396
  class: "w-3 h-3 flex-shrink-0 fill-current m-1",
34401
34397
  viewBox: "0 0 512 512"
34402
34398
  }, [
@@ -34408,8 +34404,8 @@ const $O = /* @__PURE__ */ je(AO, [["render", BO], ["__scopeId", "data-v-4defdd4
34408
34404
  class: "cls-1",
34409
34405
  d: "M288 192h-87.16l27.58-27.58a21.33 21.33 0 1 0-30.17-30.17l-64 64a21.33 21.33 0 0 0 0 30.17l64 64a21.33 21.33 0 0 0 30.17-30.17l-27.58-27.58H288a53.33 53.33 0 0 1 0 106.67h-32a21.33 21.33 0 0 0 0 42.66h32a96 96 0 0 0 0-192Z"
34410
34406
  })
34411
- ], -1), GO = { class: "name text-sm" };
34412
- function jO(t, e, n, r, s, i) {
34407
+ ], -1), zO = { class: "name text-sm" };
34408
+ function GO(t, e, n, r, s, i) {
34413
34409
  const o = pe("comment"), l = pe("Message");
34414
34410
  return R(), q("div", {
34415
34411
  class: ye(["interaction return relative", {
@@ -34424,12 +34420,12 @@ function jO(t, e, n, r, s, i) {
34424
34420
  n.comment ? (R(), Se(o, {
34425
34421
  key: 0,
34426
34422
  commentObj: n.commentObj
34427
- }, null, 8, ["commentObj"])) : me("", !0),
34428
- i.isSelf ? (R(), q("div", VO, [
34429
- zO,
34430
- S("span", GO, Ge(i.signature), 1)
34431
- ])) : me("", !0),
34432
- i.isSelf ? me("", !0) : (R(), Se(l, {
34423
+ }, null, 8, ["commentObj"])) : Le("", !0),
34424
+ i.isSelf ? (R(), q("div", UO, [
34425
+ VO,
34426
+ S("span", zO, Ze(i.signature), 1)
34427
+ ])) : Le("", !0),
34428
+ i.isSelf ? Le("", !0) : (R(), Se(l, {
34433
34429
  key: 2,
34434
34430
  classNames: i.messageClassNames,
34435
34431
  textStyle: i.messageTextStyle,
@@ -34439,9 +34435,9 @@ function jO(t, e, n, r, s, i) {
34439
34435
  type: "return",
34440
34436
  number: n.number
34441
34437
  }, null, 8, ["classNames", "textStyle", "context", "content", "rtl", "number"]))
34442
- ], 14, UO);
34438
+ ], 14, HO);
34443
34439
  }
34444
- const ZO = /* @__PURE__ */ je(HO, [["render", jO]]), WO = [
34440
+ const jO = /* @__PURE__ */ Ge($O, [["render", GO]]), ZO = [
34445
34441
  "aliceblue",
34446
34442
  "antiquewhite",
34447
34443
  "aqua",
@@ -34590,20 +34586,20 @@ const ZO = /* @__PURE__ */ je(HO, [["render", jO]]), WO = [
34590
34586
  "whitesmoke",
34591
34587
  "yellow",
34592
34588
  "yellowgreen"
34593
- ], qO = ["italic", "oblique"], KO = ["bold", "bolder", "lighter"], YO = ["underline", "overline", "line-through"], o0 = (t) => {
34589
+ ], WO = ["italic", "oblique"], qO = ["bold", "bolder", "lighter"], KO = ["underline", "overline", "line-through"], o0 = (t) => {
34594
34590
  const e = {}, n = [];
34595
34591
  return t.forEach((r) => {
34596
34592
  switch (!0) {
34597
- case WO.includes(r):
34593
+ case ZO.includes(r):
34598
34594
  e.color = r;
34599
34595
  break;
34600
- case qO.includes(r):
34596
+ case WO.includes(r):
34601
34597
  e.fontStyle = r;
34602
34598
  break;
34603
- case KO.includes(r):
34599
+ case qO.includes(r):
34604
34600
  e.fontWeight = r;
34605
34601
  break;
34606
- case YO.includes(r):
34602
+ case KO.includes(r):
34607
34603
  e.textDecoration = r;
34608
34604
  break;
34609
34605
  default:
@@ -34611,7 +34607,7 @@ const ZO = /* @__PURE__ */ je(HO, [["render", jO]]), WO = [
34611
34607
  }
34612
34608
  }), { textStyle: e, classNames: n };
34613
34609
  };
34614
- const XO = {
34610
+ const YO = {
34615
34611
  name: "divider",
34616
34612
  props: ["context"],
34617
34613
  computed: {
@@ -34640,8 +34636,8 @@ const XO = {
34640
34636
  return { style: o0([]), note: this.note };
34641
34637
  }
34642
34638
  }
34643
- }, b6 = (t) => (A0("data-v-0be02001"), t = t(), R0(), t), QO = /* @__PURE__ */ b6(() => /* @__PURE__ */ S("div", { class: "left bg-skin-divider" }, null, -1)), JO = /* @__PURE__ */ b6(() => /* @__PURE__ */ S("div", { class: "right bg-skin-divider" }, null, -1));
34644
- function eI(t, e, n, r, s, i) {
34639
+ }, b6 = (t) => (A0("data-v-0be02001"), t = t(), R0(), t), XO = /* @__PURE__ */ b6(() => /* @__PURE__ */ S("div", { class: "left bg-skin-divider" }, null, -1)), QO = /* @__PURE__ */ b6(() => /* @__PURE__ */ S("div", { class: "right bg-skin-divider" }, null, -1));
34640
+ function JO(t, e, n, r, s, i) {
34645
34641
  return R(), q("div", {
34646
34642
  class: "divider",
34647
34643
  style: ve({
@@ -34649,16 +34645,16 @@ function eI(t, e, n, r, s, i) {
34649
34645
  transform: "translateX(" + (-1 * i.centerOfFrom + 10) + "px)"
34650
34646
  })
34651
34647
  }, [
34652
- QO,
34648
+ XO,
34653
34649
  S("div", {
34654
34650
  class: ye(["name", i.messageStyle.style.classNames]),
34655
34651
  style: ve(i.messageStyle.style.textStyle)
34656
- }, Ge(i.messageStyle.note), 7),
34657
- JO
34652
+ }, Ze(i.messageStyle.note), 7),
34653
+ QO
34658
34654
  ], 4);
34659
34655
  }
34660
- const tI = /* @__PURE__ */ je(XO, [["render", eI], ["__scopeId", "data-v-0be02001"]]);
34661
- function nI(t) {
34656
+ const eI = /* @__PURE__ */ Ge(YO, [["render", JO], ["__scopeId", "data-v-0be02001"]]);
34657
+ function tI(t) {
34662
34658
  const e = {
34663
34659
  "<>": /* @__PURE__ */ new Set(),
34664
34660
  "()": /* @__PURE__ */ new Set(),
@@ -34679,7 +34675,7 @@ function nI(t) {
34679
34675
  t.slice(s)
34680
34676
  ];
34681
34677
  }
34682
- class rI {
34678
+ class nI {
34683
34679
  constructor(e) {
34684
34680
  K(this, "text", "");
34685
34681
  K(this, "classNames", []);
@@ -34689,7 +34685,7 @@ class rI {
34689
34685
  K(this, "commentClassNames", []);
34690
34686
  K(this, "messageClassNames", []);
34691
34687
  const n = e.slice(0, -1).split(`
34692
- `), r = n[n.length - 1], [s, i, o, l] = nI(r), { textStyle: a, classNames: c } = o0(s), { textStyle: u, classNames: h } = o0(i), { textStyle: d, classNames: p } = o0(o);
34688
+ `), r = n[n.length - 1], [s, i, o, l] = tI(r), { textStyle: a, classNames: c } = o0(s), { textStyle: u, classNames: h } = o0(i), { textStyle: d, classNames: p } = o0(o);
34693
34689
  this.text = (n.slice(0, n.length - 1).join(`
34694
34690
  `) + `
34695
34691
  ` + l).trim(), this.textStyle = { ...d, ...a, ...u }, this.classNames = [
@@ -34699,7 +34695,7 @@ class rI {
34699
34695
  ], this.commentStyle = { ...d, ...a }, this.messageStyle = { ...d, ...u }, this.commentClassNames = [...p, ...c], this.messageClassNames = [...p, ...h];
34700
34696
  }
34701
34697
  }
34702
- const sI = {
34698
+ const rI = {
34703
34699
  name: "statement",
34704
34700
  props: [
34705
34701
  "context",
@@ -34713,7 +34709,7 @@ const sI = {
34713
34709
  return this.context.getComment() ? this.context.getComment() : "";
34714
34710
  },
34715
34711
  commentObj: function() {
34716
- return new rI(this.comment);
34712
+ return new nI(this.comment);
34717
34713
  },
34718
34714
  subStatement: function() {
34719
34715
  let t = this, e = {
@@ -34735,19 +34731,19 @@ const sI = {
34735
34731
  }
34736
34732
  },
34737
34733
  components: {
34738
- Creation: vk,
34739
- Interaction: kk,
34740
- InteractionAsync: Uk,
34741
- FragmentAlt: lO,
34742
- FragmentPar: fO,
34743
- FragmentOpt: SO,
34744
- FragmentTryCatchFinally: $O,
34745
- FragmentLoop: CO,
34746
- Divider: tI,
34747
- Return: ZO
34734
+ Creation: Ck,
34735
+ Interaction: Rk,
34736
+ InteractionAsync: Hk,
34737
+ FragmentAlt: oO,
34738
+ FragmentPar: dO,
34739
+ FragmentOpt: TO,
34740
+ FragmentTryCatchFinally: BO,
34741
+ FragmentLoop: yO,
34742
+ Divider: eI,
34743
+ Return: jO
34748
34744
  }
34749
34745
  };
34750
- function iI(t, e, n, r, s, i) {
34746
+ function sI(t, e, n, r, s, i) {
34751
34747
  return R(), Se(u1(i.subStatement), {
34752
34748
  class: ye(["text-left text-sm text-skin-message", { hidden: i.collapsedCheck }]),
34753
34749
  context: n.context,
@@ -34758,7 +34754,7 @@ function iI(t, e, n, r, s, i) {
34758
34754
  inheritFromOccurrence: n.inheritFromOccurrence
34759
34755
  }, null, 8, ["class", "context", "comment", "commentObj", "selfCallIndent", "number", "inheritFromOccurrence"]);
34760
34756
  }
34761
- const oI = /* @__PURE__ */ je(sI, [["render", iI]]), lI = { class: "block" }, aI = /* @__PURE__ */ Ve({
34757
+ const iI = /* @__PURE__ */ Ge(rI, [["render", sI]]), oI = { class: "block" }, lI = /* @__PURE__ */ Ve({
34762
34758
  __name: "Block",
34763
34759
  props: {
34764
34760
  context: null,
@@ -34773,12 +34769,12 @@ const oI = /* @__PURE__ */ je(sI, [["render", iI]]), lI = { class: "block" }, aI
34773
34769
  var s;
34774
34770
  return ((s = e.context) == null ? void 0 : s.stat()) || [];
34775
34771
  }), r = (s) => e.number ? e.incremental ? _6(e.number, s) : `${e.number}.${s + 1}` : String(s + 1);
34776
- return (s, i) => (R(), q("div", lI, [
34772
+ return (s, i) => (R(), q("div", oI, [
34777
34773
  (R(!0), q(Ne, null, Nn(N(n), (o, l) => (R(), q("div", {
34778
34774
  class: "statement-container mt-1",
34779
34775
  key: l
34780
34776
  }, [
34781
- G(oI, {
34777
+ G(iI, {
34782
34778
  inheritFromOccurrence: t.inheritFromOccurrence,
34783
34779
  context: o,
34784
34780
  collapsed: t.collapsed,
@@ -34789,15 +34785,15 @@ const oI = /* @__PURE__ */ je(sI, [["render", iI]]), lI = { class: "block" }, aI
34789
34785
  ]));
34790
34786
  }
34791
34787
  });
34792
- function cI(t) {
34788
+ function aI(t) {
34793
34789
  const e = Math.floor(t / 1e3), n = Math.floor(t % 1e3), r = Math.floor((t % 1e3 - n) * 1e3);
34794
34790
  return e + "s " + n + "ms " + r + "\u03BCs";
34795
34791
  }
34796
- const uI = (t, e) => {
34792
+ const cI = (t, e) => {
34797
34793
  const r = w6() - e;
34798
- return console.debug(t + " cost: " + cI(r)), r;
34799
- }, w6 = () => performance.now(), hI = b0.child({ name: "core" });
34800
- class gI {
34794
+ return console.debug(t + " cost: " + aI(r)), r;
34795
+ }, w6 = () => performance.now(), uI = b0.child({ name: "core" });
34796
+ class pI {
34801
34797
  constructor(e, n = !1) {
34802
34798
  K(this, "el");
34803
34799
  K(this, "_code");
@@ -34807,14 +34803,14 @@ class gI {
34807
34803
  K(this, "_currentTimeout");
34808
34804
  K(this, "_lastRenderingCostMilliseconds", 0);
34809
34805
  K(this, "initialRender", !0);
34810
- this.el = e, this.store = G5(gh()), this.app = D0(n ? pc : i6), this.app.component("Comment", K0), this.app.component("Block", aI), this.app.use(this.store), this.app.mount(this.el), this.addPortalRootElement();
34806
+ this.el = e, this.store = G5(gh()), this.app = D0(n ? pc : i6), this.app.component("Comment", K0), this.app.component("Block", lI), this.app.use(this.store), this.app.mount(this.el), this.addPortalRootElement();
34811
34807
  }
34812
34808
  addPortalRootElement() {
34813
34809
  const e = document.createElement("div");
34814
34810
  e.id = "headlessui-portal-root", e.className = "zenuml", e.append(document.createElement("div")), document.body.append(e);
34815
34811
  }
34816
34812
  async render(e, n) {
34817
- return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), hI.debug("rendering", e, n), this._code = e || this._code, this._theme = (n == null ? void 0 : n.theme) || this._theme, this.store.state.stickyOffset = (n == null ? void 0 : n.stickyOffset) || 0, this.store.state.theme = this._theme || "default", this.store.state.enableScopedTheming = (n == null ? void 0 : n.enableScopedTheming) || !1, this.store.state.mode = (n == null ? void 0 : n.mode) || Jt.Dynamic, this.initialRender ? (this.initialRender = !1, await this.doRender(n)) : this._currentTimeout = setTimeout(
34813
+ return this._currentTimeout && (console.debug("rendering clearTimeout"), clearTimeout(this._currentTimeout)), uI.debug("rendering", e, n), this._code = e || this._code, this._theme = (n == null ? void 0 : n.theme) || this._theme, this.store.state.stickyOffset = (n == null ? void 0 : n.stickyOffset) || 0, this.store.state.theme = this._theme || "default", this.store.state.enableScopedTheming = (n == null ? void 0 : n.enableScopedTheming) || !1, this.store.state.mode = (n == null ? void 0 : n.mode) || Jt.Dynamic, this.initialRender ? (this.initialRender = !1, await this.doRender(n)) : this._currentTimeout = setTimeout(
34818
34814
  async () => await this.doRender(n),
34819
34815
  this.calculateDebounceMilliseconds()
34820
34816
  ), this;
@@ -34825,7 +34821,7 @@ class gI {
34825
34821
  dh(), this.store.commit("onContentChange", (e == null ? void 0 : e.onContentChange) || (() => {
34826
34822
  })), this.store.commit("onThemeChange", (e == null ? void 0 : e.onThemeChange) || (() => {
34827
34823
  })), this.store.commit("onEventEmit", (e == null ? void 0 : e.onEventEmit) || (() => {
34828
- })), (e == null ? void 0 : e.enableMultiTheme) !== void 0 && (this.store.state.enableMultiTheme = e == null ? void 0 : e.enableMultiTheme), await this.store.dispatch("updateCode", { code: this._code }), this._lastRenderingCostMilliseconds = uI(
34824
+ })), (e == null ? void 0 : e.enableMultiTheme) !== void 0 && (this.store.state.enableMultiTheme = e == null ? void 0 : e.enableMultiTheme), await this.store.dispatch("updateCode", { code: this._code }), this._lastRenderingCostMilliseconds = cI(
34829
34825
  "rendering end",
34830
34826
  n
34831
34827
  );
@@ -34844,7 +34840,7 @@ class gI {
34844
34840
  return this.el.children[0].__vue__.toPng();
34845
34841
  }
34846
34842
  }
34847
- const mI = {
34843
+ const gI = {
34848
34844
  createApp: D0,
34849
34845
  createStore: G5,
34850
34846
  Store: gh,
@@ -34855,16 +34851,16 @@ export {
34855
34851
  Zt as A,
34856
34852
  Nn as B,
34857
34853
  ye as C,
34858
- Ge as D,
34854
+ Ze as D,
34859
34855
  oh as E,
34860
34856
  Ne as F,
34861
- fI as G,
34857
+ dI as G,
34862
34858
  ev as H,
34863
34859
  cv as P,
34864
34860
  N0 as T,
34865
34861
  Wh as U,
34866
- mI as V,
34867
- gI as Z,
34862
+ gI as V,
34863
+ pI as Z,
34868
34864
  S as a,
34869
34865
  P as b,
34870
34866
  q as c,
@@ -34875,14 +34871,14 @@ export {
34875
34871
  m0 as h,
34876
34872
  en as i,
34877
34873
  ct as j,
34878
- me as k,
34874
+ Le as k,
34879
34875
  xl as l,
34880
34876
  g1 as m,
34881
34877
  gr as n,
34882
34878
  R as o,
34883
34879
  Vt as p,
34884
34880
  hn as q,
34885
- Le as r,
34881
+ xe as r,
34886
34882
  r3 as s,
34887
34883
  i3 as t,
34888
34884
  N as u,
@@ -34892,4 +34888,4 @@ export {
34892
34888
  Ch as y,
34893
34889
  Se as z
34894
34890
  };
34895
- //# sourceMappingURL=core.ba69b99a.js.map
34891
+ //# sourceMappingURL=core.21c8d9f5.js.map