@museumwnf/viewer-layout 3.80.1 → 3.80.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LegacyItemSheet-DKgLfAz_.js +662 -0
- package/dist/RecordView-DAvWufWV.js +384 -0
- package/dist/{SiteShell-CzKgoOBm.js → SiteShell-D0u1FGMu.js} +47 -47
- package/dist/Theme-BUfsZDdm.js +408 -0
- package/dist/components.js +1 -1
- package/dist/{content-hV5uyd-b.js → content-B1458eb-.js} +6 -6
- package/dist/content.js +1 -1
- package/dist/{data-D9H1tB75.js → data-CD0QmDAc.js} +13 -13
- package/dist/{data-DlmKSxgh.js → data-CxiuR3R_.js} +16 -17
- package/dist/dxa.js +1075 -1075
- package/dist/index.js +1 -1
- package/dist/minisite.js +1159 -1159
- package/dist/standalone.js +967 -967
- package/dist/{themeSpecs-BJ82RvA1.js → themeSpecs-C0tSNkSd.js} +1 -1
- package/dist/views.js +298 -298
- package/package.json +9 -4
- package/dist/LegacyItemSheet-CNooycyz.js +0 -662
- package/dist/RecordView-CBC7tBCX.js +0 -384
- package/dist/Theme-BCn6_VkI.js +0 -408
package/dist/minisite.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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";
|
|
1
|
+
import { Fragment as e, Teleport as t, computed as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, createVNode as c, normalizeClass as l, normalizeStyle as u, openBlock as d, reactive as f, ref as p, renderList as m, renderSlot as h, resolveComponent as g, toDisplayString as _, unref as v, vShow as y, watch as b, withCtx as x, withDirectives as S, withModifiers as C } from "vue";
|
|
2
|
+
import { useRoute as w, useRouter as T } from "vue-router";
|
|
4
3
|
import { NotFoundView as E, glossaryEntries as D, glossaryTermsFor as O, languageLabels as k, mdInline as A, mdStrip as j, mwnfLinks as M, offeredLanguages as N, removeEndingPoint as P, renderBlock as F, sectionMeta as I, useCatalogue as L, useCollectionTree as R, useDataPackage as z, useGlossaryPopup as ee, useI18n as B, useSiteConfig as V } from "@museumwnf/viewer-core";
|
|
5
|
-
import {
|
|
4
|
+
import { r as H } from "./chrome-Bv_mLlHM.js";
|
|
5
|
+
import { t as te } from "./GlossaryPopover-DbQKXhx9.js";
|
|
6
6
|
// src/minisite/tip.js
|
|
7
|
-
var
|
|
7
|
+
var U = f({
|
|
8
8
|
text: "",
|
|
9
9
|
width: 100,
|
|
10
10
|
x: 0,
|
|
11
11
|
y: 0,
|
|
12
12
|
visible: !1
|
|
13
13
|
});
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function W(e) {
|
|
15
|
+
U.x = e.pageX, U.y = e.pageY;
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function G(e, t) {
|
|
18
18
|
e.__tip = t.value;
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var K = {
|
|
21
21
|
mounted(e, t) {
|
|
22
|
-
|
|
22
|
+
G(e, t), e.addEventListener("mouseenter", (t) => {
|
|
23
23
|
let n = e.__tip;
|
|
24
|
-
n?.text && (
|
|
25
|
-
}), e.addEventListener("mousemove",
|
|
26
|
-
|
|
24
|
+
n?.text && (U.text = n.text, U.width = n.width ?? 100, W(t), U.visible = !0);
|
|
25
|
+
}), e.addEventListener("mousemove", W), e.addEventListener("mouseleave", () => {
|
|
26
|
+
U.visible = !1;
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
|
-
updated:
|
|
29
|
+
updated: G,
|
|
30
30
|
beforeUnmount() {
|
|
31
|
-
|
|
31
|
+
U.visible = !1;
|
|
32
32
|
}
|
|
33
|
-
},
|
|
33
|
+
}, ne = {
|
|
34
34
|
key: 1,
|
|
35
35
|
class: "mwnf-minisite"
|
|
36
|
-
},
|
|
36
|
+
}, re = { class: "mwnf-minisite__column" }, q = { class: "mwnf-minisite-header" }, J = { class: "mwnf-minisite-header__logo" }, ie = ["href"], ae = ["src"], oe = { class: "mwnf-minisite-header__nav" }, se = { class: "mwnf-minisite-header__back" }, ce = ["href"], le = ["value", "aria-label"], ue = ["value"], de = { class: "mwnf-minisite-menu" }, fe = { class: "mwnf-minisite-menu__list" }, pe = ["href", "onClick"], me = ["href"], he = { class: "mwnf-minisite-footer" }, ge = ["href"], _e = {
|
|
37
37
|
__name: "Shell",
|
|
38
38
|
props: {
|
|
39
39
|
languages: {
|
|
@@ -71,80 +71,80 @@ var q = {
|
|
|
71
71
|
},
|
|
72
72
|
emits: ["update:language"],
|
|
73
73
|
setup(t, { emit: r }) {
|
|
74
|
-
let
|
|
75
|
-
let e =
|
|
76
|
-
return
|
|
74
|
+
let c = t, f = r, { t: p } = B(), g = V(), b = w(), x = n(() => b.meta?.bare ?? null), T = (e) => H(g.chrome, e), E = n(() => [...c.languages].sort((e, t) => e.label.localeCompare(t.label))), D = (/* @__PURE__ */ new Date()).getFullYear(), O = n(() => {
|
|
75
|
+
let e = T("legacy/bg_fading_left.gif"), t = T("legacy/bg_fading_right.gif");
|
|
76
|
+
return c.language === "en" ? [e, t] : [t, e];
|
|
77
77
|
});
|
|
78
78
|
function k(e) {
|
|
79
79
|
let t = Math.min(window.screen.availWidth, 1600), n = Math.min(window.screen.availHeight, 1200);
|
|
80
80
|
window.open(e.href, "exhibitions", `left=0,top=0,width=${t},height=${n}`)?.focus();
|
|
81
81
|
}
|
|
82
|
-
return (
|
|
82
|
+
return (n, r) => (d(), a(e, null, [x.value ? (d(), a("div", {
|
|
83
83
|
key: 0,
|
|
84
|
-
class:
|
|
85
|
-
}, [
|
|
86
|
-
|
|
84
|
+
class: l(`mwnf-minisite-window mwnf-minisite-window--${x.value}`)
|
|
85
|
+
}, [h(n.$slots, "default")], 2)) : (d(), a("div", ne, [
|
|
86
|
+
o("div", {
|
|
87
87
|
class: "mwnf-minisite__strip",
|
|
88
|
-
style:
|
|
88
|
+
style: u({ backgroundImage: O.value[0] ? `url(${O.value[0]})` : "none" }),
|
|
89
89
|
"aria-hidden": "true"
|
|
90
90
|
}, null, 4),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
src:
|
|
91
|
+
o("div", re, [
|
|
92
|
+
o("header", q, [o("div", J, [S((d(), a("a", { href: t.logoHref }, [o("img", {
|
|
93
|
+
src: T(`legacy/logo_${t.language}.gif`),
|
|
94
94
|
alt: "",
|
|
95
95
|
height: "60"
|
|
96
|
-
}, null, 8,
|
|
96
|
+
}, null, 8, ae)], 8, ie)), [[v(K), { text: t.logoTip ? v(p)(t.logoTip) : "" }]])]), o("div", oe, [o("div", se, [(d(!0), a(e, null, m(t.headerLinks, (t, n) => (d(), a(e, { key: t.label }, [n > 0 ? (d(), a(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : i("", !0), S((d(), a("a", {
|
|
97
97
|
class: "mwnf-minisite-header__link",
|
|
98
|
-
href:
|
|
99
|
-
}, [
|
|
98
|
+
href: t.href
|
|
99
|
+
}, [s(_(v(p)(t.label)), 1)], 8, ce)), [[v(K), { text: t.tip ? v(p)(t.tip) : "" }]])], 64))), 128))]), o("div", null, [o("select", {
|
|
100
100
|
class: "mwnf-minisite-header__select",
|
|
101
101
|
value: t.language,
|
|
102
|
-
"aria-label":
|
|
103
|
-
onChange: r[0] ||= (e) =>
|
|
104
|
-
}, [(
|
|
102
|
+
"aria-label": v(p)("layout.language.label"),
|
|
103
|
+
onChange: r[0] ||= (e) => f("update:language", e.target.value)
|
|
104
|
+
}, [(d(!0), a(e, null, m(E.value, (e) => (d(), a("option", {
|
|
105
105
|
key: e.code,
|
|
106
106
|
value: e.code
|
|
107
|
-
},
|
|
108
|
-
|
|
109
|
-
t.menu.length ? (
|
|
107
|
+
}, _(e.label), 9, ue))), 128))], 40, le)])])]),
|
|
108
|
+
o("main", null, [h(n.$slots, "default")]),
|
|
109
|
+
t.menu.length ? (d(), a(e, { key: 0 }, [o("nav", de, [o("ul", fe, [(d(!0), a(e, null, m(t.menu, (t, n) => (d(), a(e, { key: t.label }, [n > 0 ? (d(), a(e, { key: 0 }, [s("|")], 64)) : i("", !0), o("li", null, [t.window ? (d(), a("a", {
|
|
110
110
|
key: 0,
|
|
111
|
-
href:
|
|
112
|
-
onClick:
|
|
113
|
-
},
|
|
111
|
+
href: t.href,
|
|
112
|
+
onClick: C((e) => k(t), ["prevent"])
|
|
113
|
+
}, _(v(p)(t.label)), 9, pe)) : (d(), a("a", {
|
|
114
114
|
key: 1,
|
|
115
|
-
href:
|
|
116
|
-
},
|
|
117
|
-
|
|
115
|
+
href: t.href
|
|
116
|
+
}, _(v(p)(t.label)), 9, me))])], 64))), 128))])]), r[1] ||= o("div", { class: "mwnf-minisite-menu__line" }, null, -1)], 64)) : i("", !0),
|
|
117
|
+
o("footer", he, [(d(!0), a(e, null, m(t.footerLinks, (t) => (d(), a(e, { key: t.label }, [o("a", { href: t.href }, _(v(p)(t.label)), 9, ge), r[2] ||= s("\xA0|\xA0 ", -1)], 64))), 128)), s(_(v(p)(t.copyright)) + " " + _(v(D)), 1)])
|
|
118
118
|
]),
|
|
119
|
-
|
|
119
|
+
o("div", {
|
|
120
120
|
class: "mwnf-minisite__strip",
|
|
121
|
-
style:
|
|
121
|
+
style: u({ backgroundImage: O.value[1] ? `url(${O.value[1]})` : "none" }),
|
|
122
122
|
"aria-hidden": "true"
|
|
123
123
|
}, null, 4)
|
|
124
|
-
])),
|
|
124
|
+
])), S(o("div", {
|
|
125
125
|
class: "mwnf-minisite-tip",
|
|
126
|
-
style:
|
|
127
|
-
left: `${
|
|
128
|
-
top: `${
|
|
129
|
-
width: `${
|
|
126
|
+
style: u({
|
|
127
|
+
left: `${v(U).x + 12}px`,
|
|
128
|
+
top: `${v(U).y + 16}px`,
|
|
129
|
+
width: `${v(U).width}px`
|
|
130
130
|
}),
|
|
131
131
|
role: "tooltip"
|
|
132
|
-
},
|
|
132
|
+
}, _(v(U).text), 5), [[y, v(U).visible]])], 64));
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, ve = [
|
|
135
135
|
[/[‘’]/g, "'"],
|
|
136
136
|
[/[“”]/g, "\""],
|
|
137
137
|
[/…/g, "..."],
|
|
138
138
|
[/•/g, "*"]
|
|
139
139
|
];
|
|
140
|
-
function
|
|
141
|
-
return
|
|
140
|
+
function Y(e) {
|
|
141
|
+
return ve.reduce((e, [t, n]) => e.replace(t, n), String(e ?? ""));
|
|
142
142
|
}
|
|
143
|
-
var
|
|
143
|
+
var ye = /^(Artintro )?(Theme|Page) \d+$/, be = {
|
|
144
144
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
145
145
|
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}`)
|
|
146
146
|
};
|
|
147
|
-
function
|
|
147
|
+
function xe(e, t) {
|
|
148
148
|
return e.flatMap((e, n) => t(e.id).map((t, r) => ({
|
|
149
149
|
theme: n + 1,
|
|
150
150
|
page: r + 1,
|
|
@@ -152,7 +152,7 @@ function be(e, t) {
|
|
|
152
152
|
themeNode: e
|
|
153
153
|
})));
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Se(e, t, n) {
|
|
156
156
|
let r = e.findIndex((e) => e.theme === t && e.page === n);
|
|
157
157
|
if (r < 0) return null;
|
|
158
158
|
let i = (e) => ({
|
|
@@ -168,7 +168,7 @@ function xe(e, t, n) {
|
|
|
168
168
|
next: r < e.length - 1 ? i(e[r + 1]) : null
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Ce(e) {
|
|
172
172
|
let t = /* @__PURE__ */ new Map();
|
|
173
173
|
for (let n of e?.items ?? []) {
|
|
174
174
|
let e = n.display_order ?? 0;
|
|
@@ -183,21 +183,21 @@ function Se(e) {
|
|
|
183
183
|
}))
|
|
184
184
|
}));
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function we(e, t, n) {
|
|
187
187
|
return !e || e.type === "object" && n?.partners?.includes(e.partner_id) || e.type === "monument" && n?.monuments?.includes(e.mwnf_reference) ? "" : t(e);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Te(e, t, n, r) {
|
|
190
190
|
return [
|
|
191
191
|
P(t.location ?? ""),
|
|
192
192
|
P(t.province ?? ""),
|
|
193
|
-
|
|
193
|
+
we(e, n, r)
|
|
194
194
|
].filter(Boolean).join(", ");
|
|
195
195
|
}
|
|
196
|
-
function Te({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
197
|
-
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : we(e, t, r, i);
|
|
198
|
-
}
|
|
199
196
|
function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
200
|
-
|
|
197
|
+
return n.location ? [n.location, e ? r(e) : ""].filter(Boolean).join(", ") : Te(e, t, r, i);
|
|
198
|
+
}
|
|
199
|
+
function De({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
200
|
+
let a = e?.type === "object" ? n.museum || P(t.holder ?? "") : "", o = Ee({
|
|
201
201
|
item: e,
|
|
202
202
|
own: t,
|
|
203
203
|
caption: n,
|
|
@@ -205,14 +205,14 @@ function Ee({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i })
|
|
|
205
205
|
noCountry: i
|
|
206
206
|
});
|
|
207
207
|
return {
|
|
208
|
-
name:
|
|
209
|
-
detailName:
|
|
210
|
-
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(
|
|
211
|
-
details: [a, o].filter(Boolean).map(
|
|
212
|
-
justification:
|
|
208
|
+
name: Y(n.name ? P(n.name) : P(t.name ?? "")),
|
|
209
|
+
detailName: Y(n.detail_name),
|
|
210
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(Y),
|
|
211
|
+
details: [a, o].filter(Boolean).map(Y),
|
|
212
|
+
justification: Y(n.justification)
|
|
213
213
|
};
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function Oe(e, t) {
|
|
216
216
|
return {
|
|
217
217
|
name: e.name || t.name,
|
|
218
218
|
detailName: e.detailName || t.detailName,
|
|
@@ -221,63 +221,63 @@ function De(e, t) {
|
|
|
221
221
|
justification: e.justification || t.justification
|
|
222
222
|
};
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function ke(e, t, n) {
|
|
225
225
|
let r = (e) => {
|
|
226
226
|
let t = e ? n(e.entry.id) : null;
|
|
227
227
|
return t && t.type !== "picture" ? t.id : null;
|
|
228
228
|
};
|
|
229
229
|
return r(e?.variants[t]) ?? r(e?.variants[0]) ?? null;
|
|
230
230
|
}
|
|
231
|
-
function
|
|
231
|
+
function Ae(e, t) {
|
|
232
232
|
return e?.variants[t]?.image || e?.variants[0]?.image || null;
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
let a = (e, t) => e ?
|
|
234
|
+
function je({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
235
|
+
let a = (e, t) => e ? Y(P(e)) : t;
|
|
236
236
|
return [
|
|
237
237
|
a(n.name, P(t.name ?? "")),
|
|
238
238
|
a(n.date, P(t.dates ?? "")),
|
|
239
|
-
a(n.dynasty,
|
|
239
|
+
a(n.dynasty, Y(P(t.dynasty ?? ""))),
|
|
240
240
|
e?.type === "object" ? a(n.museum, P(t.holder ?? "")) : "",
|
|
241
|
-
a(n.location,
|
|
241
|
+
a(n.location, Te(e, t, r, i))
|
|
242
242
|
];
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function Me(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
245
245
|
let i = (e) => e ? r(e) : "";
|
|
246
246
|
return e.partner ? [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function Ne(e, t) {
|
|
249
249
|
return "href" in e ? e.href : t?.(e.partner);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Pe(e) {
|
|
252
252
|
return /(^|[^*])\*[^*\s][^*]*\*/.test(e ?? "") || /\b_[^_]+_\b/.test(e ?? "");
|
|
253
253
|
}
|
|
254
254
|
// src/minisite/exhibition.js
|
|
255
|
-
var
|
|
255
|
+
var Fe = {
|
|
256
256
|
ISL: "minisite",
|
|
257
257
|
BAR: "minisiteBaroque",
|
|
258
258
|
SH: "minisiteSharingHistory",
|
|
259
259
|
GAI: "minisiteArtIntro"
|
|
260
260
|
};
|
|
261
|
-
function
|
|
261
|
+
function Ie(e) {
|
|
262
262
|
return e?.family ?? "ISL";
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
return e?.texts ??
|
|
264
|
+
function Le(e) {
|
|
265
|
+
return e?.texts ?? Fe[Ie(e)] ?? Fe.ISL;
|
|
266
266
|
}
|
|
267
|
-
var
|
|
267
|
+
var Re = [
|
|
268
268
|
"collections",
|
|
269
269
|
"items",
|
|
270
270
|
"countries",
|
|
271
271
|
"partners",
|
|
272
272
|
"glossary"
|
|
273
|
-
],
|
|
274
|
-
function
|
|
275
|
-
if (!
|
|
273
|
+
], ze = null;
|
|
274
|
+
function Be() {
|
|
275
|
+
if (!ze) {
|
|
276
276
|
let e = z();
|
|
277
|
-
|
|
277
|
+
ze = {
|
|
278
278
|
pkg: e,
|
|
279
279
|
data: L({
|
|
280
|
-
eager:
|
|
280
|
+
eager: Re,
|
|
281
281
|
glossary: !1
|
|
282
282
|
}),
|
|
283
283
|
tree: R({
|
|
@@ -286,77 +286,77 @@ function ze() {
|
|
|
286
286
|
})
|
|
287
287
|
};
|
|
288
288
|
}
|
|
289
|
-
return
|
|
289
|
+
return ze;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var Ve = [
|
|
292
292
|
"collections",
|
|
293
293
|
"items",
|
|
294
294
|
"countries",
|
|
295
295
|
"glossary"
|
|
296
296
|
];
|
|
297
|
-
function
|
|
298
|
-
let { pkg:
|
|
299
|
-
|
|
300
|
-
let
|
|
301
|
-
function
|
|
302
|
-
let n =
|
|
303
|
-
return
|
|
297
|
+
function X() {
|
|
298
|
+
let { pkg: e, data: t, tree: r } = Be(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = Le(s), l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
299
|
+
b(d, (t) => Promise.all(Re.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
300
|
+
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() => xe(p.value, r.children));
|
|
301
|
+
function h(t) {
|
|
302
|
+
let n = e.translations("collections", d.value)[t] ?? {};
|
|
303
|
+
return ye.test(n.title ?? "") ? {
|
|
304
304
|
...n,
|
|
305
305
|
title: ""
|
|
306
306
|
} : n;
|
|
307
307
|
}
|
|
308
|
-
let
|
|
309
|
-
function
|
|
308
|
+
let g = (e) => e?.country_id ? P(t.tr("countries", e.country_id, d.value).name ?? "") : "";
|
|
309
|
+
function _(e) {
|
|
310
310
|
return {
|
|
311
|
-
item:
|
|
312
|
-
own:
|
|
313
|
-
caption: e.caption?.[
|
|
314
|
-
countryName:
|
|
315
|
-
noCountry:
|
|
311
|
+
item: t.itemById.value.get(e.id),
|
|
312
|
+
own: t.tr("items", e.id, d.value),
|
|
313
|
+
caption: e.caption?.[d.value] ?? {},
|
|
314
|
+
countryName: g,
|
|
315
|
+
noCountry: s.noCountry
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
|
-
function
|
|
319
|
-
let n = (e) =>
|
|
320
|
-
return r ?
|
|
318
|
+
function v(e, t) {
|
|
319
|
+
let n = (e) => De(_(e.entry)), r = e?.variants[t];
|
|
320
|
+
return r ? Oe(n(r), n(e.variants[0])) : null;
|
|
321
321
|
}
|
|
322
|
-
function
|
|
323
|
-
let r =
|
|
324
|
-
return r.length === 0 ? [] : D(O({ glossary_ids: r },
|
|
325
|
-
translations:
|
|
326
|
-
byId:
|
|
322
|
+
function y(n) {
|
|
323
|
+
let r = h(n).glossary_ids ?? [];
|
|
324
|
+
return r.length === 0 ? [] : D(O({ glossary_ids: r }, d.value, {
|
|
325
|
+
translations: e.translations,
|
|
326
|
+
byId: t.index("glossary").value
|
|
327
327
|
}));
|
|
328
328
|
}
|
|
329
|
-
function x(
|
|
330
|
-
return
|
|
329
|
+
function x(e) {
|
|
330
|
+
return e ? H(o.chrome, String(e).replace("{lang}", d.value)) : null;
|
|
331
331
|
}
|
|
332
|
-
function
|
|
333
|
-
return new URL(
|
|
332
|
+
function S(e) {
|
|
333
|
+
return new URL(u.resolve({
|
|
334
334
|
...e,
|
|
335
335
|
query: {
|
|
336
336
|
...e.query,
|
|
337
|
-
lang:
|
|
337
|
+
lang: d.value
|
|
338
338
|
}
|
|
339
339
|
}).href, window.location.href).href;
|
|
340
340
|
}
|
|
341
341
|
return {
|
|
342
|
-
t:
|
|
343
|
-
label:
|
|
344
|
-
lang:
|
|
345
|
-
data:
|
|
346
|
-
root:
|
|
347
|
-
themes:
|
|
348
|
-
pages:
|
|
349
|
-
text:
|
|
350
|
-
settings:
|
|
342
|
+
t: a,
|
|
343
|
+
label: l,
|
|
344
|
+
lang: d,
|
|
345
|
+
data: t,
|
|
346
|
+
root: f,
|
|
347
|
+
themes: p,
|
|
348
|
+
pages: m,
|
|
349
|
+
text: h,
|
|
350
|
+
settings: s,
|
|
351
351
|
picture: x,
|
|
352
|
-
href:
|
|
353
|
-
glossaryFor:
|
|
354
|
-
pageAt: (e, t) =>
|
|
355
|
-
slots:
|
|
356
|
-
placementCaption: (e) =>
|
|
357
|
-
viewCaption:
|
|
358
|
-
introCaption: (e) =>
|
|
359
|
-
title:
|
|
352
|
+
href: S,
|
|
353
|
+
glossaryFor: y,
|
|
354
|
+
pageAt: (e, t) => Se(m.value, e, t),
|
|
355
|
+
slots: Ce,
|
|
356
|
+
placementCaption: (e) => De(_(e)),
|
|
357
|
+
viewCaption: v,
|
|
358
|
+
introCaption: (e) => je(_(e)),
|
|
359
|
+
title: n(() => f.value ? h(f.value.id).title ?? "" : "")
|
|
360
360
|
};
|
|
361
361
|
}
|
|
362
362
|
var He = {
|
|
@@ -373,71 +373,71 @@ var Ue = { class: "mwnf-minisite-home" }, We = { class: "mwnf-minisite-home__tit
|
|
|
373
373
|
class: "mwnf-minisite-home__menu2"
|
|
374
374
|
}, Je = { class: "mwnf-minisite-partners" }, Ye = { class: "mwnf-minisite-partners__line" }, Xe = ["href"], Ze = { class: "mwnf-minisite-partners__logos" }, Qe = ["href"], $e = ["src"], et = {
|
|
375
375
|
__name: "Home",
|
|
376
|
-
setup(
|
|
377
|
-
let { label:
|
|
376
|
+
setup(t) {
|
|
377
|
+
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: w, settings: T, picture: E, href: D, glossaryFor: O } = X(), k = n(() => p.value ? f.mdInline(y(p.value.id).description, { glossary: O(p.value.id) }) : ""), A = n(() => (T.menuSecondColumnFrom ?? 1e400) - 1), j = n(() => h.value.slice(0, A.value).map((e, t) => ({
|
|
378
378
|
theme: e,
|
|
379
379
|
number: t + 1
|
|
380
|
-
}))), M =
|
|
380
|
+
}))), M = n(() => h.value.slice(A.value).map((e, t) => ({
|
|
381
381
|
theme: e,
|
|
382
382
|
number: A.value + t + 1
|
|
383
|
-
}))), N =
|
|
384
|
-
partnerName: (e) =>
|
|
385
|
-
partnerCountry: (e) =>
|
|
386
|
-
countryName: (e) =>
|
|
387
|
-
}), F = (e) =>
|
|
388
|
-
return
|
|
389
|
-
document.title = [
|
|
390
|
-
}, { immediate: !0 }), (
|
|
391
|
-
let
|
|
392
|
-
return
|
|
393
|
-
|
|
394
|
-
|
|
383
|
+
}))), N = n(() => T.curators ?? []), P = (e) => Me(e, {
|
|
384
|
+
partnerName: (e) => f.tr("partners", e, l.value).name,
|
|
385
|
+
partnerCountry: (e) => f.partnerById.value.get(e)?.country_id,
|
|
386
|
+
countryName: (e) => f.tr("countries", e, l.value).name
|
|
387
|
+
}), F = (e) => Ne(e, T.partnerHref), I = n(() => E(l.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
388
|
+
return b([w, l], () => {
|
|
389
|
+
document.title = [r("identity.windowTitle"), w.value].filter(Boolean).join(" | ");
|
|
390
|
+
}, { immediate: !0 }), (t, n) => {
|
|
391
|
+
let l = g("router-link");
|
|
392
|
+
return d(), a(e, null, [o("div", Ue, [
|
|
393
|
+
n[4] ||= o("div", { class: "mwnf-minisite-home__bg1" }, null, -1),
|
|
394
|
+
o("div", {
|
|
395
395
|
class: "mwnf-minisite-home__bg2",
|
|
396
|
-
style:
|
|
396
|
+
style: u({ backgroundImage: I.value ? `url(${I.value})` : "none" })
|
|
397
397
|
}, null, 4),
|
|
398
|
-
|
|
399
|
-
|
|
398
|
+
o("div", We, _(v(w)), 1),
|
|
399
|
+
o("div", {
|
|
400
400
|
class: "mwnf-minisite-home__description",
|
|
401
401
|
innerHTML: k.value
|
|
402
402
|
}, null, 8, Ge),
|
|
403
|
-
|
|
404
|
-
default:
|
|
403
|
+
o("div", Ke, [o("div", null, [n[1] ||= s("> ", -1), c(l, { to: { name: "introduction" } }, {
|
|
404
|
+
default: x(() => [s(_(v(r)("home.introduction")), 1)]),
|
|
405
405
|
_: 1
|
|
406
|
-
})]), (
|
|
406
|
+
})]), (d(!0), a(e, null, m(j.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[2] ||= s(" > ", -1), c(l, { to: {
|
|
407
407
|
name: "exhibition",
|
|
408
408
|
params: { theme: t }
|
|
409
409
|
} }, {
|
|
410
|
-
default:
|
|
410
|
+
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
411
411
|
_: 2
|
|
412
412
|
}, 1032, ["to"])]))), 128))]),
|
|
413
|
-
M.value.length ? (
|
|
413
|
+
M.value.length ? (d(), a("div", qe, [(d(!0), a(e, null, m(M.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[3] ||= s(" > ", -1), c(l, { to: {
|
|
414
414
|
name: "exhibition",
|
|
415
415
|
params: { theme: t }
|
|
416
416
|
} }, {
|
|
417
|
-
default:
|
|
417
|
+
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
418
418
|
_: 2
|
|
419
|
-
}, 1032, ["to"])]))), 128))])) :
|
|
420
|
-
]),
|
|
421
|
-
href:
|
|
422
|
-
onClick:
|
|
423
|
-
},
|
|
419
|
+
}, 1032, ["to"])]))), 128))])) : i("", !0)
|
|
420
|
+
]), o("div", Je, [o("div", Ye, [o("a", {
|
|
421
|
+
href: v(D)({ name: "credits" }),
|
|
422
|
+
onClick: n[0] ||= C((e) => v(Z)(v(D)({ name: "credits" }), v(He).credits), ["prevent"])
|
|
423
|
+
}, _(v(r)("home.curatedBy")), 9, Xe)]), o("div", Ze, [(d(!0), a(e, null, m(N.value, (t, r) => (d(), a(e, { key: t.logo }, [S((d(), a("a", {
|
|
424
424
|
class: "mwnf-minisite-partners__curator",
|
|
425
|
-
href: F(
|
|
426
|
-
}, [
|
|
427
|
-
src:
|
|
425
|
+
href: F(t)
|
|
426
|
+
}, [o("img", {
|
|
427
|
+
src: v(E)(t.logo),
|
|
428
428
|
alt: "",
|
|
429
429
|
height: "74"
|
|
430
|
-
}, null, 8, $e)], 8, Qe)), [[
|
|
431
|
-
text: P(
|
|
430
|
+
}, null, 8, $e)], 8, Qe)), [[v(K), {
|
|
431
|
+
text: P(t),
|
|
432
432
|
width: 280
|
|
433
|
-
}]]),
|
|
434
|
-
|
|
435
|
-
|
|
433
|
+
}]]), r < N.value.length - 1 ? (d(), a(e, { key: 0 }, [
|
|
434
|
+
n[5] ||= s(_(" "), -1),
|
|
435
|
+
o("span", {
|
|
436
436
|
class: "mwnf-minisite-partners__space",
|
|
437
|
-
style:
|
|
437
|
+
style: u({ width: `${t.space ?? 0}px` })
|
|
438
438
|
}, null, 4),
|
|
439
|
-
|
|
440
|
-
], 64)) :
|
|
439
|
+
n[6] ||= s(_(" "), -1)
|
|
440
|
+
], 64)) : i("", !0)], 64))), 128))])])], 64);
|
|
441
441
|
};
|
|
442
442
|
}
|
|
443
443
|
}, Q = (e) => String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
@@ -476,38 +476,38 @@ var st = { class: "mwnf-minisite-download" }, ct = ["src"], lt = ["src"], ut = [
|
|
|
476
476
|
type: Function,
|
|
477
477
|
required: !0
|
|
478
478
|
} },
|
|
479
|
-
setup(
|
|
480
|
-
let { t
|
|
481
|
-
function
|
|
479
|
+
setup(e) {
|
|
480
|
+
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${Le(n.minisite)}.${e}`);
|
|
481
|
+
function c() {
|
|
482
482
|
window.print();
|
|
483
483
|
}
|
|
484
|
-
return (
|
|
485
|
-
n[1] ||=
|
|
486
|
-
|
|
487
|
-
src:
|
|
484
|
+
return (t, n) => (d(), a("div", st, [
|
|
485
|
+
n[1] ||= o("br", null, null, -1),
|
|
486
|
+
o("img", {
|
|
487
|
+
src: r("legacy/print_dark.gif"),
|
|
488
488
|
alt: "",
|
|
489
489
|
width: "17",
|
|
490
490
|
height: "12"
|
|
491
491
|
}, null, 8, ct),
|
|
492
|
-
|
|
493
|
-
n[2] ||=
|
|
494
|
-
|
|
495
|
-
src:
|
|
492
|
+
s(" / " + _(i("download.heading")), 1),
|
|
493
|
+
n[2] ||= o("br", null, null, -1),
|
|
494
|
+
o("img", {
|
|
495
|
+
src: r("legacy/arrow_inner_black.gif"),
|
|
496
496
|
alt: ""
|
|
497
497
|
}, null, 8, lt),
|
|
498
|
-
|
|
498
|
+
o("a", {
|
|
499
499
|
href: "#",
|
|
500
|
-
onClick:
|
|
501
|
-
},
|
|
502
|
-
n[3] ||=
|
|
503
|
-
|
|
504
|
-
src:
|
|
500
|
+
onClick: C(c, ["prevent"])
|
|
501
|
+
}, _(i("download.asPdf")), 1),
|
|
502
|
+
n[3] ||= o("br", null, null, -1),
|
|
503
|
+
o("img", {
|
|
504
|
+
src: r("legacy/arrow_inner_black.gif"),
|
|
505
505
|
alt: ""
|
|
506
506
|
}, null, 8, ut),
|
|
507
|
-
|
|
507
|
+
o("a", {
|
|
508
508
|
href: "#",
|
|
509
|
-
onClick: n[0] ||=
|
|
510
|
-
},
|
|
509
|
+
onClick: n[0] ||= C((t) => e.word(), ["prevent"])
|
|
510
|
+
}, _(i("download.asWord")), 1)
|
|
511
511
|
]));
|
|
512
512
|
}
|
|
513
513
|
}, ft = { class: "mwnf-minisite-intro__title" }, pt = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--start" }, mt = { class: "mwnf-minisite-intro__nav mwnf-minisite-intro__nav--end" }, ht = { class: "mwnf-minisite-intro__table" }, gt = ["innerHTML"], _t = ["innerHTML"], vt = { class: "mwnf-minisite-intro__side" }, yt = {
|
|
@@ -515,112 +515,112 @@ var st = { class: "mwnf-minisite-download" }, ct = ["src"], lt = ["src"], ut = [
|
|
|
515
515
|
class: "mwnf-minisite-intro-item"
|
|
516
516
|
}, bt = ["href"], xt = ["src"], St = ["href"], Ct = ["src"], wt = { key: 1 }, Tt = { key: 0 }, Et = ["innerHTML"], Dt = ["innerHTML"], Ot = {
|
|
517
517
|
__name: "Introduction",
|
|
518
|
-
setup(
|
|
519
|
-
let { label:
|
|
518
|
+
setup(t) {
|
|
519
|
+
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } = X(), A = n(() => h.value ? y(h.value.id) : {}), j = n(() => h.value ? k(h.value.id) : []), M = n(() => p.md(A.value.extra?.intro_text, { glossary: j.value })), N = n(() => p.mdInline(A.value.extra?.intro_header ?? "")), P = n(() => O(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
520
520
|
entry: e,
|
|
521
521
|
image: t,
|
|
522
|
-
lines:
|
|
523
|
-
}))),
|
|
524
|
-
function
|
|
522
|
+
lines: D(e)
|
|
523
|
+
}))), F = n(() => w.map ?? null), I = ee(j);
|
|
524
|
+
function L() {
|
|
525
525
|
rt({
|
|
526
526
|
documentTitle: w.documentTitle,
|
|
527
|
-
title:
|
|
528
|
-
header:
|
|
529
|
-
text:
|
|
530
|
-
captions:
|
|
527
|
+
title: S.value,
|
|
528
|
+
header: A.value.extra?.intro_header ?? "",
|
|
529
|
+
text: A.value.extra?.intro_text ?? "",
|
|
530
|
+
captions: P.value.map((e) => e.lines)
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
let
|
|
534
|
-
return
|
|
535
|
-
document.title = [
|
|
536
|
-
}, { immediate: !0 }), (
|
|
537
|
-
let
|
|
538
|
-
return
|
|
533
|
+
let R = n(() => T(f.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
534
|
+
return b([S, f], () => {
|
|
535
|
+
document.title = [l("identity.windowTitle"), S.value].filter(Boolean).join(" | ");
|
|
536
|
+
}, { immediate: !0 }), (t, n) => {
|
|
537
|
+
let f = g("router-link");
|
|
538
|
+
return d(), a("div", {
|
|
539
539
|
class: "mwnf-minisite-intro",
|
|
540
|
-
style:
|
|
540
|
+
style: u({ backgroundImage: R.value ? `url(${R.value})` : "none" })
|
|
541
541
|
}, [
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
default:
|
|
542
|
+
o("div", ft, _(v(S)), 1),
|
|
543
|
+
o("div", pt, [n[3] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
544
|
+
default: x(() => [s(_(v(l)("nav.entrance")), 1)]),
|
|
545
545
|
_: 1
|
|
546
546
|
})]),
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
default:
|
|
547
|
+
o("div", mt, [
|
|
548
|
+
n[4] ||= s(" < ", -1),
|
|
549
|
+
c(f, { to: { name: "home" } }, {
|
|
550
|
+
default: x(() => [s(_(v(l)("nav.previous")), 1)]),
|
|
551
551
|
_: 1
|
|
552
552
|
}),
|
|
553
|
-
|
|
554
|
-
|
|
553
|
+
n[5] ||= s(" | ", -1),
|
|
554
|
+
c(f, { to: {
|
|
555
555
|
name: "exhibition",
|
|
556
556
|
params: {
|
|
557
557
|
theme: 1,
|
|
558
558
|
page: 1
|
|
559
559
|
}
|
|
560
560
|
} }, {
|
|
561
|
-
default:
|
|
561
|
+
default: x(() => [s(_(v(l)("nav.next")), 1)]),
|
|
562
562
|
_: 1
|
|
563
563
|
}),
|
|
564
|
-
|
|
564
|
+
n[6] ||= s(" > ", -1)
|
|
565
565
|
]),
|
|
566
|
-
|
|
566
|
+
o("div", ht, [o("div", {
|
|
567
567
|
class: "mwnf-minisite-intro__text",
|
|
568
|
-
onClick:
|
|
568
|
+
onClick: n[0] ||= (...e) => v(I).onClick && v(I).onClick(...e)
|
|
569
569
|
}, [
|
|
570
|
-
|
|
570
|
+
o("div", {
|
|
571
571
|
class: "mwnf-minisite-intro__header",
|
|
572
|
-
innerHTML:
|
|
572
|
+
innerHTML: N.value
|
|
573
573
|
}, null, 8, gt),
|
|
574
|
-
|
|
574
|
+
o("div", {
|
|
575
575
|
class: "mwnf-minisite-intro__content",
|
|
576
|
-
innerHTML:
|
|
576
|
+
innerHTML: M.value
|
|
577
577
|
}, null, 8, _t),
|
|
578
|
-
|
|
579
|
-
]),
|
|
580
|
-
|
|
581
|
-
href:
|
|
582
|
-
onClick:
|
|
583
|
-
}, [
|
|
584
|
-
src:
|
|
578
|
+
c(dt, { word: L })
|
|
579
|
+
]), o("div", vt, [F.value ? (d(), a("div", yt, [
|
|
580
|
+
o("a", {
|
|
581
|
+
href: v(E)({ name: "map" }),
|
|
582
|
+
onClick: n[1] ||= C((e) => v(Z)(v(E)({ name: "map" }), v(He).map), ["prevent"])
|
|
583
|
+
}, [o("img", {
|
|
584
|
+
src: v(T)(F.value.thumbnail),
|
|
585
585
|
alt: "",
|
|
586
586
|
width: "178",
|
|
587
587
|
height: "93"
|
|
588
588
|
}, null, 8, xt)], 8, bt),
|
|
589
|
-
|
|
590
|
-
|
|
589
|
+
n[7] ||= o("br", null, null, -1),
|
|
590
|
+
o("a", {
|
|
591
591
|
class: "mwnf-minisite-intro-item__map",
|
|
592
|
-
href:
|
|
593
|
-
onClick:
|
|
594
|
-
},
|
|
595
|
-
])) :
|
|
596
|
-
key: `${
|
|
592
|
+
href: v(E)({ name: "map" }),
|
|
593
|
+
onClick: n[2] ||= C((e) => v(Z)(v(E)({ name: "map" }), v(He).map), ["prevent"])
|
|
594
|
+
}, _(v(l)("intro.enlargeMap")), 9, St)
|
|
595
|
+
])) : i("", !0), (d(!0), a(e, null, m(P.value, (t) => (d(), a("div", {
|
|
596
|
+
key: `${t.entry.id}-${t.entry.variant_order}`,
|
|
597
597
|
class: "mwnf-minisite-intro-item"
|
|
598
598
|
}, [
|
|
599
|
-
|
|
599
|
+
t.image ? (d(), a("img", {
|
|
600
600
|
key: 0,
|
|
601
601
|
class: "mwnf-minisite-intro-item__image",
|
|
602
|
-
src:
|
|
602
|
+
src: t.image,
|
|
603
603
|
alt: ""
|
|
604
|
-
}, null, 8, Ct)) :
|
|
605
|
-
|
|
606
|
-
(
|
|
604
|
+
}, null, 8, Ct)) : i("", !0),
|
|
605
|
+
t.image ? (d(), a("br", wt)) : i("", !0),
|
|
606
|
+
(d(!0), a(e, null, m(t.lines.filter(Boolean), (n, r) => (d(), a(e, { key: r }, [r > 0 ? (d(), a("br", Tt)) : i("", !0), r === 0 && t.lines[0] ? (d(), a("strong", {
|
|
607
607
|
key: 1,
|
|
608
|
-
innerHTML:
|
|
609
|
-
}, null, 8, Et)) : (
|
|
608
|
+
innerHTML: v(p).mdInline(n)
|
|
609
|
+
}, null, 8, Et)) : (d(), a("span", {
|
|
610
610
|
key: 2,
|
|
611
|
-
innerHTML:
|
|
611
|
+
innerHTML: v(p).mdInline(n)
|
|
612
612
|
}, null, 8, Dt))], 64))), 128))
|
|
613
613
|
]))), 128))])]),
|
|
614
|
-
|
|
614
|
+
v(I).active.value ? (d(), r(te, {
|
|
615
615
|
key: 0,
|
|
616
|
-
term:
|
|
617
|
-
html:
|
|
618
|
-
onClose:
|
|
616
|
+
term: v(I).active.value,
|
|
617
|
+
html: v(p).md(v(I).active.value.definition),
|
|
618
|
+
onClose: v(I).close
|
|
619
619
|
}, null, 8, [
|
|
620
620
|
"term",
|
|
621
621
|
"html",
|
|
622
622
|
"onClose"
|
|
623
|
-
])) :
|
|
623
|
+
])) : i("", !0)
|
|
624
624
|
], 4);
|
|
625
625
|
};
|
|
626
626
|
}
|
|
@@ -639,182 +639,182 @@ var st = { class: "mwnf-minisite-download" }, ct = ["src"], lt = ["src"], ut = [
|
|
|
639
639
|
required: !0
|
|
640
640
|
}
|
|
641
641
|
},
|
|
642
|
-
setup(
|
|
643
|
-
let
|
|
642
|
+
setup(t) {
|
|
643
|
+
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } = X(), F = n(() => A(f.theme, f.page)), I = n(() => F.value ? E(F.value.node.id) : {}), L = n(() => F.value ? P(F.value.node.id) : []), R = n(() => F.value ? j(F.value.node) : []), z = n(() => I.value.quote ?? ""), B = p({
|
|
644
644
|
slot: 0,
|
|
645
645
|
variant: 0
|
|
646
646
|
});
|
|
647
|
-
|
|
647
|
+
b(() => [f.theme, f.page], () => B.value = {
|
|
648
648
|
slot: 0,
|
|
649
649
|
variant: 0
|
|
650
650
|
});
|
|
651
|
-
let
|
|
652
|
-
...
|
|
653
|
-
sheetId:
|
|
651
|
+
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() => Ae(V.value, B.value.variant)), W = n(() => !V.value || !H.value ? null : {
|
|
652
|
+
...N(V.value, B.value.variant),
|
|
653
|
+
sheetId: ke(V.value, B.value.variant, (e) => w.itemById.value.get(e))
|
|
654
654
|
});
|
|
655
|
-
function
|
|
656
|
-
|
|
655
|
+
function G(e) {
|
|
656
|
+
B.value = {
|
|
657
657
|
slot: e,
|
|
658
658
|
variant: 0
|
|
659
659
|
};
|
|
660
660
|
}
|
|
661
|
-
function
|
|
662
|
-
|
|
663
|
-
...
|
|
661
|
+
function ne(e) {
|
|
662
|
+
B.value = {
|
|
663
|
+
...B.value,
|
|
664
664
|
variant: e
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
|
-
function
|
|
668
|
-
|
|
667
|
+
function re() {
|
|
668
|
+
U.value && Z(k({
|
|
669
669
|
name: "zoom",
|
|
670
|
-
query: { img:
|
|
670
|
+
query: { img: U.value }
|
|
671
671
|
}), He.zoom);
|
|
672
672
|
}
|
|
673
|
-
let
|
|
674
|
-
function
|
|
673
|
+
let q = ee(L);
|
|
674
|
+
function J() {
|
|
675
675
|
ot({
|
|
676
|
-
documentTitle:
|
|
677
|
-
title:
|
|
678
|
-
pageTitle:
|
|
679
|
-
quote:
|
|
680
|
-
text:
|
|
681
|
-
slots:
|
|
676
|
+
documentTitle: D.documentTitle,
|
|
677
|
+
title: T.value,
|
|
678
|
+
pageTitle: I.value.title ?? "",
|
|
679
|
+
quote: z.value,
|
|
680
|
+
text: I.value.description ?? "",
|
|
681
|
+
slots: R.value.map((e) => e.variants.map((t, n) => t.view ? N(e, n) : M(t.entry)))
|
|
682
682
|
});
|
|
683
683
|
}
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
684
|
+
b(() => [
|
|
685
|
+
I.value.title,
|
|
686
|
+
T.value,
|
|
687
|
+
y.value
|
|
688
688
|
], () => {
|
|
689
689
|
document.title = [
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
690
|
+
h("identity.windowTitle"),
|
|
691
|
+
T.value,
|
|
692
|
+
I.value.title,
|
|
693
|
+
f.page
|
|
694
694
|
].filter(Boolean).join(" | ");
|
|
695
695
|
}, { immediate: !0 });
|
|
696
|
-
let
|
|
697
|
-
return (
|
|
698
|
-
let
|
|
699
|
-
return
|
|
696
|
+
let ie = n(() => O(y.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
697
|
+
return (t, n) => {
|
|
698
|
+
let f = g("router-link");
|
|
699
|
+
return F.value ? (d(), a("div", {
|
|
700
700
|
key: 0,
|
|
701
701
|
class: "mwnf-minisite-page",
|
|
702
|
-
style:
|
|
702
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
703
703
|
}, [
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
default:
|
|
704
|
+
o("div", kt, [
|
|
705
|
+
o("div", At, _(v(T)), 1),
|
|
706
|
+
o("div", jt, [n[1] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
707
|
+
default: x(() => [s(_(v(h)("nav.entrance")), 1)]),
|
|
708
708
|
_: 1
|
|
709
709
|
})]),
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
default:
|
|
710
|
+
o("div", Mt, [
|
|
711
|
+
n[4] ||= s(" < ", -1),
|
|
712
|
+
c(f, { to: F.value.previous }, {
|
|
713
|
+
default: x(() => [s(_(v(h)("nav.previous")), 1)]),
|
|
714
714
|
_: 1
|
|
715
715
|
}, 8, ["to"]),
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
default:
|
|
716
|
+
F.value.next ? (d(), a(e, { key: 0 }, [
|
|
717
|
+
n[2] ||= s(" | ", -1),
|
|
718
|
+
c(f, { to: F.value.next }, {
|
|
719
|
+
default: x(() => [s(_(v(h)("nav.next")), 1)]),
|
|
720
720
|
_: 1
|
|
721
721
|
}, 8, ["to"]),
|
|
722
|
-
|
|
723
|
-
], 64)) :
|
|
722
|
+
n[3] ||= s(" > ", -1)
|
|
723
|
+
], 64)) : i("", !0)
|
|
724
724
|
])
|
|
725
725
|
]),
|
|
726
|
-
|
|
726
|
+
o("div", Nt, [o("div", {
|
|
727
727
|
class: "mwnf-minisite-page__text",
|
|
728
|
-
onClick:
|
|
728
|
+
onClick: n[0] ||= (...e) => v(q).onClick && v(q).onClick(...e)
|
|
729
729
|
}, [
|
|
730
|
-
|
|
730
|
+
o("div", {
|
|
731
731
|
class: "mwnf-minisite-page__page-title",
|
|
732
|
-
innerHTML:
|
|
732
|
+
innerHTML: v(w).mdInline(I.value.title)
|
|
733
733
|
}, null, 8, Pt),
|
|
734
|
-
|
|
734
|
+
o("div", Ft, [(d(!0), a(e, null, m(R.value, (e, t) => S((d(), a("a", {
|
|
735
735
|
key: e.n,
|
|
736
736
|
href: "#",
|
|
737
|
-
onClick:
|
|
738
|
-
}, [e.variants[0].image ? (
|
|
737
|
+
onClick: C((e) => G(t), ["prevent"])
|
|
738
|
+
}, [e.variants[0].image ? (d(), a("img", {
|
|
739
739
|
key: 0,
|
|
740
740
|
src: e.variants[0].image,
|
|
741
741
|
alt: "",
|
|
742
742
|
height: "36"
|
|
743
|
-
}, null, 8, Lt)) :
|
|
744
|
-
text:
|
|
743
|
+
}, null, 8, Lt)) : i("", !0)], 8, It)), [[v(K), {
|
|
744
|
+
text: v(w).mdStrip(v(N)(e, 0).name),
|
|
745
745
|
width: 160
|
|
746
746
|
}]])), 128))]),
|
|
747
|
-
|
|
748
|
-
class:
|
|
749
|
-
innerHTML:
|
|
747
|
+
o("div", {
|
|
748
|
+
class: l(["mwnf-minisite-page__quote", { "mwnf-minisite-page__quote--own-italics": v(Pe)(z.value) }]),
|
|
749
|
+
innerHTML: v(w).mdInline(z.value, { glossary: L.value })
|
|
750
750
|
}, null, 10, Rt),
|
|
751
|
-
|
|
751
|
+
o("div", {
|
|
752
752
|
class: "mwnf-minisite-page__content",
|
|
753
|
-
innerHTML:
|
|
753
|
+
innerHTML: v(w).md(I.value.description, { glossary: L.value })
|
|
754
754
|
}, null, 8, zt),
|
|
755
|
-
|
|
756
|
-
]),
|
|
755
|
+
c(dt, { word: J })
|
|
756
|
+
]), o("div", Bt, [o("div", Vt, [U.value ? S((d(), a("a", {
|
|
757
757
|
key: 0,
|
|
758
758
|
href: "#",
|
|
759
|
-
onClick:
|
|
760
|
-
}, [
|
|
761
|
-
src:
|
|
759
|
+
onClick: C(re, ["prevent"])
|
|
760
|
+
}, [o("img", {
|
|
761
|
+
src: U.value,
|
|
762
762
|
alt: ""
|
|
763
|
-
}, null, 8, Ht)])), [[
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
(
|
|
763
|
+
}, null, 8, Ht)])), [[v(K), { text: v(h)("item.showZoom") }]]) : i("", !0)]), W.value ? (d(), a("div", Ut, [
|
|
764
|
+
o("div", null, [
|
|
765
|
+
o("strong", { innerHTML: v(w).mdInline(W.value.name) }, null, 8, Wt),
|
|
766
|
+
n[5] ||= o("br", null, null, -1),
|
|
767
|
+
o("span", { innerHTML: v(w).mdInline(W.value.detailName) }, null, 8, Gt),
|
|
768
|
+
n[6] ||= o("br", null, null, -1),
|
|
769
|
+
(d(!0), a(e, null, m(W.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br", Kt)) : i("", !0), o("span", { innerHTML: v(w).mdInline(t) }, null, 8, qt)], 64))), 128))
|
|
770
770
|
]),
|
|
771
|
-
|
|
772
|
-
|
|
771
|
+
o("div", null, [(d(!0), a(e, null, m(W.value.details, (t, r) => (d(), a(e, { key: r }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8, Jt), n[7] ||= o("br", null, null, -1)], 64))), 128))]),
|
|
772
|
+
V.value.variants.length > 1 ? (d(), a("div", Yt, [(d(!0), a(e, null, m(V.value.variants, (e, t) => S((d(), a("a", {
|
|
773
773
|
key: t,
|
|
774
774
|
href: "#",
|
|
775
|
-
onClick:
|
|
776
|
-
}, [
|
|
777
|
-
src:
|
|
775
|
+
onClick: C((e) => ne(t), ["prevent"])
|
|
776
|
+
}, [o("img", {
|
|
777
|
+
src: v(O)(t === B.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
778
778
|
alt: ""
|
|
779
|
-
}, null, 8, Zt)], 8, Xt)), [[
|
|
780
|
-
|
|
779
|
+
}, null, 8, Zt)], 8, Xt)), [[v(K), { text: v(h)("item.showDetail") }]])), 128))])) : i("", !0),
|
|
780
|
+
o("div", {
|
|
781
781
|
class: "mwnf-minisite-page__justification",
|
|
782
|
-
innerHTML:
|
|
782
|
+
innerHTML: v(w).mdInline(W.value.justification)
|
|
783
783
|
}, null, 8, Qt),
|
|
784
|
-
|
|
784
|
+
W.value.sheetId ? (d(), a("div", $t, [o("a", {
|
|
785
785
|
class: "mwnf-minisite-page__more",
|
|
786
|
-
href:
|
|
786
|
+
href: v(D).itemHref?.(W.value.sheetId),
|
|
787
787
|
target: "_blank"
|
|
788
|
-
}, "> " +
|
|
789
|
-
])) :
|
|
790
|
-
|
|
788
|
+
}, "> " + _(v(h)("item.moreInfo")), 9, en)])) : i("", !0)
|
|
789
|
+
])) : i("", !0)])]),
|
|
790
|
+
v(q).active.value ? (d(), r(te, {
|
|
791
791
|
key: 0,
|
|
792
|
-
term:
|
|
793
|
-
html:
|
|
794
|
-
onClose:
|
|
792
|
+
term: v(q).active.value,
|
|
793
|
+
html: v(w).md(v(q).active.value.definition),
|
|
794
|
+
onClose: v(q).close
|
|
795
795
|
}, null, 8, [
|
|
796
796
|
"term",
|
|
797
797
|
"html",
|
|
798
798
|
"onClose"
|
|
799
|
-
])) :
|
|
800
|
-
], 4)) :
|
|
799
|
+
])) : i("", !0)
|
|
800
|
+
], 4)) : i("", !0);
|
|
801
801
|
};
|
|
802
802
|
}
|
|
803
803
|
}, nn = { class: "mwnf-minisite-credits" }, rn = ["innerHTML"], an = {
|
|
804
804
|
__name: "Credits",
|
|
805
805
|
setup(e) {
|
|
806
|
-
let { data: t, root:
|
|
807
|
-
return (e, t) => (
|
|
806
|
+
let { data: t, root: r, text: i, title: s } = X(), c = n(() => r.value ? t.md(i(r.value.id).extra?.exhibition_credits) : "");
|
|
807
|
+
return (e, t) => (d(), a("div", nn, [o("h1", null, _(v(s)), 1), o("div", { innerHTML: c.value }, null, 8, rn)]));
|
|
808
808
|
}
|
|
809
809
|
}, on = { class: "mwnf-minisite-map" }, sn = { key: 0 }, cn = ["src"], ln = {
|
|
810
810
|
__name: "Map",
|
|
811
|
-
setup(
|
|
812
|
-
let { lang:
|
|
813
|
-
let e =
|
|
814
|
-
return e ? [
|
|
811
|
+
setup(t) {
|
|
812
|
+
let { lang: r, settings: s, picture: c } = X(), l = n(() => {
|
|
813
|
+
let e = s.map;
|
|
814
|
+
return e ? [c(e.picture(r.value)), ...Array.from({ length: Math.max((e.count ?? 1) - 1, 0) }, (t, n) => c(e.picture(r.value, n + 2)))].filter(Boolean) : [];
|
|
815
815
|
});
|
|
816
|
-
return (
|
|
817
|
-
src:
|
|
816
|
+
return (t, n) => (d(), a("div", on, [(d(!0), a(e, null, m(l.value, (t, n) => (d(), a(e, { key: t }, [n > 0 ? (d(), a("br", sn)) : i("", !0), o("img", {
|
|
817
|
+
src: t,
|
|
818
818
|
alt: "",
|
|
819
819
|
width: "800",
|
|
820
820
|
height: "418"
|
|
@@ -827,12 +827,12 @@ var st = { class: "mwnf-minisite-download" }, ct = ["src"], lt = ["src"], ut = [
|
|
|
827
827
|
default: ""
|
|
828
828
|
} },
|
|
829
829
|
setup(e) {
|
|
830
|
-
let t = e, { pages:
|
|
831
|
-
return (e, t) => (
|
|
830
|
+
let t = e, { pages: r, root: o, slots: s } = X(), c = n(() => [o.value, ...r.value.map((e) => e.node)].filter(Boolean).flatMap((e) => s(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
831
|
+
return (e, t) => (d(), a("div", un, [c.value ? (d(), a("img", {
|
|
832
832
|
key: 0,
|
|
833
833
|
src: c.value,
|
|
834
834
|
alt: ""
|
|
835
|
-
}, null, 8, dn)) :
|
|
835
|
+
}, null, 8, dn)) : i("", !0)]));
|
|
836
836
|
}
|
|
837
837
|
};
|
|
838
838
|
// src/minisite/routes.js
|
|
@@ -848,7 +848,7 @@ function pn(e) {
|
|
|
848
848
|
path: "/introduction",
|
|
849
849
|
name: "introduction",
|
|
850
850
|
component: Ot,
|
|
851
|
-
meta: e("introduction", ...
|
|
851
|
+
meta: e("introduction", ...Ve)
|
|
852
852
|
},
|
|
853
853
|
{
|
|
854
854
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
@@ -858,7 +858,7 @@ function pn(e) {
|
|
|
858
858
|
theme: Number(e.params.theme),
|
|
859
859
|
page: Number(e.params.page || 1)
|
|
860
860
|
}),
|
|
861
|
-
meta: e("exhibition", ...
|
|
861
|
+
meta: e("exhibition", ...Ve)
|
|
862
862
|
},
|
|
863
863
|
{
|
|
864
864
|
path: "/credits",
|
|
@@ -890,7 +890,7 @@ function pn(e) {
|
|
|
890
890
|
}
|
|
891
891
|
];
|
|
892
892
|
}
|
|
893
|
-
function mn(e, t =
|
|
893
|
+
function mn(e, t = Fe.ISL) {
|
|
894
894
|
return [
|
|
895
895
|
{
|
|
896
896
|
label: `${t}.menu.permanentCollection`,
|
|
@@ -923,7 +923,7 @@ function mn(e, t = Pe.ISL) {
|
|
|
923
923
|
}
|
|
924
924
|
];
|
|
925
925
|
}
|
|
926
|
-
function hn({ languages: e, parent: t, texts: n =
|
|
926
|
+
function hn({ languages: e, parent: t, texts: n = Fe.ISL, menu: r }) {
|
|
927
927
|
let i = [
|
|
928
928
|
["aboutMwnf", M.about],
|
|
929
929
|
["contact", M.contact],
|
|
@@ -1003,76 +1003,76 @@ var _n = { class: "mwnf-sh__column" }, vn = { class: "mwnf-sh-header" }, yn = {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
},
|
|
1005
1005
|
setup(t) {
|
|
1006
|
-
let r = t, { t:
|
|
1006
|
+
let r = t, { t: c } = B(), f = V(), g = w(), y = n(() => g.meta?.bare ?? null), b = (e) => H(f.chrome, e), x = (e) => c(`${r.texts}.${e}`), C = (/* @__PURE__ */ new Date()).getFullYear(), T = p(1), E = n(() => g.name !== "home"), D = (e) => {
|
|
1007
1007
|
T.value = e === 0 ? 1 : Math.min(1.6, Math.max(.8, T.value + e));
|
|
1008
|
-
}, O =
|
|
1009
|
-
"--sh-title-band": `url(${
|
|
1008
|
+
}, O = n(() => ({
|
|
1009
|
+
"--sh-title-band": `url(${b("legacy/bg.png") ?? ""})`,
|
|
1010
1010
|
"--sh-text-scale": String(T.value)
|
|
1011
1011
|
}));
|
|
1012
|
-
return (
|
|
1012
|
+
return (n, r) => y.value ? (d(), a("div", {
|
|
1013
1013
|
key: 0,
|
|
1014
|
-
class:
|
|
1015
|
-
}, [
|
|
1014
|
+
class: l(`mwnf-sh-window mwnf-sh-window--${y.value}`)
|
|
1015
|
+
}, [h(n.$slots, "default")], 2)) : (d(), a("div", {
|
|
1016
1016
|
key: 1,
|
|
1017
1017
|
class: "mwnf-sh",
|
|
1018
|
-
style:
|
|
1018
|
+
style: u(O.value)
|
|
1019
1019
|
}, [
|
|
1020
|
-
r[8] ||=
|
|
1020
|
+
r[8] ||= o("div", {
|
|
1021
1021
|
class: "mwnf-sh__strip",
|
|
1022
1022
|
"aria-hidden": "true"
|
|
1023
1023
|
}, null, -1),
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
src:
|
|
1024
|
+
o("div", _n, [
|
|
1025
|
+
o("header", vn, [
|
|
1026
|
+
o("div", yn, [S((d(), a("a", { href: t.portalHref }, [o("img", {
|
|
1027
|
+
src: b(`legacy/mwnfLogoShExIn-${t.language}.png`) ?? b("legacy/mwnfLogoShExIn-en.png"),
|
|
1028
1028
|
alt: "",
|
|
1029
1029
|
width: "101",
|
|
1030
1030
|
height: "45"
|
|
1031
|
-
}, null, 8, xn)], 8, bn)), [[
|
|
1032
|
-
r[6] ||=
|
|
1033
|
-
|
|
1031
|
+
}, null, 8, xn)], 8, bn)), [[v(K), { text: x("header.portalTip") }]])]),
|
|
1032
|
+
r[6] ||= o("div", { class: "mwnf-sh-header__space" }, null, -1),
|
|
1033
|
+
S((d(), a("a", {
|
|
1034
1034
|
class: "mwnf-sh-header__name",
|
|
1035
1035
|
href: t.homeHref
|
|
1036
|
-
}, [
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
], 2), E.value ? (
|
|
1042
|
-
|
|
1036
|
+
}, [o("h1", null, _(x("header.heading")), 1), o("h2", null, _(x("header.subheading")), 1)], 8, Sn)), [[v(K), { text: x("header.homeTip") }]]),
|
|
1037
|
+
o("div", Cn, [o("ul", { class: l(["mwnf-sh-header__list", { "mwnf-sh-header__list--ruled": E.value }]) }, [
|
|
1038
|
+
o("li", null, [o("a", { href: t.aboutLinks[0]?.href }, _(x("header.about")), 9, wn), o("ul", Tn, [(d(!0), a(e, null, m(t.aboutLinks, (e) => (d(), a("li", { key: e.label }, [o("a", { href: e.href }, _(x(e.label)), 9, En)]))), 128))])]),
|
|
1039
|
+
o("li", null, [S((d(), a("a", { href: t.homeHref }, [s(_(x("header.home")), 1)], 8, Dn)), [[v(K), { text: x("header.homeTip") }]])]),
|
|
1040
|
+
o("li", null, [S((d(), a("a", { href: t.portalHref }, [s(_(x("header.portal")), 1)], 8, On)), [[v(K), { text: x("header.portalTip") }]])])
|
|
1041
|
+
], 2), E.value ? (d(), a("div", kn, [
|
|
1042
|
+
S((d(), a("button", {
|
|
1043
1043
|
type: "button",
|
|
1044
1044
|
style: { "font-size": "8px" },
|
|
1045
1045
|
onClick: r[0] ||= (e) => D(-.1)
|
|
1046
|
-
}, [...r[3] ||= [
|
|
1047
|
-
|
|
1046
|
+
}, [...r[3] ||= [s("A", -1)]])), [[v(K), { text: x("header.decreaseSize") }]]),
|
|
1047
|
+
S((d(), a("button", {
|
|
1048
1048
|
type: "button",
|
|
1049
1049
|
style: { "font-size": "10px" },
|
|
1050
1050
|
onClick: r[1] ||= (e) => D(0)
|
|
1051
|
-
}, [...r[4] ||= [
|
|
1052
|
-
|
|
1051
|
+
}, [...r[4] ||= [s("A", -1)]])), [[v(K), { text: x("header.revertSize") }]]),
|
|
1052
|
+
S((d(), a("button", {
|
|
1053
1053
|
type: "button",
|
|
1054
1054
|
style: { "font-size": "12px" },
|
|
1055
1055
|
onClick: r[2] ||= (e) => D(.1)
|
|
1056
|
-
}, [...r[5] ||= [
|
|
1057
|
-
])) :
|
|
1056
|
+
}, [...r[5] ||= [s("A", -1)]])), [[v(K), { text: x("header.increaseSize") }]])
|
|
1057
|
+
])) : i("", !0)])
|
|
1058
1058
|
]),
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1059
|
+
o("main", An, [h(n.$slots, "default")]),
|
|
1060
|
+
o("nav", jn, [o("ul", null, [(d(!0), a(e, null, m(t.menu, (t) => (d(), a("li", { key: t.label }, [S((d(), a("a", { href: t.href ?? "#" }, [s(_(x(t.label)), 1)], 8, Mn)), [[v(K), { text: t.tip ? x(t.tip) : "" }]]), t.links?.length ? (d(), a("ul", Nn, [(d(!0), a(e, null, m(t.links, (e) => (d(), a("li", { key: e.href }, [o("a", { href: e.href }, _(e.text ?? x(e.label)), 9, Pn)]))), 128))])) : i("", !0)]))), 128))])]),
|
|
1061
|
+
o("footer", Fn, [(d(!0), a(e, null, m(t.footerLinks, (t) => (d(), a(e, { key: t.label }, [o("a", { href: t.href }, _(x(t.label)), 9, In), r[7] ||= s(" | ", -1)], 64))), 128)), s(" " + _(x("footer.copyright")) + " " + _(v(C)), 1)])
|
|
1062
1062
|
]),
|
|
1063
|
-
r[9] ||=
|
|
1063
|
+
r[9] ||= o("div", {
|
|
1064
1064
|
class: "mwnf-sh__strip",
|
|
1065
1065
|
"aria-hidden": "true"
|
|
1066
1066
|
}, null, -1),
|
|
1067
|
-
|
|
1067
|
+
v(U).visible ? (d(), a("div", {
|
|
1068
1068
|
key: 0,
|
|
1069
1069
|
class: "mwnf-sh-tip",
|
|
1070
|
-
style:
|
|
1071
|
-
left: `${
|
|
1072
|
-
top: `${
|
|
1073
|
-
width: `${
|
|
1070
|
+
style: u({
|
|
1071
|
+
left: `${v(U).x + 12}px`,
|
|
1072
|
+
top: `${v(U).y + 12}px`,
|
|
1073
|
+
width: `${v(U).width}px`
|
|
1074
1074
|
})
|
|
1075
|
-
},
|
|
1075
|
+
}, _(v(U).text), 5)) : i("", !0)
|
|
1076
1076
|
], 4));
|
|
1077
1077
|
}
|
|
1078
1078
|
}, Rn = "minisiteSharingHistory", zn = [
|
|
@@ -1169,10 +1169,10 @@ function Jn({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1169
1169
|
n && s.push(`theme=${encodeURIComponent(n)}`), r && s.push(`chapter=${encodeURIComponent(r)}`);
|
|
1170
1170
|
let c = {
|
|
1171
1171
|
key: "politicalTimeline",
|
|
1172
|
-
href: `${e}/#/timeline/results?
|
|
1172
|
+
href: `${e}/#/timeline/results?theme=pc`
|
|
1173
1173
|
}, l = {
|
|
1174
1174
|
key: "thematicTimeline",
|
|
1175
|
-
href: `${e}/#/timeline/results?
|
|
1175
|
+
href: `${e}/#/timeline/results?theme=${o}`,
|
|
1176
1176
|
tipText: i.toLowerCase().replace(/(^|[\s])(\S)/g, (e, t, n) => t + n.toUpperCase())
|
|
1177
1177
|
};
|
|
1178
1178
|
return [
|
|
@@ -1190,55 +1190,55 @@ function Jn({ parent: e, exhibitionId: t, themeId: n = null, subthemeId: r = nul
|
|
|
1190
1190
|
];
|
|
1191
1191
|
}
|
|
1192
1192
|
function $() {
|
|
1193
|
-
let { pkg:
|
|
1194
|
-
|
|
1195
|
-
let
|
|
1196
|
-
function
|
|
1193
|
+
let { pkg: e, data: t, tree: r } = Be(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = s.texts ?? "minisiteSharingHistory", l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
1194
|
+
b(d, (t) => Promise.all(zn.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
1195
|
+
let f = (t) => e.translations("collections", d.value)[t] ?? {}, p = (t, n) => e.translations("collections", n)[t]?.title, m = r.root, h = n(() => m.value ? Vn(r.children(m.value.id), p, d.value) : []), g = (e) => Hn(r.children(e), p, d.value), _ = n(() => Bn(h.value, g)), v = (e.manifest.site?.languages ?? []).map((e) => e.code), y = (t) => e.manifest.site?.languages?.find((e) => e.code === t)?.label ?? t, x = (e) => e ? P(t.tr("countries", e, d.value).name ?? "") : "";
|
|
1196
|
+
function S(e) {
|
|
1197
1197
|
return Kn({
|
|
1198
|
-
item:
|
|
1199
|
-
own:
|
|
1198
|
+
item: t.itemById.value.get(e.id),
|
|
1199
|
+
own: t.tr("items", e.id, d.value),
|
|
1200
1200
|
entry: e,
|
|
1201
|
-
lang:
|
|
1201
|
+
lang: d.value,
|
|
1202
1202
|
countryName: x
|
|
1203
1203
|
});
|
|
1204
1204
|
}
|
|
1205
|
-
let
|
|
1206
|
-
function
|
|
1207
|
-
return new URL(
|
|
1205
|
+
let C = (e) => e ? H(o.chrome, e) : null;
|
|
1206
|
+
function w(e) {
|
|
1207
|
+
return new URL(u.resolve({
|
|
1208
1208
|
...e,
|
|
1209
1209
|
query: {
|
|
1210
1210
|
...e.query,
|
|
1211
|
-
lang:
|
|
1211
|
+
lang: d.value
|
|
1212
1212
|
}
|
|
1213
1213
|
}).href, window.location.href).href;
|
|
1214
1214
|
}
|
|
1215
1215
|
return {
|
|
1216
|
-
t:
|
|
1217
|
-
label:
|
|
1218
|
-
lang:
|
|
1219
|
-
data:
|
|
1216
|
+
t: a,
|
|
1217
|
+
label: l,
|
|
1218
|
+
lang: d,
|
|
1219
|
+
data: t,
|
|
1220
1220
|
tree: r,
|
|
1221
|
-
root:
|
|
1222
|
-
themes:
|
|
1223
|
-
subthemesOf:
|
|
1224
|
-
pages:
|
|
1225
|
-
text:
|
|
1226
|
-
offered:
|
|
1227
|
-
languageName:
|
|
1228
|
-
settings:
|
|
1229
|
-
caption:
|
|
1230
|
-
picture:
|
|
1231
|
-
href:
|
|
1232
|
-
imagesOf: (e) => [...
|
|
1221
|
+
root: m,
|
|
1222
|
+
themes: h,
|
|
1223
|
+
subthemesOf: g,
|
|
1224
|
+
pages: _,
|
|
1225
|
+
text: f,
|
|
1226
|
+
offered: v,
|
|
1227
|
+
languageName: y,
|
|
1228
|
+
settings: s,
|
|
1229
|
+
caption: S,
|
|
1230
|
+
picture: C,
|
|
1231
|
+
href: w,
|
|
1232
|
+
imagesOf: (e) => [...m.value?.images ?? []].filter((t) => t.type === e).sort((e, t) => e.display_order - t.display_order),
|
|
1233
1233
|
slots: Gn,
|
|
1234
|
-
pageAt: (e, t) => Wn(
|
|
1235
|
-
title:
|
|
1236
|
-
related: (e = null, t = null) =>
|
|
1237
|
-
parent:
|
|
1238
|
-
exhibitionId:
|
|
1234
|
+
pageAt: (e, t) => Wn(_.value, e, t),
|
|
1235
|
+
title: n(() => m.value ? f(m.value.id).title ?? "" : ""),
|
|
1236
|
+
related: (e = null, t = null) => m.value ? Jn({
|
|
1237
|
+
parent: s.parent,
|
|
1238
|
+
exhibitionId: m.value.id,
|
|
1239
1239
|
themeId: e,
|
|
1240
1240
|
subthemeId: t,
|
|
1241
|
-
title:
|
|
1241
|
+
title: f(m.value.id).title ?? "",
|
|
1242
1242
|
furtherReading: { name: "further-reading" }
|
|
1243
1243
|
}) : []
|
|
1244
1244
|
};
|
|
@@ -1270,76 +1270,76 @@ var Yn = {
|
|
|
1270
1270
|
default: null
|
|
1271
1271
|
}
|
|
1272
1272
|
},
|
|
1273
|
-
setup(
|
|
1274
|
-
let
|
|
1275
|
-
return (
|
|
1276
|
-
let
|
|
1277
|
-
return
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
src:
|
|
1273
|
+
setup(t) {
|
|
1274
|
+
let c = t, { label: l, picture: u, related: f, settings: p } = $(), h = n(() => f(c.themeId, c.subthemeId)), y = n(() => c.themeId ? "_blank" : void 0), b = (e) => e.tipText ?? (e.tip ? l(`related.${e.tip}`) : "");
|
|
1275
|
+
return (n, c) => {
|
|
1276
|
+
let f = g("router-link");
|
|
1277
|
+
return d(), a("div", Xn, [o("span", Zn, "\xA0" + _(v(l)("related.heading")), 1), o("ul", null, [(d(!0), a(e, null, m(h.value, (e) => (d(), a("li", { key: e.key }, [
|
|
1278
|
+
c[0] ||= s(" \xA0", -1),
|
|
1279
|
+
o("img", {
|
|
1280
|
+
src: v(u)(t.arrow),
|
|
1281
1281
|
alt: "",
|
|
1282
1282
|
class: "mwnf-sh-arrow",
|
|
1283
1283
|
width: "11",
|
|
1284
1284
|
height: "8"
|
|
1285
1285
|
}, null, 8, Qn),
|
|
1286
|
-
|
|
1286
|
+
e.to ? S((d(), r(f, {
|
|
1287
1287
|
key: 0,
|
|
1288
|
-
to:
|
|
1289
|
-
target:
|
|
1288
|
+
to: e.to,
|
|
1289
|
+
target: y.value
|
|
1290
1290
|
}, {
|
|
1291
|
-
default:
|
|
1291
|
+
default: x(() => [s(_(v(l)(`related.${e.key}`)), 1)]),
|
|
1292
1292
|
_: 2
|
|
1293
|
-
}, 1032, ["to", "target"])), [[
|
|
1293
|
+
}, 1032, ["to", "target"])), [[v(K), { text: b(e) }]]) : S((d(), a("a", {
|
|
1294
1294
|
key: 1,
|
|
1295
|
-
href:
|
|
1296
|
-
target:
|
|
1297
|
-
}, [
|
|
1298
|
-
]))), 128)),
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
src:
|
|
1295
|
+
href: e.href,
|
|
1296
|
+
target: y.value
|
|
1297
|
+
}, [s(_(v(l)(`related.${e.key}`)), 1)], 8, $n)), [[v(K), { text: b(e) }]])
|
|
1298
|
+
]))), 128)), t.allExhibitions ? (d(), a("li", er, [
|
|
1299
|
+
c[1] ||= s(" \xA0", -1),
|
|
1300
|
+
o("img", {
|
|
1301
|
+
src: v(u)(t.arrow),
|
|
1302
1302
|
alt: "",
|
|
1303
1303
|
class: "mwnf-sh-arrow",
|
|
1304
1304
|
width: "11",
|
|
1305
1305
|
height: "8"
|
|
1306
1306
|
}, null, 8, tr),
|
|
1307
|
-
|
|
1308
|
-
])) :
|
|
1307
|
+
o("b", null, [o("a", { href: `${v(p).parent}/#/exhibitions` }, _(v(l)("nav.allExhibitions")), 9, nr)])
|
|
1308
|
+
])) : i("", !0)])]);
|
|
1309
1309
|
};
|
|
1310
1310
|
}
|
|
1311
1311
|
}, ir = ["src"], ar = ["src"], or = ["src"], sr = "https://www.museumwnf.org/about/support", cr = {
|
|
1312
1312
|
__name: "Windows",
|
|
1313
1313
|
setup(e) {
|
|
1314
|
-
let { href: t, label: n, picture: r } = $(),
|
|
1315
|
-
return (e, r) => (
|
|
1316
|
-
|
|
1314
|
+
let { href: t, label: n, picture: r } = $(), c = r("legacy/arrow_curator.gif");
|
|
1315
|
+
return (e, r) => (d(), a("div", null, [
|
|
1316
|
+
o("a", {
|
|
1317
1317
|
href: "#",
|
|
1318
|
-
onClick: r[0] ||=
|
|
1319
|
-
}, [
|
|
1318
|
+
onClick: r[0] ||= C((e) => v(Z)(v(t)({ name: "credits" }), v(Yn).credits), ["prevent"])
|
|
1319
|
+
}, [s(_(v(n)("band.curatedBy")) + " ", 1), v(c) ? (d(), a("img", {
|
|
1320
1320
|
key: 0,
|
|
1321
|
-
src:
|
|
1321
|
+
src: v(c),
|
|
1322
1322
|
alt: "",
|
|
1323
1323
|
width: "12",
|
|
1324
1324
|
height: "7"
|
|
1325
|
-
}, null, 8, ir)) :
|
|
1326
|
-
|
|
1325
|
+
}, null, 8, ir)) : i("", !0)]),
|
|
1326
|
+
o("div", null, [o("a", {
|
|
1327
1327
|
href: "#",
|
|
1328
|
-
onClick: r[1] ||=
|
|
1329
|
-
}, [
|
|
1328
|
+
onClick: r[1] ||= C((e) => v(Z)(v(t)({ name: "cover-image" }), v(Yn).coverImage), ["prevent"])
|
|
1329
|
+
}, [s(_(v(n)("band.coverImage")) + " ", 1), v(c) ? (d(), a("img", {
|
|
1330
1330
|
key: 0,
|
|
1331
|
-
src:
|
|
1331
|
+
src: v(c),
|
|
1332
1332
|
alt: "",
|
|
1333
1333
|
width: "12",
|
|
1334
1334
|
height: "7"
|
|
1335
|
-
}, null, 8, ar)) :
|
|
1336
|
-
|
|
1335
|
+
}, null, 8, ar)) : i("", !0)])]),
|
|
1336
|
+
o("div", null, [o("a", { href: sr }, [s(_(v(n)("band.support")) + " ", 1), v(c) ? (d(), a("img", {
|
|
1337
1337
|
key: 0,
|
|
1338
|
-
src:
|
|
1338
|
+
src: v(c),
|
|
1339
1339
|
alt: "",
|
|
1340
1340
|
width: "12",
|
|
1341
1341
|
height: "7"
|
|
1342
|
-
}, null, 8, or)) :
|
|
1342
|
+
}, null, 8, or)) : i("", !0)])])
|
|
1343
1343
|
]));
|
|
1344
1344
|
}
|
|
1345
1345
|
}, lr = {
|
|
@@ -1353,84 +1353,84 @@ var Yn = {
|
|
|
1353
1353
|
class: "mwnf-sh-band__gap"
|
|
1354
1354
|
}, Tr = ["href"], Er = ["src"], Dr = ["src"], Or = {
|
|
1355
1355
|
__name: "Home",
|
|
1356
|
-
setup(
|
|
1357
|
-
let { data:
|
|
1358
|
-
own:
|
|
1359
|
-
images:
|
|
1360
|
-
picture:
|
|
1361
|
-
})), A =
|
|
1362
|
-
return (
|
|
1363
|
-
let
|
|
1364
|
-
return
|
|
1365
|
-
|
|
1356
|
+
setup(t) {
|
|
1357
|
+
let { data: r, imagesOf: l, label: f, picture: h, root: y, settings: b, subthemesOf: C, text: w, themes: T, title: E } = $(), D = (e) => b.partnerLinks?.[e.link] ?? e.link, O = n(() => y.value ? w(y.value.id).extra?.subtitle ?? "" : ""), k = n(() => qn({
|
|
1358
|
+
own: b.logos,
|
|
1359
|
+
images: l("logo"),
|
|
1360
|
+
picture: h
|
|
1361
|
+
})), A = p(-1);
|
|
1362
|
+
return (t, n) => {
|
|
1363
|
+
let l = g("router-link");
|
|
1364
|
+
return v(y) ? (d(), a("div", lr, [
|
|
1365
|
+
o("div", {
|
|
1366
1366
|
class: "mwnf-sh-home__picture",
|
|
1367
|
-
style:
|
|
1368
|
-
}, [
|
|
1367
|
+
style: u({ backgroundImage: `url(${v(h)("legacy/home_bg.jpg") ?? ""})` })
|
|
1368
|
+
}, [o("div", ur, [o("div", dr, _(v(E)), 1), O.value ? (d(), a("div", {
|
|
1369
1369
|
key: 0,
|
|
1370
1370
|
class: "mwnf-sh-home__quote",
|
|
1371
|
-
innerHTML:
|
|
1372
|
-
}, null, 8, fr)) :
|
|
1373
|
-
|
|
1374
|
-
default:
|
|
1375
|
-
src:
|
|
1371
|
+
innerHTML: v(r).mdInline(O.value)
|
|
1372
|
+
}, null, 8, fr)) : i("", !0)])], 4),
|
|
1373
|
+
o("div", pr, [o("div", mr, [c(l, { to: { name: "introduction" } }, {
|
|
1374
|
+
default: x(() => [o("b", null, _(v(f)("home.introduction")), 1), o("img", {
|
|
1375
|
+
src: v(h)("legacy/arrow_black.gif"),
|
|
1376
1376
|
alt: "",
|
|
1377
1377
|
width: "15",
|
|
1378
1378
|
height: "9"
|
|
1379
1379
|
}, null, 8, hr)]),
|
|
1380
1380
|
_: 1
|
|
1381
|
-
}), (
|
|
1381
|
+
}), (d(!0), a(e, null, m(v(T), (t, n) => (d(), a("div", { key: t.id }, [o("button", {
|
|
1382
1382
|
type: "button",
|
|
1383
1383
|
class: "mwnf-sh-home__theme",
|
|
1384
|
-
"aria-expanded": A.value ===
|
|
1385
|
-
onClick: (e) => A.value = A.value ===
|
|
1386
|
-
}, [
|
|
1387
|
-
src:
|
|
1384
|
+
"aria-expanded": A.value === n,
|
|
1385
|
+
onClick: (e) => A.value = A.value === n ? -1 : n
|
|
1386
|
+
}, [o("span", { innerHTML: v(r).mdInline(v(w)(t.id).title ?? "") }, null, 8, _r), o("img", {
|
|
1387
|
+
src: v(h)("legacy/arrow_black_down.gif"),
|
|
1388
1388
|
alt: "",
|
|
1389
1389
|
width: "15",
|
|
1390
1390
|
height: "9"
|
|
1391
|
-
}, null, 8, vr)], 8, gr), A.value ===
|
|
1392
|
-
src:
|
|
1391
|
+
}, null, 8, vr)], 8, gr), A.value === n ? (d(), a("ul", yr, [o("li", null, [o("img", {
|
|
1392
|
+
src: v(h)("legacy/arrow_inner_black.gif"),
|
|
1393
1393
|
alt: "",
|
|
1394
1394
|
class: "mwnf-sh-arrow",
|
|
1395
1395
|
width: "11",
|
|
1396
1396
|
height: "8"
|
|
1397
|
-
}, null, 8, br),
|
|
1397
|
+
}, null, 8, br), c(l, { to: {
|
|
1398
1398
|
name: "theme",
|
|
1399
|
-
params: { theme:
|
|
1399
|
+
params: { theme: n + 1 }
|
|
1400
1400
|
} }, {
|
|
1401
|
-
default:
|
|
1401
|
+
default: x(() => [s(_(v(f)("home.overview")), 1)]),
|
|
1402
1402
|
_: 1
|
|
1403
|
-
}, 8, ["to"])]), (
|
|
1404
|
-
src:
|
|
1403
|
+
}, 8, ["to"])]), (d(!0), a(e, null, m(v(C)(t.id), (e, t) => (d(), a("li", { key: e.id }, [o("img", {
|
|
1404
|
+
src: v(h)("legacy/arrow_inner_black.gif"),
|
|
1405
1405
|
alt: "",
|
|
1406
1406
|
class: "mwnf-sh-arrow",
|
|
1407
1407
|
width: "11",
|
|
1408
1408
|
height: "8"
|
|
1409
|
-
}, null, 8, xr),
|
|
1409
|
+
}, null, 8, xr), c(l, {
|
|
1410
1410
|
to: {
|
|
1411
1411
|
name: "subtheme",
|
|
1412
1412
|
params: {
|
|
1413
|
-
theme:
|
|
1414
|
-
page:
|
|
1413
|
+
theme: n + 1,
|
|
1414
|
+
page: t + 1
|
|
1415
1415
|
}
|
|
1416
1416
|
},
|
|
1417
|
-
innerHTML:
|
|
1418
|
-
}, null, 8, ["to", "innerHTML"])]))), 128))])) :
|
|
1419
|
-
|
|
1417
|
+
innerHTML: v(r).mdInline(v(w)(e.id).title ?? "")
|
|
1418
|
+
}, null, 8, ["to", "innerHTML"])]))), 128))])) : i("", !0)]))), 128))]), c(rr, { "all-exhibitions": "" })]),
|
|
1419
|
+
o("div", Sr, [c(cr, { class: "mwnf-sh-band__links" }), o("div", Cr, [(d(!0), a(e, null, m(k.value, (t, n) => (d(), a(e, { key: t.url }, [n > 0 ? (d(), a("span", wr)) : i("", !0), t.link ? S((d(), a("a", {
|
|
1420
1420
|
key: 1,
|
|
1421
|
-
href: D(
|
|
1422
|
-
}, [
|
|
1423
|
-
src:
|
|
1421
|
+
href: D(t)
|
|
1422
|
+
}, [o("img", {
|
|
1423
|
+
src: t.url,
|
|
1424
1424
|
alt: ""
|
|
1425
|
-
}, null, 8, Er)], 8, Tr)), [[
|
|
1426
|
-
text:
|
|
1425
|
+
}, null, 8, Er)], 8, Tr)), [[v(K), {
|
|
1426
|
+
text: t.tip,
|
|
1427
1427
|
width: 280
|
|
1428
|
-
}]]) : (
|
|
1428
|
+
}]]) : (d(), a("img", {
|
|
1429
1429
|
key: 2,
|
|
1430
|
-
src:
|
|
1430
|
+
src: t.url,
|
|
1431
1431
|
alt: ""
|
|
1432
1432
|
}, null, 8, Dr))], 64))), 128))])])
|
|
1433
|
-
])) :
|
|
1433
|
+
])) : i("", !0);
|
|
1434
1434
|
};
|
|
1435
1435
|
}
|
|
1436
1436
|
}, kr = { class: "mwnf-sh-banner__title" }, Ar = { class: "mwnf-sh-nav" }, jr = { class: "mwnf-sh-nav__group" }, Mr = { class: "mwnf-sh-nav__first" }, Nr = { class: "mwnf-sh-nav__second" }, Pr = ["href"], Fr = {
|
|
@@ -1464,32 +1464,32 @@ var Yn = {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
},
|
|
1466
1466
|
setup(e) {
|
|
1467
|
-
let t = e, n =
|
|
1468
|
-
return (t,
|
|
1469
|
-
let
|
|
1470
|
-
return
|
|
1471
|
-
class:
|
|
1472
|
-
style:
|
|
1467
|
+
let t = e, n = T(), { label: f, picture: p, settings: m, title: h } = $(), y = p(t.kind === "intro" ? "legacy/intro_bg.jpg" : "legacy/exhibition_bg.jpg");
|
|
1468
|
+
return (t, p) => {
|
|
1469
|
+
let b = g("router-link");
|
|
1470
|
+
return d(), a("div", {
|
|
1471
|
+
class: l(["mwnf-sh-banner", `mwnf-sh-banner--${e.kind}`]),
|
|
1472
|
+
style: u({ backgroundImage: v(y) ? `url(${v(y)})` : "none" })
|
|
1473
1473
|
}, [
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
default:
|
|
1474
|
+
p[1] ||= o("div", { class: "mwnf-sh-banner__top" }, null, -1),
|
|
1475
|
+
o("div", kr, _(e.heading ?? v(h)), 1),
|
|
1476
|
+
o("nav", Ar, [o("div", jr, [o("div", Mr, [c(b, { to: { name: "home" } }, {
|
|
1477
|
+
default: x(() => [s(_(v(f)("nav.entrance")), 1)]),
|
|
1478
1478
|
_: 1
|
|
1479
|
-
})]),
|
|
1479
|
+
})]), o("div", Nr, [o("a", { href: `${v(m).parent}/#/exhibitions` }, _(v(f)("nav.allExhibitions")), 9, Pr)])]), e.paging ? (d(), a("div", Fr, [o("div", Ir, [e.previous ? (d(), r(b, {
|
|
1480
1480
|
key: 0,
|
|
1481
1481
|
to: e.previous
|
|
1482
1482
|
}, {
|
|
1483
|
-
default:
|
|
1483
|
+
default: x(() => [s(_(v(f)("nav.previous")), 1)]),
|
|
1484
1484
|
_: 1
|
|
1485
|
-
}, 8, ["to"])) : (
|
|
1485
|
+
}, 8, ["to"])) : (d(), a("a", {
|
|
1486
1486
|
key: 1,
|
|
1487
1487
|
href: "#",
|
|
1488
|
-
onClick:
|
|
1489
|
-
},
|
|
1490
|
-
default:
|
|
1488
|
+
onClick: p[0] ||= C((e) => v(n).back(), ["prevent"])
|
|
1489
|
+
}, _(v(f)("nav.previous")), 1))]), e.next ? (d(), a("div", Lr, [c(b, { to: e.next }, {
|
|
1490
|
+
default: x(() => [s(_(v(f)("nav.next")), 1)]),
|
|
1491
1491
|
_: 1
|
|
1492
|
-
}, 8, ["to"])])) :
|
|
1492
|
+
}, 8, ["to"])])) : i("", !0)])) : i("", !0)])
|
|
1493
1493
|
], 6);
|
|
1494
1494
|
};
|
|
1495
1495
|
}
|
|
@@ -1512,42 +1512,42 @@ var Yn = {
|
|
|
1512
1512
|
">": ">",
|
|
1513
1513
|
"\"": """
|
|
1514
1514
|
})[e]);
|
|
1515
|
-
function
|
|
1515
|
+
function c() {
|
|
1516
1516
|
let e = t.blocks.map(({ heading: e, text: t }) => `${e ? `<h2>${i(j(e))}</h2>` : ""}${t ? F(t) : ""}`).join(""), n = `<!DOCTYPE html><html><head><meta charset="utf-8"><title>${i(j(t.title))}</title></head><body><h1>${i(j(t.title))}</h1>${e}</body></html>`, r = document.createElement("a");
|
|
1517
1517
|
r.href = URL.createObjectURL(new window.Blob([n], { type: "application/vnd.ms-word" })), r.download = `${j(t.title).replace(/[,:]/g, "").replace(/ /g, "-")}.doc`, document.body.appendChild(r), r.click(), r.remove(), URL.revokeObjectURL(r.href);
|
|
1518
1518
|
}
|
|
1519
|
-
return (e, t) => (
|
|
1520
|
-
|
|
1521
|
-
src:
|
|
1519
|
+
return (e, t) => (d(), a("div", zr, [
|
|
1520
|
+
o("img", {
|
|
1521
|
+
src: v(r)("legacy/print.gif"),
|
|
1522
1522
|
alt: "",
|
|
1523
1523
|
width: "14",
|
|
1524
1524
|
height: "14"
|
|
1525
1525
|
}, null, 8, Br),
|
|
1526
|
-
|
|
1527
|
-
t[1] ||=
|
|
1528
|
-
|
|
1529
|
-
src:
|
|
1526
|
+
s(" / " + _(v(n)("download.heading")), 1),
|
|
1527
|
+
t[1] ||= o("br", null, null, -1),
|
|
1528
|
+
o("img", {
|
|
1529
|
+
src: v(r)("legacy/arrow_inner_black.gif"),
|
|
1530
1530
|
alt: "",
|
|
1531
1531
|
class: "mwnf-sh-arrow",
|
|
1532
1532
|
width: "11",
|
|
1533
1533
|
height: "8"
|
|
1534
1534
|
}, null, 8, Vr),
|
|
1535
|
-
|
|
1535
|
+
o("a", {
|
|
1536
1536
|
href: "#",
|
|
1537
|
-
onClick: t[0] ||=
|
|
1538
|
-
},
|
|
1539
|
-
t[2] ||=
|
|
1540
|
-
|
|
1541
|
-
src:
|
|
1537
|
+
onClick: t[0] ||= C((t) => e.window.print(), ["prevent"])
|
|
1538
|
+
}, _(v(n)("download.asPdf")), 1),
|
|
1539
|
+
t[2] ||= o("br", null, null, -1),
|
|
1540
|
+
o("img", {
|
|
1541
|
+
src: v(r)("legacy/arrow_inner_black.gif"),
|
|
1542
1542
|
alt: "",
|
|
1543
1543
|
class: "mwnf-sh-arrow",
|
|
1544
1544
|
width: "11",
|
|
1545
1545
|
height: "8"
|
|
1546
1546
|
}, null, 8, Hr),
|
|
1547
|
-
|
|
1547
|
+
o("a", {
|
|
1548
1548
|
href: "#",
|
|
1549
|
-
onClick:
|
|
1550
|
-
},
|
|
1549
|
+
onClick: C(c, ["prevent"])
|
|
1550
|
+
}, _(v(n)("download.asWord")), 1)
|
|
1551
1551
|
]));
|
|
1552
1552
|
}
|
|
1553
1553
|
}, Wr = {
|
|
@@ -1561,125 +1561,125 @@ var Yn = {
|
|
|
1561
1561
|
class: "mwnf-sh-intro__thumbs"
|
|
1562
1562
|
}, oi = ["onClick"], si = ["src"], ci = { class: "mwnf-sh-bottom" }, li = { class: "mwnf-sh-bottom__pages" }, ui = ["src"], di = { class: "mwnf-sh-bottom__current" }, fi = ["src"], pi = { class: "mwnf-sh-bottom__related" }, mi = {
|
|
1563
1563
|
__name: "Introduction",
|
|
1564
|
-
setup(
|
|
1565
|
-
let { caption:
|
|
1564
|
+
setup(t) {
|
|
1565
|
+
let { caption: r, data: l, href: u, label: f, lang: h, pages: y, picture: b, root: C, settings: w, text: T, themes: E, title: D } = $(), O = n(() => C.value ? T(C.value.id) : {}), k = n(() => y.value[0] ? {
|
|
1566
1566
|
name: "theme",
|
|
1567
1567
|
params: { theme: 1 }
|
|
1568
|
-
} : null), A =
|
|
1568
|
+
} : null), A = n(() => [...C.value?.items ?? []].filter((e) => e.image_url).sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).slice(0, 5)), M = p(0), N = n(() => A.value[M.value] ?? null), P = n(() => {
|
|
1569
1569
|
if (!N.value) return null;
|
|
1570
|
-
let e =
|
|
1570
|
+
let e = l.tr("items", N.value.id, h.value), t = l.itemById.value.get(N.value.id)?.images?.[0]?.photographers ?? {};
|
|
1571
1571
|
return {
|
|
1572
|
-
...
|
|
1572
|
+
...r(N.value),
|
|
1573
1573
|
secondName: e.second_name ?? "",
|
|
1574
|
-
photographer:
|
|
1574
|
+
photographer: t[h.value] ?? t.en ?? ""
|
|
1575
1575
|
};
|
|
1576
|
-
}), F =
|
|
1576
|
+
}), F = n(() => N.value ? `${w.parent}/#/item/${encodeURIComponent(N.value.id)}` : "");
|
|
1577
1577
|
function I() {
|
|
1578
|
-
Z(
|
|
1578
|
+
Z(u({
|
|
1579
1579
|
name: "zoom",
|
|
1580
1580
|
query: { img: N.value.image_url }
|
|
1581
1581
|
}), Yn.zoom);
|
|
1582
1582
|
}
|
|
1583
|
-
return (
|
|
1584
|
-
let
|
|
1585
|
-
return
|
|
1586
|
-
|
|
1583
|
+
return (t, n) => {
|
|
1584
|
+
let r = g("router-link");
|
|
1585
|
+
return v(C) ? (d(), a("div", Wr, [
|
|
1586
|
+
c(Rr, {
|
|
1587
1587
|
kind: "intro",
|
|
1588
1588
|
previous: { name: "home" },
|
|
1589
1589
|
next: k.value
|
|
1590
1590
|
}, null, 8, ["next"]),
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1591
|
+
o("div", Gr, [o("div", Kr, [
|
|
1592
|
+
o("div", qr, _(v(f)("home.introduction")), 1),
|
|
1593
|
+
o("div", {
|
|
1594
1594
|
class: "mwnf-sh-intro__body",
|
|
1595
|
-
innerHTML:
|
|
1595
|
+
innerHTML: v(l).md(O.value.description ?? "")
|
|
1596
1596
|
}, null, 8, Jr),
|
|
1597
|
-
|
|
1598
|
-
title:
|
|
1597
|
+
c(Ur, {
|
|
1598
|
+
title: v(D),
|
|
1599
1599
|
blocks: [{
|
|
1600
|
-
heading:
|
|
1600
|
+
heading: v(f)("home.introduction"),
|
|
1601
1601
|
text: O.value.description ?? ""
|
|
1602
1602
|
}]
|
|
1603
1603
|
}, null, 8, ["title", "blocks"])
|
|
1604
|
-
]),
|
|
1605
|
-
|
|
1606
|
-
|
|
1604
|
+
]), o("div", Yr, [N.value ? (d(), a("div", Xr, [
|
|
1605
|
+
o("div", Zr, [o("div", null, [
|
|
1606
|
+
S((d(), a("button", {
|
|
1607
1607
|
type: "button",
|
|
1608
1608
|
onClick: I
|
|
1609
|
-
}, [
|
|
1609
|
+
}, [o("img", {
|
|
1610
1610
|
class: "mwnf-sh-intro__shown",
|
|
1611
1611
|
src: N.value.image_url,
|
|
1612
1612
|
alt: ""
|
|
1613
|
-
}, null, 8, Qr)])), [[
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1613
|
+
}, null, 8, Qr)])), [[v(K), { text: v(f)("item.showZoom") }]]),
|
|
1614
|
+
n[0] ||= s("\xA0", -1),
|
|
1615
|
+
n[1] ||= o("br", null, null, -1),
|
|
1616
|
+
S((d(), a("button", {
|
|
1617
1617
|
type: "button",
|
|
1618
1618
|
onClick: I
|
|
1619
|
-
}, [
|
|
1620
|
-
src: b
|
|
1619
|
+
}, [o("img", {
|
|
1620
|
+
src: v(b)("legacy/magnify.png"),
|
|
1621
1621
|
alt: "",
|
|
1622
1622
|
width: "15",
|
|
1623
1623
|
height: "15"
|
|
1624
|
-
}, null, 8, $r)])), [[
|
|
1624
|
+
}, null, 8, $r)])), [[v(K), { text: v(f)("item.showZoom") }]])
|
|
1625
1625
|
])]),
|
|
1626
|
-
P.value.name ? (
|
|
1626
|
+
P.value.name ? (d(), a("b", {
|
|
1627
1627
|
key: 0,
|
|
1628
|
-
innerHTML:
|
|
1629
|
-
}, null, 8, ei)) :
|
|
1630
|
-
P.value.secondName ? (
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
], 64)) :
|
|
1635
|
-
(
|
|
1628
|
+
innerHTML: v(l).mdInline(P.value.name)
|
|
1629
|
+
}, null, 8, ei)) : i("", !0),
|
|
1630
|
+
P.value.secondName ? (d(), a(e, { key: 1 }, [
|
|
1631
|
+
n[2] ||= o("br", null, null, -1),
|
|
1632
|
+
n[3] ||= o("br", null, null, -1),
|
|
1633
|
+
o("b", { innerHTML: v(l).mdInline(P.value.secondName) }, null, 8, ti)
|
|
1634
|
+
], 64)) : i("", !0),
|
|
1635
|
+
(d(), a(e, null, m([
|
|
1636
1636
|
"date",
|
|
1637
1637
|
"place",
|
|
1638
1638
|
"artist",
|
|
1639
1639
|
"material",
|
|
1640
1640
|
"architects",
|
|
1641
1641
|
"photographer"
|
|
1642
|
-
], (
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
], 64)) :
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
src: b
|
|
1642
|
+
], (t) => (d(), a(e, { key: t }, [P.value[t] ? (d(), a(e, { key: 0 }, [
|
|
1643
|
+
n[4] ||= o("br", null, null, -1),
|
|
1644
|
+
n[5] ||= o("br", null, null, -1),
|
|
1645
|
+
o("span", { innerHTML: v(l).mdInline(P.value[t]) }, null, 8, ni)
|
|
1646
|
+
], 64)) : i("", !0)], 64))), 64)),
|
|
1647
|
+
n[6] ||= o("br", null, null, -1),
|
|
1648
|
+
n[7] ||= o("br", null, null, -1),
|
|
1649
|
+
o("img", {
|
|
1650
|
+
src: v(b)("legacy/arrow_inner_black.gif"),
|
|
1651
1651
|
alt: "",
|
|
1652
1652
|
class: "mwnf-sh-arrow",
|
|
1653
1653
|
width: "11",
|
|
1654
1654
|
height: "8"
|
|
1655
1655
|
}, null, 8, ri),
|
|
1656
|
-
|
|
1657
|
-
])) :
|
|
1656
|
+
o("a", { href: F.value }, _(v(f)("item.moreInfo")), 9, ii)
|
|
1657
|
+
])) : i("", !0), A.value.length ? (d(), a("div", ai, [(d(!0), a(e, null, m(A.value, (e, t) => (d(), a("button", {
|
|
1658
1658
|
key: e.image_url,
|
|
1659
1659
|
type: "button",
|
|
1660
1660
|
onClick: (e) => M.value = t
|
|
1661
|
-
}, [
|
|
1661
|
+
}, [o("img", {
|
|
1662
1662
|
src: e.image_url,
|
|
1663
1663
|
alt: ""
|
|
1664
|
-
}, null, 8, si)], 8, oi))), 128))])) :
|
|
1665
|
-
|
|
1666
|
-
src: b
|
|
1664
|
+
}, null, 8, si)], 8, oi))), 128))])) : i("", !0)])]),
|
|
1665
|
+
o("div", ci, [o("div", li, [o("b", null, _(v(f)("page.inExhibition")), 1), o("ul", null, [o("li", null, [o("img", {
|
|
1666
|
+
src: v(b)("legacy/arrow.gif"),
|
|
1667
1667
|
alt: "",
|
|
1668
1668
|
width: "10",
|
|
1669
1669
|
height: "9"
|
|
1670
|
-
}, null, 8, ui),
|
|
1671
|
-
src: b
|
|
1670
|
+
}, null, 8, ui), o("span", di, _(v(f)("home.introduction")), 1)]), (d(!0), a(e, null, m(v(E), (e, t) => (d(), a("li", { key: e.id }, [o("img", {
|
|
1671
|
+
src: v(b)("legacy/arrow.gif"),
|
|
1672
1672
|
alt: "",
|
|
1673
1673
|
width: "10",
|
|
1674
1674
|
height: "9"
|
|
1675
|
-
}, null, 8, fi),
|
|
1675
|
+
}, null, 8, fi), c(r, { to: {
|
|
1676
1676
|
name: "theme",
|
|
1677
1677
|
params: { theme: t + 1 }
|
|
1678
1678
|
} }, {
|
|
1679
|
-
default:
|
|
1679
|
+
default: x(() => [s(_(v(j)(v(T)(e.id).title ?? "")), 1)]),
|
|
1680
1680
|
_: 2
|
|
1681
|
-
}, 1032, ["to"])]))), 128))])]),
|
|
1682
|
-
])) :
|
|
1681
|
+
}, 1032, ["to"])]))), 128))])]), o("div", pi, [c(rr, { arrow: "legacy/arrow_inner.gif" }), c(cr, { class: "mwnf-sh-bottom__windows" })])])
|
|
1682
|
+
])) : i("", !0);
|
|
1683
1683
|
};
|
|
1684
1684
|
}
|
|
1685
1685
|
}, hi = {
|
|
@@ -1698,84 +1698,84 @@ var Yn = {
|
|
|
1698
1698
|
}
|
|
1699
1699
|
},
|
|
1700
1700
|
emits: ["update:view"],
|
|
1701
|
-
setup(
|
|
1702
|
-
let
|
|
1701
|
+
setup(t, { emit: r }) {
|
|
1702
|
+
let s = t, c = r, { caption: l, data: u, href: f, label: p, picture: h, settings: g } = $(), y = n(() => s.slot?.variants[s.view] ?? null), b = n(() => y.value ? l(y.value) : null), x = n(() => y.value ? `${g.parent}/#/item/${encodeURIComponent(y.value.id)}` : ""), C = n(() => (s.slot?.variants ?? []).slice(0, 6).map((e, t) => ({
|
|
1703
1703
|
variant: e,
|
|
1704
1704
|
index: t
|
|
1705
|
-
})).filter((e) => e.index !==
|
|
1706
|
-
function
|
|
1707
|
-
Z(
|
|
1705
|
+
})).filter((e) => e.index !== s.view));
|
|
1706
|
+
function w() {
|
|
1707
|
+
Z(f({
|
|
1708
1708
|
name: "zoom",
|
|
1709
|
-
query: { img:
|
|
1709
|
+
query: { img: y.value.image_url }
|
|
1710
1710
|
}), Yn.zoom);
|
|
1711
1711
|
}
|
|
1712
|
-
return (
|
|
1712
|
+
return (t, n) => y.value ? (d(), a("div", hi, [o("div", gi, [o("div", _i, [o("div", null, [S((d(), a("button", {
|
|
1713
1713
|
type: "button",
|
|
1714
|
-
onClick:
|
|
1715
|
-
}, [
|
|
1714
|
+
onClick: w
|
|
1715
|
+
}, [o("img", {
|
|
1716
1716
|
class: "mwnf-sh-panel__shown",
|
|
1717
|
-
src:
|
|
1717
|
+
src: y.value.image_url,
|
|
1718
1718
|
alt: ""
|
|
1719
|
-
}, null, 8, vi)])), [[
|
|
1719
|
+
}, null, 8, vi)])), [[v(K), { text: v(p)("item.showZoom") }]]), o("div", yi, [S((d(), a("button", {
|
|
1720
1720
|
type: "button",
|
|
1721
|
-
onClick:
|
|
1722
|
-
}, [
|
|
1723
|
-
src:
|
|
1721
|
+
onClick: w
|
|
1722
|
+
}, [o("img", {
|
|
1723
|
+
src: v(h)("legacy/magnify.png"),
|
|
1724
1724
|
alt: "",
|
|
1725
1725
|
width: "15",
|
|
1726
1726
|
height: "15"
|
|
1727
|
-
}, null, 8, bi)])), [[
|
|
1728
|
-
|
|
1727
|
+
}, null, 8, bi)])), [[v(K), { text: v(p)("item.showZoom") }]])])])])]), o("div", xi, [
|
|
1728
|
+
b.value.name ? (d(), a("p", {
|
|
1729
1729
|
key: 0,
|
|
1730
1730
|
class: "mwnf-sh-panel__name",
|
|
1731
|
-
innerHTML:
|
|
1732
|
-
}, null, 8, Si)) :
|
|
1733
|
-
|
|
1731
|
+
innerHTML: v(u).mdInline(b.value.name)
|
|
1732
|
+
}, null, 8, Si)) : i("", !0),
|
|
1733
|
+
b.value.date ? (d(), a("p", {
|
|
1734
1734
|
key: 1,
|
|
1735
|
-
innerHTML:
|
|
1736
|
-
}, null, 8, Ci)) :
|
|
1737
|
-
|
|
1735
|
+
innerHTML: v(u).mdInline(b.value.date)
|
|
1736
|
+
}, null, 8, Ci)) : i("", !0),
|
|
1737
|
+
b.value.place ? (d(), a("p", {
|
|
1738
1738
|
key: 2,
|
|
1739
|
-
innerHTML:
|
|
1740
|
-
}, null, 8, wi)) :
|
|
1741
|
-
|
|
1739
|
+
innerHTML: v(u).mdInline(b.value.place)
|
|
1740
|
+
}, null, 8, wi)) : i("", !0),
|
|
1741
|
+
b.value.artist ? (d(), a("p", {
|
|
1742
1742
|
key: 3,
|
|
1743
|
-
innerHTML:
|
|
1744
|
-
}, null, 8, Ti)) :
|
|
1745
|
-
|
|
1743
|
+
innerHTML: v(u).mdInline(b.value.artist)
|
|
1744
|
+
}, null, 8, Ti)) : i("", !0),
|
|
1745
|
+
b.value.material ? (d(), a("p", {
|
|
1746
1746
|
key: 4,
|
|
1747
|
-
innerHTML:
|
|
1748
|
-
}, null, 8, Ei)) :
|
|
1749
|
-
|
|
1747
|
+
innerHTML: v(u).mdInline(b.value.material)
|
|
1748
|
+
}, null, 8, Ei)) : i("", !0),
|
|
1749
|
+
b.value.architects ? (d(), a("p", {
|
|
1750
1750
|
key: 5,
|
|
1751
|
-
innerHTML:
|
|
1752
|
-
}, null, 8, Di)) :
|
|
1753
|
-
|
|
1751
|
+
innerHTML: v(u).mdInline(b.value.architects)
|
|
1752
|
+
}, null, 8, Di)) : i("", !0),
|
|
1753
|
+
b.value.justification ? (d(), a("p", {
|
|
1754
1754
|
key: 6,
|
|
1755
1755
|
class: "mwnf-sh-panel__justification",
|
|
1756
|
-
innerHTML:
|
|
1757
|
-
}, null, 8, Oi)) :
|
|
1758
|
-
|
|
1759
|
-
src:
|
|
1756
|
+
innerHTML: v(u).mdInline(b.value.justification)
|
|
1757
|
+
}, null, 8, Oi)) : i("", !0),
|
|
1758
|
+
o("p", null, [o("img", {
|
|
1759
|
+
src: v(h)("legacy/arrow_inner_black.gif"),
|
|
1760
1760
|
alt: "",
|
|
1761
1761
|
class: "mwnf-sh-arrow",
|
|
1762
1762
|
width: "11",
|
|
1763
1763
|
height: "8"
|
|
1764
|
-
}, null, 8, ki),
|
|
1764
|
+
}, null, 8, ki), o("a", {
|
|
1765
1765
|
href: x.value,
|
|
1766
1766
|
target: "_blank",
|
|
1767
1767
|
rel: "noopener",
|
|
1768
1768
|
class: "mwnf-sh-panel__sheet"
|
|
1769
|
-
},
|
|
1770
|
-
|
|
1769
|
+
}, _(v(p)("item.moreInfo")), 9, Ai)]),
|
|
1770
|
+
C.value.length ? (d(), a(e, { key: 7 }, [o("p", null, [o("b", null, _(v(p)("item.related")), 1)]), o("div", ji, [(d(!0), a(e, null, m(C.value, (e) => (d(), a("button", {
|
|
1771
1771
|
key: e.index,
|
|
1772
1772
|
type: "button",
|
|
1773
|
-
onClick: (t) =>
|
|
1774
|
-
}, [
|
|
1773
|
+
onClick: (t) => c("update:view", e.index)
|
|
1774
|
+
}, [o("img", {
|
|
1775
1775
|
src: e.variant.image_url,
|
|
1776
1776
|
alt: ""
|
|
1777
|
-
}, null, 8, Ni)], 8, Mi))), 128))])], 64)) :
|
|
1778
|
-
])])) :
|
|
1777
|
+
}, null, 8, Ni)], 8, Mi))), 128))])], 64)) : i("", !0)
|
|
1778
|
+
])])) : i("", !0);
|
|
1779
1779
|
}
|
|
1780
1780
|
}, Fi = {
|
|
1781
1781
|
key: 1,
|
|
@@ -1805,118 +1805,118 @@ var Yn = {
|
|
|
1805
1805
|
default: 0
|
|
1806
1806
|
}
|
|
1807
1807
|
},
|
|
1808
|
-
setup(
|
|
1809
|
-
let
|
|
1810
|
-
|
|
1808
|
+
setup(t) {
|
|
1809
|
+
let l = t, { data: u, label: f, pageAt: h, picture: y, slots: S, subthemesOf: C, text: w, themes: T, title: D } = $(), O = n(() => h(l.theme, l.page)), k = n(() => O.value?.themeNode ?? null), A = n(() => O.value?.node ?? null), M = n(() => A.value ? w(A.value.id) : {}), N = n(() => S(A.value)), P = n(() => k.value ? C(k.value.id) : []), F = p(0), I = p(0);
|
|
1810
|
+
b(A, () => {
|
|
1811
1811
|
F.value = 0, I.value = 0;
|
|
1812
1812
|
});
|
|
1813
1813
|
let L = (e) => {
|
|
1814
1814
|
F.value = e, I.value = 0;
|
|
1815
|
-
}, R = (e) => j(w(e).title ?? ""), z =
|
|
1815
|
+
}, R = (e) => j(w(e).title ?? ""), z = n(() => l.page === 0 ? f("home.overview") : j(M.value.title ?? "")), ee = n(() => [
|
|
1816
1816
|
{ heading: w(k.value?.id).title },
|
|
1817
1817
|
{ heading: z.value },
|
|
1818
1818
|
{ text: M.value.quote ?? "" },
|
|
1819
1819
|
{ text: M.value.description ?? "" }
|
|
1820
1820
|
]);
|
|
1821
|
-
return (
|
|
1822
|
-
let
|
|
1823
|
-
return O.value ? (
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
N.value.length ? (
|
|
1821
|
+
return (n, l) => {
|
|
1822
|
+
let p = g("router-link");
|
|
1823
|
+
return O.value ? (d(), a("div", Fi, [
|
|
1824
|
+
c(Rr, { next: O.value.next }, null, 8, ["next"]),
|
|
1825
|
+
o("div", Ii, [o("div", Li, [
|
|
1826
|
+
o("div", Ri, _(R(k.value.id)), 1),
|
|
1827
|
+
o("div", zi, "\xA0" + _(z.value), 1),
|
|
1828
|
+
N.value.length ? (d(), a("div", Bi, [(d(!0), a(e, null, m(N.value, (e, t) => (d(), a("button", {
|
|
1829
1829
|
key: `${e.n}-${e.variants[0].id}`,
|
|
1830
1830
|
type: "button",
|
|
1831
1831
|
onClick: (e) => L(t)
|
|
1832
|
-
}, [
|
|
1832
|
+
}, [o("img", {
|
|
1833
1833
|
src: e.variants[0].image_url,
|
|
1834
1834
|
alt: ""
|
|
1835
|
-
}, null, 8, Hi)], 8, Vi))), 128))])) :
|
|
1836
|
-
|
|
1837
|
-
|
|
1835
|
+
}, null, 8, Hi)], 8, Vi))), 128))])) : i("", !0),
|
|
1836
|
+
l[2] ||= o("div", { class: "mwnf-sh-page__rule" }, null, -1),
|
|
1837
|
+
o("div", Ui, [M.value.quote ? (d(), a("div", {
|
|
1838
1838
|
key: 0,
|
|
1839
1839
|
class: "mwnf-sh-page__quote",
|
|
1840
|
-
innerHTML:
|
|
1841
|
-
}, null, 8, Wi)) :
|
|
1840
|
+
innerHTML: v(u).md(M.value.quote)
|
|
1841
|
+
}, null, 8, Wi)) : i("", !0), M.value.description ? (d(), a("div", {
|
|
1842
1842
|
key: 1,
|
|
1843
|
-
innerHTML:
|
|
1844
|
-
}, null, 8, Gi)) :
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
]),
|
|
1850
|
-
src:
|
|
1843
|
+
innerHTML: v(u).md(M.value.description)
|
|
1844
|
+
}, null, 8, Gi)) : i("", !0)]),
|
|
1845
|
+
o("div", Ki, [o("b", null, [
|
|
1846
|
+
o("span", qi, _(v(f)("page.moreAbout")), 1),
|
|
1847
|
+
l[1] ||= o("br", null, null, -1),
|
|
1848
|
+
o("span", Ji, _(R(k.value.id)), 1)
|
|
1849
|
+
]), o("ul", null, [o("li", null, [o("img", {
|
|
1850
|
+
src: v(y)("legacy/arrow_inner_black.gif"),
|
|
1851
1851
|
alt: "",
|
|
1852
1852
|
class: "mwnf-sh-arrow",
|
|
1853
1853
|
width: "11",
|
|
1854
1854
|
height: "8"
|
|
1855
|
-
}, null, 8, Yi),
|
|
1855
|
+
}, null, 8, Yi), t.page === 0 ? (d(), a("span", Xi, _(v(f)("home.overview")), 1)) : (d(), r(p, {
|
|
1856
1856
|
key: 1,
|
|
1857
1857
|
to: {
|
|
1858
1858
|
name: "theme",
|
|
1859
|
-
params: { theme:
|
|
1859
|
+
params: { theme: t.theme }
|
|
1860
1860
|
}
|
|
1861
1861
|
}, {
|
|
1862
|
-
default:
|
|
1862
|
+
default: x(() => [s(_(v(f)("home.overview")), 1)]),
|
|
1863
1863
|
_: 1
|
|
1864
|
-
}, 8, ["to"]))]), (
|
|
1865
|
-
src:
|
|
1864
|
+
}, 8, ["to"]))]), (d(!0), a(e, null, m(P.value, (e, n) => (d(), a("li", { key: e.id }, [o("img", {
|
|
1865
|
+
src: v(y)("legacy/arrow_inner_black.gif"),
|
|
1866
1866
|
alt: "",
|
|
1867
1867
|
class: "mwnf-sh-arrow",
|
|
1868
1868
|
width: "11",
|
|
1869
1869
|
height: "8"
|
|
1870
|
-
}, null, 8, Zi),
|
|
1870
|
+
}, null, 8, Zi), t.page === n + 1 ? (d(), a("span", Qi, _(R(e.id)), 1)) : (d(), r(p, {
|
|
1871
1871
|
key: 1,
|
|
1872
1872
|
to: {
|
|
1873
1873
|
name: "subtheme",
|
|
1874
1874
|
params: {
|
|
1875
|
-
theme:
|
|
1875
|
+
theme: t.theme,
|
|
1876
1876
|
page: n + 1
|
|
1877
1877
|
}
|
|
1878
1878
|
}
|
|
1879
1879
|
}, {
|
|
1880
|
-
default:
|
|
1880
|
+
default: x(() => [s(_(R(e.id)), 1)]),
|
|
1881
1881
|
_: 2
|
|
1882
1882
|
}, 1032, ["to"]))]))), 128))])]),
|
|
1883
|
-
|
|
1884
|
-
title:
|
|
1883
|
+
c(Ur, {
|
|
1884
|
+
title: v(D),
|
|
1885
1885
|
blocks: ee.value
|
|
1886
1886
|
}, null, 8, ["title", "blocks"])
|
|
1887
|
-
]),
|
|
1887
|
+
]), c(Pi, {
|
|
1888
1888
|
view: I.value,
|
|
1889
|
-
"onUpdate:view":
|
|
1889
|
+
"onUpdate:view": l[0] ||= (e) => I.value = e,
|
|
1890
1890
|
slot: N.value[F.value] ?? null
|
|
1891
1891
|
}, null, 8, ["view", "slot"])]),
|
|
1892
|
-
|
|
1893
|
-
src:
|
|
1892
|
+
o("div", $i, [o("div", ea, [o("b", null, _(v(f)("page.inExhibition")), 1), o("ul", null, [o("li", null, [o("img", {
|
|
1893
|
+
src: v(y)("legacy/arrow.gif"),
|
|
1894
1894
|
alt: "",
|
|
1895
1895
|
width: "10",
|
|
1896
1896
|
height: "9"
|
|
1897
|
-
}, null, 8, ta),
|
|
1898
|
-
default:
|
|
1897
|
+
}, null, 8, ta), c(p, { to: { name: "introduction" } }, {
|
|
1898
|
+
default: x(() => [s(_(v(f)("home.introduction")), 1)]),
|
|
1899
1899
|
_: 1
|
|
1900
|
-
})]), (
|
|
1901
|
-
src:
|
|
1900
|
+
})]), (d(!0), a(e, null, m(v(T), (e, n) => (d(), a("li", { key: e.id }, [o("img", {
|
|
1901
|
+
src: v(y)("legacy/arrow.gif"),
|
|
1902
1902
|
alt: "",
|
|
1903
1903
|
width: "10",
|
|
1904
1904
|
height: "9"
|
|
1905
|
-
}, null, 8, na), n + 1 ===
|
|
1905
|
+
}, null, 8, na), n + 1 === t.theme ? (d(), a("span", ra, _(R(e.id)), 1)) : (d(), r(p, {
|
|
1906
1906
|
key: 1,
|
|
1907
1907
|
to: {
|
|
1908
1908
|
name: "theme",
|
|
1909
1909
|
params: { theme: n + 1 }
|
|
1910
1910
|
}
|
|
1911
1911
|
}, {
|
|
1912
|
-
default:
|
|
1912
|
+
default: x(() => [s(_(R(e.id)), 1)]),
|
|
1913
1913
|
_: 2
|
|
1914
|
-
}, 1032, ["to"]))]))), 128))])]),
|
|
1914
|
+
}, 1032, ["to"]))]))), 128))])]), o("div", ia, [c(rr, {
|
|
1915
1915
|
arrow: "legacy/arrow_inner.gif",
|
|
1916
1916
|
"theme-id": k.value.id,
|
|
1917
|
-
"subtheme-id":
|
|
1918
|
-
}, null, 8, ["theme-id", "subtheme-id"]),
|
|
1919
|
-
])) : (
|
|
1917
|
+
"subtheme-id": t.page === 0 ? null : A.value.id
|
|
1918
|
+
}, null, 8, ["theme-id", "subtheme-id"]), c(cr, { class: "mwnf-sh-bottom__windows" })])])
|
|
1919
|
+
])) : (d(), r(v(E), { key: 0 }));
|
|
1920
1920
|
};
|
|
1921
1921
|
}
|
|
1922
1922
|
}, oa = { key: 0 }, sa = { class: "mwnf-sh-reading" }, ca = { class: "mwnf-sh-reading__languages" }, la = {
|
|
@@ -1927,36 +1927,36 @@ var Yn = {
|
|
|
1927
1927
|
class: "mwnf-sh-reading__language"
|
|
1928
1928
|
}, da = { class: "mwnf-sh-reading__content" }, fa = { class: "mwnf-sh-reading__close" }, pa = ["src"], ma = { class: "mwnf-sh-reading__title" }, ha = ["innerHTML"], ga = {
|
|
1929
1929
|
__name: "FurtherReading",
|
|
1930
|
-
setup(
|
|
1931
|
-
let { data:
|
|
1932
|
-
return (
|
|
1933
|
-
let
|
|
1934
|
-
return
|
|
1930
|
+
setup(t) {
|
|
1931
|
+
let { data: r, label: l, lang: u, languageName: f, offered: p, picture: h, root: y, text: b, title: S } = $(), w = n(() => y.value ? b(y.value.id).extra?.bibliography ?? {} : {}), T = n(() => w.value[u.value] ? u.value : "en"), E = n(() => w.value[T.value] ?? []), D = n(() => p.filter((e) => w.value[e]?.length).reverse()), O = () => window.close();
|
|
1932
|
+
return (t, n) => {
|
|
1933
|
+
let u = g("router-link");
|
|
1934
|
+
return v(y) ? (d(), a("div", oa, [c(Rr, {
|
|
1935
1935
|
kind: "intro",
|
|
1936
|
-
heading:
|
|
1936
|
+
heading: v(l)("related.furtherReading"),
|
|
1937
1937
|
paging: !1
|
|
1938
|
-
}, null, 8, ["heading"]),
|
|
1938
|
+
}, null, 8, ["heading"]), o("div", sa, [o("div", ca, [(d(!0), a(e, null, m(D.value, (t) => (d(), a(e, { key: t }, [t === T.value ? (d(), a("div", la, _(v(f)(t)), 1)) : (d(), a("div", ua, [c(u, { to: {
|
|
1939
1939
|
name: "further-reading",
|
|
1940
|
-
query: { lang:
|
|
1940
|
+
query: { lang: t }
|
|
1941
1941
|
} }, {
|
|
1942
|
-
default:
|
|
1942
|
+
default: x(() => [s(_(v(f)(t)), 1)]),
|
|
1943
1943
|
_: 2
|
|
1944
|
-
}, 1032, ["to"])]))], 64))), 128))]),
|
|
1945
|
-
|
|
1944
|
+
}, 1032, ["to"])]))], 64))), 128))]), o("div", da, [
|
|
1945
|
+
o("div", fa, [o("a", {
|
|
1946
1946
|
href: "#",
|
|
1947
|
-
onClick:
|
|
1948
|
-
}, [
|
|
1949
|
-
src:
|
|
1947
|
+
onClick: C(O, ["prevent"])
|
|
1948
|
+
}, [o("img", {
|
|
1949
|
+
src: v(h)("legacy/dash_dark_back.gif"),
|
|
1950
1950
|
alt: "",
|
|
1951
1951
|
width: "11",
|
|
1952
1952
|
height: "8"
|
|
1953
|
-
}, null, 8, pa),
|
|
1954
|
-
|
|
1955
|
-
(
|
|
1953
|
+
}, null, 8, pa), s(_(v(l)("reading.close")), 1)])]),
|
|
1954
|
+
o("div", ma, [o("span", null, _(v(S)), 1)]),
|
|
1955
|
+
(d(!0), a(e, null, m(E.value, (e) => (d(), a("p", {
|
|
1956
1956
|
key: e,
|
|
1957
|
-
innerHTML:
|
|
1957
|
+
innerHTML: v(r).mdInline(e)
|
|
1958
1958
|
}, null, 8, ha))), 128))
|
|
1959
|
-
])])])) :
|
|
1959
|
+
])])])) : i("", !0);
|
|
1960
1960
|
};
|
|
1961
1961
|
}
|
|
1962
1962
|
}, _a = ["innerHTML"], va = {
|
|
@@ -1966,15 +1966,15 @@ var Yn = {
|
|
|
1966
1966
|
required: !0
|
|
1967
1967
|
} },
|
|
1968
1968
|
setup(e) {
|
|
1969
|
-
let t = e, { data:
|
|
1969
|
+
let t = e, { data: r, label: i, root: s, text: c, title: l } = $(), u = {
|
|
1970
1970
|
curators: "curated_by",
|
|
1971
1971
|
coverImage: "cover_images"
|
|
1972
|
-
},
|
|
1973
|
-
return (t, n) => (
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
n[0] ||=
|
|
1977
|
-
|
|
1972
|
+
}, f = n(() => s.value ? r.md(c(s.value.id).extra?.[u[t.kind]] ?? "") : "");
|
|
1973
|
+
return (t, n) => (d(), a("div", null, [
|
|
1974
|
+
o("h3", null, _(v(l)), 1),
|
|
1975
|
+
o("p", null, _(v(i)(`windows.${e.kind}`)), 1),
|
|
1976
|
+
n[0] ||= o("br", null, null, -1),
|
|
1977
|
+
o("div", { innerHTML: f.value }, null, 8, _a)
|
|
1978
1978
|
]));
|
|
1979
1979
|
}
|
|
1980
1980
|
}, ya = ["src"], ba = {
|
|
@@ -1984,15 +1984,15 @@ var Yn = {
|
|
|
1984
1984
|
default: ""
|
|
1985
1985
|
} },
|
|
1986
1986
|
setup(e) {
|
|
1987
|
-
let t = e, { pages:
|
|
1988
|
-
let e = [...(
|
|
1987
|
+
let t = e, { pages: r, root: o, slots: s } = $(), c = n(() => {
|
|
1988
|
+
let e = [...(o.value?.items ?? []).map((e) => e.image_url), ...r.value.flatMap((e) => s(e.node).flatMap((e) => e.variants.map((e) => e.image_url)))];
|
|
1989
1989
|
return t.image && e.includes(t.image) ? t.image : "";
|
|
1990
1990
|
});
|
|
1991
|
-
return (e, t) => c.value ? (
|
|
1991
|
+
return (e, t) => c.value ? (d(), a("img", {
|
|
1992
1992
|
key: 0,
|
|
1993
1993
|
src: c.value,
|
|
1994
1994
|
alt: ""
|
|
1995
|
-
}, null, 8, ya)) :
|
|
1995
|
+
}, null, 8, ya)) : i("", !0);
|
|
1996
1996
|
}
|
|
1997
1997
|
}, xa = [
|
|
1998
1998
|
"collections",
|
|
@@ -2206,55 +2206,55 @@ var Ea = {
|
|
|
2206
2206
|
},
|
|
2207
2207
|
emits: ["update:language"],
|
|
2208
2208
|
setup(t, { emit: r }) {
|
|
2209
|
-
let
|
|
2209
|
+
let c = t, f = r, { t: p } = B(), g = V(), b = w(), x = n(() => b.meta?.bare ?? null), C = (e) => H(g.chrome, e), T = n(() => [...c.languages].sort((e, t) => e.label.localeCompare(t.label))), E = (/* @__PURE__ */ new Date()).getFullYear(), D = n(() => {
|
|
2210
2210
|
let e = C("legacy/bg_fading_left.gif"), t = C("legacy/bg_fading_right.gif");
|
|
2211
|
-
return
|
|
2211
|
+
return c.language === "en" ? [e, t] : [t, e];
|
|
2212
2212
|
});
|
|
2213
|
-
return (
|
|
2213
|
+
return (n, r) => (d(), a(e, null, [x.value ? (d(), a("div", {
|
|
2214
2214
|
key: 0,
|
|
2215
|
-
class:
|
|
2216
|
-
}, [
|
|
2217
|
-
|
|
2215
|
+
class: l(`mwnf-baroqueart-window mwnf-baroqueart-window--${x.value}`)
|
|
2216
|
+
}, [h(n.$slots, "default")], 2)) : (d(), a("div", Ea, [
|
|
2217
|
+
o("div", {
|
|
2218
2218
|
class: "mwnf-baroqueart__strip",
|
|
2219
|
-
style:
|
|
2219
|
+
style: u({ backgroundImage: D.value[0] ? `url(${D.value[0]})` : "none" }),
|
|
2220
2220
|
"aria-hidden": "true"
|
|
2221
2221
|
}, null, 4),
|
|
2222
|
-
|
|
2223
|
-
|
|
2222
|
+
o("div", Da, [
|
|
2223
|
+
o("header", Oa, [o("div", ka, [S((d(), a("a", { href: t.logoHref }, [o("img", {
|
|
2224
2224
|
src: C(`legacy/logo_${t.language}.gif`),
|
|
2225
2225
|
alt: "",
|
|
2226
2226
|
height: "60"
|
|
2227
|
-
}, null, 8, ja)], 8, Aa)), [[
|
|
2227
|
+
}, null, 8, ja)], 8, Aa)), [[v(K), { text: t.logoTip ? v(p)(t.logoTip) : "" }]])]), o("div", Ma, [o("div", Na, [(d(!0), a(e, null, m(t.headerLinks, (t, n) => (d(), a(e, { key: t.label }, [n > 0 ? (d(), a(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : i("", !0), S((d(), a("a", {
|
|
2228
2228
|
class: "mwnf-baroqueart-header__link",
|
|
2229
|
-
href:
|
|
2230
|
-
}, [
|
|
2229
|
+
href: t.href
|
|
2230
|
+
}, [s(_(v(p)(t.label)), 1)], 8, Pa)), [[v(K), { text: t.tip ? v(p)(t.tip) : "" }]])], 64))), 128))]), o("div", null, [o("select", {
|
|
2231
2231
|
class: "mwnf-baroqueart-header__select",
|
|
2232
2232
|
value: t.language,
|
|
2233
|
-
"aria-label":
|
|
2234
|
-
onChange: r[0] ||= (e) =>
|
|
2235
|
-
}, [(
|
|
2233
|
+
"aria-label": v(p)("layout.language.label"),
|
|
2234
|
+
onChange: r[0] ||= (e) => f("update:language", e.target.value)
|
|
2235
|
+
}, [(d(!0), a(e, null, m(T.value, (e) => (d(), a("option", {
|
|
2236
2236
|
key: e.code,
|
|
2237
2237
|
value: e.code
|
|
2238
|
-
},
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
r[2] ||=
|
|
2242
|
-
|
|
2238
|
+
}, _(e.label), 9, Ia))), 128))], 40, Fa)])])]),
|
|
2239
|
+
o("main", null, [h(n.$slots, "default")]),
|
|
2240
|
+
o("nav", La, [o("ul", Ra, [(d(!0), a(e, null, m(t.menu, (e) => (d(), a("li", { key: e.label }, [o("a", { href: e.href }, _(v(p)(e.label)), 9, za)]))), 128))])]),
|
|
2241
|
+
r[2] ||= o("div", { class: "mwnf-baroqueart-menu__line" }, null, -1),
|
|
2242
|
+
o("footer", Ba, [(d(!0), a(e, null, m(t.footerLinks, (t) => (d(), a(e, { key: t.label }, [o("a", { href: t.href }, _(v(p)(t.label)), 9, Va), r[1] ||= s("\xA0|\xA0 ", -1)], 64))), 128)), s(_(v(p)(t.copyright)) + " " + _(v(E)), 1)])
|
|
2243
2243
|
]),
|
|
2244
|
-
|
|
2244
|
+
o("div", {
|
|
2245
2245
|
class: "mwnf-baroqueart__strip",
|
|
2246
|
-
style:
|
|
2246
|
+
style: u({ backgroundImage: D.value[1] ? `url(${D.value[1]})` : "none" }),
|
|
2247
2247
|
"aria-hidden": "true"
|
|
2248
2248
|
}, null, 4)
|
|
2249
|
-
])),
|
|
2249
|
+
])), S(o("div", {
|
|
2250
2250
|
class: "mwnf-baroqueart-tip",
|
|
2251
|
-
style:
|
|
2252
|
-
left: `${
|
|
2253
|
-
top: `${
|
|
2254
|
-
width: `${
|
|
2251
|
+
style: u({
|
|
2252
|
+
left: `${v(U).x + 12}px`,
|
|
2253
|
+
top: `${v(U).y + 16}px`,
|
|
2254
|
+
width: `${v(U).width}px`
|
|
2255
2255
|
}),
|
|
2256
2256
|
role: "tooltip"
|
|
2257
|
-
},
|
|
2257
|
+
}, _(v(U).text), 5), [[y, v(U).visible]])], 64));
|
|
2258
2258
|
}
|
|
2259
2259
|
}, Ua = {
|
|
2260
2260
|
partners: ["325b7505-1527-5442-99ea-6a40f8c43d3f"],
|
|
@@ -2301,13 +2301,13 @@ function Ja({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i })
|
|
|
2301
2301
|
noCountry: i
|
|
2302
2302
|
}), s = e?.type === "object" ? t.artist : t.architects, c = [].concat(t.materials ?? []).filter(Boolean).join(", ");
|
|
2303
2303
|
return {
|
|
2304
|
-
name:
|
|
2305
|
-
detailName:
|
|
2306
|
-
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(
|
|
2307
|
-
details: [a, o].filter(Boolean).map(
|
|
2308
|
-
artist:
|
|
2309
|
-
material:
|
|
2310
|
-
justification:
|
|
2304
|
+
name: Y(n.name ? P(n.name) : P(t.name ?? "")),
|
|
2305
|
+
detailName: Y(n.detail_name),
|
|
2306
|
+
dateLines: [n.date || P(t.dates ?? ""), n.dynasty || P(t.dynasty ?? "")].filter(Boolean).map(Y),
|
|
2307
|
+
details: [a, o].filter(Boolean).map(Y),
|
|
2308
|
+
artist: Y(n.artist || P(s ?? "")),
|
|
2309
|
+
material: Y(n.material || P(c)),
|
|
2310
|
+
justification: Y(n.justification)
|
|
2311
2311
|
};
|
|
2312
2312
|
}
|
|
2313
2313
|
function Ya({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
@@ -2321,7 +2321,7 @@ function Ya({ caption: e = {}, first: t = {}, record: n = {}, placement: r }) {
|
|
|
2321
2321
|
i("museum"),
|
|
2322
2322
|
i("location", n.location)
|
|
2323
2323
|
].filter(Boolean),
|
|
2324
|
-
details: r ? [qa(r)].filter(Boolean).map(
|
|
2324
|
+
details: r ? [qa(r)].filter(Boolean).map(Y) : [],
|
|
2325
2325
|
artist: i("artist", n.artist),
|
|
2326
2326
|
material: i("material"),
|
|
2327
2327
|
justification: e.justification || t.justification || ""
|
|
@@ -2339,11 +2339,11 @@ function Xa(e, t) {
|
|
|
2339
2339
|
};
|
|
2340
2340
|
}
|
|
2341
2341
|
function Za({ item: e, own: t, caption: n = {}, countryName: r, noCountry: i }) {
|
|
2342
|
-
let a = (e, t) => e ?
|
|
2342
|
+
let a = (e, t) => e ? Y(P(e)) : t;
|
|
2343
2343
|
return [
|
|
2344
2344
|
a(n.name, P(t.name ?? "")),
|
|
2345
2345
|
a(n.date, P(t.dates ?? "")),
|
|
2346
|
-
a(n.dynasty,
|
|
2346
|
+
a(n.dynasty, Y(P(t.dynasty ?? ""))),
|
|
2347
2347
|
e?.type === "object" ? a(n.museum, P(t.holder ?? "")) : "",
|
|
2348
2348
|
a(n.location, Ka(e, t, r, i))
|
|
2349
2349
|
];
|
|
@@ -2357,7 +2357,7 @@ function Qa(e, { partnerName: t, partnerCountry: n, countryName: r }) {
|
|
|
2357
2357
|
].filter(Boolean).join(", ") : [t(e.partner), i(n(e.partner))].filter(Boolean).join(", ") : [e.name, i(e.country)].filter(Boolean).join(", ");
|
|
2358
2358
|
}
|
|
2359
2359
|
// src/minisite/baroqueart/exhibition.js
|
|
2360
|
-
var $a =
|
|
2360
|
+
var $a = Fe.BAR, eo = [
|
|
2361
2361
|
"collections",
|
|
2362
2362
|
"items",
|
|
2363
2363
|
"countries",
|
|
@@ -2368,77 +2368,77 @@ var $a = Pe.BAR, eo = [
|
|
|
2368
2368
|
introZoom: ["BAR", "scrollbars=no,resize=no,width=565,height=435"]
|
|
2369
2369
|
};
|
|
2370
2370
|
function no() {
|
|
2371
|
-
let { pkg:
|
|
2372
|
-
|
|
2373
|
-
let
|
|
2374
|
-
function
|
|
2375
|
-
let n =
|
|
2376
|
-
return
|
|
2371
|
+
let { pkg: e, data: t, tree: r } = Be(), { locale: i, t: a } = B(), o = V(), s = o.minisite ?? {}, c = s.texts ?? $a, l = (e) => a(`${c}.${e}`), u = T(), d = n(() => i.value);
|
|
2372
|
+
b(d, (t) => Promise.all(eo.flatMap((n) => [e.loadTranslations(n, t), e.loadTranslations(n, "en")])), { immediate: !0 });
|
|
2373
|
+
let f = r.root, p = n(() => f.value ? r.children(f.value.id) : []), m = n(() => xe(p.value, r.children));
|
|
2374
|
+
function h(t) {
|
|
2375
|
+
let n = e.translations("collections", d.value)[t] ?? {};
|
|
2376
|
+
return ye.test(n.title ?? "") ? {
|
|
2377
2377
|
...n,
|
|
2378
2378
|
title: ""
|
|
2379
2379
|
} : n;
|
|
2380
2380
|
}
|
|
2381
|
-
let
|
|
2382
|
-
function
|
|
2381
|
+
let g = (e) => e?.country_id ? P(t.tr("countries", e.country_id, d.value).name ?? "") : "";
|
|
2382
|
+
function _(e) {
|
|
2383
2383
|
return {
|
|
2384
|
-
item:
|
|
2385
|
-
own:
|
|
2386
|
-
caption: e.caption?.[
|
|
2387
|
-
countryName:
|
|
2388
|
-
noCountry:
|
|
2384
|
+
item: t.itemById.value.get(e.id),
|
|
2385
|
+
own: t.tr("items", e.id, d.value),
|
|
2386
|
+
caption: e.caption?.[d.value] ?? {},
|
|
2387
|
+
countryName: g,
|
|
2388
|
+
noCountry: s.noCountry
|
|
2389
2389
|
};
|
|
2390
2390
|
}
|
|
2391
|
-
function
|
|
2392
|
-
let r = (
|
|
2393
|
-
if (!
|
|
2391
|
+
function v(e, n) {
|
|
2392
|
+
let r = (n) => {
|
|
2393
|
+
if (!n.view) return Ja(_(n.entry));
|
|
2394
2394
|
let r = e.variants[0];
|
|
2395
2395
|
return Ya({
|
|
2396
|
-
caption:
|
|
2397
|
-
first: r.view ? r.view.caption?.[
|
|
2398
|
-
record:
|
|
2399
|
-
placement:
|
|
2396
|
+
caption: n.view.caption?.[d.value] ?? {},
|
|
2397
|
+
first: r.view ? r.view.caption?.[d.value] ?? {} : {},
|
|
2398
|
+
record: n.view.id ? t.tr("items", n.view.id, d.value) : {},
|
|
2399
|
+
placement: _(n.entry)
|
|
2400
2400
|
});
|
|
2401
|
-
}, i = e?.variants[
|
|
2401
|
+
}, i = e?.variants[n];
|
|
2402
2402
|
return i ? Xa(r(i), r(e.variants[0])) : null;
|
|
2403
2403
|
}
|
|
2404
|
-
function
|
|
2405
|
-
let r =
|
|
2406
|
-
return r.length === 0 ? [] : D(O({ glossary_ids: r },
|
|
2407
|
-
translations:
|
|
2408
|
-
byId:
|
|
2404
|
+
function y(n) {
|
|
2405
|
+
let r = h(n).glossary_ids ?? [];
|
|
2406
|
+
return r.length === 0 ? [] : D(O({ glossary_ids: r }, d.value, {
|
|
2407
|
+
translations: e.translations,
|
|
2408
|
+
byId: t.index("glossary").value
|
|
2409
2409
|
}));
|
|
2410
2410
|
}
|
|
2411
|
-
function x(
|
|
2412
|
-
return
|
|
2411
|
+
function x(e) {
|
|
2412
|
+
return e ? H(o.chrome, String(e).replace("{lang}", d.value)) : null;
|
|
2413
2413
|
}
|
|
2414
|
-
function
|
|
2415
|
-
return new URL(
|
|
2414
|
+
function S(e) {
|
|
2415
|
+
return new URL(u.resolve({
|
|
2416
2416
|
...e,
|
|
2417
2417
|
query: {
|
|
2418
2418
|
...e.query,
|
|
2419
|
-
lang:
|
|
2419
|
+
lang: d.value
|
|
2420
2420
|
}
|
|
2421
2421
|
}).href, window.location.href).href;
|
|
2422
2422
|
}
|
|
2423
2423
|
return {
|
|
2424
|
-
t:
|
|
2425
|
-
label:
|
|
2426
|
-
lang:
|
|
2427
|
-
data:
|
|
2428
|
-
root:
|
|
2429
|
-
themes:
|
|
2430
|
-
pages:
|
|
2431
|
-
text:
|
|
2432
|
-
settings:
|
|
2424
|
+
t: a,
|
|
2425
|
+
label: l,
|
|
2426
|
+
lang: d,
|
|
2427
|
+
data: t,
|
|
2428
|
+
root: f,
|
|
2429
|
+
themes: p,
|
|
2430
|
+
pages: m,
|
|
2431
|
+
text: h,
|
|
2432
|
+
settings: s,
|
|
2433
2433
|
picture: x,
|
|
2434
|
-
href:
|
|
2435
|
-
glossaryFor:
|
|
2436
|
-
pageAt: (e, t) =>
|
|
2434
|
+
href: S,
|
|
2435
|
+
glossaryFor: y,
|
|
2436
|
+
pageAt: (e, t) => Se(m.value, e, t),
|
|
2437
2437
|
slots: Wa,
|
|
2438
|
-
placementCaption: (e) => Ja(
|
|
2439
|
-
viewCaption:
|
|
2440
|
-
introCaption: (e) => Za(
|
|
2441
|
-
title:
|
|
2438
|
+
placementCaption: (e) => Ja(_(e)),
|
|
2439
|
+
viewCaption: v,
|
|
2440
|
+
introCaption: (e) => Za(_(e)),
|
|
2441
|
+
title: n(() => f.value ? h(f.value.id).title ?? "" : "")
|
|
2442
2442
|
};
|
|
2443
2443
|
}
|
|
2444
2444
|
// src/minisite/baroqueart/Home.vue
|
|
@@ -2450,99 +2450,99 @@ var ro = { class: "mwnf-baroqueart-home" }, io = { class: "mwnf-baroqueart-home_
|
|
|
2450
2450
|
class: "mwnf-baroqueart-partners__design"
|
|
2451
2451
|
}, yo = { class: "mwnf-baroqueart-partners__design-tab" }, bo = { class: "mwnf-baroqueart-partners__design-tab" }, xo = ["href"], So = ["src"], Co = {
|
|
2452
2452
|
__name: "Home",
|
|
2453
|
-
setup(
|
|
2454
|
-
let { label:
|
|
2453
|
+
setup(l) {
|
|
2454
|
+
let { label: f, lang: p, data: h, root: y, themes: C, text: w, title: T, settings: E, picture: D, glossaryFor: O } = no(), k = n(() => y.value ? h.mdInline(w(y.value.id).description, { glossary: O(y.value.id) }) : ""), A = n(() => (E.menuSecondColumnFrom ?? 1e400) - 1), j = n(() => C.value.slice(0, A.value).map((e, t) => ({
|
|
2455
2455
|
theme: e,
|
|
2456
2456
|
number: t + 1
|
|
2457
|
-
}))), M =
|
|
2457
|
+
}))), M = n(() => C.value.slice(A.value).map((e, t) => ({
|
|
2458
2458
|
theme: e,
|
|
2459
2459
|
number: A.value + t + 1
|
|
2460
|
-
}))), N =
|
|
2461
|
-
partnerName: (e) =>
|
|
2462
|
-
partnerCountry: (e) =>
|
|
2463
|
-
countryName: (e) =>
|
|
2464
|
-
}), F = (e) =>
|
|
2465
|
-
return
|
|
2466
|
-
document.title = [
|
|
2467
|
-
}, { immediate: !0 }), (
|
|
2468
|
-
let
|
|
2469
|
-
return
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2460
|
+
}))), N = n(() => E.curators ?? []), P = (e) => Qa(e, {
|
|
2461
|
+
partnerName: (e) => h.tr("partners", e, p.value).name,
|
|
2462
|
+
partnerCountry: (e) => h.partnerById.value.get(e)?.country_id,
|
|
2463
|
+
countryName: (e) => h.tr("countries", e, p.value).name
|
|
2464
|
+
}), F = (e) => Ne(e, E.partnerHref), I = n(() => y.value ? w(y.value.id).extra?.exhibition_credits ?? "" : ""), L = n(() => E.design ?? null), R = n(() => D(E.banner)), z = n(() => D(p.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
2465
|
+
return b([T, p], () => {
|
|
2466
|
+
document.title = [f("identity.windowTitle"), T.value].filter(Boolean).join(" | ");
|
|
2467
|
+
}, { immediate: !0 }), (n, l) => {
|
|
2468
|
+
let p = g("router-link");
|
|
2469
|
+
return d(), a(e, null, [
|
|
2470
|
+
o("div", ro, [
|
|
2471
|
+
l[3] ||= o("div", { class: "mwnf-baroqueart-home__bg1" }, null, -1),
|
|
2472
|
+
o("div", {
|
|
2473
2473
|
class: "mwnf-baroqueart-home__bg2",
|
|
2474
|
-
style:
|
|
2474
|
+
style: u({ backgroundImage: z.value ? `url(${z.value})` : "none" })
|
|
2475
2475
|
}, null, 4),
|
|
2476
|
-
|
|
2477
|
-
|
|
2476
|
+
o("div", io, _(v(T)), 1),
|
|
2477
|
+
o("div", {
|
|
2478
2478
|
class: "mwnf-baroqueart-home__description",
|
|
2479
2479
|
innerHTML: k.value
|
|
2480
2480
|
}, null, 8, ao),
|
|
2481
|
-
|
|
2482
|
-
default:
|
|
2481
|
+
o("div", oo, [o("div", null, [l[0] ||= s("> ", -1), c(p, { to: { name: "introduction" } }, {
|
|
2482
|
+
default: x(() => [s(_(v(f)("home.introduction")), 1)]),
|
|
2483
2483
|
_: 1
|
|
2484
|
-
})]), (
|
|
2484
|
+
})]), (d(!0), a(e, null, m(j.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [l[1] ||= s(" > ", -1), c(p, { to: {
|
|
2485
2485
|
name: "exhibition",
|
|
2486
2486
|
params: { theme: t }
|
|
2487
2487
|
} }, {
|
|
2488
|
-
default:
|
|
2488
|
+
default: x(() => [s(_(v(w)(e.id).title), 1)]),
|
|
2489
2489
|
_: 2
|
|
2490
2490
|
}, 1032, ["to"])]))), 128))]),
|
|
2491
|
-
M.value.length ? (
|
|
2491
|
+
M.value.length ? (d(), a("div", so, [(d(!0), a(e, null, m(M.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [l[2] ||= s(" > ", -1), c(p, { to: {
|
|
2492
2492
|
name: "exhibition",
|
|
2493
2493
|
params: { theme: t }
|
|
2494
2494
|
} }, {
|
|
2495
|
-
default:
|
|
2495
|
+
default: x(() => [s(_(v(w)(e.id).title), 1)]),
|
|
2496
2496
|
_: 2
|
|
2497
|
-
}, 1032, ["to"])]))), 128))])) :
|
|
2497
|
+
}, 1032, ["to"])]))), 128))])) : i("", !0)
|
|
2498
2498
|
]),
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2499
|
+
o("div", co, [o("div", lo, [
|
|
2500
|
+
o("div", uo, _(v(f)("home.curatedBy")), 1),
|
|
2501
|
+
o("div", {
|
|
2502
2502
|
class: "mwnf-baroqueart-partners__tab",
|
|
2503
|
-
innerHTML:
|
|
2503
|
+
innerHTML: v(h).mdInline(I.value)
|
|
2504
2504
|
}, null, 8, fo),
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2505
|
+
o("div", po, [s(_(v(f)("home.cooperation")) + " ", 1), o("a", { href: v(E).partnerListHref }, _(v(f)("home.partnerInstitutions")), 9, mo)]),
|
|
2506
|
+
o("div", ho, [(d(!0), a(e, null, m(N.value, (t, n) => (d(), a(e, { key: t.logo }, [
|
|
2507
|
+
s(_(P(t)), 1),
|
|
2508
|
+
l[4] ||= o("br", null, null, -1),
|
|
2509
|
+
S((d(), a("a", {
|
|
2510
2510
|
class: "mwnf-baroqueart-partners__curator",
|
|
2511
|
-
href: F(
|
|
2512
|
-
}, [
|
|
2513
|
-
src:
|
|
2511
|
+
href: F(t)
|
|
2512
|
+
}, [o("img", {
|
|
2513
|
+
src: v(D)(t.logo),
|
|
2514
2514
|
alt: ""
|
|
2515
|
-
}, null, 8, _o)], 8, go)), [[
|
|
2516
|
-
text: P(
|
|
2515
|
+
}, null, 8, _o)], 8, go)), [[v(K), {
|
|
2516
|
+
text: P(t),
|
|
2517
2517
|
width: 220
|
|
2518
2518
|
}]]),
|
|
2519
|
-
|
|
2519
|
+
n < N.value.length - 1 ? (d(), a("span", {
|
|
2520
2520
|
key: 0,
|
|
2521
2521
|
class: "mwnf-baroqueart-partners__gap",
|
|
2522
|
-
style:
|
|
2523
|
-
}, null, 4)) :
|
|
2522
|
+
style: u({ width: `${t.space ?? 0}px` })
|
|
2523
|
+
}, null, 4)) : i("", !0)
|
|
2524
2524
|
], 64))), 128))])
|
|
2525
|
-
]), L.value ? (
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2525
|
+
]), L.value ? (d(), a("div", vo, [
|
|
2526
|
+
s(_(v(f)("home.design")) + " ", 1),
|
|
2527
|
+
o("div", yo, _(L.value.name), 1),
|
|
2528
|
+
o("div", bo, [o("a", {
|
|
2529
2529
|
href: L.value.href,
|
|
2530
2530
|
target: "_blank",
|
|
2531
2531
|
rel: "noopener"
|
|
2532
|
-
}, [
|
|
2533
|
-
src:
|
|
2532
|
+
}, [o("img", {
|
|
2533
|
+
src: v(D)(L.value.logo),
|
|
2534
2534
|
alt: ""
|
|
2535
2535
|
}, null, 8, So)], 8, xo)])
|
|
2536
|
-
])) :
|
|
2537
|
-
R.value ? (
|
|
2536
|
+
])) : i("", !0)]),
|
|
2537
|
+
R.value ? (d(), r(t, {
|
|
2538
2538
|
key: 0,
|
|
2539
2539
|
defer: "",
|
|
2540
2540
|
to: ".mwnf-baroqueart-footer"
|
|
2541
|
-
}, [
|
|
2541
|
+
}, [o("div", {
|
|
2542
2542
|
class: "mwnf-baroqueart-home__banner",
|
|
2543
|
-
style:
|
|
2543
|
+
style: u({ backgroundImage: `url(${R.value})` }),
|
|
2544
2544
|
"aria-hidden": "true"
|
|
2545
|
-
}, null, 4)])) :
|
|
2545
|
+
}, null, 4)])) : i("", !0)
|
|
2546
2546
|
], 64);
|
|
2547
2547
|
};
|
|
2548
2548
|
}
|
|
@@ -2552,140 +2552,140 @@ var ro = { class: "mwnf-baroqueart-home" }, io = { class: "mwnf-baroqueart-home_
|
|
|
2552
2552
|
type: Function,
|
|
2553
2553
|
required: !0
|
|
2554
2554
|
} },
|
|
2555
|
-
setup(
|
|
2556
|
-
let { t
|
|
2557
|
-
function
|
|
2555
|
+
setup(e) {
|
|
2556
|
+
let { t } = B(), n = V(), r = (e) => H(n.chrome, e), i = (e) => t(`${n.minisite?.texts ?? $a}.${e}`);
|
|
2557
|
+
function c() {
|
|
2558
2558
|
window.print();
|
|
2559
2559
|
}
|
|
2560
|
-
return (
|
|
2561
|
-
n[1] ||=
|
|
2562
|
-
|
|
2563
|
-
src:
|
|
2560
|
+
return (t, n) => (d(), a("div", wo, [
|
|
2561
|
+
n[1] ||= o("br", null, null, -1),
|
|
2562
|
+
o("img", {
|
|
2563
|
+
src: r("legacy/print_dark.gif"),
|
|
2564
2564
|
alt: "",
|
|
2565
2565
|
width: "17",
|
|
2566
2566
|
height: "12"
|
|
2567
2567
|
}, null, 8, To),
|
|
2568
|
-
|
|
2569
|
-
n[2] ||=
|
|
2570
|
-
|
|
2571
|
-
src:
|
|
2568
|
+
s(" / " + _(i("download.heading")), 1),
|
|
2569
|
+
n[2] ||= o("br", null, null, -1),
|
|
2570
|
+
o("img", {
|
|
2571
|
+
src: r("legacy/arrow_inner_black.gif"),
|
|
2572
2572
|
alt: ""
|
|
2573
2573
|
}, null, 8, Eo),
|
|
2574
|
-
|
|
2574
|
+
o("a", {
|
|
2575
2575
|
href: "#",
|
|
2576
|
-
onClick:
|
|
2577
|
-
},
|
|
2578
|
-
n[3] ||=
|
|
2579
|
-
|
|
2580
|
-
src:
|
|
2576
|
+
onClick: C(c, ["prevent"])
|
|
2577
|
+
}, _(i("download.asPdf")), 1),
|
|
2578
|
+
n[3] ||= o("br", null, null, -1),
|
|
2579
|
+
o("img", {
|
|
2580
|
+
src: r("legacy/arrow_inner_black.gif"),
|
|
2581
2581
|
alt: ""
|
|
2582
2582
|
}, null, 8, Do),
|
|
2583
|
-
|
|
2583
|
+
o("a", {
|
|
2584
2584
|
href: "#",
|
|
2585
|
-
onClick: n[0] ||=
|
|
2586
|
-
},
|
|
2585
|
+
onClick: n[0] ||= C((t) => e.word(), ["prevent"])
|
|
2586
|
+
}, _(i("download.asWord")), 1)
|
|
2587
2587
|
]));
|
|
2588
2588
|
}
|
|
2589
2589
|
}, ko = { class: "mwnf-baroqueart-intro__title" }, Ao = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--start" }, jo = { class: "mwnf-baroqueart-intro__nav mwnf-baroqueart-intro__nav--end" }, Mo = { class: "mwnf-baroqueart-intro__table" }, No = ["innerHTML"], Po = ["innerHTML"], Fo = { class: "mwnf-baroqueart-intro__side" }, Io = ["href", "onClick"], Lo = ["src"], Ro = { key: 0 }, zo = ["innerHTML"], Bo = ["innerHTML"], Vo = {
|
|
2590
2590
|
__name: "Introduction",
|
|
2591
|
-
setup(
|
|
2592
|
-
let { label:
|
|
2591
|
+
setup(t) {
|
|
2592
|
+
let { label: l, lang: f, data: p, root: h, text: y, title: S, settings: w, picture: T, href: E, introCaption: D, slots: O, glossaryFor: k } = no(), A = n(() => h.value ? y(h.value.id) : {}), j = n(() => h.value ? k(h.value.id) : []), M = n(() => p.md(A.value.extra?.intro_text, { glossary: j.value })), N = n(() => p.mdInline(A.value.extra?.intro_header ?? "")), P = n(() => O(h.value).flatMap((e) => e.variants).map(({ entry: e, image: t }) => ({
|
|
2593
2593
|
entry: e,
|
|
2594
2594
|
image: t,
|
|
2595
|
-
lines:
|
|
2595
|
+
lines: D(e)
|
|
2596
2596
|
})));
|
|
2597
|
-
function
|
|
2598
|
-
Z(
|
|
2597
|
+
function F(e) {
|
|
2598
|
+
Z(E({
|
|
2599
2599
|
name: "zoom",
|
|
2600
2600
|
query: { img: e }
|
|
2601
2601
|
}), to.introZoom);
|
|
2602
2602
|
}
|
|
2603
|
-
let
|
|
2604
|
-
function
|
|
2603
|
+
let I = ee(j);
|
|
2604
|
+
function L() {
|
|
2605
2605
|
rt({
|
|
2606
2606
|
documentTitle: w.documentTitle,
|
|
2607
|
-
title:
|
|
2608
|
-
header:
|
|
2609
|
-
text:
|
|
2610
|
-
captions:
|
|
2607
|
+
title: S.value,
|
|
2608
|
+
header: A.value.extra?.intro_header ?? "",
|
|
2609
|
+
text: A.value.extra?.intro_text ?? "",
|
|
2610
|
+
captions: P.value.map((e) => e.lines)
|
|
2611
2611
|
});
|
|
2612
2612
|
}
|
|
2613
|
-
let
|
|
2614
|
-
return
|
|
2615
|
-
document.title = [
|
|
2616
|
-
}, { immediate: !0 }), (
|
|
2617
|
-
let
|
|
2618
|
-
return
|
|
2613
|
+
let R = n(() => T(f.value === "ar" ? "legacy/intro_bg_ar.jpg" : "legacy/intro_bg.jpg"));
|
|
2614
|
+
return b([S, f], () => {
|
|
2615
|
+
document.title = [l("identity.windowTitle"), S.value].filter(Boolean).join(" | ");
|
|
2616
|
+
}, { immediate: !0 }), (t, n) => {
|
|
2617
|
+
let f = g("router-link");
|
|
2618
|
+
return d(), a("div", {
|
|
2619
2619
|
class: "mwnf-baroqueart-intro",
|
|
2620
|
-
style:
|
|
2620
|
+
style: u({ backgroundImage: R.value ? `url(${R.value})` : "none" })
|
|
2621
2621
|
}, [
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
default:
|
|
2622
|
+
o("div", ko, _(v(S)), 1),
|
|
2623
|
+
o("div", Ao, [n[1] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
2624
|
+
default: x(() => [s(_(v(l)("nav.entrance")), 1)]),
|
|
2625
2625
|
_: 1
|
|
2626
2626
|
})]),
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
default:
|
|
2627
|
+
o("div", jo, [
|
|
2628
|
+
n[2] ||= s(" < ", -1),
|
|
2629
|
+
c(f, { to: { name: "home" } }, {
|
|
2630
|
+
default: x(() => [s(_(v(l)("nav.previous")), 1)]),
|
|
2631
2631
|
_: 1
|
|
2632
2632
|
}),
|
|
2633
|
-
|
|
2634
|
-
|
|
2633
|
+
n[3] ||= s(" | ", -1),
|
|
2634
|
+
c(f, { to: {
|
|
2635
2635
|
name: "exhibition",
|
|
2636
2636
|
params: {
|
|
2637
2637
|
theme: 1,
|
|
2638
2638
|
page: 1
|
|
2639
2639
|
}
|
|
2640
2640
|
} }, {
|
|
2641
|
-
default:
|
|
2641
|
+
default: x(() => [s(_(v(l)("nav.next")), 1)]),
|
|
2642
2642
|
_: 1
|
|
2643
2643
|
}),
|
|
2644
|
-
|
|
2644
|
+
n[4] ||= s(" > ", -1)
|
|
2645
2645
|
]),
|
|
2646
|
-
|
|
2646
|
+
o("div", Mo, [o("div", {
|
|
2647
2647
|
class: "mwnf-baroqueart-intro__text",
|
|
2648
|
-
onClick:
|
|
2648
|
+
onClick: n[0] ||= (...e) => v(I).onClick && v(I).onClick(...e)
|
|
2649
2649
|
}, [
|
|
2650
|
-
|
|
2650
|
+
o("div", {
|
|
2651
2651
|
class: "mwnf-baroqueart-intro__header",
|
|
2652
|
-
innerHTML:
|
|
2652
|
+
innerHTML: N.value
|
|
2653
2653
|
}, null, 8, No),
|
|
2654
|
-
|
|
2654
|
+
o("div", {
|
|
2655
2655
|
class: "mwnf-baroqueart-intro__content",
|
|
2656
|
-
innerHTML:
|
|
2656
|
+
innerHTML: M.value
|
|
2657
2657
|
}, null, 8, Po),
|
|
2658
|
-
|
|
2659
|
-
]),
|
|
2660
|
-
key: `${
|
|
2658
|
+
c(Oo, { word: L })
|
|
2659
|
+
]), o("div", Fo, [(d(!0), a(e, null, m(P.value, (t) => (d(), a("div", {
|
|
2660
|
+
key: `${t.entry.id}-${t.entry.variant_order}`,
|
|
2661
2661
|
class: "mwnf-baroqueart-intro-item"
|
|
2662
|
-
}, [
|
|
2663
|
-
href:
|
|
2662
|
+
}, [t.image ? (d(), a(e, { key: 0 }, [o("a", {
|
|
2663
|
+
href: v(E)({
|
|
2664
2664
|
name: "zoom",
|
|
2665
|
-
query: { img:
|
|
2665
|
+
query: { img: t.image }
|
|
2666
2666
|
}),
|
|
2667
|
-
onClick:
|
|
2668
|
-
}, [
|
|
2667
|
+
onClick: C((e) => F(t.image), ["prevent"])
|
|
2668
|
+
}, [o("img", {
|
|
2669
2669
|
class: "mwnf-baroqueart-intro-item__image",
|
|
2670
|
-
src:
|
|
2670
|
+
src: t.image,
|
|
2671
2671
|
alt: ""
|
|
2672
|
-
}, null, 8, Lo)], 8, Io),
|
|
2672
|
+
}, null, 8, Lo)], 8, Io), n[5] ||= o("br", null, null, -1)], 64)) : i("", !0), (d(!0), a(e, null, m(t.lines.filter(Boolean), (n, r) => (d(), a(e, { key: r }, [r > 0 ? (d(), a("br", Ro)) : i("", !0), r === 0 && t.lines[0] ? (d(), a("strong", {
|
|
2673
2673
|
key: 1,
|
|
2674
|
-
innerHTML:
|
|
2675
|
-
}, null, 8, zo)) : (
|
|
2674
|
+
innerHTML: v(p).mdInline(n)
|
|
2675
|
+
}, null, 8, zo)) : (d(), a("span", {
|
|
2676
2676
|
key: 2,
|
|
2677
|
-
innerHTML:
|
|
2677
|
+
innerHTML: v(p).mdInline(n)
|
|
2678
2678
|
}, null, 8, Bo))], 64))), 128))]))), 128))])]),
|
|
2679
|
-
|
|
2679
|
+
v(I).active.value ? (d(), r(te, {
|
|
2680
2680
|
key: 0,
|
|
2681
|
-
term:
|
|
2682
|
-
html:
|
|
2683
|
-
onClose:
|
|
2681
|
+
term: v(I).active.value,
|
|
2682
|
+
html: v(p).md(v(I).active.value.definition),
|
|
2683
|
+
onClose: v(I).close
|
|
2684
2684
|
}, null, 8, [
|
|
2685
2685
|
"term",
|
|
2686
2686
|
"html",
|
|
2687
2687
|
"onClose"
|
|
2688
|
-
])) :
|
|
2688
|
+
])) : i("", !0)
|
|
2689
2689
|
], 4);
|
|
2690
2690
|
};
|
|
2691
2691
|
}
|
|
@@ -2704,167 +2704,167 @@ var ro = { class: "mwnf-baroqueart-home" }, io = { class: "mwnf-baroqueart-home_
|
|
|
2704
2704
|
required: !0
|
|
2705
2705
|
}
|
|
2706
2706
|
},
|
|
2707
|
-
setup(
|
|
2708
|
-
let
|
|
2707
|
+
setup(t) {
|
|
2708
|
+
let f = t, { label: h, lang: y, data: w, title: T, text: E, settings: D, picture: O, href: k, pageAt: A, slots: j, placementCaption: M, viewCaption: N, glossaryFor: P } = no(), F = n(() => A(f.theme, f.page)), I = n(() => F.value ? E(F.value.node.id) : {}), L = n(() => F.value ? P(F.value.node.id) : []), R = n(() => F.value ? j(F.value.node) : []), z = n(() => I.value.quote ?? ""), B = p({
|
|
2709
2709
|
slot: 0,
|
|
2710
2710
|
variant: 0
|
|
2711
2711
|
});
|
|
2712
|
-
|
|
2712
|
+
b(() => [f.theme, f.page], () => B.value = {
|
|
2713
2713
|
slot: 0,
|
|
2714
2714
|
variant: 0
|
|
2715
2715
|
});
|
|
2716
|
-
let
|
|
2717
|
-
...
|
|
2718
|
-
sheetId:
|
|
2716
|
+
let V = n(() => R.value[B.value.slot] ?? null), H = n(() => V.value?.variants[B.value.variant] ?? null), U = n(() => Ae(V.value, B.value.variant)), W = n(() => !V.value || !H.value ? null : {
|
|
2717
|
+
...N(V.value, B.value.variant),
|
|
2718
|
+
sheetId: ke(V.value, B.value.variant, (e) => w.itemById.value.get(e))
|
|
2719
2719
|
});
|
|
2720
|
-
function
|
|
2721
|
-
|
|
2720
|
+
function G(e) {
|
|
2721
|
+
B.value = {
|
|
2722
2722
|
slot: e,
|
|
2723
2723
|
variant: 0
|
|
2724
2724
|
};
|
|
2725
2725
|
}
|
|
2726
|
-
function
|
|
2727
|
-
|
|
2728
|
-
...
|
|
2726
|
+
function ne(e) {
|
|
2727
|
+
B.value = {
|
|
2728
|
+
...B.value,
|
|
2729
2729
|
variant: e
|
|
2730
2730
|
};
|
|
2731
2731
|
}
|
|
2732
|
-
function
|
|
2733
|
-
|
|
2732
|
+
function re() {
|
|
2733
|
+
U.value && Z(k({
|
|
2734
2734
|
name: "zoom",
|
|
2735
|
-
query: { img:
|
|
2735
|
+
query: { img: U.value }
|
|
2736
2736
|
}), to.zoom);
|
|
2737
2737
|
}
|
|
2738
|
-
let
|
|
2739
|
-
function
|
|
2738
|
+
let q = ee(L);
|
|
2739
|
+
function J() {
|
|
2740
2740
|
ot({
|
|
2741
|
-
documentTitle:
|
|
2742
|
-
title:
|
|
2743
|
-
pageTitle:
|
|
2744
|
-
quote:
|
|
2745
|
-
text:
|
|
2746
|
-
slots:
|
|
2741
|
+
documentTitle: D.documentTitle,
|
|
2742
|
+
title: T.value,
|
|
2743
|
+
pageTitle: I.value.title ?? "",
|
|
2744
|
+
quote: z.value,
|
|
2745
|
+
text: I.value.description ?? "",
|
|
2746
|
+
slots: R.value.map((e) => e.variants.map((t, n) => t.view ? N(e, n) : M(t.entry)))
|
|
2747
2747
|
});
|
|
2748
2748
|
}
|
|
2749
|
-
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2749
|
+
b(() => [
|
|
2750
|
+
I.value.title,
|
|
2751
|
+
T.value,
|
|
2752
|
+
y.value
|
|
2753
2753
|
], () => {
|
|
2754
2754
|
document.title = [
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2755
|
+
h("identity.windowTitle"),
|
|
2756
|
+
T.value,
|
|
2757
|
+
I.value.title,
|
|
2758
|
+
f.page
|
|
2759
2759
|
].filter(Boolean).join(" | ");
|
|
2760
2760
|
}, { immediate: !0 });
|
|
2761
|
-
let
|
|
2762
|
-
return (
|
|
2763
|
-
let
|
|
2764
|
-
return
|
|
2761
|
+
let ie = n(() => O(y.value === "ar" ? "legacy/exhibition_bg_ar.jpg" : "legacy/exhibition_bg.jpg"));
|
|
2762
|
+
return (t, n) => {
|
|
2763
|
+
let f = g("router-link");
|
|
2764
|
+
return F.value ? (d(), a("div", {
|
|
2765
2765
|
key: 0,
|
|
2766
2766
|
class: "mwnf-baroqueart-page",
|
|
2767
|
-
style:
|
|
2767
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
2768
2768
|
}, [
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
default:
|
|
2769
|
+
o("div", Ho, [
|
|
2770
|
+
o("div", Uo, _(v(T)), 1),
|
|
2771
|
+
o("div", Wo, [n[1] ||= s(" < ", -1), c(f, { to: { name: "home" } }, {
|
|
2772
|
+
default: x(() => [s(_(v(h)("nav.entrance")), 1)]),
|
|
2773
2773
|
_: 1
|
|
2774
2774
|
})]),
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
default:
|
|
2775
|
+
o("div", Go, [
|
|
2776
|
+
n[4] ||= s(" < ", -1),
|
|
2777
|
+
c(f, { to: F.value.previous }, {
|
|
2778
|
+
default: x(() => [s(_(v(h)("nav.previous")), 1)]),
|
|
2779
2779
|
_: 1
|
|
2780
2780
|
}, 8, ["to"]),
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
|
|
2784
|
-
default:
|
|
2781
|
+
F.value.next ? (d(), a(e, { key: 0 }, [
|
|
2782
|
+
n[2] ||= s(" | ", -1),
|
|
2783
|
+
c(f, { to: F.value.next }, {
|
|
2784
|
+
default: x(() => [s(_(v(h)("nav.next")), 1)]),
|
|
2785
2785
|
_: 1
|
|
2786
2786
|
}, 8, ["to"]),
|
|
2787
|
-
|
|
2788
|
-
], 64)) :
|
|
2787
|
+
n[3] ||= s(" > ", -1)
|
|
2788
|
+
], 64)) : i("", !0)
|
|
2789
2789
|
])
|
|
2790
2790
|
]),
|
|
2791
|
-
|
|
2791
|
+
o("div", Ko, [o("div", {
|
|
2792
2792
|
class: "mwnf-baroqueart-page__text",
|
|
2793
|
-
onClick:
|
|
2793
|
+
onClick: n[0] ||= (...e) => v(q).onClick && v(q).onClick(...e)
|
|
2794
2794
|
}, [
|
|
2795
|
-
|
|
2795
|
+
o("div", {
|
|
2796
2796
|
class: "mwnf-baroqueart-page__page-title",
|
|
2797
|
-
innerHTML:
|
|
2797
|
+
innerHTML: v(w).mdInline(I.value.title)
|
|
2798
2798
|
}, null, 8, qo),
|
|
2799
|
-
|
|
2799
|
+
o("div", Jo, [(d(!0), a(e, null, m(R.value, (e, t) => S((d(), a("a", {
|
|
2800
2800
|
key: e.n,
|
|
2801
2801
|
href: "#",
|
|
2802
|
-
onClick:
|
|
2803
|
-
}, [e.variants[0].image ? (
|
|
2802
|
+
onClick: C((e) => G(t), ["prevent"])
|
|
2803
|
+
}, [e.variants[0].image ? (d(), a("img", {
|
|
2804
2804
|
key: 0,
|
|
2805
2805
|
src: e.variants[0].image,
|
|
2806
2806
|
alt: "",
|
|
2807
2807
|
height: "36"
|
|
2808
|
-
}, null, 8, Xo)) :
|
|
2809
|
-
text:
|
|
2808
|
+
}, null, 8, Xo)) : i("", !0)], 8, Yo)), [[v(K), {
|
|
2809
|
+
text: v(w).mdStrip(v(N)(e, 0).name),
|
|
2810
2810
|
width: 160
|
|
2811
2811
|
}]])), 128))]),
|
|
2812
|
-
|
|
2813
|
-
class:
|
|
2814
|
-
innerHTML:
|
|
2812
|
+
o("div", {
|
|
2813
|
+
class: l(["mwnf-baroqueart-page__quote", { "mwnf-baroqueart-page__quote--own-italics": v(Pe)(z.value) }]),
|
|
2814
|
+
innerHTML: v(w).mdInline(z.value, { glossary: L.value })
|
|
2815
2815
|
}, null, 10, Zo),
|
|
2816
|
-
|
|
2816
|
+
o("div", {
|
|
2817
2817
|
class: "mwnf-baroqueart-page__content",
|
|
2818
|
-
innerHTML:
|
|
2818
|
+
innerHTML: v(w).md(I.value.description, { glossary: L.value })
|
|
2819
2819
|
}, null, 8, Qo),
|
|
2820
|
-
|
|
2821
|
-
]),
|
|
2820
|
+
c(Oo, { word: J })
|
|
2821
|
+
]), o("div", $o, [o("div", es, [U.value ? S((d(), a("a", {
|
|
2822
2822
|
key: 0,
|
|
2823
2823
|
href: "#",
|
|
2824
|
-
onClick:
|
|
2825
|
-
}, [
|
|
2826
|
-
src:
|
|
2824
|
+
onClick: C(re, ["prevent"])
|
|
2825
|
+
}, [o("img", {
|
|
2826
|
+
src: U.value,
|
|
2827
2827
|
alt: ""
|
|
2828
|
-
}, null, 8, ts)])), [[
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
(
|
|
2828
|
+
}, null, 8, ts)])), [[v(K), { text: v(h)("item.showZoom") }]]) : i("", !0)]), W.value ? (d(), a("div", ns, [
|
|
2829
|
+
o("div", null, [
|
|
2830
|
+
o("strong", { innerHTML: v(w).mdInline(W.value.name) }, null, 8, rs),
|
|
2831
|
+
n[5] ||= o("br", null, null, -1),
|
|
2832
|
+
o("span", { innerHTML: v(w).mdInline(W.value.detailName) }, null, 8, is),
|
|
2833
|
+
n[6] ||= o("br", null, null, -1),
|
|
2834
|
+
(d(!0), a(e, null, m(W.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br", as)) : i("", !0), o("span", { innerHTML: v(w).mdInline(t) }, null, 8, os)], 64))), 128))
|
|
2835
2835
|
]),
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2836
|
+
o("div", null, [(d(!0), a(e, null, m(W.value.details, (t, r) => (d(), a(e, { key: r }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8, ss), n[7] ||= o("br", null, null, -1)], 64))), 128))]),
|
|
2837
|
+
o("div", { innerHTML: v(w).mdInline(W.value.artist) }, null, 8, cs),
|
|
2838
|
+
o("div", { innerHTML: v(w).mdInline(W.value.material) }, null, 8, ls),
|
|
2839
|
+
V.value.variants.length > 1 ? (d(), a("div", us, [(d(!0), a(e, null, m(V.value.variants, (e, t) => S((d(), a("a", {
|
|
2840
2840
|
key: t,
|
|
2841
2841
|
href: "#",
|
|
2842
|
-
onClick:
|
|
2843
|
-
}, [
|
|
2844
|
-
src:
|
|
2842
|
+
onClick: C((e) => ne(t), ["prevent"])
|
|
2843
|
+
}, [o("img", {
|
|
2844
|
+
src: v(O)(t === B.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
2845
2845
|
alt: ""
|
|
2846
|
-
}, null, 8, fs)], 8, ds)), [[
|
|
2847
|
-
|
|
2846
|
+
}, null, 8, fs)], 8, ds)), [[v(K), { text: v(h)("item.showDetail") }]])), 128))])) : i("", !0),
|
|
2847
|
+
o("div", {
|
|
2848
2848
|
class: "mwnf-baroqueart-page__justification",
|
|
2849
|
-
innerHTML:
|
|
2849
|
+
innerHTML: v(w).mdInline(W.value.justification)
|
|
2850
2850
|
}, null, 8, ps),
|
|
2851
|
-
|
|
2851
|
+
W.value.sheetId ? (d(), a("div", ms, [o("a", {
|
|
2852
2852
|
class: "mwnf-baroqueart-page__more",
|
|
2853
|
-
href:
|
|
2853
|
+
href: v(D).itemHref?.(W.value.sheetId),
|
|
2854
2854
|
target: "_blank"
|
|
2855
|
-
}, "> " +
|
|
2856
|
-
])) :
|
|
2857
|
-
|
|
2855
|
+
}, "> " + _(v(h)("item.moreInfo")), 9, hs)])) : i("", !0)
|
|
2856
|
+
])) : i("", !0)])]),
|
|
2857
|
+
v(q).active.value ? (d(), r(te, {
|
|
2858
2858
|
key: 0,
|
|
2859
|
-
term:
|
|
2860
|
-
html:
|
|
2861
|
-
onClose:
|
|
2859
|
+
term: v(q).active.value,
|
|
2860
|
+
html: v(w).md(v(q).active.value.definition),
|
|
2861
|
+
onClose: v(q).close
|
|
2862
2862
|
}, null, 8, [
|
|
2863
2863
|
"term",
|
|
2864
2864
|
"html",
|
|
2865
2865
|
"onClose"
|
|
2866
|
-
])) :
|
|
2867
|
-
], 4)) :
|
|
2866
|
+
])) : i("", !0)
|
|
2867
|
+
], 4)) : i("", !0);
|
|
2868
2868
|
};
|
|
2869
2869
|
}
|
|
2870
2870
|
}, _s = { class: "mwnf-baroqueart-zoom" }, vs = ["src"], ys = {
|
|
@@ -2874,12 +2874,12 @@ var ro = { class: "mwnf-baroqueart-home" }, io = { class: "mwnf-baroqueart-home_
|
|
|
2874
2874
|
default: ""
|
|
2875
2875
|
} },
|
|
2876
2876
|
setup(e) {
|
|
2877
|
-
let t = e, { pages:
|
|
2878
|
-
return (e, t) => (
|
|
2877
|
+
let t = e, { pages: r, root: o, slots: s } = no(), c = n(() => [o.value, ...r.value.map((e) => e.node)].filter(Boolean).flatMap((e) => s(e).flatMap((e) => e.variants.map((e) => e.image))).includes(t.image) ? t.image : "");
|
|
2878
|
+
return (e, t) => (d(), a("div", _s, [c.value ? (d(), a("img", {
|
|
2879
2879
|
key: 0,
|
|
2880
2880
|
src: c.value,
|
|
2881
2881
|
alt: ""
|
|
2882
|
-
}, null, 8, vs)) :
|
|
2882
|
+
}, null, 8, vs)) : i("", !0)]));
|
|
2883
2883
|
}
|
|
2884
2884
|
};
|
|
2885
2885
|
// src/minisite/baroqueart/routes.js
|
|
@@ -2895,7 +2895,7 @@ function bs(e) {
|
|
|
2895
2895
|
path: "/introduction",
|
|
2896
2896
|
name: "introduction",
|
|
2897
2897
|
component: Vo,
|
|
2898
|
-
meta: e("introduction", ...
|
|
2898
|
+
meta: e("introduction", ...Ve)
|
|
2899
2899
|
},
|
|
2900
2900
|
{
|
|
2901
2901
|
path: "/exhibition/:theme(\\d+)/:page(\\d+)?",
|
|
@@ -2905,7 +2905,7 @@ function bs(e) {
|
|
|
2905
2905
|
theme: Number(e.params.theme),
|
|
2906
2906
|
page: Number(e.params.page || 1)
|
|
2907
2907
|
}),
|
|
2908
|
-
meta: e("exhibition", ...
|
|
2908
|
+
meta: e("exhibition", ...Ve)
|
|
2909
2909
|
},
|
|
2910
2910
|
{
|
|
2911
2911
|
path: "/zoom",
|
|
@@ -2997,65 +2997,65 @@ var Ts = ["innerHTML"], Es = ["innerHTML"], Ds = ["innerHTML"], Os = ["innerHTML
|
|
|
2997
2997
|
class: "mwnf-artintro-home__icons"
|
|
2998
2998
|
}, Ms = { class: "mwnf-artintro-home__social" }, Ns = ["href"], Ps = {
|
|
2999
2999
|
__name: "Home",
|
|
3000
|
-
setup(
|
|
3001
|
-
let { label:
|
|
3000
|
+
setup(t) {
|
|
3001
|
+
let { label: r, lang: l, data: f, root: p, themes: h, text: y, title: S, settings: C, picture: w, glossaryFor: T } = X(), E = n(() => p.value ? y(p.value.id) : {}), D = n(() => p.value ? f.mdInline(E.value.description, { glossary: T(p.value.id) }) : ""), O = n(() => (C.menuSecondColumnFrom ?? 1e400) - 1), k = n(() => h.value.slice(0, O.value).map((e, t) => ({
|
|
3002
3002
|
theme: e,
|
|
3003
3003
|
number: t + 1
|
|
3004
|
-
}))), A =
|
|
3004
|
+
}))), A = n(() => h.value.slice(O.value).map((e, t) => ({
|
|
3005
3005
|
theme: e,
|
|
3006
3006
|
number: O.value + t + 1
|
|
3007
|
-
}))), j =
|
|
3008
|
-
return
|
|
3009
|
-
document.title = [
|
|
3010
|
-
}, { immediate: !0 }), (
|
|
3011
|
-
let r =
|
|
3012
|
-
return
|
|
3007
|
+
}))), j = n(() => C.social ?? []), M = n(() => w(l.value === "ar" ? "legacy/home_bg_ar.jpg" : "legacy/home_bg.jpg"));
|
|
3008
|
+
return b([S, l], () => {
|
|
3009
|
+
document.title = [r("identity.windowTitle"), S.value].filter(Boolean).join(" | ");
|
|
3010
|
+
}, { immediate: !0 }), (t, n) => {
|
|
3011
|
+
let r = g("router-link");
|
|
3012
|
+
return d(), a("div", {
|
|
3013
3013
|
class: "mwnf-artintro-home",
|
|
3014
|
-
style:
|
|
3014
|
+
style: u({ backgroundImage: M.value ? `url(${M.value})` : "none" })
|
|
3015
3015
|
}, [
|
|
3016
|
-
|
|
3016
|
+
o("div", {
|
|
3017
3017
|
class: "mwnf-artintro-home__title",
|
|
3018
|
-
innerHTML:
|
|
3018
|
+
innerHTML: v(f).mdInline(v(S))
|
|
3019
3019
|
}, null, 8, Ts),
|
|
3020
|
-
|
|
3020
|
+
o("div", {
|
|
3021
3021
|
class: "mwnf-artintro-home__subtitle",
|
|
3022
|
-
innerHTML:
|
|
3022
|
+
innerHTML: v(f).mdInline(E.value.extra?.subtitle ?? "")
|
|
3023
3023
|
}, null, 8, Es),
|
|
3024
|
-
|
|
3024
|
+
o("div", {
|
|
3025
3025
|
class: "mwnf-artintro-home__description",
|
|
3026
3026
|
innerHTML: D.value
|
|
3027
3027
|
}, null, 8, Ds),
|
|
3028
|
-
|
|
3028
|
+
o("div", {
|
|
3029
3029
|
class: "mwnf-artintro-home__credits",
|
|
3030
|
-
innerHTML:
|
|
3030
|
+
innerHTML: v(f).mdInline(E.value.extra?.exhibition_credits ?? "")
|
|
3031
3031
|
}, null, 8, Os),
|
|
3032
|
-
|
|
3032
|
+
o("div", ks, [(d(!0), a(e, null, m(k.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [c(r, { to: {
|
|
3033
3033
|
name: "page",
|
|
3034
3034
|
params: { theme: t }
|
|
3035
3035
|
} }, {
|
|
3036
|
-
default:
|
|
3036
|
+
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
3037
3037
|
_: 2
|
|
3038
3038
|
}, 1032, ["to"])]))), 128))]),
|
|
3039
|
-
A.value.length ? (
|
|
3039
|
+
A.value.length ? (d(), a("div", As, [(d(!0), a(e, null, m(A.value, ({ theme: e, number: t }) => (d(), a("div", { key: e.id }, [n[0] ||= s(" > ", -1), c(r, { to: {
|
|
3040
3040
|
name: "page",
|
|
3041
|
-
params: { theme:
|
|
3041
|
+
params: { theme: t }
|
|
3042
3042
|
} }, {
|
|
3043
|
-
default:
|
|
3043
|
+
default: x(() => [s(_(v(y)(e.id).title), 1)]),
|
|
3044
3044
|
_: 2
|
|
3045
|
-
}, 1032, ["to"])]))), 128))])) :
|
|
3046
|
-
j.value.length ? (
|
|
3045
|
+
}, 1032, ["to"])]))), 128))])) : i("", !0),
|
|
3046
|
+
j.value.length ? (d(), a("div", js, [o("div", Ms, [(d(!0), a(e, null, m(j.value, (e) => (d(), a("a", {
|
|
3047
3047
|
key: e.href,
|
|
3048
3048
|
href: e.href,
|
|
3049
3049
|
target: "_blank",
|
|
3050
3050
|
rel: "noopener"
|
|
3051
|
-
}, [
|
|
3051
|
+
}, [o("span", {
|
|
3052
3052
|
class: "mwnf-artintro-home__icon",
|
|
3053
|
-
style:
|
|
3054
|
-
maskImage: `url("${
|
|
3053
|
+
style: u({
|
|
3054
|
+
maskImage: `url("${v(w)(e.icon)}")`,
|
|
3055
3055
|
width: `${e.aspect ?? 1}em`
|
|
3056
3056
|
}),
|
|
3057
3057
|
"aria-hidden": "true"
|
|
3058
|
-
}, null, 4)], 8, Ns))), 128))]),
|
|
3058
|
+
}, null, 4)], 8, Ns))), 128))]), n[1] ||= o("br", null, null, -1)])) : i("", !0)
|
|
3059
3059
|
], 4);
|
|
3060
3060
|
};
|
|
3061
3061
|
}
|
|
@@ -3077,141 +3077,141 @@ var Ts = ["innerHTML"], Es = ["innerHTML"], Ds = ["innerHTML"], Os = ["innerHTML
|
|
|
3077
3077
|
required: !0
|
|
3078
3078
|
}
|
|
3079
3079
|
},
|
|
3080
|
-
setup(
|
|
3081
|
-
let
|
|
3080
|
+
setup(t) {
|
|
3081
|
+
let f = t, { label: h, lang: y, data: w, root: T, title: E, text: D, settings: O, picture: k, href: A, pages: j, slots: M, viewCaption: N, glossaryFor: P } = X(), F = n(() => j.value.find((e) => e.theme === f.theme && e.page === f.page) ?? null), I = n(() => j.value.filter((e) => e.theme === f.theme)), L = n(() => F.value ? D(F.value.node.id) : {}), R = n(() => F.value ? P(F.value.node.id) : []), z = n(() => F.value ? M(F.value.node) : []), B = n(() => L.value.quote ?? ""), V = n(() => T.value ? D(T.value.id).extra?.subtitle ?? "" : ""), H = p({
|
|
3082
3082
|
slot: 0,
|
|
3083
3083
|
variant: 0
|
|
3084
3084
|
});
|
|
3085
|
-
|
|
3085
|
+
b(() => [f.theme, f.page], () => H.value = {
|
|
3086
3086
|
slot: 0,
|
|
3087
3087
|
variant: 0
|
|
3088
3088
|
});
|
|
3089
|
-
let
|
|
3090
|
-
...
|
|
3091
|
-
sheetId:
|
|
3089
|
+
let U = n(() => z.value[H.value.slot] ?? null), W = n(() => Ae(U.value, H.value.variant)), G = n(() => U.value?.variants[H.value.variant] ? {
|
|
3090
|
+
...N(U.value, H.value.variant),
|
|
3091
|
+
sheetId: ke(U.value, H.value.variant, (e) => w.itemById.value.get(e))
|
|
3092
3092
|
} : null);
|
|
3093
|
-
function
|
|
3094
|
-
|
|
3093
|
+
function ne(e) {
|
|
3094
|
+
H.value = {
|
|
3095
3095
|
slot: e,
|
|
3096
3096
|
variant: 0
|
|
3097
3097
|
};
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3100
|
-
|
|
3101
|
-
...
|
|
3099
|
+
function re(e) {
|
|
3100
|
+
H.value = {
|
|
3101
|
+
...H.value,
|
|
3102
3102
|
variant: e
|
|
3103
3103
|
};
|
|
3104
3104
|
}
|
|
3105
|
-
function
|
|
3106
|
-
|
|
3105
|
+
function q() {
|
|
3106
|
+
W.value && Z(A({
|
|
3107
3107
|
name: "zoom",
|
|
3108
|
-
query: { img:
|
|
3108
|
+
query: { img: W.value }
|
|
3109
3109
|
}), He.zoom);
|
|
3110
3110
|
}
|
|
3111
|
-
let
|
|
3112
|
-
return
|
|
3113
|
-
document.title = [
|
|
3114
|
-
}, { immediate: !0 }), (
|
|
3115
|
-
let
|
|
3116
|
-
return
|
|
3117
|
-
|
|
3111
|
+
let J = ee(R), ie = n(() => k("legacy/page_block1_bg.gif"));
|
|
3112
|
+
return b([E, y], () => {
|
|
3113
|
+
document.title = [h("identity.windowTitle"), E.value].filter(Boolean).join(" | ");
|
|
3114
|
+
}, { immediate: !0 }), (n, f) => {
|
|
3115
|
+
let p = g("router-link");
|
|
3116
|
+
return F.value ? (d(), a("div", Fs, [
|
|
3117
|
+
o("div", {
|
|
3118
3118
|
class: "mwnf-artintro-page__head",
|
|
3119
|
-
style:
|
|
3120
|
-
}, [
|
|
3121
|
-
default:
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3119
|
+
style: u({ backgroundImage: ie.value ? `url(${ie.value})` : "none" })
|
|
3120
|
+
}, [o("div", Is, [f[2] ||= s(" < ", -1), c(p, { to: { name: "home" } }, {
|
|
3121
|
+
default: x(() => [
|
|
3122
|
+
o("span", { innerHTML: v(w).mdInline(V.value) }, null, 8, Ls),
|
|
3123
|
+
f[1] ||= s(" | ", -1),
|
|
3124
|
+
o("span", { innerHTML: v(w).mdInline(v(E)) }, null, 8, Rs)
|
|
3125
3125
|
]),
|
|
3126
3126
|
_: 1
|
|
3127
3127
|
})])], 4),
|
|
3128
|
-
|
|
3128
|
+
o("div", zs, [o("div", {
|
|
3129
3129
|
class: "mwnf-artintro-page__text",
|
|
3130
|
-
onClick:
|
|
3130
|
+
onClick: f[0] ||= (...e) => v(J).onClick && v(J).onClick(...e)
|
|
3131
3131
|
}, [
|
|
3132
|
-
|
|
3132
|
+
o("div", {
|
|
3133
3133
|
class: "mwnf-artintro-page__title",
|
|
3134
|
-
innerHTML:
|
|
3134
|
+
innerHTML: v(w).mdInline(v(D)(F.value.themeNode.id).title)
|
|
3135
3135
|
}, null, 8, Bs),
|
|
3136
|
-
|
|
3136
|
+
o("div", Vs, [(d(!0), a(e, null, m(I.value, (n, r) => (d(), a(e, { key: n.node.id }, [r > 0 ? (d(), a(e, { key: 0 }, [s(" / ")], 64)) : i("", !0), c(p, {
|
|
3137
3137
|
to: {
|
|
3138
3138
|
name: "page",
|
|
3139
3139
|
params: {
|
|
3140
|
-
theme:
|
|
3141
|
-
page:
|
|
3140
|
+
theme: n.theme,
|
|
3141
|
+
page: n.page
|
|
3142
3142
|
}
|
|
3143
3143
|
},
|
|
3144
|
-
class:
|
|
3144
|
+
class: l(n.page === t.page ? "mwnf-artintro-page__current" : "mwnf-artintro-page__other")
|
|
3145
3145
|
}, {
|
|
3146
|
-
default:
|
|
3146
|
+
default: x(() => [o("span", { innerHTML: v(w).mdInline(v(D)(n.node.id).title) }, null, 8, Hs)]),
|
|
3147
3147
|
_: 2
|
|
3148
3148
|
}, 1032, ["to", "class"])], 64))), 128))]),
|
|
3149
|
-
|
|
3150
|
-
class:
|
|
3151
|
-
innerHTML:
|
|
3149
|
+
o("div", {
|
|
3150
|
+
class: l(["mwnf-artintro-page__quote", { "mwnf-artintro-page__quote--own-italics": v(Pe)(B.value) }]),
|
|
3151
|
+
innerHTML: v(w).mdInline(B.value, { glossary: R.value })
|
|
3152
3152
|
}, null, 10, Us),
|
|
3153
|
-
|
|
3153
|
+
o("div", {
|
|
3154
3154
|
class: "mwnf-artintro-page__content",
|
|
3155
|
-
innerHTML:
|
|
3155
|
+
innerHTML: v(w).md(L.value.description, { glossary: R.value })
|
|
3156
3156
|
}, null, 8, Ws)
|
|
3157
|
-
]),
|
|
3158
|
-
|
|
3157
|
+
]), o("div", Gs, [
|
|
3158
|
+
o("div", Ks, [W.value ? S((d(), a("a", {
|
|
3159
3159
|
key: 0,
|
|
3160
3160
|
href: "#",
|
|
3161
|
-
onClick:
|
|
3162
|
-
}, [
|
|
3163
|
-
src:
|
|
3161
|
+
onClick: C(q, ["prevent"])
|
|
3162
|
+
}, [o("img", {
|
|
3163
|
+
src: W.value,
|
|
3164
3164
|
alt: ""
|
|
3165
|
-
}, null, 8, qs)])), [[
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
(
|
|
3165
|
+
}, null, 8, qs)])), [[v(K), { text: v(h)("item.showZoom") }]]) : i("", !0)]),
|
|
3166
|
+
G.value ? (d(), a("div", Js, [
|
|
3167
|
+
o("div", null, [
|
|
3168
|
+
o("strong", { innerHTML: v(w).mdInline(G.value.name) }, null, 8, Ys),
|
|
3169
|
+
f[3] ||= o("br", null, null, -1),
|
|
3170
|
+
(d(!0), a(e, null, m(G.value.dateLines, (t, n) => (d(), a(e, { key: n }, [n > 0 ? (d(), a("br", Xs)) : i("", !0), o("span", { innerHTML: v(w).mdInline(t) }, null, 8, Zs)], 64))), 128))
|
|
3171
3171
|
]),
|
|
3172
|
-
|
|
3173
|
-
|
|
3172
|
+
o("div", null, [(d(!0), a(e, null, m(G.value.details, (t, n) => (d(), a(e, { key: n }, [o("span", { innerHTML: v(w).mdInline(t) }, null, 8, Qs), f[4] ||= o("br", null, null, -1)], 64))), 128))]),
|
|
3173
|
+
U.value.variants.length > 1 ? (d(), a("div", $s, [(d(!0), a(e, null, m(U.value.variants, (e, t) => S((d(), a("a", {
|
|
3174
3174
|
key: t,
|
|
3175
3175
|
href: "#",
|
|
3176
|
-
onClick:
|
|
3177
|
-
}, [
|
|
3178
|
-
src:
|
|
3176
|
+
onClick: C((e) => re(t), ["prevent"])
|
|
3177
|
+
}, [o("img", {
|
|
3178
|
+
src: v(k)(t === H.value.variant ? "legacy/ico_item_selected.gif" : "legacy/ico_item.gif"),
|
|
3179
3179
|
alt: ""
|
|
3180
|
-
}, null, 8, tc)], 8, ec)), [[
|
|
3181
|
-
|
|
3180
|
+
}, null, 8, tc)], 8, ec)), [[v(K), { text: v(h)("item.showDetail") }]])), 128))])) : i("", !0),
|
|
3181
|
+
o("div", {
|
|
3182
3182
|
class: "mwnf-artintro-page__justification",
|
|
3183
|
-
innerHTML:
|
|
3183
|
+
innerHTML: v(w).mdInline(G.value.justification)
|
|
3184
3184
|
}, null, 8, nc),
|
|
3185
|
-
|
|
3185
|
+
G.value.sheetId ? (d(), a("div", rc, [o("a", {
|
|
3186
3186
|
class: "mwnf-artintro-page__more",
|
|
3187
|
-
href:
|
|
3188
|
-
}, "> " +
|
|
3189
|
-
])) :
|
|
3190
|
-
|
|
3187
|
+
href: v(O).itemHref?.(G.value.sheetId)
|
|
3188
|
+
}, "> " + _(v(h)("item.moreInfo")), 9, ic)])) : i("", !0)
|
|
3189
|
+
])) : i("", !0),
|
|
3190
|
+
o("div", ac, [(d(!0), a(e, null, m(z.value, (e, t) => S((d(), a("a", {
|
|
3191
3191
|
key: `${e.n}-${e.variants[0].entry.id}`,
|
|
3192
3192
|
href: "#",
|
|
3193
|
-
onClick:
|
|
3194
|
-
}, [e.variants[0].image ? (
|
|
3193
|
+
onClick: C((e) => ne(t), ["prevent"])
|
|
3194
|
+
}, [e.variants[0].image ? (d(), a("img", {
|
|
3195
3195
|
key: 0,
|
|
3196
3196
|
src: e.variants[0].image,
|
|
3197
3197
|
alt: "",
|
|
3198
3198
|
height: "36"
|
|
3199
|
-
}, null, 8, sc)) :
|
|
3200
|
-
text:
|
|
3199
|
+
}, null, 8, sc)) : i("", !0)], 8, oc)), [[v(K), {
|
|
3200
|
+
text: v(w).mdStrip(v(N)(e, 0).name),
|
|
3201
3201
|
width: 160
|
|
3202
3202
|
}]])), 128))])
|
|
3203
3203
|
])]),
|
|
3204
|
-
|
|
3204
|
+
v(J).active.value ? (d(), r(te, {
|
|
3205
3205
|
key: 0,
|
|
3206
|
-
term:
|
|
3207
|
-
html:
|
|
3208
|
-
onClose:
|
|
3206
|
+
term: v(J).active.value,
|
|
3207
|
+
html: v(w).md(v(J).active.value.definition),
|
|
3208
|
+
onClose: v(J).close
|
|
3209
3209
|
}, null, 8, [
|
|
3210
3210
|
"term",
|
|
3211
3211
|
"html",
|
|
3212
3212
|
"onClose"
|
|
3213
|
-
])) :
|
|
3214
|
-
])) :
|
|
3213
|
+
])) : i("", !0)
|
|
3214
|
+
])) : i("", !0);
|
|
3215
3215
|
};
|
|
3216
3216
|
}
|
|
3217
3217
|
};
|
|
@@ -3232,7 +3232,7 @@ function lc(e) {
|
|
|
3232
3232
|
theme: Number(e.params.theme),
|
|
3233
3233
|
page: Number(e.params.page || 1)
|
|
3234
3234
|
}),
|
|
3235
|
-
meta: e("page", ...
|
|
3235
|
+
meta: e("page", ...Ve)
|
|
3236
3236
|
},
|
|
3237
3237
|
{
|
|
3238
3238
|
path: "/zoom",
|
|
@@ -3246,7 +3246,7 @@ function lc(e) {
|
|
|
3246
3246
|
}
|
|
3247
3247
|
];
|
|
3248
3248
|
}
|
|
3249
|
-
function uc({ languages: e, parent: t, texts: n =
|
|
3249
|
+
function uc({ languages: e, parent: t, texts: n = Fe.GAI }) {
|
|
3250
3250
|
let r = [
|
|
3251
3251
|
["aboutMwnf", M.about],
|
|
3252
3252
|
["contact", M.contact],
|
|
@@ -3304,7 +3304,7 @@ function mc({ exhibition: e = {}, ...t }) {
|
|
|
3304
3304
|
let n = N({ entity: "collections" }), r = fc(t.origin, "islamicart");
|
|
3305
3305
|
return {
|
|
3306
3306
|
...pc(t, n),
|
|
3307
|
-
shell:
|
|
3307
|
+
shell: _e,
|
|
3308
3308
|
navigation: hn({
|
|
3309
3309
|
languages: k(n),
|
|
3310
3310
|
parent: r
|
|
@@ -3318,7 +3318,7 @@ function mc({ exhibition: e = {}, ...t }) {
|
|
|
3318
3318
|
picture: (e, t) => t ? `legacy/map${t}_${e}.jpg` : `legacy/map_${e}.jpg`,
|
|
3319
3319
|
count: e.maps
|
|
3320
3320
|
} : null,
|
|
3321
|
-
noCountry: e.noCountry ??
|
|
3321
|
+
noCountry: e.noCountry ?? be,
|
|
3322
3322
|
documentTitle: e.documentTitle ?? "MWNF DISCOVER ISLAMIC ART: Exhibition"
|
|
3323
3323
|
}),
|
|
3324
3324
|
views: { home: et },
|
|
@@ -3329,7 +3329,7 @@ function hc({ exhibition: e = {}, ...t }) {
|
|
|
3329
3329
|
let n = N({ entity: "collections" }), r = fc(t.origin, "islamicart");
|
|
3330
3330
|
return {
|
|
3331
3331
|
...pc(t, n),
|
|
3332
|
-
shell:
|
|
3332
|
+
shell: _e,
|
|
3333
3333
|
navigation: uc({
|
|
3334
3334
|
languages: k(n),
|
|
3335
3335
|
parent: r
|
|
@@ -3338,7 +3338,7 @@ function hc({ exhibition: e = {}, ...t }) {
|
|
|
3338
3338
|
parent: r,
|
|
3339
3339
|
menuSecondColumnFrom: e.menuSecondColumnFrom,
|
|
3340
3340
|
social: e.social,
|
|
3341
|
-
noCountry: e.noCountry ??
|
|
3341
|
+
noCountry: e.noCountry ?? be
|
|
3342
3342
|
}),
|
|
3343
3343
|
views: { home: Ps },
|
|
3344
3344
|
extraViews: lc(I())
|
|
@@ -3385,4 +3385,4 @@ function _c({ exhibition: e = {}, ...t }) {
|
|
|
3385
3385
|
extraViews: Sa(I())
|
|
3386
3386
|
};
|
|
3387
3387
|
}
|
|
3388
|
-
export { Ps as ArtIntroHome, cc as ArtIntroPage, $a as BAROQUEART_LABELS, Ua as BAROQUEART_NO_COUNTRY, to as BAROQUEART_WINDOWS, Co as BaroqueartHome, Vo as BaroqueartIntroduction, gs as BaroqueartPage, Ha as BaroqueartShell, ys as BaroqueartZoom,
|
|
3388
|
+
export { Ps as ArtIntroHome, cc as ArtIntroPage, $a as BAROQUEART_LABELS, Ua as BAROQUEART_NO_COUNTRY, to as BAROQUEART_WINDOWS, Co as BaroqueartHome, Vo as BaroqueartIntroduction, gs as BaroqueartPage, Ha as BaroqueartShell, ys as BaroqueartZoom, Ve as EXHIBITION_ENTITIES, be as ISLAMICART_NO_COUNTRY, Fe as LABELS, an as MinisiteCredits, et as MinisiteHome, Ot as MinisiteIntroduction, ln as MinisiteMap, tn as MinisitePage, _e as MinisiteShell, fn as MinisiteZoom, ye as PLACEHOLDER_TITLE, Rn as SHARINGHISTORY_LABELS, Yn as SHARINGHISTORY_WINDOWS, ga as SharingHistoryFurtherReading, Or as SharingHistoryHome, mi as SharingHistoryIntroduction, aa as SharingHistoryPage, Ln as SharingHistoryShell, va as SharingHistoryWindow, ba as SharingHistoryZoom, hc as artintroConfig, uc as artintroNavigation, lc as artintroRoutes, dc as artintroSettings, Ja as baroqueartCaption, Qa as baroqueartCuratorLabel, Ya as baroqueartDetailViewCaption, Za as baroqueartIntroCaption, xs as baroqueartMenu, gc as baroqueartMinisiteConfig, Cs as baroqueartNavigation, bs as baroqueartRoutes, ws as baroqueartSettings, Wa as baroqueartSlotsOf, Xa as baroqueartWithFirstView, Y as cleanText, Me as curatorLabel, Ne as curatorLink, Be as exhibitionData, Ie as familyOf, je as introCaption, mn as islamicartMenu, Le as labelSet, mc as minisiteConfig, hn as minisiteNavigation, pn as minisiteRoutes, gn as minisiteSettings, Se as pageWithNeighbours, fc as parentSite, De as placementCaption, Pe as quoteHasItalics, xe as readingOrder, Kn as sharinghistoryCaption, qn as sharinghistoryHomeLogos, Hn as sharinghistoryListedSubthemes, Vn as sharinghistoryListedThemes, _c as sharinghistoryMinisiteConfig, wa as sharinghistoryNavigation, Un as sharinghistoryPageRoute, Wn as sharinghistoryPageWithNext, Bn as sharinghistoryReadingOrder, Jn as sharinghistoryRelatedLinks, Sa as sharinghistoryRoutes, Ta as sharinghistorySettings, Gn as sharinghistorySlotsOf, ke as sheetItemId, Ce as slotsOf, no as useBaroqueartExhibition, X as useExhibition, $ as useSharingHistoryExhibition, Ae as viewPicture, Oe as withFirstView };
|