triiiceratops 0.10.1 → 0.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
- import { onMount as mt, getContext as _e, untrack as Ge, setContext as bt, onDestroy as Pe } from "svelte";
4
- import { m as Oe, g as le, a as S, c as Me, o as wt, s as yt, V as ge, X as Ie, b as At } from "./X-BUzsFa3u.js";
5
- import { M as w1 } from "./X-BUzsFa3u.js";
6
- import { a as xt, b as Zt, c as Mt, d as Ht, e as Vt, f as St, g as Ct, h as zt, i as kt, j as Lt, k as It, l as Pt, m as Tt, n as Bt, o as Et, p as Ft, q as Rt, r as Gt, s as Ot, t as jt, u as Nt, v as Dt } from "./annotation_tool_point-CCJi2I8J.js";
7
- import { i as Xt, a as Yt, b as Ut, c as qt, d as Kt, e as Wt, f as Qt, g as Jt } from "./image_filters_reset-CWe7vTJU.js";
3
+ import { onMount as mt, getContext as he, untrack as Oe, setContext as bt, onDestroy as Te } from "svelte";
4
+ import { m as je, g as ce, a as S, c as He, o as wt, s as yt, V as pe, X as Pe, b as At } from "./X-Dgb3I7Ob.js";
5
+ import { M as y1 } from "./X-Dgb3I7Ob.js";
6
+ import { a as xt, b as Zt, c as Mt, d as Ht, e as Vt, f as St, g as Ct, h as zt, i as kt, j as It, k as Lt, l as Pt, m as Tt, n as Bt, o as Et, p as Ft, q as Rt, r as Gt, s as Ot, t as jt, u as Nt, v as Dt } from "./annotation_tool_point-CKkqbVDq.js";
7
+ import { i as Xt, a as Yt, b as Ut, c as qt, d as Kt, e as Wt, f as Qt, g as Jt } from "./image_filters_reset-DZrbHhqM.js";
8
8
  const $t = [
9
9
  "light",
10
10
  "dark",
@@ -61,7 +61,7 @@ function tr(a) {
61
61
  const r = (M) => M.endsWith("%") ? parseFloat(M) / 100 * 255 : parseFloat(M), f = r(t[1]), i = r(t[2]), x = r(t[3]);
62
62
  return isNaN(f) || isNaN(i) || isNaN(x) ? null : { r: f, g: i, b: x };
63
63
  }
64
- function Ze(a) {
64
+ function Me(a) {
65
65
  const t = a / 255;
66
66
  return t <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
67
67
  }
@@ -85,11 +85,11 @@ function nr(a, t, r) {
85
85
  let i = Math.atan2(r, t) * 180 / Math.PI;
86
86
  return i < 0 && (i += 360), { L: a, C: f, h: i };
87
87
  }
88
- function je(a, t, r) {
89
- const f = Ze(a), i = Ze(t), x = Ze(r), { x: M, y: _, z: C } = rr(f, i, x), { L: b, a: H, b: j } = ar(M, _, C);
88
+ function Ne(a, t, r) {
89
+ const f = Me(a), i = Me(t), x = Me(r), { x: M, y: _, z: C } = rr(f, i, x), { L: b, a: H, b: j } = ar(M, _, C);
90
90
  return nr(b, H, j);
91
91
  }
92
- function Ne(a, t, r) {
92
+ function De(a, t, r) {
93
93
  const f = (a * 100).toFixed(2), i = t.toFixed(4), x = t < 1e-4 ? 0 : r.toFixed(2);
94
94
  return `oklch(${f}% ${i} ${x})`;
95
95
  }
@@ -108,21 +108,21 @@ function sr(a) {
108
108
  const t = er(a);
109
109
  if (!t)
110
110
  return console.warn(`Invalid hex color: ${a}, returning as-is`), a;
111
- const { L: r, C: f, h: i } = je(t.r, t.g, t.b);
112
- return Ne(r, f, i);
111
+ const { L: r, C: f, h: i } = Ne(t.r, t.g, t.b);
112
+ return De(r, f, i);
113
113
  }
114
114
  function cr(a) {
115
115
  const t = tr(a);
116
116
  if (!t)
117
117
  return console.warn(`Invalid rgb color: ${a}, returning as-is`), a;
118
- const { L: r, C: f, h: i } = je(t.r, t.g, t.b);
119
- return Ne(r, f, i);
118
+ const { L: r, C: f, h: i } = Ne(t.r, t.g, t.b);
119
+ return De(r, f, i);
120
120
  }
121
121
  function dr(a) {
122
122
  const t = a.trim();
123
123
  return or(t) ? t : ir(t) ? sr(t) : lr(t) ? cr(t) : (console.warn(`Unrecognized color format: ${a}, passing through as-is`), a);
124
124
  }
125
- const De = {
125
+ const Xe = {
126
126
  // Semantic colors
127
127
  primary: "--color-primary",
128
128
  primaryContent: "--color-primary-content",
@@ -182,7 +182,7 @@ const De = {
182
182
  "error",
183
183
  "errorContent"
184
184
  ]);
185
- function u1(a) {
185
+ function p1(a) {
186
186
  return $t.includes(a);
187
187
  }
188
188
  function gr(a, t) {
@@ -196,17 +196,17 @@ function fr(a, t) {
196
196
  a.style.colorScheme = f;
197
197
  continue;
198
198
  }
199
- const x = De[i];
199
+ const x = Xe[i];
200
200
  if (!x) continue;
201
201
  let M = String(f);
202
202
  vr.has(i) && (M = dr(M)), a.style.setProperty(x, M);
203
203
  }
204
204
  }
205
205
  function _r(a) {
206
- for (const [t, r] of Object.entries(De))
206
+ for (const [t, r] of Object.entries(Xe))
207
207
  t === "colorScheme" ? a.style.colorScheme = "" : a.style.removeProperty(r);
208
208
  }
209
- function p1(a) {
209
+ function h1(a) {
210
210
  try {
211
211
  const t = JSON.parse(a);
212
212
  return typeof t == "object" && t !== null ? t : null;
@@ -217,10 +217,10 @@ function p1(a) {
217
217
  function ur(a, t, r) {
218
218
  t ? gr(a, t) : a.removeAttribute("data-theme"), r ? fr(a, r) : _r(a);
219
219
  }
220
- function Xe(a) {
220
+ function Ye(a) {
221
221
  return a.id || a["@id"] || (typeof a.getId == "function" ? a.getId() : "");
222
222
  }
223
- function he(a) {
223
+ function we(a) {
224
224
  if (!a) return null;
225
225
  const t = a.match(
226
226
  /xywh=(?:pixel:)?([\d.]+),([\d.]+),([\d.]+),([\d.]+)/
@@ -250,23 +250,23 @@ function hr(a) {
250
250
  if (typeof a.getTarget == "function") {
251
251
  const i = ((r = a.__jsonld) == null ? void 0 : r.on) || ((f = a.__jsonld) == null ? void 0 : f.target);
252
252
  if (i)
253
- return Te(i);
253
+ return Be(i);
254
254
  }
255
255
  const t = a.target || a.on;
256
- return t ? Te(t) : null;
256
+ return t ? Be(t) : null;
257
257
  }
258
- function Te(a) {
258
+ function Be(a) {
259
259
  if (!a) return null;
260
260
  if (Array.isArray(a))
261
261
  for (const t of a) {
262
- const r = Be(t);
262
+ const r = Ee(t);
263
263
  if (r) return r;
264
264
  }
265
265
  else
266
- return Be(a);
266
+ return Ee(a);
267
267
  return null;
268
268
  }
269
- function Be(a) {
269
+ function Ee(a) {
270
270
  var r;
271
271
  if (!a) return null;
272
272
  let t = a.selector || a;
@@ -345,44 +345,44 @@ function Ar(a) {
345
345
  if (typeof a.getTarget == "function") {
346
346
  const f = a.getTarget();
347
347
  if (typeof f == "string" && f.includes("xywh="))
348
- return he(f);
348
+ return we(f);
349
349
  const i = (r = a.__jsonld) == null ? void 0 : r.on;
350
350
  if (i) {
351
- const x = He(i);
351
+ const x = Ve(i);
352
352
  if (x) return x;
353
353
  }
354
354
  }
355
355
  const t = a.target || a.on;
356
- return t ? He(t) : null;
356
+ return t ? Ve(t) : null;
357
357
  }
358
- function He(a) {
358
+ function Ve(a) {
359
359
  if (!a) return null;
360
360
  if (Array.isArray(a))
361
361
  for (const t of a) {
362
- const r = He(t);
362
+ const r = Ve(t);
363
363
  if (r) return r;
364
364
  }
365
365
  if (typeof a == "string" && a.includes("xywh="))
366
- return he(a);
366
+ return we(a);
367
367
  if (a.selector) {
368
368
  let t = a.selector;
369
369
  if (Array.isArray(t)) {
370
370
  const f = t.find(
371
371
  (x) => x.type === "FragmentSelector" && x.value && x.value.includes("xywh=")
372
372
  );
373
- if (f) return he(f.value);
373
+ if (f) return we(f.value);
374
374
  const i = t.find(
375
375
  (x) => x.value && x.value.includes("xywh=")
376
376
  );
377
- return i ? he(i.value) : null;
377
+ return i ? we(i.value) : null;
378
378
  }
379
379
  const r = t.item || t;
380
380
  if (r.value && typeof r.value == "string" && r.value.includes("xywh="))
381
- return he(r.value);
381
+ return we(r.value);
382
382
  }
383
383
  return null;
384
384
  }
385
- function Ye(a) {
385
+ function Ue(a) {
386
386
  const t = [];
387
387
  if (typeof a.getBody == "function") {
388
388
  const r = a.getBody();
@@ -427,10 +427,10 @@ function Ye(a) {
427
427
  }), t;
428
428
  }
429
429
  function xr(a, t, r = !1) {
430
- const f = Xe(a) || `anno-${t}`, i = pr(a);
430
+ const f = Ye(a) || `anno-${t}`, i = pr(a);
431
431
  if (!i)
432
432
  return null;
433
- const x = Ye(a);
433
+ const x = Ue(a);
434
434
  return {
435
435
  id: f,
436
436
  geometry: i,
@@ -440,7 +440,7 @@ function xr(a, t, r = !1) {
440
440
  }
441
441
  function Zr(a, t = /* @__PURE__ */ new Set()) {
442
442
  return a.map((r, f) => {
443
- const i = t.has(Xe(r));
443
+ const i = t.has(Ye(r));
444
444
  return xr(r, f, i);
445
445
  }).filter((r) => r !== null);
446
446
  }
@@ -450,7 +450,7 @@ function Sr(a, t) {
450
450
  let r = e.prop(t, "viewerState", 7), f = e.state(void 0), i = e.state(void 0), x = e.state(void 0), M = e.state(0), _ = e.derived(() => {
451
451
  if (!r().manifestId || !r().canvasId)
452
452
  return [];
453
- const Z = Oe.getAnnotations(r().manifestId, r().canvasId), n = r().currentCanvasSearchAnnotations;
453
+ const Z = je.getAnnotations(r().manifestId, r().canvasId), n = r().currentCanvasSearchAnnotations;
454
454
  return [...Z, ...n];
455
455
  }), C = e.derived(() => {
456
456
  const Z = /* @__PURE__ */ new Set();
@@ -599,10 +599,10 @@ function Sr(a, t) {
599
599
  e.append(Z, s);
600
600
  }), e.reset(j), e.template_effect(() => e.set_class(B, 1, `w-full h-full osd-background ${r().config.transparentBackground ? "" : "bg-base-100"}`)), e.append(a, j), e.pop();
601
601
  }
602
- var Cr = 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>'), zr = 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), kr = 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>'), Lr = 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>'), Ir = 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>'), Pr = 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>'), Tr = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
602
+ var Cr = 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>'), zr = 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), kr = 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>'), Ir = 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>'), Lr = 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>'), Pr = 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>'), Tr = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
603
603
  function Br(a, t) {
604
604
  e.push(t, !0);
605
- const r = le();
605
+ const r = ce();
606
606
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
607
607
  function C(n) {
608
608
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -655,15 +655,15 @@ function Br(a, t) {
655
655
  var u = e.comment(), T = e.first_child(u);
656
656
  {
657
657
  var R = (c) => {
658
- var d = Lr();
658
+ var d = Ir();
659
659
  e.append(c, d);
660
660
  }, G = (c) => {
661
661
  var d = e.comment(), w = e.first_child(d);
662
662
  {
663
663
  var E = (g) => {
664
- var m = Ir();
664
+ var m = Lr();
665
665
  e.append(g, m);
666
- }, L = (g) => {
666
+ }, I = (g) => {
667
667
  var m = e.comment(), N = e.first_child(m);
668
668
  {
669
669
  var Y = (p) => {
@@ -686,7 +686,7 @@ function Br(a, t) {
686
686
  e.if(
687
687
  w,
688
688
  (g) => {
689
- e.get(i) === "regular" ? g(E) : g(L, !1);
689
+ e.get(i) === "regular" ? g(E) : g(I, !1);
690
690
  },
691
691
  !0
692
692
  );
@@ -732,7 +732,7 @@ function Br(a, t) {
732
732
  var Er = 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>'), Fr = 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), Rr = 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>'), Gr = 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>'), Or = 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>'), jr = 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>'), Nr = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
733
733
  function Dr(a, t) {
734
734
  e.push(t, !0);
735
- const r = le();
735
+ const r = ce();
736
736
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
737
737
  function C(n) {
738
738
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -793,7 +793,7 @@ function Dr(a, t) {
793
793
  var E = (g) => {
794
794
  var m = Or();
795
795
  e.append(g, m);
796
- }, L = (g) => {
796
+ }, I = (g) => {
797
797
  var m = e.comment(), N = e.first_child(m);
798
798
  {
799
799
  var Y = (p) => {
@@ -816,7 +816,7 @@ function Dr(a, t) {
816
816
  e.if(
817
817
  w,
818
818
  (g) => {
819
- e.get(i) === "regular" ? g(E) : g(L, !1);
819
+ e.get(i) === "regular" ? g(E) : g(I, !1);
820
820
  },
821
821
  !0
822
822
  );
@@ -883,7 +883,7 @@ const Xr = (
883
883
  /** @type {LocalizedString} */
884
884
  "Suche"
885
885
  )
886
- ), Ve = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? qr() : Kr(), Wr = (
886
+ ), Se = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? qr() : Kr(), Wr = (
887
887
  /** @type {(inputs: {}) => LocalizedString} */
888
888
  () => (
889
889
  /** @type {LocalizedString} */
@@ -907,7 +907,7 @@ const Xr = (
907
907
  /** @type {LocalizedString} */
908
908
  "Inhalt durchsuchen..."
909
909
  )
910
- ), Ue = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? $r() : ea(), ta = (
910
+ ), qe = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? $r() : ea(), ta = (
911
911
  /** @type {(inputs: { query: NonNullable<unknown> }) => LocalizedString} */
912
912
  (a) => (
913
913
  /** @type {LocalizedString} */
@@ -919,7 +919,7 @@ const Xr = (
919
919
  /** @type {LocalizedString} */
920
920
  `Keine Ergebnisse für "${a == null ? void 0 : a.query}" gefunden`
921
921
  )
922
- ), qe = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? ta(a) : ra(a), aa = (
922
+ ), Ke = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? ta(a) : ra(a), aa = (
923
923
  /** @type {(inputs: {}) => LocalizedString} */
924
924
  () => (
925
925
  /** @type {LocalizedString} */
@@ -931,7 +931,7 @@ const Xr = (
931
931
  /** @type {LocalizedString} */
932
932
  "Geben Sie einen Suchbegriff ein, um Vorkommen in diesem Manifest zu finden."
933
933
  )
934
- ), Ke = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? aa() : na(), oa = (
934
+ ), We = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? aa() : na(), oa = (
935
935
  /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */
936
936
  (a) => (
937
937
  /** @type {LocalizedString} */
@@ -943,7 +943,7 @@ const Xr = (
943
943
  /** @type {LocalizedString} */
944
944
  `${a == null ? void 0 : a.count} Ergebnisse`
945
945
  )
946
- ), We = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? oa(a) : ia(a), la = (
946
+ ), Qe = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? oa(a) : ia(a), la = (
947
947
  /** @type {(inputs: {}) => LocalizedString} */
948
948
  () => (
949
949
  /** @type {LocalizedString} */
@@ -955,7 +955,7 @@ const Xr = (
955
955
  /** @type {LocalizedString} */
956
956
  "Manifest-Metadaten"
957
957
  )
958
- ), Qe = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? la() : sa(), ca = (
958
+ ), Je = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? la() : sa(), ca = (
959
959
  /** @type {(inputs: {}) => LocalizedString} */
960
960
  () => (
961
961
  /** @type {LocalizedString} */
@@ -967,7 +967,7 @@ const Xr = (
967
967
  /** @type {LocalizedString} */
968
968
  "Lädt..."
969
969
  )
970
- ), Je = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ca() : da(), va = (
970
+ ), $e = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ca() : da(), va = (
971
971
  /** @type {(inputs: {}) => LocalizedString} */
972
972
  () => (
973
973
  /** @type {LocalizedString} */
@@ -979,7 +979,7 @@ const Xr = (
979
979
  /** @type {LocalizedString} */
980
980
  "Quellenangabe"
981
981
  )
982
- ), $e = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? va() : ga(), fa = (
982
+ ), et = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? va() : ga(), fa = (
983
983
  /** @type {(inputs: {}) => LocalizedString} */
984
984
  () => (
985
985
  /** @type {LocalizedString} */
@@ -991,7 +991,7 @@ const Xr = (
991
991
  /** @type {LocalizedString} */
992
992
  "Lizenz"
993
993
  )
994
- ), et = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? fa() : _a(), ua = (
994
+ ), tt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? fa() : _a(), ua = (
995
995
  /** @type {(inputs: {}) => LocalizedString} */
996
996
  () => (
997
997
  /** @type {LocalizedString} */
@@ -1003,7 +1003,7 @@ const Xr = (
1003
1003
  /** @type {LocalizedString} */
1004
1004
  "Menü"
1005
1005
  )
1006
- ), tt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ua() : pa(), ha = (
1006
+ ), rt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ua() : pa(), ha = (
1007
1007
  /** @type {(inputs: {}) => LocalizedString} */
1008
1008
  () => (
1009
1009
  /** @type {LocalizedString} */
@@ -1015,7 +1015,7 @@ const Xr = (
1015
1015
  /** @type {LocalizedString} */
1016
1016
  "Suche"
1017
1017
  )
1018
- ), ye = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ha() : ma(), ba = (
1018
+ ), xe = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ha() : ma(), ba = (
1019
1019
  /** @type {(inputs: {}) => LocalizedString} */
1020
1020
  () => (
1021
1021
  /** @type {LocalizedString} */
@@ -1027,7 +1027,7 @@ const Xr = (
1027
1027
  /** @type {LocalizedString} */
1028
1028
  "Suche umschalten"
1029
1029
  )
1030
- ), rt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ba() : wa(), ya = (
1030
+ ), at = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ba() : wa(), ya = (
1031
1031
  /** @type {(inputs: {}) => LocalizedString} */
1032
1032
  () => (
1033
1033
  /** @type {LocalizedString} */
@@ -1039,7 +1039,7 @@ const Xr = (
1039
1039
  /** @type {LocalizedString} */
1040
1040
  "Galerie ausblenden"
1041
1041
  )
1042
- ), be = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ya() : Aa(), xa = (
1042
+ ), ye = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ya() : Aa(), xa = (
1043
1043
  /** @type {(inputs: {}) => LocalizedString} */
1044
1044
  () => (
1045
1045
  /** @type {LocalizedString} */
@@ -1051,7 +1051,7 @@ const Xr = (
1051
1051
  /** @type {LocalizedString} */
1052
1052
  "Galerie einblenden"
1053
1053
  )
1054
- ), we = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? xa() : Za(), Ma = (
1054
+ ), Ae = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? xa() : Za(), Ma = (
1055
1055
  /** @type {(inputs: {}) => LocalizedString} */
1056
1056
  () => (
1057
1057
  /** @type {LocalizedString} */
@@ -1063,7 +1063,7 @@ const Xr = (
1063
1063
  /** @type {LocalizedString} */
1064
1064
  "Vollbildmodus beenden"
1065
1065
  )
1066
- ), Se = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ma() : Ha(), Va = (
1066
+ ), Ce = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ma() : Ha(), Va = (
1067
1067
  /** @type {(inputs: {}) => LocalizedString} */
1068
1068
  () => (
1069
1069
  /** @type {LocalizedString} */
@@ -1075,7 +1075,7 @@ const Xr = (
1075
1075
  /** @type {LocalizedString} */
1076
1076
  "Vollbildmodus"
1077
1077
  )
1078
- ), Ce = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Va() : Sa(), Ca = (
1078
+ ), ze = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Va() : Sa(), Ca = (
1079
1079
  /** @type {(inputs: {}) => LocalizedString} */
1080
1080
  () => (
1081
1081
  /** @type {LocalizedString} */
@@ -1087,19 +1087,19 @@ const Xr = (
1087
1087
  /** @type {LocalizedString} */
1088
1088
  "Annotationen ausblenden"
1089
1089
  )
1090
- ), ze = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ca() : za(), ka = (
1090
+ ), ke = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ca() : za(), ka = (
1091
1091
  /** @type {(inputs: {}) => LocalizedString} */
1092
1092
  () => (
1093
1093
  /** @type {LocalizedString} */
1094
1094
  "Show Annotations"
1095
1095
  )
1096
- ), La = (
1096
+ ), Ia = (
1097
1097
  /** @type {(inputs: {}) => LocalizedString} */
1098
1098
  () => (
1099
1099
  /** @type {LocalizedString} */
1100
1100
  "Annotationen einblenden"
1101
1101
  )
1102
- ), ke = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ka() : La(), Ia = (
1102
+ ), Ie = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ka() : Ia(), La = (
1103
1103
  /** @type {(inputs: {}) => LocalizedString} */
1104
1104
  () => (
1105
1105
  /** @type {LocalizedString} */
@@ -1111,7 +1111,7 @@ const Xr = (
1111
1111
  /** @type {LocalizedString} */
1112
1112
  "Annotationen umschalten"
1113
1113
  )
1114
- ), at = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ia() : Pa(), Ta = (
1114
+ ), nt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? La() : Pa(), Ta = (
1115
1115
  /** @type {(inputs: {}) => LocalizedString} */
1116
1116
  () => (
1117
1117
  /** @type {LocalizedString} */
@@ -1135,7 +1135,7 @@ const Xr = (
1135
1135
  /** @type {LocalizedString} */
1136
1136
  "Metadaten umschalten"
1137
1137
  )
1138
- ), nt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ea() : Fa(), Ra = (
1138
+ ), ot = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ea() : Fa(), Ra = (
1139
1139
  /** @type {(inputs: {}) => LocalizedString} */
1140
1140
  () => (
1141
1141
  /** @type {LocalizedString} */
@@ -1147,7 +1147,7 @@ const Xr = (
1147
1147
  /** @type {LocalizedString} */
1148
1148
  "Alle Annotationen ausblenden"
1149
1149
  )
1150
- ), ot = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ra() : Ga(), Oa = (
1150
+ ), it = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ra() : Ga(), Oa = (
1151
1151
  /** @type {(inputs: {}) => LocalizedString} */
1152
1152
  () => (
1153
1153
  /** @type {LocalizedString} */
@@ -1159,7 +1159,7 @@ const Xr = (
1159
1159
  /** @type {LocalizedString} */
1160
1160
  "Alle Annotationen einblenden"
1161
1161
  )
1162
- ), it = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Oa() : ja(), Na = (
1162
+ ), lt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Oa() : ja(), Na = (
1163
1163
  /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */
1164
1164
  (a) => (
1165
1165
  /** @type {LocalizedString} */
@@ -1171,7 +1171,7 @@ const Xr = (
1171
1171
  /** @type {LocalizedString} */
1172
1172
  `${a == null ? void 0 : a.count} Annotationen`
1173
1173
  )
1174
- ), lt = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? Na(a) : Da(a), Xa = (
1174
+ ), st = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? Na(a) : Da(a), Xa = (
1175
1175
  /** @type {(inputs: { count: NonNullable<unknown> }) => LocalizedString} */
1176
1176
  (a) => (
1177
1177
  /** @type {LocalizedString} */
@@ -1183,7 +1183,7 @@ const Xr = (
1183
1183
  /** @type {LocalizedString} */
1184
1184
  `(${a == null ? void 0 : a.count} sichtbar)`
1185
1185
  )
1186
- ), st = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? Xa(a) : Ya(a), Ua = (
1186
+ ), ct = /* @__NO_SIDE_EFFECTS__ */ (a, t = {}) => (t.locale ?? S()) === "en" ? Xa(a) : Ya(a), Ua = (
1187
1187
  /** @type {(inputs: {}) => LocalizedString} */
1188
1188
  () => (
1189
1189
  /** @type {LocalizedString} */
@@ -1219,7 +1219,7 @@ const Xr = (
1219
1219
  /** @type {LocalizedString} */
1220
1220
  "Vorheriges Canvas"
1221
1221
  )
1222
- ), ct = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? $a() : en(), tn = (
1222
+ ), dt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? $a() : en(), tn = (
1223
1223
  /** @type {(inputs: {}) => LocalizedString} */
1224
1224
  () => (
1225
1225
  /** @type {LocalizedString} */
@@ -1231,7 +1231,7 @@ const Xr = (
1231
1231
  /** @type {LocalizedString} */
1232
1232
  "Nächstes Canvas"
1233
1233
  )
1234
- ), dt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? tn() : rn(), an = (
1234
+ ), vt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? tn() : rn(), an = (
1235
1235
  /** @type {(inputs: {}) => LocalizedString} */
1236
1236
  () => (
1237
1237
  /** @type {LocalizedString} */
@@ -1345,13 +1345,13 @@ const Xr = (
1345
1345
  /** @type {LocalizedString} */
1346
1346
  "Example with plugins"
1347
1347
  )
1348
- ), Ln = (
1348
+ ), In = (
1349
1349
  /** @type {(inputs: {}) => LocalizedString} */
1350
1350
  () => (
1351
1351
  /** @type {LocalizedString} */
1352
1352
  "Beispiel mit Plugins"
1353
1353
  )
1354
- ), In = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? kn() : Ln(), Pn = (
1354
+ ), Ln = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? kn() : In(), Pn = (
1355
1355
  /** @type {(inputs: {}) => LocalizedString} */
1356
1356
  () => (
1357
1357
  /** @type {LocalizedString} */
@@ -1375,7 +1375,7 @@ const Xr = (
1375
1375
  /** @type {LocalizedString} */
1376
1376
  "Erweiterungen"
1377
1377
  )
1378
- ), vt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? En() : Fn(), Rn = (
1378
+ ), gt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? En() : Fn(), Rn = (
1379
1379
  /** @type {(inputs: {}) => LocalizedString} */
1380
1380
  () => (
1381
1381
  /** @type {LocalizedString} */
@@ -1459,7 +1459,7 @@ const Xr = (
1459
1459
  /** @type {LocalizedString} */
1460
1460
  "Suche schließen"
1461
1461
  )
1462
- ), gt = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ao() : no(), oo = (
1462
+ ), ft = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ao() : no(), oo = (
1463
1463
  /** @type {(inputs: {}) => LocalizedString} */
1464
1464
  () => (
1465
1465
  /** @type {LocalizedString} */
@@ -1567,7 +1567,7 @@ const Xr = (
1567
1567
  /** @type {LocalizedString} */
1568
1568
  "Galerie anzeigen"
1569
1569
  )
1570
- ), Lo = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? zo() : ko(), Io = (
1570
+ ), Io = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? zo() : ko(), Lo = (
1571
1571
  /** @type {(inputs: {}) => LocalizedString} */
1572
1572
  () => (
1573
1573
  /** @type {LocalizedString} */
@@ -1579,7 +1579,7 @@ const Xr = (
1579
1579
  /** @type {LocalizedString} */
1580
1580
  "Annotationen anzeigen"
1581
1581
  )
1582
- ), To = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Io() : Po(), Bo = (
1582
+ ), To = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Lo() : Po(), Bo = (
1583
1583
  /** @type {(inputs: {}) => LocalizedString} */
1584
1584
  () => (
1585
1585
  /** @type {LocalizedString} */
@@ -1651,283 +1651,283 @@ const Xr = (
1651
1651
  /** @type {LocalizedString} */
1652
1652
  "Schließen-Button"
1653
1653
  )
1654
- ), $o = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Qo() : Jo(), e0 = (
1654
+ ), $o = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Qo() : Jo(), ei = (
1655
1655
  /** @type {(inputs: {}) => LocalizedString} */
1656
1656
  () => (
1657
1657
  /** @type {LocalizedString} */
1658
1658
  "Dock Position"
1659
1659
  )
1660
- ), t0 = (
1660
+ ), ti = (
1661
1661
  /** @type {(inputs: {}) => LocalizedString} */
1662
1662
  () => (
1663
1663
  /** @type {LocalizedString} */
1664
1664
  "Andockposition"
1665
1665
  )
1666
- ), r0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? e0() : t0(), a0 = (
1666
+ ), ri = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ei() : ti(), ai = (
1667
1667
  /** @type {(inputs: {}) => LocalizedString} */
1668
1668
  () => (
1669
1669
  /** @type {LocalizedString} */
1670
1670
  "Bottom"
1671
1671
  )
1672
- ), n0 = (
1672
+ ), ni = (
1673
1673
  /** @type {(inputs: {}) => LocalizedString} */
1674
1674
  () => (
1675
1675
  /** @type {LocalizedString} */
1676
1676
  "Unten"
1677
1677
  )
1678
- ), o0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? a0() : n0(), i0 = (
1678
+ ), oi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ai() : ni(), ii = (
1679
1679
  /** @type {(inputs: {}) => LocalizedString} */
1680
1680
  () => (
1681
1681
  /** @type {LocalizedString} */
1682
1682
  "Top"
1683
1683
  )
1684
- ), l0 = (
1684
+ ), li = (
1685
1685
  /** @type {(inputs: {}) => LocalizedString} */
1686
1686
  () => (
1687
1687
  /** @type {LocalizedString} */
1688
1688
  "Oben"
1689
1689
  )
1690
- ), s0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? i0() : l0(), c0 = (
1690
+ ), si = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ii() : li(), ci = (
1691
1691
  /** @type {(inputs: {}) => LocalizedString} */
1692
1692
  () => (
1693
1693
  /** @type {LocalizedString} */
1694
1694
  "Left"
1695
1695
  )
1696
- ), d0 = (
1696
+ ), di = (
1697
1697
  /** @type {(inputs: {}) => LocalizedString} */
1698
1698
  () => (
1699
1699
  /** @type {LocalizedString} */
1700
1700
  "Links"
1701
1701
  )
1702
- ), v0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? c0() : d0(), g0 = (
1702
+ ), vi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ci() : di(), gi = (
1703
1703
  /** @type {(inputs: {}) => LocalizedString} */
1704
1704
  () => (
1705
1705
  /** @type {LocalizedString} */
1706
1706
  "Right"
1707
1707
  )
1708
- ), f0 = (
1708
+ ), fi = (
1709
1709
  /** @type {(inputs: {}) => LocalizedString} */
1710
1710
  () => (
1711
1711
  /** @type {LocalizedString} */
1712
1712
  "Rechts"
1713
1713
  )
1714
- ), _0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? g0() : f0(), u0 = (
1714
+ ), _i = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? gi() : fi(), ui = (
1715
1715
  /** @type {(inputs: {}) => LocalizedString} */
1716
1716
  () => (
1717
1717
  /** @type {LocalizedString} */
1718
1718
  "Floating"
1719
1719
  )
1720
- ), p0 = (
1720
+ ), pi = (
1721
1721
  /** @type {(inputs: {}) => LocalizedString} */
1722
1722
  () => (
1723
1723
  /** @type {LocalizedString} */
1724
1724
  "Schwebend"
1725
1725
  )
1726
- ), h0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? u0() : p0(), m0 = (
1726
+ ), hi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ui() : pi(), mi = (
1727
1727
  /** @type {(inputs: {}) => LocalizedString} */
1728
1728
  () => (
1729
1729
  /** @type {LocalizedString} */
1730
1730
  "Search"
1731
1731
  )
1732
- ), b0 = (
1732
+ ), bi = (
1733
1733
  /** @type {(inputs: {}) => LocalizedString} */
1734
1734
  () => (
1735
1735
  /** @type {LocalizedString} */
1736
1736
  "Suche"
1737
1737
  )
1738
- ), w0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? m0() : b0(), y0 = (
1738
+ ), wi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? mi() : bi(), yi = (
1739
1739
  /** @type {(inputs: {}) => LocalizedString} */
1740
1740
  () => (
1741
1741
  /** @type {LocalizedString} */
1742
1742
  "Annotations"
1743
1743
  )
1744
- ), A0 = (
1744
+ ), Ai = (
1745
1745
  /** @type {(inputs: {}) => LocalizedString} */
1746
1746
  () => (
1747
1747
  /** @type {LocalizedString} */
1748
1748
  "Annotationen"
1749
1749
  )
1750
- ), x0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? y0() : A0(), Z0 = (
1750
+ ), xi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? yi() : Ai(), Zi = (
1751
1751
  /** @type {(inputs: {}) => LocalizedString} */
1752
1752
  () => (
1753
1753
  /** @type {LocalizedString} */
1754
1754
  "Panel Open"
1755
1755
  )
1756
- ), M0 = (
1756
+ ), Mi = (
1757
1757
  /** @type {(inputs: {}) => LocalizedString} */
1758
1758
  () => (
1759
1759
  /** @type {LocalizedString} */
1760
1760
  "Panel geöffnet"
1761
1761
  )
1762
- ), H0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Z0() : M0(), V0 = (
1762
+ ), Hi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Zi() : Mi(), Vi = (
1763
1763
  /** @type {(inputs: {}) => LocalizedString} */
1764
1764
  () => (
1765
1765
  /** @type {LocalizedString} */
1766
1766
  "Visible by Default"
1767
1767
  )
1768
- ), S0 = (
1768
+ ), Si = (
1769
1769
  /** @type {(inputs: {}) => LocalizedString} */
1770
1770
  () => (
1771
1771
  /** @type {LocalizedString} */
1772
1772
  "Standardmäßig sichtbar"
1773
1773
  )
1774
- ), C0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? V0() : S0(), z0 = (
1774
+ ), Ci = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Vi() : Si(), zi = (
1775
1775
  /** @type {(inputs: {}) => LocalizedString} */
1776
1776
  () => (
1777
1777
  /** @type {LocalizedString} */
1778
1778
  "Copy Config"
1779
1779
  )
1780
- ), k0 = (
1780
+ ), ki = (
1781
1781
  /** @type {(inputs: {}) => LocalizedString} */
1782
1782
  () => (
1783
1783
  /** @type {LocalizedString} */
1784
1784
  "Konfiguration kopieren"
1785
1785
  )
1786
- ), L0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? z0() : k0(), I0 = (
1786
+ ), Ii = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? zi() : ki(), Li = (
1787
1787
  /** @type {(inputs: {}) => LocalizedString} */
1788
1788
  () => (
1789
1789
  /** @type {LocalizedString} */
1790
1790
  "Copied!"
1791
1791
  )
1792
- ), P0 = (
1792
+ ), Pi = (
1793
1793
  /** @type {(inputs: {}) => LocalizedString} */
1794
1794
  () => (
1795
1795
  /** @type {LocalizedString} */
1796
1796
  "Kopiert!"
1797
1797
  )
1798
- ), T0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? I0() : P0(), B0 = (
1798
+ ), Ti = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Li() : Pi(), Bi = (
1799
1799
  /** @type {(inputs: {}) => LocalizedString} */
1800
1800
  () => (
1801
1801
  /** @type {LocalizedString} */
1802
1802
  "Svelte component (not web component)"
1803
1803
  )
1804
- ), E0 = (
1804
+ ), Ei = (
1805
1805
  /** @type {(inputs: {}) => LocalizedString} */
1806
1806
  () => (
1807
1807
  /** @type {LocalizedString} */
1808
1808
  "Svelte-Komponente (keine Web-Komponente)"
1809
1809
  )
1810
- ), F0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? B0() : E0(), R0 = (
1810
+ ), Fi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Bi() : Ei(), Ri = (
1811
1811
  /** @type {(inputs: {}) => LocalizedString} */
1812
1812
  () => (
1813
1813
  /** @type {LocalizedString} */
1814
1814
  "Svelte"
1815
1815
  )
1816
- ), G0 = (
1816
+ ), Gi = (
1817
1817
  /** @type {(inputs: {}) => LocalizedString} */
1818
1818
  () => (
1819
1819
  /** @type {LocalizedString} */
1820
1820
  "Svelte"
1821
1821
  )
1822
- ), O0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? R0() : G0(), j0 = (
1822
+ ), Oi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Ri() : Gi(), ji = (
1823
1823
  /** @type {(inputs: {}) => LocalizedString} */
1824
1824
  () => (
1825
1825
  /** @type {LocalizedString} */
1826
1826
  "Select language"
1827
1827
  )
1828
- ), N0 = (
1828
+ ), Ni = (
1829
1829
  /** @type {(inputs: {}) => LocalizedString} */
1830
1830
  () => (
1831
1831
  /** @type {LocalizedString} */
1832
1832
  "Sprache wählen"
1833
1833
  )
1834
- ), D0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? j0() : N0(), X0 = (
1834
+ ), Di = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ji() : Ni(), Xi = (
1835
1835
  /** @type {(inputs: {}) => LocalizedString} */
1836
1836
  () => (
1837
1837
  /** @type {LocalizedString} */
1838
1838
  "No canvases loaded"
1839
1839
  )
1840
- ), Y0 = (
1840
+ ), Yi = (
1841
1841
  /** @type {(inputs: {}) => LocalizedString} */
1842
1842
  () => (
1843
1843
  /** @type {LocalizedString} */
1844
1844
  "Keine Canvases geladen"
1845
1845
  )
1846
- ), U0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? X0() : Y0(), q0 = (
1846
+ ), Ui = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Xi() : Yi(), qi = (
1847
1847
  /** @type {(inputs: {}) => LocalizedString} */
1848
1848
  () => (
1849
1849
  /** @type {LocalizedString} */
1850
1850
  "Try your own..."
1851
1851
  )
1852
- ), K0 = (
1852
+ ), Ki = (
1853
1853
  /** @type {(inputs: {}) => LocalizedString} */
1854
1854
  () => (
1855
1855
  /** @type {LocalizedString} */
1856
1856
  "Eigenes ausprobieren..."
1857
1857
  )
1858
- ), W0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? q0() : K0(), Q0 = (
1858
+ ), Wi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? qi() : Ki(), Qi = (
1859
1859
  /** @type {(inputs: {}) => LocalizedString} */
1860
1860
  () => (
1861
1861
  /** @type {LocalizedString} */
1862
1862
  "Transparent Background"
1863
1863
  )
1864
- ), J0 = (
1864
+ ), Ji = (
1865
1865
  /** @type {(inputs: {}) => LocalizedString} */
1866
1866
  () => (
1867
1867
  /** @type {LocalizedString} */
1868
1868
  "Transparenter Hintergrund"
1869
1869
  )
1870
- ), $0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Q0() : J0(), ei = (
1870
+ ), $i = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? Qi() : Ji(), e0 = (
1871
1871
  /** @type {(inputs: {}) => LocalizedString} */
1872
1872
  () => (
1873
1873
  /** @type {LocalizedString} */
1874
1874
  "Change Theme"
1875
1875
  )
1876
- ), ti = (
1876
+ ), t0 = (
1877
1877
  /** @type {(inputs: {}) => LocalizedString} */
1878
1878
  () => (
1879
1879
  /** @type {LocalizedString} */
1880
1880
  "Design ändern"
1881
1881
  )
1882
- ), ri = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ei() : ti(), ai = (
1882
+ ), r0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? e0() : t0(), a0 = (
1883
1883
  /** @type {(inputs: {}) => LocalizedString} */
1884
1884
  () => (
1885
1885
  /** @type {LocalizedString} */
1886
1886
  "Theme"
1887
1887
  )
1888
- ), ni = (
1888
+ ), n0 = (
1889
1889
  /** @type {(inputs: {}) => LocalizedString} */
1890
1890
  () => (
1891
1891
  /** @type {LocalizedString} */
1892
1892
  "Design"
1893
1893
  )
1894
- ), oi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ai() : ni(), ii = (
1894
+ ), o0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? a0() : n0(), i0 = (
1895
1895
  /** @type {(inputs: {}) => LocalizedString} */
1896
1896
  () => (
1897
1897
  /** @type {LocalizedString} */
1898
1898
  "Error: "
1899
1899
  )
1900
- ), li = (
1900
+ ), l0 = (
1901
1901
  /** @type {(inputs: {}) => LocalizedString} */
1902
1902
  () => (
1903
1903
  /** @type {LocalizedString} */
1904
1904
  "Fehler: "
1905
1905
  )
1906
- ), ft = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? ii() : li(), si = (
1906
+ ), _t = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? i0() : l0(), s0 = (
1907
1907
  /** @type {(inputs: {}) => LocalizedString} */
1908
1908
  () => (
1909
1909
  /** @type {LocalizedString} */
1910
1910
  "No image found"
1911
1911
  )
1912
- ), ci = (
1912
+ ), c0 = (
1913
1913
  /** @type {(inputs: {}) => LocalizedString} */
1914
1914
  () => (
1915
1915
  /** @type {LocalizedString} */
1916
1916
  "Kein Bild gefunden"
1917
1917
  )
1918
- ), _t = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? si() : ci(), di = (
1918
+ ), ut = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? s0() : c0(), d0 = (
1919
1919
  /** @type {(inputs: {}) => LocalizedString} */
1920
1920
  () => (
1921
1921
  /** @type {LocalizedString} */
1922
1922
  "Panel Width"
1923
1923
  )
1924
- ), vi = (
1924
+ ), v0 = (
1925
1925
  /** @type {(inputs: {}) => LocalizedString} */
1926
1926
  () => (
1927
1927
  /** @type {LocalizedString} */
1928
1928
  "Panelbreite"
1929
1929
  )
1930
- ), gi = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? di() : vi(), Ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1930
+ ), g0 = /* @__NO_SIDE_EFFECTS__ */ (a = {}, t = {}) => (t.locale ?? S()) === "en" ? d0() : v0(), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1931
1931
  __proto__: null,
1932
1932
  annotation_editor_add_content: xt,
1933
1933
  annotation_editor_cancel: Zt,
@@ -1938,8 +1938,8 @@ const Xr = (
1938
1938
  annotation_editor_delete_tooltip: Ct,
1939
1939
  annotation_editor_edit_mode: zt,
1940
1940
  annotation_editor_edit_section: kt,
1941
- annotation_editor_instruction_create: Lt,
1942
- annotation_editor_instruction_edit: It,
1941
+ annotation_editor_instruction_create: It,
1942
+ annotation_editor_instruction_edit: Lt,
1943
1943
  annotation_editor_link_placeholder: Pt,
1944
1944
  annotation_editor_redo: Tt,
1945
1945
  annotation_editor_save: Bt,
@@ -1951,27 +1951,27 @@ const Xr = (
1951
1951
  annotation_tool_point: jt,
1952
1952
  annotation_tool_polygon: Nt,
1953
1953
  annotation_tool_rectangle: Dt,
1954
- annotations_count: lt,
1955
- attribution: $e,
1956
- change_theme_label: ri,
1957
- close: Me,
1954
+ annotations_count: st,
1955
+ attribution: et,
1956
+ change_theme_label: r0,
1957
+ close: He,
1958
1958
  close_gallery: ro,
1959
1959
  close_menu: Wn,
1960
- close_search: gt,
1961
- copied: T0,
1962
- copy_config: L0,
1960
+ close_search: ft,
1961
+ copied: Ti,
1962
+ copy_config: Ii,
1963
1963
  demo_header_active_canvas: Dn,
1964
1964
  demo_header_external_controls: On,
1965
1965
  docs: on,
1966
- enter_full_screen: Ce,
1967
- error_prefix: ft,
1968
- exit_full_screen: Se,
1966
+ enter_full_screen: ze,
1967
+ error_prefix: _t,
1968
+ exit_full_screen: Ce,
1969
1969
  gallery: $n,
1970
1970
  github: mn,
1971
1971
  hello_world: Ur,
1972
- hide_all_annotations: ot,
1973
- hide_annotations: ze,
1974
- hide_gallery: be,
1972
+ hide_all_annotations: it,
1973
+ hide_annotations: ke,
1974
+ hide_gallery: ye,
1975
1975
  iiif_manifest_label: cn,
1976
1976
  image_adjustments: Un,
1977
1977
  image_adjustments_title: Xt,
@@ -1982,88 +1982,88 @@ const Xr = (
1982
1982
  image_filters_invert: Wt,
1983
1983
  image_filters_reset: Qt,
1984
1984
  image_filters_saturation: Jt,
1985
- language_select_label: D0,
1986
- license: et,
1985
+ language_select_label: Di,
1986
+ license: tt,
1987
1987
  load: un,
1988
- loading: Je,
1988
+ loading: $e,
1989
1989
  manifest_placeholder: gn,
1990
- menu: tt,
1990
+ menu: rt,
1991
1991
  metadata: Le,
1992
- metadata_label_fallback: Qe,
1993
- next_canvas: dt,
1992
+ metadata_label_fallback: Je,
1993
+ next_canvas: vt,
1994
1994
  no_annotations_available: Ja,
1995
- no_canvases_loaded: U0,
1995
+ no_canvases_loaded: Ui,
1996
1996
  no_content: Ka,
1997
- no_image_found: _t,
1998
- plugins_tooltip: vt,
1999
- previous_canvas: ct,
2000
- search: ye,
1997
+ no_image_found: ut,
1998
+ plugins_tooltip: gt,
1999
+ previous_canvas: dt,
2000
+ search: xe,
2001
2001
  search_panel_close: Jr,
2002
- search_panel_instruction: Ke,
2003
- search_panel_no_results: qe,
2004
- search_panel_placeholder: Ue,
2005
- search_panel_results_count: We,
2006
- search_panel_title: Ve,
2002
+ search_panel_instruction: We,
2003
+ search_panel_no_results: Ke,
2004
+ search_panel_placeholder: qe,
2005
+ search_panel_results_count: Qe,
2006
+ search_panel_title: Se,
2007
2007
  settings_category_configuration: xo,
2008
2008
  settings_category_general: vo,
2009
2009
  settings_label: lo,
2010
- settings_panel_width: gi,
2011
- settings_position_bottom: o0,
2012
- settings_position_floating: h0,
2013
- settings_position_left: v0,
2014
- settings_position_right: _0,
2015
- settings_position_top: s0,
2016
- settings_select_dock_position: r0,
2017
- settings_submenu_annotations: x0,
2010
+ settings_panel_width: g0,
2011
+ settings_position_bottom: oi,
2012
+ settings_position_floating: hi,
2013
+ settings_position_left: vi,
2014
+ settings_position_right: _i,
2015
+ settings_position_top: si,
2016
+ settings_select_dock_position: ri,
2017
+ settings_submenu_annotations: xi,
2018
2018
  settings_submenu_gallery: Do,
2019
2019
  settings_submenu_right_menu_items: Ho,
2020
- settings_submenu_search: w0,
2020
+ settings_submenu_search: wi,
2021
2021
  settings_toggle_canvas_nav: wo,
2022
2022
  settings_toggle_close_button: $o,
2023
2023
  settings_toggle_draggable: Wo,
2024
2024
  settings_toggle_left_menu: _o,
2025
2025
  settings_toggle_open: Uo,
2026
- settings_toggle_panel_open: H0,
2026
+ settings_toggle_panel_open: Hi,
2027
2027
  settings_toggle_right_menu: ho,
2028
2028
  settings_toggle_show_annotations: To,
2029
2029
  settings_toggle_show_fullscreen: Fo,
2030
- settings_toggle_show_gallery: Lo,
2030
+ settings_toggle_show_gallery: Io,
2031
2031
  settings_toggle_show_info: Oo,
2032
2032
  settings_toggle_show_search: Co,
2033
- settings_toggle_visible_by_default: C0,
2034
- settings_transparent_background: $0,
2035
- show_all_annotations: it,
2036
- show_annotations: ke,
2037
- show_gallery: we,
2038
- theme_menu_title: oi,
2039
- toggle_annotations: at,
2040
- toggle_metadata: nt,
2041
- toggle_search: rt,
2042
- try_your_own: W0,
2033
+ settings_toggle_visible_by_default: Ci,
2034
+ settings_transparent_background: $i,
2035
+ show_all_annotations: lt,
2036
+ show_annotations: Ie,
2037
+ show_gallery: Ae,
2038
+ theme_menu_title: o0,
2039
+ toggle_annotations: nt,
2040
+ toggle_metadata: ot,
2041
+ toggle_search: at,
2042
+ try_your_own: Wi,
2043
2043
  viewer_variant_core: yn,
2044
2044
  viewer_variant_custom_theme: Vn,
2045
2045
  viewer_variant_full: Zn,
2046
- viewer_variant_svelte: O0,
2047
- viewer_variant_svelte_component_tooltip: F0,
2046
+ viewer_variant_svelte: Oi,
2047
+ viewer_variant_svelte_component_tooltip: Fi,
2048
2048
  viewer_variant_tooltip_core: zn,
2049
2049
  viewer_variant_tooltip_custom_theme: Bn,
2050
- viewer_variant_tooltip_full: In,
2051
- visible_count: st
2050
+ viewer_variant_tooltip_full: Ln,
2051
+ visible_count: ct
2052
2052
  }, Symbol.toStringTag, { value: "Module" }));
2053
- let ut = e.state(e.proxy(S()));
2054
- const fi = yt;
2053
+ let pt = e.state(e.proxy(S()));
2054
+ const f0 = yt;
2055
2055
  wt((a, t) => {
2056
- fi(a, t), e.set(ut, S(), !0);
2056
+ f0(a, t), e.set(pt, S(), !0);
2057
2057
  });
2058
- const ve = {
2058
+ const ue = {
2059
2059
  get current() {
2060
- return e.get(ut);
2060
+ return e.get(pt);
2061
2061
  }
2062
2062
  };
2063
- var _i = e.from_html('<div class="select-none absolute left-1/2 -translate-x-1/2 bg-base-200/90 backdrop-blur rounded-full shadow-lg flex items-center gap-4 z-10 border border-base-300 transition-all duration-200 bottom-4"><button class="btn btn-circle btn-sm btn-ghost"><!></button> <span class="text-sm font-mono tabular-nums text-nowrap"> </span> <button class="btn btn-circle btn-sm btn-ghost"><!></button></div>');
2064
- function ui(a, t) {
2063
+ var _0 = e.from_html('<div class="select-none absolute left-1/2 -translate-x-1/2 bg-base-200/90 backdrop-blur rounded-full shadow-lg flex items-center gap-4 z-10 border border-base-300 transition-all duration-200 bottom-4"><button class="btn btn-circle btn-sm btn-ghost"><!></button> <span class="text-sm font-mono tabular-nums text-nowrap"> </span> <button class="btn btn-circle btn-sm btn-ghost"><!></button></div>');
2064
+ function u0(a, t) {
2065
2065
  e.push(t, !0);
2066
- var r = _i(), f = e.child(r);
2066
+ var r = _0(), f = e.child(r);
2067
2067
  f.__click = () => t.viewerState.previousCanvas();
2068
2068
  var i = e.child(f);
2069
2069
  Br(i, { size: 20, weight: "bold" }), e.reset(f);
@@ -2076,20 +2076,20 @@ function ui(a, t) {
2076
2076
  (b, H) => {
2077
2077
  f.disabled = !t.viewerState.hasPrevious, e.set_attribute(f, "aria-label", b), e.set_text(M, `${t.viewerState.currentCanvasIndex + 1} / ${t.viewerState.canvases.length ?? ""}`), _.disabled = !t.viewerState.hasNext, e.set_attribute(_, "aria-label", H);
2078
2078
  },
2079
- [() => /* @__PURE__ */ ct(), () => /* @__PURE__ */ dt()]
2079
+ [() => /* @__PURE__ */ dt(), () => /* @__PURE__ */ vt()]
2080
2080
  ), e.append(a, r), e.pop();
2081
2081
  }
2082
2082
  e.delegate(["click"]);
2083
- var pi = e.from_svg('<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"></path>'), hi = e.from_svg('<path d="M208,96l-80,80L48,96Z" opacity="0.2"></path><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"></path>', 1), mi = e.from_svg('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"></path>'), bi = e.from_svg('<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"></path>'), wi = e.from_svg('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"></path>'), yi = e.from_svg('<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"></path>'), Ai = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2084
- function xi(a, t) {
2083
+ var p0 = e.from_svg('<path d="M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"></path>'), h0 = e.from_svg('<path d="M208,96l-80,80L48,96Z" opacity="0.2"></path><path d="M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"></path>', 1), m0 = e.from_svg('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"></path>'), b0 = e.from_svg('<path d="M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"></path>'), w0 = e.from_svg('<path d="M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"></path>'), y0 = e.from_svg('<path d="M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"></path>'), A0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2084
+ function x0(a, t) {
2085
2085
  e.push(t, !0);
2086
- const r = le();
2086
+ const r = ce();
2087
2087
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2088
2088
  function C(n) {
2089
2089
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
2090
2090
  return o;
2091
2091
  }
2092
- var b = Ai();
2092
+ var b = A0();
2093
2093
  e.attribute_effect(
2094
2094
  b,
2095
2095
  (n, s) => ({
@@ -2118,37 +2118,37 @@ function xi(a, t) {
2118
2118
  var B = e.sibling(H, 2);
2119
2119
  {
2120
2120
  var F = (n) => {
2121
- var s = pi();
2121
+ var s = p0();
2122
2122
  e.append(n, s);
2123
2123
  }, Z = (n) => {
2124
2124
  var s = e.comment(), h = e.first_child(s);
2125
2125
  {
2126
2126
  var y = (o) => {
2127
- var l = hi();
2127
+ var l = h0();
2128
2128
  e.next(), e.append(o, l);
2129
2129
  }, A = (o) => {
2130
2130
  var l = e.comment(), k = e.first_child(l);
2131
2131
  {
2132
2132
  var V = (v) => {
2133
- var u = mi();
2133
+ var u = m0();
2134
2134
  e.append(v, u);
2135
2135
  }, P = (v) => {
2136
2136
  var u = e.comment(), T = e.first_child(u);
2137
2137
  {
2138
2138
  var R = (c) => {
2139
- var d = bi();
2139
+ var d = b0();
2140
2140
  e.append(c, d);
2141
2141
  }, G = (c) => {
2142
2142
  var d = e.comment(), w = e.first_child(d);
2143
2143
  {
2144
2144
  var E = (g) => {
2145
- var m = wi();
2145
+ var m = w0();
2146
2146
  e.append(g, m);
2147
- }, L = (g) => {
2147
+ }, I = (g) => {
2148
2148
  var m = e.comment(), N = e.first_child(m);
2149
2149
  {
2150
2150
  var Y = (p) => {
2151
- var z = yi();
2151
+ var z = y0();
2152
2152
  e.append(p, z);
2153
2153
  }, X = (p) => {
2154
2154
  var z = e.text();
@@ -2167,7 +2167,7 @@ function xi(a, t) {
2167
2167
  e.if(
2168
2168
  w,
2169
2169
  (g) => {
2170
- e.get(i) === "regular" ? g(E) : g(L, !1);
2170
+ e.get(i) === "regular" ? g(E) : g(I, !1);
2171
2171
  },
2172
2172
  !0
2173
2173
  );
@@ -2210,16 +2210,16 @@ function xi(a, t) {
2210
2210
  }
2211
2211
  e.reset(b), e.append(a, b), e.pop();
2212
2212
  }
2213
- var Zi = 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>'), Mi = 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), Hi = 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>'), Vi = 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>'), Si = 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>'), Ci = 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>'), zi = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2214
- function Fe(a, t) {
2213
+ var Z0 = 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>'), M0 = 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), H0 = 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>'), V0 = 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>'), S0 = 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>'), C0 = 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>'), z0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2214
+ function Re(a, t) {
2215
2215
  e.push(t, !0);
2216
- const r = le();
2216
+ const r = ce();
2217
2217
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2218
2218
  function C(n) {
2219
2219
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
2220
2220
  return o;
2221
2221
  }
2222
- var b = zi();
2222
+ var b = z0();
2223
2223
  e.attribute_effect(
2224
2224
  b,
2225
2225
  (n, s) => ({
@@ -2248,37 +2248,37 @@ function Fe(a, t) {
2248
2248
  var B = e.sibling(H, 2);
2249
2249
  {
2250
2250
  var F = (n) => {
2251
- var s = Zi();
2251
+ var s = Z0();
2252
2252
  e.append(n, s);
2253
2253
  }, Z = (n) => {
2254
2254
  var s = e.comment(), h = e.first_child(s);
2255
2255
  {
2256
2256
  var y = (o) => {
2257
- var l = Mi();
2257
+ var l = M0();
2258
2258
  e.next(), e.append(o, l);
2259
2259
  }, A = (o) => {
2260
2260
  var l = e.comment(), k = e.first_child(l);
2261
2261
  {
2262
2262
  var V = (v) => {
2263
- var u = Hi();
2263
+ var u = H0();
2264
2264
  e.append(v, u);
2265
2265
  }, P = (v) => {
2266
2266
  var u = e.comment(), T = e.first_child(u);
2267
2267
  {
2268
2268
  var R = (c) => {
2269
- var d = Vi();
2269
+ var d = V0();
2270
2270
  e.append(c, d);
2271
2271
  }, G = (c) => {
2272
2272
  var d = e.comment(), w = e.first_child(d);
2273
2273
  {
2274
2274
  var E = (g) => {
2275
- var m = Si();
2275
+ var m = S0();
2276
2276
  e.append(g, m);
2277
- }, L = (g) => {
2277
+ }, I = (g) => {
2278
2278
  var m = e.comment(), N = e.first_child(m);
2279
2279
  {
2280
2280
  var Y = (p) => {
2281
- var z = Ci();
2281
+ var z = C0();
2282
2282
  e.append(p, z);
2283
2283
  }, X = (p) => {
2284
2284
  var z = e.text();
@@ -2297,7 +2297,7 @@ function Fe(a, t) {
2297
2297
  e.if(
2298
2298
  w,
2299
2299
  (g) => {
2300
- e.get(i) === "regular" ? g(E) : g(L, !1);
2300
+ e.get(i) === "regular" ? g(E) : g(I, !1);
2301
2301
  },
2302
2302
  !0
2303
2303
  );
@@ -2340,16 +2340,16 @@ function Fe(a, t) {
2340
2340
  }
2341
2341
  e.reset(b), e.append(a, b), e.pop();
2342
2342
  }
2343
- var ki = 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>'), Li = 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), Ii = 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>'), Pi = 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>'), Ti = 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>'), Bi = 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>'), Ei = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2344
- function Re(a, t) {
2343
+ var k0 = 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>'), I0 = 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), L0 = 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>'), P0 = 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>'), T0 = 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>'), B0 = 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>'), E0 = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2344
+ function Ge(a, t) {
2345
2345
  e.push(t, !0);
2346
- const r = le();
2346
+ const r = ce();
2347
2347
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2348
2348
  function C(n) {
2349
2349
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
2350
2350
  return o;
2351
2351
  }
2352
- var b = Ei();
2352
+ var b = E0();
2353
2353
  e.attribute_effect(
2354
2354
  b,
2355
2355
  (n, s) => ({
@@ -2378,37 +2378,37 @@ function Re(a, t) {
2378
2378
  var B = e.sibling(H, 2);
2379
2379
  {
2380
2380
  var F = (n) => {
2381
- var s = ki();
2381
+ var s = k0();
2382
2382
  e.append(n, s);
2383
2383
  }, Z = (n) => {
2384
2384
  var s = e.comment(), h = e.first_child(s);
2385
2385
  {
2386
2386
  var y = (o) => {
2387
- var l = Li();
2387
+ var l = I0();
2388
2388
  e.next(), e.append(o, l);
2389
2389
  }, A = (o) => {
2390
2390
  var l = e.comment(), k = e.first_child(l);
2391
2391
  {
2392
2392
  var V = (v) => {
2393
- var u = Ii();
2393
+ var u = L0();
2394
2394
  e.append(v, u);
2395
2395
  }, P = (v) => {
2396
2396
  var u = e.comment(), T = e.first_child(u);
2397
2397
  {
2398
2398
  var R = (c) => {
2399
- var d = Pi();
2399
+ var d = P0();
2400
2400
  e.append(c, d);
2401
2401
  }, G = (c) => {
2402
2402
  var d = e.comment(), w = e.first_child(d);
2403
2403
  {
2404
2404
  var E = (g) => {
2405
- var m = Ti();
2405
+ var m = T0();
2406
2406
  e.append(g, m);
2407
- }, L = (g) => {
2407
+ }, I = (g) => {
2408
2408
  var m = e.comment(), N = e.first_child(m);
2409
2409
  {
2410
2410
  var Y = (p) => {
2411
- var z = Bi();
2411
+ var z = B0();
2412
2412
  e.append(p, z);
2413
2413
  }, X = (p) => {
2414
2414
  var z = e.text();
@@ -2427,7 +2427,7 @@ function Re(a, t) {
2427
2427
  e.if(
2428
2428
  w,
2429
2429
  (g) => {
2430
- e.get(i) === "regular" ? g(E) : g(L, !1);
2430
+ e.get(i) === "regular" ? g(E) : g(I, !1);
2431
2431
  },
2432
2432
  !0
2433
2433
  );
@@ -2470,14 +2470,14 @@ function Re(a, t) {
2470
2470
  }
2471
2471
  e.reset(b), e.append(a, b), e.pop();
2472
2472
  }
2473
- var Fi = 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>'), Ri = e.from_html('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'), Gi = e.from_html('<span class="badge badge-primary badge-outline badge-sm"> </span>'), Oi = 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>'), ji = e.from_html('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'), Ni = e.from_html('<span class="opacity-50 italic text-xs">(No content)</span>'), Di = 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>'), Xi = e.from_html('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'), Yi = 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>'), Ui = e.from_html("<!> <!>", 1);
2474
- function qi(a, t) {
2473
+ var F0 = 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>'), R0 = e.from_html('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'), G0 = e.from_html('<span class="badge badge-primary badge-outline badge-sm"> </span>'), O0 = 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>'), j0 = e.from_html('<div class="flex flex-wrap gap-2 pointer-events-auto"><!></div>'), N0 = e.from_html('<span class="opacity-50 italic text-xs">(No content)</span>'), D0 = 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>'), X0 = e.from_html('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'), Y0 = 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>'), U0 = e.from_html("<!> <!>", 1);
2474
+ function q0(a, t) {
2475
2475
  e.push(t, !0);
2476
- const r = _e(ge);
2476
+ const r = he(pe);
2477
2477
  let f = e.derived(() => {
2478
2478
  if (!r.manifestId || !r.canvasId)
2479
2479
  return [];
2480
- const h = Oe.getAnnotations(r.manifestId, r.canvasId), y = r.currentCanvasSearchAnnotations;
2480
+ const h = je.getAnnotations(r.manifestId, r.canvasId), y = r.currentCanvasSearchAnnotations;
2481
2481
  return [...h, ...y];
2482
2482
  });
2483
2483
  function i(h) {
@@ -2541,17 +2541,17 @@ function qi(a, t) {
2541
2541
  return () => clearInterval(y);
2542
2542
  });
2543
2543
  let j = e.derived(() => e.get(f).length ? e.get(f).map((h) => {
2544
- const y = Ye(h);
2544
+ const y = Ue(h);
2545
2545
  return {
2546
2546
  id: i(h),
2547
2547
  bodies: y,
2548
2548
  label: (typeof h.getLabel == "function" ? h.getLabel() : h.label) || ""
2549
2549
  };
2550
2550
  }) : []);
2551
- var B = Ui(), F = e.first_child(B);
2551
+ var B = U0(), F = e.first_child(B);
2552
2552
  {
2553
2553
  var Z = (h) => {
2554
- var y = Fi(), A = e.child(y), o = e.sibling(A), l = e.sibling(o);
2554
+ var y = F0(), A = e.child(y), o = e.sibling(A), l = e.sibling(o);
2555
2555
  e.reset(y), e.template_effect(() => {
2556
2556
  e.set_attribute(A, "x1", e.get(H).x1), e.set_attribute(A, "y1", e.get(H).y1), e.set_attribute(A, "x2", e.get(H).x2), e.set_attribute(A, "y2", e.get(H).y2), e.set_attribute(o, "cx", e.get(H).x1), e.set_attribute(o, "cy", e.get(H).y1), e.set_attribute(l, "cx", e.get(H).x2), e.set_attribute(l, "cy", e.get(H).y2);
2557
2557
  }), e.append(h, y);
@@ -2563,16 +2563,16 @@ function qi(a, t) {
2563
2563
  var n = e.sibling(F, 2);
2564
2564
  {
2565
2565
  var s = (h) => {
2566
- var y = Yi(), A = e.child(y), o = e.child(A), l = e.child(o);
2566
+ var y = Y0(), A = e.child(y), o = e.child(A), l = e.child(o);
2567
2567
  l.__click = (d) => {
2568
2568
  d.preventDefault(), _();
2569
2569
  };
2570
2570
  var k = e.child(l);
2571
2571
  {
2572
2572
  var V = (d) => {
2573
- Fe(d, { size: 16, weight: "bold" });
2574
- }, P = (d) => {
2575
2573
  Re(d, { size: 16, weight: "bold" });
2574
+ }, P = (d) => {
2575
+ Ge(d, { size: 16, weight: "bold" });
2576
2576
  };
2577
2577
  e.if(k, (d) => {
2578
2578
  e.get(x) ? d(V) : d(P, !1);
@@ -2582,7 +2582,7 @@ function qi(a, t) {
2582
2582
  var v = e.sibling(l, 2), u = e.child(v), T = e.sibling(u), R = e.child(T, !0);
2583
2583
  e.reset(T), e.reset(v);
2584
2584
  var G = e.sibling(v, 2);
2585
- xi(G, {
2585
+ x0(G, {
2586
2586
  size: 16,
2587
2587
  weight: "bold",
2588
2588
  class: "group-open:rotate-180 transition-transform opacity-80"
@@ -2594,8 +2594,8 @@ function qi(a, t) {
2594
2594
  () => e.get(j),
2595
2595
  e.index,
2596
2596
  (d, w, E) => {
2597
- const L = e.derived(() => r.visibleAnnotationIds.has(e.get(w).id));
2598
- var g = Di();
2597
+ const I = e.derived(() => r.visibleAnnotationIds.has(e.get(w).id));
2598
+ var g = D0();
2599
2599
  g.__click = (O) => {
2600
2600
  O.preventDefault(), M(e.get(w).id);
2601
2601
  };
@@ -2606,65 +2606,65 @@ function qi(a, t) {
2606
2606
  var N = e.child(m);
2607
2607
  {
2608
2608
  var Y = (O) => {
2609
- Fe(O, { size: 16, weight: "bold" });
2610
- }, X = (O) => {
2611
2609
  Re(O, { size: 16, weight: "bold" });
2610
+ }, X = (O) => {
2611
+ Ge(O, { size: 16, weight: "bold" });
2612
2612
  };
2613
2613
  e.if(N, (O) => {
2614
- e.get(L) ? O(Y) : O(X, !1);
2614
+ e.get(I) ? O(Y) : O(X, !1);
2615
2615
  });
2616
2616
  }
2617
2617
  e.reset(m);
2618
- var p = e.sibling(m, 2), z = e.child(p), ae = e.child(z);
2619
- ae.textContent = `#${E + 1}`;
2620
- var I = e.sibling(ae, 2);
2618
+ var p = e.sibling(m, 2), z = e.child(p), re = e.child(z);
2619
+ re.textContent = `#${E + 1}`;
2620
+ var L = e.sibling(re, 2);
2621
2621
  {
2622
2622
  var D = (O) => {
2623
- var q = Ri(), Q = e.child(q, !0);
2624
- e.reset(q), e.template_effect(() => e.set_text(Q, e.get(w).label)), e.append(O, q);
2623
+ var U = R0(), Q = e.child(U, !0);
2624
+ e.reset(U), e.template_effect(() => e.set_text(Q, e.get(w).label)), e.append(O, U);
2625
2625
  };
2626
- e.if(I, (O) => {
2627
- e.get(w).label && !e.get(w).bodies.some((q) => q.value === e.get(w).label) && O(D);
2626
+ e.if(L, (O) => {
2627
+ e.get(w).label && !e.get(w).bodies.some((U) => U.value === e.get(w).label) && O(D);
2628
2628
  });
2629
2629
  }
2630
2630
  e.reset(z);
2631
- var K = e.sibling(z, 2), U = e.child(K);
2632
- e.each(U, 17, () => e.get(w).bodies, e.index, (O, q) => {
2633
- var Q = ji(), te = e.child(Q);
2631
+ var K = e.sibling(z, 2), q = e.child(K);
2632
+ e.each(q, 17, () => e.get(w).bodies, e.index, (O, U) => {
2633
+ var Q = j0(), te = e.child(Q);
2634
2634
  {
2635
- var ie = (ee) => {
2636
- var W = Gi(), $ = e.child(W, !0);
2637
- e.reset(W), e.template_effect(() => e.set_text($, e.get(q).value)), e.append(ee, W);
2638
- }, re = (ee) => {
2635
+ var ne = (ee) => {
2636
+ var W = G0(), $ = e.child(W, !0);
2637
+ e.reset(W), e.template_effect(() => e.set_text($, e.get(U).value)), e.append(ee, W);
2638
+ }, oe = (ee) => {
2639
2639
  var W = e.comment(), $ = e.first_child(W);
2640
2640
  {
2641
- var oe = (ce) => {
2642
- var de = Oi();
2643
- de.__click = (xe) => xe.stopPropagation();
2644
- var me = e.sibling(e.child(de), 2), Ae = e.child(me, !0);
2645
- e.reset(me), e.reset(de), e.template_effect(() => {
2646
- e.set_attribute(de, "href", e.get(q).value), e.set_text(Ae, e.get(q).value);
2647
- }), e.append(ce, de);
2648
- }, se = (ce) => {
2649
- var de = e.comment(), me = e.first_child(de);
2641
+ var ie = (se) => {
2642
+ var le = O0();
2643
+ le.__click = (_e) => _e.stopPropagation();
2644
+ var ve = e.sibling(e.child(le), 2), me = e.child(ve, !0);
2645
+ e.reset(ve), e.reset(le), e.template_effect(() => {
2646
+ e.set_attribute(le, "href", e.get(U).value), e.set_text(me, e.get(U).value);
2647
+ }), e.append(se, le);
2648
+ }, de = (se) => {
2649
+ var le = e.comment(), ve = e.first_child(le);
2650
2650
  {
2651
- var Ae = (fe) => {
2652
- var ue = e.comment(), ht = e.first_child(ue);
2653
- e.html(ht, () => e.get(q).value), e.append(fe, ue);
2654
- }, xe = (fe) => {
2655
- var ue = e.text();
2656
- e.template_effect(() => e.set_text(ue, e.get(q).value || "(No content)")), e.append(fe, ue);
2651
+ var me = (ge) => {
2652
+ var fe = e.comment(), Ze = e.first_child(fe);
2653
+ e.html(Ze, () => e.get(U).value), e.append(ge, fe);
2654
+ }, _e = (ge) => {
2655
+ var fe = e.text();
2656
+ e.template_effect(() => e.set_text(fe, e.get(U).value || "(No content)")), e.append(ge, fe);
2657
2657
  };
2658
- e.if(me, (fe) => {
2659
- e.get(q).isHtml ? fe(Ae) : fe(xe, !1);
2658
+ e.if(ve, (ge) => {
2659
+ e.get(U).isHtml ? ge(me) : ge(_e, !1);
2660
2660
  });
2661
2661
  }
2662
- e.append(ce, de);
2662
+ e.append(se, le);
2663
2663
  };
2664
2664
  e.if(
2665
2665
  $,
2666
- (ce) => {
2667
- e.get(q).purpose === "linking" ? ce(oe) : ce(se, !1);
2666
+ (se) => {
2667
+ e.get(U).purpose === "linking" ? se(ie) : se(de, !1);
2668
2668
  },
2669
2669
  !0
2670
2670
  );
@@ -2672,29 +2672,29 @@ function qi(a, t) {
2672
2672
  e.append(ee, W);
2673
2673
  };
2674
2674
  e.if(te, (ee) => {
2675
- e.get(q).purpose === "tagging" ? ee(ie) : ee(re, !1);
2675
+ e.get(U).purpose === "tagging" ? ee(ne) : ee(oe, !1);
2676
2676
  });
2677
2677
  }
2678
2678
  e.reset(Q), e.append(O, Q);
2679
2679
  });
2680
- var ne = e.sibling(U, 2);
2680
+ var ae = e.sibling(q, 2);
2681
2681
  {
2682
2682
  var J = (O) => {
2683
- var q = Ni();
2684
- e.append(O, q);
2683
+ var U = N0();
2684
+ e.append(O, U);
2685
2685
  };
2686
- e.if(ne, (O) => {
2686
+ e.if(ae, (O) => {
2687
2687
  e.get(w).bodies.length === 0 && O(J);
2688
2688
  });
2689
2689
  }
2690
2690
  e.reset(K), e.reset(p), e.reset(g), e.template_effect(() => {
2691
- e.set_attribute(g, "id", `annotation-list-item-${e.get(w).id ?? ""}`), e.set_class(K, 1, `text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${e.get(L) ? "" : "opacity-50"} space-y-2`);
2691
+ e.set_attribute(g, "id", `annotation-list-item-${e.get(w).id ?? ""}`), e.set_class(K, 1, `text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${e.get(I) ? "" : "opacity-50"} space-y-2`);
2692
2692
  }), e.event("mouseenter", g, () => e.set(C, e.get(w).id, !0)), e.event("mouseleave", g, () => e.set(C, null)), e.event("keypress", g, (O) => {
2693
2693
  (O.key === "Enter" || O.key === " ") && (O.preventDefault(), M(e.get(w).id));
2694
2694
  }), e.append(d, g);
2695
2695
  },
2696
2696
  (d) => {
2697
- var w = Xi();
2697
+ var w = X0();
2698
2698
  e.append(d, w);
2699
2699
  }
2700
2700
  ), e.reset(c), e.reset(A), e.reset(y), e.bind_this(y, (d) => e.set(b, d), () => e.get(b)), e.template_effect(
@@ -2702,9 +2702,9 @@ function qi(a, t) {
2702
2702
  e.set_attribute(l, "title", d), e.set_text(u, `${w ?? ""} `), e.set_text(R, E);
2703
2703
  },
2704
2704
  [
2705
- () => e.get(x) ? /* @__PURE__ */ ot() : /* @__PURE__ */ it(),
2706
- () => /* @__PURE__ */ lt({ count: e.get(f).length }),
2707
- () => /* @__PURE__ */ st({ count: r.visibleAnnotationIds.size })
2705
+ () => e.get(x) ? /* @__PURE__ */ it() : /* @__PURE__ */ lt(),
2706
+ () => /* @__PURE__ */ st({ count: e.get(f).length }),
2707
+ () => /* @__PURE__ */ ct({ count: r.visibleAnnotationIds.size })
2708
2708
  ]
2709
2709
  ), e.append(h, y);
2710
2710
  };
@@ -2715,10 +2715,10 @@ function qi(a, t) {
2715
2715
  e.append(a, B), e.pop();
2716
2716
  }
2717
2717
  e.delegate(["click"]);
2718
- var Ki = e.from_html('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'), Wi = e.from_html('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'), Qi = e.from_html('<img class="object-contain w-full h-full" loading="lazy" draggable="false"/>'), Ji = e.from_html('<span class="opacity-20 text-4xl">?</span>'), $i = e.from_html('<button><div class="aspect-3/4 bg-base-300 rounded overflow-hidden relative w-full flex items-center justify-center"><!></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>'), el = 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>'), tl = 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), rl = e.from_html("<div><!> <!> <div><div></div></div> <!></div> <!>", 1);
2719
- function pe(a, t) {
2718
+ var K0 = e.from_html('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'), W0 = e.from_html('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'), Q0 = e.from_html('<img class="object-contain w-full h-full" loading="lazy" draggable="false"/>'), J0 = e.from_html('<span class="opacity-20 text-4xl">?</span>'), $0 = e.from_html('<button><div class="aspect-3/4 bg-base-300 rounded overflow-hidden relative w-full flex items-center justify-center"><!></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>'), el = 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>'), tl = 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), rl = e.from_html("<div><!> <!> <div><div></div></div> <!></div> <!>", 1);
2719
+ function be(a, t) {
2720
2720
  e.push(t, !0);
2721
- const r = _e(ge);
2721
+ const r = he(pe);
2722
2722
  let f = e.derived(() => {
2723
2723
  var l;
2724
2724
  return ((l = r.config.gallery) == null ? void 0 : l.draggable) ?? !0;
@@ -2763,8 +2763,8 @@ function pe(a, t) {
2763
2763
  let d = "";
2764
2764
  try {
2765
2765
  if (d = c.getProfile ? c.getProfile() : c.profile || "", typeof d == "object" && d) {
2766
- const L = d;
2767
- d = L.value || L.id || L["@id"] || JSON.stringify(L);
2766
+ const I = d;
2767
+ d = I.value || I.id || I["@id"] || JSON.stringify(I);
2768
2768
  }
2769
2769
  } catch {
2770
2770
  }
@@ -2835,6 +2835,10 @@ function pe(a, t) {
2835
2835
  e.set(n, l === "none" || l === "top" || l === "bottom" || l === "left" || l === "right" ? l : "none", !0);
2836
2836
  }), e.user_effect(() => {
2837
2837
  r.dockSide !== e.get(n) && (r.dockSide = e.get(n), r.isGalleryDockedBottom = e.get(n) === "bottom", r.isGalleryDockedRight = e.get(n) === "right");
2838
+ }), e.user_effect(() => {
2839
+ if (!e.get(_) || !r.canvasId) return;
2840
+ const l = r.canvasId, k = e.get(_).querySelector(`[data-id="${CSS.escape(l)}"]`);
2841
+ k && k.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
2838
2842
  });
2839
2843
  let s = e.derived(() => e.get(n) === "top" || e.get(n) === "bottom" || e.get(n) === "none" && r.gallerySize.height < 320);
2840
2844
  function h(l) {
@@ -2861,84 +2865,84 @@ function pe(a, t) {
2861
2865
  var o = (l) => {
2862
2866
  var k = rl(), V = e.first_child(k), P = e.child(V);
2863
2867
  {
2864
- var v = (L) => {
2865
- var g = Ki();
2868
+ var v = (I) => {
2869
+ var g = K0();
2866
2870
  g.__click = () => r.toggleThumbnailGallery();
2867
2871
  var m = e.child(g);
2868
- Ie(m, { size: 16, weight: "bold" }), e.reset(g), e.append(L, g);
2872
+ Pe(m, { size: 16, weight: "bold" }), e.reset(g), e.append(I, g);
2869
2873
  };
2870
- e.if(P, (L) => {
2871
- e.get(i) && L(v);
2874
+ e.if(P, (I) => {
2875
+ e.get(i) && I(v);
2872
2876
  });
2873
2877
  }
2874
2878
  var u = e.sibling(P, 2);
2875
2879
  {
2876
- var T = (L) => {
2877
- var g = Wi(), m = e.child(g);
2880
+ var T = (I) => {
2881
+ var g = W0(), m = e.child(g);
2878
2882
  m.__mousedown = h;
2879
2883
  var N = e.child(m);
2880
2884
  e.reset(m), e.reset(g), e.template_effect(() => {
2881
2885
  e.set_class(g, 1, "bg-base-100 flex shrink-0 select-none relative " + (e.get(n) === "bottom" || e.get(n) === "top" ? "flex-row h-full items-center border-r border-base-200" : "flex-col w-full border-b border-base-200")), e.set_class(m, 1, "cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors " + (e.get(n) === "bottom" || e.get(n) === "top" ? "w-8 h-full" : "h-6 w-full")), e.set_class(N, 1, "bg-base-300 rounded-full " + (e.get(n) === "bottom" || e.get(n) === "top" ? "w-1.5 h-12" : "w-12 h-1.5"));
2882
- }), e.append(L, g);
2886
+ }), e.append(I, g);
2883
2887
  };
2884
- e.if(u, (L) => {
2885
- (e.get(f) || e.get(n) === "none") && L(T);
2888
+ e.if(u, (I) => {
2889
+ (e.get(f) || e.get(n) === "none") && I(T);
2886
2890
  });
2887
2891
  }
2888
2892
  var R = e.sibling(u, 2), G = e.child(R);
2889
- e.each(G, 21, () => e.get(C), e.index, (L, g) => {
2890
- var m = $i();
2893
+ e.each(G, 21, () => e.get(C), e.index, (I, g) => {
2894
+ var m = $0();
2891
2895
  m.__click = () => Z(e.get(g).id);
2892
2896
  var N = e.child(m), Y = e.child(N);
2893
2897
  {
2894
2898
  var X = (K) => {
2895
- var U = Qi();
2899
+ var q = Q0();
2896
2900
  e.template_effect(() => {
2897
- e.set_attribute(U, "src", e.get(g).src), e.set_attribute(U, "alt", e.get(g).label);
2898
- }), e.append(K, U);
2901
+ e.set_attribute(q, "src", e.get(g).src), e.set_attribute(q, "alt", e.get(g).label);
2902
+ }), e.append(K, q);
2899
2903
  }, p = (K) => {
2900
- var U = Ji();
2901
- e.append(K, U);
2904
+ var q = J0();
2905
+ e.append(K, q);
2902
2906
  };
2903
2907
  e.if(Y, (K) => {
2904
2908
  e.get(g).src ? K(X) : K(p, !1);
2905
2909
  });
2906
2910
  }
2907
2911
  e.reset(N);
2908
- var z = e.sibling(N, 2), ae = e.child(z), I = e.child(ae);
2909
- e.reset(ae);
2910
- var D = e.sibling(ae);
2912
+ var z = e.sibling(N, 2), re = e.child(z), L = e.child(re);
2913
+ e.reset(re);
2914
+ var D = e.sibling(re);
2911
2915
  e.reset(z), e.reset(m), e.template_effect(() => {
2912
- e.set_class(m, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(s) ? "w-[90px]" : ""} ${r.canvasId === e.get(g).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_attribute(m, "aria-label", `Select canvas ${e.get(g).label ?? ""}`), e.set_text(I, `${e.get(g).index + 1}.`), e.set_text(D, ` ${e.get(g).label ?? ""}`);
2913
- }), e.append(L, m);
2916
+ e.set_class(m, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${e.get(s) ? "w-[90px]" : ""} ${r.canvasId === e.get(g).id ? "ring-2 ring-primary bg-primary/5" : ""}`), e.set_attribute(m, "data-id", e.get(g).id), e.set_attribute(m, "aria-label", `Select canvas ${e.get(g).label ?? ""}`), e.set_text(L, `${e.get(g).index + 1}.`), e.set_text(D, ` ${e.get(g).label ?? ""}`);
2917
+ }), e.append(I, m);
2914
2918
  }), e.reset(G), e.reset(R);
2915
2919
  var c = e.sibling(R, 2);
2916
2920
  {
2917
- var d = (L) => {
2921
+ var d = (I) => {
2918
2922
  var g = el();
2919
- g.__mousedown = j, e.append(L, g);
2923
+ g.__mousedown = j, e.append(I, g);
2920
2924
  };
2921
- e.if(c, (L) => {
2922
- e.get(n) === "none" && L(d);
2925
+ e.if(c, (I) => {
2926
+ e.get(n) === "none" && I(d);
2923
2927
  });
2924
2928
  }
2925
- e.reset(V), e.bind_this(V, (L) => e.set(_, L), () => e.get(_));
2929
+ e.reset(V), e.bind_this(V, (I) => e.set(_, I), () => e.get(_));
2926
2930
  var w = e.sibling(V, 2);
2927
2931
  {
2928
- var E = (L) => {
2932
+ var E = (I) => {
2929
2933
  var g = tl(), m = e.first_child(g), N = e.sibling(m, 2), Y = e.sibling(N, 2), X = e.sibling(Y, 2);
2930
2934
  e.template_effect(() => {
2931
2935
  e.set_class(m, 1, `absolute top-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${r.dragOverSide === "top" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), e.set_class(N, 1, `absolute bottom-2 left-2 right-2 h-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${r.dragOverSide === "bottom" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), e.set_class(Y, 1, `absolute top-2 bottom-2 left-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-200 ${r.dragOverSide === "left" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), e.set_class(X, 1, `absolute top-2 bottom-2 right-2 w-16 rounded-xl border-4 border-dashed border-primary/40 z-999 pointer-events-none flex items-center justify-center transition-all duration-300 ${r.dragOverSide === "right" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`);
2932
- }), e.append(L, g);
2936
+ }), e.append(I, g);
2933
2937
  };
2934
- e.if(w, (L) => {
2935
- r.isGalleryDragging && L(E);
2938
+ e.if(w, (I) => {
2939
+ r.isGalleryDragging && I(E);
2936
2940
  });
2937
2941
  }
2938
2942
  e.template_effect(() => {
2939
2943
  e.set_class(V, 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
2940
2944
  ${e.get(n) === "bottom" || e.get(n) === "top" ? "flex-row border-t" : ""}
2941
- ${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(V, 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(R, 1, `flex-1 px-1 bg-base-100 ${e.get(s) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), e.set_class(G, 1, e.clsx(e.get(s) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), e.set_style(G, e.get(s) ? "" : "grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));");
2945
+ ${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(V, 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(R, 1, `flex-1 p-1 bg-base-100 ${e.get(s) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), e.set_class(G, 1, e.clsx(e.get(s) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), e.set_style(G, e.get(s) ? "" : "grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));");
2942
2946
  }), e.append(l, k);
2943
2947
  };
2944
2948
  e.if(A, (l) => {
@@ -2951,7 +2955,7 @@ e.delegate(["click", "mousedown"]);
2951
2955
  var al = 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>'), nl = 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), ol = 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>'), il = 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>'), ll = 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>'), sl = 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>'), cl = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
2952
2956
  function dl(a, t) {
2953
2957
  e.push(t, !0);
2954
- const r = le();
2958
+ const r = ce();
2955
2959
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
2956
2960
  function C(n) {
2957
2961
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3012,7 +3016,7 @@ function dl(a, t) {
3012
3016
  var E = (g) => {
3013
3017
  var m = ll();
3014
3018
  e.append(g, m);
3015
- }, L = (g) => {
3019
+ }, I = (g) => {
3016
3020
  var m = e.comment(), N = e.first_child(m);
3017
3021
  {
3018
3022
  var Y = (p) => {
@@ -3035,7 +3039,7 @@ function dl(a, t) {
3035
3039
  e.if(
3036
3040
  w,
3037
3041
  (g) => {
3038
- e.get(i) === "regular" ? g(E) : g(L, !1);
3042
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3039
3043
  },
3040
3044
  !0
3041
3045
  );
@@ -3081,7 +3085,7 @@ function dl(a, t) {
3081
3085
  var vl = 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>'), gl = 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), fl = 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>'), _l = 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>'), ul = 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>'), pl = 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>'), hl = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3082
3086
  function ml(a, t) {
3083
3087
  e.push(t, !0);
3084
- const r = le();
3088
+ const r = ce();
3085
3089
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3086
3090
  function C(n) {
3087
3091
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3142,7 +3146,7 @@ function ml(a, t) {
3142
3146
  var E = (g) => {
3143
3147
  var m = ul();
3144
3148
  e.append(g, m);
3145
- }, L = (g) => {
3149
+ }, I = (g) => {
3146
3150
  var m = e.comment(), N = e.first_child(m);
3147
3151
  {
3148
3152
  var Y = (p) => {
@@ -3165,7 +3169,7 @@ function ml(a, t) {
3165
3169
  e.if(
3166
3170
  w,
3167
3171
  (g) => {
3168
- e.get(i) === "regular" ? g(E) : g(L, !1);
3172
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3169
3173
  },
3170
3174
  !0
3171
3175
  );
@@ -3211,7 +3215,7 @@ function ml(a, t) {
3211
3215
  var bl = 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>'), wl = 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), yl = 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>'), Al = 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>'), xl = 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>'), Zl = 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>'), Ml = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3212
3216
  function Hl(a, t) {
3213
3217
  e.push(t, !0);
3214
- const r = le();
3218
+ const r = ce();
3215
3219
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3216
3220
  function C(n) {
3217
3221
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3272,7 +3276,7 @@ function Hl(a, t) {
3272
3276
  var E = (g) => {
3273
3277
  var m = xl();
3274
3278
  e.append(g, m);
3275
- }, L = (g) => {
3279
+ }, I = (g) => {
3276
3280
  var m = e.comment(), N = e.first_child(m);
3277
3281
  {
3278
3282
  var Y = (p) => {
@@ -3295,7 +3299,7 @@ function Hl(a, t) {
3295
3299
  e.if(
3296
3300
  w,
3297
3301
  (g) => {
3298
- e.get(i) === "regular" ? g(E) : g(L, !1);
3302
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3299
3303
  },
3300
3304
  !0
3301
3305
  );
@@ -3338,16 +3342,16 @@ function Hl(a, t) {
3338
3342
  }
3339
3343
  e.reset(b), e.append(a, b), e.pop();
3340
3344
  }
3341
- var Vl = 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>'), Sl = 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), Cl = 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>'), zl = 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>'), kl = 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>'), Ll = 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>'), Il = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3345
+ var Vl = 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>'), Sl = 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), Cl = 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>'), zl = 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>'), kl = 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>'), Il = 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>'), Ll = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3342
3346
  function Pl(a, t) {
3343
3347
  e.push(t, !0);
3344
- const r = le();
3348
+ const r = ce();
3345
3349
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3346
3350
  function C(n) {
3347
3351
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
3348
3352
  return o;
3349
3353
  }
3350
- var b = Il();
3354
+ var b = Ll();
3351
3355
  e.attribute_effect(
3352
3356
  b,
3353
3357
  (n, s) => ({
@@ -3402,11 +3406,11 @@ function Pl(a, t) {
3402
3406
  var E = (g) => {
3403
3407
  var m = kl();
3404
3408
  e.append(g, m);
3405
- }, L = (g) => {
3409
+ }, I = (g) => {
3406
3410
  var m = e.comment(), N = e.first_child(m);
3407
3411
  {
3408
3412
  var Y = (p) => {
3409
- var z = Ll();
3413
+ var z = Il();
3410
3414
  e.append(p, z);
3411
3415
  }, X = (p) => {
3412
3416
  var z = e.text();
@@ -3425,7 +3429,7 @@ function Pl(a, t) {
3425
3429
  e.if(
3426
3430
  w,
3427
3431
  (g) => {
3428
- e.get(i) === "regular" ? g(E) : g(L, !1);
3432
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3429
3433
  },
3430
3434
  !0
3431
3435
  );
@@ -3469,9 +3473,9 @@ function Pl(a, t) {
3469
3473
  e.reset(b), e.append(a, b), e.pop();
3470
3474
  }
3471
3475
  var Tl = e.from_svg('<path d="M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"></path>'), Bl = 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,112Z"></path>', 1), El = e.from_svg('<path d="M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,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>'), Fl = e.from_svg('<path d="M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"></path>'), Rl = e.from_svg('<path d="M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,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,112Z"></path>'), Gl = e.from_svg('<path d="M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"></path>'), Ol = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3472
- function pt(a, t) {
3476
+ function ht(a, t) {
3473
3477
  e.push(t, !0);
3474
- const r = le();
3478
+ const r = ce();
3475
3479
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3476
3480
  function C(n) {
3477
3481
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3532,7 +3536,7 @@ function pt(a, t) {
3532
3536
  var E = (g) => {
3533
3537
  var m = Rl();
3534
3538
  e.append(g, m);
3535
- }, L = (g) => {
3539
+ }, I = (g) => {
3536
3540
  var m = e.comment(), N = e.first_child(m);
3537
3541
  {
3538
3542
  var Y = (p) => {
@@ -3555,7 +3559,7 @@ function pt(a, t) {
3555
3559
  e.if(
3556
3560
  w,
3557
3561
  (g) => {
3558
- e.get(i) === "regular" ? g(E) : g(L, !1);
3562
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3559
3563
  },
3560
3564
  !0
3561
3565
  );
@@ -3601,7 +3605,7 @@ function pt(a, t) {
3601
3605
  var jl = 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>'), Nl = 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), Dl = 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>'), Xl = 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>'), Yl = 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>'), Ul = 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>'), ql = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3602
3606
  function Kl(a, t) {
3603
3607
  e.push(t, !0);
3604
- const r = le();
3608
+ const r = ce();
3605
3609
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3606
3610
  function C(n) {
3607
3611
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3662,7 +3666,7 @@ function Kl(a, t) {
3662
3666
  var E = (g) => {
3663
3667
  var m = Yl();
3664
3668
  e.append(g, m);
3665
- }, L = (g) => {
3669
+ }, I = (g) => {
3666
3670
  var m = e.comment(), N = e.first_child(m);
3667
3671
  {
3668
3672
  var Y = (p) => {
@@ -3685,7 +3689,7 @@ function Kl(a, t) {
3685
3689
  e.if(
3686
3690
  w,
3687
3691
  (g) => {
3688
- e.get(i) === "regular" ? g(E) : g(L, !1);
3692
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3689
3693
  },
3690
3694
  !0
3691
3695
  );
@@ -3731,7 +3735,7 @@ function Kl(a, t) {
3731
3735
  var Wl = 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>'), Ql = 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), Jl = 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>'), $l = 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>'), es = 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>'), ts = 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>'), rs = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
3732
3736
  function as(a, t) {
3733
3737
  e.push(t, !0);
3734
- const r = le();
3738
+ const r = ce();
3735
3739
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
3736
3740
  function C(n) {
3737
3741
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -3792,7 +3796,7 @@ function as(a, t) {
3792
3796
  var E = (g) => {
3793
3797
  var m = es();
3794
3798
  e.append(g, m);
3795
- }, L = (g) => {
3799
+ }, I = (g) => {
3796
3800
  var m = e.comment(), N = e.first_child(m);
3797
3801
  {
3798
3802
  var Y = (p) => {
@@ -3815,7 +3819,7 @@ function as(a, t) {
3815
3819
  e.if(
3816
3820
  w,
3817
3821
  (g) => {
3818
- e.get(i) === "regular" ? g(E) : g(L, !1);
3822
+ e.get(i) === "regular" ? g(E) : g(I, !1);
3819
3823
  },
3820
3824
  !0
3821
3825
  );
@@ -3865,14 +3869,14 @@ function ws(a, t) {
3865
3869
  var o = ns();
3866
3870
  o.__click = () => _.toggleSearchPanel();
3867
3871
  var l = e.child(o);
3868
- pt(l, { size: 28, weight: "bold" }), e.reset(o), e.template_effect(
3872
+ ht(l, { size: 28, weight: "bold" }), e.reset(o), e.template_effect(
3869
3873
  (k) => {
3870
3874
  e.set_attribute(o, "aria-label", k), e.set_class(o, 1, e.clsx([
3871
3875
  "btn btn-circle btn-lg shadow-lg",
3872
3876
  _.showSearchPanel ? "btn-primary" : "btn-neutral"
3873
3877
  ]));
3874
3878
  },
3875
- [() => /* @__PURE__ */ rt()]
3879
+ [() => /* @__PURE__ */ at()]
3876
3880
  ), e.append(A, o);
3877
3881
  }, f = (A) => {
3878
3882
  var o = os();
@@ -3883,7 +3887,7 @@ function ws(a, t) {
3883
3887
  e.set_attribute(o, "aria-label", k), e.set_class(o, 1, `btn btn-lg btn-circle shadow-lg ${_.showThumbnailGallery ? "btn-info" : "btn-neutral"}`);
3884
3888
  },
3885
3889
  [
3886
- () => _.showThumbnailGallery ? /* @__PURE__ */ be() : /* @__PURE__ */ we()
3890
+ () => _.showThumbnailGallery ? /* @__PURE__ */ ye() : /* @__PURE__ */ Ae()
3887
3891
  ]
3888
3892
  ), e.append(A, o);
3889
3893
  }, i = (A) => {
@@ -3909,7 +3913,7 @@ function ws(a, t) {
3909
3913
  (k) => {
3910
3914
  e.set_attribute(o, "aria-label", k), e.set_class(o, 1, `btn btn-lg btn-circle shadow-lg ${_.showAnnotations ? "btn-error" : "btn-neutral"}`);
3911
3915
  },
3912
- [() => /* @__PURE__ */ at()]
3916
+ [() => /* @__PURE__ */ nt()]
3913
3917
  ), e.append(A, o);
3914
3918
  }, M = (A) => {
3915
3919
  var o = ss();
@@ -3919,9 +3923,9 @@ function ws(a, t) {
3919
3923
  (k) => {
3920
3924
  e.set_attribute(o, "aria-label", k), e.set_class(o, 1, `btn btn-lg btn-circle shadow-lg ${_.showMetadataDialog ? "btn-info" : "btn-neutral"}`);
3921
3925
  },
3922
- [() => /* @__PURE__ */ nt()]
3926
+ [() => /* @__PURE__ */ ot()]
3923
3927
  ), e.append(A, o);
3924
- }, _ = _e(ge), C = e.derived(() => _.config.rightMenu || {}), b = e.derived(() => e.get(C).showSearch !== !1), H = e.derived(() => e.get(C).showGallery !== !1), j = e.derived(() => e.get(C).showFullscreen !== !1), B = e.derived(() => e.get(C).showAnnotations !== !1), F = e.derived(() => e.get(C).showInfo !== !1), Z = e.derived(() => [
3928
+ }, _ = he(pe), C = e.derived(() => _.config.rightMenu || {}), b = e.derived(() => e.get(C).showSearch !== !1), H = e.derived(() => e.get(C).showGallery !== !1), j = e.derived(() => e.get(C).showFullscreen !== !1), B = e.derived(() => e.get(C).showAnnotations !== !1), F = e.derived(() => e.get(C).showInfo !== !1), Z = e.derived(() => [
3925
3929
  e.get(b) ? "search" : null,
3926
3930
  e.get(H) ? "gallery" : null,
3927
3931
  e.get(j) ? "fullscreen" : null,
@@ -3935,7 +3939,7 @@ function ws(a, t) {
3935
3939
  {
3936
3940
  var k = (d) => {
3937
3941
  var w = cs(), E = e.child(w);
3938
- r(E), e.reset(w), e.template_effect((L) => e.set_attribute(w, "data-tip", L), [() => /* @__PURE__ */ ye()]), e.append(d, w);
3942
+ r(E), e.reset(w), e.template_effect((I) => e.set_attribute(w, "data-tip", I), [() => /* @__PURE__ */ xe()]), e.append(d, w);
3939
3943
  };
3940
3944
  e.if(l, (d) => {
3941
3945
  e.get(b) && d(k);
@@ -3945,8 +3949,8 @@ function ws(a, t) {
3945
3949
  {
3946
3950
  var P = (d) => {
3947
3951
  var w = ds(), E = e.child(w);
3948
- f(E), e.reset(w), e.template_effect((L) => e.set_attribute(w, "data-tip", L), [
3949
- () => _.showThumbnailGallery ? /* @__PURE__ */ be() : /* @__PURE__ */ we()
3952
+ f(E), e.reset(w), e.template_effect((I) => e.set_attribute(w, "data-tip", I), [
3953
+ () => _.showThumbnailGallery ? /* @__PURE__ */ ye() : /* @__PURE__ */ Ae()
3950
3954
  ]), e.append(d, w);
3951
3955
  };
3952
3956
  e.if(V, (d) => {
@@ -3957,8 +3961,8 @@ function ws(a, t) {
3957
3961
  {
3958
3962
  var u = (d) => {
3959
3963
  var w = vs(), E = e.child(w);
3960
- i(E), e.reset(w), e.template_effect((L) => e.set_attribute(w, "data-tip", L), [
3961
- () => _.isFullScreen ? /* @__PURE__ */ Se() : /* @__PURE__ */ Ce()
3964
+ i(E), e.reset(w), e.template_effect((I) => e.set_attribute(w, "data-tip", I), [
3965
+ () => _.isFullScreen ? /* @__PURE__ */ Ce() : /* @__PURE__ */ ze()
3962
3966
  ]), e.append(d, w);
3963
3967
  };
3964
3968
  e.if(v, (d) => {
@@ -3969,8 +3973,8 @@ function ws(a, t) {
3969
3973
  {
3970
3974
  var R = (d) => {
3971
3975
  var w = gs(), E = e.child(w);
3972
- x(E), e.reset(w), e.template_effect((L) => e.set_attribute(w, "data-tip", L), [
3973
- () => _.showAnnotations ? /* @__PURE__ */ ze() : /* @__PURE__ */ ke()
3976
+ x(E), e.reset(w), e.template_effect((I) => e.set_attribute(w, "data-tip", I), [
3977
+ () => _.showAnnotations ? /* @__PURE__ */ ke() : /* @__PURE__ */ Ie()
3974
3978
  ]), e.append(d, w);
3975
3979
  };
3976
3980
  e.if(T, (d) => {
@@ -3981,7 +3985,7 @@ function ws(a, t) {
3981
3985
  {
3982
3986
  var c = (d) => {
3983
3987
  var w = fs(), E = e.child(w);
3984
- M(E), e.reset(w), e.template_effect((L) => e.set_attribute(w, "data-tip", L), [() => /* @__PURE__ */ Le()]), e.append(d, w);
3988
+ M(E), e.reset(w), e.template_effect((I) => e.set_attribute(w, "data-tip", I), [() => /* @__PURE__ */ Le()]), e.append(d, w);
3985
3989
  };
3986
3990
  e.if(G, (d) => {
3987
3991
  e.get(F) && d(c);
@@ -4002,8 +4006,8 @@ function ws(a, t) {
4002
4006
  {
4003
4007
  var w = (X) => {
4004
4008
  var p = us(), z = e.child(p);
4005
- f(z), e.reset(p), e.template_effect((ae) => e.set_attribute(p, "data-tip", ae), [
4006
- () => _.showThumbnailGallery ? /* @__PURE__ */ be() : /* @__PURE__ */ we()
4009
+ f(z), e.reset(p), e.template_effect((re) => e.set_attribute(p, "data-tip", re), [
4010
+ () => _.showThumbnailGallery ? /* @__PURE__ */ ye() : /* @__PURE__ */ Ae()
4007
4011
  ]), e.append(X, p);
4008
4012
  };
4009
4013
  e.if(d, (X) => {
@@ -4012,22 +4016,22 @@ function ws(a, t) {
4012
4016
  }
4013
4017
  var E = e.sibling(d, 2);
4014
4018
  {
4015
- var L = (X) => {
4019
+ var I = (X) => {
4016
4020
  var p = ps(), z = e.child(p);
4017
- i(z), e.reset(p), e.template_effect((ae) => e.set_attribute(p, "data-tip", ae), [
4018
- () => _.isFullScreen ? /* @__PURE__ */ Se() : /* @__PURE__ */ Ce()
4021
+ i(z), e.reset(p), e.template_effect((re) => e.set_attribute(p, "data-tip", re), [
4022
+ () => _.isFullScreen ? /* @__PURE__ */ Ce() : /* @__PURE__ */ ze()
4019
4023
  ]), e.append(X, p);
4020
4024
  };
4021
4025
  e.if(E, (X) => {
4022
- e.get(j) && X(L);
4026
+ e.get(j) && X(I);
4023
4027
  });
4024
4028
  }
4025
4029
  var g = e.sibling(E, 2);
4026
4030
  {
4027
4031
  var m = (X) => {
4028
4032
  var p = hs(), z = e.child(p);
4029
- x(z), e.reset(p), e.template_effect((ae) => e.set_attribute(p, "data-tip", ae), [
4030
- () => _.showAnnotations ? /* @__PURE__ */ ze() : /* @__PURE__ */ ke()
4033
+ x(z), e.reset(p), e.template_effect((re) => e.set_attribute(p, "data-tip", re), [
4034
+ () => _.showAnnotations ? /* @__PURE__ */ ke() : /* @__PURE__ */ Ie()
4031
4035
  ]), e.append(X, p);
4032
4036
  };
4033
4037
  e.if(g, (X) => {
@@ -4038,7 +4042,7 @@ function ws(a, t) {
4038
4042
  {
4039
4043
  var Y = (X) => {
4040
4044
  var p = ms(), z = e.child(p);
4041
- M(z), e.reset(p), e.template_effect((ae) => e.set_attribute(p, "data-tip", ae), [() => /* @__PURE__ */ Le()]), e.append(X, p);
4045
+ M(z), e.reset(p), e.template_effect((re) => e.set_attribute(p, "data-tip", re), [() => /* @__PURE__ */ Le()]), e.append(X, p);
4042
4046
  };
4043
4047
  e.if(N, (X) => {
4044
4048
  e.get(F) && X(Y);
@@ -4048,7 +4052,7 @@ function ws(a, t) {
4048
4052
  (X, p) => {
4049
4053
  e.set_text(T, X), e.set_attribute(G, "data-tip", p);
4050
4054
  },
4051
- [() => /* @__PURE__ */ tt(), () => /* @__PURE__ */ ye()]
4055
+ [() => /* @__PURE__ */ rt(), () => /* @__PURE__ */ xe()]
4052
4056
  ), e.append(V, P);
4053
4057
  };
4054
4058
  e.if(
@@ -4071,7 +4075,7 @@ e.delegate(["click"]);
4071
4075
  var ys = e.from_svg('<path d="M222.41,155.16a12,12,0,0,0-11.56-.69A16,16,0,0,1,188,139,16.2,16.2,0,0,1,202.8,124a15.83,15.83,0,0,1,8,1.5A12,12,0,0,0,228,114.7V72a20,20,0,0,0-20-20H176a40.15,40.15,0,0,0-12.62-29.16,39.67,39.67,0,0,0-29.94-10.76,40.08,40.08,0,0,0-37.34,37C96,50.07,96,51,96,52H64A20,20,0,0,0,44,72v28a40.15,40.15,0,0,0-29.16,12.62A40,40,0,0,0,41.1,179.9a28.3,28.3,0,0,0,2.9.1v28a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V165.31A12,12,0,0,0,222.41,155.16ZM204,204H68V165.31a12,12,0,0,0-17.15-10.84A15.9,15.9,0,0,1,42.8,156,16.2,16.2,0,0,1,28,141.06a16,16,0,0,1,22.82-15.52A12,12,0,0,0,68,114.7V76h42.7a12,12,0,0,0,10.83-17.15A15.9,15.9,0,0,1,120,50.8,16.19,16.19,0,0,1,134.94,36a16,16,0,0,1,15.53,22.81A12,12,0,0,0,161.31,76H204v24c-1,0-1.93,0-2.9.11A40,40,0,0,0,204,180h0Z"></path>'), As = e.from_svg('<path d="M204,168a28,28,0,0,0,12-2.69V208a8,8,0,0,1-8,8H64a8,8,0,0,1-8-8V165.31a28,28,0,1,1,0-50.62V72a8,8,0,0,1,8-8h46.69a28,28,0,1,1,50.61,0H208a8,8,0,0,1,8,8v42.69A28,28,0,1,0,204,168Z" opacity="0.2"></path><path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.15,36.15,0,0,0-11.36-26.25,36,36,0,0,0-60.55,23.63,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,36.56,36.56,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>', 1), xs = e.from_svg('<path d="M165.78,224H208a16,16,0,0,0,16-16V170.35A8,8,0,0,0,212.94,163a23.37,23.37,0,0,1-8.94,1.77c-13.23,0-24-11.1-24-24.73s10.77-24.73,24-24.73a23.37,23.37,0,0,1,8.94,1.77A8,8,0,0,0,224,109.65V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36,36,0,0,0-72,0,35.36,35.36,0,0,0,.22,4H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36,36,0,0,0,0,72,35.36,35.36,0,0,0,4-.22V208a16,16,0,0,0,16,16h42.22"></path>'), Zs = e.from_svg('<path d="M219.21,160.24a6,6,0,0,0-5.78-.35,22,22,0,1,1-11.05-41.83,22.15,22.15,0,0,1,11.05,2.06A6,6,0,0,0,222,114.7V72a14,14,0,0,0-14-14H169.48a35,35,0,0,0,.52-6,34.1,34.1,0,0,0-10.73-24.78,33.64,33.64,0,0,0-25.45-9.15A34,34,0,0,0,102.54,58H64A14,14,0,0,0,50,72v34.53a34,34,0,0,0-30.79,10.2,34,34,0,0,0,22.31,57.18,34.34,34.34,0,0,0,8.48-.44V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V165.31A6,6,0,0,0,219.21,160.24ZM210,208a2,2,0,0,1-2,2H64a2,2,0,0,1-2-2V165.31a6,6,0,0,0-6-6,5.92,5.92,0,0,0-2.57.58,22,22,0,0,1-31.38-18.46,22,22,0,0,1,31.38-21.31A6,6,0,0,0,62,114.7V72a2,2,0,0,1,2-2h46.69a6,6,0,0,0,5.42-8.57,22.25,22.25,0,0,1-2-11,22,22,0,1,1,41.83,11A6,6,0,0,0,161.3,70H208a2,2,0,0,1,2,2v34.54a34,34,0,0,0-39.93,31.28,33.71,33.71,0,0,0,9.14,25.45A34.15,34.15,0,0,0,210,173.48Z"></path>'), Ms = e.from_svg('<path d="M220.27,158.54a8,8,0,0,0-7.7-.46,20,20,0,1,1,0-36.16A8,8,0,0,0,224,114.69V72a16,16,0,0,0-16-16H171.78a35.36,35.36,0,0,0,.22-4,36.11,36.11,0,0,0-11.36-26.24,36,36,0,0,0-60.55,23.62,36.56,36.56,0,0,0,.14,6.62H64A16,16,0,0,0,48,72v32.22a35.36,35.36,0,0,0-4-.22,36.12,36.12,0,0,0-26.24,11.36,35.7,35.7,0,0,0-9.69,27,36.08,36.08,0,0,0,33.31,33.6,35.68,35.68,0,0,0,6.62-.14V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V165.31A8,8,0,0,0,220.27,158.54ZM208,208H64V165.31a8,8,0,0,0-11.43-7.23,20,20,0,1,1,0-36.16A8,8,0,0,0,64,114.69V72h46.69a8,8,0,0,0,7.23-11.43,20,20,0,1,1,36.16,0A8,8,0,0,0,161.31,72H208v32.23a35.68,35.68,0,0,0-6.62-.14A36,36,0,0,0,204,176a35.36,35.36,0,0,0,4-.22Z"></path>'), Hs = e.from_svg('<path d="M218.14,161.93a4,4,0,0,0-3.86-.24,24,24,0,0,1-34.23-23.25,24,24,0,0,1,34.23-20.13A4,4,0,0,0,220,114.7V72a12,12,0,0,0-12-12H167a32,32,0,1,0-62.91-10.33A32.57,32.57,0,0,0,105,60H64A12,12,0,0,0,52,72v37a32,32,0,1,0-10.33,62.91A32.28,32.28,0,0,0,52,171v37a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V165.31A4,4,0,0,0,218.14,161.93ZM212,208a4,4,0,0,1-4,4H64a4,4,0,0,1-4-4V165.31a4,4,0,0,0-1.86-3.38,4,4,0,0,0-3.85-.24,24,24,0,0,1-34.24-20.13,24,24,0,0,1,34.24-23.25A4,4,0,0,0,60,114.7V72a4,4,0,0,1,4-4h46.69a4,4,0,0,0,3.62-5.71,24,24,0,0,1,20.13-34.24,24,24,0,0,1,23.25,34.24A4,4,0,0,0,161.31,68H208a4,4,0,0,1,4,4v37a32.57,32.57,0,0,0-10.33-.94A32,32,0,1,0,212,171Z"></path>'), Vs = e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4072
4076
  function Ss(a, t) {
4073
4077
  e.push(t, !0);
4074
- const r = le();
4078
+ const r = ce();
4075
4079
  let f = e.rest_props(t, ["$$slots", "$$events", "$$legacy", "children"]), i = e.derived(() => t.weight ?? r.weight ?? "regular"), x = e.derived(() => t.color ?? r.color ?? "currentColor"), M = e.derived(() => t.size ?? r.size ?? "1em"), _ = e.derived(() => t.mirrored ?? r.mirrored ?? !1);
4076
4080
  function C(n) {
4077
4081
  let { weight: s, color: h, size: y, mirrored: A, ...o } = n;
@@ -4132,7 +4136,7 @@ function Ss(a, t) {
4132
4136
  var E = (g) => {
4133
4137
  var m = Ms();
4134
4138
  e.append(g, m);
4135
- }, L = (g) => {
4139
+ }, I = (g) => {
4136
4140
  var m = e.comment(), N = e.first_child(m);
4137
4141
  {
4138
4142
  var Y = (p) => {
@@ -4155,7 +4159,7 @@ function Ss(a, t) {
4155
4159
  e.if(
4156
4160
  w,
4157
4161
  (g) => {
4158
- e.get(i) === "regular" ? g(E) : g(L, !1);
4162
+ e.get(i) === "regular" ? g(E) : g(I, !1);
4159
4163
  },
4160
4164
  !0
4161
4165
  );
@@ -4201,8 +4205,8 @@ function Ss(a, t) {
4201
4205
  var Cs = e.from_html('<div class="tooltip tooltip-right"><button><!></button></div>'), zs = e.from_html('<div class="absolute left-6 bottom-6 z-50 pointer-events-auto flex flex-col items-start transition-all duration-300"><div></div> <div class="tooltip tooltip-right"><button><!></button></div></div>');
4202
4206
  function ks(a, t) {
4203
4207
  e.push(t, !0);
4204
- const r = _e(ge);
4205
- let f = e.derived(() => (ve.current, [...r.pluginMenuButtons].sort((H, j) => (H.order ?? 100) - (j.order ?? 100)))), i = e.state(!1), x = e.derived(() => (ve.current, /* @__PURE__ */ vt()));
4208
+ const r = he(pe);
4209
+ let f = e.derived(() => (ue.current, [...r.pluginMenuButtons].sort((H, j) => (H.order ?? 100) - (j.order ?? 100)))), i = e.state(!1), x = e.derived(() => (ue.current, /* @__PURE__ */ gt()));
4206
4210
  function M() {
4207
4211
  e.set(i, !e.get(i));
4208
4212
  }
@@ -4211,7 +4215,7 @@ function ks(a, t) {
4211
4215
  var b = (H) => {
4212
4216
  var j = zs(), B = e.child(j);
4213
4217
  e.each(B, 21, () => e.get(f), (y) => y.id, (y, A) => {
4214
- const o = e.derived(() => e.get(A).icon), l = e.derived(() => typeof Ee[e.get(A).tooltip] == "function" ? Ee[e.get(A).tooltip]() : e.get(A).tooltip);
4218
+ const o = e.derived(() => e.get(A).icon), l = e.derived(() => typeof Fe[e.get(A).tooltip] == "function" ? Fe[e.get(A).tooltip]() : e.get(A).tooltip);
4215
4219
  var k = Cs(), V = e.child(k);
4216
4220
  V.__click = () => {
4217
4221
  e.get(A).onClick(), e.set(i, !1);
@@ -4236,7 +4240,7 @@ function ks(a, t) {
4236
4240
  var n = e.child(Z);
4237
4241
  {
4238
4242
  var s = (y) => {
4239
- Ie(y, { size: 28, weight: "bold" });
4243
+ Pe(y, { size: 28, weight: "bold" });
4240
4244
  }, h = (y) => {
4241
4245
  Ss(y, { size: 28, weight: "bold" });
4242
4246
  };
@@ -4255,16 +4259,16 @@ function ks(a, t) {
4255
4259
  e.append(a, _), e.pop();
4256
4260
  }
4257
4261
  e.delegate(["click"]);
4258
- var Ls = e.from_html('<div class="mb-6 prose"><p><!></p></div>'), Is = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), Ps = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>', 1), Ts = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), Bs = e.from_html('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');
4262
+ var Is = e.from_html('<div class="mb-6 prose"><p><!></p></div>'), Ls = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), Ps = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><a target="_blank" rel="noreferrer" class="link link-primary break-all"> </a></dd>', 1), Ts = e.from_html('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), Bs = e.from_html('<dialog class="modal"><div class="modal-box w-11/12 max-w-5xl"><form method="dialog"><button class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2">✕</button></form> <h3 class="font-bold text-lg mb-4"> </h3> <div class="py-4 overflow-y-auto max-h-[70vh]"><!> <dl class="grid grid-cols-1 md:grid-cols-[200px_1fr]"><!> <!> <!></dl></div> <div class="modal-action"><form method="dialog"><button class="btn"> </button></form></div></div> <form method="dialog" class="modal-backdrop"><button> </button></form></dialog>');
4259
4263
  function Es(a, t) {
4260
4264
  e.push(t, !0);
4261
- const r = _e(ge);
4265
+ const r = he(pe);
4262
4266
  let f = e.derived(() => r.manifest), i = e.derived(() => {
4263
- const c = ve.current;
4267
+ const c = ue.current;
4264
4268
  if (!e.get(f)) return [];
4265
4269
  const d = e.get(f).getMetadata();
4266
4270
  return d ? d.map((w) => {
4267
- let E = "", L = "";
4271
+ let E = "", I = "";
4268
4272
  const g = (m) => {
4269
4273
  if (typeof m == "string") return m;
4270
4274
  if (Array.isArray(m)) {
@@ -4273,7 +4277,7 @@ function Es(a, t) {
4273
4277
  }
4274
4278
  return String(m);
4275
4279
  };
4276
- return w.getLabel ? E = g(w.getLabel()) : w.label && (E = g(w.label)), w.getValue ? L = g(w.getValue()) : w.value && (L = g(w.value)), { label: E, value: L };
4280
+ return w.getLabel ? E = g(w.getLabel()) : w.label && (E = g(w.label)), w.getValue ? I = g(w.getValue()) : w.value && (I = g(w.value)), { label: E, value: I };
4277
4281
  }) : [];
4278
4282
  }), x = e.derived(() => e.get(f) ? e.get(f).getDescription() : ""), M = e.derived(() => {
4279
4283
  var c;
@@ -4286,7 +4290,7 @@ function Es(a, t) {
4286
4290
  var Z = e.sibling(B, 2), n = e.child(Z);
4287
4291
  {
4288
4292
  var s = (c) => {
4289
- var d = Ls(), w = e.child(d), E = e.child(w);
4293
+ var d = Is(), w = e.child(d), E = e.child(w);
4290
4294
  e.html(E, () => e.get(x)), e.reset(w), e.reset(d), e.append(c, d);
4291
4295
  };
4292
4296
  e.if(n, (c) => {
@@ -4296,10 +4300,10 @@ function Es(a, t) {
4296
4300
  var h = e.sibling(n, 2), y = e.child(h);
4297
4301
  {
4298
4302
  var A = (c) => {
4299
- var d = Is(), w = e.first_child(d), E = e.child(w, !0);
4303
+ var d = Ls(), w = e.first_child(d), E = e.child(w, !0);
4300
4304
  e.reset(w);
4301
- var L = e.sibling(w, 2), g = e.child(L);
4302
- e.html(g, () => e.get(M)), e.reset(L), e.template_effect((m) => e.set_text(E, m), [() => /* @__PURE__ */ $e()]), e.append(c, d);
4305
+ var I = e.sibling(w, 2), g = e.child(I);
4306
+ e.html(g, () => e.get(M)), e.reset(I), e.template_effect((m) => e.set_text(E, m), [() => /* @__PURE__ */ et()]), e.append(c, d);
4303
4307
  };
4304
4308
  e.if(y, (c) => {
4305
4309
  e.get(M) && c(A);
@@ -4310,12 +4314,12 @@ function Es(a, t) {
4310
4314
  var l = (c) => {
4311
4315
  var d = Ps(), w = e.first_child(d), E = e.child(w, !0);
4312
4316
  e.reset(w);
4313
- var L = e.sibling(w, 2), g = e.child(L), m = e.child(g, !0);
4314
- e.reset(g), e.reset(L), e.template_effect(
4317
+ var I = e.sibling(w, 2), g = e.child(I), m = e.child(g, !0);
4318
+ e.reset(g), e.reset(I), e.template_effect(
4315
4319
  (N) => {
4316
4320
  e.set_text(E, N), e.set_attribute(g, "href", e.get(_)), e.set_text(m, e.get(_));
4317
4321
  },
4318
- [() => /* @__PURE__ */ et()]
4322
+ [() => /* @__PURE__ */ tt()]
4319
4323
  ), e.append(c, d);
4320
4324
  };
4321
4325
  e.if(o, (c) => {
@@ -4324,10 +4328,10 @@ function Es(a, t) {
4324
4328
  }
4325
4329
  var k = e.sibling(o, 2);
4326
4330
  e.each(k, 17, () => e.get(i), e.index, (c, d) => {
4327
- var w = Ts(), E = e.first_child(w), L = e.child(E, !0);
4331
+ var w = Ts(), E = e.first_child(w), I = e.child(E, !0);
4328
4332
  e.reset(E);
4329
4333
  var g = e.sibling(E, 2), m = e.child(g);
4330
- e.html(m, () => e.get(d).value), e.reset(g), e.template_effect(() => e.set_text(L, e.get(d).label)), e.append(c, w);
4334
+ e.html(m, () => e.get(d).value), e.reset(g), e.template_effect(() => e.set_text(I, e.get(d).label)), e.append(c, w);
4331
4335
  }), e.reset(h), e.reset(Z);
4332
4336
  var V = e.sibling(Z, 2), P = e.child(V), v = e.child(P);
4333
4337
  v.__click = () => r.toggleMetadataDialog();
@@ -4341,9 +4345,9 @@ function Es(a, t) {
4341
4345
  C.open = r.showMetadataDialog, e.set_text(F, c), e.set_text(u, d), e.set_text(G, w);
4342
4346
  },
4343
4347
  [
4344
- () => e.get(f) ? e.get(f).getLabel().length && e.get(f).getLabel()[0] ? e.get(f).getLabel()[0].value : /* @__PURE__ */ Qe() : /* @__PURE__ */ Je(),
4345
- () => Me(),
4346
- () => Me()
4348
+ () => e.get(f) ? e.get(f).getLabel().length && e.get(f).getLabel()[0] ? e.get(f).getLabel()[0].value : /* @__PURE__ */ Je() : /* @__PURE__ */ $e(),
4349
+ () => He(),
4350
+ () => He()
4347
4351
  ]
4348
4352
  ), e.append(a, C), e.pop();
4349
4353
  }
@@ -4355,16 +4359,16 @@ e.from_svg('<path d="M134,32V64a6,6,0,0,1-12,0V32a6,6,0,0,1,12,0Zm39.25,56.75A6,
4355
4359
  e.from_svg('<path d="M136,32V64a8,8,0,0,1-16,0V32a8,8,0,0,1,16,0Zm37.25,58.75a8,8,0,0,0,5.66-2.35l22.63-22.62a8,8,0,0,0-11.32-11.32L167.6,77.09a8,8,0,0,0,5.65,13.66ZM224,120H192a8,8,0,0,0,0,16h32a8,8,0,0,0,0-16Zm-45.09,47.6a8,8,0,0,0-11.31,11.31l22.62,22.63a8,8,0,0,0,11.32-11.32ZM128,184a8,8,0,0,0-8,8v32a8,8,0,0,0,16,0V192A8,8,0,0,0,128,184ZM77.09,167.6,54.46,190.22a8,8,0,0,0,11.32,11.32L88.4,178.91A8,8,0,0,0,77.09,167.6ZM72,128a8,8,0,0,0-8-8H32a8,8,0,0,0,0,16H64A8,8,0,0,0,72,128ZM65.78,54.46A8,8,0,0,0,54.46,65.78L77.09,88.4A8,8,0,0,0,88.4,77.09Z"></path>');
4356
4360
  e.from_svg('<path d="M132,32V64a4,4,0,0,1-8,0V32a4,4,0,0,1,8,0Zm41.25,54.75a4,4,0,0,0,2.83-1.18L198.71,63a4,4,0,0,0-5.66-5.66L170.43,79.92a4,4,0,0,0,2.82,6.83ZM224,124H192a4,4,0,0,0,0,8h32a4,4,0,0,0,0-8Zm-47.92,46.43a4,4,0,1,0-5.65,5.65l22.62,22.63a4,4,0,0,0,5.66-5.66ZM128,188a4,4,0,0,0-4,4v32a4,4,0,0,0,8,0V192A4,4,0,0,0,128,188ZM79.92,170.43,57.29,193.05A4,4,0,0,0,63,198.71l22.62-22.63a4,4,0,1,0-5.65-5.65ZM68,128a4,4,0,0,0-4-4H32a4,4,0,0,0,0,8H64A4,4,0,0,0,68,128ZM63,57.29A4,4,0,0,0,57.29,63L79.92,85.57a4,4,0,1,0,5.65-5.65Z"></path>');
4357
4361
  e.from_svg('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
4358
- var Fs = e.from_html('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'), Rs = e.from_html('<span class="loading loading-spinner loading-xs"></span>'), Gs = e.from_html('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), Os = e.from_html('<div class="text-center opacity-50 p-4"> </div>'), js = e.from_html('<div class="text-center opacity-50 p-4 text-sm"> </div>'), Ns = e.from_html('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'), Ds = e.from_html('<div class="leading-relaxed"> </div>'), Xs = e.from_html('<button class="w-full text-left card bg-base-100 shadow hover:shadow-md transition-all p-4 text-sm group border border-transparent hover:border-primary focus:outline-none focus:ring-2 focus:ring-primary"><div class="flex justify-between items-baseline mb-1"><span class="font-bold text-xs opacity-70 bg-base-200 px-1.5 py-0.5 rounded"> </span></div> <!></button>'), Ys = e.from_html('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>', 1), Us = e.from_html('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');
4359
- function qs(a, t) {
4362
+ var Fs = e.from_html('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'), Rs = e.from_html('<span class="loading loading-spinner loading-xs"></span>'), Gs = e.from_html('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), Os = e.from_html('<div class="text-center opacity-50 p-4"> </div>'), js = e.from_html('<div class="text-center opacity-50 p-4 text-sm"> </div>'), Ns = e.from_html('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'), Ds = e.from_html('<div class="leading-relaxed"><!></div>'), Xs = e.from_html('<div class="p-3 text-sm border-b border-base-200 last:border-none hover:bg-base-200/30 transition-colors"><!></div>'), Ys = e.from_html('<button class="w-full text-left bg-base-100 shadow-sm border border-base-200 rounded-box cursor-pointer hover:shadow-md transition-all block p-0 select-none"><div class="text-sm font-bold opacity-80 bg-base-200/50 flex items-center justify-between py-2 px-3 border-b border-base-200"><span> </span> <span class="badge badge-sm badge-ghost"> </span></div> <div class="p-0"></div></button>'), Us = e.from_html('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>', 1), qs = e.from_html('<div role="dialog"><div class="flex items-center justify-between p-4 border-b border-base-300"><h2 class="font-bold text-lg"> </h2> <!></div> <div class="p-4 border-b border-base-300 shrink-0"><div class="relative w-full"><input type="text" class="input input-bordered w-full pr-12"/> <button class="btn btn-primary absolute right-0 top-0 h-full rounded-l-none"><!></button></div></div> <div class="flex-1 overflow-y-auto p-4 space-y-4"><!></div></div>');
4363
+ function Ks(a, t) {
4360
4364
  e.push(t, !0);
4361
- const r = _e(ge);
4365
+ const r = he(pe);
4362
4366
  let f = e.state(""), i = e.derived(() => {
4363
4367
  var B;
4364
4368
  return ((B = r.config.search) == null ? void 0 : B.showCloseButton) ?? !0;
4365
4369
  });
4366
4370
  e.user_effect(() => {
4367
- r.searchQuery !== Ge(() => e.get(f)) && e.set(f, r.searchQuery, !0);
4371
+ r.searchQuery !== Oe(() => e.get(f)) && e.set(f, r.searchQuery, !0);
4368
4372
  });
4369
4373
  function x() {
4370
4374
  r.search(e.get(f));
@@ -4373,7 +4377,7 @@ function qs(a, t) {
4373
4377
  B.key === "Enter" && x();
4374
4378
  }
4375
4379
  function _(B) {
4376
- const F = r.canvases[B.canvasIndex];
4380
+ const F = r.canvases[B];
4377
4381
  F && r.setCanvas(F.id);
4378
4382
  }
4379
4383
  let C = e.derived(() => {
@@ -4383,7 +4387,7 @@ function qs(a, t) {
4383
4387
  var b = e.comment(), H = e.first_child(b);
4384
4388
  {
4385
4389
  var j = (B) => {
4386
- var F = Us(), Z = e.child(F), n = e.child(Z), s = e.child(n, !0);
4390
+ var F = qs(), Z = e.child(F), n = e.child(Z), s = e.child(n, !0);
4387
4391
  e.reset(n);
4388
4392
  var h = e.sibling(n, 2);
4389
4393
  {
@@ -4391,7 +4395,7 @@ function qs(a, t) {
4391
4395
  var d = Fs();
4392
4396
  d.__click = () => r.toggleSearchPanel();
4393
4397
  var w = e.child(d);
4394
- Ie(w, { size: 20, weight: "bold" }), e.reset(d), e.template_effect((E) => e.set_attribute(d, "aria-label", E), [() => /* @__PURE__ */ gt()]), e.append(c, d);
4398
+ Pe(w, { size: 20, weight: "bold" }), e.reset(d), e.template_effect((E) => e.set_attribute(d, "aria-label", E), [() => /* @__PURE__ */ ft()]), e.append(c, d);
4395
4399
  };
4396
4400
  e.if(h, (c) => {
4397
4401
  e.get(i) && c(y);
@@ -4408,7 +4412,7 @@ function qs(a, t) {
4408
4412
  var d = Rs();
4409
4413
  e.append(c, d);
4410
4414
  }, v = (c) => {
4411
- pt(c, { size: 20, weight: "bold" });
4415
+ ht(c, { size: 20, weight: "bold" });
4412
4416
  };
4413
4417
  e.if(V, (c) => {
4414
4418
  r.isSearching ? c(P) : c(v, !1);
@@ -4426,43 +4430,51 @@ function qs(a, t) {
4426
4430
  var E = (g) => {
4427
4431
  var m = Os(), N = e.child(m, !0);
4428
4432
  e.reset(m), e.template_effect((Y) => e.set_text(N, Y), [
4429
- () => /* @__PURE__ */ qe({ query: r.searchQuery })
4433
+ () => /* @__PURE__ */ Ke({ query: r.searchQuery })
4430
4434
  ]), e.append(g, m);
4431
- }, L = (g) => {
4435
+ }, I = (g) => {
4432
4436
  var m = e.comment(), N = e.first_child(m);
4433
4437
  {
4434
4438
  var Y = (p) => {
4435
- var z = js(), ae = e.child(z, !0);
4436
- e.reset(z), e.template_effect((I) => e.set_text(ae, I), [() => /* @__PURE__ */ Ke()]), e.append(p, z);
4439
+ var z = js(), re = e.child(z, !0);
4440
+ e.reset(z), e.template_effect((L) => e.set_text(re, L), [() => /* @__PURE__ */ We()]), e.append(p, z);
4437
4441
  }, X = (p) => {
4438
- var z = Ys(), ae = e.first_child(z), I = e.child(ae, !0);
4439
- e.reset(ae);
4440
- var D = e.sibling(ae, 2);
4441
- e.each(D, 17, () => r.searchResults, e.index, (K, U) => {
4442
- var ne = Xs();
4443
- ne.__click = () => _(e.get(U));
4444
- var J = e.child(ne), O = e.child(J), q = e.child(O, !0);
4445
- e.reset(O), e.reset(J);
4446
- var Q = e.sibling(J, 2);
4447
- {
4448
- var te = (re) => {
4449
- var ee = Ns(), W = e.child(ee), $ = e.child(W);
4450
- e.html($, () => e.get(U).before), e.reset(W);
4451
- var oe = e.sibling(W, 2), se = e.child(oe);
4452
- e.html(se, () => e.get(U).match), e.reset(oe);
4453
- var ce = e.sibling(oe, 2), de = e.child(ce);
4454
- e.html(de, () => e.get(U).after), e.reset(ce), e.reset(ee), e.append(re, ee);
4455
- }, ie = (re) => {
4456
- var ee = Ds(), W = e.child(ee, !0);
4457
- e.reset(ee), e.template_effect(() => e.set_text(W, e.get(U).match)), e.append(re, ee);
4458
- };
4459
- e.if(Q, (re) => {
4460
- e.get(U).type === "hit" ? re(te) : re(ie, !1);
4461
- });
4462
- }
4463
- e.reset(ne), e.template_effect(() => e.set_text(q, e.get(U).canvasLabel)), e.append(K, ne);
4464
- }), e.template_effect((K) => e.set_text(I, K), [
4465
- () => /* @__PURE__ */ We({ count: r.searchResults.length })
4442
+ var z = Us(), re = e.first_child(z), L = e.child(re, !0);
4443
+ e.reset(re);
4444
+ var D = e.sibling(re, 2);
4445
+ e.each(D, 17, () => r.searchResults, e.index, (K, q) => {
4446
+ var ae = Ys();
4447
+ ae.__click = () => _(e.get(q).canvasIndex);
4448
+ var J = e.child(ae), O = e.child(J), U = e.child(O, !0);
4449
+ e.reset(O);
4450
+ var Q = e.sibling(O, 2), te = e.child(Q);
4451
+ e.reset(Q), e.reset(J);
4452
+ var ne = e.sibling(J, 2);
4453
+ e.each(ne, 21, () => e.get(q).hits.slice(0, 1), e.index, (oe, ee) => {
4454
+ var W = Xs(), $ = e.child(W);
4455
+ {
4456
+ var ie = (se) => {
4457
+ var le = Ns(), ve = e.child(le), me = e.child(ve);
4458
+ e.html(me, () => e.get(ee).before), e.reset(ve);
4459
+ var _e = e.sibling(ve, 2), ge = e.child(_e);
4460
+ e.html(ge, () => e.get(ee).match), e.reset(_e);
4461
+ var fe = e.sibling(_e, 2), Ze = e.child(fe);
4462
+ e.html(Ze, () => e.get(ee).after), e.reset(fe), e.reset(le), e.append(se, le);
4463
+ }, de = (se) => {
4464
+ var le = Ds(), ve = e.child(le);
4465
+ e.html(ve, () => e.get(ee).match), e.reset(le), e.append(se, le);
4466
+ };
4467
+ e.if($, (se) => {
4468
+ e.get(ee).type === "hit" ? se(ie) : se(de, !1);
4469
+ });
4470
+ }
4471
+ e.reset(W), e.append(oe, W);
4472
+ }), e.reset(ne), e.reset(ae), e.template_effect(() => {
4473
+ e.set_text(U, e.get(q).canvasLabel), e.set_text(te, `${e.get(q).hits.length ?? ""}
4474
+ ${e.get(q).hits.length === 1 ? "match" : "matches"}`);
4475
+ }), e.append(K, ae);
4476
+ }), e.template_effect((K) => e.set_text(L, K), [
4477
+ () => /* @__PURE__ */ Qe({ count: r.searchResults.length })
4466
4478
  ]), e.append(p, z);
4467
4479
  };
4468
4480
  e.if(
@@ -4478,7 +4490,7 @@ function qs(a, t) {
4478
4490
  e.if(
4479
4491
  w,
4480
4492
  (g) => {
4481
- r.searchResults.length === 0 && r.searchQuery ? g(E) : g(L, !1);
4493
+ r.searchResults.length === 0 && r.searchQuery ? g(E) : g(I, !1);
4482
4494
  },
4483
4495
  !0
4484
4496
  );
@@ -4494,10 +4506,10 @@ function qs(a, t) {
4494
4506
  e.set_class(F, 1, `h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${r.config.transparentBackground ? "" : "border-l border-base-300"}`), e.set_style(F, `width: ${e.get(C) ?? ""}`), e.set_attribute(F, "aria-label", c), e.set_text(s, d), e.set_attribute(l, "placeholder", w), e.set_attribute(k, "aria-label", E);
4495
4507
  },
4496
4508
  [
4497
- () => /* @__PURE__ */ Ve(),
4498
- () => /* @__PURE__ */ ye(),
4499
- () => /* @__PURE__ */ Ue(),
4500
- () => /* @__PURE__ */ Ve()
4509
+ () => /* @__PURE__ */ Se(),
4510
+ () => /* @__PURE__ */ xe(),
4511
+ () => /* @__PURE__ */ qe(),
4512
+ () => /* @__PURE__ */ Se()
4501
4513
  ]
4502
4514
  ), e.bind_value(l, () => e.get(f), (c) => e.set(f, c)), e.append(B, F);
4503
4515
  };
@@ -4508,8 +4520,8 @@ function qs(a, t) {
4508
4520
  e.append(a, b), e.pop();
4509
4521
  }
4510
4522
  e.delegate(["click", "keydown"]);
4511
- var Ks = e.from_html('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'), Ws = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), Qs = e.from_html("<div><!> <!></div>"), Js = e.from_html('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'), $s = 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>'), e1 = e.from_html('<div class="w-full h-full flex items-center justify-center text-error"> </div>'), t1 = e.from_html('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'), r1 = e.from_html('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'), a1 = e.from_html('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'), n1 = e.from_html('<div class="relative w-full z-40 pointer-events-auto"><!></div>'), o1 = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), i1 = e.from_html('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'), l1 = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), s1 = e.from_html("<div><!> <!> <!></div>"), c1 = 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>');
4512
- function h1(a, t) {
4523
+ var Ws = e.from_html('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'), Qs = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), Js = e.from_html("<div><!> <!></div>"), $s = e.from_html('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'), e1 = 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>'), t1 = e.from_html('<div class="w-full h-full flex items-center justify-center text-error"> </div>'), r1 = e.from_html('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'), a1 = e.from_html('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'), n1 = e.from_html('<div class="flex-none h-[160px] w-full pointer-events-auto relative z-20"><!></div>'), o1 = e.from_html('<div class="relative w-full z-40 pointer-events-auto"><!></div>'), i1 = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), l1 = e.from_html('<div class="h-full w-[140px] pointer-events-auto relative"><!></div>'), s1 = e.from_html('<div class="h-full relative pointer-events-auto"><!></div>'), c1 = e.from_html("<div><!> <!> <!></div>"), d1 = 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>');
4524
+ function m1(a, t) {
4513
4525
  e.push(t, !0);
4514
4526
  const r = typeof window < "u";
4515
4527
  let f = e.prop(t, "plugins", 19, () => []), i = e.prop(t, "config", 19, () => ({})), x = e.prop(t, "viewerState", 15), M = e.state(void 0);
@@ -4520,7 +4532,7 @@ function h1(a, t) {
4520
4532
  x(
4521
4533
  _
4522
4534
  // Expose via bindable prop
4523
- ), bt(ge, _), Pe(() => {
4535
+ ), bt(pe, _), Te(() => {
4524
4536
  _.destroyAllPlugins();
4525
4537
  }), e.user_effect(() => {
4526
4538
  t.manifestId && t.manifestId !== _.manifestId && _.setManifest(t.manifestId);
@@ -4532,165 +4544,165 @@ function h1(a, t) {
4532
4544
  let b = "";
4533
4545
  e.user_effect(() => {
4534
4546
  if (i()) {
4535
- const I = JSON.stringify(i());
4536
- I !== b && (b = I, console.log("[Viewer] updateConfig called with new config:", i()), _.updateConfig(i()));
4547
+ const L = JSON.stringify(i());
4548
+ L !== b && (b = L, console.log("[Viewer] updateConfig called with new config:", i()), _.updateConfig(i()));
4537
4549
  }
4538
4550
  });
4539
4551
  let H = [];
4540
4552
  e.user_effect(() => {
4541
- const I = f();
4542
- return Ge(() => {
4553
+ const L = f();
4554
+ return Oe(() => {
4543
4555
  for (const D of H)
4544
4556
  _.unregisterPlugin(D);
4545
4557
  H = [];
4546
- for (const D of I) {
4547
- const K = D.id || `plugin-${Math.random().toString(36).substr(2, 9)}`, U = { ...D, id: K };
4548
- _.registerPlugin(U), H.push(K);
4558
+ for (const D of L) {
4559
+ const K = D.id || `plugin-${Math.random().toString(36).substr(2, 9)}`, q = { ...D, id: K };
4560
+ _.registerPlugin(q), H.push(K);
4549
4561
  }
4550
4562
  }), () => {
4551
4563
  for (const D of H)
4552
4564
  _.unregisterPlugin(D);
4553
4565
  H = [];
4554
4566
  };
4555
- }), Pe(() => {
4567
+ }), Te(() => {
4556
4568
  _.destroyAllPlugins();
4557
4569
  }), e.user_effect(() => {
4558
4570
  if (!r) return;
4559
- const I = () => {
4571
+ const L = () => {
4560
4572
  _.isFullScreen = !!document.fullscreenElement;
4561
4573
  };
4562
- return document.addEventListener("fullscreenchange", I), () => {
4563
- document.removeEventListener("fullscreenchange", I);
4574
+ return document.addEventListener("fullscreenchange", L), () => {
4575
+ document.removeEventListener("fullscreenchange", L);
4564
4576
  };
4565
4577
  });
4566
- let j = e.derived(() => _.showThumbnailGallery && _.dockSide === "left" || _.pluginPanels.some((I) => I.position === "left" && I.isVisible())), B = e.derived(() => _.showSearchPanel || _.showThumbnailGallery && _.dockSide === "right" || _.pluginPanels.some((I) => I.position === "right" && I.isVisible())), F = e.derived(() => _.manifestEntry), Z = e.derived(() => _.canvases), n = e.derived(() => _.currentCanvasIndex);
4578
+ let j = e.derived(() => _.showThumbnailGallery && _.dockSide === "left" || _.pluginPanels.some((L) => L.position === "left" && L.isVisible())), B = e.derived(() => _.showSearchPanel || _.showThumbnailGallery && _.dockSide === "right" || _.pluginPanels.some((L) => L.position === "right" && L.isVisible())), F = e.derived(() => _.manifestEntry), Z = e.derived(() => _.canvases), n = e.derived(() => _.currentCanvasIndex);
4567
4579
  e.user_effect(() => {
4568
4580
  if (_.pendingSearchQuery && e.get(F) && !e.get(F).isFetching && !e.get(F).error && e.get(F).manifesto) {
4569
- const I = _.pendingSearchQuery;
4570
- _.pendingSearchQuery = null, console.log("[Viewer] Manifest loaded, triggering deferred search:", I), _.search(I);
4581
+ const L = _.pendingSearchQuery;
4582
+ _.pendingSearchQuery = null, console.log("[Viewer] Manifest loaded, triggering deferred search:", L), _.search(L);
4571
4583
  }
4572
4584
  }), e.user_effect(() => {
4573
- var I;
4574
- e.get(Z) && e.get(Z).length > 0 && !_.canvasId && !((I = e.get(F)) != null && I.isFetching) && (console.log("[Viewer] Auto-selecting first canvas:", e.get(Z)[0].id), _.setCanvas(e.get(Z)[0].id));
4585
+ var L;
4586
+ e.get(Z) && e.get(Z).length > 0 && !_.canvasId && !((L = e.get(F)) != null && L.isFetching) && (console.log("[Viewer] Auto-selecting first canvas:", e.get(Z)[0].id), _.setCanvas(e.get(Z)[0].id));
4575
4587
  });
4576
4588
  let s = e.derived(() => {
4577
- var re, ee;
4589
+ var oe, ee;
4578
4590
  if (!e.get(Z) || e.get(n) === -1 || !e.get(Z)[e.get(n)])
4579
- return (re = e.get(F)) != null && re.isFetching || console.log("TriiiceratopsViewer: No canvas found"), null;
4580
- const I = e.get(Z)[e.get(n)];
4581
- let D = I.getImages();
4582
- if ((!D || !D.length) && I.getContent && (D = I.getContent()), !D || !D.length)
4583
- return I.__jsonld && I.__jsonld.items, (ee = e.get(F)) != null && ee.isFetching || console.log("TriiiceratopsViewer: No images/content in canvas"), null;
4591
+ return (oe = e.get(F)) != null && oe.isFetching || console.log("TriiiceratopsViewer: No canvas found"), null;
4592
+ const L = e.get(Z)[e.get(n)];
4593
+ let D = L.getImages();
4594
+ if ((!D || !D.length) && L.getContent && (D = L.getContent()), !D || !D.length)
4595
+ return L.__jsonld && L.__jsonld.items, (ee = e.get(F)) != null && ee.isFetching || console.log("TriiiceratopsViewer: No images/content in canvas"), null;
4584
4596
  const K = D[0];
4585
- let U = K.getResource ? K.getResource() : null;
4586
- if (!U && K.getBody) {
4597
+ let q = K.getResource ? K.getResource() : null;
4598
+ if (!q && K.getBody) {
4587
4599
  const W = K.getBody();
4588
- Array.isArray(W) && W.length > 0 ? U = W[0] : W && (U = W);
4600
+ Array.isArray(W) && W.length > 0 ? q = W[0] : W && (q = W);
4589
4601
  }
4590
- const ne = (U == null ? void 0 : U.__jsonld) || U, J = U && (U.id || U["@id"] || ne && (ne.service || ne.id || ne["@id"]));
4591
- if (U && !J && (U = null), !U) {
4602
+ const ae = (q == null ? void 0 : q.__jsonld) || q, J = q && (q.id || q["@id"] || ae && (ae.service || ae.id || ae["@id"]));
4603
+ if (q && !J && (q = null), !q) {
4592
4604
  const W = K.__jsonld || K;
4593
- W.body && (U = Array.isArray(W.body) ? W.body[0] : W.body);
4605
+ W.body && (q = Array.isArray(W.body) ? W.body[0] : W.body);
4594
4606
  }
4595
- if (!U)
4607
+ if (!q)
4596
4608
  return null;
4597
4609
  const O = (W) => W.id || W["@id"];
4598
- let q = [];
4599
- const Q = U.__jsonld || U;
4600
- if (Q.service && (q = Array.isArray(Q.service) ? Q.service : [Q.service]), !q.length && U.getServices && (q = U.getServices()), q.length > 0) {
4601
- const W = q.find(($) => {
4602
- const oe = $.getType ? $.getType() : $.type || $["@type"] || "", se = $.getProfile ? $.getProfile() : $.profile || "";
4603
- return oe === "ImageService1" || oe === "ImageService2" || oe === "ImageService3" || typeof se == "string" && se.includes("http://iiif.io/api/image") || typeof se == "string" && se === "level0";
4610
+ let U = [];
4611
+ const Q = q.__jsonld || q;
4612
+ if (Q.service && (U = Array.isArray(Q.service) ? Q.service : [Q.service]), !U.length && q.getServices && (U = q.getServices()), U.length > 0) {
4613
+ const W = U.find(($) => {
4614
+ const ie = $.getType ? $.getType() : $.type || $["@type"] || "", de = $.getProfile ? $.getProfile() : $.profile || "";
4615
+ return ie === "ImageService1" || ie === "ImageService2" || ie === "ImageService3" || typeof de == "string" && de.includes("http://iiif.io/api/image") || typeof de == "string" && de === "level0";
4604
4616
  });
4605
4617
  if (W) {
4606
4618
  let $ = O(W);
4607
4619
  return $ && !$.endsWith("/info.json") && ($ = `${$}/info.json`), $;
4608
4620
  }
4609
4621
  }
4610
- const te = O(U);
4622
+ const te = O(q);
4611
4623
  if (te && te.includes("/iiif/")) {
4612
- const W = te.split("/"), $ = W.findIndex((oe) => oe === "full" || oe.match(/^\d+,\d+,\d+,\d+$/));
4624
+ const W = te.split("/"), $ = W.findIndex((ie) => ie === "full" || ie.match(/^\d+,\d+,\d+,\d+$/));
4613
4625
  if ($ > 0)
4614
4626
  return `${W.slice(0, $).join("/")}/info.json`;
4615
4627
  }
4616
4628
  return console.log("TriiiceratopsViewer: No service or ID found, returning raw URL"), { type: "image", url: te };
4617
4629
  });
4618
- var h = c1(), y = e.child(h);
4630
+ var h = d1(), y = e.child(h);
4619
4631
  {
4620
- var A = (I) => {
4621
- var D = Qs(), K = e.child(D);
4632
+ var A = (L) => {
4633
+ var D = Js(), K = e.child(D);
4622
4634
  {
4623
- var U = (J) => {
4624
- var O = Ks(), q = e.child(O);
4625
- pe(q, {
4635
+ var q = (J) => {
4636
+ var O = Ws(), U = e.child(O);
4637
+ be(U, {
4626
4638
  get canvases() {
4627
4639
  return e.get(Z);
4628
4640
  }
4629
4641
  }), e.reset(O), e.append(J, O);
4630
4642
  };
4631
4643
  e.if(K, (J) => {
4632
- _.showThumbnailGallery && _.dockSide === "left" && J(U);
4644
+ _.showThumbnailGallery && _.dockSide === "left" && J(q);
4633
4645
  });
4634
4646
  }
4635
- var ne = e.sibling(K, 2);
4636
- e.each(ne, 17, () => _.pluginPanels, (J) => J.id, (J, O) => {
4637
- var q = e.comment(), Q = e.first_child(q);
4647
+ var ae = e.sibling(K, 2);
4648
+ e.each(ae, 17, () => _.pluginPanels, (J) => J.id, (J, O) => {
4649
+ var U = e.comment(), Q = e.first_child(U);
4638
4650
  {
4639
- var te = (ie) => {
4640
- var re = Ws(), ee = e.child(re);
4651
+ var te = (ne) => {
4652
+ var oe = Qs(), ee = e.child(oe);
4641
4653
  e.component(ee, () => e.get(O).component, (W, $) => {
4642
4654
  $(W, e.spread_props(() => e.get(O).props ?? {}, {
4643
4655
  get locale() {
4644
- return ve.current;
4656
+ return ue.current;
4645
4657
  }
4646
4658
  }));
4647
- }), e.reset(re), e.append(ie, re);
4659
+ }), e.reset(oe), e.append(ne, oe);
4648
4660
  };
4649
- e.if(Q, (ie) => {
4650
- e.get(O).isVisible() && e.get(O).position === "left" && ie(te);
4661
+ e.if(Q, (ne) => {
4662
+ e.get(O).isVisible() && e.get(O).position === "left" && ne(te);
4651
4663
  });
4652
4664
  }
4653
- e.append(J, q);
4654
- }), e.reset(D), e.template_effect(() => e.set_class(D, 1, `flex-none flex flex-row z-20 transition-all ${_.config.transparentBackground ? "" : "bg-base-200 border-r border-base-300"}`)), e.append(I, D);
4665
+ e.append(J, U);
4666
+ }), e.reset(D), e.template_effect(() => e.set_class(D, 1, `flex-none flex flex-row z-20 transition-all ${_.config.transparentBackground ? "" : "bg-base-200 border-r border-base-300"}`)), e.append(L, D);
4655
4667
  };
4656
- e.if(y, (I) => {
4657
- e.get(j) && I(A);
4668
+ e.if(y, (L) => {
4669
+ e.get(j) && L(A);
4658
4670
  });
4659
4671
  }
4660
4672
  var o = e.sibling(y, 2), l = e.child(o);
4661
4673
  {
4662
- var k = (I) => {
4663
- var D = Js(), K = e.child(D);
4664
- pe(K, {
4674
+ var k = (L) => {
4675
+ var D = $s(), K = e.child(D);
4676
+ be(K, {
4665
4677
  get canvases() {
4666
4678
  return e.get(Z);
4667
4679
  }
4668
- }), e.reset(D), e.append(I, D);
4680
+ }), e.reset(D), e.append(L, D);
4669
4681
  };
4670
- e.if(l, (I) => {
4671
- _.showThumbnailGallery && _.dockSide === "top" && I(k);
4682
+ e.if(l, (L) => {
4683
+ _.showThumbnailGallery && _.dockSide === "top" && L(k);
4672
4684
  });
4673
4685
  }
4674
4686
  var V = e.sibling(l, 2), P = e.child(V);
4675
4687
  {
4676
- var v = (I) => {
4677
- var D = $s();
4678
- e.append(I, D);
4679
- }, u = (I) => {
4688
+ var v = (L) => {
4689
+ var D = e1();
4690
+ e.append(L, D);
4691
+ }, u = (L) => {
4680
4692
  var D = e.comment(), K = e.first_child(D);
4681
4693
  {
4682
- var U = (J) => {
4683
- var O = e1(), q = e.child(O);
4694
+ var q = (J) => {
4695
+ var O = t1(), U = e.child(O);
4684
4696
  e.reset(O), e.template_effect(
4685
- (Q) => e.set_text(q, `${Q ?? ""}
4697
+ (Q) => e.set_text(U, `${Q ?? ""}
4686
4698
  ${e.get(F).error ?? ""}`),
4687
- [() => /* @__PURE__ */ ft()]
4699
+ [() => /* @__PURE__ */ _t()]
4688
4700
  ), e.append(J, O);
4689
- }, ne = (J) => {
4690
- var O = e.comment(), q = e.first_child(O);
4701
+ }, ae = (J) => {
4702
+ var O = e.comment(), U = e.first_child(O);
4691
4703
  {
4692
- var Q = (ie) => {
4693
- var re = e.comment(), ee = e.first_child(re);
4704
+ var Q = (ne) => {
4705
+ var oe = e.comment(), ee = e.first_child(oe);
4694
4706
  e.key(ee, () => e.get(s), (W) => {
4695
4707
  Sr(W, {
4696
4708
  get tileSources() {
@@ -4700,13 +4712,13 @@ function h1(a, t) {
4700
4712
  return _;
4701
4713
  }
4702
4714
  });
4703
- }), e.append(ie, re);
4704
- }, te = (ie) => {
4705
- var re = e.comment(), ee = e.first_child(re);
4715
+ }), e.append(ne, oe);
4716
+ }, te = (ne) => {
4717
+ var oe = e.comment(), ee = e.first_child(oe);
4706
4718
  {
4707
4719
  var W = ($) => {
4708
- var oe = t1(), se = e.child(oe, !0);
4709
- e.reset(oe), e.template_effect((ce) => e.set_text(se, ce), [() => /* @__PURE__ */ _t()]), e.append($, oe);
4720
+ var ie = r1(), de = e.child(ie, !0);
4721
+ e.reset(ie), e.template_effect((se) => e.set_text(de, se), [() => /* @__PURE__ */ ut()]), e.append($, ie);
4710
4722
  };
4711
4723
  e.if(
4712
4724
  ee,
@@ -4716,12 +4728,12 @@ function h1(a, t) {
4716
4728
  !0
4717
4729
  );
4718
4730
  }
4719
- e.append(ie, re);
4731
+ e.append(ne, oe);
4720
4732
  };
4721
4733
  e.if(
4722
- q,
4723
- (ie) => {
4724
- e.get(s) ? ie(Q) : ie(te, !1);
4734
+ U,
4735
+ (ne) => {
4736
+ e.get(s) ? ne(Q) : ne(te, !1);
4725
4737
  },
4726
4738
  !0
4727
4739
  );
@@ -4732,189 +4744,189 @@ function h1(a, t) {
4732
4744
  K,
4733
4745
  (J) => {
4734
4746
  var O;
4735
- (O = e.get(F)) != null && O.error ? J(U) : J(ne, !1);
4747
+ (O = e.get(F)) != null && O.error ? J(q) : J(ae, !1);
4736
4748
  },
4737
4749
  !0
4738
4750
  );
4739
4751
  }
4740
- e.append(I, D);
4752
+ e.append(L, D);
4741
4753
  };
4742
- e.if(P, (I) => {
4754
+ e.if(P, (L) => {
4743
4755
  var D;
4744
- (D = e.get(F)) != null && D.isFetching ? I(v) : I(u, !1);
4756
+ (D = e.get(F)) != null && D.isFetching ? L(v) : L(u, !1);
4745
4757
  });
4746
4758
  }
4747
4759
  var T = e.sibling(P, 2);
4748
- qi(T, {});
4760
+ q0(T, {});
4749
4761
  var R = e.sibling(T, 2);
4750
4762
  Es(R, {});
4751
4763
  var G = e.sibling(R, 2);
4752
4764
  {
4753
- var c = (I) => {
4754
- ws(I, {});
4765
+ var c = (L) => {
4766
+ ws(L, {});
4755
4767
  };
4756
- e.if(G, (I) => {
4757
- _.showRightMenu && I(c);
4768
+ e.if(G, (L) => {
4769
+ _.showRightMenu && L(c);
4758
4770
  });
4759
4771
  }
4760
4772
  var d = e.sibling(G, 2);
4761
4773
  {
4762
- var w = (I) => {
4763
- ks(I, {});
4774
+ var w = (L) => {
4775
+ ks(L, {});
4764
4776
  };
4765
- e.if(d, (I) => {
4766
- _.showLeftMenu && I(w);
4777
+ e.if(d, (L) => {
4778
+ _.showLeftMenu && L(w);
4767
4779
  });
4768
4780
  }
4769
4781
  var E = e.sibling(d, 2);
4770
- e.each(E, 17, () => _.pluginPanels, (I) => I.id, (I, D) => {
4771
- var K = e.comment(), U = e.first_child(K);
4782
+ e.each(E, 17, () => _.pluginPanels, (L) => L.id, (L, D) => {
4783
+ var K = e.comment(), q = e.first_child(K);
4772
4784
  {
4773
- var ne = (J) => {
4774
- var O = r1(), q = e.child(O);
4775
- e.component(q, () => e.get(D).component, (Q, te) => {
4785
+ var ae = (J) => {
4786
+ var O = a1(), U = e.child(O);
4787
+ e.component(U, () => e.get(D).component, (Q, te) => {
4776
4788
  te(Q, e.spread_props(() => e.get(D).props ?? {}, {
4777
4789
  get locale() {
4778
- return ve.current;
4790
+ return ue.current;
4779
4791
  }
4780
4792
  }));
4781
4793
  }), e.reset(O), e.append(J, O);
4782
4794
  };
4783
- e.if(U, (J) => {
4784
- e.get(D).isVisible() && e.get(D).position === "overlay" && J(ne);
4795
+ e.if(q, (J) => {
4796
+ e.get(D).isVisible() && e.get(D).position === "overlay" && J(ae);
4785
4797
  });
4786
4798
  }
4787
- e.append(I, K);
4799
+ e.append(L, K);
4788
4800
  });
4789
- var L = e.sibling(E, 2);
4801
+ var I = e.sibling(E, 2);
4790
4802
  {
4791
- var g = (I) => {
4792
- ui(I, {
4803
+ var g = (L) => {
4804
+ u0(L, {
4793
4805
  get viewerState() {
4794
4806
  return _;
4795
4807
  }
4796
4808
  });
4797
4809
  };
4798
- e.if(L, (I) => {
4799
- e.get(Z).length > 1 && _.showCanvasNav && I(g);
4810
+ e.if(I, (L) => {
4811
+ e.get(Z).length > 1 && _.showCanvasNav && L(g);
4800
4812
  });
4801
4813
  }
4802
- var m = e.sibling(L, 2);
4814
+ var m = e.sibling(I, 2);
4803
4815
  {
4804
- var N = (I) => {
4805
- pe(I, {
4816
+ var N = (L) => {
4817
+ be(L, {
4806
4818
  get canvases() {
4807
4819
  return e.get(Z);
4808
4820
  }
4809
4821
  });
4810
4822
  };
4811
- e.if(m, (I) => {
4812
- _.showThumbnailGallery && _.dockSide === "none" && I(N);
4823
+ e.if(m, (L) => {
4824
+ _.showThumbnailGallery && _.dockSide === "none" && L(N);
4813
4825
  });
4814
4826
  }
4815
4827
  e.reset(V);
4816
4828
  var Y = e.sibling(V, 2);
4817
4829
  {
4818
- var X = (I) => {
4819
- var D = a1(), K = e.child(D);
4820
- pe(K, {
4830
+ var X = (L) => {
4831
+ var D = n1(), K = e.child(D);
4832
+ be(K, {
4821
4833
  get canvases() {
4822
4834
  return e.get(Z);
4823
4835
  }
4824
- }), e.reset(D), e.append(I, D);
4836
+ }), e.reset(D), e.append(L, D);
4825
4837
  };
4826
- e.if(Y, (I) => {
4827
- _.showThumbnailGallery && _.dockSide === "bottom" && I(X);
4838
+ e.if(Y, (L) => {
4839
+ _.showThumbnailGallery && _.dockSide === "bottom" && L(X);
4828
4840
  });
4829
4841
  }
4830
4842
  var p = e.sibling(Y, 2);
4831
- e.each(p, 17, () => _.pluginPanels, (I) => I.id, (I, D) => {
4832
- var K = e.comment(), U = e.first_child(K);
4843
+ e.each(p, 17, () => _.pluginPanels, (L) => L.id, (L, D) => {
4844
+ var K = e.comment(), q = e.first_child(K);
4833
4845
  {
4834
- var ne = (J) => {
4835
- var O = n1(), q = e.child(O);
4836
- e.component(q, () => e.get(D).component, (Q, te) => {
4846
+ var ae = (J) => {
4847
+ var O = o1(), U = e.child(O);
4848
+ e.component(U, () => e.get(D).component, (Q, te) => {
4837
4849
  te(Q, e.spread_props(() => e.get(D).props ?? {}, {
4838
4850
  get locale() {
4839
- return ve.current;
4851
+ return ue.current;
4840
4852
  }
4841
4853
  }));
4842
4854
  }), e.reset(O), e.append(J, O);
4843
4855
  };
4844
- e.if(U, (J) => {
4845
- e.get(D).isVisible() && e.get(D).position === "bottom" && J(ne);
4856
+ e.if(q, (J) => {
4857
+ e.get(D).isVisible() && e.get(D).position === "bottom" && J(ae);
4846
4858
  });
4847
4859
  }
4848
- e.append(I, K);
4860
+ e.append(L, K);
4849
4861
  }), e.reset(o);
4850
4862
  var z = e.sibling(o, 2);
4851
4863
  {
4852
- var ae = (I) => {
4853
- var D = s1(), K = e.child(D);
4864
+ var re = (L) => {
4865
+ var D = c1(), K = e.child(D);
4854
4866
  {
4855
- var U = (q) => {
4856
- var Q = o1(), te = e.child(Q);
4857
- qs(te, {}), e.reset(Q), e.append(q, Q);
4867
+ var q = (U) => {
4868
+ var Q = i1(), te = e.child(Q);
4869
+ Ks(te, {}), e.reset(Q), e.append(U, Q);
4858
4870
  };
4859
- e.if(K, (q) => {
4860
- _.showSearchPanel && q(U);
4871
+ e.if(K, (U) => {
4872
+ _.showSearchPanel && U(q);
4861
4873
  });
4862
4874
  }
4863
- var ne = e.sibling(K, 2);
4875
+ var ae = e.sibling(K, 2);
4864
4876
  {
4865
- var J = (q) => {
4866
- var Q = i1(), te = e.child(Q);
4867
- pe(te, {
4877
+ var J = (U) => {
4878
+ var Q = l1(), te = e.child(Q);
4879
+ be(te, {
4868
4880
  get canvases() {
4869
4881
  return e.get(Z);
4870
4882
  }
4871
- }), e.reset(Q), e.append(q, Q);
4883
+ }), e.reset(Q), e.append(U, Q);
4872
4884
  };
4873
- e.if(ne, (q) => {
4874
- _.showThumbnailGallery && _.dockSide === "right" && q(J);
4885
+ e.if(ae, (U) => {
4886
+ _.showThumbnailGallery && _.dockSide === "right" && U(J);
4875
4887
  });
4876
4888
  }
4877
- var O = e.sibling(ne, 2);
4878
- e.each(O, 17, () => _.pluginPanels, (q) => q.id, (q, Q) => {
4879
- var te = e.comment(), ie = e.first_child(te);
4889
+ var O = e.sibling(ae, 2);
4890
+ e.each(O, 17, () => _.pluginPanels, (U) => U.id, (U, Q) => {
4891
+ var te = e.comment(), ne = e.first_child(te);
4880
4892
  {
4881
- var re = (ee) => {
4882
- var W = l1(), $ = e.child(W);
4883
- e.component($, () => e.get(Q).component, (oe, se) => {
4884
- se(oe, e.spread_props(() => e.get(Q).props ?? {}, {
4893
+ var oe = (ee) => {
4894
+ var W = s1(), $ = e.child(W);
4895
+ e.component($, () => e.get(Q).component, (ie, de) => {
4896
+ de(ie, e.spread_props(() => e.get(Q).props ?? {}, {
4885
4897
  get locale() {
4886
- return ve.current;
4898
+ return ue.current;
4887
4899
  }
4888
4900
  }));
4889
4901
  }), e.reset(W), e.append(ee, W);
4890
4902
  };
4891
- e.if(ie, (ee) => {
4892
- e.get(Q).isVisible() && e.get(Q).position === "right" && ee(re);
4903
+ e.if(ne, (ee) => {
4904
+ e.get(Q).isVisible() && e.get(Q).position === "right" && ee(oe);
4893
4905
  });
4894
4906
  }
4895
- e.append(q, te);
4896
- }), e.reset(D), e.template_effect(() => e.set_class(D, 1, `flex-none flex flex-row z-20 transition-all ${_.config.transparentBackground ? "" : "bg-base-200 border-l border-base-300"}`)), e.append(I, D);
4907
+ e.append(U, te);
4908
+ }), e.reset(D), e.template_effect(() => e.set_class(D, 1, `flex-none flex flex-row z-20 transition-all ${_.config.transparentBackground ? "" : "bg-base-200 border-l border-base-300"}`)), e.append(L, D);
4897
4909
  };
4898
- e.if(z, (I) => {
4899
- e.get(B) && I(ae);
4910
+ e.if(z, (L) => {
4911
+ e.get(B) && L(re);
4900
4912
  });
4901
4913
  }
4902
- e.reset(h), e.bind_this(h, (I) => e.set(M, I), () => e.get(M)), e.template_effect(() => {
4914
+ e.reset(h), e.bind_this(h, (L) => e.set(M, L), () => e.get(M)), e.template_effect(() => {
4903
4915
  e.set_class(h, 1, `flex w-full h-full relative overflow-hidden ${_.config.transparentBackground ? "" : "bg-base-100"}`), e.set_class(V, 1, `flex-1 relative min-h-0 w-full h-full ${_.config.transparentBackground ? "" : "bg-base-100"}`);
4904
4916
  }), e.append(a, h), e.pop();
4905
4917
  }
4906
4918
  export {
4907
4919
  $t as DAISYUI_THEMES,
4908
- w1 as ManifestsState,
4909
- h1 as TriiiceratopsViewer,
4910
- ge as VIEWER_STATE_KEY,
4920
+ y1 as ManifestsState,
4921
+ m1 as TriiiceratopsViewer,
4922
+ pe as VIEWER_STATE_KEY,
4911
4923
  At as ViewerState,
4912
4924
  gr as applyBuiltInTheme,
4913
4925
  ur as applyTheme,
4914
4926
  fr as applyThemeConfig,
4915
4927
  _r as clearThemeConfig,
4916
4928
  sr as hexToOklch,
4917
- u1 as isBuiltInTheme,
4929
+ p1 as isBuiltInTheme,
4918
4930
  dr as normalizeColor,
4919
- p1 as parseThemeConfig
4931
+ h1 as parseThemeConfig
4920
4932
  };