@museumwnf/viewer-layout 3.80.0 → 3.80.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dxa.js CHANGED
@@ -1,25 +1,25 @@
1
- import { s as e } from "./OnDisplayIn-BH3Bqope.js";
2
- import { c as t, d as n, t as r } from "./PartnerMap-DdyMLtgH.js";
3
- import { a as i, i as a, n as o } from "./TimelineEventList-CIkKxyQu.js";
4
- import { t as s } from "./RecordView-CBC7tBCX.js";
5
- import { A as c, C as l, D as u, E as d, M as f, N as p, O as m, S as h, T as g, _, a as v, b as y, c as ee, d as te, f as b, g as x, h as ne, i as re, j as ie, k as ae, l as oe, m as se, n as ce, o as le, p as ue, r as de, s as fe, t as pe, u as me, v as he, w as ge, x as _e, y as ve } from "./data-DlmKSxgh.js";
6
- import { A as ye, C as be, D as xe, E as Se, M as S, N as Ce, O as we, P as Te, S as Ee, T as De, _ as Oe, a as ke, b as Ae, c as C, d as je, f as Me, g as Ne, h as Pe, i as Fe, j as w, k as Ie, l as Le, m as T, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as E, w as Ge, x as Ke, y as qe } from "./data-D9H1tB75.js";
7
- import { n as Je, r as D, t as Ye } from "./TimelineResultsView-Bn4rC_Se.js";
8
- import { t as Xe } from "./SiteShell-CzKgoOBm.js";
9
- import { i as Ze, n as Qe, r as $e, t as et } from "./chrome-Bv_mLlHM.js";
10
- import { i as tt } from "./PageShell-BAtk_qcb.js";
11
- import { n as nt, t as rt } from "./LegacyItemSheet-CNooycyz.js";
12
- import { n as it, r as O } from "./Theme-BCn6_VkI.js";
13
- import { n as at, r as ot, t as st } from "./themeSpecs-BJ82RvA1.js";
14
- import { Fragment as k, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as ct, createTextVNode as F, createVNode as I, normalizeClass as L, normalizeStyle as lt, onBeforeUnmount as ut, onMounted as dt, openBlock as R, reactive as ft, ref as z, renderList as B, renderSlot as pt, resolveDynamicComponent as mt, toDisplayString as V, unref as H, vModelCheckbox as ht, vModelSelect as gt, vModelText as _t, vShow as vt, watch as yt, watchEffect as bt, withCtx as U, withDirectives as W, withModifiers as xt } from "vue";
15
- import { I18nText as G, LEGACY_SITES as St, NotFoundView as Ct, languageLabels as wt, loadEntities as Tt, mwnfLinks as K, offeredLanguages as Et, renderBlock as Dt, renderInline as q, renderPlain as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as J, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as Pt, withEraWords as Ft, yearBuckets as Y, yearBucketsFromRange as It } from "@museumwnf/viewer-core";
16
- import { RouterLink as X, useRoute as Z, useRouter as Lt } from "vue-router";
17
- import { romanFor as Rt } from "@museumwnf/viewer-core/dxa";
1
+ import { I18nText as e, LEGACY_SITES as t, NotFoundView as n, languageLabels as r, loadEntities as i, mwnfLinks as a, offeredLanguages as o, renderBlock as s, renderInline as c, renderPlain as l, sectionMeta as u, useDataPackage as d, useFacets as f, useI18n as p, useKeywordIndex as m, useSection as h, useSiteConfig as g, withEraWords as _, yearBuckets as v, yearBucketsFromRange as y } from "@museumwnf/viewer-core";
2
+ import { Fragment as b, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as E, createTextVNode as D, createVNode as O, normalizeClass as k, normalizeStyle as A, onBeforeUnmount as j, onMounted as M, openBlock as N, reactive as ee, ref as P, renderList as F, renderSlot as te, resolveDynamicComponent as ne, toDisplayString as I, unref as L, vModelCheckbox as re, vModelSelect as ie, vModelText as ae, vShow as oe, watch as se, watchEffect as ce, withCtx as R, withDirectives as z, withModifiers as le } from "vue";
3
+ import { s as B } from "./OnDisplayIn-BH3Bqope.js";
4
+ import { c as ue, d as V, t as de } from "./PartnerMap-DdyMLtgH.js";
5
+ import { a as H, i as fe, n as pe } from "./TimelineEventList-CIkKxyQu.js";
6
+ import { t as me } from "./RecordView-DAvWufWV.js";
7
+ import { A as he, C as ge, D as _e, E as ve, M as ye, N as be, O as xe, S as Se, T as Ce, _ as we, a as Te, b as Ee, c as De, d as Oe, f as ke, g as Ae, h as je, i as Me, j as Ne, k as Pe, l as Fe, m as Ie, n as Le, o as Re, p as ze, r as Be, s as Ve, t as He, u as Ue, v as We, w as Ge, x as Ke, y as qe } from "./data-CxiuR3R_.js";
8
+ import { A as Je, C as Ye, D as Xe, E as Ze, M as Qe, N as $e, O as et, P as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as U, d as st, f as ct, g as lt, h as ut, i as dt, j as W, k as ft, l as pt, m as G, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt, v as K, w as xt, x as St, y as Ct } from "./data-CD0QmDAc.js";
9
+ import { n as wt, r as q, t as Tt } from "./TimelineResultsView-Bn4rC_Se.js";
10
+ import { RouterLink as J, useRoute as Y, useRouter as Et } from "vue-router";
11
+ import { romanFor as Dt } from "@museumwnf/viewer-core/dxa";
12
+ import { t as Ot } from "./SiteShell-D0u1FGMu.js";
13
+ import { i as kt, n as At, r as jt, t as Mt } from "./chrome-Bv_mLlHM.js";
14
+ import { i as Nt } from "./PageShell-BAtk_qcb.js";
15
+ import { n as Pt, t as Ft } from "./LegacyItemSheet-DKgLfAz_.js";
16
+ import { n as It, r as X } from "./Theme-BUfsZDdm.js";
17
+ import { n as Lt, r as Rt, t as zt } from "./themeSpecs-C0tSNkSd.js";
18
18
  // src/dxa/PartnerDetail.vue
19
- var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profile-map-label" }, Vt = {
19
+ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profile-map-label" }, Ht = {
20
20
  key: 1,
21
21
  class: "mwnf-dxa-profile-no-map"
22
- }, Ht = {
22
+ }, Ut = {
23
23
  __name: "PartnerDetail",
24
24
  props: {
25
25
  id: {
@@ -35,62 +35,62 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
35
35
  default: "partner"
36
36
  }
37
37
  },
38
- setup(i) {
39
- let a = i, { t: c } = J(), l = A(() => a.family.labels?.[a.variant] ?? a.family.labels?.partner ?? {});
40
- function u(e) {
41
- let t = l.value.objects;
38
+ setup(e) {
39
+ let t = e, { t: r } = p(), i = x(() => t.family.labels?.[t.variant] ?? t.family.labels?.partner ?? {});
40
+ function a(e) {
41
+ let t = i.value.objects;
42
42
  return (typeof t == "function" ? t(e) : t) ?? "partner.action.viewObjects";
43
43
  }
44
- return (a, d) => i.family.visible(i.id) ? (R(), j(s, {
44
+ return (t, o) => e.family.visible(e.id) ? (N(), S(me, {
45
45
  key: 0,
46
- spec: i.family.spec,
47
- id: i.id,
48
- class: L(["mwnf-dxa-partner-profile", i.family.className])
46
+ spec: e.family.spec,
47
+ id: e.id,
48
+ class: k(["mwnf-dxa-partner-profile", e.family.className])
49
49
  }, {
50
- header: U(({ languages: n, language: r, select: a }) => [P("div", zt, [I(t, {
51
- languages: n,
52
- language: r,
53
- from: i.family.legacyMap ? 1 : 2,
54
- onSelect: a
50
+ header: R(({ languages: t, language: n, select: r }) => [T("div", Bt, [O(ue, {
51
+ languages: t,
52
+ language: n,
53
+ from: e.family.legacyMap ? 1 : 2,
54
+ onSelect: r
55
55
  }, null, 8, [
56
56
  "languages",
57
57
  "language",
58
58
  "from",
59
59
  "onSelect"
60
- ])]), I(e)]),
61
- "before-sheet": U(({ record: e, text: t, dir: a }) => [I(o, {
60
+ ])]), O(B)]),
61
+ "before-sheet": R(({ record: t, text: n, dir: o }) => [O(pe, {
62
62
  variant: "full",
63
- partner: i.family.view(e, t),
63
+ partner: e.family.view(t, n),
64
64
  heading: 1,
65
- "homepage-label": l.value.homepage ?? "partner.nav.homepage",
66
- media: i.family.media ?? {},
67
- show: i.family.legacyMap ? { map: !1 } : {},
68
- dir: a
69
- }, ct({
70
- actions: U(({ partner: t }) => [t.objectsRoute ? (R(), j(n, {
65
+ "homepage-label": i.value.homepage ?? "partner.nav.homepage",
66
+ media: e.family.media ?? {},
67
+ show: e.family.legacyMap ? { map: !1 } : {},
68
+ dir: o
69
+ }, E({
70
+ actions: R(({ partner: e }) => [e.objectsRoute ? (N(), S(V, {
71
71
  key: 0,
72
72
  class: "mwnf-button",
73
- to: t.objectsRoute
73
+ to: e.objectsRoute
74
74
  }, {
75
- default: U(() => [F(V(H(c)(u(e))), 1)]),
75
+ default: R(() => [D(I(L(r)(a(t))), 1)]),
76
76
  _: 2
77
- }, 1032, ["to"])) : M("", !0)]),
77
+ }, 1032, ["to"])) : C("", !0)]),
78
78
  _: 2
79
- }, [i.family.legacyMap ? {
79
+ }, [e.family.legacyMap ? {
80
80
  name: "after",
81
- fn: U(({ partner: e }) => [e.map ? (R(), N(k, { key: 0 }, [P("p", Bt, V(H(c)(i.family.legacyMap.label)), 1), I(r, {
81
+ fn: R(({ partner: t }) => [t.map ? (N(), w(b, { key: 0 }, [T("p", Vt, I(L(r)(e.family.legacyMap.label)), 1), O(de, {
82
82
  class: "mwnf-dxa-profile-map",
83
83
  provider: "google",
84
- latitude: e.map.latitude,
85
- longitude: e.map.longitude,
86
- zoom: e.map.zoom,
87
- label: e.map.label
84
+ latitude: t.map.latitude,
85
+ longitude: t.map.longitude,
86
+ zoom: t.map.zoom,
87
+ label: t.map.label
88
88
  }, null, 8, [
89
89
  "latitude",
90
90
  "longitude",
91
91
  "zoom",
92
92
  "label"
93
- ])], 64)) : (R(), N("p", Vt))]),
93
+ ])], 64)) : (N(), w("p", Ht))]),
94
94
  key: "0"
95
95
  } : void 0]), 1032, [
96
96
  "partner",
@@ -104,9 +104,9 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
104
104
  "spec",
105
105
  "id",
106
106
  "class"
107
- ])) : (R(), j(H(Ct), { key: 1 }));
107
+ ])) : (N(), S(L(n), { key: 1 }));
108
108
  }
109
- }, Ut = {
109
+ }, Wt = {
110
110
  __name: "TextPage",
111
111
  props: {
112
112
  body: {
@@ -128,57 +128,57 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
128
128
  }
129
129
  },
130
130
  setup(t) {
131
- return (n, r) => (R(), N("div", { class: L(["mwnf-dxa-gallery-text", `mwnf-dxa-gallery-text--${t.kind}`]) }, [I(e, { to: t.back }, null, 8, ["to"]), I(H(G), {
131
+ return (n, r) => (N(), w("div", { class: k(["mwnf-dxa-gallery-text", `mwnf-dxa-gallery-text--${t.kind}`]) }, [O(B, { to: t.back }, null, 8, ["to"]), O(L(e), {
132
132
  class: "mwnf-dxa-gallery-text__body",
133
133
  dir: "auto",
134
134
  keypath: t.body,
135
135
  "blank-lines": ""
136
136
  }, null, 8, ["keypath"])], 2));
137
137
  }
138
- }, Wt = {
138
+ }, Gt = {
139
139
  __name: "About",
140
140
  setup(e) {
141
- return (e, t) => (R(), j(Ut, {
141
+ return (e, t) => (N(), S(Wt, {
142
142
  kind: "about",
143
143
  body: "gallery.about.body"
144
144
  }));
145
145
  }
146
- }, Gt = {
146
+ }, Kt = {
147
147
  __name: "Credits",
148
148
  props: { bodyKey: {
149
149
  type: String,
150
150
  required: !0
151
151
  } },
152
152
  setup(e) {
153
- return (t, n) => (R(), j(Ut, {
153
+ return (t, n) => (N(), S(Wt, {
154
154
  kind: "credits",
155
155
  body: e.bodyKey
156
156
  }, null, 8, ["body"]));
157
157
  }
158
- }, Kt = { class: "mwnf-dxa-exhibition-credits" }, qt = {
158
+ }, qt = { class: "mwnf-dxa-exhibition-credits" }, Jt = {
159
159
  __name: "Credits",
160
160
  props: { bodyKey: {
161
161
  type: String,
162
162
  required: !0
163
163
  } },
164
164
  setup(t) {
165
- return (n, r) => (R(), N("div", Kt, [I(e), I(H(G), {
165
+ return (n, r) => (N(), w("div", qt, [O(B), O(L(e), {
166
166
  class: "mwnf-dxa-exhibition-credits__body",
167
167
  dir: "auto",
168
168
  keypath: t.bodyKey,
169
169
  "blank-lines": ""
170
170
  }, null, 8, ["keypath"])]));
171
171
  }
172
- }, Jt = {
172
+ }, Yt = {
173
173
  __name: "SearchHowTo",
174
174
  setup(e) {
175
- return (e, t) => (R(), j(Ut, {
175
+ return (e, t) => (N(), S(Wt, {
176
176
  kind: "how-to",
177
177
  body: "catalogue.search.howToEssay",
178
178
  back: { name: "collection" }
179
179
  }));
180
180
  }
181
- }, Yt = {
181
+ }, Xt = {
182
182
  DGA: "dga",
183
183
  ISL: "isl",
184
184
  EPM: "isl",
@@ -186,33 +186,33 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
186
186
  BAR: "dba",
187
187
  GALLERIES: "galleries",
188
188
  DCA: "dca"
189
- }, Xt = {
189
+ }, Zt = {
190
190
  partner: "gallery.partners.statusPartner",
191
191
  affiliate: "gallery.partners.statusAffiliate"
192
192
  };
193
- function Zt(e, t = Xt) {
193
+ function Qt(e, t = Zt) {
194
194
  let n = e?.own_project;
195
195
  if (!n?.name) return null;
196
- let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Yt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
196
+ let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Xt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
197
197
  return {
198
198
  name: n.name,
199
199
  status: a ? t.partner : t.affiliate,
200
200
  tone: i
201
201
  };
202
202
  }
203
- var Qt = {
203
+ var $t = {
204
204
  partner: "exhibition.partners.statusPartner",
205
205
  associated_partner: "exhibition.partners.statusAssociated",
206
206
  minor_contributor: "exhibition.partners.statusFurtherAssociated"
207
- }, $t = "mwnf3:institutions:";
208
- function en(e) {
207
+ }, en = "mwnf3:institutions:";
208
+ function Z(e) {
209
209
  let t = e?.own_project;
210
210
  if (!t?.name) return null;
211
- let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith($t) ? e.level : t.level;
211
+ let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(en) ? e.level : t.level;
212
212
  return {
213
213
  name: t.name,
214
- status: t.exhibition ? Qt.partner : Qt[r] ?? null,
215
- tone: t.exhibition ? "exh" : Yt[n] ?? ""
214
+ status: t.exhibition ? $t.partner : $t[r] ?? null,
215
+ tone: t.exhibition ? "exh" : Xt[n] ?? ""
216
216
  };
217
217
  }
218
218
  // src/dxa/gallery/Partners.vue
@@ -222,51 +222,51 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
222
222
  }, dn = { class: "mwnf-dxa-partner-badge__status" }, fn = { class: "mwnf-dxa-gallery-partners__links" }, pn = { class: "mwnf-dxa-gallery-partners__logo" }, mn = ["src", "alt"], hn = {
223
223
  __name: "Partners",
224
224
  setup(t) {
225
- let r = {
226
- ...l,
227
- objectsRoute: g,
225
+ let n = {
226
+ ...ge,
227
+ objectsRoute: Ce,
228
228
  orderToggle: !1,
229
229
  tiebreak: (e) => e.own_project?.name ?? ""
230
230
  };
231
- return (t, i) => (R(), N("div", tn, [I(Je, { spec: r }, {
232
- before: U(({ t, orderDir: n, toggleOrder: r }) => [P("div", nn, [I(e), P("div", rn, [P("button", {
231
+ return (t, r) => (N(), w("div", tn, [O(wt, { spec: n }, {
232
+ before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", nn, [O(B), T("div", rn, [T("button", {
233
233
  type: "button",
234
234
  onClick: r
235
- }, V(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, an)])]), I(H(G), {
235
+ }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, an)])]), O(L(e), {
236
236
  id: "mwnf-dxa-partners-intro",
237
237
  class: "mwnf-dxa-gallery-partners__intro",
238
238
  dir: "auto",
239
239
  keypath: "gallery.partners.intro"
240
240
  })]),
241
- "group-heading": U(({ group: e }) => [P("div", on, V(e.label), 1)]),
242
- row: U(({ partner: e, view: t, t: r }) => [P("div", sn, [P("div", cn, [
243
- I(n, {
241
+ "group-heading": R(({ group: e }) => [T("div", on, I(e.label), 1)]),
242
+ row: R(({ partner: e, view: t, t: n }) => [T("div", sn, [T("div", cn, [
243
+ O(V, {
244
244
  class: "mwnf-dxa-gallery-partners__name",
245
245
  to: t.route
246
246
  }, {
247
- default: U(() => [P("span", { innerHTML: t.name }, null, 8, ln), t.city ? (R(), N("span", un, ", " + V(t.city), 1)) : M("", !0)]),
247
+ default: R(() => [T("span", { innerHTML: t.name }, null, 8, ln), t.city ? (N(), w("span", un, ", " + I(t.city), 1)) : C("", !0)]),
248
248
  _: 2
249
249
  }, 1032, ["to"]),
250
- H(Zt)(e) ? (R(), N("div", {
250
+ L(Qt)(e) ? (N(), w("div", {
251
251
  key: 0,
252
- class: L(["mwnf-dxa-partner-badge", H(Zt)(e).tone && `mwnf-dxa-partner-badge--${H(Zt)(e).tone}`])
253
- }, [F(V(H(Zt)(e).name) + " ", 1), P("span", dn, V(r(H(Zt)(e).status)), 1)], 2)) : M("", !0),
254
- P("div", fn, [I(n, { to: t.route }, {
255
- default: U(() => [F(V(r("partner.action.readMore")), 1)]),
252
+ class: k(["mwnf-dxa-partner-badge", L(Qt)(e).tone && `mwnf-dxa-partner-badge--${L(Qt)(e).tone}`])
253
+ }, [D(I(L(Qt)(e).name) + " ", 1), T("span", dn, I(n(L(Qt)(e).status)), 1)], 2)) : C("", !0),
254
+ T("div", fn, [O(V, { to: t.route }, {
255
+ default: R(() => [D(I(n("partner.action.readMore")), 1)]),
256
256
  _: 2
257
- }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (R(), N(k, { key: 0 }, [i[0] ||= P("span", {
257
+ }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (N(), w(b, { key: 0 }, [r[0] ||= T("span", {
258
258
  class: "mwnf-dxa-gallery-partners__divider",
259
259
  "aria-hidden": "true"
260
- }, "|", -1), I(n, { to: t.objectsRoute }, {
261
- default: U(() => [F(V(r("partner.action.viewObjects")), 1)]),
260
+ }, "|", -1), O(V, { to: t.objectsRoute }, {
261
+ default: R(() => [D(I(n("partner.action.viewObjects")), 1)]),
262
262
  _: 2
263
- }, 1032, ["to"])], 64)) : M("", !0)])
264
- ]), P("div", pn, [t.logos?.[0] ? (R(), N("img", {
263
+ }, 1032, ["to"])], 64)) : C("", !0)])
264
+ ]), T("div", pn, [t.logos?.[0] ? (N(), w("img", {
265
265
  key: 0,
266
266
  src: t.logos[0].url,
267
267
  alt: t.plainName,
268
268
  loading: "lazy"
269
- }, null, 8, mn)) : M("", !0)])])]),
269
+ }, null, 8, mn)) : C("", !0)])])]),
270
270
  _: 1
271
271
  })]));
272
272
  }
@@ -288,7 +288,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
288
288
  },
289
289
  emits: ["navigate"],
290
290
  setup(e, { emit: t }) {
291
- let n = e, r = t, { t: i } = J(), a = A(() => `mwnf-dxa-${n.family}-pages`), o = (e) => i(`${n.family}.pages.${e}`), s = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(`(max-width: ${e}px)`).matches, c = s(499), [l, u, d] = s(599) ? [
291
+ let n = e, r = t, { t: i } = p(), a = x(() => `mwnf-dxa-${n.family}-pages`), o = (e) => i(`${n.family}.pages.${e}`), s = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(`(max-width: ${e}px)`).matches, c = s(499), [l, u, d] = s(599) ? [
292
292
  3,
293
293
  2,
294
294
  5
@@ -304,56 +304,56 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
304
304
  8,
305
305
  7,
306
306
  15
307
- ], f = A(() => n.pageInfo?.currentPage ?? 1), p = A(() => n.pageInfo?.lastPage ?? 1), m = A(() => {
308
- let e = 1, t = p.value;
309
- if (p.value > d) {
307
+ ], f = x(() => n.pageInfo?.currentPage ?? 1), m = x(() => n.pageInfo?.lastPage ?? 1), h = x(() => {
308
+ let e = 1, t = m.value;
309
+ if (m.value > d) {
310
310
  let n = f.value;
311
- n > l && (e = n - u), n + u < p.value ? t = e <= u && n <= u ? d : n + u : (e = p.value - (d - 1), t = p.value);
311
+ n > l && (e = n - u), n + u < m.value ? t = e <= u && n <= u ? d : n + u : (e = m.value - (d - 1), t = m.value);
312
312
  }
313
313
  let n = [];
314
314
  for (let r = e; r <= t; r++) n.push(r);
315
315
  return n;
316
- }), h = (e) => e < 1 || e > p.value || e === f.value;
317
- function g(e) {
318
- h(e) || r("navigate", e);
316
+ }), g = (e) => e < 1 || e > m.value || e === f.value;
317
+ function _(e) {
318
+ g(e) || r("navigate", e);
319
319
  }
320
- return (e, t) => p.value > 1 ? (R(), N("div", {
320
+ return (e, t) => m.value > 1 ? (N(), w("div", {
321
321
  key: 0,
322
- class: L(a.value)
322
+ class: k(a.value)
323
323
  }, [
324
- P("button", {
324
+ T("button", {
325
325
  type: "button",
326
- class: L([`${a.value}__button`, { "is-disabled": h(1) }]),
327
- disabled: h(1),
328
- onClick: t[0] ||= (e) => g(1)
329
- }, [t[4] ||= F(" <<", -1), H(c) ? M("", !0) : (R(), N("span", _n, V(" " + o("first")), 1))], 10, gn),
330
- P("button", {
326
+ class: k([`${a.value}__button`, { "is-disabled": g(1) }]),
327
+ disabled: g(1),
328
+ onClick: t[0] ||= (e) => _(1)
329
+ }, [t[4] ||= D(" <<", -1), L(c) ? C("", !0) : (N(), w("span", _n, I(" " + o("first")), 1))], 10, gn),
330
+ T("button", {
331
331
  type: "button",
332
- class: L([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
333
- disabled: h(f.value - 1),
334
- onClick: t[1] ||= (e) => g(f.value - 1)
335
- }, [t[5] ||= F(" <", -1), H(c) ? M("", !0) : (R(), N("span", yn, V(" " + o("previous")), 1))], 10, vn),
336
- P("div", { class: L(`${a.value}__numbers`) }, [(R(!0), N(k, null, B(m.value, (e) => (R(), N("button", {
332
+ class: k([`${a.value}__button`, { "is-disabled": g(f.value - 1) }]),
333
+ disabled: g(f.value - 1),
334
+ onClick: t[1] ||= (e) => _(f.value - 1)
335
+ }, [t[5] ||= D(" <", -1), L(c) ? C("", !0) : (N(), w("span", yn, I(" " + o("previous")), 1))], 10, vn),
336
+ T("div", { class: k(`${a.value}__numbers`) }, [(N(!0), w(b, null, F(h.value, (e) => (N(), w("button", {
337
337
  key: e,
338
338
  type: "button",
339
- class: L([`${a.value}__button`, { "is-disabled": h(e) }]),
340
- disabled: h(e),
339
+ class: k([`${a.value}__button`, { "is-disabled": g(e) }]),
340
+ disabled: g(e),
341
341
  "aria-current": e === f.value ? "page" : void 0,
342
- onClick: (t) => g(e)
343
- }, V(e), 11, bn))), 128))], 2),
344
- P("button", {
342
+ onClick: (t) => _(e)
343
+ }, I(e), 11, bn))), 128))], 2),
344
+ T("button", {
345
345
  type: "button",
346
- class: L([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
347
- disabled: h(f.value + 1),
348
- onClick: t[2] ||= (e) => g(f.value + 1)
349
- }, [H(c) ? M("", !0) : (R(), N("span", Sn, V(o("next") + " "), 1)), t[6] ||= F("> ", -1)], 10, xn),
350
- P("button", {
346
+ class: k([`${a.value}__button`, { "is-disabled": g(f.value + 1) }]),
347
+ disabled: g(f.value + 1),
348
+ onClick: t[2] ||= (e) => _(f.value + 1)
349
+ }, [L(c) ? C("", !0) : (N(), w("span", Sn, I(o("next") + " "), 1)), t[6] ||= D("> ", -1)], 10, xn),
350
+ T("button", {
351
351
  type: "button",
352
- class: L([`${a.value}__button`, { "is-disabled": h(p.value) }]),
353
- disabled: h(p.value),
354
- onClick: t[3] ||= (e) => g(p.value)
355
- }, [H(c) ? M("", !0) : (R(), N("span", wn, V(o("last") + " "), 1)), t[7] ||= F(">> ", -1)], 10, Cn)
356
- ], 2)) : M("", !0);
352
+ class: k([`${a.value}__button`, { "is-disabled": g(m.value) }]),
353
+ disabled: g(m.value),
354
+ onClick: t[3] ||= (e) => _(m.value)
355
+ }, [L(c) ? C("", !0) : (N(), w("span", wn, I(o("last") + " "), 1)), t[7] ||= D(">> ", -1)], 10, Cn)
356
+ ], 2)) : C("", !0);
357
357
  }
358
358
  }, Tn = ["onMouseenter"], En = { class: "mwnf-dxa-grid__frame" }, Dn = ["src", "alt"], On = ["src", "alt"], kn = { class: "mwnf-dxa-grid__text" }, An = ["innerHTML"], jn = { class: "mwnf-dxa-grid__date" }, Mn = { class: "mwnf-dxa-grid__partner" }, Nn = { class: "mwnf-dxa-grid__place" }, Pn = {
359
359
  key: 0,
@@ -371,42 +371,42 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
371
371
  }
372
372
  },
373
373
  setup(e) {
374
- let { t } = J(), r = z(-1);
375
- return (i, a) => (R(), N("div", { class: L(["mwnf-dxa-grid", { "mwnf-dxa-grid--exhibition": e.family === "exhibition" }]) }, [(R(!0), N(k, null, B(e.rows, (i, o) => (R(), N("div", {
376
- key: i.id,
374
+ let { t } = p(), n = P(-1);
375
+ return (r, i) => (N(), w("div", { class: k(["mwnf-dxa-grid", { "mwnf-dxa-grid--exhibition": e.family === "exhibition" }]) }, [(N(!0), w(b, null, F(e.rows, (r, a) => (N(), w("div", {
376
+ key: r.id,
377
377
  class: "mwnf-dxa-grid__entry",
378
- onMouseenter: (e) => r.value = o,
379
- onMouseleave: a[0] ||= (e) => r.value = -1
380
- }, [P("div", En, [P("img", {
378
+ onMouseenter: (e) => n.value = a,
379
+ onMouseleave: i[0] ||= (e) => n.value = -1
380
+ }, [T("div", En, [T("img", {
381
381
  class: "mwnf-dxa-grid__image",
382
- src: i.image,
383
- alt: i.imageAlt,
382
+ src: r.image,
383
+ alt: r.imageAlt,
384
384
  loading: "lazy"
385
- }, null, 8, Dn)]), P("div", { class: L(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [I(n, {
385
+ }, null, 8, Dn)]), T("div", { class: k(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": n.value === a }]) }, [O(V, {
386
386
  class: "mwnf-dxa-grid__card-image",
387
- to: i.to,
387
+ to: r.to,
388
388
  tabindex: "-1"
389
389
  }, {
390
- default: U(() => [P("img", {
391
- src: i.image,
392
- alt: i.imageAlt,
390
+ default: R(() => [T("img", {
391
+ src: r.image,
392
+ alt: r.imageAlt,
393
393
  loading: "lazy"
394
394
  }, null, 8, On)]),
395
395
  _: 2
396
- }, 1032, ["to"]), P("div", kn, [
397
- P("p", {
396
+ }, 1032, ["to"]), T("div", kn, [
397
+ T("p", {
398
398
  class: "mwnf-dxa-grid__name",
399
- innerHTML: i.name
399
+ innerHTML: r.name
400
400
  }, null, 8, An),
401
- P("p", jn, V(i.date), 1),
402
- P("p", Mn, V(i.partner), 1),
403
- P("p", Nn, V(i.place), 1),
404
- e.family !== "exhibition" || i.project ? (R(), N("p", Pn, [F(V(e.family === "exhibition" ? H(t)("exhibition.results.for") : H(t)("gallery.results.for")) + " ", 1), P("span", null, V(i.project), 1)])) : M("", !0),
405
- I(n, {
401
+ T("p", jn, I(r.date), 1),
402
+ T("p", Mn, I(r.partner), 1),
403
+ T("p", Nn, I(r.place), 1),
404
+ e.family !== "exhibition" || r.project ? (N(), w("p", Pn, [D(I(e.family === "exhibition" ? L(t)("exhibition.results.for") : L(t)("gallery.results.for")) + " ", 1), T("span", null, I(r.project), 1)])) : C("", !0),
405
+ O(V, {
406
406
  class: "mwnf-dxa-grid__link",
407
- to: i.to
407
+ to: r.to
408
408
  }, {
409
- default: U(() => [F(V(H(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
409
+ default: R(() => [D(I(L(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
410
410
  _: 1
411
411
  }, 8, ["to"])
412
412
  ])], 2)], 40, Tn))), 128))], 2));
@@ -419,76 +419,76 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
419
419
  class: "mwnf-dxa-no-results"
420
420
  }, Bn = {
421
421
  __name: "SearchResults",
422
- setup(t) {
423
- let n = Mt("items", {
422
+ setup(e) {
423
+ let t = m("items", {
424
424
  grammar: "boolean",
425
- haystack: b
426
- }), r = z(!1);
427
- ve().then(() => {
428
- r.value = !0;
425
+ haystack: ke
426
+ }), n = P(!1);
427
+ qe().then(() => {
428
+ n.value = !0;
429
429
  });
430
- function i(e) {
430
+ function r(e) {
431
431
  return !e || e === "all-objects";
432
432
  }
433
- let a = z(""), o = A(() => ({
433
+ let i = P(""), a = x(() => ({
434
434
  entity: "items",
435
435
  keys: ["q"],
436
436
  sort: !1,
437
- narrow: (e, t) => r.value ? i(t.q) ? e : n.search(t.q) : [],
438
- pageSize: he.pageSize,
437
+ narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
438
+ pageSize: We.pageSize,
439
439
  variant: "grid",
440
440
  recordRoute: "item",
441
441
  actionLabel: "catalogue.results.seeDatabaseEntry",
442
- record: (e, { t }) => ae(e, t),
443
- summary: ({ filters: e, pageInfo: t, t: n, total: r }) => [{
442
+ record: (e, { t }) => Pe(e, t),
443
+ summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
444
444
  label: n("core.section.database"),
445
- value: i(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
445
+ value: r(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
446
446
  }, {
447
447
  count: t.total,
448
- value: `${n("catalogue.results.outOf")} ${r} ${n("catalogue.results.objects")}`
448
+ value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
449
449
  }]
450
450
  }));
451
- return (t, n) => (R(), j(D, {
452
- spec: o.value,
451
+ return (e, t) => (N(), S(q, {
452
+ spec: a.value,
453
453
  class: "mwnf-dxa-search-results"
454
454
  }, {
455
- before: U(() => [I(e)]),
456
- filters: U(({ apply: e }) => [P("form", {
455
+ before: R(() => [O(B)]),
456
+ filters: R(({ apply: n }) => [T("form", {
457
457
  class: "mwnf-dxa-refine-search",
458
- onSubmit: xt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
459
- }, [W(P("input", {
460
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
458
+ onSubmit: le((e) => n({ q: i.value || "all-objects" }), ["prevent"])
459
+ }, [z(T("input", {
460
+ "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
461
461
  type: "text",
462
462
  class: "mwnf-dxa-refine-search-input",
463
- placeholder: t.$t("catalogue.search.keywordPlaceholder")
464
- }, null, 8, In), [[_t, a.value]]), P("button", Ln, V(t.$t("catalogue.search.submit")), 1)], 40, Fn), P("p", Rn, [I(H(X), { to: { name: "search-how-to" } }, {
465
- default: U(() => [F(V(t.$t("catalogue.search.howTo")) + " ›", 1)]),
463
+ placeholder: e.$t("catalogue.search.keywordPlaceholder")
464
+ }, null, 8, In), [[ae, i.value]]), T("button", Ln, I(e.$t("catalogue.search.submit")), 1)], 40, Fn), T("p", Rn, [O(L(J), { to: { name: "search-how-to" } }, {
465
+ default: R(() => [D(I(e.$t("catalogue.search.howTo")) + " ›", 1)]),
466
466
  _: 1
467
467
  })])]),
468
- actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
468
+ actions: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
469
469
  family: "gallery",
470
470
  class: "mwnf-dxa-gallery-pages--top",
471
471
  "page-info": e,
472
472
  onNavigate: t
473
473
  }, null, 8, ["page-info", "onNavigate"])]),
474
- pagination: U(() => [...n[1] ||= []]),
475
- after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
474
+ pagination: R(() => [...t[1] ||= []]),
475
+ after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
476
476
  family: "gallery",
477
477
  "page-info": e,
478
478
  onNavigate: t
479
479
  }, null, 8, ["page-info", "onNavigate"])]),
480
- records: U(({ rows: e }) => [e.length ? (R(), j($, {
480
+ records: R(({ rows: n }) => [n.length ? (N(), S($, {
481
481
  key: 0,
482
- rows: e
483
- }, null, 8, ["rows"])) : (R(), N("p", zn, [
484
- F(V(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
485
- I(H(X), { to: { name: "search-how-to" } }, {
486
- default: U(() => [F(V(t.$t("catalogue.search.howTo")), 1)]),
482
+ rows: n
483
+ }, null, 8, ["rows"])) : (N(), w("p", zn, [
484
+ D(I(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
485
+ O(L(J), { to: { name: "search-how-to" } }, {
486
+ default: R(() => [D(I(e.$t("catalogue.search.howTo")), 1)]),
487
487
  _: 1
488
488
  }),
489
- n[2] ||= P("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
490
- I(H(X), { to: { name: "collection" } }, {
491
- default: U(() => [F(V(t.$t("core.section.collection")), 1)]),
489
+ t[2] ||= T("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
490
+ O(L(J), { to: { name: "collection" } }, {
491
+ default: R(() => [D(I(e.$t("core.section.collection")), 1)]),
492
492
  _: 1
493
493
  })
494
494
  ]))]),
@@ -497,12 +497,12 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
497
497
  }
498
498
  }, Vn = {
499
499
  __name: "TimelineResults",
500
- setup(t) {
501
- return (t, n) => (R(), j(Ye, {
502
- spec: H(ie),
500
+ setup(e) {
501
+ return (e, t) => (N(), S(Tt, {
502
+ spec: L(Ne),
503
503
  class: "mwnf-dxa-timeline-results"
504
504
  }, {
505
- before: U(() => [I(e)]),
505
+ before: R(() => [O(B)]),
506
506
  _: 1
507
507
  }, 8, ["spec"]));
508
508
  }
@@ -511,37 +511,37 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
511
511
  class: "mwnf-record-grid__empty"
512
512
  }, Wn = {
513
513
  __name: "TimelineGallery",
514
- setup(t) {
515
- return (t, n) => (R(), j(D, {
514
+ setup(e) {
515
+ return (e, t) => (N(), S(q, {
516
516
  spec: {
517
- ...H(c),
518
- ...H(he)
517
+ ...L(he),
518
+ ...L(We)
519
519
  },
520
520
  class: "mwnf-dxa-timeline-gallery"
521
521
  }, {
522
- before: U(() => [I(e)]),
523
- actions: U(({ filters: e, pageInfo: n, goToPage: r }) => [P("p", Hn, [I(H(X), { to: {
522
+ before: R(() => [O(B)]),
523
+ actions: R(({ filters: t, pageInfo: n, goToPage: r }) => [T("p", Hn, [O(L(J), { to: {
524
524
  name: "timeline-results",
525
525
  query: {
526
- country: e.country,
527
- begin: e.begin,
528
- end: e.end
526
+ country: t.country,
527
+ begin: t.begin,
528
+ end: t.end
529
529
  }
530
530
  } }, {
531
- default: U(() => [F(" ➤ " + V(t.$t("timeline.nav.backToEvents")), 1)]),
531
+ default: R(() => [D(" ➤ " + I(e.$t("timeline.nav.backToEvents")), 1)]),
532
532
  _: 1
533
- }, 8, ["to"])]), I(Q, {
533
+ }, 8, ["to"])]), O(Q, {
534
534
  family: "gallery",
535
535
  class: "mwnf-dxa-gallery-pages--top",
536
536
  "page-info": n,
537
537
  onNavigate: r
538
538
  }, null, 8, ["page-info", "onNavigate"])]),
539
- records: U(({ rows: e, empty: t }) => [e.length ? (R(), j($, {
539
+ records: R(({ rows: e, empty: t }) => [e.length ? (N(), S($, {
540
540
  key: 0,
541
541
  rows: e
542
- }, null, 8, ["rows"])) : (R(), N("p", Un, V(t), 1))]),
543
- pagination: U(() => [...n[0] ||= []]),
544
- after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
542
+ }, null, 8, ["rows"])) : (N(), w("p", Un, I(t), 1))]),
543
+ pagination: R(() => [...t[0] ||= []]),
544
+ after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
545
545
  family: "gallery",
546
546
  "page-info": e,
547
547
  onNavigate: t
@@ -558,64 +558,64 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
558
558
  }, Zn = { class: "mwnf-dxa-options-label" }, Qn = { class: "mwnf-dxa-gallery-results__timeline" }, $n = {
559
559
  __name: "CollectionResults",
560
560
  setup(t) {
561
- let { t: n } = J(), r = {
561
+ let { t: n } = p(), r = {
562
562
  type: "gallery.collection.type",
563
563
  dynasty: "gallery.collection.periodDynasty",
564
564
  subject: "gallery.collection.subject",
565
565
  material: "gallery.collection.material"
566
- }, o = (e) => n(ce[e] ?? e), s = A(() => Y(x.value ?? [], o)), c = A(() => (x.value ?? []).length), l = v.keys, u = (e) => l.every((t) => !e[t]);
567
- function d(e, t, r) {
568
- let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => s.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
569
- e.country && o.push(i("country"));
570
- for (let t of de) e[t] && o.push(i(t));
571
- return e.from && o.push(`${n("gallery.collection.start")} ${a(e.from)}`), e.to && o.push(`${n("gallery.collection.end")} ${a(e.to)}`), o.length ? o.join(" & ") : r.length ? n("gallery.collection.allObjects") : n("gallery.collection.none");
566
+ }, i = (e) => n(Le[e] ?? e), a = x(() => v(Ae.value ?? [], i)), o = x(() => (Ae.value ?? []).length), s = Te.keys, c = (e) => s.every((t) => !e[t]);
567
+ function l(e, t, r) {
568
+ let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], o = (e) => a.value.find((t) => String(t.value) === String(e))?.label ?? e, s = [];
569
+ e.country && s.push(i("country"));
570
+ for (let t of Be) e[t] && s.push(i(t));
571
+ return e.from && s.push(`${n("gallery.collection.start")} ${o(e.from)}`), e.to && s.push(`${n("gallery.collection.end")} ${o(e.to)}`), s.length ? s.join(" & ") : r.length ? n("gallery.collection.allObjects") : n("gallery.collection.none");
572
572
  }
573
- let p = A(() => new Set((f.value ?? []).map((e) => e.country_id)));
574
- function m(e) {
575
- let t = le(e.country);
576
- return !!(t && p.value.has(t));
573
+ let u = x(() => new Set((ye.value ?? []).map((e) => e.country_id)));
574
+ function d(e) {
575
+ let t = Re(e.country);
576
+ return !!(t && u.value.has(t));
577
577
  }
578
- return (t, s) => (R(), N("div", Gn, [I(D, {
578
+ return (t, a) => (N(), w("div", Gn, [O(q, {
579
579
  spec: {
580
- ...H(v),
581
- ...H(he),
580
+ ...L(Te),
581
+ ...L(We),
582
582
  summary: () => []
583
583
  },
584
584
  class: "mwnf-dxa-collection-results"
585
585
  }, {
586
- before: U(({ filters: t, options: r, matching: i, pageInfo: a }) => [I(e), P("div", Kn, [P("p", null, [F(V(H(n)("gallery.collection.heading")) + " | ", 1), P("span", qn, V(d(t, r, i)), 1)]), P("p", null, V(a.total) + " " + V(H(n)("gallery.collection.resultsOutOf")) + " " + V(c.value) + " " + V(H(n)("gallery.collection.objects")), 1)])]),
587
- actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
586
+ before: R(({ filters: e, options: t, matching: r, pageInfo: i }) => [O(B), T("div", Kn, [T("p", null, [D(I(L(n)("gallery.collection.heading")) + " | ", 1), T("span", qn, I(l(e, t, r)), 1)]), T("p", null, I(i.total) + " " + I(L(n)("gallery.collection.resultsOutOf")) + " " + I(o.value) + " " + I(L(n)("gallery.collection.objects")), 1)])]),
587
+ actions: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
588
588
  family: "gallery",
589
589
  class: "mwnf-dxa-gallery-pages--top",
590
590
  "page-info": e,
591
591
  onNavigate: t
592
592
  }, null, 8, ["page-info", "onNavigate"])]),
593
- records: U(({ rows: e }) => [e.length ? (R(), j($, {
593
+ records: R(({ rows: t }) => [t.length ? (N(), S($, {
594
594
  key: 0,
595
- rows: e
596
- }, null, 8, ["rows"])) : (R(), j(H(G), {
595
+ rows: t
596
+ }, null, 8, ["rows"])) : (N(), S(L(e), {
597
597
  key: 1,
598
598
  class: "mwnf-dxa-gallery-results__none",
599
599
  keypath: "gallery.collection.noResults"
600
600
  }))]),
601
- pagination: U(({ pageInfo: e }) => [e.lastPage <= 1 ? (R(), N("div", Jn)) : M("", !0)]),
602
- after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
601
+ pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", Jn)) : C("", !0)]),
602
+ after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
603
603
  family: "gallery",
604
604
  "page-info": e,
605
605
  onNavigate: t
606
606
  }, null, 8, ["page-info", "onNavigate"])]),
607
- aside: U(({ filters: e, apply: t, reset: c, matching: l, options: d }) => [I(a, {
607
+ aside: R(({ filters: e, apply: t, reset: o, matching: s, options: l }) => [O(fe, {
608
608
  mode: "immediate",
609
- title: u(e) ? H(n)("gallery.collection.filterBy") : H(n)("gallery.collection.filterFurtherBy"),
610
- "reset-label": H(n)("gallery.collection.resetFilters"),
611
- disabled: l.length === 0,
612
- onReset: (e) => c()
609
+ title: c(e) ? L(n)("gallery.collection.filterBy") : L(n)("gallery.collection.filterFurtherBy"),
610
+ "reset-label": L(n)("gallery.collection.resetFilters"),
611
+ disabled: s.length === 0,
612
+ onReset: (e) => o()
613
613
  }, {
614
- default: U(() => [
615
- I(i, {
614
+ default: R(() => [
615
+ O(H, {
616
616
  "model-value": e.country,
617
- options: d.country,
618
- placeholder: H(n)("gallery.collection.selectCountry"),
617
+ options: l.country,
618
+ placeholder: L(n)("gallery.collection.selectCountry"),
619
619
  "onUpdate:modelValue": (e) => t({ country: e })
620
620
  }, null, 8, [
621
621
  "model-value",
@@ -623,33 +623,33 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
623
623
  "placeholder",
624
624
  "onUpdate:modelValue"
625
625
  ]),
626
- (R(!0), N(k, null, B(H(de), (a) => (R(), j(i, {
627
- key: a,
628
- "model-value": e[a],
629
- options: d[a],
630
- placeholder: H(n)(r[a]),
626
+ (N(!0), w(b, null, F(L(Be), (i) => (N(), S(H, {
627
+ key: i,
628
+ "model-value": e[i],
629
+ options: l[i],
630
+ placeholder: L(n)(r[i]),
631
631
  "hide-empty": "",
632
- "onUpdate:modelValue": (e) => t({ [a]: e })
632
+ "onUpdate:modelValue": (e) => t({ [i]: e })
633
633
  }, null, 8, [
634
634
  "model-value",
635
635
  "options",
636
636
  "placeholder",
637
637
  "onUpdate:modelValue"
638
638
  ]))), 128)),
639
- P("div", Yn, [I(i, {
639
+ T("div", Yn, [O(H, {
640
640
  "model-value": e.from,
641
- options: H(Y)(l, o),
642
- placeholder: H(n)("gallery.collection.startDate"),
641
+ options: L(v)(s, i),
642
+ placeholder: L(n)("gallery.collection.startDate"),
643
643
  "onUpdate:modelValue": (e) => t({ from: e })
644
644
  }, null, 8, [
645
645
  "model-value",
646
646
  "options",
647
647
  "placeholder",
648
648
  "onUpdate:modelValue"
649
- ]), I(i, {
649
+ ]), O(H, {
650
650
  "model-value": e.to,
651
- options: H(Y)(l, o),
652
- placeholder: H(n)("gallery.collection.endDate"),
651
+ options: L(v)(s, i),
652
+ placeholder: L(n)("gallery.collection.endDate"),
653
653
  "onUpdate:modelValue": (e) => t({ to: e })
654
654
  }, null, 8, [
655
655
  "model-value",
@@ -664,10 +664,10 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
664
664
  "reset-label",
665
665
  "disabled",
666
666
  "onReset"
667
- ]), m(e) ? (R(), N("div", Xn, [P("div", Zn, V(H(n)("gallery.collection.timelineForSearch")), 1), P("p", Qn, [s[0] ||= P("span", {
667
+ ]), d(e) ? (N(), w("div", Xn, [T("div", Zn, I(L(n)("gallery.collection.timelineForSearch")), 1), T("p", Qn, [a[0] ||= T("span", {
668
668
  class: "mwnf-dxa-gallery-results__share",
669
669
  "aria-hidden": "true"
670
- }, "➦", -1), I(H(X), { to: {
670
+ }, "➦", -1), O(L(J), { to: {
671
671
  name: "timeline-results",
672
672
  query: {
673
673
  country: e.country,
@@ -675,9 +675,9 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
675
675
  end: e.to
676
676
  }
677
677
  } }, {
678
- default: U(() => [F(V(H(n)("gallery.collection.timeline")) + " | " + V(H(_)("countries", H(le)(e.country))), 1)]),
678
+ default: R(() => [D(I(L(n)("gallery.collection.timeline")) + " | " + I(L(we)("countries", L(Re)(e.country))), 1)]),
679
679
  _: 2
680
- }, 1032, ["to"])])])) : M("", !0)]),
680
+ }, 1032, ["to"])])])) : C("", !0)]),
681
681
  _: 1
682
682
  }, 8, ["spec"])]));
683
683
  }
@@ -696,46 +696,46 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
696
696
  }, pr = ["value"], mr = ["innerHTML"], hr = {
697
697
  __name: "CollectionSearch",
698
698
  setup(e) {
699
- let t = Lt(), { t: n } = J(), r = A(() => Dt(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = jt(x, pe), a = {
699
+ let t = Et(), { t: n } = p(), r = x(() => s(`${n("gallery.collection.introBeforeName")} *${Oe(De)}* ${n("gallery.collection.introAfterName")}`)), i = f(Ae, He), a = {
700
700
  country: "gallery.collection.selectCountry",
701
701
  type: "gallery.collection.type",
702
702
  dynasty: "gallery.collection.periodDynasty",
703
703
  subject: "gallery.collection.subject",
704
704
  material: "gallery.collection.material"
705
- }, o = A(() => ["country", ...de].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
705
+ }, o = x(() => ["country", ...Be].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
706
706
  key: e,
707
707
  name: a[e],
708
708
  options: i.value[e] ?? []
709
- }))), s = (e) => n(ce[e] ?? e), c = A(() => Y(x.value ?? [], s));
710
- function l(e, n) {
709
+ }))), c = (e) => n(Le[e] ?? e), l = x(() => v(Ae.value ?? [], c));
710
+ function u(e, n) {
711
711
  n !== "" && n != null && t.push({
712
712
  name: "collection-results",
713
713
  query: { [e]: String(n) }
714
714
  });
715
715
  }
716
- return (e, t) => (R(), N("div", er, [P("div", tr, [P("div", nr, V(H(n)("gallery.collection.filterBy")), 1), P("div", rr, [(R(!0), N(k, null, B(o.value, (e) => (R(), N("select", {
716
+ return (e, t) => (N(), w("div", er, [T("div", tr, [T("div", nr, I(L(n)("gallery.collection.filterBy")), 1), T("div", rr, [(N(!0), w(b, null, F(o.value, (e) => (N(), w("select", {
717
717
  key: e.key,
718
718
  class: "mwnf-dxa-gallery-collection__select",
719
- "aria-label": H(n)(e.name),
720
- onChange: (t) => l(e.key, t.target.value)
721
- }, [P("option", ar, V(H(n)(e.name)), 1), (R(!0), N(k, null, B(e.options, (e) => (R(), N("option", {
719
+ "aria-label": L(n)(e.name),
720
+ onChange: (t) => u(e.key, t.target.value)
721
+ }, [T("option", ar, I(L(n)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
722
722
  key: e.value,
723
723
  value: String(e.value)
724
- }, V(e.label), 9, or))), 128))], 40, ir))), 128)), P("div", sr, [P("select", {
724
+ }, I(e.label), 9, or))), 128))], 40, ir))), 128)), T("div", sr, [T("select", {
725
725
  class: "mwnf-dxa-gallery-collection__select",
726
- "aria-label": H(n)("gallery.collection.startDate"),
727
- onChange: t[0] ||= (e) => l("from", e.target.value)
728
- }, [P("option", lr, V(H(n)("gallery.collection.startDate")), 1), (R(!0), N(k, null, B(c.value, (e) => (R(), N("option", {
726
+ "aria-label": L(n)("gallery.collection.startDate"),
727
+ onChange: t[0] ||= (e) => u("from", e.target.value)
728
+ }, [T("option", lr, I(L(n)("gallery.collection.startDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
729
729
  key: e.value,
730
730
  value: String(e.value)
731
- }, V(e.label), 9, ur))), 128))], 40, cr), P("select", {
731
+ }, I(e.label), 9, ur))), 128))], 40, cr), T("select", {
732
732
  class: "mwnf-dxa-gallery-collection__select",
733
- "aria-label": H(n)("gallery.collection.endDate"),
734
- onChange: t[1] ||= (e) => l("to", e.target.value)
735
- }, [P("option", fr, V(H(n)("gallery.collection.endDate")), 1), (R(!0), N(k, null, B(c.value, (e) => (R(), N("option", {
733
+ "aria-label": L(n)("gallery.collection.endDate"),
734
+ onChange: t[1] ||= (e) => u("to", e.target.value)
735
+ }, [T("option", fr, I(L(n)("gallery.collection.endDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
736
736
  key: e.value,
737
737
  value: String(e.value)
738
- }, V(e.label), 9, pr))), 128))], 40, dr)])])]), P("div", {
738
+ }, I(e.label), 9, pr))), 128))], 40, dr)])])]), T("div", {
739
739
  class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
740
740
  dir: "auto",
741
741
  innerHTML: r.value
@@ -752,47 +752,47 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
752
752
  class: "mwnf-dxa-gallery-objects__end"
753
753
  }, xr = {
754
754
  __name: "PartnerObjects",
755
- setup(t) {
756
- let n = Z(), r = A(() => y.value.get(n.params.id) ?? null), i = A(() => ({
757
- ...ge,
758
- ...he,
759
- scope: (e) => e.partner_id === n.params.id
760
- })), a = A(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = A(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
761
- return (t, n) => r.value ? (R(), N("div", gr, [I(D, { spec: i.value }, {
762
- before: U(() => [I(e), P("div", _r, [P("p", {
755
+ setup(e) {
756
+ let t = Y(), n = x(() => Ee.value.get(t.params.id) ?? null), r = x(() => ({
757
+ ...Ge,
758
+ ...We,
759
+ scope: (e) => e.partner_id === t.params.id
760
+ })), i = x(() => n.value ? Ke.view(n.value, be("partners", n.value.id, Ve)) : null), a = x(() => [i.value?.city, i.value?.country].filter(Boolean).join(", "));
761
+ return (e, t) => n.value ? (N(), w("div", gr, [O(q, { spec: r.value }, {
762
+ before: R(() => [O(B), T("div", _r, [T("p", {
763
763
  class: "mwnf-dxa-gallery-objects__name",
764
- innerHTML: a.value.name
765
- }, null, 8, vr), o.value ? (R(), N("p", yr, V(o.value), 1)) : M("", !0)])]),
766
- actions: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
764
+ innerHTML: i.value.name
765
+ }, null, 8, vr), a.value ? (N(), w("p", yr, I(a.value), 1)) : C("", !0)])]),
766
+ actions: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
767
767
  family: "gallery",
768
768
  class: "mwnf-dxa-gallery-pages--top",
769
769
  "page-info": e,
770
770
  onNavigate: t
771
771
  }, null, 8, ["page-info", "onNavigate"])]),
772
- records: U(({ rows: e }) => [I($, { rows: e }, null, 8, ["rows"])]),
773
- pagination: U(({ pageInfo: e }) => [e.lastPage <= 1 ? (R(), N("div", br)) : M("", !0)]),
774
- after: U(({ pageInfo: e, goToPage: t }) => [I(Q, {
772
+ records: R(({ rows: e }) => [O($, { rows: e }, null, 8, ["rows"])]),
773
+ pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", br)) : C("", !0)]),
774
+ after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
775
775
  family: "gallery",
776
776
  "page-info": e,
777
777
  onNavigate: t
778
778
  }, null, 8, ["page-info", "onNavigate"])]),
779
- aside: U(() => [I(H(X), {
779
+ aside: R(() => [O(L(J), {
780
780
  class: "mwnf-dxa-gallery-objects__profile",
781
- to: H(d)(r.value)
781
+ to: L(ve)(n.value)
782
782
  }, {
783
- default: U(() => [n[0] ||= P("span", {
783
+ default: R(() => [t[0] ||= T("span", {
784
784
  class: "mwnf-dxa-gallery-objects__profile-arrow",
785
785
  "aria-hidden": "true"
786
- }, "➦", -1), F(V(t.$t("partner.action.partnerProfile")), 1)]),
786
+ }, "➦", -1), D(I(e.$t("partner.action.partnerProfile")), 1)]),
787
787
  _: 1
788
788
  }, 8, ["to"])]),
789
789
  _: 1
790
- }, 8, ["spec"])])) : M("", !0);
790
+ }, 8, ["spec"])])) : C("", !0);
791
791
  }
792
792
  }, Sr = { class: "mwnf-dxa-exhibition-how-to" }, Cr = {
793
793
  __name: "SearchHowTo",
794
794
  setup(t) {
795
- return (t, n) => (R(), N("div", Sr, [I(e), I(H(G), {
795
+ return (t, n) => (N(), w("div", Sr, [O(B), O(L(e), {
796
796
  class: "mwnf-dxa-exhibition-how-to__text",
797
797
  dir: "auto",
798
798
  keypath: "catalogue.search.howToEssay"
@@ -807,51 +807,51 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
807
807
  }, Pr = { class: "mwnf-dxa-gallery-partners__links" }, Fr = { class: "mwnf-dxa-gallery-partners__logo" }, Ir = ["src", "alt"], Lr = {
808
808
  __name: "Partners",
809
809
  setup(t) {
810
- let r = {
811
- ...De,
812
- objectsRoute: Se,
810
+ let n = {
811
+ ...rt,
812
+ objectsRoute: Ze,
813
813
  orderToggle: !1,
814
814
  tiebreak: (e) => e.own_project?.name ?? ""
815
815
  };
816
- return (t, i) => (R(), N("div", wr, [I(Je, { spec: r }, {
817
- before: U(({ t, orderDir: n, toggleOrder: r }) => [P("div", Tr, [I(e), P("div", Er, [P("button", {
816
+ return (t, r) => (N(), w("div", wr, [O(wt, { spec: n }, {
817
+ before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", Tr, [O(B), T("div", Er, [T("button", {
818
818
  type: "button",
819
819
  onClick: r
820
- }, V(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Dr)])]), I(H(G), {
820
+ }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Dr)])]), O(L(e), {
821
821
  id: "mwnf-dxa-partners-intro",
822
822
  class: "mwnf-dxa-gallery-partners__intro",
823
823
  dir: "auto",
824
824
  keypath: "exhibition.partners.intro"
825
825
  })]),
826
- "group-heading": U(({ group: e }) => [P("div", Or, V(e.label), 1)]),
827
- row: U(({ partner: e, view: t, t: r }) => [P("div", kr, [P("div", Ar, [
828
- I(n, {
826
+ "group-heading": R(({ group: e }) => [T("div", Or, I(e.label), 1)]),
827
+ row: R(({ partner: e, view: t, t: n }) => [T("div", kr, [T("div", Ar, [
828
+ O(V, {
829
829
  class: "mwnf-dxa-gallery-partners__name",
830
830
  to: t.route
831
831
  }, {
832
- default: U(() => [P("span", { innerHTML: t.name }, null, 8, jr), t.city ? (R(), N("span", Mr, ", " + V(t.city), 1)) : M("", !0)]),
832
+ default: R(() => [T("span", { innerHTML: t.name }, null, 8, jr), t.city ? (N(), w("span", Mr, ", " + I(t.city), 1)) : C("", !0)]),
833
833
  _: 2
834
834
  }, 1032, ["to"]),
835
- H(en)(e) ? (R(), N("div", {
835
+ L(Z)(e) ? (N(), w("div", {
836
836
  key: 0,
837
- class: L(["mwnf-dxa-partner-badge", H(en)(e).tone && `mwnf-dxa-partner-badge--${H(en)(e).tone}`])
838
- }, [F(V(H(en)(e).name + " "), 1), H(en)(e).status ? (R(), N("span", Nr, V(r(H(en)(e).status)), 1)) : M("", !0)], 2)) : M("", !0),
839
- P("div", Pr, [I(n, { to: t.route }, {
840
- default: U(() => [F(V(r("partner.action.readMore")), 1)]),
837
+ class: k(["mwnf-dxa-partner-badge", L(Z)(e).tone && `mwnf-dxa-partner-badge--${L(Z)(e).tone}`])
838
+ }, [D(I(L(Z)(e).name + " "), 1), L(Z)(e).status ? (N(), w("span", Nr, I(n(L(Z)(e).status)), 1)) : C("", !0)], 2)) : C("", !0),
839
+ T("div", Pr, [O(V, { to: t.route }, {
840
+ default: R(() => [D(I(n("partner.action.readMore")), 1)]),
841
841
  _: 2
842
- }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (R(), N(k, { key: 0 }, [i[0] ||= P("span", {
842
+ }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (N(), w(b, { key: 0 }, [r[0] ||= T("span", {
843
843
  class: "mwnf-dxa-gallery-partners__divider",
844
844
  "aria-hidden": "true"
845
- }, "|", -1), I(n, { to: t.objectsRoute }, {
846
- default: U(() => [F(V(r(H(Ge)(e))), 1)]),
845
+ }, "|", -1), O(V, { to: t.objectsRoute }, {
846
+ default: R(() => [D(I(n(L(xt)(e))), 1)]),
847
847
  _: 2
848
- }, 1032, ["to"])], 64)) : M("", !0)])
849
- ]), P("div", Fr, [t.logos?.[0] ? (R(), N("img", {
848
+ }, 1032, ["to"])], 64)) : C("", !0)])
849
+ ]), T("div", Fr, [t.logos?.[0] ? (N(), w("img", {
850
850
  key: 0,
851
851
  src: t.logos[0].url,
852
852
  alt: t.plainName,
853
853
  loading: "lazy"
854
- }, null, 8, Ir)) : M("", !0)])])]),
854
+ }, null, 8, Ir)) : C("", !0)])])]),
855
855
  _: 1
856
856
  })]));
857
857
  }
@@ -874,130 +874,130 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
874
874
  }, oi = {
875
875
  __name: "SearchResults",
876
876
  setup(t) {
877
- let { t: n } = J(), r = Z(), i = Lt(), a = Mt("items", {
877
+ let { t: n } = p(), r = Y(), i = Et(), a = m("items", {
878
878
  grammar: "boolean",
879
- haystack: Be
880
- }), o = z(!1);
881
- Ke().then(() => {
879
+ haystack: gt
880
+ }), o = P(!1);
881
+ St().then(() => {
882
882
  o.value = !0;
883
883
  });
884
- let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l = A(() => ({
884
+ let s = (e) => !e || e === "all-items" || e === "all-objects", l = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", u = x(() => ({
885
885
  entity: "items",
886
886
  keys: ["q"],
887
- scope: (e) => T.value.has(e.id),
887
+ scope: (e) => G.value.has(e.id),
888
888
  narrow: (e, t) => {
889
889
  if (!o.value) return [];
890
890
  if (s(t.q)) return e;
891
891
  let n = new Set(e.map((e) => e.id));
892
892
  return a.search(t.q).filter((e) => n.has(e.id));
893
893
  },
894
- ...qe,
895
- sort: s(r.query.q) ? qe.sort : !1,
894
+ ...Ct,
895
+ sort: s(r.query.q) ? Ct.sort : !1,
896
896
  summary: () => [],
897
897
  record: (e) => {
898
- let t = S("items", e.id, He);
898
+ let t = Qe("items", e.id, vt);
899
899
  return {
900
900
  id: e.id,
901
901
  image: e.images?.[0]?.url ?? "",
902
- imageAlt: E("items", e.id),
903
- name: q(t.name ?? e.internal_name ?? ""),
904
- date: c(t.dates),
905
- partner: E("partners", e.partner_id),
906
- place: [t.location, E("countries", e.country_id)].filter(Boolean).join(", "),
902
+ imageAlt: K("items", e.id),
903
+ name: c(t.name ?? e.internal_name ?? ""),
904
+ date: l(t.dates),
905
+ partner: K("partners", e.partner_id),
906
+ place: [t.location, K("countries", e.country_id)].filter(Boolean).join(", "),
907
907
  start: e.start_date ?? 0,
908
- to: Ne(e)
908
+ to: lt(e)
909
909
  };
910
910
  }
911
- })), u = (e) => [...e].sort((e, t) => e.start - t.start), d = z("");
912
- yt(() => r.query.q, (e) => {
913
- d.value = s(e) ? "" : String(e ?? "");
911
+ })), d = (e) => [...e].sort((e, t) => e.start - t.start), f = P("");
912
+ se(() => r.query.q, (e) => {
913
+ f.value = s(e) ? "" : String(e ?? "");
914
914
  }, { immediate: !0 });
915
- function f() {
915
+ function h() {
916
916
  i.push({
917
917
  name: "search-results",
918
- query: { q: d.value || "all-items" }
918
+ query: { q: f.value || "all-items" }
919
919
  });
920
920
  }
921
- function p() {
921
+ function g() {
922
922
  i.push({
923
923
  name: "search-results",
924
924
  query: { q: "all-items" }
925
925
  });
926
926
  }
927
- let m = z(null), h = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 974px)") : null, g = z(!!h?.matches);
928
- h?.addEventListener("change", (e) => {
929
- g.value = e.matches;
927
+ let _ = P(null), v = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 974px)") : null, y = P(!!v?.matches);
928
+ v?.addEventListener("change", (e) => {
929
+ y.value = e.matches;
930
930
  });
931
- function _(e) {
932
- return e.find((e) => e.id === m.value) ?? e[0];
931
+ function E(e) {
932
+ return e.find((e) => e.id === _.value) ?? e[0];
933
933
  }
934
- return yt(() => r.fullPath, () => {
935
- m.value = null;
936
- }), (t, r) => (R(), N("div", Rr, [I(D, {
937
- spec: l.value,
934
+ return se(() => r.fullPath, () => {
935
+ _.value = null;
936
+ }), (t, r) => (N(), w("div", Rr, [O(q, {
937
+ spec: u.value,
938
938
  class: "mwnf-dxa-exhibition-search__view"
939
939
  }, {
940
- before: U(({ pageInfo: t, goToPage: i }) => [
941
- I(e),
942
- P("div", zr, [P("div", Br, [t.total ? (R(), N("p", Vr, V(H(n)("exhibition.search.heading")) + " | " + V(t.total) + " " + V(H(n)("exhibition.search.recordsOutOf")) + " " + V(H(T).size) + " " + V(H(n)("exhibition.collection.items")), 1)) : (R(), N("p", Hr, [F(V(H(n)("exhibition.search.heading")) + " | ", 1), P("span", null, V(H(n)("exhibition.search.none")), 1)]))]), P("div", Ur, [P("form", { onSubmit: r[2] ||= xt((e) => f(), ["prevent"]) }, [W(P("input", {
943
- "onUpdate:modelValue": r[0] ||= (e) => d.value = e,
940
+ before: R(({ pageInfo: e, goToPage: t }) => [
941
+ O(B),
942
+ T("div", zr, [T("div", Br, [e.total ? (N(), w("p", Vr, I(L(n)("exhibition.search.heading")) + " | " + I(e.total) + " " + I(L(n)("exhibition.search.recordsOutOf")) + " " + I(L(G).size) + " " + I(L(n)("exhibition.collection.items")), 1)) : (N(), w("p", Hr, [D(I(L(n)("exhibition.search.heading")) + " | ", 1), T("span", null, I(L(n)("exhibition.search.none")), 1)]))]), T("div", Ur, [T("form", { onSubmit: r[2] ||= le((e) => h(), ["prevent"]) }, [z(T("input", {
943
+ "onUpdate:modelValue": r[0] ||= (e) => f.value = e,
944
944
  class: "mwnf-dxa-exhibition-search__input",
945
945
  type: "search",
946
- placeholder: H(n)("exhibition.search.placeholder"),
947
- "aria-label": H(n)("exhibition.search.placeholder")
948
- }, null, 8, Wr), [[_t, d.value]]), P("div", Gr, [P("button", Kr, V(H(n)("exhibition.search.submit")), 1), P("button", {
946
+ placeholder: L(n)("exhibition.search.placeholder"),
947
+ "aria-label": L(n)("exhibition.search.placeholder")
948
+ }, null, 8, Wr), [[ae, f.value]]), T("div", Gr, [T("button", Kr, I(L(n)("exhibition.search.submit")), 1), T("button", {
949
949
  type: "button",
950
950
  class: "mwnf-dxa-exhibition-search__button",
951
- onClick: r[1] ||= (e) => p()
952
- }, V(H(n)("exhibition.search.reset")), 1)])], 32), P("div", qr, [I(H(X), { to: { name: "search-how-to" } }, {
953
- default: U(() => [F(V(H(n)("exhibition.search.tips")), 1)]),
951
+ onClick: r[1] ||= (e) => g()
952
+ }, I(L(n)("exhibition.search.reset")), 1)])], 32), T("div", qr, [O(L(J), { to: { name: "search-how-to" } }, {
953
+ default: R(() => [D(I(L(n)("exhibition.search.tips")), 1)]),
954
954
  _: 1
955
955
  })])])]),
956
- I(Q, {
956
+ O(Q, {
957
957
  class: "mwnf-dxa-exhibition-pages--top",
958
- "page-info": t,
959
- onNavigate: i
958
+ "page-info": e,
959
+ onNavigate: t
960
960
  }, null, 8, ["page-info", "onNavigate"])
961
961
  ]),
962
- records: U(({ rows: e }) => [e.length ? (R(), N("div", Jr, [g.value ? M("", !0) : (R(), N("div", Yr, [P("div", Xr, [P("img", {
963
- src: _(u(e)).image,
964
- alt: _(u(e)).imageAlt
965
- }, null, 8, Zr)]), P("div", Qr, [
966
- P("p", null, [P("strong", { innerHTML: _(u(e)).name }, null, 8, $r)]),
967
- P("p", null, V(_(u(e)).date), 1),
968
- P("p", ei, [P("strong", null, V(_(u(e)).partner), 1)]),
969
- P("p", null, V(_(u(e)).place), 1)
970
- ])])), P("div", ti, [(R(!0), N(k, null, B(u(e), (e) => (R(), N("div", {
962
+ records: R(({ rows: t }) => [t.length ? (N(), w("div", Jr, [y.value ? C("", !0) : (N(), w("div", Yr, [T("div", Xr, [T("img", {
963
+ src: E(d(t)).image,
964
+ alt: E(d(t)).imageAlt
965
+ }, null, 8, Zr)]), T("div", Qr, [
966
+ T("p", null, [T("strong", { innerHTML: E(d(t)).name }, null, 8, $r)]),
967
+ T("p", null, I(E(d(t)).date), 1),
968
+ T("p", ei, [T("strong", null, I(E(d(t)).partner), 1)]),
969
+ T("p", null, I(E(d(t)).place), 1)
970
+ ])])), T("div", ti, [(N(!0), w(b, null, F(d(t), (e) => (N(), w("div", {
971
971
  key: e.id,
972
972
  class: "mwnf-dxa-exhibition-search__result"
973
- }, [I(H(X), {
973
+ }, [O(L(J), {
974
974
  to: e.to,
975
975
  class: "mwnf-dxa-exhibition-search__result-image"
976
976
  }, {
977
- default: U(() => [P("img", {
977
+ default: R(() => [T("img", {
978
978
  src: e.image,
979
979
  alt: e.imageAlt,
980
980
  loading: "lazy",
981
- onMouseover: (t) => m.value = e.id
981
+ onMouseover: (t) => _.value = e.id
982
982
  }, null, 40, ni)]),
983
983
  _: 2
984
- }, 1032, ["to"]), P("div", ri, [I(H(X), { to: e.to }, {
985
- default: U(() => [P("strong", {
984
+ }, 1032, ["to"]), T("div", ri, [O(L(J), { to: e.to }, {
985
+ default: R(() => [T("strong", {
986
986
  innerHTML: e.name,
987
- onMouseover: (t) => m.value = e.id
988
- }, null, 40, ii), P("span", null, ", " + V(e.place), 1)]),
987
+ onMouseover: (t) => _.value = e.id
988
+ }, null, 40, ii), T("span", null, ", " + I(e.place), 1)]),
989
989
  _: 2
990
- }, 1032, ["to"]), P("p", null, [P("em", null, V(e.date), 1)])])]))), 128))])])) : (R(), j(H(G), {
990
+ }, 1032, ["to"]), T("p", null, [T("em", null, I(e.date), 1)])])]))), 128))])])) : (N(), S(L(e), {
991
991
  key: 1,
992
992
  class: "mwnf-dxa-exhibition-search__none",
993
993
  keypath: "exhibition.search.noResults"
994
994
  }))]),
995
- pagination: U(() => [...r[3] ||= []]),
996
- after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
995
+ pagination: R(() => [...r[3] ||= []]),
996
+ after: R(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (N(), S(Q, {
997
997
  key: 0,
998
998
  "page-info": e,
999
999
  onNavigate: t
1000
- }, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", ai))]),
1000
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", ai))]),
1001
1001
  _: 1
1002
1002
  }, 8, ["spec"])]));
1003
1003
  }
@@ -1024,100 +1024,100 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1024
1024
  class: "mwnf-dxa-exhibition-timeline-results__end"
1025
1025
  }, Pi = {
1026
1026
  __name: "TimelineResults",
1027
- setup(t) {
1028
- let n = {
1027
+ setup(e) {
1028
+ let t = {
1029
1029
  "catalogue.era.ad": "exhibition.era.ad",
1030
1030
  "catalogue.era.bc": "exhibition.era.bc"
1031
- }, r = ({ years: e, t }) => It(e.min, e.max, Ft(t, n)), i = A(() => ({
1032
- ...w.value,
1031
+ }, n = ({ years: e, t: n }) => y(e.min, e.max, _(n, t)), r = x(() => ({
1032
+ ...W.value,
1033
1033
  pageSize: 20,
1034
- controls: w.value.controls.map((e) => e.options ? {
1034
+ controls: W.value.controls.map((e) => e.options ? {
1035
1035
  ...e,
1036
- options: r
1036
+ options: n
1037
1037
  } : e)
1038
- })), a = A(() => w.value.scope === "country"), o = Z(), s = ft({
1038
+ })), i = x(() => W.value.scope === "country"), a = Y(), o = ee({
1039
1039
  country: "",
1040
1040
  begin: "",
1041
1041
  end: ""
1042
1042
  });
1043
- yt(() => o.query, (e) => {
1044
- s.country = String(e.country ?? ""), s.begin = String(e.begin ?? ""), s.end = String(e.end ?? "");
1043
+ se(() => a.query, (e) => {
1044
+ o.country = String(e.country ?? ""), o.begin = String(e.begin ?? ""), o.end = String(e.end ?? "");
1045
1045
  }, { immediate: !0 });
1046
- let c = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
1047
- function l(e, t) {
1046
+ let s = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
1047
+ function c(e, t) {
1048
1048
  let n = e?.year_from;
1049
1049
  return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
1050
1050
  }
1051
- return (t, n) => (R(), N("div", si, [I(Ye, {
1052
- spec: i.value,
1051
+ return (e, t) => (N(), w("div", si, [O(Tt, {
1052
+ spec: r.value,
1053
1053
  class: "mwnf-dxa-timeline-results"
1054
1054
  }, {
1055
- form: U((e) => [P("div", ci, [P("p", li, [
1056
- F(V(e.t("exhibition.timeline.heading")) + " | " + V(c(e.options.begin, e.filters.begin)) + " " + V(e.t("exhibition.timeline.to")) + " " + V(c(e.options.end, e.filters.end)) + " | ", 1),
1057
- a.value && e.filters.country ? (R(), N("span", ui, V(c(e.countries, e.filters.country)) + " | ", 1)) : M("", !0),
1058
- P("span", null, V(e.pageInfo?.total ?? 0) + " " + V(e.t("exhibition.timeline.results")), 1)
1059
- ]), P("div", di, [
1060
- P("span", null, V(e.t("exhibition.collection.startDate")), 1),
1061
- W(P("select", {
1062
- "onUpdate:modelValue": n[0] ||= (e) => s.begin = e,
1055
+ form: R((e) => [T("div", ci, [T("p", li, [
1056
+ D(I(e.t("exhibition.timeline.heading")) + " | " + I(s(e.options.begin, e.filters.begin)) + " " + I(e.t("exhibition.timeline.to")) + " " + I(s(e.options.end, e.filters.end)) + " | ", 1),
1057
+ i.value && e.filters.country ? (N(), w("span", ui, I(s(e.countries, e.filters.country)) + " | ", 1)) : C("", !0),
1058
+ T("span", null, I(e.pageInfo?.total ?? 0) + " " + I(e.t("exhibition.timeline.results")), 1)
1059
+ ]), T("div", di, [
1060
+ T("span", null, I(e.t("exhibition.collection.startDate")), 1),
1061
+ z(T("select", {
1062
+ "onUpdate:modelValue": t[0] ||= (e) => o.begin = e,
1063
1063
  "aria-label": e.t("exhibition.collection.startDate")
1064
- }, [P("option", pi, V(e.t("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
1064
+ }, [T("option", pi, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
1065
1065
  key: e.value,
1066
1066
  value: String(e.value)
1067
- }, V(e.label), 9, mi))), 128))], 8, fi), [[gt, s.begin]]),
1068
- P("span", null, V(e.t("exhibition.collection.endDate")), 1),
1069
- W(P("select", {
1070
- "onUpdate:modelValue": n[1] ||= (e) => s.end = e,
1067
+ }, I(e.label), 9, mi))), 128))], 8, fi), [[ie, o.begin]]),
1068
+ T("span", null, I(e.t("exhibition.collection.endDate")), 1),
1069
+ z(T("select", {
1070
+ "onUpdate:modelValue": t[1] ||= (e) => o.end = e,
1071
1071
  "aria-label": e.t("exhibition.collection.endDate")
1072
- }, [P("option", gi, V(e.t("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
1072
+ }, [T("option", gi, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
1073
1073
  key: e.value,
1074
1074
  value: String(e.value)
1075
- }, V(e.label), 9, _i))), 128))], 8, hi), [[gt, s.end]]),
1076
- a.value ? (R(), N(k, { key: 0 }, [P("span", null, V(e.t("exhibition.timeline.country")), 1), W(P("select", {
1077
- "onUpdate:modelValue": n[2] ||= (e) => s.country = e,
1075
+ }, I(e.label), 9, _i))), 128))], 8, hi), [[ie, o.end]]),
1076
+ i.value ? (N(), w(b, { key: 0 }, [T("span", null, I(e.t("exhibition.timeline.country")), 1), z(T("select", {
1077
+ "onUpdate:modelValue": t[2] ||= (e) => o.country = e,
1078
1078
  "aria-label": e.t("exhibition.timeline.selectCountry")
1079
- }, [P("option", yi, V(e.t("exhibition.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
1079
+ }, [T("option", yi, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
1080
1080
  key: e.value,
1081
1081
  value: e.value
1082
- }, V(e.label), 9, bi))), 128))], 8, vi), [[gt, s.country]])], 64)) : M("", !0),
1083
- P("button", {
1082
+ }, I(e.label), 9, bi))), 128))], 8, vi), [[ie, o.country]])], 64)) : C("", !0),
1083
+ T("button", {
1084
1084
  type: "button",
1085
- onClick: (t) => e.apply({ ...s })
1086
- }, V(e.t("core.action.go")), 9, xi),
1087
- P("button", {
1085
+ onClick: (t) => e.apply({ ...o })
1086
+ }, I(e.t("core.action.go")), 9, xi),
1087
+ T("button", {
1088
1088
  type: "button",
1089
1089
  onClick: (t) => e.reset()
1090
- }, V(e.t("exhibition.search.reset")), 9, Si)
1090
+ }, I(e.t("exhibition.search.reset")), 9, Si)
1091
1091
  ])])]),
1092
- summary: U(({ pageInfo: t, goToPage: n }) => [I(e), I(Q, {
1092
+ summary: R(({ pageInfo: e, goToPage: t }) => [O(B), O(Q, {
1093
1093
  class: "mwnf-dxa-exhibition-timeline-results__pages",
1094
- "page-info": t,
1095
- onNavigate: n
1094
+ "page-info": e,
1095
+ onNavigate: t
1096
1096
  }, null, 8, ["page-info", "onNavigate"])]),
1097
- gallery: U(() => [...n[3] ||= []]),
1098
- event: U(({ pageInfo: e, rows: t, gallery: r, t: i }) => [P("div", Ci, [t.length ? (R(), N("div", wi, [P("div", Ti, [P("div", null, V(i("exhibition.timeline.date")), 1), P("div", null, V(i(a.value && s.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (R(!0), N(k, null, B(t, (t, n) => (R(), N("div", {
1097
+ gallery: R(() => [...t[3] ||= []]),
1098
+ event: R(({ pageInfo: e, rows: n, gallery: r, t: a }) => [T("div", Ci, [n.length ? (N(), w("div", wi, [T("div", Ti, [T("div", null, I(a("exhibition.timeline.date")), 1), T("div", null, I(a(i.value && o.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (N(!0), w(b, null, F(n, (t, n) => (N(), w("div", {
1099
1099
  key: t.id,
1100
1100
  class: "mwnf-dxa-exhibition-timeline-results__event"
1101
- }, [P("div", Ei, [P("span", null, V(l(e.rows[n], i)), 1)]), P("div", Di, [a.value && s.country && t.caption ? (R(), N("div", {
1101
+ }, [T("div", Ei, [T("span", null, I(c(e.rows[n], a)), 1)]), T("div", Di, [i.value && o.country && t.caption ? (N(), w("div", {
1102
1102
  key: 0,
1103
1103
  class: "mwnf-dxa-exhibition-timeline-results__country",
1104
1104
  innerHTML: t.caption
1105
- }, null, 8, Oi)) : M("", !0), P("div", {
1105
+ }, null, 8, Oi)) : C("", !0), T("div", {
1106
1106
  class: "mwnf-dxa-exhibition-timeline-results__description",
1107
1107
  innerHTML: t.description
1108
- }, null, 8, ki)])]))), 128))])) : (R(), N("div", Ai, V(i("exhibition.timeline.noResults")), 1)), t.length && r ? (R(), N("div", ji, [P("p", Mi, V(i("exhibition.timeline.relatedContent")), 1), P("p", null, [
1109
- n[4] ||= P("span", { "aria-hidden": "true" }, "➦", -1),
1110
- n[5] ||= F(),
1111
- I(H(X), { to: r.to }, {
1112
- default: U(() => [F(V(i("exhibition.timeline.seeGallery")), 1)]),
1108
+ }, null, 8, ki)])]))), 128))])) : (N(), w("div", Ai, I(a("exhibition.timeline.noResults")), 1)), n.length && r ? (N(), w("div", ji, [T("p", Mi, I(a("exhibition.timeline.relatedContent")), 1), T("p", null, [
1109
+ t[4] ||= T("span", { "aria-hidden": "true" }, "➦", -1),
1110
+ t[5] ||= D(),
1111
+ O(L(J), { to: r.to }, {
1112
+ default: R(() => [D(I(a("exhibition.timeline.seeGallery")), 1)]),
1113
1113
  _: 2
1114
1114
  }, 1032, ["to"])
1115
- ])])) : M("", !0)])]),
1116
- pagination: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
1115
+ ])])) : C("", !0)])]),
1116
+ pagination: R(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (N(), S(Q, {
1117
1117
  key: 0,
1118
1118
  "page-info": e,
1119
1119
  onNavigate: t
1120
- }, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Ni))]),
1120
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Ni))]),
1121
1121
  _: 1
1122
1122
  }, 8, ["spec"])]));
1123
1123
  }
@@ -1126,70 +1126,70 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1126
1126
  class: "mwnf-dxa-exhibition-partner-objects__end"
1127
1127
  }, Vi = {
1128
1128
  __name: "TimelineGallery",
1129
- setup(t) {
1130
- let { t: n } = J(), r = {
1129
+ setup(e) {
1130
+ let { t } = p(), n = {
1131
1131
  "catalogue.era.ad": "exhibition.era.ad",
1132
1132
  "catalogue.era.bc": "exhibition.era.bc"
1133
- }, i = A(() => ({
1134
- ...ye,
1135
- ...qe,
1133
+ }, r = x(() => ({
1134
+ ...Je,
1135
+ ...Ct,
1136
1136
  summary: () => [],
1137
- record: Ae
1137
+ record: ot
1138
1138
  }));
1139
- function a(e) {
1140
- let t = Number(e);
1141
- if (e === "" || e == null || !Number.isFinite(t)) return "";
1142
- let i = It(t, t, Ft(n, r));
1143
- return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
1139
+ function i(e) {
1140
+ let r = Number(e);
1141
+ if (e === "" || e == null || !Number.isFinite(r)) return "";
1142
+ let i = y(r, r, _(t, n));
1143
+ return i.find((e) => Number(e.value) === r)?.label ?? i[0]?.label ?? String(e);
1144
1144
  }
1145
- let o = A(() => w.value.scope === "country");
1146
- return (t, r) => (R(), N("div", Fi, [I(D, {
1147
- spec: i.value,
1145
+ let a = x(() => W.value.scope === "country");
1146
+ return (e, n) => (N(), w("div", Fi, [O(q, {
1147
+ spec: r.value,
1148
1148
  class: "mwnf-dxa-partner-objects"
1149
1149
  }, {
1150
- before: U(({ filters: t, pageInfo: r, goToPage: i }) => [
1151
- I(e),
1152
- P("div", Ii, [P("p", null, [
1153
- F(V(H(n)("exhibition.timeline.heading")) + " | " + V(a(t.begin)) + " " + V(H(n)("exhibition.timeline.to")) + " " + V(a(t.end)) + " | ", 1),
1154
- o.value && t.country ? (R(), N(k, { key: 0 }, [F(V(H(ze)(t.country)) + " | ", 1)], 64)) : M("", !0),
1155
- F(V(H(n)("exhibition.timeline.gallery")), 1)
1150
+ before: R(({ filters: e, pageInfo: n, goToPage: r }) => [
1151
+ O(B),
1152
+ T("div", Ii, [T("p", null, [
1153
+ D(I(L(t)("exhibition.timeline.heading")) + " | " + I(i(e.begin)) + " " + I(L(t)("exhibition.timeline.to")) + " " + I(i(e.end)) + " | ", 1),
1154
+ a.value && e.country ? (N(), w(b, { key: 0 }, [D(I(L(ht)(e.country)) + " | ", 1)], 64)) : C("", !0),
1155
+ D(I(L(t)("exhibition.timeline.gallery")), 1)
1156
1156
  ])]),
1157
- I(Q, {
1157
+ O(Q, {
1158
1158
  class: "mwnf-dxa-exhibition-pages--top",
1159
- "page-info": r,
1160
- onNavigate: i
1159
+ "page-info": n,
1160
+ onNavigate: r
1161
1161
  }, null, 8, ["page-info", "onNavigate"])
1162
1162
  ]),
1163
- records: U(({ rows: e, filters: t }) => [P("div", Li, [P("div", Ri, [e.length ? (R(), j($, {
1163
+ records: R(({ rows: e, filters: r }) => [T("div", Li, [T("div", Ri, [e.length ? (N(), S($, {
1164
1164
  key: 0,
1165
1165
  rows: e,
1166
1166
  family: "exhibition"
1167
- }, null, 8, ["rows"])) : M("", !0)]), P("div", zi, [I(H(X), { to: {
1167
+ }, null, 8, ["rows"])) : C("", !0)]), T("div", zi, [O(L(J), { to: {
1168
1168
  name: "timeline-results",
1169
1169
  query: {
1170
- ...t.country ? { country: t.country } : {},
1171
- begin: t.begin,
1172
- end: t.end
1170
+ ...r.country ? { country: r.country } : {},
1171
+ begin: r.begin,
1172
+ end: r.end
1173
1173
  }
1174
1174
  } }, {
1175
- default: U(() => [r[0] ||= P("span", { "aria-hidden": "true" }, "➦", -1), F(" " + V(H(n)("exhibition.timeline.seeTimeline")), 1)]),
1175
+ default: R(() => [n[0] ||= T("span", { "aria-hidden": "true" }, "➦", -1), D(" " + I(L(t)("exhibition.timeline.seeTimeline")), 1)]),
1176
1176
  _: 1
1177
1177
  }, 8, ["to"])])])]),
1178
- pagination: U(() => [...r[1] ||= []]),
1179
- after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
1178
+ pagination: R(() => [...n[1] ||= []]),
1179
+ after: R(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (N(), S(Q, {
1180
1180
  key: 0,
1181
1181
  "page-info": e,
1182
1182
  onNavigate: t
1183
- }, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Bi))]),
1183
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Bi))]),
1184
1184
  _: 1
1185
1185
  }, 8, ["spec"])]));
1186
1186
  }
1187
- }, { aboutTheme: Hi, listedThemes: Ui, pictureById: Wi, pictureParent: Gi, romanFor: Ki, themeText: qi, themeTree: Ji } = Ie;
1187
+ }, { aboutTheme: Hi, listedThemes: Ui, pictureById: Wi, pictureParent: Gi, romanFor: Ki, themeText: qi, themeTree: Ji } = ft;
1188
1188
  function Yi(e) {
1189
1189
  return e ? String(e.backward_compatibility ?? "").split(":").pop() || String(e.id ?? "") : "";
1190
1190
  }
1191
1191
  function Xi(e) {
1192
- let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n = A(() => [...Hi.value ? [{
1192
+ let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n = x(() => [...Hi.value ? [{
1193
1193
  value: Yi(Hi.value),
1194
1194
  label: t(Hi.value),
1195
1195
  node: Hi.value
@@ -1259,167 +1259,167 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1259
1259
  }, ba = { value: "all" }, xa = ["value"], Sa = { class: "mwnf-dxa-date-wrapper" }, Ca = {
1260
1260
  __name: "CollectionResults",
1261
1261
  setup(t) {
1262
- let { t: n, locale: r } = J(), { themeOptions: o, subThemeOptions: s, scopeFor: c } = Xi(r), l = {
1262
+ let { t: n, locale: r } = p(), { themeOptions: i, subThemeOptions: a, scopeFor: o } = Xi(r), s = {
1263
1263
  viewBox: "0 0 512 512",
1264
1264
  path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
1265
- }, u = {
1265
+ }, c = {
1266
1266
  viewBox: "0 0 384 512",
1267
1267
  path: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"
1268
- }, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f = z(!!d?.matches), p = (e) => {
1269
- f.value = e.matches;
1268
+ }, l = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, u = P(!!l?.matches), d = (e) => {
1269
+ u.value = e.matches;
1270
1270
  };
1271
- d?.addEventListener("change", p), ut(() => d?.removeEventListener("change", p));
1272
- let m = z(!1), h = Z();
1273
- yt(() => h.fullPath, () => {
1274
- m.value = !1;
1271
+ l?.addEventListener("change", d), j(() => l?.removeEventListener("change", d));
1272
+ let f = P(!1), m = Y();
1273
+ se(() => m.fullPath, () => {
1274
+ f.value = !1;
1275
1275
  });
1276
- let g = {
1276
+ let h = {
1277
1277
  type: "exhibition.collection.typeOfObject",
1278
1278
  material: "exhibition.collection.material"
1279
- }, _ = ["type", "material"], v = {
1279
+ }, g = ["type", "material"], _ = {
1280
1280
  "catalogue.era.ad": "exhibition.era.ad",
1281
1281
  "catalogue.era.bc": "exhibition.era.bc"
1282
- }, y = (e) => n(v[e] ?? e), ee = A(() => Y(Oe.value ?? [], y)), te = A(() => T.value.size), b = {
1283
- ...Fe,
1284
- ...qe,
1282
+ }, y = (e) => n(_[e] ?? e), E = x(() => v(it.value ?? [], y)), k = x(() => G.value.size), A = {
1283
+ ...dt,
1284
+ ...Ct,
1285
1285
  keys: [
1286
- ...Fe.keys,
1286
+ ...dt.keys,
1287
1287
  "theme",
1288
1288
  "subtheme"
1289
1289
  ],
1290
1290
  match: (e, t) => {
1291
- let n = c(t.theme, t.subtheme);
1291
+ let n = o(t.theme, t.subtheme);
1292
1292
  return !n || n.has(e.id);
1293
1293
  },
1294
1294
  summary: () => [],
1295
- record: Ae
1296
- }, x = (e) => b.keys.every((t) => !e[t]);
1297
- function ne(e) {
1298
- let t = o.value.find((t) => t.value === String(e.theme))?.label ?? e.theme, n = e.subtheme ? s(e.theme).find((t) => t.value === String(e.subtheme))?.label : "";
1295
+ record: ot
1296
+ }, M = (e) => A.keys.every((t) => !e[t]);
1297
+ function ee(e) {
1298
+ let t = i.value.find((t) => t.value === String(e.theme))?.label ?? e.theme, n = e.subtheme ? a(e.theme).find((t) => t.value === String(e.subtheme))?.label : "";
1299
1299
  return n ? `${t} ▪ ${n}` : t;
1300
1300
  }
1301
- function re(e, t, r) {
1302
- let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => ee.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
1303
- e.theme && o.push(ne(e)), e.country && o.push(i("country"));
1304
- for (let t of _) e[t] && o.push(i(t));
1301
+ function te(e, t, r) {
1302
+ let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => E.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
1303
+ e.theme && o.push(ee(e)), e.country && o.push(i("country"));
1304
+ for (let t of g) e[t] && o.push(i(t));
1305
1305
  return e.from && o.push(`${n("exhibition.collection.start")} ${a(e.from)}`), e.to && o.push(`${n("exhibition.collection.end")} ${a(e.to)}`), o.length ? o.join(" & ") : r.length ? n("exhibition.collection.allItems") : n("exhibition.collection.none");
1306
1306
  }
1307
- function ie(e, t, n) {
1307
+ function ne(e, t, n) {
1308
1308
  if (n === "all") return t();
1309
1309
  e({
1310
- ...Object.fromEntries(b.keys.map((e) => [e, ""])),
1310
+ ...Object.fromEntries(A.keys.map((e) => [e, ""])),
1311
1311
  theme: n
1312
1312
  });
1313
1313
  }
1314
- function ae(e, t, n) {
1314
+ function re(e, t, n) {
1315
1315
  e({
1316
- ...Object.fromEntries(b.keys.map((e) => [e, ""])),
1316
+ ...Object.fromEntries(A.keys.map((e) => [e, ""])),
1317
1317
  theme: t.theme,
1318
1318
  subtheme: n
1319
1319
  });
1320
1320
  }
1321
- return (t, r) => (R(), N("div", Zi, [I(D, {
1322
- spec: b,
1321
+ return (t, r) => (N(), w("div", Zi, [O(q, {
1322
+ spec: A,
1323
1323
  class: "mwnf-dxa-collection-results"
1324
1324
  }, {
1325
- before: U(({ filters: r, options: i, matching: a, pageInfo: o }) => [
1326
- I(e),
1327
- P("div", Qi, [P("p", null, [F(V(H(n)("exhibition.collection.heading")) + " | ", 1), P("span", $i, V(re(r, i, a)), 1)]), P("p", null, V(o.total) + " " + V(H(n)("exhibition.collection.resultsOutOf")) + " " + V(te.value) + " " + V(H(n)("exhibition.collection.items")), 1)]),
1328
- I(Q, {
1325
+ before: R(({ filters: e, options: r, matching: i, pageInfo: a }) => [
1326
+ O(B),
1327
+ T("div", Qi, [T("p", null, [D(I(L(n)("exhibition.collection.heading")) + " | ", 1), T("span", $i, I(te(e, r, i)), 1)]), T("p", null, I(a.total) + " " + I(L(n)("exhibition.collection.resultsOutOf")) + " " + I(k.value) + " " + I(L(n)("exhibition.collection.items")), 1)]),
1328
+ O(Q, {
1329
1329
  class: "mwnf-dxa-exhibition-pages--top",
1330
- "page-info": o,
1330
+ "page-info": a,
1331
1331
  onNavigate: t.goToPage
1332
1332
  }, null, 8, ["page-info", "onNavigate"])
1333
1333
  ]),
1334
- records: U(({ rows: e }) => [e.length ? (R(), j($, {
1334
+ records: R(({ rows: t }) => [t.length ? (N(), S($, {
1335
1335
  key: 0,
1336
- rows: e,
1336
+ rows: t,
1337
1337
  family: "exhibition"
1338
- }, null, 8, ["rows"])) : (R(), j(H(G), {
1338
+ }, null, 8, ["rows"])) : (N(), S(L(e), {
1339
1339
  key: 1,
1340
1340
  class: "mwnf-dxa-gallery-results__none",
1341
1341
  keypath: "exhibition.collection.noResults"
1342
1342
  }))]),
1343
- pagination: U(() => [...r[2] ||= []]),
1344
- after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
1343
+ pagination: R(() => [...r[2] ||= []]),
1344
+ after: R(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (N(), S(Q, {
1345
1345
  key: 0,
1346
1346
  "page-info": e,
1347
1347
  onNavigate: t
1348
- }, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", ea))]),
1349
- aside: U(({ filters: e, apply: t, reset: c, matching: d, options: p }) => [f.value ? (R(), N("button", {
1348
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", ea))]),
1349
+ aside: R(({ filters: e, apply: t, reset: o, matching: l, options: d }) => [u.value ? (N(), w("button", {
1350
1350
  key: 0,
1351
1351
  type: "button",
1352
1352
  class: "mwnf-dxa-exhibition-results__open",
1353
- "aria-label": H(n)("exhibition.collection.filterBy"),
1354
- "aria-expanded": m.value,
1355
- onClick: r[0] ||= (e) => m.value = !0
1356
- }, [(R(), N("svg", {
1357
- viewBox: l.viewBox,
1353
+ "aria-label": L(n)("exhibition.collection.filterBy"),
1354
+ "aria-expanded": f.value,
1355
+ onClick: r[0] ||= (e) => f.value = !0
1356
+ }, [(N(), w("svg", {
1357
+ viewBox: s.viewBox,
1358
1358
  "aria-hidden": "true",
1359
1359
  focusable: "false"
1360
- }, [P("path", { d: l.path }, null, 8, ra)], 8, na))], 8, ta)) : M("", !0), W(P("div", ia, [
1361
- f.value && m.value ? (R(), N("button", {
1360
+ }, [T("path", { d: s.path }, null, 8, ra)], 8, na))], 8, ta)) : C("", !0), z(T("div", ia, [
1361
+ u.value && f.value ? (N(), w("button", {
1362
1362
  key: 0,
1363
1363
  type: "button",
1364
1364
  class: "mwnf-dxa-exhibition-results__close",
1365
- "aria-label": H(n)("core.action.close"),
1366
- onClick: r[1] ||= (e) => m.value = !1
1367
- }, [(R(), N("svg", {
1368
- viewBox: u.viewBox,
1365
+ "aria-label": L(n)("core.action.close"),
1366
+ onClick: r[1] ||= (e) => f.value = !1
1367
+ }, [(N(), w("svg", {
1368
+ viewBox: c.viewBox,
1369
1369
  "aria-hidden": "true",
1370
1370
  focusable: "false"
1371
- }, [P("path", { d: u.path }, null, 8, sa)], 8, oa))], 8, aa)) : M("", !0),
1372
- x(e) ? M("", !0) : (R(), N("div", ca, [P("div", la, V(H(n)("exhibition.collection.filterByTheme")), 1), P("div", ua, [P("select", {
1371
+ }, [T("path", { d: c.path }, null, 8, sa)], 8, oa))], 8, aa)) : C("", !0),
1372
+ M(e) ? C("", !0) : (N(), w("div", ca, [T("div", la, I(L(n)("exhibition.collection.filterByTheme")), 1), T("div", ua, [T("select", {
1373
1373
  class: "mwnf-facet__select",
1374
- "aria-label": H(n)("exhibition.collection.selectTheme"),
1374
+ "aria-label": L(n)("exhibition.collection.selectTheme"),
1375
1375
  value: e.theme || "",
1376
- disabled: !d.length,
1377
- onChange: (e) => ie(t, c, e.target.value)
1376
+ disabled: !l.length,
1377
+ onChange: (e) => ne(t, o, e.target.value)
1378
1378
  }, [
1379
- P("option", fa, V(H(n)("exhibition.collection.selectTheme")), 1),
1380
- P("option", pa, V(H(n)("exhibition.collection.allThemes")), 1),
1381
- (R(!0), N(k, null, B(H(o), (e) => (R(), N("option", {
1379
+ T("option", fa, I(L(n)("exhibition.collection.selectTheme")), 1),
1380
+ T("option", pa, I(L(n)("exhibition.collection.allThemes")), 1),
1381
+ (N(!0), w(b, null, F(L(i), (e) => (N(), w("option", {
1382
1382
  key: e.value,
1383
1383
  value: e.value
1384
- }, V(e.label), 9, ma))), 128))
1385
- ], 40, da), e.theme && H(s)(e.theme).length ? (R(), N("select", {
1384
+ }, I(e.label), 9, ma))), 128))
1385
+ ], 40, da), e.theme && L(a)(e.theme).length ? (N(), w("select", {
1386
1386
  key: 0,
1387
1387
  class: "mwnf-facet__select",
1388
- "aria-label": H(n)("exhibition.themeGallery.select"),
1388
+ "aria-label": L(n)("exhibition.themeGallery.select"),
1389
1389
  value: e.subtheme || "",
1390
- disabled: !d.length,
1391
- onChange: (n) => ae(t, e, n.target.value)
1392
- }, [P("option", ga, V(H(n)("exhibition.themeGallery.select")), 1), (R(!0), N(k, null, B(H(s)(e.theme), (e) => (R(), N("option", {
1390
+ disabled: !l.length,
1391
+ onChange: (n) => re(t, e, n.target.value)
1392
+ }, [T("option", ga, I(L(n)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(L(a)(e.theme), (e) => (N(), w("option", {
1393
1393
  key: e.value,
1394
1394
  value: e.value
1395
- }, V(e.label), 9, _a))), 128))], 40, ha)) : M("", !0)])])),
1396
- I(a, {
1395
+ }, I(e.label), 9, _a))), 128))], 40, ha)) : C("", !0)])])),
1396
+ O(fe, {
1397
1397
  mode: "immediate",
1398
- title: x(e) ? H(n)("exhibition.collection.filterBy") : H(n)("exhibition.collection.filterFurtherBy"),
1399
- "reset-label": H(n)("exhibition.collection.resetFilters"),
1400
- disabled: d.length === 0,
1401
- onReset: (e) => c()
1398
+ title: M(e) ? L(n)("exhibition.collection.filterBy") : L(n)("exhibition.collection.filterFurtherBy"),
1399
+ "reset-label": L(n)("exhibition.collection.resetFilters"),
1400
+ disabled: l.length === 0,
1401
+ onReset: (e) => o()
1402
1402
  }, {
1403
- default: U(() => [
1404
- x(e) ? (R(), N("select", {
1403
+ default: R(() => [
1404
+ M(e) ? (N(), w("select", {
1405
1405
  key: 0,
1406
1406
  class: "mwnf-facet__select",
1407
- "aria-label": H(n)("exhibition.collection.selectTheme"),
1407
+ "aria-label": L(n)("exhibition.collection.selectTheme"),
1408
1408
  value: "",
1409
- disabled: !d.length,
1410
- onChange: (e) => ie(t, c, e.target.value)
1409
+ disabled: !l.length,
1410
+ onChange: (e) => ne(t, o, e.target.value)
1411
1411
  }, [
1412
- P("option", ya, V(H(n)("exhibition.collection.selectTheme")), 1),
1413
- P("option", ba, V(H(n)("exhibition.collection.allThemes")), 1),
1414
- (R(!0), N(k, null, B(H(o), (e) => (R(), N("option", {
1412
+ T("option", ya, I(L(n)("exhibition.collection.selectTheme")), 1),
1413
+ T("option", ba, I(L(n)("exhibition.collection.allThemes")), 1),
1414
+ (N(!0), w(b, null, F(L(i), (e) => (N(), w("option", {
1415
1415
  key: e.value,
1416
1416
  value: e.value
1417
- }, V(e.label), 9, xa))), 128))
1418
- ], 40, va)) : M("", !0),
1419
- I(i, {
1417
+ }, I(e.label), 9, xa))), 128))
1418
+ ], 40, va)) : C("", !0),
1419
+ O(H, {
1420
1420
  "model-value": e.country,
1421
- options: p.country,
1422
- placeholder: H(n)("exhibition.collection.selectCountry"),
1421
+ options: d.country,
1422
+ placeholder: L(n)("exhibition.collection.selectCountry"),
1423
1423
  "onUpdate:modelValue": (e) => t({ country: e })
1424
1424
  }, null, 8, [
1425
1425
  "model-value",
@@ -1427,11 +1427,11 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1427
1427
  "placeholder",
1428
1428
  "onUpdate:modelValue"
1429
1429
  ]),
1430
- (R(), N(k, null, B(_, (r) => I(i, {
1430
+ (N(), w(b, null, F(g, (r) => O(H, {
1431
1431
  key: r,
1432
1432
  "model-value": e[r],
1433
- options: p[r],
1434
- placeholder: H(n)(g[r]),
1433
+ options: d[r],
1434
+ placeholder: L(n)(h[r]),
1435
1435
  "hide-empty": "",
1436
1436
  "onUpdate:modelValue": (e) => t({ [r]: e })
1437
1437
  }, null, 8, [
@@ -1440,20 +1440,20 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1440
1440
  "placeholder",
1441
1441
  "onUpdate:modelValue"
1442
1442
  ])), 64)),
1443
- P("div", Sa, [I(i, {
1443
+ T("div", Sa, [O(H, {
1444
1444
  "model-value": e.from,
1445
- options: H(Y)(d, y),
1446
- placeholder: H(n)("exhibition.collection.startDate"),
1445
+ options: L(v)(l, y),
1446
+ placeholder: L(n)("exhibition.collection.startDate"),
1447
1447
  "onUpdate:modelValue": (e) => t({ from: e })
1448
1448
  }, null, 8, [
1449
1449
  "model-value",
1450
1450
  "options",
1451
1451
  "placeholder",
1452
1452
  "onUpdate:modelValue"
1453
- ]), I(i, {
1453
+ ]), O(H, {
1454
1454
  "model-value": e.to,
1455
- options: H(Y)(d, y),
1456
- placeholder: H(n)("exhibition.collection.endDate"),
1455
+ options: L(v)(l, y),
1456
+ placeholder: L(n)("exhibition.collection.endDate"),
1457
1457
  "onUpdate:modelValue": (e) => t({ to: e })
1458
1458
  }, null, 8, [
1459
1459
  "model-value",
@@ -1469,7 +1469,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1469
1469
  "disabled",
1470
1470
  "onReset"
1471
1471
  ])
1472
- ], 512), [[vt, !f.value || m.value]])]),
1472
+ ], 512), [[oe, !u.value || f.value]])]),
1473
1473
  _: 1
1474
1474
  })]));
1475
1475
  }
@@ -1491,71 +1491,71 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1491
1491
  value: ""
1492
1492
  }, Va = ["value"], Ha = {
1493
1493
  __name: "CollectionSearch",
1494
- setup(e) {
1495
- let t = Lt(), { t: n, locale: r } = J(), { themeOptions: i } = Xi(r), a = jt(Oe, Ue), o = A(() => [
1494
+ setup(t) {
1495
+ let n = Et(), { t: r, locale: i } = p(), { themeOptions: a } = Xi(i), o = f(it, yt), s = x(() => [
1496
1496
  {
1497
1497
  key: "country",
1498
1498
  name: "exhibition.collection.selectCountry",
1499
- options: a.value.country ?? []
1499
+ options: o.value.country ?? []
1500
1500
  },
1501
1501
  {
1502
1502
  key: "type",
1503
1503
  name: "exhibition.collection.type",
1504
- options: a.value.type ?? []
1504
+ options: o.value.type ?? []
1505
1505
  },
1506
1506
  {
1507
1507
  key: "material",
1508
1508
  name: "exhibition.collection.material",
1509
- options: a.value.material ?? []
1509
+ options: o.value.material ?? []
1510
1510
  }
1511
- ]), s = {
1511
+ ]), c = {
1512
1512
  "catalogue.era.ad": "exhibition.era.ad",
1513
1513
  "catalogue.era.bc": "exhibition.era.bc"
1514
- }, c = (e) => n(s[e] ?? e), l = A(() => Y(Oe.value ?? [], c));
1515
- function u(e, n) {
1516
- n !== "" && n != null && (n === "all" ? t.push({ name: "collection-results" }) : t.push({
1514
+ }, l = (e) => r(c[e] ?? e), u = x(() => v(it.value ?? [], l));
1515
+ function d(e, t) {
1516
+ t !== "" && t != null && (t === "all" ? n.push({ name: "collection-results" }) : n.push({
1517
1517
  name: "collection-results",
1518
- query: { [e]: String(n) }
1518
+ query: { [e]: String(t) }
1519
1519
  }));
1520
1520
  }
1521
- return (e, t) => (R(), N("div", wa, [P("div", Ta, [P("div", Ea, V(H(n)("exhibition.collection.filterBy")), 1), P("div", Da, [
1522
- P("select", {
1521
+ return (t, n) => (N(), w("div", wa, [T("div", Ta, [T("div", Ea, I(L(r)("exhibition.collection.filterBy")), 1), T("div", Da, [
1522
+ T("select", {
1523
1523
  class: "mwnf-dxa-exhibition-collection__select",
1524
- "aria-label": H(n)("exhibition.collection.selectTheme"),
1525
- onChange: t[0] ||= (e) => u("theme", e.target.value)
1524
+ "aria-label": L(r)("exhibition.collection.selectTheme"),
1525
+ onChange: n[0] ||= (e) => d("theme", e.target.value)
1526
1526
  }, [
1527
- P("option", ka, V(H(n)("exhibition.collection.selectTheme")), 1),
1528
- P("option", Aa, V(H(n)("exhibition.collection.allThemes")), 1),
1529
- (R(!0), N(k, null, B(H(i), (e) => (R(), N("option", {
1527
+ T("option", ka, I(L(r)("exhibition.collection.selectTheme")), 1),
1528
+ T("option", Aa, I(L(r)("exhibition.collection.allThemes")), 1),
1529
+ (N(!0), w(b, null, F(L(a), (e) => (N(), w("option", {
1530
1530
  key: e.value,
1531
1531
  value: e.value
1532
- }, V(e.label), 9, ja))), 128))
1532
+ }, I(e.label), 9, ja))), 128))
1533
1533
  ], 40, Oa),
1534
- (R(!0), N(k, null, B(o.value, (e) => (R(), N("select", {
1534
+ (N(!0), w(b, null, F(s.value, (e) => (N(), w("select", {
1535
1535
  key: e.key,
1536
1536
  class: "mwnf-dxa-exhibition-collection__select",
1537
- "aria-label": H(n)(e.name),
1538
- onChange: (t) => u(e.key, t.target.value)
1539
- }, [P("option", Na, V(H(n)(e.name)), 1), (R(!0), N(k, null, B(e.options, (e) => (R(), N("option", {
1537
+ "aria-label": L(r)(e.name),
1538
+ onChange: (t) => d(e.key, t.target.value)
1539
+ }, [T("option", Na, I(L(r)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
1540
1540
  key: e.value,
1541
1541
  value: String(e.value)
1542
- }, V(e.label), 9, Pa))), 128))], 40, Ma))), 128)),
1543
- P("div", Fa, [P("select", {
1542
+ }, I(e.label), 9, Pa))), 128))], 40, Ma))), 128)),
1543
+ T("div", Fa, [T("select", {
1544
1544
  class: "mwnf-dxa-exhibition-collection__select",
1545
- "aria-label": H(n)("exhibition.collection.startDate"),
1546
- onChange: t[1] ||= (e) => u("from", e.target.value)
1547
- }, [P("option", La, V(H(n)("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(l.value, (e) => (R(), N("option", {
1545
+ "aria-label": L(r)("exhibition.collection.startDate"),
1546
+ onChange: n[1] ||= (e) => d("from", e.target.value)
1547
+ }, [T("option", La, I(L(r)("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1548
1548
  key: e.value,
1549
1549
  value: String(e.value)
1550
- }, V(e.label), 9, Ra))), 128))], 40, Ia), P("select", {
1550
+ }, I(e.label), 9, Ra))), 128))], 40, Ia), T("select", {
1551
1551
  class: "mwnf-dxa-exhibition-collection__select",
1552
- "aria-label": H(n)("exhibition.collection.endDate"),
1553
- onChange: t[2] ||= (e) => u("to", e.target.value)
1554
- }, [P("option", Ba, V(H(n)("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(l.value, (e) => (R(), N("option", {
1552
+ "aria-label": L(r)("exhibition.collection.endDate"),
1553
+ onChange: n[2] ||= (e) => d("to", e.target.value)
1554
+ }, [T("option", Ba, I(L(r)("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1555
1555
  key: e.value,
1556
1556
  value: String(e.value)
1557
- }, V(e.label), 9, Va))), 128))], 40, za)])
1558
- ])]), I(H(G), {
1557
+ }, I(e.label), 9, Va))), 128))], 40, za)])
1558
+ ])]), O(L(e), {
1559
1559
  class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
1560
1560
  dir: "auto",
1561
1561
  keypath: "exhibition.collection.intro"
@@ -1583,56 +1583,56 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1583
1583
  }
1584
1584
  },
1585
1585
  setup(t) {
1586
- let n = t, r = A(() => n.variant === "institution"), i = Z(), a = A(() => Ce(i.params.id)), o = A(() => ({
1586
+ let n = t, r = x(() => n.variant === "institution"), i = Y(), a = x(() => $e(i.params.id)), o = x(() => ({
1587
1587
  entity: "items",
1588
1588
  scope: (e) => e.partner_id === a.value?.id,
1589
- ...qe,
1589
+ ...Ct,
1590
1590
  summary: () => [],
1591
- record: Ae
1591
+ record: ot
1592
1592
  }));
1593
1593
  function s(e) {
1594
1594
  let t = e[0];
1595
1595
  if (!t) return null;
1596
- let n = S("items", t.id, He);
1596
+ let n = Qe("items", t.id, vt);
1597
1597
  return {
1598
- name: E("partners", a.value?.id),
1599
- place: [n.location, E("countries", t.country_id)].filter(Boolean).join(", ")
1598
+ name: K("partners", a.value?.id),
1599
+ place: [n.location, K("countries", t.country_id)].filter(Boolean).join(", ")
1600
1600
  };
1601
1601
  }
1602
- return (n, i) => a.value ? (R(), N("div", Ua, [I(D, {
1602
+ return (n, i) => a.value ? (N(), w("div", Ua, [O(q, {
1603
1603
  spec: o.value,
1604
1604
  class: "mwnf-dxa-partner-objects"
1605
1605
  }, {
1606
- before: U(({ matching: t, pageInfo: n, goToPage: r }) => [
1607
- I(e),
1608
- s(t) ? (R(), N("div", Wa, [P("p", Ga, V(s(t).name), 1), P("p", Ka, V(s(t).place), 1)])) : M("", !0),
1609
- I(Q, {
1606
+ before: R(({ matching: e, pageInfo: t, goToPage: n }) => [
1607
+ O(B),
1608
+ s(e) ? (N(), w("div", Wa, [T("p", Ga, I(s(e).name), 1), T("p", Ka, I(s(e).place), 1)])) : C("", !0),
1609
+ O(Q, {
1610
1610
  class: "mwnf-dxa-exhibition-pages--top",
1611
- "page-info": n,
1612
- onNavigate: r
1611
+ "page-info": t,
1612
+ onNavigate: n
1613
1613
  }, null, 8, ["page-info", "onNavigate"])
1614
1614
  ]),
1615
- records: U(({ rows: e }) => [P("div", qa, [P("div", Ja, [e.length ? (R(), j($, {
1615
+ records: R(({ rows: o }) => [T("div", qa, [T("div", Ja, [o.length ? (N(), S($, {
1616
1616
  key: 0,
1617
- rows: e,
1617
+ rows: o,
1618
1618
  family: "exhibition"
1619
- }, null, 8, ["rows"])) : (R(), j(H(G), {
1619
+ }, null, 8, ["rows"])) : (N(), S(L(e), {
1620
1620
  key: 1,
1621
1621
  keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
1622
- }, null, 8, ["keypath"]))]), P("div", Ya, [I(H(X), { to: H(xe)(a.value) }, {
1623
- default: U(() => [i[0] ||= P("span", { "aria-hidden": "true" }, "➦", -1), F(" " + V(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
1622
+ }, null, 8, ["keypath"]))]), T("div", Ya, [O(L(J), { to: L(Xe)(a.value) }, {
1623
+ default: R(() => [i[0] ||= T("span", { "aria-hidden": "true" }, "➦", -1), D(" " + I(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
1624
1624
  _: 1
1625
1625
  }, 8, ["to"])])])]),
1626
- pagination: U(() => [...i[1] ||= []]),
1627
- after: U(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (R(), j(Q, {
1626
+ pagination: R(() => [...i[1] ||= []]),
1627
+ after: R(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (N(), S(Q, {
1628
1628
  key: 0,
1629
1629
  "page-info": e,
1630
1630
  onNavigate: t
1631
- }, null, 8, ["page-info", "onNavigate"])) : (R(), N("div", Xa))]),
1631
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Xa))]),
1632
1632
  _: 1
1633
- }, 8, ["spec"])])) : M("", !0);
1633
+ }, 8, ["spec"])])) : C("", !0);
1634
1634
  }
1635
- }, Qa = () => Promise.resolve().then(() => fs), $a = () => Promise.resolve().then(() => xs), eo = () => Promise.resolve().then(() => Cs), to = () => Promise.resolve().then(() => zs), no = () => Promise.resolve().then(() => Hs), ro = () => Promise.resolve().then(() => Gs), io = () => import("./Theme-BCn6_VkI.js").then((e) => e.t), ao = () => Promise.resolve().then(() => lc), oo = () => Promise.resolve().then(() => Oc), so = () => Promise.resolve().then(() => Ac), co = () => Promise.resolve().then(() => Kc), lo = {
1635
+ }, Qa = () => Promise.resolve().then(() => fs), $a = () => Promise.resolve().then(() => xs), eo = () => Promise.resolve().then(() => Cs), to = () => Promise.resolve().then(() => zs), no = () => Promise.resolve().then(() => Hs), ro = () => Promise.resolve().then(() => Gs), io = () => import("./Theme-BUfsZDdm.js").then((e) => e.t), ao = () => Promise.resolve().then(() => lc), oo = () => Promise.resolve().then(() => Oc), so = () => Promise.resolve().then(() => Ac), co = () => Promise.resolve().then(() => Kc), lo = {
1636
1636
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
1637
1637
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
1638
1638
  institutionSummary: "exhibition.partner.monumentsInExhibition",
@@ -1640,7 +1640,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1640
1640
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
1641
1641
  };
1642
1642
  function uo(e) {
1643
- let t = kt([
1643
+ let t = u([
1644
1644
  "gallery",
1645
1645
  "items",
1646
1646
  "partners",
@@ -1677,7 +1677,7 @@ function uo(e) {
1677
1677
  {
1678
1678
  path: "/how-to-search",
1679
1679
  name: "search-how-to",
1680
- component: Jt,
1680
+ component: Yt,
1681
1681
  meta: t("database")
1682
1682
  },
1683
1683
  {
@@ -1689,10 +1689,10 @@ function uo(e) {
1689
1689
  {
1690
1690
  path: "/partner/:id",
1691
1691
  name: "partner",
1692
- component: Ht,
1692
+ component: Ut,
1693
1693
  props: (e) => ({
1694
1694
  id: String(e.params.id),
1695
- family: _e
1695
+ family: Ke
1696
1696
  }),
1697
1697
  meta: t("partners", "languages")
1698
1698
  },
@@ -1717,13 +1717,13 @@ function uo(e) {
1717
1717
  {
1718
1718
  path: "/about",
1719
1719
  name: "about",
1720
- component: Wt,
1720
+ component: Gt,
1721
1721
  meta: t("about")
1722
1722
  },
1723
1723
  {
1724
1724
  path: "/credits",
1725
1725
  name: "credits",
1726
- component: Gt,
1726
+ component: Kt,
1727
1727
  props: { bodyKey: n },
1728
1728
  meta: t("credits")
1729
1729
  },
@@ -1742,7 +1742,7 @@ function uo(e) {
1742
1742
  ];
1743
1743
  }
1744
1744
  function fo(e) {
1745
- let t = kt([
1745
+ let t = u([
1746
1746
  "exhibition",
1747
1747
  "items",
1748
1748
  "partners",
@@ -1805,7 +1805,7 @@ function fo(e) {
1805
1805
  ...e.creditsBody ? [{
1806
1806
  path: "/credits",
1807
1807
  name: "credits",
1808
- component: qt,
1808
+ component: Jt,
1809
1809
  props: { bodyKey: e.creditsBody },
1810
1810
  meta: t("credits")
1811
1811
  }] : []
@@ -1831,10 +1831,10 @@ function fo(e) {
1831
1831
  {
1832
1832
  path: "/partner/:id",
1833
1833
  name: "partner",
1834
- component: Ht,
1834
+ component: Ut,
1835
1835
  props: (e) => ({
1836
1836
  id: String(e.params.id),
1837
- family: be
1837
+ family: Ye
1838
1838
  }),
1839
1839
  meta: t("partners", "languages")
1840
1840
  },
@@ -1848,10 +1848,10 @@ function fo(e) {
1848
1848
  {
1849
1849
  path: "/institution/:id",
1850
1850
  name: "institution",
1851
- component: Ht,
1851
+ component: Ut,
1852
1852
  props: (e) => ({
1853
1853
  id: String(e.params.id),
1854
- family: be,
1854
+ family: Ye,
1855
1855
  variant: "institution"
1856
1856
  }),
1857
1857
  meta: t("partners", "languages")
@@ -1942,53 +1942,53 @@ var _o = {
1942
1942
  },
1943
1943
  emits: ["update:language"],
1944
1944
  setup(e, { emit: t }) {
1945
- let n = e, r = t, { t: i, locale: a } = J(), o = Pt(), s = A(() => o.links ?? {}), c = A(() => o.galleryShell ?? {}), l = Nt(), u = A(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
1945
+ let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => o.galleryShell ?? {}), l = h(), u = x(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
1946
1946
  function f(e) {
1947
1947
  return e?.[a.value] ?? e?.en ?? "";
1948
1948
  }
1949
- let m = A(() => te(f));
1950
- function h(e, t) {
1949
+ let m = x(() => Oe(f));
1950
+ function _(e, t) {
1951
1951
  if (!(e in c.value)) return t();
1952
1952
  let n = c.value[e];
1953
1953
  return n ? i(n) : "";
1954
1954
  }
1955
- let g = A(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), v = A(() => u.value ? "" : h("headerTitle", () => m.value)), y = A(() => c.value.bannerImage ? $e(o.chrome, c.value.bannerImage) : re(me.value?.banner_image_path, "hi_res")), b = A(() => {
1955
+ let v = x(() => u.value ? "" : _("headerEyebrow", () => i("core.project.galleries"))), y = x(() => u.value ? "" : _("headerTitle", () => m.value)), b = x(() => c.value.bannerImage ? jt(o.chrome, c.value.bannerImage) : Me(Ue.value?.banner_image_path, "hi_res")), C = x(() => {
1956
1956
  if (c.value.bannerCaption) return c.value.bannerCaption;
1957
- let e = ue.value.get(me.value?.banner_item_id);
1957
+ let e = ze.value.get(Ue.value?.banner_item_id);
1958
1958
  if (!e) return "";
1959
- let t = p("items", e.id, fe);
1959
+ let t = be("items", e.id, Ve);
1960
1960
  return {
1961
- name: _("items", e.id),
1962
- partner: _("partners", e.partner_id),
1961
+ name: we("items", e.id),
1962
+ partner: we("partners", e.partner_id),
1963
1963
  location: t.location ?? "",
1964
- country: _("countries", e.country_id)
1964
+ country: we("countries", e.country_id)
1965
1965
  };
1966
- }), x = A(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), ne = A(() => u.value ? h("bannerTitle", () => m.value) : void 0), ie = A(() => c.value.notice === !1 ? null : {
1966
+ }), w = x(() => u.value ? _("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), D = x(() => u.value ? _("bannerTitle", () => m.value) : void 0), O = x(() => c.value.notice === !1 ? null : {
1967
1967
  title: i("gallery.notice.tip"),
1968
- text: `${i("gallery.notice.searchThe")} ${te(ee)} ${i("gallery.notice.database")}`
1969
- }), ae = A(() => !!$e(o.chrome, o.brand?.logo));
1970
- return (e, t) => (R(), j(Xe, {
1971
- class: L(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
1968
+ text: `${i("gallery.notice.searchThe")} ${Oe(De)} ${i("gallery.notice.database")}`
1969
+ }), A = x(() => !!jt(o.chrome, o.brand?.logo));
1970
+ return (e, t) => (N(), S(Ot, {
1971
+ class: k(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
1972
1972
  languages: n.languages,
1973
1973
  language: n.language,
1974
1974
  "language-placement": "none",
1975
1975
  "header-home": s.value.portal,
1976
- "header-eyebrow": g.value,
1977
- "header-title": v.value,
1976
+ "header-eyebrow": v.value,
1977
+ "header-title": y.value,
1978
1978
  "header-title-href": "#/",
1979
- "banner-image": y.value,
1980
- "banner-caption": b.value,
1981
- "banner-eyebrow": x.value,
1982
- "banner-title": ne.value,
1983
- notice: ie.value,
1984
- "footer-text": `${H(i)("core.footer.copyright")} 2004–${H(d)}`,
1979
+ "banner-image": b.value,
1980
+ "banner-caption": C.value,
1981
+ "banner-eyebrow": w.value,
1982
+ "banner-title": D.value,
1983
+ notice: O.value,
1984
+ "footer-text": `${L(i)("core.footer.copyright")} 2004–${L(d)}`,
1985
1985
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1986
- }, ct({
1987
- default: U(() => [pt(e.$slots, "default")]),
1986
+ }, E({
1987
+ default: R(() => [te(e.$slots, "default")]),
1988
1988
  _: 2
1989
- }, [ae.value ? void 0 : {
1989
+ }, [A.value ? void 0 : {
1990
1990
  name: "brand",
1991
- fn: U(() => [t[1] ||= P("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1991
+ fn: R(() => [t[1] ||= T("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
1992
1992
  key: "0"
1993
1993
  }]), 1032, [
1994
1994
  "class",
@@ -2029,20 +2029,20 @@ var _o = {
2029
2029
  }
2030
2030
  },
2031
2031
  setup(e) {
2032
- let t = e, n = z(!1), r = A(() => t.rawHtml ? t.content : q(t.content)), i = A(() => t.enabled && !!t.content && !n.value);
2033
- return (t, a) => i.value ? (R(), N("div", vo, [P("button", {
2032
+ let t = e, n = P(!1), r = x(() => t.rawHtml ? t.content : c(t.content)), i = x(() => t.enabled && !!t.content && !n.value);
2033
+ return (t, a) => i.value ? (N(), w("div", vo, [T("button", {
2034
2034
  class: "mwnf-popup-logo__close",
2035
2035
  "aria-label": t.$t(e.closeLabel),
2036
2036
  onClick: a[0] ||= (e) => n.value = !0
2037
- }, "✕", 8, yo), e.rawHtml ? (R(), N("div", {
2037
+ }, "✕", 8, yo), e.rawHtml ? (N(), w("div", {
2038
2038
  key: 0,
2039
2039
  class: "mwnf-popup-logo__content",
2040
2040
  innerHTML: r.value
2041
- }, null, 8, bo)) : (R(), N("div", {
2041
+ }, null, 8, bo)) : (N(), w("div", {
2042
2042
  key: 1,
2043
2043
  class: "mwnf-popup-logo__content",
2044
2044
  innerHTML: r.value
2045
- }, null, 8, xo))])) : M("", !0);
2045
+ }, null, 8, xo))])) : C("", !0);
2046
2046
  }
2047
2047
  }, Co = {
2048
2048
  __name: "Shell",
@@ -2058,37 +2058,37 @@ var _o = {
2058
2058
  },
2059
2059
  emits: ["update:language"],
2060
2060
  setup(e, { emit: t }) {
2061
- let n = e, r = t, { t: i, locale: a } = J(), o = Pt(), s = A(() => o.links ?? {}), c = A(() => !!$e(o.chrome, o.brand?.logo)), l = Nt(), u = A(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = A(() => o.exhibition ?? {});
2062
- function p(e) {
2061
+ let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => !!jt(o.chrome, o.brand?.logo)), l = h(), u = x(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = x(() => o.exhibition ?? {});
2062
+ function m(e) {
2063
2063
  return e ? {
2064
- image: $e(o.chrome, e.image) ?? T.value.get(e.item)?.images?.[0]?.url ?? "",
2064
+ image: jt(o.chrome, e.image) ?? G.value.get(e.item)?.images?.[0]?.url ?? "",
2065
2065
  itemId: e.item ?? null
2066
2066
  } : null;
2067
2067
  }
2068
- let m = A(() => f.value.home === void 0 ? C.value?.homepage_image_path ? {
2069
- image: Ve(C.value.homepage_image_path, "hi_res"),
2070
- itemId: C.value?.homepage_item_id
2071
- } : null : p(f.value.home)), h = A(() => f.value.banner === void 0 ? {
2072
- image: Ve(C.value?.banner_image_path, "hi_res"),
2073
- itemId: C.value?.banner_item_id
2074
- } : p(f.value.banner)), g = A(() => u.value && m.value?.image || null);
2075
- bt(() => {
2068
+ let _ = x(() => f.value.home === void 0 ? U.value?.homepage_image_path ? {
2069
+ image: _t(U.value.homepage_image_path, "hi_res"),
2070
+ itemId: U.value?.homepage_item_id
2071
+ } : null : m(f.value.home)), v = x(() => f.value.banner === void 0 ? {
2072
+ image: _t(U.value?.banner_image_path, "hi_res"),
2073
+ itemId: U.value?.banner_item_id
2074
+ } : m(f.value.banner)), y = x(() => u.value && _.value?.image || null);
2075
+ ce(() => {
2076
2076
  if (typeof document > "u") return;
2077
- let e = m.value?.image ?? "";
2077
+ let e = _.value?.image ?? "";
2078
2078
  e ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${e.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
2079
2079
  });
2080
- let _ = A(() => g.value ?? h.value?.image ?? null), v = A(() => {
2081
- let e = g.value ? m.value?.itemId : h.value?.itemId, t = T.value.get(e);
2082
- if (!t) return g.value ? "" : Re(a.value);
2083
- let n = S("items", t.id, He);
2080
+ let b = x(() => y.value ?? v.value?.image ?? null), C = x(() => {
2081
+ let e = y.value ? _.value?.itemId : v.value?.itemId, t = G.value.get(e);
2082
+ if (!t) return y.value ? "" : mt(a.value);
2083
+ let n = Qe("items", t.id, vt);
2084
2084
  return {
2085
- name: E("items", t.id),
2085
+ name: K("items", t.id),
2086
2086
  holder: n.holder ?? "",
2087
2087
  location: n.location ?? "",
2088
2088
  province: "",
2089
- country: E("countries", t.country_id)
2089
+ country: K("countries", t.country_id)
2090
2090
  };
2091
- }), y = A(() => [{
2091
+ }), w = x(() => [{
2092
2092
  label: i("core.nav.about"),
2093
2093
  description: i("exhibition.nav.introduction"),
2094
2094
  href: "#/about"
@@ -2097,18 +2097,18 @@ var _o = {
2097
2097
  description: i("exhibition.nav.contentAtAGlance"),
2098
2098
  href: "#/themes"
2099
2099
  }]);
2100
- function ee(e) {
2100
+ function D(e) {
2101
2101
  return e.labels?.[a.value] ?? e.labels?.en ?? e.alt_text ?? "";
2102
2102
  }
2103
- let te = A(() => {
2103
+ let k = x(() => {
2104
2104
  let e = o.sponsorLogos;
2105
2105
  return Array.isArray(e) ? e.map((e) => ({
2106
2106
  ...e,
2107
- image: $e(o.chrome, e.image),
2107
+ image: jt(o.chrome, e.image),
2108
2108
  alt: e.alt ? i(e.alt) : ""
2109
- })).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
2110
- image: e.legacy_path ? Ve(e.legacy_path, "full") : null,
2111
- alt: ee(e),
2109
+ })).filter((e) => e.image) : (U.value?.logos ?? []).map((e) => ({
2110
+ image: e.legacy_path ? _t(e.legacy_path, "full") : null,
2111
+ alt: D(e),
2112
2112
  href: e.url || void 0,
2113
2113
  category_id: e.category_id,
2114
2114
  category: e.category,
@@ -2116,61 +2116,61 @@ var _o = {
2116
2116
  display_order: e.display_order
2117
2117
  })).filter((e) => e.image);
2118
2118
  });
2119
- function b(e) {
2119
+ function A(e) {
2120
2120
  let t = o.media?.legacyHost;
2121
2121
  if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
2122
2122
  let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
2123
- return Qe(o.chrome, n);
2123
+ return At(o.chrome, n);
2124
2124
  }
2125
- let x = A(() => f.value.popup), ne = A(() => {
2126
- if (x.value !== void 0) {
2127
- let e = x.value?.body, t = e ? i(e) : "";
2128
- return Ze(Ee(t && t !== e ? t : "", { glossary: [] }), (e) => et(o.chrome, e));
2125
+ let j = x(() => f.value.popup), M = x(() => {
2126
+ if (j.value !== void 0) {
2127
+ let e = j.value?.body, t = e ? i(e) : "";
2128
+ return kt(nt(t && t !== e ? t : "", { glossary: [] }), (e) => Mt(o.chrome, e));
2129
2129
  }
2130
- return Ze(Ee(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? "", { glossary: [] }), b);
2131
- }), re = A(() => {
2132
- if (x.value !== void 0) return !!x.value?.body;
2133
- let e = C.value?.popup_logo_show;
2130
+ return kt(nt(U.value?.popup_logos?.[a.value] ?? U.value?.popup_logos?.en ?? "", { glossary: [] }), A);
2131
+ }), ee = x(() => {
2132
+ if (j.value !== void 0) return !!j.value?.body;
2133
+ let e = U.value?.popup_logo_show;
2134
2134
  return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
2135
2135
  });
2136
- return (e, t) => (R(), j(Xe, {
2136
+ return (e, t) => (N(), S(Ot, {
2137
2137
  languages: n.languages,
2138
2138
  language: n.language,
2139
2139
  "language-placement": "header",
2140
2140
  "language-style": "select",
2141
2141
  "header-home": s.value.portal,
2142
- "header-title": H(i)("exhibition.identity.tagline"),
2142
+ "header-title": L(i)("exhibition.identity.tagline"),
2143
2143
  "header-title-href": "#/about",
2144
- "banner-image": _.value,
2145
- "banner-caption": v.value,
2146
- "banner-caption-label": H(i)("layout.banner.detailFrom"),
2147
- "banner-title": u.value ? H(je)(H(a)) : "",
2148
- "banner-subtitle": u.value ? H(We)(H(a)) : "",
2149
- "banner-headline": u.value ? H(Le)(H(a)) : "",
2144
+ "banner-image": b.value,
2145
+ "banner-caption": C.value,
2146
+ "banner-caption-label": L(i)("layout.banner.detailFrom"),
2147
+ "banner-title": u.value ? L(st)(L(a)) : "",
2148
+ "banner-subtitle": u.value ? L(bt)(L(a)) : "",
2149
+ "banner-headline": u.value ? L(pt)(L(a)) : "",
2150
2150
  "banner-enter": u.value ? {
2151
- label: H(i)("exhibition.action.enter"),
2151
+ label: L(i)("exhibition.action.enter"),
2152
2152
  href: "#/about"
2153
2153
  } : null,
2154
- "banner-strapline": u.value ? H(i)("exhibition.identity.strapline") : "",
2154
+ "banner-strapline": u.value ? L(i)("exhibition.identity.strapline") : "",
2155
2155
  "hyperlinks-variant": "tiles",
2156
- "hyperlinks-title": H(je)(H(a)),
2156
+ "hyperlinks-title": L(st)(L(a)),
2157
2157
  "hyperlinks-title-href": "#/",
2158
- "hyperlinks-subtitle": H(We)(H(a)),
2159
- hyperlinks: y.value,
2160
- "footer-text": `${H(i)("core.footer.copyright")} 2004–${H(d)}`,
2161
- logos: te.value,
2158
+ "hyperlinks-subtitle": L(bt)(L(a)),
2159
+ hyperlinks: w.value,
2160
+ "footer-text": `${L(i)("core.footer.copyright")} 2004–${L(d)}`,
2161
+ logos: k.value,
2162
2162
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
2163
- }, ct({
2164
- notice: U(() => [I(So, {
2165
- content: ne.value,
2166
- enabled: re.value,
2163
+ }, E({
2164
+ notice: R(() => [O(So, {
2165
+ content: M.value,
2166
+ enabled: ee.value,
2167
2167
  "raw-html": ""
2168
2168
  }, null, 8, ["content", "enabled"])]),
2169
- default: U(() => [pt(e.$slots, "default")]),
2169
+ default: R(() => [te(e.$slots, "default")]),
2170
2170
  _: 2
2171
2171
  }, [c.value ? void 0 : {
2172
2172
  name: "brand",
2173
- fn: U(() => [t[1] ||= P("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
2173
+ fn: R(() => [t[1] ||= T("span", { class: "mwnf-dxa-logo-mark" }, "MWNF", -1)]),
2174
2174
  key: "0"
2175
2175
  }]), 1032, [
2176
2176
  "languages",
@@ -2198,7 +2198,7 @@ var _o = {
2198
2198
  sharinghistory: "mwnf-chip--AWE",
2199
2199
  carpets: "mwnf-chip--DCA",
2200
2200
  glass: "mwnf-chip--DGA"
2201
- }, To = new Set(St.filter((e) => e.family === "exhibition").map((e) => e.slug));
2201
+ }, To = new Set(t.filter((e) => e.family === "exhibition").map((e) => e.slug));
2202
2202
  function Eo(e) {
2203
2203
  let t = {};
2204
2204
  for (let [n, r] of Object.entries(e?.projects ?? {})) {
@@ -2219,16 +2219,16 @@ function Oo({ country: e, start: t, end: n, page: r }) {
2219
2219
  query: i
2220
2220
  };
2221
2221
  }
2222
- function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
2223
- let { manifest: c } = At(), l = Et();
2222
+ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {}, noticeProjects: c = [], creditsBody: l, chrome: u = {}, homeLogos: f = [] }) {
2223
+ let { manifest: p } = d(), m = o();
2224
2224
  return {
2225
2225
  datasetPackage: e,
2226
- siteName: c.site?.names?.en ?? t,
2226
+ siteName: p.site?.names?.en ?? t,
2227
2227
  features: { entities: [] },
2228
- languages: l,
2228
+ languages: m,
2229
2229
  shell: _o,
2230
2230
  navigation: {
2231
- languages: wt(l),
2231
+ languages: r(m),
2232
2232
  links: [
2233
2233
  {
2234
2234
  section: "about",
@@ -2257,7 +2257,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2257
2257
  },
2258
2258
  {
2259
2259
  label: "core.nav.myCollection",
2260
- href: K.myCollection,
2260
+ href: a.myCollection,
2261
2261
  external: !0
2262
2262
  }
2263
2263
  ],
@@ -2266,33 +2266,33 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2266
2266
  to: { name: "home" }
2267
2267
  }, {
2268
2268
  label: "gallery.nav.allGalleries",
2269
- href: `${K.galleries}/list/1`,
2269
+ href: `${a.galleries}/list/1`,
2270
2270
  external: !0
2271
2271
  }],
2272
2272
  footerLinks: [
2273
2273
  {
2274
2274
  label: "core.footer.aboutMwnf",
2275
- href: K.about,
2275
+ href: a.about,
2276
2276
  external: !0
2277
2277
  },
2278
2278
  {
2279
2279
  label: "core.footer.contact",
2280
- href: K.contact,
2280
+ href: a.contact,
2281
2281
  external: !0
2282
2282
  },
2283
2283
  {
2284
2284
  label: "core.footer.legalNotice",
2285
- href: K.legalNotice,
2285
+ href: a.legalNotice,
2286
2286
  external: !0
2287
2287
  },
2288
2288
  {
2289
2289
  label: "core.footer.credits",
2290
- href: K.credits,
2290
+ href: a.credits,
2291
2291
  external: !0
2292
2292
  },
2293
2293
  {
2294
2294
  label: "core.footer.cookies",
2295
- href: K.cookies,
2295
+ href: a.cookies,
2296
2296
  external: !0
2297
2297
  }
2298
2298
  ],
@@ -2313,7 +2313,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2313
2313
  empty: "all-objects"
2314
2314
  },
2315
2315
  placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
2316
- socialLinks: tt
2316
+ socialLinks: Nt
2317
2317
  },
2318
2318
  banner: {
2319
2319
  variant: ({ section: e }) => e === "home" ? "strip" : "section",
@@ -2324,30 +2324,30 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2324
2324
  ariaLabel: t("gallery.action.goToCollection")
2325
2325
  } : null
2326
2326
  },
2327
- chrome: o,
2327
+ chrome: u,
2328
2328
  brand: {
2329
2329
  logo: "logo.png",
2330
2330
  alt: "MWNF Logo"
2331
2331
  },
2332
- homeLogos: s,
2332
+ homeLogos: f,
2333
2333
  media: { legacyHost: "https://images.museumwnf.org" },
2334
- links: { ...K },
2334
+ links: { ...a },
2335
2335
  projectColors: {
2336
- ...Eo(c),
2337
- ...r
2336
+ ...Eo(p),
2337
+ ...s
2338
2338
  },
2339
- noticeProjects: i,
2339
+ noticeProjects: c,
2340
2340
  site: { origin: n },
2341
2341
  extraViews: po("gallery", {
2342
- creditsBody: a,
2342
+ creditsBody: l,
2343
2343
  pages: !0
2344
2344
  }),
2345
2345
  legacyRoutes: [
2346
2346
  {
2347
2347
  path: "/database-item/:uid(.*)/:language",
2348
2348
  async resolve({ uid: e }) {
2349
- await Tt(["items"]);
2350
- let t = ne(e);
2349
+ await i(["items"]);
2350
+ let t = je(e);
2351
2351
  return t ? {
2352
2352
  name: "item",
2353
2353
  params: { id: t.id }
@@ -2357,8 +2357,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2357
2357
  {
2358
2358
  path: "/partner/:country/:id/:language",
2359
2359
  async resolve({ country: e, id: t }) {
2360
- await Tt(["partners"]);
2361
- let n = h(e, t);
2360
+ await i(["partners"]);
2361
+ let n = Se(e, t);
2362
2362
  return n ? {
2363
2363
  name: "partner",
2364
2364
  params: { id: n.id }
@@ -2368,8 +2368,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2368
2368
  {
2369
2369
  path: "/partner-objects/:country/:id/:page",
2370
2370
  async resolve({ country: e, id: t, page: n }) {
2371
- await Tt(["partners"]);
2372
- let r = h(e, t);
2371
+ await i(["partners"]);
2372
+ let r = Se(e, t);
2373
2373
  return r ? {
2374
2374
  name: "partner-objects",
2375
2375
  params: { id: r.id },
@@ -2400,20 +2400,20 @@ function jo(e) {
2400
2400
  for (let [n, r] of Object.entries(e)) Ao.includes(n) ? r !== void 0 && (t[n] = r) : console.warn(`exhibitionConfig: unknown option "${n}"`);
2401
2401
  return t;
2402
2402
  }
2403
- function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c, legacyRoutes: l = !0, ...u }) {
2404
- let { manifest: d } = At(), f = Et(), p = async (e, t) => (await Tt([
2403
+ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: s = [], creditsBody: c, partnerObjects: l, chrome: u = {}, sponsorLogos: f, legacyRoutes: p = !0, ...m }) {
2404
+ let { manifest: h } = d(), g = o(), _ = async (e, t) => (await i([
2405
2405
  "exhibition",
2406
2406
  "partners",
2407
2407
  "countries"
2408
- ]), ho(Te.value, ke.value, e, t));
2408
+ ]), ho(tt.value, at.value, e, t));
2409
2409
  return {
2410
2410
  datasetPackage: e,
2411
- siteName: d.site?.names?.en ?? t,
2411
+ siteName: h.site?.names?.en ?? t,
2412
2412
  features: { entities: [] },
2413
- languages: f,
2413
+ languages: g,
2414
2414
  shell: Co,
2415
2415
  navigation: {
2416
- languages: f.map((e) => ({
2416
+ languages: g.map((e) => ({
2417
2417
  code: e,
2418
2418
  label: String(e).toUpperCase()
2419
2419
  })),
@@ -2442,7 +2442,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2442
2442
  section: "timeline",
2443
2443
  label: "core.nav.timeline",
2444
2444
  to: { name: "timeline" },
2445
- when: () => Me.value
2445
+ when: () => ct.value
2446
2446
  },
2447
2447
  {
2448
2448
  section: "related",
@@ -2456,7 +2456,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2456
2456
  },
2457
2457
  {
2458
2458
  label: "core.nav.myCollection",
2459
- href: K.myCollection,
2459
+ href: a.myCollection,
2460
2460
  external: !0
2461
2461
  }
2462
2462
  ],
@@ -2465,33 +2465,33 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2465
2465
  to: { name: "home" }
2466
2466
  }, {
2467
2467
  label: "core.footer.aboutMwnf",
2468
- href: K.about,
2468
+ href: a.about,
2469
2469
  external: !0
2470
2470
  }],
2471
2471
  footerLinks: [
2472
2472
  {
2473
2473
  label: "core.footer.aboutMwnf",
2474
- href: K.about,
2474
+ href: a.about,
2475
2475
  external: !0
2476
2476
  },
2477
2477
  {
2478
2478
  label: "core.footer.contact",
2479
- href: K.contact,
2479
+ href: a.contact,
2480
2480
  external: !0
2481
2481
  },
2482
2482
  {
2483
2483
  label: "core.footer.legalNotice",
2484
- href: K.legalNotice,
2484
+ href: a.legalNotice,
2485
2485
  external: !0
2486
2486
  },
2487
2487
  {
2488
2488
  label: "core.footer.credits",
2489
- href: K.credits,
2489
+ href: a.credits,
2490
2490
  external: !0
2491
2491
  },
2492
2492
  {
2493
2493
  label: "core.footer.cookies",
2494
- href: K.cookies,
2494
+ href: a.cookies,
2495
2495
  external: !0
2496
2496
  }
2497
2497
  ],
@@ -2513,7 +2513,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2513
2513
  empty: "all-items"
2514
2514
  },
2515
2515
  placement: "before-banner",
2516
- socialLinks: tt
2516
+ socialLinks: Nt
2517
2517
  },
2518
2518
  banner: {
2519
2519
  variant: ({ section: e }) => e === "home" ? "split" : "section",
@@ -2521,16 +2521,16 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2521
2521
  if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
2522
2522
  let n = Number(e.params.id);
2523
2523
  if (!Number.isInteger(n) || n < 1) return "";
2524
- let r = `${t("exhibition.theme.romanLabel")} ${Rt(n + 1)}`, i = e.params.subtheme;
2524
+ let r = `${t("exhibition.theme.romanLabel")} ${Dt(n + 1)}`, i = e.params.subtheme;
2525
2525
  return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
2526
2526
  }
2527
2527
  },
2528
- chrome: s,
2528
+ chrome: u,
2529
2529
  brand: {
2530
2530
  logo: "logo_black.png",
2531
2531
  alt: "MWNF Logo"
2532
2532
  },
2533
- sponsorLogos: c,
2533
+ sponsorLogos: f,
2534
2534
  logos: {
2535
2535
  header: (e) => Number(e.category_id) === 0 && e.visible !== !1,
2536
2536
  headerTitle: "exhibition.sponsors.coOrganisers",
@@ -2552,25 +2552,25 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2552
2552
  }
2553
2553
  },
2554
2554
  media: { legacyHost: "https://images.museumwnf.org" },
2555
- links: { ...K },
2555
+ links: { ...a },
2556
2556
  projectColors: {
2557
- ...Eo(d),
2557
+ ...Eo(h),
2558
2558
  ...r
2559
2559
  },
2560
- noticeProjects: i,
2560
+ noticeProjects: s,
2561
2561
  site: { origin: n },
2562
- exhibition: jo(u),
2562
+ exhibition: jo(m),
2563
2563
  extraViews: po("exhibition", {
2564
- creditsBody: a,
2565
- partnerObjects: o,
2564
+ creditsBody: c,
2565
+ partnerObjects: l,
2566
2566
  pages: !0
2567
2567
  }),
2568
- legacyRoutes: l === !1 ? [] : [
2568
+ legacyRoutes: p === !1 ? [] : [
2569
2569
  {
2570
2570
  path: "/database-item/:uid(.*)/:language",
2571
2571
  async resolve({ uid: e }) {
2572
- await Tt(["items"]);
2573
- let t = go(Oe.value, e);
2572
+ await i(["items"]);
2573
+ let t = go(it.value, e);
2574
2574
  return t ? {
2575
2575
  name: "item",
2576
2576
  params: { id: t.id }
@@ -2580,7 +2580,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2580
2580
  {
2581
2581
  path: "/partner/:country/:id/:language",
2582
2582
  async resolve({ country: e, id: t }) {
2583
- let n = await p(e, t);
2583
+ let n = await _(e, t);
2584
2584
  return n ? {
2585
2585
  name: "partner",
2586
2586
  params: { id: n.id }
@@ -2590,7 +2590,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2590
2590
  {
2591
2591
  path: "/partner-objects/:country/:id/:page",
2592
2592
  async resolve({ country: e, id: t, page: n }) {
2593
- let r = await p(e, t);
2593
+ let r = await _(e, t);
2594
2594
  return r ? {
2595
2595
  name: "partner-objects",
2596
2596
  params: { id: r.id },
@@ -2601,7 +2601,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2601
2601
  {
2602
2602
  path: "/institution/:country/:id/:language",
2603
2603
  async resolve({ country: e, id: t }) {
2604
- let n = await p(e, t);
2604
+ let n = await _(e, t);
2605
2605
  return n ? {
2606
2606
  name: "institution",
2607
2607
  params: { id: n.id }
@@ -2611,7 +2611,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2611
2611
  {
2612
2612
  path: "/institution-monuments/:country/:id/:page",
2613
2613
  async resolve({ country: e, id: t, page: n }) {
2614
- let r = await p(e, t);
2614
+ let r = await _(e, t);
2615
2615
  return r ? {
2616
2616
  name: "institution-monuments",
2617
2617
  params: { id: r.id },
@@ -2670,70 +2670,70 @@ var No = {
2670
2670
  },
2671
2671
  setup(e) {
2672
2672
  let t = e;
2673
- function r(e) {
2673
+ function n(e) {
2674
2674
  let t = String(e ?? "").replace(/<[^>]*>/g, " ");
2675
2675
  return (typeof DOMParser > "u" ? t : new DOMParser().parseFromString(t, "text/html").documentElement.textContent ?? "").replace(/\s+/g, " ").trim();
2676
2676
  }
2677
- function i(e, t) {
2677
+ function r(e, t) {
2678
2678
  if (!e || e.length <= t) return e;
2679
2679
  let n = e.lastIndexOf(" ", t);
2680
2680
  return `${e.slice(0, n > 0 ? n : t)}...`;
2681
2681
  }
2682
- let a = A(() => t.partners.length ? t.partners.map((e) => ({
2682
+ let i = x(() => t.partners.length ? t.partners.map((e) => ({
2683
2683
  id: e.id,
2684
2684
  name: e.plainName,
2685
2685
  logo: e.pictures?.[0]?.url ?? e.logos?.[0]?.url ?? null,
2686
2686
  city: e.city,
2687
2687
  country: e.country,
2688
- description: i(r(e.description), t.descriptionLength),
2688
+ description: r(n(e.description), t.descriptionLength),
2689
2689
  route: e.route,
2690
2690
  objectsRoute: e.objectsRoute ?? null
2691
- })) : t.records), o = z(0), s = null;
2692
- function c(e) {
2693
- o.value = e, l();
2691
+ })) : t.records), a = P(0), o = null;
2692
+ function s(e) {
2693
+ a.value = e, c();
2694
2694
  }
2695
- function l() {
2696
- s && clearInterval(s), a.value.length > 0 && (s = setInterval(() => {
2697
- o.value = (o.value + 1) % a.value.length;
2695
+ function c() {
2696
+ o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
2697
+ a.value = (a.value + 1) % i.value.length;
2698
2698
  }, Go));
2699
2699
  }
2700
- return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (R(), N("section", No, [
2701
- P("h2", Po, V(t.$t(e.headingEntry)), 1),
2702
- P("div", Fo, [(R(!0), N(k, null, B(a.value, (r, i) => W((R(), N("div", {
2703
- key: r.id,
2700
+ return M(c), j(() => o && clearInterval(o)), (t, n) => i.value.length ? (N(), w("section", No, [
2701
+ T("h2", Po, I(t.$t(e.headingEntry)), 1),
2702
+ T("div", Fo, [(N(!0), w(b, null, F(i.value, (n, r) => z((N(), w("div", {
2703
+ key: n.id,
2704
2704
  class: "mwnf-featured-partners__card"
2705
- }, [r.logo ? (R(), N("span", Io, [P("img", {
2706
- src: r.logo,
2707
- alt: r.name,
2705
+ }, [n.logo ? (N(), w("span", Io, [T("img", {
2706
+ src: n.logo,
2707
+ alt: n.name,
2708
2708
  class: "mwnf-featured-partners__logo"
2709
- }, null, 8, Lo)])) : M("", !0), P("span", Ro, [
2710
- P("span", zo, V(r.name), 1),
2711
- P("span", Bo, [r.city ? (R(), N("span", Vo, V(r.city) + ", ", 1)) : M("", !0), F(V(r.country), 1)]),
2712
- P("span", Ho, V(r.description), 1),
2713
- r.route ? (R(), j(n, {
2709
+ }, null, 8, Lo)])) : C("", !0), T("span", Ro, [
2710
+ T("span", zo, I(n.name), 1),
2711
+ T("span", Bo, [n.city ? (N(), w("span", Vo, I(n.city) + ", ", 1)) : C("", !0), D(I(n.country), 1)]),
2712
+ T("span", Ho, I(n.description), 1),
2713
+ n.route ? (N(), S(V, {
2714
2714
  key: 0,
2715
- to: r.route,
2715
+ to: n.route,
2716
2716
  class: "mwnf-featured-partners__more"
2717
2717
  }, {
2718
- default: U(() => [F(V(t.$t(e.readMoreEntry)) + " >>", 1)]),
2718
+ default: R(() => [D(I(t.$t(e.readMoreEntry)) + " >>", 1)]),
2719
2719
  _: 1
2720
- }, 8, ["to"])) : M("", !0),
2721
- r.objectsRoute ? (R(), j(n, {
2720
+ }, 8, ["to"])) : C("", !0),
2721
+ n.objectsRoute ? (N(), S(V, {
2722
2722
  key: 1,
2723
- to: r.objectsRoute,
2723
+ to: n.objectsRoute,
2724
2724
  class: "mwnf-featured-partners__more"
2725
2725
  }, {
2726
- default: U(() => [F(V(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
2726
+ default: R(() => [D(I(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
2727
2727
  _: 1
2728
- }, 8, ["to"])) : M("", !0)
2729
- ])])), [[vt, i === o.value]])), 128))]),
2730
- a.value.length > 1 ? (R(), N("div", Uo, [(R(!0), N(k, null, B(a.value, (e, n) => (R(), N("button", {
2728
+ }, 8, ["to"])) : C("", !0)
2729
+ ])])), [[oe, r === a.value]])), 128))]),
2730
+ i.value.length > 1 ? (N(), w("div", Uo, [(N(!0), w(b, null, F(i.value, (e, n) => (N(), w("button", {
2731
2731
  key: e.id,
2732
- class: L(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
2732
+ class: k(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
2733
2733
  "aria-label": `${t.$t("core.action.show")} ${e.name}`,
2734
- onClick: (e) => c(n)
2735
- }, null, 10, Wo))), 128))])) : M("", !0)
2736
- ])) : M("", !0);
2734
+ onClick: (e) => s(n)
2735
+ }, null, 10, Wo))), 128))])) : C("", !0)
2736
+ ])) : C("", !0);
2737
2737
  }
2738
2738
  }, qo = { class: "mwnf-sibling-galleries" }, Jo = {
2739
2739
  key: 0,
@@ -2782,89 +2782,89 @@ var No = {
2782
2782
  }
2783
2783
  },
2784
2784
  setup(e) {
2785
- return (t, r) => (R(), N("section", qo, [e.galleries.length ? (R(), N("div", Jo, [P("div", Yo, [P("p", Xo, V(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (R(), N("a", {
2785
+ return (t, n) => (N(), w("section", qo, [e.galleries.length ? (N(), w("div", Jo, [T("div", Yo, [T("p", Xo, I(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (N(), w("a", {
2786
2786
  key: 0,
2787
2787
  href: e.seeMoreGalleriesHref,
2788
2788
  target: "_blank",
2789
2789
  rel: "noopener",
2790
2790
  class: "mwnf-sibling-galleries__see-more"
2791
- }, V(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Zo)) : M("", !0)]), P("div", Qo, [(R(!0), N(k, null, B(e.galleries, (e) => (R(), j(n, {
2791
+ }, I(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Zo)) : C("", !0)]), T("div", Qo, [(N(!0), w(b, null, F(e.galleries, (e) => (N(), S(V, {
2792
2792
  key: e.id,
2793
2793
  to: e.route,
2794
- class: L(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
2794
+ class: k(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
2795
2795
  }, {
2796
- default: U(() => [e.image ? (R(), N("span", $o, [P("img", {
2796
+ default: R(() => [e.image ? (N(), w("span", $o, [T("img", {
2797
2797
  src: e.image,
2798
2798
  alt: e.name
2799
- }, null, 8, es)])) : (R(), N("span", ts)), P("p", ns, V(e.name), 1)]),
2799
+ }, null, 8, es)])) : (N(), w("span", ts)), T("p", ns, I(e.name), 1)]),
2800
2800
  _: 2
2801
- }, 1032, ["to", "class"]))), 128))])])) : M("", !0), e.museums.length ? (R(), N("div", rs, [P("div", is, V(t.$t(e.museumsHeadingEntry)), 1), P("div", as, [(R(!0), N(k, null, B(e.museums, (e) => (R(), N("a", {
2801
+ }, 1032, ["to", "class"]))), 128))])])) : C("", !0), e.museums.length ? (N(), w("div", rs, [T("div", is, I(t.$t(e.museumsHeadingEntry)), 1), T("div", as, [(N(!0), w(b, null, F(e.museums, (e) => (N(), w("a", {
2802
2802
  key: e.name,
2803
2803
  href: e.href || e.to,
2804
2804
  target: "_blank",
2805
2805
  rel: "noopener",
2806
2806
  class: "mwnf-sibling-galleries__museum",
2807
- style: lt({
2807
+ style: A({
2808
2808
  "--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
2809
2809
  "--mwnf-museum-text": e.textColor || "inherit"
2810
2810
  })
2811
- }, [e.image ? (R(), N("div", ss, [P("img", {
2811
+ }, [e.image ? (N(), w("div", ss, [T("img", {
2812
2812
  src: e.image,
2813
2813
  alt: ""
2814
- }, null, 8, cs)])) : (R(), N("div", ls, V(e.name.split(" ").map((e) => e[0]).join("")), 1)), P("p", us, V(e.name), 1)], 12, os))), 128))])])) : M("", !0)]));
2814
+ }, null, 8, cs)])) : (N(), w("div", ls, I(e.name.split(" ").map((e) => e[0]).join("")), 1)), T("p", us, I(e.name), 1)], 12, os))), 128))])])) : C("", !0)]));
2815
2815
  }
2816
- }, fs = /* @__PURE__ */ O({ default: () => bs }), ps = { class: "mwnf-dxa-home" }, ms = {
2816
+ }, fs = /* @__PURE__ */ X({ default: () => bs }), ps = { class: "mwnf-dxa-home" }, ms = {
2817
2817
  key: 0,
2818
2818
  class: "mwnf-dxa-home-logos"
2819
2819
  }, hs = { class: "mwnf-dxa-home-logos__label" }, gs = { class: "mwnf-dxa-home-logos__list" }, _s = ["src", "alt"], vs = 3, ys = 4, bs = {
2820
2820
  __name: "Home",
2821
2821
  setup(e) {
2822
- let { t, locale: n } = J(), r = Pt(), i = A(() => r.links ?? {}), a = A(() => oe(vs)), o = z([]);
2823
- dt(() => {
2824
- o.value = u(ys);
2822
+ let { t, locale: n } = p(), r = g(), i = x(() => r.links ?? {}), a = x(() => Fe(vs)), o = P([]);
2823
+ M(() => {
2824
+ o.value = _e(ys);
2825
2825
  });
2826
- let s = A(() => o.value.map((e) => ({
2826
+ let s = x(() => o.value.map((e) => ({
2827
2827
  id: e.id,
2828
2828
  name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
2829
- image: e.image_path ? re(e.image_path, "zoom") : null,
2830
- route: m(e)
2831
- }))), c = A(() => [
2829
+ image: e.image_path ? Me(e.image_path, "zoom") : null,
2830
+ route: xe(e)
2831
+ }))), c = x(() => [
2832
2832
  {
2833
2833
  name: t("core.project.islamicArt"),
2834
2834
  href: `${i.value.islamicArt}/`,
2835
- image: et(r.chrome, "dia.jpg"),
2835
+ image: Mt(r.chrome, "dia.jpg"),
2836
2836
  accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
2837
2837
  textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
2838
2838
  },
2839
2839
  {
2840
2840
  name: t("core.project.baroqueArt"),
2841
2841
  href: `${i.value.baroqueArt}/`,
2842
- image: et(r.chrome, "dba.jpg"),
2842
+ image: Mt(r.chrome, "dba.jpg"),
2843
2843
  accent: "var(--mwnf-project-DBA, #001d66)",
2844
2844
  textColor: "var(--mwnf-project-DBA-text, #ffffff)"
2845
2845
  },
2846
2846
  {
2847
2847
  name: t("core.project.sharingHistory"),
2848
2848
  href: `${i.value.sharingHistory}/`,
2849
- image: et(r.chrome, "sh.jpg"),
2849
+ image: Mt(r.chrome, "sh.jpg"),
2850
2850
  accent: "var(--mwnf-project-AWE, #900000)",
2851
2851
  textColor: "var(--mwnf-project-AWE-text, #ffffff)"
2852
2852
  }
2853
- ]), l = A(() => (r.homeLogos ?? []).map((e) => ({
2854
- image: Qe(r.chrome, e.image) ?? re(e.image, "gallery_logo"),
2853
+ ]), l = x(() => (r.homeLogos ?? []).map((e) => ({
2854
+ image: At(r.chrome, e.image) ?? Me(e.image, "gallery_logo"),
2855
2855
  href: e.href ?? "",
2856
2856
  alt: e.alt ? t(e.alt) : ""
2857
- })).filter((e) => e.image)), d = A(() => `${i.value.galleries}/list`);
2858
- return (e, n) => (R(), N("div", ps, [
2859
- I(Ko, { partners: a.value }, null, 8, ["partners"]),
2860
- l.value.length ? (R(), N("section", ms, [P("p", hs, V(H(t)("gallery.home.logosLabel")), 1), P("ul", gs, [(R(!0), N(k, null, B(l.value, (e) => (R(), N("li", { key: e.image }, [(R(), j(mt(e.href ? "a" : "span"), {
2857
+ })).filter((e) => e.image)), u = x(() => `${i.value.galleries}/list`);
2858
+ return (e, n) => (N(), w("div", ps, [
2859
+ O(Ko, { partners: a.value }, null, 8, ["partners"]),
2860
+ l.value.length ? (N(), w("section", ms, [T("p", hs, I(L(t)("gallery.home.logosLabel")), 1), T("ul", gs, [(N(!0), w(b, null, F(l.value, (e) => (N(), w("li", { key: e.image }, [(N(), S(ne(e.href ? "a" : "span"), {
2861
2861
  class: "mwnf-dxa-home-logos__logo",
2862
2862
  href: e.href || void 0,
2863
2863
  title: e.alt || void 0,
2864
2864
  target: e.href ? "_blank" : void 0,
2865
2865
  rel: e.href ? "noopener" : void 0
2866
2866
  }, {
2867
- default: U(() => [P("img", {
2867
+ default: R(() => [T("img", {
2868
2868
  src: e.image,
2869
2869
  alt: e.alt
2870
2870
  }, null, 8, _s)]),
@@ -2874,13 +2874,13 @@ var No = {
2874
2874
  "title",
2875
2875
  "target",
2876
2876
  "rel"
2877
- ]))]))), 128))])])) : M("", !0),
2878
- I(ds, {
2877
+ ]))]))), 128))])])) : C("", !0),
2878
+ O(ds, {
2879
2879
  galleries: s.value,
2880
2880
  museums: c.value,
2881
2881
  "galleries-heading-entry": "gallery.action.visitGalleries",
2882
2882
  "see-more-galleries-entry": "gallery.action.seeMoreGalleries",
2883
- "see-more-galleries-href": d.value,
2883
+ "see-more-galleries-href": u.value,
2884
2884
  "museums-heading-entry": "gallery.siblings.otherVirtualMuseums"
2885
2885
  }, null, 8, [
2886
2886
  "galleries",
@@ -2889,7 +2889,7 @@ var No = {
2889
2889
  ])
2890
2890
  ]));
2891
2891
  }
2892
- }, xs = /* @__PURE__ */ O({ default: () => Ss }), Ss = {
2892
+ }, xs = /* @__PURE__ */ X({ default: () => Ss }), Ss = {
2893
2893
  __name: "ItemDetail",
2894
2894
  props: { id: {
2895
2895
  type: String,
@@ -2908,13 +2908,13 @@ var No = {
2908
2908
  relatedObjects: "gallery.related.objects",
2909
2909
  relatedMonuments: "gallery.related.monuments"
2910
2910
  };
2911
- return (n, r) => (R(), j(rt, {
2911
+ return (n, r) => (N(), S(Ft, {
2912
2912
  id: e.id,
2913
- "item-detail": H(se),
2913
+ "item-detail": L(Ie),
2914
2914
  words: t
2915
2915
  }, null, 8, ["id", "item-detail"]));
2916
2916
  }
2917
- }, Cs = /* @__PURE__ */ O({ default: () => Rs }), ws = { class: "mwnf-dxa-timeline" }, Ts = { class: "mwnf-dxa-timeline__entrance" }, Es = [
2917
+ }, Cs = /* @__PURE__ */ X({ default: () => Rs }), ws = { class: "mwnf-dxa-timeline" }, Ts = { class: "mwnf-dxa-timeline__entrance" }, Es = [
2918
2918
  "value",
2919
2919
  "aria-label",
2920
2920
  "onChange"
@@ -2937,12 +2937,12 @@ var No = {
2937
2937
  value: ""
2938
2938
  }, Fs = ["value"], Is = { class: "mwnf-dxa-timeline__go" }, Ls = ["onClick"], Rs = {
2939
2939
  __name: "Timeline",
2940
- setup(e) {
2941
- let t = {
2942
- ...ie,
2940
+ setup(t) {
2941
+ let n = {
2942
+ ...Ne,
2943
2943
  entrance: !0
2944
2944
  };
2945
- function n({ filters: e, options: t, go: n, t: r }) {
2945
+ function r({ filters: e, options: t, go: n, t: r }) {
2946
2946
  if (!e.country) {
2947
2947
  window.alert(r("gallery.timeline.alertCountry"));
2948
2948
  return;
@@ -2958,58 +2958,58 @@ var No = {
2958
2958
  end: e.end || a.at(-1)?.value
2959
2959
  });
2960
2960
  }
2961
- return (e, r) => (R(), N("div", ws, [I(Ye, {
2962
- spec: t,
2961
+ return (t, i) => (N(), w("div", ws, [O(Tt, {
2962
+ spec: n,
2963
2963
  class: "mwnf-dxa-timeline__form"
2964
2964
  }, {
2965
- form: U((e) => [P("div", Ts, [
2966
- P("select", {
2965
+ form: R((e) => [T("div", Ts, [
2966
+ T("select", {
2967
2967
  class: "mwnf-dxa-timeline__country",
2968
2968
  value: e.filters.country,
2969
2969
  "aria-label": e.t("gallery.timeline.selectCountry"),
2970
2970
  onChange: (t) => e.filters.country = t.target.value
2971
- }, [P("option", Ds, V(e.t("gallery.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
2971
+ }, [T("option", Ds, I(e.t("gallery.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
2972
2972
  key: e.value,
2973
2973
  value: e.value
2974
- }, V(e.label), 9, Os))), 128))], 40, Es),
2975
- P("div", ks, [P("select", {
2974
+ }, I(e.label), 9, Os))), 128))], 40, Es),
2975
+ T("div", ks, [T("select", {
2976
2976
  value: e.filters.begin,
2977
2977
  "aria-label": e.t("gallery.timeline.startDate"),
2978
2978
  onChange: (t) => e.filters.begin = t.target.value
2979
- }, [P("option", js, V(e.t("gallery.timeline.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
2979
+ }, [T("option", js, I(e.t("gallery.timeline.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
2980
2980
  key: e.value,
2981
2981
  value: e.value
2982
- }, V(e.label), 9, Ms))), 128))], 40, As), P("select", {
2982
+ }, I(e.label), 9, Ms))), 128))], 40, As), T("select", {
2983
2983
  value: e.filters.end,
2984
2984
  "aria-label": e.t("gallery.timeline.endDate"),
2985
2985
  onChange: (t) => e.filters.end = t.target.value
2986
- }, [P("option", Ps, V(e.t("gallery.timeline.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
2986
+ }, [T("option", Ps, I(e.t("gallery.timeline.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
2987
2987
  key: e.value,
2988
2988
  value: e.value
2989
- }, V(e.label), 9, Fs))), 128))], 40, Ns)]),
2990
- P("div", Is, [P("button", {
2989
+ }, I(e.label), 9, Fs))), 128))], 40, Ns)]),
2990
+ T("div", Is, [T("button", {
2991
2991
  type: "button",
2992
- onClick: (t) => n(e)
2993
- }, V(e.t("core.action.go")), 9, Ls)])
2992
+ onClick: (t) => r(e)
2993
+ }, I(e.t("core.action.go")), 9, Ls)])
2994
2994
  ])]),
2995
2995
  _: 1
2996
- }), I(H(G), {
2996
+ }), O(L(e), {
2997
2997
  class: "mwnf-dxa-timeline__intro",
2998
2998
  dir: "auto",
2999
2999
  keypath: "gallery.timeline.intro"
3000
3000
  })]));
3001
3001
  }
3002
- }, zs = /* @__PURE__ */ O({ default: () => Vs }), Bs = { class: "mwnf-dxa-home" }, Vs = {
3002
+ }, zs = /* @__PURE__ */ X({ default: () => Vs }), Bs = { class: "mwnf-dxa-home" }, Vs = {
3003
3003
  __name: "Home",
3004
3004
  setup(e) {
3005
- return (e, t) => (R(), N("div", Bs));
3005
+ return (e, t) => (N(), w("div", Bs));
3006
3006
  }
3007
- }, Hs = /* @__PURE__ */ O({ default: () => Ws }), Us = { class: "mwnf-dxa-about" }, Ws = {
3007
+ }, Hs = /* @__PURE__ */ X({ default: () => Ws }), Us = { class: "mwnf-dxa-about" }, Ws = {
3008
3008
  __name: "About",
3009
3009
  setup(e) {
3010
- return (e, t) => (R(), N("div", Us, [I(it, { "about-mode": "" })]));
3010
+ return (e, t) => (N(), w("div", Us, [O(It, { "about-mode": "" })]));
3011
3011
  }
3012
- }, Gs = /* @__PURE__ */ O({ default: () => cc }), Ks = { class: "mwnf-dxa-themes-page" }, qs = { class: "mwnf-dxa-themes-page__container" }, Js = ["onClick"], Ys = ["innerHTML"], Xs = {
3012
+ }, Gs = /* @__PURE__ */ X({ default: () => cc }), Ks = { class: "mwnf-dxa-themes-page" }, qs = { class: "mwnf-dxa-themes-page__container" }, Js = ["onClick"], Ys = ["innerHTML"], Xs = {
3013
3013
  key: 0,
3014
3014
  class: "mwnf-dxa-themes-page__strips"
3015
3015
  }, Zs = ["src"], Qs = {
@@ -3021,28 +3021,28 @@ var No = {
3021
3021
  }, nc = ["innerHTML"], rc = { class: "mwnf-dxa-themes-page__info" }, ic = { class: "mwnf-dxa-themes-page__description" }, ac = { class: "mwnf-dxa-themes-page__subthemes" }, oc = { class: "mwnf-dxa-themes-page__subthemes-label" }, sc = { class: "mwnf-dxa-themes-page__gallery" }, cc = {
3022
3022
  __name: "Themes",
3023
3023
  setup(e) {
3024
- let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Ie, { t: o, locale: s } = J(), c = z(!1), l = z(null);
3025
- function u(e) {
3026
- c.value || (l.value = l.value === e ? null : e);
3024
+ let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = ft, { t: o, locale: s } = p(), u = P(!1), d = P(null);
3025
+ function f(e) {
3026
+ u.value || (d.value = d.value === e ? null : e);
3027
3027
  }
3028
- function d() {
3029
- c.value = !c.value, l.value = null;
3028
+ function m() {
3029
+ u.value = !u.value, d.value = null;
3030
3030
  }
3031
- function f(e) {
3031
+ function h(e) {
3032
3032
  return !e || e.length <= 250 ? e ?? "" : `${e.substring(0, e.lastIndexOf(" ", 250))}...`;
3033
3033
  }
3034
- function p(e) {
3034
+ function g(e) {
3035
3035
  let t = e ? r(e) : null;
3036
3036
  if (!t) return "";
3037
- let n = S("items", t.id, s.value);
3037
+ let n = Qe("items", t.id, s.value);
3038
3038
  return [
3039
- E("items", t.id),
3039
+ K("items", t.id),
3040
3040
  n.holder,
3041
3041
  n.location,
3042
- E("countries", t.country_id)
3042
+ K("countries", t.country_id)
3043
3043
  ].filter(Boolean).join(", ");
3044
3044
  }
3045
- let m = A(() => t.value.map((e, t) => {
3045
+ let _ = x(() => t.value.map((e, t) => {
3046
3046
  let r = e.cover_picture_item_id ? n.value.get(e.cover_picture_item_id) : null, o = a(e, s.value);
3047
3047
  return {
3048
3048
  index: t,
@@ -3050,66 +3050,66 @@ var No = {
3050
3050
  title: o.title ?? e.internal_name ?? "",
3051
3051
  numeral: i(e.display_order),
3052
3052
  cover: r?.image_url ?? "",
3053
- caption: p(r),
3054
- excerpt: f(Ot(String(o.presentation ?? ""))),
3055
- to: at(e),
3053
+ caption: g(r),
3054
+ excerpt: h(l(String(o.presentation ?? ""))),
3055
+ to: Lt(e),
3056
3056
  gallery: {
3057
3057
  name: "theme-gallery",
3058
3058
  params: { id: String(e.display_order - 1) }
3059
3059
  },
3060
3060
  subThemes: (e.sub_themes ?? []).map((e, t) => ({
3061
3061
  label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
3062
- to: at(e)
3062
+ to: Lt(e)
3063
3063
  }))
3064
3064
  };
3065
3065
  }));
3066
- return (e, t) => (R(), N("div", Ks, [P("div", qs, [P("div", {
3066
+ return (e, t) => (N(), w("div", Ks, [T("div", qs, [T("div", {
3067
3067
  class: "mwnf-dxa-themes-page__show-all",
3068
- onClick: d
3069
- }, [P("span", null, V(c.value ? H(o)("exhibition.themes.collapseAll") : H(o)("exhibition.themes.expandAll")), 1)]), (R(!0), N(k, null, B(m.value, (e) => (R(), N("div", {
3068
+ onClick: m
3069
+ }, [T("span", null, I(u.value ? L(o)("exhibition.themes.collapseAll") : L(o)("exhibition.themes.expandAll")), 1)]), (N(!0), w(b, null, F(_.value, (e) => (N(), w("div", {
3070
3070
  key: e.id,
3071
3071
  class: "mwnf-dxa-themes-page__theme"
3072
- }, [P("div", {
3073
- class: L(["mwnf-dxa-themes-page__title", { "mwnf-dxa-themes-page__title--fixed": c.value }]),
3074
- onClick: (t) => u(e.index)
3075
- }, [P("span", null, [
3076
- F(V(H(o)("exhibition.theme.romanLabel")) + " " + V(e.numeral) + " ▪ ", 1),
3077
- P("span", { innerHTML: H(q)(e.title) }, null, 8, Ys),
3078
- c.value ? M("", !0) : (R(), N(k, { key: 0 }, [F(V(l.value === e.index ? "▴" : "▾"), 1)], 64))
3079
- ])], 10, Js), l.value !== e.index && !c.value ? (R(), N("div", Xs, [(R(), N(k, null, B(4, (t) => P("img", {
3072
+ }, [T("div", {
3073
+ class: k(["mwnf-dxa-themes-page__title", { "mwnf-dxa-themes-page__title--fixed": u.value }]),
3074
+ onClick: (t) => f(e.index)
3075
+ }, [T("span", null, [
3076
+ D(I(L(o)("exhibition.theme.romanLabel")) + " " + I(e.numeral) + " ▪ ", 1),
3077
+ T("span", { innerHTML: L(c)(e.title) }, null, 8, Ys),
3078
+ u.value ? C("", !0) : (N(), w(b, { key: 0 }, [D(I(d.value === e.index ? "▴" : "▾"), 1)], 64))
3079
+ ])], 10, Js), d.value !== e.index && !u.value ? (N(), w("div", Xs, [(N(), w(b, null, F(4, (t) => T("img", {
3080
3080
  key: t,
3081
3081
  src: e.cover,
3082
3082
  alt: ""
3083
- }, null, 8, Zs)), 64))])) : (R(), N("div", Qs, [P("div", $s, [e.cover ? (R(), N("img", {
3083
+ }, null, 8, Zs)), 64))])) : (N(), w("div", Qs, [T("div", $s, [e.cover ? (N(), w("img", {
3084
3084
  key: 0,
3085
3085
  src: e.cover,
3086
- alt: H(Ot)(e.title)
3087
- }, null, 8, ec)) : M("", !0), e.caption ? (R(), N("div", tc, [P("span", { innerHTML: H(q)(e.caption) }, null, 8, nc)])) : M("", !0)]), P("div", rc, [
3088
- P("div", ic, [
3089
- P("span", null, V(e.excerpt), 1),
3090
- t[0] ||= F(" " + V(" "), -1),
3091
- I(H(X), {
3086
+ alt: L(l)(e.title)
3087
+ }, null, 8, ec)) : C("", !0), e.caption ? (N(), w("div", tc, [T("span", { innerHTML: L(c)(e.caption) }, null, 8, nc)])) : C("", !0)]), T("div", rc, [
3088
+ T("div", ic, [
3089
+ T("span", null, I(e.excerpt), 1),
3090
+ t[0] ||= D(" " + I(" "), -1),
3091
+ O(L(J), {
3092
3092
  to: e.to,
3093
3093
  class: "mwnf-dxa-themes-page__link mwnf-dxa-themes-page__see-more"
3094
3094
  }, {
3095
- default: U(() => [F(V(H(o)("exhibition.themes.seeMore")), 1)]),
3095
+ default: R(() => [D(I(L(o)("exhibition.themes.seeMore")), 1)]),
3096
3096
  _: 1
3097
3097
  }, 8, ["to"])
3098
3098
  ]),
3099
- P("div", ac, [P("div", oc, V(H(o)("exhibition.theme.inThisTheme")), 1), (R(!0), N(k, null, B(e.subThemes, (e) => (R(), N("div", { key: e.label }, [I(H(X), {
3099
+ T("div", ac, [T("div", oc, I(L(o)("exhibition.theme.inThisTheme")), 1), (N(!0), w(b, null, F(e.subThemes, (e) => (N(), w("div", { key: e.label }, [O(L(J), {
3100
3100
  to: e.to,
3101
3101
  class: "mwnf-dxa-themes-page__link"
3102
3102
  }, {
3103
- default: U(() => [F(V(e.label), 1)]),
3103
+ default: R(() => [D(I(e.label), 1)]),
3104
3104
  _: 2
3105
3105
  }, 1032, ["to"])]))), 128))]),
3106
- P("div", sc, [I(H(X), { to: e.gallery }, {
3107
- default: U(() => [F(V(H(o)("exhibition.themes.seeGallery")) + " " + V(e.numeral), 1)]),
3106
+ T("div", sc, [O(L(J), { to: e.gallery }, {
3107
+ default: R(() => [D(I(L(o)("exhibition.themes.seeGallery")) + " " + I(e.numeral), 1)]),
3108
3108
  _: 2
3109
3109
  }, 1032, ["to"])])
3110
3110
  ])]))]))), 128))])]));
3111
3111
  }
3112
- }, lc = /* @__PURE__ */ O({ default: () => Dc }), uc = {
3112
+ }, lc = /* @__PURE__ */ X({ default: () => Dc }), uc = {
3113
3113
  key: 0,
3114
3114
  class: "mwnf-dxa-theme-gallery-page"
3115
3115
  }, dc = { class: "mwnf-dxa-theme-gallery-page__header" }, fc = ["innerHTML"], pc = {
@@ -3129,38 +3129,38 @@ var No = {
3129
3129
  class: "mwnf-loader"
3130
3130
  }, Dc = {
3131
3131
  __name: "ThemeGallery",
3132
- setup(t) {
3133
- let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Ie, s = Z(), c = Lt(), { t: l, locale: u } = J(), d = A(() => i(s.params.id)), f = A(() => d.value?.sub_themes ?? []), p = A(() => {
3134
- let e = Number(s.params.subtheme);
3132
+ setup(e) {
3133
+ let { pictureParent: t, romanFor: n, themeByRouteId: r, themeText: i, themePictures: a } = ft, o = Y(), s = Et(), { t: l, locale: u } = p(), d = x(() => r(o.params.id)), f = x(() => d.value?.sub_themes ?? []), m = x(() => {
3134
+ let e = Number(o.params.subtheme);
3135
3135
  return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
3136
- }), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
3137
- function h(e) {
3138
- c.push({
3136
+ }), h = (e) => i(e, u.value).title ?? e?.internal_name ?? "";
3137
+ function g(e) {
3138
+ s.push({
3139
3139
  name: "theme-gallery",
3140
3140
  params: {
3141
- id: s.params.id,
3141
+ id: o.params.id,
3142
3142
  subtheme: e ? String(e) : ""
3143
3143
  }
3144
3144
  });
3145
3145
  }
3146
- function g(e) {
3146
+ function _(e) {
3147
3147
  return e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "";
3148
3148
  }
3149
- let _ = A(() => {
3150
- let e = p.value ? [f.value[p.value - 1]] : f.value.length ? f.value : [d.value].filter(Boolean), t = [], r = /* @__PURE__ */ new Set();
3151
- for (let i of e) for (let e of o(i)) {
3152
- let a = n(e);
3149
+ let v = x(() => {
3150
+ let e = m.value ? [f.value[m.value - 1]] : f.value.length ? f.value : [d.value].filter(Boolean), n = [], r = /* @__PURE__ */ new Set();
3151
+ for (let i of e) for (let e of a(i)) {
3152
+ let a = t(e);
3153
3153
  if (!a || !e.image_url || r.has(e.image_url)) continue;
3154
3154
  r.add(e.image_url);
3155
- let o = S("items", a.id, u.value), s = S("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", c = q(E("items", a.id));
3156
- t.push({
3155
+ let o = Qe("items", a.id, u.value), s = Qe("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", l = c(K("items", a.id));
3156
+ n.push({
3157
3157
  id: e.picture_item_id,
3158
3158
  image: e.image_url,
3159
- imageAlt: E("items", a.id),
3160
- name: s ? `${q(s)}, ${c}` : c,
3161
- date: g(o.dates),
3162
- partner: o.holder || E("partners", a.partner_id),
3163
- place: [o.location, E("countries", a.country_id)].filter(Boolean).join(", "),
3159
+ imageAlt: K("items", a.id),
3160
+ name: s ? `${c(s)}, ${l}` : l,
3161
+ date: _(o.dates),
3162
+ partner: o.holder || K("partners", a.partner_id),
3163
+ place: [o.location, K("countries", a.country_id)].filter(Boolean).join(", "),
3164
3164
  project: "",
3165
3165
  to: {
3166
3166
  name: "item",
@@ -3169,57 +3169,57 @@ var No = {
3169
3169
  start: a.start_date ?? 0
3170
3170
  });
3171
3171
  }
3172
- return t.sort((e, t) => (e.start ?? 0) - (t.start ?? 0));
3173
- }), v = z(!1), y = () => {
3174
- v.value = document.body.scrollHeight > window.innerHeight;
3172
+ return n.sort((e, t) => (e.start ?? 0) - (t.start ?? 0));
3173
+ }), y = P(!1), S = () => {
3174
+ y.value = document.body.scrollHeight > window.innerHeight;
3175
3175
  };
3176
- dt(() => {
3177
- y(), window.addEventListener("scroll", y), window.addEventListener("resize", y);
3178
- }), ut(() => {
3179
- window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
3176
+ M(() => {
3177
+ S(), window.addEventListener("scroll", S), window.addEventListener("resize", S);
3178
+ }), j(() => {
3179
+ window.removeEventListener("scroll", S), window.removeEventListener("resize", S);
3180
3180
  });
3181
- let ee = () => window.scrollTo({
3181
+ let E = () => window.scrollTo({
3182
3182
  top: 0,
3183
3183
  behavior: "smooth"
3184
3184
  });
3185
- return (t, n) => d.value ? (R(), N("div", uc, [
3186
- I(e),
3187
- P("div", dc, [P("span", null, [
3188
- F(V(H(l)("exhibition.theme.romanLabel")) + " " + V(H(r)(d.value.display_order)) + " | ", 1),
3189
- P("span", {
3185
+ return (e, t) => d.value ? (N(), w("div", uc, [
3186
+ O(B),
3187
+ T("div", dc, [T("span", null, [
3188
+ D(I(L(l)("exhibition.theme.romanLabel")) + " " + I(L(n)(d.value.display_order)) + " | ", 1),
3189
+ T("span", {
3190
3190
  class: "mwnf-dxa-theme-gallery-page__bold",
3191
- innerHTML: H(q)(m(d.value))
3191
+ innerHTML: L(c)(h(d.value))
3192
3192
  }, null, 8, fc),
3193
- p.value ? (R(), N("span", pc, [n[2] ||= F(" ▪ ", -1), P("span", { innerHTML: H(q)(m(f.value[p.value - 1])) }, null, 8, mc)])) : M("", !0),
3194
- F(" | " + V(H(l)("exhibition.theme.galleryLabel")), 1)
3193
+ m.value ? (N(), w("span", pc, [t[2] ||= D(" ▪ ", -1), T("span", { innerHTML: L(c)(h(f.value[m.value - 1])) }, null, 8, mc)])) : C("", !0),
3194
+ D(" | " + I(L(l)("exhibition.theme.galleryLabel")), 1)
3195
3195
  ])]),
3196
- P("div", hc, [P("div", gc, [P("div", _c, [I($, {
3197
- rows: _.value,
3196
+ T("div", hc, [T("div", gc, [T("div", _c, [O($, {
3197
+ rows: v.value,
3198
3198
  family: "exhibition"
3199
- }, null, 8, ["rows"])]), P("div", vc, [
3200
- P("div", yc, V(H(l)("exhibition.themeGallery.filterBy")), 1),
3201
- P("select", {
3199
+ }, null, 8, ["rows"])]), T("div", vc, [
3200
+ T("div", yc, I(L(l)("exhibition.themeGallery.filterBy")), 1),
3201
+ T("select", {
3202
3202
  class: "mwnf-dxa-theme-gallery-page__select",
3203
- disabled: !_.value.length,
3204
- value: p.value ? String(p.value) : "",
3205
- onChange: n[0] ||= (e) => h(e.target.value)
3206
- }, [P("option", xc, V(H(l)("exhibition.themeGallery.select")), 1), (R(!0), N(k, null, B(f.value, (e, t) => (R(), N("option", {
3203
+ disabled: !v.value.length,
3204
+ value: m.value ? String(m.value) : "",
3205
+ onChange: t[0] ||= (e) => g(e.target.value)
3206
+ }, [T("option", xc, I(L(l)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(f.value, (e, t) => (N(), w("option", {
3207
3207
  key: e.id,
3208
3208
  value: String(t + 1)
3209
- }, V(t + 1) + ". " + V(m(e)), 9, Sc))), 128))], 40, bc),
3210
- p.value ? (R(), N("div", Cc, [P("button", {
3209
+ }, I(t + 1) + ". " + I(h(e)), 9, Sc))), 128))], 40, bc),
3210
+ m.value ? (N(), w("div", Cc, [T("button", {
3211
3211
  type: "button",
3212
- onClick: n[1] ||= (e) => h("")
3213
- }, V(H(l)("exhibition.theme.seeAllInTheme")), 1)])) : M("", !0)
3212
+ onClick: t[1] ||= (e) => g("")
3213
+ }, I(L(l)("exhibition.theme.seeAllInTheme")), 1)])) : C("", !0)
3214
3214
  ])])]),
3215
- v.value ? (R(), N("div", wc, [P("button", {
3215
+ y.value ? (N(), w("div", wc, [T("button", {
3216
3216
  type: "button",
3217
- "aria-label": H(l)("exhibition.themeGallery.top"),
3218
- onClick: ee
3219
- }, "⌃", 8, Tc)])) : M("", !0)
3220
- ])) : (R(), N("div", Ec, V(H(l)("exhibition.theme.notInExhibition")), 1));
3217
+ "aria-label": L(l)("exhibition.themeGallery.top"),
3218
+ onClick: E
3219
+ }, "⌃", 8, Tc)])) : C("", !0)
3220
+ ])) : (N(), w("div", Ec, I(L(l)("exhibition.theme.notInExhibition")), 1));
3221
3221
  }
3222
- }, Oc = /* @__PURE__ */ O({ default: () => kc }), kc = {
3222
+ }, Oc = /* @__PURE__ */ X({ default: () => kc }), kc = {
3223
3223
  __name: "ItemDetail",
3224
3224
  props: { id: {
3225
3225
  type: String,
@@ -3237,97 +3237,97 @@ var No = {
3237
3237
  relatedVideos: "exhibition.sheet.relatedVideos",
3238
3238
  relatedObjects: "exhibition.related.objects",
3239
3239
  relatedMonuments: "exhibition.related.monuments"
3240
- }, n = (e) => T.value.get(e);
3241
- return (r, i) => (R(), j(rt, {
3240
+ }, n = (e) => G.value.get(e);
3241
+ return (r, i) => (N(), S(Ft, {
3242
3242
  id: e.id,
3243
- "item-detail": H(Pe),
3243
+ "item-detail": L(ut),
3244
3244
  "data-getter": n,
3245
3245
  words: t,
3246
3246
  class: "mwnf-dxa-exhibition-item"
3247
3247
  }, null, 8, ["id", "item-detail"]));
3248
3248
  }
3249
- }, Ac = /* @__PURE__ */ O({ default: () => Gc }), jc = { class: "mwnf-dxa-related-page" }, Mc = { class: "mwnf-dxa-related-page__container" }, Nc = { key: 0 }, Pc = { class: "mwnf-dxa-related-page__heading" }, Fc = ["innerHTML"], Ic = ["innerHTML"], Lc = { key: 2 }, Rc = { key: 3 }, zc = ["href", "innerHTML"], Bc = ["innerHTML"], Vc = { key: 4 }, Hc = ["href"], Uc = ["innerHTML"], Wc = ["innerHTML"], Gc = {
3249
+ }, Ac = /* @__PURE__ */ X({ default: () => Gc }), jc = { class: "mwnf-dxa-related-page" }, Mc = { class: "mwnf-dxa-related-page__container" }, Nc = { key: 0 }, Pc = { class: "mwnf-dxa-related-page__heading" }, Fc = ["innerHTML"], Ic = ["innerHTML"], Lc = { key: 2 }, Rc = { key: 3 }, zc = ["href", "innerHTML"], Bc = ["innerHTML"], Vc = { key: 4 }, Hc = ["href"], Uc = ["innerHTML"], Wc = ["innerHTML"], Gc = {
3250
3250
  __name: "RelatedContent",
3251
- setup(t) {
3252
- let n = {
3251
+ setup(e) {
3252
+ let t = {
3253
3253
  1: "exhibition.relatedCategory.furtherReading",
3254
3254
  2: "exhibition.relatedCategory.mwnfContent",
3255
3255
  3: "exhibition.relatedCategory.partnerContent",
3256
3256
  4: "exhibition.relatedCategory.otherContent"
3257
- }, r = [
3257
+ }, n = [
3258
3258
  1,
3259
3259
  2,
3260
3260
  3,
3261
3261
  4
3262
- ], i = {
3262
+ ], r = {
3263
3263
  further_reading: 1,
3264
3264
  catalogue: 1
3265
- }, a = (e) => e.category_id ?? (e.category ? i[e.category] ?? 4 : void 0), { t: o, locale: s } = J(), c = (e) => e?.[s.value] ?? e?.en ?? "";
3266
- function l(e) {
3267
- let t = e.document_path ? Ve(e.document_path, "hi_res") : "";
3265
+ }, i = (e) => e.category_id ?? (e.category ? r[e.category] ?? 4 : void 0), { t: a, locale: o } = p(), l = (e) => e?.[o.value] ?? e?.en ?? "";
3266
+ function u(e) {
3267
+ let t = e.document_path ? _t(e.document_path, "hi_res") : "";
3268
3268
  return {
3269
- reading: Dt(c(e.texts) || e.further_reading || ""),
3270
- partner: e.partner_name ? q(e.partner_name) : "",
3271
- place: [e.entity_location, e.entity_country ? ze(e.entity_country) : ""].filter(Boolean).join(", "),
3272
- title: c(e.titles) ? q(c(e.titles)) : "",
3269
+ reading: s(l(e.texts) || e.further_reading || ""),
3270
+ partner: e.partner_name ? c(e.partner_name) : "",
3271
+ place: [e.entity_location, e.entity_country ? ht(e.entity_country) : ""].filter(Boolean).join(", "),
3272
+ title: l(e.titles) ? c(l(e.titles)) : "",
3273
3273
  href: t || e.url || "",
3274
- byline: [e.authors, e.type_resource].filter(Boolean).map((e) => q(e)).join(", "),
3275
- description: c(e.descriptions) ? q(c(e.descriptions)) : ""
3274
+ byline: [e.authors, e.type_resource].filter(Boolean).map((e) => c(e)).join(", "),
3275
+ description: l(e.descriptions) ? c(l(e.descriptions)) : ""
3276
3276
  };
3277
3277
  }
3278
- let u = A(() => {
3278
+ let d = x(() => {
3279
3279
  let e = /* @__PURE__ */ new Map();
3280
- for (let t of we.value ?? []) {
3281
- let n = a(t), r = e.get(n);
3280
+ for (let t of et.value ?? []) {
3281
+ let n = i(t), r = e.get(n);
3282
3282
  r ? r.push(t) : e.set(n, [t]);
3283
3283
  }
3284
- return [...r.filter((t) => e.has(t)), ...[...e.keys()].filter((e) => !r.includes(e)).sort()].map((t) => ({
3285
- id: t,
3286
- heading: n[t] ?? "exhibition.relatedCategory.unknown",
3287
- entries: [...e.get(t)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(l)
3284
+ return [...n.filter((t) => e.has(t)), ...[...e.keys()].filter((e) => !n.includes(e)).sort()].map((n) => ({
3285
+ id: n,
3286
+ heading: t[n] ?? "exhibition.relatedCategory.unknown",
3287
+ entries: [...e.get(n)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(u)
3288
3288
  }));
3289
3289
  });
3290
- return (t, n) => (R(), N("div", jc, [I(e), P("div", Mc, [u.value.length ? M("", !0) : (R(), N("p", Nc, V(H(o)("exhibition.related.notAvailable")), 1)), (R(!0), N(k, null, B(u.value, (e) => (R(), N("div", {
3290
+ return (e, t) => (N(), w("div", jc, [O(B), T("div", Mc, [d.value.length ? C("", !0) : (N(), w("p", Nc, I(L(a)("exhibition.related.notAvailable")), 1)), (N(!0), w(b, null, F(d.value, (e) => (N(), w("div", {
3291
3291
  key: e.id,
3292
3292
  class: "mwnf-dxa-related-page__category"
3293
- }, [P("div", Pc, V(H(o)(e.heading)), 1), (R(!0), N(k, null, B(e.entries, (e, t) => (R(), N("div", {
3293
+ }, [T("div", Pc, I(L(a)(e.heading)), 1), (N(!0), w(b, null, F(e.entries, (e, t) => (N(), w("div", {
3294
3294
  key: t,
3295
3295
  class: "mwnf-dxa-related-page__entry"
3296
3296
  }, [
3297
- e.reading ? (R(), N("div", {
3297
+ e.reading ? (N(), w("div", {
3298
3298
  key: 0,
3299
3299
  innerHTML: e.reading
3300
- }, null, 8, Fc)) : M("", !0),
3301
- e.partner ? (R(), N("div", {
3300
+ }, null, 8, Fc)) : C("", !0),
3301
+ e.partner ? (N(), w("div", {
3302
3302
  key: 1,
3303
3303
  innerHTML: e.partner
3304
- }, null, 8, Ic)) : M("", !0),
3305
- e.place ? (R(), N("div", Lc, V(e.place), 1)) : M("", !0),
3306
- e.title ? (R(), N("div", Rc, [e.href ? (R(), N("a", {
3304
+ }, null, 8, Ic)) : C("", !0),
3305
+ e.place ? (N(), w("div", Lc, I(e.place), 1)) : C("", !0),
3306
+ e.title ? (N(), w("div", Rc, [e.href ? (N(), w("a", {
3307
3307
  key: 0,
3308
3308
  href: e.href,
3309
3309
  target: "_blank",
3310
3310
  rel: "noopener",
3311
3311
  innerHTML: e.title
3312
- }, null, 8, zc)) : (R(), N("span", {
3312
+ }, null, 8, zc)) : (N(), w("span", {
3313
3313
  key: 1,
3314
3314
  innerHTML: e.title
3315
- }, null, 8, Bc))])) : e.href ? (R(), N("div", Vc, [P("a", {
3315
+ }, null, 8, Bc))])) : e.href ? (N(), w("div", Vc, [T("a", {
3316
3316
  href: e.href,
3317
3317
  target: "_blank",
3318
3318
  rel: "noopener"
3319
- }, V(e.href), 9, Hc)])) : M("", !0),
3320
- e.byline ? (R(), N("div", {
3319
+ }, I(e.href), 9, Hc)])) : C("", !0),
3320
+ e.byline ? (N(), w("div", {
3321
3321
  key: 5,
3322
3322
  innerHTML: e.byline
3323
- }, null, 8, Uc)) : M("", !0),
3324
- e.description ? (R(), N("div", {
3323
+ }, null, 8, Uc)) : C("", !0),
3324
+ e.description ? (N(), w("div", {
3325
3325
  key: 6,
3326
3326
  innerHTML: e.description
3327
- }, null, 8, Wc)) : M("", !0)
3327
+ }, null, 8, Wc)) : C("", !0)
3328
3328
  ]))), 128))]))), 128))])]));
3329
3329
  }
3330
- }, Kc = /* @__PURE__ */ O({ default: () => sl }), qc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Jc = { class: "mwnf-dxa-timeline__entrance" }, Yc = [
3330
+ }, Kc = /* @__PURE__ */ X({ default: () => sl }), qc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Jc = { class: "mwnf-dxa-timeline__entrance" }, Yc = [
3331
3331
  "value",
3332
3332
  "aria-label",
3333
3333
  "onChange"
@@ -3350,63 +3350,63 @@ var No = {
3350
3350
  value: ""
3351
3351
  }, il = ["value"], al = { class: "mwnf-dxa-timeline__go" }, ol = ["onClick"], sl = {
3352
3352
  __name: "Timeline",
3353
- setup(e) {
3354
- let t = {
3353
+ setup(t) {
3354
+ let n = {
3355
3355
  "catalogue.era.ad": "exhibition.era.ad",
3356
3356
  "catalogue.era.bc": "exhibition.era.bc"
3357
- }, n = ({ years: e, t: n }) => It(e.min, e.max, Ft(n, t)), r = A(() => ({
3358
- ...w.value,
3357
+ }, r = ({ years: e, t }) => y(e.min, e.max, _(t, n)), i = x(() => ({
3358
+ ...W.value,
3359
3359
  entrance: !0,
3360
- controls: w.value.controls.map((e) => e.options ? {
3360
+ controls: W.value.controls.map((e) => e.options ? {
3361
3361
  ...e,
3362
- options: n
3362
+ options: r
3363
3363
  } : e)
3364
- })), i = A(() => w.value.scope === "country");
3365
- function a({ filters: e, options: t, go: n }) {
3366
- let r = t.begin ?? [], a = t.end ?? [];
3364
+ })), a = x(() => W.value.scope === "country");
3365
+ function o({ filters: e, options: t, go: n }) {
3366
+ let r = t.begin ?? [], i = t.end ?? [];
3367
3367
  n({
3368
- ...i.value && e.country ? { country: e.country } : {},
3368
+ ...a.value && e.country ? { country: e.country } : {},
3369
3369
  begin: e.begin || r[0]?.value,
3370
- end: e.end || a.at(-1)?.value
3370
+ end: e.end || i.at(-1)?.value
3371
3371
  });
3372
3372
  }
3373
- return (e, t) => (R(), N("div", qc, [I(Ye, {
3374
- spec: r.value,
3373
+ return (t, n) => (N(), w("div", qc, [O(Tt, {
3374
+ spec: i.value,
3375
3375
  class: "mwnf-dxa-timeline__form"
3376
3376
  }, {
3377
- form: U((e) => [P("div", Jc, [
3378
- i.value && e.countries?.length ? (R(), N("select", {
3377
+ form: R((e) => [T("div", Jc, [
3378
+ a.value && e.countries?.length ? (N(), w("select", {
3379
3379
  key: 0,
3380
3380
  class: "mwnf-dxa-timeline__country",
3381
3381
  value: e.filters.country,
3382
3382
  "aria-label": e.t("exhibition.timeline.selectCountry"),
3383
3383
  onChange: (t) => e.filters.country = t.target.value
3384
- }, [P("option", Xc, V(e.t("exhibition.timeline.selectCountry")), 1), (R(!0), N(k, null, B(e.countries, (e) => (R(), N("option", {
3384
+ }, [T("option", Xc, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
3385
3385
  key: e.value,
3386
3386
  value: e.value
3387
- }, V(e.label), 9, Zc))), 128))], 40, Yc)) : M("", !0),
3388
- P("div", Qc, [P("select", {
3387
+ }, I(e.label), 9, Zc))), 128))], 40, Yc)) : C("", !0),
3388
+ T("div", Qc, [T("select", {
3389
3389
  value: e.filters.begin,
3390
3390
  "aria-label": e.t("exhibition.collection.startDate"),
3391
3391
  onChange: (t) => e.filters.begin = t.target.value
3392
- }, [P("option", el, V(e.t("exhibition.collection.startDate")), 1), (R(!0), N(k, null, B(e.options.begin ?? [], (e) => (R(), N("option", {
3392
+ }, [T("option", el, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
3393
3393
  key: e.value,
3394
3394
  value: e.value
3395
- }, V(e.label), 9, tl))), 128))], 40, $c), P("select", {
3395
+ }, I(e.label), 9, tl))), 128))], 40, $c), T("select", {
3396
3396
  value: e.filters.end,
3397
3397
  "aria-label": e.t("exhibition.collection.endDate"),
3398
3398
  onChange: (t) => e.filters.end = t.target.value
3399
- }, [P("option", rl, V(e.t("exhibition.collection.endDate")), 1), (R(!0), N(k, null, B(e.options.end ?? [], (e) => (R(), N("option", {
3399
+ }, [T("option", rl, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
3400
3400
  key: e.value,
3401
3401
  value: e.value
3402
- }, V(e.label), 9, il))), 128))], 40, nl)]),
3403
- P("div", al, [P("button", {
3402
+ }, I(e.label), 9, il))), 128))], 40, nl)]),
3403
+ T("div", al, [T("button", {
3404
3404
  type: "button",
3405
- onClick: (t) => a(e)
3406
- }, V(e.t("core.action.go")), 9, ol)])
3405
+ onClick: (t) => o(e)
3406
+ }, I(e.t("core.action.go")), 9, ol)])
3407
3407
  ])]),
3408
3408
  _: 1
3409
- }, 8, ["spec"]), I(H(G), {
3409
+ }, 8, ["spec"]), O(L(e), {
3410
3410
  class: "mwnf-dxa-timeline__intro",
3411
3411
  dir: "auto",
3412
3412
  keypath: "exhibition.timeline.intro"
@@ -3467,56 +3467,56 @@ var No = {
3467
3467
  },
3468
3468
  emits: ["update:selectedId"],
3469
3469
  setup(e, { emit: t }) {
3470
- let r = e, i = t, { t: a } = J(), o = A(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = A(() => r.pictures.some((e) => e.backRelated?.length)), c = z(!1);
3471
- yt(() => r.pictures, () => {
3472
- c.value = !1;
3470
+ let n = e, r = t, { t: i } = p(), a = x(() => n.pictures.find((e) => e.id === n.selectedId) ?? null), o = x(() => n.pictures.some((e) => e.backRelated?.length)), s = P(!1);
3471
+ se(() => n.pictures, () => {
3472
+ s.value = !1;
3473
3473
  });
3474
- let l = A(() => c.value ? r.pictures : r.pictures.filter((e) => !e.backRelated?.length));
3475
- function u(e) {
3476
- i("update:selectedId", e.id);
3474
+ let c = x(() => s.value ? n.pictures : n.pictures.filter((e) => !e.backRelated?.length));
3475
+ function l(e) {
3476
+ r("update:selectedId", e.id);
3477
3477
  }
3478
- return (t, r) => (R(), N("div", cl, [o.value ? (R(), N("div", ll, [P("div", ul, [P("img", {
3479
- src: o.value.image,
3480
- alt: o.value.imageAlt ?? ""
3481
- }, null, 8, dl)]), P("div", fl, [
3482
- P("div", pl, [o.value.imageCaption ? (R(), N("span", ml, V(o.value.imageCaption) + ", ", 1)) : M("", !0), P("span", { innerHTML: o.value.name }, null, 8, hl)]),
3483
- (R(!0), N(k, null, B(o.value.fields ?? [], (e, t) => (R(), N("div", {
3478
+ return (t, n) => (N(), w("div", cl, [a.value ? (N(), w("div", ll, [T("div", ul, [T("img", {
3479
+ src: a.value.image,
3480
+ alt: a.value.imageAlt ?? ""
3481
+ }, null, 8, dl)]), T("div", fl, [
3482
+ T("div", pl, [a.value.imageCaption ? (N(), w("span", ml, I(a.value.imageCaption) + ", ", 1)) : C("", !0), T("span", { innerHTML: a.value.name }, null, 8, hl)]),
3483
+ (N(!0), w(b, null, F(a.value.fields ?? [], (e, t) => (N(), w("div", {
3484
3484
  key: t,
3485
3485
  class: "mwnf-picture-gallery__detail"
3486
- }, [e.label ? (R(), N("span", gl, V(e.label), 1)) : M("", !0), P("span", { innerHTML: e.value }, null, 8, _l)]))), 128)),
3487
- o.value.detail ? (R(), N("div", vl, V(o.value.detail), 1)) : M("", !0),
3488
- o.value.to ? (R(), j(n, {
3486
+ }, [e.label ? (N(), w("span", gl, I(e.label), 1)) : C("", !0), T("span", { innerHTML: e.value }, null, 8, _l)]))), 128)),
3487
+ a.value.detail ? (N(), w("div", vl, I(a.value.detail), 1)) : C("", !0),
3488
+ a.value.to ? (N(), S(V, {
3489
3489
  key: 1,
3490
3490
  class: "mwnf-picture-gallery__link",
3491
- to: o.value.to
3491
+ to: a.value.to
3492
3492
  }, {
3493
- default: U(() => [F(V(H(a)(e.seeItemEntry)) + " →", 1)]),
3493
+ default: R(() => [D(I(L(i)(e.seeItemEntry)) + " →", 1)]),
3494
3494
  _: 1
3495
- }, 8, ["to"])) : (R(), N("div", yl, V(H(a)(e.unresolvedEntry)), 1))
3496
- ])])) : (R(), N("div", bl, V(H(a)(e.emptyEntry)), 1)), e.pictures.length ? (R(), N("div", xl, [P("ul", Sl, [(R(!0), N(k, null, B(l.value, (t) => (R(), N("li", {
3495
+ }, 8, ["to"])) : (N(), w("div", yl, I(L(i)(e.unresolvedEntry)), 1))
3496
+ ])])) : (N(), w("div", bl, I(L(i)(e.emptyEntry)), 1)), e.pictures.length ? (N(), w("div", xl, [T("ul", Sl, [(N(!0), w(b, null, F(c.value, (t) => (N(), w("li", {
3497
3497
  key: t.id,
3498
- class: L(["mwnf-picture-gallery__thumb", {
3498
+ class: k(["mwnf-picture-gallery__thumb", {
3499
3499
  "mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
3500
3500
  "mwnf-picture-gallery__thumb--related": t.backRelated?.length
3501
3501
  }])
3502
- }, [P("button", {
3502
+ }, [T("button", {
3503
3503
  type: "button",
3504
- onClick: (e) => u(t)
3505
- }, [P("img", {
3504
+ onClick: (e) => l(t)
3505
+ }, [T("img", {
3506
3506
  src: t.image,
3507
3507
  alt: t.imageAlt ?? "",
3508
3508
  loading: "lazy"
3509
- }, null, 8, wl)], 8, Cl), P("div", Tl, [
3510
- t.imageCaption ? (R(), N("span", El, V(t.imageCaption) + ", ", 1)) : M("", !0),
3511
- P("span", {
3509
+ }, null, 8, wl)], 8, Cl), T("div", Tl, [
3510
+ t.imageCaption ? (N(), w("span", El, I(t.imageCaption) + ", ", 1)) : C("", !0),
3511
+ T("span", {
3512
3512
  class: "mwnf-picture-gallery__thumb-name",
3513
3513
  innerHTML: t.name
3514
3514
  }, null, 8, Dl),
3515
- t.detail ? (R(), N("span", Ol, ", " + V(t.detail), 1)) : M("", !0)
3516
- ])], 2))), 128))]), s.value ? (R(), N("label", kl, [W(P("input", {
3517
- "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
3515
+ t.detail ? (N(), w("span", Ol, ", " + I(t.detail), 1)) : C("", !0)
3516
+ ])], 2))), 128))]), o.value ? (N(), w("label", kl, [z(T("input", {
3517
+ "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
3518
3518
  type: "checkbox"
3519
- }, null, 512), [[ht, c.value]]), P("span", null, V(c.value ? H(a)(e.hideRelatedEntry) : H(a)(e.addRelatedEntry)), 1)])) : M("", !0)])) : M("", !0)]));
3519
+ }, null, 512), [[re, s.value]]), T("span", null, I(s.value ? L(i)(e.hideRelatedEntry) : L(i)(e.addRelatedEntry)), 1)])) : C("", !0)])) : C("", !0)]));
3520
3520
  }
3521
3521
  }, jl = {
3522
3522
  key: 0,
@@ -3552,45 +3552,45 @@ var No = {
3552
3552
  },
3553
3553
  emits: ["select"],
3554
3554
  setup(e, { emit: t }) {
3555
- let n = e, r = t, { t: i } = J(), a = A(() => n.contextualDescription ? Dt(n.contextualDescription, { breaks: !0 }) : ""), o = A(() => n.picture?.related ?? []), s = A(() => n.picture?.backRelated?.[0] ?? null);
3556
- function c(e) {
3555
+ let n = e, r = t, { t: i } = p(), a = x(() => n.contextualDescription ? s(n.contextualDescription, { breaks: !0 }) : ""), o = x(() => n.picture?.related ?? []), c = x(() => n.picture?.backRelated?.[0] ?? null);
3556
+ function l(e) {
3557
3557
  r("select", e.id);
3558
3558
  }
3559
- return (t, n) => e.picture ? (R(), N("div", jl, [
3560
- a.value ? (R(), N("div", {
3559
+ return (t, n) => e.picture ? (N(), w("div", jl, [
3560
+ a.value ? (N(), w("div", {
3561
3561
  key: 0,
3562
3562
  class: "mwnf-picture-narrative__text mwnf-sheet__block",
3563
3563
  innerHTML: a.value
3564
- }, null, 8, Ml)) : M("", !0),
3565
- o.value.length ? (R(), N("div", Nl, [P("div", Pl, V(H(i)(e.relatedHeadingEntry)), 1), P("div", Fl, [P("div", Il, [P("img", {
3564
+ }, null, 8, Ml)) : C("", !0),
3565
+ o.value.length ? (N(), w("div", Nl, [T("div", Pl, I(L(i)(e.relatedHeadingEntry)), 1), T("div", Fl, [T("div", Il, [T("img", {
3566
3566
  src: e.picture.image,
3567
3567
  alt: e.picture.imageAlt ?? ""
3568
- }, null, 8, Ll), P("div", Rl, [P("span", { innerHTML: e.picture.name }, null, 8, zl), e.picture.detail ? (R(), N("span", Bl, ", " + V(e.picture.detail), 1)) : M("", !0)])]), (R(!0), N(k, null, B(o.value, (e) => (R(), N("div", {
3568
+ }, null, 8, Ll), T("div", Rl, [T("span", { innerHTML: e.picture.name }, null, 8, zl), e.picture.detail ? (N(), w("span", Bl, ", " + I(e.picture.detail), 1)) : C("", !0)])]), (N(!0), w(b, null, F(o.value, (e) => (N(), w("div", {
3569
3569
  key: e.picture.id,
3570
3570
  class: "mwnf-picture-narrative__image"
3571
3571
  }, [
3572
- P("button", {
3572
+ T("button", {
3573
3573
  type: "button",
3574
- onClick: (t) => c(e.picture)
3575
- }, [P("img", {
3574
+ onClick: (t) => l(e.picture)
3575
+ }, [T("img", {
3576
3576
  src: e.picture.image,
3577
3577
  alt: e.picture.imageAlt ?? ""
3578
3578
  }, null, 8, Hl)], 8, Vl),
3579
- P("div", Ul, [P("span", { innerHTML: e.picture.name }, null, 8, Wl), e.picture.detail ? (R(), N("span", Gl, ", " + V(e.picture.detail), 1)) : M("", !0)]),
3580
- e.text ? (R(), N("div", Kl, V(e.text), 1)) : M("", !0)
3581
- ]))), 128))])])) : M("", !0),
3582
- s.value ? (R(), N("div", ql, [
3583
- P("div", Jl, V(H(i)(e.relatedHeadingEntry)), 1),
3584
- P("p", Yl, V(s.value.reciprocalText || H(i)(e.reciprocalFallbackEntry)), 1),
3585
- P("div", Xl, [P("button", {
3579
+ T("div", Ul, [T("span", { innerHTML: e.picture.name }, null, 8, Wl), e.picture.detail ? (N(), w("span", Gl, ", " + I(e.picture.detail), 1)) : C("", !0)]),
3580
+ e.text ? (N(), w("div", Kl, I(e.text), 1)) : C("", !0)
3581
+ ]))), 128))])])) : C("", !0),
3582
+ c.value ? (N(), w("div", ql, [
3583
+ T("div", Jl, I(L(i)(e.relatedHeadingEntry)), 1),
3584
+ T("p", Yl, I(c.value.reciprocalText || L(i)(e.reciprocalFallbackEntry)), 1),
3585
+ T("div", Xl, [T("button", {
3586
3586
  type: "button",
3587
- onClick: n[0] ||= (e) => c(s.value.picture)
3588
- }, [P("img", {
3589
- src: s.value.picture.image,
3590
- alt: s.value.picture.imageAlt ?? ""
3591
- }, null, 8, Zl)]), P("div", Ql, [P("span", { innerHTML: s.value.picture.name }, null, 8, $l), s.value.picture.detail ? (R(), N("span", eu, ", " + V(s.value.picture.detail), 1)) : M("", !0)])])
3592
- ])) : M("", !0)
3593
- ])) : M("", !0);
3587
+ onClick: n[0] ||= (e) => l(c.value.picture)
3588
+ }, [T("img", {
3589
+ src: c.value.picture.image,
3590
+ alt: c.value.picture.imageAlt ?? ""
3591
+ }, null, 8, Zl)]), T("div", Ql, [T("span", { innerHTML: c.value.picture.name }, null, 8, $l), c.value.picture.detail ? (N(), w("span", eu, ", " + I(c.value.picture.detail), 1)) : C("", !0)])])
3592
+ ])) : C("", !0)
3593
+ ])) : C("", !0);
3594
3594
  }
3595
3595
  };
3596
- export { Ws as ExhibitionAbout, Ca as ExhibitionCollectionResults, Ha as ExhibitionCollectionSearch, Vs as ExhibitionHome, kc as ExhibitionItemDetail, Za as ExhibitionPartnerObjects, Lr as ExhibitionPartners, Gc as ExhibitionRelatedContent, Cr as ExhibitionSearchHowTo, oi as ExhibitionSearchResults, Co as ExhibitionShell, it as ExhibitionTheme, Dc as ExhibitionThemeGallery, cc as ExhibitionThemes, sl as ExhibitionTimeline, Vi as ExhibitionTimelineGallery, Pi as ExhibitionTimelineResults, Ko as FeaturedPartners, Wt as GalleryAbout, $n as GalleryCollectionResults, hr as GalleryCollectionSearch, Gt as GalleryCredits, bs as GalleryHome, Ss as GalleryItemDetail, xr as GalleryPartnerObjects, hn as GalleryPartners, Jt as GallerySearchHowTo, Bn as GallerySearchResults, _o as GalleryShell, Rs as GalleryTimeline, Wn as GalleryTimelineGallery, Vn as GalleryTimelineResults, nt as ItemDetailView, Q as LegacyPages, Ht as PartnerDetail, Al as PictureGallery, tu as PictureNarrative, So as PopupLogo, ds as SiblingGalleries, st as exhibitionAboutSpec, Mo as exhibitionConfig, be as exhibitionPartnerDetail, ot as exhibitionThemeSpec, ko as galleryConfig, _e as galleryPartnerDetail, Eo as projectChips, po as standardRoutes, at as themeNodeRoute };
3596
+ export { Ws as ExhibitionAbout, Ca as ExhibitionCollectionResults, Ha as ExhibitionCollectionSearch, Vs as ExhibitionHome, kc as ExhibitionItemDetail, Za as ExhibitionPartnerObjects, Lr as ExhibitionPartners, Gc as ExhibitionRelatedContent, Cr as ExhibitionSearchHowTo, oi as ExhibitionSearchResults, Co as ExhibitionShell, It as ExhibitionTheme, Dc as ExhibitionThemeGallery, cc as ExhibitionThemes, sl as ExhibitionTimeline, Vi as ExhibitionTimelineGallery, Pi as ExhibitionTimelineResults, Ko as FeaturedPartners, Gt as GalleryAbout, $n as GalleryCollectionResults, hr as GalleryCollectionSearch, Kt as GalleryCredits, bs as GalleryHome, Ss as GalleryItemDetail, xr as GalleryPartnerObjects, hn as GalleryPartners, Yt as GallerySearchHowTo, Bn as GallerySearchResults, _o as GalleryShell, Rs as GalleryTimeline, Wn as GalleryTimelineGallery, Vn as GalleryTimelineResults, Pt as ItemDetailView, Q as LegacyPages, Ut as PartnerDetail, Al as PictureGallery, tu as PictureNarrative, So as PopupLogo, ds as SiblingGalleries, zt as exhibitionAboutSpec, Mo as exhibitionConfig, Ye as exhibitionPartnerDetail, Rt as exhibitionThemeSpec, ko as galleryConfig, Ke as galleryPartnerDetail, Eo as projectChips, po as standardRoutes, Lt as themeNodeRoute };