@museumwnf/viewer-layout 3.80.0 → 3.80.2

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,15 +1,15 @@
1
- import { t as e } from "./SiteShell-CzKgoOBm.js";
2
- import { r as t } from "./chrome-Bv_mLlHM.js";
3
- import { c as n, d as r, n as i, t as a } from "./PartnerMap-DdyMLtgH.js";
4
- import { n as o, t as s } from "./RecordView-CBC7tBCX.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 _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onMounted as w, openBlock as T, reactive as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, unref as j, useId as M, useModel as N, useSlots as P, vModelSelect as F, vModelText as I, vShow as L, watch as R, withCtx as z, withDirectives as B, withModifiers as V } from "vue";
6
- import { byId as ee, collate as H, entityRef as te, loadEntities as ne, md as U, pictureCredits as re, picturesInLanguage as ie, removeEndingPoint as W, renderBlock as ae, renderInline as G, renderPlain as K, useDataPackage as oe, useI18n as q, useSection as se, useSiteConfig as J } from "@museumwnf/viewer-core";
7
- import { useRoute as ce } from "vue-router";
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createSlots as o, createTextVNode as s, createVNode as c, guardReactiveProps as l, mergeModels as u, nextTick as d, normalizeClass as f, normalizeProps as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, reactive as v, ref as y, renderList as b, renderSlot as x, toDisplayString as S, unref as C, useId as w, useModel as T, useSlots as E, vModelSelect as D, vModelText as O, vShow as k, watch as A, withCtx as j, withDirectives as M, withModifiers as N } from "vue";
2
+ import { useRoute as P } from "vue-router";
3
+ import { byId as F, collate as I, entityRef as ee, loadEntities as L, md as R, pictureCredits as te, picturesInLanguage as ne, removeEndingPoint as z, renderBlock as re, renderInline as B, renderPlain as V, useDataPackage as H, useI18n as U, useSection as ie, useSiteConfig as W } from "@museumwnf/viewer-core";
4
+ import { t as ae } from "./SiteShell-D0u1FGMu.js";
5
+ import { r as G } from "./chrome-Bv_mLlHM.js";
6
+ import { c as K, d as q, n as oe, t as se } from "./PartnerMap-DdyMLtgH.js";
7
+ import { n as ce, t as le } from "./RecordView-DAvWufWV.js";
8
8
  // src/standalone/Banner.vue
9
- var le = {
9
+ var ue = {
10
10
  key: 0,
11
11
  class: "mwnf-standalone-banner__title"
12
- }, ue = {
12
+ }, de = {
13
13
  __name: "Banner",
14
14
  props: {
15
15
  image: {
@@ -22,28 +22,28 @@ var le = {
22
22
  }
23
23
  },
24
24
  setup(e) {
25
- return (t, n) => (T(), f("div", {
25
+ return (t, n) => (_(), i("div", {
26
26
  class: "mwnf-standalone-banner",
27
- style: S(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
- }, [e.title ? (T(), f("h1", le, [p("span", null, A(e.title), 1)])) : d("", !0)], 4));
27
+ style: m(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
28
+ }, [e.title ? (_(), i("h1", ue, [a("span", null, S(e.title), 1)])) : r("", !0)], 4));
29
29
  }
30
30
  };
31
31
  // src/standalone/chrome.js
32
- function Y() {
33
- let e = J();
34
- return (n) => t(e.chrome, n);
32
+ function J() {
33
+ let e = W();
34
+ return (t) => G(e.chrome, t);
35
35
  }
36
- function de(e, t) {
36
+ function fe(e, t) {
37
37
  return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
38
38
  }
39
- function fe(e = /* @__PURE__ */ new Date()) {
39
+ function pe(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 X(e, t = /* @__PURE__ */ new Date()) {
44
- return e?.length ? e[fe(t) % e.length] : null;
43
+ function Y(e, t = /* @__PURE__ */ new Date()) {
44
+ return e?.length ? e[pe(t) % e.length] : null;
45
45
  }
46
- function pe(e) {
46
+ function me(e) {
47
47
  let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
48
48
  return !t || n.length < 5 ? "" : [
49
49
  "mwnf3",
@@ -52,106 +52,106 @@ function pe(e) {
52
52
  ].join(":");
53
53
  }
54
54
  // src/standalone/Sponsors.vue
55
- var me = { class: "mwnf-standalone-sponsors" }, he = {
55
+ var he = { class: "mwnf-standalone-sponsors" }, ge = {
56
56
  key: 0,
57
57
  class: "mwnf-standalone-sponsors__text"
58
- }, ge = ["innerHTML"], _e = { key: 1 }, ve = ["innerHTML"], ye = {
58
+ }, _e = ["innerHTML"], ve = { key: 1 }, ye = ["innerHTML"], be = {
59
59
  key: 1,
60
60
  class: "mwnf-standalone-sponsors__title"
61
- }, be = {
61
+ }, xe = {
62
62
  key: 2,
63
63
  class: "mwnf-standalone-sponsors__logos"
64
- }, xe = {
64
+ }, Se = {
65
65
  key: 0,
66
66
  class: "mwnf-standalone-sponsors__note"
67
- }, Se = ["src", "alt"], Ce = ["innerHTML"], we = ["href"], Te = ["src", "alt"], Ee = ["src", "alt"], De = {
67
+ }, Ce = ["src", "alt"], we = ["innerHTML"], Te = ["href"], Ee = ["src", "alt"], De = ["src", "alt"], Oe = {
68
68
  key: 3,
69
69
  class: "mwnf-standalone-sponsors__links"
70
- }, Oe = {
70
+ }, ke = {
71
71
  __name: "Sponsors",
72
72
  props: { columns: {
73
73
  type: Array,
74
74
  default: () => []
75
75
  } },
76
- setup(e) {
77
- let t = e, { t: n } = q(), i = Y(), a = l(() => t.columns.map((e, t) => ({
76
+ setup(n) {
77
+ let o = n, { t: l } = U(), u = J(), d = t(() => o.columns.map((e, t) => ({
78
78
  key: t,
79
79
  width: e.width ?? null,
80
- lead: e.lead ? G(n(e.lead)) : "",
81
- text: e.text ? G(n(e.text)) : "",
80
+ lead: e.lead ? B(l(e.lead)) : "",
81
+ text: e.text ? B(l(e.text)) : "",
82
82
  break: !!e.break,
83
- title: e.title ? n(e.title) : "",
83
+ title: e.title ? l(e.title) : "",
84
84
  logos: (e.logos ?? []).map((e) => ({
85
- src: i(e.src) ?? "",
86
- alt: e.alt ? n(e.alt) : "",
85
+ src: u(e.src) ?? "",
86
+ alt: e.alt ? l(e.alt) : "",
87
87
  href: e.href ?? "",
88
- note: e.note ? ae(n(e.note)) : ""
88
+ note: e.note ? re(l(e.note)) : ""
89
89
  })),
90
90
  links: (e.links ?? []).map((e) => ({
91
91
  ...e,
92
- label: n(e.label)
92
+ label: l(e.label)
93
93
  }))
94
94
  })));
95
- return (e, t) => (T(), f("div", me, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("div", {
96
- key: e.key,
95
+ return (t, n) => (_(), i("div", he, [(_(!0), i(e, null, b(d.value, (t) => (_(), i("div", {
96
+ key: t.key,
97
97
  class: "mwnf-standalone-sponsors__column",
98
- style: S(e.width ? { flexGrow: e.width } : void 0)
98
+ style: m(t.width ? { flexGrow: t.width } : void 0)
99
99
  }, [
100
- e.lead || e.text ? (T(), f("p", he, [
101
- e.lead ? (T(), f("i", {
100
+ t.lead || t.text ? (_(), i("p", ge, [
101
+ t.lead ? (_(), i("i", {
102
102
  key: 0,
103
- innerHTML: e.lead
104
- }, null, 8, ge)) : d("", !0),
105
- e.lead && e.break ? (T(), f("br", _e)) : e.lead && e.text ? (T(), f(c, { key: 2 }, [h(A(" "))], 64)) : d("", !0),
106
- e.text ? (T(), f("span", {
103
+ innerHTML: t.lead
104
+ }, null, 8, _e)) : r("", !0),
105
+ t.lead && t.break ? (_(), i("br", ve)) : t.lead && t.text ? (_(), i(e, { key: 2 }, [s(S(" "))], 64)) : r("", !0),
106
+ t.text ? (_(), i("span", {
107
107
  key: 3,
108
- innerHTML: e.text
109
- }, null, 8, ve)) : d("", !0)
110
- ])) : d("", !0),
111
- e.title ? (T(), f("p", ye, A(e.title), 1)) : d("", !0),
112
- e.logos.length ? (T(), f("ul", be, [(T(!0), f(c, null, O(e.logos, (e) => (T(), f("li", { key: e.src }, [e.note ? (T(), f("details", xe, [p("summary", null, [p("img", {
108
+ innerHTML: t.text
109
+ }, null, 8, ye)) : r("", !0)
110
+ ])) : r("", !0),
111
+ t.title ? (_(), i("p", be, S(t.title), 1)) : r("", !0),
112
+ t.logos.length ? (_(), i("ul", xe, [(_(!0), i(e, null, b(t.logos, (e) => (_(), i("li", { key: e.src }, [e.note ? (_(), i("details", Se, [a("summary", null, [a("img", {
113
113
  src: e.src,
114
114
  alt: e.alt
115
- }, null, 8, Se)]), p("div", {
115
+ }, null, 8, Ce)]), a("div", {
116
116
  class: "mwnf-standalone-sponsors__note-body",
117
117
  innerHTML: e.note
118
- }, null, 8, Ce)])) : e.href ? (T(), f("a", {
118
+ }, null, 8, we)])) : e.href ? (_(), i("a", {
119
119
  key: 1,
120
120
  href: e.href,
121
121
  target: "_blank",
122
122
  rel: "noopener"
123
- }, [p("img", {
123
+ }, [a("img", {
124
124
  src: e.src,
125
125
  alt: e.alt
126
- }, null, 8, Te)], 8, we)) : (T(), f("img", {
126
+ }, null, 8, Ee)], 8, Te)) : (_(), i("img", {
127
127
  key: 2,
128
128
  src: e.src,
129
129
  alt: e.alt
130
- }, null, 8, Ee))]))), 128))])) : d("", !0),
131
- e.links.length ? (T(), f("ul", De, [(T(!0), f(c, null, O(e.links, (e) => (T(), f("li", { key: e.label }, [g(r, {
130
+ }, null, 8, De))]))), 128))])) : r("", !0),
131
+ t.links.length ? (_(), i("ul", Oe, [(_(!0), i(e, null, b(t.links, (e) => (_(), i("li", { key: e.label }, [c(q, {
132
132
  to: e.to,
133
133
  href: e.href,
134
134
  external: !!e.external
135
135
  }, {
136
- default: z(() => [h(A(e.label), 1)]),
136
+ default: j(() => [s(S(e.label), 1)]),
137
137
  _: 2
138
138
  }, 1032, [
139
139
  "to",
140
140
  "href",
141
141
  "external"
142
- ])]))), 128))])) : d("", !0)
142
+ ])]))), 128))])) : r("", !0)
143
143
  ], 4))), 128))]));
144
144
  }
145
- }, ke = {
145
+ }, Ae = {
146
146
  key: 0,
147
147
  class: "mwnf-standalone mwnf-standalone--bare"
148
- }, Ae = { class: "mwnf-banner mwnf-standalone-home-banner" }, je = ["src"], Me = { class: "mwnf-standalone-home-banner__text" }, Ne = {
148
+ }, je = { class: "mwnf-banner mwnf-standalone-home-banner" }, Me = ["src"], Ne = { class: "mwnf-standalone-home-banner__text" }, Pe = {
149
149
  key: 0,
150
150
  class: "mwnf-standalone-home-banner__title"
151
- }, Pe = {
151
+ }, Fe = {
152
152
  key: 1,
153
153
  class: "mwnf-standalone-home-banner__line"
154
- }, Fe = ["src"], Ie = {
154
+ }, Ie = ["src"], Le = {
155
155
  __name: "Shell",
156
156
  props: {
157
157
  language: {
@@ -164,102 +164,102 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
164
164
  }
165
165
  },
166
166
  emits: ["update:language"],
167
- setup(n, { emit: r }) {
168
- let i = n, a = r, { t: o, locale: s } = q(), c = ce(), h = l(() => !!c.meta?.bare), _ = J(), v = se(), y = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), C = l(() => y.value.areas?.[v.value] ?? null), w = (e) => t(_.chrome, de(e, s.value)), E = l(() => {
169
- let e = y.value.logo ?? {}, t = w(C.value?.logo ?? e.src);
167
+ setup(e, { emit: s }) {
168
+ let l = e, u = s, { t: d, locale: p } = U(), m = P(), h = t(() => !!m.meta?.bare), g = W(), v = ie(), y = t(() => g.standalone ?? {}), b = t(() => g.navigation ?? {}), w = t(() => v.value === "home"), T = t(() => y.value.areas?.[v.value] ?? null), E = (e) => G(g.chrome, fe(e, p.value)), D = t(() => {
169
+ let e = y.value.logo ?? {}, t = E(T.value?.logo ?? e.src);
170
170
  return t ? {
171
171
  logo: t,
172
172
  alt: e.alt ?? ""
173
173
  } : null;
174
- }), D = l(() => w(y.value.logo?.print)), O = l(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (S.value ? "home" : "inner"))), M = l(() => {
174
+ }), O = t(() => E(y.value.logo?.print)), k = t(() => (y.value.headerLinks ?? []).filter((e) => !e.on || e.on === "all" || e.on === (w.value ? "home" : "inner"))), A = t(() => {
175
175
  let e = {
176
176
  ...y.value.banner ?? {},
177
- ...C.value?.banner ?? {}
177
+ ...T.value?.banner ?? {}
178
178
  };
179
- return w(S.value ? e.home : e.inner) ?? "";
180
- }), N = l(() => {
181
- let e = c.meta?.bannerTitle ?? x.value.sectionTitles?.[v.value];
182
- return e ? o(e) : "";
183
- }), P = l(() => !S.value && !!(M.value || N.value)), F = l(() => {
179
+ return E(w.value ? e.home : e.inner) ?? "";
180
+ }), M = t(() => {
181
+ let e = m.meta?.bannerTitle ?? b.value.sectionTitles?.[v.value];
182
+ return e ? d(e) : "";
183
+ }), N = t(() => !w.value && !!(A.value || M.value)), F = t(() => {
184
184
  let { homeTitle: e, homeText: t } = y.value.banner ?? {};
185
- return S.value && (e || t) ? {
186
- title: e ? o(e) : "",
187
- text: t ? o(t) : ""
185
+ return w.value && (e || t) ? {
186
+ title: e ? d(e) : "",
187
+ text: t ? d(t) : ""
188
188
  } : null;
189
- }), I = l(() => {
189
+ }), I = t(() => {
190
190
  let e = y.value.sponsors;
191
- return e?.columns?.length && (e.on === "all" || S.value) ? e : null;
192
- }), L = l(() => ({
191
+ return e?.columns?.length && (e.on === "all" || w.value) ? e : null;
192
+ }), ee = t(() => ({
193
193
  navigation: {
194
- ...x.value,
195
- headerLinks: O.value,
194
+ ...b.value,
195
+ headerLinks: k.value,
196
196
  sectionTitles: {},
197
197
  ...y.value.languages === !1 ? { languages: [] } : {}
198
198
  },
199
199
  banner: null,
200
- ...E.value ? { brand: E.value } : {}
201
- })), R = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => y.value.copyright ? `${o(y.value.copyright)} ${R}` : ""), V = l(() => [
200
+ ...D.value ? { brand: D.value } : {}
201
+ })), L = (/* @__PURE__ */ new Date()).getFullYear(), R = t(() => y.value.copyright ? `${d(y.value.copyright)} ${L}` : ""), te = t(() => [
202
202
  "mwnf-standalone",
203
- S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
204
- C.value?.class ?? ""
203
+ w.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
204
+ T.value?.class ?? ""
205
205
  ]);
206
- return (t, n) => h.value ? (T(), f("div", ke, [k(t.$slots, "default")])) : (T(), u(e, {
206
+ return (e, t) => h.value ? (_(), i("div", Ae, [x(e.$slots, "default")])) : (_(), n(ae, {
207
207
  key: 1,
208
- class: b(V.value),
209
- config: L.value,
210
- languages: y.value.languages === !1 ? [] : i.languages,
211
- language: i.language,
208
+ class: f(te.value),
209
+ config: ee.value,
210
+ languages: y.value.languages === !1 ? [] : l.languages,
211
+ language: l.language,
212
212
  "language-placement": "header",
213
213
  "language-style": "select",
214
214
  "header-home": y.value.logo?.href ?? "",
215
- "header-title": S.value ? "" : y.value.heading ? j(o)(y.value.heading) : "",
216
- "header-subtitle": S.value ? "" : y.value.subheading ? j(o)(y.value.subheading) : "",
215
+ "header-title": w.value ? "" : y.value.heading ? C(d)(y.value.heading) : "",
216
+ "header-subtitle": w.value ? "" : y.value.subheading ? C(d)(y.value.subheading) : "",
217
217
  "header-title-href": "#/",
218
- "banner-image": S.value && !F.value ? M.value : "",
219
- "footer-text": B.value || void 0,
220
- "onUpdate:language": n[0] ||= (e) => a("update:language", e)
221
- }, m({
222
- default: z(() => [k(t.$slots, "default")]),
218
+ "banner-image": w.value && !F.value ? A.value : "",
219
+ "footer-text": R.value || void 0,
220
+ "onUpdate:language": t[0] ||= (e) => u("update:language", e)
221
+ }, o({
222
+ default: j(() => [x(e.$slots, "default")]),
223
223
  _: 2
224
224
  }, [
225
- P.value ? {
225
+ N.value ? {
226
226
  name: "banner",
227
- fn: z(() => [g(ue, {
228
- image: M.value,
229
- title: N.value
227
+ fn: j(() => [c(de, {
228
+ image: A.value,
229
+ title: M.value
230
230
  }, null, 8, ["image", "title"])]),
231
231
  key: "0"
232
232
  } : F.value ? {
233
233
  name: "banner",
234
- fn: z(() => [p("section", Ae, [M.value ? (T(), f("img", {
234
+ fn: j(() => [a("section", je, [A.value ? (_(), i("img", {
235
235
  key: 0,
236
236
  class: "mwnf-banner__image",
237
- src: M.value,
237
+ src: A.value,
238
238
  alt: ""
239
- }, null, 8, je)) : d("", !0), p("div", Me, [F.value.title ? (T(), f("h2", Ne, [p("i", null, A(F.value.title), 1)])) : d("", !0), F.value.text ? (T(), f("p", Pe, [p("span", null, A(F.value.text), 1)])) : d("", !0)])])]),
239
+ }, null, 8, Me)) : r("", !0), a("div", Ne, [F.value.title ? (_(), i("h2", Pe, [a("i", null, S(F.value.title), 1)])) : r("", !0), F.value.text ? (_(), i("p", Fe, [a("span", null, S(F.value.text), 1)])) : r("", !0)])])]),
240
240
  key: "1"
241
241
  } : void 0,
242
- D.value ? {
242
+ O.value ? {
243
243
  name: "notice",
244
- fn: z(() => [p("img", {
244
+ fn: j(() => [a("img", {
245
245
  class: "mwnf-standalone__print-logo",
246
- src: D.value,
246
+ src: O.value,
247
247
  alt: ""
248
- }, null, 8, Fe)]),
248
+ }, null, 8, Ie)]),
249
249
  key: "2"
250
250
  } : void 0,
251
- t.$slots.sponsors ? {
251
+ e.$slots.sponsors ? {
252
252
  name: "sponsors",
253
- fn: z(() => [k(t.$slots, "sponsors")]),
253
+ fn: j(() => [x(e.$slots, "sponsors")]),
254
254
  key: "3"
255
255
  } : I.value ? {
256
256
  name: "sponsors",
257
- fn: z(() => [g(Oe, { columns: I.value.columns }, null, 8, ["columns"])]),
257
+ fn: j(() => [c(ke, { columns: I.value.columns }, null, 8, ["columns"])]),
258
258
  key: "4"
259
259
  } : void 0,
260
- t.$slots.footer ? {
260
+ e.$slots.footer ? {
261
261
  name: "footer",
262
- fn: z(() => [k(t.$slots, "footer")]),
262
+ fn: j(() => [x(e.$slots, "footer")]),
263
263
  key: "5"
264
264
  } : void 0
265
265
  ]), 1032, [
@@ -274,19 +274,19 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
274
274
  "footer-text"
275
275
  ]));
276
276
  }
277
- }, Le = {
277
+ }, Re = {
278
278
  key: 0,
279
279
  class: "mwnf-standalone-highlight"
280
- }, Re = ["src", "alt"], ze = {
280
+ }, ze = ["src", "alt"], Be = {
281
281
  key: 1,
282
282
  class: "mwnf-standalone-highlight__heading"
283
- }, Be = { class: "mwnf-standalone-highlight__lines" }, Ve = ["innerHTML"], He = {
283
+ }, Ve = { class: "mwnf-standalone-highlight__lines" }, He = ["innerHTML"], Ue = {
284
284
  key: 2,
285
285
  class: "mwnf-standalone-highlight__place"
286
- }, Ue = {
286
+ }, We = {
287
287
  key: 3,
288
288
  class: "mwnf-standalone-highlight__action"
289
- }, We = {
289
+ }, Ge = {
290
290
  __name: "TodayHighlight",
291
291
  props: {
292
292
  record: {
@@ -326,52 +326,52 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
326
326
  default: ""
327
327
  }
328
328
  },
329
- setup(e) {
330
- let t = e, { t: n } = q(), i = (e) => W(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
331
- let e = t.text ?? {}, r = [], a = i(e.name ?? t.record?.internal_name ?? "");
332
- a && r.push(G(a));
333
- let o = i(e.alternate_name);
334
- o && r.push(`${t.alsoKnownAs ? `${n(t.alsoKnownAs)} ` : ""}${G(o)}`);
335
- let s = [i(e.dates), i(e.dynasty)].filter(Boolean).join(", ");
336
- s && r.push(G(s));
337
- for (let t of ["materials", "holder"]) {
338
- let n = i(e[t]);
339
- n && r.push(G(n));
329
+ setup(o) {
330
+ let l = o, { t: u } = U(), d = (e) => z(Array.isArray(e) ? e.join("; ") : e), f = t(() => {
331
+ let e = l.text ?? {}, t = [], n = d(e.name ?? l.record?.internal_name ?? "");
332
+ n && t.push(B(n));
333
+ let r = d(e.alternate_name);
334
+ r && t.push(`${l.alsoKnownAs ? `${u(l.alsoKnownAs)} ` : ""}${B(r)}`);
335
+ let i = [d(e.dates), d(e.dynasty)].filter(Boolean).join(", ");
336
+ i && t.push(B(i));
337
+ for (let n of ["materials", "holder"]) {
338
+ let r = d(e[n]);
339
+ r && t.push(B(r));
340
340
  }
341
- return r;
342
- }), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => K(String(t.text?.name ?? t.record?.internal_name ?? "")));
343
- return (t, i) => e.record ? (T(), f("div", Le, [
344
- s.value ? (T(), u(r, {
341
+ return t;
342
+ }), p = t(() => l.place ?? [d(l.text?.location), l.country].filter(Boolean).join(", ")), m = t(() => l.picture || (l.record?.images?.[0]?.url ?? "")), h = t(() => V(String(l.text?.name ?? l.record?.internal_name ?? "")));
343
+ return (t, l) => o.record ? (_(), i("div", Re, [
344
+ m.value ? (_(), n(q, {
345
345
  key: 0,
346
346
  class: "mwnf-standalone-highlight__media",
347
- to: e.to
347
+ to: o.to
348
348
  }, {
349
- default: z(() => [p("img", {
349
+ default: j(() => [a("img", {
350
350
  class: "mwnf-standalone-highlight__image",
351
- src: s.value,
352
- alt: m.value
353
- }, null, 8, Re)]),
351
+ src: m.value,
352
+ alt: h.value
353
+ }, null, 8, ze)]),
354
354
  _: 1
355
- }, 8, ["to"])) : d("", !0),
356
- e.heading ? (T(), f("p", ze, [p("strong", null, A(j(n)(e.heading)), 1)])) : d("", !0),
357
- p("p", Be, [(T(!0), f(c, null, O(a.value, (e, t) => (T(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Ve), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
358
- o.value ? (T(), f("p", He, A(j(K)(o.value)), 1)) : d("", !0),
359
- e.action ? (T(), f("p", Ue, [g(r, { to: e.to }, {
360
- default: z(() => [h(A(j(n)(e.action)), 1)]),
355
+ }, 8, ["to"])) : r("", !0),
356
+ o.heading ? (_(), i("p", Be, [a("strong", null, S(C(u)(o.heading)), 1)])) : r("", !0),
357
+ a("p", Ve, [(_(!0), i(e, null, b(f.value, (t, n) => (_(), i(e, { key: n }, [a("span", { innerHTML: t }, null, 8, He), l[0] ||= a("br", null, null, -1)], 64))), 128))]),
358
+ p.value ? (_(), i("p", Ue, S(C(V)(p.value)), 1)) : r("", !0),
359
+ o.action ? (_(), i("p", We, [c(q, { to: o.to }, {
360
+ default: j(() => [s(S(C(u)(o.action)), 1)]),
361
361
  _: 1
362
- }, 8, ["to"])])) : d("", !0)
363
- ])) : d("", !0);
362
+ }, 8, ["to"])])) : r("", !0)
363
+ ])) : r("", !0);
364
364
  }
365
- }, Ge = {
365
+ }, Ke = {
366
366
  key: 0,
367
367
  class: "mwnf-standalone-tiles"
368
- }, Ke = {
368
+ }, qe = {
369
369
  key: 0,
370
370
  class: "mwnf-standalone-tiles__caption"
371
- }, qe = { class: "mwnf-standalone-tiles__caption-text" }, Je = { class: "mwnf-standalone-tiles__grid" }, Ye = ["src", "alt"], Xe = {
371
+ }, Je = { class: "mwnf-standalone-tiles__caption-text" }, Ye = { class: "mwnf-standalone-tiles__grid" }, Xe = ["src", "alt"], Ze = {
372
372
  key: 0,
373
373
  class: "mwnf-standalone-tiles__label"
374
- }, Ze = {
374
+ }, Qe = {
375
375
  __name: "TileGrid",
376
376
  props: {
377
377
  caption: {
@@ -383,96 +383,96 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
383
383
  default: () => []
384
384
  }
385
385
  },
386
- setup(e) {
387
- let t = e, { t: n } = q(), i = Y(), a = l(() => t.items.map((e) => ({
386
+ setup(n) {
387
+ let o = n, { t: s } = U(), l = J(), u = t(() => o.items.map((e) => ({
388
388
  ...e,
389
- image: i(e.image) ?? "",
390
- label: e.text ? K(e.text) : e.label ? n(e.label) : ""
389
+ image: l(e.image) ?? "",
390
+ label: e.text ? V(e.text) : e.label ? s(e.label) : ""
391
391
  })));
392
- return (t, i) => a.value.length ? (T(), f("section", Ge, [e.caption ? (T(), f("p", Ke, [p("span", qe, A(j(n)(e.caption)), 1)])) : d("", !0), p("ul", Je, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("li", {
392
+ return (t, o) => u.value.length ? (_(), i("section", Ke, [n.caption ? (_(), i("p", qe, [a("span", Je, S(C(s)(n.caption)), 1)])) : r("", !0), a("ul", Ye, [(_(!0), i(e, null, b(u.value, (e) => (_(), i("li", {
393
393
  key: e.image,
394
394
  class: "mwnf-standalone-tiles__tile"
395
- }, [g(r, {
395
+ }, [c(q, {
396
396
  to: e.to,
397
397
  href: e.href,
398
398
  class: "mwnf-standalone-tiles__link"
399
399
  }, {
400
- default: z(() => [p("img", {
400
+ default: j(() => [a("img", {
401
401
  class: "mwnf-standalone-tiles__image",
402
402
  src: e.image,
403
403
  alt: e.label
404
- }, null, 8, Ye), e.label ? (T(), f("span", Xe, A(e.label), 1)) : d("", !0)]),
404
+ }, null, 8, Xe), e.label ? (_(), i("span", Ze, S(e.label), 1)) : r("", !0)]),
405
405
  _: 2
406
- }, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
406
+ }, 1032, ["to", "href"])]))), 128))])])) : r("", !0);
407
407
  }
408
- }, Qe = { class: "mwnf-standalone-home" }, $e = {
408
+ }, $e = { class: "mwnf-standalone-home" }, et = {
409
409
  key: 0,
410
410
  class: "mwnf-standalone-home__links"
411
- }, et = { key: 1 }, tt = {
411
+ }, tt = { key: 1 }, nt = {
412
412
  __name: "Home",
413
413
  props: { home: {
414
414
  type: Object,
415
415
  default: null
416
416
  } },
417
- setup(e) {
418
- let t = e, { t: n, locale: i } = q(), a = J(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
417
+ setup(a) {
418
+ let o = a, { t: l, locale: u } = U(), d = W(), p = t(() => o.home ?? d.standalone?.home ?? {}), m = t(() => (p.value.links ?? []).map((e) => ({
419
419
  ...e,
420
- label: n(e.label),
421
- prefix: e.prefix ? n(e.prefix) : "",
422
- title: e.title ? n(e.title) : void 0
423
- }))), p = l(() => o.value.highlight ?? null), m = oe();
424
- p.value?.list?.length && (ne(["items", "countries"]), R(i, (e) => {
425
- m.loadTranslations("items", e), m.loadTranslations("countries", e);
420
+ label: l(e.label),
421
+ prefix: e.prefix ? l(e.prefix) : "",
422
+ title: e.title ? l(e.title) : void 0
423
+ }))), h = t(() => p.value.highlight ?? null), g = H();
424
+ h.value?.list?.length && (L(["items", "countries"]), A(u, (e) => {
425
+ g.loadTranslations("items", e), g.loadTranslations("countries", e);
426
426
  }, { immediate: !0 }));
427
- let _ = ee("items", "backward_compatibility"), v = l(() => {
428
- let e = p.value?.list ?? [], t = e.indexOf(X(e));
427
+ let v = F("items", "backward_compatibility"), y = t(() => {
428
+ let e = h.value?.list ?? [], t = e.indexOf(Y(e));
429
429
  for (let n = 0; t >= 0 && n < e.length; n++) {
430
- let r = _.value.get(pe(e[(t + n) % e.length]));
430
+ let r = v.value.get(me(e[(t + n) % e.length]));
431
431
  if (r) return r;
432
432
  }
433
433
  return null;
434
- }), y = l(() => v.value ? m.tr("items", v.value.id, i.value, "en") : {}), x = l(() => {
435
- let e = v.value?.country_id;
436
- return e ? m.tr("countries", e, i.value, "en").name ?? "" : "";
437
- }), S = l(() => v.value && p.value?.place ? p.value.place(v.value, y.value, x.value) : null), C = l(() => v.value ? {
438
- name: p.value.route ?? "item",
439
- params: { id: v.value.id }
440
- } : null), w = Y(), E = l(() => {
441
- let e = p.value?.pictures ?? [];
442
- return e.length ? w(X(e)) ?? "" : "";
443
- }), D = l(() => {
444
- let e = o.value.tiles?.items;
434
+ }), C = t(() => y.value ? g.tr("items", y.value.id, u.value, "en") : {}), w = t(() => {
435
+ let e = y.value?.country_id;
436
+ return e ? g.tr("countries", e, u.value, "en").name ?? "" : "";
437
+ }), T = t(() => y.value && h.value?.place ? h.value.place(y.value, C.value, w.value) : null), E = t(() => y.value ? {
438
+ name: h.value.route ?? "item",
439
+ params: { id: y.value.id }
440
+ } : null), D = J(), O = t(() => {
441
+ let e = h.value?.pictures ?? [];
442
+ return e.length ? D(Y(e)) ?? "" : "";
443
+ }), k = t(() => {
444
+ let e = p.value.tiles?.items;
445
445
  return (typeof e == "function" ? e() : e) ?? [];
446
446
  });
447
- return (e, t) => (T(), f("div", Qe, [
448
- s.value.length ? (T(), f("ul", $e, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
449
- key: e.label,
450
- class: b({ "mwnf-standalone-home__link--gap": e.gap })
451
- }, [g(r, {
452
- to: e.to,
453
- href: e.href,
454
- external: !!e.external,
455
- title: e.title
447
+ return (t, a) => (_(), i("div", $e, [
448
+ m.value.length ? (_(), i("ul", et, [(_(!0), i(e, null, b(m.value, (t) => (_(), i("li", {
449
+ key: t.label,
450
+ class: f({ "mwnf-standalone-home__link--gap": t.gap })
451
+ }, [c(q, {
452
+ to: t.to,
453
+ href: t.href,
454
+ external: !!t.external,
455
+ title: t.title
456
456
  }, {
457
- default: z(() => [e.prefix ? (T(), f(c, { key: 0 }, [h(A(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (T(), f("i", et, A(e.label), 1)) : (T(), f(c, { key: 2 }, [h(A(e.label), 1)], 64))]),
457
+ default: j(() => [t.prefix ? (_(), i(e, { key: 0 }, [s(S(`${t.prefix} `), 1)], 64)) : r("", !0), t.italic ? (_(), i("i", tt, S(t.label), 1)) : (_(), i(e, { key: 2 }, [s(S(t.label), 1)], 64))]),
458
458
  _: 2
459
459
  }, 1032, [
460
460
  "to",
461
461
  "href",
462
462
  "external",
463
463
  "title"
464
- ])], 2))), 128))])) : d("", !0),
465
- p.value ? (T(), u(We, {
464
+ ])], 2))), 128))])) : r("", !0),
465
+ h.value ? (_(), n(Ge, {
466
466
  key: 1,
467
- record: v.value,
468
- text: y.value,
469
- country: x.value,
470
- place: S.value,
471
- to: C.value,
472
- picture: E.value,
473
- heading: p.value.heading ?? "",
474
- "also-known-as": p.value.alsoKnownAs ?? "",
475
- action: p.value.action ?? ""
467
+ record: y.value,
468
+ text: C.value,
469
+ country: w.value,
470
+ place: T.value,
471
+ to: E.value,
472
+ picture: O.value,
473
+ heading: h.value.heading ?? "",
474
+ "also-known-as": h.value.alsoKnownAs ?? "",
475
+ action: h.value.action ?? ""
476
476
  }, null, 8, [
477
477
  "record",
478
478
  "text",
@@ -483,17 +483,17 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
483
483
  "heading",
484
484
  "also-known-as",
485
485
  "action"
486
- ])) : d("", !0),
487
- o.value.tiles ? (T(), u(Ze, {
486
+ ])) : r("", !0),
487
+ p.value.tiles ? (_(), n(Qe, {
488
488
  key: 2,
489
- caption: o.value.tiles.caption ?? "",
490
- items: D.value
491
- }, null, 8, ["caption", "items"])) : d("", !0),
492
- k(e.$slots, "default")
489
+ caption: p.value.tiles.caption ?? "",
490
+ items: k.value
491
+ }, null, 8, ["caption", "items"])) : r("", !0),
492
+ x(t.$slots, "default")
493
493
  ]));
494
494
  }
495
- }, nt = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", rt = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", it = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", at = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
496
- function Z(e) {
495
+ }, rt = "html { height: 100%; margin-bottom: 1px; }\nbody, p, div, td { font: Normal 11px/14px verdana, arial, helvetica; }\nbody { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px auto; }\ndiv { padding: 0px; border: 0px; border-spacing: 0px; margin: 0px; }\np { font: Normal 11px/14px Verdana, Arial, Helvetica; padding: 3px; padding-left: 8px; padding-bottom: 30px; line-height: 1.4em; margin: 0px 0px 10px 0px; }\na, a:link, a:hover, a:visited, a:active { text-decoration: none; }\nh3 { font: Normal 11px/14px Verdana, Arial, Helvetica; padding-left: 8px; padding-right: 8px; font-weight: bold; margin: 0px; }\n.item_description { font-family: Verdana, Arial, Helvetica, sans-serif; padding-top: 25px; padding-bottom: 25px; width: 990px; }", it = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", at = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", ot = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
496
+ function X(e) {
497
497
  return String(e ?? "").replace(/[&<>"]/g, (e) => ({
498
498
  "&": "&amp;",
499
499
  "<": "&lt;",
@@ -501,7 +501,7 @@ function Z(e) {
501
501
  "\"": "&quot;"
502
502
  })[e]);
503
503
  }
504
- var ot = /* @__PURE__ */ new Set([
504
+ var st = /* @__PURE__ */ new Set([
505
505
  "I",
506
506
  "EM",
507
507
  "B",
@@ -509,7 +509,7 @@ var ot = /* @__PURE__ */ new Set([
509
509
  "U",
510
510
  "SUP",
511
511
  "SUB"
512
- ]), st = /* @__PURE__ */ new Set([
512
+ ]), ct = /* @__PURE__ */ new Set([
513
513
  "P",
514
514
  "DIV",
515
515
  "LI",
@@ -517,20 +517,20 @@ var ot = /* @__PURE__ */ new Set([
517
517
  "OL",
518
518
  "SECTION"
519
519
  ]);
520
- function Q(e) {
520
+ function Z(e) {
521
521
  let t = [[]], n = () => t[t.length - 1], r = () => {
522
522
  n().length && t.push([]);
523
523
  }, i = (e) => {
524
524
  if (e.nodeType === Node.TEXT_NODE) {
525
- n().push(Z(e.textContent));
525
+ n().push(X(e.textContent));
526
526
  return;
527
527
  }
528
- if (e.nodeType !== Node.ELEMENT_NODE || e.matches(at)) return;
528
+ if (e.nodeType !== Node.ELEMENT_NODE || e.matches(ot)) return;
529
529
  if (e.tagName === "BR") {
530
530
  n().push("<br/>");
531
531
  return;
532
532
  }
533
- let t = st.has(e.tagName), a = ot.has(e.tagName) ? e.tagName.toLowerCase() : "";
533
+ let t = ct.has(e.tagName), a = st.has(e.tagName) ? e.tagName.toLowerCase() : "";
534
534
  t && r(), a && n().push(`<${a}>`);
535
535
  for (let t of e.childNodes) i(t);
536
536
  a && n().push(`</${a}>`), t && r();
@@ -538,28 +538,28 @@ function Q(e) {
538
538
  for (let t of e.childNodes) i(t);
539
539
  return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
540
540
  }
541
- function ct(e, { title: t = "", dir: n = "" } = {}) {
541
+ function lt(e, { title: t = "", dir: n = "" } = {}) {
542
542
  let r = (t) => {
543
543
  for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
544
544
  return !0;
545
545
  }, i = [];
546
- for (let t of e.querySelectorAll(`${rt}, ${it}`)) {
546
+ for (let t of e.querySelectorAll(`${it}, ${at}`)) {
547
547
  if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
548
548
  if (t.matches(".mwnf-credits__list > dt")) {
549
549
  let e = t.nextElementSibling;
550
- i.push(`<p>${Z(t.textContent.trim())} ${e ? Q(e) : ""}</p>`);
550
+ i.push(`<p>${X(t.textContent.trim())} ${e ? Z(e) : ""}</p>`);
551
551
  continue;
552
552
  }
553
- let e = Q(t);
554
- e && i.push(t.matches(rt) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
553
+ let e = Z(t);
554
+ e && i.push(t.matches(it) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
555
555
  }
556
556
  let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
557
557
  return `<html>
558
- <title>${Z(t)}</title>
558
+ <title>${X(t)}</title>
559
559
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
560
560
  <head>
561
561
  <style>
562
- ${nt}
562
+ ${rt}
563
563
  </style>
564
564
  </head>
565
565
  <body>
@@ -573,28 +573,28 @@ ${i.join("\n")}
573
573
  </body>
574
574
  </html>`;
575
575
  }
576
- function lt(e, t) {
576
+ function ut(e, t) {
577
577
  let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
578
578
  r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
579
579
  }
580
- function ut({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
580
+ function dt({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
581
581
  let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
582
582
  let t = document.createElement("div");
583
- return t.innerHTML = e ?? "", Q(t);
584
- }, c = !!n.theme, l = c ? `<td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
585
- <td style="padding:5px;" width="35%"><b>${Z(n.country)}</b></td>
586
- <td style="padding:5px;" width="37%"><b>${Z(n.theme)}</b></td>` : `<td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
587
- <td style="padding:5px;" width="36%"><b>${Z(n.countryDescription)}</b></td>
583
+ return t.innerHTML = e ?? "", Z(t);
584
+ }, c = !!n.theme, l = c ? `<td style="padding:5px;" width="28%"><b>${X(n.date)}</b></td>
585
+ <td style="padding:5px;" width="35%"><b>${X(n.country)}</b></td>
586
+ <td style="padding:5px;" width="37%"><b>${X(n.theme)}</b></td>` : `<td style="padding:5px;" width="28%"><b>${X(n.date)}</b></td>
587
+ <td style="padding:5px;" width="36%"><b>${X(n.countryDescription)}</b></td>
588
588
  <td width="37%"><b></b></td>`, u = c ? (e) => `<tr>
589
- <td style="padding:5px;">${Z(e.date)}</td>
590
- <td style="padding:5px;">${Z(e.country)}</td>
591
- <td style="padding:5px;">${Z(e.theme)}</td>
589
+ <td style="padding:5px;">${X(e.date)}</td>
590
+ <td style="padding:5px;">${X(e.country)}</td>
591
+ <td style="padding:5px;">${X(e.theme)}</td>
592
592
  </tr>
593
593
  <tr>
594
594
  <td style="padding:5px; width:558px; vertical-align:top;" colspan="3">${s(e.html)}</td>
595
595
  </tr>` : (e) => `<tr>
596
- <td style="padding:5px; vertical-align:top;">&nbsp;${Z(e.date)}</td>
597
- <td style="padding:5px;">${Z(e.country)}</td>
596
+ <td style="padding:5px; vertical-align:top;">&nbsp;${X(e.date)}</td>
597
+ <td style="padding:5px;">${X(e.country)}</td>
598
598
  <td>&nbsp;</td>
599
599
  </tr>
600
600
  <tr>
@@ -608,20 +608,20 @@ ${l}
608
608
  ${r.map(u).join("\n")}
609
609
  </table>
610
610
  </td></tr>
611
- <tr><td>&nbsp;</td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${Z(i)}</td></tr>`;
611
+ <tr><td>&nbsp;</td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${X(i)}</td></tr>`;
612
612
  return `<html>
613
- <title>${Z(e)}</title>
613
+ <title>${X(e)}</title>
614
614
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
615
615
  <head>
616
616
  <style>
617
- ${nt}
617
+ ${rt}
618
618
  </style>
619
619
  </head>
620
620
  <body>
621
621
  <div class="content">
622
622
  <div class="item_description">
623
623
  <table style="${o}" border="0" width="750px">
624
- <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${Z(t).replace(/^([^|/]*)/, "<b>$1</b>")}</div></td></tr>
624
+ <tr><td class="txt" align="left" width="750px"><div style="width: 750px;">&nbsp;&nbsp;${X(t).replace(/^([^|/]*)/, "<b>$1</b>")}</div></td></tr>
625
625
  <tr><td>&nbsp;</td></tr>
626
626
  ${d}
627
627
  </table>
@@ -631,13 +631,13 @@ ${d}
631
631
  </html>`;
632
632
  }
633
633
  // src/standalone/RelatedContent.vue
634
- var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-related__heading" }, pt = { class: "mwnf-standalone-related__group-heading" }, mt = { class: "mwnf-standalone-related__thumbs" }, ht = ["src", "alt"], gt = ["innerHTML"], _t = {
634
+ var ft = { class: "mwnf-standalone-related" }, pt = { class: "mwnf-standalone-related__heading" }, mt = { class: "mwnf-standalone-related__group-heading" }, ht = { class: "mwnf-standalone-related__thumbs" }, gt = ["src", "alt"], _t = ["innerHTML"], vt = {
635
635
  key: 0,
636
636
  class: "mwnf-standalone-related__see-also"
637
- }, vt = { class: "mwnf-standalone-related__see-also-heading" }, yt = ["href"], bt = ["href"], xt = {
637
+ }, yt = { class: "mwnf-standalone-related__see-also-heading" }, bt = ["href"], xt = ["href"], St = {
638
638
  key: 1,
639
639
  class: "mwnf-standalone-related__download"
640
- }, St = { class: "mwnf-standalone-related__download-heading" }, Ct = {
640
+ }, Ct = { class: "mwnf-standalone-related__download-heading" }, wt = {
641
641
  __name: "RelatedContent",
642
642
  props: {
643
643
  heading: {
@@ -665,90 +665,90 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
665
665
  default: "sheet.doc"
666
666
  }
667
667
  },
668
- setup(e) {
669
- let t = e, { t: n } = q(), i = l(() => t.groups.map((e) => ({
670
- heading: n(e.heading),
671
- rows: t.records.filter((t) => !e.type || t.badge === e.type)
668
+ setup(n) {
669
+ let o = n, { t: l } = U(), u = t(() => o.groups.map((e) => ({
670
+ heading: l(e.heading),
671
+ rows: o.records.filter((t) => !e.type || t.badge === e.type)
672
672
  })).filter((e) => e.rows.length));
673
- function a() {
673
+ function d() {
674
674
  window.print();
675
675
  }
676
- function o(e) {
677
- let r = e.currentTarget.closest(".mwnf-standalone-item");
678
- r && lt(ct(r.querySelector(".mwnf-record__main") ?? r, {
679
- title: t.download?.title ? n(t.download.title) : "",
680
- dir: getComputedStyle(r).direction
681
- }), t.wordFile);
676
+ function f(e) {
677
+ let t = e.currentTarget.closest(".mwnf-standalone-item");
678
+ t && ut(lt(t.querySelector(".mwnf-record__main") ?? t, {
679
+ title: o.download?.title ? l(o.download.title) : "",
680
+ dir: getComputedStyle(t).direction
681
+ }), o.wordFile);
682
682
  }
683
- return (t, s) => (T(), f("aside", dt, [
684
- p("p", ft, [p("strong", null, A(j(n)(e.heading)), 1)]),
685
- (T(!0), f(c, null, O(i.value, (e) => (T(), f("div", {
686
- key: e.heading,
683
+ return (t, o) => (_(), i("aside", ft, [
684
+ a("p", pt, [a("strong", null, S(C(l)(n.heading)), 1)]),
685
+ (_(!0), i(e, null, b(u.value, (t) => (_(), i("div", {
686
+ key: t.heading,
687
687
  class: "mwnf-standalone-related__group"
688
- }, [p("p", pt, A(e.heading), 1), p("ul", mt, [(T(!0), f(c, null, O(e.rows, (e) => (T(), f("li", { key: e.id }, [g(r, {
688
+ }, [a("p", mt, S(t.heading), 1), a("ul", ht, [(_(!0), i(e, null, b(t.rows, (e) => (_(), i("li", { key: e.id }, [c(q, {
689
689
  to: e.to,
690
690
  title: e.imageAlt
691
691
  }, {
692
- default: z(() => [e.image ? (T(), f("img", {
692
+ default: j(() => [e.image ? (_(), i("img", {
693
693
  key: 0,
694
694
  src: e.image,
695
695
  alt: e.imageAlt
696
- }, null, 8, ht)) : (T(), f("span", {
696
+ }, null, 8, gt)) : (_(), i("span", {
697
697
  key: 1,
698
698
  innerHTML: e.name
699
- }, null, 8, gt))]),
699
+ }, null, 8, _t))]),
700
700
  _: 2
701
701
  }, 1032, ["to", "title"])]))), 128))])]))), 128)),
702
- k(t.$slots, "default"),
703
- e.seeAlso ? (T(), f("div", _t, [
704
- p("p", vt, [p("strong", null, [s[0] ||= p("br", null, null, -1), h(A(j(n)(e.seeAlso.heading)), 1)])]),
705
- (T(!0), f(c, null, O(e.seeAlso.links ?? [], (e) => (T(), f("a", {
702
+ x(t.$slots, "default"),
703
+ n.seeAlso ? (_(), i("div", vt, [
704
+ a("p", yt, [a("strong", null, [o[0] ||= a("br", null, null, -1), s(S(C(l)(n.seeAlso.heading)), 1)])]),
705
+ (_(!0), i(e, null, b(n.seeAlso.links ?? [], (e) => (_(), i("a", {
706
706
  key: e.href,
707
707
  class: "mwnf-standalone-related__see-also-link",
708
708
  href: e.href,
709
709
  target: "_blank",
710
710
  rel: "noopener"
711
- }, A(j(n)(e.label)), 9, yt))), 128)),
712
- (T(!0), f(c, null, O(e.seeAlso.groups ?? [], (e) => (T(), f("div", {
713
- key: e.heading,
711
+ }, S(C(l)(e.label)), 9, bt))), 128)),
712
+ (_(!0), i(e, null, b(n.seeAlso.groups ?? [], (t) => (_(), i("div", {
713
+ key: t.heading,
714
714
  class: "mwnf-standalone-related__see-also-group"
715
- }, [p("p", null, A(j(n)(e.heading)), 1), (T(!0), f(c, null, O(e.links, (e) => (T(), f("p", { key: e.href }, [p("a", { href: e.href }, A(e.text), 9, bt)]))), 128))]))), 128))
716
- ])) : d("", !0),
717
- e.download ? (T(), f("div", xt, [
718
- p("p", St, A(j(n)(e.download.heading)), 1),
719
- p("button", {
715
+ }, [a("p", null, S(C(l)(t.heading)), 1), (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.href }, [a("a", { href: e.href }, S(e.text), 9, xt)]))), 128))]))), 128))
716
+ ])) : r("", !0),
717
+ n.download ? (_(), i("div", St, [
718
+ a("p", Ct, S(C(l)(n.download.heading)), 1),
719
+ a("button", {
720
720
  type: "button",
721
721
  class: "mwnf-standalone-related__print",
722
- onClick: a
723
- }, A(j(n)(e.download.print)), 1),
724
- e.download.word ? (T(), f("button", {
722
+ onClick: d
723
+ }, S(C(l)(n.download.print)), 1),
724
+ n.download.word ? (_(), i("button", {
725
725
  key: 0,
726
726
  type: "button",
727
727
  class: "mwnf-standalone-related__print mwnf-standalone-related__word",
728
- onClick: o
729
- }, A(j(n)(e.download.word)), 1)) : d("", !0)
730
- ])) : d("", !0)
728
+ onClick: f
729
+ }, S(C(l)(n.download.word)), 1)) : r("", !0)
730
+ ])) : r("", !0)
731
731
  ]));
732
732
  }
733
- }, $ = Object.freeze({
733
+ }, Q = Object.freeze({
734
734
  heading: "standalone.related.seeAlso",
735
735
  travelBook: "standalone.related.travelBook",
736
736
  exhibitionTrail: "standalone.related.exhibitionTrail"
737
- }), wt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
738
- function Tt(e, t) {
739
- let n = W(wt(e?.titles, t) ?? ""), r = W(wt(e?.subtitles, t) ?? "");
737
+ }), Tt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
738
+ function Et(e, t) {
739
+ let n = z(Tt(e?.titles, t) ?? ""), r = z(Tt(e?.subtitles, t) ?? "");
740
740
  return r ? `${n} - ${r}` : n;
741
741
  }
742
- var Et = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Dt = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
743
- function Ot(e, t, n = $) {
742
+ var Dt = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Ot = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
743
+ function kt(e, t, n = Q) {
744
744
  let r = [], i = e?.travel_book;
745
745
  i?.url && r.push({
746
746
  label: n.travelBook,
747
- href: Et(i.url, t)
747
+ href: Dt(i.url, t)
748
748
  });
749
749
  let a = (Array.isArray(e?.exhibition_trails) ? e.exhibition_trails : []).filter((e) => e?.url).map((e) => ({
750
- text: Tt(e, t),
751
- href: Dt(e.url, t)
750
+ text: Et(e, t),
751
+ href: Ot(e.url, t)
752
752
  })), o = a.length ? [{
753
753
  heading: n.exhibitionTrail,
754
754
  links: a
@@ -760,10 +760,10 @@ function Ot(e, t, n = $) {
760
760
  };
761
761
  }
762
762
  // src/standalone/ItemSheet.vue
763
- var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-item__left" }, jt = {
763
+ var At = { class: "mwnf-standalone-item__top" }, jt = { class: "mwnf-standalone-item__left" }, Mt = {
764
764
  key: 0,
765
765
  class: "mwnf-standalone-item__back"
766
- }, Mt = {
766
+ }, Nt = {
767
767
  __name: "ItemSheet",
768
768
  props: {
769
769
  spec: {
@@ -783,95 +783,95 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
783
783
  default: () => ({})
784
784
  }
785
785
  },
786
- setup(e) {
787
- let t = e, { t: a, locale: v } = q(), y = P();
788
- function b(e) {
789
- if (t.related.seeAlso === !1) return null;
790
- let n = {
791
- ...$,
792
- ...typeof t.related.seeAlso == "object" ? t.related.seeAlso : {}
786
+ setup(u) {
787
+ let d = u, { t: f, locale: m } = U(), h = E();
788
+ function g(e) {
789
+ if (d.related.seeAlso === !1) return null;
790
+ let t = {
791
+ ...Q,
792
+ ...typeof d.related.seeAlso == "object" ? d.related.seeAlso : {}
793
793
  };
794
- return Ot(e, v.value, n);
794
+ return kt(e, m.value, t);
795
795
  }
796
- let S = l(() => ({
797
- ...t.spec,
796
+ let v = t(() => ({
797
+ ...d.spec,
798
798
  media: () => []
799
799
  }));
800
- function C(e) {
801
- return o(w(e), t.spec.pictureLimit, e);
800
+ function y(e) {
801
+ return ce(C(e), d.spec.pictureLimit, e);
802
802
  }
803
- function w({ record: e, text: n, language: r }) {
804
- if (t.spec.media) return t.spec.media(e, {
803
+ function C({ record: e, text: t, language: n }) {
804
+ if (d.spec.media) return d.spec.media(e, {
805
805
  record: e,
806
- text: n,
807
- language: r
806
+ text: t,
807
+ language: n
808
808
  });
809
- let i = K(String(n?.name ?? e?.internal_name ?? ""));
810
- return ie(e?.images, r).map((e) => {
811
- let { photographer: t, copyright: n } = re(e, r), o = [t ? `${a("record.media.photograph")}: ${t}` : "", n ? `© ${n}` : ""].filter(Boolean).join(", ");
809
+ let r = V(String(t?.name ?? e?.internal_name ?? ""));
810
+ return ne(e?.images, n).map((e) => {
811
+ let { photographer: t, copyright: i } = te(e, n), a = [t ? `${f("record.media.photograph")}: ${t}` : "", i ? `© ${i}` : ""].filter(Boolean).join(", ");
812
812
  return {
813
813
  url: e.url,
814
- alt: o || e.captions?.[r] || i,
815
- caption: e.captions?.[r] ?? ""
814
+ alt: a || e.captions?.[n] || r,
815
+ caption: e.captions?.[n] ?? ""
816
816
  };
817
817
  });
818
818
  }
819
- let E = l(() => t.back.map((e) => ({
819
+ let w = t(() => d.back.map((e) => ({
820
820
  ...e,
821
- label: a(e.label)
822
- }))), D = /* @__PURE__ */ new Set([
821
+ label: f(e.label)
822
+ }))), T = /* @__PURE__ */ new Set([
823
823
  "header",
824
824
  "before-sheet",
825
825
  "related",
826
826
  "sidebar",
827
827
  "aside",
828
828
  "source"
829
- ]), j = l(() => Object.keys(y).filter((e) => !D.has(e)));
830
- function M() {
829
+ ]), D = t(() => Object.keys(h).filter((e) => !T.has(e)));
830
+ function O() {
831
831
  window.history.back();
832
832
  }
833
- let N = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
834
- return (t, a) => (T(), u(s, {
835
- spec: S.value,
836
- id: e.id,
833
+ let k = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
834
+ return (t, d) => (_(), n(le, {
835
+ spec: v.value,
836
+ id: u.id,
837
837
  class: "mwnf-standalone-item"
838
- }, m({
839
- header: z(({ languages: e, language: t, select: r }) => [p("div", kt, [g(n, {
840
- languages: N(e),
838
+ }, o({
839
+ header: j(({ languages: e, language: t, select: n }) => [a("div", At, [c(K, {
840
+ languages: k(e),
841
841
  language: t,
842
842
  from: 1,
843
- onSelect: r
843
+ onSelect: n
844
844
  }, null, 8, [
845
845
  "languages",
846
846
  "language",
847
847
  "onSelect"
848
848
  ])])]),
849
- "before-sheet": z((e) => [p("div", At, [E.value.length ? (T(), f("p", jt, [(T(!0), f(c, null, O(E.value, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
849
+ "before-sheet": j((o) => [a("div", jt, [w.value.length ? (_(), i("p", Mt, [(_(!0), i(e, null, b(w.value, (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
850
850
  key: 0,
851
851
  type: "button",
852
852
  class: "mwnf-standalone-item__back-link",
853
- onClick: M
854
- }, A(e.label), 1)) : (T(), u(r, {
853
+ onClick: O
854
+ }, S(t.label), 1)) : (_(), n(q, {
855
855
  key: 1,
856
856
  class: "mwnf-standalone-item__back-link",
857
- to: e.to,
858
- href: e.href
857
+ to: t.to,
858
+ href: t.href
859
859
  }, {
860
- default: z(() => [h(A(e.label), 1)]),
860
+ default: j(() => [s(S(t.label), 1)]),
861
861
  _: 2
862
- }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(i, {
863
- images: C(e),
862
+ }, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0), c(oe, {
863
+ images: y(o),
864
864
  "thumbs-from": 1
865
- }, null, 8, ["images"])]), k(t.$slots, "before-sheet", x(_(e)))]),
866
- related: z((n) => [g(Ct, {
867
- heading: e.related.heading ?? "record.related.title",
868
- records: n.records,
869
- groups: e.related.groups ?? [],
870
- "see-also": b(n.record),
871
- download: e.related.download ?? null,
872
- "word-file": e.related.download?.wordFile?.(n.record, n.language) ?? "sheet.doc"
865
+ }, null, 8, ["images"])]), x(t.$slots, "before-sheet", p(l(o)))]),
866
+ related: j((e) => [c(wt, {
867
+ heading: u.related.heading ?? "record.related.title",
868
+ records: e.records,
869
+ groups: u.related.groups ?? [],
870
+ "see-also": g(e.record),
871
+ download: u.related.download ?? null,
872
+ "word-file": u.related.download?.wordFile?.(e.record, e.language) ?? "sheet.doc"
873
873
  }, {
874
- default: z(() => [k(t.$slots, "sidebar", x(_(n)))]),
874
+ default: j(() => [x(t.$slots, "sidebar", p(l(e)))]),
875
875
  _: 2
876
876
  }, 1032, [
877
877
  "heading",
@@ -881,44 +881,44 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
881
881
  "download",
882
882
  "word-file"
883
883
  ])]),
884
- source: z((e) => [k(t.$slots, "source", x(_(e)))]),
884
+ source: j((e) => [x(t.$slots, "source", p(l(e)))]),
885
885
  _: 2
886
- }, [O(j.value, (e) => ({
886
+ }, [b(D.value, (e) => ({
887
887
  name: e,
888
- fn: z((n) => [k(t.$slots, e, x(_(n)))])
888
+ fn: j((n) => [x(t.$slots, e, p(l(n)))])
889
889
  }))]), 1032, ["spec", "id"]));
890
890
  }
891
- }, Nt = {
891
+ }, Pt = {
892
892
  key: 0,
893
893
  class: "mwnf-standalone-item__top"
894
- }, Pt = {
894
+ }, Ft = {
895
895
  key: 1,
896
896
  hidden: ""
897
- }, Ft = {
897
+ }, It = {
898
898
  key: 0,
899
899
  class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
900
- }, It = { class: "mwnf-standalone-partner__heading" }, Lt = ["dir", "innerHTML"], Rt = {
900
+ }, Lt = { class: "mwnf-standalone-partner__heading" }, Rt = ["dir", "innerHTML"], zt = {
901
901
  key: 0,
902
902
  class: "mwnf-standalone-partner__location"
903
- }, zt = { class: "mwnf-standalone-partner__bar" }, Bt = { class: "mwnf-standalone-partner__bar-start" }, Vt = ["aria-label", "onKeydown"], Ht = [
903
+ }, Bt = { class: "mwnf-standalone-partner__bar" }, Vt = { class: "mwnf-standalone-partner__bar-start" }, Ht = ["aria-label", "onKeydown"], Ut = [
904
904
  "id",
905
905
  "aria-selected",
906
906
  "aria-controls",
907
907
  "tabindex",
908
908
  "onClick"
909
- ], Ut = {
909
+ ], Wt = {
910
910
  key: 0,
911
911
  class: "mwnf-standalone-partner__divider",
912
912
  "aria-hidden": "true"
913
- }, Wt = { key: 0 }, Gt = ["href"], Kt = { class: "mwnf-standalone-partner__bar-end" }, qt = { class: "mwnf-standalone-partner__body" }, Jt = { class: "mwnf-standalone-partner__pictures" }, Yt = { class: "mwnf-standalone-partner__panels" }, Xt = [
913
+ }, Gt = { key: 0 }, Kt = ["href"], qt = { class: "mwnf-standalone-partner__bar-end" }, Jt = { class: "mwnf-standalone-partner__body" }, Yt = { class: "mwnf-standalone-partner__pictures" }, Xt = { class: "mwnf-standalone-partner__panels" }, Zt = [
914
914
  "id",
915
915
  "aria-labelledby",
916
916
  "dir",
917
917
  "innerHTML"
918
- ], Zt = ["id", "aria-labelledby"], Qt = ["innerHTML"], $t = ["href"], en = { key: 0 }, tn = ["href"], nn = ["href"], rn = ["id", "aria-labelledby"], an = ["src"], on = {
918
+ ], Qt = ["id", "aria-labelledby"], $t = ["innerHTML"], en = ["href"], tn = { key: 0 }, nn = ["href"], rn = ["href"], an = ["id", "aria-labelledby"], on = ["src"], sn = {
919
919
  key: 0,
920
920
  class: "mwnf-standalone-partner__map"
921
- }, sn = { class: "mwnf-standalone-partner__map-heading" }, cn = {
921
+ }, cn = { class: "mwnf-standalone-partner__map-heading" }, ln = {
922
922
  __name: "PartnerPage",
923
923
  props: {
924
924
  id: {
@@ -962,15 +962,15 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
962
962
  default: !1
963
963
  }
964
964
  },
965
- setup(e) {
966
- let t = e, { t: o, locale: m } = q(), _ = M(), v = {
965
+ setup(o) {
966
+ let l = o, { t: u, locale: p } = U(), m = w(), h = {
967
967
  entity: "partners",
968
968
  fields: [],
969
969
  shortDescription: !1,
970
970
  media: () => [],
971
971
  citation: !1,
972
972
  related: !1
973
- }, x = {
973
+ }, g = {
974
974
  about: "partner.info.about",
975
975
  contact: "partner.info.contact",
976
976
  logo: "partner.info.logo",
@@ -979,178 +979,178 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
979
979
  phone: "partner.info.phone",
980
980
  fax: "partner.info.fax",
981
981
  map: "partner.map.map"
982
- }, S = (e) => o(t.labels[e] ?? x[e]);
983
- function C(e) {
984
- return (typeof t.back == "function" ? t.back(e) ?? [] : t.back).map((e) => ({
982
+ }, v = (e) => u(l.labels[e] ?? g[e]);
983
+ function x(e) {
984
+ return (typeof l.back == "function" ? l.back(e) ?? [] : l.back).map((e) => ({
985
985
  ...e,
986
- label: o(e.label)
986
+ label: u(e.label)
987
987
  }));
988
988
  }
989
- function w() {
989
+ function T() {
990
990
  window.history.back();
991
991
  }
992
- function E(e, n, r) {
993
- let i = [];
994
- return t.about(n, r) && i.push("about"), e.hasContact && i.push("contact"), e.logos.length && i.push("logo"), i;
992
+ function E(e, t, n) {
993
+ let r = [];
994
+ return l.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
995
995
  }
996
- let k = D("about");
997
- R(() => t.id, () => {
998
- k.value = "about";
996
+ let D = y("about");
997
+ A(() => l.id, () => {
998
+ D.value = "about";
999
999
  });
1000
- function N(e, t) {
1001
- let n = t.indexOf(k.value), r = {
1000
+ function O(e, t) {
1001
+ let n = t.indexOf(D.value), r = {
1002
1002
  ArrowRight: (n + 1) % t.length,
1003
1003
  ArrowLeft: (n - 1 + t.length) % t.length,
1004
1004
  Home: 0,
1005
1005
  End: t.length - 1
1006
1006
  }[e.key];
1007
- r !== void 0 && t.length && (e.preventDefault(), k.value = t[r], y(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
1007
+ r !== void 0 && t.length && (e.preventDefault(), D.value = t[r], d(() => document.getElementById(`${m}-tab-${t[r]}`)?.focus()));
1008
1008
  }
1009
- let P = (e) => e.pictures.map((e) => ({
1009
+ let N = (e) => e.pictures.map((e) => ({
1010
1010
  url: e.url,
1011
1011
  alt: e.alt
1012
- })), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...t.links ? e.contact.links : []], I = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), V = l(() => String(m.value || "en"));
1013
- return (l, m) => (T(), u(s, {
1014
- spec: v,
1015
- id: e.id,
1012
+ })), P = (e) => [...e.contact.website ? [e.contact.website] : [], ...l.links ? e.contact.links : []], F = (e) => !!(e.contact.address || e.contact.phone || e.contact.fax || e.contact.email || e.contact.website), I = t(() => String(p.value || "en"));
1013
+ return (t, d) => (_(), n(le, {
1014
+ spec: h,
1015
+ id: o.id,
1016
1016
  class: "mwnf-standalone-partner"
1017
1017
  }, {
1018
- header: z(({ record: r, languages: i, language: a, select: o }) => [e.bands(r) ? (T(), f("div", Nt, [g(n, {
1019
- languages: i.filter((e) => t.languages(r, e.code)),
1020
- language: a,
1018
+ header: j(({ record: e, languages: t, language: n, select: r }) => [o.bands(e) ? (_(), i("div", Pt, [c(K, {
1019
+ languages: t.filter((t) => l.languages(e, t.code)),
1020
+ language: n,
1021
1021
  from: 1,
1022
- onSelect: o
1022
+ onSelect: r
1023
1023
  }, null, 8, [
1024
1024
  "languages",
1025
1025
  "language",
1026
1026
  "onSelect"
1027
- ])])) : (T(), f("div", Pt))]),
1028
- "before-sheet": z(({ record: n, text: a, dir: s }) => [(T(!0), f(c, null, O([t.view(n, a)], (t) => (T(), f(c, { key: n.id }, [
1029
- C(n).length ? (T(), f("p", Ft, [(T(!0), f(c, null, O(C(n), (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
1027
+ ])])) : (_(), i("div", Ft))]),
1028
+ "before-sheet": j(({ record: t, text: c, dir: p }) => [(_(!0), i(e, null, b([l.view(t, c)], (l) => (_(), i(e, { key: t.id }, [
1029
+ x(t).length ? (_(), i("p", It, [(_(!0), i(e, null, b(x(t), (t) => (_(), i(e, { key: t.label }, [t.history ? (_(), i("button", {
1030
1030
  key: 0,
1031
1031
  type: "button",
1032
1032
  class: "mwnf-standalone-item__back-link",
1033
- onClick: w
1034
- }, A(e.label), 1)) : (T(), u(r, {
1033
+ onClick: T
1034
+ }, S(t.label), 1)) : (_(), n(q, {
1035
1035
  key: 1,
1036
1036
  class: "mwnf-standalone-item__back-link",
1037
- to: e.to,
1038
- href: e.href
1037
+ to: t.to,
1038
+ href: t.href
1039
1039
  }, {
1040
- default: z(() => [h(A(e.label), 1)]),
1040
+ default: j(() => [s(S(t.label), 1)]),
1041
1041
  _: 2
1042
- }, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
1043
- p("div", It, [p("h3", {
1042
+ }, 1032, ["to", "href"]))], 64))), 128))])) : r("", !0),
1043
+ a("div", Lt, [a("h3", {
1044
1044
  class: "mwnf-standalone-partner__name",
1045
- dir: s || void 0,
1046
- innerHTML: t.name
1047
- }, null, 8, Lt), t.location ? (T(), f("h4", Rt, [p("i", null, A(t.location), 1)])) : d("", !0)]),
1048
- p("div", zt, [p("div", Bt, [p("ul", {
1045
+ dir: p || void 0,
1046
+ innerHTML: l.name
1047
+ }, null, 8, Rt), l.location ? (_(), i("h4", zt, [a("i", null, S(l.location), 1)])) : r("", !0)]),
1048
+ a("div", Bt, [a("div", Vt, [a("ul", {
1049
1049
  role: "tablist",
1050
1050
  class: "mwnf-standalone-partner__tabs",
1051
- "aria-label": t.plainName,
1052
- onKeydown: (e) => N(e, E(t, n, a))
1053
- }, [(T(!0), f(c, null, O(E(t, n, a), (e, r) => (T(), f("li", {
1051
+ "aria-label": l.plainName,
1052
+ onKeydown: (e) => O(e, E(l, t, c))
1053
+ }, [(_(!0), i(e, null, b(E(l, t, c), (e, n) => (_(), i("li", {
1054
1054
  key: e,
1055
1055
  role: "presentation"
1056
- }, [p("button", {
1057
- id: `${j(_)}-tab-${e}`,
1056
+ }, [a("button", {
1057
+ id: `${C(m)}-tab-${e}`,
1058
1058
  type: "button",
1059
1059
  role: "tab",
1060
- class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": k.value === e }]),
1061
- "aria-selected": k.value === e ? "true" : "false",
1062
- "aria-controls": `${j(_)}-panel-${e}`,
1063
- tabindex: k.value === e ? 0 : -1,
1064
- onClick: (t) => k.value = e
1065
- }, "\xA0" + A(S(e)), 11, Ht), r < E(t, n, a).length - 1 || t.contact.website ? (T(), f("span", Ut, "\xA0|")) : d("", !0)]))), 128)), t.contact.website ? (T(), f("li", Wt, [p("a", {
1060
+ class: f(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": D.value === e }]),
1061
+ "aria-selected": D.value === e ? "true" : "false",
1062
+ "aria-controls": `${C(m)}-panel-${e}`,
1063
+ tabindex: D.value === e ? 0 : -1,
1064
+ onClick: (t) => D.value = e
1065
+ }, "\xA0" + S(v(e)), 11, Ut), n < E(l, t, c).length - 1 || l.contact.website ? (_(), i("span", Wt, "\xA0|")) : r("", !0)]))), 128)), l.contact.website ? (_(), i("li", Gt, [a("a", {
1066
1066
  class: "mwnf-standalone-partner__homepage",
1067
- href: t.contact.website.url,
1067
+ href: l.contact.website.url,
1068
1068
  target: "_blank",
1069
1069
  rel: "noopener"
1070
- }, "\xA0" + A(S("homepage")), 9, Gt)])) : d("", !0)], 40, Vt)]), p("div", Kt, [e.items(n) ? (T(), u(r, {
1070
+ }, "\xA0" + S(v("homepage")), 9, Kt)])) : r("", !0)], 40, Ht)]), a("div", qt, [o.items(t) ? (_(), n(q, {
1071
1071
  key: 0,
1072
1072
  class: "mwnf-standalone-partner__items",
1073
- to: e.items(n).to
1073
+ to: o.items(t).to
1074
1074
  }, {
1075
- default: z(() => [h(A(j(o)(e.items(n).label)), 1)]),
1075
+ default: j(() => [s(S(C(u)(o.items(t).label)), 1)]),
1076
1076
  _: 2
1077
- }, 1032, ["to"])) : d("", !0)])]),
1078
- p("div", qt, [p("div", Jt, [t.pictures.length ? (T(), u(i, {
1077
+ }, 1032, ["to"])) : r("", !0)])]),
1078
+ a("div", Jt, [a("div", Yt, [l.pictures.length ? (_(), n(oe, {
1079
1079
  key: 0,
1080
- images: P(t)
1081
- }, null, 8, ["images"])) : d("", !0)]), p("div", Yt, [
1082
- B(p("div", {
1083
- id: `${j(_)}-panel-about`,
1080
+ images: N(l)
1081
+ }, null, 8, ["images"])) : r("", !0)]), a("div", Xt, [
1082
+ M(a("div", {
1083
+ id: `${C(m)}-panel-about`,
1084
1084
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
1085
1085
  role: "tabpanel",
1086
- "aria-labelledby": `${j(_)}-tab-about`,
1087
- dir: s || void 0,
1088
- innerHTML: t.description
1089
- }, null, 8, Xt), [[L, k.value === "about"]]),
1090
- t.hasContact ? B((T(), f("div", {
1086
+ "aria-labelledby": `${C(m)}-tab-about`,
1087
+ dir: p || void 0,
1088
+ innerHTML: l.description
1089
+ }, null, 8, Zt), [[k, D.value === "about"]]),
1090
+ l.hasContact ? M((_(), i("div", {
1091
1091
  key: 0,
1092
- id: `${j(_)}-panel-contact`,
1092
+ id: `${C(m)}-panel-contact`,
1093
1093
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
1094
1094
  role: "tabpanel",
1095
- "aria-labelledby": `${j(_)}-tab-contact`
1096
- }, [I(t) ? (T(), f(c, { key: 0 }, [p("p", null, [
1097
- p("b", null, A(S("addresses")), 1),
1098
- m[4] ||= p("br", null, null, -1),
1099
- t.contact.address ? (T(), f(c, { key: 0 }, [p("span", {
1095
+ "aria-labelledby": `${C(m)}-tab-contact`
1096
+ }, [F(l) ? (_(), i(e, { key: 0 }, [a("p", null, [
1097
+ a("b", null, S(v("addresses")), 1),
1098
+ d[4] ||= a("br", null, null, -1),
1099
+ l.contact.address ? (_(), i(e, { key: 0 }, [a("span", {
1100
1100
  class: "mwnf-standalone-partner__address",
1101
- innerHTML: t.contact.address
1102
- }, null, 8, Qt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
1103
- t.contact.phone ? (T(), f(c, { key: 1 }, [h(A(S("phone")) + " " + A(t.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
1104
- t.contact.fax ? (T(), f(c, { key: 2 }, [h(A(S("fax")) + " " + A(t.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
1105
- t.contact.email ? (T(), f(c, { key: 3 }, [p("a", { href: `mailto:${t.contact.email}` }, A(t.contact.email), 9, $t), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
1106
- ]), F(t).length ? (T(), f("p", en, [(T(!0), f(c, null, O(F(t), (e, t) => (T(), f(c, { key: e.url }, [t ? (T(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
1107
- href: e.url,
1101
+ innerHTML: l.contact.address
1102
+ }, null, 8, $t), d[0] ||= a("br", null, null, -1)], 64)) : r("", !0),
1103
+ l.contact.phone ? (_(), i(e, { key: 1 }, [s(S(v("phone")) + " " + S(l.contact.phone), 1), d[1] ||= a("br", null, null, -1)], 64)) : r("", !0),
1104
+ l.contact.fax ? (_(), i(e, { key: 2 }, [s(S(v("fax")) + " " + S(l.contact.fax), 1), d[2] ||= a("br", null, null, -1)], 64)) : r("", !0),
1105
+ l.contact.email ? (_(), i(e, { key: 3 }, [a("a", { href: `mailto:${l.contact.email}` }, S(l.contact.email), 9, en), d[3] ||= a("br", null, null, -1)], 64)) : r("", !0)
1106
+ ]), P(l).length ? (_(), i("p", tn, [(_(!0), i(e, null, b(P(l), (t, n) => (_(), i(e, { key: t.url }, [n ? (_(), i(e, { key: 0 }, [s("\xA0|\xA0")], 64)) : r("", !0), a("a", {
1107
+ href: t.url,
1108
1108
  target: "_blank",
1109
1109
  rel: "noopener"
1110
- }, A(e.label), 9, tn)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (T(!0), f(c, null, O(t.persons, (e, t) => (T(), f("p", { key: t }, [
1111
- e.title ? (T(), f(c, { key: 0 }, [p("strong", null, A(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
1112
- e.name ? (T(), f(c, { key: 1 }, [h(A(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
1113
- e.phone ? (T(), f(c, { key: 2 }, [h(A(S("phone")) + " " + A(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
1114
- e.fax ? (T(), f(c, { key: 3 }, [h(A(S("fax")) + " " + A(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
1115
- e.email ? (T(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, A(e.email), 9, nn), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
1116
- ]))), 128))], 8, Zt)), [[L, k.value === "contact"]]) : d("", !0),
1117
- t.logos.length ? B((T(), f("div", {
1110
+ }, S(t.label), 9, nn)], 64))), 128))])) : r("", !0)], 64)) : r("", !0), (_(!0), i(e, null, b(l.persons, (t, n) => (_(), i("p", { key: n }, [
1111
+ t.title ? (_(), i(e, { key: 0 }, [a("strong", null, S(t.title), 1), d[5] ||= a("br", null, null, -1)], 64)) : r("", !0),
1112
+ t.name ? (_(), i(e, { key: 1 }, [s(S(t.name), 1), d[6] ||= a("br", null, null, -1)], 64)) : r("", !0),
1113
+ t.phone ? (_(), i(e, { key: 2 }, [s(S(v("phone")) + " " + S(t.phone), 1), d[7] ||= a("br", null, null, -1)], 64)) : r("", !0),
1114
+ t.fax ? (_(), i(e, { key: 3 }, [s(S(v("fax")) + " " + S(t.fax), 1), d[8] ||= a("br", null, null, -1)], 64)) : r("", !0),
1115
+ t.email ? (_(), i(e, { key: 4 }, [a("a", { href: `mailto:${t.email}` }, S(t.email), 9, rn), d[9] ||= a("br", null, null, -1)], 64)) : r("", !0)
1116
+ ]))), 128))], 8, Qt)), [[k, D.value === "contact"]]) : r("", !0),
1117
+ l.logos.length ? M((_(), i("div", {
1118
1118
  key: 1,
1119
- id: `${j(_)}-panel-logo`,
1119
+ id: `${C(m)}-panel-logo`,
1120
1120
  class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
1121
1121
  role: "tabpanel",
1122
- "aria-labelledby": `${j(_)}-tab-logo`
1123
- }, [(T(!0), f(c, null, O(t.logos, (e) => (T(), f("img", {
1122
+ "aria-labelledby": `${C(m)}-tab-logo`
1123
+ }, [(_(!0), i(e, null, b(l.logos, (e) => (_(), i("img", {
1124
1124
  key: e.url,
1125
1125
  src: e.url,
1126
1126
  alt: ""
1127
- }, null, 8, an))), 128))], 8, rn)), [[L, k.value === "logo"]]) : d("", !0)
1127
+ }, null, 8, on))), 128))], 8, an)), [[k, D.value === "logo"]]) : r("", !0)
1128
1128
  ])])
1129
1129
  ], 64))), 128))]),
1130
- after: z(({ record: n, text: r }) => [e.map(n) && t.view(n, r)?.map ? (T(), f("section", on, [p("h3", sn, A(S("map")), 1), g(a, {
1130
+ after: j(({ record: e, text: t }) => [o.map(e) && l.view(e, t)?.map ? (_(), i("section", sn, [a("h3", cn, S(v("map")), 1), c(se, {
1131
1131
  provider: "google",
1132
- latitude: t.view(n, r).map.latitude,
1133
- longitude: t.view(n, r).map.longitude,
1134
- zoom: t.view(n, r).map.zoom,
1135
- label: t.view(n, r).map.label,
1136
- language: V.value
1132
+ latitude: l.view(e, t).map.latitude,
1133
+ longitude: l.view(e, t).map.longitude,
1134
+ zoom: l.view(e, t).map.zoom,
1135
+ label: l.view(e, t).map.label,
1136
+ language: I.value
1137
1137
  }, null, 8, [
1138
1138
  "latitude",
1139
1139
  "longitude",
1140
1140
  "zoom",
1141
1141
  "label",
1142
1142
  "language"
1143
- ])])) : d("", !0)]),
1143
+ ])])) : r("", !0)]),
1144
1144
  _: 1
1145
1145
  }, 8, ["id"]));
1146
1146
  }
1147
- }, ln = ["innerHTML"], un = {
1147
+ }, un = ["innerHTML"], dn = {
1148
1148
  key: 0,
1149
1149
  class: "mwnf-standalone-page__link"
1150
- }, dn = {
1150
+ }, fn = {
1151
1151
  key: 1,
1152
1152
  class: "mwnf-standalone-page__print"
1153
- }, fn = {
1153
+ }, pn = {
1154
1154
  __name: "TextPage",
1155
1155
  props: {
1156
1156
  body: {
@@ -1175,36 +1175,36 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1175
1175
  }
1176
1176
  },
1177
1177
  setup(e) {
1178
- let t = e, { t: n } = q(), i = l(() => ae(n(t.body)));
1179
- function a() {
1178
+ let n = e, { t: o } = U(), s = t(() => re(o(n.body)));
1179
+ function l() {
1180
1180
  window.print();
1181
1181
  }
1182
- return (t, o) => (T(), f("article", { class: b(["mwnf-standalone-page", {
1182
+ return (t, n) => (_(), i("article", { class: f(["mwnf-standalone-page", {
1183
1183
  "mwnf-standalone-page--drop-cap": e.dropCap,
1184
1184
  "mwnf-standalone-page--narrow": e.narrow
1185
1185
  }]) }, [
1186
- p("div", {
1186
+ a("div", {
1187
1187
  class: "mwnf-standalone-page__body",
1188
- innerHTML: i.value
1189
- }, null, 8, ln),
1190
- e.link ? (T(), f("p", un, [g(r, {
1188
+ innerHTML: s.value
1189
+ }, null, 8, un),
1190
+ e.link ? (_(), i("p", dn, [c(q, {
1191
1191
  to: e.link.to,
1192
1192
  href: e.link.href
1193
1193
  }, {
1194
- default: z(() => [p("strong", null, A(e.link.text ?? j(n)(e.link.label)), 1)]),
1194
+ default: j(() => [a("strong", null, S(e.link.text ?? C(o)(e.link.label)), 1)]),
1195
1195
  _: 1
1196
- }, 8, ["to", "href"])])) : d("", !0),
1197
- e.print ? (T(), f("p", dn, [p("button", {
1196
+ }, 8, ["to", "href"])])) : r("", !0),
1197
+ e.print ? (_(), i("p", fn, [a("button", {
1198
1198
  type: "button",
1199
1199
  class: "mwnf-standalone-page__print-button",
1200
- onClick: a
1201
- }, A(j(n)(e.print)), 1)])) : d("", !0)
1200
+ onClick: l
1201
+ }, S(C(o)(e.print)), 1)])) : r("", !0)
1202
1202
  ], 2));
1203
1203
  }
1204
- }, pn = {
1204
+ }, mn = {
1205
1205
  key: 0,
1206
1206
  class: "mwnf-standalone-subnav"
1207
- }, mn = { class: "mwnf-standalone-subnav__tabs" }, hn = {
1207
+ }, hn = { class: "mwnf-standalone-subnav__tabs" }, gn = {
1208
1208
  __name: "SubNav",
1209
1209
  props: {
1210
1210
  tabs: {
@@ -1216,41 +1216,41 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1216
1216
  default: null
1217
1217
  }
1218
1218
  },
1219
- setup(e) {
1220
- let t = e, { t: n } = q(), i = l(() => t.tabs.map((e) => ({
1219
+ setup(o) {
1220
+ let l = o, { t: u } = U(), d = t(() => l.tabs.map((e) => ({
1221
1221
  ...e,
1222
- label: n(e.label)
1222
+ label: u(e.label)
1223
1223
  })));
1224
- return (t, a) => i.value.length || e.aside ? (T(), f("nav", pn, [p("ul", mn, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("li", { key: e.label }, [g(r, {
1224
+ return (t, l) => d.value.length || o.aside ? (_(), i("nav", mn, [a("ul", hn, [(_(!0), i(e, null, b(d.value, (e) => (_(), i("li", { key: e.label }, [c(q, {
1225
1225
  to: e.to,
1226
1226
  href: e.href,
1227
- class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1227
+ class: f(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
1228
1228
  "aria-current": e.active ? "page" : void 0
1229
1229
  }, {
1230
- default: z(() => [h(A(e.label), 1)]),
1230
+ default: j(() => [s(S(e.label), 1)]),
1231
1231
  _: 2
1232
1232
  }, 1032, [
1233
1233
  "to",
1234
1234
  "href",
1235
1235
  "class",
1236
1236
  "aria-current"
1237
- ])]))), 128))]), e.aside ? (T(), u(r, {
1237
+ ])]))), 128))]), o.aside ? (_(), n(q, {
1238
1238
  key: 0,
1239
- to: e.aside.to,
1240
- href: e.aside.href,
1239
+ to: o.aside.to,
1240
+ href: o.aside.href,
1241
1241
  class: "mwnf-standalone-subnav__aside"
1242
1242
  }, {
1243
- default: z(() => [h(A(j(n)(e.aside.label)), 1)]),
1243
+ default: j(() => [s(S(C(u)(o.aside.label)), 1)]),
1244
1244
  _: 1
1245
- }, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
1245
+ }, 8, ["to", "href"])) : r("", !0)])) : r("", !0);
1246
1246
  }
1247
- }, gn = { class: "mwnf-standalone-results" }, _n = {
1247
+ }, _n = { class: "mwnf-standalone-results" }, vn = {
1248
1248
  key: 0,
1249
1249
  class: "mwnf-standalone-results__empty"
1250
- }, vn = { class: "mwnf-standalone-results__tile" }, yn = ["src"], bn = { class: "mwnf-standalone-results__panel" }, xn = ["src"], Sn = { class: "mwnf-standalone-results__name" }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = {
1250
+ }, yn = { class: "mwnf-standalone-results__tile" }, bn = ["src"], xn = { class: "mwnf-standalone-results__panel" }, Sn = ["src"], Cn = { class: "mwnf-standalone-results__name" }, wn = ["innerHTML"], Tn = ["innerHTML"], En = {
1251
1251
  key: 0,
1252
1252
  class: "mwnf-standalone-results__holder"
1253
- }, En = ["innerHTML"], Dn = ["innerHTML"], On = {
1253
+ }, Dn = ["innerHTML"], On = ["innerHTML"], kn = {
1254
1254
  __name: "ResultsGrid",
1255
1255
  props: {
1256
1256
  rows: {
@@ -1270,65 +1270,65 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1270
1270
  default: ""
1271
1271
  }
1272
1272
  },
1273
- setup(e) {
1274
- return (t, n) => (T(), f("div", gn, [e.rows.length ? d("", !0) : (T(), f("p", _n, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
1275
- key: t.id,
1273
+ setup(t) {
1274
+ return (n, o) => (_(), i("div", _n, [t.rows.length ? r("", !0) : (_(), i("p", vn, S(t.empty), 1)), (_(!0), i(e, null, b(t.rows, (n) => (_(), i("div", {
1275
+ key: n.id,
1276
1276
  class: "mwnf-standalone-results__cell"
1277
- }, [p("div", vn, [g(r, {
1277
+ }, [a("div", yn, [c(q, {
1278
1278
  class: "mwnf-standalone-results__frame",
1279
- to: t.to,
1280
- href: t.href
1279
+ to: n.to,
1280
+ href: n.href
1281
1281
  }, {
1282
- default: z(() => [p("img", {
1283
- src: t.image || e.noImage,
1282
+ default: j(() => [a("img", {
1283
+ src: n.image || t.noImage,
1284
1284
  alt: ""
1285
- }, null, 8, yn)]),
1285
+ }, null, 8, bn)]),
1286
1286
  _: 2
1287
- }, 1032, ["to", "href"]), p("div", bn, [
1288
- g(r, {
1287
+ }, 1032, ["to", "href"]), a("div", xn, [
1288
+ c(q, {
1289
1289
  class: "mwnf-standalone-results__panel-frame",
1290
- to: t.to,
1291
- href: t.href
1290
+ to: n.to,
1291
+ href: n.href
1292
1292
  }, {
1293
- default: z(() => [p("img", {
1294
- src: t.image || e.noImage,
1293
+ default: j(() => [a("img", {
1294
+ src: n.image || t.noImage,
1295
1295
  alt: ""
1296
- }, null, 8, xn)]),
1296
+ }, null, 8, Sn)]),
1297
1297
  _: 2
1298
1298
  }, 1032, ["to", "href"]),
1299
- p("p", Sn, [p("strong", null, [g(r, {
1300
- to: t.to,
1301
- href: t.href
1299
+ a("p", Cn, [a("strong", null, [c(q, {
1300
+ to: n.to,
1301
+ href: n.href
1302
1302
  }, {
1303
- default: z(() => [p("span", { innerHTML: t.name }, null, 8, Cn)]),
1303
+ default: j(() => [a("span", { innerHTML: n.name }, null, 8, wn)]),
1304
1304
  _: 2
1305
1305
  }, 1032, ["to", "href"])])]),
1306
- (T(!0), f(c, null, O(t.lines ?? [], (e, t) => (T(), f("p", {
1306
+ (_(!0), i(e, null, b(n.lines ?? [], (e, t) => (_(), i("p", {
1307
1307
  key: t,
1308
1308
  innerHTML: e
1309
- }, null, 8, wn))), 128)),
1310
- t.holder ? (T(), f("p", Tn, [p("strong", { innerHTML: t.holder }, null, 8, En)])) : d("", !0),
1311
- t.location ? (T(), f("p", {
1309
+ }, null, 8, Tn))), 128)),
1310
+ n.holder ? (_(), i("p", En, [a("strong", { innerHTML: n.holder }, null, 8, Dn)])) : r("", !0),
1311
+ n.location ? (_(), i("p", {
1312
1312
  key: 1,
1313
- innerHTML: t.location
1314
- }, null, 8, Dn)) : d("", !0),
1315
- p("p", null, [g(r, {
1313
+ innerHTML: n.location
1314
+ }, null, 8, On)) : r("", !0),
1315
+ a("p", null, [c(q, {
1316
1316
  class: "mwnf-standalone-results__see",
1317
- to: t.to,
1318
- href: t.href
1317
+ to: n.to,
1318
+ href: n.href
1319
1319
  }, {
1320
- default: z(() => [h(A(e.seeLabel), 1)]),
1320
+ default: j(() => [s(S(t.seeLabel), 1)]),
1321
1321
  _: 1
1322
1322
  }, 8, ["to", "href"])])
1323
1323
  ])])]))), 128))]));
1324
1324
  }
1325
- }, kn = { class: "mwnf-standalone-list" }, An = { class: "mwnf-standalone-list__aside" }, jn = {
1325
+ }, An = { class: "mwnf-standalone-list" }, jn = { class: "mwnf-standalone-list__aside" }, Mn = {
1326
1326
  key: 0,
1327
1327
  class: "mwnf-standalone-list__preview"
1328
- }, Mn = { class: "mwnf-standalone-list__preview-picture" }, Nn = ["src"], Pn = { class: "mwnf-standalone-list__preview-name" }, Fn = ["innerHTML"], In = ["innerHTML"], Ln = { key: 0 }, Rn = ["innerHTML"], zn = ["innerHTML"], Bn = { class: "mwnf-standalone-list__records" }, Vn = {
1328
+ }, Nn = { class: "mwnf-standalone-list__preview-picture" }, Pn = ["src"], Fn = { class: "mwnf-standalone-list__preview-name" }, In = ["innerHTML"], Ln = ["innerHTML"], Rn = { key: 0 }, zn = ["innerHTML"], Bn = ["innerHTML"], Vn = { class: "mwnf-standalone-list__records" }, Hn = {
1329
1329
  key: 0,
1330
1330
  class: "mwnf-standalone-list__empty"
1331
- }, Hn = { class: "mwnf-standalone-list__frame" }, Un = ["src"], Wn = { class: "mwnf-standalone-list__content" }, Gn = ["innerHTML"], Kn = ["innerHTML"], qn = { key: 0 }, Jn = ["innerHTML"], Yn = {
1331
+ }, Un = { class: "mwnf-standalone-list__frame" }, Wn = ["src"], Gn = { class: "mwnf-standalone-list__content" }, Kn = ["innerHTML"], qn = ["innerHTML"], Jn = { key: 0 }, Yn = ["innerHTML"], Xn = {
1332
1332
  __name: "ResultsList",
1333
1333
  props: {
1334
1334
  rows: {
@@ -1344,74 +1344,74 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1344
1344
  default: ""
1345
1345
  }
1346
1346
  },
1347
- setup(e) {
1348
- let t = e, n = D(null), i = l(() => n.value ?? t.rows[0] ?? null);
1349
- return (t, a) => (T(), f("div", kn, [p("div", An, [i.value ? (T(), f("div", jn, [
1350
- p("div", Mn, [i.value.image || e.noImage ? (T(), f("img", {
1347
+ setup(n) {
1348
+ let o = n, l = y(null), u = t(() => l.value ?? o.rows[0] ?? null);
1349
+ return (t, o) => (_(), i("div", An, [a("div", jn, [u.value ? (_(), i("div", Mn, [
1350
+ a("div", Nn, [u.value.image || n.noImage ? (_(), i("img", {
1351
1351
  key: 0,
1352
- src: i.value.image || e.noImage,
1352
+ src: u.value.image || n.noImage,
1353
1353
  alt: ""
1354
- }, null, 8, Nn)) : d("", !0)]),
1355
- p("p", Pn, [p("strong", { innerHTML: i.value.name }, null, 8, Fn)]),
1356
- (T(!0), f(c, null, O(i.value.preview?.lines ?? [], (e, t) => (T(), f("p", {
1354
+ }, null, 8, Pn)) : r("", !0)]),
1355
+ a("p", Fn, [a("strong", { innerHTML: u.value.name }, null, 8, In)]),
1356
+ (_(!0), i(e, null, b(u.value.preview?.lines ?? [], (e, t) => (_(), i("p", {
1357
1357
  key: t,
1358
1358
  innerHTML: e
1359
- }, null, 8, In))), 128)),
1360
- i.value.preview?.holder ? (T(), f("p", Ln, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Rn)])) : d("", !0),
1361
- i.value.preview?.location ? (T(), f("p", {
1359
+ }, null, 8, Ln))), 128)),
1360
+ u.value.preview?.holder ? (_(), i("p", Rn, [a("strong", { innerHTML: u.value.preview.holder }, null, 8, zn)])) : r("", !0),
1361
+ u.value.preview?.location ? (_(), i("p", {
1362
1362
  key: 1,
1363
- innerHTML: i.value.preview.location
1364
- }, null, 8, zn)) : d("", !0)
1365
- ])) : d("", !0)]), p("div", Bn, [e.rows.length ? d("", !0) : (T(), f("p", Vn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
1366
- key: t.id,
1363
+ innerHTML: u.value.preview.location
1364
+ }, null, 8, Bn)) : r("", !0)
1365
+ ])) : r("", !0)]), a("div", Vn, [n.rows.length ? r("", !0) : (_(), i("p", Hn, S(n.empty), 1)), (_(!0), i(e, null, b(n.rows, (e) => (_(), i("div", {
1366
+ key: e.id,
1367
1367
  class: "mwnf-standalone-list__cell"
1368
- }, [p("div", Hn, [g(r, {
1369
- to: t.to,
1370
- href: t.href,
1371
- onMouseenter: (e) => n.value = t,
1372
- onMouseleave: a[0] ||= (e) => n.value = null
1368
+ }, [a("div", Un, [c(q, {
1369
+ to: e.to,
1370
+ href: e.href,
1371
+ onMouseenter: (t) => l.value = e,
1372
+ onMouseleave: o[0] ||= (e) => l.value = null
1373
1373
  }, {
1374
- default: z(() => [t.image || e.noImage ? (T(), f("img", {
1374
+ default: j(() => [e.image || n.noImage ? (_(), i("img", {
1375
1375
  key: 0,
1376
- src: t.image || e.noImage,
1376
+ src: e.image || n.noImage,
1377
1377
  alt: ""
1378
- }, null, 8, Un)) : d("", !0)]),
1378
+ }, null, 8, Wn)) : r("", !0)]),
1379
1379
  _: 2
1380
1380
  }, 1032, [
1381
1381
  "to",
1382
1382
  "href",
1383
1383
  "onMouseenter"
1384
- ])]), p("div", Wn, [p("p", null, [g(r, {
1385
- to: t.to,
1386
- href: t.href,
1387
- onMouseenter: (e) => n.value = t,
1388
- onMouseleave: a[1] ||= (e) => n.value = null
1384
+ ])]), a("div", Gn, [a("p", null, [c(q, {
1385
+ to: e.to,
1386
+ href: e.href,
1387
+ onMouseenter: (t) => l.value = e,
1388
+ onMouseleave: o[1] ||= (e) => l.value = null
1389
1389
  }, {
1390
- default: z(() => [
1391
- p("span", {
1390
+ default: j(() => [
1391
+ a("span", {
1392
1392
  class: "mwnf-standalone-list__name",
1393
- innerHTML: `${t.name},`
1394
- }, null, 8, Gn),
1395
- a[2] ||= h(),
1396
- p("span", { innerHTML: t.place }, null, 8, Kn)
1393
+ innerHTML: `${e.name},`
1394
+ }, null, 8, Kn),
1395
+ o[2] ||= s(),
1396
+ a("span", { innerHTML: e.place }, null, 8, qn)
1397
1397
  ]),
1398
1398
  _: 2
1399
1399
  }, 1032, [
1400
1400
  "to",
1401
1401
  "href",
1402
1402
  "onMouseenter"
1403
- ])]), t.dates ? (T(), f("div", qn, [p("i", { innerHTML: t.dates }, null, 8, Jn)])) : d("", !0)])]))), 128))])]));
1403
+ ])]), e.dates ? (_(), i("div", Jn, [a("i", { innerHTML: e.dates }, null, 8, Yn)])) : r("", !0)])]))), 128))])]));
1404
1404
  }
1405
- }, Xn = { class: "mwnf-standalone-refine__row" }, Zn = {
1405
+ }, Zn = { class: "mwnf-standalone-refine__row" }, Qn = {
1406
1406
  class: "mwnf-standalone-refine__label",
1407
1407
  for: "mwnf-standalone-refine-keyword"
1408
- }, Qn = {
1408
+ }, $n = {
1409
1409
  class: "mwnf-standalone-refine__label",
1410
1410
  for: "mwnf-standalone-refine-field"
1411
- }, $n = ["value"], er = {
1411
+ }, er = ["value"], tr = {
1412
1412
  type: "submit",
1413
1413
  class: "mwnf-standalone-refine__button"
1414
- }, tr = {
1414
+ }, nr = {
1415
1415
  __name: "Refine",
1416
1416
  props: {
1417
1417
  label: {
@@ -1440,48 +1440,48 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1440
1440
  }
1441
1441
  },
1442
1442
  emits: ["search"],
1443
- setup(e, { emit: t }) {
1444
- let n = e, i = t, a = D(""), o = D(n.fields[0]?.value ?? "");
1445
- function s() {
1446
- let e = a.value.trim();
1447
- e && i("search", {
1443
+ setup(t, { emit: n }) {
1444
+ let r = t, o = n, l = y(""), u = y(r.fields[0]?.value ?? "");
1445
+ function d() {
1446
+ let e = l.value.trim();
1447
+ e && o("search", {
1448
1448
  keyword: e,
1449
- field: o.value
1449
+ field: u.value
1450
1450
  });
1451
1451
  }
1452
- return (t, n) => (T(), f("form", {
1452
+ return (n, r) => (_(), i("form", {
1453
1453
  class: "mwnf-standalone-refine",
1454
- onSubmit: V(s, ["prevent"])
1455
- }, [p("div", Xn, [
1456
- p("label", Zn, A(e.label), 1),
1457
- B(p("input", {
1454
+ onSubmit: N(d, ["prevent"])
1455
+ }, [a("div", Zn, [
1456
+ a("label", Qn, S(t.label), 1),
1457
+ M(a("input", {
1458
1458
  id: "mwnf-standalone-refine-keyword",
1459
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
1459
+ "onUpdate:modelValue": r[0] ||= (e) => l.value = e,
1460
1460
  type: "text",
1461
1461
  size: "40"
1462
- }, null, 512), [[I, a.value]]),
1463
- p("label", Qn, A(e.inLabel), 1),
1464
- B(p("select", {
1462
+ }, null, 512), [[O, l.value]]),
1463
+ a("label", $n, S(t.inLabel), 1),
1464
+ M(a("select", {
1465
1465
  id: "mwnf-standalone-refine-field",
1466
- "onUpdate:modelValue": n[1] ||= (e) => o.value = e
1467
- }, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
1466
+ "onUpdate:modelValue": r[1] ||= (e) => u.value = e
1467
+ }, [(_(!0), i(e, null, b(t.fields, (e) => (_(), i("option", {
1468
1468
  key: e.value,
1469
1469
  value: e.value
1470
- }, A(e.label), 9, $n))), 128))], 512), [[F, o.value]]),
1471
- p("button", er, A(e.searchLabel), 1),
1472
- g(r, {
1470
+ }, S(e.label), 9, er))), 128))], 512), [[D, u.value]]),
1471
+ a("button", tr, S(t.searchLabel), 1),
1472
+ c(q, {
1473
1473
  class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
1474
- to: e.newSearch
1474
+ to: t.newSearch
1475
1475
  }, {
1476
- default: z(() => [h(A(e.newSearchLabel), 1)]),
1476
+ default: j(() => [s(S(t.newSearchLabel), 1)]),
1477
1477
  _: 1
1478
1478
  }, 8, ["to"])
1479
1479
  ])], 32));
1480
1480
  }
1481
- }, nr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, rr = { class: "mwnf-standalone-pl__heads" }, ir = { class: "mwnf-standalone-pl__head" }, ar = { key: 0 }, or = ["onClick"], sr = { class: "mwnf-standalone-pl__row" }, cr = { class: "mwnf-standalone-pl__main" }, lr = { class: "mwnf-standalone-pl__associated" }, ur = {
1481
+ }, rr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, ir = { class: "mwnf-standalone-pl__heads" }, ar = { class: "mwnf-standalone-pl__head" }, or = { key: 0 }, sr = ["onClick"], cr = { class: "mwnf-standalone-pl__row" }, lr = { class: "mwnf-standalone-pl__main" }, ur = { class: "mwnf-standalone-pl__associated" }, dr = {
1482
1482
  key: 0,
1483
1483
  class: "mwnf-standalone-pl__none"
1484
- }, dr = {
1484
+ }, fr = {
1485
1485
  __name: "PartnerList",
1486
1486
  props: {
1487
1487
  type: {
@@ -1509,57 +1509,57 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1509
1509
  default: ""
1510
1510
  }
1511
1511
  },
1512
- setup(e) {
1513
- let t = e, n = l(() => t.type === "museum"), i = D(null), a = D(/* @__PURE__ */ new Set());
1514
- R([n, () => t.groups.length], () => {
1515
- i.value = n.value ? null : 0, a.value = n.value ? /* @__PURE__ */ new Set() : new Set(t.groups.map((e, t) => t));
1512
+ setup(o) {
1513
+ let l = o, u = t(() => l.type === "museum"), d = y(null), p = y(/* @__PURE__ */ new Set());
1514
+ A([u, () => l.groups.length], () => {
1515
+ d.value = u.value ? null : 0, p.value = u.value ? /* @__PURE__ */ new Set() : new Set(l.groups.map((e, t) => t));
1516
1516
  }, { immediate: !0 });
1517
- function o(e) {
1518
- let t = i.value === e;
1519
- i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1517
+ function m(e) {
1518
+ let t = d.value === e;
1519
+ d.value = t ? null : e, p.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
1520
1520
  }
1521
- return (t, s) => (T(), f("div", { class: b(["mwnf-standalone-pl", n.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1522
- p("p", nr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
1521
+ return (t, l) => (_(), i("div", { class: f(["mwnf-standalone-pl", u.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
1522
+ a("p", rr, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
1523
1523
  key: 0,
1524
1524
  type: "button",
1525
1525
  class: "mwnf-standalone-item__back-link",
1526
- onClick: s[0] ||= (e) => t.$router.back()
1527
- }, A(e.label), 1)) : (T(), u(r, {
1526
+ onClick: l[0] ||= (e) => t.$router.back()
1527
+ }, S(r.label), 1)) : (_(), n(q, {
1528
1528
  key: 1,
1529
1529
  class: "mwnf-standalone-item__back-link",
1530
- to: e.to,
1531
- href: e.href
1530
+ to: r.to,
1531
+ href: r.href
1532
1532
  }, {
1533
- default: z(() => [h(A(e.label), 1)]),
1533
+ default: j(() => [s(S(r.label), 1)]),
1534
1534
  _: 2
1535
- }, 1032, ["to", "href"]))], 64))), 128)), k(t.$slots, "back")]),
1536
- p("div", rr, [(T(!0), f(c, null, O(e.heads, (e) => (T(), f("h3", { key: e }, A(e), 1))), 128))]),
1537
- (T(!0), f(c, null, O(e.groups, (t, s) => (T(), f("div", {
1535
+ }, 1032, ["to", "href"]))], 64))), 128)), x(t.$slots, "back")]),
1536
+ a("div", ir, [(_(!0), i(e, null, b(o.heads, (e) => (_(), i("h3", { key: e }, S(e), 1))), 128))]),
1537
+ (_(!0), i(e, null, b(o.groups, (t, n) => (_(), i("div", {
1538
1538
  key: t.label,
1539
1539
  class: "mwnf-standalone-pl__group"
1540
- }, [p("div", ir, [n.value ? (T(), f("h3", ar, A(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
1540
+ }, [a("div", ar, [u.value ? (_(), i("h3", or, S(t.label), 1)) : r("", !0), a("h3", null, [a("a", {
1541
1541
  href: "#",
1542
- class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
1543
- onClick: V((e) => o(s), ["prevent"])
1544
- }, A(n.value ? e.seeAssociated : t.label), 11, or)])]), B(p("div", sr, [p("div", cr, [(T(!0), f(c, null, O(t.main, (e) => (T(), f("p", { key: e.id }, [g(r, {
1542
+ class: f(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": d.value === n }]),
1543
+ onClick: N((e) => m(n), ["prevent"])
1544
+ }, S(u.value ? o.seeAssociated : t.label), 11, sr)])]), M(a("div", cr, [a("div", lr, [(_(!0), i(e, null, b(t.main, (e) => (_(), i("p", { key: e.id }, [c(q, {
1545
1545
  to: e.to,
1546
1546
  href: e.href
1547
1547
  }, {
1548
- default: z(() => [h(A(e.label), 1)]),
1548
+ default: j(() => [s(S(e.label), 1)]),
1549
1549
  _: 2
1550
- }, 1032, ["to", "href"])]))), 128))]), B(p("div", lr, [(T(!0), f(c, null, O(t.associated, (e) => (T(), f("p", { key: e.id }, [g(r, {
1550
+ }, 1032, ["to", "href"])]))), 128))]), M(a("div", ur, [(_(!0), i(e, null, b(t.associated, (e) => (_(), i("p", { key: e.id }, [c(q, {
1551
1551
  to: e.to,
1552
1552
  href: e.href
1553
1553
  }, {
1554
- default: z(() => [h(A(e.label), 1)]),
1554
+ default: j(() => [s(S(e.label), 1)]),
1555
1555
  _: 2
1556
- }, 1032, ["to", "href"])]))), 128)), n.value && !t.associated.length ? (T(), f("p", ur, A(e.noAssociated), 1)) : d("", !0)], 512), [[L, !n.value || a.value.has(s)]])], 512), [[L, n.value || a.value.has(s)]])]))), 128))
1556
+ }, 1032, ["to", "href"])]))), 128)), u.value && !t.associated.length ? (_(), i("p", dr, S(o.noAssociated), 1)) : r("", !0)], 512), [[k, !u.value || p.value.has(n)]])], 512), [[k, u.value || p.value.has(n)]])]))), 128))
1557
1557
  ], 2));
1558
1558
  }
1559
- }, fr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, pr = {
1559
+ }, pr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, mr = {
1560
1560
  key: 0,
1561
1561
  class: "mwnf-standalone-sp__heading"
1562
- }, mr = ["innerHTML"], hr = { class: "mwnf-standalone-sp__text" }, gr = { key: 0 }, _r = { key: 1 }, vr = { key: 2 }, yr = ["href"], br = ["innerHTML"], xr = { class: "mwnf-standalone-sp__logo" }, Sr = { key: 0 }, Cr = ["src", "alt"], wr = {
1562
+ }, hr = ["innerHTML"], gr = { class: "mwnf-standalone-sp__text" }, _r = { key: 0 }, vr = { key: 1 }, yr = { key: 2 }, br = ["href"], xr = ["innerHTML"], Sr = { class: "mwnf-standalone-sp__logo" }, Cr = { key: 0 }, wr = ["src", "alt"], Tr = {
1563
1563
  __name: "SponsorList",
1564
1564
  props: {
1565
1565
  heading: {
@@ -1575,71 +1575,71 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1575
1575
  default: () => []
1576
1576
  }
1577
1577
  },
1578
- setup(e) {
1579
- let t = e, n = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
1578
+ setup(o) {
1579
+ let c = o, l = t(() => c.rows.some((e) => e.label !== void 0)), u = t(() => c.rows.map((e) => ({
1580
1580
  ...e,
1581
- labelHtml: e.label ? U(e.label) : "",
1582
- remarksHtml: e.remarks ? U(e.remarks) : ""
1581
+ labelHtml: e.label ? R(e.label) : "",
1582
+ remarksHtml: e.remarks ? R(e.remarks) : ""
1583
1583
  })));
1584
- return (t, a) => (T(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": n.value }]) }, [
1585
- p("p", fr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
1584
+ return (t, c) => (_(), i("div", { class: f(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": l.value }]) }, [
1585
+ a("p", pr, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
1586
1586
  key: 0,
1587
1587
  type: "button",
1588
1588
  class: "mwnf-standalone-item__back-link",
1589
- onClick: a[0] ||= (e) => t.$router.back()
1590
- }, A(e.label), 1)) : (T(), u(r, {
1589
+ onClick: c[0] ||= (e) => t.$router.back()
1590
+ }, S(r.label), 1)) : (_(), n(q, {
1591
1591
  key: 1,
1592
1592
  class: "mwnf-standalone-item__back-link",
1593
- to: e.to,
1594
- href: e.href
1593
+ to: r.to,
1594
+ href: r.href
1595
1595
  }, {
1596
- default: z(() => [h(A(e.label), 1)]),
1596
+ default: j(() => [s(S(r.label), 1)]),
1597
1597
  _: 2
1598
1598
  }, 1032, ["to", "href"]))], 64))), 128))]),
1599
- e.heading ? (T(), f("h3", pr, A(e.heading), 1)) : d("", !0),
1600
- (T(!0), f(c, null, O(i.value, (e, t) => (T(), f("div", {
1599
+ o.heading ? (_(), i("h3", mr, S(o.heading), 1)) : r("", !0),
1600
+ (_(!0), i(e, null, b(u.value, (e, t) => (_(), i("div", {
1601
1601
  key: t,
1602
1602
  class: "mwnf-standalone-sp__row"
1603
1603
  }, [
1604
- n.value ? (T(), f("div", {
1604
+ l.value ? (_(), i("div", {
1605
1605
  key: 0,
1606
1606
  class: "mwnf-standalone-sp__label",
1607
1607
  innerHTML: e.labelHtml
1608
- }, null, 8, mr)) : d("", !0),
1609
- p("div", hr, [
1610
- e.region ? (T(), f("p", gr, A(e.region), 1)) : d("", !0),
1611
- e.name ? (T(), f("p", _r, A(e.name), 1)) : d("", !0),
1612
- e.web ? (T(), f("p", vr, [p("a", {
1608
+ }, null, 8, hr)) : r("", !0),
1609
+ a("div", gr, [
1610
+ e.region ? (_(), i("p", _r, S(e.region), 1)) : r("", !0),
1611
+ e.name ? (_(), i("p", vr, S(e.name), 1)) : r("", !0),
1612
+ e.web ? (_(), i("p", yr, [a("a", {
1613
1613
  href: `http://${e.web}`,
1614
1614
  target: "_blank",
1615
1615
  rel: "noopener"
1616
- }, A(e.web), 9, yr)])) : d("", !0),
1617
- e.remarksHtml ? (T(), f("div", {
1616
+ }, S(e.web), 9, br)])) : r("", !0),
1617
+ e.remarksHtml ? (_(), i("div", {
1618
1618
  key: 3,
1619
1619
  class: "mwnf-standalone-sp__remarks",
1620
1620
  innerHTML: e.remarksHtml
1621
- }, null, 8, br)) : d("", !0)
1621
+ }, null, 8, xr)) : r("", !0)
1622
1622
  ]),
1623
- p("div", xr, [e.logo ? (T(), f("p", Sr, [p("img", {
1623
+ a("div", Sr, [e.logo ? (_(), i("p", Cr, [a("img", {
1624
1624
  src: e.logo,
1625
1625
  alt: e.name
1626
- }, null, 8, Cr)])) : d("", !0)])
1626
+ }, null, 8, wr)])) : r("", !0)])
1627
1627
  ]))), 128))
1628
1628
  ], 2));
1629
1629
  }
1630
- }, Tr = { class: "mwnf-standalone-pe" }, Er = { class: "mwnf-standalone-pe__box" }, Dr = { class: "mwnf-standalone-pe__name" }, Or = { class: "mwnf-standalone-pe__links" }, kr = {
1630
+ }, Er = { class: "mwnf-standalone-pe" }, Dr = { class: "mwnf-standalone-pe__box" }, Or = { class: "mwnf-standalone-pe__name" }, kr = { class: "mwnf-standalone-pe__links" }, Ar = {
1631
1631
  key: 0,
1632
1632
  class: "mwnf-standalone-pe__about"
1633
- }, Ar = ["aria-expanded", "onClick"], jr = {
1633
+ }, jr = ["aria-expanded", "onClick"], Mr = {
1634
1634
  key: 1,
1635
1635
  class: "mwnf-standalone-pe__popup",
1636
1636
  role: "dialog"
1637
- }, Mr = ["aria-label"], Nr = {
1637
+ }, Nr = ["aria-label"], Pr = {
1638
1638
  viewBox: "0 0 24 24",
1639
1639
  width: "21",
1640
1640
  height: "21",
1641
1641
  "aria-hidden": "true"
1642
- }, Pr = ["id"], Fr = ["mask"], Ir = ["innerHTML"], Lr = {
1642
+ }, Fr = ["id"], Ir = ["mask"], Lr = ["innerHTML"], Rr = {
1643
1643
  __name: "PartnersEntrance",
1644
1644
  props: {
1645
1645
  projects: {
@@ -1655,80 +1655,80 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1655
1655
  default: ""
1656
1656
  }
1657
1657
  },
1658
- setup(e) {
1659
- let t = e, n = l(() => t.projects.map((e) => ({
1658
+ setup(n) {
1659
+ let o = n, l = t(() => o.projects.map((e) => ({
1660
1660
  ...e,
1661
- aboutHtml: e.about ? U(e.about) : ""
1662
- }))), i = D(-1);
1663
- function a() {
1664
- i.value = -1;
1661
+ aboutHtml: e.about ? R(e.about) : ""
1662
+ }))), u = y(-1);
1663
+ function d() {
1664
+ u.value = -1;
1665
1665
  }
1666
- function o(e) {
1667
- e.key === "Escape" && a();
1666
+ function f(e) {
1667
+ e.key === "Escape" && d();
1668
1668
  }
1669
- return R(i, (e) => {
1670
- typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", o) : document.removeEventListener("keydown", o));
1671
- }), C(() => {
1672
- typeof document < "u" && document.removeEventListener("keydown", o);
1673
- }), (t, o) => (T(), f("div", Tr, [i.value >= 0 ? (T(), f("div", {
1669
+ return A(u, (e) => {
1670
+ typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", f) : document.removeEventListener("keydown", f));
1671
+ }), h(() => {
1672
+ typeof document < "u" && document.removeEventListener("keydown", f);
1673
+ }), (t, o) => (_(), i("div", Er, [u.value >= 0 ? (_(), i("div", {
1674
1674
  key: 0,
1675
1675
  class: "mwnf-standalone-pe__shade",
1676
- onClick: a
1677
- })) : d("", !0), (T(!0), f(c, null, O(n.value, (t, n) => (T(), f("div", {
1678
- key: n,
1676
+ onClick: d
1677
+ })) : r("", !0), (_(!0), i(e, null, b(l.value, (t, l) => (_(), i("div", {
1678
+ key: l,
1679
1679
  class: "mwnf-standalone-pe__row"
1680
- }, [p("div", Er, [p("h3", Dr, A(t.name), 1)]), p("div", Or, [
1681
- o[1] ||= p("p", { "aria-hidden": "true" }, "\xA0", -1),
1682
- t.aboutHtml ? (T(), f("p", kr, [p("button", {
1680
+ }, [a("div", Dr, [a("h3", Or, S(t.name), 1)]), a("div", kr, [
1681
+ o[1] ||= a("p", { "aria-hidden": "true" }, "\xA0", -1),
1682
+ t.aboutHtml ? (_(), i("p", Ar, [a("button", {
1683
1683
  type: "button",
1684
- "aria-expanded": i.value === n,
1685
- onClick: (e) => i.value = n
1686
- }, A(e.aboutLabel), 9, Ar)])) : d("", !0),
1687
- i.value === n ? (T(), f("div", jr, [p("button", {
1684
+ "aria-expanded": u.value === l,
1685
+ onClick: (e) => u.value = l
1686
+ }, S(n.aboutLabel), 9, jr)])) : r("", !0),
1687
+ u.value === l ? (_(), i("div", Mr, [a("button", {
1688
1688
  type: "button",
1689
1689
  class: "mwnf-standalone-pe__close",
1690
- "aria-label": e.closeLabel || void 0,
1691
- onClick: a
1692
- }, [(T(), f("svg", Nr, [p("mask", { id: `mwnf-standalone-pe-x${n}` }, [...o[0] ||= [p("rect", {
1690
+ "aria-label": n.closeLabel || void 0,
1691
+ onClick: d
1692
+ }, [(_(), i("svg", Pr, [a("mask", { id: `mwnf-standalone-pe-x${l}` }, [...o[0] ||= [a("rect", {
1693
1693
  width: "24",
1694
1694
  height: "24",
1695
1695
  fill: "#fff"
1696
- }, null, -1), p("path", {
1696
+ }, null, -1), a("path", {
1697
1697
  d: "M8 8l8 8M16 8l-8 8",
1698
1698
  stroke: "#000",
1699
1699
  "stroke-width": "3",
1700
1700
  "stroke-linecap": "round"
1701
- }, null, -1)]], 8, Pr), p("circle", {
1701
+ }, null, -1)]], 8, Fr), a("circle", {
1702
1702
  cx: "12",
1703
1703
  cy: "12",
1704
1704
  r: "12",
1705
1705
  fill: "currentColor",
1706
- mask: `url(#mwnf-standalone-pe-x${n})`
1707
- }, null, 8, Fr)]))], 8, Mr), p("div", {
1706
+ mask: `url(#mwnf-standalone-pe-x${l})`
1707
+ }, null, 8, Ir)]))], 8, Nr), a("div", {
1708
1708
  class: "mwnf-standalone-pe__text",
1709
1709
  innerHTML: t.aboutHtml
1710
- }, null, 8, Ir)])) : d("", !0),
1711
- (T(!0), f(c, null, O(t.links, (e) => (T(), f("p", { key: e.label }, [g(r, {
1710
+ }, null, 8, Lr)])) : r("", !0),
1711
+ (_(!0), i(e, null, b(t.links, (e) => (_(), i("p", { key: e.label }, [c(q, {
1712
1712
  to: e.to,
1713
1713
  href: e.href
1714
1714
  }, {
1715
- default: z(() => [h(A(e.label), 1)]),
1715
+ default: j(() => [s(S(e.label), 1)]),
1716
1716
  _: 2
1717
1717
  }, 1032, ["to", "href"])]))), 128))
1718
1718
  ])]))), 128))]));
1719
1719
  }
1720
- }, Rr = { class: "mwnf-standalone-db__criteria" }, zr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, Br = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Vr = {
1720
+ }, zr = { class: "mwnf-standalone-db__criteria" }, Br = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, Vr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Hr = {
1721
1721
  key: 0,
1722
1722
  class: "mwnf-standalone-db__aside"
1723
- }, Hr = ["onUpdate:modelValue", "aria-label"], Ur = { value: "AND" }, Wr = { value: "OR" }, Gr = ["onUpdate:modelValue", "aria-label"], Kr = ["onUpdate:modelValue"], qr = ["value"], Jr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Yr = { class: "mwnf-standalone-db__dates" }, Xr = ["aria-label"], Zr = { value: "" }, Qr = ["value"], $r = ["aria-label"], ei = { value: "" }, ti = ["value"], ni = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, ri = { class: "mwnf-standalone-db__language" }, ii = ["aria-label"], ai = ["value"], oi = {
1723
+ }, Ur = ["onUpdate:modelValue", "aria-label"], Wr = { value: "AND" }, Gr = { value: "OR" }, Kr = ["onUpdate:modelValue", "aria-label"], qr = ["onUpdate:modelValue"], Jr = ["value"], Yr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Xr = { class: "mwnf-standalone-db__dates" }, Zr = ["aria-label"], Qr = { value: "" }, $r = ["value"], ei = ["aria-label"], ti = { value: "" }, ni = ["value"], ri = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, ii = { class: "mwnf-standalone-db__language" }, ai = ["aria-label"], oi = ["value"], si = {
1724
1724
  key: 1,
1725
1725
  class: "mwnf-standalone-db__options"
1726
- }, si = { class: "mwnf-standalone-db__go" }, ci = { type: "submit" }, li = {
1726
+ }, ci = { class: "mwnf-standalone-db__go" }, li = { type: "submit" }, ui = {
1727
1727
  key: 2,
1728
1728
  class: "mwnf-standalone-db__listing"
1729
- }, ui = ["href", "title"], di = {
1729
+ }, di = ["href", "title"], fi = {
1730
1730
  __name: "DatabaseForm",
1731
- props: /*@__PURE__*/ v({
1731
+ props: /*@__PURE__*/ u({
1732
1732
  labels: {
1733
1733
  type: Object,
1734
1734
  required: !0
@@ -1760,98 +1760,98 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1760
1760
  },
1761
1761
  languageModifiers: {}
1762
1762
  }),
1763
- emits: /*@__PURE__*/ v(["search"], ["update:language"]),
1764
- setup(e, { emit: t }) {
1765
- let n = e, r = N(e, "language"), i = t, a = P(), o = E([
1763
+ emits: /*@__PURE__*/ u(["search"], ["update:language"]),
1764
+ setup(n, { emit: o }) {
1765
+ let s = n, c = T(n, "language"), l = o, u = E(), d = v([
1766
1766
  {
1767
1767
  keyword: "",
1768
- field: n.fields[0]?.value ?? "",
1768
+ field: s.fields[0]?.value ?? "",
1769
1769
  cond: "AND"
1770
1770
  },
1771
1771
  {
1772
1772
  keyword: "",
1773
- field: n.fields[0]?.value ?? "",
1773
+ field: s.fields[0]?.value ?? "",
1774
1774
  cond: "AND"
1775
1775
  },
1776
1776
  {
1777
1777
  keyword: "",
1778
- field: n.fields[0]?.value ?? "",
1778
+ field: s.fields[0]?.value ?? "",
1779
1779
  cond: "AND"
1780
1780
  }
1781
- ]), s = E({
1781
+ ]), p = v({
1782
1782
  from: "",
1783
1783
  to: ""
1784
- }), u = l(() => !!a.options), m = (e) => typeof e == "object" ? e : {
1784
+ }), m = t(() => !!u.options), h = (e) => typeof e == "object" ? e : {
1785
1785
  value: e,
1786
1786
  label: String(e)
1787
- }, h = l(() => n.fromYears.map(m)), g = l(() => n.toYears.map(m));
1788
- function _() {
1789
- i("search", {
1790
- rows: o.map((e) => ({
1787
+ }, g = t(() => s.fromYears.map(h)), y = t(() => s.toYears.map(h));
1788
+ function C() {
1789
+ l("search", {
1790
+ rows: d.map((e) => ({
1791
1791
  ...e,
1792
1792
  keyword: e.keyword.trim()
1793
1793
  })),
1794
- from: s.from,
1795
- to: s.to
1794
+ from: p.from,
1795
+ to: p.to
1796
1796
  });
1797
1797
  }
1798
- return (t, n) => (T(), f("form", {
1799
- class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
1800
- onSubmit: V(_, ["prevent"])
1798
+ return (t, o) => (_(), i("form", {
1799
+ class: f(["mwnf-standalone-db", { "mwnf-standalone-db--options": m.value }]),
1800
+ onSubmit: N(C, ["prevent"])
1801
1801
  }, [
1802
- p("h3", Rr, A(e.labels.criteria), 1),
1803
- p("p", zr, A(e.labels.keywords), 1),
1804
- p("p", Br, A(e.labels.category), 1),
1805
- t.$slots.aside ? (T(), f("p", Vr, [k(t.$slots, "aside")])) : d("", !0),
1806
- (T(!0), f(c, null, O(o, (t, n) => (T(), f(c, { key: n }, [
1807
- n ? B((T(), f("select", {
1802
+ a("h3", zr, S(n.labels.criteria), 1),
1803
+ a("p", Br, S(n.labels.keywords), 1),
1804
+ a("p", Vr, S(n.labels.category), 1),
1805
+ t.$slots.aside ? (_(), i("p", Hr, [x(t.$slots, "aside")])) : r("", !0),
1806
+ (_(!0), i(e, null, b(d, (t, o) => (_(), i(e, { key: o }, [
1807
+ o ? M((_(), i("select", {
1808
1808
  key: 0,
1809
1809
  "onUpdate:modelValue": (e) => t.cond = e,
1810
- class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
1811
- "aria-label": `${e.labels.and} / ${e.labels.or}`
1812
- }, [p("option", Ur, A(e.labels.and), 1), p("option", Wr, A(e.labels.or), 1)], 10, Hr)), [[F, t.cond]]) : d("", !0),
1813
- B(p("input", {
1810
+ class: f(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${o + 1}`]),
1811
+ "aria-label": `${n.labels.and} / ${n.labels.or}`
1812
+ }, [a("option", Wr, S(n.labels.and), 1), a("option", Gr, S(n.labels.or), 1)], 10, Ur)), [[D, t.cond]]) : r("", !0),
1813
+ M(a("input", {
1814
1814
  "onUpdate:modelValue": (e) => t.keyword = e,
1815
1815
  type: "text",
1816
- class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
1817
- "aria-label": e.labels.keywords
1818
- }, null, 10, Gr), [[I, t.keyword]]),
1819
- p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null, A(e.labels.in), 1), B(p("select", { "onUpdate:modelValue": (e) => t.field = e }, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
1816
+ class: f(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${o + 1}`]),
1817
+ "aria-label": n.labels.keywords
1818
+ }, null, 10, Kr), [[O, t.keyword]]),
1819
+ a("label", { class: f(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${o + 1}`]) }, [a("span", null, S(n.labels.in), 1), M(a("select", { "onUpdate:modelValue": (e) => t.field = e }, [(_(!0), i(e, null, b(n.fields, (e) => (_(), i("option", {
1820
1820
  key: e.value,
1821
1821
  value: e.value
1822
- }, A(e.label), 9, qr))), 128))], 8, Kr), [[F, t.field]])], 2)
1822
+ }, S(e.label), 9, Jr))), 128))], 8, qr), [[D, t.field]])], 2)
1823
1823
  ], 64))), 128)),
1824
- p("span", Jr, A(e.labels.date), 1),
1825
- p("p", Yr, [B(p("select", {
1826
- "onUpdate:modelValue": n[0] ||= (e) => s.from = e,
1827
- "aria-label": `${e.labels.date} ${e.labels.from}`
1828
- }, [p("option", Zr, A(e.labels.from), 1), (T(!0), f(c, null, O(h.value, (e) => (T(), f("option", {
1824
+ a("span", Yr, S(n.labels.date), 1),
1825
+ a("p", Xr, [M(a("select", {
1826
+ "onUpdate:modelValue": o[0] ||= (e) => p.from = e,
1827
+ "aria-label": `${n.labels.date} ${n.labels.from}`
1828
+ }, [a("option", Qr, S(n.labels.from), 1), (_(!0), i(e, null, b(g.value, (e) => (_(), i("option", {
1829
1829
  key: e.value,
1830
1830
  value: e.value
1831
- }, A(e.label), 9, Qr))), 128))], 8, Xr), [[F, s.from]]), B(p("select", {
1832
- "onUpdate:modelValue": n[1] ||= (e) => s.to = e,
1833
- "aria-label": `${e.labels.date} ${e.labels.to}`
1834
- }, [p("option", ei, A(e.labels.to), 1), (T(!0), f(c, null, O(g.value, (e) => (T(), f("option", {
1831
+ }, S(e.label), 9, $r))), 128))], 8, Zr), [[D, p.from]]), M(a("select", {
1832
+ "onUpdate:modelValue": o[1] ||= (e) => p.to = e,
1833
+ "aria-label": `${n.labels.date} ${n.labels.to}`
1834
+ }, [a("option", ti, S(n.labels.to), 1), (_(!0), i(e, null, b(y.value, (e) => (_(), i("option", {
1835
1835
  key: e.value,
1836
1836
  value: e.value
1837
- }, A(e.label), 9, ti))), 128))], 8, $r), [[F, s.to]])]),
1838
- p("span", ni, A(e.labels.language), 1),
1839
- p("p", ri, [B(p("select", {
1840
- "onUpdate:modelValue": n[2] ||= (e) => r.value = e,
1841
- "aria-label": e.labels.language
1842
- }, [n[3] ||= p("option", { value: "" }, null, -1), (T(!0), f(c, null, O(e.languages, (e) => (T(), f("option", {
1837
+ }, S(e.label), 9, ni))), 128))], 8, ei), [[D, p.to]])]),
1838
+ a("span", ri, S(n.labels.language), 1),
1839
+ a("p", ii, [M(a("select", {
1840
+ "onUpdate:modelValue": o[2] ||= (e) => c.value = e,
1841
+ "aria-label": n.labels.language
1842
+ }, [o[3] ||= a("option", { value: "" }, null, -1), (_(!0), i(e, null, b(n.languages, (e) => (_(), i("option", {
1843
1843
  key: e.code,
1844
1844
  value: e.code
1845
- }, A(e.name), 9, ai))), 128))], 8, ii), [[F, r.value]])]),
1846
- u.value ? (T(), f("p", oi, [k(t.$slots, "options")])) : d("", !0),
1847
- p("p", si, [p("button", ci, A(e.labels.go), 1)]),
1848
- e.listingHref ? (T(), f("p", li, [p("a", {
1849
- href: e.listingHref,
1850
- title: e.labels.listingTooltip
1851
- }, A(e.labels.listing), 9, ui)])) : d("", !0)
1845
+ }, S(e.name), 9, oi))), 128))], 8, ai), [[D, c.value]])]),
1846
+ m.value ? (_(), i("p", si, [x(t.$slots, "options")])) : r("", !0),
1847
+ a("p", ci, [a("button", li, S(n.labels.go), 1)]),
1848
+ n.listingHref ? (_(), i("p", ui, [a("a", {
1849
+ href: n.listingHref,
1850
+ title: n.labels.listingTooltip
1851
+ }, S(n.labels.listing), 9, di)])) : r("", !0)
1852
1852
  ], 34));
1853
1853
  }
1854
- }, fi = { class: "mwnf-standalone-tle__country" }, pi = ["aria-label"], mi = { value: "none" }, hi = { value: "" }, gi = ["value"], _i = { class: "mwnf-standalone-tle__date" }, vi = ["aria-label"], yi = { value: "none" }, bi = ["value"], xi = { class: "mwnf-standalone-tle__date" }, Si = ["aria-label"], Ci = { value: "none" }, wi = ["value"], Ti = { class: "mwnf-standalone-tle__go" }, Ei = { type: "submit" }, Di = {
1854
+ }, pi = { class: "mwnf-standalone-tle__country" }, mi = ["aria-label"], hi = { value: "none" }, gi = { value: "" }, _i = ["value"], vi = { class: "mwnf-standalone-tle__date" }, yi = ["aria-label"], bi = { value: "none" }, xi = ["value"], Si = { class: "mwnf-standalone-tle__date" }, Ci = ["aria-label"], wi = { value: "none" }, Ti = ["value"], Ei = { class: "mwnf-standalone-tle__go" }, Di = { type: "submit" }, Oi = {
1855
1855
  __name: "TimelineEntrance",
1856
1856
  props: {
1857
1857
  labels: {
@@ -1880,71 +1880,71 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1880
1880
  }
1881
1881
  },
1882
1882
  emits: ["search"],
1883
- setup(e, { emit: t }) {
1884
- let n = e, r = t, i = n.texts ? q().t : (e) => e, a = (e) => i(`${n.texts}.${e}`), o = l(() => n.labels ?? {
1885
- selectCountry: a("tl.selectCountry"),
1886
- allCountries: a("tl.allCountries"),
1887
- startDate: a("tl.startDate"),
1888
- endDate: a("tl.endDate"),
1889
- go: a("db.go")
1890
- }), s = l(() => n.alerts ?? (n.texts ? {
1891
- country: a("tl.alertCountry"),
1892
- countryOrDates: a("tl.alertCountryOrDates"),
1893
- startDate: a("tl.alertStartDate"),
1894
- endDate: a("tl.alertEndDate"),
1895
- period: a("tl.alertPeriod")
1896
- } : {})), u = E({
1883
+ setup(n, { emit: r }) {
1884
+ let o = n, s = r, c = o.texts ? U().t : (e) => e, l = (e) => c(`${o.texts}.${e}`), u = t(() => o.labels ?? {
1885
+ selectCountry: l("tl.selectCountry"),
1886
+ allCountries: l("tl.allCountries"),
1887
+ startDate: l("tl.startDate"),
1888
+ endDate: l("tl.endDate"),
1889
+ go: l("db.go")
1890
+ }), d = t(() => o.alerts ?? (o.texts ? {
1891
+ country: l("tl.alertCountry"),
1892
+ countryOrDates: l("tl.alertCountryOrDates"),
1893
+ startDate: l("tl.alertStartDate"),
1894
+ endDate: l("tl.alertEndDate"),
1895
+ period: l("tl.alertPeriod")
1896
+ } : {})), f = v({
1897
1897
  country: "none",
1898
1898
  start: "none",
1899
1899
  end: "none"
1900
1900
  });
1901
- function d() {
1902
- return u.country === "none" ? s.value.country : u.country === "" ? u.start === "none" && u.end === "none" ? s.value.countryOrDates : u.start === "none" ? s.value.startDate : u.end === "none" ? s.value.endDate : Number(u.start) > Number(u.end) ? s.value.period : "" : "";
1901
+ function p() {
1902
+ return f.country === "none" ? d.value.country : f.country === "" ? f.start === "none" && f.end === "none" ? d.value.countryOrDates : f.start === "none" ? d.value.startDate : f.end === "none" ? d.value.endDate : Number(f.start) > Number(f.end) ? d.value.period : "" : "";
1903
1903
  }
1904
1904
  function m() {
1905
- let e = d();
1906
- e ? window.alert(e) : r("search", { ...u });
1905
+ let e = p();
1906
+ e ? window.alert(e) : s("search", { ...f });
1907
1907
  }
1908
- return (t, n) => (T(), f("form", {
1908
+ return (t, r) => (_(), i("form", {
1909
1909
  class: "mwnf-standalone-tle",
1910
- onSubmit: V(m, ["prevent"])
1910
+ onSubmit: N(m, ["prevent"])
1911
1911
  }, [
1912
- p("p", fi, [B(p("select", {
1913
- "onUpdate:modelValue": n[0] ||= (e) => u.country = e,
1914
- "aria-label": o.value.selectCountry
1912
+ a("p", pi, [M(a("select", {
1913
+ "onUpdate:modelValue": r[0] ||= (e) => f.country = e,
1914
+ "aria-label": u.value.selectCountry
1915
1915
  }, [
1916
- p("option", mi, A(o.value.selectCountry), 1),
1917
- p("option", hi, A(o.value.allCountries), 1),
1918
- (T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
1916
+ a("option", hi, S(u.value.selectCountry), 1),
1917
+ a("option", gi, S(u.value.allCountries), 1),
1918
+ (_(!0), i(e, null, b(n.countries, (e) => (_(), i("option", {
1919
1919
  key: e.value,
1920
1920
  value: e.value
1921
- }, A(e.label), 9, gi))), 128))
1922
- ], 8, pi), [[F, u.country]])]),
1923
- p("p", _i, [B(p("select", {
1924
- "onUpdate:modelValue": n[1] ||= (e) => u.start = e,
1925
- "aria-label": o.value.startDate
1926
- }, [p("option", yi, A(o.value.startDate), 1), (T(!0), f(c, null, O(e.starts, (e) => (T(), f("option", {
1921
+ }, S(e.label), 9, _i))), 128))
1922
+ ], 8, mi), [[D, f.country]])]),
1923
+ a("p", vi, [M(a("select", {
1924
+ "onUpdate:modelValue": r[1] ||= (e) => f.start = e,
1925
+ "aria-label": u.value.startDate
1926
+ }, [a("option", bi, S(u.value.startDate), 1), (_(!0), i(e, null, b(n.starts, (e) => (_(), i("option", {
1927
1927
  key: e.value,
1928
1928
  value: e.value
1929
- }, A(e.label), 9, bi))), 128))], 8, vi), [[F, u.start]])]),
1930
- p("p", xi, [B(p("select", {
1931
- "onUpdate:modelValue": n[2] ||= (e) => u.end = e,
1932
- "aria-label": o.value.endDate
1933
- }, [p("option", Ci, A(o.value.endDate), 1), (T(!0), f(c, null, O(e.ends, (e) => (T(), f("option", {
1929
+ }, S(e.label), 9, xi))), 128))], 8, yi), [[D, f.start]])]),
1930
+ a("p", Si, [M(a("select", {
1931
+ "onUpdate:modelValue": r[2] ||= (e) => f.end = e,
1932
+ "aria-label": u.value.endDate
1933
+ }, [a("option", wi, S(u.value.endDate), 1), (_(!0), i(e, null, b(n.ends, (e) => (_(), i("option", {
1934
1934
  key: e.value,
1935
1935
  value: e.value
1936
- }, A(e.label), 9, wi))), 128))], 8, Si), [[F, u.end]])]),
1937
- p("p", Ti, [p("button", Ei, A(o.value.go), 1)])
1936
+ }, S(e.label), 9, Ti))), 128))], 8, Ci), [[D, f.end]])]),
1937
+ a("p", Ei, [a("button", Di, S(u.value.go), 1)])
1938
1938
  ], 32));
1939
1939
  }
1940
- }, Oi = {
1940
+ }, ki = {
1941
1941
  key: 0,
1942
1942
  class: "mwnf-standalone-pages"
1943
- }, ki = { class: "mwnf-standalone-pages__previous" }, Ai = ["aria-current", "onClick"], ji = { class: "mwnf-standalone-pages__next" }, Mi = {
1943
+ }, Ai = { class: "mwnf-standalone-pages__previous" }, ji = ["aria-current", "onClick"], Mi = { class: "mwnf-standalone-pages__next" }, Ni = {
1944
1944
  key: 1,
1945
1945
  class: "mwnf-standalone-pages",
1946
1946
  "aria-hidden": "true"
1947
- }, Ni = {
1947
+ }, Pi = {
1948
1948
  __name: "Pagination",
1949
1949
  props: {
1950
1950
  pageInfo: {
@@ -1965,53 +1965,53 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
1965
1965
  }
1966
1966
  },
1967
1967
  emits: ["navigate"],
1968
- setup(e, { emit: t }) {
1969
- let n = e, r = t, i = l(() => n.pageInfo?.currentPage ?? 1), a = l(() => n.pageInfo?.lastPage ?? 1), o = l(() => {
1970
- let e = Math.max(1, n.block), t = Math.floor((i.value - 1) / e) * e + 1, r = [];
1971
- for (let n = t; n <= Math.min(a.value, t + e - 1); n++) r.push(n);
1972
- return r;
1968
+ setup(n, { emit: r }) {
1969
+ let o = n, c = r, l = t(() => o.pageInfo?.currentPage ?? 1), u = t(() => o.pageInfo?.lastPage ?? 1), d = t(() => {
1970
+ let e = Math.max(1, o.block), t = Math.floor((l.value - 1) / e) * e + 1, n = [];
1971
+ for (let r = t; r <= Math.min(u.value, t + e - 1); r++) n.push(r);
1972
+ return n;
1973
1973
  });
1974
- function s(e) {
1975
- e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
1974
+ function p(e) {
1975
+ e >= 1 && e <= u.value && e !== l.value && c("navigate", e);
1976
1976
  }
1977
- return (t, n) => a.value > 1 ? (T(), f("nav", Oi, [
1978
- p("span", ki, [i.value > 1 ? (T(), f("a", {
1977
+ return (t, r) => u.value > 1 ? (_(), i("nav", ki, [
1978
+ a("span", Ai, [l.value > 1 ? (_(), i("a", {
1979
1979
  key: 0,
1980
1980
  href: "#",
1981
- onClick: n[0] ||= V((e) => s(i.value - 1), ["prevent"])
1982
- }, A(e.previousLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.previousLabel), 1)], 64))]),
1983
- (T(!0), f(c, null, O(o.value, (e) => (T(), f("a", {
1981
+ onClick: r[0] ||= N((e) => p(l.value - 1), ["prevent"])
1982
+ }, S(n.previousLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.previousLabel), 1)], 64))]),
1983
+ (_(!0), i(e, null, b(d.value, (e) => (_(), i("a", {
1984
1984
  key: e,
1985
1985
  href: "#",
1986
- class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
1987
- "aria-current": e === i.value ? "page" : void 0,
1988
- onClick: V((t) => s(e), ["prevent"])
1989
- }, A(e), 11, Ai))), 128)),
1990
- p("span", ji, [i.value < a.value ? (T(), f("a", {
1986
+ class: f(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === l.value }]),
1987
+ "aria-current": e === l.value ? "page" : void 0,
1988
+ onClick: N((t) => p(e), ["prevent"])
1989
+ }, S(e), 11, ji))), 128)),
1990
+ a("span", Mi, [l.value < u.value ? (_(), i("a", {
1991
1991
  key: 0,
1992
1992
  href: "#",
1993
- onClick: n[1] ||= V((e) => s(i.value + 1), ["prevent"])
1994
- }, A(e.nextLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.nextLabel), 1)], 64))])
1995
- ])) : (T(), f("div", Mi));
1993
+ onClick: r[1] ||= N((e) => p(l.value + 1), ["prevent"])
1994
+ }, S(n.nextLabel), 1)) : (_(), i(e, { key: 1 }, [s(S(n.nextLabel), 1)], 64))])
1995
+ ])) : (_(), i("div", Ni));
1996
1996
  }
1997
- }, Pi = { class: "mwnf-standalone-tlr" }, Fi = { class: "mwnf-standalone-tlr__band" }, Ii = { class: "mwnf-standalone-tlr__band-inner" }, Li = { class: "mwnf-standalone-tlr__summary" }, Ri = { class: "mwnf-standalone-tlr__selects" }, zi = ["for"], Bi = [
1997
+ }, Fi = { class: "mwnf-standalone-tlr" }, Ii = { class: "mwnf-standalone-tlr__band" }, Li = { class: "mwnf-standalone-tlr__band-inner" }, Ri = { class: "mwnf-standalone-tlr__summary" }, zi = { class: "mwnf-standalone-tlr__selects" }, Bi = ["for"], Vi = [
1998
1998
  "id",
1999
1999
  "value",
2000
2000
  "disabled",
2001
2001
  "onChange"
2002
- ], Vi = ["value"], Hi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ui = {
2002
+ ], Hi = ["value"], Ui = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Wi = {
2003
2003
  key: 0,
2004
2004
  class: "mwnf-standalone-tlr__heads"
2005
- }, Wi = { class: "mwnf-standalone-tlr__body" }, Gi = { class: "mwnf-standalone-tlr__list" }, Ki = { class: "mwnf-standalone-tlr__date" }, qi = { class: "mwnf-standalone-tlr__content" }, Ji = ["innerHTML"], Yi = {
2005
+ }, Gi = { class: "mwnf-standalone-tlr__body" }, Ki = { class: "mwnf-standalone-tlr__list" }, qi = { class: "mwnf-standalone-tlr__date" }, Ji = { class: "mwnf-standalone-tlr__content" }, Yi = ["innerHTML"], Xi = {
2006
2006
  key: 0,
2007
2007
  class: "mwnf-standalone-tlr__empty"
2008
- }, Xi = { class: "mwnf-standalone-tlr__related" }, Zi = {
2008
+ }, Zi = { class: "mwnf-standalone-tlr__related" }, Qi = {
2009
2009
  key: 0,
2010
2010
  class: "mwnf-standalone-tlr__panel"
2011
- }, Qi = { key: 0 }, $i = {
2011
+ }, $i = { key: 0 }, ea = {
2012
2012
  key: 1,
2013
2013
  class: "mwnf-standalone-tlr__panel"
2014
- }, ea = { class: "mwnf-standalone-tlr__download" }, ta = {
2014
+ }, ta = { class: "mwnf-standalone-tlr__download" }, na = {
2015
2015
  __name: "TimelineResults",
2016
2016
  props: {
2017
2017
  heading: {
@@ -2068,77 +2068,77 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2068
2068
  }
2069
2069
  },
2070
2070
  emits: ["change", "navigate"],
2071
- setup(e, { emit: t }) {
2072
- let n = e, i = t, a = l(() => n.rows.length > 0);
2073
- function o() {
2071
+ setup(o, { emit: l }) {
2072
+ let u = o, d = l, f = t(() => u.rows.length > 0);
2073
+ function p() {
2074
2074
  window.print();
2075
2075
  }
2076
- function s(e) {
2076
+ function m(e) {
2077
2077
  let t = e.currentTarget.closest(".mwnf-standalone-tlr");
2078
- lt(ut({
2079
- title: n.download?.title ?? "",
2080
- heading: n.download?.line ?? "",
2081
- heads: n.heads,
2082
- rows: n.all ?? n.rows,
2083
- empty: n.empty,
2078
+ ut(dt({
2079
+ title: u.download?.title ?? "",
2080
+ heading: u.download?.line ?? "",
2081
+ heads: u.heads,
2082
+ rows: u.all ?? u.rows,
2083
+ empty: u.empty,
2084
2084
  dir: t ? getComputedStyle(t).direction : ""
2085
- }), n.download?.file ?? "timeline.doc");
2085
+ }), u.download?.file ?? "timeline.doc");
2086
2086
  }
2087
- return (t, n) => (T(), f("div", Pi, [
2088
- p("section", Fi, [p("div", Ii, [p("p", Li, [p("b", null, A(e.heading), 1), h(" | " + A(e.summary), 1)]), p("div", Ri, [(T(!0), f(c, null, O(e.selects, (e) => (T(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, A(e.label), 9, zi), p("select", {
2089
- id: `mwnf-tlr-${e.key}`,
2090
- value: e.value,
2091
- disabled: e.disabled || void 0,
2092
- onChange: (t) => i("change", {
2093
- key: e.key,
2094
- value: t.target.value
2087
+ return (t, l) => (_(), i("div", Fi, [
2088
+ a("section", Ii, [a("div", Li, [a("p", Ri, [a("b", null, S(o.heading), 1), s(" | " + S(o.summary), 1)]), a("div", zi, [(_(!0), i(e, null, b(o.selects, (t) => (_(), i("p", { key: t.key }, [a("label", { for: `mwnf-tlr-${t.key}` }, S(t.label), 9, Bi), a("select", {
2089
+ id: `mwnf-tlr-${t.key}`,
2090
+ value: t.value,
2091
+ disabled: t.disabled || void 0,
2092
+ onChange: (e) => d("change", {
2093
+ key: t.key,
2094
+ value: e.target.value
2095
2095
  })
2096
- }, [(T(!0), f(c, null, O(e.options, (e) => (T(), f("option", {
2096
+ }, [(_(!0), i(e, null, b(t.options, (e) => (_(), i("option", {
2097
2097
  key: e.value,
2098
2098
  value: e.value
2099
- }, A(e.label), 9, Vi))), 128))], 40, Bi)]))), 128))])])]),
2100
- p("p", Hi, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
2099
+ }, S(e.label), 9, Hi))), 128))], 40, Vi)]))), 128))])])]),
2100
+ a("p", Ui, [(_(!0), i(e, null, b(o.back, (r) => (_(), i(e, { key: r.label }, [r.history ? (_(), i("button", {
2101
2101
  key: 0,
2102
2102
  type: "button",
2103
2103
  class: "mwnf-standalone-item__back-link",
2104
- onClick: n[0] ||= (e) => t.$router.back()
2105
- }, A(e.label), 1)) : (T(), u(r, {
2104
+ onClick: l[0] ||= (e) => t.$router.back()
2105
+ }, S(r.label), 1)) : (_(), n(q, {
2106
2106
  key: 1,
2107
2107
  class: "mwnf-standalone-item__back-link",
2108
- to: e.to,
2109
- href: e.href
2108
+ to: r.to,
2109
+ href: r.href
2110
2110
  }, {
2111
- default: z(() => [h(A(e.label), 1)]),
2111
+ default: j(() => [s(S(r.label), 1)]),
2112
2112
  _: 2
2113
2113
  }, 1032, ["to", "href"]))], 64))), 128))]),
2114
- a.value ? (T(), f("div", Ui, [p("h3", null, A(e.heads.date), 1), p("h3", null, A(e.heads.countryDescription), 1)])) : d("", !0),
2115
- p("div", Wi, [p("div", Gi, [
2116
- (T(!0), f(c, null, O(e.rows, (e) => (T(), f("div", {
2114
+ f.value ? (_(), i("div", Wi, [a("h3", null, S(o.heads.date), 1), a("h3", null, S(o.heads.countryDescription), 1)])) : r("", !0),
2115
+ a("div", Gi, [a("div", Ki, [
2116
+ (_(!0), i(e, null, b(o.rows, (e) => (_(), i("div", {
2117
2117
  key: e.id,
2118
2118
  class: "mwnf-standalone-tlr__row"
2119
- }, [p("div", Ki, [p("p", null, [p("span", null, A(e.date), 1)]), k(t.$slots, "media", { row: e })]), p("div", qi, [p("p", null, [p("span", null, A(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, Ji)])]))), 128)),
2120
- a.value ? d("", !0) : (T(), f("p", Yi, A(e.empty), 1)),
2121
- e.pageInfo ? (T(), u(Ni, {
2119
+ }, [a("div", qi, [a("p", null, [a("span", null, S(e.date), 1)]), x(t.$slots, "media", { row: e })]), a("div", Ji, [a("p", null, [a("span", null, S(e.country), 1)]), a("div", { innerHTML: e.html }, null, 8, Yi)])]))), 128)),
2120
+ f.value ? r("", !0) : (_(), i("p", Xi, S(o.empty), 1)),
2121
+ o.pageInfo ? (_(), n(Pi, {
2122
2122
  key: 1,
2123
- "page-info": e.pageInfo,
2124
- "previous-label": e.previousLabel,
2125
- "next-label": e.nextLabel,
2126
- onNavigate: n[1] ||= (e) => i("navigate", e)
2123
+ "page-info": o.pageInfo,
2124
+ "previous-label": o.previousLabel,
2125
+ "next-label": o.nextLabel,
2126
+ onNavigate: l[1] ||= (e) => d("navigate", e)
2127
2127
  }, null, 8, [
2128
2128
  "page-info",
2129
2129
  "previous-label",
2130
2130
  "next-label"
2131
- ])) : d("", !0)
2132
- ]), p("aside", Xi, [e.related ? (T(), f("div", Zi, [
2133
- p("p", null, [p("strong", null, A(e.related.heading), 1)]),
2134
- (T(!0), f(c, null, O(e.related.links ?? [], (e) => (T(), f("p", { key: e.label }, [g(r, {
2131
+ ])) : r("", !0)
2132
+ ]), a("aside", Zi, [o.related ? (_(), i("div", Qi, [
2133
+ a("p", null, [a("strong", null, S(o.related.heading), 1)]),
2134
+ (_(!0), i(e, null, b(o.related.links ?? [], (e) => (_(), i("p", { key: e.label }, [c(q, {
2135
2135
  class: "mwnf-standalone-tlr__link",
2136
2136
  to: e.to,
2137
2137
  href: e.href,
2138
2138
  title: e.title,
2139
2139
  target: e.target
2140
2140
  }, {
2141
- default: z(() => [h(A(e.label), 1)]),
2141
+ default: j(() => [s(S(e.label), 1)]),
2142
2142
  _: 2
2143
2143
  }, 1032, [
2144
2144
  "to",
@@ -2146,30 +2146,30 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2146
2146
  "title",
2147
2147
  "target"
2148
2148
  ])]))), 128)),
2149
- e.related.gallery ? (T(), f("p", Qi, [g(r, {
2149
+ o.related.gallery ? (_(), i("p", $i, [c(q, {
2150
2150
  class: "mwnf-standalone-tlr__link",
2151
- to: e.related.gallery.to,
2152
- title: e.related.gallery.title
2151
+ to: o.related.gallery.to,
2152
+ title: o.related.gallery.title
2153
2153
  }, {
2154
- default: z(() => [h(A(e.related.gallery.label), 1)]),
2154
+ default: j(() => [s(S(o.related.gallery.label), 1)]),
2155
2155
  _: 1
2156
- }, 8, ["to", "title"])])) : d("", !0)
2157
- ])) : d("", !0), e.download ? (T(), f("div", $i, [
2158
- p("p", ea, A(e.download.heading), 1),
2159
- p("p", null, [p("a", {
2156
+ }, 8, ["to", "title"])])) : r("", !0)
2157
+ ])) : r("", !0), o.download ? (_(), i("div", ea, [
2158
+ a("p", ta, S(o.download.heading), 1),
2159
+ a("p", null, [a("a", {
2160
2160
  href: "#",
2161
2161
  class: "mwnf-standalone-tlr__link",
2162
- onClick: V(o, ["prevent"])
2163
- }, A(e.download.pdf), 1)]),
2164
- p("p", null, [p("a", {
2162
+ onClick: N(p, ["prevent"])
2163
+ }, S(o.download.pdf), 1)]),
2164
+ a("p", null, [a("a", {
2165
2165
  href: "#",
2166
2166
  class: "mwnf-standalone-tlr__link",
2167
- onClick: V(s, ["prevent"])
2168
- }, A(e.download.word), 1)])
2169
- ])) : d("", !0)])])
2167
+ onClick: N(m, ["prevent"])
2168
+ }, S(o.download.word), 1)])
2169
+ ])) : r("", !0)])])
2170
2170
  ]));
2171
2171
  }
2172
- }, na = ["dir"], ra = { class: "mwnf-standalone-window__box" }, ia = { class: "mwnf-standalone-window__header" }, aa = { class: "mwnf-standalone-window__heading" }, oa = ["aria-label"], sa = { class: "mwnf-standalone-window__article" }, ca = {
2172
+ }, ra = ["dir"], ia = { class: "mwnf-standalone-window__box" }, aa = { class: "mwnf-standalone-window__header" }, oa = { class: "mwnf-standalone-window__heading" }, sa = ["aria-label"], ca = { class: "mwnf-standalone-window__article" }, $ = {
2173
2173
  __name: "Window",
2174
2174
  props: {
2175
2175
  heading: {
@@ -2189,19 +2189,19 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2189
2189
  function t() {
2190
2190
  window.opener ? (window.opener.focus(), window.close()) : window.history.back();
2191
2191
  }
2192
- return (n, r) => (T(), f("div", {
2192
+ return (n, r) => (_(), i("div", {
2193
2193
  class: "mwnf-standalone-window",
2194
2194
  dir: e.dir || void 0
2195
- }, [p("div", ra, [
2196
- p("header", ia, [p("h1", aa, A(e.heading), 1), p("button", {
2195
+ }, [a("div", ia, [
2196
+ a("header", aa, [a("h1", oa, S(e.heading), 1), a("button", {
2197
2197
  type: "button",
2198
2198
  class: "mwnf-standalone-window__close",
2199
2199
  "aria-label": e.closeLabel || void 0,
2200
2200
  onClick: t
2201
- }, "×", 8, oa)]),
2202
- k(n.$slots, "before"),
2203
- p("article", sa, [k(n.$slots, "default")])
2204
- ])], 8, na));
2201
+ }, "×", 8, sa)]),
2202
+ x(n.$slots, "before"),
2203
+ a("article", ca, [x(n.$slots, "default")])
2204
+ ])], 8, ra));
2205
2205
  }
2206
2206
  }, la = {
2207
2207
  class: "mwnf-standalone-hcr__scale",
@@ -2262,69 +2262,69 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2262
2262
  }
2263
2263
  },
2264
2264
  emits: ["change"],
2265
- setup(e, { emit: t }) {
2266
- let n = e, r = t, i = n.texts ? q().t : (e) => e, a = l(() => n.labels ?? {
2267
- heading: i(`${n.texts}.tl.title`),
2268
- close: i("record.glossary.close"),
2269
- country: i(`${n.texts}.hcr.country`),
2270
- range: i(`${n.texts}.hcr.range`)
2271
- }), o = l(() => {
2272
- let e = (Math.floor(n.start / 50) - 2) * 50;
2273
- return e + 700 > 2050 && (e = 1350), Array.from({ length: 14 }, (t, r) => {
2274
- let i = e + 50 * r;
2265
+ setup(o, { emit: c }) {
2266
+ let l = o, u = c, d = l.texts ? U().t : (e) => e, p = t(() => l.labels ?? {
2267
+ heading: d(`${l.texts}.tl.title`),
2268
+ close: d("record.glossary.close"),
2269
+ country: d(`${l.texts}.hcr.country`),
2270
+ range: d(`${l.texts}.hcr.range`)
2271
+ }), m = t(() => {
2272
+ let e = (Math.floor(l.start / 50) - 2) * 50;
2273
+ return e + 700 > 2050 && (e = 1350), Array.from({ length: 14 }, (t, n) => {
2274
+ let r = e + 50 * n;
2275
2275
  return {
2276
- value: i,
2277
- active: i >= n.start && i < n.end
2276
+ value: r,
2277
+ active: r >= l.start && r < l.end
2278
2278
  };
2279
2279
  });
2280
2280
  });
2281
- return (t, n) => (T(), u(ca, {
2281
+ return (t, c) => (_(), n($, {
2282
2282
  class: "mwnf-standalone-hcr",
2283
- heading: a.value.heading,
2284
- "close-label": a.value.close,
2285
- dir: e.dir
2283
+ heading: p.value.heading,
2284
+ "close-label": p.value.close,
2285
+ dir: o.dir
2286
2286
  }, {
2287
- before: z(() => [p("section", la, [p("div", ua, [(T(!0), f(c, null, O(o.value, (e) => (T(), f("span", {
2287
+ before: j(() => [a("section", la, [a("div", ua, [(_(!0), i(e, null, b(m.value, (e) => (_(), i("span", {
2288
2288
  key: e.value,
2289
- class: b({ "mwnf-standalone-hcr__year--active": e.active })
2290
- }, A(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
2291
- default: z(() => [p("div", da, [p("div", fa, [
2292
- p("p", pa, A(a.value.country), 1),
2293
- p("select", {
2294
- value: e.country,
2295
- "aria-label": a.value.country,
2296
- onChange: n[0] ||= (e) => r("change", {
2289
+ class: f({ "mwnf-standalone-hcr__year--active": e.active })
2290
+ }, S(e.value), 3))), 128))]), c[2] ||= a("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
2291
+ default: j(() => [a("div", da, [a("div", fa, [
2292
+ a("p", pa, S(p.value.country), 1),
2293
+ a("select", {
2294
+ value: o.country,
2295
+ "aria-label": p.value.country,
2296
+ onChange: c[0] ||= (e) => u("change", {
2297
2297
  key: "country",
2298
2298
  value: e.target.value
2299
2299
  })
2300
- }, [(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
2300
+ }, [(_(!0), i(e, null, b(o.countries, (e) => (_(), i("option", {
2301
2301
  key: e.value,
2302
2302
  value: e.value
2303
- }, A(e.label), 9, ha))), 128))], 40, ma),
2304
- p("p", ga, A(a.value.range), 1),
2305
- p("select", {
2306
- value: String(e.range),
2307
- "aria-label": a.value.range,
2308
- onChange: n[1] ||= (e) => r("change", {
2303
+ }, S(e.label), 9, ha))), 128))], 40, ma),
2304
+ a("p", ga, S(p.value.range), 1),
2305
+ a("select", {
2306
+ value: String(o.range),
2307
+ "aria-label": p.value.range,
2308
+ onChange: c[1] ||= (e) => u("change", {
2309
2309
  key: "start",
2310
2310
  value: e.target.value
2311
2311
  })
2312
- }, [(T(!0), f(c, null, O(e.ranges, (e) => (T(), f("option", {
2312
+ }, [(_(!0), i(e, null, b(o.ranges, (e) => (_(), i("option", {
2313
2313
  key: e.value,
2314
2314
  value: String(e.value)
2315
- }, A(e.label), 9, va))), 128))], 40, _a),
2316
- e.item ? (T(), f(c, { key: 0 }, [
2317
- e.item.image ? (T(), f("div", ya, [p("img", {
2318
- src: e.item.image,
2319
- alt: e.item.name
2320
- }, null, 8, ba)])) : d("", !0),
2321
- e.item.name ? (T(), f("p", xa, [p("strong", { innerHTML: e.item.name }, null, 8, Sa)])) : d("", !0),
2322
- e.item.lines?.length ? (T(), f("p", Ca, [(T(!0), f(c, null, O(e.item.lines, (e, t) => (T(), f(c, { key: t }, [h(A(e), 1), n[3] ||= p("br", null, null, -1)], 64))), 128))])) : d("", !0)
2323
- ], 64)) : d("", !0)
2324
- ]), p("div", wa, [p("h3", null, A(e.heading), 1), (T(!0), f(c, null, O(e.events, (e) => (T(), f("div", {
2315
+ }, S(e.label), 9, va))), 128))], 40, _a),
2316
+ o.item ? (_(), i(e, { key: 0 }, [
2317
+ o.item.image ? (_(), i("div", ya, [a("img", {
2318
+ src: o.item.image,
2319
+ alt: o.item.name
2320
+ }, null, 8, ba)])) : r("", !0),
2321
+ o.item.name ? (_(), i("p", xa, [a("strong", { innerHTML: o.item.name }, null, 8, Sa)])) : r("", !0),
2322
+ o.item.lines?.length ? (_(), i("p", Ca, [(_(!0), i(e, null, b(o.item.lines, (t, n) => (_(), i(e, { key: n }, [s(S(t), 1), c[3] ||= a("br", null, null, -1)], 64))), 128))])) : r("", !0)
2323
+ ], 64)) : r("", !0)
2324
+ ]), a("div", wa, [a("h3", null, S(o.heading), 1), (_(!0), i(e, null, b(o.events, (e) => (_(), i("div", {
2325
2325
  key: e.id,
2326
2326
  class: "mwnf-standalone-hcr__event"
2327
- }, [p("p", null, [p("b", null, A(e.date), 1)]), p("div", {
2327
+ }, [a("p", null, [a("b", null, S(e.date), 1)]), a("div", {
2328
2328
  class: "mwnf-standalone-hcr__text",
2329
2329
  innerHTML: e.html
2330
2330
  }, null, 8, Ta)]))), 128))])])]),
@@ -2358,45 +2358,45 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2358
2358
  default: "core.pagination.next"
2359
2359
  }
2360
2360
  },
2361
- setup(e) {
2362
- let t = e, { t: n } = q(), i = Y(), a = D(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
2361
+ setup(n) {
2362
+ let o = n, { t: s } = U(), l = J(), u = y(0), d = t(() => Math.max(0, o.slides.length - o.visible)), f = t(() => o.slides.slice(u.value, u.value + o.visible).map((e) => ({
2363
2363
  ...e,
2364
- image: i(e.image) ?? "",
2365
- label: e.label ? n(e.label) : ""
2364
+ image: l(e.image) ?? "",
2365
+ label: e.label ? s(e.label) : ""
2366
2366
  })));
2367
- return (t, i) => e.slides.length ? (T(), f("div", {
2367
+ return (t, o) => n.slides.length ? (_(), i("div", {
2368
2368
  key: 0,
2369
2369
  class: "mwnf-standalone-slider",
2370
- style: S({ "--mwnf-standalone-slider-count": e.visible })
2370
+ style: m({ "--mwnf-standalone-slider-count": n.visible })
2371
2371
  }, [
2372
- p("button", {
2372
+ a("button", {
2373
2373
  type: "button",
2374
2374
  class: "mwnf-standalone-slider__button",
2375
- disabled: a.value === 0,
2376
- "aria-label": j(n)(e.previousLabel),
2377
- onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
2375
+ disabled: u.value === 0,
2376
+ "aria-label": C(s)(n.previousLabel),
2377
+ onClick: o[0] ||= (e) => u.value = Math.max(0, u.value - 1)
2378
2378
  }, "‹", 8, Da),
2379
- p("ul", Oa, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
2379
+ a("ul", Oa, [(_(!0), i(e, null, b(f.value, (e) => (_(), i("li", {
2380
2380
  key: e.image,
2381
2381
  class: "mwnf-standalone-slider__slide"
2382
- }, [g(r, {
2382
+ }, [c(q, {
2383
2383
  to: e.to,
2384
2384
  href: e.href
2385
2385
  }, {
2386
- default: z(() => [p("img", {
2386
+ default: j(() => [a("img", {
2387
2387
  src: e.image,
2388
2388
  alt: e.label
2389
- }, null, 8, ka), e.label ? (T(), f("span", Aa, A(e.label), 1)) : d("", !0)]),
2389
+ }, null, 8, ka), e.label ? (_(), i("span", Aa, S(e.label), 1)) : r("", !0)]),
2390
2390
  _: 2
2391
2391
  }, 1032, ["to", "href"])]))), 128))]),
2392
- p("button", {
2392
+ a("button", {
2393
2393
  type: "button",
2394
2394
  class: "mwnf-standalone-slider__button",
2395
- disabled: a.value >= o.value,
2396
- "aria-label": j(n)(e.nextLabel),
2397
- onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
2395
+ disabled: u.value >= d.value,
2396
+ "aria-label": C(s)(n.nextLabel),
2397
+ onClick: o[1] ||= (e) => u.value = Math.min(d.value, u.value + 1)
2398
2398
  }, "›", 8, ja)
2399
- ], 4)) : d("", !0);
2399
+ ], 4)) : r("", !0);
2400
2400
  }
2401
2401
  }, Na = { class: "mwnf-standalone-glossary" }, Pa = { class: "mwnf-standalone-glossary__intro" }, Fa = { class: "mwnf-standalone-glossary__body" }, Ia = { class: "mwnf-standalone-glossary__field" }, La = ["aria-expanded", "aria-label"], Ra = {
2402
2402
  key: 0,
@@ -2425,71 +2425,71 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2425
2425
  default: ""
2426
2426
  }
2427
2427
  },
2428
- setup(e) {
2429
- let t = e, n = oe(), r = te(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
2430
- w(async () => {
2431
- await ne([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
2428
+ setup(o) {
2429
+ let s = o, c = H(), l = ee(s.entity), u = t(() => c.availableLanguages(s.entity).slice().sort());
2430
+ g(async () => {
2431
+ await L([s.entity]), await Promise.all(u.value.map((e) => c.loadTranslations(s.entity, e)));
2432
2432
  });
2433
- let a = D(""), o = D(null), s = D(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
2434
- let e = H(a.value.trim());
2435
- if (!e || o.value) return [];
2436
- let n = /* @__PURE__ */ new Map();
2437
- for (let i of r.value ?? []) for (let r of m(i, t.language).spellings ?? []) {
2438
- let t = String(r).trim();
2439
- t && H(t).startsWith(e) && n.set(t, i);
2433
+ let d = y(""), p = y(null), m = y(-1), h = (e, t) => c.translations(s.entity, t)[e.id] ?? {}, v = t(() => {
2434
+ let e = I(d.value.trim());
2435
+ if (!e || p.value) return [];
2436
+ let t = /* @__PURE__ */ new Map();
2437
+ for (let n of l.value ?? []) for (let r of h(n, s.language).spellings ?? []) {
2438
+ let i = String(r).trim();
2439
+ i && I(i).startsWith(e) && t.set(i, n);
2440
2440
  }
2441
- return [...n].map(([e, t]) => ({
2441
+ return [...t].map(([e, t]) => ({
2442
2442
  spelling: e,
2443
2443
  term: t
2444
- })).sort((e, t) => H(e.spelling) < H(t.spelling) ? -1 : +(H(e.spelling) > H(t.spelling)));
2445
- }), g = l(() => o.value ? U(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
2446
- if (!o.value) return [];
2444
+ })).sort((e, t) => I(e.spelling) < I(t.spelling) ? -1 : +(I(e.spelling) > I(t.spelling)));
2445
+ }), x = t(() => p.value ? R(h(p.value, s.language).definition ?? "") : ""), C = t(() => {
2446
+ if (!p.value) return [];
2447
2447
  let e = /* @__PURE__ */ new Set(), t = [];
2448
- for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
2449
- let n = H(String(r).trim());
2448
+ for (let n of u.value) for (let r of h(p.value, n).spellings ?? []) {
2449
+ let n = I(String(r).trim());
2450
2450
  n && !e.has(n) && (e.add(n), t.push(String(r).trim()));
2451
2451
  }
2452
2452
  return t;
2453
2453
  });
2454
- function v(e) {
2455
- o.value = e.term, a.value = e.spelling, s.value = -1;
2454
+ function w(e) {
2455
+ p.value = e.term, d.value = e.spelling, m.value = -1;
2456
2456
  }
2457
- function y() {
2458
- o.value = null, s.value = -1;
2457
+ function T() {
2458
+ p.value = null, m.value = -1;
2459
2459
  }
2460
- function x(e) {
2461
- let t = h.value;
2462
- 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])));
2460
+ function E(e) {
2461
+ let t = v.value;
2462
+ t.length && (e.key === "ArrowDown" ? (e.preventDefault(), m.value = (m.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), m.value = (m.value - 1 + t.length) % t.length) : e.key === "Enter" && m.value >= 0 && (e.preventDefault(), w(t[m.value])));
2463
2463
  }
2464
- return (t, n) => (T(), u(ca, {
2465
- heading: e.labels.heading,
2466
- "close-label": e.labels.close,
2467
- dir: e.dir
2464
+ return (t, s) => (_(), n($, {
2465
+ heading: o.labels.heading,
2466
+ "close-label": o.labels.close,
2467
+ dir: o.dir
2468
2468
  }, {
2469
- default: z(() => [p("div", Na, [p("h2", Pa, A(e.labels.intro), 1), p("div", Fa, [p("div", Ia, [B(p("input", {
2470
- "onUpdate:modelValue": n[0] ||= (e) => a.value = e,
2469
+ default: j(() => [a("div", Na, [a("h2", Pa, S(o.labels.intro), 1), a("div", Fa, [a("div", Ia, [M(a("input", {
2470
+ "onUpdate:modelValue": s[0] ||= (e) => d.value = e,
2471
2471
  type: "text",
2472
2472
  class: "mwnf-standalone-glossary__input",
2473
2473
  role: "combobox",
2474
2474
  "aria-autocomplete": "list",
2475
- "aria-expanded": h.value.length > 0,
2476
- "aria-label": e.labels.heading,
2477
- onInput: y,
2478
- onKeydown: x
2479
- }, null, 40, La), [[I, a.value]]), h.value.length ? (T(), f("ul", Ra, [(T(!0), f(c, null, O(h.value, (e, t) => (T(), f("li", {
2475
+ "aria-expanded": v.value.length > 0,
2476
+ "aria-label": o.labels.heading,
2477
+ onInput: T,
2478
+ onKeydown: E
2479
+ }, null, 40, La), [[O, d.value]]), v.value.length ? (_(), i("ul", Ra, [(_(!0), i(e, null, b(v.value, (e, t) => (_(), i("li", {
2480
2480
  key: e.spelling,
2481
2481
  role: "option",
2482
- "aria-selected": t === s.value,
2483
- class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
2484
- onMousedown: V((t) => v(e), ["prevent"])
2485
- }, A(e.spelling), 43, za))), 128))])) : d("", !0)]), p("div", Ba, [o.value ? (T(), f(c, { key: 0 }, [g.value ? (T(), f(c, { key: 0 }, [p("h3", Va, A(e.labels.definition), 1), p("div", {
2482
+ "aria-selected": t === m.value,
2483
+ class: f(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === m.value }]),
2484
+ onMousedown: N((t) => w(e), ["prevent"])
2485
+ }, S(e.spelling), 43, za))), 128))])) : r("", !0)]), a("div", Ba, [p.value ? (_(), i(e, { key: 0 }, [x.value ? (_(), i(e, { key: 0 }, [a("h3", Va, S(o.labels.definition), 1), a("div", {
2486
2486
  class: "mwnf-standalone-glossary__definition",
2487
- innerHTML: g.value
2488
- }, null, 8, Ha)], 64)) : d("", !0), _.value.length ? (T(), f(c, { key: 1 }, [
2489
- p("h3", Ua, A(e.labels.spellings), 1),
2490
- p("p", Wa, A(e.labels.spellingsNote), 1),
2491
- p("ul", Ga, [(T(!0), f(c, null, O(_.value, (e) => (T(), f("li", { key: e }, A(e), 1))), 128))])
2492
- ], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
2487
+ innerHTML: x.value
2488
+ }, null, 8, Ha)], 64)) : r("", !0), C.value.length ? (_(), i(e, { key: 1 }, [
2489
+ a("h3", Ua, S(o.labels.spellings), 1),
2490
+ a("p", Wa, S(o.labels.spellingsNote), 1),
2491
+ a("ul", Ga, [(_(!0), i(e, null, b(C.value, (e) => (_(), i("li", { key: e }, S(e), 1))), 128))])
2492
+ ], 64)) : r("", !0)], 64)) : r("", !0)])])])]),
2493
2493
  _: 1
2494
2494
  }, 8, [
2495
2495
  "heading",
@@ -2498,4 +2498,4 @@ var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-
2498
2498
  ]));
2499
2499
  }
2500
2500
  };
2501
- export { Ct as RelatedContent, $ as SEE_ALSO_LABELS, ue as StandaloneBanner, di as StandaloneDatabaseForm, Ka as StandaloneGlossarySpelling, Ea as StandaloneHistoricalCrossRef, tt as StandaloneHome, Mt as StandaloneItemSheet, Ni as StandalonePagination, dr as StandalonePartnerList, cn as StandalonePartnerPage, Lr as StandalonePartnersEntrance, tr as StandaloneRefine, On as StandaloneResultsGrid, Yn as StandaloneResultsList, Ie as StandaloneShell, Ma as StandaloneSlider, wr as StandaloneSponsorList, Oe as StandaloneSponsors, hn as StandaloneSubNav, fn as StandaloneTextPage, Ze as StandaloneTileGrid, Di as StandaloneTimelineEntrance, ta as StandaloneTimelineResults, ca as StandaloneWindow, We as TodayHighlight, de as byLanguage, fe as dayOfYear, pe as legacyHomeItemKey, X as pickForDay, Ot as seeAlsoOf, Tt as trailTitle };
2501
+ export { wt as RelatedContent, Q as SEE_ALSO_LABELS, de as StandaloneBanner, fi as StandaloneDatabaseForm, Ka as StandaloneGlossarySpelling, Ea as StandaloneHistoricalCrossRef, nt as StandaloneHome, Nt as StandaloneItemSheet, Pi as StandalonePagination, fr as StandalonePartnerList, ln as StandalonePartnerPage, Rr as StandalonePartnersEntrance, nr as StandaloneRefine, kn as StandaloneResultsGrid, Xn as StandaloneResultsList, Le as StandaloneShell, Ma as StandaloneSlider, Tr as StandaloneSponsorList, ke as StandaloneSponsors, gn as StandaloneSubNav, pn as StandaloneTextPage, Qe as StandaloneTileGrid, Oi as StandaloneTimelineEntrance, na as StandaloneTimelineResults, $ as StandaloneWindow, Ge as TodayHighlight, fe as byLanguage, pe as dayOfYear, me as legacyHomeItemKey, Y as pickForDay, kt as seeAlsoOf, Et as trailTitle };