@museumwnf/viewer-layout 3.4.0 → 3.5.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 +70 -2
- package/dist/{FeaturedRecord-BJ8LaWGP.js → FeaturedRecord-DJfyvfqt.js} +1 -1
- package/dist/GlossaryPopover-DcptyNWI.js +654 -0
- package/dist/{ItemDetailView-I__hm63H.js → ItemDetailView-COWC8GDg.js} +15 -14
- package/dist/{OnDisplayIn-Dv8i7uvH.js → OnDisplayIn-BfJoPonn.js} +38 -38
- package/dist/RecordView-C9rP8TyQ.js +263 -0
- package/dist/{Theme-B5J0XRe1.js → Theme-CZ-OVXao.js} +24 -24
- package/dist/TimelineEventList-gsoc-SBx.js +841 -0
- package/dist/TimelineResultsView-C2-TnM71.js +1386 -0
- package/dist/{content-p0tqKkcD.js → content-CtwBcSjU.js} +2 -2
- package/dist/content.js +6 -5
- package/dist/dxa.js +351 -349
- package/dist/index.js +6 -5
- package/dist/standalone.js +762 -0
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +5 -4
- package/package.json +4 -3
- package/src/tokens.reference.css +66 -0
- package/dist/TimelineEventList-COjkXEzS.js +0 -1487
- package/dist/TimelineResultsView-ChkBn27W.js +0 -1640
package/dist/dxa.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { a as e, i as t, n, r } from "./Theme-
|
|
1
|
+
import { a as e, i as t, n, r } from "./Theme-CZ-OVXao.js";
|
|
2
2
|
import { c as i, i as a, n as o, r as s, t as c } from "./chrome-DPuPeWzV.js";
|
|
3
|
-
import {
|
|
4
|
-
import { s as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { t as
|
|
10
|
-
import { n as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
3
|
+
import { c as l, d as u } from "./GlossaryPopover-DcptyNWI.js";
|
|
4
|
+
import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-gsoc-SBx.js";
|
|
5
|
+
import { s as g } from "./OnDisplayIn-BfJoPonn.js";
|
|
6
|
+
import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-C2-TnM71.js";
|
|
7
|
+
import { t as te } from "./RecordView-C9rP8TyQ.js";
|
|
8
|
+
import { t as ne } from "./SiteShell-4vV2jIzf.js";
|
|
9
|
+
import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as ke, w as Ae, x as je, y as Me } from "./data-DTbAYdr2.js";
|
|
10
|
+
import { A as Ne, C as Pe, D as Fe, E as Ie, F as Le, I as Re, L as ze, M as Be, N as Ve, O as He, P as Ue, R as We, S as Ge, T, _ as Ke, a as qe, b as Je, c as Ye, d as Xe, f as E, g as Ze, h as Qe, i as $e, j as et, k as tt, l as nt, m as rt, n as it, o as D, p as at, r as ot, s as st, t as ct, u as lt, v as O, w as k, x as A, y as ut } from "./data-CJlLA-Mf.js";
|
|
11
|
+
import { t as dt } from "./ItemDetailView-COWC8GDg.js";
|
|
12
|
+
import { n as ft, r as pt, t as mt } from "./themeSpecs-B885l456.js";
|
|
13
|
+
import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ht, createTextVNode as L, createVNode as R, normalizeClass as gt, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as z, ref as B, renderList as V, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as H, unref as U, vModelText as St, vShow as Ct, withCtx as W, withDirectives as G, withModifiers as wt } from "vue";
|
|
14
|
+
import { I18nText as K, NotFoundView as Tt, languageLabels as Et, loadEntities as q, mwnfLinks as J, offeredLanguages as Dt, renderInline as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as Y, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as X, yearBuckets as Z } from "@museumwnf/viewer-core";
|
|
13
15
|
import { RouterLink as Q, useRoute as Pt, useRouter as Ft } from "vue-router";
|
|
14
16
|
//#region src/dxa/PartnerDetail.vue
|
|
15
17
|
var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
@@ -29,14 +31,14 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
29
31
|
}
|
|
30
32
|
},
|
|
31
33
|
setup(e) {
|
|
32
|
-
let t = e, { t: n } =
|
|
33
|
-
return (t, i) => e.family.visible(e.id) ? (
|
|
34
|
+
let t = e, { t: n } = Y(), r = M(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
|
|
35
|
+
return (t, i) => e.family.visible(e.id) ? (z(), N(te, {
|
|
34
36
|
key: 0,
|
|
35
37
|
spec: e.family.spec,
|
|
36
38
|
id: e.id,
|
|
37
39
|
class: "mwnf-dxa-partner-profile"
|
|
38
40
|
}, {
|
|
39
|
-
header:
|
|
41
|
+
header: W(({ languages: e, language: t, select: n }) => [I("div", It, [R(l, {
|
|
40
42
|
languages: e,
|
|
41
43
|
language: t,
|
|
42
44
|
onSelect: n
|
|
@@ -44,22 +46,22 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
44
46
|
"languages",
|
|
45
47
|
"language",
|
|
46
48
|
"onSelect"
|
|
47
|
-
])]),
|
|
48
|
-
"before-sheet":
|
|
49
|
+
])]), R(g)]),
|
|
50
|
+
"before-sheet": W(({ record: t, text: i, dir: a }) => [R(p, {
|
|
49
51
|
variant: "full",
|
|
50
52
|
partner: e.family.view(t, i),
|
|
51
53
|
heading: 1,
|
|
52
54
|
"homepage-label": r.value.homepage ?? "partner.nav.homepage",
|
|
53
55
|
dir: a
|
|
54
56
|
}, {
|
|
55
|
-
actions:
|
|
57
|
+
actions: W(({ partner: e }) => [e.objectsRoute ? (z(), N(u, {
|
|
56
58
|
key: 0,
|
|
57
59
|
class: "mwnf-button",
|
|
58
60
|
to: e.objectsRoute
|
|
59
61
|
}, {
|
|
60
|
-
default:
|
|
62
|
+
default: W(() => [L(H(U(n)(r.value.objects ?? "partner.action.viewObjects")), 1)]),
|
|
61
63
|
_: 1
|
|
62
|
-
}, 8, ["to"])) :
|
|
64
|
+
}, 8, ["to"])) : P("", !0)]),
|
|
63
65
|
_: 1
|
|
64
66
|
}, 8, [
|
|
65
67
|
"partner",
|
|
@@ -67,7 +69,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
67
69
|
"dir"
|
|
68
70
|
])]),
|
|
69
71
|
_: 1
|
|
70
|
-
}, 8, ["spec", "id"])) : (
|
|
72
|
+
}, 8, ["spec", "id"])) : (z(), N(U(Tt), { key: 1 }));
|
|
71
73
|
}
|
|
72
74
|
}, Lt = {
|
|
73
75
|
__name: "About",
|
|
@@ -76,7 +78,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
76
78
|
body: "gallery.about.body",
|
|
77
79
|
back: !0
|
|
78
80
|
};
|
|
79
|
-
return (e, n) => (
|
|
81
|
+
return (e, n) => (z(), N(y, {
|
|
80
82
|
spec: t,
|
|
81
83
|
class: "mwnf-dxa-editorial"
|
|
82
84
|
}));
|
|
@@ -88,11 +90,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
88
90
|
required: !0
|
|
89
91
|
} },
|
|
90
92
|
setup(e) {
|
|
91
|
-
let t = e, n =
|
|
93
|
+
let t = e, n = M(() => ({
|
|
92
94
|
body: t.bodyKey,
|
|
93
95
|
back: !0
|
|
94
96
|
}));
|
|
95
|
-
return (e, t) => (
|
|
97
|
+
return (e, t) => (z(), N(y, {
|
|
96
98
|
spec: n.value,
|
|
97
99
|
class: "mwnf-dxa-editorial"
|
|
98
100
|
}, null, 8, ["spec"]));
|
|
@@ -107,7 +109,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
107
109
|
to: { name: "collection" }
|
|
108
110
|
}
|
|
109
111
|
};
|
|
110
|
-
return (e, n) => (
|
|
112
|
+
return (e, n) => (z(), N(y, {
|
|
111
113
|
spec: t,
|
|
112
114
|
class: "mwnf-dxa-editorial"
|
|
113
115
|
}));
|
|
@@ -116,13 +118,13 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
116
118
|
__name: "Partners",
|
|
117
119
|
setup(e) {
|
|
118
120
|
let t = {
|
|
119
|
-
...
|
|
120
|
-
objectsRoute:
|
|
121
|
+
...ue,
|
|
122
|
+
objectsRoute: Ae,
|
|
121
123
|
actions: !0,
|
|
122
124
|
emptyLabel: "gallery.partner.noObjectsInGallery"
|
|
123
125
|
};
|
|
124
|
-
return (e, n) => (
|
|
125
|
-
before:
|
|
126
|
+
return (e, n) => (z(), F("div", Bt, [R(_, { spec: t }, {
|
|
127
|
+
before: W(() => [R(g), R(U(K), {
|
|
126
128
|
id: "mwnf-dxa-partners-intro",
|
|
127
129
|
class: "mwnf-prose",
|
|
128
130
|
dir: "auto",
|
|
@@ -137,26 +139,26 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
137
139
|
}, Gt = { class: "mwnf-dxa-how-to" }, Kt = { class: "mwnf-dxa-no-results" }, qt = {
|
|
138
140
|
__name: "SearchResults",
|
|
139
141
|
setup(e) {
|
|
140
|
-
let t =
|
|
142
|
+
let t = Mt("items", {
|
|
141
143
|
grammar: "boolean",
|
|
142
|
-
haystack:
|
|
143
|
-
}), n =
|
|
144
|
-
|
|
144
|
+
haystack: he
|
|
145
|
+
}), n = B(!1);
|
|
146
|
+
fe().then(() => {
|
|
145
147
|
n.value = !0;
|
|
146
148
|
});
|
|
147
149
|
function r(e) {
|
|
148
150
|
return !e || e === "all-objects";
|
|
149
151
|
}
|
|
150
|
-
let i =
|
|
152
|
+
let i = B(""), a = M(() => ({
|
|
151
153
|
entity: "items",
|
|
152
154
|
keys: ["q"],
|
|
153
155
|
sort: !1,
|
|
154
156
|
narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
|
|
155
|
-
pageSize:
|
|
157
|
+
pageSize: ve,
|
|
156
158
|
variant: "grid",
|
|
157
159
|
recordRoute: "item",
|
|
158
160
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
159
|
-
record: (e, { t }) =>
|
|
161
|
+
record: (e, { t }) => le(e, t),
|
|
160
162
|
pagination: { jump: !0 },
|
|
161
163
|
summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
|
|
162
164
|
label: n("core.section.database"),
|
|
@@ -166,32 +168,32 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
166
168
|
value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
|
|
167
169
|
}]
|
|
168
170
|
}));
|
|
169
|
-
return (e, t) => (
|
|
171
|
+
return (e, t) => (z(), N(b, {
|
|
170
172
|
spec: a.value,
|
|
171
173
|
class: "mwnf-dxa-search-results"
|
|
172
174
|
}, {
|
|
173
|
-
before:
|
|
174
|
-
filters:
|
|
175
|
+
before: W(() => [R(g)]),
|
|
176
|
+
filters: W(({ apply: n }) => [I("form", {
|
|
175
177
|
class: "mwnf-dxa-refine-search",
|
|
176
|
-
onSubmit:
|
|
177
|
-
}, [
|
|
178
|
+
onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
|
|
179
|
+
}, [G(I("input", {
|
|
178
180
|
"onUpdate:modelValue": t[0] ||= (e) => i.value = e,
|
|
179
181
|
type: "text",
|
|
180
182
|
class: "mwnf-dxa-refine-search-input",
|
|
181
183
|
placeholder: e.$t("catalogue.search.keywordPlaceholder")
|
|
182
|
-
}, null, 8, Ut), [[
|
|
183
|
-
default:
|
|
184
|
+
}, null, 8, Ut), [[St, i.value]]), I("button", Wt, H(e.$t("catalogue.search.submit")), 1)], 40, Ht), I("p", Gt, [R(U(Q), { to: { name: "search-how-to" } }, {
|
|
185
|
+
default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
184
186
|
_: 1
|
|
185
187
|
})])]),
|
|
186
|
-
empty:
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
default:
|
|
188
|
+
empty: W(() => [I("p", Kt, [
|
|
189
|
+
L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
190
|
+
R(U(Q), { to: { name: "search-how-to" } }, {
|
|
191
|
+
default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
|
|
190
192
|
_: 1
|
|
191
193
|
}),
|
|
192
|
-
t[1] ||=
|
|
193
|
-
|
|
194
|
-
default:
|
|
194
|
+
t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
195
|
+
R(U(Q), { to: { name: "collection" } }, {
|
|
196
|
+
default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
|
|
195
197
|
_: 1
|
|
196
198
|
})
|
|
197
199
|
])]),
|
|
@@ -201,23 +203,23 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
201
203
|
}, Jt = {
|
|
202
204
|
__name: "TimelineResults",
|
|
203
205
|
setup(e) {
|
|
204
|
-
return (e, t) => (
|
|
205
|
-
spec:
|
|
206
|
+
return (e, t) => (z(), N(x, {
|
|
207
|
+
spec: U(re),
|
|
206
208
|
class: "mwnf-dxa-timeline-results"
|
|
207
209
|
}, {
|
|
208
|
-
before:
|
|
210
|
+
before: W(() => [R(g)]),
|
|
209
211
|
_: 1
|
|
210
212
|
}, 8, ["spec"]));
|
|
211
213
|
}
|
|
212
214
|
}, Yt = { class: "mwnf-dxa-back-to-events" }, Xt = {
|
|
213
215
|
__name: "TimelineGallery",
|
|
214
216
|
setup(e) {
|
|
215
|
-
return (e, t) => (
|
|
216
|
-
spec:
|
|
217
|
+
return (e, t) => (z(), N(b, {
|
|
218
|
+
spec: U(be),
|
|
217
219
|
class: "mwnf-dxa-timeline-gallery"
|
|
218
220
|
}, {
|
|
219
|
-
before:
|
|
220
|
-
actions:
|
|
221
|
+
before: W(() => [R(g)]),
|
|
222
|
+
actions: W(({ filters: t, pageInfo: n, goToPage: r }) => [I("p", Yt, [R(U(Q), { to: {
|
|
221
223
|
name: "timeline-results",
|
|
222
224
|
query: {
|
|
223
225
|
country: t.country,
|
|
@@ -225,9 +227,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
225
227
|
end: t.end
|
|
226
228
|
}
|
|
227
229
|
} }, {
|
|
228
|
-
default:
|
|
230
|
+
default: W(() => [L(" ➤ " + H(e.$t("timeline.nav.backToEvents")), 1)]),
|
|
229
231
|
_: 1
|
|
230
|
-
}, 8, ["to"])]),
|
|
232
|
+
}, 8, ["to"])]), R(h, {
|
|
231
233
|
class: "mwnf-dxa-pages",
|
|
232
234
|
"page-info": n,
|
|
233
235
|
jump: "",
|
|
@@ -242,39 +244,39 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
242
244
|
}, $t = { class: "mwnf-dxa-options-label" }, en = {
|
|
243
245
|
__name: "CollectionResults",
|
|
244
246
|
setup(e) {
|
|
245
|
-
let t = Ft(), { t: n } =
|
|
247
|
+
let t = Ft(), { t: n } = Y(), r = ce(), i = we.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
|
|
246
248
|
function o() {
|
|
247
249
|
t.push({ name: "collection" });
|
|
248
250
|
}
|
|
249
|
-
let s =
|
|
251
|
+
let s = M(() => new Set((ye.value ?? []).map((e) => e.country_id)));
|
|
250
252
|
function c(e) {
|
|
251
|
-
let t =
|
|
253
|
+
let t = De(e.country);
|
|
252
254
|
return !!(t && s.value.has(t));
|
|
253
255
|
}
|
|
254
|
-
return (e, t) => (
|
|
255
|
-
spec:
|
|
256
|
+
return (e, t) => (z(), N(b, {
|
|
257
|
+
spec: U(we),
|
|
256
258
|
class: "mwnf-dxa-collection-results"
|
|
257
259
|
}, {
|
|
258
|
-
before:
|
|
259
|
-
actions:
|
|
260
|
+
before: W(() => [R(g)]),
|
|
261
|
+
actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
|
|
260
262
|
class: "mwnf-dxa-pages",
|
|
261
263
|
"page-info": e,
|
|
262
264
|
jump: "",
|
|
263
265
|
onNavigate: t
|
|
264
266
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
265
|
-
empty:
|
|
267
|
+
empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
|
|
266
268
|
class: "mwnf-dxa-linkish",
|
|
267
269
|
onClick: t[0] ||= (e) => o()
|
|
268
|
-
},
|
|
269
|
-
aside:
|
|
270
|
+
}, H(e.$t("catalogue.results.resetFilters")), 1)]),
|
|
271
|
+
aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
|
|
270
272
|
mode: "immediate",
|
|
271
273
|
title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
|
|
272
274
|
"reset-label": e.$t("catalogue.results.resetFilters"),
|
|
273
275
|
disabled: l.length === 0,
|
|
274
276
|
onReset: t[1] ||= (e) => o()
|
|
275
277
|
}, {
|
|
276
|
-
default:
|
|
277
|
-
|
|
278
|
+
default: W(() => [
|
|
279
|
+
R(m, {
|
|
278
280
|
"model-value": i.country,
|
|
279
281
|
options: u.country,
|
|
280
282
|
placeholder: e.$t("catalogue.facet.selectCountry"),
|
|
@@ -285,11 +287,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
285
287
|
"placeholder",
|
|
286
288
|
"onUpdate:modelValue"
|
|
287
289
|
]),
|
|
288
|
-
(
|
|
290
|
+
(z(!0), F(j, null, V(U(Ce), (e) => (z(), N(m, {
|
|
289
291
|
key: e,
|
|
290
292
|
"model-value": i[e],
|
|
291
293
|
options: u[e],
|
|
292
|
-
placeholder:
|
|
294
|
+
placeholder: U(r)[e],
|
|
293
295
|
"hide-empty": "",
|
|
294
296
|
"onUpdate:modelValue": (t) => s({ [e]: t })
|
|
295
297
|
}, null, 8, [
|
|
@@ -298,9 +300,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
298
300
|
"placeholder",
|
|
299
301
|
"onUpdate:modelValue"
|
|
300
302
|
]))), 128)),
|
|
301
|
-
|
|
303
|
+
I("div", Zt, [R(m, {
|
|
302
304
|
"model-value": i.from,
|
|
303
|
-
options:
|
|
305
|
+
options: U(Z)(l, U(n)),
|
|
304
306
|
placeholder: e.$t("catalogue.facet.startDate"),
|
|
305
307
|
"onUpdate:modelValue": (e) => s({ from: e })
|
|
306
308
|
}, null, 8, [
|
|
@@ -308,9 +310,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
308
310
|
"options",
|
|
309
311
|
"placeholder",
|
|
310
312
|
"onUpdate:modelValue"
|
|
311
|
-
]),
|
|
313
|
+
]), R(m, {
|
|
312
314
|
"model-value": i.to,
|
|
313
|
-
options:
|
|
315
|
+
options: U(Z)(l, U(n)),
|
|
314
316
|
placeholder: e.$t("catalogue.facet.endDate"),
|
|
315
317
|
"onUpdate:modelValue": (e) => s({ to: e })
|
|
316
318
|
}, null, 8, [
|
|
@@ -325,7 +327,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
325
327
|
"title",
|
|
326
328
|
"reset-label",
|
|
327
329
|
"disabled"
|
|
328
|
-
]), c(i) ? (
|
|
330
|
+
]), c(i) ? (z(), F("div", Qt, [I("div", $t, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
|
|
329
331
|
name: "timeline-results",
|
|
330
332
|
query: {
|
|
331
333
|
country: i.country,
|
|
@@ -333,16 +335,16 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
333
335
|
end: i.to
|
|
334
336
|
}
|
|
335
337
|
} }, {
|
|
336
|
-
default:
|
|
338
|
+
default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(C)("countries", U(De)(i.country))), 1)]),
|
|
337
339
|
_: 2
|
|
338
|
-
}, 1032, ["to"])])])) :
|
|
340
|
+
}, 1032, ["to"])])])) : P("", !0)]),
|
|
339
341
|
_: 1
|
|
340
342
|
}, 8, ["spec"]));
|
|
341
343
|
}
|
|
342
344
|
}, tn = { class: "mwnf-dxa-collection-search" }, nn = { class: "mwnf-dxa-dropdown-label" }, rn = {
|
|
343
345
|
__name: "CollectionSearch",
|
|
344
346
|
setup(e) {
|
|
345
|
-
let t =
|
|
347
|
+
let t = jt(_e, Oe), n = M(() => Ce.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
|
|
346
348
|
mode: "facets",
|
|
347
349
|
target: "collection-results",
|
|
348
350
|
dates: "buckets",
|
|
@@ -352,14 +354,14 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
352
354
|
options: t.value.country
|
|
353
355
|
}, ...n.value.map((e) => ({
|
|
354
356
|
key: e,
|
|
355
|
-
label:
|
|
357
|
+
label: Ee[e],
|
|
356
358
|
options: t.value[e]
|
|
357
359
|
}))]
|
|
358
360
|
}));
|
|
359
|
-
return (e, t) => (
|
|
360
|
-
before:
|
|
361
|
+
return (e, t) => (z(), F("div", tn, [R(v, { spec: r.value }, {
|
|
362
|
+
before: W(() => [I("div", nn, H(e.$t("catalogue.facet.filterBy")), 1)]),
|
|
361
363
|
_: 1
|
|
362
|
-
}, 8, ["spec"]),
|
|
364
|
+
}, 8, ["spec"]), R(U(K), {
|
|
363
365
|
id: "mwnf-dxa-collection-search-description",
|
|
364
366
|
class: "mwnf-dxa-description mwnf-prose",
|
|
365
367
|
dir: "auto",
|
|
@@ -372,32 +374,32 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
372
374
|
}, on = { class: "mwnf-dxa-profile-link-container" }, sn = {
|
|
373
375
|
__name: "PartnerObjects",
|
|
374
376
|
setup(e) {
|
|
375
|
-
let t = Pt(), n =
|
|
376
|
-
...
|
|
377
|
+
let t = Pt(), n = M(() => Me.value.get(t.params.id) ?? null), r = M(() => ({
|
|
378
|
+
...ie,
|
|
377
379
|
scope: (e) => e.partner_id === t.params.id
|
|
378
|
-
})), i =
|
|
379
|
-
return (e, t) => n.value ? (
|
|
380
|
-
before:
|
|
380
|
+
})), i = M(() => n.value ? S.view(n.value, se("partners", n.value.id, me)) : null);
|
|
381
|
+
return (e, t) => n.value ? (z(), F("div", an, [R(b, { spec: r.value }, {
|
|
382
|
+
before: W(() => [R(g), R(p, {
|
|
381
383
|
class: "mwnf-dxa-partner-objects-header",
|
|
382
384
|
variant: "summary",
|
|
383
385
|
heading: 1,
|
|
384
386
|
partner: i.value
|
|
385
387
|
}, null, 8, ["partner"])]),
|
|
386
|
-
actions:
|
|
388
|
+
actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
|
|
387
389
|
class: "mwnf-dxa-pages",
|
|
388
390
|
"page-info": e,
|
|
389
391
|
jump: "",
|
|
390
392
|
onNavigate: t
|
|
391
393
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
392
|
-
after:
|
|
394
|
+
after: W(() => [I("div", on, [R(U(Q), {
|
|
393
395
|
class: "mwnf-dxa-profile-link",
|
|
394
|
-
to:
|
|
396
|
+
to: U(de)(n.value)
|
|
395
397
|
}, {
|
|
396
|
-
default:
|
|
398
|
+
default: W(() => [L("➤ " + H(e.$t("partner.action.partnerProfile")), 1)]),
|
|
397
399
|
_: 1
|
|
398
400
|
}, 8, ["to"])])]),
|
|
399
401
|
_: 1
|
|
400
|
-
}, 8, ["spec"])])) :
|
|
402
|
+
}, 8, ["spec"])])) : P("", !0);
|
|
401
403
|
}
|
|
402
404
|
}, cn = {
|
|
403
405
|
__name: "SearchHowTo",
|
|
@@ -409,7 +411,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
409
411
|
to: { name: "collection" }
|
|
410
412
|
}
|
|
411
413
|
};
|
|
412
|
-
return (e, n) => (
|
|
414
|
+
return (e, n) => (z(), N(y, {
|
|
413
415
|
spec: t,
|
|
414
416
|
class: "mwnf-dxa-editorial"
|
|
415
417
|
}));
|
|
@@ -418,13 +420,13 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
418
420
|
__name: "Partners",
|
|
419
421
|
setup(e) {
|
|
420
422
|
let t = {
|
|
421
|
-
...
|
|
422
|
-
objectsRoute:
|
|
423
|
+
...Ie,
|
|
424
|
+
objectsRoute: Fe,
|
|
423
425
|
actions: !0,
|
|
424
426
|
emptyLabel: "exhibition.partner.noObjectsInExhibition"
|
|
425
427
|
};
|
|
426
|
-
return (e, n) => (
|
|
427
|
-
before:
|
|
428
|
+
return (e, n) => (z(), F("div", ln, [R(_, { spec: t }, {
|
|
429
|
+
before: W(() => [I("div", un, [R(g)]), R(U(K), {
|
|
428
430
|
id: "mwnf-dxa-partners-intro",
|
|
429
431
|
class: "mwnf-prose",
|
|
430
432
|
dir: "auto",
|
|
@@ -439,20 +441,20 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
439
441
|
}, hn = { class: "mwnf-dxa-how-to" }, gn = { class: "mwnf-dxa-no-results" }, _n = {
|
|
440
442
|
__name: "SearchResults",
|
|
441
443
|
setup(e) {
|
|
442
|
-
let t =
|
|
444
|
+
let t = Mt("items", {
|
|
443
445
|
grammar: "boolean",
|
|
444
|
-
haystack:
|
|
445
|
-
}), n =
|
|
446
|
-
|
|
446
|
+
haystack: Ke
|
|
447
|
+
}), n = B(!1);
|
|
448
|
+
Ge().then(() => {
|
|
447
449
|
n.value = !0;
|
|
448
450
|
});
|
|
449
451
|
function r(e) {
|
|
450
452
|
return !e || e === "all-objects";
|
|
451
453
|
}
|
|
452
|
-
let i =
|
|
454
|
+
let i = B(""), a = M(() => ({
|
|
453
455
|
entity: "items",
|
|
454
456
|
keys: ["q"],
|
|
455
|
-
scope: (e) =>
|
|
457
|
+
scope: (e) => O.value.has(e.id),
|
|
456
458
|
sort: !1,
|
|
457
459
|
narrow: (e, i) => {
|
|
458
460
|
if (!n.value) return [];
|
|
@@ -460,46 +462,46 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
460
462
|
let a = new Set(e.map((e) => e.id));
|
|
461
463
|
return t.search(i.q).filter((e) => a.has(e.id));
|
|
462
464
|
},
|
|
463
|
-
pageSize:
|
|
465
|
+
pageSize: $e,
|
|
464
466
|
variant: "grid",
|
|
465
467
|
recordRoute: "item",
|
|
466
468
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
467
|
-
record: (e, { t }) =>
|
|
469
|
+
record: (e, { t }) => et(e, t),
|
|
468
470
|
pagination: { jump: !0 },
|
|
469
471
|
summary: ({ filters: e, pageInfo: t, t: n }) => [{
|
|
470
472
|
label: n("core.section.database"),
|
|
471
473
|
value: r(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
|
|
472
474
|
}, {
|
|
473
475
|
count: t.total,
|
|
474
|
-
value: `${n("catalogue.results.outOf")} ${
|
|
476
|
+
value: `${n("catalogue.results.outOf")} ${O.value.size} ${n("catalogue.results.objects")}`
|
|
475
477
|
}]
|
|
476
478
|
}));
|
|
477
|
-
return (e, t) => (
|
|
479
|
+
return (e, t) => (z(), N(b, {
|
|
478
480
|
spec: a.value,
|
|
479
481
|
class: "mwnf-dxa-search-results"
|
|
480
482
|
}, {
|
|
481
|
-
before:
|
|
482
|
-
filters:
|
|
483
|
+
before: W(() => [R(g)]),
|
|
484
|
+
filters: W(({ apply: n }) => [I("form", {
|
|
483
485
|
class: "mwnf-dxa-refine-search",
|
|
484
|
-
onSubmit:
|
|
485
|
-
}, [
|
|
486
|
+
onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
|
|
487
|
+
}, [G(I("input", {
|
|
486
488
|
"onUpdate:modelValue": t[0] ||= (e) => i.value = e,
|
|
487
489
|
type: "text",
|
|
488
490
|
class: "mwnf-dxa-refine-search-input",
|
|
489
491
|
placeholder: e.$t("catalogue.search.keywordPlaceholder")
|
|
490
|
-
}, null, 8, pn), [[
|
|
491
|
-
default:
|
|
492
|
+
}, null, 8, pn), [[St, i.value]]), I("button", mn, H(e.$t("catalogue.search.submit")), 1)], 40, fn), I("p", hn, [R(U(Q), { to: { name: "search-how-to" } }, {
|
|
493
|
+
default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
492
494
|
_: 1
|
|
493
495
|
})])]),
|
|
494
|
-
empty:
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
default:
|
|
496
|
+
empty: W(() => [I("p", gn, [
|
|
497
|
+
L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
498
|
+
R(U(Q), { to: { name: "search-how-to" } }, {
|
|
499
|
+
default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
|
|
498
500
|
_: 1
|
|
499
501
|
}),
|
|
500
|
-
t[1] ||=
|
|
501
|
-
|
|
502
|
-
default:
|
|
502
|
+
t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
503
|
+
R(U(Q), { to: { name: "collection" } }, {
|
|
504
|
+
default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
|
|
503
505
|
_: 1
|
|
504
506
|
})
|
|
505
507
|
])]),
|
|
@@ -509,22 +511,22 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
509
511
|
}, vn = {
|
|
510
512
|
__name: "TimelineResults",
|
|
511
513
|
setup(e) {
|
|
512
|
-
return (e, t) => (
|
|
513
|
-
spec:
|
|
514
|
+
return (e, t) => (z(), N(x, {
|
|
515
|
+
spec: U(Ve),
|
|
514
516
|
class: "mwnf-dxa-timeline-results"
|
|
515
517
|
}, {
|
|
516
|
-
before:
|
|
518
|
+
before: W(() => [R(g)]),
|
|
517
519
|
_: 1
|
|
518
520
|
}, 8, ["spec"]));
|
|
519
521
|
}
|
|
520
522
|
}, yn = {
|
|
521
523
|
__name: "TimelineGallery",
|
|
522
524
|
setup(e) {
|
|
523
|
-
return (e, t) => (
|
|
524
|
-
spec:
|
|
525
|
+
return (e, t) => (z(), N(b, {
|
|
526
|
+
spec: U(Be),
|
|
525
527
|
class: "mwnf-dxa-timeline-gallery"
|
|
526
528
|
}, {
|
|
527
|
-
before:
|
|
529
|
+
before: W(() => [R(g)]),
|
|
528
530
|
_: 1
|
|
529
531
|
}, 8, ["spec"]));
|
|
530
532
|
}
|
|
@@ -534,40 +536,40 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
534
536
|
}, Sn = { class: "mwnf-dxa-options-label" }, Cn = {
|
|
535
537
|
__name: "CollectionResults",
|
|
536
538
|
setup(e) {
|
|
537
|
-
let t = Ft(), { t: n } =
|
|
539
|
+
let t = Ft(), { t: n } = Y(), r = Re(), i = st.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
|
|
538
540
|
function o() {
|
|
539
541
|
t.push({ name: "collection" });
|
|
540
542
|
}
|
|
541
|
-
let s =
|
|
543
|
+
let s = M(() => new Set((Ue.value ?? []).map((e) => e.country_id)));
|
|
542
544
|
function c(e) {
|
|
543
|
-
if (!
|
|
544
|
-
let t =
|
|
545
|
+
if (!Ze.value) return !1;
|
|
546
|
+
let t = nt(e.country);
|
|
545
547
|
return !!(t && s.value.has(t));
|
|
546
548
|
}
|
|
547
|
-
return (e, t) => (
|
|
548
|
-
spec:
|
|
549
|
+
return (e, t) => (z(), N(b, {
|
|
550
|
+
spec: U(st),
|
|
549
551
|
class: "mwnf-dxa-collection-results"
|
|
550
552
|
}, {
|
|
551
|
-
before:
|
|
552
|
-
actions:
|
|
553
|
+
before: W(() => [R(g)]),
|
|
554
|
+
actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
|
|
553
555
|
class: "mwnf-dxa-pages",
|
|
554
556
|
"page-info": e,
|
|
555
557
|
jump: "",
|
|
556
558
|
onNavigate: t
|
|
557
559
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
558
|
-
empty:
|
|
560
|
+
empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
|
|
559
561
|
class: "mwnf-dxa-linkish",
|
|
560
562
|
onClick: t[0] ||= (e) => o()
|
|
561
|
-
},
|
|
562
|
-
aside:
|
|
563
|
+
}, H(e.$t("catalogue.results.resetFilters")), 1)]),
|
|
564
|
+
aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
|
|
563
565
|
mode: "immediate",
|
|
564
566
|
title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
|
|
565
567
|
"reset-label": e.$t("catalogue.results.resetFilters"),
|
|
566
568
|
disabled: l.length === 0,
|
|
567
569
|
onReset: t[1] ||= (e) => o()
|
|
568
570
|
}, {
|
|
569
|
-
default:
|
|
570
|
-
|
|
571
|
+
default: W(() => [
|
|
572
|
+
R(m, {
|
|
571
573
|
"model-value": i.country,
|
|
572
574
|
options: u.country,
|
|
573
575
|
placeholder: e.$t("catalogue.facet.selectCountry"),
|
|
@@ -578,11 +580,11 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
578
580
|
"placeholder",
|
|
579
581
|
"onUpdate:modelValue"
|
|
580
582
|
]),
|
|
581
|
-
(
|
|
583
|
+
(z(!0), F(j, null, V(U(it), (e) => (z(), N(m, {
|
|
582
584
|
key: e,
|
|
583
585
|
"model-value": i[e],
|
|
584
586
|
options: u[e],
|
|
585
|
-
placeholder:
|
|
587
|
+
placeholder: U(r)[e],
|
|
586
588
|
"hide-empty": "",
|
|
587
589
|
"onUpdate:modelValue": (t) => s({ [e]: t })
|
|
588
590
|
}, null, 8, [
|
|
@@ -591,9 +593,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
591
593
|
"placeholder",
|
|
592
594
|
"onUpdate:modelValue"
|
|
593
595
|
]))), 128)),
|
|
594
|
-
|
|
596
|
+
I("div", bn, [R(m, {
|
|
595
597
|
"model-value": i.from,
|
|
596
|
-
options:
|
|
598
|
+
options: U(Z)(l, U(n)),
|
|
597
599
|
placeholder: e.$t("catalogue.facet.startDate"),
|
|
598
600
|
"onUpdate:modelValue": (e) => s({ from: e })
|
|
599
601
|
}, null, 8, [
|
|
@@ -601,9 +603,9 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
601
603
|
"options",
|
|
602
604
|
"placeholder",
|
|
603
605
|
"onUpdate:modelValue"
|
|
604
|
-
]),
|
|
606
|
+
]), R(m, {
|
|
605
607
|
"model-value": i.to,
|
|
606
|
-
options:
|
|
608
|
+
options: U(Z)(l, U(n)),
|
|
607
609
|
placeholder: e.$t("catalogue.facet.endDate"),
|
|
608
610
|
"onUpdate:modelValue": (e) => s({ to: e })
|
|
609
611
|
}, null, 8, [
|
|
@@ -618,24 +620,24 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
618
620
|
"title",
|
|
619
621
|
"reset-label",
|
|
620
622
|
"disabled"
|
|
621
|
-
]), c(i) ? (
|
|
623
|
+
]), c(i) ? (z(), F("div", xn, [I("div", Sn, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
|
|
622
624
|
name: "timeline-results",
|
|
623
625
|
query: {
|
|
624
|
-
country:
|
|
626
|
+
country: U(nt)(i.country),
|
|
625
627
|
begin: i.from,
|
|
626
628
|
end: i.to
|
|
627
629
|
}
|
|
628
630
|
} }, {
|
|
629
|
-
default:
|
|
631
|
+
default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(A)("countries", U(nt)(i.country))), 1)]),
|
|
630
632
|
_: 2
|
|
631
|
-
}, 1032, ["to"])])])) :
|
|
633
|
+
}, 1032, ["to"])])])) : P("", !0)]),
|
|
632
634
|
_: 1
|
|
633
635
|
}, 8, ["spec"]));
|
|
634
636
|
}
|
|
635
637
|
}, wn = { class: "mwnf-dxa-collection-search" }, Tn = {
|
|
636
638
|
__name: "CollectionSearch",
|
|
637
639
|
setup(e) {
|
|
638
|
-
let t =
|
|
640
|
+
let t = jt(Je, ct), n = M(() => it.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
|
|
639
641
|
mode: "facets",
|
|
640
642
|
target: "collection-results",
|
|
641
643
|
dates: "buckets",
|
|
@@ -646,12 +648,12 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
646
648
|
options: t.value.country
|
|
647
649
|
}, ...n.value.map((e) => ({
|
|
648
650
|
key: e,
|
|
649
|
-
label:
|
|
651
|
+
label: ot[e],
|
|
650
652
|
options: t.value[e]
|
|
651
653
|
}))]
|
|
652
654
|
}));
|
|
653
|
-
return (e, t) => (
|
|
654
|
-
intro:
|
|
655
|
+
return (e, t) => (z(), F("div", wn, [R(v, { spec: r.value }, {
|
|
656
|
+
intro: W(() => [R(U(K), {
|
|
655
657
|
id: "mwnf-dxa-collection-search-description",
|
|
656
658
|
class: "mwnf-dxa-description mwnf-prose",
|
|
657
659
|
dir: "auto",
|
|
@@ -673,49 +675,49 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
673
675
|
}
|
|
674
676
|
},
|
|
675
677
|
setup(e) {
|
|
676
|
-
let t = e, n =
|
|
678
|
+
let t = e, n = M(() => t.variant === "institution"), r = Pt(), i = M(() => ze(r.params.id)), a = M(() => i.value ? T.view(i.value, Le("partners", i.value.id, Xe)) : null), o = M(() => ({
|
|
677
679
|
entity: "items",
|
|
678
680
|
scope: (e) => e.partner_id === i.value?.id,
|
|
679
681
|
sort: { undated: "first" },
|
|
680
|
-
pageSize:
|
|
682
|
+
pageSize: $e,
|
|
681
683
|
variant: "grid",
|
|
682
684
|
recordRoute: "item",
|
|
683
685
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
684
686
|
empty: n.value ? t.texts.emptyInstitution : t.texts.emptyPartner,
|
|
685
|
-
record: (e, { t }) =>
|
|
687
|
+
record: (e, { t }) => et(e, t),
|
|
686
688
|
summary: ({ pageInfo: e, t: r }) => [{
|
|
687
689
|
count: e.total,
|
|
688
690
|
value: r(n.value ? t.texts.institutionSummary : "partner.item.objectsInSite")
|
|
689
691
|
}]
|
|
690
692
|
}));
|
|
691
|
-
return (e, r) => i.value ? (
|
|
693
|
+
return (e, r) => i.value ? (z(), N(b, {
|
|
692
694
|
key: 0,
|
|
693
695
|
spec: o.value,
|
|
694
696
|
class: "mwnf-dxa-partner-objects"
|
|
695
697
|
}, {
|
|
696
|
-
before:
|
|
698
|
+
before: W(() => [R(g), R(p, {
|
|
697
699
|
class: "mwnf-dxa-partner-objects-header",
|
|
698
700
|
variant: "summary",
|
|
699
701
|
heading: 1,
|
|
700
702
|
partner: a.value
|
|
701
703
|
}, null, 8, ["partner"])]),
|
|
702
|
-
actions:
|
|
704
|
+
actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
|
|
703
705
|
class: "mwnf-dxa-pages",
|
|
704
706
|
"page-info": e,
|
|
705
707
|
jump: "",
|
|
706
708
|
onNavigate: t
|
|
707
709
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
708
|
-
after:
|
|
710
|
+
after: W(() => [I("div", En, [R(U(Q), {
|
|
709
711
|
class: "mwnf-dxa-profile-link",
|
|
710
|
-
to:
|
|
712
|
+
to: U(He)(i.value)
|
|
711
713
|
}, {
|
|
712
|
-
default:
|
|
714
|
+
default: W(() => [L(" ➤ " + H(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
|
|
713
715
|
_: 1
|
|
714
716
|
}, 8, ["to"])])]),
|
|
715
717
|
_: 1
|
|
716
|
-
}, 8, ["spec"])) :
|
|
718
|
+
}, 8, ["spec"])) : P("", !0);
|
|
717
719
|
}
|
|
718
|
-
}, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-
|
|
720
|
+
}, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-CZ-OVXao.js").then((e) => e.t), Fn = () => Promise.resolve().then(() => oi), In = () => Promise.resolve().then(() => ui), Ln = () => Promise.resolve().then(() => pi), Rn = () => Promise.resolve().then(() => hi), zn = {
|
|
719
721
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
720
722
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
721
723
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
@@ -723,7 +725,7 @@ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
|
|
|
723
725
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
724
726
|
};
|
|
725
727
|
function Bn(e) {
|
|
726
|
-
let t =
|
|
728
|
+
let t = kt([
|
|
727
729
|
"gallery",
|
|
728
730
|
"items",
|
|
729
731
|
"partners",
|
|
@@ -775,7 +777,7 @@ function Bn(e) {
|
|
|
775
777
|
component: $,
|
|
776
778
|
props: (e) => ({
|
|
777
779
|
id: String(e.params.id),
|
|
778
|
-
family:
|
|
780
|
+
family: S
|
|
779
781
|
}),
|
|
780
782
|
meta: t("partners", "languages")
|
|
781
783
|
},
|
|
@@ -825,7 +827,7 @@ function Bn(e) {
|
|
|
825
827
|
];
|
|
826
828
|
}
|
|
827
829
|
function Vn(e) {
|
|
828
|
-
let t =
|
|
830
|
+
let t = kt([
|
|
829
831
|
"exhibition",
|
|
830
832
|
"items",
|
|
831
833
|
"partners",
|
|
@@ -888,7 +890,7 @@ function Vn(e) {
|
|
|
888
890
|
...e.creditsBody ? [{
|
|
889
891
|
path: "/credits",
|
|
890
892
|
name: "credits",
|
|
891
|
-
component:
|
|
893
|
+
component: y,
|
|
892
894
|
props: { spec: {
|
|
893
895
|
body: e.creditsBody,
|
|
894
896
|
back: !0
|
|
@@ -920,7 +922,7 @@ function Vn(e) {
|
|
|
920
922
|
component: $,
|
|
921
923
|
props: (e) => ({
|
|
922
924
|
id: String(e.params.id),
|
|
923
|
-
family:
|
|
925
|
+
family: T
|
|
924
926
|
}),
|
|
925
927
|
meta: t("partners", "languages")
|
|
926
928
|
},
|
|
@@ -937,7 +939,7 @@ function Vn(e) {
|
|
|
937
939
|
component: $,
|
|
938
940
|
props: (e) => ({
|
|
939
941
|
id: String(e.params.id),
|
|
940
|
-
family:
|
|
942
|
+
family: T,
|
|
941
943
|
variant: "institution"
|
|
942
944
|
}),
|
|
943
945
|
meta: t("partners", "languages")
|
|
@@ -1030,56 +1032,56 @@ var Kn = {
|
|
|
1030
1032
|
},
|
|
1031
1033
|
emits: ["update:language"],
|
|
1032
1034
|
setup(e, { emit: t }) {
|
|
1033
|
-
let n = e, r = t, { t: i, locale: a } =
|
|
1035
|
+
let n = e, r = t, { t: i, locale: a } = Y(), o = X(), c = M(() => o.links ?? {}), l = M(() => o.galleryShell ?? {}), u = Nt(), d = M(() => u.value === "home"), f = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1034
1036
|
function p(e) {
|
|
1035
1037
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1036
1038
|
}
|
|
1037
|
-
let m =
|
|
1038
|
-
let e =
|
|
1039
|
-
return p(e?.name) || p(
|
|
1039
|
+
let m = M(() => {
|
|
1040
|
+
let e = ke.projects?.[ke.gallery?.project_id ?? w.value?.project_id];
|
|
1041
|
+
return p(e?.name) || p(ke.site?.names) || p(w.value?.names);
|
|
1040
1042
|
});
|
|
1041
1043
|
function h(e, t) {
|
|
1042
1044
|
if (!(e in l.value)) return t();
|
|
1043
1045
|
let n = l.value[e];
|
|
1044
1046
|
return n ? i(n) : "";
|
|
1045
1047
|
}
|
|
1046
|
-
let g =
|
|
1048
|
+
let g = M(() => d.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), ee = M(() => d.value ? "" : h("headerTitle", () => m.value)), _ = M(() => l.value.bannerImage ? s(o.chrome, l.value.bannerImage) : pe(w.value?.banner_image_path, "hi_res")), v = M(() => {
|
|
1047
1049
|
if (l.value.bannerCaption) return l.value.bannerCaption;
|
|
1048
|
-
let e =
|
|
1050
|
+
let e = ge.value.get(w.value?.banner_item_id);
|
|
1049
1051
|
if (!e) return "";
|
|
1050
|
-
let t =
|
|
1052
|
+
let t = se("items", e.id, me);
|
|
1051
1053
|
return {
|
|
1052
|
-
name:
|
|
1053
|
-
partner:
|
|
1054
|
+
name: C("items", e.id),
|
|
1055
|
+
partner: C("partners", e.partner_id),
|
|
1054
1056
|
location: t.location ?? "",
|
|
1055
|
-
country:
|
|
1057
|
+
country: C("countries", e.country_id)
|
|
1056
1058
|
};
|
|
1057
|
-
}),
|
|
1059
|
+
}), y = M(() => d.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), b = M(() => d.value ? h("bannerTitle", () => m.value) : void 0), x = M(() => l.value.notice === !1 ? null : {
|
|
1058
1060
|
title: i("gallery.notice.tip"),
|
|
1059
1061
|
text: i("gallery.notice.databaseReplaced")
|
|
1060
|
-
}),
|
|
1061
|
-
return (e, t) => (
|
|
1062
|
-
class:
|
|
1062
|
+
}), te = M(() => !!s(o.chrome, o.brand?.logo));
|
|
1063
|
+
return (e, t) => (z(), N(ne, {
|
|
1064
|
+
class: gt(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": d.value }]),
|
|
1063
1065
|
languages: n.languages,
|
|
1064
1066
|
language: n.language,
|
|
1065
1067
|
"language-placement": "none",
|
|
1066
1068
|
"header-home": c.value.portal,
|
|
1067
1069
|
"header-eyebrow": g.value,
|
|
1068
|
-
"header-title":
|
|
1070
|
+
"header-title": ee.value,
|
|
1069
1071
|
"header-title-href": "#/",
|
|
1070
|
-
"banner-image":
|
|
1071
|
-
"banner-caption":
|
|
1072
|
-
"banner-eyebrow":
|
|
1073
|
-
"banner-title":
|
|
1074
|
-
notice:
|
|
1075
|
-
"footer-text": `${
|
|
1072
|
+
"banner-image": _.value,
|
|
1073
|
+
"banner-caption": v.value,
|
|
1074
|
+
"banner-eyebrow": y.value,
|
|
1075
|
+
"banner-title": b.value,
|
|
1076
|
+
notice: x.value,
|
|
1077
|
+
"footer-text": `${U(i)("core.footer.copyright")} 2004–${U(f)}`,
|
|
1076
1078
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1077
|
-
},
|
|
1078
|
-
default:
|
|
1079
|
+
}, ht({
|
|
1080
|
+
default: W(() => [bt(e.$slots, "default")]),
|
|
1079
1081
|
_: 2
|
|
1080
|
-
}, [
|
|
1082
|
+
}, [te.value ? void 0 : {
|
|
1081
1083
|
name: "brand",
|
|
1082
|
-
fn:
|
|
1084
|
+
fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1083
1085
|
key: "0"
|
|
1084
1086
|
}]), 1032, [
|
|
1085
1087
|
"class",
|
|
@@ -1120,20 +1122,20 @@ var Kn = {
|
|
|
1120
1122
|
}
|
|
1121
1123
|
},
|
|
1122
1124
|
setup(e) {
|
|
1123
|
-
let t = e, n =
|
|
1124
|
-
return (t, a) => i.value ? (
|
|
1125
|
+
let t = e, n = B(!1), r = M(() => t.rawHtml ? t.content : Ot(t.content)), i = M(() => t.enabled && !!t.content && !n.value);
|
|
1126
|
+
return (t, a) => i.value ? (z(), F("div", qn, [I("button", {
|
|
1125
1127
|
class: "mwnf-popup-logo__close",
|
|
1126
1128
|
"aria-label": t.$t(e.closeLabel),
|
|
1127
1129
|
onClick: a[0] ||= (e) => n.value = !0
|
|
1128
|
-
}, "✕", 8, Jn), e.rawHtml ? (
|
|
1130
|
+
}, "✕", 8, Jn), e.rawHtml ? (z(), F("div", {
|
|
1129
1131
|
key: 0,
|
|
1130
1132
|
class: "mwnf-popup-logo__content",
|
|
1131
1133
|
innerHTML: r.value
|
|
1132
|
-
}, null, 8, Yn)) : (
|
|
1134
|
+
}, null, 8, Yn)) : (z(), F("div", {
|
|
1133
1135
|
key: 1,
|
|
1134
1136
|
class: "mwnf-popup-logo__content",
|
|
1135
1137
|
innerHTML: r.value
|
|
1136
|
-
}, null, 8, Xn))])) :
|
|
1138
|
+
}, null, 8, Xn))])) : P("", !0);
|
|
1137
1139
|
}
|
|
1138
1140
|
}, Qn = {
|
|
1139
1141
|
__name: "Shell",
|
|
@@ -1149,19 +1151,19 @@ var Kn = {
|
|
|
1149
1151
|
},
|
|
1150
1152
|
emits: ["update:language"],
|
|
1151
1153
|
setup(e, { emit: t }) {
|
|
1152
|
-
let n = e, r = t, { t: i, locale: c } =
|
|
1153
|
-
let e = h.value ? "" :
|
|
1154
|
+
let n = e, r = t, { t: i, locale: c } = Y(), l = X(), u = M(() => l.links ?? {}), d = M(() => !!s(l.chrome, l.brand?.logo)), f = Nt(), p = M(() => f.value === "home"), m = (/* @__PURE__ */ new Date()).getFullYear(), h = M(() => p.value ? E.value?.homepage_image_path : null), g = M(() => h.value ? D(h.value, "hi_res") : D(E.value?.banner_image_path, "hi_res")), ee = M(() => {
|
|
1155
|
+
let e = h.value ? "" : qe(c.value);
|
|
1154
1156
|
if (e) return e;
|
|
1155
|
-
let t = h.value ?
|
|
1157
|
+
let t = h.value ? E.value?.homepage_item_id : E.value?.banner_item_id, n = O.value.get(t);
|
|
1156
1158
|
if (!n) return "";
|
|
1157
|
-
let r =
|
|
1159
|
+
let r = Le("items", n.id, Xe);
|
|
1158
1160
|
return {
|
|
1159
|
-
name:
|
|
1160
|
-
partner:
|
|
1161
|
+
name: A("items", n.id),
|
|
1162
|
+
partner: A("partners", n.partner_id),
|
|
1161
1163
|
location: r.location ?? "",
|
|
1162
|
-
country:
|
|
1164
|
+
country: A("countries", n.country_id)
|
|
1163
1165
|
};
|
|
1164
|
-
}),
|
|
1166
|
+
}), _ = M(() => [{
|
|
1165
1167
|
label: i("core.nav.about"),
|
|
1166
1168
|
description: i("exhibition.nav.introduction"),
|
|
1167
1169
|
href: "#/about"
|
|
@@ -1170,18 +1172,18 @@ var Kn = {
|
|
|
1170
1172
|
description: i("exhibition.nav.contentAtAGlance"),
|
|
1171
1173
|
href: "#/themes"
|
|
1172
1174
|
}]);
|
|
1173
|
-
function
|
|
1175
|
+
function v(e) {
|
|
1174
1176
|
return e.labels?.[c.value] ?? e.labels?.en ?? e.alt_text ?? "";
|
|
1175
1177
|
}
|
|
1176
|
-
let
|
|
1178
|
+
let y = M(() => {
|
|
1177
1179
|
let e = l.sponsorLogos;
|
|
1178
1180
|
return Array.isArray(e) ? e.map((e) => ({
|
|
1179
1181
|
...e,
|
|
1180
1182
|
image: s(l.chrome, e.image),
|
|
1181
1183
|
alt: e.alt ? i(e.alt) : ""
|
|
1182
|
-
})).filter((e) => e.image) : (
|
|
1183
|
-
image: e.legacy_path ?
|
|
1184
|
-
alt:
|
|
1184
|
+
})).filter((e) => e.image) : (E.value?.logos ?? []).map((e) => ({
|
|
1185
|
+
image: e.legacy_path ? D(e.legacy_path, "full") : null,
|
|
1186
|
+
alt: v(e),
|
|
1185
1187
|
href: e.url || void 0,
|
|
1186
1188
|
category_id: e.category_id,
|
|
1187
1189
|
category: e.category,
|
|
@@ -1189,54 +1191,54 @@ var Kn = {
|
|
|
1189
1191
|
display_order: e.display_order
|
|
1190
1192
|
})).filter((e) => e.image);
|
|
1191
1193
|
});
|
|
1192
|
-
function
|
|
1194
|
+
function b(e) {
|
|
1193
1195
|
let t = l.media?.legacyHost;
|
|
1194
1196
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
1195
1197
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
1196
1198
|
return o(l.chrome, n);
|
|
1197
1199
|
}
|
|
1198
|
-
let
|
|
1199
|
-
let e =
|
|
1200
|
+
let x = M(() => a(Pe(E.value?.popup_logos?.[c.value] ?? E.value?.popup_logos?.en ?? ""), b)), te = M(() => {
|
|
1201
|
+
let e = E.value?.popup_logo_show;
|
|
1200
1202
|
return e == null ? !1 : typeof e == "boolean" ? e : e[c.value] ?? e.en ?? !1;
|
|
1201
1203
|
});
|
|
1202
|
-
return (e, t) => (
|
|
1204
|
+
return (e, t) => (z(), N(ne, {
|
|
1203
1205
|
languages: n.languages,
|
|
1204
1206
|
language: n.language,
|
|
1205
1207
|
"language-placement": "header",
|
|
1206
1208
|
"language-style": "select",
|
|
1207
1209
|
"header-home": u.value.portal,
|
|
1208
|
-
"header-title":
|
|
1210
|
+
"header-title": U(i)("exhibition.identity.tagline"),
|
|
1209
1211
|
"header-title-href": "#/about",
|
|
1210
1212
|
"banner-image": g.value,
|
|
1211
|
-
"banner-caption":
|
|
1212
|
-
"banner-caption-label":
|
|
1213
|
-
"banner-title": p.value ?
|
|
1214
|
-
"banner-subtitle": p.value ?
|
|
1215
|
-
"banner-headline": p.value ?
|
|
1213
|
+
"banner-caption": ee.value,
|
|
1214
|
+
"banner-caption-label": U(i)("layout.banner.detailFrom"),
|
|
1215
|
+
"banner-title": p.value ? U(Qe)(U(c)) : "",
|
|
1216
|
+
"banner-subtitle": p.value ? U(rt)(U(c)) : "",
|
|
1217
|
+
"banner-headline": p.value ? U(at)(U(c)) : "",
|
|
1216
1218
|
"banner-enter": p.value ? {
|
|
1217
|
-
label:
|
|
1219
|
+
label: U(i)("exhibition.action.enter"),
|
|
1218
1220
|
href: "#/about"
|
|
1219
1221
|
} : null,
|
|
1220
|
-
"banner-strapline": p.value ?
|
|
1222
|
+
"banner-strapline": p.value ? U(i)("exhibition.identity.strapline") : "",
|
|
1221
1223
|
"hyperlinks-variant": "tiles",
|
|
1222
|
-
"hyperlinks-title":
|
|
1224
|
+
"hyperlinks-title": U(Qe)(U(c)),
|
|
1223
1225
|
"hyperlinks-title-href": "#/",
|
|
1224
|
-
"hyperlinks-subtitle":
|
|
1225
|
-
hyperlinks:
|
|
1226
|
-
"footer-text": `${
|
|
1227
|
-
logos:
|
|
1226
|
+
"hyperlinks-subtitle": U(rt)(U(c)),
|
|
1227
|
+
hyperlinks: _.value,
|
|
1228
|
+
"footer-text": `${U(i)("core.footer.copyright")} 2004–${U(m)}`,
|
|
1229
|
+
logos: y.value,
|
|
1228
1230
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1229
|
-
},
|
|
1230
|
-
notice:
|
|
1231
|
-
content:
|
|
1232
|
-
enabled:
|
|
1231
|
+
}, ht({
|
|
1232
|
+
notice: W(() => [R(Zn, {
|
|
1233
|
+
content: x.value,
|
|
1234
|
+
enabled: te.value,
|
|
1233
1235
|
"raw-html": ""
|
|
1234
1236
|
}, null, 8, ["content", "enabled"])]),
|
|
1235
|
-
default:
|
|
1237
|
+
default: W(() => [bt(e.$slots, "default")]),
|
|
1236
1238
|
_: 2
|
|
1237
1239
|
}, [d.value ? void 0 : {
|
|
1238
1240
|
name: "brand",
|
|
1239
|
-
fn:
|
|
1241
|
+
fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1240
1242
|
key: "0"
|
|
1241
1243
|
}]), 1032, [
|
|
1242
1244
|
"languages",
|
|
@@ -1269,7 +1271,7 @@ function $n({ country: e, start: t, end: n, page: r }) {
|
|
|
1269
1271
|
};
|
|
1270
1272
|
}
|
|
1271
1273
|
function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, chrome: s = {}, homeLogos: c = [] }) {
|
|
1272
|
-
let { manifest: l } =
|
|
1274
|
+
let { manifest: l } = At(), u = Dt();
|
|
1273
1275
|
return {
|
|
1274
1276
|
datasetPackage: e,
|
|
1275
1277
|
siteName: l.site?.names?.en ?? t,
|
|
@@ -1277,7 +1279,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1277
1279
|
languages: u,
|
|
1278
1280
|
shell: Kn,
|
|
1279
1281
|
navigation: {
|
|
1280
|
-
languages:
|
|
1282
|
+
languages: Et(u),
|
|
1281
1283
|
links: [
|
|
1282
1284
|
{
|
|
1283
1285
|
section: "about",
|
|
@@ -1306,7 +1308,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1306
1308
|
},
|
|
1307
1309
|
{
|
|
1308
1310
|
label: "core.nav.myCollection",
|
|
1309
|
-
href:
|
|
1311
|
+
href: J.myCollection,
|
|
1310
1312
|
external: !0
|
|
1311
1313
|
}
|
|
1312
1314
|
],
|
|
@@ -1315,33 +1317,33 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1315
1317
|
to: { name: "home" }
|
|
1316
1318
|
}, {
|
|
1317
1319
|
label: "gallery.nav.allGalleries",
|
|
1318
|
-
href: `${
|
|
1320
|
+
href: `${J.galleries}/list/1`,
|
|
1319
1321
|
external: !0
|
|
1320
1322
|
}],
|
|
1321
1323
|
footerLinks: [
|
|
1322
1324
|
{
|
|
1323
1325
|
label: "core.footer.aboutMwnf",
|
|
1324
|
-
href:
|
|
1326
|
+
href: J.about,
|
|
1325
1327
|
external: !0
|
|
1326
1328
|
},
|
|
1327
1329
|
{
|
|
1328
1330
|
label: "core.footer.contact",
|
|
1329
|
-
href:
|
|
1331
|
+
href: J.contact,
|
|
1330
1332
|
external: !0
|
|
1331
1333
|
},
|
|
1332
1334
|
{
|
|
1333
1335
|
label: "core.footer.legalNotice",
|
|
1334
|
-
href:
|
|
1336
|
+
href: J.legalNotice,
|
|
1335
1337
|
external: !0
|
|
1336
1338
|
},
|
|
1337
1339
|
{
|
|
1338
1340
|
label: "core.footer.credits",
|
|
1339
|
-
href:
|
|
1341
|
+
href: J.credits,
|
|
1340
1342
|
external: !0
|
|
1341
1343
|
},
|
|
1342
1344
|
{
|
|
1343
1345
|
label: "core.footer.cookies",
|
|
1344
|
-
href:
|
|
1346
|
+
href: J.cookies,
|
|
1345
1347
|
external: !0
|
|
1346
1348
|
}
|
|
1347
1349
|
],
|
|
@@ -1380,7 +1382,7 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1380
1382
|
},
|
|
1381
1383
|
homeLogos: c,
|
|
1382
1384
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
1383
|
-
links: { ...
|
|
1385
|
+
links: { ...J },
|
|
1384
1386
|
projectColors: r,
|
|
1385
1387
|
noticeProjects: a,
|
|
1386
1388
|
site: { origin: n },
|
|
@@ -1392,8 +1394,8 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1392
1394
|
{
|
|
1393
1395
|
path: "/database-item/:uid(.*)/:language",
|
|
1394
1396
|
async resolve({ uid: e }) {
|
|
1395
|
-
await
|
|
1396
|
-
let t =
|
|
1397
|
+
await q(["items"]);
|
|
1398
|
+
let t = Se(e);
|
|
1397
1399
|
return t ? {
|
|
1398
1400
|
name: "item",
|
|
1399
1401
|
params: { id: t.id }
|
|
@@ -1403,8 +1405,8 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1403
1405
|
{
|
|
1404
1406
|
path: "/partner/:country/:id/:language",
|
|
1405
1407
|
async resolve({ country: e, id: t }) {
|
|
1406
|
-
await
|
|
1407
|
-
let n =
|
|
1408
|
+
await q(["partners"]);
|
|
1409
|
+
let n = je(e, t);
|
|
1408
1410
|
return n ? {
|
|
1409
1411
|
name: "partner",
|
|
1410
1412
|
params: { id: n.id }
|
|
@@ -1414,8 +1416,8 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1414
1416
|
{
|
|
1415
1417
|
path: "/partner-objects/:country/:id/:page",
|
|
1416
1418
|
async resolve({ country: e, id: t, page: n }) {
|
|
1417
|
-
await
|
|
1418
|
-
let r =
|
|
1419
|
+
await q(["partners"]);
|
|
1420
|
+
let r = je(e, t);
|
|
1419
1421
|
return r ? {
|
|
1420
1422
|
name: "partner-objects",
|
|
1421
1423
|
params: { id: r.id },
|
|
@@ -1435,11 +1437,11 @@ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1435
1437
|
};
|
|
1436
1438
|
}
|
|
1437
1439
|
function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, partnerObjects: s, chrome: c = {}, sponsorLogos: l }) {
|
|
1438
|
-
let { manifest: u } =
|
|
1440
|
+
let { manifest: u } = At(), d = Dt(), f = async (e, t) => (await q([
|
|
1439
1441
|
"exhibition",
|
|
1440
1442
|
"partners",
|
|
1441
1443
|
"countries"
|
|
1442
|
-
]), Wn(
|
|
1444
|
+
]), Wn(We.value, Ye.value, e, t));
|
|
1443
1445
|
return {
|
|
1444
1446
|
datasetPackage: e,
|
|
1445
1447
|
siteName: u.site?.names?.en ?? t,
|
|
@@ -1476,7 +1478,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1476
1478
|
section: "timeline",
|
|
1477
1479
|
label: "core.nav.timeline",
|
|
1478
1480
|
to: { name: "timeline" },
|
|
1479
|
-
when: () =>
|
|
1481
|
+
when: () => Ze.value
|
|
1480
1482
|
},
|
|
1481
1483
|
{
|
|
1482
1484
|
section: "related",
|
|
@@ -1490,7 +1492,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1490
1492
|
},
|
|
1491
1493
|
{
|
|
1492
1494
|
label: "core.nav.myCollection",
|
|
1493
|
-
href:
|
|
1495
|
+
href: J.myCollection,
|
|
1494
1496
|
external: !0
|
|
1495
1497
|
}
|
|
1496
1498
|
],
|
|
@@ -1499,33 +1501,33 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1499
1501
|
to: { name: "home" }
|
|
1500
1502
|
}, {
|
|
1501
1503
|
label: "core.footer.aboutMwnf",
|
|
1502
|
-
href:
|
|
1504
|
+
href: J.about,
|
|
1503
1505
|
external: !0
|
|
1504
1506
|
}],
|
|
1505
1507
|
footerLinks: [
|
|
1506
1508
|
{
|
|
1507
1509
|
label: "core.footer.aboutMwnf",
|
|
1508
|
-
href:
|
|
1510
|
+
href: J.about,
|
|
1509
1511
|
external: !0
|
|
1510
1512
|
},
|
|
1511
1513
|
{
|
|
1512
1514
|
label: "core.footer.contact",
|
|
1513
|
-
href:
|
|
1515
|
+
href: J.contact,
|
|
1514
1516
|
external: !0
|
|
1515
1517
|
},
|
|
1516
1518
|
{
|
|
1517
1519
|
label: "core.footer.legalNotice",
|
|
1518
|
-
href:
|
|
1520
|
+
href: J.legalNotice,
|
|
1519
1521
|
external: !0
|
|
1520
1522
|
},
|
|
1521
1523
|
{
|
|
1522
1524
|
label: "core.footer.credits",
|
|
1523
|
-
href:
|
|
1525
|
+
href: J.credits,
|
|
1524
1526
|
external: !0
|
|
1525
1527
|
},
|
|
1526
1528
|
{
|
|
1527
1529
|
label: "core.footer.cookies",
|
|
1528
|
-
href:
|
|
1530
|
+
href: J.cookies,
|
|
1529
1531
|
external: !0
|
|
1530
1532
|
}
|
|
1531
1533
|
],
|
|
@@ -1577,7 +1579,7 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1577
1579
|
}
|
|
1578
1580
|
},
|
|
1579
1581
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
1580
|
-
links: { ...
|
|
1582
|
+
links: { ...J },
|
|
1581
1583
|
projectColors: r,
|
|
1582
1584
|
noticeProjects: a,
|
|
1583
1585
|
site: { origin: n },
|
|
@@ -1590,8 +1592,8 @@ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1590
1592
|
{
|
|
1591
1593
|
path: "/database-item/:uid(.*)/:language",
|
|
1592
1594
|
async resolve({ uid: e }) {
|
|
1593
|
-
await
|
|
1594
|
-
let t = Gn(
|
|
1595
|
+
await q(["items"]);
|
|
1596
|
+
let t = Gn(Je.value, e);
|
|
1595
1597
|
return t ? {
|
|
1596
1598
|
name: "item",
|
|
1597
1599
|
params: { id: t.id }
|
|
@@ -1700,7 +1702,7 @@ var nr = {
|
|
|
1700
1702
|
let n = e.lastIndexOf(" ", t);
|
|
1701
1703
|
return `${e.slice(0, n > 0 ? n : t)}...`;
|
|
1702
1704
|
}
|
|
1703
|
-
let i =
|
|
1705
|
+
let i = M(() => t.partners.length ? t.partners.map((e) => ({
|
|
1704
1706
|
id: e.id,
|
|
1705
1707
|
name: e.plainName,
|
|
1706
1708
|
logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
|
|
@@ -1709,7 +1711,7 @@ var nr = {
|
|
|
1709
1711
|
description: r(n(e.description), t.descriptionLength),
|
|
1710
1712
|
route: e.route,
|
|
1711
1713
|
objectsRoute: e.objectsRoute ?? null
|
|
1712
|
-
})) : t.records), a =
|
|
1714
|
+
})) : t.records), a = B(0), o = null;
|
|
1713
1715
|
function s(e) {
|
|
1714
1716
|
a.value = e, c();
|
|
1715
1717
|
}
|
|
@@ -1718,43 +1720,43 @@ var nr = {
|
|
|
1718
1720
|
a.value = (a.value + 1) % i.value.length;
|
|
1719
1721
|
}, mr));
|
|
1720
1722
|
}
|
|
1721
|
-
return
|
|
1722
|
-
|
|
1723
|
-
|
|
1723
|
+
return yt(c), vt(() => o && clearInterval(o)), (t, n) => i.value.length ? (z(), F("section", nr, [
|
|
1724
|
+
I("h2", rr, H(t.$t(e.headingEntry)), 1),
|
|
1725
|
+
I("div", ir, [(z(!0), F(j, null, V(i.value, (n, r) => G((z(), F("div", {
|
|
1724
1726
|
key: n.id,
|
|
1725
1727
|
class: "mwnf-featured-partners__card"
|
|
1726
|
-
}, [n.logo ? (
|
|
1728
|
+
}, [n.logo ? (z(), F("span", ar, [I("img", {
|
|
1727
1729
|
src: n.logo,
|
|
1728
1730
|
alt: n.name,
|
|
1729
1731
|
class: "mwnf-featured-partners__logo"
|
|
1730
|
-
}, null, 8, or)])) :
|
|
1731
|
-
|
|
1732
|
-
|
|
1733
|
-
|
|
1734
|
-
n.route ? (
|
|
1732
|
+
}, null, 8, or)])) : P("", !0), I("span", sr, [
|
|
1733
|
+
I("span", cr, H(n.name), 1),
|
|
1734
|
+
I("span", lr, [n.city ? (z(), F("span", ur, H(n.city) + ", ", 1)) : P("", !0), L(H(n.country), 1)]),
|
|
1735
|
+
I("span", dr, H(n.description), 1),
|
|
1736
|
+
n.route ? (z(), N(u, {
|
|
1735
1737
|
key: 0,
|
|
1736
1738
|
to: n.route,
|
|
1737
1739
|
class: "mwnf-featured-partners__more"
|
|
1738
1740
|
}, {
|
|
1739
|
-
default:
|
|
1741
|
+
default: W(() => [L(H(t.$t(e.readMoreEntry)) + " >>", 1)]),
|
|
1740
1742
|
_: 1
|
|
1741
|
-
}, 8, ["to"])) :
|
|
1742
|
-
n.objectsRoute ? (
|
|
1743
|
+
}, 8, ["to"])) : P("", !0),
|
|
1744
|
+
n.objectsRoute ? (z(), N(u, {
|
|
1743
1745
|
key: 1,
|
|
1744
1746
|
to: n.objectsRoute,
|
|
1745
1747
|
class: "mwnf-featured-partners__more"
|
|
1746
1748
|
}, {
|
|
1747
|
-
default:
|
|
1749
|
+
default: W(() => [L(H(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
1748
1750
|
_: 1
|
|
1749
|
-
}, 8, ["to"])) :
|
|
1750
|
-
])])), [[
|
|
1751
|
-
i.value.length > 1 ? (
|
|
1751
|
+
}, 8, ["to"])) : P("", !0)
|
|
1752
|
+
])])), [[Ct, r === a.value]])), 128))]),
|
|
1753
|
+
i.value.length > 1 ? (z(), F("div", fr, [(z(!0), F(j, null, V(i.value, (e, n) => (z(), F("button", {
|
|
1752
1754
|
key: e.id,
|
|
1753
|
-
class:
|
|
1755
|
+
class: gt(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
|
|
1754
1756
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
1755
1757
|
onClick: (e) => s(n)
|
|
1756
|
-
}, null, 10, pr))), 128))])) :
|
|
1757
|
-
])) :
|
|
1758
|
+
}, null, 10, pr))), 128))])) : P("", !0)
|
|
1759
|
+
])) : P("", !0);
|
|
1758
1760
|
}
|
|
1759
1761
|
}, gr = { class: "mwnf-sibling-galleries" }, _r = {
|
|
1760
1762
|
key: 0,
|
|
@@ -1803,36 +1805,36 @@ var nr = {
|
|
|
1803
1805
|
}
|
|
1804
1806
|
},
|
|
1805
1807
|
setup(e) {
|
|
1806
|
-
return (t, n) => (
|
|
1808
|
+
return (t, n) => (z(), F("section", gr, [e.galleries.length ? (z(), F("div", _r, [I("div", vr, [I("p", yr, H(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (z(), F("a", {
|
|
1807
1809
|
key: 0,
|
|
1808
1810
|
href: e.seeMoreGalleriesHref,
|
|
1809
1811
|
target: "_blank",
|
|
1810
1812
|
rel: "noopener",
|
|
1811
1813
|
class: "mwnf-sibling-galleries__see-more"
|
|
1812
|
-
},
|
|
1814
|
+
}, H(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, br)) : P("", !0)]), I("div", xr, [(z(!0), F(j, null, V(e.galleries, (e) => (z(), N(u, {
|
|
1813
1815
|
key: e.id,
|
|
1814
1816
|
to: e.route,
|
|
1815
|
-
class:
|
|
1817
|
+
class: gt(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
1816
1818
|
}, {
|
|
1817
|
-
default:
|
|
1819
|
+
default: W(() => [e.image ? (z(), F("span", Sr, [I("img", {
|
|
1818
1820
|
src: e.image,
|
|
1819
1821
|
alt: e.name
|
|
1820
|
-
}, null, 8, Cr)])) : (
|
|
1822
|
+
}, null, 8, Cr)])) : (z(), F("span", wr)), I("p", Tr, H(e.name), 1)]),
|
|
1821
1823
|
_: 2
|
|
1822
|
-
}, 1032, ["to", "class"]))), 128))])])) :
|
|
1824
|
+
}, 1032, ["to", "class"]))), 128))])])) : P("", !0), e.museums.length ? (z(), F("div", Er, [I("div", Dr, H(t.$t(e.museumsHeadingEntry)), 1), I("div", Or, [(z(!0), F(j, null, V(e.museums, (e) => (z(), F("a", {
|
|
1823
1825
|
key: e.name,
|
|
1824
1826
|
href: e.href || e.to,
|
|
1825
1827
|
target: "_blank",
|
|
1826
1828
|
rel: "noopener",
|
|
1827
1829
|
class: "mwnf-sibling-galleries__museum",
|
|
1828
|
-
style:
|
|
1830
|
+
style: _t({
|
|
1829
1831
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
1830
1832
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
1831
1833
|
})
|
|
1832
|
-
}, [e.image ? (
|
|
1834
|
+
}, [e.image ? (z(), F("div", Ar, [I("img", {
|
|
1833
1835
|
src: e.image,
|
|
1834
1836
|
alt: ""
|
|
1835
|
-
}, null, 8, jr)])) : (
|
|
1837
|
+
}, null, 8, jr)])) : (z(), F("div", Mr, H(e.name.split(" ").map((e) => e[0]).join("")), 1)), I("p", Nr, H(e.name), 1)], 12, kr))), 128))])])) : P("", !0)]));
|
|
1836
1838
|
}
|
|
1837
1839
|
}, Fr = /* @__PURE__ */ e({ default: () => Ur }), Ir = { class: "mwnf-dxa-home" }, Lr = {
|
|
1838
1840
|
key: 0,
|
|
@@ -1840,16 +1842,16 @@ var nr = {
|
|
|
1840
1842
|
}, Rr = { class: "mwnf-dxa-home-logos__label" }, zr = { class: "mwnf-dxa-home-logos__list" }, Br = ["src", "alt"], Vr = 8, Hr = 4, Ur = {
|
|
1841
1843
|
__name: "Home",
|
|
1842
1844
|
setup(e) {
|
|
1843
|
-
let { t, locale: n } =
|
|
1844
|
-
|
|
1845
|
-
s.value =
|
|
1845
|
+
let { t, locale: n } = Y(), r = X(), i = M(() => r.links ?? {}), a = M(() => xe(Vr)), s = B([]);
|
|
1846
|
+
yt(() => {
|
|
1847
|
+
s.value = oe(Hr);
|
|
1846
1848
|
});
|
|
1847
|
-
let l =
|
|
1849
|
+
let l = M(() => s.value.map((e) => ({
|
|
1848
1850
|
id: e.id,
|
|
1849
1851
|
name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
|
|
1850
|
-
image: e.image_path ?
|
|
1851
|
-
route:
|
|
1852
|
-
}))), u =
|
|
1852
|
+
image: e.image_path ? pe(e.image_path, "zoom") : null,
|
|
1853
|
+
route: ae(e)
|
|
1854
|
+
}))), u = M(() => [
|
|
1853
1855
|
{
|
|
1854
1856
|
name: t("core.project.islamicArt"),
|
|
1855
1857
|
href: `${i.value.islamicArt}/`,
|
|
@@ -1871,21 +1873,21 @@ var nr = {
|
|
|
1871
1873
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
1872
1874
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
1873
1875
|
}
|
|
1874
|
-
]), d =
|
|
1875
|
-
image: o(r.chrome, e.image) ??
|
|
1876
|
+
]), d = M(() => (r.homeLogos ?? []).map((e) => ({
|
|
1877
|
+
image: o(r.chrome, e.image) ?? pe(e.image, "gallery_logo"),
|
|
1876
1878
|
href: e.href ?? "",
|
|
1877
1879
|
alt: e.alt ? t(e.alt) : ""
|
|
1878
|
-
})).filter((e) => e.image)), f =
|
|
1879
|
-
return (e, n) => (
|
|
1880
|
-
|
|
1881
|
-
d.value.length ? (
|
|
1880
|
+
})).filter((e) => e.image)), f = M(() => `${i.value.galleries}/list`);
|
|
1881
|
+
return (e, n) => (z(), F("div", Ir, [
|
|
1882
|
+
R(hr, { partners: a.value }, null, 8, ["partners"]),
|
|
1883
|
+
d.value.length ? (z(), F("section", Lr, [I("p", Rr, H(U(t)("gallery.home.logosLabel")), 1), I("ul", zr, [(z(!0), F(j, null, V(d.value, (e) => (z(), F("li", { key: e.image }, [(z(), N(xt(e.href ? "a" : "span"), {
|
|
1882
1884
|
class: "mwnf-dxa-home-logos__logo",
|
|
1883
1885
|
href: e.href || void 0,
|
|
1884
1886
|
title: e.alt || void 0,
|
|
1885
1887
|
target: e.href ? "_blank" : void 0,
|
|
1886
1888
|
rel: e.href ? "noopener" : void 0
|
|
1887
1889
|
}, {
|
|
1888
|
-
default:
|
|
1890
|
+
default: W(() => [I("img", {
|
|
1889
1891
|
src: e.image,
|
|
1890
1892
|
alt: e.alt
|
|
1891
1893
|
}, null, 8, Br)]),
|
|
@@ -1895,8 +1897,8 @@ var nr = {
|
|
|
1895
1897
|
"title",
|
|
1896
1898
|
"target",
|
|
1897
1899
|
"rel"
|
|
1898
|
-
]))]))), 128))])])) :
|
|
1899
|
-
|
|
1900
|
+
]))]))), 128))])])) : P("", !0),
|
|
1901
|
+
R(Pr, {
|
|
1900
1902
|
galleries: l.value,
|
|
1901
1903
|
museums: u.value,
|
|
1902
1904
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -1917,12 +1919,12 @@ var nr = {
|
|
|
1917
1919
|
required: !0
|
|
1918
1920
|
} },
|
|
1919
1921
|
setup(e) {
|
|
1920
|
-
return (t, n) => (
|
|
1921
|
-
spec:
|
|
1922
|
+
return (t, n) => (z(), N(dt, {
|
|
1923
|
+
spec: U(Te),
|
|
1922
1924
|
id: e.id,
|
|
1923
1925
|
class: "mwnf-dxa-item"
|
|
1924
1926
|
}, {
|
|
1925
|
-
header:
|
|
1927
|
+
header: W(({ languages: e, language: t, select: n }) => [I("div", Gr, [R(l, {
|
|
1926
1928
|
languages: e,
|
|
1927
1929
|
language: t,
|
|
1928
1930
|
onSelect: n
|
|
@@ -1930,7 +1932,7 @@ var nr = {
|
|
|
1930
1932
|
"languages",
|
|
1931
1933
|
"language",
|
|
1932
1934
|
"onSelect"
|
|
1933
|
-
])]),
|
|
1935
|
+
])]), R(g)]),
|
|
1934
1936
|
_: 1
|
|
1935
1937
|
}, 8, ["spec", "id"]));
|
|
1936
1938
|
}
|
|
@@ -1938,13 +1940,13 @@ var nr = {
|
|
|
1938
1940
|
__name: "Timeline",
|
|
1939
1941
|
setup(e) {
|
|
1940
1942
|
let t = {
|
|
1941
|
-
...
|
|
1943
|
+
...re,
|
|
1942
1944
|
entrance: !0
|
|
1943
1945
|
};
|
|
1944
|
-
return (e, n) => (
|
|
1946
|
+
return (e, n) => (z(), F("div", Jr, [R(x, {
|
|
1945
1947
|
spec: t,
|
|
1946
1948
|
class: "mwnf-dxa-timeline__form"
|
|
1947
|
-
}),
|
|
1949
|
+
}), R(U(K), {
|
|
1948
1950
|
class: "mwnf-prose mwnf-dxa-timeline__intro",
|
|
1949
1951
|
dir: "auto",
|
|
1950
1952
|
keypath: "gallery.timeline.intro"
|
|
@@ -1953,28 +1955,28 @@ var nr = {
|
|
|
1953
1955
|
}, Xr = /* @__PURE__ */ e({ default: () => Qr }), Zr = { class: "mwnf-dxa-home" }, Qr = {
|
|
1954
1956
|
__name: "Home",
|
|
1955
1957
|
setup(e) {
|
|
1956
|
-
return (e, t) => (
|
|
1958
|
+
return (e, t) => (z(), F("div", Zr));
|
|
1957
1959
|
}
|
|
1958
1960
|
}, $r = /* @__PURE__ */ e({ default: () => ti }), ei = { class: "mwnf-dxa-about" }, ti = {
|
|
1959
1961
|
__name: "About",
|
|
1960
1962
|
setup(e) {
|
|
1961
|
-
return (e, t) => (
|
|
1963
|
+
return (e, t) => (z(), F("div", ei, [R(n, { "about-mode": "" })]));
|
|
1962
1964
|
}
|
|
1963
1965
|
}, ni = /* @__PURE__ */ e({ default: () => ai }), ri = { class: "mwnf-dxa-themes" }, ii = { class: "mwnf-dxa-themes__container" }, ai = {
|
|
1964
1966
|
__name: "Themes",
|
|
1965
1967
|
setup(e) {
|
|
1966
|
-
let { listedThemes: t, romanFor: n, themeText: r } =
|
|
1968
|
+
let { listedThemes: t, romanFor: n, themeText: r } = Ne, { t: i, locale: a } = Y(), o = M(() => t.value.map((e) => ({
|
|
1967
1969
|
title: r(e, a.value).title ?? e.internal_name ?? "",
|
|
1968
1970
|
number: n(e.display_order),
|
|
1969
1971
|
children: [{
|
|
1970
1972
|
title: i("exhibition.theme.overview"),
|
|
1971
|
-
to:
|
|
1973
|
+
to: ft(e)
|
|
1972
1974
|
}, ...(e.sub_themes ?? []).map((e) => ({
|
|
1973
1975
|
title: r(e, a.value).title ?? e.internal_name ?? "",
|
|
1974
|
-
to:
|
|
1976
|
+
to: ft(e)
|
|
1975
1977
|
}))]
|
|
1976
1978
|
})));
|
|
1977
|
-
return (e, t) => (
|
|
1979
|
+
return (e, t) => (z(), F("div", ri, [I("div", ii, [R(f, {
|
|
1978
1980
|
cards: o.value,
|
|
1979
1981
|
variant: "accordion"
|
|
1980
1982
|
}, null, 8, ["cards"])])]));
|
|
@@ -1985,7 +1987,7 @@ var nr = {
|
|
|
1985
1987
|
}, li = {
|
|
1986
1988
|
__name: "ThemeGallery",
|
|
1987
1989
|
setup(e) {
|
|
1988
|
-
let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } =
|
|
1990
|
+
let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } = Ne, s = Pt(), { t: c, locale: l } = Y(), u = M(() => i(s.params.id)), d = M(() => {
|
|
1989
1991
|
let e = /* @__PURE__ */ new Set();
|
|
1990
1992
|
if (!u.value) return e;
|
|
1991
1993
|
for (let r of o.itemsUnder(u.value.id)) {
|
|
@@ -1993,13 +1995,13 @@ var nr = {
|
|
|
1993
1995
|
i && e.add(i.id);
|
|
1994
1996
|
}
|
|
1995
1997
|
return e;
|
|
1996
|
-
}), f =
|
|
1998
|
+
}), f = M(() => a(u.value, l.value).title ?? u.value?.internal_name ?? ""), p = M(() => ({
|
|
1997
1999
|
entity: "items",
|
|
1998
2000
|
scope: (e) => d.value.has(e.id),
|
|
1999
2001
|
sort: { undated: "first" },
|
|
2000
2002
|
variant: "grid",
|
|
2001
2003
|
recordRoute: "item",
|
|
2002
|
-
record: (e, t) =>
|
|
2004
|
+
record: (e, t) => et(e, t.t),
|
|
2003
2005
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
2004
2006
|
empty: "exhibition.theme.noRecords",
|
|
2005
2007
|
summary: () => [{
|
|
@@ -2007,15 +2009,15 @@ var nr = {
|
|
|
2007
2009
|
value: `${c("exhibition.theme.romanLabel")} ${r(u.value?.display_order ?? 1)} | ${f.value}`
|
|
2008
2010
|
}]
|
|
2009
2011
|
}));
|
|
2010
|
-
return (e, t) => u.value ? (
|
|
2012
|
+
return (e, t) => u.value ? (z(), N(b, {
|
|
2011
2013
|
key: 0,
|
|
2012
2014
|
spec: p.value,
|
|
2013
2015
|
class: "mwnf-dxa-theme-gallery"
|
|
2014
2016
|
}, {
|
|
2015
|
-
before:
|
|
2016
|
-
empty:
|
|
2017
|
+
before: W(() => [R(g)]),
|
|
2018
|
+
empty: W(() => [I("p", si, H(U(c)("exhibition.theme.noRecords")), 1)]),
|
|
2017
2019
|
_: 1
|
|
2018
|
-
}, 8, ["spec"])) : (
|
|
2020
|
+
}, 8, ["spec"])) : (z(), F("div", ci, H(U(c)("exhibition.theme.notInExhibition")), 1));
|
|
2019
2021
|
}
|
|
2020
2022
|
}, ui = /* @__PURE__ */ e({ default: () => fi }), di = { class: "mwnf-dxa-item__languages" }, fi = {
|
|
2021
2023
|
__name: "ItemDetail",
|
|
@@ -2024,13 +2026,13 @@ var nr = {
|
|
|
2024
2026
|
required: !0
|
|
2025
2027
|
} },
|
|
2026
2028
|
setup(e) {
|
|
2027
|
-
return (t, n) => (
|
|
2028
|
-
spec:
|
|
2029
|
+
return (t, n) => (z(), N(dt, {
|
|
2030
|
+
spec: U(ut),
|
|
2029
2031
|
id: e.id,
|
|
2030
|
-
"data-getter": (e) =>
|
|
2032
|
+
"data-getter": (e) => U(O).get(e),
|
|
2031
2033
|
class: "mwnf-dxa-item"
|
|
2032
2034
|
}, {
|
|
2033
|
-
header:
|
|
2035
|
+
header: W(({ languages: e, language: t, select: n }) => [I("div", di, [R(l, {
|
|
2034
2036
|
languages: e,
|
|
2035
2037
|
language: t,
|
|
2036
2038
|
onSelect: n
|
|
@@ -2038,7 +2040,7 @@ var nr = {
|
|
|
2038
2040
|
"languages",
|
|
2039
2041
|
"language",
|
|
2040
2042
|
"onSelect"
|
|
2041
|
-
])]),
|
|
2043
|
+
])]), R(g)]),
|
|
2042
2044
|
_: 1
|
|
2043
2045
|
}, 8, [
|
|
2044
2046
|
"spec",
|
|
@@ -2059,24 +2061,24 @@ var nr = {
|
|
|
2059
2061
|
2,
|
|
2060
2062
|
3,
|
|
2061
2063
|
4
|
|
2062
|
-
], { t: r, locale: i } =
|
|
2064
|
+
], { t: r, locale: i } = Y();
|
|
2063
2065
|
function a(e) {
|
|
2064
2066
|
return e?.[i.value] ?? e?.en ?? "";
|
|
2065
2067
|
}
|
|
2066
2068
|
function o(e) {
|
|
2067
|
-
return e.document_path ?
|
|
2069
|
+
return e.document_path ? D(e.document_path, "hi_res") : e.url ?? null;
|
|
2068
2070
|
}
|
|
2069
2071
|
function s(e) {
|
|
2070
|
-
return a(e.titles) ?
|
|
2072
|
+
return a(e.titles) ? k(a(e.titles)) : a(e.texts) ? k(a(e.texts)) : o(e) || r("exhibition.relatedCategory.unknown");
|
|
2071
2073
|
}
|
|
2072
2074
|
function c(e) {
|
|
2073
2075
|
if (!a(e.titles)) return "";
|
|
2074
2076
|
let t = [];
|
|
2075
|
-
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ?
|
|
2077
|
+
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ? lt(e.entity_country) : ""].filter(Boolean).join(", ")), (e.authors || e.type_resource) && t.push([e.authors, e.type_resource].filter(Boolean).join(", ")), a(e.descriptions) && t.push(k(a(e.descriptions))), e.further_reading && t.push(k(e.further_reading)), t.join(" — ");
|
|
2076
2078
|
}
|
|
2077
2079
|
function l() {
|
|
2078
2080
|
let e = /* @__PURE__ */ new Map();
|
|
2079
|
-
for (let t of
|
|
2081
|
+
for (let t of tt.value ?? []) {
|
|
2080
2082
|
let n = e.get(t.category_id);
|
|
2081
2083
|
n ? n.push(t) : e.set(t.category_id, [t]);
|
|
2082
2084
|
}
|
|
@@ -2097,7 +2099,7 @@ var nr = {
|
|
|
2097
2099
|
to: { name: "home" }
|
|
2098
2100
|
}
|
|
2099
2101
|
};
|
|
2100
|
-
return (e, t) => (
|
|
2102
|
+
return (e, t) => (z(), N(ee, {
|
|
2101
2103
|
spec: u,
|
|
2102
2104
|
class: "mwnf-dxa-related"
|
|
2103
2105
|
}));
|
|
@@ -2105,12 +2107,12 @@ var nr = {
|
|
|
2105
2107
|
}, hi = /* @__PURE__ */ e({ default: () => gi }), gi = {
|
|
2106
2108
|
__name: "Timeline",
|
|
2107
2109
|
setup(e) {
|
|
2108
|
-
let t =
|
|
2109
|
-
...
|
|
2110
|
+
let t = M(() => ({
|
|
2111
|
+
...Ve.value,
|
|
2110
2112
|
entrance: !0
|
|
2111
2113
|
}));
|
|
2112
|
-
return (e, n) => (
|
|
2113
|
-
after:
|
|
2114
|
+
return (e, n) => (z(), N(x, { spec: t.value }, {
|
|
2115
|
+
after: W(() => [R(U(K), {
|
|
2114
2116
|
class: "mwnf-prose mwnf-dxa-timeline__intro",
|
|
2115
2117
|
dir: "auto",
|
|
2116
2118
|
keypath: "exhibition.timeline.intro"
|
|
@@ -2120,4 +2122,4 @@ var nr = {
|
|
|
2120
2122
|
}
|
|
2121
2123
|
};
|
|
2122
2124
|
//#endregion
|
|
2123
|
-
export { ti as ExhibitionAbout, Cn as ExhibitionCollectionResults, Tn as ExhibitionCollectionSearch, Qr as ExhibitionHome, fi as ExhibitionItemDetail, Dn as ExhibitionPartnerObjects, dn as ExhibitionPartners, mi as ExhibitionRelatedContent, cn as ExhibitionSearchHowTo, _n as ExhibitionSearchResults, Qn as ExhibitionShell, n as ExhibitionTheme, li as ExhibitionThemeGallery, ai as ExhibitionThemes, gi as ExhibitionTimeline, yn as ExhibitionTimelineGallery, vn as ExhibitionTimelineResults, hr as FeaturedPartners, Lt as GalleryAbout, en as GalleryCollectionResults, rn as GalleryCollectionSearch, Rt as GalleryCredits, Ur as GalleryHome, Kr as GalleryItemDetail, sn as GalleryPartnerObjects, Vt as GalleryPartners, zt as GallerySearchHowTo, qt as GallerySearchResults, Kn as GalleryShell, Yr as GalleryTimeline, Xt as GalleryTimelineGallery, Jt as GalleryTimelineResults,
|
|
2125
|
+
export { ti as ExhibitionAbout, Cn as ExhibitionCollectionResults, Tn as ExhibitionCollectionSearch, Qr as ExhibitionHome, fi as ExhibitionItemDetail, Dn as ExhibitionPartnerObjects, dn as ExhibitionPartners, mi as ExhibitionRelatedContent, cn as ExhibitionSearchHowTo, _n as ExhibitionSearchResults, Qn as ExhibitionShell, n as ExhibitionTheme, li as ExhibitionThemeGallery, ai as ExhibitionThemes, gi as ExhibitionTimeline, yn as ExhibitionTimelineGallery, vn as ExhibitionTimelineResults, hr as FeaturedPartners, Lt as GalleryAbout, en as GalleryCollectionResults, rn as GalleryCollectionSearch, Rt as GalleryCredits, Ur as GalleryHome, Kr as GalleryItemDetail, sn as GalleryPartnerObjects, Vt as GalleryPartners, zt as GallerySearchHowTo, qt as GallerySearchResults, Kn as GalleryShell, Yr as GalleryTimeline, Xt as GalleryTimelineGallery, Jt as GalleryTimelineResults, dt as ItemDetailView, $ as PartnerDetail, t as PictureGallery, r as PictureNarrative, Zn as PopupLogo, Pr as SiblingGalleries, mt as exhibitionAboutSpec, tr as exhibitionConfig, T as exhibitionPartnerDetail, pt as exhibitionThemeSpec, er as galleryConfig, S as galleryPartnerDetail, Hn as standardRoutes, ft as themeNodeRoute };
|