@museumwnf/viewer-layout 3.60.0 → 3.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{FeaturedRecord-DLYyyRey.js → FeaturedRecord-DaGLHyhD.js} +1 -1
- package/dist/{ItemDetailView-D5T3QXYJ.js → ItemDetailView-D7m2C1Mg.js} +26 -19
- package/dist/{OnDisplayIn-CCM5Ahxy.js → OnDisplayIn-DW4iC5BB.js} +1 -1
- package/dist/{PartnerMap-BuQo_FLl.js → PartnerMap-U-Hi2FBi.js} +16 -12
- package/dist/RecordView-BE4mbj6G.js +363 -0
- package/dist/{Theme-0bsA_Abx.js → Theme-4RmyRY0x.js} +2 -2
- package/dist/{TimelineEventList-e1fNm28F.js → TimelineEventList-1feZA5t7.js} +1 -1
- package/dist/{TimelineResultsView-Cl_LcM--.js → TimelineResultsView-CkH3NDqL.js} +2 -2
- package/dist/{content-BzSJircQ.js → content-BNS5U0Xv.js} +2 -2
- package/dist/content.js +5 -5
- package/dist/dxa.js +619 -507
- package/dist/index.js +5 -5
- package/dist/standalone.js +2 -2
- package/dist/viewer-layout.css +1 -1
- package/dist/views.js +4 -4
- package/package.json +3 -3
- package/src/dxa/testing.js +27 -15
- package/src/styles/dxa-gallery.css +13 -3
- package/src/tokens.reference.css +1 -0
- package/dist/RecordView-n7bbQUg2.js +0 -345
package/dist/dxa.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { s as e } from "./OnDisplayIn-
|
|
2
|
-
import { a as t, i as n, n as r, o as i, s as a } from "./TimelineEventList-
|
|
3
|
-
import { c as o, d as s } from "./PartnerMap-
|
|
4
|
-
import { t as c } from "./RecordView-
|
|
5
|
-
import { A as l, C as u, D as d, E as f, M as p, N as m, O as h, P as ee, S as g, T as te, _, a as v, b as ne, c as re, d as ie, f as ae, g as y, h as oe, i as se, j as ce, k as le, l as ue, m as de, n as fe, o as pe, p as
|
|
6
|
-
import { A as
|
|
7
|
-
import { a as
|
|
8
|
-
import { t as
|
|
9
|
-
import { i as
|
|
10
|
-
import { i as
|
|
11
|
-
import { t as
|
|
12
|
-
import { a as
|
|
13
|
-
import { n as
|
|
14
|
-
import { Fragment as
|
|
15
|
-
import { I18nText as
|
|
16
|
-
import { RouterLink as
|
|
1
|
+
import { s as e } from "./OnDisplayIn-DW4iC5BB.js";
|
|
2
|
+
import { a as t, i as n, n as r, o as i, s as a } from "./TimelineEventList-1feZA5t7.js";
|
|
3
|
+
import { c as o, d as s } from "./PartnerMap-U-Hi2FBi.js";
|
|
4
|
+
import { t as c } from "./RecordView-BE4mbj6G.js";
|
|
5
|
+
import { A as l, C as u, D as d, E as f, M as p, N as m, O as h, P as ee, S as g, T as te, _, a as v, b as ne, c as re, d as ie, f as ae, g as y, h as oe, i as se, j as ce, k as le, l as ue, m as de, n as fe, o as pe, p as b, r as me, s as he, t as ge, u as x, v as _e, w as ve, x as ye, y as be } from "./data-EKYeMQcC.js";
|
|
6
|
+
import { A as xe, C as Se, D as Ce, E as we, F as Te, I as Ee, L as De, M as Oe, N as ke, O as Ae, P as je, R as Me, S as Ne, T as S, _ as Pe, a as Fe, b as Ie, c as Le, d as Re, f as C, g as ze, h as Be, i as Ve, j as He, k as Ue, l as We, m as Ge, n as Ke, o as w, p as qe, r as Je, s as Ye, t as Xe, u as Ze, v as T, w as E, x as Qe, y as $e } from "./data-kqAkoQvf.js";
|
|
7
|
+
import { a as et, i as tt, n as nt, r as rt, s as D, t as O } from "./TimelineResultsView-CkH3NDqL.js";
|
|
8
|
+
import { t as it } from "./SiteShell-qvsZO4Iz.js";
|
|
9
|
+
import { i as at, n as ot, r as k, t as st } from "./chrome-Bv_mLlHM.js";
|
|
10
|
+
import { i as ct } from "./PageShell-CPtgzcxv.js";
|
|
11
|
+
import { t as lt } from "./ItemDetailView-D7m2C1Mg.js";
|
|
12
|
+
import { a as A, i as ut, n as dt, r as ft } from "./Theme-4RmyRY0x.js";
|
|
13
|
+
import { n as pt, r as mt, t as ht } from "./themeSpecs-CsDpl4rR.js";
|
|
14
|
+
import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as gt, createTextVNode as L, createVNode as R, normalizeClass as z, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as B, ref as V, renderList as H, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as U, unref as W, vModelText as St, vShow as Ct, withCtx as G, withDirectives as wt, withModifiers as Tt } from "vue";
|
|
15
|
+
import { I18nText as K, NotFoundView as Et, languageLabels as Dt, loadEntities as q, mdInline as Ot, mwnfLinks as J, offeredLanguages as kt, renderInline as At, sectionMeta as jt, siblingSiteUrl as Mt, sourceUrl as Nt, useDataPackage as Pt, useFacets as Ft, useI18n as Y, useKeywordIndex as It, useProjects as Lt, useSection as Rt, useSiteConfig as X, yearBuckets as Z } from "@museumwnf/viewer-core";
|
|
16
|
+
import { RouterLink as Q, useRoute as zt, useRouter as Bt } from "vue-router";
|
|
17
17
|
// src/dxa/PartnerDetail.vue
|
|
18
|
-
var
|
|
18
|
+
var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = {
|
|
19
19
|
__name: "PartnerDetail",
|
|
20
20
|
props: {
|
|
21
21
|
id: {
|
|
@@ -32,14 +32,14 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
setup(t) {
|
|
35
|
-
let n = t, { t: i } =
|
|
36
|
-
return (n, l) => t.family.visible(t.id) ? (
|
|
35
|
+
let n = t, { t: i } = Y(), a = M(() => n.family.labels?.[n.variant] ?? n.family.labels?.partner ?? {});
|
|
36
|
+
return (n, l) => t.family.visible(t.id) ? (B(), N(c, {
|
|
37
37
|
key: 0,
|
|
38
38
|
spec: t.family.spec,
|
|
39
39
|
id: t.id,
|
|
40
40
|
class: "mwnf-dxa-partner-profile"
|
|
41
41
|
}, {
|
|
42
|
-
header:
|
|
42
|
+
header: G(({ languages: t, language: n, select: r }) => [I("div", Vt, [R(o, {
|
|
43
43
|
languages: t,
|
|
44
44
|
language: n,
|
|
45
45
|
onSelect: r
|
|
@@ -47,22 +47,22 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
47
47
|
"languages",
|
|
48
48
|
"language",
|
|
49
49
|
"onSelect"
|
|
50
|
-
])]),
|
|
51
|
-
"before-sheet":
|
|
50
|
+
])]), R(e)]),
|
|
51
|
+
"before-sheet": G(({ record: e, text: n, dir: o }) => [R(r, {
|
|
52
52
|
variant: "full",
|
|
53
53
|
partner: t.family.view(e, n),
|
|
54
54
|
heading: 1,
|
|
55
55
|
"homepage-label": a.value.homepage ?? "partner.nav.homepage",
|
|
56
56
|
dir: o
|
|
57
57
|
}, {
|
|
58
|
-
actions:
|
|
58
|
+
actions: G(({ partner: e }) => [e.objectsRoute ? (B(), N(s, {
|
|
59
59
|
key: 0,
|
|
60
60
|
class: "mwnf-button",
|
|
61
61
|
to: e.objectsRoute
|
|
62
62
|
}, {
|
|
63
|
-
default:
|
|
63
|
+
default: G(() => [L(U(W(i)(a.value.objects ?? "partner.action.viewObjects")), 1)]),
|
|
64
64
|
_: 1
|
|
65
|
-
}, 8, ["to"])) :
|
|
65
|
+
}, 8, ["to"])) : P("", !0)]),
|
|
66
66
|
_: 1
|
|
67
67
|
}, 8, [
|
|
68
68
|
"partner",
|
|
@@ -70,9 +70,9 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
70
70
|
"dir"
|
|
71
71
|
])]),
|
|
72
72
|
_: 1
|
|
73
|
-
}, 8, ["spec", "id"])) : (
|
|
73
|
+
}, 8, ["spec", "id"])) : (B(), N(W(Et), { key: 1 }));
|
|
74
74
|
}
|
|
75
|
-
},
|
|
75
|
+
}, Ut = {
|
|
76
76
|
__name: "TextPage",
|
|
77
77
|
props: {
|
|
78
78
|
body: {
|
|
@@ -94,43 +94,43 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
setup(t) {
|
|
97
|
-
return (n, r) => (
|
|
97
|
+
return (n, r) => (B(), F("div", { class: z(["mwnf-dxa-gallery-text", `mwnf-dxa-gallery-text--${t.kind}`]) }, [R(e, { to: t.back }, null, 8, ["to"]), R(W(K), {
|
|
98
98
|
class: "mwnf-dxa-gallery-text__body",
|
|
99
99
|
dir: "auto",
|
|
100
100
|
keypath: t.body,
|
|
101
101
|
"blank-lines": ""
|
|
102
102
|
}, null, 8, ["keypath"])], 2));
|
|
103
103
|
}
|
|
104
|
-
},
|
|
104
|
+
}, Wt = {
|
|
105
105
|
__name: "About",
|
|
106
106
|
setup(e) {
|
|
107
|
-
return (e, t) => (
|
|
107
|
+
return (e, t) => (B(), N(Ut, {
|
|
108
108
|
kind: "about",
|
|
109
109
|
body: "gallery.about.body"
|
|
110
110
|
}));
|
|
111
111
|
}
|
|
112
|
-
},
|
|
112
|
+
}, Gt = {
|
|
113
113
|
__name: "Credits",
|
|
114
114
|
props: { bodyKey: {
|
|
115
115
|
type: String,
|
|
116
116
|
required: !0
|
|
117
117
|
} },
|
|
118
118
|
setup(e) {
|
|
119
|
-
return (t, n) => (
|
|
119
|
+
return (t, n) => (B(), N(Ut, {
|
|
120
120
|
kind: "credits",
|
|
121
121
|
body: e.bodyKey
|
|
122
122
|
}, null, 8, ["body"]));
|
|
123
123
|
}
|
|
124
|
-
},
|
|
124
|
+
}, Kt = {
|
|
125
125
|
__name: "SearchHowTo",
|
|
126
126
|
setup(e) {
|
|
127
|
-
return (e, t) => (
|
|
127
|
+
return (e, t) => (B(), N(Ut, {
|
|
128
128
|
kind: "how-to",
|
|
129
129
|
body: "catalogue.search.howToEssay",
|
|
130
130
|
back: { name: "collection" }
|
|
131
131
|
}));
|
|
132
132
|
}
|
|
133
|
-
},
|
|
133
|
+
}, qt = {
|
|
134
134
|
DGA: "dga",
|
|
135
135
|
ISL: "isl",
|
|
136
136
|
EPM: "isl",
|
|
@@ -139,10 +139,10 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Z = {
|
|
|
139
139
|
GALLERIES: "galleries",
|
|
140
140
|
DCA: "dca"
|
|
141
141
|
};
|
|
142
|
-
function
|
|
142
|
+
function $(e) {
|
|
143
143
|
let t = e?.own_project;
|
|
144
144
|
if (!t?.name) return null;
|
|
145
|
-
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = t.exhibition ? "exh" :
|
|
145
|
+
let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = t.exhibition ? "exh" : qt[n] ?? "", i = t.level === "partner" || !!t.exhibition;
|
|
146
146
|
return {
|
|
147
147
|
name: t.name,
|
|
148
148
|
status: i ? "gallery.partners.statusPartner" : "gallery.partners.statusAffiliate",
|
|
@@ -150,10 +150,10 @@ function Q(e) {
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
// src/dxa/gallery/Partners.vue
|
|
153
|
-
var
|
|
153
|
+
var Jt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Yt = { class: "mwnf-dxa-gallery-partners__options" }, Xt = { class: "mwnf-dxa-gallery-partners__order" }, Zt = ["onClick"], Qt = { class: "mwnf-dxa-gallery-partners__country" }, $t = { class: "mwnf-dxa-gallery-partners__partner" }, en = { class: "mwnf-dxa-gallery-partners__text" }, tn = ["innerHTML"], nn = {
|
|
154
154
|
key: 0,
|
|
155
155
|
class: "mwnf-dxa-gallery-partners__city"
|
|
156
|
-
},
|
|
156
|
+
}, rn = { class: "mwnf-dxa-partner-badge__status" }, an = { class: "mwnf-dxa-gallery-partners__links" }, on = { class: "mwnf-dxa-gallery-partners__logo" }, sn = ["src", "alt"], cn = {
|
|
157
157
|
__name: "Partners",
|
|
158
158
|
setup(t) {
|
|
159
159
|
let n = {
|
|
@@ -162,115 +162,115 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
162
162
|
orderToggle: !1,
|
|
163
163
|
tiebreak: (e) => e.own_project?.name ?? ""
|
|
164
164
|
};
|
|
165
|
-
return (t, r) => (
|
|
166
|
-
before:
|
|
165
|
+
return (t, r) => (B(), F("div", Jt, [R(tt, { spec: n }, {
|
|
166
|
+
before: G(({ t, orderDir: n, toggleOrder: r }) => [I("div", Yt, [R(e), I("div", Xt, [I("button", {
|
|
167
167
|
type: "button",
|
|
168
168
|
onClick: r
|
|
169
|
-
},
|
|
169
|
+
}, U(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Zt)])]), R(W(K), {
|
|
170
170
|
id: "mwnf-dxa-partners-intro",
|
|
171
171
|
class: "mwnf-dxa-gallery-partners__intro",
|
|
172
172
|
dir: "auto",
|
|
173
173
|
keypath: "gallery.partners.intro"
|
|
174
174
|
})]),
|
|
175
|
-
"group-heading":
|
|
176
|
-
row:
|
|
177
|
-
|
|
175
|
+
"group-heading": G(({ group: e }) => [I("div", Qt, U(e.label), 1)]),
|
|
176
|
+
row: G(({ partner: e, view: t, t: n }) => [I("div", $t, [I("div", en, [
|
|
177
|
+
R(s, {
|
|
178
178
|
class: "mwnf-dxa-gallery-partners__name",
|
|
179
179
|
to: t.route
|
|
180
180
|
}, {
|
|
181
|
-
default:
|
|
181
|
+
default: G(() => [I("span", { innerHTML: t.name }, null, 8, tn), t.city ? (B(), F("span", nn, ", " + U(t.city), 1)) : P("", !0)]),
|
|
182
182
|
_: 2
|
|
183
183
|
}, 1032, ["to"]),
|
|
184
|
-
|
|
184
|
+
W($)(e) ? (B(), F("div", {
|
|
185
185
|
key: 0,
|
|
186
|
-
class:
|
|
187
|
-
}, [
|
|
188
|
-
|
|
189
|
-
default:
|
|
186
|
+
class: z(["mwnf-dxa-partner-badge", W($)(e).tone && `mwnf-dxa-partner-badge--${W($)(e).tone}`])
|
|
187
|
+
}, [L(U(W($)(e).name) + " ", 1), I("span", rn, U(n(W($)(e).status)), 1)], 2)) : P("", !0),
|
|
188
|
+
I("div", an, [R(s, { to: t.route }, {
|
|
189
|
+
default: G(() => [L(U(n("partner.action.readMore")), 1)]),
|
|
190
190
|
_: 2
|
|
191
|
-
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (
|
|
191
|
+
}, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (B(), F(j, { key: 0 }, [r[0] ||= I("span", {
|
|
192
192
|
class: "mwnf-dxa-gallery-partners__divider",
|
|
193
193
|
"aria-hidden": "true"
|
|
194
|
-
}, "|", -1),
|
|
195
|
-
default:
|
|
194
|
+
}, "|", -1), R(s, { to: t.objectsRoute }, {
|
|
195
|
+
default: G(() => [L(U(n("partner.action.viewObjects")), 1)]),
|
|
196
196
|
_: 2
|
|
197
|
-
}, 1032, ["to"])], 64)) :
|
|
198
|
-
]),
|
|
197
|
+
}, 1032, ["to"])], 64)) : P("", !0)])
|
|
198
|
+
]), I("div", on, [t.logos?.[0] ? (B(), F("img", {
|
|
199
199
|
key: 0,
|
|
200
200
|
src: t.logos[0].url,
|
|
201
201
|
alt: t.plainName,
|
|
202
202
|
loading: "lazy"
|
|
203
|
-
}, null, 8,
|
|
203
|
+
}, null, 8, sn)) : P("", !0)])])]),
|
|
204
204
|
_: 1
|
|
205
205
|
})]));
|
|
206
206
|
}
|
|
207
|
-
},
|
|
207
|
+
}, ln = { class: "mwnf-dxa-grid" }, un = ["onMouseenter"], dn = { class: "mwnf-dxa-grid__frame" }, fn = ["src", "alt"], pn = ["src", "alt"], mn = { class: "mwnf-dxa-grid__text" }, hn = ["innerHTML"], gn = { class: "mwnf-dxa-grid__date" }, _n = { class: "mwnf-dxa-grid__partner" }, vn = { class: "mwnf-dxa-grid__place" }, yn = { class: "mwnf-dxa-grid__project" }, bn = {
|
|
208
208
|
__name: "ObjectGrid",
|
|
209
209
|
props: { rows: {
|
|
210
210
|
type: Array,
|
|
211
211
|
default: () => []
|
|
212
212
|
} },
|
|
213
213
|
setup(e) {
|
|
214
|
-
let { t } =
|
|
215
|
-
return (r, i) => (
|
|
214
|
+
let { t } = Y(), n = V(-1);
|
|
215
|
+
return (r, i) => (B(), F("div", ln, [(B(!0), F(j, null, H(e.rows, (e, r) => (B(), F("div", {
|
|
216
216
|
key: e.id,
|
|
217
217
|
class: "mwnf-dxa-grid__entry",
|
|
218
218
|
onMouseenter: (e) => n.value = r,
|
|
219
219
|
onMouseleave: i[0] ||= (e) => n.value = -1
|
|
220
|
-
}, [
|
|
220
|
+
}, [I("div", dn, [I("img", {
|
|
221
221
|
class: "mwnf-dxa-grid__image",
|
|
222
222
|
src: e.image,
|
|
223
223
|
alt: e.imageAlt,
|
|
224
224
|
loading: "lazy"
|
|
225
|
-
}, null, 8,
|
|
225
|
+
}, null, 8, fn)]), I("div", { class: z(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": n.value === r }]) }, [R(s, {
|
|
226
226
|
class: "mwnf-dxa-grid__card-image",
|
|
227
227
|
to: e.to,
|
|
228
228
|
tabindex: "-1"
|
|
229
229
|
}, {
|
|
230
|
-
default:
|
|
230
|
+
default: G(() => [I("img", {
|
|
231
231
|
src: e.image,
|
|
232
232
|
alt: e.imageAlt,
|
|
233
233
|
loading: "lazy"
|
|
234
|
-
}, null, 8,
|
|
234
|
+
}, null, 8, pn)]),
|
|
235
235
|
_: 2
|
|
236
|
-
}, 1032, ["to"]),
|
|
237
|
-
|
|
236
|
+
}, 1032, ["to"]), I("div", mn, [
|
|
237
|
+
I("p", {
|
|
238
238
|
class: "mwnf-dxa-grid__name",
|
|
239
239
|
innerHTML: e.name
|
|
240
|
-
}, null, 8,
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
240
|
+
}, null, 8, hn),
|
|
241
|
+
I("p", gn, U(e.date), 1),
|
|
242
|
+
I("p", _n, U(e.partner), 1),
|
|
243
|
+
I("p", vn, U(e.place), 1),
|
|
244
|
+
I("p", yn, [L(U(W(t)("gallery.results.for")) + " ", 1), I("span", null, U(e.project), 1)]),
|
|
245
|
+
R(s, {
|
|
246
246
|
class: "mwnf-dxa-grid__link",
|
|
247
247
|
to: e.to
|
|
248
248
|
}, {
|
|
249
|
-
default:
|
|
249
|
+
default: G(() => [L(U(W(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
|
|
250
250
|
_: 1
|
|
251
251
|
}, 8, ["to"])
|
|
252
|
-
])], 2)], 40,
|
|
252
|
+
])], 2)], 40, un))), 128))]));
|
|
253
253
|
}
|
|
254
|
-
},
|
|
254
|
+
}, xn = ["onSubmit"], Sn = ["placeholder"], Cn = {
|
|
255
255
|
type: "submit",
|
|
256
256
|
class: "mwnf-dxa-refine-search-submit"
|
|
257
|
-
},
|
|
257
|
+
}, wn = { class: "mwnf-dxa-how-to" }, Tn = {
|
|
258
258
|
key: 1,
|
|
259
259
|
class: "mwnf-dxa-no-results"
|
|
260
|
-
},
|
|
260
|
+
}, En = {
|
|
261
261
|
__name: "SearchResults",
|
|
262
262
|
setup(t) {
|
|
263
|
-
let n =
|
|
263
|
+
let n = It("items", {
|
|
264
264
|
grammar: "boolean",
|
|
265
265
|
haystack: ie
|
|
266
|
-
}), r =
|
|
267
|
-
|
|
266
|
+
}), r = V(!1);
|
|
267
|
+
_e().then(() => {
|
|
268
268
|
r.value = !0;
|
|
269
269
|
});
|
|
270
270
|
function i(e) {
|
|
271
271
|
return !e || e === "all-objects";
|
|
272
272
|
}
|
|
273
|
-
let a =
|
|
273
|
+
let a = V(""), o = M(() => ({
|
|
274
274
|
entity: "items",
|
|
275
275
|
keys: ["q"],
|
|
276
276
|
sort: !1,
|
|
@@ -289,67 +289,67 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
289
289
|
value: `${n("catalogue.results.outOf")} ${r} ${n("catalogue.results.objects")}`
|
|
290
290
|
}]
|
|
291
291
|
}));
|
|
292
|
-
return (t, n) => (
|
|
292
|
+
return (t, n) => (B(), N(D, {
|
|
293
293
|
spec: o.value,
|
|
294
294
|
class: "mwnf-dxa-search-results"
|
|
295
295
|
}, {
|
|
296
|
-
before:
|
|
297
|
-
filters:
|
|
296
|
+
before: G(() => [R(e)]),
|
|
297
|
+
filters: G(({ apply: e }) => [I("form", {
|
|
298
298
|
class: "mwnf-dxa-refine-search",
|
|
299
|
-
onSubmit:
|
|
300
|
-
}, [
|
|
299
|
+
onSubmit: Tt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
300
|
+
}, [wt(I("input", {
|
|
301
301
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
302
302
|
type: "text",
|
|
303
303
|
class: "mwnf-dxa-refine-search-input",
|
|
304
304
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
305
|
-
}, null, 8,
|
|
306
|
-
default:
|
|
305
|
+
}, null, 8, Sn), [[St, a.value]]), I("button", Cn, U(t.$t("catalogue.search.submit")), 1)], 40, xn), I("p", wn, [R(W(Q), { to: { name: "search-how-to" } }, {
|
|
306
|
+
default: G(() => [L(U(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
307
307
|
_: 1
|
|
308
308
|
})])]),
|
|
309
|
-
records:
|
|
309
|
+
records: G(({ rows: e }) => [e.length ? (B(), N(bn, {
|
|
310
310
|
key: 0,
|
|
311
311
|
rows: e
|
|
312
|
-
}, null, 8, ["rows"])) : (
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
default:
|
|
312
|
+
}, null, 8, ["rows"])) : (B(), F("p", Tn, [
|
|
313
|
+
L(U(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
314
|
+
R(W(Q), { to: { name: "search-how-to" } }, {
|
|
315
|
+
default: G(() => [L(U(t.$t("catalogue.search.howTo")), 1)]),
|
|
316
316
|
_: 1
|
|
317
317
|
}),
|
|
318
|
-
n[1] ||=
|
|
319
|
-
|
|
320
|
-
default:
|
|
318
|
+
n[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
319
|
+
R(W(Q), { to: { name: "collection" } }, {
|
|
320
|
+
default: G(() => [L(U(t.$t("core.section.collection")), 1)]),
|
|
321
321
|
_: 1
|
|
322
322
|
})
|
|
323
323
|
]))]),
|
|
324
324
|
_: 1
|
|
325
325
|
}, 8, ["spec"]));
|
|
326
326
|
}
|
|
327
|
-
},
|
|
327
|
+
}, Dn = {
|
|
328
328
|
__name: "TimelineResults",
|
|
329
329
|
setup(t) {
|
|
330
|
-
return (t, n) => (
|
|
331
|
-
spec:
|
|
330
|
+
return (t, n) => (B(), N(O, {
|
|
331
|
+
spec: W(ce),
|
|
332
332
|
class: "mwnf-dxa-timeline-results"
|
|
333
333
|
}, {
|
|
334
|
-
before:
|
|
334
|
+
before: G(() => [R(e)]),
|
|
335
335
|
_: 1
|
|
336
336
|
}, 8, ["spec"]));
|
|
337
337
|
}
|
|
338
|
-
},
|
|
338
|
+
}, On = { class: "mwnf-dxa-back-to-events" }, kn = {
|
|
339
339
|
key: 1,
|
|
340
340
|
class: "mwnf-record-grid__empty"
|
|
341
|
-
},
|
|
341
|
+
}, An = {
|
|
342
342
|
__name: "TimelineGallery",
|
|
343
343
|
setup(t) {
|
|
344
|
-
return (t, n) => (
|
|
344
|
+
return (t, n) => (B(), N(D, {
|
|
345
345
|
spec: {
|
|
346
|
-
...
|
|
347
|
-
...
|
|
346
|
+
...W(l),
|
|
347
|
+
...W(_)
|
|
348
348
|
},
|
|
349
349
|
class: "mwnf-dxa-timeline-gallery"
|
|
350
350
|
}, {
|
|
351
|
-
before:
|
|
352
|
-
actions:
|
|
351
|
+
before: G(() => [R(e)]),
|
|
352
|
+
actions: G(({ filters: e, pageInfo: n, goToPage: r }) => [I("p", On, [R(W(Q), { to: {
|
|
353
353
|
name: "timeline-results",
|
|
354
354
|
query: {
|
|
355
355
|
country: e.country,
|
|
@@ -357,69 +357,69 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
357
357
|
end: e.end
|
|
358
358
|
}
|
|
359
359
|
} }, {
|
|
360
|
-
default:
|
|
360
|
+
default: G(() => [L(" ➤ " + U(t.$t("timeline.nav.backToEvents")), 1)]),
|
|
361
361
|
_: 1
|
|
362
|
-
}, 8, ["to"])]),
|
|
362
|
+
}, 8, ["to"])]), R(i, {
|
|
363
363
|
class: "mwnf-dxa-pages",
|
|
364
364
|
"page-info": n,
|
|
365
365
|
jump: "",
|
|
366
366
|
onNavigate: r
|
|
367
367
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
368
|
-
records:
|
|
368
|
+
records: G(({ rows: e, empty: t }) => [e.length ? (B(), N(bn, {
|
|
369
369
|
key: 0,
|
|
370
370
|
rows: e
|
|
371
|
-
}, null, 8, ["rows"])) : (
|
|
371
|
+
}, null, 8, ["rows"])) : (B(), F("p", kn, U(t), 1))]),
|
|
372
372
|
_: 1
|
|
373
373
|
}, 8, ["spec"]));
|
|
374
374
|
}
|
|
375
|
-
},
|
|
375
|
+
}, jn = {
|
|
376
376
|
key: 1,
|
|
377
377
|
class: "mwnf-record-grid__empty"
|
|
378
|
-
},
|
|
378
|
+
}, Mn = { class: "mwnf-dxa-date-wrapper" }, Nn = {
|
|
379
379
|
key: 0,
|
|
380
380
|
class: "mwnf-dxa-timeline-link-box"
|
|
381
|
-
},
|
|
381
|
+
}, Pn = { class: "mwnf-dxa-options-label" }, Fn = {
|
|
382
382
|
__name: "CollectionResults",
|
|
383
383
|
setup(r) {
|
|
384
|
-
let a =
|
|
384
|
+
let a = Bt(), { t: o } = Y(), s = ee(), c = pe.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
|
|
385
385
|
function u() {
|
|
386
386
|
a.push({ name: "collection" });
|
|
387
387
|
}
|
|
388
|
-
let d =
|
|
388
|
+
let d = M(() => new Set((p.value ?? []).map((e) => e.country_id)));
|
|
389
389
|
function f(e) {
|
|
390
|
-
let t =
|
|
390
|
+
let t = he(e.country);
|
|
391
391
|
return !!(t && d.value.has(t));
|
|
392
392
|
}
|
|
393
|
-
return (r, a) => (
|
|
393
|
+
return (r, a) => (B(), N(D, {
|
|
394
394
|
spec: {
|
|
395
|
-
...
|
|
396
|
-
...
|
|
395
|
+
...W(pe),
|
|
396
|
+
...W(_)
|
|
397
397
|
},
|
|
398
398
|
class: "mwnf-dxa-collection-results"
|
|
399
399
|
}, {
|
|
400
|
-
before:
|
|
401
|
-
actions:
|
|
400
|
+
before: G(() => [R(e)]),
|
|
401
|
+
actions: G(({ pageInfo: e, goToPage: t }) => [R(i, {
|
|
402
402
|
class: "mwnf-dxa-pages",
|
|
403
403
|
"page-info": e,
|
|
404
404
|
jump: "",
|
|
405
405
|
onNavigate: t
|
|
406
406
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
407
|
-
records:
|
|
407
|
+
records: G(({ rows: e }) => [e.length ? (B(), N(bn, {
|
|
408
408
|
key: 0,
|
|
409
409
|
rows: e
|
|
410
|
-
}, null, 8, ["rows"])) : (
|
|
410
|
+
}, null, 8, ["rows"])) : (B(), F("p", jn, [L(U(r.$t("catalogue.results.noResults")) + " ", 1), I("button", {
|
|
411
411
|
class: "mwnf-dxa-linkish",
|
|
412
412
|
onClick: a[0] ||= (e) => u()
|
|
413
|
-
},
|
|
414
|
-
aside:
|
|
413
|
+
}, U(r.$t("catalogue.results.resetFilters")), 1)]))]),
|
|
414
|
+
aside: G(({ filters: e, apply: i, matching: c, options: d }) => [R(n, {
|
|
415
415
|
mode: "immediate",
|
|
416
416
|
title: l(e) ? r.$t("catalogue.facet.filterBy") : r.$t("catalogue.facet.filterFurtherBy"),
|
|
417
417
|
"reset-label": r.$t("catalogue.results.resetFilters"),
|
|
418
418
|
disabled: c.length === 0,
|
|
419
419
|
onReset: a[1] ||= (e) => u()
|
|
420
420
|
}, {
|
|
421
|
-
default:
|
|
422
|
-
|
|
421
|
+
default: G(() => [
|
|
422
|
+
R(t, {
|
|
423
423
|
"model-value": e.country,
|
|
424
424
|
options: d.country,
|
|
425
425
|
placeholder: r.$t("catalogue.facet.selectCountry"),
|
|
@@ -430,11 +430,11 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
430
430
|
"placeholder",
|
|
431
431
|
"onUpdate:modelValue"
|
|
432
432
|
]),
|
|
433
|
-
(
|
|
433
|
+
(B(!0), F(j, null, H(W(fe), (n) => (B(), N(t, {
|
|
434
434
|
key: n,
|
|
435
435
|
"model-value": e[n],
|
|
436
436
|
options: d[n],
|
|
437
|
-
placeholder:
|
|
437
|
+
placeholder: W(s)[n],
|
|
438
438
|
"hide-empty": "",
|
|
439
439
|
"onUpdate:modelValue": (e) => i({ [n]: e })
|
|
440
440
|
}, null, 8, [
|
|
@@ -443,9 +443,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
443
443
|
"placeholder",
|
|
444
444
|
"onUpdate:modelValue"
|
|
445
445
|
]))), 128)),
|
|
446
|
-
|
|
446
|
+
I("div", Mn, [R(t, {
|
|
447
447
|
"model-value": e.from,
|
|
448
|
-
options:
|
|
448
|
+
options: W(Z)(c, W(o)),
|
|
449
449
|
placeholder: r.$t("catalogue.facet.startDate"),
|
|
450
450
|
"onUpdate:modelValue": (e) => i({ from: e })
|
|
451
451
|
}, null, 8, [
|
|
@@ -453,9 +453,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
453
453
|
"options",
|
|
454
454
|
"placeholder",
|
|
455
455
|
"onUpdate:modelValue"
|
|
456
|
-
]),
|
|
456
|
+
]), R(t, {
|
|
457
457
|
"model-value": e.to,
|
|
458
|
-
options:
|
|
458
|
+
options: W(Z)(c, W(o)),
|
|
459
459
|
placeholder: r.$t("catalogue.facet.endDate"),
|
|
460
460
|
"onUpdate:modelValue": (e) => i({ to: e })
|
|
461
461
|
}, null, 8, [
|
|
@@ -470,7 +470,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
470
470
|
"title",
|
|
471
471
|
"reset-label",
|
|
472
472
|
"disabled"
|
|
473
|
-
]), f(e) ? (
|
|
473
|
+
]), f(e) ? (B(), F("div", Nn, [I("div", Pn, U(r.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [a[2] ||= L(" ➤ ", -1), R(W(Q), { to: {
|
|
474
474
|
name: "timeline-results",
|
|
475
475
|
query: {
|
|
476
476
|
country: e.country,
|
|
@@ -478,16 +478,16 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
478
478
|
end: e.to
|
|
479
479
|
}
|
|
480
480
|
} }, {
|
|
481
|
-
default:
|
|
481
|
+
default: G(() => [L(U(r.$t("core.section.timeline")) + " | " + U(W(y)("countries", W(he)(e.country))), 1)]),
|
|
482
482
|
_: 2
|
|
483
|
-
}, 1032, ["to"])])])) :
|
|
483
|
+
}, 1032, ["to"])])])) : P("", !0)]),
|
|
484
484
|
_: 1
|
|
485
485
|
}, 8, ["spec"]));
|
|
486
486
|
}
|
|
487
|
-
},
|
|
487
|
+
}, In = { class: "mwnf-dxa-collection-search" }, Ln = { class: "mwnf-dxa-dropdown-label" }, Rn = {
|
|
488
488
|
__name: "CollectionSearch",
|
|
489
489
|
setup(e) {
|
|
490
|
-
let t =
|
|
490
|
+
let t = Ft(oe, ge), n = M(() => fe.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
|
|
491
491
|
mode: "facets",
|
|
492
492
|
target: "collection-results",
|
|
493
493
|
entity: "items",
|
|
@@ -499,71 +499,71 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
499
499
|
options: t.value.country
|
|
500
500
|
}, ...n.value.map((e) => ({
|
|
501
501
|
key: e,
|
|
502
|
-
label:
|
|
502
|
+
label: me[e],
|
|
503
503
|
options: t.value[e]
|
|
504
504
|
}))]
|
|
505
505
|
}));
|
|
506
|
-
return (e, t) => (
|
|
507
|
-
before:
|
|
506
|
+
return (e, t) => (B(), F("div", In, [R(nt, { spec: r.value }, {
|
|
507
|
+
before: G(() => [I("div", Ln, U(e.$t("catalogue.facet.filterBy")), 1)]),
|
|
508
508
|
_: 1
|
|
509
|
-
}, 8, ["spec"]),
|
|
509
|
+
}, 8, ["spec"]), R(W(K), {
|
|
510
510
|
id: "mwnf-dxa-collection-search-description",
|
|
511
511
|
class: "mwnf-dxa-description mwnf-prose",
|
|
512
512
|
dir: "auto",
|
|
513
513
|
keypath: "gallery.collection.intro"
|
|
514
514
|
})]));
|
|
515
515
|
}
|
|
516
|
-
},
|
|
516
|
+
}, zn = {
|
|
517
517
|
key: 0,
|
|
518
518
|
class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
|
|
519
|
-
},
|
|
519
|
+
}, Bn = { class: "mwnf-dxa-gallery-objects__header" }, Vn = ["innerHTML"], Hn = {
|
|
520
520
|
key: 0,
|
|
521
521
|
class: "mwnf-dxa-gallery-objects__place"
|
|
522
|
-
},
|
|
522
|
+
}, Un = {
|
|
523
523
|
key: 1,
|
|
524
524
|
class: "mwnf-dxa-gallery-objects__end"
|
|
525
|
-
},
|
|
525
|
+
}, Wn = {
|
|
526
526
|
__name: "PartnerObjects",
|
|
527
527
|
setup(t) {
|
|
528
|
-
let n =
|
|
529
|
-
...
|
|
528
|
+
let n = zt(), r = M(() => ne.value.get(n.params.id) ?? null), a = M(() => ({
|
|
529
|
+
...ve,
|
|
530
530
|
..._,
|
|
531
531
|
scope: (e) => e.partner_id === n.params.id
|
|
532
|
-
})), o =
|
|
533
|
-
return (t, n) => r.value ? (
|
|
534
|
-
before:
|
|
532
|
+
})), o = M(() => r.value ? ye.view(r.value, m("partners", r.value.id, re)) : null), s = M(() => [o.value?.city, o.value?.country].filter(Boolean).join(", "));
|
|
533
|
+
return (t, n) => r.value ? (B(), F("div", zn, [R(D, { spec: a.value }, {
|
|
534
|
+
before: G(() => [R(e), I("div", Bn, [I("p", {
|
|
535
535
|
class: "mwnf-dxa-gallery-objects__name",
|
|
536
536
|
innerHTML: o.value.name
|
|
537
|
-
}, null, 8,
|
|
538
|
-
actions:
|
|
537
|
+
}, null, 8, Vn), s.value ? (B(), F("p", Hn, U(s.value), 1)) : P("", !0)])]),
|
|
538
|
+
actions: G(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (B(), N(i, {
|
|
539
539
|
key: 0,
|
|
540
540
|
class: "mwnf-dxa-pages",
|
|
541
541
|
"page-info": e,
|
|
542
542
|
jump: "",
|
|
543
543
|
onNavigate: t
|
|
544
|
-
}, null, 8, ["page-info", "onNavigate"])) :
|
|
545
|
-
records:
|
|
546
|
-
pagination:
|
|
544
|
+
}, null, 8, ["page-info", "onNavigate"])) : P("", !0)]),
|
|
545
|
+
records: G(({ rows: e }) => [R(bn, { rows: e }, null, 8, ["rows"])]),
|
|
546
|
+
pagination: G(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (B(), N(i, {
|
|
547
547
|
key: 0,
|
|
548
548
|
class: "mwnf-dxa-pages",
|
|
549
549
|
"page-info": e,
|
|
550
550
|
jump: "",
|
|
551
551
|
onNavigate: t
|
|
552
|
-
}, null, 8, ["page-info", "onNavigate"])) : (
|
|
553
|
-
aside:
|
|
552
|
+
}, null, 8, ["page-info", "onNavigate"])) : (B(), F("div", Un))]),
|
|
553
|
+
aside: G(() => [R(W(Q), {
|
|
554
554
|
class: "mwnf-dxa-gallery-objects__profile",
|
|
555
|
-
to:
|
|
555
|
+
to: W(f)(r.value)
|
|
556
556
|
}, {
|
|
557
|
-
default:
|
|
557
|
+
default: G(() => [n[0] ||= I("span", {
|
|
558
558
|
class: "mwnf-dxa-gallery-objects__profile-arrow",
|
|
559
559
|
"aria-hidden": "true"
|
|
560
|
-
}, "➦", -1),
|
|
560
|
+
}, "➦", -1), L(U(t.$t("partner.action.partnerProfile")), 1)]),
|
|
561
561
|
_: 1
|
|
562
562
|
}, 8, ["to"])]),
|
|
563
563
|
_: 1
|
|
564
|
-
}, 8, ["spec"])])) :
|
|
564
|
+
}, 8, ["spec"])])) : P("", !0);
|
|
565
565
|
}
|
|
566
|
-
},
|
|
566
|
+
}, Gn = {
|
|
567
567
|
__name: "SearchHowTo",
|
|
568
568
|
setup(e) {
|
|
569
569
|
let t = {
|
|
@@ -573,22 +573,22 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
573
573
|
to: { name: "collection" }
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
|
-
return (e, n) => (
|
|
576
|
+
return (e, n) => (B(), N(rt, {
|
|
577
577
|
spec: t,
|
|
578
578
|
class: "mwnf-dxa-editorial"
|
|
579
579
|
}));
|
|
580
580
|
}
|
|
581
|
-
},
|
|
581
|
+
}, Kn = { class: "mwnf-dxa-partners" }, qn = { class: "mwnf-dxa-partners-options" }, Jn = {
|
|
582
582
|
__name: "Partners",
|
|
583
583
|
setup(t) {
|
|
584
584
|
let n = {
|
|
585
|
-
...
|
|
586
|
-
objectsRoute:
|
|
585
|
+
...we,
|
|
586
|
+
objectsRoute: Ce,
|
|
587
587
|
actions: !0,
|
|
588
588
|
emptyLabel: "exhibition.partner.noObjectsInExhibition"
|
|
589
589
|
};
|
|
590
|
-
return (t, r) => (
|
|
591
|
-
before:
|
|
590
|
+
return (t, r) => (B(), F("div", Kn, [R(tt, { spec: n }, {
|
|
591
|
+
before: G(() => [I("div", qn, [R(e)]), R(W(K), {
|
|
592
592
|
id: "mwnf-dxa-partners-intro",
|
|
593
593
|
class: "mwnf-prose",
|
|
594
594
|
dir: "auto",
|
|
@@ -597,26 +597,26 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
597
597
|
_: 1
|
|
598
598
|
})]));
|
|
599
599
|
}
|
|
600
|
-
},
|
|
600
|
+
}, Yn = ["onSubmit"], Xn = ["placeholder"], Zn = {
|
|
601
601
|
type: "submit",
|
|
602
602
|
class: "mwnf-dxa-refine-search-submit"
|
|
603
|
-
},
|
|
603
|
+
}, Qn = { class: "mwnf-dxa-how-to" }, $n = { class: "mwnf-dxa-no-results" }, er = {
|
|
604
604
|
__name: "SearchResults",
|
|
605
605
|
setup(t) {
|
|
606
|
-
let n =
|
|
606
|
+
let n = It("items", {
|
|
607
607
|
grammar: "boolean",
|
|
608
|
-
haystack:
|
|
609
|
-
}), r =
|
|
610
|
-
|
|
608
|
+
haystack: Pe
|
|
609
|
+
}), r = V(!1);
|
|
610
|
+
Ne().then(() => {
|
|
611
611
|
r.value = !0;
|
|
612
612
|
});
|
|
613
613
|
function i(e) {
|
|
614
614
|
return !e || e === "all-objects";
|
|
615
615
|
}
|
|
616
|
-
let a =
|
|
616
|
+
let a = V(""), o = M(() => ({
|
|
617
617
|
entity: "items",
|
|
618
618
|
keys: ["q"],
|
|
619
|
-
scope: (e) =>
|
|
619
|
+
scope: (e) => T.value.has(e.id),
|
|
620
620
|
sort: !1,
|
|
621
621
|
narrow: (e, t) => {
|
|
622
622
|
if (!r.value) return [];
|
|
@@ -624,114 +624,114 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
624
624
|
let a = new Set(e.map((e) => e.id));
|
|
625
625
|
return n.search(t.q).filter((e) => a.has(e.id));
|
|
626
626
|
},
|
|
627
|
-
pageSize:
|
|
627
|
+
pageSize: Ve,
|
|
628
628
|
variant: "grid",
|
|
629
629
|
recordRoute: "item",
|
|
630
630
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
631
|
-
record: (e, { t }) =>
|
|
631
|
+
record: (e, { t }) => He(e, t),
|
|
632
632
|
pagination: { jump: !0 },
|
|
633
633
|
summary: ({ filters: e, pageInfo: t, t: n }) => [{
|
|
634
634
|
label: n("core.section.database"),
|
|
635
635
|
value: i(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
|
|
636
636
|
}, {
|
|
637
637
|
count: t.total,
|
|
638
|
-
value: `${n("catalogue.results.outOf")} ${
|
|
638
|
+
value: `${n("catalogue.results.outOf")} ${T.value.size} ${n("catalogue.results.objects")}`
|
|
639
639
|
}]
|
|
640
640
|
}));
|
|
641
|
-
return (t, n) => (
|
|
641
|
+
return (t, n) => (B(), N(D, {
|
|
642
642
|
spec: o.value,
|
|
643
643
|
class: "mwnf-dxa-search-results"
|
|
644
644
|
}, {
|
|
645
|
-
before:
|
|
646
|
-
filters:
|
|
645
|
+
before: G(() => [R(e)]),
|
|
646
|
+
filters: G(({ apply: e }) => [I("form", {
|
|
647
647
|
class: "mwnf-dxa-refine-search",
|
|
648
|
-
onSubmit:
|
|
649
|
-
}, [
|
|
648
|
+
onSubmit: Tt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
|
|
649
|
+
}, [wt(I("input", {
|
|
650
650
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
651
651
|
type: "text",
|
|
652
652
|
class: "mwnf-dxa-refine-search-input",
|
|
653
653
|
placeholder: t.$t("catalogue.search.keywordPlaceholder")
|
|
654
|
-
}, null, 8,
|
|
655
|
-
default:
|
|
654
|
+
}, null, 8, Xn), [[St, a.value]]), I("button", Zn, U(t.$t("catalogue.search.submit")), 1)], 40, Yn), I("p", Qn, [R(W(Q), { to: { name: "search-how-to" } }, {
|
|
655
|
+
default: G(() => [L(U(t.$t("catalogue.search.howTo")) + " ›", 1)]),
|
|
656
656
|
_: 1
|
|
657
657
|
})])]),
|
|
658
|
-
empty:
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
default:
|
|
658
|
+
empty: G(() => [I("p", $n, [
|
|
659
|
+
L(U(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
|
|
660
|
+
R(W(Q), { to: { name: "search-how-to" } }, {
|
|
661
|
+
default: G(() => [L(U(t.$t("catalogue.search.howTo")), 1)]),
|
|
662
662
|
_: 1
|
|
663
663
|
}),
|
|
664
|
-
n[1] ||=
|
|
665
|
-
|
|
666
|
-
default:
|
|
664
|
+
n[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
|
|
665
|
+
R(W(Q), { to: { name: "collection" } }, {
|
|
666
|
+
default: G(() => [L(U(t.$t("core.section.collection")), 1)]),
|
|
667
667
|
_: 1
|
|
668
668
|
})
|
|
669
669
|
])]),
|
|
670
670
|
_: 1
|
|
671
671
|
}, 8, ["spec"]));
|
|
672
672
|
}
|
|
673
|
-
},
|
|
673
|
+
}, tr = {
|
|
674
674
|
__name: "TimelineResults",
|
|
675
675
|
setup(t) {
|
|
676
|
-
return (t, n) => (
|
|
677
|
-
spec:
|
|
676
|
+
return (t, n) => (B(), N(O, {
|
|
677
|
+
spec: W(ke),
|
|
678
678
|
class: "mwnf-dxa-timeline-results"
|
|
679
679
|
}, {
|
|
680
|
-
before:
|
|
680
|
+
before: G(() => [R(e)]),
|
|
681
681
|
_: 1
|
|
682
682
|
}, 8, ["spec"]));
|
|
683
683
|
}
|
|
684
|
-
},
|
|
684
|
+
}, nr = {
|
|
685
685
|
__name: "TimelineGallery",
|
|
686
686
|
setup(t) {
|
|
687
|
-
return (t, n) => (
|
|
688
|
-
spec:
|
|
687
|
+
return (t, n) => (B(), N(D, {
|
|
688
|
+
spec: W(Oe),
|
|
689
689
|
class: "mwnf-dxa-timeline-gallery"
|
|
690
690
|
}, {
|
|
691
|
-
before:
|
|
691
|
+
before: G(() => [R(e)]),
|
|
692
692
|
_: 1
|
|
693
693
|
}, 8, ["spec"]));
|
|
694
694
|
}
|
|
695
|
-
},
|
|
695
|
+
}, rr = { class: "mwnf-dxa-date-wrapper" }, ir = {
|
|
696
696
|
key: 0,
|
|
697
697
|
class: "mwnf-dxa-timeline-link-box"
|
|
698
|
-
},
|
|
698
|
+
}, ar = { class: "mwnf-dxa-options-label" }, or = {
|
|
699
699
|
__name: "CollectionResults",
|
|
700
700
|
setup(r) {
|
|
701
|
-
let a =
|
|
701
|
+
let a = Bt(), { t: o } = Y(), s = Ee(), c = Ye.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
|
|
702
702
|
function u() {
|
|
703
703
|
a.push({ name: "collection" });
|
|
704
704
|
}
|
|
705
|
-
let d =
|
|
705
|
+
let d = M(() => new Set((je.value ?? []).map((e) => e.country_id)));
|
|
706
706
|
function f(e) {
|
|
707
|
-
if (!
|
|
708
|
-
let t =
|
|
707
|
+
if (!ze.value) return !1;
|
|
708
|
+
let t = We(e.country);
|
|
709
709
|
return !!(t && d.value.has(t));
|
|
710
710
|
}
|
|
711
|
-
return (r, a) => (
|
|
712
|
-
spec:
|
|
711
|
+
return (r, a) => (B(), N(D, {
|
|
712
|
+
spec: W(Ye),
|
|
713
713
|
class: "mwnf-dxa-collection-results"
|
|
714
714
|
}, {
|
|
715
|
-
before:
|
|
716
|
-
actions:
|
|
715
|
+
before: G(() => [R(e)]),
|
|
716
|
+
actions: G(({ pageInfo: e, goToPage: t }) => [R(i, {
|
|
717
717
|
class: "mwnf-dxa-pages",
|
|
718
718
|
"page-info": e,
|
|
719
719
|
jump: "",
|
|
720
720
|
onNavigate: t
|
|
721
721
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
722
|
-
empty:
|
|
722
|
+
empty: G(() => [L(U(r.$t("catalogue.results.noResults")) + " ", 1), I("button", {
|
|
723
723
|
class: "mwnf-dxa-linkish",
|
|
724
724
|
onClick: a[0] ||= (e) => u()
|
|
725
|
-
},
|
|
726
|
-
aside:
|
|
725
|
+
}, U(r.$t("catalogue.results.resetFilters")), 1)]),
|
|
726
|
+
aside: G(({ filters: e, apply: i, matching: c, options: d }) => [R(n, {
|
|
727
727
|
mode: "immediate",
|
|
728
728
|
title: l(e) ? r.$t("catalogue.facet.filterBy") : r.$t("catalogue.facet.filterFurtherBy"),
|
|
729
729
|
"reset-label": r.$t("catalogue.results.resetFilters"),
|
|
730
730
|
disabled: c.length === 0,
|
|
731
731
|
onReset: a[1] ||= (e) => u()
|
|
732
732
|
}, {
|
|
733
|
-
default:
|
|
734
|
-
|
|
733
|
+
default: G(() => [
|
|
734
|
+
R(t, {
|
|
735
735
|
"model-value": e.country,
|
|
736
736
|
options: d.country,
|
|
737
737
|
placeholder: r.$t("catalogue.facet.selectCountry"),
|
|
@@ -742,11 +742,11 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
742
742
|
"placeholder",
|
|
743
743
|
"onUpdate:modelValue"
|
|
744
744
|
]),
|
|
745
|
-
(
|
|
745
|
+
(B(!0), F(j, null, H(W(Ke), (n) => (B(), N(t, {
|
|
746
746
|
key: n,
|
|
747
747
|
"model-value": e[n],
|
|
748
748
|
options: d[n],
|
|
749
|
-
placeholder:
|
|
749
|
+
placeholder: W(s)[n],
|
|
750
750
|
"hide-empty": "",
|
|
751
751
|
"onUpdate:modelValue": (e) => i({ [n]: e })
|
|
752
752
|
}, null, 8, [
|
|
@@ -755,9 +755,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
755
755
|
"placeholder",
|
|
756
756
|
"onUpdate:modelValue"
|
|
757
757
|
]))), 128)),
|
|
758
|
-
|
|
758
|
+
I("div", rr, [R(t, {
|
|
759
759
|
"model-value": e.from,
|
|
760
|
-
options:
|
|
760
|
+
options: W(Z)(c, W(o)),
|
|
761
761
|
placeholder: r.$t("catalogue.facet.startDate"),
|
|
762
762
|
"onUpdate:modelValue": (e) => i({ from: e })
|
|
763
763
|
}, null, 8, [
|
|
@@ -765,9 +765,9 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
765
765
|
"options",
|
|
766
766
|
"placeholder",
|
|
767
767
|
"onUpdate:modelValue"
|
|
768
|
-
]),
|
|
768
|
+
]), R(t, {
|
|
769
769
|
"model-value": e.to,
|
|
770
|
-
options:
|
|
770
|
+
options: W(Z)(c, W(o)),
|
|
771
771
|
placeholder: r.$t("catalogue.facet.endDate"),
|
|
772
772
|
"onUpdate:modelValue": (e) => i({ to: e })
|
|
773
773
|
}, null, 8, [
|
|
@@ -782,24 +782,24 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
782
782
|
"title",
|
|
783
783
|
"reset-label",
|
|
784
784
|
"disabled"
|
|
785
|
-
]), f(e) ? (
|
|
785
|
+
]), f(e) ? (B(), F("div", ir, [I("div", ar, U(r.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [a[2] ||= L(" ➤ ", -1), R(W(Q), { to: {
|
|
786
786
|
name: "timeline-results",
|
|
787
787
|
query: {
|
|
788
|
-
country:
|
|
788
|
+
country: W(We)(e.country),
|
|
789
789
|
begin: e.from,
|
|
790
790
|
end: e.to
|
|
791
791
|
}
|
|
792
792
|
} }, {
|
|
793
|
-
default:
|
|
793
|
+
default: G(() => [L(U(r.$t("core.section.timeline")) + " | " + U(W(Qe)("countries", W(We)(e.country))), 1)]),
|
|
794
794
|
_: 2
|
|
795
|
-
}, 1032, ["to"])])])) :
|
|
795
|
+
}, 1032, ["to"])])])) : P("", !0)]),
|
|
796
796
|
_: 1
|
|
797
797
|
}, 8, ["spec"]));
|
|
798
798
|
}
|
|
799
|
-
},
|
|
799
|
+
}, sr = { class: "mwnf-dxa-collection-search" }, cr = {
|
|
800
800
|
__name: "CollectionSearch",
|
|
801
801
|
setup(e) {
|
|
802
|
-
let t =
|
|
802
|
+
let t = Ft(Ie, Xe), n = M(() => Ke.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
|
|
803
803
|
mode: "facets",
|
|
804
804
|
target: "collection-results",
|
|
805
805
|
dates: "buckets",
|
|
@@ -810,12 +810,12 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
810
810
|
options: t.value.country
|
|
811
811
|
}, ...n.value.map((e) => ({
|
|
812
812
|
key: e,
|
|
813
|
-
label:
|
|
813
|
+
label: Je[e],
|
|
814
814
|
options: t.value[e]
|
|
815
815
|
}))]
|
|
816
816
|
}));
|
|
817
|
-
return (e, t) => (
|
|
818
|
-
intro:
|
|
817
|
+
return (e, t) => (B(), F("div", sr, [R(nt, { spec: r.value }, {
|
|
818
|
+
intro: G(() => [R(W(K), {
|
|
819
819
|
id: "mwnf-dxa-collection-search-description",
|
|
820
820
|
class: "mwnf-dxa-description mwnf-prose",
|
|
821
821
|
dir: "auto",
|
|
@@ -824,7 +824,7 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
824
824
|
_: 1
|
|
825
825
|
}, 8, ["spec"])]));
|
|
826
826
|
}
|
|
827
|
-
},
|
|
827
|
+
}, lr = { class: "mwnf-dxa-profile-link-container" }, ur = {
|
|
828
828
|
__name: "PartnerObjects",
|
|
829
829
|
props: {
|
|
830
830
|
variant: {
|
|
@@ -837,56 +837,56 @@ var Gt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Kt = { class:
|
|
|
837
837
|
}
|
|
838
838
|
},
|
|
839
839
|
setup(t) {
|
|
840
|
-
let n = t, a =
|
|
840
|
+
let n = t, a = M(() => n.variant === "institution"), o = zt(), s = M(() => De(o.params.id)), c = M(() => s.value ? S.view(s.value, Te("partners", s.value.id, Re)) : null), l = M(() => ({
|
|
841
841
|
entity: "items",
|
|
842
842
|
scope: (e) => e.partner_id === s.value?.id,
|
|
843
843
|
sort: { undated: "first" },
|
|
844
|
-
pageSize:
|
|
844
|
+
pageSize: Ve,
|
|
845
845
|
variant: "grid",
|
|
846
846
|
recordRoute: "item",
|
|
847
847
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
848
848
|
empty: a.value ? n.texts.emptyInstitution : n.texts.emptyPartner,
|
|
849
|
-
record: (e, { t }) =>
|
|
849
|
+
record: (e, { t }) => He(e, t),
|
|
850
850
|
summary: ({ pageInfo: e, t }) => [{
|
|
851
851
|
count: e.total,
|
|
852
852
|
value: t(a.value ? n.texts.institutionSummary : "partner.item.objectsInSite")
|
|
853
853
|
}]
|
|
854
854
|
}));
|
|
855
|
-
return (t, o) => s.value ? (
|
|
855
|
+
return (t, o) => s.value ? (B(), N(D, {
|
|
856
856
|
key: 0,
|
|
857
857
|
spec: l.value,
|
|
858
858
|
class: "mwnf-dxa-partner-objects"
|
|
859
859
|
}, {
|
|
860
|
-
before:
|
|
860
|
+
before: G(() => [R(e), R(r, {
|
|
861
861
|
class: "mwnf-dxa-partner-objects-header",
|
|
862
862
|
variant: "summary",
|
|
863
863
|
heading: 1,
|
|
864
864
|
partner: c.value
|
|
865
865
|
}, null, 8, ["partner"])]),
|
|
866
|
-
actions:
|
|
866
|
+
actions: G(({ pageInfo: e, goToPage: t }) => [R(i, {
|
|
867
867
|
class: "mwnf-dxa-pages",
|
|
868
868
|
"page-info": e,
|
|
869
869
|
jump: "",
|
|
870
870
|
onNavigate: t
|
|
871
871
|
}, null, 8, ["page-info", "onNavigate"])]),
|
|
872
|
-
after:
|
|
872
|
+
after: G(() => [I("div", lr, [R(W(Q), {
|
|
873
873
|
class: "mwnf-dxa-profile-link",
|
|
874
|
-
to:
|
|
874
|
+
to: W(Ae)(s.value)
|
|
875
875
|
}, {
|
|
876
|
-
default:
|
|
876
|
+
default: G(() => [L(" ➤ " + U(a.value ? t.$t(n.texts.institutionProfileLabel) : t.$t(n.texts.partnerProfileLabel)), 1)]),
|
|
877
877
|
_: 1
|
|
878
878
|
}, 8, ["to"])])]),
|
|
879
879
|
_: 1
|
|
880
|
-
}, 8, ["spec"])) :
|
|
880
|
+
}, 8, ["spec"])) : P("", !0);
|
|
881
881
|
}
|
|
882
|
-
},
|
|
882
|
+
}, dr = () => Promise.resolve().then(() => vi), fr = () => Promise.resolve().then(() => Di), pr = () => Promise.resolve().then(() => Wi), mr = () => Promise.resolve().then(() => oa), hr = () => Promise.resolve().then(() => la), gr = () => Promise.resolve().then(() => fa), _r = () => import("./Theme-4RmyRY0x.js").then((e) => e.t), vr = () => Promise.resolve().then(() => ga), yr = () => Promise.resolve().then(() => ba), br = () => Promise.resolve().then(() => Ca), xr = () => Promise.resolve().then(() => Ta), Sr = {
|
|
883
883
|
emptyPartner: "exhibition.partnerObjects.emptyPartner",
|
|
884
884
|
emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
|
|
885
885
|
institutionSummary: "exhibition.partner.monumentsInExhibition",
|
|
886
886
|
partnerProfileLabel: "partner.action.partnerProfile",
|
|
887
887
|
institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
|
|
888
888
|
};
|
|
889
|
-
function
|
|
889
|
+
function Cr(e) {
|
|
890
890
|
let t = jt([
|
|
891
891
|
"gallery",
|
|
892
892
|
"items",
|
|
@@ -898,104 +898,104 @@ function yr(e) {
|
|
|
898
898
|
{
|
|
899
899
|
path: "/",
|
|
900
900
|
name: "home",
|
|
901
|
-
component:
|
|
901
|
+
component: dr,
|
|
902
902
|
meta: t("home")
|
|
903
903
|
},
|
|
904
904
|
{
|
|
905
905
|
path: "/item/:id",
|
|
906
906
|
name: "item",
|
|
907
|
-
component:
|
|
907
|
+
component: fr,
|
|
908
908
|
props: (e) => ({ id: String(e.params.id) }),
|
|
909
909
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
path: "/timeline",
|
|
913
913
|
name: "timeline",
|
|
914
|
-
component:
|
|
914
|
+
component: pr,
|
|
915
915
|
meta: t("timeline", "timelines", "timeline_events")
|
|
916
916
|
}
|
|
917
917
|
] : [],
|
|
918
918
|
{
|
|
919
919
|
path: "/search",
|
|
920
920
|
name: "search-results",
|
|
921
|
-
component:
|
|
921
|
+
component: En,
|
|
922
922
|
meta: t("database")
|
|
923
923
|
},
|
|
924
924
|
{
|
|
925
925
|
path: "/how-to-search",
|
|
926
926
|
name: "search-how-to",
|
|
927
|
-
component:
|
|
927
|
+
component: Kt,
|
|
928
928
|
meta: t("database")
|
|
929
929
|
},
|
|
930
930
|
{
|
|
931
931
|
path: "/partners",
|
|
932
932
|
name: "partners",
|
|
933
|
-
component:
|
|
933
|
+
component: cn,
|
|
934
934
|
meta: t("partners")
|
|
935
935
|
},
|
|
936
936
|
{
|
|
937
937
|
path: "/partner/:id",
|
|
938
938
|
name: "partner",
|
|
939
|
-
component:
|
|
939
|
+
component: Ht,
|
|
940
940
|
props: (e) => ({
|
|
941
941
|
id: String(e.params.id),
|
|
942
|
-
family:
|
|
942
|
+
family: ye
|
|
943
943
|
}),
|
|
944
944
|
meta: t("partners", "languages")
|
|
945
945
|
},
|
|
946
946
|
{
|
|
947
947
|
path: "/partner/:id/objects",
|
|
948
948
|
name: "partner-objects",
|
|
949
|
-
component:
|
|
949
|
+
component: Wn,
|
|
950
950
|
meta: t("partners")
|
|
951
951
|
},
|
|
952
952
|
{
|
|
953
953
|
path: "/timeline-results",
|
|
954
954
|
name: "timeline-results",
|
|
955
|
-
component:
|
|
955
|
+
component: Dn,
|
|
956
956
|
meta: t("timeline", "timelines", "timeline_events")
|
|
957
957
|
},
|
|
958
958
|
{
|
|
959
959
|
path: "/timeline/gallery",
|
|
960
960
|
name: "timeline-gallery",
|
|
961
|
-
component:
|
|
961
|
+
component: An,
|
|
962
962
|
meta: t("timeline", "timelines", "timeline_events")
|
|
963
963
|
},
|
|
964
964
|
{
|
|
965
965
|
path: "/about",
|
|
966
966
|
name: "about",
|
|
967
|
-
component:
|
|
967
|
+
component: Wt,
|
|
968
968
|
meta: t("about")
|
|
969
969
|
},
|
|
970
970
|
{
|
|
971
971
|
path: "/credits",
|
|
972
972
|
name: "credits",
|
|
973
|
-
component:
|
|
973
|
+
component: Gt,
|
|
974
974
|
props: { bodyKey: n },
|
|
975
975
|
meta: t("credits")
|
|
976
976
|
},
|
|
977
977
|
{
|
|
978
978
|
path: "/collection",
|
|
979
979
|
name: "collection",
|
|
980
|
-
component:
|
|
980
|
+
component: Rn,
|
|
981
981
|
meta: t("collection", "tags")
|
|
982
982
|
},
|
|
983
983
|
{
|
|
984
984
|
path: "/collection-results",
|
|
985
985
|
name: "collection-results",
|
|
986
|
-
component:
|
|
986
|
+
component: Fn,
|
|
987
987
|
meta: t("collection", "tags", "timelines")
|
|
988
988
|
}
|
|
989
989
|
];
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function wr(e) {
|
|
992
992
|
let t = jt([
|
|
993
993
|
"exhibition",
|
|
994
994
|
"items",
|
|
995
995
|
"partners",
|
|
996
996
|
"countries"
|
|
997
997
|
]), n = {
|
|
998
|
-
...
|
|
998
|
+
...Sr,
|
|
999
999
|
...e.partnerObjects
|
|
1000
1000
|
};
|
|
1001
1001
|
return [
|
|
@@ -1003,56 +1003,56 @@ function br(e) {
|
|
|
1003
1003
|
{
|
|
1004
1004
|
path: "/",
|
|
1005
1005
|
name: "home",
|
|
1006
|
-
component:
|
|
1006
|
+
component: mr,
|
|
1007
1007
|
meta: t("home")
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
path: "/about",
|
|
1011
1011
|
name: "about",
|
|
1012
|
-
component:
|
|
1012
|
+
component: hr,
|
|
1013
1013
|
meta: t("about", "themes")
|
|
1014
1014
|
},
|
|
1015
1015
|
{
|
|
1016
1016
|
path: "/themes",
|
|
1017
1017
|
name: "themes",
|
|
1018
|
-
component:
|
|
1018
|
+
component: gr,
|
|
1019
1019
|
meta: t("themes", "themes")
|
|
1020
1020
|
},
|
|
1021
1021
|
{
|
|
1022
1022
|
path: "/theme/:id/:subtheme?/:image?",
|
|
1023
1023
|
name: "theme",
|
|
1024
|
-
component:
|
|
1024
|
+
component: _r,
|
|
1025
1025
|
meta: t("themes", "themes", "glossary", "dynasties")
|
|
1026
1026
|
},
|
|
1027
1027
|
{
|
|
1028
1028
|
path: "/theme-gallery/:id",
|
|
1029
1029
|
name: "theme-gallery",
|
|
1030
|
-
component:
|
|
1030
|
+
component: vr,
|
|
1031
1031
|
meta: t("themes", "themes")
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
1034
|
path: "/item/:id",
|
|
1035
1035
|
name: "item",
|
|
1036
|
-
component:
|
|
1036
|
+
component: yr,
|
|
1037
1037
|
props: (e) => ({ id: String(e.params.id) }),
|
|
1038
1038
|
meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
|
|
1039
1039
|
},
|
|
1040
1040
|
{
|
|
1041
1041
|
path: "/related",
|
|
1042
1042
|
name: "related",
|
|
1043
|
-
component:
|
|
1043
|
+
component: br,
|
|
1044
1044
|
meta: t("related", "related_content")
|
|
1045
1045
|
},
|
|
1046
1046
|
{
|
|
1047
1047
|
path: "/timeline",
|
|
1048
1048
|
name: "timeline",
|
|
1049
|
-
component:
|
|
1049
|
+
component: xr,
|
|
1050
1050
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1051
1051
|
},
|
|
1052
1052
|
...e.creditsBody ? [{
|
|
1053
1053
|
path: "/credits",
|
|
1054
1054
|
name: "credits",
|
|
1055
|
-
component:
|
|
1055
|
+
component: rt,
|
|
1056
1056
|
props: { spec: {
|
|
1057
1057
|
body: e.creditsBody,
|
|
1058
1058
|
back: !0
|
|
@@ -1063,45 +1063,45 @@ function br(e) {
|
|
|
1063
1063
|
{
|
|
1064
1064
|
path: "/search",
|
|
1065
1065
|
name: "search-results",
|
|
1066
|
-
component:
|
|
1066
|
+
component: er,
|
|
1067
1067
|
meta: t("database")
|
|
1068
1068
|
},
|
|
1069
1069
|
{
|
|
1070
1070
|
path: "/how-to-search",
|
|
1071
1071
|
name: "search-how-to",
|
|
1072
|
-
component:
|
|
1072
|
+
component: Gn,
|
|
1073
1073
|
meta: t("database")
|
|
1074
1074
|
},
|
|
1075
1075
|
{
|
|
1076
1076
|
path: "/partners",
|
|
1077
1077
|
name: "partners",
|
|
1078
|
-
component:
|
|
1078
|
+
component: Jn,
|
|
1079
1079
|
meta: t("partners")
|
|
1080
1080
|
},
|
|
1081
1081
|
{
|
|
1082
1082
|
path: "/partner/:id",
|
|
1083
1083
|
name: "partner",
|
|
1084
|
-
component:
|
|
1084
|
+
component: Ht,
|
|
1085
1085
|
props: (e) => ({
|
|
1086
1086
|
id: String(e.params.id),
|
|
1087
|
-
family:
|
|
1087
|
+
family: S
|
|
1088
1088
|
}),
|
|
1089
1089
|
meta: t("partners", "languages")
|
|
1090
1090
|
},
|
|
1091
1091
|
{
|
|
1092
1092
|
path: "/partner/:id/objects",
|
|
1093
1093
|
name: "partner-objects",
|
|
1094
|
-
component:
|
|
1094
|
+
component: ur,
|
|
1095
1095
|
props: { texts: n },
|
|
1096
1096
|
meta: t("partners")
|
|
1097
1097
|
},
|
|
1098
1098
|
{
|
|
1099
1099
|
path: "/institution/:id",
|
|
1100
1100
|
name: "institution",
|
|
1101
|
-
component:
|
|
1101
|
+
component: Ht,
|
|
1102
1102
|
props: (e) => ({
|
|
1103
1103
|
id: String(e.params.id),
|
|
1104
|
-
family:
|
|
1104
|
+
family: S,
|
|
1105
1105
|
variant: "institution"
|
|
1106
1106
|
}),
|
|
1107
1107
|
meta: t("partners", "languages")
|
|
@@ -1109,7 +1109,7 @@ function br(e) {
|
|
|
1109
1109
|
{
|
|
1110
1110
|
path: "/institution/:id/monuments",
|
|
1111
1111
|
name: "institution-monuments",
|
|
1112
|
-
component:
|
|
1112
|
+
component: ur,
|
|
1113
1113
|
props: {
|
|
1114
1114
|
variant: "institution",
|
|
1115
1115
|
texts: n
|
|
@@ -1119,36 +1119,36 @@ function br(e) {
|
|
|
1119
1119
|
{
|
|
1120
1120
|
path: "/timeline-results",
|
|
1121
1121
|
name: "timeline-results",
|
|
1122
|
-
component:
|
|
1122
|
+
component: tr,
|
|
1123
1123
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1124
1124
|
},
|
|
1125
1125
|
{
|
|
1126
1126
|
path: "/timeline/gallery",
|
|
1127
1127
|
name: "timeline-gallery",
|
|
1128
|
-
component:
|
|
1128
|
+
component: nr,
|
|
1129
1129
|
meta: t("timeline", "timelines", "timeline_events")
|
|
1130
1130
|
},
|
|
1131
1131
|
{
|
|
1132
1132
|
path: "/collection",
|
|
1133
1133
|
name: "collection",
|
|
1134
|
-
component:
|
|
1134
|
+
component: cr,
|
|
1135
1135
|
meta: t("collection", "tags")
|
|
1136
1136
|
},
|
|
1137
1137
|
{
|
|
1138
1138
|
path: "/collection-results",
|
|
1139
1139
|
name: "collection-results",
|
|
1140
|
-
component:
|
|
1140
|
+
component: or,
|
|
1141
1141
|
meta: t("collection", "tags", "timelines")
|
|
1142
1142
|
}
|
|
1143
1143
|
];
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1146
|
-
if (e === "gallery") return
|
|
1147
|
-
if (e === "exhibition") return
|
|
1145
|
+
function Tr(e, t = {}) {
|
|
1146
|
+
if (e === "gallery") return Cr(t);
|
|
1147
|
+
if (e === "exhibition") return wr(t);
|
|
1148
1148
|
throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
|
|
1149
1149
|
}
|
|
1150
1150
|
// node_modules/@museumwnf/viewer-core/src/legacy/index.js
|
|
1151
|
-
function
|
|
1151
|
+
function Er(e, t = []) {
|
|
1152
1152
|
let n = String(e?.backward_compatibility ?? "").split(":");
|
|
1153
1153
|
if (n[0] === "mwnf3_sharing_history") {
|
|
1154
1154
|
let t = n[2] ?? e?.id ?? "";
|
|
@@ -1167,18 +1167,18 @@ function Sr(e, t = []) {
|
|
|
1167
1167
|
countryCode: r?.code ?? ""
|
|
1168
1168
|
};
|
|
1169
1169
|
}
|
|
1170
|
-
function
|
|
1170
|
+
function Dr(e, t, n, r) {
|
|
1171
1171
|
return (e ?? []).find((e) => {
|
|
1172
|
-
let i =
|
|
1172
|
+
let i = Er(e, t);
|
|
1173
1173
|
return i.legacyId === r && i.countryCode === n;
|
|
1174
1174
|
}) ?? null;
|
|
1175
1175
|
}
|
|
1176
|
-
function
|
|
1176
|
+
function Or(e, t) {
|
|
1177
1177
|
let n = String(t ?? "").split("/").join(":").toLowerCase();
|
|
1178
1178
|
return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
|
|
1179
1179
|
}
|
|
1180
1180
|
// src/dxa/gallery/Shell.vue
|
|
1181
|
-
var
|
|
1181
|
+
var kr = {
|
|
1182
1182
|
__name: "Shell",
|
|
1183
1183
|
props: {
|
|
1184
1184
|
language: {
|
|
@@ -1192,22 +1192,22 @@ var Tr = {
|
|
|
1192
1192
|
},
|
|
1193
1193
|
emits: ["update:language"],
|
|
1194
1194
|
setup(e, { emit: t }) {
|
|
1195
|
-
let n = e, r = t, { t: i, locale: a } =
|
|
1195
|
+
let n = e, r = t, { t: i, locale: a } = Y(), o = X(), s = M(() => o.links ?? {}), c = M(() => o.galleryShell ?? {}), l = Rt(), u = M(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1196
1196
|
function f(e) {
|
|
1197
1197
|
return e?.[a.value] ?? e?.en ?? "";
|
|
1198
1198
|
}
|
|
1199
|
-
let p =
|
|
1200
|
-
let e =
|
|
1201
|
-
return f(e?.name) || f(
|
|
1199
|
+
let p = M(() => {
|
|
1200
|
+
let e = be.projects?.[be.gallery?.project_id ?? x.value?.project_id];
|
|
1201
|
+
return f(e?.name) || f(be.site?.names) || f(x.value?.names);
|
|
1202
1202
|
});
|
|
1203
1203
|
function h(e, t) {
|
|
1204
1204
|
if (!(e in c.value)) return t();
|
|
1205
1205
|
let n = c.value[e];
|
|
1206
1206
|
return n ? i(n) : "";
|
|
1207
1207
|
}
|
|
1208
|
-
let ee =
|
|
1208
|
+
let ee = M(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), g = M(() => u.value ? "" : h("headerTitle", () => p.value)), te = M(() => c.value.bannerImage ? k(o.chrome, c.value.bannerImage) : v(x.value?.banner_image_path, "hi_res")), _ = M(() => {
|
|
1209
1209
|
if (c.value.bannerCaption) return c.value.bannerCaption;
|
|
1210
|
-
let e = ae.value.get(
|
|
1210
|
+
let e = ae.value.get(x.value?.banner_item_id);
|
|
1211
1211
|
if (!e) return "";
|
|
1212
1212
|
let t = m("items", e.id, re);
|
|
1213
1213
|
return {
|
|
@@ -1216,12 +1216,12 @@ var Tr = {
|
|
|
1216
1216
|
location: t.location ?? "",
|
|
1217
1217
|
country: y("countries", e.country_id)
|
|
1218
1218
|
};
|
|
1219
|
-
}), ne =
|
|
1219
|
+
}), ne = M(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), ie = M(() => u.value ? h("bannerTitle", () => p.value) : void 0), oe = M(() => c.value.notice === !1 ? null : {
|
|
1220
1220
|
title: i("gallery.notice.tip"),
|
|
1221
1221
|
text: i("gallery.notice.databaseReplaced")
|
|
1222
|
-
}), se =
|
|
1223
|
-
return (e, t) => (
|
|
1224
|
-
class:
|
|
1222
|
+
}), se = M(() => !!k(o.chrome, o.brand?.logo));
|
|
1223
|
+
return (e, t) => (B(), N(it, {
|
|
1224
|
+
class: z(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
|
|
1225
1225
|
languages: n.languages,
|
|
1226
1226
|
language: n.language,
|
|
1227
1227
|
"language-placement": "none",
|
|
@@ -1234,14 +1234,14 @@ var Tr = {
|
|
|
1234
1234
|
"banner-eyebrow": ne.value,
|
|
1235
1235
|
"banner-title": ie.value,
|
|
1236
1236
|
notice: oe.value,
|
|
1237
|
-
"footer-text": `${
|
|
1237
|
+
"footer-text": `${W(i)("core.footer.copyright")} 2004–${W(d)}`,
|
|
1238
1238
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1239
|
-
},
|
|
1240
|
-
default:
|
|
1239
|
+
}, gt({
|
|
1240
|
+
default: G(() => [bt(e.$slots, "default")]),
|
|
1241
1241
|
_: 2
|
|
1242
1242
|
}, [se.value ? void 0 : {
|
|
1243
1243
|
name: "brand",
|
|
1244
|
-
fn:
|
|
1244
|
+
fn: G(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1245
1245
|
key: "0"
|
|
1246
1246
|
}]), 1032, [
|
|
1247
1247
|
"class",
|
|
@@ -1258,10 +1258,10 @@ var Tr = {
|
|
|
1258
1258
|
"footer-text"
|
|
1259
1259
|
]));
|
|
1260
1260
|
}
|
|
1261
|
-
},
|
|
1261
|
+
}, Ar = {
|
|
1262
1262
|
key: 0,
|
|
1263
1263
|
class: "mwnf-popup-logo"
|
|
1264
|
-
},
|
|
1264
|
+
}, jr = ["aria-label"], Mr = ["innerHTML"], Nr = ["innerHTML"], Pr = {
|
|
1265
1265
|
__name: "PopupLogo",
|
|
1266
1266
|
props: {
|
|
1267
1267
|
content: {
|
|
@@ -1282,22 +1282,22 @@ var Tr = {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
},
|
|
1284
1284
|
setup(e) {
|
|
1285
|
-
let t = e, n =
|
|
1286
|
-
return (t, a) => i.value ? (
|
|
1285
|
+
let t = e, n = V(!1), r = M(() => t.rawHtml ? t.content : At(t.content)), i = M(() => t.enabled && !!t.content && !n.value);
|
|
1286
|
+
return (t, a) => i.value ? (B(), F("div", Ar, [I("button", {
|
|
1287
1287
|
class: "mwnf-popup-logo__close",
|
|
1288
1288
|
"aria-label": t.$t(e.closeLabel),
|
|
1289
1289
|
onClick: a[0] ||= (e) => n.value = !0
|
|
1290
|
-
}, "✕", 8,
|
|
1290
|
+
}, "✕", 8, jr), e.rawHtml ? (B(), F("div", {
|
|
1291
1291
|
key: 0,
|
|
1292
1292
|
class: "mwnf-popup-logo__content",
|
|
1293
1293
|
innerHTML: r.value
|
|
1294
|
-
}, null, 8,
|
|
1294
|
+
}, null, 8, Mr)) : (B(), F("div", {
|
|
1295
1295
|
key: 1,
|
|
1296
1296
|
class: "mwnf-popup-logo__content",
|
|
1297
1297
|
innerHTML: r.value
|
|
1298
|
-
}, null, 8,
|
|
1298
|
+
}, null, 8, Nr))])) : P("", !0);
|
|
1299
1299
|
}
|
|
1300
|
-
},
|
|
1300
|
+
}, Fr = {
|
|
1301
1301
|
__name: "Shell",
|
|
1302
1302
|
props: {
|
|
1303
1303
|
language: {
|
|
@@ -1311,20 +1311,20 @@ var Tr = {
|
|
|
1311
1311
|
},
|
|
1312
1312
|
emits: ["update:language"],
|
|
1313
1313
|
setup(e, { emit: t }) {
|
|
1314
|
-
let n = e, r = t, { t: i, locale: a } =
|
|
1315
|
-
let e = f.value ? "" :
|
|
1314
|
+
let n = e, r = t, { t: i, locale: a } = Y(), o = X(), s = M(() => o.links ?? {}), c = M(() => !!k(o.chrome, o.brand?.logo)), l = Rt(), u = M(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = M(() => u.value ? C.value?.homepage_image_path : null), p = M(() => f.value ? w(f.value, "hi_res") : w(C.value?.banner_image_path, "hi_res")), m = M(() => {
|
|
1315
|
+
let e = f.value ? "" : Fe(a.value);
|
|
1316
1316
|
if (e) return e;
|
|
1317
|
-
let t = f.value ?
|
|
1317
|
+
let t = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, n = T.value.get(t);
|
|
1318
1318
|
if (!n) return "";
|
|
1319
|
-
let r =
|
|
1319
|
+
let r = Te("items", n.id, Re);
|
|
1320
1320
|
return {
|
|
1321
|
-
name:
|
|
1321
|
+
name: Qe("items", n.id),
|
|
1322
1322
|
holder: r.holder ?? "",
|
|
1323
1323
|
location: r.location ?? "",
|
|
1324
1324
|
province: f.value ? "" : r.province ?? "",
|
|
1325
|
-
country:
|
|
1325
|
+
country: Qe("countries", n.country_id)
|
|
1326
1326
|
};
|
|
1327
|
-
}), h =
|
|
1327
|
+
}), h = M(() => [{
|
|
1328
1328
|
label: i("core.nav.about"),
|
|
1329
1329
|
description: i("exhibition.nav.introduction"),
|
|
1330
1330
|
href: "#/about"
|
|
@@ -1336,14 +1336,14 @@ var Tr = {
|
|
|
1336
1336
|
function ee(e) {
|
|
1337
1337
|
return e.labels?.[a.value] ?? e.labels?.en ?? e.alt_text ?? "";
|
|
1338
1338
|
}
|
|
1339
|
-
let g =
|
|
1339
|
+
let g = M(() => {
|
|
1340
1340
|
let e = o.sponsorLogos;
|
|
1341
1341
|
return Array.isArray(e) ? e.map((e) => ({
|
|
1342
1342
|
...e,
|
|
1343
|
-
image:
|
|
1343
|
+
image: k(o.chrome, e.image),
|
|
1344
1344
|
alt: e.alt ? i(e.alt) : ""
|
|
1345
|
-
})).filter((e) => e.image) : (
|
|
1346
|
-
image: e.legacy_path ?
|
|
1345
|
+
})).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
|
|
1346
|
+
image: e.legacy_path ? w(e.legacy_path, "full") : null,
|
|
1347
1347
|
alt: ee(e),
|
|
1348
1348
|
href: e.url || void 0,
|
|
1349
1349
|
category_id: e.category_id,
|
|
@@ -1356,50 +1356,50 @@ var Tr = {
|
|
|
1356
1356
|
let t = o.media?.legacyHost;
|
|
1357
1357
|
if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
|
|
1358
1358
|
let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
|
|
1359
|
-
return
|
|
1359
|
+
return ot(o.chrome, n);
|
|
1360
1360
|
}
|
|
1361
|
-
let _ =
|
|
1362
|
-
let e =
|
|
1361
|
+
let _ = M(() => at(Se(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? ""), te)), v = M(() => {
|
|
1362
|
+
let e = C.value?.popup_logo_show;
|
|
1363
1363
|
return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
|
|
1364
1364
|
});
|
|
1365
|
-
return (e, t) => (
|
|
1365
|
+
return (e, t) => (B(), N(it, {
|
|
1366
1366
|
languages: n.languages,
|
|
1367
1367
|
language: n.language,
|
|
1368
1368
|
"language-placement": "header",
|
|
1369
1369
|
"language-style": "select",
|
|
1370
1370
|
"header-home": s.value.portal,
|
|
1371
|
-
"header-title":
|
|
1371
|
+
"header-title": W(i)("exhibition.identity.tagline"),
|
|
1372
1372
|
"header-title-href": "#/about",
|
|
1373
1373
|
"banner-image": p.value,
|
|
1374
1374
|
"banner-caption": m.value,
|
|
1375
|
-
"banner-caption-label":
|
|
1376
|
-
"banner-title": u.value ?
|
|
1377
|
-
"banner-subtitle": u.value ?
|
|
1378
|
-
"banner-headline": u.value ?
|
|
1375
|
+
"banner-caption-label": W(i)("layout.banner.detailFrom"),
|
|
1376
|
+
"banner-title": u.value ? W(Be)(W(a)) : "",
|
|
1377
|
+
"banner-subtitle": u.value ? W(Ge)(W(a)) : "",
|
|
1378
|
+
"banner-headline": u.value ? W(qe)(W(a)) : "",
|
|
1379
1379
|
"banner-enter": u.value ? {
|
|
1380
|
-
label:
|
|
1380
|
+
label: W(i)("exhibition.action.enter"),
|
|
1381
1381
|
href: "#/about"
|
|
1382
1382
|
} : null,
|
|
1383
|
-
"banner-strapline": u.value ?
|
|
1383
|
+
"banner-strapline": u.value ? W(i)("exhibition.identity.strapline") : "",
|
|
1384
1384
|
"hyperlinks-variant": "tiles",
|
|
1385
|
-
"hyperlinks-title":
|
|
1385
|
+
"hyperlinks-title": W(Be)(W(a)),
|
|
1386
1386
|
"hyperlinks-title-href": "#/",
|
|
1387
|
-
"hyperlinks-subtitle":
|
|
1387
|
+
"hyperlinks-subtitle": W(Ge)(W(a)),
|
|
1388
1388
|
hyperlinks: h.value,
|
|
1389
|
-
"footer-text": `${
|
|
1389
|
+
"footer-text": `${W(i)("core.footer.copyright")} 2004–${W(d)}`,
|
|
1390
1390
|
logos: g.value,
|
|
1391
1391
|
"onUpdate:language": t[0] ||= (e) => r("update:language", e)
|
|
1392
|
-
},
|
|
1393
|
-
notice:
|
|
1392
|
+
}, gt({
|
|
1393
|
+
notice: G(() => [R(Pr, {
|
|
1394
1394
|
content: _.value,
|
|
1395
1395
|
enabled: v.value,
|
|
1396
1396
|
"raw-html": ""
|
|
1397
1397
|
}, null, 8, ["content", "enabled"])]),
|
|
1398
|
-
default:
|
|
1398
|
+
default: G(() => [bt(e.$slots, "default")]),
|
|
1399
1399
|
_: 2
|
|
1400
1400
|
}, [c.value ? void 0 : {
|
|
1401
1401
|
name: "brand",
|
|
1402
|
-
fn:
|
|
1402
|
+
fn: G(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
|
|
1403
1403
|
key: "0"
|
|
1404
1404
|
}]), 1032, [
|
|
1405
1405
|
"languages",
|
|
@@ -1423,23 +1423,23 @@ var Tr = {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
};
|
|
1425
1425
|
// src/dxa/config.js
|
|
1426
|
-
function
|
|
1426
|
+
function Ir({ country: e, start: t, end: n, page: r }) {
|
|
1427
1427
|
let i = { country: e };
|
|
1428
1428
|
return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
|
|
1429
1429
|
name: "timeline-gallery",
|
|
1430
1430
|
query: i
|
|
1431
1431
|
};
|
|
1432
1432
|
}
|
|
1433
|
-
function
|
|
1434
|
-
let { manifest: c } =
|
|
1433
|
+
function Lr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
|
|
1434
|
+
let { manifest: c } = Pt(), l = kt();
|
|
1435
1435
|
return {
|
|
1436
1436
|
datasetPackage: e,
|
|
1437
1437
|
siteName: c.site?.names?.en ?? t,
|
|
1438
1438
|
features: { entities: [] },
|
|
1439
1439
|
languages: l,
|
|
1440
|
-
shell:
|
|
1440
|
+
shell: kr,
|
|
1441
1441
|
navigation: {
|
|
1442
|
-
languages:
|
|
1442
|
+
languages: Dt(l),
|
|
1443
1443
|
links: [
|
|
1444
1444
|
{
|
|
1445
1445
|
section: "about",
|
|
@@ -1468,7 +1468,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1468
1468
|
},
|
|
1469
1469
|
{
|
|
1470
1470
|
label: "core.nav.myCollection",
|
|
1471
|
-
href:
|
|
1471
|
+
href: J.myCollection,
|
|
1472
1472
|
external: !0
|
|
1473
1473
|
}
|
|
1474
1474
|
],
|
|
@@ -1477,33 +1477,33 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1477
1477
|
to: { name: "home" }
|
|
1478
1478
|
}, {
|
|
1479
1479
|
label: "gallery.nav.allGalleries",
|
|
1480
|
-
href: `${
|
|
1480
|
+
href: `${J.galleries}/list/1`,
|
|
1481
1481
|
external: !0
|
|
1482
1482
|
}],
|
|
1483
1483
|
footerLinks: [
|
|
1484
1484
|
{
|
|
1485
1485
|
label: "core.footer.aboutMwnf",
|
|
1486
|
-
href:
|
|
1486
|
+
href: J.about,
|
|
1487
1487
|
external: !0
|
|
1488
1488
|
},
|
|
1489
1489
|
{
|
|
1490
1490
|
label: "core.footer.contact",
|
|
1491
|
-
href:
|
|
1491
|
+
href: J.contact,
|
|
1492
1492
|
external: !0
|
|
1493
1493
|
},
|
|
1494
1494
|
{
|
|
1495
1495
|
label: "core.footer.legalNotice",
|
|
1496
|
-
href:
|
|
1496
|
+
href: J.legalNotice,
|
|
1497
1497
|
external: !0
|
|
1498
1498
|
},
|
|
1499
1499
|
{
|
|
1500
1500
|
label: "core.footer.credits",
|
|
1501
|
-
href:
|
|
1501
|
+
href: J.credits,
|
|
1502
1502
|
external: !0
|
|
1503
1503
|
},
|
|
1504
1504
|
{
|
|
1505
1505
|
label: "core.footer.cookies",
|
|
1506
|
-
href:
|
|
1506
|
+
href: J.cookies,
|
|
1507
1507
|
external: !0
|
|
1508
1508
|
}
|
|
1509
1509
|
],
|
|
@@ -1524,7 +1524,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1524
1524
|
empty: "all-objects"
|
|
1525
1525
|
},
|
|
1526
1526
|
placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
|
|
1527
|
-
socialLinks:
|
|
1527
|
+
socialLinks: ct
|
|
1528
1528
|
},
|
|
1529
1529
|
banner: {
|
|
1530
1530
|
variant: ({ section: e }) => e === "home" ? "strip" : "section",
|
|
@@ -1542,11 +1542,11 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1542
1542
|
},
|
|
1543
1543
|
homeLogos: s,
|
|
1544
1544
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
1545
|
-
links: { ...
|
|
1545
|
+
links: { ...J },
|
|
1546
1546
|
projectColors: r,
|
|
1547
1547
|
noticeProjects: i,
|
|
1548
1548
|
site: { origin: n },
|
|
1549
|
-
extraViews:
|
|
1549
|
+
extraViews: Tr("gallery", {
|
|
1550
1550
|
creditsBody: a,
|
|
1551
1551
|
pages: !0
|
|
1552
1552
|
}),
|
|
@@ -1554,7 +1554,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1554
1554
|
{
|
|
1555
1555
|
path: "/database-item/:uid(.*)/:language",
|
|
1556
1556
|
async resolve({ uid: e }) {
|
|
1557
|
-
await
|
|
1557
|
+
await q(["items"]);
|
|
1558
1558
|
let t = de(e);
|
|
1559
1559
|
return t ? {
|
|
1560
1560
|
name: "item",
|
|
@@ -1565,7 +1565,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1565
1565
|
{
|
|
1566
1566
|
path: "/partner/:country/:id/:language",
|
|
1567
1567
|
async resolve({ country: e, id: t }) {
|
|
1568
|
-
await
|
|
1568
|
+
await q(["partners"]);
|
|
1569
1569
|
let n = g(e, t);
|
|
1570
1570
|
return n ? {
|
|
1571
1571
|
name: "partner",
|
|
@@ -1576,7 +1576,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1576
1576
|
{
|
|
1577
1577
|
path: "/partner-objects/:country/:id/:page",
|
|
1578
1578
|
async resolve({ country: e, id: t, page: n }) {
|
|
1579
|
-
await
|
|
1579
|
+
await q(["partners"]);
|
|
1580
1580
|
let r = g(e, t);
|
|
1581
1581
|
return r ? {
|
|
1582
1582
|
name: "partner-objects",
|
|
@@ -1587,7 +1587,7 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1587
1587
|
},
|
|
1588
1588
|
{
|
|
1589
1589
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
1590
|
-
resolve:
|
|
1590
|
+
resolve: Ir
|
|
1591
1591
|
},
|
|
1592
1592
|
{
|
|
1593
1593
|
path: "/error",
|
|
@@ -1596,18 +1596,18 @@ function Nr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1596
1596
|
]
|
|
1597
1597
|
};
|
|
1598
1598
|
}
|
|
1599
|
-
function
|
|
1600
|
-
let { manifest: l } =
|
|
1599
|
+
function Rr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
|
|
1600
|
+
let { manifest: l } = Pt(), u = kt(), d = async (e, t) => (await q([
|
|
1601
1601
|
"exhibition",
|
|
1602
1602
|
"partners",
|
|
1603
1603
|
"countries"
|
|
1604
|
-
]),
|
|
1604
|
+
]), Dr(Me.value, Le.value, e, t));
|
|
1605
1605
|
return {
|
|
1606
1606
|
datasetPackage: e,
|
|
1607
1607
|
siteName: l.site?.names?.en ?? t,
|
|
1608
1608
|
features: { entities: [] },
|
|
1609
1609
|
languages: u,
|
|
1610
|
-
shell:
|
|
1610
|
+
shell: Fr,
|
|
1611
1611
|
navigation: {
|
|
1612
1612
|
languages: u.map((e) => ({
|
|
1613
1613
|
code: e,
|
|
@@ -1638,7 +1638,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1638
1638
|
section: "timeline",
|
|
1639
1639
|
label: "core.nav.timeline",
|
|
1640
1640
|
to: { name: "timeline" },
|
|
1641
|
-
when: () =>
|
|
1641
|
+
when: () => ze.value
|
|
1642
1642
|
},
|
|
1643
1643
|
{
|
|
1644
1644
|
section: "related",
|
|
@@ -1652,7 +1652,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1652
1652
|
},
|
|
1653
1653
|
{
|
|
1654
1654
|
label: "core.nav.myCollection",
|
|
1655
|
-
href:
|
|
1655
|
+
href: J.myCollection,
|
|
1656
1656
|
external: !0
|
|
1657
1657
|
}
|
|
1658
1658
|
],
|
|
@@ -1661,33 +1661,33 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1661
1661
|
to: { name: "home" }
|
|
1662
1662
|
}, {
|
|
1663
1663
|
label: "core.footer.aboutMwnf",
|
|
1664
|
-
href:
|
|
1664
|
+
href: J.about,
|
|
1665
1665
|
external: !0
|
|
1666
1666
|
}],
|
|
1667
1667
|
footerLinks: [
|
|
1668
1668
|
{
|
|
1669
1669
|
label: "core.footer.aboutMwnf",
|
|
1670
|
-
href:
|
|
1670
|
+
href: J.about,
|
|
1671
1671
|
external: !0
|
|
1672
1672
|
},
|
|
1673
1673
|
{
|
|
1674
1674
|
label: "core.footer.contact",
|
|
1675
|
-
href:
|
|
1675
|
+
href: J.contact,
|
|
1676
1676
|
external: !0
|
|
1677
1677
|
},
|
|
1678
1678
|
{
|
|
1679
1679
|
label: "core.footer.legalNotice",
|
|
1680
|
-
href:
|
|
1680
|
+
href: J.legalNotice,
|
|
1681
1681
|
external: !0
|
|
1682
1682
|
},
|
|
1683
1683
|
{
|
|
1684
1684
|
label: "core.footer.credits",
|
|
1685
|
-
href:
|
|
1685
|
+
href: J.credits,
|
|
1686
1686
|
external: !0
|
|
1687
1687
|
},
|
|
1688
1688
|
{
|
|
1689
1689
|
label: "core.footer.cookies",
|
|
1690
|
-
href:
|
|
1690
|
+
href: J.cookies,
|
|
1691
1691
|
external: !0
|
|
1692
1692
|
}
|
|
1693
1693
|
],
|
|
@@ -1709,7 +1709,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1709
1709
|
empty: "all-objects"
|
|
1710
1710
|
},
|
|
1711
1711
|
placement: "before-banner",
|
|
1712
|
-
socialLinks:
|
|
1712
|
+
socialLinks: ct
|
|
1713
1713
|
},
|
|
1714
1714
|
banner: { variant: ({ section: e }) => e === "home" ? "split" : "section" },
|
|
1715
1715
|
chrome: s,
|
|
@@ -1739,11 +1739,11 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1739
1739
|
}
|
|
1740
1740
|
},
|
|
1741
1741
|
media: { legacyHost: "https://images.museumwnf.org" },
|
|
1742
|
-
links: { ...
|
|
1742
|
+
links: { ...J },
|
|
1743
1743
|
projectColors: r,
|
|
1744
1744
|
noticeProjects: i,
|
|
1745
1745
|
site: { origin: n },
|
|
1746
|
-
extraViews:
|
|
1746
|
+
extraViews: Tr("exhibition", {
|
|
1747
1747
|
creditsBody: a,
|
|
1748
1748
|
partnerObjects: o,
|
|
1749
1749
|
pages: !0
|
|
@@ -1752,8 +1752,8 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1752
1752
|
{
|
|
1753
1753
|
path: "/database-item/:uid(.*)/:language",
|
|
1754
1754
|
async resolve({ uid: e }) {
|
|
1755
|
-
await
|
|
1756
|
-
let t =
|
|
1755
|
+
await q(["items"]);
|
|
1756
|
+
let t = Or(Ie.value, e);
|
|
1757
1757
|
return t ? {
|
|
1758
1758
|
name: "item",
|
|
1759
1759
|
params: { id: t.id }
|
|
@@ -1804,7 +1804,7 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1804
1804
|
},
|
|
1805
1805
|
{
|
|
1806
1806
|
path: "/timeline-gallery/:country/:start/:end/:page",
|
|
1807
|
-
resolve:
|
|
1807
|
+
resolve: Ir
|
|
1808
1808
|
},
|
|
1809
1809
|
{
|
|
1810
1810
|
path: "/error",
|
|
@@ -1814,16 +1814,16 @@ function Pr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
|
|
|
1814
1814
|
};
|
|
1815
1815
|
}
|
|
1816
1816
|
// src/dxa/FeaturedPartners.vue
|
|
1817
|
-
var
|
|
1817
|
+
var zr = {
|
|
1818
1818
|
key: 0,
|
|
1819
1819
|
class: "mwnf-featured-partners"
|
|
1820
|
-
},
|
|
1820
|
+
}, Br = { class: "mwnf-featured-partners__heading" }, Vr = { class: "mwnf-featured-partners__carousel" }, Hr = {
|
|
1821
1821
|
key: 0,
|
|
1822
1822
|
class: "mwnf-featured-partners__image"
|
|
1823
|
-
},
|
|
1823
|
+
}, Ur = ["src", "alt"], Wr = { class: "mwnf-featured-partners__body" }, Gr = { class: "mwnf-featured-partners__name" }, Kr = { class: "mwnf-featured-partners__location" }, qr = { key: 0 }, Jr = { class: "mwnf-featured-partners__description" }, Yr = {
|
|
1824
1824
|
key: 0,
|
|
1825
1825
|
class: "mwnf-featured-partners__controls"
|
|
1826
|
-
},
|
|
1826
|
+
}, Xr = ["aria-label", "onClick"], Zr = 8e3, Qr = {
|
|
1827
1827
|
__name: "FeaturedPartners",
|
|
1828
1828
|
props: {
|
|
1829
1829
|
records: {
|
|
@@ -1862,7 +1862,7 @@ var Fr = {
|
|
|
1862
1862
|
let n = e.lastIndexOf(" ", t);
|
|
1863
1863
|
return `${e.slice(0, n > 0 ? n : t)}...`;
|
|
1864
1864
|
}
|
|
1865
|
-
let i =
|
|
1865
|
+
let i = M(() => t.partners.length ? t.partners.map((e) => ({
|
|
1866
1866
|
id: e.id,
|
|
1867
1867
|
name: e.plainName,
|
|
1868
1868
|
logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
|
|
@@ -1871,72 +1871,72 @@ var Fr = {
|
|
|
1871
1871
|
description: r(n(e.description), t.descriptionLength),
|
|
1872
1872
|
route: e.route,
|
|
1873
1873
|
objectsRoute: e.objectsRoute ?? null
|
|
1874
|
-
})) : t.records), a =
|
|
1874
|
+
})) : t.records), a = V(0), o = null;
|
|
1875
1875
|
function c(e) {
|
|
1876
1876
|
a.value = e, l();
|
|
1877
1877
|
}
|
|
1878
1878
|
function l() {
|
|
1879
1879
|
o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
|
|
1880
1880
|
a.value = (a.value + 1) % i.value.length;
|
|
1881
|
-
},
|
|
1881
|
+
}, Zr));
|
|
1882
1882
|
}
|
|
1883
|
-
return
|
|
1884
|
-
|
|
1885
|
-
|
|
1883
|
+
return yt(l), vt(() => o && clearInterval(o)), (t, n) => i.value.length ? (B(), F("section", zr, [
|
|
1884
|
+
I("h2", Br, U(t.$t(e.headingEntry)), 1),
|
|
1885
|
+
I("div", Vr, [(B(!0), F(j, null, H(i.value, (n, r) => wt((B(), F("div", {
|
|
1886
1886
|
key: n.id,
|
|
1887
1887
|
class: "mwnf-featured-partners__card"
|
|
1888
|
-
}, [n.logo ? (
|
|
1888
|
+
}, [n.logo ? (B(), F("span", Hr, [I("img", {
|
|
1889
1889
|
src: n.logo,
|
|
1890
1890
|
alt: n.name,
|
|
1891
1891
|
class: "mwnf-featured-partners__logo"
|
|
1892
|
-
}, null, 8,
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
n.route ? (
|
|
1892
|
+
}, null, 8, Ur)])) : P("", !0), I("span", Wr, [
|
|
1893
|
+
I("span", Gr, U(n.name), 1),
|
|
1894
|
+
I("span", Kr, [n.city ? (B(), F("span", qr, U(n.city) + ", ", 1)) : P("", !0), L(U(n.country), 1)]),
|
|
1895
|
+
I("span", Jr, U(n.description), 1),
|
|
1896
|
+
n.route ? (B(), N(s, {
|
|
1897
1897
|
key: 0,
|
|
1898
1898
|
to: n.route,
|
|
1899
1899
|
class: "mwnf-featured-partners__more"
|
|
1900
1900
|
}, {
|
|
1901
|
-
default:
|
|
1901
|
+
default: G(() => [L(U(t.$t(e.readMoreEntry)) + " >>", 1)]),
|
|
1902
1902
|
_: 1
|
|
1903
|
-
}, 8, ["to"])) :
|
|
1904
|
-
n.objectsRoute ? (
|
|
1903
|
+
}, 8, ["to"])) : P("", !0),
|
|
1904
|
+
n.objectsRoute ? (B(), N(s, {
|
|
1905
1905
|
key: 1,
|
|
1906
1906
|
to: n.objectsRoute,
|
|
1907
1907
|
class: "mwnf-featured-partners__more"
|
|
1908
1908
|
}, {
|
|
1909
|
-
default:
|
|
1909
|
+
default: G(() => [L(U(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
|
|
1910
1910
|
_: 1
|
|
1911
|
-
}, 8, ["to"])) :
|
|
1912
|
-
])])), [[
|
|
1913
|
-
i.value.length > 1 ? (
|
|
1911
|
+
}, 8, ["to"])) : P("", !0)
|
|
1912
|
+
])])), [[Ct, r === a.value]])), 128))]),
|
|
1913
|
+
i.value.length > 1 ? (B(), F("div", Yr, [(B(!0), F(j, null, H(i.value, (e, n) => (B(), F("button", {
|
|
1914
1914
|
key: e.id,
|
|
1915
|
-
class:
|
|
1915
|
+
class: z(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
|
|
1916
1916
|
"aria-label": `${t.$t("core.action.show")} ${e.name}`,
|
|
1917
1917
|
onClick: (e) => c(n)
|
|
1918
|
-
}, null, 10,
|
|
1919
|
-
])) :
|
|
1918
|
+
}, null, 10, Xr))), 128))])) : P("", !0)
|
|
1919
|
+
])) : P("", !0);
|
|
1920
1920
|
}
|
|
1921
|
-
},
|
|
1921
|
+
}, $r = { class: "mwnf-sibling-galleries" }, ei = {
|
|
1922
1922
|
key: 0,
|
|
1923
1923
|
class: "mwnf-sibling-galleries__galleries"
|
|
1924
|
-
},
|
|
1924
|
+
}, ti = { class: "mwnf-sibling-galleries__header" }, ni = { class: "mwnf-sibling-galleries__heading" }, ri = ["href"], ii = { class: "mwnf-sibling-galleries__grid" }, ai = {
|
|
1925
1925
|
key: 0,
|
|
1926
1926
|
class: "mwnf-sibling-galleries__image"
|
|
1927
|
-
},
|
|
1927
|
+
}, oi = ["src", "alt"], si = {
|
|
1928
1928
|
key: 1,
|
|
1929
1929
|
class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
|
|
1930
|
-
},
|
|
1930
|
+
}, ci = { class: "mwnf-sibling-galleries__name" }, li = {
|
|
1931
1931
|
key: 1,
|
|
1932
1932
|
class: "mwnf-sibling-galleries__museums"
|
|
1933
|
-
},
|
|
1933
|
+
}, ui = { class: "mwnf-sibling-galleries__heading" }, di = { class: "mwnf-sibling-galleries__museums-grid" }, fi = ["href"], pi = {
|
|
1934
1934
|
key: 0,
|
|
1935
1935
|
class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
|
|
1936
|
-
},
|
|
1936
|
+
}, mi = ["src"], hi = {
|
|
1937
1937
|
key: 1,
|
|
1938
1938
|
class: "mwnf-sibling-galleries__museum-image"
|
|
1939
|
-
},
|
|
1939
|
+
}, gi = { class: "mwnf-sibling-galleries__museum-name" }, _i = {
|
|
1940
1940
|
__name: "SiblingGalleries",
|
|
1941
1941
|
props: {
|
|
1942
1942
|
galleries: {
|
|
@@ -1965,100 +1965,100 @@ var Fr = {
|
|
|
1965
1965
|
}
|
|
1966
1966
|
},
|
|
1967
1967
|
setup(e) {
|
|
1968
|
-
return (t, n) => (
|
|
1968
|
+
return (t, n) => (B(), F("section", $r, [e.galleries.length ? (B(), F("div", ei, [I("div", ti, [I("p", ni, U(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (B(), F("a", {
|
|
1969
1969
|
key: 0,
|
|
1970
1970
|
href: e.seeMoreGalleriesHref,
|
|
1971
1971
|
target: "_blank",
|
|
1972
1972
|
rel: "noopener",
|
|
1973
1973
|
class: "mwnf-sibling-galleries__see-more"
|
|
1974
|
-
},
|
|
1974
|
+
}, U(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, ri)) : P("", !0)]), I("div", ii, [(B(!0), F(j, null, H(e.galleries, (e) => (B(), N(s, {
|
|
1975
1975
|
key: e.id,
|
|
1976
1976
|
to: e.route,
|
|
1977
|
-
class:
|
|
1977
|
+
class: z(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
|
|
1978
1978
|
}, {
|
|
1979
|
-
default:
|
|
1979
|
+
default: G(() => [e.image ? (B(), F("span", ai, [I("img", {
|
|
1980
1980
|
src: e.image,
|
|
1981
1981
|
alt: e.name
|
|
1982
|
-
}, null, 8,
|
|
1982
|
+
}, null, 8, oi)])) : (B(), F("span", si)), I("p", ci, U(e.name), 1)]),
|
|
1983
1983
|
_: 2
|
|
1984
|
-
}, 1032, ["to", "class"]))), 128))])])) :
|
|
1984
|
+
}, 1032, ["to", "class"]))), 128))])])) : P("", !0), e.museums.length ? (B(), F("div", li, [I("div", ui, U(t.$t(e.museumsHeadingEntry)), 1), I("div", di, [(B(!0), F(j, null, H(e.museums, (e) => (B(), F("a", {
|
|
1985
1985
|
key: e.name,
|
|
1986
1986
|
href: e.href || e.to,
|
|
1987
1987
|
target: "_blank",
|
|
1988
1988
|
rel: "noopener",
|
|
1989
1989
|
class: "mwnf-sibling-galleries__museum",
|
|
1990
|
-
style:
|
|
1990
|
+
style: _t({
|
|
1991
1991
|
"--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
|
|
1992
1992
|
"--mwnf-museum-text": e.textColor || "inherit"
|
|
1993
1993
|
})
|
|
1994
|
-
}, [e.image ? (
|
|
1994
|
+
}, [e.image ? (B(), F("div", pi, [I("img", {
|
|
1995
1995
|
src: e.image,
|
|
1996
1996
|
alt: ""
|
|
1997
|
-
}, null, 8,
|
|
1997
|
+
}, null, 8, mi)])) : (B(), F("div", hi, U(e.name.split(" ").map((e) => e[0]).join("")), 1)), I("p", gi, U(e.name), 1)], 12, fi))), 128))])])) : P("", !0)]));
|
|
1998
1998
|
}
|
|
1999
|
-
},
|
|
1999
|
+
}, vi = /* @__PURE__ */ A({ default: () => Ei }), yi = { class: "mwnf-dxa-home" }, bi = {
|
|
2000
2000
|
key: 0,
|
|
2001
2001
|
class: "mwnf-dxa-home-logos"
|
|
2002
|
-
},
|
|
2002
|
+
}, xi = { class: "mwnf-dxa-home-logos__label" }, Si = { class: "mwnf-dxa-home-logos__list" }, Ci = ["src", "alt"], wi = 3, Ti = 4, Ei = {
|
|
2003
2003
|
__name: "Home",
|
|
2004
2004
|
setup(e) {
|
|
2005
|
-
let { t, locale: n } =
|
|
2006
|
-
|
|
2007
|
-
o.value = d(
|
|
2005
|
+
let { t, locale: n } = Y(), r = X(), i = M(() => r.links ?? {}), a = M(() => ue(wi)), o = V([]);
|
|
2006
|
+
yt(() => {
|
|
2007
|
+
o.value = d(Ti);
|
|
2008
2008
|
});
|
|
2009
|
-
let s =
|
|
2009
|
+
let s = M(() => o.value.map((e) => ({
|
|
2010
2010
|
id: e.id,
|
|
2011
2011
|
name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
|
|
2012
2012
|
image: e.image_path ? v(e.image_path, "zoom") : null,
|
|
2013
2013
|
route: h(e)
|
|
2014
|
-
}))), c =
|
|
2014
|
+
}))), c = M(() => [
|
|
2015
2015
|
{
|
|
2016
2016
|
name: t("core.project.islamicArt"),
|
|
2017
2017
|
href: `${i.value.islamicArt}/`,
|
|
2018
|
-
image:
|
|
2018
|
+
image: st(r.chrome, "dia.jpg"),
|
|
2019
2019
|
accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
|
|
2020
2020
|
textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
|
|
2021
2021
|
},
|
|
2022
2022
|
{
|
|
2023
2023
|
name: t("core.project.baroqueArt"),
|
|
2024
2024
|
href: `${i.value.baroqueArt}/`,
|
|
2025
|
-
image:
|
|
2025
|
+
image: st(r.chrome, "dba.jpg"),
|
|
2026
2026
|
accent: "var(--mwnf-project-DBA, #001d66)",
|
|
2027
2027
|
textColor: "var(--mwnf-project-DBA-text, #ffffff)"
|
|
2028
2028
|
},
|
|
2029
2029
|
{
|
|
2030
2030
|
name: t("core.project.sharingHistory"),
|
|
2031
2031
|
href: `${i.value.sharingHistory}/`,
|
|
2032
|
-
image:
|
|
2032
|
+
image: st(r.chrome, "sh.jpg"),
|
|
2033
2033
|
accent: "var(--mwnf-project-AWE, #900000)",
|
|
2034
2034
|
textColor: "var(--mwnf-project-AWE-text, #ffffff)"
|
|
2035
2035
|
}
|
|
2036
|
-
]), l =
|
|
2037
|
-
image:
|
|
2036
|
+
]), l = M(() => (r.homeLogos ?? []).map((e) => ({
|
|
2037
|
+
image: ot(r.chrome, e.image) ?? v(e.image, "gallery_logo"),
|
|
2038
2038
|
href: e.href ?? "",
|
|
2039
2039
|
alt: e.alt ? t(e.alt) : ""
|
|
2040
|
-
})).filter((e) => e.image)), u =
|
|
2041
|
-
return (e, n) => (
|
|
2042
|
-
|
|
2043
|
-
l.value.length ? (
|
|
2040
|
+
})).filter((e) => e.image)), u = M(() => `${i.value.galleries}/list`);
|
|
2041
|
+
return (e, n) => (B(), F("div", yi, [
|
|
2042
|
+
R(Qr, { partners: a.value }, null, 8, ["partners"]),
|
|
2043
|
+
l.value.length ? (B(), F("section", bi, [I("p", xi, U(W(t)("gallery.home.logosLabel")), 1), I("ul", Si, [(B(!0), F(j, null, H(l.value, (e) => (B(), F("li", { key: e.image }, [(B(), N(xt(e.href ? "a" : "span"), {
|
|
2044
2044
|
class: "mwnf-dxa-home-logos__logo",
|
|
2045
2045
|
href: e.href || void 0,
|
|
2046
2046
|
title: e.alt || void 0,
|
|
2047
2047
|
target: e.href ? "_blank" : void 0,
|
|
2048
2048
|
rel: e.href ? "noopener" : void 0
|
|
2049
2049
|
}, {
|
|
2050
|
-
default:
|
|
2050
|
+
default: G(() => [I("img", {
|
|
2051
2051
|
src: e.image,
|
|
2052
2052
|
alt: e.alt
|
|
2053
|
-
}, null, 8,
|
|
2053
|
+
}, null, 8, Ci)]),
|
|
2054
2054
|
_: 2
|
|
2055
2055
|
}, 1032, [
|
|
2056
2056
|
"href",
|
|
2057
2057
|
"title",
|
|
2058
2058
|
"target",
|
|
2059
2059
|
"rel"
|
|
2060
|
-
]))]))), 128))])])) :
|
|
2061
|
-
|
|
2060
|
+
]))]))), 128))])])) : P("", !0),
|
|
2061
|
+
R(_i, {
|
|
2062
2062
|
galleries: s.value,
|
|
2063
2063
|
museums: c.value,
|
|
2064
2064
|
"galleries-heading-entry": "gallery.action.visitGalleries",
|
|
@@ -2072,19 +2072,76 @@ var Fr = {
|
|
|
2072
2072
|
])
|
|
2073
2073
|
]));
|
|
2074
2074
|
}
|
|
2075
|
-
},
|
|
2075
|
+
}, Di = /* @__PURE__ */ A({ default: () => Ui }), Oi = { class: "mwnf-dxa-item__languages" }, ki = ["dir"], Ai = ["href"], ji = ["href"], Mi = ["innerHTML"], Ni = ["innerHTML"], Pi = ["dir"], Fi = { class: "mwnf-dxa-gallery-item__label" }, Ii = {
|
|
2076
|
+
key: "citation",
|
|
2077
|
+
class: "mwnf-dxa-gallery-item__citation"
|
|
2078
|
+
}, Li = { class: "mwnf-dxa-gallery-item__project" }, Ri = { class: "mwnf-dxa-gallery-item__address" }, zi = { class: "mwnf-dxa-gallery-item__credit-label" }, Bi = {
|
|
2079
|
+
key: 1,
|
|
2080
|
+
class: "mwnf-dxa-gallery-item__number"
|
|
2081
|
+
}, Vi = { class: "mwnf-dxa-gallery-item__number-label" }, Hi = ["href"], Ui = {
|
|
2076
2082
|
__name: "ItemDetail",
|
|
2077
2083
|
props: { id: {
|
|
2078
2084
|
type: String,
|
|
2079
2085
|
required: !0
|
|
2080
2086
|
} },
|
|
2081
2087
|
setup(t) {
|
|
2082
|
-
|
|
2083
|
-
|
|
2088
|
+
let { t: n } = Y(), r = zt(), i = Lt(), a = Pt(), s = X(), c = {
|
|
2089
|
+
...b,
|
|
2090
|
+
sourceDatabase: !1,
|
|
2091
|
+
sourceCredit: !1,
|
|
2092
|
+
shortDescriptionLabels: {
|
|
2093
|
+
view: "gallery.sheet.viewShortDescription",
|
|
2094
|
+
hide: "gallery.sheet.hideShortDescription"
|
|
2095
|
+
},
|
|
2096
|
+
related: {
|
|
2097
|
+
...b.related,
|
|
2098
|
+
glossaryLabels: { tool: "gallery.related.glossary" },
|
|
2099
|
+
dynastiesHeading: "gallery.related.dynasties",
|
|
2100
|
+
onDisplayIn: {
|
|
2101
|
+
...b.related?.onDisplayIn,
|
|
2102
|
+
exhibitionsHeading: "gallery.related.exhibitions",
|
|
2103
|
+
galleriesHeading: "core.project.galleries",
|
|
2104
|
+
href: (e, t) => e.site ? Mt(e.site, `/item/${t.id}`) : e.legacy_host
|
|
2105
|
+
}
|
|
2106
|
+
}
|
|
2107
|
+
};
|
|
2108
|
+
function l(e) {
|
|
2109
|
+
let t = i.links(e?.project_id)?.homeSite;
|
|
2110
|
+
return (t && t !== a.manifest?.site?.key ? Mt(t, `/item/${e.id}`) : null) ?? Nt(r);
|
|
2111
|
+
}
|
|
2112
|
+
function u(e) {
|
|
2113
|
+
try {
|
|
2114
|
+
let { host: t, pathname: n } = new URL(e), r = n.split("/").find(Boolean);
|
|
2115
|
+
return r ? `${t}/${r}` : t;
|
|
2116
|
+
} catch {
|
|
2117
|
+
return e;
|
|
2118
|
+
}
|
|
2119
|
+
}
|
|
2120
|
+
let d = (e) => s.projectColors?.[e?.project_id] ?? "";
|
|
2121
|
+
function f(e, t) {
|
|
2122
|
+
let n = i.label(t?.project_id) ?? "", r = n ? e.indexOf(` ${n},`) : -1;
|
|
2123
|
+
return r < 0 ? {
|
|
2124
|
+
before: e,
|
|
2125
|
+
project: "",
|
|
2126
|
+
after: ""
|
|
2127
|
+
} : {
|
|
2128
|
+
before: e.slice(0, r + 1),
|
|
2129
|
+
project: n,
|
|
2130
|
+
after: e.slice(r + 1 + n.length)
|
|
2131
|
+
};
|
|
2132
|
+
}
|
|
2133
|
+
function p(e) {
|
|
2134
|
+
return {
|
|
2135
|
+
to: b.museum?.route?.(e.record?.partner_id) ?? null,
|
|
2136
|
+
holder: e.text?.holder ? Ot(String(e.text.holder)) : ""
|
|
2137
|
+
};
|
|
2138
|
+
}
|
|
2139
|
+
return (r, i) => (B(), N(lt, {
|
|
2140
|
+
spec: c,
|
|
2084
2141
|
id: t.id,
|
|
2085
|
-
class: "mwnf-dxa-item"
|
|
2142
|
+
class: "mwnf-dxa-item mwnf-dxa-gallery-item"
|
|
2086
2143
|
}, {
|
|
2087
|
-
header:
|
|
2144
|
+
header: G(({ languages: t, language: n, select: r }) => [I("div", Oi, [R(o, {
|
|
2088
2145
|
languages: t,
|
|
2089
2146
|
language: n,
|
|
2090
2147
|
onSelect: r
|
|
@@ -2092,32 +2149,87 @@ var Fr = {
|
|
|
2092
2149
|
"languages",
|
|
2093
2150
|
"language",
|
|
2094
2151
|
"onSelect"
|
|
2095
|
-
])]),
|
|
2152
|
+
])]), R(e)]),
|
|
2153
|
+
"after-media": G(({ record: e, dir: t }) => [e ? (B(), F("div", {
|
|
2154
|
+
key: 0,
|
|
2155
|
+
class: "mwnf-dxa-gallery-item__links",
|
|
2156
|
+
dir: t || void 0
|
|
2157
|
+
}, [I("p", null, [I("a", {
|
|
2158
|
+
href: l(e),
|
|
2159
|
+
target: "_blank",
|
|
2160
|
+
rel: "noopener"
|
|
2161
|
+
}, [i[0] ||= I("span", {
|
|
2162
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2163
|
+
"aria-hidden": "true"
|
|
2164
|
+
}, "↗", -1), I("bdi", null, [L(U(W(n)("record.source.label")) + " ", 1), I("span", null, "(" + U(u(l(e))) + ")", 1)])], 8, Ai)]), I("p", null, [I("a", {
|
|
2165
|
+
href: W(J).myCollection,
|
|
2166
|
+
target: "_blank",
|
|
2167
|
+
rel: "noopener"
|
|
2168
|
+
}, [i[1] ||= I("span", {
|
|
2169
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2170
|
+
"aria-hidden": "true"
|
|
2171
|
+
}, "↗", -1), L(U(W(n)("record.action.addToCollection")), 1)], 8, ji)])], 8, ki)) : P("", !0)]),
|
|
2172
|
+
museum: G((e) => [(B(!0), F(j, null, H([p(e)], (e) => (B(), F(j, { key: "museum" }, [e.to && e.holder ? (B(), N(W(Q), {
|
|
2173
|
+
key: 0,
|
|
2174
|
+
to: e.to,
|
|
2175
|
+
class: "mwnf-dxa-gallery-item__museum"
|
|
2176
|
+
}, {
|
|
2177
|
+
default: G(() => [i[2] ||= I("span", {
|
|
2178
|
+
class: "mwnf-dxa-gallery-item__icon",
|
|
2179
|
+
"aria-hidden": "true"
|
|
2180
|
+
}, "↗", -1), I("span", { innerHTML: e.holder }, null, 8, Mi)]),
|
|
2181
|
+
_: 2
|
|
2182
|
+
}, 1032, ["to"])) : e.holder ? (B(), F("span", {
|
|
2183
|
+
key: 1,
|
|
2184
|
+
innerHTML: e.holder
|
|
2185
|
+
}, null, 8, Ni)) : P("", !0)], 64))), 128))]),
|
|
2186
|
+
credits: G(({ record: e, credits: t, workingNumber: r, citation: i, dir: a }) => [e ? (B(), F("div", {
|
|
2187
|
+
key: 0,
|
|
2188
|
+
class: "mwnf-dxa-gallery-item__credits",
|
|
2189
|
+
dir: a || void 0
|
|
2190
|
+
}, [
|
|
2191
|
+
i ? (B(), F(j, { key: 0 }, [I("p", Fi, U(W(n)("record.citation.ofThisPage")), 1), (B(!0), F(j, null, H([f(i, e)], (t) => (B(), F("p", Ii, [
|
|
2192
|
+
L(U(t.before), 1),
|
|
2193
|
+
I("span", Li, U(t.project), 1),
|
|
2194
|
+
L(U(t.after) + " ", 1),
|
|
2195
|
+
I("span", Ri, U(l(e)), 1)
|
|
2196
|
+
]))), 128))], 64)) : P("", !0),
|
|
2197
|
+
(B(!0), F(j, null, H(t, (e) => (B(), F("p", {
|
|
2198
|
+
key: e.label,
|
|
2199
|
+
class: "mwnf-dxa-gallery-item__credit"
|
|
2200
|
+
}, [I("span", zi, U(e.label), 1), I("span", null, U(e.value), 1)]))), 128)),
|
|
2201
|
+
r ? (B(), F("p", Bi, [I("span", Vi, U(W(n)("gallery.sheet.workingNumber")), 1), L(U(" ") + U(r), 1)])) : P("", !0),
|
|
2202
|
+
I("div", { class: z(["mwnf-dxa-gallery-item__source", d(e)]) }, [I("p", null, U(W(n)("record.source.label")), 1), I("p", null, [I("a", {
|
|
2203
|
+
href: l(e),
|
|
2204
|
+
target: "_blank",
|
|
2205
|
+
rel: "noopener"
|
|
2206
|
+
}, U(l(e)), 9, Hi)])], 2)
|
|
2207
|
+
], 8, Pi)) : P("", !0)]),
|
|
2096
2208
|
_: 1
|
|
2097
|
-
}, 8, ["
|
|
2209
|
+
}, 8, ["id"]));
|
|
2098
2210
|
}
|
|
2099
|
-
},
|
|
2211
|
+
}, Wi = /* @__PURE__ */ A({ default: () => aa }), Gi = { class: "mwnf-dxa-timeline" }, Ki = { class: "mwnf-dxa-timeline__entrance" }, qi = [
|
|
2100
2212
|
"value",
|
|
2101
2213
|
"aria-label",
|
|
2102
2214
|
"onChange"
|
|
2103
|
-
],
|
|
2215
|
+
], Ji = {
|
|
2104
2216
|
disabled: "",
|
|
2105
2217
|
value: ""
|
|
2106
|
-
},
|
|
2218
|
+
}, Yi = ["value"], Xi = { class: "mwnf-dxa-timeline__dates" }, Zi = [
|
|
2107
2219
|
"value",
|
|
2108
2220
|
"aria-label",
|
|
2109
2221
|
"onChange"
|
|
2110
|
-
],
|
|
2222
|
+
], Qi = {
|
|
2111
2223
|
disabled: "",
|
|
2112
2224
|
value: ""
|
|
2113
|
-
},
|
|
2225
|
+
}, $i = ["value"], ea = [
|
|
2114
2226
|
"value",
|
|
2115
2227
|
"aria-label",
|
|
2116
2228
|
"onChange"
|
|
2117
|
-
],
|
|
2229
|
+
], ta = {
|
|
2118
2230
|
disabled: "",
|
|
2119
2231
|
value: ""
|
|
2120
|
-
},
|
|
2232
|
+
}, na = ["value"], ra = { class: "mwnf-dxa-timeline__go" }, ia = ["onClick"], aa = {
|
|
2121
2233
|
__name: "Timeline",
|
|
2122
2234
|
setup(e) {
|
|
2123
2235
|
let t = {
|
|
@@ -2140,83 +2252,83 @@ var Fr = {
|
|
|
2140
2252
|
end: e.end || a.at(-1)?.value
|
|
2141
2253
|
});
|
|
2142
2254
|
}
|
|
2143
|
-
return (e, r) => (
|
|
2255
|
+
return (e, r) => (B(), F("div", Gi, [R(O, {
|
|
2144
2256
|
spec: t,
|
|
2145
2257
|
class: "mwnf-dxa-timeline__form"
|
|
2146
2258
|
}, {
|
|
2147
|
-
form:
|
|
2148
|
-
|
|
2259
|
+
form: G((e) => [I("div", Ki, [
|
|
2260
|
+
I("select", {
|
|
2149
2261
|
class: "mwnf-dxa-timeline__country",
|
|
2150
2262
|
value: e.filters.country,
|
|
2151
2263
|
"aria-label": e.t("gallery.timeline.selectCountry"),
|
|
2152
2264
|
onChange: (t) => e.filters.country = t.target.value
|
|
2153
|
-
}, [
|
|
2265
|
+
}, [I("option", Ji, U(e.t("gallery.timeline.selectCountry")), 1), (B(!0), F(j, null, H(e.countries, (e) => (B(), F("option", {
|
|
2154
2266
|
key: e.value,
|
|
2155
2267
|
value: e.value
|
|
2156
|
-
},
|
|
2157
|
-
|
|
2268
|
+
}, U(e.label), 9, Yi))), 128))], 40, qi),
|
|
2269
|
+
I("div", Xi, [I("select", {
|
|
2158
2270
|
value: e.filters.begin,
|
|
2159
2271
|
"aria-label": e.t("gallery.timeline.startDate"),
|
|
2160
2272
|
onChange: (t) => e.filters.begin = t.target.value
|
|
2161
|
-
}, [
|
|
2273
|
+
}, [I("option", Qi, U(e.t("gallery.timeline.startDate")), 1), (B(!0), F(j, null, H(e.options.begin ?? [], (e) => (B(), F("option", {
|
|
2162
2274
|
key: e.value,
|
|
2163
2275
|
value: e.value
|
|
2164
|
-
},
|
|
2276
|
+
}, U(e.label), 9, $i))), 128))], 40, Zi), I("select", {
|
|
2165
2277
|
value: e.filters.end,
|
|
2166
2278
|
"aria-label": e.t("gallery.timeline.endDate"),
|
|
2167
2279
|
onChange: (t) => e.filters.end = t.target.value
|
|
2168
|
-
}, [
|
|
2280
|
+
}, [I("option", ta, U(e.t("gallery.timeline.endDate")), 1), (B(!0), F(j, null, H(e.options.end ?? [], (e) => (B(), F("option", {
|
|
2169
2281
|
key: e.value,
|
|
2170
2282
|
value: e.value
|
|
2171
|
-
},
|
|
2172
|
-
|
|
2283
|
+
}, U(e.label), 9, na))), 128))], 40, ea)]),
|
|
2284
|
+
I("div", ra, [I("button", {
|
|
2173
2285
|
type: "button",
|
|
2174
2286
|
onClick: (t) => n(e)
|
|
2175
|
-
},
|
|
2287
|
+
}, U(e.t("core.action.go")), 9, ia)])
|
|
2176
2288
|
])]),
|
|
2177
2289
|
_: 1
|
|
2178
|
-
}),
|
|
2290
|
+
}), R(W(K), {
|
|
2179
2291
|
class: "mwnf-dxa-timeline__intro",
|
|
2180
2292
|
dir: "auto",
|
|
2181
2293
|
keypath: "gallery.timeline.intro"
|
|
2182
2294
|
})]));
|
|
2183
2295
|
}
|
|
2184
|
-
},
|
|
2296
|
+
}, oa = /* @__PURE__ */ A({ default: () => ca }), sa = { class: "mwnf-dxa-home" }, ca = {
|
|
2185
2297
|
__name: "Home",
|
|
2186
2298
|
setup(e) {
|
|
2187
|
-
return (e, t) => (
|
|
2299
|
+
return (e, t) => (B(), F("div", sa));
|
|
2188
2300
|
}
|
|
2189
|
-
},
|
|
2301
|
+
}, la = /* @__PURE__ */ A({ default: () => da }), ua = { class: "mwnf-dxa-about" }, da = {
|
|
2190
2302
|
__name: "About",
|
|
2191
2303
|
setup(e) {
|
|
2192
|
-
return (e, t) => (
|
|
2304
|
+
return (e, t) => (B(), F("div", ua, [R(dt, { "about-mode": "" })]));
|
|
2193
2305
|
}
|
|
2194
|
-
},
|
|
2306
|
+
}, fa = /* @__PURE__ */ A({ default: () => ha }), pa = { class: "mwnf-dxa-themes" }, ma = { class: "mwnf-dxa-themes__container" }, ha = {
|
|
2195
2307
|
__name: "Themes",
|
|
2196
2308
|
setup(e) {
|
|
2197
|
-
let { listedThemes: t, romanFor: n, themeText: r } =
|
|
2309
|
+
let { listedThemes: t, romanFor: n, themeText: r } = xe, { t: i, locale: o } = Y(), s = M(() => t.value.map((e) => ({
|
|
2198
2310
|
title: r(e, o.value).title ?? e.internal_name ?? "",
|
|
2199
2311
|
number: n(e.display_order),
|
|
2200
2312
|
children: [{
|
|
2201
2313
|
title: i("exhibition.theme.overview"),
|
|
2202
|
-
to:
|
|
2314
|
+
to: pt(e)
|
|
2203
2315
|
}, ...(e.sub_themes ?? []).map((e) => ({
|
|
2204
2316
|
title: r(e, o.value).title ?? e.internal_name ?? "",
|
|
2205
|
-
to:
|
|
2317
|
+
to: pt(e)
|
|
2206
2318
|
}))]
|
|
2207
2319
|
})));
|
|
2208
|
-
return (e, t) => (
|
|
2320
|
+
return (e, t) => (B(), F("div", pa, [I("div", ma, [R(a, {
|
|
2209
2321
|
cards: s.value,
|
|
2210
2322
|
variant: "accordion"
|
|
2211
2323
|
}, null, 8, ["cards"])])]));
|
|
2212
2324
|
}
|
|
2213
|
-
},
|
|
2325
|
+
}, ga = /* @__PURE__ */ A({ default: () => ya }), _a = { class: "mwnf-dxa-theme-gallery__empty" }, va = {
|
|
2214
2326
|
key: 1,
|
|
2215
2327
|
class: "mwnf-loader"
|
|
2216
|
-
},
|
|
2328
|
+
}, ya = {
|
|
2217
2329
|
__name: "ThemeGallery",
|
|
2218
2330
|
setup(t) {
|
|
2219
|
-
let { pictureById: n, pictureParent: r, romanFor: i, themeByRouteId: a, themeText: o, themeTree: s } =
|
|
2331
|
+
let { pictureById: n, pictureParent: r, romanFor: i, themeByRouteId: a, themeText: o, themeTree: s } = xe, c = zt(), { t: l, locale: u } = Y(), d = M(() => a(c.params.id)), f = M(() => {
|
|
2220
2332
|
let e = /* @__PURE__ */ new Set();
|
|
2221
2333
|
if (!d.value) return e;
|
|
2222
2334
|
for (let t of s.itemsUnder(d.value.id)) {
|
|
@@ -2224,13 +2336,13 @@ var Fr = {
|
|
|
2224
2336
|
i && e.add(i.id);
|
|
2225
2337
|
}
|
|
2226
2338
|
return e;
|
|
2227
|
-
}), p =
|
|
2339
|
+
}), p = M(() => o(d.value, u.value).title ?? d.value?.internal_name ?? ""), m = M(() => ({
|
|
2228
2340
|
entity: "items",
|
|
2229
2341
|
scope: (e) => f.value.has(e.id),
|
|
2230
2342
|
sort: { undated: "first" },
|
|
2231
2343
|
variant: "grid",
|
|
2232
2344
|
recordRoute: "item",
|
|
2233
|
-
record: (e, t) =>
|
|
2345
|
+
record: (e, t) => He(e, t.t),
|
|
2234
2346
|
actionLabel: "catalogue.results.seeDatabaseEntry",
|
|
2235
2347
|
empty: "exhibition.theme.noRecords",
|
|
2236
2348
|
summary: () => [{
|
|
@@ -2238,30 +2350,30 @@ var Fr = {
|
|
|
2238
2350
|
value: `${l("exhibition.theme.romanLabel")} ${i(d.value?.display_order ?? 1)} | ${p.value}`
|
|
2239
2351
|
}]
|
|
2240
2352
|
}));
|
|
2241
|
-
return (t, n) => d.value ? (
|
|
2353
|
+
return (t, n) => d.value ? (B(), N(D, {
|
|
2242
2354
|
key: 0,
|
|
2243
2355
|
spec: m.value,
|
|
2244
2356
|
class: "mwnf-dxa-theme-gallery"
|
|
2245
2357
|
}, {
|
|
2246
|
-
before:
|
|
2247
|
-
empty:
|
|
2358
|
+
before: G(() => [R(e)]),
|
|
2359
|
+
empty: G(() => [I("p", _a, U(W(l)("exhibition.theme.noRecords")), 1)]),
|
|
2248
2360
|
_: 1
|
|
2249
|
-
}, 8, ["spec"])) : (
|
|
2361
|
+
}, 8, ["spec"])) : (B(), F("div", va, U(W(l)("exhibition.theme.notInExhibition")), 1));
|
|
2250
2362
|
}
|
|
2251
|
-
},
|
|
2363
|
+
}, ba = /* @__PURE__ */ A({ default: () => Sa }), xa = { class: "mwnf-dxa-item__languages" }, Sa = {
|
|
2252
2364
|
__name: "ItemDetail",
|
|
2253
2365
|
props: { id: {
|
|
2254
2366
|
type: String,
|
|
2255
2367
|
required: !0
|
|
2256
2368
|
} },
|
|
2257
2369
|
setup(t) {
|
|
2258
|
-
return (n, r) => (
|
|
2259
|
-
spec:
|
|
2370
|
+
return (n, r) => (B(), N(lt, {
|
|
2371
|
+
spec: W($e),
|
|
2260
2372
|
id: t.id,
|
|
2261
|
-
"data-getter": (e) =>
|
|
2373
|
+
"data-getter": (e) => W(T).get(e),
|
|
2262
2374
|
class: "mwnf-dxa-item"
|
|
2263
2375
|
}, {
|
|
2264
|
-
header:
|
|
2376
|
+
header: G(({ languages: t, language: n, select: r }) => [I("div", xa, [R(o, {
|
|
2265
2377
|
languages: t,
|
|
2266
2378
|
language: n,
|
|
2267
2379
|
onSelect: r
|
|
@@ -2269,7 +2381,7 @@ var Fr = {
|
|
|
2269
2381
|
"languages",
|
|
2270
2382
|
"language",
|
|
2271
2383
|
"onSelect"
|
|
2272
|
-
])]),
|
|
2384
|
+
])]), R(e)]),
|
|
2273
2385
|
_: 1
|
|
2274
2386
|
}, 8, [
|
|
2275
2387
|
"spec",
|
|
@@ -2277,7 +2389,7 @@ var Fr = {
|
|
|
2277
2389
|
"data-getter"
|
|
2278
2390
|
]));
|
|
2279
2391
|
}
|
|
2280
|
-
},
|
|
2392
|
+
}, Ca = /* @__PURE__ */ A({ default: () => wa }), wa = {
|
|
2281
2393
|
__name: "RelatedContent",
|
|
2282
2394
|
setup(e) {
|
|
2283
2395
|
let t = {
|
|
@@ -2290,24 +2402,24 @@ var Fr = {
|
|
|
2290
2402
|
2,
|
|
2291
2403
|
3,
|
|
2292
2404
|
4
|
|
2293
|
-
], { t: r, locale: i } =
|
|
2405
|
+
], { t: r, locale: i } = Y();
|
|
2294
2406
|
function a(e) {
|
|
2295
2407
|
return e?.[i.value] ?? e?.en ?? "";
|
|
2296
2408
|
}
|
|
2297
2409
|
function o(e) {
|
|
2298
|
-
return e.document_path ?
|
|
2410
|
+
return e.document_path ? w(e.document_path, "hi_res") : e.url ?? null;
|
|
2299
2411
|
}
|
|
2300
2412
|
function s(e) {
|
|
2301
|
-
return a(e.titles) ?
|
|
2413
|
+
return a(e.titles) ? E(a(e.titles)) : a(e.texts) ? E(a(e.texts)) : o(e) || r("exhibition.relatedCategory.unknown");
|
|
2302
2414
|
}
|
|
2303
2415
|
function c(e) {
|
|
2304
2416
|
if (!a(e.titles)) return "";
|
|
2305
2417
|
let t = [];
|
|
2306
|
-
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ?
|
|
2418
|
+
return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ? Ze(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(E(a(e.descriptions))), e.further_reading && t.push(E(e.further_reading)), t.join(" — ");
|
|
2307
2419
|
}
|
|
2308
2420
|
function l() {
|
|
2309
2421
|
let e = /* @__PURE__ */ new Map();
|
|
2310
|
-
for (let t of
|
|
2422
|
+
for (let t of Ue.value ?? []) {
|
|
2311
2423
|
let n = e.get(t.category_id);
|
|
2312
2424
|
n ? n.push(t) : e.set(t.category_id, [t]);
|
|
2313
2425
|
}
|
|
@@ -2328,20 +2440,20 @@ var Fr = {
|
|
|
2328
2440
|
to: { name: "home" }
|
|
2329
2441
|
}
|
|
2330
2442
|
};
|
|
2331
|
-
return (e, t) => (
|
|
2443
|
+
return (e, t) => (B(), N(et, {
|
|
2332
2444
|
spec: u,
|
|
2333
2445
|
class: "mwnf-dxa-related"
|
|
2334
2446
|
}));
|
|
2335
2447
|
}
|
|
2336
|
-
},
|
|
2448
|
+
}, Ta = /* @__PURE__ */ A({ default: () => Ea }), Ea = {
|
|
2337
2449
|
__name: "Timeline",
|
|
2338
2450
|
setup(e) {
|
|
2339
|
-
let t =
|
|
2340
|
-
...
|
|
2451
|
+
let t = M(() => ({
|
|
2452
|
+
...ke.value,
|
|
2341
2453
|
entrance: !0
|
|
2342
2454
|
}));
|
|
2343
|
-
return (e, n) => (
|
|
2344
|
-
after:
|
|
2455
|
+
return (e, n) => (B(), N(O, { spec: t.value }, {
|
|
2456
|
+
after: G(() => [R(W(K), {
|
|
2345
2457
|
class: "mwnf-prose mwnf-dxa-timeline__intro",
|
|
2346
2458
|
dir: "auto",
|
|
2347
2459
|
keypath: "exhibition.timeline.intro"
|
|
@@ -2350,4 +2462,4 @@ var Fr = {
|
|
|
2350
2462
|
}, 8, ["spec"]));
|
|
2351
2463
|
}
|
|
2352
2464
|
};
|
|
2353
|
-
export {
|
|
2465
|
+
export { da as ExhibitionAbout, or as ExhibitionCollectionResults, cr as ExhibitionCollectionSearch, ca as ExhibitionHome, Sa as ExhibitionItemDetail, ur as ExhibitionPartnerObjects, Jn as ExhibitionPartners, wa as ExhibitionRelatedContent, Gn as ExhibitionSearchHowTo, er as ExhibitionSearchResults, Fr as ExhibitionShell, dt as ExhibitionTheme, ya as ExhibitionThemeGallery, ha as ExhibitionThemes, Ea as ExhibitionTimeline, nr as ExhibitionTimelineGallery, tr as ExhibitionTimelineResults, Qr as FeaturedPartners, Wt as GalleryAbout, Fn as GalleryCollectionResults, Rn as GalleryCollectionSearch, Gt as GalleryCredits, Ei as GalleryHome, Ui as GalleryItemDetail, Wn as GalleryPartnerObjects, cn as GalleryPartners, Kt as GallerySearchHowTo, En as GallerySearchResults, kr as GalleryShell, aa as GalleryTimeline, An as GalleryTimelineGallery, Dn as GalleryTimelineResults, lt as ItemDetailView, Ht as PartnerDetail, ut as PictureGallery, ft as PictureNarrative, Pr as PopupLogo, _i as SiblingGalleries, ht as exhibitionAboutSpec, Rr as exhibitionConfig, S as exhibitionPartnerDetail, mt as exhibitionThemeSpec, Lr as galleryConfig, ye as galleryPartnerDetail, Tr as standardRoutes, pt as themeNodeRoute };
|