triiiceratops 0.12.2 → 0.12.4

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,11 +1,11 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
3
  import { onMount as Tt, getContext as Ze, untrack as qe, setContext as Et, onDestroy as Fe } from "svelte";
4
- import { m as Ke, g as ge, a as S, c as Me, o as jt, s as Ot, V as we, X as Oe, b as Bt } from "./X-Bn7S7vUL.js";
5
- import { M as Fc } from "./X-Bn7S7vUL.js";
4
+ import { m as Ke, g as ge, a as S, c as Me, o as jt, s as Ot, V as we, X as Oe, b as Bt } from "./X-BsrpnzCK.js";
5
+ import { M as Fc } from "./X-BsrpnzCK.js";
6
6
  import { SvelteSet as Ft } from "svelte/reactivity";
7
- import { a as Nt, b as Rt, c as Dt, d as Gt, e as Ut, f as Xt, g as Yt, h as Wt, i as qt, j as Kt, k as Qt, l as Jt, m as $t, n as er, o as tr, p as rr, q as ar, r as nr, s as or, t as ir, u as lr, v as sr } from "./annotation_tool_point-LoRp_nrI.js";
8
- import { i as cr, a as dr, b as gr, c as vr, d as fr, e as _r, f as ur, g as hr } from "./image_filters_reset-CmWuQiOc.js";
7
+ import { a as Nt, b as Rt, c as Dt, d as Gt, e as Ut, f as Xt, g as Yt, h as Wt, i as qt, j as Kt, k as Qt, l as Jt, m as $t, n as er, o as tr, p as rr, q as ar, r as nr, s as or, t as ir, u as lr, v as sr } from "./annotation_tool_point-Do_1lOD_.js";
8
+ import { i as cr, a as dr, b as gr, c as vr, d as fr, e as _r, f as ur, g as hr } from "./image_filters_reset-Dw23NgOZ.js";
9
9
  const pr = [
10
10
  "light",
11
11
  "dark",
@@ -74,11 +74,11 @@ function wr(a, t, r) {
74
74
  };
75
75
  }
76
76
  function yr(a, t, r) {
77
- const d = 0.8189330101 * a + 0.3618667424 * t - 0.1288597137 * r, i = 0.0329845436 * a + 0.9293118715 * t + 0.0361456387 * r, M = 0.0482003018 * a + 0.2643662691 * t + 0.633851707 * r, w = Math.cbrt(d), p = Math.cbrt(i), C = Math.cbrt(M);
77
+ const d = 0.8189330101 * a + 0.3618667424 * t - 0.1288597137 * r, i = 0.0329845436 * a + 0.9293118715 * t + 0.0361456387 * r, M = 0.0482003018 * a + 0.2643662691 * t + 0.633851707 * r, w = Math.cbrt(d), m = Math.cbrt(i), C = Math.cbrt(M);
78
78
  return {
79
- L: 0.2104542553 * w + 0.793617785 * p - 0.0040720468 * C,
80
- a: 1.9779984951 * w - 2.428592205 * p + 0.4505937099 * C,
81
- b: 0.0259040371 * w + 0.7827717662 * p - 0.808675766 * C
79
+ L: 0.2104542553 * w + 0.793617785 * m - 0.0040720468 * C,
80
+ a: 1.9779984951 * w - 2.428592205 * m + 0.4505937099 * C,
81
+ b: 0.0259040371 * w + 0.7827717662 * m - 0.808675766 * C
82
82
  };
83
83
  }
84
84
  function xr(a, t, r) {
@@ -87,8 +87,8 @@ function xr(a, t, r) {
87
87
  return i < 0 && (i += 360), { L: a, C: d, h: i };
88
88
  }
89
89
  function Qe(a, t, r) {
90
- const d = He(a), i = He(t), M = He(r), { x: w, y: p, z: C } = wr(d, i, M), { L: b, a: A, b: G } = yr(w, p, C);
91
- return xr(b, A, G);
90
+ const d = He(a), i = He(t), M = He(r), { x: w, y: m, z: C } = wr(d, i, M), { L: p, a: x, b: G } = yr(w, m, C);
91
+ return xr(p, x, G);
92
92
  }
93
93
  function Je(a, t, r) {
94
94
  const d = (a * 100).toFixed(2), i = t.toFixed(4), M = t < 1e-4 ? 0 : r.toFixed(2);
@@ -284,29 +284,29 @@ function Er(a) {
284
284
  return console.warn("Failed to parse SVG selector:", a), null;
285
285
  const d = [], i = r.querySelectorAll("polygon");
286
286
  for (const C of i) {
287
- const b = C.getAttribute("points");
288
- if (b) {
289
- const A = jr(b);
290
- d.push(...A);
287
+ const p = C.getAttribute("points");
288
+ if (p) {
289
+ const x = jr(p);
290
+ d.push(...x);
291
291
  }
292
292
  }
293
293
  const M = r.querySelectorAll("path");
294
294
  for (const C of M) {
295
- const b = C.getAttribute("d");
296
- if (b) {
297
- const A = Or(b);
298
- d.push(...A);
295
+ const p = C.getAttribute("d");
296
+ if (p) {
297
+ const x = Or(p);
298
+ d.push(...x);
299
299
  }
300
300
  }
301
301
  const w = r.querySelectorAll("circle");
302
302
  for (const C of w) {
303
- const b = parseFloat(C.getAttribute("cx") || "0"), A = parseFloat(C.getAttribute("cy") || "0"), G = parseFloat(C.getAttribute("r") || "0"), D = Br(b, A, G);
304
- d.push(...D);
303
+ const p = parseFloat(C.getAttribute("cx") || "0"), x = parseFloat(C.getAttribute("cy") || "0"), G = parseFloat(C.getAttribute("r") || "0"), R = Br(p, x, G);
304
+ d.push(...R);
305
305
  }
306
- const p = r.querySelectorAll("rect");
307
- for (const C of p) {
308
- const b = parseFloat(C.getAttribute("x") || "0"), A = parseFloat(C.getAttribute("y") || "0"), G = parseFloat(C.getAttribute("width") || "0"), D = parseFloat(C.getAttribute("height") || "0");
309
- d.push([b, A], [b + G, A], [b + G, A + D], [b, A + D]);
306
+ const m = r.querySelectorAll("rect");
307
+ for (const C of m) {
308
+ const p = parseFloat(C.getAttribute("x") || "0"), x = parseFloat(C.getAttribute("y") || "0"), G = parseFloat(C.getAttribute("width") || "0"), R = parseFloat(C.getAttribute("height") || "0");
309
+ d.push([p, x], [p + G, x], [p + G, x + R], [p, x + R]);
310
310
  }
311
311
  return d.length === 0 ? null : {
312
312
  type: "POLYGON",
@@ -336,8 +336,8 @@ function Or(a) {
336
336
  function Br(a, t, r, d = 8) {
337
337
  const i = [];
338
338
  for (let M = 0; M < d; M++) {
339
- const w = M / d * Math.PI * 2, p = a + r * Math.cos(w), C = t + r * Math.sin(w);
340
- i.push([p, C]);
339
+ const w = M / d * Math.PI * 2, m = a + r * Math.cos(w), C = t + r * Math.sin(w);
340
+ i.push([m, C]);
341
341
  }
342
342
  return i;
343
343
  }
@@ -392,11 +392,11 @@ function tt(a) {
392
392
  for (const i of d) {
393
393
  const M = i.getValue ? i.getValue() : "";
394
394
  if (M) {
395
- const w = i.getFormat ? i.getFormat() : "", p = i.getPurpose ? i.getPurpose() : void 0;
395
+ const w = i.getFormat ? i.getFormat() : "", m = i.getPurpose ? i.getPurpose() : void 0;
396
396
  t.push({
397
397
  value: M,
398
398
  isHtml: w === "text/html" || w === "application/html",
399
- purpose: p,
399
+ purpose: m,
400
400
  format: w
401
401
  });
402
402
  }
@@ -448,25 +448,25 @@ function Rr(a, t = /* @__PURE__ */ new Set()) {
448
448
  var Dr = e.from_html("<div></div>"), Gr = e.from_svg('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'), Ur = e.from_html('<div class="w-full h-full relative"><div></div> <!></div>');
449
449
  function Xr(a, t) {
450
450
  e.push(t, !0);
451
- let r = e.prop(t, "viewerState", 7), d = e.state(void 0), i = e.state(void 0), M = e.state(void 0), w = e.state(0), p = "", C = e.derived(() => {
451
+ let r = e.prop(t, "viewerState", 7), d = e.state(void 0), i = e.state(void 0), M = e.state(void 0), w = e.state(0), m = "", C = e.derived(() => {
452
452
  if (!r().manifestId || !r().canvasId)
453
453
  return [];
454
454
  const n = Ke.getAnnotations(r().manifestId, r().canvasId), o = r().currentCanvasSearchAnnotations;
455
455
  return [...n, ...o];
456
- }), b = e.derived(() => {
456
+ }), p = e.derived(() => {
457
457
  const n = new Ft();
458
458
  return r().currentCanvasSearchAnnotations.forEach((o) => {
459
- const m = o.id || o["@id"];
460
- m && n.add(m);
459
+ const b = o.id || o["@id"];
460
+ b && n.add(b);
461
461
  }), n;
462
- }), A = e.derived(() => Rr(e.get(C), e.get(b))), G = e.derived(() => {
463
- if (e.get(w), !e.get(i) || !e.get(M) || !e.get(A).length)
462
+ }), x = e.derived(() => Rr(e.get(C), e.get(p))), G = e.derived(() => {
463
+ if (e.get(w), !e.get(i) || !e.get(M) || !e.get(x).length)
464
464
  return [];
465
465
  const n = e.get(i).world.getItemAt(0);
466
466
  if (!n)
467
467
  return [];
468
- const o = [], m = r().pluginPanels.find((k) => k.id === "annotation-editor:panel"), z = m ? m.isVisible() : !1;
469
- for (const k of e.get(A)) {
468
+ const o = [], b = r().pluginPanels.find((k) => k.id === "annotation-editor:panel"), z = b ? b.isVisible() : !1;
469
+ for (const k of e.get(x)) {
470
470
  if (!k.isSearchHit) if (r().showAnnotations) {
471
471
  if (!r().visibleAnnotationIds.has(k.id))
472
472
  continue;
@@ -489,17 +489,17 @@ function Xr(a, t) {
489
489
  });
490
490
  } else if (k.geometry.type === "POLYGON") {
491
491
  const l = k.geometry.points.map((f) => {
492
- const T = n.imageToViewportCoordinates(new (e.get(M)).Point(f[0], f[1])), R = e.get(i).viewport.viewportToViewerElementCoordinates(T);
493
- return [R.x, R.y];
492
+ const T = n.imageToViewportCoordinates(new (e.get(M)).Point(f[0], f[1])), D = e.get(i).viewport.viewportToViewerElementCoordinates(T);
493
+ return [D.x, D.y];
494
494
  });
495
- let y = 1 / 0, N = 1 / 0, Q = -1 / 0, x = -1 / 0;
495
+ let y = 1 / 0, N = 1 / 0, Q = -1 / 0, A = -1 / 0;
496
496
  for (const [f, T] of l)
497
- y = Math.min(y, f), N = Math.min(N, T), Q = Math.max(Q, f), x = Math.max(x, T);
497
+ y = Math.min(y, f), N = Math.min(N, T), Q = Math.max(Q, f), A = Math.max(A, T);
498
498
  const c = l.map(([f, T]) => [f - y, T - N]);
499
499
  o.push({
500
500
  id: k.id,
501
501
  type: "POLYGON",
502
- bounds: { x: y, y: N, width: Q - y, height: x - N },
502
+ bounds: { x: y, y: N, width: Q - y, height: A - N },
503
503
  points: c,
504
504
  isSearchHit: k.isSearchHit,
505
505
  tooltip: k.body.map((f) => f.value).join(" "),
@@ -547,9 +547,9 @@ function Xr(a, t) {
547
547
  }), e.user_effect(() => {
548
548
  if (!e.get(i) || !t.tileSources) return;
549
549
  const n = JSON.stringify(t.tileSources);
550
- if (n !== p)
551
- if (p = n, r().viewingMode === "paged" && t.tileSources instanceof Array && t.tileSources.length === 2) {
552
- const m = [
550
+ if (n !== m)
551
+ if (m = n, r().viewingMode === "paged" && t.tileSources instanceof Array && t.tileSources.length === 2) {
552
+ const b = [
553
553
  { tileSource: t.tileSources[0], x: 0, y: 0, width: 1 },
554
554
  {
555
555
  tileSource: t.tileSources[1],
@@ -559,15 +559,15 @@ function Xr(a, t) {
559
559
  width: 1
560
560
  }
561
561
  ];
562
- e.get(i).open(m);
562
+ e.get(i).open(b);
563
563
  } else
564
564
  e.get(i).open(t.tileSources);
565
565
  });
566
- var D = Ur(), L = e.child(D);
566
+ var R = Ur(), L = e.child(R);
567
567
  e.bind_this(L, (n) => e.set(d, n), () => e.get(d));
568
568
  var P = e.sibling(L, 2);
569
569
  e.each(P, 17, () => e.get(G), (n) => n.id, (n, o) => {
570
- var m = e.comment(), z = e.first_child(m);
570
+ var b = e.comment(), z = e.first_child(b);
571
571
  {
572
572
  var k = (y) => {
573
573
  var N = Dr();
@@ -583,8 +583,8 @@ function Xr(a, t) {
583
583
  }, l = (y) => {
584
584
  var N = e.comment(), Q = e.first_child(N);
585
585
  {
586
- var x = (c) => {
587
- var f = Gr(), T = e.child(f), R = e.child(T, !0);
586
+ var A = (c) => {
587
+ var f = Gr(), T = e.child(f), D = e.child(T, !0);
588
588
  e.reset(T);
589
589
  var O = e.sibling(T);
590
590
  e.reset(f), e.template_effect(
@@ -595,7 +595,7 @@ function Xr(a, t) {
595
595
  width: ${e.get(o).bounds.width ?? ""}px;
596
596
  height: ${e.get(o).bounds.height ?? ""}px;
597
597
  pointer-events: ${e.get(o).pointerEvents ?? ""};
598
- `), e.set_text(R, e.get(o).tooltip), e.set_attribute(O, "id", `annotation-visual-${e.get(o).id ?? ""}`), e.set_attribute(O, "points", g), e.set_class(O, 0, `cursor-pointer transition-colors ${e.get(o).isSearchHit ? "fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60" : "fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`);
598
+ `), e.set_text(D, e.get(o).tooltip), e.set_attribute(O, "id", `annotation-visual-${e.get(o).id ?? ""}`), e.set_attribute(O, "points", g), e.set_class(O, 0, `cursor-pointer transition-colors ${e.get(o).isSearchHit ? "fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60" : "fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`);
599
599
  },
600
600
  [() => e.get(o).points.map((g) => g.join(",")).join(" ")]
601
601
  ), e.append(c, f);
@@ -603,7 +603,7 @@ function Xr(a, t) {
603
603
  e.if(
604
604
  Q,
605
605
  (c) => {
606
- e.get(o).type === "POLYGON" && c(x);
606
+ e.get(o).type === "POLYGON" && c(A);
607
607
  },
608
608
  !0
609
609
  );
@@ -614,51 +614,51 @@ function Xr(a, t) {
614
614
  e.get(o).type === "RECTANGLE" ? y(k) : y(l, !1);
615
615
  });
616
616
  }
617
- e.append(n, m);
618
- }), e.reset(D), e.template_effect(() => e.set_class(L, 1, `w-full h-full osd-background ${r().config.transparentBackground ? "" : "bg-base-100"}`)), e.append(a, D), e.pop();
617
+ e.append(n, b);
618
+ }), e.reset(R), e.template_effect(() => e.set_class(L, 1, `w-full h-full osd-background ${r().config.transparentBackground ? "" : "bg-base-100"}`)), e.append(a, R), e.pop();
619
619
  }
620
620
  var Yr = e.from_svg('<path d="M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"></path>'), Wr = e.from_svg('<path d="M160,48V208L80,128Z" opacity="0.2"></path><path d="M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"></path>', 1), qr = e.from_svg('<path d="M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"></path>'), Kr = e.from_svg('<path d="M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"></path>'), Qr = e.from_svg('<path d="M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"></path>'), Jr = e.from_svg('<path d="M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"></path>'), $r = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
621
621
  function ea(a, t) {
622
622
  e.push(t, !0);
623
623
  const r = ge();
624
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
624
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
625
625
  function C(n) {
626
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
626
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
627
627
  return l;
628
628
  }
629
- var b = $r();
629
+ var p = $r();
630
630
  e.attribute_effect(
631
- b,
631
+ p,
632
632
  (n, o) => ({
633
633
  xmlns: "http://www.w3.org/2000/svg",
634
634
  role: "img",
635
635
  width: e.get(w),
636
636
  height: e.get(w),
637
637
  fill: e.get(M),
638
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
638
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
639
639
  viewBox: "0 0 256 256",
640
640
  ...n,
641
641
  ...o
642
642
  }),
643
643
  [() => C(r), () => C(d)]
644
644
  );
645
- var A = e.child(b);
645
+ var x = e.child(p);
646
646
  {
647
647
  var G = (n) => {
648
- var o = e.comment(), m = e.first_child(o);
649
- e.snippet(m, () => t.children), e.append(n, o);
648
+ var o = e.comment(), b = e.first_child(o);
649
+ e.snippet(b, () => t.children), e.append(n, o);
650
650
  };
651
- e.if(A, (n) => {
651
+ e.if(x, (n) => {
652
652
  t.children && n(G);
653
653
  });
654
654
  }
655
- var D = e.sibling(A, 2);
655
+ var R = e.sibling(x, 2);
656
656
  {
657
657
  var L = (n) => {
658
658
  var o = Yr();
659
659
  e.append(n, o);
660
660
  }, P = (n) => {
661
- var o = e.comment(), m = e.first_child(o);
661
+ var o = e.comment(), b = e.first_child(o);
662
662
  {
663
663
  var z = (l) => {
664
664
  var y = Wr();
@@ -669,10 +669,10 @@ function ea(a, t) {
669
669
  var Q = (c) => {
670
670
  var f = qr();
671
671
  e.append(c, f);
672
- }, x = (c) => {
672
+ }, A = (c) => {
673
673
  var f = e.comment(), T = e.first_child(f);
674
674
  {
675
- var R = (g) => {
675
+ var D = (g) => {
676
676
  var u = Kr();
677
677
  e.append(g, u);
678
678
  }, O = (g) => {
@@ -714,7 +714,7 @@ function ea(a, t) {
714
714
  e.if(
715
715
  T,
716
716
  (g) => {
717
- e.get(i) === "light" ? g(R) : g(O, !1);
717
+ e.get(i) === "light" ? g(D) : g(O, !1);
718
718
  },
719
719
  !0
720
720
  );
@@ -724,7 +724,7 @@ function ea(a, t) {
724
724
  e.if(
725
725
  N,
726
726
  (c) => {
727
- e.get(i) === "fill" ? c(Q) : c(x, !1);
727
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
728
728
  },
729
729
  !0
730
730
  );
@@ -732,7 +732,7 @@ function ea(a, t) {
732
732
  e.append(l, y);
733
733
  };
734
734
  e.if(
735
- m,
735
+ b,
736
736
  (l) => {
737
737
  e.get(i) === "duotone" ? l(z) : l(k, !1);
738
738
  },
@@ -741,54 +741,54 @@ function ea(a, t) {
741
741
  }
742
742
  e.append(n, o);
743
743
  };
744
- e.if(D, (n) => {
744
+ e.if(R, (n) => {
745
745
  e.get(i) === "bold" ? n(L) : n(P, !1);
746
746
  });
747
747
  }
748
- e.reset(b), e.append(a, b), e.pop();
748
+ e.reset(p), e.append(a, p), e.pop();
749
749
  }
750
750
  var ta = e.from_svg('<path d="M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"></path>'), ra = e.from_svg('<path d="M176,128,96,208V48Z" opacity="0.2"></path><path d="M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"></path>', 1), aa = e.from_svg('<path d="M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"></path>'), na = e.from_svg('<path d="M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"></path>'), oa = e.from_svg('<path d="M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"></path>'), ia = e.from_svg('<path d="M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"></path>'), la = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
751
751
  function sa(a, t) {
752
752
  e.push(t, !0);
753
753
  const r = ge();
754
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
754
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
755
755
  function C(n) {
756
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
756
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
757
757
  return l;
758
758
  }
759
- var b = la();
759
+ var p = la();
760
760
  e.attribute_effect(
761
- b,
761
+ p,
762
762
  (n, o) => ({
763
763
  xmlns: "http://www.w3.org/2000/svg",
764
764
  role: "img",
765
765
  width: e.get(w),
766
766
  height: e.get(w),
767
767
  fill: e.get(M),
768
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
768
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
769
769
  viewBox: "0 0 256 256",
770
770
  ...n,
771
771
  ...o
772
772
  }),
773
773
  [() => C(r), () => C(d)]
774
774
  );
775
- var A = e.child(b);
775
+ var x = e.child(p);
776
776
  {
777
777
  var G = (n) => {
778
- var o = e.comment(), m = e.first_child(o);
779
- e.snippet(m, () => t.children), e.append(n, o);
778
+ var o = e.comment(), b = e.first_child(o);
779
+ e.snippet(b, () => t.children), e.append(n, o);
780
780
  };
781
- e.if(A, (n) => {
781
+ e.if(x, (n) => {
782
782
  t.children && n(G);
783
783
  });
784
784
  }
785
- var D = e.sibling(A, 2);
785
+ var R = e.sibling(x, 2);
786
786
  {
787
787
  var L = (n) => {
788
788
  var o = ta();
789
789
  e.append(n, o);
790
790
  }, P = (n) => {
791
- var o = e.comment(), m = e.first_child(o);
791
+ var o = e.comment(), b = e.first_child(o);
792
792
  {
793
793
  var z = (l) => {
794
794
  var y = ra();
@@ -799,10 +799,10 @@ function sa(a, t) {
799
799
  var Q = (c) => {
800
800
  var f = aa();
801
801
  e.append(c, f);
802
- }, x = (c) => {
802
+ }, A = (c) => {
803
803
  var f = e.comment(), T = e.first_child(f);
804
804
  {
805
- var R = (g) => {
805
+ var D = (g) => {
806
806
  var u = na();
807
807
  e.append(g, u);
808
808
  }, O = (g) => {
@@ -844,7 +844,7 @@ function sa(a, t) {
844
844
  e.if(
845
845
  T,
846
846
  (g) => {
847
- e.get(i) === "light" ? g(R) : g(O, !1);
847
+ e.get(i) === "light" ? g(D) : g(O, !1);
848
848
  },
849
849
  !0
850
850
  );
@@ -854,7 +854,7 @@ function sa(a, t) {
854
854
  e.if(
855
855
  N,
856
856
  (c) => {
857
- e.get(i) === "fill" ? c(Q) : c(x, !1);
857
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
858
858
  },
859
859
  !0
860
860
  );
@@ -862,7 +862,7 @@ function sa(a, t) {
862
862
  e.append(l, y);
863
863
  };
864
864
  e.if(
865
- m,
865
+ b,
866
866
  (l) => {
867
867
  e.get(i) === "duotone" ? l(z) : l(k, !1);
868
868
  },
@@ -871,54 +871,54 @@ function sa(a, t) {
871
871
  }
872
872
  e.append(n, o);
873
873
  };
874
- e.if(D, (n) => {
874
+ e.if(R, (n) => {
875
875
  e.get(i) === "bold" ? n(L) : n(P, !1);
876
876
  });
877
877
  }
878
- e.reset(b), e.append(a, b), e.pop();
878
+ e.reset(p), e.append(a, p), e.pop();
879
879
  }
880
880
  var ca = e.from_svg('<path d="M156,112a12,12,0,0,1-12,12H124v20a12,12,0,0,1-24,0V124H80a12,12,0,0,1,0-24h20V80a12,12,0,0,1,24,0v20h20A12,12,0,0,1,156,112Zm76.49,120.49a12,12,0,0,1-17,0L168,185a92.12,92.12,0,1,1,17-17l47.54,47.53A12,12,0,0,1,232.49,232.49ZM112,180a68,68,0,1,0-68-68A68.08,68.08,0,0,0,112,180Z"></path>'), da = e.from_svg('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Zm112,0a8,8,0,0,1-8,8H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24A8,8,0,0,1,152,112Z"></path>', 1), ga = e.from_svg('<path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM144,120H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24a8,8,0,0,1,0,16Z"></path>'), va = e.from_svg('<path d="M150,112a6,6,0,0,1-6,6H118v26a6,6,0,0,1-12,0V118H80a6,6,0,0,1,0-12h26V80a6,6,0,0,1,12,0v26h26A6,6,0,0,1,150,112Zm78.24,116.24a6,6,0,0,1-8.48,0l-51.38-51.38a86.15,86.15,0,1,1,8.48-8.48l51.38,51.38A6,6,0,0,1,228.24,228.24ZM112,186a74,74,0,1,0-74-74A74.09,74.09,0,0,0,112,186Z"></path>'), fa = e.from_svg('<path d="M152,112a8,8,0,0,1-8,8H120v24a8,8,0,0,1-16,0V120H80a8,8,0,0,1,0-16h24V80a8,8,0,0,1,16,0v24h24A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'), _a = e.from_svg('<path d="M148,112a4,4,0,0,1-4,4H116v28a4,4,0,0,1-8,0V116H80a4,4,0,0,1,0-8h28V80a4,4,0,0,1,8,0v28h28A4,4,0,0,1,148,112Zm78.83,114.83a4,4,0,0,1-5.66,0l-52.7-52.7a84.1,84.1,0,1,1,5.66-5.66l52.7,52.7A4,4,0,0,1,226.83,226.83ZM112,188a76,76,0,1,0-76-76A76.08,76.08,0,0,0,112,188Z"></path>'), ua = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
881
881
  function ha(a, t) {
882
882
  e.push(t, !0);
883
883
  const r = ge();
884
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
884
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
885
885
  function C(n) {
886
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
886
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
887
887
  return l;
888
888
  }
889
- var b = ua();
889
+ var p = ua();
890
890
  e.attribute_effect(
891
- b,
891
+ p,
892
892
  (n, o) => ({
893
893
  xmlns: "http://www.w3.org/2000/svg",
894
894
  role: "img",
895
895
  width: e.get(w),
896
896
  height: e.get(w),
897
897
  fill: e.get(M),
898
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
898
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
899
899
  viewBox: "0 0 256 256",
900
900
  ...n,
901
901
  ...o
902
902
  }),
903
903
  [() => C(r), () => C(d)]
904
904
  );
905
- var A = e.child(b);
905
+ var x = e.child(p);
906
906
  {
907
907
  var G = (n) => {
908
- var o = e.comment(), m = e.first_child(o);
909
- e.snippet(m, () => t.children), e.append(n, o);
908
+ var o = e.comment(), b = e.first_child(o);
909
+ e.snippet(b, () => t.children), e.append(n, o);
910
910
  };
911
- e.if(A, (n) => {
911
+ e.if(x, (n) => {
912
912
  t.children && n(G);
913
913
  });
914
914
  }
915
- var D = e.sibling(A, 2);
915
+ var R = e.sibling(x, 2);
916
916
  {
917
917
  var L = (n) => {
918
918
  var o = ca();
919
919
  e.append(n, o);
920
920
  }, P = (n) => {
921
- var o = e.comment(), m = e.first_child(o);
921
+ var o = e.comment(), b = e.first_child(o);
922
922
  {
923
923
  var z = (l) => {
924
924
  var y = da();
@@ -929,10 +929,10 @@ function ha(a, t) {
929
929
  var Q = (c) => {
930
930
  var f = ga();
931
931
  e.append(c, f);
932
- }, x = (c) => {
932
+ }, A = (c) => {
933
933
  var f = e.comment(), T = e.first_child(f);
934
934
  {
935
- var R = (g) => {
935
+ var D = (g) => {
936
936
  var u = va();
937
937
  e.append(g, u);
938
938
  }, O = (g) => {
@@ -974,7 +974,7 @@ function ha(a, t) {
974
974
  e.if(
975
975
  T,
976
976
  (g) => {
977
- e.get(i) === "light" ? g(R) : g(O, !1);
977
+ e.get(i) === "light" ? g(D) : g(O, !1);
978
978
  },
979
979
  !0
980
980
  );
@@ -984,7 +984,7 @@ function ha(a, t) {
984
984
  e.if(
985
985
  N,
986
986
  (c) => {
987
- e.get(i) === "fill" ? c(Q) : c(x, !1);
987
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
988
988
  },
989
989
  !0
990
990
  );
@@ -992,7 +992,7 @@ function ha(a, t) {
992
992
  e.append(l, y);
993
993
  };
994
994
  e.if(
995
- m,
995
+ b,
996
996
  (l) => {
997
997
  e.get(i) === "duotone" ? l(z) : l(k, !1);
998
998
  },
@@ -1001,54 +1001,54 @@ function ha(a, t) {
1001
1001
  }
1002
1002
  e.append(n, o);
1003
1003
  };
1004
- e.if(D, (n) => {
1004
+ e.if(R, (n) => {
1005
1005
  e.get(i) === "bold" ? n(L) : n(P, !1);
1006
1006
  });
1007
1007
  }
1008
- e.reset(b), e.append(a, b), e.pop();
1008
+ e.reset(p), e.append(a, p), e.pop();
1009
1009
  }
1010
1010
  var pa = e.from_svg('<path d="M156,112a12,12,0,0,1-12,12H80a12,12,0,0,1,0-24h64A12,12,0,0,1,156,112Zm76.49,120.49a12,12,0,0,1-17,0L168,185a92.12,92.12,0,1,1,17-17l47.54,47.53A12,12,0,0,1,232.49,232.49ZM112,180a68,68,0,1,0-68-68A68.08,68.08,0,0,0,112,180Z"></path>'), ma = e.from_svg('<path d="M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z" opacity="0.2"></path><path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Zm112,0a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Z"></path>', 1), ba = e.from_svg('<path d="M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM144,120H80a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'), wa = e.from_svg('<path d="M150,112a6,6,0,0,1-6,6H80a6,6,0,0,1,0-12h64A6,6,0,0,1,150,112Zm78.24,116.24a6,6,0,0,1-8.48,0l-51.38-51.38a86.15,86.15,0,1,1,8.48-8.48l51.38,51.38A6,6,0,0,1,228.24,228.24ZM112,186a74,74,0,1,0-74-74A74.09,74.09,0,0,0,112,186Z"></path>'), ya = e.from_svg('<path d="M152,112a8,8,0,0,1-8,8H80a8,8,0,0,1,0-16h64A8,8,0,0,1,152,112Zm77.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88.11,88.11,0,1,1,11.31-11.31l50.07,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"></path>'), xa = e.from_svg('<path d="M148,112a4,4,0,0,1-4,4H80a4,4,0,0,1,0-8h64A4,4,0,0,1,148,112Zm78.83,114.83a4,4,0,0,1-5.66,0l-52.7-52.7a84.1,84.1,0,1,1,5.66-5.66l52.7,52.7A4,4,0,0,1,226.83,226.83ZM112,188a76,76,0,1,0-76-76A76.08,76.08,0,0,0,112,188Z"></path>'), Aa = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
1011
1011
  function Za(a, t) {
1012
1012
  e.push(t, !0);
1013
1013
  const r = ge();
1014
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
1014
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
1015
1015
  function C(n) {
1016
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
1016
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
1017
1017
  return l;
1018
1018
  }
1019
- var b = Aa();
1019
+ var p = Aa();
1020
1020
  e.attribute_effect(
1021
- b,
1021
+ p,
1022
1022
  (n, o) => ({
1023
1023
  xmlns: "http://www.w3.org/2000/svg",
1024
1024
  role: "img",
1025
1025
  width: e.get(w),
1026
1026
  height: e.get(w),
1027
1027
  fill: e.get(M),
1028
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
1028
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
1029
1029
  viewBox: "0 0 256 256",
1030
1030
  ...n,
1031
1031
  ...o
1032
1032
  }),
1033
1033
  [() => C(r), () => C(d)]
1034
1034
  );
1035
- var A = e.child(b);
1035
+ var x = e.child(p);
1036
1036
  {
1037
1037
  var G = (n) => {
1038
- var o = e.comment(), m = e.first_child(o);
1039
- e.snippet(m, () => t.children), e.append(n, o);
1038
+ var o = e.comment(), b = e.first_child(o);
1039
+ e.snippet(b, () => t.children), e.append(n, o);
1040
1040
  };
1041
- e.if(A, (n) => {
1041
+ e.if(x, (n) => {
1042
1042
  t.children && n(G);
1043
1043
  });
1044
1044
  }
1045
- var D = e.sibling(A, 2);
1045
+ var R = e.sibling(x, 2);
1046
1046
  {
1047
1047
  var L = (n) => {
1048
1048
  var o = pa();
1049
1049
  e.append(n, o);
1050
1050
  }, P = (n) => {
1051
- var o = e.comment(), m = e.first_child(o);
1051
+ var o = e.comment(), b = e.first_child(o);
1052
1052
  {
1053
1053
  var z = (l) => {
1054
1054
  var y = ma();
@@ -1059,10 +1059,10 @@ function Za(a, t) {
1059
1059
  var Q = (c) => {
1060
1060
  var f = ba();
1061
1061
  e.append(c, f);
1062
- }, x = (c) => {
1062
+ }, A = (c) => {
1063
1063
  var f = e.comment(), T = e.first_child(f);
1064
1064
  {
1065
- var R = (g) => {
1065
+ var D = (g) => {
1066
1066
  var u = wa();
1067
1067
  e.append(g, u);
1068
1068
  }, O = (g) => {
@@ -1104,7 +1104,7 @@ function Za(a, t) {
1104
1104
  e.if(
1105
1105
  T,
1106
1106
  (g) => {
1107
- e.get(i) === "light" ? g(R) : g(O, !1);
1107
+ e.get(i) === "light" ? g(D) : g(O, !1);
1108
1108
  },
1109
1109
  !0
1110
1110
  );
@@ -1114,7 +1114,7 @@ function Za(a, t) {
1114
1114
  e.if(
1115
1115
  N,
1116
1116
  (c) => {
1117
- e.get(i) === "fill" ? c(Q) : c(x, !1);
1117
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
1118
1118
  },
1119
1119
  !0
1120
1120
  );
@@ -1122,7 +1122,7 @@ function Za(a, t) {
1122
1122
  e.append(l, y);
1123
1123
  };
1124
1124
  e.if(
1125
- m,
1125
+ b,
1126
1126
  (l) => {
1127
1127
  e.get(i) === "duotone" ? l(z) : l(k, !1);
1128
1128
  },
@@ -1131,11 +1131,11 @@ function Za(a, t) {
1131
1131
  }
1132
1132
  e.append(n, o);
1133
1133
  };
1134
- e.if(D, (n) => {
1134
+ e.if(R, (n) => {
1135
1135
  e.get(i) === "bold" ? n(L) : n(P, !1);
1136
1136
  });
1137
1137
  }
1138
- e.reset(b), e.append(a, b), e.pop();
1138
+ e.reset(p), e.append(a, p), e.pop();
1139
1139
  }
1140
1140
  const Ha = (
1141
1141
  /** @type {(inputs: {}) => LocalizedString} */
@@ -2452,42 +2452,42 @@ function Ms(a, t) {
2452
2452
  let r = e.derived(() => t.viewerState.showCanvasNav && t.viewerState.canvases.length > 1);
2453
2453
  var d = Hs(), i = e.child(d);
2454
2454
  {
2455
- var M = (A) => {
2455
+ var M = (x) => {
2456
2456
  var G = ws();
2457
2457
  G.__click = () => t.viewerState.previousCanvas();
2458
- var D = e.child(G);
2459
- ea(D, { size: 20, weight: "bold" }), e.reset(G), e.template_effect(
2458
+ var R = e.child(G);
2459
+ ea(R, { size: 20, weight: "bold" }), e.reset(G), e.template_effect(
2460
2460
  (L) => {
2461
2461
  G.disabled = !t.viewerState.hasPrevious, e.set_attribute(G, "aria-label", L);
2462
2462
  },
2463
2463
  [() => /* @__PURE__ */ pt()]
2464
- ), e.append(A, G);
2464
+ ), e.append(x, G);
2465
2465
  };
2466
- e.if(i, (A) => {
2467
- e.get(r) && A(M);
2466
+ e.if(i, (x) => {
2467
+ e.get(r) && x(M);
2468
2468
  });
2469
2469
  }
2470
2470
  var w = e.sibling(i, 2);
2471
2471
  {
2472
- var p = (A) => {
2473
- var G = As(), D = e.first_child(G);
2472
+ var m = (x) => {
2473
+ var G = As(), R = e.first_child(G);
2474
2474
  {
2475
2475
  var L = (l) => {
2476
2476
  var y = ys();
2477
2477
  e.append(l, y);
2478
2478
  };
2479
- e.if(D, (l) => {
2479
+ e.if(R, (l) => {
2480
2480
  e.get(r) && l(L);
2481
2481
  });
2482
2482
  }
2483
- var P = e.sibling(D, 2);
2483
+ var P = e.sibling(R, 2);
2484
2484
  P.__click = () => t.viewerState.zoomOut();
2485
2485
  var n = e.child(P);
2486
2486
  Za(n, { size: 20, weight: "bold" }), e.reset(P);
2487
2487
  var o = e.sibling(P, 2);
2488
2488
  o.__click = () => t.viewerState.zoomIn();
2489
- var m = e.child(o);
2490
- ha(m, { size: 20, weight: "bold" }), e.reset(o);
2489
+ var b = e.child(o);
2490
+ ha(b, { size: 20, weight: "bold" }), e.reset(o);
2491
2491
  var z = e.sibling(o, 2);
2492
2492
  {
2493
2493
  var k = (l) => {
@@ -2498,18 +2498,18 @@ function Ms(a, t) {
2498
2498
  e.get(r) && l(k);
2499
2499
  });
2500
2500
  }
2501
- e.append(A, G);
2501
+ e.append(x, G);
2502
2502
  };
2503
- e.if(w, (A) => {
2504
- t.viewerState.showZoomControls && A(p);
2503
+ e.if(w, (x) => {
2504
+ t.viewerState.showZoomControls && x(m);
2505
2505
  });
2506
2506
  }
2507
2507
  var C = e.sibling(w, 2);
2508
2508
  {
2509
- var b = (A) => {
2510
- var G = Zs(), D = e.first_child(G), L = e.child(D);
2511
- e.reset(D);
2512
- var P = e.sibling(D, 2);
2509
+ var p = (x) => {
2510
+ var G = Zs(), R = e.first_child(G), L = e.child(R);
2511
+ e.reset(R);
2512
+ var P = e.sibling(R, 2);
2513
2513
  P.__click = () => t.viewerState.nextCanvas();
2514
2514
  var n = e.child(P);
2515
2515
  sa(n, { size: 20, weight: "bold" }), e.reset(P), e.template_effect(
@@ -2517,10 +2517,10 @@ function Ms(a, t) {
2517
2517
  e.set_text(L, `${t.viewerState.currentCanvasIndex + 1} / ${t.viewerState.canvases.length ?? ""}`), P.disabled = !t.viewerState.hasNext, e.set_attribute(P, "aria-label", o);
2518
2518
  },
2519
2519
  [() => /* @__PURE__ */ mt()]
2520
- ), e.append(A, G);
2520
+ ), e.append(x, G);
2521
2521
  };
2522
- e.if(C, (A) => {
2523
- e.get(r) && A(b);
2522
+ e.if(C, (x) => {
2523
+ e.get(r) && x(p);
2524
2524
  });
2525
2525
  }
2526
2526
  e.reset(d), e.append(a, d), e.pop();
@@ -2530,44 +2530,44 @@ var Vs = e.from_svg('<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,1
2530
2530
  function Ps(a, t) {
2531
2531
  e.push(t, !0);
2532
2532
  const r = ge();
2533
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2533
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2534
2534
  function C(n) {
2535
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
2535
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
2536
2536
  return l;
2537
2537
  }
2538
- var b = Ls();
2538
+ var p = Ls();
2539
2539
  e.attribute_effect(
2540
- b,
2540
+ p,
2541
2541
  (n, o) => ({
2542
2542
  xmlns: "http://www.w3.org/2000/svg",
2543
2543
  role: "img",
2544
2544
  width: e.get(w),
2545
2545
  height: e.get(w),
2546
2546
  fill: e.get(M),
2547
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
2547
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
2548
2548
  viewBox: "0 0 256 256",
2549
2549
  ...n,
2550
2550
  ...o
2551
2551
  }),
2552
2552
  [() => C(r), () => C(d)]
2553
2553
  );
2554
- var A = e.child(b);
2554
+ var x = e.child(p);
2555
2555
  {
2556
2556
  var G = (n) => {
2557
- var o = e.comment(), m = e.first_child(o);
2558
- e.snippet(m, () => t.children), e.append(n, o);
2557
+ var o = e.comment(), b = e.first_child(o);
2558
+ e.snippet(b, () => t.children), e.append(n, o);
2559
2559
  };
2560
- e.if(A, (n) => {
2560
+ e.if(x, (n) => {
2561
2561
  t.children && n(G);
2562
2562
  });
2563
2563
  }
2564
- var D = e.sibling(A, 2);
2564
+ var R = e.sibling(x, 2);
2565
2565
  {
2566
2566
  var L = (n) => {
2567
2567
  var o = Vs();
2568
2568
  e.append(n, o);
2569
2569
  }, P = (n) => {
2570
- var o = e.comment(), m = e.first_child(o);
2570
+ var o = e.comment(), b = e.first_child(o);
2571
2571
  {
2572
2572
  var z = (l) => {
2573
2573
  var y = Ss();
@@ -2578,10 +2578,10 @@ function Ps(a, t) {
2578
2578
  var Q = (c) => {
2579
2579
  var f = Cs();
2580
2580
  e.append(c, f);
2581
- }, x = (c) => {
2581
+ }, A = (c) => {
2582
2582
  var f = e.comment(), T = e.first_child(f);
2583
2583
  {
2584
- var R = (g) => {
2584
+ var D = (g) => {
2585
2585
  var u = zs();
2586
2586
  e.append(g, u);
2587
2587
  }, O = (g) => {
@@ -2623,7 +2623,7 @@ function Ps(a, t) {
2623
2623
  e.if(
2624
2624
  T,
2625
2625
  (g) => {
2626
- e.get(i) === "light" ? g(R) : g(O, !1);
2626
+ e.get(i) === "light" ? g(D) : g(O, !1);
2627
2627
  },
2628
2628
  !0
2629
2629
  );
@@ -2633,7 +2633,7 @@ function Ps(a, t) {
2633
2633
  e.if(
2634
2634
  N,
2635
2635
  (c) => {
2636
- e.get(i) === "fill" ? c(Q) : c(x, !1);
2636
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
2637
2637
  },
2638
2638
  !0
2639
2639
  );
@@ -2641,7 +2641,7 @@ function Ps(a, t) {
2641
2641
  e.append(l, y);
2642
2642
  };
2643
2643
  e.if(
2644
- m,
2644
+ b,
2645
2645
  (l) => {
2646
2646
  e.get(i) === "duotone" ? l(z) : l(k, !1);
2647
2647
  },
@@ -2650,54 +2650,54 @@ function Ps(a, t) {
2650
2650
  }
2651
2651
  e.append(n, o);
2652
2652
  };
2653
- e.if(D, (n) => {
2653
+ e.if(R, (n) => {
2654
2654
  e.get(i) === "bold" ? n(L) : n(P, !1);
2655
2655
  });
2656
2656
  }
2657
- e.reset(b), e.append(a, b), e.pop();
2657
+ e.reset(p), e.append(a, p), e.pop();
2658
2658
  }
2659
2659
  var Ts = e.from_svg('<path d="M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"></path>'), Es = e.from_svg('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>', 1), js = e.from_svg('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"></path>'), Os = e.from_svg('<path d="M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"></path>'), Bs = e.from_svg('<path d="M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"></path>'), Fs = e.from_svg('<path d="M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"></path>'), Ns = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2660
2660
  function Ge(a, t) {
2661
2661
  e.push(t, !0);
2662
2662
  const r = ge();
2663
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2663
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2664
2664
  function C(n) {
2665
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
2665
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
2666
2666
  return l;
2667
2667
  }
2668
- var b = Ns();
2668
+ var p = Ns();
2669
2669
  e.attribute_effect(
2670
- b,
2670
+ p,
2671
2671
  (n, o) => ({
2672
2672
  xmlns: "http://www.w3.org/2000/svg",
2673
2673
  role: "img",
2674
2674
  width: e.get(w),
2675
2675
  height: e.get(w),
2676
2676
  fill: e.get(M),
2677
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
2677
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
2678
2678
  viewBox: "0 0 256 256",
2679
2679
  ...n,
2680
2680
  ...o
2681
2681
  }),
2682
2682
  [() => C(r), () => C(d)]
2683
2683
  );
2684
- var A = e.child(b);
2684
+ var x = e.child(p);
2685
2685
  {
2686
2686
  var G = (n) => {
2687
- var o = e.comment(), m = e.first_child(o);
2688
- e.snippet(m, () => t.children), e.append(n, o);
2687
+ var o = e.comment(), b = e.first_child(o);
2688
+ e.snippet(b, () => t.children), e.append(n, o);
2689
2689
  };
2690
- e.if(A, (n) => {
2690
+ e.if(x, (n) => {
2691
2691
  t.children && n(G);
2692
2692
  });
2693
2693
  }
2694
- var D = e.sibling(A, 2);
2694
+ var R = e.sibling(x, 2);
2695
2695
  {
2696
2696
  var L = (n) => {
2697
2697
  var o = Ts();
2698
2698
  e.append(n, o);
2699
2699
  }, P = (n) => {
2700
- var o = e.comment(), m = e.first_child(o);
2700
+ var o = e.comment(), b = e.first_child(o);
2701
2701
  {
2702
2702
  var z = (l) => {
2703
2703
  var y = Es();
@@ -2708,10 +2708,10 @@ function Ge(a, t) {
2708
2708
  var Q = (c) => {
2709
2709
  var f = js();
2710
2710
  e.append(c, f);
2711
- }, x = (c) => {
2711
+ }, A = (c) => {
2712
2712
  var f = e.comment(), T = e.first_child(f);
2713
2713
  {
2714
- var R = (g) => {
2714
+ var D = (g) => {
2715
2715
  var u = Os();
2716
2716
  e.append(g, u);
2717
2717
  }, O = (g) => {
@@ -2753,7 +2753,7 @@ function Ge(a, t) {
2753
2753
  e.if(
2754
2754
  T,
2755
2755
  (g) => {
2756
- e.get(i) === "light" ? g(R) : g(O, !1);
2756
+ e.get(i) === "light" ? g(D) : g(O, !1);
2757
2757
  },
2758
2758
  !0
2759
2759
  );
@@ -2763,7 +2763,7 @@ function Ge(a, t) {
2763
2763
  e.if(
2764
2764
  N,
2765
2765
  (c) => {
2766
- e.get(i) === "fill" ? c(Q) : c(x, !1);
2766
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
2767
2767
  },
2768
2768
  !0
2769
2769
  );
@@ -2771,7 +2771,7 @@ function Ge(a, t) {
2771
2771
  e.append(l, y);
2772
2772
  };
2773
2773
  e.if(
2774
- m,
2774
+ b,
2775
2775
  (l) => {
2776
2776
  e.get(i) === "duotone" ? l(z) : l(k, !1);
2777
2777
  },
@@ -2780,54 +2780,54 @@ function Ge(a, t) {
2780
2780
  }
2781
2781
  e.append(n, o);
2782
2782
  };
2783
- e.if(D, (n) => {
2783
+ e.if(R, (n) => {
2784
2784
  e.get(i) === "bold" ? n(L) : n(P, !1);
2785
2785
  });
2786
2786
  }
2787
- e.reset(b), e.append(a, b), e.pop();
2787
+ e.reset(p), e.append(a, p), e.pop();
2788
2788
  }
2789
2789
  var Rs = e.from_svg('<path d="M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"></path>'), Ds = e.from_svg('<path d="M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z" opacity="0.2"></path><path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>', 1), Gs = e.from_svg('<path d="M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"></path>'), Us = e.from_svg('<path d="M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"></path>'), Xs = e.from_svg('<path d="M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"></path>'), Ys = e.from_svg('<path d="M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"></path>'), Ws = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2790
2790
  function Ue(a, t) {
2791
2791
  e.push(t, !0);
2792
2792
  const r = ge();
2793
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2793
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2794
2794
  function C(n) {
2795
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
2795
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
2796
2796
  return l;
2797
2797
  }
2798
- var b = Ws();
2798
+ var p = Ws();
2799
2799
  e.attribute_effect(
2800
- b,
2800
+ p,
2801
2801
  (n, o) => ({
2802
2802
  xmlns: "http://www.w3.org/2000/svg",
2803
2803
  role: "img",
2804
2804
  width: e.get(w),
2805
2805
  height: e.get(w),
2806
2806
  fill: e.get(M),
2807
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
2807
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
2808
2808
  viewBox: "0 0 256 256",
2809
2809
  ...n,
2810
2810
  ...o
2811
2811
  }),
2812
2812
  [() => C(r), () => C(d)]
2813
2813
  );
2814
- var A = e.child(b);
2814
+ var x = e.child(p);
2815
2815
  {
2816
2816
  var G = (n) => {
2817
- var o = e.comment(), m = e.first_child(o);
2818
- e.snippet(m, () => t.children), e.append(n, o);
2817
+ var o = e.comment(), b = e.first_child(o);
2818
+ e.snippet(b, () => t.children), e.append(n, o);
2819
2819
  };
2820
- e.if(A, (n) => {
2820
+ e.if(x, (n) => {
2821
2821
  t.children && n(G);
2822
2822
  });
2823
2823
  }
2824
- var D = e.sibling(A, 2);
2824
+ var R = e.sibling(x, 2);
2825
2825
  {
2826
2826
  var L = (n) => {
2827
2827
  var o = Rs();
2828
2828
  e.append(n, o);
2829
2829
  }, P = (n) => {
2830
- var o = e.comment(), m = e.first_child(o);
2830
+ var o = e.comment(), b = e.first_child(o);
2831
2831
  {
2832
2832
  var z = (l) => {
2833
2833
  var y = Ds();
@@ -2838,10 +2838,10 @@ function Ue(a, t) {
2838
2838
  var Q = (c) => {
2839
2839
  var f = Gs();
2840
2840
  e.append(c, f);
2841
- }, x = (c) => {
2841
+ }, A = (c) => {
2842
2842
  var f = e.comment(), T = e.first_child(f);
2843
2843
  {
2844
- var R = (g) => {
2844
+ var D = (g) => {
2845
2845
  var u = Us();
2846
2846
  e.append(g, u);
2847
2847
  }, O = (g) => {
@@ -2883,7 +2883,7 @@ function Ue(a, t) {
2883
2883
  e.if(
2884
2884
  T,
2885
2885
  (g) => {
2886
- e.get(i) === "light" ? g(R) : g(O, !1);
2886
+ e.get(i) === "light" ? g(D) : g(O, !1);
2887
2887
  },
2888
2888
  !0
2889
2889
  );
@@ -2893,7 +2893,7 @@ function Ue(a, t) {
2893
2893
  e.if(
2894
2894
  N,
2895
2895
  (c) => {
2896
- e.get(i) === "fill" ? c(Q) : c(x, !1);
2896
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
2897
2897
  },
2898
2898
  !0
2899
2899
  );
@@ -2901,7 +2901,7 @@ function Ue(a, t) {
2901
2901
  e.append(l, y);
2902
2902
  };
2903
2903
  e.if(
2904
- m,
2904
+ b,
2905
2905
  (l) => {
2906
2906
  e.get(i) === "duotone" ? l(z) : l(k, !1);
2907
2907
  },
@@ -2910,11 +2910,11 @@ function Ue(a, t) {
2910
2910
  }
2911
2911
  e.append(n, o);
2912
2912
  };
2913
- e.if(D, (n) => {
2913
+ e.if(R, (n) => {
2914
2914
  e.get(i) === "bold" ? n(L) : n(P, !1);
2915
2915
  });
2916
2916
  }
2917
- e.reset(b), e.append(a, b), e.pop();
2917
+ e.reset(p), e.append(a, p), e.pop();
2918
2918
  }
2919
2919
  var qs = e.from_svg('<svg class="fixed inset-0 z-50 pointer-events-none drop-shadow-md text-primary" style="width: 100vw; height: 100vh;"><line stroke="currentColor" stroke-width="2"></line><circle r="3" fill="currentColor"></circle><circle r="3" fill="currentColor"></circle></svg>'), Ks = e.from_html('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'), Qs = e.from_html('<span class="badge badge-primary badge-outline badge-sm"> </span>'), Js = e.from_html('<a target="_blank" rel="noopener noreferrer" class="flex items-center gap-1 text-primary hover:underline hover:text-primary-focus p-1 rounded hover:bg-base-200 -ml-1 transition-colors"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="currentColor" viewBox="0 0 256 256"><path d="M136.37,187.53a12,12,0,0,1,0,17l-5.94,5.94a60,60,0,0,1-84.88-84.88l24.12-24.12A60,60,0,0,1,152.06,99,12,12,0,1,1,135,116a36,36,0,0,0-50.93,1.57L60,141.66a36,36,0,0,0,50.93,50.93l5.94-5.94A12,12,0,0,1,136.37,187.53Zm81.51-149.41a60,60,0,0,0-84.88,0l-5.94,5.94a12,12,0,0,0,17,17l5.94-5.94a36,36,0,0,1,50.93,50.93l-24.11,24.12A36,36,0,0,1,121,140a12,12,0,1,0-17.08,17,60,60,0,0,0,82.39,2.46l24.12-24.12A60,60,0,0,0,217.88,38.12Z"></path></svg> <span class="truncate max-w-[200px]"> </span></a>'), $s = e.from_html('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'), e0 = e.from_html('<span class="opacity-50 italic text-xs">(No content)</span>'), t0 = e.from_html('<div class="w-full text-left p-3 hover:bg-base-300 transition-colors cursor-pointer flex gap-3 group/item items-start focus:outline-none focus:bg-base-300 relative" role="button" tabindex="0"><button class="btn btn-xs btn-circle btn-ghost mt-0.5 shrink-0"><!></button> <div class="flex-1 min-w-0 pointer-events-none"><div class="flex items-start justify-between"><span class="font-bold text-sm text-primary"> </span> <!></div> <div><!> <!></div></div></div>'), r0 = e.from_html('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'), a0 = e.from_html('<div class="absolute top-4 right-4 z-40 pointer-events-auto transition-all duration-300"><details class="group relative"><summary class="flex items-center gap-2 bg-base-200/90 backdrop-blur shadow-lg rounded-full px-4 py-2 cursor-pointer list-none hover:bg-base-200 transition-all select-none border border-base-300 pointer-events-auto"><button class="btn btn-xs btn-circle btn-ghost"><!></button> <span class="text-sm font-medium"> <span class="opacity-50 text-xs font-normal ml-1"> </span></span> <!></summary> <div class="absolute right-0 mt-2 w-96 bg-base-200/95 backdrop-blur shadow-xl rounded-box p-0 max-h-[60vh] overflow-y-auto border border-base-300 flex flex-col divide-y divide-base-300"></div></details></div>'), n0 = e.from_html("<!> <!>", 1);
2920
2920
  function o0(a, t) {
@@ -2923,16 +2923,16 @@ function o0(a, t) {
2923
2923
  let d = e.derived(() => {
2924
2924
  if (!r.manifestId || !r.canvasId)
2925
2925
  return [];
2926
- const m = Ke.getAnnotations(r.manifestId, r.canvasId), z = r.currentCanvasSearchAnnotations;
2927
- return [...m, ...z];
2926
+ const b = Ke.getAnnotations(r.manifestId, r.canvasId), z = r.currentCanvasSearchAnnotations;
2927
+ return [...b, ...z];
2928
2928
  });
2929
- function i(m) {
2930
- return m.id || m["@id"] || (typeof m.getId == "function" ? m.getId() : "") || "";
2929
+ function i(b) {
2930
+ return b.id || b["@id"] || (typeof b.getId == "function" ? b.getId() : "") || "";
2931
2931
  }
2932
2932
  e.user_effect(() => {
2933
- var m;
2933
+ var b;
2934
2934
  if (e.get(d).length > 0) {
2935
- const z = ((m = r.config.annotations) == null ? void 0 : m.visible) ?? !0;
2935
+ const z = ((b = r.config.annotations) == null ? void 0 : b.visible) ?? !0;
2936
2936
  r.visibleAnnotationIds.clear(), z && e.get(d).forEach((k) => {
2937
2937
  const l = i(k);
2938
2938
  l && r.visibleAnnotationIds.add(l);
@@ -2940,84 +2940,84 @@ function o0(a, t) {
2940
2940
  } else
2941
2941
  r.visibleAnnotationIds.clear();
2942
2942
  });
2943
- let M = e.derived(() => e.get(d).length === 0 ? !1 : e.get(d).every((m) => {
2944
- const z = i(m);
2943
+ let M = e.derived(() => e.get(d).length === 0 ? !1 : e.get(d).every((b) => {
2944
+ const z = i(b);
2945
2945
  return !z || r.visibleAnnotationIds.has(z);
2946
2946
  }));
2947
- function w(m) {
2948
- r.visibleAnnotationIds.has(m) ? r.visibleAnnotationIds.delete(m) : r.visibleAnnotationIds.add(m);
2947
+ function w(b) {
2948
+ r.visibleAnnotationIds.has(b) ? r.visibleAnnotationIds.delete(b) : r.visibleAnnotationIds.add(b);
2949
2949
  }
2950
- function p() {
2951
- e.get(M) ? r.visibleAnnotationIds.clear() : (r.visibleAnnotationIds.clear(), e.get(d).forEach((m) => {
2952
- const z = i(m);
2950
+ function m() {
2951
+ e.get(M) ? r.visibleAnnotationIds.clear() : (r.visibleAnnotationIds.clear(), e.get(d).forEach((b) => {
2952
+ const z = i(b);
2953
2953
  z && r.visibleAnnotationIds.add(z);
2954
2954
  }));
2955
2955
  }
2956
- let C = e.state(null), b = e.state(void 0);
2956
+ let C = e.state(null), p = e.state(void 0);
2957
2957
  e.derived(() => (e.get(C), null));
2958
- let A = e.state(null);
2958
+ let x = e.state(null);
2959
2959
  e.user_effect(() => {
2960
2960
  if (!e.get(C)) {
2961
- e.set(A, null);
2961
+ e.set(x, null);
2962
2962
  return;
2963
2963
  }
2964
- const m = () => {
2964
+ const b = () => {
2965
2965
  let k = document;
2966
- if (e.get(b)) {
2967
- const N = e.get(b).getRootNode();
2966
+ if (e.get(p)) {
2967
+ const N = e.get(p).getRootNode();
2968
2968
  (N instanceof Document || N instanceof ShadowRoot) && (k = N);
2969
2969
  }
2970
2970
  const l = k.getElementById(`annotation-list-item-${e.get(C)}`), y = k.getElementById(`annotation-visual-${e.get(C)}`);
2971
2971
  if (l && y) {
2972
- const N = l.getBoundingClientRect(), Q = y.getBoundingClientRect(), x = N.left, c = N.top + N.height / 2, f = Q.left + Q.width / 2, T = Q.top + Q.height / 2;
2973
- e.set(A, { x1: x, y1: c, x2: f, y2: T }, !0);
2972
+ const N = l.getBoundingClientRect(), Q = y.getBoundingClientRect(), A = N.left, c = N.top + N.height / 2, f = Q.left + Q.width / 2, T = Q.top + Q.height / 2;
2973
+ e.set(x, { x1: A, y1: c, x2: f, y2: T }, !0);
2974
2974
  } else
2975
- e.set(A, null);
2975
+ e.set(x, null);
2976
2976
  };
2977
- m();
2978
- const z = setInterval(m, 16);
2977
+ b();
2978
+ const z = setInterval(b, 16);
2979
2979
  return () => clearInterval(z);
2980
2980
  });
2981
- let G = e.derived(() => e.get(d).length ? e.get(d).map((m) => {
2982
- const z = tt(m);
2981
+ let G = e.derived(() => e.get(d).length ? e.get(d).map((b) => {
2982
+ const z = tt(b);
2983
2983
  return {
2984
- id: i(m),
2984
+ id: i(b),
2985
2985
  bodies: z,
2986
- label: (typeof m.getLabel == "function" ? m.getLabel() : m.label) || ""
2986
+ label: (typeof b.getLabel == "function" ? b.getLabel() : b.label) || ""
2987
2987
  };
2988
2988
  }) : []);
2989
- var D = n0(), L = e.first_child(D);
2989
+ var R = n0(), L = e.first_child(R);
2990
2990
  {
2991
- var P = (m) => {
2991
+ var P = (b) => {
2992
2992
  var z = qs(), k = e.child(z), l = e.sibling(k), y = e.sibling(l);
2993
2993
  e.reset(z), e.template_effect(() => {
2994
- e.set_attribute(k, "x1", e.get(A).x1), e.set_attribute(k, "y1", e.get(A).y1), e.set_attribute(k, "x2", e.get(A).x2), e.set_attribute(k, "y2", e.get(A).y2), e.set_attribute(l, "cx", e.get(A).x1), e.set_attribute(l, "cy", e.get(A).y1), e.set_attribute(y, "cx", e.get(A).x2), e.set_attribute(y, "cy", e.get(A).y2);
2995
- }), e.append(m, z);
2994
+ e.set_attribute(k, "x1", e.get(x).x1), e.set_attribute(k, "y1", e.get(x).y1), e.set_attribute(k, "x2", e.get(x).x2), e.set_attribute(k, "y2", e.get(x).y2), e.set_attribute(l, "cx", e.get(x).x1), e.set_attribute(l, "cy", e.get(x).y1), e.set_attribute(y, "cx", e.get(x).x2), e.set_attribute(y, "cy", e.get(x).y2);
2995
+ }), e.append(b, z);
2996
2996
  };
2997
- e.if(L, (m) => {
2998
- e.get(A) && m(P);
2997
+ e.if(L, (b) => {
2998
+ e.get(x) && b(P);
2999
2999
  });
3000
3000
  }
3001
3001
  var n = e.sibling(L, 2);
3002
3002
  {
3003
- var o = (m) => {
3003
+ var o = (b) => {
3004
3004
  var z = a0(), k = e.child(z), l = e.child(k), y = e.child(l);
3005
3005
  y.__click = (u) => {
3006
- u.preventDefault(), p();
3006
+ u.preventDefault(), m();
3007
3007
  };
3008
3008
  var N = e.child(y);
3009
3009
  {
3010
3010
  var Q = (u) => {
3011
3011
  Ge(u, { size: 16, weight: "bold" });
3012
- }, x = (u) => {
3012
+ }, A = (u) => {
3013
3013
  Ue(u, { size: 16, weight: "bold" });
3014
3014
  };
3015
3015
  e.if(N, (u) => {
3016
- e.get(M) ? u(Q) : u(x, !1);
3016
+ e.get(M) ? u(Q) : u(A, !1);
3017
3017
  });
3018
3018
  }
3019
3019
  e.reset(y);
3020
- var c = e.sibling(y, 2), f = e.child(c), T = e.sibling(f), R = e.child(T, !0);
3020
+ var c = e.sibling(y, 2), f = e.child(c), T = e.sibling(f), D = e.child(T, !0);
3021
3021
  e.reset(T), e.reset(c);
3022
3022
  var O = e.sibling(c, 2);
3023
3023
  Ps(O, {
@@ -3135,22 +3135,22 @@ function o0(a, t) {
3135
3135
  var H = r0();
3136
3136
  e.append(u, H);
3137
3137
  }
3138
- ), e.reset(g), e.reset(k), e.reset(z), e.bind_this(z, (u) => e.set(b, u), () => e.get(b)), e.template_effect(
3138
+ ), e.reset(g), e.reset(k), e.reset(z), e.bind_this(z, (u) => e.set(p, u), () => e.get(p)), e.template_effect(
3139
3139
  (u, H, E) => {
3140
- e.set_attribute(y, "title", u), e.set_text(f, `${H ?? ""} `), e.set_text(R, E);
3140
+ e.set_attribute(y, "title", u), e.set_text(f, `${H ?? ""} `), e.set_text(D, E);
3141
3141
  },
3142
3142
  [
3143
3143
  () => e.get(M) ? /* @__PURE__ */ ft() : /* @__PURE__ */ _t(),
3144
3144
  () => /* @__PURE__ */ ut({ count: e.get(d).length }),
3145
3145
  () => /* @__PURE__ */ ht({ count: r.visibleAnnotationIds.size })
3146
3146
  ]
3147
- ), e.append(m, z);
3147
+ ), e.append(b, z);
3148
3148
  };
3149
- e.if(n, (m) => {
3150
- r.showAnnotations && m(o);
3149
+ e.if(n, (b) => {
3150
+ r.showAnnotations && b(o);
3151
3151
  });
3152
3152
  }
3153
- e.append(a, D), e.pop();
3153
+ e.append(a, R), e.pop();
3154
3154
  }
3155
3155
  e.delegate(["click"]);
3156
3156
  var i0 = e.from_html('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'), l0 = e.from_html('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'), s0 = e.from_html('<img loading="lazy" draggable="false"/>'), c0 = e.from_html('<span class="opacity-20 text-4xl">?</span>'), d0 = e.from_html('<img loading="lazy" draggable="false"/>'), g0 = e.from_html('<span class="opacity-20 text-4xl">?</span>'), v0 = e.from_html("<div><!></div>"), f0 = e.from_html('<button><div><div><!></div> <!></div> <div class="text-xs font-medium truncate w-full opacity-70 group-hover:opacity-100"><span class="font-bold mr-1"> </span> </div></button>'), _0 = e.from_html('<img loading="lazy" draggable="false"/>'), u0 = e.from_html('<span class="opacity-20 text-4xl">?</span>'), h0 = e.from_html('<button><div><!></div> <div class="text-xs font-medium truncate w-full opacity-70 group-hover:opacity-100"><span class="font-bold mr-1"> </span> </div></button>'), p0 = e.from_html('<div class="absolute bottom-0 right-0 w-6 h-6 cursor-se-resize resize-handle bg-accent hover:bg-accent-focus transition-colors z-50" style="clip-path: polygon(100% 0, 0 100%, 100% 100%);" role="button" tabindex="0" aria-label="Resize"></div>'), m0 = e.from_html('<div role="group"><span class="font-bold text-primary opacity-50">Dock Top</span></div> <div role="group"><span class="font-bold text-primary opacity-50">Dock Bottom</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Left</span></div> <div role="group"><span class="font-bold text-primary opacity-50 vertical-rl rotate-180" style="writing-mode: vertical-rl;">Dock Right</span></div>', 1), b0 = e.from_html("<div><!> <!> <div><div><!></div></div> <!></div> <!>", 1);
@@ -3158,15 +3158,15 @@ function xe(a, t) {
3158
3158
  e.push(t, !0);
3159
3159
  const r = Ze(we);
3160
3160
  let d = e.derived(() => {
3161
- var x;
3162
- return ((x = r.config.gallery) == null ? void 0 : x.draggable) ?? !0;
3161
+ var A;
3162
+ return ((A = r.config.gallery) == null ? void 0 : A.draggable) ?? !0;
3163
3163
  }), i = e.derived(() => {
3164
- var x;
3165
- return ((x = r.config.gallery) == null ? void 0 : x.showCloseButton) ?? !0;
3166
- }), M = e.state(!1), w = { x: 0, y: 0, w: 0, h: 0 }, p = e.state(null);
3164
+ var A;
3165
+ return ((A = r.config.gallery) == null ? void 0 : A.showCloseButton) ?? !0;
3166
+ }), M = e.state(!1), w = { x: 0, y: 0, w: 0, h: 0 }, m = e.state(null);
3167
3167
  e.user_effect(() => {
3168
- var x, c, f, T;
3169
- (x = r.config.gallery) != null && x.width && ((c = r.config.gallery) != null && c.height) && (r.gallerySize = {
3168
+ var A, c, f, T;
3169
+ (A = r.config.gallery) != null && A.width && ((c = r.config.gallery) != null && c.height) && (r.gallerySize = {
3170
3170
  width: r.config.gallery.width,
3171
3171
  height: r.config.gallery.height
3172
3172
  }), ((f = r.config.gallery) == null ? void 0 : f.x) !== void 0 && ((T = r.config.gallery) == null ? void 0 : T.y) !== void 0 && (r.galleryPosition = {
@@ -3174,27 +3174,27 @@ function xe(a, t) {
3174
3174
  y: r.config.gallery.y
3175
3175
  });
3176
3176
  });
3177
- let C = e.derived(() => !t.canvases || !Array.isArray(t.canvases) ? [] : t.canvases.map((x, c) => {
3177
+ let C = e.derived(() => !t.canvases || !Array.isArray(t.canvases) ? [] : t.canvases.map((A, c) => {
3178
3178
  let f = "";
3179
3179
  try {
3180
- if (x.getThumbnail) {
3181
- const T = x.getThumbnail();
3180
+ if (A.getThumbnail) {
3181
+ const T = A.getThumbnail();
3182
3182
  T && (f = typeof T == "string" ? T : T.id || T["@id"]);
3183
3183
  }
3184
3184
  } catch {
3185
3185
  console.warn("Error getting thumbnail");
3186
3186
  }
3187
3187
  if (!f) {
3188
- let T = x.getImages();
3189
- if ((!T || !T.length) && x.getContent && (T = x.getContent()), T && T.length > 0) {
3190
- const R = T[0];
3191
- let O = R.getResource ? R.getResource() : null;
3192
- if (!O && R.getBody) {
3193
- const g = R.getBody();
3188
+ let T = A.getImages();
3189
+ if ((!T || !T.length) && A.getContent && (T = A.getContent()), T && T.length > 0) {
3190
+ const D = T[0];
3191
+ let O = D.getResource ? D.getResource() : null;
3192
+ if (!O && D.getBody) {
3193
+ const g = D.getBody();
3194
3194
  Array.isArray(g) && g.length > 0 ? O = g[0] : g && (O = g);
3195
3195
  }
3196
3196
  if (O && !O.id && !O.__jsonld && (!O.getServices || O.getServices().length === 0) && (O = null), !O) {
3197
- const g = R.__jsonld || R;
3197
+ const g = D.__jsonld || D;
3198
3198
  g.body && (O = Array.isArray(g.body) ? g.body[0] : g.body);
3199
3199
  }
3200
3200
  if (O) {
@@ -3224,7 +3224,7 @@ function xe(a, t) {
3224
3224
  }
3225
3225
  if (!f && (f = O.id || O["@id"], !f)) {
3226
3226
  let E = null;
3227
- if (R.__jsonld && R.__jsonld.body ? E = R.__jsonld.body : R.body && (E = R.body), E) {
3227
+ if (D.__jsonld && D.__jsonld.body ? E = D.__jsonld.body : D.body && (E = D.body), E) {
3228
3228
  const j = Array.isArray(E) ? E[0] : E;
3229
3229
  f = j.id || j["@id"];
3230
3230
  }
@@ -3233,124 +3233,124 @@ function xe(a, t) {
3233
3233
  }
3234
3234
  }
3235
3235
  return {
3236
- id: x.id,
3237
- label: x.getLabel().length ? x.getLabel()[0].value : `Canvas ${c + 1}`,
3236
+ id: A.id,
3237
+ label: A.getLabel().length ? A.getLabel()[0].value : `Canvas ${c + 1}`,
3238
3238
  src: f,
3239
3239
  index: c
3240
3240
  };
3241
3241
  }));
3242
- function b(x) {
3242
+ function p(A) {
3243
3243
  if (!r.isGalleryDragging) return;
3244
- let c = x.clientX - r.galleryDragOffset.x, f = x.clientY - r.galleryDragOffset.y;
3245
- const T = Math.max(0, window.innerWidth - r.gallerySize.width), R = Math.max(0, window.innerHeight - r.gallerySize.height);
3246
- c = Math.max(0, Math.min(c, T)), f = Math.max(0, Math.min(f, R)), r.galleryPosition = { x: c, y: f };
3244
+ let c = A.clientX - r.galleryDragOffset.x, f = A.clientY - r.galleryDragOffset.y;
3245
+ const T = Math.max(0, window.innerWidth - r.gallerySize.width), D = Math.max(0, window.innerHeight - r.gallerySize.height);
3246
+ c = Math.max(0, Math.min(c, T)), f = Math.max(0, Math.min(f, D)), r.galleryPosition = { x: c, y: f };
3247
3247
  const O = r.galleryCenterPanelRect;
3248
3248
  if (!O) {
3249
3249
  console.warn("[Gallery] No center panel rect available");
3250
3250
  return;
3251
3251
  }
3252
- const g = x.clientX, u = x.clientY, H = 60;
3252
+ const g = A.clientX, u = A.clientY, H = 60;
3253
3253
  r.dragOverSide = null, g >= O.left && g <= O.left + H ? r.dragOverSide = "left" : g <= O.right && g >= O.right - H ? r.dragOverSide = "right" : u >= O.top && u <= O.top + H ? r.dragOverSide = "top" : u <= O.bottom && u >= O.bottom - H && (r.dragOverSide = "bottom");
3254
3254
  }
3255
- function A() {
3256
- const x = r.dragOverSide;
3257
- console.log("[Gallery] stopDrag. dropTarget:", x), r.isGalleryDragging = !1, r.dragOverSide = null, window.removeEventListener("mousemove", b), window.removeEventListener("mouseup", A), x && (r.dockSide = x);
3255
+ function x() {
3256
+ const A = r.dragOverSide;
3257
+ console.log("[Gallery] stopDrag. dropTarget:", A), r.isGalleryDragging = !1, r.dragOverSide = null, window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", x), A && (r.dockSide = A);
3258
3258
  }
3259
- function G(x) {
3260
- x.stopPropagation(), e.set(M, !0), w = {
3261
- x: x.clientX,
3262
- y: x.clientY,
3259
+ function G(A) {
3260
+ A.stopPropagation(), e.set(M, !0), w = {
3261
+ x: A.clientX,
3262
+ y: A.clientY,
3263
3263
  w: r.gallerySize.width,
3264
3264
  h: r.gallerySize.height
3265
- }, window.addEventListener("mousemove", D), window.addEventListener("mouseup", L);
3265
+ }, window.addEventListener("mousemove", R), window.addEventListener("mouseup", L);
3266
3266
  }
3267
- function D(x) {
3267
+ function R(A) {
3268
3268
  if (!e.get(M)) return;
3269
- const c = x.clientX - w.x, f = x.clientY - w.y;
3269
+ const c = A.clientX - w.x, f = A.clientY - w.y;
3270
3270
  r.gallerySize = {
3271
3271
  width: Math.max(200, w.w + c),
3272
3272
  height: Math.max(200, w.h + f)
3273
3273
  };
3274
3274
  }
3275
3275
  function L() {
3276
- e.set(M, !1), window.removeEventListener("mousemove", D), window.removeEventListener("mouseup", L);
3276
+ e.set(M, !1), window.removeEventListener("mousemove", R), window.removeEventListener("mouseup", L);
3277
3277
  }
3278
- function P(x) {
3278
+ function P(A) {
3279
3279
  if (r.viewingMode === "paged") {
3280
- const c = e.get(C).findIndex((T) => T.id === x), f = r.pagedOffset;
3280
+ const c = e.get(C).findIndex((T) => T.id === A), f = r.pagedOffset;
3281
3281
  if (c < f)
3282
- r.setCanvas(x);
3282
+ r.setCanvas(A);
3283
3283
  else if ((c - f) % 2 === 0)
3284
- r.setCanvas(x);
3284
+ r.setCanvas(A);
3285
3285
  else {
3286
- const R = e.get(C)[c - 1];
3287
- r.setCanvas(R.id);
3286
+ const D = e.get(C)[c - 1];
3287
+ r.setCanvas(D.id);
3288
3288
  }
3289
3289
  } else
3290
- r.setCanvas(x);
3290
+ r.setCanvas(A);
3291
3291
  }
3292
3292
  let n = e.state(e.proxy(r.dockSide));
3293
3293
  e.user_effect(() => {
3294
- const x = r.dockSide;
3295
- e.set(n, x === "none" || x === "top" || x === "bottom" || x === "left" || x === "right" ? x : "none", !0);
3294
+ const A = r.dockSide;
3295
+ e.set(n, A === "none" || A === "top" || A === "bottom" || A === "left" || A === "right" ? A : "none", !0);
3296
3296
  }), e.user_effect(() => {
3297
3297
  r.dockSide !== e.get(n) && (r.dockSide = e.get(n), r.isGalleryDockedBottom = e.get(n) === "bottom", r.isGalleryDockedRight = e.get(n) === "right");
3298
3298
  }), e.user_effect(() => {
3299
- if (!e.get(p) || !r.canvasId) return;
3300
- const x = r.canvasId, c = e.get(p).querySelector(`[data-id="${CSS.escape(x)}"]`);
3299
+ if (!e.get(m) || !r.canvasId) return;
3300
+ const A = r.canvasId, c = e.get(m).querySelector(`[data-id="${CSS.escape(A)}"]`);
3301
3301
  c && c.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
3302
3302
  });
3303
- let o = e.derived(() => e.get(n) === "top" || e.get(n) === "bottom" || e.get(n) === "none" && r.gallerySize.height < 320), m = e.derived(() => r.galleryFixedHeight);
3304
- function z(x) {
3305
- var R, O;
3303
+ let o = e.derived(() => e.get(n) === "top" || e.get(n) === "bottom" || e.get(n) === "none" && r.gallerySize.height < 320), b = e.derived(() => r.galleryFixedHeight);
3304
+ function z(A) {
3305
+ var D, O;
3306
3306
  if (!e.get(
3307
3307
  d
3308
3308
  // Dragging disabled in config
3309
- ) || x.target.closest(".resize-handle")) return;
3309
+ ) || A.target.closest(".resize-handle")) return;
3310
3310
  const c = e.get(n) !== "none";
3311
3311
  if (c) {
3312
- let g = Math.max(0, x.clientX - 150), u = Math.max(0, x.clientY - 20);
3312
+ let g = Math.max(0, A.clientX - 150), u = Math.max(0, A.clientY - 20);
3313
3313
  const H = Math.max(0, window.innerWidth - 300), E = Math.max(0, window.innerHeight - 400);
3314
- g = Math.min(g, H), u = Math.min(u, E), r.galleryPosition = { x: g, y: u }, r.galleryDragOffset = { x: x.clientX - g, y: x.clientY - u };
3314
+ g = Math.min(g, H), u = Math.min(u, E), r.galleryPosition = { x: g, y: u }, r.galleryDragOffset = { x: A.clientX - g, y: A.clientY - u };
3315
3315
  } else
3316
3316
  r.galleryDragOffset = {
3317
- x: x.clientX - r.galleryPosition.x,
3318
- y: x.clientY - r.galleryPosition.y
3317
+ x: A.clientX - r.galleryPosition.x,
3318
+ y: A.clientY - r.galleryPosition.y
3319
3319
  };
3320
- const f = (R = e.get(p)) == null ? void 0 : R.getRootNode(), T = ((O = f == null ? void 0 : f.getElementById) == null ? void 0 : O.call(f, "triiiceratops-center-panel")) ?? document.getElementById("triiiceratops-center-panel");
3321
- T ? (r.galleryCenterPanelRect = T.getBoundingClientRect(), console.log("[Gallery] Captured center panel rect:", r.galleryCenterPanelRect)) : console.warn("[Gallery] Could not find center panel in startDrag"), r.isGalleryDragging = !0, window.addEventListener("mousemove", b), window.addEventListener("mouseup", A), c && e.set(n, "none");
3320
+ const f = (D = e.get(m)) == null ? void 0 : D.getRootNode(), T = ((O = f == null ? void 0 : f.getElementById) == null ? void 0 : O.call(f, "triiiceratops-center-panel")) ?? document.getElementById("triiiceratops-center-panel");
3321
+ T ? (r.galleryCenterPanelRect = T.getBoundingClientRect(), console.log("[Gallery] Captured center panel rect:", r.galleryCenterPanelRect)) : console.warn("[Gallery] Could not find center panel in startDrag"), r.isGalleryDragging = !0, window.addEventListener("mousemove", p), window.addEventListener("mouseup", x), c && e.set(n, "none");
3322
3322
  }
3323
3323
  const k = e.derived(() => {
3324
- const x = [];
3324
+ const A = [];
3325
3325
  if (r.viewingMode === "paged" && t.canvases) {
3326
3326
  const c = r.pagedOffset;
3327
3327
  for (let f = 0; f < c && f < t.canvases.length; f++)
3328
- x.push(f);
3328
+ A.push(f);
3329
3329
  for (let f = c; f < t.canvases.length; f += 2)
3330
- x.push(f);
3330
+ A.push(f);
3331
3331
  }
3332
- return x;
3332
+ return A;
3333
3333
  }), l = e.derived(() => {
3334
- const x = [], c = e.get(C), f = r.pagedOffset;
3334
+ const A = [], c = e.get(C), f = r.pagedOffset;
3335
3335
  for (const T of e.get(k)) {
3336
- const R = c[T], O = T < f ? null : c[T + 1], g = R.id, u = R.label, H = [R.src];
3337
- O && H.push(O.src), x.push({ id: g, label: u, srcs: H, index: T });
3336
+ const D = c[T], O = T < f ? null : c[T + 1], g = D.id, u = D.label, H = [D.src];
3337
+ O && H.push(O.src), A.push({ id: g, label: u, srcs: H, index: T });
3338
3338
  }
3339
- return x;
3339
+ return A;
3340
3340
  });
3341
3341
  var y = e.comment(), N = e.first_child(y);
3342
3342
  {
3343
- var Q = (x) => {
3343
+ var Q = (A) => {
3344
3344
  var c = b0(), f = e.first_child(c), T = e.child(f);
3345
3345
  {
3346
- var R = (v) => {
3346
+ var D = (v) => {
3347
3347
  var s = i0();
3348
3348
  s.__click = () => r.toggleThumbnailGallery();
3349
3349
  var _ = e.child(s);
3350
3350
  Oe(_, { size: 16, weight: "bold" }), e.reset(s), e.append(v, s);
3351
3351
  };
3352
3352
  e.if(T, (v) => {
3353
- e.get(i) && v(R);
3353
+ e.get(i) && v(D);
3354
3354
  });
3355
3355
  }
3356
3356
  var O = e.sibling(T, 2);
@@ -3419,7 +3419,7 @@ function xe(a, t) {
3419
3419
  e.reset(ee);
3420
3420
  var ce = e.sibling(ee);
3421
3421
  e.reset(ae), e.reset(q), e.template_effect(() => {
3422
- e.set_class(q, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(o) ? "w-auto" : e.get(V).srcs.length > 1 ? "col-span-2" : ""} ${r.canvasId === e.get(V).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_style(q, e.get(o) ? `height: ${e.get(m) + 24}px` : ""), e.set_attribute(q, "data-id", e.get(V).id), e.set_attribute(q, "aria-label", `Select canvas ${e.get(V).label ?? ""}`), e.set_class(F, 1, `${e.get(o) ? "h-full w-auto flex-row" : e.get(V).srcs.length > 1 ? "aspect-3/2 w-full" : "aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center gap-px`), e.set_style(F, e.get(o) ? `height: ${e.get(m)}px` : ""), e.set_class(Y, 1, `flex items-center justify-center overflow-hidden ${e.get(o) ? "h-full w-auto" : "h-full " + (e.get(V).srcs.length > 1 ? "w-1/2" : "w-full")}`), e.set_text(le, `${e.get(V).index + 1}.`), e.set_text(ce, ` ${e.get(V).label ?? ""}`);
3422
+ e.set_class(q, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(o) ? "w-auto" : e.get(V).srcs.length > 1 ? "col-span-2" : ""} ${r.canvasId === e.get(V).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_style(q, e.get(o) ? `height: ${e.get(b) + 24}px` : ""), e.set_attribute(q, "data-id", e.get(V).id), e.set_attribute(q, "aria-label", `Select canvas ${e.get(V).label ?? ""}`), e.set_class(F, 1, `${e.get(o) ? "h-full w-auto flex-row" : e.get(V).srcs.length > 1 ? "aspect-3/2 w-full" : "aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center gap-px`), e.set_style(F, e.get(o) ? `height: ${e.get(b)}px` : ""), e.set_class(Y, 1, `flex items-center justify-center overflow-hidden ${e.get(o) ? "h-full w-auto" : "h-full " + (e.get(V).srcs.length > 1 ? "w-1/2" : "w-full")}`), e.set_text(le, `${e.get(V).index + 1}.`), e.set_text(ce, ` ${e.get(V).label ?? ""}`);
3423
3423
  }), e.append(I, q);
3424
3424
  }), e.append(v, s);
3425
3425
  }, h = (v) => {
@@ -3447,7 +3447,7 @@ function xe(a, t) {
3447
3447
  e.reset($);
3448
3448
  var ae = e.sibling($);
3449
3449
  e.reset(B), e.reset(q), e.template_effect(() => {
3450
- e.set_class(q, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(o) ? "w-auto" : ""} ${r.canvasId === e.get(V).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_style(q, e.get(o) ? `height: ${e.get(m) + 24}px` : ""), e.set_attribute(q, "data-id", e.get(V).id), e.set_attribute(q, "aria-label", `Select canvas ${e.get(V).label ?? ""}`), e.set_class(F, 1, `${e.get(o) ? "h-full w-auto" : "aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center`), e.set_style(F, e.get(o) ? `height: ${e.get(m)}px` : ""), e.set_text(re, `${e.get(V).index + 1}.`), e.set_text(ae, ` ${e.get(V).label ?? ""}`);
3450
+ e.set_class(q, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(o) ? "w-auto" : ""} ${r.canvasId === e.get(V).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_style(q, e.get(o) ? `height: ${e.get(b) + 24}px` : ""), e.set_attribute(q, "data-id", e.get(V).id), e.set_attribute(q, "aria-label", `Select canvas ${e.get(V).label ?? ""}`), e.set_class(F, 1, `${e.get(o) ? "h-full w-auto" : "aspect-3/4 w-full"} bg-base-300 rounded overflow-hidden relative flex items-center justify-center`), e.set_style(F, e.get(o) ? `height: ${e.get(b)}px` : ""), e.set_text(re, `${e.get(V).index + 1}.`), e.set_text(ae, ` ${e.get(V).label ?? ""}`);
3451
3451
  }), e.append(I, q);
3452
3452
  }), e.append(v, s);
3453
3453
  };
@@ -3466,7 +3466,7 @@ function xe(a, t) {
3466
3466
  e.get(n) === "none" && v(U);
3467
3467
  });
3468
3468
  }
3469
- e.reset(f), e.bind_this(f, (v) => e.set(p, v), () => e.get(p));
3469
+ e.reset(f), e.bind_this(f, (v) => e.set(m, v), () => e.get(m));
3470
3470
  var K = e.sibling(f, 2);
3471
3471
  {
3472
3472
  var J = (v) => {
@@ -3482,11 +3482,11 @@ function xe(a, t) {
3482
3482
  e.template_effect(() => {
3483
3483
  e.set_class(f, 1, (e.get(n) !== "none" ? `relative z-50 bg-base-100 shadow-xl border-base-300 flex transition-all duration-200 select-none w-full h-full
3484
3484
  ${e.get(n) === "bottom" || e.get(n) === "top" ? "flex-row border-t" : ""}
3485
- ${e.get(n) === "left" || e.get(n) === "right" ? "flex-col border-x" : ""}` : "fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none") + (r.isGalleryDragging ? " pointer-events-none opacity-80" : "")), e.set_style(f, e.get(n) !== "none" ? "" : `left: ${r.galleryPosition.x}px; top: ${r.galleryPosition.y}px; width: ${r.gallerySize.width}px; height: ${r.gallerySize.height}px;`), e.set_class(u, 1, `flex-1 p-1 bg-base-100 ${e.get(o) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), e.set_class(H, 1, e.clsx(e.get(o) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), e.set_style(H, e.get(o) ? "" : `grid-template-columns: repeat(auto-fill, minmax(${e.get(m)}px, 1fr));`);
3486
- }), e.append(x, c);
3485
+ ${e.get(n) === "left" || e.get(n) === "right" ? "flex-col border-x" : ""}` : "fixed z-900 bg-base-100 shadow-2xl rounded-lg flex flex-col border border-base-300 overflow-hidden select-none") + (r.isGalleryDragging ? " pointer-events-none opacity-80" : "")), e.set_style(f, e.get(n) !== "none" ? "" : `left: ${r.galleryPosition.x}px; top: ${r.galleryPosition.y}px; width: ${r.gallerySize.width}px; height: ${r.gallerySize.height}px;`), e.set_class(u, 1, `flex-1 p-1 bg-base-100 ${e.get(o) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), e.set_class(H, 1, e.clsx(e.get(o) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), e.set_style(H, e.get(o) ? "" : `grid-template-columns: repeat(auto-fill, minmax(${e.get(b)}px, 1fr));`);
3486
+ }), e.append(A, c);
3487
3487
  };
3488
- e.if(N, (x) => {
3489
- r.showThumbnailGallery && x(Q);
3488
+ e.if(N, (A) => {
3489
+ r.showThumbnailGallery && A(Q);
3490
3490
  });
3491
3491
  }
3492
3492
  e.append(a, y), e.pop();
@@ -3496,44 +3496,44 @@ var w0 = e.from_svg('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.
3496
3496
  function Lt(a, t) {
3497
3497
  e.push(t, !0);
3498
3498
  const r = ge();
3499
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3499
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3500
3500
  function C(n) {
3501
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
3501
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
3502
3502
  return l;
3503
3503
  }
3504
- var b = M0();
3504
+ var p = M0();
3505
3505
  e.attribute_effect(
3506
- b,
3506
+ p,
3507
3507
  (n, o) => ({
3508
3508
  xmlns: "http://www.w3.org/2000/svg",
3509
3509
  role: "img",
3510
3510
  width: e.get(w),
3511
3511
  height: e.get(w),
3512
3512
  fill: e.get(M),
3513
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
3513
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
3514
3514
  viewBox: "0 0 256 256",
3515
3515
  ...n,
3516
3516
  ...o
3517
3517
  }),
3518
3518
  [() => C(r), () => C(d)]
3519
3519
  );
3520
- var A = e.child(b);
3520
+ var x = e.child(p);
3521
3521
  {
3522
3522
  var G = (n) => {
3523
- var o = e.comment(), m = e.first_child(o);
3524
- e.snippet(m, () => t.children), e.append(n, o);
3523
+ var o = e.comment(), b = e.first_child(o);
3524
+ e.snippet(b, () => t.children), e.append(n, o);
3525
3525
  };
3526
- e.if(A, (n) => {
3526
+ e.if(x, (n) => {
3527
3527
  t.children && n(G);
3528
3528
  });
3529
3529
  }
3530
- var D = e.sibling(A, 2);
3530
+ var R = e.sibling(x, 2);
3531
3531
  {
3532
3532
  var L = (n) => {
3533
3533
  var o = w0();
3534
3534
  e.append(n, o);
3535
3535
  }, P = (n) => {
3536
- var o = e.comment(), m = e.first_child(o);
3536
+ var o = e.comment(), b = e.first_child(o);
3537
3537
  {
3538
3538
  var z = (l) => {
3539
3539
  var y = y0();
@@ -3544,10 +3544,10 @@ function Lt(a, t) {
3544
3544
  var Q = (c) => {
3545
3545
  var f = x0();
3546
3546
  e.append(c, f);
3547
- }, x = (c) => {
3547
+ }, A = (c) => {
3548
3548
  var f = e.comment(), T = e.first_child(f);
3549
3549
  {
3550
- var R = (g) => {
3550
+ var D = (g) => {
3551
3551
  var u = A0();
3552
3552
  e.append(g, u);
3553
3553
  }, O = (g) => {
@@ -3589,7 +3589,7 @@ function Lt(a, t) {
3589
3589
  e.if(
3590
3590
  T,
3591
3591
  (g) => {
3592
- e.get(i) === "light" ? g(R) : g(O, !1);
3592
+ e.get(i) === "light" ? g(D) : g(O, !1);
3593
3593
  },
3594
3594
  !0
3595
3595
  );
@@ -3599,7 +3599,7 @@ function Lt(a, t) {
3599
3599
  e.if(
3600
3600
  N,
3601
3601
  (c) => {
3602
- e.get(i) === "fill" ? c(Q) : c(x, !1);
3602
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
3603
3603
  },
3604
3604
  !0
3605
3605
  );
@@ -3607,7 +3607,7 @@ function Lt(a, t) {
3607
3607
  e.append(l, y);
3608
3608
  };
3609
3609
  e.if(
3610
- m,
3610
+ b,
3611
3611
  (l) => {
3612
3612
  e.get(i) === "duotone" ? l(z) : l(k, !1);
3613
3613
  },
@@ -3616,54 +3616,54 @@ function Lt(a, t) {
3616
3616
  }
3617
3617
  e.append(n, o);
3618
3618
  };
3619
- e.if(D, (n) => {
3619
+ e.if(R, (n) => {
3620
3620
  e.get(i) === "bold" ? n(L) : n(P, !1);
3621
3621
  });
3622
3622
  }
3623
- e.reset(b), e.append(a, b), e.pop();
3623
+ e.reset(p), e.append(a, p), e.pop();
3624
3624
  }
3625
3625
  var V0 = e.from_svg('<path d="M184,44H72A20,20,0,0,0,52,64V192a20,20,0,0,0,20,20H184a20,20,0,0,0,20-20V64A20,20,0,0,0,184,44Zm-4,144H76V68H180ZM244,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0ZM36,56V200a12,12,0,0,1-24,0V56a12,12,0,0,1,24,0Z"></path>'), S0 = e.from_svg('<path d="M200,64V192a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H192A8,8,0,0,1,200,64Z" opacity="0.2"></path><path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>', 1), C0 = e.from_svg('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Zm24-16a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,232,48ZM24,48a8,8,0,0,0-8,8V200a8,8,0,0,0,16,0V56A8,8,0,0,0,24,48Z"></path>'), z0 = e.from_svg('<path d="M192,50H64A14,14,0,0,0,50,64V192a14,14,0,0,0,14,14H192a14,14,0,0,0,14-14V64A14,14,0,0,0,192,50Zm2,142a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V64a2,2,0,0,1,2-2H192a2,2,0,0,1,2,2ZM238,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0ZM30,56V200a6,6,0,0,1-12,0V56a6,6,0,0,1,12,0Z"></path>'), k0 = e.from_svg('<path d="M192,48H64A16,16,0,0,0,48,64V192a16,16,0,0,0,16,16H192a16,16,0,0,0,16-16V64A16,16,0,0,0,192,48Zm0,144H64V64H192V192ZM240,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0ZM32,56V200a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0Z"></path>'), I0 = e.from_svg('<path d="M192,52H64A12,12,0,0,0,52,64V192a12,12,0,0,0,12,12H192a12,12,0,0,0,12-12V64A12,12,0,0,0,192,52Zm4,140a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V64a4,4,0,0,1,4-4H192a4,4,0,0,1,4,4ZM236,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0ZM28,56V200a4,4,0,0,1-8,0V56a4,4,0,0,1,8,0Z"></path>'), L0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3626
3626
  function P0(a, t) {
3627
3627
  e.push(t, !0);
3628
3628
  const r = ge();
3629
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3629
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3630
3630
  function C(n) {
3631
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
3631
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
3632
3632
  return l;
3633
3633
  }
3634
- var b = L0();
3634
+ var p = L0();
3635
3635
  e.attribute_effect(
3636
- b,
3636
+ p,
3637
3637
  (n, o) => ({
3638
3638
  xmlns: "http://www.w3.org/2000/svg",
3639
3639
  role: "img",
3640
3640
  width: e.get(w),
3641
3641
  height: e.get(w),
3642
3642
  fill: e.get(M),
3643
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
3643
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
3644
3644
  viewBox: "0 0 256 256",
3645
3645
  ...n,
3646
3646
  ...o
3647
3647
  }),
3648
3648
  [() => C(r), () => C(d)]
3649
3649
  );
3650
- var A = e.child(b);
3650
+ var x = e.child(p);
3651
3651
  {
3652
3652
  var G = (n) => {
3653
- var o = e.comment(), m = e.first_child(o);
3654
- e.snippet(m, () => t.children), e.append(n, o);
3653
+ var o = e.comment(), b = e.first_child(o);
3654
+ e.snippet(b, () => t.children), e.append(n, o);
3655
3655
  };
3656
- e.if(A, (n) => {
3656
+ e.if(x, (n) => {
3657
3657
  t.children && n(G);
3658
3658
  });
3659
3659
  }
3660
- var D = e.sibling(A, 2);
3660
+ var R = e.sibling(x, 2);
3661
3661
  {
3662
3662
  var L = (n) => {
3663
3663
  var o = V0();
3664
3664
  e.append(n, o);
3665
3665
  }, P = (n) => {
3666
- var o = e.comment(), m = e.first_child(o);
3666
+ var o = e.comment(), b = e.first_child(o);
3667
3667
  {
3668
3668
  var z = (l) => {
3669
3669
  var y = S0();
@@ -3674,10 +3674,10 @@ function P0(a, t) {
3674
3674
  var Q = (c) => {
3675
3675
  var f = C0();
3676
3676
  e.append(c, f);
3677
- }, x = (c) => {
3677
+ }, A = (c) => {
3678
3678
  var f = e.comment(), T = e.first_child(f);
3679
3679
  {
3680
- var R = (g) => {
3680
+ var D = (g) => {
3681
3681
  var u = z0();
3682
3682
  e.append(g, u);
3683
3683
  }, O = (g) => {
@@ -3719,7 +3719,7 @@ function P0(a, t) {
3719
3719
  e.if(
3720
3720
  T,
3721
3721
  (g) => {
3722
- e.get(i) === "light" ? g(R) : g(O, !1);
3722
+ e.get(i) === "light" ? g(D) : g(O, !1);
3723
3723
  },
3724
3724
  !0
3725
3725
  );
@@ -3729,7 +3729,7 @@ function P0(a, t) {
3729
3729
  e.if(
3730
3730
  N,
3731
3731
  (c) => {
3732
- e.get(i) === "fill" ? c(Q) : c(x, !1);
3732
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
3733
3733
  },
3734
3734
  !0
3735
3735
  );
@@ -3737,7 +3737,7 @@ function P0(a, t) {
3737
3737
  e.append(l, y);
3738
3738
  };
3739
3739
  e.if(
3740
- m,
3740
+ b,
3741
3741
  (l) => {
3742
3742
  e.get(i) === "duotone" ? l(z) : l(k, !1);
3743
3743
  },
@@ -3746,54 +3746,54 @@ function P0(a, t) {
3746
3746
  }
3747
3747
  e.append(n, o);
3748
3748
  };
3749
- e.if(D, (n) => {
3749
+ e.if(R, (n) => {
3750
3750
  e.get(i) === "bold" ? n(L) : n(P, !1);
3751
3751
  });
3752
3752
  }
3753
- e.reset(b), e.append(a, b), e.pop();
3753
+ e.reset(p), e.append(a, p), e.pop();
3754
3754
  }
3755
3755
  var T0 = e.from_svg('<path d="M148,96V48a12,12,0,0,1,24,0V84h36a12,12,0,0,1,0,24H160A12,12,0,0,1,148,96ZM96,148H48a12,12,0,0,0,0,24H84v36a12,12,0,0,0,24,0V160A12,12,0,0,0,96,148Zm112,0H160a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V172h36a12,12,0,0,0,0-24ZM96,36A12,12,0,0,0,84,48V84H48a12,12,0,0,0,0,24H96a12,12,0,0,0,12-12V48A12,12,0,0,0,96,36Z"></path>'), E0 = e.from_svg('<path d="M208,64V192a16,16,0,0,1-16,16H64a16,16,0,0,1-16-16V64A16,16,0,0,1,64,48H192A16,16,0,0,1,208,64Z" opacity="0.2"></path><path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>', 1), j0 = e.from_svg('<path d="M152,96V48a8,8,0,0,1,13.66-5.66l48,48A8,8,0,0,1,208,104H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0-5.66,13.66l48,48A8,8,0,0,0,104,208V160A8,8,0,0,0,96,152ZM99.06,40.61a8,8,0,0,0-8.72,1.73l-48,48A8,8,0,0,0,48,104H96a8,8,0,0,0,8-8V48A8,8,0,0,0,99.06,40.61ZM208,152H160a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66l48-48A8,8,0,0,0,208,152Z"></path>'), O0 = e.from_svg('<path d="M154,96V48a6,6,0,0,1,12,0V90h42a6,6,0,0,1,0,12H160A6,6,0,0,1,154,96ZM96,154H48a6,6,0,0,0,0,12H90v42a6,6,0,0,0,12,0V160A6,6,0,0,0,96,154Zm112,0H160a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V166h42a6,6,0,0,0,0-12ZM96,42a6,6,0,0,0-6,6V90H48a6,6,0,0,0,0,12H96a6,6,0,0,0,6-6V48A6,6,0,0,0,96,42Z"></path>'), B0 = e.from_svg('<path d="M152,96V48a8,8,0,0,1,16,0V88h40a8,8,0,0,1,0,16H160A8,8,0,0,1,152,96ZM96,152H48a8,8,0,0,0,0,16H88v40a8,8,0,0,0,16,0V160A8,8,0,0,0,96,152Zm112,0H160a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V168h40a8,8,0,0,0,0-16ZM96,40a8,8,0,0,0-8,8V88H48a8,8,0,0,0,0,16H96a8,8,0,0,0,8-8V48A8,8,0,0,0,96,40Z"></path>'), F0 = e.from_svg('<path d="M156,96V48a4,4,0,0,1,8,0V92h44a4,4,0,0,1,0,8H160A4,4,0,0,1,156,96ZM96,156H48a4,4,0,0,0,0,8H92v44a4,4,0,0,0,8,0V160A4,4,0,0,0,96,156Zm112,0H160a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V164h44a4,4,0,0,0,0-8ZM96,44a4,4,0,0,0-4,4V92H48a4,4,0,0,0,0,8H96a4,4,0,0,0,4-4V48A4,4,0,0,0,96,44Z"></path>'), N0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3756
3756
  function R0(a, t) {
3757
3757
  e.push(t, !0);
3758
3758
  const r = ge();
3759
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3759
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3760
3760
  function C(n) {
3761
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
3761
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
3762
3762
  return l;
3763
3763
  }
3764
- var b = N0();
3764
+ var p = N0();
3765
3765
  e.attribute_effect(
3766
- b,
3766
+ p,
3767
3767
  (n, o) => ({
3768
3768
  xmlns: "http://www.w3.org/2000/svg",
3769
3769
  role: "img",
3770
3770
  width: e.get(w),
3771
3771
  height: e.get(w),
3772
3772
  fill: e.get(M),
3773
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
3773
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
3774
3774
  viewBox: "0 0 256 256",
3775
3775
  ...n,
3776
3776
  ...o
3777
3777
  }),
3778
3778
  [() => C(r), () => C(d)]
3779
3779
  );
3780
- var A = e.child(b);
3780
+ var x = e.child(p);
3781
3781
  {
3782
3782
  var G = (n) => {
3783
- var o = e.comment(), m = e.first_child(o);
3784
- e.snippet(m, () => t.children), e.append(n, o);
3783
+ var o = e.comment(), b = e.first_child(o);
3784
+ e.snippet(b, () => t.children), e.append(n, o);
3785
3785
  };
3786
- e.if(A, (n) => {
3786
+ e.if(x, (n) => {
3787
3787
  t.children && n(G);
3788
3788
  });
3789
3789
  }
3790
- var D = e.sibling(A, 2);
3790
+ var R = e.sibling(x, 2);
3791
3791
  {
3792
3792
  var L = (n) => {
3793
3793
  var o = T0();
3794
3794
  e.append(n, o);
3795
3795
  }, P = (n) => {
3796
- var o = e.comment(), m = e.first_child(o);
3796
+ var o = e.comment(), b = e.first_child(o);
3797
3797
  {
3798
3798
  var z = (l) => {
3799
3799
  var y = E0();
@@ -3804,10 +3804,10 @@ function R0(a, t) {
3804
3804
  var Q = (c) => {
3805
3805
  var f = j0();
3806
3806
  e.append(c, f);
3807
- }, x = (c) => {
3807
+ }, A = (c) => {
3808
3808
  var f = e.comment(), T = e.first_child(f);
3809
3809
  {
3810
- var R = (g) => {
3810
+ var D = (g) => {
3811
3811
  var u = O0();
3812
3812
  e.append(g, u);
3813
3813
  }, O = (g) => {
@@ -3849,7 +3849,7 @@ function R0(a, t) {
3849
3849
  e.if(
3850
3850
  T,
3851
3851
  (g) => {
3852
- e.get(i) === "light" ? g(R) : g(O, !1);
3852
+ e.get(i) === "light" ? g(D) : g(O, !1);
3853
3853
  },
3854
3854
  !0
3855
3855
  );
@@ -3859,7 +3859,7 @@ function R0(a, t) {
3859
3859
  e.if(
3860
3860
  N,
3861
3861
  (c) => {
3862
- e.get(i) === "fill" ? c(Q) : c(x, !1);
3862
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
3863
3863
  },
3864
3864
  !0
3865
3865
  );
@@ -3867,7 +3867,7 @@ function R0(a, t) {
3867
3867
  e.append(l, y);
3868
3868
  };
3869
3869
  e.if(
3870
- m,
3870
+ b,
3871
3871
  (l) => {
3872
3872
  e.get(i) === "duotone" ? l(z) : l(k, !1);
3873
3873
  },
@@ -3876,54 +3876,54 @@ function R0(a, t) {
3876
3876
  }
3877
3877
  e.append(n, o);
3878
3878
  };
3879
- e.if(D, (n) => {
3879
+ e.if(R, (n) => {
3880
3880
  e.get(i) === "bold" ? n(L) : n(P, !1);
3881
3881
  });
3882
3882
  }
3883
- e.reset(b), e.append(a, b), e.pop();
3883
+ e.reset(p), e.append(a, p), e.pop();
3884
3884
  }
3885
3885
  var D0 = e.from_svg('<path d="M220,48V88a12,12,0,0,1-24,0V60H168a12,12,0,0,1,0-24h40A12,12,0,0,1,220,48ZM88,196H60V168a12,12,0,0,0-24,0v40a12,12,0,0,0,12,12H88a12,12,0,0,0,0-24Zm120-40a12,12,0,0,0-12,12v28H168a12,12,0,0,0,0,24h40a12,12,0,0,0,12-12V168A12,12,0,0,0,208,156ZM88,36H48A12,12,0,0,0,36,48V88a12,12,0,0,0,24,0V60H88a12,12,0,0,0,0-24Z"></path>'), G0 = e.from_svg('<path d="M208,48V208H48V48Z" opacity="0.2"></path><path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>', 1), U0 = e.from_svg('<path d="M93.66,202.34A8,8,0,0,1,88,216H48a8,8,0,0,1-8-8V168a8,8,0,0,1,13.66-5.66ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,13.66,5.66l40-40A8,8,0,0,0,88,40ZM211.06,160.61a8,8,0,0,0-8.72,1.73l-40,40A8,8,0,0,0,168,216h40a8,8,0,0,0,8-8V168A8,8,0,0,0,211.06,160.61ZM208,40H168a8,8,0,0,0-5.66,13.66l40,40A8,8,0,0,0,216,88V48A8,8,0,0,0,208,40Z"></path>'), X0 = e.from_svg('<path d="M214,48V88a6,6,0,0,1-12,0V54H168a6,6,0,0,1,0-12h40A6,6,0,0,1,214,48ZM88,202H54V168a6,6,0,0,0-12,0v40a6,6,0,0,0,6,6H88a6,6,0,0,0,0-12Zm120-40a6,6,0,0,0-6,6v34H168a6,6,0,0,0,0,12h40a6,6,0,0,0,6-6V168A6,6,0,0,0,208,162ZM88,42H48a6,6,0,0,0-6,6V88a6,6,0,0,0,12,0V54H88a6,6,0,0,0,0-12Z"></path>'), Y0 = e.from_svg('<path d="M216,48V88a8,8,0,0,1-16,0V56H168a8,8,0,0,1,0-16h40A8,8,0,0,1,216,48ZM88,200H56V168a8,8,0,0,0-16,0v40a8,8,0,0,0,8,8H88a8,8,0,0,0,0-16Zm120-40a8,8,0,0,0-8,8v32H168a8,8,0,0,0,0,16h40a8,8,0,0,0,8-8V168A8,8,0,0,0,208,160ZM88,40H48a8,8,0,0,0-8,8V88a8,8,0,0,0,16,0V56H88a8,8,0,0,0,0-16Z"></path>'), W0 = e.from_svg('<path d="M212,48V88a4,4,0,0,1-8,0V52H168a4,4,0,0,1,0-8h40A4,4,0,0,1,212,48ZM88,204H52V168a4,4,0,0,0-8,0v40a4,4,0,0,0,4,4H88a4,4,0,0,0,0-8Zm120-40a4,4,0,0,0-4,4v36H168a4,4,0,0,0,0,8h40a4,4,0,0,0,4-4V168A4,4,0,0,0,208,164ZM88,44H48a4,4,0,0,0-4,4V88a4,4,0,0,0,8,0V52H88a4,4,0,0,0,0-8Z"></path>'), q0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3886
3886
  function K0(a, t) {
3887
3887
  e.push(t, !0);
3888
3888
  const r = ge();
3889
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3889
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3890
3890
  function C(n) {
3891
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
3891
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
3892
3892
  return l;
3893
3893
  }
3894
- var b = q0();
3894
+ var p = q0();
3895
3895
  e.attribute_effect(
3896
- b,
3896
+ p,
3897
3897
  (n, o) => ({
3898
3898
  xmlns: "http://www.w3.org/2000/svg",
3899
3899
  role: "img",
3900
3900
  width: e.get(w),
3901
3901
  height: e.get(w),
3902
3902
  fill: e.get(M),
3903
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
3903
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
3904
3904
  viewBox: "0 0 256 256",
3905
3905
  ...n,
3906
3906
  ...o
3907
3907
  }),
3908
3908
  [() => C(r), () => C(d)]
3909
3909
  );
3910
- var A = e.child(b);
3910
+ var x = e.child(p);
3911
3911
  {
3912
3912
  var G = (n) => {
3913
- var o = e.comment(), m = e.first_child(o);
3914
- e.snippet(m, () => t.children), e.append(n, o);
3913
+ var o = e.comment(), b = e.first_child(o);
3914
+ e.snippet(b, () => t.children), e.append(n, o);
3915
3915
  };
3916
- e.if(A, (n) => {
3916
+ e.if(x, (n) => {
3917
3917
  t.children && n(G);
3918
3918
  });
3919
3919
  }
3920
- var D = e.sibling(A, 2);
3920
+ var R = e.sibling(x, 2);
3921
3921
  {
3922
3922
  var L = (n) => {
3923
3923
  var o = D0();
3924
3924
  e.append(n, o);
3925
3925
  }, P = (n) => {
3926
- var o = e.comment(), m = e.first_child(o);
3926
+ var o = e.comment(), b = e.first_child(o);
3927
3927
  {
3928
3928
  var z = (l) => {
3929
3929
  var y = G0();
@@ -3934,10 +3934,10 @@ function K0(a, t) {
3934
3934
  var Q = (c) => {
3935
3935
  var f = U0();
3936
3936
  e.append(c, f);
3937
- }, x = (c) => {
3937
+ }, A = (c) => {
3938
3938
  var f = e.comment(), T = e.first_child(f);
3939
3939
  {
3940
- var R = (g) => {
3940
+ var D = (g) => {
3941
3941
  var u = X0();
3942
3942
  e.append(g, u);
3943
3943
  }, O = (g) => {
@@ -3979,7 +3979,7 @@ function K0(a, t) {
3979
3979
  e.if(
3980
3980
  T,
3981
3981
  (g) => {
3982
- e.get(i) === "light" ? g(R) : g(O, !1);
3982
+ e.get(i) === "light" ? g(D) : g(O, !1);
3983
3983
  },
3984
3984
  !0
3985
3985
  );
@@ -3989,7 +3989,7 @@ function K0(a, t) {
3989
3989
  e.if(
3990
3990
  N,
3991
3991
  (c) => {
3992
- e.get(i) === "fill" ? c(Q) : c(x, !1);
3992
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
3993
3993
  },
3994
3994
  !0
3995
3995
  );
@@ -3997,7 +3997,7 @@ function K0(a, t) {
3997
3997
  e.append(l, y);
3998
3998
  };
3999
3999
  e.if(
4000
- m,
4000
+ b,
4001
4001
  (l) => {
4002
4002
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4003
4003
  },
@@ -4006,54 +4006,54 @@ function K0(a, t) {
4006
4006
  }
4007
4007
  e.append(n, o);
4008
4008
  };
4009
- e.if(D, (n) => {
4009
+ e.if(R, (n) => {
4010
4010
  e.get(i) === "bold" ? n(L) : n(P, !1);
4011
4011
  });
4012
4012
  }
4013
- e.reset(b), e.append(a, b), e.pop();
4013
+ e.reset(p), e.append(a, p), e.pop();
4014
4014
  }
4015
4015
  var Q0 = e.from_svg('<path d="M84,100A12,12,0,0,1,96,88h64a12,12,0,0,1,0,24H96A12,12,0,0,1,84,100Zm12,52h64a12,12,0,0,0,0-24H96a12,12,0,0,0,0,24ZM236,56V184a20,20,0,0,1-20,20H157.89l-12.52,21.92a20,20,0,0,1-34.74,0L98.11,204H40a20,20,0,0,1-20-20V56A20,20,0,0,1,40,36H216A20,20,0,0,1,236,56Zm-24,4H44V180h61.07a12,12,0,0,1,10.42,6.05L128,207.94l12.51-21.89A12,12,0,0,1,150.93,180H212Z"></path>'), J0 = e.from_svg('<path d="M224,56V184a8,8,0,0,1-8,8H150.93l-16,28a8,8,0,0,1-13.9,0l-16-28H40a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H216A8,8,0,0,1,224,56Z" opacity="0.2"></path><path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>', 1), $0 = e.from_svg('<path d="M216,40H40A16,16,0,0,0,24,56V184a16,16,0,0,0,16,16h60.43l13.68,23.94a16,16,0,0,0,27.78,0L155.57,200H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM160,144H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Zm0-32H96a8,8,0,0,1,0-16h64a8,8,0,0,1,0,16Z"></path>'), e1 = e.from_svg('<path d="M166,104a6,6,0,0,1-6,6H96a6,6,0,0,1,0-12h64A6,6,0,0,1,166,104Zm-6,26H96a6,6,0,0,0,0,12h64a6,6,0,0,0,0-12Zm70-74V184a14,14,0,0,1-14,14H154.41L140.16,223a14,14,0,0,1-24.32,0L101.59,198H40a14,14,0,0,1-14-14V56A14,14,0,0,1,40,42H216A14,14,0,0,1,230,56Zm-12,0a2,2,0,0,0-2-2H40a2,2,0,0,0-2,2V184a2,2,0,0,0,2,2h65.07a6,6,0,0,1,5.21,3l16,28a2,2,0,0,0,3.48,0l16-28a6,6,0,0,1,5.21-3H216a2,2,0,0,0,2-2Z"></path>'), t1 = e.from_svg('<path d="M88,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H96A8,8,0,0,1,88,104Zm8,40h64a8,8,0,0,0,0-16H96a8,8,0,0,0,0,16ZM232,56V184a16,16,0,0,1-16,16H155.57l-13.68,23.94a16,16,0,0,1-27.78,0L100.43,200H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Zm-16,0H40V184h65.07a8,8,0,0,1,7,4l16,28,16-28a8,8,0,0,1,7-4H216Z"></path>'), r1 = e.from_svg('<path d="M164,104a4,4,0,0,1-4,4H96a4,4,0,0,1,0-8h64A4,4,0,0,1,164,104Zm-4,28H96a4,4,0,0,0,0,8h64a4,4,0,0,0,0-8Zm68-76V184a12,12,0,0,1-12,12H153.25L138.42,222a12,12,0,0,1-20.84,0L102.75,196H40a12,12,0,0,1-12-12V56A12,12,0,0,1,40,44H216A12,12,0,0,1,228,56Zm-8,0a4,4,0,0,0-4-4H40a4,4,0,0,0-4,4V184a4,4,0,0,0,4,4h65.07a4,4,0,0,1,3.47,2l16,28a4,4,0,0,0,6.94,0l16-28a4,4,0,0,1,3.47-2H216a4,4,0,0,0,4-4Z"></path>'), a1 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4016
4016
  function n1(a, t) {
4017
4017
  e.push(t, !0);
4018
4018
  const r = ge();
4019
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4019
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4020
4020
  function C(n) {
4021
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
4021
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
4022
4022
  return l;
4023
4023
  }
4024
- var b = a1();
4024
+ var p = a1();
4025
4025
  e.attribute_effect(
4026
- b,
4026
+ p,
4027
4027
  (n, o) => ({
4028
4028
  xmlns: "http://www.w3.org/2000/svg",
4029
4029
  role: "img",
4030
4030
  width: e.get(w),
4031
4031
  height: e.get(w),
4032
4032
  fill: e.get(M),
4033
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
4033
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
4034
4034
  viewBox: "0 0 256 256",
4035
4035
  ...n,
4036
4036
  ...o
4037
4037
  }),
4038
4038
  [() => C(r), () => C(d)]
4039
4039
  );
4040
- var A = e.child(b);
4040
+ var x = e.child(p);
4041
4041
  {
4042
4042
  var G = (n) => {
4043
- var o = e.comment(), m = e.first_child(o);
4044
- e.snippet(m, () => t.children), e.append(n, o);
4043
+ var o = e.comment(), b = e.first_child(o);
4044
+ e.snippet(b, () => t.children), e.append(n, o);
4045
4045
  };
4046
- e.if(A, (n) => {
4046
+ e.if(x, (n) => {
4047
4047
  t.children && n(G);
4048
4048
  });
4049
4049
  }
4050
- var D = e.sibling(A, 2);
4050
+ var R = e.sibling(x, 2);
4051
4051
  {
4052
4052
  var L = (n) => {
4053
4053
  var o = Q0();
4054
4054
  e.append(n, o);
4055
4055
  }, P = (n) => {
4056
- var o = e.comment(), m = e.first_child(o);
4056
+ var o = e.comment(), b = e.first_child(o);
4057
4057
  {
4058
4058
  var z = (l) => {
4059
4059
  var y = J0();
@@ -4064,10 +4064,10 @@ function n1(a, t) {
4064
4064
  var Q = (c) => {
4065
4065
  var f = $0();
4066
4066
  e.append(c, f);
4067
- }, x = (c) => {
4067
+ }, A = (c) => {
4068
4068
  var f = e.comment(), T = e.first_child(f);
4069
4069
  {
4070
- var R = (g) => {
4070
+ var D = (g) => {
4071
4071
  var u = e1();
4072
4072
  e.append(g, u);
4073
4073
  }, O = (g) => {
@@ -4109,7 +4109,7 @@ function n1(a, t) {
4109
4109
  e.if(
4110
4110
  T,
4111
4111
  (g) => {
4112
- e.get(i) === "light" ? g(R) : g(O, !1);
4112
+ e.get(i) === "light" ? g(D) : g(O, !1);
4113
4113
  },
4114
4114
  !0
4115
4115
  );
@@ -4119,7 +4119,7 @@ function n1(a, t) {
4119
4119
  e.if(
4120
4120
  N,
4121
4121
  (c) => {
4122
- e.get(i) === "fill" ? c(Q) : c(x, !1);
4122
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
4123
4123
  },
4124
4124
  !0
4125
4125
  );
@@ -4127,7 +4127,7 @@ function n1(a, t) {
4127
4127
  e.append(l, y);
4128
4128
  };
4129
4129
  e.if(
4130
- m,
4130
+ b,
4131
4131
  (l) => {
4132
4132
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4133
4133
  },
@@ -4136,54 +4136,54 @@ function n1(a, t) {
4136
4136
  }
4137
4137
  e.append(n, o);
4138
4138
  };
4139
- e.if(D, (n) => {
4139
+ e.if(R, (n) => {
4140
4140
  e.get(i) === "bold" ? n(L) : n(P, !1);
4141
4141
  });
4142
4142
  }
4143
- e.reset(b), e.append(a, b), e.pop();
4143
+ e.reset(p), e.append(a, p), e.pop();
4144
4144
  }
4145
4145
  var o1 = e.from_svg('<path d="M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"></path>'), i1 = e.from_svg('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"></path>', 1), l1 = e.from_svg('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"></path>'), s1 = e.from_svg('<path d="M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"></path>'), c1 = e.from_svg('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"></path>'), d1 = e.from_svg('<path d="M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"></path>'), g1 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4146
4146
  function v1(a, t) {
4147
4147
  e.push(t, !0);
4148
4148
  const r = ge();
4149
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4149
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4150
4150
  function C(n) {
4151
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
4151
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
4152
4152
  return l;
4153
4153
  }
4154
- var b = g1();
4154
+ var p = g1();
4155
4155
  e.attribute_effect(
4156
- b,
4156
+ p,
4157
4157
  (n, o) => ({
4158
4158
  xmlns: "http://www.w3.org/2000/svg",
4159
4159
  role: "img",
4160
4160
  width: e.get(w),
4161
4161
  height: e.get(w),
4162
4162
  fill: e.get(M),
4163
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
4163
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
4164
4164
  viewBox: "0 0 256 256",
4165
4165
  ...n,
4166
4166
  ...o
4167
4167
  }),
4168
4168
  [() => C(r), () => C(d)]
4169
4169
  );
4170
- var A = e.child(b);
4170
+ var x = e.child(p);
4171
4171
  {
4172
4172
  var G = (n) => {
4173
- var o = e.comment(), m = e.first_child(o);
4174
- e.snippet(m, () => t.children), e.append(n, o);
4173
+ var o = e.comment(), b = e.first_child(o);
4174
+ e.snippet(b, () => t.children), e.append(n, o);
4175
4175
  };
4176
- e.if(A, (n) => {
4176
+ e.if(x, (n) => {
4177
4177
  t.children && n(G);
4178
4178
  });
4179
4179
  }
4180
- var D = e.sibling(A, 2);
4180
+ var R = e.sibling(x, 2);
4181
4181
  {
4182
4182
  var L = (n) => {
4183
4183
  var o = o1();
4184
4184
  e.append(n, o);
4185
4185
  }, P = (n) => {
4186
- var o = e.comment(), m = e.first_child(o);
4186
+ var o = e.comment(), b = e.first_child(o);
4187
4187
  {
4188
4188
  var z = (l) => {
4189
4189
  var y = i1();
@@ -4194,10 +4194,10 @@ function v1(a, t) {
4194
4194
  var Q = (c) => {
4195
4195
  var f = l1();
4196
4196
  e.append(c, f);
4197
- }, x = (c) => {
4197
+ }, A = (c) => {
4198
4198
  var f = e.comment(), T = e.first_child(f);
4199
4199
  {
4200
- var R = (g) => {
4200
+ var D = (g) => {
4201
4201
  var u = s1();
4202
4202
  e.append(g, u);
4203
4203
  }, O = (g) => {
@@ -4239,7 +4239,7 @@ function v1(a, t) {
4239
4239
  e.if(
4240
4240
  T,
4241
4241
  (g) => {
4242
- e.get(i) === "light" ? g(R) : g(O, !1);
4242
+ e.get(i) === "light" ? g(D) : g(O, !1);
4243
4243
  },
4244
4244
  !0
4245
4245
  );
@@ -4249,7 +4249,7 @@ function v1(a, t) {
4249
4249
  e.if(
4250
4250
  N,
4251
4251
  (c) => {
4252
- e.get(i) === "fill" ? c(Q) : c(x, !1);
4252
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
4253
4253
  },
4254
4254
  !0
4255
4255
  );
@@ -4257,7 +4257,7 @@ function v1(a, t) {
4257
4257
  e.append(l, y);
4258
4258
  };
4259
4259
  e.if(
4260
- m,
4260
+ b,
4261
4261
  (l) => {
4262
4262
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4263
4263
  },
@@ -4266,54 +4266,54 @@ function v1(a, t) {
4266
4266
  }
4267
4267
  e.append(n, o);
4268
4268
  };
4269
- e.if(D, (n) => {
4269
+ e.if(R, (n) => {
4270
4270
  e.get(i) === "bold" ? n(L) : n(P, !1);
4271
4271
  });
4272
4272
  }
4273
- e.reset(b), e.append(a, b), e.pop();
4273
+ e.reset(p), e.append(a, p), e.pop();
4274
4274
  }
4275
4275
  var f1 = e.from_svg('<path d="M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM40,76H216a12,12,0,0,0,0-24H40a12,12,0,0,0,0,24ZM216,180H40a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Z"></path>'), _1 = e.from_svg('<path d="M216,64V192H40V64Z" opacity="0.2"></path><path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>', 1), u1 = e.from_svg('<path d="M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM192,184H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Zm0-48H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z"></path>'), h1 = e.from_svg('<path d="M222,128a6,6,0,0,1-6,6H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM40,70H216a6,6,0,0,0,0-12H40a6,6,0,0,0,0,12ZM216,186H40a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Z"></path>'), p1 = e.from_svg('<path d="M224,128a8,8,0,0,1-8,8H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM40,72H216a8,8,0,0,0,0-16H40a8,8,0,0,0,0,16ZM216,184H40a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Z"></path>'), m1 = e.from_svg('<path d="M220,128a4,4,0,0,1-4,4H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM40,68H216a4,4,0,0,0,0-8H40a4,4,0,0,0,0,8ZM216,188H40a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Z"></path>'), b1 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4276
4276
  function w1(a, t) {
4277
4277
  e.push(t, !0);
4278
4278
  const r = ge();
4279
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4279
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4280
4280
  function C(n) {
4281
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
4281
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
4282
4282
  return l;
4283
4283
  }
4284
- var b = b1();
4284
+ var p = b1();
4285
4285
  e.attribute_effect(
4286
- b,
4286
+ p,
4287
4287
  (n, o) => ({
4288
4288
  xmlns: "http://www.w3.org/2000/svg",
4289
4289
  role: "img",
4290
4290
  width: e.get(w),
4291
4291
  height: e.get(w),
4292
4292
  fill: e.get(M),
4293
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
4293
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
4294
4294
  viewBox: "0 0 256 256",
4295
4295
  ...n,
4296
4296
  ...o
4297
4297
  }),
4298
4298
  [() => C(r), () => C(d)]
4299
4299
  );
4300
- var A = e.child(b);
4300
+ var x = e.child(p);
4301
4301
  {
4302
4302
  var G = (n) => {
4303
- var o = e.comment(), m = e.first_child(o);
4304
- e.snippet(m, () => t.children), e.append(n, o);
4303
+ var o = e.comment(), b = e.first_child(o);
4304
+ e.snippet(b, () => t.children), e.append(n, o);
4305
4305
  };
4306
- e.if(A, (n) => {
4306
+ e.if(x, (n) => {
4307
4307
  t.children && n(G);
4308
4308
  });
4309
4309
  }
4310
- var D = e.sibling(A, 2);
4310
+ var R = e.sibling(x, 2);
4311
4311
  {
4312
4312
  var L = (n) => {
4313
4313
  var o = f1();
4314
4314
  e.append(n, o);
4315
4315
  }, P = (n) => {
4316
- var o = e.comment(), m = e.first_child(o);
4316
+ var o = e.comment(), b = e.first_child(o);
4317
4317
  {
4318
4318
  var z = (l) => {
4319
4319
  var y = _1();
@@ -4324,10 +4324,10 @@ function w1(a, t) {
4324
4324
  var Q = (c) => {
4325
4325
  var f = u1();
4326
4326
  e.append(c, f);
4327
- }, x = (c) => {
4327
+ }, A = (c) => {
4328
4328
  var f = e.comment(), T = e.first_child(f);
4329
4329
  {
4330
- var R = (g) => {
4330
+ var D = (g) => {
4331
4331
  var u = h1();
4332
4332
  e.append(g, u);
4333
4333
  }, O = (g) => {
@@ -4369,7 +4369,7 @@ function w1(a, t) {
4369
4369
  e.if(
4370
4370
  T,
4371
4371
  (g) => {
4372
- e.get(i) === "light" ? g(R) : g(O, !1);
4372
+ e.get(i) === "light" ? g(D) : g(O, !1);
4373
4373
  },
4374
4374
  !0
4375
4375
  );
@@ -4379,7 +4379,7 @@ function w1(a, t) {
4379
4379
  e.if(
4380
4380
  N,
4381
4381
  (c) => {
4382
- e.get(i) === "fill" ? c(Q) : c(x, !1);
4382
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
4383
4383
  },
4384
4384
  !0
4385
4385
  );
@@ -4387,7 +4387,7 @@ function w1(a, t) {
4387
4387
  e.append(l, y);
4388
4388
  };
4389
4389
  e.if(
4390
- m,
4390
+ b,
4391
4391
  (l) => {
4392
4392
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4393
4393
  },
@@ -4396,54 +4396,54 @@ function w1(a, t) {
4396
4396
  }
4397
4397
  e.append(n, o);
4398
4398
  };
4399
- e.if(D, (n) => {
4399
+ e.if(R, (n) => {
4400
4400
  e.get(i) === "bold" ? n(L) : n(P, !1);
4401
4401
  });
4402
4402
  }
4403
- e.reset(b), e.append(a, b), e.pop();
4403
+ e.reset(p), e.append(a, p), e.pop();
4404
4404
  }
4405
4405
  var y1 = e.from_svg('<path d="M232,44H160a43.86,43.86,0,0,0-32,13.85A43.86,43.86,0,0,0,96,44H24A12,12,0,0,0,12,56V200a12,12,0,0,0,12,12H96a20,20,0,0,1,20,20,12,12,0,0,0,24,0,20,20,0,0,1,20-20h72a12,12,0,0,0,12-12V56A12,12,0,0,0,232,44ZM96,188H36V68H96a20,20,0,0,1,20,20V192.81A43.79,43.79,0,0,0,96,188Zm124,0H160a43.71,43.71,0,0,0-20,4.83V88a20,20,0,0,1,20-20h60Z"></path>'), x1 = e.from_svg('<path d="M232,56V200H160a32,32,0,0,0-32,32,32,32,0,0,0-32-32H24V56H96a32,32,0,0,1,32,32,32,32,0,0,1,32-32Z" opacity="0.2"></path><path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>', 1), A1 = e.from_svg('<path d="M240,56V200a8,8,0,0,1-8,8H160a24,24,0,0,0-24,23.94,7.9,7.9,0,0,1-5.12,7.55A8,8,0,0,1,120,232a24,24,0,0,0-24-24H24a8,8,0,0,1-8-8V56a8,8,0,0,1,8-8H88a32,32,0,0,1,32,32v87.73a8.17,8.17,0,0,0,7.47,8.25,8,8,0,0,0,8.53-8V80a32,32,0,0,1,32-32h64A8,8,0,0,1,240,56Z"></path>'), Z1 = e.from_svg('<path d="M232,50H160a38,38,0,0,0-32,17.55A38,38,0,0,0,96,50H24a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6H96a26,26,0,0,1,26,26,6,6,0,0,0,12,0,26,26,0,0,1,26-26h72a6,6,0,0,0,6-6V56A6,6,0,0,0,232,50ZM96,194H30V62H96a26,26,0,0,1,26,26V204.31A37.86,37.86,0,0,0,96,194Zm130,0H160a37.87,37.87,0,0,0-26,10.32V88a26,26,0,0,1,26-26h66Z"></path>'), H1 = e.from_svg('<path d="M232,48H160a40,40,0,0,0-32,16A40,40,0,0,0,96,48H24a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8H96a24,24,0,0,1,24,24,8,8,0,0,0,16,0,24,24,0,0,1,24-24h72a8,8,0,0,0,8-8V56A8,8,0,0,0,232,48ZM96,192H32V64H96a24,24,0,0,1,24,24V200A39.81,39.81,0,0,0,96,192Zm128,0H160a39.81,39.81,0,0,0-24,8V88a24,24,0,0,1,24-24h64Z"></path>'), M1 = e.from_svg('<path d="M232,52H160a36,36,0,0,0-32,19.54A36,36,0,0,0,96,52H24a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4H96a28,28,0,0,1,28,28,4,4,0,0,0,8,0,28,28,0,0,1,28-28h72a4,4,0,0,0,4-4V56A4,4,0,0,0,232,52ZM96,196H28V60H96a28,28,0,0,1,28,28V209.4A35.93,35.93,0,0,0,96,196Zm132,0H160a35.94,35.94,0,0,0-28,13.41V88a28,28,0,0,1,28-28h68Z"></path>'), V1 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4406
4406
  function Xe(a, t) {
4407
4407
  e.push(t, !0);
4408
4408
  const r = ge();
4409
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4409
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4410
4410
  function C(n) {
4411
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
4411
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
4412
4412
  return l;
4413
4413
  }
4414
- var b = V1();
4414
+ var p = V1();
4415
4415
  e.attribute_effect(
4416
- b,
4416
+ p,
4417
4417
  (n, o) => ({
4418
4418
  xmlns: "http://www.w3.org/2000/svg",
4419
4419
  role: "img",
4420
4420
  width: e.get(w),
4421
4421
  height: e.get(w),
4422
4422
  fill: e.get(M),
4423
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
4423
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
4424
4424
  viewBox: "0 0 256 256",
4425
4425
  ...n,
4426
4426
  ...o
4427
4427
  }),
4428
4428
  [() => C(r), () => C(d)]
4429
4429
  );
4430
- var A = e.child(b);
4430
+ var x = e.child(p);
4431
4431
  {
4432
4432
  var G = (n) => {
4433
- var o = e.comment(), m = e.first_child(o);
4434
- e.snippet(m, () => t.children), e.append(n, o);
4433
+ var o = e.comment(), b = e.first_child(o);
4434
+ e.snippet(b, () => t.children), e.append(n, o);
4435
4435
  };
4436
- e.if(A, (n) => {
4436
+ e.if(x, (n) => {
4437
4437
  t.children && n(G);
4438
4438
  });
4439
4439
  }
4440
- var D = e.sibling(A, 2);
4440
+ var R = e.sibling(x, 2);
4441
4441
  {
4442
4442
  var L = (n) => {
4443
4443
  var o = y1();
4444
4444
  e.append(n, o);
4445
4445
  }, P = (n) => {
4446
- var o = e.comment(), m = e.first_child(o);
4446
+ var o = e.comment(), b = e.first_child(o);
4447
4447
  {
4448
4448
  var z = (l) => {
4449
4449
  var y = x1();
@@ -4454,10 +4454,10 @@ function Xe(a, t) {
4454
4454
  var Q = (c) => {
4455
4455
  var f = A1();
4456
4456
  e.append(c, f);
4457
- }, x = (c) => {
4457
+ }, A = (c) => {
4458
4458
  var f = e.comment(), T = e.first_child(f);
4459
4459
  {
4460
- var R = (g) => {
4460
+ var D = (g) => {
4461
4461
  var u = Z1();
4462
4462
  e.append(g, u);
4463
4463
  }, O = (g) => {
@@ -4499,7 +4499,7 @@ function Xe(a, t) {
4499
4499
  e.if(
4500
4500
  T,
4501
4501
  (g) => {
4502
- e.get(i) === "light" ? g(R) : g(O, !1);
4502
+ e.get(i) === "light" ? g(D) : g(O, !1);
4503
4503
  },
4504
4504
  !0
4505
4505
  );
@@ -4509,7 +4509,7 @@ function Xe(a, t) {
4509
4509
  e.if(
4510
4510
  N,
4511
4511
  (c) => {
4512
- e.get(i) === "fill" ? c(Q) : c(x, !1);
4512
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
4513
4513
  },
4514
4514
  !0
4515
4515
  );
@@ -4517,7 +4517,7 @@ function Xe(a, t) {
4517
4517
  e.append(l, y);
4518
4518
  };
4519
4519
  e.if(
4520
- m,
4520
+ b,
4521
4521
  (l) => {
4522
4522
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4523
4523
  },
@@ -4526,54 +4526,54 @@ function Xe(a, t) {
4526
4526
  }
4527
4527
  e.append(n, o);
4528
4528
  };
4529
- e.if(D, (n) => {
4529
+ e.if(R, (n) => {
4530
4530
  e.get(i) === "bold" ? n(L) : n(P, !1);
4531
4531
  });
4532
4532
  }
4533
- e.reset(b), e.append(a, b), e.pop();
4533
+ e.reset(p), e.append(a, p), e.pop();
4534
4534
  }
4535
4535
  var S1 = e.from_svg('<path d="M92,92a12,12,0,0,1,12-12h60a12,12,0,0,1,0,24H104A12,12,0,0,1,92,92Zm12,52h60a12,12,0,0,0,0-24H104a12,12,0,0,0,0,24Zm132,48a36,36,0,0,1-36,36H88a36,36,0,0,1-36-36V64a12,12,0,0,0-24,0c0,3.73,3.35,6.51,3.38,6.54l-.18-.14h0A12,12,0,1,1,16.81,89.59h0C15.49,88.62,4,79.55,4,64A36,36,0,0,1,40,28H176a36,36,0,0,1,36,36V164h4a12,12,0,0,1,7.2,2.4C224.51,167.38,236,176.45,236,192ZM92.62,172.2A12,12,0,0,1,104,164h84V64a12,12,0,0,0-12-12H73.94A35.88,35.88,0,0,1,76,64V192a12,12,0,0,0,24,0c0-3.58-3.17-6.38-3.2-6.4A12,12,0,0,1,92.62,172.2ZM212,192a7.69,7.69,0,0,0-1.24-4h-87a30.32,30.32,0,0,1,.26,4,35.84,35.84,0,0,1-2.06,12H200A12,12,0,0,0,212,192Z"></path>'), C1 = e.from_svg('<path d="M200,176H104s8,6,8,16a24,24,0,0,1-48,0V64A24,24,0,0,0,40,40H176a24,24,0,0,1,24,24Z" opacity="0.2"></path><path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>', 1), z1 = e.from_svg('<path d="M220.8,169.6A8,8,0,0,0,216,168h-8V64a32,32,0,0,0-32-32H40A32,32,0,0,0,8,64C8,77.61,18.05,85.54,19.2,86.4h0A7.89,7.89,0,0,0,24,88a8,8,0,0,0,4.87-14.33h0C28.83,73.62,24,69.74,24,64a16,16,0,0,1,32,0V192a32,32,0,0,0,32,32H200a32,32,0,0,0,32-32C232,178.39,222,170.46,220.8,169.6ZM104,96h64a8,8,0,0,1,0,16H104a8,8,0,0,1,0-16Zm-8,40a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,136Zm104,72H107.71A31.82,31.82,0,0,0,112,192a26.92,26.92,0,0,0-1.21-8h102a12.58,12.58,0,0,1,3.23,8A16,16,0,0,1,200,208Z"></path>'), k1 = e.from_svg('<path d="M98,136a6,6,0,0,1,6-6h64a6,6,0,0,1,0,12H104A6,6,0,0,1,98,136Zm6-26h64a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12Zm126,82a30,30,0,0,1-30,30H88a30,30,0,0,1-30-30V64a18,18,0,0,0-36,0c0,6.76,5.58,11.19,5.64,11.23A6,6,0,1,1,20.4,84.8C20,84.48,10,76.85,10,64A30,30,0,0,1,40,34H176a30,30,0,0,1,30,30V170h10a6,6,0,0,1,3.6,1.2C220,171.52,230,179.15,230,192Zm-124,0c0-6.76-5.59-11.19-5.64-11.23A6,6,0,0,1,104,170h90V64a18,18,0,0,0-18-18H64a29.82,29.82,0,0,1,6,18V192a18,18,0,0,0,36,0Zm112,0a14.94,14.94,0,0,0-4.34-10H115.88A24.83,24.83,0,0,1,118,192a29.87,29.87,0,0,1-6,18h88A18,18,0,0,0,218,192Z"></path>'), I1 = e.from_svg('<path d="M96,104a8,8,0,0,1,8-8h64a8,8,0,0,1,0,16H104A8,8,0,0,1,96,104Zm8,40h64a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16Zm128,48a32,32,0,0,1-32,32H88a32,32,0,0,1-32-32V64a16,16,0,0,0-32,0c0,5.74,4.83,9.62,4.88,9.66h0A8,8,0,0,1,24,88a7.89,7.89,0,0,1-4.79-1.61h0C18.05,85.54,8,77.61,8,64A32,32,0,0,1,40,32H176a32,32,0,0,1,32,32V168h8a8,8,0,0,1,4.8,1.6C222,170.46,232,178.39,232,192ZM96.26,173.48A8.07,8.07,0,0,1,104,168h88V64a16,16,0,0,0-16-16H67.69A31.71,31.71,0,0,1,72,64V192a16,16,0,0,0,32,0c0-5.74-4.83-9.62-4.88-9.66A7.82,7.82,0,0,1,96.26,173.48ZM216,192a12.58,12.58,0,0,0-3.23-8h-94a26.92,26.92,0,0,1,1.21,8,31.82,31.82,0,0,1-4.29,16H200A16,16,0,0,0,216,192Z"></path>'), L1 = e.from_svg('<path d="M100,104a4,4,0,0,1,4-4h64a4,4,0,0,1,0,8H104A4,4,0,0,1,100,104Zm4,36h64a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8Zm124,52a28,28,0,0,1-28,28H88a28,28,0,0,1-28-28V64a20,20,0,0,0-40,0c0,7.78,6.34,12.75,6.4,12.8a4,4,0,1,1-4.8,6.4C21.21,82.91,12,75.86,12,64A28,28,0,0,1,40,36H176a28,28,0,0,1,28,28V172h12a4,4,0,0,1,2.4.8C218.79,173.09,228,180.14,228,192Zm-120,0c0-7.78-6.34-12.75-6.4-12.8A4,4,0,0,1,104,172h92V64a20,20,0,0,0-20-20H59.57A27.9,27.9,0,0,1,68,64V192a20,20,0,0,0,40,0Zm112,0c0-6-3.74-10.3-5.5-12H112.61A23.31,23.31,0,0,1,116,192a27.94,27.94,0,0,1-8.42,20H200A20,20,0,0,0,220,192Z"></path>'), P1 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4536
4536
  function Ye(a, t) {
4537
4537
  e.push(t, !0);
4538
4538
  const r = ge();
4539
- let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), p = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4539
+ let d = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), M = e.derived(() => t.color ?? r.color ?? "currentColor"), w = e.derived(() => t.size ?? r.size ?? "1em"), m = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4540
4540
  function C(n) {
4541
- let { weight: o, color: m, size: z, mirrored: k, ...l } = n;
4541
+ let { weight: o, color: b, size: z, mirrored: k, ...l } = n;
4542
4542
  return l;
4543
4543
  }
4544
- var b = P1();
4544
+ var p = P1();
4545
4545
  e.attribute_effect(
4546
- b,
4546
+ p,
4547
4547
  (n, o) => ({
4548
4548
  xmlns: "http://www.w3.org/2000/svg",
4549
4549
  role: "img",
4550
4550
  width: e.get(w),
4551
4551
  height: e.get(w),
4552
4552
  fill: e.get(M),
4553
- transform: e.get(p) ? "scale(-1, 1)" : void 0,
4553
+ transform: e.get(m) ? "scale(-1, 1)" : void 0,
4554
4554
  viewBox: "0 0 256 256",
4555
4555
  ...n,
4556
4556
  ...o
4557
4557
  }),
4558
4558
  [() => C(r), () => C(d)]
4559
4559
  );
4560
- var A = e.child(b);
4560
+ var x = e.child(p);
4561
4561
  {
4562
4562
  var G = (n) => {
4563
- var o = e.comment(), m = e.first_child(o);
4564
- e.snippet(m, () => t.children), e.append(n, o);
4563
+ var o = e.comment(), b = e.first_child(o);
4564
+ e.snippet(b, () => t.children), e.append(n, o);
4565
4565
  };
4566
- e.if(A, (n) => {
4566
+ e.if(x, (n) => {
4567
4567
  t.children && n(G);
4568
4568
  });
4569
4569
  }
4570
- var D = e.sibling(A, 2);
4570
+ var R = e.sibling(x, 2);
4571
4571
  {
4572
4572
  var L = (n) => {
4573
4573
  var o = S1();
4574
4574
  e.append(n, o);
4575
4575
  }, P = (n) => {
4576
- var o = e.comment(), m = e.first_child(o);
4576
+ var o = e.comment(), b = e.first_child(o);
4577
4577
  {
4578
4578
  var z = (l) => {
4579
4579
  var y = C1();
@@ -4584,10 +4584,10 @@ function Ye(a, t) {
4584
4584
  var Q = (c) => {
4585
4585
  var f = z1();
4586
4586
  e.append(c, f);
4587
- }, x = (c) => {
4587
+ }, A = (c) => {
4588
4588
  var f = e.comment(), T = e.first_child(f);
4589
4589
  {
4590
- var R = (g) => {
4590
+ var D = (g) => {
4591
4591
  var u = k1();
4592
4592
  e.append(g, u);
4593
4593
  }, O = (g) => {
@@ -4629,7 +4629,7 @@ function Ye(a, t) {
4629
4629
  e.if(
4630
4630
  T,
4631
4631
  (g) => {
4632
- e.get(i) === "light" ? g(R) : g(O, !1);
4632
+ e.get(i) === "light" ? g(D) : g(O, !1);
4633
4633
  },
4634
4634
  !0
4635
4635
  );
@@ -4639,7 +4639,7 @@ function Ye(a, t) {
4639
4639
  e.if(
4640
4640
  N,
4641
4641
  (c) => {
4642
- e.get(i) === "fill" ? c(Q) : c(x, !1);
4642
+ e.get(i) === "fill" ? c(Q) : c(A, !1);
4643
4643
  },
4644
4644
  !0
4645
4645
  );
@@ -4647,7 +4647,7 @@ function Ye(a, t) {
4647
4647
  e.append(l, y);
4648
4648
  };
4649
4649
  e.if(
4650
- m,
4650
+ b,
4651
4651
  (l) => {
4652
4652
  e.get(i) === "duotone" ? l(z) : l(k, !1);
4653
4653
  },
@@ -4656,19 +4656,21 @@ function Ye(a, t) {
4656
4656
  }
4657
4657
  e.append(n, o);
4658
4658
  };
4659
- e.if(D, (n) => {
4659
+ e.if(R, (n) => {
4660
4660
  e.get(i) === "bold" ? n(L) : n(P, !1);
4661
4661
  });
4662
4662
  }
4663
- e.reset(b), e.append(a, b), e.pop();
4663
+ e.reset(p), e.append(a, p), e.pop();
4664
4664
  }
4665
4665
  function te(a, t) {
4666
4666
  let r = null;
4667
4667
  function d() {
4668
4668
  if (r) return;
4669
4669
  r = document.createElement("div"), r.className = "fixed z-[9999] px-2 py-1 text-xs rounded shadow-sm pointer-events-none opacity-0 transition-opacity duration-150 whitespace-nowrap max-w-xs", r.textContent = t.content;
4670
- const b = getComputedStyle(a), A = b.getPropertyValue("--color-base-200").trim() || b.getPropertyValue("--color-neutral").trim() || "oklch(0.95 0 0)", G = b.getPropertyValue("--color-base-content").trim() || b.getPropertyValue("--color-neutral-content").trim() || "oklch(0.2 0 0)";
4671
- r.style.backgroundColor = A, r.style.color = G, document.body.appendChild(r), M(), requestAnimationFrame(() => {
4670
+ const p = document.createElement("div");
4671
+ p.className = "bg-base-200 text-base-content", p.style.position = "absolute", p.style.visibility = "hidden", a.appendChild(p);
4672
+ const x = getComputedStyle(p), G = x.backgroundColor, R = x.color;
4673
+ a.removeChild(p), r.style.backgroundColor = G, r.style.color = R, document.body.appendChild(r), M(), requestAnimationFrame(() => {
4672
4674
  r && (r.style.opacity = "1");
4673
4675
  });
4674
4676
  }
@@ -4679,48 +4681,48 @@ function te(a, t) {
4679
4681
  }
4680
4682
  function M() {
4681
4683
  if (!r) return;
4682
- const b = a.getBoundingClientRect(), A = r.getBoundingClientRect(), G = t.position || "top", D = 6;
4684
+ const p = a.getBoundingClientRect(), x = r.getBoundingClientRect(), G = t.position || "top", R = 6;
4683
4685
  let L = 0, P = 0;
4684
4686
  switch (G) {
4685
4687
  case "top":
4686
- L = b.top - A.height - D, P = b.left + (b.width - A.width) / 2;
4688
+ L = p.top - x.height - R, P = p.left + (p.width - x.width) / 2;
4687
4689
  break;
4688
4690
  case "bottom":
4689
- L = b.bottom + D, P = b.left + (b.width - A.width) / 2;
4691
+ L = p.bottom + R, P = p.left + (p.width - x.width) / 2;
4690
4692
  break;
4691
4693
  case "left":
4692
- L = b.top + (b.height - A.height) / 2, P = b.left - A.width - D;
4694
+ L = p.top + (p.height - x.height) / 2, P = p.left - x.width - R;
4693
4695
  break;
4694
4696
  case "right":
4695
- L = b.top + (b.height - A.height) / 2, P = b.right + D;
4697
+ L = p.top + (p.height - x.height) / 2, P = p.right + R;
4696
4698
  break;
4697
4699
  }
4698
- P < 0 && (P = 0), L < 0 && (L = 0), P + A.width > window.innerWidth && (P = window.innerWidth - A.width), L + A.height > window.innerHeight && (L = window.innerHeight - A.height), r.style.top = `${L}px`, r.style.left = `${P}px`;
4700
+ P < 0 && (P = 0), L < 0 && (L = 0), P + x.width > window.innerWidth && (P = window.innerWidth - x.width), L + x.height > window.innerHeight && (L = window.innerHeight - x.height), r.style.top = `${L}px`, r.style.left = `${P}px`;
4699
4701
  }
4700
4702
  function w() {
4701
4703
  d();
4702
4704
  }
4703
- function p() {
4705
+ function m() {
4704
4706
  i();
4705
4707
  }
4706
4708
  function C() {
4707
4709
  r && i();
4708
4710
  }
4709
- return a.addEventListener("mouseenter", w), a.addEventListener("mouseleave", p), a.addEventListener("focus", w), a.addEventListener("blur", p), window.addEventListener("scroll", C, !0), {
4710
- update(b) {
4711
- t = b, r && (r.textContent = t.content, M());
4711
+ return a.addEventListener("mouseenter", w), a.addEventListener("mouseleave", m), a.addEventListener("focus", w), a.addEventListener("blur", m), window.addEventListener("scroll", C, !0), {
4712
+ update(p) {
4713
+ t = p, r && (r.textContent = t.content, M());
4712
4714
  },
4713
4715
  destroy() {
4714
- i(), a.removeEventListener("mouseenter", w), a.removeEventListener("mouseleave", p), a.removeEventListener("focus", w), a.removeEventListener("blur", p), window.removeEventListener("scroll", C, !0);
4716
+ i(), a.removeEventListener("mouseenter", w), a.removeEventListener("mouseleave", m), a.removeEventListener("focus", w), a.removeEventListener("blur", m), window.removeEventListener("scroll", C, !0);
4715
4717
  }
4716
4718
  };
4717
4719
  }
4718
4720
  var T1 = e.from_html('<div><button class="btn btn-ghost btn-circle btn-sm"><!></button></div>'), E1 = e.from_html("<div></div>"), j1 = e.from_html("<li><button><!></button></li>"), O1 = e.from_html("<li><button><!></button></li>"), B1 = e.from_html('<div class="divider my-1"></div> <li><label class="label cursor-pointer py-1 gap-2"><span class="label-text text-sm"> </span> <input type="checkbox" class="checkbox checkbox-sm"/></label></li>', 1), F1 = e.from_html('<li><div tabindex="0" role="button" class="flex items-center justify-center"><!></div> <ul tabindex="-1"><li><button><!> </button></li> <li><button><!> </button></li> <!></ul></li>'), N1 = e.from_html("<li><button><!></button></li>"), R1 = e.from_html("<li><button><!></button></li>"), D1 = e.from_html("<li><button><!></button></li>"), G1 = e.from_html("<div></div>"), U1 = e.from_html("<li><button><!></button></li>"), X1 = e.from_html("<button><!></button>"), Y1 = e.from_html("<div><div><!> <ul><!> <!> <!> <!> <!> <!> <!> <!></ul></div> <!></div>");
4719
4721
  function W1(a, t) {
4720
4722
  e.push(t, !0);
4721
- const r = Ze(we), d = e.derived(() => r.toolbarOpen), i = e.derived(() => r.config.toolbarPosition || "left"), M = e.derived(() => e.get(i) === "left"), w = e.derived(() => e.get(i) === "top"), p = e.derived(() => e.get(w) ? "bottom" : e.get(M) ? "right" : "left"), C = e.derived(() => r.config.showToggle !== !1), b = e.derived(() => r.config.toolbar || {}), A = e.derived(() => e.get(b).showSearch !== !1), G = e.derived(() => e.get(b).showGallery !== !1), D = e.derived(() => e.get(b).showFullscreen !== !1), L = e.derived(() => e.get(b).showAnnotations !== !1), P = e.derived(() => e.get(b).showInfo !== !1), n = e.derived(() => e.get(b).showViewingMode !== !1);
4723
+ const r = Ze(we), d = e.derived(() => r.toolbarOpen), i = e.derived(() => r.config.toolbarPosition || "left"), M = e.derived(() => e.get(i) === "left"), w = e.derived(() => e.get(i) === "top"), m = e.derived(() => e.get(w) ? "bottom" : e.get(M) ? "right" : "left"), C = e.derived(() => r.config.showToggle !== !1), p = e.derived(() => r.config.toolbar || {}), x = e.derived(() => e.get(p).showSearch !== !1), G = e.derived(() => e.get(p).showGallery !== !1), R = e.derived(() => e.get(p).showFullscreen !== !1), L = e.derived(() => e.get(p).showAnnotations !== !1), P = e.derived(() => e.get(p).showInfo !== !1), n = e.derived(() => e.get(p).showViewingMode !== !1);
4722
4724
  let o = e.derived(() => (be.current, [...r.pluginMenuButtons].sort((_, I) => (_.order ?? 100) - (I.order ?? 100))));
4723
- function m() {
4725
+ function b() {
4724
4726
  r.toggleToolbar();
4725
4727
  }
4726
4728
  let z = e.state(!1);
@@ -4740,9 +4742,9 @@ function W1(a, t) {
4740
4742
  {
4741
4743
  var N = (_) => {
4742
4744
  var I = T1(), V = e.child(I);
4743
- V.__click = m;
4745
+ V.__click = b;
4744
4746
  var q = e.child(V);
4745
- Oe(q, { size: 20, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ Ee(), position: e.get(p) })), e.reset(I), e.template_effect(
4747
+ Oe(q, { size: 20, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ Ee(), position: e.get(m) })), e.reset(I), e.template_effect(
4746
4748
  (F) => {
4747
4749
  e.set_class(I, 1, e.clsx([
4748
4750
  "shrink-0",
@@ -4760,13 +4762,13 @@ function W1(a, t) {
4760
4762
  e.get(C) ? _(N) : _(Q, !1);
4761
4763
  });
4762
4764
  }
4763
- var x = e.sibling(y, 2), c = e.child(x);
4765
+ var A = e.sibling(y, 2), c = e.child(A);
4764
4766
  {
4765
4767
  var f = (_) => {
4766
4768
  var I = j1(), V = e.child(I);
4767
4769
  V.__click = () => r.toggleSearchPanel();
4768
4770
  var q = e.child(V);
4769
- Lt(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ Be(), position: e.get(p) })), e.reset(I), e.template_effect(
4771
+ Lt(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ Be(), position: e.get(m) })), e.reset(I), e.template_effect(
4770
4772
  (F) => {
4771
4773
  e.set_class(V, 1, e.clsx([
4772
4774
  "flex items-center justify-center",
@@ -4777,18 +4779,18 @@ function W1(a, t) {
4777
4779
  ), e.append(_, I);
4778
4780
  };
4779
4781
  e.if(c, (_) => {
4780
- e.get(A) && _(f);
4782
+ e.get(x) && _(f);
4781
4783
  });
4782
4784
  }
4783
4785
  var T = e.sibling(c, 2);
4784
4786
  {
4785
- var R = (_) => {
4787
+ var D = (_) => {
4786
4788
  var I = O1(), V = e.child(I);
4787
4789
  V.__click = () => r.toggleThumbnailGallery();
4788
4790
  var q = e.child(V);
4789
4791
  P0(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({
4790
4792
  content: r.showThumbnailGallery ? /* @__PURE__ */ Ce() : /* @__PURE__ */ ze(),
4791
- position: e.get(p)
4793
+ position: e.get(m)
4792
4794
  })), e.reset(I), e.template_effect(
4793
4795
  (F) => {
4794
4796
  e.set_class(V, 1, e.clsx([
@@ -4802,7 +4804,7 @@ function W1(a, t) {
4802
4804
  ), e.append(_, I);
4803
4805
  };
4804
4806
  e.if(T, (_) => {
4805
- e.get(G) && _(R);
4807
+ e.get(G) && _(D);
4806
4808
  });
4807
4809
  }
4808
4810
  var O = e.sibling(T, 2);
@@ -4819,7 +4821,7 @@ function W1(a, t) {
4819
4821
  r.viewingMode === "paged" ? ne(F) : ne(Y, !1);
4820
4822
  });
4821
4823
  }
4822
- e.reset(V), e.action(V, (ne, fe) => te == null ? void 0 : te(ne, fe), () => ({ content: /* @__PURE__ */ je(), position: e.get(p) }));
4824
+ e.reset(V), e.action(V, (ne, fe) => te == null ? void 0 : te(ne, fe), () => ({ content: /* @__PURE__ */ je(), position: e.get(m) }));
4823
4825
  var W = e.sibling(V, 2), X = e.child(W), B = e.child(X);
4824
4826
  B.__click = () => r.setViewingMode("individuals");
4825
4827
  var $ = e.child(B);
@@ -4882,7 +4884,7 @@ function W1(a, t) {
4882
4884
  }
4883
4885
  e.reset(V), e.action(V, (W, X) => te == null ? void 0 : te(W, X), () => ({
4884
4886
  content: r.isFullScreen ? /* @__PURE__ */ ke() : /* @__PURE__ */ Ie(),
4885
- position: e.get(p)
4887
+ position: e.get(m)
4886
4888
  })), e.reset(I), e.template_effect(
4887
4889
  (W) => {
4888
4890
  e.set_class(V, 1, e.clsx([
@@ -4896,7 +4898,7 @@ function W1(a, t) {
4896
4898
  ), e.append(_, I);
4897
4899
  };
4898
4900
  e.if(u, (_) => {
4899
- e.get(D) && _(H);
4901
+ e.get(R) && _(H);
4900
4902
  });
4901
4903
  }
4902
4904
  var E = e.sibling(u, 2);
@@ -4907,7 +4909,7 @@ function W1(a, t) {
4907
4909
  var q = e.child(V);
4908
4910
  n1(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({
4909
4911
  content: r.showAnnotations ? /* @__PURE__ */ Le() : /* @__PURE__ */ Pe(),
4910
- position: e.get(p)
4912
+ position: e.get(m)
4911
4913
  })), e.reset(I), e.template_effect(
4912
4914
  (F) => {
4913
4915
  e.set_class(V, 1, e.clsx([
@@ -4930,7 +4932,7 @@ function W1(a, t) {
4930
4932
  var I = D1(), V = e.child(I);
4931
4933
  V.__click = () => r.toggleMetadataDialog();
4932
4934
  var q = e.child(V);
4933
- v1(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ gt(), position: e.get(p) })), e.reset(I), e.template_effect(
4935
+ v1(q, { size: 24, weight: "bold" }), e.reset(V), e.action(V, (F, Y) => te == null ? void 0 : te(F, Y), () => ({ content: /* @__PURE__ */ gt(), position: e.get(m) })), e.reset(I), e.template_effect(
4934
4936
  (F) => {
4935
4937
  e.set_class(V, 1, e.clsx([
4936
4938
  "flex items-center justify-center",
@@ -4955,7 +4957,7 @@ function W1(a, t) {
4955
4957
  ]))), e.append(_, I);
4956
4958
  };
4957
4959
  e.if(U, (_) => {
4958
- (e.get(A) || e.get(G) || e.get(D) || e.get(L) || e.get(P) || e.get(n)) && e.get(o).length > 0 && _(K);
4960
+ (e.get(x) || e.get(G) || e.get(R) || e.get(L) || e.get(P) || e.get(n)) && e.get(o).length > 0 && _(K);
4959
4961
  });
4960
4962
  }
4961
4963
  var J = e.sibling(U, 2);
@@ -4968,7 +4970,7 @@ function W1(a, t) {
4968
4970
  var W = e.child(Y);
4969
4971
  e.component(W, () => e.get(V), (X, B) => {
4970
4972
  B(X, { size: 24, weight: "bold" });
4971
- }), e.reset(Y), e.action(Y, (X, B) => te == null ? void 0 : te(X, B), () => ({ content: e.get(q), position: e.get(p) })), e.reset(F), e.template_effect(
4973
+ }), e.reset(Y), e.action(Y, (X, B) => te == null ? void 0 : te(X, B), () => ({ content: e.get(q), position: e.get(m) })), e.reset(F), e.template_effect(
4972
4974
  (X) => {
4973
4975
  e.set_class(Y, 1, X), e.set_attribute(Y, "aria-label", e.get(q));
4974
4976
  },
@@ -4982,14 +4984,14 @@ function W1(a, t) {
4982
4984
  }
4983
4985
  ]
4984
4986
  ), e.append(_, F);
4985
- }), e.reset(x), e.reset(l);
4987
+ }), e.reset(A), e.reset(l);
4986
4988
  var v = e.sibling(l, 2);
4987
4989
  {
4988
4990
  var s = (_) => {
4989
4991
  var I = X1();
4990
- I.__click = m;
4992
+ I.__click = b;
4991
4993
  var V = e.child(I);
4992
- w1(V, { size: 20, weight: "bold" }), e.reset(I), e.action(I, (q, F) => te == null ? void 0 : te(q, F), () => ({ content: /* @__PURE__ */ Te(), position: e.get(p) })), e.template_effect(
4994
+ w1(V, { size: 20, weight: "bold" }), e.reset(I), e.action(I, (q, F) => te == null ? void 0 : te(q, F), () => ({ content: /* @__PURE__ */ Te(), position: e.get(m) })), e.template_effect(
4993
4995
  (q) => {
4994
4996
  e.set_class(I, 1, e.clsx([
4995
4997
  "pointer-events-auto btn btn-circle btn-sm shadow-md z-40 transition-opacity duration-300 absolute mt-2",
@@ -5025,7 +5027,7 @@ function W1(a, t) {
5025
5027
  !e.get(d) && !e.get(w) && e.get(M) && "-translate-x-full",
5026
5028
  !e.get(d) && !e.get(w) && !e.get(M) && "translate-x-full",
5027
5029
  e.get(z) ? "overflow-visible" : "overflow-hidden"
5028
- ])), e.set_class(x, 1, e.clsx([
5030
+ ])), e.set_class(A, 1, e.clsx([
5029
5031
  "menu menu-md gap-2 flex-nowrap items-center min-h-0",
5030
5032
  e.get(w) && "px-2 py-1 menu-horizontal w-auto flex-row-reverse",
5031
5033
  e.get(w) && !e.get(z) && "overflow-x-auto overflow-y-hidden",
@@ -5059,12 +5061,12 @@ function tc(a, t) {
5059
5061
  }), M = e.derived(() => e.get(d) ? e.get(d).getDescription() : ""), w = e.derived(() => {
5060
5062
  var H;
5061
5063
  return e.get(d) ? (H = e.get(d).getRequiredStatement()) == null ? void 0 : H.getValue() : "";
5062
- }), p = e.derived(() => e.get(d) ? e.get(d).getLicense() : "");
5063
- var C = ec(), b = e.child(C), A = e.child(b), G = e.child(A);
5064
- G.__click = () => r.toggleMetadataDialog(), e.reset(A);
5065
- var D = e.sibling(A, 2), L = e.child(D, !0);
5066
- e.reset(D);
5067
- var P = e.sibling(D, 2), n = e.child(P);
5064
+ }), m = e.derived(() => e.get(d) ? e.get(d).getLicense() : "");
5065
+ var C = ec(), p = e.child(C), x = e.child(p), G = e.child(x);
5066
+ G.__click = () => r.toggleMetadataDialog(), e.reset(x);
5067
+ var R = e.sibling(x, 2), L = e.child(R, !0);
5068
+ e.reset(R);
5069
+ var P = e.sibling(R, 2), n = e.child(P);
5068
5070
  {
5069
5071
  var o = (H) => {
5070
5072
  var E = q1(), j = e.child(E), h = e.child(j);
@@ -5074,7 +5076,7 @@ function tc(a, t) {
5074
5076
  e.get(M) && H(o);
5075
5077
  });
5076
5078
  }
5077
- var m = e.sibling(n, 2), z = e.child(m);
5079
+ var b = e.sibling(n, 2), z = e.child(b);
5078
5080
  {
5079
5081
  var k = (H) => {
5080
5082
  var E = K1(), j = e.first_child(E), h = e.child(j, !0);
@@ -5094,13 +5096,13 @@ function tc(a, t) {
5094
5096
  var Z = e.sibling(j, 2), U = e.child(Z), K = e.child(U, !0);
5095
5097
  e.reset(U), e.reset(Z), e.template_effect(
5096
5098
  (J) => {
5097
- e.set_text(h, J), e.set_attribute(U, "href", e.get(p)), e.set_text(K, e.get(p));
5099
+ e.set_text(h, J), e.set_attribute(U, "href", e.get(m)), e.set_text(K, e.get(m));
5098
5100
  },
5099
5101
  [() => /* @__PURE__ */ ct()]
5100
5102
  ), e.append(H, E);
5101
5103
  };
5102
5104
  e.if(l, (H) => {
5103
- e.get(p) && H(y);
5105
+ e.get(m) && H(y);
5104
5106
  });
5105
5107
  }
5106
5108
  var N = e.sibling(l, 2);
@@ -5112,7 +5114,7 @@ function tc(a, t) {
5112
5114
  });
5113
5115
  var Q = e.sibling(N, 2);
5114
5116
  {
5115
- var x = (H) => {
5117
+ var A = (H) => {
5116
5118
  var E = $1(), j = e.first_child(E), h = e.child(j, !0);
5117
5119
  e.reset(j);
5118
5120
  var Z = e.sibling(j, 2), U = e.child(Z), K = e.child(U, !0);
@@ -5124,20 +5126,20 @@ function tc(a, t) {
5124
5126
  ), e.append(H, E);
5125
5127
  };
5126
5128
  e.if(Q, (H) => {
5127
- r.manifestId && H(x);
5129
+ r.manifestId && H(A);
5128
5130
  });
5129
5131
  }
5130
- e.reset(m), e.reset(P);
5132
+ e.reset(b), e.reset(P);
5131
5133
  var c = e.sibling(P, 2), f = e.child(c), T = e.child(f);
5132
5134
  T.__click = () => r.toggleMetadataDialog();
5133
- var R = e.child(T, !0);
5134
- e.reset(T), e.reset(f), e.reset(c), e.reset(b);
5135
- var O = e.sibling(b, 2), g = e.child(O);
5135
+ var D = e.child(T, !0);
5136
+ e.reset(T), e.reset(f), e.reset(c), e.reset(p);
5137
+ var O = e.sibling(p, 2), g = e.child(O);
5136
5138
  g.__click = () => r.toggleMetadataDialog();
5137
5139
  var u = e.child(g, !0);
5138
5140
  e.reset(g), e.reset(O), e.reset(C), e.template_effect(
5139
5141
  (H, E, j) => {
5140
- C.open = r.showMetadataDialog, e.set_text(L, H), e.set_text(R, E), e.set_text(u, j);
5142
+ C.open = r.showMetadataDialog, e.set_text(L, H), e.set_text(D, E), e.set_text(u, j);
5141
5143
  },
5142
5144
  [
5143
5145
  () => e.get(d) ? e.get(d).getLabel().length && e.get(d).getLabel()[0] ? e.get(d).getLabel()[0].value : /* @__PURE__ */ it() : /* @__PURE__ */ lt(),
@@ -5164,21 +5166,21 @@ function We(a, t) {
5164
5166
  function w(L) {
5165
5167
  L.key === "Enter" && M();
5166
5168
  }
5167
- function p(L) {
5169
+ function m(L) {
5168
5170
  const P = r.canvases[L];
5169
5171
  P && r.setCanvas(P.id);
5170
5172
  }
5171
5173
  let C = e.derived(() => {
5172
5174
  var L;
5173
5175
  return ((L = r.config.search) == null ? void 0 : L.width) ?? "320px";
5174
- }), b = e.derived(() => {
5176
+ }), p = e.derived(() => {
5175
5177
  var L;
5176
5178
  return ((L = r.config.search) == null ? void 0 : L.position) ?? "right";
5177
5179
  });
5178
- var A = e.comment(), G = e.first_child(A);
5180
+ var x = e.comment(), G = e.first_child(x);
5179
5181
  {
5180
- var D = (L) => {
5181
- var P = vc(), n = e.child(P), o = e.child(n), m = e.child(o, !0);
5182
+ var R = (L) => {
5183
+ var P = vc(), n = e.child(P), o = e.child(n), b = e.child(o, !0);
5182
5184
  e.reset(o);
5183
5185
  var z = e.sibling(o, 2);
5184
5186
  {
@@ -5197,7 +5199,7 @@ function We(a, t) {
5197
5199
  e.remove_input_defaults(N), N.__keydown = w;
5198
5200
  var Q = e.sibling(N, 2);
5199
5201
  Q.__click = M;
5200
- var x = e.child(Q);
5202
+ var A = e.child(Q);
5201
5203
  {
5202
5204
  var c = (u) => {
5203
5205
  var H = ac();
@@ -5205,12 +5207,12 @@ function We(a, t) {
5205
5207
  }, f = (u) => {
5206
5208
  Lt(u, { size: 20, weight: "bold" });
5207
5209
  };
5208
- e.if(x, (u) => {
5210
+ e.if(A, (u) => {
5209
5211
  r.isSearching ? u(c) : u(f, !1);
5210
5212
  });
5211
5213
  }
5212
5214
  e.reset(Q), e.reset(y), e.reset(l);
5213
- var T = e.sibling(l, 2), R = e.child(T);
5215
+ var T = e.sibling(l, 2), D = e.child(T);
5214
5216
  {
5215
5217
  var O = (u) => {
5216
5218
  var H = nc();
@@ -5235,7 +5237,7 @@ function We(a, t) {
5235
5237
  var q = e.sibling(I, 2);
5236
5238
  e.each(q, 17, () => r.searchResults, (F) => F.canvasIndex, (F, Y) => {
5237
5239
  var W = dc();
5238
- W.__click = () => p(e.get(Y).canvasIndex);
5240
+ W.__click = () => m(e.get(Y).canvasIndex);
5239
5241
  var X = e.child(W), B = e.child(X), $ = e.child(B, !0);
5240
5242
  e.reset(B);
5241
5243
  var re = e.sibling(B, 2), ae = e.child(re);
@@ -5288,13 +5290,13 @@ function We(a, t) {
5288
5290
  }
5289
5291
  e.append(u, H);
5290
5292
  };
5291
- e.if(R, (u) => {
5293
+ e.if(D, (u) => {
5292
5294
  r.isSearching ? u(O) : u(g, !1);
5293
5295
  });
5294
5296
  }
5295
5297
  e.reset(T), e.reset(P), e.template_effect(
5296
5298
  (u, H, E, j) => {
5297
- e.set_class(P, 1, `h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${r.config.transparentBackground ? "" : e.get(b) === "left" ? "border-r border-base-300" : "border-l border-base-300"}`), e.set_style(P, `width: ${e.get(C) ?? ""}`), e.set_attribute(P, "aria-label", u), e.set_text(m, H), e.set_attribute(N, "placeholder", E), e.set_attribute(Q, "aria-label", j);
5299
+ e.set_class(P, 1, `h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${r.config.transparentBackground ? "" : e.get(p) === "left" ? "border-r border-base-300" : "border-l border-base-300"}`), e.set_style(P, `width: ${e.get(C) ?? ""}`), e.set_attribute(P, "aria-label", u), e.set_text(b, H), e.set_attribute(N, "placeholder", E), e.set_attribute(Q, "aria-label", j);
5298
5300
  },
5299
5301
  [
5300
5302
  () => /* @__PURE__ */ Se(),
@@ -5305,10 +5307,10 @@ function We(a, t) {
5305
5307
  ), e.bind_value(N, () => e.get(d), (u) => e.set(d, u)), e.append(L, P);
5306
5308
  };
5307
5309
  e.if(G, (L) => {
5308
- r.showSearchPanel && L(D);
5310
+ r.showSearchPanel && L(R);
5309
5311
  });
5310
5312
  }
5311
- e.append(a, A), e.pop();
5313
+ e.append(a, x), e.pop();
5312
5314
  }
5313
5315
  e.delegate(["click", "keydown"]);
5314
5316
  var fc = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), _c = e.from_html('<div class="h-full pointer-events-auto relative"><!></div>'), uc = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), hc = e.from_html("<div><!> <!> <!></div>"), pc = e.from_html('<div class="flex-none w-full pointer-events-auto relative z-20"><!></div>'), mc = e.from_html('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), bc = e.from_html('<div class="w-full h-full flex items-center justify-center text-error"> </div>'), wc = e.from_html('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'), yc = e.from_html('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'), xc = e.from_html('<div class="flex-none w-full pointer-events-auto relative z-20"><!></div>'), Ac = e.from_html('<div class="relative w-full z-40 pointer-events-auto"><!></div>'), Zc = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), Hc = e.from_html('<div class="h-full pointer-events-auto relative"><!></div>'), Mc = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), Vc = e.from_html("<div><!> <!> <!></div>"), Sc = e.from_html('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');
@@ -5317,50 +5319,50 @@ function jc(a, t) {
5317
5319
  const r = typeof window < "u";
5318
5320
  let d = e.prop(t, "plugins", 19, () => []), i = e.prop(t, "config", 19, () => ({})), M = e.prop(t, "viewerState", 15), w = e.state(void 0);
5319
5321
  e.user_effect(() => {
5320
- e.get(w) && (Lr(e.get(w), t.theme, t.themeConfig), p.setViewerElement(e.get(w)));
5322
+ e.get(w) && (Lr(e.get(w), t.theme, t.themeConfig), m.setViewerElement(e.get(w)));
5321
5323
  });
5322
- const p = new Bt(null, void 0, []);
5324
+ const m = new Bt(null, void 0, []);
5323
5325
  M(
5324
- p
5326
+ m
5325
5327
  // Expose via bindable prop
5326
- ), Et(we, p), Fe(() => {
5327
- p.destroyAllPlugins();
5328
+ ), Et(we, m), Fe(() => {
5329
+ m.destroyAllPlugins();
5328
5330
  }), e.user_effect(() => {
5329
- t.manifestId && t.manifestId !== p.manifestId && p.setManifest(t.manifestId);
5331
+ t.manifestId && t.manifestId !== m.manifestId && m.setManifest(t.manifestId);
5330
5332
  });
5331
5333
  let C = "";
5332
5334
  e.user_effect(() => {
5333
- t.canvasId && t.canvasId !== C && (C = t.canvasId, t.canvasId !== p.canvasId && p.setCanvas(t.canvasId));
5335
+ t.canvasId && t.canvasId !== C && (C = t.canvasId, t.canvasId !== m.canvasId && m.setCanvas(t.canvasId));
5334
5336
  });
5335
- let b = "";
5337
+ let p = "";
5336
5338
  e.user_effect(() => {
5337
5339
  if (i()) {
5338
5340
  const s = JSON.stringify(i());
5339
- s !== b && (b = s, console.log("[Viewer] updateConfig called with new config:", i()), p.updateConfig(i()));
5341
+ s !== p && (p = s, console.log("[Viewer] updateConfig called with new config:", i()), m.updateConfig(i()));
5340
5342
  }
5341
5343
  });
5342
- let A = [];
5344
+ let x = [];
5343
5345
  e.user_effect(() => {
5344
5346
  const s = d();
5345
5347
  return qe(() => {
5346
- for (const _ of A)
5347
- p.unregisterPlugin(_);
5348
- A = [];
5348
+ for (const _ of x)
5349
+ m.unregisterPlugin(_);
5350
+ x = [];
5349
5351
  for (const _ of s) {
5350
5352
  const I = _.id || `plugin-${Math.random().toString(36).substr(2, 9)}`, V = { ..._, id: I };
5351
- p.registerPlugin(V), A.push(I);
5353
+ m.registerPlugin(V), x.push(I);
5352
5354
  }
5353
5355
  }), () => {
5354
- for (const _ of A)
5355
- p.unregisterPlugin(_);
5356
- A = [];
5356
+ for (const _ of x)
5357
+ m.unregisterPlugin(_);
5358
+ x = [];
5357
5359
  };
5358
5360
  }), Fe(() => {
5359
- p.destroyAllPlugins();
5361
+ m.destroyAllPlugins();
5360
5362
  }), e.user_effect(() => {
5361
5363
  if (!r) return;
5362
5364
  const s = () => {
5363
- p.isFullScreen = !!document.fullscreenElement;
5365
+ m.isFullScreen = !!document.fullscreenElement;
5364
5366
  };
5365
5367
  return document.addEventListener("fullscreenchange", s), () => {
5366
5368
  document.removeEventListener("fullscreenchange", s);
@@ -5368,19 +5370,19 @@ function jc(a, t) {
5368
5370
  });
5369
5371
  let G = e.derived(() => {
5370
5372
  var s;
5371
- return p.showThumbnailGallery && p.dockSide === "left" || p.showSearchPanel && ((s = p.config.search) == null ? void 0 : s.position) === "left" || p.pluginPanels.some((_) => _.position === "left" && _.isVisible());
5372
- }), D = e.derived(() => {
5373
+ return m.showThumbnailGallery && m.dockSide === "left" || m.showSearchPanel && ((s = m.config.search) == null ? void 0 : s.position) === "left" || m.pluginPanels.some((_) => _.position === "left" && _.isVisible());
5374
+ }), R = e.derived(() => {
5373
5375
  var s;
5374
- return p.showSearchPanel && ((s = p.config.search) == null ? void 0 : s.position) !== "left" || p.showThumbnailGallery && p.dockSide === "right" || p.pluginPanels.some((_) => _.position === "right" && _.isVisible());
5375
- }), L = e.derived(() => p.manifestEntry), P = e.derived(() => p.canvases), n = e.derived(() => p.currentCanvasIndex);
5376
+ return m.showSearchPanel && ((s = m.config.search) == null ? void 0 : s.position) !== "left" || m.showThumbnailGallery && m.dockSide === "right" || m.pluginPanels.some((_) => _.position === "right" && _.isVisible());
5377
+ }), L = e.derived(() => m.manifestEntry), P = e.derived(() => m.canvases), n = e.derived(() => m.currentCanvasIndex);
5376
5378
  e.user_effect(() => {
5377
- if (p.pendingSearchQuery && e.get(L) && !e.get(L).isFetching && !e.get(L).error && e.get(L).manifesto) {
5378
- const s = p.pendingSearchQuery;
5379
- p.pendingSearchQuery = null, console.log("[Viewer] Manifest loaded, triggering deferred search:", s), p.search(s);
5379
+ if (m.pendingSearchQuery && e.get(L) && !e.get(L).isFetching && !e.get(L).error && e.get(L).manifesto) {
5380
+ const s = m.pendingSearchQuery;
5381
+ m.pendingSearchQuery = null, console.log("[Viewer] Manifest loaded, triggering deferred search:", s), m.search(s);
5380
5382
  }
5381
5383
  }), e.user_effect(() => {
5382
5384
  var s;
5383
- e.get(P) && e.get(P).length > 0 && !p.canvasId && !((s = e.get(L)) != null && s.isFetching) && (console.log("[Viewer] Auto-selecting first canvas:", e.get(P)[0].id), p.setCanvas(e.get(P)[0].id));
5385
+ e.get(P) && e.get(P).length > 0 && !m.canvasId && !((s = e.get(L)) != null && s.isFetching) && (console.log("[Viewer] Auto-selecting first canvas:", e.get(P)[0].id), m.setCanvas(e.get(P)[0].id));
5384
5386
  });
5385
5387
  let o = e.derived(() => {
5386
5388
  var V, q;
@@ -5388,8 +5390,8 @@ function jc(a, t) {
5388
5390
  return (V = e.get(L)) != null && V.isFetching || console.log("TriiiceratopsViewer: No canvas found"), null;
5389
5391
  const s = e.get(P)[e.get(n)];
5390
5392
  let _ = s.getImages();
5391
- if (p.viewingMode === "paged") {
5392
- const F = p.pagedOffset;
5393
+ if (m.viewingMode === "paged") {
5394
+ const F = m.pagedOffset;
5393
5395
  if (e.get(n) >= F) {
5394
5396
  const Y = e.get(n) + 1;
5395
5397
  if (Y < e.get(P).length) {
@@ -5398,9 +5400,9 @@ function jc(a, t) {
5398
5400
  }
5399
5401
  }
5400
5402
  }
5401
- return (!_ || !_.length) && s.getContent && (_ = s.getContent()), !_ || !_.length ? (s.__jsonld && s.__jsonld.items, (q = e.get(L)) != null && q.isFetching || console.log("TriiiceratopsViewer: No images/content in canvas"), null) : _.map((F) => m(F));
5403
+ return (!_ || !_.length) && s.getContent && (_ = s.getContent()), !_ || !_.length ? (s.__jsonld && s.__jsonld.items, (q = e.get(L)) != null && q.isFetching || console.log("TriiiceratopsViewer: No images/content in canvas"), null) : _.map((F) => b(F));
5402
5404
  });
5403
- function m(s) {
5405
+ function b(s) {
5404
5406
  let _ = s.getResource ? s.getResource() : null;
5405
5407
  if (!_ && s.getBody) {
5406
5408
  const B = s.getBody();
@@ -5445,7 +5447,7 @@ function jc(a, t) {
5445
5447
  };
5446
5448
  e.if(I, (W) => {
5447
5449
  var X;
5448
- p.showSearchPanel && ((X = p.config.search) == null ? void 0 : X.position) === "left" && W(V);
5450
+ m.showSearchPanel && ((X = m.config.search) == null ? void 0 : X.position) === "left" && W(V);
5449
5451
  });
5450
5452
  }
5451
5453
  var q = e.sibling(I, 2);
@@ -5456,14 +5458,14 @@ function jc(a, t) {
5456
5458
  get canvases() {
5457
5459
  return e.get(P);
5458
5460
  }
5459
- }), e.reset(X), e.template_effect(() => e.set_style(X, `width: ${p.galleryFixedHeight + 40}px`)), e.append(W, X);
5461
+ }), e.reset(X), e.template_effect(() => e.set_style(X, `width: ${m.galleryFixedHeight + 40}px`)), e.append(W, X);
5460
5462
  };
5461
5463
  e.if(q, (W) => {
5462
- p.showThumbnailGallery && p.dockSide === "left" && W(F);
5464
+ m.showThumbnailGallery && m.dockSide === "left" && W(F);
5463
5465
  });
5464
5466
  }
5465
5467
  var Y = e.sibling(q, 2);
5466
- e.each(Y, 17, () => p.pluginPanels, (W) => W.id, (W, X) => {
5468
+ e.each(Y, 17, () => m.pluginPanels, (W) => W.id, (W, X) => {
5467
5469
  var B = e.comment(), $ = e.first_child(B);
5468
5470
  {
5469
5471
  var re = (ae) => {
@@ -5481,7 +5483,7 @@ function jc(a, t) {
5481
5483
  });
5482
5484
  }
5483
5485
  e.append(W, B);
5484
- }), e.reset(_), e.template_effect(() => e.set_class(_, 1, `flex-none flex flex-row z-20 transition-all ${p.config.transparentBackground ? "" : "bg-base-200 border-r border-base-300"}`)), e.append(s, _);
5486
+ }), e.reset(_), e.template_effect(() => e.set_class(_, 1, `flex-none flex flex-row z-20 transition-all ${m.config.transparentBackground ? "" : "bg-base-200 border-r border-base-300"}`)), e.append(s, _);
5485
5487
  };
5486
5488
  e.if(k, (s) => {
5487
5489
  e.get(G) && s(l);
@@ -5495,13 +5497,13 @@ function jc(a, t) {
5495
5497
  get canvases() {
5496
5498
  return e.get(P);
5497
5499
  }
5498
- }), e.reset(_), e.template_effect(() => e.set_style(_, `height: ${p.galleryFixedHeight + 50}px`)), e.append(s, _);
5500
+ }), e.reset(_), e.template_effect(() => e.set_style(_, `height: ${m.galleryFixedHeight + 50}px`)), e.append(s, _);
5499
5501
  };
5500
5502
  e.if(N, (s) => {
5501
- p.showThumbnailGallery && p.dockSide === "top" && s(Q);
5503
+ m.showThumbnailGallery && m.dockSide === "top" && s(Q);
5502
5504
  });
5503
5505
  }
5504
- var x = e.sibling(N, 2), c = e.child(x);
5506
+ var A = e.sibling(N, 2), c = e.child(A);
5505
5507
  {
5506
5508
  var f = (s) => {
5507
5509
  var _ = mc();
@@ -5525,7 +5527,7 @@ function jc(a, t) {
5525
5527
  return e.get(o);
5526
5528
  },
5527
5529
  get viewerState() {
5528
- return p;
5530
+ return m;
5529
5531
  }
5530
5532
  });
5531
5533
  }, B = ($) => {
@@ -5571,14 +5573,14 @@ function jc(a, t) {
5571
5573
  (_ = e.get(L)) != null && _.isFetching ? s(f) : s(T, !1);
5572
5574
  });
5573
5575
  }
5574
- var R = e.sibling(c, 2);
5575
- o0(R, {});
5576
- var O = e.sibling(R, 2);
5576
+ var D = e.sibling(c, 2);
5577
+ o0(D, {});
5578
+ var O = e.sibling(D, 2);
5577
5579
  tc(O, {});
5578
5580
  var g = e.sibling(O, 2);
5579
5581
  W1(g, {});
5580
5582
  var u = e.sibling(g, 2);
5581
- e.each(u, 17, () => p.pluginPanels, (s) => s.id, (s, _) => {
5583
+ e.each(u, 17, () => m.pluginPanels, (s) => s.id, (s, _) => {
5582
5584
  var I = e.comment(), V = e.first_child(I);
5583
5585
  {
5584
5586
  var q = (F) => {
@@ -5602,12 +5604,12 @@ function jc(a, t) {
5602
5604
  var E = (s) => {
5603
5605
  Ms(s, {
5604
5606
  get viewerState() {
5605
- return p;
5607
+ return m;
5606
5608
  }
5607
5609
  });
5608
5610
  };
5609
5611
  e.if(H, (s) => {
5610
- (e.get(P).length > 1 && p.showCanvasNav || (p.config.showZoomControls ?? !0)) && s(E);
5612
+ (e.get(P).length > 1 && m.showCanvasNav || (m.config.showZoomControls ?? !0)) && s(E);
5611
5613
  });
5612
5614
  }
5613
5615
  var j = e.sibling(H, 2);
@@ -5620,11 +5622,11 @@ function jc(a, t) {
5620
5622
  });
5621
5623
  };
5622
5624
  e.if(j, (s) => {
5623
- p.showThumbnailGallery && p.dockSide === "none" && s(h);
5625
+ m.showThumbnailGallery && m.dockSide === "none" && s(h);
5624
5626
  });
5625
5627
  }
5626
- e.reset(x);
5627
- var Z = e.sibling(x, 2);
5628
+ e.reset(A);
5629
+ var Z = e.sibling(A, 2);
5628
5630
  {
5629
5631
  var U = (s) => {
5630
5632
  var _ = xc(), I = e.child(_);
@@ -5632,14 +5634,14 @@ function jc(a, t) {
5632
5634
  get canvases() {
5633
5635
  return e.get(P);
5634
5636
  }
5635
- }), e.reset(_), e.template_effect(() => e.set_style(_, `height: ${p.galleryFixedHeight + 50}px`)), e.append(s, _);
5637
+ }), e.reset(_), e.template_effect(() => e.set_style(_, `height: ${m.galleryFixedHeight + 50}px`)), e.append(s, _);
5636
5638
  };
5637
5639
  e.if(Z, (s) => {
5638
- p.showThumbnailGallery && p.dockSide === "bottom" && s(U);
5640
+ m.showThumbnailGallery && m.dockSide === "bottom" && s(U);
5639
5641
  });
5640
5642
  }
5641
5643
  var K = e.sibling(Z, 2);
5642
- e.each(K, 17, () => p.pluginPanels, (s) => s.id, (s, _) => {
5644
+ e.each(K, 17, () => m.pluginPanels, (s) => s.id, (s, _) => {
5643
5645
  var I = e.comment(), V = e.first_child(I);
5644
5646
  {
5645
5647
  var q = (F) => {
@@ -5669,7 +5671,7 @@ function jc(a, t) {
5669
5671
  };
5670
5672
  e.if(I, (W) => {
5671
5673
  var X;
5672
- p.showSearchPanel && ((X = p.config.search) == null ? void 0 : X.position) !== "left" && W(V);
5674
+ m.showSearchPanel && ((X = m.config.search) == null ? void 0 : X.position) !== "left" && W(V);
5673
5675
  });
5674
5676
  }
5675
5677
  var q = e.sibling(I, 2);
@@ -5680,14 +5682,14 @@ function jc(a, t) {
5680
5682
  get canvases() {
5681
5683
  return e.get(P);
5682
5684
  }
5683
- }), e.reset(X), e.template_effect(() => e.set_style(X, `width: ${p.galleryFixedHeight + 40}px`)), e.append(W, X);
5685
+ }), e.reset(X), e.template_effect(() => e.set_style(X, `width: ${m.galleryFixedHeight + 40}px`)), e.append(W, X);
5684
5686
  };
5685
5687
  e.if(q, (W) => {
5686
- p.showThumbnailGallery && p.dockSide === "right" && W(F);
5688
+ m.showThumbnailGallery && m.dockSide === "right" && W(F);
5687
5689
  });
5688
5690
  }
5689
5691
  var Y = e.sibling(q, 2);
5690
- e.each(Y, 17, () => p.pluginPanels, (W) => W.id, (W, X) => {
5692
+ e.each(Y, 17, () => m.pluginPanels, (W) => W.id, (W, X) => {
5691
5693
  var B = e.comment(), $ = e.first_child(B);
5692
5694
  {
5693
5695
  var re = (ae) => {
@@ -5705,14 +5707,14 @@ function jc(a, t) {
5705
5707
  });
5706
5708
  }
5707
5709
  e.append(W, B);
5708
- }), e.reset(_), e.template_effect(() => e.set_class(_, 1, `flex-none flex flex-row z-20 transition-all ${p.config.transparentBackground ? "" : "bg-base-100"}`)), e.append(s, _);
5710
+ }), e.reset(_), e.template_effect(() => e.set_class(_, 1, `flex-none flex flex-row z-20 transition-all ${m.config.transparentBackground ? "" : "bg-base-100"}`)), e.append(s, _);
5709
5711
  };
5710
5712
  e.if(J, (s) => {
5711
- e.get(D) && s(v);
5713
+ e.get(R) && s(v);
5712
5714
  });
5713
5715
  }
5714
5716
  e.reset(z), e.bind_this(z, (s) => e.set(w, s), () => e.get(w)), e.template_effect(() => {
5715
- e.set_class(z, 1, `flex w-full h-full relative overflow-hidden ${p.config.transparentBackground ? "" : "bg-base-100"}`), e.set_class(x, 1, `flex-1 relative min-h-0 w-full h-full ${p.config.transparentBackground ? "" : "bg-base-100"}`);
5717
+ e.set_class(z, 1, `flex w-full h-full relative overflow-hidden ${m.config.transparentBackground ? "" : "bg-base-100"}`), e.set_class(A, 1, `flex-1 relative min-h-0 w-full h-full ${m.config.transparentBackground ? "" : "bg-base-100"}`);
5716
5718
  }), e.append(a, z), e.pop();
5717
5719
  }
5718
5720
  export {