typerighter 0.44.0 → 0.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
- import { $ as e, A as t, C as n, E as r, F as i, I as a, K as o, L as s, N as c, O as l, _ as u, a as d, b as f, c as p, et as m, f as h, k as g, l as _, n as v, p as y, r as b, s as x, v as S, w as C, y as w } from "../shared-kjMIXu1H.js";
1
+ import { $ as e, A as t, C as n, E as r, F as i, I as a, K as o, L as s, N as c, O as l, _ as u, a as d, b as f, c as p, et as m, f as h, k as g, l as _, n as v, p as y, r as b, s as x, v as S, w as C, y as w } from "../shared-B-wDtFX6.js";
2
2
  import { t as T } from "../es-ClqUVRJn.js";
3
- import { A as ee, C as te, D as ne, E, F as re, I as D, M as ie, N as ae, O as oe, P as se, S as ce, T as le, _ as ue, a as de, b as fe, c as O, d as pe, f as me, g as he, h as ge, i as _e, j as ve, k as ye, m as k, n as be, o as xe, p as Se, r as A, s as Ce, u as we, v as Te, w as Ee, x as De, y as Oe } from "../app-Cs3OppHS.js";
4
- import { a as ke, i as Ae, n as je, t as Me } from "../brand-CG1fQshq.js";
5
- import { t as Ne } from "../inlineRe-Cn-J_E76.js";
6
- import { Fragment as j, Teleport as Pe, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as z, getCurrentScope as Fe, markRaw as Ie, mergeModels as Le, mergeProps as Re, nextTick as ze, normalizeClass as B, normalizeStyle as Be, onBeforeUnmount as Ve, onMounted as He, onScopeDispose as Ue, onUnmounted as We, openBlock as V, readonly as Ge, ref as H, renderList as U, renderSlot as W, resolveComponent as Ke, resolveDynamicComponent as G, shallowReadonly as qe, shallowRef as Je, toDisplayString as K, toValue as Ye, unref as q, useModel as Xe, useTemplateRef as Ze, vModelText as Qe, watch as J, watchEffect as $e, withCtx as et, withDirectives as tt, withKeys as nt, withModifiers as rt } from "vue";
7
- var it = D({
3
+ import { A as ee, C as te, D as ne, E, F as re, I as ie, L as D, M as ae, N as oe, O as se, P as ce, S as le, T as ue, _ as de, a as fe, b as pe, c as O, d as me, f as he, g as ge, h as _e, i as ve, j as ye, k as be, m as k, n as xe, o as Se, p as Ce, r as A, s as we, u as Te, v as Ee, w as De, x as Oe, y as ke } from "../app-C-CwtIly.js";
4
+ import { a as Ae, i as je, n as Me, t as Ne } from "../brand-CG1fQshq.js";
5
+ import { t as Pe } from "../inlineRe-Cn-J_E76.js";
6
+ import { Fragment as j, Teleport as Fe, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createTextVNode as L, createVNode as R, defineComponent as z, getCurrentScope as Ie, markRaw as Le, mergeModels as Re, mergeProps as ze, nextTick as Be, normalizeClass as B, normalizeStyle as Ve, onBeforeUnmount as He, onMounted as Ue, onScopeDispose as We, onUnmounted as Ge, openBlock as V, readonly as Ke, ref as H, renderList as U, renderSlot as W, resolveComponent as qe, resolveDynamicComponent as G, shallowReadonly as Je, shallowRef as Ye, toDisplayString as K, toValue as Xe, unref as q, useModel as Ze, useTemplateRef as Qe, vModelText as $e, watch as J, watchEffect as et, withCtx as tt, withDirectives as nt, withKeys as rt, withModifiers as it } from "vue";
7
+ var at = D({
8
8
  name: "circle-dot",
9
9
  size: 24,
10
10
  node: [["circle", {
@@ -18,14 +18,14 @@ var it = D({
18
18
  r: "10",
19
19
  key: "1mglay"
20
20
  }]]
21
- }), at = D({
21
+ }), ot = D({
22
22
  name: "command",
23
23
  size: 24,
24
24
  node: [["path", {
25
25
  d: "M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3",
26
26
  key: "11bfej"
27
27
  }]]
28
- }), ot = D({
28
+ }), st = D({
29
29
  name: "corner-down-left",
30
30
  size: 24,
31
31
  node: [["path", {
@@ -35,7 +35,7 @@ var it = D({
35
35
  d: "m9 10-5 5 5 5",
36
36
  key: "1kshq7"
37
37
  }]]
38
- }), st = D({
38
+ }), ct = D({
39
39
  name: "delete",
40
40
  size: 24,
41
41
  node: [
@@ -52,14 +52,14 @@ var it = D({
52
52
  key: "1fp51s"
53
53
  }]
54
54
  ]
55
- }), ct = D({
55
+ }), lt = D({
56
56
  name: "folder-open",
57
57
  size: 24,
58
58
  node: [["path", {
59
59
  d: "m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",
60
60
  key: "usdka0"
61
61
  }]]
62
- }), lt = D({
62
+ }), ut = D({
63
63
  name: "loader-circle",
64
64
  size: 24,
65
65
  node: [["path", {
@@ -67,7 +67,7 @@ var it = D({
67
67
  key: "13zald"
68
68
  }]],
69
69
  aliases: ["loader-2"]
70
- }), ut = D({
70
+ }), dt = D({
71
71
  name: "option",
72
72
  size: 24,
73
73
  node: [["path", {
@@ -77,14 +77,14 @@ var it = D({
77
77
  d: "M3 3h5.28a1 1 0 0 1 .948.684l5.544 16.632a1 1 0 0 0 .949.684H21",
78
78
  key: "1qf1im"
79
79
  }]]
80
- }), dt = D({
80
+ }), ft = D({
81
81
  name: "space",
82
82
  size: 24,
83
83
  node: [["path", {
84
84
  d: "M22 17v1c0 .5-.5 1-1 1H3c-.5 0-1-.5-1-1v-1",
85
85
  key: "lt2kga"
86
86
  }]]
87
- }), ft = D({
87
+ }), pt = D({
88
88
  name: "square-check-big",
89
89
  size: 24,
90
90
  node: [["path", {
@@ -95,7 +95,7 @@ var it = D({
95
95
  key: "1pflzl"
96
96
  }]],
97
97
  aliases: ["check-square"]
98
- }), pt = D({
98
+ }), mt = D({
99
99
  name: "tags",
100
100
  size: 24,
101
101
  node: [
@@ -115,7 +115,7 @@ var it = D({
115
115
  key: "12ikhr"
116
116
  }]
117
117
  ]
118
- }), mt = D({
118
+ }), ht = D({
119
119
  name: "type",
120
120
  size: 24,
121
121
  node: [
@@ -132,11 +132,11 @@ var it = D({
132
132
  key: "s66wpe"
133
133
  }]
134
134
  ]
135
- }), ht = [
135
+ }), gt = [
136
136
  "height",
137
137
  "width",
138
138
  "viewBox"
139
- ], gt = ["d"], _t = ["d"], vt = ["d"], yt = /* @__PURE__ */ z({
139
+ ], _t = ["d"], vt = ["d"], yt = ["d"], bt = /* @__PURE__ */ z({
140
140
  __name: "TdBrandIcon",
141
141
  props: { size: { default: 28 } },
142
142
  setup(e) {
@@ -144,26 +144,26 @@ var it = D({
144
144
  fill: "none",
145
145
  height: e.size,
146
146
  width: e.size * 208 / 128,
147
- viewBox: q(ke),
147
+ viewBox: q(Ae),
148
148
  xmlns: "http://www.w3.org/2000/svg"
149
149
  }, [
150
150
  I("path", {
151
151
  "clip-rule": "evenodd",
152
- d: q(je),
152
+ d: q(Me),
153
153
  "fill-rule": "evenodd",
154
154
  fill: "currentColor"
155
- }, null, 8, gt),
155
+ }, null, 8, _t),
156
156
  I("path", {
157
- d: q(Ae),
157
+ d: q(je),
158
158
  fill: "currentColor"
159
- }, null, 8, _t),
159
+ }, null, 8, vt),
160
160
  I("path", {
161
- d: q(Me),
161
+ d: q(Ne),
162
162
  fill: "currentColor"
163
- }, null, 8, vt)
164
- ], 8, ht));
163
+ }, null, 8, yt)
164
+ ], 8, gt));
165
165
  }
166
- }), bt = ["title", "aria-label"], xt = /*#__PURE__*/ k(/* @__PURE__ */ z({
166
+ }), xt = ["title", "aria-label"], St = /*#__PURE__*/ k(/* @__PURE__ */ z({
167
167
  __name: "TdButton",
168
168
  props: { label: {} },
169
169
  setup(e) {
@@ -172,77 +172,77 @@ var it = D({
172
172
  class: "td-icon-btn",
173
173
  title: e.label,
174
174
  "aria-label": e.label
175
- }, [W(t.$slots, "default", {}, void 0, !0)], 8, bt));
175
+ }, [W(t.$slots, "default", {}, void 0, !0)], 8, xt));
176
176
  }
177
- }), [["__scopeId", "data-v-b1861a4a"]]), St = Math.min, Ct = Math.max, wt = Math.round, Y = (e) => ({
177
+ }), [["__scopeId", "data-v-b1861a4a"]]), Ct = Math.min, wt = Math.max, Tt = Math.round, Y = (e) => ({
178
178
  x: e,
179
179
  y: e
180
- }), Tt = {
180
+ }), Et = {
181
181
  left: "right",
182
182
  right: "left",
183
183
  bottom: "top",
184
184
  top: "bottom"
185
185
  };
186
- function Et(e, t, n) {
187
- return Ct(e, St(t, n));
186
+ function Dt(e, t, n) {
187
+ return wt(e, Ct(t, n));
188
188
  }
189
- function Dt(e, t) {
189
+ function Ot(e, t) {
190
190
  return typeof e == "function" ? e(t) : e;
191
191
  }
192
- function Ot(e) {
192
+ function kt(e) {
193
193
  return e.split("-")[0];
194
194
  }
195
- function kt(e) {
195
+ function At(e) {
196
196
  return e.split("-")[1];
197
197
  }
198
- function At(e) {
198
+ function jt(e) {
199
199
  return e === "x" ? "y" : "x";
200
200
  }
201
- function jt(e) {
201
+ function Mt(e) {
202
202
  return e === "y" ? "height" : "width";
203
203
  }
204
- function Mt(e) {
204
+ function Nt(e) {
205
205
  let t = e[0];
206
206
  return t === "t" || t === "b" ? "y" : "x";
207
207
  }
208
- function Nt(e) {
209
- return At(Mt(e));
208
+ function Pt(e) {
209
+ return jt(Nt(e));
210
210
  }
211
- function Pt(e, t, n) {
211
+ function Ft(e, t, n) {
212
212
  n === void 0 && (n = !1);
213
- let r = kt(e), i = Nt(e), a = jt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
214
- return t.reference[a] > t.floating[a] && (o = Ut(o)), [o, Ut(o)];
213
+ let r = At(e), i = Pt(e), a = Mt(i), o = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
214
+ return t.reference[a] > t.floating[a] && (o = Wt(o)), [o, Wt(o)];
215
215
  }
216
- function Ft(e) {
217
- let t = Ut(e);
216
+ function It(e) {
217
+ let t = Wt(e);
218
218
  return [
219
- It(e),
219
+ Lt(e),
220
220
  t,
221
- It(t)
221
+ Lt(t)
222
222
  ];
223
223
  }
224
- function It(e) {
224
+ function Lt(e) {
225
225
  return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start");
226
226
  }
227
- var Lt = ["left", "right"], Rt = ["right", "left"], zt = ["top", "bottom"], Bt = ["bottom", "top"];
228
- function Vt(e, t, n) {
227
+ var Rt = ["left", "right"], zt = ["right", "left"], Bt = ["top", "bottom"], Vt = ["bottom", "top"];
228
+ function Ht(e, t, n) {
229
229
  switch (e) {
230
230
  case "top":
231
- case "bottom": return n ? t ? Rt : Lt : t ? Lt : Rt;
231
+ case "bottom": return n ? t ? zt : Rt : t ? Rt : zt;
232
232
  case "left":
233
- case "right": return t ? zt : Bt;
233
+ case "right": return t ? Bt : Vt;
234
234
  default: return [];
235
235
  }
236
236
  }
237
- function Ht(e, t, n, r) {
238
- let i = kt(e), a = Vt(Ot(e), n === "start", r);
239
- return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(It)))), a;
240
- }
241
- function Ut(e) {
242
- let t = Ot(e);
243
- return Tt[t] + e.slice(t.length);
237
+ function Ut(e, t, n, r) {
238
+ let i = At(e), a = Ht(kt(e), n === "start", r);
239
+ return i && (a = a.map((e) => e + "-" + i), t && (a = a.concat(a.map(Lt)))), a;
244
240
  }
245
241
  function Wt(e) {
242
+ let t = kt(e);
243
+ return Et[t] + e.slice(t.length);
244
+ }
245
+ function Gt(e) {
246
246
  return {
247
247
  top: e.top ?? 0,
248
248
  right: e.right ?? 0,
@@ -250,15 +250,15 @@ function Wt(e) {
250
250
  left: e.left ?? 0
251
251
  };
252
252
  }
253
- function Gt(e) {
253
+ function Kt(e) {
254
254
  return typeof e == "number" ? {
255
255
  top: e,
256
256
  right: e,
257
257
  bottom: e,
258
258
  left: e
259
- } : Wt(e);
259
+ } : Gt(e);
260
260
  }
261
- function Kt(e) {
261
+ function qt(e) {
262
262
  let { x: t, y: n, width: r, height: i } = e;
263
263
  return {
264
264
  width: r,
@@ -273,8 +273,8 @@ function Kt(e) {
273
273
  }
274
274
  //#endregion
275
275
  //#region ../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
276
- function qt(e, t, n) {
277
- let { reference: r, floating: i } = e, a = Mt(t), o = Nt(t), s = jt(o), c = Ot(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
276
+ function Jt(e, t, n) {
277
+ let { reference: r, floating: i } = e, a = Nt(t), o = Pt(t), s = Mt(o), c = kt(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
278
278
  switch (c) {
279
279
  case "top":
280
280
  p = {
@@ -305,12 +305,12 @@ function qt(e, t, n) {
305
305
  y: r.y
306
306
  };
307
307
  }
308
- let m = kt(t);
308
+ let m = At(t);
309
309
  return m && (p[o] += f * (m === "end" ? 1 : -1) * (n && l ? -1 : 1)), p;
310
310
  }
311
- async function Jt(e, t) {
311
+ async function Yt(e, t) {
312
312
  t === void 0 && (t = {});
313
- let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Dt(t, e), p = Gt(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = Kt(await i.getClippingRect({
313
+ let { x: n, y: r, platform: i, rects: a, elements: o, strategy: s } = e, { boundary: c = "clippingAncestors", rootBoundary: l = "viewport", elementContext: u = "floating", altBoundary: d = !1, padding: f = 0 } = Ot(t, e), p = Kt(f), m = o[d ? u === "floating" ? "reference" : "floating" : u], h = qt(await i.getClippingRect({
314
314
  element: await (i.isElement == null ? void 0 : i.isElement(m)) ?? !0 ? m : m.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(o.floating)),
315
315
  boundary: c,
316
316
  rootBoundary: l,
@@ -323,7 +323,7 @@ async function Jt(e, t) {
323
323
  } : a.reference, _ = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(o.floating)), v = await (i.isElement == null ? void 0 : i.isElement(_)) && await (i.getScale == null ? void 0 : i.getScale(_)) || {
324
324
  x: 1,
325
325
  y: 1
326
- }, y = Kt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
326
+ }, y = qt(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
327
327
  elements: o,
328
328
  rect: g,
329
329
  offsetParent: _,
@@ -336,15 +336,15 @@ async function Jt(e, t) {
336
336
  right: (y.right - h.right + p.right) / v.x
337
337
  };
338
338
  }
339
- var Yt = 50, Xt = async (e, t, n) => {
339
+ var Xt = 50, Zt = async (e, t, n) => {
340
340
  let { placement: r = "bottom", strategy: i = "absolute", middleware: a = [], platform: o } = n, s = o.detectOverflow ? o : {
341
341
  ...o,
342
- detectOverflow: Jt
342
+ detectOverflow: Yt
343
343
  }, c = await (o.isRTL == null ? void 0 : o.isRTL(t)), l = await o.getElementRects({
344
344
  reference: e,
345
345
  floating: t,
346
346
  strategy: i
347
- }), { x: u, y: d } = qt(l, r, c), f = r, p = 0, m = {};
347
+ }), { x: u, y: d } = Jt(l, r, c), f = r, p = 0, m = {};
348
348
  for (let n = 0; n < a.length; n++) {
349
349
  let h = a[n];
350
350
  if (!h) continue;
@@ -365,11 +365,11 @@ var Yt = 50, Xt = async (e, t, n) => {
365
365
  u = v ?? u, d = y ?? d, m[g] = {
366
366
  ...m[g],
367
367
  ...b
368
- }, x && p < Yt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
368
+ }, x && p < Xt && (p++, typeof x == "object" && (x.placement && (f = x.placement), x.rects && (l = x.rects === !0 ? await o.getElementRects({
369
369
  reference: e,
370
370
  floating: t,
371
371
  strategy: i
372
- }) : x.rects), {x: u, y: d} = qt(l, f, c)), n = -1);
372
+ }) : x.rects), {x: u, y: d} = Jt(l, f, c)), n = -1);
373
373
  }
374
374
  return {
375
375
  x: u,
@@ -378,41 +378,41 @@ var Yt = 50, Xt = async (e, t, n) => {
378
378
  strategy: i,
379
379
  middlewareData: m
380
380
  };
381
- }, Zt = (e) => ({
381
+ }, Qt = (e) => ({
382
382
  name: "arrow",
383
383
  options: e,
384
384
  async fn(t) {
385
- let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Dt(e, t) || {};
385
+ let { x: n, y: r, placement: i, rects: a, platform: o, elements: s, middlewareData: c } = t, { element: l, padding: u = 0 } = Ot(e, t) || {};
386
386
  if (l == null) return {};
387
- let d = Gt(u), f = {
387
+ let d = Kt(u), f = {
388
388
  x: n,
389
389
  y: r
390
- }, p = Nt(i), m = jt(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
390
+ }, p = Pt(i), m = Mt(p), h = await o.getDimensions(l), g = p === "y", _ = g ? "top" : "left", v = g ? "bottom" : "right", y = g ? "clientHeight" : "clientWidth", b = a.reference[m] + a.reference[p] - f[p] - a.floating[m], x = f[p] - a.reference[p], S = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(l)), C = S ? S[y] : 0;
391
391
  (!C || !await (o.isElement == null ? void 0 : o.isElement(S))) && (C = s.floating[y] || a.floating[m]);
392
- let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = St(d[_], T), te = St(d[v], T), ne = C - h[m] - te, E = C / 2 - h[m] / 2 + w, re = Et(ee, E, ne), D = !c.arrow && kt(i) != null && E !== re && a.reference[m] / 2 - (E < ee ? ee : te) - h[m] / 2 < 0, ie = D ? E < ee ? E - ee : E - ne : 0;
392
+ let w = b / 2 - x / 2, T = C / 2 - h[m] / 2 - 1, ee = Ct(d[_], T), te = Ct(d[v], T), ne = C - h[m] - te, E = C / 2 - h[m] / 2 + w, re = Dt(ee, E, ne), ie = !c.arrow && At(i) != null && E !== re && a.reference[m] / 2 - (E < ee ? ee : te) - h[m] / 2 < 0, D = ie ? E < ee ? E - ee : E - ne : 0;
393
393
  return {
394
- [p]: f[p] + ie,
394
+ [p]: f[p] + D,
395
395
  data: {
396
396
  [p]: re,
397
- centerOffset: E - re - ie,
398
- ...D && { alignmentOffset: ie }
397
+ centerOffset: E - re - D,
398
+ ...ie && { alignmentOffset: D }
399
399
  },
400
- reset: D
400
+ reset: ie
401
401
  };
402
402
  }
403
- }), Qt = function(e) {
403
+ }), $t = function(e) {
404
404
  return e === void 0 && (e = {}), {
405
405
  name: "flip",
406
406
  options: e,
407
407
  async fn(t) {
408
408
  var n;
409
- let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Dt(e, t);
409
+ let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Ot(e, t);
410
410
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
411
- let g = Ot(r), _ = Mt(o), v = Ot(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Ut(o)] : Ft(o)), x = p !== "none";
412
- !d && x && b.push(...Ht(o, m, p, y));
411
+ let g = kt(r), _ = Nt(o), v = kt(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Wt(o)] : It(o)), x = p !== "none";
412
+ !d && x && b.push(...Ut(o, m, p, y));
413
413
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
414
414
  if (l && w.push(C[g]), u) {
415
- let e = Pt(r, a, y);
415
+ let e = Ft(r, a, y);
416
416
  w.push(C[e[0]], C[e[1]]);
417
417
  }
418
418
  if (T = [...T, {
@@ -420,7 +420,7 @@ var Yt = 50, Xt = async (e, t, n) => {
420
420
  overflows: w
421
421
  }], !w.every((e) => e <= 0)) {
422
422
  let e = (i.flip?.index || 0) + 1, t = S[e];
423
- if (t && (u !== "alignment" || _ === Mt(t) || T.every((e) => Mt(e.placement) !== _ || e.overflows[0] > 0))) return {
423
+ if (t && (u !== "alignment" || _ === Nt(t) || T.every((e) => Nt(e.placement) !== _ || e.overflows[0] > 0))) return {
424
424
  data: {
425
425
  index: e,
426
426
  overflows: T
@@ -432,7 +432,7 @@ var Yt = 50, Xt = async (e, t, n) => {
432
432
  case "bestFit": {
433
433
  let e = T.filter((e) => {
434
434
  if (x) {
435
- let t = Mt(e.placement);
435
+ let t = Nt(e.placement);
436
436
  return t === _ || t === "y";
437
437
  }
438
438
  return !0;
@@ -447,9 +447,9 @@ var Yt = 50, Xt = async (e, t, n) => {
447
447
  return {};
448
448
  }
449
449
  };
450
- }, $t = /*#__PURE__*/ new Set(["left", "top"]);
451
- async function en(e, t) {
452
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = Ot(n), s = kt(n), c = Mt(n) === "y", l = $t.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Dt(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
450
+ }, en = /*#__PURE__*/ new Set(["left", "top"]);
451
+ async function tn(e, t) {
452
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = kt(n), s = At(n), c = Nt(n) === "y", l = en.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ot(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
453
453
  mainAxis: d,
454
454
  crossAxis: 0,
455
455
  alignmentAxis: null
@@ -466,13 +466,13 @@ async function en(e, t) {
466
466
  y: p * u
467
467
  };
468
468
  }
469
- var tn = function(e) {
469
+ var nn = function(e) {
470
470
  return e === void 0 && (e = 0), {
471
471
  name: "offset",
472
472
  options: e,
473
473
  async fn(t) {
474
474
  var n;
475
- let { x: r, y: i, placement: a, middlewareData: o } = t, s = await en(t, e);
475
+ let { x: r, y: i, placement: a, middlewareData: o } = t, s = await tn(t, e);
476
476
  return a === o.offset?.placement && (n = o.arrow) != null && n.alignmentOffset ? {} : {
477
477
  x: r + s.x,
478
478
  y: i + s.y,
@@ -483,7 +483,7 @@ var tn = function(e) {
483
483
  };
484
484
  }
485
485
  };
486
- }, nn = function(e) {
486
+ }, rn = function(e) {
487
487
  return e === void 0 && (e = {}), {
488
488
  name: "shift",
489
489
  options: e,
@@ -494,10 +494,10 @@ var tn = function(e) {
494
494
  x: t,
495
495
  y: n
496
496
  };
497
- } }, ...l } = Dt(e, t), u = {
497
+ } }, ...l } = Ot(e, t), u = {
498
498
  x: n,
499
499
  y: r
500
- }, d = await a.detectOverflow(t, l), f = Mt(i), p = At(f), m = u[p], h = u[f], g = (e, t) => Et(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
500
+ }, d = await a.detectOverflow(t, l), f = Nt(i), p = jt(f), m = u[p], h = u[f], g = (e, t) => Dt(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
501
501
  o && (m = g(p, m)), s && (h = g(f, h));
502
502
  let _ = c.fn({
503
503
  ...t,
@@ -520,39 +520,39 @@ var tn = function(e) {
520
520
  };
521
521
  //#endregion
522
522
  //#region ../../node_modules/.pnpm/@floating-ui+utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
523
- function rn() {
523
+ function an() {
524
524
  return typeof window < "u";
525
525
  }
526
- function an(e) {
527
- return sn(e) ? (e.nodeName || "").toLowerCase() : "#document";
526
+ function on(e) {
527
+ return cn(e) ? (e.nodeName || "").toLowerCase() : "#document";
528
528
  }
529
529
  function X(e) {
530
530
  var t;
531
531
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
532
532
  }
533
- function on(e) {
534
- return ((sn(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
535
- }
536
533
  function sn(e) {
537
- return rn() ? e instanceof Node || e instanceof X(e).Node : !1;
538
- }
539
- function Z(e) {
540
- return rn() ? e instanceof Element || e instanceof X(e).Element : !1;
534
+ return ((cn(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
541
535
  }
542
536
  function cn(e) {
543
- return rn() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
537
+ return an() ? e instanceof Node || e instanceof X(e).Node : !1;
538
+ }
539
+ function Z(e) {
540
+ return an() ? e instanceof Element || e instanceof X(e).Element : !1;
544
541
  }
545
542
  function ln(e) {
546
- return !rn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
543
+ return an() ? e instanceof HTMLElement || e instanceof X(e).HTMLElement : !1;
547
544
  }
548
545
  function un(e) {
549
- let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
550
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
546
+ return !an() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof X(e).ShadowRoot;
551
547
  }
552
548
  function dn(e) {
553
- return /^(table|td|th)$/.test(an(e));
549
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = Q(e);
550
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
554
551
  }
555
552
  function fn(e) {
553
+ return /^(table|td|th)$/.test(on(e));
554
+ }
555
+ function pn(e) {
556
556
  try {
557
557
  if (e.matches(":popover-open")) return !0;
558
558
  } catch {}
@@ -562,30 +562,30 @@ function fn(e) {
562
562
  return !1;
563
563
  }
564
564
  }
565
- var pn = /transform|translate|scale|rotate|perspective|filter/, mn = /paint|layout|strict|content/, hn = (e) => !!e && e !== "none", gn;
566
- function _n(e) {
565
+ var mn = /transform|translate|scale|rotate|perspective|filter/, hn = /paint|layout|strict|content/, gn = (e) => !!e && e !== "none", _n;
566
+ function vn(e) {
567
567
  let t = Z(e) ? Q(e) : e;
568
- return hn(t.transform) || hn(t.translate) || hn(t.scale) || hn(t.rotate) || hn(t.perspective) || !yn() && (hn(t.backdropFilter) || hn(t.filter)) || pn.test(t.willChange || "") || mn.test(t.contain || "");
568
+ return gn(t.transform) || gn(t.translate) || gn(t.scale) || gn(t.rotate) || gn(t.perspective) || !bn() && (gn(t.backdropFilter) || gn(t.filter)) || mn.test(t.willChange || "") || hn.test(t.contain || "");
569
569
  }
570
- function vn(e) {
571
- let t = Sn(e);
572
- for (; cn(t) && !bn(t);) {
573
- if (_n(t)) return t;
574
- if (fn(t)) return null;
575
- t = Sn(t);
570
+ function yn(e) {
571
+ let t = Cn(e);
572
+ for (; ln(t) && !xn(t);) {
573
+ if (vn(t)) return t;
574
+ if (pn(t)) return null;
575
+ t = Cn(t);
576
576
  }
577
577
  return null;
578
578
  }
579
- function yn() {
580
- return gn ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), gn;
579
+ function bn() {
580
+ return _n ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), _n;
581
581
  }
582
- function bn(e) {
583
- return /^(html|body|#document)$/.test(an(e));
582
+ function xn(e) {
583
+ return /^(html|body|#document)$/.test(on(e));
584
584
  }
585
585
  function Q(e) {
586
586
  return X(e).getComputedStyle(e);
587
587
  }
588
- function xn(e) {
588
+ function Sn(e) {
589
589
  return Z(e) ? {
590
590
  scrollLeft: e.scrollLeft,
591
591
  scrollTop: e.scrollTop
@@ -594,102 +594,102 @@ function xn(e) {
594
594
  scrollTop: e.scrollY
595
595
  };
596
596
  }
597
- function Sn(e) {
598
- if (an(e) === "html") return e;
599
- let t = e.assignedSlot || e.parentNode || ln(e) && e.host || on(e);
600
- return ln(t) ? t.host : t;
601
- }
602
597
  function Cn(e) {
603
- let t = Sn(e);
604
- return bn(t) ? (e.ownerDocument || e).body : cn(t) && un(t) ? t : Cn(t);
598
+ if (on(e) === "html") return e;
599
+ let t = e.assignedSlot || e.parentNode || un(e) && e.host || sn(e);
600
+ return un(t) ? t.host : t;
601
+ }
602
+ function wn(e) {
603
+ let t = Cn(e);
604
+ return xn(t) ? (e.ownerDocument || e).body : ln(t) && dn(t) ? t : wn(t);
605
605
  }
606
- function wn(e, t, n) {
606
+ function Tn(e, t, n) {
607
607
  t === void 0 && (t = []), n === void 0 && (n = !0);
608
- let r = Cn(e), i = r === e.ownerDocument?.body, a = X(r);
608
+ let r = wn(e), i = r === e.ownerDocument?.body, a = X(r);
609
609
  if (i) {
610
- let e = Tn(a);
611
- return t.concat(a, a.visualViewport || [], un(r) ? r : [], e && n ? wn(e) : []);
610
+ let e = En(a);
611
+ return t.concat(a, a.visualViewport || [], dn(r) ? r : [], e && n ? Tn(e) : []);
612
612
  }
613
- return t.concat(r, wn(r, [], n));
613
+ return t.concat(r, Tn(r, [], n));
614
614
  }
615
- function Tn(e) {
615
+ function En(e) {
616
616
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
617
617
  }
618
618
  //#endregion
619
619
  //#region ../../node_modules/.pnpm/@floating-ui+dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
620
- function En(e) {
621
- let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = cn(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = wt(n) !== a || wt(r) !== o;
620
+ function Dn(e) {
621
+ let t = Q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = ln(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = Tt(n) !== a || Tt(r) !== o;
622
622
  return s && (n = a, r = o), {
623
623
  width: n,
624
624
  height: r,
625
625
  $: s
626
626
  };
627
627
  }
628
- function Dn(e) {
628
+ function On(e) {
629
629
  return Z(e) ? e : e.contextElement;
630
630
  }
631
- function On(e) {
632
- let t = Dn(e);
633
- if (!cn(t)) return Y(1);
634
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = En(t), o = (a ? wt(n.width) : n.width) / r, s = (a ? wt(n.height) : n.height) / i;
631
+ function kn(e) {
632
+ let t = On(e);
633
+ if (!ln(t)) return Y(1);
634
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Dn(t), o = (a ? Tt(n.width) : n.width) / r, s = (a ? Tt(n.height) : n.height) / i;
635
635
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
636
636
  x: o,
637
637
  y: s
638
638
  };
639
639
  }
640
- var kn = /*#__PURE__*/ Y(0);
641
- function An(e) {
640
+ var An = /*#__PURE__*/ Y(0);
641
+ function jn(e) {
642
642
  let t = X(e);
643
- return !yn() || !t.visualViewport ? kn : {
643
+ return !bn() || !t.visualViewport ? An : {
644
644
  x: t.visualViewport.offsetLeft,
645
645
  y: t.visualViewport.offsetTop
646
646
  };
647
647
  }
648
- function jn(e, t, n) {
648
+ function Mn(e, t, n) {
649
649
  return t === void 0 && (t = !1), !!n && t && n === X(e);
650
650
  }
651
- function Mn(e, t, n, r) {
651
+ function Nn(e, t, n, r) {
652
652
  t === void 0 && (t = !1), n === void 0 && (n = !1);
653
- let i = e.getBoundingClientRect(), a = Dn(e), o = Y(1);
654
- t && (r ? Z(r) && (o = On(r)) : o = On(e));
655
- let s = jn(a, n, r) ? An(a) : Y(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
653
+ let i = e.getBoundingClientRect(), a = On(e), o = Y(1);
654
+ t && (r ? Z(r) && (o = kn(r)) : o = kn(e));
655
+ let s = Mn(a, n, r) ? jn(a) : Y(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
656
656
  if (a && r) {
657
- let e = X(a), t = Z(r) ? X(r) : r, n = e, i = Tn(n);
657
+ let e = X(a), t = Z(r) ? X(r) : r, n = e, i = En(n);
658
658
  for (; i && t !== n;) {
659
- let e = On(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
660
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = Tn(n);
659
+ let e = kn(i), t = i.getBoundingClientRect(), r = Q(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
660
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = X(i), i = En(n);
661
661
  }
662
662
  }
663
- return Kt({
663
+ return qt({
664
664
  width: u,
665
665
  height: d,
666
666
  x: c,
667
667
  y: l
668
668
  });
669
669
  }
670
- function Nn(e, t) {
671
- let n = xn(e).scrollLeft;
672
- return t ? t.left + n : Mn(on(e)).left + n;
673
- }
674
670
  function Pn(e, t) {
671
+ let n = Sn(e).scrollLeft;
672
+ return t ? t.left + n : Nn(sn(e)).left + n;
673
+ }
674
+ function Fn(e, t) {
675
675
  let n = e.getBoundingClientRect();
676
676
  return {
677
- x: n.left + t.scrollLeft - Nn(e, n),
677
+ x: n.left + t.scrollLeft - Pn(e, n),
678
678
  y: n.top + t.scrollTop
679
679
  };
680
680
  }
681
- function Fn(e) {
682
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = on(r), s = t ? fn(t.floating) : !1;
681
+ function In(e) {
682
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = sn(r), s = t ? pn(t.floating) : !1;
683
683
  if (r === o || s && a) return n;
684
684
  let c = {
685
685
  scrollLeft: 0,
686
686
  scrollTop: 0
687
- }, l = Y(1), u = Y(0), d = cn(r);
688
- if ((d || !a) && ((an(r) !== "body" || un(o)) && (c = xn(r)), d)) {
689
- let e = Mn(r);
690
- l = On(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
687
+ }, l = Y(1), u = Y(0), d = ln(r);
688
+ if ((d || !a) && ((on(r) !== "body" || dn(o)) && (c = Sn(r)), d)) {
689
+ let e = Nn(r);
690
+ l = kn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
691
691
  }
692
- let f = o && !d && !a ? Pn(o, c) : Y(0);
692
+ let f = o && !d && !a ? Fn(o, c) : Y(0);
693
693
  return {
694
694
  width: n.width * l.x,
695
695
  height: n.height * l.y,
@@ -697,29 +697,29 @@ function Fn(e) {
697
697
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
698
698
  };
699
699
  }
700
- function In(e) {
700
+ function Ln(e) {
701
701
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
702
702
  }
703
- function Ln(e) {
704
- let t = xn(e), n = e.ownerDocument.body, r = Ct(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Ct(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + Nn(e), o = -t.scrollTop;
705
- return Q(n).direction === "rtl" && (a += Ct(e.clientWidth, n.clientWidth) - r), {
703
+ function Rn(e) {
704
+ let t = Sn(e), n = e.ownerDocument.body, r = wt(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = wt(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + Pn(e), o = -t.scrollTop;
705
+ return Q(n).direction === "rtl" && (a += wt(e.clientWidth, n.clientWidth) - r), {
706
706
  width: r,
707
707
  height: i,
708
708
  x: a,
709
709
  y: o
710
710
  };
711
711
  }
712
- var Rn = 25;
713
- function zn(e, t, n) {
712
+ var zn = 25;
713
+ function Bn(e, t, n) {
714
714
  n === void 0 && (n = "viewport");
715
- let r = n === "layoutViewport", i = X(e), a = on(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
715
+ let r = n === "layoutViewport", i = X(e), a = sn(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
716
716
  if (o) {
717
- let e = !yn() || t === "fixed";
717
+ let e = !bn() || t === "fixed";
718
718
  r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
719
719
  }
720
- if (Nn(a) <= 0) {
720
+ if (Pn(a) <= 0) {
721
721
  let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
722
- o <= Rn && (s -= o);
722
+ o <= zn && (s -= o);
723
723
  }
724
724
  return {
725
725
  width: s,
@@ -728,8 +728,8 @@ function zn(e, t, n) {
728
728
  y: u
729
729
  };
730
730
  }
731
- function Bn(e, t) {
732
- let n = Mn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = On(e);
731
+ function Vn(e, t) {
732
+ let n = Nn(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = kn(e);
733
733
  return {
734
734
  width: e.clientWidth * a.x,
735
735
  height: e.clientHeight * a.y,
@@ -737,13 +737,13 @@ function Bn(e, t) {
737
737
  y: r * a.y
738
738
  };
739
739
  }
740
- function Vn(e, t, n) {
740
+ function Hn(e, t, n) {
741
741
  let r;
742
- if (t === "viewport" || t === "layoutViewport") r = zn(e, n, t);
743
- else if (t === "document") r = Ln(on(e));
744
- else if (Z(t)) r = Bn(t, n);
742
+ if (t === "viewport" || t === "layoutViewport") r = Bn(e, n, t);
743
+ else if (t === "document") r = Rn(sn(e));
744
+ else if (Z(t)) r = Vn(t, n);
745
745
  else {
746
- let n = An(e);
746
+ let n = jn(e);
747
747
  r = {
748
748
  x: t.x - n.x,
749
749
  y: t.y - n.y,
@@ -751,23 +751,23 @@ function Vn(e, t, n) {
751
751
  height: t.height
752
752
  };
753
753
  }
754
- return Kt(r);
754
+ return qt(r);
755
755
  }
756
- function Hn(e, t) {
756
+ function Un(e, t) {
757
757
  let n = t.get(e);
758
758
  if (n) return n;
759
- let r = wn(e, [], !1).filter((e) => Z(e) && an(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Sn(e) : e;
760
- for (; Z(o) && !bn(o);) {
761
- let e = Q(o), t = _n(o), n = i ? i.position : a ? "fixed" : "";
762
- !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Sn(o);
759
+ let r = Tn(e, [], !1).filter((e) => Z(e) && on(e) !== "body"), i = null, a = Q(e).position === "fixed", o = a ? Cn(e) : e;
760
+ for (; Z(o) && !xn(o);) {
761
+ let e = Q(o), t = vn(o), n = i ? i.position : a ? "fixed" : "";
762
+ !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Cn(o);
763
763
  }
764
764
  return t.set(e, r), r;
765
765
  }
766
- function Un(e) {
767
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? fn(t) ? [] : Hn(t, this._c) : [].concat(n), r], o = Vn(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
766
+ function Wn(e) {
767
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? pn(t) ? [] : Un(t, this._c) : [].concat(n), r], o = Hn(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
768
768
  for (let e = 1; e < a.length; e++) {
769
- let n = Vn(t, a[e], i);
770
- s = Ct(n.top, s), c = St(n.right, c), l = St(n.bottom, l), u = Ct(n.left, u);
769
+ let n = Hn(t, a[e], i);
770
+ s = wt(n.top, s), c = Ct(n.right, c), l = Ct(n.bottom, l), u = wt(n.left, u);
771
771
  }
772
772
  return {
773
773
  width: c - u,
@@ -776,24 +776,24 @@ function Un(e) {
776
776
  y: s
777
777
  };
778
778
  }
779
- function Wn(e) {
780
- let { width: t, height: n } = En(e);
779
+ function Gn(e) {
780
+ let { width: t, height: n } = Dn(e);
781
781
  return {
782
782
  width: t,
783
783
  height: n
784
784
  };
785
785
  }
786
- function Gn(e, t, n) {
787
- let r = cn(t), i = on(t), a = n === "fixed", o = Mn(e, !0, a, t), s = {
786
+ function Kn(e, t, n) {
787
+ let r = ln(t), i = sn(t), a = n === "fixed", o = Nn(e, !0, a, t), s = {
788
788
  scrollLeft: 0,
789
789
  scrollTop: 0
790
790
  }, c = Y(0);
791
- if ((r || !a) && ((an(t) !== "body" || un(i)) && (s = xn(t)), r)) {
792
- let e = Mn(t, !0, a, t);
791
+ if ((r || !a) && ((on(t) !== "body" || dn(i)) && (s = Sn(t)), r)) {
792
+ let e = Nn(t, !0, a, t);
793
793
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
794
794
  }
795
- !r && i && (c.x = Nn(i));
796
- let l = i && !r && !a ? Pn(i, s) : Y(0);
795
+ !r && i && (c.x = Pn(i));
796
+ let l = i && !r && !a ? Fn(i, s) : Y(0);
797
797
  return {
798
798
  x: o.left + s.scrollLeft - c.x - l.x,
799
799
  y: o.top + s.scrollTop - c.y - l.y,
@@ -801,34 +801,34 @@ function Gn(e, t, n) {
801
801
  height: o.height
802
802
  };
803
803
  }
804
- function Kn(e) {
804
+ function qn(e) {
805
805
  return Q(e).position === "static";
806
806
  }
807
- function qn(e, t) {
808
- if (!cn(e) || Q(e).position === "fixed") return null;
807
+ function Jn(e, t) {
808
+ if (!ln(e) || Q(e).position === "fixed") return null;
809
809
  if (t) return t(e);
810
810
  let n = e.offsetParent;
811
- return on(e) === n && (n = n.ownerDocument.body), n;
811
+ return sn(e) === n && (n = n.ownerDocument.body), n;
812
812
  }
813
- function Jn(e, t) {
813
+ function Yn(e, t) {
814
814
  let n = X(e);
815
- if (fn(e)) return n;
816
- if (!cn(e)) {
817
- let t = Sn(e);
818
- for (; t && !bn(t);) {
819
- if (Z(t) && !Kn(t)) return t;
820
- t = Sn(t);
815
+ if (pn(e)) return n;
816
+ if (!ln(e)) {
817
+ let t = Cn(e);
818
+ for (; t && !xn(t);) {
819
+ if (Z(t) && !qn(t)) return t;
820
+ t = Cn(t);
821
821
  }
822
822
  return n;
823
823
  }
824
- let r = qn(e, t);
825
- for (; r && dn(r) && Kn(r);) r = qn(r, t);
826
- return r && bn(r) && Kn(r) && !_n(r) ? n : r || vn(e) || n;
824
+ let r = Jn(e, t);
825
+ for (; r && fn(r) && qn(r);) r = Jn(r, t);
826
+ return r && xn(r) && qn(r) && !vn(r) ? n : r || yn(e) || n;
827
827
  }
828
- var Yn = async function(e) {
829
- let t = this.getOffsetParent || Jn, n = this.getDimensions, r = await n(e.floating);
828
+ var Xn = async function(e) {
829
+ let t = this.getOffsetParent || Yn, n = this.getDimensions, r = await n(e.floating);
830
830
  return {
831
- reference: Gn(e.reference, await t(e.floating), e.strategy),
831
+ reference: Kn(e.reference, await t(e.floating), e.strategy),
832
832
  floating: {
833
833
  x: 0,
834
834
  y: 0,
@@ -837,77 +837,77 @@ var Yn = async function(e) {
837
837
  }
838
838
  };
839
839
  };
840
- function Xn(e) {
840
+ function Zn(e) {
841
841
  return Q(e).direction === "rtl";
842
842
  }
843
- var Zn = {
844
- convertOffsetParentRelativeRectToViewportRelativeRect: Fn,
845
- getDocumentElement: on,
846
- getClippingRect: Un,
847
- getOffsetParent: Jn,
848
- getElementRects: Yn,
849
- getClientRects: In,
850
- getDimensions: Wn,
851
- getScale: On,
843
+ var Qn = {
844
+ convertOffsetParentRelativeRectToViewportRelativeRect: In,
845
+ getDocumentElement: sn,
846
+ getClippingRect: Wn,
847
+ getOffsetParent: Yn,
848
+ getElementRects: Xn,
849
+ getClientRects: Ln,
850
+ getDimensions: Gn,
851
+ getScale: kn,
852
852
  isElement: Z,
853
- isRTL: Xn
854
- }, Qn = tn, $n = nn, er = Qt, tr = Zt, nr = (e, t, n) => {
853
+ isRTL: Zn
854
+ }, $n = nn, er = rn, tr = $t, nr = Qt, rr = (e, t, n) => {
855
855
  let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
856
- ...Zn,
856
+ ...Qn,
857
857
  ...i.platform,
858
858
  _c: r
859
859
  };
860
- return Xt(e, t, {
860
+ return Zt(e, t, {
861
861
  ...i,
862
862
  platform: a
863
863
  });
864
864
  };
865
865
  //#endregion
866
866
  //#region ../../node_modules/.pnpm/@floating-ui+vue@2.0.1_vue@3.5.43_typescript@6.0.3_/node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
867
- function rr(e) {
867
+ function ir(e) {
868
868
  return typeof e == "object" && !!e && "$el" in e;
869
869
  }
870
- function ir(e) {
871
- if (rr(e)) {
870
+ function ar(e) {
871
+ if (ir(e)) {
872
872
  let t = e.$el;
873
- return sn(t) && an(t) === "#comment" ? null : t;
873
+ return cn(t) && on(t) === "#comment" ? null : t;
874
874
  }
875
875
  return e;
876
876
  }
877
- function ar(e) {
877
+ function or(e) {
878
878
  return {
879
879
  name: "arrow",
880
880
  options: e,
881
881
  fn(t) {
882
- let n = ir(Ye(e.element));
883
- return n == null ? {} : tr({
882
+ let n = ar(Xe(e.element));
883
+ return n == null ? {} : nr({
884
884
  element: n,
885
885
  padding: e.padding
886
886
  }).fn(t);
887
887
  }
888
888
  };
889
889
  }
890
- function or(e) {
890
+ function sr(e) {
891
891
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
892
892
  }
893
- function sr(e, t) {
894
- let n = or(e);
893
+ function cr(e, t) {
894
+ let n = sr(e);
895
895
  return Math.round(t * n) / n;
896
896
  }
897
- function cr(e, t, n) {
897
+ function lr(e, t, n) {
898
898
  n === void 0 && (n = {});
899
- let r = n.whileElementsMounted, i = M(() => Ye(n.open) ?? !0), a = M(() => Ye(n.middleware)), o = M(() => Ye(n.placement) ?? "bottom"), s = M(() => Ye(n.strategy) ?? "absolute"), c = M(() => Ye(n.transform) ?? !0), l = M(() => ir(e.value)), u = M(() => ir(t.value)), d = H(0), f = H(0), p = H(s.value), m = H(o.value), h = Je({}), g = H(!1), _ = M(() => {
899
+ let r = n.whileElementsMounted, i = M(() => Xe(n.open) ?? !0), a = M(() => Xe(n.middleware)), o = M(() => Xe(n.placement) ?? "bottom"), s = M(() => Xe(n.strategy) ?? "absolute"), c = M(() => Xe(n.transform) ?? !0), l = M(() => ar(e.value)), u = M(() => ar(t.value)), d = H(0), f = H(0), p = H(s.value), m = H(o.value), h = Ye({}), g = H(!1), _ = M(() => {
900
900
  let e = {
901
901
  position: p.value,
902
902
  left: "0",
903
903
  top: "0"
904
904
  };
905
905
  if (!u.value) return e;
906
- let t = sr(u.value, d.value), n = sr(u.value, f.value);
906
+ let t = cr(u.value, d.value), n = cr(u.value, f.value);
907
907
  return c.value ? {
908
908
  ...e,
909
909
  transform: "translate(" + t + "px, " + n + "px)",
910
- ...or(u.value) >= 1.5 && { willChange: "transform" }
910
+ ...sr(u.value) >= 1.5 && { willChange: "transform" }
911
911
  } : {
912
912
  position: p.value,
913
913
  left: t + "px",
@@ -917,7 +917,7 @@ function cr(e, t, n) {
917
917
  function y() {
918
918
  if (l.value == null || u.value == null) return;
919
919
  let e = i.value;
920
- nr(l.value, u.value, {
920
+ rr(l.value, u.value, {
921
921
  middleware: a.value,
922
922
  placement: o.value,
923
923
  strategy: s.value
@@ -939,68 +939,74 @@ function cr(e, t, n) {
939
939
  o,
940
940
  s,
941
941
  i
942
- ], y, { flush: "sync" }), J([l, u], x, { flush: "sync" }), J(i, S, { flush: "sync" }), Fe() && Ue(b), {
943
- x: qe(d),
944
- y: qe(f),
945
- strategy: qe(p),
946
- placement: qe(m),
947
- middlewareData: qe(h),
948
- isPositioned: qe(g),
942
+ ], y, { flush: "sync" }), J([l, u], x, { flush: "sync" }), J(i, S, { flush: "sync" }), Ie() && We(b), {
943
+ x: Je(d),
944
+ y: Je(f),
945
+ strategy: Je(p),
946
+ placement: Je(m),
947
+ middlewareData: Je(h),
948
+ isPositioned: Je(g),
949
949
  floatingStyles: _,
950
950
  update: y
951
951
  };
952
952
  }
953
953
  //#endregion
954
954
  //#region src/client/theme-default/components/TdTooltip.vue
955
- var lr = /*#__PURE__*/ k(/* @__PURE__ */ z({
955
+ var ur = /*#__PURE__*/ k(/* @__PURE__ */ z({
956
956
  inheritAttrs: !1,
957
957
  __name: "TdTooltip",
958
- props: { text: {} },
958
+ props: {
959
+ text: {},
960
+ always: {
961
+ type: Boolean,
962
+ default: !1
963
+ }
964
+ },
959
965
  setup(e) {
960
- let t = Ze("trigger"), n = Ze("tooltip"), r = Ze("arrowEl"), i = H(!1), a, o, { floatingStyles: s, middlewareData: c, placement: l } = cr(t, n, {
966
+ let t = Qe("trigger"), n = Qe("tooltip"), r = Qe("arrowEl"), i = H(!1), a, o, { floatingStyles: s, middlewareData: c, placement: l } = lr(t, n, {
961
967
  placement: "right",
962
968
  middleware: [
963
- Qn(8),
964
- er(),
965
- $n({ padding: 8 }),
966
- ar({ element: r })
969
+ $n(8),
970
+ tr(),
971
+ er({ padding: 8 }),
972
+ or({ element: r })
967
973
  ]
968
974
  });
969
975
  function u() {
970
976
  a !== void 0 && (clearTimeout(a), a = void 0), o !== void 0 && (clearTimeout(o), o = void 0);
971
977
  }
972
978
  function d() {
973
- let e = t.value;
974
- !e || e.scrollWidth <= e.clientWidth || (u(), a = setTimeout(() => {
979
+ let n = t.value;
980
+ !e.always && (!n || n.scrollWidth <= n.clientWidth) || (u(), a = setTimeout(() => {
975
981
  i.value = !0;
976
982
  }, 400));
977
983
  }
978
- Ve(u);
984
+ He(u);
979
985
  function f() {
980
986
  u(), o = setTimeout(() => {
981
987
  i.value = !1;
982
988
  }, 100);
983
989
  }
984
- return (r, a) => (V(), F(j, null, [I("span", Re({
990
+ return (r, a) => (V(), F(j, null, [I("span", ze({
985
991
  ref_key: "trigger",
986
992
  ref: t
987
993
  }, r.$attrs, {
988
994
  class: "td-tooltip-trigger",
989
995
  onMouseenter: d,
990
996
  onMouseleave: f
991
- }), [W(r.$slots, "default", {}, void 0, !0)], 16), (V(), N(Pe, { to: "body" }, [i.value ? (V(), F("div", {
997
+ }), [W(r.$slots, "default", {}, void 0, !0)], 16), (V(), N(Fe, { to: "body" }, [i.value ? (V(), F("div", {
992
998
  key: 0,
993
999
  ref_key: "tooltip",
994
1000
  ref: n,
995
1001
  class: "td-tooltip",
996
- style: Be(q(s)),
1002
+ style: Ve(q(s)),
997
1003
  role: "tooltip",
998
1004
  onMouseenter: u,
999
1005
  onMouseleave: f
1000
1006
  }, [L(K(e.text) + " ", 1), I("div", {
1001
1007
  ref: "arrowEl",
1002
1008
  class: "td-tooltip-arrow",
1003
- style: Be({
1009
+ style: Ve({
1004
1010
  left: q(c).arrow?.x === void 0 ? "" : `${q(c).arrow.x}px`,
1005
1011
  top: q(c).arrow?.y === void 0 ? "" : `${q(c).arrow.y}px`,
1006
1012
  ...q(l).startsWith("bottom") ? { top: "-4px" } : {},
@@ -1010,59 +1016,59 @@ var lr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1010
1016
  })
1011
1017
  }, null, 4)], 36)) : P("", !0)]))], 64));
1012
1018
  }
1013
- }), [["__scopeId", "data-v-fca9f648"]]);
1019
+ }), [["__scopeId", "data-v-953f5bd3"]]);
1014
1020
  //#endregion
1015
1021
  //#region src/client/theme-default/utils/renderInlineMarkup.ts
1016
- function ur(e) {
1017
- let t = H(dr(e()));
1018
- return $e((n) => {
1022
+ function dr(e) {
1023
+ let t = H(fr(e()));
1024
+ return et((n) => {
1019
1025
  let r = e();
1020
1026
  if (!r.includes("$")) {
1021
- t.value = dr(r);
1027
+ t.value = fr(r);
1022
1028
  return;
1023
1029
  }
1024
1030
  let i = !0;
1025
1031
  n(() => {
1026
1032
  i = !1;
1027
- }), import("../renderMath-BAZXLnOu.js").then(({ renderInlineMarkup: e }) => {
1033
+ }), import("../renderMath-DBw8KV_4.js").then(({ renderInlineMarkup: e }) => {
1028
1034
  i && (t.value = e(r));
1029
1035
  });
1030
1036
  }), t;
1031
1037
  }
1032
- function dr(e) {
1038
+ function fr(e) {
1033
1039
  let t = 0, n = "";
1034
- for (let r of e.matchAll(Ne)) n += p(e.slice(t, r.index)), r[1] === void 0 ? n += p(r[0]) : n += `<code>${p(r[1])}</code>`, t = r.index + r[0].length;
1040
+ for (let r of e.matchAll(Pe)) n += p(e.slice(t, r.index)), r[1] === void 0 ? n += p(r[0]) : n += `<code>${p(r[1])}</code>`, t = r.index + r[0].length;
1035
1041
  return n += p(e.slice(t)), n;
1036
1042
  }
1037
1043
  //#endregion
1038
1044
  //#region src/client/theme-default/components/TdTree/TdTreeNodeLabel.vue?vue&type=script&setup=true&lang.ts
1039
- var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1045
+ var pr = ["innerHTML"], mr = /* @__PURE__ */ z({
1040
1046
  __name: "TdTreeNodeLabel",
1041
1047
  props: { text: {} },
1042
1048
  setup(e) {
1043
- let t = ur(() => e.text);
1044
- return (e, n) => (V(), F("span", { innerHTML: q(t) }, null, 8, fr));
1049
+ let t = dr(() => e.text);
1050
+ return (e, n) => (V(), F("span", { innerHTML: q(t) }, null, 8, pr));
1045
1051
  }
1046
- }), mr = ["aria-expanded"], hr = { class: "td-tree-label" }, gr = { class: "td-tree-label-text" }, _r = ["href"], vr = { class: "td-tree-count" }, yr = ["href"], br = {
1052
+ }), hr = ["aria-expanded"], gr = { class: "td-tree-label-text" }, _r = ["href"], vr = { class: "td-tree-count" }, yr = ["href"], br = ["href"], xr = {
1047
1053
  key: 2,
1048
1054
  class: "td-tree-time"
1049
- }, xr = 5, Sr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1055
+ }, Sr = 5, Cr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1050
1056
  __name: "TdTreeNode",
1051
1057
  props: {
1052
1058
  node: {},
1053
1059
  urlPrefix: { default: "" }
1054
1060
  },
1055
1061
  setup(e) {
1056
- let t = O(), { withBase: i } = A(), a = M(() => n(e.urlPrefix, e.node.name)), s = M(() => u(e.node)), c = M(() => s.value ? r(s.value.filepath) : C(a.value)), l = M(() => i(c.value)), p = M(() => s.value?.label ?? o(e.node.name)), m = M(() => s.value?.icon ? pe(s.value.icon.name) : void 0), h = M(() => e.node.entries.filter((e) => e.kind === "dir" || !f(e.item.filepath))), _ = M(() => 0 < e.node.entries.length), v = M(() => y(e.node));
1062
+ let t = O(), { withBase: i } = A(), a = M(() => n(e.urlPrefix, e.node.name)), s = M(() => u(e.node)), c = M(() => s.value ? r(s.value.filepath) : C(a.value)), l = M(() => i(c.value)), p = M(() => s.value?.label ?? o(e.node.name)), m = M(() => s.value?.icon ? me(s.value.icon.name) : void 0), h = M(() => e.node.entries.filter((e) => e.kind === "dir" || !f(e.item.filepath))), _ = M(() => 0 < e.node.entries.length), v = M(() => y(e.node));
1057
1063
  function y(e) {
1058
1064
  let t = 0;
1059
1065
  for (let n of e.entries) n.kind === "file" ? t++ : t += y(n.node);
1060
1066
  return t;
1061
1067
  }
1062
- let b = H(!g(a.value, t.path)), x = H(!1), S = M(() => h.value.filter((e) => e.kind === "file").length), T = M(() => x.value ? 0 : Math.max(0, S.value - xr)), te = M(() => {
1068
+ let b = H(!g(a.value, t.path)), x = H(!1), S = M(() => h.value.filter((e) => e.kind === "file").length), T = M(() => x.value ? 0 : Math.max(0, S.value - Sr)), te = M(() => {
1063
1069
  if (x.value) return h.value;
1064
1070
  let e = 0;
1065
- return h.value.filter((t) => t.kind === "dir" || ++e <= xr);
1071
+ return h.value.filter((t) => t.kind === "dir" || ++e <= Sr);
1066
1072
  });
1067
1073
  J(() => t.path, (e) => {
1068
1074
  g(a.value, e) && (b.value = !1);
@@ -1076,87 +1082,107 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1076
1082
  function re(e) {
1077
1083
  e.key === "ArrowRight" && b.value ? (b.value = !1, e.preventDefault()) : e.key === "ArrowLeft" && !b.value && (b.value = !0, e.preventDefault());
1078
1084
  }
1079
- function D() {
1085
+ function ie() {
1080
1086
  b.value = !b.value;
1081
1087
  }
1082
1088
  return (e, t) => {
1083
- let n = Ke("TdTreeNode", !0);
1089
+ let n = qe("TdTreeNode", !0);
1084
1090
  return _.value ? (V(), F("div", {
1085
1091
  key: 0,
1086
1092
  class: "td-tree-node",
1087
1093
  role: "treeitem",
1088
1094
  "aria-expanded": !b.value
1089
- }, [I("div", hr, [
1090
- I("button", {
1091
- type: "button",
1092
- class: "td-tree-toggle",
1093
- onClick: D,
1094
- onKeydown: re
1095
- }, [R(q(ee), {
1095
+ }, [I("div", {
1096
+ class: "td-tree-label",
1097
+ role: "button",
1098
+ tabindex: "0",
1099
+ onClick: ie,
1100
+ onKeydown: re
1101
+ }, [
1102
+ R(q(ee), {
1096
1103
  size: 14,
1097
1104
  class: B(["td-tree-caret", { "is-collapsed": b.value }])
1098
- }, null, 8, ["class"]), I("span", gr, K(p.value), 1)], 32),
1099
- I("a", {
1100
- href: l.value,
1101
- class: B(["td-tree-index-btn", { "is-active": E(c.value) }])
1102
- }, [m.value ? (V(), N(G(m.value), {
1103
- key: 0,
1104
- size: 12
1105
- })) : E(c.value) ? (V(), N(q(ct), {
1106
- key: 1,
1107
- size: 12
1108
- })) : (V(), N(q(Ee), {
1109
- key: 2,
1110
- size: 12
1111
- }))], 10, _r),
1105
+ }, null, 8, ["class"]),
1106
+ I("span", gr, K(p.value), 1),
1107
+ R(ur, {
1108
+ text: "Open index page",
1109
+ always: ""
1110
+ }, {
1111
+ default: tt(() => [I("a", {
1112
+ href: l.value,
1113
+ class: B(["td-tree-index-btn", { "is-active": E(c.value) }]),
1114
+ onClick: t[0] ||= it(() => {}, ["stop"])
1115
+ }, [m.value ? (V(), N(G(m.value), {
1116
+ key: 0,
1117
+ size: 12
1118
+ })) : E(c.value) ? (V(), N(q(lt), {
1119
+ key: 1,
1120
+ size: 12
1121
+ })) : (V(), N(q(De), {
1122
+ key: 2,
1123
+ size: 12
1124
+ }))], 10, _r)]),
1125
+ _: 1
1126
+ }),
1112
1127
  I("span", vr, K(v.value), 1)
1113
- ]), I("div", {
1128
+ ], 32), I("div", {
1114
1129
  class: B(["td-collapse td-tree-children", { "is-collapsed": b.value }]),
1115
1130
  role: "group"
1116
- }, [I("div", null, [(V(!0), F(j, null, U(te.value, (e) => (V(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (V(), N(n, {
1117
- key: 0,
1118
- node: e.node,
1119
- "url-prefix": a.value
1120
- }, null, 8, ["node", "url-prefix"])) : (V(), F("a", {
1121
- key: 1,
1122
- href: q(i)(q(r)(e.item.filepath)),
1123
- class: B(["td-tree-link", { "is-active": E(q(r)(e.item.filepath)) }])
1124
- }, [
1125
- e.item.icon && q(pe)(e.item.icon.name) ? (V(), N(G(q(pe)(e.item.icon.name)), {
1131
+ }, [I("div", null, [
1132
+ s.value ? (V(), F("a", {
1126
1133
  key: 0,
1134
+ href: l.value,
1135
+ class: B(["td-tree-link td-tree-index-entry", { "is-active": E(c.value) }])
1136
+ }, [R(q(ye), {
1127
1137
  size: 14,
1128
1138
  class: "td-tree-file-icon"
1129
- })) : (V(), N(q(le), {
1139
+ }), t[1] ||= I("span", { class: "td-tree-link-text" }, "Overview", -1)], 10, yr)) : P("", !0),
1140
+ (V(!0), F(j, null, U(te.value, (e) => (V(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (V(), N(n, {
1141
+ key: 0,
1142
+ node: e.node,
1143
+ "url-prefix": a.value
1144
+ }, null, 8, ["node", "url-prefix"])) : (V(), F("a", {
1130
1145
  key: 1,
1131
- size: 14,
1132
- class: "td-tree-file-icon"
1133
- })),
1134
- R(lr, {
1135
- class: "td-tree-link-text",
1136
- text: q(w)(e.item.filepath, e.item.label)
1137
- }, {
1138
- default: et(() => [R(pr, { text: q(w)(e.item.filepath, e.item.label) }, null, 8, ["text"])]),
1139
- _: 2
1140
- }, 1032, ["text"]),
1141
- e.item.fileMetadata ? (V(), F("span", br, K(q(d)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1142
- ], 10, yr))], 64))), 128)), T.value > 0 && !x.value ? (V(), F("button", {
1143
- key: 0,
1144
- class: "td-tree-more",
1145
- type: "button",
1146
- onClick: ne
1147
- }, K(T.value) + " more... ", 1)) : P("", !0)])], 2)], 8, mr)) : P("", !0);
1146
+ href: q(i)(q(r)(e.item.filepath)),
1147
+ class: B(["td-tree-link", { "is-active": E(q(r)(e.item.filepath)) }])
1148
+ }, [
1149
+ e.item.icon && q(me)(e.item.icon.name) ? (V(), N(G(q(me)(e.item.icon.name)), {
1150
+ key: 0,
1151
+ size: 14,
1152
+ class: "td-tree-file-icon"
1153
+ })) : (V(), N(q(ue), {
1154
+ key: 1,
1155
+ size: 14,
1156
+ class: "td-tree-file-icon"
1157
+ })),
1158
+ R(ur, {
1159
+ class: "td-tree-link-text",
1160
+ text: q(w)(e.item.filepath, e.item.label)
1161
+ }, {
1162
+ default: tt(() => [R(mr, { text: q(w)(e.item.filepath, e.item.label) }, null, 8, ["text"])]),
1163
+ _: 2
1164
+ }, 1032, ["text"]),
1165
+ e.item.fileMetadata ? (V(), F("span", xr, K(q(d)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1166
+ ], 10, br))], 64))), 128)),
1167
+ T.value > 0 && !x.value ? (V(), F("button", {
1168
+ key: 1,
1169
+ class: "td-tree-more",
1170
+ type: "button",
1171
+ onClick: ne
1172
+ }, K(T.value) + " more... ", 1)) : P("", !0)
1173
+ ])], 2)], 8, hr)) : P("", !0);
1148
1174
  };
1149
1175
  }
1150
- }), [["__scopeId", "data-v-87fce252"]]), Cr = {
1176
+ }), [["__scopeId", "data-v-fbd1ff27"]]), wr = {
1151
1177
  class: "td-nav",
1152
1178
  "aria-label": "Site navigation"
1153
- }, wr = { role: "tree" }, Tr = ["href"], Er = {
1179
+ }, Tr = { role: "tree" }, Er = ["href"], Dr = {
1154
1180
  key: 0,
1155
1181
  class: "td-root-link-time"
1156
- }, Dr = ["href"], Or = { class: "td-root-link-text" }, kr = {
1182
+ }, Or = ["href"], kr = { class: "td-root-link-text" }, Ar = {
1157
1183
  key: 2,
1158
1184
  class: "td-root-link-time"
1159
- }, Ar = /*#__PURE__*/ k(/* @__PURE__ */ z({
1185
+ }, jr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1160
1186
  __name: "TdContentNav",
1161
1187
  props: { tree: {} },
1162
1188
  setup(e) {
@@ -1164,7 +1190,7 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1164
1190
  function o(e) {
1165
1191
  return t.path === e;
1166
1192
  }
1167
- return (e, t) => (V(), F("nav", Cr, [I("div", wr, [I("a", {
1193
+ return (e, t) => (V(), F("nav", wr, [I("div", Tr, [I("a", {
1168
1194
  href: q(n)(i.value ? q(r)(i.value.filepath) : q(C)("/")),
1169
1195
  class: B(["td-root-link", { "is-active": o(i.value ? q(r)(i.value.filepath) : q(C)("/")) }]),
1170
1196
  role: "treeitem"
@@ -1174,8 +1200,8 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1174
1200
  class: "td-root-link-icon"
1175
1201
  }),
1176
1202
  t[0] ||= I("span", { class: "td-root-link-text" }, "Overview", -1),
1177
- i.value ? (V(), F("span", Er, K(i.value.fileMetadata ? q(d)(i.value.fileMetadata.mtime) : ""), 1)) : P("", !0)
1178
- ], 10, Tr), (V(!0), F(j, null, U(a.value, (e) => (V(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (V(), N(Sr, {
1203
+ i.value ? (V(), F("span", Dr, K(i.value.fileMetadata ? q(d)(i.value.fileMetadata.mtime) : ""), 1)) : P("", !0)
1204
+ ], 10, Er), (V(!0), F(j, null, U(a.value, (e) => (V(), F(j, { key: e.kind === "dir" ? e.node.name : e.item.filepath }, [e.kind === "dir" ? (V(), N(Cr, {
1179
1205
  key: 0,
1180
1206
  node: e.node
1181
1207
  }, null, 8, ["node"])) : (V(), F("a", {
@@ -1184,38 +1210,38 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1184
1210
  class: B(["td-root-link", { "is-active": o(q(r)(e.item.filepath)) }]),
1185
1211
  role: "treeitem"
1186
1212
  }, [
1187
- e.item.icon && q(pe)(e.item.icon.name) ? (V(), N(G(q(pe)(e.item.icon.name)), {
1213
+ e.item.icon && q(me)(e.item.icon.name) ? (V(), N(G(q(me)(e.item.icon.name)), {
1188
1214
  key: 0,
1189
1215
  size: 14,
1190
1216
  class: "td-root-link-icon"
1191
- })) : (V(), N(q(le), {
1217
+ })) : (V(), N(q(ue), {
1192
1218
  key: 1,
1193
1219
  size: 14,
1194
1220
  class: "td-root-link-icon"
1195
1221
  })),
1196
- I("span", Or, K(q(w)(e.item.filepath, e.item.label)), 1),
1197
- e.item.fileMetadata ? (V(), F("span", kr, K(q(d)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1198
- ], 10, Dr))], 64))), 128))])]));
1222
+ I("span", kr, K(q(w)(e.item.filepath, e.item.label)), 1),
1223
+ e.item.fileMetadata ? (V(), F("span", Ar, K(q(d)(e.item.fileMetadata.mtime)), 1)) : P("", !0)
1224
+ ], 10, Or))], 64))), 128))])]));
1199
1225
  }
1200
- }), [["__scopeId", "data-v-d02f24f2"]]), jr = { class: "td-footer" }, Mr = { key: 0 }, Nr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1226
+ }), [["__scopeId", "data-v-d02f24f2"]]), Mr = { class: "td-footer" }, Nr = { key: 0 }, Pr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1201
1227
  __name: "TdFooter",
1202
1228
  setup(e) {
1203
1229
  let t = A(), n = (/* @__PURE__ */ new Date()).getFullYear();
1204
- return (e, r) => (V(), F("footer", jr, [r[0] ||= I("span", null, [L(" Powered by "), I("a", {
1230
+ return (e, r) => (V(), F("footer", Mr, [r[0] ||= I("span", null, [L(" Powered by "), I("a", {
1205
1231
  href: "https://github.com/huydo862003/typerighter",
1206
1232
  target: "_blank",
1207
1233
  rel: "noopener noreferrer",
1208
1234
  class: "td-footer-link"
1209
- }, "Typerighter")], -1), q(t).author || q(t).license ? (V(), F("span", Mr, [
1235
+ }, "Typerighter")], -1), q(t).author || q(t).license ? (V(), F("span", Nr, [
1210
1236
  q(t).license ? (V(), F(j, { key: 0 }, [L(K(q(t).license), 1)], 64)) : P("", !0),
1211
1237
  q(t).license && q(t).author ? (V(), F(j, { key: 1 }, [L(" · ")], 64)) : P("", !0),
1212
1238
  q(t).author ? (V(), F(j, { key: 2 }, [L("© " + K(q(n)) + " " + K(q(t).author), 1)], 64)) : P("", !0)
1213
1239
  ])) : P("", !0)]));
1214
1240
  }
1215
- }), [["__scopeId", "data-v-50e2a5bc"]]), Pr = {
1241
+ }), [["__scopeId", "data-v-50e2a5bc"]]), Fr = {
1216
1242
  key: 0,
1217
1243
  class: "td-dropdown-panel"
1218
- }, Fr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1244
+ }, Ir = /*#__PURE__*/ k(/* @__PURE__ */ z({
1219
1245
  inheritAttrs: !1,
1220
1246
  __name: "TdDropdown",
1221
1247
  props: {
@@ -1227,7 +1253,7 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1227
1253
  },
1228
1254
  emits: ["update:open"],
1229
1255
  setup(e) {
1230
- let t = Xe(e, "open"), n = Ze("wrapper");
1256
+ let t = Ze(e, "open"), n = Qe("wrapper");
1231
1257
  function r(e) {
1232
1258
  n.value?.contains(e.target) || (t.value = !1);
1233
1259
  }
@@ -1236,26 +1262,26 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1236
1262
  }
1237
1263
  return J(t, (e) => {
1238
1264
  typeof document < "u" && (e ? document.addEventListener("click", r) : document.removeEventListener("click", r));
1239
- }), We(() => {
1265
+ }), Ge(() => {
1240
1266
  typeof document < "u" && document.removeEventListener("click", r);
1241
- }), (e, r) => (V(), F("span", Re({
1267
+ }), (e, r) => (V(), F("span", ze({
1242
1268
  ref_key: "wrapper",
1243
1269
  ref: n
1244
- }, e.$attrs, { class: "td-dropdown" }), [I("span", { onClick: i }, [W(e.$slots, "trigger", {}, void 0, !0)]), t.value ? (V(), F("div", Pr, [W(e.$slots, "default", {}, void 0, !0)])) : P("", !0)], 16));
1270
+ }, e.$attrs, { class: "td-dropdown" }), [I("span", { onClick: i }, [W(e.$slots, "trigger", {}, void 0, !0)]), t.value ? (V(), F("div", Fr, [W(e.$slots, "default", {}, void 0, !0)])) : P("", !0)], 16));
1245
1271
  }
1246
- }), [["__scopeId", "data-v-80759150"]]), Ir = {
1272
+ }), [["__scopeId", "data-v-80759150"]]), Lr = {
1247
1273
  class: "td-breadcrumb",
1248
1274
  "aria-label": "Breadcrumb"
1249
- }, Lr = ["href"], Rr = {
1275
+ }, Rr = ["href"], zr = {
1250
1276
  type: "button",
1251
1277
  class: "td-breadcrumb-ellipsis"
1252
- }, zr = ["href"], Br = ["href"], Vr = {
1278
+ }, Br = ["href"], Vr = ["href"], Hr = {
1253
1279
  key: 1,
1254
1280
  class: "td-breadcrumb-current"
1255
- }, Hr = ["href"], Ur = {
1281
+ }, Ur = ["href"], Wr = {
1256
1282
  key: 1,
1257
1283
  class: "td-breadcrumb-current"
1258
- }, Wr = 3, Gr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1284
+ }, Gr = 3, Kr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1259
1285
  __name: "TdBreadcrumb",
1260
1286
  setup(e) {
1261
1287
  let t = O(), { withBase: n } = A(), r = H(!1), a = M(() => {
@@ -1273,37 +1299,37 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1273
1299
  });
1274
1300
  }
1275
1301
  return r;
1276
- }), s = M(() => Wr < a.value.length), c = M(() => a.value.slice(1, -2));
1302
+ }), s = M(() => Gr < a.value.length), c = M(() => a.value.slice(1, -2));
1277
1303
  return J(() => t.path, () => {
1278
1304
  r.value = !1;
1279
- }), (e, t) => (V(), F("nav", Ir, [I("a", {
1305
+ }), (e, t) => (V(), F("nav", Lr, [I("a", {
1280
1306
  href: a.value[0].href,
1281
1307
  class: "td-breadcrumb-link td-breadcrumb-home"
1282
- }, K(a.value[0].name), 9, Lr), s.value ? (V(), F(j, { key: 0 }, [
1308
+ }, K(a.value[0].name), 9, Rr), s.value ? (V(), F(j, { key: 0 }, [
1283
1309
  t[2] ||= I("span", {
1284
1310
  class: "td-breadcrumb-sep",
1285
1311
  "aria-hidden": "true"
1286
1312
  }, "/", -1),
1287
- R(Fr, {
1313
+ R(Ir, {
1288
1314
  open: r.value,
1289
1315
  "onUpdate:open": t[0] ||= (e) => r.value = e
1290
1316
  }, {
1291
- trigger: et(() => [I("button", Rr, [R(q(ne), { size: 14 })])]),
1292
- default: et(() => [(V(!0), F(j, null, U(c.value, (e) => (V(), F("a", {
1317
+ trigger: tt(() => [I("button", zr, [R(q(ne), { size: 14 })])]),
1318
+ default: tt(() => [(V(!0), F(j, null, U(c.value, (e) => (V(), F("a", {
1293
1319
  key: e.href,
1294
1320
  href: e.href,
1295
1321
  class: "td-breadcrumb-dropdown-item"
1296
- }, K(e.name), 9, zr))), 128))]),
1322
+ }, K(e.name), 9, Br))), 128))]),
1297
1323
  _: 1
1298
1324
  }, 8, ["open"]),
1299
1325
  (V(!0), F(j, null, U(a.value.slice(-2), (e) => (V(), F(j, { key: e.href }, [t[1] ||= I("span", {
1300
1326
  class: "td-breadcrumb-sep",
1301
1327
  "aria-hidden": "true"
1302
- }, "/", -1), e === a.value[a.value.length - 1] ? (V(), F("span", Vr, K(e.name), 1)) : (V(), F("a", {
1328
+ }, "/", -1), e === a.value[a.value.length - 1] ? (V(), F("span", Hr, K(e.name), 1)) : (V(), F("a", {
1303
1329
  key: 0,
1304
1330
  href: e.href,
1305
1331
  class: "td-breadcrumb-link"
1306
- }, K(e.name), 9, Br))], 64))), 128))
1332
+ }, K(e.name), 9, Vr))], 64))), 128))
1307
1333
  ], 64)) : (V(!0), F(j, { key: 1 }, U(a.value.slice(1), (e, n) => (V(), F(j, { key: e.href }, [t[3] ||= I("span", {
1308
1334
  class: "td-breadcrumb-sep",
1309
1335
  "aria-hidden": "true"
@@ -1311,81 +1337,81 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1311
1337
  key: 0,
1312
1338
  href: e.href,
1313
1339
  class: "td-breadcrumb-link"
1314
- }, K(e.name), 9, Hr)) : (V(), F("span", Ur, K(e.name), 1))], 64))), 128))]));
1340
+ }, K(e.name), 9, Ur)) : (V(), F("span", Wr, K(e.name), 1))], 64))), 128))]));
1315
1341
  }
1316
- }), [["__scopeId", "data-v-3400a7c6"]]), Kr = {
1342
+ }), [["__scopeId", "data-v-3400a7c6"]]), qr = {
1317
1343
  key: 0,
1318
1344
  class: "td-header-nav"
1319
- }, qr = [
1345
+ }, Jr = [
1320
1346
  "href",
1321
1347
  "target",
1322
1348
  "rel"
1323
- ], Jr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1349
+ ], Yr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1324
1350
  __name: "TdHeaderNavBar",
1325
1351
  setup(e) {
1326
1352
  let n = A(), { withBase: r } = n, i = O();
1327
1353
  function a(e) {
1328
1354
  return !t(e) && i.path.startsWith(r(e));
1329
1355
  }
1330
- return (e, i) => q(n).nav?.length ? (V(), F("nav", Kr, [(V(!0), F(j, null, U(q(n).nav, (e) => (V(), F("a", {
1356
+ return (e, i) => q(n).nav?.length ? (V(), F("nav", qr, [(V(!0), F(j, null, U(q(n).nav, (e) => (V(), F("a", {
1331
1357
  key: e.link,
1332
1358
  href: q(t)(e.link) ? e.link : q(r)(e.link),
1333
1359
  target: q(t)(e.link) ? "_blank" : void 0,
1334
1360
  rel: q(t)(e.link) ? "noopener noreferrer" : void 0,
1335
1361
  class: B(["td-header-nav-link", { "is-active": a(e.link) }])
1336
- }, [L(K(e.title), 1), q(t)(e.link) ? (V(), N(q(ie), {
1362
+ }, [L(K(e.title), 1), q(t)(e.link) ? (V(), N(q(oe), {
1337
1363
  key: 0,
1338
1364
  size: 14
1339
- })) : P("", !0)], 10, qr))), 128))])) : P("", !0);
1365
+ })) : P("", !0)], 10, Jr))), 128))])) : P("", !0);
1340
1366
  }
1341
- }), [["__scopeId", "data-v-f416755c"]]), Yr = {
1367
+ }), [["__scopeId", "data-v-f416755c"]]), Xr = {
1342
1368
  key: 0,
1343
1369
  class: "td-menu-nav"
1344
- }, Xr = [
1370
+ }, Zr = [
1345
1371
  "href",
1346
1372
  "target",
1347
1373
  "rel"
1348
- ], Zr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1374
+ ], Qr = /*#__PURE__*/ k(/* @__PURE__ */ z({
1349
1375
  __name: "TdHeaderNavMenu",
1350
1376
  setup(e) {
1351
1377
  let n = A(), { withBase: r } = n, i = O();
1352
1378
  function a(e) {
1353
1379
  return !t(e) && i.path.startsWith(r(e));
1354
1380
  }
1355
- return (e, i) => q(n).nav?.length ? (V(), F("nav", Yr, [(V(!0), F(j, null, U(q(n).nav, (e) => (V(), F("a", {
1381
+ return (e, i) => q(n).nav?.length ? (V(), F("nav", Xr, [(V(!0), F(j, null, U(q(n).nav, (e) => (V(), F("a", {
1356
1382
  key: e.link,
1357
1383
  href: q(t)(e.link) ? e.link : q(r)(e.link),
1358
1384
  target: q(t)(e.link) ? "_blank" : void 0,
1359
1385
  rel: q(t)(e.link) ? "noopener noreferrer" : void 0,
1360
1386
  class: B(["td-menu-nav-item", { "is-active": a(e.link) }])
1361
1387
  }, [
1362
- e.icon ? (V(), N(we, {
1388
+ e.icon ? (V(), N(Te, {
1363
1389
  key: 0,
1364
1390
  name: e.icon,
1365
1391
  size: 16
1366
1392
  }, null, 8, ["name"])) : P("", !0),
1367
1393
  I("span", null, K(e.title), 1),
1368
- q(t)(e.link) ? (V(), N(q(ie), {
1394
+ q(t)(e.link) ? (V(), N(q(oe), {
1369
1395
  key: 1,
1370
1396
  size: 14
1371
1397
  })) : P("", !0)
1372
- ], 10, Xr))), 128))])) : P("", !0);
1398
+ ], 10, Zr))), 128))])) : P("", !0);
1373
1399
  }
1374
- }), [["__scopeId", "data-v-f3c16d10"]]), Qr = { class: "td-widget-checkbox" }, $r = /*#__PURE__*/ k(/* @__PURE__ */ z({
1400
+ }), [["__scopeId", "data-v-f3c16d10"]]), $r = { class: "td-widget-checkbox" }, ei = /*#__PURE__*/ k(/* @__PURE__ */ z({
1375
1401
  __name: "TdWidgetCheckbox",
1376
1402
  props: { value: {} },
1377
1403
  setup(e) {
1378
- return (t, n) => (V(), F("span", Qr, [e.value ? (V(), N(q(ft), {
1404
+ return (t, n) => (V(), F("span", $r, [e.value ? (V(), N(q(pt), {
1379
1405
  key: 0,
1380
1406
  size: 16,
1381
1407
  class: "td-widget-checkbox-icon is-checked"
1382
- })) : (V(), N(q(Te), {
1408
+ })) : (V(), N(q(Ee), {
1383
1409
  key: 1,
1384
1410
  size: 16,
1385
1411
  class: "td-widget-checkbox-icon"
1386
1412
  }))]));
1387
1413
  }
1388
- }), [["__scopeId", "data-v-13241c06"]]), ei = /* @__PURE__ */ new Set([
1414
+ }), [["__scopeId", "data-v-13241c06"]]), ti = /* @__PURE__ */ new Set([
1389
1415
  "png",
1390
1416
  "jpg",
1391
1417
  "jpeg",
@@ -1397,11 +1423,11 @@ var fr = ["innerHTML"], pr = /* @__PURE__ */ z({
1397
1423
  "ico",
1398
1424
  "tiff"
1399
1425
  ]);
1400
- function ti(e) {
1426
+ function ni(e) {
1401
1427
  if (!e) return;
1402
1428
  if (typeof e == "string") {
1403
1429
  let t = e.trim();
1404
- return !t || !ni({ url: t }) ? void 0 : {
1430
+ return !t || !ri({ url: t }) ? void 0 : {
1405
1431
  url: t,
1406
1432
  name: a(t),
1407
1433
  isImage: !0
@@ -1416,24 +1442,24 @@ function ti(e) {
1416
1442
  name: i,
1417
1443
  format: o,
1418
1444
  icon: n.icon,
1419
- isImage: ni({
1445
+ isImage: ri({
1420
1446
  url: r,
1421
1447
  name: i,
1422
1448
  format: o
1423
1449
  })
1424
1450
  };
1425
1451
  }
1426
- function ni(e) {
1427
- if (e.format && ei.has(e.format.toLowerCase())) return !0;
1452
+ function ri(e) {
1453
+ if (e.format && ti.has(e.format.toLowerCase())) return !0;
1428
1454
  let t = s(e.name || e.url).slice(1);
1429
- return t ? ei.has(t.toLowerCase()) : !1;
1455
+ return t ? ti.has(t.toLowerCase()) : !1;
1430
1456
  }
1431
1457
  //#endregion
1432
1458
  //#region src/client/theme-default/components/TdFrontmatter/widgets/TdWidgetRelation.vue?vue&type=script&setup=true&lang.ts
1433
- var ri = {
1459
+ var ii = {
1434
1460
  key: 0,
1435
1461
  class: "td-widget-relation-wrapper"
1436
- }, ii = ["href", "title"], ai = ["src", "alt"], oi = ["href"], si = { class: "td-widget-file-name" }, ci = ["href"], li = ["href"], ui = { key: 1 }, di = /*#__PURE__*/ k(/* @__PURE__ */ z({
1462
+ }, ai = ["href", "title"], oi = ["src", "alt"], si = ["href"], ci = { class: "td-widget-file-name" }, li = ["href"], ui = ["href"], di = { key: 1 }, fi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1437
1463
  __name: "TdWidgetRelation",
1438
1464
  props: {
1439
1465
  value: {},
@@ -1443,8 +1469,8 @@ var ri = {
1443
1469
  }
1444
1470
  },
1445
1471
  setup(e) {
1446
- let { withBase: n } = A(), r = M(() => ti(e.value)), i = M(() => r.value?.icon ? pe(r.value.icon.name) : void 0), a = M(() => r.value !== void 0 && t(r.value.url));
1447
- return (t, o) => r.value ? (V(), F("span", ri, [r.value.isImage ? (V(), F("a", {
1472
+ let { withBase: n } = A(), r = M(() => ni(e.value)), i = M(() => r.value?.icon ? me(r.value.icon.name) : void 0), a = M(() => r.value !== void 0 && t(r.value.url));
1473
+ return (t, o) => r.value ? (V(), F("span", ii, [r.value.isImage ? (V(), F("a", {
1448
1474
  key: 0,
1449
1475
  href: q(n)(r.value.url),
1450
1476
  target: "_blank",
@@ -1456,22 +1482,22 @@ var ri = {
1456
1482
  alt: r.value.name,
1457
1483
  class: "td-widget-image-img",
1458
1484
  loading: "lazy"
1459
- }, null, 8, ai)], 8, ii)) : r.value.format || r.value.url.includes(".") ? (V(), F("a", {
1485
+ }, null, 8, oi)], 8, ai)) : r.value.format || r.value.url.includes(".") ? (V(), F("a", {
1460
1486
  key: 1,
1461
1487
  href: q(n)(r.value.url),
1462
1488
  target: "_blank",
1463
1489
  rel: "noopener noreferrer",
1464
1490
  class: "td-widget-file-link"
1465
- }, [R(q(E), { class: "td-widget-file-icon" }), I("span", si, K(r.value.name), 1)], 8, oi)) : a.value ? (V(), F("a", {
1491
+ }, [R(q(E), { class: "td-widget-file-icon" }), I("span", ci, K(r.value.name), 1)], 8, si)) : a.value ? (V(), F("a", {
1466
1492
  key: 2,
1467
1493
  href: r.value.url,
1468
1494
  target: "_blank",
1469
1495
  rel: "noopener noreferrer",
1470
1496
  class: "td-widget-ref td-widget-ref-external"
1471
- }, [R(q(ie), {
1497
+ }, [R(q(oe), {
1472
1498
  size: 12,
1473
1499
  class: "td-widget-external-icon"
1474
- })], 8, ci)) : (V(), F("a", {
1500
+ })], 8, li)) : (V(), F("a", {
1475
1501
  key: 3,
1476
1502
  href: q(n)(r.value.url),
1477
1503
  class: "td-widget-ref"
@@ -1479,26 +1505,26 @@ var ri = {
1479
1505
  key: 0,
1480
1506
  size: 14,
1481
1507
  class: "td-widget-ref-icon"
1482
- })) : P("", !0), L(K(r.value.name), 1)], 8, li))])) : (V(), F("span", ui, K(e.value), 1));
1508
+ })) : P("", !0), L(K(r.value.name), 1)], 8, ui))])) : (V(), F("span", di, K(e.value), 1));
1483
1509
  }
1484
- }), [["__scopeId", "data-v-e593af69"]]), fi = { key: 0 }, pi = { class: "td-widget-list td-widget-list-icons" }, mi = { key: 1 }, hi = { class: "td-widget-list" }, gi = 5, _i = /*#__PURE__*/ k(/* @__PURE__ */ z({
1510
+ }), [["__scopeId", "data-v-e593af69"]]), pi = { key: 0 }, mi = { class: "td-widget-list td-widget-list-icons" }, hi = { key: 1 }, gi = { class: "td-widget-list" }, _i = 5, vi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1485
1511
  __name: "TdWidgetList",
1486
1512
  props: {
1487
1513
  definition: {},
1488
1514
  value: {}
1489
1515
  },
1490
1516
  setup(e) {
1491
- let t = H(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => e.definition.items?.widget === "relation"), i = M(() => r.value ? n.value.map((e) => ti(e)).filter((e) => e !== void 0) : []), a = M(() => r.value ? Math.max(0, i.value.length - gi) : Math.max(0, n.value.length - gi));
1517
+ let t = H(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => e.definition.items?.widget === "relation"), i = M(() => r.value ? n.value.map((e) => ni(e)).filter((e) => e !== void 0) : []), a = M(() => r.value ? Math.max(0, i.value.length - _i) : Math.max(0, n.value.length - _i));
1492
1518
  function o() {
1493
1519
  t.value = !t.value;
1494
1520
  }
1495
1521
  function s(e) {
1496
- return t.value ? e : e.slice(0, gi);
1522
+ return t.value ? e : e.slice(0, _i);
1497
1523
  }
1498
- return (e, c) => r.value ? (V(), F("div", fi, [I("ul", pi, [(V(!0), F(j, null, U(s(i.value), (e, t) => (V(), F("li", { key: t }, [(V(), N(G(e.icon ? q(pe)(e.icon.name) ?? q(le) : q(le)), {
1524
+ return (e, c) => r.value ? (V(), F("div", pi, [I("ul", mi, [(V(!0), F(j, null, U(s(i.value), (e, t) => (V(), F("li", { key: t }, [(V(), N(G(e.icon ? q(me)(e.icon.name) ?? q(ue) : q(ue)), {
1499
1525
  size: 14,
1500
1526
  class: "td-widget-list-icon"
1501
- })), R(di, {
1527
+ })), R(fi, {
1502
1528
  value: { $ref: e },
1503
1529
  "hide-icon": ""
1504
1530
  }, null, 8, ["value"])]))), 128))]), a.value > 0 ? (V(), F("button", {
@@ -1506,7 +1532,7 @@ var ri = {
1506
1532
  class: "td-widget-more",
1507
1533
  type: "button",
1508
1534
  onClick: o
1509
- }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)])) : (V(), F("div", mi, [I("ul", hi, [(V(!0), F(j, null, U(s(n.value), (e, t) => (V(), F("li", { key: t }, [q(ti)(e) ? (V(), N(di, {
1535
+ }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)])) : (V(), F("div", hi, [I("ul", gi, [(V(!0), F(j, null, U(s(n.value), (e, t) => (V(), F("li", { key: t }, [q(ni)(e) ? (V(), N(fi, {
1510
1536
  key: 0,
1511
1537
  value: e
1512
1538
  }, null, 8, ["value"])) : (V(), F(j, { key: 1 }, [L(K(e), 1)], 64))]))), 128))]), a.value > 0 ? (V(), F("button", {
@@ -1516,7 +1542,7 @@ var ri = {
1516
1542
  onClick: o
1517
1543
  }, K(t.value ? "show less" : `+${a.value} more`), 1)) : P("", !0)]));
1518
1544
  }
1519
- }), [["__scopeId", "data-v-d8bb2881"]]), vi = [
1545
+ }), [["__scopeId", "data-v-d8bb2881"]]), yi = [
1520
1546
  {
1521
1547
  fg: "#a0522d",
1522
1548
  bg: "rgba(160, 82, 45, 0.1)"
@@ -1550,32 +1576,32 @@ var ri = {
1550
1576
  bg: "rgba(239, 68, 68, 0.1)"
1551
1577
  }
1552
1578
  ];
1553
- function yi(e) {
1554
- let t = vi[bi(String(e ?? "")) % vi.length];
1579
+ function bi(e) {
1580
+ let t = yi[xi(String(e ?? "")) % yi.length];
1555
1581
  return {
1556
1582
  color: t.fg,
1557
1583
  background: t.bg
1558
1584
  };
1559
1585
  }
1560
- function bi(e) {
1586
+ function xi(e) {
1561
1587
  let t = 0;
1562
1588
  for (let n = 0; n < e.length; n++) t = (t << 5) - t + e.charCodeAt(n) | 0;
1563
1589
  return Math.abs(t);
1564
1590
  }
1565
1591
  //#endregion
1566
1592
  //#region src/client/theme-default/components/TdFrontmatter/widgets/TdWidgetMultiSelect.vue?vue&type=script&setup=true&lang.ts
1567
- var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1593
+ var Si = 5, Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1568
1594
  __name: "TdWidgetMultiSelect",
1569
1595
  props: { value: {} },
1570
1596
  setup(e) {
1571
- let t = H(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => t.value ? n.value : n.value.slice(0, xi)), i = M(() => Math.max(0, n.value.length - xi));
1597
+ let t = H(!1), n = M(() => Array.isArray(e.value) ? e.value : []), r = M(() => t.value ? n.value : n.value.slice(0, Si)), i = M(() => Math.max(0, n.value.length - Si));
1572
1598
  function a() {
1573
1599
  t.value = !t.value;
1574
1600
  }
1575
1601
  return (e, n) => (V(), F(j, null, [(V(!0), F(j, null, U(r.value, (e, t) => (V(), F("span", {
1576
1602
  key: t,
1577
1603
  class: "td-widget-pill",
1578
- style: Be(q(yi)(e))
1604
+ style: Ve(q(bi)(e))
1579
1605
  }, K(e), 5))), 128)), i.value > 0 ? (V(), F("button", {
1580
1606
  key: 0,
1581
1607
  class: "td-widget-more",
@@ -1583,23 +1609,23 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1583
1609
  onClick: a
1584
1610
  }, K(t.value ? "show less" : `+${i.value} more`), 1)) : P("", !0)], 64));
1585
1611
  }
1586
- }), [["__scopeId", "data-v-2f88152d"]]), Ci = /*#__PURE__*/ k(/* @__PURE__ */ z({
1612
+ }), [["__scopeId", "data-v-2f88152d"]]), wi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1587
1613
  __name: "TdWidgetSelect",
1588
1614
  props: { value: {} },
1589
1615
  setup(e) {
1590
1616
  return (t, n) => (V(), F("span", {
1591
1617
  class: "td-widget-pill",
1592
- style: Be(q(yi)(e.value))
1618
+ style: Ve(q(bi)(e.value))
1593
1619
  }, K(e.value), 5));
1594
1620
  }
1595
- }), [["__scopeId", "data-v-b9e2b4fd"]]), wi = ["href", "title"], Ti = ["src", "alt"], Ei = ["href"], Di = { class: "td-widget-file-name" }, Oi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1621
+ }), [["__scopeId", "data-v-b9e2b4fd"]]), Ti = ["href", "title"], Ei = ["src", "alt"], Di = ["href"], Oi = { class: "td-widget-file-name" }, ki = /*#__PURE__*/ k(/* @__PURE__ */ z({
1596
1622
  __name: "TdWidgetText",
1597
1623
  props: {
1598
1624
  definition: {},
1599
1625
  value: {}
1600
1626
  },
1601
1627
  setup(e) {
1602
- let { withBase: t } = A(), n = M(() => typeof e.value == "string" ? e.value.trim() : ""), r = M(() => ti(e.value)), i = M(() => r.value ? r.value.isImage : 0 < n.value.length && ni({ url: n.value })), a = M(() => r.value ? r.value.url : n.value), o = M(() => t(a.value)), s = M(() => !n.value || !n.value.includes(".") || n.value.includes(" ") ? !1 : n.value.endsWith(".pdf") || n.value.endsWith(".zip") || n.value.endsWith(".doc") || n.value.endsWith(".docx"));
1628
+ let { withBase: t } = A(), n = M(() => typeof e.value == "string" ? e.value.trim() : ""), r = M(() => ni(e.value)), i = M(() => r.value ? r.value.isImage : 0 < n.value.length && ri({ url: n.value })), a = M(() => r.value ? r.value.url : n.value), o = M(() => t(a.value)), s = M(() => !n.value || !n.value.includes(".") || n.value.includes(" ") ? !1 : n.value.endsWith(".pdf") || n.value.endsWith(".zip") || n.value.endsWith(".doc") || n.value.endsWith(".docx"));
1603
1629
  function c(t) {
1604
1630
  return t == null ? "" : e.definition.widget === "date" ? v(String(t)) : String(t);
1605
1631
  }
@@ -1615,53 +1641,53 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1615
1641
  alt: r.value ? r.value.name : n.value,
1616
1642
  class: "td-widget-image-img",
1617
1643
  loading: "lazy"
1618
- }, null, 8, Ti)], 8, wi)) : s.value ? (V(), F("a", {
1644
+ }, null, 8, Ei)], 8, Ti)) : s.value ? (V(), F("a", {
1619
1645
  key: 1,
1620
1646
  href: o.value,
1621
1647
  target: "_blank",
1622
1648
  rel: "noopener noreferrer",
1623
1649
  class: "td-widget-file-link"
1624
- }, [R(q(E), { class: "td-widget-file-icon" }), I("span", Di, K(n.value.split("/").pop() ?? n.value), 1)], 8, Ei)) : (V(), F(j, { key: 2 }, [L(K(c(e.value)), 1)], 64));
1650
+ }, [R(q(E), { class: "td-widget-file-icon" }), I("span", Oi, K(n.value.split("/").pop() ?? n.value), 1)], 8, Di)) : (V(), F(j, { key: 2 }, [L(K(c(e.value)), 1)], 64));
1625
1651
  }
1626
- }), [["__scopeId", "data-v-37708635"]]), ki = {
1652
+ }), [["__scopeId", "data-v-37708635"]]), Ai = {
1627
1653
  key: 0,
1628
1654
  class: "td-frontmatter-empty"
1629
- }, Ai = /*#__PURE__*/ k(/* @__PURE__ */ z({
1655
+ }, ji = /*#__PURE__*/ k(/* @__PURE__ */ z({
1630
1656
  __name: "TdFrontmatterValue",
1631
1657
  props: {
1632
1658
  definition: {},
1633
1659
  value: {}
1634
1660
  },
1635
1661
  setup(e) {
1636
- return (t, n) => e.value === void 0 || e.value === null ? (V(), F("span", ki, "Empty")) : e.definition.widget === "checkbox" ? (V(), N($r, {
1662
+ return (t, n) => e.value === void 0 || e.value === null ? (V(), F("span", Ai, "Empty")) : e.definition.widget === "checkbox" ? (V(), N(ei, {
1637
1663
  key: 1,
1638
1664
  value: e.value
1639
- }, null, 8, ["value"])) : e.definition.widget === "select" ? (V(), N(Ci, {
1665
+ }, null, 8, ["value"])) : e.definition.widget === "select" ? (V(), N(wi, {
1640
1666
  key: 2,
1641
1667
  value: e.value
1642
- }, null, 8, ["value"])) : e.definition.widget === "multiSelect" ? (V(), N(Si, {
1668
+ }, null, 8, ["value"])) : e.definition.widget === "multiSelect" ? (V(), N(Ci, {
1643
1669
  key: 3,
1644
1670
  value: e.value
1645
- }, null, 8, ["value"])) : q(ti)(e.value) || e.definition.widget === "relation" ? (V(), N(di, {
1671
+ }, null, 8, ["value"])) : q(ni)(e.value) || e.definition.widget === "relation" ? (V(), N(fi, {
1646
1672
  key: 4,
1647
1673
  value: e.value
1648
- }, null, 8, ["value"])) : Array.isArray(e.value) || e.definition.widget === "list" ? (V(), N(_i, {
1674
+ }, null, 8, ["value"])) : Array.isArray(e.value) || e.definition.widget === "list" ? (V(), N(vi, {
1649
1675
  key: 5,
1650
1676
  definition: e.definition,
1651
1677
  value: e.value
1652
- }, null, 8, ["definition", "value"])) : (V(), N(Oi, {
1678
+ }, null, 8, ["definition", "value"])) : (V(), N(ki, {
1653
1679
  key: 6,
1654
1680
  definition: e.definition,
1655
1681
  value: e.value
1656
1682
  }, null, 8, ["definition", "value"]));
1657
1683
  }
1658
- }), [["__scopeId", "data-v-1deedc98"]]), ji = {
1684
+ }), [["__scopeId", "data-v-1deedc98"]]), Mi = {
1659
1685
  key: 0,
1660
1686
  class: "td-fm-rail"
1661
- }, Mi = { class: "td-fm-rail-key" }, Ni = { class: "td-fm-rail-value" }, Pi = {
1687
+ }, Ni = { class: "td-fm-rail-key" }, Pi = { class: "td-fm-rail-value" }, Fi = {
1662
1688
  key: 1,
1663
1689
  class: "td-fm-box"
1664
- }, Fi = { class: "td-fm-box-label" }, Ii = { class: "td-fm-box-count" }, Li = { class: "td-fm-box-toggle" }, Ri = { class: "td-fm-box-body" }, zi = { class: "td-fm-box-key" }, Bi = { class: "td-fm-box-value" }, Vi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1690
+ }, Ii = { class: "td-fm-box-label" }, Li = { class: "td-fm-box-count" }, Ri = { class: "td-fm-box-toggle" }, zi = { class: "td-fm-box-body" }, Bi = { class: "td-fm-box-key" }, Vi = { class: "td-fm-box-value" }, Hi = /*#__PURE__*/ k(/* @__PURE__ */ z({
1665
1691
  __name: "TdFrontmatter",
1666
1692
  props: {
1667
1693
  mode: { default: "inline" },
@@ -1669,7 +1695,7 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1669
1695
  frontmatter: {}
1670
1696
  },
1671
1697
  setup(e) {
1672
- let t = _e(), n = M(() => {
1698
+ let t = ve(), n = M(() => {
1673
1699
  if (e.schema) return t.value.schemas[e.schema];
1674
1700
  }), r = M(() => {
1675
1701
  let t = n.value, r = [], i = /* @__PURE__ */ new Set();
@@ -1683,15 +1709,15 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1683
1709
  }
1684
1710
  return r;
1685
1711
  }), i = {
1686
- text: mt,
1687
- checkbox: it,
1688
- select: he,
1689
- multiSelect: pt,
1690
- relation: ie,
1691
- list: ce
1712
+ text: ht,
1713
+ checkbox: at,
1714
+ select: ge,
1715
+ multiSelect: mt,
1716
+ relation: oe,
1717
+ list: le
1692
1718
  };
1693
1719
  function a(e) {
1694
- return i[e] ?? mt;
1720
+ return i[e] ?? ht;
1695
1721
  }
1696
1722
  let s = H(!1), c = H(!1);
1697
1723
  function l() {
@@ -1700,7 +1726,7 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1700
1726
  function u() {
1701
1727
  c.value = !c.value;
1702
1728
  }
1703
- return (t, n) => e.mode === "rail" && r.value.length > 0 ? (V(), F("div", ji, [I("button", {
1729
+ return (t, n) => e.mode === "rail" && r.value.length > 0 ? (V(), F("div", Mi, [I("button", {
1704
1730
  type: "button",
1705
1731
  class: "td-fm-rail-header",
1706
1732
  onClick: u
@@ -1710,43 +1736,43 @@ var xi = 5, Si = /*#__PURE__*/ k(/* @__PURE__ */ z({
1710
1736
  }, null, 8, ["class"])]), I("div", { class: B(["td-collapse", { "is-collapsed": c.value }]) }, [I("div", null, [(V(!0), F(j, null, U(r.value, ([t, n]) => (V(), F("div", {
1711
1737
  key: t,
1712
1738
  class: "td-fm-rail-row"
1713
- }, [I("span", Mi, [(V(), N(G(a(n.widget)), {
1739
+ }, [I("span", Ni, [(V(), N(G(a(n.widget)), {
1714
1740
  size: 12,
1715
1741
  class: "td-fm-icon"
1716
- })), L(" " + K(q(o)(t)), 1)]), I("span", Ni, [R(Ai, {
1742
+ })), L(" " + K(q(o)(t)), 1)]), I("span", Pi, [R(ji, {
1717
1743
  definition: n,
1718
1744
  value: e.frontmatter[t]
1719
- }, null, 8, ["definition", "value"])])]))), 128))])], 2)])) : r.value.length > 0 ? (V(), F("div", Pi, [I("button", {
1745
+ }, null, 8, ["definition", "value"])])]))), 128))])], 2)])) : r.value.length > 0 ? (V(), F("div", Fi, [I("button", {
1720
1746
  type: "button",
1721
1747
  class: "td-fm-box-header",
1722
1748
  onClick: l
1723
- }, [I("span", Fi, [n[1] ||= L("Properties ", -1), I("span", Ii, K(r.value.length), 1)]), I("span", Li, [L(K(s.value ? "Show" : "Hide") + " ", 1), s.value ? (V(), N(q(oe), {
1749
+ }, [I("span", Ii, [n[1] ||= L("Properties ", -1), I("span", Li, K(r.value.length), 1)]), I("span", Ri, [L(K(s.value ? "Show" : "Hide") + " ", 1), s.value ? (V(), N(q(se), {
1724
1750
  key: 1,
1725
1751
  size: 14
1726
1752
  })) : (V(), N(q(ee), {
1727
1753
  key: 0,
1728
1754
  size: 14
1729
- }))])]), I("div", { class: B(["td-collapse", { "is-collapsed": s.value }]) }, [I("div", Ri, [(V(!0), F(j, null, U(r.value, ([t, n]) => (V(), F(j, { key: t }, [I("span", zi, [(V(), N(G(a(n.widget)), {
1755
+ }))])]), I("div", { class: B(["td-collapse", { "is-collapsed": s.value }]) }, [I("div", zi, [(V(!0), F(j, null, U(r.value, ([t, n]) => (V(), F(j, { key: t }, [I("span", Bi, [(V(), N(G(a(n.widget)), {
1730
1756
  size: 12,
1731
1757
  class: "td-fm-icon"
1732
- })), L(" " + K(q(o)(t)), 1)]), I("span", Bi, [R(Ai, {
1758
+ })), L(" " + K(q(o)(t)), 1)]), I("span", Vi, [R(ji, {
1733
1759
  definition: n,
1734
1760
  value: e.frontmatter[t]
1735
1761
  }, null, 8, ["definition", "value"])])], 64))), 128))])], 2)])) : P("", !0);
1736
1762
  }
1737
- }), [["__scopeId", "data-v-1b3924e7"]]), Hi = H(!1);
1738
- function Ui() {
1763
+ }), [["__scopeId", "data-v-1b3924e7"]]), Ui = H(!1);
1764
+ function Wi() {
1739
1765
  function e() {
1740
- Hi.value = !Hi.value;
1766
+ Ui.value = !Ui.value;
1741
1767
  }
1742
1768
  function t() {
1743
- Hi.value = !0;
1769
+ Ui.value = !0;
1744
1770
  }
1745
1771
  function n() {
1746
- Hi.value = !1;
1772
+ Ui.value = !1;
1747
1773
  }
1748
1774
  return {
1749
- isOpen: Ge(Hi),
1775
+ isOpen: Ke(Ui),
1750
1776
  toggle: e,
1751
1777
  open: t,
1752
1778
  close: n
@@ -1754,20 +1780,20 @@ function Ui() {
1754
1780
  }
1755
1781
  //#endregion
1756
1782
  //#region src/client/theme-default/components/TdMenuButton.vue
1757
- var Wi = /* @__PURE__ */ z({
1783
+ var Gi = /* @__PURE__ */ z({
1758
1784
  __name: "TdMenuButton",
1759
1785
  setup(e) {
1760
- let { isOpen: t, toggle: n } = Ui();
1761
- return (e, r) => (V(), N(xt, {
1786
+ let { isOpen: t, toggle: n } = Wi();
1787
+ return (e, r) => (V(), N(St, {
1762
1788
  class: "td-menu-button",
1763
1789
  label: q(t) ? "Close menu" : "Open menu",
1764
1790
  "aria-expanded": q(t),
1765
1791
  onClick: q(n)
1766
1792
  }, {
1767
- default: et(() => [q(t) ? (V(), N(q(ge), {
1793
+ default: tt(() => [q(t) ? (V(), N(q(_e), {
1768
1794
  key: 0,
1769
1795
  size: 20
1770
- })) : (V(), N(q(De), {
1796
+ })) : (V(), N(q(Oe), {
1771
1797
  key: 1,
1772
1798
  size: 20
1773
1799
  }))]),
@@ -1781,9 +1807,9 @@ var Wi = /* @__PURE__ */ z({
1781
1807
  });
1782
1808
  //#endregion
1783
1809
  //#region src/client/theme-default/composables/usePreviousNext.ts
1784
- function Gi() {
1785
- let e = _e(), t = O(), { withBase: n, title: r } = A(), i = M(() => {
1786
- let i = Ki(e.value.contentTree, t.path, r);
1810
+ function Ki() {
1811
+ let e = ve(), t = O(), { withBase: n, title: r } = A(), i = M(() => {
1812
+ let i = qi(e.value.contentTree, t.path, r);
1787
1813
  if (i === void 0) return {};
1788
1814
  let a = i.pages.findIndex((e) => e.url === t.path);
1789
1815
  if (a === -1) return { groupName: i.groupName };
@@ -1806,11 +1832,11 @@ function Gi() {
1806
1832
  groupName: M(() => i.value.groupName)
1807
1833
  };
1808
1834
  }
1809
- function Ki(e, t, n) {
1835
+ function qi(e, t, n) {
1810
1836
  if (e.entries.some((e) => e.kind === "file" && r(e.item.filepath) === t)) {
1811
1837
  let t = [], r = e.entries.find((e) => e.kind === "file" && f(e.item.filepath));
1812
- r && r.kind === "file" && t.push(Ji(r.item, n));
1813
- for (let n of e.entries) n.kind === "file" ? f(n.item.filepath) || t.push(Ji(n.item)) : t.push(Yi(n.node, ""));
1838
+ r && r.kind === "file" && t.push(Yi(r.item, n));
1839
+ for (let n of e.entries) n.kind === "file" ? f(n.item.filepath) || t.push(Yi(n.item)) : t.push(Xi(n.node, ""));
1814
1840
  return {
1815
1841
  pages: t,
1816
1842
  groupName: ""
@@ -1818,16 +1844,16 @@ function Ki(e, t, n) {
1818
1844
  }
1819
1845
  for (let r of e.entries) {
1820
1846
  if (r.kind !== "dir") continue;
1821
- let e = qi(r.node, t, "", n);
1847
+ let e = Ji(r.node, t, "", n);
1822
1848
  if (e !== void 0) return e;
1823
1849
  }
1824
1850
  }
1825
- function qi(e, t, i, a) {
1851
+ function Ji(e, t, i, a) {
1826
1852
  let s = n(i, e.name);
1827
1853
  if (e.entries.some((e) => e.kind === "file" && r(e.item.filepath) === t)) {
1828
1854
  let t = [], n = u(e);
1829
- n && t.push(Ji(n));
1830
- for (let n of e.entries) n.kind === "file" ? f(n.item.filepath) || t.push(Ji(n.item)) : t.push(Yi(n.node, s));
1855
+ n && t.push(Yi(n));
1856
+ for (let n of e.entries) n.kind === "file" ? f(n.item.filepath) || t.push(Yi(n.item)) : t.push(Xi(n.node, s));
1831
1857
  return {
1832
1858
  pages: t,
1833
1859
  groupName: o(e.name)
@@ -1835,18 +1861,18 @@ function qi(e, t, i, a) {
1835
1861
  }
1836
1862
  for (let n of e.entries) {
1837
1863
  if (n.kind !== "dir") continue;
1838
- let e = qi(n.node, t, s, a);
1864
+ let e = Ji(n.node, t, s, a);
1839
1865
  if (e !== void 0) return e;
1840
1866
  }
1841
1867
  }
1842
- function Ji(e, t) {
1868
+ function Yi(e, t) {
1843
1869
  let n = e.label === void 0 ? t === void 0 ? w(e.filepath) : S(e.filepath, t) : e.label;
1844
1870
  return {
1845
1871
  url: r(e.filepath),
1846
1872
  title: n
1847
1873
  };
1848
1874
  }
1849
- function Yi(e, t) {
1875
+ function Xi(e, t) {
1850
1876
  let i = n(t, e.name), a = u(e);
1851
1877
  return {
1852
1878
  url: a ? r(a.filepath) : C(i),
@@ -1855,38 +1881,38 @@ function Yi(e, t) {
1855
1881
  }
1856
1882
  //#endregion
1857
1883
  //#region src/client/theme-default/components/TdPreviousNext.vue?vue&type=script&setup=true&lang.ts
1858
- var Xi = {
1884
+ var Zi = {
1859
1885
  key: 0,
1860
1886
  class: "td-prevnext",
1861
1887
  "aria-label": "Page navigation"
1862
- }, Zi = ["href"], Qi = { class: "td-prevnext-label" }, $i = { class: "td-prevnext-title" }, ea = {
1888
+ }, Qi = ["href"], $i = { class: "td-prevnext-label" }, ea = { class: "td-prevnext-title" }, ta = {
1863
1889
  key: 1,
1864
1890
  class: "td-prevnext-spacer"
1865
- }, ta = ["href"], na = { class: "td-prevnext-label" }, ra = { class: "td-prevnext-title" }, ia = {
1891
+ }, na = ["href"], ra = { class: "td-prevnext-label" }, ia = { class: "td-prevnext-title" }, aa = {
1866
1892
  key: 3,
1867
1893
  class: "td-prevnext-spacer"
1868
- }, aa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1894
+ }, oa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1869
1895
  __name: "TdPreviousNext",
1870
1896
  setup(e) {
1871
- let { previous: t, next: n, groupName: r } = Gi();
1872
- return (e, i) => q(t) || q(n) ? (V(), F("nav", Xi, [q(t) ? (V(), F("a", {
1897
+ let { previous: t, next: n, groupName: r } = Ki();
1898
+ return (e, i) => q(t) || q(n) ? (V(), F("nav", Zi, [q(t) ? (V(), F("a", {
1873
1899
  key: 0,
1874
1900
  href: q(t).url,
1875
1901
  class: "td-prevnext-link is-previous"
1876
- }, [I("span", Qi, [R(q(ye), {
1902
+ }, [I("span", $i, [R(q(be), {
1877
1903
  size: 14,
1878
1904
  class: "td-prevnext-chevron"
1879
- }), L(" " + K(q(r) ? `Previous in ${q(r)}` : "Previous"), 1)]), I("span", $i, K(q(t).title), 1)], 8, Zi)) : (V(), F("span", ea)), q(n) ? (V(), F("a", {
1905
+ }), L(" " + K(q(r) ? `Previous in ${q(r)}` : "Previous"), 1)]), I("span", ea, K(q(t).title), 1)], 8, Qi)) : (V(), F("span", ta)), q(n) ? (V(), F("a", {
1880
1906
  key: 2,
1881
1907
  href: q(n).url,
1882
1908
  class: "td-prevnext-link is-next"
1883
- }, [I("span", na, [L(K(q(r) ? `Next in ${q(r)}` : "Next") + " ", 1), R(q(oe), {
1909
+ }, [I("span", ra, [L(K(q(r) ? `Next in ${q(r)}` : "Next") + " ", 1), R(q(se), {
1884
1910
  size: 14,
1885
1911
  class: "td-prevnext-chevron"
1886
- })]), I("span", ra, K(q(n).title), 1)], 8, ta)) : (V(), F("span", ia))])) : P("", !0);
1912
+ })]), I("span", ia, K(q(n).title), 1)], 8, na)) : (V(), F("span", aa))])) : P("", !0);
1887
1913
  }
1888
- }), [["__scopeId", "data-v-8ea01cd7"]]), oa = 100;
1889
- function sa(e) {
1914
+ }), [["__scopeId", "data-v-8ea01cd7"]]), sa = 100;
1915
+ function ca(e) {
1890
1916
  let t = H(void 0), n = [], r;
1891
1917
  function i() {
1892
1918
  if (n.length === 0) return;
@@ -1896,7 +1922,7 @@ function sa(e) {
1896
1922
  return;
1897
1923
  }
1898
1924
  let r;
1899
- for (let t of n) if (ca(t) <= e + oa) r = t.id;
1925
+ for (let t of n) if (la(t) <= e + sa) r = t.id;
1900
1926
  else break;
1901
1927
  t.value = r;
1902
1928
  }
@@ -1909,26 +1935,26 @@ function sa(e) {
1909
1935
  let r = new Set(e.map((e) => e.slug));
1910
1936
  n = Array.from(document.querySelectorAll(".td-content h2[id], .td-content h3[id], .td-content h4[id], .td-content h5[id]")).filter((e) => r.has(e.id)), i();
1911
1937
  }
1912
- return He(() => {
1938
+ return Ue(() => {
1913
1939
  window.addEventListener("scroll", a);
1914
- }), We(() => {
1940
+ }), Ge(() => {
1915
1941
  window.removeEventListener("scroll", a), r !== void 0 && cancelAnimationFrame(r);
1916
1942
  }), J(e, (e) => {
1917
- typeof window < "u" && ze(() => o(e));
1943
+ typeof window < "u" && Be(() => o(e));
1918
1944
  }, { immediate: !0 }), t;
1919
1945
  }
1920
- function ca(e) {
1946
+ function la(e) {
1921
1947
  let t = 0, n = e;
1922
1948
  for (; n;) t += n.offsetTop, n = n.offsetParent;
1923
1949
  return t;
1924
1950
  }
1925
1951
  //#endregion
1926
1952
  //#region src/client/theme-default/components/TdToc.vue?vue&type=script&setup=true&lang.ts
1927
- var la = {
1953
+ var ua = {
1928
1954
  key: 0,
1929
1955
  class: "td-toc",
1930
1956
  "data-testid": "toc"
1931
- }, ua = { class: "td-toc-list" }, da = ["href", "innerHTML"], fa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1957
+ }, da = { class: "td-toc-list" }, fa = ["href", "innerHTML"], pa = /*#__PURE__*/ k(/* @__PURE__ */ z({
1932
1958
  __name: "TdToc",
1933
1959
  props: {
1934
1960
  headings: {},
@@ -1945,8 +1971,8 @@ var la = {
1945
1971
  for (let e of n.children) t.push(e);
1946
1972
  }
1947
1973
  return t;
1948
- }), n = e.static ? M(() => void 0) : sa(() => t.value);
1949
- return (r, i) => e.headings.length ? (V(), F("div", la, [i[0] ||= I("div", { class: "td-toc-label" }, " On this page ", -1), I("ul", ua, [(V(!0), F(j, null, U(t.value, (e) => (V(), F("li", {
1974
+ }), n = e.static ? M(() => void 0) : ca(() => t.value);
1975
+ return (r, i) => e.headings.length ? (V(), F("div", ua, [i[0] ||= I("div", { class: "td-toc-label" }, " On this page ", -1), I("ul", da, [(V(!0), F(j, null, U(t.value, (e) => (V(), F("li", {
1950
1976
  key: e.slug,
1951
1977
  class: B({
1952
1978
  "td-toc-indent-1": e.level === 3,
@@ -1957,23 +1983,23 @@ var la = {
1957
1983
  href: e.link,
1958
1984
  class: B(["td-toc-link", { "is-active": q(n) === e.slug }]),
1959
1985
  innerHTML: q(_)(e.titleHtml)
1960
- }, null, 10, da)], 2))), 128))])])) : P("", !0);
1986
+ }, null, 10, fa)], 2))), 128))])])) : P("", !0);
1961
1987
  }
1962
- }), [["__scopeId", "data-v-d60de674"]]), pa = { class: "td-rail" }, ma = /*#__PURE__*/ k(/* @__PURE__ */ z({
1988
+ }), [["__scopeId", "data-v-d60de674"]]), ma = { class: "td-rail" }, ha = /*#__PURE__*/ k(/* @__PURE__ */ z({
1963
1989
  __name: "TdRail",
1964
1990
  setup(e) {
1965
- let { page: t } = de();
1966
- return (e, n) => (V(), F("aside", pa, [R(q(Vi), {
1991
+ let { page: t } = fe();
1992
+ return (e, n) => (V(), F("aside", ma, [R(q(Hi), {
1967
1993
  mode: "rail",
1968
1994
  schema: q(t).schema,
1969
1995
  frontmatter: q(t).frontmatter
1970
- }, null, 8, ["schema", "frontmatter"]), R(fa, { headings: q(t).headings }, null, 8, ["headings"])]));
1996
+ }, null, 8, ["schema", "frontmatter"]), R(pa, { headings: q(t).headings }, null, 8, ["headings"])]));
1971
1997
  }
1972
- }), [["__scopeId", "data-v-22485c1b"]]), ha = {
1998
+ }), [["__scopeId", "data-v-22485c1b"]]), ga = {
1973
1999
  class: "td-skeleton",
1974
2000
  role: "status",
1975
2001
  "aria-label": "Loading"
1976
- }, ga = /*#__PURE__*/ k(/* @__PURE__ */ z({
2002
+ }, _a = /*#__PURE__*/ k(/* @__PURE__ */ z({
1977
2003
  __name: "TdSkeleton",
1978
2004
  props: { lines: { default: 5 } },
1979
2005
  setup(e) {
@@ -1987,13 +2013,13 @@ var la = {
1987
2013
  55,
1988
2014
  72
1989
2015
  ];
1990
- return (n, r) => (V(), F("div", ha, [(V(!0), F(j, null, U(e.lines, (e) => (V(), F("div", {
2016
+ return (n, r) => (V(), F("div", ga, [(V(!0), F(j, null, U(e.lines, (e) => (V(), F("div", {
1991
2017
  key: e,
1992
2018
  class: "td-skeleton-line",
1993
- style: Be({ width: `${t[(e - 1) % t.length]}%` })
2019
+ style: Ve({ width: `${t[(e - 1) % t.length]}%` })
1994
2020
  }, null, 4))), 128))]));
1995
2021
  }
1996
- }), [["__scopeId", "data-v-312f021d"]]), _a = /*#__PURE__*/ k(/* @__PURE__ */ z({
2022
+ }), [["__scopeId", "data-v-312f021d"]]), va = /*#__PURE__*/ k(/* @__PURE__ */ z({
1997
2023
  __name: "TdSidebarNav",
1998
2024
  props: {
1999
2025
  tree: {},
@@ -2001,36 +2027,36 @@ var la = {
2001
2027
  ready: { type: Boolean }
2002
2028
  },
2003
2029
  setup(e) {
2004
- let t = O(), n = Ze("scrollElement");
2030
+ let t = O(), n = Qe("scrollElement");
2005
2031
  return J(() => t.path, () => {
2006
- ze(() => {
2032
+ Be(() => {
2007
2033
  n.value?.querySelector(".is-active")?.scrollIntoView({ block: "nearest" });
2008
2034
  });
2009
2035
  }, { immediate: !0 }), (t, r) => (V(), F("div", {
2010
2036
  ref_key: "scrollElement",
2011
2037
  ref: n,
2012
2038
  class: "td-sidebar-scroll"
2013
- }, [!e.searchActive && !e.ready ? (V(), N(ga, { key: 0 })) : e.searchActive ? P("", !0) : (V(), N(Ar, {
2039
+ }, [!e.searchActive && !e.ready ? (V(), N(_a, { key: 0 })) : e.searchActive ? P("", !0) : (V(), N(jr, {
2014
2040
  key: 1,
2015
2041
  tree: e.tree
2016
2042
  }, null, 8, ["tree"]))], 512));
2017
2043
  }
2018
2044
  }), [["__scopeId", "data-v-bda84418"]]), $ = /* @__PURE__ */ function(e) {
2019
2045
  return e.ArrowDown = "ArrowDown", e.ArrowUp = "ArrowUp", e.ArrowLeft = "ArrowLeft", e.ArrowRight = "ArrowRight", e.Enter = "Enter", e.Tab = "Tab", e.Space = " ", e.Escape = "Escape", e.Shift = "Shift", e.Control = "Control", e.Alt = "Alt", e.Meta = "Meta", e.Delete = "Delete", e.Backspace = "Backspace", e.F1 = "F1", e.F2 = "F2", e.F3 = "F3", e.F4 = "F4", e.F5 = "F5", e.F6 = "F6", e.F7 = "F7", e.F8 = "F8", e.F9 = "F9", e.F10 = "F10", e.F11 = "F11", e.F12 = "F12", e.a = "a", e.b = "b", e.c = "c", e.d = "d", e.e = "e", e.f = "f", e.g = "g", e.h = "h", e.i = "i", e.j = "j", e.k = "k", e.l = "l", e.m = "m", e.n = "n", e.o = "o", e.p = "p", e.q = "q", e.r = "r", e.s = "s", e.t = "t", e.u = "u", e.v = "v", e.w = "w", e.x = "x", e.y = "y", e.z = "z", e.FSlash = "/", e.Question = "?", e;
2020
- }({}), va = { class: "td-kbd-shortcut" }, ya = /*#__PURE__*/ k(/* @__PURE__ */ z({
2046
+ }({}), ya = { class: "td-kbd-shortcut" }, ba = /*#__PURE__*/ k(/* @__PURE__ */ z({
2021
2047
  __name: "TdKbdShortcut",
2022
2048
  props: { keys: {} },
2023
2049
  setup(e) {
2024
2050
  let t = {
2025
- [$.ArrowDown]: re,
2026
- [$.ArrowUp]: ve,
2027
- [$.ArrowLeft]: se,
2028
- [$.ArrowRight]: ae,
2029
- [$.Meta]: at,
2030
- [$.Alt]: ut,
2031
- [$.Enter]: ot,
2032
- [$.Delete]: st,
2033
- [$.Space]: dt
2051
+ [$.ArrowDown]: ie,
2052
+ [$.ArrowUp]: ae,
2053
+ [$.ArrowLeft]: re,
2054
+ [$.ArrowRight]: ce,
2055
+ [$.Meta]: ot,
2056
+ [$.Alt]: dt,
2057
+ [$.Enter]: st,
2058
+ [$.Delete]: ct,
2059
+ [$.Space]: ft
2034
2060
  }, n = {
2035
2061
  [$.Control]: "⌃",
2036
2062
  [$.Shift]: "⇧",
@@ -2043,20 +2069,20 @@ var la = {
2043
2069
  let i = n[e];
2044
2070
  return i ? { label: i } : { label: e.toUpperCase() };
2045
2071
  }));
2046
- return (e, t) => (V(), F("span", va, [(V(!0), F(j, null, U(r.value, (e, t) => (V(), F("kbd", { key: t }, [e.icon ? (V(), N(G(e.icon), {
2072
+ return (e, t) => (V(), F("span", ya, [(V(!0), F(j, null, U(r.value, (e, t) => (V(), F("kbd", { key: t }, [e.icon ? (V(), N(G(e.icon), {
2047
2073
  key: 0,
2048
2074
  size: 12
2049
2075
  })) : (V(), F(j, { key: 1 }, [L(K(e.label), 1)], 64))]))), 128))]));
2050
2076
  }
2051
- }), [["__scopeId", "data-v-b61b97da"]]), ba = 120;
2052
- function xa() {
2053
- let t = be(), n, r = Je([]), i = Je(!1);
2077
+ }), [["__scopeId", "data-v-b61b97da"]]), xa = 120;
2078
+ function Sa() {
2079
+ let t = xe(), n, r = Ye([]), i = Ye(!1);
2054
2080
  J(t, () => {
2055
2081
  n = void 0;
2056
2082
  });
2057
2083
  function a() {
2058
2084
  if (n) return n;
2059
- if (t.value) return n = Ie(T.loadJSON(t.value, {
2085
+ if (t.value) return n = Le(T.loadJSON(t.value, {
2060
2086
  fields: e,
2061
2087
  storeFields: m
2062
2088
  })), n;
@@ -2064,13 +2090,13 @@ function xa() {
2064
2090
  function o(e, t) {
2065
2091
  if (!e) return "";
2066
2092
  let n = Object.keys(t);
2067
- if (n.length === 0) return e.slice(0, ba);
2093
+ if (n.length === 0) return e.slice(0, xa);
2068
2094
  let r = e.toLowerCase(), i = e.length;
2069
2095
  for (let e of n) {
2070
2096
  let t = r.indexOf(e.toLowerCase());
2071
2097
  t !== -1 && t < i && (i = t);
2072
2098
  }
2073
- let a = Math.max(0, i - 30), o = Math.min(e.length, a + ba), s = e.slice(a, o).trim();
2099
+ let a = Math.max(0, i - 30), o = Math.min(e.length, a + xa), s = e.slice(a, o).trim();
2074
2100
  return 0 < a && (s = "..." + s), o < e.length && (s += "..."), s;
2075
2101
  }
2076
2102
  async function s(e) {
@@ -2102,7 +2128,7 @@ function xa() {
2102
2128
  function u() {
2103
2129
  i.value = !1;
2104
2130
  }
2105
- let d = Je(!1);
2131
+ let d = Ye(!1);
2106
2132
  return J(t, (e) => {
2107
2133
  e && (d.value = !0);
2108
2134
  }, { immediate: !0 }), {
@@ -2115,7 +2141,7 @@ function xa() {
2115
2141
  }
2116
2142
  //#endregion
2117
2143
  //#region src/client/theme-default/components/TdSiteSearch/highlight.ts
2118
- function Sa(e, t) {
2144
+ function Ca(e, t) {
2119
2145
  if (!e || !t) return p(e);
2120
2146
  let n = t.trim().split(/\s+/).filter(Boolean), r = p(e);
2121
2147
  for (let e of n) {
@@ -2126,16 +2152,16 @@ function Sa(e, t) {
2126
2152
  }
2127
2153
  //#endregion
2128
2154
  //#region src/client/theme-default/components/TdSiteSearch/TdSiteSearch.vue?vue&type=script&setup=true&lang.ts
2129
- var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2155
+ var wa = { class: "td-search" }, Ta = { class: "td-search-input-wrap" }, Ea = {
2130
2156
  key: 2,
2131
2157
  class: "td-search-count"
2132
- }, Ea = {
2158
+ }, Da = {
2133
2159
  key: 0,
2134
2160
  class: "td-search-results"
2135
- }, Da = ["href"], Oa = ["innerHTML"], ka = { class: "td-search-result-path" }, Aa = ["innerHTML"], ja = {
2161
+ }, Oa = ["href"], ka = ["innerHTML"], Aa = { class: "td-search-result-path" }, ja = ["innerHTML"], Ma = {
2136
2162
  key: 1,
2137
2163
  class: "td-search-empty"
2138
- }, Ma = /*#__PURE__*/ k(/* @__PURE__ */ z({
2164
+ }, Na = /*#__PURE__*/ k(/* @__PURE__ */ z({
2139
2165
  __name: "TdSiteSearch",
2140
2166
  props: {
2141
2167
  active: {
@@ -2146,9 +2172,9 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2146
2172
  query: { default: "" },
2147
2173
  queryModifiers: {}
2148
2174
  },
2149
- emits: /*@__PURE__*/ Le(["select"], ["update:active", "update:query"]),
2175
+ emits: /*@__PURE__*/ Re(["select"], ["update:active", "update:query"]),
2150
2176
  setup(e, { expose: t, emit: n }) {
2151
- let r = Xe(e, "active"), i = Xe(e, "query"), a = n, s = O(), { withBase: l } = A(), { results: u, searching: d, indexLoaded: f, search: p, cancel: m } = xa(), h = H(-1), g = M(() => 0 < i.value.trim().length), _ = M(() => {
2177
+ let r = Ze(e, "active"), i = Ze(e, "query"), a = n, s = O(), { withBase: l } = A(), { results: u, searching: d, indexLoaded: f, search: p, cancel: m } = Sa(), h = H(-1), g = M(() => 0 < i.value.trim().length), _ = M(() => {
2152
2178
  let e = [], t = /* @__PURE__ */ new Map();
2153
2179
  for (let n of u.value) {
2154
2180
  let r = c(n.id), i = t.get(r);
@@ -2198,7 +2224,7 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2198
2224
  document.querySelector(".td-search-result.is-selected")?.scrollIntoView({ block: "nearest" });
2199
2225
  });
2200
2226
  }
2201
- let w = Ze("searchInput");
2227
+ let w = Qe("searchInput");
2202
2228
  return t({
2203
2229
  focus() {
2204
2230
  w.value?.focus();
@@ -2212,13 +2238,13 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2212
2238
  get isFocused() {
2213
2239
  return document.activeElement === w.value;
2214
2240
  }
2215
- }), (e, t) => (V(), F("div", Ca, [
2216
- I("div", wa, [
2217
- R(q(Oe), {
2241
+ }), (e, t) => (V(), F("div", wa, [
2242
+ I("div", Ta, [
2243
+ R(q(ke), {
2218
2244
  size: 14,
2219
2245
  class: "td-search-icon"
2220
2246
  }),
2221
- tt(I("input", {
2247
+ nt(I("input", {
2222
2248
  ref_key: "searchInput",
2223
2249
  ref: w,
2224
2250
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
@@ -2227,26 +2253,26 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2227
2253
  size: "1",
2228
2254
  placeholder: "Search...",
2229
2255
  onKeydown: x
2230
- }, null, 544), [[Qe, i.value]]),
2231
- !g.value && !q(d) ? (V(), N(ya, {
2256
+ }, null, 544), [[$e, i.value]]),
2257
+ !g.value && !q(d) ? (V(), N(ba, {
2232
2258
  key: 0,
2233
2259
  keys: [q($).Meta, q($).k],
2234
2260
  class: "td-search-kbd"
2235
2261
  }, null, 8, ["keys"])) : P("", !0),
2236
- q(d) || !q(f) ? (V(), N(q(lt), {
2262
+ q(d) || !q(f) ? (V(), N(q(ut), {
2237
2263
  key: 1,
2238
2264
  size: 12,
2239
2265
  class: "td-search-spinner"
2240
- })) : g.value ? (V(), F("span", Ta, K(q(u).length), 1)) : P("", !0),
2266
+ })) : g.value ? (V(), F("span", Ea, K(q(u).length), 1)) : P("", !0),
2241
2267
  i.value ? (V(), F("button", {
2242
2268
  key: 3,
2243
2269
  class: "td-search-clear",
2244
2270
  type: "button",
2245
2271
  "aria-label": "Clear search",
2246
2272
  onClick: v
2247
- }, [R(q(ge), { size: 12 })])) : P("", !0)
2273
+ }, [R(q(_e), { size: 12 })])) : P("", !0)
2248
2274
  ]),
2249
- g.value && q(u).length > 0 ? (V(), F("div", Ea, [(V(!0), F(j, null, U(_.value, (e) => (V(), F("div", {
2275
+ g.value && q(u).length > 0 ? (V(), F("div", Da, [(V(!0), F(j, null, U(_.value, (e) => (V(), F("div", {
2250
2276
  key: e.pageUrl,
2251
2277
  class: "td-search-group"
2252
2278
  }, [(V(!0), F(j, null, U(e.results, (e) => (V(), F("a", {
@@ -2260,30 +2286,30 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2260
2286
  }, [
2261
2287
  I("span", {
2262
2288
  class: "td-search-result-title",
2263
- innerHTML: q(Sa)(e.title, i.value)
2264
- }, null, 8, Oa),
2265
- I("span", ka, K(e.id), 1),
2289
+ innerHTML: q(Ca)(e.title, i.value)
2290
+ }, null, 8, ka),
2291
+ I("span", Aa, K(e.id), 1),
2266
2292
  e.excerpt ? (V(), F("span", {
2267
2293
  key: 0,
2268
2294
  class: "td-search-result-excerpt",
2269
- innerHTML: q(Sa)(e.excerpt, i.value)
2270
- }, null, 8, Aa)) : P("", !0)
2271
- ], 10, Da))), 128))]))), 128))])) : P("", !0),
2272
- g.value && q(u).length === 0 ? (V(), F("div", ja, " No results for \"" + K(i.value) + "\" ", 1)) : P("", !0)
2295
+ innerHTML: q(Ca)(e.excerpt, i.value)
2296
+ }, null, 8, ja)) : P("", !0)
2297
+ ], 10, Oa))), 128))]))), 128))])) : P("", !0),
2298
+ g.value && q(u).length === 0 ? (V(), F("div", Ma, " No results for \"" + K(i.value) + "\" ", 1)) : P("", !0)
2273
2299
  ]));
2274
2300
  }
2275
- }), [["__scopeId", "data-v-ee28029f"]]), Na = /* @__PURE__ */ z({
2301
+ }), [["__scopeId", "data-v-ee28029f"]]), Pa = /* @__PURE__ */ z({
2276
2302
  __name: "TdThemeToggle",
2277
2303
  setup(e) {
2278
- let { isDark: t, toggle: n } = xe();
2279
- return (e, r) => (V(), N(xt, {
2304
+ let { isDark: t, toggle: n } = Se();
2305
+ return (e, r) => (V(), N(St, {
2280
2306
  label: q(t) ? "Switch to light mode" : "Switch to dark mode",
2281
2307
  onClick: q(n)
2282
2308
  }, {
2283
- default: et(() => [q(t) ? (V(), N(q(ue), {
2309
+ default: tt(() => [q(t) ? (V(), N(q(de), {
2284
2310
  key: 0,
2285
2311
  size: 18
2286
- })) : (V(), N(q(fe), {
2312
+ })) : (V(), N(q(pe), {
2287
2313
  key: 1,
2288
2314
  size: 18
2289
2315
  }))]),
@@ -2293,7 +2319,7 @@ var Ca = { class: "td-search" }, wa = { class: "td-search-input-wrap" }, Ta = {
2293
2319
  });
2294
2320
  //#endregion
2295
2321
  //#region src/client/theme-default/composables/useCopyCode.ts
2296
- function Pa() {
2322
+ function Fa() {
2297
2323
  function e(e) {
2298
2324
  let t = e.target?.closest(".copy");
2299
2325
  if (!t) return;
@@ -2305,15 +2331,15 @@ function Pa() {
2305
2331
  t.classList.remove("copied"), t.setAttribute("title", i);
2306
2332
  }, 2e3);
2307
2333
  }
2308
- He(() => {
2334
+ Ue(() => {
2309
2335
  document.addEventListener("click", e);
2310
- }), We(() => {
2336
+ }), Ge(() => {
2311
2337
  document.removeEventListener("click", e);
2312
2338
  });
2313
2339
  }
2314
2340
  //#endregion
2315
2341
  //#region src/client/theme-default/composables/useCopyHeadingAnchor.ts
2316
- function Fa() {
2342
+ function Ia() {
2317
2343
  function e(e) {
2318
2344
  let t = e.target?.closest(".td-header-anchor");
2319
2345
  if (!t) return;
@@ -2323,27 +2349,27 @@ function Fa() {
2323
2349
  t.classList.remove("td-header-anchor--copied");
2324
2350
  }, 2e3);
2325
2351
  }
2326
- He(() => {
2352
+ Ue(() => {
2327
2353
  document.addEventListener("click", e);
2328
- }), We(() => {
2354
+ }), Ge(() => {
2329
2355
  document.removeEventListener("click", e);
2330
2356
  });
2331
2357
  }
2332
2358
  //#endregion
2333
2359
  //#region src/client/theme-default/composables/useHotkey.ts
2334
- var Ia = /* @__PURE__ */ new Map([
2360
+ var La = /* @__PURE__ */ new Map([
2335
2361
  [$.Control, "ctrlKey"],
2336
2362
  [$.Alt, "altKey"],
2337
2363
  [$.Shift, "shiftKey"],
2338
2364
  [$.Meta, "metaKey"]
2339
2365
  ]);
2340
- function La(e, t) {
2366
+ function Ra(e, t) {
2341
2367
  function n(n) {
2342
- n.defaultPrevented || za(n, e) && (n.preventDefault(), t(n));
2368
+ n.defaultPrevented || Ba(n, e) && (n.preventDefault(), t(n));
2343
2369
  }
2344
- He(() => window.addEventListener("keydown", n)), We(() => window.removeEventListener("keydown", n));
2370
+ Ue(() => window.addEventListener("keydown", n)), Ge(() => window.removeEventListener("keydown", n));
2345
2371
  }
2346
- function Ra(e) {
2372
+ function za(e) {
2347
2373
  let t = [];
2348
2374
  function n(e, n) {
2349
2375
  t.push({
@@ -2352,30 +2378,30 @@ function Ra(e) {
2352
2378
  });
2353
2379
  }
2354
2380
  function r(e) {
2355
- for (let n of t) if (za(e, n.keys)) {
2381
+ for (let n of t) if (Ba(e, n.keys)) {
2356
2382
  e.preventDefault(), e.stopPropagation(), n.handler(e);
2357
2383
  return;
2358
2384
  }
2359
2385
  }
2360
2386
  return J(e, (e, t) => {
2361
2387
  t?.removeEventListener("keydown", r), e?.addEventListener("keydown", r);
2362
- }, { immediate: !0 }), We(() => {
2388
+ }, { immediate: !0 }), Ge(() => {
2363
2389
  e.value?.removeEventListener("keydown", r);
2364
2390
  }), { register: n };
2365
2391
  }
2366
- function za(e, t) {
2367
- let n = t.filter((e) => Ia.has(e)), r = t.filter((e) => !Ia.has(e));
2392
+ function Ba(e, t) {
2393
+ let n = t.filter((e) => La.has(e)), r = t.filter((e) => !La.has(e));
2368
2394
  if (r.length !== 1 || e.key.toLowerCase() !== r[0].toLowerCase()) return !1;
2369
- for (let t of n) if (!e[Ia.get(t)]) return !1;
2395
+ for (let t of n) if (!e[La.get(t)]) return !1;
2370
2396
  return !(e.ctrlKey && !n.includes($.Control) || e.altKey && !n.includes($.Alt) || e.shiftKey && !n.includes($.Shift) || e.metaKey && !n.includes($.Meta));
2371
2397
  }
2372
2398
  //#endregion
2373
2399
  //#region src/client/theme-default/composables/useResizableTable.ts
2374
- var Ba = 6, Va = 40;
2375
- function Ha() {
2400
+ var Va = 6, Ha = 40;
2401
+ function Ua() {
2376
2402
  let e, t = !1;
2377
2403
  function n(e, t) {
2378
- return e.getBoundingClientRect().right - t < Ba;
2404
+ return e.getBoundingClientRect().right - t < Va;
2379
2405
  }
2380
2406
  function r(r) {
2381
2407
  if (t) return;
@@ -2395,34 +2421,34 @@ function Ha() {
2395
2421
  r.classList.add("is-resizing"), document.body.style.cursor = "col-resize";
2396
2422
  function o(e) {
2397
2423
  let t = e.clientX - i;
2398
- r && (r.style.width = `${Math.max(Va, a + t)}px`);
2424
+ r && (r.style.width = `${Math.max(Ha, a + t)}px`);
2399
2425
  }
2400
2426
  function s() {
2401
2427
  t = !1, r?.classList.remove("is-resizing"), document.body.style.cursor = "", document.removeEventListener("pointermove", o), document.removeEventListener("pointerup", s);
2402
2428
  }
2403
2429
  document.addEventListener("pointermove", o), document.addEventListener("pointerup", s);
2404
2430
  }
2405
- He(() => {
2431
+ Ue(() => {
2406
2432
  document.addEventListener("pointermove", r), document.addEventListener("pointerdown", i);
2407
- }), We(() => {
2433
+ }), Ge(() => {
2408
2434
  document.removeEventListener("pointermove", r), document.removeEventListener("pointerdown", i);
2409
2435
  });
2410
2436
  }
2411
2437
  //#endregion
2412
2438
  //#region src/client/theme-default/composables/useMermaid.ts
2413
- var Ua = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", Wa, Ga = 0;
2414
- function Ka() {
2439
+ var Wa = "https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs", Ga, Ka = 0;
2440
+ function qa() {
2415
2441
  let e;
2416
2442
  async function t() {
2417
2443
  let e = document.getElementById("td-content");
2418
2444
  if (!e) return;
2419
2445
  let t = e.querySelectorAll(".td-mermaid-placeholder");
2420
2446
  if (t.length === 0) return;
2421
- let n = await qa();
2447
+ let n = await Ja();
2422
2448
  if (n !== void 0) for (let e of t) {
2423
2449
  let t = e.querySelector("code");
2424
2450
  if (!t) continue;
2425
- let r = `td-mermaid-${Ga++}`;
2451
+ let r = `td-mermaid-${Ka++}`;
2426
2452
  try {
2427
2453
  let { svg: i } = await n.default.render(r, t.textContent ?? ""), a = document.createElement("div");
2428
2454
  a.className = "td-mermaid", a.innerHTML = i, e.replaceWith(a);
@@ -2431,60 +2457,60 @@ function Ka() {
2431
2457
  }
2432
2458
  }
2433
2459
  }
2434
- He(() => {
2460
+ Ue(() => {
2435
2461
  t();
2436
2462
  let n = document.getElementById("td-content");
2437
2463
  n && (e = new MutationObserver(t), e.observe(n, {
2438
2464
  childList: !0,
2439
2465
  subtree: !0
2440
2466
  }));
2441
- }), We(() => {
2467
+ }), Ge(() => {
2442
2468
  e?.disconnect();
2443
2469
  });
2444
2470
  }
2445
- async function qa() {
2446
- if (Wa !== void 0) return Wa;
2471
+ async function Ja() {
2472
+ if (Ga !== void 0) return Ga;
2447
2473
  try {
2448
- Wa = await import(
2474
+ Ga = await import(
2449
2475
  /* @vite-ignore */
2450
- Ua
2476
+ Wa
2451
2477
  );
2452
2478
  } catch {
2453
2479
  return;
2454
2480
  }
2455
- return Wa.default.initialize({
2481
+ return Ga.default.initialize({
2456
2482
  startOnLoad: !1,
2457
2483
  theme: document.documentElement.classList.contains("dark") ? "dark" : "default"
2458
- }), Wa;
2484
+ }), Ga;
2459
2485
  }
2460
2486
  //#endregion
2461
2487
  //#region src/client/theme-default/TdLayout.vue?vue&type=script&setup=true&lang.ts
2462
- var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"], Za = { class: "td-brand-name" }, Qa = { class: "td-header-right" }, $a = ["href"], eo = { class: "td-drawer-header" }, to = ["href"], no = { class: "td-brand-name" }, ro = {
2488
+ var Ya = { class: "td-header" }, Xa = { class: "td-header-left" }, Za = ["href"], Qa = { class: "td-brand-name" }, $a = { class: "td-header-right" }, eo = ["href"], to = { class: "td-drawer-header" }, no = ["href"], ro = { class: "td-brand-name" }, io = {
2463
2489
  key: 0,
2464
2490
  class: "pt-4",
2465
2491
  "aria-label": "Site navigation"
2466
- }, io = { class: "td-page" }, ao = ["onKeydown"], oo = { class: "td-main-and-rail" }, so = { class: "td-main" }, co = {
2492
+ }, ao = { class: "td-page" }, oo = ["onKeydown"], so = { class: "td-main-and-rail" }, co = { class: "td-main" }, lo = {
2467
2493
  id: "td-content",
2468
2494
  class: "td-content",
2469
2495
  "data-testid": "content"
2470
- }, lo = {
2496
+ }, uo = {
2471
2497
  key: 0,
2472
2498
  class: "td-page-eyebrow"
2473
- }, uo = {
2499
+ }, fo = {
2474
2500
  key: 1,
2475
2501
  class: "td-page-icon"
2476
- }, fo = ["innerHTML"], po = {
2502
+ }, po = ["innerHTML"], mo = {
2477
2503
  key: 3,
2478
2504
  class: "td-page-meta"
2479
- }, mo = { key: 0 }, ho = { class: "td-content-body" }, go = ["href"], _o = 200, vo = 500, yo = 300, bo = "td-sidebar-width", xo = /*#__PURE__*/ k(/* @__PURE__ */ z({
2505
+ }, ho = { key: 0 }, go = { class: "td-content-body" }, _o = ["href"], vo = 200, yo = 500, bo = 300, xo = "td-sidebar-width", So = /*#__PURE__*/ k(/* @__PURE__ */ z({
2480
2506
  __name: "TdLayout",
2481
2507
  setup(e) {
2482
- let { title: t, page: n } = de(), r = M(() => {
2508
+ let { title: t, page: n } = fe(), r = M(() => {
2483
2509
  let e = n.value.icon;
2484
- return e ? pe(e.name) : void 0;
2485
- }), a = A(), { withBase: o } = a, s = _e(), c = M(() => s.value.ready), { isOpen: l, open: u, close: d } = Ui(), f = H(""), p = H(!1), m = H(!1), h = O();
2486
- J(() => h.path, () => d()), Pa(), Fa(), Ka();
2487
- let g = Ze("sidebarSearch"), _ = Ze("menuSearch");
2510
+ return e ? me(e.name) : void 0;
2511
+ }), a = A(), { withBase: o } = a, s = ve(), c = M(() => s.value.ready), { isOpen: l, open: u, close: d } = Wi(), f = H(""), p = H(!1), m = H(!1), h = O();
2512
+ J(() => h.path, () => d()), Fa(), Ia(), qa();
2513
+ let g = Qe("sidebarSearch"), _ = Qe("menuSearch");
2488
2514
  function v(e) {
2489
2515
  let t = a.repo;
2490
2516
  return `${i(t.url)}/edit/main/${[
@@ -2494,33 +2520,33 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2494
2520
  ].filter(Boolean).join("/")}`;
2495
2521
  }
2496
2522
  function y() {
2497
- _.value?.isFocused || g.value?.isFocused ? (_.value?.blur(), g.value?.blur(), l.value && d()) : l.value ? _.value?.focus() : g.value?.isVisible ? g.value.focus() : (u(), ze(() => _.value?.focus()));
2523
+ _.value?.isFocused || g.value?.isFocused ? (_.value?.blur(), g.value?.blur(), l.value && d()) : l.value ? _.value?.focus() : g.value?.isVisible ? g.value.focus() : (u(), Be(() => _.value?.focus()));
2498
2524
  }
2499
- La([$.Control, $.k], y), La([$.Meta, $.k], y), $e(() => {
2525
+ Ra([$.Control, $.k], y), Ra([$.Meta, $.k], y), et(() => {
2500
2526
  if (typeof document > "u") return;
2501
2527
  let e = t.value, r = a.title;
2502
2528
  document.title = e && e !== r ? `${e} - ${r}` : r;
2503
2529
  let i = n.value.frontmatter?.description === void 0 ? a.description ?? "" : String(n.value.frontmatter.description), o = document.querySelector("meta[name=\"description\"]");
2504
2530
  o && o.setAttribute("content", i);
2505
- }), Ha();
2506
- let x = H(typeof localStorage < "u" && Number(localStorage.getItem(bo)) || yo);
2531
+ }), Ua();
2532
+ let x = H(typeof localStorage < "u" && Number(localStorage.getItem(xo)) || bo);
2507
2533
  function S() {
2508
- x.value = Math.min(vo, x.value + 20);
2534
+ x.value = Math.min(yo, x.value + 20);
2509
2535
  }
2510
2536
  function w(e) {
2511
2537
  let t = e.clientX, n = x.value, r = e.currentTarget;
2512
2538
  r.setPointerCapture(e.pointerId);
2513
2539
  function i(e) {
2514
- let r = Math.min(vo, window.innerWidth * .85), i = Math.min(r, Math.max(_o, n + e.clientX - t));
2540
+ let r = Math.min(yo, window.innerWidth * .85), i = Math.min(r, Math.max(vo, n + e.clientX - t));
2515
2541
  x.value = i;
2516
2542
  }
2517
2543
  function a() {
2518
- document.body.style.cursor = "", r.removeEventListener("pointermove", i), r.removeEventListener("pointerup", a), localStorage.setItem(bo, String(x.value));
2544
+ document.body.style.cursor = "", r.removeEventListener("pointermove", i), r.removeEventListener("pointerup", a), localStorage.setItem(xo, String(x.value));
2519
2545
  }
2520
2546
  document.body.style.cursor = "col-resize", r.addEventListener("pointermove", i), r.addEventListener("pointerup", a);
2521
2547
  }
2522
2548
  function T() {
2523
- x.value = Math.max(_o, x.value - 20);
2549
+ x.value = Math.max(vo, x.value - 20);
2524
2550
  }
2525
2551
  return (e, i) => (V(), F("div", null, [
2526
2552
  W(e.$slots, "layout-top", {}, void 0, !0),
@@ -2528,18 +2554,18 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2528
2554
  href: "#td-content",
2529
2555
  class: "td-skip-link"
2530
2556
  }, "Skip to content", -1),
2531
- I("header", Ja, [
2532
- I("div", Ya, [
2533
- R(Wi, { onClick: y }),
2557
+ I("header", Ya, [
2558
+ I("div", Xa, [
2559
+ R(Gi, { onClick: y }),
2534
2560
  I("a", {
2535
2561
  href: q(o)(q(C)("/")),
2536
2562
  class: "td-brand"
2537
- }, [R(yt), I("span", Za, K(q(a).title || "Typedown"), 1)], 8, Xa),
2538
- R(Gr, { class: "td-header-breadcrumb" })
2563
+ }, [R(bt), I("span", Qa, K(q(a).title || "Typedown"), 1)], 8, Za),
2564
+ R(Kr, { class: "td-header-breadcrumb" })
2539
2565
  ]),
2540
- R(q(Jr)),
2566
+ R(q(Yr)),
2541
2567
  W(e.$slots, "nav-bar-after", {}, void 0, !0),
2542
- I("div", Qa, [R(Na), q(a).repo ? (V(), F("a", {
2568
+ I("div", $a, [R(Pa), q(a).repo ? (V(), F("a", {
2543
2569
  key: 0,
2544
2570
  href: q(a).repo.url,
2545
2571
  target: "_blank",
@@ -2557,7 +2583,7 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2557
2583
  "fill-rule": "evenodd",
2558
2584
  "clip-rule": "evenodd",
2559
2585
  d: "M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59\n 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367\n 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778\n 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125\n 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2\n 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364\n 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"
2560
- })], -1)]], 8, $a)) : P("", !0)])
2586
+ })], -1)]], 8, eo)) : P("", !0)])
2561
2587
  ]),
2562
2588
  I("div", {
2563
2589
  class: B(["td-drawer-scrim", { "is-open": q(l) }]),
@@ -2565,24 +2591,24 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2565
2591
  }, null, 2),
2566
2592
  I("aside", {
2567
2593
  class: B(["td-drawer", { "is-open": q(l) }]),
2568
- style: Be({ width: `${x.value}px` })
2594
+ style: Ve({ width: `${x.value}px` })
2569
2595
  }, [
2570
2596
  I("div", {
2571
2597
  class: "td-resize-handle",
2572
- onPointerdown: rt(w, ["prevent"])
2598
+ onPointerdown: it(w, ["prevent"])
2573
2599
  }, null, 32),
2574
- I("header", eo, [I("a", {
2600
+ I("header", to, [I("a", {
2575
2601
  href: q(o)(q(C)("/")),
2576
2602
  class: "td-brand"
2577
- }, [R(yt), I("span", no, K(q(a).title || "Typedown"), 1)], 8, to), R(xt, {
2603
+ }, [R(bt), I("span", ro, K(q(a).title || "Typedown"), 1)], 8, no), R(St, {
2578
2604
  label: "Close menu",
2579
2605
  onClick: q(d)
2580
2606
  }, {
2581
- default: et(() => [R(q(ge), { size: 20 })]),
2607
+ default: tt(() => [R(q(_e), { size: 20 })]),
2582
2608
  _: 1
2583
2609
  }, 8, ["onClick"])]),
2584
- R(q(Zr)),
2585
- R(Ma, {
2610
+ R(q(Qr)),
2611
+ R(Na, {
2586
2612
  ref_key: "menuSearch",
2587
2613
  ref: _,
2588
2614
  query: f.value,
@@ -2595,19 +2621,19 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2595
2621
  "active",
2596
2622
  "onSelect"
2597
2623
  ]),
2598
- m.value ? P("", !0) : (V(), F("nav", ro, [c.value ? (V(), N(Ar, {
2624
+ m.value ? P("", !0) : (V(), F("nav", io, [c.value ? (V(), N(jr, {
2599
2625
  key: 1,
2600
2626
  tree: q(s).contentTree
2601
- }, null, 8, ["tree"])) : (V(), N(ga, { key: 0 }))]))
2627
+ }, null, 8, ["tree"])) : (V(), N(_a, { key: 0 }))]))
2602
2628
  ], 6),
2603
- I("div", io, [I("nav", {
2629
+ I("div", ao, [I("nav", {
2604
2630
  class: "td-sidebar-left",
2605
2631
  "data-testid": "sidebar",
2606
2632
  "aria-label": "Site navigation",
2607
- style: Be({ width: `${x.value}px` })
2633
+ style: Ve({ width: `${x.value}px` })
2608
2634
  }, [
2609
2635
  W(e.$slots, "sidebar-top", {}, void 0, !0),
2610
- R(Ma, {
2636
+ R(Na, {
2611
2637
  ref_key: "sidebarSearch",
2612
2638
  ref: g,
2613
2639
  query: f.value,
@@ -2616,7 +2642,7 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2616
2642
  "onUpdate:active": i[4] ||= (e) => p.value = e,
2617
2643
  class: "td-sidebar-search"
2618
2644
  }, null, 8, ["query", "active"]),
2619
- R(_a, {
2645
+ R(va, {
2620
2646
  tree: q(s).contentTree,
2621
2647
  "search-active": p.value,
2622
2648
  ready: c.value
@@ -2632,64 +2658,64 @@ var Ja = { class: "td-header" }, Ya = { class: "td-header-left" }, Xa = ["href"]
2632
2658
  "aria-orientation": "vertical",
2633
2659
  "aria-label": "Resize sidebar",
2634
2660
  tabindex: "0",
2635
- onPointerdown: rt(w, ["prevent"]),
2636
- onKeydown: [nt(rt(T, ["prevent"]), ["left"]), nt(rt(S, ["prevent"]), ["right"])]
2637
- }, null, 40, ao)
2638
- ], 4), I("div", oo, [I("main", so, [I("article", co, [
2661
+ onPointerdown: it(w, ["prevent"]),
2662
+ onKeydown: [rt(it(T, ["prevent"]), ["left"]), rt(it(S, ["prevent"]), ["right"])]
2663
+ }, null, 40, oo)
2664
+ ], 4), I("div", so, [I("main", co, [I("article", lo, [
2639
2665
  W(e.$slots, "doc-before", {}, void 0, !0),
2640
- q(n).schema ? (V(), F("div", lo, K(q(n).schemaLabel ?? q(n).schema), 1)) : P("", !0),
2641
- r.value ? (V(), F("div", uo, [(V(), N(G(r.value), { size: 32 }))])) : P("", !0),
2666
+ q(n).schema ? (V(), F("div", uo, K(q(n).schemaLabel ?? q(n).schema), 1)) : P("", !0),
2667
+ r.value ? (V(), F("div", fo, [(V(), N(G(r.value), { size: 32 }))])) : P("", !0),
2642
2668
  q(t) ? (V(), F("h1", {
2643
2669
  key: 2,
2644
2670
  class: "td-page-title",
2645
2671
  innerHTML: q(n).titleHtml
2646
- }, null, 8, fo)) : P("", !0),
2647
- q(n).fileMetadata ? (V(), F("div", po, [I("span", null, K(q(b)(q(n).fileMetadata.mtime, "Modified")), 1), q(n).fileMetadata.ctime === q(n).fileMetadata.mtime ? P("", !0) : (V(), F("span", mo, " · " + K(q(b)(q(n).fileMetadata.ctime, "Created")), 1))])) : P("", !0),
2648
- R(q(Vi), {
2672
+ }, null, 8, po)) : P("", !0),
2673
+ q(n).fileMetadata ? (V(), F("div", mo, [I("span", null, K(q(b)(q(n).fileMetadata.mtime, "Modified")), 1), q(n).fileMetadata.ctime === q(n).fileMetadata.mtime ? P("", !0) : (V(), F("span", ho, " · " + K(q(b)(q(n).fileMetadata.ctime, "Created")), 1))])) : P("", !0),
2674
+ R(q(Hi), {
2649
2675
  class: "td-frontmatter-inline",
2650
2676
  schema: q(n).schema,
2651
2677
  frontmatter: q(n).frontmatter
2652
2678
  }, null, 8, ["schema", "frontmatter"]),
2653
- q(n).headings.length > 0 ? (V(), N(fa, {
2679
+ q(n).headings.length > 0 ? (V(), N(pa, {
2654
2680
  key: 4,
2655
2681
  class: "td-toc-inline",
2656
2682
  headings: q(n).headings,
2657
2683
  static: ""
2658
2684
  }, null, 8, ["headings"])) : P("", !0),
2659
2685
  W(e.$slots, "doc-content-before", {}, void 0, !0),
2660
- I("div", ho, [R(q(Ce))]),
2686
+ I("div", go, [R(q(we))]),
2661
2687
  W(e.$slots, "doc-content-after", {}, void 0, !0),
2662
- R(aa),
2688
+ R(oa),
2663
2689
  q(a).repo && q(n).filepath ? (V(), F("a", {
2664
2690
  key: 5,
2665
2691
  href: v(q(n).filepath),
2666
2692
  target: "_blank",
2667
2693
  rel: "noopener noreferrer",
2668
2694
  class: "td-page-edit"
2669
- }, "Edit this page", 8, go)) : P("", !0),
2695
+ }, "Edit this page", 8, _o)) : P("", !0),
2670
2696
  W(e.$slots, "doc-after", {}, void 0, !0)
2671
- ])]), R(ma, { class: "td-rail" })])]),
2672
- R(Nr),
2697
+ ])]), R(ha, { class: "td-rail" })])]),
2698
+ R(Pr),
2673
2699
  W(e.$slots, "layout-bottom", {}, void 0, !0)
2674
2700
  ]));
2675
2701
  }
2676
- }), [["__scopeId", "data-v-fa441596"]]), So = { class: "pt-16 pb-24" }, Co = ["href"], wo = /* @__PURE__ */ z({
2702
+ }), [["__scopeId", "data-v-fa441596"]]), Co = { class: "pt-16 pb-24" }, wo = ["href"], To = /* @__PURE__ */ z({
2677
2703
  __name: "TdNotFound",
2678
2704
  setup(e) {
2679
2705
  let { withBase: t } = A();
2680
- return (e, n) => (V(), F("div", So, [
2706
+ return (e, n) => (V(), F("div", Co, [
2681
2707
  n[0] ||= I("p", { class: "text-td-4xl font-extrabold leading-none tracking-td-tight text-td-fg-muted" }, " 404 ", -1),
2682
2708
  n[1] ||= I("h1", { class: "text-td-xl font-extrabold leading-td-tight tracking-td-tight mt-4" }, " Page Not Found ", -1),
2683
2709
  n[2] ||= I("p", { class: "text-td-fg-muted mt-2 text-td-base leading-td-relaxed" }, " The page you are looking for does not exist. ", -1),
2684
2710
  I("a", {
2685
2711
  class: "inline-flex items-center mt-6 text-td-accent text-td-sm font-extrabold tracking-td-tight hover:text-td-accent-hi",
2686
2712
  href: q(t)(q(C)("/"))
2687
- }, "Go Home", 8, Co)
2713
+ }, "Go Home", 8, wo)
2688
2714
  ]));
2689
2715
  }
2690
- }), To = {
2691
- Layout: xo,
2692
- NotFound: wo
2716
+ }), Eo = {
2717
+ Layout: So,
2718
+ NotFound: To
2693
2719
  };
2694
2720
  //#endregion
2695
- export { yt as TdBrandIcon, Ar as TdContentNav, Se as TdDirectoryIndex, Nr as TdFooter, me as TdGlossaryIndex, ya as TdKbdShortcut, $ as TdKeyName, xo as TdLayout, wo as TdNotFound, aa as TdPreviousNext, ma as TdRail, Na as TdThemeToggle, fa as TdToc, To as default, Pa as useCopyCode, La as useGlobalHotkey, Ra as useLocalHotkeys };
2721
+ export { bt as TdBrandIcon, jr as TdContentNav, Ce as TdDirectoryIndex, Pr as TdFooter, he as TdGlossaryIndex, ba as TdKbdShortcut, $ as TdKeyName, So as TdLayout, To as TdNotFound, oa as TdPreviousNext, ha as TdRail, Pa as TdThemeToggle, pa as TdToc, Eo as default, Fa as useCopyCode, Ra as useGlobalHotkey, za as useLocalHotkeys };