triiiceratops 0.9.12 → 0.9.13

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.
@@ -4,7 +4,7 @@ var Sa = (r) => {
4
4
  };
5
5
  var Jl = (r, e, t) => e in r ? Ql(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
6
6
  var Re = (r, e, t) => Jl(r, typeof e != "symbol" ? e + "" : e, t), gn = (r, e, t) => e.has(r) || Sa("Cannot " + t);
7
- var k = (r, e, t) => (gn(r, e, "read from private field"), t ? t.call(r) : e.get(r)), J = (r, e, t) => e.has(r) ? Sa("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), se = (r, e, t, o) => (gn(r, e, "write to private field"), o ? o.call(r, t) : e.set(r, t), t), Ce = (r, e, t) => (gn(r, e, "access private method"), t);
7
+ var k = (r, e, t) => (gn(r, e, "read from private field"), t ? t.call(r) : e.get(r)), J = (r, e, t) => e.has(r) ? Sa("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), se = (r, e, t, o) => (gn(r, e, "write to private field"), o ? o.call(r, t) : e.set(r, t), t), Ie = (r, e, t) => (gn(r, e, "access private method"), t);
8
8
  var Ii;
9
9
  typeof window < "u" && ((Ii = window.__svelte ?? (window.__svelte = {})).v ?? (Ii.v = /* @__PURE__ */ new Set())).add("5");
10
10
  const es = 1, ts = 2, Si = 4, rs = 8, os = 16, ns = 1, as = 4, is = 8, ls = 16, Mi = 1, ss = 2, Li = "[", tn = "[!", ca = "]", gr = {}, Ge = Symbol(), cs = "http://www.w3.org/1999/xhtml", us = "@attach", Un = !1;
@@ -154,7 +154,7 @@ function Ps(r, e) {
154
154
  function Rs(r) {
155
155
  return ga().has(r);
156
156
  }
157
- function Me(r, e = !1, t) {
157
+ function Le(r, e = !1, t) {
158
158
  je = {
159
159
  p: je,
160
160
  i: !1,
@@ -165,7 +165,7 @@ function Me(r, e = !1, t) {
165
165
  l: null
166
166
  };
167
167
  }
168
- function Le(r) {
168
+ function Oe(r) {
169
169
  var e = (
170
170
  /** @type {ComponentContext} */
171
171
  je
@@ -316,8 +316,8 @@ const Qo = class Qo {
316
316
  block_effects: []
317
317
  };
318
318
  for (const n of e)
319
- Ce(this, He, $n).call(this, n, t);
320
- this.is_fork || Ce(this, He, Zi).call(this), this.is_deferred() ? (Ce(this, He, or).call(this, t.effects), Ce(this, He, or).call(this, t.render_effects), Ce(this, He, or).call(this, t.block_effects)) : (No = this, ge = null, Oa(t.render_effects), Oa(t.effects), No = null, (o = k(this, Qr)) == null || o.resolve()), ze = null;
319
+ Ie(this, He, $n).call(this, n, t);
320
+ this.is_fork || Ie(this, He, Zi).call(this), this.is_deferred() ? (Ie(this, He, or).call(this, t.effects), Ie(this, He, or).call(this, t.render_effects), Ie(this, He, or).call(this, t.block_effects)) : (No = this, ge = null, Oa(t.render_effects), Oa(t.effects), No = null, (o = k(this, Qr)) == null || o.resolve()), ze = null;
321
321
  }
322
322
  /**
323
323
  * Associate a change to a given source with the current
@@ -420,7 +420,7 @@ $n = function(e, t) {
420
420
  }
421
421
  var u = o.parent;
422
422
  for (o = o.next; o === null && u !== null; )
423
- u === t.effect && (Ce(this, He, or).call(this, t.effects), Ce(this, He, or).call(this, t.render_effects), Ce(this, He, or).call(this, t.block_effects), t = /** @type {EffectTarget} */
423
+ u === t.effect && (Ie(this, He, or).call(this, t.effects), Ie(this, He, or).call(this, t.render_effects), Ie(this, He, or).call(this, t.block_effects), t = /** @type {EffectTarget} */
424
424
  t.parent), o = u.next, u = u.parent;
425
425
  }
426
426
  }, /**
@@ -428,14 +428,14 @@ $n = function(e, t) {
428
428
  */
429
429
  or = function(e) {
430
430
  for (const t of e)
431
- ((t.f & rt) !== 0 ? k(this, Or) : k(this, Tr)).push(t), Ce(this, He, Yn).call(this, t.deps), $e(t, Be);
431
+ ((t.f & rt) !== 0 ? k(this, Or) : k(this, Tr)).push(t), Ie(this, He, Yn).call(this, t.deps), $e(t, Be);
432
432
  }, /**
433
433
  * @param {Value[] | null} deps
434
434
  */
435
435
  Yn = function(e) {
436
436
  if (e !== null)
437
437
  for (const t of e)
438
- (t.f & Fe) === 0 || (t.f & mr) === 0 || (t.f ^= mr, Ce(this, He, Yn).call(
438
+ (t.f & Fe) === 0 || (t.f & mr) === 0 || (t.f ^= mr, Ie(this, He, Yn).call(
439
439
  this,
440
440
  /** @type {Derived} */
441
441
  t.deps
@@ -445,7 +445,7 @@ Yn = function(e) {
445
445
  for (const e of k(this, Mr)) e();
446
446
  k(this, Mr).clear();
447
447
  }
448
- k(this, ir) === 0 && Ce(this, He, Gi).call(this);
448
+ k(this, ir) === 0 && Ie(this, He, Gi).call(this);
449
449
  }, Gi = function() {
450
450
  var a;
451
451
  if (To.size > 1) {
@@ -483,7 +483,7 @@ Yn = function(e) {
483
483
  if (bt.length > 0) {
484
484
  ge = i, i.apply();
485
485
  for (const m of bt)
486
- Ce(a = i, He, $n).call(a, m, o);
486
+ Ie(a = i, He, $n).call(a, m, o);
487
487
  i.deactivate();
488
488
  }
489
489
  bt = n;
@@ -674,15 +674,15 @@ class Zs {
674
674
  const a = k(this, Jr);
675
675
  Jt(), /** @type {Comment} */
676
676
  a.nodeType === yr && /** @type {Comment} */
677
- a.data === tn ? Ce(this, Ve, Yi).call(this) : Ce(this, Ve, $i).call(this);
677
+ a.data === tn ? Ie(this, Ve, Yi).call(this) : Ie(this, Ve, $i).call(this);
678
678
  } else {
679
- var n = Ce(this, Ve, Wn).call(this);
679
+ var n = Ie(this, Ve, Wn).call(this);
680
680
  try {
681
681
  se(this, gt, Je(() => o(n)));
682
682
  } catch (a) {
683
683
  this.error(a);
684
684
  }
685
- k(this, $t) > 0 ? Ce(this, Ve, jo).call(this) : se(this, vt, !1);
685
+ k(this, $t) > 0 ? Ie(this, Ve, jo).call(this) : se(this, vt, !1);
686
686
  }
687
687
  return () => {
688
688
  var a;
@@ -707,7 +707,7 @@ class Zs {
707
707
  * @param {1 | -1} d
708
708
  */
709
709
  update_pending_count(e) {
710
- Ce(this, Ve, Xn).call(this, e), se(this, cr, k(this, cr) + e), k(this, Yt) && zr(k(this, Yt), k(this, cr));
710
+ Ie(this, Ve, Xn).call(this, e), se(this, cr, k(this, cr) + e), k(this, Yt) && zr(k(this, Yt), k(this, cr));
711
711
  }
712
712
  get_effect_pending() {
713
713
  return k(this, Jo).call(this), c(
@@ -733,7 +733,7 @@ class Zs {
733
733
  }
734
734
  n = !0, a && Ss(), Lt.ensure(), se(this, cr, 0), k(this, St) !== null && fr(k(this, St), () => {
735
735
  se(this, St, null);
736
- }), se(this, vt, this.has_pending_snippet()), se(this, gt, Ce(this, Ve, Ho).call(this, () => (se(this, ur, !1), Je(() => k(this, sr).call(this, k(this, st)))))), k(this, $t) > 0 ? Ce(this, Ve, jo).call(this) : se(this, vt, !1);
736
+ }), se(this, vt, this.has_pending_snippet()), se(this, gt, Ie(this, Ve, Ho).call(this, () => (se(this, ur, !1), Je(() => k(this, sr).call(this, k(this, st)))))), k(this, $t) > 0 ? Ie(this, Ve, jo).call(this) : se(this, vt, !1);
737
737
  };
738
738
  var s = we;
739
739
  try {
@@ -744,7 +744,7 @@ class Zs {
744
744
  et(s);
745
745
  }
746
746
  o && tr(() => {
747
- se(this, St, Ce(this, Ve, Ho).call(this, () => {
747
+ se(this, St, Ie(this, Ve, Ho).call(this, () => {
748
748
  Lt.ensure(), se(this, ur, !0);
749
749
  try {
750
750
  return Je(() => {
@@ -777,8 +777,8 @@ vt = new WeakMap(), st = new WeakMap(), Jr = new WeakMap(), Ct = new WeakMap(),
777
777
  }, Yi = function() {
778
778
  const e = k(this, Ct).pending;
779
779
  e && (se(this, Qe, Je(() => e(k(this, st)))), Lt.enqueue(() => {
780
- var t = Ce(this, Ve, Wn).call(this);
781
- se(this, gt, Ce(this, Ve, Ho).call(this, () => (Lt.ensure(), Je(() => k(this, sr).call(this, t))))), k(this, $t) > 0 ? Ce(this, Ve, jo).call(this) : (fr(
780
+ var t = Ie(this, Ve, Wn).call(this);
781
+ se(this, gt, Ie(this, Ve, Ho).call(this, () => (Lt.ensure(), Je(() => k(this, sr).call(this, t))))), k(this, $t) > 0 ? Ie(this, Ve, jo).call(this) : (fr(
782
782
  /** @type {Effect} */
783
783
  k(this, Qe),
784
784
  () => {
@@ -819,7 +819,7 @@ Ho = function(e) {
819
819
  Xn = function(e) {
820
820
  var t;
821
821
  if (!this.has_pending_snippet()) {
822
- this.parent && Ce(t = this.parent, Ve, Xn).call(t, e);
822
+ this.parent && Ie(t = this.parent, Ve, Xn).call(t, e);
823
823
  return;
824
824
  }
825
825
  se(this, $t, k(this, $t) + e), k(this, $t) === 0 && (se(this, vt, !1), k(this, Qe) && fr(k(this, Qe), () => {
@@ -1022,7 +1022,7 @@ function wr(r, e) {
1022
1022
  return t;
1023
1023
  }
1024
1024
  // @__NO_SIDE_EFFECTS__
1025
- function ce(r, e) {
1025
+ function ue(r, e) {
1026
1026
  const t = wr(r);
1027
1027
  return bl(t), t;
1028
1028
  }
@@ -1031,7 +1031,7 @@ function el(r, e = !1, t = !0) {
1031
1031
  const o = wr(r);
1032
1032
  return e || (o.equals = Ni), o;
1033
1033
  }
1034
- function ne(r, e, t = !1) {
1034
+ function ae(r, e, t = !1) {
1035
1035
  we !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
1036
1036
  // to ensure we error if state is set inside an inspect effect
1037
1037
  (!Ot || (we.f & La) !== 0) && Hi() && (we.f & (Fe | Zt | ha | La)) !== 0 && !(We != null && We.includes(r)) && Is();
@@ -1065,10 +1065,10 @@ function Bs() {
1065
1065
  }
1066
1066
  function qs(r, e = 1) {
1067
1067
  var t = c(r), o = e === 1 ? t++ : t--;
1068
- return ne(r, t), o;
1068
+ return ae(r, t), o;
1069
1069
  }
1070
1070
  function $r(r) {
1071
- ne(r, r.v + 1);
1071
+ ae(r, r.v + 1);
1072
1072
  }
1073
1073
  function tl(r, e) {
1074
1074
  var t = r.reactions;
@@ -1096,7 +1096,7 @@ function De(r) {
1096
1096
  const e = Oi(r);
1097
1097
  if (e !== hs && e !== ps)
1098
1098
  return r;
1099
- var t = /* @__PURE__ */ new Map(), o = ua(r), n = /* @__PURE__ */ ce(0), a = pr, i = (s) => {
1099
+ var t = /* @__PURE__ */ new Map(), o = ua(r), n = /* @__PURE__ */ ue(0), a = pr, i = (s) => {
1100
1100
  if (pr === a)
1101
1101
  return s();
1102
1102
  var d = we, u = pr;
@@ -1104,7 +1104,7 @@ function De(r) {
1104
1104
  var l = s();
1105
1105
  return et(d), Va(u), l;
1106
1106
  };
1107
- return o && t.set("length", /* @__PURE__ */ ce(
1107
+ return o && t.set("length", /* @__PURE__ */ ue(
1108
1108
  /** @type {any[]} */
1109
1109
  r.length
1110
1110
  )), new Proxy(
@@ -1115,19 +1115,19 @@ function De(r) {
1115
1115
  (!("value" in u) || u.configurable === !1 || u.enumerable === !1 || u.writable === !1) && Es();
1116
1116
  var l = t.get(d);
1117
1117
  return l === void 0 ? l = i(() => {
1118
- var m = /* @__PURE__ */ ce(u.value);
1118
+ var m = /* @__PURE__ */ ue(u.value);
1119
1119
  return t.set(d, m), m;
1120
- }) : ne(l, u.value, !0), !0;
1120
+ }) : ae(l, u.value, !0), !0;
1121
1121
  },
1122
1122
  deleteProperty(s, d) {
1123
1123
  var u = t.get(d);
1124
1124
  if (u === void 0) {
1125
1125
  if (d in s) {
1126
- const l = i(() => /* @__PURE__ */ ce(Ge));
1126
+ const l = i(() => /* @__PURE__ */ ue(Ge));
1127
1127
  t.set(d, l), $r(n);
1128
1128
  }
1129
1129
  } else
1130
- ne(u, Ge), $r(n);
1130
+ ae(u, Ge), $r(n);
1131
1131
  return !0;
1132
1132
  },
1133
1133
  get(s, d, u) {
@@ -1136,7 +1136,7 @@ function De(r) {
1136
1136
  return r;
1137
1137
  var l = t.get(d), m = d in s;
1138
1138
  if (l === void 0 && (!m || (b = jt(s, d)) != null && b.writable) && (l = i(() => {
1139
- var _ = De(m ? s[d] : Ge), f = /* @__PURE__ */ ce(_);
1139
+ var _ = De(m ? s[d] : Ge), f = /* @__PURE__ */ ue(_);
1140
1140
  return f;
1141
1141
  }), t.set(d, l)), l !== void 0) {
1142
1142
  var p = c(l);
@@ -1168,7 +1168,7 @@ function De(r) {
1168
1168
  var u = t.get(d), l = u !== void 0 && u.v !== Ge || Reflect.has(s, d);
1169
1169
  if (u !== void 0 || ye !== null && (!l || (p = jt(s, d)) != null && p.writable)) {
1170
1170
  u === void 0 && (u = i(() => {
1171
- var b = l ? De(s[d]) : Ge, _ = /* @__PURE__ */ ce(b);
1171
+ var b = l ? De(s[d]) : Ge, _ = /* @__PURE__ */ ue(b);
1172
1172
  return _;
1173
1173
  }), t.set(d, u));
1174
1174
  var m = c(u);
@@ -1184,14 +1184,14 @@ function De(r) {
1184
1184
  for (var b = u; b < /** @type {Source<number>} */
1185
1185
  m.v; b += 1) {
1186
1186
  var _ = t.get(b + "");
1187
- _ !== void 0 ? ne(_, Ge) : b in s && (_ = i(() => /* @__PURE__ */ ce(Ge)), t.set(b + "", _));
1187
+ _ !== void 0 ? ae(_, Ge) : b in s && (_ = i(() => /* @__PURE__ */ ue(Ge)), t.set(b + "", _));
1188
1188
  }
1189
1189
  if (m === void 0)
1190
- (!p || (T = jt(s, d)) != null && T.writable) && (m = i(() => /* @__PURE__ */ ce(void 0)), ne(m, De(u)), t.set(d, m));
1190
+ (!p || (T = jt(s, d)) != null && T.writable) && (m = i(() => /* @__PURE__ */ ue(void 0)), ae(m, De(u)), t.set(d, m));
1191
1191
  else {
1192
1192
  p = m.v !== Ge;
1193
1193
  var f = i(() => De(u));
1194
- ne(m, f);
1194
+ ae(m, f);
1195
1195
  }
1196
1196
  var h = Reflect.getOwnPropertyDescriptor(s, d);
1197
1197
  if (h != null && h.set && h.set.call(l, u), !p) {
@@ -1200,7 +1200,7 @@ function De(r) {
1200
1200
  /** @type {Source<number>} */
1201
1201
  t.get("length")
1202
1202
  ), L = Number(d);
1203
- Number.isInteger(L) && L >= w.v && ne(w, L + 1);
1203
+ Number.isInteger(L) && L >= w.v && ae(w, L + 1);
1204
1204
  }
1205
1205
  $r(n);
1206
1206
  }
@@ -1438,7 +1438,7 @@ function ec(r) {
1438
1438
  function un(r, e = 0) {
1439
1439
  return Et(fa | e, r, !0);
1440
1440
  }
1441
- function ue(r, e = [], t = [], o = []) {
1441
+ function ce(r, e = [], t = [], o = []) {
1442
1442
  Wi(o, e, t, (n) => {
1443
1443
  Et(fa, () => r(...n.map(c)), !0);
1444
1444
  });
@@ -2027,7 +2027,7 @@ const hc = ["touchstart", "touchmove"];
2027
2027
  function pc(r) {
2028
2028
  return hc.includes(r);
2029
2029
  }
2030
- function Se(r, e) {
2030
+ function Me(r, e) {
2031
2031
  var t = e == null ? "" : typeof e == "object" ? e + "" : e;
2032
2032
  t !== (r.__t ?? (r.__t = r.nodeValue)) && (r.__t = t, r.nodeValue = t + "");
2033
2033
  }
@@ -2086,7 +2086,7 @@ function Il(r, { target: e, anchor: t, props: o = {}, events: n, context: a, int
2086
2086
  },
2087
2087
  (p) => {
2088
2088
  if (a) {
2089
- Me({});
2089
+ Le({});
2090
2090
  var b = (
2091
2091
  /** @type {ComponentContext} */
2092
2092
  je
@@ -2100,7 +2100,7 @@ function Il(r, { target: e, anchor: t, props: o = {}, events: n, context: a, int
2100
2100
  ), u = r(p, o) || {}, de && (ye.nodes.end = he, he === null || he.nodeType !== yr || /** @type {Comment} */
2101
2101
  he.data !== ca))
2102
2102
  throw Lo(), gr;
2103
- a && Le();
2103
+ a && Oe();
2104
2104
  }
2105
2105
  ), () => {
2106
2106
  var _;
@@ -2370,15 +2370,15 @@ function Tt(r, e, t, o, n, a = null) {
2370
2370
  for (var g = /* @__PURE__ */ new Set(), y = (
2371
2371
  /** @type {Batch} */
2372
2372
  ge
2373
- ), N = il(), M = 0; M < w; M += 1) {
2373
+ ), V = il(), M = 0; M < w; M += 1) {
2374
2374
  de && he.nodeType === yr && /** @type {Comment} */
2375
2375
  he.data === ca && (i = /** @type {Comment} */
2376
2376
  he, L = !0, kt(!1));
2377
- var V = p[M], E = o(V, M), A = b ? null : s.get(E);
2378
- A ? (A.v && zr(A.v, V), A.i && zr(A.i, M), N && y.skipped_effects.delete(A.e)) : (A = yc(
2377
+ var N = p[M], E = o(N, M), A = b ? null : s.get(E);
2378
+ A ? (A.v && zr(A.v, N), A.i && zr(A.i, M), V && y.skipped_effects.delete(A.e)) : (A = yc(
2379
2379
  s,
2380
2380
  b ? i : Ha ?? (Ha = tt()),
2381
- V,
2381
+ N,
2382
2382
  E,
2383
2383
  M,
2384
2384
  n,
@@ -2387,7 +2387,7 @@ function Tt(r, e, t, o, n, a = null) {
2387
2387
  ), b || (A.e.f |= Ht), s.set(E, A)), g.add(E);
2388
2388
  }
2389
2389
  if (w === 0 && a && !l && (b ? l = Je(() => a(i)) : (l = Je(() => a(Ha ?? (Ha = tt()))), l.f |= Ht)), de && w > 0 && qe(Bo()), !b)
2390
- if (N) {
2390
+ if (V) {
2391
2391
  for (const [B, W] of s)
2392
2392
  g.has(B) || y.skipped_effects.add(W.e);
2393
2393
  y.oncommit(_), y.ondiscard(() => {
@@ -2423,12 +2423,12 @@ function _c(r, e, t, o, n) {
2423
2423
  if (p.length < b.length) {
2424
2424
  var T = b[0], g;
2425
2425
  l = T.prev;
2426
- var y = p[0], N = p[p.length - 1];
2426
+ var y = p[0], V = p[p.length - 1];
2427
2427
  for (g = 0; g < p.length; g += 1)
2428
2428
  Ur(p[g], T, t);
2429
2429
  for (g = 0; g < b.length; g += 1)
2430
2430
  u.delete(b[g]);
2431
- Bt(r, y.prev, N.next), Bt(r, l, y), Bt(r, N, T), d = T, l = N, w -= 1, p = [], b = [];
2431
+ Bt(r, y.prev, V.next), Bt(r, l, y), Bt(r, V, T), d = T, l = V, w -= 1, p = [], b = [];
2432
2432
  } else
2433
2433
  u.delete(h), Ur(h, d, t), Bt(r, h.prev, h.next), Bt(r, h, l === null ? r.effect.first : l.next), Bt(r, l, h), l = h;
2434
2434
  continue;
@@ -2452,13 +2452,13 @@ function _c(r, e, t, o, n) {
2452
2452
  (h.f & dt) === 0 && M.push(h);
2453
2453
  for (; d !== null; )
2454
2454
  (d.f & dt) === 0 && d !== r.fallback && M.push(d), d = d.next;
2455
- var V = M.length;
2456
- if (V > 0) {
2455
+ var N = M.length;
2456
+ if (N > 0) {
2457
2457
  var E = (o & Si) !== 0 && i === 0 ? t : null;
2458
2458
  if (a) {
2459
- for (w = 0; w < V; w += 1)
2459
+ for (w = 0; w < N; w += 1)
2460
2460
  (Z = (S = M[w].nodes) == null ? void 0 : S.a) == null || Z.measure();
2461
- for (w = 0; w < V; w += 1)
2461
+ for (w = 0; w < N; w += 1)
2462
2462
  (q = (X = M[w].nodes) == null ? void 0 : X.a) == null || q.fix();
2463
2463
  }
2464
2464
  wc(r, M, E);
@@ -2501,7 +2501,7 @@ function Bt(r, e, t) {
2501
2501
  }
2502
2502
  function vr(r, e, t = !1, o = !1, n = !1) {
2503
2503
  var a = r, i = "";
2504
- ue(() => {
2504
+ ce(() => {
2505
2505
  var s = (
2506
2506
  /** @type {Effect} */
2507
2507
  ye
@@ -2639,7 +2639,7 @@ function Ec(r, e) {
2639
2639
  }
2640
2640
  return r == null ? null : String(r);
2641
2641
  }
2642
- function Te(r, e, t, o, n, a) {
2642
+ function Ae(r, e, t, o, n, a) {
2643
2643
  var i = r.__className;
2644
2644
  if (de || i !== t || i === void 0) {
2645
2645
  var s = Ac(t, o, a);
@@ -2758,80 +2758,80 @@ function Sc(r, e, t, o, n = !1, a = !1) {
2758
2758
  _ in t || (t[_] = null);
2759
2759
  t.class ? t.class = ya(t.class) : t[Dr] && (t.class = null), t[Zr] && (t.style ?? (t.style = null));
2760
2760
  var f = Pl(r);
2761
- for (const N in t) {
2762
- let M = t[N];
2763
- if (b && N === "value" && M == null) {
2764
- r.value = r.__value = "", p[N] = M;
2761
+ for (const V in t) {
2762
+ let M = t[V];
2763
+ if (b && V === "value" && M == null) {
2764
+ r.value = r.__value = "", p[V] = M;
2765
2765
  continue;
2766
2766
  }
2767
- if (N === "class") {
2767
+ if (V === "class") {
2768
2768
  var h = r.namespaceURI === "http://www.w3.org/1999/xhtml";
2769
- Te(r, h, M, o, e == null ? void 0 : e[Dr], t[Dr]), p[N] = M, p[Dr] = t[Dr];
2769
+ Ae(r, h, M, o, e == null ? void 0 : e[Dr], t[Dr]), p[V] = M, p[Dr] = t[Dr];
2770
2770
  continue;
2771
2771
  }
2772
- if (N === "style") {
2773
- Vr(r, M, e == null ? void 0 : e[Zr], t[Zr]), p[N] = M, p[Zr] = t[Zr];
2772
+ if (V === "style") {
2773
+ Vr(r, M, e == null ? void 0 : e[Zr], t[Zr]), p[V] = M, p[Zr] = t[Zr];
2774
2774
  continue;
2775
2775
  }
2776
- var w = p[N];
2777
- if (!(M === w && !(M === void 0 && r.hasAttribute(N)))) {
2778
- p[N] = M;
2779
- var L = N[0] + N[1];
2776
+ var w = p[V];
2777
+ if (!(M === w && !(M === void 0 && r.hasAttribute(V)))) {
2778
+ p[V] = M;
2779
+ var L = V[0] + V[1];
2780
2780
  if (L !== "$$")
2781
2781
  if (L === "on") {
2782
- const V = {}, E = "$$" + N;
2783
- let A = N.slice(2);
2782
+ const N = {}, E = "$$" + V;
2783
+ let A = V.slice(2);
2784
2784
  var T = uc(A);
2785
- if (sc(A) && (A = A.slice(0, -7), V.capture = !0), !T && w) {
2785
+ if (sc(A) && (A = A.slice(0, -7), N.capture = !0), !T && w) {
2786
2786
  if (M != null) continue;
2787
- r.removeEventListener(A, p[E], V), p[E] = null;
2787
+ r.removeEventListener(A, p[E], N), p[E] = null;
2788
2788
  }
2789
2789
  if (M != null)
2790
2790
  if (T)
2791
2791
  r[`__${A}`] = M, rr([A]);
2792
2792
  else {
2793
2793
  let B = function(W) {
2794
- p[N].call(this, W);
2794
+ p[V].call(this, W);
2795
2795
  };
2796
- p[E] = ic(A, r, B, V);
2796
+ p[E] = ic(A, r, B, N);
2797
2797
  }
2798
2798
  else T && (r[`__${A}`] = void 0);
2799
- } else if (N === "style")
2800
- be(r, N, M);
2801
- else if (N === "autofocus")
2799
+ } else if (V === "style")
2800
+ be(r, V, M);
2801
+ else if (V === "autofocus")
2802
2802
  Ys(
2803
2803
  /** @type {HTMLElement} */
2804
2804
  r,
2805
2805
  !!M
2806
2806
  );
2807
- else if (!u && (N === "__value" || N === "value" && M != null))
2807
+ else if (!u && (V === "__value" || V === "value" && M != null))
2808
2808
  r.value = r.__value = M;
2809
- else if (N === "selected" && b)
2809
+ else if (V === "selected" && b)
2810
2810
  Ic(
2811
2811
  /** @type {HTMLOptionElement} */
2812
2812
  r,
2813
2813
  M
2814
2814
  );
2815
2815
  else {
2816
- var g = N;
2816
+ var g = V;
2817
2817
  l || (g = fc(g));
2818
2818
  var y = g === "defaultValue" || g === "defaultChecked";
2819
2819
  if (M == null && !u && !y)
2820
- if (d[N] = null, g === "value" || g === "checked") {
2821
- let V = (
2820
+ if (d[V] = null, g === "value" || g === "checked") {
2821
+ let N = (
2822
2822
  /** @type {HTMLInputElement} */
2823
2823
  r
2824
2824
  );
2825
2825
  const E = e === void 0;
2826
2826
  if (g === "value") {
2827
- let A = V.defaultValue;
2828
- V.removeAttribute(g), V.defaultValue = A, V.value = V.__value = E ? A : null;
2827
+ let A = N.defaultValue;
2828
+ N.removeAttribute(g), N.defaultValue = A, N.value = N.__value = E ? A : null;
2829
2829
  } else {
2830
- let A = V.defaultChecked;
2831
- V.removeAttribute(g), V.defaultChecked = A, V.checked = E ? A : !1;
2830
+ let A = N.defaultChecked;
2831
+ N.removeAttribute(g), N.defaultChecked = A, N.checked = E ? A : !1;
2832
2832
  }
2833
2833
  } else
2834
- r.removeAttribute(N);
2834
+ r.removeAttribute(V);
2835
2835
  else y || f.includes(g) && (u || typeof M != "string") ? (r[g] = M, g in d && (d[g] = Ge)) : typeof M != "function" && be(r, g, M);
2836
2836
  }
2837
2837
  }
@@ -3094,7 +3094,7 @@ function Do(r, e, t, o) {
3094
3094
  (function(T, g) {
3095
3095
  if (arguments.length > 0) {
3096
3096
  const y = g ? c(h) : n ? De(T) : T;
3097
- return ne(h, y), f = !0, i !== void 0 && (i = y), T;
3097
+ return ae(h, y), f = !0, i !== void 0 && (i = y), T;
3098
3098
  }
3099
3099
  return xr && f || (w.f & Dt) !== 0 ? h.v : c(h);
3100
3100
  })
@@ -3130,7 +3130,7 @@ class Rc {
3130
3130
  return s === pa ? !0 : (c(t.get(s) ?? o(s, Reflect.get(i, s))), Reflect.has(i, s));
3131
3131
  },
3132
3132
  set(i, s, d) {
3133
- return ne(t.get(s) ?? o(s, d), d), Reflect.set(i, s, d);
3133
+ return ae(t.get(s) ?? o(s, d), d), Reflect.set(i, s, d);
3134
3134
  }
3135
3135
  }
3136
3136
  );
@@ -3427,50 +3427,50 @@ function Vc(r) {
3427
3427
  });
3428
3428
  }), t;
3429
3429
  }
3430
- var Oe = {}, Ua;
3430
+ var Te = {}, Ua;
3431
3431
  function Nc() {
3432
- if (Ua) return Oe;
3433
- Ua = 1, Object.defineProperty(Oe, "__esModule", { value: !0 }), Oe.ViewingHint = Oe.ViewingDirection = Oe.ServiceType = Oe.ServiceProfile = Oe.RenderingFormat = Oe.MediaType = Oe.IIIFResourceType = Oe.ExternalResourceType = Oe.Behavior = Oe.AnnotationMotivation = void 0;
3432
+ if (Ua) return Te;
3433
+ Ua = 1, Object.defineProperty(Te, "__esModule", { value: !0 }), Te.ViewingHint = Te.ViewingDirection = Te.ServiceType = Te.ServiceProfile = Te.RenderingFormat = Te.MediaType = Te.IIIFResourceType = Te.ExternalResourceType = Te.Behavior = Te.AnnotationMotivation = void 0;
3434
3434
  var r;
3435
3435
  (function(l) {
3436
3436
  l.BOOKMARKING = "oa:bookmarking", l.CLASSIFYING = "oa:classifying", l.COMMENTING = "oa:commenting", l.DESCRIBING = "oa:describing", l.EDITING = "oa:editing", l.HIGHLIGHTING = "oa:highlighting", l.IDENTIFYING = "oa:identifying", l.LINKING = "oa:linking", l.MODERATING = "oa:moderating", l.PAINTING = "sc:painting", l.QUESTIONING = "oa:questioning", l.REPLYING = "oa:replying", l.TAGGING = "oa:tagging", l.TRANSCRIBING = "oad:transcribing";
3437
- })(r || (Oe.AnnotationMotivation = r = {}));
3437
+ })(r || (Te.AnnotationMotivation = r = {}));
3438
3438
  var e;
3439
3439
  (function(l) {
3440
3440
  l.AUTO_ADVANCE = "auto-advance", l.CONTINUOUS = "continuous", l.FACING_PAGES = "facing-pages", l.HIDDEN = "hidden", l.INDIVIDUALS = "individuals", l.MULTI_PART = "multi-part", l.NO_NAV = "no-nav", l.NON_PAGED = "non-paged", l.PAGED = "paged", l.REPEAT = "repeat", l.SEQUENCE = "sequence", l.THUMBNAIL_NAV = "thumbnail-nav", l.TOGETHER = "together", l.UNORDERED = "unordered";
3441
- })(e || (Oe.Behavior = e = {}));
3441
+ })(e || (Te.Behavior = e = {}));
3442
3442
  var t;
3443
3443
  (function(l) {
3444
3444
  l.CANVAS = "canvas", l.CHOICE = "choice", l.OA_CHOICE = "oa:choice", l.CONTENT_AS_TEXT = "contentastext", l.DATASET = "dataset", l.DOCUMENT = "document", l.IMAGE = "image", l.MODEL = "model", l.MOVING_IMAGE = "movingimage", l.PDF = "pdf", l.PHYSICAL_OBJECT = "physicalobject", l.SOUND = "sound", l.TEXT = "text", l.TEXTUALBODY = "textualbody", l.VIDEO = "video";
3445
- })(t || (Oe.ExternalResourceType = t = {}));
3445
+ })(t || (Te.ExternalResourceType = t = {}));
3446
3446
  var o;
3447
3447
  (function(l) {
3448
3448
  l.ANNOTATION = "annotation", l.ANNOTATION_COLLECTION = "annotationcollection", l.ANNOTATION_PAGE = "annotationpage", l.CANVAS = "canvas", l.COLLECTION = "collection", l.MANIFEST = "manifest", l.RANGE = "range", l.SEQUENCE = "sequence";
3449
- })(o || (Oe.IIIFResourceType = o = {}));
3449
+ })(o || (Te.IIIFResourceType = o = {}));
3450
3450
  var n;
3451
3451
  (function(l) {
3452
3452
  l.APNG = "image/apng", l.AUDIO_MP4 = "audio/mp4", l.AUDIO_OGG = "audio/ogg", l.AVIF = "audio/avif", l.CORTO = "application/corto", l.DICOM = "application/dicom", l.DRACO = "application/draco", l.EPUB = "application/epub+zip", l.GIF = "image/gif", l.GIRDER = "image/vnd.kitware.girder", l.GLB = "model/gltf-binary", l.GLTF = "model/gltf+json", l.IIIF_PRESENTATION_2 = 'application/ld+json;profile="http://iiif.io/api/presentation/2/context.json"', l.IIIF_PRESENTATION_3 = 'application/ld+json;profile="http://iiif.io/api/presentation/3/context.json"', l.JPG = "image/jpeg", l.M3U8 = "application/vnd.apple.mpegurl", l.MP3 = "audio/mp3", l.MPEG = "audio/mpeg", l.MPEG_DASH = "application/dash+xml", l.OBJ = "model/obj", l.OPF = "application/oebps-package+xml", l.PDF = "application/pdf", l.PLY = "application/ply", l.PNG = "image/png", l.SVG = "image/svg+xml", l.THREEJS = "application/vnd.threejs+json", l.USDZ = "model/vnd.usd+zip", l.VIDEO_MP4 = "video/mp4", l.VIDEO_OGG = "video/ogg", l.WAV = "audio/wav", l.WEBM = "video/webm", l.WEBP = "image/webp";
3453
- })(n || (Oe.MediaType = n = {}));
3453
+ })(n || (Te.MediaType = n = {}));
3454
3454
  var a;
3455
3455
  (function(l) {
3456
3456
  l.DOC = "application/msword", l.DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document", l.ODT = "application/vnd.oasis.opendocument.text", l.PDF = "application/pdf";
3457
- })(a || (Oe.RenderingFormat = a = {}));
3457
+ })(a || (Te.RenderingFormat = a = {}));
3458
3458
  var i;
3459
3459
  (function(l) {
3460
3460
  l.IMAGE_0_COMPLIANCE_LEVEL_0 = "http://library.stanford.edu/iiif/image-api/compliance.html#level0", l.IMAGE_0_COMPLIANCE_LEVEL_1 = "http://library.stanford.edu/iiif/image-api/compliance.html#level1", l.IMAGE_0_COMPLIANCE_LEVEL_2 = "http://library.stanford.edu/iiif/image-api/compliance.html#level2", l.IMAGE_0_CONFORMANCE_LEVEL_0 = "http://library.stanford.edu/iiif/image-api/conformance.html#level0", l.IMAGE_0_CONFORMANCE_LEVEL_1 = "http://library.stanford.edu/iiif/image-api/conformance.html#level1", l.IMAGE_0_CONFORMANCE_LEVEL_2 = "http://library.stanford.edu/iiif/image-api/conformance.html#level2", l.IMAGE_1_COMPLIANCE_LEVEL_0 = "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0", l.IMAGE_1_COMPLIANCE_LEVEL_1 = "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1", l.IMAGE_1_COMPLIANCE_LEVEL_2 = "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2", l.IMAGE_1_CONFORMANCE_LEVEL_0 = "http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0", l.IMAGE_1_CONFORMANCE_LEVEL_1 = "http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1", l.IMAGE_1_CONFORMANCE_LEVEL_2 = "http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2", l.IMAGE_1_LEVEL_0 = "http://iiif.io/api/image/1/level0.json", l.IMAGE_1_PROFILE_LEVEL_0 = "http://iiif.io/api/image/1/profiles/level0.json", l.IMAGE_1_LEVEL_1 = "http://iiif.io/api/image/1/level1.json", l.IMAGE_1_PROFILE_LEVEL_1 = "http://iiif.io/api/image/1/profiles/level1.json", l.IMAGE_1_LEVEL_2 = "http://iiif.io/api/image/1/level2.json", l.IMAGE_1_PROFILE_LEVEL_2 = "http://iiif.io/api/image/1/profiles/level2.json", l.IMAGE_2_LEVEL_0 = "http://iiif.io/api/image/2/level0.json", l.IMAGE_2_PROFILE_LEVEL_0 = "http://iiif.io/api/image/2/profiles/level0.json", l.IMAGE_2_LEVEL_1 = "http://iiif.io/api/image/2/level1.json", l.IMAGE_2_PROFILE_LEVEL_1 = "http://iiif.io/api/image/2/profiles/level1.json", l.IMAGE_2_LEVEL_2 = "http://iiif.io/api/image/2/level2.json", l.IMAGE_2_PROFILE_LEVEL_2 = "http://iiif.io/api/image/2/profiles/level2.json", l.AUTH_0_CLICK_THROUGH = "http://iiif.io/api/auth/0/login/clickthrough", l.AUTH_0_LOGIN = "http://iiif.io/api/auth/0/login", l.AUTH_0_LOGOUT = "http://iiif.io/api/auth/0/logout", l.AUTH_0_RESTRICTED = "http://iiif.io/api/auth/0/login/restricted", l.AUTH_0_TOKEN = "http://iiif.io/api/auth/0/token", l.AUTH_1_CLICK_THROUGH = "http://iiif.io/api/auth/1/clickthrough", l.AUTH_1_EXTERNAL = "http://iiif.io/api/auth/1/external", l.AUTH_1_KIOSK = "http://iiif.io/api/auth/1/kiosk", l.AUTH_1_LOGIN = "http://iiif.io/api/auth/1/login", l.AUTH_1_LOGOUT = "http://iiif.io/api/auth/1/logout", l.AUTH_1_PROBE = "http://iiif.io/api/auth/1/probe", l.AUTH_1_TOKEN = "http://iiif.io/api/auth/1/token", l.SEARCH_0 = "http://iiif.io/api/search/0/search", l.SEARCH_0_AUTO_COMPLETE = "http://iiif.io/api/search/0/autocomplete", l.SEARCH_1 = "http://iiif.io/api/search/1/search", l.SEARCH_1_AUTO_COMPLETE = "http://iiif.io/api/search/1/autocomplete", l.SEARCH_2 = "http://iiif.io/api/search/2/search", l.SEARCH_2_AUTO_COMPLETE = "http://iiif.io/api/search/2/autocomplete", l.TRACKING_EXTENSIONS = "http://universalviewer.io/tracking-extensions-profile", l.UI_EXTENSIONS = "http://universalviewer.io/ui-extensions-profile", l.PRINT_EXTENSIONS = "http://universalviewer.io/print-extensions-profile", l.SHARE_EXTENSIONS = "http://universalviewer.io/share-extensions-profile", l.DOWNLOAD_EXTENSIONS = "http://universalviewer.io/download-extensions-profile", l.OTHER_MANIFESTATIONS = "http://iiif.io/api/otherManifestations.json", l.IXIF = "http://wellcomelibrary.org/ld/ixif/0/alpha.json";
3461
- })(i || (Oe.ServiceProfile = i = {}));
3461
+ })(i || (Te.ServiceProfile = i = {}));
3462
3462
  var s;
3463
3463
  (function(l) {
3464
3464
  l.IMAGE_SERVICE_2 = "ImageService2", l.IMAGE_SERVICE_3 = "ImageService3", l.SEARCH_SERVICE_2 = "SearchService2", l.AUTO_COMPLETE_SERVICE_2 = "AutoCompleteService2";
3465
- })(s || (Oe.ServiceType = s = {}));
3465
+ })(s || (Te.ServiceType = s = {}));
3466
3466
  var d;
3467
3467
  (function(l) {
3468
3468
  l.BOTTOM_TO_TOP = "bottom-to-top", l.LEFT_TO_RIGHT = "left-to-right", l.RIGHT_TO_LEFT = "right-to-left", l.TOP_TO_BOTTOM = "top-to-bottom";
3469
- })(d || (Oe.ViewingDirection = d = {}));
3469
+ })(d || (Te.ViewingDirection = d = {}));
3470
3470
  var u;
3471
3471
  return (function(l) {
3472
3472
  l.CONTINUOUS = "continuous", l.INDIVIDUALS = "individuals", l.NON_PAGED = "non-paged", l.PAGED = "paged", l.TOP = "top";
3473
- })(u || (Oe.ViewingHint = u = {})), Oe;
3473
+ })(u || (Te.ViewingHint = u = {})), Te;
3474
3474
  }
3475
3475
  var $ = Nc(), Hc = /* @__PURE__ */ (function() {
3476
3476
  var r = function(e, t) {
@@ -5638,13 +5638,13 @@ var I0 = function(r, e) {
5638
5638
  }, ro;
5639
5639
  class S0 {
5640
5640
  constructor() {
5641
- J(this, ro, /* @__PURE__ */ ce(De({})));
5641
+ J(this, ro, /* @__PURE__ */ ue(De({})));
5642
5642
  }
5643
5643
  get manifests() {
5644
5644
  return c(k(this, ro));
5645
5645
  }
5646
5646
  set manifests(e) {
5647
- ne(k(this, ro), e, !0);
5647
+ ae(k(this, ro), e, !0);
5648
5648
  }
5649
5649
  async fetchManifest(e) {
5650
5650
  if (!this.manifests[e]) {
@@ -5729,44 +5729,44 @@ const nr = new S0();
5729
5729
  var oo, no, ao, io, lo, so, co, uo, fo, ho, po, vo, go, mo, bo, wo, _o, yo, ko, xo, Ao, Eo, Co, Io, So, Mo;
5730
5730
  class M0 {
5731
5731
  constructor(e = null, t = null, o = []) {
5732
- J(this, oo, /* @__PURE__ */ ce(null));
5733
- J(this, no, /* @__PURE__ */ ce(null));
5734
- J(this, ao, /* @__PURE__ */ ce(!1));
5735
- J(this, io, /* @__PURE__ */ ce(!1));
5736
- J(this, lo, /* @__PURE__ */ ce(!1));
5737
- J(this, so, /* @__PURE__ */ ce(!1));
5738
- J(this, co, /* @__PURE__ */ ce(!1));
5739
- J(this, uo, /* @__PURE__ */ ce(!1));
5740
- J(this, fo, /* @__PURE__ */ ce("bottom"));
5741
- J(this, ho, /* @__PURE__ */ ce(De(/* @__PURE__ */ new Set())));
5742
- J(this, po, /* @__PURE__ */ ce(De({})));
5732
+ J(this, oo, /* @__PURE__ */ ue(null));
5733
+ J(this, no, /* @__PURE__ */ ue(null));
5734
+ J(this, ao, /* @__PURE__ */ ue(!1));
5735
+ J(this, io, /* @__PURE__ */ ue(!1));
5736
+ J(this, lo, /* @__PURE__ */ ue(!1));
5737
+ J(this, so, /* @__PURE__ */ ue(!1));
5738
+ J(this, co, /* @__PURE__ */ ue(!1));
5739
+ J(this, uo, /* @__PURE__ */ ue(!1));
5740
+ J(this, fo, /* @__PURE__ */ ue("bottom"));
5741
+ J(this, ho, /* @__PURE__ */ ue(De(/* @__PURE__ */ new Set())));
5742
+ J(this, po, /* @__PURE__ */ ue(De({})));
5743
5743
  J(
5744
5744
  this,
5745
5745
  vo,
5746
5746
  // Gallery State (Lifted for persistence during re-docking)
5747
- /* @__PURE__ */ ce(De({ x: 20, y: 100 }))
5747
+ /* @__PURE__ */ ue(De({ x: 20, y: 100 }))
5748
5748
  );
5749
- J(this, go, /* @__PURE__ */ ce(De({ width: 300, height: 400 })));
5750
- J(this, mo, /* @__PURE__ */ ce(!1));
5751
- J(this, bo, /* @__PURE__ */ ce(De({ x: 0, y: 0 })));
5752
- J(this, wo, /* @__PURE__ */ ce(null));
5753
- J(this, _o, /* @__PURE__ */ ce(null));
5749
+ J(this, go, /* @__PURE__ */ ue(De({ width: 300, height: 400 })));
5750
+ J(this, mo, /* @__PURE__ */ ue(!1));
5751
+ J(this, bo, /* @__PURE__ */ ue(De({ x: 0, y: 0 })));
5752
+ J(this, wo, /* @__PURE__ */ ue(null));
5753
+ J(this, _o, /* @__PURE__ */ ue(null));
5754
5754
  Re(this, "eventTarget", null);
5755
- J(this, yo, /* @__PURE__ */ ce(""));
5756
- J(this, ko, /* @__PURE__ */ ce(De([])));
5757
- J(this, xo, /* @__PURE__ */ ce(!1));
5758
- J(this, Ao, /* @__PURE__ */ ce(!1));
5759
- J(this, Eo, /* @__PURE__ */ ce(De([])));
5755
+ J(this, yo, /* @__PURE__ */ ue(""));
5756
+ J(this, ko, /* @__PURE__ */ ue(De([])));
5757
+ J(this, xo, /* @__PURE__ */ ue(!1));
5758
+ J(this, Ao, /* @__PURE__ */ ue(!1));
5759
+ J(this, Eo, /* @__PURE__ */ ue(De([])));
5760
5760
  J(
5761
5761
  this,
5762
5762
  Co,
5763
5763
  // ==================== PLUGIN STATE ====================
5764
5764
  /** Registered plugins */
5765
- /* @__PURE__ */ ce(De([]))
5765
+ /* @__PURE__ */ ue(De([]))
5766
5766
  );
5767
- J(this, Io, /* @__PURE__ */ ce(De([])));
5768
- J(this, So, /* @__PURE__ */ ce(De([])));
5769
- J(this, Mo, /* @__PURE__ */ ce(null));
5767
+ J(this, Io, /* @__PURE__ */ ue(De([])));
5768
+ J(this, So, /* @__PURE__ */ ue(De([])));
5769
+ J(this, Mo, /* @__PURE__ */ ue(null));
5770
5770
  Re(this, "pluginEventHandlers", /* @__PURE__ */ new Map());
5771
5771
  this.manifestId = e || null, this.canvasId = t || null, this.manifestId && nr.fetchManifest(this.manifestId);
5772
5772
  for (const n of o)
@@ -5776,67 +5776,67 @@ class M0 {
5776
5776
  return c(k(this, oo));
5777
5777
  }
5778
5778
  set manifestId(e) {
5779
- ne(k(this, oo), e, !0);
5779
+ ae(k(this, oo), e, !0);
5780
5780
  }
5781
5781
  get canvasId() {
5782
5782
  return c(k(this, no));
5783
5783
  }
5784
5784
  set canvasId(e) {
5785
- ne(k(this, no), e, !0);
5785
+ ae(k(this, no), e, !0);
5786
5786
  }
5787
5787
  get showAnnotations() {
5788
5788
  return c(k(this, ao));
5789
5789
  }
5790
5790
  set showAnnotations(e) {
5791
- ne(k(this, ao), e, !0);
5791
+ ae(k(this, ao), e, !0);
5792
5792
  }
5793
5793
  get showThumbnailGallery() {
5794
5794
  return c(k(this, io));
5795
5795
  }
5796
5796
  set showThumbnailGallery(e) {
5797
- ne(k(this, io), e, !0);
5797
+ ae(k(this, io), e, !0);
5798
5798
  }
5799
5799
  get isGalleryDockedBottom() {
5800
5800
  return c(k(this, lo));
5801
5801
  }
5802
5802
  set isGalleryDockedBottom(e) {
5803
- ne(k(this, lo), e, !0);
5803
+ ae(k(this, lo), e, !0);
5804
5804
  }
5805
5805
  get isGalleryDockedRight() {
5806
5806
  return c(k(this, so));
5807
5807
  }
5808
5808
  set isGalleryDockedRight(e) {
5809
- ne(k(this, so), e, !0);
5809
+ ae(k(this, so), e, !0);
5810
5810
  }
5811
5811
  get isFullScreen() {
5812
5812
  return c(k(this, co));
5813
5813
  }
5814
5814
  set isFullScreen(e) {
5815
- ne(k(this, co), e, !0);
5815
+ ae(k(this, co), e, !0);
5816
5816
  }
5817
5817
  get showMetadataDialog() {
5818
5818
  return c(k(this, uo));
5819
5819
  }
5820
5820
  set showMetadataDialog(e) {
5821
- ne(k(this, uo), e, !0);
5821
+ ae(k(this, uo), e, !0);
5822
5822
  }
5823
5823
  get dockSide() {
5824
5824
  return c(k(this, fo));
5825
5825
  }
5826
5826
  set dockSide(e) {
5827
- ne(k(this, fo), e, !0);
5827
+ ae(k(this, fo), e, !0);
5828
5828
  }
5829
5829
  get visibleAnnotationIds() {
5830
5830
  return c(k(this, ho));
5831
5831
  }
5832
5832
  set visibleAnnotationIds(e) {
5833
- ne(k(this, ho), e, !0);
5833
+ ae(k(this, ho), e, !0);
5834
5834
  }
5835
5835
  get config() {
5836
5836
  return c(k(this, po));
5837
5837
  }
5838
5838
  set config(e) {
5839
- ne(k(this, po), e, !0);
5839
+ ae(k(this, po), e, !0);
5840
5840
  }
5841
5841
  get showRightMenu() {
5842
5842
  return this.config.showRightMenu ?? !0;
@@ -5851,37 +5851,37 @@ class M0 {
5851
5851
  return c(k(this, vo));
5852
5852
  }
5853
5853
  set galleryPosition(e) {
5854
- ne(k(this, vo), e, !0);
5854
+ ae(k(this, vo), e, !0);
5855
5855
  }
5856
5856
  get gallerySize() {
5857
5857
  return c(k(this, go));
5858
5858
  }
5859
5859
  set gallerySize(e) {
5860
- ne(k(this, go), e, !0);
5860
+ ae(k(this, go), e, !0);
5861
5861
  }
5862
5862
  get isGalleryDragging() {
5863
5863
  return c(k(this, mo));
5864
5864
  }
5865
5865
  set isGalleryDragging(e) {
5866
- ne(k(this, mo), e, !0);
5866
+ ae(k(this, mo), e, !0);
5867
5867
  }
5868
5868
  get galleryDragOffset() {
5869
5869
  return c(k(this, bo));
5870
5870
  }
5871
5871
  set galleryDragOffset(e) {
5872
- ne(k(this, bo), e, !0);
5872
+ ae(k(this, bo), e, !0);
5873
5873
  }
5874
5874
  get dragOverSide() {
5875
5875
  return c(k(this, wo));
5876
5876
  }
5877
5877
  set dragOverSide(e) {
5878
- ne(k(this, wo), e, !0);
5878
+ ae(k(this, wo), e, !0);
5879
5879
  }
5880
5880
  get galleryCenterPanelRect() {
5881
5881
  return c(k(this, _o));
5882
5882
  }
5883
5883
  set galleryCenterPanelRect(e) {
5884
- ne(k(this, _o), e, !0);
5884
+ ae(k(this, _o), e, !0);
5885
5885
  }
5886
5886
  setEventTarget(e) {
5887
5887
  this.eventTarget = e;
@@ -5992,25 +5992,25 @@ class M0 {
5992
5992
  return c(k(this, yo));
5993
5993
  }
5994
5994
  set searchQuery(e) {
5995
- ne(k(this, yo), e, !0);
5995
+ ae(k(this, yo), e, !0);
5996
5996
  }
5997
5997
  get searchResults() {
5998
5998
  return c(k(this, ko));
5999
5999
  }
6000
6000
  set searchResults(e) {
6001
- ne(k(this, ko), e, !0);
6001
+ ae(k(this, ko), e, !0);
6002
6002
  }
6003
6003
  get isSearching() {
6004
6004
  return c(k(this, xo));
6005
6005
  }
6006
6006
  set isSearching(e) {
6007
- ne(k(this, xo), e, !0);
6007
+ ae(k(this, xo), e, !0);
6008
6008
  }
6009
6009
  get showSearchPanel() {
6010
6010
  return c(k(this, Ao));
6011
6011
  }
6012
6012
  set showSearchPanel(e) {
6013
- ne(k(this, Ao), e, !0);
6013
+ ae(k(this, Ao), e, !0);
6014
6014
  }
6015
6015
  toggleSearchPanel() {
6016
6016
  this.showSearchPanel = !this.showSearchPanel, this.showSearchPanel || (this.searchAnnotations = []), this.dispatchStateChange();
@@ -6019,7 +6019,7 @@ class M0 {
6019
6019
  return c(k(this, Eo));
6020
6020
  }
6021
6021
  set searchAnnotations(e) {
6022
- ne(k(this, Eo), e, !0);
6022
+ ae(k(this, Eo), e, !0);
6023
6023
  }
6024
6024
  get currentCanvasSearchAnnotations() {
6025
6025
  return this.canvasId ? this.searchAnnotations.filter((e) => e.canvasId === this.canvasId) : [];
@@ -6055,21 +6055,21 @@ class M0 {
6055
6055
  for (const w of f) {
6056
6056
  const L = l.find((T) => T["@id"] === w || T.id === w);
6057
6057
  if (L && L.on) {
6058
- const T = typeof L.on == "string" ? L.on : L.on["@id"] || L.on.id, g = T.split("#")[0], y = p(T), N = this.canvases.findIndex((M) => M.id === g);
6059
- if (N >= 0) {
6060
- if (!h.has(N)) {
6061
- const M = this.canvases[N];
6062
- let V = "Canvas " + (N + 1);
6058
+ const T = typeof L.on == "string" ? L.on : L.on["@id"] || L.on.id, g = T.split("#")[0], y = p(T), V = this.canvases.findIndex((M) => M.id === g);
6059
+ if (V >= 0) {
6060
+ if (!h.has(V)) {
6061
+ const M = this.canvases[V];
6062
+ let N = "Canvas " + (V + 1);
6063
6063
  try {
6064
6064
  if (M.getLabel) {
6065
6065
  const E = M.getLabel();
6066
- Array.isArray(E) && E.length > 0 ? V = E[0].value : typeof E == "string" && (V = E);
6067
- } else M.label && (typeof M.label == "string" ? V = M.label : Array.isArray(M.label) && (V = (t = M.label[0]) == null ? void 0 : t.value));
6066
+ Array.isArray(E) && E.length > 0 ? N = E[0].value : typeof E == "string" && (N = E);
6067
+ } else M.label && (typeof M.label == "string" ? N = M.label : Array.isArray(M.label) && (N = (t = M.label[0]) == null ? void 0 : t.value));
6068
6068
  } catch {
6069
6069
  }
6070
- h.set(N, { label: String(V), bounds: [] });
6070
+ h.set(V, { label: String(N), bounds: [] });
6071
6071
  }
6072
- y && h.get(N).bounds.push(y);
6072
+ y && h.get(V).bounds.push(y);
6073
6073
  }
6074
6074
  }
6075
6075
  }
@@ -6139,25 +6139,25 @@ class M0 {
6139
6139
  return c(k(this, Co));
6140
6140
  }
6141
6141
  set plugins(e) {
6142
- ne(k(this, Co), e, !0);
6142
+ ae(k(this, Co), e, !0);
6143
6143
  }
6144
6144
  get pluginMenuButtons() {
6145
6145
  return c(k(this, Io));
6146
6146
  }
6147
6147
  set pluginMenuButtons(e) {
6148
- ne(k(this, Io), e, !0);
6148
+ ae(k(this, Io), e, !0);
6149
6149
  }
6150
6150
  get pluginPanels() {
6151
6151
  return c(k(this, So));
6152
6152
  }
6153
6153
  set pluginPanels(e) {
6154
- ne(k(this, So), e, !0);
6154
+ ae(k(this, So), e, !0);
6155
6155
  }
6156
6156
  get osdViewer() {
6157
6157
  return c(k(this, Mo));
6158
6158
  }
6159
6159
  set osdViewer(e) {
6160
- ne(k(this, Mo), e, !0);
6160
+ ae(k(this, Mo), e, !0);
6161
6161
  }
6162
6162
  createPluginContext() {
6163
6163
  const e = this;
@@ -6627,10 +6627,10 @@ function ru(r, e = /* @__PURE__ */ new Set()) {
6627
6627
  return tu(t, o, n);
6628
6628
  }).filter((t) => t !== null);
6629
6629
  }
6630
- var ou = /* @__PURE__ */ Q("<div></div>"), nu = /* @__PURE__ */ D('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'), au = /* @__PURE__ */ Q('<div class="w-full h-full relative"><div class="w-full h-full osd-background bg-base-100"></div> <!></div>');
6630
+ var ou = /* @__PURE__ */ Q("<div></div>"), nu = /* @__PURE__ */ D('<svg class="absolute pointer-events-auto"><title> </title><polygon stroke-width="2"></polygon></svg>'), au = /* @__PURE__ */ Q('<div class="w-full h-full relative"><div></div> <!></div>');
6631
6631
  function iu(r, e) {
6632
- Me(e, !0);
6633
- let t = Do(e, "viewerState", 7), o = /* @__PURE__ */ ce(void 0), n = /* @__PURE__ */ ce(void 0), a = /* @__PURE__ */ ce(void 0), i = /* @__PURE__ */ ce(0), s = /* @__PURE__ */ F(() => {
6632
+ Le(e, !0);
6633
+ let t = Do(e, "viewerState", 7), o = /* @__PURE__ */ ue(void 0), n = /* @__PURE__ */ ue(void 0), a = /* @__PURE__ */ ue(void 0), i = /* @__PURE__ */ ue(0), s = /* @__PURE__ */ F(() => {
6634
6634
  if (!t().manifestId || !t().canvasId)
6635
6635
  return [];
6636
6636
  const _ = nr.getAnnotations(t().manifestId, t().canvasId), f = t().currentCanvasSearchAnnotations;
@@ -6669,18 +6669,18 @@ function iu(r, e) {
6669
6669
  });
6670
6670
  } else if (h.geometry.type === "POLYGON") {
6671
6671
  const w = h.geometry.points.map((M) => {
6672
- const V = _.imageToViewportCoordinates(new (c(a)).Point(M[0], M[1])), E = c(n).viewport.viewportToViewerElementCoordinates(V);
6672
+ const N = _.imageToViewportCoordinates(new (c(a)).Point(M[0], M[1])), E = c(n).viewport.viewportToViewerElementCoordinates(N);
6673
6673
  return [E.x, E.y];
6674
6674
  });
6675
6675
  let L = 1 / 0, T = 1 / 0, g = -1 / 0, y = -1 / 0;
6676
- for (const [M, V] of w)
6677
- L = Math.min(L, M), T = Math.min(T, V), g = Math.max(g, M), y = Math.max(y, V);
6678
- const N = w.map(([M, V]) => [M - L, V - T]);
6676
+ for (const [M, N] of w)
6677
+ L = Math.min(L, M), T = Math.min(T, N), g = Math.max(g, M), y = Math.max(y, N);
6678
+ const V = w.map(([M, N]) => [M - L, N - T]);
6679
6679
  f.push({
6680
6680
  id: h.id,
6681
6681
  type: "POLYGON",
6682
6682
  bounds: { x: L, y: T, width: g - L, height: y - T },
6683
- points: N,
6683
+ points: V,
6684
6684
  isSearchHit: h.isSearchHit,
6685
6685
  tooltip: h.body.value
6686
6686
  });
@@ -6691,8 +6691,8 @@ function iu(r, e) {
6691
6691
  Sl(() => {
6692
6692
  if (c(o))
6693
6693
  return (async () => {
6694
- const _ = await import("./openseadragon-5MHeYuQz.js").then((f) => f.o);
6695
- ne(a, _.default || _, !0), ne(
6694
+ const _ = await import("./openseadragon-CHvATAD9.js").then((f) => f.o);
6695
+ ae(a, _.default || _, !0), ae(
6696
6696
  n,
6697
6697
  c(a)({
6698
6698
  element: c(o),
@@ -6728,15 +6728,15 @@ function iu(r, e) {
6728
6728
  !c(n) || !e.tileSources || c(n).open(e.tileSources);
6729
6729
  });
6730
6730
  var m = au(), p = R(m);
6731
- ka(p, (_) => ne(o, _), () => c(o));
6731
+ ka(p, (_) => ae(o, _), () => c(o));
6732
6732
  var b = Y(p, 2);
6733
6733
  Tt(b, 17, () => c(l), (_) => _.id, (_, f) => {
6734
6734
  var h = j(), w = H(h);
6735
6735
  {
6736
6736
  var L = (g) => {
6737
6737
  var y = ou();
6738
- ue(() => {
6739
- Te(y, 1, `absolute border-2 transition-colors cursor-pointer pointer-events-auto ${c(f).isSearchHit ? "border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60" : "border-red-500 bg-red-500/20 hover:bg-red-500/40"}`), Vr(y, `
6738
+ ce(() => {
6739
+ Ae(y, 1, `absolute border-2 transition-colors cursor-pointer pointer-events-auto ${c(f).isSearchHit ? "border-yellow-400 bg-yellow-400/40 hover:bg-yellow-400/60" : "border-red-500 bg-red-500/20 hover:bg-red-500/40"}`), Vr(y, `
6740
6740
  left: ${c(f).rect.x ?? ""}px;
6741
6741
  top: ${c(f).rect.y ?? ""}px;
6742
6742
  width: ${c(f).rect.width ?? ""}px;
@@ -6744,28 +6744,28 @@ function iu(r, e) {
6744
6744
  `), be(y, "title", c(f).tooltip);
6745
6745
  }), v(g, y);
6746
6746
  }, T = (g) => {
6747
- var y = j(), N = H(y);
6747
+ var y = j(), V = H(y);
6748
6748
  {
6749
- var M = (V) => {
6749
+ var M = (N) => {
6750
6750
  var E = nu(), A = R(E), B = R(A, !0);
6751
6751
  P(A);
6752
6752
  var W = Y(A);
6753
- P(E), ue(
6753
+ P(E), ce(
6754
6754
  (K) => {
6755
6755
  Vr(E, `
6756
6756
  left: ${c(f).bounds.x ?? ""}px;
6757
6757
  top: ${c(f).bounds.y ?? ""}px;
6758
6758
  width: ${c(f).bounds.width ?? ""}px;
6759
6759
  height: ${c(f).bounds.height ?? ""}px;
6760
- `), Se(B, c(f).tooltip), be(W, "points", K), Te(W, 0, `cursor-pointer transition-colors ${c(f).isSearchHit ? "fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60" : "fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`);
6760
+ `), Me(B, c(f).tooltip), be(W, "points", K), Ae(W, 0, `cursor-pointer transition-colors ${c(f).isSearchHit ? "fill-yellow-400/40 stroke-yellow-400 hover:fill-yellow-400/60" : "fill-red-500/20 stroke-red-500 hover:fill-red-500/40"}`);
6761
6761
  },
6762
6762
  [() => c(f).points.map((K) => K.join(",")).join(" ")]
6763
- ), v(V, E);
6763
+ ), v(N, E);
6764
6764
  };
6765
6765
  I(
6766
- N,
6767
- (V) => {
6768
- c(f).type === "POLYGON" && V(M);
6766
+ V,
6767
+ (N) => {
6768
+ c(f).type === "POLYGON" && N(M);
6769
6769
  },
6770
6770
  !0
6771
6771
  );
@@ -6777,7 +6777,7 @@ function iu(r, e) {
6777
6777
  });
6778
6778
  }
6779
6779
  v(_, h);
6780
- }), P(m), v(r, m), Le();
6780
+ }), P(m), ce(() => Ae(p, 1, `w-full h-full osd-background ${t().config.transparentBackground ? "" : "bg-base-100"}`)), v(r, m), Oe();
6781
6781
  }
6782
6782
  let vi = Symbol("phosphor-svelte");
6783
6783
  function it() {
@@ -6785,7 +6785,7 @@ function it() {
6785
6785
  }
6786
6786
  var lu = /* @__PURE__ */ D('<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>'), su = /* @__PURE__ */ D('<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), cu = /* @__PURE__ */ D('<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>'), uu = /* @__PURE__ */ D('<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>'), du = /* @__PURE__ */ D('<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>'), fu = /* @__PURE__ */ D('<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>'), hu = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
6787
6787
  function pu(r, e) {
6788
- Me(e, !0);
6788
+ Le(e, !0);
6789
6789
  const t = it();
6790
6790
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
6791
6791
  function d(f) {
@@ -6830,12 +6830,12 @@ function pu(r, e) {
6830
6830
  var y = su();
6831
6831
  Xe(), v(g, y);
6832
6832
  }, T = (g) => {
6833
- var y = j(), N = H(y);
6833
+ var y = j(), V = H(y);
6834
6834
  {
6835
6835
  var M = (E) => {
6836
6836
  var A = cu();
6837
6837
  v(E, A);
6838
- }, V = (E) => {
6838
+ }, N = (E) => {
6839
6839
  var A = j(), B = H(A);
6840
6840
  {
6841
6841
  var W = (x) => {
@@ -6888,9 +6888,9 @@ function pu(r, e) {
6888
6888
  v(E, A);
6889
6889
  };
6890
6890
  I(
6891
- N,
6891
+ V,
6892
6892
  (E) => {
6893
- c(n) === "fill" ? E(M) : E(V, !1);
6893
+ c(n) === "fill" ? E(M) : E(N, !1);
6894
6894
  },
6895
6895
  !0
6896
6896
  );
@@ -6911,11 +6911,11 @@ function pu(r, e) {
6911
6911
  c(n) === "bold" ? f(b) : f(_, !1);
6912
6912
  });
6913
6913
  }
6914
- P(u), v(r, u), Le();
6914
+ P(u), v(r, u), Oe();
6915
6915
  }
6916
6916
  var vu = /* @__PURE__ */ D('<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>'), gu = /* @__PURE__ */ D('<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), mu = /* @__PURE__ */ D('<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>'), bu = /* @__PURE__ */ D('<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>'), wu = /* @__PURE__ */ D('<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>'), _u = /* @__PURE__ */ D('<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>'), yu = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
6917
6917
  function ku(r, e) {
6918
- Me(e, !0);
6918
+ Le(e, !0);
6919
6919
  const t = it();
6920
6920
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
6921
6921
  function d(f) {
@@ -6960,12 +6960,12 @@ function ku(r, e) {
6960
6960
  var y = gu();
6961
6961
  Xe(), v(g, y);
6962
6962
  }, T = (g) => {
6963
- var y = j(), N = H(y);
6963
+ var y = j(), V = H(y);
6964
6964
  {
6965
6965
  var M = (E) => {
6966
6966
  var A = mu();
6967
6967
  v(E, A);
6968
- }, V = (E) => {
6968
+ }, N = (E) => {
6969
6969
  var A = j(), B = H(A);
6970
6970
  {
6971
6971
  var W = (x) => {
@@ -7018,9 +7018,9 @@ function ku(r, e) {
7018
7018
  v(E, A);
7019
7019
  };
7020
7020
  I(
7021
- N,
7021
+ V,
7022
7022
  (E) => {
7023
- c(n) === "fill" ? E(M) : E(V, !1);
7023
+ c(n) === "fill" ? E(M) : E(N, !1);
7024
7024
  },
7025
7025
  !0
7026
7026
  );
@@ -7041,7 +7041,7 @@ function ku(r, e) {
7041
7041
  c(n) === "bold" ? f(b) : f(_, !1);
7042
7042
  });
7043
7043
  }
7044
- P(u), v(r, u), Le();
7044
+ P(u), v(r, u), Oe();
7045
7045
  }
7046
7046
  const xu = "en", la = (
7047
7047
  /** @type {const} */
@@ -7545,7 +7545,7 @@ const sf = {
7545
7545
  };
7546
7546
  var cf = /* @__PURE__ */ Q('<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>');
7547
7547
  function uf(r, e) {
7548
- Me(e, !0);
7548
+ Le(e, !0);
7549
7549
  var t = cf(), o = R(t);
7550
7550
  o.__click = () => e.viewerState.previousCanvas();
7551
7551
  var n = R(o);
@@ -7555,17 +7555,17 @@ function uf(r, e) {
7555
7555
  var s = Y(a, 2);
7556
7556
  s.__click = () => e.viewerState.nextCanvas();
7557
7557
  var d = R(s);
7558
- ku(d, { size: 20, weight: "bold" }), P(s), P(t), ue(
7558
+ ku(d, { size: 20, weight: "bold" }), P(s), P(t), ce(
7559
7559
  (u, l) => {
7560
- o.disabled = !e.viewerState.hasPrevious, be(o, "aria-label", u), Se(i, `${e.viewerState.currentCanvasIndex + 1} / ${e.viewerState.canvases.length ?? ""}`), s.disabled = !e.viewerState.hasNext, be(s, "aria-label", l);
7560
+ o.disabled = !e.viewerState.hasPrevious, be(o, "aria-label", u), Me(i, `${e.viewerState.currentCanvasIndex + 1} / ${e.viewerState.canvases.length ?? ""}`), s.disabled = !e.viewerState.hasNext, be(s, "aria-label", l);
7561
7561
  },
7562
7562
  [() => /* @__PURE__ */ qd(), () => /* @__PURE__ */ Wd()]
7563
- ), v(r, t), Le();
7563
+ ), v(r, t), Oe();
7564
7564
  }
7565
7565
  rr(["click"]);
7566
7566
  var df = /* @__PURE__ */ D('<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>'), ff = /* @__PURE__ */ D('<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), hf = /* @__PURE__ */ D('<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>'), pf = /* @__PURE__ */ D('<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>'), vf = /* @__PURE__ */ D('<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>'), gf = /* @__PURE__ */ D('<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>'), mf = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
7567
7567
  function bf(r, e) {
7568
- Me(e, !0);
7568
+ Le(e, !0);
7569
7569
  const t = it();
7570
7570
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
7571
7571
  function d(f) {
@@ -7610,12 +7610,12 @@ function bf(r, e) {
7610
7610
  var y = ff();
7611
7611
  Xe(), v(g, y);
7612
7612
  }, T = (g) => {
7613
- var y = j(), N = H(y);
7613
+ var y = j(), V = H(y);
7614
7614
  {
7615
7615
  var M = (E) => {
7616
7616
  var A = hf();
7617
7617
  v(E, A);
7618
- }, V = (E) => {
7618
+ }, N = (E) => {
7619
7619
  var A = j(), B = H(A);
7620
7620
  {
7621
7621
  var W = (x) => {
@@ -7668,9 +7668,9 @@ function bf(r, e) {
7668
7668
  v(E, A);
7669
7669
  };
7670
7670
  I(
7671
- N,
7671
+ V,
7672
7672
  (E) => {
7673
- c(n) === "fill" ? E(M) : E(V, !1);
7673
+ c(n) === "fill" ? E(M) : E(N, !1);
7674
7674
  },
7675
7675
  !0
7676
7676
  );
@@ -7691,11 +7691,11 @@ function bf(r, e) {
7691
7691
  c(n) === "bold" ? f(b) : f(_, !1);
7692
7692
  });
7693
7693
  }
7694
- P(u), v(r, u), Le();
7694
+ P(u), v(r, u), Oe();
7695
7695
  }
7696
7696
  var wf = /* @__PURE__ */ D('<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>'), _f = /* @__PURE__ */ D('<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), yf = /* @__PURE__ */ D('<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>'), kf = /* @__PURE__ */ D('<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>'), xf = /* @__PURE__ */ D('<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>'), Af = /* @__PURE__ */ D('<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>'), Ef = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
7697
7697
  function Ei(r, e) {
7698
- Me(e, !0);
7698
+ Le(e, !0);
7699
7699
  const t = it();
7700
7700
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
7701
7701
  function d(f) {
@@ -7740,12 +7740,12 @@ function Ei(r, e) {
7740
7740
  var y = _f();
7741
7741
  Xe(), v(g, y);
7742
7742
  }, T = (g) => {
7743
- var y = j(), N = H(y);
7743
+ var y = j(), V = H(y);
7744
7744
  {
7745
7745
  var M = (E) => {
7746
7746
  var A = yf();
7747
7747
  v(E, A);
7748
- }, V = (E) => {
7748
+ }, N = (E) => {
7749
7749
  var A = j(), B = H(A);
7750
7750
  {
7751
7751
  var W = (x) => {
@@ -7798,9 +7798,9 @@ function Ei(r, e) {
7798
7798
  v(E, A);
7799
7799
  };
7800
7800
  I(
7801
- N,
7801
+ V,
7802
7802
  (E) => {
7803
- c(n) === "fill" ? E(M) : E(V, !1);
7803
+ c(n) === "fill" ? E(M) : E(N, !1);
7804
7804
  },
7805
7805
  !0
7806
7806
  );
@@ -7821,11 +7821,11 @@ function Ei(r, e) {
7821
7821
  c(n) === "bold" ? f(b) : f(_, !1);
7822
7822
  });
7823
7823
  }
7824
- P(u), v(r, u), Le();
7824
+ P(u), v(r, u), Oe();
7825
7825
  }
7826
7826
  var Cf = /* @__PURE__ */ D('<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>'), If = /* @__PURE__ */ D('<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), Sf = /* @__PURE__ */ D('<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>'), Mf = /* @__PURE__ */ D('<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>'), Lf = /* @__PURE__ */ D('<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>'), Of = /* @__PURE__ */ D('<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>'), Tf = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
7827
7827
  function Ci(r, e) {
7828
- Me(e, !0);
7828
+ Le(e, !0);
7829
7829
  const t = it();
7830
7830
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
7831
7831
  function d(f) {
@@ -7870,12 +7870,12 @@ function Ci(r, e) {
7870
7870
  var y = If();
7871
7871
  Xe(), v(g, y);
7872
7872
  }, T = (g) => {
7873
- var y = j(), N = H(y);
7873
+ var y = j(), V = H(y);
7874
7874
  {
7875
7875
  var M = (E) => {
7876
7876
  var A = Sf();
7877
7877
  v(E, A);
7878
- }, V = (E) => {
7878
+ }, N = (E) => {
7879
7879
  var A = j(), B = H(A);
7880
7880
  {
7881
7881
  var W = (x) => {
@@ -7928,9 +7928,9 @@ function Ci(r, e) {
7928
7928
  v(E, A);
7929
7929
  };
7930
7930
  I(
7931
- N,
7931
+ V,
7932
7932
  (E) => {
7933
- c(n) === "fill" ? E(M) : E(V, !1);
7933
+ c(n) === "fill" ? E(M) : E(N, !1);
7934
7934
  },
7935
7935
  !0
7936
7936
  );
@@ -7951,11 +7951,11 @@ function Ci(r, e) {
7951
7951
  c(n) === "bold" ? f(b) : f(_, !1);
7952
7952
  });
7953
7953
  }
7954
- P(u), v(r, u), Le();
7954
+ P(u), v(r, u), Oe();
7955
7955
  }
7956
7956
  var Pf = /* @__PURE__ */ Q('<span class="text-xs opacity-50 truncate max-w-[150px]"> </span>'), Rf = /* @__PURE__ */ Q('<button 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"><div class="btn btn-xs btn-circle btn-ghost mt-0.5 shrink-0 pointer-events-none"><!></div> <div class="flex-1 min-w-0"><div class="flex items-start justify-between"><span class="font-bold text-sm text-primary"></span> <!></div> <div><!></div></div></button>'), zf = /* @__PURE__ */ Q('<div class="p-4 text-center opacity-50 text-sm">No annotations available.</div>'), Vf = /* @__PURE__ */ Q('<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>');
7957
7957
  function Nf(r, e) {
7958
- Me(e, !0);
7958
+ Le(e, !0);
7959
7959
  const t = kr(Er);
7960
7960
  let o = /* @__PURE__ */ F(() => {
7961
7961
  if (!t.manifestId || !t.canvasId)
@@ -8049,10 +8049,10 @@ function Nf(r, e) {
8049
8049
  });
8050
8050
  }
8051
8051
  P(h);
8052
- var g = Y(h, 2), y = R(g), N = Y(y), M = R(N, !0);
8053
- P(N), P(g);
8054
- var V = Y(g, 2);
8055
- bf(V, {
8052
+ var g = Y(h, 2), y = R(g), V = Y(y), M = R(V, !0);
8053
+ P(V), P(g);
8054
+ var N = Y(g, 2);
8055
+ bf(N, {
8056
8056
  size: 16,
8057
8057
  weight: "bold",
8058
8058
  class: "group-open:rotate-180 transition-transform opacity-80"
@@ -8087,7 +8087,7 @@ function Nf(r, e) {
8087
8087
  {
8088
8088
  var re = (ie) => {
8089
8089
  var le = Pf(), ke = R(le, !0);
8090
- P(le), ue(() => Se(ke, c(B).label)), v(ie, le);
8090
+ P(le), ce(() => Me(ke, c(B).label)), v(ie, le);
8091
8091
  };
8092
8092
  I(oe, (ie) => {
8093
8093
  c(B).label && c(B).label !== c(B).content && ie(re);
@@ -8099,23 +8099,23 @@ function Nf(r, e) {
8099
8099
  var U = (ie) => {
8100
8100
  var le = j(), ke = H(le);
8101
8101
  vr(ke, () => c(B).content), v(ie, le);
8102
- }, ae = (ie) => {
8102
+ }, ne = (ie) => {
8103
8103
  var le = Ke();
8104
- ue(() => Se(le, c(B).content || "(No content)")), v(ie, le);
8104
+ ce(() => Me(le, c(B).content || "(No content)")), v(ie, le);
8105
8105
  };
8106
8106
  I(G, (ie) => {
8107
- c(B).isHtml ? ie(U) : ie(ae, !1);
8107
+ c(B).isHtml ? ie(U) : ie(ne, !1);
8108
8108
  });
8109
8109
  }
8110
- P(O), P(C), P(x), ue(() => Te(O, 1, `text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${c(K) ? "" : "opacity-50"}`)), v(A, x);
8110
+ P(O), P(C), P(x), ce(() => Ae(O, 1, `text-sm prose prose-sm max-w-none prose-p:my-0 prose-a:text-blue-500 wrap-break-word text-left ${c(K) ? "" : "opacity-50"}`)), v(A, x);
8111
8111
  },
8112
8112
  (A) => {
8113
8113
  var B = zf();
8114
8114
  v(A, B);
8115
8115
  }
8116
- ), P(E), P(_), P(b), ue(
8116
+ ), P(E), P(_), P(b), ce(
8117
8117
  (A, B, W) => {
8118
- be(h, "title", A), Se(y, `${B ?? ""} `), Se(M, W);
8118
+ be(h, "title", A), Me(y, `${B ?? ""} `), Me(M, W);
8119
8119
  },
8120
8120
  [
8121
8121
  () => c(a) ? /* @__PURE__ */ Rd() : /* @__PURE__ */ Nd(),
@@ -8128,12 +8128,12 @@ function Nf(r, e) {
8128
8128
  t.showAnnotations && p(m);
8129
8129
  });
8130
8130
  }
8131
- v(r, u), Le();
8131
+ v(r, u), Oe();
8132
8132
  }
8133
8133
  rr(["click"]);
8134
8134
  var Hf = /* @__PURE__ */ D('<path d="M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"></path>'), jf = /* @__PURE__ */ D('<path d="M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z" opacity="0.2"></path><path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>', 1), Df = /* @__PURE__ */ D('<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,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'), Zf = /* @__PURE__ */ D('<path d="M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"></path>'), Gf = /* @__PURE__ */ D('<path d="M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"></path>'), Ff = /* @__PURE__ */ D('<path d="M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"></path>'), Uf = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8135
8135
  function Ca(r, e) {
8136
- Me(e, !0);
8136
+ Le(e, !0);
8137
8137
  const t = it();
8138
8138
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
8139
8139
  function d(f) {
@@ -8178,12 +8178,12 @@ function Ca(r, e) {
8178
8178
  var y = jf();
8179
8179
  Xe(), v(g, y);
8180
8180
  }, T = (g) => {
8181
- var y = j(), N = H(y);
8181
+ var y = j(), V = H(y);
8182
8182
  {
8183
8183
  var M = (E) => {
8184
8184
  var A = Df();
8185
8185
  v(E, A);
8186
- }, V = (E) => {
8186
+ }, N = (E) => {
8187
8187
  var A = j(), B = H(A);
8188
8188
  {
8189
8189
  var W = (x) => {
@@ -8236,9 +8236,9 @@ function Ca(r, e) {
8236
8236
  v(E, A);
8237
8237
  };
8238
8238
  I(
8239
- N,
8239
+ V,
8240
8240
  (E) => {
8241
- c(n) === "fill" ? E(M) : E(V, !1);
8241
+ c(n) === "fill" ? E(M) : E(N, !1);
8242
8242
  },
8243
8243
  !0
8244
8244
  );
@@ -8259,11 +8259,11 @@ function Ca(r, e) {
8259
8259
  c(n) === "bold" ? f(b) : f(_, !1);
8260
8260
  });
8261
8261
  }
8262
- P(u), v(r, u), Le();
8262
+ P(u), v(r, u), Oe();
8263
8263
  }
8264
8264
  var Bf = /* @__PURE__ */ Q('<button class="absolute top-1 right-1 btn btn-error btn-xs btn-circle z-20" aria-label="Close Gallery"><!></button>'), qf = /* @__PURE__ */ Q('<div><div role="button" tabindex="0" aria-label="Drag Gallery"><div></div></div></div>'), $f = /* @__PURE__ */ Q('<img class="object-contain w-full h-full" loading="lazy" draggable="false"/>'), Yf = /* @__PURE__ */ Q('<span class="opacity-20 text-4xl">?</span>'), Wf = /* @__PURE__ */ Q('<button><div class="aspect-4/3 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>'), Xf = /* @__PURE__ */ Q('<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>'), Kf = /* @__PURE__ */ Q('<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), Qf = /* @__PURE__ */ Q("<div><!> <!> <div><div></div></div> <!></div> <!>", 1);
8265
8265
  function Gr(r, e) {
8266
- Me(e, !0);
8266
+ Le(e, !0);
8267
8267
  const t = kr(Er);
8268
8268
  let o = /* @__PURE__ */ F(() => {
8269
8269
  var y;
@@ -8271,20 +8271,20 @@ function Gr(r, e) {
8271
8271
  }), n = /* @__PURE__ */ F(() => {
8272
8272
  var y;
8273
8273
  return ((y = t.config.gallery) == null ? void 0 : y.showCloseButton) ?? !0;
8274
- }), a = /* @__PURE__ */ ce(!1), i = { x: 0, y: 0, w: 0, h: 0 }, s = /* @__PURE__ */ ce(null), d = /* @__PURE__ */ F(() => !e.canvases || !Array.isArray(e.canvases) ? [] : e.canvases.map((y, N) => {
8274
+ }), a = /* @__PURE__ */ ue(!1), i = { x: 0, y: 0, w: 0, h: 0 }, s = /* @__PURE__ */ ue(null), d = /* @__PURE__ */ F(() => !e.canvases || !Array.isArray(e.canvases) ? [] : e.canvases.map((y, V) => {
8275
8275
  let M = "";
8276
8276
  try {
8277
8277
  if (y.getThumbnail) {
8278
- const V = y.getThumbnail();
8279
- V && (M = typeof V == "string" ? V : V.id || V["@id"]);
8278
+ const N = y.getThumbnail();
8279
+ N && (M = typeof N == "string" ? N : N.id || N["@id"]);
8280
8280
  }
8281
- } catch (V) {
8282
- console.warn("Error getting thumbnail", V);
8281
+ } catch (N) {
8282
+ console.warn("Error getting thumbnail", N);
8283
8283
  }
8284
8284
  if (!M) {
8285
- let V = y.getImages();
8286
- if ((!V || !V.length) && y.getContent && (V = y.getContent()), V && V.length > 0) {
8287
- const E = V[0];
8285
+ let N = y.getImages();
8286
+ if ((!N || !N.length) && y.getContent && (N = y.getContent()), N && N.length > 0) {
8287
+ const E = N[0];
8288
8288
  let A = E.getResource ? E.getResource() : null;
8289
8289
  if (!A && E.getBody) {
8290
8290
  const B = E.getBody();
@@ -8331,16 +8331,16 @@ function Gr(r, e) {
8331
8331
  }
8332
8332
  return {
8333
8333
  id: y.id,
8334
- label: y.getLabel().length ? y.getLabel()[0].value : `Canvas ${N + 1}`,
8334
+ label: y.getLabel().length ? y.getLabel()[0].value : `Canvas ${V + 1}`,
8335
8335
  src: M,
8336
- index: N
8336
+ index: V
8337
8337
  };
8338
8338
  }));
8339
8339
  function u(y) {
8340
8340
  if (!t.isGalleryDragging) return;
8341
- let N = y.clientX - t.galleryDragOffset.x, M = y.clientY - t.galleryDragOffset.y;
8342
- const V = Math.max(0, window.innerWidth - t.gallerySize.width), E = Math.max(0, window.innerHeight - t.gallerySize.height);
8343
- N = Math.max(0, Math.min(N, V)), M = Math.max(0, Math.min(M, E)), t.galleryPosition = { x: N, y: M };
8341
+ let V = y.clientX - t.galleryDragOffset.x, M = y.clientY - t.galleryDragOffset.y;
8342
+ const N = Math.max(0, window.innerWidth - t.gallerySize.width), E = Math.max(0, window.innerHeight - t.gallerySize.height);
8343
+ V = Math.max(0, Math.min(V, N)), M = Math.max(0, Math.min(M, E)), t.galleryPosition = { x: V, y: M };
8344
8344
  const A = t.galleryCenterPanelRect;
8345
8345
  if (!A) {
8346
8346
  console.warn("[Gallery] No center panel rect available");
@@ -8354,7 +8354,7 @@ function Gr(r, e) {
8354
8354
  console.log("[Gallery] stopDrag. dropTarget:", y), t.isGalleryDragging = !1, t.dragOverSide = null, window.removeEventListener("mousemove", u), window.removeEventListener("mouseup", l), y && (t.dockSide = y);
8355
8355
  }
8356
8356
  function m(y) {
8357
- y.stopPropagation(), ne(a, !0), i = {
8357
+ y.stopPropagation(), ae(a, !0), i = {
8358
8358
  x: y.clientX,
8359
8359
  y: y.clientY,
8360
8360
  w: t.gallerySize.width,
@@ -8363,22 +8363,22 @@ function Gr(r, e) {
8363
8363
  }
8364
8364
  function p(y) {
8365
8365
  if (!c(a)) return;
8366
- const N = y.clientX - i.x, M = y.clientY - i.y;
8366
+ const V = y.clientX - i.x, M = y.clientY - i.y;
8367
8367
  t.gallerySize = {
8368
- width: Math.max(200, i.w + N),
8368
+ width: Math.max(200, i.w + V),
8369
8369
  height: Math.max(200, i.h + M)
8370
8370
  };
8371
8371
  }
8372
8372
  function b() {
8373
- ne(a, !1), window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", b);
8373
+ ae(a, !1), window.removeEventListener("mousemove", p), window.removeEventListener("mouseup", b);
8374
8374
  }
8375
8375
  function _(y) {
8376
8376
  t.setCanvas(y);
8377
8377
  }
8378
- let f = /* @__PURE__ */ ce(De(t.dockSide));
8378
+ let f = /* @__PURE__ */ ue(De(t.dockSide));
8379
8379
  ut(() => {
8380
8380
  const y = t.dockSide;
8381
- ne(f, y === "none" || y === "top" || y === "bottom" || y === "left" || y === "right" ? y : "none", !0);
8381
+ ae(f, y === "none" || y === "top" || y === "bottom" || y === "left" || y === "right" ? y : "none", !0);
8382
8382
  }), ut(() => {
8383
8383
  t.dockSide !== c(f) && (t.dockSide = c(f), t.isGalleryDockedBottom = c(f) === "bottom", t.isGalleryDockedRight = c(f) === "right");
8384
8384
  });
@@ -8389,8 +8389,8 @@ function Gr(r, e) {
8389
8389
  o
8390
8390
  // Dragging disabled in config
8391
8391
  ) || y.target.closest(".resize-handle")) return;
8392
- const N = c(f) !== "none";
8393
- if (N) {
8392
+ const V = c(f) !== "none";
8393
+ if (V) {
8394
8394
  let B = Math.max(0, y.clientX - 150), W = Math.max(0, y.clientY - 20);
8395
8395
  const K = Math.max(0, window.innerWidth - 300), x = Math.max(0, window.innerHeight - 400);
8396
8396
  B = Math.min(B, K), W = Math.min(W, x), t.galleryPosition = { x: B, y: W }, t.galleryDragOffset = { x: y.clientX - B, y: y.clientY - W };
@@ -8399,13 +8399,13 @@ function Gr(r, e) {
8399
8399
  x: y.clientX - t.galleryPosition.x,
8400
8400
  y: y.clientY - t.galleryPosition.y
8401
8401
  };
8402
- const M = (E = c(s)) == null ? void 0 : E.getRootNode(), V = ((A = M == null ? void 0 : M.getElementById) == null ? void 0 : A.call(M, "triiiceratops-center-panel")) ?? document.getElementById("triiiceratops-center-panel");
8403
- V ? (t.galleryCenterPanelRect = V.getBoundingClientRect(), console.log("[Gallery] Captured center panel rect:", t.galleryCenterPanelRect)) : console.warn("[Gallery] Could not find center panel in startDrag"), t.isGalleryDragging = !0, window.addEventListener("mousemove", u), window.addEventListener("mouseup", l), N && ne(f, "none");
8402
+ const M = (E = c(s)) == null ? void 0 : E.getRootNode(), N = ((A = M == null ? void 0 : M.getElementById) == null ? void 0 : A.call(M, "triiiceratops-center-panel")) ?? document.getElementById("triiiceratops-center-panel");
8403
+ N ? (t.galleryCenterPanelRect = N.getBoundingClientRect(), console.log("[Gallery] Captured center panel rect:", t.galleryCenterPanelRect)) : console.warn("[Gallery] Could not find center panel in startDrag"), t.isGalleryDragging = !0, window.addEventListener("mousemove", u), window.addEventListener("mouseup", l), V && ae(f, "none");
8404
8404
  }
8405
8405
  var L = j(), T = H(L);
8406
8406
  {
8407
8407
  var g = (y) => {
8408
- var N = Qf(), M = H(N), V = R(M);
8408
+ var V = Qf(), M = H(V), N = R(M);
8409
8409
  {
8410
8410
  var E = (q) => {
8411
8411
  var C = Bf();
@@ -8413,18 +8413,18 @@ function Gr(r, e) {
8413
8413
  var z = R(C);
8414
8414
  Ca(z, { size: 16, weight: "bold" }), P(C), v(q, C);
8415
8415
  };
8416
- I(V, (q) => {
8416
+ I(N, (q) => {
8417
8417
  c(n) && q(E);
8418
8418
  });
8419
8419
  }
8420
- var A = Y(V, 2);
8420
+ var A = Y(N, 2);
8421
8421
  {
8422
8422
  var B = (q) => {
8423
8423
  var C = qf(), z = R(C);
8424
8424
  z.__mousedown = w;
8425
8425
  var ee = R(z);
8426
- P(z), P(C), ue(() => {
8427
- Te(C, 1, "bg-base-100 flex shrink-0 select-none relative " + (c(f) === "bottom" || c(f) === "top" ? "flex-row h-full items-center border-r border-base-200" : "flex-col w-full border-b border-base-200")), Te(z, 1, "cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors " + (c(f) === "bottom" || c(f) === "top" ? "w-8 h-full" : "h-6 w-full")), Te(ee, 1, "bg-base-300 rounded-full " + (c(f) === "bottom" || c(f) === "top" ? "w-1.5 h-12" : "w-12 h-1.5"));
8426
+ P(z), P(C), ce(() => {
8427
+ Ae(C, 1, "bg-base-100 flex shrink-0 select-none relative " + (c(f) === "bottom" || c(f) === "top" ? "flex-row h-full items-center border-r border-base-200" : "flex-col w-full border-b border-base-200")), Ae(z, 1, "cursor-move flex items-center justify-center hover:bg-base-200/50 active:bg-base-200 transition-colors " + (c(f) === "bottom" || c(f) === "top" ? "w-8 h-full" : "h-6 w-full")), Ae(ee, 1, "bg-base-300 rounded-full " + (c(f) === "bottom" || c(f) === "top" ? "w-1.5 h-12" : "w-12 h-1.5"));
8428
8428
  }), v(q, C);
8429
8429
  };
8430
8430
  I(A, (q) => {
@@ -8439,7 +8439,7 @@ function Gr(r, e) {
8439
8439
  {
8440
8440
  var re = (le) => {
8441
8441
  var ke = $f();
8442
- ue(() => {
8442
+ ce(() => {
8443
8443
  be(ke, "src", c(C).src), be(ke, "alt", c(C).label);
8444
8444
  }), v(le, ke);
8445
8445
  }, O = (le) => {
@@ -8451,11 +8451,11 @@ function Gr(r, e) {
8451
8451
  });
8452
8452
  }
8453
8453
  P(ee);
8454
- var G = Y(ee, 2), U = R(G), ae = R(U);
8454
+ var G = Y(ee, 2), U = R(G), ne = R(U);
8455
8455
  P(U);
8456
8456
  var ie = Y(U);
8457
- P(G), P(z), ue(() => {
8458
- Te(z, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${c(h) ? "w-[140px]" : ""} ${t.canvasId === c(C).id ? "ring-2 ring-primary bg-primary/5" : ""}`), be(z, "aria-label", `Select canvas ${c(C).label ?? ""}`), Se(ae, `${c(C).index + 1}.`), Se(ie, ` ${c(C).label ?? ""}`);
8457
+ P(G), P(z), ce(() => {
8458
+ Ae(z, 1, `group flex flex-col gap-1 p-1 rounded hover:bg-base-200 transition-colors text-left relative shrink-0 ${c(h) ? "w-[140px]" : ""} ${t.canvasId === c(C).id ? "ring-2 ring-primary bg-primary/5" : ""}`), be(z, "aria-label", `Select canvas ${c(C).label ?? ""}`), Me(ne, `${c(C).index + 1}.`), Me(ie, ` ${c(C).label ?? ""}`);
8459
8459
  }), v(q, z);
8460
8460
  }), P(K), P(W);
8461
8461
  var x = Y(W, 2);
@@ -8468,35 +8468,35 @@ function Gr(r, e) {
8468
8468
  c(f) === "none" && q(S);
8469
8469
  });
8470
8470
  }
8471
- P(M), ka(M, (q) => ne(s, q), () => c(s));
8471
+ P(M), ka(M, (q) => ae(s, q), () => c(s));
8472
8472
  var Z = Y(M, 2);
8473
8473
  {
8474
8474
  var X = (q) => {
8475
8475
  var C = Kf(), z = H(C), ee = Y(z, 2), oe = Y(ee, 2), re = Y(oe, 2);
8476
- ue(() => {
8477
- Te(z, 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 ${t.dragOverSide === "top" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Te(ee, 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 ${t.dragOverSide === "bottom" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Te(oe, 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 ${t.dragOverSide === "left" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Te(re, 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 ${t.dragOverSide === "right" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`);
8476
+ ce(() => {
8477
+ Ae(z, 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 ${t.dragOverSide === "top" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Ae(ee, 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 ${t.dragOverSide === "bottom" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Ae(oe, 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 ${t.dragOverSide === "left" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`), Ae(re, 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 ${t.dragOverSide === "right" ? "bg-primary/20 scale-105" : "bg-base-100/50"}`);
8478
8478
  }), v(q, C);
8479
8479
  };
8480
8480
  I(Z, (q) => {
8481
8481
  t.isGalleryDragging && q(X);
8482
8482
  });
8483
8483
  }
8484
- ue(() => {
8485
- Te(M, 1, (c(f) !== "none" ? `relative z-50 bg-base-100 shadow-xl border-base-300 flex transition-all duration-200 select-none w-full h-full
8484
+ ce(() => {
8485
+ Ae(M, 1, (c(f) !== "none" ? `relative z-50 bg-base-100 shadow-xl border-base-300 flex transition-all duration-200 select-none w-full h-full
8486
8486
  ${c(f) === "bottom" || c(f) === "top" ? "flex-row border-t" : ""}
8487
- ${c(f) === "left" || c(f) === "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") + (t.isGalleryDragging ? " pointer-events-none opacity-80" : "")), Vr(M, c(f) !== "none" ? "" : `left: ${t.galleryPosition.x}px; top: ${t.galleryPosition.y}px; width: ${t.gallerySize.width}px; height: ${t.gallerySize.height}px;`), Te(W, 1, `flex-1 p-1 bg-base-100 ${c(h) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), Te(K, 1, ya(c(h) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), Vr(K, c(h) ? "" : "grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));");
8488
- }), v(y, N);
8487
+ ${c(f) === "left" || c(f) === "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") + (t.isGalleryDragging ? " pointer-events-none opacity-80" : "")), Vr(M, c(f) !== "none" ? "" : `left: ${t.galleryPosition.x}px; top: ${t.galleryPosition.y}px; width: ${t.gallerySize.width}px; height: ${t.gallerySize.height}px;`), Ae(W, 1, `flex-1 p-1 bg-base-100 ${c(h) ? "overflow-x-auto overflow-y-hidden h-full" : "overflow-y-auto overflow-x-hidden"}`), Ae(K, 1, ya(c(h) ? "flex flex-row gap-2 h-full items-center" : "grid gap-2")), Vr(K, c(h) ? "" : "grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));");
8488
+ }), v(y, V);
8489
8489
  };
8490
8490
  I(T, (y) => {
8491
8491
  t.showThumbnailGallery && y(g);
8492
8492
  });
8493
8493
  }
8494
- v(r, L), Le();
8494
+ v(r, L), Oe();
8495
8495
  }
8496
8496
  rr(["click", "mousedown"]);
8497
8497
  var Jf = /* @__PURE__ */ D('<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>'), eh = /* @__PURE__ */ D('<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), th = /* @__PURE__ */ D('<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>'), rh = /* @__PURE__ */ D('<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>'), oh = /* @__PURE__ */ D('<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>'), nh = /* @__PURE__ */ D('<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>'), ah = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8498
8498
  function ih(r, e) {
8499
- Me(e, !0);
8499
+ Le(e, !0);
8500
8500
  const t = it();
8501
8501
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
8502
8502
  function d(f) {
@@ -8541,12 +8541,12 @@ function ih(r, e) {
8541
8541
  var y = eh();
8542
8542
  Xe(), v(g, y);
8543
8543
  }, T = (g) => {
8544
- var y = j(), N = H(y);
8544
+ var y = j(), V = H(y);
8545
8545
  {
8546
8546
  var M = (E) => {
8547
8547
  var A = th();
8548
8548
  v(E, A);
8549
- }, V = (E) => {
8549
+ }, N = (E) => {
8550
8550
  var A = j(), B = H(A);
8551
8551
  {
8552
8552
  var W = (x) => {
@@ -8599,9 +8599,9 @@ function ih(r, e) {
8599
8599
  v(E, A);
8600
8600
  };
8601
8601
  I(
8602
- N,
8602
+ V,
8603
8603
  (E) => {
8604
- c(n) === "fill" ? E(M) : E(V, !1);
8604
+ c(n) === "fill" ? E(M) : E(N, !1);
8605
8605
  },
8606
8606
  !0
8607
8607
  );
@@ -8622,11 +8622,11 @@ function ih(r, e) {
8622
8622
  c(n) === "bold" ? f(b) : f(_, !1);
8623
8623
  });
8624
8624
  }
8625
- P(u), v(r, u), Le();
8625
+ P(u), v(r, u), Oe();
8626
8626
  }
8627
8627
  var lh = /* @__PURE__ */ D('<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>'), sh = /* @__PURE__ */ D('<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), ch = /* @__PURE__ */ D('<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>'), uh = /* @__PURE__ */ D('<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>'), dh = /* @__PURE__ */ D('<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>'), fh = /* @__PURE__ */ D('<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>'), hh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8628
8628
  function ph(r, e) {
8629
- Me(e, !0);
8629
+ Le(e, !0);
8630
8630
  const t = it();
8631
8631
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
8632
8632
  function d(f) {
@@ -8671,12 +8671,12 @@ function ph(r, e) {
8671
8671
  var y = sh();
8672
8672
  Xe(), v(g, y);
8673
8673
  }, T = (g) => {
8674
- var y = j(), N = H(y);
8674
+ var y = j(), V = H(y);
8675
8675
  {
8676
8676
  var M = (E) => {
8677
8677
  var A = ch();
8678
8678
  v(E, A);
8679
- }, V = (E) => {
8679
+ }, N = (E) => {
8680
8680
  var A = j(), B = H(A);
8681
8681
  {
8682
8682
  var W = (x) => {
@@ -8729,9 +8729,9 @@ function ph(r, e) {
8729
8729
  v(E, A);
8730
8730
  };
8731
8731
  I(
8732
- N,
8732
+ V,
8733
8733
  (E) => {
8734
- c(n) === "fill" ? E(M) : E(V, !1);
8734
+ c(n) === "fill" ? E(M) : E(N, !1);
8735
8735
  },
8736
8736
  !0
8737
8737
  );
@@ -8752,11 +8752,11 @@ function ph(r, e) {
8752
8752
  c(n) === "bold" ? f(b) : f(_, !1);
8753
8753
  });
8754
8754
  }
8755
- P(u), v(r, u), Le();
8755
+ P(u), v(r, u), Oe();
8756
8756
  }
8757
8757
  var vh = /* @__PURE__ */ D('<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>'), gh = /* @__PURE__ */ D('<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), mh = /* @__PURE__ */ D('<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>'), bh = /* @__PURE__ */ D('<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>'), wh = /* @__PURE__ */ D('<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>'), _h = /* @__PURE__ */ D('<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>'), yh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8758
8758
  function kh(r, e) {
8759
- Me(e, !0);
8759
+ Le(e, !0);
8760
8760
  const t = it();
8761
8761
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
8762
8762
  function d(f) {
@@ -8801,12 +8801,12 @@ function kh(r, e) {
8801
8801
  var y = gh();
8802
8802
  Xe(), v(g, y);
8803
8803
  }, T = (g) => {
8804
- var y = j(), N = H(y);
8804
+ var y = j(), V = H(y);
8805
8805
  {
8806
8806
  var M = (E) => {
8807
8807
  var A = mh();
8808
8808
  v(E, A);
8809
- }, V = (E) => {
8809
+ }, N = (E) => {
8810
8810
  var A = j(), B = H(A);
8811
8811
  {
8812
8812
  var W = (x) => {
@@ -8859,9 +8859,9 @@ function kh(r, e) {
8859
8859
  v(E, A);
8860
8860
  };
8861
8861
  I(
8862
- N,
8862
+ V,
8863
8863
  (E) => {
8864
- c(n) === "fill" ? E(M) : E(V, !1);
8864
+ c(n) === "fill" ? E(M) : E(N, !1);
8865
8865
  },
8866
8866
  !0
8867
8867
  );
@@ -8882,11 +8882,11 @@ function kh(r, e) {
8882
8882
  c(n) === "bold" ? f(b) : f(_, !1);
8883
8883
  });
8884
8884
  }
8885
- P(u), v(r, u), Le();
8885
+ P(u), v(r, u), Oe();
8886
8886
  }
8887
8887
  var xh = /* @__PURE__ */ D('<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>'), Ah = /* @__PURE__ */ D('<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), Eh = /* @__PURE__ */ D('<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>'), Ch = /* @__PURE__ */ D('<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>'), Ih = /* @__PURE__ */ D('<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>'), Sh = /* @__PURE__ */ D('<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>'), Mh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
8888
8888
  function Lh(r, e) {
8889
- Me(e, !0);
8889
+ Le(e, !0);
8890
8890
  const t = it();
8891
8891
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
8892
8892
  function d(f) {
@@ -8931,12 +8931,12 @@ function Lh(r, e) {
8931
8931
  var y = Ah();
8932
8932
  Xe(), v(g, y);
8933
8933
  }, T = (g) => {
8934
- var y = j(), N = H(y);
8934
+ var y = j(), V = H(y);
8935
8935
  {
8936
8936
  var M = (E) => {
8937
8937
  var A = Eh();
8938
8938
  v(E, A);
8939
- }, V = (E) => {
8939
+ }, N = (E) => {
8940
8940
  var A = j(), B = H(A);
8941
8941
  {
8942
8942
  var W = (x) => {
@@ -8989,9 +8989,9 @@ function Lh(r, e) {
8989
8989
  v(E, A);
8990
8990
  };
8991
8991
  I(
8992
- N,
8992
+ V,
8993
8993
  (E) => {
8994
- c(n) === "fill" ? E(M) : E(V, !1);
8994
+ c(n) === "fill" ? E(M) : E(N, !1);
8995
8995
  },
8996
8996
  !0
8997
8997
  );
@@ -9012,11 +9012,11 @@ function Lh(r, e) {
9012
9012
  c(n) === "bold" ? f(b) : f(_, !1);
9013
9013
  });
9014
9014
  }
9015
- P(u), v(r, u), Le();
9015
+ P(u), v(r, u), Oe();
9016
9016
  }
9017
9017
  var Oh = /* @__PURE__ */ D('<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>'), Th = /* @__PURE__ */ D('<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), Ph = /* @__PURE__ */ D('<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>'), Rh = /* @__PURE__ */ D('<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>'), zh = /* @__PURE__ */ D('<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>'), Vh = /* @__PURE__ */ D('<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>'), Nh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
9018
9018
  function Wl(r, e) {
9019
- Me(e, !0);
9019
+ Le(e, !0);
9020
9020
  const t = it();
9021
9021
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
9022
9022
  function d(f) {
@@ -9061,12 +9061,12 @@ function Wl(r, e) {
9061
9061
  var y = Th();
9062
9062
  Xe(), v(g, y);
9063
9063
  }, T = (g) => {
9064
- var y = j(), N = H(y);
9064
+ var y = j(), V = H(y);
9065
9065
  {
9066
9066
  var M = (E) => {
9067
9067
  var A = Ph();
9068
9068
  v(E, A);
9069
- }, V = (E) => {
9069
+ }, N = (E) => {
9070
9070
  var A = j(), B = H(A);
9071
9071
  {
9072
9072
  var W = (x) => {
@@ -9119,9 +9119,9 @@ function Wl(r, e) {
9119
9119
  v(E, A);
9120
9120
  };
9121
9121
  I(
9122
- N,
9122
+ V,
9123
9123
  (E) => {
9124
- c(n) === "fill" ? E(M) : E(V, !1);
9124
+ c(n) === "fill" ? E(M) : E(N, !1);
9125
9125
  },
9126
9126
  !0
9127
9127
  );
@@ -9142,11 +9142,11 @@ function Wl(r, e) {
9142
9142
  c(n) === "bold" ? f(b) : f(_, !1);
9143
9143
  });
9144
9144
  }
9145
- P(u), v(r, u), Le();
9145
+ P(u), v(r, u), Oe();
9146
9146
  }
9147
9147
  var Hh = /* @__PURE__ */ D('<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>'), jh = /* @__PURE__ */ D('<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), Dh = /* @__PURE__ */ D('<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>'), Zh = /* @__PURE__ */ D('<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>'), Gh = /* @__PURE__ */ D('<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>'), Fh = /* @__PURE__ */ D('<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>'), Uh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
9148
9148
  function Bh(r, e) {
9149
- Me(e, !0);
9149
+ Le(e, !0);
9150
9150
  const t = it();
9151
9151
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
9152
9152
  function d(f) {
@@ -9191,12 +9191,12 @@ function Bh(r, e) {
9191
9191
  var y = jh();
9192
9192
  Xe(), v(g, y);
9193
9193
  }, T = (g) => {
9194
- var y = j(), N = H(y);
9194
+ var y = j(), V = H(y);
9195
9195
  {
9196
9196
  var M = (E) => {
9197
9197
  var A = Dh();
9198
9198
  v(E, A);
9199
- }, V = (E) => {
9199
+ }, N = (E) => {
9200
9200
  var A = j(), B = H(A);
9201
9201
  {
9202
9202
  var W = (x) => {
@@ -9249,9 +9249,9 @@ function Bh(r, e) {
9249
9249
  v(E, A);
9250
9250
  };
9251
9251
  I(
9252
- N,
9252
+ V,
9253
9253
  (E) => {
9254
- c(n) === "fill" ? E(M) : E(V, !1);
9254
+ c(n) === "fill" ? E(M) : E(N, !1);
9255
9255
  },
9256
9256
  !0
9257
9257
  );
@@ -9272,11 +9272,11 @@ function Bh(r, e) {
9272
9272
  c(n) === "bold" ? f(b) : f(_, !1);
9273
9273
  });
9274
9274
  }
9275
- P(u), v(r, u), Le();
9275
+ P(u), v(r, u), Oe();
9276
9276
  }
9277
9277
  var qh = /* @__PURE__ */ D('<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>'), $h = /* @__PURE__ */ D('<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), Yh = /* @__PURE__ */ D('<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>'), Wh = /* @__PURE__ */ D('<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>'), Xh = /* @__PURE__ */ D('<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>'), Kh = /* @__PURE__ */ D('<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>'), Qh = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
9278
9278
  function Jh(r, e) {
9279
- Me(e, !0);
9279
+ Le(e, !0);
9280
9280
  const t = it();
9281
9281
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
9282
9282
  function d(f) {
@@ -9321,12 +9321,12 @@ function Jh(r, e) {
9321
9321
  var y = $h();
9322
9322
  Xe(), v(g, y);
9323
9323
  }, T = (g) => {
9324
- var y = j(), N = H(y);
9324
+ var y = j(), V = H(y);
9325
9325
  {
9326
9326
  var M = (E) => {
9327
9327
  var A = Yh();
9328
9328
  v(E, A);
9329
- }, V = (E) => {
9329
+ }, N = (E) => {
9330
9330
  var A = j(), B = H(A);
9331
9331
  {
9332
9332
  var W = (x) => {
@@ -9379,9 +9379,9 @@ function Jh(r, e) {
9379
9379
  v(E, A);
9380
9380
  };
9381
9381
  I(
9382
- N,
9382
+ V,
9383
9383
  (E) => {
9384
- c(n) === "fill" ? E(M) : E(V, !1);
9384
+ c(n) === "fill" ? E(M) : E(N, !1);
9385
9385
  },
9386
9386
  !0
9387
9387
  );
@@ -9402,18 +9402,18 @@ function Jh(r, e) {
9402
9402
  c(n) === "bold" ? f(b) : f(_, !1);
9403
9403
  });
9404
9404
  }
9405
- P(u), v(r, u), Le();
9405
+ P(u), v(r, u), Oe();
9406
9406
  }
9407
9407
  var e1 = /* @__PURE__ */ Q("<button><!></button>"), t1 = /* @__PURE__ */ Q("<button><!></button>"), r1 = /* @__PURE__ */ Q("<button><!></button>"), o1 = /* @__PURE__ */ Q("<button><!></button>"), n1 = /* @__PURE__ */ Q("<button><!></button>"), a1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-left"><!></div>'), i1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-left"><!></div>'), l1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-left"><!></div>'), s1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-top"><!></div>'), c1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-top"><!></div>'), u1 = /* @__PURE__ */ Q('<div class="absolute z-600 bottom-6 right-6"><!> <!> <!> <!> <!></div>'), d1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-left"><!></div>'), f1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-left"><!></div>'), h1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-top"><!></div>'), p1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-top"><!></div>'), v1 = /* @__PURE__ */ Q('<div class="fab fab-flower fab-top-left absolute z-600 pointer-events-auto bottom-6 right-6"><div tabindex="0" role="button" class="btn btn-lg btn-primary btn-circle shadow-xl"><span class="sr-only"> </span> <!></div> <div class="fab-main-action tooltip tooltip-top"><!></div> <!> <!> <!> <!></div>');
9408
9408
  function g1(r, e) {
9409
- Me(e, !0);
9409
+ Le(e, !0);
9410
9410
  const t = (T) => {
9411
9411
  var g = e1();
9412
9412
  g.__click = () => s.toggleSearchPanel();
9413
9413
  var y = R(g);
9414
- Wl(y, { size: 28, weight: "bold" }), P(g), ue(
9415
- (N) => {
9416
- be(g, "aria-label", N), Te(g, 1, ya([
9414
+ Wl(y, { size: 28, weight: "bold" }), P(g), ce(
9415
+ (V) => {
9416
+ be(g, "aria-label", V), Ae(g, 1, ya([
9417
9417
  "btn btn-circle btn-lg shadow-lg",
9418
9418
  s.showSearchPanel ? "btn-primary" : "btn-neutral"
9419
9419
  ]));
@@ -9424,9 +9424,9 @@ function g1(r, e) {
9424
9424
  var g = t1();
9425
9425
  g.__click = () => s.toggleThumbnailGallery();
9426
9426
  var y = R(g);
9427
- Jh(y, { size: 28, weight: "bold" }), P(g), ue(
9428
- (N) => {
9429
- be(g, "aria-label", N), Te(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showThumbnailGallery ? "btn-info" : "btn-neutral"}`);
9427
+ Jh(y, { size: 28, weight: "bold" }), P(g), ce(
9428
+ (V) => {
9429
+ be(g, "aria-label", V), Ae(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showThumbnailGallery ? "btn-info" : "btn-neutral"}`);
9430
9430
  },
9431
9431
  [
9432
9432
  () => s.showThumbnailGallery ? /* @__PURE__ */ Gn() : /* @__PURE__ */ Fn()
@@ -9437,23 +9437,23 @@ function g1(r, e) {
9437
9437
  g.__click = () => s.toggleFullScreen();
9438
9438
  var y = R(g);
9439
9439
  {
9440
- var N = (V) => {
9441
- ph(V, { size: 28, weight: "bold" });
9442
- }, M = (V) => {
9443
- kh(V, { size: 28, weight: "bold" });
9440
+ var V = (N) => {
9441
+ ph(N, { size: 28, weight: "bold" });
9442
+ }, M = (N) => {
9443
+ kh(N, { size: 28, weight: "bold" });
9444
9444
  };
9445
- I(y, (V) => {
9446
- s.isFullScreen ? V(N) : V(M, !1);
9445
+ I(y, (N) => {
9446
+ s.isFullScreen ? N(V) : N(M, !1);
9447
9447
  });
9448
9448
  }
9449
- P(g), ue(() => Te(g, 1, `btn btn-circle btn-lg shadow-lg transition-all duration-300 ease-out ${s.isFullScreen ? "btn-warning" : "btn-neutral"}`)), v(T, g);
9449
+ P(g), ce(() => Ae(g, 1, `btn btn-circle btn-lg shadow-lg transition-all duration-300 ease-out ${s.isFullScreen ? "btn-warning" : "btn-neutral"}`)), v(T, g);
9450
9450
  }, a = (T) => {
9451
9451
  var g = o1();
9452
9452
  g.__click = () => s.toggleAnnotations();
9453
9453
  var y = R(g);
9454
- ih(y, { size: 28, weight: "bold" }), P(g), ue(
9455
- (N) => {
9456
- be(g, "aria-label", N), Te(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showAnnotations ? "btn-error" : "btn-neutral"}`);
9454
+ ih(y, { size: 28, weight: "bold" }), P(g), ce(
9455
+ (V) => {
9456
+ be(g, "aria-label", V), Ae(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showAnnotations ? "btn-error" : "btn-neutral"}`);
9457
9457
  },
9458
9458
  [() => /* @__PURE__ */ Cd()]
9459
9459
  ), v(T, g);
@@ -9461,9 +9461,9 @@ function g1(r, e) {
9461
9461
  var g = n1();
9462
9462
  g.__click = () => s.toggleMetadataDialog();
9463
9463
  var y = R(g);
9464
- Lh(y, { size: 28, weight: "bold" }), P(g), ue(
9465
- (N) => {
9466
- be(g, "aria-label", N), Te(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showMetadataDialog ? "btn-info" : "btn-neutral"}`);
9464
+ Lh(y, { size: 28, weight: "bold" }), P(g), ce(
9465
+ (V) => {
9466
+ be(g, "aria-label", V), Ae(g, 1, `btn btn-lg btn-circle shadow-lg ${s.showMetadataDialog ? "btn-info" : "btn-neutral"}`);
9467
9467
  },
9468
9468
  [() => /* @__PURE__ */ Od()]
9469
9469
  ), v(T, g);
@@ -9479,31 +9479,31 @@ function g1(r, e) {
9479
9479
  var w = (T) => {
9480
9480
  var g = u1(), y = R(g);
9481
9481
  {
9482
- var N = (S) => {
9482
+ var V = (S) => {
9483
9483
  var Z = a1(), X = R(Z);
9484
- t(X), P(Z), ue((q) => be(Z, "data-tip", q), [() => /* @__PURE__ */ sa()]), v(S, Z);
9484
+ t(X), P(Z), ce((q) => be(Z, "data-tip", q), [() => /* @__PURE__ */ sa()]), v(S, Z);
9485
9485
  };
9486
9486
  I(y, (S) => {
9487
- c(u) && S(N);
9487
+ c(u) && S(V);
9488
9488
  });
9489
9489
  }
9490
9490
  var M = Y(y, 2);
9491
9491
  {
9492
- var V = (S) => {
9492
+ var N = (S) => {
9493
9493
  var Z = i1(), X = R(Z);
9494
- o(X), P(Z), ue((q) => be(Z, "data-tip", q), [
9494
+ o(X), P(Z), ce((q) => be(Z, "data-tip", q), [
9495
9495
  () => s.showThumbnailGallery ? /* @__PURE__ */ Gn() : /* @__PURE__ */ Fn()
9496
9496
  ]), v(S, Z);
9497
9497
  };
9498
9498
  I(M, (S) => {
9499
- c(l) && S(V);
9499
+ c(l) && S(N);
9500
9500
  });
9501
9501
  }
9502
9502
  var E = Y(M, 2);
9503
9503
  {
9504
9504
  var A = (S) => {
9505
9505
  var Z = l1(), X = R(Z);
9506
- n(X), P(Z), ue((q) => be(Z, "data-tip", q), [
9506
+ n(X), P(Z), ce((q) => be(Z, "data-tip", q), [
9507
9507
  () => s.isFullScreen ? /* @__PURE__ */ wi() : /* @__PURE__ */ _i()
9508
9508
  ]), v(S, Z);
9509
9509
  };
@@ -9515,7 +9515,7 @@ function g1(r, e) {
9515
9515
  {
9516
9516
  var W = (S) => {
9517
9517
  var Z = s1(), X = R(Z);
9518
- a(X), P(Z), ue((q) => be(Z, "data-tip", q), [
9518
+ a(X), P(Z), ce((q) => be(Z, "data-tip", q), [
9519
9519
  () => s.showAnnotations ? /* @__PURE__ */ yi() : /* @__PURE__ */ ki()
9520
9520
  ]), v(S, Z);
9521
9521
  };
@@ -9527,7 +9527,7 @@ function g1(r, e) {
9527
9527
  {
9528
9528
  var x = (S) => {
9529
9529
  var Z = c1(), X = R(Z);
9530
- i(X), P(Z), ue((q) => be(Z, "data-tip", q), [() => /* @__PURE__ */ xi()]), v(S, Z);
9530
+ i(X), P(Z), ce((q) => be(Z, "data-tip", q), [() => /* @__PURE__ */ xi()]), v(S, Z);
9531
9531
  };
9532
9532
  I(K, (S) => {
9533
9533
  c(b) && S(x);
@@ -9537,8 +9537,8 @@ function g1(r, e) {
9537
9537
  }, L = (T) => {
9538
9538
  var g = j(), y = H(g);
9539
9539
  {
9540
- var N = (M) => {
9541
- var V = v1(), E = R(V), A = R(E), B = R(A, !0);
9540
+ var V = (M) => {
9541
+ var N = v1(), E = R(N), A = R(E), B = R(A, !0);
9542
9542
  P(A);
9543
9543
  var W = Y(A, 2);
9544
9544
  Bh(W, { size: 32, weight: "bold" }), P(E);
@@ -9548,7 +9548,7 @@ function g1(r, e) {
9548
9548
  {
9549
9549
  var Z = (re) => {
9550
9550
  var O = d1(), G = R(O);
9551
- o(G), P(O), ue((U) => be(O, "data-tip", U), [
9551
+ o(G), P(O), ce((U) => be(O, "data-tip", U), [
9552
9552
  () => s.showThumbnailGallery ? /* @__PURE__ */ Gn() : /* @__PURE__ */ Fn()
9553
9553
  ]), v(re, O);
9554
9554
  };
@@ -9560,7 +9560,7 @@ function g1(r, e) {
9560
9560
  {
9561
9561
  var q = (re) => {
9562
9562
  var O = f1(), G = R(O);
9563
- n(G), P(O), ue((U) => be(O, "data-tip", U), [
9563
+ n(G), P(O), ce((U) => be(O, "data-tip", U), [
9564
9564
  () => s.isFullScreen ? /* @__PURE__ */ wi() : /* @__PURE__ */ _i()
9565
9565
  ]), v(re, O);
9566
9566
  };
@@ -9572,7 +9572,7 @@ function g1(r, e) {
9572
9572
  {
9573
9573
  var z = (re) => {
9574
9574
  var O = h1(), G = R(O);
9575
- a(G), P(O), ue((U) => be(O, "data-tip", U), [
9575
+ a(G), P(O), ce((U) => be(O, "data-tip", U), [
9576
9576
  () => s.showAnnotations ? /* @__PURE__ */ yi() : /* @__PURE__ */ ki()
9577
9577
  ]), v(re, O);
9578
9578
  };
@@ -9584,23 +9584,23 @@ function g1(r, e) {
9584
9584
  {
9585
9585
  var oe = (re) => {
9586
9586
  var O = p1(), G = R(O);
9587
- i(G), P(O), ue((U) => be(O, "data-tip", U), [() => /* @__PURE__ */ xi()]), v(re, O);
9587
+ i(G), P(O), ce((U) => be(O, "data-tip", U), [() => /* @__PURE__ */ xi()]), v(re, O);
9588
9588
  };
9589
9589
  I(ee, (re) => {
9590
9590
  c(b) && re(oe);
9591
9591
  });
9592
9592
  }
9593
- P(V), ue(
9593
+ P(N), ce(
9594
9594
  (re, O) => {
9595
- Se(B, re), be(K, "data-tip", O);
9595
+ Me(B, re), be(K, "data-tip", O);
9596
9596
  },
9597
9597
  [() => /* @__PURE__ */ id(), () => /* @__PURE__ */ sa()]
9598
- ), v(M, V);
9598
+ ), v(M, N);
9599
9599
  };
9600
9600
  I(
9601
9601
  y,
9602
9602
  (M) => {
9603
- c(_).length > 1 && M(N);
9603
+ c(_).length > 1 && M(V);
9604
9604
  },
9605
9605
  !0
9606
9606
  );
@@ -9611,12 +9611,12 @@ function g1(r, e) {
9611
9611
  c(_).length === 1 ? T(w) : T(L, !1);
9612
9612
  });
9613
9613
  }
9614
- v(r, f), Le();
9614
+ v(r, f), Oe();
9615
9615
  }
9616
9616
  rr(["click"]);
9617
9617
  var m1 = /* @__PURE__ */ D('<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>'), b1 = /* @__PURE__ */ D('<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), w1 = /* @__PURE__ */ D('<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>'), _1 = /* @__PURE__ */ D('<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>'), y1 = /* @__PURE__ */ D('<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>'), k1 = /* @__PURE__ */ D('<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>'), x1 = /* @__PURE__ */ D('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');
9618
9618
  function A1(r, e) {
9619
- Me(e, !0);
9619
+ Le(e, !0);
9620
9620
  const t = it();
9621
9621
  let o = /* @__PURE__ */ at(e, ["$$slots", "$$events", "$$legacy", "children"]), n = /* @__PURE__ */ F(() => e.weight ?? t.weight ?? "regular"), a = /* @__PURE__ */ F(() => e.color ?? t.color ?? "currentColor"), i = /* @__PURE__ */ F(() => e.size ?? t.size ?? "1em"), s = /* @__PURE__ */ F(() => e.mirrored ?? t.mirrored ?? !1);
9622
9622
  function d(f) {
@@ -9661,12 +9661,12 @@ function A1(r, e) {
9661
9661
  var y = b1();
9662
9662
  Xe(), v(g, y);
9663
9663
  }, T = (g) => {
9664
- var y = j(), N = H(y);
9664
+ var y = j(), V = H(y);
9665
9665
  {
9666
9666
  var M = (E) => {
9667
9667
  var A = w1();
9668
9668
  v(E, A);
9669
- }, V = (E) => {
9669
+ }, N = (E) => {
9670
9670
  var A = j(), B = H(A);
9671
9671
  {
9672
9672
  var W = (x) => {
@@ -9719,9 +9719,9 @@ function A1(r, e) {
9719
9719
  v(E, A);
9720
9720
  };
9721
9721
  I(
9722
- N,
9722
+ V,
9723
9723
  (E) => {
9724
- c(n) === "fill" ? E(M) : E(V, !1);
9724
+ c(n) === "fill" ? E(M) : E(N, !1);
9725
9725
  },
9726
9726
  !0
9727
9727
  );
@@ -9742,15 +9742,15 @@ function A1(r, e) {
9742
9742
  c(n) === "bold" ? f(b) : f(_, !1);
9743
9743
  });
9744
9744
  }
9745
- P(u), v(r, u), Le();
9745
+ P(u), v(r, u), Oe();
9746
9746
  }
9747
9747
  var E1 = /* @__PURE__ */ Q('<div class="tooltip tooltip-right"><button><!></button></div>'), C1 = /* @__PURE__ */ Q('<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>');
9748
9748
  function I1(r, e) {
9749
- Me(e, !0);
9749
+ Le(e, !0);
9750
9750
  const t = kr(Er);
9751
- let o = /* @__PURE__ */ F(() => [...t.pluginMenuButtons].sort((u, l) => (u.order ?? 100) - (l.order ?? 100))), n = /* @__PURE__ */ ce(!1);
9751
+ let o = /* @__PURE__ */ F(() => [...t.pluginMenuButtons].sort((u, l) => (u.order ?? 100) - (l.order ?? 100))), n = /* @__PURE__ */ ue(!1);
9752
9752
  function a() {
9753
- ne(n, !c(n));
9753
+ ae(n, !c(n));
9754
9754
  }
9755
9755
  var i = j(), s = H(i);
9756
9756
  {
@@ -9760,19 +9760,19 @@ function I1(r, e) {
9760
9760
  const T = /* @__PURE__ */ F(() => c(L).icon);
9761
9761
  var g = E1(), y = R(g);
9762
9762
  y.__click = () => {
9763
- c(L).onClick(), ne(n, !1);
9763
+ c(L).onClick(), ae(n, !1);
9764
9764
  };
9765
- var N = R(y);
9766
- Br(N, () => c(T), (M, V) => {
9767
- V(M, { size: 28, weight: "bold" });
9768
- }), P(y), P(g), ue(
9765
+ var V = R(y);
9766
+ Br(V, () => c(T), (M, N) => {
9767
+ N(M, { size: 28, weight: "bold" });
9768
+ }), P(y), P(g), ce(
9769
9769
  (M) => {
9770
- be(g, "data-tip", c(L).tooltip), be(y, "aria-label", c(L).tooltip), Te(y, 1, `btn btn-lg btn-circle shadow-lg ${M ?? ""}`);
9770
+ be(g, "data-tip", c(L).tooltip), be(y, "aria-label", c(L).tooltip), Ae(y, 1, `btn btn-lg btn-circle shadow-lg ${M ?? ""}`);
9771
9771
  },
9772
9772
  [
9773
9773
  () => {
9774
- var M, V;
9775
- return (V = (M = c(L)).isActive) != null && V.call(M) ? c(L).activeClass ?? "btn-primary" : "btn-neutral";
9774
+ var M, N;
9775
+ return (N = (M = c(L)).isActive) != null && N.call(M) ? c(L).activeClass ?? "btn-primary" : "btn-neutral";
9776
9776
  }
9777
9777
  ]
9778
9778
  ), v(w, g);
@@ -9790,9 +9790,9 @@ function I1(r, e) {
9790
9790
  c(n) ? w(f) : w(h, !1);
9791
9791
  });
9792
9792
  }
9793
- P(b), P(p), P(l), ue(
9793
+ P(b), P(p), P(l), ce(
9794
9794
  (w, L) => {
9795
- Te(m, 1, `flex flex-col-reverse gap-3 mb-3 transition-all duration-300 origin-bottom ${c(n) ? "opacity-100 translate-y-0 scale-100" : "opacity-0 translate-y-4 scale-90 pointer-events-none"}`), be(p, "data-tip", w), Te(b, 1, `btn btn-lg btn-secondary btn-circle shadow-xl transition-transform duration-300 ${c(n) ? "rotate-90" : ""}`), be(b, "aria-label", L);
9795
+ Ae(m, 1, `flex flex-col-reverse gap-3 mb-3 transition-all duration-300 origin-bottom ${c(n) ? "opacity-100 translate-y-0 scale-100" : "opacity-0 translate-y-4 scale-90 pointer-events-none"}`), be(p, "data-tip", w), Ae(b, 1, `btn btn-lg btn-secondary btn-circle shadow-xl transition-transform duration-300 ${c(n) ? "rotate-90" : ""}`), be(b, "aria-label", L);
9796
9796
  },
9797
9797
  [() => /* @__PURE__ */ Ai(), () => /* @__PURE__ */ Ai()]
9798
9798
  ), v(u, l);
@@ -9801,12 +9801,12 @@ function I1(r, e) {
9801
9801
  c(o).length > 0 && u(d);
9802
9802
  });
9803
9803
  }
9804
- v(r, i), Le();
9804
+ v(r, i), Oe();
9805
9805
  }
9806
9806
  rr(["click"]);
9807
9807
  var S1 = /* @__PURE__ */ Q('<div class="mb-6 prose"><p><!></p></div>'), M1 = /* @__PURE__ */ Q('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), L1 = /* @__PURE__ */ Q('<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), O1 = /* @__PURE__ */ Q('<dt class="font-bold text-lg opacity-70 mt-6"> </dt> <dd class="text-sm ps-2"><!></dd>', 1), T1 = /* @__PURE__ */ Q('<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>');
9808
9808
  function P1(r, e) {
9809
- Me(e, !0);
9809
+ Le(e, !0);
9810
9810
  const t = kr(Er);
9811
9811
  let o = /* @__PURE__ */ F(() => t.manifest), n = /* @__PURE__ */ F(() => {
9812
9812
  const x = sf.current;
@@ -9848,7 +9848,7 @@ function P1(r, e) {
9848
9848
  var S = M1(), Z = H(S), X = R(Z, !0);
9849
9849
  P(Z);
9850
9850
  var q = Y(Z, 2), C = R(q);
9851
- vr(C, () => c(i)), P(q), ue((z) => Se(X, z), [() => /* @__PURE__ */ Qu()]), v(x, S);
9851
+ vr(C, () => c(i)), P(q), ce((z) => Me(X, z), [() => /* @__PURE__ */ Qu()]), v(x, S);
9852
9852
  };
9853
9853
  I(L, (x) => {
9854
9854
  c(i) && x(T);
@@ -9860,9 +9860,9 @@ function P1(r, e) {
9860
9860
  var S = L1(), Z = H(S), X = R(Z, !0);
9861
9861
  P(Z);
9862
9862
  var q = Y(Z, 2), C = R(q), z = R(C, !0);
9863
- P(C), P(q), ue(
9863
+ P(C), P(q), ce(
9864
9864
  (ee) => {
9865
- Se(X, ee), be(C, "href", c(s)), Se(z, c(s));
9865
+ Me(X, ee), be(C, "href", c(s)), Me(z, c(s));
9866
9866
  },
9867
9867
  [() => /* @__PURE__ */ td()]
9868
9868
  ), v(x, S);
@@ -9871,42 +9871,42 @@ function P1(r, e) {
9871
9871
  c(s) && x(y);
9872
9872
  });
9873
9873
  }
9874
- var N = Y(g, 2);
9875
- Tt(N, 17, () => c(n), fn, (x, S) => {
9874
+ var V = Y(g, 2);
9875
+ Tt(V, 17, () => c(n), fn, (x, S) => {
9876
9876
  var Z = O1(), X = H(Z), q = R(X, !0);
9877
9877
  P(X);
9878
9878
  var C = Y(X, 2), z = R(C);
9879
- vr(z, () => c(S).value), P(C), ue(() => Se(q, c(S).label)), v(x, Z);
9879
+ vr(z, () => c(S).value), P(C), ce(() => Me(q, c(S).label)), v(x, Z);
9880
9880
  }), P(w), P(_);
9881
- var M = Y(_, 2), V = R(M), E = R(V);
9881
+ var M = Y(_, 2), N = R(M), E = R(N);
9882
9882
  E.__click = () => t.toggleMetadataDialog();
9883
9883
  var A = R(E, !0);
9884
- P(E), P(V), P(M), P(u);
9884
+ P(E), P(N), P(M), P(u);
9885
9885
  var B = Y(u, 2), W = R(B);
9886
9886
  W.__click = () => t.toggleMetadataDialog();
9887
9887
  var K = R(W, !0);
9888
- P(W), P(B), P(d), ue(
9888
+ P(W), P(B), P(d), ce(
9889
9889
  (x, S, Z) => {
9890
- d.open = t.showMetadataDialog, Se(b, x), Se(A, S), Se(K, Z);
9890
+ d.open = t.showMetadataDialog, Me(b, x), Me(A, S), Me(K, Z);
9891
9891
  },
9892
9892
  [
9893
9893
  () => c(o) ? c(o).getLabel().length && c(o).getLabel()[0] ? c(o).getLabel()[0].value : /* @__PURE__ */ qu() : /* @__PURE__ */ Wu(),
9894
9894
  () => /* @__PURE__ */ bi(),
9895
9895
  () => /* @__PURE__ */ bi()
9896
9896
  ]
9897
- ), v(r, d), Le();
9897
+ ), v(r, d), Oe();
9898
9898
  }
9899
9899
  rr(["click"]);
9900
- var R1 = /* @__PURE__ */ Q('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'), z1 = /* @__PURE__ */ Q('<span class="loading loading-spinner loading-xs"></span>'), V1 = /* @__PURE__ */ Q('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), N1 = /* @__PURE__ */ Q('<div class="text-center opacity-50 p-4"> </div>'), H1 = /* @__PURE__ */ Q('<div class="text-center opacity-50 p-4 text-sm"> </div>'), j1 = /* @__PURE__ */ Q('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'), D1 = /* @__PURE__ */ Q('<div class="leading-relaxed"> </div>'), Z1 = /* @__PURE__ */ Q('<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>'), G1 = /* @__PURE__ */ Q('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>', 1), F1 = /* @__PURE__ */ Q('<div class="h-full bg-base-200 shadow-2xl z-100 flex flex-col border-l border-base-300 transition-[width] duration-200" 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>');
9900
+ var R1 = /* @__PURE__ */ Q('<button class="btn btn-sm btn-circle btn-ghost"><!></button>'), z1 = /* @__PURE__ */ Q('<span class="loading loading-spinner loading-xs"></span>'), V1 = /* @__PURE__ */ Q('<div class="flex justify-center p-8"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), N1 = /* @__PURE__ */ Q('<div class="text-center opacity-50 p-4"> </div>'), H1 = /* @__PURE__ */ Q('<div class="text-center opacity-50 p-4 text-sm"> </div>'), j1 = /* @__PURE__ */ Q('<div class="leading-relaxed"><span><!></span> <span class="bg-yellow-200 text-yellow-900 font-bold px-0.5 rounded"><!></span> <span><!></span></div>'), D1 = /* @__PURE__ */ Q('<div class="leading-relaxed"> </div>'), Z1 = /* @__PURE__ */ Q('<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>'), G1 = /* @__PURE__ */ Q('<div class="text-xs font-bold opacity-50 uppercase tracking-wider pb-2"> </div> <!>', 1), F1 = /* @__PURE__ */ Q('<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>');
9901
9901
  function U1(r, e) {
9902
- Me(e, !0);
9902
+ Le(e, !0);
9903
9903
  const t = kr(Er);
9904
- let o = /* @__PURE__ */ ce(""), n = /* @__PURE__ */ F(() => {
9904
+ let o = /* @__PURE__ */ ue(""), n = /* @__PURE__ */ F(() => {
9905
9905
  var p;
9906
9906
  return ((p = t.config.search) == null ? void 0 : p.showCloseButton) ?? !0;
9907
9907
  });
9908
9908
  ut(() => {
9909
- t.searchQuery !== Ar(() => c(o)) && ne(o, t.searchQuery, !0);
9909
+ t.searchQuery !== Ar(() => c(o)) && ae(o, t.searchQuery, !0);
9910
9910
  });
9911
9911
  function a() {
9912
9912
  t.search(c(o));
@@ -9933,7 +9933,7 @@ function U1(r, e) {
9933
9933
  var S = R1();
9934
9934
  S.__click = () => t.toggleSearchPanel();
9935
9935
  var Z = R(S);
9936
- Ca(Z, { size: 20, weight: "bold" }), P(S), ue((X) => be(S, "aria-label", X), [() => /* @__PURE__ */ ef()]), v(x, S);
9936
+ Ca(Z, { size: 20, weight: "bold" }), P(S), ce((X) => be(S, "aria-label", X), [() => /* @__PURE__ */ ef()]), v(x, S);
9937
9937
  };
9938
9938
  I(w, (x) => {
9939
9939
  c(n) && x(L);
@@ -9942,21 +9942,21 @@ function U1(r, e) {
9942
9942
  P(_);
9943
9943
  var T = Y(_, 2), g = R(T), y = R(g);
9944
9944
  Tl(y), y.__keydown = i;
9945
- var N = Y(y, 2);
9946
- N.__click = a;
9947
- var M = R(N);
9945
+ var V = Y(y, 2);
9946
+ V.__click = a;
9947
+ var M = R(V);
9948
9948
  {
9949
- var V = (x) => {
9949
+ var N = (x) => {
9950
9950
  var S = z1();
9951
9951
  v(x, S);
9952
9952
  }, E = (x) => {
9953
9953
  Wl(x, { size: 20, weight: "bold" });
9954
9954
  };
9955
9955
  I(M, (x) => {
9956
- t.isSearching ? x(V) : x(E, !1);
9956
+ t.isSearching ? x(N) : x(E, !1);
9957
9957
  });
9958
9958
  }
9959
- P(N), P(g), P(T);
9959
+ P(V), P(g), P(T);
9960
9960
  var A = Y(T, 2), B = R(A);
9961
9961
  {
9962
9962
  var W = (x) => {
@@ -9967,7 +9967,7 @@ function U1(r, e) {
9967
9967
  {
9968
9968
  var X = (C) => {
9969
9969
  var z = N1(), ee = R(z, !0);
9970
- P(z), ue((oe) => Se(ee, oe), [
9970
+ P(z), ce((oe) => Me(ee, oe), [
9971
9971
  () => /* @__PURE__ */ Nu({ query: t.searchQuery })
9972
9972
  ]), v(C, z);
9973
9973
  }, q = (C) => {
@@ -9975,35 +9975,35 @@ function U1(r, e) {
9975
9975
  {
9976
9976
  var oe = (O) => {
9977
9977
  var G = H1(), U = R(G, !0);
9978
- P(G), ue((ae) => Se(U, ae), [() => /* @__PURE__ */ Du()]), v(O, G);
9978
+ P(G), ce((ne) => Me(U, ne), [() => /* @__PURE__ */ Du()]), v(O, G);
9979
9979
  }, re = (O) => {
9980
- var G = G1(), U = H(G), ae = R(U, !0);
9980
+ var G = G1(), U = H(G), ne = R(U, !0);
9981
9981
  P(U);
9982
9982
  var ie = Y(U, 2);
9983
9983
  Tt(ie, 17, () => t.searchResults, fn, (le, ke) => {
9984
9984
  var me = Z1();
9985
9985
  me.__click = () => s(c(ke));
9986
- var ve = R(me), Ae = R(ve), Ee = R(Ae, !0);
9987
- P(Ae), P(ve);
9986
+ var ve = R(me), Ee = R(ve), Ce = R(Ee, !0);
9987
+ P(Ee), P(ve);
9988
9988
  var Ne = Y(ve, 2);
9989
9989
  {
9990
- var fe = (Ie) => {
9990
+ var fe = (Se) => {
9991
9991
  var Pe = j1(), zt = R(Pe), vn = R(zt);
9992
9992
  vr(vn, () => c(ke).before), P(zt);
9993
9993
  var Hr = Y(zt, 2), Xl = R(Hr);
9994
9994
  vr(Xl, () => c(ke).match), P(Hr);
9995
9995
  var Ia = Y(Hr, 2), Kl = R(Ia);
9996
- vr(Kl, () => c(ke).after), P(Ia), P(Pe), v(Ie, Pe);
9997
- }, xe = (Ie) => {
9996
+ vr(Kl, () => c(ke).after), P(Ia), P(Pe), v(Se, Pe);
9997
+ }, xe = (Se) => {
9998
9998
  var Pe = D1(), zt = R(Pe, !0);
9999
- P(Pe), ue(() => Se(zt, c(ke).match)), v(Ie, Pe);
9999
+ P(Pe), ce(() => Me(zt, c(ke).match)), v(Se, Pe);
10000
10000
  };
10001
- I(Ne, (Ie) => {
10002
- c(ke).type === "hit" ? Ie(fe) : Ie(xe, !1);
10001
+ I(Ne, (Se) => {
10002
+ c(ke).type === "hit" ? Se(fe) : Se(xe, !1);
10003
10003
  });
10004
10004
  }
10005
- P(me), ue(() => Se(Ee, c(ke).canvasLabel)), v(le, me);
10006
- }), ue((le) => Se(ae, le), [
10005
+ P(me), ce(() => Me(Ce, c(ke).canvasLabel)), v(le, me);
10006
+ }), ce((le) => Me(ne, le), [
10007
10007
  () => /* @__PURE__ */ Fu({ count: t.searchResults.length })
10008
10008
  ]), v(O, G);
10009
10009
  };
@@ -10031,9 +10031,9 @@ function U1(r, e) {
10031
10031
  t.isSearching ? x(W) : x(K, !1);
10032
10032
  });
10033
10033
  }
10034
- P(A), P(b), ue(
10034
+ P(A), P(b), ce(
10035
10035
  (x, S, Z, X) => {
10036
- Vr(b, `width: ${c(d) ?? ""}`), be(b, "aria-label", x), Se(h, S), be(y, "placeholder", Z), be(N, "aria-label", X);
10036
+ Ae(b, 1, `h-full bg-base-200 shadow-2xl z-100 flex flex-col transition-[width] duration-200 ${t.config.transparentBackground ? "" : "border-l border-base-300"}`), Vr(b, `width: ${c(d) ?? ""}`), be(b, "aria-label", x), Me(h, S), be(y, "placeholder", Z), be(V, "aria-label", X);
10037
10037
  },
10038
10038
  [
10039
10039
  () => /* @__PURE__ */ mi(),
@@ -10041,20 +10041,20 @@ function U1(r, e) {
10041
10041
  () => /* @__PURE__ */ Ru(),
10042
10042
  () => /* @__PURE__ */ mi()
10043
10043
  ]
10044
- ), Mc(y, () => c(o), (x) => ne(o, x)), v(p, b);
10044
+ ), Mc(y, () => c(o), (x) => ae(o, x)), v(p, b);
10045
10045
  };
10046
10046
  I(l, (p) => {
10047
10047
  t.showSearchPanel && p(m);
10048
10048
  });
10049
10049
  }
10050
- v(r, u), Le();
10050
+ v(r, u), Oe();
10051
10051
  }
10052
10052
  rr(["click", "keydown"]);
10053
- var B1 = /* @__PURE__ */ Q('<div class="h-full w-[200px] pointer-events-auto relative"><!></div>'), q1 = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), $1 = /* @__PURE__ */ Q('<div class="flex-none flex flex-row z-20 bg-base-200 border-r border-base-300 transition-all"><!> <!></div>'), Y1 = /* @__PURE__ */ Q('<div class="flex-none h-[140px] w-full pointer-events-auto relative z-20"><!></div>'), W1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), X1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center text-error"> </div>'), K1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'), Q1 = /* @__PURE__ */ Q('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'), J1 = /* @__PURE__ */ Q('<div class="flex-none h-[140px] w-full pointer-events-auto relative z-20"><!></div>'), ep = /* @__PURE__ */ Q('<div class="relative w-full z-40 pointer-events-auto"><!></div>'), tp = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), rp = /* @__PURE__ */ Q('<div class="h-full w-[200px] pointer-events-auto relative"><!></div>'), op = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), np = /* @__PURE__ */ Q('<div class="flex-none flex flex-row z-20 bg-base-200 border-l border-base-300 transition-all"><!> <!> <!></div>'), ap = /* @__PURE__ */ Q('<div id="triiiceratops-viewer" class="flex w-full h-full relative bg-base-100 overflow-hidden"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div class="flex-1 relative min-h-0 w-full h-full bg-base-100"><!> <!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');
10053
+ var B1 = /* @__PURE__ */ Q('<div class="h-full w-[200px] pointer-events-auto relative"><!></div>'), q1 = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), $1 = /* @__PURE__ */ Q("<div><!> <!></div>"), Y1 = /* @__PURE__ */ Q('<div class="flex-none h-[140px] w-full pointer-events-auto relative z-20"><!></div>'), W1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center"><span class="loading loading-spinner loading-lg text-primary"></span></div>'), X1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center text-error"> </div>'), K1 = /* @__PURE__ */ Q('<div class="w-full h-full flex items-center justify-center text-base-content/50"> </div>'), Q1 = /* @__PURE__ */ Q('<div class="absolute inset-0 z-40 pointer-events-none"><!></div>'), J1 = /* @__PURE__ */ Q('<div class="flex-none h-[140px] w-full pointer-events-auto relative z-20"><!></div>'), ep = /* @__PURE__ */ Q('<div class="relative w-full z-40 pointer-events-auto"><!></div>'), tp = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), rp = /* @__PURE__ */ Q('<div class="h-full w-[200px] pointer-events-auto relative"><!></div>'), op = /* @__PURE__ */ Q('<div class="h-full relative pointer-events-auto"><!></div>'), np = /* @__PURE__ */ Q("<div><!> <!> <!></div>"), ap = /* @__PURE__ */ Q('<div id="triiiceratops-viewer"><!> <div id="triiiceratops-center-panel" class="flex-1 relative min-w-0 flex flex-col"><!> <div><!> <!> <!> <!> <!> <!> <!> <!></div> <!> <!></div> <!></div>');
10054
10054
  function pp(r, e) {
10055
- Me(e, !0);
10055
+ Le(e, !0);
10056
10056
  const t = typeof window < "u";
10057
- let o = Do(e, "plugins", 19, () => []), n = Do(e, "config", 19, () => ({})), a = Do(e, "viewerState", 15), i = /* @__PURE__ */ ce(void 0);
10057
+ let o = Do(e, "plugins", 19, () => []), n = Do(e, "config", 19, () => ({})), a = Do(e, "viewerState", 15), i = /* @__PURE__ */ ue(void 0);
10058
10058
  ut(() => {
10059
10059
  c(i) && q0(c(i), e.theme, e.themeConfig);
10060
10060
  });
@@ -10090,14 +10090,14 @@ function pp(r, e) {
10090
10090
  };
10091
10091
  });
10092
10092
  let l = /* @__PURE__ */ F(() => s.showThumbnailGallery && s.dockSide === "left" || s.pluginPanels.some((U) => U.position === "left" && U.isVisible())), m = /* @__PURE__ */ F(() => s.showSearchPanel || s.showThumbnailGallery && s.dockSide === "right" || s.pluginPanels.some((U) => U.position === "right" && U.isVisible())), p = /* @__PURE__ */ F(() => s.manifest), b = /* @__PURE__ */ F(() => s.canvases), _ = /* @__PURE__ */ F(() => s.currentCanvasIndex), f = /* @__PURE__ */ F(() => {
10093
- var Ee, Ne;
10093
+ var Ce, Ne;
10094
10094
  if (!c(b) || c(_) === -1 || !c(b)[c(_)])
10095
- return (Ee = c(p)) != null && Ee.isFetching || console.log("TriiiceratopsViewer: No canvas found"), null;
10095
+ return (Ce = c(p)) != null && Ce.isFetching || console.log("TriiiceratopsViewer: No canvas found"), null;
10096
10096
  const U = c(b)[c(_)];
10097
- let ae = U.getImages();
10098
- if ((!ae || !ae.length) && U.getContent && (ae = U.getContent()), !ae || !ae.length)
10097
+ let ne = U.getImages();
10098
+ if ((!ne || !ne.length) && U.getContent && (ne = U.getContent()), !ne || !ne.length)
10099
10099
  return U.__jsonld && U.__jsonld.items, (Ne = c(p)) != null && Ne.isFetching || console.log("TriiiceratopsViewer: No images/content in canvas"), null;
10100
- const ie = ae[0];
10100
+ const ie = ne[0];
10101
10101
  let le = ie.getResource ? ie.getResource() : null;
10102
10102
  if (!le && ie.getBody) {
10103
10103
  const fe = ie.getBody();
@@ -10117,8 +10117,8 @@ function pp(r, e) {
10117
10117
  }
10118
10118
  if (me.length > 0) {
10119
10119
  const fe = me.find((xe) => {
10120
- const Ie = xe.getType ? xe.getType() : xe.type || "", Pe = xe.getProfile ? xe.getProfile() : xe.profile || "";
10121
- return Ie === "ImageService1" || Ie === "ImageService2" || Ie === "ImageService3" || typeof Pe == "string" && Pe.includes("http://iiif.io/api/image") || typeof Pe == "string" && Pe === "level0";
10120
+ const Se = xe.getType ? xe.getType() : xe.type || "", Pe = xe.getProfile ? xe.getProfile() : xe.profile || "";
10121
+ return Se === "ImageService1" || Se === "ImageService2" || Se === "ImageService3" || typeof Pe == "string" && Pe.includes("http://iiif.io/api/image") || typeof Pe == "string" && Pe === "level0";
10122
10122
  });
10123
10123
  if (fe) {
10124
10124
  let xe = ke(fe);
@@ -10127,7 +10127,7 @@ function pp(r, e) {
10127
10127
  }
10128
10128
  const ve = ke(le);
10129
10129
  if (ve && ve.includes("/iiif/")) {
10130
- const fe = ve.split("/"), xe = fe.findIndex((Ie) => Ie === "full" || Ie.match(/^\d+,\d+,\d+,\d+$/));
10130
+ const fe = ve.split("/"), xe = fe.findIndex((Se) => Se === "full" || Se.match(/^\d+,\d+,\d+,\d+$/));
10131
10131
  if (xe > 0)
10132
10132
  return `${fe.slice(0, xe).join("/")}/info.json`;
10133
10133
  }
@@ -10136,11 +10136,11 @@ function pp(r, e) {
10136
10136
  var h = ap(), w = R(h);
10137
10137
  {
10138
10138
  var L = (U) => {
10139
- var ae = $1(), ie = R(ae);
10139
+ var ne = $1(), ie = R(ne);
10140
10140
  {
10141
10141
  var le = (me) => {
10142
- var ve = B1(), Ae = R(ve);
10143
- Gr(Ae, {
10142
+ var ve = B1(), Ee = R(ve);
10143
+ Gr(Ee, {
10144
10144
  get canvases() {
10145
10145
  return c(b);
10146
10146
  }
@@ -10152,20 +10152,20 @@ function pp(r, e) {
10152
10152
  }
10153
10153
  var ke = Y(ie, 2);
10154
10154
  Tt(ke, 17, () => s.pluginPanels, (me) => me.id, (me, ve) => {
10155
- var Ae = j(), Ee = H(Ae);
10155
+ var Ee = j(), Ce = H(Ee);
10156
10156
  {
10157
10157
  var Ne = (fe) => {
10158
- var xe = q1(), Ie = R(xe);
10159
- Br(Ie, () => c(ve).component, (Pe, zt) => {
10158
+ var xe = q1(), Se = R(xe);
10159
+ Br(Se, () => c(ve).component, (Pe, zt) => {
10160
10160
  zt(Pe, Ro(() => c(ve).props ?? {}));
10161
10161
  }), P(xe), v(fe, xe);
10162
10162
  };
10163
- I(Ee, (fe) => {
10163
+ I(Ce, (fe) => {
10164
10164
  c(ve).isVisible() && c(ve).position === "left" && fe(Ne);
10165
10165
  });
10166
10166
  }
10167
- v(me, Ae);
10168
- }), P(ae), v(U, ae);
10167
+ v(me, Ee);
10168
+ }), P(ne), ce(() => Ae(ne, 1, `flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground ? "" : "bg-base-200 border-r border-base-300"}`)), v(U, ne);
10169
10169
  };
10170
10170
  I(w, (U) => {
10171
10171
  c(l) && U(L);
@@ -10174,38 +10174,38 @@ function pp(r, e) {
10174
10174
  var T = Y(w, 2), g = R(T);
10175
10175
  {
10176
10176
  var y = (U) => {
10177
- var ae = Y1(), ie = R(ae);
10177
+ var ne = Y1(), ie = R(ne);
10178
10178
  Gr(ie, {
10179
10179
  get canvases() {
10180
10180
  return c(b);
10181
10181
  }
10182
- }), P(ae), v(U, ae);
10182
+ }), P(ne), v(U, ne);
10183
10183
  };
10184
10184
  I(g, (U) => {
10185
10185
  s.showThumbnailGallery && s.dockSide === "top" && U(y);
10186
10186
  });
10187
10187
  }
10188
- var N = Y(g, 2), M = R(N);
10188
+ var V = Y(g, 2), M = R(V);
10189
10189
  {
10190
- var V = (U) => {
10191
- var ae = W1();
10192
- v(U, ae);
10190
+ var N = (U) => {
10191
+ var ne = W1();
10192
+ v(U, ne);
10193
10193
  }, E = (U) => {
10194
- var ae = j(), ie = H(ae);
10194
+ var ne = j(), ie = H(ne);
10195
10195
  {
10196
10196
  var le = (me) => {
10197
- var ve = X1(), Ae = R(ve);
10198
- P(ve), ue(
10199
- (Ee) => Se(Ae, `${Ee ?? ""}
10197
+ var ve = X1(), Ee = R(ve);
10198
+ P(ve), ce(
10199
+ (Ce) => Me(Ee, `${Ce ?? ""}
10200
10200
  ${c(p).error ?? ""}`),
10201
10201
  [() => /* @__PURE__ */ of()]
10202
10202
  ), v(me, ve);
10203
10203
  }, ke = (me) => {
10204
- var ve = j(), Ae = H(ve);
10204
+ var ve = j(), Ee = H(ve);
10205
10205
  {
10206
- var Ee = (fe) => {
10207
- var xe = j(), Ie = H(xe);
10208
- bc(Ie, () => c(f), (Pe) => {
10206
+ var Ce = (fe) => {
10207
+ var xe = j(), Se = H(xe);
10208
+ bc(Se, () => c(f), (Pe) => {
10209
10209
  iu(Pe, {
10210
10210
  get tileSources() {
10211
10211
  return c(f);
@@ -10216,13 +10216,13 @@ function pp(r, e) {
10216
10216
  });
10217
10217
  }), v(fe, xe);
10218
10218
  }, Ne = (fe) => {
10219
- var xe = K1(), Ie = R(xe, !0);
10220
- P(xe), ue((Pe) => Se(Ie, Pe), [() => /* @__PURE__ */ lf()]), v(fe, xe);
10219
+ var xe = K1(), Se = R(xe, !0);
10220
+ P(xe), ce((Pe) => Me(Se, Pe), [() => /* @__PURE__ */ lf()]), v(fe, xe);
10221
10221
  };
10222
10222
  I(
10223
- Ae,
10223
+ Ee,
10224
10224
  (fe) => {
10225
- c(f) ? fe(Ee) : fe(Ne, !1);
10225
+ c(f) ? fe(Ce) : fe(Ne, !1);
10226
10226
  },
10227
10227
  !0
10228
10228
  );
@@ -10238,11 +10238,11 @@ function pp(r, e) {
10238
10238
  !0
10239
10239
  );
10240
10240
  }
10241
- v(U, ae);
10241
+ v(U, ne);
10242
10242
  };
10243
10243
  I(M, (U) => {
10244
- var ae;
10245
- (ae = c(p)) != null && ae.isFetching ? U(V) : U(E, !1);
10244
+ var ne;
10245
+ (ne = c(p)) != null && ne.isFetching ? U(N) : U(E, !1);
10246
10246
  });
10247
10247
  }
10248
10248
  var A = Y(M, 2);
@@ -10268,17 +10268,17 @@ function pp(r, e) {
10268
10268
  });
10269
10269
  }
10270
10270
  var Z = Y(x, 2);
10271
- Tt(Z, 17, () => s.pluginPanels, (U) => U.id, (U, ae) => {
10271
+ Tt(Z, 17, () => s.pluginPanels, (U) => U.id, (U, ne) => {
10272
10272
  var ie = j(), le = H(ie);
10273
10273
  {
10274
10274
  var ke = (me) => {
10275
- var ve = Q1(), Ae = R(ve);
10276
- Br(Ae, () => c(ae).component, (Ee, Ne) => {
10277
- Ne(Ee, Ro(() => c(ae).props ?? {}));
10275
+ var ve = Q1(), Ee = R(ve);
10276
+ Br(Ee, () => c(ne).component, (Ce, Ne) => {
10277
+ Ne(Ce, Ro(() => c(ne).props ?? {}));
10278
10278
  }), P(ve), v(me, ve);
10279
10279
  };
10280
10280
  I(le, (me) => {
10281
- c(ae).isVisible() && c(ae).position === "overlay" && me(ke);
10281
+ c(ne).isVisible() && c(ne).position === "overlay" && me(ke);
10282
10282
  });
10283
10283
  }
10284
10284
  v(U, ie);
@@ -10309,33 +10309,33 @@ function pp(r, e) {
10309
10309
  s.showThumbnailGallery && s.dockSide === "none" && U(z);
10310
10310
  });
10311
10311
  }
10312
- P(N);
10313
- var ee = Y(N, 2);
10312
+ P(V);
10313
+ var ee = Y(V, 2);
10314
10314
  {
10315
10315
  var oe = (U) => {
10316
- var ae = J1(), ie = R(ae);
10316
+ var ne = J1(), ie = R(ne);
10317
10317
  Gr(ie, {
10318
10318
  get canvases() {
10319
10319
  return c(b);
10320
10320
  }
10321
- }), P(ae), v(U, ae);
10321
+ }), P(ne), v(U, ne);
10322
10322
  };
10323
10323
  I(ee, (U) => {
10324
10324
  s.showThumbnailGallery && s.dockSide === "bottom" && U(oe);
10325
10325
  });
10326
10326
  }
10327
10327
  var re = Y(ee, 2);
10328
- Tt(re, 17, () => s.pluginPanels, (U) => U.id, (U, ae) => {
10328
+ Tt(re, 17, () => s.pluginPanels, (U) => U.id, (U, ne) => {
10329
10329
  var ie = j(), le = H(ie);
10330
10330
  {
10331
10331
  var ke = (me) => {
10332
- var ve = ep(), Ae = R(ve);
10333
- Br(Ae, () => c(ae).component, (Ee, Ne) => {
10334
- Ne(Ee, Ro(() => c(ae).props ?? {}));
10332
+ var ve = ep(), Ee = R(ve);
10333
+ Br(Ee, () => c(ne).component, (Ce, Ne) => {
10334
+ Ne(Ce, Ro(() => c(ne).props ?? {}));
10335
10335
  }), P(ve), v(me, ve);
10336
10336
  };
10337
10337
  I(le, (me) => {
10338
- c(ae).isVisible() && c(ae).position === "bottom" && me(ke);
10338
+ c(ne).isVisible() && c(ne).position === "bottom" && me(ke);
10339
10339
  });
10340
10340
  }
10341
10341
  v(U, ie);
@@ -10343,52 +10343,54 @@ function pp(r, e) {
10343
10343
  var O = Y(T, 2);
10344
10344
  {
10345
10345
  var G = (U) => {
10346
- var ae = np(), ie = R(ae);
10346
+ var ne = np(), ie = R(ne);
10347
10347
  {
10348
- var le = (Ae) => {
10349
- var Ee = tp(), Ne = R(Ee);
10350
- U1(Ne, {}), P(Ee), v(Ae, Ee);
10348
+ var le = (Ee) => {
10349
+ var Ce = tp(), Ne = R(Ce);
10350
+ U1(Ne, {}), P(Ce), v(Ee, Ce);
10351
10351
  };
10352
- I(ie, (Ae) => {
10353
- s.showSearchPanel && Ae(le);
10352
+ I(ie, (Ee) => {
10353
+ s.showSearchPanel && Ee(le);
10354
10354
  });
10355
10355
  }
10356
10356
  var ke = Y(ie, 2);
10357
10357
  {
10358
- var me = (Ae) => {
10359
- var Ee = rp(), Ne = R(Ee);
10358
+ var me = (Ee) => {
10359
+ var Ce = rp(), Ne = R(Ce);
10360
10360
  Gr(Ne, {
10361
10361
  get canvases() {
10362
10362
  return c(b);
10363
10363
  }
10364
- }), P(Ee), v(Ae, Ee);
10364
+ }), P(Ce), v(Ee, Ce);
10365
10365
  };
10366
- I(ke, (Ae) => {
10367
- s.showThumbnailGallery && s.dockSide === "right" && Ae(me);
10366
+ I(ke, (Ee) => {
10367
+ s.showThumbnailGallery && s.dockSide === "right" && Ee(me);
10368
10368
  });
10369
10369
  }
10370
10370
  var ve = Y(ke, 2);
10371
- Tt(ve, 17, () => s.pluginPanels, (Ae) => Ae.id, (Ae, Ee) => {
10371
+ Tt(ve, 17, () => s.pluginPanels, (Ee) => Ee.id, (Ee, Ce) => {
10372
10372
  var Ne = j(), fe = H(Ne);
10373
10373
  {
10374
- var xe = (Ie) => {
10374
+ var xe = (Se) => {
10375
10375
  var Pe = op(), zt = R(Pe);
10376
- Br(zt, () => c(Ee).component, (vn, Hr) => {
10377
- Hr(vn, Ro(() => c(Ee).props ?? {}));
10378
- }), P(Pe), v(Ie, Pe);
10376
+ Br(zt, () => c(Ce).component, (vn, Hr) => {
10377
+ Hr(vn, Ro(() => c(Ce).props ?? {}));
10378
+ }), P(Pe), v(Se, Pe);
10379
10379
  };
10380
- I(fe, (Ie) => {
10381
- c(Ee).isVisible() && c(Ee).position === "right" && Ie(xe);
10380
+ I(fe, (Se) => {
10381
+ c(Ce).isVisible() && c(Ce).position === "right" && Se(xe);
10382
10382
  });
10383
10383
  }
10384
- v(Ae, Ne);
10385
- }), P(ae), v(U, ae);
10384
+ v(Ee, Ne);
10385
+ }), P(ne), ce(() => Ae(ne, 1, `flex-none flex flex-row z-20 transition-all ${s.config.transparentBackground ? "" : "bg-base-200 border-l border-base-300"}`)), v(U, ne);
10386
10386
  };
10387
10387
  I(O, (U) => {
10388
10388
  c(m) && U(G);
10389
10389
  });
10390
10390
  }
10391
- P(h), ka(h, (U) => ne(i, U), () => c(i)), v(r, h), Le();
10391
+ P(h), ka(h, (U) => ae(i, U), () => c(i)), ce(() => {
10392
+ Ae(h, 1, `flex w-full h-full relative overflow-hidden ${s.config.transparentBackground ? "" : "bg-base-100"}`), Ae(V, 1, `flex-1 relative min-h-0 w-full h-full ${s.config.transparentBackground ? "" : "bg-base-100"}`);
10393
+ }), v(r, h), Oe();
10392
10394
  }
10393
10395
  export {
10394
10396
  j as A,
@@ -10398,8 +10400,8 @@ export {
10398
10400
  Ke as E,
10399
10401
  rr as F,
10400
10402
  Tl as G,
10401
- ue as H,
10402
- Se as I,
10403
+ ce as H,
10404
+ Me as I,
10403
10405
  sp as J,
10404
10406
  cp as K,
10405
10407
  De as L,
@@ -10415,16 +10417,16 @@ export {
10415
10417
  c as g,
10416
10418
  vr as h,
10417
10419
  R as i,
10418
- ne as j,
10420
+ ae as j,
10419
10421
  F as k,
10420
10422
  ka as l,
10421
10423
  v as m,
10422
- Le as n,
10424
+ Oe as n,
10423
10425
  hp as o,
10424
- Me as p,
10426
+ Le as p,
10425
10427
  fp as q,
10426
10428
  P as r,
10427
- ce as s,
10429
+ ue as s,
10428
10430
  Fi as t,
10429
10431
  ut as u,
10430
10432
  _e as v,