@museumwnf/viewer-layout 3.19.0 → 3.20.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: {
@@ -320,51 +320,51 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
320
320
  }
321
321
  },
322
322
  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));
323
+ let t = e, { t: r } = U(), i = (e) => z(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
324
+ let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
325
+ a && n.push(V(a));
326
326
  let o = i(e.alternate_name);
327
- o && r.push(`${t.alsoKnownAs ? `${n(t.alsoKnownAs)} ` : ""}${I(o)}`);
327
+ o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${V(o)}`);
328
328
  let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
329
- s && r.push(I(s));
329
+ s && n.push(V(s));
330
330
  for (let t of ["materials", "holder"]) {
331
- let n = i(e[t]);
332
- n && r.push(I(n));
331
+ let r = i(e[t]);
332
+ r && n.push(V(r));
333
333
  }
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, {
334
+ return n;
335
+ }), o = l(() => [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 ?? "")));
336
+ return (t, i) => e.record ? (S(), f("div", we, [
337
+ s.value ? (S(), u(n, {
338
338
  key: 0,
339
339
  class: "mwnf-standalone-highlight__media",
340
340
  to: e.to
341
341
  }, {
342
- default: O(() => [f("img", {
342
+ default: M(() => [p("img", {
343
343
  class: "mwnf-standalone-highlight__image",
344
- src: p.value,
345
- alt: g.value
346
- }, null, 8, Se)]),
344
+ src: s.value,
345
+ alt: m.value
346
+ }, null, 8, Te)]),
347
347
  _: 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)]),
348
+ }, 8, ["to"])) : d("", !0),
349
+ e.heading ? (S(), f("p", Ee, [p("strong", null, E(D(r)(e.heading)), 1)])) : d("", !0),
350
+ 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))]),
351
+ o.value ? (S(), f("p", ke, E(D(H)(o.value)), 1)) : d("", !0),
352
+ e.action ? (S(), f("p", Ae, [g(n, { to: e.to }, {
353
+ default: M(() => [h(E(D(r)(e.action)), 1)]),
354
354
  _: 1
355
- }, 8, ["to"])])) : u("", !0)
356
- ])) : u("", !0);
355
+ }, 8, ["to"])])) : d("", !0)
356
+ ])) : d("", !0);
357
357
  }
358
- }, Oe = {
358
+ }, je = {
359
359
  key: 0,
360
360
  class: "mwnf-standalone-tiles"
361
- }, ke = {
361
+ }, Me = {
362
362
  key: 0,
363
363
  class: "mwnf-standalone-tiles__caption"
364
- }, Ae = { class: "mwnf-standalone-tiles__grid" }, je = ["src", "alt"], Me = {
364
+ }, Ne = { class: "mwnf-standalone-tiles__grid" }, Pe = ["src", "alt"], Fe = {
365
365
  key: 0,
366
366
  class: "mwnf-standalone-tiles__label"
367
- }, Z = {
367
+ }, $ = {
368
368
  __name: "TileGrid",
369
369
  props: {
370
370
  caption: {
@@ -377,91 +377,91 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
377
377
  }
378
378
  },
379
379
  setup(e) {
380
- let t = e, { t: n } = z(), i = U(), a = c(() => t.items.map((e) => ({
380
+ let t = e, { t: r } = U(), i = K(), a = l(() => t.items.map((e) => ({
381
381
  ...e,
382
382
  image: i(e.image) ?? "",
383
- label: e.text ? L(e.text) : e.label ? n(e.label) : ""
383
+ label: e.text ? H(e.text) : e.label ? r(e.label) : ""
384
384
  })));
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", {
385
+ 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
386
  key: e.image,
387
387
  class: "mwnf-standalone-tiles__tile"
388
- }, [h(r, {
388
+ }, [g(n, {
389
389
  to: e.to,
390
390
  href: e.href,
391
391
  class: "mwnf-standalone-tiles__link"
392
392
  }, {
393
- default: O(() => [f("img", {
393
+ default: M(() => [p("img", {
394
394
  class: "mwnf-standalone-tiles__image",
395
395
  src: e.image,
396
396
  alt: e.label
397
- }, null, 8, je), e.label ? (b(), d("span", Me, w(e.label), 1)) : u("", !0)]),
397
+ }, null, 8, Pe), e.label ? (S(), f("span", Fe, E(e.label), 1)) : d("", !0)]),
398
398
  _: 2
399
- }, 1032, ["to", "href"])]))), 128))])])) : u("", !0);
399
+ }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
400
400
  }
401
- }, Ne = { class: "mwnf-standalone-home" }, Pe = {
401
+ }, Ie = { class: "mwnf-standalone-home" }, Le = {
402
402
  key: 0,
403
403
  class: "mwnf-standalone-home__links"
404
- }, Fe = { key: 1 }, Ie = {
404
+ }, Re = { key: 1 }, ze = {
405
405
  __name: "Home",
406
406
  props: { home: {
407
407
  type: Object,
408
408
  default: null
409
409
  } },
410
410
  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) => ({
411
+ 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
412
  ...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);
413
+ label: r(e.label),
414
+ prefix: e.prefix ? r(e.prefix) : "",
415
+ title: e.title ? r(e.title) : void 0
416
+ }))), p = l(() => o.value.highlight ?? null), m = ee();
417
+ p.value?.list?.length && (I(["items", "countries"]), j(i, (e) => {
418
+ m.loadTranslations("items", e), m.loadTranslations("countries", e);
419
419
  }, { immediate: !0 }));
420
- let v = A("items", "backward_compatibility"), y = c(() => {
421
- let e = p.value?.list ?? [], t = e.indexOf(K(e));
420
+ let _ = F("items", "backward_compatibility"), v = l(() => {
421
+ let e = p.value?.list ?? [], t = e.indexOf(Y(e));
422
422
  for (let n = 0; t >= 0 && n < e.length; n++) {
423
- let r = v.value.get(q(e[(t + n) % e.length]));
423
+ let r = _.value.get(X(e[(t + n) % e.length]));
424
424
  if (r) return r;
425
425
  }
426
426
  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 ? {
427
+ }), b = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
428
+ let e = v.value?.country_id;
429
+ return e ? m.tr("countries", e, i.value, "en").name ?? "" : "";
430
+ }), C = l(() => v.value ? {
431
431
  name: p.value.route ?? "item",
432
- params: { id: y.value.id }
433
- } : null), k = U(), M = c(() => {
432
+ params: { id: v.value.id }
433
+ } : null), D = K(), O = l(() => {
434
434
  let e = p.value?.pictures ?? [];
435
- return e.length ? k(K(e)) ?? "" : "";
436
- }), N = c(() => {
435
+ return e.length ? D(Y(e)) ?? "" : "";
436
+ }), k = l(() => {
437
437
  let e = o.value.tiles?.items;
438
438
  return (typeof e == "function" ? e() : e) ?? [];
439
439
  });
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", {
440
+ return (e, t) => (S(), f("div", Ie, [
441
+ s.value.length ? (S(), f("ul", Le, [(S(!0), f(c, null, w(s.value, (e) => (S(), f("li", {
442
442
  key: e.label,
443
- class: _({ "mwnf-standalone-home__link--gap": e.gap })
444
- }, [h(r, {
443
+ class: y({ "mwnf-standalone-home__link--gap": e.gap })
444
+ }, [g(n, {
445
445
  to: e.to,
446
446
  href: e.href,
447
447
  external: !!e.external,
448
448
  title: e.title
449
449
  }, {
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))]),
450
+ 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
451
  _: 2
452
452
  }, 1032, [
453
453
  "to",
454
454
  "href",
455
455
  "external",
456
456
  "title"
457
- ])], 2))), 128))])) : u("", !0),
458
- p.value ? (b(), l(X, {
457
+ ])], 2))), 128))])) : d("", !0),
458
+ p.value ? (S(), u(Q, {
459
459
  key: 1,
460
- record: y.value,
461
- text: x.value,
462
- country: T.value,
463
- to: E.value,
464
- picture: M.value,
460
+ record: v.value,
461
+ text: b.value,
462
+ country: x.value,
463
+ to: C.value,
464
+ picture: O.value,
465
465
  heading: p.value.heading ?? "",
466
466
  "also-known-as": p.value.alsoKnownAs ?? "",
467
467
  action: p.value.action ?? ""
@@ -474,19 +474,19 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
474
474
  "heading",
475
475
  "also-known-as",
476
476
  "action"
477
- ])) : u("", !0),
478
- o.value.tiles ? (b(), l(Z, {
477
+ ])) : d("", !0),
478
+ o.value.tiles ? (S(), u($, {
479
479
  key: 2,
480
480
  caption: o.value.tiles.caption ?? "",
481
- items: N.value
482
- }, null, 8, ["caption", "items"])) : u("", !0),
483
- C(e.$slots, "default")
481
+ items: k.value
482
+ }, null, 8, ["caption", "items"])) : d("", !0),
483
+ T(e.$slots, "default")
484
484
  ]));
485
485
  }
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 = {
486
+ }, 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
487
  key: 0,
488
488
  class: "mwnf-standalone-related__download"
489
- }, We = { class: "mwnf-standalone-related__download-heading" }, Q = {
489
+ }, qe = { class: "mwnf-standalone-related__download-heading" }, Je = {
490
490
  __name: "RelatedContent",
491
491
  props: {
492
492
  heading: {
@@ -507,44 +507,44 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
507
507
  }
508
508
  },
509
509
  setup(e) {
510
- let t = e, { t: n } = z(), i = c(() => t.groups.map((e) => ({
511
- heading: n(e.heading),
510
+ let t = e, { t: r } = U(), i = l(() => t.groups.map((e) => ({
511
+ heading: r(e.heading),
512
512
  rows: t.records.filter((t) => !e.type || t.badge === e.type)
513
513
  })).filter((e) => e.rows.length));
514
514
  function a() {
515
515
  window.print();
516
516
  }
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", {
517
+ return (t, o) => (S(), f("aside", Be, [
518
+ p("p", Ve, [p("strong", null, E(D(r)(e.heading)), 1)]),
519
+ (S(!0), f(c, null, w(i.value, (e) => (S(), f("div", {
520
520
  key: e.heading,
521
521
  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, {
522
+ }, [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
523
  to: e.to,
524
524
  title: e.imageAlt
525
525
  }, {
526
- default: O(() => [e.image ? (b(), d("img", {
526
+ default: M(() => [e.image ? (S(), f("img", {
527
527
  key: 0,
528
528
  src: e.image,
529
529
  alt: e.imageAlt
530
- }, null, 8, Ve)) : (b(), d("span", {
530
+ }, null, 8, We)) : (S(), f("span", {
531
531
  key: 1,
532
532
  innerHTML: e.name
533
- }, null, 8, He))]),
533
+ }, null, 8, Ge))]),
534
534
  _: 2
535
535
  }, 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", {
536
+ T(t.$slots, "default"),
537
+ e.download ? (S(), f("div", Ke, [p("p", qe, E(D(r)(e.download.heading)), 1), p("button", {
538
538
  type: "button",
539
539
  class: "mwnf-standalone-related__print",
540
540
  onClick: a
541
- }, w(T(n)(e.download.print)), 1)])) : u("", !0)
541
+ }, E(D(r)(e.download.print)), 1)])) : d("", !0)
542
542
  ]));
543
543
  }
544
- }, Ge = { class: "mwnf-standalone-item__top" }, Ke = { class: "mwnf-standalone-item__left" }, qe = {
544
+ }, Ye = { class: "mwnf-standalone-item__top" }, Xe = { class: "mwnf-standalone-item__left" }, Ze = {
545
545
  key: 0,
546
546
  class: "mwnf-standalone-item__back"
547
- }, Je = {
547
+ }, Qe = {
548
548
  __name: "ItemSheet",
549
549
  props: {
550
550
  spec: {
@@ -565,47 +565,47 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
565
565
  }
566
566
  },
567
567
  setup(e) {
568
- let o = e, { t: _ } = z(), y = E(), x = c(() => ({
569
- ...o.spec,
568
+ let i = e, { t: s } = U(), v = k(), y = l(() => ({
569
+ ...i.spec,
570
570
  media: () => []
571
571
  }));
572
- function T(e) {
573
- return i(D(e), o.spec.pictureLimit, e);
572
+ function x(e) {
573
+ return a(C(e), i.spec.pictureLimit, e);
574
574
  }
575
- function D({ record: e, text: t, language: n }) {
576
- if (o.spec.media) return o.spec.media(e, {
575
+ function C({ record: e, text: t, language: n }) {
576
+ if (i.spec.media) return i.spec.media(e, {
577
577
  record: e,
578
578
  text: t,
579
579
  language: n
580
580
  });
581
- let r = L(String(t?.name ?? e?.internal_name ?? ""));
582
- return N(e?.images, n).map((e) => ({
581
+ let r = H(String(t?.name ?? e?.internal_name ?? ""));
582
+ return R(e?.images, n).map((e) => ({
583
583
  url: e.url,
584
584
  alt: e.captions?.[n] ?? r,
585
585
  caption: e.captions?.[n] ?? "",
586
- ...M(e, n)
586
+ ...L(e, n)
587
587
  }));
588
588
  }
589
- let k = c(() => o.back.map((e) => ({
589
+ let D = l(() => i.back.map((e) => ({
590
590
  ...e,
591
- label: _(e.label)
592
- }))), A = /* @__PURE__ */ new Set([
591
+ label: s(e.label)
592
+ }))), O = /* @__PURE__ */ new Set([
593
593
  "header",
594
594
  "before-sheet",
595
595
  "related",
596
596
  "sidebar",
597
597
  "aside",
598
598
  "source"
599
- ]), j = c(() => Object.keys(y).filter((e) => !A.has(e)));
600
- function P() {
599
+ ]), A = l(() => Object.keys(v).filter((e) => !O.has(e)));
600
+ function j() {
601
601
  window.history.back();
602
602
  }
603
- return (i, o) => (b(), l(a, {
604
- spec: x.value,
603
+ return (i, a) => (S(), u(o, {
604
+ spec: y.value,
605
605
  id: e.id,
606
606
  class: "mwnf-standalone-item"
607
- }, p({
608
- header: O(({ languages: e, language: n, select: r }) => [f("div", Ge, [h(t, {
607
+ }, m({
608
+ header: M(({ languages: e, language: n, select: r }) => [p("div", Ye, [g(t, {
609
609
  languages: e,
610
610
  language: n,
611
611
  onSelect: r
@@ -614,27 +614,27 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
614
614
  "language",
615
615
  "onSelect"
616
616
  ])])]),
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", {
617
+ "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
618
  key: 0,
619
619
  type: "button",
620
620
  class: "mwnf-standalone-item__back-link",
621
- onClick: P
622
- }, w(e.label), 1)) : (b(), l(r, {
621
+ onClick: j
622
+ }, E(e.label), 1)) : (S(), u(n, {
623
623
  key: 1,
624
624
  class: "mwnf-standalone-item__back-link",
625
625
  to: e.to,
626
626
  href: e.href
627
627
  }, {
628
- default: O(() => [m(w(e.label), 1)]),
628
+ default: M(() => [h(E(e.label), 1)]),
629
629
  _: 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, {
630
+ }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, { images: x(e) }, null, 8, ["images"])]), T(i.$slots, "before-sheet", b(_(e)))]),
631
+ related: M((t) => [g(Je, {
632
632
  heading: e.related.heading ?? "record.related.title",
633
633
  records: t.records,
634
634
  groups: e.related.groups ?? [],
635
635
  download: e.related.download ?? null
636
636
  }, {
637
- default: O(() => [C(i.$slots, "sidebar", v(g(t)))]),
637
+ default: M(() => [T(i.$slots, "sidebar", b(_(t)))]),
638
638
  _: 2
639
639
  }, 1032, [
640
640
  "heading",
@@ -642,20 +642,271 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
642
642
  "groups",
643
643
  "download"
644
644
  ])]),
645
- source: O((e) => [C(i.$slots, "source", v(g(e)))]),
645
+ source: M((e) => [T(i.$slots, "source", b(_(e)))]),
646
646
  _: 2
647
- }, [S(j.value, (e) => ({
647
+ }, [w(A.value, (e) => ({
648
648
  name: e,
649
- fn: O((t) => [C(i.$slots, e, v(g(t)))])
649
+ fn: M((t) => [T(i.$slots, e, b(_(t)))])
650
650
  }))]), 1032, ["spec", "id"]));
651
651
  }
652
- }, Ye = ["innerHTML"], Xe = {
652
+ }, $e = {
653
+ key: 0,
654
+ class: "mwnf-standalone-item__top"
655
+ }, et = {
656
+ key: 1,
657
+ hidden: ""
658
+ }, tt = {
659
+ key: 0,
660
+ class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
661
+ }, nt = { class: "mwnf-standalone-partner__heading" }, rt = ["dir", "innerHTML"], it = {
662
+ key: 0,
663
+ class: "mwnf-standalone-partner__location"
664
+ }, at = { class: "mwnf-standalone-partner__bar" }, ot = { class: "mwnf-standalone-partner__bar-start" }, st = ["aria-label", "onKeydown"], ct = [
665
+ "id",
666
+ "aria-selected",
667
+ "aria-controls",
668
+ "tabindex",
669
+ "onClick"
670
+ ], lt = {
671
+ key: 0,
672
+ class: "mwnf-standalone-partner__divider",
673
+ "aria-hidden": "true"
674
+ }, 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 = [
675
+ "id",
676
+ "aria-labelledby",
677
+ "dir",
678
+ "innerHTML"
679
+ ], _t = ["id", "aria-labelledby"], vt = ["innerHTML"], yt = ["href"], bt = { key: 0 }, xt = ["href"], St = ["href"], Ct = ["id", "aria-labelledby"], wt = ["src"], Tt = {
680
+ key: 0,
681
+ class: "mwnf-standalone-partner__map"
682
+ }, Et = { class: "mwnf-standalone-partner__map-heading" }, Dt = {
683
+ __name: "PartnerPage",
684
+ props: {
685
+ id: {
686
+ type: String,
687
+ required: !0
688
+ },
689
+ view: {
690
+ type: Function,
691
+ required: !0
692
+ },
693
+ back: {
694
+ type: [Array, Function],
695
+ default: () => []
696
+ },
697
+ items: {
698
+ type: Function,
699
+ default: () => null
700
+ },
701
+ map: {
702
+ type: Function,
703
+ default: (e) => e?.type === "museum"
704
+ },
705
+ about: {
706
+ type: Function,
707
+ default: () => !0
708
+ },
709
+ bands: {
710
+ type: Function,
711
+ default: (e) => e?.type === "museum"
712
+ },
713
+ labels: {
714
+ type: Object,
715
+ default: () => ({})
716
+ },
717
+ links: {
718
+ type: Boolean,
719
+ default: !1
720
+ }
721
+ },
722
+ setup(e) {
723
+ let a = e, { t: s, locale: m } = U(), _ = O(), b = {
724
+ entity: "partners",
725
+ fields: [],
726
+ shortDescription: !1,
727
+ media: () => [],
728
+ citation: !1,
729
+ related: !1
730
+ }, x = {
731
+ about: "partner.info.about",
732
+ contact: "partner.info.contact",
733
+ logo: "partner.info.logo",
734
+ homepage: "partner.nav.homepage",
735
+ addresses: "partner.info.addresses",
736
+ phone: "partner.info.phone",
737
+ fax: "partner.info.fax",
738
+ map: "partner.map.map"
739
+ }, T = (e) => s(a.labels[e] ?? x[e]);
740
+ function k(e) {
741
+ return (typeof a.back == "function" ? a.back(e) ?? [] : a.back).map((e) => ({
742
+ ...e,
743
+ label: s(e.label)
744
+ }));
745
+ }
746
+ function P() {
747
+ window.history.back();
748
+ }
749
+ function F(e, t, n) {
750
+ let r = [];
751
+ return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
752
+ }
753
+ let I = C("about");
754
+ j(() => a.id, () => {
755
+ I.value = "about";
756
+ });
757
+ function L(e, t) {
758
+ let n = t.indexOf(I.value), r = {
759
+ ArrowRight: (n + 1) % t.length,
760
+ ArrowLeft: (n - 1 + t.length) % t.length,
761
+ Home: 0,
762
+ End: t.length - 1
763
+ }[e.key];
764
+ r === void 0 || !t.length || (e.preventDefault(), I.value = t[r], v(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
765
+ }
766
+ let R = (e) => e.pictures.map((e) => ({
767
+ url: e.url,
768
+ alt: e.alt
769
+ })), 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"));
770
+ return (l, m) => (S(), u(o, {
771
+ spec: b,
772
+ id: e.id,
773
+ class: "mwnf-standalone-partner"
774
+ }, {
775
+ header: M(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (S(), f("div", $e, [g(t, {
776
+ languages: r,
777
+ language: i,
778
+ onSelect: a
779
+ }, null, 8, [
780
+ "languages",
781
+ "language",
782
+ "onSelect"
783
+ ])])) : (S(), f("div", et))]),
784
+ "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 }, [
785
+ 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", {
786
+ key: 0,
787
+ type: "button",
788
+ class: "mwnf-standalone-item__back-link",
789
+ onClick: P
790
+ }, E(e.label), 1)) : (S(), u(n, {
791
+ key: 1,
792
+ class: "mwnf-standalone-item__back-link",
793
+ to: e.to,
794
+ href: e.href
795
+ }, {
796
+ default: M(() => [h(E(e.label), 1)]),
797
+ _: 2
798
+ }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
799
+ p("div", nt, [p("h3", {
800
+ class: "mwnf-standalone-partner__name",
801
+ dir: o || void 0,
802
+ innerHTML: a.name
803
+ }, null, 8, rt), a.location ? (S(), f("h4", it, [p("i", null, E(a.location), 1)])) : d("", !0)]),
804
+ p("div", at, [p("div", ot, [p("ul", {
805
+ role: "tablist",
806
+ class: "mwnf-standalone-partner__tabs",
807
+ "aria-label": a.plainName,
808
+ onKeydown: (e) => L(e, F(a, t, i))
809
+ }, [(S(!0), f(c, null, w(F(a, t, i), (e, n) => (S(), f("li", {
810
+ key: e,
811
+ role: "presentation"
812
+ }, [p("button", {
813
+ id: `${D(_)}-tab-${e}`,
814
+ type: "button",
815
+ role: "tab",
816
+ class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": I.value === e }]),
817
+ "aria-selected": I.value === e ? "true" : "false",
818
+ "aria-controls": `${D(_)}-panel-${e}`,
819
+ tabindex: I.value === e ? 0 : -1,
820
+ onClick: (t) => I.value = e
821
+ }, "\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", {
822
+ class: "mwnf-standalone-partner__homepage",
823
+ href: a.contact.website.url,
824
+ target: "_blank",
825
+ rel: "noopener"
826
+ }, "\xA0" + E(T("homepage")), 9, dt)])) : d("", !0)], 40, st)]), p("div", ft, [e.items(t) ? (S(), u(n, {
827
+ key: 0,
828
+ class: "mwnf-standalone-partner__items",
829
+ to: e.items(t).to
830
+ }, {
831
+ default: M(() => [h(E(D(s)(e.items(t).label)), 1)]),
832
+ _: 2
833
+ }, 1032, ["to"])) : d("", !0)])]),
834
+ p("div", pt, [p("div", mt, [a.pictures.length ? (S(), u(r, {
835
+ key: 0,
836
+ images: R(a)
837
+ }, null, 8, ["images"])) : d("", !0)]), p("div", ht, [
838
+ N(p("div", {
839
+ id: `${D(_)}-panel-about`,
840
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
841
+ role: "tabpanel",
842
+ "aria-labelledby": `${D(_)}-tab-about`,
843
+ dir: o || void 0,
844
+ innerHTML: a.description
845
+ }, null, 8, gt), [[A, I.value === "about"]]),
846
+ a.hasContact ? N((S(), f("div", {
847
+ key: 0,
848
+ id: `${D(_)}-panel-contact`,
849
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
850
+ role: "tabpanel",
851
+ "aria-labelledby": `${D(_)}-tab-contact`
852
+ }, [B(a) ? (S(), f(c, { key: 0 }, [p("p", null, [
853
+ p("b", null, E(T("addresses")), 1),
854
+ m[4] ||= p("br", null, null, -1),
855
+ a.contact.address ? (S(), f(c, { key: 0 }, [p("span", {
856
+ class: "mwnf-standalone-partner__address",
857
+ innerHTML: a.contact.address
858
+ }, null, 8, vt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
859
+ 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),
860
+ 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),
861
+ 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)
862
+ ]), 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", {
863
+ href: e.url,
864
+ target: "_blank",
865
+ rel: "noopener"
866
+ }, 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 }, [
867
+ e.title ? (S(), f(c, { key: 0 }, [p("strong", null, E(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
868
+ e.name ? (S(), f(c, { key: 1 }, [h(E(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
869
+ 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),
870
+ 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),
871
+ 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)
872
+ ]))), 128))], 8, _t)), [[A, I.value === "contact"]]) : d("", !0),
873
+ a.logos.length ? N((S(), f("div", {
874
+ key: 1,
875
+ id: `${D(_)}-panel-logo`,
876
+ class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
877
+ role: "tabpanel",
878
+ "aria-labelledby": `${D(_)}-tab-logo`
879
+ }, [(S(!0), f(c, null, w(a.logos, (e) => (S(), f("img", {
880
+ key: e.url,
881
+ src: e.url,
882
+ alt: ""
883
+ }, null, 8, wt))), 128))], 8, Ct)), [[A, I.value === "logo"]]) : d("", !0)
884
+ ])])
885
+ ], 64))), 128))]),
886
+ 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, {
887
+ provider: "google",
888
+ latitude: a.view(t, n).map.latitude,
889
+ longitude: a.view(t, n).map.longitude,
890
+ zoom: a.view(t, n).map.zoom,
891
+ label: a.view(t, n).map.label,
892
+ language: V.value
893
+ }, null, 8, [
894
+ "latitude",
895
+ "longitude",
896
+ "zoom",
897
+ "label",
898
+ "language"
899
+ ])])) : d("", !0)]),
900
+ _: 1
901
+ }, 8, ["id"]));
902
+ }
903
+ }, Ot = ["innerHTML"], kt = {
653
904
  key: 0,
654
905
  class: "mwnf-standalone-page__link"
655
- }, Ze = {
906
+ }, At = {
656
907
  key: 1,
657
908
  class: "mwnf-standalone-page__print"
658
- }, Qe = {
909
+ }, jt = {
659
910
  __name: "TextPage",
660
911
  props: {
661
912
  body: {
@@ -676,33 +927,33 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
676
927
  }
677
928
  },
678
929
  setup(e) {
679
- let t = e, { t: n } = z(), i = c(() => F(n(t.body)));
930
+ let t = e, { t: r } = U(), i = l(() => B(r(t.body)));
680
931
  function a() {
681
932
  window.print();
682
933
  }
683
- return (t, o) => (b(), d("article", { class: _(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
684
- f("div", {
934
+ return (t, o) => (S(), f("article", { class: y(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
935
+ p("div", {
685
936
  class: "mwnf-standalone-page__body",
686
937
  innerHTML: i.value
687
- }, null, 8, Ye),
688
- e.link ? (b(), d("p", Xe, [h(r, {
938
+ }, null, 8, Ot),
939
+ e.link ? (S(), f("p", kt, [g(n, {
689
940
  to: e.link.to,
690
941
  href: e.link.href
691
942
  }, {
692
- default: O(() => [f("strong", null, w(e.link.text ?? T(n)(e.link.label)), 1)]),
943
+ default: M(() => [p("strong", null, E(e.link.text ?? D(r)(e.link.label)), 1)]),
693
944
  _: 1
694
- }, 8, ["to", "href"])])) : u("", !0),
695
- e.print ? (b(), d("p", Ze, [f("button", {
945
+ }, 8, ["to", "href"])])) : d("", !0),
946
+ e.print ? (S(), f("p", At, [p("button", {
696
947
  type: "button",
697
948
  class: "mwnf-standalone-page__print-button",
698
949
  onClick: a
699
- }, w(T(n)(e.print)), 1)])) : u("", !0)
950
+ }, E(D(r)(e.print)), 1)])) : d("", !0)
700
951
  ], 2));
701
952
  }
702
- }, $e = {
953
+ }, Mt = {
703
954
  key: 0,
704
955
  class: "mwnf-standalone-subnav"
705
- }, et = { class: "mwnf-standalone-subnav__tabs" }, tt = {
956
+ }, Nt = { class: "mwnf-standalone-subnav__tabs" }, Pt = {
706
957
  __name: "SubNav",
707
958
  props: {
708
959
  tabs: {
@@ -715,40 +966,40 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
715
966
  }
716
967
  },
717
968
  setup(e) {
718
- let t = e, { t: n } = z(), i = c(() => t.tabs.map((e) => ({
969
+ let t = e, { t: r } = U(), i = l(() => t.tabs.map((e) => ({
719
970
  ...e,
720
- label: n(e.label)
971
+ label: r(e.label)
721
972
  })));
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, {
973
+ 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
974
  to: e.to,
724
975
  href: e.href,
725
- class: _(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
976
+ class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
726
977
  "aria-current": e.active ? "page" : void 0
727
978
  }, {
728
- default: O(() => [m(w(e.label), 1)]),
979
+ default: M(() => [h(E(e.label), 1)]),
729
980
  _: 2
730
981
  }, 1032, [
731
982
  "to",
732
983
  "href",
733
984
  "class",
734
985
  "aria-current"
735
- ])]))), 128))]), e.aside ? (b(), l(r, {
986
+ ])]))), 128))]), e.aside ? (S(), u(n, {
736
987
  key: 0,
737
988
  to: e.aside.to,
738
989
  href: e.aside.href,
739
990
  class: "mwnf-standalone-subnav__aside"
740
991
  }, {
741
- default: O(() => [m(w(T(n)(e.aside.label)), 1)]),
992
+ default: M(() => [h(E(D(r)(e.aside.label)), 1)]),
742
993
  _: 1
743
- }, 8, ["to", "href"])) : u("", !0)])) : u("", !0);
994
+ }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
744
995
  }
745
- }, nt = { class: "mwnf-standalone-results" }, rt = {
996
+ }, Ft = { class: "mwnf-standalone-results" }, It = {
746
997
  key: 0,
747
998
  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 = {
999
+ }, 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
1000
  key: 0,
750
1001
  class: "mwnf-standalone-results__holder"
751
- }, ft = ["innerHTML"], $ = ["innerHTML"], pt = {
1002
+ }, Gt = ["innerHTML"], Kt = ["innerHTML"], qt = {
752
1003
  __name: "ResultsGrid",
753
1004
  props: {
754
1005
  rows: {
@@ -769,61 +1020,61 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
769
1020
  }
770
1021
  },
771
1022
  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", {
1023
+ 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
1024
  key: t.id,
774
1025
  class: "mwnf-standalone-results__cell"
775
- }, [f("div", it, [h(r, {
1026
+ }, [p("div", Lt, [g(n, {
776
1027
  class: "mwnf-standalone-results__frame",
777
1028
  to: t.to,
778
1029
  href: t.href
779
1030
  }, {
780
- default: O(() => [f("img", {
1031
+ default: M(() => [p("img", {
781
1032
  src: t.image || e.noImage,
782
1033
  alt: ""
783
- }, null, 8, at)]),
1034
+ }, null, 8, Rt)]),
784
1035
  _: 2
785
- }, 1032, ["to", "href"]), f("div", ot, [
786
- h(r, {
1036
+ }, 1032, ["to", "href"]), p("div", zt, [
1037
+ g(n, {
787
1038
  class: "mwnf-standalone-results__panel-frame",
788
1039
  to: t.to,
789
1040
  href: t.href
790
1041
  }, {
791
- default: O(() => [f("img", {
1042
+ default: M(() => [p("img", {
792
1043
  src: t.image || e.noImage,
793
1044
  alt: ""
794
- }, null, 8, st)]),
1045
+ }, null, 8, Bt)]),
795
1046
  _: 2
796
1047
  }, 1032, ["to", "href"]),
797
- f("p", ct, [f("strong", null, [h(r, {
1048
+ p("p", Vt, [p("strong", null, [g(n, {
798
1049
  to: t.to,
799
1050
  href: t.href
800
1051
  }, {
801
- default: O(() => [f("span", { innerHTML: t.name }, null, 8, lt)]),
1052
+ default: M(() => [p("span", { innerHTML: t.name }, null, 8, Ht)]),
802
1053
  _: 2
803
1054
  }, 1032, ["to", "href"])])]),
804
- (b(!0), d(s, null, S(t.lines ?? [], (e, t) => (b(), d("p", {
1055
+ (S(!0), f(c, null, w(t.lines ?? [], (e, t) => (S(), f("p", {
805
1056
  key: t,
806
1057
  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", {
1058
+ }, null, 8, Ut))), 128)),
1059
+ t.holder ? (S(), f("p", Wt, [p("strong", { innerHTML: t.holder }, null, 8, Gt)])) : d("", !0),
1060
+ t.location ? (S(), f("p", {
810
1061
  key: 1,
811
1062
  innerHTML: t.location
812
- }, null, 8, $)) : u("", !0),
813
- f("p", null, [h(r, {
1063
+ }, null, 8, Kt)) : d("", !0),
1064
+ p("p", null, [g(n, {
814
1065
  class: "mwnf-standalone-results__see",
815
1066
  to: t.to,
816
1067
  href: t.href
817
1068
  }, {
818
- default: O(() => [m(w(e.seeLabel), 1)]),
1069
+ default: M(() => [h(E(e.seeLabel), 1)]),
819
1070
  _: 1
820
1071
  }, 8, ["to", "href"])])
821
1072
  ])])]))), 128))]));
822
1073
  }
823
- }, mt = {
1074
+ }, Jt = {
824
1075
  key: 0,
825
1076
  class: "mwnf-standalone-pages"
826
- }, ht = { class: "mwnf-standalone-pages__previous" }, gt = ["aria-current", "onClick"], _t = { class: "mwnf-standalone-pages__next" }, vt = {
1077
+ }, Yt = { class: "mwnf-standalone-pages__previous" }, Xt = ["aria-current", "onClick"], Zt = { class: "mwnf-standalone-pages__next" }, Qt = {
827
1078
  __name: "Pagination",
828
1079
  props: {
829
1080
  pageInfo: {
@@ -845,38 +1096,38 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
845
1096
  },
846
1097
  emits: ["navigate"],
847
1098
  setup(e, { emit: t }) {
848
- let n = e, r = t, i = c(() => n.pageInfo?.currentPage ?? 1), a = c(() => n.pageInfo?.lastPage ?? 1), o = c(() => {
1099
+ let n = e, r = t, i = l(() => n.pageInfo?.currentPage ?? 1), a = l(() => n.pageInfo?.lastPage ?? 1), o = l(() => {
849
1100
  let e = Math.max(1, n.block), t = Math.floor((i.value - 1) / e) * e + 1, r = [];
850
1101
  for (let n = t; n <= Math.min(a.value, t + e - 1); n++) r.push(n);
851
1102
  return r;
852
1103
  });
853
- function l(e) {
1104
+ function s(e) {
854
1105
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
855
1106
  }
856
- return (t, n) => a.value > 1 ? (b(), d("nav", mt, [
857
- f("span", ht, [i.value > 1 ? (b(), d("a", {
1107
+ return (t, n) => a.value > 1 ? (S(), f("nav", Jt, [
1108
+ p("span", Yt, [i.value > 1 ? (S(), f("a", {
858
1109
  key: 0,
859
1110
  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", {
1111
+ onClick: n[0] ||= P((e) => s(i.value - 1), ["prevent"])
1112
+ }, E(e.previousLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.previousLabel), 1)], 64))]),
1113
+ (S(!0), f(c, null, w(o.value, (e) => (S(), f("a", {
863
1114
  key: e,
864
1115
  href: "#",
865
- class: _(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1116
+ class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
866
1117
  "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", {
1118
+ onClick: P((t) => s(e), ["prevent"])
1119
+ }, E(e), 11, Xt))), 128)),
1120
+ p("span", Zt, [i.value < a.value ? (S(), f("a", {
870
1121
  key: 0,
871
1122
  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);
1123
+ onClick: n[1] ||= P((e) => s(i.value + 1), ["prevent"])
1124
+ }, E(e.nextLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.nextLabel), 1)], 64))])
1125
+ ])) : d("", !0);
875
1126
  }
876
- }, yt = ["disabled", "aria-label"], bt = { class: "mwnf-standalone-slider__track" }, xt = ["src", "alt"], St = {
1127
+ }, $t = ["disabled", "aria-label"], en = { class: "mwnf-standalone-slider__track" }, tn = ["src", "alt"], nn = {
877
1128
  key: 0,
878
1129
  class: "mwnf-standalone-slider__label"
879
- }, Ct = ["disabled", "aria-label"], wt = {
1130
+ }, rn = ["disabled", "aria-label"], an = {
880
1131
  __name: "Slider",
881
1132
  props: {
882
1133
  slides: {
@@ -897,45 +1148,45 @@ var te = { class: "mwnf-standalone-sponsors" }, ne = {
897
1148
  }
898
1149
  },
899
1150
  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) => ({
1151
+ 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
1152
  ...e,
902
1153
  image: i(e.image) ?? "",
903
- label: e.label ? n(e.label) : ""
1154
+ label: e.label ? r(e.label) : ""
904
1155
  })));
905
- return (t, i) => e.slides.length ? (b(), d("div", {
1156
+ return (t, i) => e.slides.length ? (S(), f("div", {
906
1157
  key: 0,
907
1158
  class: "mwnf-standalone-slider",
908
- style: y({ "--mwnf-standalone-slider-count": e.visible })
1159
+ style: x({ "--mwnf-standalone-slider-count": e.visible })
909
1160
  }, [
910
- f("button", {
1161
+ p("button", {
911
1162
  type: "button",
912
1163
  class: "mwnf-standalone-slider__button",
913
1164
  disabled: a.value === 0,
914
- "aria-label": T(n)(e.previousLabel),
1165
+ "aria-label": D(r)(e.previousLabel),
915
1166
  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", {
1167
+ }, "‹", 8, $t),
1168
+ p("ul", en, [(S(!0), f(c, null, w(s.value, (e) => (S(), f("li", {
918
1169
  key: e.image,
919
1170
  class: "mwnf-standalone-slider__slide"
920
- }, [h(r, {
1171
+ }, [g(n, {
921
1172
  to: e.to,
922
1173
  href: e.href
923
1174
  }, {
924
- default: O(() => [f("img", {
1175
+ default: M(() => [p("img", {
925
1176
  src: e.image,
926
1177
  alt: e.label
927
- }, null, 8, xt), e.label ? (b(), d("span", St, w(e.label), 1)) : u("", !0)]),
1178
+ }, null, 8, tn), e.label ? (S(), f("span", nn, E(e.label), 1)) : d("", !0)]),
928
1179
  _: 2
929
1180
  }, 1032, ["to", "href"])]))), 128))]),
930
- f("button", {
1181
+ p("button", {
931
1182
  type: "button",
932
1183
  class: "mwnf-standalone-slider__button",
933
1184
  disabled: a.value >= o.value,
934
- "aria-label": T(n)(e.nextLabel),
1185
+ "aria-label": D(r)(e.nextLabel),
935
1186
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
936
- }, "›", 8, Ct)
937
- ], 4)) : u("", !0);
1187
+ }, "›", 8, rn)
1188
+ ], 4)) : d("", !0);
938
1189
  }
939
1190
  };
940
1191
  //#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 };
1192
+ 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 };