@museumwnf/viewer-layout 3.38.0 → 3.40.0

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.
@@ -3,13 +3,13 @@ import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
3
3
  import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
4
4
  import { t as s } from "./SiteShell-DPdTxtJ5.js";
5
5
  import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useId as k, useSlots as A, vModelSelect as j, vModelText as M, vShow as N, watch as P, withCtx as F, withDirectives as I, withModifiers as L } from "vue";
6
- import { byId as R, collate as z, entityRef as B, loadEntities as V, md as ee, pictureCredits as te, picturesInLanguage as ne, removeEndingPoint as re, renderBlock as H, renderInline as U, renderPlain as W, useDataPackage as G, useI18n as K, useSection as ie, useSiteConfig as q } from "@museumwnf/viewer-core";
7
- import { useRoute as ae } from "vue-router";
6
+ import { byId as R, collate as z, entityRef as B, loadEntities as V, md as H, pictureCredits as ee, picturesInLanguage as te, removeEndingPoint as ne, renderBlock as U, renderInline as W, renderPlain as G, useDataPackage as K, useI18n as q, useSection as re, useSiteConfig as J } from "@museumwnf/viewer-core";
7
+ import { useRoute as ie } from "vue-router";
8
8
  //#region src/standalone/Banner.vue
9
- var oe = {
9
+ var ae = {
10
10
  key: 0,
11
11
  class: "mwnf-standalone-banner__title"
12
- }, J = {
12
+ }, Y = {
13
13
  __name: "Banner",
14
14
  props: {
15
15
  image: {
@@ -25,24 +25,24 @@ var oe = {
25
25
  return (t, n) => (C(), f("div", {
26
26
  class: "mwnf-standalone-banner",
27
27
  style: x(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
- }, [e.title ? (C(), f("h1", oe, [p("span", null, D(e.title), 1)])) : d("", !0)], 4));
28
+ }, [e.title ? (C(), f("h1", ae, [p("span", null, D(e.title), 1)])) : d("", !0)], 4));
29
29
  }
30
30
  };
31
31
  //#endregion
32
32
  //#region src/standalone/chrome.js
33
- function Y() {
34
- let t = q();
33
+ function X() {
34
+ let t = J();
35
35
  return (n) => e(t.chrome, n);
36
36
  }
37
- function X(e, t) {
37
+ function Z(e, t) {
38
38
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
39
39
  }
40
- function Z(e = /* @__PURE__ */ new Date()) {
40
+ function oe(e = /* @__PURE__ */ new Date()) {
41
41
  let t = new Date(e.getFullYear(), 0, 1);
42
42
  return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
43
43
  }
44
44
  function Q(e, t = /* @__PURE__ */ new Date()) {
45
- return e?.length ? e[Z(t) % e.length] : null;
45
+ return e?.length ? e[oe(t) % e.length] : null;
46
46
  }
47
47
  function se(e) {
48
48
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
@@ -76,18 +76,18 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
76
76
  default: () => []
77
77
  } },
78
78
  setup(e) {
79
- let t = e, { t: r } = K(), i = Y(), a = l(() => t.columns.map((e, t) => ({
79
+ let t = e, { t: r } = q(), i = X(), a = l(() => t.columns.map((e, t) => ({
80
80
  key: t,
81
81
  width: e.width ?? null,
82
- lead: e.lead ? U(r(e.lead)) : "",
83
- text: e.text ? U(r(e.text)) : "",
82
+ lead: e.lead ? W(r(e.lead)) : "",
83
+ text: e.text ? W(r(e.text)) : "",
84
84
  break: !!e.break,
85
85
  title: e.title ? r(e.title) : "",
86
86
  logos: (e.logos ?? []).map((e) => ({
87
87
  src: i(e.src) ?? "",
88
88
  alt: e.alt ? r(e.alt) : "",
89
89
  href: e.href ?? "",
90
- note: e.note ? H(r(e.note)) : ""
90
+ note: e.note ? U(r(e.note)) : ""
91
91
  })),
92
92
  links: (e.links ?? []).map((e) => ({
93
93
  ...e,
@@ -167,7 +167,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
167
167
  },
168
168
  emits: ["update:language"],
169
169
  setup(t, { emit: n }) {
170
- let r = t, i = n, { t: a, locale: o } = K(), c = ae(), h = l(() => !!c.meta?.bare), _ = q(), v = ie(), b = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), w = l(() => b.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, X(t, o.value)), k = l(() => {
170
+ let r = t, i = n, { t: a, locale: o } = q(), c = ie(), h = l(() => !!c.meta?.bare), _ = J(), v = re(), b = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), w = l(() => b.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, Z(t, o.value)), k = l(() => {
171
171
  let e = b.value.logo ?? {}, t = T(w.value?.logo ?? e.src);
172
172
  return t ? {
173
173
  logo: t,
@@ -226,7 +226,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
226
226
  }, [
227
227
  P.value ? {
228
228
  name: "banner",
229
- fn: F(() => [g(J, {
229
+ fn: F(() => [g(Y, {
230
230
  image: M.value,
231
231
  title: N.value
232
232
  }, null, 8, ["image", "title"])]),
@@ -329,19 +329,19 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
329
329
  }
330
330
  },
331
331
  setup(e) {
332
- let t = e, { t: r } = K(), i = (e) => re(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
332
+ let t = e, { t: r } = q(), i = (e) => ne(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
333
333
  let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
334
- a && n.push(U(a));
334
+ a && n.push(W(a));
335
335
  let o = i(e.alternate_name);
336
- o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${U(o)}`);
336
+ o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${W(o)}`);
337
337
  let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
338
- s && n.push(U(s));
338
+ s && n.push(W(s));
339
339
  for (let t of ["materials", "holder"]) {
340
340
  let r = i(e[t]);
341
- r && n.push(U(r));
341
+ r && n.push(W(r));
342
342
  }
343
343
  return n;
344
- }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => W(String(t.text?.name ?? t.record?.internal_name ?? "")));
344
+ }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => G(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
345
  return (t, i) => e.record ? (C(), f("div", je, [
346
346
  s.value ? (C(), u(n, {
347
347
  key: 0,
@@ -357,7 +357,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
357
357
  }, 8, ["to"])) : d("", !0),
358
358
  e.heading ? (C(), f("p", Ne, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
359
  p("p", Pe, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Fe), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
- o.value ? (C(), f("p", Ie, D(O(W)(o.value)), 1)) : d("", !0),
360
+ o.value ? (C(), f("p", Ie, D(O(G)(o.value)), 1)) : d("", !0),
361
361
  e.action ? (C(), f("p", Le, [g(n, { to: e.to }, {
362
362
  default: F(() => [h(D(O(r)(e.action)), 1)]),
363
363
  _: 1
@@ -370,10 +370,10 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
370
370
  }, Be = {
371
371
  key: 0,
372
372
  class: "mwnf-standalone-tiles__caption"
373
- }, Ve = { class: "mwnf-standalone-tiles__grid" }, He = ["src", "alt"], Ue = {
373
+ }, Ve = { class: "mwnf-standalone-tiles__caption-text" }, He = { class: "mwnf-standalone-tiles__grid" }, Ue = ["src", "alt"], We = {
374
374
  key: 0,
375
375
  class: "mwnf-standalone-tiles__label"
376
- }, We = {
376
+ }, Ge = {
377
377
  __name: "TileGrid",
378
378
  props: {
379
379
  caption: {
@@ -386,12 +386,12 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
386
386
  }
387
387
  },
388
388
  setup(e) {
389
- let t = e, { t: r } = K(), i = Y(), a = l(() => t.items.map((e) => ({
389
+ let t = e, { t: r } = q(), i = X(), a = l(() => t.items.map((e) => ({
390
390
  ...e,
391
391
  image: i(e.image) ?? "",
392
- label: e.text ? W(e.text) : e.label ? r(e.label) : ""
392
+ label: e.text ? G(e.text) : e.label ? r(e.label) : ""
393
393
  })));
394
- return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", Ve, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
394
+ return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, [p("span", Ve, D(O(r)(e.caption)), 1)])) : d("", !0), p("ul", He, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
395
395
  key: e.image,
396
396
  class: "mwnf-standalone-tiles__tile"
397
397
  }, [g(n, {
@@ -403,26 +403,26 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
403
403
  class: "mwnf-standalone-tiles__image",
404
404
  src: e.image,
405
405
  alt: e.label
406
- }, null, 8, He), e.label ? (C(), f("span", Ue, D(e.label), 1)) : d("", !0)]),
406
+ }, null, 8, Ue), e.label ? (C(), f("span", We, D(e.label), 1)) : d("", !0)]),
407
407
  _: 2
408
408
  }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
409
409
  }
410
- }, Ge = { class: "mwnf-standalone-home" }, Ke = {
410
+ }, Ke = { class: "mwnf-standalone-home" }, qe = {
411
411
  key: 0,
412
412
  class: "mwnf-standalone-home__links"
413
- }, qe = { key: 1 }, Je = {
413
+ }, Je = { key: 1 }, Ye = {
414
414
  __name: "Home",
415
415
  props: { home: {
416
416
  type: Object,
417
417
  default: null
418
418
  } },
419
419
  setup(e) {
420
- let t = e, { t: r, locale: i } = K(), a = q(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
420
+ let t = e, { t: r, locale: i } = q(), a = J(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
421
421
  ...e,
422
422
  label: r(e.label),
423
423
  prefix: e.prefix ? r(e.prefix) : "",
424
424
  title: e.title ? r(e.title) : void 0
425
- }))), p = l(() => o.value.highlight ?? null), m = G();
425
+ }))), p = l(() => o.value.highlight ?? null), m = K();
426
426
  p.value?.list?.length && (V(["items", "countries"]), P(i, (e) => {
427
427
  m.loadTranslations("items", e), m.loadTranslations("countries", e);
428
428
  }, { immediate: !0 }));
@@ -439,15 +439,15 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
439
439
  }), S = l(() => v.value && p.value?.place ? p.value.place(v.value, b.value, x.value) : null), w = l(() => v.value ? {
440
440
  name: p.value.route ?? "item",
441
441
  params: { id: v.value.id }
442
- } : null), O = Y(), k = l(() => {
442
+ } : null), O = X(), k = l(() => {
443
443
  let e = p.value?.pictures ?? [];
444
444
  return e.length ? O(Q(e)) ?? "" : "";
445
445
  }), A = l(() => {
446
446
  let e = o.value.tiles?.items;
447
447
  return (typeof e == "function" ? e() : e) ?? [];
448
448
  });
449
- return (e, t) => (C(), f("div", Ge, [
450
- s.value.length ? (C(), f("ul", Ke, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
449
+ return (e, t) => (C(), f("div", Ke, [
450
+ s.value.length ? (C(), f("ul", qe, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
451
451
  key: e.label,
452
452
  class: y({ "mwnf-standalone-home__link--gap": e.gap })
453
453
  }, [g(n, {
@@ -456,7 +456,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
456
456
  external: !!e.external,
457
457
  title: e.title
458
458
  }, {
459
- default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", qe, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
459
+ default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Je, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
460
460
  _: 2
461
461
  }, 1032, [
462
462
  "to",
@@ -486,7 +486,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
486
486
  "also-known-as",
487
487
  "action"
488
488
  ])) : d("", !0),
489
- o.value.tiles ? (C(), u(We, {
489
+ o.value.tiles ? (C(), u(Ge, {
490
490
  key: 2,
491
491
  caption: o.value.tiles.caption ?? "",
492
492
  items: A.value
@@ -494,7 +494,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
494
494
  E(e.$slots, "default")
495
495
  ]));
496
496
  }
497
- }, Ye = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", Xe = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Ze = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", Qe = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
497
+ }, Xe = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", Ze = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Qe = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", $e = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
498
498
  function $(e) {
499
499
  return String(e ?? "").replace(/[&<>"]/g, (e) => ({
500
500
  "&": "&amp;",
@@ -503,7 +503,7 @@ function $(e) {
503
503
  "\"": "&quot;"
504
504
  })[e]);
505
505
  }
506
- var $e = /* @__PURE__ */ new Set([
506
+ var et = /* @__PURE__ */ new Set([
507
507
  "I",
508
508
  "EM",
509
509
  "B",
@@ -511,7 +511,7 @@ var $e = /* @__PURE__ */ new Set([
511
511
  "U",
512
512
  "SUP",
513
513
  "SUB"
514
- ]), et = /* @__PURE__ */ new Set([
514
+ ]), tt = /* @__PURE__ */ new Set([
515
515
  "P",
516
516
  "DIV",
517
517
  "LI",
@@ -519,7 +519,7 @@ var $e = /* @__PURE__ */ new Set([
519
519
  "OL",
520
520
  "SECTION"
521
521
  ]);
522
- function tt(e) {
522
+ function nt(e) {
523
523
  let t = [[]], n = () => t[t.length - 1], r = () => {
524
524
  n().length && t.push([]);
525
525
  }, i = (e) => {
@@ -527,12 +527,12 @@ function tt(e) {
527
527
  n().push($(e.textContent));
528
528
  return;
529
529
  }
530
- if (e.nodeType !== Node.ELEMENT_NODE || e.matches(Qe)) return;
530
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches($e)) return;
531
531
  if (e.tagName === "BR") {
532
532
  n().push("<br/>");
533
533
  return;
534
534
  }
535
- let t = et.has(e.tagName), a = $e.has(e.tagName) ? e.tagName.toLowerCase() : "";
535
+ let t = tt.has(e.tagName), a = et.has(e.tagName) ? e.tagName.toLowerCase() : "";
536
536
  t && r(), a && n().push(`<${a}>`);
537
537
  for (let t of e.childNodes) i(t);
538
538
  a && n().push(`</${a}>`), t && r();
@@ -540,20 +540,20 @@ function tt(e) {
540
540
  for (let t of e.childNodes) i(t);
541
541
  return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
542
542
  }
543
- function nt(e, { title: t = "", dir: n = "" } = {}) {
543
+ function rt(e, { title: t = "", dir: n = "" } = {}) {
544
544
  let r = (t) => {
545
545
  for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
546
546
  return !0;
547
547
  }, i = [];
548
- for (let t of e.querySelectorAll(`${Xe}, ${Ze}`)) {
548
+ for (let t of e.querySelectorAll(`${Ze}, ${Qe}`)) {
549
549
  if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
550
550
  if (t.matches(".mwnf-credits__list > dt")) {
551
551
  let e = t.nextElementSibling;
552
- i.push(`<p>${$(t.textContent.trim())} ${e ? tt(e) : ""}</p>`);
552
+ i.push(`<p>${$(t.textContent.trim())} ${e ? nt(e) : ""}</p>`);
553
553
  continue;
554
554
  }
555
- let e = tt(t);
556
- e && i.push(t.matches(Xe) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
555
+ let e = nt(t);
556
+ e && i.push(t.matches(Ze) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
557
557
  }
558
558
  let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
559
559
  return `<html>
@@ -561,7 +561,7 @@ function nt(e, { title: t = "", dir: n = "" } = {}) {
561
561
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
562
562
  <head>
563
563
  <style>
564
- ${Ye}
564
+ ${Xe}
565
565
  </style>
566
566
  </head>
567
567
  <body>
@@ -575,16 +575,16 @@ ${i.join("\n")}
575
575
  </body>
576
576
  </html>`;
577
577
  }
578
- function rt(e, t) {
578
+ function it(e, t) {
579
579
  let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
580
580
  r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
581
581
  }
582
582
  //#endregion
583
583
  //#region src/standalone/RelatedContent.vue
584
- var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-related__heading" }, ot = { class: "mwnf-standalone-related__group-heading" }, st = { class: "mwnf-standalone-related__thumbs" }, ct = ["src", "alt"], lt = ["innerHTML"], ut = {
584
+ var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-related__heading" }, st = { class: "mwnf-standalone-related__group-heading" }, ct = { class: "mwnf-standalone-related__thumbs" }, lt = ["src", "alt"], ut = ["innerHTML"], dt = {
585
585
  key: 0,
586
586
  class: "mwnf-standalone-related__download"
587
- }, dt = { class: "mwnf-standalone-related__download-heading" }, ft = {
587
+ }, ft = { class: "mwnf-standalone-related__download-heading" }, pt = {
588
588
  __name: "RelatedContent",
589
589
  props: {
590
590
  heading: {
@@ -609,7 +609,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
609
609
  }
610
610
  },
611
611
  setup(e) {
612
- let t = e, { t: r } = K(), i = l(() => t.groups.map((e) => ({
612
+ let t = e, { t: r } = q(), i = l(() => t.groups.map((e) => ({
613
613
  heading: r(e.heading),
614
614
  rows: t.records.filter((t) => !e.type || t.badge === e.type)
615
615
  })).filter((e) => e.rows.length));
@@ -618,17 +618,17 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
618
618
  }
619
619
  function o(e) {
620
620
  let n = e.currentTarget.closest(".mwnf-standalone-item");
621
- n && rt(nt(n.querySelector(".mwnf-record__main") ?? n, {
621
+ n && it(rt(n.querySelector(".mwnf-record__main") ?? n, {
622
622
  title: t.download?.title ? r(t.download.title) : "",
623
623
  dir: getComputedStyle(n).direction
624
624
  }), t.wordFile);
625
625
  }
626
- return (t, s) => (C(), f("aside", it, [
627
- p("p", at, [p("strong", null, D(O(r)(e.heading)), 1)]),
626
+ return (t, s) => (C(), f("aside", at, [
627
+ p("p", ot, [p("strong", null, D(O(r)(e.heading)), 1)]),
628
628
  (C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
629
629
  key: e.heading,
630
630
  class: "mwnf-standalone-related__group"
631
- }, [p("p", ot, D(e.heading), 1), p("ul", st, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
631
+ }, [p("p", st, D(e.heading), 1), p("ul", ct, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
632
632
  to: e.to,
633
633
  title: e.imageAlt
634
634
  }, {
@@ -636,15 +636,15 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
636
636
  key: 0,
637
637
  src: e.image,
638
638
  alt: e.imageAlt
639
- }, null, 8, ct)) : (C(), f("span", {
639
+ }, null, 8, lt)) : (C(), f("span", {
640
640
  key: 1,
641
641
  innerHTML: e.name
642
- }, null, 8, lt))]),
642
+ }, null, 8, ut))]),
643
643
  _: 2
644
644
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
645
645
  E(t.$slots, "default"),
646
- e.download ? (C(), f("div", ut, [
647
- p("p", dt, D(O(r)(e.download.heading)), 1),
646
+ e.download ? (C(), f("div", dt, [
647
+ p("p", ft, D(O(r)(e.download.heading)), 1),
648
648
  p("button", {
649
649
  type: "button",
650
650
  class: "mwnf-standalone-related__print",
@@ -659,10 +659,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
659
659
  ])) : d("", !0)
660
660
  ]));
661
661
  }
662
- }, pt = { class: "mwnf-standalone-item__top" }, mt = { class: "mwnf-standalone-item__left" }, ht = {
662
+ }, mt = { class: "mwnf-standalone-item__top" }, ht = { class: "mwnf-standalone-item__left" }, gt = {
663
663
  key: 0,
664
664
  class: "mwnf-standalone-item__back"
665
- }, gt = {
665
+ }, _t = {
666
666
  __name: "ItemSheet",
667
667
  props: {
668
668
  spec: {
@@ -683,7 +683,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
683
683
  }
684
684
  },
685
685
  setup(e) {
686
- let i = e, { t: s } = K(), v = A(), y = l(() => ({
686
+ let i = e, { t: s } = q(), v = A(), y = l(() => ({
687
687
  ...i.spec,
688
688
  media: () => []
689
689
  }));
@@ -696,9 +696,9 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
696
696
  text: t,
697
697
  language: n
698
698
  });
699
- let r = W(String(t?.name ?? e?.internal_name ?? ""));
700
- return ne(e?.images, n).map((e) => {
701
- let { photographer: t, copyright: i } = te(e, n), a = [t ? `${s("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
699
+ let r = G(String(t?.name ?? e?.internal_name ?? ""));
700
+ return te(e?.images, n).map((e) => {
701
+ let { photographer: t, copyright: i } = ee(e, n), a = [t ? `${s("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
702
702
  return {
703
703
  url: e.url,
704
704
  alt: a || e.captions?.[n] || r,
@@ -725,7 +725,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
725
725
  id: e.id,
726
726
  class: "mwnf-standalone-item"
727
727
  }, m({
728
- header: F(({ languages: e, language: n, select: r }) => [p("div", pt, [g(t, {
728
+ header: F(({ languages: e, language: n, select: r }) => [p("div", mt, [g(t, {
729
729
  languages: e,
730
730
  language: n,
731
731
  from: 1,
@@ -735,7 +735,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
735
735
  "language",
736
736
  "onSelect"
737
737
  ])])]),
738
- "before-sheet": F((e) => [p("div", mt, [w.value.length ? (C(), f("p", ht, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
738
+ "before-sheet": F((e) => [p("div", ht, [w.value.length ? (C(), f("p", gt, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
739
739
  key: 0,
740
740
  type: "button",
741
741
  class: "mwnf-standalone-item__back-link",
@@ -752,7 +752,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
752
752
  images: x(e),
753
753
  "thumbs-from": 1
754
754
  }, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
755
- related: F((t) => [g(ft, {
755
+ related: F((t) => [g(pt, {
756
756
  heading: e.related.heading ?? "record.related.title",
757
757
  records: t.records,
758
758
  groups: e.related.groups ?? [],
@@ -775,37 +775,37 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
775
775
  fn: F((t) => [E(i.$slots, e, b(_(t)))])
776
776
  }))]), 1032, ["spec", "id"]));
777
777
  }
778
- }, _t = {
778
+ }, vt = {
779
779
  key: 0,
780
780
  class: "mwnf-standalone-item__top"
781
- }, vt = {
781
+ }, yt = {
782
782
  key: 1,
783
783
  hidden: ""
784
- }, yt = {
784
+ }, bt = {
785
785
  key: 0,
786
786
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
787
- }, bt = { class: "mwnf-standalone-partner__heading" }, xt = ["dir", "innerHTML"], St = {
787
+ }, xt = { class: "mwnf-standalone-partner__heading" }, St = ["dir", "innerHTML"], Ct = {
788
788
  key: 0,
789
789
  class: "mwnf-standalone-partner__location"
790
- }, Ct = { class: "mwnf-standalone-partner__bar" }, wt = { class: "mwnf-standalone-partner__bar-start" }, Tt = ["aria-label", "onKeydown"], Et = [
790
+ }, wt = { class: "mwnf-standalone-partner__bar" }, Tt = { class: "mwnf-standalone-partner__bar-start" }, Et = ["aria-label", "onKeydown"], Dt = [
791
791
  "id",
792
792
  "aria-selected",
793
793
  "aria-controls",
794
794
  "tabindex",
795
795
  "onClick"
796
- ], Dt = {
796
+ ], Ot = {
797
797
  key: 0,
798
798
  class: "mwnf-standalone-partner__divider",
799
799
  "aria-hidden": "true"
800
- }, Ot = { key: 0 }, kt = ["href"], At = { class: "mwnf-standalone-partner__bar-end" }, jt = { class: "mwnf-standalone-partner__body" }, Mt = { class: "mwnf-standalone-partner__pictures" }, Nt = { class: "mwnf-standalone-partner__panels" }, Pt = [
800
+ }, kt = { key: 0 }, At = ["href"], jt = { class: "mwnf-standalone-partner__bar-end" }, Mt = { class: "mwnf-standalone-partner__body" }, Nt = { class: "mwnf-standalone-partner__pictures" }, Pt = { class: "mwnf-standalone-partner__panels" }, Ft = [
801
801
  "id",
802
802
  "aria-labelledby",
803
803
  "dir",
804
804
  "innerHTML"
805
- ], Ft = ["id", "aria-labelledby"], It = ["innerHTML"], Lt = ["href"], Rt = { key: 0 }, zt = ["href"], Bt = ["href"], Vt = ["id", "aria-labelledby"], Ht = ["src"], Ut = {
805
+ ], It = ["id", "aria-labelledby"], Lt = ["innerHTML"], Rt = ["href"], zt = { key: 0 }, Bt = ["href"], Vt = ["href"], Ht = ["id", "aria-labelledby"], Ut = ["src"], Wt = {
806
806
  key: 0,
807
807
  class: "mwnf-standalone-partner__map"
808
- }, Wt = { class: "mwnf-standalone-partner__map-heading" }, Gt = {
808
+ }, Gt = { class: "mwnf-standalone-partner__map-heading" }, Kt = {
809
809
  __name: "PartnerPage",
810
810
  props: {
811
811
  id: {
@@ -850,7 +850,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
850
850
  }
851
851
  },
852
852
  setup(e) {
853
- let a = e, { t: s, locale: m } = K(), _ = k(), b = {
853
+ let a = e, { t: s, locale: m } = q(), _ = k(), b = {
854
854
  entity: "partners",
855
855
  fields: [],
856
856
  shortDescription: !1,
@@ -902,7 +902,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
902
902
  id: e.id,
903
903
  class: "mwnf-standalone-partner"
904
904
  }, {
905
- header: F(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (C(), f("div", _t, [g(t, {
905
+ header: F(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (C(), f("div", vt, [g(t, {
906
906
  languages: r.filter((e) => a.languages(n, e.code)),
907
907
  language: i,
908
908
  from: 1,
@@ -911,9 +911,9 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
911
911
  "languages",
912
912
  "language",
913
913
  "onSelect"
914
- ])])) : (C(), f("div", vt))]),
914
+ ])])) : (C(), f("div", yt))]),
915
915
  "before-sheet": F(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
916
- E(t).length ? (C(), f("p", yt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
916
+ E(t).length ? (C(), f("p", bt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
917
917
  key: 0,
918
918
  type: "button",
919
919
  class: "mwnf-standalone-item__back-link",
@@ -927,12 +927,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
927
927
  default: F(() => [h(D(e.label), 1)]),
928
928
  _: 2
929
929
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
930
- p("div", bt, [p("h3", {
930
+ p("div", xt, [p("h3", {
931
931
  class: "mwnf-standalone-partner__name",
932
932
  dir: o || void 0,
933
933
  innerHTML: a.name
934
- }, null, 8, xt), a.location ? (C(), f("h4", St, [p("i", null, D(a.location), 1)])) : d("", !0)]),
935
- p("div", Ct, [p("div", wt, [p("ul", {
934
+ }, null, 8, St), a.location ? (C(), f("h4", Ct, [p("i", null, D(a.location), 1)])) : d("", !0)]),
935
+ p("div", wt, [p("div", Tt, [p("ul", {
936
936
  role: "tablist",
937
937
  class: "mwnf-standalone-partner__tabs",
938
938
  "aria-label": a.plainName,
@@ -949,12 +949,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
949
949
  "aria-controls": `${O(_)}-panel-${e}`,
950
950
  tabindex: M.value === e ? 0 : -1,
951
951
  onClick: (t) => M.value = e
952
- }, "\xA0" + D(S(e)), 11, Et), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Dt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", Ot, [p("a", {
952
+ }, "\xA0" + D(S(e)), 11, Dt), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Ot, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", kt, [p("a", {
953
953
  class: "mwnf-standalone-partner__homepage",
954
954
  href: a.contact.website.url,
955
955
  target: "_blank",
956
956
  rel: "noopener"
957
- }, "\xA0" + D(S("homepage")), 9, kt)])) : d("", !0)], 40, Tt)]), p("div", At, [e.items(t) ? (C(), u(n, {
957
+ }, "\xA0" + D(S("homepage")), 9, At)])) : d("", !0)], 40, Et)]), p("div", jt, [e.items(t) ? (C(), u(n, {
958
958
  key: 0,
959
959
  class: "mwnf-standalone-partner__items",
960
960
  to: e.items(t).to
@@ -962,10 +962,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
962
962
  default: F(() => [h(D(O(s)(e.items(t).label)), 1)]),
963
963
  _: 2
964
964
  }, 1032, ["to"])) : d("", !0)])]),
965
- p("div", jt, [p("div", Mt, [a.pictures.length ? (C(), u(r, {
965
+ p("div", Mt, [p("div", Nt, [a.pictures.length ? (C(), u(r, {
966
966
  key: 0,
967
967
  images: R(a)
968
- }, null, 8, ["images"])) : d("", !0)]), p("div", Nt, [
968
+ }, null, 8, ["images"])) : d("", !0)]), p("div", Pt, [
969
969
  I(p("div", {
970
970
  id: `${O(_)}-panel-about`,
971
971
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
@@ -973,7 +973,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
973
973
  "aria-labelledby": `${O(_)}-tab-about`,
974
974
  dir: o || void 0,
975
975
  innerHTML: a.description
976
- }, null, 8, Pt), [[N, M.value === "about"]]),
976
+ }, null, 8, Ft), [[N, M.value === "about"]]),
977
977
  a.hasContact ? I((C(), f("div", {
978
978
  key: 0,
979
979
  id: `${O(_)}-panel-contact`,
@@ -986,21 +986,21 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
986
986
  a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
987
987
  class: "mwnf-standalone-partner__address",
988
988
  innerHTML: a.contact.address
989
- }, null, 8, It), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
989
+ }, null, 8, Lt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
990
990
  a.contact.phone ? (C(), f(c, { key: 1 }, [h(D(S("phone")) + " " + D(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
991
991
  a.contact.fax ? (C(), f(c, { key: 2 }, [h(D(S("fax")) + " " + D(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
992
- a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Lt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
993
- ]), z(a).length ? (C(), f("p", Rt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
992
+ a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Rt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
993
+ ]), z(a).length ? (C(), f("p", zt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
994
994
  href: e.url,
995
995
  target: "_blank",
996
996
  rel: "noopener"
997
- }, D(e.label), 9, zt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
997
+ }, D(e.label), 9, Bt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
998
998
  e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
999
999
  e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
1000
1000
  e.phone ? (C(), f(c, { key: 2 }, [h(D(S("phone")) + " " + D(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
1001
1001
  e.fax ? (C(), f(c, { key: 3 }, [h(D(S("fax")) + " " + D(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
1002
- e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, Bt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
1003
- ]))), 128))], 8, Ft)), [[N, M.value === "contact"]]) : d("", !0),
1002
+ e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, Vt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
1003
+ ]))), 128))], 8, It)), [[N, M.value === "contact"]]) : d("", !0),
1004
1004
  a.logos.length ? I((C(), f("div", {
1005
1005
  key: 1,
1006
1006
  id: `${O(_)}-panel-logo`,
@@ -1011,10 +1011,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1011
1011
  key: e.url,
1012
1012
  src: e.url,
1013
1013
  alt: ""
1014
- }, null, 8, Ht))), 128))], 8, Vt)), [[N, M.value === "logo"]]) : d("", !0)
1014
+ }, null, 8, Ut))), 128))], 8, Ht)), [[N, M.value === "logo"]]) : d("", !0)
1015
1015
  ])])
1016
1016
  ], 64))), 128))]),
1017
- after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Ut, [p("h3", Wt, D(S("map")), 1), g(i, {
1017
+ after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Wt, [p("h3", Gt, D(S("map")), 1), g(i, {
1018
1018
  provider: "google",
1019
1019
  latitude: a.view(t, n).map.latitude,
1020
1020
  longitude: a.view(t, n).map.longitude,
@@ -1031,13 +1031,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1031
1031
  _: 1
1032
1032
  }, 8, ["id"]));
1033
1033
  }
1034
- }, Kt = ["innerHTML"], qt = {
1034
+ }, qt = ["innerHTML"], Jt = {
1035
1035
  key: 0,
1036
1036
  class: "mwnf-standalone-page__link"
1037
- }, Jt = {
1037
+ }, Yt = {
1038
1038
  key: 1,
1039
1039
  class: "mwnf-standalone-page__print"
1040
- }, Yt = {
1040
+ }, Xt = {
1041
1041
  __name: "TextPage",
1042
1042
  props: {
1043
1043
  body: {
@@ -1058,7 +1058,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1058
1058
  }
1059
1059
  },
1060
1060
  setup(e) {
1061
- let t = e, { t: r } = K(), i = l(() => H(r(t.body)));
1061
+ let t = e, { t: r } = q(), i = l(() => U(r(t.body)));
1062
1062
  function a() {
1063
1063
  window.print();
1064
1064
  }
@@ -1066,25 +1066,25 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1066
1066
  p("div", {
1067
1067
  class: "mwnf-standalone-page__body",
1068
1068
  innerHTML: i.value
1069
- }, null, 8, Kt),
1070
- e.link ? (C(), f("p", qt, [g(n, {
1069
+ }, null, 8, qt),
1070
+ e.link ? (C(), f("p", Jt, [g(n, {
1071
1071
  to: e.link.to,
1072
1072
  href: e.link.href
1073
1073
  }, {
1074
1074
  default: F(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
1075
1075
  _: 1
1076
1076
  }, 8, ["to", "href"])])) : d("", !0),
1077
- e.print ? (C(), f("p", Jt, [p("button", {
1077
+ e.print ? (C(), f("p", Yt, [p("button", {
1078
1078
  type: "button",
1079
1079
  class: "mwnf-standalone-page__print-button",
1080
1080
  onClick: a
1081
1081
  }, D(O(r)(e.print)), 1)])) : d("", !0)
1082
1082
  ], 2));
1083
1083
  }
1084
- }, Xt = {
1084
+ }, Zt = {
1085
1085
  key: 0,
1086
1086
  class: "mwnf-standalone-subnav"
1087
- }, Zt = { class: "mwnf-standalone-subnav__tabs" }, Qt = {
1087
+ }, Qt = { class: "mwnf-standalone-subnav__tabs" }, $t = {
1088
1088
  __name: "SubNav",
1089
1089
  props: {
1090
1090
  tabs: {
@@ -1097,11 +1097,11 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1097
1097
  }
1098
1098
  },
1099
1099
  setup(e) {
1100
- let t = e, { t: r } = K(), i = l(() => t.tabs.map((e) => ({
1100
+ let t = e, { t: r } = q(), i = l(() => t.tabs.map((e) => ({
1101
1101
  ...e,
1102
1102
  label: r(e.label)
1103
1103
  })));
1104
- return (t, a) => i.value.length || e.aside ? (C(), f("nav", Xt, [p("ul", Zt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1104
+ return (t, a) => i.value.length || e.aside ? (C(), f("nav", Zt, [p("ul", Qt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
1105
1105
  to: e.to,
1106
1106
  href: e.href,
1107
1107
  class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
@@ -1124,13 +1124,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1124
1124
  _: 1
1125
1125
  }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1126
1126
  }
1127
- }, $t = { class: "mwnf-standalone-results" }, en = {
1127
+ }, en = { class: "mwnf-standalone-results" }, tn = {
1128
1128
  key: 0,
1129
1129
  class: "mwnf-standalone-results__empty"
1130
- }, tn = { class: "mwnf-standalone-results__tile" }, nn = ["src"], rn = { class: "mwnf-standalone-results__panel" }, an = ["src"], on = { class: "mwnf-standalone-results__name" }, sn = ["innerHTML"], cn = ["innerHTML"], ln = {
1130
+ }, nn = { class: "mwnf-standalone-results__tile" }, rn = ["src"], an = { class: "mwnf-standalone-results__panel" }, on = ["src"], sn = { class: "mwnf-standalone-results__name" }, cn = ["innerHTML"], ln = ["innerHTML"], un = {
1131
1131
  key: 0,
1132
1132
  class: "mwnf-standalone-results__holder"
1133
- }, un = ["innerHTML"], dn = ["innerHTML"], fn = {
1133
+ }, dn = ["innerHTML"], fn = ["innerHTML"], pn = {
1134
1134
  __name: "ResultsGrid",
1135
1135
  props: {
1136
1136
  rows: {
@@ -1151,10 +1151,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1151
1151
  }
1152
1152
  },
1153
1153
  setup(e) {
1154
- return (t, r) => (C(), f("div", $t, [e.rows.length ? d("", !0) : (C(), f("p", en, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1154
+ return (t, r) => (C(), f("div", en, [e.rows.length ? d("", !0) : (C(), f("p", tn, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1155
1155
  key: t.id,
1156
1156
  class: "mwnf-standalone-results__cell"
1157
- }, [p("div", tn, [g(n, {
1157
+ }, [p("div", nn, [g(n, {
1158
1158
  class: "mwnf-standalone-results__frame",
1159
1159
  to: t.to,
1160
1160
  href: t.href
@@ -1162,9 +1162,9 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1162
1162
  default: F(() => [p("img", {
1163
1163
  src: t.image || e.noImage,
1164
1164
  alt: ""
1165
- }, null, 8, nn)]),
1165
+ }, null, 8, rn)]),
1166
1166
  _: 2
1167
- }, 1032, ["to", "href"]), p("div", rn, [
1167
+ }, 1032, ["to", "href"]), p("div", an, [
1168
1168
  g(n, {
1169
1169
  class: "mwnf-standalone-results__panel-frame",
1170
1170
  to: t.to,
@@ -1173,25 +1173,25 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1173
1173
  default: F(() => [p("img", {
1174
1174
  src: t.image || e.noImage,
1175
1175
  alt: ""
1176
- }, null, 8, an)]),
1176
+ }, null, 8, on)]),
1177
1177
  _: 2
1178
1178
  }, 1032, ["to", "href"]),
1179
- p("p", on, [p("strong", null, [g(n, {
1179
+ p("p", sn, [p("strong", null, [g(n, {
1180
1180
  to: t.to,
1181
1181
  href: t.href
1182
1182
  }, {
1183
- default: F(() => [p("span", { innerHTML: t.name }, null, 8, sn)]),
1183
+ default: F(() => [p("span", { innerHTML: t.name }, null, 8, cn)]),
1184
1184
  _: 2
1185
1185
  }, 1032, ["to", "href"])])]),
1186
1186
  (C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
1187
1187
  key: t,
1188
1188
  innerHTML: e
1189
- }, null, 8, cn))), 128)),
1190
- t.holder ? (C(), f("p", ln, [p("strong", { innerHTML: t.holder }, null, 8, un)])) : d("", !0),
1189
+ }, null, 8, ln))), 128)),
1190
+ t.holder ? (C(), f("p", un, [p("strong", { innerHTML: t.holder }, null, 8, dn)])) : d("", !0),
1191
1191
  t.location ? (C(), f("p", {
1192
1192
  key: 1,
1193
1193
  innerHTML: t.location
1194
- }, null, 8, dn)) : d("", !0),
1194
+ }, null, 8, fn)) : d("", !0),
1195
1195
  p("p", null, [g(n, {
1196
1196
  class: "mwnf-standalone-results__see",
1197
1197
  to: t.to,
@@ -1202,13 +1202,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1202
1202
  }, 8, ["to", "href"])])
1203
1203
  ])])]))), 128))]));
1204
1204
  }
1205
- }, pn = { class: "mwnf-standalone-list" }, mn = { class: "mwnf-standalone-list__aside" }, hn = {
1205
+ }, mn = { class: "mwnf-standalone-list" }, hn = { class: "mwnf-standalone-list__aside" }, gn = {
1206
1206
  key: 0,
1207
1207
  class: "mwnf-standalone-list__preview"
1208
- }, gn = { class: "mwnf-standalone-list__preview-picture" }, _n = ["src"], vn = { class: "mwnf-standalone-list__preview-name" }, yn = ["innerHTML"], bn = ["innerHTML"], xn = { key: 0 }, Sn = ["innerHTML"], Cn = ["innerHTML"], wn = { class: "mwnf-standalone-list__records" }, Tn = {
1208
+ }, _n = { class: "mwnf-standalone-list__preview-picture" }, vn = ["src"], yn = { class: "mwnf-standalone-list__preview-name" }, bn = ["innerHTML"], xn = ["innerHTML"], Sn = { key: 0 }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = { class: "mwnf-standalone-list__records" }, En = {
1209
1209
  key: 0,
1210
1210
  class: "mwnf-standalone-list__empty"
1211
- }, En = { class: "mwnf-standalone-list__frame" }, Dn = ["src"], On = { class: "mwnf-standalone-list__content" }, kn = ["innerHTML"], An = ["innerHTML"], jn = { key: 0 }, Mn = ["innerHTML"], Nn = {
1211
+ }, Dn = { class: "mwnf-standalone-list__frame" }, On = ["src"], kn = { class: "mwnf-standalone-list__content" }, An = ["innerHTML"], jn = ["innerHTML"], Mn = { key: 0 }, Nn = ["innerHTML"], Pn = {
1212
1212
  __name: "ResultsList",
1213
1213
  props: {
1214
1214
  rows: {
@@ -1226,26 +1226,26 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1226
1226
  },
1227
1227
  setup(e) {
1228
1228
  let t = e, r = w(null), i = l(() => r.value ?? t.rows[0] ?? null);
1229
- return (t, a) => (C(), f("div", pn, [p("div", mn, [i.value ? (C(), f("div", hn, [
1230
- p("div", gn, [i.value.image || e.noImage ? (C(), f("img", {
1229
+ return (t, a) => (C(), f("div", mn, [p("div", hn, [i.value ? (C(), f("div", gn, [
1230
+ p("div", _n, [i.value.image || e.noImage ? (C(), f("img", {
1231
1231
  key: 0,
1232
1232
  src: i.value.image || e.noImage,
1233
1233
  alt: ""
1234
- }, null, 8, _n)) : d("", !0)]),
1235
- p("p", vn, [p("strong", { innerHTML: i.value.name }, null, 8, yn)]),
1234
+ }, null, 8, vn)) : d("", !0)]),
1235
+ p("p", yn, [p("strong", { innerHTML: i.value.name }, null, 8, bn)]),
1236
1236
  (C(!0), f(c, null, T(i.value.preview?.lines ?? [], (e, t) => (C(), f("p", {
1237
1237
  key: t,
1238
1238
  innerHTML: e
1239
- }, null, 8, bn))), 128)),
1240
- i.value.preview?.holder ? (C(), f("p", xn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Sn)])) : d("", !0),
1239
+ }, null, 8, xn))), 128)),
1240
+ i.value.preview?.holder ? (C(), f("p", Sn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Cn)])) : d("", !0),
1241
1241
  i.value.preview?.location ? (C(), f("p", {
1242
1242
  key: 1,
1243
1243
  innerHTML: i.value.preview.location
1244
- }, null, 8, Cn)) : d("", !0)
1245
- ])) : d("", !0)]), p("div", wn, [e.rows.length ? d("", !0) : (C(), f("p", Tn, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1244
+ }, null, 8, wn)) : d("", !0)
1245
+ ])) : d("", !0)]), p("div", Tn, [e.rows.length ? d("", !0) : (C(), f("p", En, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1246
1246
  key: t.id,
1247
1247
  class: "mwnf-standalone-list__cell"
1248
- }, [p("div", En, [g(n, {
1248
+ }, [p("div", Dn, [g(n, {
1249
1249
  to: t.to,
1250
1250
  href: t.href,
1251
1251
  onMouseenter: (e) => r.value = t,
@@ -1255,13 +1255,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1255
1255
  key: 0,
1256
1256
  src: t.image || e.noImage,
1257
1257
  alt: ""
1258
- }, null, 8, Dn)) : d("", !0)]),
1258
+ }, null, 8, On)) : d("", !0)]),
1259
1259
  _: 2
1260
1260
  }, 1032, [
1261
1261
  "to",
1262
1262
  "href",
1263
1263
  "onMouseenter"
1264
- ])]), p("div", On, [p("p", null, [g(n, {
1264
+ ])]), p("div", kn, [p("p", null, [g(n, {
1265
1265
  to: t.to,
1266
1266
  href: t.href,
1267
1267
  onMouseenter: (e) => r.value = t,
@@ -1271,27 +1271,27 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1271
1271
  p("span", {
1272
1272
  class: "mwnf-standalone-list__name",
1273
1273
  innerHTML: `${t.name},`
1274
- }, null, 8, kn),
1274
+ }, null, 8, An),
1275
1275
  a[2] ||= h(),
1276
- p("span", { innerHTML: t.place }, null, 8, An)
1276
+ p("span", { innerHTML: t.place }, null, 8, jn)
1277
1277
  ]),
1278
1278
  _: 2
1279
1279
  }, 1032, [
1280
1280
  "to",
1281
1281
  "href",
1282
1282
  "onMouseenter"
1283
- ])]), t.dates ? (C(), f("div", jn, [p("i", { innerHTML: t.dates }, null, 8, Mn)])) : d("", !0)])]))), 128))])]));
1283
+ ])]), t.dates ? (C(), f("div", Mn, [p("i", { innerHTML: t.dates }, null, 8, Nn)])) : d("", !0)])]))), 128))])]));
1284
1284
  }
1285
- }, Pn = { class: "mwnf-standalone-refine__row" }, Fn = {
1285
+ }, Fn = { class: "mwnf-standalone-refine__row" }, In = {
1286
1286
  class: "mwnf-standalone-refine__label",
1287
1287
  for: "mwnf-standalone-refine-keyword"
1288
- }, In = {
1288
+ }, Ln = {
1289
1289
  class: "mwnf-standalone-refine__label",
1290
1290
  for: "mwnf-standalone-refine-field"
1291
- }, Ln = ["value"], Rn = {
1291
+ }, Rn = ["value"], zn = {
1292
1292
  type: "submit",
1293
1293
  class: "mwnf-standalone-refine__button"
1294
- }, zn = {
1294
+ }, Bn = {
1295
1295
  __name: "Refine",
1296
1296
  props: {
1297
1297
  label: {
@@ -1332,23 +1332,23 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1332
1332
  return (t, r) => (C(), f("form", {
1333
1333
  class: "mwnf-standalone-refine",
1334
1334
  onSubmit: L(s, ["prevent"])
1335
- }, [p("div", Pn, [
1336
- p("label", Fn, D(e.label), 1),
1335
+ }, [p("div", Fn, [
1336
+ p("label", In, D(e.label), 1),
1337
1337
  I(p("input", {
1338
1338
  id: "mwnf-standalone-refine-keyword",
1339
1339
  "onUpdate:modelValue": r[0] ||= (e) => a.value = e,
1340
1340
  type: "text",
1341
1341
  size: "40"
1342
1342
  }, null, 512), [[M, a.value]]),
1343
- p("label", In, D(e.inLabel), 1),
1343
+ p("label", Ln, D(e.inLabel), 1),
1344
1344
  I(p("select", {
1345
1345
  id: "mwnf-standalone-refine-field",
1346
1346
  "onUpdate:modelValue": r[1] ||= (e) => o.value = e
1347
1347
  }, [(C(!0), f(c, null, T(e.fields, (e) => (C(), f("option", {
1348
1348
  key: e.value,
1349
1349
  value: e.value
1350
- }, D(e.label), 9, Ln))), 128))], 512), [[j, o.value]]),
1351
- p("button", Rn, D(e.searchLabel), 1),
1350
+ }, D(e.label), 9, Rn))), 128))], 512), [[j, o.value]]),
1351
+ p("button", zn, D(e.searchLabel), 1),
1352
1352
  g(n, {
1353
1353
  class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
1354
1354
  to: e.newSearch
@@ -1358,10 +1358,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1358
1358
  }, 8, ["to"])
1359
1359
  ])], 32));
1360
1360
  }
1361
- }, Bn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Vn = { class: "mwnf-standalone-pl__heads" }, Hn = { class: "mwnf-standalone-pl__head" }, Un = { key: 0 }, Wn = ["onClick"], Gn = { class: "mwnf-standalone-pl__row" }, Kn = { class: "mwnf-standalone-pl__main" }, qn = { class: "mwnf-standalone-pl__associated" }, Jn = {
1361
+ }, Vn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Hn = { class: "mwnf-standalone-pl__heads" }, Un = { class: "mwnf-standalone-pl__head" }, Wn = { key: 0 }, Gn = ["onClick"], Kn = { class: "mwnf-standalone-pl__row" }, qn = { class: "mwnf-standalone-pl__main" }, Jn = { class: "mwnf-standalone-pl__associated" }, Yn = {
1362
1362
  key: 0,
1363
1363
  class: "mwnf-standalone-pl__none"
1364
- }, Yn = {
1364
+ }, Xn = {
1365
1365
  __name: "PartnerList",
1366
1366
  props: {
1367
1367
  type: {
@@ -1399,7 +1399,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1399
1399
  i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1400
1400
  }
1401
1401
  return (t, s) => (C(), f("div", { class: y(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1402
- p("p", Bn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
1402
+ p("p", Vn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
1403
1403
  key: 0,
1404
1404
  type: "button",
1405
1405
  class: "mwnf-standalone-item__back-link",
@@ -1413,33 +1413,104 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1413
1413
  default: F(() => [h(D(e.label), 1)]),
1414
1414
  _: 2
1415
1415
  }, 1032, ["to", "href"]))], 64))), 128)), E(t.$slots, "back")]),
1416
- p("div", Vn, [(C(!0), f(c, null, T(e.heads, (e) => (C(), f("h3", { key: e }, D(e), 1))), 128))]),
1416
+ p("div", Hn, [(C(!0), f(c, null, T(e.heads, (e) => (C(), f("h3", { key: e }, D(e), 1))), 128))]),
1417
1417
  (C(!0), f(c, null, T(e.groups, (t, s) => (C(), f("div", {
1418
1418
  key: t.label,
1419
1419
  class: "mwnf-standalone-pl__group"
1420
- }, [p("div", Hn, [r.value ? (C(), f("h3", Un, D(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
1420
+ }, [p("div", Un, [r.value ? (C(), f("h3", Wn, D(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
1421
1421
  href: "#",
1422
1422
  class: y(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
1423
1423
  onClick: L((e) => o(s), ["prevent"])
1424
- }, D(r.value ? e.seeAssociated : t.label), 11, Wn)])]), I(p("div", Gn, [p("div", Kn, [(C(!0), f(c, null, T(t.main, (e) => (C(), f("p", { key: e.id }, [g(n, {
1424
+ }, D(r.value ? e.seeAssociated : t.label), 11, Gn)])]), I(p("div", Kn, [p("div", qn, [(C(!0), f(c, null, T(t.main, (e) => (C(), f("p", { key: e.id }, [g(n, {
1425
1425
  to: e.to,
1426
1426
  href: e.href
1427
1427
  }, {
1428
1428
  default: F(() => [h(D(e.label), 1)]),
1429
1429
  _: 2
1430
- }, 1032, ["to", "href"])]))), 128))]), I(p("div", qn, [(C(!0), f(c, null, T(t.associated, (e) => (C(), f("p", { key: e.id }, [g(n, {
1430
+ }, 1032, ["to", "href"])]))), 128))]), I(p("div", Jn, [(C(!0), f(c, null, T(t.associated, (e) => (C(), f("p", { key: e.id }, [g(n, {
1431
1431
  to: e.to,
1432
1432
  href: e.href
1433
1433
  }, {
1434
1434
  default: F(() => [h(D(e.label), 1)]),
1435
1435
  _: 2
1436
- }, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (C(), f("p", Jn, D(e.noAssociated), 1)) : d("", !0)], 512), [[N, !r.value || a.value.has(s)]])], 512), [[N, r.value || a.value.has(s)]])]))), 128))
1436
+ }, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (C(), f("p", Yn, D(e.noAssociated), 1)) : d("", !0)], 512), [[N, !r.value || a.value.has(s)]])], 512), [[N, r.value || a.value.has(s)]])]))), 128))
1437
1437
  ], 2));
1438
1438
  }
1439
- }, Xn = {
1439
+ }, Zn = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, Qn = {
1440
+ key: 0,
1441
+ class: "mwnf-standalone-sp__heading"
1442
+ }, $n = ["innerHTML"], er = { class: "mwnf-standalone-sp__text" }, tr = { key: 0 }, nr = { key: 1 }, rr = { key: 2 }, ir = ["href"], ar = ["innerHTML"], or = { class: "mwnf-standalone-sp__logo" }, sr = { key: 0 }, cr = ["src", "alt"], lr = {
1443
+ __name: "SponsorList",
1444
+ props: {
1445
+ heading: {
1446
+ type: String,
1447
+ default: ""
1448
+ },
1449
+ rows: {
1450
+ type: Array,
1451
+ default: () => []
1452
+ },
1453
+ back: {
1454
+ type: Array,
1455
+ default: () => []
1456
+ }
1457
+ },
1458
+ setup(e) {
1459
+ let t = e, r = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
1460
+ ...e,
1461
+ labelHtml: e.label ? H(e.label) : "",
1462
+ remarksHtml: e.remarks ? H(e.remarks) : ""
1463
+ })));
1464
+ return (t, a) => (C(), f("div", { class: y(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
1465
+ p("p", Zn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
1466
+ key: 0,
1467
+ type: "button",
1468
+ class: "mwnf-standalone-item__back-link",
1469
+ onClick: a[0] ||= (e) => t.$router.back()
1470
+ }, D(e.label), 1)) : (C(), u(n, {
1471
+ key: 1,
1472
+ class: "mwnf-standalone-item__back-link",
1473
+ to: e.to,
1474
+ href: e.href
1475
+ }, {
1476
+ default: F(() => [h(D(e.label), 1)]),
1477
+ _: 2
1478
+ }, 1032, ["to", "href"]))], 64))), 128))]),
1479
+ e.heading ? (C(), f("h3", Qn, D(e.heading), 1)) : d("", !0),
1480
+ (C(!0), f(c, null, T(i.value, (e, t) => (C(), f("div", {
1481
+ key: t,
1482
+ class: "mwnf-standalone-sp__row"
1483
+ }, [
1484
+ r.value ? (C(), f("div", {
1485
+ key: 0,
1486
+ class: "mwnf-standalone-sp__label",
1487
+ innerHTML: e.labelHtml
1488
+ }, null, 8, $n)) : d("", !0),
1489
+ p("div", er, [
1490
+ e.region ? (C(), f("p", tr, D(e.region), 1)) : d("", !0),
1491
+ e.name ? (C(), f("p", nr, D(e.name), 1)) : d("", !0),
1492
+ e.web ? (C(), f("p", rr, [p("a", {
1493
+ href: `http://${e.web}`,
1494
+ target: "_blank",
1495
+ rel: "noopener"
1496
+ }, D(e.web), 9, ir)])) : d("", !0),
1497
+ e.remarksHtml ? (C(), f("div", {
1498
+ key: 3,
1499
+ class: "mwnf-standalone-sp__remarks",
1500
+ innerHTML: e.remarksHtml
1501
+ }, null, 8, ar)) : d("", !0)
1502
+ ]),
1503
+ p("div", or, [e.logo ? (C(), f("p", sr, [p("img", {
1504
+ src: e.logo,
1505
+ alt: e.name
1506
+ }, null, 8, cr)])) : d("", !0)])
1507
+ ]))), 128))
1508
+ ], 2));
1509
+ }
1510
+ }, ur = {
1440
1511
  key: 0,
1441
1512
  class: "mwnf-standalone-pages"
1442
- }, Zn = { class: "mwnf-standalone-pages__previous" }, Qn = ["aria-current", "onClick"], $n = { class: "mwnf-standalone-pages__next" }, er = {
1513
+ }, dr = { class: "mwnf-standalone-pages__previous" }, fr = ["aria-current", "onClick"], pr = { class: "mwnf-standalone-pages__next" }, mr = {
1443
1514
  __name: "Pagination",
1444
1515
  props: {
1445
1516
  pageInfo: {
@@ -1469,8 +1540,8 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1469
1540
  function s(e) {
1470
1541
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1471
1542
  }
1472
- return (t, n) => a.value > 1 ? (C(), f("nav", Xn, [
1473
- p("span", Zn, [i.value > 1 ? (C(), f("a", {
1543
+ return (t, n) => a.value > 1 ? (C(), f("nav", ur, [
1544
+ p("span", dr, [i.value > 1 ? (C(), f("a", {
1474
1545
  key: 0,
1475
1546
  href: "#",
1476
1547
  onClick: n[0] ||= L((e) => s(i.value - 1), ["prevent"])
@@ -1481,18 +1552,18 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1481
1552
  class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1482
1553
  "aria-current": e === i.value ? "page" : void 0,
1483
1554
  onClick: L((t) => s(e), ["prevent"])
1484
- }, D(e), 11, Qn))), 128)),
1485
- p("span", $n, [i.value < a.value ? (C(), f("a", {
1555
+ }, D(e), 11, fr))), 128)),
1556
+ p("span", pr, [i.value < a.value ? (C(), f("a", {
1486
1557
  key: 0,
1487
1558
  href: "#",
1488
1559
  onClick: n[1] ||= L((e) => s(i.value + 1), ["prevent"])
1489
1560
  }, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
1490
1561
  ])) : d("", !0);
1491
1562
  }
1492
- }, tr = ["disabled", "aria-label"], nr = { class: "mwnf-standalone-slider__track" }, rr = ["src", "alt"], ir = {
1563
+ }, hr = ["disabled", "aria-label"], gr = { class: "mwnf-standalone-slider__track" }, _r = ["src", "alt"], vr = {
1493
1564
  key: 0,
1494
1565
  class: "mwnf-standalone-slider__label"
1495
- }, ar = ["disabled", "aria-label"], or = {
1566
+ }, yr = ["disabled", "aria-label"], br = {
1496
1567
  __name: "Slider",
1497
1568
  props: {
1498
1569
  slides: {
@@ -1513,7 +1584,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1513
1584
  }
1514
1585
  },
1515
1586
  setup(e) {
1516
- let t = e, { t: r } = K(), i = Y(), a = w(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1587
+ let t = e, { t: r } = q(), i = X(), a = w(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1517
1588
  ...e,
1518
1589
  image: i(e.image) ?? "",
1519
1590
  label: e.label ? r(e.label) : ""
@@ -1529,8 +1600,8 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1529
1600
  disabled: a.value === 0,
1530
1601
  "aria-label": O(r)(e.previousLabel),
1531
1602
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
1532
- }, "‹", 8, tr),
1533
- p("ul", nr, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1603
+ }, "‹", 8, hr),
1604
+ p("ul", gr, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1534
1605
  key: e.image,
1535
1606
  class: "mwnf-standalone-slider__slide"
1536
1607
  }, [g(n, {
@@ -1540,7 +1611,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1540
1611
  default: F(() => [p("img", {
1541
1612
  src: e.image,
1542
1613
  alt: e.label
1543
- }, null, 8, rr), e.label ? (C(), f("span", ir, D(e.label), 1)) : d("", !0)]),
1614
+ }, null, 8, _r), e.label ? (C(), f("span", vr, D(e.label), 1)) : d("", !0)]),
1544
1615
  _: 2
1545
1616
  }, 1032, ["to", "href"])]))), 128))]),
1546
1617
  p("button", {
@@ -1549,10 +1620,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1549
1620
  disabled: a.value >= o.value,
1550
1621
  "aria-label": O(r)(e.nextLabel),
1551
1622
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
1552
- }, "›", 8, ar)
1623
+ }, "›", 8, yr)
1553
1624
  ], 4)) : d("", !0);
1554
1625
  }
1555
- }, sr = ["dir"], cr = { class: "mwnf-standalone-window__box" }, lr = { class: "mwnf-standalone-window__header" }, ur = { class: "mwnf-standalone-window__heading" }, dr = ["aria-label"], fr = { class: "mwnf-standalone-window__article" }, pr = {
1626
+ }, xr = ["dir"], Sr = { class: "mwnf-standalone-window__box" }, Cr = { class: "mwnf-standalone-window__header" }, wr = { class: "mwnf-standalone-window__heading" }, Tr = ["aria-label"], Er = { class: "mwnf-standalone-window__article" }, Dr = {
1556
1627
  __name: "Window",
1557
1628
  props: {
1558
1629
  heading: {
@@ -1575,21 +1646,21 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1575
1646
  return (n, r) => (C(), f("div", {
1576
1647
  class: "mwnf-standalone-window",
1577
1648
  dir: e.dir || void 0
1578
- }, [p("div", cr, [p("header", lr, [p("h1", ur, D(e.heading), 1), p("button", {
1649
+ }, [p("div", Sr, [p("header", Cr, [p("h1", wr, D(e.heading), 1), p("button", {
1579
1650
  type: "button",
1580
1651
  class: "mwnf-standalone-window__close",
1581
1652
  "aria-label": e.closeLabel || void 0,
1582
1653
  onClick: t
1583
- }, "×", 8, dr)]), p("article", fr, [E(n.$slots, "default")])])], 8, sr));
1654
+ }, "×", 8, Tr)]), p("article", Er, [E(n.$slots, "default")])])], 8, xr));
1584
1655
  }
1585
- }, mr = { class: "mwnf-standalone-glossary" }, hr = { class: "mwnf-standalone-glossary__intro" }, gr = { class: "mwnf-standalone-glossary__body" }, _r = { class: "mwnf-standalone-glossary__field" }, vr = ["aria-expanded", "aria-label"], yr = {
1656
+ }, Or = { class: "mwnf-standalone-glossary" }, kr = { class: "mwnf-standalone-glossary__intro" }, Ar = { class: "mwnf-standalone-glossary__body" }, jr = { class: "mwnf-standalone-glossary__field" }, Mr = ["aria-expanded", "aria-label"], Nr = {
1586
1657
  key: 0,
1587
1658
  class: "mwnf-standalone-glossary__suggestions",
1588
1659
  role: "listbox"
1589
- }, br = ["aria-selected", "onMousedown"], xr = {
1660
+ }, Pr = ["aria-selected", "onMousedown"], Fr = {
1590
1661
  class: "mwnf-standalone-glossary__result",
1591
1662
  "aria-live": "polite"
1592
- }, Sr = { class: "mwnf-standalone-glossary__label" }, Cr = ["innerHTML"], wr = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Tr = { class: "mwnf-standalone-glossary__note" }, Er = { class: "mwnf-standalone-glossary__spellings" }, Dr = {
1663
+ }, Ir = { class: "mwnf-standalone-glossary__label" }, Lr = ["innerHTML"], Rr = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, zr = { class: "mwnf-standalone-glossary__note" }, Br = { class: "mwnf-standalone-glossary__spellings" }, Vr = {
1593
1664
  __name: "GlossarySpelling",
1594
1665
  props: {
1595
1666
  language: {
@@ -1610,7 +1681,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1610
1681
  }
1611
1682
  },
1612
1683
  setup(e) {
1613
- let t = e, n = G(), r = B(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1684
+ let t = e, n = K(), r = B(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1614
1685
  S(async () => {
1615
1686
  await V([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1616
1687
  });
@@ -1626,7 +1697,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1626
1697
  spelling: e,
1627
1698
  term: t
1628
1699
  })).sort((e, t) => z(e.spelling) < z(t.spelling) ? -1 : +(z(e.spelling) > z(t.spelling)));
1629
- }), g = l(() => o.value ? ee(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1700
+ }), g = l(() => o.value ? H(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1630
1701
  if (!o.value) return [];
1631
1702
  let e = /* @__PURE__ */ new Set(), t = [];
1632
1703
  for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
@@ -1645,12 +1716,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1645
1716
  let t = h.value;
1646
1717
  t.length && (e.key === "ArrowDown" ? (e.preventDefault(), s.value = (s.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), s.value = (s.value - 1 + t.length) % t.length) : e.key === "Enter" && s.value >= 0 && (e.preventDefault(), v(t[s.value])));
1647
1718
  }
1648
- return (t, n) => (C(), u(pr, {
1719
+ return (t, n) => (C(), u(Dr, {
1649
1720
  heading: e.labels.heading,
1650
1721
  "close-label": e.labels.close,
1651
1722
  dir: e.dir
1652
1723
  }, {
1653
- default: F(() => [p("div", mr, [p("h2", hr, D(e.labels.intro), 1), p("div", gr, [p("div", _r, [I(p("input", {
1724
+ default: F(() => [p("div", Or, [p("h2", kr, D(e.labels.intro), 1), p("div", Ar, [p("div", jr, [I(p("input", {
1654
1725
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1655
1726
  type: "text",
1656
1727
  class: "mwnf-standalone-glossary__input",
@@ -1660,19 +1731,19 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1660
1731
  "aria-label": e.labels.heading,
1661
1732
  onInput: b,
1662
1733
  onKeydown: x
1663
- }, null, 40, vr), [[M, a.value]]), h.value.length ? (C(), f("ul", yr, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1734
+ }, null, 40, Mr), [[M, a.value]]), h.value.length ? (C(), f("ul", Nr, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1664
1735
  key: e.spelling,
1665
1736
  role: "option",
1666
1737
  "aria-selected": t === s.value,
1667
1738
  class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1668
1739
  onMousedown: L((t) => v(e), ["prevent"])
1669
- }, D(e.spelling), 43, br))), 128))])) : d("", !0)]), p("div", xr, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Sr, D(e.labels.definition), 1), p("div", {
1740
+ }, D(e.spelling), 43, Pr))), 128))])) : d("", !0)]), p("div", Fr, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Ir, D(e.labels.definition), 1), p("div", {
1670
1741
  class: "mwnf-standalone-glossary__definition",
1671
1742
  innerHTML: g.value
1672
- }, null, 8, Cr)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1673
- p("h3", wr, D(e.labels.spellings), 1),
1674
- p("p", Tr, D(e.labels.spellingsNote), 1),
1675
- p("ul", Er, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1743
+ }, null, 8, Lr)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1744
+ p("h3", Rr, D(e.labels.spellings), 1),
1745
+ p("p", zr, D(e.labels.spellingsNote), 1),
1746
+ p("ul", Br, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1676
1747
  ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
1677
1748
  _: 1
1678
1749
  }, 8, [
@@ -1683,4 +1754,4 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
1683
1754
  }
1684
1755
  };
1685
1756
  //#endregion
1686
- export { ft as RelatedContent, J as StandaloneBanner, Dr as StandaloneGlossarySpelling, Je as StandaloneHome, gt as StandaloneItemSheet, er as StandalonePagination, Yn as StandalonePartnerList, Gt as StandalonePartnerPage, zn as StandaloneRefine, fn as StandaloneResultsGrid, Nn as StandaloneResultsList, Ae as StandaloneShell, or as StandaloneSlider, Se as StandaloneSponsors, Qt as StandaloneSubNav, Yt as StandaloneTextPage, We as StandaloneTileGrid, pr as StandaloneWindow, Re as TodayHighlight, X as byLanguage, Z as dayOfYear, se as legacyHomeItemKey, Q as pickForDay };
1757
+ export { pt as RelatedContent, Y as StandaloneBanner, Vr as StandaloneGlossarySpelling, Ye as StandaloneHome, _t as StandaloneItemSheet, mr as StandalonePagination, Xn as StandalonePartnerList, Kt as StandalonePartnerPage, Bn as StandaloneRefine, pn as StandaloneResultsGrid, Pn as StandaloneResultsList, Ae as StandaloneShell, br as StandaloneSlider, lr as StandaloneSponsorList, Se as StandaloneSponsors, $t as StandaloneSubNav, Xt as StandaloneTextPage, Ge as StandaloneTileGrid, Dr as StandaloneWindow, Re as TodayHighlight, Z as byLanguage, oe as dayOfYear, se as legacyHomeItemKey, Q as pickForDay };