@museumwnf/viewer-layout 3.19.0 → 3.21.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.
@@ -1,14 +1,14 @@
1
1
  import { r as e } from "./chrome-DNsZQXrL.js";
2
- import { s as t, t as n, u as r } from "./MediaGallery-DeXLadYl.js";
3
- import { n as i, t as a } from "./RecordView-GckO9PmG.js";
4
- import { t as o } from "./SiteShell-DPdTxtJ5.js";
5
- import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createSlots as p, createTextVNode as m, createVNode as h, guardReactiveProps as g, normalizeClass as _, normalizeProps as v, normalizeStyle as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O, withModifiers as k } from "vue";
6
- import { byId as A, loadEntities as j, pictureCredits as M, picturesInLanguage as N, removeEndingPoint as P, renderBlock as F, renderInline as I, renderPlain as L, useDataPackage as R, useI18n as z, useSection as ee, useSiteConfig as B } from "@museumwnf/viewer-core";
2
+ import { c as t, d as n, n as r, t as i } from "./PartnerMap-BozCpzY8.js";
3
+ import { n as a, t as o } from "./RecordView-Bi53L29_.js";
4
+ import { t as s } from "./SiteShell-DPdTxtJ5.js";
5
+ import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, unref as D, useId as O, useSlots as k, vShow as A, watch as j, withCtx as M, withDirectives as N, withModifiers as P } from "vue";
6
+ import { byId as F, loadEntities as I, pictureCredits as L, picturesInLanguage as R, removeEndingPoint as z, renderBlock as B, renderInline as V, renderPlain as H, useDataPackage as ee, useI18n as U, useSection as te, useSiteConfig as W } from "@museumwnf/viewer-core";
7
7
  //#region src/standalone/Banner.vue
8
- var V = {
8
+ var ne = {
9
9
  key: 0,
10
10
  class: "mwnf-standalone-banner__title"
11
- }, H = {
11
+ }, G = {
12
12
  __name: "Banner",
13
13
  props: {
14
14
  image: {
@@ -21,29 +21,29 @@ var V = {
21
21
  }
22
22
  },
23
23
  setup(e) {
24
- return (t, n) => (b(), d("div", {
24
+ return (t, n) => (S(), f("div", {
25
25
  class: "mwnf-standalone-banner",
26
- style: y(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
27
- }, [e.title ? (b(), d("h1", V, [f("span", null, w(e.title), 1)])) : u("", !0)], 4));
26
+ style: x(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
27
+ }, [e.title ? (S(), f("h1", ne, [p("span", null, E(e.title), 1)])) : d("", !0)], 4));
28
28
  }
29
29
  };
30
30
  //#endregion
31
31
  //#region src/standalone/chrome.js
32
- function U() {
33
- let t = B();
32
+ function K() {
33
+ let t = W();
34
34
  return (n) => e(t.chrome, n);
35
35
  }
36
- function W(e, t) {
36
+ function q(e, t) {
37
37
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
38
38
  }
39
- function G(e = /* @__PURE__ */ new Date()) {
39
+ function J(e = /* @__PURE__ */ new Date()) {
40
40
  let t = new Date(e.getFullYear(), 0, 1);
41
41
  return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
42
42
  }
43
- function K(e, t = /* @__PURE__ */ new Date()) {
44
- return e?.length ? e[G(t) % e.length] : null;
43
+ function Y(e, t = /* @__PURE__ */ new Date()) {
44
+ return e?.length ? e[J(t) % e.length] : null;
45
45
  }
46
- function q(e) {
46
+ function X(e) {
47
47
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
48
48
  return !t || n.length < 5 ? "" : [
49
49
  "mwnf3",
@@ -53,103 +53,103 @@ function q(e) {
53
53
  }
54
54
  //#endregion
55
55
  //#region src/standalone/Sponsors.vue
56
- var te = { class: "mwnf-standalone-sponsors" }, ne = {
56
+ var re = { class: "mwnf-standalone-sponsors" }, ie = {
57
57
  key: 0,
58
58
  class: "mwnf-standalone-sponsors__text"
59
- }, re = ["innerHTML"], ie = { key: 1 }, ae = ["innerHTML"], J = {
59
+ }, ae = ["innerHTML"], oe = { key: 1 }, se = ["innerHTML"], ce = {
60
60
  key: 1,
61
61
  class: "mwnf-standalone-sponsors__title"
62
- }, oe = {
62
+ }, le = {
63
63
  key: 2,
64
64
  class: "mwnf-standalone-sponsors__logos"
65
- }, se = {
65
+ }, ue = {
66
66
  key: 0,
67
67
  class: "mwnf-standalone-sponsors__note"
68
- }, ce = ["src", "alt"], le = ["innerHTML"], ue = ["href"], de = ["src", "alt"], fe = ["src", "alt"], pe = {
68
+ }, de = ["src", "alt"], fe = ["innerHTML"], pe = ["href"], me = ["src", "alt"], he = ["src", "alt"], ge = {
69
69
  key: 3,
70
70
  class: "mwnf-standalone-sponsors__links"
71
- }, Y = {
71
+ }, Z = {
72
72
  __name: "Sponsors",
73
73
  props: { columns: {
74
74
  type: Array,
75
75
  default: () => []
76
76
  } },
77
77
  setup(e) {
78
- let t = e, { t: n } = z(), i = U(), a = c(() => t.columns.map((e, t) => ({
78
+ let t = e, { t: r } = U(), i = K(), a = l(() => t.columns.map((e, t) => ({
79
79
  key: t,
80
80
  width: e.width ?? null,
81
- lead: e.lead ? I(n(e.lead)) : "",
82
- text: e.text ? I(n(e.text)) : "",
81
+ lead: e.lead ? V(r(e.lead)) : "",
82
+ text: e.text ? V(r(e.text)) : "",
83
83
  break: !!e.break,
84
- title: e.title ? n(e.title) : "",
84
+ title: e.title ? r(e.title) : "",
85
85
  logos: (e.logos ?? []).map((e) => ({
86
86
  src: i(e.src) ?? "",
87
- alt: e.alt ? n(e.alt) : "",
87
+ alt: e.alt ? r(e.alt) : "",
88
88
  href: e.href ?? "",
89
- note: e.note ? F(n(e.note)) : ""
89
+ note: e.note ? B(r(e.note)) : ""
90
90
  })),
91
91
  links: (e.links ?? []).map((e) => ({
92
92
  ...e,
93
- label: n(e.label)
93
+ label: r(e.label)
94
94
  }))
95
95
  })));
96
- return (e, t) => (b(), d("div", te, [(b(!0), d(s, null, S(a.value, (e) => (b(), d("div", {
96
+ return (e, t) => (S(), f("div", re, [(S(!0), f(c, null, w(a.value, (e) => (S(), f("div", {
97
97
  key: e.key,
98
98
  class: "mwnf-standalone-sponsors__column",
99
- style: y(e.width ? { flexGrow: e.width } : void 0)
99
+ style: x(e.width ? { flexGrow: e.width } : void 0)
100
100
  }, [
101
- e.lead || e.text ? (b(), d("p", ne, [
102
- e.lead ? (b(), d("i", {
101
+ e.lead || e.text ? (S(), f("p", ie, [
102
+ e.lead ? (S(), f("i", {
103
103
  key: 0,
104
104
  innerHTML: e.lead
105
- }, null, 8, re)) : u("", !0),
106
- e.lead && e.break ? (b(), d("br", ie)) : e.lead && e.text ? (b(), d(s, { key: 2 }, [m(w(" "))], 64)) : u("", !0),
107
- e.text ? (b(), d("span", {
105
+ }, null, 8, ae)) : d("", !0),
106
+ e.lead && e.break ? (S(), f("br", oe)) : e.lead && e.text ? (S(), f(c, { key: 2 }, [h(E(" "))], 64)) : d("", !0),
107
+ e.text ? (S(), f("span", {
108
108
  key: 3,
109
109
  innerHTML: e.text
110
- }, null, 8, ae)) : u("", !0)
111
- ])) : u("", !0),
112
- e.title ? (b(), d("p", J, w(e.title), 1)) : u("", !0),
113
- e.logos.length ? (b(), d("ul", oe, [(b(!0), d(s, null, S(e.logos, (e) => (b(), d("li", { key: e.src }, [e.note ? (b(), d("details", se, [f("summary", null, [f("img", {
110
+ }, null, 8, se)) : d("", !0)
111
+ ])) : d("", !0),
112
+ e.title ? (S(), f("p", ce, E(e.title), 1)) : d("", !0),
113
+ e.logos.length ? (S(), f("ul", le, [(S(!0), f(c, null, w(e.logos, (e) => (S(), f("li", { key: e.src }, [e.note ? (S(), f("details", ue, [p("summary", null, [p("img", {
114
114
  src: e.src,
115
115
  alt: e.alt
116
- }, null, 8, ce)]), f("div", {
116
+ }, null, 8, de)]), p("div", {
117
117
  class: "mwnf-standalone-sponsors__note-body",
118
118
  innerHTML: e.note
119
- }, null, 8, le)])) : e.href ? (b(), d("a", {
119
+ }, null, 8, fe)])) : e.href ? (S(), f("a", {
120
120
  key: 1,
121
121
  href: e.href,
122
122
  target: "_blank",
123
123
  rel: "noopener"
124
- }, [f("img", {
124
+ }, [p("img", {
125
125
  src: e.src,
126
126
  alt: e.alt
127
- }, null, 8, de)], 8, ue)) : (b(), d("img", {
127
+ }, null, 8, me)], 8, pe)) : (S(), f("img", {
128
128
  key: 2,
129
129
  src: e.src,
130
130
  alt: e.alt
131
- }, null, 8, fe))]))), 128))])) : u("", !0),
132
- e.links.length ? (b(), d("ul", pe, [(b(!0), d(s, null, S(e.links, (e) => (b(), d("li", { key: e.label }, [h(r, {
131
+ }, null, 8, he))]))), 128))])) : d("", !0),
132
+ e.links.length ? (S(), f("ul", ge, [(S(!0), f(c, null, w(e.links, (e) => (S(), f("li", { key: e.label }, [g(n, {
133
133
  to: e.to,
134
134
  href: e.href,
135
135
  external: !!e.external
136
136
  }, {
137
- default: O(() => [m(w(e.label), 1)]),
137
+ default: M(() => [h(E(e.label), 1)]),
138
138
  _: 2
139
139
  }, 1032, [
140
140
  "to",
141
141
  "href",
142
142
  "external"
143
- ])]))), 128))])) : u("", !0)
143
+ ])]))), 128))])) : d("", !0)
144
144
  ], 4))), 128))]));
145
145
  }
146
- }, me = { class: "mwnf-banner mwnf-standalone-home-banner" }, he = ["src"], ge = { class: "mwnf-standalone-home-banner__text" }, _e = {
146
+ }, _e = { class: "mwnf-banner mwnf-standalone-home-banner" }, ve = ["src"], ye = { class: "mwnf-standalone-home-banner__text" }, be = {
147
147
  key: 0,
148
148
  class: "mwnf-standalone-home-banner__title"
149
- }, ve = {
149
+ }, xe = {
150
150
  key: 1,
151
151
  class: "mwnf-standalone-home-banner__line"
152
- }, ye = ["src"], be = {
152
+ }, Se = ["src"], Ce = {
153
153
  __name: "Shell",
154
154
  props: {
155
155
  language: {
@@ -163,100 +163,100 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
163
163
  },
164
164
  emits: ["update:language"],
165
165
  setup(t, { emit: n }) {
166
- let r = t, i = n, { t: a, locale: s } = z(), m = B(), g = ee(), v = c(() => m.standalone ?? {}), y = c(() => m.navigation ?? {}), x = c(() => g.value === "home"), S = c(() => v.value.areas?.[g.value] ?? null), E = (t) => e(m.chrome, W(t, s.value)), D = c(() => {
167
- let e = v.value.logo ?? {}, t = E(S.value?.logo ?? e.src);
166
+ let r = t, i = n, { t: a, locale: o } = U(), c = W(), h = te(), _ = l(() => c.standalone ?? {}), v = l(() => c.navigation ?? {}), b = l(() => h.value === "home"), x = l(() => _.value.areas?.[h.value] ?? null), C = (t) => e(c.chrome, q(t, o.value)), w = l(() => {
167
+ let e = _.value.logo ?? {}, t = C(x.value?.logo ?? e.src);
168
168
  return t ? {
169
169
  logo: t,
170
170
  alt: e.alt ?? ""
171
171
  } : null;
172
- }), k = c(() => E(v.value.logo?.print)), A = c(() => (v.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (x.value ? "home" : "inner"))), j = c(() => {
172
+ }), O = l(() => C(_.value.logo?.print)), k = l(() => (_.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (b.value ? "home" : "inner"))), A = l(() => {
173
173
  let e = {
174
- ...v.value.banner ?? {},
175
- ...S.value?.banner ?? {}
174
+ ..._.value.banner ?? {},
175
+ ...x.value?.banner ?? {}
176
176
  };
177
- return E(x.value ? e.home : e.inner) ?? "";
178
- }), M = c(() => {
179
- let e = y.value.sectionTitles?.[g.value];
177
+ return C(b.value ? e.home : e.inner) ?? "";
178
+ }), j = l(() => {
179
+ let e = v.value.sectionTitles?.[h.value];
180
180
  return e ? a(e) : "";
181
- }), N = c(() => !x.value && !!(j.value || M.value)), P = c(() => {
182
- let { homeTitle: e, homeText: t } = v.value.banner ?? {};
183
- return x.value && (e || t) ? {
181
+ }), N = l(() => !b.value && !!(A.value || j.value)), P = l(() => {
182
+ let { homeTitle: e, homeText: t } = _.value.banner ?? {};
183
+ return b.value && (e || t) ? {
184
184
  title: e ? a(e) : "",
185
185
  text: t ? a(t) : ""
186
186
  } : null;
187
- }), F = c(() => {
188
- let e = v.value.sponsors;
189
- return e?.columns?.length && (e.on === "all" || x.value) ? e : null;
190
- }), I = c(() => ({
187
+ }), F = l(() => {
188
+ let e = _.value.sponsors;
189
+ return e?.columns?.length && (e.on === "all" || b.value) ? e : null;
190
+ }), I = l(() => ({
191
191
  navigation: {
192
- ...y.value,
193
- headerLinks: A.value,
192
+ ...v.value,
193
+ headerLinks: k.value,
194
194
  sectionTitles: {},
195
- ...v.value.languages === !1 ? { languages: [] } : {}
195
+ ..._.value.languages === !1 ? { languages: [] } : {}
196
196
  },
197
197
  banner: null,
198
- ...D.value ? { brand: D.value } : {}
199
- })), L = (/* @__PURE__ */ new Date()).getFullYear(), R = c(() => v.value.copyright ? `${a(v.value.copyright)} ${L}` : ""), V = c(() => [
198
+ ...w.value ? { brand: w.value } : {}
199
+ })), L = (/* @__PURE__ */ new Date()).getFullYear(), R = l(() => _.value.copyright ? `${a(_.value.copyright)} ${L}` : ""), z = l(() => [
200
200
  "mwnf-standalone",
201
- x.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
202
- S.value?.class ?? ""
201
+ b.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
202
+ x.value?.class ?? ""
203
203
  ]);
204
- return (e, t) => (b(), l(o, {
205
- class: _(V.value),
204
+ return (e, t) => (S(), u(s, {
205
+ class: y(z.value),
206
206
  config: I.value,
207
- languages: v.value.languages === !1 ? [] : r.languages,
207
+ languages: _.value.languages === !1 ? [] : r.languages,
208
208
  language: r.language,
209
209
  "language-placement": "header",
210
210
  "language-style": "select",
211
- "header-home": v.value.logo?.href ?? "",
212
- "header-title": x.value ? "" : v.value.heading ? T(a)(v.value.heading) : "",
213
- "header-subtitle": x.value ? "" : v.value.subheading ? T(a)(v.value.subheading) : "",
211
+ "header-home": _.value.logo?.href ?? "",
212
+ "header-title": b.value ? "" : _.value.heading ? D(a)(_.value.heading) : "",
213
+ "header-subtitle": b.value ? "" : _.value.subheading ? D(a)(_.value.subheading) : "",
214
214
  "header-title-href": "#/",
215
- "banner-image": x.value && !P.value ? j.value : "",
215
+ "banner-image": b.value && !P.value ? A.value : "",
216
216
  "footer-text": R.value || void 0,
217
217
  "onUpdate:language": t[0] ||= (e) => i("update:language", e)
218
- }, p({
219
- default: O(() => [C(e.$slots, "default")]),
218
+ }, m({
219
+ default: M(() => [T(e.$slots, "default")]),
220
220
  _: 2
221
221
  }, [
222
222
  N.value ? {
223
223
  name: "banner",
224
- fn: O(() => [h(H, {
225
- image: j.value,
226
- title: M.value
224
+ fn: M(() => [g(G, {
225
+ image: A.value,
226
+ title: j.value
227
227
  }, null, 8, ["image", "title"])]),
228
228
  key: "0"
229
229
  } : P.value ? {
230
230
  name: "banner",
231
- fn: O(() => [f("section", me, [j.value ? (b(), d("img", {
231
+ fn: M(() => [p("section", _e, [A.value ? (S(), f("img", {
232
232
  key: 0,
233
233
  class: "mwnf-banner__image",
234
- src: j.value,
234
+ src: A.value,
235
235
  alt: ""
236
- }, null, 8, he)) : u("", !0), f("div", ge, [P.value.title ? (b(), d("h2", _e, [f("i", null, w(P.value.title), 1)])) : u("", !0), P.value.text ? (b(), d("p", ve, [f("span", null, w(P.value.text), 1)])) : u("", !0)])])]),
236
+ }, null, 8, ve)) : d("", !0), p("div", ye, [P.value.title ? (S(), f("h2", be, [p("i", null, E(P.value.title), 1)])) : d("", !0), P.value.text ? (S(), f("p", xe, [p("span", null, E(P.value.text), 1)])) : d("", !0)])])]),
237
237
  key: "1"
238
238
  } : void 0,
239
- k.value ? {
239
+ O.value ? {
240
240
  name: "notice",
241
- fn: O(() => [f("img", {
241
+ fn: M(() => [p("img", {
242
242
  class: "mwnf-standalone__print-logo",
243
- src: k.value,
243
+ src: O.value,
244
244
  alt: ""
245
- }, null, 8, ye)]),
245
+ }, null, 8, Se)]),
246
246
  key: "2"
247
247
  } : void 0,
248
248
  e.$slots.sponsors ? {
249
249
  name: "sponsors",
250
- fn: O(() => [C(e.$slots, "sponsors")]),
250
+ fn: M(() => [T(e.$slots, "sponsors")]),
251
251
  key: "3"
252
252
  } : F.value ? {
253
253
  name: "sponsors",
254
- fn: O(() => [h(Y, { columns: F.value.columns }, null, 8, ["columns"])]),
254
+ fn: M(() => [g(Z, { columns: F.value.columns }, null, 8, ["columns"])]),
255
255
  key: "4"
256
256
  } : void 0,
257
257
  e.$slots.footer ? {
258
258
  name: "footer",
259
- fn: O(() => [C(e.$slots, "footer")]),
259
+ fn: M(() => [T(e.$slots, "footer")]),
260
260
  key: "5"
261
261
  } : void 0
262
262
  ]), 1032, [
@@ -271,19 +271,19 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
271
271
  "footer-text"
272
272
  ]));
273
273
  }
274
- }, xe = {
274
+ }, we = {
275
275
  key: 0,
276
276
  class: "mwnf-standalone-highlight"
277
- }, Se = ["src", "alt"], Ce = {
277
+ }, Te = ["src", "alt"], Ee = {
278
278
  key: 1,
279
279
  class: "mwnf-standalone-highlight__heading"
280
- }, we = { class: "mwnf-standalone-highlight__lines" }, Te = ["innerHTML"], Ee = {
280
+ }, De = { class: "mwnf-standalone-highlight__lines" }, Oe = ["innerHTML"], ke = {
281
281
  key: 2,
282
282
  class: "mwnf-standalone-highlight__place"
283
- }, De = {
283
+ }, Ae = {
284
284
  key: 3,
285
285
  class: "mwnf-standalone-highlight__action"
286
- }, X = {
286
+ }, Q = {
287
287
  __name: "TodayHighlight",
288
288
  props: {
289
289
  record: {
@@ -306,6 +306,10 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
306
306
  type: String,
307
307
  default: ""
308
308
  },
309
+ place: {
310
+ type: String,
311
+ default: null
312
+ },
309
313
  heading: {
310
314
  type: String,
311
315
  default: ""
@@ -320,51 +324,51 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
320
324
  }
321
325
  },
322
326
  setup(e) {
323
- let t = e, { t: n } = z(), i = (e) => P(Array.isArray(e) ? e.join("; ") : e), a = c(() => {
324
- let e = t.text ?? {}, r = [], a = i(e.name ?? t.record?.internal_name ?? "");
325
- a && r.push(I(a));
327
+ let t = e, { t: r } = U(), i = (e) => z(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
328
+ let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
329
+ a && n.push(V(a));
326
330
  let o = i(e.alternate_name);
327
- o && r.push(`${t.alsoKnownAs ? `${n(t.alsoKnownAs)} ` : ""}${I(o)}`);
331
+ o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${V(o)}`);
328
332
  let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
329
- s && r.push(I(s));
333
+ s && n.push(V(s));
330
334
  for (let t of ["materials", "holder"]) {
331
- let n = i(e[t]);
332
- n && r.push(I(n));
335
+ let r = i(e[t]);
336
+ r && n.push(V(r));
333
337
  }
334
- return r;
335
- }), o = c(() => [i(t.text?.location), t.country].filter(Boolean).join(", ")), p = c(() => t.picture || (t.record?.images?.[0]?.url ?? "")), g = c(() => L(String(t.text?.name ?? t.record?.internal_name ?? "")));
336
- return (t, i) => e.record ? (b(), d("div", xe, [
337
- p.value ? (b(), l(r, {
338
+ return n;
339
+ }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => H(String(t.text?.name ?? t.record?.internal_name ?? "")));
340
+ return (t, i) => e.record ? (S(), f("div", we, [
341
+ s.value ? (S(), u(n, {
338
342
  key: 0,
339
343
  class: "mwnf-standalone-highlight__media",
340
344
  to: e.to
341
345
  }, {
342
- default: O(() => [f("img", {
346
+ default: M(() => [p("img", {
343
347
  class: "mwnf-standalone-highlight__image",
344
- src: p.value,
345
- alt: g.value
346
- }, null, 8, Se)]),
348
+ src: s.value,
349
+ alt: m.value
350
+ }, null, 8, Te)]),
347
351
  _: 1
348
- }, 8, ["to"])) : u("", !0),
349
- e.heading ? (b(), d("p", Ce, [f("strong", null, w(T(n)(e.heading)), 1)])) : u("", !0),
350
- f("p", we, [(b(!0), d(s, null, S(a.value, (e, t) => (b(), d(s, { key: t }, [f("span", { innerHTML: e }, null, 8, Te), i[0] ||= f("br", null, null, -1)], 64))), 128))]),
351
- o.value ? (b(), d("p", Ee, w(T(L)(o.value)), 1)) : u("", !0),
352
- e.action ? (b(), d("p", De, [h(r, { to: e.to }, {
353
- default: O(() => [m(w(T(n)(e.action)), 1)]),
352
+ }, 8, ["to"])) : d("", !0),
353
+ e.heading ? (S(), f("p", Ee, [p("strong", null, E(D(r)(e.heading)), 1)])) : d("", !0),
354
+ p("p", De, [(S(!0), f(c, null, w(a.value, (e, t) => (S(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Oe), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
355
+ o.value ? (S(), f("p", ke, E(D(H)(o.value)), 1)) : d("", !0),
356
+ e.action ? (S(), f("p", Ae, [g(n, { to: e.to }, {
357
+ default: M(() => [h(E(D(r)(e.action)), 1)]),
354
358
  _: 1
355
- }, 8, ["to"])])) : u("", !0)
356
- ])) : u("", !0);
359
+ }, 8, ["to"])])) : d("", !0)
360
+ ])) : d("", !0);
357
361
  }
358
- }, Oe = {
362
+ }, je = {
359
363
  key: 0,
360
364
  class: "mwnf-standalone-tiles"
361
- }, ke = {
365
+ }, Me = {
362
366
  key: 0,
363
367
  class: "mwnf-standalone-tiles__caption"
364
- }, Ae = { class: "mwnf-standalone-tiles__grid" }, je = ["src", "alt"], Me = {
368
+ }, Ne = { class: "mwnf-standalone-tiles__grid" }, Pe = ["src", "alt"], Fe = {
365
369
  key: 0,
366
370
  class: "mwnf-standalone-tiles__label"
367
- }, Z = {
371
+ }, $ = {
368
372
  __name: "TileGrid",
369
373
  props: {
370
374
  caption: {
@@ -377,91 +381,92 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
377
381
  }
378
382
  },
379
383
  setup(e) {
380
- let t = e, { t: n } = z(), i = U(), a = c(() => t.items.map((e) => ({
384
+ let t = e, { t: r } = U(), i = K(), a = l(() => t.items.map((e) => ({
381
385
  ...e,
382
386
  image: i(e.image) ?? "",
383
- label: e.text ? L(e.text) : e.label ? n(e.label) : ""
387
+ label: e.text ? H(e.text) : e.label ? r(e.label) : ""
384
388
  })));
385
- return (t, i) => a.value.length ? (b(), d("section", Oe, [e.caption ? (b(), d("p", ke, w(T(n)(e.caption)), 1)) : u("", !0), f("ul", Ae, [(b(!0), d(s, null, S(a.value, (e) => (b(), d("li", {
389
+ return (t, i) => a.value.length ? (S(), f("section", je, [e.caption ? (S(), f("p", Me, E(D(r)(e.caption)), 1)) : d("", !0), p("ul", Ne, [(S(!0), f(c, null, w(a.value, (e) => (S(), f("li", {
386
390
  key: e.image,
387
391
  class: "mwnf-standalone-tiles__tile"
388
- }, [h(r, {
392
+ }, [g(n, {
389
393
  to: e.to,
390
394
  href: e.href,
391
395
  class: "mwnf-standalone-tiles__link"
392
396
  }, {
393
- default: O(() => [f("img", {
397
+ default: M(() => [p("img", {
394
398
  class: "mwnf-standalone-tiles__image",
395
399
  src: e.image,
396
400
  alt: e.label
397
- }, null, 8, je), e.label ? (b(), d("span", Me, w(e.label), 1)) : u("", !0)]),
401
+ }, null, 8, Pe), e.label ? (S(), f("span", Fe, E(e.label), 1)) : d("", !0)]),
398
402
  _: 2
399
- }, 1032, ["to", "href"])]))), 128))])])) : u("", !0);
403
+ }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
400
404
  }
401
- }, Ne = { class: "mwnf-standalone-home" }, Pe = {
405
+ }, Ie = { class: "mwnf-standalone-home" }, Le = {
402
406
  key: 0,
403
407
  class: "mwnf-standalone-home__links"
404
- }, Fe = { key: 1 }, Ie = {
408
+ }, Re = { key: 1 }, ze = {
405
409
  __name: "Home",
406
410
  props: { home: {
407
411
  type: Object,
408
412
  default: null
409
413
  } },
410
414
  setup(e) {
411
- let t = e, { t: n, locale: i } = z(), a = B(), o = c(() => t.home ?? a.standalone?.home ?? {}), f = c(() => (o.value.links ?? []).map((e) => ({
415
+ let t = e, { t: r, locale: i } = U(), a = W(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
412
416
  ...e,
413
- label: n(e.label),
414
- prefix: e.prefix ? n(e.prefix) : "",
415
- title: e.title ? n(e.title) : void 0
416
- }))), p = c(() => o.value.highlight ?? null), g = R();
417
- p.value?.list?.length && (j(["items", "countries"]), D(i, (e) => {
418
- g.loadTranslations("items", e), g.loadTranslations("countries", e);
417
+ label: r(e.label),
418
+ prefix: e.prefix ? r(e.prefix) : "",
419
+ title: e.title ? r(e.title) : void 0
420
+ }))), p = l(() => o.value.highlight ?? null), m = ee();
421
+ p.value?.list?.length && (I(["items", "countries"]), j(i, (e) => {
422
+ m.loadTranslations("items", e), m.loadTranslations("countries", e);
419
423
  }, { immediate: !0 }));
420
- let v = A("items", "backward_compatibility"), y = c(() => {
421
- let e = p.value?.list ?? [], t = e.indexOf(K(e));
424
+ let _ = F("items", "backward_compatibility"), v = l(() => {
425
+ let e = p.value?.list ?? [], t = e.indexOf(Y(e));
422
426
  for (let n = 0; t >= 0 && n < e.length; n++) {
423
- let r = v.value.get(q(e[(t + n) % e.length]));
427
+ let r = _.value.get(X(e[(t + n) % e.length]));
424
428
  if (r) return r;
425
429
  }
426
430
  return null;
427
- }), x = c(() => y.value ? g.tr("items", y.value.id, i.value, "en") : {}), T = c(() => {
428
- let e = y.value?.country_id;
429
- return e ? g.tr("countries", e, i.value, "en").name ?? "" : "";
430
- }), E = c(() => y.value ? {
431
+ }), b = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
432
+ let e = v.value?.country_id;
433
+ return e ? m.tr("countries", e, i.value, "en").name ?? "" : "";
434
+ }), C = l(() => v.value && p.value?.place ? p.value.place(v.value, b.value, x.value) : null), D = l(() => v.value ? {
431
435
  name: p.value.route ?? "item",
432
- params: { id: y.value.id }
433
- } : null), k = U(), M = c(() => {
436
+ params: { id: v.value.id }
437
+ } : null), O = K(), k = l(() => {
434
438
  let e = p.value?.pictures ?? [];
435
- return e.length ? k(K(e)) ?? "" : "";
436
- }), N = c(() => {
439
+ return e.length ? O(Y(e)) ?? "" : "";
440
+ }), A = l(() => {
437
441
  let e = o.value.tiles?.items;
438
442
  return (typeof e == "function" ? e() : e) ?? [];
439
443
  });
440
- return (e, t) => (b(), d("div", Ne, [
441
- f.value.length ? (b(), d("ul", Pe, [(b(!0), d(s, null, S(f.value, (e) => (b(), d("li", {
444
+ return (e, t) => (S(), f("div", Ie, [
445
+ s.value.length ? (S(), f("ul", Le, [(S(!0), f(c, null, w(s.value, (e) => (S(), f("li", {
442
446
  key: e.label,
443
- class: _({ "mwnf-standalone-home__link--gap": e.gap })
444
- }, [h(r, {
447
+ class: y({ "mwnf-standalone-home__link--gap": e.gap })
448
+ }, [g(n, {
445
449
  to: e.to,
446
450
  href: e.href,
447
451
  external: !!e.external,
448
452
  title: e.title
449
453
  }, {
450
- default: O(() => [e.prefix ? (b(), d(s, { key: 0 }, [m(w(`${e.prefix} `), 1)], 64)) : u("", !0), e.italic ? (b(), d("i", Fe, w(e.label), 1)) : (b(), d(s, { key: 2 }, [m(w(e.label), 1)], 64))]),
454
+ default: M(() => [e.prefix ? (S(), f(c, { key: 0 }, [h(E(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (S(), f("i", Re, E(e.label), 1)) : (S(), f(c, { key: 2 }, [h(E(e.label), 1)], 64))]),
451
455
  _: 2
452
456
  }, 1032, [
453
457
  "to",
454
458
  "href",
455
459
  "external",
456
460
  "title"
457
- ])], 2))), 128))])) : u("", !0),
458
- p.value ? (b(), l(X, {
461
+ ])], 2))), 128))])) : d("", !0),
462
+ p.value ? (S(), u(Q, {
459
463
  key: 1,
460
- record: y.value,
461
- text: x.value,
462
- country: T.value,
463
- to: E.value,
464
- picture: M.value,
464
+ record: v.value,
465
+ text: b.value,
466
+ country: x.value,
467
+ place: C.value,
468
+ to: D.value,
469
+ picture: k.value,
465
470
  heading: p.value.heading ?? "",
466
471
  "also-known-as": p.value.alsoKnownAs ?? "",
467
472
  action: p.value.action ?? ""
@@ -469,24 +474,25 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
469
474
  "record",
470
475
  "text",
471
476
  "country",
477
+ "place",
472
478
  "to",
473
479
  "picture",
474
480
  "heading",
475
481
  "also-known-as",
476
482
  "action"
477
- ])) : u("", !0),
478
- o.value.tiles ? (b(), l(Z, {
483
+ ])) : d("", !0),
484
+ o.value.tiles ? (S(), u($, {
479
485
  key: 2,
480
486
  caption: o.value.tiles.caption ?? "",
481
- items: N.value
482
- }, null, 8, ["caption", "items"])) : u("", !0),
483
- C(e.$slots, "default")
487
+ items: A.value
488
+ }, null, 8, ["caption", "items"])) : d("", !0),
489
+ T(e.$slots, "default")
484
490
  ]));
485
491
  }
486
- }, Le = { class: "mwnf-standalone-related" }, Re = { class: "mwnf-standalone-related__heading" }, ze = { class: "mwnf-standalone-related__group-heading" }, Be = { class: "mwnf-standalone-related__thumbs" }, Ve = ["src", "alt"], He = ["innerHTML"], Ue = {
492
+ }, Be = { class: "mwnf-standalone-related" }, Ve = { class: "mwnf-standalone-related__heading" }, He = { class: "mwnf-standalone-related__group-heading" }, Ue = { class: "mwnf-standalone-related__thumbs" }, We = ["src", "alt"], Ge = ["innerHTML"], Ke = {
487
493
  key: 0,
488
494
  class: "mwnf-standalone-related__download"
489
- }, We = { class: "mwnf-standalone-related__download-heading" }, Q = {
495
+ }, qe = { class: "mwnf-standalone-related__download-heading" }, Je = {
490
496
  __name: "RelatedContent",
491
497
  props: {
492
498
  heading: {
@@ -507,44 +513,44 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
507
513
  }
508
514
  },
509
515
  setup(e) {
510
- let t = e, { t: n } = z(), i = c(() => t.groups.map((e) => ({
511
- heading: n(e.heading),
516
+ let t = e, { t: r } = U(), i = l(() => t.groups.map((e) => ({
517
+ heading: r(e.heading),
512
518
  rows: t.records.filter((t) => !e.type || t.badge === e.type)
513
519
  })).filter((e) => e.rows.length));
514
520
  function a() {
515
521
  window.print();
516
522
  }
517
- return (t, o) => (b(), d("aside", Le, [
518
- f("p", Re, [f("strong", null, w(T(n)(e.heading)), 1)]),
519
- (b(!0), d(s, null, S(i.value, (e) => (b(), d("div", {
523
+ return (t, o) => (S(), f("aside", Be, [
524
+ p("p", Ve, [p("strong", null, E(D(r)(e.heading)), 1)]),
525
+ (S(!0), f(c, null, w(i.value, (e) => (S(), f("div", {
520
526
  key: e.heading,
521
527
  class: "mwnf-standalone-related__group"
522
- }, [f("p", ze, w(e.heading), 1), f("ul", Be, [(b(!0), d(s, null, S(e.rows, (e) => (b(), d("li", { key: e.id }, [h(r, {
528
+ }, [p("p", He, E(e.heading), 1), p("ul", Ue, [(S(!0), f(c, null, w(e.rows, (e) => (S(), f("li", { key: e.id }, [g(n, {
523
529
  to: e.to,
524
530
  title: e.imageAlt
525
531
  }, {
526
- default: O(() => [e.image ? (b(), d("img", {
532
+ default: M(() => [e.image ? (S(), f("img", {
527
533
  key: 0,
528
534
  src: e.image,
529
535
  alt: e.imageAlt
530
- }, null, 8, Ve)) : (b(), d("span", {
536
+ }, null, 8, We)) : (S(), f("span", {
531
537
  key: 1,
532
538
  innerHTML: e.name
533
- }, null, 8, He))]),
539
+ }, null, 8, Ge))]),
534
540
  _: 2
535
541
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
536
- C(t.$slots, "default"),
537
- e.download ? (b(), d("div", Ue, [f("p", We, w(T(n)(e.download.heading)), 1), f("button", {
542
+ T(t.$slots, "default"),
543
+ e.download ? (S(), f("div", Ke, [p("p", qe, E(D(r)(e.download.heading)), 1), p("button", {
538
544
  type: "button",
539
545
  class: "mwnf-standalone-related__print",
540
546
  onClick: a
541
- }, w(T(n)(e.download.print)), 1)])) : u("", !0)
547
+ }, E(D(r)(e.download.print)), 1)])) : d("", !0)
542
548
  ]));
543
549
  }
544
- }, Ge = { class: "mwnf-standalone-item__top" }, Ke = { class: "mwnf-standalone-item__left" }, qe = {
550
+ }, Ye = { class: "mwnf-standalone-item__top" }, Xe = { class: "mwnf-standalone-item__left" }, Ze = {
545
551
  key: 0,
546
552
  class: "mwnf-standalone-item__back"
547
- }, Je = {
553
+ }, Qe = {
548
554
  __name: "ItemSheet",
549
555
  props: {
550
556
  spec: {
@@ -565,47 +571,47 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
565
571
  }
566
572
  },
567
573
  setup(e) {
568
- let o = e, { t: _ } = z(), y = E(), x = c(() => ({
569
- ...o.spec,
574
+ let i = e, { t: s } = U(), v = k(), y = l(() => ({
575
+ ...i.spec,
570
576
  media: () => []
571
577
  }));
572
- function T(e) {
573
- return i(D(e), o.spec.pictureLimit, e);
578
+ function x(e) {
579
+ return a(C(e), i.spec.pictureLimit, e);
574
580
  }
575
- function D({ record: e, text: t, language: n }) {
576
- if (o.spec.media) return o.spec.media(e, {
581
+ function C({ record: e, text: t, language: n }) {
582
+ if (i.spec.media) return i.spec.media(e, {
577
583
  record: e,
578
584
  text: t,
579
585
  language: n
580
586
  });
581
- let r = L(String(t?.name ?? e?.internal_name ?? ""));
582
- return N(e?.images, n).map((e) => ({
587
+ let r = H(String(t?.name ?? e?.internal_name ?? ""));
588
+ return R(e?.images, n).map((e) => ({
583
589
  url: e.url,
584
590
  alt: e.captions?.[n] ?? r,
585
591
  caption: e.captions?.[n] ?? "",
586
- ...M(e, n)
592
+ ...L(e, n)
587
593
  }));
588
594
  }
589
- let k = c(() => o.back.map((e) => ({
595
+ let D = l(() => i.back.map((e) => ({
590
596
  ...e,
591
- label: _(e.label)
592
- }))), A = /* @__PURE__ */ new Set([
597
+ label: s(e.label)
598
+ }))), O = /* @__PURE__ */ new Set([
593
599
  "header",
594
600
  "before-sheet",
595
601
  "related",
596
602
  "sidebar",
597
603
  "aside",
598
604
  "source"
599
- ]), j = c(() => Object.keys(y).filter((e) => !A.has(e)));
600
- function P() {
605
+ ]), A = l(() => Object.keys(v).filter((e) => !O.has(e)));
606
+ function j() {
601
607
  window.history.back();
602
608
  }
603
- return (i, o) => (b(), l(a, {
604
- spec: x.value,
609
+ return (i, a) => (S(), u(o, {
610
+ spec: y.value,
605
611
  id: e.id,
606
612
  class: "mwnf-standalone-item"
607
- }, p({
608
- header: O(({ languages: e, language: n, select: r }) => [f("div", Ge, [h(t, {
613
+ }, m({
614
+ header: M(({ languages: e, language: n, select: r }) => [p("div", Ye, [g(t, {
609
615
  languages: e,
610
616
  language: n,
611
617
  onSelect: r
@@ -614,27 +620,27 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
614
620
  "language",
615
621
  "onSelect"
616
622
  ])])]),
617
- "before-sheet": O((e) => [f("div", Ke, [k.value.length ? (b(), d("p", qe, [(b(!0), d(s, null, S(k.value, (e) => (b(), d(s, { key: e.label }, [e.history ? (b(), d("button", {
623
+ "before-sheet": M((e) => [p("div", Xe, [D.value.length ? (S(), f("p", Ze, [(S(!0), f(c, null, w(D.value, (e) => (S(), f(c, { key: e.label }, [e.history ? (S(), f("button", {
618
624
  key: 0,
619
625
  type: "button",
620
626
  class: "mwnf-standalone-item__back-link",
621
- onClick: P
622
- }, w(e.label), 1)) : (b(), l(r, {
627
+ onClick: j
628
+ }, E(e.label), 1)) : (S(), u(n, {
623
629
  key: 1,
624
630
  class: "mwnf-standalone-item__back-link",
625
631
  to: e.to,
626
632
  href: e.href
627
633
  }, {
628
- default: O(() => [m(w(e.label), 1)]),
634
+ default: M(() => [h(E(e.label), 1)]),
629
635
  _: 2
630
- }, 1032, ["to", "href"]))], 64))), 128))])) : u("", !0), h(n, { images: T(e) }, null, 8, ["images"])]), C(i.$slots, "before-sheet", v(g(e)))]),
631
- related: O((t) => [h(Q, {
636
+ }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, { images: x(e) }, null, 8, ["images"])]), T(i.$slots, "before-sheet", b(_(e)))]),
637
+ related: M((t) => [g(Je, {
632
638
  heading: e.related.heading ?? "record.related.title",
633
639
  records: t.records,
634
640
  groups: e.related.groups ?? [],
635
641
  download: e.related.download ?? null
636
642
  }, {
637
- default: O(() => [C(i.$slots, "sidebar", v(g(t)))]),
643
+ default: M(() => [T(i.$slots, "sidebar", b(_(t)))]),
638
644
  _: 2
639
645
  }, 1032, [
640
646
  "heading",
@@ -642,20 +648,271 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
642
648
  "groups",
643
649
  "download"
644
650
  ])]),
645
- source: O((e) => [C(i.$slots, "source", v(g(e)))]),
651
+ source: M((e) => [T(i.$slots, "source", b(_(e)))]),
646
652
  _: 2
647
- }, [S(j.value, (e) => ({
653
+ }, [w(A.value, (e) => ({
648
654
  name: e,
649
- fn: O((t) => [C(i.$slots, e, v(g(t)))])
655
+ fn: M((t) => [T(i.$slots, e, b(_(t)))])
650
656
  }))]), 1032, ["spec", "id"]));
651
657
  }
652
- }, Ye = ["innerHTML"], Xe = {
658
+ }, $e = {
659
+ key: 0,
660
+ class: "mwnf-standalone-item__top"
661
+ }, et = {
662
+ key: 1,
663
+ hidden: ""
664
+ }, tt = {
665
+ key: 0,
666
+ class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
667
+ }, nt = { class: "mwnf-standalone-partner__heading" }, rt = ["dir", "innerHTML"], it = {
668
+ key: 0,
669
+ class: "mwnf-standalone-partner__location"
670
+ }, at = { class: "mwnf-standalone-partner__bar" }, ot = { class: "mwnf-standalone-partner__bar-start" }, st = ["aria-label", "onKeydown"], ct = [
671
+ "id",
672
+ "aria-selected",
673
+ "aria-controls",
674
+ "tabindex",
675
+ "onClick"
676
+ ], lt = {
677
+ key: 0,
678
+ class: "mwnf-standalone-partner__divider",
679
+ "aria-hidden": "true"
680
+ }, ut = { key: 0 }, dt = ["href"], ft = { class: "mwnf-standalone-partner__bar-end" }, pt = { class: "mwnf-standalone-partner__body" }, mt = { class: "mwnf-standalone-partner__pictures" }, ht = { class: "mwnf-standalone-partner__panels" }, gt = [
681
+ "id",
682
+ "aria-labelledby",
683
+ "dir",
684
+ "innerHTML"
685
+ ], _t = ["id", "aria-labelledby"], vt = ["innerHTML"], yt = ["href"], bt = { key: 0 }, xt = ["href"], St = ["href"], Ct = ["id", "aria-labelledby"], wt = ["src"], Tt = {
686
+ key: 0,
687
+ class: "mwnf-standalone-partner__map"
688
+ }, Et = { class: "mwnf-standalone-partner__map-heading" }, Dt = {
689
+ __name: "PartnerPage",
690
+ props: {
691
+ id: {
692
+ type: String,
693
+ required: !0
694
+ },
695
+ view: {
696
+ type: Function,
697
+ required: !0
698
+ },
699
+ back: {
700
+ type: [Array, Function],
701
+ default: () => []
702
+ },
703
+ items: {
704
+ type: Function,
705
+ default: () => null
706
+ },
707
+ map: {
708
+ type: Function,
709
+ default: (e) => e?.type === "museum"
710
+ },
711
+ about: {
712
+ type: Function,
713
+ default: () => !0
714
+ },
715
+ bands: {
716
+ type: Function,
717
+ default: (e) => e?.type === "museum"
718
+ },
719
+ labels: {
720
+ type: Object,
721
+ default: () => ({})
722
+ },
723
+ links: {
724
+ type: Boolean,
725
+ default: !1
726
+ }
727
+ },
728
+ setup(e) {
729
+ let a = e, { t: s, locale: m } = U(), _ = O(), b = {
730
+ entity: "partners",
731
+ fields: [],
732
+ shortDescription: !1,
733
+ media: () => [],
734
+ citation: !1,
735
+ related: !1
736
+ }, x = {
737
+ about: "partner.info.about",
738
+ contact: "partner.info.contact",
739
+ logo: "partner.info.logo",
740
+ homepage: "partner.nav.homepage",
741
+ addresses: "partner.info.addresses",
742
+ phone: "partner.info.phone",
743
+ fax: "partner.info.fax",
744
+ map: "partner.map.map"
745
+ }, T = (e) => s(a.labels[e] ?? x[e]);
746
+ function k(e) {
747
+ return (typeof a.back == "function" ? a.back(e) ?? [] : a.back).map((e) => ({
748
+ ...e,
749
+ label: s(e.label)
750
+ }));
751
+ }
752
+ function P() {
753
+ window.history.back();
754
+ }
755
+ function F(e, t, n) {
756
+ let r = [];
757
+ return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
758
+ }
759
+ let I = C("about");
760
+ j(() => a.id, () => {
761
+ I.value = "about";
762
+ });
763
+ function L(e, t) {
764
+ let n = t.indexOf(I.value), r = {
765
+ ArrowRight: (n + 1) % t.length,
766
+ ArrowLeft: (n - 1 + t.length) % t.length,
767
+ Home: 0,
768
+ End: t.length - 1
769
+ }[e.key];
770
+ r === void 0 || !t.length || (e.preventDefault(), I.value = t[r], v(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
771
+ }
772
+ let R = (e) => e.pictures.map((e) => ({
773
+ url: e.url,
774
+ alt: e.alt
775
+ })), z = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []], B = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), V = l(() => String(m.value || "en"));
776
+ return (l, m) => (S(), u(o, {
777
+ spec: b,
778
+ id: e.id,
779
+ class: "mwnf-standalone-partner"
780
+ }, {
781
+ header: M(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (S(), f("div", $e, [g(t, {
782
+ languages: r,
783
+ language: i,
784
+ onSelect: a
785
+ }, null, 8, [
786
+ "languages",
787
+ "language",
788
+ "onSelect"
789
+ ])])) : (S(), f("div", et))]),
790
+ "before-sheet": M(({ record: t, text: i, dir: o }) => [(S(!0), f(c, null, w([a.view(t, i)], (a) => (S(), f(c, { key: t.id }, [
791
+ k(t).length ? (S(), f("p", tt, [(S(!0), f(c, null, w(k(t), (e) => (S(), f(c, { key: e.label }, [e.history ? (S(), f("button", {
792
+ key: 0,
793
+ type: "button",
794
+ class: "mwnf-standalone-item__back-link",
795
+ onClick: P
796
+ }, E(e.label), 1)) : (S(), u(n, {
797
+ key: 1,
798
+ class: "mwnf-standalone-item__back-link",
799
+ to: e.to,
800
+ href: e.href
801
+ }, {
802
+ default: M(() => [h(E(e.label), 1)]),
803
+ _: 2
804
+ }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
805
+ p("div", nt, [p("h3", {
806
+ class: "mwnf-standalone-partner__name",
807
+ dir: o || void 0,
808
+ innerHTML: a.name
809
+ }, null, 8, rt), a.location ? (S(), f("h4", it, [p("i", null, E(a.location), 1)])) : d("", !0)]),
810
+ p("div", at, [p("div", ot, [p("ul", {
811
+ role: "tablist",
812
+ class: "mwnf-standalone-partner__tabs",
813
+ "aria-label": a.plainName,
814
+ onKeydown: (e) => L(e, F(a, t, i))
815
+ }, [(S(!0), f(c, null, w(F(a, t, i), (e, n) => (S(), f("li", {
816
+ key: e,
817
+ role: "presentation"
818
+ }, [p("button", {
819
+ id: `${D(_)}-tab-${e}`,
820
+ type: "button",
821
+ role: "tab",
822
+ class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": I.value === e }]),
823
+ "aria-selected": I.value === e ? "true" : "false",
824
+ "aria-controls": `${D(_)}-panel-${e}`,
825
+ tabindex: I.value === e ? 0 : -1,
826
+ onClick: (t) => I.value = e
827
+ }, "\xA0" + E(T(e)), 11, ct), n < F(a, t, i).length - 1 || a.contact.website ? (S(), f("span", lt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (S(), f("li", ut, [p("a", {
828
+ class: "mwnf-standalone-partner__homepage",
829
+ href: a.contact.website.url,
830
+ target: "_blank",
831
+ rel: "noopener"
832
+ }, "\xA0" + E(T("homepage")), 9, dt)])) : d("", !0)], 40, st)]), p("div", ft, [e.items(t) ? (S(), u(n, {
833
+ key: 0,
834
+ class: "mwnf-standalone-partner__items",
835
+ to: e.items(t).to
836
+ }, {
837
+ default: M(() => [h(E(D(s)(e.items(t).label)), 1)]),
838
+ _: 2
839
+ }, 1032, ["to"])) : d("", !0)])]),
840
+ p("div", pt, [p("div", mt, [a.pictures.length ? (S(), u(r, {
841
+ key: 0,
842
+ images: R(a)
843
+ }, null, 8, ["images"])) : d("", !0)]), p("div", ht, [
844
+ N(p("div", {
845
+ id: `${D(_)}-panel-about`,
846
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
847
+ role: "tabpanel",
848
+ "aria-labelledby": `${D(_)}-tab-about`,
849
+ dir: o || void 0,
850
+ innerHTML: a.description
851
+ }, null, 8, gt), [[A, I.value === "about"]]),
852
+ a.hasContact ? N((S(), f("div", {
853
+ key: 0,
854
+ id: `${D(_)}-panel-contact`,
855
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
856
+ role: "tabpanel",
857
+ "aria-labelledby": `${D(_)}-tab-contact`
858
+ }, [B(a) ? (S(), f(c, { key: 0 }, [p("p", null, [
859
+ p("b", null, E(T("addresses")), 1),
860
+ m[4] ||= p("br", null, null, -1),
861
+ a.contact.address ? (S(), f(c, { key: 0 }, [p("span", {
862
+ class: "mwnf-standalone-partner__address",
863
+ innerHTML: a.contact.address
864
+ }, null, 8, vt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
865
+ a.contact.phone ? (S(), f(c, { key: 1 }, [h(E(T("phone")) + " " + E(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
866
+ a.contact.fax ? (S(), f(c, { key: 2 }, [h(E(T("fax")) + " " + E(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
867
+ a.contact.email ? (S(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, E(a.contact.email), 9, yt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
868
+ ]), z(a).length ? (S(), f("p", bt, [(S(!0), f(c, null, w(z(a), (e, t) => (S(), f(c, { key: e.url }, [t ? (S(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
869
+ href: e.url,
870
+ target: "_blank",
871
+ rel: "noopener"
872
+ }, E(e.label), 9, xt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (S(!0), f(c, null, w(a.persons, (e, t) => (S(), f("p", { key: t }, [
873
+ e.title ? (S(), f(c, { key: 0 }, [p("strong", null, E(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
874
+ e.name ? (S(), f(c, { key: 1 }, [h(E(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
875
+ e.phone ? (S(), f(c, { key: 2 }, [h(E(T("phone")) + " " + E(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
876
+ e.fax ? (S(), f(c, { key: 3 }, [h(E(T("fax")) + " " + E(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
877
+ e.email ? (S(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, E(e.email), 9, St), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
878
+ ]))), 128))], 8, _t)), [[A, I.value === "contact"]]) : d("", !0),
879
+ a.logos.length ? N((S(), f("div", {
880
+ key: 1,
881
+ id: `${D(_)}-panel-logo`,
882
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
883
+ role: "tabpanel",
884
+ "aria-labelledby": `${D(_)}-tab-logo`
885
+ }, [(S(!0), f(c, null, w(a.logos, (e) => (S(), f("img", {
886
+ key: e.url,
887
+ src: e.url,
888
+ alt: ""
889
+ }, null, 8, wt))), 128))], 8, Ct)), [[A, I.value === "logo"]]) : d("", !0)
890
+ ])])
891
+ ], 64))), 128))]),
892
+ after: M(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (S(), f("section", Tt, [p("h3", Et, E(T("map")), 1), g(i, {
893
+ provider: "google",
894
+ latitude: a.view(t, n).map.latitude,
895
+ longitude: a.view(t, n).map.longitude,
896
+ zoom: a.view(t, n).map.zoom,
897
+ label: a.view(t, n).map.label,
898
+ language: V.value
899
+ }, null, 8, [
900
+ "latitude",
901
+ "longitude",
902
+ "zoom",
903
+ "label",
904
+ "language"
905
+ ])])) : d("", !0)]),
906
+ _: 1
907
+ }, 8, ["id"]));
908
+ }
909
+ }, Ot = ["innerHTML"], kt = {
653
910
  key: 0,
654
911
  class: "mwnf-standalone-page__link"
655
- }, Ze = {
912
+ }, At = {
656
913
  key: 1,
657
914
  class: "mwnf-standalone-page__print"
658
- }, Qe = {
915
+ }, jt = {
659
916
  __name: "TextPage",
660
917
  props: {
661
918
  body: {
@@ -676,33 +933,33 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
676
933
  }
677
934
  },
678
935
  setup(e) {
679
- let t = e, { t: n } = z(), i = c(() => F(n(t.body)));
936
+ let t = e, { t: r } = U(), i = l(() => B(r(t.body)));
680
937
  function a() {
681
938
  window.print();
682
939
  }
683
- return (t, o) => (b(), d("article", { class: _(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
684
- f("div", {
940
+ return (t, o) => (S(), f("article", { class: y(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
941
+ p("div", {
685
942
  class: "mwnf-standalone-page__body",
686
943
  innerHTML: i.value
687
- }, null, 8, Ye),
688
- e.link ? (b(), d("p", Xe, [h(r, {
944
+ }, null, 8, Ot),
945
+ e.link ? (S(), f("p", kt, [g(n, {
689
946
  to: e.link.to,
690
947
  href: e.link.href
691
948
  }, {
692
- default: O(() => [f("strong", null, w(e.link.text ?? T(n)(e.link.label)), 1)]),
949
+ default: M(() => [p("strong", null, E(e.link.text ?? D(r)(e.link.label)), 1)]),
693
950
  _: 1
694
- }, 8, ["to", "href"])])) : u("", !0),
695
- e.print ? (b(), d("p", Ze, [f("button", {
951
+ }, 8, ["to", "href"])])) : d("", !0),
952
+ e.print ? (S(), f("p", At, [p("button", {
696
953
  type: "button",
697
954
  class: "mwnf-standalone-page__print-button",
698
955
  onClick: a
699
- }, w(T(n)(e.print)), 1)])) : u("", !0)
956
+ }, E(D(r)(e.print)), 1)])) : d("", !0)
700
957
  ], 2));
701
958
  }
702
- }, $e = {
959
+ }, Mt = {
703
960
  key: 0,
704
961
  class: "mwnf-standalone-subnav"
705
- }, et = { class: "mwnf-standalone-subnav__tabs" }, tt = {
962
+ }, Nt = { class: "mwnf-standalone-subnav__tabs" }, Pt = {
706
963
  __name: "SubNav",
707
964
  props: {
708
965
  tabs: {
@@ -715,40 +972,40 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
715
972
  }
716
973
  },
717
974
  setup(e) {
718
- let t = e, { t: n } = z(), i = c(() => t.tabs.map((e) => ({
975
+ let t = e, { t: r } = U(), i = l(() => t.tabs.map((e) => ({
719
976
  ...e,
720
- label: n(e.label)
977
+ label: r(e.label)
721
978
  })));
722
- return (t, a) => i.value.length || e.aside ? (b(), d("nav", $e, [f("ul", et, [(b(!0), d(s, null, S(i.value, (e) => (b(), d("li", { key: e.label }, [h(r, {
979
+ return (t, a) => i.value.length || e.aside ? (S(), f("nav", Mt, [p("ul", Nt, [(S(!0), f(c, null, w(i.value, (e) => (S(), f("li", { key: e.label }, [g(n, {
723
980
  to: e.to,
724
981
  href: e.href,
725
- class: _(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
982
+ class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
726
983
  "aria-current": e.active ? "page" : void 0
727
984
  }, {
728
- default: O(() => [m(w(e.label), 1)]),
985
+ default: M(() => [h(E(e.label), 1)]),
729
986
  _: 2
730
987
  }, 1032, [
731
988
  "to",
732
989
  "href",
733
990
  "class",
734
991
  "aria-current"
735
- ])]))), 128))]), e.aside ? (b(), l(r, {
992
+ ])]))), 128))]), e.aside ? (S(), u(n, {
736
993
  key: 0,
737
994
  to: e.aside.to,
738
995
  href: e.aside.href,
739
996
  class: "mwnf-standalone-subnav__aside"
740
997
  }, {
741
- default: O(() => [m(w(T(n)(e.aside.label)), 1)]),
998
+ default: M(() => [h(E(D(r)(e.aside.label)), 1)]),
742
999
  _: 1
743
- }, 8, ["to", "href"])) : u("", !0)])) : u("", !0);
1000
+ }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
744
1001
  }
745
- }, nt = { class: "mwnf-standalone-results" }, rt = {
1002
+ }, Ft = { class: "mwnf-standalone-results" }, It = {
746
1003
  key: 0,
747
1004
  class: "mwnf-standalone-results__empty"
748
- }, it = { class: "mwnf-standalone-results__tile" }, at = ["src"], ot = { class: "mwnf-standalone-results__panel" }, st = ["src"], ct = { class: "mwnf-standalone-results__name" }, lt = ["innerHTML"], ut = ["innerHTML"], dt = {
1005
+ }, Lt = { class: "mwnf-standalone-results__tile" }, Rt = ["src"], zt = { class: "mwnf-standalone-results__panel" }, Bt = ["src"], Vt = { class: "mwnf-standalone-results__name" }, Ht = ["innerHTML"], Ut = ["innerHTML"], Wt = {
749
1006
  key: 0,
750
1007
  class: "mwnf-standalone-results__holder"
751
- }, ft = ["innerHTML"], $ = ["innerHTML"], pt = {
1008
+ }, Gt = ["innerHTML"], Kt = ["innerHTML"], qt = {
752
1009
  __name: "ResultsGrid",
753
1010
  props: {
754
1011
  rows: {
@@ -769,61 +1026,61 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
769
1026
  }
770
1027
  },
771
1028
  setup(e) {
772
- return (t, n) => (b(), d("div", nt, [e.rows.length ? u("", !0) : (b(), d("p", rt, w(e.empty), 1)), (b(!0), d(s, null, S(e.rows, (t) => (b(), d("div", {
1029
+ return (t, r) => (S(), f("div", Ft, [e.rows.length ? d("", !0) : (S(), f("p", It, E(e.empty), 1)), (S(!0), f(c, null, w(e.rows, (t) => (S(), f("div", {
773
1030
  key: t.id,
774
1031
  class: "mwnf-standalone-results__cell"
775
- }, [f("div", it, [h(r, {
1032
+ }, [p("div", Lt, [g(n, {
776
1033
  class: "mwnf-standalone-results__frame",
777
1034
  to: t.to,
778
1035
  href: t.href
779
1036
  }, {
780
- default: O(() => [f("img", {
1037
+ default: M(() => [p("img", {
781
1038
  src: t.image || e.noImage,
782
1039
  alt: ""
783
- }, null, 8, at)]),
1040
+ }, null, 8, Rt)]),
784
1041
  _: 2
785
- }, 1032, ["to", "href"]), f("div", ot, [
786
- h(r, {
1042
+ }, 1032, ["to", "href"]), p("div", zt, [
1043
+ g(n, {
787
1044
  class: "mwnf-standalone-results__panel-frame",
788
1045
  to: t.to,
789
1046
  href: t.href
790
1047
  }, {
791
- default: O(() => [f("img", {
1048
+ default: M(() => [p("img", {
792
1049
  src: t.image || e.noImage,
793
1050
  alt: ""
794
- }, null, 8, st)]),
1051
+ }, null, 8, Bt)]),
795
1052
  _: 2
796
1053
  }, 1032, ["to", "href"]),
797
- f("p", ct, [f("strong", null, [h(r, {
1054
+ p("p", Vt, [p("strong", null, [g(n, {
798
1055
  to: t.to,
799
1056
  href: t.href
800
1057
  }, {
801
- default: O(() => [f("span", { innerHTML: t.name }, null, 8, lt)]),
1058
+ default: M(() => [p("span", { innerHTML: t.name }, null, 8, Ht)]),
802
1059
  _: 2
803
1060
  }, 1032, ["to", "href"])])]),
804
- (b(!0), d(s, null, S(t.lines ?? [], (e, t) => (b(), d("p", {
1061
+ (S(!0), f(c, null, w(t.lines ?? [], (e, t) => (S(), f("p", {
805
1062
  key: t,
806
1063
  innerHTML: e
807
- }, null, 8, ut))), 128)),
808
- t.holder ? (b(), d("p", dt, [f("strong", { innerHTML: t.holder }, null, 8, ft)])) : u("", !0),
809
- t.location ? (b(), d("p", {
1064
+ }, null, 8, Ut))), 128)),
1065
+ t.holder ? (S(), f("p", Wt, [p("strong", { innerHTML: t.holder }, null, 8, Gt)])) : d("", !0),
1066
+ t.location ? (S(), f("p", {
810
1067
  key: 1,
811
1068
  innerHTML: t.location
812
- }, null, 8, $)) : u("", !0),
813
- f("p", null, [h(r, {
1069
+ }, null, 8, Kt)) : d("", !0),
1070
+ p("p", null, [g(n, {
814
1071
  class: "mwnf-standalone-results__see",
815
1072
  to: t.to,
816
1073
  href: t.href
817
1074
  }, {
818
- default: O(() => [m(w(e.seeLabel), 1)]),
1075
+ default: M(() => [h(E(e.seeLabel), 1)]),
819
1076
  _: 1
820
1077
  }, 8, ["to", "href"])])
821
1078
  ])])]))), 128))]));
822
1079
  }
823
- }, mt = {
1080
+ }, Jt = {
824
1081
  key: 0,
825
1082
  class: "mwnf-standalone-pages"
826
- }, ht = { class: "mwnf-standalone-pages__previous" }, gt = ["aria-current", "onClick"], _t = { class: "mwnf-standalone-pages__next" }, vt = {
1083
+ }, Yt = { class: "mwnf-standalone-pages__previous" }, Xt = ["aria-current", "onClick"], Zt = { class: "mwnf-standalone-pages__next" }, Qt = {
827
1084
  __name: "Pagination",
828
1085
  props: {
829
1086
  pageInfo: {
@@ -845,38 +1102,38 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
845
1102
  },
846
1103
  emits: ["navigate"],
847
1104
  setup(e, { emit: t }) {
848
- let n = e, r = t, i = c(() => n.pageInfo?.currentPage ?? 1), a = c(() => n.pageInfo?.lastPage ?? 1), o = c(() => {
1105
+ let n = e, r = t, i = l(() => n.pageInfo?.currentPage ?? 1), a = l(() => n.pageInfo?.lastPage ?? 1), o = l(() => {
849
1106
  let e = Math.max(1, n.block), t = Math.floor((i.value - 1) / e) * e + 1, r = [];
850
1107
  for (let n = t; n <= Math.min(a.value, t + e - 1); n++) r.push(n);
851
1108
  return r;
852
1109
  });
853
- function l(e) {
1110
+ function s(e) {
854
1111
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
855
1112
  }
856
- return (t, n) => a.value > 1 ? (b(), d("nav", mt, [
857
- f("span", ht, [i.value > 1 ? (b(), d("a", {
1113
+ return (t, n) => a.value > 1 ? (S(), f("nav", Jt, [
1114
+ p("span", Yt, [i.value > 1 ? (S(), f("a", {
858
1115
  key: 0,
859
1116
  href: "#",
860
- onClick: n[0] ||= k((e) => l(i.value - 1), ["prevent"])
861
- }, w(e.previousLabel), 1)) : (b(), d(s, { key: 1 }, [m(w(e.previousLabel), 1)], 64))]),
862
- (b(!0), d(s, null, S(o.value, (e) => (b(), d("a", {
1117
+ onClick: n[0] ||= P((e) => s(i.value - 1), ["prevent"])
1118
+ }, E(e.previousLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.previousLabel), 1)], 64))]),
1119
+ (S(!0), f(c, null, w(o.value, (e) => (S(), f("a", {
863
1120
  key: e,
864
1121
  href: "#",
865
- class: _(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1122
+ class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
866
1123
  "aria-current": e === i.value ? "page" : void 0,
867
- onClick: k((t) => l(e), ["prevent"])
868
- }, w(e), 11, gt))), 128)),
869
- f("span", _t, [i.value < a.value ? (b(), d("a", {
1124
+ onClick: P((t) => s(e), ["prevent"])
1125
+ }, E(e), 11, Xt))), 128)),
1126
+ p("span", Zt, [i.value < a.value ? (S(), f("a", {
870
1127
  key: 0,
871
1128
  href: "#",
872
- onClick: n[1] ||= k((e) => l(i.value + 1), ["prevent"])
873
- }, w(e.nextLabel), 1)) : (b(), d(s, { key: 1 }, [m(w(e.nextLabel), 1)], 64))])
874
- ])) : u("", !0);
1129
+ onClick: n[1] ||= P((e) => s(i.value + 1), ["prevent"])
1130
+ }, E(e.nextLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.nextLabel), 1)], 64))])
1131
+ ])) : d("", !0);
875
1132
  }
876
- }, yt = ["disabled", "aria-label"], bt = { class: "mwnf-standalone-slider__track" }, xt = ["src", "alt"], St = {
1133
+ }, $t = ["disabled", "aria-label"], en = { class: "mwnf-standalone-slider__track" }, tn = ["src", "alt"], nn = {
877
1134
  key: 0,
878
1135
  class: "mwnf-standalone-slider__label"
879
- }, Ct = ["disabled", "aria-label"], wt = {
1136
+ }, rn = ["disabled", "aria-label"], an = {
880
1137
  __name: "Slider",
881
1138
  props: {
882
1139
  slides: {
@@ -897,45 +1154,45 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
897
1154
  }
898
1155
  },
899
1156
  setup(e) {
900
- let t = e, { t: n } = z(), i = U(), a = x(0), o = c(() => Math.max(0, t.slides.length - t.visible)), l = c(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1157
+ let t = e, { t: r } = U(), i = K(), a = C(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
901
1158
  ...e,
902
1159
  image: i(e.image) ?? "",
903
- label: e.label ? n(e.label) : ""
1160
+ label: e.label ? r(e.label) : ""
904
1161
  })));
905
- return (t, i) => e.slides.length ? (b(), d("div", {
1162
+ return (t, i) => e.slides.length ? (S(), f("div", {
906
1163
  key: 0,
907
1164
  class: "mwnf-standalone-slider",
908
- style: y({ "--mwnf-standalone-slider-count": e.visible })
1165
+ style: x({ "--mwnf-standalone-slider-count": e.visible })
909
1166
  }, [
910
- f("button", {
1167
+ p("button", {
911
1168
  type: "button",
912
1169
  class: "mwnf-standalone-slider__button",
913
1170
  disabled: a.value === 0,
914
- "aria-label": T(n)(e.previousLabel),
1171
+ "aria-label": D(r)(e.previousLabel),
915
1172
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
916
- }, "‹", 8, yt),
917
- f("ul", bt, [(b(!0), d(s, null, S(l.value, (e) => (b(), d("li", {
1173
+ }, "‹", 8, $t),
1174
+ p("ul", en, [(S(!0), f(c, null, w(s.value, (e) => (S(), f("li", {
918
1175
  key: e.image,
919
1176
  class: "mwnf-standalone-slider__slide"
920
- }, [h(r, {
1177
+ }, [g(n, {
921
1178
  to: e.to,
922
1179
  href: e.href
923
1180
  }, {
924
- default: O(() => [f("img", {
1181
+ default: M(() => [p("img", {
925
1182
  src: e.image,
926
1183
  alt: e.label
927
- }, null, 8, xt), e.label ? (b(), d("span", St, w(e.label), 1)) : u("", !0)]),
1184
+ }, null, 8, tn), e.label ? (S(), f("span", nn, E(e.label), 1)) : d("", !0)]),
928
1185
  _: 2
929
1186
  }, 1032, ["to", "href"])]))), 128))]),
930
- f("button", {
1187
+ p("button", {
931
1188
  type: "button",
932
1189
  class: "mwnf-standalone-slider__button",
933
1190
  disabled: a.value >= o.value,
934
- "aria-label": T(n)(e.nextLabel),
1191
+ "aria-label": D(r)(e.nextLabel),
935
1192
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
936
- }, "›", 8, Ct)
937
- ], 4)) : u("", !0);
1193
+ }, "›", 8, rn)
1194
+ ], 4)) : d("", !0);
938
1195
  }
939
1196
  };
940
1197
  //#endregion
941
- export { Q as RelatedContent, H as StandaloneBanner, Ie as StandaloneHome, Je as StandaloneItemSheet, vt as StandalonePagination, pt as StandaloneResultsGrid, be as StandaloneShell, wt as StandaloneSlider, Y as StandaloneSponsors, tt as StandaloneSubNav, Qe as StandaloneTextPage, Z as StandaloneTileGrid, X as TodayHighlight, W as byLanguage, G as dayOfYear, q as legacyHomeItemKey, K as pickForDay };
1198
+ export { Je as RelatedContent, G as StandaloneBanner, ze as StandaloneHome, Qe as StandaloneItemSheet, Qt as StandalonePagination, Dt as StandalonePartnerPage, qt as StandaloneResultsGrid, Ce as StandaloneShell, an as StandaloneSlider, Z as StandaloneSponsors, Pt as StandaloneSubNav, jt as StandaloneTextPage, $ as StandaloneTileGrid, Q as TodayHighlight, q as byLanguage, J as dayOfYear, X as legacyHomeItemKey, Y as pickForDay };