@museumwnf/viewer-layout 3.42.0 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/standalone.js +467 -337
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +15 -1
package/dist/standalone.js
CHANGED
|
@@ -3,13 +3,13 @@ import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
|
|
|
3
3
|
import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
|
|
4
4
|
import { t as s } from "./SiteShell-DPdTxtJ5.js";
|
|
5
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, onMounted as C, openBlock as w, reactive as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useId as j, useModel as M, useSlots as N, vModelSelect as P, vModelText as F, vShow as I, watch as L, withCtx as R, withDirectives as z, withModifiers as B } from "vue";
|
|
6
|
-
import { byId as V, collate as H, entityRef as ee, loadEntities as te, md as U, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, renderBlock as W, renderInline as G, renderPlain as K, useDataPackage as
|
|
7
|
-
import { useRoute as
|
|
6
|
+
import { byId as V, collate as H, entityRef as ee, loadEntities as te, md as U, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, renderBlock as W, renderInline as G, renderPlain as K, useDataPackage as ae, useI18n as q, useSection as oe, useSiteConfig as J } from "@museumwnf/viewer-core";
|
|
7
|
+
import { useRoute as se } from "vue-router";
|
|
8
8
|
//#region src/standalone/Banner.vue
|
|
9
|
-
var
|
|
9
|
+
var ce = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "mwnf-standalone-banner__title"
|
|
12
|
-
},
|
|
12
|
+
}, le = {
|
|
13
13
|
__name: "Banner",
|
|
14
14
|
props: {
|
|
15
15
|
image: {
|
|
@@ -25,26 +25,26 @@ var se = {
|
|
|
25
25
|
return (t, n) => (w(), f("div", {
|
|
26
26
|
class: "mwnf-standalone-banner",
|
|
27
27
|
style: S(e.image ? { backgroundImage: `url(${JSON.stringify(e.image)})` } : void 0)
|
|
28
|
-
}, [e.title ? (w(), f("h1",
|
|
28
|
+
}, [e.title ? (w(), f("h1", ce, [p("span", null, k(e.title), 1)])) : d("", !0)], 4));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
32
32
|
//#region src/standalone/chrome.js
|
|
33
|
-
function
|
|
34
|
-
let t =
|
|
33
|
+
function Y() {
|
|
34
|
+
let t = J();
|
|
35
35
|
return (n) => e(t.chrome, n);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function ue(e, t) {
|
|
38
38
|
return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function de(e = /* @__PURE__ */ new Date()) {
|
|
41
41
|
let t = new Date(e.getFullYear(), 0, 1);
|
|
42
42
|
return Math.round((new Date(e.getFullYear(), e.getMonth(), e.getDate()) - t) / 864e5);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
return e?.length ? e[
|
|
44
|
+
function X(e, t = /* @__PURE__ */ new Date()) {
|
|
45
|
+
return e?.length ? e[de(t) % e.length] : null;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function fe(e) {
|
|
48
48
|
let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
|
|
49
49
|
return !t || n.length < 5 ? "" : [
|
|
50
50
|
"mwnf3",
|
|
@@ -54,29 +54,29 @@ function de(e) {
|
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/standalone/Sponsors.vue
|
|
57
|
-
var
|
|
57
|
+
var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "mwnf-standalone-sponsors__text"
|
|
60
|
-
},
|
|
60
|
+
}, he = ["innerHTML"], ge = { key: 1 }, _e = ["innerHTML"], ve = {
|
|
61
61
|
key: 1,
|
|
62
62
|
class: "mwnf-standalone-sponsors__title"
|
|
63
|
-
},
|
|
63
|
+
}, ye = {
|
|
64
64
|
key: 2,
|
|
65
65
|
class: "mwnf-standalone-sponsors__logos"
|
|
66
|
-
},
|
|
66
|
+
}, be = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "mwnf-standalone-sponsors__note"
|
|
69
|
-
},
|
|
69
|
+
}, xe = ["src", "alt"], Se = ["innerHTML"], Ce = ["href"], we = ["src", "alt"], Te = ["src", "alt"], Ee = {
|
|
70
70
|
key: 3,
|
|
71
71
|
class: "mwnf-standalone-sponsors__links"
|
|
72
|
-
},
|
|
72
|
+
}, De = {
|
|
73
73
|
__name: "Sponsors",
|
|
74
74
|
props: { columns: {
|
|
75
75
|
type: Array,
|
|
76
76
|
default: () => []
|
|
77
77
|
} },
|
|
78
78
|
setup(e) {
|
|
79
|
-
let t = e, { t: r } =
|
|
79
|
+
let t = e, { t: r } = q(), i = Y(), a = l(() => t.columns.map((e, t) => ({
|
|
80
80
|
key: t,
|
|
81
81
|
width: e.width ?? null,
|
|
82
82
|
lead: e.lead ? G(r(e.lead)) : "",
|
|
@@ -94,30 +94,30 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
94
94
|
label: r(e.label)
|
|
95
95
|
}))
|
|
96
96
|
})));
|
|
97
|
-
return (e, t) => (w(), f("div",
|
|
97
|
+
return (e, t) => (w(), f("div", pe, [(w(!0), f(c, null, D(a.value, (e) => (w(), f("div", {
|
|
98
98
|
key: e.key,
|
|
99
99
|
class: "mwnf-standalone-sponsors__column",
|
|
100
100
|
style: S(e.width ? { flexGrow: e.width } : void 0)
|
|
101
101
|
}, [
|
|
102
|
-
e.lead || e.text ? (w(), f("p",
|
|
102
|
+
e.lead || e.text ? (w(), f("p", me, [
|
|
103
103
|
e.lead ? (w(), f("i", {
|
|
104
104
|
key: 0,
|
|
105
105
|
innerHTML: e.lead
|
|
106
|
-
}, null, 8,
|
|
107
|
-
e.lead && e.break ? (w(), f("br",
|
|
106
|
+
}, null, 8, he)) : d("", !0),
|
|
107
|
+
e.lead && e.break ? (w(), f("br", ge)) : e.lead && e.text ? (w(), f(c, { key: 2 }, [h(k(" "))], 64)) : d("", !0),
|
|
108
108
|
e.text ? (w(), f("span", {
|
|
109
109
|
key: 3,
|
|
110
110
|
innerHTML: e.text
|
|
111
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, _e)) : d("", !0)
|
|
112
112
|
])) : d("", !0),
|
|
113
|
-
e.title ? (w(), f("p",
|
|
114
|
-
e.logos.length ? (w(), f("ul",
|
|
113
|
+
e.title ? (w(), f("p", ve, k(e.title), 1)) : d("", !0),
|
|
114
|
+
e.logos.length ? (w(), f("ul", ye, [(w(!0), f(c, null, D(e.logos, (e) => (w(), f("li", { key: e.src }, [e.note ? (w(), f("details", be, [p("summary", null, [p("img", {
|
|
115
115
|
src: e.src,
|
|
116
116
|
alt: e.alt
|
|
117
|
-
}, null, 8,
|
|
117
|
+
}, null, 8, xe)]), p("div", {
|
|
118
118
|
class: "mwnf-standalone-sponsors__note-body",
|
|
119
119
|
innerHTML: e.note
|
|
120
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, Se)])) : e.href ? (w(), f("a", {
|
|
121
121
|
key: 1,
|
|
122
122
|
href: e.href,
|
|
123
123
|
target: "_blank",
|
|
@@ -125,12 +125,12 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
125
125
|
}, [p("img", {
|
|
126
126
|
src: e.src,
|
|
127
127
|
alt: e.alt
|
|
128
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, we)], 8, Ce)) : (w(), f("img", {
|
|
129
129
|
key: 2,
|
|
130
130
|
src: e.src,
|
|
131
131
|
alt: e.alt
|
|
132
|
-
}, null, 8,
|
|
133
|
-
e.links.length ? (w(), f("ul",
|
|
132
|
+
}, null, 8, Te))]))), 128))])) : d("", !0),
|
|
133
|
+
e.links.length ? (w(), f("ul", Ee, [(w(!0), f(c, null, D(e.links, (e) => (w(), f("li", { key: e.label }, [g(n, {
|
|
134
134
|
to: e.to,
|
|
135
135
|
href: e.href,
|
|
136
136
|
external: !!e.external
|
|
@@ -144,16 +144,16 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
144
144
|
])]))), 128))])) : d("", !0)
|
|
145
145
|
], 4))), 128))]));
|
|
146
146
|
}
|
|
147
|
-
},
|
|
147
|
+
}, Oe = {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: "mwnf-standalone mwnf-standalone--bare"
|
|
150
|
-
},
|
|
150
|
+
}, ke = { class: "mwnf-banner mwnf-standalone-home-banner" }, Ae = ["src"], je = { class: "mwnf-standalone-home-banner__text" }, Me = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "mwnf-standalone-home-banner__title"
|
|
153
|
-
},
|
|
153
|
+
}, Ne = {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: "mwnf-standalone-home-banner__line"
|
|
156
|
-
},
|
|
156
|
+
}, Pe = ["src"], Fe = {
|
|
157
157
|
__name: "Shell",
|
|
158
158
|
props: {
|
|
159
159
|
language: {
|
|
@@ -167,7 +167,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
167
167
|
},
|
|
168
168
|
emits: ["update:language"],
|
|
169
169
|
setup(t, { emit: n }) {
|
|
170
|
-
let r = t, i = n, { t: a, locale: o } =
|
|
170
|
+
let r = t, i = n, { t: a, locale: o } = q(), c = se(), h = l(() => !!c.meta?.bare), _ = J(), v = oe(), y = l(() => _.standalone ?? {}), x = l(() => _.navigation ?? {}), S = l(() => v.value === "home"), C = l(() => y.value.areas?.[v.value] ?? null), T = (t) => e(_.chrome, ue(t, o.value)), E = l(() => {
|
|
171
171
|
let e = y.value.logo ?? {}, t = T(C.value?.logo ?? e.src);
|
|
172
172
|
return t ? {
|
|
173
173
|
logo: t,
|
|
@@ -180,7 +180,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
180
180
|
};
|
|
181
181
|
return T(S.value ? e.home : e.inner) ?? "";
|
|
182
182
|
}), N = l(() => {
|
|
183
|
-
let e = x.value.sectionTitles?.[v.value];
|
|
183
|
+
let e = c.meta?.bannerTitle ?? x.value.sectionTitles?.[v.value];
|
|
184
184
|
return e ? a(e) : "";
|
|
185
185
|
}), P = l(() => !S.value && !!(M.value || N.value)), F = l(() => {
|
|
186
186
|
let { homeTitle: e, homeText: t } = y.value.banner ?? {};
|
|
@@ -205,7 +205,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
205
205
|
S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
|
|
206
206
|
C.value?.class ?? ""
|
|
207
207
|
]);
|
|
208
|
-
return (e, t) => h.value ? (w(), f("div",
|
|
208
|
+
return (e, t) => h.value ? (w(), f("div", Oe, [O(e.$slots, "default")])) : (w(), u(s, {
|
|
209
209
|
key: 1,
|
|
210
210
|
class: b(V.value),
|
|
211
211
|
config: L.value,
|
|
@@ -226,19 +226,19 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
226
226
|
}, [
|
|
227
227
|
P.value ? {
|
|
228
228
|
name: "banner",
|
|
229
|
-
fn: R(() => [g(
|
|
229
|
+
fn: R(() => [g(le, {
|
|
230
230
|
image: M.value,
|
|
231
231
|
title: N.value
|
|
232
232
|
}, null, 8, ["image", "title"])]),
|
|
233
233
|
key: "0"
|
|
234
234
|
} : F.value ? {
|
|
235
235
|
name: "banner",
|
|
236
|
-
fn: R(() => [p("section",
|
|
236
|
+
fn: R(() => [p("section", ke, [M.value ? (w(), f("img", {
|
|
237
237
|
key: 0,
|
|
238
238
|
class: "mwnf-banner__image",
|
|
239
239
|
src: M.value,
|
|
240
240
|
alt: ""
|
|
241
|
-
}, null, 8,
|
|
241
|
+
}, null, 8, Ae)) : d("", !0), p("div", je, [F.value.title ? (w(), f("h2", Me, [p("i", null, k(F.value.title), 1)])) : d("", !0), F.value.text ? (w(), f("p", Ne, [p("span", null, k(F.value.text), 1)])) : d("", !0)])])]),
|
|
242
242
|
key: "1"
|
|
243
243
|
} : void 0,
|
|
244
244
|
D.value ? {
|
|
@@ -247,7 +247,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
247
247
|
class: "mwnf-standalone__print-logo",
|
|
248
248
|
src: D.value,
|
|
249
249
|
alt: ""
|
|
250
|
-
}, null, 8,
|
|
250
|
+
}, null, 8, Pe)]),
|
|
251
251
|
key: "2"
|
|
252
252
|
} : void 0,
|
|
253
253
|
e.$slots.sponsors ? {
|
|
@@ -256,7 +256,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
256
256
|
key: "3"
|
|
257
257
|
} : I.value ? {
|
|
258
258
|
name: "sponsors",
|
|
259
|
-
fn: R(() => [g(
|
|
259
|
+
fn: R(() => [g(De, { columns: I.value.columns }, null, 8, ["columns"])]),
|
|
260
260
|
key: "4"
|
|
261
261
|
} : void 0,
|
|
262
262
|
e.$slots.footer ? {
|
|
@@ -276,19 +276,19 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
276
276
|
"footer-text"
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
},
|
|
279
|
+
}, Ie = {
|
|
280
280
|
key: 0,
|
|
281
281
|
class: "mwnf-standalone-highlight"
|
|
282
|
-
},
|
|
282
|
+
}, Le = ["src", "alt"], Re = {
|
|
283
283
|
key: 1,
|
|
284
284
|
class: "mwnf-standalone-highlight__heading"
|
|
285
|
-
},
|
|
285
|
+
}, ze = { class: "mwnf-standalone-highlight__lines" }, Be = ["innerHTML"], Ve = {
|
|
286
286
|
key: 2,
|
|
287
287
|
class: "mwnf-standalone-highlight__place"
|
|
288
|
-
},
|
|
288
|
+
}, He = {
|
|
289
289
|
key: 3,
|
|
290
290
|
class: "mwnf-standalone-highlight__action"
|
|
291
|
-
},
|
|
291
|
+
}, Ue = {
|
|
292
292
|
__name: "TodayHighlight",
|
|
293
293
|
props: {
|
|
294
294
|
record: {
|
|
@@ -329,7 +329,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
329
329
|
}
|
|
330
330
|
},
|
|
331
331
|
setup(e) {
|
|
332
|
-
let t = e, { t: r } =
|
|
332
|
+
let t = e, { t: r } = q(), i = (e) => ie(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
|
|
333
333
|
let e = t.text ?? {}, n = [], a = i(e.name ?? t.record?.internal_name ?? "");
|
|
334
334
|
a && n.push(G(a));
|
|
335
335
|
let o = i(e.alternate_name);
|
|
@@ -342,7 +342,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
342
342
|
}
|
|
343
343
|
return n;
|
|
344
344
|
}), o = l(() => t.place ?? [i(t.text?.location), t.country].filter(Boolean).join(", ")), s = l(() => t.picture || (t.record?.images?.[0]?.url ?? "")), m = l(() => K(String(t.text?.name ?? t.record?.internal_name ?? "")));
|
|
345
|
-
return (t, i) => e.record ? (w(), f("div",
|
|
345
|
+
return (t, i) => e.record ? (w(), f("div", Ie, [
|
|
346
346
|
s.value ? (w(), u(n, {
|
|
347
347
|
key: 0,
|
|
348
348
|
class: "mwnf-standalone-highlight__media",
|
|
@@ -352,28 +352,28 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
352
352
|
class: "mwnf-standalone-highlight__image",
|
|
353
353
|
src: s.value,
|
|
354
354
|
alt: m.value
|
|
355
|
-
}, null, 8,
|
|
355
|
+
}, null, 8, Le)]),
|
|
356
356
|
_: 1
|
|
357
357
|
}, 8, ["to"])) : d("", !0),
|
|
358
|
-
e.heading ? (w(), f("p",
|
|
359
|
-
p("p",
|
|
360
|
-
o.value ? (w(), f("p",
|
|
361
|
-
e.action ? (w(), f("p",
|
|
358
|
+
e.heading ? (w(), f("p", Re, [p("strong", null, k(A(r)(e.heading)), 1)])) : d("", !0),
|
|
359
|
+
p("p", ze, [(w(!0), f(c, null, D(a.value, (e, t) => (w(), f(c, { key: t }, [p("span", { innerHTML: e }, null, 8, Be), i[0] ||= p("br", null, null, -1)], 64))), 128))]),
|
|
360
|
+
o.value ? (w(), f("p", Ve, k(A(K)(o.value)), 1)) : d("", !0),
|
|
361
|
+
e.action ? (w(), f("p", He, [g(n, { to: e.to }, {
|
|
362
362
|
default: R(() => [h(k(A(r)(e.action)), 1)]),
|
|
363
363
|
_: 1
|
|
364
364
|
}, 8, ["to"])])) : d("", !0)
|
|
365
365
|
])) : d("", !0);
|
|
366
366
|
}
|
|
367
|
-
},
|
|
367
|
+
}, We = {
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "mwnf-standalone-tiles"
|
|
370
|
-
},
|
|
370
|
+
}, Ge = {
|
|
371
371
|
key: 0,
|
|
372
372
|
class: "mwnf-standalone-tiles__caption"
|
|
373
|
-
},
|
|
373
|
+
}, Ke = { class: "mwnf-standalone-tiles__caption-text" }, qe = { class: "mwnf-standalone-tiles__grid" }, Je = ["src", "alt"], Ye = {
|
|
374
374
|
key: 0,
|
|
375
375
|
class: "mwnf-standalone-tiles__label"
|
|
376
|
-
},
|
|
376
|
+
}, Xe = {
|
|
377
377
|
__name: "TileGrid",
|
|
378
378
|
props: {
|
|
379
379
|
caption: {
|
|
@@ -386,12 +386,12 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
386
386
|
}
|
|
387
387
|
},
|
|
388
388
|
setup(e) {
|
|
389
|
-
let t = e, { t: r } =
|
|
389
|
+
let t = e, { t: r } = q(), i = Y(), a = l(() => t.items.map((e) => ({
|
|
390
390
|
...e,
|
|
391
391
|
image: i(e.image) ?? "",
|
|
392
392
|
label: e.text ? K(e.text) : e.label ? r(e.label) : ""
|
|
393
393
|
})));
|
|
394
|
-
return (t, i) => a.value.length ? (w(), f("section",
|
|
394
|
+
return (t, i) => a.value.length ? (w(), f("section", We, [e.caption ? (w(), f("p", Ge, [p("span", Ke, k(A(r)(e.caption)), 1)])) : d("", !0), p("ul", qe, [(w(!0), f(c, null, D(a.value, (e) => (w(), f("li", {
|
|
395
395
|
key: e.image,
|
|
396
396
|
class: "mwnf-standalone-tiles__tile"
|
|
397
397
|
}, [g(n, {
|
|
@@ -403,33 +403,33 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
403
403
|
class: "mwnf-standalone-tiles__image",
|
|
404
404
|
src: e.image,
|
|
405
405
|
alt: e.label
|
|
406
|
-
}, null, 8,
|
|
406
|
+
}, null, 8, Je), e.label ? (w(), f("span", Ye, k(e.label), 1)) : d("", !0)]),
|
|
407
407
|
_: 2
|
|
408
408
|
}, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
|
|
409
409
|
}
|
|
410
|
-
},
|
|
410
|
+
}, Ze = { class: "mwnf-standalone-home" }, Qe = {
|
|
411
411
|
key: 0,
|
|
412
412
|
class: "mwnf-standalone-home__links"
|
|
413
|
-
},
|
|
413
|
+
}, $e = { key: 1 }, et = {
|
|
414
414
|
__name: "Home",
|
|
415
415
|
props: { home: {
|
|
416
416
|
type: Object,
|
|
417
417
|
default: null
|
|
418
418
|
} },
|
|
419
419
|
setup(e) {
|
|
420
|
-
let t = e, { t: r, locale: i } =
|
|
420
|
+
let t = e, { t: r, locale: i } = q(), a = J(), o = l(() => t.home ?? a.standalone?.home ?? {}), s = l(() => (o.value.links ?? []).map((e) => ({
|
|
421
421
|
...e,
|
|
422
422
|
label: r(e.label),
|
|
423
423
|
prefix: e.prefix ? r(e.prefix) : "",
|
|
424
424
|
title: e.title ? r(e.title) : void 0
|
|
425
|
-
}))), p = l(() => o.value.highlight ?? null), m =
|
|
425
|
+
}))), p = l(() => o.value.highlight ?? null), m = ae();
|
|
426
426
|
p.value?.list?.length && (te(["items", "countries"]), L(i, (e) => {
|
|
427
427
|
m.loadTranslations("items", e), m.loadTranslations("countries", e);
|
|
428
428
|
}, { immediate: !0 }));
|
|
429
429
|
let _ = V("items", "backward_compatibility"), v = l(() => {
|
|
430
|
-
let e = p.value?.list ?? [], t = e.indexOf(
|
|
430
|
+
let e = p.value?.list ?? [], t = e.indexOf(X(e));
|
|
431
431
|
for (let n = 0; t >= 0 && n < e.length; n++) {
|
|
432
|
-
let r = _.value.get(
|
|
432
|
+
let r = _.value.get(fe(e[(t + n) % e.length]));
|
|
433
433
|
if (r) return r;
|
|
434
434
|
}
|
|
435
435
|
return null;
|
|
@@ -439,15 +439,15 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
439
439
|
}), S = l(() => v.value && p.value?.place ? p.value.place(v.value, y.value, x.value) : null), C = l(() => v.value ? {
|
|
440
440
|
name: p.value.route ?? "item",
|
|
441
441
|
params: { id: v.value.id }
|
|
442
|
-
} : null), T =
|
|
442
|
+
} : null), T = Y(), E = l(() => {
|
|
443
443
|
let e = p.value?.pictures ?? [];
|
|
444
|
-
return e.length ? T(
|
|
444
|
+
return e.length ? T(X(e)) ?? "" : "";
|
|
445
445
|
}), A = l(() => {
|
|
446
446
|
let e = o.value.tiles?.items;
|
|
447
447
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
448
448
|
});
|
|
449
|
-
return (e, t) => (w(), f("div",
|
|
450
|
-
s.value.length ? (w(), f("ul",
|
|
449
|
+
return (e, t) => (w(), f("div", Ze, [
|
|
450
|
+
s.value.length ? (w(), f("ul", Qe, [(w(!0), f(c, null, D(s.value, (e) => (w(), f("li", {
|
|
451
451
|
key: e.label,
|
|
452
452
|
class: b({ "mwnf-standalone-home__link--gap": e.gap })
|
|
453
453
|
}, [g(n, {
|
|
@@ -456,7 +456,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
456
456
|
external: !!e.external,
|
|
457
457
|
title: e.title
|
|
458
458
|
}, {
|
|
459
|
-
default: R(() => [e.prefix ? (w(), f(c, { key: 0 }, [h(k(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (w(), f("i",
|
|
459
|
+
default: R(() => [e.prefix ? (w(), f(c, { key: 0 }, [h(k(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (w(), f("i", $e, k(e.label), 1)) : (w(), f(c, { key: 2 }, [h(k(e.label), 1)], 64))]),
|
|
460
460
|
_: 2
|
|
461
461
|
}, 1032, [
|
|
462
462
|
"to",
|
|
@@ -464,7 +464,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
464
464
|
"external",
|
|
465
465
|
"title"
|
|
466
466
|
])], 2))), 128))])) : d("", !0),
|
|
467
|
-
p.value ? (w(), u(
|
|
467
|
+
p.value ? (w(), u(Ue, {
|
|
468
468
|
key: 1,
|
|
469
469
|
record: v.value,
|
|
470
470
|
text: y.value,
|
|
@@ -486,7 +486,7 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
486
486
|
"also-known-as",
|
|
487
487
|
"action"
|
|
488
488
|
])) : d("", !0),
|
|
489
|
-
o.value.tiles ? (w(), u(
|
|
489
|
+
o.value.tiles ? (w(), u(Xe, {
|
|
490
490
|
key: 2,
|
|
491
491
|
caption: o.value.tiles.caption ?? "",
|
|
492
492
|
items: A.value
|
|
@@ -494,8 +494,8 @@ var fe = { class: "mwnf-standalone-sponsors" }, pe = {
|
|
|
494
494
|
O(e.$slots, "default")
|
|
495
495
|
]));
|
|
496
496
|
}
|
|
497
|
-
},
|
|
498
|
-
function
|
|
497
|
+
}, tt = "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; }", nt = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", rt = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", it = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
|
|
498
|
+
function Z(e) {
|
|
499
499
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
500
500
|
"&": "&",
|
|
501
501
|
"<": "<",
|
|
@@ -503,7 +503,7 @@ function Q(e) {
|
|
|
503
503
|
"\"": """
|
|
504
504
|
})[e]);
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var at = /* @__PURE__ */ new Set([
|
|
507
507
|
"I",
|
|
508
508
|
"EM",
|
|
509
509
|
"B",
|
|
@@ -511,7 +511,7 @@ var it = /* @__PURE__ */ new Set([
|
|
|
511
511
|
"U",
|
|
512
512
|
"SUP",
|
|
513
513
|
"SUB"
|
|
514
|
-
]),
|
|
514
|
+
]), ot = /* @__PURE__ */ new Set([
|
|
515
515
|
"P",
|
|
516
516
|
"DIV",
|
|
517
517
|
"LI",
|
|
@@ -519,20 +519,20 @@ var it = /* @__PURE__ */ new Set([
|
|
|
519
519
|
"OL",
|
|
520
520
|
"SECTION"
|
|
521
521
|
]);
|
|
522
|
-
function
|
|
522
|
+
function Q(e) {
|
|
523
523
|
let t = [[]], n = () => t[t.length - 1], r = () => {
|
|
524
524
|
n().length && t.push([]);
|
|
525
525
|
}, i = (e) => {
|
|
526
526
|
if (e.nodeType === Node.TEXT_NODE) {
|
|
527
|
-
n().push(
|
|
527
|
+
n().push(Z(e.textContent));
|
|
528
528
|
return;
|
|
529
529
|
}
|
|
530
|
-
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(
|
|
530
|
+
if (e.nodeType !== Node.ELEMENT_NODE || e.matches(it)) return;
|
|
531
531
|
if (e.tagName === "BR") {
|
|
532
532
|
n().push("<br/>");
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
|
-
let t =
|
|
535
|
+
let t = ot.has(e.tagName), a = at.has(e.tagName) ? e.tagName.toLowerCase() : "";
|
|
536
536
|
t && r(), a && n().push(`<${a}>`);
|
|
537
537
|
for (let t of e.childNodes) i(t);
|
|
538
538
|
a && n().push(`</${a}>`), t && r();
|
|
@@ -540,28 +540,28 @@ function $(e) {
|
|
|
540
540
|
for (let t of e.childNodes) i(t);
|
|
541
541
|
return t.map((e) => e.join("").replace(/\s+/g, " ").trim()).filter(Boolean).join("<br/>\n<br/>");
|
|
542
542
|
}
|
|
543
|
-
function
|
|
543
|
+
function st(e, { title: t = "", dir: n = "" } = {}) {
|
|
544
544
|
let r = (t) => {
|
|
545
545
|
for (let n = t; n && n !== e.parentElement; n = n.parentElement) if (n.hidden || getComputedStyle(n).display === "none") return !1;
|
|
546
546
|
return !0;
|
|
547
547
|
}, i = [];
|
|
548
|
-
for (let t of e.querySelectorAll(`${
|
|
548
|
+
for (let t of e.querySelectorAll(`${nt}, ${rt}`)) {
|
|
549
549
|
if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
|
|
550
550
|
if (t.matches(".mwnf-credits__list > dt")) {
|
|
551
551
|
let e = t.nextElementSibling;
|
|
552
|
-
i.push(`<p>${
|
|
552
|
+
i.push(`<p>${Z(t.textContent.trim())} ${e ? Q(e) : ""}</p>`);
|
|
553
553
|
continue;
|
|
554
554
|
}
|
|
555
|
-
let e =
|
|
556
|
-
e && i.push(t.matches(
|
|
555
|
+
let e = Q(t);
|
|
556
|
+
e && i.push(t.matches(nt) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
|
|
557
557
|
}
|
|
558
558
|
let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
|
|
559
559
|
return `<html>
|
|
560
|
-
<title>${
|
|
560
|
+
<title>${Z(t)}</title>
|
|
561
561
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
562
562
|
<head>
|
|
563
563
|
<style>
|
|
564
|
-
${
|
|
564
|
+
${tt}
|
|
565
565
|
</style>
|
|
566
566
|
</head>
|
|
567
567
|
<body>
|
|
@@ -575,24 +575,24 @@ ${i.join("\n")}
|
|
|
575
575
|
</body>
|
|
576
576
|
</html>`;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function ct(e, t) {
|
|
579
579
|
let n = URL.createObjectURL(new Blob(["", e], { type: "application/msword" })), r = document.createElement("a");
|
|
580
580
|
r.href = n, r.download = t, document.body.appendChild(r), r.click(), r.remove(), setTimeout(() => URL.revokeObjectURL(n), 0);
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function lt({ title: e = "", heading: t = "", heads: n = {}, rows: r = [], empty: i = "", dir: a = "" } = {}) {
|
|
583
583
|
let o = a === "rtl" ? "direction: rtl; text-align: right;" : "text-align: left;", s = (e) => {
|
|
584
584
|
let t = document.createElement("div");
|
|
585
|
-
return t.innerHTML = e ?? "",
|
|
585
|
+
return t.innerHTML = e ?? "", Q(t);
|
|
586
586
|
}, c = r.length ? `<tr><td style="padding:10px;">
|
|
587
587
|
<table border='1' cellspacing='1' cellpadding='1' width="100%">
|
|
588
588
|
<tr>
|
|
589
|
-
<td style="padding:5px;" width="28%"><b>${
|
|
590
|
-
<td style="padding:5px;" width="36%"><b>${
|
|
589
|
+
<td style="padding:5px;" width="28%"><b>${Z(n.date)}</b></td>
|
|
590
|
+
<td style="padding:5px;" width="36%"><b>${Z(n.countryDescription)}</b></td>
|
|
591
591
|
<td width="37%"><b></b></td>
|
|
592
592
|
</tr>
|
|
593
593
|
${r.map((e) => `<tr>
|
|
594
|
-
<td style="padding:5px; vertical-align:top;"> ${
|
|
595
|
-
<td style="padding:5px;">${
|
|
594
|
+
<td style="padding:5px; vertical-align:top;"> ${Z(e.date)}</td>
|
|
595
|
+
<td style="padding:5px;">${Z(e.country)}</td>
|
|
596
596
|
<td> </td>
|
|
597
597
|
</tr>
|
|
598
598
|
<tr>
|
|
@@ -601,20 +601,20 @@ ${r.map((e) => `<tr>
|
|
|
601
601
|
</tr>`).join("\n")}
|
|
602
602
|
</table>
|
|
603
603
|
</td></tr>
|
|
604
|
-
<tr><td> </td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${
|
|
604
|
+
<tr><td> </td></tr>` : `<tr><td style="padding-top:100px;padding-left:350px;">${Z(i)}</td></tr>`;
|
|
605
605
|
return `<html>
|
|
606
|
-
<title>${
|
|
606
|
+
<title>${Z(e)}</title>
|
|
607
607
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
608
608
|
<head>
|
|
609
609
|
<style>
|
|
610
|
-
${
|
|
610
|
+
${tt}
|
|
611
611
|
</style>
|
|
612
612
|
</head>
|
|
613
613
|
<body>
|
|
614
614
|
<div class="content">
|
|
615
615
|
<div class="item_description">
|
|
616
616
|
<table style="${o}" border="0" width="750px">
|
|
617
|
-
<tr><td class="txt" align="left" width="750px"><div style="width: 750px;"> ${
|
|
617
|
+
<tr><td class="txt" align="left" width="750px"><div style="width: 750px;"> ${Z(t).replace(/^([^|]*)/, "<b>$1</b>")}</div></td></tr>
|
|
618
618
|
<tr><td> </td></tr>
|
|
619
619
|
${c}
|
|
620
620
|
</table>
|
|
@@ -625,10 +625,10 @@ ${c}
|
|
|
625
625
|
}
|
|
626
626
|
//#endregion
|
|
627
627
|
//#region src/standalone/RelatedContent.vue
|
|
628
|
-
var
|
|
628
|
+
var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-related__heading" }, ft = { class: "mwnf-standalone-related__group-heading" }, pt = { class: "mwnf-standalone-related__thumbs" }, mt = ["src", "alt"], ht = ["innerHTML"], gt = {
|
|
629
629
|
key: 0,
|
|
630
630
|
class: "mwnf-standalone-related__download"
|
|
631
|
-
},
|
|
631
|
+
}, _t = { class: "mwnf-standalone-related__download-heading" }, vt = {
|
|
632
632
|
__name: "RelatedContent",
|
|
633
633
|
props: {
|
|
634
634
|
heading: {
|
|
@@ -653,7 +653,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
653
653
|
}
|
|
654
654
|
},
|
|
655
655
|
setup(e) {
|
|
656
|
-
let t = e, { t: r } =
|
|
656
|
+
let t = e, { t: r } = q(), i = l(() => t.groups.map((e) => ({
|
|
657
657
|
heading: r(e.heading),
|
|
658
658
|
rows: t.records.filter((t) => !e.type || t.badge === e.type)
|
|
659
659
|
})).filter((e) => e.rows.length));
|
|
@@ -662,17 +662,17 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
662
662
|
}
|
|
663
663
|
function o(e) {
|
|
664
664
|
let n = e.currentTarget.closest(".mwnf-standalone-item");
|
|
665
|
-
n && st(
|
|
665
|
+
n && ct(st(n.querySelector(".mwnf-record__main") ?? n, {
|
|
666
666
|
title: t.download?.title ? r(t.download.title) : "",
|
|
667
667
|
dir: getComputedStyle(n).direction
|
|
668
668
|
}), t.wordFile);
|
|
669
669
|
}
|
|
670
|
-
return (t, s) => (w(), f("aside",
|
|
671
|
-
p("p",
|
|
670
|
+
return (t, s) => (w(), f("aside", ut, [
|
|
671
|
+
p("p", dt, [p("strong", null, k(A(r)(e.heading)), 1)]),
|
|
672
672
|
(w(!0), f(c, null, D(i.value, (e) => (w(), f("div", {
|
|
673
673
|
key: e.heading,
|
|
674
674
|
class: "mwnf-standalone-related__group"
|
|
675
|
-
}, [p("p",
|
|
675
|
+
}, [p("p", ft, k(e.heading), 1), p("ul", pt, [(w(!0), f(c, null, D(e.rows, (e) => (w(), f("li", { key: e.id }, [g(n, {
|
|
676
676
|
to: e.to,
|
|
677
677
|
title: e.imageAlt
|
|
678
678
|
}, {
|
|
@@ -680,15 +680,15 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
680
680
|
key: 0,
|
|
681
681
|
src: e.image,
|
|
682
682
|
alt: e.imageAlt
|
|
683
|
-
}, null, 8,
|
|
683
|
+
}, null, 8, mt)) : (w(), f("span", {
|
|
684
684
|
key: 1,
|
|
685
685
|
innerHTML: e.name
|
|
686
|
-
}, null, 8,
|
|
686
|
+
}, null, 8, ht))]),
|
|
687
687
|
_: 2
|
|
688
688
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
689
689
|
O(t.$slots, "default"),
|
|
690
|
-
e.download ? (w(), f("div",
|
|
691
|
-
p("p",
|
|
690
|
+
e.download ? (w(), f("div", gt, [
|
|
691
|
+
p("p", _t, k(A(r)(e.download.heading)), 1),
|
|
692
692
|
p("button", {
|
|
693
693
|
type: "button",
|
|
694
694
|
class: "mwnf-standalone-related__print",
|
|
@@ -703,10 +703,10 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
703
703
|
])) : d("", !0)
|
|
704
704
|
]));
|
|
705
705
|
}
|
|
706
|
-
},
|
|
706
|
+
}, yt = { class: "mwnf-standalone-item__top" }, bt = { class: "mwnf-standalone-item__left" }, xt = {
|
|
707
707
|
key: 0,
|
|
708
708
|
class: "mwnf-standalone-item__back"
|
|
709
|
-
},
|
|
709
|
+
}, St = {
|
|
710
710
|
__name: "ItemSheet",
|
|
711
711
|
props: {
|
|
712
712
|
spec: {
|
|
@@ -727,7 +727,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
727
727
|
}
|
|
728
728
|
},
|
|
729
729
|
setup(e) {
|
|
730
|
-
let i = e, { t: s } =
|
|
730
|
+
let i = e, { t: s } = q(), v = N(), y = l(() => ({
|
|
731
731
|
...i.spec,
|
|
732
732
|
media: () => []
|
|
733
733
|
}));
|
|
@@ -769,7 +769,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
769
769
|
id: e.id,
|
|
770
770
|
class: "mwnf-standalone-item"
|
|
771
771
|
}, m({
|
|
772
|
-
header: R(({ languages: e, language: n, select: r }) => [p("div",
|
|
772
|
+
header: R(({ languages: e, language: n, select: r }) => [p("div", yt, [g(t, {
|
|
773
773
|
languages: e,
|
|
774
774
|
language: n,
|
|
775
775
|
from: 1,
|
|
@@ -779,7 +779,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
779
779
|
"language",
|
|
780
780
|
"onSelect"
|
|
781
781
|
])])]),
|
|
782
|
-
"before-sheet": R((e) => [p("div",
|
|
782
|
+
"before-sheet": R((e) => [p("div", bt, [C.value.length ? (w(), f("p", xt, [(w(!0), f(c, null, D(C.value, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
|
|
783
783
|
key: 0,
|
|
784
784
|
type: "button",
|
|
785
785
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -796,7 +796,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
796
796
|
images: b(e),
|
|
797
797
|
"thumbs-from": 1
|
|
798
798
|
}, null, 8, ["images"])]), O(i.$slots, "before-sheet", x(_(e)))]),
|
|
799
|
-
related: R((t) => [g(
|
|
799
|
+
related: R((t) => [g(vt, {
|
|
800
800
|
heading: e.related.heading ?? "record.related.title",
|
|
801
801
|
records: t.records,
|
|
802
802
|
groups: e.related.groups ?? [],
|
|
@@ -819,37 +819,37 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
819
819
|
fn: R((t) => [O(i.$slots, e, x(_(t)))])
|
|
820
820
|
}))]), 1032, ["spec", "id"]));
|
|
821
821
|
}
|
|
822
|
-
},
|
|
822
|
+
}, Ct = {
|
|
823
823
|
key: 0,
|
|
824
824
|
class: "mwnf-standalone-item__top"
|
|
825
|
-
},
|
|
825
|
+
}, wt = {
|
|
826
826
|
key: 1,
|
|
827
827
|
hidden: ""
|
|
828
|
-
},
|
|
828
|
+
}, Tt = {
|
|
829
829
|
key: 0,
|
|
830
830
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
831
|
-
},
|
|
831
|
+
}, Et = { class: "mwnf-standalone-partner__heading" }, Dt = ["dir", "innerHTML"], Ot = {
|
|
832
832
|
key: 0,
|
|
833
833
|
class: "mwnf-standalone-partner__location"
|
|
834
|
-
},
|
|
834
|
+
}, kt = { class: "mwnf-standalone-partner__bar" }, At = { class: "mwnf-standalone-partner__bar-start" }, jt = ["aria-label", "onKeydown"], Mt = [
|
|
835
835
|
"id",
|
|
836
836
|
"aria-selected",
|
|
837
837
|
"aria-controls",
|
|
838
838
|
"tabindex",
|
|
839
839
|
"onClick"
|
|
840
|
-
],
|
|
840
|
+
], Nt = {
|
|
841
841
|
key: 0,
|
|
842
842
|
class: "mwnf-standalone-partner__divider",
|
|
843
843
|
"aria-hidden": "true"
|
|
844
|
-
},
|
|
844
|
+
}, Pt = { key: 0 }, Ft = ["href"], It = { class: "mwnf-standalone-partner__bar-end" }, Lt = { class: "mwnf-standalone-partner__body" }, Rt = { class: "mwnf-standalone-partner__pictures" }, zt = { class: "mwnf-standalone-partner__panels" }, Bt = [
|
|
845
845
|
"id",
|
|
846
846
|
"aria-labelledby",
|
|
847
847
|
"dir",
|
|
848
848
|
"innerHTML"
|
|
849
|
-
],
|
|
849
|
+
], Vt = ["id", "aria-labelledby"], Ht = ["innerHTML"], Ut = ["href"], Wt = { key: 0 }, Gt = ["href"], Kt = ["href"], qt = ["id", "aria-labelledby"], Jt = ["src"], Yt = {
|
|
850
850
|
key: 0,
|
|
851
851
|
class: "mwnf-standalone-partner__map"
|
|
852
|
-
},
|
|
852
|
+
}, Xt = { class: "mwnf-standalone-partner__map-heading" }, Zt = {
|
|
853
853
|
__name: "PartnerPage",
|
|
854
854
|
props: {
|
|
855
855
|
id: {
|
|
@@ -894,7 +894,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
894
894
|
}
|
|
895
895
|
},
|
|
896
896
|
setup(e) {
|
|
897
|
-
let a = e, { t: s, locale: m } =
|
|
897
|
+
let a = e, { t: s, locale: m } = q(), _ = j(), v = {
|
|
898
898
|
entity: "partners",
|
|
899
899
|
fields: [],
|
|
900
900
|
shortDescription: !1,
|
|
@@ -946,7 +946,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
946
946
|
id: e.id,
|
|
947
947
|
class: "mwnf-standalone-partner"
|
|
948
948
|
}, {
|
|
949
|
-
header: R(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (w(), f("div",
|
|
949
|
+
header: R(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (w(), f("div", Ct, [g(t, {
|
|
950
950
|
languages: r.filter((e) => a.languages(n, e.code)),
|
|
951
951
|
language: i,
|
|
952
952
|
from: 1,
|
|
@@ -955,9 +955,9 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
955
955
|
"languages",
|
|
956
956
|
"language",
|
|
957
957
|
"onSelect"
|
|
958
|
-
])])) : (w(), f("div",
|
|
958
|
+
])])) : (w(), f("div", wt))]),
|
|
959
959
|
"before-sheet": R(({ record: t, text: i, dir: o }) => [(w(!0), f(c, null, D([a.view(t, i)], (a) => (w(), f(c, { key: t.id }, [
|
|
960
|
-
C(t).length ? (w(), f("p",
|
|
960
|
+
C(t).length ? (w(), f("p", Tt, [(w(!0), f(c, null, D(C(t), (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
|
|
961
961
|
key: 0,
|
|
962
962
|
type: "button",
|
|
963
963
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -971,12 +971,12 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
971
971
|
default: R(() => [h(k(e.label), 1)]),
|
|
972
972
|
_: 2
|
|
973
973
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
|
|
974
|
-
p("div",
|
|
974
|
+
p("div", Et, [p("h3", {
|
|
975
975
|
class: "mwnf-standalone-partner__name",
|
|
976
976
|
dir: o || void 0,
|
|
977
977
|
innerHTML: a.name
|
|
978
|
-
}, null, 8,
|
|
979
|
-
p("div",
|
|
978
|
+
}, null, 8, Dt), a.location ? (w(), f("h4", Ot, [p("i", null, k(a.location), 1)])) : d("", !0)]),
|
|
979
|
+
p("div", kt, [p("div", At, [p("ul", {
|
|
980
980
|
role: "tablist",
|
|
981
981
|
class: "mwnf-standalone-partner__tabs",
|
|
982
982
|
"aria-label": a.plainName,
|
|
@@ -993,12 +993,12 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
993
993
|
"aria-controls": `${A(_)}-panel-${e}`,
|
|
994
994
|
tabindex: M.value === e ? 0 : -1,
|
|
995
995
|
onClick: (t) => M.value = e
|
|
996
|
-
}, "\xA0" + k(S(e)), 11,
|
|
996
|
+
}, "\xA0" + k(S(e)), 11, Mt), n < O(a, t, i).length - 1 || a.contact.website ? (w(), f("span", Nt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (w(), f("li", Pt, [p("a", {
|
|
997
997
|
class: "mwnf-standalone-partner__homepage",
|
|
998
998
|
href: a.contact.website.url,
|
|
999
999
|
target: "_blank",
|
|
1000
1000
|
rel: "noopener"
|
|
1001
|
-
}, "\xA0" + k(S("homepage")), 9,
|
|
1001
|
+
}, "\xA0" + k(S("homepage")), 9, Ft)])) : d("", !0)], 40, jt)]), p("div", It, [e.items(t) ? (w(), u(n, {
|
|
1002
1002
|
key: 0,
|
|
1003
1003
|
class: "mwnf-standalone-partner__items",
|
|
1004
1004
|
to: e.items(t).to
|
|
@@ -1006,10 +1006,10 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1006
1006
|
default: R(() => [h(k(A(s)(e.items(t).label)), 1)]),
|
|
1007
1007
|
_: 2
|
|
1008
1008
|
}, 1032, ["to"])) : d("", !0)])]),
|
|
1009
|
-
p("div",
|
|
1009
|
+
p("div", Lt, [p("div", Rt, [a.pictures.length ? (w(), u(r, {
|
|
1010
1010
|
key: 0,
|
|
1011
1011
|
images: P(a)
|
|
1012
|
-
}, null, 8, ["images"])) : d("", !0)]), p("div",
|
|
1012
|
+
}, null, 8, ["images"])) : d("", !0)]), p("div", zt, [
|
|
1013
1013
|
z(p("div", {
|
|
1014
1014
|
id: `${A(_)}-panel-about`,
|
|
1015
1015
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
@@ -1017,7 +1017,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1017
1017
|
"aria-labelledby": `${A(_)}-tab-about`,
|
|
1018
1018
|
dir: o || void 0,
|
|
1019
1019
|
innerHTML: a.description
|
|
1020
|
-
}, null, 8,
|
|
1020
|
+
}, null, 8, Bt), [[I, M.value === "about"]]),
|
|
1021
1021
|
a.hasContact ? z((w(), f("div", {
|
|
1022
1022
|
key: 0,
|
|
1023
1023
|
id: `${A(_)}-panel-contact`,
|
|
@@ -1030,21 +1030,21 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1030
1030
|
a.contact.address ? (w(), f(c, { key: 0 }, [p("span", {
|
|
1031
1031
|
class: "mwnf-standalone-partner__address",
|
|
1032
1032
|
innerHTML: a.contact.address
|
|
1033
|
-
}, null, 8,
|
|
1033
|
+
}, null, 8, Ht), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1034
1034
|
a.contact.phone ? (w(), f(c, { key: 1 }, [h(k(S("phone")) + " " + k(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1035
1035
|
a.contact.fax ? (w(), f(c, { key: 2 }, [h(k(S("fax")) + " " + k(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1036
|
-
a.contact.email ? (w(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, k(a.contact.email), 9,
|
|
1037
|
-
]), F(a).length ? (w(), f("p",
|
|
1036
|
+
a.contact.email ? (w(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, k(a.contact.email), 9, Ut), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1037
|
+
]), F(a).length ? (w(), f("p", Wt, [(w(!0), f(c, null, D(F(a), (e, t) => (w(), f(c, { key: e.url }, [t ? (w(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
|
|
1038
1038
|
href: e.url,
|
|
1039
1039
|
target: "_blank",
|
|
1040
1040
|
rel: "noopener"
|
|
1041
|
-
}, k(e.label), 9,
|
|
1041
|
+
}, k(e.label), 9, Gt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (w(!0), f(c, null, D(a.persons, (e, t) => (w(), f("p", { key: t }, [
|
|
1042
1042
|
e.title ? (w(), f(c, { key: 0 }, [p("strong", null, k(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1043
1043
|
e.name ? (w(), f(c, { key: 1 }, [h(k(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1044
1044
|
e.phone ? (w(), f(c, { key: 2 }, [h(k(S("phone")) + " " + k(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1045
1045
|
e.fax ? (w(), f(c, { key: 3 }, [h(k(S("fax")) + " " + k(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1046
|
-
e.email ? (w(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, k(e.email), 9,
|
|
1047
|
-
]))), 128))], 8,
|
|
1046
|
+
e.email ? (w(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, k(e.email), 9, Kt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1047
|
+
]))), 128))], 8, Vt)), [[I, M.value === "contact"]]) : d("", !0),
|
|
1048
1048
|
a.logos.length ? z((w(), f("div", {
|
|
1049
1049
|
key: 1,
|
|
1050
1050
|
id: `${A(_)}-panel-logo`,
|
|
@@ -1055,10 +1055,10 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1055
1055
|
key: e.url,
|
|
1056
1056
|
src: e.url,
|
|
1057
1057
|
alt: ""
|
|
1058
|
-
}, null, 8,
|
|
1058
|
+
}, null, 8, Jt))), 128))], 8, qt)), [[I, M.value === "logo"]]) : d("", !0)
|
|
1059
1059
|
])])
|
|
1060
1060
|
], 64))), 128))]),
|
|
1061
|
-
after: R(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (w(), f("section",
|
|
1061
|
+
after: R(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (w(), f("section", Yt, [p("h3", Xt, k(S("map")), 1), g(i, {
|
|
1062
1062
|
provider: "google",
|
|
1063
1063
|
latitude: a.view(t, n).map.latitude,
|
|
1064
1064
|
longitude: a.view(t, n).map.longitude,
|
|
@@ -1075,13 +1075,13 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1075
1075
|
_: 1
|
|
1076
1076
|
}, 8, ["id"]));
|
|
1077
1077
|
}
|
|
1078
|
-
},
|
|
1078
|
+
}, Qt = ["innerHTML"], $t = {
|
|
1079
1079
|
key: 0,
|
|
1080
1080
|
class: "mwnf-standalone-page__link"
|
|
1081
|
-
},
|
|
1081
|
+
}, en = {
|
|
1082
1082
|
key: 1,
|
|
1083
1083
|
class: "mwnf-standalone-page__print"
|
|
1084
|
-
},
|
|
1084
|
+
}, tn = {
|
|
1085
1085
|
__name: "TextPage",
|
|
1086
1086
|
props: {
|
|
1087
1087
|
body: {
|
|
@@ -1102,7 +1102,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1102
1102
|
}
|
|
1103
1103
|
},
|
|
1104
1104
|
setup(e) {
|
|
1105
|
-
let t = e, { t: r } =
|
|
1105
|
+
let t = e, { t: r } = q(), i = l(() => W(r(t.body)));
|
|
1106
1106
|
function a() {
|
|
1107
1107
|
window.print();
|
|
1108
1108
|
}
|
|
@@ -1110,25 +1110,25 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1110
1110
|
p("div", {
|
|
1111
1111
|
class: "mwnf-standalone-page__body",
|
|
1112
1112
|
innerHTML: i.value
|
|
1113
|
-
}, null, 8,
|
|
1114
|
-
e.link ? (w(), f("p",
|
|
1113
|
+
}, null, 8, Qt),
|
|
1114
|
+
e.link ? (w(), f("p", $t, [g(n, {
|
|
1115
1115
|
to: e.link.to,
|
|
1116
1116
|
href: e.link.href
|
|
1117
1117
|
}, {
|
|
1118
1118
|
default: R(() => [p("strong", null, k(e.link.text ?? A(r)(e.link.label)), 1)]),
|
|
1119
1119
|
_: 1
|
|
1120
1120
|
}, 8, ["to", "href"])])) : d("", !0),
|
|
1121
|
-
e.print ? (w(), f("p",
|
|
1121
|
+
e.print ? (w(), f("p", en, [p("button", {
|
|
1122
1122
|
type: "button",
|
|
1123
1123
|
class: "mwnf-standalone-page__print-button",
|
|
1124
1124
|
onClick: a
|
|
1125
1125
|
}, k(A(r)(e.print)), 1)])) : d("", !0)
|
|
1126
1126
|
], 2));
|
|
1127
1127
|
}
|
|
1128
|
-
},
|
|
1128
|
+
}, nn = {
|
|
1129
1129
|
key: 0,
|
|
1130
1130
|
class: "mwnf-standalone-subnav"
|
|
1131
|
-
},
|
|
1131
|
+
}, rn = { class: "mwnf-standalone-subnav__tabs" }, an = {
|
|
1132
1132
|
__name: "SubNav",
|
|
1133
1133
|
props: {
|
|
1134
1134
|
tabs: {
|
|
@@ -1141,11 +1141,11 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
1143
|
setup(e) {
|
|
1144
|
-
let t = e, { t: r } =
|
|
1144
|
+
let t = e, { t: r } = q(), i = l(() => t.tabs.map((e) => ({
|
|
1145
1145
|
...e,
|
|
1146
1146
|
label: r(e.label)
|
|
1147
1147
|
})));
|
|
1148
|
-
return (t, a) => i.value.length || e.aside ? (w(), f("nav",
|
|
1148
|
+
return (t, a) => i.value.length || e.aside ? (w(), f("nav", nn, [p("ul", rn, [(w(!0), f(c, null, D(i.value, (e) => (w(), f("li", { key: e.label }, [g(n, {
|
|
1149
1149
|
to: e.to,
|
|
1150
1150
|
href: e.href,
|
|
1151
1151
|
class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
@@ -1168,13 +1168,13 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1168
1168
|
_: 1
|
|
1169
1169
|
}, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
|
|
1170
1170
|
}
|
|
1171
|
-
},
|
|
1171
|
+
}, on = { class: "mwnf-standalone-results" }, sn = {
|
|
1172
1172
|
key: 0,
|
|
1173
1173
|
class: "mwnf-standalone-results__empty"
|
|
1174
|
-
},
|
|
1174
|
+
}, cn = { class: "mwnf-standalone-results__tile" }, ln = ["src"], un = { class: "mwnf-standalone-results__panel" }, dn = ["src"], fn = { class: "mwnf-standalone-results__name" }, pn = ["innerHTML"], mn = ["innerHTML"], hn = {
|
|
1175
1175
|
key: 0,
|
|
1176
1176
|
class: "mwnf-standalone-results__holder"
|
|
1177
|
-
},
|
|
1177
|
+
}, gn = ["innerHTML"], _n = ["innerHTML"], vn = {
|
|
1178
1178
|
__name: "ResultsGrid",
|
|
1179
1179
|
props: {
|
|
1180
1180
|
rows: {
|
|
@@ -1195,10 +1195,10 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1195
1195
|
}
|
|
1196
1196
|
},
|
|
1197
1197
|
setup(e) {
|
|
1198
|
-
return (t, r) => (w(), f("div",
|
|
1198
|
+
return (t, r) => (w(), f("div", on, [e.rows.length ? d("", !0) : (w(), f("p", sn, k(e.empty), 1)), (w(!0), f(c, null, D(e.rows, (t) => (w(), f("div", {
|
|
1199
1199
|
key: t.id,
|
|
1200
1200
|
class: "mwnf-standalone-results__cell"
|
|
1201
|
-
}, [p("div",
|
|
1201
|
+
}, [p("div", cn, [g(n, {
|
|
1202
1202
|
class: "mwnf-standalone-results__frame",
|
|
1203
1203
|
to: t.to,
|
|
1204
1204
|
href: t.href
|
|
@@ -1206,9 +1206,9 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1206
1206
|
default: R(() => [p("img", {
|
|
1207
1207
|
src: t.image || e.noImage,
|
|
1208
1208
|
alt: ""
|
|
1209
|
-
}, null, 8,
|
|
1209
|
+
}, null, 8, ln)]),
|
|
1210
1210
|
_: 2
|
|
1211
|
-
}, 1032, ["to", "href"]), p("div",
|
|
1211
|
+
}, 1032, ["to", "href"]), p("div", un, [
|
|
1212
1212
|
g(n, {
|
|
1213
1213
|
class: "mwnf-standalone-results__panel-frame",
|
|
1214
1214
|
to: t.to,
|
|
@@ -1217,25 +1217,25 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1217
1217
|
default: R(() => [p("img", {
|
|
1218
1218
|
src: t.image || e.noImage,
|
|
1219
1219
|
alt: ""
|
|
1220
|
-
}, null, 8,
|
|
1220
|
+
}, null, 8, dn)]),
|
|
1221
1221
|
_: 2
|
|
1222
1222
|
}, 1032, ["to", "href"]),
|
|
1223
|
-
p("p",
|
|
1223
|
+
p("p", fn, [p("strong", null, [g(n, {
|
|
1224
1224
|
to: t.to,
|
|
1225
1225
|
href: t.href
|
|
1226
1226
|
}, {
|
|
1227
|
-
default: R(() => [p("span", { innerHTML: t.name }, null, 8,
|
|
1227
|
+
default: R(() => [p("span", { innerHTML: t.name }, null, 8, pn)]),
|
|
1228
1228
|
_: 2
|
|
1229
1229
|
}, 1032, ["to", "href"])])]),
|
|
1230
1230
|
(w(!0), f(c, null, D(t.lines ?? [], (e, t) => (w(), f("p", {
|
|
1231
1231
|
key: t,
|
|
1232
1232
|
innerHTML: e
|
|
1233
|
-
}, null, 8,
|
|
1234
|
-
t.holder ? (w(), f("p",
|
|
1233
|
+
}, null, 8, mn))), 128)),
|
|
1234
|
+
t.holder ? (w(), f("p", hn, [p("strong", { innerHTML: t.holder }, null, 8, gn)])) : d("", !0),
|
|
1235
1235
|
t.location ? (w(), f("p", {
|
|
1236
1236
|
key: 1,
|
|
1237
1237
|
innerHTML: t.location
|
|
1238
|
-
}, null, 8,
|
|
1238
|
+
}, null, 8, _n)) : d("", !0),
|
|
1239
1239
|
p("p", null, [g(n, {
|
|
1240
1240
|
class: "mwnf-standalone-results__see",
|
|
1241
1241
|
to: t.to,
|
|
@@ -1246,13 +1246,13 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1246
1246
|
}, 8, ["to", "href"])])
|
|
1247
1247
|
])])]))), 128))]));
|
|
1248
1248
|
}
|
|
1249
|
-
},
|
|
1249
|
+
}, yn = { class: "mwnf-standalone-list" }, bn = { class: "mwnf-standalone-list__aside" }, xn = {
|
|
1250
1250
|
key: 0,
|
|
1251
1251
|
class: "mwnf-standalone-list__preview"
|
|
1252
|
-
},
|
|
1252
|
+
}, Sn = { class: "mwnf-standalone-list__preview-picture" }, Cn = ["src"], wn = { class: "mwnf-standalone-list__preview-name" }, Tn = ["innerHTML"], En = ["innerHTML"], Dn = { key: 0 }, On = ["innerHTML"], kn = ["innerHTML"], An = { class: "mwnf-standalone-list__records" }, jn = {
|
|
1253
1253
|
key: 0,
|
|
1254
1254
|
class: "mwnf-standalone-list__empty"
|
|
1255
|
-
},
|
|
1255
|
+
}, Mn = { class: "mwnf-standalone-list__frame" }, Nn = ["src"], Pn = { class: "mwnf-standalone-list__content" }, Fn = ["innerHTML"], In = ["innerHTML"], Ln = { key: 0 }, Rn = ["innerHTML"], zn = {
|
|
1256
1256
|
__name: "ResultsList",
|
|
1257
1257
|
props: {
|
|
1258
1258
|
rows: {
|
|
@@ -1270,26 +1270,26 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1270
1270
|
},
|
|
1271
1271
|
setup(e) {
|
|
1272
1272
|
let t = e, r = E(null), i = l(() => r.value ?? t.rows[0] ?? null);
|
|
1273
|
-
return (t, a) => (w(), f("div",
|
|
1274
|
-
p("div",
|
|
1273
|
+
return (t, a) => (w(), f("div", yn, [p("div", bn, [i.value ? (w(), f("div", xn, [
|
|
1274
|
+
p("div", Sn, [i.value.image || e.noImage ? (w(), f("img", {
|
|
1275
1275
|
key: 0,
|
|
1276
1276
|
src: i.value.image || e.noImage,
|
|
1277
1277
|
alt: ""
|
|
1278
|
-
}, null, 8,
|
|
1279
|
-
p("p",
|
|
1278
|
+
}, null, 8, Cn)) : d("", !0)]),
|
|
1279
|
+
p("p", wn, [p("strong", { innerHTML: i.value.name }, null, 8, Tn)]),
|
|
1280
1280
|
(w(!0), f(c, null, D(i.value.preview?.lines ?? [], (e, t) => (w(), f("p", {
|
|
1281
1281
|
key: t,
|
|
1282
1282
|
innerHTML: e
|
|
1283
|
-
}, null, 8,
|
|
1284
|
-
i.value.preview?.holder ? (w(), f("p",
|
|
1283
|
+
}, null, 8, En))), 128)),
|
|
1284
|
+
i.value.preview?.holder ? (w(), f("p", Dn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, On)])) : d("", !0),
|
|
1285
1285
|
i.value.preview?.location ? (w(), f("p", {
|
|
1286
1286
|
key: 1,
|
|
1287
1287
|
innerHTML: i.value.preview.location
|
|
1288
|
-
}, null, 8,
|
|
1289
|
-
])) : d("", !0)]), p("div",
|
|
1288
|
+
}, null, 8, kn)) : d("", !0)
|
|
1289
|
+
])) : d("", !0)]), p("div", An, [e.rows.length ? d("", !0) : (w(), f("p", jn, k(e.empty), 1)), (w(!0), f(c, null, D(e.rows, (t) => (w(), f("div", {
|
|
1290
1290
|
key: t.id,
|
|
1291
1291
|
class: "mwnf-standalone-list__cell"
|
|
1292
|
-
}, [p("div",
|
|
1292
|
+
}, [p("div", Mn, [g(n, {
|
|
1293
1293
|
to: t.to,
|
|
1294
1294
|
href: t.href,
|
|
1295
1295
|
onMouseenter: (e) => r.value = t,
|
|
@@ -1299,13 +1299,13 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1299
1299
|
key: 0,
|
|
1300
1300
|
src: t.image || e.noImage,
|
|
1301
1301
|
alt: ""
|
|
1302
|
-
}, null, 8,
|
|
1302
|
+
}, null, 8, Nn)) : d("", !0)]),
|
|
1303
1303
|
_: 2
|
|
1304
1304
|
}, 1032, [
|
|
1305
1305
|
"to",
|
|
1306
1306
|
"href",
|
|
1307
1307
|
"onMouseenter"
|
|
1308
|
-
])]), p("div",
|
|
1308
|
+
])]), p("div", Pn, [p("p", null, [g(n, {
|
|
1309
1309
|
to: t.to,
|
|
1310
1310
|
href: t.href,
|
|
1311
1311
|
onMouseenter: (e) => r.value = t,
|
|
@@ -1315,27 +1315,27 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1315
1315
|
p("span", {
|
|
1316
1316
|
class: "mwnf-standalone-list__name",
|
|
1317
1317
|
innerHTML: `${t.name},`
|
|
1318
|
-
}, null, 8,
|
|
1318
|
+
}, null, 8, Fn),
|
|
1319
1319
|
a[2] ||= h(),
|
|
1320
|
-
p("span", { innerHTML: t.place }, null, 8,
|
|
1320
|
+
p("span", { innerHTML: t.place }, null, 8, In)
|
|
1321
1321
|
]),
|
|
1322
1322
|
_: 2
|
|
1323
1323
|
}, 1032, [
|
|
1324
1324
|
"to",
|
|
1325
1325
|
"href",
|
|
1326
1326
|
"onMouseenter"
|
|
1327
|
-
])]), t.dates ? (w(), f("div",
|
|
1327
|
+
])]), t.dates ? (w(), f("div", Ln, [p("i", { innerHTML: t.dates }, null, 8, Rn)])) : d("", !0)])]))), 128))])]));
|
|
1328
1328
|
}
|
|
1329
|
-
},
|
|
1329
|
+
}, Bn = { class: "mwnf-standalone-refine__row" }, Vn = {
|
|
1330
1330
|
class: "mwnf-standalone-refine__label",
|
|
1331
1331
|
for: "mwnf-standalone-refine-keyword"
|
|
1332
|
-
},
|
|
1332
|
+
}, Hn = {
|
|
1333
1333
|
class: "mwnf-standalone-refine__label",
|
|
1334
1334
|
for: "mwnf-standalone-refine-field"
|
|
1335
|
-
},
|
|
1335
|
+
}, Un = ["value"], Wn = {
|
|
1336
1336
|
type: "submit",
|
|
1337
1337
|
class: "mwnf-standalone-refine__button"
|
|
1338
|
-
},
|
|
1338
|
+
}, Gn = {
|
|
1339
1339
|
__name: "Refine",
|
|
1340
1340
|
props: {
|
|
1341
1341
|
label: {
|
|
@@ -1376,23 +1376,23 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1376
1376
|
return (t, r) => (w(), f("form", {
|
|
1377
1377
|
class: "mwnf-standalone-refine",
|
|
1378
1378
|
onSubmit: B(s, ["prevent"])
|
|
1379
|
-
}, [p("div",
|
|
1380
|
-
p("label",
|
|
1379
|
+
}, [p("div", Bn, [
|
|
1380
|
+
p("label", Vn, k(e.label), 1),
|
|
1381
1381
|
z(p("input", {
|
|
1382
1382
|
id: "mwnf-standalone-refine-keyword",
|
|
1383
1383
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
1384
1384
|
type: "text",
|
|
1385
1385
|
size: "40"
|
|
1386
1386
|
}, null, 512), [[F, a.value]]),
|
|
1387
|
-
p("label",
|
|
1387
|
+
p("label", Hn, k(e.inLabel), 1),
|
|
1388
1388
|
z(p("select", {
|
|
1389
1389
|
id: "mwnf-standalone-refine-field",
|
|
1390
1390
|
"onUpdate:modelValue": r[1] ||= (e) => o.value = e
|
|
1391
1391
|
}, [(w(!0), f(c, null, D(e.fields, (e) => (w(), f("option", {
|
|
1392
1392
|
key: e.value,
|
|
1393
1393
|
value: e.value
|
|
1394
|
-
}, k(e.label), 9,
|
|
1395
|
-
p("button",
|
|
1394
|
+
}, k(e.label), 9, Un))), 128))], 512), [[P, o.value]]),
|
|
1395
|
+
p("button", Wn, k(e.searchLabel), 1),
|
|
1396
1396
|
g(n, {
|
|
1397
1397
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1398
1398
|
to: e.newSearch
|
|
@@ -1402,10 +1402,10 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1402
1402
|
}, 8, ["to"])
|
|
1403
1403
|
])], 32));
|
|
1404
1404
|
}
|
|
1405
|
-
},
|
|
1405
|
+
}, Kn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, qn = { class: "mwnf-standalone-pl__heads" }, Jn = { class: "mwnf-standalone-pl__head" }, Yn = { key: 0 }, Xn = ["onClick"], Zn = { class: "mwnf-standalone-pl__row" }, Qn = { class: "mwnf-standalone-pl__main" }, $n = { class: "mwnf-standalone-pl__associated" }, er = {
|
|
1406
1406
|
key: 0,
|
|
1407
1407
|
class: "mwnf-standalone-pl__none"
|
|
1408
|
-
},
|
|
1408
|
+
}, tr = {
|
|
1409
1409
|
__name: "PartnerList",
|
|
1410
1410
|
props: {
|
|
1411
1411
|
type: {
|
|
@@ -1443,7 +1443,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1443
1443
|
i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1444
1444
|
}
|
|
1445
1445
|
return (t, s) => (w(), f("div", { class: b(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1446
|
-
p("p",
|
|
1446
|
+
p("p", Kn, [(w(!0), f(c, null, D(e.back, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
|
|
1447
1447
|
key: 0,
|
|
1448
1448
|
type: "button",
|
|
1449
1449
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1457,33 +1457,33 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1457
1457
|
default: R(() => [h(k(e.label), 1)]),
|
|
1458
1458
|
_: 2
|
|
1459
1459
|
}, 1032, ["to", "href"]))], 64))), 128)), O(t.$slots, "back")]),
|
|
1460
|
-
p("div",
|
|
1460
|
+
p("div", qn, [(w(!0), f(c, null, D(e.heads, (e) => (w(), f("h3", { key: e }, k(e), 1))), 128))]),
|
|
1461
1461
|
(w(!0), f(c, null, D(e.groups, (t, s) => (w(), f("div", {
|
|
1462
1462
|
key: t.label,
|
|
1463
1463
|
class: "mwnf-standalone-pl__group"
|
|
1464
|
-
}, [p("div",
|
|
1464
|
+
}, [p("div", Jn, [r.value ? (w(), f("h3", Yn, k(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
|
|
1465
1465
|
href: "#",
|
|
1466
1466
|
class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
|
|
1467
1467
|
onClick: B((e) => o(s), ["prevent"])
|
|
1468
|
-
}, k(r.value ? e.seeAssociated : t.label), 11,
|
|
1468
|
+
}, k(r.value ? e.seeAssociated : t.label), 11, Xn)])]), z(p("div", Zn, [p("div", Qn, [(w(!0), f(c, null, D(t.main, (e) => (w(), f("p", { key: e.id }, [g(n, {
|
|
1469
1469
|
to: e.to,
|
|
1470
1470
|
href: e.href
|
|
1471
1471
|
}, {
|
|
1472
1472
|
default: R(() => [h(k(e.label), 1)]),
|
|
1473
1473
|
_: 2
|
|
1474
|
-
}, 1032, ["to", "href"])]))), 128))]), z(p("div",
|
|
1474
|
+
}, 1032, ["to", "href"])]))), 128))]), z(p("div", $n, [(w(!0), f(c, null, D(t.associated, (e) => (w(), f("p", { key: e.id }, [g(n, {
|
|
1475
1475
|
to: e.to,
|
|
1476
1476
|
href: e.href
|
|
1477
1477
|
}, {
|
|
1478
1478
|
default: R(() => [h(k(e.label), 1)]),
|
|
1479
1479
|
_: 2
|
|
1480
|
-
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (w(), f("p",
|
|
1480
|
+
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (w(), f("p", er, k(e.noAssociated), 1)) : d("", !0)], 512), [[I, !r.value || a.value.has(s)]])], 512), [[I, r.value || a.value.has(s)]])]))), 128))
|
|
1481
1481
|
], 2));
|
|
1482
1482
|
}
|
|
1483
|
-
},
|
|
1483
|
+
}, nr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, rr = {
|
|
1484
1484
|
key: 0,
|
|
1485
1485
|
class: "mwnf-standalone-sp__heading"
|
|
1486
|
-
},
|
|
1486
|
+
}, ir = ["innerHTML"], ar = { class: "mwnf-standalone-sp__text" }, or = { key: 0 }, sr = { key: 1 }, cr = { key: 2 }, lr = ["href"], ur = ["innerHTML"], dr = { class: "mwnf-standalone-sp__logo" }, fr = { key: 0 }, pr = ["src", "alt"], mr = {
|
|
1487
1487
|
__name: "SponsorList",
|
|
1488
1488
|
props: {
|
|
1489
1489
|
heading: {
|
|
@@ -1506,7 +1506,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1506
1506
|
remarksHtml: e.remarks ? U(e.remarks) : ""
|
|
1507
1507
|
})));
|
|
1508
1508
|
return (t, a) => (w(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
|
|
1509
|
-
p("p",
|
|
1509
|
+
p("p", nr, [(w(!0), f(c, null, D(e.back, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
|
|
1510
1510
|
key: 0,
|
|
1511
1511
|
type: "button",
|
|
1512
1512
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1520,7 +1520,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1520
1520
|
default: R(() => [h(k(e.label), 1)]),
|
|
1521
1521
|
_: 2
|
|
1522
1522
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1523
|
-
e.heading ? (w(), f("h3",
|
|
1523
|
+
e.heading ? (w(), f("h3", rr, k(e.heading), 1)) : d("", !0),
|
|
1524
1524
|
(w(!0), f(c, null, D(i.value, (e, t) => (w(), f("div", {
|
|
1525
1525
|
key: t,
|
|
1526
1526
|
class: "mwnf-standalone-sp__row"
|
|
@@ -1529,38 +1529,38 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1529
1529
|
key: 0,
|
|
1530
1530
|
class: "mwnf-standalone-sp__label",
|
|
1531
1531
|
innerHTML: e.labelHtml
|
|
1532
|
-
}, null, 8,
|
|
1533
|
-
p("div",
|
|
1534
|
-
e.region ? (w(), f("p",
|
|
1535
|
-
e.name ? (w(), f("p",
|
|
1536
|
-
e.web ? (w(), f("p",
|
|
1532
|
+
}, null, 8, ir)) : d("", !0),
|
|
1533
|
+
p("div", ar, [
|
|
1534
|
+
e.region ? (w(), f("p", or, k(e.region), 1)) : d("", !0),
|
|
1535
|
+
e.name ? (w(), f("p", sr, k(e.name), 1)) : d("", !0),
|
|
1536
|
+
e.web ? (w(), f("p", cr, [p("a", {
|
|
1537
1537
|
href: `http://${e.web}`,
|
|
1538
1538
|
target: "_blank",
|
|
1539
1539
|
rel: "noopener"
|
|
1540
|
-
}, k(e.web), 9,
|
|
1540
|
+
}, k(e.web), 9, lr)])) : d("", !0),
|
|
1541
1541
|
e.remarksHtml ? (w(), f("div", {
|
|
1542
1542
|
key: 3,
|
|
1543
1543
|
class: "mwnf-standalone-sp__remarks",
|
|
1544
1544
|
innerHTML: e.remarksHtml
|
|
1545
|
-
}, null, 8,
|
|
1545
|
+
}, null, 8, ur)) : d("", !0)
|
|
1546
1546
|
]),
|
|
1547
|
-
p("div",
|
|
1547
|
+
p("div", dr, [e.logo ? (w(), f("p", fr, [p("img", {
|
|
1548
1548
|
src: e.logo,
|
|
1549
1549
|
alt: e.name
|
|
1550
|
-
}, null, 8,
|
|
1550
|
+
}, null, 8, pr)])) : d("", !0)])
|
|
1551
1551
|
]))), 128))
|
|
1552
1552
|
], 2));
|
|
1553
1553
|
}
|
|
1554
|
-
},
|
|
1554
|
+
}, hr = { class: "mwnf-standalone-db__criteria" }, gr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, _r = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, vr = {
|
|
1555
1555
|
key: 0,
|
|
1556
1556
|
class: "mwnf-standalone-db__aside"
|
|
1557
|
-
},
|
|
1557
|
+
}, yr = ["onUpdate:modelValue", "aria-label"], br = { value: "AND" }, xr = { value: "OR" }, Sr = ["onUpdate:modelValue", "aria-label"], Cr = ["onUpdate:modelValue"], wr = ["value"], Tr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Er = { class: "mwnf-standalone-db__dates" }, Dr = ["aria-label"], Or = { value: "" }, kr = ["value"], Ar = ["aria-label"], jr = { value: "" }, Mr = ["value"], Nr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, Pr = { class: "mwnf-standalone-db__language" }, Fr = ["aria-label"], Ir = ["value"], Lr = {
|
|
1558
1558
|
key: 1,
|
|
1559
1559
|
class: "mwnf-standalone-db__options"
|
|
1560
|
-
},
|
|
1560
|
+
}, Rr = { class: "mwnf-standalone-db__go" }, zr = { type: "submit" }, Br = {
|
|
1561
1561
|
key: 2,
|
|
1562
1562
|
class: "mwnf-standalone-db__listing"
|
|
1563
|
-
},
|
|
1563
|
+
}, Vr = ["href", "title"], Hr = {
|
|
1564
1564
|
__name: "DatabaseForm",
|
|
1565
1565
|
props: /*@__PURE__*/ v({
|
|
1566
1566
|
labels: {
|
|
@@ -1615,8 +1615,11 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1615
1615
|
]), s = T({
|
|
1616
1616
|
from: "",
|
|
1617
1617
|
to: ""
|
|
1618
|
-
}), u = l(() => !!a.options)
|
|
1619
|
-
|
|
1618
|
+
}), u = l(() => !!a.options), m = (e) => typeof e == "object" ? e : {
|
|
1619
|
+
value: e,
|
|
1620
|
+
label: String(e)
|
|
1621
|
+
}, h = l(() => n.fromYears.map(m)), g = l(() => n.toYears.map(m));
|
|
1622
|
+
function _() {
|
|
1620
1623
|
i("search", {
|
|
1621
1624
|
rows: o.map((e) => ({
|
|
1622
1625
|
...e,
|
|
@@ -1628,61 +1631,61 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1628
1631
|
}
|
|
1629
1632
|
return (t, n) => (w(), f("form", {
|
|
1630
1633
|
class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
|
|
1631
|
-
onSubmit: B(
|
|
1634
|
+
onSubmit: B(_, ["prevent"])
|
|
1632
1635
|
}, [
|
|
1633
|
-
p("h3",
|
|
1634
|
-
p("p",
|
|
1635
|
-
p("p",
|
|
1636
|
-
t.$slots.aside ? (w(), f("p",
|
|
1636
|
+
p("h3", hr, k(e.labels.criteria), 1),
|
|
1637
|
+
p("p", gr, k(e.labels.keywords), 1),
|
|
1638
|
+
p("p", _r, k(e.labels.category), 1),
|
|
1639
|
+
t.$slots.aside ? (w(), f("p", vr, [O(t.$slots, "aside")])) : d("", !0),
|
|
1637
1640
|
(w(!0), f(c, null, D(o, (t, n) => (w(), f(c, { key: n }, [
|
|
1638
1641
|
n ? z((w(), f("select", {
|
|
1639
1642
|
key: 0,
|
|
1640
1643
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1641
1644
|
class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1642
1645
|
"aria-label": `${e.labels.and} / ${e.labels.or}`
|
|
1643
|
-
}, [p("option",
|
|
1646
|
+
}, [p("option", br, k(e.labels.and), 1), p("option", xr, k(e.labels.or), 1)], 10, yr)), [[P, t.cond]]) : d("", !0),
|
|
1644
1647
|
z(p("input", {
|
|
1645
1648
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1646
1649
|
type: "text",
|
|
1647
1650
|
class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1648
1651
|
"aria-label": e.labels.keywords
|
|
1649
|
-
}, null, 10,
|
|
1652
|
+
}, null, 10, Sr), [[F, t.keyword]]),
|
|
1650
1653
|
p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null, k(e.labels.in), 1), z(p("select", { "onUpdate:modelValue": (e) => t.field = e }, [(w(!0), f(c, null, D(e.fields, (e) => (w(), f("option", {
|
|
1651
1654
|
key: e.value,
|
|
1652
1655
|
value: e.value
|
|
1653
|
-
}, k(e.label), 9,
|
|
1656
|
+
}, k(e.label), 9, wr))), 128))], 8, Cr), [[P, t.field]])], 2)
|
|
1654
1657
|
], 64))), 128)),
|
|
1655
|
-
p("span",
|
|
1656
|
-
p("p",
|
|
1658
|
+
p("span", Tr, k(e.labels.date), 1),
|
|
1659
|
+
p("p", Er, [z(p("select", {
|
|
1657
1660
|
"onUpdate:modelValue": n[0] ||= (e) => s.from = e,
|
|
1658
1661
|
"aria-label": `${e.labels.date} ${e.labels.from}`
|
|
1659
|
-
}, [p("option",
|
|
1660
|
-
key: e,
|
|
1661
|
-
value: e
|
|
1662
|
-
}, k(e), 9,
|
|
1662
|
+
}, [p("option", Or, k(e.labels.from), 1), (w(!0), f(c, null, D(h.value, (e) => (w(), f("option", {
|
|
1663
|
+
key: e.value,
|
|
1664
|
+
value: e.value
|
|
1665
|
+
}, k(e.label), 9, kr))), 128))], 8, Dr), [[P, s.from]]), z(p("select", {
|
|
1663
1666
|
"onUpdate:modelValue": n[1] ||= (e) => s.to = e,
|
|
1664
1667
|
"aria-label": `${e.labels.date} ${e.labels.to}`
|
|
1665
|
-
}, [p("option",
|
|
1666
|
-
key: e,
|
|
1667
|
-
value: e
|
|
1668
|
-
}, k(e), 9,
|
|
1669
|
-
p("span",
|
|
1670
|
-
p("p",
|
|
1668
|
+
}, [p("option", jr, k(e.labels.to), 1), (w(!0), f(c, null, D(g.value, (e) => (w(), f("option", {
|
|
1669
|
+
key: e.value,
|
|
1670
|
+
value: e.value
|
|
1671
|
+
}, k(e.label), 9, Mr))), 128))], 8, Ar), [[P, s.to]])]),
|
|
1672
|
+
p("span", Nr, k(e.labels.language), 1),
|
|
1673
|
+
p("p", Pr, [z(p("select", {
|
|
1671
1674
|
"onUpdate:modelValue": n[2] ||= (e) => r.value = e,
|
|
1672
1675
|
"aria-label": e.labels.language
|
|
1673
1676
|
}, [n[3] ||= p("option", { value: "" }, null, -1), (w(!0), f(c, null, D(e.languages, (e) => (w(), f("option", {
|
|
1674
1677
|
key: e.code,
|
|
1675
1678
|
value: e.code
|
|
1676
|
-
}, k(e.name), 9,
|
|
1677
|
-
u.value ? (w(), f("p",
|
|
1678
|
-
p("p",
|
|
1679
|
-
e.listingHref ? (w(), f("p",
|
|
1679
|
+
}, k(e.name), 9, Ir))), 128))], 8, Fr), [[P, r.value]])]),
|
|
1680
|
+
u.value ? (w(), f("p", Lr, [O(t.$slots, "options")])) : d("", !0),
|
|
1681
|
+
p("p", Rr, [p("button", zr, k(e.labels.go), 1)]),
|
|
1682
|
+
e.listingHref ? (w(), f("p", Br, [p("a", {
|
|
1680
1683
|
href: e.listingHref,
|
|
1681
1684
|
title: e.labels.listingTooltip
|
|
1682
|
-
}, k(e.labels.listing), 9,
|
|
1685
|
+
}, k(e.labels.listing), 9, Vr)])) : d("", !0)
|
|
1683
1686
|
], 34));
|
|
1684
1687
|
}
|
|
1685
|
-
},
|
|
1688
|
+
}, Ur = { class: "mwnf-standalone-tle__country" }, Wr = ["aria-label"], Gr = { value: "none" }, Kr = { value: "" }, qr = ["value"], Jr = { class: "mwnf-standalone-tle__date" }, Yr = ["aria-label"], Xr = { value: "none" }, Zr = ["value"], Qr = { class: "mwnf-standalone-tle__date" }, $r = ["aria-label"], ei = { value: "none" }, ti = ["value"], ni = { class: "mwnf-standalone-tle__go" }, ri = { type: "submit" }, ii = {
|
|
1686
1689
|
__name: "TimelineEntrance",
|
|
1687
1690
|
props: {
|
|
1688
1691
|
labels: {
|
|
@@ -1728,38 +1731,38 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1728
1731
|
class: "mwnf-standalone-tle",
|
|
1729
1732
|
onSubmit: B(o, ["prevent"])
|
|
1730
1733
|
}, [
|
|
1731
|
-
p("p",
|
|
1734
|
+
p("p", Ur, [z(p("select", {
|
|
1732
1735
|
"onUpdate:modelValue": n[0] ||= (e) => i.country = e,
|
|
1733
1736
|
"aria-label": e.labels.selectCountry
|
|
1734
1737
|
}, [
|
|
1735
|
-
p("option",
|
|
1736
|
-
p("option",
|
|
1738
|
+
p("option", Gr, k(e.labels.selectCountry), 1),
|
|
1739
|
+
p("option", Kr, k(e.labels.allCountries), 1),
|
|
1737
1740
|
(w(!0), f(c, null, D(e.countries, (e) => (w(), f("option", {
|
|
1738
1741
|
key: e.value,
|
|
1739
1742
|
value: e.value
|
|
1740
|
-
}, k(e.label), 9,
|
|
1741
|
-
], 8,
|
|
1742
|
-
p("p",
|
|
1743
|
+
}, k(e.label), 9, qr))), 128))
|
|
1744
|
+
], 8, Wr), [[P, i.country]])]),
|
|
1745
|
+
p("p", Jr, [z(p("select", {
|
|
1743
1746
|
"onUpdate:modelValue": n[1] ||= (e) => i.start = e,
|
|
1744
1747
|
"aria-label": e.labels.startDate
|
|
1745
|
-
}, [p("option",
|
|
1748
|
+
}, [p("option", Xr, k(e.labels.startDate), 1), (w(!0), f(c, null, D(e.starts, (e) => (w(), f("option", {
|
|
1746
1749
|
key: e.value,
|
|
1747
1750
|
value: e.value
|
|
1748
|
-
}, k(e.label), 9,
|
|
1749
|
-
p("p",
|
|
1751
|
+
}, k(e.label), 9, Zr))), 128))], 8, Yr), [[P, i.start]])]),
|
|
1752
|
+
p("p", Qr, [z(p("select", {
|
|
1750
1753
|
"onUpdate:modelValue": n[2] ||= (e) => i.end = e,
|
|
1751
1754
|
"aria-label": e.labels.endDate
|
|
1752
|
-
}, [p("option",
|
|
1755
|
+
}, [p("option", ei, k(e.labels.endDate), 1), (w(!0), f(c, null, D(e.ends, (e) => (w(), f("option", {
|
|
1753
1756
|
key: e.value,
|
|
1754
1757
|
value: e.value
|
|
1755
|
-
}, k(e.label), 9,
|
|
1756
|
-
p("p",
|
|
1758
|
+
}, k(e.label), 9, ti))), 128))], 8, $r), [[P, i.end]])]),
|
|
1759
|
+
p("p", ni, [p("button", ri, k(e.labels.go), 1)])
|
|
1757
1760
|
], 32));
|
|
1758
1761
|
}
|
|
1759
|
-
},
|
|
1762
|
+
}, ai = {
|
|
1760
1763
|
key: 0,
|
|
1761
1764
|
class: "mwnf-standalone-pages"
|
|
1762
|
-
},
|
|
1765
|
+
}, oi = { class: "mwnf-standalone-pages__previous" }, si = ["aria-current", "onClick"], ci = { class: "mwnf-standalone-pages__next" }, li = {
|
|
1763
1766
|
__name: "Pagination",
|
|
1764
1767
|
props: {
|
|
1765
1768
|
pageInfo: {
|
|
@@ -1789,8 +1792,8 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1789
1792
|
function s(e) {
|
|
1790
1793
|
e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
|
|
1791
1794
|
}
|
|
1792
|
-
return (t, n) => a.value > 1 ? (w(), f("nav",
|
|
1793
|
-
p("span",
|
|
1795
|
+
return (t, n) => a.value > 1 ? (w(), f("nav", ai, [
|
|
1796
|
+
p("span", oi, [i.value > 1 ? (w(), f("a", {
|
|
1794
1797
|
key: 0,
|
|
1795
1798
|
href: "#",
|
|
1796
1799
|
onClick: n[0] ||= B((e) => s(i.value - 1), ["prevent"])
|
|
@@ -1801,31 +1804,31 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1801
1804
|
class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
|
|
1802
1805
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1803
1806
|
onClick: B((t) => s(e), ["prevent"])
|
|
1804
|
-
}, k(e), 11,
|
|
1805
|
-
p("span",
|
|
1807
|
+
}, k(e), 11, si))), 128)),
|
|
1808
|
+
p("span", ci, [i.value < a.value ? (w(), f("a", {
|
|
1806
1809
|
key: 0,
|
|
1807
1810
|
href: "#",
|
|
1808
1811
|
onClick: n[1] ||= B((e) => s(i.value + 1), ["prevent"])
|
|
1809
1812
|
}, k(e.nextLabel), 1)) : (w(), f(c, { key: 1 }, [h(k(e.nextLabel), 1)], 64))])
|
|
1810
1813
|
])) : d("", !0);
|
|
1811
1814
|
}
|
|
1812
|
-
},
|
|
1815
|
+
}, ui = { class: "mwnf-standalone-tlr" }, di = { class: "mwnf-standalone-tlr__band" }, fi = { class: "mwnf-standalone-tlr__band-inner" }, pi = { class: "mwnf-standalone-tlr__summary" }, mi = { class: "mwnf-standalone-tlr__selects" }, hi = ["for"], gi = [
|
|
1813
1816
|
"id",
|
|
1814
1817
|
"value",
|
|
1815
1818
|
"onChange"
|
|
1816
|
-
],
|
|
1819
|
+
], _i = ["value"], vi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, yi = {
|
|
1817
1820
|
key: 0,
|
|
1818
1821
|
class: "mwnf-standalone-tlr__heads"
|
|
1819
|
-
},
|
|
1822
|
+
}, bi = { class: "mwnf-standalone-tlr__body" }, xi = { class: "mwnf-standalone-tlr__list" }, Si = { class: "mwnf-standalone-tlr__date" }, Ci = { class: "mwnf-standalone-tlr__content" }, wi = ["innerHTML"], Ti = {
|
|
1820
1823
|
key: 0,
|
|
1821
1824
|
class: "mwnf-standalone-tlr__empty"
|
|
1822
|
-
},
|
|
1825
|
+
}, Ei = { class: "mwnf-standalone-tlr__related" }, Di = {
|
|
1823
1826
|
key: 0,
|
|
1824
1827
|
class: "mwnf-standalone-tlr__panel"
|
|
1825
|
-
},
|
|
1828
|
+
}, Oi = { key: 0 }, ki = {
|
|
1826
1829
|
key: 1,
|
|
1827
1830
|
class: "mwnf-standalone-tlr__panel"
|
|
1828
|
-
},
|
|
1831
|
+
}, Ai = { class: "mwnf-standalone-tlr__download" }, ji = {
|
|
1829
1832
|
__name: "TimelineResults",
|
|
1830
1833
|
props: {
|
|
1831
1834
|
heading: {
|
|
@@ -1889,7 +1892,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1889
1892
|
}
|
|
1890
1893
|
function s(e) {
|
|
1891
1894
|
let t = e.currentTarget.closest(".mwnf-standalone-tlr");
|
|
1892
|
-
|
|
1895
|
+
ct(lt({
|
|
1893
1896
|
title: r.download?.title ?? "",
|
|
1894
1897
|
heading: r.download?.line ?? "",
|
|
1895
1898
|
heads: r.heads,
|
|
@@ -1898,8 +1901,8 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1898
1901
|
dir: t ? getComputedStyle(t).direction : ""
|
|
1899
1902
|
}), r.download?.file ?? "timeline.doc");
|
|
1900
1903
|
}
|
|
1901
|
-
return (t, r) => (w(), f("div",
|
|
1902
|
-
p("section",
|
|
1904
|
+
return (t, r) => (w(), f("div", ui, [
|
|
1905
|
+
p("section", di, [p("div", fi, [p("p", pi, [p("b", null, k(e.heading), 1), h(" | " + k(e.summary), 1)]), p("div", mi, [(w(!0), f(c, null, D(e.selects, (e) => (w(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, k(e.label), 9, hi), p("select", {
|
|
1903
1906
|
id: `mwnf-tlr-${e.key}`,
|
|
1904
1907
|
value: e.value,
|
|
1905
1908
|
onChange: (t) => i("change", {
|
|
@@ -1909,8 +1912,8 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1909
1912
|
}, [(w(!0), f(c, null, D(e.options, (e) => (w(), f("option", {
|
|
1910
1913
|
key: e.value,
|
|
1911
1914
|
value: e.value
|
|
1912
|
-
}, k(e.label), 9,
|
|
1913
|
-
p("p",
|
|
1915
|
+
}, k(e.label), 9, _i))), 128))], 40, gi)]))), 128))])])]),
|
|
1916
|
+
p("p", vi, [(w(!0), f(c, null, D(e.back, (e) => (w(), f(c, { key: e.label }, [e.history ? (w(), f("button", {
|
|
1914
1917
|
key: 0,
|
|
1915
1918
|
type: "button",
|
|
1916
1919
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1924,14 +1927,14 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1924
1927
|
default: R(() => [h(k(e.label), 1)]),
|
|
1925
1928
|
_: 2
|
|
1926
1929
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1927
|
-
a.value ? (w(), f("div",
|
|
1928
|
-
p("div",
|
|
1930
|
+
a.value ? (w(), f("div", yi, [p("h3", null, k(e.heads.date), 1), p("h3", null, k(e.heads.countryDescription), 1)])) : d("", !0),
|
|
1931
|
+
p("div", bi, [p("div", xi, [
|
|
1929
1932
|
(w(!0), f(c, null, D(e.rows, (e) => (w(), f("div", {
|
|
1930
1933
|
key: e.id,
|
|
1931
1934
|
class: "mwnf-standalone-tlr__row"
|
|
1932
|
-
}, [p("div",
|
|
1933
|
-
a.value ? d("", !0) : (w(), f("p",
|
|
1934
|
-
e.pageInfo ? (w(), u(
|
|
1935
|
+
}, [p("div", Si, [p("p", null, [p("span", null, k(e.date), 1)])]), p("div", Ci, [p("p", null, [p("span", null, k(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, wi)])]))), 128)),
|
|
1936
|
+
a.value ? d("", !0) : (w(), f("p", Ti, k(e.empty), 1)),
|
|
1937
|
+
e.pageInfo ? (w(), u(li, {
|
|
1935
1938
|
key: 1,
|
|
1936
1939
|
"page-info": e.pageInfo,
|
|
1937
1940
|
"previous-label": e.previousLabel,
|
|
@@ -1942,15 +1945,15 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1942
1945
|
"previous-label",
|
|
1943
1946
|
"next-label"
|
|
1944
1947
|
])) : d("", !0)
|
|
1945
|
-
]), p("aside",
|
|
1948
|
+
]), p("aside", Ei, [e.related ? (w(), f("div", Di, [p("p", null, [p("strong", null, k(e.related.heading), 1)]), e.related.gallery ? (w(), f("p", Oi, [g(n, {
|
|
1946
1949
|
class: "mwnf-standalone-tlr__link",
|
|
1947
1950
|
to: e.related.gallery.to,
|
|
1948
1951
|
title: e.related.gallery.title
|
|
1949
1952
|
}, {
|
|
1950
1953
|
default: R(() => [h(k(e.related.gallery.label), 1)]),
|
|
1951
1954
|
_: 1
|
|
1952
|
-
}, 8, ["to", "title"])])) : d("", !0)])) : d("", !0), e.download ? (w(), f("div",
|
|
1953
|
-
p("p",
|
|
1955
|
+
}, 8, ["to", "title"])])) : d("", !0)])) : d("", !0), e.download ? (w(), f("div", ki, [
|
|
1956
|
+
p("p", Ai, k(e.download.heading), 1),
|
|
1954
1957
|
p("p", null, [p("a", {
|
|
1955
1958
|
href: "#",
|
|
1956
1959
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -1964,10 +1967,167 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1964
1967
|
])) : d("", !0)])])
|
|
1965
1968
|
]));
|
|
1966
1969
|
}
|
|
1967
|
-
},
|
|
1970
|
+
}, Mi = ["dir"], Ni = { class: "mwnf-standalone-window__box" }, Pi = { class: "mwnf-standalone-window__header" }, Fi = { class: "mwnf-standalone-window__heading" }, Ii = ["aria-label"], Li = { class: "mwnf-standalone-window__article" }, $ = {
|
|
1971
|
+
__name: "Window",
|
|
1972
|
+
props: {
|
|
1973
|
+
heading: {
|
|
1974
|
+
type: String,
|
|
1975
|
+
default: ""
|
|
1976
|
+
},
|
|
1977
|
+
closeLabel: {
|
|
1978
|
+
type: String,
|
|
1979
|
+
default: ""
|
|
1980
|
+
},
|
|
1981
|
+
dir: {
|
|
1982
|
+
type: String,
|
|
1983
|
+
default: ""
|
|
1984
|
+
}
|
|
1985
|
+
},
|
|
1986
|
+
setup(e) {
|
|
1987
|
+
function t() {
|
|
1988
|
+
window.opener ? (window.opener.focus(), window.close()) : window.history.back();
|
|
1989
|
+
}
|
|
1990
|
+
return (n, r) => (w(), f("div", {
|
|
1991
|
+
class: "mwnf-standalone-window",
|
|
1992
|
+
dir: e.dir || void 0
|
|
1993
|
+
}, [p("div", Ni, [
|
|
1994
|
+
p("header", Pi, [p("h1", Fi, k(e.heading), 1), p("button", {
|
|
1995
|
+
type: "button",
|
|
1996
|
+
class: "mwnf-standalone-window__close",
|
|
1997
|
+
"aria-label": e.closeLabel || void 0,
|
|
1998
|
+
onClick: t
|
|
1999
|
+
}, "×", 8, Ii)]),
|
|
2000
|
+
O(n.$slots, "before"),
|
|
2001
|
+
p("article", Li, [O(n.$slots, "default")])
|
|
2002
|
+
])], 8, Mi));
|
|
2003
|
+
}
|
|
2004
|
+
}, Ri = {
|
|
2005
|
+
class: "mwnf-standalone-hcr__scale",
|
|
2006
|
+
"aria-hidden": "true"
|
|
2007
|
+
}, zi = { class: "mwnf-standalone-hcr__years" }, Bi = { class: "mwnf-standalone-hcr__body" }, Vi = { class: "mwnf-standalone-hcr__left" }, Hi = { class: "mwnf-standalone-hcr__title" }, Ui = ["value", "aria-label"], Wi = ["value"], Gi = { class: "mwnf-standalone-hcr__title" }, Ki = ["value", "aria-label"], qi = ["value"], Ji = {
|
|
2008
|
+
key: 0,
|
|
2009
|
+
class: "mwnf-standalone-hcr__image"
|
|
2010
|
+
}, Yi = ["src", "alt"], Xi = { key: 1 }, Zi = ["innerHTML"], Qi = { key: 2 }, $i = { class: "mwnf-standalone-hcr__main" }, ea = ["innerHTML"], ta = {
|
|
2011
|
+
__name: "HistoricalCrossRef",
|
|
2012
|
+
props: {
|
|
2013
|
+
labels: {
|
|
2014
|
+
type: Object,
|
|
2015
|
+
required: !0
|
|
2016
|
+
},
|
|
2017
|
+
start: {
|
|
2018
|
+
type: Number,
|
|
2019
|
+
required: !0
|
|
2020
|
+
},
|
|
2021
|
+
end: {
|
|
2022
|
+
type: Number,
|
|
2023
|
+
required: !0
|
|
2024
|
+
},
|
|
2025
|
+
countries: {
|
|
2026
|
+
type: Array,
|
|
2027
|
+
default: () => []
|
|
2028
|
+
},
|
|
2029
|
+
country: {
|
|
2030
|
+
type: String,
|
|
2031
|
+
default: ""
|
|
2032
|
+
},
|
|
2033
|
+
ranges: {
|
|
2034
|
+
type: Array,
|
|
2035
|
+
default: () => []
|
|
2036
|
+
},
|
|
2037
|
+
range: {
|
|
2038
|
+
type: [String, Number],
|
|
2039
|
+
default: ""
|
|
2040
|
+
},
|
|
2041
|
+
item: {
|
|
2042
|
+
type: Object,
|
|
2043
|
+
default: null
|
|
2044
|
+
},
|
|
2045
|
+
heading: {
|
|
2046
|
+
type: String,
|
|
2047
|
+
default: ""
|
|
2048
|
+
},
|
|
2049
|
+
events: {
|
|
2050
|
+
type: Array,
|
|
2051
|
+
default: () => []
|
|
2052
|
+
},
|
|
2053
|
+
dir: {
|
|
2054
|
+
type: String,
|
|
2055
|
+
default: ""
|
|
2056
|
+
}
|
|
2057
|
+
},
|
|
2058
|
+
emits: ["change"],
|
|
2059
|
+
setup(e, { emit: t }) {
|
|
2060
|
+
let n = e, r = t, i = l(() => {
|
|
2061
|
+
let e = (Math.floor(n.start / 50) - 2) * 50;
|
|
2062
|
+
return e + 700 > 2050 && (e = 1350), Array.from({ length: 14 }, (t, r) => {
|
|
2063
|
+
let i = e + 50 * r;
|
|
2064
|
+
return {
|
|
2065
|
+
value: i,
|
|
2066
|
+
active: i >= n.start && i < n.end
|
|
2067
|
+
};
|
|
2068
|
+
});
|
|
2069
|
+
});
|
|
2070
|
+
return (t, n) => (w(), u($, {
|
|
2071
|
+
class: "mwnf-standalone-hcr",
|
|
2072
|
+
heading: e.labels.heading,
|
|
2073
|
+
"close-label": e.labels.close,
|
|
2074
|
+
dir: e.dir
|
|
2075
|
+
}, {
|
|
2076
|
+
before: R(() => [p("section", Ri, [p("div", zi, [(w(!0), f(c, null, D(i.value, (e) => (w(), f("span", {
|
|
2077
|
+
key: e.value,
|
|
2078
|
+
class: b({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2079
|
+
}, k(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2080
|
+
default: R(() => [p("div", Bi, [p("div", Vi, [
|
|
2081
|
+
p("p", Hi, k(e.labels.country), 1),
|
|
2082
|
+
p("select", {
|
|
2083
|
+
value: e.country,
|
|
2084
|
+
"aria-label": e.labels.country,
|
|
2085
|
+
onChange: n[0] ||= (e) => r("change", {
|
|
2086
|
+
key: "country",
|
|
2087
|
+
value: e.target.value
|
|
2088
|
+
})
|
|
2089
|
+
}, [(w(!0), f(c, null, D(e.countries, (e) => (w(), f("option", {
|
|
2090
|
+
key: e.value,
|
|
2091
|
+
value: e.value
|
|
2092
|
+
}, k(e.label), 9, Wi))), 128))], 40, Ui),
|
|
2093
|
+
p("p", Gi, k(e.labels.range), 1),
|
|
2094
|
+
p("select", {
|
|
2095
|
+
value: String(e.range),
|
|
2096
|
+
"aria-label": e.labels.range,
|
|
2097
|
+
onChange: n[1] ||= (e) => r("change", {
|
|
2098
|
+
key: "start",
|
|
2099
|
+
value: e.target.value
|
|
2100
|
+
})
|
|
2101
|
+
}, [(w(!0), f(c, null, D(e.ranges, (e) => (w(), f("option", {
|
|
2102
|
+
key: e.value,
|
|
2103
|
+
value: String(e.value)
|
|
2104
|
+
}, k(e.label), 9, qi))), 128))], 40, Ki),
|
|
2105
|
+
e.item ? (w(), f(c, { key: 0 }, [
|
|
2106
|
+
e.item.image ? (w(), f("div", Ji, [p("img", {
|
|
2107
|
+
src: e.item.image,
|
|
2108
|
+
alt: e.item.name
|
|
2109
|
+
}, null, 8, Yi)])) : d("", !0),
|
|
2110
|
+
e.item.name ? (w(), f("p", Xi, [p("strong", { innerHTML: e.item.name }, null, 8, Zi)])) : d("", !0),
|
|
2111
|
+
e.item.lines?.length ? (w(), f("p", Qi, [(w(!0), f(c, null, D(e.item.lines, (e, t) => (w(), f(c, { key: t }, [h(k(e), 1), n[3] ||= p("br", null, null, -1)], 64))), 128))])) : d("", !0)
|
|
2112
|
+
], 64)) : d("", !0)
|
|
2113
|
+
]), p("div", $i, [p("h3", null, k(e.heading), 1), (w(!0), f(c, null, D(e.events, (e) => (w(), f("div", {
|
|
2114
|
+
key: e.id,
|
|
2115
|
+
class: "mwnf-standalone-hcr__event"
|
|
2116
|
+
}, [p("p", null, [p("b", null, k(e.date), 1)]), p("div", {
|
|
2117
|
+
class: "mwnf-standalone-hcr__text",
|
|
2118
|
+
innerHTML: e.html
|
|
2119
|
+
}, null, 8, ea)]))), 128))])])]),
|
|
2120
|
+
_: 1
|
|
2121
|
+
}, 8, [
|
|
2122
|
+
"heading",
|
|
2123
|
+
"close-label",
|
|
2124
|
+
"dir"
|
|
2125
|
+
]));
|
|
2126
|
+
}
|
|
2127
|
+
}, na = ["disabled", "aria-label"], ra = { class: "mwnf-standalone-slider__track" }, ia = ["src", "alt"], aa = {
|
|
1968
2128
|
key: 0,
|
|
1969
2129
|
class: "mwnf-standalone-slider__label"
|
|
1970
|
-
},
|
|
2130
|
+
}, oa = ["disabled", "aria-label"], sa = {
|
|
1971
2131
|
__name: "Slider",
|
|
1972
2132
|
props: {
|
|
1973
2133
|
slides: {
|
|
@@ -1988,7 +2148,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
1988
2148
|
}
|
|
1989
2149
|
},
|
|
1990
2150
|
setup(e) {
|
|
1991
|
-
let t = e, { t: r } =
|
|
2151
|
+
let t = e, { t: r } = q(), i = Y(), a = E(0), o = l(() => Math.max(0, t.slides.length - t.visible)), s = l(() => t.slides.slice(a.value, a.value + t.visible).map((e) => ({
|
|
1992
2152
|
...e,
|
|
1993
2153
|
image: i(e.image) ?? "",
|
|
1994
2154
|
label: e.label ? r(e.label) : ""
|
|
@@ -2004,8 +2164,8 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2004
2164
|
disabled: a.value === 0,
|
|
2005
2165
|
"aria-label": A(r)(e.previousLabel),
|
|
2006
2166
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
2007
|
-
}, "‹", 8,
|
|
2008
|
-
p("ul",
|
|
2167
|
+
}, "‹", 8, na),
|
|
2168
|
+
p("ul", ra, [(w(!0), f(c, null, D(s.value, (e) => (w(), f("li", {
|
|
2009
2169
|
key: e.image,
|
|
2010
2170
|
class: "mwnf-standalone-slider__slide"
|
|
2011
2171
|
}, [g(n, {
|
|
@@ -2015,7 +2175,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2015
2175
|
default: R(() => [p("img", {
|
|
2016
2176
|
src: e.image,
|
|
2017
2177
|
alt: e.label
|
|
2018
|
-
}, null, 8,
|
|
2178
|
+
}, null, 8, ia), e.label ? (w(), f("span", aa, k(e.label), 1)) : d("", !0)]),
|
|
2019
2179
|
_: 2
|
|
2020
2180
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2021
2181
|
p("button", {
|
|
@@ -2024,47 +2184,17 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2024
2184
|
disabled: a.value >= o.value,
|
|
2025
2185
|
"aria-label": A(r)(e.nextLabel),
|
|
2026
2186
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
2027
|
-
}, "›", 8,
|
|
2187
|
+
}, "›", 8, oa)
|
|
2028
2188
|
], 4)) : d("", !0);
|
|
2029
2189
|
}
|
|
2030
|
-
},
|
|
2031
|
-
__name: "Window",
|
|
2032
|
-
props: {
|
|
2033
|
-
heading: {
|
|
2034
|
-
type: String,
|
|
2035
|
-
default: ""
|
|
2036
|
-
},
|
|
2037
|
-
closeLabel: {
|
|
2038
|
-
type: String,
|
|
2039
|
-
default: ""
|
|
2040
|
-
},
|
|
2041
|
-
dir: {
|
|
2042
|
-
type: String,
|
|
2043
|
-
default: ""
|
|
2044
|
-
}
|
|
2045
|
-
},
|
|
2046
|
-
setup(e) {
|
|
2047
|
-
function t() {
|
|
2048
|
-
window.opener ? (window.opener.focus(), window.close()) : window.history.back();
|
|
2049
|
-
}
|
|
2050
|
-
return (n, r) => (w(), f("div", {
|
|
2051
|
-
class: "mwnf-standalone-window",
|
|
2052
|
-
dir: e.dir || void 0
|
|
2053
|
-
}, [p("div", Ri, [p("header", zi, [p("h1", Bi, k(e.heading), 1), p("button", {
|
|
2054
|
-
type: "button",
|
|
2055
|
-
class: "mwnf-standalone-window__close",
|
|
2056
|
-
"aria-label": e.closeLabel || void 0,
|
|
2057
|
-
onClick: t
|
|
2058
|
-
}, "×", 8, Vi)]), p("article", Hi, [O(n.$slots, "default")])])], 8, Li));
|
|
2059
|
-
}
|
|
2060
|
-
}, Wi = { class: "mwnf-standalone-glossary" }, Gi = { class: "mwnf-standalone-glossary__intro" }, Ki = { class: "mwnf-standalone-glossary__body" }, qi = { class: "mwnf-standalone-glossary__field" }, Ji = ["aria-expanded", "aria-label"], Yi = {
|
|
2190
|
+
}, ca = { class: "mwnf-standalone-glossary" }, la = { class: "mwnf-standalone-glossary__intro" }, ua = { class: "mwnf-standalone-glossary__body" }, da = { class: "mwnf-standalone-glossary__field" }, fa = ["aria-expanded", "aria-label"], pa = {
|
|
2061
2191
|
key: 0,
|
|
2062
2192
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2063
2193
|
role: "listbox"
|
|
2064
|
-
},
|
|
2194
|
+
}, ma = ["aria-selected", "onMousedown"], ha = {
|
|
2065
2195
|
class: "mwnf-standalone-glossary__result",
|
|
2066
2196
|
"aria-live": "polite"
|
|
2067
|
-
},
|
|
2197
|
+
}, ga = { class: "mwnf-standalone-glossary__label" }, _a = ["innerHTML"], va = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, ya = { class: "mwnf-standalone-glossary__note" }, ba = { class: "mwnf-standalone-glossary__spellings" }, xa = {
|
|
2068
2198
|
__name: "GlossarySpelling",
|
|
2069
2199
|
props: {
|
|
2070
2200
|
language: {
|
|
@@ -2085,7 +2215,7 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2085
2215
|
}
|
|
2086
2216
|
},
|
|
2087
2217
|
setup(e) {
|
|
2088
|
-
let t = e, n =
|
|
2218
|
+
let t = e, n = ae(), r = ee(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
|
|
2089
2219
|
C(async () => {
|
|
2090
2220
|
await te([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
|
|
2091
2221
|
});
|
|
@@ -2120,12 +2250,12 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2120
2250
|
let t = h.value;
|
|
2121
2251
|
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])));
|
|
2122
2252
|
}
|
|
2123
|
-
return (t, n) => (w(), u(
|
|
2253
|
+
return (t, n) => (w(), u($, {
|
|
2124
2254
|
heading: e.labels.heading,
|
|
2125
2255
|
"close-label": e.labels.close,
|
|
2126
2256
|
dir: e.dir
|
|
2127
2257
|
}, {
|
|
2128
|
-
default: R(() => [p("div",
|
|
2258
|
+
default: R(() => [p("div", ca, [p("h2", la, k(e.labels.intro), 1), p("div", ua, [p("div", da, [z(p("input", {
|
|
2129
2259
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
2130
2260
|
type: "text",
|
|
2131
2261
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2135,19 +2265,19 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2135
2265
|
"aria-label": e.labels.heading,
|
|
2136
2266
|
onInput: y,
|
|
2137
2267
|
onKeydown: x
|
|
2138
|
-
}, null, 40,
|
|
2268
|
+
}, null, 40, fa), [[F, a.value]]), h.value.length ? (w(), f("ul", pa, [(w(!0), f(c, null, D(h.value, (e, t) => (w(), f("li", {
|
|
2139
2269
|
key: e.spelling,
|
|
2140
2270
|
role: "option",
|
|
2141
2271
|
"aria-selected": t === s.value,
|
|
2142
2272
|
class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
2143
2273
|
onMousedown: B((t) => v(e), ["prevent"])
|
|
2144
|
-
}, k(e.spelling), 43,
|
|
2274
|
+
}, k(e.spelling), 43, ma))), 128))])) : d("", !0)]), p("div", ha, [o.value ? (w(), f(c, { key: 0 }, [g.value ? (w(), f(c, { key: 0 }, [p("h3", ga, k(e.labels.definition), 1), p("div", {
|
|
2145
2275
|
class: "mwnf-standalone-glossary__definition",
|
|
2146
2276
|
innerHTML: g.value
|
|
2147
|
-
}, null, 8,
|
|
2148
|
-
p("h3",
|
|
2149
|
-
p("p",
|
|
2150
|
-
p("ul",
|
|
2277
|
+
}, null, 8, _a)], 64)) : d("", !0), _.value.length ? (w(), f(c, { key: 1 }, [
|
|
2278
|
+
p("h3", va, k(e.labels.spellings), 1),
|
|
2279
|
+
p("p", ya, k(e.labels.spellingsNote), 1),
|
|
2280
|
+
p("ul", ba, [(w(!0), f(c, null, D(_.value, (e) => (w(), f("li", { key: e }, k(e), 1))), 128))])
|
|
2151
2281
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
2152
2282
|
_: 1
|
|
2153
2283
|
}, 8, [
|
|
@@ -2158,4 +2288,4 @@ var lt = { class: "mwnf-standalone-related" }, ut = { class: "mwnf-standalone-re
|
|
|
2158
2288
|
}
|
|
2159
2289
|
};
|
|
2160
2290
|
//#endregion
|
|
2161
|
-
export {
|
|
2291
|
+
export { vt as RelatedContent, le as StandaloneBanner, Hr as StandaloneDatabaseForm, xa as StandaloneGlossarySpelling, ta as StandaloneHistoricalCrossRef, et as StandaloneHome, St as StandaloneItemSheet, li as StandalonePagination, tr as StandalonePartnerList, Zt as StandalonePartnerPage, Gn as StandaloneRefine, vn as StandaloneResultsGrid, zn as StandaloneResultsList, Fe as StandaloneShell, sa as StandaloneSlider, mr as StandaloneSponsorList, De as StandaloneSponsors, an as StandaloneSubNav, tn as StandaloneTextPage, Xe as StandaloneTileGrid, ii as StandaloneTimelineEntrance, ji as StandaloneTimelineResults, $ as StandaloneWindow, Ue as TodayHighlight, ue as byLanguage, de as dayOfYear, fe as legacyHomeItemKey, X as pickForDay };
|