@museumwnf/viewer-layout 3.70.1 → 3.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -27
- package/dist/TimelineResultsView-Bn4rC_Se.js +614 -0
- package/dist/dxa.js +507 -487
- package/dist/minisite.js +837 -735
- package/dist/views.js +1 -1
- package/package.json +6 -4
- package/src/minisite/testing.js +281 -0
- package/dist/TimelineResultsView-BF3VoCs_.js +0 -686
package/dist/dxa.js
CHANGED
|
@@ -4,7 +4,7 @@ import { a as i, i as a, n as o } from "./TimelineEventList-CIkKxyQu.js";
|
|
|
4
4
|
import { t as s } from "./RecordView-CBC7tBCX.js";
|
|
5
5
|
import { A as c, C as l, D as u, E as d, M as f, N as p, O as m, S as h, T as g, _, a as v, b as y, c as ee, d as te, f as b, g as x, h as ne, i as re, j as ie, k as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./data-DlmKSxgh.js";
|
|
6
6
|
import { A as S, C as ye, D as be, E as xe, M as Se, N as Ce, O as we, S as Te, T as Ee, _ as De, a as Oe, b as ke, c as C, d as Ae, f as je, g as Me, h as Ne, i as Pe, j as w, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as T, w as Ge, x as Ke, y as qe } from "./data-BI5v-QYD.js";
|
|
7
|
-
import { n as Je, r as E, t as Ye } from "./TimelineResultsView-
|
|
7
|
+
import { n as Je, r as E, t as Ye } from "./TimelineResultsView-Bn4rC_Se.js";
|
|
8
8
|
import { t as Xe } from "./SiteShell-UsZ_cpe9.js";
|
|
9
9
|
import { i as Ze, n as Qe, r as $e, t as et } from "./chrome-Bv_mLlHM.js";
|
|
10
10
|
import { i as tt } from "./PageShell-CIGVv7sK.js";
|
|
@@ -12,14 +12,14 @@ import { n as nt, t as rt } from "./LegacyItemSheet-B4Ob4upz.js";
|
|
|
12
12
|
import { n as it, r as D } from "./Theme-DvCv48p7.js";
|
|
13
13
|
import { n as at, r as ot, t as st } from "./themeSpecs-CKgLOhlP.js";
|
|
14
14
|
import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as ct, createTextVNode as P, createVNode as F, normalizeClass as I, normalizeStyle as lt, onBeforeUnmount as ut, onMounted as dt, openBlock as L, reactive as ft, ref as R, renderList as z, renderSlot as pt, resolveDynamicComponent as mt, toDisplayString as B, unref as V, vModelCheckbox as ht, vModelSelect as gt, vModelText as _t, vShow as vt, watch as yt, watchEffect as bt, withCtx as H, withDirectives as U, withModifiers as xt } from "vue";
|
|
15
|
-
import { I18nText as W,
|
|
16
|
-
import { RouterLink as Y, useRoute as X, useRouter as
|
|
17
|
-
import { romanFor as
|
|
15
|
+
import { I18nText as W, LEGACY_SITES as St, NotFoundView as Ct, languageLabels as wt, loadEntities as Tt, mwnfLinks as G, offeredLanguages as Et, renderBlock as Dt, renderInline as K, renderPlain as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as q, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as Pt, withEraWords as Ft, yearBuckets as J, yearBucketsFromRange as It } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as Y, useRoute as X, useRouter as Lt } from "vue-router";
|
|
17
|
+
import { romanFor as Rt } from "@museumwnf/viewer-core/dxa";
|
|
18
18
|
// src/dxa/PartnerDetail.vue
|
|
19
|
-
var
|
|
19
|
+
var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profile-map-label" }, Vt = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "mwnf-dxa-profile-no-map"
|
|
22
|
-
},
|
|
22
|
+
}, Ht = {
|
|
23
23
|
__name: "PartnerDetail",
|
|
24
24
|
props: {
|
|
25
25
|
id: {
|
|
@@ -43,7 +43,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
43
43
|
id: i.id,
|
|
44
44
|
class: I(["mwnf-dxa-partner-profile", i.family.className])
|
|
45
45
|
}, {
|
|
46
|
-
header: H(({ languages: n, language: r, select: a }) => [N("div",
|
|
46
|
+
header: H(({ languages: n, language: r, select: a }) => [N("div", zt, [F(t, {
|
|
47
47
|
languages: n,
|
|
48
48
|
language: r,
|
|
49
49
|
from: i.family.legacyMap ? 1 : 2,
|
|
@@ -74,7 +74,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
74
74
|
_: 2
|
|
75
75
|
}, [i.family.legacyMap ? {
|
|
76
76
|
name: "after",
|
|
77
|
-
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p",
|
|
77
|
+
fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p", Bt, B(V(c)(i.family.legacyMap.label)), 1), F(r, {
|
|
78
78
|
class: "mwnf-dxa-profile-map",
|
|
79
79
|
provider: "google",
|
|
80
80
|
latitude: e.map.latitude,
|
|
@@ -86,7 +86,7 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
86
86
|
"longitude",
|
|
87
87
|
"zoom",
|
|
88
88
|
"label"
|
|
89
|
-
])], 64)) : (L(), M("p",
|
|
89
|
+
])], 64)) : (L(), M("p", Vt))]),
|
|
90
90
|
key: "0"
|
|
91
91
|
} : void 0]), 1032, [
|
|
92
92
|
"partner",
|
|
@@ -100,9 +100,9 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
100
100
|
"spec",
|
|
101
101
|
"id",
|
|
102
102
|
"class"
|
|
103
|
-
])) : (L(), A(V(
|
|
103
|
+
])) : (L(), A(V(Ct), { key: 1 }));
|
|
104
104
|
}
|
|
105
|
-
},
|
|
105
|
+
}, Ut = {
|
|
106
106
|
__name: "TextPage",
|
|
107
107
|
props: {
|
|
108
108
|
body: {
|
|
@@ -131,50 +131,50 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
131
131
|
"blank-lines": ""
|
|
132
132
|
}, null, 8, ["keypath"])], 2));
|
|
133
133
|
}
|
|
134
|
-
},
|
|
134
|
+
}, Wt = {
|
|
135
135
|
__name: "About",
|
|
136
136
|
setup(e) {
|
|
137
|
-
return (e, t) => (L(), A(
|
|
137
|
+
return (e, t) => (L(), A(Ut, {
|
|
138
138
|
kind: "about",
|
|
139
139
|
body: "gallery.about.body"
|
|
140
140
|
}));
|
|
141
141
|
}
|
|
142
|
-
},
|
|
142
|
+
}, Gt = {
|
|
143
143
|
__name: "Credits",
|
|
144
144
|
props: { bodyKey: {
|
|
145
145
|
type: String,
|
|
146
146
|
required: !0
|
|
147
147
|
} },
|
|
148
148
|
setup(e) {
|
|
149
|
-
return (t, n) => (L(), A(
|
|
149
|
+
return (t, n) => (L(), A(Ut, {
|
|
150
150
|
kind: "credits",
|
|
151
151
|
body: e.bodyKey
|
|
152
152
|
}, null, 8, ["body"]));
|
|
153
153
|
}
|
|
154
|
-
},
|
|
154
|
+
}, Kt = { class: "mwnf-dxa-exhibition-credits" }, qt = {
|
|
155
155
|
__name: "Credits",
|
|
156
156
|
props: { bodyKey: {
|
|
157
157
|
type: String,
|
|
158
158
|
required: !0
|
|
159
159
|
} },
|
|
160
160
|
setup(t) {
|
|
161
|
-
return (n, r) => (L(), M("div",
|
|
161
|
+
return (n, r) => (L(), M("div", Kt, [F(e), F(V(W), {
|
|
162
162
|
class: "mwnf-dxa-exhibition-credits__body",
|
|
163
163
|
dir: "auto",
|
|
164
164
|
keypath: t.bodyKey,
|
|
165
165
|
"blank-lines": ""
|
|
166
166
|
}, null, 8, ["keypath"])]));
|
|
167
167
|
}
|
|
168
|
-
},
|
|
168
|
+
}, Jt = {
|
|
169
169
|
__name: "SearchHowTo",
|
|
170
170
|
setup(e) {
|
|
171
|
-
return (e, t) => (L(), A(
|
|
171
|
+
return (e, t) => (L(), A(Ut, {
|
|
172
172
|
kind: "how-to",
|
|
173
173
|
body: "catalogue.search.howToEssay",
|
|
174
174
|
back: { name: "collection" }
|
|
175
175
|
}));
|
|
176
176
|
}
|
|
177
|
-
},
|
|
177
|
+
}, Yt = {
|
|
178
178
|
DGA: "dga",
|
|
179
179
|
ISL: "isl",
|
|
180
180
|
EPM: "isl",
|
|
@@ -182,40 +182,40 @@ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profil
|
|
|
182
182
|
BAR: "dba",
|
|
183
183
|
GALLERIES: "galleries",
|
|
184
184
|
DCA: "dca"
|
|
185
|
-
},
|
|
185
|
+
}, Xt = {
|
|
186
186
|
partner: "gallery.partners.statusPartner",
|
|
187
187
|
affiliate: "gallery.partners.statusAffiliate"
|
|
188
188
|
};
|
|
189
|
-
function
|
|
189
|
+
function Zt(e, t = Xt) {
|
|
190
190
|
let n = e?.own_project;
|
|
191
191
|
if (!n?.name) return null;
|
|
192
|
-
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" :
|
|
192
|
+
let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Yt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
|
|
193
193
|
return {
|
|
194
194
|
name: n.name,
|
|
195
195
|
status: a ? t.partner : t.affiliate,
|
|
196
196
|
tone: i
|
|
197
197
|
};
|
|
198
198
|
}
|
|
199
|
-
var
|
|
199
|
+
var Qt = {
|
|
200
200
|
partner: "exhibition.partners.statusPartner",
|
|
201
201
|
associated_partner: "exhibition.partners.statusAssociated",
|
|
202
202
|
minor_contributor: "exhibition.partners.statusFurtherAssociated"
|
|
203
|
-
},
|
|
203
|
+
}, $t = "mwnf3:institutions:";
|
|
204
204
|
function Z(e) {
|
|
205
205
|
let t = e?.own_project;
|
|
206
206
|
if (!t?.name) return null;
|
|
207
|
-
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(
|
|
207
|
+
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith($t) ? e.level : t.level;
|
|
208
208
|
return {
|
|
209
209
|
name: t.name,
|
|
210
|
-
status: t.exhibition ?
|
|
211
|
-
tone: t.exhibition ? "exh" :
|
|
210
|
+
status: t.exhibition ? Qt.partner : Qt[r] ?? null,
|
|
211
|
+
tone: t.exhibition ? "exh" : Yt[n] ?? ""
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
214
|
// src/dxa/gallery/Partners.vue
|
|
215
|
-
var
|
|
215
|
+
var en = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, tn = { class: "mwnf-dxa-gallery-partners__options" }, nn = { class: "mwnf-dxa-gallery-partners__order" }, rn = ["onClick"], an = { class: "mwnf-dxa-gallery-partners__country" }, on = { class: "mwnf-dxa-gallery-partners__partner" }, sn = { class: "mwnf-dxa-gallery-partners__text" }, cn = ["innerHTML"], ln = {
|
|
216
216
|
key: 0,
|
|
217
217
|
class: "mwnf-dxa-gallery-partners__city"
|
|
218
|
-
},
|
|
218
|
+
}, un = { class: "mwnf-dxa-partner-badge__status" }, dn = { class: "mwnf-dxa-gallery-partners__links" }, fn = { class: "mwnf-dxa-gallery-partners__logo" }, pn = ["src", "alt"], mn = {
|
|
219
219
|
__name: "Partners",
|
|
220
220
|
setup(t) {
|
|
221
221
|
let r = {
|
|
@@ -224,30 +224,30 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
224
224
|
orderToggle: !1,
|
|
225
225
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
226
226
|
};
|
|
227
|
-
return (t, i) => (L(), M("div",
|
|
228
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
227
|
+
return (t, i) => (L(), M("div", en, [F(Je, { spec: r }, {
|
|
228
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", tn, [F(e), N("div", nn, [N("button", {
|
|
229
229
|
type: "button",
|
|
230
230
|
onClick: r
|
|
231
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
231
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, rn)])]), F(V(W), {
|
|
232
232
|
id: "mwnf-dxa-partners-intro",
|
|
233
233
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
234
234
|
dir: "auto",
|
|
235
235
|
keypath: "gallery.partners.intro"
|
|
236
236
|
})]),
|
|
237
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
238
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
237
|
+
"group-heading": H(({ group: e }) => [N("div", an, B(e.label), 1)]),
|
|
238
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", on, [N("div", sn, [
|
|
239
239
|
F(n, {
|
|
240
240
|
class: "mwnf-dxa-gallery-partners__name",
|
|
241
241
|
to: t.route
|
|
242
242
|
}, {
|
|
243
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
243
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, cn), t.city ? (L(), M("span", ln, ", " + B(t.city), 1)) : j("", !0)]),
|
|
244
244
|
_: 2
|
|
245
245
|
}, 1032, ["to"]),
|
|
246
|
-
V(
|
|
246
|
+
V(Zt)(e) ? (L(), M("div", {
|
|
247
247
|
key: 0,
|
|
248
|
-
class: I(["mwnf-dxa-partner-badge", V(
|
|
249
|
-
}, [P(B(V(
|
|
250
|
-
N("div",
|
|
248
|
+
class: I(["mwnf-dxa-partner-badge", V(Zt)(e).tone && `mwnf-dxa-partner-badge--${V(Zt)(e).tone}`])
|
|
249
|
+
}, [P(B(V(Zt)(e).name) + " ", 1), N("span", un, B(r(V(Zt)(e).status)), 1)], 2)) : j("", !0),
|
|
250
|
+
N("div", dn, [F(n, { to: t.route }, {
|
|
251
251
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
252
252
|
_: 2
|
|
253
253
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -257,20 +257,20 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
257
257
|
default: H(() => [P(B(r("partner.action.viewObjects")), 1)]),
|
|
258
258
|
_: 2
|
|
259
259
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
260
|
-
]), N("div",
|
|
260
|
+
]), N("div", fn, [t.logos?.[0] ? (L(), M("img", {
|
|
261
261
|
key: 0,
|
|
262
262
|
src: t.logos[0].url,
|
|
263
263
|
alt: t.plainName,
|
|
264
264
|
loading: "lazy"
|
|
265
|
-
}, null, 8,
|
|
265
|
+
}, null, 8, pn)) : j("", !0)])])]),
|
|
266
266
|
_: 1
|
|
267
267
|
})]));
|
|
268
268
|
}
|
|
269
|
-
},
|
|
269
|
+
}, hn = ["disabled"], gn = { key: 0 }, _n = ["disabled"], vn = { key: 0 }, yn = [
|
|
270
270
|
"disabled",
|
|
271
271
|
"aria-current",
|
|
272
272
|
"onClick"
|
|
273
|
-
],
|
|
273
|
+
], bn = ["disabled"], xn = { key: 0 }, Sn = ["disabled"], Cn = { key: 0 }, Q = {
|
|
274
274
|
__name: "LegacyPages",
|
|
275
275
|
props: {
|
|
276
276
|
pageInfo: {
|
|
@@ -322,13 +322,13 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
322
322
|
class: I([`${a.value}__button`, { "is-disabled": h(1) }]),
|
|
323
323
|
disabled: h(1),
|
|
324
324
|
onClick: t[0] ||= (e) => g(1)
|
|
325
|
-
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
325
|
+
}, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span", gn, B(" " + o("first")), 1))], 10, hn),
|
|
326
326
|
N("button", {
|
|
327
327
|
type: "button",
|
|
328
328
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
|
|
329
329
|
disabled: h(f.value - 1),
|
|
330
330
|
onClick: t[1] ||= (e) => g(f.value - 1)
|
|
331
|
-
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span",
|
|
331
|
+
}, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span", vn, B(" " + o("previous")), 1))], 10, _n),
|
|
332
332
|
N("div", { class: I(`${a.value}__numbers`) }, [(L(!0), M(O, null, z(m.value, (e) => (L(), M("button", {
|
|
333
333
|
key: e,
|
|
334
334
|
type: "button",
|
|
@@ -336,22 +336,22 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
336
336
|
disabled: h(e),
|
|
337
337
|
"aria-current": e === f.value ? "page" : void 0,
|
|
338
338
|
onClick: (t) => g(e)
|
|
339
|
-
}, B(e), 11,
|
|
339
|
+
}, B(e), 11, yn))), 128))], 2),
|
|
340
340
|
N("button", {
|
|
341
341
|
type: "button",
|
|
342
342
|
class: I([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
|
|
343
343
|
disabled: h(f.value + 1),
|
|
344
344
|
onClick: t[2] ||= (e) => g(f.value + 1)
|
|
345
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
345
|
+
}, [V(c) ? j("", !0) : (L(), M("span", xn, B(o("next") + " "), 1)), t[6] ||= P("> ", -1)], 10, bn),
|
|
346
346
|
N("button", {
|
|
347
347
|
type: "button",
|
|
348
348
|
class: I([`${a.value}__button`, { "is-disabled": h(p.value) }]),
|
|
349
349
|
disabled: h(p.value),
|
|
350
350
|
onClick: t[3] ||= (e) => g(p.value)
|
|
351
|
-
}, [V(c) ? j("", !0) : (L(), M("span",
|
|
351
|
+
}, [V(c) ? j("", !0) : (L(), M("span", Cn, B(o("last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, Sn)
|
|
352
352
|
], 2)) : j("", !0);
|
|
353
353
|
}
|
|
354
|
-
},
|
|
354
|
+
}, wn = ["onMouseenter"], Tn = { class: "mwnf-dxa-grid__frame" }, En = ["src", "alt"], Dn = ["src", "alt"], On = { class: "mwnf-dxa-grid__text" }, kn = ["innerHTML"], An = { class: "mwnf-dxa-grid__date" }, jn = { class: "mwnf-dxa-grid__partner" }, Mn = { class: "mwnf-dxa-grid__place" }, Nn = {
|
|
355
355
|
key: 0,
|
|
356
356
|
class: "mwnf-dxa-grid__project"
|
|
357
357
|
}, $ = {
|
|
@@ -373,12 +373,12 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
373
373
|
class: "mwnf-dxa-grid__entry",
|
|
374
374
|
onMouseenter: (e) => r.value = o,
|
|
375
375
|
onMouseleave: a[0] ||= (e) => r.value = -1
|
|
376
|
-
}, [N("div",
|
|
376
|
+
}, [N("div", Tn, [N("img", {
|
|
377
377
|
class: "mwnf-dxa-grid__image",
|
|
378
378
|
src: i.image,
|
|
379
379
|
alt: i.imageAlt,
|
|
380
380
|
loading: "lazy"
|
|
381
|
-
}, null, 8,
|
|
381
|
+
}, null, 8, En)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
|
|
382
382
|
class: "mwnf-dxa-grid__card-image",
|
|
383
383
|
to: i.to,
|
|
384
384
|
tabindex: "-1"
|
|
@@ -387,17 +387,17 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
387
387
|
src: i.image,
|
|
388
388
|
alt: i.imageAlt,
|
|
389
389
|
loading: "lazy"
|
|
390
|
-
}, null, 8,
|
|
390
|
+
}, null, 8, Dn)]),
|
|
391
391
|
_: 2
|
|
392
|
-
}, 1032, ["to"]), N("div",
|
|
392
|
+
}, 1032, ["to"]), N("div", On, [
|
|
393
393
|
N("p", {
|
|
394
394
|
class: "mwnf-dxa-grid__name",
|
|
395
395
|
innerHTML: i.name
|
|
396
|
-
}, null, 8,
|
|
397
|
-
N("p",
|
|
398
|
-
N("p",
|
|
399
|
-
N("p",
|
|
400
|
-
e.family !== "exhibition" || i.project ? (L(), M("p",
|
|
396
|
+
}, null, 8, kn),
|
|
397
|
+
N("p", An, B(i.date), 1),
|
|
398
|
+
N("p", jn, B(i.partner), 1),
|
|
399
|
+
N("p", Mn, B(i.place), 1),
|
|
400
|
+
e.family !== "exhibition" || i.project ? (L(), M("p", Nn, [P(B(e.family === "exhibition" ? V(t)("exhibition.results.for") : V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
|
|
401
401
|
F(n, {
|
|
402
402
|
class: "mwnf-dxa-grid__link",
|
|
403
403
|
to: i.to
|
|
@@ -405,18 +405,18 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
405
405
|
default: H(() => [P(B(V(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
406
406
|
_: 1
|
|
407
407
|
}, 8, ["to"])
|
|
408
|
-
])], 2)], 40,
|
|
408
|
+
])], 2)], 40, wn))), 128))], 2));
|
|
409
409
|
}
|
|
410
|
-
},
|
|
410
|
+
}, Pn = ["onSubmit"], Fn = ["placeholder"], In = {
|
|
411
411
|
type: "submit",
|
|
412
412
|
class: "mwnf-dxa-refine-search-submit"
|
|
413
|
-
},
|
|
413
|
+
}, Ln = { class: "mwnf-dxa-how-to" }, Rn = {
|
|
414
414
|
key: 1,
|
|
415
415
|
class: "mwnf-dxa-no-results"
|
|
416
|
-
},
|
|
416
|
+
}, zn = {
|
|
417
417
|
__name: "SearchResults",
|
|
418
418
|
setup(t) {
|
|
419
|
-
let n =
|
|
419
|
+
let n = Mt("items", {
|
|
420
420
|
grammar: "boolean",
|
|
421
421
|
haystack: b
|
|
422
422
|
}), r = R(!1);
|
|
@@ -457,7 +457,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
457
457
|
type: "text",
|
|
458
458
|
class: "mwnf-dxa-refine-search-input",
|
|
459
459
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
460
|
-
}, null, 8,
|
|
460
|
+
}, null, 8, Fn), [[_t, a.value]]), N("button", In, B(t.$t("catalogue.search.submit")), 1)], 40, Pn), N("p", Ln, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
461
461
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
462
462
|
_: 1
|
|
463
463
|
})])]),
|
|
@@ -476,7 +476,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
476
476
|
records: H(({ rows: e }) => [e.length ? (L(), A($, {
|
|
477
477
|
key: 0,
|
|
478
478
|
rows: e
|
|
479
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
479
|
+
}, null, 8, ["rows"])) : (L(), M("p", Rn, [
|
|
480
480
|
P(B(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
481
481
|
F(V(Y), { to: { name: "search-how-to" } }, {
|
|
482
482
|
default: H(() => [P(B(t.$t("catalogue.search.howTo")), 1)]),
|
|
@@ -491,7 +491,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
491
491
|
_: 1
|
|
492
492
|
}, 8, ["spec"]));
|
|
493
493
|
}
|
|
494
|
-
},
|
|
494
|
+
}, Bn = {
|
|
495
495
|
__name: "TimelineResults",
|
|
496
496
|
setup(t) {
|
|
497
497
|
return (t, n) => (L(), A(Ye, {
|
|
@@ -502,10 +502,10 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
502
502
|
_: 1
|
|
503
503
|
}, 8, ["spec"]));
|
|
504
504
|
}
|
|
505
|
-
},
|
|
505
|
+
}, Vn = { class: "mwnf-dxa-back-to-events" }, Hn = {
|
|
506
506
|
key: 1,
|
|
507
507
|
class: "mwnf-record-grid__empty"
|
|
508
|
-
},
|
|
508
|
+
}, Un = {
|
|
509
509
|
__name: "TimelineGallery",
|
|
510
510
|
setup(t) {
|
|
511
511
|
return (t, n) => (L(), A(E, {
|
|
@@ -516,7 +516,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
516
516
|
class: "mwnf-dxa-timeline-gallery"
|
|
517
517
|
}, {
|
|
518
518
|
before: H(() => [F(e)]),
|
|
519
|
-
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p",
|
|
519
|
+
actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", Vn, [F(V(Y), { to: {
|
|
520
520
|
name: "timeline-results",
|
|
521
521
|
query: {
|
|
522
522
|
country: e.country,
|
|
@@ -535,7 +535,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
535
535
|
records: H(({ rows: e, empty: t }) => [e.length ? (L(), A($, {
|
|
536
536
|
key: 0,
|
|
537
537
|
rows: e
|
|
538
|
-
}, null, 8, ["rows"])) : (L(), M("p",
|
|
538
|
+
}, null, 8, ["rows"])) : (L(), M("p", Hn, B(t), 1))]),
|
|
539
539
|
pagination: H(() => [...n[0] ||= []]),
|
|
540
540
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
541
541
|
family: "gallery",
|
|
@@ -545,13 +545,13 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
545
545
|
_: 1
|
|
546
546
|
}, 8, ["spec"]));
|
|
547
547
|
}
|
|
548
|
-
},
|
|
548
|
+
}, Wn = { class: "mwnf-dxa-gallery-results" }, Gn = { class: "mwnf-dxa-gallery-results__info" }, Kn = { class: "mwnf-dxa-gallery-results__choices" }, qn = {
|
|
549
549
|
key: 0,
|
|
550
550
|
class: "mwnf-dxa-gallery-results__end"
|
|
551
|
-
},
|
|
551
|
+
}, Jn = { class: "mwnf-dxa-date-wrapper" }, Yn = {
|
|
552
552
|
key: 0,
|
|
553
553
|
class: "mwnf-dxa-timeline-link-box"
|
|
554
|
-
},
|
|
554
|
+
}, Xn = { class: "mwnf-dxa-options-label" }, Zn = { class: "mwnf-dxa-gallery-results__timeline" }, Qn = {
|
|
555
555
|
__name: "CollectionResults",
|
|
556
556
|
setup(t) {
|
|
557
557
|
let { t: n } = q(), r = {
|
|
@@ -571,7 +571,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
571
571
|
let t = le(e.country);
|
|
572
572
|
return !!(t && p.value.has(t));
|
|
573
573
|
}
|
|
574
|
-
return (t, s) => (L(), M("div",
|
|
574
|
+
return (t, s) => (L(), M("div", Wn, [F(E, {
|
|
575
575
|
spec: {
|
|
576
576
|
...V(v),
|
|
577
577
|
...V(he),
|
|
@@ -579,7 +579,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
579
579
|
},
|
|
580
580
|
class: "mwnf-dxa-collection-results"
|
|
581
581
|
}, {
|
|
582
|
-
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div",
|
|
582
|
+
before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Gn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", Kn, B(d(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(c.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
|
|
583
583
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
584
584
|
family: "gallery",
|
|
585
585
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -594,7 +594,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
594
594
|
class: "mwnf-dxa-gallery-results__none",
|
|
595
595
|
keypath: "gallery.collection.noResults"
|
|
596
596
|
}))]),
|
|
597
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
597
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", qn)) : j("", !0)]),
|
|
598
598
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
599
599
|
family: "gallery",
|
|
600
600
|
"page-info": e,
|
|
@@ -632,7 +632,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
632
632
|
"placeholder",
|
|
633
633
|
"onUpdate:modelValue"
|
|
634
634
|
]))), 128)),
|
|
635
|
-
N("div",
|
|
635
|
+
N("div", Jn, [F(i, {
|
|
636
636
|
"model-value": e.from,
|
|
637
637
|
options: V(J)(l, o),
|
|
638
638
|
placeholder: V(n)("gallery.collection.startDate"),
|
|
@@ -660,7 +660,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
660
660
|
"reset-label",
|
|
661
661
|
"disabled",
|
|
662
662
|
"onReset"
|
|
663
|
-
]), m(e) ? (L(), M("div",
|
|
663
|
+
]), m(e) ? (L(), M("div", Yn, [N("div", Xn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", Zn, [s[0] ||= N("span", {
|
|
664
664
|
class: "mwnf-dxa-gallery-results__share",
|
|
665
665
|
"aria-hidden": "true"
|
|
666
666
|
}, "➦", -1), F(V(Y), { to: {
|
|
@@ -677,22 +677,22 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
677
677
|
_: 1
|
|
678
678
|
}, 8, ["spec"])]));
|
|
679
679
|
}
|
|
680
|
-
},
|
|
680
|
+
}, $n = { class: "mwnf-dxa-gallery-collection" }, er = { class: "mwnf-dxa-gallery-collection__dropdowns" }, tr = { class: "mwnf-dxa-gallery-collection__label" }, nr = { class: "mwnf-dxa-gallery-collection__selects" }, rr = ["aria-label", "onChange"], ir = {
|
|
681
681
|
selected: "",
|
|
682
682
|
disabled: "",
|
|
683
683
|
value: ""
|
|
684
|
-
},
|
|
684
|
+
}, ar = ["value"], or = { class: "mwnf-dxa-gallery-collection__dates" }, sr = ["aria-label"], cr = {
|
|
685
685
|
selected: "",
|
|
686
686
|
disabled: "",
|
|
687
687
|
value: ""
|
|
688
|
-
},
|
|
688
|
+
}, lr = ["value"], ur = ["aria-label"], dr = {
|
|
689
689
|
selected: "",
|
|
690
690
|
disabled: "",
|
|
691
691
|
value: ""
|
|
692
|
-
},
|
|
692
|
+
}, fr = ["value"], pr = ["innerHTML"], mr = {
|
|
693
693
|
__name: "CollectionSearch",
|
|
694
694
|
setup(e) {
|
|
695
|
-
let t =
|
|
695
|
+
let t = Lt(), { t: n } = q(), r = k(() => Dt(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = jt(x, pe), a = {
|
|
696
696
|
country: "gallery.collection.selectCountry",
|
|
697
697
|
type: "gallery.collection.type",
|
|
698
698
|
dynasty: "gallery.collection.periodDynasty",
|
|
@@ -709,44 +709,44 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
709
709
|
query: { [e]: String(n) }
|
|
710
710
|
});
|
|
711
711
|
}
|
|
712
|
-
return (e, t) => (L(), M("div",
|
|
712
|
+
return (e, t) => (L(), M("div", $n, [N("div", er, [N("div", tr, B(V(n)("gallery.collection.filterBy")), 1), N("div", nr, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
713
713
|
key: e.key,
|
|
714
714
|
class: "mwnf-dxa-gallery-collection__select",
|
|
715
715
|
"aria-label": V(n)(e.name),
|
|
716
716
|
onChange: (t) => l(e.key, t.target.value)
|
|
717
|
-
}, [N("option",
|
|
717
|
+
}, [N("option", ir, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
718
718
|
key: e.value,
|
|
719
719
|
value: String(e.value)
|
|
720
|
-
}, B(e.label), 9,
|
|
720
|
+
}, B(e.label), 9, ar))), 128))], 40, rr))), 128)), N("div", or, [N("select", {
|
|
721
721
|
class: "mwnf-dxa-gallery-collection__select",
|
|
722
722
|
"aria-label": V(n)("gallery.collection.startDate"),
|
|
723
723
|
onChange: t[0] ||= (e) => l("from", e.target.value)
|
|
724
|
-
}, [N("option",
|
|
724
|
+
}, [N("option", cr, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
725
725
|
key: e.value,
|
|
726
726
|
value: String(e.value)
|
|
727
|
-
}, B(e.label), 9,
|
|
727
|
+
}, B(e.label), 9, lr))), 128))], 40, sr), N("select", {
|
|
728
728
|
class: "mwnf-dxa-gallery-collection__select",
|
|
729
729
|
"aria-label": V(n)("gallery.collection.endDate"),
|
|
730
730
|
onChange: t[1] ||= (e) => l("to", e.target.value)
|
|
731
|
-
}, [N("option",
|
|
731
|
+
}, [N("option", dr, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
|
|
732
732
|
key: e.value,
|
|
733
733
|
value: String(e.value)
|
|
734
|
-
}, B(e.label), 9,
|
|
734
|
+
}, B(e.label), 9, fr))), 128))], 40, ur)])])]), N("div", {
|
|
735
735
|
class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
|
|
736
736
|
dir: "auto",
|
|
737
737
|
innerHTML: r.value
|
|
738
|
-
}, null, 8,
|
|
738
|
+
}, null, 8, pr)]));
|
|
739
739
|
}
|
|
740
|
-
},
|
|
740
|
+
}, hr = {
|
|
741
741
|
key: 0,
|
|
742
742
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
743
|
-
},
|
|
743
|
+
}, gr = { class: "mwnf-dxa-gallery-objects__header" }, _r = ["innerHTML"], vr = {
|
|
744
744
|
key: 0,
|
|
745
745
|
class: "mwnf-dxa-gallery-objects__place"
|
|
746
|
-
},
|
|
746
|
+
}, yr = {
|
|
747
747
|
key: 0,
|
|
748
748
|
class: "mwnf-dxa-gallery-objects__end"
|
|
749
|
-
},
|
|
749
|
+
}, br = {
|
|
750
750
|
__name: "PartnerObjects",
|
|
751
751
|
setup(t) {
|
|
752
752
|
let n = X(), r = k(() => y.value.get(n.params.id) ?? null), i = k(() => ({
|
|
@@ -754,11 +754,11 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
754
754
|
...he,
|
|
755
755
|
scope: (e) => e.partner_id === n.params.id
|
|
756
756
|
})), a = k(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
|
|
757
|
-
return (t, n) => r.value ? (L(), M("div",
|
|
758
|
-
before: H(() => [F(e), N("div",
|
|
757
|
+
return (t, n) => r.value ? (L(), M("div", hr, [F(E, { spec: i.value }, {
|
|
758
|
+
before: H(() => [F(e), N("div", gr, [N("p", {
|
|
759
759
|
class: "mwnf-dxa-gallery-objects__name",
|
|
760
760
|
innerHTML: a.value.name
|
|
761
|
-
}, null, 8,
|
|
761
|
+
}, null, 8, _r), o.value ? (L(), M("p", vr, B(o.value), 1)) : j("", !0)])]),
|
|
762
762
|
actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
763
763
|
family: "gallery",
|
|
764
764
|
class: "mwnf-dxa-gallery-pages--top",
|
|
@@ -766,7 +766,7 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
766
766
|
onNavigate: t
|
|
767
767
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
768
768
|
records: H(({ rows: e }) => [F($, { rows: e }, null, 8, ["rows"])]),
|
|
769
|
-
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div",
|
|
769
|
+
pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", yr)) : j("", !0)]),
|
|
770
770
|
after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
|
|
771
771
|
family: "gallery",
|
|
772
772
|
"page-info": e,
|
|
@@ -785,22 +785,22 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
785
785
|
_: 1
|
|
786
786
|
}, 8, ["spec"])])) : j("", !0);
|
|
787
787
|
}
|
|
788
|
-
},
|
|
788
|
+
}, xr = { class: "mwnf-dxa-exhibition-how-to" }, Sr = {
|
|
789
789
|
__name: "SearchHowTo",
|
|
790
790
|
setup(t) {
|
|
791
|
-
return (t, n) => (L(), M("div",
|
|
791
|
+
return (t, n) => (L(), M("div", xr, [F(e), F(V(W), {
|
|
792
792
|
class: "mwnf-dxa-exhibition-how-to__text",
|
|
793
793
|
dir: "auto",
|
|
794
794
|
keypath: "catalogue.search.howToEssay"
|
|
795
795
|
})]));
|
|
796
796
|
}
|
|
797
|
-
},
|
|
797
|
+
}, Cr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, wr = { class: "mwnf-dxa-gallery-partners__options" }, Tr = { class: "mwnf-dxa-gallery-partners__order" }, Er = ["onClick"], Dr = { class: "mwnf-dxa-gallery-partners__country" }, Or = { class: "mwnf-dxa-gallery-partners__partner" }, kr = { class: "mwnf-dxa-gallery-partners__text" }, Ar = ["innerHTML"], jr = {
|
|
798
798
|
key: 0,
|
|
799
799
|
class: "mwnf-dxa-gallery-partners__city"
|
|
800
|
-
},
|
|
800
|
+
}, Mr = {
|
|
801
801
|
key: 0,
|
|
802
802
|
class: "mwnf-dxa-partner-badge__status"
|
|
803
|
-
},
|
|
803
|
+
}, Nr = { class: "mwnf-dxa-gallery-partners__links" }, Pr = { class: "mwnf-dxa-gallery-partners__logo" }, Fr = ["src", "alt"], Ir = {
|
|
804
804
|
__name: "Partners",
|
|
805
805
|
setup(t) {
|
|
806
806
|
let r = {
|
|
@@ -809,30 +809,30 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
809
809
|
orderToggle: !1,
|
|
810
810
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
811
811
|
};
|
|
812
|
-
return (t, i) => (L(), M("div",
|
|
813
|
-
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div",
|
|
812
|
+
return (t, i) => (L(), M("div", Cr, [F(Je, { spec: r }, {
|
|
813
|
+
before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", wr, [F(e), N("div", Tr, [N("button", {
|
|
814
814
|
type: "button",
|
|
815
815
|
onClick: r
|
|
816
|
-
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9,
|
|
816
|
+
}, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Er)])]), F(V(W), {
|
|
817
817
|
id: "mwnf-dxa-partners-intro",
|
|
818
818
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
819
819
|
dir: "auto",
|
|
820
820
|
keypath: "exhibition.partners.intro"
|
|
821
821
|
})]),
|
|
822
|
-
"group-heading": H(({ group: e }) => [N("div",
|
|
823
|
-
row: H(({ partner: e, view: t, t: r }) => [N("div",
|
|
822
|
+
"group-heading": H(({ group: e }) => [N("div", Dr, B(e.label), 1)]),
|
|
823
|
+
row: H(({ partner: e, view: t, t: r }) => [N("div", Or, [N("div", kr, [
|
|
824
824
|
F(n, {
|
|
825
825
|
class: "mwnf-dxa-gallery-partners__name",
|
|
826
826
|
to: t.route
|
|
827
827
|
}, {
|
|
828
|
-
default: H(() => [N("span", { innerHTML: t.name }, null, 8,
|
|
828
|
+
default: H(() => [N("span", { innerHTML: t.name }, null, 8, Ar), t.city ? (L(), M("span", jr, ", " + B(t.city), 1)) : j("", !0)]),
|
|
829
829
|
_: 2
|
|
830
830
|
}, 1032, ["to"]),
|
|
831
831
|
V(Z)(e) ? (L(), M("div", {
|
|
832
832
|
key: 0,
|
|
833
833
|
class: I(["mwnf-dxa-partner-badge", V(Z)(e).tone && `mwnf-dxa-partner-badge--${V(Z)(e).tone}`])
|
|
834
|
-
}, [P(B(V(Z)(e).name + " "), 1), V(Z)(e).status ? (L(), M("span",
|
|
835
|
-
N("div",
|
|
834
|
+
}, [P(B(V(Z)(e).name + " "), 1), V(Z)(e).status ? (L(), M("span", Mr, B(r(V(Z)(e).status)), 1)) : j("", !0)], 2)) : j("", !0),
|
|
835
|
+
N("div", Nr, [F(n, { to: t.route }, {
|
|
836
836
|
default: H(() => [P(B(r("partner.action.readMore")), 1)]),
|
|
837
837
|
_: 2
|
|
838
838
|
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
|
|
@@ -842,35 +842,35 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
842
842
|
default: H(() => [P(B(r("exhibition.partners.viewItems")), 1)]),
|
|
843
843
|
_: 2
|
|
844
844
|
}, 1032, ["to"])], 64)) : j("", !0)])
|
|
845
|
-
]), N("div",
|
|
845
|
+
]), N("div", Pr, [t.logos?.[0] ? (L(), M("img", {
|
|
846
846
|
key: 0,
|
|
847
847
|
src: t.logos[0].url,
|
|
848
848
|
alt: t.plainName,
|
|
849
849
|
loading: "lazy"
|
|
850
|
-
}, null, 8,
|
|
850
|
+
}, null, 8, Fr)) : j("", !0)])])]),
|
|
851
851
|
_: 1
|
|
852
852
|
})]));
|
|
853
853
|
}
|
|
854
|
-
},
|
|
854
|
+
}, Lr = { class: "mwnf-dxa-exhibition-search" }, Rr = { class: "mwnf-dxa-exhibition-search__header" }, zr = { class: "mwnf-dxa-exhibition-search__info" }, Br = { key: 0 }, Vr = { key: 1 }, Hr = { class: "mwnf-dxa-exhibition-search__box" }, Ur = ["placeholder", "aria-label"], Wr = { class: "mwnf-dxa-exhibition-search__buttons" }, Gr = {
|
|
855
855
|
type: "submit",
|
|
856
856
|
class: "mwnf-dxa-exhibition-search__button"
|
|
857
|
-
},
|
|
857
|
+
}, Kr = { class: "mwnf-dxa-exhibition-search__tips" }, qr = {
|
|
858
858
|
key: 0,
|
|
859
859
|
class: "mwnf-dxa-exhibition-search__results"
|
|
860
|
-
},
|
|
860
|
+
}, Jr = {
|
|
861
861
|
key: 0,
|
|
862
862
|
class: "mwnf-dxa-exhibition-search__main"
|
|
863
|
-
},
|
|
863
|
+
}, Yr = { class: "mwnf-dxa-exhibition-search__main-photo" }, Xr = ["src", "alt"], Zr = { class: "mwnf-dxa-exhibition-search__main-text" }, Qr = ["innerHTML"], $r = { class: "mwnf-dxa-exhibition-search__main-holder" }, ei = { class: "mwnf-dxa-exhibition-search__list" }, ti = [
|
|
864
864
|
"src",
|
|
865
865
|
"alt",
|
|
866
866
|
"onMouseover"
|
|
867
|
-
],
|
|
867
|
+
], ni = { class: "mwnf-dxa-exhibition-search__result-text" }, ri = ["innerHTML", "onMouseover"], ii = {
|
|
868
868
|
key: 1,
|
|
869
869
|
class: "mwnf-dxa-exhibition-search__end"
|
|
870
|
-
},
|
|
870
|
+
}, ai = {
|
|
871
871
|
__name: "SearchResults",
|
|
872
872
|
setup(t) {
|
|
873
|
-
let { t: n } = q(), r = X(), i =
|
|
873
|
+
let { t: n } = q(), r = X(), i = Lt(), a = Mt("items", {
|
|
874
874
|
grammar: "boolean",
|
|
875
875
|
haystack: Be
|
|
876
876
|
}), o = R(!1);
|
|
@@ -929,23 +929,23 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
929
929
|
}
|
|
930
930
|
return yt(() => r.fullPath, () => {
|
|
931
931
|
m.value = null;
|
|
932
|
-
}), (t, r) => (L(), M("div",
|
|
932
|
+
}), (t, r) => (L(), M("div", Lr, [F(E, {
|
|
933
933
|
spec: l.value,
|
|
934
934
|
class: "mwnf-dxa-exhibition-search__view"
|
|
935
935
|
}, {
|
|
936
936
|
before: H(({ pageInfo: t, goToPage: i }) => [
|
|
937
937
|
F(e),
|
|
938
|
-
N("div",
|
|
938
|
+
N("div", Rr, [N("div", zr, [t.total ? (L(), M("p", Br, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Le).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Vr, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Hr, [N("form", { onSubmit: r[2] ||= xt((e) => f(), ["prevent"]) }, [U(N("input", {
|
|
939
939
|
"onUpdate:modelValue": r[0] ||= (e) => d.value = e,
|
|
940
940
|
class: "mwnf-dxa-exhibition-search__input",
|
|
941
941
|
type: "search",
|
|
942
942
|
placeholder: V(n)("exhibition.search.placeholder"),
|
|
943
943
|
"aria-label": V(n)("exhibition.search.placeholder")
|
|
944
|
-
}, null, 8,
|
|
944
|
+
}, null, 8, Ur), [[_t, d.value]]), N("div", Wr, [N("button", Gr, B(V(n)("exhibition.search.submit")), 1), N("button", {
|
|
945
945
|
type: "button",
|
|
946
946
|
class: "mwnf-dxa-exhibition-search__button",
|
|
947
947
|
onClick: r[1] ||= (e) => p()
|
|
948
|
-
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div",
|
|
948
|
+
}, B(V(n)("exhibition.search.reset")), 1)])], 32), N("div", Kr, [F(V(Y), { to: { name: "search-how-to" } }, {
|
|
949
949
|
default: H(() => [P(B(V(n)("exhibition.search.tips")), 1)]),
|
|
950
950
|
_: 1
|
|
951
951
|
})])])]),
|
|
@@ -955,15 +955,15 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
955
955
|
onNavigate: i
|
|
956
956
|
}, null, 8, ["page-info", "onNavigate"])
|
|
957
957
|
]),
|
|
958
|
-
records: H(({ rows: e }) => [e.length ? (L(), M("div",
|
|
958
|
+
records: H(({ rows: e }) => [e.length ? (L(), M("div", qr, [g.value ? j("", !0) : (L(), M("div", Jr, [N("div", Yr, [N("img", {
|
|
959
959
|
src: _(u(e)).image,
|
|
960
960
|
alt: _(u(e)).imageAlt
|
|
961
|
-
}, null, 8,
|
|
962
|
-
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8,
|
|
961
|
+
}, null, 8, Xr)]), N("div", Zr, [
|
|
962
|
+
N("p", null, [N("strong", { innerHTML: _(u(e)).name }, null, 8, Qr)]),
|
|
963
963
|
N("p", null, B(_(u(e)).date), 1),
|
|
964
|
-
N("p",
|
|
964
|
+
N("p", $r, [N("strong", null, B(_(u(e)).partner), 1)]),
|
|
965
965
|
N("p", null, B(_(u(e)).place), 1)
|
|
966
|
-
])])), N("div",
|
|
966
|
+
])])), N("div", ei, [(L(!0), M(O, null, z(u(e), (e) => (L(), M("div", {
|
|
967
967
|
key: e.id,
|
|
968
968
|
class: "mwnf-dxa-exhibition-search__result"
|
|
969
969
|
}, [F(V(Y), {
|
|
@@ -975,13 +975,13 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
975
975
|
alt: e.imageAlt,
|
|
976
976
|
loading: "lazy",
|
|
977
977
|
onMouseover: (t) => m.value = e.id
|
|
978
|
-
}, null, 40,
|
|
978
|
+
}, null, 40, ti)]),
|
|
979
979
|
_: 2
|
|
980
|
-
}, 1032, ["to"]), N("div",
|
|
980
|
+
}, 1032, ["to"]), N("div", ni, [F(V(Y), { to: e.to }, {
|
|
981
981
|
default: H(() => [N("strong", {
|
|
982
982
|
innerHTML: e.name,
|
|
983
983
|
onMouseover: (t) => m.value = e.id
|
|
984
|
-
}, null, 40,
|
|
984
|
+
}, null, 40, ri), N("span", null, ", " + B(e.place), 1)]),
|
|
985
985
|
_: 2
|
|
986
986
|
}, 1032, ["to"]), N("p", null, [N("em", null, B(e.date), 1)])])]))), 128))])])) : (L(), A(V(W), {
|
|
987
987
|
key: 1,
|
|
@@ -993,38 +993,38 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
993
993
|
key: 0,
|
|
994
994
|
"page-info": e,
|
|
995
995
|
onNavigate: t
|
|
996
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
996
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", ii))]),
|
|
997
997
|
_: 1
|
|
998
998
|
}, 8, ["spec"])]));
|
|
999
999
|
}
|
|
1000
|
-
},
|
|
1000
|
+
}, oi = { class: "mwnf-dxa-exhibition-timeline-results" }, si = { class: "mwnf-dxa-exhibition-timeline-results__band" }, ci = { class: "mwnf-dxa-exhibition-timeline-results__current" }, li = { key: 0 }, ui = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, di = ["aria-label"], fi = {
|
|
1001
1001
|
disabled: "",
|
|
1002
1002
|
value: ""
|
|
1003
|
-
},
|
|
1003
|
+
}, pi = ["value"], mi = ["aria-label"], hi = {
|
|
1004
1004
|
disabled: "",
|
|
1005
1005
|
value: ""
|
|
1006
|
-
},
|
|
1006
|
+
}, gi = ["value"], _i = ["aria-label"], vi = {
|
|
1007
1007
|
disabled: "",
|
|
1008
1008
|
value: ""
|
|
1009
|
-
},
|
|
1009
|
+
}, yi = ["value"], bi = ["onClick"], xi = ["onClick"], Si = { class: "mwnf-dxa-exhibition-timeline-results__body" }, Ci = {
|
|
1010
1010
|
key: 0,
|
|
1011
1011
|
class: "mwnf-dxa-exhibition-timeline-results__list"
|
|
1012
|
-
},
|
|
1012
|
+
}, wi = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, Ti = { class: "mwnf-dxa-exhibition-timeline-results__year" }, Ei = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Di = ["innerHTML"], Oi = ["innerHTML"], ki = {
|
|
1013
1013
|
key: 1,
|
|
1014
1014
|
class: "mwnf-dxa-exhibition-timeline-results__none"
|
|
1015
|
-
},
|
|
1015
|
+
}, Ai = {
|
|
1016
1016
|
key: 2,
|
|
1017
1017
|
class: "mwnf-dxa-exhibition-timeline-results__related"
|
|
1018
|
-
},
|
|
1018
|
+
}, ji = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, Mi = {
|
|
1019
1019
|
key: 1,
|
|
1020
1020
|
class: "mwnf-dxa-exhibition-timeline-results__end"
|
|
1021
|
-
},
|
|
1021
|
+
}, Ni = {
|
|
1022
1022
|
__name: "TimelineResults",
|
|
1023
1023
|
setup(t) {
|
|
1024
1024
|
let n = {
|
|
1025
1025
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
1026
1026
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
1027
|
-
}, r = ({ years: e, t }) =>
|
|
1027
|
+
}, r = ({ years: e, t }) => It(e.min, e.max, Ft(t, n)), i = k(() => ({
|
|
1028
1028
|
...S.value,
|
|
1029
1029
|
pageSize: 20,
|
|
1030
1030
|
controls: S.value.controls.map((e) => e.options ? {
|
|
@@ -1044,46 +1044,46 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1044
1044
|
let n = e?.year_from;
|
|
1045
1045
|
return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
|
|
1046
1046
|
}
|
|
1047
|
-
return (t, n) => (L(), M("div",
|
|
1047
|
+
return (t, n) => (L(), M("div", oi, [F(Ye, {
|
|
1048
1048
|
spec: i.value,
|
|
1049
1049
|
class: "mwnf-dxa-timeline-results"
|
|
1050
1050
|
}, {
|
|
1051
|
-
form: H((e) => [N("div",
|
|
1051
|
+
form: H((e) => [N("div", si, [N("p", ci, [
|
|
1052
1052
|
P(B(e.t("exhibition.timeline.heading")) + " | " + B(c(e.options.begin, e.filters.begin)) + " " + B(e.t("exhibition.timeline.to")) + " " + B(c(e.options.end, e.filters.end)) + " | ", 1),
|
|
1053
|
-
a.value && e.filters.country ? (L(), M("span",
|
|
1053
|
+
a.value && e.filters.country ? (L(), M("span", li, B(c(e.countries, e.filters.country)) + " | ", 1)) : j("", !0),
|
|
1054
1054
|
N("span", null, B(e.pageInfo?.total ?? 0) + " " + B(e.t("exhibition.timeline.results")), 1)
|
|
1055
|
-
]), N("div",
|
|
1055
|
+
]), N("div", ui, [
|
|
1056
1056
|
N("span", null, B(e.t("exhibition.collection.startDate")), 1),
|
|
1057
1057
|
U(N("select", {
|
|
1058
1058
|
"onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
|
|
1059
1059
|
"aria-label": e.t("exhibition.collection.startDate")
|
|
1060
|
-
}, [N("option",
|
|
1060
|
+
}, [N("option", fi, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
1061
1061
|
key: e.value,
|
|
1062
1062
|
value: String(e.value)
|
|
1063
|
-
}, B(e.label), 9,
|
|
1063
|
+
}, B(e.label), 9, pi))), 128))], 8, di), [[gt, s.begin]]),
|
|
1064
1064
|
N("span", null, B(e.t("exhibition.collection.endDate")), 1),
|
|
1065
1065
|
U(N("select", {
|
|
1066
1066
|
"onUpdate:modelValue": n[1] ||= (e) => s.end = e,
|
|
1067
1067
|
"aria-label": e.t("exhibition.collection.endDate")
|
|
1068
|
-
}, [N("option",
|
|
1068
|
+
}, [N("option", hi, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
1069
1069
|
key: e.value,
|
|
1070
1070
|
value: String(e.value)
|
|
1071
|
-
}, B(e.label), 9,
|
|
1071
|
+
}, B(e.label), 9, gi))), 128))], 8, mi), [[gt, s.end]]),
|
|
1072
1072
|
a.value ? (L(), M(O, { key: 0 }, [N("span", null, B(e.t("exhibition.timeline.country")), 1), U(N("select", {
|
|
1073
1073
|
"onUpdate:modelValue": n[2] ||= (e) => s.country = e,
|
|
1074
1074
|
"aria-label": e.t("exhibition.timeline.selectCountry")
|
|
1075
|
-
}, [N("option",
|
|
1075
|
+
}, [N("option", vi, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
1076
1076
|
key: e.value,
|
|
1077
1077
|
value: e.value
|
|
1078
|
-
}, B(e.label), 9,
|
|
1078
|
+
}, B(e.label), 9, yi))), 128))], 8, _i), [[gt, s.country]])], 64)) : j("", !0),
|
|
1079
1079
|
N("button", {
|
|
1080
1080
|
type: "button",
|
|
1081
1081
|
onClick: (t) => e.apply({ ...s })
|
|
1082
|
-
}, B(e.t("core.action.go")), 9,
|
|
1082
|
+
}, B(e.t("core.action.go")), 9, bi),
|
|
1083
1083
|
N("button", {
|
|
1084
1084
|
type: "button",
|
|
1085
1085
|
onClick: (t) => e.reset()
|
|
1086
|
-
}, B(e.t("exhibition.search.reset")), 9,
|
|
1086
|
+
}, B(e.t("exhibition.search.reset")), 9, xi)
|
|
1087
1087
|
])])]),
|
|
1088
1088
|
summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F(Q, {
|
|
1089
1089
|
class: "mwnf-dxa-exhibition-timeline-results__pages",
|
|
@@ -1091,17 +1091,17 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1091
1091
|
onNavigate: n
|
|
1092
1092
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
1093
1093
|
gallery: H(() => [...n[3] ||= []]),
|
|
1094
|
-
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div",
|
|
1094
|
+
event: H(({ pageInfo: e, rows: t, gallery: r, t: i }) => [N("div", Si, [t.length ? (L(), M("div", Ci, [N("div", wi, [N("div", null, B(i("exhibition.timeline.date")), 1), N("div", null, B(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (L(!0), M(O, null, z(t, (t, n) => (L(), M("div", {
|
|
1095
1095
|
key: t.id,
|
|
1096
1096
|
class: "mwnf-dxa-exhibition-timeline-results__event"
|
|
1097
|
-
}, [N("div",
|
|
1097
|
+
}, [N("div", Ti, [N("span", null, B(l(e.rows[n], i)), 1)]), N("div", Ei, [a.value && s.country && t.caption ? (L(), M("div", {
|
|
1098
1098
|
key: 0,
|
|
1099
1099
|
class: "mwnf-dxa-exhibition-timeline-results__country",
|
|
1100
1100
|
innerHTML: t.caption
|
|
1101
|
-
}, null, 8,
|
|
1101
|
+
}, null, 8, Di)) : j("", !0), N("div", {
|
|
1102
1102
|
class: "mwnf-dxa-exhibition-timeline-results__description",
|
|
1103
1103
|
innerHTML: t.description
|
|
1104
|
-
}, null, 8,
|
|
1104
|
+
}, null, 8, Oi)])]))), 128))])) : (L(), M("div", ki, B(i("exhibition.timeline.noResults")), 1)), t.length && r ? (L(), M("div", Ai, [N("p", ji, B(i("exhibition.timeline.relatedContent")), 1), N("p", null, [
|
|
1105
1105
|
n[4] ||= N("span", { "aria-hidden": "true" }, "➦", -1),
|
|
1106
1106
|
n[5] ||= P(),
|
|
1107
1107
|
F(V(Y), { to: r.to }, {
|
|
@@ -1113,14 +1113,14 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1113
1113
|
key: 0,
|
|
1114
1114
|
"page-info": e,
|
|
1115
1115
|
onNavigate: t
|
|
1116
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1116
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Mi))]),
|
|
1117
1117
|
_: 1
|
|
1118
1118
|
}, 8, ["spec"])]));
|
|
1119
1119
|
}
|
|
1120
|
-
},
|
|
1120
|
+
}, Pi = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Fi = { class: "mwnf-dxa-exhibition-partner-objects__header" }, Ii = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Li = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Ri = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, zi = {
|
|
1121
1121
|
key: 1,
|
|
1122
1122
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1123
|
-
},
|
|
1123
|
+
}, Bi = {
|
|
1124
1124
|
__name: "TimelineGallery",
|
|
1125
1125
|
setup(t) {
|
|
1126
1126
|
let { t: n } = q(), r = {
|
|
@@ -1135,17 +1135,17 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1135
1135
|
function a(e) {
|
|
1136
1136
|
let t = Number(e);
|
|
1137
1137
|
if (e === "" || e == null || !Number.isFinite(t)) return "";
|
|
1138
|
-
let i =
|
|
1138
|
+
let i = It(t, t, Ft(n, r));
|
|
1139
1139
|
return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
|
|
1140
1140
|
}
|
|
1141
1141
|
let o = k(() => S.value.scope === "country");
|
|
1142
|
-
return (t, r) => (L(), M("div",
|
|
1142
|
+
return (t, r) => (L(), M("div", Pi, [F(E, {
|
|
1143
1143
|
spec: i.value,
|
|
1144
1144
|
class: "mwnf-dxa-partner-objects"
|
|
1145
1145
|
}, {
|
|
1146
1146
|
before: H(({ filters: t, pageInfo: r, goToPage: i }) => [
|
|
1147
1147
|
F(e),
|
|
1148
|
-
N("div",
|
|
1148
|
+
N("div", Fi, [N("p", null, [
|
|
1149
1149
|
P(B(V(n)("exhibition.timeline.heading")) + " | " + B(a(t.begin)) + " " + B(V(n)("exhibition.timeline.to")) + " " + B(a(t.end)) + " | ", 1),
|
|
1150
1150
|
o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(ze)(t.country)) + " | ", 1)], 64)) : j("", !0),
|
|
1151
1151
|
P(B(V(n)("exhibition.timeline.gallery")), 1)
|
|
@@ -1156,11 +1156,11 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1156
1156
|
onNavigate: i
|
|
1157
1157
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1158
1158
|
]),
|
|
1159
|
-
records: H(({ rows: e, filters: t }) => [N("div",
|
|
1159
|
+
records: H(({ rows: e, filters: t }) => [N("div", Ii, [N("div", Li, [e.length ? (L(), A($, {
|
|
1160
1160
|
key: 0,
|
|
1161
1161
|
rows: e,
|
|
1162
1162
|
family: "exhibition"
|
|
1163
|
-
}, null, 8, ["rows"])) : j("", !0)]), N("div",
|
|
1163
|
+
}, null, 8, ["rows"])) : j("", !0)]), N("div", Ri, [F(V(Y), { to: {
|
|
1164
1164
|
name: "timeline-results",
|
|
1165
1165
|
query: {
|
|
1166
1166
|
...t.country ? { country: t.country } : {},
|
|
@@ -1176,27 +1176,27 @@ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class:
|
|
|
1176
1176
|
key: 0,
|
|
1177
1177
|
"page-info": e,
|
|
1178
1178
|
onNavigate: t
|
|
1179
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1179
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", zi))]),
|
|
1180
1180
|
_: 1
|
|
1181
1181
|
}, 8, ["spec"])]));
|
|
1182
1182
|
}
|
|
1183
|
-
}, { aboutTheme:
|
|
1184
|
-
function
|
|
1183
|
+
}, { aboutTheme: Vi, listedThemes: Hi, pictureById: Ui, pictureParent: Wi, romanFor: Gi, themeText: Ki, themeTree: qi } = we;
|
|
1184
|
+
function Ji(e) {
|
|
1185
1185
|
return String(e?.backward_compatibility ?? "").split(":").pop();
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1188
|
-
let t = (t) =>
|
|
1189
|
-
value:
|
|
1190
|
-
label: t(
|
|
1191
|
-
node:
|
|
1192
|
-
}] : [], ...
|
|
1193
|
-
value:
|
|
1194
|
-
label: `${
|
|
1187
|
+
function Yi(e) {
|
|
1188
|
+
let t = (t) => Ki(t, e.value).title ?? t?.internal_name ?? "", n = k(() => [...Vi.value ? [{
|
|
1189
|
+
value: Ji(Vi.value),
|
|
1190
|
+
label: t(Vi.value),
|
|
1191
|
+
node: Vi.value
|
|
1192
|
+
}] : [], ...Hi.value.map((e) => ({
|
|
1193
|
+
value: Ji(e),
|
|
1194
|
+
label: `${Gi(e.display_order)}. ${t(e)}`,
|
|
1195
1195
|
node: e
|
|
1196
1196
|
}))]), r = (e) => n.value.find((t) => t.value === String(e))?.node ?? null;
|
|
1197
1197
|
function i(e) {
|
|
1198
1198
|
return (r(e)?.sub_themes ?? []).map((e, n) => ({
|
|
1199
|
-
value:
|
|
1199
|
+
value: Ji(e),
|
|
1200
1200
|
label: `${n + 1}. ${t(e)}`,
|
|
1201
1201
|
node: e
|
|
1202
1202
|
}));
|
|
@@ -1204,8 +1204,8 @@ function Ji(e) {
|
|
|
1204
1204
|
function a(e) {
|
|
1205
1205
|
let t = /* @__PURE__ */ new Set();
|
|
1206
1206
|
if (!e) return t;
|
|
1207
|
-
for (let n of
|
|
1208
|
-
let e = Ui
|
|
1207
|
+
for (let n of qi.itemsUnder(e.id)) {
|
|
1208
|
+
let e = Wi(Ui.value.get(n));
|
|
1209
1209
|
e && t.add(e.id);
|
|
1210
1210
|
}
|
|
1211
1211
|
return t;
|
|
@@ -1222,39 +1222,39 @@ function Ji(e) {
|
|
|
1222
1222
|
};
|
|
1223
1223
|
}
|
|
1224
1224
|
// src/dxa/exhibition/CollectionResults.vue
|
|
1225
|
-
var
|
|
1225
|
+
var Xi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Zi = { class: "mwnf-dxa-gallery-results__info" }, Qi = { class: "mwnf-dxa-gallery-results__choices" }, $i = {
|
|
1226
1226
|
key: 1,
|
|
1227
1227
|
class: "mwnf-dxa-gallery-results__end"
|
|
1228
|
-
},
|
|
1228
|
+
}, ea = ["aria-label", "aria-expanded"], ta = ["viewBox"], na = ["d"], ra = { class: "mwnf-dxa-exhibition-results__refine" }, ia = ["aria-label"], aa = ["viewBox"], oa = ["d"], sa = {
|
|
1229
1229
|
key: 1,
|
|
1230
1230
|
class: "mwnf-dxa-exhibition-results__themes"
|
|
1231
|
-
},
|
|
1231
|
+
}, ca = { class: "mwnf-dxa-options-label" }, la = { class: "mwnf-dxa-exhibition-results__theme-selects" }, ua = [
|
|
1232
1232
|
"aria-label",
|
|
1233
1233
|
"value",
|
|
1234
1234
|
"disabled",
|
|
1235
1235
|
"onChange"
|
|
1236
|
-
],
|
|
1236
|
+
], da = {
|
|
1237
1237
|
disabled: "",
|
|
1238
1238
|
value: ""
|
|
1239
|
-
},
|
|
1239
|
+
}, fa = { value: "all" }, pa = ["value"], ma = [
|
|
1240
1240
|
"aria-label",
|
|
1241
1241
|
"value",
|
|
1242
1242
|
"disabled",
|
|
1243
1243
|
"onChange"
|
|
1244
|
-
],
|
|
1244
|
+
], ha = {
|
|
1245
1245
|
disabled: "",
|
|
1246
1246
|
value: ""
|
|
1247
|
-
},
|
|
1247
|
+
}, ga = ["value"], _a = [
|
|
1248
1248
|
"aria-label",
|
|
1249
1249
|
"disabled",
|
|
1250
1250
|
"onChange"
|
|
1251
|
-
],
|
|
1251
|
+
], va = {
|
|
1252
1252
|
disabled: "",
|
|
1253
1253
|
value: ""
|
|
1254
|
-
},
|
|
1254
|
+
}, ya = { value: "all" }, ba = ["value"], xa = { class: "mwnf-dxa-date-wrapper" }, Sa = {
|
|
1255
1255
|
__name: "CollectionResults",
|
|
1256
1256
|
setup(t) {
|
|
1257
|
-
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } =
|
|
1257
|
+
let { t: n, locale: r } = q(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Yi(r), l = {
|
|
1258
1258
|
viewBox: "0 0 512 512",
|
|
1259
1259
|
path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
|
|
1260
1260
|
}, u = {
|
|
@@ -1313,13 +1313,13 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1313
1313
|
subtheme: n
|
|
1314
1314
|
});
|
|
1315
1315
|
}
|
|
1316
|
-
return (t, r) => (L(), M("div",
|
|
1316
|
+
return (t, r) => (L(), M("div", Xi, [F(E, {
|
|
1317
1317
|
spec: b,
|
|
1318
1318
|
class: "mwnf-dxa-collection-results"
|
|
1319
1319
|
}, {
|
|
1320
1320
|
before: H(({ filters: r, options: i, matching: a, pageInfo: o }) => [
|
|
1321
1321
|
F(e),
|
|
1322
|
-
N("div",
|
|
1322
|
+
N("div", Zi, [N("p", null, [P(B(V(n)("exhibition.collection.heading")) + " | ", 1), N("span", Qi, B(re(r, i, a)), 1)]), N("p", null, B(o.total) + " " + B(V(n)("exhibition.collection.resultsOutOf")) + " " + B(te.value) + " " + B(V(n)("exhibition.collection.items")), 1)]),
|
|
1323
1323
|
F(Q, {
|
|
1324
1324
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1325
1325
|
"page-info": o,
|
|
@@ -1340,7 +1340,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1340
1340
|
key: 0,
|
|
1341
1341
|
"page-info": e,
|
|
1342
1342
|
onNavigate: t
|
|
1343
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1343
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", $i))]),
|
|
1344
1344
|
aside: H(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (L(), M("button", {
|
|
1345
1345
|
key: 0,
|
|
1346
1346
|
type: "button",
|
|
@@ -1352,7 +1352,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1352
1352
|
viewBox: l.viewBox,
|
|
1353
1353
|
"aria-hidden": "true",
|
|
1354
1354
|
focusable: "false"
|
|
1355
|
-
}, [N("path", { d: l.path }, null, 8,
|
|
1355
|
+
}, [N("path", { d: l.path }, null, 8, na)], 8, ta))], 8, ea)) : j("", !0), U(N("div", ra, [
|
|
1356
1356
|
f.value && m.value ? (L(), M("button", {
|
|
1357
1357
|
key: 0,
|
|
1358
1358
|
type: "button",
|
|
@@ -1363,31 +1363,31 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1363
1363
|
viewBox: u.viewBox,
|
|
1364
1364
|
"aria-hidden": "true",
|
|
1365
1365
|
focusable: "false"
|
|
1366
|
-
}, [N("path", { d: u.path }, null, 8,
|
|
1367
|
-
x(e) ? j("", !0) : (L(), M("div",
|
|
1366
|
+
}, [N("path", { d: u.path }, null, 8, oa)], 8, aa))], 8, ia)) : j("", !0),
|
|
1367
|
+
x(e) ? j("", !0) : (L(), M("div", sa, [N("div", ca, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", la, [N("select", {
|
|
1368
1368
|
class: "mwnf-facet__select",
|
|
1369
1369
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1370
1370
|
value: e.theme || "",
|
|
1371
1371
|
disabled: !d.length,
|
|
1372
1372
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1373
1373
|
}, [
|
|
1374
|
-
N("option",
|
|
1375
|
-
N("option",
|
|
1374
|
+
N("option", da, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1375
|
+
N("option", fa, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1376
1376
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1377
1377
|
key: e.value,
|
|
1378
1378
|
value: e.value
|
|
1379
|
-
}, B(e.label), 9,
|
|
1380
|
-
], 40,
|
|
1379
|
+
}, B(e.label), 9, pa))), 128))
|
|
1380
|
+
], 40, ua), e.theme && V(s)(e.theme).length ? (L(), M("select", {
|
|
1381
1381
|
key: 0,
|
|
1382
1382
|
class: "mwnf-facet__select",
|
|
1383
1383
|
"aria-label": V(n)("exhibition.themeGallery.select"),
|
|
1384
1384
|
value: e.subtheme || "",
|
|
1385
1385
|
disabled: !d.length,
|
|
1386
1386
|
onChange: (n) => ae(t, e, n.target.value)
|
|
1387
|
-
}, [N("option",
|
|
1387
|
+
}, [N("option", ha, B(V(n)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(V(s)(e.theme), (e) => (L(), M("option", {
|
|
1388
1388
|
key: e.value,
|
|
1389
1389
|
value: e.value
|
|
1390
|
-
}, B(e.label), 9,
|
|
1390
|
+
}, B(e.label), 9, ga))), 128))], 40, ma)) : j("", !0)])])),
|
|
1391
1391
|
F(a, {
|
|
1392
1392
|
mode: "immediate",
|
|
1393
1393
|
title: x(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
|
|
@@ -1404,13 +1404,13 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1404
1404
|
disabled: !d.length,
|
|
1405
1405
|
onChange: (e) => ie(t, c, e.target.value)
|
|
1406
1406
|
}, [
|
|
1407
|
-
N("option",
|
|
1408
|
-
N("option",
|
|
1407
|
+
N("option", va, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1408
|
+
N("option", ya, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1409
1409
|
(L(!0), M(O, null, z(V(o), (e) => (L(), M("option", {
|
|
1410
1410
|
key: e.value,
|
|
1411
1411
|
value: e.value
|
|
1412
|
-
}, B(e.label), 9,
|
|
1413
|
-
], 40,
|
|
1412
|
+
}, B(e.label), 9, ba))), 128))
|
|
1413
|
+
], 40, _a)) : j("", !0),
|
|
1414
1414
|
F(i, {
|
|
1415
1415
|
"model-value": e.country,
|
|
1416
1416
|
options: p.country,
|
|
@@ -1435,7 +1435,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1435
1435
|
"placeholder",
|
|
1436
1436
|
"onUpdate:modelValue"
|
|
1437
1437
|
])), 64)),
|
|
1438
|
-
N("div",
|
|
1438
|
+
N("div", xa, [F(i, {
|
|
1439
1439
|
"model-value": e.from,
|
|
1440
1440
|
options: V(J)(d, y),
|
|
1441
1441
|
placeholder: V(n)("exhibition.collection.startDate"),
|
|
@@ -1468,26 +1468,26 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1468
1468
|
_: 1
|
|
1469
1469
|
})]));
|
|
1470
1470
|
}
|
|
1471
|
-
},
|
|
1471
|
+
}, Ca = { class: "mwnf-dxa-exhibition-collection" }, wa = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, Ta = { class: "mwnf-dxa-exhibition-collection__label" }, Ea = { class: "mwnf-dxa-exhibition-collection__selects" }, Da = ["aria-label"], Oa = {
|
|
1472
1472
|
selected: "",
|
|
1473
1473
|
disabled: "",
|
|
1474
1474
|
value: ""
|
|
1475
|
-
},
|
|
1475
|
+
}, ka = { value: "all" }, Aa = ["value"], ja = ["aria-label", "onChange"], Ma = {
|
|
1476
1476
|
selected: "",
|
|
1477
1477
|
disabled: "",
|
|
1478
1478
|
value: ""
|
|
1479
|
-
},
|
|
1479
|
+
}, Na = ["value"], Pa = { class: "mwnf-dxa-exhibition-collection__dates" }, Fa = ["aria-label"], Ia = {
|
|
1480
1480
|
selected: "",
|
|
1481
1481
|
disabled: "",
|
|
1482
1482
|
value: ""
|
|
1483
|
-
},
|
|
1483
|
+
}, La = ["value"], Ra = ["aria-label"], za = {
|
|
1484
1484
|
selected: "",
|
|
1485
1485
|
disabled: "",
|
|
1486
1486
|
value: ""
|
|
1487
|
-
},
|
|
1487
|
+
}, Ba = ["value"], Va = {
|
|
1488
1488
|
__name: "CollectionSearch",
|
|
1489
1489
|
setup(e) {
|
|
1490
|
-
let t =
|
|
1490
|
+
let t = Lt(), { t: n, locale: r } = q(), { themeOptions: i } = Yi(r), a = jt(De, Ue), o = k(() => [
|
|
1491
1491
|
{
|
|
1492
1492
|
key: "country",
|
|
1493
1493
|
name: "exhibition.collection.selectCountry",
|
|
@@ -1513,59 +1513,59 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1513
1513
|
query: { [e]: String(n) }
|
|
1514
1514
|
}));
|
|
1515
1515
|
}
|
|
1516
|
-
return (e, t) => (L(), M("div",
|
|
1516
|
+
return (e, t) => (L(), M("div", Ca, [N("div", wa, [N("div", Ta, B(V(n)("exhibition.collection.filterBy")), 1), N("div", Ea, [
|
|
1517
1517
|
N("select", {
|
|
1518
1518
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1519
1519
|
"aria-label": V(n)("exhibition.collection.selectTheme"),
|
|
1520
1520
|
onChange: t[0] ||= (e) => u("theme", e.target.value)
|
|
1521
1521
|
}, [
|
|
1522
|
-
N("option",
|
|
1523
|
-
N("option",
|
|
1522
|
+
N("option", Oa, B(V(n)("exhibition.collection.selectTheme")), 1),
|
|
1523
|
+
N("option", ka, B(V(n)("exhibition.collection.allThemes")), 1),
|
|
1524
1524
|
(L(!0), M(O, null, z(V(i), (e) => (L(), M("option", {
|
|
1525
1525
|
key: e.value,
|
|
1526
1526
|
value: e.value
|
|
1527
|
-
}, B(e.label), 9,
|
|
1528
|
-
], 40,
|
|
1527
|
+
}, B(e.label), 9, Aa))), 128))
|
|
1528
|
+
], 40, Da),
|
|
1529
1529
|
(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
|
|
1530
1530
|
key: e.key,
|
|
1531
1531
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1532
1532
|
"aria-label": V(n)(e.name),
|
|
1533
1533
|
onChange: (t) => u(e.key, t.target.value)
|
|
1534
|
-
}, [N("option",
|
|
1534
|
+
}, [N("option", Ma, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
|
|
1535
1535
|
key: e.value,
|
|
1536
1536
|
value: String(e.value)
|
|
1537
|
-
}, B(e.label), 9,
|
|
1538
|
-
N("div",
|
|
1537
|
+
}, B(e.label), 9, Na))), 128))], 40, ja))), 128)),
|
|
1538
|
+
N("div", Pa, [N("select", {
|
|
1539
1539
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1540
1540
|
"aria-label": V(n)("exhibition.collection.startDate"),
|
|
1541
1541
|
onChange: t[1] ||= (e) => u("from", e.target.value)
|
|
1542
|
-
}, [N("option",
|
|
1542
|
+
}, [N("option", Ia, B(V(n)("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1543
1543
|
key: e.value,
|
|
1544
1544
|
value: String(e.value)
|
|
1545
|
-
}, B(e.label), 9,
|
|
1545
|
+
}, B(e.label), 9, La))), 128))], 40, Fa), N("select", {
|
|
1546
1546
|
class: "mwnf-dxa-exhibition-collection__select",
|
|
1547
1547
|
"aria-label": V(n)("exhibition.collection.endDate"),
|
|
1548
1548
|
onChange: t[2] ||= (e) => u("to", e.target.value)
|
|
1549
|
-
}, [N("option",
|
|
1549
|
+
}, [N("option", za, B(V(n)("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(l.value, (e) => (L(), M("option", {
|
|
1550
1550
|
key: e.value,
|
|
1551
1551
|
value: String(e.value)
|
|
1552
|
-
}, B(e.label), 9,
|
|
1552
|
+
}, B(e.label), 9, Ba))), 128))], 40, Ra)])
|
|
1553
1553
|
])]), F(V(W), {
|
|
1554
1554
|
class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
|
|
1555
1555
|
dir: "auto",
|
|
1556
1556
|
keypath: "exhibition.collection.intro"
|
|
1557
1557
|
})]));
|
|
1558
1558
|
}
|
|
1559
|
-
},
|
|
1559
|
+
}, Ha = {
|
|
1560
1560
|
key: 0,
|
|
1561
1561
|
class: "mwnf-dxa-exhibition-partner-objects"
|
|
1562
|
-
},
|
|
1562
|
+
}, Ua = {
|
|
1563
1563
|
key: 0,
|
|
1564
1564
|
class: "mwnf-dxa-exhibition-partner-objects__header"
|
|
1565
|
-
},
|
|
1565
|
+
}, Wa = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Ga = { class: "mwnf-dxa-exhibition-partner-objects__place" }, Ka = { class: "mwnf-dxa-exhibition-partner-objects__content" }, qa = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Ja = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Ya = {
|
|
1566
1566
|
key: 1,
|
|
1567
1567
|
class: "mwnf-dxa-exhibition-partner-objects__end"
|
|
1568
|
-
},
|
|
1568
|
+
}, Xa = {
|
|
1569
1569
|
__name: "PartnerObjects",
|
|
1570
1570
|
props: {
|
|
1571
1571
|
variant: {
|
|
@@ -1594,27 +1594,27 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1594
1594
|
place: [n.location, T("countries", t.country_id)].filter(Boolean).join(", ")
|
|
1595
1595
|
};
|
|
1596
1596
|
}
|
|
1597
|
-
return (n, i) => a.value ? (L(), M("div",
|
|
1597
|
+
return (n, i) => a.value ? (L(), M("div", Ha, [F(E, {
|
|
1598
1598
|
spec: o.value,
|
|
1599
1599
|
class: "mwnf-dxa-partner-objects"
|
|
1600
1600
|
}, {
|
|
1601
1601
|
before: H(({ matching: t, pageInfo: n, goToPage: r }) => [
|
|
1602
1602
|
F(e),
|
|
1603
|
-
s(t) ? (L(), M("div",
|
|
1603
|
+
s(t) ? (L(), M("div", Ua, [N("p", Wa, B(s(t).name), 1), N("p", Ga, B(s(t).place), 1)])) : j("", !0),
|
|
1604
1604
|
F(Q, {
|
|
1605
1605
|
class: "mwnf-dxa-exhibition-pages--top",
|
|
1606
1606
|
"page-info": n,
|
|
1607
1607
|
onNavigate: r
|
|
1608
1608
|
}, null, 8, ["page-info", "onNavigate"])
|
|
1609
1609
|
]),
|
|
1610
|
-
records: H(({ rows: e }) => [N("div",
|
|
1610
|
+
records: H(({ rows: e }) => [N("div", Ka, [N("div", qa, [e.length ? (L(), A($, {
|
|
1611
1611
|
key: 0,
|
|
1612
1612
|
rows: e,
|
|
1613
1613
|
family: "exhibition"
|
|
1614
1614
|
}, null, 8, ["rows"])) : (L(), A(V(W), {
|
|
1615
1615
|
key: 1,
|
|
1616
1616
|
keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
|
|
1617
|
-
}, null, 8, ["keypath"]))]), N("div",
|
|
1617
|
+
}, null, 8, ["keypath"]))]), N("div", Ja, [F(V(Y), { to: V(xe)(a.value) }, {
|
|
1618
1618
|
default: H(() => [i[0] ||= N("span", { "aria-hidden": "true" }, "➦", -1), P(" " + B(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
|
|
1619
1619
|
_: 1
|
|
1620
1620
|
}, 8, ["to"])])])]),
|
|
@@ -1623,19 +1623,19 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
|
|
|
1623
1623
|
key: 0,
|
|
1624
1624
|
"page-info": e,
|
|
1625
1625
|
onNavigate: t
|
|
1626
|
-
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div",
|
|
1626
|
+
}, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Ya))]),
|
|
1627
1627
|
_: 1
|
|
1628
1628
|
}, 8, ["spec"])])) : j("", !0);
|
|
1629
1629
|
}
|
|
1630
|
-
},
|
|
1630
|
+
}, Za = () => Promise.resolve().then(() => ls), Qa = () => Promise.resolve().then(() => vs), $a = () => Promise.resolve().then(() => bs), eo = () => Promise.resolve().then(() => Is), to = () => Promise.resolve().then(() => zs), no = () => Promise.resolve().then(() => Hs), ro = () => import("./Theme-DvCv48p7.js").then((e) => e.t), io = () => Promise.resolve().then(() => oc), ao = () => Promise.resolve().then(() => Tc), oo = () => Promise.resolve().then(() => Dc), so = () => Promise.resolve().then(() => Uc), co = {
|
|
1631
1631
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
1632
1632
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
1633
1633
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
1634
1634
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
1635
1635
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
1636
1636
|
};
|
|
1637
|
-
function
|
|
1638
|
-
let t =
|
|
1637
|
+
function lo(e) {
|
|
1638
|
+
let t = kt([
|
|
1639
1639
|
"gallery",
|
|
1640
1640
|
"items",
|
|
1641
1641
|
"partners",
|
|
@@ -1646,45 +1646,45 @@ function co(e) {
|
|
|
1646
1646
|
{
|
|
1647
1647
|
path: "/",
|
|
1648
1648
|
name: "home",
|
|
1649
|
-
component:
|
|
1649
|
+
component: Za,
|
|
1650
1650
|
meta: t("home")
|
|
1651
1651
|
},
|
|
1652
1652
|
{
|
|
1653
1653
|
path: "/item/:id",
|
|
1654
1654
|
name: "item",
|
|
1655
|
-
component:
|
|
1655
|
+
component: Qa,
|
|
1656
1656
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1657
1657
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1658
1658
|
},
|
|
1659
1659
|
{
|
|
1660
1660
|
path: "/timeline",
|
|
1661
1661
|
name: "timeline",
|
|
1662
|
-
component:
|
|
1662
|
+
component: $a,
|
|
1663
1663
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1664
1664
|
}
|
|
1665
1665
|
] : [],
|
|
1666
1666
|
{
|
|
1667
1667
|
path: "/search",
|
|
1668
1668
|
name: "search-results",
|
|
1669
|
-
component:
|
|
1669
|
+
component: zn,
|
|
1670
1670
|
meta: t("database")
|
|
1671
1671
|
},
|
|
1672
1672
|
{
|
|
1673
1673
|
path: "/how-to-search",
|
|
1674
1674
|
name: "search-how-to",
|
|
1675
|
-
component:
|
|
1675
|
+
component: Jt,
|
|
1676
1676
|
meta: t("database")
|
|
1677
1677
|
},
|
|
1678
1678
|
{
|
|
1679
1679
|
path: "/partners",
|
|
1680
1680
|
name: "partners",
|
|
1681
|
-
component:
|
|
1681
|
+
component: mn,
|
|
1682
1682
|
meta: t("partners")
|
|
1683
1683
|
},
|
|
1684
1684
|
{
|
|
1685
1685
|
path: "/partner/:id",
|
|
1686
1686
|
name: "partner",
|
|
1687
|
-
component:
|
|
1687
|
+
component: Ht,
|
|
1688
1688
|
props: (e) => ({
|
|
1689
1689
|
id: String(e.params.id),
|
|
1690
1690
|
family: _e
|
|
@@ -1694,56 +1694,56 @@ function co(e) {
|
|
|
1694
1694
|
{
|
|
1695
1695
|
path: "/partner/:id/objects",
|
|
1696
1696
|
name: "partner-objects",
|
|
1697
|
-
component:
|
|
1697
|
+
component: br,
|
|
1698
1698
|
meta: t("partners")
|
|
1699
1699
|
},
|
|
1700
1700
|
{
|
|
1701
1701
|
path: "/timeline-results",
|
|
1702
1702
|
name: "timeline-results",
|
|
1703
|
-
component:
|
|
1703
|
+
component: Bn,
|
|
1704
1704
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1705
1705
|
},
|
|
1706
1706
|
{
|
|
1707
1707
|
path: "/timeline/gallery",
|
|
1708
1708
|
name: "timeline-gallery",
|
|
1709
|
-
component:
|
|
1709
|
+
component: Un,
|
|
1710
1710
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1711
1711
|
},
|
|
1712
1712
|
{
|
|
1713
1713
|
path: "/about",
|
|
1714
1714
|
name: "about",
|
|
1715
|
-
component:
|
|
1715
|
+
component: Wt,
|
|
1716
1716
|
meta: t("about")
|
|
1717
1717
|
},
|
|
1718
1718
|
{
|
|
1719
1719
|
path: "/credits",
|
|
1720
1720
|
name: "credits",
|
|
1721
|
-
component:
|
|
1721
|
+
component: Gt,
|
|
1722
1722
|
props: { bodyKey: n },
|
|
1723
1723
|
meta: t("credits")
|
|
1724
1724
|
},
|
|
1725
1725
|
{
|
|
1726
1726
|
path: "/collection",
|
|
1727
1727
|
name: "collection",
|
|
1728
|
-
component:
|
|
1728
|
+
component: mr,
|
|
1729
1729
|
meta: t("collection", "tags")
|
|
1730
1730
|
},
|
|
1731
1731
|
{
|
|
1732
1732
|
path: "/collection-results",
|
|
1733
1733
|
name: "collection-results",
|
|
1734
|
-
component:
|
|
1734
|
+
component: Qn,
|
|
1735
1735
|
meta: t("collection", "tags", "timelines")
|
|
1736
1736
|
}
|
|
1737
1737
|
];
|
|
1738
1738
|
}
|
|
1739
|
-
function
|
|
1740
|
-
let t =
|
|
1739
|
+
function uo(e) {
|
|
1740
|
+
let t = kt([
|
|
1741
1741
|
"exhibition",
|
|
1742
1742
|
"items",
|
|
1743
1743
|
"partners",
|
|
1744
1744
|
"countries"
|
|
1745
1745
|
]), n = {
|
|
1746
|
-
...
|
|
1746
|
+
...co,
|
|
1747
1747
|
...e.partnerObjects
|
|
1748
1748
|
};
|
|
1749
1749
|
return [
|
|
@@ -1751,56 +1751,56 @@ function lo(e) {
|
|
|
1751
1751
|
{
|
|
1752
1752
|
path: "/",
|
|
1753
1753
|
name: "home",
|
|
1754
|
-
component:
|
|
1754
|
+
component: eo,
|
|
1755
1755
|
meta: t("home")
|
|
1756
1756
|
},
|
|
1757
1757
|
{
|
|
1758
1758
|
path: "/about",
|
|
1759
1759
|
name: "about",
|
|
1760
|
-
component:
|
|
1760
|
+
component: to,
|
|
1761
1761
|
meta: t("about", "themes", "glossary", "dynasties")
|
|
1762
1762
|
},
|
|
1763
1763
|
{
|
|
1764
1764
|
path: "/themes",
|
|
1765
1765
|
name: "themes",
|
|
1766
|
-
component:
|
|
1766
|
+
component: no,
|
|
1767
1767
|
meta: t("themes", "themes")
|
|
1768
1768
|
},
|
|
1769
1769
|
{
|
|
1770
1770
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1771
1771
|
name: "theme",
|
|
1772
|
-
component:
|
|
1772
|
+
component: ro,
|
|
1773
1773
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1774
1774
|
},
|
|
1775
1775
|
{
|
|
1776
1776
|
path: "/theme-gallery/:id/:subtheme?",
|
|
1777
1777
|
name: "theme-gallery",
|
|
1778
|
-
component:
|
|
1778
|
+
component: io,
|
|
1779
1779
|
meta: t("themes", "themes")
|
|
1780
1780
|
},
|
|
1781
1781
|
{
|
|
1782
1782
|
path: "/item/:id",
|
|
1783
1783
|
name: "item",
|
|
1784
|
-
component:
|
|
1784
|
+
component: ao,
|
|
1785
1785
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1786
1786
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1787
1787
|
},
|
|
1788
1788
|
{
|
|
1789
1789
|
path: "/related",
|
|
1790
1790
|
name: "related",
|
|
1791
|
-
component:
|
|
1791
|
+
component: oo,
|
|
1792
1792
|
meta: t("related", "related_content")
|
|
1793
1793
|
},
|
|
1794
1794
|
{
|
|
1795
1795
|
path: "/timeline",
|
|
1796
1796
|
name: "timeline",
|
|
1797
|
-
component:
|
|
1797
|
+
component: so,
|
|
1798
1798
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1799
1799
|
},
|
|
1800
1800
|
...e.creditsBody ? [{
|
|
1801
1801
|
path: "/credits",
|
|
1802
1802
|
name: "credits",
|
|
1803
|
-
component:
|
|
1803
|
+
component: qt,
|
|
1804
1804
|
props: { bodyKey: e.creditsBody },
|
|
1805
1805
|
meta: t("credits")
|
|
1806
1806
|
}] : []
|
|
@@ -1808,25 +1808,25 @@ function lo(e) {
|
|
|
1808
1808
|
{
|
|
1809
1809
|
path: "/search",
|
|
1810
1810
|
name: "search-results",
|
|
1811
|
-
component:
|
|
1811
|
+
component: ai,
|
|
1812
1812
|
meta: t("database")
|
|
1813
1813
|
},
|
|
1814
1814
|
{
|
|
1815
1815
|
path: "/how-to-search",
|
|
1816
1816
|
name: "search-how-to",
|
|
1817
|
-
component:
|
|
1817
|
+
component: Sr,
|
|
1818
1818
|
meta: t("database")
|
|
1819
1819
|
},
|
|
1820
1820
|
{
|
|
1821
1821
|
path: "/partners",
|
|
1822
1822
|
name: "partners",
|
|
1823
|
-
component:
|
|
1823
|
+
component: Ir,
|
|
1824
1824
|
meta: t("partners")
|
|
1825
1825
|
},
|
|
1826
1826
|
{
|
|
1827
1827
|
path: "/partner/:id",
|
|
1828
1828
|
name: "partner",
|
|
1829
|
-
component:
|
|
1829
|
+
component: Ht,
|
|
1830
1830
|
props: (e) => ({
|
|
1831
1831
|
id: String(e.params.id),
|
|
1832
1832
|
family: ye
|
|
@@ -1836,14 +1836,14 @@ function lo(e) {
|
|
|
1836
1836
|
{
|
|
1837
1837
|
path: "/partner/:id/objects",
|
|
1838
1838
|
name: "partner-objects",
|
|
1839
|
-
component:
|
|
1839
|
+
component: Xa,
|
|
1840
1840
|
props: { texts: n },
|
|
1841
1841
|
meta: t("partners")
|
|
1842
1842
|
},
|
|
1843
1843
|
{
|
|
1844
1844
|
path: "/institution/:id",
|
|
1845
1845
|
name: "institution",
|
|
1846
|
-
component:
|
|
1846
|
+
component: Ht,
|
|
1847
1847
|
props: (e) => ({
|
|
1848
1848
|
id: String(e.params.id),
|
|
1849
1849
|
family: ye,
|
|
@@ -1854,7 +1854,7 @@ function lo(e) {
|
|
|
1854
1854
|
{
|
|
1855
1855
|
path: "/institution/:id/monuments",
|
|
1856
1856
|
name: "institution-monuments",
|
|
1857
|
-
component:
|
|
1857
|
+
component: Xa,
|
|
1858
1858
|
props: {
|
|
1859
1859
|
variant: "institution",
|
|
1860
1860
|
texts: n
|
|
@@ -1864,36 +1864,36 @@ function lo(e) {
|
|
|
1864
1864
|
{
|
|
1865
1865
|
path: "/timeline-results",
|
|
1866
1866
|
name: "timeline-results",
|
|
1867
|
-
component:
|
|
1867
|
+
component: Ni,
|
|
1868
1868
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1869
1869
|
},
|
|
1870
1870
|
{
|
|
1871
1871
|
path: "/timeline/gallery",
|
|
1872
1872
|
name: "timeline-gallery",
|
|
1873
|
-
component:
|
|
1873
|
+
component: Bi,
|
|
1874
1874
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1875
1875
|
},
|
|
1876
1876
|
{
|
|
1877
1877
|
path: "/collection",
|
|
1878
1878
|
name: "collection",
|
|
1879
|
-
component:
|
|
1879
|
+
component: Va,
|
|
1880
1880
|
meta: t("collection", "tags", "themes")
|
|
1881
1881
|
},
|
|
1882
1882
|
{
|
|
1883
1883
|
path: "/collection-results",
|
|
1884
1884
|
name: "collection-results",
|
|
1885
|
-
component:
|
|
1885
|
+
component: Sa,
|
|
1886
1886
|
meta: t("collection", "tags", "timelines", "themes")
|
|
1887
1887
|
}
|
|
1888
1888
|
];
|
|
1889
1889
|
}
|
|
1890
|
-
function
|
|
1891
|
-
if (e === "gallery") return
|
|
1892
|
-
if (e === "exhibition") return
|
|
1890
|
+
function fo(e, t = {}) {
|
|
1891
|
+
if (e === "gallery") return lo(t);
|
|
1892
|
+
if (e === "exhibition") return uo(t);
|
|
1893
1893
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1894
1894
|
}
|
|
1895
1895
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1896
|
-
function
|
|
1896
|
+
function po(e, t = []) {
|
|
1897
1897
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1898
1898
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1899
1899
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1912,18 +1912,18 @@ function fo(e, t = []) {
|
|
|
1912
1912
|
countryCode: r?.code ?? ""
|
|
1913
1913
|
};
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1915
|
+
function mo(e, t, n, r) {
|
|
1916
1916
|
return (e ?? []).find((e) => {
|
|
1917
|
-
let i =
|
|
1917
|
+
let i = po(e, t);
|
|
1918
1918
|
return i.legacyId === r && i.countryCode === n;
|
|
1919
1919
|
}) ?? null;
|
|
1920
1920
|
}
|
|
1921
|
-
function
|
|
1921
|
+
function ho(e, t) {
|
|
1922
1922
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1923
1923
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1924
1924
|
}
|
|
1925
1925
|
// src/dxa/gallery/Shell.vue
|
|
1926
|
-
var
|
|
1926
|
+
var go = {
|
|
1927
1927
|
__name: "Shell",
|
|
1928
1928
|
props: {
|
|
1929
1929
|
language: {
|
|
@@ -1937,7 +1937,7 @@ var ho = {
|
|
|
1937
1937
|
},
|
|
1938
1938
|
emits: ["update:language"],
|
|
1939
1939
|
setup(e, { emit: t }) {
|
|
1940
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
1940
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => o.galleryShell ?? {}), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1941
1941
|
function f(e) {
|
|
1942
1942
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1943
1943
|
}
|
|
@@ -2000,10 +2000,10 @@ var ho = {
|
|
|
2000
2000
|
"footer-text"
|
|
2001
2001
|
]));
|
|
2002
2002
|
}
|
|
2003
|
-
},
|
|
2003
|
+
}, _o = {
|
|
2004
2004
|
key: 0,
|
|
2005
2005
|
class: "mwnf-popup-logo"
|
|
2006
|
-
},
|
|
2006
|
+
}, vo = ["aria-label"], yo = ["innerHTML"], bo = ["innerHTML"], xo = {
|
|
2007
2007
|
__name: "PopupLogo",
|
|
2008
2008
|
props: {
|
|
2009
2009
|
content: {
|
|
@@ -2025,21 +2025,21 @@ var ho = {
|
|
|
2025
2025
|
},
|
|
2026
2026
|
setup(e) {
|
|
2027
2027
|
let t = e, n = R(!1), r = k(() => t.rawHtml ? t.content : K(t.content)), i = k(() => t.enabled && !!t.content && !n.value);
|
|
2028
|
-
return (t, a) => i.value ? (L(), M("div",
|
|
2028
|
+
return (t, a) => i.value ? (L(), M("div", _o, [N("button", {
|
|
2029
2029
|
class: "mwnf-popup-logo__close",
|
|
2030
2030
|
"aria-label": t.$t(e.closeLabel),
|
|
2031
2031
|
onClick: a[0] ||= (e) => n.value = !0
|
|
2032
|
-
}, "✕", 8,
|
|
2032
|
+
}, "✕", 8, vo), e.rawHtml ? (L(), M("div", {
|
|
2033
2033
|
key: 0,
|
|
2034
2034
|
class: "mwnf-popup-logo__content",
|
|
2035
2035
|
innerHTML: r.value
|
|
2036
|
-
}, null, 8,
|
|
2036
|
+
}, null, 8, yo)) : (L(), M("div", {
|
|
2037
2037
|
key: 1,
|
|
2038
2038
|
class: "mwnf-popup-logo__content",
|
|
2039
2039
|
innerHTML: r.value
|
|
2040
|
-
}, null, 8,
|
|
2040
|
+
}, null, 8, bo))])) : j("", !0);
|
|
2041
2041
|
}
|
|
2042
|
-
},
|
|
2042
|
+
}, So = {
|
|
2043
2043
|
__name: "Shell",
|
|
2044
2044
|
props: {
|
|
2045
2045
|
language: {
|
|
@@ -2053,7 +2053,7 @@ var ho = {
|
|
|
2053
2053
|
},
|
|
2054
2054
|
emits: ["update:language"],
|
|
2055
2055
|
setup(e, { emit: t }) {
|
|
2056
|
-
let n = e, r = t, { t: i, locale: a } = q(), o =
|
|
2056
|
+
let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => !!$e(o.chrome, o.brand?.logo)), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = k(() => u.value ? C.value?.homepage_image_path : null);
|
|
2057
2057
|
bt(() => {
|
|
2058
2058
|
if (typeof document > "u") return;
|
|
2059
2059
|
let e = C.value?.homepage_image_path, t = e ? Ve(e, "hi_res") : "";
|
|
@@ -2136,7 +2136,7 @@ var ho = {
|
|
|
2136
2136
|
logos: _.value,
|
|
2137
2137
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
2138
2138
|
}, ct({
|
|
2139
|
-
notice: H(() => [F(
|
|
2139
|
+
notice: H(() => [F(xo, {
|
|
2140
2140
|
content: y.value,
|
|
2141
2141
|
enabled: ee.value,
|
|
2142
2142
|
"raw-html": ""
|
|
@@ -2167,29 +2167,43 @@ var ho = {
|
|
|
2167
2167
|
"logos"
|
|
2168
2168
|
]));
|
|
2169
2169
|
}
|
|
2170
|
-
}
|
|
2171
|
-
|
|
2172
|
-
|
|
2170
|
+
}, Co = {
|
|
2171
|
+
islamicart: "mwnf-chip--ISLandEPM",
|
|
2172
|
+
baroqueart: "mwnf-chip--DBA",
|
|
2173
|
+
sharinghistory: "mwnf-chip--AWE",
|
|
2174
|
+
carpets: "mwnf-chip--DCA",
|
|
2175
|
+
glass: "mwnf-chip--DGA"
|
|
2176
|
+
}, wo = new Set(St.filter((e) => e.family === "exhibition").map((e) => e.slug));
|
|
2177
|
+
function To(e) {
|
|
2178
|
+
let t = {};
|
|
2179
|
+
for (let [n, r] of Object.entries(e?.projects ?? {})) {
|
|
2180
|
+
if (!r || !("home_site" in r)) continue;
|
|
2181
|
+
let e = r.home_site, i = e === null ? "mwnf-chip--Galleries" : Co[e] ?? (wo.has(e) ? "mwnf-chip--EXH" : null);
|
|
2182
|
+
i && (t[n] = i);
|
|
2183
|
+
}
|
|
2184
|
+
return t;
|
|
2185
|
+
}
|
|
2186
|
+
function Eo(e, t) {
|
|
2173
2187
|
let n = `exhibition.sponsors.section${Number(t)}`, r = e(n);
|
|
2174
2188
|
return r && r !== n ? r : null;
|
|
2175
2189
|
}
|
|
2176
|
-
function
|
|
2190
|
+
function Do({ country: e, start: t, end: n, page: r }) {
|
|
2177
2191
|
let i = { country: e };
|
|
2178
2192
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
2179
2193
|
name: "timeline-gallery",
|
|
2180
2194
|
query: i
|
|
2181
2195
|
};
|
|
2182
2196
|
}
|
|
2183
|
-
function
|
|
2184
|
-
let { manifest: c } =
|
|
2197
|
+
function Oo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
2198
|
+
let { manifest: c } = At(), l = Et();
|
|
2185
2199
|
return {
|
|
2186
2200
|
datasetPackage: e,
|
|
2187
2201
|
siteName: c.site?.names?.en ?? t,
|
|
2188
2202
|
features: { entities: [] },
|
|
2189
2203
|
languages: l,
|
|
2190
|
-
shell:
|
|
2204
|
+
shell: go,
|
|
2191
2205
|
navigation: {
|
|
2192
|
-
languages:
|
|
2206
|
+
languages: wt(l),
|
|
2193
2207
|
links: [
|
|
2194
2208
|
{
|
|
2195
2209
|
section: "about",
|
|
@@ -2293,10 +2307,13 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2293
2307
|
homeLogos: s,
|
|
2294
2308
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2295
2309
|
links: { ...G },
|
|
2296
|
-
projectColors:
|
|
2310
|
+
projectColors: {
|
|
2311
|
+
...To(c),
|
|
2312
|
+
...r
|
|
2313
|
+
},
|
|
2297
2314
|
noticeProjects: i,
|
|
2298
2315
|
site: { origin: n },
|
|
2299
|
-
extraViews:
|
|
2316
|
+
extraViews: fo("gallery", {
|
|
2300
2317
|
creditsBody: a,
|
|
2301
2318
|
pages: !0
|
|
2302
2319
|
}),
|
|
@@ -2304,7 +2321,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2304
2321
|
{
|
|
2305
2322
|
path: "/database-item/:uid(.*)/:language",
|
|
2306
2323
|
async resolve({ uid: e }) {
|
|
2307
|
-
await
|
|
2324
|
+
await Tt(["items"]);
|
|
2308
2325
|
let t = ne(e);
|
|
2309
2326
|
return t ? {
|
|
2310
2327
|
name: "item",
|
|
@@ -2315,7 +2332,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2315
2332
|
{
|
|
2316
2333
|
path: "/partner/:country/:id/:language",
|
|
2317
2334
|
async resolve({ country: e, id: t }) {
|
|
2318
|
-
await
|
|
2335
|
+
await Tt(["partners"]);
|
|
2319
2336
|
let n = h(e, t);
|
|
2320
2337
|
return n ? {
|
|
2321
2338
|
name: "partner",
|
|
@@ -2326,7 +2343,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2326
2343
|
{
|
|
2327
2344
|
path: "/partner-objects/:country/:id/:page",
|
|
2328
2345
|
async resolve({ country: e, id: t, page: n }) {
|
|
2329
|
-
await
|
|
2346
|
+
await Tt(["partners"]);
|
|
2330
2347
|
let r = h(e, t);
|
|
2331
2348
|
return r ? {
|
|
2332
2349
|
name: "partner-objects",
|
|
@@ -2337,7 +2354,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2337
2354
|
},
|
|
2338
2355
|
{
|
|
2339
2356
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2340
|
-
resolve:
|
|
2357
|
+
resolve: Do
|
|
2341
2358
|
},
|
|
2342
2359
|
{
|
|
2343
2360
|
path: "/error",
|
|
@@ -2346,18 +2363,18 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2346
2363
|
]
|
|
2347
2364
|
};
|
|
2348
2365
|
}
|
|
2349
|
-
function
|
|
2350
|
-
let { manifest: l } =
|
|
2366
|
+
function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
2367
|
+
let { manifest: l } = At(), u = Et(), d = async (e, t) => (await Tt([
|
|
2351
2368
|
"exhibition",
|
|
2352
2369
|
"partners",
|
|
2353
2370
|
"countries"
|
|
2354
|
-
]),
|
|
2371
|
+
]), mo(Ce.value, Oe.value, e, t));
|
|
2355
2372
|
return {
|
|
2356
2373
|
datasetPackage: e,
|
|
2357
2374
|
siteName: l.site?.names?.en ?? t,
|
|
2358
2375
|
features: { entities: [] },
|
|
2359
2376
|
languages: u,
|
|
2360
|
-
shell:
|
|
2377
|
+
shell: So,
|
|
2361
2378
|
navigation: {
|
|
2362
2379
|
languages: u.map((e) => ({
|
|
2363
2380
|
code: e,
|
|
@@ -2467,7 +2484,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2467
2484
|
if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
|
|
2468
2485
|
let n = Number(e.params.id);
|
|
2469
2486
|
if (!Number.isInteger(n) || n < 1) return "";
|
|
2470
|
-
let r = `${t("exhibition.theme.romanLabel")} ${
|
|
2487
|
+
let r = `${t("exhibition.theme.romanLabel")} ${Rt(n + 1)}`, i = e.params.subtheme;
|
|
2471
2488
|
return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
|
|
2472
2489
|
}
|
|
2473
2490
|
},
|
|
@@ -2488,7 +2505,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2488
2505
|
r ? r.push(t) : n.set(e, [t]);
|
|
2489
2506
|
}
|
|
2490
2507
|
return [...n.entries()].sort((e, t) => e[0] - t[0]).map(([e, n]) => ({
|
|
2491
|
-
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") :
|
|
2508
|
+
title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : Eo(t, e) ?? n[0].category ?? "",
|
|
2492
2509
|
sponsors: [...n].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map((e) => ({
|
|
2493
2510
|
name: e.alt,
|
|
2494
2511
|
href: e.href,
|
|
@@ -2499,10 +2516,13 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2499
2516
|
},
|
|
2500
2517
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
2501
2518
|
links: { ...G },
|
|
2502
|
-
projectColors:
|
|
2519
|
+
projectColors: {
|
|
2520
|
+
...To(l),
|
|
2521
|
+
...r
|
|
2522
|
+
},
|
|
2503
2523
|
noticeProjects: i,
|
|
2504
2524
|
site: { origin: n },
|
|
2505
|
-
extraViews:
|
|
2525
|
+
extraViews: fo("exhibition", {
|
|
2506
2526
|
creditsBody: a,
|
|
2507
2527
|
partnerObjects: o,
|
|
2508
2528
|
pages: !0
|
|
@@ -2511,8 +2531,8 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2511
2531
|
{
|
|
2512
2532
|
path: "/database-item/:uid(.*)/:language",
|
|
2513
2533
|
async resolve({ uid: e }) {
|
|
2514
|
-
await
|
|
2515
|
-
let t =
|
|
2534
|
+
await Tt(["items"]);
|
|
2535
|
+
let t = ho(De.value, e);
|
|
2516
2536
|
return t ? {
|
|
2517
2537
|
name: "item",
|
|
2518
2538
|
params: { id: t.id }
|
|
@@ -2563,7 +2583,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2563
2583
|
},
|
|
2564
2584
|
{
|
|
2565
2585
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
2566
|
-
resolve:
|
|
2586
|
+
resolve: Do
|
|
2567
2587
|
},
|
|
2568
2588
|
{
|
|
2569
2589
|
path: "/error",
|
|
@@ -2573,16 +2593,16 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
2573
2593
|
};
|
|
2574
2594
|
}
|
|
2575
2595
|
// src/dxa/FeaturedPartners.vue
|
|
2576
|
-
var
|
|
2596
|
+
var Ao = {
|
|
2577
2597
|
key: 0,
|
|
2578
2598
|
class: "mwnf-featured-partners"
|
|
2579
|
-
},
|
|
2599
|
+
}, jo = { class: "mwnf-featured-partners__heading" }, Mo = { class: "mwnf-featured-partners__carousel" }, No = {
|
|
2580
2600
|
key: 0,
|
|
2581
2601
|
class: "mwnf-featured-partners__image"
|
|
2582
|
-
},
|
|
2602
|
+
}, Po = ["src", "alt"], Fo = { class: "mwnf-featured-partners__body" }, Io = { class: "mwnf-featured-partners__name" }, Lo = { class: "mwnf-featured-partners__location" }, Ro = { key: 0 }, zo = { class: "mwnf-featured-partners__description" }, Bo = {
|
|
2583
2603
|
key: 0,
|
|
2584
2604
|
class: "mwnf-featured-partners__controls"
|
|
2585
|
-
},
|
|
2605
|
+
}, Vo = ["aria-label", "onClick"], Ho = 8e3, Uo = {
|
|
2586
2606
|
__name: "FeaturedPartners",
|
|
2587
2607
|
props: {
|
|
2588
2608
|
records: {
|
|
@@ -2637,21 +2657,21 @@ var Eo = {
|
|
|
2637
2657
|
function l() {
|
|
2638
2658
|
s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
|
|
2639
2659
|
o.value = (o.value + 1) % a.value.length;
|
|
2640
|
-
},
|
|
2660
|
+
}, Ho));
|
|
2641
2661
|
}
|
|
2642
|
-
return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section",
|
|
2643
|
-
N("h2",
|
|
2644
|
-
N("div",
|
|
2662
|
+
return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", Ao, [
|
|
2663
|
+
N("h2", jo, B(t.$t(e.headingEntry)), 1),
|
|
2664
|
+
N("div", Mo, [(L(!0), M(O, null, z(a.value, (r, i) => U((L(), M("div", {
|
|
2645
2665
|
key: r.id,
|
|
2646
2666
|
class: "mwnf-featured-partners__card"
|
|
2647
|
-
}, [r.logo ? (L(), M("span",
|
|
2667
|
+
}, [r.logo ? (L(), M("span", No, [N("img", {
|
|
2648
2668
|
src: r.logo,
|
|
2649
2669
|
alt: r.name,
|
|
2650
2670
|
class: "mwnf-featured-partners__logo"
|
|
2651
|
-
}, null, 8,
|
|
2652
|
-
N("span",
|
|
2653
|
-
N("span",
|
|
2654
|
-
N("span",
|
|
2671
|
+
}, null, 8, Po)])) : j("", !0), N("span", Fo, [
|
|
2672
|
+
N("span", Io, B(r.name), 1),
|
|
2673
|
+
N("span", Lo, [r.city ? (L(), M("span", Ro, B(r.city) + ", ", 1)) : j("", !0), P(B(r.country), 1)]),
|
|
2674
|
+
N("span", zo, B(r.description), 1),
|
|
2655
2675
|
r.route ? (L(), A(n, {
|
|
2656
2676
|
key: 0,
|
|
2657
2677
|
to: r.route,
|
|
@@ -2669,33 +2689,33 @@ var Eo = {
|
|
|
2669
2689
|
_: 1
|
|
2670
2690
|
}, 8, ["to"])) : j("", !0)
|
|
2671
2691
|
])])), [[vt, i === o.value]])), 128))]),
|
|
2672
|
-
a.value.length > 1 ? (L(), M("div",
|
|
2692
|
+
a.value.length > 1 ? (L(), M("div", Bo, [(L(!0), M(O, null, z(a.value, (e, n) => (L(), M("button", {
|
|
2673
2693
|
key: e.id,
|
|
2674
2694
|
class: I(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
|
|
2675
2695
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
2676
2696
|
onClick: (e) => c(n)
|
|
2677
|
-
}, null, 10,
|
|
2697
|
+
}, null, 10, Vo))), 128))])) : j("", !0)
|
|
2678
2698
|
])) : j("", !0);
|
|
2679
2699
|
}
|
|
2680
|
-
},
|
|
2700
|
+
}, Wo = { class: "mwnf-sibling-galleries" }, Go = {
|
|
2681
2701
|
key: 0,
|
|
2682
2702
|
class: "mwnf-sibling-galleries__galleries"
|
|
2683
|
-
},
|
|
2703
|
+
}, Ko = { class: "mwnf-sibling-galleries__header" }, qo = { class: "mwnf-sibling-galleries__heading" }, Jo = ["href"], Yo = { class: "mwnf-sibling-galleries__grid" }, Xo = {
|
|
2684
2704
|
key: 0,
|
|
2685
2705
|
class: "mwnf-sibling-galleries__image"
|
|
2686
|
-
},
|
|
2706
|
+
}, Zo = ["src", "alt"], Qo = {
|
|
2687
2707
|
key: 1,
|
|
2688
2708
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
2689
|
-
},
|
|
2709
|
+
}, $o = { class: "mwnf-sibling-galleries__name" }, es = {
|
|
2690
2710
|
key: 1,
|
|
2691
2711
|
class: "mwnf-sibling-galleries__museums"
|
|
2692
|
-
},
|
|
2712
|
+
}, ts = { class: "mwnf-sibling-galleries__heading" }, ns = { class: "mwnf-sibling-galleries__museums-grid" }, rs = ["href"], is = {
|
|
2693
2713
|
key: 0,
|
|
2694
2714
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
2695
|
-
},
|
|
2715
|
+
}, as = ["src"], os = {
|
|
2696
2716
|
key: 1,
|
|
2697
2717
|
class: "mwnf-sibling-galleries__museum-image"
|
|
2698
|
-
},
|
|
2718
|
+
}, ss = { class: "mwnf-sibling-galleries__museum-name" }, cs = {
|
|
2699
2719
|
__name: "SiblingGalleries",
|
|
2700
2720
|
props: {
|
|
2701
2721
|
galleries: {
|
|
@@ -2724,23 +2744,23 @@ var Eo = {
|
|
|
2724
2744
|
}
|
|
2725
2745
|
},
|
|
2726
2746
|
setup(e) {
|
|
2727
|
-
return (t, r) => (L(), M("section",
|
|
2747
|
+
return (t, r) => (L(), M("section", Wo, [e.galleries.length ? (L(), M("div", Go, [N("div", Ko, [N("p", qo, B(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (L(), M("a", {
|
|
2728
2748
|
key: 0,
|
|
2729
2749
|
href: e.seeMoreGalleriesHref,
|
|
2730
2750
|
target: "_blank",
|
|
2731
2751
|
rel: "noopener",
|
|
2732
2752
|
class: "mwnf-sibling-galleries__see-more"
|
|
2733
|
-
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9,
|
|
2753
|
+
}, B(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Jo)) : j("", !0)]), N("div", Yo, [(L(!0), M(O, null, z(e.galleries, (e) => (L(), A(n, {
|
|
2734
2754
|
key: e.id,
|
|
2735
2755
|
to: e.route,
|
|
2736
2756
|
class: I(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
2737
2757
|
}, {
|
|
2738
|
-
default: H(() => [e.image ? (L(), M("span",
|
|
2758
|
+
default: H(() => [e.image ? (L(), M("span", Xo, [N("img", {
|
|
2739
2759
|
src: e.image,
|
|
2740
2760
|
alt: e.name
|
|
2741
|
-
}, null, 8,
|
|
2761
|
+
}, null, 8, Zo)])) : (L(), M("span", Qo)), N("p", $o, B(e.name), 1)]),
|
|
2742
2762
|
_: 2
|
|
2743
|
-
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div",
|
|
2763
|
+
}, 1032, ["to", "class"]))), 128))])])) : j("", !0), e.museums.length ? (L(), M("div", es, [N("div", ts, B(t.$t(e.museumsHeadingEntry)), 1), N("div", ns, [(L(!0), M(O, null, z(e.museums, (e) => (L(), M("a", {
|
|
2744
2764
|
key: e.name,
|
|
2745
2765
|
href: e.href || e.to,
|
|
2746
2766
|
target: "_blank",
|
|
@@ -2750,20 +2770,20 @@ var Eo = {
|
|
|
2750
2770
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
2751
2771
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
2752
2772
|
})
|
|
2753
|
-
}, [e.image ? (L(), M("div",
|
|
2773
|
+
}, [e.image ? (L(), M("div", is, [N("img", {
|
|
2754
2774
|
src: e.image,
|
|
2755
2775
|
alt: ""
|
|
2756
|
-
}, null, 8,
|
|
2776
|
+
}, null, 8, as)])) : (L(), M("div", os, B(e.name.split(" ").map((e) => e[0]).join("")), 1)), N("p", ss, B(e.name), 1)], 12, rs))), 128))])])) : j("", !0)]));
|
|
2757
2777
|
}
|
|
2758
|
-
},
|
|
2778
|
+
}, ls = /* @__PURE__ */ D({ default: () => _s }), us = { class: "mwnf-dxa-home" }, ds = {
|
|
2759
2779
|
key: 0,
|
|
2760
2780
|
class: "mwnf-dxa-home-logos"
|
|
2761
|
-
},
|
|
2781
|
+
}, fs = { class: "mwnf-dxa-home-logos__label" }, ps = { class: "mwnf-dxa-home-logos__list" }, ms = ["src", "alt"], hs = 3, gs = 4, _s = {
|
|
2762
2782
|
__name: "Home",
|
|
2763
2783
|
setup(e) {
|
|
2764
|
-
let { t, locale: n } = q(), r =
|
|
2784
|
+
let { t, locale: n } = q(), r = Pt(), i = k(() => r.links ?? {}), a = k(() => oe(hs)), o = R([]);
|
|
2765
2785
|
dt(() => {
|
|
2766
|
-
o.value = u(
|
|
2786
|
+
o.value = u(gs);
|
|
2767
2787
|
});
|
|
2768
2788
|
let s = k(() => o.value.map((e) => ({
|
|
2769
2789
|
id: e.id,
|
|
@@ -2797,9 +2817,9 @@ var Eo = {
|
|
|
2797
2817
|
href: e.href ?? "",
|
|
2798
2818
|
alt: e.alt ? t(e.alt) : ""
|
|
2799
2819
|
})).filter((e) => e.image)), d = k(() => `${i.value.galleries}/list`);
|
|
2800
|
-
return (e, n) => (L(), M("div",
|
|
2801
|
-
F(
|
|
2802
|
-
l.value.length ? (L(), M("section",
|
|
2820
|
+
return (e, n) => (L(), M("div", us, [
|
|
2821
|
+
F(Uo, { partners: a.value }, null, 8, ["partners"]),
|
|
2822
|
+
l.value.length ? (L(), M("section", ds, [N("p", fs, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ps, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(mt(e.href ? "a" : "span"), {
|
|
2803
2823
|
class: "mwnf-dxa-home-logos__logo",
|
|
2804
2824
|
href: e.href || void 0,
|
|
2805
2825
|
title: e.alt || void 0,
|
|
@@ -2809,7 +2829,7 @@ var Eo = {
|
|
|
2809
2829
|
default: H(() => [N("img", {
|
|
2810
2830
|
src: e.image,
|
|
2811
2831
|
alt: e.alt
|
|
2812
|
-
}, null, 8,
|
|
2832
|
+
}, null, 8, ms)]),
|
|
2813
2833
|
_: 2
|
|
2814
2834
|
}, 1032, [
|
|
2815
2835
|
"href",
|
|
@@ -2817,7 +2837,7 @@ var Eo = {
|
|
|
2817
2837
|
"target",
|
|
2818
2838
|
"rel"
|
|
2819
2839
|
]))]))), 128))])])) : j("", !0),
|
|
2820
|
-
F(
|
|
2840
|
+
F(cs, {
|
|
2821
2841
|
galleries: s.value,
|
|
2822
2842
|
museums: c.value,
|
|
2823
2843
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2831,7 +2851,7 @@ var Eo = {
|
|
|
2831
2851
|
])
|
|
2832
2852
|
]));
|
|
2833
2853
|
}
|
|
2834
|
-
},
|
|
2854
|
+
}, vs = /* @__PURE__ */ D({ default: () => ys }), ys = {
|
|
2835
2855
|
__name: "ItemDetail",
|
|
2836
2856
|
props: { id: {
|
|
2837
2857
|
type: String,
|
|
@@ -2855,28 +2875,28 @@ var Eo = {
|
|
|
2855
2875
|
words: t
|
|
2856
2876
|
}, null, 8, ["id", "item-detail"]));
|
|
2857
2877
|
}
|
|
2858
|
-
},
|
|
2878
|
+
}, bs = /* @__PURE__ */ D({ default: () => Fs }), xs = { class: "mwnf-dxa-timeline" }, Ss = { class: "mwnf-dxa-timeline__entrance" }, Cs = [
|
|
2859
2879
|
"value",
|
|
2860
2880
|
"aria-label",
|
|
2861
2881
|
"onChange"
|
|
2862
|
-
],
|
|
2882
|
+
], ws = {
|
|
2863
2883
|
disabled: "",
|
|
2864
2884
|
value: ""
|
|
2865
|
-
},
|
|
2885
|
+
}, Ts = ["value"], Es = { class: "mwnf-dxa-timeline__dates" }, Ds = [
|
|
2866
2886
|
"value",
|
|
2867
2887
|
"aria-label",
|
|
2868
2888
|
"onChange"
|
|
2869
|
-
],
|
|
2889
|
+
], Os = {
|
|
2870
2890
|
disabled: "",
|
|
2871
2891
|
value: ""
|
|
2872
|
-
},
|
|
2892
|
+
}, ks = ["value"], As = [
|
|
2873
2893
|
"value",
|
|
2874
2894
|
"aria-label",
|
|
2875
2895
|
"onChange"
|
|
2876
|
-
],
|
|
2896
|
+
], js = {
|
|
2877
2897
|
disabled: "",
|
|
2878
2898
|
value: ""
|
|
2879
|
-
},
|
|
2899
|
+
}, Ms = ["value"], Ns = { class: "mwnf-dxa-timeline__go" }, Ps = ["onClick"], Fs = {
|
|
2880
2900
|
__name: "Timeline",
|
|
2881
2901
|
setup(e) {
|
|
2882
2902
|
let t = {
|
|
@@ -2899,39 +2919,39 @@ var Eo = {
|
|
|
2899
2919
|
end: e.end || a.at(-1)?.value
|
|
2900
2920
|
});
|
|
2901
2921
|
}
|
|
2902
|
-
return (e, r) => (L(), M("div",
|
|
2922
|
+
return (e, r) => (L(), M("div", xs, [F(Ye, {
|
|
2903
2923
|
spec: t,
|
|
2904
2924
|
class: "mwnf-dxa-timeline__form"
|
|
2905
2925
|
}, {
|
|
2906
|
-
form: H((e) => [N("div",
|
|
2926
|
+
form: H((e) => [N("div", Ss, [
|
|
2907
2927
|
N("select", {
|
|
2908
2928
|
class: "mwnf-dxa-timeline__country",
|
|
2909
2929
|
value: e.filters.country,
|
|
2910
2930
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2911
2931
|
onChange: (t) => e.filters.country = t.target.value
|
|
2912
|
-
}, [N("option",
|
|
2932
|
+
}, [N("option", ws, B(e.t("gallery.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
2913
2933
|
key: e.value,
|
|
2914
2934
|
value: e.value
|
|
2915
|
-
}, B(e.label), 9,
|
|
2916
|
-
N("div",
|
|
2935
|
+
}, B(e.label), 9, Ts))), 128))], 40, Cs),
|
|
2936
|
+
N("div", Es, [N("select", {
|
|
2917
2937
|
value: e.filters.begin,
|
|
2918
2938
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2919
2939
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2920
|
-
}, [N("option",
|
|
2940
|
+
}, [N("option", Os, B(e.t("gallery.timeline.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
2921
2941
|
key: e.value,
|
|
2922
2942
|
value: e.value
|
|
2923
|
-
}, B(e.label), 9,
|
|
2943
|
+
}, B(e.label), 9, ks))), 128))], 40, Ds), N("select", {
|
|
2924
2944
|
value: e.filters.end,
|
|
2925
2945
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2926
2946
|
onChange: (t) => e.filters.end = t.target.value
|
|
2927
|
-
}, [N("option",
|
|
2947
|
+
}, [N("option", js, B(e.t("gallery.timeline.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
2928
2948
|
key: e.value,
|
|
2929
2949
|
value: e.value
|
|
2930
|
-
}, B(e.label), 9,
|
|
2931
|
-
N("div",
|
|
2950
|
+
}, B(e.label), 9, Ms))), 128))], 40, As)]),
|
|
2951
|
+
N("div", Ns, [N("button", {
|
|
2932
2952
|
type: "button",
|
|
2933
2953
|
onClick: (t) => n(e)
|
|
2934
|
-
}, B(e.t("core.action.go")), 9,
|
|
2954
|
+
}, B(e.t("core.action.go")), 9, Ps)])
|
|
2935
2955
|
])]),
|
|
2936
2956
|
_: 1
|
|
2937
2957
|
}), F(V(W), {
|
|
@@ -2940,26 +2960,26 @@ var Eo = {
|
|
|
2940
2960
|
keypath: "gallery.timeline.intro"
|
|
2941
2961
|
})]));
|
|
2942
2962
|
}
|
|
2943
|
-
},
|
|
2963
|
+
}, Is = /* @__PURE__ */ D({ default: () => Rs }), Ls = { class: "mwnf-dxa-home" }, Rs = {
|
|
2944
2964
|
__name: "Home",
|
|
2945
2965
|
setup(e) {
|
|
2946
|
-
return (e, t) => (L(), M("div",
|
|
2966
|
+
return (e, t) => (L(), M("div", Ls));
|
|
2947
2967
|
}
|
|
2948
|
-
},
|
|
2968
|
+
}, zs = /* @__PURE__ */ D({ default: () => Vs }), Bs = { class: "mwnf-dxa-about" }, Vs = {
|
|
2949
2969
|
__name: "About",
|
|
2950
2970
|
setup(e) {
|
|
2951
|
-
return (e, t) => (L(), M("div",
|
|
2971
|
+
return (e, t) => (L(), M("div", Bs, [F(it, { "about-mode": "" })]));
|
|
2952
2972
|
}
|
|
2953
|
-
},
|
|
2973
|
+
}, Hs = /* @__PURE__ */ D({ default: () => ac }), Us = { class: "mwnf-dxa-themes-page" }, Ws = { class: "mwnf-dxa-themes-page__container" }, Gs = ["onClick"], Ks = ["innerHTML"], qs = {
|
|
2954
2974
|
key: 0,
|
|
2955
2975
|
class: "mwnf-dxa-themes-page__strips"
|
|
2956
|
-
},
|
|
2976
|
+
}, Js = ["src"], Ys = {
|
|
2957
2977
|
key: 1,
|
|
2958
2978
|
class: "mwnf-dxa-themes-page__open"
|
|
2959
|
-
},
|
|
2979
|
+
}, Xs = { class: "mwnf-dxa-themes-page__image" }, Zs = ["src", "alt"], Qs = {
|
|
2960
2980
|
key: 1,
|
|
2961
2981
|
class: "mwnf-dxa-themes-page__caption"
|
|
2962
|
-
},
|
|
2982
|
+
}, $s = ["innerHTML"], ec = { class: "mwnf-dxa-themes-page__info" }, tc = { class: "mwnf-dxa-themes-page__description" }, nc = { class: "mwnf-dxa-themes-page__subthemes" }, rc = { class: "mwnf-dxa-themes-page__subthemes-label" }, ic = { class: "mwnf-dxa-themes-page__gallery" }, ac = {
|
|
2963
2983
|
__name: "Themes",
|
|
2964
2984
|
setup(e) {
|
|
2965
2985
|
let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = we, { t: o, locale: s } = q(), c = R(!1), l = R(null);
|
|
@@ -2992,7 +3012,7 @@ var Eo = {
|
|
|
2992
3012
|
numeral: i(e.display_order),
|
|
2993
3013
|
cover: r?.image_url ?? "",
|
|
2994
3014
|
caption: p(r),
|
|
2995
|
-
excerpt: f(
|
|
3015
|
+
excerpt: f(Ot(String(o.presentation ?? ""))),
|
|
2996
3016
|
to: at(e),
|
|
2997
3017
|
gallery: {
|
|
2998
3018
|
name: "theme-gallery",
|
|
@@ -3004,7 +3024,7 @@ var Eo = {
|
|
|
3004
3024
|
}))
|
|
3005
3025
|
};
|
|
3006
3026
|
}));
|
|
3007
|
-
return (e, t) => (L(), M("div",
|
|
3027
|
+
return (e, t) => (L(), M("div", Us, [N("div", Ws, [N("div", {
|
|
3008
3028
|
class: "mwnf-dxa-themes-page__show-all",
|
|
3009
3029
|
onClick: d
|
|
3010
3030
|
}, [N("span", null, B(c.value ? V(o)("exhibition.themes.collapseAll") : V(o)("exhibition.themes.expandAll")), 1)]), (L(!0), M(O, null, z(m.value, (e) => (L(), M("div", {
|
|
@@ -3015,18 +3035,18 @@ var Eo = {
|
|
|
3015
3035
|
onClick: (t) => u(e.index)
|
|
3016
3036
|
}, [N("span", null, [
|
|
3017
3037
|
P(B(V(o)("exhibition.theme.romanLabel")) + " " + B(e.numeral) + " ▪ ", 1),
|
|
3018
|
-
N("span", { innerHTML: V(K)(e.title) }, null, 8,
|
|
3038
|
+
N("span", { innerHTML: V(K)(e.title) }, null, 8, Ks),
|
|
3019
3039
|
c.value ? j("", !0) : (L(), M(O, { key: 0 }, [P(B(l.value === e.index ? "▴" : "▾"), 1)], 64))
|
|
3020
|
-
])], 10,
|
|
3040
|
+
])], 10, Gs), l.value !== e.index && !c.value ? (L(), M("div", qs, [(L(), M(O, null, z(4, (t) => N("img", {
|
|
3021
3041
|
key: t,
|
|
3022
3042
|
src: e.cover,
|
|
3023
3043
|
alt: ""
|
|
3024
|
-
}, null, 8,
|
|
3044
|
+
}, null, 8, Js)), 64))])) : (L(), M("div", Ys, [N("div", Xs, [e.cover ? (L(), M("img", {
|
|
3025
3045
|
key: 0,
|
|
3026
3046
|
src: e.cover,
|
|
3027
|
-
alt: V(
|
|
3028
|
-
}, null, 8,
|
|
3029
|
-
N("div",
|
|
3047
|
+
alt: V(Ot)(e.title)
|
|
3048
|
+
}, null, 8, Zs)) : j("", !0), e.caption ? (L(), M("div", Qs, [N("span", { innerHTML: V(K)(e.caption) }, null, 8, $s)])) : j("", !0)]), N("div", ec, [
|
|
3049
|
+
N("div", tc, [
|
|
3030
3050
|
N("span", null, B(e.excerpt), 1),
|
|
3031
3051
|
t[0] ||= P(" " + B(" "), -1),
|
|
3032
3052
|
F(V(Y), {
|
|
@@ -3037,41 +3057,41 @@ var Eo = {
|
|
|
3037
3057
|
_: 1
|
|
3038
3058
|
}, 8, ["to"])
|
|
3039
3059
|
]),
|
|
3040
|
-
N("div",
|
|
3060
|
+
N("div", nc, [N("div", rc, B(V(o)("exhibition.theme.inThisTheme")), 1), (L(!0), M(O, null, z(e.subThemes, (e) => (L(), M("div", { key: e.label }, [F(V(Y), {
|
|
3041
3061
|
to: e.to,
|
|
3042
3062
|
class: "mwnf-dxa-themes-page__link"
|
|
3043
3063
|
}, {
|
|
3044
3064
|
default: H(() => [P(B(e.label), 1)]),
|
|
3045
3065
|
_: 2
|
|
3046
3066
|
}, 1032, ["to"])]))), 128))]),
|
|
3047
|
-
N("div",
|
|
3067
|
+
N("div", ic, [F(V(Y), { to: e.gallery }, {
|
|
3048
3068
|
default: H(() => [P(B(V(o)("exhibition.themes.seeGallery")) + " " + B(e.numeral), 1)]),
|
|
3049
3069
|
_: 2
|
|
3050
3070
|
}, 1032, ["to"])])
|
|
3051
3071
|
])]))]))), 128))])]));
|
|
3052
3072
|
}
|
|
3053
|
-
},
|
|
3073
|
+
}, oc = /* @__PURE__ */ D({ default: () => wc }), sc = {
|
|
3054
3074
|
key: 0,
|
|
3055
3075
|
class: "mwnf-dxa-theme-gallery-page"
|
|
3056
|
-
},
|
|
3076
|
+
}, cc = { class: "mwnf-dxa-theme-gallery-page__header" }, lc = ["innerHTML"], uc = {
|
|
3057
3077
|
key: 0,
|
|
3058
3078
|
class: "mwnf-dxa-theme-gallery-page__bold"
|
|
3059
|
-
},
|
|
3079
|
+
}, dc = ["innerHTML"], fc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, pc = { class: "mwnf-dxa-theme-gallery-page__content" }, mc = { class: "mwnf-dxa-theme-gallery-page__objects" }, hc = { class: "mwnf-dxa-theme-gallery-page__filter" }, gc = { class: "mwnf-dxa-theme-gallery-page__label" }, _c = ["disabled", "value"], vc = {
|
|
3060
3080
|
value: "",
|
|
3061
3081
|
disabled: ""
|
|
3062
|
-
},
|
|
3082
|
+
}, yc = ["value"], bc = {
|
|
3063
3083
|
key: 0,
|
|
3064
3084
|
class: "mwnf-dxa-theme-gallery-page__reset"
|
|
3065
|
-
},
|
|
3085
|
+
}, xc = {
|
|
3066
3086
|
key: 0,
|
|
3067
3087
|
class: "mwnf-dxa-theme-gallery-page__top"
|
|
3068
|
-
},
|
|
3088
|
+
}, Sc = ["aria-label"], Cc = {
|
|
3069
3089
|
key: 1,
|
|
3070
3090
|
class: "mwnf-loader"
|
|
3071
|
-
},
|
|
3091
|
+
}, wc = {
|
|
3072
3092
|
__name: "ThemeGallery",
|
|
3073
3093
|
setup(t) {
|
|
3074
|
-
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = we, s = X(), c =
|
|
3094
|
+
let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = we, s = X(), c = Lt(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
|
|
3075
3095
|
let e = Number(s.params.subtheme);
|
|
3076
3096
|
return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
|
|
3077
3097
|
}), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
|
|
@@ -3123,44 +3143,44 @@ var Eo = {
|
|
|
3123
3143
|
top: 0,
|
|
3124
3144
|
behavior: "smooth"
|
|
3125
3145
|
});
|
|
3126
|
-
return (t, n) => d.value ? (L(), M("div",
|
|
3146
|
+
return (t, n) => d.value ? (L(), M("div", sc, [
|
|
3127
3147
|
F(e),
|
|
3128
|
-
N("div",
|
|
3148
|
+
N("div", cc, [N("span", null, [
|
|
3129
3149
|
P(B(V(l)("exhibition.theme.romanLabel")) + " " + B(V(r)(d.value.display_order)) + " | ", 1),
|
|
3130
3150
|
N("span", {
|
|
3131
3151
|
class: "mwnf-dxa-theme-gallery-page__bold",
|
|
3132
3152
|
innerHTML: V(K)(m(d.value))
|
|
3133
|
-
}, null, 8,
|
|
3134
|
-
p.value ? (L(), M("span",
|
|
3153
|
+
}, null, 8, lc),
|
|
3154
|
+
p.value ? (L(), M("span", uc, [n[2] ||= P(" ▪ ", -1), N("span", { innerHTML: V(K)(m(f.value[p.value - 1])) }, null, 8, dc)])) : j("", !0),
|
|
3135
3155
|
P(" | " + B(V(l)("exhibition.theme.galleryLabel")), 1)
|
|
3136
3156
|
])]),
|
|
3137
|
-
N("div",
|
|
3157
|
+
N("div", fc, [N("div", pc, [N("div", mc, [F($, {
|
|
3138
3158
|
rows: _.value,
|
|
3139
3159
|
family: "exhibition"
|
|
3140
|
-
}, null, 8, ["rows"])]), N("div",
|
|
3141
|
-
N("div",
|
|
3160
|
+
}, null, 8, ["rows"])]), N("div", hc, [
|
|
3161
|
+
N("div", gc, B(V(l)("exhibition.themeGallery.filterBy")), 1),
|
|
3142
3162
|
N("select", {
|
|
3143
3163
|
class: "mwnf-dxa-theme-gallery-page__select",
|
|
3144
3164
|
disabled: !_.value.length,
|
|
3145
3165
|
value: p.value ? String(p.value) : "",
|
|
3146
3166
|
onChange: n[0] ||= (e) => h(e.target.value)
|
|
3147
|
-
}, [N("option",
|
|
3167
|
+
}, [N("option", vc, B(V(l)("exhibition.themeGallery.select")), 1), (L(!0), M(O, null, z(f.value, (e, t) => (L(), M("option", {
|
|
3148
3168
|
key: e.id,
|
|
3149
3169
|
value: String(t + 1)
|
|
3150
|
-
}, B(t + 1) + ". " + B(m(e)), 9,
|
|
3151
|
-
p.value ? (L(), M("div",
|
|
3170
|
+
}, B(t + 1) + ". " + B(m(e)), 9, yc))), 128))], 40, _c),
|
|
3171
|
+
p.value ? (L(), M("div", bc, [N("button", {
|
|
3152
3172
|
type: "button",
|
|
3153
3173
|
onClick: n[1] ||= (e) => h("")
|
|
3154
3174
|
}, B(V(l)("exhibition.theme.seeAllInTheme")), 1)])) : j("", !0)
|
|
3155
3175
|
])])]),
|
|
3156
|
-
v.value ? (L(), M("div",
|
|
3176
|
+
v.value ? (L(), M("div", xc, [N("button", {
|
|
3157
3177
|
type: "button",
|
|
3158
3178
|
"aria-label": V(l)("exhibition.themeGallery.top"),
|
|
3159
3179
|
onClick: ee
|
|
3160
|
-
}, "⌃", 8,
|
|
3161
|
-
])) : (L(), M("div",
|
|
3180
|
+
}, "⌃", 8, Sc)])) : j("", !0)
|
|
3181
|
+
])) : (L(), M("div", Cc, B(V(l)("exhibition.theme.notInExhibition")), 1));
|
|
3162
3182
|
}
|
|
3163
|
-
},
|
|
3183
|
+
}, Tc = /* @__PURE__ */ D({ default: () => Ec }), Ec = {
|
|
3164
3184
|
__name: "ItemDetail",
|
|
3165
3185
|
props: { id: {
|
|
3166
3186
|
type: String,
|
|
@@ -3185,7 +3205,7 @@ var Eo = {
|
|
|
3185
3205
|
class: "mwnf-dxa-exhibition-item"
|
|
3186
3206
|
}, null, 8, ["id", "item-detail"]));
|
|
3187
3207
|
}
|
|
3188
|
-
},
|
|
3208
|
+
}, Dc = /* @__PURE__ */ D({ default: () => Hc }), Oc = { class: "mwnf-dxa-related-page" }, kc = { class: "mwnf-dxa-related-page__container" }, Ac = { key: 0 }, jc = { class: "mwnf-dxa-related-page__heading" }, Mc = ["innerHTML"], Nc = ["innerHTML"], Pc = { key: 2 }, Fc = { key: 3 }, Ic = ["href", "innerHTML"], Lc = ["innerHTML"], Rc = { key: 4 }, zc = ["href"], Bc = ["innerHTML"], Vc = ["innerHTML"], Hc = {
|
|
3189
3209
|
__name: "RelatedContent",
|
|
3190
3210
|
setup(t) {
|
|
3191
3211
|
let n = {
|
|
@@ -3202,7 +3222,7 @@ var Eo = {
|
|
|
3202
3222
|
function s(e) {
|
|
3203
3223
|
let t = e.document_path ? Ve(e.document_path, "hi_res") : "";
|
|
3204
3224
|
return {
|
|
3205
|
-
reading:
|
|
3225
|
+
reading: Dt(o(e.texts) || e.further_reading || ""),
|
|
3206
3226
|
partner: e.partner_name ? K(e.partner_name) : "",
|
|
3207
3227
|
place: [e.entity_location, e.entity_country ? ze(e.entity_country) : ""].filter(Boolean).join(", "),
|
|
3208
3228
|
title: o(e.titles) ? K(o(e.titles)) : "",
|
|
@@ -3223,74 +3243,74 @@ var Eo = {
|
|
|
3223
3243
|
entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(s)
|
|
3224
3244
|
}));
|
|
3225
3245
|
});
|
|
3226
|
-
return (t, n) => (L(), M("div",
|
|
3246
|
+
return (t, n) => (L(), M("div", Oc, [F(e), N("div", kc, [c.value.length ? j("", !0) : (L(), M("p", Ac, B(V(i)("exhibition.related.notAvailable")), 1)), (L(!0), M(O, null, z(c.value, (e) => (L(), M("div", {
|
|
3227
3247
|
key: e.id,
|
|
3228
3248
|
class: "mwnf-dxa-related-page__category"
|
|
3229
|
-
}, [N("div",
|
|
3249
|
+
}, [N("div", jc, B(V(i)(e.heading)), 1), (L(!0), M(O, null, z(e.entries, (e, t) => (L(), M("div", {
|
|
3230
3250
|
key: t,
|
|
3231
3251
|
class: "mwnf-dxa-related-page__entry"
|
|
3232
3252
|
}, [
|
|
3233
3253
|
e.reading ? (L(), M("div", {
|
|
3234
3254
|
key: 0,
|
|
3235
3255
|
innerHTML: e.reading
|
|
3236
|
-
}, null, 8,
|
|
3256
|
+
}, null, 8, Mc)) : j("", !0),
|
|
3237
3257
|
e.partner ? (L(), M("div", {
|
|
3238
3258
|
key: 1,
|
|
3239
3259
|
innerHTML: e.partner
|
|
3240
|
-
}, null, 8,
|
|
3241
|
-
e.place ? (L(), M("div",
|
|
3242
|
-
e.title ? (L(), M("div",
|
|
3260
|
+
}, null, 8, Nc)) : j("", !0),
|
|
3261
|
+
e.place ? (L(), M("div", Pc, B(e.place), 1)) : j("", !0),
|
|
3262
|
+
e.title ? (L(), M("div", Fc, [e.href ? (L(), M("a", {
|
|
3243
3263
|
key: 0,
|
|
3244
3264
|
href: e.href,
|
|
3245
3265
|
target: "_blank",
|
|
3246
3266
|
rel: "noopener",
|
|
3247
3267
|
innerHTML: e.title
|
|
3248
|
-
}, null, 8,
|
|
3268
|
+
}, null, 8, Ic)) : (L(), M("span", {
|
|
3249
3269
|
key: 1,
|
|
3250
3270
|
innerHTML: e.title
|
|
3251
|
-
}, null, 8,
|
|
3271
|
+
}, null, 8, Lc))])) : e.href ? (L(), M("div", Rc, [N("a", {
|
|
3252
3272
|
href: e.href,
|
|
3253
3273
|
target: "_blank",
|
|
3254
3274
|
rel: "noopener"
|
|
3255
|
-
}, B(e.href), 9,
|
|
3275
|
+
}, B(e.href), 9, zc)])) : j("", !0),
|
|
3256
3276
|
e.byline ? (L(), M("div", {
|
|
3257
3277
|
key: 5,
|
|
3258
3278
|
innerHTML: e.byline
|
|
3259
|
-
}, null, 8,
|
|
3279
|
+
}, null, 8, Bc)) : j("", !0),
|
|
3260
3280
|
e.description ? (L(), M("div", {
|
|
3261
3281
|
key: 6,
|
|
3262
3282
|
innerHTML: e.description
|
|
3263
|
-
}, null, 8,
|
|
3283
|
+
}, null, 8, Vc)) : j("", !0)
|
|
3264
3284
|
]))), 128))]))), 128))])]));
|
|
3265
3285
|
}
|
|
3266
|
-
},
|
|
3286
|
+
}, Uc = /* @__PURE__ */ D({ default: () => il }), Wc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Gc = { class: "mwnf-dxa-timeline__entrance" }, Kc = [
|
|
3267
3287
|
"value",
|
|
3268
3288
|
"aria-label",
|
|
3269
3289
|
"onChange"
|
|
3270
|
-
],
|
|
3290
|
+
], qc = {
|
|
3271
3291
|
disabled: "",
|
|
3272
3292
|
value: ""
|
|
3273
|
-
},
|
|
3293
|
+
}, Jc = ["value"], Yc = { class: "mwnf-dxa-timeline__dates" }, Xc = [
|
|
3274
3294
|
"value",
|
|
3275
3295
|
"aria-label",
|
|
3276
3296
|
"onChange"
|
|
3277
|
-
],
|
|
3297
|
+
], Zc = {
|
|
3278
3298
|
disabled: "",
|
|
3279
3299
|
value: ""
|
|
3280
|
-
},
|
|
3300
|
+
}, Qc = ["value"], $c = [
|
|
3281
3301
|
"value",
|
|
3282
3302
|
"aria-label",
|
|
3283
3303
|
"onChange"
|
|
3284
|
-
],
|
|
3304
|
+
], el = {
|
|
3285
3305
|
disabled: "",
|
|
3286
3306
|
value: ""
|
|
3287
|
-
},
|
|
3307
|
+
}, tl = ["value"], nl = { class: "mwnf-dxa-timeline__go" }, rl = ["onClick"], il = {
|
|
3288
3308
|
__name: "Timeline",
|
|
3289
3309
|
setup(e) {
|
|
3290
3310
|
let t = {
|
|
3291
3311
|
"catalogue.era.ad": "exhibition.era.ad",
|
|
3292
3312
|
"catalogue.era.bc": "exhibition.era.bc"
|
|
3293
|
-
}, n = ({ years: e, t: n }) =>
|
|
3313
|
+
}, n = ({ years: e, t: n }) => It(e.min, e.max, Ft(n, t)), r = k(() => ({
|
|
3294
3314
|
...S.value,
|
|
3295
3315
|
entrance: !0,
|
|
3296
3316
|
controls: S.value.controls.map((e) => e.options ? {
|
|
@@ -3306,40 +3326,40 @@ var Eo = {
|
|
|
3306
3326
|
end: e.end || a.at(-1)?.value
|
|
3307
3327
|
});
|
|
3308
3328
|
}
|
|
3309
|
-
return (e, t) => (L(), M("div",
|
|
3329
|
+
return (e, t) => (L(), M("div", Wc, [F(Ye, {
|
|
3310
3330
|
spec: r.value,
|
|
3311
3331
|
class: "mwnf-dxa-timeline__form"
|
|
3312
3332
|
}, {
|
|
3313
|
-
form: H((e) => [N("div",
|
|
3333
|
+
form: H((e) => [N("div", Gc, [
|
|
3314
3334
|
i.value && e.countries?.length ? (L(), M("select", {
|
|
3315
3335
|
key: 0,
|
|
3316
3336
|
class: "mwnf-dxa-timeline__country",
|
|
3317
3337
|
value: e.filters.country,
|
|
3318
3338
|
"aria-label": e.t("exhibition.timeline.selectCountry"),
|
|
3319
3339
|
onChange: (t) => e.filters.country = t.target.value
|
|
3320
|
-
}, [N("option",
|
|
3340
|
+
}, [N("option", qc, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
|
|
3321
3341
|
key: e.value,
|
|
3322
3342
|
value: e.value
|
|
3323
|
-
}, B(e.label), 9,
|
|
3324
|
-
N("div",
|
|
3343
|
+
}, B(e.label), 9, Jc))), 128))], 40, Kc)) : j("", !0),
|
|
3344
|
+
N("div", Yc, [N("select", {
|
|
3325
3345
|
value: e.filters.begin,
|
|
3326
3346
|
"aria-label": e.t("exhibition.collection.startDate"),
|
|
3327
3347
|
onChange: (t) => e.filters.begin = t.target.value
|
|
3328
|
-
}, [N("option",
|
|
3348
|
+
}, [N("option", Zc, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
|
|
3329
3349
|
key: e.value,
|
|
3330
3350
|
value: e.value
|
|
3331
|
-
}, B(e.label), 9,
|
|
3351
|
+
}, B(e.label), 9, Qc))), 128))], 40, Xc), N("select", {
|
|
3332
3352
|
value: e.filters.end,
|
|
3333
3353
|
"aria-label": e.t("exhibition.collection.endDate"),
|
|
3334
3354
|
onChange: (t) => e.filters.end = t.target.value
|
|
3335
|
-
}, [N("option",
|
|
3355
|
+
}, [N("option", el, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
|
|
3336
3356
|
key: e.value,
|
|
3337
3357
|
value: e.value
|
|
3338
|
-
}, B(e.label), 9,
|
|
3339
|
-
N("div",
|
|
3358
|
+
}, B(e.label), 9, tl))), 128))], 40, $c)]),
|
|
3359
|
+
N("div", nl, [N("button", {
|
|
3340
3360
|
type: "button",
|
|
3341
3361
|
onClick: (t) => a(e)
|
|
3342
|
-
}, B(e.t("core.action.go")), 9,
|
|
3362
|
+
}, B(e.t("core.action.go")), 9, rl)])
|
|
3343
3363
|
])]),
|
|
3344
3364
|
_: 1
|
|
3345
3365
|
}, 8, ["spec"]), F(V(W), {
|
|
@@ -3348,28 +3368,28 @@ var Eo = {
|
|
|
3348
3368
|
keypath: "exhibition.timeline.intro"
|
|
3349
3369
|
})]));
|
|
3350
3370
|
}
|
|
3351
|
-
},
|
|
3371
|
+
}, al = { class: "mwnf-picture-gallery" }, ol = {
|
|
3352
3372
|
key: 0,
|
|
3353
3373
|
class: "mwnf-picture-gallery__selected"
|
|
3354
|
-
},
|
|
3374
|
+
}, sl = { class: "mwnf-picture-gallery__image" }, cl = ["src", "alt"], ll = { class: "mwnf-picture-gallery__details" }, ul = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, dl = { key: 0 }, fl = ["innerHTML"], pl = {
|
|
3355
3375
|
key: 0,
|
|
3356
3376
|
class: "mwnf-picture-gallery__label"
|
|
3357
|
-
},
|
|
3377
|
+
}, ml = ["innerHTML"], hl = {
|
|
3358
3378
|
key: 0,
|
|
3359
3379
|
class: "mwnf-picture-gallery__detail"
|
|
3360
|
-
},
|
|
3380
|
+
}, gl = {
|
|
3361
3381
|
key: 2,
|
|
3362
3382
|
class: "mwnf-picture-gallery__unresolved"
|
|
3363
|
-
},
|
|
3383
|
+
}, _l = {
|
|
3364
3384
|
key: 1,
|
|
3365
3385
|
class: "mwnf-picture-gallery__empty"
|
|
3366
|
-
},
|
|
3386
|
+
}, vl = {
|
|
3367
3387
|
key: 2,
|
|
3368
3388
|
class: "mwnf-picture-gallery__strip"
|
|
3369
|
-
},
|
|
3389
|
+
}, yl = { class: "mwnf-picture-gallery__thumbs" }, bl = ["onClick"], xl = ["src", "alt"], Sl = { class: "mwnf-picture-gallery__thumb-text" }, Cl = { key: 0 }, wl = ["innerHTML"], Tl = { key: 1 }, El = {
|
|
3370
3390
|
key: 0,
|
|
3371
3391
|
class: "mwnf-picture-gallery__toggle"
|
|
3372
|
-
},
|
|
3392
|
+
}, Dl = {
|
|
3373
3393
|
__name: "PictureGallery",
|
|
3374
3394
|
props: {
|
|
3375
3395
|
pictures: {
|
|
@@ -3411,16 +3431,16 @@ var Eo = {
|
|
|
3411
3431
|
function u(e) {
|
|
3412
3432
|
i("update:selectedId", e.id);
|
|
3413
3433
|
}
|
|
3414
|
-
return (t, r) => (L(), M("div",
|
|
3434
|
+
return (t, r) => (L(), M("div", al, [o.value ? (L(), M("div", ol, [N("div", sl, [N("img", {
|
|
3415
3435
|
src: o.value.image,
|
|
3416
3436
|
alt: o.value.imageAlt ?? ""
|
|
3417
|
-
}, null, 8,
|
|
3418
|
-
N("div",
|
|
3437
|
+
}, null, 8, cl)]), N("div", ll, [
|
|
3438
|
+
N("div", ul, [o.value.imageCaption ? (L(), M("span", dl, B(o.value.imageCaption) + ", ", 1)) : j("", !0), N("span", { innerHTML: o.value.name }, null, 8, fl)]),
|
|
3419
3439
|
(L(!0), M(O, null, z(o.value.fields ?? [], (e, t) => (L(), M("div", {
|
|
3420
3440
|
key: t,
|
|
3421
3441
|
class: "mwnf-picture-gallery__detail"
|
|
3422
|
-
}, [e.label ? (L(), M("span",
|
|
3423
|
-
o.value.detail ? (L(), M("div",
|
|
3442
|
+
}, [e.label ? (L(), M("span", pl, B(e.label), 1)) : j("", !0), N("span", { innerHTML: e.value }, null, 8, ml)]))), 128)),
|
|
3443
|
+
o.value.detail ? (L(), M("div", hl, B(o.value.detail), 1)) : j("", !0),
|
|
3424
3444
|
o.value.to ? (L(), A(n, {
|
|
3425
3445
|
key: 1,
|
|
3426
3446
|
class: "mwnf-picture-gallery__link",
|
|
@@ -3428,8 +3448,8 @@ var Eo = {
|
|
|
3428
3448
|
}, {
|
|
3429
3449
|
default: H(() => [P(B(V(a)(e.seeItemEntry)) + " →", 1)]),
|
|
3430
3450
|
_: 1
|
|
3431
|
-
}, 8, ["to"])) : (L(), M("div",
|
|
3432
|
-
])])) : (L(), M("div",
|
|
3451
|
+
}, 8, ["to"])) : (L(), M("div", gl, B(V(a)(e.unresolvedEntry)), 1))
|
|
3452
|
+
])])) : (L(), M("div", _l, B(V(a)(e.emptyEntry)), 1)), e.pictures.length ? (L(), M("div", vl, [N("ul", yl, [(L(!0), M(O, null, z(l.value, (t) => (L(), M("li", {
|
|
3433
3453
|
key: t.id,
|
|
3434
3454
|
class: I(["mwnf-picture-gallery__thumb", {
|
|
3435
3455
|
"mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
|
|
@@ -3442,31 +3462,31 @@ var Eo = {
|
|
|
3442
3462
|
src: t.image,
|
|
3443
3463
|
alt: t.imageAlt ?? "",
|
|
3444
3464
|
loading: "lazy"
|
|
3445
|
-
}, null, 8,
|
|
3446
|
-
t.imageCaption ? (L(), M("span",
|
|
3465
|
+
}, null, 8, xl)], 8, bl), N("div", Sl, [
|
|
3466
|
+
t.imageCaption ? (L(), M("span", Cl, B(t.imageCaption) + ", ", 1)) : j("", !0),
|
|
3447
3467
|
N("span", {
|
|
3448
3468
|
class: "mwnf-picture-gallery__thumb-name",
|
|
3449
3469
|
innerHTML: t.name
|
|
3450
|
-
}, null, 8,
|
|
3451
|
-
t.detail ? (L(), M("span",
|
|
3452
|
-
])], 2))), 128))]), s.value ? (L(), M("label",
|
|
3470
|
+
}, null, 8, wl),
|
|
3471
|
+
t.detail ? (L(), M("span", Tl, ", " + B(t.detail), 1)) : j("", !0)
|
|
3472
|
+
])], 2))), 128))]), s.value ? (L(), M("label", El, [U(N("input", {
|
|
3453
3473
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
3454
3474
|
type: "checkbox"
|
|
3455
3475
|
}, null, 512), [[ht, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
|
|
3456
3476
|
}
|
|
3457
|
-
},
|
|
3477
|
+
}, Ol = {
|
|
3458
3478
|
key: 0,
|
|
3459
3479
|
class: "mwnf-picture-narrative"
|
|
3460
|
-
},
|
|
3480
|
+
}, kl = ["innerHTML"], Al = {
|
|
3461
3481
|
key: 1,
|
|
3462
3482
|
class: "mwnf-picture-narrative__related"
|
|
3463
|
-
},
|
|
3483
|
+
}, jl = { class: "mwnf-picture-narrative__heading" }, Ml = { class: "mwnf-picture-narrative__images" }, Nl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Pl = ["src", "alt"], Fl = { class: "mwnf-picture-narrative__thumb-text" }, Il = ["innerHTML"], Ll = { key: 0 }, Rl = ["onClick"], zl = ["src", "alt"], Bl = { class: "mwnf-picture-narrative__thumb-text" }, Vl = ["innerHTML"], Hl = { key: 0 }, Ul = {
|
|
3464
3484
|
key: 0,
|
|
3465
3485
|
class: "mwnf-picture-narrative__relation"
|
|
3466
|
-
},
|
|
3486
|
+
}, Wl = {
|
|
3467
3487
|
key: 2,
|
|
3468
3488
|
class: "mwnf-picture-narrative__related"
|
|
3469
|
-
},
|
|
3489
|
+
}, Gl = { class: "mwnf-picture-narrative__heading" }, Kl = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, ql = { class: "mwnf-picture-narrative__image" }, Jl = ["src", "alt"], Yl = { class: "mwnf-picture-narrative__thumb-text" }, Xl = ["innerHTML"], Zl = { key: 0 }, Ql = {
|
|
3470
3490
|
__name: "PictureNarrative",
|
|
3471
3491
|
props: {
|
|
3472
3492
|
picture: {
|
|
@@ -3488,20 +3508,20 @@ var Eo = {
|
|
|
3488
3508
|
},
|
|
3489
3509
|
emits: ["select"],
|
|
3490
3510
|
setup(e, { emit: t }) {
|
|
3491
|
-
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ?
|
|
3511
|
+
let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ? Dt(n.contextualDescription, { breaks: !0 }) : ""), o = k(() => n.picture?.related ?? []), s = k(() => n.picture?.backRelated?.[0] ?? null);
|
|
3492
3512
|
function c(e) {
|
|
3493
3513
|
r("select", e.id);
|
|
3494
3514
|
}
|
|
3495
|
-
return (t, n) => e.picture ? (L(), M("div",
|
|
3515
|
+
return (t, n) => e.picture ? (L(), M("div", Ol, [
|
|
3496
3516
|
a.value ? (L(), M("div", {
|
|
3497
3517
|
key: 0,
|
|
3498
3518
|
class: "mwnf-picture-narrative__text mwnf-sheet__block",
|
|
3499
3519
|
innerHTML: a.value
|
|
3500
|
-
}, null, 8,
|
|
3501
|
-
o.value.length ? (L(), M("div",
|
|
3520
|
+
}, null, 8, kl)) : j("", !0),
|
|
3521
|
+
o.value.length ? (L(), M("div", Al, [N("div", jl, B(V(i)(e.relatedHeadingEntry)), 1), N("div", Ml, [N("div", Nl, [N("img", {
|
|
3502
3522
|
src: e.picture.image,
|
|
3503
3523
|
alt: e.picture.imageAlt ?? ""
|
|
3504
|
-
}, null, 8,
|
|
3524
|
+
}, null, 8, Pl), N("div", Fl, [N("span", { innerHTML: e.picture.name }, null, 8, Il), e.picture.detail ? (L(), M("span", Ll, ", " + B(e.picture.detail), 1)) : j("", !0)])]), (L(!0), M(O, null, z(o.value, (e) => (L(), M("div", {
|
|
3505
3525
|
key: e.picture.id,
|
|
3506
3526
|
class: "mwnf-picture-narrative__image"
|
|
3507
3527
|
}, [
|
|
@@ -3511,22 +3531,22 @@ var Eo = {
|
|
|
3511
3531
|
}, [N("img", {
|
|
3512
3532
|
src: e.picture.image,
|
|
3513
3533
|
alt: e.picture.imageAlt ?? ""
|
|
3514
|
-
}, null, 8,
|
|
3515
|
-
N("div",
|
|
3516
|
-
e.text ? (L(), M("div",
|
|
3534
|
+
}, null, 8, zl)], 8, Rl),
|
|
3535
|
+
N("div", Bl, [N("span", { innerHTML: e.picture.name }, null, 8, Vl), e.picture.detail ? (L(), M("span", Hl, ", " + B(e.picture.detail), 1)) : j("", !0)]),
|
|
3536
|
+
e.text ? (L(), M("div", Ul, B(e.text), 1)) : j("", !0)
|
|
3517
3537
|
]))), 128))])])) : j("", !0),
|
|
3518
|
-
s.value ? (L(), M("div",
|
|
3519
|
-
N("div",
|
|
3520
|
-
N("p",
|
|
3521
|
-
N("div",
|
|
3538
|
+
s.value ? (L(), M("div", Wl, [
|
|
3539
|
+
N("div", Gl, B(V(i)(e.relatedHeadingEntry)), 1),
|
|
3540
|
+
N("p", Kl, B(s.value.reciprocalText || V(i)(e.reciprocalFallbackEntry)), 1),
|
|
3541
|
+
N("div", ql, [N("button", {
|
|
3522
3542
|
type: "button",
|
|
3523
3543
|
onClick: n[0] ||= (e) => c(s.value.picture)
|
|
3524
3544
|
}, [N("img", {
|
|
3525
3545
|
src: s.value.picture.image,
|
|
3526
3546
|
alt: s.value.picture.imageAlt ?? ""
|
|
3527
|
-
}, null, 8,
|
|
3547
|
+
}, null, 8, Jl)]), N("div", Yl, [N("span", { innerHTML: s.value.picture.name }, null, 8, Xl), s.value.picture.detail ? (L(), M("span", Zl, ", " + B(s.value.picture.detail), 1)) : j("", !0)])])
|
|
3528
3548
|
])) : j("", !0)
|
|
3529
3549
|
])) : j("", !0);
|
|
3530
3550
|
}
|
|
3531
3551
|
};
|
|
3532
|
-
export {
|
|
3552
|
+
export { Vs as ExhibitionAbout, Sa as ExhibitionCollectionResults, Va as ExhibitionCollectionSearch, Rs as ExhibitionHome, Ec as ExhibitionItemDetail, Xa as ExhibitionPartnerObjects, Ir as ExhibitionPartners, Hc as ExhibitionRelatedContent, Sr as ExhibitionSearchHowTo, ai as ExhibitionSearchResults, So as ExhibitionShell, it as ExhibitionTheme, wc as ExhibitionThemeGallery, ac as ExhibitionThemes, il as ExhibitionTimeline, Bi as ExhibitionTimelineGallery, Ni as ExhibitionTimelineResults, Uo as FeaturedPartners, Wt as GalleryAbout, Qn as GalleryCollectionResults, mr as GalleryCollectionSearch, Gt as GalleryCredits, _s as GalleryHome, ys as GalleryItemDetail, br as GalleryPartnerObjects, mn as GalleryPartners, Jt as GallerySearchHowTo, zn as GallerySearchResults, go as GalleryShell, Fs as GalleryTimeline, Un as GalleryTimelineGallery, Bn as GalleryTimelineResults, nt as ItemDetailView, Q as LegacyPages, Ht as PartnerDetail, Dl as PictureGallery, Ql as PictureNarrative, xo as PopupLogo, cs as SiblingGalleries, st as exhibitionAboutSpec, ko as exhibitionConfig, ye as exhibitionPartnerDetail, ot as exhibitionThemeSpec, Oo as galleryConfig, _e as galleryPartnerDetail, To as projectChips, fo as standardRoutes, at as themeNodeRoute };
|