@museumwnf/viewer-layout 3.84.0 → 3.85.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dxa.js CHANGED
@@ -1,25 +1,25 @@
1
1
  import { I18nText as e, LEGACY_SITES as t, NotFoundView as n, languageLabels as r, loadEntities as i, mwnfLinks as a, offeredLanguages as o, renderBlock as s, renderInline as c, renderPlain as l, sectionMeta as u, useDataPackage as d, useFacets as f, useI18n as p, useKeywordIndex as m, useSection as h, useSiteConfig as g, withEraWords as _, yearBuckets as v, yearBucketsFromRange as y } from "@museumwnf/viewer-core";
2
2
  import { Fragment as b, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as E, createTextVNode as D, createVNode as O, normalizeClass as k, normalizeStyle as A, onBeforeUnmount as j, onMounted as M, openBlock as N, reactive as ee, ref as P, renderList as F, renderSlot as te, resolveDynamicComponent as ne, toDisplayString as I, unref as L, vModelCheckbox as re, vModelSelect as ie, vModelText as ae, vShow as oe, watch as se, watchEffect as ce, withCtx as R, withDirectives as z, withModifiers as le } from "vue";
3
- import { s as B } from "./OnDisplayIn-BH3Bqope.js";
3
+ import { s as B } from "./OnDisplayIn-Ct8xxMwQ.js";
4
4
  import { c as ue, d as V, t as de } from "./PartnerMap-DdyMLtgH.js";
5
5
  import { a as H, i as fe, n as pe } from "./TimelineEventList-CIkKxyQu.js";
6
6
  import { t as me } from "./RecordView-DAvWufWV.js";
7
- import { A as he, C as ge, D as _e, E as ve, M as ye, N as be, O as xe, S as Se, T as Ce, _ as we, a as Te, b as Ee, c as De, d as Oe, f as ke, g as Ae, h as je, i as Me, j as Ne, k as Pe, l as Fe, m as Ie, n as Le, o as Re, p as ze, r as Be, s as Ve, t as He, u as Ue, v as We, w as Ge, x as Ke, y as qe } from "./data-CxiuR3R_.js";
8
- import { A as Je, C as Ye, D as Xe, E as Ze, M as Qe, N as $e, O as et, P as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as U, d as st, f as ct, g as lt, h as ut, i as dt, j as W, k as ft, l as pt, m as G, n as mt, o as ht, p as gt, r as _t, s as vt, t as yt, u as bt, v as K, w as xt, x as St, y as Ct } from "./data-CD0QmDAc.js";
9
- import { n as wt, r as q, t as Tt } from "./TimelineResultsView-Bn4rC_Se.js";
10
- import { RouterLink as J, useRoute as Y, useRouter as Et } from "vue-router";
11
- import { romanFor as Dt } from "@museumwnf/viewer-core/dxa";
12
- import { t as Ot } from "./SiteShell-D0u1FGMu.js";
13
- import { i as kt, n as At, r as jt, t as Mt } from "./chrome-Bv_mLlHM.js";
14
- import { i as Nt } from "./PageShell-BAtk_qcb.js";
15
- import { n as Pt, t as Ft } from "./LegacyItemSheet-YTByn-Aa.js";
16
- import { n as It, r as X } from "./Theme-BUfsZDdm.js";
17
- import { n as Lt, r as Rt, t as zt } from "./themeSpecs-C0tSNkSd.js";
7
+ import { A as he, C as ge, D as _e, E as ve, M as ye, N as be, O as xe, P as Se, S as Ce, T as we, _ as Te, a as Ee, b as De, c as Oe, d as ke, f as Ae, g as je, h as Me, i as Ne, j as Pe, 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 Ge, w as Ke, x as qe, y as Je } from "./data-gT947pBe.js";
8
+ import { A as Ye, C as Xe, D as Ze, E as Qe, M as U, N as $e, O as et, P as tt, S as nt, T as rt, _ as it, a as at, b as ot, c as W, d as st, f as ct, g as lt, h as ut, i as dt, j as G, k as ft, l as pt, m as mt, n as ht, o as gt, p as _t, r as vt, s as yt, t as bt, u as xt, v as K, w as St, x as Ct, y as wt } from "./data-CD0QmDAc.js";
9
+ import { n as Tt, r as q, t as Et } from "./TimelineResultsView-Bn4rC_Se.js";
10
+ import { RouterLink as J, useRoute as Y, useRouter as Dt } from "vue-router";
11
+ import { romanFor as Ot } from "@museumwnf/viewer-core/dxa";
12
+ import { t as kt } from "./SiteShell-D0u1FGMu.js";
13
+ import { i as At, n as jt, r as Mt, t as Nt } from "./chrome-Bv_mLlHM.js";
14
+ import { i as Pt } from "./PageShell-BAtk_qcb.js";
15
+ import { n as Ft, t as It } from "./LegacyItemSheet-Bk-3fiQP.js";
16
+ import { n as Lt, r as X } from "./Theme-BUfsZDdm.js";
17
+ import { n as Rt, r as zt, t as Bt } from "./themeSpecs-C0tSNkSd.js";
18
18
  // src/dxa/PartnerDetail.vue
19
- var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profile-map-label" }, Ht = {
19
+ var Vt = { class: "mwnf-dxa-profile-languages" }, Ht = { class: "mwnf-dxa-profile-map-label" }, Ut = {
20
20
  key: 1,
21
21
  class: "mwnf-dxa-profile-no-map"
22
- }, Ut = {
22
+ }, Wt = {
23
23
  __name: "PartnerDetail",
24
24
  props: {
25
25
  id: {
@@ -47,7 +47,7 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
47
47
  id: e.id,
48
48
  class: k(["mwnf-dxa-partner-profile", e.family.className])
49
49
  }, {
50
- header: R(({ languages: t, language: n, select: r }) => [T("div", Bt, [O(ue, {
50
+ header: R(({ languages: t, language: n, select: r }) => [T("div", Vt, [O(ue, {
51
51
  languages: t,
52
52
  language: n,
53
53
  from: e.family.legacyMap ? 1 : 2,
@@ -78,7 +78,7 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
78
78
  _: 2
79
79
  }, [e.family.legacyMap ? {
80
80
  name: "after",
81
- fn: R(({ partner: t }) => [t.map ? (N(), w(b, { key: 0 }, [T("p", Vt, I(L(r)(e.family.legacyMap.label)), 1), O(de, {
81
+ fn: R(({ partner: t }) => [t.map ? (N(), w(b, { key: 0 }, [T("p", Ht, I(L(r)(e.family.legacyMap.label)), 1), O(de, {
82
82
  class: "mwnf-dxa-profile-map",
83
83
  provider: "google",
84
84
  latitude: t.map.latitude,
@@ -90,7 +90,7 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
90
90
  "longitude",
91
91
  "zoom",
92
92
  "label"
93
- ])], 64)) : (N(), w("p", Ht))]),
93
+ ])], 64)) : (N(), w("p", Ut))]),
94
94
  key: "0"
95
95
  } : void 0]), 1032, [
96
96
  "partner",
@@ -106,7 +106,7 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
106
106
  "class"
107
107
  ])) : (N(), S(L(n), { key: 1 }));
108
108
  }
109
- }, Wt = {
109
+ }, Gt = {
110
110
  __name: "TextPage",
111
111
  props: {
112
112
  body: {
@@ -135,50 +135,50 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
135
135
  "blank-lines": ""
136
136
  }, null, 8, ["keypath"])], 2));
137
137
  }
138
- }, Gt = {
138
+ }, Kt = {
139
139
  __name: "About",
140
140
  setup(e) {
141
- return (e, t) => (N(), S(Wt, {
141
+ return (e, t) => (N(), S(Gt, {
142
142
  kind: "about",
143
143
  body: "gallery.about.body"
144
144
  }));
145
145
  }
146
- }, Kt = {
146
+ }, qt = {
147
147
  __name: "Credits",
148
148
  props: { bodyKey: {
149
149
  type: String,
150
150
  required: !0
151
151
  } },
152
152
  setup(e) {
153
- return (t, n) => (N(), S(Wt, {
153
+ return (t, n) => (N(), S(Gt, {
154
154
  kind: "credits",
155
155
  body: e.bodyKey
156
156
  }, null, 8, ["body"]));
157
157
  }
158
- }, qt = { class: "mwnf-dxa-exhibition-credits" }, Jt = {
158
+ }, Jt = { class: "mwnf-dxa-exhibition-credits" }, Yt = {
159
159
  __name: "Credits",
160
160
  props: { bodyKey: {
161
161
  type: String,
162
162
  required: !0
163
163
  } },
164
164
  setup(t) {
165
- return (n, r) => (N(), w("div", qt, [O(B), O(L(e), {
165
+ return (n, r) => (N(), w("div", Jt, [O(B), O(L(e), {
166
166
  class: "mwnf-dxa-exhibition-credits__body",
167
167
  dir: "auto",
168
168
  keypath: t.bodyKey,
169
169
  "blank-lines": ""
170
170
  }, null, 8, ["keypath"])]));
171
171
  }
172
- }, Yt = {
172
+ }, Xt = {
173
173
  __name: "SearchHowTo",
174
174
  setup(e) {
175
- return (e, t) => (N(), S(Wt, {
175
+ return (e, t) => (N(), S(Gt, {
176
176
  kind: "how-to",
177
177
  body: "catalogue.search.howToEssay",
178
178
  back: { name: "collection" }
179
179
  }));
180
180
  }
181
- }, Xt = {
181
+ }, Zt = {
182
182
  DGA: "dga",
183
183
  ISL: "isl",
184
184
  EPM: "isl",
@@ -186,72 +186,75 @@ var Bt = { class: "mwnf-dxa-profile-languages" }, Vt = { class: "mwnf-dxa-profil
186
186
  BAR: "dba",
187
187
  GALLERIES: "galleries",
188
188
  DCA: "dca"
189
- }, Zt = {
189
+ }, Qt = {
190
190
  partner: "gallery.partners.statusPartner",
191
191
  affiliate: "gallery.partners.statusAffiliate"
192
192
  };
193
- function Qt(e, t = Zt) {
193
+ function $t(e, t = Qt) {
194
194
  let n = e?.own_project;
195
195
  if (!n?.name) return null;
196
- let r = String(n.backward_compatibility ?? "").split(":").pop().toUpperCase(), i = n.exhibition ? "exh" : Xt[r] ?? "", a = n.level === "partner" || !!n.exhibition;
196
+ let r = "tone" in n ? n.tone ?? "" : n.exhibition ? "exh" : Zt[en(n)] ?? "", i = n.level === "partner" || !!n.exhibition;
197
197
  return {
198
198
  name: n.name,
199
- status: a ? t.partner : t.affiliate,
200
- tone: i
199
+ status: i ? t.partner : t.affiliate,
200
+ tone: r
201
201
  };
202
202
  }
203
- var $t = {
203
+ function en(e) {
204
+ return String(e.backward_compatibility ?? "").split(":").pop().toUpperCase();
205
+ }
206
+ var tn = {
204
207
  partner: "exhibition.partners.statusPartner",
205
208
  associated_partner: "exhibition.partners.statusAssociated",
206
209
  minor_contributor: "exhibition.partners.statusFurtherAssociated"
207
- }, en = "mwnf3:institutions:";
210
+ }, nn = "mwnf3:institutions:";
208
211
  function Z(e) {
209
212
  let t = e?.own_project;
210
213
  if (!t?.name) return null;
211
- let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(en) ? e.level : t.level;
214
+ let n = String(t.backward_compatibility ?? "").split(":").pop().toUpperCase(), r = String(e?.backward_compatibility ?? "").startsWith(nn) ? e.level : t.level;
212
215
  return {
213
216
  name: t.name,
214
- status: t.exhibition ? $t.partner : $t[r] ?? null,
215
- tone: t.exhibition ? "exh" : Xt[n] ?? ""
217
+ status: t.exhibition ? tn.partner : tn[r] ?? null,
218
+ tone: t.exhibition ? "exh" : Zt[n] ?? ""
216
219
  };
217
220
  }
218
221
  // src/dxa/gallery/Partners.vue
219
- var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class: "mwnf-dxa-gallery-partners__options" }, rn = { class: "mwnf-dxa-gallery-partners__order" }, an = ["onClick"], on = { class: "mwnf-dxa-gallery-partners__country" }, sn = { class: "mwnf-dxa-gallery-partners__partner" }, cn = { class: "mwnf-dxa-gallery-partners__text" }, ln = ["innerHTML"], un = {
222
+ var rn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, an = { class: "mwnf-dxa-gallery-partners__options" }, on = { class: "mwnf-dxa-gallery-partners__order" }, sn = ["onClick"], cn = { class: "mwnf-dxa-gallery-partners__country" }, ln = { class: "mwnf-dxa-gallery-partners__partner" }, un = { class: "mwnf-dxa-gallery-partners__text" }, dn = ["innerHTML"], fn = {
220
223
  key: 0,
221
224
  class: "mwnf-dxa-gallery-partners__city"
222
- }, dn = { class: "mwnf-dxa-partner-badge__status" }, fn = { class: "mwnf-dxa-gallery-partners__links" }, pn = { class: "mwnf-dxa-gallery-partners__logo" }, mn = ["src", "alt"], hn = {
225
+ }, pn = { class: "mwnf-dxa-partner-badge__status" }, mn = { class: "mwnf-dxa-gallery-partners__links" }, hn = { class: "mwnf-dxa-gallery-partners__logo" }, gn = ["src", "alt"], _n = {
223
226
  __name: "Partners",
224
227
  setup(t) {
225
228
  let n = {
226
- ...ge,
227
- objectsRoute: Ce,
229
+ ...Ke,
230
+ objectsRoute: ve,
228
231
  orderToggle: !1,
229
232
  tiebreak: (e) => e.own_project?.name ?? ""
230
233
  };
231
- return (t, r) => (N(), w("div", tn, [O(wt, { spec: n }, {
232
- before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", nn, [O(B), T("div", rn, [T("button", {
234
+ return (t, r) => (N(), w("div", rn, [O(Tt, { spec: n }, {
235
+ before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", an, [O(B), T("div", on, [T("button", {
233
236
  type: "button",
234
237
  onClick: r
235
- }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, an)])]), O(L(e), {
238
+ }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, sn)])]), O(L(e), {
236
239
  id: "mwnf-dxa-partners-intro",
237
240
  class: "mwnf-dxa-gallery-partners__intro",
238
241
  dir: "auto",
239
242
  keypath: "gallery.partners.intro"
240
243
  })]),
241
- "group-heading": R(({ group: e }) => [T("div", on, I(e.label), 1)]),
242
- row: R(({ partner: e, view: t, t: n }) => [T("div", sn, [T("div", cn, [
244
+ "group-heading": R(({ group: e }) => [T("div", cn, I(e.label), 1)]),
245
+ row: R(({ partner: e, view: t, t: n }) => [T("div", ln, [T("div", un, [
243
246
  O(V, {
244
247
  class: "mwnf-dxa-gallery-partners__name",
245
248
  to: t.route
246
249
  }, {
247
- default: R(() => [T("span", { innerHTML: t.name }, null, 8, ln), t.city ? (N(), w("span", un, ", " + I(t.city), 1)) : C("", !0)]),
250
+ default: R(() => [T("span", { innerHTML: t.name }, null, 8, dn), t.city ? (N(), w("span", fn, ", " + I(t.city), 1)) : C("", !0)]),
248
251
  _: 2
249
252
  }, 1032, ["to"]),
250
- L(Qt)(e) ? (N(), w("div", {
253
+ L($t)(e) ? (N(), w("div", {
251
254
  key: 0,
252
- class: k(["mwnf-dxa-partner-badge", L(Qt)(e).tone && `mwnf-dxa-partner-badge--${L(Qt)(e).tone}`])
253
- }, [D(I(L(Qt)(e).name) + " ", 1), T("span", dn, I(n(L(Qt)(e).status)), 1)], 2)) : C("", !0),
254
- T("div", fn, [O(V, { to: t.route }, {
255
+ class: k(["mwnf-dxa-partner-badge", L($t)(e).tone && `mwnf-dxa-partner-badge--${L($t)(e).tone}`])
256
+ }, [D(I(L($t)(e).name) + " ", 1), T("span", pn, I(n(L($t)(e).status)), 1)], 2)) : C("", !0),
257
+ T("div", mn, [O(V, { to: t.route }, {
255
258
  default: R(() => [D(I(n("partner.action.readMore")), 1)]),
256
259
  _: 2
257
260
  }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (N(), w(b, { key: 0 }, [r[0] ||= T("span", {
@@ -261,20 +264,20 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
261
264
  default: R(() => [D(I(n("partner.action.viewObjects")), 1)]),
262
265
  _: 2
263
266
  }, 1032, ["to"])], 64)) : C("", !0)])
264
- ]), T("div", pn, [t.logos?.[0] ? (N(), w("img", {
267
+ ]), T("div", hn, [t.logos?.[0] ? (N(), w("img", {
265
268
  key: 0,
266
269
  src: t.logos[0].url,
267
270
  alt: t.plainName,
268
271
  loading: "lazy"
269
- }, null, 8, mn)) : C("", !0)])])]),
272
+ }, null, 8, gn)) : C("", !0)])])]),
270
273
  _: 1
271
274
  })]));
272
275
  }
273
- }, gn = ["disabled"], _n = { key: 0 }, vn = ["disabled"], yn = { key: 0 }, bn = [
276
+ }, vn = ["disabled"], yn = { key: 0 }, bn = ["disabled"], xn = { key: 0 }, Sn = [
274
277
  "disabled",
275
278
  "aria-current",
276
279
  "onClick"
277
- ], xn = ["disabled"], Sn = { key: 0 }, Cn = ["disabled"], wn = { key: 0 }, Q = {
280
+ ], Cn = ["disabled"], wn = { key: 0 }, Tn = ["disabled"], En = { key: 0 }, Q = {
278
281
  __name: "LegacyPages",
279
282
  props: {
280
283
  pageInfo: {
@@ -326,13 +329,13 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
326
329
  class: k([`${a.value}__button`, { "is-disabled": g(1) }]),
327
330
  disabled: g(1),
328
331
  onClick: t[0] ||= (e) => _(1)
329
- }, [t[4] ||= D(" <<", -1), L(c) ? C("", !0) : (N(), w("span", _n, I(" " + o("first")), 1))], 10, gn),
332
+ }, [t[4] ||= D(" <<", -1), L(c) ? C("", !0) : (N(), w("span", yn, I(" " + o("first")), 1))], 10, vn),
330
333
  T("button", {
331
334
  type: "button",
332
335
  class: k([`${a.value}__button`, { "is-disabled": g(f.value - 1) }]),
333
336
  disabled: g(f.value - 1),
334
337
  onClick: t[1] ||= (e) => _(f.value - 1)
335
- }, [t[5] ||= D(" <", -1), L(c) ? C("", !0) : (N(), w("span", yn, I(" " + o("previous")), 1))], 10, vn),
338
+ }, [t[5] ||= D(" <", -1), L(c) ? C("", !0) : (N(), w("span", xn, I(" " + o("previous")), 1))], 10, bn),
336
339
  T("div", { class: k(`${a.value}__numbers`) }, [(N(!0), w(b, null, F(h.value, (e) => (N(), w("button", {
337
340
  key: e,
338
341
  type: "button",
@@ -340,22 +343,22 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
340
343
  disabled: g(e),
341
344
  "aria-current": e === f.value ? "page" : void 0,
342
345
  onClick: (t) => _(e)
343
- }, I(e), 11, bn))), 128))], 2),
346
+ }, I(e), 11, Sn))), 128))], 2),
344
347
  T("button", {
345
348
  type: "button",
346
349
  class: k([`${a.value}__button`, { "is-disabled": g(f.value + 1) }]),
347
350
  disabled: g(f.value + 1),
348
351
  onClick: t[2] ||= (e) => _(f.value + 1)
349
- }, [L(c) ? C("", !0) : (N(), w("span", Sn, I(o("next") + " "), 1)), t[6] ||= D("> ", -1)], 10, xn),
352
+ }, [L(c) ? C("", !0) : (N(), w("span", wn, I(o("next") + " "), 1)), t[6] ||= D("> ", -1)], 10, Cn),
350
353
  T("button", {
351
354
  type: "button",
352
355
  class: k([`${a.value}__button`, { "is-disabled": g(m.value) }]),
353
356
  disabled: g(m.value),
354
357
  onClick: t[3] ||= (e) => _(m.value)
355
- }, [L(c) ? C("", !0) : (N(), w("span", wn, I(o("last") + " "), 1)), t[7] ||= D(">> ", -1)], 10, Cn)
358
+ }, [L(c) ? C("", !0) : (N(), w("span", En, I(o("last") + " "), 1)), t[7] ||= D(">> ", -1)], 10, Tn)
356
359
  ], 2)) : C("", !0);
357
360
  }
358
- }, Tn = ["onMouseenter"], En = { class: "mwnf-dxa-grid__frame" }, Dn = ["src", "alt"], On = ["src", "alt"], kn = { class: "mwnf-dxa-grid__text" }, An = ["innerHTML"], jn = { class: "mwnf-dxa-grid__date" }, Mn = { class: "mwnf-dxa-grid__partner" }, Nn = { class: "mwnf-dxa-grid__place" }, Pn = {
361
+ }, Dn = ["onMouseenter"], On = { class: "mwnf-dxa-grid__frame" }, kn = ["src", "alt"], An = ["src", "alt"], jn = { class: "mwnf-dxa-grid__text" }, Mn = ["innerHTML"], Nn = { class: "mwnf-dxa-grid__date" }, Pn = { class: "mwnf-dxa-grid__partner" }, Fn = { class: "mwnf-dxa-grid__place" }, In = {
359
362
  key: 0,
360
363
  class: "mwnf-dxa-grid__project"
361
364
  }, $ = {
@@ -377,12 +380,12 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
377
380
  class: "mwnf-dxa-grid__entry",
378
381
  onMouseenter: (e) => n.value = a,
379
382
  onMouseleave: i[0] ||= (e) => n.value = -1
380
- }, [T("div", En, [T("img", {
383
+ }, [T("div", On, [T("img", {
381
384
  class: "mwnf-dxa-grid__image",
382
385
  src: r.image,
383
386
  alt: r.imageAlt,
384
387
  loading: "lazy"
385
- }, null, 8, Dn)]), T("div", { class: k(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": n.value === a }]) }, [O(V, {
388
+ }, null, 8, kn)]), T("div", { class: k(["mwnf-dxa-grid__card", { "mwnf-dxa-grid__card--open": n.value === a }]) }, [O(V, {
386
389
  class: "mwnf-dxa-grid__card-image",
387
390
  to: r.to,
388
391
  tabindex: "-1"
@@ -391,17 +394,17 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
391
394
  src: r.image,
392
395
  alt: r.imageAlt,
393
396
  loading: "lazy"
394
- }, null, 8, On)]),
397
+ }, null, 8, An)]),
395
398
  _: 2
396
- }, 1032, ["to"]), T("div", kn, [
399
+ }, 1032, ["to"]), T("div", jn, [
397
400
  T("p", {
398
401
  class: "mwnf-dxa-grid__name",
399
402
  innerHTML: r.name
400
- }, null, 8, An),
401
- T("p", jn, I(r.date), 1),
402
- T("p", Mn, I(r.partner), 1),
403
- T("p", Nn, I(r.place), 1),
404
- e.family !== "exhibition" || r.project ? (N(), w("p", Pn, [D(I(e.family === "exhibition" ? L(t)("exhibition.results.for") : L(t)("gallery.results.for")) + " ", 1), T("span", null, I(r.project), 1)])) : C("", !0),
403
+ }, null, 8, Mn),
404
+ T("p", Nn, I(r.date), 1),
405
+ T("p", Pn, I(r.partner), 1),
406
+ T("p", Fn, I(r.place), 1),
407
+ e.family !== "exhibition" || r.project ? (N(), w("p", In, [D(I(e.family === "exhibition" ? L(t)("exhibition.results.for") : L(t)("gallery.results.for")) + " ", 1), T("span", null, I(r.project), 1)])) : C("", !0),
405
408
  O(V, {
406
409
  class: "mwnf-dxa-grid__link",
407
410
  to: r.to
@@ -409,22 +412,22 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
409
412
  default: R(() => [D(I(L(t)("catalogue.results.seeDatabaseEntry")) + " >", 1)]),
410
413
  _: 1
411
414
  }, 8, ["to"])
412
- ])], 2)], 40, Tn))), 128))], 2));
415
+ ])], 2)], 40, Dn))), 128))], 2));
413
416
  }
414
- }, Fn = ["onSubmit"], In = ["placeholder"], Ln = {
417
+ }, Ln = ["onSubmit"], Rn = ["placeholder"], zn = {
415
418
  type: "submit",
416
419
  class: "mwnf-dxa-refine-search-submit"
417
- }, Rn = { class: "mwnf-dxa-how-to" }, zn = {
420
+ }, Bn = { class: "mwnf-dxa-how-to" }, Vn = {
418
421
  key: 1,
419
422
  class: "mwnf-dxa-no-results"
420
- }, Bn = {
423
+ }, Hn = {
421
424
  __name: "SearchResults",
422
425
  setup(e) {
423
426
  let t = m("items", {
424
427
  grammar: "boolean",
425
- haystack: ke
428
+ haystack: Ae
426
429
  }), n = P(!1);
427
- qe().then(() => {
430
+ Je().then(() => {
428
431
  n.value = !0;
429
432
  });
430
433
  function r(e) {
@@ -435,11 +438,11 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
435
438
  keys: ["q"],
436
439
  sort: !1,
437
440
  narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
438
- pageSize: We.pageSize,
441
+ pageSize: Ge.pageSize,
439
442
  variant: "grid",
440
443
  recordRoute: "item",
441
444
  actionLabel: "catalogue.results.seeDatabaseEntry",
442
- record: (e, { t }) => Pe(e, t),
445
+ record: (e, { t }) => he(e, t),
443
446
  summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
444
447
  label: n("core.section.database"),
445
448
  value: r(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
@@ -461,7 +464,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
461
464
  type: "text",
462
465
  class: "mwnf-dxa-refine-search-input",
463
466
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
464
- }, null, 8, In), [[ae, i.value]]), T("button", Ln, I(e.$t("catalogue.search.submit")), 1)], 40, Fn), T("p", Rn, [O(L(J), { to: { name: "search-how-to" } }, {
467
+ }, null, 8, Rn), [[ae, i.value]]), T("button", zn, I(e.$t("catalogue.search.submit")), 1)], 40, Ln), T("p", Bn, [O(L(J), { to: { name: "search-how-to" } }, {
465
468
  default: R(() => [D(I(e.$t("catalogue.search.howTo")) + " ›", 1)]),
466
469
  _: 1
467
470
  })])]),
@@ -480,7 +483,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
480
483
  records: R(({ rows: n }) => [n.length ? (N(), S($, {
481
484
  key: 0,
482
485
  rows: n
483
- }, null, 8, ["rows"])) : (N(), w("p", zn, [
486
+ }, null, 8, ["rows"])) : (N(), w("p", Vn, [
484
487
  D(I(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
485
488
  O(L(J), { to: { name: "search-how-to" } }, {
486
489
  default: R(() => [D(I(e.$t("catalogue.search.howTo")), 1)]),
@@ -495,32 +498,32 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
495
498
  _: 1
496
499
  }, 8, ["spec"]));
497
500
  }
498
- }, Vn = {
501
+ }, Un = {
499
502
  __name: "TimelineResults",
500
503
  setup(e) {
501
- return (e, t) => (N(), S(Tt, {
502
- spec: L(Ne),
504
+ return (e, t) => (N(), S(Et, {
505
+ spec: L(ye),
503
506
  class: "mwnf-dxa-timeline-results"
504
507
  }, {
505
508
  before: R(() => [O(B)]),
506
509
  _: 1
507
510
  }, 8, ["spec"]));
508
511
  }
509
- }, Hn = { class: "mwnf-dxa-back-to-events" }, Un = {
512
+ }, Wn = { class: "mwnf-dxa-back-to-events" }, Gn = {
510
513
  key: 1,
511
514
  class: "mwnf-record-grid__empty"
512
- }, Wn = {
515
+ }, Kn = {
513
516
  __name: "TimelineGallery",
514
517
  setup(e) {
515
518
  return (e, t) => (N(), S(q, {
516
519
  spec: {
517
- ...L(he),
518
- ...L(We)
520
+ ...L(Pe),
521
+ ...L(Ge)
519
522
  },
520
523
  class: "mwnf-dxa-timeline-gallery"
521
524
  }, {
522
525
  before: R(() => [O(B)]),
523
- actions: R(({ filters: t, pageInfo: n, goToPage: r }) => [T("p", Hn, [O(L(J), { to: {
526
+ actions: R(({ filters: t, pageInfo: n, goToPage: r }) => [T("p", Wn, [O(L(J), { to: {
524
527
  name: "timeline-results",
525
528
  query: {
526
529
  country: t.country,
@@ -539,7 +542,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
539
542
  records: R(({ rows: e, empty: t }) => [e.length ? (N(), S($, {
540
543
  key: 0,
541
544
  rows: e
542
- }, null, 8, ["rows"])) : (N(), w("p", Un, I(t), 1))]),
545
+ }, null, 8, ["rows"])) : (N(), w("p", Gn, I(t), 1))]),
543
546
  pagination: R(() => [...t[0] ||= []]),
544
547
  after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
545
548
  family: "gallery",
@@ -549,13 +552,13 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
549
552
  _: 1
550
553
  }, 8, ["spec"]));
551
554
  }
552
- }, Gn = { class: "mwnf-dxa-gallery-results" }, Kn = { class: "mwnf-dxa-gallery-results__info" }, qn = { class: "mwnf-dxa-gallery-results__choices" }, Jn = {
555
+ }, qn = { class: "mwnf-dxa-gallery-results" }, Jn = { class: "mwnf-dxa-gallery-results__info" }, Yn = { class: "mwnf-dxa-gallery-results__choices" }, Xn = {
553
556
  key: 0,
554
557
  class: "mwnf-dxa-gallery-results__end"
555
- }, Yn = { class: "mwnf-dxa-date-wrapper" }, Xn = {
558
+ }, Zn = { class: "mwnf-dxa-date-wrapper" }, Qn = {
556
559
  key: 0,
557
560
  class: "mwnf-dxa-timeline-link-box"
558
- }, Zn = { class: "mwnf-dxa-options-label" }, Qn = { class: "mwnf-dxa-gallery-results__timeline" }, $n = {
561
+ }, $n = { class: "mwnf-dxa-options-label" }, er = { class: "mwnf-dxa-gallery-results__timeline" }, tr = {
559
562
  __name: "CollectionResults",
560
563
  setup(t) {
561
564
  let { t: n } = p(), r = {
@@ -563,27 +566,27 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
563
566
  dynasty: "gallery.collection.periodDynasty",
564
567
  subject: "gallery.collection.subject",
565
568
  material: "gallery.collection.material"
566
- }, i = (e) => n(Le[e] ?? e), a = x(() => v(Ae.value ?? [], i)), o = x(() => (Ae.value ?? []).length), s = Te.keys, c = (e) => s.every((t) => !e[t]);
569
+ }, i = (e) => n(Re[e] ?? e), a = x(() => v(je.value ?? [], i)), o = x(() => (je.value ?? []).length), s = Ee.keys, c = (e) => s.every((t) => !e[t]);
567
570
  function l(e, t, r) {
568
571
  let i = (n) => (t[n] ?? []).find((t) => String(t.value) === String(e[n]))?.label ?? e[n], o = (e) => a.value.find((t) => String(t.value) === String(e))?.label ?? e, s = [];
569
572
  e.country && s.push(i("country"));
570
- for (let t of Be) e[t] && s.push(i(t));
573
+ for (let t of Ve) e[t] && s.push(i(t));
571
574
  return e.from && s.push(`${n("gallery.collection.start")} ${o(e.from)}`), e.to && s.push(`${n("gallery.collection.end")} ${o(e.to)}`), s.length ? s.join(" & ") : r.length ? n("gallery.collection.allObjects") : n("gallery.collection.none");
572
575
  }
573
- let u = x(() => new Set((ye.value ?? []).map((e) => e.country_id)));
576
+ let u = x(() => new Set((be.value ?? []).map((e) => e.country_id)));
574
577
  function d(e) {
575
- let t = Re(e.country);
578
+ let t = ze(e.country);
576
579
  return !!(t && u.value.has(t));
577
580
  }
578
- return (t, a) => (N(), w("div", Gn, [O(q, {
581
+ return (t, a) => (N(), w("div", qn, [O(q, {
579
582
  spec: {
580
- ...L(Te),
581
- ...L(We),
583
+ ...L(Ee),
584
+ ...L(Ge),
582
585
  summary: () => []
583
586
  },
584
587
  class: "mwnf-dxa-collection-results"
585
588
  }, {
586
- before: R(({ filters: e, options: t, matching: r, pageInfo: i }) => [O(B), T("div", Kn, [T("p", null, [D(I(L(n)("gallery.collection.heading")) + " | ", 1), T("span", qn, I(l(e, t, r)), 1)]), T("p", null, I(i.total) + " " + I(L(n)("gallery.collection.resultsOutOf")) + " " + I(o.value) + " " + I(L(n)("gallery.collection.objects")), 1)])]),
589
+ before: R(({ filters: e, options: t, matching: r, pageInfo: i }) => [O(B), T("div", Jn, [T("p", null, [D(I(L(n)("gallery.collection.heading")) + " | ", 1), T("span", Yn, I(l(e, t, r)), 1)]), T("p", null, I(i.total) + " " + I(L(n)("gallery.collection.resultsOutOf")) + " " + I(o.value) + " " + I(L(n)("gallery.collection.objects")), 1)])]),
587
590
  actions: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
588
591
  family: "gallery",
589
592
  class: "mwnf-dxa-gallery-pages--top",
@@ -598,7 +601,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
598
601
  class: "mwnf-dxa-gallery-results__none",
599
602
  keypath: "gallery.collection.noResults"
600
603
  }))]),
601
- pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", Jn)) : C("", !0)]),
604
+ pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", Xn)) : C("", !0)]),
602
605
  after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
603
606
  family: "gallery",
604
607
  "page-info": e,
@@ -623,7 +626,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
623
626
  "placeholder",
624
627
  "onUpdate:modelValue"
625
628
  ]),
626
- (N(!0), w(b, null, F(L(Be), (i) => (N(), S(H, {
629
+ (N(!0), w(b, null, F(L(Ve), (i) => (N(), S(H, {
627
630
  key: i,
628
631
  "model-value": e[i],
629
632
  options: l[i],
@@ -636,7 +639,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
636
639
  "placeholder",
637
640
  "onUpdate:modelValue"
638
641
  ]))), 128)),
639
- T("div", Yn, [O(H, {
642
+ T("div", Zn, [O(H, {
640
643
  "model-value": e.from,
641
644
  options: L(v)(s, i),
642
645
  placeholder: L(n)("gallery.collection.startDate"),
@@ -664,7 +667,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
664
667
  "reset-label",
665
668
  "disabled",
666
669
  "onReset"
667
- ]), d(e) ? (N(), w("div", Xn, [T("div", Zn, I(L(n)("gallery.collection.timelineForSearch")), 1), T("p", Qn, [a[0] ||= T("span", {
670
+ ]), d(e) ? (N(), w("div", Qn, [T("div", $n, I(L(n)("gallery.collection.timelineForSearch")), 1), T("p", er, [a[0] ||= T("span", {
668
671
  class: "mwnf-dxa-gallery-results__share",
669
672
  "aria-hidden": "true"
670
673
  }, "➦", -1), O(L(J), { to: {
@@ -675,94 +678,94 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
675
678
  end: e.to
676
679
  }
677
680
  } }, {
678
- default: R(() => [D(I(L(n)("gallery.collection.timeline")) + " | " + I(L(we)("countries", L(Re)(e.country))), 1)]),
681
+ default: R(() => [D(I(L(n)("gallery.collection.timeline")) + " | " + I(L(Te)("countries", L(ze)(e.country))), 1)]),
679
682
  _: 2
680
683
  }, 1032, ["to"])])])) : C("", !0)]),
681
684
  _: 1
682
685
  }, 8, ["spec"])]));
683
686
  }
684
- }, er = { class: "mwnf-dxa-gallery-collection" }, tr = { class: "mwnf-dxa-gallery-collection__dropdowns" }, nr = { class: "mwnf-dxa-gallery-collection__label" }, rr = { class: "mwnf-dxa-gallery-collection__selects" }, ir = ["aria-label", "onChange"], ar = {
687
+ }, nr = { class: "mwnf-dxa-gallery-collection" }, rr = { class: "mwnf-dxa-gallery-collection__dropdowns" }, ir = { class: "mwnf-dxa-gallery-collection__label" }, ar = { class: "mwnf-dxa-gallery-collection__selects" }, or = ["aria-label", "onChange"], sr = {
685
688
  selected: "",
686
689
  disabled: "",
687
690
  value: ""
688
- }, or = ["value"], sr = { class: "mwnf-dxa-gallery-collection__dates" }, cr = ["aria-label"], lr = {
691
+ }, cr = ["value"], lr = { class: "mwnf-dxa-gallery-collection__dates" }, ur = ["aria-label"], dr = {
689
692
  selected: "",
690
693
  disabled: "",
691
694
  value: ""
692
- }, ur = ["value"], dr = ["aria-label"], fr = {
695
+ }, fr = ["value"], pr = ["aria-label"], mr = {
693
696
  selected: "",
694
697
  disabled: "",
695
698
  value: ""
696
- }, pr = ["value"], mr = ["innerHTML"], hr = {
699
+ }, hr = ["value"], gr = ["innerHTML"], _r = {
697
700
  __name: "CollectionSearch",
698
701
  setup(e) {
699
- let t = Et(), { t: n } = p(), r = x(() => s(`${n("gallery.collection.introBeforeName")} *${Oe(De)}* ${n("gallery.collection.introAfterName")}`)), i = f(Ae, He), a = {
702
+ let t = Dt(), { t: n } = p(), r = x(() => s(`${n("gallery.collection.introBeforeName")} *${ke(Oe)}* ${n("gallery.collection.introAfterName")}`)), i = f(je, Ue), a = {
700
703
  country: "gallery.collection.selectCountry",
701
704
  type: "gallery.collection.type",
702
705
  dynasty: "gallery.collection.periodDynasty",
703
706
  subject: "gallery.collection.subject",
704
707
  material: "gallery.collection.material"
705
- }, o = x(() => ["country", ...Be].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
708
+ }, o = x(() => ["country", ...Ve].filter((e) => e === "country" || (i.value[e] ?? []).length > 0).map((e) => ({
706
709
  key: e,
707
710
  name: a[e],
708
711
  options: i.value[e] ?? []
709
- }))), c = (e) => n(Le[e] ?? e), l = x(() => v(Ae.value ?? [], c));
712
+ }))), c = (e) => n(Re[e] ?? e), l = x(() => v(je.value ?? [], c));
710
713
  function u(e, n) {
711
714
  n !== "" && n != null && t.push({
712
715
  name: "collection-results",
713
716
  query: { [e]: String(n) }
714
717
  });
715
718
  }
716
- return (e, t) => (N(), w("div", er, [T("div", tr, [T("div", nr, I(L(n)("gallery.collection.filterBy")), 1), T("div", rr, [(N(!0), w(b, null, F(o.value, (e) => (N(), w("select", {
719
+ return (e, t) => (N(), w("div", nr, [T("div", rr, [T("div", ir, I(L(n)("gallery.collection.filterBy")), 1), T("div", ar, [(N(!0), w(b, null, F(o.value, (e) => (N(), w("select", {
717
720
  key: e.key,
718
721
  class: "mwnf-dxa-gallery-collection__select",
719
722
  "aria-label": L(n)(e.name),
720
723
  onChange: (t) => u(e.key, t.target.value)
721
- }, [T("option", ar, I(L(n)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
724
+ }, [T("option", sr, I(L(n)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
722
725
  key: e.value,
723
726
  value: String(e.value)
724
- }, I(e.label), 9, or))), 128))], 40, ir))), 128)), T("div", sr, [T("select", {
727
+ }, I(e.label), 9, cr))), 128))], 40, or))), 128)), T("div", lr, [T("select", {
725
728
  class: "mwnf-dxa-gallery-collection__select",
726
729
  "aria-label": L(n)("gallery.collection.startDate"),
727
730
  onChange: t[0] ||= (e) => u("from", e.target.value)
728
- }, [T("option", lr, I(L(n)("gallery.collection.startDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
731
+ }, [T("option", dr, I(L(n)("gallery.collection.startDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
729
732
  key: e.value,
730
733
  value: String(e.value)
731
- }, I(e.label), 9, ur))), 128))], 40, cr), T("select", {
734
+ }, I(e.label), 9, fr))), 128))], 40, ur), T("select", {
732
735
  class: "mwnf-dxa-gallery-collection__select",
733
736
  "aria-label": L(n)("gallery.collection.endDate"),
734
737
  onChange: t[1] ||= (e) => u("to", e.target.value)
735
- }, [T("option", fr, I(L(n)("gallery.collection.endDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
738
+ }, [T("option", mr, I(L(n)("gallery.collection.endDate")), 1), (N(!0), w(b, null, F(l.value, (e) => (N(), w("option", {
736
739
  key: e.value,
737
740
  value: String(e.value)
738
- }, I(e.label), 9, pr))), 128))], 40, dr)])])]), T("div", {
741
+ }, I(e.label), 9, hr))), 128))], 40, pr)])])]), T("div", {
739
742
  class: "mwnf-dxa-gallery-collection__description mwnf-prose vc-text",
740
743
  dir: "auto",
741
744
  innerHTML: r.value
742
- }, null, 8, mr)]));
745
+ }, null, 8, gr)]));
743
746
  }
744
- }, gr = {
747
+ }, vr = {
745
748
  key: 0,
746
749
  class: "mwnf-dxa-partner-objects mwnf-dxa-gallery-objects"
747
- }, _r = { class: "mwnf-dxa-gallery-objects__header" }, vr = ["innerHTML"], yr = {
750
+ }, yr = { class: "mwnf-dxa-gallery-objects__header" }, br = ["innerHTML"], xr = {
748
751
  key: 0,
749
752
  class: "mwnf-dxa-gallery-objects__place"
750
- }, br = {
753
+ }, Sr = {
751
754
  key: 0,
752
755
  class: "mwnf-dxa-gallery-objects__end"
753
- }, xr = {
756
+ }, Cr = {
754
757
  __name: "PartnerObjects",
755
758
  setup(e) {
756
- let t = Y(), n = x(() => Ee.value.get(t.params.id) ?? null), r = x(() => ({
759
+ let t = Y(), n = x(() => qe.value.get(t.params.id) ?? null), r = x(() => ({
760
+ ...we,
757
761
  ...Ge,
758
- ...We,
759
762
  scope: (e) => e.partner_id === t.params.id
760
- })), i = x(() => n.value ? Ke.view(n.value, be("partners", n.value.id, Ve)) : null), a = x(() => [i.value?.city, i.value?.country].filter(Boolean).join(", "));
761
- return (e, t) => n.value ? (N(), w("div", gr, [O(q, { spec: r.value }, {
762
- before: R(() => [O(B), T("div", _r, [T("p", {
763
+ })), i = x(() => n.value ? Ce.view(n.value, Se("partners", n.value.id, He)) : null), a = x(() => [i.value?.city, i.value?.country].filter(Boolean).join(", "));
764
+ return (e, t) => n.value ? (N(), w("div", vr, [O(q, { spec: r.value }, {
765
+ before: R(() => [O(B), T("div", yr, [T("p", {
763
766
  class: "mwnf-dxa-gallery-objects__name",
764
767
  innerHTML: i.value.name
765
- }, null, 8, vr), a.value ? (N(), w("p", yr, I(a.value), 1)) : C("", !0)])]),
768
+ }, null, 8, br), a.value ? (N(), w("p", xr, I(a.value), 1)) : C("", !0)])]),
766
769
  actions: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
767
770
  family: "gallery",
768
771
  class: "mwnf-dxa-gallery-pages--top",
@@ -770,7 +773,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
770
773
  onNavigate: t
771
774
  }, null, 8, ["page-info", "onNavigate"])]),
772
775
  records: R(({ rows: e }) => [O($, { rows: e }, null, 8, ["rows"])]),
773
- pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", br)) : C("", !0)]),
776
+ pagination: R(({ pageInfo: e }) => [e.lastPage <= 1 ? (N(), w("div", Sr)) : C("", !0)]),
774
777
  after: R(({ pageInfo: e, goToPage: t }) => [O(Q, {
775
778
  family: "gallery",
776
779
  "page-info": e,
@@ -778,7 +781,7 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
778
781
  }, null, 8, ["page-info", "onNavigate"])]),
779
782
  aside: R(() => [O(L(J), {
780
783
  class: "mwnf-dxa-gallery-objects__profile",
781
- to: L(ve)(n.value)
784
+ to: L(_e)(n.value)
782
785
  }, {
783
786
  default: R(() => [t[0] ||= T("span", {
784
787
  class: "mwnf-dxa-gallery-objects__profile-arrow",
@@ -789,113 +792,113 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
789
792
  _: 1
790
793
  }, 8, ["spec"])])) : C("", !0);
791
794
  }
792
- }, Sr = { class: "mwnf-dxa-exhibition-how-to" }, Cr = {
795
+ }, wr = { class: "mwnf-dxa-exhibition-how-to" }, Tr = {
793
796
  __name: "SearchHowTo",
794
797
  setup(t) {
795
- return (t, n) => (N(), w("div", Sr, [O(B), O(L(e), {
798
+ return (t, n) => (N(), w("div", wr, [O(B), O(L(e), {
796
799
  class: "mwnf-dxa-exhibition-how-to__text",
797
800
  dir: "auto",
798
801
  keypath: "catalogue.search.howToEssay"
799
802
  })]));
800
803
  }
801
- }, wr = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, Tr = { class: "mwnf-dxa-gallery-partners__options" }, Er = { class: "mwnf-dxa-gallery-partners__order" }, Dr = ["onClick"], Or = { class: "mwnf-dxa-gallery-partners__country" }, kr = { class: "mwnf-dxa-gallery-partners__partner" }, Ar = { class: "mwnf-dxa-gallery-partners__text" }, jr = ["innerHTML"], Mr = {
804
+ }, Er = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners mwnf-dxa-exhibition-partners" }, Dr = { class: "mwnf-dxa-gallery-partners__options" }, Or = { class: "mwnf-dxa-gallery-partners__order" }, kr = ["onClick"], Ar = { class: "mwnf-dxa-gallery-partners__country" }, jr = { class: "mwnf-dxa-gallery-partners__partner" }, Mr = { class: "mwnf-dxa-gallery-partners__text" }, Nr = ["innerHTML"], Pr = {
802
805
  key: 0,
803
806
  class: "mwnf-dxa-gallery-partners__city"
804
- }, Nr = {
807
+ }, Fr = {
805
808
  key: 0,
806
809
  class: "mwnf-dxa-partner-badge__status"
807
- }, Pr = { class: "mwnf-dxa-gallery-partners__links" }, Fr = { class: "mwnf-dxa-gallery-partners__logo" }, Ir = ["src", "alt"], Lr = {
810
+ }, Ir = { class: "mwnf-dxa-gallery-partners__links" }, Lr = { class: "mwnf-dxa-gallery-partners__logo" }, Rr = ["src", "alt"], zr = {
808
811
  __name: "Partners",
809
812
  setup(t) {
810
813
  let n = {
811
814
  ...rt,
812
- objectsRoute: Ze,
815
+ objectsRoute: Qe,
813
816
  orderToggle: !1,
814
817
  tiebreak: (e) => e.own_project?.name ?? ""
815
818
  };
816
- return (t, r) => (N(), w("div", wr, [O(wt, { spec: n }, {
817
- before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", Tr, [O(B), T("div", Er, [T("button", {
819
+ return (t, r) => (N(), w("div", Er, [O(Tt, { spec: n }, {
820
+ before: R(({ t, orderDir: n, toggleOrder: r }) => [T("div", Dr, [O(B), T("div", Or, [T("button", {
818
821
  type: "button",
819
822
  onClick: r
820
- }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, Dr)])]), O(L(e), {
823
+ }, I(t(n === "asc" ? "partner.list.sortDescending" : "partner.list.sortAscending")), 9, kr)])]), O(L(e), {
821
824
  id: "mwnf-dxa-partners-intro",
822
825
  class: "mwnf-dxa-gallery-partners__intro",
823
826
  dir: "auto",
824
827
  keypath: "exhibition.partners.intro"
825
828
  })]),
826
- "group-heading": R(({ group: e }) => [T("div", Or, I(e.label), 1)]),
827
- row: R(({ partner: e, view: t, t: n }) => [T("div", kr, [T("div", Ar, [
829
+ "group-heading": R(({ group: e }) => [T("div", Ar, I(e.label), 1)]),
830
+ row: R(({ partner: e, view: t, t: n }) => [T("div", jr, [T("div", Mr, [
828
831
  O(V, {
829
832
  class: "mwnf-dxa-gallery-partners__name",
830
833
  to: t.route
831
834
  }, {
832
- default: R(() => [T("span", { innerHTML: t.name }, null, 8, jr), t.city ? (N(), w("span", Mr, ", " + I(t.city), 1)) : C("", !0)]),
835
+ default: R(() => [T("span", { innerHTML: t.name }, null, 8, Nr), t.city ? (N(), w("span", Pr, ", " + I(t.city), 1)) : C("", !0)]),
833
836
  _: 2
834
837
  }, 1032, ["to"]),
835
838
  L(Z)(e) ? (N(), w("div", {
836
839
  key: 0,
837
840
  class: k(["mwnf-dxa-partner-badge", L(Z)(e).tone && `mwnf-dxa-partner-badge--${L(Z)(e).tone}`])
838
- }, [D(I(L(Z)(e).name + " "), 1), L(Z)(e).status ? (N(), w("span", Nr, I(n(L(Z)(e).status)), 1)) : C("", !0)], 2)) : C("", !0),
839
- T("div", Pr, [O(V, { to: t.route }, {
841
+ }, [D(I(L(Z)(e).name + " "), 1), L(Z)(e).status ? (N(), w("span", Fr, I(n(L(Z)(e).status)), 1)) : C("", !0)], 2)) : C("", !0),
842
+ T("div", Ir, [O(V, { to: t.route }, {
840
843
  default: R(() => [D(I(n("partner.action.readMore")), 1)]),
841
844
  _: 2
842
845
  }, 1032, ["to"]), e.item_count > 0 && t.objectsRoute ? (N(), w(b, { key: 0 }, [r[0] ||= T("span", {
843
846
  class: "mwnf-dxa-gallery-partners__divider",
844
847
  "aria-hidden": "true"
845
848
  }, "|", -1), O(V, { to: t.objectsRoute }, {
846
- default: R(() => [D(I(n(L(xt)(e))), 1)]),
849
+ default: R(() => [D(I(n(L(St)(e))), 1)]),
847
850
  _: 2
848
851
  }, 1032, ["to"])], 64)) : C("", !0)])
849
- ]), T("div", Fr, [t.logos?.[0] ? (N(), w("img", {
852
+ ]), T("div", Lr, [t.logos?.[0] ? (N(), w("img", {
850
853
  key: 0,
851
854
  src: t.logos[0].url,
852
855
  alt: t.plainName,
853
856
  loading: "lazy"
854
- }, null, 8, Ir)) : C("", !0)])])]),
857
+ }, null, 8, Rr)) : C("", !0)])])]),
855
858
  _: 1
856
859
  })]));
857
860
  }
858
- }, Rr = { class: "mwnf-dxa-exhibition-search" }, zr = { class: "mwnf-dxa-exhibition-search__header" }, Br = { class: "mwnf-dxa-exhibition-search__info" }, Vr = { key: 0 }, Hr = { key: 1 }, Ur = { class: "mwnf-dxa-exhibition-search__box" }, Wr = ["placeholder", "aria-label"], Gr = { class: "mwnf-dxa-exhibition-search__buttons" }, Kr = {
861
+ }, Br = { class: "mwnf-dxa-exhibition-search" }, Vr = { class: "mwnf-dxa-exhibition-search__header" }, Hr = { class: "mwnf-dxa-exhibition-search__info" }, Ur = { key: 0 }, Wr = { key: 1 }, Gr = { class: "mwnf-dxa-exhibition-search__box" }, Kr = ["placeholder", "aria-label"], qr = { class: "mwnf-dxa-exhibition-search__buttons" }, Jr = {
859
862
  type: "submit",
860
863
  class: "mwnf-dxa-exhibition-search__button"
861
- }, qr = { class: "mwnf-dxa-exhibition-search__tips" }, Jr = {
864
+ }, Yr = { class: "mwnf-dxa-exhibition-search__tips" }, Xr = {
862
865
  key: 0,
863
866
  class: "mwnf-dxa-exhibition-search__results"
864
- }, Yr = {
867
+ }, Zr = {
865
868
  key: 0,
866
869
  class: "mwnf-dxa-exhibition-search__main"
867
- }, Xr = { class: "mwnf-dxa-exhibition-search__main-photo" }, Zr = ["src", "alt"], Qr = { class: "mwnf-dxa-exhibition-search__main-text" }, $r = ["innerHTML"], ei = { class: "mwnf-dxa-exhibition-search__main-holder" }, ti = { class: "mwnf-dxa-exhibition-search__list" }, ni = [
870
+ }, Qr = { class: "mwnf-dxa-exhibition-search__main-photo" }, $r = ["src", "alt"], ei = { class: "mwnf-dxa-exhibition-search__main-text" }, ti = ["innerHTML"], ni = { class: "mwnf-dxa-exhibition-search__main-holder" }, ri = { class: "mwnf-dxa-exhibition-search__list" }, ii = [
868
871
  "src",
869
872
  "alt",
870
873
  "onMouseover"
871
- ], ri = { class: "mwnf-dxa-exhibition-search__result-text" }, ii = ["innerHTML", "onMouseover"], ai = {
874
+ ], ai = { class: "mwnf-dxa-exhibition-search__result-text" }, oi = ["innerHTML", "onMouseover"], si = {
872
875
  key: 1,
873
876
  class: "mwnf-dxa-exhibition-search__end"
874
- }, oi = {
877
+ }, ci = {
875
878
  __name: "SearchResults",
876
879
  setup(t) {
877
- let { t: n } = p(), r = Y(), i = Et(), a = m("items", {
880
+ let { t: n } = p(), r = Y(), i = Dt(), a = m("items", {
878
881
  grammar: "boolean",
879
- haystack: gt
882
+ haystack: _t
880
883
  }), o = P(!1);
881
- St().then(() => {
884
+ Ct().then(() => {
882
885
  o.value = !0;
883
886
  });
884
887
  let s = (e) => !e || e === "all-items" || e === "all-objects", l = (e) => e && e.length > 80 ? `${e.slice(0, 80)}...` : e ?? "", u = x(() => ({
885
888
  entity: "items",
886
889
  keys: ["q"],
887
- scope: (e) => G.value.has(e.id),
890
+ scope: (e) => mt.value.has(e.id),
888
891
  narrow: (e, t) => {
889
892
  if (!o.value) return [];
890
893
  if (s(t.q)) return e;
891
894
  let n = new Set(e.map((e) => e.id));
892
895
  return a.search(t.q).filter((e) => n.has(e.id));
893
896
  },
894
- ...Ct,
895
- sort: s(r.query.q) ? Ct.sort : !1,
897
+ ...wt,
898
+ sort: s(r.query.q) ? wt.sort : !1,
896
899
  summary: () => [],
897
900
  record: (e) => {
898
- let t = Qe("items", e.id, vt);
901
+ let t = U("items", e.id, yt);
899
902
  return {
900
903
  id: e.id,
901
904
  image: e.images?.[0]?.url ?? "",
@@ -933,23 +936,23 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
933
936
  }
934
937
  return se(() => r.fullPath, () => {
935
938
  _.value = null;
936
- }), (t, r) => (N(), w("div", Rr, [O(q, {
939
+ }), (t, r) => (N(), w("div", Br, [O(q, {
937
940
  spec: u.value,
938
941
  class: "mwnf-dxa-exhibition-search__view"
939
942
  }, {
940
943
  before: R(({ pageInfo: e, goToPage: t }) => [
941
944
  O(B),
942
- T("div", zr, [T("div", Br, [e.total ? (N(), w("p", Vr, I(L(n)("exhibition.search.heading")) + " | " + I(e.total) + " " + I(L(n)("exhibition.search.recordsOutOf")) + " " + I(L(G).size) + " " + I(L(n)("exhibition.collection.items")), 1)) : (N(), w("p", Hr, [D(I(L(n)("exhibition.search.heading")) + " | ", 1), T("span", null, I(L(n)("exhibition.search.none")), 1)]))]), T("div", Ur, [T("form", { onSubmit: r[2] ||= le((e) => h(), ["prevent"]) }, [z(T("input", {
945
+ T("div", Vr, [T("div", Hr, [e.total ? (N(), w("p", Ur, I(L(n)("exhibition.search.heading")) + " | " + I(e.total) + " " + I(L(n)("exhibition.search.recordsOutOf")) + " " + I(L(mt).size) + " " + I(L(n)("exhibition.collection.items")), 1)) : (N(), w("p", Wr, [D(I(L(n)("exhibition.search.heading")) + " | ", 1), T("span", null, I(L(n)("exhibition.search.none")), 1)]))]), T("div", Gr, [T("form", { onSubmit: r[2] ||= le((e) => h(), ["prevent"]) }, [z(T("input", {
943
946
  "onUpdate:modelValue": r[0] ||= (e) => f.value = e,
944
947
  class: "mwnf-dxa-exhibition-search__input",
945
948
  type: "search",
946
949
  placeholder: L(n)("exhibition.search.placeholder"),
947
950
  "aria-label": L(n)("exhibition.search.placeholder")
948
- }, null, 8, Wr), [[ae, f.value]]), T("div", Gr, [T("button", Kr, I(L(n)("exhibition.search.submit")), 1), T("button", {
951
+ }, null, 8, Kr), [[ae, f.value]]), T("div", qr, [T("button", Jr, I(L(n)("exhibition.search.submit")), 1), T("button", {
949
952
  type: "button",
950
953
  class: "mwnf-dxa-exhibition-search__button",
951
954
  onClick: r[1] ||= (e) => g()
952
- }, I(L(n)("exhibition.search.reset")), 1)])], 32), T("div", qr, [O(L(J), { to: { name: "search-how-to" } }, {
955
+ }, I(L(n)("exhibition.search.reset")), 1)])], 32), T("div", Yr, [O(L(J), { to: { name: "search-how-to" } }, {
953
956
  default: R(() => [D(I(L(n)("exhibition.search.tips")), 1)]),
954
957
  _: 1
955
958
  })])])]),
@@ -959,15 +962,15 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
959
962
  onNavigate: t
960
963
  }, null, 8, ["page-info", "onNavigate"])
961
964
  ]),
962
- records: R(({ rows: t }) => [t.length ? (N(), w("div", Jr, [y.value ? C("", !0) : (N(), w("div", Yr, [T("div", Xr, [T("img", {
965
+ records: R(({ rows: t }) => [t.length ? (N(), w("div", Xr, [y.value ? C("", !0) : (N(), w("div", Zr, [T("div", Qr, [T("img", {
963
966
  src: E(d(t)).image,
964
967
  alt: E(d(t)).imageAlt
965
- }, null, 8, Zr)]), T("div", Qr, [
966
- T("p", null, [T("strong", { innerHTML: E(d(t)).name }, null, 8, $r)]),
968
+ }, null, 8, $r)]), T("div", ei, [
969
+ T("p", null, [T("strong", { innerHTML: E(d(t)).name }, null, 8, ti)]),
967
970
  T("p", null, I(E(d(t)).date), 1),
968
- T("p", ei, [T("strong", null, I(E(d(t)).partner), 1)]),
971
+ T("p", ni, [T("strong", null, I(E(d(t)).partner), 1)]),
969
972
  T("p", null, I(E(d(t)).place), 1)
970
- ])])), T("div", ti, [(N(!0), w(b, null, F(d(t), (e) => (N(), w("div", {
973
+ ])])), T("div", ri, [(N(!0), w(b, null, F(d(t), (e) => (N(), w("div", {
971
974
  key: e.id,
972
975
  class: "mwnf-dxa-exhibition-search__result"
973
976
  }, [O(L(J), {
@@ -979,13 +982,13 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
979
982
  alt: e.imageAlt,
980
983
  loading: "lazy",
981
984
  onMouseover: (t) => _.value = e.id
982
- }, null, 40, ni)]),
985
+ }, null, 40, ii)]),
983
986
  _: 2
984
- }, 1032, ["to"]), T("div", ri, [O(L(J), { to: e.to }, {
987
+ }, 1032, ["to"]), T("div", ai, [O(L(J), { to: e.to }, {
985
988
  default: R(() => [T("strong", {
986
989
  innerHTML: e.name,
987
990
  onMouseover: (t) => _.value = e.id
988
- }, null, 40, ii), T("span", null, ", " + I(e.place), 1)]),
991
+ }, null, 40, oi), T("span", null, ", " + I(e.place), 1)]),
989
992
  _: 2
990
993
  }, 1032, ["to"]), T("p", null, [T("em", null, I(e.date), 1)])])]))), 128))])])) : (N(), S(L(e), {
991
994
  key: 1,
@@ -997,45 +1000,45 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
997
1000
  key: 0,
998
1001
  "page-info": e,
999
1002
  onNavigate: t
1000
- }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", ai))]),
1003
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", si))]),
1001
1004
  _: 1
1002
1005
  }, 8, ["spec"])]));
1003
1006
  }
1004
- }, si = { class: "mwnf-dxa-exhibition-timeline-results" }, ci = { class: "mwnf-dxa-exhibition-timeline-results__band" }, li = { class: "mwnf-dxa-exhibition-timeline-results__current" }, ui = { key: 0 }, di = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, fi = ["aria-label"], pi = {
1007
+ }, li = { class: "mwnf-dxa-exhibition-timeline-results" }, ui = { class: "mwnf-dxa-exhibition-timeline-results__band" }, di = { class: "mwnf-dxa-exhibition-timeline-results__current" }, fi = { key: 0 }, pi = { class: "mwnf-dxa-exhibition-timeline-results__fields" }, mi = ["aria-label"], hi = {
1005
1008
  disabled: "",
1006
1009
  value: ""
1007
- }, mi = ["value"], hi = ["aria-label"], gi = {
1010
+ }, gi = ["value"], _i = ["aria-label"], vi = {
1008
1011
  disabled: "",
1009
1012
  value: ""
1010
- }, _i = ["value"], vi = ["aria-label"], yi = {
1013
+ }, yi = ["value"], bi = ["aria-label"], xi = {
1011
1014
  disabled: "",
1012
1015
  value: ""
1013
- }, bi = ["value"], xi = ["onClick"], Si = ["onClick"], Ci = { class: "mwnf-dxa-exhibition-timeline-results__body" }, wi = {
1016
+ }, Si = ["value"], Ci = ["onClick"], wi = ["onClick"], Ti = { class: "mwnf-dxa-exhibition-timeline-results__body" }, Ei = {
1014
1017
  key: 0,
1015
1018
  class: "mwnf-dxa-exhibition-timeline-results__list"
1016
- }, Ti = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, Ei = { class: "mwnf-dxa-exhibition-timeline-results__year" }, Di = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Oi = ["innerHTML"], ki = ["innerHTML"], Ai = {
1019
+ }, Di = { class: "mwnf-dxa-exhibition-timeline-results__labels" }, Oi = { class: "mwnf-dxa-exhibition-timeline-results__year" }, ki = { class: "mwnf-dxa-exhibition-timeline-results__text" }, Ai = ["innerHTML"], ji = ["innerHTML"], Mi = {
1017
1020
  key: 1,
1018
1021
  class: "mwnf-dxa-exhibition-timeline-results__none"
1019
- }, ji = {
1022
+ }, Ni = {
1020
1023
  key: 2,
1021
1024
  class: "mwnf-dxa-exhibition-timeline-results__related"
1022
- }, Mi = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, Ni = {
1025
+ }, Pi = { class: "mwnf-dxa-exhibition-timeline-results__related-header" }, Fi = {
1023
1026
  key: 1,
1024
1027
  class: "mwnf-dxa-exhibition-timeline-results__end"
1025
- }, Pi = {
1028
+ }, Ii = {
1026
1029
  __name: "TimelineResults",
1027
1030
  setup(e) {
1028
1031
  let t = {
1029
1032
  "catalogue.era.ad": "exhibition.era.ad",
1030
1033
  "catalogue.era.bc": "exhibition.era.bc"
1031
1034
  }, n = ({ years: e, t: n }) => y(e.min, e.max, _(n, t)), r = x(() => ({
1032
- ...W.value,
1035
+ ...G.value,
1033
1036
  pageSize: 20,
1034
- controls: W.value.controls.map((e) => e.options ? {
1037
+ controls: G.value.controls.map((e) => e.options ? {
1035
1038
  ...e,
1036
1039
  options: n
1037
1040
  } : e)
1038
- })), i = x(() => W.value.scope === "country"), a = Y(), o = ee({
1041
+ })), i = x(() => G.value.scope === "country"), a = Y(), o = ee({
1039
1042
  country: "",
1040
1043
  begin: "",
1041
1044
  end: ""
@@ -1048,46 +1051,46 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1048
1051
  let n = e?.year_from;
1049
1052
  return Number.isFinite(n) ? `${n} ${t(n < 0 ? "exhibition.era.bc" : "exhibition.era.ad")}` : "";
1050
1053
  }
1051
- return (e, t) => (N(), w("div", si, [O(Tt, {
1054
+ return (e, t) => (N(), w("div", li, [O(Et, {
1052
1055
  spec: r.value,
1053
1056
  class: "mwnf-dxa-timeline-results"
1054
1057
  }, {
1055
- form: R((e) => [T("div", ci, [T("p", li, [
1058
+ form: R((e) => [T("div", ui, [T("p", di, [
1056
1059
  D(I(e.t("exhibition.timeline.heading")) + " | " + I(s(e.options.begin, e.filters.begin)) + " " + I(e.t("exhibition.timeline.to")) + " " + I(s(e.options.end, e.filters.end)) + " | ", 1),
1057
- i.value && e.filters.country ? (N(), w("span", ui, I(s(e.countries, e.filters.country)) + " | ", 1)) : C("", !0),
1060
+ i.value && e.filters.country ? (N(), w("span", fi, I(s(e.countries, e.filters.country)) + " | ", 1)) : C("", !0),
1058
1061
  T("span", null, I(e.pageInfo?.total ?? 0) + " " + I(e.t("exhibition.timeline.results")), 1)
1059
- ]), T("div", di, [
1062
+ ]), T("div", pi, [
1060
1063
  T("span", null, I(e.t("exhibition.collection.startDate")), 1),
1061
1064
  z(T("select", {
1062
1065
  "onUpdate:modelValue": t[0] ||= (e) => o.begin = e,
1063
1066
  "aria-label": e.t("exhibition.collection.startDate")
1064
- }, [T("option", pi, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
1067
+ }, [T("option", hi, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
1065
1068
  key: e.value,
1066
1069
  value: String(e.value)
1067
- }, I(e.label), 9, mi))), 128))], 8, fi), [[ie, o.begin]]),
1070
+ }, I(e.label), 9, gi))), 128))], 8, mi), [[ie, o.begin]]),
1068
1071
  T("span", null, I(e.t("exhibition.collection.endDate")), 1),
1069
1072
  z(T("select", {
1070
1073
  "onUpdate:modelValue": t[1] ||= (e) => o.end = e,
1071
1074
  "aria-label": e.t("exhibition.collection.endDate")
1072
- }, [T("option", gi, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
1075
+ }, [T("option", vi, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
1073
1076
  key: e.value,
1074
1077
  value: String(e.value)
1075
- }, I(e.label), 9, _i))), 128))], 8, hi), [[ie, o.end]]),
1078
+ }, I(e.label), 9, yi))), 128))], 8, _i), [[ie, o.end]]),
1076
1079
  i.value ? (N(), w(b, { key: 0 }, [T("span", null, I(e.t("exhibition.timeline.country")), 1), z(T("select", {
1077
1080
  "onUpdate:modelValue": t[2] ||= (e) => o.country = e,
1078
1081
  "aria-label": e.t("exhibition.timeline.selectCountry")
1079
- }, [T("option", yi, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
1082
+ }, [T("option", xi, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
1080
1083
  key: e.value,
1081
1084
  value: e.value
1082
- }, I(e.label), 9, bi))), 128))], 8, vi), [[ie, o.country]])], 64)) : C("", !0),
1085
+ }, I(e.label), 9, Si))), 128))], 8, bi), [[ie, o.country]])], 64)) : C("", !0),
1083
1086
  T("button", {
1084
1087
  type: "button",
1085
1088
  onClick: (t) => e.apply({ ...o })
1086
- }, I(e.t("core.action.go")), 9, xi),
1089
+ }, I(e.t("core.action.go")), 9, Ci),
1087
1090
  T("button", {
1088
1091
  type: "button",
1089
1092
  onClick: (t) => e.reset()
1090
- }, I(e.t("exhibition.search.reset")), 9, Si)
1093
+ }, I(e.t("exhibition.search.reset")), 9, wi)
1091
1094
  ])])]),
1092
1095
  summary: R(({ pageInfo: e, goToPage: t }) => [O(B), O(Q, {
1093
1096
  class: "mwnf-dxa-exhibition-timeline-results__pages",
@@ -1095,17 +1098,17 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1095
1098
  onNavigate: t
1096
1099
  }, null, 8, ["page-info", "onNavigate"])]),
1097
1100
  gallery: R(() => [...t[3] ||= []]),
1098
- event: R(({ pageInfo: e, rows: n, gallery: r, t: a }) => [T("div", Ci, [n.length ? (N(), w("div", wi, [T("div", Ti, [T("div", null, I(a("exhibition.timeline.date")), 1), T("div", null, I(a(i.value && o.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (N(!0), w(b, null, F(n, (t, n) => (N(), w("div", {
1101
+ event: R(({ pageInfo: e, rows: n, gallery: r, t: a }) => [T("div", Ti, [n.length ? (N(), w("div", Ei, [T("div", Di, [T("div", null, I(a("exhibition.timeline.date")), 1), T("div", null, I(a(i.value && o.country ? "exhibition.timeline.countryDescription" : "exhibition.timeline.description")), 1)]), (N(!0), w(b, null, F(n, (t, n) => (N(), w("div", {
1099
1102
  key: t.id,
1100
1103
  class: "mwnf-dxa-exhibition-timeline-results__event"
1101
- }, [T("div", Ei, [T("span", null, I(c(e.rows[n], a)), 1)]), T("div", Di, [i.value && o.country && t.caption ? (N(), w("div", {
1104
+ }, [T("div", Oi, [T("span", null, I(c(e.rows[n], a)), 1)]), T("div", ki, [i.value && o.country && t.caption ? (N(), w("div", {
1102
1105
  key: 0,
1103
1106
  class: "mwnf-dxa-exhibition-timeline-results__country",
1104
1107
  innerHTML: t.caption
1105
- }, null, 8, Oi)) : C("", !0), T("div", {
1108
+ }, null, 8, Ai)) : C("", !0), T("div", {
1106
1109
  class: "mwnf-dxa-exhibition-timeline-results__description",
1107
1110
  innerHTML: t.description
1108
- }, null, 8, ki)])]))), 128))])) : (N(), w("div", Ai, I(a("exhibition.timeline.noResults")), 1)), n.length && r ? (N(), w("div", ji, [T("p", Mi, I(a("exhibition.timeline.relatedContent")), 1), T("p", null, [
1111
+ }, null, 8, ji)])]))), 128))])) : (N(), w("div", Mi, I(a("exhibition.timeline.noResults")), 1)), n.length && r ? (N(), w("div", Ni, [T("p", Pi, I(a("exhibition.timeline.relatedContent")), 1), T("p", null, [
1109
1112
  t[4] ||= T("span", { "aria-hidden": "true" }, "➦", -1),
1110
1113
  t[5] ||= D(),
1111
1114
  O(L(J), { to: r.to }, {
@@ -1117,22 +1120,22 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1117
1120
  key: 0,
1118
1121
  "page-info": e,
1119
1122
  onNavigate: t
1120
- }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Ni))]),
1123
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Fi))]),
1121
1124
  _: 1
1122
1125
  }, 8, ["spec"])]));
1123
1126
  }
1124
- }, Fi = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Ii = { class: "mwnf-dxa-exhibition-partner-objects__header" }, Li = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ri = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, zi = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Bi = {
1127
+ }, Li = { class: "mwnf-dxa-exhibition-partner-objects mwnf-dxa-exhibition-timeline-gallery" }, Ri = { class: "mwnf-dxa-exhibition-partner-objects__header" }, zi = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Bi = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Vi = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Hi = {
1125
1128
  key: 1,
1126
1129
  class: "mwnf-dxa-exhibition-partner-objects__end"
1127
- }, Vi = {
1130
+ }, Ui = {
1128
1131
  __name: "TimelineGallery",
1129
1132
  setup(e) {
1130
1133
  let { t } = p(), n = {
1131
1134
  "catalogue.era.ad": "exhibition.era.ad",
1132
1135
  "catalogue.era.bc": "exhibition.era.bc"
1133
1136
  }, r = x(() => ({
1134
- ...Je,
1135
- ...Ct,
1137
+ ...Ye,
1138
+ ...wt,
1136
1139
  summary: () => [],
1137
1140
  record: ot
1138
1141
  }));
@@ -1142,16 +1145,16 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1142
1145
  let i = y(r, r, _(t, n));
1143
1146
  return i.find((e) => Number(e.value) === r)?.label ?? i[0]?.label ?? String(e);
1144
1147
  }
1145
- let a = x(() => W.value.scope === "country");
1146
- return (e, n) => (N(), w("div", Fi, [O(q, {
1148
+ let a = x(() => G.value.scope === "country");
1149
+ return (e, n) => (N(), w("div", Li, [O(q, {
1147
1150
  spec: r.value,
1148
1151
  class: "mwnf-dxa-partner-objects"
1149
1152
  }, {
1150
1153
  before: R(({ filters: e, pageInfo: n, goToPage: r }) => [
1151
1154
  O(B),
1152
- T("div", Ii, [T("p", null, [
1155
+ T("div", Ri, [T("p", null, [
1153
1156
  D(I(L(t)("exhibition.timeline.heading")) + " | " + I(i(e.begin)) + " " + I(L(t)("exhibition.timeline.to")) + " " + I(i(e.end)) + " | ", 1),
1154
- a.value && e.country ? (N(), w(b, { key: 0 }, [D(I(L(ht)(e.country)) + " | ", 1)], 64)) : C("", !0),
1157
+ a.value && e.country ? (N(), w(b, { key: 0 }, [D(I(L(gt)(e.country)) + " | ", 1)], 64)) : C("", !0),
1155
1158
  D(I(L(t)("exhibition.timeline.gallery")), 1)
1156
1159
  ])]),
1157
1160
  O(Q, {
@@ -1160,11 +1163,11 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1160
1163
  onNavigate: r
1161
1164
  }, null, 8, ["page-info", "onNavigate"])
1162
1165
  ]),
1163
- records: R(({ rows: e, filters: r }) => [T("div", Li, [T("div", Ri, [e.length ? (N(), S($, {
1166
+ records: R(({ rows: e, filters: r }) => [T("div", zi, [T("div", Bi, [e.length ? (N(), S($, {
1164
1167
  key: 0,
1165
1168
  rows: e,
1166
1169
  family: "exhibition"
1167
- }, null, 8, ["rows"])) : C("", !0)]), T("div", zi, [O(L(J), { to: {
1170
+ }, null, 8, ["rows"])) : C("", !0)]), T("div", Vi, [O(L(J), { to: {
1168
1171
  name: "timeline-results",
1169
1172
  query: {
1170
1173
  ...r.country ? { country: r.country } : {},
@@ -1180,27 +1183,27 @@ var tn = { class: "mwnf-dxa-partners mwnf-dxa-gallery-partners" }, nn = { class:
1180
1183
  key: 0,
1181
1184
  "page-info": e,
1182
1185
  onNavigate: t
1183
- }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Bi))]),
1186
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Hi))]),
1184
1187
  _: 1
1185
1188
  }, 8, ["spec"])]));
1186
1189
  }
1187
- }, { aboutTheme: Hi, listedThemes: Ui, pictureById: Wi, pictureParent: Gi, romanFor: Ki, themeText: qi, themeTree: Ji } = ft;
1188
- function Yi(e) {
1190
+ }, { aboutTheme: Wi, listedThemes: Gi, pictureById: Ki, pictureParent: qi, romanFor: Ji, themeText: Yi, themeTree: Xi } = ft;
1191
+ function Zi(e) {
1189
1192
  return e ? String(e.backward_compatibility ?? "").split(":").pop() || String(e.id ?? "") : "";
1190
1193
  }
1191
- function Xi(e) {
1192
- let t = (t) => qi(t, e.value).title ?? t?.internal_name ?? "", n = x(() => [...Hi.value ? [{
1193
- value: Yi(Hi.value),
1194
- label: t(Hi.value),
1195
- node: Hi.value
1196
- }] : [], ...Ui.value.map((e) => ({
1197
- value: Yi(e),
1198
- label: `${Ki(e.display_order)}. ${t(e)}`,
1194
+ function Qi(e) {
1195
+ let t = (t) => Yi(t, e.value).title ?? t?.internal_name ?? "", n = x(() => [...Wi.value ? [{
1196
+ value: Zi(Wi.value),
1197
+ label: t(Wi.value),
1198
+ node: Wi.value
1199
+ }] : [], ...Gi.value.map((e) => ({
1200
+ value: Zi(e),
1201
+ label: `${Ji(e.display_order)}. ${t(e)}`,
1199
1202
  node: e
1200
1203
  }))]), r = (e) => n.value.find((t) => t.value === String(e))?.node ?? null;
1201
1204
  function i(e) {
1202
1205
  return (r(e)?.sub_themes ?? []).map((e, n) => ({
1203
- value: Yi(e),
1206
+ value: Zi(e),
1204
1207
  label: `${n + 1}. ${t(e)}`,
1205
1208
  node: e
1206
1209
  }));
@@ -1208,8 +1211,8 @@ function Xi(e) {
1208
1211
  function a(e) {
1209
1212
  let t = /* @__PURE__ */ new Set();
1210
1213
  if (!e) return t;
1211
- for (let n of Ji.itemsUnder(e.id)) {
1212
- let e = Gi(Wi.value.get(n));
1214
+ for (let n of Xi.itemsUnder(e.id)) {
1215
+ let e = qi(Ki.value.get(n));
1213
1216
  e && t.add(e.id);
1214
1217
  }
1215
1218
  return t;
@@ -1227,39 +1230,39 @@ function Xi(e) {
1227
1230
  };
1228
1231
  }
1229
1232
  // src/dxa/exhibition/CollectionResults.vue
1230
- var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi = { class: "mwnf-dxa-gallery-results__info" }, $i = { class: "mwnf-dxa-gallery-results__choices" }, ea = {
1233
+ var $i = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, ea = { class: "mwnf-dxa-gallery-results__info" }, ta = { class: "mwnf-dxa-gallery-results__choices" }, na = {
1231
1234
  key: 1,
1232
1235
  class: "mwnf-dxa-gallery-results__end"
1233
- }, ta = ["aria-label", "aria-expanded"], na = ["viewBox"], ra = ["d"], ia = { class: "mwnf-dxa-exhibition-results__refine" }, aa = ["aria-label"], oa = ["viewBox"], sa = ["d"], ca = {
1236
+ }, ra = ["aria-label", "aria-expanded"], ia = ["viewBox"], aa = ["d"], oa = { class: "mwnf-dxa-exhibition-results__refine" }, sa = ["aria-label"], ca = ["viewBox"], la = ["d"], ua = {
1234
1237
  key: 1,
1235
1238
  class: "mwnf-dxa-exhibition-results__themes"
1236
- }, la = { class: "mwnf-dxa-options-label" }, ua = { class: "mwnf-dxa-exhibition-results__theme-selects" }, da = [
1239
+ }, da = { class: "mwnf-dxa-options-label" }, fa = { class: "mwnf-dxa-exhibition-results__theme-selects" }, pa = [
1237
1240
  "aria-label",
1238
1241
  "value",
1239
1242
  "disabled",
1240
1243
  "onChange"
1241
- ], fa = {
1244
+ ], ma = {
1242
1245
  disabled: "",
1243
1246
  value: ""
1244
- }, pa = { value: "all" }, ma = ["value"], ha = [
1247
+ }, ha = { value: "all" }, ga = ["value"], _a = [
1245
1248
  "aria-label",
1246
1249
  "value",
1247
1250
  "disabled",
1248
1251
  "onChange"
1249
- ], ga = {
1252
+ ], va = {
1250
1253
  disabled: "",
1251
1254
  value: ""
1252
- }, _a = ["value"], va = [
1255
+ }, ya = ["value"], ba = [
1253
1256
  "aria-label",
1254
1257
  "disabled",
1255
1258
  "onChange"
1256
- ], ya = {
1259
+ ], xa = {
1257
1260
  disabled: "",
1258
1261
  value: ""
1259
- }, ba = { value: "all" }, xa = ["value"], Sa = { class: "mwnf-dxa-date-wrapper" }, Ca = {
1262
+ }, Sa = { value: "all" }, Ca = ["value"], wa = { class: "mwnf-dxa-date-wrapper" }, Ta = {
1260
1263
  __name: "CollectionResults",
1261
1264
  setup(t) {
1262
- let { t: n, locale: r } = p(), { themeOptions: i, subThemeOptions: a, scopeFor: o } = Xi(r), s = {
1265
+ let { t: n, locale: r } = p(), { themeOptions: i, subThemeOptions: a, scopeFor: o } = Qi(r), s = {
1263
1266
  viewBox: "0 0 512 512",
1264
1267
  path: "M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"
1265
1268
  }, c = {
@@ -1279,9 +1282,9 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1279
1282
  }, g = ["type", "material"], _ = {
1280
1283
  "catalogue.era.ad": "exhibition.era.ad",
1281
1284
  "catalogue.era.bc": "exhibition.era.bc"
1282
- }, y = (e) => n(_[e] ?? e), E = x(() => v(it.value ?? [], y)), k = x(() => G.value.size), A = {
1285
+ }, y = (e) => n(_[e] ?? e), E = x(() => v(it.value ?? [], y)), k = x(() => mt.value.size), A = {
1283
1286
  ...dt,
1284
- ...Ct,
1287
+ ...wt,
1285
1288
  keys: [
1286
1289
  ...dt.keys,
1287
1290
  "theme",
@@ -1318,13 +1321,13 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1318
1321
  subtheme: n
1319
1322
  });
1320
1323
  }
1321
- return (t, r) => (N(), w("div", Zi, [O(q, {
1324
+ return (t, r) => (N(), w("div", $i, [O(q, {
1322
1325
  spec: A,
1323
1326
  class: "mwnf-dxa-collection-results"
1324
1327
  }, {
1325
1328
  before: R(({ filters: e, options: r, matching: i, pageInfo: a }) => [
1326
1329
  O(B),
1327
- T("div", Qi, [T("p", null, [D(I(L(n)("exhibition.collection.heading")) + " | ", 1), T("span", $i, I(te(e, r, i)), 1)]), T("p", null, I(a.total) + " " + I(L(n)("exhibition.collection.resultsOutOf")) + " " + I(k.value) + " " + I(L(n)("exhibition.collection.items")), 1)]),
1330
+ T("div", ea, [T("p", null, [D(I(L(n)("exhibition.collection.heading")) + " | ", 1), T("span", ta, I(te(e, r, i)), 1)]), T("p", null, I(a.total) + " " + I(L(n)("exhibition.collection.resultsOutOf")) + " " + I(k.value) + " " + I(L(n)("exhibition.collection.items")), 1)]),
1328
1331
  O(Q, {
1329
1332
  class: "mwnf-dxa-exhibition-pages--top",
1330
1333
  "page-info": a,
@@ -1345,7 +1348,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1345
1348
  key: 0,
1346
1349
  "page-info": e,
1347
1350
  onNavigate: t
1348
- }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", ea))]),
1351
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", na))]),
1349
1352
  aside: R(({ filters: e, apply: t, reset: o, matching: l, options: d }) => [u.value ? (N(), w("button", {
1350
1353
  key: 0,
1351
1354
  type: "button",
@@ -1357,7 +1360,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1357
1360
  viewBox: s.viewBox,
1358
1361
  "aria-hidden": "true",
1359
1362
  focusable: "false"
1360
- }, [T("path", { d: s.path }, null, 8, ra)], 8, na))], 8, ta)) : C("", !0), z(T("div", ia, [
1363
+ }, [T("path", { d: s.path }, null, 8, aa)], 8, ia))], 8, ra)) : C("", !0), z(T("div", oa, [
1361
1364
  u.value && f.value ? (N(), w("button", {
1362
1365
  key: 0,
1363
1366
  type: "button",
@@ -1368,31 +1371,31 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1368
1371
  viewBox: c.viewBox,
1369
1372
  "aria-hidden": "true",
1370
1373
  focusable: "false"
1371
- }, [T("path", { d: c.path }, null, 8, sa)], 8, oa))], 8, aa)) : C("", !0),
1372
- M(e) ? C("", !0) : (N(), w("div", ca, [T("div", la, I(L(n)("exhibition.collection.filterByTheme")), 1), T("div", ua, [T("select", {
1374
+ }, [T("path", { d: c.path }, null, 8, la)], 8, ca))], 8, sa)) : C("", !0),
1375
+ M(e) ? C("", !0) : (N(), w("div", ua, [T("div", da, I(L(n)("exhibition.collection.filterByTheme")), 1), T("div", fa, [T("select", {
1373
1376
  class: "mwnf-facet__select",
1374
1377
  "aria-label": L(n)("exhibition.collection.selectTheme"),
1375
1378
  value: e.theme || "",
1376
1379
  disabled: !l.length,
1377
1380
  onChange: (e) => ne(t, o, e.target.value)
1378
1381
  }, [
1379
- T("option", fa, I(L(n)("exhibition.collection.selectTheme")), 1),
1380
- T("option", pa, I(L(n)("exhibition.collection.allThemes")), 1),
1382
+ T("option", ma, I(L(n)("exhibition.collection.selectTheme")), 1),
1383
+ T("option", ha, I(L(n)("exhibition.collection.allThemes")), 1),
1381
1384
  (N(!0), w(b, null, F(L(i), (e) => (N(), w("option", {
1382
1385
  key: e.value,
1383
1386
  value: e.value
1384
- }, I(e.label), 9, ma))), 128))
1385
- ], 40, da), e.theme && L(a)(e.theme).length ? (N(), w("select", {
1387
+ }, I(e.label), 9, ga))), 128))
1388
+ ], 40, pa), e.theme && L(a)(e.theme).length ? (N(), w("select", {
1386
1389
  key: 0,
1387
1390
  class: "mwnf-facet__select",
1388
1391
  "aria-label": L(n)("exhibition.themeGallery.select"),
1389
1392
  value: e.subtheme || "",
1390
1393
  disabled: !l.length,
1391
1394
  onChange: (n) => re(t, e, n.target.value)
1392
- }, [T("option", ga, I(L(n)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(L(a)(e.theme), (e) => (N(), w("option", {
1395
+ }, [T("option", va, I(L(n)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(L(a)(e.theme), (e) => (N(), w("option", {
1393
1396
  key: e.value,
1394
1397
  value: e.value
1395
- }, I(e.label), 9, _a))), 128))], 40, ha)) : C("", !0)])])),
1398
+ }, I(e.label), 9, ya))), 128))], 40, _a)) : C("", !0)])])),
1396
1399
  O(fe, {
1397
1400
  mode: "immediate",
1398
1401
  title: M(e) ? L(n)("exhibition.collection.filterBy") : L(n)("exhibition.collection.filterFurtherBy"),
@@ -1409,13 +1412,13 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1409
1412
  disabled: !l.length,
1410
1413
  onChange: (e) => ne(t, o, e.target.value)
1411
1414
  }, [
1412
- T("option", ya, I(L(n)("exhibition.collection.selectTheme")), 1),
1413
- T("option", ba, I(L(n)("exhibition.collection.allThemes")), 1),
1415
+ T("option", xa, I(L(n)("exhibition.collection.selectTheme")), 1),
1416
+ T("option", Sa, I(L(n)("exhibition.collection.allThemes")), 1),
1414
1417
  (N(!0), w(b, null, F(L(i), (e) => (N(), w("option", {
1415
1418
  key: e.value,
1416
1419
  value: e.value
1417
- }, I(e.label), 9, xa))), 128))
1418
- ], 40, va)) : C("", !0),
1420
+ }, I(e.label), 9, Ca))), 128))
1421
+ ], 40, ba)) : C("", !0),
1419
1422
  O(H, {
1420
1423
  "model-value": e.country,
1421
1424
  options: d.country,
@@ -1440,7 +1443,7 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1440
1443
  "placeholder",
1441
1444
  "onUpdate:modelValue"
1442
1445
  ])), 64)),
1443
- T("div", Sa, [O(H, {
1446
+ T("div", wa, [O(H, {
1444
1447
  "model-value": e.from,
1445
1448
  options: L(v)(l, y),
1446
1449
  placeholder: L(n)("exhibition.collection.startDate"),
@@ -1473,26 +1476,26 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1473
1476
  _: 1
1474
1477
  })]));
1475
1478
  }
1476
- }, wa = { class: "mwnf-dxa-exhibition-collection" }, Ta = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, Ea = { class: "mwnf-dxa-exhibition-collection__label" }, Da = { class: "mwnf-dxa-exhibition-collection__selects" }, Oa = ["aria-label"], ka = {
1479
+ }, Ea = { class: "mwnf-dxa-exhibition-collection" }, Da = { class: "mwnf-dxa-exhibition-collection__dropdowns" }, Oa = { class: "mwnf-dxa-exhibition-collection__label" }, ka = { class: "mwnf-dxa-exhibition-collection__selects" }, Aa = ["aria-label"], ja = {
1477
1480
  selected: "",
1478
1481
  disabled: "",
1479
1482
  value: ""
1480
- }, Aa = { value: "all" }, ja = ["value"], Ma = ["aria-label", "onChange"], Na = {
1483
+ }, Ma = { value: "all" }, Na = ["value"], Pa = ["aria-label", "onChange"], Fa = {
1481
1484
  selected: "",
1482
1485
  disabled: "",
1483
1486
  value: ""
1484
- }, Pa = ["value"], Fa = { class: "mwnf-dxa-exhibition-collection__dates" }, Ia = ["aria-label"], La = {
1487
+ }, Ia = ["value"], La = { class: "mwnf-dxa-exhibition-collection__dates" }, Ra = ["aria-label"], za = {
1485
1488
  selected: "",
1486
1489
  disabled: "",
1487
1490
  value: ""
1488
- }, Ra = ["value"], za = ["aria-label"], Ba = {
1491
+ }, Ba = ["value"], Va = ["aria-label"], Ha = {
1489
1492
  selected: "",
1490
1493
  disabled: "",
1491
1494
  value: ""
1492
- }, Va = ["value"], Ha = {
1495
+ }, Ua = ["value"], Wa = {
1493
1496
  __name: "CollectionSearch",
1494
1497
  setup(t) {
1495
- let n = Et(), { t: r, locale: i } = p(), { themeOptions: a } = Xi(i), o = f(it, yt), s = x(() => [
1498
+ let n = Dt(), { t: r, locale: i } = p(), { themeOptions: a } = Qi(i), o = f(it, bt), s = x(() => [
1496
1499
  {
1497
1500
  key: "country",
1498
1501
  name: "exhibition.collection.selectCountry",
@@ -1518,59 +1521,59 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1518
1521
  query: { [e]: String(t) }
1519
1522
  }));
1520
1523
  }
1521
- return (t, n) => (N(), w("div", wa, [T("div", Ta, [T("div", Ea, I(L(r)("exhibition.collection.filterBy")), 1), T("div", Da, [
1524
+ return (t, n) => (N(), w("div", Ea, [T("div", Da, [T("div", Oa, I(L(r)("exhibition.collection.filterBy")), 1), T("div", ka, [
1522
1525
  T("select", {
1523
1526
  class: "mwnf-dxa-exhibition-collection__select",
1524
1527
  "aria-label": L(r)("exhibition.collection.selectTheme"),
1525
1528
  onChange: n[0] ||= (e) => d("theme", e.target.value)
1526
1529
  }, [
1527
- T("option", ka, I(L(r)("exhibition.collection.selectTheme")), 1),
1528
- T("option", Aa, I(L(r)("exhibition.collection.allThemes")), 1),
1530
+ T("option", ja, I(L(r)("exhibition.collection.selectTheme")), 1),
1531
+ T("option", Ma, I(L(r)("exhibition.collection.allThemes")), 1),
1529
1532
  (N(!0), w(b, null, F(L(a), (e) => (N(), w("option", {
1530
1533
  key: e.value,
1531
1534
  value: e.value
1532
- }, I(e.label), 9, ja))), 128))
1533
- ], 40, Oa),
1535
+ }, I(e.label), 9, Na))), 128))
1536
+ ], 40, Aa),
1534
1537
  (N(!0), w(b, null, F(s.value, (e) => (N(), w("select", {
1535
1538
  key: e.key,
1536
1539
  class: "mwnf-dxa-exhibition-collection__select",
1537
1540
  "aria-label": L(r)(e.name),
1538
1541
  onChange: (t) => d(e.key, t.target.value)
1539
- }, [T("option", Na, I(L(r)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
1542
+ }, [T("option", Fa, I(L(r)(e.name)), 1), (N(!0), w(b, null, F(e.options, (e) => (N(), w("option", {
1540
1543
  key: e.value,
1541
1544
  value: String(e.value)
1542
- }, I(e.label), 9, Pa))), 128))], 40, Ma))), 128)),
1543
- T("div", Fa, [T("select", {
1545
+ }, I(e.label), 9, Ia))), 128))], 40, Pa))), 128)),
1546
+ T("div", La, [T("select", {
1544
1547
  class: "mwnf-dxa-exhibition-collection__select",
1545
1548
  "aria-label": L(r)("exhibition.collection.startDate"),
1546
1549
  onChange: n[1] ||= (e) => d("from", e.target.value)
1547
- }, [T("option", La, I(L(r)("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1550
+ }, [T("option", za, I(L(r)("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1548
1551
  key: e.value,
1549
1552
  value: String(e.value)
1550
- }, I(e.label), 9, Ra))), 128))], 40, Ia), T("select", {
1553
+ }, I(e.label), 9, Ba))), 128))], 40, Ra), T("select", {
1551
1554
  class: "mwnf-dxa-exhibition-collection__select",
1552
1555
  "aria-label": L(r)("exhibition.collection.endDate"),
1553
1556
  onChange: n[2] ||= (e) => d("to", e.target.value)
1554
- }, [T("option", Ba, I(L(r)("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1557
+ }, [T("option", Ha, I(L(r)("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(u.value, (e) => (N(), w("option", {
1555
1558
  key: e.value,
1556
1559
  value: String(e.value)
1557
- }, I(e.label), 9, Va))), 128))], 40, za)])
1560
+ }, I(e.label), 9, Ua))), 128))], 40, Va)])
1558
1561
  ])]), O(L(e), {
1559
1562
  class: "mwnf-dxa-exhibition-collection__description mwnf-prose",
1560
1563
  dir: "auto",
1561
1564
  keypath: "exhibition.collection.intro"
1562
1565
  })]));
1563
1566
  }
1564
- }, Ua = {
1567
+ }, Ga = {
1565
1568
  key: 0,
1566
1569
  class: "mwnf-dxa-exhibition-partner-objects"
1567
- }, Wa = {
1570
+ }, Ka = {
1568
1571
  key: 0,
1569
1572
  class: "mwnf-dxa-exhibition-partner-objects__header"
1570
- }, Ga = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Ka = { class: "mwnf-dxa-exhibition-partner-objects__place" }, qa = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Ja = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Ya = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Xa = {
1573
+ }, qa = { class: "mwnf-dxa-exhibition-partner-objects__name" }, Ja = { class: "mwnf-dxa-exhibition-partner-objects__place" }, Ya = { class: "mwnf-dxa-exhibition-partner-objects__content" }, Xa = { class: "mwnf-dxa-exhibition-partner-objects__grid" }, Za = { class: "mwnf-dxa-exhibition-partner-objects__profile" }, Qa = {
1571
1574
  key: 1,
1572
1575
  class: "mwnf-dxa-exhibition-partner-objects__end"
1573
- }, Za = {
1576
+ }, $a = {
1574
1577
  __name: "PartnerObjects",
1575
1578
  props: {
1576
1579
  variant: {
@@ -1586,40 +1589,40 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1586
1589
  let n = t, r = x(() => n.variant === "institution"), i = Y(), a = x(() => $e(i.params.id)), o = x(() => ({
1587
1590
  entity: "items",
1588
1591
  scope: (e) => e.partner_id === a.value?.id,
1589
- ...Ct,
1592
+ ...wt,
1590
1593
  summary: () => [],
1591
1594
  record: ot
1592
1595
  }));
1593
1596
  function s(e) {
1594
1597
  let t = e[0];
1595
1598
  if (!t) return null;
1596
- let n = Qe("items", t.id, vt);
1599
+ let n = U("items", t.id, yt);
1597
1600
  return {
1598
1601
  name: K("partners", a.value?.id),
1599
1602
  place: [n.location, K("countries", t.country_id)].filter(Boolean).join(", ")
1600
1603
  };
1601
1604
  }
1602
- return (n, i) => a.value ? (N(), w("div", Ua, [O(q, {
1605
+ return (n, i) => a.value ? (N(), w("div", Ga, [O(q, {
1603
1606
  spec: o.value,
1604
1607
  class: "mwnf-dxa-partner-objects"
1605
1608
  }, {
1606
1609
  before: R(({ matching: e, pageInfo: t, goToPage: n }) => [
1607
1610
  O(B),
1608
- s(e) ? (N(), w("div", Wa, [T("p", Ga, I(s(e).name), 1), T("p", Ka, I(s(e).place), 1)])) : C("", !0),
1611
+ s(e) ? (N(), w("div", Ka, [T("p", qa, I(s(e).name), 1), T("p", Ja, I(s(e).place), 1)])) : C("", !0),
1609
1612
  O(Q, {
1610
1613
  class: "mwnf-dxa-exhibition-pages--top",
1611
1614
  "page-info": t,
1612
1615
  onNavigate: n
1613
1616
  }, null, 8, ["page-info", "onNavigate"])
1614
1617
  ]),
1615
- records: R(({ rows: o }) => [T("div", qa, [T("div", Ja, [o.length ? (N(), S($, {
1618
+ records: R(({ rows: o }) => [T("div", Ya, [T("div", Xa, [o.length ? (N(), S($, {
1616
1619
  key: 0,
1617
1620
  rows: o,
1618
1621
  family: "exhibition"
1619
1622
  }, null, 8, ["rows"])) : (N(), S(L(e), {
1620
1623
  key: 1,
1621
1624
  keypath: r.value ? t.texts.emptyInstitution : t.texts.emptyPartner
1622
- }, null, 8, ["keypath"]))]), T("div", Ya, [O(L(J), { to: L(Xe)(a.value) }, {
1625
+ }, null, 8, ["keypath"]))]), T("div", Za, [O(L(J), { to: L(Ze)(a.value) }, {
1623
1626
  default: R(() => [i[0] ||= T("span", { "aria-hidden": "true" }, "➦", -1), D(" " + I(n.$t(r.value ? t.texts.institutionProfileLabel : t.texts.partnerProfileLabel)), 1)]),
1624
1627
  _: 1
1625
1628
  }, 8, ["to"])])])]),
@@ -1628,18 +1631,18 @@ var Zi = { class: "mwnf-dxa-gallery-results mwnf-dxa-exhibition-results" }, Qi =
1628
1631
  key: 0,
1629
1632
  "page-info": e,
1630
1633
  onNavigate: t
1631
- }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Xa))]),
1634
+ }, null, 8, ["page-info", "onNavigate"])) : (N(), w("div", Qa))]),
1632
1635
  _: 1
1633
1636
  }, 8, ["spec"])])) : C("", !0);
1634
1637
  }
1635
- }, Qa = () => Promise.resolve().then(() => fs), $a = () => Promise.resolve().then(() => xs), eo = () => Promise.resolve().then(() => Cs), to = () => Promise.resolve().then(() => zs), no = () => Promise.resolve().then(() => Hs), ro = () => Promise.resolve().then(() => Gs), io = () => import("./Theme-BUfsZDdm.js").then((e) => e.t), ao = () => Promise.resolve().then(() => lc), oo = () => Promise.resolve().then(() => Oc), so = () => Promise.resolve().then(() => Ac), co = () => Promise.resolve().then(() => Kc), lo = {
1638
+ }, eo = () => Promise.resolve().then(() => hs), to = () => Promise.resolve().then(() => ws), no = () => Promise.resolve().then(() => Es), ro = () => Promise.resolve().then(() => Hs), io = () => Promise.resolve().then(() => Gs), ao = () => Promise.resolve().then(() => Js), oo = () => import("./Theme-BUfsZDdm.js").then((e) => e.t), so = () => Promise.resolve().then(() => fc), co = () => Promise.resolve().then(() => jc), lo = () => Promise.resolve().then(() => Nc), uo = () => Promise.resolve().then(() => Yc), fo = {
1636
1639
  emptyPartner: "exhibition.partnerObjects.emptyPartner",
1637
1640
  emptyInstitution: "exhibition.partnerObjects.emptyInstitution",
1638
1641
  institutionSummary: "exhibition.partner.monumentsInExhibition",
1639
1642
  partnerProfileLabel: "partner.action.partnerProfile",
1640
1643
  institutionProfileLabel: "exhibition.partnerObjects.institutionProfile"
1641
1644
  };
1642
- function uo(e) {
1645
+ function po(e) {
1643
1646
  let t = u([
1644
1647
  "gallery",
1645
1648
  "items",
@@ -1651,104 +1654,104 @@ function uo(e) {
1651
1654
  {
1652
1655
  path: "/",
1653
1656
  name: "home",
1654
- component: Qa,
1657
+ component: eo,
1655
1658
  meta: t("home")
1656
1659
  },
1657
1660
  {
1658
1661
  path: "/item/:id",
1659
1662
  name: "item",
1660
- component: $a,
1663
+ component: to,
1661
1664
  props: (e) => ({ id: String(e.params.id) }),
1662
1665
  meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
1663
1666
  },
1664
1667
  {
1665
1668
  path: "/timeline",
1666
1669
  name: "timeline",
1667
- component: eo,
1670
+ component: no,
1668
1671
  meta: t("timeline", "timelines", "timeline_events")
1669
1672
  }
1670
1673
  ] : [],
1671
1674
  {
1672
1675
  path: "/search",
1673
1676
  name: "search-results",
1674
- component: Bn,
1677
+ component: Hn,
1675
1678
  meta: t("database")
1676
1679
  },
1677
1680
  {
1678
1681
  path: "/how-to-search",
1679
1682
  name: "search-how-to",
1680
- component: Yt,
1683
+ component: Xt,
1681
1684
  meta: t("database")
1682
1685
  },
1683
1686
  {
1684
1687
  path: "/partners",
1685
1688
  name: "partners",
1686
- component: hn,
1689
+ component: _n,
1687
1690
  meta: t("partners")
1688
1691
  },
1689
1692
  {
1690
1693
  path: "/partner/:id",
1691
1694
  name: "partner",
1692
- component: Ut,
1695
+ component: Wt,
1693
1696
  props: (e) => ({
1694
1697
  id: String(e.params.id),
1695
- family: Ke
1698
+ family: Ce
1696
1699
  }),
1697
1700
  meta: t("partners", "languages")
1698
1701
  },
1699
1702
  {
1700
1703
  path: "/partner/:id/objects",
1701
1704
  name: "partner-objects",
1702
- component: xr,
1705
+ component: Cr,
1703
1706
  meta: t("partners")
1704
1707
  },
1705
1708
  {
1706
1709
  path: "/timeline-results",
1707
1710
  name: "timeline-results",
1708
- component: Vn,
1711
+ component: Un,
1709
1712
  meta: t("timeline", "timelines", "timeline_events")
1710
1713
  },
1711
1714
  {
1712
1715
  path: "/timeline/gallery",
1713
1716
  name: "timeline-gallery",
1714
- component: Wn,
1717
+ component: Kn,
1715
1718
  meta: t("timeline", "timelines", "timeline_events")
1716
1719
  },
1717
1720
  {
1718
1721
  path: "/about",
1719
1722
  name: "about",
1720
- component: Gt,
1723
+ component: Kt,
1721
1724
  meta: t("about")
1722
1725
  },
1723
1726
  {
1724
1727
  path: "/credits",
1725
1728
  name: "credits",
1726
- component: Kt,
1729
+ component: qt,
1727
1730
  props: { bodyKey: n },
1728
1731
  meta: t("credits")
1729
1732
  },
1730
1733
  {
1731
1734
  path: "/collection",
1732
1735
  name: "collection",
1733
- component: hr,
1736
+ component: _r,
1734
1737
  meta: t("collection", "tags")
1735
1738
  },
1736
1739
  {
1737
1740
  path: "/collection-results",
1738
1741
  name: "collection-results",
1739
- component: $n,
1742
+ component: tr,
1740
1743
  meta: t("collection", "tags", "timelines")
1741
1744
  }
1742
1745
  ];
1743
1746
  }
1744
- function fo(e) {
1747
+ function mo(e) {
1745
1748
  let t = u([
1746
1749
  "exhibition",
1747
1750
  "items",
1748
1751
  "partners",
1749
1752
  "countries"
1750
1753
  ]), n = {
1751
- ...lo,
1754
+ ...fo,
1752
1755
  ...e.partnerObjects
1753
1756
  };
1754
1757
  return [
@@ -1756,56 +1759,56 @@ function fo(e) {
1756
1759
  {
1757
1760
  path: "/",
1758
1761
  name: "home",
1759
- component: to,
1762
+ component: ro,
1760
1763
  meta: t("home")
1761
1764
  },
1762
1765
  {
1763
1766
  path: "/about",
1764
1767
  name: "about",
1765
- component: no,
1768
+ component: io,
1766
1769
  meta: t("about", "themes", "glossary", "dynasties")
1767
1770
  },
1768
1771
  {
1769
1772
  path: "/themes",
1770
1773
  name: "themes",
1771
- component: ro,
1774
+ component: ao,
1772
1775
  meta: t("themes", "themes")
1773
1776
  },
1774
1777
  {
1775
1778
  path: "/theme/:id/:subtheme?/:image?",
1776
1779
  name: "theme",
1777
- component: io,
1780
+ component: oo,
1778
1781
  meta: t("themes", "themes", "glossary", "dynasties")
1779
1782
  },
1780
1783
  {
1781
1784
  path: "/theme-gallery/:id/:subtheme?",
1782
1785
  name: "theme-gallery",
1783
- component: ao,
1786
+ component: so,
1784
1787
  meta: t("themes", "themes")
1785
1788
  },
1786
1789
  {
1787
1790
  path: "/item/:id",
1788
1791
  name: "item",
1789
- component: oo,
1792
+ component: co,
1790
1793
  props: (e) => ({ id: String(e.params.id) }),
1791
1794
  meta: t("database", "languages", "dynasties", "glossary", "timelines", "timeline_events")
1792
1795
  },
1793
1796
  {
1794
1797
  path: "/related",
1795
1798
  name: "related",
1796
- component: so,
1799
+ component: lo,
1797
1800
  meta: t("related", "related_content")
1798
1801
  },
1799
1802
  {
1800
1803
  path: "/timeline",
1801
1804
  name: "timeline",
1802
- component: co,
1805
+ component: uo,
1803
1806
  meta: t("timeline", "timelines", "timeline_events")
1804
1807
  },
1805
1808
  ...e.creditsBody ? [{
1806
1809
  path: "/credits",
1807
1810
  name: "credits",
1808
- component: Jt,
1811
+ component: Yt,
1809
1812
  props: { bodyKey: e.creditsBody },
1810
1813
  meta: t("credits")
1811
1814
  }] : []
@@ -1813,45 +1816,45 @@ function fo(e) {
1813
1816
  {
1814
1817
  path: "/search",
1815
1818
  name: "search-results",
1816
- component: oi,
1819
+ component: ci,
1817
1820
  meta: t("database")
1818
1821
  },
1819
1822
  {
1820
1823
  path: "/how-to-search",
1821
1824
  name: "search-how-to",
1822
- component: Cr,
1825
+ component: Tr,
1823
1826
  meta: t("database")
1824
1827
  },
1825
1828
  {
1826
1829
  path: "/partners",
1827
1830
  name: "partners",
1828
- component: Lr,
1831
+ component: zr,
1829
1832
  meta: t("partners")
1830
1833
  },
1831
1834
  {
1832
1835
  path: "/partner/:id",
1833
1836
  name: "partner",
1834
- component: Ut,
1837
+ component: Wt,
1835
1838
  props: (e) => ({
1836
1839
  id: String(e.params.id),
1837
- family: Ye
1840
+ family: Xe
1838
1841
  }),
1839
1842
  meta: t("partners", "languages")
1840
1843
  },
1841
1844
  {
1842
1845
  path: "/partner/:id/objects",
1843
1846
  name: "partner-objects",
1844
- component: Za,
1847
+ component: $a,
1845
1848
  props: { texts: n },
1846
1849
  meta: t("partners")
1847
1850
  },
1848
1851
  {
1849
1852
  path: "/institution/:id",
1850
1853
  name: "institution",
1851
- component: Ut,
1854
+ component: Wt,
1852
1855
  props: (e) => ({
1853
1856
  id: String(e.params.id),
1854
- family: Ye,
1857
+ family: Xe,
1855
1858
  variant: "institution"
1856
1859
  }),
1857
1860
  meta: t("partners", "languages")
@@ -1859,7 +1862,7 @@ function fo(e) {
1859
1862
  {
1860
1863
  path: "/institution/:id/monuments",
1861
1864
  name: "institution-monuments",
1862
- component: Za,
1865
+ component: $a,
1863
1866
  props: {
1864
1867
  variant: "institution",
1865
1868
  texts: n
@@ -1869,36 +1872,36 @@ function fo(e) {
1869
1872
  {
1870
1873
  path: "/timeline-results",
1871
1874
  name: "timeline-results",
1872
- component: Pi,
1875
+ component: Ii,
1873
1876
  meta: t("timeline", "timelines", "timeline_events")
1874
1877
  },
1875
1878
  {
1876
1879
  path: "/timeline/gallery",
1877
1880
  name: "timeline-gallery",
1878
- component: Vi,
1881
+ component: Ui,
1879
1882
  meta: t("timeline", "timelines", "timeline_events")
1880
1883
  },
1881
1884
  {
1882
1885
  path: "/collection",
1883
1886
  name: "collection",
1884
- component: Ha,
1887
+ component: Wa,
1885
1888
  meta: t("collection", "tags", "themes")
1886
1889
  },
1887
1890
  {
1888
1891
  path: "/collection-results",
1889
1892
  name: "collection-results",
1890
- component: Ca,
1893
+ component: Ta,
1891
1894
  meta: t("collection", "tags", "timelines", "themes")
1892
1895
  }
1893
1896
  ];
1894
1897
  }
1895
- function po(e, t = {}) {
1896
- if (e === "gallery") return uo(t);
1897
- if (e === "exhibition") return fo(t);
1898
+ function ho(e, t = {}) {
1899
+ if (e === "gallery") return po(t);
1900
+ if (e === "exhibition") return mo(t);
1898
1901
  throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
1899
1902
  }
1900
1903
  // node_modules/@museumwnf/viewer-core/src/legacy/index.js
1901
- function mo(e, t = []) {
1904
+ function go(e, t = []) {
1902
1905
  let n = String(e?.backward_compatibility ?? "").split(":");
1903
1906
  if (n[0] === "mwnf3_sharing_history") {
1904
1907
  let t = n[2] ?? e?.id ?? "";
@@ -1917,18 +1920,18 @@ function mo(e, t = []) {
1917
1920
  countryCode: r?.code ?? ""
1918
1921
  };
1919
1922
  }
1920
- function ho(e, t, n, r) {
1923
+ function _o(e, t, n, r) {
1921
1924
  return (e ?? []).find((e) => {
1922
- let i = mo(e, t);
1925
+ let i = go(e, t);
1923
1926
  return i.legacyId === r && i.countryCode === n;
1924
1927
  }) ?? null;
1925
1928
  }
1926
- function go(e, t) {
1929
+ function vo(e, t) {
1927
1930
  let n = String(t ?? "").split("/").join(":").toLowerCase();
1928
1931
  return (e ?? []).find((e) => e?.backward_compatibility?.toLowerCase() === n) ?? null;
1929
1932
  }
1930
1933
  // src/dxa/gallery/Shell.vue
1931
- var _o = {
1934
+ var yo = {
1932
1935
  __name: "Shell",
1933
1936
  props: {
1934
1937
  language: {
@@ -1946,28 +1949,28 @@ var _o = {
1946
1949
  function f(e) {
1947
1950
  return e?.[a.value] ?? e?.en ?? "";
1948
1951
  }
1949
- let m = x(() => Oe(f));
1952
+ let m = x(() => ke(f));
1950
1953
  function _(e, t) {
1951
1954
  if (!(e in c.value)) return t();
1952
1955
  let n = c.value[e];
1953
1956
  return n ? i(n) : "";
1954
1957
  }
1955
- let v = x(() => u.value ? "" : _("headerEyebrow", () => i("core.project.galleries"))), y = x(() => u.value ? "" : _("headerTitle", () => m.value)), b = x(() => c.value.bannerImage ? jt(o.chrome, c.value.bannerImage) : Me(Ue.value?.banner_image_path, "hi_res")), C = x(() => {
1958
+ let v = x(() => u.value ? "" : _("headerEyebrow", () => i("core.project.galleries"))), y = x(() => u.value ? "" : _("headerTitle", () => m.value)), b = x(() => c.value.bannerImage ? Mt(o.chrome, c.value.bannerImage) : Ne(We.value?.banner_image_path, "hi_res")), C = x(() => {
1956
1959
  if (c.value.bannerCaption) return c.value.bannerCaption;
1957
- let e = ze.value.get(Ue.value?.banner_item_id);
1960
+ let e = Be.value.get(We.value?.banner_item_id);
1958
1961
  if (!e) return "";
1959
- let t = be("items", e.id, Ve);
1962
+ let t = Se("items", e.id, He);
1960
1963
  return {
1961
- name: we("items", e.id),
1962
- partner: we("partners", e.partner_id),
1964
+ name: Te("items", e.id),
1965
+ partner: Te("partners", e.partner_id),
1963
1966
  location: t.location ?? "",
1964
- country: we("countries", e.country_id)
1967
+ country: Te("countries", e.country_id)
1965
1968
  };
1966
1969
  }), w = x(() => u.value ? _("bannerEyebrow", () => i("gallery.banner.discoverGalleries")) : ""), D = x(() => u.value ? _("bannerTitle", () => m.value) : void 0), O = x(() => c.value.notice === !1 ? null : {
1967
1970
  title: i("gallery.notice.tip"),
1968
- text: `${i("gallery.notice.searchThe")} ${Oe(De)} ${i("gallery.notice.database")}`
1969
- }), A = x(() => !!jt(o.chrome, o.brand?.logo));
1970
- return (e, t) => (N(), S(Ot, {
1971
+ text: `${i("gallery.notice.searchThe")} ${ke(Oe)} ${i("gallery.notice.database")}`
1972
+ }), A = x(() => !!Mt(o.chrome, o.brand?.logo));
1973
+ return (e, t) => (N(), S(kt, {
1971
1974
  class: k(["mwnf-dxa-gallery-shell", { "mwnf-dxa-gallery-shell--home": u.value }]),
1972
1975
  languages: n.languages,
1973
1976
  language: n.language,
@@ -2005,10 +2008,10 @@ var _o = {
2005
2008
  "footer-text"
2006
2009
  ]));
2007
2010
  }
2008
- }, vo = {
2011
+ }, bo = {
2009
2012
  key: 0,
2010
2013
  class: "mwnf-popup-logo"
2011
- }, yo = ["aria-label"], bo = ["innerHTML"], xo = ["innerHTML"], So = {
2014
+ }, xo = ["aria-label"], So = ["innerHTML"], Co = ["innerHTML"], wo = {
2012
2015
  __name: "PopupLogo",
2013
2016
  props: {
2014
2017
  content: {
@@ -2030,21 +2033,21 @@ var _o = {
2030
2033
  },
2031
2034
  setup(e) {
2032
2035
  let t = e, n = P(!1), r = x(() => t.rawHtml ? t.content : c(t.content)), i = x(() => t.enabled && !!t.content && !n.value);
2033
- return (t, a) => i.value ? (N(), w("div", vo, [T("button", {
2036
+ return (t, a) => i.value ? (N(), w("div", bo, [T("button", {
2034
2037
  class: "mwnf-popup-logo__close",
2035
2038
  "aria-label": t.$t(e.closeLabel),
2036
2039
  onClick: a[0] ||= (e) => n.value = !0
2037
- }, "✕", 8, yo), e.rawHtml ? (N(), w("div", {
2040
+ }, "✕", 8, xo), e.rawHtml ? (N(), w("div", {
2038
2041
  key: 0,
2039
2042
  class: "mwnf-popup-logo__content",
2040
2043
  innerHTML: r.value
2041
- }, null, 8, bo)) : (N(), w("div", {
2044
+ }, null, 8, So)) : (N(), w("div", {
2042
2045
  key: 1,
2043
2046
  class: "mwnf-popup-logo__content",
2044
2047
  innerHTML: r.value
2045
- }, null, 8, xo))])) : C("", !0);
2048
+ }, null, 8, Co))])) : C("", !0);
2046
2049
  }
2047
- }, Co = {
2050
+ }, To = {
2048
2051
  __name: "Shell",
2049
2052
  props: {
2050
2053
  language: {
@@ -2058,19 +2061,19 @@ var _o = {
2058
2061
  },
2059
2062
  emits: ["update:language"],
2060
2063
  setup(e, { emit: t }) {
2061
- let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => !!jt(o.chrome, o.brand?.logo)), l = h(), u = x(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = x(() => o.exhibition ?? {});
2064
+ let n = e, r = t, { t: i, locale: a } = p(), o = g(), s = x(() => o.links ?? {}), c = x(() => !!Mt(o.chrome, o.brand?.logo)), l = h(), u = x(() => l.value === "home"), d = (/* @__PURE__ */ new Date()).getFullYear(), f = x(() => o.exhibition ?? {});
2062
2065
  function m(e) {
2063
2066
  return e ? {
2064
- image: jt(o.chrome, e.image) ?? G.value.get(e.item)?.images?.[0]?.url ?? "",
2067
+ image: Mt(o.chrome, e.image) ?? mt.value.get(e.item)?.images?.[0]?.url ?? "",
2065
2068
  itemId: e.item ?? null
2066
2069
  } : null;
2067
2070
  }
2068
- let _ = x(() => f.value.home === void 0 ? U.value?.homepage_image_path ? {
2069
- image: _t(U.value.homepage_image_path, "hi_res"),
2070
- itemId: U.value?.homepage_item_id
2071
+ let _ = x(() => f.value.home === void 0 ? W.value?.homepage_image_path ? {
2072
+ image: vt(W.value.homepage_image_path, "hi_res"),
2073
+ itemId: W.value?.homepage_item_id
2071
2074
  } : null : m(f.value.home)), v = x(() => f.value.banner === void 0 ? {
2072
- image: _t(U.value?.banner_image_path, "hi_res"),
2073
- itemId: U.value?.banner_item_id
2075
+ image: vt(W.value?.banner_image_path, "hi_res"),
2076
+ itemId: W.value?.banner_item_id
2074
2077
  } : m(f.value.banner)), y = x(() => u.value && _.value?.image || null);
2075
2078
  ce(() => {
2076
2079
  if (typeof document > "u") return;
@@ -2078,9 +2081,9 @@ var _o = {
2078
2081
  e ? document.documentElement.style.setProperty("--mwnf-dxa-exhibition-backdrop", `url("${e.replace(/"/g, "%22")}")`) : document.documentElement.style.removeProperty("--mwnf-dxa-exhibition-backdrop");
2079
2082
  });
2080
2083
  let b = x(() => y.value ?? v.value?.image ?? null), C = x(() => {
2081
- let e = y.value ? _.value?.itemId : v.value?.itemId, t = G.value.get(e);
2082
- if (!t) return y.value ? "" : mt(a.value);
2083
- let n = Qe("items", t.id, vt);
2084
+ let e = y.value ? _.value?.itemId : v.value?.itemId, t = mt.value.get(e);
2085
+ if (!t) return y.value ? "" : ht(a.value);
2086
+ let n = U("items", t.id, yt);
2084
2087
  return {
2085
2088
  name: K("items", t.id),
2086
2089
  holder: n.holder ?? "",
@@ -2104,10 +2107,10 @@ var _o = {
2104
2107
  let e = o.sponsorLogos;
2105
2108
  return Array.isArray(e) ? e.map((e) => ({
2106
2109
  ...e,
2107
- image: jt(o.chrome, e.image),
2110
+ image: Mt(o.chrome, e.image),
2108
2111
  alt: e.alt ? i(e.alt) : ""
2109
- })).filter((e) => e.image) : (U.value?.logos ?? []).map((e) => ({
2110
- image: e.legacy_path ? _t(e.legacy_path, "full") : null,
2112
+ })).filter((e) => e.image) : (W.value?.logos ?? []).map((e) => ({
2113
+ image: e.legacy_path ? vt(e.legacy_path, "full") : null,
2111
2114
  alt: D(e),
2112
2115
  href: e.url || void 0,
2113
2116
  category_id: e.category_id,
@@ -2120,20 +2123,20 @@ var _o = {
2120
2123
  let t = o.media?.legacyHost;
2121
2124
  if (!t || !e.startsWith(`${t.replace(/\/+$/, "")}/`)) return null;
2122
2125
  let n = e.slice(t.replace(/\/+$/, "").length + 1).split("/").slice(1).join("/");
2123
- return At(o.chrome, n);
2126
+ return jt(o.chrome, n);
2124
2127
  }
2125
2128
  let j = x(() => f.value.popup), M = x(() => {
2126
2129
  if (j.value !== void 0) {
2127
2130
  let e = j.value?.body, t = e ? i(e) : "";
2128
- return kt(nt(t && t !== e ? t : "", { glossary: [] }), (e) => Mt(o.chrome, e));
2131
+ return At(nt(t && t !== e ? t : "", { glossary: [] }), (e) => Nt(o.chrome, e));
2129
2132
  }
2130
- return kt(nt(U.value?.popup_logos?.[a.value] ?? U.value?.popup_logos?.en ?? "", { glossary: [] }), A);
2133
+ return At(nt(W.value?.popup_logos?.[a.value] ?? W.value?.popup_logos?.en ?? "", { glossary: [] }), A);
2131
2134
  }), ee = x(() => {
2132
2135
  if (j.value !== void 0) return !!j.value?.body;
2133
- let e = U.value?.popup_logo_show;
2136
+ let e = W.value?.popup_logo_show;
2134
2137
  return e == null ? !1 : typeof e == "boolean" ? e : e[a.value] ?? e.en ?? !1;
2135
2138
  });
2136
- return (e, t) => (N(), S(Ot, {
2139
+ return (e, t) => (N(), S(kt, {
2137
2140
  languages: n.languages,
2138
2141
  language: n.language,
2139
2142
  "language-placement": "header",
@@ -2145,7 +2148,7 @@ var _o = {
2145
2148
  "banner-caption": C.value,
2146
2149
  "banner-caption-label": L(i)("layout.banner.detailFrom"),
2147
2150
  "banner-title": u.value ? L(st)(L(a)) : "",
2148
- "banner-subtitle": u.value ? L(bt)(L(a)) : "",
2151
+ "banner-subtitle": u.value ? L(xt)(L(a)) : "",
2149
2152
  "banner-headline": u.value ? L(pt)(L(a)) : "",
2150
2153
  "banner-enter": u.value ? {
2151
2154
  label: L(i)("exhibition.action.enter"),
@@ -2155,13 +2158,13 @@ var _o = {
2155
2158
  "hyperlinks-variant": "tiles",
2156
2159
  "hyperlinks-title": L(st)(L(a)),
2157
2160
  "hyperlinks-title-href": "#/",
2158
- "hyperlinks-subtitle": L(bt)(L(a)),
2161
+ "hyperlinks-subtitle": L(xt)(L(a)),
2159
2162
  hyperlinks: w.value,
2160
2163
  "footer-text": `${L(i)("core.footer.copyright")} 2004–${L(d)}`,
2161
2164
  logos: k.value,
2162
2165
  "onUpdate:language": t[0] ||= (e) => r("update:language", e)
2163
2166
  }, E({
2164
- notice: R(() => [O(So, {
2167
+ notice: R(() => [O(wo, {
2165
2168
  content: M.value,
2166
2169
  enabled: ee.value,
2167
2170
  "raw-html": ""
@@ -2192,41 +2195,53 @@ var _o = {
2192
2195
  "logos"
2193
2196
  ]));
2194
2197
  }
2195
- }, wo = {
2198
+ }, Eo = {
2196
2199
  islamicart: "mwnf-chip--ISLandEPM",
2197
2200
  baroqueart: "mwnf-chip--DBA",
2198
2201
  sharinghistory: "mwnf-chip--AWE",
2199
2202
  carpets: "mwnf-chip--DCA",
2200
2203
  glass: "mwnf-chip--DGA"
2201
- }, To = new Set(t.filter((e) => e.family === "exhibition").map((e) => e.slug));
2202
- function Eo(e) {
2204
+ }, Do = {
2205
+ galleries: "mwnf-chip--Galleries",
2206
+ isl: "mwnf-chip--ISLandEPM",
2207
+ dba: "mwnf-chip--DBA",
2208
+ awe: "mwnf-chip--AWE",
2209
+ dca: "mwnf-chip--DCA",
2210
+ dga: "mwnf-chip--DGA",
2211
+ exh: "mwnf-chip--EXH"
2212
+ }, Oo = new Set(t.filter((e) => e.family === "exhibition").map((e) => e.slug));
2213
+ function ko(e) {
2203
2214
  let t = {};
2204
2215
  for (let [n, r] of Object.entries(e?.projects ?? {})) {
2216
+ if (r && "tone" in r) {
2217
+ Do[r.tone] && (t[n] = Do[r.tone]);
2218
+ continue;
2219
+ }
2205
2220
  if (!r || !("home_site" in r)) continue;
2206
- let e = r.home_site, i = e === null ? "mwnf-chip--Galleries" : wo[e] ?? (To.has(e) ? "mwnf-chip--EXH" : null);
2221
+ let e = r.home_site, i = e === null ? "mwnf-chip--Galleries" : Eo[e] ?? (Oo.has(e) ? "mwnf-chip--EXH" : null);
2207
2222
  i && (t[n] = i);
2208
2223
  }
2209
2224
  return t;
2210
2225
  }
2211
- function Do(e, t) {
2226
+ function Ao(e, t) {
2212
2227
  let n = `exhibition.sponsors.section${Number(t)}`, r = e(n);
2213
2228
  return r && r !== n ? r : null;
2214
2229
  }
2215
- function Oo({ country: e, start: t, end: n, page: r }) {
2230
+ function jo({ country: e, start: t, end: n, page: r }) {
2216
2231
  let i = { country: e };
2217
2232
  return t !== "any" && (i.begin = t), n !== "any" && (i.end = n), Number(r) > 1 && (i.page = r), {
2218
2233
  name: "timeline-gallery",
2219
2234
  query: i
2220
2235
  };
2221
2236
  }
2222
- function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {}, noticeProjects: c = [], creditsBody: l, chrome: u = {}, homeLogos: f = [] }) {
2237
+ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {}, noticeProjects: c = [], creditsBody: l, chrome: u = {}, homeLogos: f = [] }) {
2223
2238
  let { manifest: p } = d(), m = o();
2224
2239
  return {
2225
2240
  datasetPackage: e,
2226
2241
  siteName: p.site?.names?.en ?? t,
2227
2242
  features: { entities: [] },
2228
2243
  languages: m,
2229
- shell: _o,
2244
+ shell: yo,
2230
2245
  navigation: {
2231
2246
  languages: r(m),
2232
2247
  links: [
@@ -2313,7 +2328,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2313
2328
  empty: "all-objects"
2314
2329
  },
2315
2330
  placement: ({ section: e }) => e === "home" ? "after-banner" : "before-banner",
2316
- socialLinks: Nt
2331
+ socialLinks: Pt
2317
2332
  },
2318
2333
  banner: {
2319
2334
  variant: ({ section: e }) => e === "home" ? "strip" : "section",
@@ -2333,12 +2348,12 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2333
2348
  media: { legacyHost: "https://images.museumwnf.org" },
2334
2349
  links: { ...a },
2335
2350
  projectColors: {
2336
- ...Eo(p),
2351
+ ...ko(p),
2337
2352
  ...s
2338
2353
  },
2339
2354
  noticeProjects: c,
2340
2355
  site: { origin: n },
2341
- extraViews: po("gallery", {
2356
+ extraViews: ho("gallery", {
2342
2357
  creditsBody: l,
2343
2358
  pages: !0
2344
2359
  }),
@@ -2346,8 +2361,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2346
2361
  {
2347
2362
  path: "/database-item/:uid(.*)/:language",
2348
2363
  async resolve({ uid: e }) {
2349
- await i(["items"]);
2350
- let t = je(e);
2364
+ await Promise.all([i(["items"]), De?.()]);
2365
+ let t = Me(e);
2351
2366
  return t ? {
2352
2367
  name: "item",
2353
2368
  params: { id: t.id }
@@ -2357,8 +2372,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2357
2372
  {
2358
2373
  path: "/partner/:country/:id/:language",
2359
2374
  async resolve({ country: e, id: t }) {
2360
- await i(["partners"]);
2361
- let n = Se(e, t);
2375
+ await Promise.all([i(["partners"]), De?.()]);
2376
+ let n = ge(e, t);
2362
2377
  return n ? {
2363
2378
  name: "partner",
2364
2379
  params: { id: n.id }
@@ -2368,8 +2383,8 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2368
2383
  {
2369
2384
  path: "/partner-objects/:country/:id/:page",
2370
2385
  async resolve({ country: e, id: t, page: n }) {
2371
- await i(["partners"]);
2372
- let r = Se(e, t);
2386
+ await Promise.all([i(["partners"]), De?.()]);
2387
+ let r = ge(e, t);
2373
2388
  return r ? {
2374
2389
  name: "partner-objects",
2375
2390
  params: { id: r.id },
@@ -2379,7 +2394,7 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2379
2394
  },
2380
2395
  {
2381
2396
  path: "/timeline-gallery/:country/:start/:end/:page",
2382
- resolve: Oo
2397
+ resolve: jo
2383
2398
  },
2384
2399
  {
2385
2400
  path: "/error",
@@ -2388,30 +2403,30 @@ function ko({ datasetPackage: e, siteName: t, origin: n, projectColors: s = {},
2388
2403
  ]
2389
2404
  };
2390
2405
  }
2391
- var Ao = [
2406
+ var No = [
2392
2407
  "banner",
2393
2408
  "home",
2394
2409
  "popup",
2395
2410
  "timeline",
2396
2411
  "hiddenPartners"
2397
2412
  ];
2398
- function jo(e) {
2413
+ function Po(e) {
2399
2414
  let t = {};
2400
- for (let [n, r] of Object.entries(e)) Ao.includes(n) ? r !== void 0 && (t[n] = r) : console.warn(`exhibitionConfig: unknown option "${n}"`);
2415
+ for (let [n, r] of Object.entries(e)) No.includes(n) ? r !== void 0 && (t[n] = r) : console.warn(`exhibitionConfig: unknown option "${n}"`);
2401
2416
  return t;
2402
2417
  }
2403
- function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: s = [], creditsBody: c, partnerObjects: l, chrome: u = {}, sponsorLogos: f, legacyRoutes: p = !0, ...m }) {
2418
+ function Fo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {}, noticeProjects: s = [], creditsBody: c, partnerObjects: l, chrome: u = {}, sponsorLogos: f, legacyRoutes: p = !0, ...m }) {
2404
2419
  let { manifest: h } = d(), g = o(), _ = async (e, t) => (await i([
2405
2420
  "exhibition",
2406
2421
  "partners",
2407
2422
  "countries"
2408
- ]), ho(tt.value, at.value, e, t));
2423
+ ]), _o(tt.value, at.value, e, t));
2409
2424
  return {
2410
2425
  datasetPackage: e,
2411
2426
  siteName: h.site?.names?.en ?? t,
2412
2427
  features: { entities: [] },
2413
2428
  languages: g,
2414
- shell: Co,
2429
+ shell: To,
2415
2430
  navigation: {
2416
2431
  languages: g.map((e) => ({
2417
2432
  code: e,
@@ -2513,7 +2528,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2513
2528
  empty: "all-items"
2514
2529
  },
2515
2530
  placement: "before-banner",
2516
- socialLinks: Nt
2531
+ socialLinks: Pt
2517
2532
  },
2518
2533
  banner: {
2519
2534
  variant: ({ section: e }) => e === "home" ? "split" : "section",
@@ -2521,7 +2536,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2521
2536
  if (e?.name !== "theme" && e?.name !== "theme-gallery") return "";
2522
2537
  let n = Number(e.params.id);
2523
2538
  if (!Number.isInteger(n) || n < 1) return "";
2524
- let r = `${t("exhibition.theme.romanLabel")} ${Dt(n + 1)}`, i = e.params.subtheme;
2539
+ let r = `${t("exhibition.theme.romanLabel")} ${Ot(n + 1)}`, i = e.params.subtheme;
2525
2540
  return i && i !== "overview" ? `${r} ▪ ${t("exhibition.theme.subthemeLabel")} ${i}` : e.name === "theme-gallery" ? `${r} ▪ ${t("exhibition.theme.galleryLabel")}` : `${r} ▪ ${t("exhibition.theme.overview")}`;
2526
2541
  }
2527
2542
  },
@@ -2542,7 +2557,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2542
2557
  r ? r.push(t) : n.set(e, [t]);
2543
2558
  }
2544
2559
  return [...n.entries()].sort((e, t) => e[0] - t[0]).map(([e, n]) => ({
2545
- title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : Do(t, e) ?? n[0].category ?? "",
2560
+ title: Number(e) === 1 ? t("exhibition.sponsors.patronage") : Number(e) === 2 ? t("exhibition.sponsors.support") : Ao(t, e) ?? n[0].category ?? "",
2546
2561
  sponsors: [...n].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map((e) => ({
2547
2562
  name: e.alt,
2548
2563
  href: e.href,
@@ -2554,13 +2569,13 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2554
2569
  media: { legacyHost: "https://images.museumwnf.org" },
2555
2570
  links: { ...a },
2556
2571
  projectColors: {
2557
- ...Eo(h),
2572
+ ...ko(h),
2558
2573
  ...r
2559
2574
  },
2560
2575
  noticeProjects: s,
2561
2576
  site: { origin: n },
2562
- exhibition: jo(m),
2563
- extraViews: po("exhibition", {
2577
+ exhibition: Po(m),
2578
+ extraViews: ho("exhibition", {
2564
2579
  creditsBody: c,
2565
2580
  partnerObjects: l,
2566
2581
  pages: !0
@@ -2570,7 +2585,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2570
2585
  path: "/database-item/:uid(.*)/:language",
2571
2586
  async resolve({ uid: e }) {
2572
2587
  await i(["items"]);
2573
- let t = go(it.value, e);
2588
+ let t = vo(it.value, e);
2574
2589
  return t ? {
2575
2590
  name: "item",
2576
2591
  params: { id: t.id }
@@ -2621,7 +2636,7 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2621
2636
  },
2622
2637
  {
2623
2638
  path: "/timeline-gallery/:country/:start/:end/:page",
2624
- resolve: Oo
2639
+ resolve: jo
2625
2640
  },
2626
2641
  {
2627
2642
  path: "/error",
@@ -2631,16 +2646,16 @@ function Mo({ datasetPackage: e, siteName: t, origin: n, projectColors: r = {},
2631
2646
  };
2632
2647
  }
2633
2648
  // src/dxa/FeaturedPartners.vue
2634
- var No = {
2649
+ var Io = {
2635
2650
  key: 0,
2636
2651
  class: "mwnf-featured-partners"
2637
- }, Po = { class: "mwnf-featured-partners__heading" }, Fo = { class: "mwnf-featured-partners__carousel" }, Io = {
2652
+ }, Lo = { class: "mwnf-featured-partners__heading" }, Ro = { class: "mwnf-featured-partners__carousel" }, zo = {
2638
2653
  key: 0,
2639
2654
  class: "mwnf-featured-partners__image"
2640
- }, Lo = ["src", "alt"], Ro = { class: "mwnf-featured-partners__body" }, zo = { class: "mwnf-featured-partners__name" }, Bo = { class: "mwnf-featured-partners__location" }, Vo = { key: 0 }, Ho = { class: "mwnf-featured-partners__description" }, Uo = {
2655
+ }, Bo = ["src", "alt"], Vo = { class: "mwnf-featured-partners__body" }, Ho = { class: "mwnf-featured-partners__name" }, Uo = { class: "mwnf-featured-partners__location" }, Wo = { key: 0 }, Go = { class: "mwnf-featured-partners__description" }, Ko = {
2641
2656
  key: 0,
2642
2657
  class: "mwnf-featured-partners__controls"
2643
- }, Wo = ["aria-label", "onClick"], Go = 8e3, Ko = {
2658
+ }, qo = ["aria-label", "onClick"], Jo = 8e3, Yo = {
2644
2659
  __name: "FeaturedPartners",
2645
2660
  props: {
2646
2661
  records: {
@@ -2695,21 +2710,21 @@ var No = {
2695
2710
  function c() {
2696
2711
  o && clearInterval(o), i.value.length > 0 && (o = setInterval(() => {
2697
2712
  a.value = (a.value + 1) % i.value.length;
2698
- }, Go));
2713
+ }, Jo));
2699
2714
  }
2700
- return M(c), j(() => o && clearInterval(o)), (t, n) => i.value.length ? (N(), w("section", No, [
2701
- T("h2", Po, I(t.$t(e.headingEntry)), 1),
2702
- T("div", Fo, [(N(!0), w(b, null, F(i.value, (n, r) => z((N(), w("div", {
2715
+ return M(c), j(() => o && clearInterval(o)), (t, n) => i.value.length ? (N(), w("section", Io, [
2716
+ T("h2", Lo, I(t.$t(e.headingEntry)), 1),
2717
+ T("div", Ro, [(N(!0), w(b, null, F(i.value, (n, r) => z((N(), w("div", {
2703
2718
  key: n.id,
2704
2719
  class: "mwnf-featured-partners__card"
2705
- }, [n.logo ? (N(), w("span", Io, [T("img", {
2720
+ }, [n.logo ? (N(), w("span", zo, [T("img", {
2706
2721
  src: n.logo,
2707
2722
  alt: n.name,
2708
2723
  class: "mwnf-featured-partners__logo"
2709
- }, null, 8, Lo)])) : C("", !0), T("span", Ro, [
2710
- T("span", zo, I(n.name), 1),
2711
- T("span", Bo, [n.city ? (N(), w("span", Vo, I(n.city) + ", ", 1)) : C("", !0), D(I(n.country), 1)]),
2712
- T("span", Ho, I(n.description), 1),
2724
+ }, null, 8, Bo)])) : C("", !0), T("span", Vo, [
2725
+ T("span", Ho, I(n.name), 1),
2726
+ T("span", Uo, [n.city ? (N(), w("span", Wo, I(n.city) + ", ", 1)) : C("", !0), D(I(n.country), 1)]),
2727
+ T("span", Go, I(n.description), 1),
2713
2728
  n.route ? (N(), S(V, {
2714
2729
  key: 0,
2715
2730
  to: n.route,
@@ -2727,33 +2742,33 @@ var No = {
2727
2742
  _: 1
2728
2743
  }, 8, ["to"])) : C("", !0)
2729
2744
  ])])), [[oe, r === a.value]])), 128))]),
2730
- i.value.length > 1 ? (N(), w("div", Uo, [(N(!0), w(b, null, F(i.value, (e, n) => (N(), w("button", {
2745
+ i.value.length > 1 ? (N(), w("div", Ko, [(N(!0), w(b, null, F(i.value, (e, n) => (N(), w("button", {
2731
2746
  key: e.id,
2732
2747
  class: k(["mwnf-featured-partners__bullet", { "mwnf-featured-partners__bullet--active": n === a.value }]),
2733
2748
  "aria-label": `${t.$t("core.action.show")} ${e.name}`,
2734
2749
  onClick: (e) => s(n)
2735
- }, null, 10, Wo))), 128))])) : C("", !0)
2750
+ }, null, 10, qo))), 128))])) : C("", !0)
2736
2751
  ])) : C("", !0);
2737
2752
  }
2738
- }, qo = { class: "mwnf-sibling-galleries" }, Jo = {
2753
+ }, Xo = { class: "mwnf-sibling-galleries" }, Zo = {
2739
2754
  key: 0,
2740
2755
  class: "mwnf-sibling-galleries__galleries"
2741
- }, Yo = { class: "mwnf-sibling-galleries__header" }, Xo = { class: "mwnf-sibling-galleries__heading" }, Zo = ["href"], Qo = { class: "mwnf-sibling-galleries__grid" }, $o = {
2756
+ }, Qo = { class: "mwnf-sibling-galleries__header" }, $o = { class: "mwnf-sibling-galleries__heading" }, es = ["href"], ts = { class: "mwnf-sibling-galleries__grid" }, ns = {
2742
2757
  key: 0,
2743
2758
  class: "mwnf-sibling-galleries__image"
2744
- }, es = ["src", "alt"], ts = {
2759
+ }, rs = ["src", "alt"], is = {
2745
2760
  key: 1,
2746
2761
  class: "mwnf-sibling-galleries__image mwnf-sibling-galleries__image--empty"
2747
- }, ns = { class: "mwnf-sibling-galleries__name" }, rs = {
2762
+ }, as = { class: "mwnf-sibling-galleries__name" }, os = {
2748
2763
  key: 1,
2749
2764
  class: "mwnf-sibling-galleries__museums"
2750
- }, is = { class: "mwnf-sibling-galleries__heading" }, as = { class: "mwnf-sibling-galleries__museums-grid" }, os = ["href"], ss = {
2765
+ }, ss = { class: "mwnf-sibling-galleries__heading" }, cs = { class: "mwnf-sibling-galleries__museums-grid" }, ls = ["href"], us = {
2751
2766
  key: 0,
2752
2767
  class: "mwnf-sibling-galleries__museum-image mwnf-sibling-galleries__museum-image--picture"
2753
- }, cs = ["src"], ls = {
2768
+ }, ds = ["src"], fs = {
2754
2769
  key: 1,
2755
2770
  class: "mwnf-sibling-galleries__museum-image"
2756
- }, us = { class: "mwnf-sibling-galleries__museum-name" }, ds = {
2771
+ }, ps = { class: "mwnf-sibling-galleries__museum-name" }, ms = {
2757
2772
  __name: "SiblingGalleries",
2758
2773
  props: {
2759
2774
  galleries: {
@@ -2782,23 +2797,23 @@ var No = {
2782
2797
  }
2783
2798
  },
2784
2799
  setup(e) {
2785
- return (t, n) => (N(), w("section", qo, [e.galleries.length ? (N(), w("div", Jo, [T("div", Yo, [T("p", Xo, I(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (N(), w("a", {
2800
+ return (t, n) => (N(), w("section", Xo, [e.galleries.length ? (N(), w("div", Zo, [T("div", Qo, [T("p", $o, I(t.$t(e.galleriesHeadingEntry)), 1), e.seeMoreGalleriesHref ? (N(), w("a", {
2786
2801
  key: 0,
2787
2802
  href: e.seeMoreGalleriesHref,
2788
2803
  target: "_blank",
2789
2804
  rel: "noopener",
2790
2805
  class: "mwnf-sibling-galleries__see-more"
2791
- }, I(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, Zo)) : C("", !0)]), T("div", Qo, [(N(!0), w(b, null, F(e.galleries, (e) => (N(), S(V, {
2806
+ }, I(t.$t(e.seeMoreGalleriesEntry)) + " » ", 9, es)) : C("", !0)]), T("div", ts, [(N(!0), w(b, null, F(e.galleries, (e) => (N(), S(V, {
2792
2807
  key: e.id,
2793
2808
  to: e.route,
2794
2809
  class: k(["mwnf-sibling-galleries__gallery", { "mwnf-sibling-galleries__gallery--no-link": !e.route }])
2795
2810
  }, {
2796
- default: R(() => [e.image ? (N(), w("span", $o, [T("img", {
2811
+ default: R(() => [e.image ? (N(), w("span", ns, [T("img", {
2797
2812
  src: e.image,
2798
2813
  alt: e.name
2799
- }, null, 8, es)])) : (N(), w("span", ts)), T("p", ns, I(e.name), 1)]),
2814
+ }, null, 8, rs)])) : (N(), w("span", is)), T("p", as, I(e.name), 1)]),
2800
2815
  _: 2
2801
- }, 1032, ["to", "class"]))), 128))])])) : C("", !0), e.museums.length ? (N(), w("div", rs, [T("div", is, I(t.$t(e.museumsHeadingEntry)), 1), T("div", as, [(N(!0), w(b, null, F(e.museums, (e) => (N(), w("a", {
2816
+ }, 1032, ["to", "class"]))), 128))])])) : C("", !0), e.museums.length ? (N(), w("div", os, [T("div", ss, I(t.$t(e.museumsHeadingEntry)), 1), T("div", cs, [(N(!0), w(b, null, F(e.museums, (e) => (N(), w("a", {
2802
2817
  key: e.name,
2803
2818
  href: e.href || e.to,
2804
2819
  target: "_blank",
@@ -2808,56 +2823,56 @@ var No = {
2808
2823
  "--mwnf-museum-bg": e.accent || "var(--mwnf-color-border)",
2809
2824
  "--mwnf-museum-text": e.textColor || "inherit"
2810
2825
  })
2811
- }, [e.image ? (N(), w("div", ss, [T("img", {
2826
+ }, [e.image ? (N(), w("div", us, [T("img", {
2812
2827
  src: e.image,
2813
2828
  alt: ""
2814
- }, null, 8, cs)])) : (N(), w("div", ls, I(e.name.split(" ").map((e) => e[0]).join("")), 1)), T("p", us, I(e.name), 1)], 12, os))), 128))])])) : C("", !0)]));
2829
+ }, null, 8, ds)])) : (N(), w("div", fs, I(e.name.split(" ").map((e) => e[0]).join("")), 1)), T("p", ps, I(e.name), 1)], 12, ls))), 128))])])) : C("", !0)]));
2815
2830
  }
2816
- }, fs = /* @__PURE__ */ X({ default: () => bs }), ps = { class: "mwnf-dxa-home" }, ms = {
2831
+ }, hs = /* @__PURE__ */ X({ default: () => Cs }), gs = { class: "mwnf-dxa-home" }, _s = {
2817
2832
  key: 0,
2818
2833
  class: "mwnf-dxa-home-logos"
2819
- }, hs = { class: "mwnf-dxa-home-logos__label" }, gs = { class: "mwnf-dxa-home-logos__list" }, _s = ["src", "alt"], vs = 3, ys = 4, bs = {
2834
+ }, vs = { class: "mwnf-dxa-home-logos__label" }, ys = { class: "mwnf-dxa-home-logos__list" }, bs = ["src", "alt"], xs = 3, Ss = 4, Cs = {
2820
2835
  __name: "Home",
2821
2836
  setup(e) {
2822
- let { t, locale: n } = p(), r = g(), i = x(() => r.links ?? {}), a = x(() => Fe(vs)), o = P([]);
2837
+ let { t, locale: n } = p(), r = g(), i = x(() => r.links ?? {}), a = x(() => Ie(xs)), o = P([]);
2823
2838
  M(() => {
2824
- o.value = _e(ys);
2839
+ o.value = xe(Ss);
2825
2840
  });
2826
2841
  let s = x(() => o.value.map((e) => ({
2827
2842
  id: e.id,
2828
2843
  name: e.names?.[n.value] ?? e.names?.en ?? e.slug,
2829
- image: e.image_path ? Me(e.image_path, "zoom") : null,
2830
- route: xe(e)
2844
+ image: e.image_path ? Ne(e.image_path, "zoom") : null,
2845
+ route: Fe(e)
2831
2846
  }))), c = x(() => [
2832
2847
  {
2833
2848
  name: t("core.project.islamicArt"),
2834
2849
  href: `${i.value.islamicArt}/`,
2835
- image: Mt(r.chrome, "dia.jpg"),
2850
+ image: Nt(r.chrome, "dia.jpg"),
2836
2851
  accent: "var(--mwnf-project-ISLandEPM, #ffcc00)",
2837
2852
  textColor: "var(--mwnf-project-ISLandEPM-text, #000000)"
2838
2853
  },
2839
2854
  {
2840
2855
  name: t("core.project.baroqueArt"),
2841
2856
  href: `${i.value.baroqueArt}/`,
2842
- image: Mt(r.chrome, "dba.jpg"),
2857
+ image: Nt(r.chrome, "dba.jpg"),
2843
2858
  accent: "var(--mwnf-project-DBA, #001d66)",
2844
2859
  textColor: "var(--mwnf-project-DBA-text, #ffffff)"
2845
2860
  },
2846
2861
  {
2847
2862
  name: t("core.project.sharingHistory"),
2848
2863
  href: `${i.value.sharingHistory}/`,
2849
- image: Mt(r.chrome, "sh.jpg"),
2864
+ image: Nt(r.chrome, "sh.jpg"),
2850
2865
  accent: "var(--mwnf-project-AWE, #900000)",
2851
2866
  textColor: "var(--mwnf-project-AWE-text, #ffffff)"
2852
2867
  }
2853
2868
  ]), l = x(() => (r.homeLogos ?? []).map((e) => ({
2854
- image: At(r.chrome, e.image) ?? Me(e.image, "gallery_logo"),
2869
+ image: jt(r.chrome, e.image) ?? Ne(e.image, "gallery_logo"),
2855
2870
  href: e.href ?? "",
2856
2871
  alt: e.alt ? t(e.alt) : ""
2857
2872
  })).filter((e) => e.image)), u = x(() => `${i.value.galleries}/list`);
2858
- return (e, n) => (N(), w("div", ps, [
2859
- O(Ko, { partners: a.value }, null, 8, ["partners"]),
2860
- l.value.length ? (N(), w("section", ms, [T("p", hs, I(L(t)("gallery.home.logosLabel")), 1), T("ul", gs, [(N(!0), w(b, null, F(l.value, (e) => (N(), w("li", { key: e.image }, [(N(), S(ne(e.href ? "a" : "span"), {
2873
+ return (e, n) => (N(), w("div", gs, [
2874
+ O(Yo, { partners: a.value }, null, 8, ["partners"]),
2875
+ l.value.length ? (N(), w("section", _s, [T("p", vs, I(L(t)("gallery.home.logosLabel")), 1), T("ul", ys, [(N(!0), w(b, null, F(l.value, (e) => (N(), w("li", { key: e.image }, [(N(), S(ne(e.href ? "a" : "span"), {
2861
2876
  class: "mwnf-dxa-home-logos__logo",
2862
2877
  href: e.href || void 0,
2863
2878
  title: e.alt || void 0,
@@ -2867,7 +2882,7 @@ var No = {
2867
2882
  default: R(() => [T("img", {
2868
2883
  src: e.image,
2869
2884
  alt: e.alt
2870
- }, null, 8, _s)]),
2885
+ }, null, 8, bs)]),
2871
2886
  _: 2
2872
2887
  }, 1032, [
2873
2888
  "href",
@@ -2875,7 +2890,7 @@ var No = {
2875
2890
  "target",
2876
2891
  "rel"
2877
2892
  ]))]))), 128))])])) : C("", !0),
2878
- O(ds, {
2893
+ O(ms, {
2879
2894
  galleries: s.value,
2880
2895
  museums: c.value,
2881
2896
  "galleries-heading-entry": "gallery.action.visitGalleries",
@@ -2889,7 +2904,7 @@ var No = {
2889
2904
  ])
2890
2905
  ]));
2891
2906
  }
2892
- }, xs = /* @__PURE__ */ X({ default: () => Ss }), Ss = {
2907
+ }, ws = /* @__PURE__ */ X({ default: () => Ts }), Ts = {
2893
2908
  __name: "ItemDetail",
2894
2909
  props: { id: {
2895
2910
  type: String,
@@ -2908,38 +2923,38 @@ var No = {
2908
2923
  relatedObjects: "gallery.related.objects",
2909
2924
  relatedMonuments: "gallery.related.monuments"
2910
2925
  };
2911
- return (n, r) => (N(), S(Ft, {
2926
+ return (n, r) => (N(), S(It, {
2912
2927
  id: e.id,
2913
- "item-detail": L(Ie),
2928
+ "item-detail": L(Le),
2914
2929
  words: t
2915
2930
  }, null, 8, ["id", "item-detail"]));
2916
2931
  }
2917
- }, Cs = /* @__PURE__ */ X({ default: () => Rs }), ws = { class: "mwnf-dxa-timeline" }, Ts = { class: "mwnf-dxa-timeline__entrance" }, Es = [
2932
+ }, Es = /* @__PURE__ */ X({ default: () => Vs }), Ds = { class: "mwnf-dxa-timeline" }, Os = { class: "mwnf-dxa-timeline__entrance" }, ks = [
2918
2933
  "value",
2919
2934
  "aria-label",
2920
2935
  "onChange"
2921
- ], Ds = {
2936
+ ], As = {
2922
2937
  disabled: "",
2923
2938
  value: ""
2924
- }, Os = ["value"], ks = { class: "mwnf-dxa-timeline__dates" }, As = [
2939
+ }, js = ["value"], Ms = { class: "mwnf-dxa-timeline__dates" }, Ns = [
2925
2940
  "value",
2926
2941
  "aria-label",
2927
2942
  "onChange"
2928
- ], js = {
2943
+ ], Ps = {
2929
2944
  disabled: "",
2930
2945
  value: ""
2931
- }, Ms = ["value"], Ns = [
2946
+ }, Fs = ["value"], Is = [
2932
2947
  "value",
2933
2948
  "aria-label",
2934
2949
  "onChange"
2935
- ], Ps = {
2950
+ ], Ls = {
2936
2951
  disabled: "",
2937
2952
  value: ""
2938
- }, Fs = ["value"], Is = { class: "mwnf-dxa-timeline__go" }, Ls = ["onClick"], Rs = {
2953
+ }, Rs = ["value"], zs = { class: "mwnf-dxa-timeline__go" }, Bs = ["onClick"], Vs = {
2939
2954
  __name: "Timeline",
2940
2955
  setup(t) {
2941
2956
  let n = {
2942
- ...Ne,
2957
+ ...ye,
2943
2958
  entrance: !0
2944
2959
  };
2945
2960
  function r({ filters: e, options: t, go: n, t: r }) {
@@ -2958,39 +2973,39 @@ var No = {
2958
2973
  end: e.end || a.at(-1)?.value
2959
2974
  });
2960
2975
  }
2961
- return (t, i) => (N(), w("div", ws, [O(Tt, {
2976
+ return (t, i) => (N(), w("div", Ds, [O(Et, {
2962
2977
  spec: n,
2963
2978
  class: "mwnf-dxa-timeline__form"
2964
2979
  }, {
2965
- form: R((e) => [T("div", Ts, [
2980
+ form: R((e) => [T("div", Os, [
2966
2981
  T("select", {
2967
2982
  class: "mwnf-dxa-timeline__country",
2968
2983
  value: e.filters.country,
2969
2984
  "aria-label": e.t("gallery.timeline.selectCountry"),
2970
2985
  onChange: (t) => e.filters.country = t.target.value
2971
- }, [T("option", Ds, I(e.t("gallery.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
2986
+ }, [T("option", As, I(e.t("gallery.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
2972
2987
  key: e.value,
2973
2988
  value: e.value
2974
- }, I(e.label), 9, Os))), 128))], 40, Es),
2975
- T("div", ks, [T("select", {
2989
+ }, I(e.label), 9, js))), 128))], 40, ks),
2990
+ T("div", Ms, [T("select", {
2976
2991
  value: e.filters.begin,
2977
2992
  "aria-label": e.t("gallery.timeline.startDate"),
2978
2993
  onChange: (t) => e.filters.begin = t.target.value
2979
- }, [T("option", js, I(e.t("gallery.timeline.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
2994
+ }, [T("option", Ps, I(e.t("gallery.timeline.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
2980
2995
  key: e.value,
2981
2996
  value: e.value
2982
- }, I(e.label), 9, Ms))), 128))], 40, As), T("select", {
2997
+ }, I(e.label), 9, Fs))), 128))], 40, Ns), T("select", {
2983
2998
  value: e.filters.end,
2984
2999
  "aria-label": e.t("gallery.timeline.endDate"),
2985
3000
  onChange: (t) => e.filters.end = t.target.value
2986
- }, [T("option", Ps, I(e.t("gallery.timeline.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
3001
+ }, [T("option", Ls, I(e.t("gallery.timeline.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
2987
3002
  key: e.value,
2988
3003
  value: e.value
2989
- }, I(e.label), 9, Fs))), 128))], 40, Ns)]),
2990
- T("div", Is, [T("button", {
3004
+ }, I(e.label), 9, Rs))), 128))], 40, Is)]),
3005
+ T("div", zs, [T("button", {
2991
3006
  type: "button",
2992
3007
  onClick: (t) => r(e)
2993
- }, I(e.t("core.action.go")), 9, Ls)])
3008
+ }, I(e.t("core.action.go")), 9, Bs)])
2994
3009
  ])]),
2995
3010
  _: 1
2996
3011
  }), O(L(e), {
@@ -2999,26 +3014,26 @@ var No = {
2999
3014
  keypath: "gallery.timeline.intro"
3000
3015
  })]));
3001
3016
  }
3002
- }, zs = /* @__PURE__ */ X({ default: () => Vs }), Bs = { class: "mwnf-dxa-home" }, Vs = {
3017
+ }, Hs = /* @__PURE__ */ X({ default: () => Ws }), Us = { class: "mwnf-dxa-home" }, Ws = {
3003
3018
  __name: "Home",
3004
3019
  setup(e) {
3005
- return (e, t) => (N(), w("div", Bs));
3020
+ return (e, t) => (N(), w("div", Us));
3006
3021
  }
3007
- }, Hs = /* @__PURE__ */ X({ default: () => Ws }), Us = { class: "mwnf-dxa-about" }, Ws = {
3022
+ }, Gs = /* @__PURE__ */ X({ default: () => qs }), Ks = { class: "mwnf-dxa-about" }, qs = {
3008
3023
  __name: "About",
3009
3024
  setup(e) {
3010
- return (e, t) => (N(), w("div", Us, [O(It, { "about-mode": "" })]));
3025
+ return (e, t) => (N(), w("div", Ks, [O(Lt, { "about-mode": "" })]));
3011
3026
  }
3012
- }, Gs = /* @__PURE__ */ X({ default: () => cc }), Ks = { class: "mwnf-dxa-themes-page" }, qs = { class: "mwnf-dxa-themes-page__container" }, Js = ["onClick"], Ys = ["innerHTML"], Xs = {
3027
+ }, Js = /* @__PURE__ */ X({ default: () => dc }), Ys = { class: "mwnf-dxa-themes-page" }, Xs = { class: "mwnf-dxa-themes-page__container" }, Zs = ["onClick"], Qs = ["innerHTML"], $s = {
3013
3028
  key: 0,
3014
3029
  class: "mwnf-dxa-themes-page__strips"
3015
- }, Zs = ["src"], Qs = {
3030
+ }, ec = ["src"], tc = {
3016
3031
  key: 1,
3017
3032
  class: "mwnf-dxa-themes-page__open"
3018
- }, $s = { class: "mwnf-dxa-themes-page__image" }, ec = ["src", "alt"], tc = {
3033
+ }, nc = { class: "mwnf-dxa-themes-page__image" }, rc = ["src", "alt"], ic = {
3019
3034
  key: 1,
3020
3035
  class: "mwnf-dxa-themes-page__caption"
3021
- }, nc = ["innerHTML"], rc = { class: "mwnf-dxa-themes-page__info" }, ic = { class: "mwnf-dxa-themes-page__description" }, ac = { class: "mwnf-dxa-themes-page__subthemes" }, oc = { class: "mwnf-dxa-themes-page__subthemes-label" }, sc = { class: "mwnf-dxa-themes-page__gallery" }, cc = {
3036
+ }, ac = ["innerHTML"], oc = { class: "mwnf-dxa-themes-page__info" }, sc = { class: "mwnf-dxa-themes-page__description" }, cc = { class: "mwnf-dxa-themes-page__subthemes" }, lc = { class: "mwnf-dxa-themes-page__subthemes-label" }, uc = { class: "mwnf-dxa-themes-page__gallery" }, dc = {
3022
3037
  __name: "Themes",
3023
3038
  setup(e) {
3024
3039
  let { listedThemes: t, pictureById: n, pictureParent: r, romanFor: i, themeText: a } = ft, { t: o, locale: s } = p(), u = P(!1), d = P(null);
@@ -3034,7 +3049,7 @@ var No = {
3034
3049
  function g(e) {
3035
3050
  let t = e ? r(e) : null;
3036
3051
  if (!t) return "";
3037
- let n = Qe("items", t.id, s.value);
3052
+ let n = U("items", t.id, s.value);
3038
3053
  return [
3039
3054
  K("items", t.id),
3040
3055
  n.holder,
@@ -3052,18 +3067,18 @@ var No = {
3052
3067
  cover: r?.image_url ?? "",
3053
3068
  caption: g(r),
3054
3069
  excerpt: h(l(String(o.presentation ?? ""))),
3055
- to: Lt(e),
3070
+ to: Rt(e),
3056
3071
  gallery: {
3057
3072
  name: "theme-gallery",
3058
3073
  params: { id: String(e.display_order - 1) }
3059
3074
  },
3060
3075
  subThemes: (e.sub_themes ?? []).map((e, t) => ({
3061
3076
  label: `${t + 1}. ${a(e, s.value).title ?? e.internal_name ?? ""}`,
3062
- to: Lt(e)
3077
+ to: Rt(e)
3063
3078
  }))
3064
3079
  };
3065
3080
  }));
3066
- return (e, t) => (N(), w("div", Ks, [T("div", qs, [T("div", {
3081
+ return (e, t) => (N(), w("div", Ys, [T("div", Xs, [T("div", {
3067
3082
  class: "mwnf-dxa-themes-page__show-all",
3068
3083
  onClick: m
3069
3084
  }, [T("span", null, I(u.value ? L(o)("exhibition.themes.collapseAll") : L(o)("exhibition.themes.expandAll")), 1)]), (N(!0), w(b, null, F(_.value, (e) => (N(), w("div", {
@@ -3074,18 +3089,18 @@ var No = {
3074
3089
  onClick: (t) => f(e.index)
3075
3090
  }, [T("span", null, [
3076
3091
  D(I(L(o)("exhibition.theme.romanLabel")) + " " + I(e.numeral) + " ▪ ", 1),
3077
- T("span", { innerHTML: L(c)(e.title) }, null, 8, Ys),
3092
+ T("span", { innerHTML: L(c)(e.title) }, null, 8, Qs),
3078
3093
  u.value ? C("", !0) : (N(), w(b, { key: 0 }, [D(I(d.value === e.index ? "▴" : "▾"), 1)], 64))
3079
- ])], 10, Js), d.value !== e.index && !u.value ? (N(), w("div", Xs, [(N(), w(b, null, F(4, (t) => T("img", {
3094
+ ])], 10, Zs), d.value !== e.index && !u.value ? (N(), w("div", $s, [(N(), w(b, null, F(4, (t) => T("img", {
3080
3095
  key: t,
3081
3096
  src: e.cover,
3082
3097
  alt: ""
3083
- }, null, 8, Zs)), 64))])) : (N(), w("div", Qs, [T("div", $s, [e.cover ? (N(), w("img", {
3098
+ }, null, 8, ec)), 64))])) : (N(), w("div", tc, [T("div", nc, [e.cover ? (N(), w("img", {
3084
3099
  key: 0,
3085
3100
  src: e.cover,
3086
3101
  alt: L(l)(e.title)
3087
- }, null, 8, ec)) : C("", !0), e.caption ? (N(), w("div", tc, [T("span", { innerHTML: L(c)(e.caption) }, null, 8, nc)])) : C("", !0)]), T("div", rc, [
3088
- T("div", ic, [
3102
+ }, null, 8, rc)) : C("", !0), e.caption ? (N(), w("div", ic, [T("span", { innerHTML: L(c)(e.caption) }, null, 8, ac)])) : C("", !0)]), T("div", oc, [
3103
+ T("div", sc, [
3089
3104
  T("span", null, I(e.excerpt), 1),
3090
3105
  t[0] ||= D(" " + I(" "), -1),
3091
3106
  O(L(J), {
@@ -3096,41 +3111,41 @@ var No = {
3096
3111
  _: 1
3097
3112
  }, 8, ["to"])
3098
3113
  ]),
3099
- T("div", ac, [T("div", oc, I(L(o)("exhibition.theme.inThisTheme")), 1), (N(!0), w(b, null, F(e.subThemes, (e) => (N(), w("div", { key: e.label }, [O(L(J), {
3114
+ T("div", cc, [T("div", lc, I(L(o)("exhibition.theme.inThisTheme")), 1), (N(!0), w(b, null, F(e.subThemes, (e) => (N(), w("div", { key: e.label }, [O(L(J), {
3100
3115
  to: e.to,
3101
3116
  class: "mwnf-dxa-themes-page__link"
3102
3117
  }, {
3103
3118
  default: R(() => [D(I(e.label), 1)]),
3104
3119
  _: 2
3105
3120
  }, 1032, ["to"])]))), 128))]),
3106
- T("div", sc, [O(L(J), { to: e.gallery }, {
3121
+ T("div", uc, [O(L(J), { to: e.gallery }, {
3107
3122
  default: R(() => [D(I(L(o)("exhibition.themes.seeGallery")) + " " + I(e.numeral), 1)]),
3108
3123
  _: 2
3109
3124
  }, 1032, ["to"])])
3110
3125
  ])]))]))), 128))])]));
3111
3126
  }
3112
- }, lc = /* @__PURE__ */ X({ default: () => Dc }), uc = {
3127
+ }, fc = /* @__PURE__ */ X({ default: () => Ac }), pc = {
3113
3128
  key: 0,
3114
3129
  class: "mwnf-dxa-theme-gallery-page"
3115
- }, dc = { class: "mwnf-dxa-theme-gallery-page__header" }, fc = ["innerHTML"], pc = {
3130
+ }, mc = { class: "mwnf-dxa-theme-gallery-page__header" }, hc = ["innerHTML"], gc = {
3116
3131
  key: 0,
3117
3132
  class: "mwnf-dxa-theme-gallery-page__bold"
3118
- }, mc = ["innerHTML"], hc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, gc = { class: "mwnf-dxa-theme-gallery-page__content" }, _c = { class: "mwnf-dxa-theme-gallery-page__objects" }, vc = { class: "mwnf-dxa-theme-gallery-page__filter" }, yc = { class: "mwnf-dxa-theme-gallery-page__label" }, bc = ["disabled", "value"], xc = {
3133
+ }, _c = ["innerHTML"], vc = { class: "mwnf-dxa-theme-gallery-page__wrapper" }, yc = { class: "mwnf-dxa-theme-gallery-page__content" }, bc = { class: "mwnf-dxa-theme-gallery-page__objects" }, xc = { class: "mwnf-dxa-theme-gallery-page__filter" }, Sc = { class: "mwnf-dxa-theme-gallery-page__label" }, Cc = ["disabled", "value"], wc = {
3119
3134
  value: "",
3120
3135
  disabled: ""
3121
- }, Sc = ["value"], Cc = {
3136
+ }, Tc = ["value"], Ec = {
3122
3137
  key: 0,
3123
3138
  class: "mwnf-dxa-theme-gallery-page__reset"
3124
- }, wc = {
3139
+ }, Dc = {
3125
3140
  key: 0,
3126
3141
  class: "mwnf-dxa-theme-gallery-page__top"
3127
- }, Tc = ["aria-label"], Ec = {
3142
+ }, Oc = ["aria-label"], kc = {
3128
3143
  key: 1,
3129
3144
  class: "mwnf-loader"
3130
- }, Dc = {
3145
+ }, Ac = {
3131
3146
  __name: "ThemeGallery",
3132
3147
  setup(e) {
3133
- let { pictureParent: t, romanFor: n, themeByRouteId: r, themeText: i, themePictures: a } = ft, o = Y(), s = Et(), { t: l, locale: u } = p(), d = x(() => r(o.params.id)), f = x(() => d.value?.sub_themes ?? []), m = x(() => {
3148
+ let { pictureParent: t, romanFor: n, themeByRouteId: r, themeText: i, themePictures: a } = ft, o = Y(), s = Dt(), { t: l, locale: u } = p(), d = x(() => r(o.params.id)), f = x(() => d.value?.sub_themes ?? []), m = x(() => {
3134
3149
  let e = Number(o.params.subtheme);
3135
3150
  return Number.isInteger(e) && e >= 1 && e <= f.value.length ? e : null;
3136
3151
  }), h = (e) => i(e, u.value).title ?? e?.internal_name ?? "";
@@ -3152,7 +3167,7 @@ var No = {
3152
3167
  let a = t(e);
3153
3168
  if (!a || !e.image_url || r.has(e.image_url)) continue;
3154
3169
  r.add(e.image_url);
3155
- let o = Qe("items", a.id, u.value), s = Qe("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", l = c(K("items", a.id));
3170
+ let o = U("items", a.id, u.value), s = U("themes", `${i.id}/${e.picture_item_id}`, u.value).image_caption ?? "", l = c(K("items", a.id));
3156
3171
  n.push({
3157
3172
  id: e.picture_item_id,
3158
3173
  image: e.image_url,
@@ -3182,44 +3197,44 @@ var No = {
3182
3197
  top: 0,
3183
3198
  behavior: "smooth"
3184
3199
  });
3185
- return (e, t) => d.value ? (N(), w("div", uc, [
3200
+ return (e, t) => d.value ? (N(), w("div", pc, [
3186
3201
  O(B),
3187
- T("div", dc, [T("span", null, [
3202
+ T("div", mc, [T("span", null, [
3188
3203
  D(I(L(l)("exhibition.theme.romanLabel")) + " " + I(L(n)(d.value.display_order)) + " | ", 1),
3189
3204
  T("span", {
3190
3205
  class: "mwnf-dxa-theme-gallery-page__bold",
3191
3206
  innerHTML: L(c)(h(d.value))
3192
- }, null, 8, fc),
3193
- m.value ? (N(), w("span", pc, [t[2] ||= D(" ▪ ", -1), T("span", { innerHTML: L(c)(h(f.value[m.value - 1])) }, null, 8, mc)])) : C("", !0),
3207
+ }, null, 8, hc),
3208
+ m.value ? (N(), w("span", gc, [t[2] ||= D(" ▪ ", -1), T("span", { innerHTML: L(c)(h(f.value[m.value - 1])) }, null, 8, _c)])) : C("", !0),
3194
3209
  D(" | " + I(L(l)("exhibition.theme.galleryLabel")), 1)
3195
3210
  ])]),
3196
- T("div", hc, [T("div", gc, [T("div", _c, [O($, {
3211
+ T("div", vc, [T("div", yc, [T("div", bc, [O($, {
3197
3212
  rows: v.value,
3198
3213
  family: "exhibition"
3199
- }, null, 8, ["rows"])]), T("div", vc, [
3200
- T("div", yc, I(L(l)("exhibition.themeGallery.filterBy")), 1),
3214
+ }, null, 8, ["rows"])]), T("div", xc, [
3215
+ T("div", Sc, I(L(l)("exhibition.themeGallery.filterBy")), 1),
3201
3216
  T("select", {
3202
3217
  class: "mwnf-dxa-theme-gallery-page__select",
3203
3218
  disabled: !v.value.length,
3204
3219
  value: m.value ? String(m.value) : "",
3205
3220
  onChange: t[0] ||= (e) => g(e.target.value)
3206
- }, [T("option", xc, I(L(l)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(f.value, (e, t) => (N(), w("option", {
3221
+ }, [T("option", wc, I(L(l)("exhibition.themeGallery.select")), 1), (N(!0), w(b, null, F(f.value, (e, t) => (N(), w("option", {
3207
3222
  key: e.id,
3208
3223
  value: String(t + 1)
3209
- }, I(t + 1) + ". " + I(h(e)), 9, Sc))), 128))], 40, bc),
3210
- m.value ? (N(), w("div", Cc, [T("button", {
3224
+ }, I(t + 1) + ". " + I(h(e)), 9, Tc))), 128))], 40, Cc),
3225
+ m.value ? (N(), w("div", Ec, [T("button", {
3211
3226
  type: "button",
3212
3227
  onClick: t[1] ||= (e) => g("")
3213
3228
  }, I(L(l)("exhibition.theme.seeAllInTheme")), 1)])) : C("", !0)
3214
3229
  ])])]),
3215
- y.value ? (N(), w("div", wc, [T("button", {
3230
+ y.value ? (N(), w("div", Dc, [T("button", {
3216
3231
  type: "button",
3217
3232
  "aria-label": L(l)("exhibition.themeGallery.top"),
3218
3233
  onClick: E
3219
- }, "⌃", 8, Tc)])) : C("", !0)
3220
- ])) : (N(), w("div", Ec, I(L(l)("exhibition.theme.notInExhibition")), 1));
3234
+ }, "⌃", 8, Oc)])) : C("", !0)
3235
+ ])) : (N(), w("div", kc, I(L(l)("exhibition.theme.notInExhibition")), 1));
3221
3236
  }
3222
- }, Oc = /* @__PURE__ */ X({ default: () => kc }), kc = {
3237
+ }, jc = /* @__PURE__ */ X({ default: () => Mc }), Mc = {
3223
3238
  __name: "ItemDetail",
3224
3239
  props: { id: {
3225
3240
  type: String,
@@ -3237,8 +3252,8 @@ var No = {
3237
3252
  relatedVideos: "exhibition.sheet.relatedVideos",
3238
3253
  relatedObjects: "exhibition.related.objects",
3239
3254
  relatedMonuments: "exhibition.related.monuments"
3240
- }, n = (e) => G.value.get(e);
3241
- return (r, i) => (N(), S(Ft, {
3255
+ }, n = (e) => mt.value.get(e);
3256
+ return (r, i) => (N(), S(It, {
3242
3257
  id: e.id,
3243
3258
  "item-detail": L(ut),
3244
3259
  "data-getter": n,
@@ -3246,7 +3261,7 @@ var No = {
3246
3261
  class: "mwnf-dxa-exhibition-item"
3247
3262
  }, null, 8, ["id", "item-detail"]));
3248
3263
  }
3249
- }, Ac = /* @__PURE__ */ X({ default: () => Gc }), jc = { class: "mwnf-dxa-related-page" }, Mc = { class: "mwnf-dxa-related-page__container" }, Nc = { key: 0 }, Pc = { class: "mwnf-dxa-related-page__heading" }, Fc = ["innerHTML"], Ic = ["innerHTML"], Lc = { key: 2 }, Rc = { key: 3 }, zc = ["href", "innerHTML"], Bc = ["innerHTML"], Vc = { key: 4 }, Hc = ["href"], Uc = ["innerHTML"], Wc = ["innerHTML"], Gc = {
3264
+ }, Nc = /* @__PURE__ */ X({ default: () => Jc }), Pc = { class: "mwnf-dxa-related-page" }, Fc = { class: "mwnf-dxa-related-page__container" }, Ic = { key: 0 }, Lc = { class: "mwnf-dxa-related-page__heading" }, Rc = ["innerHTML"], zc = ["innerHTML"], Bc = { key: 2 }, Vc = { key: 3 }, Hc = ["href", "innerHTML"], Uc = ["innerHTML"], Wc = { key: 4 }, Gc = ["href"], Kc = ["innerHTML"], qc = ["innerHTML"], Jc = {
3250
3265
  __name: "RelatedContent",
3251
3266
  setup(e) {
3252
3267
  let t = {
@@ -3264,11 +3279,11 @@ var No = {
3264
3279
  catalogue: 1
3265
3280
  }, i = (e) => e.category_id ?? (e.category ? r[e.category] ?? 4 : void 0), { t: a, locale: o } = p(), l = (e) => e?.[o.value] ?? e?.en ?? "";
3266
3281
  function u(e) {
3267
- let t = e.document_path ? _t(e.document_path, "hi_res") : "";
3282
+ let t = e.document_path ? vt(e.document_path, "hi_res") : "";
3268
3283
  return {
3269
3284
  reading: s(l(e.texts) || e.further_reading || ""),
3270
3285
  partner: e.partner_name ? c(e.partner_name) : "",
3271
- place: [e.entity_location, e.entity_country ? ht(e.entity_country) : ""].filter(Boolean).join(", "),
3286
+ place: [e.entity_location, e.entity_country ? gt(e.entity_country) : ""].filter(Boolean).join(", "),
3272
3287
  title: l(e.titles) ? c(l(e.titles)) : "",
3273
3288
  href: t || e.url || "",
3274
3289
  byline: [e.authors, e.type_resource].filter(Boolean).map((e) => c(e)).join(", "),
@@ -3287,81 +3302,81 @@ var No = {
3287
3302
  entries: [...e.get(n)].sort((e, t) => (e.display_order ?? 0) - (t.display_order ?? 0)).map(u)
3288
3303
  }));
3289
3304
  });
3290
- return (e, t) => (N(), w("div", jc, [O(B), T("div", Mc, [d.value.length ? C("", !0) : (N(), w("p", Nc, I(L(a)("exhibition.related.notAvailable")), 1)), (N(!0), w(b, null, F(d.value, (e) => (N(), w("div", {
3305
+ return (e, t) => (N(), w("div", Pc, [O(B), T("div", Fc, [d.value.length ? C("", !0) : (N(), w("p", Ic, I(L(a)("exhibition.related.notAvailable")), 1)), (N(!0), w(b, null, F(d.value, (e) => (N(), w("div", {
3291
3306
  key: e.id,
3292
3307
  class: "mwnf-dxa-related-page__category"
3293
- }, [T("div", Pc, I(L(a)(e.heading)), 1), (N(!0), w(b, null, F(e.entries, (e, t) => (N(), w("div", {
3308
+ }, [T("div", Lc, I(L(a)(e.heading)), 1), (N(!0), w(b, null, F(e.entries, (e, t) => (N(), w("div", {
3294
3309
  key: t,
3295
3310
  class: "mwnf-dxa-related-page__entry"
3296
3311
  }, [
3297
3312
  e.reading ? (N(), w("div", {
3298
3313
  key: 0,
3299
3314
  innerHTML: e.reading
3300
- }, null, 8, Fc)) : C("", !0),
3315
+ }, null, 8, Rc)) : C("", !0),
3301
3316
  e.partner ? (N(), w("div", {
3302
3317
  key: 1,
3303
3318
  innerHTML: e.partner
3304
- }, null, 8, Ic)) : C("", !0),
3305
- e.place ? (N(), w("div", Lc, I(e.place), 1)) : C("", !0),
3306
- e.title ? (N(), w("div", Rc, [e.href ? (N(), w("a", {
3319
+ }, null, 8, zc)) : C("", !0),
3320
+ e.place ? (N(), w("div", Bc, I(e.place), 1)) : C("", !0),
3321
+ e.title ? (N(), w("div", Vc, [e.href ? (N(), w("a", {
3307
3322
  key: 0,
3308
3323
  href: e.href,
3309
3324
  target: "_blank",
3310
3325
  rel: "noopener",
3311
3326
  innerHTML: e.title
3312
- }, null, 8, zc)) : (N(), w("span", {
3327
+ }, null, 8, Hc)) : (N(), w("span", {
3313
3328
  key: 1,
3314
3329
  innerHTML: e.title
3315
- }, null, 8, Bc))])) : e.href ? (N(), w("div", Vc, [T("a", {
3330
+ }, null, 8, Uc))])) : e.href ? (N(), w("div", Wc, [T("a", {
3316
3331
  href: e.href,
3317
3332
  target: "_blank",
3318
3333
  rel: "noopener"
3319
- }, I(e.href), 9, Hc)])) : C("", !0),
3334
+ }, I(e.href), 9, Gc)])) : C("", !0),
3320
3335
  e.byline ? (N(), w("div", {
3321
3336
  key: 5,
3322
3337
  innerHTML: e.byline
3323
- }, null, 8, Uc)) : C("", !0),
3338
+ }, null, 8, Kc)) : C("", !0),
3324
3339
  e.description ? (N(), w("div", {
3325
3340
  key: 6,
3326
3341
  innerHTML: e.description
3327
- }, null, 8, Wc)) : C("", !0)
3342
+ }, null, 8, qc)) : C("", !0)
3328
3343
  ]))), 128))]))), 128))])]));
3329
3344
  }
3330
- }, Kc = /* @__PURE__ */ X({ default: () => sl }), qc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Jc = { class: "mwnf-dxa-timeline__entrance" }, Yc = [
3345
+ }, Yc = /* @__PURE__ */ X({ default: () => ul }), Xc = { class: "mwnf-dxa-timeline mwnf-dxa-exhibition-timeline" }, Zc = { class: "mwnf-dxa-timeline__entrance" }, Qc = [
3331
3346
  "value",
3332
3347
  "aria-label",
3333
3348
  "onChange"
3334
- ], Xc = {
3349
+ ], $c = {
3335
3350
  disabled: "",
3336
3351
  value: ""
3337
- }, Zc = ["value"], Qc = { class: "mwnf-dxa-timeline__dates" }, $c = [
3352
+ }, el = ["value"], tl = { class: "mwnf-dxa-timeline__dates" }, nl = [
3338
3353
  "value",
3339
3354
  "aria-label",
3340
3355
  "onChange"
3341
- ], el = {
3356
+ ], rl = {
3342
3357
  disabled: "",
3343
3358
  value: ""
3344
- }, tl = ["value"], nl = [
3359
+ }, il = ["value"], al = [
3345
3360
  "value",
3346
3361
  "aria-label",
3347
3362
  "onChange"
3348
- ], rl = {
3363
+ ], ol = {
3349
3364
  disabled: "",
3350
3365
  value: ""
3351
- }, il = ["value"], al = { class: "mwnf-dxa-timeline__go" }, ol = ["onClick"], sl = {
3366
+ }, sl = ["value"], cl = { class: "mwnf-dxa-timeline__go" }, ll = ["onClick"], ul = {
3352
3367
  __name: "Timeline",
3353
3368
  setup(t) {
3354
3369
  let n = {
3355
3370
  "catalogue.era.ad": "exhibition.era.ad",
3356
3371
  "catalogue.era.bc": "exhibition.era.bc"
3357
3372
  }, r = ({ years: e, t }) => y(e.min, e.max, _(t, n)), i = x(() => ({
3358
- ...W.value,
3373
+ ...G.value,
3359
3374
  entrance: !0,
3360
- controls: W.value.controls.map((e) => e.options ? {
3375
+ controls: G.value.controls.map((e) => e.options ? {
3361
3376
  ...e,
3362
3377
  options: r
3363
3378
  } : e)
3364
- })), a = x(() => W.value.scope === "country");
3379
+ })), a = x(() => G.value.scope === "country");
3365
3380
  function o({ filters: e, options: t, go: n }) {
3366
3381
  let r = t.begin ?? [], i = t.end ?? [];
3367
3382
  n({
@@ -3370,40 +3385,40 @@ var No = {
3370
3385
  end: e.end || i.at(-1)?.value
3371
3386
  });
3372
3387
  }
3373
- return (t, n) => (N(), w("div", qc, [O(Tt, {
3388
+ return (t, n) => (N(), w("div", Xc, [O(Et, {
3374
3389
  spec: i.value,
3375
3390
  class: "mwnf-dxa-timeline__form"
3376
3391
  }, {
3377
- form: R((e) => [T("div", Jc, [
3392
+ form: R((e) => [T("div", Zc, [
3378
3393
  a.value && e.countries?.length ? (N(), w("select", {
3379
3394
  key: 0,
3380
3395
  class: "mwnf-dxa-timeline__country",
3381
3396
  value: e.filters.country,
3382
3397
  "aria-label": e.t("exhibition.timeline.selectCountry"),
3383
3398
  onChange: (t) => e.filters.country = t.target.value
3384
- }, [T("option", Xc, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
3399
+ }, [T("option", $c, I(e.t("exhibition.timeline.selectCountry")), 1), (N(!0), w(b, null, F(e.countries, (e) => (N(), w("option", {
3385
3400
  key: e.value,
3386
3401
  value: e.value
3387
- }, I(e.label), 9, Zc))), 128))], 40, Yc)) : C("", !0),
3388
- T("div", Qc, [T("select", {
3402
+ }, I(e.label), 9, el))), 128))], 40, Qc)) : C("", !0),
3403
+ T("div", tl, [T("select", {
3389
3404
  value: e.filters.begin,
3390
3405
  "aria-label": e.t("exhibition.collection.startDate"),
3391
3406
  onChange: (t) => e.filters.begin = t.target.value
3392
- }, [T("option", el, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
3407
+ }, [T("option", rl, I(e.t("exhibition.collection.startDate")), 1), (N(!0), w(b, null, F(e.options.begin ?? [], (e) => (N(), w("option", {
3393
3408
  key: e.value,
3394
3409
  value: e.value
3395
- }, I(e.label), 9, tl))), 128))], 40, $c), T("select", {
3410
+ }, I(e.label), 9, il))), 128))], 40, nl), T("select", {
3396
3411
  value: e.filters.end,
3397
3412
  "aria-label": e.t("exhibition.collection.endDate"),
3398
3413
  onChange: (t) => e.filters.end = t.target.value
3399
- }, [T("option", rl, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
3414
+ }, [T("option", ol, I(e.t("exhibition.collection.endDate")), 1), (N(!0), w(b, null, F(e.options.end ?? [], (e) => (N(), w("option", {
3400
3415
  key: e.value,
3401
3416
  value: e.value
3402
- }, I(e.label), 9, il))), 128))], 40, nl)]),
3403
- T("div", al, [T("button", {
3417
+ }, I(e.label), 9, sl))), 128))], 40, al)]),
3418
+ T("div", cl, [T("button", {
3404
3419
  type: "button",
3405
3420
  onClick: (t) => o(e)
3406
- }, I(e.t("core.action.go")), 9, ol)])
3421
+ }, I(e.t("core.action.go")), 9, ll)])
3407
3422
  ])]),
3408
3423
  _: 1
3409
3424
  }, 8, ["spec"]), O(L(e), {
@@ -3412,28 +3427,28 @@ var No = {
3412
3427
  keypath: "exhibition.timeline.intro"
3413
3428
  })]));
3414
3429
  }
3415
- }, cl = { class: "mwnf-picture-gallery" }, ll = {
3430
+ }, dl = { class: "mwnf-picture-gallery" }, fl = {
3416
3431
  key: 0,
3417
3432
  class: "mwnf-picture-gallery__selected"
3418
- }, ul = { class: "mwnf-picture-gallery__image" }, dl = ["src", "alt"], fl = { class: "mwnf-picture-gallery__details" }, pl = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, ml = { key: 0 }, hl = ["innerHTML"], gl = {
3433
+ }, pl = { class: "mwnf-picture-gallery__image" }, ml = ["src", "alt"], hl = { class: "mwnf-picture-gallery__details" }, gl = { class: "mwnf-picture-gallery__detail mwnf-picture-gallery__detail--title" }, _l = { key: 0 }, vl = ["innerHTML"], yl = {
3419
3434
  key: 0,
3420
3435
  class: "mwnf-picture-gallery__label"
3421
- }, _l = ["innerHTML"], vl = {
3436
+ }, bl = ["innerHTML"], xl = {
3422
3437
  key: 0,
3423
3438
  class: "mwnf-picture-gallery__detail"
3424
- }, yl = {
3439
+ }, Sl = {
3425
3440
  key: 2,
3426
3441
  class: "mwnf-picture-gallery__unresolved"
3427
- }, bl = {
3442
+ }, Cl = {
3428
3443
  key: 1,
3429
3444
  class: "mwnf-picture-gallery__empty"
3430
- }, xl = {
3445
+ }, wl = {
3431
3446
  key: 2,
3432
3447
  class: "mwnf-picture-gallery__strip"
3433
- }, Sl = { class: "mwnf-picture-gallery__thumbs" }, Cl = ["onClick"], wl = ["src", "alt"], Tl = { class: "mwnf-picture-gallery__thumb-text" }, El = { key: 0 }, Dl = ["innerHTML"], Ol = { key: 1 }, kl = {
3448
+ }, Tl = { class: "mwnf-picture-gallery__thumbs" }, El = ["onClick"], Dl = ["src", "alt"], Ol = { class: "mwnf-picture-gallery__thumb-text" }, kl = { key: 0 }, Al = ["innerHTML"], jl = { key: 1 }, Ml = {
3434
3449
  key: 0,
3435
3450
  class: "mwnf-picture-gallery__toggle"
3436
- }, Al = {
3451
+ }, Nl = {
3437
3452
  __name: "PictureGallery",
3438
3453
  props: {
3439
3454
  pictures: {
@@ -3475,16 +3490,16 @@ var No = {
3475
3490
  function l(e) {
3476
3491
  r("update:selectedId", e.id);
3477
3492
  }
3478
- return (t, n) => (N(), w("div", cl, [a.value ? (N(), w("div", ll, [T("div", ul, [T("img", {
3493
+ return (t, n) => (N(), w("div", dl, [a.value ? (N(), w("div", fl, [T("div", pl, [T("img", {
3479
3494
  src: a.value.image,
3480
3495
  alt: a.value.imageAlt ?? ""
3481
- }, null, 8, dl)]), T("div", fl, [
3482
- T("div", pl, [a.value.imageCaption ? (N(), w("span", ml, I(a.value.imageCaption) + ", ", 1)) : C("", !0), T("span", { innerHTML: a.value.name }, null, 8, hl)]),
3496
+ }, null, 8, ml)]), T("div", hl, [
3497
+ T("div", gl, [a.value.imageCaption ? (N(), w("span", _l, I(a.value.imageCaption) + ", ", 1)) : C("", !0), T("span", { innerHTML: a.value.name }, null, 8, vl)]),
3483
3498
  (N(!0), w(b, null, F(a.value.fields ?? [], (e, t) => (N(), w("div", {
3484
3499
  key: t,
3485
3500
  class: "mwnf-picture-gallery__detail"
3486
- }, [e.label ? (N(), w("span", gl, I(e.label), 1)) : C("", !0), T("span", { innerHTML: e.value }, null, 8, _l)]))), 128)),
3487
- a.value.detail ? (N(), w("div", vl, I(a.value.detail), 1)) : C("", !0),
3501
+ }, [e.label ? (N(), w("span", yl, I(e.label), 1)) : C("", !0), T("span", { innerHTML: e.value }, null, 8, bl)]))), 128)),
3502
+ a.value.detail ? (N(), w("div", xl, I(a.value.detail), 1)) : C("", !0),
3488
3503
  a.value.to ? (N(), S(V, {
3489
3504
  key: 1,
3490
3505
  class: "mwnf-picture-gallery__link",
@@ -3492,8 +3507,8 @@ var No = {
3492
3507
  }, {
3493
3508
  default: R(() => [D(I(L(i)(e.seeItemEntry)) + " →", 1)]),
3494
3509
  _: 1
3495
- }, 8, ["to"])) : (N(), w("div", yl, I(L(i)(e.unresolvedEntry)), 1))
3496
- ])])) : (N(), w("div", bl, I(L(i)(e.emptyEntry)), 1)), e.pictures.length ? (N(), w("div", xl, [T("ul", Sl, [(N(!0), w(b, null, F(c.value, (t) => (N(), w("li", {
3510
+ }, 8, ["to"])) : (N(), w("div", Sl, I(L(i)(e.unresolvedEntry)), 1))
3511
+ ])])) : (N(), w("div", Cl, I(L(i)(e.emptyEntry)), 1)), e.pictures.length ? (N(), w("div", wl, [T("ul", Tl, [(N(!0), w(b, null, F(c.value, (t) => (N(), w("li", {
3497
3512
  key: t.id,
3498
3513
  class: k(["mwnf-picture-gallery__thumb", {
3499
3514
  "mwnf-picture-gallery__thumb--active": t.id === e.selectedId,
@@ -3506,31 +3521,31 @@ var No = {
3506
3521
  src: t.image,
3507
3522
  alt: t.imageAlt ?? "",
3508
3523
  loading: "lazy"
3509
- }, null, 8, wl)], 8, Cl), T("div", Tl, [
3510
- t.imageCaption ? (N(), w("span", El, I(t.imageCaption) + ", ", 1)) : C("", !0),
3524
+ }, null, 8, Dl)], 8, El), T("div", Ol, [
3525
+ t.imageCaption ? (N(), w("span", kl, I(t.imageCaption) + ", ", 1)) : C("", !0),
3511
3526
  T("span", {
3512
3527
  class: "mwnf-picture-gallery__thumb-name",
3513
3528
  innerHTML: t.name
3514
- }, null, 8, Dl),
3515
- t.detail ? (N(), w("span", Ol, ", " + I(t.detail), 1)) : C("", !0)
3516
- ])], 2))), 128))]), o.value ? (N(), w("label", kl, [z(T("input", {
3529
+ }, null, 8, Al),
3530
+ t.detail ? (N(), w("span", jl, ", " + I(t.detail), 1)) : C("", !0)
3531
+ ])], 2))), 128))]), o.value ? (N(), w("label", Ml, [z(T("input", {
3517
3532
  "onUpdate:modelValue": n[0] ||= (e) => s.value = e,
3518
3533
  type: "checkbox"
3519
3534
  }, null, 512), [[re, s.value]]), T("span", null, I(s.value ? L(i)(e.hideRelatedEntry) : L(i)(e.addRelatedEntry)), 1)])) : C("", !0)])) : C("", !0)]));
3520
3535
  }
3521
- }, jl = {
3536
+ }, Pl = {
3522
3537
  key: 0,
3523
3538
  class: "mwnf-picture-narrative"
3524
- }, Ml = ["innerHTML"], Nl = {
3539
+ }, Fl = ["innerHTML"], Il = {
3525
3540
  key: 1,
3526
3541
  class: "mwnf-picture-narrative__related"
3527
- }, Pl = { class: "mwnf-picture-narrative__heading" }, Fl = { class: "mwnf-picture-narrative__images" }, Il = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Ll = ["src", "alt"], Rl = { class: "mwnf-picture-narrative__thumb-text" }, zl = ["innerHTML"], Bl = { key: 0 }, Vl = ["onClick"], Hl = ["src", "alt"], Ul = { class: "mwnf-picture-narrative__thumb-text" }, Wl = ["innerHTML"], Gl = { key: 0 }, Kl = {
3542
+ }, Ll = { class: "mwnf-picture-narrative__heading" }, Rl = { class: "mwnf-picture-narrative__images" }, zl = { class: "mwnf-picture-narrative__image mwnf-picture-narrative__image--main" }, Bl = ["src", "alt"], Vl = { class: "mwnf-picture-narrative__thumb-text" }, Hl = ["innerHTML"], Ul = { key: 0 }, Wl = ["onClick"], Gl = ["src", "alt"], Kl = { class: "mwnf-picture-narrative__thumb-text" }, ql = ["innerHTML"], Jl = { key: 0 }, Yl = {
3528
3543
  key: 0,
3529
3544
  class: "mwnf-picture-narrative__relation"
3530
- }, ql = {
3545
+ }, Xl = {
3531
3546
  key: 2,
3532
3547
  class: "mwnf-picture-narrative__related"
3533
- }, Jl = { class: "mwnf-picture-narrative__heading" }, Yl = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, Xl = { class: "mwnf-picture-narrative__image" }, Zl = ["src", "alt"], Ql = { class: "mwnf-picture-narrative__thumb-text" }, $l = ["innerHTML"], eu = { key: 0 }, tu = {
3548
+ }, Zl = { class: "mwnf-picture-narrative__heading" }, Ql = { class: "mwnf-picture-narrative__text mwnf-picture-narrative__text--reciprocal" }, $l = { class: "mwnf-picture-narrative__image" }, eu = ["src", "alt"], tu = { class: "mwnf-picture-narrative__thumb-text" }, nu = ["innerHTML"], ru = { key: 0 }, iu = {
3534
3549
  __name: "PictureNarrative",
3535
3550
  props: {
3536
3551
  picture: {
@@ -3556,16 +3571,16 @@ var No = {
3556
3571
  function l(e) {
3557
3572
  r("select", e.id);
3558
3573
  }
3559
- return (t, n) => e.picture ? (N(), w("div", jl, [
3574
+ return (t, n) => e.picture ? (N(), w("div", Pl, [
3560
3575
  a.value ? (N(), w("div", {
3561
3576
  key: 0,
3562
3577
  class: "mwnf-picture-narrative__text mwnf-sheet__block",
3563
3578
  innerHTML: a.value
3564
- }, null, 8, Ml)) : C("", !0),
3565
- o.value.length ? (N(), w("div", Nl, [T("div", Pl, I(L(i)(e.relatedHeadingEntry)), 1), T("div", Fl, [T("div", Il, [T("img", {
3579
+ }, null, 8, Fl)) : C("", !0),
3580
+ o.value.length ? (N(), w("div", Il, [T("div", Ll, I(L(i)(e.relatedHeadingEntry)), 1), T("div", Rl, [T("div", zl, [T("img", {
3566
3581
  src: e.picture.image,
3567
3582
  alt: e.picture.imageAlt ?? ""
3568
- }, null, 8, Ll), T("div", Rl, [T("span", { innerHTML: e.picture.name }, null, 8, zl), e.picture.detail ? (N(), w("span", Bl, ", " + I(e.picture.detail), 1)) : C("", !0)])]), (N(!0), w(b, null, F(o.value, (e) => (N(), w("div", {
3583
+ }, null, 8, Bl), T("div", Vl, [T("span", { innerHTML: e.picture.name }, null, 8, Hl), e.picture.detail ? (N(), w("span", Ul, ", " + I(e.picture.detail), 1)) : C("", !0)])]), (N(!0), w(b, null, F(o.value, (e) => (N(), w("div", {
3569
3584
  key: e.picture.id,
3570
3585
  class: "mwnf-picture-narrative__image"
3571
3586
  }, [
@@ -3575,22 +3590,22 @@ var No = {
3575
3590
  }, [T("img", {
3576
3591
  src: e.picture.image,
3577
3592
  alt: e.picture.imageAlt ?? ""
3578
- }, null, 8, Hl)], 8, Vl),
3579
- T("div", Ul, [T("span", { innerHTML: e.picture.name }, null, 8, Wl), e.picture.detail ? (N(), w("span", Gl, ", " + I(e.picture.detail), 1)) : C("", !0)]),
3580
- e.text ? (N(), w("div", Kl, I(e.text), 1)) : C("", !0)
3593
+ }, null, 8, Gl)], 8, Wl),
3594
+ T("div", Kl, [T("span", { innerHTML: e.picture.name }, null, 8, ql), e.picture.detail ? (N(), w("span", Jl, ", " + I(e.picture.detail), 1)) : C("", !0)]),
3595
+ e.text ? (N(), w("div", Yl, I(e.text), 1)) : C("", !0)
3581
3596
  ]))), 128))])])) : C("", !0),
3582
- c.value ? (N(), w("div", ql, [
3583
- T("div", Jl, I(L(i)(e.relatedHeadingEntry)), 1),
3584
- T("p", Yl, I(c.value.reciprocalText || L(i)(e.reciprocalFallbackEntry)), 1),
3585
- T("div", Xl, [T("button", {
3597
+ c.value ? (N(), w("div", Xl, [
3598
+ T("div", Zl, I(L(i)(e.relatedHeadingEntry)), 1),
3599
+ T("p", Ql, I(c.value.reciprocalText || L(i)(e.reciprocalFallbackEntry)), 1),
3600
+ T("div", $l, [T("button", {
3586
3601
  type: "button",
3587
3602
  onClick: n[0] ||= (e) => l(c.value.picture)
3588
3603
  }, [T("img", {
3589
3604
  src: c.value.picture.image,
3590
3605
  alt: c.value.picture.imageAlt ?? ""
3591
- }, null, 8, Zl)]), T("div", Ql, [T("span", { innerHTML: c.value.picture.name }, null, 8, $l), c.value.picture.detail ? (N(), w("span", eu, ", " + I(c.value.picture.detail), 1)) : C("", !0)])])
3606
+ }, null, 8, eu)]), T("div", tu, [T("span", { innerHTML: c.value.picture.name }, null, 8, nu), c.value.picture.detail ? (N(), w("span", ru, ", " + I(c.value.picture.detail), 1)) : C("", !0)])])
3592
3607
  ])) : C("", !0)
3593
3608
  ])) : C("", !0);
3594
3609
  }
3595
3610
  };
3596
- export { Ws as ExhibitionAbout, Ca as ExhibitionCollectionResults, Ha as ExhibitionCollectionSearch, Vs as ExhibitionHome, kc as ExhibitionItemDetail, Za as ExhibitionPartnerObjects, Lr as ExhibitionPartners, Gc as ExhibitionRelatedContent, Cr as ExhibitionSearchHowTo, oi as ExhibitionSearchResults, Co as ExhibitionShell, It as ExhibitionTheme, Dc as ExhibitionThemeGallery, cc as ExhibitionThemes, sl as ExhibitionTimeline, Vi as ExhibitionTimelineGallery, Pi as ExhibitionTimelineResults, Ko as FeaturedPartners, Gt as GalleryAbout, $n as GalleryCollectionResults, hr as GalleryCollectionSearch, Kt as GalleryCredits, bs as GalleryHome, Ss as GalleryItemDetail, xr as GalleryPartnerObjects, hn as GalleryPartners, Yt as GallerySearchHowTo, Bn as GallerySearchResults, _o as GalleryShell, Rs as GalleryTimeline, Wn as GalleryTimelineGallery, Vn as GalleryTimelineResults, Pt as ItemDetailView, Q as LegacyPages, Ut as PartnerDetail, Al as PictureGallery, tu as PictureNarrative, So as PopupLogo, ds as SiblingGalleries, zt as exhibitionAboutSpec, Mo as exhibitionConfig, Ye as exhibitionPartnerDetail, Rt as exhibitionThemeSpec, ko as galleryConfig, Ke as galleryPartnerDetail, Eo as projectChips, po as standardRoutes, Lt as themeNodeRoute };
3611
+ export { qs as ExhibitionAbout, Ta as ExhibitionCollectionResults, Wa as ExhibitionCollectionSearch, Ws as ExhibitionHome, Mc as ExhibitionItemDetail, $a as ExhibitionPartnerObjects, zr as ExhibitionPartners, Jc as ExhibitionRelatedContent, Tr as ExhibitionSearchHowTo, ci as ExhibitionSearchResults, To as ExhibitionShell, Lt as ExhibitionTheme, Ac as ExhibitionThemeGallery, dc as ExhibitionThemes, ul as ExhibitionTimeline, Ui as ExhibitionTimelineGallery, Ii as ExhibitionTimelineResults, Yo as FeaturedPartners, Kt as GalleryAbout, tr as GalleryCollectionResults, _r as GalleryCollectionSearch, qt as GalleryCredits, Cs as GalleryHome, Ts as GalleryItemDetail, Cr as GalleryPartnerObjects, _n as GalleryPartners, Xt as GallerySearchHowTo, Hn as GallerySearchResults, yo as GalleryShell, Vs as GalleryTimeline, Kn as GalleryTimelineGallery, Un as GalleryTimelineResults, Ft as ItemDetailView, Q as LegacyPages, Wt as PartnerDetail, Nl as PictureGallery, iu as PictureNarrative, wo as PopupLogo, ms as SiblingGalleries, Bt as exhibitionAboutSpec, Fo as exhibitionConfig, Xe as exhibitionPartnerDetail, zt as exhibitionThemeSpec, Mo as galleryConfig, Ce as galleryPartnerDetail, ko as projectChips, ho as standardRoutes, Rt as themeNodeRoute };