@museumwnf/viewer-layout 3.25.1 → 3.26.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.
@@ -2,13 +2,14 @@ import { r as e } from "./chrome-DNsZQXrL.js";
2
2
  import { c as t, d as n, n as r, t as i } from "./PartnerMap-CyuhYm1j.js";
3
3
  import { n as a, t as o } from "./RecordView-D5q5LNvv.js";
4
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";
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, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useId as k, useSlots as A, vModelText as j, vShow as M, watch as N, withCtx as P, withDirectives as F, withModifiers as I } from "vue";
6
+ import { byId as L, collate as R, entityRef as z, loadEntities as B, md as V, pictureCredits as ee, picturesInLanguage as te, removeEndingPoint as ne, renderBlock as H, renderInline as U, renderPlain as W, useDataPackage as G, useI18n as K, useSection as re, useSiteConfig as q } from "@museumwnf/viewer-core";
7
+ import { useRoute as ie } from "vue-router";
7
8
  //#region src/standalone/Banner.vue
8
- var ne = {
9
+ var ae = {
9
10
  key: 0,
10
11
  class: "mwnf-standalone-banner__title"
11
- }, G = {
12
+ }, J = {
12
13
  __name: "Banner",
13
14
  props: {
14
15
  image: {
@@ -21,29 +22,29 @@ var ne = {
21
22
  }
22
23
  },
23
24
  setup(e) {
24
- return (t, n) => (S(), f("div", {
25
+ return (t, n) => (C(), f("div", {
25
26
  class: "mwnf-standalone-banner",
26
27
  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
+ }, [e.title ? (C(), f("h1", ae, [p("span", null, D(e.title), 1)])) : d("", !0)], 4));
28
29
  }
29
30
  };
30
31
  //#endregion
31
32
  //#region src/standalone/chrome.js
32
- function K() {
33
- let t = W();
33
+ function Y() {
34
+ let t = q();
34
35
  return (n) => e(t.chrome, n);
35
36
  }
36
- function q(e, t) {
37
+ function X(e, t) {
37
38
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
38
39
  }
39
- function J(e = /* @__PURE__ */ new Date()) {
40
+ function Z(e = /* @__PURE__ */ new Date()) {
40
41
  let t = new Date(e.getFullYear(), 0, 1);
41
42
  return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
42
43
  }
43
- function Y(e, t = /* @__PURE__ */ new Date()) {
44
- return e?.length ? e[J(t) % e.length] : null;
44
+ function Q(e, t = /* @__PURE__ */ new Date()) {
45
+ return e?.length ? e[Z(t) % e.length] : null;
45
46
  }
46
- function X(e) {
47
+ function $(e) {
47
48
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
48
49
  return !t || n.length < 5 ? "" : [
49
50
  "mwnf3",
@@ -53,70 +54,70 @@ function X(e) {
53
54
  }
54
55
  //#endregion
55
56
  //#region src/standalone/Sponsors.vue
56
- var re = { class: "mwnf-standalone-sponsors" }, ie = {
57
+ var oe = { class: "mwnf-standalone-sponsors" }, se = {
57
58
  key: 0,
58
59
  class: "mwnf-standalone-sponsors__text"
59
- }, ae = ["innerHTML"], oe = { key: 1 }, se = ["innerHTML"], ce = {
60
+ }, ce = ["innerHTML"], le = { key: 1 }, ue = ["innerHTML"], de = {
60
61
  key: 1,
61
62
  class: "mwnf-standalone-sponsors__title"
62
- }, le = {
63
+ }, fe = {
63
64
  key: 2,
64
65
  class: "mwnf-standalone-sponsors__logos"
65
- }, ue = {
66
+ }, pe = {
66
67
  key: 0,
67
68
  class: "mwnf-standalone-sponsors__note"
68
- }, de = ["src", "alt"], fe = ["innerHTML"], pe = ["href"], me = ["src", "alt"], he = ["src", "alt"], ge = {
69
+ }, me = ["src", "alt"], he = ["innerHTML"], ge = ["href"], _e = ["src", "alt"], ve = ["src", "alt"], ye = {
69
70
  key: 3,
70
71
  class: "mwnf-standalone-sponsors__links"
71
- }, Z = {
72
+ }, be = {
72
73
  __name: "Sponsors",
73
74
  props: { columns: {
74
75
  type: Array,
75
76
  default: () => []
76
77
  } },
77
78
  setup(e) {
78
- let t = e, { t: r } = U(), i = K(), a = l(() => t.columns.map((e, t) => ({
79
+ let t = e, { t: r } = K(), i = Y(), a = l(() => t.columns.map((e, t) => ({
79
80
  key: t,
80
81
  width: e.width ?? null,
81
- lead: e.lead ? V(r(e.lead)) : "",
82
- text: e.text ? V(r(e.text)) : "",
82
+ lead: e.lead ? U(r(e.lead)) : "",
83
+ text: e.text ? U(r(e.text)) : "",
83
84
  break: !!e.break,
84
85
  title: e.title ? r(e.title) : "",
85
86
  logos: (e.logos ?? []).map((e) => ({
86
87
  src: i(e.src) ?? "",
87
88
  alt: e.alt ? r(e.alt) : "",
88
89
  href: e.href ?? "",
89
- note: e.note ? B(r(e.note)) : ""
90
+ note: e.note ? H(r(e.note)) : ""
90
91
  })),
91
92
  links: (e.links ?? []).map((e) => ({
92
93
  ...e,
93
94
  label: r(e.label)
94
95
  }))
95
96
  })));
96
- return (e, t) => (S(), f("div", re, [(S(!0), f(c, null, w(a.value, (e) => (S(), f("div", {
97
+ return (e, t) => (C(), f("div", oe, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("div", {
97
98
  key: e.key,
98
99
  class: "mwnf-standalone-sponsors__column",
99
100
  style: x(e.width ? { flexGrow: e.width } : void 0)
100
101
  }, [
101
- e.lead || e.text ? (S(), f("p", ie, [
102
- e.lead ? (S(), f("i", {
102
+ e.lead || e.text ? (C(), f("p", se, [
103
+ e.lead ? (C(), f("i", {
103
104
  key: 0,
104
105
  innerHTML: e.lead
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", {
106
+ }, null, 8, ce)) : d("", !0),
107
+ e.lead && e.break ? (C(), f("br", le)) : e.lead && e.text ? (C(), f(c, { key: 2 }, [h(D(" "))], 64)) : d("", !0),
108
+ e.text ? (C(), f("span", {
108
109
  key: 3,
109
110
  innerHTML: e.text
110
- }, null, 8, se)) : d("", !0)
111
+ }, null, 8, ue)) : d("", !0)
111
112
  ])) : 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", {
113
+ e.title ? (C(), f("p", de, D(e.title), 1)) : d("", !0),
114
+ e.logos.length ? (C(), f("ul", fe, [(C(!0), f(c, null, T(e.logos, (e) => (C(), f("li", { key: e.src }, [e.note ? (C(), f("details", pe, [p("summary", null, [p("img", {
114
115
  src: e.src,
115
116
  alt: e.alt
116
- }, null, 8, de)]), p("div", {
117
+ }, null, 8, me)]), p("div", {
117
118
  class: "mwnf-standalone-sponsors__note-body",
118
119
  innerHTML: e.note
119
- }, null, 8, fe)])) : e.href ? (S(), f("a", {
120
+ }, null, 8, he)])) : e.href ? (C(), f("a", {
120
121
  key: 1,
121
122
  href: e.href,
122
123
  target: "_blank",
@@ -124,17 +125,17 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
124
125
  }, [p("img", {
125
126
  src: e.src,
126
127
  alt: e.alt
127
- }, null, 8, me)], 8, pe)) : (S(), f("img", {
128
+ }, null, 8, _e)], 8, ge)) : (C(), f("img", {
128
129
  key: 2,
129
130
  src: e.src,
130
131
  alt: e.alt
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, {
132
+ }, null, 8, ve))]))), 128))])) : d("", !0),
133
+ e.links.length ? (C(), f("ul", ye, [(C(!0), f(c, null, T(e.links, (e) => (C(), f("li", { key: e.label }, [g(n, {
133
134
  to: e.to,
134
135
  href: e.href,
135
136
  external: !!e.external
136
137
  }, {
137
- default: M(() => [h(E(e.label), 1)]),
138
+ default: P(() => [h(D(e.label), 1)]),
138
139
  _: 2
139
140
  }, 1032, [
140
141
  "to",
@@ -143,13 +144,16 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
143
144
  ])]))), 128))])) : d("", !0)
144
145
  ], 4))), 128))]));
145
146
  }
146
- }, _e = { class: "mwnf-banner mwnf-standalone-home-banner" }, ve = ["src"], ye = { class: "mwnf-standalone-home-banner__text" }, be = {
147
+ }, xe = {
148
+ key: 0,
149
+ class: "mwnf-standalone mwnf-standalone--bare"
150
+ }, Se = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ce = ["src"], we = { class: "mwnf-standalone-home-banner__text" }, Te = {
147
151
  key: 0,
148
152
  class: "mwnf-standalone-home-banner__title"
149
- }, xe = {
153
+ }, Ee = {
150
154
  key: 1,
151
155
  class: "mwnf-standalone-home-banner__line"
152
- }, Se = ["src"], Ce = {
156
+ }, De = ["src"], Oe = {
153
157
  __name: "Shell",
154
158
  props: {
155
159
  language: {
@@ -163,100 +167,101 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
163
167
  },
164
168
  emits: ["update:language"],
165
169
  setup(t, { emit: n }) {
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);
170
+ let r = t, i = n, { t: a, locale: o } = K(), c = ie(), h = l(() => !!c.meta?.bare), _ = q(), v = re(), b = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), w = l(() => b.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, X(t, o.value)), k = l(() => {
171
+ let e = b.value.logo ?? {}, t = T(w.value?.logo ?? e.src);
168
172
  return t ? {
169
173
  logo: t,
170
174
  alt: e.alt ?? ""
171
175
  } : null;
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(() => {
176
+ }), A = l(() => T(b.value.logo?.print)), j = l(() => (b.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (S.value ? "home" : "inner"))), M = l(() => {
173
177
  let e = {
174
- ..._.value.banner ?? {},
175
- ...x.value?.banner ?? {}
178
+ ...b.value.banner ?? {},
179
+ ...w.value?.banner ?? {}
176
180
  };
177
- return C(b.value ? e.home : e.inner) ?? "";
178
- }), j = l(() => {
179
- let e = v.value.sectionTitles?.[h.value];
181
+ return T(S.value ? e.home : e.inner) ?? "";
182
+ }), N = l(() => {
183
+ let e = x.value.sectionTitles?.[v.value];
180
184
  return e ? a(e) : "";
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) ? {
185
+ }), F = l(() => !S.value && !!(M.value || N.value)), I = l(() => {
186
+ let { homeTitle: e, homeText: t } = b.value.banner ?? {};
187
+ return S.value && (e || t) ? {
184
188
  title: e ? a(e) : "",
185
189
  text: t ? a(t) : ""
186
190
  } : null;
187
- }), F = l(() => {
188
- let e = _.value.sponsors;
189
- return e?.columns?.length && (e.on === "all" || b.value) ? e : null;
190
- }), I = l(() => ({
191
+ }), L = l(() => {
192
+ let e = b.value.sponsors;
193
+ return e?.columns?.length && (e.on === "all" || S.value) ? e : null;
194
+ }), R = l(() => ({
191
195
  navigation: {
192
- ...v.value,
193
- headerLinks: k.value,
196
+ ...x.value,
197
+ headerLinks: j.value,
194
198
  sectionTitles: {},
195
- ..._.value.languages === !1 ? { languages: [] } : {}
199
+ ...b.value.languages === !1 ? { languages: [] } : {}
196
200
  },
197
201
  banner: null,
198
- ...w.value ? { brand: w.value } : {}
199
- })), L = (/* @__PURE__ */ new Date()).getFullYear(), R = l(() => _.value.copyright ? `${a(_.value.copyright)} ${L}` : ""), z = l(() => [
202
+ ...k.value ? { brand: k.value } : {}
203
+ })), z = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => b.value.copyright ? `${a(b.value.copyright)} ${z}` : ""), V = l(() => [
200
204
  "mwnf-standalone",
201
- b.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
202
- x.value?.class ?? ""
205
+ S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
206
+ w.value?.class ?? ""
203
207
  ]);
204
- return (e, t) => (S(), u(s, {
205
- class: y(z.value),
206
- config: I.value,
207
- languages: _.value.languages === !1 ? [] : r.languages,
208
+ return (e, t) => h.value ? (C(), f("div", xe, [E(e.$slots, "default")])) : (C(), u(s, {
209
+ key: 1,
210
+ class: y(V.value),
211
+ config: R.value,
212
+ languages: b.value.languages === !1 ? [] : r.languages,
208
213
  language: r.language,
209
214
  "language-placement": "header",
210
215
  "language-style": "select",
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) : "",
216
+ "header-home": b.value.logo?.href ?? "",
217
+ "header-title": S.value ? "" : b.value.heading ? O(a)(b.value.heading) : "",
218
+ "header-subtitle": S.value ? "" : b.value.subheading ? O(a)(b.value.subheading) : "",
214
219
  "header-title-href": "#/",
215
- "banner-image": b.value && !P.value ? A.value : "",
216
- "footer-text": R.value || void 0,
220
+ "banner-image": S.value && !I.value ? M.value : "",
221
+ "footer-text": B.value || void 0,
217
222
  "onUpdate:language": t[0] ||= (e) => i("update:language", e)
218
223
  }, m({
219
- default: M(() => [T(e.$slots, "default")]),
224
+ default: P(() => [E(e.$slots, "default")]),
220
225
  _: 2
221
226
  }, [
222
- N.value ? {
227
+ F.value ? {
223
228
  name: "banner",
224
- fn: M(() => [g(G, {
225
- image: A.value,
226
- title: j.value
229
+ fn: P(() => [g(J, {
230
+ image: M.value,
231
+ title: N.value
227
232
  }, null, 8, ["image", "title"])]),
228
233
  key: "0"
229
- } : P.value ? {
234
+ } : I.value ? {
230
235
  name: "banner",
231
- fn: M(() => [p("section", _e, [A.value ? (S(), f("img", {
236
+ fn: P(() => [p("section", Se, [M.value ? (C(), f("img", {
232
237
  key: 0,
233
238
  class: "mwnf-banner__image",
234
- src: A.value,
239
+ src: M.value,
235
240
  alt: ""
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)])])]),
241
+ }, null, 8, Ce)) : d("", !0), p("div", we, [I.value.title ? (C(), f("h2", Te, [p("i", null, D(I.value.title), 1)])) : d("", !0), I.value.text ? (C(), f("p", Ee, [p("span", null, D(I.value.text), 1)])) : d("", !0)])])]),
237
242
  key: "1"
238
243
  } : void 0,
239
- O.value ? {
244
+ A.value ? {
240
245
  name: "notice",
241
- fn: M(() => [p("img", {
246
+ fn: P(() => [p("img", {
242
247
  class: "mwnf-standalone__print-logo",
243
- src: O.value,
248
+ src: A.value,
244
249
  alt: ""
245
- }, null, 8, Se)]),
250
+ }, null, 8, De)]),
246
251
  key: "2"
247
252
  } : void 0,
248
253
  e.$slots.sponsors ? {
249
254
  name: "sponsors",
250
- fn: M(() => [T(e.$slots, "sponsors")]),
255
+ fn: P(() => [E(e.$slots, "sponsors")]),
251
256
  key: "3"
252
- } : F.value ? {
257
+ } : L.value ? {
253
258
  name: "sponsors",
254
- fn: M(() => [g(Z, { columns: F.value.columns }, null, 8, ["columns"])]),
259
+ fn: P(() => [g(be, { columns: L.value.columns }, null, 8, ["columns"])]),
255
260
  key: "4"
256
261
  } : void 0,
257
262
  e.$slots.footer ? {
258
263
  name: "footer",
259
- fn: M(() => [T(e.$slots, "footer")]),
264
+ fn: P(() => [E(e.$slots, "footer")]),
260
265
  key: "5"
261
266
  } : void 0
262
267
  ]), 1032, [
@@ -271,19 +276,19 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
271
276
  "footer-text"
272
277
  ]));
273
278
  }
274
- }, we = {
279
+ }, ke = {
275
280
  key: 0,
276
281
  class: "mwnf-standalone-highlight"
277
- }, Te = ["src", "alt"], Ee = {
282
+ }, Ae = ["src", "alt"], je = {
278
283
  key: 1,
279
284
  class: "mwnf-standalone-highlight__heading"
280
- }, De = { class: "mwnf-standalone-highlight__lines" }, Oe = ["innerHTML"], ke = {
285
+ }, Me = { class: "mwnf-standalone-highlight__lines" }, Ne = ["innerHTML"], Pe = {
281
286
  key: 2,
282
287
  class: "mwnf-standalone-highlight__place"
283
- }, Ae = {
288
+ }, Fe = {
284
289
  key: 3,
285
290
  class: "mwnf-standalone-highlight__action"
286
- }, Q = {
291
+ }, Ie = {
287
292
  __name: "TodayHighlight",
288
293
  props: {
289
294
  record: {
@@ -324,51 +329,51 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
324
329
  }
325
330
  },
326
331
  setup(e) {
327
- let t = e, { t: r } = U(), i = (e) => z(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
332
+ let t = e, { t: r } = K(), i = (e) => ne(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
328
333
  let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
329
- a && n.push(V(a));
334
+ a && n.push(U(a));
330
335
  let o = i(e.alternate_name);
331
- o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${V(o)}`);
336
+ o && n.push(`${t.alsoKnownAs ? `${r(t.alsoKnownAs)} ` : ""}${U(o)}`);
332
337
  let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
333
- s && n.push(V(s));
338
+ s && n.push(U(s));
334
339
  for (let t of ["materials", "holder"]) {
335
340
  let r = i(e[t]);
336
- r && n.push(V(r));
341
+ r && n.push(U(r));
337
342
  }
338
343
  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, {
344
+ }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => W(String(t.text?.name ?? t.record?.internal_name ?? "")));
345
+ return (t, i) => e.record ? (C(), f("div", ke, [
346
+ s.value ? (C(), u(n, {
342
347
  key: 0,
343
348
  class: "mwnf-standalone-highlight__media",
344
349
  to: e.to
345
350
  }, {
346
- default: M(() => [p("img", {
351
+ default: P(() => [p("img", {
347
352
  class: "mwnf-standalone-highlight__image",
348
353
  src: s.value,
349
354
  alt: m.value
350
- }, null, 8, Te)]),
355
+ }, null, 8, Ae)]),
351
356
  _: 1
352
357
  }, 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)]),
358
+ e.heading ? (C(), f("p", je, [p("strong", null, D(O(r)(e.heading)), 1)])) : d("", !0),
359
+ p("p", Me, [(C(!0), f(c, null, T(a.value, (e, t) => (C(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Ne), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
360
+ o.value ? (C(), f("p", Pe, D(O(W)(o.value)), 1)) : d("", !0),
361
+ e.action ? (C(), f("p", Fe, [g(n, { to: e.to }, {
362
+ default: P(() => [h(D(O(r)(e.action)), 1)]),
358
363
  _: 1
359
364
  }, 8, ["to"])])) : d("", !0)
360
365
  ])) : d("", !0);
361
366
  }
362
- }, je = {
367
+ }, Le = {
363
368
  key: 0,
364
369
  class: "mwnf-standalone-tiles"
365
- }, Me = {
370
+ }, Re = {
366
371
  key: 0,
367
372
  class: "mwnf-standalone-tiles__caption"
368
- }, Ne = { class: "mwnf-standalone-tiles__grid" }, Pe = ["src", "alt"], Fe = {
373
+ }, ze = { class: "mwnf-standalone-tiles__grid" }, Be = ["src", "alt"], Ve = {
369
374
  key: 0,
370
375
  class: "mwnf-standalone-tiles__label"
371
- }, $ = {
376
+ }, He = {
372
377
  __name: "TileGrid",
373
378
  props: {
374
379
  caption: {
@@ -381,12 +386,12 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
381
386
  }
382
387
  },
383
388
  setup(e) {
384
- let t = e, { t: r } = U(), i = K(), a = l(() => t.items.map((e) => ({
389
+ let t = e, { t: r } = K(), i = Y(), a = l(() => t.items.map((e) => ({
385
390
  ...e,
386
391
  image: i(e.image) ?? "",
387
- label: e.text ? H(e.text) : e.label ? r(e.label) : ""
392
+ label: e.text ? W(e.text) : e.label ? r(e.label) : ""
388
393
  })));
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", {
394
+ return (t, i) => a.value.length ? (C(), f("section", Le, [e.caption ? (C(), f("p", Re, D(O(r)(e.caption)), 1)) : d("", !0), p("ul", ze, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
390
395
  key: e.image,
391
396
  class: "mwnf-standalone-tiles__tile"
392
397
  }, [g(n, {
@@ -394,55 +399,55 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
394
399
  href: e.href,
395
400
  class: "mwnf-standalone-tiles__link"
396
401
  }, {
397
- default: M(() => [p("img", {
402
+ default: P(() => [p("img", {
398
403
  class: "mwnf-standalone-tiles__image",
399
404
  src: e.image,
400
405
  alt: e.label
401
- }, null, 8, Pe), e.label ? (S(), f("span", Fe, E(e.label), 1)) : d("", !0)]),
406
+ }, null, 8, Be), e.label ? (C(), f("span", Ve, D(e.label), 1)) : d("", !0)]),
402
407
  _: 2
403
408
  }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
404
409
  }
405
- }, Ie = { class: "mwnf-standalone-home" }, Le = {
410
+ }, Ue = { class: "mwnf-standalone-home" }, We = {
406
411
  key: 0,
407
412
  class: "mwnf-standalone-home__links"
408
- }, Re = { key: 1 }, ze = {
413
+ }, Ge = { key: 1 }, Ke = {
409
414
  __name: "Home",
410
415
  props: { home: {
411
416
  type: Object,
412
417
  default: null
413
418
  } },
414
419
  setup(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) => ({
420
+ let t = e, { t: r, locale: i } = K(), a = q(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
416
421
  ...e,
417
422
  label: r(e.label),
418
423
  prefix: e.prefix ? r(e.prefix) : "",
419
424
  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) => {
425
+ }))), p = l(() => o.value.highlight ?? null), m = G();
426
+ p.value?.list?.length && (B(["items", "countries"]), N(i, (e) => {
422
427
  m.loadTranslations("items", e), m.loadTranslations("countries", e);
423
428
  }, { immediate: !0 }));
424
- let _ = F("items", "backward_compatibility"), v = l(() => {
425
- let e = p.value?.list ?? [], t = e.indexOf(Y(e));
429
+ let _ = L("items", "backward_compatibility"), v = l(() => {
430
+ let e = p.value?.list ?? [], t = e.indexOf(Q(e));
426
431
  for (let n = 0; t >= 0 && n < e.length; n++) {
427
- let r = _.value.get(X(e[(t + n) % e.length]));
432
+ let r = _.value.get($(e[(t + n) % e.length]));
428
433
  if (r) return r;
429
434
  }
430
435
  return null;
431
436
  }), b = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
432
437
  let e = v.value?.country_id;
433
438
  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 ? {
439
+ }), S = l(() => v.value && p.value?.place ? p.value.place(v.value, b.value, x.value) : null), w = l(() => v.value ? {
435
440
  name: p.value.route ?? "item",
436
441
  params: { id: v.value.id }
437
- } : null), O = K(), k = l(() => {
442
+ } : null), O = Y(), k = l(() => {
438
443
  let e = p.value?.pictures ?? [];
439
- return e.length ? O(Y(e)) ?? "" : "";
444
+ return e.length ? O(Q(e)) ?? "" : "";
440
445
  }), A = l(() => {
441
446
  let e = o.value.tiles?.items;
442
447
  return (typeof e == "function" ? e() : e) ?? [];
443
448
  });
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", {
449
+ return (e, t) => (C(), f("div", Ue, [
450
+ s.value.length ? (C(), f("ul", We, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
446
451
  key: e.label,
447
452
  class: y({ "mwnf-standalone-home__link--gap": e.gap })
448
453
  }, [g(n, {
@@ -451,7 +456,7 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
451
456
  external: !!e.external,
452
457
  title: e.title
453
458
  }, {
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))]),
459
+ default: P(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Ge, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
455
460
  _: 2
456
461
  }, 1032, [
457
462
  "to",
@@ -459,13 +464,13 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
459
464
  "external",
460
465
  "title"
461
466
  ])], 2))), 128))])) : d("", !0),
462
- p.value ? (S(), u(Q, {
467
+ p.value ? (C(), u(Ie, {
463
468
  key: 1,
464
469
  record: v.value,
465
470
  text: b.value,
466
471
  country: x.value,
467
- place: C.value,
468
- to: D.value,
472
+ place: S.value,
473
+ to: w.value,
469
474
  picture: k.value,
470
475
  heading: p.value.heading ?? "",
471
476
  "also-known-as": p.value.alsoKnownAs ?? "",
@@ -481,18 +486,18 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
481
486
  "also-known-as",
482
487
  "action"
483
488
  ])) : d("", !0),
484
- o.value.tiles ? (S(), u($, {
489
+ o.value.tiles ? (C(), u(He, {
485
490
  key: 2,
486
491
  caption: o.value.tiles.caption ?? "",
487
492
  items: A.value
488
493
  }, null, 8, ["caption", "items"])) : d("", !0),
489
- T(e.$slots, "default")
494
+ E(e.$slots, "default")
490
495
  ]));
491
496
  }
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 = {
497
+ }, qe = { class: "mwnf-standalone-related" }, Je = { class: "mwnf-standalone-related__heading" }, Ye = { class: "mwnf-standalone-related__group-heading" }, Xe = { class: "mwnf-standalone-related__thumbs" }, Ze = ["src", "alt"], Qe = ["innerHTML"], $e = {
493
498
  key: 0,
494
499
  class: "mwnf-standalone-related__download"
495
- }, qe = { class: "mwnf-standalone-related__download-heading" }, Je = {
500
+ }, et = { class: "mwnf-standalone-related__download-heading" }, tt = {
496
501
  __name: "RelatedContent",
497
502
  props: {
498
503
  heading: {
@@ -513,44 +518,44 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
513
518
  }
514
519
  },
515
520
  setup(e) {
516
- let t = e, { t: r } = U(), i = l(() => t.groups.map((e) => ({
521
+ let t = e, { t: r } = K(), i = l(() => t.groups.map((e) => ({
517
522
  heading: r(e.heading),
518
523
  rows: t.records.filter((t) => !e.type || t.badge === e.type)
519
524
  })).filter((e) => e.rows.length));
520
525
  function a() {
521
526
  window.print();
522
527
  }
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", {
528
+ return (t, o) => (C(), f("aside", qe, [
529
+ p("p", Je, [p("strong", null, D(O(r)(e.heading)), 1)]),
530
+ (C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
526
531
  key: e.heading,
527
532
  class: "mwnf-standalone-related__group"
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, {
533
+ }, [p("p", Ye, D(e.heading), 1), p("ul", Xe, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
529
534
  to: e.to,
530
535
  title: e.imageAlt
531
536
  }, {
532
- default: M(() => [e.image ? (S(), f("img", {
537
+ default: P(() => [e.image ? (C(), f("img", {
533
538
  key: 0,
534
539
  src: e.image,
535
540
  alt: e.imageAlt
536
- }, null, 8, We)) : (S(), f("span", {
541
+ }, null, 8, Ze)) : (C(), f("span", {
537
542
  key: 1,
538
543
  innerHTML: e.name
539
- }, null, 8, Ge))]),
544
+ }, null, 8, Qe))]),
540
545
  _: 2
541
546
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
542
- T(t.$slots, "default"),
543
- e.download ? (S(), f("div", Ke, [p("p", qe, E(D(r)(e.download.heading)), 1), p("button", {
547
+ E(t.$slots, "default"),
548
+ e.download ? (C(), f("div", $e, [p("p", et, D(O(r)(e.download.heading)), 1), p("button", {
544
549
  type: "button",
545
550
  class: "mwnf-standalone-related__print",
546
551
  onClick: a
547
- }, E(D(r)(e.download.print)), 1)])) : d("", !0)
552
+ }, D(O(r)(e.download.print)), 1)])) : d("", !0)
548
553
  ]));
549
554
  }
550
- }, Ye = { class: "mwnf-standalone-item__top" }, Xe = { class: "mwnf-standalone-item__left" }, Ze = {
555
+ }, nt = { class: "mwnf-standalone-item__top" }, rt = { class: "mwnf-standalone-item__left" }, it = {
551
556
  key: 0,
552
557
  class: "mwnf-standalone-item__back"
553
- }, Qe = {
558
+ }, at = {
554
559
  __name: "ItemSheet",
555
560
  props: {
556
561
  spec: {
@@ -571,28 +576,28 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
571
576
  }
572
577
  },
573
578
  setup(e) {
574
- let i = e, { t: s } = U(), v = k(), y = l(() => ({
579
+ let i = e, { t: s } = K(), v = A(), y = l(() => ({
575
580
  ...i.spec,
576
581
  media: () => []
577
582
  }));
578
583
  function x(e) {
579
- return a(C(e), i.spec.pictureLimit, e);
584
+ return a(S(e), i.spec.pictureLimit, e);
580
585
  }
581
- function C({ record: e, text: t, language: n }) {
586
+ function S({ record: e, text: t, language: n }) {
582
587
  if (i.spec.media) return i.spec.media(e, {
583
588
  record: e,
584
589
  text: t,
585
590
  language: n
586
591
  });
587
- let r = H(String(t?.name ?? e?.internal_name ?? ""));
588
- return R(e?.images, n).map((e) => ({
592
+ let r = W(String(t?.name ?? e?.internal_name ?? ""));
593
+ return te(e?.images, n).map((e) => ({
589
594
  url: e.url,
590
595
  alt: e.captions?.[n] ?? r,
591
596
  caption: e.captions?.[n] ?? "",
592
- ...L(e, n)
597
+ ...ee(e, n)
593
598
  }));
594
599
  }
595
- let D = l(() => i.back.map((e) => ({
600
+ let w = l(() => i.back.map((e) => ({
596
601
  ...e,
597
602
  label: s(e.label)
598
603
  }))), O = /* @__PURE__ */ new Set([
@@ -602,16 +607,16 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
602
607
  "sidebar",
603
608
  "aside",
604
609
  "source"
605
- ]), A = l(() => Object.keys(v).filter((e) => !O.has(e)));
610
+ ]), k = l(() => Object.keys(v).filter((e) => !O.has(e)));
606
611
  function j() {
607
612
  window.history.back();
608
613
  }
609
- return (i, a) => (S(), u(o, {
614
+ return (i, a) => (C(), u(o, {
610
615
  spec: y.value,
611
616
  id: e.id,
612
617
  class: "mwnf-standalone-item"
613
618
  }, m({
614
- header: M(({ languages: e, language: n, select: r }) => [p("div", Ye, [g(t, {
619
+ header: P(({ languages: e, language: n, select: r }) => [p("div", nt, [g(t, {
615
620
  languages: e,
616
621
  language: n,
617
622
  onSelect: r
@@ -620,30 +625,30 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
620
625
  "language",
621
626
  "onSelect"
622
627
  ])])]),
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", {
628
+ "before-sheet": P((e) => [p("div", rt, [w.value.length ? (C(), f("p", it, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
624
629
  key: 0,
625
630
  type: "button",
626
631
  class: "mwnf-standalone-item__back-link",
627
632
  onClick: j
628
- }, E(e.label), 1)) : (S(), u(n, {
633
+ }, D(e.label), 1)) : (C(), u(n, {
629
634
  key: 1,
630
635
  class: "mwnf-standalone-item__back-link",
631
636
  to: e.to,
632
637
  href: e.href
633
638
  }, {
634
- default: M(() => [h(E(e.label), 1)]),
639
+ default: P(() => [h(D(e.label), 1)]),
635
640
  _: 2
636
641
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
637
642
  images: x(e),
638
643
  "thumbs-from": 1
639
- }, null, 8, ["images"])]), T(i.$slots, "before-sheet", b(_(e)))]),
640
- related: M((t) => [g(Je, {
644
+ }, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
645
+ related: P((t) => [g(tt, {
641
646
  heading: e.related.heading ?? "record.related.title",
642
647
  records: t.records,
643
648
  groups: e.related.groups ?? [],
644
649
  download: e.related.download ?? null
645
650
  }, {
646
- default: M(() => [T(i.$slots, "sidebar", b(_(t)))]),
651
+ default: P(() => [E(i.$slots, "sidebar", b(_(t)))]),
647
652
  _: 2
648
653
  }, 1032, [
649
654
  "heading",
@@ -651,44 +656,44 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
651
656
  "groups",
652
657
  "download"
653
658
  ])]),
654
- source: M((e) => [T(i.$slots, "source", b(_(e)))]),
659
+ source: P((e) => [E(i.$slots, "source", b(_(e)))]),
655
660
  _: 2
656
- }, [w(A.value, (e) => ({
661
+ }, [T(k.value, (e) => ({
657
662
  name: e,
658
- fn: M((t) => [T(i.$slots, e, b(_(t)))])
663
+ fn: P((t) => [E(i.$slots, e, b(_(t)))])
659
664
  }))]), 1032, ["spec", "id"]));
660
665
  }
661
- }, $e = {
666
+ }, ot = {
662
667
  key: 0,
663
668
  class: "mwnf-standalone-item__top"
664
- }, et = {
669
+ }, st = {
665
670
  key: 1,
666
671
  hidden: ""
667
- }, tt = {
672
+ }, ct = {
668
673
  key: 0,
669
674
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
670
- }, nt = { class: "mwnf-standalone-partner__heading" }, rt = ["dir", "innerHTML"], it = {
675
+ }, lt = { class: "mwnf-standalone-partner__heading" }, ut = ["dir", "innerHTML"], dt = {
671
676
  key: 0,
672
677
  class: "mwnf-standalone-partner__location"
673
- }, at = { class: "mwnf-standalone-partner__bar" }, ot = { class: "mwnf-standalone-partner__bar-start" }, st = ["aria-label", "onKeydown"], ct = [
678
+ }, ft = { class: "mwnf-standalone-partner__bar" }, pt = { class: "mwnf-standalone-partner__bar-start" }, mt = ["aria-label", "onKeydown"], ht = [
674
679
  "id",
675
680
  "aria-selected",
676
681
  "aria-controls",
677
682
  "tabindex",
678
683
  "onClick"
679
- ], lt = {
684
+ ], gt = {
680
685
  key: 0,
681
686
  class: "mwnf-standalone-partner__divider",
682
687
  "aria-hidden": "true"
683
- }, 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 = [
688
+ }, _t = { key: 0 }, vt = ["href"], yt = { class: "mwnf-standalone-partner__bar-end" }, bt = { class: "mwnf-standalone-partner__body" }, xt = { class: "mwnf-standalone-partner__pictures" }, St = { class: "mwnf-standalone-partner__panels" }, Ct = [
684
689
  "id",
685
690
  "aria-labelledby",
686
691
  "dir",
687
692
  "innerHTML"
688
- ], _t = ["id", "aria-labelledby"], vt = ["innerHTML"], yt = ["href"], bt = { key: 0 }, xt = ["href"], St = ["href"], Ct = ["id", "aria-labelledby"], wt = ["src"], Tt = {
693
+ ], wt = ["id", "aria-labelledby"], Tt = ["innerHTML"], Et = ["href"], Dt = { key: 0 }, Ot = ["href"], kt = ["href"], At = ["id", "aria-labelledby"], jt = ["src"], Mt = {
689
694
  key: 0,
690
695
  class: "mwnf-standalone-partner__map"
691
- }, Et = { class: "mwnf-standalone-partner__map-heading" }, Dt = {
696
+ }, Nt = { class: "mwnf-standalone-partner__map-heading" }, Pt = {
692
697
  __name: "PartnerPage",
693
698
  props: {
694
699
  id: {
@@ -729,7 +734,7 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
729
734
  }
730
735
  },
731
736
  setup(e) {
732
- let a = e, { t: s, locale: m } = U(), _ = O(), b = {
737
+ let a = e, { t: s, locale: m } = K(), _ = k(), b = {
733
738
  entity: "partners",
734
739
  fields: [],
735
740
  shortDescription: !1,
@@ -745,22 +750,22 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
745
750
  phone: "partner.info.phone",
746
751
  fax: "partner.info.fax",
747
752
  map: "partner.map.map"
748
- }, T = (e) => s(a.labels[e] ?? x[e]);
749
- function k(e) {
753
+ }, S = (e) => s(a.labels[e] ?? x[e]);
754
+ function E(e) {
750
755
  return (typeof a.back == "function" ? a.back(e) ?? [] : a.back).map((e) => ({
751
756
  ...e,
752
757
  label: s(e.label)
753
758
  }));
754
759
  }
755
- function P() {
760
+ function A() {
756
761
  window.history.back();
757
762
  }
758
- function F(e, t, n) {
763
+ function j(e, t, n) {
759
764
  let r = [];
760
765
  return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
761
766
  }
762
- let I = C("about");
763
- j(() => a.id, () => {
767
+ let I = w("about");
768
+ N(() => a.id, () => {
764
769
  I.value = "about";
765
770
  });
766
771
  function L(e, t) {
@@ -776,12 +781,12 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
776
781
  url: e.url,
777
782
  alt: e.alt
778
783
  })), 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"));
779
- return (l, m) => (S(), u(o, {
784
+ return (l, m) => (C(), u(o, {
780
785
  spec: b,
781
786
  id: e.id,
782
787
  class: "mwnf-standalone-partner"
783
788
  }, {
784
- header: M(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (S(), f("div", $e, [g(t, {
789
+ header: P(({ record: n, languages: r, language: i, select: a }) => [e.bands(n) ? (C(), f("div", ot, [g(t, {
785
790
  languages: r,
786
791
  language: i,
787
792
  onSelect: a
@@ -789,110 +794,110 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
789
794
  "languages",
790
795
  "language",
791
796
  "onSelect"
792
- ])])) : (S(), f("div", et))]),
793
- "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 }, [
794
- 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", {
797
+ ])])) : (C(), f("div", st))]),
798
+ "before-sheet": P(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
799
+ E(t).length ? (C(), f("p", ct, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
795
800
  key: 0,
796
801
  type: "button",
797
802
  class: "mwnf-standalone-item__back-link",
798
- onClick: P
799
- }, E(e.label), 1)) : (S(), u(n, {
803
+ onClick: A
804
+ }, D(e.label), 1)) : (C(), u(n, {
800
805
  key: 1,
801
806
  class: "mwnf-standalone-item__back-link",
802
807
  to: e.to,
803
808
  href: e.href
804
809
  }, {
805
- default: M(() => [h(E(e.label), 1)]),
810
+ default: P(() => [h(D(e.label), 1)]),
806
811
  _: 2
807
812
  }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
808
- p("div", nt, [p("h3", {
813
+ p("div", lt, [p("h3", {
809
814
  class: "mwnf-standalone-partner__name",
810
815
  dir: o || void 0,
811
816
  innerHTML: a.name
812
- }, null, 8, rt), a.location ? (S(), f("h4", it, [p("i", null, E(a.location), 1)])) : d("", !0)]),
813
- p("div", at, [p("div", ot, [p("ul", {
817
+ }, null, 8, ut), a.location ? (C(), f("h4", dt, [p("i", null, D(a.location), 1)])) : d("", !0)]),
818
+ p("div", ft, [p("div", pt, [p("ul", {
814
819
  role: "tablist",
815
820
  class: "mwnf-standalone-partner__tabs",
816
821
  "aria-label": a.plainName,
817
- onKeydown: (e) => L(e, F(a, t, i))
818
- }, [(S(!0), f(c, null, w(F(a, t, i), (e, n) => (S(), f("li", {
822
+ onKeydown: (e) => L(e, j(a, t, i))
823
+ }, [(C(!0), f(c, null, T(j(a, t, i), (e, n) => (C(), f("li", {
819
824
  key: e,
820
825
  role: "presentation"
821
826
  }, [p("button", {
822
- id: `${D(_)}-tab-${e}`,
827
+ id: `${O(_)}-tab-${e}`,
823
828
  type: "button",
824
829
  role: "tab",
825
830
  class: y(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": I.value === e }]),
826
831
  "aria-selected": I.value === e ? "true" : "false",
827
- "aria-controls": `${D(_)}-panel-${e}`,
832
+ "aria-controls": `${O(_)}-panel-${e}`,
828
833
  tabindex: I.value === e ? 0 : -1,
829
834
  onClick: (t) => I.value = e
830
- }, "\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", {
835
+ }, "\xA0" + D(S(e)), 11, ht), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", gt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", _t, [p("a", {
831
836
  class: "mwnf-standalone-partner__homepage",
832
837
  href: a.contact.website.url,
833
838
  target: "_blank",
834
839
  rel: "noopener"
835
- }, "\xA0" + E(T("homepage")), 9, dt)])) : d("", !0)], 40, st)]), p("div", ft, [e.items(t) ? (S(), u(n, {
840
+ }, "\xA0" + D(S("homepage")), 9, vt)])) : d("", !0)], 40, mt)]), p("div", yt, [e.items(t) ? (C(), u(n, {
836
841
  key: 0,
837
842
  class: "mwnf-standalone-partner__items",
838
843
  to: e.items(t).to
839
844
  }, {
840
- default: M(() => [h(E(D(s)(e.items(t).label)), 1)]),
845
+ default: P(() => [h(D(O(s)(e.items(t).label)), 1)]),
841
846
  _: 2
842
847
  }, 1032, ["to"])) : d("", !0)])]),
843
- p("div", pt, [p("div", mt, [a.pictures.length ? (S(), u(r, {
848
+ p("div", bt, [p("div", xt, [a.pictures.length ? (C(), u(r, {
844
849
  key: 0,
845
850
  images: R(a)
846
- }, null, 8, ["images"])) : d("", !0)]), p("div", ht, [
847
- N(p("div", {
848
- id: `${D(_)}-panel-about`,
851
+ }, null, 8, ["images"])) : d("", !0)]), p("div", St, [
852
+ F(p("div", {
853
+ id: `${O(_)}-panel-about`,
849
854
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
850
855
  role: "tabpanel",
851
- "aria-labelledby": `${D(_)}-tab-about`,
856
+ "aria-labelledby": `${O(_)}-tab-about`,
852
857
  dir: o || void 0,
853
858
  innerHTML: a.description
854
- }, null, 8, gt), [[A, I.value === "about"]]),
855
- a.hasContact ? N((S(), f("div", {
859
+ }, null, 8, Ct), [[M, I.value === "about"]]),
860
+ a.hasContact ? F((C(), f("div", {
856
861
  key: 0,
857
- id: `${D(_)}-panel-contact`,
862
+ id: `${O(_)}-panel-contact`,
858
863
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
859
864
  role: "tabpanel",
860
- "aria-labelledby": `${D(_)}-tab-contact`
861
- }, [B(a) ? (S(), f(c, { key: 0 }, [p("p", null, [
862
- p("b", null, E(T("addresses")), 1),
865
+ "aria-labelledby": `${O(_)}-tab-contact`
866
+ }, [B(a) ? (C(), f(c, { key: 0 }, [p("p", null, [
867
+ p("b", null, D(S("addresses")), 1),
863
868
  m[4] ||= p("br", null, null, -1),
864
- a.contact.address ? (S(), f(c, { key: 0 }, [p("span", {
869
+ a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
865
870
  class: "mwnf-standalone-partner__address",
866
871
  innerHTML: a.contact.address
867
- }, null, 8, vt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
868
- 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),
869
- 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),
870
- 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)
871
- ]), 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", {
872
+ }, null, 8, Tt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
873
+ a.contact.phone ? (C(), f(c, { key: 1 }, [h(D(S("phone")) + " " + D(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
874
+ a.contact.fax ? (C(), f(c, { key: 2 }, [h(D(S("fax")) + " " + D(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
875
+ a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Et), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
876
+ ]), z(a).length ? (C(), f("p", Dt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
872
877
  href: e.url,
873
878
  target: "_blank",
874
879
  rel: "noopener"
875
- }, 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 }, [
876
- e.title ? (S(), f(c, { key: 0 }, [p("strong", null, E(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
877
- e.name ? (S(), f(c, { key: 1 }, [h(E(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
878
- 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),
879
- 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),
880
- 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)
881
- ]))), 128))], 8, _t)), [[A, I.value === "contact"]]) : d("", !0),
882
- a.logos.length ? N((S(), f("div", {
880
+ }, D(e.label), 9, Ot)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
881
+ e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
882
+ e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
883
+ e.phone ? (C(), f(c, { key: 2 }, [h(D(S("phone")) + " " + D(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
884
+ e.fax ? (C(), f(c, { key: 3 }, [h(D(S("fax")) + " " + D(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
885
+ e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, kt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
886
+ ]))), 128))], 8, wt)), [[M, I.value === "contact"]]) : d("", !0),
887
+ a.logos.length ? F((C(), f("div", {
883
888
  key: 1,
884
- id: `${D(_)}-panel-logo`,
889
+ id: `${O(_)}-panel-logo`,
885
890
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
886
891
  role: "tabpanel",
887
- "aria-labelledby": `${D(_)}-tab-logo`
888
- }, [(S(!0), f(c, null, w(a.logos, (e) => (S(), f("img", {
892
+ "aria-labelledby": `${O(_)}-tab-logo`
893
+ }, [(C(!0), f(c, null, T(a.logos, (e) => (C(), f("img", {
889
894
  key: e.url,
890
895
  src: e.url,
891
896
  alt: ""
892
- }, null, 8, wt))), 128))], 8, Ct)), [[A, I.value === "logo"]]) : d("", !0)
897
+ }, null, 8, jt))), 128))], 8, At)), [[M, I.value === "logo"]]) : d("", !0)
893
898
  ])])
894
899
  ], 64))), 128))]),
895
- 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, {
900
+ after: P(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Mt, [p("h3", Nt, D(S("map")), 1), g(i, {
896
901
  provider: "google",
897
902
  latitude: a.view(t, n).map.latitude,
898
903
  longitude: a.view(t, n).map.longitude,
@@ -909,13 +914,13 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
909
914
  _: 1
910
915
  }, 8, ["id"]));
911
916
  }
912
- }, Ot = ["innerHTML"], kt = {
917
+ }, Ft = ["innerHTML"], It = {
913
918
  key: 0,
914
919
  class: "mwnf-standalone-page__link"
915
- }, At = {
920
+ }, Lt = {
916
921
  key: 1,
917
922
  class: "mwnf-standalone-page__print"
918
- }, jt = {
923
+ }, Rt = {
919
924
  __name: "TextPage",
920
925
  props: {
921
926
  body: {
@@ -936,33 +941,33 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
936
941
  }
937
942
  },
938
943
  setup(e) {
939
- let t = e, { t: r } = U(), i = l(() => B(r(t.body)));
944
+ let t = e, { t: r } = K(), i = l(() => H(r(t.body)));
940
945
  function a() {
941
946
  window.print();
942
947
  }
943
- return (t, o) => (S(), f("article", { class: y(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
948
+ return (t, o) => (C(), f("article", { class: y(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
944
949
  p("div", {
945
950
  class: "mwnf-standalone-page__body",
946
951
  innerHTML: i.value
947
- }, null, 8, Ot),
948
- e.link ? (S(), f("p", kt, [g(n, {
952
+ }, null, 8, Ft),
953
+ e.link ? (C(), f("p", It, [g(n, {
949
954
  to: e.link.to,
950
955
  href: e.link.href
951
956
  }, {
952
- default: M(() => [p("strong", null, E(e.link.text ?? D(r)(e.link.label)), 1)]),
957
+ default: P(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
953
958
  _: 1
954
959
  }, 8, ["to", "href"])])) : d("", !0),
955
- e.print ? (S(), f("p", At, [p("button", {
960
+ e.print ? (C(), f("p", Lt, [p("button", {
956
961
  type: "button",
957
962
  class: "mwnf-standalone-page__print-button",
958
963
  onClick: a
959
- }, E(D(r)(e.print)), 1)])) : d("", !0)
964
+ }, D(O(r)(e.print)), 1)])) : d("", !0)
960
965
  ], 2));
961
966
  }
962
- }, Mt = {
967
+ }, zt = {
963
968
  key: 0,
964
969
  class: "mwnf-standalone-subnav"
965
- }, Nt = { class: "mwnf-standalone-subnav__tabs" }, Pt = {
970
+ }, Bt = { class: "mwnf-standalone-subnav__tabs" }, Vt = {
966
971
  __name: "SubNav",
967
972
  props: {
968
973
  tabs: {
@@ -975,40 +980,40 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
975
980
  }
976
981
  },
977
982
  setup(e) {
978
- let t = e, { t: r } = U(), i = l(() => t.tabs.map((e) => ({
983
+ let t = e, { t: r } = K(), i = l(() => t.tabs.map((e) => ({
979
984
  ...e,
980
985
  label: r(e.label)
981
986
  })));
982
- 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, {
987
+ return (t, a) => i.value.length || e.aside ? (C(), f("nav", zt, [p("ul", Bt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
983
988
  to: e.to,
984
989
  href: e.href,
985
990
  class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
986
991
  "aria-current": e.active ? "page" : void 0
987
992
  }, {
988
- default: M(() => [h(E(e.label), 1)]),
993
+ default: P(() => [h(D(e.label), 1)]),
989
994
  _: 2
990
995
  }, 1032, [
991
996
  "to",
992
997
  "href",
993
998
  "class",
994
999
  "aria-current"
995
- ])]))), 128))]), e.aside ? (S(), u(n, {
1000
+ ])]))), 128))]), e.aside ? (C(), u(n, {
996
1001
  key: 0,
997
1002
  to: e.aside.to,
998
1003
  href: e.aside.href,
999
1004
  class: "mwnf-standalone-subnav__aside"
1000
1005
  }, {
1001
- default: M(() => [h(E(D(r)(e.aside.label)), 1)]),
1006
+ default: P(() => [h(D(O(r)(e.aside.label)), 1)]),
1002
1007
  _: 1
1003
1008
  }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1004
1009
  }
1005
- }, Ft = { class: "mwnf-standalone-results" }, It = {
1010
+ }, Ht = { class: "mwnf-standalone-results" }, Ut = {
1006
1011
  key: 0,
1007
1012
  class: "mwnf-standalone-results__empty"
1008
- }, 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 = {
1013
+ }, Wt = { class: "mwnf-standalone-results__tile" }, Gt = ["src"], Kt = { class: "mwnf-standalone-results__panel" }, qt = ["src"], Jt = { class: "mwnf-standalone-results__name" }, Yt = ["innerHTML"], Xt = ["innerHTML"], Zt = {
1009
1014
  key: 0,
1010
1015
  class: "mwnf-standalone-results__holder"
1011
- }, Gt = ["innerHTML"], Kt = ["innerHTML"], qt = {
1016
+ }, Qt = ["innerHTML"], $t = ["innerHTML"], en = {
1012
1017
  __name: "ResultsGrid",
1013
1018
  props: {
1014
1019
  rows: {
@@ -1029,61 +1034,61 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
1029
1034
  }
1030
1035
  },
1031
1036
  setup(e) {
1032
- 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", {
1037
+ return (t, r) => (C(), f("div", Ht, [e.rows.length ? d("", !0) : (C(), f("p", Ut, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
1033
1038
  key: t.id,
1034
1039
  class: "mwnf-standalone-results__cell"
1035
- }, [p("div", Lt, [g(n, {
1040
+ }, [p("div", Wt, [g(n, {
1036
1041
  class: "mwnf-standalone-results__frame",
1037
1042
  to: t.to,
1038
1043
  href: t.href
1039
1044
  }, {
1040
- default: M(() => [p("img", {
1045
+ default: P(() => [p("img", {
1041
1046
  src: t.image || e.noImage,
1042
1047
  alt: ""
1043
- }, null, 8, Rt)]),
1048
+ }, null, 8, Gt)]),
1044
1049
  _: 2
1045
- }, 1032, ["to", "href"]), p("div", zt, [
1050
+ }, 1032, ["to", "href"]), p("div", Kt, [
1046
1051
  g(n, {
1047
1052
  class: "mwnf-standalone-results__panel-frame",
1048
1053
  to: t.to,
1049
1054
  href: t.href
1050
1055
  }, {
1051
- default: M(() => [p("img", {
1056
+ default: P(() => [p("img", {
1052
1057
  src: t.image || e.noImage,
1053
1058
  alt: ""
1054
- }, null, 8, Bt)]),
1059
+ }, null, 8, qt)]),
1055
1060
  _: 2
1056
1061
  }, 1032, ["to", "href"]),
1057
- p("p", Vt, [p("strong", null, [g(n, {
1062
+ p("p", Jt, [p("strong", null, [g(n, {
1058
1063
  to: t.to,
1059
1064
  href: t.href
1060
1065
  }, {
1061
- default: M(() => [p("span", { innerHTML: t.name }, null, 8, Ht)]),
1066
+ default: P(() => [p("span", { innerHTML: t.name }, null, 8, Yt)]),
1062
1067
  _: 2
1063
1068
  }, 1032, ["to", "href"])])]),
1064
- (S(!0), f(c, null, w(t.lines ?? [], (e, t) => (S(), f("p", {
1069
+ (C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
1065
1070
  key: t,
1066
1071
  innerHTML: e
1067
- }, null, 8, Ut))), 128)),
1068
- t.holder ? (S(), f("p", Wt, [p("strong", { innerHTML: t.holder }, null, 8, Gt)])) : d("", !0),
1069
- t.location ? (S(), f("p", {
1072
+ }, null, 8, Xt))), 128)),
1073
+ t.holder ? (C(), f("p", Zt, [p("strong", { innerHTML: t.holder }, null, 8, Qt)])) : d("", !0),
1074
+ t.location ? (C(), f("p", {
1070
1075
  key: 1,
1071
1076
  innerHTML: t.location
1072
- }, null, 8, Kt)) : d("", !0),
1077
+ }, null, 8, $t)) : d("", !0),
1073
1078
  p("p", null, [g(n, {
1074
1079
  class: "mwnf-standalone-results__see",
1075
1080
  to: t.to,
1076
1081
  href: t.href
1077
1082
  }, {
1078
- default: M(() => [h(E(e.seeLabel), 1)]),
1083
+ default: P(() => [h(D(e.seeLabel), 1)]),
1079
1084
  _: 1
1080
1085
  }, 8, ["to", "href"])])
1081
1086
  ])])]))), 128))]));
1082
1087
  }
1083
- }, Jt = {
1088
+ }, tn = {
1084
1089
  key: 0,
1085
1090
  class: "mwnf-standalone-pages"
1086
- }, Yt = { class: "mwnf-standalone-pages__previous" }, Xt = ["aria-current", "onClick"], Zt = { class: "mwnf-standalone-pages__next" }, Qt = {
1091
+ }, nn = { class: "mwnf-standalone-pages__previous" }, rn = ["aria-current", "onClick"], an = { class: "mwnf-standalone-pages__next" }, on = {
1087
1092
  __name: "Pagination",
1088
1093
  props: {
1089
1094
  pageInfo: {
@@ -1113,30 +1118,30 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
1113
1118
  function s(e) {
1114
1119
  e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1115
1120
  }
1116
- return (t, n) => a.value > 1 ? (S(), f("nav", Jt, [
1117
- p("span", Yt, [i.value > 1 ? (S(), f("a", {
1121
+ return (t, n) => a.value > 1 ? (C(), f("nav", tn, [
1122
+ p("span", nn, [i.value > 1 ? (C(), f("a", {
1118
1123
  key: 0,
1119
1124
  href: "#",
1120
- onClick: n[0] ||= P((e) => s(i.value - 1), ["prevent"])
1121
- }, E(e.previousLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.previousLabel), 1)], 64))]),
1122
- (S(!0), f(c, null, w(o.value, (e) => (S(), f("a", {
1125
+ onClick: n[0] ||= I((e) => s(i.value - 1), ["prevent"])
1126
+ }, D(e.previousLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.previousLabel), 1)], 64))]),
1127
+ (C(!0), f(c, null, T(o.value, (e) => (C(), f("a", {
1123
1128
  key: e,
1124
1129
  href: "#",
1125
1130
  class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1126
1131
  "aria-current": e === i.value ? "page" : void 0,
1127
- onClick: P((t) => s(e), ["prevent"])
1128
- }, E(e), 11, Xt))), 128)),
1129
- p("span", Zt, [i.value < a.value ? (S(), f("a", {
1132
+ onClick: I((t) => s(e), ["prevent"])
1133
+ }, D(e), 11, rn))), 128)),
1134
+ p("span", an, [i.value < a.value ? (C(), f("a", {
1130
1135
  key: 0,
1131
1136
  href: "#",
1132
- onClick: n[1] ||= P((e) => s(i.value + 1), ["prevent"])
1133
- }, E(e.nextLabel), 1)) : (S(), f(c, { key: 1 }, [h(E(e.nextLabel), 1)], 64))])
1137
+ onClick: n[1] ||= I((e) => s(i.value + 1), ["prevent"])
1138
+ }, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
1134
1139
  ])) : d("", !0);
1135
1140
  }
1136
- }, $t = ["disabled", "aria-label"], en = { class: "mwnf-standalone-slider__track" }, tn = ["src", "alt"], nn = {
1141
+ }, sn = ["disabled", "aria-label"], cn = { class: "mwnf-standalone-slider__track" }, ln = ["src", "alt"], un = {
1137
1142
  key: 0,
1138
1143
  class: "mwnf-standalone-slider__label"
1139
- }, rn = ["disabled", "aria-label"], an = {
1144
+ }, dn = ["disabled", "aria-label"], fn = {
1140
1145
  __name: "Slider",
1141
1146
  props: {
1142
1147
  slides: {
@@ -1157,12 +1162,12 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
1157
1162
  }
1158
1163
  },
1159
1164
  setup(e) {
1160
- 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) => ({
1165
+ let t = e, { t: r } = K(), i = Y(), a = w(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
1161
1166
  ...e,
1162
1167
  image: i(e.image) ?? "",
1163
1168
  label: e.label ? r(e.label) : ""
1164
1169
  })));
1165
- return (t, i) => e.slides.length ? (S(), f("div", {
1170
+ return (t, i) => e.slides.length ? (C(), f("div", {
1166
1171
  key: 0,
1167
1172
  class: "mwnf-standalone-slider",
1168
1173
  style: x({ "--mwnf-standalone-slider-count": e.visible })
@@ -1171,31 +1176,160 @@ var re = { class: "mwnf-standalone-sponsors" }, ie = {
1171
1176
  type: "button",
1172
1177
  class: "mwnf-standalone-slider__button",
1173
1178
  disabled: a.value === 0,
1174
- "aria-label": D(r)(e.previousLabel),
1179
+ "aria-label": O(r)(e.previousLabel),
1175
1180
  onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
1176
- }, "‹", 8, $t),
1177
- p("ul", en, [(S(!0), f(c, null, w(s.value, (e) => (S(), f("li", {
1181
+ }, "‹", 8, sn),
1182
+ p("ul", cn, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
1178
1183
  key: e.image,
1179
1184
  class: "mwnf-standalone-slider__slide"
1180
1185
  }, [g(n, {
1181
1186
  to: e.to,
1182
1187
  href: e.href
1183
1188
  }, {
1184
- default: M(() => [p("img", {
1189
+ default: P(() => [p("img", {
1185
1190
  src: e.image,
1186
1191
  alt: e.label
1187
- }, null, 8, tn), e.label ? (S(), f("span", nn, E(e.label), 1)) : d("", !0)]),
1192
+ }, null, 8, ln), e.label ? (C(), f("span", un, D(e.label), 1)) : d("", !0)]),
1188
1193
  _: 2
1189
1194
  }, 1032, ["to", "href"])]))), 128))]),
1190
1195
  p("button", {
1191
1196
  type: "button",
1192
1197
  class: "mwnf-standalone-slider__button",
1193
1198
  disabled: a.value >= o.value,
1194
- "aria-label": D(r)(e.nextLabel),
1199
+ "aria-label": O(r)(e.nextLabel),
1195
1200
  onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
1196
- }, "›", 8, rn)
1201
+ }, "›", 8, dn)
1197
1202
  ], 4)) : d("", !0);
1198
1203
  }
1204
+ }, pn = ["dir"], mn = { class: "mwnf-standalone-window__box" }, hn = { class: "mwnf-standalone-window__header" }, gn = { class: "mwnf-standalone-window__heading" }, _n = ["aria-label"], vn = { class: "mwnf-standalone-window__article" }, yn = {
1205
+ __name: "Window",
1206
+ props: {
1207
+ heading: {
1208
+ type: String,
1209
+ default: ""
1210
+ },
1211
+ closeLabel: {
1212
+ type: String,
1213
+ default: ""
1214
+ },
1215
+ dir: {
1216
+ type: String,
1217
+ default: ""
1218
+ }
1219
+ },
1220
+ setup(e) {
1221
+ function t() {
1222
+ window.opener ? (window.opener.focus(), window.close()) : window.history.back();
1223
+ }
1224
+ return (n, r) => (C(), f("div", {
1225
+ class: "mwnf-standalone-window",
1226
+ dir: e.dir || void 0
1227
+ }, [p("div", mn, [p("header", hn, [p("h1", gn, D(e.heading), 1), p("button", {
1228
+ type: "button",
1229
+ class: "mwnf-standalone-window__close",
1230
+ "aria-label": e.closeLabel || void 0,
1231
+ onClick: t
1232
+ }, "×", 8, _n)]), p("article", vn, [E(n.$slots, "default")])])], 8, pn));
1233
+ }
1234
+ }, bn = { class: "mwnf-standalone-glossary" }, xn = { class: "mwnf-standalone-glossary__intro" }, Sn = { class: "mwnf-standalone-glossary__body" }, Cn = { class: "mwnf-standalone-glossary__field" }, wn = ["aria-expanded", "aria-label"], Tn = {
1235
+ key: 0,
1236
+ class: "mwnf-standalone-glossary__suggestions",
1237
+ role: "listbox"
1238
+ }, En = ["aria-selected", "onMousedown"], Dn = {
1239
+ class: "mwnf-standalone-glossary__result",
1240
+ "aria-live": "polite"
1241
+ }, On = { class: "mwnf-standalone-glossary__label" }, kn = ["innerHTML"], An = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, jn = { class: "mwnf-standalone-glossary__note" }, Mn = { class: "mwnf-standalone-glossary__spellings" }, Nn = {
1242
+ __name: "GlossarySpelling",
1243
+ props: {
1244
+ language: {
1245
+ type: String,
1246
+ default: "en"
1247
+ },
1248
+ labels: {
1249
+ type: Object,
1250
+ default: () => ({})
1251
+ },
1252
+ entity: {
1253
+ type: String,
1254
+ default: "glossary"
1255
+ },
1256
+ dir: {
1257
+ type: String,
1258
+ default: ""
1259
+ }
1260
+ },
1261
+ setup(e) {
1262
+ let t = e, n = G(), r = z(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
1263
+ S(async () => {
1264
+ await B([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
1265
+ });
1266
+ let a = w(""), o = w(null), s = w(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
1267
+ let e = R(a.value.trim());
1268
+ if (!e || o.value) return [];
1269
+ let n = /* @__PURE__ */ new Map();
1270
+ for (let i of r.value ?? []) for (let r of m(i, t.language).spellings ?? []) {
1271
+ let t = String(r).trim();
1272
+ t && R(t).startsWith(e) && n.set(t, i);
1273
+ }
1274
+ return [...n].map(([e, t]) => ({
1275
+ spelling: e,
1276
+ term: t
1277
+ })).sort((e, t) => R(e.spelling) < R(t.spelling) ? -1 : +(R(e.spelling) > R(t.spelling)));
1278
+ }), g = l(() => o.value ? V(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
1279
+ if (!o.value) return [];
1280
+ let e = /* @__PURE__ */ new Set(), t = [];
1281
+ for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
1282
+ let n = R(String(r).trim());
1283
+ n && !e.has(n) && (e.add(n), t.push(String(r).trim()));
1284
+ }
1285
+ return t;
1286
+ });
1287
+ function v(e) {
1288
+ o.value = e.term, a.value = e.spelling, s.value = -1;
1289
+ }
1290
+ function b() {
1291
+ o.value = null, s.value = -1;
1292
+ }
1293
+ function x(e) {
1294
+ let t = h.value;
1295
+ t.length && (e.key === "ArrowDown" ? (e.preventDefault(), s.value = (s.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), s.value = (s.value - 1 + t.length) % t.length) : e.key === "Enter" && s.value >= 0 && (e.preventDefault(), v(t[s.value])));
1296
+ }
1297
+ return (t, n) => (C(), u(yn, {
1298
+ heading: e.labels.heading,
1299
+ "close-label": e.labels.close,
1300
+ dir: e.dir
1301
+ }, {
1302
+ default: P(() => [p("div", bn, [p("h2", xn, D(e.labels.intro), 1), p("div", Sn, [p("div", Cn, [F(p("input", {
1303
+ "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1304
+ type: "text",
1305
+ class: "mwnf-standalone-glossary__input",
1306
+ role: "combobox",
1307
+ "aria-autocomplete": "list",
1308
+ "aria-expanded": h.value.length > 0,
1309
+ "aria-label": e.labels.heading,
1310
+ onInput: b,
1311
+ onKeydown: x
1312
+ }, null, 40, wn), [[j, a.value]]), h.value.length ? (C(), f("ul", Tn, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
1313
+ key: e.spelling,
1314
+ role: "option",
1315
+ "aria-selected": t === s.value,
1316
+ class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
1317
+ onMousedown: I((t) => v(e), ["prevent"])
1318
+ }, D(e.spelling), 43, En))), 128))])) : d("", !0)]), p("div", Dn, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", On, D(e.labels.definition), 1), p("div", {
1319
+ class: "mwnf-standalone-glossary__definition",
1320
+ innerHTML: g.value
1321
+ }, null, 8, kn)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
1322
+ p("h3", An, D(e.labels.spellings), 1),
1323
+ p("p", jn, D(e.labels.spellingsNote), 1),
1324
+ p("ul", Mn, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
1325
+ ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
1326
+ _: 1
1327
+ }, 8, [
1328
+ "heading",
1329
+ "close-label",
1330
+ "dir"
1331
+ ]));
1332
+ }
1199
1333
  };
1200
1334
  //#endregion
1201
- 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 };
1335
+ export { tt as RelatedContent, J as StandaloneBanner, Nn as StandaloneGlossarySpelling, Ke as StandaloneHome, at as StandaloneItemSheet, on as StandalonePagination, Pt as StandalonePartnerPage, en as StandaloneResultsGrid, Oe as StandaloneShell, fn as StandaloneSlider, be as StandaloneSponsors, Vt as StandaloneSubNav, Rt as StandaloneTextPage, He as StandaloneTileGrid, yn as StandaloneWindow, Ie as TodayHighlight, X as byLanguage, Z as dayOfYear, $ as legacyHomeItemKey, Q as pickForDay };