@museumwnf/viewer-layout 2.15.1 → 2.16.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,40 +1,144 @@
1
- import { d as e, f as t, l as n, p as r, r as i } from "./TimelineEventList-BmfLBaTT.js";
2
- import { n as a, t as o } from "./BackLink-BJ16COHd.js";
3
- import { a as s, i as c, n as l, o as u, r as d, t as f } from "./TimelineResultsView-D78PPWk-.js";
4
- import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, normalizeClass as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, vModelText as D, withCtx as O, withDirectives as k, withModifiers as A } from "vue";
5
- import { I18nText as j, NotFoundView as ee, sectionMeta as M, useFacets as N, useI18n as P, useKeywordIndex as F, yearBuckets as I } from "@museumwnf/viewer-core";
6
- import { RouterLink as L, useRoute as R, useRouter as te } from "vue-router";
7
- import { FACET_CATEGORIES as ne, FACET_CATEGORIES as re, FACET_LABEL_KEYS as ie, FACET_LABEL_KEYS as ae, PAGE_SIZE as z, PAGE_SIZE as oe, useExhibitionCollection as se, useExhibitionData as ce, useExhibitionPartner as le, useExhibitionTimeline as ue, useFacetLabels as de, useFacetLabels as fe, useGalleryCollection as pe, useGalleryData as me, useGalleryPartner as he, useGalleryTimeline as ge } from "@museumwnf/viewer-core/dxa";
8
- //#region src/dxa/gallery/About.vue
9
- var _e = {
1
+ import { d as e, h as t, m as n, n as r, p as i, v as a } from "./TimelineEventList-D5Hot788.js";
2
+ import { t as o } from "./BackLink-LfSIuXnL.js";
3
+ import { a as s, i as c, n as l, o as u, r as d, t as f } from "./TimelineResultsView-DJo_yYEK.js";
4
+ import { Fragment as ee, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, openBlock as b, ref as x, renderList as S, toDisplayString as C, unref as w, vModelText as te, withCtx as T, withDirectives as ne, withModifiers as re } from "vue";
5
+ import { I18nText as E, NotFoundView as ie, partnerView as D, sectionMeta as O, useFacets as k, useI18n as A, useKeywordIndex as ae, yearBuckets as j } from "@museumwnf/viewer-core";
6
+ import { RouterLink as M, useRoute as N, useRouter as oe } from "vue-router";
7
+ import { FACET_CATEGORIES as P, FACET_CATEGORIES as F, FACET_LABEL_KEYS as se, FACET_LABEL_KEYS as ce, PAGE_SIZE as I, PAGE_SIZE as le, useExhibitionCollection as ue, useExhibitionData as de, useExhibitionPartner as fe, useExhibitionTimeline as pe, useFacetLabels as me, useFacetLabels as he, useGalleryCollection as ge, useGalleryData as _e, useGalleryPartner as ve, useGalleryTimeline as ye } from "@museumwnf/viewer-core/dxa";
8
+ //#region src/dxa/PartnerDetail.vue
9
+ var be = { class: "mwnf-dxa-profile-languages" }, L = {
10
+ __name: "PartnerDetail",
11
+ props: {
12
+ id: {
13
+ type: String,
14
+ required: !0
15
+ },
16
+ family: {
17
+ type: Object,
18
+ required: !0
19
+ },
20
+ variant: {
21
+ type: String,
22
+ default: "partner"
23
+ }
24
+ },
25
+ setup(t) {
26
+ let n = t, { t: i } = A(), c = p(() => n.family.labels?.[n.variant] ?? n.family.labels?.partner ?? {});
27
+ return (n, l) => t.family.visible(t.id) ? (b(), m(s, {
28
+ key: 0,
29
+ spec: t.family.spec,
30
+ id: t.id,
31
+ class: "mwnf-dxa-partner-profile"
32
+ }, {
33
+ header: T(({ languages: t, language: n, select: r }) => [_("div", be, [y(e, {
34
+ languages: t,
35
+ language: n,
36
+ onSelect: r
37
+ }, null, 8, [
38
+ "languages",
39
+ "language",
40
+ "onSelect"
41
+ ])]), y(o)]),
42
+ "before-sheet": T(({ record: e, text: n, dir: o }) => [y(r, {
43
+ variant: "full",
44
+ partner: t.family.view(e, n),
45
+ heading: 1,
46
+ "homepage-label": c.value.homepage ?? "partner.nav.homepage",
47
+ dir: o
48
+ }, {
49
+ actions: T(({ partner: e }) => [e.objectsRoute ? (b(), m(a, {
50
+ key: 0,
51
+ class: "mwnf-button",
52
+ to: e.objectsRoute
53
+ }, {
54
+ default: T(() => [v(C(w(i)(c.value.objects ?? "partner.action.viewObjects")), 1)]),
55
+ _: 1
56
+ }, 8, ["to"])) : h("", !0)]),
57
+ _: 1
58
+ }, 8, [
59
+ "partner",
60
+ "homepage-label",
61
+ "dir"
62
+ ])]),
63
+ _: 1
64
+ }, 8, ["spec", "id"])) : (b(), m(w(ie), { key: 1 }));
65
+ }
66
+ }, R = _e(), z = ge(R), xe = ye(R, z), Se = ve(R, z), { defaultLang: B, tr: V, md: Ce, mdInline: we, loadEnglish: Te, labelOf: H, items: Ee, partners: De, countries: Oe, timelines: ke, partnerById: Ae, itemRoute: je, partnerRoute: U, partnerObjectsRoute: W } = R, { FACETS: Me, haystack: Ne, tile: Pe, collectionResults: G, countryIdForCode: K } = z, { timelineResults: Fe, timelineGallery: Ie } = xe, { partnerList: Le, partnerSheet: Re, partnerObjects: ze } = Se, Be = {
67
+ countryLabel: (e) => H("countries", e),
68
+ md: Ce,
69
+ mdInline: we,
70
+ route: U,
71
+ objectsRoute: W
72
+ }, q = {
73
+ spec: {
74
+ ...Re,
75
+ media: () => []
76
+ },
77
+ visible: () => !0,
78
+ view: (e, t) => D(e, {
79
+ ...V("partners", e.id, B),
80
+ ...t
81
+ }, Be),
82
+ labels: { partner: {
83
+ objects: "partner.action.viewObjects",
84
+ homepage: "partner.nav.homepage"
85
+ } }
86
+ }, J = de(), Y = ue(J), Ve = pe(J, Y), He = fe(J), { defaultLang: Ue, tr: We, md: Ge, mdInline: Ke, labelOf: qe, loadEnglish: Je, items: Ye, itemById: Xe, countries: Ze, timelines: Qe, visiblePartnerById: $e, isHiddenPartner: et, itemRoute: tt, partnerRoute: nt, partnerObjectsRoute: rt } = J, { FACETS: it, haystack: at, tile: ot, collectionResults: st, countryIdForCode: X } = Y, { hasTimeline: ct, timelineSpec: lt, timelineGallerySpec: ut } = Ve, { partnerListSpec: dt, partnerSheetSpec: ft } = He, pt = {
87
+ countryLabel: (e) => qe("countries", e),
88
+ md: Ge,
89
+ mdInline: Ke,
90
+ route: nt,
91
+ objectsRoute: rt,
92
+ hidden: et
93
+ }, Z = {
94
+ spec: {
95
+ ...ft,
96
+ media: () => []
97
+ },
98
+ visible: (e) => !!$e(e),
99
+ view: (e, t) => D(e, {
100
+ ...We("partners", e.id, Ue),
101
+ ...t
102
+ }, pt),
103
+ labels: {
104
+ partner: {
105
+ objects: "partner.action.viewObjects",
106
+ homepage: "partner.nav.homepage"
107
+ },
108
+ institution: {
109
+ objects: "exhibition.action.viewItems",
110
+ homepage: "exhibition.action.institutionHomepage"
111
+ }
112
+ }
113
+ }, mt = {
10
114
  __name: "About",
11
115
  setup(e) {
12
116
  let t = {
13
117
  body: "gallery.about.body",
14
118
  back: !0
15
119
  };
16
- return (e, n) => (S(), h(d, {
120
+ return (e, n) => (b(), m(d, {
17
121
  spec: t,
18
122
  class: "mwnf-dxa-editorial"
19
123
  }));
20
124
  }
21
- }, B = {
125
+ }, ht = {
22
126
  __name: "Credits",
23
127
  props: { bodyKey: {
24
128
  type: String,
25
129
  required: !0
26
130
  } },
27
131
  setup(e) {
28
- let t = e, n = m(() => ({
132
+ let t = e, n = p(() => ({
29
133
  body: t.bodyKey,
30
134
  back: !0
31
135
  }));
32
- return (e, t) => (S(), h(d, {
136
+ return (e, t) => (b(), m(d, {
33
137
  spec: n.value,
34
138
  class: "mwnf-dxa-editorial"
35
139
  }, null, 8, ["spec"]));
36
140
  }
37
- }, V = {
141
+ }, gt = {
38
142
  __name: "SearchHowTo",
39
143
  setup(e) {
40
144
  let t = {
@@ -44,214 +148,56 @@ var _e = {
44
148
  to: { name: "collection" }
45
149
  }
46
150
  };
47
- return (e, n) => (S(), h(d, {
151
+ return (e, n) => (b(), m(d, {
48
152
  spec: t,
49
153
  class: "mwnf-dxa-editorial"
50
154
  }));
51
155
  }
52
- }, H = me(), U = pe(H), ve = ge(H, U), ye = he(H, U), { defaultLang: be, tr: xe, md: W, mdInline: Se, loadEnglish: Ce, labelOf: G, items: we, partners: Te, countries: Ee, timelines: De, partnerById: Oe, itemRoute: ke, partnerRoute: Ae, partnerObjectsRoute: K } = H, { FACETS: je, haystack: Me, tile: Ne, collectionResults: Pe, countryIdForCode: Fe } = U, { timelineResults: Ie, timelineGallery: Le } = ve, { partnerList: Re, partnerSheet: ze, partnerObjects: Be } = ye, Ve = { class: "mwnf-dxa-partners" }, He = { class: "mwnf-dxa-partner-text" }, Ue = { class: "mwnf-dxa-partner-name" }, We = { key: 0 }, Ge = {
53
- key: 0,
54
- class: "mwnf-dxa-partner-meta"
55
- }, Ke = {
56
- key: 1,
57
- class: "mwnf-dxa-partner-meta mwnf-dxa-partner-meta--empty"
58
- }, qe = { class: "mwnf-dxa-partner-links" }, Je = {
59
- key: 0,
60
- class: "mwnf-dxa-partner-logo"
61
- }, Ye = ["src", "alt"], Xe = {
156
+ }, _t = { class: "mwnf-dxa-partners" }, vt = {
62
157
  __name: "Partners",
63
158
  setup(e) {
64
- return (e, t) => (S(), _("div", Ve, [b(c, { spec: E(Re) }, {
65
- before: O(() => [b(o), b(E(j), {
159
+ let t = {
160
+ ...Le,
161
+ objectsRoute: W,
162
+ actions: !0,
163
+ emptyLabel: "gallery.partner.noObjectsInGallery"
164
+ };
165
+ return (e, n) => (b(), g("div", _t, [y(c, { spec: t }, {
166
+ before: T(() => [y(o), y(w(E), {
66
167
  id: "mwnf-dxa-partners-intro",
67
168
  class: "mwnf-prose",
68
169
  dir: "auto",
69
170
  keypath: "gallery.partners.intro"
70
171
  })]),
71
- row: O(({ partner: n, row: r }) => [v("div", He, [
72
- v("div", Ue, [b(E(L), { to: r.route }, {
73
- default: O(() => [y(T(E(G)("partners", n.id)), 1), r.city ? (S(), _("span", We, ", " + T(r.city), 1)) : g("", !0)]),
74
- _: 2
75
- }, 1032, ["to"])]),
76
- n.item_count ? (S(), _("div", Ge, T(n.item_count) + " " + T(e.$t("partner.item.objectsInSite")), 1)) : (S(), _("div", Ke, T(e.$t("gallery.partner.noObjectsInGallery")), 1)),
77
- v("div", qe, [b(E(L), { to: r.route }, {
78
- default: O(() => [y(T(e.$t("gallery.action.readMore")), 1)]),
79
- _: 1
80
- }, 8, ["to"]), n.item_count ? (S(), _(p, { key: 0 }, [t[0] ||= v("span", { class: "mwnf-dxa-partner-link-divider" }, "|", -1), b(E(L), { to: E(K)(n) }, {
81
- default: O(() => [y(T(e.$t("gallery.action.viewObjects")), 1)]),
82
- _: 1
83
- }, 8, ["to"])], 64)) : g("", !0)])
84
- ]), r.logo ? (S(), _("div", Je, [v("img", {
85
- src: r.logo,
86
- alt: E(G)("partners", n.id),
87
- loading: "lazy"
88
- }, null, 8, Ye)])) : g("", !0)]),
89
- _: 1
90
- }, 8, ["spec"])]));
91
- }
92
- }, Ze = { class: "mwnf-dxa-profile-languages" }, Qe = {
93
- key: 0,
94
- class: "mwnf-loader"
95
- }, $e = { class: "mwnf-dxa-partner-name" }, et = { class: "mwnf-dxa-partner-location" }, tt = { key: 0 }, nt = { class: "mwnf-dxa-profile-links-container" }, rt = { class: "mwnf-dxa-profile-links" }, it = ["href"], at = {
96
- key: 0,
97
- class: "mwnf-dxa-profile-objects-link"
98
- }, ot = {
99
- key: 0,
100
- class: "mwnf-dxa-profile-photo-wrapper"
101
- }, st = { class: "mwnf-dxa-profile-info" }, ct = ["innerHTML"], lt = { key: 1 }, ut = { class: "mwnf-dxa-contact-header" }, dt = ["innerHTML"], ft = { key: 0 }, pt = { key: 1 }, mt = ["href"], ht = { key: 2 }, gt = ["href"], _t = {
102
- key: 0,
103
- class: "mwnf-dxa-contact-title"
104
- }, vt = { key: 1 }, yt = { key: 2 }, bt = { key: 3 }, xt = { key: 4 }, St = ["href"], Ct = {
105
- key: 3,
106
- class: "mwnf-dxa-additional-urls"
107
- }, wt = ["href"], Tt = {
108
- key: 2,
109
- class: "mwnf-dxa-partner-logos"
110
- }, Et = ["src", "alt"], q = {
111
- __name: "PartnerProfile",
112
- props: { id: {
113
- type: String,
114
- required: !0
115
- } },
116
- setup(e) {
117
- let t = e, { t: r } = P(), c = C("description"), l = (e) => [e?.contact_person_1, e?.contact_person_2].filter(Boolean), u = (e, t) => !!(t.address || t.phone || t.email || t.website || l(e).length);
118
- function d(e) {
119
- let t = e.website;
120
- return t ? /^https?:\/\//i.test(t) ? t : `https://${t}` : null;
121
- }
122
- return (e, f) => (S(), h(s, {
123
- spec: E(ze),
124
- id: t.id,
125
- class: "mwnf-dxa-partner-profile"
126
- }, {
127
- header: O(({ record: e, text: t, languages: i, language: a, select: s, ready: l }) => [
128
- v("div", Ze, [b(n, {
129
- languages: i,
130
- language: a,
131
- onSelect: s
132
- }, null, 8, [
133
- "languages",
134
- "language",
135
- "onSelect"
136
- ])]),
137
- b(o),
138
- l ? (S(), _(p, { key: 1 }, [
139
- v("p", $e, T(E(G)("partners", e.id)), 1),
140
- v("p", et, [t.city ? (S(), _("span", tt, T(t.city) + ", ", 1)) : g("", !0), y(T(E(G)("countries", e.country_id)), 1)]),
141
- v("div", nt, [v("div", rt, [
142
- v("button", {
143
- class: x({ "mwnf-dxa-profile-tab--active": c.value === "description" }),
144
- onClick: f[0] ||= (e) => c.value = "description"
145
- }, T(E(r)("partner.info.about")), 3),
146
- u(e, t) ? (S(), _(p, { key: 0 }, [f[3] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("button", {
147
- class: x({ "mwnf-dxa-profile-tab--active": c.value === "contact" }),
148
- onClick: f[1] ||= (e) => c.value = "contact"
149
- }, T(E(r)("partner.info.contact")), 3)], 64)) : g("", !0),
150
- e.logos?.length ? (S(), _(p, { key: 1 }, [f[4] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("button", {
151
- class: x({ "mwnf-dxa-profile-tab--active": c.value === "logo" }),
152
- onClick: f[2] ||= (e) => c.value = "logo"
153
- }, T(E(r)("partner.info.logo")), 3)], 64)) : g("", !0),
154
- d(t) ? (S(), _(p, { key: 2 }, [f[5] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("a", {
155
- href: d(t),
156
- target: "_blank",
157
- rel: "noopener"
158
- }, "↗ " + T(E(r)("partner.nav.homepage")), 9, it)], 64)) : g("", !0)
159
- ]), e.item_count ? (S(), _("div", at, [b(E(L), {
160
- class: "mwnf-button",
161
- to: E(K)(e)
162
- }, {
163
- default: O(() => [y(T(E(r)("gallery.partner.viewObjects")), 1)]),
164
- _: 1
165
- }, 8, ["to"])])) : g("", !0)])
166
- ], 64)) : (S(), _("div", Qe, T(E(r)("core.status.loading")), 1))
167
- ]),
168
- "before-sheet": O(({ record: t, text: n, language: r, ready: a }) => [a ? (S(), _("div", ot, [t.images?.length ? (S(), h(i, {
169
- key: 0,
170
- class: "mwnf-dxa-profile-photo",
171
- images: t.images.map((e) => ({
172
- url: e.url,
173
- alt: E(G)("partners", t.id),
174
- caption: e.captions?.[r] ?? e.captions?.en ?? "",
175
- photographer: e.photographer ?? "",
176
- copyright: e.copyright ?? ""
177
- }))
178
- }, null, 8, ["images"])) : g("", !0), v("div", st, [c.value === "description" ? (S(), _("div", {
179
- key: 0,
180
- class: "mwnf-prose",
181
- innerHTML: E(W)(n.description)
182
- }, null, 8, ct)) : c.value === "contact" ? (S(), _("div", lt, [
183
- v("p", ut, T(e.$t("partner.info.addresses")), 1),
184
- v("div", {
185
- class: "mwnf-prose",
186
- innerHTML: E(W)(n.address)
187
- }, null, 8, dt),
188
- n.phone ? (S(), _("p", ft, T(e.$t("partner.info.phone")) + " " + T(n.phone), 1)) : g("", !0),
189
- n.email ? (S(), _("p", pt, [v("a", { href: `mailto:${n.email}` }, T(n.email), 9, mt)])) : g("", !0),
190
- d(n) ? (S(), _("p", ht, [v("a", {
191
- href: d(n),
192
- target: "_blank",
193
- rel: "noopener"
194
- }, T(n.website), 9, gt)])) : g("", !0),
195
- (S(!0), _(p, null, w(l(t), (t) => (S(), _("div", {
196
- class: "mwnf-dxa-contact-person",
197
- key: t.name ?? t.email
198
- }, [
199
- t.title ? (S(), _("p", _t, T(t.title), 1)) : g("", !0),
200
- t.name ? (S(), _("p", vt, T(t.name), 1)) : g("", !0),
201
- t.phone ? (S(), _("p", yt, T(e.$t("partner.info.phone")) + " " + T(t.phone), 1)) : g("", !0),
202
- t.fax ? (S(), _("p", bt, T(e.$t("partner.info.fax")) + " " + T(t.fax), 1)) : g("", !0),
203
- t.email ? (S(), _("p", xt, [v("a", { href: `mailto:${t.email}` }, T(t.email), 9, St)])) : g("", !0)
204
- ]))), 128)),
205
- t.additional_urls?.length ? (S(), _("div", Ct, [(S(!0), _(p, null, w(t.additional_urls, (e) => (S(), _("p", { key: e.url }, [v("a", {
206
- href: e.url,
207
- target: "_blank",
208
- rel: "noopener"
209
- }, T(e.url), 9, wt)]))), 128))])) : g("", !0)
210
- ])) : c.value === "logo" ? (S(), _("div", Tt, [(S(!0), _(p, null, w(t.logos, (e) => (S(), _("img", {
211
- key: e.url,
212
- src: e.url,
213
- alt: E(G)("partners", t.id)
214
- }, null, 8, Et))), 128))])) : g("", !0)])])) : g("", !0)]),
215
- "after-sheet": O(({ record: e }) => [b(a, {
216
- latitude: e.latitude,
217
- longitude: e.longitude,
218
- zoom: e.map_zoom,
219
- label: E(G)("partners", e.id)
220
- }, null, 8, [
221
- "latitude",
222
- "longitude",
223
- "zoom",
224
- "label"
225
- ])]),
226
172
  _: 1
227
- }, 8, ["spec", "id"]));
173
+ })]));
228
174
  }
229
- }, Dt = ["onSubmit"], Ot = ["placeholder"], kt = {
175
+ }, yt = ["onSubmit"], bt = ["placeholder"], xt = {
230
176
  type: "submit",
231
177
  class: "mwnf-dxa-refine-search-submit"
232
- }, At = { class: "mwnf-dxa-how-to" }, jt = { class: "mwnf-dxa-no-results" }, Mt = {
178
+ }, St = { class: "mwnf-dxa-how-to" }, Ct = { class: "mwnf-dxa-no-results" }, wt = {
233
179
  __name: "SearchResults",
234
180
  setup(e) {
235
- let t = F("items", {
181
+ let t = ae("items", {
236
182
  grammar: "boolean",
237
- haystack: Me
238
- }), n = C(!1);
239
- Ce().then(() => {
183
+ haystack: Ne
184
+ }), n = x(!1);
185
+ Te().then(() => {
240
186
  n.value = !0;
241
187
  });
242
188
  function r(e) {
243
189
  return !e || e === "all-objects";
244
190
  }
245
- let i = C(""), a = m(() => ({
191
+ let i = x(""), a = p(() => ({
246
192
  entity: "items",
247
193
  keys: ["q"],
248
194
  sort: !1,
249
195
  narrow: (e, i) => n.value ? r(i.q) ? e : t.search(i.q) : [],
250
- pageSize: oe,
196
+ pageSize: le,
251
197
  variant: "grid",
252
198
  recordRoute: "item",
253
199
  actionLabel: "gallery.action.seeDatabaseEntry",
254
- record: (e, { t }) => Ne(e, t),
200
+ record: (e, { t }) => Pe(e, t),
255
201
  pagination: { jump: !0 },
256
202
  summary: ({ filters: e, pageInfo: t, t: n, total: i }) => [{
257
203
  label: n("gallery.section.database"),
@@ -261,118 +207,118 @@ var _e = {
261
207
  value: `${n("catalogue.results.outOf")} ${i} ${n("catalogue.results.objects")}`
262
208
  }]
263
209
  }));
264
- return (e, t) => (S(), h(u, {
210
+ return (e, t) => (b(), m(u, {
265
211
  spec: a.value,
266
212
  class: "mwnf-dxa-search-results"
267
213
  }, {
268
- before: O(() => [b(o)]),
269
- filters: O(({ apply: n }) => [v("form", {
214
+ before: T(() => [y(o)]),
215
+ filters: T(({ apply: n }) => [_("form", {
270
216
  class: "mwnf-dxa-refine-search",
271
- onSubmit: A((e) => n({ q: i.value || "all-objects" }), ["prevent"])
272
- }, [k(v("input", {
217
+ onSubmit: re((e) => n({ q: i.value || "all-objects" }), ["prevent"])
218
+ }, [ne(_("input", {
273
219
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
274
220
  type: "text",
275
221
  class: "mwnf-dxa-refine-search-input",
276
222
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
277
- }, null, 8, Ot), [[D, i.value]]), v("button", kt, T(e.$t("catalogue.search.submit")), 1)], 40, Dt), v("p", At, [b(E(L), { to: { name: "search-how-to" } }, {
278
- default: O(() => [y(T(e.$t("catalogue.search.howTo")) + " ›", 1)]),
223
+ }, null, 8, bt), [[te, i.value]]), _("button", xt, C(e.$t("catalogue.search.submit")), 1)], 40, yt), _("p", St, [y(w(M), { to: { name: "search-how-to" } }, {
224
+ default: T(() => [v(C(e.$t("catalogue.search.howTo")) + " ›", 1)]),
279
225
  _: 1
280
226
  })])]),
281
- empty: O(() => [v("p", jt, [
282
- y(T(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
283
- b(E(L), { to: { name: "search-how-to" } }, {
284
- default: O(() => [y(T(e.$t("catalogue.search.howTo")), 1)]),
227
+ empty: T(() => [_("p", Ct, [
228
+ v(C(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
229
+ y(w(M), { to: { name: "search-how-to" } }, {
230
+ default: T(() => [v(C(e.$t("catalogue.search.howTo")), 1)]),
285
231
  _: 1
286
232
  }),
287
- t[1] ||= v("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
288
- b(E(L), { to: { name: "collection" } }, {
289
- default: O(() => [y(T(e.$t("gallery.section.collection")), 1)]),
233
+ t[1] ||= _("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
234
+ y(w(M), { to: { name: "collection" } }, {
235
+ default: T(() => [v(C(e.$t("gallery.section.collection")), 1)]),
290
236
  _: 1
291
237
  })
292
238
  ])]),
293
239
  _: 1
294
240
  }, 8, ["spec"]));
295
241
  }
296
- }, Nt = {
242
+ }, Tt = {
297
243
  __name: "TimelineResults",
298
244
  setup(e) {
299
- return (e, t) => (S(), h(f, {
300
- spec: E(Ie),
245
+ return (e, t) => (b(), m(f, {
246
+ spec: w(Fe),
301
247
  class: "mwnf-dxa-timeline-results"
302
248
  }, {
303
- before: O(() => [b(o)]),
249
+ before: T(() => [y(o)]),
304
250
  _: 1
305
251
  }, 8, ["spec"]));
306
252
  }
307
- }, Pt = { class: "mwnf-dxa-back-to-events" }, Ft = {
253
+ }, Et = { class: "mwnf-dxa-back-to-events" }, Dt = {
308
254
  __name: "TimelineGallery",
309
255
  setup(e) {
310
- return (e, t) => (S(), h(u, {
311
- spec: E(Le),
256
+ return (e, n) => (b(), m(u, {
257
+ spec: w(Ie),
312
258
  class: "mwnf-dxa-timeline-gallery"
313
259
  }, {
314
- before: O(() => [b(o)]),
315
- actions: O(({ filters: t, pageInfo: n, goToPage: i }) => [v("p", Pt, [b(E(L), { to: {
260
+ before: T(() => [y(o)]),
261
+ actions: T(({ filters: n, pageInfo: r, goToPage: i }) => [_("p", Et, [y(w(M), { to: {
316
262
  name: "timeline-results",
317
263
  query: {
318
- country: t.country,
319
- begin: t.begin,
320
- end: t.end
264
+ country: n.country,
265
+ begin: n.begin,
266
+ end: n.end
321
267
  }
322
268
  } }, {
323
- default: O(() => [y(" ➤ " + T(e.$t("timeline.nav.backToEvents")), 1)]),
269
+ default: T(() => [v(" ➤ " + C(e.$t("timeline.nav.backToEvents")), 1)]),
324
270
  _: 1
325
- }, 8, ["to"])]), b(r, {
271
+ }, 8, ["to"])]), y(t, {
326
272
  class: "mwnf-dxa-pages",
327
- "page-info": n,
273
+ "page-info": r,
328
274
  jump: "",
329
275
  onNavigate: i
330
276
  }, null, 8, ["page-info", "onNavigate"])]),
331
277
  _: 1
332
278
  }, 8, ["spec"]));
333
279
  }
334
- }, It = { class: "mwnf-dxa-date-wrapper" }, Lt = {
280
+ }, Ot = { class: "mwnf-dxa-date-wrapper" }, kt = {
335
281
  key: 0,
336
282
  class: "mwnf-dxa-timeline-link-box"
337
- }, Rt = { class: "mwnf-dxa-options-label" }, zt = {
283
+ }, At = { class: "mwnf-dxa-options-label" }, jt = {
338
284
  __name: "CollectionResults",
339
- setup(n) {
340
- let i = te(), { t: a } = P(), s = fe(), c = Pe.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
285
+ setup(e) {
286
+ let r = oe(), { t: a } = A(), s = he(), c = G.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
341
287
  function d() {
342
- i.push({ name: "collection" });
288
+ r.push({ name: "collection" });
343
289
  }
344
- let f = m(() => new Set((De.value ?? []).map((e) => e.country_id)));
290
+ let f = p(() => new Set((ke.value ?? []).map((e) => e.country_id)));
345
291
  function x(e) {
346
- let t = Fe(e.country);
292
+ let t = K(e.country);
347
293
  return !!(t && f.value.has(t));
348
294
  }
349
- return (n, i) => (S(), h(u, {
350
- spec: E(Pe),
295
+ return (e, r) => (b(), m(u, {
296
+ spec: w(G),
351
297
  class: "mwnf-dxa-collection-results"
352
298
  }, {
353
- before: O(() => [b(o)]),
354
- actions: O(({ pageInfo: e, goToPage: t }) => [b(r, {
299
+ before: T(() => [y(o)]),
300
+ actions: T(({ pageInfo: e, goToPage: n }) => [y(t, {
355
301
  class: "mwnf-dxa-pages",
356
302
  "page-info": e,
357
303
  jump: "",
358
- onNavigate: t
304
+ onNavigate: n
359
305
  }, null, 8, ["page-info", "onNavigate"])]),
360
- empty: O(() => [y(T(n.$t("catalogue.results.noResults")) + " ", 1), v("button", {
306
+ empty: T(() => [v(C(e.$t("catalogue.results.noResults")) + " ", 1), _("button", {
361
307
  class: "mwnf-dxa-linkish",
362
- onClick: i[0] ||= (e) => d()
363
- }, T(n.$t("catalogue.results.resetFilters")), 1)]),
364
- aside: O(({ filters: r, apply: o, matching: c, options: u }) => [b(e, {
308
+ onClick: r[0] ||= (e) => d()
309
+ }, C(e.$t("catalogue.results.resetFilters")), 1)]),
310
+ aside: T(({ filters: t, apply: o, matching: c, options: u }) => [y(i, {
365
311
  mode: "immediate",
366
- title: l(r) ? n.$t("catalogue.facet.filterBy") : n.$t("catalogue.facet.filterFurtherBy"),
367
- "reset-label": n.$t("catalogue.results.resetFilters"),
312
+ title: l(t) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
313
+ "reset-label": e.$t("catalogue.results.resetFilters"),
368
314
  disabled: c.length === 0,
369
- onReset: i[1] ||= (e) => d()
315
+ onReset: r[1] ||= (e) => d()
370
316
  }, {
371
- default: O(() => [
372
- b(t, {
373
- "model-value": r.country,
317
+ default: T(() => [
318
+ y(n, {
319
+ "model-value": t.country,
374
320
  options: u.country,
375
- placeholder: n.$t("catalogue.facet.selectCountry"),
321
+ placeholder: e.$t("catalogue.facet.selectCountry"),
376
322
  "onUpdate:modelValue": (e) => o({ country: e })
377
323
  }, null, 8, [
378
324
  "model-value",
@@ -380,11 +326,11 @@ var _e = {
380
326
  "placeholder",
381
327
  "onUpdate:modelValue"
382
328
  ]),
383
- (S(!0), _(p, null, w(E(re), (e) => (S(), h(t, {
329
+ (b(!0), g(ee, null, S(w(F), (e) => (b(), m(n, {
384
330
  key: e,
385
- "model-value": r[e],
331
+ "model-value": t[e],
386
332
  options: u[e],
387
- placeholder: E(s)[e],
333
+ placeholder: w(s)[e],
388
334
  "hide-empty": "",
389
335
  "onUpdate:modelValue": (t) => o({ [e]: t })
390
336
  }, null, 8, [
@@ -393,20 +339,20 @@ var _e = {
393
339
  "placeholder",
394
340
  "onUpdate:modelValue"
395
341
  ]))), 128)),
396
- v("div", It, [b(t, {
397
- "model-value": r.from,
398
- options: E(I)(c, E(a)),
399
- placeholder: n.$t("catalogue.facet.startDate"),
342
+ _("div", Ot, [y(n, {
343
+ "model-value": t.from,
344
+ options: w(j)(c, w(a)),
345
+ placeholder: e.$t("catalogue.facet.startDate"),
400
346
  "onUpdate:modelValue": (e) => o({ from: e })
401
347
  }, null, 8, [
402
348
  "model-value",
403
349
  "options",
404
350
  "placeholder",
405
351
  "onUpdate:modelValue"
406
- ]), b(t, {
407
- "model-value": r.to,
408
- options: E(I)(c, E(a)),
409
- placeholder: n.$t("catalogue.facet.endDate"),
352
+ ]), y(n, {
353
+ "model-value": t.to,
354
+ options: w(j)(c, w(a)),
355
+ placeholder: e.$t("catalogue.facet.endDate"),
410
356
  "onUpdate:modelValue": (e) => o({ to: e })
411
357
  }, null, 8, [
412
358
  "model-value",
@@ -420,24 +366,24 @@ var _e = {
420
366
  "title",
421
367
  "reset-label",
422
368
  "disabled"
423
- ]), x(r) ? (S(), _("div", Lt, [v("div", Rt, T(n.$t("catalogue.results.timelineForSearch")), 1), v("p", null, [i[2] ||= y(" ➤ ", -1), b(E(L), { to: {
369
+ ]), x(t) ? (b(), g("div", kt, [_("div", At, C(e.$t("catalogue.results.timelineForSearch")), 1), _("p", null, [r[2] ||= v(" ➤ ", -1), y(w(M), { to: {
424
370
  name: "timeline-results",
425
371
  query: {
426
- country: r.country,
427
- begin: r.from,
428
- end: r.to
372
+ country: t.country,
373
+ begin: t.from,
374
+ end: t.to
429
375
  }
430
376
  } }, {
431
- default: O(() => [y(T(n.$t("gallery.section.timeline")) + " | " + T(E(G)("countries", E(Fe)(r.country))), 1)]),
377
+ default: T(() => [v(C(e.$t("gallery.section.timeline")) + " | " + C(w(H)("countries", w(K)(t.country))), 1)]),
432
378
  _: 2
433
- }, 1032, ["to"])])])) : g("", !0)]),
379
+ }, 1032, ["to"])])])) : h("", !0)]),
434
380
  _: 1
435
381
  }, 8, ["spec"]));
436
382
  }
437
- }, Bt = { class: "mwnf-dxa-collection-search" }, Vt = { class: "mwnf-dxa-dropdown-label" }, Ht = {
383
+ }, Mt = { class: "mwnf-dxa-collection-search" }, Nt = { class: "mwnf-dxa-dropdown-label" }, Pt = {
438
384
  __name: "CollectionSearch",
439
385
  setup(e) {
440
- let t = N(we, je), n = m(() => re.filter((e) => (t.value[e] ?? []).length > 0)), r = m(() => ({
386
+ let t = k(Ee, Me), n = p(() => F.filter((e) => (t.value[e] ?? []).length > 0)), r = p(() => ({
441
387
  mode: "facets",
442
388
  target: "collection-results",
443
389
  dates: "buckets",
@@ -447,49 +393,54 @@ var _e = {
447
393
  options: t.value.country
448
394
  }, ...n.value.map((e) => ({
449
395
  key: e,
450
- label: ae[e],
396
+ label: ce[e],
451
397
  options: t.value[e]
452
398
  }))]
453
399
  }));
454
- return (e, t) => (S(), _("div", Bt, [b(l, { spec: r.value }, {
455
- before: O(() => [v("div", Vt, T(e.$t("catalogue.facet.filterBy")), 1)]),
400
+ return (e, t) => (b(), g("div", Mt, [y(l, { spec: r.value }, {
401
+ before: T(() => [_("div", Nt, C(e.$t("catalogue.facet.filterBy")), 1)]),
456
402
  _: 1
457
- }, 8, ["spec"]), b(E(j), {
403
+ }, 8, ["spec"]), y(w(E), {
458
404
  id: "mwnf-dxa-collection-search-description",
459
405
  class: "mwnf-dxa-description mwnf-prose",
460
406
  dir: "auto",
461
407
  keypath: "gallery.collection.intro"
462
408
  })]));
463
409
  }
464
- }, Ut = {
410
+ }, Ft = {
465
411
  key: 0,
466
412
  class: "mwnf-dxa-partner-objects"
467
- }, Wt = { class: "mwnf-dxa-partner-objects-header" }, Gt = { class: "mwnf-dxa-partner-name" }, Kt = { class: "mwnf-dxa-partner-location" }, qt = { class: "mwnf-dxa-profile-link-container" }, Jt = {
413
+ }, It = { class: "mwnf-dxa-profile-link-container" }, Lt = {
468
414
  __name: "PartnerObjects",
469
415
  setup(e) {
470
- let t = R(), n = m(() => Oe.value.get(t.params.id) ?? null), i = m(() => ({
471
- ...Be,
472
- scope: (e) => e.partner_id === t.params.id
473
- })), a = m(() => n.value ? xe("partners", n.value.id, be).city ?? "" : "");
474
- return (e, t) => n.value ? (S(), _("div", Ut, [b(u, { spec: i.value }, {
475
- before: O(() => [b(o), v("div", Wt, [v("p", Gt, T(E(G)("partners", n.value.id)), 1), v("p", Kt, T([a.value, E(G)("countries", n.value.country_id)].filter(Boolean).join(", ")), 1)])]),
476
- actions: O(({ pageInfo: e, goToPage: t }) => [b(r, {
416
+ let n = N(), i = p(() => Ae.value.get(n.params.id) ?? null), a = p(() => ({
417
+ ...ze,
418
+ scope: (e) => e.partner_id === n.params.id
419
+ })), s = p(() => i.value ? q.view(i.value, V("partners", i.value.id, B)) : null);
420
+ return (e, n) => i.value ? (b(), g("div", Ft, [y(u, { spec: a.value }, {
421
+ before: T(() => [y(o), y(r, {
422
+ class: "mwnf-dxa-partner-objects-header",
423
+ variant: "summary",
424
+ heading: 1,
425
+ partner: s.value
426
+ }, null, 8, ["partner"])]),
427
+ actions: T(({ pageInfo: e, goToPage: n }) => [y(t, {
477
428
  class: "mwnf-dxa-pages",
478
429
  "page-info": e,
479
430
  jump: "",
480
- onNavigate: t
431
+ onNavigate: n
481
432
  }, null, 8, ["page-info", "onNavigate"])]),
482
- after: O(() => [v("div", qt, [b(E(L), {
433
+ after: T(() => [_("div", It, [y(w(M), {
483
434
  class: "mwnf-dxa-profile-link",
484
- to: E(Ae)(n.value)
435
+ to: w(U)(i.value)
485
436
  }, {
486
- default: O(() => [y("➤ " + T(e.$t("gallery.action.partnerProfile")), 1)]),
437
+ default: T(() => [v("➤ " + C(e.$t("gallery.action.partnerProfile")), 1)]),
487
438
  _: 1
488
439
  }, 8, ["to"])])]),
489
440
  _: 1
490
- }, 8, ["spec"])])) : g("", !0);
441
+ }, 8, ["spec"])])) : h("", !0);
491
442
  }
492
- }, Yt = {
443
+ }, Rt = {
493
444
  __name: "SearchHowTo",
494
445
  setup(e) {
495
446
  let t = {
@@ -499,194 +450,50 @@ var _e = {
499
450
  to: { name: "collection" }
500
451
  }
501
452
  };
502
- return (e, n) => (S(), h(d, {
453
+ return (e, n) => (b(), m(d, {
503
454
  spec: t,
504
455
  class: "mwnf-dxa-editorial"
505
456
  }));
506
457
  }
507
- }, J = ce(), Xt = se(J), Zt = ue(J, Xt), Qt = le(J), { defaultLang: $t, tr: en, md: tn, labelOf: Y, loadEnglish: nn, items: rn, itemById: an, countries: on, timelines: sn, visiblePartnerById: cn, itemRoute: ln, partnerRoute: un, partnerObjectsRoute: dn } = J, { FACETS: fn, haystack: pn, tile: mn, collectionResults: hn, countryIdForCode: X } = Xt, { hasTimeline: gn, timelineSpec: _n, timelineGallerySpec: vn } = Zt, { partnerListSpec: yn, partnerSheetSpec: bn } = Qt, xn = { class: "mwnf-dxa-partners" }, Sn = { class: "mwnf-dxa-partners-options" }, Cn = { class: "mwnf-dxa-partner-text" }, wn = { class: "mwnf-dxa-partner-name" }, Tn = ["innerHTML"], En = { key: 0 }, Dn = {
508
- key: 0,
509
- class: "mwnf-dxa-partner-meta"
510
- }, On = {
511
- key: 1,
512
- class: "mwnf-dxa-partner-meta mwnf-dxa-partner-meta--empty"
513
- }, kn = { class: "mwnf-dxa-partner-links" }, An = {
514
- key: 0,
515
- class: "mwnf-dxa-partner-logo"
516
- }, jn = ["src", "alt"], Mn = {
458
+ }, zt = { class: "mwnf-dxa-partners" }, Bt = { class: "mwnf-dxa-partners-options" }, Vt = {
517
459
  __name: "Partners",
518
460
  setup(e) {
519
- return (e, t) => (S(), _("div", xn, [b(c, { spec: E(yn) }, {
520
- before: O(() => [v("div", Sn, [b(o)]), b(E(j), {
461
+ let t = {
462
+ ...dt,
463
+ objectsRoute: rt,
464
+ actions: !0,
465
+ emptyLabel: "exhibition.partner.noObjectsInExhibition"
466
+ };
467
+ return (e, n) => (b(), g("div", zt, [y(c, { spec: t }, {
468
+ before: T(() => [_("div", Bt, [y(o)]), y(w(E), {
521
469
  id: "mwnf-dxa-partners-intro",
522
470
  class: "mwnf-prose",
523
471
  dir: "auto",
524
472
  keypath: "exhibition.partners.intro"
525
473
  })]),
526
- row: O(({ partner: n, row: r }) => [v("div", Cn, [
527
- v("div", wn, [b(E(L), { to: r.route }, {
528
- default: O(() => [v("span", { innerHTML: r.name }, null, 8, Tn), r.city ? (S(), _("span", En, ", " + T(r.city), 1)) : g("", !0)]),
529
- _: 2
530
- }, 1032, ["to"])]),
531
- n.item_count ? (S(), _("div", Dn, T(n.item_count) + " " + T(e.$t("partner.item.objectsInSite")), 1)) : (S(), _("div", On, T(e.$t("exhibition.partner.noObjectsInExhibition")), 1)),
532
- v("div", kn, [b(E(L), { to: r.route }, {
533
- default: O(() => [y(T(e.$t("exhibition.action.readMore")), 1)]),
534
- _: 1
535
- }, 8, ["to"]), n.item_count ? (S(), _(p, { key: 0 }, [t[0] ||= v("span", { class: "mwnf-dxa-partner-link-divider" }, "|", -1), b(E(L), { to: E(dn)(n) }, {
536
- default: O(() => [y(T(e.$t("exhibition.action.viewObjects")), 1)]),
537
- _: 1
538
- }, 8, ["to"])], 64)) : g("", !0)])
539
- ]), r.logo ? (S(), _("div", An, [v("img", {
540
- src: r.logo,
541
- alt: r.name,
542
- loading: "lazy"
543
- }, null, 8, jn)])) : g("", !0)]),
544
474
  _: 1
545
- }, 8, ["spec"])]));
546
- }
547
- }, Nn = { class: "mwnf-dxa-profile-languages" }, Pn = { class: "mwnf-dxa-profile-links-container" }, Fn = { class: "mwnf-dxa-profile-links" }, In = ["href"], Ln = {
548
- key: 0,
549
- class: "mwnf-dxa-profile-objects-link"
550
- }, Rn = ["innerHTML"], zn = { key: 1 }, Bn = { class: "mwnf-dxa-contact-header" }, Vn = ["innerHTML"], Hn = { key: 0 }, Un = { key: 1 }, Wn = ["href"], Gn = { key: 2 }, Kn = ["href"], qn = {
551
- key: 0,
552
- class: "mwnf-dxa-contact-title"
553
- }, Jn = { key: 1 }, Yn = { key: 2 }, Xn = { key: 3 }, Zn = { key: 4 }, Qn = ["href"], $n = {
554
- key: 3,
555
- class: "mwnf-dxa-additional-urls"
556
- }, er = ["href"], tr = {
557
- key: 2,
558
- class: "mwnf-dxa-partner-logos"
559
- }, nr = ["src", "alt"], Z = {
560
- __name: "PartnerProfile",
561
- props: { variant: {
562
- type: String,
563
- default: "partner"
564
- } },
565
- setup(e) {
566
- let t = e, { t: r } = P(), i = m(() => t.variant === "institution"), c = m(() => i.value ? r("exhibition.action.institutionHomepage") : r("partner.nav.homepage")), l = m(() => i.value ? r("exhibition.action.viewItems") : r("exhibition.action.viewObjects")), u = R(), d = m(() => String(u.params.id)), f = C("description");
567
- function D(e, t) {
568
- return !!(e.address || e.phone || e.email || e.website || t.contact_person_1 || t.contact_person_2);
569
- }
570
- function k(e) {
571
- let t = e.website;
572
- return t ? /^https?:\/\//i.test(t) ? t : `https://${t}` : null;
573
- }
574
- function A(e) {
575
- return [e.contact_person_1, e.contact_person_2].filter(Boolean);
576
- }
577
- return (e, t) => E(cn)(d.value) ? (S(), h(s, {
578
- key: 0,
579
- spec: E(bn),
580
- id: d.value,
581
- class: "mwnf-dxa-partner-profile"
582
- }, {
583
- header: O(({ record: r, text: i, languages: a, language: s, select: u }) => [
584
- v("div", Nn, [b(n, {
585
- languages: a,
586
- language: s,
587
- onSelect: u
588
- }, null, 8, [
589
- "languages",
590
- "language",
591
- "onSelect"
592
- ])]),
593
- b(o),
594
- v("div", Pn, [v("div", Fn, [
595
- v("button", {
596
- class: x({ "mwnf-dxa-profile-tab--active": f.value === "description" }),
597
- onClick: t[0] ||= (e) => f.value = "description"
598
- }, T(e.$t("partner.info.about")), 3),
599
- D(i, r) ? (S(), _(p, { key: 0 }, [t[3] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("button", {
600
- class: x({ "mwnf-dxa-profile-tab--active": f.value === "contact" }),
601
- onClick: t[1] ||= (e) => f.value = "contact"
602
- }, T(e.$t("partner.info.contact")), 3)], 64)) : g("", !0),
603
- r.logos?.length ? (S(), _(p, { key: 1 }, [t[4] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("button", {
604
- class: x({ "mwnf-dxa-profile-tab--active": f.value === "logo" }),
605
- onClick: t[2] ||= (e) => f.value = "logo"
606
- }, T(e.$t("partner.info.logo")), 3)], 64)) : g("", !0),
607
- k(i) ? (S(), _(p, { key: 2 }, [t[5] ||= v("span", { class: "mwnf-dxa-profile-divider" }, "|", -1), v("a", {
608
- href: k(i),
609
- target: "_blank",
610
- rel: "noopener"
611
- }, T(c.value), 9, In)], 64)) : g("", !0)
612
- ]), r.item_count ? (S(), _("div", Ln, [b(E(L), {
613
- class: "mwnf-button",
614
- to: E(dn)(r)
615
- }, {
616
- default: O(() => [y(T(l.value), 1)]),
617
- _: 1
618
- }, 8, ["to"])])) : g("", !0)])
619
- ]),
620
- "before-sheet": O(({ record: t, text: n }) => [f.value === "description" ? (S(), _("div", {
621
- key: 0,
622
- class: "mwnf-prose",
623
- innerHTML: E(tn)(n.description)
624
- }, null, 8, Rn)) : f.value === "contact" ? (S(), _("div", zn, [
625
- v("p", Bn, T(e.$t("partner.info.addresses")), 1),
626
- v("div", {
627
- class: "mwnf-prose",
628
- innerHTML: E(tn)(n.address)
629
- }, null, 8, Vn),
630
- n.phone ? (S(), _("p", Hn, T(e.$t("partner.info.phone")) + " " + T(n.phone), 1)) : g("", !0),
631
- n.email ? (S(), _("p", Un, [v("a", { href: `mailto:${n.email}` }, T(n.email), 9, Wn)])) : g("", !0),
632
- k(n) ? (S(), _("p", Gn, [v("a", {
633
- href: k(n),
634
- target: "_blank",
635
- rel: "noopener"
636
- }, T(n.website), 9, Kn)])) : g("", !0),
637
- (S(!0), _(p, null, w(A(t), (t) => (S(), _("div", {
638
- class: "mwnf-dxa-contact-person",
639
- key: t.name ?? t.email
640
- }, [
641
- t.title ? (S(), _("p", qn, T(t.title), 1)) : g("", !0),
642
- t.name ? (S(), _("p", Jn, T(t.name), 1)) : g("", !0),
643
- t.phone ? (S(), _("p", Yn, T(e.$t("partner.info.phone")) + " " + T(t.phone), 1)) : g("", !0),
644
- t.fax ? (S(), _("p", Xn, T(e.$t("partner.info.fax")) + " " + T(t.fax), 1)) : g("", !0),
645
- t.email ? (S(), _("p", Zn, [v("a", { href: `mailto:${t.email}` }, T(t.email), 9, Qn)])) : g("", !0)
646
- ]))), 128)),
647
- t.additional_urls?.length ? (S(), _("div", $n, [(S(!0), _(p, null, w(t.additional_urls, (e) => (S(), _("p", { key: e.url }, [v("a", {
648
- href: e.url,
649
- target: "_blank",
650
- rel: "noopener"
651
- }, T(e.url), 9, er)]))), 128))])) : g("", !0)
652
- ])) : f.value === "logo" ? (S(), _("div", tr, [(S(!0), _(p, null, w(t.logos, (e) => (S(), _("img", {
653
- key: e.url,
654
- src: e.url,
655
- alt: E(Y)("partners", t.id)
656
- }, null, 8, nr))), 128))])) : g("", !0), b(a, {
657
- latitude: t.latitude,
658
- longitude: t.longitude,
659
- zoom: t.map_zoom,
660
- label: E(Y)("partners", t.id)
661
- }, null, 8, [
662
- "latitude",
663
- "longitude",
664
- "zoom",
665
- "label"
666
- ])]),
667
- _: 1
668
- }, 8, ["spec", "id"])) : (S(), h(E(ee), { key: 1 }));
475
+ })]));
669
476
  }
670
- }, rr = ["onSubmit"], ir = ["placeholder"], ar = {
477
+ }, Ht = ["onSubmit"], Ut = ["placeholder"], Wt = {
671
478
  type: "submit",
672
479
  class: "mwnf-dxa-refine-search-submit"
673
- }, or = { class: "mwnf-dxa-how-to" }, sr = { class: "mwnf-dxa-no-results" }, cr = {
480
+ }, Gt = { class: "mwnf-dxa-how-to" }, Kt = { class: "mwnf-dxa-no-results" }, qt = {
674
481
  __name: "SearchResults",
675
482
  setup(e) {
676
- let t = F("items", {
483
+ let t = ae("items", {
677
484
  grammar: "boolean",
678
- haystack: pn
679
- }), n = C(!1);
680
- nn().then(() => {
485
+ haystack: at
486
+ }), n = x(!1);
487
+ Je().then(() => {
681
488
  n.value = !0;
682
489
  });
683
490
  function r(e) {
684
491
  return !e || e === "all-objects";
685
492
  }
686
- let i = C(""), a = m(() => ({
493
+ let i = x(""), a = p(() => ({
687
494
  entity: "items",
688
495
  keys: ["q"],
689
- scope: (e) => an.value.has(e.id),
496
+ scope: (e) => Xe.value.has(e.id),
690
497
  sort: !1,
691
498
  narrow: (e, i) => {
692
499
  if (!n.value) return [];
@@ -694,117 +501,117 @@ var _e = {
694
501
  let a = new Set(e.map((e) => e.id));
695
502
  return t.search(i.q).filter((e) => a.has(e.id));
696
503
  },
697
- pageSize: z,
504
+ pageSize: I,
698
505
  variant: "grid",
699
506
  recordRoute: "item",
700
507
  actionLabel: "exhibition.action.seeDatabaseEntry",
701
- record: (e, { t }) => mn(e, t),
508
+ record: (e, { t }) => ot(e, t),
702
509
  pagination: { jump: !0 },
703
510
  summary: ({ filters: e, pageInfo: t, t: n }) => [{
704
511
  label: n("exhibition.section.database"),
705
512
  value: r(e.q) ? n("catalogue.results.allObjects") : `“${e.q}”`
706
513
  }, {
707
514
  count: t.total,
708
- value: `${n("catalogue.results.outOf")} ${an.value.size} ${n("catalogue.results.objects")}`
515
+ value: `${n("catalogue.results.outOf")} ${Xe.value.size} ${n("catalogue.results.objects")}`
709
516
  }]
710
517
  }));
711
- return (e, t) => (S(), h(u, {
518
+ return (e, t) => (b(), m(u, {
712
519
  spec: a.value,
713
520
  class: "mwnf-dxa-search-results"
714
521
  }, {
715
- before: O(() => [b(o)]),
716
- filters: O(({ apply: n }) => [v("form", {
522
+ before: T(() => [y(o)]),
523
+ filters: T(({ apply: n }) => [_("form", {
717
524
  class: "mwnf-dxa-refine-search",
718
- onSubmit: A((e) => n({ q: i.value || "all-objects" }), ["prevent"])
719
- }, [k(v("input", {
525
+ onSubmit: re((e) => n({ q: i.value || "all-objects" }), ["prevent"])
526
+ }, [ne(_("input", {
720
527
  "onUpdate:modelValue": t[0] ||= (e) => i.value = e,
721
528
  type: "text",
722
529
  class: "mwnf-dxa-refine-search-input",
723
530
  placeholder: e.$t("catalogue.search.keywordPlaceholder")
724
- }, null, 8, ir), [[D, i.value]]), v("button", ar, T(e.$t("catalogue.search.submit")), 1)], 40, rr), v("p", or, [b(E(L), { to: { name: "search-how-to" } }, {
725
- default: O(() => [y(T(e.$t("catalogue.search.howTo")) + " ›", 1)]),
531
+ }, null, 8, Ut), [[te, i.value]]), _("button", Wt, C(e.$t("catalogue.search.submit")), 1)], 40, Ht), _("p", Gt, [y(w(M), { to: { name: "search-how-to" } }, {
532
+ default: T(() => [v(C(e.$t("catalogue.search.howTo")) + " ›", 1)]),
726
533
  _: 1
727
534
  })])]),
728
- empty: O(() => [v("p", sr, [
729
- y(T(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
730
- b(E(L), { to: { name: "search-how-to" } }, {
731
- default: O(() => [y(T(e.$t("catalogue.search.howTo")), 1)]),
535
+ empty: T(() => [_("p", Kt, [
536
+ v(C(e.$t("catalogue.results.noResultsSearch")) + " ", 1),
537
+ y(w(M), { to: { name: "search-how-to" } }, {
538
+ default: T(() => [v(C(e.$t("catalogue.search.howTo")), 1)]),
732
539
  _: 1
733
540
  }),
734
- t[1] ||= v("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
735
- b(E(L), { to: { name: "collection" } }, {
736
- default: O(() => [y(T(e.$t("exhibition.section.collection")), 1)]),
541
+ t[1] ||= _("span", { class: "mwnf-dxa-no-results-divider" }, "|", -1),
542
+ y(w(M), { to: { name: "collection" } }, {
543
+ default: T(() => [v(C(e.$t("exhibition.section.collection")), 1)]),
737
544
  _: 1
738
545
  })
739
546
  ])]),
740
547
  _: 1
741
548
  }, 8, ["spec"]));
742
549
  }
743
- }, lr = {
550
+ }, Jt = {
744
551
  __name: "TimelineResults",
745
552
  setup(e) {
746
- return (e, t) => (S(), h(f, {
747
- spec: E(_n),
553
+ return (e, t) => (b(), m(f, {
554
+ spec: w(lt),
748
555
  class: "mwnf-dxa-timeline-results"
749
556
  }, {
750
- before: O(() => [b(o)]),
557
+ before: T(() => [y(o)]),
751
558
  _: 1
752
559
  }, 8, ["spec"]));
753
560
  }
754
- }, ur = {
561
+ }, Q = {
755
562
  __name: "TimelineGallery",
756
563
  setup(e) {
757
- return (e, t) => (S(), h(u, {
758
- spec: E(vn),
564
+ return (e, t) => (b(), m(u, {
565
+ spec: w(ut),
759
566
  class: "mwnf-dxa-timeline-gallery"
760
567
  }, {
761
- before: O(() => [b(o)]),
568
+ before: T(() => [y(o)]),
762
569
  _: 1
763
570
  }, 8, ["spec"]));
764
571
  }
765
- }, dr = { class: "mwnf-dxa-date-wrapper" }, fr = {
572
+ }, Yt = { class: "mwnf-dxa-date-wrapper" }, Xt = {
766
573
  key: 0,
767
574
  class: "mwnf-dxa-timeline-link-box"
768
- }, pr = { class: "mwnf-dxa-options-label" }, mr = {
575
+ }, Zt = { class: "mwnf-dxa-options-label" }, Qt = {
769
576
  __name: "CollectionResults",
770
- setup(n) {
771
- let i = te(), { t: a } = P(), s = de(), c = hn.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
577
+ setup(e) {
578
+ let r = oe(), { t: a } = A(), s = me(), c = st.keys, l = (e) => c.filter((t) => e[t]).length <= 1;
772
579
  function d() {
773
- i.push({ name: "collection" });
580
+ r.push({ name: "collection" });
774
581
  }
775
- let f = m(() => new Set((sn.value ?? []).map((e) => e.country_id)));
582
+ let f = p(() => new Set((Qe.value ?? []).map((e) => e.country_id)));
776
583
  function x(e) {
777
- if (!gn.value) return !1;
584
+ if (!ct.value) return !1;
778
585
  let t = X(e.country);
779
586
  return !!(t && f.value.has(t));
780
587
  }
781
- return (n, i) => (S(), h(u, {
782
- spec: E(hn),
588
+ return (e, r) => (b(), m(u, {
589
+ spec: w(st),
783
590
  class: "mwnf-dxa-collection-results"
784
591
  }, {
785
- before: O(() => [b(o)]),
786
- actions: O(({ pageInfo: e, goToPage: t }) => [b(r, {
592
+ before: T(() => [y(o)]),
593
+ actions: T(({ pageInfo: e, goToPage: n }) => [y(t, {
787
594
  class: "mwnf-dxa-pages",
788
595
  "page-info": e,
789
596
  jump: "",
790
- onNavigate: t
597
+ onNavigate: n
791
598
  }, null, 8, ["page-info", "onNavigate"])]),
792
- empty: O(() => [y(T(n.$t("catalogue.results.noResults")) + " ", 1), v("button", {
599
+ empty: T(() => [v(C(e.$t("catalogue.results.noResults")) + " ", 1), _("button", {
793
600
  class: "mwnf-dxa-linkish",
794
- onClick: i[0] ||= (e) => d()
795
- }, T(n.$t("catalogue.results.resetFilters")), 1)]),
796
- aside: O(({ filters: r, apply: o, matching: c, options: u }) => [b(e, {
601
+ onClick: r[0] ||= (e) => d()
602
+ }, C(e.$t("catalogue.results.resetFilters")), 1)]),
603
+ aside: T(({ filters: t, apply: o, matching: c, options: u }) => [y(i, {
797
604
  mode: "immediate",
798
- title: l(r) ? n.$t("catalogue.facet.filterBy") : n.$t("catalogue.facet.filterFurtherBy"),
799
- "reset-label": n.$t("catalogue.results.resetFilters"),
605
+ title: l(t) ? e.$t("catalogue.facet.filterBy") : e.$t("catalogue.facet.filterFurtherBy"),
606
+ "reset-label": e.$t("catalogue.results.resetFilters"),
800
607
  disabled: c.length === 0,
801
- onReset: i[1] ||= (e) => d()
608
+ onReset: r[1] ||= (e) => d()
802
609
  }, {
803
- default: O(() => [
804
- b(t, {
805
- "model-value": r.country,
610
+ default: T(() => [
611
+ y(n, {
612
+ "model-value": t.country,
806
613
  options: u.country,
807
- placeholder: n.$t("catalogue.facet.selectCountry"),
614
+ placeholder: e.$t("catalogue.facet.selectCountry"),
808
615
  "onUpdate:modelValue": (e) => o({ country: e })
809
616
  }, null, 8, [
810
617
  "model-value",
@@ -812,11 +619,11 @@ var _e = {
812
619
  "placeholder",
813
620
  "onUpdate:modelValue"
814
621
  ]),
815
- (S(!0), _(p, null, w(E(ne), (e) => (S(), h(t, {
622
+ (b(!0), g(ee, null, S(w(P), (e) => (b(), m(n, {
816
623
  key: e,
817
- "model-value": r[e],
624
+ "model-value": t[e],
818
625
  options: u[e],
819
- placeholder: E(s)[e],
626
+ placeholder: w(s)[e],
820
627
  "hide-empty": "",
821
628
  "onUpdate:modelValue": (t) => o({ [e]: t })
822
629
  }, null, 8, [
@@ -825,20 +632,20 @@ var _e = {
825
632
  "placeholder",
826
633
  "onUpdate:modelValue"
827
634
  ]))), 128)),
828
- v("div", dr, [b(t, {
829
- "model-value": r.from,
830
- options: E(I)(c, E(a)),
831
- placeholder: n.$t("catalogue.facet.startDate"),
635
+ _("div", Yt, [y(n, {
636
+ "model-value": t.from,
637
+ options: w(j)(c, w(a)),
638
+ placeholder: e.$t("catalogue.facet.startDate"),
832
639
  "onUpdate:modelValue": (e) => o({ from: e })
833
640
  }, null, 8, [
834
641
  "model-value",
835
642
  "options",
836
643
  "placeholder",
837
644
  "onUpdate:modelValue"
838
- ]), b(t, {
839
- "model-value": r.to,
840
- options: E(I)(c, E(a)),
841
- placeholder: n.$t("catalogue.facet.endDate"),
645
+ ]), y(n, {
646
+ "model-value": t.to,
647
+ options: w(j)(c, w(a)),
648
+ placeholder: e.$t("catalogue.facet.endDate"),
842
649
  "onUpdate:modelValue": (e) => o({ to: e })
843
650
  }, null, 8, [
844
651
  "model-value",
@@ -852,24 +659,24 @@ var _e = {
852
659
  "title",
853
660
  "reset-label",
854
661
  "disabled"
855
- ]), x(r) ? (S(), _("div", fr, [v("div", pr, T(n.$t("catalogue.results.timelineForSearch")), 1), v("p", null, [i[2] ||= y(" ➤ ", -1), b(E(L), { to: {
662
+ ]), x(t) ? (b(), g("div", Xt, [_("div", Zt, C(e.$t("catalogue.results.timelineForSearch")), 1), _("p", null, [r[2] ||= v(" ➤ ", -1), y(w(M), { to: {
856
663
  name: "timeline-results",
857
664
  query: {
858
- country: E(X)(r.country),
859
- begin: r.from,
860
- end: r.to
665
+ country: w(X)(t.country),
666
+ begin: t.from,
667
+ end: t.to
861
668
  }
862
669
  } }, {
863
- default: O(() => [y(T(n.$t("exhibition.section.timeline")) + " | " + T(E(Y)("countries", E(X)(r.country))), 1)]),
670
+ default: T(() => [v(C(e.$t("exhibition.section.timeline")) + " | " + C(w(qe)("countries", w(X)(t.country))), 1)]),
864
671
  _: 2
865
- }, 1032, ["to"])])])) : g("", !0)]),
672
+ }, 1032, ["to"])])])) : h("", !0)]),
866
673
  _: 1
867
674
  }, 8, ["spec"]));
868
675
  }
869
- }, hr = { class: "mwnf-dxa-collection-search" }, Q = {
676
+ }, $t = { class: "mwnf-dxa-collection-search" }, en = {
870
677
  __name: "CollectionSearch",
871
678
  setup(e) {
872
- let t = N(rn, fn), n = m(() => ne.filter((e) => (t.value[e] ?? []).length > 0)), r = m(() => ({
679
+ let t = k(Ye, it), n = p(() => P.filter((e) => (t.value[e] ?? []).length > 0)), r = p(() => ({
873
680
  mode: "facets",
874
681
  target: "collection-results",
875
682
  dates: "buckets",
@@ -880,12 +687,12 @@ var _e = {
880
687
  options: t.value.country
881
688
  }, ...n.value.map((e) => ({
882
689
  key: e,
883
- label: ie[e],
690
+ label: se[e],
884
691
  options: t.value[e]
885
692
  }))]
886
693
  }));
887
- return (e, t) => (S(), _("div", hr, [b(l, { spec: r.value }, {
888
- intro: O(() => [b(E(j), {
694
+ return (e, t) => (b(), g("div", $t, [y(l, { spec: r.value }, {
695
+ intro: T(() => [y(w(E), {
889
696
  id: "mwnf-dxa-collection-search-description",
890
697
  class: "mwnf-dxa-description mwnf-prose",
891
698
  dir: "auto",
@@ -894,7 +701,7 @@ var _e = {
894
701
  _: 1
895
702
  }, 8, ["spec"])]));
896
703
  }
897
- }, gr = { class: "mwnf-dxa-partner-objects-header" }, _r = { class: "mwnf-dxa-partner-name" }, vr = { class: "mwnf-dxa-partner-location" }, yr = { class: "mwnf-dxa-profile-link-container" }, $ = {
704
+ }, tn = { class: "mwnf-dxa-profile-link-container" }, $ = {
898
705
  __name: "PartnerObjects",
899
706
  props: {
900
707
  variant: {
@@ -907,48 +714,53 @@ var _e = {
907
714
  }
908
715
  },
909
716
  setup(e) {
910
- let t = e, n = m(() => t.variant === "institution"), i = R(), a = m(() => cn(i.params.id)), s = m(() => a.value ? en("partners", a.value.id, $t).city ?? "" : ""), c = m(() => ({
717
+ let n = e, i = p(() => n.variant === "institution"), a = N(), s = p(() => $e(a.params.id)), c = p(() => s.value ? Z.view(s.value, We("partners", s.value.id, Ue)) : null), l = p(() => ({
911
718
  entity: "items",
912
- scope: (e) => e.partner_id === a.value?.id,
719
+ scope: (e) => e.partner_id === s.value?.id,
913
720
  sort: { undated: "first" },
914
- pageSize: z,
721
+ pageSize: I,
915
722
  variant: "grid",
916
723
  recordRoute: "item",
917
724
  actionLabel: "exhibition.action.seeDatabaseEntry",
918
- empty: n.value ? t.texts.emptyInstitution : t.texts.emptyPartner,
919
- record: (e, { t }) => mn(e, t),
920
- summary: ({ pageInfo: e, t: r }) => [{
725
+ empty: i.value ? n.texts.emptyInstitution : n.texts.emptyPartner,
726
+ record: (e, { t }) => ot(e, t),
727
+ summary: ({ pageInfo: e, t }) => [{
921
728
  count: e.total,
922
- value: r(n.value ? t.texts.institutionSummary : "partner.item.objectsInSite")
729
+ value: t(i.value ? n.texts.institutionSummary : "partner.item.objectsInSite")
923
730
  }]
924
731
  }));
925
- return (e, i) => a.value ? (S(), h(u, {
732
+ return (e, a) => s.value ? (b(), m(u, {
926
733
  key: 0,
927
- spec: c.value,
734
+ spec: l.value,
928
735
  class: "mwnf-dxa-partner-objects"
929
736
  }, {
930
- before: O(() => [b(o), v("div", gr, [v("p", _r, T(E(Y)("partners", a.value.id)), 1), v("p", vr, T([s.value, E(Y)("countries", a.value.country_id)].filter(Boolean).join(", ")), 1)])]),
931
- actions: O(({ pageInfo: e, goToPage: t }) => [b(r, {
737
+ before: T(() => [y(o), y(r, {
738
+ class: "mwnf-dxa-partner-objects-header",
739
+ variant: "summary",
740
+ heading: 1,
741
+ partner: c.value
742
+ }, null, 8, ["partner"])]),
743
+ actions: T(({ pageInfo: e, goToPage: n }) => [y(t, {
932
744
  class: "mwnf-dxa-pages",
933
745
  "page-info": e,
934
746
  jump: "",
935
- onNavigate: t
747
+ onNavigate: n
936
748
  }, null, 8, ["page-info", "onNavigate"])]),
937
- after: O(() => [v("div", yr, [b(E(L), {
749
+ after: T(() => [_("div", tn, [y(w(M), {
938
750
  class: "mwnf-dxa-profile-link",
939
- to: E(un)(a.value)
751
+ to: w(nt)(s.value)
940
752
  }, {
941
- default: O(() => [y(" ➤ " + T(n.value ? e.$t(t.texts.institutionProfileLabel) : e.$t(t.texts.partnerProfileLabel)), 1)]),
753
+ default: T(() => [v(" ➤ " + C(i.value ? e.$t(n.texts.institutionProfileLabel) : e.$t(n.texts.partnerProfileLabel)), 1)]),
942
754
  _: 1
943
755
  }, 8, ["to"])])]),
944
756
  _: 1
945
- }, 8, ["spec"])) : g("", !0);
757
+ }, 8, ["spec"])) : h("", !0);
946
758
  }
947
759
  };
948
760
  //#endregion
949
761
  //#region src/dxa/routes.js
950
- function br(e) {
951
- let t = M([
762
+ function nn(e) {
763
+ let t = O([
952
764
  "gallery",
953
765
  "items",
954
766
  "partners",
@@ -958,75 +770,78 @@ function br(e) {
958
770
  {
959
771
  path: "/search",
960
772
  name: "search-results",
961
- component: Mt,
773
+ component: wt,
962
774
  meta: t("database")
963
775
  },
964
776
  {
965
777
  path: "/how-to-search",
966
778
  name: "search-how-to",
967
- component: V,
779
+ component: gt,
968
780
  meta: t("database")
969
781
  },
970
782
  {
971
783
  path: "/partners",
972
784
  name: "partners",
973
- component: Xe,
785
+ component: vt,
974
786
  meta: t("partners")
975
787
  },
976
788
  {
977
789
  path: "/partner/:id",
978
790
  name: "partner",
979
- component: q,
980
- props: (e) => ({ id: e.params.id }),
791
+ component: L,
792
+ props: (e) => ({
793
+ id: String(e.params.id),
794
+ family: q
795
+ }),
981
796
  meta: t("partners", "languages")
982
797
  },
983
798
  {
984
799
  path: "/partner/:id/objects",
985
800
  name: "partner-objects",
986
- component: Jt,
801
+ component: Lt,
987
802
  meta: t("partners")
988
803
  },
989
804
  {
990
805
  path: "/timeline-results",
991
806
  name: "timeline-results",
992
- component: Nt,
807
+ component: Tt,
993
808
  meta: t("timeline", "timelines", "timeline_events")
994
809
  },
995
810
  {
996
811
  path: "/timeline/gallery",
997
812
  name: "timeline-gallery",
998
- component: Ft,
813
+ component: Dt,
999
814
  meta: t("timeline", "timelines", "timeline_events")
1000
815
  },
1001
816
  {
1002
817
  path: "/about",
1003
818
  name: "about",
1004
- component: _e,
819
+ component: mt,
1005
820
  meta: t("about")
1006
821
  },
1007
822
  {
1008
823
  path: "/credits",
1009
824
  name: "credits",
1010
- component: B,
825
+ component: ht,
1011
826
  props: { bodyKey: n },
1012
827
  meta: t("credits")
1013
828
  },
1014
829
  {
1015
830
  path: "/collection",
1016
831
  name: "collection",
1017
- component: Ht,
832
+ component: Pt,
1018
833
  meta: t("collection", "tags")
1019
834
  },
1020
835
  {
1021
836
  path: "/collection-results",
1022
837
  name: "collection-results",
1023
- component: zt,
838
+ component: jt,
1024
839
  meta: t("collection", "tags", "timelines")
1025
840
  }
1026
841
  ];
1027
842
  }
1028
- function xr(e) {
1029
- let t = M([
843
+ function rn(e) {
844
+ let t = O([
1030
845
  "exhibition",
1031
846
  "items",
1032
847
  "partners",
@@ -1036,25 +851,29 @@ function xr(e) {
1036
851
  {
1037
852
  path: "/search",
1038
853
  name: "search-results",
1039
- component: cr,
854
+ component: qt,
1040
855
  meta: t("database")
1041
856
  },
1042
857
  {
1043
858
  path: "/how-to-search",
1044
859
  name: "search-how-to",
1045
- component: Yt,
860
+ component: Rt,
1046
861
  meta: t("database")
1047
862
  },
1048
863
  {
1049
864
  path: "/partners",
1050
865
  name: "partners",
1051
- component: Mn,
866
+ component: Vt,
1052
867
  meta: t("partners")
1053
868
  },
1054
869
  {
1055
870
  path: "/partner/:id",
1056
871
  name: "partner",
1057
- component: Z,
872
+ component: L,
873
+ props: (e) => ({
874
+ id: String(e.params.id),
875
+ family: Z
876
+ }),
1058
877
  meta: t("partners", "languages")
1059
878
  },
1060
879
  {
@@ -1067,8 +886,12 @@ function xr(e) {
1067
886
  {
1068
887
  path: "/institution/:id",
1069
888
  name: "institution",
1070
- component: Z,
1071
- props: { variant: "institution" },
889
+ component: L,
890
+ props: (e) => ({
891
+ id: String(e.params.id),
892
+ family: Z,
893
+ variant: "institution"
894
+ }),
1072
895
  meta: t("partners", "languages")
1073
896
  },
1074
897
  {
@@ -1084,33 +907,66 @@ function xr(e) {
1084
907
  {
1085
908
  path: "/timeline-results",
1086
909
  name: "timeline-results",
1087
- component: lr,
910
+ component: Jt,
1088
911
  meta: t("timeline", "timelines", "timeline_events")
1089
912
  },
1090
913
  {
1091
914
  path: "/timeline/gallery",
1092
915
  name: "timeline-gallery",
1093
- component: ur,
916
+ component: Q,
1094
917
  meta: t("timeline", "timelines", "timeline_events")
1095
918
  },
1096
919
  {
1097
920
  path: "/collection",
1098
921
  name: "collection",
1099
- component: Q,
922
+ component: en,
1100
923
  meta: t("collection", "tags")
1101
924
  },
1102
925
  {
1103
926
  path: "/collection-results",
1104
927
  name: "collection-results",
1105
- component: mr,
928
+ component: Qt,
1106
929
  meta: t("collection", "tags", "timelines")
1107
930
  }
1108
931
  ];
1109
932
  }
1110
- function Sr(e, t = {}) {
1111
- if (e === "gallery") return br(t);
1112
- if (e === "exhibition") return xr(t);
933
+ function an(e, t = {}) {
934
+ if (e === "gallery") return nn(t);
935
+ if (e === "exhibition") return rn(t);
1113
936
  throw Error(`standardRoutes: unknown family "${e}" (expected "gallery" or "exhibition")`);
1114
937
  }
1115
938
  //#endregion
1116
- export { mr as ExhibitionCollectionResults, Q as ExhibitionCollectionSearch, $ as ExhibitionPartnerObjects, Z as ExhibitionPartnerProfile, Mn as ExhibitionPartners, Yt as ExhibitionSearchHowTo, cr as ExhibitionSearchResults, ur as ExhibitionTimelineGallery, lr as ExhibitionTimelineResults, _e as GalleryAbout, zt as GalleryCollectionResults, Ht as GalleryCollectionSearch, B as GalleryCredits, Jt as GalleryPartnerObjects, q as GalleryPartnerProfile, Xe as GalleryPartners, V as GallerySearchHowTo, Mt as GallerySearchResults, Ft as GalleryTimelineGallery, Nt as GalleryTimelineResults, Sr as standardRoutes };
939
+ //#region src/dxa/gallery/PartnerProfile.vue
940
+ var on = {
941
+ __name: "PartnerProfile",
942
+ props: { id: {
943
+ type: String,
944
+ required: !0
945
+ } },
946
+ setup(e) {
947
+ return (t, n) => (b(), m(L, {
948
+ id: e.id,
949
+ family: w(q)
950
+ }, null, 8, ["id", "family"]));
951
+ }
952
+ }, sn = {
953
+ __name: "PartnerProfile",
954
+ props: { variant: {
955
+ type: String,
956
+ default: "partner"
957
+ } },
958
+ setup(e) {
959
+ let t = e, n = N(), r = p(() => String(n.params.id));
960
+ return (e, n) => (b(), m(L, {
961
+ id: r.value,
962
+ family: w(Z),
963
+ variant: t.variant
964
+ }, null, 8, [
965
+ "id",
966
+ "family",
967
+ "variant"
968
+ ]));
969
+ }
970
+ };
971
+ //#endregion
972
+ export { Qt as ExhibitionCollectionResults, en as ExhibitionCollectionSearch, $ as ExhibitionPartnerObjects, sn as ExhibitionPartnerProfile, Vt as ExhibitionPartners, Rt as ExhibitionSearchHowTo, qt as ExhibitionSearchResults, Q as ExhibitionTimelineGallery, Jt as ExhibitionTimelineResults, mt as GalleryAbout, jt as GalleryCollectionResults, Pt as GalleryCollectionSearch, ht as GalleryCredits, Lt as GalleryPartnerObjects, on as GalleryPartnerProfile, vt as GalleryPartners, gt as GallerySearchHowTo, wt as GallerySearchResults, Dt as GalleryTimelineGallery, Tt as GalleryTimelineResults, L as PartnerDetail, Z as exhibitionPartnerDetail, q as galleryPartnerDetail, an as standardRoutes };