@museumwnf/viewer-layout 3.3.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +191 -12
  2. package/dist/{FeaturedRecord-BJ8LaWGP.js → FeaturedRecord-DJfyvfqt.js} +1 -1
  3. package/dist/GlossaryPopover-DcptyNWI.js +654 -0
  4. package/dist/ItemDetailView-COWC8GDg.js +299 -0
  5. package/dist/{OnDisplayIn-Dv8i7uvH.js → OnDisplayIn-BfJoPonn.js} +38 -38
  6. package/dist/RecordView-C9rP8TyQ.js +263 -0
  7. package/dist/SiteShell-4vV2jIzf.js +192 -0
  8. package/dist/{Theme-Db88mckV.js → Theme-CZ-OVXao.js} +26 -26
  9. package/dist/TimelineEventList-gsoc-SBx.js +841 -0
  10. package/dist/TimelineResultsView-C2-TnM71.js +1386 -0
  11. package/dist/chrome-DPuPeWzV.js +1141 -0
  12. package/dist/components.js +1 -1
  13. package/dist/{content-p0tqKkcD.js → content-CtwBcSjU.js} +2 -2
  14. package/dist/content.js +6 -5
  15. package/dist/data-CJlLA-Mf.js +38 -0
  16. package/dist/data-DTbAYdr2.js +40 -0
  17. package/dist/dxa.js +638 -519
  18. package/dist/index.js +7 -6
  19. package/dist/standalone.js +762 -0
  20. package/dist/{themeSpecs-C_uGarTs.js → themeSpecs-B885l456.js} +3 -2
  21. package/dist/viewer-layout.css +1 -1
  22. package/dist/views.js +5 -4
  23. package/package.json +4 -3
  24. package/src/dxa/testing.js +37 -14
  25. package/src/styles/dxa-exhibition.css +25 -1
  26. package/src/styles/dxa-gallery.css +249 -2
  27. package/src/tokens.reference.css +78 -0
  28. package/dist/ItemDetailView-CfUtRLOV.js +0 -284
  29. package/dist/PageShell-CbJ9lQoQ.js +0 -961
  30. package/dist/SiteShell-C3OgZO8p.js +0 -154
  31. package/dist/TimelineEventList-COjkXEzS.js +0 -1487
  32. package/dist/TimelineResultsView-CmHomvV_.js +0 -1636
  33. package/dist/data-BfyYB8ff.js +0 -33
  34. package/dist/data-G8uXeEfE.js +0 -35
package/dist/dxa.js CHANGED
@@ -1,17 +1,20 @@
1
- import { a as e, i as t, n, r } from "./Theme-Db88mckV.js";
2
- import { d as i, h as a, m as o, n as s, p as c, v as l, y as u } from "./TimelineEventList-COjkXEzS.js";
3
- import { s as d } from "./OnDisplayIn-Dv8i7uvH.js";
4
- import { a as f, c as p, i as m, n as h, r as g, s as ee, t as _ } from "./TimelineResultsView-CmHomvV_.js";
5
- import { t as te } from "./SiteShell-C3OgZO8p.js";
6
- import { A as ne, C as re, D as ie, E as ae, M as oe, N as se, O as ce, S as le, T as ue, _ as de, a as fe, b as v, c as pe, d as me, f as he, g as y, h as ge, i as _e, j as ve, k as ye, l as be, m as xe, n as Se, o as Ce, p as we, r as Te, s as Ee, t as De, u as b, v as Oe, w as ke, x as Ae, y as je } from "./data-G8uXeEfE.js";
7
- import { A as Me, C as Ne, D as Pe, E as Fe, F as Ie, I as Le, L as Re, M as ze, N as Be, O as Ve, P as He, R as Ue, S as We, T as x, _ as Ge, a as Ke, b as qe, c as Je, d as Ye, f as S, g as Xe, h as Ze, i as Qe, j as C, k as $e, l as w, m as et, n as tt, o as nt, p as rt, r as it, s as at, t as ot, u as st, v as T, w as E, x as D, y as ct } from "./data-BfyYB8ff.js";
8
- import { t as O } from "./ItemDetailView-CfUtRLOV.js";
9
- import { n as k, r as lt, t as ut } from "./themeSpecs-C_uGarTs.js";
10
- import { Fragment as A, computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createTextVNode as I, createVNode as L, normalizeClass as dt, normalizeStyle as ft, onBeforeUnmount as pt, onMounted as mt, openBlock as R, ref as z, renderList as B, renderSlot as ht, toDisplayString as V, unref as H, vModelText as gt, vShow as _t, withCtx as U, withDirectives as W, withModifiers as vt } from "vue";
11
- import { I18nText as G, NotFoundView as yt, languageLabels as bt, loadEntities as K, mwnfLinks as q, offeredLanguages as xt, renderInline as St, sectionMeta as Ct, useDataPackage as wt, useFacets as Tt, useI18n as J, useKeywordIndex as Et, useSection as Dt, useSiteConfig as Y, yearBuckets as X } from "@museumwnf/viewer-core";
12
- import { RouterLink as Z, useRoute as Q, useRouter as Ot } from "vue-router";
1
+ import { a as e, i as t, n, r } from "./Theme-CZ-OVXao.js";
2
+ import { c as i, i as a, n as o, r as s, t as c } from "./chrome-DPuPeWzV.js";
3
+ import { c as l, d as u } from "./GlossaryPopover-DcptyNWI.js";
4
+ import { a as d, c as f, n as p, o as m, s as h } from "./TimelineEventList-gsoc-SBx.js";
5
+ import { s as g } from "./OnDisplayIn-BfJoPonn.js";
6
+ import { a as ee, i as _, n as v, r as y, s as b, t as x } from "./TimelineResultsView-C2-TnM71.js";
7
+ import { t as te } from "./RecordView-C9rP8TyQ.js";
8
+ import { t as ne } from "./SiteShell-4vV2jIzf.js";
9
+ import { A as re, C as ie, D as ae, E as oe, M as se, N as ce, O as le, S as ue, T as de, _ as fe, a as pe, b as S, c as me, d as he, f as ge, g as C, h as _e, i as ve, j as ye, k as be, l as xe, m as Se, n as Ce, o as we, p as Te, r as Ee, s as De, t as Oe, u as w, v as ke, w as Ae, x as je, y as Me } from "./data-DTbAYdr2.js";
10
+ import { A as Ne, C as Pe, D as Fe, E as Ie, F as Le, I as Re, L as ze, M as Be, N as Ve, O as He, P as Ue, R as We, S as Ge, T, _ as Ke, a as qe, b as Je, c as Ye, d as Xe, f as E, g as Ze, h as Qe, i as $e, j as et, k as tt, l as nt, m as rt, n as it, o as D, p as at, r as ot, s as st, t as ct, u as lt, v as O, w as k, x as A, y as ut } from "./data-CJlLA-Mf.js";
11
+ import { t as dt } from "./ItemDetailView-COWC8GDg.js";
12
+ import { n as ft, r as pt, t as mt } from "./themeSpecs-B885l456.js";
13
+ import { Fragment as j, computed as M, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ht, createTextVNode as L, createVNode as R, normalizeClass as gt, normalizeStyle as _t, onBeforeUnmount as vt, onMounted as yt, openBlock as z, ref as B, renderList as V, renderSlot as bt, resolveDynamicComponent as xt, toDisplayString as H, unref as U, vModelText as St, vShow as Ct, withCtx as W, withDirectives as G, withModifiers as wt } from "vue";
14
+ import { I18nText as K, NotFoundView as Tt, languageLabels as Et, loadEntities as q, mwnfLinks as J, offeredLanguages as Dt, renderInline as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as Y, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as X, yearBuckets as Z } from "@museumwnf/viewer-core";
15
+ import { RouterLink as Q, useRoute as Pt, useRouter as Ft } from "vue-router";
13
16
  //#region src/dxa/PartnerDetail.vue
14
- var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
17
+ var It = { class: "mwnf-dxa-profile-languages" }, $ = {
15
18
  __name: "PartnerDetail",
16
19
  props: {
17
20
  id: {
@@ -28,14 +31,14 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
28
31
  }
29
32
  },
30
33
  setup(e) {
31
- let t = e, { t: n } = J(), r = j(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
32
- return (t, a) => e.family.visible(e.id) ? (R(), M(ee, {
34
+ let t = e, { t: n } = Y(), r = M(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
35
+ return (t, i) => e.family.visible(e.id) ? (z(), N(te, {
33
36
  key: 0,
34
37
  spec: e.family.spec,
35
38
  id: e.id,
36
39
  class: "mwnf-dxa-partner-profile"
37
40
  }, {
38
- header: U(({ languages: e, language: t, select: n }) => [F("div", kt, [L(i, {
41
+ header: W(({ languages: e, language: t, select: n }) => [I("div", It, [R(l, {
39
42
  languages: e,
40
43
  language: t,
41
44
  onSelect: n
@@ -43,22 +46,22 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
43
46
  "languages",
44
47
  "language",
45
48
  "onSelect"
46
- ])]), L(d)]),
47
- "before-sheet": U(({ record: t, text: i, dir: a }) => [L(s, {
49
+ ])]), R(g)]),
50
+ "before-sheet": W(({ record: t, text: i, dir: a }) => [R(p, {
48
51
  variant: "full",
49
52
  partner: e.family.view(t, i),
50
53
  heading: 1,
51
54
  "homepage-label": r.value.homepage ?? "partner.nav.homepage",
52
55
  dir: a
53
56
  }, {
54
- actions: U(({ partner: e }) => [e.objectsRoute ? (R(), M(u, {
57
+ actions: W(({ partner: e }) => [e.objectsRoute ? (z(), N(u, {
55
58
  key: 0,
56
59
  class: "mwnf-button",
57
60
  to: e.objectsRoute
58
61
  }, {
59
- default: U(() => [I(V(H(n)(r.value.objects ?? "partner.action.viewObjects")), 1)]),
62
+ default: W(() => [L(H(U(n)(r.value.objects ?? "partner.action.viewObjects")), 1)]),
60
63
  _: 1
61
- }, 8, ["to"])) : N("", !0)]),
64
+ }, 8, ["to"])) : P("", !0)]),
62
65
  _: 1
63
66
  }, 8, [
64
67
  "partner",
@@ -66,37 +69,37 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
66
69
  "dir"
67
70
  ])]),
68
71
  _: 1
69
- }, 8, ["spec", "id"])) : (R(), M(H(yt), { key: 1 }));
72
+ }, 8, ["spec", "id"])) : (z(), N(U(Tt), { key: 1 }));
70
73
  }
71
- }, At = {
74
+ }, Lt = {
72
75
  __name: "About",
73
76
  setup(e) {
74
77
  let t = {
75
78
  body: "gallery.about.body",
76
79
  back: !0
77
80
  };
78
- return (e, n) => (R(), M(g, {
81
+ return (e, n) => (z(), N(y, {
79
82
  spec: t,
80
83
  class: "mwnf-dxa-editorial"
81
84
  }));
82
85
  }
83
- }, jt = {
86
+ }, Rt = {
84
87
  __name: "Credits",
85
88
  props: { bodyKey: {
86
89
  type: String,
87
90
  required: !0
88
91
  } },
89
92
  setup(e) {
90
- let t = e, n = j(() => ({
93
+ let t = e, n = M(() => ({
91
94
  body: t.bodyKey,
92
95
  back: !0
93
96
  }));
94
- return (e, t) => (R(), M(g, {
97
+ return (e, t) => (z(), N(y, {
95
98
  spec: n.value,
96
99
  class: "mwnf-dxa-editorial"
97
100
  }, null, 8, ["spec"]));
98
101
  }
99
- }, Mt = {
102
+ }, zt = {
100
103
  __name: "SearchHowTo",
101
104
  setup(e) {
102
105
  let t = {
@@ -106,22 +109,22 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
106
109
  to: { name: "collection" }
107
110
  }
108
111
  };
109
- return (e, n) => (R(), M(g, {
112
+ return (e, n) => (z(), N(y, {
110
113
  spec: t,
111
114
  class: "mwnf-dxa-editorial"
112
115
  }));
113
116
  }
114
- }, Nt = { class: "mwnf-dxa-partners" }, Pt = {
117
+ }, Bt = { class: "mwnf-dxa-partners" }, Vt = {
115
118
  __name: "Partners",
116
119
  setup(e) {
117
120
  let t = {
118
- ...le,
119
- objectsRoute: ke,
121
+ ...ue,
122
+ objectsRoute: Ae,
120
123
  actions: !0,
121
124
  emptyLabel: "gallery.partner.noObjectsInGallery"
122
125
  };
123
- return (e, n) => (R(), P("div", Nt, [L(m, { spec: t }, {
124
- before: U(() => [L(d), L(H(G), {
126
+ return (e, n) => (z(), F("div", Bt, [R(_, { spec: t }, {
127
+ before: W(() => [R(g), R(U(K), {
125
128
  id: "mwnf-dxa-partners-intro",
126
129
  class: "mwnf-prose",
127
130
  dir: "auto",
@@ -130,32 +133,32 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
130
133
  _: 1
131
134
  })]));
132
135
  }
133
- }, Ft = ["onSubmit"], It = ["placeholder"], Lt = {
136
+ }, Ht = ["onSubmit"], Ut = ["placeholder"], Wt = {
134
137
  type: "submit",
135
138
  class: "mwnf-dxa-refine-search-submit"
136
- }, Rt = { class: "mwnf-dxa-how-to" }, zt = { class: "mwnf-dxa-no-results" }, Bt = {
139
+ }, Gt = { class: "mwnf-dxa-how-to" }, Kt = { class: "mwnf-dxa-no-results" }, qt = {
137
140
  __name: "SearchResults",
138
141
  setup(e) {
139
- let t = Et("items", {
142
+ let t = Mt("items", {
140
143
  grammar: "boolean",
141
- haystack: me
142
- }), n = z(!1);
143
- de().then(() => {
144
+ haystack: he
145
+ }), n = B(!1);
146
+ fe().then(() => {
144
147
  n.value = !0;
145
148
  });
146
149
  function r(e) {
147
150
  return !e || e === "all-objects";
148
151
  }
149
- let i = z(""), a = j(() => ({
152
+ let i = B(""), a = M(() => ({
150
153
  entity: "items",
151
154
  keys: ["q"],
152
155
  sort: !1,
153
156
  narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
154
- pageSize: _e,
157
+ pageSize: ve,
155
158
  variant: "grid",
156
159
  recordRoute: "item",
157
160
  actionLabel: "catalogue.results.seeDatabaseEntry",
158
- record: (e, { t }) => ce(e, t),
161
+ record: (e, { t }) => le(e, t),
159
162
  pagination: { jump: !0 },
160
163
  summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
161
164
  label: n("core.section.database"),
@@ -165,58 +168,58 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
165
168
  value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
166
169
  }]
167
170
  }));
168
- return (e, t) => (R(), M(p, {
171
+ return (e, t) => (z(), N(b, {
169
172
  spec: a.value,
170
173
  class: "mwnf-dxa-search-results"
171
174
  }, {
172
- before: U(() => [L(d)]),
173
- filters: U(({ apply: n }) => [F("form", {
175
+ before: W(() => [R(g)]),
176
+ filters: W(({ apply: n }) => [I("form", {
174
177
  class: "mwnf-dxa-refine-search",
175
- onSubmit: vt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
176
- }, [W(F("input", {
178
+ onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
179
+ }, [G(I("input", {
177
180
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
178
181
  type: "text",
179
182
  class: "mwnf-dxa-refine-search-input",
180
183
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
181
- }, null, 8, It), [[gt, i.value]]), F("button", Lt, V(e.$t("catalogue.search.submit")), 1)], 40, Ft), F("p", Rt, [L(H(Z), { to: { name: "search-how-to" } }, {
182
- default: U(() => [I(V(e.$t("catalogue.search.howTo")) + " ›", 1)]),
184
+ }, null, 8, Ut), [[St, i.value]]), I("button", Wt, H(e.$t("catalogue.search.submit")), 1)], 40, Ht), I("p", Gt, [R(U(Q), { to: { name: "search-how-to" } }, {
185
+ default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
183
186
  _: 1
184
187
  })])]),
185
- empty: U(() => [F("p", zt, [
186
- I(V(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
187
- L(H(Z), { to: { name: "search-how-to" } }, {
188
- default: U(() => [I(V(e.$t("catalogue.search.howTo")), 1)]),
188
+ empty: W(() => [I("p", Kt, [
189
+ L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
190
+ R(U(Q), { to: { name: "search-how-to" } }, {
191
+ default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
189
192
  _: 1
190
193
  }),
191
- t[1] ||= F("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
192
- L(H(Z), { to: { name: "collection" } }, {
193
- default: U(() => [I(V(e.$t("core.section.collection")), 1)]),
194
+ t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
195
+ R(U(Q), { to: { name: "collection" } }, {
196
+ default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
194
197
  _: 1
195
198
  })
196
199
  ])]),
197
200
  _: 1
198
201
  }, 8, ["spec"]));
199
202
  }
200
- }, Vt = {
203
+ }, Jt = {
201
204
  __name: "TimelineResults",
202
205
  setup(e) {
203
- return (e, t) => (R(), M(_, {
204
- spec: H(ne),
206
+ return (e, t) => (z(), N(x, {
207
+ spec: U(re),
205
208
  class: "mwnf-dxa-timeline-results"
206
209
  }, {
207
- before: U(() => [L(d)]),
210
+ before: W(() => [R(g)]),
208
211
  _: 1
209
212
  }, 8, ["spec"]));
210
213
  }
211
- }, Ht = { class: "mwnf-dxa-back-to-events" }, Ut = {
214
+ }, Yt = { class: "mwnf-dxa-back-to-events" }, Xt = {
212
215
  __name: "TimelineGallery",
213
216
  setup(e) {
214
- return (e, t) => (R(), M(p, {
215
- spec: H(ye),
217
+ return (e, t) => (z(), N(b, {
218
+ spec: U(be),
216
219
  class: "mwnf-dxa-timeline-gallery"
217
220
  }, {
218
- before: U(() => [L(d)]),
219
- actions: U(({ filters: t, pageInfo: n, goToPage: r }) => [F("p", Ht, [L(H(Z), { to: {
221
+ before: W(() => [R(g)]),
222
+ actions: W(({ filters: t, pageInfo: n, goToPage: r }) => [I("p", Yt, [R(U(Q), { to: {
220
223
  name: "timeline-results",
221
224
  query: {
222
225
  country: t.country,
@@ -224,9 +227,9 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
224
227
  end: t.end
225
228
  }
226
229
  } }, {
227
- default: U(() => [I(" ➤ " + V(e.$t("timeline.nav.backToEvents")), 1)]),
230
+ default: W(() => [L(" ➤ " + H(e.$t("timeline.nav.backToEvents")), 1)]),
228
231
  _: 1
229
- }, 8, ["to"])]), L(a, {
232
+ }, 8, ["to"])]), R(h, {
230
233
  class: "mwnf-dxa-pages",
231
234
  "page-info": n,
232
235
  jump: "",
@@ -235,83 +238,83 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
235
238
  _: 1
236
239
  }, 8, ["spec"]));
237
240
  }
238
- }, Wt = { class: "mwnf-dxa-date-wrapper" }, Gt = {
241
+ }, Zt = { class: "mwnf-dxa-date-wrapper" }, Qt = {
239
242
  key: 0,
240
243
  class: "mwnf-dxa-timeline-link-box"
241
- }, Kt = { class: "mwnf-dxa-options-label" }, qt = {
244
+ }, $t = { class: "mwnf-dxa-options-label" }, en = {
242
245
  __name: "CollectionResults",
243
246
  setup(e) {
244
- let t = Ot(), { t: n } = J(), r = se(), i = Ce.keys, s = (e) => i.filter((t) => e[t]).length <= 1;
245
- function l() {
247
+ let t = Ft(), { t: n } = Y(), r = ce(), i = we.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
248
+ function o() {
246
249
  t.push({ name: "collection" });
247
250
  }
248
- let u = j(() => new Set((ve.value ?? []).map((e) => e.country_id)));
249
- function f(e) {
250
- let t = Ee(e.country);
251
- return !!(t && u.value.has(t));
251
+ let s = M(() => new Set((ye.value ?? []).map((e) => e.country_id)));
252
+ function c(e) {
253
+ let t = De(e.country);
254
+ return !!(t && s.value.has(t));
252
255
  }
253
- return (e, t) => (R(), M(p, {
254
- spec: H(Ce),
256
+ return (e, t) => (z(), N(b, {
257
+ spec: U(we),
255
258
  class: "mwnf-dxa-collection-results"
256
259
  }, {
257
- before: U(() => [L(d)]),
258
- actions: U(({ pageInfo: e, goToPage: t }) => [L(a, {
260
+ before: W(() => [R(g)]),
261
+ actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
259
262
  class: "mwnf-dxa-pages",
260
263
  "page-info": e,
261
264
  jump: "",
262
265
  onNavigate: t
263
266
  }, null, 8, ["page-info", "onNavigate"])]),
264
- empty: U(() => [I(V(e.$t("catalogue.results.noResults")) + " ", 1), F("button", {
267
+ empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
265
268
  class: "mwnf-dxa-linkish",
266
- onClick: t[0] ||= (e) => l()
267
- }, V(e.$t("catalogue.results.resetFilters")), 1)]),
268
- aside: U(({ filters: i, apply: a, matching: u, options: d }) => [L(c, {
269
+ onClick: t[0] ||= (e) => o()
270
+ }, H(e.$t("catalogue.results.resetFilters")), 1)]),
271
+ aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
269
272
  mode: "immediate",
270
- title: s(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
273
+ title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
271
274
  "reset-label": e.$t("catalogue.results.resetFilters"),
272
- disabled: u.length === 0,
273
- onReset: t[1] ||= (e) => l()
275
+ disabled: l.length === 0,
276
+ onReset: t[1] ||= (e) => o()
274
277
  }, {
275
- default: U(() => [
276
- L(o, {
278
+ default: W(() => [
279
+ R(m, {
277
280
  "model-value": i.country,
278
- options: d.country,
281
+ options: u.country,
279
282
  placeholder: e.$t("catalogue.facet.selectCountry"),
280
- "onUpdate:modelValue": (e) => a({ country: e })
283
+ "onUpdate:modelValue": (e) => s({ country: e })
281
284
  }, null, 8, [
282
285
  "model-value",
283
286
  "options",
284
287
  "placeholder",
285
288
  "onUpdate:modelValue"
286
289
  ]),
287
- (R(!0), P(A, null, B(H(Se), (e) => (R(), M(o, {
290
+ (z(!0), F(j, null, V(U(Ce), (e) => (z(), N(m, {
288
291
  key: e,
289
292
  "model-value": i[e],
290
- options: d[e],
291
- placeholder: H(r)[e],
293
+ options: u[e],
294
+ placeholder: U(r)[e],
292
295
  "hide-empty": "",
293
- "onUpdate:modelValue": (t) => a({ [e]: t })
296
+ "onUpdate:modelValue": (t) => s({ [e]: t })
294
297
  }, null, 8, [
295
298
  "model-value",
296
299
  "options",
297
300
  "placeholder",
298
301
  "onUpdate:modelValue"
299
302
  ]))), 128)),
300
- F("div", Wt, [L(o, {
303
+ I("div", Zt, [R(m, {
301
304
  "model-value": i.from,
302
- options: H(X)(u, H(n)),
305
+ options: U(Z)(l, U(n)),
303
306
  placeholder: e.$t("catalogue.facet.startDate"),
304
- "onUpdate:modelValue": (e) => a({ from: e })
307
+ "onUpdate:modelValue": (e) => s({ from: e })
305
308
  }, null, 8, [
306
309
  "model-value",
307
310
  "options",
308
311
  "placeholder",
309
312
  "onUpdate:modelValue"
310
- ]), L(o, {
313
+ ]), R(m, {
311
314
  "model-value": i.to,
312
- options: H(X)(u, H(n)),
315
+ options: U(Z)(l, U(n)),
313
316
  placeholder: e.$t("catalogue.facet.endDate"),
314
- "onUpdate:modelValue": (e) => a({ to: e })
317
+ "onUpdate:modelValue": (e) => s({ to: e })
315
318
  }, null, 8, [
316
319
  "model-value",
317
320
  "options",
@@ -324,7 +327,7 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
324
327
  "title",
325
328
  "reset-label",
326
329
  "disabled"
327
- ]), f(i) ? (R(), P("div", Gt, [F("div", Kt, V(e.$t("catalogue.results.timelineForSearch")), 1), F("p", null, [t[2] ||= I(" ➤ ", -1), L(H(Z), { to: {
330
+ ]), c(i) ? (z(), F("div", Qt, [I("div", $t, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
328
331
  name: "timeline-results",
329
332
  query: {
330
333
  country: i.country,
@@ -332,16 +335,16 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
332
335
  end: i.to
333
336
  }
334
337
  } }, {
335
- default: U(() => [I(V(e.$t("core.section.timeline")) + " | " + V(H(y)("countries", H(Ee)(i.country))), 1)]),
338
+ default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(C)("countries", U(De)(i.country))), 1)]),
336
339
  _: 2
337
- }, 1032, ["to"])])])) : N("", !0)]),
340
+ }, 1032, ["to"])])])) : P("", !0)]),
338
341
  _: 1
339
342
  }, 8, ["spec"]));
340
343
  }
341
- }, Jt = { class: "mwnf-dxa-collection-search" }, Yt = { class: "mwnf-dxa-dropdown-label" }, Xt = {
344
+ }, tn = { class: "mwnf-dxa-collection-search" }, nn = { class: "mwnf-dxa-dropdown-label" }, rn = {
342
345
  __name: "CollectionSearch",
343
346
  setup(e) {
344
- let t = Tt(ge, De), n = j(() => Se.filter((e) => (t.value[e] ?? []).length > 0)), r = j(() => ({
347
+ let t = jt(_e, Oe), n = M(() => Ce.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
345
348
  mode: "facets",
346
349
  target: "collection-results",
347
350
  dates: "buckets",
@@ -351,54 +354,54 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
351
354
  options: t.value.country
352
355
  }, ...n.value.map((e) => ({
353
356
  key: e,
354
- label: Te[e],
357
+ label: Ee[e],
355
358
  options: t.value[e]
356
359
  }))]
357
360
  }));
358
- return (e, t) => (R(), P("div", Jt, [L(h, { spec: r.value }, {
359
- before: U(() => [F("div", Yt, V(e.$t("catalogue.facet.filterBy")), 1)]),
361
+ return (e, t) => (z(), F("div", tn, [R(v, { spec: r.value }, {
362
+ before: W(() => [I("div", nn, H(e.$t("catalogue.facet.filterBy")), 1)]),
360
363
  _: 1
361
- }, 8, ["spec"]), L(H(G), {
364
+ }, 8, ["spec"]), R(U(K), {
362
365
  id: "mwnf-dxa-collection-search-description",
363
366
  class: "mwnf-dxa-description mwnf-prose",
364
367
  dir: "auto",
365
368
  keypath: "gallery.collection.intro"
366
369
  })]));
367
370
  }
368
- }, Zt = {
371
+ }, an = {
369
372
  key: 0,
370
373
  class: "mwnf-dxa-partner-objects"
371
- }, Qt = { class: "mwnf-dxa-profile-link-container" }, $t = {
374
+ }, on = { class: "mwnf-dxa-profile-link-container" }, sn = {
372
375
  __name: "PartnerObjects",
373
376
  setup(e) {
374
- let t = Q(), n = j(() => je.value.get(t.params.id) ?? null), r = j(() => ({
375
- ...re,
377
+ let t = Pt(), n = M(() => Me.value.get(t.params.id) ?? null), r = M(() => ({
378
+ ...ie,
376
379
  scope: (e) => e.partner_id === t.params.id
377
- })), i = j(() => n.value ? v.view(n.value, oe("partners", n.value.id, pe)) : null);
378
- return (e, t) => n.value ? (R(), P("div", Zt, [L(p, { spec: r.value }, {
379
- before: U(() => [L(d), L(s, {
380
+ })), i = M(() => n.value ? S.view(n.value, se("partners", n.value.id, me)) : null);
381
+ return (e, t) => n.value ? (z(), F("div", an, [R(b, { spec: r.value }, {
382
+ before: W(() => [R(g), R(p, {
380
383
  class: "mwnf-dxa-partner-objects-header",
381
384
  variant: "summary",
382
385
  heading: 1,
383
386
  partner: i.value
384
387
  }, null, 8, ["partner"])]),
385
- actions: U(({ pageInfo: e, goToPage: t }) => [L(a, {
388
+ actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
386
389
  class: "mwnf-dxa-pages",
387
390
  "page-info": e,
388
391
  jump: "",
389
392
  onNavigate: t
390
393
  }, null, 8, ["page-info", "onNavigate"])]),
391
- after: U(() => [F("div", Qt, [L(H(Z), {
394
+ after: W(() => [I("div", on, [R(U(Q), {
392
395
  class: "mwnf-dxa-profile-link",
393
- to: H(ue)(n.value)
396
+ to: U(de)(n.value)
394
397
  }, {
395
- default: U(() => [I("➤ " + V(e.$t("partner.action.partnerProfile")), 1)]),
398
+ default: W(() => [L("➤ " + H(e.$t("partner.action.partnerProfile")), 1)]),
396
399
  _: 1
397
400
  }, 8, ["to"])])]),
398
401
  _: 1
399
- }, 8, ["spec"])])) : N("", !0);
402
+ }, 8, ["spec"])])) : P("", !0);
400
403
  }
401
- }, en = {
404
+ }, cn = {
402
405
  __name: "SearchHowTo",
403
406
  setup(e) {
404
407
  let t = {
@@ -408,22 +411,22 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
408
411
  to: { name: "collection" }
409
412
  }
410
413
  };
411
- return (e, n) => (R(), M(g, {
414
+ return (e, n) => (z(), N(y, {
412
415
  spec: t,
413
416
  class: "mwnf-dxa-editorial"
414
417
  }));
415
418
  }
416
- }, tn = { class: "mwnf-dxa-partners" }, nn = { class: "mwnf-dxa-partners-options" }, rn = {
419
+ }, ln = { class: "mwnf-dxa-partners" }, un = { class: "mwnf-dxa-partners-options" }, dn = {
417
420
  __name: "Partners",
418
421
  setup(e) {
419
422
  let t = {
420
- ...Fe,
421
- objectsRoute: Pe,
423
+ ...Ie,
424
+ objectsRoute: Fe,
422
425
  actions: !0,
423
426
  emptyLabel: "exhibition.partner.noObjectsInExhibition"
424
427
  };
425
- return (e, n) => (R(), P("div", tn, [L(m, { spec: t }, {
426
- before: U(() => [F("div", nn, [L(d)]), L(H(G), {
428
+ return (e, n) => (z(), F("div", ln, [R(_, { spec: t }, {
429
+ before: W(() => [I("div", un, [R(g)]), R(U(K), {
427
430
  id: "mwnf-dxa-partners-intro",
428
431
  class: "mwnf-prose",
429
432
  dir: "auto",
@@ -432,26 +435,26 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
432
435
  _: 1
433
436
  })]));
434
437
  }
435
- }, an = ["onSubmit"], on = ["placeholder"], sn = {
438
+ }, fn = ["onSubmit"], pn = ["placeholder"], mn = {
436
439
  type: "submit",
437
440
  class: "mwnf-dxa-refine-search-submit"
438
- }, cn = { class: "mwnf-dxa-how-to" }, ln = { class: "mwnf-dxa-no-results" }, un = {
441
+ }, hn = { class: "mwnf-dxa-how-to" }, gn = { class: "mwnf-dxa-no-results" }, _n = {
439
442
  __name: "SearchResults",
440
443
  setup(e) {
441
- let t = Et("items", {
444
+ let t = Mt("items", {
442
445
  grammar: "boolean",
443
- haystack: Ge
444
- }), n = z(!1);
445
- We().then(() => {
446
+ haystack: Ke
447
+ }), n = B(!1);
448
+ Ge().then(() => {
446
449
  n.value = !0;
447
450
  });
448
451
  function r(e) {
449
452
  return !e || e === "all-objects";
450
453
  }
451
- let i = z(""), a = j(() => ({
454
+ let i = B(""), a = M(() => ({
452
455
  entity: "items",
453
456
  keys: ["q"],
454
- scope: (e) => T.value.has(e.id),
457
+ scope: (e) => O.value.has(e.id),
455
458
  sort: !1,
456
459
  narrow: (e, i) => {
457
460
  if (!n.value) return [];
@@ -459,152 +462,152 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
459
462
  let a = new Set(e.map((e) => e.id));
460
463
  return t.search(i.q).filter((e) => a.has(e.id));
461
464
  },
462
- pageSize: Qe,
465
+ pageSize: $e,
463
466
  variant: "grid",
464
467
  recordRoute: "item",
465
468
  actionLabel: "catalogue.results.seeDatabaseEntry",
466
- record: (e, { t }) => C(e, t),
469
+ record: (e, { t }) => et(e, t),
467
470
  pagination: { jump: !0 },
468
471
  summary: ({ filters: e, pageInfo: t, t: n }) => [{
469
472
  label: n("core.section.database"),
470
473
  value: r(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
471
474
  }, {
472
475
  count: t.total,
473
- value: `${n("catalogue.results.outOf")} ${T.value.size} ${n("catalogue.results.objects")}`
476
+ value: `${n("catalogue.results.outOf")} ${O.value.size} ${n("catalogue.results.objects")}`
474
477
  }]
475
478
  }));
476
- return (e, t) => (R(), M(p, {
479
+ return (e, t) => (z(), N(b, {
477
480
  spec: a.value,
478
481
  class: "mwnf-dxa-search-results"
479
482
  }, {
480
- before: U(() => [L(d)]),
481
- filters: U(({ apply: n }) => [F("form", {
483
+ before: W(() => [R(g)]),
484
+ filters: W(({ apply: n }) => [I("form", {
482
485
  class: "mwnf-dxa-refine-search",
483
- onSubmit: vt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
484
- }, [W(F("input", {
486
+ onSubmit: wt((e) => n({ q: i.value || "all-objects" }), ["prevent"])
487
+ }, [G(I("input", {
485
488
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
486
489
  type: "text",
487
490
  class: "mwnf-dxa-refine-search-input",
488
491
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
489
- }, null, 8, on), [[gt, i.value]]), F("button", sn, V(e.$t("catalogue.search.submit")), 1)], 40, an), F("p", cn, [L(H(Z), { to: { name: "search-how-to" } }, {
490
- default: U(() => [I(V(e.$t("catalogue.search.howTo")) + " ›", 1)]),
492
+ }, null, 8, pn), [[St, i.value]]), I("button", mn, H(e.$t("catalogue.search.submit")), 1)], 40, fn), I("p", hn, [R(U(Q), { to: { name: "search-how-to" } }, {
493
+ default: W(() => [L(H(e.$t("catalogue.search.howTo")) + " ›", 1)]),
491
494
  _: 1
492
495
  })])]),
493
- empty: U(() => [F("p", ln, [
494
- I(V(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
495
- L(H(Z), { to: { name: "search-how-to" } }, {
496
- default: U(() => [I(V(e.$t("catalogue.search.howTo")), 1)]),
496
+ empty: W(() => [I("p", gn, [
497
+ L(H(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
498
+ R(U(Q), { to: { name: "search-how-to" } }, {
499
+ default: W(() => [L(H(e.$t("catalogue.search.howTo")), 1)]),
497
500
  _: 1
498
501
  }),
499
- t[1] ||= F("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
500
- L(H(Z), { to: { name: "collection" } }, {
501
- default: U(() => [I(V(e.$t("core.section.collection")), 1)]),
502
+ t[1] ||= I("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
503
+ R(U(Q), { to: { name: "collection" } }, {
504
+ default: W(() => [L(H(e.$t("core.section.collection")), 1)]),
502
505
  _: 1
503
506
  })
504
507
  ])]),
505
508
  _: 1
506
509
  }, 8, ["spec"]));
507
510
  }
508
- }, dn = {
511
+ }, vn = {
509
512
  __name: "TimelineResults",
510
513
  setup(e) {
511
- return (e, t) => (R(), M(_, {
512
- spec: H(Be),
514
+ return (e, t) => (z(), N(x, {
515
+ spec: U(Ve),
513
516
  class: "mwnf-dxa-timeline-results"
514
517
  }, {
515
- before: U(() => [L(d)]),
518
+ before: W(() => [R(g)]),
516
519
  _: 1
517
520
  }, 8, ["spec"]));
518
521
  }
519
- }, fn = {
522
+ }, yn = {
520
523
  __name: "TimelineGallery",
521
524
  setup(e) {
522
- return (e, t) => (R(), M(p, {
523
- spec: H(ze),
525
+ return (e, t) => (z(), N(b, {
526
+ spec: U(Be),
524
527
  class: "mwnf-dxa-timeline-gallery"
525
528
  }, {
526
- before: U(() => [L(d)]),
529
+ before: W(() => [R(g)]),
527
530
  _: 1
528
531
  }, 8, ["spec"]));
529
532
  }
530
- }, pn = { class: "mwnf-dxa-date-wrapper" }, mn = {
533
+ }, bn = { class: "mwnf-dxa-date-wrapper" }, xn = {
531
534
  key: 0,
532
535
  class: "mwnf-dxa-timeline-link-box"
533
- }, hn = { class: "mwnf-dxa-options-label" }, gn = {
536
+ }, Sn = { class: "mwnf-dxa-options-label" }, Cn = {
534
537
  __name: "CollectionResults",
535
538
  setup(e) {
536
- let t = Ot(), { t: n } = J(), r = Le(), i = at.keys, s = (e) => i.filter((t) => e[t]).length <= 1;
537
- function l() {
539
+ let t = Ft(), { t: n } = Y(), r = Re(), i = st.keys, a = (e) => i.filter((t) => e[t]).length <= 1;
540
+ function o() {
538
541
  t.push({ name: "collection" });
539
542
  }
540
- let u = j(() => new Set((He.value ?? []).map((e) => e.country_id)));
541
- function f(e) {
542
- if (!Xe.value) return !1;
543
- let t = w(e.country);
544
- return !!(t && u.value.has(t));
543
+ let s = M(() => new Set((Ue.value ?? []).map((e) => e.country_id)));
544
+ function c(e) {
545
+ if (!Ze.value) return !1;
546
+ let t = nt(e.country);
547
+ return !!(t && s.value.has(t));
545
548
  }
546
- return (e, t) => (R(), M(p, {
547
- spec: H(at),
549
+ return (e, t) => (z(), N(b, {
550
+ spec: U(st),
548
551
  class: "mwnf-dxa-collection-results"
549
552
  }, {
550
- before: U(() => [L(d)]),
551
- actions: U(({ pageInfo: e, goToPage: t }) => [L(a, {
553
+ before: W(() => [R(g)]),
554
+ actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
552
555
  class: "mwnf-dxa-pages",
553
556
  "page-info": e,
554
557
  jump: "",
555
558
  onNavigate: t
556
559
  }, null, 8, ["page-info", "onNavigate"])]),
557
- empty: U(() => [I(V(e.$t("catalogue.results.noResults")) + " ", 1), F("button", {
560
+ empty: W(() => [L(H(e.$t("catalogue.results.noResults")) + " ", 1), I("button", {
558
561
  class: "mwnf-dxa-linkish",
559
- onClick: t[0] ||= (e) => l()
560
- }, V(e.$t("catalogue.results.resetFilters")), 1)]),
561
- aside: U(({ filters: i, apply: a, matching: u, options: d }) => [L(c, {
562
+ onClick: t[0] ||= (e) => o()
563
+ }, H(e.$t("catalogue.results.resetFilters")), 1)]),
564
+ aside: W(({ filters: i, apply: s, matching: l, options: u }) => [R(d, {
562
565
  mode: "immediate",
563
- title: s(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
566
+ title: a(i) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
564
567
  "reset-label": e.$t("catalogue.results.resetFilters"),
565
- disabled: u.length === 0,
566
- onReset: t[1] ||= (e) => l()
568
+ disabled: l.length === 0,
569
+ onReset: t[1] ||= (e) => o()
567
570
  }, {
568
- default: U(() => [
569
- L(o, {
571
+ default: W(() => [
572
+ R(m, {
570
573
  "model-value": i.country,
571
- options: d.country,
574
+ options: u.country,
572
575
  placeholder: e.$t("catalogue.facet.selectCountry"),
573
- "onUpdate:modelValue": (e) => a({ country: e })
576
+ "onUpdate:modelValue": (e) => s({ country: e })
574
577
  }, null, 8, [
575
578
  "model-value",
576
579
  "options",
577
580
  "placeholder",
578
581
  "onUpdate:modelValue"
579
582
  ]),
580
- (R(!0), P(A, null, B(H(tt), (e) => (R(), M(o, {
583
+ (z(!0), F(j, null, V(U(it), (e) => (z(), N(m, {
581
584
  key: e,
582
585
  "model-value": i[e],
583
- options: d[e],
584
- placeholder: H(r)[e],
586
+ options: u[e],
587
+ placeholder: U(r)[e],
585
588
  "hide-empty": "",
586
- "onUpdate:modelValue": (t) => a({ [e]: t })
589
+ "onUpdate:modelValue": (t) => s({ [e]: t })
587
590
  }, null, 8, [
588
591
  "model-value",
589
592
  "options",
590
593
  "placeholder",
591
594
  "onUpdate:modelValue"
592
595
  ]))), 128)),
593
- F("div", pn, [L(o, {
596
+ I("div", bn, [R(m, {
594
597
  "model-value": i.from,
595
- options: H(X)(u, H(n)),
598
+ options: U(Z)(l, U(n)),
596
599
  placeholder: e.$t("catalogue.facet.startDate"),
597
- "onUpdate:modelValue": (e) => a({ from: e })
600
+ "onUpdate:modelValue": (e) => s({ from: e })
598
601
  }, null, 8, [
599
602
  "model-value",
600
603
  "options",
601
604
  "placeholder",
602
605
  "onUpdate:modelValue"
603
- ]), L(o, {
606
+ ]), R(m, {
604
607
  "model-value": i.to,
605
- options: H(X)(u, H(n)),
608
+ options: U(Z)(l, U(n)),
606
609
  placeholder: e.$t("catalogue.facet.endDate"),
607
- "onUpdate:modelValue": (e) => a({ to: e })
610
+ "onUpdate:modelValue": (e) => s({ to: e })
608
611
  }, null, 8, [
609
612
  "model-value",
610
613
  "options",
@@ -617,24 +620,24 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
617
620
  "title",
618
621
  "reset-label",
619
622
  "disabled"
620
- ]), f(i) ? (R(), P("div", mn, [F("div", hn, V(e.$t("catalogue.results.timelineForSearch")), 1), F("p", null, [t[2] ||= I(" ➤ ", -1), L(H(Z), { to: {
623
+ ]), c(i) ? (z(), F("div", xn, [I("div", Sn, H(e.$t("catalogue.results.timelineForSearch")), 1), I("p", null, [t[2] ||= L(" ➤ ", -1), R(U(Q), { to: {
621
624
  name: "timeline-results",
622
625
  query: {
623
- country: H(w)(i.country),
626
+ country: U(nt)(i.country),
624
627
  begin: i.from,
625
628
  end: i.to
626
629
  }
627
630
  } }, {
628
- default: U(() => [I(V(e.$t("core.section.timeline")) + " | " + V(H(D)("countries", H(w)(i.country))), 1)]),
631
+ default: W(() => [L(H(e.$t("core.section.timeline")) + " | " + H(U(A)("countries", U(nt)(i.country))), 1)]),
629
632
  _: 2
630
- }, 1032, ["to"])])])) : N("", !0)]),
633
+ }, 1032, ["to"])])])) : P("", !0)]),
631
634
  _: 1
632
635
  }, 8, ["spec"]));
633
636
  }
634
- }, _n = { class: "mwnf-dxa-collection-search" }, vn = {
637
+ }, wn = { class: "mwnf-dxa-collection-search" }, Tn = {
635
638
  __name: "CollectionSearch",
636
639
  setup(e) {
637
- let t = Tt(qe, ot), n = j(() => tt.filter((e) => (t.value[e] ?? []).length > 0)), r = j(() => ({
640
+ let t = jt(Je, ct), n = M(() => it.filter((e) => (t.value[e] ?? []).length > 0)), r = M(() => ({
638
641
  mode: "facets",
639
642
  target: "collection-results",
640
643
  dates: "buckets",
@@ -645,12 +648,12 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
645
648
  options: t.value.country
646
649
  }, ...n.value.map((e) => ({
647
650
  key: e,
648
- label: it[e],
651
+ label: ot[e],
649
652
  options: t.value[e]
650
653
  }))]
651
654
  }));
652
- return (e, t) => (R(), P("div", _n, [L(h, { spec: r.value }, {
653
- intro: U(() => [L(H(G), {
655
+ return (e, t) => (z(), F("div", wn, [R(v, { spec: r.value }, {
656
+ intro: W(() => [R(U(K), {
654
657
  id: "mwnf-dxa-collection-search-description",
655
658
  class: "mwnf-dxa-description mwnf-prose",
656
659
  dir: "auto",
@@ -659,7 +662,7 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
659
662
  _: 1
660
663
  }, 8, ["spec"])]));
661
664
  }
662
- }, yn = { class: "mwnf-dxa-profile-link-container" }, bn = {
665
+ }, En = { class: "mwnf-dxa-profile-link-container" }, Dn = {
663
666
  __name: "PartnerObjects",
664
667
  props: {
665
668
  variant: {
@@ -672,57 +675,57 @@ var kt = { class: "mwnf-dxa-profile-languages" }, $ = {
672
675
  }
673
676
  },
674
677
  setup(e) {
675
- let t = e, n = j(() => t.variant === "institution"), r = Q(), i = j(() => Re(r.params.id)), o = j(() => i.value ? x.view(i.value, Ie("partners", i.value.id, Ye)) : null), c = j(() => ({
678
+ let t = e, n = M(() => t.variant === "institution"), r = Pt(), i = M(() => ze(r.params.id)), a = M(() => i.value ? T.view(i.value, Le("partners", i.value.id, Xe)) : null), o = M(() => ({
676
679
  entity: "items",
677
680
  scope: (e) => e.partner_id === i.value?.id,
678
681
  sort: { undated: "first" },
679
- pageSize: Qe,
682
+ pageSize: $e,
680
683
  variant: "grid",
681
684
  recordRoute: "item",
682
685
  actionLabel: "catalogue.results.seeDatabaseEntry",
683
686
  empty: n.value ? t.texts.emptyInstitution : t.texts.emptyPartner,
684
- record: (e, { t }) => C(e, t),
687
+ record: (e, { t }) => et(e, t),
685
688
  summary: ({ pageInfo: e, t: r }) => [{
686
689
  count: e.total,
687
690
  value: r(n.value ? t.texts.institutionSummary : "partner.item.objectsInSite")
688
691
  }]
689
692
  }));
690
- return (e, r) => i.value ? (R(), M(p, {
693
+ return (e, r) => i.value ? (z(), N(b, {
691
694
  key: 0,
692
- spec: c.value,
695
+ spec: o.value,
693
696
  class: "mwnf-dxa-partner-objects"
694
697
  }, {
695
- before: U(() => [L(d), L(s, {
698
+ before: W(() => [R(g), R(p, {
696
699
  class: "mwnf-dxa-partner-objects-header",
697
700
  variant: "summary",
698
701
  heading: 1,
699
- partner: o.value
702
+ partner: a.value
700
703
  }, null, 8, ["partner"])]),
701
- actions: U(({ pageInfo: e, goToPage: t }) => [L(a, {
704
+ actions: W(({ pageInfo: e, goToPage: t }) => [R(h, {
702
705
  class: "mwnf-dxa-pages",
703
706
  "page-info": e,
704
707
  jump: "",
705
708
  onNavigate: t
706
709
  }, null, 8, ["page-info", "onNavigate"])]),
707
- after: U(() => [F("div", yn, [L(H(Z), {
710
+ after: W(() => [I("div", En, [R(U(Q), {
708
711
  class: "mwnf-dxa-profile-link",
709
- to: H(Ve)(i.value)
712
+ to: U(He)(i.value)
710
713
  }, {
711
- default: U(() => [I(" ➤ " + V(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
714
+ default: W(() => [L(" ➤ " + H(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
712
715
  _: 1
713
716
  }, 8, ["to"])])]),
714
717
  _: 1
715
- }, 8, ["spec"])) : N("", !0);
718
+ }, 8, ["spec"])) : P("", !0);
716
719
  }
717
- }, xn = () => Promise.resolve().then(() => Er), Sn = () => Promise.resolve().then(() => jr), Cn = () => Promise.resolve().then(() => Pr), wn = () => Promise.resolve().then(() => Lr), Tn = () => Promise.resolve().then(() => Br), En = () => Promise.resolve().then(() => Ur), Dn = () => import("./Theme-Db88mckV.js").then((e) => e.t), On = () => Promise.resolve().then(() => qr), kn = () => Promise.resolve().then(() => Zr), An = () => Promise.resolve().then(() => ei), jn = () => Promise.resolve().then(() => ni), Mn = {
720
+ }, On = () => Promise.resolve().then(() => Fr), kn = () => Promise.resolve().then(() => Wr), An = () => Promise.resolve().then(() => qr), jn = () => Promise.resolve().then(() => Xr), Mn = () => Promise.resolve().then(() => $r), Nn = () => Promise.resolve().then(() => ni), Pn = () => import("./Theme-CZ-OVXao.js").then((e) => e.t), Fn = () => Promise.resolve().then(() => oi), In = () => Promise.resolve().then(() => ui), Ln = () => Promise.resolve().then(() => pi), Rn = () => Promise.resolve().then(() => hi), zn = {
718
721
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
719
722
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
720
723
  institutionSummary: "exhibition.partner.monumentsInExhibition",
721
724
  partnerProfileLabel: "partner.action.partnerProfile",
722
725
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
723
726
  };
724
- function Nn(e) {
725
- let t = Ct([
727
+ function Bn(e) {
728
+ let t = kt([
726
729
  "gallery",
727
730
  "items",
728
731
  "partners",
@@ -733,39 +736,39 @@ function Nn(e) {
733
736
  {
734
737
  path: "/",
735
738
  name: "home",
736
- component: xn,
739
+ component: On,
737
740
  meta: t("home")
738
741
  },
739
742
  {
740
743
  path: "/item/:id",
741
744
  name: "item",
742
- component: Sn,
745
+ component: kn,
743
746
  props: (e) => ({ id: String(e.params.id) }),
744
747
  meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
745
748
  },
746
749
  {
747
750
  path: "/timeline",
748
751
  name: "timeline",
749
- component: Cn,
752
+ component: An,
750
753
  meta: t("timeline", "timelines", "timeline_events")
751
754
  }
752
755
  ] : [],
753
756
  {
754
757
  path: "/search",
755
758
  name: "search-results",
756
- component: Bt,
759
+ component: qt,
757
760
  meta: t("database")
758
761
  },
759
762
  {
760
763
  path: "/how-to-search",
761
764
  name: "search-how-to",
762
- component: Mt,
765
+ component: zt,
763
766
  meta: t("database")
764
767
  },
765
768
  {
766
769
  path: "/partners",
767
770
  name: "partners",
768
- component: Pt,
771
+ component: Vt,
769
772
  meta: t("partners")
770
773
  },
771
774
  {
@@ -774,63 +777,63 @@ function Nn(e) {
774
777
  component: $,
775
778
  props: (e) => ({
776
779
  id: String(e.params.id),
777
- family: v
780
+ family: S
778
781
  }),
779
782
  meta: t("partners", "languages")
780
783
  },
781
784
  {
782
785
  path: "/partner/:id/objects",
783
786
  name: "partner-objects",
784
- component: $t,
787
+ component: sn,
785
788
  meta: t("partners")
786
789
  },
787
790
  {
788
791
  path: "/timeline-results",
789
792
  name: "timeline-results",
790
- component: Vt,
793
+ component: Jt,
791
794
  meta: t("timeline", "timelines", "timeline_events")
792
795
  },
793
796
  {
794
797
  path: "/timeline/gallery",
795
798
  name: "timeline-gallery",
796
- component: Ut,
799
+ component: Xt,
797
800
  meta: t("timeline", "timelines", "timeline_events")
798
801
  },
799
802
  {
800
803
  path: "/about",
801
804
  name: "about",
802
- component: At,
805
+ component: Lt,
803
806
  meta: t("about")
804
807
  },
805
808
  {
806
809
  path: "/credits",
807
810
  name: "credits",
808
- component: jt,
811
+ component: Rt,
809
812
  props: { bodyKey: n },
810
813
  meta: t("credits")
811
814
  },
812
815
  {
813
816
  path: "/collection",
814
817
  name: "collection",
815
- component: Xt,
818
+ component: rn,
816
819
  meta: t("collection", "tags")
817
820
  },
818
821
  {
819
822
  path: "/collection-results",
820
823
  name: "collection-results",
821
- component: qt,
824
+ component: en,
822
825
  meta: t("collection", "tags", "timelines")
823
826
  }
824
827
  ];
825
828
  }
826
- function Pn(e) {
827
- let t = Ct([
829
+ function Vn(e) {
830
+ let t = kt([
828
831
  "exhibition",
829
832
  "items",
830
833
  "partners",
831
834
  "countries"
832
835
  ]), n = {
833
- ...Mn,
836
+ ...zn,
834
837
  ...e.partnerObjects
835
838
  };
836
839
  return [
@@ -838,56 +841,56 @@ function Pn(e) {
838
841
  {
839
842
  path: "/",
840
843
  name: "home",
841
- component: wn,
844
+ component: jn,
842
845
  meta: t("home")
843
846
  },
844
847
  {
845
848
  path: "/about",
846
849
  name: "about",
847
- component: Tn,
850
+ component: Mn,
848
851
  meta: t("about", "themes")
849
852
  },
850
853
  {
851
854
  path: "/themes",
852
855
  name: "themes",
853
- component: En,
856
+ component: Nn,
854
857
  meta: t("themes", "themes")
855
858
  },
856
859
  {
857
860
  path: "/theme/:id/:subtheme?/:image?",
858
861
  name: "theme",
859
- component: Dn,
862
+ component: Pn,
860
863
  meta: t("themes", "themes", "glossary", "dynasties")
861
864
  },
862
865
  {
863
866
  path: "/theme-gallery/:id",
864
867
  name: "theme-gallery",
865
- component: On,
868
+ component: Fn,
866
869
  meta: t("themes", "themes")
867
870
  },
868
871
  {
869
872
  path: "/item/:id",
870
873
  name: "item",
871
- component: kn,
874
+ component: In,
872
875
  props: (e) => ({ id: String(e.params.id) }),
873
876
  meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
874
877
  },
875
878
  {
876
879
  path: "/related",
877
880
  name: "related",
878
- component: An,
881
+ component: Ln,
879
882
  meta: t("related", "related_content")
880
883
  },
881
884
  {
882
885
  path: "/timeline",
883
886
  name: "timeline",
884
- component: jn,
887
+ component: Rn,
885
888
  meta: t("timeline", "timelines", "timeline_events")
886
889
  },
887
890
  ...e.creditsBody ? [{
888
891
  path: "/credits",
889
892
  name: "credits",
890
- component: g,
893
+ component: y,
891
894
  props: { spec: {
892
895
  body: e.creditsBody,
893
896
  back: !0
@@ -898,19 +901,19 @@ function Pn(e) {
898
901
  {
899
902
  path: "/search",
900
903
  name: "search-results",
901
- component: un,
904
+ component: _n,
902
905
  meta: t("database")
903
906
  },
904
907
  {
905
908
  path: "/how-to-search",
906
909
  name: "search-how-to",
907
- component: en,
910
+ component: cn,
908
911
  meta: t("database")
909
912
  },
910
913
  {
911
914
  path: "/partners",
912
915
  name: "partners",
913
- component: rn,
916
+ component: dn,
914
917
  meta: t("partners")
915
918
  },
916
919
  {
@@ -919,14 +922,14 @@ function Pn(e) {
919
922
  component: $,
920
923
  props: (e) => ({
921
924
  id: String(e.params.id),
922
- family: x
925
+ family: T
923
926
  }),
924
927
  meta: t("partners", "languages")
925
928
  },
926
929
  {
927
930
  path: "/partner/:id/objects",
928
931
  name: "partner-objects",
929
- component: bn,
932
+ component: Dn,
930
933
  props: { texts: n },
931
934
  meta: t("partners")
932
935
  },
@@ -936,7 +939,7 @@ function Pn(e) {
936
939
  component: $,
937
940
  props: (e) => ({
938
941
  id: String(e.params.id),
939
- family: x,
942
+ family: T,
940
943
  variant: "institution"
941
944
  }),
942
945
  meta: t("partners", "languages")
@@ -944,7 +947,7 @@ function Pn(e) {
944
947
  {
945
948
  path: "/institution/:id/monuments",
946
949
  name: "institution-monuments",
947
- component: bn,
950
+ component: Dn,
948
951
  props: {
949
952
  variant: "institution",
950
953
  texts: n
@@ -954,37 +957,37 @@ function Pn(e) {
954
957
  {
955
958
  path: "/timeline-results",
956
959
  name: "timeline-results",
957
- component: dn,
960
+ component: vn,
958
961
  meta: t("timeline", "timelines", "timeline_events")
959
962
  },
960
963
  {
961
964
  path: "/timeline/gallery",
962
965
  name: "timeline-gallery",
963
- component: fn,
966
+ component: yn,
964
967
  meta: t("timeline", "timelines", "timeline_events")
965
968
  },
966
969
  {
967
970
  path: "/collection",
968
971
  name: "collection",
969
- component: vn,
972
+ component: Tn,
970
973
  meta: t("collection", "tags")
971
974
  },
972
975
  {
973
976
  path: "/collection-results",
974
977
  name: "collection-results",
975
- component: gn,
978
+ component: Cn,
976
979
  meta: t("collection", "tags", "timelines")
977
980
  }
978
981
  ];
979
982
  }
980
- function Fn(e, t = {}) {
981
- if (e === "gallery") return Nn(t);
982
- if (e === "exhibition") return Pn(t);
983
+ function Hn(e, t = {}) {
984
+ if (e === "gallery") return Bn(t);
985
+ if (e === "exhibition") return Vn(t);
983
986
  throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
984
987
  }
985
988
  //#endregion
986
989
  //#region node_modules/@museumwnf/viewer-core/src/legacy/index.js
987
- function In(e, t = []) {
990
+ function Un(e, t = []) {
988
991
  let n = String(e?.backward_compatibility ?? "").split(":");
989
992
  if (n[0] === "mwnf3_sharing_history") {
990
993
  let t = n[2] ?? e?.id ?? "";
@@ -1003,19 +1006,19 @@ function In(e, t = []) {
1003
1006
  countryCode: r?.code ?? ""
1004
1007
  };
1005
1008
  }
1006
- function Ln(e, t, n, r) {
1009
+ function Wn(e, t, n, r) {
1007
1010
  return (e ?? []).find((e) => {
1008
- let i = In(e, t);
1011
+ let i = Un(e, t);
1009
1012
  return i.legacyId === r && i.countryCode === n;
1010
1013
  }) ?? null;
1011
1014
  }
1012
- function Rn(e, t) {
1015
+ function Gn(e, t) {
1013
1016
  let n = String(t ?? "").split("/").join(":").toLowerCase();
1014
1017
  return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
1015
1018
  }
1016
1019
  //#endregion
1017
1020
  //#region src/dxa/gallery/Shell.vue
1018
- var zn = {
1021
+ var Kn = {
1019
1022
  __name: "Shell",
1020
1023
  props: {
1021
1024
  language: {
@@ -1029,40 +1032,59 @@ var zn = {
1029
1032
  },
1030
1033
  emits: ["update:language"],
1031
1034
  setup(e, { emit: t }) {
1032
- let n = e, r = t, { t: i, locale: a } = J(), { links: o } = Y(), s = j(() => Oe.site?.names?.[a.value] ?? Oe.site?.names?.en ?? b.value?.names?.en ?? ""), c = Dt(), l = j(() => c.value === "home"), u = (/* @__PURE__ */ new Date()).getFullYear(), d = j(() => fe(b.value?.banner_image_path, "hi_res")), f = j(() => {
1033
- let e = he.value.get(b.value?.banner_item_id);
1035
+ let n = e, r = t, { t: i, locale: a } = Y(), o = X(), c = M(() => o.links ?? {}), l = M(() => o.galleryShell ?? {}), u = Nt(), d = M(() => u.value === "home"), f = (/* @__PURE__ */ new Date()).getFullYear();
1036
+ function p(e) {
1037
+ return e?.[a.value] ?? e?.en ?? "";
1038
+ }
1039
+ let m = M(() => {
1040
+ let e = ke.projects?.[ke.gallery?.project_id ?? w.value?.project_id];
1041
+ return p(e?.name) || p(ke.site?.names) || p(w.value?.names);
1042
+ });
1043
+ function h(e, t) {
1044
+ if (!(e in l.value)) return t();
1045
+ let n = l.value[e];
1046
+ return n ? i(n) : "";
1047
+ }
1048
+ let g = M(() => d.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), ee = M(() => d.value ? "" : h("headerTitle", () => m.value)), _ = M(() => l.value.bannerImage ? s(o.chrome, l.value.bannerImage) : pe(w.value?.banner_image_path, "hi_res")), v = M(() => {
1049
+ if (l.value.bannerCaption) return l.value.bannerCaption;
1050
+ let e = ge.value.get(w.value?.banner_item_id);
1034
1051
  if (!e) return "";
1035
- let t = oe("items", e.id, pe);
1052
+ let t = se("items", e.id, me);
1036
1053
  return {
1037
- name: y("items", e.id),
1038
- partner: y("partners", e.partner_id),
1054
+ name: C("items", e.id),
1055
+ partner: C("partners", e.partner_id),
1039
1056
  location: t.location ?? "",
1040
- country: y("countries", e.country_id)
1057
+ country: C("countries", e.country_id)
1041
1058
  };
1042
- });
1043
- return (e, t) => (R(), M(te, {
1059
+ }), y = M(() => d.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), b = M(() => d.value ? h("bannerTitle", () => m.value) : void 0), x = M(() => l.value.notice === !1 ? null : {
1060
+ title: i("gallery.notice.tip"),
1061
+ text: i("gallery.notice.databaseReplaced")
1062
+ }), te = M(() => !!s(o.chrome, o.brand?.logo));
1063
+ return (e, t) => (z(), N(ne, {
1064
+ class: gt(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": d.value }]),
1044
1065
  languages: n.languages,
1045
1066
  language: n.language,
1046
- "language-placement": "header",
1047
- "language-style": "buttons",
1048
- "header-home": H(o).portal,
1049
- "header-eyebrow": l.value ? "" : H(i)("core.project.galleries"),
1050
- "header-title": l.value ? "" : s.value,
1067
+ "language-placement": "none",
1068
+ "header-home": c.value.portal,
1069
+ "header-eyebrow": g.value,
1070
+ "header-title": ee.value,
1051
1071
  "header-title-href": "#/",
1052
- "banner-image": d.value,
1053
- "banner-caption": f.value,
1054
- "banner-title": l.value ? s.value : void 0,
1055
- notice: {
1056
- title: H(i)("gallery.notice.tip"),
1057
- text: H(i)("gallery.notice.databaseReplaced")
1058
- },
1059
- "footer-text": `${H(i)("core.footer.copyright")} 2004–${H(u)}`,
1072
+ "banner-image": _.value,
1073
+ "banner-caption": v.value,
1074
+ "banner-eyebrow": y.value,
1075
+ "banner-title": b.value,
1076
+ notice: x.value,
1077
+ "footer-text": `${U(i)("core.footer.copyright")} 2004–${U(f)}`,
1060
1078
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1061
- }, {
1062
- brand: U(() => [...t[1] ||= [F("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]]),
1063
- default: U(() => [ht(e.$slots, "default")]),
1064
- _: 3
1065
- }, 8, [
1079
+ }, ht({
1080
+ default: W(() => [bt(e.$slots, "default")]),
1081
+ _: 2
1082
+ }, [te.value ? void 0 : {
1083
+ name: "brand",
1084
+ fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1085
+ key: "0"
1086
+ }]), 1032, [
1087
+ "class",
1066
1088
  "languages",
1067
1089
  "language",
1068
1090
  "header-home",
@@ -1070,15 +1092,16 @@ var zn = {
1070
1092
  "header-title",
1071
1093
  "banner-image",
1072
1094
  "banner-caption",
1095
+ "banner-eyebrow",
1073
1096
  "banner-title",
1074
1097
  "notice",
1075
1098
  "footer-text"
1076
1099
  ]));
1077
1100
  }
1078
- }, Bn = {
1101
+ }, qn = {
1079
1102
  key: 0,
1080
1103
  class: "mwnf-popup-logo"
1081
- }, Vn = ["aria-label"], Hn = ["innerHTML"], Un = ["innerHTML"], Wn = {
1104
+ }, Jn = ["aria-label"], Yn = ["innerHTML"], Xn = ["innerHTML"], Zn = {
1082
1105
  __name: "PopupLogo",
1083
1106
  props: {
1084
1107
  content: {
@@ -1099,22 +1122,22 @@ var zn = {
1099
1122
  }
1100
1123
  },
1101
1124
  setup(e) {
1102
- let t = e, n = z(!1), r = j(() => t.rawHtml ? t.content : St(t.content)), i = j(() => t.enabled && !!t.content && !n.value);
1103
- return (t, a) => i.value ? (R(), P("div", Bn, [F("button", {
1125
+ let t = e, n = B(!1), r = M(() => t.rawHtml ? t.content : Ot(t.content)), i = M(() => t.enabled && !!t.content && !n.value);
1126
+ return (t, a) => i.value ? (z(), F("div", qn, [I("button", {
1104
1127
  class: "mwnf-popup-logo__close",
1105
1128
  "aria-label": t.$t(e.closeLabel),
1106
1129
  onClick: a[0] ||= (e) => n.value = !0
1107
- }, "✕", 8, Vn), e.rawHtml ? (R(), P("div", {
1130
+ }, "✕", 8, Jn), e.rawHtml ? (z(), F("div", {
1108
1131
  key: 0,
1109
1132
  class: "mwnf-popup-logo__content",
1110
1133
  innerHTML: r.value
1111
- }, null, 8, Hn)) : (R(), P("div", {
1134
+ }, null, 8, Yn)) : (z(), F("div", {
1112
1135
  key: 1,
1113
1136
  class: "mwnf-popup-logo__content",
1114
1137
  innerHTML: r.value
1115
- }, null, 8, Un))])) : N("", !0);
1138
+ }, null, 8, Xn))])) : P("", !0);
1116
1139
  }
1117
- }, Gn = {
1140
+ }, Qn = {
1118
1141
  __name: "Shell",
1119
1142
  props: {
1120
1143
  language: {
@@ -1128,19 +1151,19 @@ var zn = {
1128
1151
  },
1129
1152
  emits: ["update:language"],
1130
1153
  setup(e, { emit: t }) {
1131
- let n = e, r = t, { t: i, locale: a } = J(), { links: o } = Y(), s = Dt(), c = j(() => s.value === "home"), l = (/* @__PURE__ */ new Date()).getFullYear(), u = j(() => nt(S.value?.banner_image_path, "hi_res")), d = j(() => {
1132
- let e = Ke(a.value);
1154
+ let n = e, r = t, { t: i, locale: c } = Y(), l = X(), u = M(() => l.links ?? {}), d = M(() => !!s(l.chrome, l.brand?.logo)), f = Nt(), p = M(() => f.value === "home"), m = (/* @__PURE__ */ new Date()).getFullYear(), h = M(() => p.value ? E.value?.homepage_image_path : null), g = M(() => h.value ? D(h.value, "hi_res") : D(E.value?.banner_image_path, "hi_res")), ee = M(() => {
1155
+ let e = h.value ? "" : qe(c.value);
1133
1156
  if (e) return e;
1134
- let t = T.value.get(S.value?.banner_item_id);
1135
- if (!t) return "";
1136
- let n = Ie("items", t.id, Ye);
1157
+ let t = h.value ? E.value?.homepage_item_id : E.value?.banner_item_id, n = O.value.get(t);
1158
+ if (!n) return "";
1159
+ let r = Le("items", n.id, Xe);
1137
1160
  return {
1138
- name: D("items", t.id),
1139
- partner: D("partners", t.partner_id),
1140
- location: n.location ?? "",
1141
- country: D("countries", t.country_id)
1161
+ name: A("items", n.id),
1162
+ partner: A("partners", n.partner_id),
1163
+ location: r.location ?? "",
1164
+ country: A("countries", n.country_id)
1142
1165
  };
1143
- }), f = j(() => [{
1166
+ }), _ = M(() => [{
1144
1167
  label: i("core.nav.about"),
1145
1168
  description: i("exhibition.nav.introduction"),
1146
1169
  href: "#/about"
@@ -1149,58 +1172,75 @@ var zn = {
1149
1172
  description: i("exhibition.nav.contentAtAGlance"),
1150
1173
  href: "#/themes"
1151
1174
  }]);
1152
- function p(e) {
1153
- return e.labels?.[a.value] ?? e.labels?.en ?? e.alt_text ?? "";
1175
+ function v(e) {
1176
+ return e.labels?.[c.value] ?? e.labels?.en ?? e.alt_text ?? "";
1154
1177
  }
1155
- let m = j(() => (S.value?.logos ?? []).map((e) => ({
1156
- image: e.image_url,
1157
- alt: p(e),
1158
- href: e.url || void 0,
1159
- category_id: e.category_id,
1160
- category: e.category,
1161
- visible: e.visible,
1162
- display_order: e.display_order
1163
- }))), h = j(() => Ne(S.value?.popup_logos?.[a.value] ?? S.value?.popup_logos?.en ?? "")), g = j(() => {
1164
- let e = S.value?.popup_logo_show;
1165
- return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
1178
+ let y = M(() => {
1179
+ let e = l.sponsorLogos;
1180
+ return Array.isArray(e) ? e.map((e) => ({
1181
+ ...e,
1182
+ image: s(l.chrome, e.image),
1183
+ alt: e.alt ? i(e.alt) : ""
1184
+ })).filter((e) => e.image) : (E.value?.logos ?? []).map((e) => ({
1185
+ image: e.legacy_path ? D(e.legacy_path, "full") : null,
1186
+ alt: v(e),
1187
+ href: e.url || void 0,
1188
+ category_id: e.category_id,
1189
+ category: e.category,
1190
+ visible: e.visible,
1191
+ display_order: e.display_order
1192
+ })).filter((e) => e.image);
1166
1193
  });
1167
- return (e, t) => (R(), M(te, {
1194
+ function b(e) {
1195
+ let t = l.media?.legacyHost;
1196
+ if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
1197
+ let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
1198
+ return o(l.chrome, n);
1199
+ }
1200
+ let x = M(() => a(Pe(E.value?.popup_logos?.[c.value] ?? E.value?.popup_logos?.en ?? ""), b)), te = M(() => {
1201
+ let e = E.value?.popup_logo_show;
1202
+ return e == null ? !1 : typeof e == "boolean" ? e : e[c.value] ?? e.en ?? !1;
1203
+ });
1204
+ return (e, t) => (z(), N(ne, {
1168
1205
  languages: n.languages,
1169
1206
  language: n.language,
1170
1207
  "language-placement": "header",
1171
- "language-style": "buttons",
1172
- "header-home": H(o).portal,
1173
- "header-title": H(i)("exhibition.identity.tagline"),
1208
+ "language-style": "select",
1209
+ "header-home": u.value.portal,
1210
+ "header-title": U(i)("exhibition.identity.tagline"),
1174
1211
  "header-title-href": "#/about",
1175
- "banner-image": u.value,
1176
- "banner-caption": d.value,
1177
- "banner-caption-label": H(i)("layout.banner.detailFrom"),
1178
- "banner-title": c.value ? H(Ze)(H(a)) : "",
1179
- "banner-subtitle": c.value ? H(et)(H(a)) : "",
1180
- "banner-headline": c.value ? H(rt)(H(a)) : "",
1181
- "banner-enter": c.value ? {
1182
- label: H(i)("exhibition.action.enter"),
1212
+ "banner-image": g.value,
1213
+ "banner-caption": ee.value,
1214
+ "banner-caption-label": U(i)("layout.banner.detailFrom"),
1215
+ "banner-title": p.value ? U(Qe)(U(c)) : "",
1216
+ "banner-subtitle": p.value ? U(rt)(U(c)) : "",
1217
+ "banner-headline": p.value ? U(at)(U(c)) : "",
1218
+ "banner-enter": p.value ? {
1219
+ label: U(i)("exhibition.action.enter"),
1183
1220
  href: "#/about"
1184
1221
  } : null,
1185
- "banner-strapline": c.value ? H(i)("exhibition.identity.strapline") : "",
1222
+ "banner-strapline": p.value ? U(i)("exhibition.identity.strapline") : "",
1186
1223
  "hyperlinks-variant": "tiles",
1187
- "hyperlinks-title": H(Ze)(H(a)),
1224
+ "hyperlinks-title": U(Qe)(U(c)),
1188
1225
  "hyperlinks-title-href": "#/",
1189
- "hyperlinks-subtitle": H(et)(H(a)),
1190
- hyperlinks: f.value,
1191
- "footer-text": `${H(i)("core.footer.copyright")} 2004–${H(l)}`,
1192
- logos: m.value,
1226
+ "hyperlinks-subtitle": U(rt)(U(c)),
1227
+ hyperlinks: _.value,
1228
+ "footer-text": `${U(i)("core.footer.copyright")} 2004–${U(m)}`,
1229
+ logos: y.value,
1193
1230
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1194
- }, {
1195
- brand: U(() => [...t[1] ||= [F("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]]),
1196
- notice: U(() => [L(Wn, {
1197
- content: h.value,
1198
- enabled: g.value,
1231
+ }, ht({
1232
+ notice: W(() => [R(Zn, {
1233
+ content: x.value,
1234
+ enabled: te.value,
1199
1235
  "raw-html": ""
1200
1236
  }, null, 8, ["content", "enabled"])]),
1201
- default: U(() => [ht(e.$slots, "default")]),
1202
- _: 3
1203
- }, 8, [
1237
+ default: W(() => [bt(e.$slots, "default")]),
1238
+ _: 2
1239
+ }, [d.value ? void 0 : {
1240
+ name: "brand",
1241
+ fn: W(() => [t[1] ||= I("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1242
+ key: "0"
1243
+ }]), 1032, [
1204
1244
  "languages",
1205
1245
  "language",
1206
1246
  "header-home",
@@ -1223,23 +1263,23 @@ var zn = {
1223
1263
  };
1224
1264
  //#endregion
1225
1265
  //#region src/dxa/config.js
1226
- function Kn({ country: e, start: t, end: n, page: r }) {
1266
+ function $n({ country: e, start: t, end: n, page: r }) {
1227
1267
  let i = { country: e };
1228
1268
  return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
1229
1269
  name: "timeline-gallery",
1230
1270
  query: i
1231
1271
  };
1232
1272
  }
1233
- function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a }) {
1234
- let { manifest: o } = wt(), s = xt();
1273
+ function er({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, chrome: s = {}, homeLogos: c = [] }) {
1274
+ let { manifest: l } = At(), u = Dt();
1235
1275
  return {
1236
1276
  datasetPackage: e,
1237
- siteName: o.site?.names?.en ?? t,
1277
+ siteName: l.site?.names?.en ?? t,
1238
1278
  features: { entities: [] },
1239
- languages: s,
1240
- shell: zn,
1279
+ languages: u,
1280
+ shell: Kn,
1241
1281
  navigation: {
1242
- languages: bt(s),
1282
+ languages: Et(u),
1243
1283
  links: [
1244
1284
  {
1245
1285
  section: "about",
@@ -1268,7 +1308,7 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1268
1308
  },
1269
1309
  {
1270
1310
  label: "core.nav.myCollection",
1271
- href: q.myCollection,
1311
+ href: J.myCollection,
1272
1312
  external: !0
1273
1313
  }
1274
1314
  ],
@@ -1277,33 +1317,33 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1277
1317
  to: { name: "home" }
1278
1318
  }, {
1279
1319
  label: "gallery.nav.allGalleries",
1280
- href: `${q.galleries}/list/1`,
1320
+ href: `${J.galleries}/list/1`,
1281
1321
  external: !0
1282
1322
  }],
1283
1323
  footerLinks: [
1284
1324
  {
1285
1325
  label: "core.footer.aboutMwnf",
1286
- href: q.about,
1326
+ href: J.about,
1287
1327
  external: !0
1288
1328
  },
1289
1329
  {
1290
1330
  label: "core.footer.contact",
1291
- href: q.contact,
1331
+ href: J.contact,
1292
1332
  external: !0
1293
1333
  },
1294
1334
  {
1295
1335
  label: "core.footer.legalNotice",
1296
- href: q.legalNotice,
1336
+ href: J.legalNotice,
1297
1337
  external: !0
1298
1338
  },
1299
1339
  {
1300
1340
  label: "core.footer.credits",
1301
- href: q.credits,
1341
+ href: J.credits,
1302
1342
  external: !0
1303
1343
  },
1304
1344
  {
1305
1345
  label: "core.footer.cookies",
1306
- href: q.cookies,
1346
+ href: J.cookies,
1307
1347
  external: !0
1308
1348
  }
1309
1349
  ],
@@ -1322,11 +1362,12 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1322
1362
  placeholder: "catalogue.search.placeholder",
1323
1363
  submitLabel: "catalogue.search.submit",
1324
1364
  empty: "all-objects"
1325
- }
1365
+ },
1366
+ placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
1367
+ socialLinks: i
1326
1368
  },
1327
1369
  banner: {
1328
1370
  variant: ({ section: e }) => e === "home" ? "strip" : "section",
1329
- eyebrow: ({ section: e, t }) => e === "home" ? t("gallery.banner.discoverGalleries") : "",
1330
1371
  captionLabel: "layout.banner.detailFrom",
1331
1372
  enter: ({ section: e, t }) => e === "home" ? {
1332
1373
  label: "»",
@@ -1334,21 +1375,27 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1334
1375
  ariaLabel: t("gallery.action.goToCollection")
1335
1376
  } : null
1336
1377
  },
1378
+ chrome: s,
1379
+ brand: {
1380
+ logo: "logo.png",
1381
+ alt: "MWNF Logo"
1382
+ },
1383
+ homeLogos: c,
1337
1384
  media: { legacyHost: "https://images.museumwnf.org" },
1338
- links: { ...q },
1385
+ links: { ...J },
1339
1386
  projectColors: r,
1340
- noticeProjects: i,
1387
+ noticeProjects: a,
1341
1388
  site: { origin: n },
1342
- extraViews: Fn("gallery", {
1343
- creditsBody: a,
1389
+ extraViews: Hn("gallery", {
1390
+ creditsBody: o,
1344
1391
  pages: !0
1345
1392
  }),
1346
1393
  legacyRoutes: [
1347
1394
  {
1348
1395
  path: "/database-item/:uid(.*)/:language",
1349
1396
  async resolve({ uid: e }) {
1350
- await K(["items"]);
1351
- let t = xe(e);
1397
+ await q(["items"]);
1398
+ let t = Se(e);
1352
1399
  return t ? {
1353
1400
  name: "item",
1354
1401
  params: { id: t.id }
@@ -1358,8 +1405,8 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1358
1405
  {
1359
1406
  path: "/partner/:country/:id/:language",
1360
1407
  async resolve({ country: e, id: t }) {
1361
- await K(["partners"]);
1362
- let n = Ae(e, t);
1408
+ await q(["partners"]);
1409
+ let n = je(e, t);
1363
1410
  return n ? {
1364
1411
  name: "partner",
1365
1412
  params: { id: n.id }
@@ -1369,8 +1416,8 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1369
1416
  {
1370
1417
  path: "/partner-objects/:country/:id/:page",
1371
1418
  async resolve({ country: e, id: t, page: n }) {
1372
- await K(["partners"]);
1373
- let r = Ae(e, t);
1419
+ await q(["partners"]);
1420
+ let r = je(e, t);
1374
1421
  return r ? {
1375
1422
  name: "partner-objects",
1376
1423
  params: { id: r.id },
@@ -1380,7 +1427,7 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1380
1427
  },
1381
1428
  {
1382
1429
  path: "/timeline-gallery/:country/:start/:end/:page",
1383
- resolve: Kn
1430
+ resolve: $n
1384
1431
  },
1385
1432
  {
1386
1433
  path: "/error",
@@ -1389,20 +1436,23 @@ function qn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1389
1436
  ]
1390
1437
  };
1391
1438
  }
1392
- function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o }) {
1393
- let { manifest: s } = wt(), c = xt(), l = async (e, t) => (await K([
1439
+ function tr({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: a = [], creditsBody: o, partnerObjects: s, chrome: c = {}, sponsorLogos: l }) {
1440
+ let { manifest: u } = At(), d = Dt(), f = async (e, t) => (await q([
1394
1441
  "exhibition",
1395
1442
  "partners",
1396
1443
  "countries"
1397
- ]), Ln(Ue.value, Je.value, e, t));
1444
+ ]), Wn(We.value, Ye.value, e, t));
1398
1445
  return {
1399
1446
  datasetPackage: e,
1400
- siteName: s.site?.names?.en ?? t,
1447
+ siteName: u.site?.names?.en ?? t,
1401
1448
  features: { entities: [] },
1402
- languages: c,
1403
- shell: Gn,
1449
+ languages: d,
1450
+ shell: Qn,
1404
1451
  navigation: {
1405
- languages: bt(c),
1452
+ languages: d.map((e) => ({
1453
+ code: e,
1454
+ label: String(e).toUpperCase()
1455
+ })),
1406
1456
  links: [
1407
1457
  {
1408
1458
  section: "about",
@@ -1428,7 +1478,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1428
1478
  section: "timeline",
1429
1479
  label: "core.nav.timeline",
1430
1480
  to: { name: "timeline" },
1431
- when: () => Xe.value
1481
+ when: () => Ze.value
1432
1482
  },
1433
1483
  {
1434
1484
  section: "related",
@@ -1442,7 +1492,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1442
1492
  },
1443
1493
  {
1444
1494
  label: "core.nav.myCollection",
1445
- href: q.myCollection,
1495
+ href: J.myCollection,
1446
1496
  external: !0
1447
1497
  }
1448
1498
  ],
@@ -1451,33 +1501,33 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1451
1501
  to: { name: "home" }
1452
1502
  }, {
1453
1503
  label: "core.footer.aboutMwnf",
1454
- href: q.about,
1504
+ href: J.about,
1455
1505
  external: !0
1456
1506
  }],
1457
1507
  footerLinks: [
1458
1508
  {
1459
1509
  label: "core.footer.aboutMwnf",
1460
- href: q.about,
1510
+ href: J.about,
1461
1511
  external: !0
1462
1512
  },
1463
1513
  {
1464
1514
  label: "core.footer.contact",
1465
- href: q.contact,
1515
+ href: J.contact,
1466
1516
  external: !0
1467
1517
  },
1468
1518
  {
1469
1519
  label: "core.footer.legalNotice",
1470
- href: q.legalNotice,
1520
+ href: J.legalNotice,
1471
1521
  external: !0
1472
1522
  },
1473
1523
  {
1474
1524
  label: "core.footer.credits",
1475
- href: q.credits,
1525
+ href: J.credits,
1476
1526
  external: !0
1477
1527
  },
1478
1528
  {
1479
1529
  label: "core.footer.cookies",
1480
- href: q.cookies,
1530
+ href: J.cookies,
1481
1531
  external: !0
1482
1532
  }
1483
1533
  ],
@@ -1497,9 +1547,17 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1497
1547
  placeholder: "catalogue.search.placeholder",
1498
1548
  submitLabel: "catalogue.search.submit",
1499
1549
  empty: "all-objects"
1500
- }
1550
+ },
1551
+ placement: "before-banner",
1552
+ socialLinks: i
1501
1553
  },
1502
1554
  banner: { variant: ({ section: e }) => e === "home" ? "split" : "section" },
1555
+ chrome: c,
1556
+ brand: {
1557
+ logo: "logo_black.png",
1558
+ alt: "MWNF Logo"
1559
+ },
1560
+ sponsorLogos: l,
1503
1561
  logos: {
1504
1562
  header: (e) => Number(e.category_id) === 0 && e.visible !== !1,
1505
1563
  headerTitle: "exhibition.sponsors.coOrganisers",
@@ -1521,21 +1579,21 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1521
1579
  }
1522
1580
  },
1523
1581
  media: { legacyHost: "https://images.museumwnf.org" },
1524
- links: { ...q },
1582
+ links: { ...J },
1525
1583
  projectColors: r,
1526
- noticeProjects: i,
1584
+ noticeProjects: a,
1527
1585
  site: { origin: n },
1528
- extraViews: Fn("exhibition", {
1529
- creditsBody: a,
1530
- partnerObjects: o,
1586
+ extraViews: Hn("exhibition", {
1587
+ creditsBody: o,
1588
+ partnerObjects: s,
1531
1589
  pages: !0
1532
1590
  }),
1533
1591
  legacyRoutes: [
1534
1592
  {
1535
1593
  path: "/database-item/:uid(.*)/:language",
1536
1594
  async resolve({ uid: e }) {
1537
- await K(["items"]);
1538
- let t = Rn(qe.value, e);
1595
+ await q(["items"]);
1596
+ let t = Gn(Je.value, e);
1539
1597
  return t ? {
1540
1598
  name: "item",
1541
1599
  params: { id: t.id }
@@ -1545,7 +1603,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1545
1603
  {
1546
1604
  path: "/partner/:country/:id/:language",
1547
1605
  async resolve({ country: e, id: t }) {
1548
- let n = await l(e, t);
1606
+ let n = await f(e, t);
1549
1607
  return n ? {
1550
1608
  name: "partner",
1551
1609
  params: { id: n.id }
@@ -1555,7 +1613,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1555
1613
  {
1556
1614
  path: "/partner-objects/:country/:id/:page",
1557
1615
  async resolve({ country: e, id: t, page: n }) {
1558
- let r = await l(e, t);
1616
+ let r = await f(e, t);
1559
1617
  return r ? {
1560
1618
  name: "partner-objects",
1561
1619
  params: { id: r.id },
@@ -1566,7 +1624,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1566
1624
  {
1567
1625
  path: "/institution/:country/:id/:language",
1568
1626
  async resolve({ country: e, id: t }) {
1569
- let n = await l(e, t);
1627
+ let n = await f(e, t);
1570
1628
  return n ? {
1571
1629
  name: "institution",
1572
1630
  params: { id: n.id }
@@ -1576,7 +1634,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1576
1634
  {
1577
1635
  path: "/institution-monuments/:country/:id/:page",
1578
1636
  async resolve({ country: e, id: t, page: n }) {
1579
- let r = await l(e, t);
1637
+ let r = await f(e, t);
1580
1638
  return r ? {
1581
1639
  name: "institution-monuments",
1582
1640
  params: { id: r.id },
@@ -1586,7 +1644,7 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1586
1644
  },
1587
1645
  {
1588
1646
  path: "/timeline-gallery/:country/:start/:end/:page",
1589
- resolve: Kn
1647
+ resolve: $n
1590
1648
  },
1591
1649
  {
1592
1650
  path: "/error",
@@ -1597,16 +1655,16 @@ function Jn({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
1597
1655
  }
1598
1656
  //#endregion
1599
1657
  //#region src/dxa/FeaturedPartners.vue
1600
- var Yn = {
1658
+ var nr = {
1601
1659
  key: 0,
1602
1660
  class: "mwnf-featured-partners"
1603
- }, Xn = { class: "mwnf-featured-partners__heading" }, Zn = { class: "mwnf-featured-partners__carousel" }, Qn = {
1661
+ }, rr = { class: "mwnf-featured-partners__heading" }, ir = { class: "mwnf-featured-partners__carousel" }, ar = {
1604
1662
  key: 0,
1605
1663
  class: "mwnf-featured-partners__image"
1606
- }, $n = ["src", "alt"], er = { class: "mwnf-featured-partners__body" }, tr = { class: "mwnf-featured-partners__name" }, nr = { class: "mwnf-featured-partners__location" }, rr = { key: 0 }, ir = { class: "mwnf-featured-partners__description" }, ar = {
1664
+ }, or = ["src", "alt"], sr = { class: "mwnf-featured-partners__body" }, cr = { class: "mwnf-featured-partners__name" }, lr = { class: "mwnf-featured-partners__location" }, ur = { key: 0 }, dr = { class: "mwnf-featured-partners__description" }, fr = {
1607
1665
  key: 0,
1608
1666
  class: "mwnf-featured-partners__controls"
1609
- }, or = ["aria-label", "onClick"], sr = 8e3, cr = {
1667
+ }, pr = ["aria-label", "onClick"], mr = 8e3, hr = {
1610
1668
  __name: "FeaturedPartners",
1611
1669
  props: {
1612
1670
  records: {
@@ -1624,6 +1682,14 @@ var Yn = {
1624
1682
  headingEntry: {
1625
1683
  type: String,
1626
1684
  default: "partner.list.featured"
1685
+ },
1686
+ readMoreEntry: {
1687
+ type: String,
1688
+ default: "partner.action.readMore"
1689
+ },
1690
+ viewObjectsEntry: {
1691
+ type: String,
1692
+ default: "partner.action.viewObjects"
1627
1693
  }
1628
1694
  },
1629
1695
  setup(e) {
@@ -1636,62 +1702,81 @@ var Yn = {
1636
1702
  let n = e.lastIndexOf(" ", t);
1637
1703
  return `${e.slice(0, n > 0 ? n : t)}...`;
1638
1704
  }
1639
- let i = j(() => t.partners.length ? t.partners.map((e) => ({
1705
+ let i = M(() => t.partners.length ? t.partners.map((e) => ({
1640
1706
  id: e.id,
1641
1707
  name: e.plainName,
1642
1708
  logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
1643
1709
  city: e.city,
1644
1710
  country: e.country,
1645
1711
  description: r(n(e.description), t.descriptionLength),
1646
- route: e.route
1647
- })) : t.records), a = z(0), o = null;
1712
+ route: e.route,
1713
+ objectsRoute: e.objectsRoute ?? null
1714
+ })) : t.records), a = B(0), o = null;
1648
1715
  function s(e) {
1649
1716
  a.value = e, c();
1650
1717
  }
1651
1718
  function c() {
1652
1719
  o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
1653
1720
  a.value = (a.value + 1) % i.value.length;
1654
- }, sr));
1721
+ }, mr));
1655
1722
  }
1656
- return mt(c), pt(() => o && clearInterval(o)), (t, n) => i.value.length ? (R(), P("section", Yn, [
1657
- F("h2", Xn, V(t.$t(e.headingEntry)), 1),
1658
- F("div", Zn, [(R(!0), P(A, null, B(i.value, (e, t) => W((R(), M(u, {
1659
- key: e.id,
1660
- to: e.route,
1723
+ return yt(c), vt(() => o && clearInterval(o)), (t, n) => i.value.length ? (z(), F("section", nr, [
1724
+ I("h2", rr, H(t.$t(e.headingEntry)), 1),
1725
+ I("div", ir, [(z(!0), F(j, null, V(i.value, (n, r) => G((z(), F("div", {
1726
+ key: n.id,
1661
1727
  class: "mwnf-featured-partners__card"
1662
- }, {
1663
- default: U(() => [e.logo ? (R(), P("span", Qn, [F("img", {
1664
- src: e.logo,
1665
- alt: e.name,
1666
- class: "mwnf-featured-partners__logo"
1667
- }, null, 8, $n)])) : N("", !0), F("span", er, [
1668
- F("span", tr, V(e.name), 1),
1669
- F("span", nr, [e.city ? (R(), P("span", rr, V(e.city) + ", ", 1)) : N("", !0), I(V(e.country), 1)]),
1670
- F("span", ir, V(e.description), 1)
1671
- ])]),
1672
- _: 2
1673
- }, 1032, ["to"])), [[_t, t === a.value]])), 128))]),
1674
- i.value.length > 1 ? (R(), P("div", ar, [(R(!0), P(A, null, B(i.value, (e, n) => (R(), P("button", {
1728
+ }, [n.logo ? (z(), F("span", ar, [I("img", {
1729
+ src: n.logo,
1730
+ alt: n.name,
1731
+ class: "mwnf-featured-partners__logo"
1732
+ }, null, 8, or)])) : P("", !0), I("span", sr, [
1733
+ I("span", cr, H(n.name), 1),
1734
+ I("span", lr, [n.city ? (z(), F("span", ur, H(n.city) + ", ", 1)) : P("", !0), L(H(n.country), 1)]),
1735
+ I("span", dr, H(n.description), 1),
1736
+ n.route ? (z(), N(u, {
1737
+ key: 0,
1738
+ to: n.route,
1739
+ class: "mwnf-featured-partners__more"
1740
+ }, {
1741
+ default: W(() => [L(H(t.$t(e.readMoreEntry)) + " >>", 1)]),
1742
+ _: 1
1743
+ }, 8, ["to"])) : P("", !0),
1744
+ n.objectsRoute ? (z(), N(u, {
1745
+ key: 1,
1746
+ to: n.objectsRoute,
1747
+ class: "mwnf-featured-partners__more"
1748
+ }, {
1749
+ default: W(() => [L(H(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
1750
+ _: 1
1751
+ }, 8, ["to"])) : P("", !0)
1752
+ ])])), [[Ct, r === a.value]])), 128))]),
1753
+ i.value.length > 1 ? (z(), F("div", fr, [(z(!0), F(j, null, V(i.value, (e, n) => (z(), F("button", {
1675
1754
  key: e.id,
1676
- class: dt(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
1755
+ class: gt(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
1677
1756
  "aria-label": `${t.$t("core.action.show")} ${e.name}`,
1678
1757
  onClick: (e) => s(n)
1679
- }, null, 10, or))), 128))])) : N("", !0)
1680
- ])) : N("", !0);
1758
+ }, null, 10, pr))), 128))])) : P("", !0)
1759
+ ])) : P("", !0);
1681
1760
  }
1682
- }, lr = { class: "mwnf-sibling-galleries" }, ur = {
1761
+ }, gr = { class: "mwnf-sibling-galleries" }, _r = {
1683
1762
  key: 0,
1684
1763
  class: "mwnf-sibling-galleries__galleries"
1685
- }, dr = { class: "mwnf-sibling-galleries__header" }, fr = { class: "mwnf-sibling-galleries__heading" }, pr = ["href"], mr = { class: "mwnf-sibling-galleries__grid" }, hr = {
1764
+ }, vr = { class: "mwnf-sibling-galleries__header" }, yr = { class: "mwnf-sibling-galleries__heading" }, br = ["href"], xr = { class: "mwnf-sibling-galleries__grid" }, Sr = {
1686
1765
  key: 0,
1687
1766
  class: "mwnf-sibling-galleries__image"
1688
- }, gr = ["src", "alt"], _r = {
1767
+ }, Cr = ["src", "alt"], wr = {
1689
1768
  key: 1,
1690
1769
  class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
1691
- }, vr = { class: "mwnf-sibling-galleries__name" }, yr = {
1770
+ }, Tr = { class: "mwnf-sibling-galleries__name" }, Er = {
1692
1771
  key: 1,
1693
1772
  class: "mwnf-sibling-galleries__museums"
1694
- }, br = { class: "mwnf-sibling-galleries__heading" }, xr = { class: "mwnf-sibling-galleries__museums-grid" }, Sr = ["href"], Cr = { class: "mwnf-sibling-galleries__museum-image" }, wr = { class: "mwnf-sibling-galleries__museum-name" }, Tr = {
1773
+ }, Dr = { class: "mwnf-sibling-galleries__heading" }, Or = { class: "mwnf-sibling-galleries__museums-grid" }, kr = ["href"], Ar = {
1774
+ key: 0,
1775
+ class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
1776
+ }, jr = ["src"], Mr = {
1777
+ key: 1,
1778
+ class: "mwnf-sibling-galleries__museum-image"
1779
+ }, Nr = { class: "mwnf-sibling-galleries__museum-name" }, Pr = {
1695
1780
  __name: "SiblingGalleries",
1696
1781
  props: {
1697
1782
  galleries: {
@@ -1720,92 +1805,126 @@ var Yn = {
1720
1805
  }
1721
1806
  },
1722
1807
  setup(e) {
1723
- return (t, n) => (R(), P("section", lr, [e.galleries.length ? (R(), P("div", ur, [F("div", dr, [F("p", fr, V(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (R(), P("a", {
1808
+ return (t, n) => (z(), F("section", gr, [e.galleries.length ? (z(), F("div", _r, [I("div", vr, [I("p", yr, H(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (z(), F("a", {
1724
1809
  key: 0,
1725
1810
  href: e.seeMoreGalleriesHref,
1726
1811
  target: "_blank",
1727
1812
  rel: "noopener",
1728
1813
  class: "mwnf-sibling-galleries__see-more"
1729
- }, V(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, pr)) : N("", !0)]), F("div", mr, [(R(!0), P(A, null, B(e.galleries, (e) => (R(), M(u, {
1814
+ }, H(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, br)) : P("", !0)]), I("div", xr, [(z(!0), F(j, null, V(e.galleries, (e) => (z(), N(u, {
1730
1815
  key: e.id,
1731
1816
  to: e.route,
1732
- class: dt(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
1817
+ class: gt(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
1733
1818
  }, {
1734
- default: U(() => [e.image ? (R(), P("span", hr, [F("img", {
1819
+ default: W(() => [e.image ? (z(), F("span", Sr, [I("img", {
1735
1820
  src: e.image,
1736
1821
  alt: e.name
1737
- }, null, 8, gr)])) : (R(), P("span", _r)), F("p", vr, V(e.name), 1)]),
1822
+ }, null, 8, Cr)])) : (z(), F("span", wr)), I("p", Tr, H(e.name), 1)]),
1738
1823
  _: 2
1739
- }, 1032, ["to", "class"]))), 128))])])) : N("", !0), e.museums.length ? (R(), P("div", yr, [F("div", br, V(t.$t(e.museumsHeadingEntry)), 1), F("div", xr, [(R(!0), P(A, null, B(e.museums, (e) => (R(), P("a", {
1824
+ }, 1032, ["to", "class"]))), 128))])])) : P("", !0), e.museums.length ? (z(), F("div", Er, [I("div", Dr, H(t.$t(e.museumsHeadingEntry)), 1), I("div", Or, [(z(!0), F(j, null, V(e.museums, (e) => (z(), F("a", {
1740
1825
  key: e.name,
1741
1826
  href: e.href || e.to,
1742
1827
  target: "_blank",
1743
1828
  rel: "noopener",
1744
1829
  class: "mwnf-sibling-galleries__museum",
1745
- style: ft({
1830
+ style: _t({
1746
1831
  "--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
1747
1832
  "--mwnf-museum-text": e.textColor || "inherit"
1748
1833
  })
1749
- }, [F("div", Cr, V(e.name.split(" ").map((e) => e[0]).join("")), 1), F("p", wr, V(e.name), 1)], 12, Sr))), 128))])])) : N("", !0)]));
1834
+ }, [e.image ? (z(), F("div", Ar, [I("img", {
1835
+ src: e.image,
1836
+ alt: ""
1837
+ }, null, 8, jr)])) : (z(), F("div", Mr, H(e.name.split(" ").map((e) => e[0]).join("")), 1)), I("p", Nr, H(e.name), 1)], 12, kr))), 128))])])) : P("", !0)]));
1750
1838
  }
1751
- }, Er = /* @__PURE__ */ e({ default: () => Ar }), Dr = { class: "mwnf-dxa-home" }, Or = 8, kr = 4, Ar = {
1839
+ }, Fr = /* @__PURE__ */ e({ default: () => Ur }), Ir = { class: "mwnf-dxa-home" }, Lr = {
1840
+ key: 0,
1841
+ class: "mwnf-dxa-home-logos"
1842
+ }, Rr = { class: "mwnf-dxa-home-logos__label" }, zr = { class: "mwnf-dxa-home-logos__list" }, Br = ["src", "alt"], Vr = 8, Hr = 4, Ur = {
1752
1843
  __name: "Home",
1753
1844
  setup(e) {
1754
- let { t, locale: n } = J(), { links: r } = Y(), i = j(() => be(Or)), a = z([]);
1755
- mt(() => {
1756
- a.value = ae(kr);
1845
+ let { t, locale: n } = Y(), r = X(), i = M(() => r.links ?? {}), a = M(() => xe(Vr)), s = B([]);
1846
+ yt(() => {
1847
+ s.value = oe(Hr);
1757
1848
  });
1758
- let o = j(() => a.value.map((e) => ({
1849
+ let l = M(() => s.value.map((e) => ({
1759
1850
  id: e.id,
1760
1851
  name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
1761
- image: e.image_path ? fe(e.image_path, "lo_res") : null,
1762
- route: ie(e)
1763
- }))), s = j(() => [
1852
+ image: e.image_path ? pe(e.image_path, "zoom") : null,
1853
+ route: ae(e)
1854
+ }))), u = M(() => [
1764
1855
  {
1765
1856
  name: t("core.project.islamicArt"),
1766
- href: `${r.islamicArt}/`,
1857
+ href: `${i.value.islamicArt}/`,
1858
+ image: c(r.chrome, "dia.jpg"),
1767
1859
  accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
1768
1860
  textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
1769
1861
  },
1770
1862
  {
1771
1863
  name: t("core.project.baroqueArt"),
1772
- href: `${r.baroqueArt}/`,
1864
+ href: `${i.value.baroqueArt}/`,
1865
+ image: c(r.chrome, "dba.jpg"),
1773
1866
  accent: "var(--mwnf-project-DBA, #001d66)",
1774
1867
  textColor: "var(--mwnf-project-DBA-text, #ffffff)"
1775
1868
  },
1776
1869
  {
1777
1870
  name: t("core.project.sharingHistory"),
1778
- href: `${r.sharingHistory}/`,
1871
+ href: `${i.value.sharingHistory}/`,
1872
+ image: c(r.chrome, "sh.jpg"),
1779
1873
  accent: "var(--mwnf-project-AWE, #900000)",
1780
1874
  textColor: "var(--mwnf-project-AWE-text, #ffffff)"
1781
1875
  }
1782
- ]), c = j(() => `${r.galleries}/list`);
1783
- return (e, t) => (R(), P("div", Dr, [L(cr, { partners: i.value }, null, 8, ["partners"]), L(Tr, {
1784
- galleries: o.value,
1785
- museums: s.value,
1786
- "galleries-heading-entry": "gallery.action.visitGalleries",
1787
- "see-more-galleries-entry": "gallery.action.seeMoreGalleries",
1788
- "see-more-galleries-href": c.value,
1789
- "museums-heading-entry": "gallery.siblings.otherVirtualMuseums"
1790
- }, null, 8, [
1791
- "galleries",
1792
- "museums",
1793
- "see-more-galleries-href"
1794
- ])]));
1876
+ ]), d = M(() => (r.homeLogos ?? []).map((e) => ({
1877
+ image: o(r.chrome, e.image) ?? pe(e.image, "gallery_logo"),
1878
+ href: e.href ?? "",
1879
+ alt: e.alt ? t(e.alt) : ""
1880
+ })).filter((e) => e.image)), f = M(() => `${i.value.galleries}/list`);
1881
+ return (e, n) => (z(), F("div", Ir, [
1882
+ R(hr, { partners: a.value }, null, 8, ["partners"]),
1883
+ d.value.length ? (z(), F("section", Lr, [I("p", Rr, H(U(t)("gallery.home.logosLabel")), 1), I("ul", zr, [(z(!0), F(j, null, V(d.value, (e) => (z(), F("li", { key: e.image }, [(z(), N(xt(e.href ? "a" : "span"), {
1884
+ class: "mwnf-dxa-home-logos__logo",
1885
+ href: e.href || void 0,
1886
+ title: e.alt || void 0,
1887
+ target: e.href ? "_blank" : void 0,
1888
+ rel: e.href ? "noopener" : void 0
1889
+ }, {
1890
+ default: W(() => [I("img", {
1891
+ src: e.image,
1892
+ alt: e.alt
1893
+ }, null, 8, Br)]),
1894
+ _: 2
1895
+ }, 1032, [
1896
+ "href",
1897
+ "title",
1898
+ "target",
1899
+ "rel"
1900
+ ]))]))), 128))])])) : P("", !0),
1901
+ R(Pr, {
1902
+ galleries: l.value,
1903
+ museums: u.value,
1904
+ "galleries-heading-entry": "gallery.action.visitGalleries",
1905
+ "see-more-galleries-entry": "gallery.action.seeMoreGalleries",
1906
+ "see-more-galleries-href": f.value,
1907
+ "museums-heading-entry": "gallery.siblings.otherVirtualMuseums"
1908
+ }, null, 8, [
1909
+ "galleries",
1910
+ "museums",
1911
+ "see-more-galleries-href"
1912
+ ])
1913
+ ]));
1795
1914
  }
1796
- }, jr = /* @__PURE__ */ e({ default: () => Nr }), Mr = { class: "mwnf-dxa-item__languages" }, Nr = {
1915
+ }, Wr = /* @__PURE__ */ e({ default: () => Kr }), Gr = { class: "mwnf-dxa-item__languages" }, Kr = {
1797
1916
  __name: "ItemDetail",
1798
1917
  props: { id: {
1799
1918
  type: String,
1800
1919
  required: !0
1801
1920
  } },
1802
1921
  setup(e) {
1803
- return (t, n) => (R(), M(O, {
1804
- spec: H(we),
1922
+ return (t, n) => (z(), N(dt, {
1923
+ spec: U(Te),
1805
1924
  id: e.id,
1806
1925
  class: "mwnf-dxa-item"
1807
1926
  }, {
1808
- header: U(({ languages: e, language: t, select: n }) => [F("div", Mr, [L(i, {
1927
+ header: W(({ languages: e, language: t, select: n }) => [I("div", Gr, [R(l, {
1809
1928
  languages: e,
1810
1929
  language: t,
1811
1930
  onSelect: n
@@ -1813,62 +1932,62 @@ var Yn = {
1813
1932
  "languages",
1814
1933
  "language",
1815
1934
  "onSelect"
1816
- ])]), L(d)]),
1935
+ ])]), R(g)]),
1817
1936
  _: 1
1818
1937
  }, 8, ["spec", "id"]));
1819
1938
  }
1820
- }, Pr = /* @__PURE__ */ e({ default: () => Ir }), Fr = { class: "mwnf-dxa-timeline" }, Ir = {
1939
+ }, qr = /* @__PURE__ */ e({ default: () => Yr }), Jr = { class: "mwnf-dxa-timeline" }, Yr = {
1821
1940
  __name: "Timeline",
1822
1941
  setup(e) {
1823
1942
  let t = {
1824
- ...ne,
1943
+ ...re,
1825
1944
  entrance: !0
1826
1945
  };
1827
- return (e, n) => (R(), P("div", Fr, [L(_, {
1946
+ return (e, n) => (z(), F("div", Jr, [R(x, {
1828
1947
  spec: t,
1829
1948
  class: "mwnf-dxa-timeline__form"
1830
- }), L(H(G), {
1949
+ }), R(U(K), {
1831
1950
  class: "mwnf-prose mwnf-dxa-timeline__intro",
1832
1951
  dir: "auto",
1833
1952
  keypath: "gallery.timeline.intro"
1834
1953
  })]));
1835
1954
  }
1836
- }, Lr = /* @__PURE__ */ e({ default: () => zr }), Rr = { class: "mwnf-dxa-home" }, zr = {
1955
+ }, Xr = /* @__PURE__ */ e({ default: () => Qr }), Zr = { class: "mwnf-dxa-home" }, Qr = {
1837
1956
  __name: "Home",
1838
1957
  setup(e) {
1839
- return (e, t) => (R(), P("div", Rr));
1958
+ return (e, t) => (z(), F("div", Zr));
1840
1959
  }
1841
- }, Br = /* @__PURE__ */ e({ default: () => Hr }), Vr = { class: "mwnf-dxa-about" }, Hr = {
1960
+ }, $r = /* @__PURE__ */ e({ default: () => ti }), ei = { class: "mwnf-dxa-about" }, ti = {
1842
1961
  __name: "About",
1843
1962
  setup(e) {
1844
- return (e, t) => (R(), P("div", Vr, [L(n, { "about-mode": "" })]));
1963
+ return (e, t) => (z(), F("div", ei, [R(n, { "about-mode": "" })]));
1845
1964
  }
1846
- }, Ur = /* @__PURE__ */ e({ default: () => Kr }), Wr = { class: "mwnf-dxa-themes" }, Gr = { class: "mwnf-dxa-themes__container" }, Kr = {
1965
+ }, ni = /* @__PURE__ */ e({ default: () => ai }), ri = { class: "mwnf-dxa-themes" }, ii = { class: "mwnf-dxa-themes__container" }, ai = {
1847
1966
  __name: "Themes",
1848
1967
  setup(e) {
1849
- let { listedThemes: t, romanFor: n, themeText: r } = Me, { t: i, locale: a } = J(), o = j(() => t.value.map((e) => ({
1968
+ let { listedThemes: t, romanFor: n, themeText: r } = Ne, { t: i, locale: a } = Y(), o = M(() => t.value.map((e) => ({
1850
1969
  title: r(e, a.value).title ?? e.internal_name ?? "",
1851
1970
  number: n(e.display_order),
1852
1971
  children: [{
1853
1972
  title: i("exhibition.theme.overview"),
1854
- to: k(e)
1973
+ to: ft(e)
1855
1974
  }, ...(e.sub_themes ?? []).map((e) => ({
1856
1975
  title: r(e, a.value).title ?? e.internal_name ?? "",
1857
- to: k(e)
1976
+ to: ft(e)
1858
1977
  }))]
1859
1978
  })));
1860
- return (e, t) => (R(), P("div", Wr, [F("div", Gr, [L(l, {
1979
+ return (e, t) => (z(), F("div", ri, [I("div", ii, [R(f, {
1861
1980
  cards: o.value,
1862
1981
  variant: "accordion"
1863
1982
  }, null, 8, ["cards"])])]));
1864
1983
  }
1865
- }, qr = /* @__PURE__ */ e({ default: () => Xr }), Jr = { class: "mwnf-dxa-theme-gallery__empty" }, Yr = {
1984
+ }, oi = /* @__PURE__ */ e({ default: () => li }), si = { class: "mwnf-dxa-theme-gallery__empty" }, ci = {
1866
1985
  key: 1,
1867
1986
  class: "mwnf-loader"
1868
- }, Xr = {
1987
+ }, li = {
1869
1988
  __name: "ThemeGallery",
1870
1989
  setup(e) {
1871
- let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } = Me, s = Q(), { t: c, locale: l } = J(), u = j(() => i(s.params.id)), f = j(() => {
1990
+ let { pictureById: t, pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themeTree: o } = Ne, s = Pt(), { t: c, locale: l } = Y(), u = M(() => i(s.params.id)), d = M(() => {
1872
1991
  let e = /* @__PURE__ */ new Set();
1873
1992
  if (!u.value) return e;
1874
1993
  for (let r of o.itemsUnder(u.value.id)) {
@@ -1876,44 +1995,44 @@ var Yn = {
1876
1995
  i && e.add(i.id);
1877
1996
  }
1878
1997
  return e;
1879
- }), m = j(() => a(u.value, l.value).title ?? u.value?.internal_name ?? ""), h = j(() => ({
1998
+ }), f = M(() => a(u.value, l.value).title ?? u.value?.internal_name ?? ""), p = M(() => ({
1880
1999
  entity: "items",
1881
- scope: (e) => f.value.has(e.id),
2000
+ scope: (e) => d.value.has(e.id),
1882
2001
  sort: { undated: "first" },
1883
2002
  variant: "grid",
1884
2003
  recordRoute: "item",
1885
- record: (e, t) => C(e, t.t),
2004
+ record: (e, t) => et(e, t.t),
1886
2005
  actionLabel: "catalogue.results.seeDatabaseEntry",
1887
2006
  empty: "exhibition.theme.noRecords",
1888
2007
  summary: () => [{
1889
2008
  label: c("exhibition.theme.galleryLabel"),
1890
- value: `${c("exhibition.theme.romanLabel")} ${r(u.value?.display_order ?? 1)} | ${m.value}`
2009
+ value: `${c("exhibition.theme.romanLabel")} ${r(u.value?.display_order ?? 1)} | ${f.value}`
1891
2010
  }]
1892
2011
  }));
1893
- return (e, t) => u.value ? (R(), M(p, {
2012
+ return (e, t) => u.value ? (z(), N(b, {
1894
2013
  key: 0,
1895
- spec: h.value,
2014
+ spec: p.value,
1896
2015
  class: "mwnf-dxa-theme-gallery"
1897
2016
  }, {
1898
- before: U(() => [L(d)]),
1899
- empty: U(() => [F("p", Jr, V(H(c)("exhibition.theme.noRecords")), 1)]),
2017
+ before: W(() => [R(g)]),
2018
+ empty: W(() => [I("p", si, H(U(c)("exhibition.theme.noRecords")), 1)]),
1900
2019
  _: 1
1901
- }, 8, ["spec"])) : (R(), P("div", Yr, V(H(c)("exhibition.theme.notInExhibition")), 1));
2020
+ }, 8, ["spec"])) : (z(), F("div", ci, H(U(c)("exhibition.theme.notInExhibition")), 1));
1902
2021
  }
1903
- }, Zr = /* @__PURE__ */ e({ default: () => $r }), Qr = { class: "mwnf-dxa-item__languages" }, $r = {
2022
+ }, ui = /* @__PURE__ */ e({ default: () => fi }), di = { class: "mwnf-dxa-item__languages" }, fi = {
1904
2023
  __name: "ItemDetail",
1905
2024
  props: { id: {
1906
2025
  type: String,
1907
2026
  required: !0
1908
2027
  } },
1909
2028
  setup(e) {
1910
- return (t, n) => (R(), M(O, {
1911
- spec: H(ct),
2029
+ return (t, n) => (z(), N(dt, {
2030
+ spec: U(ut),
1912
2031
  id: e.id,
1913
- "data-getter": (e) => H(T).get(e),
2032
+ "data-getter": (e) => U(O).get(e),
1914
2033
  class: "mwnf-dxa-item"
1915
2034
  }, {
1916
- header: U(({ languages: e, language: t, select: n }) => [F("div", Qr, [L(i, {
2035
+ header: W(({ languages: e, language: t, select: n }) => [I("div", di, [R(l, {
1917
2036
  languages: e,
1918
2037
  language: t,
1919
2038
  onSelect: n
@@ -1921,7 +2040,7 @@ var Yn = {
1921
2040
  "languages",
1922
2041
  "language",
1923
2042
  "onSelect"
1924
- ])]), L(d)]),
2043
+ ])]), R(g)]),
1925
2044
  _: 1
1926
2045
  }, 8, [
1927
2046
  "spec",
@@ -1929,7 +2048,7 @@ var Yn = {
1929
2048
  "data-getter"
1930
2049
  ]));
1931
2050
  }
1932
- }, ei = /* @__PURE__ */ e({ default: () => ti }), ti = {
2051
+ }, pi = /* @__PURE__ */ e({ default: () => mi }), mi = {
1933
2052
  __name: "RelatedContent",
1934
2053
  setup(e) {
1935
2054
  let t = {
@@ -1942,24 +2061,24 @@ var Yn = {
1942
2061
  2,
1943
2062
  3,
1944
2063
  4
1945
- ], { t: r, locale: i } = J();
2064
+ ], { t: r, locale: i } = Y();
1946
2065
  function a(e) {
1947
2066
  return e?.[i.value] ?? e?.en ?? "";
1948
2067
  }
1949
2068
  function o(e) {
1950
- return e.document_path ? nt(e.document_path, "hi_res") : e.url ?? null;
2069
+ return e.document_path ? D(e.document_path, "hi_res") : e.url ?? null;
1951
2070
  }
1952
2071
  function s(e) {
1953
- return a(e.titles) ? E(a(e.titles)) : a(e.texts) ? E(a(e.texts)) : o(e) || r("exhibition.relatedCategory.unknown");
2072
+ return a(e.titles) ? k(a(e.titles)) : a(e.texts) ? k(a(e.texts)) : o(e) || r("exhibition.relatedCategory.unknown");
1954
2073
  }
1955
2074
  function c(e) {
1956
2075
  if (!a(e.titles)) return "";
1957
2076
  let t = [];
1958
- return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ? st(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(" — ");
2077
+ return (e.entity_location || e.entity_country) && t.push([e.entity_location, e.entity_country ? lt(e.entity_country) : ""].filter(Boolean).join(", ")), (e.authors || e.type_resource) && t.push([e.authors, e.type_resource].filter(Boolean).join(", ")), a(e.descriptions) && t.push(k(a(e.descriptions))), e.further_reading && t.push(k(e.further_reading)), t.join(" — ");
1959
2078
  }
1960
2079
  function l() {
1961
2080
  let e = /* @__PURE__ */ new Map();
1962
- for (let t of $e.value ?? []) {
2081
+ for (let t of tt.value ?? []) {
1963
2082
  let n = e.get(t.category_id);
1964
2083
  n ? n.push(t) : e.set(t.category_id, [t]);
1965
2084
  }
@@ -1980,20 +2099,20 @@ var Yn = {
1980
2099
  to: { name: "home" }
1981
2100
  }
1982
2101
  };
1983
- return (e, t) => (R(), M(f, {
2102
+ return (e, t) => (z(), N(ee, {
1984
2103
  spec: u,
1985
2104
  class: "mwnf-dxa-related"
1986
2105
  }));
1987
2106
  }
1988
- }, ni = /* @__PURE__ */ e({ default: () => ri }), ri = {
2107
+ }, hi = /* @__PURE__ */ e({ default: () => gi }), gi = {
1989
2108
  __name: "Timeline",
1990
2109
  setup(e) {
1991
- let t = j(() => ({
1992
- ...Be.value,
2110
+ let t = M(() => ({
2111
+ ...Ve.value,
1993
2112
  entrance: !0
1994
2113
  }));
1995
- return (e, n) => (R(), M(_, { spec: t.value }, {
1996
- after: U(() => [L(H(G), {
2114
+ return (e, n) => (z(), N(x, { spec: t.value }, {
2115
+ after: W(() => [R(U(K), {
1997
2116
  class: "mwnf-prose mwnf-dxa-timeline__intro",
1998
2117
  dir: "auto",
1999
2118
  keypath: "exhibition.timeline.intro"
@@ -2003,4 +2122,4 @@ var Yn = {
2003
2122
  }
2004
2123
  };
2005
2124
  //#endregion
2006
- export { Hr as ExhibitionAbout, gn as ExhibitionCollectionResults, vn as ExhibitionCollectionSearch, zr as ExhibitionHome, $r as ExhibitionItemDetail, bn as ExhibitionPartnerObjects, rn as ExhibitionPartners, ti as ExhibitionRelatedContent, en as ExhibitionSearchHowTo, un as ExhibitionSearchResults, Gn as ExhibitionShell, n as ExhibitionTheme, Xr as ExhibitionThemeGallery, Kr as ExhibitionThemes, ri as ExhibitionTimeline, fn as ExhibitionTimelineGallery, dn as ExhibitionTimelineResults, cr as FeaturedPartners, At as GalleryAbout, qt as GalleryCollectionResults, Xt as GalleryCollectionSearch, jt as GalleryCredits, Ar as GalleryHome, Nr as GalleryItemDetail, $t as GalleryPartnerObjects, Pt as GalleryPartners, Mt as GallerySearchHowTo, Bt as GallerySearchResults, zn as GalleryShell, Ir as GalleryTimeline, Ut as GalleryTimelineGallery, Vt as GalleryTimelineResults, O as ItemDetailView, $ as PartnerDetail, t as PictureGallery, r as PictureNarrative, Wn as PopupLogo, Tr as SiblingGalleries, ut as exhibitionAboutSpec, Jn as exhibitionConfig, x as exhibitionPartnerDetail, lt as exhibitionThemeSpec, qn as galleryConfig, v as galleryPartnerDetail, Fn as standardRoutes, k as themeNodeRoute };
2125
+ export { ti as ExhibitionAbout, Cn as ExhibitionCollectionResults, Tn as ExhibitionCollectionSearch, Qr as ExhibitionHome, fi as ExhibitionItemDetail, Dn as ExhibitionPartnerObjects, dn as ExhibitionPartners, mi as ExhibitionRelatedContent, cn as ExhibitionSearchHowTo, _n as ExhibitionSearchResults, Qn as ExhibitionShell, n as ExhibitionTheme, li as ExhibitionThemeGallery, ai as ExhibitionThemes, gi as ExhibitionTimeline, yn as ExhibitionTimelineGallery, vn as ExhibitionTimelineResults, hr as FeaturedPartners, Lt as GalleryAbout, en as GalleryCollectionResults, rn as GalleryCollectionSearch, Rt as GalleryCredits, Ur as GalleryHome, Kr as GalleryItemDetail, sn as GalleryPartnerObjects, Vt as GalleryPartners, zt as GallerySearchHowTo, qt as GallerySearchResults, Kn as GalleryShell, Yr as GalleryTimeline, Xt as GalleryTimelineGallery, Jt as GalleryTimelineResults, dt as ItemDetailView, $ as PartnerDetail, t as PictureGallery, r as PictureNarrative, Zn as PopupLogo, Pr as SiblingGalleries, mt as exhibitionAboutSpec, tr as exhibitionConfig, T as exhibitionPartnerDetail, pt as exhibitionThemeSpec, er as galleryConfig, S as galleryPartnerDetail, Hn as standardRoutes, ft as themeNodeRoute };