@museumwnf/viewer-layout 3.52.0 → 3.54.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 +562 -472
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +29 -0
package/dist/standalone.js
CHANGED
|
@@ -2,14 +2,14 @@ import { r as e } from "./chrome-DNsZQXrL.js";
|
|
|
2
2
|
import { c as t, d as n, n as r, t as i } from "./PartnerMap-BIKd-AGP.js";
|
|
3
3
|
import { n as a, t as o } from "./RecordView-kkpYLtL_.js";
|
|
4
4
|
import { t as s } from "./SiteShell-CYQxXosD.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,
|
|
6
|
-
import { byId as
|
|
7
|
-
import { useRoute as
|
|
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 U, md as W, pictureCredits as ne, picturesInLanguage as re, removeEndingPoint as ie, 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";
|
|
8
8
|
//#region src/standalone/Banner.vue
|
|
9
|
-
var
|
|
9
|
+
var le = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "mwnf-standalone-banner__title"
|
|
12
|
-
},
|
|
12
|
+
}, ue = {
|
|
13
13
|
__name: "Banner",
|
|
14
14
|
props: {
|
|
15
15
|
image: {
|
|
@@ -22,10 +22,10 @@ var ce = {
|
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
setup(e) {
|
|
25
|
-
return (t, n) => (
|
|
25
|
+
return (t, n) => (T(), 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 ? (
|
|
28
|
+
}, [e.title ? (T(), f("h1", le, [p("span", null, A(e.title), 1)])) : d("", !0)], 4));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
//#endregion
|
|
@@ -34,17 +34,17 @@ function Y() {
|
|
|
34
34
|
let t = J();
|
|
35
35
|
return (n) => e(t.chrome, n);
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function de(e, t) {
|
|
38
38
|
return !e || typeof e == "string" ? e ?? "" : e[t] ?? e.en ?? Object.values(e)[0] ?? "";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function fe(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
44
|
function X(e, t = /* @__PURE__ */ new Date()) {
|
|
45
|
-
return e?.length ? e[
|
|
45
|
+
return e?.length ? e[fe(t) % e.length] : null;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function pe(e) {
|
|
48
48
|
let [t, ...n] = String(e ?? "").split("*")[0].trim().split(";");
|
|
49
49
|
return !t || n.length < 5 ? "" : [
|
|
50
50
|
"mwnf3",
|
|
@@ -54,22 +54,22 @@ function fe(e) {
|
|
|
54
54
|
}
|
|
55
55
|
//#endregion
|
|
56
56
|
//#region src/standalone/Sponsors.vue
|
|
57
|
-
var
|
|
57
|
+
var me = { class: "mwnf-standalone-sponsors" }, he = {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: "mwnf-standalone-sponsors__text"
|
|
60
|
-
},
|
|
60
|
+
}, ge = ["innerHTML"], _e = { key: 1 }, ve = ["innerHTML"], ye = {
|
|
61
61
|
key: 1,
|
|
62
62
|
class: "mwnf-standalone-sponsors__title"
|
|
63
|
-
},
|
|
63
|
+
}, be = {
|
|
64
64
|
key: 2,
|
|
65
65
|
class: "mwnf-standalone-sponsors__logos"
|
|
66
|
-
},
|
|
66
|
+
}, xe = {
|
|
67
67
|
key: 0,
|
|
68
68
|
class: "mwnf-standalone-sponsors__note"
|
|
69
|
-
},
|
|
69
|
+
}, Se = ["src", "alt"], Ce = ["innerHTML"], we = ["href"], Te = ["src", "alt"], Ee = ["src", "alt"], De = {
|
|
70
70
|
key: 3,
|
|
71
71
|
class: "mwnf-standalone-sponsors__links"
|
|
72
|
-
},
|
|
72
|
+
}, Oe = {
|
|
73
73
|
__name: "Sponsors",
|
|
74
74
|
props: { columns: {
|
|
75
75
|
type: Array,
|
|
@@ -87,37 +87,37 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
87
87
|
src: i(e.src) ?? "",
|
|
88
88
|
alt: e.alt ? r(e.alt) : "",
|
|
89
89
|
href: e.href ?? "",
|
|
90
|
-
note: e.note ?
|
|
90
|
+
note: e.note ? ae(r(e.note)) : ""
|
|
91
91
|
})),
|
|
92
92
|
links: (e.links ?? []).map((e) => ({
|
|
93
93
|
...e,
|
|
94
94
|
label: r(e.label)
|
|
95
95
|
}))
|
|
96
96
|
})));
|
|
97
|
-
return (e, t) => (
|
|
97
|
+
return (e, t) => (T(), f("div", me, [(T(!0), f(c, null, O(a.value, (e) => (T(), 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 ? (
|
|
103
|
-
e.lead ? (
|
|
102
|
+
e.lead || e.text ? (T(), f("p", he, [
|
|
103
|
+
e.lead ? (T(), f("i", {
|
|
104
104
|
key: 0,
|
|
105
105
|
innerHTML: e.lead
|
|
106
|
-
}, null, 8,
|
|
107
|
-
e.lead && e.break ? (
|
|
108
|
-
e.text ? (
|
|
106
|
+
}, null, 8, ge)) : d("", !0),
|
|
107
|
+
e.lead && e.break ? (T(), f("br", _e)) : e.lead && e.text ? (T(), f(c, { key: 2 }, [h(A(" "))], 64)) : d("", !0),
|
|
108
|
+
e.text ? (T(), f("span", {
|
|
109
109
|
key: 3,
|
|
110
110
|
innerHTML: e.text
|
|
111
|
-
}, null, 8,
|
|
111
|
+
}, null, 8, ve)) : d("", !0)
|
|
112
112
|
])) : d("", !0),
|
|
113
|
-
e.title ? (
|
|
114
|
-
e.logos.length ? (
|
|
113
|
+
e.title ? (T(), f("p", ye, A(e.title), 1)) : d("", !0),
|
|
114
|
+
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", {
|
|
115
115
|
src: e.src,
|
|
116
116
|
alt: e.alt
|
|
117
|
-
}, null, 8,
|
|
117
|
+
}, null, 8, Se)]), p("div", {
|
|
118
118
|
class: "mwnf-standalone-sponsors__note-body",
|
|
119
119
|
innerHTML: e.note
|
|
120
|
-
}, null, 8,
|
|
120
|
+
}, null, 8, Ce)])) : e.href ? (T(), f("a", {
|
|
121
121
|
key: 1,
|
|
122
122
|
href: e.href,
|
|
123
123
|
target: "_blank",
|
|
@@ -125,17 +125,17 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
125
125
|
}, [p("img", {
|
|
126
126
|
src: e.src,
|
|
127
127
|
alt: e.alt
|
|
128
|
-
}, null, 8,
|
|
128
|
+
}, null, 8, Te)], 8, we)) : (T(), f("img", {
|
|
129
129
|
key: 2,
|
|
130
130
|
src: e.src,
|
|
131
131
|
alt: e.alt
|
|
132
|
-
}, null, 8,
|
|
133
|
-
e.links.length ? (
|
|
132
|
+
}, null, 8, Ee))]))), 128))])) : d("", !0),
|
|
133
|
+
e.links.length ? (T(), f("ul", De, [(T(!0), f(c, null, O(e.links, (e) => (T(), f("li", { key: e.label }, [g(n, {
|
|
134
134
|
to: e.to,
|
|
135
135
|
href: e.href,
|
|
136
136
|
external: !!e.external
|
|
137
137
|
}, {
|
|
138
|
-
default:
|
|
138
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
139
139
|
_: 2
|
|
140
140
|
}, 1032, [
|
|
141
141
|
"to",
|
|
@@ -144,16 +144,16 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
144
144
|
])]))), 128))])) : d("", !0)
|
|
145
145
|
], 4))), 128))]));
|
|
146
146
|
}
|
|
147
|
-
},
|
|
147
|
+
}, ke = {
|
|
148
148
|
key: 0,
|
|
149
149
|
class: "mwnf-standalone mwnf-standalone--bare"
|
|
150
|
-
},
|
|
150
|
+
}, Ae = { class: "mwnf-banner mwnf-standalone-home-banner" }, je = ["src"], Me = { class: "mwnf-standalone-home-banner__text" }, Ne = {
|
|
151
151
|
key: 0,
|
|
152
152
|
class: "mwnf-standalone-home-banner__title"
|
|
153
|
-
},
|
|
153
|
+
}, Pe = {
|
|
154
154
|
key: 1,
|
|
155
155
|
class: "mwnf-standalone-home-banner__line"
|
|
156
|
-
},
|
|
156
|
+
}, Fe = ["src"], Ie = {
|
|
157
157
|
__name: "Shell",
|
|
158
158
|
props: {
|
|
159
159
|
language: {
|
|
@@ -167,18 +167,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
167
167
|
},
|
|
168
168
|
emits: ["update:language"],
|
|
169
169
|
setup(t, { emit: n }) {
|
|
170
|
-
let r = t, i = n, { t: a, locale: o } = q(), c =
|
|
171
|
-
let e = y.value.logo ?? {}, t =
|
|
170
|
+
let r = t, i = n, { t: a, locale: o } = 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 = (t) => e(_.chrome, de(t, o.value)), E = l(() => {
|
|
171
|
+
let e = y.value.logo ?? {}, t = w(C.value?.logo ?? e.src);
|
|
172
172
|
return t ? {
|
|
173
173
|
logo: t,
|
|
174
174
|
alt: e.alt ?? ""
|
|
175
175
|
} : null;
|
|
176
|
-
}), D = l(() =>
|
|
176
|
+
}), 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(() => {
|
|
177
177
|
let e = {
|
|
178
178
|
...y.value.banner ?? {},
|
|
179
179
|
...C.value?.banner ?? {}
|
|
180
180
|
};
|
|
181
|
-
return
|
|
181
|
+
return w(S.value ? e.home : e.inner) ?? "";
|
|
182
182
|
}), N = l(() => {
|
|
183
183
|
let e = c.meta?.bannerTitle ?? x.value.sectionTitles?.[v.value];
|
|
184
184
|
return e ? a(e) : "";
|
|
@@ -194,18 +194,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
194
194
|
}), L = l(() => ({
|
|
195
195
|
navigation: {
|
|
196
196
|
...x.value,
|
|
197
|
-
headerLinks:
|
|
197
|
+
headerLinks: O.value,
|
|
198
198
|
sectionTitles: {},
|
|
199
199
|
...y.value.languages === !1 ? { languages: [] } : {}
|
|
200
200
|
},
|
|
201
201
|
banner: null,
|
|
202
202
|
...E.value ? { brand: E.value } : {}
|
|
203
|
-
})),
|
|
203
|
+
})), R = (/* @__PURE__ */ new Date()).getFullYear(), B = l(() => y.value.copyright ? `${a(y.value.copyright)} ${R}` : ""), V = l(() => [
|
|
204
204
|
"mwnf-standalone",
|
|
205
205
|
S.value ? "mwnf-standalone--home" : "mwnf-standalone--inner",
|
|
206
206
|
C.value?.class ?? ""
|
|
207
207
|
]);
|
|
208
|
-
return (e, t) => h.value ? (
|
|
208
|
+
return (e, t) => h.value ? (T(), f("div", ke, [k(e.$slots, "default")])) : (T(), u(s, {
|
|
209
209
|
key: 1,
|
|
210
210
|
class: b(V.value),
|
|
211
211
|
config: L.value,
|
|
@@ -214,54 +214,54 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
214
214
|
"language-placement": "header",
|
|
215
215
|
"language-style": "select",
|
|
216
216
|
"header-home": y.value.logo?.href ?? "",
|
|
217
|
-
"header-title": S.value ? "" : y.value.heading ?
|
|
218
|
-
"header-subtitle": S.value ? "" : y.value.subheading ?
|
|
217
|
+
"header-title": S.value ? "" : y.value.heading ? j(a)(y.value.heading) : "",
|
|
218
|
+
"header-subtitle": S.value ? "" : y.value.subheading ? j(a)(y.value.subheading) : "",
|
|
219
219
|
"header-title-href": "#/",
|
|
220
220
|
"banner-image": S.value && !F.value ? M.value : "",
|
|
221
221
|
"footer-text": B.value || void 0,
|
|
222
222
|
"onUpdate:language": t[0] ||= (e) => i("update:language", e)
|
|
223
223
|
}, m({
|
|
224
|
-
default:
|
|
224
|
+
default: z(() => [k(e.$slots, "default")]),
|
|
225
225
|
_: 2
|
|
226
226
|
}, [
|
|
227
227
|
P.value ? {
|
|
228
228
|
name: "banner",
|
|
229
|
-
fn:
|
|
229
|
+
fn: z(() => [g(ue, {
|
|
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:
|
|
236
|
+
fn: z(() => [p("section", Ae, [M.value ? (T(), 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, 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)])])]),
|
|
242
242
|
key: "1"
|
|
243
243
|
} : void 0,
|
|
244
244
|
D.value ? {
|
|
245
245
|
name: "notice",
|
|
246
|
-
fn:
|
|
246
|
+
fn: z(() => [p("img", {
|
|
247
247
|
class: "mwnf-standalone__print-logo",
|
|
248
248
|
src: D.value,
|
|
249
249
|
alt: ""
|
|
250
|
-
}, null, 8,
|
|
250
|
+
}, null, 8, Fe)]),
|
|
251
251
|
key: "2"
|
|
252
252
|
} : void 0,
|
|
253
253
|
e.$slots.sponsors ? {
|
|
254
254
|
name: "sponsors",
|
|
255
|
-
fn:
|
|
255
|
+
fn: z(() => [k(e.$slots, "sponsors")]),
|
|
256
256
|
key: "3"
|
|
257
257
|
} : I.value ? {
|
|
258
258
|
name: "sponsors",
|
|
259
|
-
fn:
|
|
259
|
+
fn: z(() => [g(Oe, { columns: I.value.columns }, null, 8, ["columns"])]),
|
|
260
260
|
key: "4"
|
|
261
261
|
} : void 0,
|
|
262
262
|
e.$slots.footer ? {
|
|
263
263
|
name: "footer",
|
|
264
|
-
fn:
|
|
264
|
+
fn: z(() => [k(e.$slots, "footer")]),
|
|
265
265
|
key: "5"
|
|
266
266
|
} : void 0
|
|
267
267
|
]), 1032, [
|
|
@@ -276,19 +276,19 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
276
276
|
"footer-text"
|
|
277
277
|
]));
|
|
278
278
|
}
|
|
279
|
-
},
|
|
279
|
+
}, Le = {
|
|
280
280
|
key: 0,
|
|
281
281
|
class: "mwnf-standalone-highlight"
|
|
282
|
-
},
|
|
282
|
+
}, Re = ["src", "alt"], ze = {
|
|
283
283
|
key: 1,
|
|
284
284
|
class: "mwnf-standalone-highlight__heading"
|
|
285
|
-
},
|
|
285
|
+
}, Be = { class: "mwnf-standalone-highlight__lines" }, Ve = ["innerHTML"], He = {
|
|
286
286
|
key: 2,
|
|
287
287
|
class: "mwnf-standalone-highlight__place"
|
|
288
|
-
},
|
|
288
|
+
}, Ue = {
|
|
289
289
|
key: 3,
|
|
290
290
|
class: "mwnf-standalone-highlight__action"
|
|
291
|
-
},
|
|
291
|
+
}, We = {
|
|
292
292
|
__name: "TodayHighlight",
|
|
293
293
|
props: {
|
|
294
294
|
record: {
|
|
@@ -342,38 +342,38 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
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 ? (
|
|
346
|
-
s.value ? (
|
|
345
|
+
return (t, i) => e.record ? (T(), f("div", Le, [
|
|
346
|
+
s.value ? (T(), u(n, {
|
|
347
347
|
key: 0,
|
|
348
348
|
class: "mwnf-standalone-highlight__media",
|
|
349
349
|
to: e.to
|
|
350
350
|
}, {
|
|
351
|
-
default:
|
|
351
|
+
default: z(() => [p("img", {
|
|
352
352
|
class: "mwnf-standalone-highlight__image",
|
|
353
353
|
src: s.value,
|
|
354
354
|
alt: m.value
|
|
355
|
-
}, null, 8,
|
|
355
|
+
}, null, 8, Re)]),
|
|
356
356
|
_: 1
|
|
357
357
|
}, 8, ["to"])) : d("", !0),
|
|
358
|
-
e.heading ? (
|
|
359
|
-
p("p",
|
|
360
|
-
o.value ? (
|
|
361
|
-
e.action ? (
|
|
362
|
-
default:
|
|
358
|
+
e.heading ? (T(), f("p", ze, [p("strong", null, A(j(r)(e.heading)), 1)])) : d("", !0),
|
|
359
|
+
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))]),
|
|
360
|
+
o.value ? (T(), f("p", He, A(j(K)(o.value)), 1)) : d("", !0),
|
|
361
|
+
e.action ? (T(), f("p", Ue, [g(n, { to: e.to }, {
|
|
362
|
+
default: z(() => [h(A(j(r)(e.action)), 1)]),
|
|
363
363
|
_: 1
|
|
364
364
|
}, 8, ["to"])])) : d("", !0)
|
|
365
365
|
])) : d("", !0);
|
|
366
366
|
}
|
|
367
|
-
},
|
|
367
|
+
}, Ge = {
|
|
368
368
|
key: 0,
|
|
369
369
|
class: "mwnf-standalone-tiles"
|
|
370
|
-
},
|
|
370
|
+
}, Ke = {
|
|
371
371
|
key: 0,
|
|
372
372
|
class: "mwnf-standalone-tiles__caption"
|
|
373
|
-
},
|
|
373
|
+
}, qe = { class: "mwnf-standalone-tiles__caption-text" }, Je = { class: "mwnf-standalone-tiles__grid" }, Ye = ["src", "alt"], Xe = {
|
|
374
374
|
key: 0,
|
|
375
375
|
class: "mwnf-standalone-tiles__label"
|
|
376
|
-
},
|
|
376
|
+
}, Ze = {
|
|
377
377
|
__name: "TileGrid",
|
|
378
378
|
props: {
|
|
379
379
|
caption: {
|
|
@@ -391,7 +391,7 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
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 ? (
|
|
394
|
+
return (t, i) => a.value.length ? (T(), f("section", Ge, [e.caption ? (T(), f("p", Ke, [p("span", qe, A(j(r)(e.caption)), 1)])) : d("", !0), p("ul", Je, [(T(!0), f(c, null, O(a.value, (e) => (T(), f("li", {
|
|
395
395
|
key: e.image,
|
|
396
396
|
class: "mwnf-standalone-tiles__tile"
|
|
397
397
|
}, [g(n, {
|
|
@@ -399,18 +399,18 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
399
399
|
href: e.href,
|
|
400
400
|
class: "mwnf-standalone-tiles__link"
|
|
401
401
|
}, {
|
|
402
|
-
default:
|
|
402
|
+
default: z(() => [p("img", {
|
|
403
403
|
class: "mwnf-standalone-tiles__image",
|
|
404
404
|
src: e.image,
|
|
405
405
|
alt: e.label
|
|
406
|
-
}, null, 8,
|
|
406
|
+
}, null, 8, Ye), e.label ? (T(), f("span", Xe, A(e.label), 1)) : d("", !0)]),
|
|
407
407
|
_: 2
|
|
408
408
|
}, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
|
|
409
409
|
}
|
|
410
|
-
},
|
|
410
|
+
}, Qe = { class: "mwnf-standalone-home" }, $e = {
|
|
411
411
|
key: 0,
|
|
412
412
|
class: "mwnf-standalone-home__links"
|
|
413
|
-
},
|
|
413
|
+
}, et = { key: 1 }, tt = {
|
|
414
414
|
__name: "Home",
|
|
415
415
|
props: { home: {
|
|
416
416
|
type: Object,
|
|
@@ -422,14 +422,14 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
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 =
|
|
426
|
-
p.value?.list?.length && (
|
|
425
|
+
}))), p = l(() => o.value.highlight ?? null), m = oe();
|
|
426
|
+
p.value?.list?.length && (U(["items", "countries"]), R(i, (e) => {
|
|
427
427
|
m.loadTranslations("items", e), m.loadTranslations("countries", e);
|
|
428
428
|
}, { immediate: !0 }));
|
|
429
|
-
let _ =
|
|
429
|
+
let _ = ee("items", "backward_compatibility"), v = l(() => {
|
|
430
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(pe(e[(t + n) % e.length]));
|
|
433
433
|
if (r) return r;
|
|
434
434
|
}
|
|
435
435
|
return null;
|
|
@@ -439,15 +439,15 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
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),
|
|
442
|
+
} : null), w = Y(), E = l(() => {
|
|
443
443
|
let e = p.value?.pictures ?? [];
|
|
444
|
-
return e.length ?
|
|
445
|
-
}),
|
|
444
|
+
return e.length ? w(X(e)) ?? "" : "";
|
|
445
|
+
}), D = l(() => {
|
|
446
446
|
let e = o.value.tiles?.items;
|
|
447
447
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
448
448
|
});
|
|
449
|
-
return (e, t) => (
|
|
450
|
-
s.value.length ? (
|
|
449
|
+
return (e, t) => (T(), f("div", Qe, [
|
|
450
|
+
s.value.length ? (T(), f("ul", $e, [(T(!0), f(c, null, O(s.value, (e) => (T(), 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 pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
456
456
|
external: !!e.external,
|
|
457
457
|
title: e.title
|
|
458
458
|
}, {
|
|
459
|
-
default:
|
|
459
|
+
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))]),
|
|
460
460
|
_: 2
|
|
461
461
|
}, 1032, [
|
|
462
462
|
"to",
|
|
@@ -464,7 +464,7 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
464
464
|
"external",
|
|
465
465
|
"title"
|
|
466
466
|
])], 2))), 128))])) : d("", !0),
|
|
467
|
-
p.value ? (
|
|
467
|
+
p.value ? (T(), u(We, {
|
|
468
468
|
key: 1,
|
|
469
469
|
record: v.value,
|
|
470
470
|
text: y.value,
|
|
@@ -486,15 +486,15 @@ var pe = { class: "mwnf-standalone-sponsors" }, me = {
|
|
|
486
486
|
"also-known-as",
|
|
487
487
|
"action"
|
|
488
488
|
])) : d("", !0),
|
|
489
|
-
o.value.tiles ? (
|
|
489
|
+
o.value.tiles ? (T(), u(Ze, {
|
|
490
490
|
key: 2,
|
|
491
491
|
caption: o.value.tiles.caption ?? "",
|
|
492
|
-
items:
|
|
492
|
+
items: D.value
|
|
493
493
|
}, null, 8, ["caption", "items"])) : d("", !0),
|
|
494
|
-
|
|
494
|
+
k(e.$slots, "default")
|
|
495
495
|
]));
|
|
496
496
|
}
|
|
497
|
-
},
|
|
497
|
+
}, 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\"]";
|
|
498
498
|
function Z(e) {
|
|
499
499
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
500
500
|
"&": "&",
|
|
@@ -503,7 +503,7 @@ function Z(e) {
|
|
|
503
503
|
"\"": """
|
|
504
504
|
})[e]);
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var ot = /* @__PURE__ */ new Set([
|
|
507
507
|
"I",
|
|
508
508
|
"EM",
|
|
509
509
|
"B",
|
|
@@ -511,7 +511,7 @@ var at = /* @__PURE__ */ new Set([
|
|
|
511
511
|
"U",
|
|
512
512
|
"SUP",
|
|
513
513
|
"SUB"
|
|
514
|
-
]),
|
|
514
|
+
]), st = /* @__PURE__ */ new Set([
|
|
515
515
|
"P",
|
|
516
516
|
"DIV",
|
|
517
517
|
"LI",
|
|
@@ -527,12 +527,12 @@ function Q(e) {
|
|
|
527
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(at)) return;
|
|
531
531
|
if (e.tagName === "BR") {
|
|
532
532
|
n().push("<br/>");
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
|
-
let t =
|
|
535
|
+
let t = st.has(e.tagName), a = ot.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,12 +540,12 @@ function Q(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 ct(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(`${rt}, ${it}`)) {
|
|
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;
|
|
@@ -553,7 +553,7 @@ function st(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
553
553
|
continue;
|
|
554
554
|
}
|
|
555
555
|
let e = Q(t);
|
|
556
|
-
e && i.push(t.matches(
|
|
556
|
+
e && i.push(t.matches(rt) ? `<h3>${e}</h3>` : `<p>${e}</p>`);
|
|
557
557
|
}
|
|
558
558
|
let a = n === "rtl" ? " style=\"direction: rtl;\"" : "";
|
|
559
559
|
return `<html>
|
|
@@ -561,7 +561,7 @@ function st(e, { title: t = "", dir: n = "" } = {}) {
|
|
|
561
561
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
562
562
|
<head>
|
|
563
563
|
<style>
|
|
564
|
-
${
|
|
564
|
+
${nt}
|
|
565
565
|
</style>
|
|
566
566
|
</head>
|
|
567
567
|
<body>
|
|
@@ -575,11 +575,11 @@ ${i.join("\n")}
|
|
|
575
575
|
</body>
|
|
576
576
|
</html>`;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function lt(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 ut({ 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
585
|
return t.innerHTML = e ?? "", Q(t);
|
|
@@ -616,7 +616,7 @@ ${r.map(u).join("\n")}
|
|
|
616
616
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
617
617
|
<head>
|
|
618
618
|
<style>
|
|
619
|
-
${
|
|
619
|
+
${nt}
|
|
620
620
|
</style>
|
|
621
621
|
</head>
|
|
622
622
|
<body>
|
|
@@ -634,10 +634,10 @@ ${d}
|
|
|
634
634
|
}
|
|
635
635
|
//#endregion
|
|
636
636
|
//#region src/standalone/RelatedContent.vue
|
|
637
|
-
var
|
|
637
|
+
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 = {
|
|
638
638
|
key: 0,
|
|
639
639
|
class: "mwnf-standalone-related__download"
|
|
640
|
-
},
|
|
640
|
+
}, vt = { class: "mwnf-standalone-related__download-heading" }, yt = {
|
|
641
641
|
__name: "RelatedContent",
|
|
642
642
|
props: {
|
|
643
643
|
heading: {
|
|
@@ -671,51 +671,51 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
671
671
|
}
|
|
672
672
|
function o(e) {
|
|
673
673
|
let n = e.currentTarget.closest(".mwnf-standalone-item");
|
|
674
|
-
n && ct(
|
|
674
|
+
n && lt(ct(n.querySelector(".mwnf-record__main") ?? n, {
|
|
675
675
|
title: t.download?.title ? r(t.download.title) : "",
|
|
676
676
|
dir: getComputedStyle(n).direction
|
|
677
677
|
}), t.wordFile);
|
|
678
678
|
}
|
|
679
|
-
return (t, s) => (
|
|
680
|
-
p("p",
|
|
681
|
-
(
|
|
679
|
+
return (t, s) => (T(), f("aside", dt, [
|
|
680
|
+
p("p", ft, [p("strong", null, A(j(r)(e.heading)), 1)]),
|
|
681
|
+
(T(!0), f(c, null, O(i.value, (e) => (T(), f("div", {
|
|
682
682
|
key: e.heading,
|
|
683
683
|
class: "mwnf-standalone-related__group"
|
|
684
|
-
}, [p("p",
|
|
684
|
+
}, [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(n, {
|
|
685
685
|
to: e.to,
|
|
686
686
|
title: e.imageAlt
|
|
687
687
|
}, {
|
|
688
|
-
default:
|
|
688
|
+
default: z(() => [e.image ? (T(), f("img", {
|
|
689
689
|
key: 0,
|
|
690
690
|
src: e.image,
|
|
691
691
|
alt: e.imageAlt
|
|
692
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, ht)) : (T(), f("span", {
|
|
693
693
|
key: 1,
|
|
694
694
|
innerHTML: e.name
|
|
695
|
-
}, null, 8,
|
|
695
|
+
}, null, 8, gt))]),
|
|
696
696
|
_: 2
|
|
697
697
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
698
|
-
|
|
699
|
-
e.download ? (
|
|
700
|
-
p("p",
|
|
698
|
+
k(t.$slots, "default"),
|
|
699
|
+
e.download ? (T(), f("div", _t, [
|
|
700
|
+
p("p", vt, A(j(r)(e.download.heading)), 1),
|
|
701
701
|
p("button", {
|
|
702
702
|
type: "button",
|
|
703
703
|
class: "mwnf-standalone-related__print",
|
|
704
704
|
onClick: a
|
|
705
|
-
},
|
|
706
|
-
e.download.word ? (
|
|
705
|
+
}, A(j(r)(e.download.print)), 1),
|
|
706
|
+
e.download.word ? (T(), f("button", {
|
|
707
707
|
key: 0,
|
|
708
708
|
type: "button",
|
|
709
709
|
class: "mwnf-standalone-related__print mwnf-standalone-related__word",
|
|
710
710
|
onClick: o
|
|
711
|
-
},
|
|
711
|
+
}, A(j(r)(e.download.word)), 1)) : d("", !0)
|
|
712
712
|
])) : d("", !0)
|
|
713
713
|
]));
|
|
714
714
|
}
|
|
715
|
-
},
|
|
715
|
+
}, bt = { class: "mwnf-standalone-item__top" }, xt = { class: "mwnf-standalone-item__left" }, St = {
|
|
716
716
|
key: 0,
|
|
717
717
|
class: "mwnf-standalone-item__back"
|
|
718
|
-
},
|
|
718
|
+
}, Ct = {
|
|
719
719
|
__name: "ItemSheet",
|
|
720
720
|
props: {
|
|
721
721
|
spec: {
|
|
@@ -736,7 +736,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
736
736
|
}
|
|
737
737
|
},
|
|
738
738
|
setup(e) {
|
|
739
|
-
let i = e, { t: s } = q(), v =
|
|
739
|
+
let i = e, { t: s } = q(), v = P(), y = l(() => ({
|
|
740
740
|
...i.spec,
|
|
741
741
|
media: () => []
|
|
742
742
|
}));
|
|
@@ -762,23 +762,23 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
762
762
|
let C = l(() => i.back.map((e) => ({
|
|
763
763
|
...e,
|
|
764
764
|
label: s(e.label)
|
|
765
|
-
}))),
|
|
765
|
+
}))), w = /* @__PURE__ */ new Set([
|
|
766
766
|
"header",
|
|
767
767
|
"before-sheet",
|
|
768
768
|
"related",
|
|
769
769
|
"sidebar",
|
|
770
770
|
"aside",
|
|
771
771
|
"source"
|
|
772
|
-
]), E = l(() => Object.keys(v).filter((e) => !
|
|
773
|
-
function
|
|
772
|
+
]), E = l(() => Object.keys(v).filter((e) => !w.has(e)));
|
|
773
|
+
function D() {
|
|
774
774
|
window.history.back();
|
|
775
775
|
}
|
|
776
|
-
return (i, a) => (
|
|
776
|
+
return (i, a) => (T(), u(o, {
|
|
777
777
|
spec: y.value,
|
|
778
778
|
id: e.id,
|
|
779
779
|
class: "mwnf-standalone-item"
|
|
780
780
|
}, m({
|
|
781
|
-
header:
|
|
781
|
+
header: z(({ languages: e, language: n, select: r }) => [p("div", bt, [g(t, {
|
|
782
782
|
languages: e,
|
|
783
783
|
language: n,
|
|
784
784
|
from: 1,
|
|
@@ -788,31 +788,31 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
788
788
|
"language",
|
|
789
789
|
"onSelect"
|
|
790
790
|
])])]),
|
|
791
|
-
"before-sheet":
|
|
791
|
+
"before-sheet": z((e) => [p("div", xt, [C.value.length ? (T(), f("p", St, [(T(!0), f(c, null, O(C.value, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
792
792
|
key: 0,
|
|
793
793
|
type: "button",
|
|
794
794
|
class: "mwnf-standalone-item__back-link",
|
|
795
|
-
onClick:
|
|
796
|
-
},
|
|
795
|
+
onClick: D
|
|
796
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
797
797
|
key: 1,
|
|
798
798
|
class: "mwnf-standalone-item__back-link",
|
|
799
799
|
to: e.to,
|
|
800
800
|
href: e.href
|
|
801
801
|
}, {
|
|
802
|
-
default:
|
|
802
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
803
803
|
_: 2
|
|
804
804
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(r, {
|
|
805
805
|
images: b(e),
|
|
806
806
|
"thumbs-from": 1
|
|
807
|
-
}, null, 8, ["images"])]),
|
|
808
|
-
related:
|
|
807
|
+
}, null, 8, ["images"])]), k(i.$slots, "before-sheet", x(_(e)))]),
|
|
808
|
+
related: z((t) => [g(yt, {
|
|
809
809
|
heading: e.related.heading ?? "record.related.title",
|
|
810
810
|
records: t.records,
|
|
811
811
|
groups: e.related.groups ?? [],
|
|
812
812
|
download: e.related.download ?? null,
|
|
813
813
|
"word-file": e.related.download?.wordFile?.(t.record, t.language) ?? "sheet.doc"
|
|
814
814
|
}, {
|
|
815
|
-
default:
|
|
815
|
+
default: z(() => [k(i.$slots, "sidebar", x(_(t)))]),
|
|
816
816
|
_: 2
|
|
817
817
|
}, 1032, [
|
|
818
818
|
"heading",
|
|
@@ -821,44 +821,44 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
821
821
|
"download",
|
|
822
822
|
"word-file"
|
|
823
823
|
])]),
|
|
824
|
-
source:
|
|
824
|
+
source: z((e) => [k(i.$slots, "source", x(_(e)))]),
|
|
825
825
|
_: 2
|
|
826
|
-
}, [
|
|
826
|
+
}, [O(E.value, (e) => ({
|
|
827
827
|
name: e,
|
|
828
|
-
fn:
|
|
828
|
+
fn: z((t) => [k(i.$slots, e, x(_(t)))])
|
|
829
829
|
}))]), 1032, ["spec", "id"]));
|
|
830
830
|
}
|
|
831
|
-
},
|
|
831
|
+
}, wt = {
|
|
832
832
|
key: 0,
|
|
833
833
|
class: "mwnf-standalone-item__top"
|
|
834
|
-
},
|
|
834
|
+
}, Tt = {
|
|
835
835
|
key: 1,
|
|
836
836
|
hidden: ""
|
|
837
|
-
},
|
|
837
|
+
}, Et = {
|
|
838
838
|
key: 0,
|
|
839
839
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
840
|
-
},
|
|
840
|
+
}, Dt = { class: "mwnf-standalone-partner__heading" }, Ot = ["dir", "innerHTML"], kt = {
|
|
841
841
|
key: 0,
|
|
842
842
|
class: "mwnf-standalone-partner__location"
|
|
843
|
-
},
|
|
843
|
+
}, At = { class: "mwnf-standalone-partner__bar" }, jt = { class: "mwnf-standalone-partner__bar-start" }, Mt = ["aria-label", "onKeydown"], Nt = [
|
|
844
844
|
"id",
|
|
845
845
|
"aria-selected",
|
|
846
846
|
"aria-controls",
|
|
847
847
|
"tabindex",
|
|
848
848
|
"onClick"
|
|
849
|
-
],
|
|
849
|
+
], Pt = {
|
|
850
850
|
key: 0,
|
|
851
851
|
class: "mwnf-standalone-partner__divider",
|
|
852
852
|
"aria-hidden": "true"
|
|
853
|
-
},
|
|
853
|
+
}, Ft = { key: 0 }, It = ["href"], Lt = { class: "mwnf-standalone-partner__bar-end" }, Rt = { class: "mwnf-standalone-partner__body" }, zt = { class: "mwnf-standalone-partner__pictures" }, Bt = { class: "mwnf-standalone-partner__panels" }, Vt = [
|
|
854
854
|
"id",
|
|
855
855
|
"aria-labelledby",
|
|
856
856
|
"dir",
|
|
857
857
|
"innerHTML"
|
|
858
|
-
],
|
|
858
|
+
], Ht = ["id", "aria-labelledby"], Ut = ["innerHTML"], Wt = ["href"], Gt = { key: 0 }, Kt = ["href"], qt = ["href"], Jt = ["id", "aria-labelledby"], Yt = ["src"], Xt = {
|
|
859
859
|
key: 0,
|
|
860
860
|
class: "mwnf-standalone-partner__map"
|
|
861
|
-
},
|
|
861
|
+
}, Zt = { class: "mwnf-standalone-partner__map-heading" }, Qt = {
|
|
862
862
|
__name: "PartnerPage",
|
|
863
863
|
props: {
|
|
864
864
|
id: {
|
|
@@ -903,7 +903,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
903
903
|
}
|
|
904
904
|
},
|
|
905
905
|
setup(e) {
|
|
906
|
-
let a = e, { t: s, locale: m } = q(), _ =
|
|
906
|
+
let a = e, { t: s, locale: m } = q(), _ = M(), v = {
|
|
907
907
|
entity: "partners",
|
|
908
908
|
fields: [],
|
|
909
909
|
shortDescription: !1,
|
|
@@ -926,36 +926,36 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
926
926
|
label: s(e.label)
|
|
927
927
|
}));
|
|
928
928
|
}
|
|
929
|
-
function
|
|
929
|
+
function w() {
|
|
930
930
|
window.history.back();
|
|
931
931
|
}
|
|
932
|
-
function
|
|
932
|
+
function E(e, t, n) {
|
|
933
933
|
let r = [];
|
|
934
934
|
return a.about(t, n) && r.push("about"), e.hasContact && r.push("contact"), e.logos.length && r.push("logo"), r;
|
|
935
935
|
}
|
|
936
|
-
let
|
|
937
|
-
|
|
938
|
-
|
|
936
|
+
let k = D("about");
|
|
937
|
+
R(() => a.id, () => {
|
|
938
|
+
k.value = "about";
|
|
939
939
|
});
|
|
940
940
|
function N(e, t) {
|
|
941
|
-
let n = t.indexOf(
|
|
941
|
+
let n = t.indexOf(k.value), r = {
|
|
942
942
|
ArrowRight: (n + 1) % t.length,
|
|
943
943
|
ArrowLeft: (n - 1 + t.length) % t.length,
|
|
944
944
|
Home: 0,
|
|
945
945
|
End: t.length - 1
|
|
946
946
|
}[e.key];
|
|
947
|
-
r === void 0 || !t.length || (e.preventDefault(),
|
|
947
|
+
r === void 0 || !t.length || (e.preventDefault(), k.value = t[r], y(() => document.getElementById(`${_}-tab-${t[r]}`)?.focus()));
|
|
948
948
|
}
|
|
949
949
|
let P = (e) => e.pictures.map((e) => ({
|
|
950
950
|
url: e.url,
|
|
951
951
|
alt: e.alt
|
|
952
|
-
})), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.links ? e.contact.links : []],
|
|
953
|
-
return (l, m) => (
|
|
952
|
+
})), F = (e) => [...e.contact.website ? [e.contact.website] : [], ...a.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"));
|
|
953
|
+
return (l, m) => (T(), u(o, {
|
|
954
954
|
spec: v,
|
|
955
955
|
id: e.id,
|
|
956
956
|
class: "mwnf-standalone-partner"
|
|
957
957
|
}, {
|
|
958
|
-
header:
|
|
958
|
+
header: z(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (T(), f("div", wt, [g(t, {
|
|
959
959
|
languages: r.filter((e) => a.languages(n, e.code)),
|
|
960
960
|
language: i,
|
|
961
961
|
from: 1,
|
|
@@ -964,110 +964,110 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
964
964
|
"languages",
|
|
965
965
|
"language",
|
|
966
966
|
"onSelect"
|
|
967
|
-
])])) : (
|
|
968
|
-
"before-sheet":
|
|
969
|
-
C(t).length ? (
|
|
967
|
+
])])) : (T(), f("div", Tt))]),
|
|
968
|
+
"before-sheet": z(({ record: t, text: i, dir: o }) => [(T(!0), f(c, null, O([a.view(t, i)], (a) => (T(), f(c, { key: t.id }, [
|
|
969
|
+
C(t).length ? (T(), f("p", Et, [(T(!0), f(c, null, O(C(t), (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
970
970
|
key: 0,
|
|
971
971
|
type: "button",
|
|
972
972
|
class: "mwnf-standalone-item__back-link",
|
|
973
|
-
onClick:
|
|
974
|
-
},
|
|
973
|
+
onClick: w
|
|
974
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
975
975
|
key: 1,
|
|
976
976
|
class: "mwnf-standalone-item__back-link",
|
|
977
977
|
to: e.to,
|
|
978
978
|
href: e.href
|
|
979
979
|
}, {
|
|
980
|
-
default:
|
|
980
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
981
981
|
_: 2
|
|
982
982
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
|
|
983
|
-
p("div",
|
|
983
|
+
p("div", Dt, [p("h3", {
|
|
984
984
|
class: "mwnf-standalone-partner__name",
|
|
985
985
|
dir: o || void 0,
|
|
986
986
|
innerHTML: a.name
|
|
987
|
-
}, null, 8,
|
|
988
|
-
p("div",
|
|
987
|
+
}, null, 8, Ot), a.location ? (T(), f("h4", kt, [p("i", null, A(a.location), 1)])) : d("", !0)]),
|
|
988
|
+
p("div", At, [p("div", jt, [p("ul", {
|
|
989
989
|
role: "tablist",
|
|
990
990
|
class: "mwnf-standalone-partner__tabs",
|
|
991
991
|
"aria-label": a.plainName,
|
|
992
|
-
onKeydown: (e) => N(e,
|
|
993
|
-
}, [(
|
|
992
|
+
onKeydown: (e) => N(e, E(a, t, i))
|
|
993
|
+
}, [(T(!0), f(c, null, O(E(a, t, i), (e, n) => (T(), f("li", {
|
|
994
994
|
key: e,
|
|
995
995
|
role: "presentation"
|
|
996
996
|
}, [p("button", {
|
|
997
|
-
id: `${
|
|
997
|
+
id: `${j(_)}-tab-${e}`,
|
|
998
998
|
type: "button",
|
|
999
999
|
role: "tab",
|
|
1000
|
-
class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active":
|
|
1001
|
-
"aria-selected":
|
|
1002
|
-
"aria-controls": `${
|
|
1003
|
-
tabindex:
|
|
1004
|
-
onClick: (t) =>
|
|
1005
|
-
}, "\xA0" +
|
|
1000
|
+
class: b(["mwnf-standalone-partner__tab", { "mwnf-standalone-partner__tab--active": k.value === e }]),
|
|
1001
|
+
"aria-selected": k.value === e ? "true" : "false",
|
|
1002
|
+
"aria-controls": `${j(_)}-panel-${e}`,
|
|
1003
|
+
tabindex: k.value === e ? 0 : -1,
|
|
1004
|
+
onClick: (t) => k.value = e
|
|
1005
|
+
}, "\xA0" + A(S(e)), 11, Nt), n < E(a, t, i).length - 1 || a.contact.website ? (T(), f("span", Pt, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (T(), f("li", Ft, [p("a", {
|
|
1006
1006
|
class: "mwnf-standalone-partner__homepage",
|
|
1007
1007
|
href: a.contact.website.url,
|
|
1008
1008
|
target: "_blank",
|
|
1009
1009
|
rel: "noopener"
|
|
1010
|
-
}, "\xA0" +
|
|
1010
|
+
}, "\xA0" + A(S("homepage")), 9, It)])) : d("", !0)], 40, Mt)]), p("div", Lt, [e.items(t) ? (T(), u(n, {
|
|
1011
1011
|
key: 0,
|
|
1012
1012
|
class: "mwnf-standalone-partner__items",
|
|
1013
1013
|
to: e.items(t).to
|
|
1014
1014
|
}, {
|
|
1015
|
-
default:
|
|
1015
|
+
default: z(() => [h(A(j(s)(e.items(t).label)), 1)]),
|
|
1016
1016
|
_: 2
|
|
1017
1017
|
}, 1032, ["to"])) : d("", !0)])]),
|
|
1018
|
-
p("div",
|
|
1018
|
+
p("div", Rt, [p("div", zt, [a.pictures.length ? (T(), u(r, {
|
|
1019
1019
|
key: 0,
|
|
1020
1020
|
images: P(a)
|
|
1021
|
-
}, null, 8, ["images"])) : d("", !0)]), p("div",
|
|
1022
|
-
|
|
1023
|
-
id: `${
|
|
1021
|
+
}, null, 8, ["images"])) : d("", !0)]), p("div", Bt, [
|
|
1022
|
+
B(p("div", {
|
|
1023
|
+
id: `${j(_)}-panel-about`,
|
|
1024
1024
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
1025
1025
|
role: "tabpanel",
|
|
1026
|
-
"aria-labelledby": `${
|
|
1026
|
+
"aria-labelledby": `${j(_)}-tab-about`,
|
|
1027
1027
|
dir: o || void 0,
|
|
1028
1028
|
innerHTML: a.description
|
|
1029
|
-
}, null, 8,
|
|
1030
|
-
a.hasContact ?
|
|
1029
|
+
}, null, 8, Vt), [[L, k.value === "about"]]),
|
|
1030
|
+
a.hasContact ? B((T(), f("div", {
|
|
1031
1031
|
key: 0,
|
|
1032
|
-
id: `${
|
|
1032
|
+
id: `${j(_)}-panel-contact`,
|
|
1033
1033
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__contact",
|
|
1034
1034
|
role: "tabpanel",
|
|
1035
|
-
"aria-labelledby": `${
|
|
1036
|
-
}, [
|
|
1037
|
-
p("b", null,
|
|
1035
|
+
"aria-labelledby": `${j(_)}-tab-contact`
|
|
1036
|
+
}, [I(a) ? (T(), f(c, { key: 0 }, [p("p", null, [
|
|
1037
|
+
p("b", null, A(S("addresses")), 1),
|
|
1038
1038
|
m[4] ||= p("br", null, null, -1),
|
|
1039
|
-
a.contact.address ? (
|
|
1039
|
+
a.contact.address ? (T(), f(c, { key: 0 }, [p("span", {
|
|
1040
1040
|
class: "mwnf-standalone-partner__address",
|
|
1041
1041
|
innerHTML: a.contact.address
|
|
1042
|
-
}, null, 8,
|
|
1043
|
-
a.contact.phone ? (
|
|
1044
|
-
a.contact.fax ? (
|
|
1045
|
-
a.contact.email ? (
|
|
1046
|
-
]), F(a).length ? (
|
|
1042
|
+
}, null, 8, Ut), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1043
|
+
a.contact.phone ? (T(), f(c, { key: 1 }, [h(A(S("phone")) + " " + A(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1044
|
+
a.contact.fax ? (T(), f(c, { key: 2 }, [h(A(S("fax")) + " " + A(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1045
|
+
a.contact.email ? (T(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, A(a.contact.email), 9, Wt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1046
|
+
]), F(a).length ? (T(), f("p", Gt, [(T(!0), f(c, null, O(F(a), (e, t) => (T(), f(c, { key: e.url }, [t ? (T(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
|
|
1047
1047
|
href: e.url,
|
|
1048
1048
|
target: "_blank",
|
|
1049
1049
|
rel: "noopener"
|
|
1050
|
-
},
|
|
1051
|
-
e.title ? (
|
|
1052
|
-
e.name ? (
|
|
1053
|
-
e.phone ? (
|
|
1054
|
-
e.fax ? (
|
|
1055
|
-
e.email ? (
|
|
1056
|
-
]))), 128))], 8,
|
|
1057
|
-
a.logos.length ?
|
|
1050
|
+
}, A(e.label), 9, Kt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (T(!0), f(c, null, O(a.persons, (e, t) => (T(), f("p", { key: t }, [
|
|
1051
|
+
e.title ? (T(), f(c, { key: 0 }, [p("strong", null, A(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1052
|
+
e.name ? (T(), f(c, { key: 1 }, [h(A(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1053
|
+
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),
|
|
1054
|
+
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),
|
|
1055
|
+
e.email ? (T(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, A(e.email), 9, qt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1056
|
+
]))), 128))], 8, Ht)), [[L, k.value === "contact"]]) : d("", !0),
|
|
1057
|
+
a.logos.length ? B((T(), f("div", {
|
|
1058
1058
|
key: 1,
|
|
1059
|
-
id: `${
|
|
1059
|
+
id: `${j(_)}-panel-logo`,
|
|
1060
1060
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__logos",
|
|
1061
1061
|
role: "tabpanel",
|
|
1062
|
-
"aria-labelledby": `${
|
|
1063
|
-
}, [(
|
|
1062
|
+
"aria-labelledby": `${j(_)}-tab-logo`
|
|
1063
|
+
}, [(T(!0), f(c, null, O(a.logos, (e) => (T(), f("img", {
|
|
1064
1064
|
key: e.url,
|
|
1065
1065
|
src: e.url,
|
|
1066
1066
|
alt: ""
|
|
1067
|
-
}, null, 8,
|
|
1067
|
+
}, null, 8, Yt))), 128))], 8, Jt)), [[L, k.value === "logo"]]) : d("", !0)
|
|
1068
1068
|
])])
|
|
1069
1069
|
], 64))), 128))]),
|
|
1070
|
-
after:
|
|
1070
|
+
after: z(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (T(), f("section", Xt, [p("h3", Zt, A(S("map")), 1), g(i, {
|
|
1071
1071
|
provider: "google",
|
|
1072
1072
|
latitude: a.view(t, n).map.latitude,
|
|
1073
1073
|
longitude: a.view(t, n).map.longitude,
|
|
@@ -1084,13 +1084,13 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1084
1084
|
_: 1
|
|
1085
1085
|
}, 8, ["id"]));
|
|
1086
1086
|
}
|
|
1087
|
-
},
|
|
1087
|
+
}, $t = ["innerHTML"], en = {
|
|
1088
1088
|
key: 0,
|
|
1089
1089
|
class: "mwnf-standalone-page__link"
|
|
1090
|
-
},
|
|
1090
|
+
}, tn = {
|
|
1091
1091
|
key: 1,
|
|
1092
1092
|
class: "mwnf-standalone-page__print"
|
|
1093
|
-
},
|
|
1093
|
+
}, nn = {
|
|
1094
1094
|
__name: "TextPage",
|
|
1095
1095
|
props: {
|
|
1096
1096
|
body: {
|
|
@@ -1111,33 +1111,33 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1111
1111
|
}
|
|
1112
1112
|
},
|
|
1113
1113
|
setup(e) {
|
|
1114
|
-
let t = e, { t: r } = q(), i = l(() =>
|
|
1114
|
+
let t = e, { t: r } = q(), i = l(() => ae(r(t.body)));
|
|
1115
1115
|
function a() {
|
|
1116
1116
|
window.print();
|
|
1117
1117
|
}
|
|
1118
|
-
return (t, o) => (
|
|
1118
|
+
return (t, o) => (T(), f("article", { class: b(["mwnf-standalone-page", { "mwnf-standalone-page--drop-cap": e.dropCap }]) }, [
|
|
1119
1119
|
p("div", {
|
|
1120
1120
|
class: "mwnf-standalone-page__body",
|
|
1121
1121
|
innerHTML: i.value
|
|
1122
|
-
}, null, 8,
|
|
1123
|
-
e.link ? (
|
|
1122
|
+
}, null, 8, $t),
|
|
1123
|
+
e.link ? (T(), f("p", en, [g(n, {
|
|
1124
1124
|
to: e.link.to,
|
|
1125
1125
|
href: e.link.href
|
|
1126
1126
|
}, {
|
|
1127
|
-
default:
|
|
1127
|
+
default: z(() => [p("strong", null, A(e.link.text ?? j(r)(e.link.label)), 1)]),
|
|
1128
1128
|
_: 1
|
|
1129
1129
|
}, 8, ["to", "href"])])) : d("", !0),
|
|
1130
|
-
e.print ? (
|
|
1130
|
+
e.print ? (T(), f("p", tn, [p("button", {
|
|
1131
1131
|
type: "button",
|
|
1132
1132
|
class: "mwnf-standalone-page__print-button",
|
|
1133
1133
|
onClick: a
|
|
1134
|
-
},
|
|
1134
|
+
}, A(j(r)(e.print)), 1)])) : d("", !0)
|
|
1135
1135
|
], 2));
|
|
1136
1136
|
}
|
|
1137
|
-
},
|
|
1137
|
+
}, rn = {
|
|
1138
1138
|
key: 0,
|
|
1139
1139
|
class: "mwnf-standalone-subnav"
|
|
1140
|
-
},
|
|
1140
|
+
}, an = { class: "mwnf-standalone-subnav__tabs" }, on = {
|
|
1141
1141
|
__name: "SubNav",
|
|
1142
1142
|
props: {
|
|
1143
1143
|
tabs: {
|
|
@@ -1154,36 +1154,36 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1154
1154
|
...e,
|
|
1155
1155
|
label: r(e.label)
|
|
1156
1156
|
})));
|
|
1157
|
-
return (t, a) => i.value.length || e.aside ? (
|
|
1157
|
+
return (t, a) => i.value.length || e.aside ? (T(), f("nav", rn, [p("ul", an, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("li", { key: e.label }, [g(n, {
|
|
1158
1158
|
to: e.to,
|
|
1159
1159
|
href: e.href,
|
|
1160
1160
|
class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
1161
1161
|
"aria-current": e.active ? "page" : void 0
|
|
1162
1162
|
}, {
|
|
1163
|
-
default:
|
|
1163
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1164
1164
|
_: 2
|
|
1165
1165
|
}, 1032, [
|
|
1166
1166
|
"to",
|
|
1167
1167
|
"href",
|
|
1168
1168
|
"class",
|
|
1169
1169
|
"aria-current"
|
|
1170
|
-
])]))), 128))]), e.aside ? (
|
|
1170
|
+
])]))), 128))]), e.aside ? (T(), u(n, {
|
|
1171
1171
|
key: 0,
|
|
1172
1172
|
to: e.aside.to,
|
|
1173
1173
|
href: e.aside.href,
|
|
1174
1174
|
class: "mwnf-standalone-subnav__aside"
|
|
1175
1175
|
}, {
|
|
1176
|
-
default:
|
|
1176
|
+
default: z(() => [h(A(j(r)(e.aside.label)), 1)]),
|
|
1177
1177
|
_: 1
|
|
1178
1178
|
}, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
|
|
1179
1179
|
}
|
|
1180
|
-
},
|
|
1180
|
+
}, sn = { class: "mwnf-standalone-results" }, cn = {
|
|
1181
1181
|
key: 0,
|
|
1182
1182
|
class: "mwnf-standalone-results__empty"
|
|
1183
|
-
},
|
|
1183
|
+
}, ln = { class: "mwnf-standalone-results__tile" }, un = ["src"], dn = { class: "mwnf-standalone-results__panel" }, fn = ["src"], pn = { class: "mwnf-standalone-results__name" }, mn = ["innerHTML"], hn = ["innerHTML"], gn = {
|
|
1184
1184
|
key: 0,
|
|
1185
1185
|
class: "mwnf-standalone-results__holder"
|
|
1186
|
-
},
|
|
1186
|
+
}, _n = ["innerHTML"], vn = ["innerHTML"], yn = {
|
|
1187
1187
|
__name: "ResultsGrid",
|
|
1188
1188
|
props: {
|
|
1189
1189
|
rows: {
|
|
@@ -1204,64 +1204,64 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1204
1204
|
}
|
|
1205
1205
|
},
|
|
1206
1206
|
setup(e) {
|
|
1207
|
-
return (t, r) => (
|
|
1207
|
+
return (t, r) => (T(), f("div", sn, [e.rows.length ? d("", !0) : (T(), f("p", cn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1208
1208
|
key: t.id,
|
|
1209
1209
|
class: "mwnf-standalone-results__cell"
|
|
1210
|
-
}, [p("div",
|
|
1210
|
+
}, [p("div", ln, [g(n, {
|
|
1211
1211
|
class: "mwnf-standalone-results__frame",
|
|
1212
1212
|
to: t.to,
|
|
1213
1213
|
href: t.href
|
|
1214
1214
|
}, {
|
|
1215
|
-
default:
|
|
1215
|
+
default: z(() => [p("img", {
|
|
1216
1216
|
src: t.image || e.noImage,
|
|
1217
1217
|
alt: ""
|
|
1218
|
-
}, null, 8,
|
|
1218
|
+
}, null, 8, un)]),
|
|
1219
1219
|
_: 2
|
|
1220
|
-
}, 1032, ["to", "href"]), p("div",
|
|
1220
|
+
}, 1032, ["to", "href"]), p("div", dn, [
|
|
1221
1221
|
g(n, {
|
|
1222
1222
|
class: "mwnf-standalone-results__panel-frame",
|
|
1223
1223
|
to: t.to,
|
|
1224
1224
|
href: t.href
|
|
1225
1225
|
}, {
|
|
1226
|
-
default:
|
|
1226
|
+
default: z(() => [p("img", {
|
|
1227
1227
|
src: t.image || e.noImage,
|
|
1228
1228
|
alt: ""
|
|
1229
|
-
}, null, 8,
|
|
1229
|
+
}, null, 8, fn)]),
|
|
1230
1230
|
_: 2
|
|
1231
1231
|
}, 1032, ["to", "href"]),
|
|
1232
|
-
p("p",
|
|
1232
|
+
p("p", pn, [p("strong", null, [g(n, {
|
|
1233
1233
|
to: t.to,
|
|
1234
1234
|
href: t.href
|
|
1235
1235
|
}, {
|
|
1236
|
-
default:
|
|
1236
|
+
default: z(() => [p("span", { innerHTML: t.name }, null, 8, mn)]),
|
|
1237
1237
|
_: 2
|
|
1238
1238
|
}, 1032, ["to", "href"])])]),
|
|
1239
|
-
(
|
|
1239
|
+
(T(!0), f(c, null, O(t.lines ?? [], (e, t) => (T(), f("p", {
|
|
1240
1240
|
key: t,
|
|
1241
1241
|
innerHTML: e
|
|
1242
|
-
}, null, 8,
|
|
1243
|
-
t.holder ? (
|
|
1244
|
-
t.location ? (
|
|
1242
|
+
}, null, 8, hn))), 128)),
|
|
1243
|
+
t.holder ? (T(), f("p", gn, [p("strong", { innerHTML: t.holder }, null, 8, _n)])) : d("", !0),
|
|
1244
|
+
t.location ? (T(), f("p", {
|
|
1245
1245
|
key: 1,
|
|
1246
1246
|
innerHTML: t.location
|
|
1247
|
-
}, null, 8,
|
|
1247
|
+
}, null, 8, vn)) : d("", !0),
|
|
1248
1248
|
p("p", null, [g(n, {
|
|
1249
1249
|
class: "mwnf-standalone-results__see",
|
|
1250
1250
|
to: t.to,
|
|
1251
1251
|
href: t.href
|
|
1252
1252
|
}, {
|
|
1253
|
-
default:
|
|
1253
|
+
default: z(() => [h(A(e.seeLabel), 1)]),
|
|
1254
1254
|
_: 1
|
|
1255
1255
|
}, 8, ["to", "href"])])
|
|
1256
1256
|
])])]))), 128))]));
|
|
1257
1257
|
}
|
|
1258
|
-
},
|
|
1258
|
+
}, bn = { class: "mwnf-standalone-list" }, xn = { class: "mwnf-standalone-list__aside" }, Sn = {
|
|
1259
1259
|
key: 0,
|
|
1260
1260
|
class: "mwnf-standalone-list__preview"
|
|
1261
|
-
},
|
|
1261
|
+
}, Cn = { class: "mwnf-standalone-list__preview-picture" }, wn = ["src"], Tn = { class: "mwnf-standalone-list__preview-name" }, En = ["innerHTML"], Dn = ["innerHTML"], On = { key: 0 }, kn = ["innerHTML"], An = ["innerHTML"], jn = { class: "mwnf-standalone-list__records" }, Mn = {
|
|
1262
1262
|
key: 0,
|
|
1263
1263
|
class: "mwnf-standalone-list__empty"
|
|
1264
|
-
},
|
|
1264
|
+
}, Nn = { class: "mwnf-standalone-list__frame" }, Pn = ["src"], Fn = { class: "mwnf-standalone-list__content" }, In = ["innerHTML"], Ln = ["innerHTML"], Rn = { key: 0 }, zn = ["innerHTML"], Bn = {
|
|
1265
1265
|
__name: "ResultsList",
|
|
1266
1266
|
props: {
|
|
1267
1267
|
rows: {
|
|
@@ -1278,73 +1278,73 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1278
1278
|
}
|
|
1279
1279
|
},
|
|
1280
1280
|
setup(e) {
|
|
1281
|
-
let t = e, r =
|
|
1282
|
-
return (t, a) => (
|
|
1283
|
-
p("div",
|
|
1281
|
+
let t = e, r = D(null), i = l(() => r.value ?? t.rows[0] ?? null);
|
|
1282
|
+
return (t, a) => (T(), f("div", bn, [p("div", xn, [i.value ? (T(), f("div", Sn, [
|
|
1283
|
+
p("div", Cn, [i.value.image || e.noImage ? (T(), f("img", {
|
|
1284
1284
|
key: 0,
|
|
1285
1285
|
src: i.value.image || e.noImage,
|
|
1286
1286
|
alt: ""
|
|
1287
|
-
}, null, 8,
|
|
1288
|
-
p("p",
|
|
1289
|
-
(
|
|
1287
|
+
}, null, 8, wn)) : d("", !0)]),
|
|
1288
|
+
p("p", Tn, [p("strong", { innerHTML: i.value.name }, null, 8, En)]),
|
|
1289
|
+
(T(!0), f(c, null, O(i.value.preview?.lines ?? [], (e, t) => (T(), f("p", {
|
|
1290
1290
|
key: t,
|
|
1291
1291
|
innerHTML: e
|
|
1292
|
-
}, null, 8,
|
|
1293
|
-
i.value.preview?.holder ? (
|
|
1294
|
-
i.value.preview?.location ? (
|
|
1292
|
+
}, null, 8, Dn))), 128)),
|
|
1293
|
+
i.value.preview?.holder ? (T(), f("p", On, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, kn)])) : d("", !0),
|
|
1294
|
+
i.value.preview?.location ? (T(), f("p", {
|
|
1295
1295
|
key: 1,
|
|
1296
1296
|
innerHTML: i.value.preview.location
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
])) : d("", !0)]), p("div",
|
|
1297
|
+
}, null, 8, An)) : d("", !0)
|
|
1298
|
+
])) : d("", !0)]), p("div", jn, [e.rows.length ? d("", !0) : (T(), f("p", Mn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1299
1299
|
key: t.id,
|
|
1300
1300
|
class: "mwnf-standalone-list__cell"
|
|
1301
|
-
}, [p("div",
|
|
1301
|
+
}, [p("div", Nn, [g(n, {
|
|
1302
1302
|
to: t.to,
|
|
1303
1303
|
href: t.href,
|
|
1304
1304
|
onMouseenter: (e) => r.value = t,
|
|
1305
1305
|
onMouseleave: a[0] ||= (e) => r.value = null
|
|
1306
1306
|
}, {
|
|
1307
|
-
default:
|
|
1307
|
+
default: z(() => [t.image || e.noImage ? (T(), f("img", {
|
|
1308
1308
|
key: 0,
|
|
1309
1309
|
src: t.image || e.noImage,
|
|
1310
1310
|
alt: ""
|
|
1311
|
-
}, null, 8,
|
|
1311
|
+
}, null, 8, Pn)) : d("", !0)]),
|
|
1312
1312
|
_: 2
|
|
1313
1313
|
}, 1032, [
|
|
1314
1314
|
"to",
|
|
1315
1315
|
"href",
|
|
1316
1316
|
"onMouseenter"
|
|
1317
|
-
])]), p("div",
|
|
1317
|
+
])]), p("div", Fn, [p("p", null, [g(n, {
|
|
1318
1318
|
to: t.to,
|
|
1319
1319
|
href: t.href,
|
|
1320
1320
|
onMouseenter: (e) => r.value = t,
|
|
1321
1321
|
onMouseleave: a[1] ||= (e) => r.value = null
|
|
1322
1322
|
}, {
|
|
1323
|
-
default:
|
|
1323
|
+
default: z(() => [
|
|
1324
1324
|
p("span", {
|
|
1325
1325
|
class: "mwnf-standalone-list__name",
|
|
1326
1326
|
innerHTML: `${t.name},`
|
|
1327
|
-
}, null, 8,
|
|
1327
|
+
}, null, 8, In),
|
|
1328
1328
|
a[2] ||= h(),
|
|
1329
|
-
p("span", { innerHTML: t.place }, null, 8,
|
|
1329
|
+
p("span", { innerHTML: t.place }, null, 8, Ln)
|
|
1330
1330
|
]),
|
|
1331
1331
|
_: 2
|
|
1332
1332
|
}, 1032, [
|
|
1333
1333
|
"to",
|
|
1334
1334
|
"href",
|
|
1335
1335
|
"onMouseenter"
|
|
1336
|
-
])]), t.dates ? (
|
|
1336
|
+
])]), t.dates ? (T(), f("div", Rn, [p("i", { innerHTML: t.dates }, null, 8, zn)])) : d("", !0)])]))), 128))])]));
|
|
1337
1337
|
}
|
|
1338
|
-
},
|
|
1338
|
+
}, Vn = { class: "mwnf-standalone-refine__row" }, Hn = {
|
|
1339
1339
|
class: "mwnf-standalone-refine__label",
|
|
1340
1340
|
for: "mwnf-standalone-refine-keyword"
|
|
1341
|
-
},
|
|
1341
|
+
}, Un = {
|
|
1342
1342
|
class: "mwnf-standalone-refine__label",
|
|
1343
1343
|
for: "mwnf-standalone-refine-field"
|
|
1344
|
-
},
|
|
1344
|
+
}, Wn = ["value"], Gn = {
|
|
1345
1345
|
type: "submit",
|
|
1346
1346
|
class: "mwnf-standalone-refine__button"
|
|
1347
|
-
},
|
|
1347
|
+
}, Kn = {
|
|
1348
1348
|
__name: "Refine",
|
|
1349
1349
|
props: {
|
|
1350
1350
|
label: {
|
|
@@ -1374,7 +1374,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1374
1374
|
},
|
|
1375
1375
|
emits: ["search"],
|
|
1376
1376
|
setup(e, { emit: t }) {
|
|
1377
|
-
let r = e, i = t, a =
|
|
1377
|
+
let r = e, i = t, a = D(""), o = D(r.fields[0]?.value ?? "");
|
|
1378
1378
|
function s() {
|
|
1379
1379
|
let e = a.value.trim();
|
|
1380
1380
|
e && i("search", {
|
|
@@ -1382,39 +1382,39 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1382
1382
|
field: o.value
|
|
1383
1383
|
});
|
|
1384
1384
|
}
|
|
1385
|
-
return (t, r) => (
|
|
1385
|
+
return (t, r) => (T(), f("form", {
|
|
1386
1386
|
class: "mwnf-standalone-refine",
|
|
1387
|
-
onSubmit:
|
|
1388
|
-
}, [p("div",
|
|
1389
|
-
p("label",
|
|
1390
|
-
|
|
1387
|
+
onSubmit: V(s, ["prevent"])
|
|
1388
|
+
}, [p("div", Vn, [
|
|
1389
|
+
p("label", Hn, A(e.label), 1),
|
|
1390
|
+
B(p("input", {
|
|
1391
1391
|
id: "mwnf-standalone-refine-keyword",
|
|
1392
1392
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
1393
1393
|
type: "text",
|
|
1394
1394
|
size: "40"
|
|
1395
|
-
}, null, 512), [[
|
|
1396
|
-
p("label",
|
|
1397
|
-
|
|
1395
|
+
}, null, 512), [[I, a.value]]),
|
|
1396
|
+
p("label", Un, A(e.inLabel), 1),
|
|
1397
|
+
B(p("select", {
|
|
1398
1398
|
id: "mwnf-standalone-refine-field",
|
|
1399
1399
|
"onUpdate:modelValue": r[1] ||= (e) => o.value = e
|
|
1400
|
-
}, [(
|
|
1400
|
+
}, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
|
|
1401
1401
|
key: e.value,
|
|
1402
1402
|
value: e.value
|
|
1403
|
-
},
|
|
1404
|
-
p("button",
|
|
1403
|
+
}, A(e.label), 9, Wn))), 128))], 512), [[F, o.value]]),
|
|
1404
|
+
p("button", Gn, A(e.searchLabel), 1),
|
|
1405
1405
|
g(n, {
|
|
1406
1406
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1407
1407
|
to: e.newSearch
|
|
1408
1408
|
}, {
|
|
1409
|
-
default:
|
|
1409
|
+
default: z(() => [h(A(e.newSearchLabel), 1)]),
|
|
1410
1410
|
_: 1
|
|
1411
1411
|
}, 8, ["to"])
|
|
1412
1412
|
])], 32));
|
|
1413
1413
|
}
|
|
1414
|
-
},
|
|
1414
|
+
}, qn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Jn = { class: "mwnf-standalone-pl__heads" }, Yn = { class: "mwnf-standalone-pl__head" }, Xn = { key: 0 }, Zn = ["onClick"], Qn = { class: "mwnf-standalone-pl__row" }, $n = { class: "mwnf-standalone-pl__main" }, er = { class: "mwnf-standalone-pl__associated" }, tr = {
|
|
1415
1415
|
key: 0,
|
|
1416
1416
|
class: "mwnf-standalone-pl__none"
|
|
1417
|
-
},
|
|
1417
|
+
}, nr = {
|
|
1418
1418
|
__name: "PartnerList",
|
|
1419
1419
|
props: {
|
|
1420
1420
|
type: {
|
|
@@ -1443,56 +1443,56 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1443
1443
|
}
|
|
1444
1444
|
},
|
|
1445
1445
|
setup(e) {
|
|
1446
|
-
let t = e, r = l(() => t.type === "museum"), i =
|
|
1447
|
-
|
|
1446
|
+
let t = e, r = l(() => t.type === "museum"), i = D(null), a = D(/* @__PURE__ */ new Set());
|
|
1447
|
+
R([r, () => t.groups.length], () => {
|
|
1448
1448
|
i.value = r.value ? null : 0, a.value = r.value ? /* @__PURE__ */ new Set() : new Set(t.groups.map((e, t) => t));
|
|
1449
1449
|
}, { immediate: !0 });
|
|
1450
1450
|
function o(e) {
|
|
1451
1451
|
let t = i.value === e;
|
|
1452
1452
|
i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1453
1453
|
}
|
|
1454
|
-
return (t, s) => (
|
|
1455
|
-
p("p",
|
|
1454
|
+
return (t, s) => (T(), f("div", { class: b(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1455
|
+
p("p", qn, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1456
1456
|
key: 0,
|
|
1457
1457
|
type: "button",
|
|
1458
1458
|
class: "mwnf-standalone-item__back-link",
|
|
1459
1459
|
onClick: s[0] ||= (e) => t.$router.back()
|
|
1460
|
-
},
|
|
1460
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1461
1461
|
key: 1,
|
|
1462
1462
|
class: "mwnf-standalone-item__back-link",
|
|
1463
1463
|
to: e.to,
|
|
1464
1464
|
href: e.href
|
|
1465
1465
|
}, {
|
|
1466
|
-
default:
|
|
1466
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1467
1467
|
_: 2
|
|
1468
|
-
}, 1032, ["to", "href"]))], 64))), 128)),
|
|
1469
|
-
p("div",
|
|
1470
|
-
(
|
|
1468
|
+
}, 1032, ["to", "href"]))], 64))), 128)), k(t.$slots, "back")]),
|
|
1469
|
+
p("div", Jn, [(T(!0), f(c, null, O(e.heads, (e) => (T(), f("h3", { key: e }, A(e), 1))), 128))]),
|
|
1470
|
+
(T(!0), f(c, null, O(e.groups, (t, s) => (T(), f("div", {
|
|
1471
1471
|
key: t.label,
|
|
1472
1472
|
class: "mwnf-standalone-pl__group"
|
|
1473
|
-
}, [p("div",
|
|
1473
|
+
}, [p("div", Yn, [r.value ? (T(), f("h3", Xn, A(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
|
|
1474
1474
|
href: "#",
|
|
1475
1475
|
class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
|
|
1476
|
-
onClick:
|
|
1477
|
-
},
|
|
1476
|
+
onClick: V((e) => o(s), ["prevent"])
|
|
1477
|
+
}, A(r.value ? e.seeAssociated : t.label), 11, Zn)])]), B(p("div", Qn, [p("div", $n, [(T(!0), f(c, null, O(t.main, (e) => (T(), f("p", { key: e.id }, [g(n, {
|
|
1478
1478
|
to: e.to,
|
|
1479
1479
|
href: e.href
|
|
1480
1480
|
}, {
|
|
1481
|
-
default:
|
|
1481
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1482
1482
|
_: 2
|
|
1483
|
-
}, 1032, ["to", "href"])]))), 128))]),
|
|
1483
|
+
}, 1032, ["to", "href"])]))), 128))]), B(p("div", er, [(T(!0), f(c, null, O(t.associated, (e) => (T(), f("p", { key: e.id }, [g(n, {
|
|
1484
1484
|
to: e.to,
|
|
1485
1485
|
href: e.href
|
|
1486
1486
|
}, {
|
|
1487
|
-
default:
|
|
1487
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1488
1488
|
_: 2
|
|
1489
|
-
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (
|
|
1489
|
+
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (T(), f("p", tr, A(e.noAssociated), 1)) : d("", !0)], 512), [[L, !r.value || a.value.has(s)]])], 512), [[L, r.value || a.value.has(s)]])]))), 128))
|
|
1490
1490
|
], 2));
|
|
1491
1491
|
}
|
|
1492
|
-
},
|
|
1492
|
+
}, rr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, ir = {
|
|
1493
1493
|
key: 0,
|
|
1494
1494
|
class: "mwnf-standalone-sp__heading"
|
|
1495
|
-
},
|
|
1495
|
+
}, ar = ["innerHTML"], or = { class: "mwnf-standalone-sp__text" }, sr = { key: 0 }, cr = { key: 1 }, lr = { key: 2 }, ur = ["href"], dr = ["innerHTML"], fr = { class: "mwnf-standalone-sp__logo" }, pr = { key: 0 }, mr = ["src", "alt"], hr = {
|
|
1496
1496
|
__name: "SponsorList",
|
|
1497
1497
|
props: {
|
|
1498
1498
|
heading: {
|
|
@@ -1511,65 +1511,155 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1511
1511
|
setup(e) {
|
|
1512
1512
|
let t = e, r = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
|
|
1513
1513
|
...e,
|
|
1514
|
-
labelHtml: e.label ?
|
|
1515
|
-
remarksHtml: e.remarks ?
|
|
1514
|
+
labelHtml: e.label ? W(e.label) : "",
|
|
1515
|
+
remarksHtml: e.remarks ? W(e.remarks) : ""
|
|
1516
1516
|
})));
|
|
1517
|
-
return (t, a) => (
|
|
1518
|
-
p("p",
|
|
1517
|
+
return (t, a) => (T(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": r.value }]) }, [
|
|
1518
|
+
p("p", rr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1519
1519
|
key: 0,
|
|
1520
1520
|
type: "button",
|
|
1521
1521
|
class: "mwnf-standalone-item__back-link",
|
|
1522
1522
|
onClick: a[0] ||= (e) => t.$router.back()
|
|
1523
|
-
},
|
|
1523
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1524
1524
|
key: 1,
|
|
1525
1525
|
class: "mwnf-standalone-item__back-link",
|
|
1526
1526
|
to: e.to,
|
|
1527
1527
|
href: e.href
|
|
1528
1528
|
}, {
|
|
1529
|
-
default:
|
|
1529
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1530
1530
|
_: 2
|
|
1531
1531
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1532
|
-
e.heading ? (
|
|
1533
|
-
(
|
|
1532
|
+
e.heading ? (T(), f("h3", ir, A(e.heading), 1)) : d("", !0),
|
|
1533
|
+
(T(!0), f(c, null, O(i.value, (e, t) => (T(), f("div", {
|
|
1534
1534
|
key: t,
|
|
1535
1535
|
class: "mwnf-standalone-sp__row"
|
|
1536
1536
|
}, [
|
|
1537
|
-
r.value ? (
|
|
1537
|
+
r.value ? (T(), f("div", {
|
|
1538
1538
|
key: 0,
|
|
1539
1539
|
class: "mwnf-standalone-sp__label",
|
|
1540
1540
|
innerHTML: e.labelHtml
|
|
1541
|
-
}, null, 8,
|
|
1542
|
-
p("div",
|
|
1543
|
-
e.region ? (
|
|
1544
|
-
e.name ? (
|
|
1545
|
-
e.web ? (
|
|
1541
|
+
}, null, 8, ar)) : d("", !0),
|
|
1542
|
+
p("div", or, [
|
|
1543
|
+
e.region ? (T(), f("p", sr, A(e.region), 1)) : d("", !0),
|
|
1544
|
+
e.name ? (T(), f("p", cr, A(e.name), 1)) : d("", !0),
|
|
1545
|
+
e.web ? (T(), f("p", lr, [p("a", {
|
|
1546
1546
|
href: `http://${e.web}`,
|
|
1547
1547
|
target: "_blank",
|
|
1548
1548
|
rel: "noopener"
|
|
1549
|
-
},
|
|
1550
|
-
e.remarksHtml ? (
|
|
1549
|
+
}, A(e.web), 9, ur)])) : d("", !0),
|
|
1550
|
+
e.remarksHtml ? (T(), f("div", {
|
|
1551
1551
|
key: 3,
|
|
1552
1552
|
class: "mwnf-standalone-sp__remarks",
|
|
1553
1553
|
innerHTML: e.remarksHtml
|
|
1554
|
-
}, null, 8,
|
|
1554
|
+
}, null, 8, dr)) : d("", !0)
|
|
1555
1555
|
]),
|
|
1556
|
-
p("div",
|
|
1556
|
+
p("div", fr, [e.logo ? (T(), f("p", pr, [p("img", {
|
|
1557
1557
|
src: e.logo,
|
|
1558
1558
|
alt: e.name
|
|
1559
|
-
}, null, 8,
|
|
1559
|
+
}, null, 8, mr)])) : d("", !0)])
|
|
1560
1560
|
]))), 128))
|
|
1561
1561
|
], 2));
|
|
1562
1562
|
}
|
|
1563
|
-
},
|
|
1563
|
+
}, gr = { class: "mwnf-standalone-pe" }, _r = { class: "mwnf-standalone-pe__box" }, vr = { class: "mwnf-standalone-pe__name" }, yr = { class: "mwnf-standalone-pe__links" }, br = {
|
|
1564
|
+
key: 0,
|
|
1565
|
+
class: "mwnf-standalone-pe__about"
|
|
1566
|
+
}, xr = ["aria-expanded", "onClick"], Sr = {
|
|
1567
|
+
key: 1,
|
|
1568
|
+
class: "mwnf-standalone-pe__popup",
|
|
1569
|
+
role: "dialog"
|
|
1570
|
+
}, Cr = ["aria-label"], wr = {
|
|
1571
|
+
viewBox: "0 0 24 24",
|
|
1572
|
+
width: "21",
|
|
1573
|
+
height: "21",
|
|
1574
|
+
"aria-hidden": "true"
|
|
1575
|
+
}, Tr = ["id"], Er = ["mask"], Dr = ["innerHTML"], Or = {
|
|
1576
|
+
__name: "PartnersEntrance",
|
|
1577
|
+
props: {
|
|
1578
|
+
projects: {
|
|
1579
|
+
type: Array,
|
|
1580
|
+
default: () => []
|
|
1581
|
+
},
|
|
1582
|
+
aboutLabel: {
|
|
1583
|
+
type: String,
|
|
1584
|
+
default: ""
|
|
1585
|
+
},
|
|
1586
|
+
closeLabel: {
|
|
1587
|
+
type: String,
|
|
1588
|
+
default: ""
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1591
|
+
setup(e) {
|
|
1592
|
+
let t = e, r = l(() => t.projects.map((e) => ({
|
|
1593
|
+
...e,
|
|
1594
|
+
aboutHtml: e.about ? W(e.about) : ""
|
|
1595
|
+
}))), i = D(-1);
|
|
1596
|
+
function a() {
|
|
1597
|
+
i.value = -1;
|
|
1598
|
+
}
|
|
1599
|
+
function o(e) {
|
|
1600
|
+
e.key === "Escape" && a();
|
|
1601
|
+
}
|
|
1602
|
+
return R(i, (e) => {
|
|
1603
|
+
typeof document > "u" || (e >= 0 ? document.addEventListener("keydown", o) : document.removeEventListener("keydown", o));
|
|
1604
|
+
}), C(() => {
|
|
1605
|
+
typeof document < "u" && document.removeEventListener("keydown", o);
|
|
1606
|
+
}), (t, o) => (T(), f("div", gr, [i.value >= 0 ? (T(), f("div", {
|
|
1607
|
+
key: 0,
|
|
1608
|
+
class: "mwnf-standalone-pe__shade",
|
|
1609
|
+
onClick: a
|
|
1610
|
+
})) : d("", !0), (T(!0), f(c, null, O(r.value, (t, r) => (T(), f("div", {
|
|
1611
|
+
key: r,
|
|
1612
|
+
class: "mwnf-standalone-pe__row"
|
|
1613
|
+
}, [p("div", _r, [p("h3", vr, A(t.name), 1)]), p("div", yr, [
|
|
1614
|
+
o[1] ||= p("p", { "aria-hidden": "true" }, "\xA0", -1),
|
|
1615
|
+
t.aboutHtml ? (T(), f("p", br, [p("button", {
|
|
1616
|
+
type: "button",
|
|
1617
|
+
"aria-expanded": i.value === r,
|
|
1618
|
+
onClick: (e) => i.value = r
|
|
1619
|
+
}, A(e.aboutLabel), 9, xr)])) : d("", !0),
|
|
1620
|
+
i.value === r ? (T(), f("div", Sr, [p("button", {
|
|
1621
|
+
type: "button",
|
|
1622
|
+
class: "mwnf-standalone-pe__close",
|
|
1623
|
+
"aria-label": e.closeLabel || void 0,
|
|
1624
|
+
onClick: a
|
|
1625
|
+
}, [(T(), f("svg", wr, [p("mask", { id: `mwnf-standalone-pe-x${r}` }, [...o[0] ||= [p("rect", {
|
|
1626
|
+
width: "24",
|
|
1627
|
+
height: "24",
|
|
1628
|
+
fill: "#fff"
|
|
1629
|
+
}, null, -1), p("path", {
|
|
1630
|
+
d: "M8 8l8 8M16 8l-8 8",
|
|
1631
|
+
stroke: "#000",
|
|
1632
|
+
"stroke-width": "3",
|
|
1633
|
+
"stroke-linecap": "round"
|
|
1634
|
+
}, null, -1)]], 8, Tr), p("circle", {
|
|
1635
|
+
cx: "12",
|
|
1636
|
+
cy: "12",
|
|
1637
|
+
r: "12",
|
|
1638
|
+
fill: "currentColor",
|
|
1639
|
+
mask: `url(#mwnf-standalone-pe-x${r})`
|
|
1640
|
+
}, null, 8, Er)]))], 8, Cr), p("div", {
|
|
1641
|
+
class: "mwnf-standalone-pe__text",
|
|
1642
|
+
innerHTML: t.aboutHtml
|
|
1643
|
+
}, null, 8, Dr)])) : d("", !0),
|
|
1644
|
+
(T(!0), f(c, null, O(t.links, (e) => (T(), f("p", { key: e.label }, [g(n, {
|
|
1645
|
+
to: e.to,
|
|
1646
|
+
href: e.href
|
|
1647
|
+
}, {
|
|
1648
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1649
|
+
_: 2
|
|
1650
|
+
}, 1032, ["to", "href"])]))), 128))
|
|
1651
|
+
])]))), 128))]));
|
|
1652
|
+
}
|
|
1653
|
+
}, kr = { class: "mwnf-standalone-db__criteria" }, Ar = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, jr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Mr = {
|
|
1564
1654
|
key: 0,
|
|
1565
1655
|
class: "mwnf-standalone-db__aside"
|
|
1566
|
-
},
|
|
1656
|
+
}, Nr = ["onUpdate:modelValue", "aria-label"], Pr = { value: "AND" }, Fr = { value: "OR" }, Ir = ["onUpdate:modelValue", "aria-label"], Lr = ["onUpdate:modelValue"], Rr = ["value"], zr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Br = { class: "mwnf-standalone-db__dates" }, Vr = ["aria-label"], Hr = { value: "" }, Ur = ["value"], Wr = ["aria-label"], Gr = { value: "" }, Kr = ["value"], qr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, Jr = { class: "mwnf-standalone-db__language" }, Yr = ["aria-label"], Xr = ["value"], Zr = {
|
|
1567
1657
|
key: 1,
|
|
1568
1658
|
class: "mwnf-standalone-db__options"
|
|
1569
|
-
},
|
|
1659
|
+
}, Qr = { class: "mwnf-standalone-db__go" }, $r = { type: "submit" }, ei = {
|
|
1570
1660
|
key: 2,
|
|
1571
1661
|
class: "mwnf-standalone-db__listing"
|
|
1572
|
-
},
|
|
1662
|
+
}, ti = ["href", "title"], ni = {
|
|
1573
1663
|
__name: "DatabaseForm",
|
|
1574
1664
|
props: /*@__PURE__*/ v({
|
|
1575
1665
|
labels: {
|
|
@@ -1605,7 +1695,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1605
1695
|
}),
|
|
1606
1696
|
emits: /*@__PURE__*/ v(["search"], ["update:language"]),
|
|
1607
1697
|
setup(e, { emit: t }) {
|
|
1608
|
-
let n = e, r =
|
|
1698
|
+
let n = e, r = N(e, "language"), i = t, a = P(), o = E([
|
|
1609
1699
|
{
|
|
1610
1700
|
keyword: "",
|
|
1611
1701
|
field: n.fields[0]?.value ?? "",
|
|
@@ -1621,7 +1711,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1621
1711
|
field: n.fields[0]?.value ?? "",
|
|
1622
1712
|
cond: "AND"
|
|
1623
1713
|
}
|
|
1624
|
-
]), s =
|
|
1714
|
+
]), s = E({
|
|
1625
1715
|
from: "",
|
|
1626
1716
|
to: ""
|
|
1627
1717
|
}), u = l(() => !!a.options), m = (e) => typeof e == "object" ? e : {
|
|
@@ -1638,63 +1728,63 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1638
1728
|
to: s.to
|
|
1639
1729
|
});
|
|
1640
1730
|
}
|
|
1641
|
-
return (t, n) => (
|
|
1731
|
+
return (t, n) => (T(), f("form", {
|
|
1642
1732
|
class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
|
|
1643
|
-
onSubmit:
|
|
1733
|
+
onSubmit: V(_, ["prevent"])
|
|
1644
1734
|
}, [
|
|
1645
|
-
p("h3",
|
|
1646
|
-
p("p",
|
|
1647
|
-
p("p",
|
|
1648
|
-
t.$slots.aside ? (
|
|
1649
|
-
(
|
|
1650
|
-
n ?
|
|
1735
|
+
p("h3", kr, A(e.labels.criteria), 1),
|
|
1736
|
+
p("p", Ar, A(e.labels.keywords), 1),
|
|
1737
|
+
p("p", jr, A(e.labels.category), 1),
|
|
1738
|
+
t.$slots.aside ? (T(), f("p", Mr, [k(t.$slots, "aside")])) : d("", !0),
|
|
1739
|
+
(T(!0), f(c, null, O(o, (t, n) => (T(), f(c, { key: n }, [
|
|
1740
|
+
n ? B((T(), f("select", {
|
|
1651
1741
|
key: 0,
|
|
1652
1742
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1653
1743
|
class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1654
1744
|
"aria-label": `${e.labels.and} / ${e.labels.or}`
|
|
1655
|
-
}, [p("option",
|
|
1656
|
-
|
|
1745
|
+
}, [p("option", Pr, A(e.labels.and), 1), p("option", Fr, A(e.labels.or), 1)], 10, Nr)), [[F, t.cond]]) : d("", !0),
|
|
1746
|
+
B(p("input", {
|
|
1657
1747
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1658
1748
|
type: "text",
|
|
1659
1749
|
class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1660
1750
|
"aria-label": e.labels.keywords
|
|
1661
|
-
}, null, 10,
|
|
1662
|
-
p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null,
|
|
1751
|
+
}, null, 10, Ir), [[I, t.keyword]]),
|
|
1752
|
+
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", {
|
|
1663
1753
|
key: e.value,
|
|
1664
1754
|
value: e.value
|
|
1665
|
-
},
|
|
1755
|
+
}, A(e.label), 9, Rr))), 128))], 8, Lr), [[F, t.field]])], 2)
|
|
1666
1756
|
], 64))), 128)),
|
|
1667
|
-
p("span",
|
|
1668
|
-
p("p",
|
|
1757
|
+
p("span", zr, A(e.labels.date), 1),
|
|
1758
|
+
p("p", Br, [B(p("select", {
|
|
1669
1759
|
"onUpdate:modelValue": n[0] ||= (e) => s.from = e,
|
|
1670
1760
|
"aria-label": `${e.labels.date} ${e.labels.from}`
|
|
1671
|
-
}, [p("option",
|
|
1761
|
+
}, [p("option", Hr, A(e.labels.from), 1), (T(!0), f(c, null, O(h.value, (e) => (T(), f("option", {
|
|
1672
1762
|
key: e.value,
|
|
1673
1763
|
value: e.value
|
|
1674
|
-
},
|
|
1764
|
+
}, A(e.label), 9, Ur))), 128))], 8, Vr), [[F, s.from]]), B(p("select", {
|
|
1675
1765
|
"onUpdate:modelValue": n[1] ||= (e) => s.to = e,
|
|
1676
1766
|
"aria-label": `${e.labels.date} ${e.labels.to}`
|
|
1677
|
-
}, [p("option",
|
|
1767
|
+
}, [p("option", Gr, A(e.labels.to), 1), (T(!0), f(c, null, O(g.value, (e) => (T(), f("option", {
|
|
1678
1768
|
key: e.value,
|
|
1679
1769
|
value: e.value
|
|
1680
|
-
},
|
|
1681
|
-
p("span",
|
|
1682
|
-
p("p",
|
|
1770
|
+
}, A(e.label), 9, Kr))), 128))], 8, Wr), [[F, s.to]])]),
|
|
1771
|
+
p("span", qr, A(e.labels.language), 1),
|
|
1772
|
+
p("p", Jr, [B(p("select", {
|
|
1683
1773
|
"onUpdate:modelValue": n[2] ||= (e) => r.value = e,
|
|
1684
1774
|
"aria-label": e.labels.language
|
|
1685
|
-
}, [n[3] ||= p("option", { value: "" }, null, -1), (
|
|
1775
|
+
}, [n[3] ||= p("option", { value: "" }, null, -1), (T(!0), f(c, null, O(e.languages, (e) => (T(), f("option", {
|
|
1686
1776
|
key: e.code,
|
|
1687
1777
|
value: e.code
|
|
1688
|
-
},
|
|
1689
|
-
u.value ? (
|
|
1690
|
-
p("p",
|
|
1691
|
-
e.listingHref ? (
|
|
1778
|
+
}, A(e.name), 9, Xr))), 128))], 8, Yr), [[F, r.value]])]),
|
|
1779
|
+
u.value ? (T(), f("p", Zr, [k(t.$slots, "options")])) : d("", !0),
|
|
1780
|
+
p("p", Qr, [p("button", $r, A(e.labels.go), 1)]),
|
|
1781
|
+
e.listingHref ? (T(), f("p", ei, [p("a", {
|
|
1692
1782
|
href: e.listingHref,
|
|
1693
1783
|
title: e.labels.listingTooltip
|
|
1694
|
-
},
|
|
1784
|
+
}, A(e.labels.listing), 9, ti)])) : d("", !0)
|
|
1695
1785
|
], 34));
|
|
1696
1786
|
}
|
|
1697
|
-
},
|
|
1787
|
+
}, ri = { class: "mwnf-standalone-tle__country" }, ii = ["aria-label"], ai = { value: "none" }, oi = { value: "" }, si = ["value"], ci = { class: "mwnf-standalone-tle__date" }, li = ["aria-label"], ui = { value: "none" }, di = ["value"], fi = { class: "mwnf-standalone-tle__date" }, pi = ["aria-label"], mi = { value: "none" }, hi = ["value"], gi = { class: "mwnf-standalone-tle__go" }, _i = { type: "submit" }, vi = {
|
|
1698
1788
|
__name: "TimelineEntrance",
|
|
1699
1789
|
props: {
|
|
1700
1790
|
labels: {
|
|
@@ -1720,7 +1810,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1720
1810
|
},
|
|
1721
1811
|
emits: ["search"],
|
|
1722
1812
|
setup(e, { emit: t }) {
|
|
1723
|
-
let n = e, r = t, i =
|
|
1813
|
+
let n = e, r = t, i = E({
|
|
1724
1814
|
country: "none",
|
|
1725
1815
|
start: "none",
|
|
1726
1816
|
end: "none"
|
|
@@ -1736,42 +1826,42 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1736
1826
|
}
|
|
1737
1827
|
r("search", { ...i });
|
|
1738
1828
|
}
|
|
1739
|
-
return (t, n) => (
|
|
1829
|
+
return (t, n) => (T(), f("form", {
|
|
1740
1830
|
class: "mwnf-standalone-tle",
|
|
1741
|
-
onSubmit:
|
|
1831
|
+
onSubmit: V(o, ["prevent"])
|
|
1742
1832
|
}, [
|
|
1743
|
-
p("p",
|
|
1833
|
+
p("p", ri, [B(p("select", {
|
|
1744
1834
|
"onUpdate:modelValue": n[0] ||= (e) => i.country = e,
|
|
1745
1835
|
"aria-label": e.labels.selectCountry
|
|
1746
1836
|
}, [
|
|
1747
|
-
p("option",
|
|
1748
|
-
p("option",
|
|
1749
|
-
(
|
|
1837
|
+
p("option", ai, A(e.labels.selectCountry), 1),
|
|
1838
|
+
p("option", oi, A(e.labels.allCountries), 1),
|
|
1839
|
+
(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
1750
1840
|
key: e.value,
|
|
1751
1841
|
value: e.value
|
|
1752
|
-
},
|
|
1753
|
-
], 8,
|
|
1754
|
-
p("p",
|
|
1842
|
+
}, A(e.label), 9, si))), 128))
|
|
1843
|
+
], 8, ii), [[F, i.country]])]),
|
|
1844
|
+
p("p", ci, [B(p("select", {
|
|
1755
1845
|
"onUpdate:modelValue": n[1] ||= (e) => i.start = e,
|
|
1756
1846
|
"aria-label": e.labels.startDate
|
|
1757
|
-
}, [p("option",
|
|
1847
|
+
}, [p("option", ui, A(e.labels.startDate), 1), (T(!0), f(c, null, O(e.starts, (e) => (T(), f("option", {
|
|
1758
1848
|
key: e.value,
|
|
1759
1849
|
value: e.value
|
|
1760
|
-
},
|
|
1761
|
-
p("p",
|
|
1850
|
+
}, A(e.label), 9, di))), 128))], 8, li), [[F, i.start]])]),
|
|
1851
|
+
p("p", fi, [B(p("select", {
|
|
1762
1852
|
"onUpdate:modelValue": n[2] ||= (e) => i.end = e,
|
|
1763
1853
|
"aria-label": e.labels.endDate
|
|
1764
|
-
}, [p("option",
|
|
1854
|
+
}, [p("option", mi, A(e.labels.endDate), 1), (T(!0), f(c, null, O(e.ends, (e) => (T(), f("option", {
|
|
1765
1855
|
key: e.value,
|
|
1766
1856
|
value: e.value
|
|
1767
|
-
},
|
|
1768
|
-
p("p",
|
|
1857
|
+
}, A(e.label), 9, hi))), 128))], 8, pi), [[F, i.end]])]),
|
|
1858
|
+
p("p", gi, [p("button", _i, A(e.labels.go), 1)])
|
|
1769
1859
|
], 32));
|
|
1770
1860
|
}
|
|
1771
|
-
},
|
|
1861
|
+
}, yi = {
|
|
1772
1862
|
key: 0,
|
|
1773
1863
|
class: "mwnf-standalone-pages"
|
|
1774
|
-
},
|
|
1864
|
+
}, bi = { class: "mwnf-standalone-pages__previous" }, xi = ["aria-current", "onClick"], Si = { class: "mwnf-standalone-pages__next" }, Ci = {
|
|
1775
1865
|
__name: "Pagination",
|
|
1776
1866
|
props: {
|
|
1777
1867
|
pageInfo: {
|
|
@@ -1801,44 +1891,44 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1801
1891
|
function s(e) {
|
|
1802
1892
|
e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
|
|
1803
1893
|
}
|
|
1804
|
-
return (t, n) => a.value > 1 ? (
|
|
1805
|
-
p("span",
|
|
1894
|
+
return (t, n) => a.value > 1 ? (T(), f("nav", yi, [
|
|
1895
|
+
p("span", bi, [i.value > 1 ? (T(), f("a", {
|
|
1806
1896
|
key: 0,
|
|
1807
1897
|
href: "#",
|
|
1808
|
-
onClick: n[0] ||=
|
|
1809
|
-
},
|
|
1810
|
-
(
|
|
1898
|
+
onClick: n[0] ||= V((e) => s(i.value - 1), ["prevent"])
|
|
1899
|
+
}, A(e.previousLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.previousLabel), 1)], 64))]),
|
|
1900
|
+
(T(!0), f(c, null, O(o.value, (e) => (T(), f("a", {
|
|
1811
1901
|
key: e,
|
|
1812
1902
|
href: "#",
|
|
1813
1903
|
class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
|
|
1814
1904
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1815
|
-
onClick:
|
|
1816
|
-
},
|
|
1817
|
-
p("span",
|
|
1905
|
+
onClick: V((t) => s(e), ["prevent"])
|
|
1906
|
+
}, A(e), 11, xi))), 128)),
|
|
1907
|
+
p("span", Si, [i.value < a.value ? (T(), f("a", {
|
|
1818
1908
|
key: 0,
|
|
1819
1909
|
href: "#",
|
|
1820
|
-
onClick: n[1] ||=
|
|
1821
|
-
},
|
|
1910
|
+
onClick: n[1] ||= V((e) => s(i.value + 1), ["prevent"])
|
|
1911
|
+
}, A(e.nextLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.nextLabel), 1)], 64))])
|
|
1822
1912
|
])) : d("", !0);
|
|
1823
1913
|
}
|
|
1824
|
-
},
|
|
1914
|
+
}, wi = { class: "mwnf-standalone-tlr" }, Ti = { class: "mwnf-standalone-tlr__band" }, Ei = { class: "mwnf-standalone-tlr__band-inner" }, Di = { class: "mwnf-standalone-tlr__summary" }, Oi = { class: "mwnf-standalone-tlr__selects" }, ki = ["for"], Ai = [
|
|
1825
1915
|
"id",
|
|
1826
1916
|
"value",
|
|
1827
1917
|
"disabled",
|
|
1828
1918
|
"onChange"
|
|
1829
|
-
],
|
|
1919
|
+
], ji = ["value"], Mi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ni = {
|
|
1830
1920
|
key: 0,
|
|
1831
1921
|
class: "mwnf-standalone-tlr__heads"
|
|
1832
|
-
},
|
|
1922
|
+
}, Pi = { class: "mwnf-standalone-tlr__body" }, Fi = { class: "mwnf-standalone-tlr__list" }, Ii = { class: "mwnf-standalone-tlr__date" }, Li = { class: "mwnf-standalone-tlr__content" }, Ri = ["innerHTML"], zi = {
|
|
1833
1923
|
key: 0,
|
|
1834
1924
|
class: "mwnf-standalone-tlr__empty"
|
|
1835
|
-
},
|
|
1925
|
+
}, Bi = { class: "mwnf-standalone-tlr__related" }, Vi = {
|
|
1836
1926
|
key: 0,
|
|
1837
1927
|
class: "mwnf-standalone-tlr__panel"
|
|
1838
|
-
},
|
|
1928
|
+
}, Hi = { key: 0 }, Ui = {
|
|
1839
1929
|
key: 1,
|
|
1840
1930
|
class: "mwnf-standalone-tlr__panel"
|
|
1841
|
-
},
|
|
1931
|
+
}, Wi = { class: "mwnf-standalone-tlr__download" }, Gi = {
|
|
1842
1932
|
__name: "TimelineResults",
|
|
1843
1933
|
props: {
|
|
1844
1934
|
heading: {
|
|
@@ -1902,7 +1992,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1902
1992
|
}
|
|
1903
1993
|
function s(e) {
|
|
1904
1994
|
let t = e.currentTarget.closest(".mwnf-standalone-tlr");
|
|
1905
|
-
|
|
1995
|
+
lt(ut({
|
|
1906
1996
|
title: r.download?.title ?? "",
|
|
1907
1997
|
heading: r.download?.line ?? "",
|
|
1908
1998
|
heads: r.heads,
|
|
@@ -1911,8 +2001,8 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1911
2001
|
dir: t ? getComputedStyle(t).direction : ""
|
|
1912
2002
|
}), r.download?.file ?? "timeline.doc");
|
|
1913
2003
|
}
|
|
1914
|
-
return (t, r) => (
|
|
1915
|
-
p("section",
|
|
2004
|
+
return (t, r) => (T(), f("div", wi, [
|
|
2005
|
+
p("section", Ti, [p("div", Ei, [p("p", Di, [p("b", null, A(e.heading), 1), h(" | " + A(e.summary), 1)]), p("div", Oi, [(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, ki), p("select", {
|
|
1916
2006
|
id: `mwnf-tlr-${e.key}`,
|
|
1917
2007
|
value: e.value,
|
|
1918
2008
|
disabled: e.disabled || void 0,
|
|
@@ -1920,32 +2010,32 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1920
2010
|
key: e.key,
|
|
1921
2011
|
value: t.target.value
|
|
1922
2012
|
})
|
|
1923
|
-
}, [(
|
|
2013
|
+
}, [(T(!0), f(c, null, O(e.options, (e) => (T(), f("option", {
|
|
1924
2014
|
key: e.value,
|
|
1925
2015
|
value: e.value
|
|
1926
|
-
},
|
|
1927
|
-
p("p",
|
|
2016
|
+
}, A(e.label), 9, ji))), 128))], 40, Ai)]))), 128))])])]),
|
|
2017
|
+
p("p", Mi, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1928
2018
|
key: 0,
|
|
1929
2019
|
type: "button",
|
|
1930
2020
|
class: "mwnf-standalone-item__back-link",
|
|
1931
2021
|
onClick: r[0] ||= (e) => t.$router.back()
|
|
1932
|
-
},
|
|
2022
|
+
}, A(e.label), 1)) : (T(), u(n, {
|
|
1933
2023
|
key: 1,
|
|
1934
2024
|
class: "mwnf-standalone-item__back-link",
|
|
1935
2025
|
to: e.to,
|
|
1936
2026
|
href: e.href
|
|
1937
2027
|
}, {
|
|
1938
|
-
default:
|
|
2028
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1939
2029
|
_: 2
|
|
1940
2030
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1941
|
-
a.value ? (
|
|
1942
|
-
p("div",
|
|
1943
|
-
(
|
|
2031
|
+
a.value ? (T(), f("div", Ni, [p("h3", null, A(e.heads.date), 1), p("h3", null, A(e.heads.countryDescription), 1)])) : d("", !0),
|
|
2032
|
+
p("div", Pi, [p("div", Fi, [
|
|
2033
|
+
(T(!0), f(c, null, O(e.rows, (e) => (T(), f("div", {
|
|
1944
2034
|
key: e.id,
|
|
1945
2035
|
class: "mwnf-standalone-tlr__row"
|
|
1946
|
-
}, [p("div",
|
|
1947
|
-
a.value ? d("", !0) : (
|
|
1948
|
-
e.pageInfo ? (
|
|
2036
|
+
}, [p("div", Ii, [p("p", null, [p("span", null, A(e.date), 1)]), k(t.$slots, "media", { row: e })]), p("div", Li, [p("p", null, [p("span", null, A(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, Ri)])]))), 128)),
|
|
2037
|
+
a.value ? d("", !0) : (T(), f("p", zi, A(e.empty), 1)),
|
|
2038
|
+
e.pageInfo ? (T(), u(Ci, {
|
|
1949
2039
|
key: 1,
|
|
1950
2040
|
"page-info": e.pageInfo,
|
|
1951
2041
|
"previous-label": e.previousLabel,
|
|
@@ -1956,16 +2046,16 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1956
2046
|
"previous-label",
|
|
1957
2047
|
"next-label"
|
|
1958
2048
|
])) : d("", !0)
|
|
1959
|
-
]), p("aside",
|
|
1960
|
-
p("p", null, [p("strong", null,
|
|
1961
|
-
(
|
|
2049
|
+
]), p("aside", Bi, [e.related ? (T(), f("div", Vi, [
|
|
2050
|
+
p("p", null, [p("strong", null, A(e.related.heading), 1)]),
|
|
2051
|
+
(T(!0), f(c, null, O(e.related.links ?? [], (e) => (T(), f("p", { key: e.label }, [g(n, {
|
|
1962
2052
|
class: "mwnf-standalone-tlr__link",
|
|
1963
2053
|
to: e.to,
|
|
1964
2054
|
href: e.href,
|
|
1965
2055
|
title: e.title,
|
|
1966
2056
|
target: e.target
|
|
1967
2057
|
}, {
|
|
1968
|
-
default:
|
|
2058
|
+
default: z(() => [h(A(e.label), 1)]),
|
|
1969
2059
|
_: 2
|
|
1970
2060
|
}, 1032, [
|
|
1971
2061
|
"to",
|
|
@@ -1973,30 +2063,30 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
1973
2063
|
"title",
|
|
1974
2064
|
"target"
|
|
1975
2065
|
])]))), 128)),
|
|
1976
|
-
e.related.gallery ? (
|
|
2066
|
+
e.related.gallery ? (T(), f("p", Hi, [g(n, {
|
|
1977
2067
|
class: "mwnf-standalone-tlr__link",
|
|
1978
2068
|
to: e.related.gallery.to,
|
|
1979
2069
|
title: e.related.gallery.title
|
|
1980
2070
|
}, {
|
|
1981
|
-
default:
|
|
2071
|
+
default: z(() => [h(A(e.related.gallery.label), 1)]),
|
|
1982
2072
|
_: 1
|
|
1983
2073
|
}, 8, ["to", "title"])])) : d("", !0)
|
|
1984
|
-
])) : d("", !0), e.download ? (
|
|
1985
|
-
p("p",
|
|
2074
|
+
])) : d("", !0), e.download ? (T(), f("div", Ui, [
|
|
2075
|
+
p("p", Wi, A(e.download.heading), 1),
|
|
1986
2076
|
p("p", null, [p("a", {
|
|
1987
2077
|
href: "#",
|
|
1988
2078
|
class: "mwnf-standalone-tlr__link",
|
|
1989
|
-
onClick:
|
|
1990
|
-
},
|
|
2079
|
+
onClick: V(o, ["prevent"])
|
|
2080
|
+
}, A(e.download.pdf), 1)]),
|
|
1991
2081
|
p("p", null, [p("a", {
|
|
1992
2082
|
href: "#",
|
|
1993
2083
|
class: "mwnf-standalone-tlr__link",
|
|
1994
|
-
onClick:
|
|
1995
|
-
},
|
|
2084
|
+
onClick: V(s, ["prevent"])
|
|
2085
|
+
}, A(e.download.word), 1)])
|
|
1996
2086
|
])) : d("", !0)])])
|
|
1997
2087
|
]));
|
|
1998
2088
|
}
|
|
1999
|
-
},
|
|
2089
|
+
}, Ki = ["dir"], qi = { class: "mwnf-standalone-window__box" }, Ji = { class: "mwnf-standalone-window__header" }, Yi = { class: "mwnf-standalone-window__heading" }, Xi = ["aria-label"], Zi = { class: "mwnf-standalone-window__article" }, $ = {
|
|
2000
2090
|
__name: "Window",
|
|
2001
2091
|
props: {
|
|
2002
2092
|
heading: {
|
|
@@ -2016,27 +2106,27 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2016
2106
|
function t() {
|
|
2017
2107
|
window.opener ? (window.opener.focus(), window.close()) : window.history.back();
|
|
2018
2108
|
}
|
|
2019
|
-
return (n, r) => (
|
|
2109
|
+
return (n, r) => (T(), f("div", {
|
|
2020
2110
|
class: "mwnf-standalone-window",
|
|
2021
2111
|
dir: e.dir || void 0
|
|
2022
|
-
}, [p("div",
|
|
2023
|
-
p("header",
|
|
2112
|
+
}, [p("div", qi, [
|
|
2113
|
+
p("header", Ji, [p("h1", Yi, A(e.heading), 1), p("button", {
|
|
2024
2114
|
type: "button",
|
|
2025
2115
|
class: "mwnf-standalone-window__close",
|
|
2026
2116
|
"aria-label": e.closeLabel || void 0,
|
|
2027
2117
|
onClick: t
|
|
2028
|
-
}, "×", 8,
|
|
2029
|
-
|
|
2030
|
-
p("article",
|
|
2031
|
-
])], 8,
|
|
2118
|
+
}, "×", 8, Xi)]),
|
|
2119
|
+
k(n.$slots, "before"),
|
|
2120
|
+
p("article", Zi, [k(n.$slots, "default")])
|
|
2121
|
+
])], 8, Ki));
|
|
2032
2122
|
}
|
|
2033
|
-
},
|
|
2123
|
+
}, Qi = {
|
|
2034
2124
|
class: "mwnf-standalone-hcr__scale",
|
|
2035
2125
|
"aria-hidden": "true"
|
|
2036
|
-
},
|
|
2126
|
+
}, $i = { class: "mwnf-standalone-hcr__years" }, ea = { class: "mwnf-standalone-hcr__body" }, ta = { class: "mwnf-standalone-hcr__left" }, na = { class: "mwnf-standalone-hcr__title" }, ra = ["value", "aria-label"], ia = ["value"], aa = { class: "mwnf-standalone-hcr__title" }, oa = ["value", "aria-label"], sa = ["value"], ca = {
|
|
2037
2127
|
key: 0,
|
|
2038
2128
|
class: "mwnf-standalone-hcr__image"
|
|
2039
|
-
},
|
|
2129
|
+
}, la = ["src", "alt"], ua = { key: 1 }, da = ["innerHTML"], fa = { key: 2 }, pa = { class: "mwnf-standalone-hcr__main" }, ma = ["innerHTML"], ha = {
|
|
2040
2130
|
__name: "HistoricalCrossRef",
|
|
2041
2131
|
props: {
|
|
2042
2132
|
labels: {
|
|
@@ -2096,18 +2186,18 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2096
2186
|
};
|
|
2097
2187
|
});
|
|
2098
2188
|
});
|
|
2099
|
-
return (t, n) => (
|
|
2189
|
+
return (t, n) => (T(), u($, {
|
|
2100
2190
|
class: "mwnf-standalone-hcr",
|
|
2101
2191
|
heading: e.labels.heading,
|
|
2102
2192
|
"close-label": e.labels.close,
|
|
2103
2193
|
dir: e.dir
|
|
2104
2194
|
}, {
|
|
2105
|
-
before:
|
|
2195
|
+
before: z(() => [p("section", Qi, [p("div", $i, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("span", {
|
|
2106
2196
|
key: e.value,
|
|
2107
2197
|
class: b({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2108
|
-
},
|
|
2109
|
-
default:
|
|
2110
|
-
p("p",
|
|
2198
|
+
}, A(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2199
|
+
default: z(() => [p("div", ea, [p("div", ta, [
|
|
2200
|
+
p("p", na, A(e.labels.country), 1),
|
|
2111
2201
|
p("select", {
|
|
2112
2202
|
value: e.country,
|
|
2113
2203
|
"aria-label": e.labels.country,
|
|
@@ -2115,11 +2205,11 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2115
2205
|
key: "country",
|
|
2116
2206
|
value: e.target.value
|
|
2117
2207
|
})
|
|
2118
|
-
}, [(
|
|
2208
|
+
}, [(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
2119
2209
|
key: e.value,
|
|
2120
2210
|
value: e.value
|
|
2121
|
-
},
|
|
2122
|
-
p("p",
|
|
2211
|
+
}, A(e.label), 9, ia))), 128))], 40, ra),
|
|
2212
|
+
p("p", aa, A(e.labels.range), 1),
|
|
2123
2213
|
p("select", {
|
|
2124
2214
|
value: String(e.range),
|
|
2125
2215
|
"aria-label": e.labels.range,
|
|
@@ -2127,25 +2217,25 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2127
2217
|
key: "start",
|
|
2128
2218
|
value: e.target.value
|
|
2129
2219
|
})
|
|
2130
|
-
}, [(
|
|
2220
|
+
}, [(T(!0), f(c, null, O(e.ranges, (e) => (T(), f("option", {
|
|
2131
2221
|
key: e.value,
|
|
2132
2222
|
value: String(e.value)
|
|
2133
|
-
},
|
|
2134
|
-
e.item ? (
|
|
2135
|
-
e.item.image ? (
|
|
2223
|
+
}, A(e.label), 9, sa))), 128))], 40, oa),
|
|
2224
|
+
e.item ? (T(), f(c, { key: 0 }, [
|
|
2225
|
+
e.item.image ? (T(), f("div", ca, [p("img", {
|
|
2136
2226
|
src: e.item.image,
|
|
2137
2227
|
alt: e.item.name
|
|
2138
|
-
}, null, 8,
|
|
2139
|
-
e.item.name ? (
|
|
2140
|
-
e.item.lines?.length ? (
|
|
2228
|
+
}, null, 8, la)])) : d("", !0),
|
|
2229
|
+
e.item.name ? (T(), f("p", ua, [p("strong", { innerHTML: e.item.name }, null, 8, da)])) : d("", !0),
|
|
2230
|
+
e.item.lines?.length ? (T(), f("p", fa, [(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)
|
|
2141
2231
|
], 64)) : d("", !0)
|
|
2142
|
-
]), p("div",
|
|
2232
|
+
]), p("div", pa, [p("h3", null, A(e.heading), 1), (T(!0), f(c, null, O(e.events, (e) => (T(), f("div", {
|
|
2143
2233
|
key: e.id,
|
|
2144
2234
|
class: "mwnf-standalone-hcr__event"
|
|
2145
|
-
}, [p("p", null, [p("b", null,
|
|
2235
|
+
}, [p("p", null, [p("b", null, A(e.date), 1)]), p("div", {
|
|
2146
2236
|
class: "mwnf-standalone-hcr__text",
|
|
2147
2237
|
innerHTML: e.html
|
|
2148
|
-
}, null, 8,
|
|
2238
|
+
}, null, 8, ma)]))), 128))])])]),
|
|
2149
2239
|
_: 1
|
|
2150
2240
|
}, 8, [
|
|
2151
2241
|
"heading",
|
|
@@ -2153,10 +2243,10 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2153
2243
|
"dir"
|
|
2154
2244
|
]));
|
|
2155
2245
|
}
|
|
2156
|
-
},
|
|
2246
|
+
}, ga = ["disabled", "aria-label"], _a = { class: "mwnf-standalone-slider__track" }, va = ["src", "alt"], ya = {
|
|
2157
2247
|
key: 0,
|
|
2158
2248
|
class: "mwnf-standalone-slider__label"
|
|
2159
|
-
},
|
|
2249
|
+
}, ba = ["disabled", "aria-label"], xa = {
|
|
2160
2250
|
__name: "Slider",
|
|
2161
2251
|
props: {
|
|
2162
2252
|
slides: {
|
|
@@ -2177,12 +2267,12 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2177
2267
|
}
|
|
2178
2268
|
},
|
|
2179
2269
|
setup(e) {
|
|
2180
|
-
let t = e, { t: r } = q(), i = Y(), a =
|
|
2270
|
+
let t = e, { t: r } = 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) => ({
|
|
2181
2271
|
...e,
|
|
2182
2272
|
image: i(e.image) ?? "",
|
|
2183
2273
|
label: e.label ? r(e.label) : ""
|
|
2184
2274
|
})));
|
|
2185
|
-
return (t, i) => e.slides.length ? (
|
|
2275
|
+
return (t, i) => e.slides.length ? (T(), f("div", {
|
|
2186
2276
|
key: 0,
|
|
2187
2277
|
class: "mwnf-standalone-slider",
|
|
2188
2278
|
style: S({ "--mwnf-standalone-slider-count": e.visible })
|
|
@@ -2191,39 +2281,39 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2191
2281
|
type: "button",
|
|
2192
2282
|
class: "mwnf-standalone-slider__button",
|
|
2193
2283
|
disabled: a.value === 0,
|
|
2194
|
-
"aria-label":
|
|
2284
|
+
"aria-label": j(r)(e.previousLabel),
|
|
2195
2285
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
2196
|
-
}, "‹", 8,
|
|
2197
|
-
p("ul",
|
|
2286
|
+
}, "‹", 8, ga),
|
|
2287
|
+
p("ul", _a, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
|
|
2198
2288
|
key: e.image,
|
|
2199
2289
|
class: "mwnf-standalone-slider__slide"
|
|
2200
2290
|
}, [g(n, {
|
|
2201
2291
|
to: e.to,
|
|
2202
2292
|
href: e.href
|
|
2203
2293
|
}, {
|
|
2204
|
-
default:
|
|
2294
|
+
default: z(() => [p("img", {
|
|
2205
2295
|
src: e.image,
|
|
2206
2296
|
alt: e.label
|
|
2207
|
-
}, null, 8,
|
|
2297
|
+
}, null, 8, va), e.label ? (T(), f("span", ya, A(e.label), 1)) : d("", !0)]),
|
|
2208
2298
|
_: 2
|
|
2209
2299
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2210
2300
|
p("button", {
|
|
2211
2301
|
type: "button",
|
|
2212
2302
|
class: "mwnf-standalone-slider__button",
|
|
2213
2303
|
disabled: a.value >= o.value,
|
|
2214
|
-
"aria-label":
|
|
2304
|
+
"aria-label": j(r)(e.nextLabel),
|
|
2215
2305
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
2216
|
-
}, "›", 8,
|
|
2306
|
+
}, "›", 8, ba)
|
|
2217
2307
|
], 4)) : d("", !0);
|
|
2218
2308
|
}
|
|
2219
|
-
},
|
|
2309
|
+
}, Sa = { class: "mwnf-standalone-glossary" }, Ca = { class: "mwnf-standalone-glossary__intro" }, wa = { class: "mwnf-standalone-glossary__body" }, Ta = { class: "mwnf-standalone-glossary__field" }, Ea = ["aria-expanded", "aria-label"], Da = {
|
|
2220
2310
|
key: 0,
|
|
2221
2311
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2222
2312
|
role: "listbox"
|
|
2223
|
-
},
|
|
2313
|
+
}, Oa = ["aria-selected", "onMousedown"], ka = {
|
|
2224
2314
|
class: "mwnf-standalone-glossary__result",
|
|
2225
2315
|
"aria-live": "polite"
|
|
2226
|
-
},
|
|
2316
|
+
}, Aa = { class: "mwnf-standalone-glossary__label" }, ja = ["innerHTML"], Ma = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Na = { class: "mwnf-standalone-glossary__note" }, Pa = { class: "mwnf-standalone-glossary__spellings" }, Fa = {
|
|
2227
2317
|
__name: "GlossarySpelling",
|
|
2228
2318
|
props: {
|
|
2229
2319
|
language: {
|
|
@@ -2244,11 +2334,11 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2244
2334
|
}
|
|
2245
2335
|
},
|
|
2246
2336
|
setup(e) {
|
|
2247
|
-
let t = e, n =
|
|
2248
|
-
|
|
2249
|
-
await
|
|
2337
|
+
let t = e, n = oe(), r = te(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
|
|
2338
|
+
w(async () => {
|
|
2339
|
+
await U([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
|
|
2250
2340
|
});
|
|
2251
|
-
let a =
|
|
2341
|
+
let a = D(""), o = D(null), s = D(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
|
|
2252
2342
|
let e = H(a.value.trim());
|
|
2253
2343
|
if (!e || o.value) return [];
|
|
2254
2344
|
let n = /* @__PURE__ */ new Map();
|
|
@@ -2260,7 +2350,7 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2260
2350
|
spelling: e,
|
|
2261
2351
|
term: t
|
|
2262
2352
|
})).sort((e, t) => H(e.spelling) < H(t.spelling) ? -1 : +(H(e.spelling) > H(t.spelling)));
|
|
2263
|
-
}), g = l(() => o.value ?
|
|
2353
|
+
}), g = l(() => o.value ? W(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
|
|
2264
2354
|
if (!o.value) return [];
|
|
2265
2355
|
let e = /* @__PURE__ */ new Set(), t = [];
|
|
2266
2356
|
for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
|
|
@@ -2279,12 +2369,12 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2279
2369
|
let t = h.value;
|
|
2280
2370
|
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])));
|
|
2281
2371
|
}
|
|
2282
|
-
return (t, n) => (
|
|
2372
|
+
return (t, n) => (T(), u($, {
|
|
2283
2373
|
heading: e.labels.heading,
|
|
2284
2374
|
"close-label": e.labels.close,
|
|
2285
2375
|
dir: e.dir
|
|
2286
2376
|
}, {
|
|
2287
|
-
default:
|
|
2377
|
+
default: z(() => [p("div", Sa, [p("h2", Ca, A(e.labels.intro), 1), p("div", wa, [p("div", Ta, [B(p("input", {
|
|
2288
2378
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
2289
2379
|
type: "text",
|
|
2290
2380
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2294,19 +2384,19 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2294
2384
|
"aria-label": e.labels.heading,
|
|
2295
2385
|
onInput: y,
|
|
2296
2386
|
onKeydown: x
|
|
2297
|
-
}, null, 40,
|
|
2387
|
+
}, null, 40, Ea), [[I, a.value]]), h.value.length ? (T(), f("ul", Da, [(T(!0), f(c, null, O(h.value, (e, t) => (T(), f("li", {
|
|
2298
2388
|
key: e.spelling,
|
|
2299
2389
|
role: "option",
|
|
2300
2390
|
"aria-selected": t === s.value,
|
|
2301
2391
|
class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
2302
|
-
onMousedown:
|
|
2303
|
-
},
|
|
2392
|
+
onMousedown: V((t) => v(e), ["prevent"])
|
|
2393
|
+
}, A(e.spelling), 43, Oa))), 128))])) : d("", !0)]), p("div", ka, [o.value ? (T(), f(c, { key: 0 }, [g.value ? (T(), f(c, { key: 0 }, [p("h3", Aa, A(e.labels.definition), 1), p("div", {
|
|
2304
2394
|
class: "mwnf-standalone-glossary__definition",
|
|
2305
2395
|
innerHTML: g.value
|
|
2306
|
-
}, null, 8,
|
|
2307
|
-
p("h3",
|
|
2308
|
-
p("p",
|
|
2309
|
-
p("ul",
|
|
2396
|
+
}, null, 8, ja)], 64)) : d("", !0), _.value.length ? (T(), f(c, { key: 1 }, [
|
|
2397
|
+
p("h3", Ma, A(e.labels.spellings), 1),
|
|
2398
|
+
p("p", Na, A(e.labels.spellingsNote), 1),
|
|
2399
|
+
p("ul", Pa, [(T(!0), f(c, null, O(_.value, (e) => (T(), f("li", { key: e }, A(e), 1))), 128))])
|
|
2310
2400
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
2311
2401
|
_: 1
|
|
2312
2402
|
}, 8, [
|
|
@@ -2317,4 +2407,4 @@ var ut = { class: "mwnf-standalone-related" }, dt = { class: "mwnf-standalone-re
|
|
|
2317
2407
|
}
|
|
2318
2408
|
};
|
|
2319
2409
|
//#endregion
|
|
2320
|
-
export {
|
|
2410
|
+
export { yt as RelatedContent, ue as StandaloneBanner, ni as StandaloneDatabaseForm, Fa as StandaloneGlossarySpelling, ha as StandaloneHistoricalCrossRef, tt as StandaloneHome, Ct as StandaloneItemSheet, Ci as StandalonePagination, nr as StandalonePartnerList, Qt as StandalonePartnerPage, Or as StandalonePartnersEntrance, Kn as StandaloneRefine, yn as StandaloneResultsGrid, Bn as StandaloneResultsList, Ie as StandaloneShell, xa as StandaloneSlider, hr as StandaloneSponsorList, Oe as StandaloneSponsors, on as StandaloneSubNav, nn as StandaloneTextPage, Ze as StandaloneTileGrid, vi as StandaloneTimelineEntrance, Gi as StandaloneTimelineResults, $ as StandaloneWindow, We as TodayHighlight, de as byLanguage, fe as dayOfYear, pe as legacyHomeItemKey, X as pickForDay };
|