@museumwnf/viewer-layout 3.66.1 → 3.67.1

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
1
  import { s as e } from "./OnDisplayIn-BH3Bqope.js";
2
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, o as s } from "./TimelineEventList-CIkKxyQu.js";
4
- import { t as c } from "./RecordView-Bgd5mm_e.js";
5
- import { A as l, C as u, D as d, E as f, M as p, N as m, O as h, S as g, T as _, _ as v, a as y, b as ee, c as te, d as b, f as ne, g as x, h as re, i as ie, j as ae, k as oe, l as se, m as ce, n as le, o as ue, p as de, r as fe, s as pe, t as me, u as he, v as ge, w as _e, x as ve, y as ye } from "./data-DlmKSxgh.js";
6
- import { A as S, C as be, D as xe, E as Se, M as Ce, N as we, O 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 Re, n as ze, o as Be, p as Ve, r as He, s as Ue, t as We, u as Ge, v as T, w as Ke, x as qe, y as Je } from "./data-CtYatYQi.js";
7
- import { n as Ye, r as E, t as Xe } from "./TimelineResultsView-BF3VoCs_.js";
8
- import { t as Ze } from "./SiteShell-UsZ_cpe9.js";
9
- import { i as Qe, n as $e, r as et, t as tt } from "./chrome-Bv_mLlHM.js";
10
- import { i as nt } from "./PageShell-CIGVv7sK.js";
11
- import { n as rt, t as it } from "./LegacyItemSheet-DO80usKA.js";
12
- import { n as at, r as D } from "./Theme-TtISKJme.js";
13
- import { n as ot, r as st, t as ct } from "./themeSpecs-DePD36Wi.js";
14
- import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as lt, createTextVNode as P, createVNode as F, normalizeClass as I, normalizeStyle as ut, onBeforeUnmount as dt, onMounted as ft, openBlock as L, reactive as pt, ref as R, renderList as z, renderSlot as mt, resolveDynamicComponent as ht, toDisplayString as B, unref as V, vModelCheckbox as gt, vModelSelect as _t, vModelText as vt, vShow as yt, watch as bt, watchEffect as xt, withCtx as H, withDirectives as U, withModifiers as St } from "vue";
15
- import { I18nText as W, NotFoundView as Ct, languageLabels as wt, loadEntities as Tt, mwnfLinks as G, offeredLanguages as Et, renderBlock as Dt, renderInline as K, renderPlain as Ot, sectionMeta as kt, useDataPackage as At, useFacets as jt, useI18n as q, useKeywordIndex as Mt, useSection as Nt, useSiteConfig as Pt, withEraWords as Ft, yearBuckets as J, yearBucketsFromRange as It } from "@museumwnf/viewer-core";
16
- import { RouterLink as Y, useRoute as X, useRouter as Lt } from "vue-router";
17
- import { romanFor as Rt } from "@museumwnf/viewer-core/dxa";
3
+ import { a as i, i as a, n as o } from "./TimelineEventList-CIkKxyQu.js";
4
+ import { t as s } from "./RecordView-Bgd5mm_e.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 S, C as ye, D as be, E as xe, M as Se, N as Ce, O as we, S as Te, T as Ee, _ as De, a as Oe, b as ke, c as C, d as Ae, f as je, g as Me, h as Ne, i as Pe, j as w, k as Fe, l as Ie, m as Le, n as Re, o as ze, p as Be, r as Ve, s as He, t as Ue, u as We, v as T, w as Ge, x as Ke, y as qe } from "./data-CtYatYQi.js";
7
+ import { n as Je, r as E, t as Ye } from "./TimelineResultsView-BF3VoCs_.js";
8
+ import { t as Xe } from "./SiteShell-UsZ_cpe9.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-CIGVv7sK.js";
11
+ import { n as nt, t as rt } from "./LegacyItemSheet-DO80usKA.js";
12
+ import { n as it, r as D } from "./Theme-BM4TFT0i.js";
13
+ import { n as at, r as ot, t as st } from "./themeSpecs-DePD36Wi.js";
14
+ import { Fragment as O, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createSlots as ct, createTextVNode as P, createVNode as F, normalizeClass as I, normalizeStyle as lt, onBeforeUnmount as ut, onMounted as dt, openBlock as L, reactive as ft, ref as R, renderList as z, renderSlot as pt, resolveDynamicComponent as mt, toDisplayString as B, unref as V, vModelCheckbox as ht, vModelSelect as gt, vModelText as _t, vShow as vt, watch as yt, watchEffect as bt, withCtx as H, withDirectives as U, withModifiers as xt } from "vue";
15
+ import { I18nText as W, NotFoundView as St, languageLabels as Ct, loadEntities as wt, mwnfLinks as G, offeredLanguages as Tt, renderBlock as Et, renderInline as K, renderPlain as Dt, sectionMeta as Ot, useDataPackage as kt, useFacets as At, useI18n as q, useKeywordIndex as jt, useSection as Mt, useSiteConfig as Nt, withEraWords as Pt, yearBuckets as J, yearBucketsFromRange as Ft } from "@museumwnf/viewer-core";
16
+ import { RouterLink as Y, useRoute as X, useRouter as It } from "vue-router";
17
+ import { romanFor as Lt } from "@museumwnf/viewer-core/dxa";
18
18
  // src/dxa/PartnerDetail.vue
19
- var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profile-map-label" }, Vt = {
19
+ var Rt = { class: "mwnf-dxa-profile-languages" }, zt = { class: "mwnf-dxa-profile-map-label" }, Bt = {
20
20
  key: 1,
21
21
  class: "mwnf-dxa-profile-no-map"
22
- }, Ht = {
22
+ }, Vt = {
23
23
  __name: "PartnerDetail",
24
24
  props: {
25
25
  id: {
@@ -36,14 +36,14 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
36
36
  }
37
37
  },
38
38
  setup(i) {
39
- let a = i, { t: s } = q(), l = k(() => a.family.labels?.[a.variant] ?? a.family.labels?.partner ?? {});
40
- return (a, u) => i.family.visible(i.id) ? (L(), A(c, {
39
+ let a = i, { t: c } = q(), l = k(() => a.family.labels?.[a.variant] ?? a.family.labels?.partner ?? {});
40
+ return (a, u) => i.family.visible(i.id) ? (L(), A(s, {
41
41
  key: 0,
42
42
  spec: i.family.spec,
43
43
  id: i.id,
44
44
  class: I(["mwnf-dxa-partner-profile", i.family.className])
45
45
  }, {
46
- header: H(({ languages: n, language: r, select: a }) => [N("div", zt, [F(t, {
46
+ header: H(({ languages: n, language: r, select: a }) => [N("div", Rt, [F(t, {
47
47
  languages: n,
48
48
  language: r,
49
49
  from: i.family.legacyMap ? 1 : 2,
@@ -62,19 +62,19 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
62
62
  media: i.family.media ?? {},
63
63
  show: i.family.legacyMap ? { map: !1 } : {},
64
64
  dir: a
65
- }, lt({
65
+ }, ct({
66
66
  actions: H(({ partner: e }) => [e.objectsRoute ? (L(), A(n, {
67
67
  key: 0,
68
68
  class: "mwnf-button",
69
69
  to: e.objectsRoute
70
70
  }, {
71
- default: H(() => [P(B(V(s)(l.value.objects ?? "partner.action.viewObjects")), 1)]),
71
+ default: H(() => [P(B(V(c)(l.value.objects ?? "partner.action.viewObjects")), 1)]),
72
72
  _: 1
73
73
  }, 8, ["to"])) : j("", !0)]),
74
74
  _: 2
75
75
  }, [i.family.legacyMap ? {
76
76
  name: "after",
77
- fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p", Bt, B(V(s)(i.family.legacyMap.label)), 1), F(r, {
77
+ fn: H(({ partner: e }) => [e.map ? (L(), M(O, { key: 0 }, [N("p", zt, B(V(c)(i.family.legacyMap.label)), 1), F(r, {
78
78
  class: "mwnf-dxa-profile-map",
79
79
  provider: "google",
80
80
  latitude: e.map.latitude,
@@ -86,7 +86,7 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
86
86
  "longitude",
87
87
  "zoom",
88
88
  "label"
89
- ])], 64)) : (L(), M("p", Vt))]),
89
+ ])], 64)) : (L(), M("p", Bt))]),
90
90
  key: "0"
91
91
  } : void 0]), 1032, [
92
92
  "partner",
@@ -100,9 +100,9 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
100
100
  "spec",
101
101
  "id",
102
102
  "class"
103
- ])) : (L(), A(V(Ct), { key: 1 }));
103
+ ])) : (L(), A(V(St), { key: 1 }));
104
104
  }
105
- }, Ut = {
105
+ }, Ht = {
106
106
  __name: "TextPage",
107
107
  props: {
108
108
  body: {
@@ -131,50 +131,50 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
131
131
  "blank-lines": ""
132
132
  }, null, 8, ["keypath"])], 2));
133
133
  }
134
- }, Wt = {
134
+ }, Ut = {
135
135
  __name: "About",
136
136
  setup(e) {
137
- return (e, t) => (L(), A(Ut, {
137
+ return (e, t) => (L(), A(Ht, {
138
138
  kind: "about",
139
139
  body: "gallery.about.body"
140
140
  }));
141
141
  }
142
- }, Gt = {
142
+ }, Wt = {
143
143
  __name: "Credits",
144
144
  props: { bodyKey: {
145
145
  type: String,
146
146
  required: !0
147
147
  } },
148
148
  setup(e) {
149
- return (t, n) => (L(), A(Ut, {
149
+ return (t, n) => (L(), A(Ht, {
150
150
  kind: "credits",
151
151
  body: e.bodyKey
152
152
  }, null, 8, ["body"]));
153
153
  }
154
- }, Kt = { class: "mwnf-dxa-exhibition-credits" }, qt = {
154
+ }, Gt = { class: "mwnf-dxa-exhibition-credits" }, Kt = {
155
155
  __name: "Credits",
156
156
  props: { bodyKey: {
157
157
  type: String,
158
158
  required: !0
159
159
  } },
160
160
  setup(t) {
161
- return (n, r) => (L(), M("div", Kt, [F(e), F(V(W), {
161
+ return (n, r) => (L(), M("div", Gt, [F(e), F(V(W), {
162
162
  class: "mwnf-dxa-exhibition-credits__body",
163
163
  dir: "auto",
164
164
  keypath: t.bodyKey,
165
165
  "blank-lines": ""
166
166
  }, null, 8, ["keypath"])]));
167
167
  }
168
- }, Jt = {
168
+ }, qt = {
169
169
  __name: "SearchHowTo",
170
170
  setup(e) {
171
- return (e, t) => (L(), A(Ut, {
171
+ return (e, t) => (L(), A(Ht, {
172
172
  kind: "how-to",
173
173
  body: "catalogue.search.howToEssay",
174
174
  back: { name: "collection" }
175
175
  }));
176
176
  }
177
- }, Yt = {
177
+ }, Jt = {
178
178
  DGA: "dga",
179
179
  ISL: "isl",
180
180
  EPM: "isl",
@@ -182,57 +182,68 @@ var zt = { class: "mwnf-dxa-profile-languages" }, Bt = { class: "mwnf-dxa-profil
182
182
  BAR: "dba",
183
183
  GALLERIES: "galleries",
184
184
  DCA: "dca"
185
- }, Xt = {
185
+ }, Yt = {
186
186
  partner: "gallery.partners.statusPartner",
187
187
  affiliate: "gallery.partners.statusAffiliate"
188
188
  };
189
- function Z(e, t = Xt) {
189
+ function Z(e, t = Yt) {
190
190
  let n = e?.own_project;
191
191
  if (!n?.name) return null;
192
- let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Yt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
192
+ let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Jt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
193
193
  return {
194
194
  name: n.name,
195
195
  status: a ? t.partner : t.affiliate,
196
196
  tone: i
197
197
  };
198
198
  }
199
+ var Xt = {
200
+ partner: "exhibition.partners.statusPartner",
201
+ affiliate: "exhibition.partners.statusAffiliate"
202
+ }, Zt = "mwnf3:institutions:";
203
+ function Qt(e) {
204
+ return e?.type === "institution" && String(e.backward_compatibility ?? "").startsWith(Zt) ? {
205
+ name: "",
206
+ status: e.level === "partner" ? "exhibition.partners.institutionPartner" : "exhibition.partners.institutionAffiliate",
207
+ tone: "institution"
208
+ } : Z(e, Xt);
209
+ }
199
210
  // src/dxa/gallery/Partners.vue
200
- var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class: "mwnf-dxa-gallery-partners__options" }, $t = { class: "mwnf-dxa-gallery-partners__order" }, en = ["onClick"], tn = { class: "mwnf-dxa-gallery-partners__country" }, nn = { class: "mwnf-dxa-gallery-partners__partner" }, rn = { class: "mwnf-dxa-gallery-partners__text" }, an = ["innerHTML"], on = {
211
+ var $t = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, en = { class: "mwnf-dxa-gallery-partners__options" }, tn = { class: "mwnf-dxa-gallery-partners__order" }, nn = ["onClick"], rn = { class: "mwnf-dxa-gallery-partners__country" }, an = { class: "mwnf-dxa-gallery-partners__partner" }, on = { class: "mwnf-dxa-gallery-partners__text" }, sn = ["innerHTML"], cn = {
201
212
  key: 0,
202
213
  class: "mwnf-dxa-gallery-partners__city"
203
- }, sn = { class: "mwnf-dxa-partner-badge__status" }, cn = { class: "mwnf-dxa-gallery-partners__links" }, ln = { class: "mwnf-dxa-gallery-partners__logo" }, un = ["src", "alt"], dn = {
214
+ }, ln = { class: "mwnf-dxa-partner-badge__status" }, un = { class: "mwnf-dxa-gallery-partners__links" }, dn = { class: "mwnf-dxa-gallery-partners__logo" }, fn = ["src", "alt"], pn = {
204
215
  __name: "Partners",
205
216
  setup(t) {
206
217
  let r = {
207
- ...u,
208
- objectsRoute: _,
218
+ ...l,
219
+ objectsRoute: g,
209
220
  orderToggle: !1,
210
221
  tiebreak: (e) => e.own_project?.name ?? ""
211
222
  };
212
- return (t, i) => (L(), M("div", Zt, [F(Ye, { spec: r }, {
213
- before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", Qt, [F(e), N("div", $t, [N("button", {
223
+ return (t, i) => (L(), M("div", $t, [F(Je, { spec: r }, {
224
+ before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", en, [F(e), N("div", tn, [N("button", {
214
225
  type: "button",
215
226
  onClick: r
216
- }, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, en)])]), F(V(W), {
227
+ }, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, nn)])]), F(V(W), {
217
228
  id: "mwnf-dxa-partners-intro",
218
229
  class: "mwnf-dxa-gallery-partners__intro",
219
230
  dir: "auto",
220
231
  keypath: "gallery.partners.intro"
221
232
  })]),
222
- "group-heading": H(({ group: e }) => [N("div", tn, B(e.label), 1)]),
223
- row: H(({ partner: e, view: t, t: r }) => [N("div", nn, [N("div", rn, [
233
+ "group-heading": H(({ group: e }) => [N("div", rn, B(e.label), 1)]),
234
+ row: H(({ partner: e, view: t, t: r }) => [N("div", an, [N("div", on, [
224
235
  F(n, {
225
236
  class: "mwnf-dxa-gallery-partners__name",
226
237
  to: t.route
227
238
  }, {
228
- default: H(() => [N("span", { innerHTML: t.name }, null, 8, an), t.city ? (L(), M("span", on, ", " + B(t.city), 1)) : j("", !0)]),
239
+ default: H(() => [N("span", { innerHTML: t.name }, null, 8, sn), t.city ? (L(), M("span", cn, ", " + B(t.city), 1)) : j("", !0)]),
229
240
  _: 2
230
241
  }, 1032, ["to"]),
231
242
  V(Z)(e) ? (L(), M("div", {
232
243
  key: 0,
233
244
  class: I(["mwnf-dxa-partner-badge", V(Z)(e).tone && `mwnf-dxa-partner-badge--${V(Z)(e).tone}`])
234
- }, [P(B(V(Z)(e).name) + " ", 1), N("span", sn, B(r(V(Z)(e).status)), 1)], 2)) : j("", !0),
235
- N("div", cn, [F(n, { to: t.route }, {
245
+ }, [P(B(V(Z)(e).name) + " ", 1), N("span", ln, B(r(V(Z)(e).status)), 1)], 2)) : j("", !0),
246
+ N("div", un, [F(n, { to: t.route }, {
236
247
  default: H(() => [P(B(r("partner.action.readMore")), 1)]),
237
248
  _: 2
238
249
  }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
@@ -242,19 +253,104 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
242
253
  default: H(() => [P(B(r("partner.action.viewObjects")), 1)]),
243
254
  _: 2
244
255
  }, 1032, ["to"])], 64)) : j("", !0)])
245
- ]), N("div", ln, [t.logos?.[0] ? (L(), M("img", {
256
+ ]), N("div", dn, [t.logos?.[0] ? (L(), M("img", {
246
257
  key: 0,
247
258
  src: t.logos[0].url,
248
259
  alt: t.plainName,
249
260
  loading: "lazy"
250
- }, null, 8, un)) : j("", !0)])])]),
261
+ }, null, 8, fn)) : j("", !0)])])]),
251
262
  _: 1
252
263
  })]));
253
264
  }
254
- }, fn = ["onMouseenter"], pn = { class: "mwnf-dxa-grid__frame" }, mn = ["src", "alt"], hn = ["src", "alt"], gn = { class: "mwnf-dxa-grid__text" }, _n = ["innerHTML"], vn = { class: "mwnf-dxa-grid__date" }, yn = { class: "mwnf-dxa-grid__partner" }, bn = { class: "mwnf-dxa-grid__place" }, xn = {
265
+ }, mn = ["disabled"], hn = { key: 0 }, gn = ["disabled"], _n = { key: 0 }, vn = [
266
+ "disabled",
267
+ "aria-current",
268
+ "onClick"
269
+ ], yn = ["disabled"], bn = { key: 0 }, xn = ["disabled"], Sn = { key: 0 }, Q = {
270
+ __name: "LegacyPages",
271
+ props: {
272
+ pageInfo: {
273
+ type: Object,
274
+ required: !0
275
+ },
276
+ family: {
277
+ type: String,
278
+ default: "exhibition"
279
+ }
280
+ },
281
+ emits: ["navigate"],
282
+ setup(e, { emit: t }) {
283
+ let n = e, r = t, { t: i } = q(), a = k(() => `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) ? [
284
+ 3,
285
+ 2,
286
+ 5
287
+ ] : s(724) ? [
288
+ 5,
289
+ 4,
290
+ 9
291
+ ] : s(849) ? [
292
+ 6,
293
+ 5,
294
+ 11
295
+ ] : [
296
+ 8,
297
+ 7,
298
+ 15
299
+ ], f = k(() => n.pageInfo?.currentPage ?? 1), p = k(() => n.pageInfo?.lastPage ?? 1), m = k(() => {
300
+ let e = 1, t = p.value;
301
+ if (p.value > d) {
302
+ let n = f.value;
303
+ 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);
304
+ }
305
+ let n = [];
306
+ for (let r = e; r <= t; r++) n.push(r);
307
+ return n;
308
+ }), h = (e) => e < 1 || e > p.value || e === f.value;
309
+ function g(e) {
310
+ h(e) || r("navigate", e);
311
+ }
312
+ return (e, t) => p.value > 1 ? (L(), M("div", {
313
+ key: 0,
314
+ class: I(a.value)
315
+ }, [
316
+ N("button", {
317
+ type: "button",
318
+ class: I([`${a.value}__button`, { "is-disabled": h(1) }]),
319
+ disabled: h(1),
320
+ onClick: t[0] ||= (e) => g(1)
321
+ }, [t[4] ||= P(" <<", -1), V(c) ? j("", !0) : (L(), M("span", hn, B(" " + o("first")), 1))], 10, mn),
322
+ N("button", {
323
+ type: "button",
324
+ class: I([`${a.value}__button`, { "is-disabled": h(f.value - 1) }]),
325
+ disabled: h(f.value - 1),
326
+ onClick: t[1] ||= (e) => g(f.value - 1)
327
+ }, [t[5] ||= P(" <", -1), V(c) ? j("", !0) : (L(), M("span", _n, B(" " + o("previous")), 1))], 10, gn),
328
+ N("div", { class: I(`${a.value}__numbers`) }, [(L(!0), M(O, null, z(m.value, (e) => (L(), M("button", {
329
+ key: e,
330
+ type: "button",
331
+ class: I([`${a.value}__button`, { "is-disabled": h(e) }]),
332
+ disabled: h(e),
333
+ "aria-current": e === f.value ? "page" : void 0,
334
+ onClick: (t) => g(e)
335
+ }, B(e), 11, vn))), 128))], 2),
336
+ N("button", {
337
+ type: "button",
338
+ class: I([`${a.value}__button`, { "is-disabled": h(f.value + 1) }]),
339
+ disabled: h(f.value + 1),
340
+ onClick: t[2] ||= (e) => g(f.value + 1)
341
+ }, [V(c) ? j("", !0) : (L(), M("span", bn, B(o("next") + " "), 1)), t[6] ||= P("> ", -1)], 10, yn),
342
+ N("button", {
343
+ type: "button",
344
+ class: I([`${a.value}__button`, { "is-disabled": h(p.value) }]),
345
+ disabled: h(p.value),
346
+ onClick: t[3] ||= (e) => g(p.value)
347
+ }, [V(c) ? j("", !0) : (L(), M("span", Sn, B(o("last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, xn)
348
+ ], 2)) : j("", !0);
349
+ }
350
+ }, Cn = ["onMouseenter"], wn = { class: "mwnf-dxa-grid__frame" }, Tn = ["src", "alt"], En = ["src", "alt"], Dn = { class: "mwnf-dxa-grid__text" }, On = ["innerHTML"], kn = { class: "mwnf-dxa-grid__date" }, An = { class: "mwnf-dxa-grid__partner" }, jn = { class: "mwnf-dxa-grid__place" }, Mn = {
255
351
  key: 0,
256
352
  class: "mwnf-dxa-grid__project"
257
- }, Q = {
353
+ }, $ = {
258
354
  __name: "ObjectGrid",
259
355
  props: {
260
356
  rows: {
@@ -273,12 +369,12 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
273
369
  class: "mwnf-dxa-grid__entry",
274
370
  onMouseenter: (e) => r.value = o,
275
371
  onMouseleave: a[0] ||= (e) => r.value = -1
276
- }, [N("div", pn, [N("img", {
372
+ }, [N("div", wn, [N("img", {
277
373
  class: "mwnf-dxa-grid__image",
278
374
  src: i.image,
279
375
  alt: i.imageAlt,
280
376
  loading: "lazy"
281
- }, null, 8, mn)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
377
+ }, null, 8, Tn)]), N("div", { class: I(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": r.value === o }]) }, [F(n, {
282
378
  class: "mwnf-dxa-grid__card-image",
283
379
  to: i.to,
284
380
  tabindex: "-1"
@@ -287,17 +383,17 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
287
383
  src: i.image,
288
384
  alt: i.imageAlt,
289
385
  loading: "lazy"
290
- }, null, 8, hn)]),
386
+ }, null, 8, En)]),
291
387
  _: 2
292
- }, 1032, ["to"]), N("div", gn, [
388
+ }, 1032, ["to"]), N("div", Dn, [
293
389
  N("p", {
294
390
  class: "mwnf-dxa-grid__name",
295
391
  innerHTML: i.name
296
- }, null, 8, _n),
297
- N("p", vn, B(i.date), 1),
298
- N("p", yn, B(i.partner), 1),
299
- N("p", bn, B(i.place), 1),
300
- e.family !== "exhibition" || i.project ? (L(), M("p", xn, [P(B(V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
392
+ }, null, 8, On),
393
+ N("p", kn, B(i.date), 1),
394
+ N("p", An, B(i.partner), 1),
395
+ N("p", jn, B(i.place), 1),
396
+ e.family !== "exhibition" || i.project ? (L(), M("p", Mn, [P(B(V(t)("gallery.results.for")) + " ", 1), N("span", null, B(i.project), 1)])) : j("", !0),
301
397
  F(n, {
302
398
  class: "mwnf-dxa-grid__link",
303
399
  to: i.to
@@ -305,22 +401,22 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
305
401
  default: H(() => [P(B(V(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
306
402
  _: 1
307
403
  }, 8, ["to"])
308
- ])], 2)], 40, fn))), 128))], 2));
404
+ ])], 2)], 40, Cn))), 128))], 2));
309
405
  }
310
- }, Sn = ["onSubmit"], Cn = ["placeholder"], wn = {
406
+ }, Nn = ["onSubmit"], Pn = ["placeholder"], Fn = {
311
407
  type: "submit",
312
408
  class: "mwnf-dxa-refine-search-submit"
313
- }, Tn = { class: "mwnf-dxa-how-to" }, En = {
409
+ }, In = { class: "mwnf-dxa-how-to" }, Ln = {
314
410
  key: 1,
315
411
  class: "mwnf-dxa-no-results"
316
- }, Dn = {
412
+ }, Rn = {
317
413
  __name: "SearchResults",
318
414
  setup(t) {
319
- let n = Mt("items", {
415
+ let n = jt("items", {
320
416
  grammar: "boolean",
321
- haystack: ne
417
+ haystack: b
322
418
  }), r = R(!1);
323
- ye().then(() => {
419
+ ve().then(() => {
324
420
  r.value = !0;
325
421
  });
326
422
  function i(e) {
@@ -331,12 +427,11 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
331
427
  keys: ["q"],
332
428
  sort: !1,
333
429
  narrow: (e, t) => r.value ? i(t.q) ? e : n.search(t.q) : [],
334
- pageSize: ge.pageSize,
430
+ pageSize: he.pageSize,
335
431
  variant: "grid",
336
432
  recordRoute: "item",
337
433
  actionLabel: "catalogue.results.seeDatabaseEntry",
338
- record: (e, { t }) => oe(e, t),
339
- pagination: { jump: !0 },
434
+ record: (e, { t }) => ae(e, t),
340
435
  summary: ({ filters: e, pageInfo: t, t: n, total: r }) => [{
341
436
  label: n("core.section.database"),
342
437
  value: i(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
@@ -352,26 +447,38 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
352
447
  before: H(() => [F(e)]),
353
448
  filters: H(({ apply: e }) => [N("form", {
354
449
  class: "mwnf-dxa-refine-search",
355
- onSubmit: St((t) => e({ q: a.value || "all-objects" }), ["prevent"])
450
+ onSubmit: xt((t) => e({ q: a.value || "all-objects" }), ["prevent"])
356
451
  }, [U(N("input", {
357
452
  "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
358
453
  type: "text",
359
454
  class: "mwnf-dxa-refine-search-input",
360
455
  placeholder: t.$t("catalogue.search.keywordPlaceholder")
361
- }, null, 8, Cn), [[vt, a.value]]), N("button", wn, B(t.$t("catalogue.search.submit")), 1)], 40, Sn), N("p", Tn, [F(V(Y), { to: { name: "search-how-to" } }, {
456
+ }, null, 8, Pn), [[_t, a.value]]), N("button", Fn, B(t.$t("catalogue.search.submit")), 1)], 40, Nn), N("p", In, [F(V(Y), { to: { name: "search-how-to" } }, {
362
457
  default: H(() => [P(B(t.$t("catalogue.search.howTo")) + " ›", 1)]),
363
458
  _: 1
364
459
  })])]),
365
- records: H(({ rows: e }) => [e.length ? (L(), A(Q, {
460
+ actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
461
+ family: "gallery",
462
+ class: "mwnf-dxa-gallery-pages--top",
463
+ "page-info": e,
464
+ onNavigate: t
465
+ }, null, 8, ["page-info", "onNavigate"])]),
466
+ pagination: H(() => [...n[1] ||= []]),
467
+ after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
468
+ family: "gallery",
469
+ "page-info": e,
470
+ onNavigate: t
471
+ }, null, 8, ["page-info", "onNavigate"])]),
472
+ records: H(({ rows: e }) => [e.length ? (L(), A($, {
366
473
  key: 0,
367
474
  rows: e
368
- }, null, 8, ["rows"])) : (L(), M("p", En, [
475
+ }, null, 8, ["rows"])) : (L(), M("p", Ln, [
369
476
  P(B(t.$t("catalogue.results.noResultsSearch")) + " ", 1),
370
477
  F(V(Y), { to: { name: "search-how-to" } }, {
371
478
  default: H(() => [P(B(t.$t("catalogue.search.howTo")), 1)]),
372
479
  _: 1
373
480
  }),
374
- n[1] ||= N("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
481
+ n[2] ||= N("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
375
482
  F(V(Y), { to: { name: "collection" } }, {
376
483
  default: H(() => [P(B(t.$t("core.section.collection")), 1)]),
377
484
  _: 1
@@ -380,32 +487,32 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
380
487
  _: 1
381
488
  }, 8, ["spec"]));
382
489
  }
383
- }, On = {
490
+ }, zn = {
384
491
  __name: "TimelineResults",
385
492
  setup(t) {
386
- return (t, n) => (L(), A(Xe, {
387
- spec: V(ae),
493
+ return (t, n) => (L(), A(Ye, {
494
+ spec: V(ie),
388
495
  class: "mwnf-dxa-timeline-results"
389
496
  }, {
390
497
  before: H(() => [F(e)]),
391
498
  _: 1
392
499
  }, 8, ["spec"]));
393
500
  }
394
- }, kn = { class: "mwnf-dxa-back-to-events" }, An = {
501
+ }, Bn = { class: "mwnf-dxa-back-to-events" }, Vn = {
395
502
  key: 1,
396
503
  class: "mwnf-record-grid__empty"
397
- }, jn = {
504
+ }, Hn = {
398
505
  __name: "TimelineGallery",
399
506
  setup(t) {
400
507
  return (t, n) => (L(), A(E, {
401
508
  spec: {
402
- ...V(l),
403
- ...V(ge)
509
+ ...V(c),
510
+ ...V(he)
404
511
  },
405
512
  class: "mwnf-dxa-timeline-gallery"
406
513
  }, {
407
514
  before: H(() => [F(e)]),
408
- actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", kn, [F(V(Y), { to: {
515
+ actions: H(({ filters: e, pageInfo: n, goToPage: r }) => [N("p", Bn, [F(V(Y), { to: {
409
516
  name: "timeline-results",
410
517
  query: {
411
518
  country: e.country,
@@ -415,26 +522,32 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
415
522
  } }, {
416
523
  default: H(() => [P(" ➤ " + B(t.$t("timeline.nav.backToEvents")), 1)]),
417
524
  _: 1
418
- }, 8, ["to"])]), F(s, {
419
- class: "mwnf-dxa-pages",
525
+ }, 8, ["to"])]), F(Q, {
526
+ family: "gallery",
527
+ class: "mwnf-dxa-gallery-pages--top",
420
528
  "page-info": n,
421
- jump: "",
422
529
  onNavigate: r
423
530
  }, null, 8, ["page-info", "onNavigate"])]),
424
- records: H(({ rows: e, empty: t }) => [e.length ? (L(), A(Q, {
531
+ records: H(({ rows: e, empty: t }) => [e.length ? (L(), A($, {
425
532
  key: 0,
426
533
  rows: e
427
- }, null, 8, ["rows"])) : (L(), M("p", An, B(t), 1))]),
534
+ }, null, 8, ["rows"])) : (L(), M("p", Vn, B(t), 1))]),
535
+ pagination: H(() => [...n[0] ||= []]),
536
+ after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
537
+ family: "gallery",
538
+ "page-info": e,
539
+ onNavigate: t
540
+ }, null, 8, ["page-info", "onNavigate"])]),
428
541
  _: 1
429
542
  }, 8, ["spec"]));
430
543
  }
431
- }, Mn = { class: "mwnf-dxa-gallery-results" }, Nn = { class: "mwnf-dxa-gallery-results__info" }, Pn = { class: "mwnf-dxa-gallery-results__choices" }, Fn = {
432
- key: 1,
544
+ }, Un = { class: "mwnf-dxa-gallery-results" }, Wn = { class: "mwnf-dxa-gallery-results__info" }, Gn = { class: "mwnf-dxa-gallery-results__choices" }, Kn = {
545
+ key: 0,
433
546
  class: "mwnf-dxa-gallery-results__end"
434
- }, In = { class: "mwnf-dxa-date-wrapper" }, Ln = {
547
+ }, qn = { class: "mwnf-dxa-date-wrapper" }, Jn = {
435
548
  key: 0,
436
549
  class: "mwnf-dxa-timeline-link-box"
437
- }, Rn = { class: "mwnf-dxa-options-label" }, zn = { class: "mwnf-dxa-gallery-results__timeline" }, Bn = {
550
+ }, Yn = { class: "mwnf-dxa-options-label" }, Xn = { class: "mwnf-dxa-gallery-results__timeline" }, Zn = {
438
551
  __name: "CollectionResults",
439
552
  setup(t) {
440
553
  let { t: n } = q(), r = {
@@ -442,35 +555,34 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
442
555
  dynasty: "gallery.collection.periodDynasty",
443
556
  subject: "gallery.collection.subject",
444
557
  material: "gallery.collection.material"
445
- }, o = (e) => n(le[e] ?? e), c = k(() => J(x.value ?? [], o)), l = k(() => (x.value ?? []).length), u = y.keys, d = (e) => u.every((t) => !e[t]);
446
- function f(e, t, r) {
447
- let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], a = (e) => c.value.find((t) => String(t.value) === String(e))?.label ?? e, o = [];
558
+ }, o = (e) => n(ce[e] ?? e), s = k(() => J(x.value ?? [], o)), c = k(() => (x.value ?? []).length), l = v.keys, u = (e) => l.every((t) => !e[t]);
559
+ function d(e, t, r) {
560
+ 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 = [];
448
561
  e.country && o.push(i("country"));
449
- for (let t of fe) e[t] && o.push(i(t));
562
+ for (let t of de) e[t] && o.push(i(t));
450
563
  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");
451
564
  }
452
- let m = k(() => new Set((p.value ?? []).map((e) => e.country_id)));
453
- function h(e) {
454
- let t = ue(e.country);
455
- return !!(t && m.value.has(t));
565
+ let p = k(() => new Set((f.value ?? []).map((e) => e.country_id)));
566
+ function m(e) {
567
+ let t = le(e.country);
568
+ return !!(t && p.value.has(t));
456
569
  }
457
- return (t, c) => (L(), M("div", Mn, [F(E, {
570
+ return (t, s) => (L(), M("div", Un, [F(E, {
458
571
  spec: {
459
- ...V(y),
460
- ...V(ge),
572
+ ...V(v),
573
+ ...V(he),
461
574
  summary: () => []
462
575
  },
463
576
  class: "mwnf-dxa-collection-results"
464
577
  }, {
465
- before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Nn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", Pn, B(f(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(l.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
466
- actions: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
467
- key: 0,
468
- class: "mwnf-dxa-pages",
578
+ before: H(({ filters: t, options: r, matching: i, pageInfo: a }) => [F(e), N("div", Wn, [N("p", null, [P(B(V(n)("gallery.collection.heading")) + " | ", 1), N("span", Gn, B(d(t, r, i)), 1)]), N("p", null, B(a.total) + " " + B(V(n)("gallery.collection.resultsOutOf")) + " " + B(c.value) + " " + B(V(n)("gallery.collection.objects")), 1)])]),
579
+ actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
580
+ family: "gallery",
581
+ class: "mwnf-dxa-gallery-pages--top",
469
582
  "page-info": e,
470
- jump: "",
471
583
  onNavigate: t
472
- }, null, 8, ["page-info", "onNavigate"])) : j("", !0)]),
473
- records: H(({ rows: e }) => [e.length ? (L(), A(Q, {
584
+ }, null, 8, ["page-info", "onNavigate"])]),
585
+ records: H(({ rows: e }) => [e.length ? (L(), A($, {
474
586
  key: 0,
475
587
  rows: e
476
588
  }, null, 8, ["rows"])) : (L(), A(V(W), {
@@ -478,24 +590,23 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
478
590
  class: "mwnf-dxa-gallery-results__none",
479
591
  keypath: "gallery.collection.noResults"
480
592
  }))]),
481
- pagination: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
482
- key: 0,
483
- class: "mwnf-dxa-pages",
593
+ pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", Kn)) : j("", !0)]),
594
+ after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
595
+ family: "gallery",
484
596
  "page-info": e,
485
- jump: "",
486
597
  onNavigate: t
487
- }, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", Fn))]),
488
- aside: H(({ filters: e, apply: t, reset: s, matching: l, options: u }) => [F(a, {
598
+ }, null, 8, ["page-info", "onNavigate"])]),
599
+ aside: H(({ filters: e, apply: t, reset: c, matching: l, options: d }) => [F(a, {
489
600
  mode: "immediate",
490
- title: d(e) ? V(n)("gallery.collection.filterBy") : V(n)("gallery.collection.filterFurtherBy"),
601
+ title: u(e) ? V(n)("gallery.collection.filterBy") : V(n)("gallery.collection.filterFurtherBy"),
491
602
  "reset-label": V(n)("gallery.collection.resetFilters"),
492
603
  disabled: l.length === 0,
493
- onReset: (e) => s()
604
+ onReset: (e) => c()
494
605
  }, {
495
606
  default: H(() => [
496
607
  F(i, {
497
608
  "model-value": e.country,
498
- options: u.country,
609
+ options: d.country,
499
610
  placeholder: V(n)("gallery.collection.selectCountry"),
500
611
  "onUpdate:modelValue": (e) => t({ country: e })
501
612
  }, null, 8, [
@@ -504,10 +615,10 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
504
615
  "placeholder",
505
616
  "onUpdate:modelValue"
506
617
  ]),
507
- (L(!0), M(O, null, z(V(fe), (a) => (L(), A(i, {
618
+ (L(!0), M(O, null, z(V(de), (a) => (L(), A(i, {
508
619
  key: a,
509
620
  "model-value": e[a],
510
- options: u[a],
621
+ options: d[a],
511
622
  placeholder: V(n)(r[a]),
512
623
  "hide-empty": "",
513
624
  "onUpdate:modelValue": (e) => t({ [a]: e })
@@ -517,7 +628,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
517
628
  "placeholder",
518
629
  "onUpdate:modelValue"
519
630
  ]))), 128)),
520
- N("div", In, [F(i, {
631
+ N("div", qn, [F(i, {
521
632
  "model-value": e.from,
522
633
  options: V(J)(l, o),
523
634
  placeholder: V(n)("gallery.collection.startDate"),
@@ -545,7 +656,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
545
656
  "reset-label",
546
657
  "disabled",
547
658
  "onReset"
548
- ]), h(e) ? (L(), M("div", Ln, [N("div", Rn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", zn, [c[0] ||= N("span", {
659
+ ]), m(e) ? (L(), M("div", Jn, [N("div", Yn, B(V(n)("gallery.collection.timelineForSearch")), 1), N("p", Xn, [s[0] ||= N("span", {
549
660
  class: "mwnf-dxa-gallery-results__share",
550
661
  "aria-hidden": "true"
551
662
  }, "➦", -1), F(V(Y), { to: {
@@ -556,112 +667,110 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
556
667
  end: e.to
557
668
  }
558
669
  } }, {
559
- default: H(() => [P(B(V(n)("gallery.collection.timeline")) + " | " + B(V(v)("countries", V(ue)(e.country))), 1)]),
670
+ default: H(() => [P(B(V(n)("gallery.collection.timeline")) + " | " + B(V(_)("countries", V(le)(e.country))), 1)]),
560
671
  _: 2
561
672
  }, 1032, ["to"])])])) : j("", !0)]),
562
673
  _: 1
563
674
  }, 8, ["spec"])]));
564
675
  }
565
- }, Vn = { class: "mwnf-dxa-gallery-collection" }, Hn = { class: "mwnf-dxa-gallery-collection__dropdowns" }, Un = { class: "mwnf-dxa-gallery-collection__label" }, Wn = { class: "mwnf-dxa-gallery-collection__selects" }, Gn = ["aria-label", "onChange"], Kn = {
676
+ }, Qn = { class: "mwnf-dxa-gallery-collection" }, $n = { class: "mwnf-dxa-gallery-collection__dropdowns" }, er = { class: "mwnf-dxa-gallery-collection__label" }, tr = { class: "mwnf-dxa-gallery-collection__selects" }, nr = ["aria-label", "onChange"], rr = {
566
677
  selected: "",
567
678
  disabled: "",
568
679
  value: ""
569
- }, qn = ["value"], Jn = { class: "mwnf-dxa-gallery-collection__dates" }, Yn = ["aria-label"], Xn = {
680
+ }, ir = ["value"], ar = { class: "mwnf-dxa-gallery-collection__dates" }, or = ["aria-label"], sr = {
570
681
  selected: "",
571
682
  disabled: "",
572
683
  value: ""
573
- }, Zn = ["value"], Qn = ["aria-label"], $n = {
684
+ }, cr = ["value"], lr = ["aria-label"], ur = {
574
685
  selected: "",
575
686
  disabled: "",
576
687
  value: ""
577
- }, er = ["value"], tr = ["innerHTML"], nr = {
688
+ }, dr = ["value"], fr = ["innerHTML"], pr = {
578
689
  __name: "CollectionSearch",
579
690
  setup(e) {
580
- let t = Lt(), { t: n } = q(), r = k(() => Dt(`${n("gallery.collection.introBeforeName")} *${b(te)}* ${n("gallery.collection.introAfterName")}`)), i = jt(x, me), a = {
691
+ let t = It(), { t: n } = q(), r = k(() => Et(`${n("gallery.collection.introBeforeName")} *${te(ee)}* ${n("gallery.collection.introAfterName")}`)), i = At(x, pe), a = {
581
692
  country: "gallery.collection.selectCountry",
582
693
  type: "gallery.collection.type",
583
694
  dynasty: "gallery.collection.periodDynasty",
584
695
  subject: "gallery.collection.subject",
585
696
  material: "gallery.collection.material"
586
- }, o = k(() => ["country", ...fe].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
697
+ }, o = k(() => ["country", ...de].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
587
698
  key: e,
588
699
  name: a[e],
589
700
  options: i.value[e] ?? []
590
- }))), s = (e) => n(le[e] ?? e), c = k(() => J(x.value ?? [], s));
701
+ }))), s = (e) => n(ce[e] ?? e), c = k(() => J(x.value ?? [], s));
591
702
  function l(e, n) {
592
703
  n !== "" && n != null && t.push({
593
704
  name: "collection-results",
594
705
  query: { [e]: String(n) }
595
706
  });
596
707
  }
597
- return (e, t) => (L(), M("div", Vn, [N("div", Hn, [N("div", Un, B(V(n)("gallery.collection.filterBy")), 1), N("div", Wn, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
708
+ return (e, t) => (L(), M("div", Qn, [N("div", $n, [N("div", er, B(V(n)("gallery.collection.filterBy")), 1), N("div", tr, [(L(!0), M(O, null, z(o.value, (e) => (L(), M("select", {
598
709
  key: e.key,
599
710
  class: "mwnf-dxa-gallery-collection__select",
600
711
  "aria-label": V(n)(e.name),
601
712
  onChange: (t) => l(e.key, t.target.value)
602
- }, [N("option", Kn, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
713
+ }, [N("option", rr, B(V(n)(e.name)), 1), (L(!0), M(O, null, z(e.options, (e) => (L(), M("option", {
603
714
  key: e.value,
604
715
  value: String(e.value)
605
- }, B(e.label), 9, qn))), 128))], 40, Gn))), 128)), N("div", Jn, [N("select", {
716
+ }, B(e.label), 9, ir))), 128))], 40, nr))), 128)), N("div", ar, [N("select", {
606
717
  class: "mwnf-dxa-gallery-collection__select",
607
718
  "aria-label": V(n)("gallery.collection.startDate"),
608
719
  onChange: t[0] ||= (e) => l("from", e.target.value)
609
- }, [N("option", Xn, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
720
+ }, [N("option", sr, B(V(n)("gallery.collection.startDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
610
721
  key: e.value,
611
722
  value: String(e.value)
612
- }, B(e.label), 9, Zn))), 128))], 40, Yn), N("select", {
723
+ }, B(e.label), 9, cr))), 128))], 40, or), N("select", {
613
724
  class: "mwnf-dxa-gallery-collection__select",
614
725
  "aria-label": V(n)("gallery.collection.endDate"),
615
726
  onChange: t[1] ||= (e) => l("to", e.target.value)
616
- }, [N("option", $n, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
727
+ }, [N("option", ur, B(V(n)("gallery.collection.endDate")), 1), (L(!0), M(O, null, z(c.value, (e) => (L(), M("option", {
617
728
  key: e.value,
618
729
  value: String(e.value)
619
- }, B(e.label), 9, er))), 128))], 40, Qn)])])]), N("div", {
730
+ }, B(e.label), 9, dr))), 128))], 40, lr)])])]), N("div", {
620
731
  class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
621
732
  dir: "auto",
622
733
  innerHTML: r.value
623
- }, null, 8, tr)]));
734
+ }, null, 8, fr)]));
624
735
  }
625
- }, rr = {
736
+ }, mr = {
626
737
  key: 0,
627
738
  class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
628
- }, ir = { class: "mwnf-dxa-gallery-objects__header" }, ar = ["innerHTML"], or = {
739
+ }, hr = { class: "mwnf-dxa-gallery-objects__header" }, gr = ["innerHTML"], _r = {
629
740
  key: 0,
630
741
  class: "mwnf-dxa-gallery-objects__place"
631
- }, sr = {
632
- key: 1,
742
+ }, vr = {
743
+ key: 0,
633
744
  class: "mwnf-dxa-gallery-objects__end"
634
- }, cr = {
745
+ }, yr = {
635
746
  __name: "PartnerObjects",
636
747
  setup(t) {
637
- let n = X(), r = k(() => ee.value.get(n.params.id) ?? null), i = k(() => ({
638
- ..._e,
748
+ let n = X(), r = k(() => y.value.get(n.params.id) ?? null), i = k(() => ({
639
749
  ...ge,
750
+ ...he,
640
751
  scope: (e) => e.partner_id === n.params.id
641
- })), a = k(() => r.value ? ve.view(r.value, m("partners", r.value.id, pe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
642
- return (t, n) => r.value ? (L(), M("div", rr, [F(E, { spec: i.value }, {
643
- before: H(() => [F(e), N("div", ir, [N("p", {
752
+ })), a = k(() => r.value ? _e.view(r.value, p("partners", r.value.id, fe)) : null), o = k(() => [a.value?.city, a.value?.country].filter(Boolean).join(", "));
753
+ return (t, n) => r.value ? (L(), M("div", mr, [F(E, { spec: i.value }, {
754
+ before: H(() => [F(e), N("div", hr, [N("p", {
644
755
  class: "mwnf-dxa-gallery-objects__name",
645
756
  innerHTML: a.value.name
646
- }, null, 8, ar), o.value ? (L(), M("p", or, B(o.value), 1)) : j("", !0)])]),
647
- actions: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
648
- key: 0,
649
- class: "mwnf-dxa-pages",
757
+ }, null, 8, gr), o.value ? (L(), M("p", _r, B(o.value), 1)) : j("", !0)])]),
758
+ actions: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
759
+ family: "gallery",
760
+ class: "mwnf-dxa-gallery-pages--top",
650
761
  "page-info": e,
651
- jump: "",
652
762
  onNavigate: t
653
- }, null, 8, ["page-info", "onNavigate"])) : j("", !0)]),
654
- records: H(({ rows: e }) => [F(Q, { rows: e }, null, 8, ["rows"])]),
655
- pagination: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(s, {
656
- key: 0,
657
- class: "mwnf-dxa-pages",
763
+ }, null, 8, ["page-info", "onNavigate"])]),
764
+ records: H(({ rows: e }) => [F($, { rows: e }, null, 8, ["rows"])]),
765
+ pagination: H(({ pageInfo: e }) => [e.lastPage <= 1 ? (L(), M("div", vr)) : j("", !0)]),
766
+ after: H(({ pageInfo: e, goToPage: t }) => [F(Q, {
767
+ family: "gallery",
658
768
  "page-info": e,
659
- jump: "",
660
769
  onNavigate: t
661
- }, null, 8, ["page-info", "onNavigate"])) : (L(), M("div", sr))]),
770
+ }, null, 8, ["page-info", "onNavigate"])]),
662
771
  aside: H(() => [F(V(Y), {
663
772
  class: "mwnf-dxa-gallery-objects__profile",
664
- to: V(f)(r.value)
773
+ to: V(d)(r.value)
665
774
  }, {
666
775
  default: H(() => [n[0] ||= N("span", {
667
776
  class: "mwnf-dxa-gallery-objects__profile-arrow",
@@ -672,61 +781,51 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
672
781
  _: 1
673
782
  }, 8, ["spec"])])) : j("", !0);
674
783
  }
675
- }, lr = { class: "mwnf-dxa-exhibition-how-to" }, ur = {
784
+ }, br = { class: "mwnf-dxa-exhibition-how-to" }, xr = {
676
785
  __name: "SearchHowTo",
677
786
  setup(t) {
678
- return (t, n) => (L(), M("div", lr, [F(e), F(V(W), {
787
+ return (t, n) => (L(), M("div", br, [F(e), F(V(W), {
679
788
  class: "mwnf-dxa-exhibition-how-to__text",
680
789
  dir: "auto",
681
790
  keypath: "catalogue.search.howToEssay"
682
791
  })]));
683
792
  }
684
- }, dr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, fr = { class: "mwnf-dxa-gallery-partners__options" }, pr = { class: "mwnf-dxa-gallery-partners__order" }, mr = ["onClick"], hr = { class: "mwnf-dxa-gallery-partners__country" }, gr = { class: "mwnf-dxa-gallery-partners__partner" }, _r = { class: "mwnf-dxa-gallery-partners__text" }, vr = ["innerHTML"], yr = {
793
+ }, Sr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, Cr = { class: "mwnf-dxa-gallery-partners__options" }, wr = { class: "mwnf-dxa-gallery-partners__order" }, Tr = ["onClick"], Er = { class: "mwnf-dxa-gallery-partners__country" }, Dr = { class: "mwnf-dxa-gallery-partners__partner" }, Or = { class: "mwnf-dxa-gallery-partners__text" }, kr = ["innerHTML"], Ar = {
685
794
  key: 0,
686
795
  class: "mwnf-dxa-gallery-partners__city"
687
- }, br = { class: "mwnf-dxa-partner-badge__status" }, xr = { class: "mwnf-dxa-gallery-partners__links" }, Sr = { class: "mwnf-dxa-gallery-partners__logo" }, Cr = ["src", "alt"], wr = {
796
+ }, jr = { class: "mwnf-dxa-partner-badge__status" }, Mr = { class: "mwnf-dxa-gallery-partners__links" }, Nr = { class: "mwnf-dxa-gallery-partners__logo" }, Pr = ["src", "alt"], Fr = {
688
797
  __name: "Partners",
689
798
  setup(t) {
690
799
  let r = {
691
- ...Ke,
692
- objectsRoute: De,
800
+ ...Ge,
801
+ objectsRoute: Ee,
693
802
  orderToggle: !1,
694
803
  tiebreak: (e) => e.own_project?.name ?? ""
695
- }, i = {
696
- partner: "exhibition.partners.statusPartner",
697
- affiliate: "exhibition.partners.statusAffiliate"
698
804
  };
699
- function a(e) {
700
- return e.type === "institution" ? {
701
- name: "",
702
- status: e.level === "partner" ? "exhibition.partners.institutionPartner" : "exhibition.partners.institutionAffiliate",
703
- tone: "institution"
704
- } : Z(e, i);
705
- }
706
- return (t, i) => (L(), M("div", dr, [F(Ye, { spec: r }, {
707
- before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", fr, [F(e), N("div", pr, [N("button", {
805
+ return (t, i) => (L(), M("div", Sr, [F(Je, { spec: r }, {
806
+ before: H(({ t, orderDir: n, toggleOrder: r }) => [N("div", Cr, [F(e), N("div", wr, [N("button", {
708
807
  type: "button",
709
808
  onClick: r
710
- }, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, mr)])]), F(V(W), {
809
+ }, B(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Tr)])]), F(V(W), {
711
810
  id: "mwnf-dxa-partners-intro",
712
811
  class: "mwnf-dxa-gallery-partners__intro",
713
812
  dir: "auto",
714
813
  keypath: "exhibition.partners.intro"
715
814
  })]),
716
- "group-heading": H(({ group: e }) => [N("div", hr, B(e.label), 1)]),
717
- row: H(({ partner: e, view: t, t: r }) => [N("div", gr, [N("div", _r, [
815
+ "group-heading": H(({ group: e }) => [N("div", Er, B(e.label), 1)]),
816
+ row: H(({ partner: e, view: t, t: r }) => [N("div", Dr, [N("div", Or, [
718
817
  F(n, {
719
818
  class: "mwnf-dxa-gallery-partners__name",
720
819
  to: t.route
721
820
  }, {
722
- default: H(() => [N("span", { innerHTML: t.name }, null, 8, vr), t.city ? (L(), M("span", yr, ", " + B(t.city), 1)) : j("", !0)]),
821
+ default: H(() => [N("span", { innerHTML: t.name }, null, 8, kr), t.city ? (L(), M("span", Ar, ", " + B(t.city), 1)) : j("", !0)]),
723
822
  _: 2
724
823
  }, 1032, ["to"]),
725
- a(e) ? (L(), M("div", {
824
+ V(Qt)(e) ? (L(), M("div", {
726
825
  key: 0,
727
- class: I(["mwnf-dxa-partner-badge", a(e).tone && `mwnf-dxa-partner-badge--${a(e).tone}`])
728
- }, [a(e).name ? (L(), M(O, { key: 0 }, [P(B(a(e).name + " "), 1)], 64)) : j("", !0), N("span", br, B(r(a(e).status)), 1)], 2)) : j("", !0),
729
- N("div", xr, [F(n, { to: t.route }, {
826
+ class: I(["mwnf-dxa-partner-badge", V(Qt)(e).tone && `mwnf-dxa-partner-badge--${V(Qt)(e).tone}`])
827
+ }, [V(Qt)(e).name ? (L(), M(O, { key: 0 }, [P(B(V(Qt)(e).name + " "), 1)], 64)) : j("", !0), N("span", jr, B(r(V(Qt)(e).status)), 1)], 2)) : j("", !0),
828
+ N("div", Mr, [F(n, { to: t.route }, {
730
829
  default: H(() => [P(B(r("partner.action.readMore")), 1)]),
731
830
  _: 2
732
831
  }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (L(), M(O, { key: 0 }, [i[0] ||= N("span", {
@@ -736,94 +835,15 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
736
835
  default: H(() => [P(B(r("exhibition.partners.viewItems")), 1)]),
737
836
  _: 2
738
837
  }, 1032, ["to"])], 64)) : j("", !0)])
739
- ]), N("div", Sr, [t.logos?.[0] ? (L(), M("img", {
838
+ ]), N("div", Nr, [t.logos?.[0] ? (L(), M("img", {
740
839
  key: 0,
741
840
  src: t.logos[0].url,
742
841
  alt: t.plainName,
743
842
  loading: "lazy"
744
- }, null, 8, Cr)) : j("", !0)])])]),
843
+ }, null, 8, Pr)) : j("", !0)])])]),
745
844
  _: 1
746
845
  })]));
747
846
  }
748
- }, Tr = {
749
- key: 0,
750
- class: "mwnf-dxa-exhibition-pages"
751
- }, Er = ["disabled"], Dr = { key: 0 }, Or = ["disabled"], kr = { key: 0 }, Ar = { class: "mwnf-dxa-exhibition-pages__numbers" }, jr = [
752
- "disabled",
753
- "aria-current",
754
- "onClick"
755
- ], Mr = ["disabled"], Nr = { key: 0 }, Pr = ["disabled"], Fr = { key: 0 }, $ = {
756
- __name: "Pages",
757
- props: { pageInfo: {
758
- type: Object,
759
- required: !0
760
- } },
761
- emits: ["navigate"],
762
- setup(e, { emit: t }) {
763
- let n = e, r = t, { t: i } = q(), a = (e) => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia(`(max-width: ${e}px)`).matches, o = a(499), [s, c, l] = a(599) ? [
764
- 3,
765
- 2,
766
- 5
767
- ] : a(724) ? [
768
- 5,
769
- 4,
770
- 9
771
- ] : a(849) ? [
772
- 6,
773
- 5,
774
- 11
775
- ] : [
776
- 8,
777
- 7,
778
- 15
779
- ], u = k(() => n.pageInfo?.currentPage ?? 1), d = k(() => n.pageInfo?.lastPage ?? 1), f = k(() => {
780
- let e = 1, t = d.value;
781
- if (d.value > l) {
782
- let n = u.value;
783
- n > s && (e = n - c), n + c < d.value ? t = e <= c && n <= c ? l : n + c : (e = d.value - (l - 1), t = d.value);
784
- }
785
- let n = [];
786
- for (let r = e; r <= t; r++) n.push(r);
787
- return n;
788
- }), p = (e) => e < 1 || e > d.value || e === u.value;
789
- function m(e) {
790
- p(e) || r("navigate", e);
791
- }
792
- return (e, t) => d.value > 1 ? (L(), M("div", Tr, [
793
- N("button", {
794
- type: "button",
795
- class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(1) }]),
796
- disabled: p(1),
797
- onClick: t[0] ||= (e) => m(1)
798
- }, [t[4] ||= P(" <<", -1), V(o) ? j("", !0) : (L(), M("span", Dr, B(" " + V(i)("exhibition.pages.first")), 1))], 10, Er),
799
- N("button", {
800
- type: "button",
801
- class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(u.value - 1) }]),
802
- disabled: p(u.value - 1),
803
- onClick: t[1] ||= (e) => m(u.value - 1)
804
- }, [t[5] ||= P(" <", -1), V(o) ? j("", !0) : (L(), M("span", kr, B(" " + V(i)("exhibition.pages.previous")), 1))], 10, Or),
805
- N("div", Ar, [(L(!0), M(O, null, z(f.value, (e) => (L(), M("button", {
806
- key: e,
807
- type: "button",
808
- class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(e) }]),
809
- disabled: p(e),
810
- "aria-current": e === u.value ? "page" : void 0,
811
- onClick: (t) => m(e)
812
- }, B(e), 11, jr))), 128))]),
813
- N("button", {
814
- type: "button",
815
- class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(u.value + 1) }]),
816
- disabled: p(u.value + 1),
817
- onClick: t[2] ||= (e) => m(u.value + 1)
818
- }, [V(o) ? j("", !0) : (L(), M("span", Nr, B(V(i)("exhibition.pages.next") + " "), 1)), t[6] ||= P("> ", -1)], 10, Mr),
819
- N("button", {
820
- type: "button",
821
- class: I(["mwnf-dxa-exhibition-pages__button", { "is-disabled": p(d.value) }]),
822
- disabled: p(d.value),
823
- onClick: t[3] ||= (e) => m(d.value)
824
- }, [V(o) ? j("", !0) : (L(), M("span", Fr, B(V(i)("exhibition.pages.last") + " "), 1)), t[7] ||= P(">> ", -1)], 10, Pr)
825
- ])) : j("", !0);
826
- }
827
847
  }, Ir = { class: "mwnf-dxa-exhibition-search" }, Lr = { class: "mwnf-dxa-exhibition-search__header" }, Rr = { class: "mwnf-dxa-exhibition-search__info" }, zr = { key: 0 }, Br = { key: 1 }, Vr = { class: "mwnf-dxa-exhibition-search__box" }, Hr = ["placeholder", "aria-label"], Ur = { class: "mwnf-dxa-exhibition-search__buttons" }, Wr = {
828
848
  type: "submit",
829
849
  class: "mwnf-dxa-exhibition-search__button"
@@ -843,28 +863,28 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
843
863
  }, ii = {
844
864
  __name: "SearchResults",
845
865
  setup(t) {
846
- let { t: n } = q(), r = X(), i = Lt(), a = Mt("items", {
866
+ let { t: n } = q(), r = X(), i = It(), a = jt("items", {
847
867
  grammar: "boolean",
848
- haystack: Ve
868
+ haystack: Be
849
869
  }), o = R(!1);
850
- qe().then(() => {
870
+ Ke().then(() => {
851
871
  o.value = !0;
852
872
  });
853
873
  let s = (e) => !e || e === "all-items" || e === "all-objects", c = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", l = k(() => ({
854
874
  entity: "items",
855
875
  keys: ["q"],
856
- scope: (e) => Re.value.has(e.id),
876
+ scope: (e) => Le.value.has(e.id),
857
877
  narrow: (e, t) => {
858
878
  if (!o.value) return [];
859
879
  if (s(t.q)) return e;
860
880
  let n = new Set(e.map((e) => e.id));
861
881
  return a.search(t.q).filter((e) => n.has(e.id));
862
882
  },
863
- ...Je,
864
- sort: s(r.query.q) ? Je.sort : !1,
883
+ ...qe,
884
+ sort: s(r.query.q) ? qe.sort : !1,
865
885
  summary: () => [],
866
886
  record: (e) => {
867
- let t = w("items", e.id, Ue);
887
+ let t = w("items", e.id, He);
868
888
  return {
869
889
  id: e.id,
870
890
  image: e.images?.[0]?.url ?? "",
@@ -874,11 +894,11 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
874
894
  partner: T("partners", e.partner_id),
875
895
  place: [t.location, T("countries", e.country_id)].filter(Boolean).join(", "),
876
896
  start: e.start_date ?? 0,
877
- to: Ne(e)
897
+ to: Me(e)
878
898
  };
879
899
  }
880
900
  })), u = (e) => [...e].sort((e, t) => e.start - t.start), d = R("");
881
- bt(() => r.query.q, (e) => {
901
+ yt(() => r.query.q, (e) => {
882
902
  d.value = s(e) ? "" : String(e ?? "");
883
903
  }, { immediate: !0 });
884
904
  function f() {
@@ -900,7 +920,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
900
920
  function _(e) {
901
921
  return e.find((e) => e.id === m.value) ?? e[0];
902
922
  }
903
- return bt(() => r.fullPath, () => {
923
+ return yt(() => r.fullPath, () => {
904
924
  m.value = null;
905
925
  }), (t, r) => (L(), M("div", Ir, [F(E, {
906
926
  spec: l.value,
@@ -908,13 +928,13 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
908
928
  }, {
909
929
  before: H(({ pageInfo: t, goToPage: i }) => [
910
930
  F(e),
911
- N("div", Lr, [N("div", Rr, [t.total ? (L(), M("p", zr, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Re).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Br, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Vr, [N("form", { onSubmit: r[2] ||= St((e) => f(), ["prevent"]) }, [U(N("input", {
931
+ N("div", Lr, [N("div", Rr, [t.total ? (L(), M("p", zr, B(V(n)("exhibition.search.heading")) + " | " + B(t.total) + " " + B(V(n)("exhibition.search.recordsOutOf")) + " " + B(V(Le).size) + " " + B(V(n)("exhibition.collection.items")), 1)) : (L(), M("p", Br, [P(B(V(n)("exhibition.search.heading")) + " | ", 1), N("span", null, B(V(n)("exhibition.search.none")), 1)]))]), N("div", Vr, [N("form", { onSubmit: r[2] ||= xt((e) => f(), ["prevent"]) }, [U(N("input", {
912
932
  "onUpdate:modelValue": r[0] ||= (e) => d.value = e,
913
933
  class: "mwnf-dxa-exhibition-search__input",
914
934
  type: "search",
915
935
  placeholder: V(n)("exhibition.search.placeholder"),
916
936
  "aria-label": V(n)("exhibition.search.placeholder")
917
- }, null, 8, Hr), [[vt, d.value]]), N("div", Ur, [N("button", Wr, B(V(n)("exhibition.search.submit")), 1), N("button", {
937
+ }, null, 8, Hr), [[_t, d.value]]), N("div", Ur, [N("button", Wr, B(V(n)("exhibition.search.submit")), 1), N("button", {
918
938
  type: "button",
919
939
  class: "mwnf-dxa-exhibition-search__button",
920
940
  onClick: r[1] ||= (e) => p()
@@ -922,7 +942,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
922
942
  default: H(() => [P(B(V(n)("exhibition.search.tips")), 1)]),
923
943
  _: 1
924
944
  })])])]),
925
- F($, {
945
+ F(Q, {
926
946
  class: "mwnf-dxa-exhibition-pages--top",
927
947
  "page-info": t,
928
948
  onNavigate: i
@@ -962,7 +982,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
962
982
  keypath: "exhibition.search.noResults"
963
983
  }))]),
964
984
  pagination: H(() => [...r[3] ||= []]),
965
- after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A($, {
985
+ after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(Q, {
966
986
  key: 0,
967
987
  "page-info": e,
968
988
  onNavigate: t
@@ -997,19 +1017,19 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
997
1017
  let n = {
998
1018
  "catalogue.era.ad": "exhibition.era.ad",
999
1019
  "catalogue.era.bc": "exhibition.era.bc"
1000
- }, r = ({ years: e, t }) => It(e.min, e.max, Ft(t, n)), i = k(() => ({
1020
+ }, r = ({ years: e, t }) => Ft(e.min, e.max, Pt(t, n)), i = k(() => ({
1001
1021
  ...S.value,
1002
1022
  pageSize: 20,
1003
1023
  controls: S.value.controls.map((e) => e.options ? {
1004
1024
  ...e,
1005
1025
  options: r
1006
1026
  } : e)
1007
- })), a = k(() => S.value.scope === "country"), o = X(), s = pt({
1027
+ })), a = k(() => S.value.scope === "country"), o = X(), s = ft({
1008
1028
  country: "",
1009
1029
  begin: "",
1010
1030
  end: ""
1011
1031
  });
1012
- bt(() => o.query, (e) => {
1032
+ yt(() => o.query, (e) => {
1013
1033
  s.country = String(e.country ?? ""), s.begin = String(e.begin ?? ""), s.end = String(e.end ?? "");
1014
1034
  }, { immediate: !0 });
1015
1035
  let c = (e, t) => (e ?? []).find((e) => String(e.value) === String(t))?.label ?? t;
@@ -1017,7 +1037,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1017
1037
  let n = e?.year_from;
1018
1038
  return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
1019
1039
  }
1020
- return (t, n) => (L(), M("div", ai, [F(Xe, {
1040
+ return (t, n) => (L(), M("div", ai, [F(Ye, {
1021
1041
  spec: i.value,
1022
1042
  class: "mwnf-dxa-timeline-results"
1023
1043
  }, {
@@ -1033,7 +1053,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1033
1053
  }, [N("option", di, B(e.t("exhibition.collection.startDate")), 1), (L(!0), M(O, null, z(e.options.begin ?? [], (e) => (L(), M("option", {
1034
1054
  key: e.value,
1035
1055
  value: String(e.value)
1036
- }, B(e.label), 9, fi))), 128))], 8, ui), [[_t, s.begin]]),
1056
+ }, B(e.label), 9, fi))), 128))], 8, ui), [[gt, s.begin]]),
1037
1057
  N("span", null, B(e.t("exhibition.collection.endDate")), 1),
1038
1058
  U(N("select", {
1039
1059
  "onUpdate:modelValue": n[1] ||= (e) => s.end = e,
@@ -1041,14 +1061,14 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1041
1061
  }, [N("option", mi, B(e.t("exhibition.collection.endDate")), 1), (L(!0), M(O, null, z(e.options.end ?? [], (e) => (L(), M("option", {
1042
1062
  key: e.value,
1043
1063
  value: String(e.value)
1044
- }, B(e.label), 9, hi))), 128))], 8, pi), [[_t, s.end]]),
1064
+ }, B(e.label), 9, hi))), 128))], 8, pi), [[gt, s.end]]),
1045
1065
  a.value ? (L(), M(O, { key: 0 }, [N("span", null, B(e.t("exhibition.timeline.country")), 1), U(N("select", {
1046
1066
  "onUpdate:modelValue": n[2] ||= (e) => s.country = e,
1047
1067
  "aria-label": e.t("exhibition.timeline.selectCountry")
1048
1068
  }, [N("option", _i, B(e.t("exhibition.timeline.selectCountry")), 1), (L(!0), M(O, null, z(e.countries, (e) => (L(), M("option", {
1049
1069
  key: e.value,
1050
1070
  value: e.value
1051
- }, B(e.label), 9, vi))), 128))], 8, gi), [[_t, s.country]])], 64)) : j("", !0),
1071
+ }, B(e.label), 9, vi))), 128))], 8, gi), [[gt, s.country]])], 64)) : j("", !0),
1052
1072
  N("button", {
1053
1073
  type: "button",
1054
1074
  onClick: (t) => e.apply({ ...s })
@@ -1058,7 +1078,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1058
1078
  onClick: (t) => e.reset()
1059
1079
  }, B(e.t("exhibition.search.reset")), 9, bi)
1060
1080
  ])])]),
1061
- summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F($, {
1081
+ summary: H(({ pageInfo: t, goToPage: n }) => [F(e), F(Q, {
1062
1082
  class: "mwnf-dxa-exhibition-timeline-results__pages",
1063
1083
  "page-info": t,
1064
1084
  onNavigate: n
@@ -1082,7 +1102,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1082
1102
  _: 2
1083
1103
  }, 1032, ["to"])
1084
1104
  ])])) : j("", !0)])]),
1085
- pagination: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A($, {
1105
+ pagination: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(Q, {
1086
1106
  key: 0,
1087
1107
  "page-info": e,
1088
1108
  onNavigate: t
@@ -1100,15 +1120,15 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1100
1120
  "catalogue.era.ad": "exhibition.era.ad",
1101
1121
  "catalogue.era.bc": "exhibition.era.bc"
1102
1122
  }, i = k(() => ({
1103
- ...Ie,
1104
- ...Je,
1123
+ ...Fe,
1124
+ ...qe,
1105
1125
  summary: () => [],
1106
- record: Ae
1126
+ record: ke
1107
1127
  }));
1108
1128
  function a(e) {
1109
1129
  let t = Number(e);
1110
1130
  if (e === "" || e == null || !Number.isFinite(t)) return "";
1111
- let i = It(t, t, Ft(n, r));
1131
+ let i = Ft(t, t, Pt(n, r));
1112
1132
  return i.find((e) => Number(e.value) === t)?.label ?? i[0]?.label ?? String(e);
1113
1133
  }
1114
1134
  let o = k(() => S.value.scope === "country");
@@ -1120,16 +1140,16 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1120
1140
  F(e),
1121
1141
  N("div", Pi, [N("p", null, [
1122
1142
  P(B(V(n)("exhibition.timeline.heading")) + " | " + B(a(t.begin)) + " " + B(V(n)("exhibition.timeline.to")) + " " + B(a(t.end)) + " | ", 1),
1123
- o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(Be)(t.country)) + " | ", 1)], 64)) : j("", !0),
1143
+ o.value && t.country ? (L(), M(O, { key: 0 }, [P(B(V(ze)(t.country)) + " | ", 1)], 64)) : j("", !0),
1124
1144
  P(B(V(n)("exhibition.timeline.gallery")), 1)
1125
1145
  ])]),
1126
- F($, {
1146
+ F(Q, {
1127
1147
  class: "mwnf-dxa-exhibition-pages--top",
1128
1148
  "page-info": r,
1129
1149
  onNavigate: i
1130
1150
  }, null, 8, ["page-info", "onNavigate"])
1131
1151
  ]),
1132
- records: H(({ rows: e, filters: t }) => [N("div", Fi, [N("div", Ii, [e.length ? (L(), A(Q, {
1152
+ records: H(({ rows: e, filters: t }) => [N("div", Fi, [N("div", Ii, [e.length ? (L(), A($, {
1133
1153
  key: 0,
1134
1154
  rows: e,
1135
1155
  family: "exhibition"
@@ -1145,7 +1165,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1145
1165
  _: 1
1146
1166
  }, 8, ["to"])])])]),
1147
1167
  pagination: H(() => [...r[1] ||= []]),
1148
- after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A($, {
1168
+ after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(Q, {
1149
1169
  key: 0,
1150
1170
  "page-info": e,
1151
1171
  onNavigate: t
@@ -1153,7 +1173,7 @@ var Zt = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, Qt = { class:
1153
1173
  _: 1
1154
1174
  }, 8, ["spec"])]));
1155
1175
  }
1156
- }, { aboutTheme: Bi, listedThemes: Vi, pictureById: Hi, pictureParent: Ui, romanFor: Wi, themeText: Gi, themeTree: Ki } = Te;
1176
+ }, { aboutTheme: Bi, listedThemes: Vi, pictureById: Hi, pictureParent: Ui, romanFor: Wi, themeText: Gi, themeTree: Ki } = we;
1157
1177
  function qi(e) {
1158
1178
  return String(e?.backward_compatibility ?? "").split(":").pop();
1159
1179
  }
@@ -1236,9 +1256,9 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1236
1256
  }, d = typeof window < "u" && typeof window.matchMedia == "function" ? window.matchMedia("(max-width: 499px)") : null, f = R(!!d?.matches), p = (e) => {
1237
1257
  f.value = e.matches;
1238
1258
  };
1239
- d?.addEventListener("change", p), dt(() => d?.removeEventListener("change", p));
1259
+ d?.addEventListener("change", p), ut(() => d?.removeEventListener("change", p));
1240
1260
  let m = R(!1), h = X();
1241
- bt(() => h.fullPath, () => {
1261
+ yt(() => h.fullPath, () => {
1242
1262
  m.value = !1;
1243
1263
  });
1244
1264
  let g = {
@@ -1247,11 +1267,11 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1247
1267
  }, _ = ["type", "material"], v = {
1248
1268
  "catalogue.era.ad": "exhibition.era.ad",
1249
1269
  "catalogue.era.bc": "exhibition.era.bc"
1250
- }, y = (e) => n(v[e] ?? e), ee = k(() => J(Oe.value ?? [], y)), te = k(() => Re.value.size), b = {
1251
- ...Fe,
1252
- ...Je,
1270
+ }, y = (e) => n(v[e] ?? e), ee = k(() => J(De.value ?? [], y)), te = k(() => Le.value.size), b = {
1271
+ ...Pe,
1272
+ ...qe,
1253
1273
  keys: [
1254
- ...Fe.keys,
1274
+ ...Pe.keys,
1255
1275
  "theme",
1256
1276
  "subtheme"
1257
1277
  ],
@@ -1260,15 +1280,15 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1260
1280
  return !n || n.has(e.id);
1261
1281
  },
1262
1282
  summary: () => [],
1263
- record: Ae
1264
- }, ne = (e) => b.keys.every((t) => !e[t]);
1265
- function x(e) {
1283
+ record: ke
1284
+ }, x = (e) => b.keys.every((t) => !e[t]);
1285
+ function ne(e) {
1266
1286
  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 : "";
1267
1287
  return n ? `${t} ▪ ${n}` : t;
1268
1288
  }
1269
1289
  function re(e, t, r) {
1270
1290
  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 = [];
1271
- e.theme && o.push(x(e)), e.country && o.push(i("country"));
1291
+ e.theme && o.push(ne(e)), e.country && o.push(i("country"));
1272
1292
  for (let t of _) e[t] && o.push(i(t));
1273
1293
  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");
1274
1294
  }
@@ -1293,13 +1313,13 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1293
1313
  before: H(({ filters: r, options: i, matching: a, pageInfo: o }) => [
1294
1314
  F(e),
1295
1315
  N("div", Xi, [N("p", null, [P(B(V(n)("exhibition.collection.heading")) + " | ", 1), N("span", Zi, B(re(r, i, a)), 1)]), N("p", null, B(o.total) + " " + B(V(n)("exhibition.collection.resultsOutOf")) + " " + B(te.value) + " " + B(V(n)("exhibition.collection.items")), 1)]),
1296
- F($, {
1316
+ F(Q, {
1297
1317
  class: "mwnf-dxa-exhibition-pages--top",
1298
1318
  "page-info": o,
1299
1319
  onNavigate: t.goToPage
1300
1320
  }, null, 8, ["page-info", "onNavigate"])
1301
1321
  ]),
1302
- records: H(({ rows: e }) => [e.length ? (L(), A(Q, {
1322
+ records: H(({ rows: e }) => [e.length ? (L(), A($, {
1303
1323
  key: 0,
1304
1324
  rows: e,
1305
1325
  family: "exhibition"
@@ -1309,7 +1329,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1309
1329
  keypath: "exhibition.collection.noResults"
1310
1330
  }))]),
1311
1331
  pagination: H(() => [...r[2] ||= []]),
1312
- after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A($, {
1332
+ after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(Q, {
1313
1333
  key: 0,
1314
1334
  "page-info": e,
1315
1335
  onNavigate: t
@@ -1337,7 +1357,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1337
1357
  "aria-hidden": "true",
1338
1358
  focusable: "false"
1339
1359
  }, [N("path", { d: u.path }, null, 8, aa)], 8, ia))], 8, ra)) : j("", !0),
1340
- ne(e) ? j("", !0) : (L(), M("div", oa, [N("div", sa, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", ca, [N("select", {
1360
+ x(e) ? j("", !0) : (L(), M("div", oa, [N("div", sa, B(V(n)("exhibition.collection.filterByTheme")), 1), N("div", ca, [N("select", {
1341
1361
  class: "mwnf-facet__select",
1342
1362
  "aria-label": V(n)("exhibition.collection.selectTheme"),
1343
1363
  value: e.theme || "",
@@ -1363,13 +1383,13 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1363
1383
  }, B(e.label), 9, ha))), 128))], 40, pa)) : j("", !0)])])),
1364
1384
  F(a, {
1365
1385
  mode: "immediate",
1366
- title: ne(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
1386
+ title: x(e) ? V(n)("exhibition.collection.filterBy") : V(n)("exhibition.collection.filterFurtherBy"),
1367
1387
  "reset-label": V(n)("exhibition.collection.resetFilters"),
1368
1388
  disabled: d.length === 0,
1369
1389
  onReset: (e) => c()
1370
1390
  }, {
1371
1391
  default: H(() => [
1372
- ne(e) ? (L(), M("select", {
1392
+ x(e) ? (L(), M("select", {
1373
1393
  key: 0,
1374
1394
  class: "mwnf-facet__select",
1375
1395
  "aria-label": V(n)("exhibition.collection.selectTheme"),
@@ -1437,7 +1457,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1437
1457
  "disabled",
1438
1458
  "onReset"
1439
1459
  ])
1440
- ], 512), [[yt, !f.value || m.value]])]),
1460
+ ], 512), [[vt, !f.value || m.value]])]),
1441
1461
  _: 1
1442
1462
  })]));
1443
1463
  }
@@ -1460,7 +1480,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1460
1480
  }, za = ["value"], Ba = {
1461
1481
  __name: "CollectionSearch",
1462
1482
  setup(e) {
1463
- let t = Lt(), { t: n, locale: r } = q(), { themeOptions: i } = Ji(r), a = jt(Oe, We), o = k(() => [
1483
+ let t = It(), { t: n, locale: r } = q(), { themeOptions: i } = Ji(r), a = At(De, Ue), o = k(() => [
1464
1484
  {
1465
1485
  key: "country",
1466
1486
  name: "exhibition.collection.selectCountry",
@@ -1479,7 +1499,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1479
1499
  ]), s = {
1480
1500
  "catalogue.era.ad": "exhibition.era.ad",
1481
1501
  "catalogue.era.bc": "exhibition.era.bc"
1482
- }, c = (e) => n(s[e] ?? e), l = k(() => J(Oe.value ?? [], c));
1502
+ }, c = (e) => n(s[e] ?? e), l = k(() => J(De.value ?? [], c));
1483
1503
  function u(e, n) {
1484
1504
  n !== "" && n != null && (n === "all" ? t.push({ name: "collection-results" }) : t.push({
1485
1505
  name: "collection-results",
@@ -1551,17 +1571,17 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1551
1571
  }
1552
1572
  },
1553
1573
  setup(t) {
1554
- let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() => Ce(i.params.id)), o = k(() => ({
1574
+ let n = t, r = k(() => n.variant === "institution"), i = X(), a = k(() => Se(i.params.id)), o = k(() => ({
1555
1575
  entity: "items",
1556
1576
  scope: (e) => e.partner_id === a.value?.id,
1557
- ...Je,
1577
+ ...qe,
1558
1578
  summary: () => [],
1559
- record: Ae
1579
+ record: ke
1560
1580
  }));
1561
1581
  function s(e) {
1562
1582
  let t = e[0];
1563
1583
  if (!t) return null;
1564
- let n = w("items", t.id, Ue);
1584
+ let n = w("items", t.id, He);
1565
1585
  return {
1566
1586
  name: T("partners", a.value?.id),
1567
1587
  place: [n.location, T("countries", t.country_id)].filter(Boolean).join(", ")
@@ -1574,25 +1594,25 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1574
1594
  before: H(({ matching: t, pageInfo: n, goToPage: r }) => [
1575
1595
  F(e),
1576
1596
  s(t) ? (L(), M("div", Ha, [N("p", Ua, B(s(t).name), 1), N("p", Wa, B(s(t).place), 1)])) : j("", !0),
1577
- F($, {
1597
+ F(Q, {
1578
1598
  class: "mwnf-dxa-exhibition-pages--top",
1579
1599
  "page-info": n,
1580
1600
  onNavigate: r
1581
1601
  }, null, 8, ["page-info", "onNavigate"])
1582
1602
  ]),
1583
- records: H(({ rows: e }) => [N("div", Ga, [N("div", Ka, [e.length ? (L(), A(Q, {
1603
+ records: H(({ rows: e }) => [N("div", Ga, [N("div", Ka, [e.length ? (L(), A($, {
1584
1604
  key: 0,
1585
1605
  rows: e,
1586
1606
  family: "exhibition"
1587
1607
  }, null, 8, ["rows"])) : (L(), A(V(W), {
1588
1608
  key: 1,
1589
1609
  keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
1590
- }, null, 8, ["keypath"]))]), N("div", qa, [F(V(Y), { to: V(Se)(a.value) }, {
1610
+ }, null, 8, ["keypath"]))]), N("div", qa, [F(V(Y), { to: V(xe)(a.value) }, {
1591
1611
  default: H(() => [i[0] ||= N("span", { "aria-hidden": "true" }, "➦", -1), P(" " + B(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
1592
1612
  _: 1
1593
1613
  }, 8, ["to"])])])]),
1594
1614
  pagination: H(() => [...i[1] ||= []]),
1595
- after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A($, {
1615
+ after: H(({ pageInfo: e, goToPage: t }) => [e.lastPage > 1 ? (L(), A(Q, {
1596
1616
  key: 0,
1597
1617
  "page-info": e,
1598
1618
  onNavigate: t
@@ -1600,7 +1620,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1600
1620
  _: 1
1601
1621
  }, 8, ["spec"])])) : j("", !0);
1602
1622
  }
1603
- }, Xa = () => Promise.resolve().then(() => as), Za = () => Promise.resolve().then(() => ms), Qa = () => Promise.resolve().then(() => gs), $a = () => Promise.resolve().then(() => Ms), eo = () => Promise.resolve().then(() => Fs), to = () => Promise.resolve().then(() => Rs), no = () => import("./Theme-TtISKJme.js").then((e) => e.t), ro = () => Promise.resolve().then(() => nc), io = () => Promise.resolve().then(() => xc), ao = () => Promise.resolve().then(() => Cc), oo = () => Promise.resolve().then(() => zc), so = {
1623
+ }, Xa = () => Promise.resolve().then(() => as), Za = () => Promise.resolve().then(() => ms), Qa = () => Promise.resolve().then(() => gs), $a = () => Promise.resolve().then(() => Ms), eo = () => Promise.resolve().then(() => Fs), to = () => Promise.resolve().then(() => Rs), no = () => import("./Theme-BM4TFT0i.js").then((e) => e.t), ro = () => Promise.resolve().then(() => nc), io = () => Promise.resolve().then(() => xc), ao = () => Promise.resolve().then(() => Cc), oo = () => Promise.resolve().then(() => zc), so = {
1604
1624
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
1605
1625
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
1606
1626
  institutionSummary: "exhibition.partner.monumentsInExhibition",
@@ -1608,7 +1628,7 @@ var Yi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Xi =
1608
1628
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
1609
1629
  };
1610
1630
  function co(e) {
1611
- let t = kt([
1631
+ let t = Ot([
1612
1632
  "gallery",
1613
1633
  "items",
1614
1634
  "partners",
@@ -1639,78 +1659,78 @@ function co(e) {
1639
1659
  {
1640
1660
  path: "/search",
1641
1661
  name: "search-results",
1642
- component: Dn,
1662
+ component: Rn,
1643
1663
  meta: t("database")
1644
1664
  },
1645
1665
  {
1646
1666
  path: "/how-to-search",
1647
1667
  name: "search-how-to",
1648
- component: Jt,
1668
+ component: qt,
1649
1669
  meta: t("database")
1650
1670
  },
1651
1671
  {
1652
1672
  path: "/partners",
1653
1673
  name: "partners",
1654
- component: dn,
1674
+ component: pn,
1655
1675
  meta: t("partners")
1656
1676
  },
1657
1677
  {
1658
1678
  path: "/partner/:id",
1659
1679
  name: "partner",
1660
- component: Ht,
1680
+ component: Vt,
1661
1681
  props: (e) => ({
1662
1682
  id: String(e.params.id),
1663
- family: ve
1683
+ family: _e
1664
1684
  }),
1665
1685
  meta: t("partners", "languages")
1666
1686
  },
1667
1687
  {
1668
1688
  path: "/partner/:id/objects",
1669
1689
  name: "partner-objects",
1670
- component: cr,
1690
+ component: yr,
1671
1691
  meta: t("partners")
1672
1692
  },
1673
1693
  {
1674
1694
  path: "/timeline-results",
1675
1695
  name: "timeline-results",
1676
- component: On,
1696
+ component: zn,
1677
1697
  meta: t("timeline", "timelines", "timeline_events")
1678
1698
  },
1679
1699
  {
1680
1700
  path: "/timeline/gallery",
1681
1701
  name: "timeline-gallery",
1682
- component: jn,
1702
+ component: Hn,
1683
1703
  meta: t("timeline", "timelines", "timeline_events")
1684
1704
  },
1685
1705
  {
1686
1706
  path: "/about",
1687
1707
  name: "about",
1688
- component: Wt,
1708
+ component: Ut,
1689
1709
  meta: t("about")
1690
1710
  },
1691
1711
  {
1692
1712
  path: "/credits",
1693
1713
  name: "credits",
1694
- component: Gt,
1714
+ component: Wt,
1695
1715
  props: { bodyKey: n },
1696
1716
  meta: t("credits")
1697
1717
  },
1698
1718
  {
1699
1719
  path: "/collection",
1700
1720
  name: "collection",
1701
- component: nr,
1721
+ component: pr,
1702
1722
  meta: t("collection", "tags")
1703
1723
  },
1704
1724
  {
1705
1725
  path: "/collection-results",
1706
1726
  name: "collection-results",
1707
- component: Bn,
1727
+ component: Zn,
1708
1728
  meta: t("collection", "tags", "timelines")
1709
1729
  }
1710
1730
  ];
1711
1731
  }
1712
1732
  function lo(e) {
1713
- let t = kt([
1733
+ let t = Ot([
1714
1734
  "exhibition",
1715
1735
  "items",
1716
1736
  "partners",
@@ -1731,7 +1751,7 @@ function lo(e) {
1731
1751
  path: "/about",
1732
1752
  name: "about",
1733
1753
  component: eo,
1734
- meta: t("about", "themes")
1754
+ meta: t("about", "themes", "glossary", "dynasties")
1735
1755
  },
1736
1756
  {
1737
1757
  path: "/themes",
@@ -1773,7 +1793,7 @@ function lo(e) {
1773
1793
  ...e.creditsBody ? [{
1774
1794
  path: "/credits",
1775
1795
  name: "credits",
1776
- component: qt,
1796
+ component: Kt,
1777
1797
  props: { bodyKey: e.creditsBody },
1778
1798
  meta: t("credits")
1779
1799
  }] : []
@@ -1787,22 +1807,22 @@ function lo(e) {
1787
1807
  {
1788
1808
  path: "/how-to-search",
1789
1809
  name: "search-how-to",
1790
- component: ur,
1810
+ component: xr,
1791
1811
  meta: t("database")
1792
1812
  },
1793
1813
  {
1794
1814
  path: "/partners",
1795
1815
  name: "partners",
1796
- component: wr,
1816
+ component: Fr,
1797
1817
  meta: t("partners")
1798
1818
  },
1799
1819
  {
1800
1820
  path: "/partner/:id",
1801
1821
  name: "partner",
1802
- component: Ht,
1822
+ component: Vt,
1803
1823
  props: (e) => ({
1804
1824
  id: String(e.params.id),
1805
- family: be
1825
+ family: ye
1806
1826
  }),
1807
1827
  meta: t("partners", "languages")
1808
1828
  },
@@ -1816,10 +1836,10 @@ function lo(e) {
1816
1836
  {
1817
1837
  path: "/institution/:id",
1818
1838
  name: "institution",
1819
- component: Ht,
1839
+ component: Vt,
1820
1840
  props: (e) => ({
1821
1841
  id: String(e.params.id),
1822
- family: be,
1842
+ family: ye,
1823
1843
  variant: "institution"
1824
1844
  }),
1825
1845
  meta: t("partners", "languages")
@@ -1910,49 +1930,49 @@ var ho = {
1910
1930
  },
1911
1931
  emits: ["update:language"],
1912
1932
  setup(e, { emit: t }) {
1913
- let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => o.galleryShell ?? {}), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
1933
+ let n = e, r = t, { t: i, locale: a } = q(), o = Nt(), s = k(() => o.links ?? {}), c = k(() => o.galleryShell ?? {}), l = Mt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear();
1914
1934
  function f(e) {
1915
1935
  return e?.[a.value] ?? e?.en ?? "";
1916
1936
  }
1917
- let p = k(() => b(f));
1937
+ let m = k(() => te(f));
1918
1938
  function h(e, t) {
1919
1939
  if (!(e in c.value)) return t();
1920
1940
  let n = c.value[e];
1921
1941
  return n ? i(n) : "";
1922
1942
  }
1923
- let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), _ = k(() => u.value ? "" : h("headerTitle", () => p.value)), y = k(() => c.value.bannerImage ? et(o.chrome, c.value.bannerImage) : ie(he.value?.banner_image_path, "hi_res")), ee = k(() => {
1943
+ let g = k(() => u.value ? "" : h("headerEyebrow", () => i("core.project.galleries"))), v = k(() => u.value ? "" : h("headerTitle", () => m.value)), y = k(() => c.value.bannerImage ? $e(o.chrome, c.value.bannerImage) : re(me.value?.banner_image_path, "hi_res")), b = k(() => {
1924
1944
  if (c.value.bannerCaption) return c.value.bannerCaption;
1925
- let e = de.value.get(he.value?.banner_item_id);
1945
+ let e = ue.value.get(me.value?.banner_item_id);
1926
1946
  if (!e) return "";
1927
- let t = m("items", e.id, pe);
1947
+ let t = p("items", e.id, fe);
1928
1948
  return {
1929
- name: v("items", e.id),
1930
- partner: v("partners", e.partner_id),
1949
+ name: _("items", e.id),
1950
+ partner: _("partners", e.partner_id),
1931
1951
  location: t.location ?? "",
1932
- country: v("countries", e.country_id)
1952
+ country: _("countries", e.country_id)
1933
1953
  };
1934
- }), ne = k(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), x = k(() => u.value ? h("bannerTitle", () => p.value) : void 0), re = k(() => c.value.notice === !1 ? null : {
1954
+ }), x = k(() => u.value ? h("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), ne = k(() => u.value ? h("bannerTitle", () => m.value) : void 0), ie = k(() => c.value.notice === !1 ? null : {
1935
1955
  title: i("gallery.notice.tip"),
1936
- text: `${i("gallery.notice.searchThe")} ${b(te)} ${i("gallery.notice.database")}`
1937
- }), ae = k(() => !!et(o.chrome, o.brand?.logo));
1938
- return (e, t) => (L(), A(Ze, {
1956
+ text: `${i("gallery.notice.searchThe")} ${te(ee)} ${i("gallery.notice.database")}`
1957
+ }), ae = k(() => !!$e(o.chrome, o.brand?.logo));
1958
+ return (e, t) => (L(), A(Xe, {
1939
1959
  class: I(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
1940
1960
  languages: n.languages,
1941
1961
  language: n.language,
1942
1962
  "language-placement": "none",
1943
1963
  "header-home": s.value.portal,
1944
1964
  "header-eyebrow": g.value,
1945
- "header-title": _.value,
1965
+ "header-title": v.value,
1946
1966
  "header-title-href": "#/",
1947
1967
  "banner-image": y.value,
1948
- "banner-caption": ee.value,
1949
- "banner-eyebrow": ne.value,
1950
- "banner-title": x.value,
1951
- notice: re.value,
1968
+ "banner-caption": b.value,
1969
+ "banner-eyebrow": x.value,
1970
+ "banner-title": ne.value,
1971
+ notice: ie.value,
1952
1972
  "footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
1953
1973
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
1954
- }, lt({
1955
- default: H(() => [mt(e.$slots, "default")]),
1974
+ }, ct({
1975
+ default: H(() => [pt(e.$slots, "default")]),
1956
1976
  _: 2
1957
1977
  }, [ae.value ? void 0 : {
1958
1978
  name: "brand",
@@ -2026,16 +2046,16 @@ var ho = {
2026
2046
  },
2027
2047
  emits: ["update:language"],
2028
2048
  setup(e, { emit: t }) {
2029
- let n = e, r = t, { t: i, locale: a } = q(), o = Pt(), s = k(() => o.links ?? {}), c = k(() => !!et(o.chrome, o.brand?.logo)), l = Nt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = k(() => u.value ? C.value?.homepage_image_path : null);
2030
- xt(() => {
2049
+ let n = e, r = t, { t: i, locale: a } = q(), o = Nt(), s = k(() => o.links ?? {}), c = k(() => !!$e(o.chrome, o.brand?.logo)), l = Mt(), u = k(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = k(() => u.value ? C.value?.homepage_image_path : null);
2050
+ bt(() => {
2031
2051
  if (typeof document > "u") return;
2032
- let e = C.value?.homepage_image_path, t = e ? He(e, "hi_res") : "";
2052
+ let e = C.value?.homepage_image_path, t = e ? Ve(e, "hi_res") : "";
2033
2053
  t ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${t.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
2034
2054
  });
2035
- let p = k(() => f.value ? He(f.value, "hi_res") : He(C.value?.banner_image_path, "hi_res")), m = k(() => {
2036
- let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t = Re.value.get(e);
2037
- if (!t) return f.value ? "" : ze(a.value);
2038
- let n = w("items", t.id, Ue);
2055
+ let p = k(() => f.value ? Ve(f.value, "hi_res") : Ve(C.value?.banner_image_path, "hi_res")), m = k(() => {
2056
+ let e = f.value ? C.value?.homepage_item_id : C.value?.banner_item_id, t = Le.value.get(e);
2057
+ if (!t) return f.value ? "" : Re(a.value);
2058
+ let n = w("items", t.id, He);
2039
2059
  return {
2040
2060
  name: T("items", t.id),
2041
2061
  holder: n.holder ?? "",
@@ -2059,10 +2079,10 @@ var ho = {
2059
2079
  let e = o.sponsorLogos;
2060
2080
  return Array.isArray(e) ? e.map((e) => ({
2061
2081
  ...e,
2062
- image: et(o.chrome, e.image),
2082
+ image: $e(o.chrome, e.image),
2063
2083
  alt: e.alt ? i(e.alt) : ""
2064
2084
  })).filter((e) => e.image) : (C.value?.logos ?? []).map((e) => ({
2065
- image: e.legacy_path ? He(e.legacy_path, "full") : null,
2085
+ image: e.legacy_path ? Ve(e.legacy_path, "full") : null,
2066
2086
  alt: g(e),
2067
2087
  href: e.url || void 0,
2068
2088
  category_id: e.category_id,
@@ -2075,13 +2095,13 @@ var ho = {
2075
2095
  let t = o.media?.legacyHost;
2076
2096
  if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
2077
2097
  let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
2078
- return $e(o.chrome, n);
2098
+ return Qe(o.chrome, n);
2079
2099
  }
2080
- let y = k(() => Qe(Ee(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? ""), v)), ee = k(() => {
2100
+ let y = k(() => Ze(Te(C.value?.popup_logos?.[a.value] ?? C.value?.popup_logos?.en ?? ""), v)), ee = k(() => {
2081
2101
  let e = C.value?.popup_logo_show;
2082
2102
  return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
2083
2103
  });
2084
- return (e, t) => (L(), A(Ze, {
2104
+ return (e, t) => (L(), A(Xe, {
2085
2105
  languages: n.languages,
2086
2106
  language: n.language,
2087
2107
  "language-placement": "header",
@@ -2092,29 +2112,29 @@ var ho = {
2092
2112
  "banner-image": p.value,
2093
2113
  "banner-caption": m.value,
2094
2114
  "banner-caption-label": V(i)("layout.banner.detailFrom"),
2095
- "banner-title": u.value ? V(je)(V(a)) : "",
2096
- "banner-subtitle": u.value ? V(Ge)(V(a)) : "",
2097
- "banner-headline": u.value ? V(Le)(V(a)) : "",
2115
+ "banner-title": u.value ? V(Ae)(V(a)) : "",
2116
+ "banner-subtitle": u.value ? V(We)(V(a)) : "",
2117
+ "banner-headline": u.value ? V(Ie)(V(a)) : "",
2098
2118
  "banner-enter": u.value ? {
2099
2119
  label: V(i)("exhibition.action.enter"),
2100
2120
  href: "#/about"
2101
2121
  } : null,
2102
2122
  "banner-strapline": u.value ? V(i)("exhibition.identity.strapline") : "",
2103
2123
  "hyperlinks-variant": "tiles",
2104
- "hyperlinks-title": V(je)(V(a)),
2124
+ "hyperlinks-title": V(Ae)(V(a)),
2105
2125
  "hyperlinks-title-href": "#/",
2106
- "hyperlinks-subtitle": V(Ge)(V(a)),
2126
+ "hyperlinks-subtitle": V(We)(V(a)),
2107
2127
  hyperlinks: h.value,
2108
2128
  "footer-text": `${V(i)("core.footer.copyright")} 2004–${V(d)}`,
2109
2129
  logos: _.value,
2110
2130
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
2111
- }, lt({
2131
+ }, ct({
2112
2132
  notice: H(() => [F(bo, {
2113
2133
  content: y.value,
2114
2134
  enabled: ee.value,
2115
2135
  "raw-html": ""
2116
2136
  }, null, 8, ["content", "enabled"])]),
2117
- default: H(() => [mt(e.$slots, "default")]),
2137
+ default: H(() => [pt(e.$slots, "default")]),
2118
2138
  _: 2
2119
2139
  }, [c.value ? void 0 : {
2120
2140
  name: "brand",
@@ -2154,7 +2174,7 @@ function Co({ country: e, start: t, end: n, page: r }) {
2154
2174
  };
2155
2175
  }
2156
2176
  function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, chrome: o = {}, homeLogos: s = [] }) {
2157
- let { manifest: c } = At(), l = Et();
2177
+ let { manifest: c } = kt(), l = Tt();
2158
2178
  return {
2159
2179
  datasetPackage: e,
2160
2180
  siteName: c.site?.names?.en ?? t,
@@ -2162,7 +2182,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2162
2182
  languages: l,
2163
2183
  shell: ho,
2164
2184
  navigation: {
2165
- languages: wt(l),
2185
+ languages: Ct(l),
2166
2186
  links: [
2167
2187
  {
2168
2188
  section: "about",
@@ -2247,7 +2267,7 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2247
2267
  empty: "all-objects"
2248
2268
  },
2249
2269
  placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
2250
- socialLinks: nt
2270
+ socialLinks: tt
2251
2271
  },
2252
2272
  banner: {
2253
2273
  variant: ({ section: e }) => e === "home" ? "strip" : "section",
@@ -2277,8 +2297,8 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2277
2297
  {
2278
2298
  path: "/database-item/:uid(.*)/:language",
2279
2299
  async resolve({ uid: e }) {
2280
- await Tt(["items"]);
2281
- let t = re(e);
2300
+ await wt(["items"]);
2301
+ let t = ne(e);
2282
2302
  return t ? {
2283
2303
  name: "item",
2284
2304
  params: { id: t.id }
@@ -2288,8 +2308,8 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2288
2308
  {
2289
2309
  path: "/partner/:country/:id/:language",
2290
2310
  async resolve({ country: e, id: t }) {
2291
- await Tt(["partners"]);
2292
- let n = g(e, t);
2311
+ await wt(["partners"]);
2312
+ let n = h(e, t);
2293
2313
  return n ? {
2294
2314
  name: "partner",
2295
2315
  params: { id: n.id }
@@ -2299,8 +2319,8 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2299
2319
  {
2300
2320
  path: "/partner-objects/:country/:id/:page",
2301
2321
  async resolve({ country: e, id: t, page: n }) {
2302
- await Tt(["partners"]);
2303
- let r = g(e, t);
2322
+ await wt(["partners"]);
2323
+ let r = h(e, t);
2304
2324
  return r ? {
2305
2325
  name: "partner-objects",
2306
2326
  params: { id: r.id },
@@ -2320,11 +2340,11 @@ function wo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2320
2340
  };
2321
2341
  }
2322
2342
  function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: i = [], creditsBody: a, partnerObjects: o, chrome: s = {}, sponsorLogos: c }) {
2323
- let { manifest: l } = At(), u = Et(), d = async (e, t) => (await Tt([
2343
+ let { manifest: l } = kt(), u = Tt(), d = async (e, t) => (await wt([
2324
2344
  "exhibition",
2325
2345
  "partners",
2326
2346
  "countries"
2327
- ]), po(we.value, ke.value, e, t));
2347
+ ]), po(Ce.value, Oe.value, e, t));
2328
2348
  return {
2329
2349
  datasetPackage: e,
2330
2350
  siteName: l.site?.names?.en ?? t,
@@ -2361,7 +2381,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2361
2381
  section: "timeline",
2362
2382
  label: "core.nav.timeline",
2363
2383
  to: { name: "timeline" },
2364
- when: () => Me.value
2384
+ when: () => je.value
2365
2385
  },
2366
2386
  {
2367
2387
  section: "related",
@@ -2432,7 +2452,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2432
2452
  empty: "all-items"
2433
2453
  },
2434
2454
  placement: "before-banner",
2435
- socialLinks: nt
2455
+ socialLinks: tt
2436
2456
  },
2437
2457
  banner: {
2438
2458
  variant: ({ section: e }) => e === "home" ? "split" : "section",
@@ -2440,7 +2460,7 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2440
2460
  if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
2441
2461
  let n = Number(e.params.id);
2442
2462
  if (!Number.isInteger(n) || n < 1) return "";
2443
- let r = `${t("exhibition.theme.romanLabel")} ${Rt(n + 1)}`, i = e.params.subtheme;
2463
+ let r = `${t("exhibition.theme.romanLabel")} ${Lt(n + 1)}`, i = e.params.subtheme;
2444
2464
  return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
2445
2465
  }
2446
2466
  },
@@ -2484,8 +2504,8 @@ function To({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2484
2504
  {
2485
2505
  path: "/database-item/:uid(.*)/:language",
2486
2506
  async resolve({ uid: e }) {
2487
- await Tt(["items"]);
2488
- let t = mo(Oe.value, e);
2507
+ await wt(["items"]);
2508
+ let t = mo(De.value, e);
2489
2509
  return t ? {
2490
2510
  name: "item",
2491
2511
  params: { id: t.id }
@@ -2612,7 +2632,7 @@ var Eo = {
2612
2632
  o.value = (o.value + 1) % a.value.length;
2613
2633
  }, Ro));
2614
2634
  }
2615
- return ft(l), dt(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", Eo, [
2635
+ return dt(l), ut(() => s && clearInterval(s)), (t, r) => a.value.length ? (L(), M("section", Eo, [
2616
2636
  N("h2", Do, B(t.$t(e.headingEntry)), 1),
2617
2637
  N("div", Oo, [(L(!0), M(O, null, z(a.value, (r, i) => U((L(), M("div", {
2618
2638
  key: r.id,
@@ -2641,7 +2661,7 @@ var Eo = {
2641
2661
  default: H(() => [P(B(t.$t(e.viewObjectsEntry)) + " >>", 1)]),
2642
2662
  _: 1
2643
2663
  }, 8, ["to"])) : j("", !0)
2644
- ])])), [[yt, i === o.value]])), 128))]),
2664
+ ])])), [[vt, i === o.value]])), 128))]),
2645
2665
  a.value.length > 1 ? (L(), M("div", Io, [(L(!0), M(O, null, z(a.value, (e, n) => (L(), M("button", {
2646
2666
  key: e.id,
2647
2667
  class: I(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === o.value }]),
@@ -2719,7 +2739,7 @@ var Eo = {
2719
2739
  target: "_blank",
2720
2740
  rel: "noopener",
2721
2741
  class: "mwnf-sibling-galleries__museum",
2722
- style: ut({
2742
+ style: lt({
2723
2743
  "--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
2724
2744
  "--mwnf-museum-text": e.textColor || "inherit"
2725
2745
  })
@@ -2734,45 +2754,45 @@ var Eo = {
2734
2754
  }, cs = { class: "mwnf-dxa-home-logos__label" }, ls = { class: "mwnf-dxa-home-logos__list" }, us = ["src", "alt"], ds = 3, fs = 4, ps = {
2735
2755
  __name: "Home",
2736
2756
  setup(e) {
2737
- let { t, locale: n } = q(), r = Pt(), i = k(() => r.links ?? {}), a = k(() => se(ds)), o = R([]);
2738
- ft(() => {
2739
- o.value = d(fs);
2757
+ let { t, locale: n } = q(), r = Nt(), i = k(() => r.links ?? {}), a = k(() => oe(ds)), o = R([]);
2758
+ dt(() => {
2759
+ o.value = u(fs);
2740
2760
  });
2741
2761
  let s = k(() => o.value.map((e) => ({
2742
2762
  id: e.id,
2743
2763
  name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
2744
- image: e.image_path ? ie(e.image_path, "zoom") : null,
2745
- route: h(e)
2764
+ image: e.image_path ? re(e.image_path, "zoom") : null,
2765
+ route: m(e)
2746
2766
  }))), c = k(() => [
2747
2767
  {
2748
2768
  name: t("core.project.islamicArt"),
2749
2769
  href: `${i.value.islamicArt}/`,
2750
- image: tt(r.chrome, "dia.jpg"),
2770
+ image: et(r.chrome, "dia.jpg"),
2751
2771
  accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
2752
2772
  textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
2753
2773
  },
2754
2774
  {
2755
2775
  name: t("core.project.baroqueArt"),
2756
2776
  href: `${i.value.baroqueArt}/`,
2757
- image: tt(r.chrome, "dba.jpg"),
2777
+ image: et(r.chrome, "dba.jpg"),
2758
2778
  accent: "var(--mwnf-project-DBA, #001d66)",
2759
2779
  textColor: "var(--mwnf-project-DBA-text, #ffffff)"
2760
2780
  },
2761
2781
  {
2762
2782
  name: t("core.project.sharingHistory"),
2763
2783
  href: `${i.value.sharingHistory}/`,
2764
- image: tt(r.chrome, "sh.jpg"),
2784
+ image: et(r.chrome, "sh.jpg"),
2765
2785
  accent: "var(--mwnf-project-AWE, #900000)",
2766
2786
  textColor: "var(--mwnf-project-AWE-text, #ffffff)"
2767
2787
  }
2768
2788
  ]), l = k(() => (r.homeLogos ?? []).map((e) => ({
2769
- image: $e(r.chrome, e.image) ?? ie(e.image, "gallery_logo"),
2789
+ image: Qe(r.chrome, e.image) ?? re(e.image, "gallery_logo"),
2770
2790
  href: e.href ?? "",
2771
2791
  alt: e.alt ? t(e.alt) : ""
2772
- })).filter((e) => e.image)), u = k(() => `${i.value.galleries}/list`);
2792
+ })).filter((e) => e.image)), d = k(() => `${i.value.galleries}/list`);
2773
2793
  return (e, n) => (L(), M("div", os, [
2774
2794
  F(zo, { partners: a.value }, null, 8, ["partners"]),
2775
- l.value.length ? (L(), M("section", ss, [N("p", cs, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ls, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(ht(e.href ? "a" : "span"), {
2795
+ l.value.length ? (L(), M("section", ss, [N("p", cs, B(V(t)("gallery.home.logosLabel")), 1), N("ul", ls, [(L(!0), M(O, null, z(l.value, (e) => (L(), M("li", { key: e.image }, [(L(), A(mt(e.href ? "a" : "span"), {
2776
2796
  class: "mwnf-dxa-home-logos__logo",
2777
2797
  href: e.href || void 0,
2778
2798
  title: e.alt || void 0,
@@ -2795,7 +2815,7 @@ var Eo = {
2795
2815
  museums: c.value,
2796
2816
  "galleries-heading-entry": "gallery.action.visitGalleries",
2797
2817
  "see-more-galleries-entry": "gallery.action.seeMoreGalleries",
2798
- "see-more-galleries-href": u.value,
2818
+ "see-more-galleries-href": d.value,
2799
2819
  "museums-heading-entry": "gallery.siblings.otherVirtualMuseums"
2800
2820
  }, null, 8, [
2801
2821
  "galleries",
@@ -2821,9 +2841,9 @@ var Eo = {
2821
2841
  relatedAudio: "gallery.related.audio",
2822
2842
  relatedVideos: "gallery.related.videos"
2823
2843
  };
2824
- return (n, r) => (L(), A(it, {
2844
+ return (n, r) => (L(), A(rt, {
2825
2845
  id: e.id,
2826
- "item-detail": V(ce),
2846
+ "item-detail": V(se),
2827
2847
  words: t
2828
2848
  }, null, 8, ["id", "item-detail"]));
2829
2849
  }
@@ -2852,7 +2872,7 @@ var Eo = {
2852
2872
  __name: "Timeline",
2853
2873
  setup(e) {
2854
2874
  let t = {
2855
- ...ae,
2875
+ ...ie,
2856
2876
  entrance: !0
2857
2877
  };
2858
2878
  function n({ filters: e, options: t, go: n, t: r }) {
@@ -2871,7 +2891,7 @@ var Eo = {
2871
2891
  end: e.end || a.at(-1)?.value
2872
2892
  });
2873
2893
  }
2874
- return (e, r) => (L(), M("div", _s, [F(Xe, {
2894
+ return (e, r) => (L(), M("div", _s, [F(Ye, {
2875
2895
  spec: t,
2876
2896
  class: "mwnf-dxa-timeline__form"
2877
2897
  }, {
@@ -2920,7 +2940,7 @@ var Eo = {
2920
2940
  }, Fs = /* @__PURE__ */ D({ default: () => Ls }), Is = { class: "mwnf-dxa-about" }, Ls = {
2921
2941
  __name: "About",
2922
2942
  setup(e) {
2923
- return (e, t) => (L(), M("div", Is, [F(at, { "about-mode": "" })]));
2943
+ return (e, t) => (L(), M("div", Is, [F(it, { "about-mode": "" })]));
2924
2944
  }
2925
2945
  }, Rs = /* @__PURE__ */ D({ default: () => tc }), zs = { class: "mwnf-dxa-themes-page" }, Bs = { class: "mwnf-dxa-themes-page__container" }, Vs = ["onClick"], Hs = ["innerHTML"], Us = {
2926
2946
  key: 0,
@@ -2934,7 +2954,7 @@ var Eo = {
2934
2954
  }, Ys = ["innerHTML"], Xs = { class: "mwnf-dxa-themes-page__info" }, Zs = { class: "mwnf-dxa-themes-page__description" }, Qs = { class: "mwnf-dxa-themes-page__subthemes" }, $s = { class: "mwnf-dxa-themes-page__subthemes-label" }, ec = { class: "mwnf-dxa-themes-page__gallery" }, tc = {
2935
2955
  __name: "Themes",
2936
2956
  setup(e) {
2937
- let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = Te, { t: o, locale: s } = q(), c = R(!1), l = R(null);
2957
+ let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = we, { t: o, locale: s } = q(), c = R(!1), l = R(null);
2938
2958
  function u(e) {
2939
2959
  c.value || (l.value = l.value === e ? null : e);
2940
2960
  }
@@ -2964,15 +2984,15 @@ var Eo = {
2964
2984
  numeral: i(e.display_order),
2965
2985
  cover: r?.image_url ?? "",
2966
2986
  caption: p(r),
2967
- excerpt: f(Ot(String(o.presentation ?? ""))),
2968
- to: ot(e),
2987
+ excerpt: f(Dt(String(o.presentation ?? ""))),
2988
+ to: at(e),
2969
2989
  gallery: {
2970
2990
  name: "theme-gallery",
2971
2991
  params: { id: String(e.display_order - 1) }
2972
2992
  },
2973
2993
  subThemes: (e.sub_themes ?? []).map((e, t) => ({
2974
2994
  label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
2975
- to: ot(e)
2995
+ to: at(e)
2976
2996
  }))
2977
2997
  };
2978
2998
  }));
@@ -2996,7 +3016,7 @@ var Eo = {
2996
3016
  }, null, 8, Ws)), 64))])) : (L(), M("div", Gs, [N("div", Ks, [e.cover ? (L(), M("img", {
2997
3017
  key: 0,
2998
3018
  src: e.cover,
2999
- alt: V(Ot)(e.title)
3019
+ alt: V(Dt)(e.title)
3000
3020
  }, null, 8, qs)) : j("", !0), e.caption ? (L(), M("div", Js, [N("span", { innerHTML: V(K)(e.caption) }, null, 8, Ys)])) : j("", !0)]), N("div", Xs, [
3001
3021
  N("div", Zs, [
3002
3022
  N("span", null, B(e.excerpt), 1),
@@ -3043,7 +3063,7 @@ var Eo = {
3043
3063
  }, bc = {
3044
3064
  __name: "ThemeGallery",
3045
3065
  setup(t) {
3046
- let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = Te, s = X(), c = Lt(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
3066
+ let { pictureParent: n, romanFor: r, themeByRouteId: i, themeText: a, themePictures: o } = we, s = X(), c = It(), { t: l, locale: u } = q(), d = k(() => i(s.params.id)), f = k(() => d.value?.sub_themes ?? []), p = k(() => {
3047
3067
  let e = Number(s.params.subtheme);
3048
3068
  return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
3049
3069
  }), m = (e) => a(e, u.value).title ?? e?.internal_name ?? "";
@@ -3086,9 +3106,9 @@ var Eo = {
3086
3106
  }), v = R(!1), y = () => {
3087
3107
  v.value = document.body.scrollHeight > window.innerHeight;
3088
3108
  };
3089
- ft(() => {
3109
+ dt(() => {
3090
3110
  y(), window.addEventListener("scroll", y), window.addEventListener("resize", y);
3091
- }), dt(() => {
3111
+ }), ut(() => {
3092
3112
  window.removeEventListener("scroll", y), window.removeEventListener("resize", y);
3093
3113
  });
3094
3114
  let ee = () => window.scrollTo({
@@ -3106,7 +3126,7 @@ var Eo = {
3106
3126
  p.value ? (L(), M("span", oc, [n[2] ||= P(" ▪ ", -1), N("span", { innerHTML: V(K)(m(f.value[p.value - 1])) }, null, 8, sc)])) : j("", !0),
3107
3127
  P(" | " + B(V(l)("exhibition.theme.galleryLabel")), 1)
3108
3128
  ])]),
3109
- N("div", cc, [N("div", lc, [N("div", uc, [F(Q, {
3129
+ N("div", cc, [N("div", lc, [N("div", uc, [F($, {
3110
3130
  rows: _.value,
3111
3131
  family: "exhibition"
3112
3132
  }, null, 8, ["rows"])]), N("div", dc, [
@@ -3148,10 +3168,10 @@ var Eo = {
3148
3168
  workingNumber: "exhibition.sheet.workingNumber",
3149
3169
  relatedAudio: "exhibition.sheet.relatedAudio",
3150
3170
  relatedVideos: "exhibition.sheet.relatedVideos"
3151
- }, n = (e) => Re.value.get(e);
3152
- return (r, i) => (L(), A(it, {
3171
+ }, n = (e) => Le.value.get(e);
3172
+ return (r, i) => (L(), A(rt, {
3153
3173
  id: e.id,
3154
- "item-detail": V(Pe),
3174
+ "item-detail": V(Ne),
3155
3175
  "data-getter": n,
3156
3176
  words: t,
3157
3177
  class: "mwnf-dxa-exhibition-item"
@@ -3172,11 +3192,11 @@ var Eo = {
3172
3192
  4
3173
3193
  ], { t: i, locale: a } = q(), o = (e) => e?.[a.value] ?? e?.en ?? "";
3174
3194
  function s(e) {
3175
- let t = e.document_path ? He(e.document_path, "hi_res") : "";
3195
+ let t = e.document_path ? Ve(e.document_path, "hi_res") : "";
3176
3196
  return {
3177
- reading: Dt(o(e.texts) || e.further_reading || ""),
3197
+ reading: Et(o(e.texts) || e.further_reading || ""),
3178
3198
  partner: e.partner_name ? K(e.partner_name) : "",
3179
- place: [e.entity_location, e.entity_country ? Be(e.entity_country) : ""].filter(Boolean).join(", "),
3199
+ place: [e.entity_location, e.entity_country ? ze(e.entity_country) : ""].filter(Boolean).join(", "),
3180
3200
  title: o(e.titles) ? K(o(e.titles)) : "",
3181
3201
  href: t || e.url || "",
3182
3202
  byline: [e.authors, e.type_resource].filter(Boolean).map((e) => K(e)).join(", "),
@@ -3185,7 +3205,7 @@ var Eo = {
3185
3205
  }
3186
3206
  let c = k(() => {
3187
3207
  let e = /* @__PURE__ */ new Map();
3188
- for (let t of xe.value ?? []) {
3208
+ for (let t of be.value ?? []) {
3189
3209
  let n = e.get(t.category_id);
3190
3210
  n ? n.push(t) : e.set(t.category_id, [t]);
3191
3211
  }
@@ -3262,7 +3282,7 @@ var Eo = {
3262
3282
  let t = {
3263
3283
  "catalogue.era.ad": "exhibition.era.ad",
3264
3284
  "catalogue.era.bc": "exhibition.era.bc"
3265
- }, n = ({ years: e, t: n }) => It(e.min, e.max, Ft(n, t)), r = k(() => ({
3285
+ }, n = ({ years: e, t: n }) => Ft(e.min, e.max, Pt(n, t)), r = k(() => ({
3266
3286
  ...S.value,
3267
3287
  entrance: !0,
3268
3288
  controls: S.value.controls.map((e) => e.options ? {
@@ -3278,7 +3298,7 @@ var Eo = {
3278
3298
  end: e.end || a.at(-1)?.value
3279
3299
  });
3280
3300
  }
3281
- return (e, t) => (L(), M("div", Bc, [F(Xe, {
3301
+ return (e, t) => (L(), M("div", Bc, [F(Ye, {
3282
3302
  spec: r.value,
3283
3303
  class: "mwnf-dxa-timeline__form"
3284
3304
  }, {
@@ -3376,7 +3396,7 @@ var Eo = {
3376
3396
  emits: ["update:selectedId"],
3377
3397
  setup(e, { emit: t }) {
3378
3398
  let r = e, i = t, { t: a } = q(), o = k(() => r.pictures.find((e) => e.id === r.selectedId) ?? null), s = k(() => r.pictures.some((e) => e.backRelated?.length)), c = R(!1);
3379
- bt(() => r.pictures, () => {
3399
+ yt(() => r.pictures, () => {
3380
3400
  c.value = !1;
3381
3401
  });
3382
3402
  let l = k(() => c.value ? r.pictures : r.pictures.filter((e) => !e.backRelated?.length));
@@ -3424,7 +3444,7 @@ var Eo = {
3424
3444
  ])], 2))), 128))]), s.value ? (L(), M("label", Sl, [U(N("input", {
3425
3445
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
3426
3446
  type: "checkbox"
3427
- }, null, 512), [[gt, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
3447
+ }, null, 512), [[ht, c.value]]), N("span", null, B(c.value ? V(a)(e.hideRelatedEntry) : V(a)(e.addRelatedEntry)), 1)])) : j("", !0)])) : j("", !0)]));
3428
3448
  }
3429
3449
  }, wl = {
3430
3450
  key: 0,
@@ -3460,7 +3480,7 @@ var Eo = {
3460
3480
  },
3461
3481
  emits: ["select"],
3462
3482
  setup(e, { emit: t }) {
3463
- let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ? Dt(n.contextualDescription, { breaks: !0 }) : ""), o = k(() => n.picture?.related ?? []), s = k(() => n.picture?.backRelated?.[0] ?? null);
3483
+ let n = e, r = t, { t: i } = q(), a = k(() => n.contextualDescription ? Et(n.contextualDescription, { breaks: !0 }) : ""), o = k(() => n.picture?.related ?? []), s = k(() => n.picture?.backRelated?.[0] ?? null);
3464
3484
  function c(e) {
3465
3485
  r("select", e.id);
3466
3486
  }
@@ -3501,4 +3521,4 @@ var Eo = {
3501
3521
  ])) : j("", !0);
3502
3522
  }
3503
3523
  };
3504
- export { Ls as ExhibitionAbout, xa as ExhibitionCollectionResults, Ba as ExhibitionCollectionSearch, Ps as ExhibitionHome, Sc as ExhibitionItemDetail, Ya as ExhibitionPartnerObjects, wr as ExhibitionPartners, Rc as ExhibitionRelatedContent, ur as ExhibitionSearchHowTo, ii as ExhibitionSearchResults, xo as ExhibitionShell, at as ExhibitionTheme, bc as ExhibitionThemeGallery, tc as ExhibitionThemes, el as ExhibitionTimeline, zi as ExhibitionTimelineGallery, Mi as ExhibitionTimelineResults, zo as FeaturedPartners, Wt as GalleryAbout, Bn as GalleryCollectionResults, nr as GalleryCollectionSearch, Gt as GalleryCredits, ps as GalleryHome, hs as GalleryItemDetail, cr as GalleryPartnerObjects, dn as GalleryPartners, Jt as GallerySearchHowTo, Dn as GallerySearchResults, ho as GalleryShell, js as GalleryTimeline, jn as GalleryTimelineGallery, On as GalleryTimelineResults, rt as ItemDetailView, Ht as PartnerDetail, Cl as PictureGallery, Jl as PictureNarrative, bo as PopupLogo, is as SiblingGalleries, ct as exhibitionAboutSpec, To as exhibitionConfig, be as exhibitionPartnerDetail, st as exhibitionThemeSpec, wo as galleryConfig, ve as galleryPartnerDetail, uo as standardRoutes, ot as themeNodeRoute };
3524
+ export { Ls as ExhibitionAbout, xa as ExhibitionCollectionResults, Ba as ExhibitionCollectionSearch, Ps as ExhibitionHome, Sc as ExhibitionItemDetail, Ya as ExhibitionPartnerObjects, Fr as ExhibitionPartners, Rc as ExhibitionRelatedContent, xr as ExhibitionSearchHowTo, ii as ExhibitionSearchResults, xo as ExhibitionShell, it as ExhibitionTheme, bc as ExhibitionThemeGallery, tc as ExhibitionThemes, el as ExhibitionTimeline, zi as ExhibitionTimelineGallery, Mi as ExhibitionTimelineResults, zo as FeaturedPartners, Ut as GalleryAbout, Zn as GalleryCollectionResults, pr as GalleryCollectionSearch, Wt as GalleryCredits, ps as GalleryHome, hs as GalleryItemDetail, yr as GalleryPartnerObjects, pn as GalleryPartners, qt as GallerySearchHowTo, Rn as GallerySearchResults, ho as GalleryShell, js as GalleryTimeline, Hn as GalleryTimelineGallery, zn as GalleryTimelineResults, nt as ItemDetailView, Q as LegacyPages, Vt as PartnerDetail, Cl as PictureGallery, Jl as PictureNarrative, bo as PopupLogo, is as SiblingGalleries, st as exhibitionAboutSpec, To as exhibitionConfig, ye as exhibitionPartnerDetail, ot as exhibitionThemeSpec, wo as galleryConfig, _e as galleryPartnerDetail, uo as standardRoutes, at as themeNodeRoute };