@museumwnf/viewer-layout 3.14.0 → 3.15.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.
package/dist/minisite.js CHANGED
@@ -1,39 +1,39 @@
1
1
  import { r as e } from "./chrome-DNsZQXrL.js";
2
2
  import { t } from "./GlossaryPopover-B7E6BsjS.js";
3
3
  import { Fragment as n, Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, normalizeClass as d, normalizeStyle as f, openBlock as p, reactive as m, ref as h, renderList as g, renderSlot as _, resolveComponent as v, toDisplayString as y, unref as b, vShow as x, watch as S, withCtx as C, withDirectives as w, withModifiers as T } from "vue";
4
- import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O, mdInline as k, mdStrip as A, mwnfLinks as j, removeEndingPoint as M, renderBlock as N, useCatalogue as P, useCollectionTree as F, useDataPackage as I, useGlossaryPopup as ee, useI18n as L, useSiteConfig as R } from "@museumwnf/viewer-core";
5
- import { useRoute as z, useRouter as B } from "vue-router";
4
+ import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O, mdInline as k, mdStrip as A, mwnfLinks as j, removeEndingPoint as M, renderBlock as N, useCatalogue as P, useCollectionTree as F, useDataPackage as I, useGlossaryPopup as L, useI18n as R, useSiteConfig as z } from "@museumwnf/viewer-core";
5
+ import { useRoute as B, useRouter as V } from "vue-router";
6
6
  //#region src/minisite/tip.js
7
- var V = m({
7
+ var H = m({
8
8
  text: "",
9
9
  width: 100,
10
10
  x: 0,
11
11
  y: 0,
12
12
  visible: !1
13
13
  });
14
- function H(e) {
15
- V.x = e.pageX, V.y = e.pageY;
14
+ function U(e) {
15
+ H.x = e.pageX, H.y = e.pageY;
16
16
  }
17
- function U(e, t) {
17
+ function W(e, t) {
18
18
  e.__tip = t.value;
19
19
  }
20
- var W = {
20
+ var G = {
21
21
  mounted(e, t) {
22
- U(e, t), e.addEventListener("mouseenter", (t) => {
22
+ W(e, t), e.addEventListener("mouseenter", (t) => {
23
23
  let n = e.__tip;
24
- n?.text && (V.text = n.text, V.width = n.width ?? 100, H(t), V.visible = !0);
25
- }), e.addEventListener("mousemove", H), e.addEventListener("mouseleave", () => {
26
- V.visible = !1;
24
+ n?.text && (H.text = n.text, H.width = n.width ?? 100, U(t), H.visible = !0);
25
+ }), e.addEventListener("mousemove", U), e.addEventListener("mouseleave", () => {
26
+ H.visible = !1;
27
27
  });
28
28
  },
29
- updated: U,
29
+ updated: W,
30
30
  beforeUnmount() {
31
- V.visible = !1;
31
+ H.visible = !1;
32
32
  }
33
- }, G = {
33
+ }, K = {
34
34
  key: 1,
35
35
  class: "mwnf-minisite"
36
- }, K = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" }, te = { class: "mwnf-minisite-header__logo" }, ne = ["href"], re = ["src"], J = { class: "mwnf-minisite-header__nav" }, ie = { class: "mwnf-minisite-header__back" }, ae = ["href"], oe = ["value", "aria-label"], se = ["value"], ce = { class: "mwnf-minisite-menu" }, le = { class: "mwnf-minisite-menu__list" }, ue = ["href", "onClick"], de = ["href"], fe = { class: "mwnf-minisite-footer" }, pe = ["href"], me = {
36
+ }, q = { class: "mwnf-minisite__column" }, J = { class: "mwnf-minisite-header" }, ee = { class: "mwnf-minisite-header__logo" }, te = ["href"], ne = ["src"], Y = { class: "mwnf-minisite-header__nav" }, re = { class: "mwnf-minisite-header__back" }, ie = ["href"], ae = ["value", "aria-label"], oe = ["value"], se = { class: "mwnf-minisite-menu" }, ce = { class: "mwnf-minisite-menu__list" }, le = ["href", "onClick"], ue = ["href"], de = { class: "mwnf-minisite-footer" }, fe = ["href"], pe = {
37
37
  __name: "Shell",
38
38
  props: {
39
39
  languages: {
@@ -75,7 +75,7 @@ var W = {
75
75
  },
76
76
  emits: ["update:language"],
77
77
  setup(t, { emit: r }) {
78
- let a = t, u = r, { t: m } = L(), h = R(), v = z(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), E = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), D = (/* @__PURE__ */ new Date()).getFullYear(), O = i(() => {
78
+ let a = t, u = r, { t: m } = R(), h = z(), v = B(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), E = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), D = (/* @__PURE__ */ new Date()).getFullYear(), O = i(() => {
79
79
  let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
80
80
  return a.language === "en" ? [e, t] : [t, e];
81
81
  });
@@ -86,21 +86,21 @@ var W = {
86
86
  return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
87
87
  key: 0,
88
88
  class: d(`mwnf-minisite-window mwnf-minisite-window--${S.value}`)
89
- }, [_(e.$slots, "default")], 2)) : (p(), s("div", G, [
89
+ }, [_(e.$slots, "default")], 2)) : (p(), s("div", K, [
90
90
  c("div", {
91
91
  class: "mwnf-minisite__strip",
92
92
  style: f({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
93
93
  "aria-hidden": "true"
94
94
  }, null, 4),
95
- c("div", K, [
96
- c("header", q, [c("div", te, [w((p(), s("a", { href: t.logoHref }, [c("img", {
95
+ c("div", q, [
96
+ c("header", J, [c("div", ee, [w((p(), s("a", { href: t.logoHref }, [c("img", {
97
97
  src: C(`legacy/logo_${t.language}.gif`),
98
98
  alt: "",
99
99
  height: "60"
100
- }, null, 8, re)], 8, ne)), [[b(W), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", J, [c("div", ie, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
100
+ }, null, 8, ne)], 8, te)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", Y, [c("div", re, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
101
101
  class: "mwnf-minisite-header__link",
102
102
  href: e.href
103
- }, [l(y(b(m)(e.label)), 1)], 8, ae)), [[b(W), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
103
+ }, [l(y(b(m)(e.label)), 1)], 8, ie)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
104
104
  class: "mwnf-minisite-header__select",
105
105
  value: t.language,
106
106
  "aria-label": b(m)("layout.language.label"),
@@ -108,17 +108,17 @@ var W = {
108
108
  }, [(p(!0), s(n, null, g(E.value, (e) => (p(), s("option", {
109
109
  key: e.code,
110
110
  value: e.code
111
- }, y(e.label), 9, se))), 128))], 40, oe)])])]),
111
+ }, y(e.label), 9, oe))), 128))], 40, ae)])])]),
112
112
  c("main", null, [_(e.$slots, "default")]),
113
- t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", ce, [c("ul", le, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
113
+ t.menu.length ? (p(), s(n, { key: 0 }, [c("nav", se, [c("ul", ce, [(p(!0), s(n, null, g(t.menu, (e, r) => (p(), s(n, { key: e.label }, [r > 0 && t.menuSeparator ? (p(), s(n, { key: 0 }, [l("|")], 64)) : o("", !0), c("li", null, [e.window ? (p(), s("a", {
114
114
  key: 0,
115
115
  href: e.href,
116
116
  onClick: T((t) => k(e), ["prevent"])
117
- }, y(b(m)(e.label)), 9, ue)) : (p(), s("a", {
117
+ }, y(b(m)(e.label)), 9, le)) : (p(), s("a", {
118
118
  key: 1,
119
119
  href: e.href
120
- }, y(b(m)(e.label)), 9, de))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
121
- c("footer", fe, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, pe), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
120
+ }, y(b(m)(e.label)), 9, ue))])], 64))), 128))])]), r[1] ||= c("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : o("", !0),
121
+ c("footer", de, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, fe), r[2] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(D)), 1)])
122
122
  ]),
123
123
  c("div", {
124
124
  class: "mwnf-minisite__strip",
@@ -128,27 +128,27 @@ var W = {
128
128
  ])), w(c("div", {
129
129
  class: "mwnf-minisite-tip",
130
130
  style: f({
131
- left: `${b(V).x + 12}px`,
132
- top: `${b(V).y + 16}px`,
133
- width: `${b(V).width}px`
131
+ left: `${b(H).x + 12}px`,
132
+ top: `${b(H).y + 16}px`,
133
+ width: `${b(H).width}px`
134
134
  }),
135
135
  role: "tooltip"
136
- }, y(b(V).text), 5), [[x, b(V).visible]])], 64));
136
+ }, y(b(H).text), 5), [[x, b(H).visible]])], 64));
137
137
  }
138
- }, he = [
138
+ }, me = [
139
139
  [/[‘’]/g, "'"],
140
140
  [/[“”]/g, "\""],
141
141
  [/…/g, "..."],
142
142
  [/•/g, "*"]
143
143
  ];
144
- function Y(e) {
145
- return he.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
144
+ function X(e) {
145
+ return me.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
146
146
  }
147
- var ge = /^(Artintro )?(Theme|Page) \d+$/, _e = {
147
+ var he = /^(Artintro )?(Theme|Page) \d+$/, ge = {
148
148
  partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
149
149
  monuments: (/* @__PURE__ */ "01.02.03.04.05.06.07.08.09.10.11.14.18.19.20.21.24.25.26.27.28.29.30.31.32.33.34.35".split(".")).map((e) => `PA ${e}`)
150
150
  };
151
- function ve(e, t) {
151
+ function _e(e, t) {
152
152
  return e.flatMap((e, n) => t(e.id).map((t, r) => ({
153
153
  theme: n + 1,
154
154
  page: r + 1,
@@ -156,7 +156,7 @@ function ve(e, t) {
156
156
  themeNode: e
157
157
  })));
158
158
  }
159
- function ye(e, t, n) {
159
+ function ve(e, t, n) {
160
160
  let r = e.findIndex((e) => e.theme === t && e.page === n);
161
161
  if (r < 0) return null;
162
162
  let i = (e) => ({
@@ -172,7 +172,7 @@ function ye(e, t, n) {
172
172
  next: r < e.length - 1 ? i(e[r + 1]) : null
173
173
  };
174
174
  }
175
- function be(e) {
175
+ function ye(e) {
176
176
  let t = /* @__PURE__ */ new Map();
177
177
  for (let n of e?.items ?? []) {
178
178
  let e = n.display_order ?? 0;
@@ -191,28 +191,28 @@ function be(e) {
191
191
  }])
192
192
  }));
193
193
  }
194
- function xe(e, t, n) {
194
+ function be(e, t, n) {
195
195
  return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
196
196
  }
197
- function Se(e, t, n, r) {
197
+ function xe(e, t, n, r) {
198
198
  return [
199
199
  M(t.location ?? ""),
200
200
  M(t.province ?? ""),
201
- xe(e, n, r)
201
+ be(e, n, r)
202
202
  ].filter(Boolean).join(", ");
203
203
  }
204
- function Ce({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
205
- return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Se(e, t, r, i);
204
+ function Se({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
205
+ return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : xe(e, t, r, i);
206
206
  }
207
- function we(e, t, n) {
207
+ function Ce(e, t, n) {
208
208
  let r = e?.type === "object" ? t.artist : t.architects, i = [].concat(t.materials ?? []).filter(Boolean).join(", ");
209
209
  return {
210
- artist: Y(n.artist || M(r ?? "")),
211
- material: Y(n.material || M(i))
210
+ artist: X(n.artist || M(r ?? "")),
211
+ material: X(n.material || M(i))
212
212
  };
213
213
  }
214
- function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, family: a }) {
215
- let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s = Ce({
214
+ function we({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, family: a }) {
215
+ let o = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", s = Se({
216
216
  item: e,
217
217
  own: t,
218
218
  caption: n,
@@ -220,15 +220,15 @@ function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i, fa
220
220
  noCountry: i
221
221
  });
222
222
  return {
223
- name: Y(n.name ? M(n.name) : M(t.name ?? "")),
224
- detailName: Y(n.detail_name),
225
- dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(Y),
226
- details: [o, s].filter(Boolean).map(Y),
227
- ...a === "BAR" ? we(e, t, n) : {},
228
- justification: Y(n.justification)
223
+ name: X(n.name ? M(n.name) : M(t.name ?? "")),
224
+ detailName: X(n.detail_name),
225
+ dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
226
+ details: [o, s].filter(Boolean).map(X),
227
+ ...a === "BAR" ? Ce(e, t, n) : {},
228
+ justification: X(n.justification)
229
229
  };
230
230
  }
231
- function Ee({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
231
+ function Te({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
232
232
  let i = (n, r = "") => e[n] || t[n] || r || "";
233
233
  return {
234
234
  name: M(i("name", n.name)),
@@ -239,13 +239,13 @@ function Ee({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
239
239
  i("museum"),
240
240
  i("location", n.location)
241
241
  ].filter(Boolean),
242
- details: r ? [Ce(r)].filter(Boolean).map(Y) : [],
242
+ details: r ? [Se(r)].filter(Boolean).map(X) : [],
243
243
  artist: i("artist", n.artist),
244
244
  material: i("material"),
245
245
  justification: e.justification || t.justification || ""
246
246
  };
247
247
  }
248
- function De(e, t, n = "ISL") {
248
+ function Ee(e, t, n = "ISL") {
249
249
  return {
250
250
  name: e.name || t.name,
251
251
  detailName: n === "BAR" ? e.detailName : e.detailName || t.detailName,
@@ -256,27 +256,27 @@ function De(e, t, n = "ISL") {
256
256
  justification: e.justification || t.justification
257
257
  };
258
258
  }
259
- function Oe(e, t, n) {
259
+ function De(e, t, n) {
260
260
  let r = (e) => {
261
261
  let t = e ? n(e.entry.id) : null;
262
262
  return t && t.type !== "picture" ? t.id : null;
263
263
  };
264
264
  return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
265
265
  }
266
- function ke(e, t) {
266
+ function Oe(e, t) {
267
267
  return e?.variants[t]?.image || e?.variants[0]?.image || null;
268
268
  }
269
- function Ae({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
270
- let a = (e, t) => e ? Y(M(e)) : t;
269
+ function ke({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
270
+ let a = (e, t) => e ? X(M(e)) : t;
271
271
  return [
272
272
  a(n.name, M(t.name ?? "")),
273
273
  a(n.date, M(t.dates ?? "")),
274
- a(n.dynasty, Y(M(t.dynasty ?? ""))),
274
+ a(n.dynasty, X(M(t.dynasty ?? ""))),
275
275
  e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
276
- a(n.location, Se(e, t, r, i))
276
+ a(n.location, xe(e, t, r, i))
277
277
  ];
278
278
  }
279
- function je(e, { partnerName: t, partnerCountry: n, countryName: r }) {
279
+ function Ae(e, { partnerName: t, partnerCountry: n, countryName: r }) {
280
280
  let i = (e) => e ? r(e) : "";
281
281
  return e.partner ? e.place ? [
282
282
  t(e.partner),
@@ -284,40 +284,40 @@ function je(e, { partnerName: t, partnerCountry: n, countryName: r }) {
284
284
  i(e.country)
285
285
  ].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
286
286
  }
287
- function Me(e, t) {
287
+ function je(e, t) {
288
288
  return "href" in e ? e.href : t?.(e.partner);
289
289
  }
290
- function Ne(e) {
290
+ function Me(e) {
291
291
  return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
292
292
  }
293
293
  //#endregion
294
294
  //#region src/minisite/exhibition.js
295
- var Pe = {
295
+ var Ne = {
296
296
  ISL: "minisite",
297
297
  BAR: "minisiteBaroque",
298
298
  SH: "minisiteSharingHistory",
299
299
  GAI: "minisiteArtIntro"
300
300
  };
301
- function Fe(e) {
301
+ function Pe(e) {
302
302
  return e?.family ?? "ISL";
303
303
  }
304
- function Ie(e) {
305
- return e?.texts ?? Pe[Fe(e)] ?? Pe.ISL;
304
+ function Fe(e) {
305
+ return e?.texts ?? Ne[Pe(e)] ?? Ne.ISL;
306
306
  }
307
- var Le = [
307
+ var Ie = [
308
308
  "collections",
309
309
  "items",
310
310
  "countries",
311
311
  "partners",
312
312
  "glossary"
313
- ], Re = null;
314
- function ze() {
315
- if (!Re) {
313
+ ], Le = null;
314
+ function Re() {
315
+ if (!Le) {
316
316
  let e = I();
317
- Re = {
317
+ Le = {
318
318
  pkg: e,
319
319
  data: P({
320
- eager: Le,
320
+ eager: Ie,
321
321
  glossary: !1
322
322
  }),
323
323
  tree: F({
@@ -326,21 +326,21 @@ function ze() {
326
326
  })
327
327
  };
328
328
  }
329
- return Re;
329
+ return Le;
330
330
  }
331
- var Be = [
331
+ var ze = [
332
332
  "collections",
333
333
  "items",
334
334
  "countries",
335
335
  "glossary"
336
336
  ];
337
- function X() {
338
- let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = L(), s = R(), c = s.minisite ?? {}, l = Fe(c), u = Ie(c), d = (e) => o(`${u}.${e}`), f = B(), p = i(() => a.value);
339
- S(p, (e) => Promise.all(Le.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
340
- let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() => ve(h.value, r.children));
337
+ function Be() {
338
+ let { pkg: t, data: n, tree: r } = Re(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = Pe(c), u = Fe(c), d = (e) => o(`${u}.${e}`), f = V(), p = i(() => a.value);
339
+ S(p, (e) => Promise.all(Ie.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
340
+ let m = r.root, h = i(() => m.value ? r.children(m.value.id) : []), g = i(() => _e(h.value, r.children));
341
341
  function _(e) {
342
342
  let n = t.translations("collections", p.value)[e] ?? {};
343
- return ge.test(n.title ?? "") ? {
343
+ return he.test(n.title ?? "") ? {
344
344
  ...n,
345
345
  title: ""
346
346
  } : n;
@@ -358,16 +358,16 @@ function X() {
358
358
  }
359
359
  function b(e, t) {
360
360
  let r = (t) => {
361
- if (!t.view) return Te(y(t.entry));
361
+ if (!t.view) return we(y(t.entry));
362
362
  let r = e.variants[0];
363
- return Ee({
363
+ return Te({
364
364
  caption: t.view.caption?.[p.value] ?? {},
365
365
  first: r.view ? r.view.caption?.[p.value] ?? {} : {},
366
366
  record: t.view.id ? n.tr("items", t.view.id, p.value) : {},
367
367
  placement: y(t.entry)
368
368
  });
369
369
  }, i = e?.variants[t];
370
- return i ? De(r(i), r(e.variants[0]), l) : null;
370
+ return i ? Ee(r(i), r(e.variants[0]), l) : null;
371
371
  }
372
372
  function x(e) {
373
373
  let r = _(e).glossary_ids ?? [];
@@ -402,11 +402,11 @@ function X() {
402
402
  picture: C,
403
403
  href: w,
404
404
  glossaryFor: x,
405
- pageAt: (e, t) => ye(g.value, e, t),
406
- slots: be,
407
- placementCaption: (e) => Te(y(e)),
405
+ pageAt: (e, t) => ve(g.value, e, t),
406
+ slots: ye,
407
+ placementCaption: (e) => we(y(e)),
408
408
  viewCaption: b,
409
- introCaption: (e) => Ae(y(e)),
409
+ introCaption: (e) => ke(y(e)),
410
410
  title: i(() => m.value ? _(m.value.id).title ?? "" : "")
411
411
  };
412
412
  }
@@ -436,17 +436,17 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
436
436
  }, ct = { class: "mwnf-minisite-partners__line" }, lt = ["href"], ut = { class: "mwnf-minisite-partners__logos" }, dt = ["href"], ft = ["src"], pt = {
437
437
  __name: "Home",
438
438
  setup(e) {
439
- let { label: t, family: d, lang: m, data: h, root: _, themes: x, text: E, title: D, settings: O, picture: k, href: A, glossaryFor: j } = X(), M = i(() => _.value ? h.mdInline(E(_.value.id).description, { glossary: j(_.value.id) }) : ""), N = i(() => (O.menuSecondColumnFrom ?? Infinity) - 1), P = i(() => x.value.slice(0, N.value).map((e, t) => ({
439
+ let { label: t, family: d, lang: m, data: h, root: _, themes: x, text: E, title: D, settings: O, picture: k, href: A, glossaryFor: j } = Be(), M = i(() => _.value ? h.mdInline(E(_.value.id).description, { glossary: j(_.value.id) }) : ""), N = i(() => (O.menuSecondColumnFrom ?? Infinity) - 1), P = i(() => x.value.slice(0, N.value).map((e, t) => ({
440
440
  theme: e,
441
441
  number: t + 1
442
442
  }))), F = i(() => x.value.slice(N.value).map((e, t) => ({
443
443
  theme: e,
444
444
  number: N.value + t + 1
445
- }))), I = i(() => O.curators ?? []), ee = (e) => je(e, {
445
+ }))), I = i(() => O.curators ?? []), L = (e) => Ae(e, {
446
446
  partnerName: (e) => h.tr("partners", e, m.value).name,
447
447
  partnerCountry: (e) => h.partnerById.value.get(e)?.country_id,
448
448
  countryName: (e) => h.tr("countries", e, m.value).name
449
- }), L = (e) => Me(e, O.partnerHref), R = i(() => _.value ? E(_.value.id).extra?.credits ?? "" : ""), z = i(() => O.design ?? null), B = i(() => d === "BAR" ? k(O.banner) : null), V = i(() => k(m.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
449
+ }), R = (e) => je(e, O.partnerHref), z = i(() => _.value ? E(_.value.id).extra?.credits ?? "" : ""), B = i(() => O.design ?? null), V = i(() => d === "BAR" ? k(O.banner) : null), H = i(() => k(m.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
450
450
  return S([D, m], () => {
451
451
  document.title = [t("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
452
452
  }, { immediate: !0 }), (e, i) => {
@@ -456,7 +456,7 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
456
456
  i[4] ||= c("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
457
457
  c("div", {
458
458
  class: "mwnf-minisite-home__bg2",
459
- style: f({ backgroundImage: V.value ? `url(${V.value})` : "none" })
459
+ style: f({ backgroundImage: H.value ? `url(${H.value})` : "none" })
460
460
  }, null, 4),
461
461
  c("div", Ue, y(b(D)), 1),
462
462
  c("div", {
@@ -485,20 +485,20 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
485
485
  c("div", Ye, y(b(t)("home.curatedBy")), 1),
486
486
  c("div", {
487
487
  class: "mwnf-minisite-partners__tab",
488
- innerHTML: b(h).mdInline(R.value)
488
+ innerHTML: b(h).mdInline(z.value)
489
489
  }, null, 8, Xe),
490
490
  c("div", Ze, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(O).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, Qe)]),
491
491
  c("div", $e, [(p(!0), s(n, null, g(I.value, (e, t) => (p(), s(n, { key: e.logo }, [
492
- l(y(ee(e)), 1),
492
+ l(y(L(e)), 1),
493
493
  i[5] ||= c("br", null, null, -1),
494
494
  w((p(), s("a", {
495
495
  class: "mwnf-minisite-partners__curator",
496
- href: L(e)
496
+ href: R(e)
497
497
  }, [c("img", {
498
498
  src: b(k)(e.logo),
499
499
  alt: ""
500
- }, null, 8, tt)], 8, et)), [[b(W), {
501
- text: ee(e),
500
+ }, null, 8, tt)], 8, et)), [[b(G), {
501
+ text: L(e),
502
502
  width: 220
503
503
  }]]),
504
504
  t < I.value.length - 1 ? (p(), s("span", {
@@ -507,15 +507,15 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
507
507
  style: f({ width: `${e.space ?? 0}px` })
508
508
  }, null, 4)) : o("", !0)
509
509
  ], 64))), 128))])
510
- ]), z.value ? (p(), s("div", nt, [
510
+ ]), B.value ? (p(), s("div", nt, [
511
511
  l(y(b(t)("home.design")) + " ", 1),
512
- c("div", rt, y(z.value.name), 1),
512
+ c("div", rt, y(B.value.name), 1),
513
513
  c("div", it, [c("a", {
514
- href: z.value.href,
514
+ href: B.value.href,
515
515
  target: "_blank",
516
516
  rel: "noopener"
517
517
  }, [c("img", {
518
- src: b(k)(z.value.logo),
518
+ src: b(k)(B.value.logo),
519
519
  alt: ""
520
520
  }, null, 8, ot)], 8, at)])
521
521
  ])) : o("", !0)])) : (p(), s("div", st, [c("div", ct, [c("a", {
@@ -523,26 +523,26 @@ var He = { class: "mwnf-minisite-home" }, Ue = { class: "mwnf-minisite-home__tit
523
523
  onClick: i[0] ||= T((e) => b(Z)(b(A)({ name: "credits" }), b(Ve).credits), ["prevent"])
524
524
  }, y(b(t)("home.curatedBy")), 9, lt)]), c("div", ut, [(p(!0), s(n, null, g(I.value, (e, t) => (p(), s(n, { key: e.logo }, [w((p(), s("a", {
525
525
  class: "mwnf-minisite-partners__curator",
526
- href: L(e)
526
+ href: R(e)
527
527
  }, [c("img", {
528
528
  src: b(k)(e.logo),
529
529
  alt: "",
530
530
  height: "74"
531
- }, null, 8, ft)], 8, dt)), [[b(W), {
532
- text: ee(e),
531
+ }, null, 8, ft)], 8, dt)), [[b(G), {
532
+ text: L(e),
533
533
  width: 280
534
534
  }]]), t < I.value.length - 1 ? (p(), s("span", {
535
535
  key: 0,
536
536
  class: "mwnf-minisite-partners__space",
537
537
  style: f({ width: `${e.space ?? 0}px` })
538
538
  }, null, 4)) : o("", !0)], 64))), 128))])])),
539
- B.value ? (p(), a(r, {
539
+ V.value ? (p(), a(r, {
540
540
  key: 2,
541
541
  defer: "",
542
542
  to: ".mwnf-minisite-footer"
543
543
  }, [c("div", {
544
544
  class: "mwnf-minisite-home__banner",
545
- style: f({ backgroundImage: `url(${B.value})` }),
545
+ style: f({ backgroundImage: `url(${V.value})` }),
546
546
  "aria-hidden": "true"
547
547
  }, null, 4)])) : o("", !0)
548
548
  ], 64);
@@ -586,7 +586,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
586
586
  required: !0
587
587
  } },
588
588
  setup(t) {
589
- let { t: n } = L(), r = R(), i = (t) => e(r.chrome, t), a = (e) => n(`${Ie(r.minisite)}.${e}`);
589
+ let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${Fe(r.minisite)}.${e}`);
590
590
  function o() {
591
591
  window.print();
592
592
  }
@@ -625,19 +625,19 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
625
625
  }, Nt = ["href"], Pt = ["src"], Ft = ["href"], It = ["href", "onClick"], Lt = ["src"], Rt = ["src"], zt = { key: 2 }, Bt = { key: 0 }, Vt = ["innerHTML"], Ht = ["innerHTML"], Ut = {
626
626
  __name: "Introduction",
627
627
  setup(e) {
628
- let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A, family: j } = X(), M = i(() => h.value ? _(h.value.id) : {}), N = i(() => h.value ? A(h.value.id) : []), P = i(() => m.md(M.value.extra?.intro_text, { glossary: N.value })), F = i(() => m.mdInline(M.value.extra?.intro_header ?? "")), I = i(() => k(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
628
+ let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A, family: j } = Be(), M = i(() => h.value ? _(h.value.id) : {}), N = i(() => h.value ? A(h.value.id) : []), P = i(() => m.md(M.value.extra?.intro_text, { glossary: N.value })), F = i(() => m.mdInline(M.value.extra?.intro_header ?? "")), I = i(() => k(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
629
629
  entry: e,
630
630
  image: t,
631
631
  lines: O(e)
632
- }))), L = i(() => w.map ?? null);
633
- function R(e) {
632
+ }))), R = i(() => w.map ?? null);
633
+ function z(e) {
634
634
  Z(D({
635
635
  name: "zoom",
636
636
  query: { img: e }
637
637
  }), Ve.introZoom);
638
638
  }
639
- let z = ee(N);
640
- function B() {
639
+ let B = L(N);
640
+ function V() {
641
641
  gt({
642
642
  documentTitle: w.documentTitle,
643
643
  title: x.value,
@@ -646,14 +646,14 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
646
646
  captions: I.value.map((e) => e.lines)
647
647
  });
648
648
  }
649
- let V = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
649
+ let H = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
650
650
  return S([x, d], () => {
651
651
  document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
652
652
  }, { immediate: !0 }), (e, i) => {
653
653
  let d = v("router-link");
654
654
  return p(), s("div", {
655
655
  class: "mwnf-minisite-intro",
656
- style: f({ backgroundImage: V.value ? `url(${V.value})` : "none" })
656
+ style: f({ backgroundImage: H.value ? `url(${H.value})` : "none" })
657
657
  }, [
658
658
  c("div", Tt, y(b(x)), 1),
659
659
  c("div", Et, [i[3] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
@@ -681,7 +681,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
681
681
  ]),
682
682
  c("div", Ot, [c("div", {
683
683
  class: "mwnf-minisite-intro__text",
684
- onClick: i[0] ||= (...e) => b(z).onClick && b(z).onClick(...e)
684
+ onClick: i[0] ||= (...e) => b(B).onClick && b(B).onClick(...e)
685
685
  }, [
686
686
  c("div", {
687
687
  class: "mwnf-minisite-intro__header",
@@ -691,13 +691,13 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
691
691
  class: "mwnf-minisite-intro__content",
692
692
  innerHTML: P.value
693
693
  }, null, 8, At),
694
- u(wt, { word: B })
695
- ]), c("div", jt, [L.value ? (p(), s("div", Mt, [
694
+ u(wt, { word: V })
695
+ ]), c("div", jt, [R.value ? (p(), s("div", Mt, [
696
696
  c("a", {
697
697
  href: b(D)({ name: "map" }),
698
698
  onClick: i[1] ||= T((e) => b(Z)(b(D)({ name: "map" }), b(Ve).map), ["prevent"])
699
699
  }, [c("img", {
700
- src: b(E)(L.value.thumbnail),
700
+ src: b(E)(R.value.thumbnail),
701
701
  alt: "",
702
702
  width: "178",
703
703
  height: "93"
@@ -718,7 +718,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
718
718
  name: "zoom",
719
719
  query: { img: e.image }
720
720
  }),
721
- onClick: T((t) => R(e.image), ["prevent"])
721
+ onClick: T((t) => z(e.image), ["prevent"])
722
722
  }, [c("img", {
723
723
  class: "mwnf-minisite-intro-item__image",
724
724
  src: e.image,
@@ -738,11 +738,657 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
738
738
  innerHTML: b(m).mdInline(t)
739
739
  }, null, 8, Ht))], 64))), 128))
740
740
  ]))), 128))])]),
741
- b(z).active.value ? (p(), a(t, {
741
+ b(B).active.value ? (p(), a(t, {
742
+ key: 0,
743
+ term: b(B).active.value,
744
+ html: b(m).md(b(B).active.value.definition),
745
+ onClose: b(B).close
746
+ }, null, 8, [
747
+ "term",
748
+ "html",
749
+ "onClose"
750
+ ])) : o("", !0)
751
+ ], 4);
752
+ };
753
+ }
754
+ }, Wt = { class: "mwnf-minisite-page__head" }, Gt = { class: "mwnf-minisite-page__title" }, Kt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--start" }, qt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--end" }, Jt = { class: "mwnf-minisite-page__body" }, Yt = ["innerHTML"], Xt = { class: "mwnf-minisite-page__thumbs" }, Zt = ["onClick"], Qt = ["src"], $t = ["innerHTML"], en = ["innerHTML"], tn = { class: "mwnf-minisite-page__item" }, nn = { class: "mwnf-minisite-page__image" }, rn = ["src"], an = {
755
+ key: 0,
756
+ class: "mwnf-minisite-page__caption"
757
+ }, on = ["innerHTML"], sn = ["innerHTML"], cn = { key: 0 }, ln = ["innerHTML"], un = ["innerHTML"], dn = ["innerHTML"], fn = ["innerHTML"], pn = { key: 1 }, mn = ["onClick"], hn = ["src"], gn = ["innerHTML"], _n = { key: 2 }, vn = ["href"], yn = {
758
+ __name: "Page",
759
+ props: {
760
+ theme: {
761
+ type: Number,
762
+ required: !0
763
+ },
764
+ page: {
765
+ type: Number,
766
+ required: !0
767
+ }
768
+ },
769
+ setup(e) {
770
+ let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } = Be(), R = i(() => M(r.theme, r.page)), z = i(() => R.value ? O(R.value.node.id) : {}), B = i(() => R.value ? I(R.value.node.id) : []), V = i(() => R.value ? N(R.value.node) : []), H = i(() => z.value.quote ?? ""), U = h({
771
+ slot: 0,
772
+ variant: 0
773
+ });
774
+ S(() => [r.theme, r.page], () => U.value = {
775
+ slot: 0,
776
+ variant: 0
777
+ });
778
+ let W = i(() => V.value[U.value.slot] ?? null), K = i(() => W.value?.variants[U.value.variant] ?? null), q = i(() => Oe(W.value, U.value.variant)), J = i(() => !W.value || !K.value ? null : {
779
+ ...F(W.value, U.value.variant),
780
+ sheetId: De(W.value, U.value.variant, (e) => E.itemById.value.get(e))
781
+ });
782
+ function ee(e) {
783
+ U.value = {
784
+ slot: e,
785
+ variant: 0
786
+ };
787
+ }
788
+ function te(e) {
789
+ U.value = {
790
+ ...U.value,
791
+ variant: e
792
+ };
793
+ }
794
+ function ne() {
795
+ q.value && Z(j({
796
+ name: "zoom",
797
+ query: { img: q.value }
798
+ }), Ve.zoom);
799
+ }
800
+ let Y = L(B);
801
+ function re() {
802
+ yt({
803
+ documentTitle: k.documentTitle,
804
+ title: D.value,
805
+ pageTitle: z.value.title ?? "",
806
+ quote: H.value,
807
+ text: z.value.description ?? "",
808
+ slots: V.value.map((e) => e.variants.map((t, n) => t.view ? F(e, n) : P(t.entry)))
809
+ });
810
+ }
811
+ S(() => [
812
+ z.value.title,
813
+ D.value,
814
+ x.value
815
+ ], () => {
816
+ document.title = [
817
+ m("identity.windowTitle"),
818
+ D.value,
819
+ z.value.title,
820
+ r.page
821
+ ].filter(Boolean).join(" | ");
822
+ }, { immediate: !0 });
823
+ let ie = i(() => A(x.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
824
+ return (e, r) => {
825
+ let i = v("router-link");
826
+ return R.value ? (p(), s("div", {
827
+ key: 0,
828
+ class: "mwnf-minisite-page",
829
+ style: f({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
830
+ }, [
831
+ c("div", Wt, [
832
+ c("div", Gt, y(b(D)), 1),
833
+ c("div", Kt, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
834
+ default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
835
+ _: 1
836
+ })]),
837
+ c("div", qt, [
838
+ r[4] ||= l(" < ", -1),
839
+ u(i, { to: R.value.previous }, {
840
+ default: C(() => [l(y(b(m)("nav.previous")), 1)]),
841
+ _: 1
842
+ }, 8, ["to"]),
843
+ R.value.next ? (p(), s(n, { key: 0 }, [
844
+ r[2] ||= l(" | ", -1),
845
+ u(i, { to: R.value.next }, {
846
+ default: C(() => [l(y(b(m)("nav.next")), 1)]),
847
+ _: 1
848
+ }, 8, ["to"]),
849
+ r[3] ||= l(" > ", -1)
850
+ ], 64)) : o("", !0)
851
+ ])
852
+ ]),
853
+ c("div", Jt, [c("div", {
854
+ class: "mwnf-minisite-page__text",
855
+ onClick: r[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
856
+ }, [
857
+ c("div", {
858
+ class: "mwnf-minisite-page__page-title",
859
+ innerHTML: b(E).mdInline(z.value.title)
860
+ }, null, 8, Yt),
861
+ c("div", Xt, [(p(!0), s(n, null, g(V.value, (e, t) => w((p(), s("a", {
862
+ key: e.n,
863
+ href: "#",
864
+ onClick: T((e) => ee(t), ["prevent"])
865
+ }, [e.variants[0].image ? (p(), s("img", {
866
+ key: 0,
867
+ src: e.variants[0].image,
868
+ alt: "",
869
+ height: "36"
870
+ }, null, 8, Qt)) : o("", !0)], 8, Zt)), [[b(G), {
871
+ text: b(E).mdStrip(b(F)(e, 0).name),
872
+ width: 160
873
+ }]])), 128))]),
874
+ c("div", {
875
+ class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Me)(H.value) }]),
876
+ innerHTML: b(E).mdInline(H.value, { glossary: B.value })
877
+ }, null, 10, $t),
878
+ c("div", {
879
+ class: "mwnf-minisite-page__content",
880
+ innerHTML: b(E).md(z.value.description, { glossary: B.value })
881
+ }, null, 8, en),
882
+ u(wt, { word: re })
883
+ ]), c("div", tn, [c("div", nn, [q.value ? w((p(), s("a", {
884
+ key: 0,
885
+ href: "#",
886
+ onClick: T(ne, ["prevent"])
887
+ }, [c("img", {
888
+ src: q.value,
889
+ alt: ""
890
+ }, null, 8, rn)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), J.value ? (p(), s("div", an, [
891
+ c("div", null, [
892
+ c("strong", { innerHTML: b(E).mdInline(J.value.name) }, null, 8, on),
893
+ r[5] ||= c("br", null, null, -1),
894
+ c("span", { innerHTML: b(E).mdInline(J.value.detailName) }, null, 8, sn),
895
+ r[6] ||= c("br", null, null, -1),
896
+ (p(!0), s(n, null, g(J.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", cn)) : o("", !0), c("span", { innerHTML: b(E).mdInline(e) }, null, 8, ln)], 64))), 128))
897
+ ]),
898
+ c("div", null, [(p(!0), s(n, null, g(J.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(E).mdInline(e) }, null, 8, un), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
899
+ b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(J.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(J.value.material) }, null, 8, fn)], 64)) : o("", !0),
900
+ W.value.variants.length > 1 ? (p(), s("div", pn, [(p(!0), s(n, null, g(W.value.variants, (e, t) => w((p(), s("a", {
901
+ key: t,
902
+ href: "#",
903
+ onClick: T((e) => te(t), ["prevent"])
904
+ }, [c("img", {
905
+ src: b(A)(t === U.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
906
+ alt: ""
907
+ }, null, 8, hn)], 8, mn)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
908
+ c("div", {
909
+ class: "mwnf-minisite-page__justification",
910
+ innerHTML: b(E).mdInline(J.value.justification)
911
+ }, null, 8, gn),
912
+ J.value.sheetId ? (p(), s("div", _n, [c("a", {
913
+ class: "mwnf-minisite-page__more",
914
+ href: b(k).itemHref?.(J.value.sheetId),
915
+ target: "_blank"
916
+ }, "> " + y(b(m)("item.moreInfo")), 9, vn)])) : o("", !0)
917
+ ])) : o("", !0)])]),
918
+ b(Y).active.value ? (p(), a(t, {
919
+ key: 0,
920
+ term: b(Y).active.value,
921
+ html: b(E).md(b(Y).active.value.definition),
922
+ onClose: b(Y).close
923
+ }, null, 8, [
924
+ "term",
925
+ "html",
926
+ "onClose"
927
+ ])) : o("", !0)
928
+ ], 4)) : o("", !0);
929
+ };
930
+ }
931
+ }, bn = { class: "mwnf-minisite-credits" }, xn = ["innerHTML"], Sn = {
932
+ __name: "Credits",
933
+ setup(e) {
934
+ let { data: t, root: n, text: r, title: a } = Be(), o = i(() => n.value ? t.md(r(n.value.id).extra?.credits) : "");
935
+ return (e, t) => (p(), s("div", bn, [c("h1", null, y(b(a)), 1), c("div", { innerHTML: o.value }, null, 8, xn)]));
936
+ }
937
+ }, Cn = { class: "mwnf-minisite-map" }, wn = { key: 0 }, Tn = ["src"], En = {
938
+ __name: "Map",
939
+ setup(e) {
940
+ let { lang: t, settings: r, picture: a } = Be(), l = i(() => {
941
+ let e = r.map;
942
+ return e ? [a(e.picture(t.value)), ...Array.from({ length: Math.max((e.count ?? 1) - 1, 0) }, (n, r) => a(e.picture(t.value, r + 2)))].filter(Boolean) : [];
943
+ });
944
+ return (e, t) => (p(), s("div", Cn, [(p(!0), s(n, null, g(l.value, (e, t) => (p(), s(n, { key: e }, [t > 0 ? (p(), s("br", wn)) : o("", !0), c("img", {
945
+ src: e,
946
+ alt: "",
947
+ width: "800",
948
+ height: "418"
949
+ }, null, 8, Tn)], 64))), 128))]));
950
+ }
951
+ }, Dn = { class: "mwnf-minisite-zoom" }, On = ["src"], kn = {
952
+ __name: "Zoom",
953
+ props: { image: {
954
+ type: String,
955
+ default: ""
956
+ } },
957
+ setup(e) {
958
+ let t = e, { pages: n, root: r, slots: a } = Be(), c = i(() => [r.value, ...n.value.map((e) => e.node)].filter(Boolean).flatMap((e) => a(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
959
+ return (e, t) => (p(), s("div", Dn, [c.value ? (p(), s("img", {
960
+ key: 0,
961
+ src: c.value,
962
+ alt: ""
963
+ }, null, 8, On)) : o("", !0)]));
964
+ }
965
+ }, An = {
966
+ partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
967
+ monuments: (/* @__PURE__ */ "01.02.03.04.05.06.07.08.09.10.11.14.18.19.20.21.24.25.26.27.28.29.30.31.32.33.34.35".split(".")).map((e) => `PA ${e}`)
968
+ };
969
+ function jn(e) {
970
+ let t = /* @__PURE__ */ new Map();
971
+ for (let n of e?.items ?? []) {
972
+ let e = n.display_order ?? 0;
973
+ t.has(e) || t.set(e, []), t.get(e).push(n);
974
+ }
975
+ let n = (t) => (e?.images ?? []).find((e) => e.display_order === t)?.url ?? null;
976
+ return [...t.entries()].sort(([e], [t]) => e - t).map(([e, t]) => ({
977
+ n: e,
978
+ variants: [...t].sort((e, t) => (e.variant_order ?? 0) - (t.variant_order ?? 0)).flatMap((t) => t.details?.length ? t.details.map((r) => ({
979
+ entry: t,
980
+ view: r,
981
+ image: r.image_url ?? n(e)
982
+ })) : [{
983
+ entry: t,
984
+ image: t.image_url ?? n(e)
985
+ }])
986
+ }));
987
+ }
988
+ function Mn(e, t, n) {
989
+ return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
990
+ }
991
+ function Nn(e, t, n, r) {
992
+ return [
993
+ M(t.location ?? ""),
994
+ M(t.province ?? ""),
995
+ Mn(e, n, r)
996
+ ].filter(Boolean).join(", ");
997
+ }
998
+ function Pn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
999
+ return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Nn(e, t, r, i);
1000
+ }
1001
+ function Fn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
1002
+ let a = e?.type === "object" ? n.museum || M(t.holder ?? "") : "", o = Pn({
1003
+ item: e,
1004
+ own: t,
1005
+ caption: n,
1006
+ countryName: r,
1007
+ noCountry: i
1008
+ }), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
1009
+ return {
1010
+ name: X(n.name ? M(n.name) : M(t.name ?? "")),
1011
+ detailName: X(n.detail_name),
1012
+ dateLines: [n.date || M(t.dates ?? ""), n.dynasty || M(t.dynasty ?? "")].filter(Boolean).map(X),
1013
+ details: [a, o].filter(Boolean).map(X),
1014
+ artist: X(n.artist || M(s ?? "")),
1015
+ material: X(n.material || M(c)),
1016
+ justification: X(n.justification)
1017
+ };
1018
+ }
1019
+ function In({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
1020
+ let i = (n, r = "") => e[n] || t[n] || r || "";
1021
+ return {
1022
+ name: M(i("name", n.name)),
1023
+ detailName: e.detail_name ?? "",
1024
+ dateLines: [
1025
+ i("dynasty"),
1026
+ i("date", n.dates),
1027
+ i("museum"),
1028
+ i("location", n.location)
1029
+ ].filter(Boolean),
1030
+ details: r ? [Pn(r)].filter(Boolean).map(X) : [],
1031
+ artist: i("artist", n.artist),
1032
+ material: i("material"),
1033
+ justification: e.justification || t.justification || ""
1034
+ };
1035
+ }
1036
+ function Ln(e, t) {
1037
+ return {
1038
+ name: e.name || t.name,
1039
+ detailName: e.detailName,
1040
+ dateLines: e.dateLines.length ? e.dateLines : t.dateLines,
1041
+ details: e.details.length ? e.details : t.details,
1042
+ artist: e.artist || t.artist || "",
1043
+ material: e.material || t.material || "",
1044
+ justification: e.justification || t.justification
1045
+ };
1046
+ }
1047
+ function Rn({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
1048
+ let a = (e, t) => e ? X(M(e)) : t;
1049
+ return [
1050
+ a(n.name, M(t.name ?? "")),
1051
+ a(n.date, M(t.dates ?? "")),
1052
+ a(n.dynasty, X(M(t.dynasty ?? ""))),
1053
+ e?.type === "object" ? a(n.museum, M(t.holder ?? "")) : "",
1054
+ a(n.location, Nn(e, t, r, i))
1055
+ ];
1056
+ }
1057
+ function zn(e, { partnerName: t, partnerCountry: n, countryName: r }) {
1058
+ let i = (e) => e ? r(e) : "";
1059
+ return e.partner ? e.place ? [
1060
+ t(e.partner),
1061
+ e.place,
1062
+ i(e.country)
1063
+ ].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
1064
+ }
1065
+ //#endregion
1066
+ //#region src/minisite/baroqueart/exhibition.js
1067
+ var Bn = Ne.BAR, Vn = [
1068
+ "collections",
1069
+ "items",
1070
+ "countries",
1071
+ "partners",
1072
+ "glossary"
1073
+ ], Hn = {
1074
+ zoom: ["mwnfing", ""],
1075
+ introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
1076
+ };
1077
+ function Un() {
1078
+ let { pkg: t, data: n, tree: r } = Re(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? Bn, u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
1079
+ S(f, (e) => Promise.all(Vn.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
1080
+ let p = r.root, m = i(() => p.value ? r.children(p.value.id) : []), h = i(() => _e(m.value, r.children));
1081
+ function g(e) {
1082
+ let n = t.translations("collections", f.value)[e] ?? {};
1083
+ return he.test(n.title ?? "") ? {
1084
+ ...n,
1085
+ title: ""
1086
+ } : n;
1087
+ }
1088
+ let _ = (e) => e?.country_id ? M(n.tr("countries", e.country_id, f.value).name ?? "") : "";
1089
+ function v(e) {
1090
+ return {
1091
+ item: n.itemById.value.get(e.id),
1092
+ own: n.tr("items", e.id, f.value),
1093
+ caption: e.caption?.[f.value] ?? {},
1094
+ countryName: _,
1095
+ noCountry: c.noCountry
1096
+ };
1097
+ }
1098
+ function y(e, t) {
1099
+ let r = (t) => {
1100
+ if (!t.view) return Fn(v(t.entry));
1101
+ let r = e.variants[0];
1102
+ return In({
1103
+ caption: t.view.caption?.[f.value] ?? {},
1104
+ first: r.view ? r.view.caption?.[f.value] ?? {} : {},
1105
+ record: t.view.id ? n.tr("items", t.view.id, f.value) : {},
1106
+ placement: v(t.entry)
1107
+ });
1108
+ }, i = e?.variants[t];
1109
+ return i ? Ln(r(i), r(e.variants[0])) : null;
1110
+ }
1111
+ function b(e) {
1112
+ let r = g(e).glossary_ids ?? [];
1113
+ return r.length === 0 ? [] : D(O({ glossary_ids: r }, f.value, {
1114
+ translations: t.translations,
1115
+ byId: n.index("glossary").value
1116
+ }));
1117
+ }
1118
+ function x(t) {
1119
+ return t ? e(s.chrome, String(t).replace("{lang}", f.value)) : null;
1120
+ }
1121
+ function C(e) {
1122
+ return new URL(d.resolve({
1123
+ ...e,
1124
+ query: {
1125
+ ...e.query,
1126
+ lang: f.value
1127
+ }
1128
+ }).href, window.location.href).href;
1129
+ }
1130
+ return {
1131
+ t: o,
1132
+ label: u,
1133
+ lang: f,
1134
+ data: n,
1135
+ root: p,
1136
+ themes: m,
1137
+ pages: h,
1138
+ text: g,
1139
+ settings: c,
1140
+ picture: x,
1141
+ href: C,
1142
+ glossaryFor: b,
1143
+ pageAt: (e, t) => ve(h.value, e, t),
1144
+ slots: jn,
1145
+ placementCaption: (e) => Fn(v(e)),
1146
+ viewCaption: y,
1147
+ introCaption: (e) => Rn(v(e)),
1148
+ title: i(() => p.value ? g(p.value.id).title ?? "" : "")
1149
+ };
1150
+ }
1151
+ //#endregion
1152
+ //#region src/minisite/baroqueart/Home.vue
1153
+ var Wn = { class: "mwnf-baroqueart-home" }, Gn = { class: "mwnf-baroqueart-home__title" }, Kn = ["innerHTML"], qn = { class: "mwnf-baroqueart-home__menu" }, Jn = {
1154
+ key: 0,
1155
+ class: "mwnf-baroqueart-home__menu2"
1156
+ }, Yn = { class: "mwnf-baroqueart-partners" }, Xn = { class: "mwnf-baroqueart-partners__curators" }, Zn = { class: "mwnf-baroqueart-partners__line" }, Qn = ["innerHTML"], $n = { class: "mwnf-baroqueart-partners__cooperation" }, er = ["href"], tr = { class: "mwnf-baroqueart-partners__tab" }, nr = ["href"], rr = ["src"], ir = {
1157
+ key: 0,
1158
+ class: "mwnf-baroqueart-partners__design"
1159
+ }, ar = { class: "mwnf-baroqueart-partners__design-tab" }, or = { class: "mwnf-baroqueart-partners__design-tab" }, sr = ["href"], cr = ["src"], lr = {
1160
+ __name: "Home",
1161
+ setup(e) {
1162
+ let { label: t, lang: d, data: m, root: h, themes: _, text: x, title: T, settings: E, picture: D, glossaryFor: O } = Un(), k = i(() => h.value ? m.mdInline(x(h.value.id).description, { glossary: O(h.value.id) }) : ""), A = i(() => (E.menuSecondColumnFrom ?? Infinity) - 1), j = i(() => _.value.slice(0, A.value).map((e, t) => ({
1163
+ theme: e,
1164
+ number: t + 1
1165
+ }))), M = i(() => _.value.slice(A.value).map((e, t) => ({
1166
+ theme: e,
1167
+ number: A.value + t + 1
1168
+ }))), N = i(() => E.curators ?? []), P = (e) => zn(e, {
1169
+ partnerName: (e) => m.tr("partners", e, d.value).name,
1170
+ partnerCountry: (e) => m.partnerById.value.get(e)?.country_id,
1171
+ countryName: (e) => m.tr("countries", e, d.value).name
1172
+ }), F = (e) => je(e, E.partnerHref), I = i(() => h.value ? x(h.value.id).extra?.credits ?? "" : ""), L = i(() => E.design ?? null), R = i(() => D(E.banner)), z = i(() => D(d.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
1173
+ return S([T, d], () => {
1174
+ document.title = [t("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
1175
+ }, { immediate: !0 }), (e, i) => {
1176
+ let d = v("router-link");
1177
+ return p(), s(n, null, [
1178
+ c("div", Wn, [
1179
+ i[3] ||= c("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
1180
+ c("div", {
1181
+ class: "mwnf-baroqueart-home__bg2",
1182
+ style: f({ backgroundImage: z.value ? `url(${z.value})` : "none" })
1183
+ }, null, 4),
1184
+ c("div", Gn, y(b(T)), 1),
1185
+ c("div", {
1186
+ class: "mwnf-baroqueart-home__description",
1187
+ innerHTML: k.value
1188
+ }, null, 8, Kn),
1189
+ c("div", qn, [c("div", null, [i[0] ||= l("> ", -1), u(d, { to: { name: "introduction" } }, {
1190
+ default: C(() => [l(y(b(t)("home.introduction")), 1)]),
1191
+ _: 1
1192
+ })]), (p(!0), s(n, null, g(j.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [i[1] ||= l(" > ", -1), u(d, { to: {
1193
+ name: "exhibition",
1194
+ params: { theme: t }
1195
+ } }, {
1196
+ default: C(() => [l(y(b(x)(e.id).title), 1)]),
1197
+ _: 2
1198
+ }, 1032, ["to"])]))), 128))]),
1199
+ M.value.length ? (p(), s("div", Jn, [(p(!0), s(n, null, g(M.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [i[2] ||= l(" > ", -1), u(d, { to: {
1200
+ name: "exhibition",
1201
+ params: { theme: t }
1202
+ } }, {
1203
+ default: C(() => [l(y(b(x)(e.id).title), 1)]),
1204
+ _: 2
1205
+ }, 1032, ["to"])]))), 128))])) : o("", !0)
1206
+ ]),
1207
+ c("div", Yn, [c("div", Xn, [
1208
+ c("div", Zn, y(b(t)("home.curatedBy")), 1),
1209
+ c("div", {
1210
+ class: "mwnf-baroqueart-partners__tab",
1211
+ innerHTML: b(m).mdInline(I.value)
1212
+ }, null, 8, Qn),
1213
+ c("div", $n, [l(y(b(t)("home.cooperation")) + " ", 1), c("a", { href: b(E).partnerListHref }, y(b(t)("home.partnerInstitutions")), 9, er)]),
1214
+ c("div", tr, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s(n, { key: e.logo }, [
1215
+ l(y(P(e)), 1),
1216
+ i[4] ||= c("br", null, null, -1),
1217
+ w((p(), s("a", {
1218
+ class: "mwnf-baroqueart-partners__curator",
1219
+ href: F(e)
1220
+ }, [c("img", {
1221
+ src: b(D)(e.logo),
1222
+ alt: ""
1223
+ }, null, 8, rr)], 8, nr)), [[b(G), {
1224
+ text: P(e),
1225
+ width: 220
1226
+ }]]),
1227
+ t < N.value.length - 1 ? (p(), s("span", {
1228
+ key: 0,
1229
+ class: "mwnf-baroqueart-partners__gap",
1230
+ style: f({ width: `${e.space ?? 0}px` })
1231
+ }, null, 4)) : o("", !0)
1232
+ ], 64))), 128))])
1233
+ ]), L.value ? (p(), s("div", ir, [
1234
+ l(y(b(t)("home.design")) + " ", 1),
1235
+ c("div", ar, y(L.value.name), 1),
1236
+ c("div", or, [c("a", {
1237
+ href: L.value.href,
1238
+ target: "_blank",
1239
+ rel: "noopener"
1240
+ }, [c("img", {
1241
+ src: b(D)(L.value.logo),
1242
+ alt: ""
1243
+ }, null, 8, cr)], 8, sr)])
1244
+ ])) : o("", !0)]),
1245
+ R.value ? (p(), a(r, {
1246
+ key: 0,
1247
+ defer: "",
1248
+ to: ".mwnf-baroqueart-footer"
1249
+ }, [c("div", {
1250
+ class: "mwnf-baroqueart-home__banner",
1251
+ style: f({ backgroundImage: `url(${R.value})` }),
1252
+ "aria-hidden": "true"
1253
+ }, null, 4)])) : o("", !0)
1254
+ ], 64);
1255
+ };
1256
+ }
1257
+ }, ur = { class: "mwnf-baroqueart-download" }, dr = ["src"], fr = ["src"], pr = ["src"], mr = {
1258
+ __name: "Download",
1259
+ props: { word: {
1260
+ type: Function,
1261
+ required: !0
1262
+ } },
1263
+ setup(t) {
1264
+ let { t: n } = R(), r = z(), i = (t) => e(r.chrome, t), a = (e) => n(`${r.minisite?.texts ?? Bn}.${e}`);
1265
+ function o() {
1266
+ window.print();
1267
+ }
1268
+ return (e, n) => (p(), s("div", ur, [
1269
+ n[1] ||= c("br", null, null, -1),
1270
+ c("img", {
1271
+ src: i("legacy/print_dark.gif"),
1272
+ alt: "",
1273
+ width: "17",
1274
+ height: "12"
1275
+ }, null, 8, dr),
1276
+ l(" / " + y(a("download.heading")), 1),
1277
+ n[2] ||= c("br", null, null, -1),
1278
+ c("img", {
1279
+ src: i("legacy/arrow_inner_black.gif"),
1280
+ alt: ""
1281
+ }, null, 8, fr),
1282
+ c("a", {
1283
+ href: "#",
1284
+ onClick: T(o, ["prevent"])
1285
+ }, y(a("download.asPdf")), 1),
1286
+ n[3] ||= c("br", null, null, -1),
1287
+ c("img", {
1288
+ src: i("legacy/arrow_inner_black.gif"),
1289
+ alt: ""
1290
+ }, null, 8, pr),
1291
+ c("a", {
1292
+ href: "#",
1293
+ onClick: n[0] ||= T((e) => t.word(), ["prevent"])
1294
+ }, y(a("download.asWord")), 1)
1295
+ ]));
1296
+ }
1297
+ }, hr = { class: "mwnf-baroqueart-intro__title" }, gr = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, _r = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, vr = { class: "mwnf-baroqueart-intro__table" }, yr = ["innerHTML"], br = ["innerHTML"], xr = { class: "mwnf-baroqueart-intro__side" }, Sr = ["href", "onClick"], Cr = ["src"], wr = { key: 0 }, Tr = ["innerHTML"], Er = ["innerHTML"], Dr = {
1298
+ __name: "Introduction",
1299
+ setup(e) {
1300
+ let { label: r, lang: d, data: m, root: h, text: _, title: x, settings: w, picture: E, href: D, introCaption: O, slots: k, glossaryFor: A } = Un(), j = i(() => h.value ? _(h.value.id) : {}), M = i(() => h.value ? A(h.value.id) : []), N = i(() => m.md(j.value.extra?.intro_text, { glossary: M.value })), P = i(() => m.mdInline(j.value.extra?.intro_header ?? "")), F = i(() => k(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
1301
+ entry: e,
1302
+ image: t,
1303
+ lines: O(e)
1304
+ })));
1305
+ function I(e) {
1306
+ Z(D({
1307
+ name: "zoom",
1308
+ query: { img: e }
1309
+ }), Hn.introZoom);
1310
+ }
1311
+ let R = L(M);
1312
+ function z() {
1313
+ gt({
1314
+ documentTitle: w.documentTitle,
1315
+ title: x.value,
1316
+ header: j.value.extra?.intro_header ?? "",
1317
+ text: j.value.extra?.intro_text ?? "",
1318
+ captions: F.value.map((e) => e.lines)
1319
+ });
1320
+ }
1321
+ let B = i(() => E(d.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
1322
+ return S([x, d], () => {
1323
+ document.title = [r("identity.windowTitle"), x.value].filter(Boolean).join(" | ");
1324
+ }, { immediate: !0 }), (e, i) => {
1325
+ let d = v("router-link");
1326
+ return p(), s("div", {
1327
+ class: "mwnf-baroqueart-intro",
1328
+ style: f({ backgroundImage: B.value ? `url(${B.value})` : "none" })
1329
+ }, [
1330
+ c("div", hr, y(b(x)), 1),
1331
+ c("div", gr, [i[1] ||= l(" < ", -1), u(d, { to: { name: "home" } }, {
1332
+ default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
1333
+ _: 1
1334
+ })]),
1335
+ c("div", _r, [
1336
+ i[2] ||= l(" < ", -1),
1337
+ u(d, { to: { name: "home" } }, {
1338
+ default: C(() => [l(y(b(r)("nav.previous")), 1)]),
1339
+ _: 1
1340
+ }),
1341
+ i[3] ||= l(" | ", -1),
1342
+ u(d, { to: {
1343
+ name: "exhibition",
1344
+ params: {
1345
+ theme: 1,
1346
+ page: 1
1347
+ }
1348
+ } }, {
1349
+ default: C(() => [l(y(b(r)("nav.next")), 1)]),
1350
+ _: 1
1351
+ }),
1352
+ i[4] ||= l(" > ", -1)
1353
+ ]),
1354
+ c("div", vr, [c("div", {
1355
+ class: "mwnf-baroqueart-intro__text",
1356
+ onClick: i[0] ||= (...e) => b(R).onClick && b(R).onClick(...e)
1357
+ }, [
1358
+ c("div", {
1359
+ class: "mwnf-baroqueart-intro__header",
1360
+ innerHTML: P.value
1361
+ }, null, 8, yr),
1362
+ c("div", {
1363
+ class: "mwnf-baroqueart-intro__content",
1364
+ innerHTML: N.value
1365
+ }, null, 8, br),
1366
+ u(mr, { word: z })
1367
+ ]), c("div", xr, [(p(!0), s(n, null, g(F.value, (e) => (p(), s("div", {
1368
+ key: `${e.entry.id}-${e.entry.variant_order}`,
1369
+ class: "mwnf-baroqueart-intro-item"
1370
+ }, [e.image ? (p(), s(n, { key: 0 }, [c("a", {
1371
+ href: b(D)({
1372
+ name: "zoom",
1373
+ query: { img: e.image }
1374
+ }),
1375
+ onClick: T((t) => I(e.image), ["prevent"])
1376
+ }, [c("img", {
1377
+ class: "mwnf-baroqueart-intro-item__image",
1378
+ src: e.image,
1379
+ alt: ""
1380
+ }, null, 8, Cr)], 8, Sr), i[5] ||= c("br", null, null, -1)], 64)) : o("", !0), (p(!0), s(n, null, g(e.lines.filter(Boolean), (t, r) => (p(), s(n, { key: r }, [r > 0 ? (p(), s("br", wr)) : o("", !0), r === 0 && e.lines[0] ? (p(), s("strong", {
1381
+ key: 1,
1382
+ innerHTML: b(m).mdInline(t)
1383
+ }, null, 8, Tr)) : (p(), s("span", {
1384
+ key: 2,
1385
+ innerHTML: b(m).mdInline(t)
1386
+ }, null, 8, Er))], 64))), 128))]))), 128))])]),
1387
+ b(R).active.value ? (p(), a(t, {
742
1388
  key: 0,
743
- term: b(z).active.value,
744
- html: b(m).md(b(z).active.value.definition),
745
- onClose: b(z).close
1389
+ term: b(R).active.value,
1390
+ html: b(m).md(b(R).active.value.definition),
1391
+ onClose: b(R).close
746
1392
  }, null, 8, [
747
1393
  "term",
748
1394
  "html",
@@ -751,10 +1397,10 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
751
1397
  ], 4);
752
1398
  };
753
1399
  }
754
- }, Wt = { class: "mwnf-minisite-page__head" }, Gt = { class: "mwnf-minisite-page__title" }, Kt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--start" }, qt = { class: "mwnf-minisite-page__nav mwnf-minisite-page__nav--end" }, Jt = { class: "mwnf-minisite-page__body" }, Yt = ["innerHTML"], Xt = { class: "mwnf-minisite-page__thumbs" }, Zt = ["onClick"], Qt = ["src"], $t = ["innerHTML"], en = ["innerHTML"], tn = { class: "mwnf-minisite-page__item" }, nn = { class: "mwnf-minisite-page__image" }, rn = ["src"], an = {
1400
+ }, Or = { class: "mwnf-baroqueart-page__head" }, kr = { class: "mwnf-baroqueart-page__title" }, Ar = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--start" }, jr = { class: "mwnf-baroqueart-page__nav mwnf-baroqueart-page__nav--end" }, Mr = { class: "mwnf-baroqueart-page__body" }, Nr = ["innerHTML"], Pr = { class: "mwnf-baroqueart-page__thumbs" }, Fr = ["onClick"], Ir = ["src"], Lr = ["innerHTML"], Rr = ["innerHTML"], zr = { class: "mwnf-baroqueart-page__item" }, Br = { class: "mwnf-baroqueart-page__image" }, Vr = ["src"], Hr = {
755
1401
  key: 0,
756
- class: "mwnf-minisite-page__caption"
757
- }, on = ["innerHTML"], sn = ["innerHTML"], cn = { key: 0 }, ln = ["innerHTML"], un = ["innerHTML"], dn = ["innerHTML"], fn = ["innerHTML"], pn = { key: 1 }, mn = ["onClick"], hn = ["src"], gn = ["innerHTML"], _n = { key: 2 }, vn = ["href"], yn = {
1402
+ class: "mwnf-baroqueart-page__caption"
1403
+ }, Ur = ["innerHTML"], Wr = ["innerHTML"], Gr = { key: 0 }, Kr = ["innerHTML"], qr = ["innerHTML"], Jr = ["innerHTML"], Yr = ["innerHTML"], Xr = { key: 0 }, Zr = ["onClick"], Qr = ["src"], $r = ["innerHTML"], ei = { key: 1 }, ti = ["href"], ni = {
758
1404
  __name: "Page",
759
1405
  props: {
760
1406
  theme: {
@@ -767,7 +1413,7 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
767
1413
  }
768
1414
  },
769
1415
  setup(e) {
770
- let r = e, { label: m, family: _, lang: x, data: E, title: D, text: O, settings: k, picture: A, href: j, pageAt: M, slots: N, placementCaption: P, viewCaption: F, glossaryFor: I } = X(), L = i(() => M(r.theme, r.page)), R = i(() => L.value ? O(L.value.node.id) : {}), z = i(() => L.value ? I(L.value.node.id) : []), B = i(() => L.value ? N(L.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
1416
+ let r = e, { label: m, lang: _, data: x, title: E, text: D, settings: O, picture: k, href: A, pageAt: j, slots: M, placementCaption: N, viewCaption: P, glossaryFor: F } = Un(), I = i(() => j(r.theme, r.page)), R = i(() => I.value ? D(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? M(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = h({
771
1417
  slot: 0,
772
1418
  variant: 0
773
1419
  });
@@ -775,74 +1421,74 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
775
1421
  slot: 0,
776
1422
  variant: 0
777
1423
  });
778
- let U = i(() => B.value[H.value.slot] ?? null), G = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => ke(U.value, H.value.variant)), q = i(() => !U.value || !G.value ? null : {
779
- ...F(U.value, H.value.variant),
780
- sheetId: Oe(U.value, H.value.variant, (e) => E.itemById.value.get(e))
1424
+ let U = i(() => B.value[H.value.slot] ?? null), W = i(() => U.value?.variants[H.value.variant] ?? null), K = i(() => Oe(U.value, H.value.variant)), q = i(() => !U.value || !W.value ? null : {
1425
+ ...P(U.value, H.value.variant),
1426
+ sheetId: De(U.value, H.value.variant, (e) => x.itemById.value.get(e))
781
1427
  });
782
- function te(e) {
1428
+ function J(e) {
783
1429
  H.value = {
784
1430
  slot: e,
785
1431
  variant: 0
786
1432
  };
787
1433
  }
788
- function ne(e) {
1434
+ function ee(e) {
789
1435
  H.value = {
790
1436
  ...H.value,
791
1437
  variant: e
792
1438
  };
793
1439
  }
794
- function re() {
795
- K.value && Z(j({
1440
+ function te() {
1441
+ K.value && Z(A({
796
1442
  name: "zoom",
797
1443
  query: { img: K.value }
798
- }), Ve.zoom);
1444
+ }), Hn.zoom);
799
1445
  }
800
- let J = ee(z);
801
- function ie() {
1446
+ let ne = L(z);
1447
+ function Y() {
802
1448
  yt({
803
- documentTitle: k.documentTitle,
804
- title: D.value,
1449
+ documentTitle: O.documentTitle,
1450
+ title: E.value,
805
1451
  pageTitle: R.value.title ?? "",
806
1452
  quote: V.value,
807
1453
  text: R.value.description ?? "",
808
- slots: B.value.map((e) => e.variants.map((t, n) => t.view ? F(e, n) : P(t.entry)))
1454
+ slots: B.value.map((e) => e.variants.map((t, n) => t.view ? P(e, n) : N(t.entry)))
809
1455
  });
810
1456
  }
811
1457
  S(() => [
812
1458
  R.value.title,
813
- D.value,
814
- x.value
1459
+ E.value,
1460
+ _.value
815
1461
  ], () => {
816
1462
  document.title = [
817
1463
  m("identity.windowTitle"),
818
- D.value,
1464
+ E.value,
819
1465
  R.value.title,
820
1466
  r.page
821
1467
  ].filter(Boolean).join(" | ");
822
1468
  }, { immediate: !0 });
823
- let ae = i(() => A(x.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
1469
+ let re = i(() => k(_.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
824
1470
  return (e, r) => {
825
1471
  let i = v("router-link");
826
- return L.value ? (p(), s("div", {
1472
+ return I.value ? (p(), s("div", {
827
1473
  key: 0,
828
- class: "mwnf-minisite-page",
829
- style: f({ backgroundImage: ae.value ? `url(${ae.value})` : "none" })
1474
+ class: "mwnf-baroqueart-page",
1475
+ style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
830
1476
  }, [
831
- c("div", Wt, [
832
- c("div", Gt, y(b(D)), 1),
833
- c("div", Kt, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
1477
+ c("div", Or, [
1478
+ c("div", kr, y(b(E)), 1),
1479
+ c("div", Ar, [r[1] ||= l(" < ", -1), u(i, { to: { name: "home" } }, {
834
1480
  default: C(() => [l(y(b(m)("nav.entrance")), 1)]),
835
1481
  _: 1
836
1482
  })]),
837
- c("div", qt, [
1483
+ c("div", jr, [
838
1484
  r[4] ||= l(" < ", -1),
839
- u(i, { to: L.value.previous }, {
1485
+ u(i, { to: I.value.previous }, {
840
1486
  default: C(() => [l(y(b(m)("nav.previous")), 1)]),
841
1487
  _: 1
842
1488
  }, 8, ["to"]),
843
- L.value.next ? (p(), s(n, { key: 0 }, [
1489
+ I.value.next ? (p(), s(n, { key: 0 }, [
844
1490
  r[2] ||= l(" | ", -1),
845
- u(i, { to: L.value.next }, {
1491
+ u(i, { to: I.value.next }, {
846
1492
  default: C(() => [l(y(b(m)("nav.next")), 1)]),
847
1493
  _: 1
848
1494
  }, 8, ["to"]),
@@ -850,76 +1496,77 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
850
1496
  ], 64)) : o("", !0)
851
1497
  ])
852
1498
  ]),
853
- c("div", Jt, [c("div", {
854
- class: "mwnf-minisite-page__text",
855
- onClick: r[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
1499
+ c("div", Mr, [c("div", {
1500
+ class: "mwnf-baroqueart-page__text",
1501
+ onClick: r[0] ||= (...e) => b(ne).onClick && b(ne).onClick(...e)
856
1502
  }, [
857
1503
  c("div", {
858
- class: "mwnf-minisite-page__page-title",
859
- innerHTML: b(E).mdInline(R.value.title)
860
- }, null, 8, Yt),
861
- c("div", Xt, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
1504
+ class: "mwnf-baroqueart-page__page-title",
1505
+ innerHTML: b(x).mdInline(R.value.title)
1506
+ }, null, 8, Nr),
1507
+ c("div", Pr, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
862
1508
  key: e.n,
863
1509
  href: "#",
864
- onClick: T((e) => te(t), ["prevent"])
1510
+ onClick: T((e) => J(t), ["prevent"])
865
1511
  }, [e.variants[0].image ? (p(), s("img", {
866
1512
  key: 0,
867
1513
  src: e.variants[0].image,
868
1514
  alt: "",
869
1515
  height: "36"
870
- }, null, 8, Qt)) : o("", !0)], 8, Zt)), [[b(W), {
871
- text: b(E).mdStrip(b(F)(e, 0).name),
1516
+ }, null, 8, Ir)) : o("", !0)], 8, Fr)), [[b(G), {
1517
+ text: b(x).mdStrip(b(P)(e, 0).name),
872
1518
  width: 160
873
1519
  }]])), 128))]),
874
1520
  c("div", {
875
- class: d(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": b(Ne)(V.value) }]),
876
- innerHTML: b(E).mdInline(V.value, { glossary: z.value })
877
- }, null, 10, $t),
1521
+ class: d(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": b(Me)(V.value) }]),
1522
+ innerHTML: b(x).mdInline(V.value, { glossary: z.value })
1523
+ }, null, 10, Lr),
878
1524
  c("div", {
879
- class: "mwnf-minisite-page__content",
880
- innerHTML: b(E).md(R.value.description, { glossary: z.value })
881
- }, null, 8, en),
882
- u(wt, { word: ie })
883
- ]), c("div", tn, [c("div", nn, [K.value ? w((p(), s("a", {
1525
+ class: "mwnf-baroqueart-page__content",
1526
+ innerHTML: b(x).md(R.value.description, { glossary: z.value })
1527
+ }, null, 8, Rr),
1528
+ u(mr, { word: Y })
1529
+ ]), c("div", zr, [c("div", Br, [K.value ? w((p(), s("a", {
884
1530
  key: 0,
885
1531
  href: "#",
886
- onClick: T(re, ["prevent"])
1532
+ onClick: T(te, ["prevent"])
887
1533
  }, [c("img", {
888
1534
  src: K.value,
889
1535
  alt: ""
890
- }, null, 8, rn)])), [[b(W), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", an, [
1536
+ }, null, 8, Vr)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]), q.value ? (p(), s("div", Hr, [
891
1537
  c("div", null, [
892
- c("strong", { innerHTML: b(E).mdInline(q.value.name) }, null, 8, on),
1538
+ c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, Ur),
893
1539
  r[5] ||= c("br", null, null, -1),
894
- c("span", { innerHTML: b(E).mdInline(q.value.detailName) }, null, 8, sn),
1540
+ c("span", { innerHTML: b(x).mdInline(q.value.detailName) }, null, 8, Wr),
895
1541
  r[6] ||= c("br", null, null, -1),
896
- (p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", cn)) : o("", !0), c("span", { innerHTML: b(E).mdInline(e) }, null, 8, ln)], 64))), 128))
1542
+ (p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", Gr)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, Kr)], 64))), 128))
897
1543
  ]),
898
- c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(E).mdInline(e) }, null, 8, un), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
899
- b(_) === "BAR" ? (p(), s(n, { key: 0 }, [c("div", { innerHTML: b(E).mdInline(q.value.artist) }, null, 8, dn), c("div", { innerHTML: b(E).mdInline(q.value.material) }, null, 8, fn)], 64)) : o("", !0),
900
- U.value.variants.length > 1 ? (p(), s("div", pn, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
1544
+ c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, qr), r[7] ||= c("br", null, null, -1)], 64))), 128))]),
1545
+ c("div", { innerHTML: b(x).mdInline(q.value.artist) }, null, 8, Jr),
1546
+ c("div", { innerHTML: b(x).mdInline(q.value.material) }, null, 8, Yr),
1547
+ U.value.variants.length > 1 ? (p(), s("div", Xr, [(p(!0), s(n, null, g(U.value.variants, (e, t) => w((p(), s("a", {
901
1548
  key: t,
902
1549
  href: "#",
903
- onClick: T((e) => ne(t), ["prevent"])
1550
+ onClick: T((e) => ee(t), ["prevent"])
904
1551
  }, [c("img", {
905
- src: b(A)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
1552
+ src: b(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
906
1553
  alt: ""
907
- }, null, 8, hn)], 8, mn)), [[b(W), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
1554
+ }, null, 8, Qr)], 8, Zr)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
908
1555
  c("div", {
909
- class: "mwnf-minisite-page__justification",
910
- innerHTML: b(E).mdInline(q.value.justification)
911
- }, null, 8, gn),
912
- q.value.sheetId ? (p(), s("div", _n, [c("a", {
913
- class: "mwnf-minisite-page__more",
914
- href: b(k).itemHref?.(q.value.sheetId),
1556
+ class: "mwnf-baroqueart-page__justification",
1557
+ innerHTML: b(x).mdInline(q.value.justification)
1558
+ }, null, 8, $r),
1559
+ q.value.sheetId ? (p(), s("div", ei, [c("a", {
1560
+ class: "mwnf-baroqueart-page__more",
1561
+ href: b(O).itemHref?.(q.value.sheetId),
915
1562
  target: "_blank"
916
- }, "> " + y(b(m)("item.moreInfo")), 9, vn)])) : o("", !0)
1563
+ }, "> " + y(b(m)("item.moreInfo")), 9, ti)])) : o("", !0)
917
1564
  ])) : o("", !0)])]),
918
- b(J).active.value ? (p(), a(t, {
1565
+ b(ne).active.value ? (p(), a(t, {
919
1566
  key: 0,
920
- term: b(J).active.value,
921
- html: b(E).md(b(J).active.value.definition),
922
- onClose: b(J).close
1567
+ term: b(ne).active.value,
1568
+ html: b(x).md(b(ne).active.value.definition),
1569
+ onClose: b(ne).close
923
1570
  }, null, 8, [
924
1571
  "term",
925
1572
  "html",
@@ -928,44 +1575,131 @@ var bt = { class: "mwnf-minisite-download" }, xt = ["src"], St = ["src"], Ct = [
928
1575
  ], 4)) : o("", !0);
929
1576
  };
930
1577
  }
931
- }, bn = { class: "mwnf-minisite-credits" }, xn = ["innerHTML"], Sn = {
932
- __name: "Credits",
933
- setup(e) {
934
- let { data: t, root: n, text: r, title: a } = X(), o = i(() => n.value ? t.md(r(n.value.id).extra?.credits) : "");
935
- return (e, t) => (p(), s("div", bn, [c("h1", null, y(b(a)), 1), c("div", { innerHTML: o.value }, null, 8, xn)]));
936
- }
937
- }, Cn = { class: "mwnf-minisite-map" }, wn = { key: 0 }, Tn = ["src"], En = {
938
- __name: "Map",
939
- setup(e) {
940
- let { lang: t, settings: r, picture: a } = X(), l = i(() => {
941
- let e = r.map;
942
- return e ? [a(e.picture(t.value)), ...Array.from({ length: Math.max((e.count ?? 1) - 1, 0) }, (n, r) => a(e.picture(t.value, r + 2)))].filter(Boolean) : [];
943
- });
944
- return (e, t) => (p(), s("div", Cn, [(p(!0), s(n, null, g(l.value, (e, t) => (p(), s(n, { key: e }, [t > 0 ? (p(), s("br", wn)) : o("", !0), c("img", {
945
- src: e,
946
- alt: "",
947
- width: "800",
948
- height: "418"
949
- }, null, 8, Tn)], 64))), 128))]));
950
- }
951
- }, Dn = { class: "mwnf-minisite-zoom" }, On = ["src"], kn = {
1578
+ }, ri = { class: "mwnf-baroqueart-zoom" }, ii = ["src"], ai = {
952
1579
  __name: "Zoom",
953
1580
  props: { image: {
954
1581
  type: String,
955
1582
  default: ""
956
1583
  } },
957
1584
  setup(e) {
958
- let t = e, { pages: n, root: r, slots: a } = X(), c = i(() => [r.value, ...n.value.map((e) => e.node)].filter(Boolean).flatMap((e) => a(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
959
- return (e, t) => (p(), s("div", Dn, [c.value ? (p(), s("img", {
1585
+ let t = e, { pages: n, root: r, slots: a } = Un(), c = i(() => [r.value, ...n.value.map((e) => e.node)].filter(Boolean).flatMap((e) => a(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
1586
+ return (e, t) => (p(), s("div", ri, [c.value ? (p(), s("img", {
960
1587
  key: 0,
961
1588
  src: c.value,
962
1589
  alt: ""
963
- }, null, 8, On)) : o("", !0)]));
1590
+ }, null, 8, ii)) : o("", !0)]));
964
1591
  }
965
1592
  };
966
1593
  //#endregion
1594
+ //#region src/minisite/baroqueart/routes.js
1595
+ function oi(e) {
1596
+ return [
1597
+ {
1598
+ path: "/",
1599
+ name: "home",
1600
+ component: lr,
1601
+ meta: e("home", "collections", "partners", "countries")
1602
+ },
1603
+ {
1604
+ path: "/introduction",
1605
+ name: "introduction",
1606
+ component: Dr,
1607
+ meta: e("introduction", ...ze)
1608
+ },
1609
+ {
1610
+ path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
1611
+ name: "exhibition",
1612
+ component: ni,
1613
+ props: (e) => ({
1614
+ theme: Number(e.params.theme),
1615
+ page: Number(e.params.page || 1)
1616
+ }),
1617
+ meta: e("exhibition", ...ze)
1618
+ },
1619
+ {
1620
+ path: "/zoom",
1621
+ name: "zoom",
1622
+ component: ai,
1623
+ props: (e) => ({ image: String(e.query.img ?? "") }),
1624
+ meta: {
1625
+ ...e("zoom", "collections"),
1626
+ bare: "zoom"
1627
+ }
1628
+ }
1629
+ ];
1630
+ }
1631
+ function si(e, t = Bn) {
1632
+ return [
1633
+ {
1634
+ label: `${t}.menu.permanentCollection`,
1635
+ href: `${e}/#/permanent-collection`
1636
+ },
1637
+ {
1638
+ label: `${t}.menu.database`,
1639
+ href: `${e}/#/database`
1640
+ },
1641
+ {
1642
+ label: `${t}.menu.exhibitions`,
1643
+ href: "#/"
1644
+ },
1645
+ {
1646
+ label: `${t}.menu.timeline`,
1647
+ href: `${e}/#/timeline`
1648
+ },
1649
+ {
1650
+ label: `${t}.menu.partners`,
1651
+ href: `${e}/#/partners`
1652
+ },
1653
+ {
1654
+ label: `${t}.menu.myCollection`,
1655
+ href: j.myCollection
1656
+ }
1657
+ ];
1658
+ }
1659
+ var ci = "https://www.museumwnf.org/about/language-policy";
1660
+ function li({ languages: e, parent: t, texts: n = Bn, menu: r }) {
1661
+ let i = [
1662
+ ["aboutMwnf", j.about],
1663
+ ["contact", j.contact],
1664
+ ["legalNotice", j.legalNotice],
1665
+ ["credits", j.credits],
1666
+ ["languagePolicy", ci],
1667
+ ["cookies", j.cookies]
1668
+ ];
1669
+ return {
1670
+ languages: e,
1671
+ logoHref: j.portal,
1672
+ logoTip: `${n}.header.logoTip`,
1673
+ headerLinks: [{
1674
+ label: `${n}.header.exhibitionsList`,
1675
+ href: `${t}/#/exhibitions`
1676
+ }, {
1677
+ label: `${n}.header.home`,
1678
+ href: `${t}/#/`,
1679
+ tip: `${n}.header.homeTip`
1680
+ }],
1681
+ menu: r ?? si(t, n),
1682
+ footerLinks: i.map(([e, t]) => ({
1683
+ label: `${n}.footer.${e}`,
1684
+ href: t
1685
+ })),
1686
+ copyright: `${n}.footer.copyright`
1687
+ };
1688
+ }
1689
+ function ui({ parent: e, ...t }) {
1690
+ return {
1691
+ parent: e,
1692
+ itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
1693
+ partnerHref: (t) => `${e}/#/partner/${encodeURIComponent(t)}`,
1694
+ partnerListHref: `${e}/#/partners`,
1695
+ texts: Bn,
1696
+ family: "BAR",
1697
+ ...t
1698
+ };
1699
+ }
1700
+ //#endregion
967
1701
  //#region src/minisite/routes.js
968
- function An(e) {
1702
+ function di(e) {
969
1703
  return [
970
1704
  {
971
1705
  path: "/",
@@ -977,7 +1711,7 @@ function An(e) {
977
1711
  path: "/introduction",
978
1712
  name: "introduction",
979
1713
  component: Ut,
980
- meta: e("introduction", ...Be)
1714
+ meta: e("introduction", ...ze)
981
1715
  },
982
1716
  {
983
1717
  path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
@@ -987,7 +1721,7 @@ function An(e) {
987
1721
  theme: Number(e.params.theme),
988
1722
  page: Number(e.params.page || 1)
989
1723
  }),
990
- meta: e("exhibition", ...Be)
1724
+ meta: e("exhibition", ...ze)
991
1725
  },
992
1726
  {
993
1727
  path: "/credits",
@@ -1019,7 +1753,7 @@ function An(e) {
1019
1753
  }
1020
1754
  ];
1021
1755
  }
1022
- function jn(e, t = Pe.ISL) {
1756
+ function fi(e, t = Ne.ISL) {
1023
1757
  return [
1024
1758
  {
1025
1759
  label: `${t}.menu.permanentCollection`,
@@ -1052,42 +1786,14 @@ function jn(e, t = Pe.ISL) {
1052
1786
  }
1053
1787
  ];
1054
1788
  }
1055
- function Mn(e, t = Pe.BAR) {
1056
- return [
1057
- {
1058
- label: `${t}.menu.permanentCollection`,
1059
- href: `${e}/#/permanent-collection`
1060
- },
1061
- {
1062
- label: `${t}.menu.database`,
1063
- href: `${e}/#/database`
1064
- },
1065
- {
1066
- label: `${t}.menu.exhibitions`,
1067
- href: "#/"
1068
- },
1069
- {
1070
- label: `${t}.menu.timeline`,
1071
- href: `${e}/#/timeline`
1072
- },
1073
- {
1074
- label: `${t}.menu.partners`,
1075
- href: `${e}/#/partners`
1076
- },
1077
- {
1078
- label: `${t}.menu.myCollection`,
1079
- href: j.myCollection
1080
- }
1081
- ];
1082
- }
1083
- var Nn = "https://www.museumwnf.org/about/language-policy";
1084
- function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family: n }), menu: i }) {
1789
+ var pi = "https://www.museumwnf.org/about/language-policy";
1790
+ function mi({ languages: e, parent: t, family: n = "ISL", texts: r = Fe({ family: n }), menu: i }) {
1085
1791
  let a = [
1086
1792
  ["aboutMwnf", j.about],
1087
1793
  ["contact", j.contact],
1088
1794
  ["legalNotice", j.legalNotice],
1089
1795
  ["credits", j.credits],
1090
- ...n === "BAR" ? [["languagePolicy", Nn]] : [],
1796
+ ...n === "BAR" ? [["languagePolicy", pi]] : [],
1091
1797
  ["cookies", j.cookies]
1092
1798
  ];
1093
1799
  return {
@@ -1102,7 +1808,7 @@ function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family
1102
1808
  href: `${t}/#/`,
1103
1809
  tip: `${r}.header.homeTip`
1104
1810
  }],
1105
- menu: i ?? (n === "BAR" ? Mn(t, r) : jn(t, r)),
1811
+ menu: i ?? (n === "BAR" ? si(t, r) : fi(t, r)),
1106
1812
  menuSeparator: n !== "BAR",
1107
1813
  footerLinks: a.map(([e, t]) => ({
1108
1814
  label: `${r}.footer.${e}`,
@@ -1111,7 +1817,7 @@ function Pn({ languages: e, parent: t, family: n = "ISL", texts: r = Ie({ family
1111
1817
  copyright: `${r}.footer.copyright`
1112
1818
  };
1113
1819
  }
1114
- function Fn({ parent: e, ...t }) {
1820
+ function hi({ parent: e, ...t }) {
1115
1821
  return {
1116
1822
  parent: e,
1117
1823
  itemHref: (t) => `${e}/#/item/${encodeURIComponent(t)}`,
@@ -1122,13 +1828,13 @@ function Fn({ parent: e, ...t }) {
1122
1828
  }
1123
1829
  //#endregion
1124
1830
  //#region src/minisite/sharinghistory/Shell.vue
1125
- var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = { class: "mwnf-sh-header__logo" }, zn = ["href"], Bn = ["src"], Vn = ["href"], Hn = { class: "mwnf-sh-header__links" }, Un = ["href"], Wn = { class: "mwnf-sh-drop" }, Gn = ["href"], Kn = ["href"], qn = ["href"], Jn = {
1831
+ var gi = { class: "mwnf-sh__column" }, _i = { class: "mwnf-sh-header" }, vi = { class: "mwnf-sh-header__logo" }, yi = ["href"], bi = ["src"], xi = ["href"], Si = { class: "mwnf-sh-header__links" }, Ci = ["href"], wi = { class: "mwnf-sh-drop" }, Ti = ["href"], Ei = ["href"], Di = ["href"], Oi = {
1126
1832
  key: 0,
1127
1833
  class: "mwnf-sh-header__sizes"
1128
- }, Yn = { class: "mwnf-sh__page" }, Xn = { class: "mwnf-sh-menu" }, Zn = ["href"], Qn = {
1834
+ }, ki = { class: "mwnf-sh__page" }, Ai = { class: "mwnf-sh-menu" }, ji = ["href"], Mi = {
1129
1835
  key: 0,
1130
1836
  class: "mwnf-sh-drop"
1131
- }, $n = ["href"], er = { class: "mwnf-sh-footer" }, tr = ["href"], nr = {
1837
+ }, Ni = ["href"], Pi = { class: "mwnf-sh-footer" }, Fi = ["href"], Ii = {
1132
1838
  __name: "Shell",
1133
1839
  props: {
1134
1840
  languages: {
@@ -1165,7 +1871,7 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
1165
1871
  }
1166
1872
  },
1167
1873
  setup(t) {
1168
- let r = t, { t: a } = L(), u = R(), m = z(), v = i(() => m.meta?.bare ?? null), x = (t) => e(u.chrome, t), S = (e) => a(`${r.texts}.${e}`), C = (/* @__PURE__ */ new Date()).getFullYear(), T = h(1), E = i(() => m.name !== "home"), D = (e) => {
1874
+ let r = t, { t: a } = R(), u = z(), m = B(), v = i(() => m.meta?.bare ?? null), x = (t) => e(u.chrome, t), S = (e) => a(`${r.texts}.${e}`), C = (/* @__PURE__ */ new Date()).getFullYear(), T = h(1), E = i(() => m.name !== "home"), D = (e) => {
1169
1875
  T.value = e === 0 ? 1 : Math.min(1.6, Math.max(.8, T.value + e));
1170
1876
  }, O = i(() => ({
1171
1877
  "--sh-title-band": `url(${x("legacy/bg.png") ?? ""})`,
@@ -1183,67 +1889,67 @@ var In = { class: "mwnf-sh__column" }, Ln = { class: "mwnf-sh-header" }, Rn = {
1183
1889
  class: "mwnf-sh__strip",
1184
1890
  "aria-hidden": "true"
1185
1891
  }, null, -1),
1186
- c("div", In, [
1187
- c("header", Ln, [
1188
- c("div", Rn, [w((p(), s("a", { href: t.portalHref }, [c("img", {
1892
+ c("div", gi, [
1893
+ c("header", _i, [
1894
+ c("div", vi, [w((p(), s("a", { href: t.portalHref }, [c("img", {
1189
1895
  src: x(`legacy/mwnfLogoShExIn-${t.language}.png`) ?? x("legacy/mwnfLogoShExIn-en.png"),
1190
1896
  alt: "",
1191
1897
  width: "101",
1192
1898
  height: "45"
1193
- }, null, 8, Bn)], 8, zn)), [[b(W), { text: S("header.portalTip") }]])]),
1899
+ }, null, 8, bi)], 8, yi)), [[b(G), { text: S("header.portalTip") }]])]),
1194
1900
  r[6] ||= c("div", { class: "mwnf-sh-header__space" }, null, -1),
1195
1901
  w((p(), s("a", {
1196
1902
  class: "mwnf-sh-header__name",
1197
1903
  href: t.homeHref
1198
- }, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, Vn)), [[b(W), { text: S("header.homeTip") }]]),
1199
- c("div", Hn, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
1200
- c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, Un), c("ul", Wn, [(p(!0), s(n, null, g(t.aboutLinks, (e) => (p(), s("li", { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, Gn)]))), 128))])]),
1201
- c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Kn)), [[b(W), { text: S("header.homeTip") }]])]),
1202
- c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, qn)), [[b(W), { text: S("header.portalTip") }]])])
1203
- ], 2), E.value ? (p(), s("div", Jn, [
1904
+ }, [c("h1", null, y(S("header.heading")), 1), c("h2", null, y(S("header.subheading")), 1)], 8, xi)), [[b(G), { text: S("header.homeTip") }]]),
1905
+ c("div", Si, [c("ul", { class: d(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
1906
+ c("li", null, [c("a", { href: t.aboutLinks[0]?.href }, y(S("header.about")), 9, Ci), c("ul", wi, [(p(!0), s(n, null, g(t.aboutLinks, (e) => (p(), s("li", { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, Ti)]))), 128))])]),
1907
+ c("li", null, [w((p(), s("a", { href: t.homeHref }, [l(y(S("header.home")), 1)], 8, Ei)), [[b(G), { text: S("header.homeTip") }]])]),
1908
+ c("li", null, [w((p(), s("a", { href: t.portalHref }, [l(y(S("header.portal")), 1)], 8, Di)), [[b(G), { text: S("header.portalTip") }]])])
1909
+ ], 2), E.value ? (p(), s("div", Oi, [
1204
1910
  w((p(), s("button", {
1205
1911
  type: "button",
1206
1912
  style: { "font-size": "8px" },
1207
1913
  onClick: r[0] ||= (e) => D(-.1)
1208
- }, [...r[3] ||= [l("A", -1)]])), [[b(W), { text: S("header.decreaseSize") }]]),
1914
+ }, [...r[3] ||= [l("A", -1)]])), [[b(G), { text: S("header.decreaseSize") }]]),
1209
1915
  w((p(), s("button", {
1210
1916
  type: "button",
1211
1917
  style: { "font-size": "10px" },
1212
1918
  onClick: r[1] ||= (e) => D(0)
1213
- }, [...r[4] ||= [l("A", -1)]])), [[b(W), { text: S("header.revertSize") }]]),
1919
+ }, [...r[4] ||= [l("A", -1)]])), [[b(G), { text: S("header.revertSize") }]]),
1214
1920
  w((p(), s("button", {
1215
1921
  type: "button",
1216
1922
  style: { "font-size": "12px" },
1217
1923
  onClick: r[2] ||= (e) => D(.1)
1218
- }, [...r[5] ||= [l("A", -1)]])), [[b(W), { text: S("header.increaseSize") }]])
1924
+ }, [...r[5] ||= [l("A", -1)]])), [[b(G), { text: S("header.increaseSize") }]])
1219
1925
  ])) : o("", !0)])
1220
1926
  ]),
1221
- c("main", Yn, [_(e.$slots, "default")]),
1222
- c("nav", Xn, [c("ul", null, [(p(!0), s(n, null, g(t.menu, (e) => (p(), s("li", { key: e.label }, [w((p(), s("a", { href: e.href ?? "#" }, [l(y(S(e.label)), 1)], 8, Zn)), [[b(W), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", Qn, [(p(!0), s(n, null, g(e.links, (e) => (p(), s("li", { key: e.href }, [c("a", { href: e.href }, y(e.text ?? S(e.label)), 9, $n)]))), 128))])) : o("", !0)]))), 128))])]),
1223
- c("footer", er, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, tr), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
1927
+ c("main", ki, [_(e.$slots, "default")]),
1928
+ c("nav", Ai, [c("ul", null, [(p(!0), s(n, null, g(t.menu, (e) => (p(), s("li", { key: e.label }, [w((p(), s("a", { href: e.href ?? "#" }, [l(y(S(e.label)), 1)], 8, ji)), [[b(G), { text: e.tip ? S(e.tip) : "" }]]), e.links?.length ? (p(), s("ul", Mi, [(p(!0), s(n, null, g(e.links, (e) => (p(), s("li", { key: e.href }, [c("a", { href: e.href }, y(e.text ?? S(e.label)), 9, Ni)]))), 128))])) : o("", !0)]))), 128))])]),
1929
+ c("footer", Pi, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(S(e.label)), 9, Fi), r[7] ||= l(" | ", -1)], 64))), 128)), l(" " + y(S("footer.copyright")) + " " + y(b(C)), 1)])
1224
1930
  ]),
1225
1931
  r[9] ||= c("div", {
1226
1932
  class: "mwnf-sh__strip",
1227
1933
  "aria-hidden": "true"
1228
1934
  }, null, -1),
1229
- b(V).visible ? (p(), s("div", {
1935
+ b(H).visible ? (p(), s("div", {
1230
1936
  key: 0,
1231
1937
  class: "mwnf-sh-tip",
1232
1938
  style: f({
1233
- left: `${b(V).x + 12}px`,
1234
- top: `${b(V).y + 12}px`,
1235
- width: `${b(V).width}px`
1939
+ left: `${b(H).x + 12}px`,
1940
+ top: `${b(H).y + 12}px`,
1941
+ width: `${b(H).width}px`
1236
1942
  })
1237
- }, y(b(V).text), 5)) : o("", !0)
1943
+ }, y(b(H).text), 5)) : o("", !0)
1238
1944
  ], 4));
1239
1945
  }
1240
- }, rr = "minisiteSharingHistory", ir = [
1946
+ }, Li = "minisiteSharingHistory", Ri = [
1241
1947
  "collections",
1242
1948
  "items",
1243
1949
  "countries",
1244
1950
  "partners"
1245
1951
  ];
1246
- function ar(e, t) {
1952
+ function zi(e, t) {
1247
1953
  return e.flatMap((e, n) => [{
1248
1954
  theme: n + 1,
1249
1955
  page: 0,
@@ -1256,14 +1962,14 @@ function ar(e, t) {
1256
1962
  themeNode: e
1257
1963
  }))]);
1258
1964
  }
1259
- function or(e, t, n) {
1965
+ function Bi(e, t, n) {
1260
1966
  let r = e.filter((e) => t(e.id, n)?.trim());
1261
1967
  return r.length > 0 || n === "en" ? r : e.filter((e) => t(e.id, "en")?.trim());
1262
1968
  }
1263
- function sr(e, t, n) {
1969
+ function Vi(e, t, n) {
1264
1970
  return e.filter((e) => t(e.id, n)?.trim());
1265
1971
  }
1266
- function cr(e) {
1972
+ function Hi(e) {
1267
1973
  return e.page === 0 ? {
1268
1974
  name: "theme",
1269
1975
  params: { theme: e.theme }
@@ -1275,14 +1981,14 @@ function cr(e) {
1275
1981
  }
1276
1982
  };
1277
1983
  }
1278
- function lr(e, t, n) {
1984
+ function Ui(e, t, n) {
1279
1985
  let r = e.findIndex((e) => e.theme === t && e.page === n);
1280
1986
  return r < 0 ? null : {
1281
1987
  ...e[r],
1282
- next: r < e.length - 1 ? cr(e[r + 1]) : null
1988
+ next: r < e.length - 1 ? Hi(e[r + 1]) : null
1283
1989
  };
1284
1990
  }
1285
- function ur(e) {
1991
+ function Wi(e) {
1286
1992
  let t = /* @__PURE__ */ new Map();
1287
1993
  for (let n of e?.items ?? []) {
1288
1994
  if (!n.image_url || n.curator_status !== "Y") continue;
@@ -1298,7 +2004,7 @@ function ur(e) {
1298
2004
  }));
1299
2005
  });
1300
2006
  }
1301
- function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
2007
+ function Gi({ item: e, own: t, entry: n, lang: r, countryName: i }) {
1302
2008
  let a = e?.type !== "monument", o = [
1303
2009
  a ? t.holder : "",
1304
2010
  t.location,
@@ -1315,7 +2021,7 @@ function dr({ item: e, own: t, entry: n, lang: r, countryName: i }) {
1315
2021
  justification: s.replace(/\s+/g, " ")
1316
2022
  };
1317
2023
  }
1318
- function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
2024
+ function Ki({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = null, title: i = "", furtherReading: a }) {
1319
2025
  let o = encodeURIComponent(t), s = [`exhibition=${o}`];
1320
2026
  n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
1321
2027
  let c = {
@@ -1341,11 +2047,11 @@ function fr({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
1341
2047
  ];
1342
2048
  }
1343
2049
  function $() {
1344
- let { pkg: t, data: n, tree: r } = ze(), { locale: a, t: o } = L(), s = R(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = B(), f = i(() => a.value);
1345
- S(f, (e) => Promise.all(ir.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
1346
- let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ? or(r.children(h.value.id), m, f.value) : []), _ = (e) => sr(r.children(e), m, f.value), v = i(() => ar(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
2050
+ let { pkg: t, data: n, tree: r } = Re(), { locale: a, t: o } = R(), s = z(), c = s.minisite ?? {}, l = c.texts ?? "minisiteSharingHistory", u = (e) => o(`${l}.${e}`), d = V(), f = i(() => a.value);
2051
+ S(f, (e) => Promise.all(Ri.flatMap((n) => [t.loadTranslations(n, e), t.loadTranslations(n, "en")])), { immediate: !0 });
2052
+ let p = (e) => t.translations("collections", f.value)[e] ?? {}, m = (e, n) => t.translations("collections", n)[e]?.title, h = r.root, g = i(() => h.value ? Bi(r.children(h.value.id), m, f.value) : []), _ = (e) => Vi(r.children(e), m, f.value), v = i(() => zi(g.value, _)), y = (t.manifest.site?.languages ?? []).map((e) => e.code), b = (e) => t.manifest.site?.languages?.find((t) => t.code === e)?.label ?? e, x = (e) => e ? M(n.tr("countries", e, f.value).name ?? "") : "";
1347
2053
  function C(e) {
1348
- return dr({
2054
+ return Gi({
1349
2055
  item: n.itemById.value.get(e.id),
1350
2056
  own: n.tr("items", e.id, f.value),
1351
2057
  entry: e,
@@ -1381,10 +2087,10 @@ function $() {
1381
2087
  picture: w,
1382
2088
  href: T,
1383
2089
  imagesOf: (e) => [...h.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
1384
- slots: ur,
1385
- pageAt: (e, t) => lr(v.value, e, t),
2090
+ slots: Wi,
2091
+ pageAt: (e, t) => Ui(v.value, e, t),
1386
2092
  title: i(() => h.value ? p(h.value.id).title ?? "" : ""),
1387
- related: (e = null, t = null) => h.value ? fr({
2093
+ related: (e = null, t = null) => h.value ? Ki({
1388
2094
  parent: c.parent,
1389
2095
  exhibitionId: h.value.id,
1390
2096
  themeId: e,
@@ -1394,14 +2100,14 @@ function $() {
1394
2100
  }) : []
1395
2101
  };
1396
2102
  }
1397
- var pr = {
2103
+ var qi = {
1398
2104
  credits: ["exhcredits", "scrollbars=auto, resizable=1, width=520, height=530"],
1399
2105
  coverImage: ["exhCoverImage", "scrollbars=auto, resizable=1, width=520, height=530"],
1400
2106
  zoom: ["SHImages", "scrollbars=no,resize=no,width=565,height=435"]
1401
- }, mr = { class: "mwnf-sh-related" }, hr = { class: "mwnf-sh-related__heading" }, gr = ["src"], _r = ["href", "target"], vr = {
2107
+ }, Ji = { class: "mwnf-sh-related" }, Yi = { class: "mwnf-sh-related__heading" }, Xi = ["src"], Zi = ["href", "target"], Qi = {
1402
2108
  key: 0,
1403
2109
  class: "mwnf-sh-related__all"
1404
- }, yr = ["src"], br = ["href"], xr = {
2110
+ }, $i = ["src"], ea = ["href"], ta = {
1405
2111
  __name: "Related",
1406
2112
  props: {
1407
2113
  allExhibitions: {
@@ -1425,7 +2131,7 @@ var pr = {
1425
2131
  let t = e, { label: r, picture: u, related: d, settings: f } = $(), m = i(() => d(t.themeId, t.subthemeId)), h = i(() => t.themeId ? "_blank" : void 0), _ = (e) => e.tipText ?? (e.tip ? r(`related.${e.tip}`) : "");
1426
2132
  return (t, i) => {
1427
2133
  let d = v("router-link");
1428
- return p(), s("div", mr, [c("span", hr, "\xA0" + y(b(r)("related.heading")), 1), c("ul", null, [(p(!0), s(n, null, g(m.value, (t) => (p(), s("li", { key: t.key }, [
2134
+ return p(), s("div", Ji, [c("span", Yi, "\xA0" + y(b(r)("related.heading")), 1), c("ul", null, [(p(!0), s(n, null, g(m.value, (t) => (p(), s("li", { key: t.key }, [
1429
2135
  i[0] ||= l(" \xA0", -1),
1430
2136
  c("img", {
1431
2137
  src: b(u)(e.arrow),
@@ -1433,7 +2139,7 @@ var pr = {
1433
2139
  class: "mwnf-sh-arrow",
1434
2140
  width: "11",
1435
2141
  height: "8"
1436
- }, null, 8, gr),
2142
+ }, null, 8, Xi),
1437
2143
  t.to ? w((p(), a(d, {
1438
2144
  key: 0,
1439
2145
  to: t.to,
@@ -1441,12 +2147,12 @@ var pr = {
1441
2147
  }, {
1442
2148
  default: C(() => [l(y(b(r)(`related.${t.key}`)), 1)]),
1443
2149
  _: 2
1444
- }, 1032, ["to", "target"])), [[b(W), { text: _(t) }]]) : w((p(), s("a", {
2150
+ }, 1032, ["to", "target"])), [[b(G), { text: _(t) }]]) : w((p(), s("a", {
1445
2151
  key: 1,
1446
2152
  href: t.href,
1447
2153
  target: h.value
1448
- }, [l(y(b(r)(`related.${t.key}`)), 1)], 8, _r)), [[b(W), { text: _(t) }]])
1449
- ]))), 128)), e.allExhibitions ? (p(), s("li", vr, [
2154
+ }, [l(y(b(r)(`related.${t.key}`)), 1)], 8, Zi)), [[b(G), { text: _(t) }]])
2155
+ ]))), 128)), e.allExhibitions ? (p(), s("li", Qi, [
1450
2156
  i[1] ||= l(" \xA0", -1),
1451
2157
  c("img", {
1452
2158
  src: b(u)(e.arrow),
@@ -1454,94 +2160,94 @@ var pr = {
1454
2160
  class: "mwnf-sh-arrow",
1455
2161
  width: "11",
1456
2162
  height: "8"
1457
- }, null, 8, yr),
1458
- c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, br)])
2163
+ }, null, 8, $i),
2164
+ c("b", null, [c("a", { href: `${b(f).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, ea)])
1459
2165
  ])) : o("", !0)])]);
1460
2166
  };
1461
2167
  }
1462
- }, Sr = ["src"], Cr = ["src"], wr = ["src"], Tr = "https://www.museumwnf.org/about/support", Er = {
2168
+ }, na = ["src"], ra = ["src"], ia = ["src"], aa = "https://www.museumwnf.org/about/support", oa = {
1463
2169
  __name: "Windows",
1464
2170
  setup(e) {
1465
2171
  let { href: t, label: n, picture: r } = $(), i = r("legacy/arrow_curator.gif");
1466
2172
  return (e, r) => (p(), s("div", null, [
1467
2173
  c("a", {
1468
2174
  href: "#",
1469
- onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(pr).credits), ["prevent"])
2175
+ onClick: r[0] ||= T((e) => b(Z)(b(t)({ name: "credits" }), b(qi).credits), ["prevent"])
1470
2176
  }, [l(y(b(n)("band.curatedBy")) + " ", 1), b(i) ? (p(), s("img", {
1471
2177
  key: 0,
1472
2178
  src: b(i),
1473
2179
  alt: "",
1474
2180
  width: "12",
1475
2181
  height: "7"
1476
- }, null, 8, Sr)) : o("", !0)]),
2182
+ }, null, 8, na)) : o("", !0)]),
1477
2183
  c("div", null, [c("a", {
1478
2184
  href: "#",
1479
- onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(pr).coverImage), ["prevent"])
2185
+ onClick: r[1] ||= T((e) => b(Z)(b(t)({ name: "cover-image" }), b(qi).coverImage), ["prevent"])
1480
2186
  }, [l(y(b(n)("band.coverImage")) + " ", 1), b(i) ? (p(), s("img", {
1481
2187
  key: 0,
1482
2188
  src: b(i),
1483
2189
  alt: "",
1484
2190
  width: "12",
1485
2191
  height: "7"
1486
- }, null, 8, Cr)) : o("", !0)])]),
1487
- c("div", null, [c("a", { href: Tr }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
2192
+ }, null, 8, ra)) : o("", !0)])]),
2193
+ c("div", null, [c("a", { href: aa }, [l(y(b(n)("band.support")) + " ", 1), b(i) ? (p(), s("img", {
1488
2194
  key: 0,
1489
2195
  src: b(i),
1490
2196
  alt: "",
1491
2197
  width: "12",
1492
2198
  height: "7"
1493
- }, null, 8, wr)) : o("", !0)])])
2199
+ }, null, 8, ia)) : o("", !0)])])
1494
2200
  ]));
1495
2201
  }
1496
- }, Dr = {
2202
+ }, sa = {
1497
2203
  key: 0,
1498
2204
  class: "mwnf-sh-home"
1499
- }, Or = { class: "mwnf-sh-home__heading" }, kr = { class: "mwnf-sh-home__title" }, Ar = ["innerHTML"], jr = { class: "mwnf-sh-home__menu" }, Mr = { class: "mwnf-sh-home__themes" }, Nr = ["src"], Pr = ["aria-expanded", "onClick"], Fr = ["innerHTML"], Ir = ["src"], Lr = {
2205
+ }, ca = { class: "mwnf-sh-home__heading" }, la = { class: "mwnf-sh-home__title" }, ua = ["innerHTML"], da = { class: "mwnf-sh-home__menu" }, fa = { class: "mwnf-sh-home__themes" }, pa = ["src"], ma = ["aria-expanded", "onClick"], ha = ["innerHTML"], ga = ["src"], _a = {
1500
2206
  key: 0,
1501
2207
  class: "mwnf-sh-home__pages"
1502
- }, Rr = ["src"], zr = ["src"], Br = { class: "mwnf-sh-band" }, Vr = { class: "mwnf-sh-band__logos" }, Hr = {
2208
+ }, va = ["src"], ya = ["src"], ba = { class: "mwnf-sh-band" }, xa = { class: "mwnf-sh-band__logos" }, Sa = {
1503
2209
  key: 0,
1504
2210
  class: "mwnf-sh-band__gap"
1505
- }, Ur = ["href"], Wr = ["src"], Gr = ["src"], Kr = {
2211
+ }, Ca = ["href"], wa = ["src"], Ta = ["src"], Ea = {
1506
2212
  __name: "Home",
1507
2213
  setup(e) {
1508
2214
  let { data: t, imagesOf: r, label: a, picture: d, root: m, settings: _, subthemesOf: x, text: S, themes: T, title: E } = $(), D = (e) => _.partnerLinks?.[e.link] ?? e.link, O = i(() => m.value ? S(m.value.id).extra?.subtitle ?? "" : ""), k = i(() => r("logo")), A = h(-1);
1509
2215
  return (e, r) => {
1510
2216
  let i = v("router-link");
1511
- return b(m) ? (p(), s("div", Dr, [
2217
+ return b(m) ? (p(), s("div", sa, [
1512
2218
  c("div", {
1513
2219
  class: "mwnf-sh-home__picture",
1514
2220
  style: f({ backgroundImage: `url(${b(d)("legacy/home_bg.jpg") ?? ""})` })
1515
- }, [c("div", Or, [c("div", kr, y(b(E)), 1), O.value ? (p(), s("div", {
2221
+ }, [c("div", ca, [c("div", la, y(b(E)), 1), O.value ? (p(), s("div", {
1516
2222
  key: 0,
1517
2223
  class: "mwnf-sh-home__quote",
1518
2224
  innerHTML: b(t).mdInline(O.value)
1519
- }, null, 8, Ar)) : o("", !0)])], 4),
1520
- c("div", jr, [c("div", Mr, [u(i, { to: { name: "introduction" } }, {
2225
+ }, null, 8, ua)) : o("", !0)])], 4),
2226
+ c("div", da, [c("div", fa, [u(i, { to: { name: "introduction" } }, {
1521
2227
  default: C(() => [c("b", null, y(b(a)("home.introduction")), 1), c("img", {
1522
2228
  src: b(d)("legacy/arrow_black.gif"),
1523
2229
  alt: "",
1524
2230
  width: "15",
1525
2231
  height: "9"
1526
- }, null, 8, Nr)]),
2232
+ }, null, 8, pa)]),
1527
2233
  _: 1
1528
2234
  }), (p(!0), s(n, null, g(b(T), (e, r) => (p(), s("div", { key: e.id }, [c("button", {
1529
2235
  type: "button",
1530
2236
  class: "mwnf-sh-home__theme",
1531
2237
  "aria-expanded": A.value === r,
1532
2238
  onClick: (e) => A.value = A.value === r ? -1 : r
1533
- }, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, Fr), c("img", {
2239
+ }, [c("span", { innerHTML: b(t).mdInline(b(S)(e.id).title ?? "") }, null, 8, ha), c("img", {
1534
2240
  src: b(d)("legacy/arrow_black_down.gif"),
1535
2241
  alt: "",
1536
2242
  width: "15",
1537
2243
  height: "9"
1538
- }, null, 8, Ir)], 8, Pr), A.value === r ? (p(), s("ul", Lr, [c("li", null, [c("img", {
2244
+ }, null, 8, ga)], 8, ma), A.value === r ? (p(), s("ul", _a, [c("li", null, [c("img", {
1539
2245
  src: b(d)("legacy/arrow_inner_black.gif"),
1540
2246
  alt: "",
1541
2247
  class: "mwnf-sh-arrow",
1542
2248
  width: "11",
1543
2249
  height: "8"
1544
- }, null, 8, Rr), u(i, { to: {
2250
+ }, null, 8, va), u(i, { to: {
1545
2251
  name: "theme",
1546
2252
  params: { theme: r + 1 }
1547
2253
  } }, {
@@ -1553,7 +2259,7 @@ var pr = {
1553
2259
  class: "mwnf-sh-arrow",
1554
2260
  width: "11",
1555
2261
  height: "8"
1556
- }, null, 8, zr), u(i, {
2262
+ }, null, 8, ya), u(i, {
1557
2263
  to: {
1558
2264
  name: "subtheme",
1559
2265
  params: {
@@ -1562,28 +2268,28 @@ var pr = {
1562
2268
  }
1563
2269
  },
1564
2270
  innerHTML: b(t).mdInline(b(S)(e.id).title ?? "")
1565
- }, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(xr, { "all-exhibitions": "" })]),
1566
- c("div", Br, [u(Er, { class: "mwnf-sh-band__links" }), c("div", Vr, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Hr)) : o("", !0), e.link ? w((p(), s("a", {
2271
+ }, null, 8, ["to", "innerHTML"])]))), 128))])) : o("", !0)]))), 128))]), u(ta, { "all-exhibitions": "" })]),
2272
+ c("div", ba, [u(oa, { class: "mwnf-sh-band__links" }), c("div", xa, [(p(!0), s(n, null, g(k.value, (e, t) => (p(), s(n, { key: e.url }, [t > 0 ? (p(), s("span", Sa)) : o("", !0), e.link ? w((p(), s("a", {
1567
2273
  key: 1,
1568
2274
  href: D(e)
1569
2275
  }, [c("img", {
1570
2276
  src: e.url,
1571
2277
  alt: ""
1572
- }, null, 8, Wr)], 8, Ur)), [[b(W), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
2278
+ }, null, 8, wa)], 8, Ca)), [[b(G), { text: e.alt_text ?? "" }]]) : (p(), s("img", {
1573
2279
  key: 2,
1574
2280
  src: e.url,
1575
2281
  alt: ""
1576
- }, null, 8, Gr))], 64))), 128))])])
2282
+ }, null, 8, Ta))], 64))), 128))])])
1577
2283
  ])) : o("", !0);
1578
2284
  };
1579
2285
  }
1580
- }, qr = { class: "mwnf-sh-banner__title" }, Jr = { class: "mwnf-sh-nav" }, Yr = { class: "mwnf-sh-nav__group" }, Xr = { class: "mwnf-sh-nav__first" }, Zr = { class: "mwnf-sh-nav__second" }, Qr = ["href"], $r = {
2286
+ }, Da = { class: "mwnf-sh-banner__title" }, Oa = { class: "mwnf-sh-nav" }, ka = { class: "mwnf-sh-nav__group" }, Aa = { class: "mwnf-sh-nav__first" }, ja = { class: "mwnf-sh-nav__second" }, Ma = ["href"], Na = {
1581
2287
  key: 0,
1582
2288
  class: "mwnf-sh-nav__group"
1583
- }, ei = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, ti = {
2289
+ }, Pa = { class: "mwnf-sh-nav__first mwnf-sh-nav__previous" }, Fa = {
1584
2290
  key: 0,
1585
2291
  class: "mwnf-sh-nav__second mwnf-sh-nav__next"
1586
- }, ni = {
2292
+ }, Ia = {
1587
2293
  __name: "Banner",
1588
2294
  props: {
1589
2295
  kind: {
@@ -1608,7 +2314,7 @@ var pr = {
1608
2314
  }
1609
2315
  },
1610
2316
  setup(e) {
1611
- let t = e, n = B(), { label: r, picture: i, settings: a, title: m } = $(), h = i(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
2317
+ let t = e, n = V(), { label: r, picture: i, settings: a, title: m } = $(), h = i(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
1612
2318
  function g() {
1613
2319
  t.previous ? n.push(t.previous) : n.back();
1614
2320
  }
@@ -1619,21 +2325,21 @@ var pr = {
1619
2325
  style: f({ backgroundImage: b(h) ? `url(${b(h)})` : "none" })
1620
2326
  }, [
1621
2327
  n[0] ||= c("div", { class: "mwnf-sh-banner__top" }, null, -1),
1622
- c("div", qr, y(e.heading ?? b(m)), 1),
1623
- c("nav", Jr, [c("div", Yr, [c("div", Xr, [u(i, { to: { name: "home" } }, {
2328
+ c("div", Da, y(e.heading ?? b(m)), 1),
2329
+ c("nav", Oa, [c("div", ka, [c("div", Aa, [u(i, { to: { name: "home" } }, {
1624
2330
  default: C(() => [l(y(b(r)("nav.entrance")), 1)]),
1625
2331
  _: 1
1626
- })]), c("div", Zr, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Qr)])]), e.paging ? (p(), s("div", $r, [c("div", ei, [c("button", {
2332
+ })]), c("div", ja, [c("a", { href: `${b(a).parent}/#/exhibitions` }, y(b(r)("nav.allExhibitions")), 9, Ma)])]), e.paging ? (p(), s("div", Na, [c("div", Pa, [c("button", {
1627
2333
  type: "button",
1628
2334
  onClick: g
1629
- }, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", ti, [u(i, { to: e.next }, {
2335
+ }, y(b(r)("nav.previous")), 1)]), e.next ? (p(), s("div", Fa, [u(i, { to: e.next }, {
1630
2336
  default: C(() => [l(y(b(r)("nav.next")), 1)]),
1631
2337
  _: 1
1632
2338
  }, 8, ["to"])])) : o("", !0)])) : o("", !0)])
1633
2339
  ], 6);
1634
2340
  };
1635
2341
  }
1636
- }, ri = { class: "mwnf-sh-download" }, ii = ["src"], ai = ["src"], oi = ["src"], si = {
2342
+ }, La = { class: "mwnf-sh-download" }, Ra = ["src"], za = ["src"], Ba = ["src"], Va = {
1637
2343
  __name: "Download",
1638
2344
  props: {
1639
2345
  title: {
@@ -1656,13 +2362,13 @@ var pr = {
1656
2362
  let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(A(e))}</h2>` : ""}${t ? N(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(A(t.title))}</title></head><body><h1>${i(A(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
1657
2363
  r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${A(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
1658
2364
  }
1659
- return (e, t) => (p(), s("div", ri, [
2365
+ return (e, t) => (p(), s("div", La, [
1660
2366
  c("img", {
1661
2367
  src: b(r)("legacy/print.gif"),
1662
2368
  alt: "",
1663
2369
  width: "14",
1664
2370
  height: "14"
1665
- }, null, 8, ii),
2371
+ }, null, 8, Ra),
1666
2372
  l(" / " + y(b(n)("download.heading")), 1),
1667
2373
  t[1] ||= c("br", null, null, -1),
1668
2374
  c("img", {
@@ -1671,7 +2377,7 @@ var pr = {
1671
2377
  class: "mwnf-sh-arrow",
1672
2378
  width: "11",
1673
2379
  height: "8"
1674
- }, null, 8, ai),
2380
+ }, null, 8, za),
1675
2381
  c("a", {
1676
2382
  href: "#",
1677
2383
  onClick: t[0] ||= T((t) => e.window.print(), ["prevent"])
@@ -1683,23 +2389,23 @@ var pr = {
1683
2389
  class: "mwnf-sh-arrow",
1684
2390
  width: "11",
1685
2391
  height: "8"
1686
- }, null, 8, oi),
2392
+ }, null, 8, Ba),
1687
2393
  c("a", {
1688
2394
  href: "#",
1689
2395
  onClick: T(a, ["prevent"])
1690
2396
  }, y(b(n)("download.asWord")), 1)
1691
2397
  ]));
1692
2398
  }
1693
- }, ci = {
2399
+ }, Ha = {
1694
2400
  key: 0,
1695
2401
  style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
1696
- }, li = { class: "mwnf-sh-intro" }, ui = { class: "mwnf-sh-intro__text" }, di = { class: "mwnf-sh-intro__heading" }, fi = ["innerHTML"], pi = { class: "mwnf-sh-intro__pictures" }, mi = {
2402
+ }, Ua = { class: "mwnf-sh-intro" }, Wa = { class: "mwnf-sh-intro__text" }, Ga = { class: "mwnf-sh-intro__heading" }, Ka = ["innerHTML"], qa = { class: "mwnf-sh-intro__pictures" }, Ja = {
1697
2403
  key: 0,
1698
2404
  class: "mwnf-sh-intro__picture"
1699
- }, hi = { class: "mwnf-sh-intro__frame" }, gi = ["src"], _i = ["src"], vi = ["innerHTML"], yi = ["innerHTML"], bi = ["innerHTML"], xi = ["src"], Si = ["href"], Ci = {
2405
+ }, Ya = { class: "mwnf-sh-intro__frame" }, Xa = ["src"], Za = ["src"], Qa = ["innerHTML"], $a = ["innerHTML"], eo = ["innerHTML"], to = ["src"], no = ["href"], ro = {
1700
2406
  key: 1,
1701
2407
  class: "mwnf-sh-intro__thumbs"
1702
- }, wi = ["onClick"], Ti = ["src"], Ei = { class: "mwnf-sh-bottom" }, Di = { class: "mwnf-sh-bottom__pages" }, Oi = ["src"], ki = { class: "mwnf-sh-bottom__current" }, Ai = ["src"], ji = { class: "mwnf-sh-bottom__related" }, Mi = {
2408
+ }, io = ["onClick"], ao = ["src"], oo = { class: "mwnf-sh-bottom" }, so = { class: "mwnf-sh-bottom__pages" }, co = ["src"], lo = { class: "mwnf-sh-bottom__current" }, uo = ["src"], fo = { class: "mwnf-sh-bottom__related" }, po = {
1703
2409
  __name: "Introduction",
1704
2410
  setup(e) {
1705
2411
  let { caption: t, data: r, href: a, label: d, lang: f, pages: m, picture: _, root: x, settings: S, text: T, themes: E, title: D } = $(), O = i(() => x.value ? T(x.value.id) : {}), k = i(() => m.value[0] ? {
@@ -1718,31 +2424,31 @@ var pr = {
1718
2424
  Z(a({
1719
2425
  name: "zoom",
1720
2426
  query: { img: N.value.image_url }
1721
- }), pr.zoom);
2427
+ }), qi.zoom);
1722
2428
  }
1723
2429
  return (e, t) => {
1724
2430
  let i = v("router-link");
1725
- return b(x) ? (p(), s("div", ci, [
1726
- u(ni, {
2431
+ return b(x) ? (p(), s("div", Ha, [
2432
+ u(Ia, {
1727
2433
  kind: "intro",
1728
2434
  previous: { name: "home" },
1729
2435
  next: k.value
1730
2436
  }, null, 8, ["next"]),
1731
- c("div", li, [c("div", ui, [
1732
- c("div", di, y(b(d)("home.introduction")), 1),
2437
+ c("div", Ua, [c("div", Wa, [
2438
+ c("div", Ga, y(b(d)("home.introduction")), 1),
1733
2439
  c("div", {
1734
2440
  class: "mwnf-sh-intro__body",
1735
2441
  innerHTML: b(r).md(O.value.description ?? "")
1736
- }, null, 8, fi),
1737
- u(si, {
2442
+ }, null, 8, Ka),
2443
+ u(Va, {
1738
2444
  title: b(D),
1739
2445
  blocks: [{
1740
2446
  heading: b(d)("home.introduction"),
1741
2447
  text: O.value.description ?? ""
1742
2448
  }]
1743
2449
  }, null, 8, ["title", "blocks"])
1744
- ]), c("div", pi, [N.value ? (p(), s("div", mi, [
1745
- c("div", hi, [c("div", null, [
2450
+ ]), c("div", qa, [N.value ? (p(), s("div", Ja, [
2451
+ c("div", Ya, [c("div", null, [
1746
2452
  w((p(), s("button", {
1747
2453
  type: "button",
1748
2454
  onClick: I
@@ -1750,7 +2456,7 @@ var pr = {
1750
2456
  class: "mwnf-sh-intro__shown",
1751
2457
  src: N.value.image_url,
1752
2458
  alt: ""
1753
- }, null, 8, gi)])), [[b(W), { text: b(d)("item.showZoom") }]]),
2459
+ }, null, 8, Xa)])), [[b(G), { text: b(d)("item.showZoom") }]]),
1754
2460
  t[0] ||= l("\xA0", -1),
1755
2461
  t[1] ||= c("br", null, null, -1),
1756
2462
  w((p(), s("button", {
@@ -1761,16 +2467,16 @@ var pr = {
1761
2467
  alt: "",
1762
2468
  width: "15",
1763
2469
  height: "15"
1764
- }, null, 8, _i)])), [[b(W), { text: b(d)("item.showZoom") }]])
2470
+ }, null, 8, Za)])), [[b(G), { text: b(d)("item.showZoom") }]])
1765
2471
  ])]),
1766
2472
  P.value.name ? (p(), s("b", {
1767
2473
  key: 0,
1768
2474
  innerHTML: b(r).mdInline(P.value.name)
1769
- }, null, 8, vi)) : o("", !0),
2475
+ }, null, 8, Qa)) : o("", !0),
1770
2476
  P.value.secondName ? (p(), s(n, { key: 1 }, [
1771
2477
  t[2] ||= c("br", null, null, -1),
1772
2478
  t[3] ||= c("br", null, null, -1),
1773
- c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, yi)
2479
+ c("b", { innerHTML: b(r).mdInline(P.value.secondName) }, null, 8, $a)
1774
2480
  ], 64)) : o("", !0),
1775
2481
  (p(), s(n, null, g([
1776
2482
  "date",
@@ -1782,7 +2488,7 @@ var pr = {
1782
2488
  ], (e) => (p(), s(n, { key: e }, [P.value[e] ? (p(), s(n, { key: 0 }, [
1783
2489
  t[4] ||= c("br", null, null, -1),
1784
2490
  t[5] ||= c("br", null, null, -1),
1785
- c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, bi)
2491
+ c("span", { innerHTML: b(r).mdInline(P.value[e]) }, null, 8, eo)
1786
2492
  ], 64)) : o("", !0)], 64))), 64)),
1787
2493
  t[6] ||= c("br", null, null, -1),
1788
2494
  t[7] ||= c("br", null, null, -1),
@@ -1792,40 +2498,40 @@ var pr = {
1792
2498
  class: "mwnf-sh-arrow",
1793
2499
  width: "11",
1794
2500
  height: "8"
1795
- }, null, 8, xi),
1796
- c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, Si)
1797
- ])) : o("", !0), j.value.length ? (p(), s("div", Ci, [(p(!0), s(n, null, g(j.value, (e, t) => (p(), s("button", {
2501
+ }, null, 8, to),
2502
+ c("a", { href: F.value }, y(b(d)("item.moreInfo")), 9, no)
2503
+ ])) : o("", !0), j.value.length ? (p(), s("div", ro, [(p(!0), s(n, null, g(j.value, (e, t) => (p(), s("button", {
1798
2504
  key: e.image_url,
1799
2505
  type: "button",
1800
2506
  onClick: (e) => M.value = t
1801
2507
  }, [c("img", {
1802
2508
  src: e.image_url,
1803
2509
  alt: ""
1804
- }, null, 8, Ti)], 8, wi))), 128))])) : o("", !0)])]),
1805
- c("div", Ei, [c("div", Di, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
2510
+ }, null, 8, ao)], 8, io))), 128))])) : o("", !0)])]),
2511
+ c("div", oo, [c("div", so, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
1806
2512
  src: b(_)("legacy/arrow.gif"),
1807
2513
  alt: "",
1808
2514
  width: "10",
1809
2515
  height: "9"
1810
- }, null, 8, Oi), c("span", ki, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
2516
+ }, null, 8, co), c("span", lo, y(b(d)("home.introduction")), 1)]), (p(!0), s(n, null, g(b(E), (e, t) => (p(), s("li", { key: e.id }, [c("img", {
1811
2517
  src: b(_)("legacy/arrow.gif"),
1812
2518
  alt: "",
1813
2519
  width: "10",
1814
2520
  height: "9"
1815
- }, null, 8, Ai), u(i, { to: {
2521
+ }, null, 8, uo), u(i, { to: {
1816
2522
  name: "theme",
1817
2523
  params: { theme: t + 1 }
1818
2524
  } }, {
1819
2525
  default: C(() => [l(y(b(A)(b(T)(e.id).title ?? "")), 1)]),
1820
2526
  _: 2
1821
- }, 1032, ["to"])]))), 128))])]), c("div", ji, [u(xr, { arrow: "legacy/arrow_inner.gif" }), u(Er, { class: "mwnf-sh-bottom__windows" })])])
2527
+ }, 1032, ["to"])]))), 128))])]), c("div", fo, [u(ta, { arrow: "legacy/arrow_inner.gif" }), u(oa, { class: "mwnf-sh-bottom__windows" })])])
1822
2528
  ])) : o("", !0);
1823
2529
  };
1824
2530
  }
1825
- }, Ni = {
2531
+ }, mo = {
1826
2532
  key: 0,
1827
2533
  class: "mwnf-sh-panel"
1828
- }, Pi = { class: "mwnf-sh-panel__picture" }, Fi = { class: "mwnf-sh-panel__frame" }, Ii = ["src"], Li = { class: "mwnf-sh-panel__magnify" }, Ri = ["src"], zi = { class: "mwnf-sh-panel__caption" }, Bi = ["innerHTML"], Vi = ["innerHTML"], Hi = ["innerHTML"], Ui = ["innerHTML"], Wi = ["innerHTML"], Gi = ["innerHTML"], Ki = ["innerHTML"], qi = ["src"], Ji = ["href"], Yi = { class: "mwnf-sh-panel__related" }, Xi = ["onClick"], Zi = ["src"], Qi = {
2534
+ }, ho = { class: "mwnf-sh-panel__picture" }, go = { class: "mwnf-sh-panel__frame" }, _o = ["src"], vo = { class: "mwnf-sh-panel__magnify" }, yo = ["src"], bo = { class: "mwnf-sh-panel__caption" }, xo = ["innerHTML"], So = ["innerHTML"], Co = ["innerHTML"], wo = ["innerHTML"], To = ["innerHTML"], Eo = ["innerHTML"], Do = ["innerHTML"], Oo = ["src"], ko = ["href"], Ao = { class: "mwnf-sh-panel__related" }, jo = ["onClick"], Mo = ["src"], No = {
1829
2535
  __name: "Panel",
1830
2536
  props: {
1831
2537
  slot: {
@@ -1847,16 +2553,16 @@ var pr = {
1847
2553
  Z(d({
1848
2554
  name: "zoom",
1849
2555
  query: { img: _.value.image_url }
1850
- }), pr.zoom);
2556
+ }), qi.zoom);
1851
2557
  }
1852
- return (e, t) => _.value ? (p(), s("div", Ni, [c("div", Pi, [c("div", Fi, [c("div", null, [w((p(), s("button", {
2558
+ return (e, t) => _.value ? (p(), s("div", mo, [c("div", ho, [c("div", go, [c("div", null, [w((p(), s("button", {
1853
2559
  type: "button",
1854
2560
  onClick: C
1855
2561
  }, [c("img", {
1856
2562
  class: "mwnf-sh-panel__shown",
1857
2563
  src: _.value.image_url,
1858
2564
  alt: ""
1859
- }, null, 8, Ii)])), [[b(W), { text: b(f)("item.showZoom") }]]), c("div", Li, [w((p(), s("button", {
2565
+ }, null, 8, _o)])), [[b(G), { text: b(f)("item.showZoom") }]]), c("div", vo, [w((p(), s("button", {
1860
2566
  type: "button",
1861
2567
  onClick: C
1862
2568
  }, [c("img", {
@@ -1864,75 +2570,75 @@ var pr = {
1864
2570
  alt: "",
1865
2571
  width: "15",
1866
2572
  height: "15"
1867
- }, null, 8, Ri)])), [[b(W), { text: b(f)("item.showZoom") }]])])])])]), c("div", zi, [
2573
+ }, null, 8, yo)])), [[b(G), { text: b(f)("item.showZoom") }]])])])])]), c("div", bo, [
1868
2574
  v.value.name ? (p(), s("p", {
1869
2575
  key: 0,
1870
2576
  class: "mwnf-sh-panel__name",
1871
2577
  innerHTML: b(u).mdInline(v.value.name)
1872
- }, null, 8, Bi)) : o("", !0),
2578
+ }, null, 8, xo)) : o("", !0),
1873
2579
  v.value.date ? (p(), s("p", {
1874
2580
  key: 1,
1875
2581
  innerHTML: b(u).mdInline(v.value.date)
1876
- }, null, 8, Vi)) : o("", !0),
2582
+ }, null, 8, So)) : o("", !0),
1877
2583
  v.value.place ? (p(), s("p", {
1878
2584
  key: 2,
1879
2585
  innerHTML: b(u).mdInline(v.value.place)
1880
- }, null, 8, Hi)) : o("", !0),
2586
+ }, null, 8, Co)) : o("", !0),
1881
2587
  v.value.artist ? (p(), s("p", {
1882
2588
  key: 3,
1883
2589
  innerHTML: b(u).mdInline(v.value.artist)
1884
- }, null, 8, Ui)) : o("", !0),
2590
+ }, null, 8, wo)) : o("", !0),
1885
2591
  v.value.material ? (p(), s("p", {
1886
2592
  key: 4,
1887
2593
  innerHTML: b(u).mdInline(v.value.material)
1888
- }, null, 8, Wi)) : o("", !0),
2594
+ }, null, 8, To)) : o("", !0),
1889
2595
  v.value.architects ? (p(), s("p", {
1890
2596
  key: 5,
1891
2597
  innerHTML: b(u).mdInline(v.value.architects)
1892
- }, null, 8, Gi)) : o("", !0),
2598
+ }, null, 8, Eo)) : o("", !0),
1893
2599
  v.value.justification ? (p(), s("p", {
1894
2600
  key: 6,
1895
2601
  class: "mwnf-sh-panel__justification",
1896
2602
  innerHTML: b(u).mdInline(v.value.justification)
1897
- }, null, 8, Ki)) : o("", !0),
2603
+ }, null, 8, Do)) : o("", !0),
1898
2604
  c("p", null, [c("img", {
1899
2605
  src: b(m)("legacy/arrow_inner_black.gif"),
1900
2606
  alt: "",
1901
2607
  class: "mwnf-sh-arrow",
1902
2608
  width: "11",
1903
2609
  height: "8"
1904
- }, null, 8, qi), c("a", {
2610
+ }, null, 8, Oo), c("a", {
1905
2611
  href: x.value,
1906
2612
  target: "_blank",
1907
2613
  rel: "noopener"
1908
- }, y(b(f)("item.moreInfo")), 9, Ji)]),
1909
- S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Yi, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
2614
+ }, y(b(f)("item.moreInfo")), 9, ko)]),
2615
+ S.value.length ? (p(), s(n, { key: 7 }, [c("p", null, [c("b", null, y(b(f)("item.related")), 1)]), c("div", Ao, [(p(!0), s(n, null, g(S.value, (e) => (p(), s("button", {
1910
2616
  key: e.index,
1911
2617
  type: "button",
1912
2618
  onClick: (t) => a("update:view", e.index)
1913
2619
  }, [c("img", {
1914
2620
  src: e.variant.image_url,
1915
2621
  alt: ""
1916
- }, null, 8, Zi)], 8, Xi))), 128))])], 64)) : o("", !0)
2622
+ }, null, 8, Mo)], 8, jo))), 128))])], 64)) : o("", !0)
1917
2623
  ])])) : o("", !0);
1918
2624
  }
1919
- }, $i = {
2625
+ }, Po = {
1920
2626
  key: 1,
1921
2627
  class: "mwnf-sh-pagewrap",
1922
2628
  style: { "font-size": "calc(11px * var(--sh-text-scale, 1))" }
1923
- }, ea = { class: "mwnf-sh-page" }, ta = { class: "mwnf-sh-page__text" }, na = { class: "mwnf-sh-page__theme" }, ra = { class: "mwnf-sh-page__name" }, ia = {
2629
+ }, Fo = { class: "mwnf-sh-page" }, Io = { class: "mwnf-sh-page__text" }, Lo = { class: "mwnf-sh-page__theme" }, Ro = { class: "mwnf-sh-page__name" }, zo = {
1924
2630
  key: 0,
1925
2631
  class: "mwnf-sh-page__thumbs"
1926
- }, aa = ["onClick"], oa = ["src"], sa = { class: "mwnf-sh-page__body" }, ca = ["innerHTML"], la = ["innerHTML"], ua = { class: "mwnf-sh-more" }, da = { class: "mwnf-sh-more__label" }, fa = { class: "mwnf-sh-more__theme" }, pa = ["src"], ma = {
2632
+ }, Bo = ["onClick"], Vo = ["src"], Ho = { class: "mwnf-sh-page__body" }, Uo = ["innerHTML"], Wo = ["innerHTML"], Go = { class: "mwnf-sh-more" }, Ko = { class: "mwnf-sh-more__label" }, qo = { class: "mwnf-sh-more__theme" }, Jo = ["src"], Yo = {
1927
2633
  key: 0,
1928
2634
  class: "mwnf-sh-more__current"
1929
- }, ha = ["src"], ga = {
2635
+ }, Xo = ["src"], Zo = {
1930
2636
  key: 0,
1931
2637
  class: "mwnf-sh-more__current"
1932
- }, _a = { class: "mwnf-sh-bottom" }, va = { class: "mwnf-sh-bottom__pages" }, ya = ["src"], ba = ["src"], xa = {
2638
+ }, Qo = { class: "mwnf-sh-bottom" }, $o = { class: "mwnf-sh-bottom__pages" }, es = ["src"], ts = ["src"], ns = {
1933
2639
  key: 0,
1934
2640
  class: "mwnf-sh-bottom__current"
1935
- }, Sa = { class: "mwnf-sh-bottom__related" }, Ca = {
2641
+ }, rs = { class: "mwnf-sh-bottom__related" }, is = {
1936
2642
  __name: "Page",
1937
2643
  props: {
1938
2644
  theme: {
@@ -1949,49 +2655,49 @@ var pr = {
1949
2655
  S(j, () => {
1950
2656
  F.value = 0, I.value = 0;
1951
2657
  });
1952
- let ee = (e) => {
2658
+ let L = (e) => {
1953
2659
  F.value = e, I.value = 0;
1954
- }, L = (e) => A(w(e).title ?? ""), R = i(() => t.page === 0 ? d("home.overview") : A(M.value.title ?? "")), z = i(() => [
2660
+ }, R = (e) => A(w(e).title ?? ""), z = i(() => t.page === 0 ? d("home.overview") : A(M.value.title ?? "")), B = i(() => [
1955
2661
  { heading: w(k.value?.id).title },
1956
- { heading: R.value },
2662
+ { heading: z.value },
1957
2663
  { text: M.value.quote ?? "" },
1958
2664
  { text: M.value.description ?? "" }
1959
2665
  ]);
1960
2666
  return (t, i) => {
1961
2667
  let f = v("router-link");
1962
- return O.value ? (p(), s("div", $i, [
1963
- u(ni, { next: O.value.next }, null, 8, ["next"]),
1964
- c("div", ea, [c("div", ta, [
1965
- c("div", na, y(L(k.value.id)), 1),
1966
- c("div", ra, "\xA0" + y(R.value), 1),
1967
- N.value.length ? (p(), s("div", ia, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
2668
+ return O.value ? (p(), s("div", Po, [
2669
+ u(Ia, { next: O.value.next }, null, 8, ["next"]),
2670
+ c("div", Fo, [c("div", Io, [
2671
+ c("div", Lo, y(R(k.value.id)), 1),
2672
+ c("div", Ro, "\xA0" + y(z.value), 1),
2673
+ N.value.length ? (p(), s("div", zo, [(p(!0), s(n, null, g(N.value, (e, t) => (p(), s("button", {
1968
2674
  key: `${e.n}-${e.variants[0].id}`,
1969
2675
  type: "button",
1970
- onClick: (e) => ee(t)
2676
+ onClick: (e) => L(t)
1971
2677
  }, [c("img", {
1972
2678
  src: e.variants[0].image_url,
1973
2679
  alt: ""
1974
- }, null, 8, oa)], 8, aa))), 128))])) : o("", !0),
2680
+ }, null, 8, Vo)], 8, Bo))), 128))])) : o("", !0),
1975
2681
  i[2] ||= c("div", { class: "mwnf-sh-page__rule" }, null, -1),
1976
- c("div", sa, [M.value.quote ? (p(), s("div", {
2682
+ c("div", Ho, [M.value.quote ? (p(), s("div", {
1977
2683
  key: 0,
1978
2684
  class: "mwnf-sh-page__quote",
1979
2685
  innerHTML: b(r).md(M.value.quote)
1980
- }, null, 8, ca)) : o("", !0), M.value.description ? (p(), s("div", {
2686
+ }, null, 8, Uo)) : o("", !0), M.value.description ? (p(), s("div", {
1981
2687
  key: 1,
1982
2688
  innerHTML: b(r).md(M.value.description)
1983
- }, null, 8, la)) : o("", !0)]),
1984
- c("div", ua, [c("b", null, [
1985
- c("span", da, y(b(d)("page.moreAbout")), 1),
2689
+ }, null, 8, Wo)) : o("", !0)]),
2690
+ c("div", Go, [c("b", null, [
2691
+ c("span", Ko, y(b(d)("page.moreAbout")), 1),
1986
2692
  i[1] ||= c("br", null, null, -1),
1987
- c("span", fa, y(L(k.value.id)), 1)
2693
+ c("span", qo, y(R(k.value.id)), 1)
1988
2694
  ]), c("ul", null, [c("li", null, [c("img", {
1989
2695
  src: b(m)("legacy/arrow_inner_black.gif"),
1990
2696
  alt: "",
1991
2697
  class: "mwnf-sh-arrow",
1992
2698
  width: "11",
1993
2699
  height: "8"
1994
- }, null, 8, pa), e.page === 0 ? (p(), s("span", ma, y(b(d)("home.overview")), 1)) : (p(), a(f, {
2700
+ }, null, 8, Jo), e.page === 0 ? (p(), s("span", Yo, y(b(d)("home.overview")), 1)) : (p(), a(f, {
1995
2701
  key: 1,
1996
2702
  to: {
1997
2703
  name: "theme",
@@ -2006,7 +2712,7 @@ var pr = {
2006
2712
  class: "mwnf-sh-arrow",
2007
2713
  width: "11",
2008
2714
  height: "8"
2009
- }, null, 8, ha), e.page === n + 1 ? (p(), s("span", ga, y(L(t.id)), 1)) : (p(), a(f, {
2715
+ }, null, 8, Xo), e.page === n + 1 ? (p(), s("span", Zo, y(R(t.id)), 1)) : (p(), a(f, {
2010
2716
  key: 1,
2011
2717
  to: {
2012
2718
  name: "subtheme",
@@ -2016,24 +2722,24 @@ var pr = {
2016
2722
  }
2017
2723
  }
2018
2724
  }, {
2019
- default: C(() => [l(y(L(t.id)), 1)]),
2725
+ default: C(() => [l(y(R(t.id)), 1)]),
2020
2726
  _: 2
2021
2727
  }, 1032, ["to"]))]))), 128))])]),
2022
- u(si, {
2728
+ u(Va, {
2023
2729
  title: b(D),
2024
- blocks: z.value
2730
+ blocks: B.value
2025
2731
  }, null, 8, ["title", "blocks"])
2026
- ]), u(Qi, {
2732
+ ]), u(No, {
2027
2733
  view: I.value,
2028
2734
  "onUpdate:view": i[0] ||= (e) => I.value = e,
2029
2735
  slot: N.value[F.value] ?? null
2030
2736
  }, null, 8, ["view", "slot"])]),
2031
- c("div", _a, [c("div", va, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
2737
+ c("div", Qo, [c("div", $o, [c("b", null, y(b(d)("page.inExhibition")), 1), c("ul", null, [c("li", null, [c("img", {
2032
2738
  src: b(m)("legacy/arrow.gif"),
2033
2739
  alt: "",
2034
2740
  width: "10",
2035
2741
  height: "9"
2036
- }, null, 8, ya), u(f, { to: { name: "introduction" } }, {
2742
+ }, null, 8, es), u(f, { to: { name: "introduction" } }, {
2037
2743
  default: C(() => [l(y(b(d)("home.introduction")), 1)]),
2038
2744
  _: 1
2039
2745
  })]), (p(!0), s(n, null, g(b(T), (t, n) => (p(), s("li", { key: t.id }, [c("img", {
@@ -2041,47 +2747,47 @@ var pr = {
2041
2747
  alt: "",
2042
2748
  width: "10",
2043
2749
  height: "9"
2044
- }, null, 8, ba), n + 1 === e.theme ? (p(), s("span", xa, y(L(t.id)), 1)) : (p(), a(f, {
2750
+ }, null, 8, ts), n + 1 === e.theme ? (p(), s("span", ns, y(R(t.id)), 1)) : (p(), a(f, {
2045
2751
  key: 1,
2046
2752
  to: {
2047
2753
  name: "theme",
2048
2754
  params: { theme: n + 1 }
2049
2755
  }
2050
2756
  }, {
2051
- default: C(() => [l(y(L(t.id)), 1)]),
2757
+ default: C(() => [l(y(R(t.id)), 1)]),
2052
2758
  _: 2
2053
- }, 1032, ["to"]))]))), 128))])]), c("div", Sa, [u(xr, {
2759
+ }, 1032, ["to"]))]))), 128))])]), c("div", rs, [u(ta, {
2054
2760
  arrow: "legacy/arrow_inner.gif",
2055
2761
  "theme-id": k.value.id,
2056
2762
  "subtheme-id": e.page === 0 ? null : j.value.id
2057
- }, null, 8, ["theme-id", "subtheme-id"]), u(Er, { class: "mwnf-sh-bottom__windows" })])])
2763
+ }, null, 8, ["theme-id", "subtheme-id"]), u(oa, { class: "mwnf-sh-bottom__windows" })])])
2058
2764
  ])) : (p(), a(b(E), { key: 0 }));
2059
2765
  };
2060
2766
  }
2061
- }, wa = { key: 0 }, Ta = { class: "mwnf-sh-reading" }, Ea = { class: "mwnf-sh-reading__languages" }, Da = {
2767
+ }, as = { key: 0 }, os = { class: "mwnf-sh-reading" }, ss = { class: "mwnf-sh-reading__languages" }, cs = {
2062
2768
  key: 0,
2063
2769
  class: "mwnf-sh-reading__language mwnf-sh-reading__language--current"
2064
- }, Oa = {
2770
+ }, ls = {
2065
2771
  key: 1,
2066
2772
  class: "mwnf-sh-reading__language"
2067
- }, ka = { class: "mwnf-sh-reading__content" }, Aa = { class: "mwnf-sh-reading__close" }, ja = ["src"], Ma = { class: "mwnf-sh-reading__title" }, Na = ["innerHTML"], Pa = {
2773
+ }, us = { class: "mwnf-sh-reading__content" }, ds = { class: "mwnf-sh-reading__close" }, fs = ["src"], ps = { class: "mwnf-sh-reading__title" }, ms = ["innerHTML"], hs = {
2068
2774
  __name: "FurtherReading",
2069
2775
  setup(e) {
2070
2776
  let { data: t, label: r, lang: a, languageName: d, offered: f, picture: m, root: h, text: _, title: x } = $(), S = i(() => h.value ? _(h.value.id).extra?.bibliography ?? {} : {}), w = i(() => S.value[a.value] ? a.value : "en"), E = i(() => S.value[w.value] ?? []), D = i(() => f.filter((e) => S.value[e]?.length).reverse()), O = () => window.close();
2071
2777
  return (e, i) => {
2072
2778
  let a = v("router-link");
2073
- return b(h) ? (p(), s("div", wa, [u(ni, {
2779
+ return b(h) ? (p(), s("div", as, [u(Ia, {
2074
2780
  kind: "intro",
2075
2781
  heading: b(r)("related.furtherReading"),
2076
2782
  paging: !1
2077
- }, null, 8, ["heading"]), c("div", Ta, [c("div", Ea, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", Da, y(b(d)(e)), 1)) : (p(), s("div", Oa, [u(a, { to: {
2783
+ }, null, 8, ["heading"]), c("div", os, [c("div", ss, [(p(!0), s(n, null, g(D.value, (e) => (p(), s(n, { key: e }, [e === w.value ? (p(), s("div", cs, y(b(d)(e)), 1)) : (p(), s("div", ls, [u(a, { to: {
2078
2784
  name: "further-reading",
2079
2785
  query: { lang: e }
2080
2786
  } }, {
2081
2787
  default: C(() => [l(y(b(d)(e)), 1)]),
2082
2788
  _: 2
2083
- }, 1032, ["to"])]))], 64))), 128))]), c("div", ka, [
2084
- c("div", Aa, [c("a", {
2789
+ }, 1032, ["to"])]))], 64))), 128))]), c("div", us, [
2790
+ c("div", ds, [c("a", {
2085
2791
  href: "#",
2086
2792
  onClick: T(O, ["prevent"])
2087
2793
  }, [c("img", {
@@ -2089,16 +2795,16 @@ var pr = {
2089
2795
  alt: "",
2090
2796
  width: "11",
2091
2797
  height: "8"
2092
- }, null, 8, ja), l(y(b(r)("reading.close")), 1)])]),
2093
- c("div", Ma, [c("span", null, y(b(x)), 1)]),
2798
+ }, null, 8, fs), l(y(b(r)("reading.close")), 1)])]),
2799
+ c("div", ps, [c("span", null, y(b(x)), 1)]),
2094
2800
  (p(!0), s(n, null, g(E.value, (e) => (p(), s("p", {
2095
2801
  key: e,
2096
2802
  innerHTML: b(t).mdInline(e)
2097
- }, null, 8, Na))), 128))
2803
+ }, null, 8, ms))), 128))
2098
2804
  ])])])) : o("", !0);
2099
2805
  };
2100
2806
  }
2101
- }, Fa = ["innerHTML"], Ia = {
2807
+ }, gs = ["innerHTML"], _s = {
2102
2808
  __name: "Window",
2103
2809
  props: { kind: {
2104
2810
  type: String,
@@ -2113,10 +2819,10 @@ var pr = {
2113
2819
  c("h3", null, y(b(l)), 1),
2114
2820
  c("p", null, y(b(r)(`windows.${e.kind}`)), 1),
2115
2821
  n[0] ||= c("br", null, null, -1),
2116
- c("div", { innerHTML: d.value }, null, 8, Fa)
2822
+ c("div", { innerHTML: d.value }, null, 8, gs)
2117
2823
  ]));
2118
2824
  }
2119
- }, La = ["src"], Ra = {
2825
+ }, vs = ["src"], ys = {
2120
2826
  __name: "Zoom",
2121
2827
  props: { image: {
2122
2828
  type: String,
@@ -2131,58 +2837,58 @@ var pr = {
2131
2837
  key: 0,
2132
2838
  src: c.value,
2133
2839
  alt: ""
2134
- }, null, 8, La)) : o("", !0);
2840
+ }, null, 8, vs)) : o("", !0);
2135
2841
  }
2136
- }, za = [
2842
+ }, bs = [
2137
2843
  "collections",
2138
2844
  "items",
2139
2845
  "countries",
2140
2846
  "partners"
2141
2847
  ];
2142
- function Ba(e) {
2848
+ function xs(e) {
2143
2849
  return [
2144
2850
  {
2145
2851
  path: "/",
2146
2852
  name: "home",
2147
- component: Kr,
2148
- meta: e("home", ...za)
2853
+ component: Ea,
2854
+ meta: e("home", ...bs)
2149
2855
  },
2150
2856
  {
2151
2857
  path: "/introduction",
2152
2858
  name: "introduction",
2153
- component: Mi,
2154
- meta: e("introduction", ...za)
2859
+ component: po,
2860
+ meta: e("introduction", ...bs)
2155
2861
  },
2156
2862
  {
2157
2863
  path: "/theme/:theme(\\d+)",
2158
2864
  name: "theme",
2159
- component: Ca,
2865
+ component: is,
2160
2866
  props: (e) => ({
2161
2867
  theme: Number(e.params.theme),
2162
2868
  page: 0
2163
2869
  }),
2164
- meta: e("theme", ...za)
2870
+ meta: e("theme", ...bs)
2165
2871
  },
2166
2872
  {
2167
2873
  path: "/theme/:theme(\\d+)/:page(\\d+)",
2168
2874
  name: "subtheme",
2169
- component: Ca,
2875
+ component: is,
2170
2876
  props: (e) => ({
2171
2877
  theme: Number(e.params.theme),
2172
2878
  page: Number(e.params.page)
2173
2879
  }),
2174
- meta: e("subtheme", ...za)
2880
+ meta: e("subtheme", ...bs)
2175
2881
  },
2176
2882
  {
2177
2883
  path: "/further-reading",
2178
2884
  name: "further-reading",
2179
- component: Pa,
2885
+ component: hs,
2180
2886
  meta: e("further-reading", "collections")
2181
2887
  },
2182
2888
  {
2183
2889
  path: "/credits",
2184
2890
  name: "credits",
2185
- component: Ia,
2891
+ component: _s,
2186
2892
  props: { kind: "curators" },
2187
2893
  meta: {
2188
2894
  ...e("credits", "collections"),
@@ -2192,7 +2898,7 @@ function Ba(e) {
2192
2898
  {
2193
2899
  path: "/cover-image",
2194
2900
  name: "cover-image",
2195
- component: Ia,
2901
+ component: _s,
2196
2902
  props: { kind: "coverImage" },
2197
2903
  meta: {
2198
2904
  ...e("cover-image", "collections"),
@@ -2202,7 +2908,7 @@ function Ba(e) {
2202
2908
  {
2203
2909
  path: "/zoom",
2204
2910
  name: "zoom",
2205
- component: Ra,
2911
+ component: ys,
2206
2912
  props: (e) => ({ image: String(e.query.img ?? "") }),
2207
2913
  meta: {
2208
2914
  ...e("zoom", "collections"),
@@ -2211,8 +2917,8 @@ function Ba(e) {
2211
2917
  }
2212
2918
  ];
2213
2919
  }
2214
- var Va = "https://www.museumwnf.org/about/language-policy";
2215
- function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2920
+ var Ss = "https://www.museumwnf.org/about/language-policy";
2921
+ function Cs({ languages: e, parent: t, profiles: n = [], texts: r = Li }) {
2216
2922
  let i = [{
2217
2923
  label: "header.project",
2218
2924
  href: `${t}/#/about`
@@ -2286,7 +2992,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2286
2992
  },
2287
2993
  {
2288
2994
  label: "footer.languagePolicy",
2289
- href: Va
2995
+ href: Ss
2290
2996
  },
2291
2997
  {
2292
2998
  label: "footer.cookies",
@@ -2295,7 +3001,7 @@ function Ha({ languages: e, parent: t, profiles: n = [], texts: r = rr }) {
2295
3001
  ]
2296
3002
  };
2297
3003
  }
2298
- function Ua({ parent: e, texts: t = rr, ...n }) {
3004
+ function ws({ parent: e, texts: t = Li, ...n }) {
2299
3005
  return {
2300
3006
  parent: e,
2301
3007
  texts: t,
@@ -2304,17 +3010,108 @@ function Ua({ parent: e, texts: t = rr, ...n }) {
2304
3010
  };
2305
3011
  }
2306
3012
  //#endregion
2307
- //#region src/minisite/artintro/Home.vue
2308
- var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML"], Ja = { class: "mwnf-artintro-home__menu" }, Ya = {
3013
+ //#region src/minisite/baroqueart/Shell.vue
3014
+ var Ts = {
3015
+ key: 1,
3016
+ class: "mwnf-baroqueart"
3017
+ }, Es = { class: "mwnf-baroqueart__column" }, Ds = { class: "mwnf-baroqueart-header" }, Os = { class: "mwnf-baroqueart-header__logo" }, ks = ["href"], As = ["src"], js = { class: "mwnf-baroqueart-header__nav" }, Ms = { class: "mwnf-baroqueart-header__back" }, Ns = ["href"], Ps = ["value", "aria-label"], Fs = ["value"], Is = { class: "mwnf-baroqueart-menu" }, Ls = { class: "mwnf-baroqueart-menu__list" }, Rs = ["href"], zs = { class: "mwnf-baroqueart-footer" }, Bs = ["href"], Vs = {
3018
+ __name: "Shell",
3019
+ props: {
3020
+ languages: {
3021
+ type: Array,
3022
+ default: () => []
3023
+ },
3024
+ language: {
3025
+ type: String,
3026
+ required: !0
3027
+ },
3028
+ logoHref: {
3029
+ type: String,
3030
+ required: !0
3031
+ },
3032
+ logoTip: {
3033
+ type: String,
3034
+ default: "minisiteBaroque.header.logoTip"
3035
+ },
3036
+ headerLinks: {
3037
+ type: Array,
3038
+ default: () => []
3039
+ },
3040
+ menu: {
3041
+ type: Array,
3042
+ default: () => []
3043
+ },
3044
+ footerLinks: {
3045
+ type: Array,
3046
+ default: () => []
3047
+ },
3048
+ copyright: {
3049
+ type: String,
3050
+ required: !0
3051
+ }
3052
+ },
3053
+ emits: ["update:language"],
3054
+ setup(t, { emit: r }) {
3055
+ let a = t, u = r, { t: m } = R(), h = z(), v = B(), S = i(() => v.meta?.bare ?? null), C = (t) => e(h.chrome, t), T = i(() => [...a.languages].sort((e, t) => e.label.localeCompare(t.label))), E = (/* @__PURE__ */ new Date()).getFullYear(), D = i(() => {
3056
+ let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
3057
+ return a.language === "en" ? [e, t] : [t, e];
3058
+ });
3059
+ return (e, r) => (p(), s(n, null, [S.value ? (p(), s("div", {
3060
+ key: 0,
3061
+ class: d(`mwnf-baroqueart-window mwnf-baroqueart-window--${S.value}`)
3062
+ }, [_(e.$slots, "default")], 2)) : (p(), s("div", Ts, [
3063
+ c("div", {
3064
+ class: "mwnf-baroqueart__strip",
3065
+ style: f({ backgroundImage: D.value[0] ? `url(${D.value[0]})` : "none" }),
3066
+ "aria-hidden": "true"
3067
+ }, null, 4),
3068
+ c("div", Es, [
3069
+ c("header", Ds, [c("div", Os, [w((p(), s("a", { href: t.logoHref }, [c("img", {
3070
+ src: C(`legacy/logo_${t.language}.gif`),
3071
+ alt: "",
3072
+ height: "60"
3073
+ }, null, 8, As)], 8, ks)), [[b(G), { text: t.logoTip ? b(m)(t.logoTip) : "" }]])]), c("div", js, [c("div", Ms, [(p(!0), s(n, null, g(t.headerLinks, (e, t) => (p(), s(n, { key: e.label }, [t > 0 ? (p(), s(n, { key: 0 }, [l("\xA0|\xA0")], 64)) : o("", !0), w((p(), s("a", {
3074
+ class: "mwnf-baroqueart-header__link",
3075
+ href: e.href
3076
+ }, [l(y(b(m)(e.label)), 1)], 8, Ns)), [[b(G), { text: e.tip ? b(m)(e.tip) : "" }]])], 64))), 128))]), c("div", null, [c("select", {
3077
+ class: "mwnf-baroqueart-header__select",
3078
+ value: t.language,
3079
+ "aria-label": b(m)("layout.language.label"),
3080
+ onChange: r[0] ||= (e) => u("update:language", e.target.value)
3081
+ }, [(p(!0), s(n, null, g(T.value, (e) => (p(), s("option", {
3082
+ key: e.code,
3083
+ value: e.code
3084
+ }, y(e.label), 9, Fs))), 128))], 40, Ps)])])]),
3085
+ c("main", null, [_(e.$slots, "default")]),
3086
+ c("nav", Is, [c("ul", Ls, [(p(!0), s(n, null, g(t.menu, (e) => (p(), s("li", { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, Rs)]))), 128))])]),
3087
+ r[2] ||= c("div", { class: "mwnf-baroqueart-menu__line" }, null, -1),
3088
+ c("footer", zs, [(p(!0), s(n, null, g(t.footerLinks, (e) => (p(), s(n, { key: e.label }, [c("a", { href: e.href }, y(b(m)(e.label)), 9, Bs), r[1] ||= l("\xA0|\xA0 ", -1)], 64))), 128)), l(y(b(m)(t.copyright)) + " " + y(b(E)), 1)])
3089
+ ]),
3090
+ c("div", {
3091
+ class: "mwnf-baroqueart__strip",
3092
+ style: f({ backgroundImage: D.value[1] ? `url(${D.value[1]})` : "none" }),
3093
+ "aria-hidden": "true"
3094
+ }, null, 4)
3095
+ ])), w(c("div", {
3096
+ class: "mwnf-baroqueart-tip",
3097
+ style: f({
3098
+ left: `${b(H).x + 12}px`,
3099
+ top: `${b(H).y + 16}px`,
3100
+ width: `${b(H).width}px`
3101
+ }),
3102
+ role: "tooltip"
3103
+ }, y(b(H).text), 5), [[x, b(H).visible]])], 64));
3104
+ }
3105
+ }, Hs = ["innerHTML"], Us = ["innerHTML"], Ws = ["innerHTML"], Gs = ["innerHTML"], Ks = { class: "mwnf-artintro-home__menu" }, qs = {
2309
3106
  key: 0,
2310
3107
  class: "mwnf-artintro-home__menu2"
2311
- }, Xa = {
3108
+ }, Js = {
2312
3109
  key: 1,
2313
3110
  class: "mwnf-artintro-home__icons"
2314
- }, Za = { class: "mwnf-artintro-home__social" }, Qa = ["href"], $a = {
3111
+ }, Ys = { class: "mwnf-artintro-home__social" }, Xs = ["href"], Zs = {
2315
3112
  __name: "Home",
2316
3113
  setup(e) {
2317
- let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = X(), E = i(() => d.value ? h(d.value.id) : {}), D = i(() => d.value ? a.mdInline(E.value.description, { glossary: T(d.value.id) }) : ""), O = i(() => (x.menuSecondColumnFrom ?? Infinity) - 1), k = i(() => m.value.slice(0, O.value).map((e, t) => ({
3114
+ let { label: t, lang: r, data: a, root: d, themes: m, text: h, title: _, settings: x, picture: w, glossaryFor: T } = Be(), E = i(() => d.value ? h(d.value.id) : {}), D = i(() => d.value ? a.mdInline(E.value.description, { glossary: T(d.value.id) }) : ""), O = i(() => (x.menuSecondColumnFrom ?? Infinity) - 1), k = i(() => m.value.slice(0, O.value).map((e, t) => ({
2318
3115
  theme: e,
2319
3116
  number: t + 1
2320
3117
  }))), A = i(() => m.value.slice(O.value).map((e, t) => ({
@@ -2332,34 +3129,34 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
2332
3129
  c("div", {
2333
3130
  class: "mwnf-artintro-home__title",
2334
3131
  innerHTML: b(a).mdInline(b(_))
2335
- }, null, 8, Wa),
3132
+ }, null, 8, Hs),
2336
3133
  c("div", {
2337
3134
  class: "mwnf-artintro-home__subtitle",
2338
3135
  innerHTML: b(a).mdInline(E.value.extra?.subtitle ?? "")
2339
- }, null, 8, Ga),
3136
+ }, null, 8, Us),
2340
3137
  c("div", {
2341
3138
  class: "mwnf-artintro-home__description",
2342
3139
  innerHTML: D.value
2343
- }, null, 8, Ka),
3140
+ }, null, 8, Ws),
2344
3141
  c("div", {
2345
3142
  class: "mwnf-artintro-home__credits",
2346
3143
  innerHTML: b(a).mdInline(E.value.extra?.credits ?? "")
2347
- }, null, 8, qa),
2348
- c("div", Ja, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
3144
+ }, null, 8, Gs),
3145
+ c("div", Ks, [(p(!0), s(n, null, g(k.value, ({ theme: e, number: t }) => (p(), s("div", { key: e.id }, [u(r, { to: {
2349
3146
  name: "page",
2350
3147
  params: { theme: t }
2351
3148
  } }, {
2352
3149
  default: C(() => [l(y(b(h)(e.id).title), 1)]),
2353
3150
  _: 2
2354
3151
  }, 1032, ["to"])]))), 128))]),
2355
- A.value.length ? (p(), s("div", Ya, [(p(!0), s(n, null, g(A.value, ({ theme: e, number: n }) => (p(), s("div", { key: e.id }, [t[0] ||= l(" > ", -1), u(r, { to: {
3152
+ A.value.length ? (p(), s("div", qs, [(p(!0), s(n, null, g(A.value, ({ theme: e, number: n }) => (p(), s("div", { key: e.id }, [t[0] ||= l(" > ", -1), u(r, { to: {
2356
3153
  name: "page",
2357
3154
  params: { theme: n }
2358
3155
  } }, {
2359
3156
  default: C(() => [l(y(b(h)(e.id).title), 1)]),
2360
3157
  _: 2
2361
3158
  }, 1032, ["to"])]))), 128))])) : o("", !0),
2362
- j.value.length ? (p(), s("div", Xa, [c("div", Za, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
3159
+ j.value.length ? (p(), s("div", Js, [c("div", Ys, [(p(!0), s(n, null, g(j.value, (e) => (p(), s("a", {
2363
3160
  key: e.href,
2364
3161
  href: e.href,
2365
3162
  target: "_blank",
@@ -2371,17 +3168,17 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
2371
3168
  width: `${e.aspect ?? 1}em`
2372
3169
  }),
2373
3170
  "aria-hidden": "true"
2374
- }, null, 4)], 8, Qa))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
3171
+ }, null, 4)], 8, Xs))), 128))]), t[1] ||= c("br", null, null, -1)])) : o("", !0)
2375
3172
  ], 4);
2376
3173
  };
2377
3174
  }
2378
- }, eo = {
3175
+ }, Qs = {
2379
3176
  key: 0,
2380
3177
  class: "mwnf-artintro-page"
2381
- }, to = { class: "mwnf-artintro-page__back" }, no = ["innerHTML"], ro = ["innerHTML"], io = { class: "mwnf-artintro-page__body" }, ao = ["innerHTML"], oo = { class: "mwnf-artintro-page__pages" }, so = ["innerHTML"], co = ["innerHTML"], lo = ["innerHTML"], uo = { class: "mwnf-artintro-page__item" }, fo = { class: "mwnf-artintro-page__image" }, po = ["src"], mo = {
3178
+ }, $s = { class: "mwnf-artintro-page__back" }, ec = ["innerHTML"], tc = ["innerHTML"], nc = { class: "mwnf-artintro-page__body" }, rc = ["innerHTML"], ic = { class: "mwnf-artintro-page__pages" }, ac = ["innerHTML"], oc = ["innerHTML"], sc = ["innerHTML"], cc = { class: "mwnf-artintro-page__item" }, lc = { class: "mwnf-artintro-page__image" }, uc = ["src"], dc = {
2382
3179
  key: 0,
2383
3180
  class: "mwnf-artintro-page__caption"
2384
- }, ho = ["innerHTML"], go = { key: 0 }, _o = ["innerHTML"], vo = ["innerHTML"], yo = { key: 0 }, bo = ["onClick"], xo = ["src"], So = ["innerHTML"], Co = { key: 1 }, wo = ["href"], To = { class: "mwnf-artintro-page__thumbs" }, Eo = ["onClick"], Do = ["src"], Oo = {
3181
+ }, fc = ["innerHTML"], pc = { key: 0 }, mc = ["innerHTML"], hc = ["innerHTML"], gc = { key: 0 }, _c = ["onClick"], vc = ["src"], yc = ["innerHTML"], bc = { key: 1 }, xc = ["href"], Sc = { class: "mwnf-artintro-page__thumbs" }, Cc = ["onClick"], wc = ["src"], Tc = {
2385
3182
  __name: "Page",
2386
3183
  props: {
2387
3184
  theme: {
@@ -2394,62 +3191,62 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
2394
3191
  }
2395
3192
  },
2396
3193
  setup(e) {
2397
- let r = e, { label: m, lang: _, data: x, root: E, title: D, text: O, settings: k, picture: A, href: j, pages: M, slots: N, viewCaption: P, glossaryFor: F } = X(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), L = i(() => M.value.filter((e) => e.theme === r.theme)), R = i(() => I.value ? O(I.value.node.id) : {}), z = i(() => I.value ? F(I.value.node.id) : []), B = i(() => I.value ? N(I.value.node) : []), V = i(() => R.value.quote ?? ""), H = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), U = h({
3194
+ let r = e, { label: m, lang: _, data: x, root: E, title: D, text: O, settings: k, picture: A, href: j, pages: M, slots: N, viewCaption: P, glossaryFor: F } = Be(), I = i(() => M.value.find((e) => e.theme === r.theme && e.page === r.page) ?? null), R = i(() => M.value.filter((e) => e.theme === r.theme)), z = i(() => I.value ? O(I.value.node.id) : {}), B = i(() => I.value ? F(I.value.node.id) : []), V = i(() => I.value ? N(I.value.node) : []), H = i(() => z.value.quote ?? ""), U = i(() => E.value ? O(E.value.id).extra?.subtitle ?? "" : ""), W = h({
2398
3195
  slot: 0,
2399
3196
  variant: 0
2400
3197
  });
2401
- S(() => [r.theme, r.page], () => U.value = {
3198
+ S(() => [r.theme, r.page], () => W.value = {
2402
3199
  slot: 0,
2403
3200
  variant: 0
2404
3201
  });
2405
- let G = i(() => B.value[U.value.slot] ?? null), K = i(() => ke(G.value, U.value.variant)), q = i(() => G.value?.variants[U.value.variant] ? {
2406
- ...P(G.value, U.value.variant),
2407
- sheetId: Oe(G.value, U.value.variant, (e) => x.itemById.value.get(e))
3202
+ let K = i(() => V.value[W.value.slot] ?? null), q = i(() => Oe(K.value, W.value.variant)), J = i(() => K.value?.variants[W.value.variant] ? {
3203
+ ...P(K.value, W.value.variant),
3204
+ sheetId: De(K.value, W.value.variant, (e) => x.itemById.value.get(e))
2408
3205
  } : null);
2409
- function te(e) {
2410
- U.value = {
3206
+ function ee(e) {
3207
+ W.value = {
2411
3208
  slot: e,
2412
3209
  variant: 0
2413
3210
  };
2414
3211
  }
2415
- function ne(e) {
2416
- U.value = {
2417
- ...U.value,
3212
+ function te(e) {
3213
+ W.value = {
3214
+ ...W.value,
2418
3215
  variant: e
2419
3216
  };
2420
3217
  }
2421
- function re() {
2422
- K.value && Z(j({
3218
+ function ne() {
3219
+ q.value && Z(j({
2423
3220
  name: "zoom",
2424
- query: { img: K.value }
3221
+ query: { img: q.value }
2425
3222
  }), Ve.zoom);
2426
3223
  }
2427
- let J = ee(z), ie = i(() => A("legacy/page_block1_bg.gif"));
3224
+ let Y = L(B), re = i(() => A("legacy/page_block1_bg.gif"));
2428
3225
  return S([D, _], () => {
2429
3226
  document.title = [m("identity.windowTitle"), D.value].filter(Boolean).join(" | ");
2430
3227
  }, { immediate: !0 }), (r, i) => {
2431
3228
  let h = v("router-link");
2432
- return I.value ? (p(), s("div", eo, [
3229
+ return I.value ? (p(), s("div", Qs, [
2433
3230
  c("div", {
2434
3231
  class: "mwnf-artintro-page__head",
2435
- style: f({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
2436
- }, [c("div", to, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
3232
+ style: f({ backgroundImage: re.value ? `url(${re.value})` : "none" })
3233
+ }, [c("div", $s, [i[2] ||= l(" < ", -1), u(h, { to: { name: "home" } }, {
2437
3234
  default: C(() => [
2438
- c("span", { innerHTML: b(x).mdInline(H.value) }, null, 8, no),
3235
+ c("span", { innerHTML: b(x).mdInline(U.value) }, null, 8, ec),
2439
3236
  i[1] ||= l(" | ", -1),
2440
- c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, ro)
3237
+ c("span", { innerHTML: b(x).mdInline(b(D)) }, null, 8, tc)
2441
3238
  ]),
2442
3239
  _: 1
2443
3240
  })])], 4),
2444
- c("div", io, [c("div", {
3241
+ c("div", nc, [c("div", {
2445
3242
  class: "mwnf-artintro-page__text",
2446
- onClick: i[0] ||= (...e) => b(J).onClick && b(J).onClick(...e)
3243
+ onClick: i[0] ||= (...e) => b(Y).onClick && b(Y).onClick(...e)
2447
3244
  }, [
2448
3245
  c("div", {
2449
3246
  class: "mwnf-artintro-page__title",
2450
3247
  innerHTML: b(x).mdInline(b(O)(I.value.themeNode.id).title)
2451
- }, null, 8, ao),
2452
- c("div", oo, [(p(!0), s(n, null, g(L.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
3248
+ }, null, 8, rc),
3249
+ c("div", ic, [(p(!0), s(n, null, g(R.value, (t, r) => (p(), s(n, { key: t.node.id }, [r > 0 ? (p(), s(n, { key: 0 }, [l(" / ")], 64)) : o("", !0), u(h, {
2453
3250
  to: {
2454
3251
  name: "page",
2455
3252
  params: {
@@ -2459,69 +3256,69 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
2459
3256
  },
2460
3257
  class: d(t.page === e.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
2461
3258
  }, {
2462
- default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, so)]),
3259
+ default: C(() => [c("span", { innerHTML: b(x).mdInline(b(O)(t.node.id).title) }, null, 8, ac)]),
2463
3260
  _: 2
2464
3261
  }, 1032, ["to", "class"])], 64))), 128))]),
2465
3262
  c("div", {
2466
- class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Ne)(V.value) }]),
2467
- innerHTML: b(x).mdInline(V.value, { glossary: z.value })
2468
- }, null, 10, co),
3263
+ class: d(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": b(Me)(H.value) }]),
3264
+ innerHTML: b(x).mdInline(H.value, { glossary: B.value })
3265
+ }, null, 10, oc),
2469
3266
  c("div", {
2470
3267
  class: "mwnf-artintro-page__content",
2471
- innerHTML: b(x).md(R.value.description, { glossary: z.value })
2472
- }, null, 8, lo)
2473
- ]), c("div", uo, [
2474
- c("div", fo, [K.value ? w((p(), s("a", {
3268
+ innerHTML: b(x).md(z.value.description, { glossary: B.value })
3269
+ }, null, 8, sc)
3270
+ ]), c("div", cc, [
3271
+ c("div", lc, [q.value ? w((p(), s("a", {
2475
3272
  key: 0,
2476
3273
  href: "#",
2477
- onClick: T(re, ["prevent"])
3274
+ onClick: T(ne, ["prevent"])
2478
3275
  }, [c("img", {
2479
- src: K.value,
3276
+ src: q.value,
2480
3277
  alt: ""
2481
- }, null, 8, po)])), [[b(W), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
2482
- q.value ? (p(), s("div", mo, [
3278
+ }, null, 8, uc)])), [[b(G), { text: b(m)("item.showZoom") }]]) : o("", !0)]),
3279
+ J.value ? (p(), s("div", dc, [
2483
3280
  c("div", null, [
2484
- c("strong", { innerHTML: b(x).mdInline(q.value.name) }, null, 8, ho),
3281
+ c("strong", { innerHTML: b(x).mdInline(J.value.name) }, null, 8, fc),
2485
3282
  i[3] ||= c("br", null, null, -1),
2486
- (p(!0), s(n, null, g(q.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", go)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, _o)], 64))), 128))
3283
+ (p(!0), s(n, null, g(J.value.dateLines, (e, t) => (p(), s(n, { key: t }, [t > 0 ? (p(), s("br", pc)) : o("", !0), c("span", { innerHTML: b(x).mdInline(e) }, null, 8, mc)], 64))), 128))
2487
3284
  ]),
2488
- c("div", null, [(p(!0), s(n, null, g(q.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, vo), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
2489
- G.value.variants.length > 1 ? (p(), s("div", yo, [(p(!0), s(n, null, g(G.value.variants, (e, t) => w((p(), s("a", {
3285
+ c("div", null, [(p(!0), s(n, null, g(J.value.details, (e, t) => (p(), s(n, { key: t }, [c("span", { innerHTML: b(x).mdInline(e) }, null, 8, hc), i[4] ||= c("br", null, null, -1)], 64))), 128))]),
3286
+ K.value.variants.length > 1 ? (p(), s("div", gc, [(p(!0), s(n, null, g(K.value.variants, (e, t) => w((p(), s("a", {
2490
3287
  key: t,
2491
3288
  href: "#",
2492
- onClick: T((e) => ne(t), ["prevent"])
3289
+ onClick: T((e) => te(t), ["prevent"])
2493
3290
  }, [c("img", {
2494
- src: b(A)(t === U.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
3291
+ src: b(A)(t === W.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
2495
3292
  alt: ""
2496
- }, null, 8, xo)], 8, bo)), [[b(W), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
3293
+ }, null, 8, vc)], 8, _c)), [[b(G), { text: b(m)("item.showDetail") }]])), 128))])) : o("", !0),
2497
3294
  c("div", {
2498
3295
  class: "mwnf-artintro-page__justification",
2499
- innerHTML: b(x).mdInline(q.value.justification)
2500
- }, null, 8, So),
2501
- q.value.sheetId ? (p(), s("div", Co, [c("a", {
3296
+ innerHTML: b(x).mdInline(J.value.justification)
3297
+ }, null, 8, yc),
3298
+ J.value.sheetId ? (p(), s("div", bc, [c("a", {
2502
3299
  class: "mwnf-artintro-page__more",
2503
- href: b(k).itemHref?.(q.value.sheetId)
2504
- }, "> " + y(b(m)("item.moreInfo")), 9, wo)])) : o("", !0)
3300
+ href: b(k).itemHref?.(J.value.sheetId)
3301
+ }, "> " + y(b(m)("item.moreInfo")), 9, xc)])) : o("", !0)
2505
3302
  ])) : o("", !0),
2506
- c("div", To, [(p(!0), s(n, null, g(B.value, (e, t) => w((p(), s("a", {
3303
+ c("div", Sc, [(p(!0), s(n, null, g(V.value, (e, t) => w((p(), s("a", {
2507
3304
  key: `${e.n}-${e.variants[0].entry.id}`,
2508
3305
  href: "#",
2509
- onClick: T((e) => te(t), ["prevent"])
3306
+ onClick: T((e) => ee(t), ["prevent"])
2510
3307
  }, [e.variants[0].image ? (p(), s("img", {
2511
3308
  key: 0,
2512
3309
  src: e.variants[0].image,
2513
3310
  alt: "",
2514
3311
  height: "36"
2515
- }, null, 8, Do)) : o("", !0)], 8, Eo)), [[b(W), {
3312
+ }, null, 8, wc)) : o("", !0)], 8, Cc)), [[b(G), {
2516
3313
  text: b(x).mdStrip(b(P)(e, 0).name),
2517
3314
  width: 160
2518
3315
  }]])), 128))])
2519
3316
  ])]),
2520
- b(J).active.value ? (p(), a(t, {
3317
+ b(Y).active.value ? (p(), a(t, {
2521
3318
  key: 0,
2522
- term: b(J).active.value,
2523
- html: b(x).md(b(J).active.value.definition),
2524
- onClose: b(J).close
3319
+ term: b(Y).active.value,
3320
+ html: b(x).md(b(Y).active.value.definition),
3321
+ onClose: b(Y).close
2525
3322
  }, null, 8, [
2526
3323
  "term",
2527
3324
  "html",
@@ -2533,23 +3330,23 @@ var Wa = ["innerHTML"], Ga = ["innerHTML"], Ka = ["innerHTML"], qa = ["innerHTML
2533
3330
  };
2534
3331
  //#endregion
2535
3332
  //#region src/minisite/artintro/routes.js
2536
- function ko(e) {
3333
+ function Ec(e) {
2537
3334
  return [
2538
3335
  {
2539
3336
  path: "/",
2540
3337
  name: "home",
2541
- component: $a,
3338
+ component: Zs,
2542
3339
  meta: e("home", "collections")
2543
3340
  },
2544
3341
  {
2545
3342
  path: "/page/:theme(\\d+)/:page(\\d+)?",
2546
3343
  name: "page",
2547
- component: Oo,
3344
+ component: Tc,
2548
3345
  props: (e) => ({
2549
3346
  theme: Number(e.params.theme),
2550
3347
  page: Number(e.params.page || 1)
2551
3348
  }),
2552
- meta: e("page", ...Be)
3349
+ meta: e("page", ...ze)
2553
3350
  },
2554
3351
  {
2555
3352
  path: "/zoom",
@@ -2563,7 +3360,7 @@ function ko(e) {
2563
3360
  }
2564
3361
  ];
2565
3362
  }
2566
- function Ao({ languages: e, parent: t, texts: n = Pe.GAI }) {
3363
+ function Dc({ languages: e, parent: t, texts: n = Ne.GAI }) {
2567
3364
  let r = [
2568
3365
  ["aboutMwnf", j.about],
2569
3366
  ["contact", j.contact],
@@ -2592,7 +3389,7 @@ function Ao({ languages: e, parent: t, texts: n = Pe.GAI }) {
2592
3389
  copyright: `${n}.footer.copyright`
2593
3390
  };
2594
3391
  }
2595
- function jo({ parent: e, ...t }) {
3392
+ function Oc({ parent: e, ...t }) {
2596
3393
  return {
2597
3394
  parent: e,
2598
3395
  family: "GAI",
@@ -2601,4 +3398,4 @@ function jo({ parent: e, ...t }) {
2601
3398
  };
2602
3399
  }
2603
3400
  //#endregion
2604
- export { $a as ArtIntroHome, Oo as ArtIntroPage, Be as EXHIBITION_ENTITIES, _e as ISLAMICART_NO_COUNTRY, Pe as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, me as MinisiteShell, kn as MinisiteZoom, ge as PLACEHOLDER_TITLE, rr as SHARINGHISTORY_LABELS, pr as SHARINGHISTORY_WINDOWS, Pa as SharingHistoryFurtherReading, Kr as SharingHistoryHome, Mi as SharingHistoryIntroduction, Ca as SharingHistoryPage, nr as SharingHistoryShell, Ia as SharingHistoryWindow, Ra as SharingHistoryZoom, Ao as artintroNavigation, ko as artintroRoutes, jo as artintroSettings, Mn as baroqueartMenu, Y as cleanText, je as curatorLabel, Me as curatorLink, Ee as detailViewCaption, ze as exhibitionData, Fe as familyOf, Ae as introCaption, jn as islamicartMenu, Ie as labelSet, Pn as minisiteNavigation, An as minisiteRoutes, Fn as minisiteSettings, ye as pageWithNeighbours, Te as placementCaption, Ne as quoteHasItalics, ve as readingOrder, dr as sharinghistoryCaption, sr as sharinghistoryListedSubthemes, or as sharinghistoryListedThemes, Ha as sharinghistoryNavigation, cr as sharinghistoryPageRoute, lr as sharinghistoryPageWithNext, ar as sharinghistoryReadingOrder, fr as sharinghistoryRelatedLinks, Ba as sharinghistoryRoutes, Ua as sharinghistorySettings, ur as sharinghistorySlotsOf, Oe as sheetItemId, be as slotsOf, X as useExhibition, $ as useSharingHistoryExhibition, ke as viewPicture, De as withFirstView };
3401
+ export { Zs as ArtIntroHome, Tc as ArtIntroPage, Bn as BAROQUEART_LABELS, An as BAROQUEART_NO_COUNTRY, Hn as BAROQUEART_WINDOWS, lr as BaroqueartHome, Dr as BaroqueartIntroduction, ni as BaroqueartPage, Vs as BaroqueartShell, ai as BaroqueartZoom, ze as EXHIBITION_ENTITIES, ge as ISLAMICART_NO_COUNTRY, Ne as LABELS, Sn as MinisiteCredits, pt as MinisiteHome, Ut as MinisiteIntroduction, En as MinisiteMap, yn as MinisitePage, pe as MinisiteShell, kn as MinisiteZoom, he as PLACEHOLDER_TITLE, Li as SHARINGHISTORY_LABELS, qi as SHARINGHISTORY_WINDOWS, hs as SharingHistoryFurtherReading, Ea as SharingHistoryHome, po as SharingHistoryIntroduction, is as SharingHistoryPage, Ii as SharingHistoryShell, _s as SharingHistoryWindow, ys as SharingHistoryZoom, Dc as artintroNavigation, Ec as artintroRoutes, Oc as artintroSettings, Fn as baroqueartCaption, zn as baroqueartCuratorLabel, In as baroqueartDetailViewCaption, Rn as baroqueartIntroCaption, si as baroqueartMenu, li as baroqueartNavigation, oi as baroqueartRoutes, ui as baroqueartSettings, jn as baroqueartSlotsOf, Ln as baroqueartWithFirstView, X as cleanText, Ae as curatorLabel, je as curatorLink, Te as detailViewCaption, Re as exhibitionData, Pe as familyOf, ke as introCaption, fi as islamicartMenu, Fe as labelSet, mi as minisiteNavigation, di as minisiteRoutes, hi as minisiteSettings, ve as pageWithNeighbours, we as placementCaption, Me as quoteHasItalics, _e as readingOrder, Gi as sharinghistoryCaption, Vi as sharinghistoryListedSubthemes, Bi as sharinghistoryListedThemes, Cs as sharinghistoryNavigation, Hi as sharinghistoryPageRoute, Ui as sharinghistoryPageWithNext, zi as sharinghistoryReadingOrder, Ki as sharinghistoryRelatedLinks, xs as sharinghistoryRoutes, ws as sharinghistorySettings, Wi as sharinghistorySlotsOf, De as sheetItemId, ye as slotsOf, Un as useBaroqueartExhibition, Be as useExhibition, $ as useSharingHistoryExhibition, Oe as viewPicture, Ee as withFirstView };