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