@museumwnf/viewer-layout 3.10.0 → 3.11.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.
@@ -39,7 +39,7 @@ var w = {
39
39
  ], le = {
40
40
  key: 3,
41
41
  class: "mwnf-header__languages"
42
- }, ue = { class: "mwnf-header__language-label" }, de = ["value"], fe = ["value"], N = {
42
+ }, N = { class: "mwnf-header__language-label" }, P = ["value"], F = ["value"], I = {
43
43
  __name: "AppHeader",
44
44
  props: {
45
45
  title: {
@@ -101,19 +101,19 @@ var w = {
101
101
  },
102
102
  emits: ["search", "update:language"],
103
103
  setup(o, { emit: c }) {
104
- let S = o, N = c, P = _(), { t: F } = C(), I = t(() => S.languages.map((e) => typeof e == "string" ? {
104
+ let S = o, I = c, L = _(), { t: R } = C(), z = t(() => S.languages.map((e) => typeof e == "string" ? {
105
105
  code: e,
106
106
  label: e
107
- } : e)), L = t(() => S.languageStyle && I.value.length > 1);
108
- function R() {
109
- return !!(P.default || P.brand || S.title || S.subtitle || S.eyebrow || S.brand || S.brandLogo?.src || S.logos.length || S.links.length || S.search || L.value);
107
+ } : e)), B = t(() => S.languageStyle && z.value.length > 1);
108
+ function V() {
109
+ return !!(L.default || L.brand || S.title || S.subtitle || S.eyebrow || S.brand || S.brandLogo?.src || S.logos.length || S.links.length || S.search || B.value);
110
110
  }
111
- let z = d("");
112
- function B() {
113
- N("search", z.value), z.value = "";
111
+ let H = d("");
112
+ function U() {
113
+ I("search", H.value), H.value = "";
114
114
  }
115
- return (t, c) => R() ? (u(), i("header", w, [p(t.$slots, "default", {}, () => [a("div", T, [
116
- g(P).brand || o.brand || o.brandLogo?.src || o.logos.length ? (u(), i("div", E, [g(P).brand || o.brand || o.brandLogo?.src ? (u(), n(m(o.home ? "a" : "span"), {
115
+ return (t, c) => V() ? (u(), i("header", w, [p(t.$slots, "default", {}, () => [a("div", T, [
116
+ g(L).brand || o.brand || o.brandLogo?.src || o.logos.length ? (u(), i("div", E, [g(L).brand || o.brand || o.brandLogo?.src ? (u(), n(m(o.home ? "a" : "span"), {
117
117
  key: 0,
118
118
  class: "mwnf-header__home",
119
119
  href: o.home || void 0
@@ -155,7 +155,7 @@ var w = {
155
155
  ]),
156
156
  _: 1
157
157
  }, 8, ["href"])) : r("", !0),
158
- o.links.length || o.search || L.value ? (u(), i("div", ne, [
158
+ o.links.length || o.search || B.value ? (u(), i("div", ne, [
159
159
  o.links.length ? (u(), i("ul", re, [(u(!0), i(e, null, f(o.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
160
160
  class: "mwnf-header__link",
161
161
  href: e.href,
@@ -166,76 +166,76 @@ var w = {
166
166
  key: 1,
167
167
  class: "mwnf-header__search",
168
168
  role: "search",
169
- onSubmit: x(B, ["prevent"])
169
+ onSubmit: x(U, ["prevent"])
170
170
  }, [b(a("input", {
171
- "onUpdate:modelValue": c[0] ||= (e) => z.value = e,
171
+ "onUpdate:modelValue": c[0] ||= (e) => H.value = e,
172
172
  class: "mwnf-header__search-input",
173
173
  type: "search",
174
174
  placeholder: o.search.placeholder ?? "",
175
175
  "aria-label": o.search.placeholder ?? o.search.submitLabel ?? ""
176
- }, null, 8, ae), [[v, z.value]]), a("button", {
176
+ }, null, 8, ae), [[v, H.value]]), a("button", {
177
177
  class: "mwnf-header__search-submit",
178
178
  type: "submit",
179
179
  "aria-label": o.search.submitLabel ?? ""
180
180
  }, h(o.search.submitText ?? "⌕"), 9, oe)], 32)) : r("", !0),
181
- L.value && o.languageStyle === "buttons" ? (u(), i("div", {
181
+ B.value && o.languageStyle === "buttons" ? (u(), i("div", {
182
182
  key: 2,
183
183
  class: "mwnf-header__languages",
184
184
  role: "group",
185
- "aria-label": g(F)("layout.language.label")
186
- }, [(u(!0), i(e, null, f(I.value, (e) => (u(), i("button", {
185
+ "aria-label": g(R)("layout.language.label")
186
+ }, [(u(!0), i(e, null, f(z.value, (e) => (u(), i("button", {
187
187
  key: e.code,
188
188
  type: "button",
189
189
  class: l(["mwnf-header__language", { "mwnf-header__language--active": e.code === o.language }]),
190
190
  "aria-pressed": e.code === o.language ? "true" : "false",
191
191
  lang: e.code,
192
- onClick: (t) => N("update:language", e.code)
193
- }, h(e.label), 11, ce))), 128))], 8, se)) : L.value ? (u(), i("label", le, [a("span", ue, h(g(F)("layout.language.label")), 1), a("select", {
192
+ onClick: (t) => I("update:language", e.code)
193
+ }, h(e.label), 11, ce))), 128))], 8, se)) : B.value ? (u(), i("label", le, [a("span", N, h(g(R)("layout.language.label")), 1), a("select", {
194
194
  class: "mwnf-header__language-select",
195
195
  value: o.language,
196
- onChange: c[1] ||= (e) => N("update:language", e.target.value)
197
- }, [(u(!0), i(e, null, f(I.value, (e) => (u(), i("option", {
196
+ onChange: c[1] ||= (e) => I("update:language", e.target.value)
197
+ }, [(u(!0), i(e, null, f(z.value, (e) => (u(), i("option", {
198
198
  key: e.code,
199
199
  value: e.code
200
- }, h(e.label), 9, fe))), 128))], 40, de)])) : r("", !0)
200
+ }, h(e.label), 9, F))), 128))], 40, P)])) : r("", !0)
201
201
  ])) : r("", !0)
202
202
  ])])])) : r("", !0);
203
203
  }
204
- }, P = ["src", "alt"], F = {
204
+ }, L = ["src", "alt"], R = {
205
205
  key: 1,
206
206
  class: "mwnf-banner__text"
207
- }, I = {
207
+ }, z = {
208
208
  key: 1,
209
209
  class: "mwnf-banner__frame"
210
- }, L = { class: "mwnf-banner__media" }, R = ["src", "alt"], z = {
210
+ }, B = { class: "mwnf-banner__media" }, V = ["src", "alt"], H = {
211
211
  key: 1,
212
212
  class: "mwnf-banner__fallback",
213
213
  "aria-hidden": "true"
214
- }, B = {
214
+ }, U = {
215
215
  key: 2,
216
216
  class: "mwnf-banner__caption"
217
- }, V = { class: "mwnf-banner__caption-name" }, pe = {
217
+ }, W = { class: "mwnf-banner__caption-name" }, ue = {
218
218
  key: 0,
219
219
  class: "mwnf-banner__caption-rest"
220
- }, me = { class: "mwnf-banner__body" }, he = {
220
+ }, de = { class: "mwnf-banner__body" }, fe = {
221
221
  key: 0,
222
222
  class: "mwnf-banner__eyebrow"
223
- }, ge = ["href", "aria-label"], _e = {
223
+ }, pe = ["href", "aria-label"], me = {
224
224
  key: 2,
225
225
  class: "mwnf-banner__subtitle"
226
- }, ve = ["innerHTML"], ye = ["href", "aria-label"], be = {
226
+ }, he = ["innerHTML"], ge = ["href", "aria-label"], _e = {
227
227
  key: 5,
228
228
  class: "mwnf-banner__strapline"
229
- }, xe = {
229
+ }, ve = {
230
230
  key: 6,
231
231
  class: "mwnf-banner__text"
232
- }, Se = {
232
+ }, ye = {
233
233
  key: 7,
234
234
  class: "mwnf-banner__caption"
235
- }, Ce = { class: "mwnf-banner__caption-name" }, we = {
235
+ }, be = { class: "mwnf-banner__caption-name" }, xe = {
236
236
  key: 0,
237
237
  class: "mwnf-banner__caption-rest"
238
- }, H = {
238
+ }, G = {
239
239
  __name: "AppBanner",
240
240
  props: {
241
241
  variant: {
@@ -313,14 +313,14 @@ var w = {
313
313
  return (t, c) => g() ? (u(), i("section", {
314
314
  key: 0,
315
315
  class: l(["mwnf-banner", o.variant ? `mwnf-banner--${o.variant}` : ""])
316
- }, [p(t.$slots, "default", {}, () => [o.variant ? (u(), i("div", I, [a("div", L, [o.image && !C.value ? (u(), i("img", {
316
+ }, [p(t.$slots, "default", {}, () => [o.variant ? (u(), i("div", z, [a("div", B, [o.image && !C.value ? (u(), i("img", {
317
317
  key: 0,
318
318
  class: "mwnf-banner__image",
319
319
  src: o.image,
320
320
  alt: x.value,
321
321
  onError: c[0] ||= (e) => C.value = !0
322
- }, null, 40, R)) : (u(), i("div", z)), b.value && o.variant !== "section" ? (u(), i("p", B, [a("span", V, h(b.value.name), 1), b.value.rest ? (u(), i("span", pe, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)]), a("div", me, [
323
- o.eyebrow ? (u(), i("p", he, h(o.eyebrow), 1)) : r("", !0),
322
+ }, null, 40, V)) : (u(), i("div", H)), b.value && o.variant !== "section" ? (u(), i("p", U, [a("span", W, h(b.value.name), 1), b.value.rest ? (u(), i("span", ue, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)]), a("div", de, [
323
+ o.eyebrow ? (u(), i("p", fe, h(o.eyebrow), 1)) : r("", !0),
324
324
  o.title ? (u(), n(m(o.titleHref ? "a" : "p"), {
325
325
  key: 1,
326
326
  class: "mwnf-banner__title",
@@ -331,58 +331,58 @@ var w = {
331
331
  class: "mwnf-banner__enter",
332
332
  href: o.enter.href,
333
333
  "aria-label": o.enter.ariaLabel
334
- }, h(o.enter.label), 9, ge)) : r("", !0)]),
334
+ }, h(o.enter.label), 9, pe)) : r("", !0)]),
335
335
  _: 1
336
336
  }, 8, ["href"])) : r("", !0),
337
- o.subtitle ? (u(), i("p", _e, h(o.subtitle), 1)) : r("", !0),
337
+ o.subtitle ? (u(), i("p", me, h(o.subtitle), 1)) : r("", !0),
338
338
  v.value ? (u(), i("div", {
339
339
  key: 3,
340
340
  class: "mwnf-banner__headline",
341
341
  innerHTML: v.value
342
- }, null, 8, ve)) : r("", !0),
342
+ }, null, 8, he)) : r("", !0),
343
343
  o.variant !== "strip" && o.enter ? (u(), i("a", {
344
344
  key: 4,
345
345
  class: "mwnf-banner__enter",
346
346
  href: o.enter.href,
347
347
  "aria-label": o.enter.ariaLabel
348
- }, h(o.enter.label), 9, ye)) : r("", !0),
349
- o.strapline ? (u(), i("p", be, h(o.strapline), 1)) : r("", !0),
350
- o.text ? (u(), i("p", xe, h(o.text), 1)) : r("", !0),
351
- b.value && o.variant === "section" ? (u(), i("p", Se, [a("span", Ce, h(b.value.name), 1), b.value.rest ? (u(), i("span", we, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)
348
+ }, h(o.enter.label), 9, ge)) : r("", !0),
349
+ o.strapline ? (u(), i("p", _e, h(o.strapline), 1)) : r("", !0),
350
+ o.text ? (u(), i("p", ve, h(o.text), 1)) : r("", !0),
351
+ b.value && o.variant === "section" ? (u(), i("p", ye, [a("span", be, h(b.value.name), 1), b.value.rest ? (u(), i("span", xe, h(b.value.rest), 1)) : r("", !0)])) : r("", !0)
352
352
  ])])) : (u(), i(e, { key: 0 }, [o.image ? (u(), i("img", {
353
353
  key: 0,
354
354
  class: "mwnf-banner__image",
355
355
  src: o.image,
356
356
  alt: o.imageAlt
357
- }, null, 8, P)) : r("", !0), o.text ? (u(), i("p", F, h(o.text), 1)) : r("", !0)], 64))])], 2)) : r("", !0);
357
+ }, null, 8, L)) : r("", !0), o.text ? (u(), i("p", R, h(o.text), 1)) : r("", !0)], 64))])], 2)) : r("", !0);
358
358
  }
359
- }, Te = ["aria-label"], Ee = { class: "mwnf-nav__bar" }, De = ["aria-expanded"], Oe = {
359
+ }, Se = ["aria-label"], Ce = { class: "mwnf-nav__bar" }, we = ["aria-expanded"], Te = {
360
360
  key: 0,
361
361
  id: "mwnf-nav-links",
362
362
  class: "mwnf-nav__links"
363
- }, ke = [
363
+ }, Ee = [
364
364
  "href",
365
365
  "aria-current",
366
366
  "aria-haspopup",
367
367
  "target",
368
368
  "rel"
369
- ], Ae = {
369
+ ], De = {
370
370
  key: 0,
371
371
  class: "mwnf-nav__sublinks"
372
- }, je = [
372
+ }, Oe = [
373
373
  "href",
374
374
  "target",
375
375
  "rel"
376
- ], Me = {
376
+ ], ke = {
377
377
  key: 1,
378
378
  class: "mwnf-nav__language"
379
- }, Ne = { class: "mwnf-nav__language-label" }, Pe = ["value"], Fe = ["value"], Ie = {
379
+ }, Ae = { class: "mwnf-nav__language-label" }, je = ["value"], Me = ["value"], Ne = {
380
380
  key: 0,
381
381
  class: "mwnf-nav__notice"
382
- }, Le = {
382
+ }, Pe = {
383
383
  key: 0,
384
384
  class: "mwnf-nav__notice-title"
385
- }, U = {
385
+ }, K = {
386
386
  __name: "AppNavigation",
387
387
  props: {
388
388
  links: {
@@ -420,7 +420,7 @@ var w = {
420
420
  key: 0,
421
421
  class: l(["mwnf-nav", { "mwnf-nav--open": w.value }]),
422
422
  "aria-label": g(y)("layout.nav.label")
423
- }, [a("div", Ee, [
423
+ }, [a("div", Ce, [
424
424
  n.links.length ? (u(), i("button", {
425
425
  key: 0,
426
426
  type: "button",
@@ -431,8 +431,8 @@ var w = {
431
431
  }, [o[4] ||= a("span", {
432
432
  class: "mwnf-nav__toggle-icon",
433
433
  "aria-hidden": "true"
434
- }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, De)) : r("", !0),
435
- p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Oe, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
434
+ }, "☰", -1), s(" " + h(g(y)("layout.nav.menu")), 1)], 8, we)) : r("", !0),
435
+ p(t.$slots, "default", {}, () => [n.links.length ? (u(), i("ul", Te, [(u(!0), i(e, null, f(n.links, (t) => (u(), i("li", {
436
436
  key: t.href ?? t.label,
437
437
  class: l({ "mwnf-nav__item--parent": t.children?.length })
438
438
  }, [a("a", {
@@ -443,53 +443,53 @@ var w = {
443
443
  target: t.external ? "_blank" : void 0,
444
444
  rel: t.external ? "noopener" : void 0,
445
445
  onClick: o[1] ||= (e) => w.value = !1
446
- }, h(t.label), 11, ke), t.children?.length ? (u(), i("ul", Ae, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
446
+ }, h(t.label), 11, Ee), t.children?.length ? (u(), i("ul", De, [(u(!0), i(e, null, f(t.children, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
447
447
  class: "mwnf-nav__sublink",
448
448
  href: e.href,
449
449
  target: e.external ? "_blank" : void 0,
450
450
  rel: e.external ? "noopener" : void 0,
451
451
  onClick: o[2] ||= (e) => w.value = !1
452
- }, h(e.label), 9, je)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
453
- x.value ? (u(), i("label", Me, [a("span", Ne, h(g(y)("layout.language.label")), 1), a("select", {
452
+ }, h(e.label), 9, Oe)]))), 128))])) : r("", !0)], 2))), 128))])) : r("", !0)]),
453
+ x.value ? (u(), i("label", ke, [a("span", Ae, h(g(y)("layout.language.label")), 1), a("select", {
454
454
  class: "mwnf-nav__language-select",
455
455
  value: n.language,
456
456
  onChange: o[3] ||= (e) => m("update:language", e.target.value)
457
457
  }, [(u(!0), i(e, null, f(b.value, (e) => (u(), i("option", {
458
458
  key: e.code,
459
459
  value: e.code
460
- }, h(e.label), 9, Fe))), 128))], 40, Pe)])) : r("", !0)
461
- ]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ie, [n.notice.title ? (u(), i("strong", Le, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Te)) : r("", !0);
460
+ }, h(e.label), 9, Me))), 128))], 40, je)])) : r("", !0)
461
+ ]), n.notice && (n.notice.text || n.notice.title) ? (u(), i("p", Ne, [n.notice.title ? (u(), i("strong", Pe, h(n.notice.title), 1)) : r("", !0), s(" " + h(n.notice.text), 1)])) : r("", !0)], 10, Se)) : r("", !0);
462
462
  }
463
- }, Re = {
463
+ }, Fe = {
464
464
  key: 0,
465
465
  id: "mwnf-content",
466
466
  class: "mwnf-content"
467
- }, W = {
467
+ }, q = {
468
468
  __name: "AppContent",
469
469
  setup(e) {
470
470
  let t = _();
471
471
  function n() {
472
472
  return !!t.default;
473
473
  }
474
- return (e, t) => n() ? (u(), i("main", Re, [p(e.$slots, "default")])) : r("", !0);
474
+ return (e, t) => n() ? (u(), i("main", Fe, [p(e.$slots, "default")])) : r("", !0);
475
475
  }
476
- }, ze = ["aria-label"], Be = {
476
+ }, Ie = ["aria-label"], Le = {
477
477
  key: 0,
478
478
  class: "mwnf-hyperlinks__title"
479
- }, Ve = {
479
+ }, Re = {
480
480
  key: 1,
481
481
  class: "mwnf-hyperlinks__subtitle"
482
- }, He = {
482
+ }, ze = {
483
483
  key: 1,
484
484
  class: "mwnf-hyperlinks__title"
485
- }, Ue = { class: "mwnf-hyperlinks__list" }, We = [
485
+ }, Be = { class: "mwnf-hyperlinks__list" }, Ve = [
486
486
  "href",
487
487
  "target",
488
488
  "rel"
489
- ], Ge = { class: "mwnf-hyperlinks__label" }, Ke = {
489
+ ], He = { class: "mwnf-hyperlinks__label" }, Ue = {
490
490
  key: 0,
491
491
  class: "mwnf-hyperlinks__description"
492
- }, G = {
492
+ }, J = {
493
493
  __name: "AppHyperlinks",
494
494
  props: {
495
495
  variant: {
@@ -527,28 +527,28 @@ var w = {
527
527
  class: "mwnf-hyperlinks__lockup",
528
528
  href: t.titleHref || void 0
529
529
  }, {
530
- default: y(() => [t.title ? (u(), i("p", Be, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Ve, h(t.subtitle), 1)) : r("", !0)]),
530
+ default: y(() => [t.title ? (u(), i("p", Le, h(t.title), 1)) : r("", !0), t.subtitle ? (u(), i("p", Re, h(t.subtitle), 1)) : r("", !0)]),
531
531
  _: 1
532
- }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", He, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Ue, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
532
+ }, 8, ["href"])) : r("", !0)], 64)) : t.title ? (u(), i("p", ze, h(t.title), 1)) : r("", !0), p(o.$slots, "default", {}, () => [a("ul", Be, [(u(!0), i(e, null, f(t.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
533
533
  class: "mwnf-hyperlinks__link",
534
534
  href: e.href,
535
535
  target: e.external ? "_blank" : void 0,
536
536
  rel: e.external ? "noopener" : void 0
537
- }, [a("span", Ge, h(e.label), 1), e.description ? (u(), i("span", Ke, h(e.description), 1)) : r("", !0)], 8, We)]))), 128))])])], 10, ze)) : r("", !0);
537
+ }, [a("span", He, h(e.label), 1), e.description ? (u(), i("span", Ue, h(e.description), 1)) : r("", !0)], 8, Ve)]))), 128))])])], 10, Ie)) : r("", !0);
538
538
  }
539
- }, qe = ["aria-label"], Je = {
539
+ }, We = ["aria-label"], Ge = {
540
540
  key: 0,
541
541
  class: "mwnf-sponsors__title"
542
- }, Ye = {
542
+ }, Ke = {
543
543
  key: 0,
544
544
  class: "mwnf-sponsors__list"
545
- }, Xe = ["src", "alt"], Ze = {
545
+ }, qe = ["src", "alt"], Je = {
546
546
  key: 1,
547
547
  class: "mwnf-sponsors__groups"
548
- }, Qe = {
548
+ }, Ye = {
549
549
  key: 0,
550
550
  class: "mwnf-sponsors__group-title"
551
- }, $e = { class: "mwnf-sponsors__list" }, et = ["src", "alt"], K = {
551
+ }, Xe = { class: "mwnf-sponsors__list" }, Ze = ["src", "alt"], Y = {
552
552
  __name: "AppSponsors",
553
553
  props: {
554
554
  title: {
@@ -573,7 +573,7 @@ var w = {
573
573
  key: 0,
574
574
  class: "mwnf-sponsors",
575
575
  "aria-label": o.title || g(d)("layout.sponsors.label")
576
- }, [o.title ? (u(), i("p", Je, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ye, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
576
+ }, [o.title ? (u(), i("p", Ge, h(o.title), 1)) : r("", !0), p(t.$slots, "default", {}, () => [o.sponsors.length ? (u(), i("ul", Ke, [(u(!0), i(e, null, f(o.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
577
577
  class: "mwnf-sponsors__item",
578
578
  href: t.href,
579
579
  target: t.href ? "_blank" : void 0,
@@ -584,16 +584,16 @@ var w = {
584
584
  class: "mwnf-sponsors__logo",
585
585
  src: t.logo,
586
586
  alt: t.name
587
- }, null, 8, Xe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
587
+ }, null, 8, qe)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
588
588
  _: 2
589
589
  }, 1032, [
590
590
  "href",
591
591
  "target",
592
592
  "rel"
593
- ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Ze, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
593
+ ]))]))), 128))])) : r("", !0), v.value.length ? (u(), i("div", Je, [(u(!0), i(e, null, f(v.value, (t) => (u(), i("div", {
594
594
  key: t.title,
595
595
  class: "mwnf-sponsors__group"
596
- }, [t.title ? (u(), i("p", Qe, h(t.title), 1)) : r("", !0), a("ul", $e, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
596
+ }, [t.title ? (u(), i("p", Ye, h(t.title), 1)) : r("", !0), a("ul", Xe, [(u(!0), i(e, null, f(t.sponsors, (t) => (u(), i("li", { key: t.name }, [(u(), n(m(t.href ? "a" : "span"), {
597
597
  class: "mwnf-sponsors__item",
598
598
  href: t.href,
599
599
  target: t.href ? "_blank" : void 0,
@@ -605,16 +605,16 @@ var w = {
605
605
  class: "mwnf-sponsors__logo",
606
606
  src: t.logo,
607
607
  alt: t.name
608
- }, null, 8, et)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
608
+ }, null, 8, Ze)) : (u(), i(e, { key: 1 }, [s(h(t.name), 1)], 64))]),
609
609
  _: 2
610
610
  }, 1032, [
611
611
  "href",
612
612
  "target",
613
613
  "rel",
614
614
  "title"
615
- ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, qe)) : r("", !0);
615
+ ]))]))), 128))])]))), 128))])) : r("", !0)])], 8, We)) : r("", !0);
616
616
  }
617
- }, q = {
617
+ }, X = {
618
618
  youtube: {
619
619
  viewBox: "0 0 448 512",
620
620
  path: "M282 256.2l-95.2-54.1V310.3L282 256.2zM384 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64zm14.4 136.1c7.6 28.6 7.6 88.2 7.6 88.2s0 59.6-7.6 88.1c-4.2 15.8-16.5 27.7-32.2 31.9C337.9 384 224 384 224 384s-113.9 0-142.2-7.6c-15.7-4.2-28-16.1-32.2-31.9C42 315.9 42 256.3 42 256.3s0-59.7 7.6-88.2c4.2-15.8 16.5-28.2 32.2-32.4C110.1 128 224 128 224 128s113.9 0 142.2 7.7c15.7 4.2 28 16.6 32.2 32.4z"
@@ -639,7 +639,7 @@ var w = {
639
639
  viewBox: "0 0 448 512",
640
640
  path: "M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"
641
641
  }
642
- }, tt = Object.freeze([
642
+ }, Qe = Object.freeze([
643
643
  {
644
644
  label: "YouTube",
645
645
  href: "https://www.youtube.com/channel/UC5X2a5jDFyIfTEV5prWNF5Q",
@@ -670,22 +670,22 @@ var w = {
670
670
  href: "https://www.linkedin.com/company/museum-with-no-frontiers/",
671
671
  icon: "linkedin"
672
672
  }
673
- ]), nt = {
673
+ ]), $e = {
674
674
  key: 0,
675
675
  class: "mwnf-footer__social"
676
- }, rt = [
676
+ }, et = [
677
677
  "href",
678
678
  "aria-label",
679
679
  "title"
680
- ], it = ["viewBox"], at = ["d"], J = {
680
+ ], tt = ["viewBox"], nt = ["d"], Z = {
681
681
  __name: "SocialLinks",
682
682
  props: { links: {
683
683
  type: Array,
684
684
  default: () => []
685
685
  } },
686
686
  setup(n) {
687
- let o = n, s = t(() => o.links.filter((e) => q[e.icon]));
688
- return (t, n) => s.value.length ? (u(), i("ul", nt, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
687
+ let o = n, s = t(() => o.links.filter((e) => X[e.icon]));
688
+ return (t, n) => s.value.length ? (u(), i("ul", $e, [(u(!0), i(e, null, f(s.value, (e) => (u(), i("li", { key: e.href }, [a("a", {
689
689
  class: "mwnf-footer__social-link",
690
690
  href: e.href,
691
691
  target: "_blank",
@@ -694,34 +694,34 @@ var w = {
694
694
  title: e.label
695
695
  }, [(u(), i("svg", {
696
696
  class: "mwnf-footer__social-icon",
697
- viewBox: g(q)[e.icon].viewBox,
697
+ viewBox: g(X)[e.icon].viewBox,
698
698
  "aria-hidden": "true",
699
699
  focusable: "false"
700
700
  }, [a("path", {
701
701
  fill: "currentColor",
702
- d: g(q)[e.icon].path
703
- }, null, 8, at)], 8, it))], 8, rt)]))), 128))])) : r("", !0);
702
+ d: g(X)[e.icon].path
703
+ }, null, 8, nt)], 8, tt))], 8, et)]))), 128))])) : r("", !0);
704
704
  }
705
- }, ot = {
705
+ }, Q = {
706
706
  key: 0,
707
707
  class: "mwnf-footer"
708
- }, st = {
708
+ }, rt = {
709
709
  key: 0,
710
710
  class: "mwnf-footer__links"
711
- }, ct = [
711
+ }, it = [
712
712
  "href",
713
713
  "target",
714
714
  "rel"
715
- ], lt = {
715
+ ], at = {
716
716
  key: 1,
717
717
  class: "mwnf-footer__text"
718
- }, ut = {
718
+ }, ot = {
719
719
  key: 2,
720
720
  class: "mwnf-footer__attribution"
721
- }, dt = {
721
+ }, st = {
722
722
  key: 0,
723
723
  class: "mwnf-footer__attribution-label"
724
- }, ft = ["href"], Y = {
724
+ }, ct = ["href"], $ = {
725
725
  __name: "AppFooter",
726
726
  props: {
727
727
  text: {
@@ -754,34 +754,34 @@ var w = {
754
754
  }
755
755
  },
756
756
  setup(n) {
757
- let o = n, l = _(), d = t(() => o.social.filter((e) => q[e.icon]));
757
+ let o = n, l = _(), d = t(() => o.social.filter((e) => X[e.icon]));
758
758
  function m() {
759
759
  return !!(l.default || o.text || o.links.length || o.attributionText || d.value.length);
760
760
  }
761
- return (t, o) => m() ? (u(), i("footer", ot, [p(t.$slots, "default", {}, () => [
762
- n.links.length ? (u(), i("ul", st, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
761
+ return (t, o) => m() ? (u(), i("footer", Q, [p(t.$slots, "default", {}, () => [
762
+ n.links.length ? (u(), i("ul", rt, [(u(!0), i(e, null, f(n.links, (e) => (u(), i("li", { key: e.href ?? e.label }, [a("a", {
763
763
  class: "mwnf-footer__link",
764
764
  href: e.href,
765
765
  target: e.external ? "_blank" : void 0,
766
766
  rel: e.external ? "noopener" : void 0
767
- }, h(e.label), 9, ct)]))), 128))])) : r("", !0),
768
- n.text ? (u(), i("p", lt, h(n.text), 1)) : r("", !0),
769
- n.attributionText ? (u(), i("p", ut, [
770
- n.attributionLabel ? (u(), i("span", dt, h(n.attributionLabel), 1)) : r("", !0),
767
+ }, h(e.label), 9, it)]))), 128))])) : r("", !0),
768
+ n.text ? (u(), i("p", at, h(n.text), 1)) : r("", !0),
769
+ n.attributionText ? (u(), i("p", ot, [
770
+ n.attributionLabel ? (u(), i("span", st, h(n.attributionLabel), 1)) : r("", !0),
771
771
  s(" " + h(n.attributionText) + " ", 1),
772
772
  n.termsHref ? (u(), i("a", {
773
773
  key: 1,
774
774
  class: "mwnf-footer__terms",
775
775
  href: n.termsHref
776
- }, h(n.termsLabel), 9, ft)) : r("", !0)
776
+ }, h(n.termsLabel), 9, ct)) : r("", !0)
777
777
  ])) : r("", !0),
778
- c(J, { links: d.value }, null, 8, ["links"])
778
+ c(Z, { links: d.value }, null, 8, ["links"])
779
779
  ])])) : r("", !0);
780
780
  }
781
- }, pt = { class: "mwnf-page" }, mt = {
781
+ }, lt = { class: "mwnf-page" }, ut = {
782
782
  class: "mwnf-skip-link",
783
783
  href: "#mwnf-content"
784
- }, ht = {
784
+ }, dt = {
785
785
  __name: "PageShell",
786
786
  props: {
787
787
  headerTitle: {
@@ -972,9 +972,9 @@ var w = {
972
972
  emits: ["update:language", "search"],
973
973
  setup(r, { emit: s }) {
974
974
  let l = r, d = s, { t: m } = C(), _ = t(() => l.navigationPlacement === "before-banner" ? ["navigation", "banner"] : ["banner", "navigation"]);
975
- return (t, s) => (u(), i("div", pt, [
976
- a("a", mt, h(g(m)("layout.nav.skipToContent")), 1),
977
- c(N, {
975
+ return (t, s) => (u(), i("div", lt, [
976
+ a("a", ut, h(g(m)("layout.nav.skipToContent")), 1),
977
+ c(I, {
978
978
  title: r.headerTitle,
979
979
  subtitle: r.headerSubtitle,
980
980
  eyebrow: r.headerEyebrow,
@@ -1015,7 +1015,7 @@ var w = {
1015
1015
  "language",
1016
1016
  "language-style"
1017
1017
  ]),
1018
- (u(!0), i(e, null, f(_.value, (a) => (u(), i(e, { key: a }, [a === "banner" ? (u(), n(H, {
1018
+ (u(!0), i(e, null, f(_.value, (a) => (u(), i(e, { key: a }, [a === "banner" ? (u(), n(G, {
1019
1019
  key: 0,
1020
1020
  variant: r.bannerVariant,
1021
1021
  image: r.bannerImage,
@@ -1048,7 +1048,7 @@ var w = {
1048
1048
  "headline",
1049
1049
  "enter",
1050
1050
  "strapline"
1051
- ])) : (u(), n(U, {
1051
+ ])) : (u(), n(K, {
1052
1052
  key: 1,
1053
1053
  links: r.navLinks,
1054
1054
  languages: r.languages,
@@ -1067,12 +1067,12 @@ var w = {
1067
1067
  "language-switcher",
1068
1068
  "notice"
1069
1069
  ]))], 64))), 128)),
1070
- c(W, null, o({ _: 2 }, [t.$slots.default ? {
1070
+ c(q, null, o({ _: 2 }, [t.$slots.default ? {
1071
1071
  name: "default",
1072
1072
  fn: y(() => [p(t.$slots, "default")]),
1073
1073
  key: "0"
1074
1074
  } : void 0]), 1024),
1075
- c(G, {
1075
+ c(J, {
1076
1076
  variant: r.hyperlinksVariant,
1077
1077
  title: r.hyperlinksTitle,
1078
1078
  "title-href": r.hyperlinksTitleHref,
@@ -1089,7 +1089,7 @@ var w = {
1089
1089
  "subtitle",
1090
1090
  "links"
1091
1091
  ]),
1092
- c(K, {
1092
+ c(Y, {
1093
1093
  title: r.sponsorsTitle,
1094
1094
  sponsors: r.sponsors,
1095
1095
  groups: r.sponsorGroups
@@ -1102,7 +1102,7 @@ var w = {
1102
1102
  "sponsors",
1103
1103
  "groups"
1104
1104
  ]),
1105
- c(Y, {
1105
+ c($, {
1106
1106
  text: r.footerText,
1107
1107
  links: r.footerLinks,
1108
1108
  social: r.footerSocial,
@@ -1125,36 +1125,6 @@ var w = {
1125
1125
  ])
1126
1126
  ]));
1127
1127
  }
1128
- }, X = /^.*?theme\/assets\//, Z = /* @__PURE__ */ new WeakMap();
1129
- function gt(e) {
1130
- let t = Z.get(e);
1131
- if (!t) {
1132
- t = /* @__PURE__ */ new Map();
1133
- for (let [n, r] of Object.entries(e)) typeof r == "string" && r && t.set(Q(n), r);
1134
- Z.set(e, t);
1135
- }
1136
- return t;
1137
- }
1138
- function Q(e) {
1139
- return String(e).replaceAll("\\", "/").replace(X, "").replace(/^(\.\/|\/)+/, "");
1140
- }
1141
- function $(e, t) {
1142
- return !e || typeof e != "object" || !t ? null : gt(e).get(Q(t)) ?? null;
1143
- }
1144
- function _t(e, t) {
1145
- return t ? $(e, `chrome/${String(t).replace(/^\/+/, "")}`) : null;
1146
- }
1147
- function vt(e, t) {
1148
- return !t || typeof t != "string" ? null : /^(?:[a-z][a-z0-9+.-]*:|\/\/|\/)/i.test(t) ? t : $(e, t);
1149
- }
1150
- function yt(e, t) {
1151
- if (!e || typeof DOMParser > "u") return e;
1152
- let n = new DOMParser().parseFromString(`<body>${e}</body>`, "text/html"), r = !1;
1153
- for (let e of n.body.querySelectorAll("img[src]")) {
1154
- let n = t(e.getAttribute("src"));
1155
- n && (e.setAttribute("src", n), r = !0);
1156
- }
1157
- return r ? n.body.innerHTML : e;
1158
- }
1128
+ };
1159
1129
  //#endregion
1160
- export { ht as a, tt as c, W as d, U as f, yt as i, K as l, N as m, _t as n, Y as o, H as p, vt as r, J as s, $ as t, G as u };
1130
+ export { Y as a, K as c, Qe as i, G as l, $ as n, J as o, Z as r, q as s, dt as t, I as u };