@museumwnf/viewer-layout 3.38.0 → 3.39.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 +149 -149
- package/dist/viewer-layout.css +1 -1
- package/package.json +1 -1
- package/src/tokens.reference.css +17 -0
package/dist/standalone.js
CHANGED
|
@@ -370,10 +370,10 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
370
370
|
}, Be = {
|
|
371
371
|
key: 0,
|
|
372
372
|
class: "mwnf-standalone-tiles__caption"
|
|
373
|
-
}, Ve = { class: "mwnf-standalone-
|
|
373
|
+
}, Ve = { class: "mwnf-standalone-tiles__caption-text" }, He = { class: "mwnf-standalone-tiles__grid" }, Ue = ["src", "alt"], We = {
|
|
374
374
|
key: 0,
|
|
375
375
|
class: "mwnf-standalone-tiles__label"
|
|
376
|
-
},
|
|
376
|
+
}, Ge = {
|
|
377
377
|
__name: "TileGrid",
|
|
378
378
|
props: {
|
|
379
379
|
caption: {
|
|
@@ -391,7 +391,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
391
391
|
image: i(e.image) ?? "",
|
|
392
392
|
label: e.text ? W(e.text) : e.label ? r(e.label) : ""
|
|
393
393
|
})));
|
|
394
|
-
return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, D(O(r)(e.caption)), 1)) : d("", !0), p("ul",
|
|
394
|
+
return (t, i) => a.value.length ? (C(), f("section", ze, [e.caption ? (C(), f("p", Be, [p("span", Ve, D(O(r)(e.caption)), 1)])) : d("", !0), p("ul", He, [(C(!0), f(c, null, T(a.value, (e) => (C(), f("li", {
|
|
395
395
|
key: e.image,
|
|
396
396
|
class: "mwnf-standalone-tiles__tile"
|
|
397
397
|
}, [g(n, {
|
|
@@ -403,14 +403,14 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
403
403
|
class: "mwnf-standalone-tiles__image",
|
|
404
404
|
src: e.image,
|
|
405
405
|
alt: e.label
|
|
406
|
-
}, null, 8,
|
|
406
|
+
}, null, 8, Ue), e.label ? (C(), f("span", We, D(e.label), 1)) : d("", !0)]),
|
|
407
407
|
_: 2
|
|
408
408
|
}, 1032, ["to", "href"])]))), 128))])])) : d("", !0);
|
|
409
409
|
}
|
|
410
|
-
},
|
|
410
|
+
}, Ke = { class: "mwnf-standalone-home" }, qe = {
|
|
411
411
|
key: 0,
|
|
412
412
|
class: "mwnf-standalone-home__links"
|
|
413
|
-
},
|
|
413
|
+
}, Je = { key: 1 }, Ye = {
|
|
414
414
|
__name: "Home",
|
|
415
415
|
props: { home: {
|
|
416
416
|
type: Object,
|
|
@@ -446,8 +446,8 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
446
446
|
let e = o.value.tiles?.items;
|
|
447
447
|
return (typeof e == "function" ? e() : e) ?? [];
|
|
448
448
|
});
|
|
449
|
-
return (e, t) => (C(), f("div",
|
|
450
|
-
s.value.length ? (C(), f("ul",
|
|
449
|
+
return (e, t) => (C(), f("div", Ke, [
|
|
450
|
+
s.value.length ? (C(), f("ul", qe, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
|
|
451
451
|
key: e.label,
|
|
452
452
|
class: y({ "mwnf-standalone-home__link--gap": e.gap })
|
|
453
453
|
}, [g(n, {
|
|
@@ -456,7 +456,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
456
456
|
external: !!e.external,
|
|
457
457
|
title: e.title
|
|
458
458
|
}, {
|
|
459
|
-
default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i",
|
|
459
|
+
default: F(() => [e.prefix ? (C(), f(c, { key: 0 }, [h(D(`${e.prefix} `), 1)], 64)) : d("", !0), e.italic ? (C(), f("i", Je, D(e.label), 1)) : (C(), f(c, { key: 2 }, [h(D(e.label), 1)], 64))]),
|
|
460
460
|
_: 2
|
|
461
461
|
}, 1032, [
|
|
462
462
|
"to",
|
|
@@ -486,7 +486,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
486
486
|
"also-known-as",
|
|
487
487
|
"action"
|
|
488
488
|
])) : d("", !0),
|
|
489
|
-
o.value.tiles ? (C(), u(
|
|
489
|
+
o.value.tiles ? (C(), u(Ge, {
|
|
490
490
|
key: 2,
|
|
491
491
|
caption: o.value.tiles.caption ?? "",
|
|
492
492
|
items: A.value
|
|
@@ -494,7 +494,7 @@ var ce = { class: "mwnf-standalone-sponsors" }, le = {
|
|
|
494
494
|
E(e.$slots, "default")
|
|
495
495
|
]));
|
|
496
496
|
}
|
|
497
|
-
},
|
|
497
|
+
}, Xe = "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; }", Ze = ".mwnf-sheet__label, .mwnf-sheet-section__heading, .mwnf-credits__heading", Qe = ".mwnf-sheet__value, .mwnf-sheet-section__body, .mwnf-credits__citation, .mwnf-credits__list > dt, .mwnf-credits__number, .mwnf-sheet__short .mwnf-sheet__block", $e = "button, img, svg, picture, video, audio, iframe, script, style, [role=\"tooltip\"], [aria-hidden=\"true\"]";
|
|
498
498
|
function $(e) {
|
|
499
499
|
return String(e ?? "").replace(/[&<>"]/g, (e) => ({
|
|
500
500
|
"&": "&",
|
|
@@ -503,7 +503,7 @@ function $(e) {
|
|
|
503
503
|
"\"": """
|
|
504
504
|
})[e]);
|
|
505
505
|
}
|
|
506
|
-
var
|
|
506
|
+
var et = /* @__PURE__ */ new Set([
|
|
507
507
|
"I",
|
|
508
508
|
"EM",
|
|
509
509
|
"B",
|
|
@@ -511,7 +511,7 @@ var $e = /* @__PURE__ */ new Set([
|
|
|
511
511
|
"U",
|
|
512
512
|
"SUP",
|
|
513
513
|
"SUB"
|
|
514
|
-
]),
|
|
514
|
+
]), tt = /* @__PURE__ */ new Set([
|
|
515
515
|
"P",
|
|
516
516
|
"DIV",
|
|
517
517
|
"LI",
|
|
@@ -519,7 +519,7 @@ var $e = /* @__PURE__ */ new Set([
|
|
|
519
519
|
"OL",
|
|
520
520
|
"SECTION"
|
|
521
521
|
]);
|
|
522
|
-
function
|
|
522
|
+
function nt(e) {
|
|
523
523
|
let t = [[]], n = () => t[t.length - 1], r = () => {
|
|
524
524
|
n().length && t.push([]);
|
|
525
525
|
}, i = (e) => {
|
|
@@ -527,12 +527,12 @@ function tt(e) {
|
|
|
527
527
|
n().push($(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($e)) return;
|
|
531
531
|
if (e.tagName === "BR") {
|
|
532
532
|
n().push("<br/>");
|
|
533
533
|
return;
|
|
534
534
|
}
|
|
535
|
-
let t =
|
|
535
|
+
let t = tt.has(e.tagName), a = et.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,20 +540,20 @@ function tt(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 rt(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(`${Ze}, ${Qe}`)) {
|
|
549
549
|
if (t.closest(".mwnf-standalone-item__left, .mwnf-standalone-related") || !r(t)) continue;
|
|
550
550
|
if (t.matches(".mwnf-credits__list > dt")) {
|
|
551
551
|
let e = t.nextElementSibling;
|
|
552
|
-
i.push(`<p>${$(t.textContent.trim())} ${e ?
|
|
552
|
+
i.push(`<p>${$(t.textContent.trim())} ${e ? nt(e) : ""}</p>`);
|
|
553
553
|
continue;
|
|
554
554
|
}
|
|
555
|
-
let e =
|
|
556
|
-
e && i.push(t.matches(
|
|
555
|
+
let e = nt(t);
|
|
556
|
+
e && i.push(t.matches(Ze) ? `<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 nt(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
|
+
${Xe}
|
|
565
565
|
</style>
|
|
566
566
|
</head>
|
|
567
567
|
<body>
|
|
@@ -575,16 +575,16 @@ ${i.join("\n")}
|
|
|
575
575
|
</body>
|
|
576
576
|
</html>`;
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function it(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
582
|
//#endregion
|
|
583
583
|
//#region src/standalone/RelatedContent.vue
|
|
584
|
-
var
|
|
584
|
+
var at = { class: "mwnf-standalone-related" }, ot = { class: "mwnf-standalone-related__heading" }, st = { class: "mwnf-standalone-related__group-heading" }, ct = { class: "mwnf-standalone-related__thumbs" }, lt = ["src", "alt"], ut = ["innerHTML"], dt = {
|
|
585
585
|
key: 0,
|
|
586
586
|
class: "mwnf-standalone-related__download"
|
|
587
|
-
},
|
|
587
|
+
}, ft = { class: "mwnf-standalone-related__download-heading" }, pt = {
|
|
588
588
|
__name: "RelatedContent",
|
|
589
589
|
props: {
|
|
590
590
|
heading: {
|
|
@@ -618,17 +618,17 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
618
618
|
}
|
|
619
619
|
function o(e) {
|
|
620
620
|
let n = e.currentTarget.closest(".mwnf-standalone-item");
|
|
621
|
-
n && rt(
|
|
621
|
+
n && it(rt(n.querySelector(".mwnf-record__main") ?? n, {
|
|
622
622
|
title: t.download?.title ? r(t.download.title) : "",
|
|
623
623
|
dir: getComputedStyle(n).direction
|
|
624
624
|
}), t.wordFile);
|
|
625
625
|
}
|
|
626
|
-
return (t, s) => (C(), f("aside",
|
|
627
|
-
p("p",
|
|
626
|
+
return (t, s) => (C(), f("aside", at, [
|
|
627
|
+
p("p", ot, [p("strong", null, D(O(r)(e.heading)), 1)]),
|
|
628
628
|
(C(!0), f(c, null, T(i.value, (e) => (C(), f("div", {
|
|
629
629
|
key: e.heading,
|
|
630
630
|
class: "mwnf-standalone-related__group"
|
|
631
|
-
}, [p("p",
|
|
631
|
+
}, [p("p", st, D(e.heading), 1), p("ul", ct, [(C(!0), f(c, null, T(e.rows, (e) => (C(), f("li", { key: e.id }, [g(n, {
|
|
632
632
|
to: e.to,
|
|
633
633
|
title: e.imageAlt
|
|
634
634
|
}, {
|
|
@@ -636,15 +636,15 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
636
636
|
key: 0,
|
|
637
637
|
src: e.image,
|
|
638
638
|
alt: e.imageAlt
|
|
639
|
-
}, null, 8,
|
|
639
|
+
}, null, 8, lt)) : (C(), f("span", {
|
|
640
640
|
key: 1,
|
|
641
641
|
innerHTML: e.name
|
|
642
|
-
}, null, 8,
|
|
642
|
+
}, null, 8, ut))]),
|
|
643
643
|
_: 2
|
|
644
644
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
645
645
|
E(t.$slots, "default"),
|
|
646
|
-
e.download ? (C(), f("div",
|
|
647
|
-
p("p",
|
|
646
|
+
e.download ? (C(), f("div", dt, [
|
|
647
|
+
p("p", ft, D(O(r)(e.download.heading)), 1),
|
|
648
648
|
p("button", {
|
|
649
649
|
type: "button",
|
|
650
650
|
class: "mwnf-standalone-related__print",
|
|
@@ -659,10 +659,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
659
659
|
])) : d("", !0)
|
|
660
660
|
]));
|
|
661
661
|
}
|
|
662
|
-
},
|
|
662
|
+
}, mt = { class: "mwnf-standalone-item__top" }, ht = { class: "mwnf-standalone-item__left" }, gt = {
|
|
663
663
|
key: 0,
|
|
664
664
|
class: "mwnf-standalone-item__back"
|
|
665
|
-
},
|
|
665
|
+
}, _t = {
|
|
666
666
|
__name: "ItemSheet",
|
|
667
667
|
props: {
|
|
668
668
|
spec: {
|
|
@@ -725,7 +725,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
725
725
|
id: e.id,
|
|
726
726
|
class: "mwnf-standalone-item"
|
|
727
727
|
}, m({
|
|
728
|
-
header: F(({ languages: e, language: n, select: r }) => [p("div",
|
|
728
|
+
header: F(({ languages: e, language: n, select: r }) => [p("div", mt, [g(t, {
|
|
729
729
|
languages: e,
|
|
730
730
|
language: n,
|
|
731
731
|
from: 1,
|
|
@@ -735,7 +735,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
735
735
|
"language",
|
|
736
736
|
"onSelect"
|
|
737
737
|
])])]),
|
|
738
|
-
"before-sheet": F((e) => [p("div",
|
|
738
|
+
"before-sheet": F((e) => [p("div", ht, [w.value.length ? (C(), f("p", gt, [(C(!0), f(c, null, T(w.value, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
|
|
739
739
|
key: 0,
|
|
740
740
|
type: "button",
|
|
741
741
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -752,7 +752,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
752
752
|
images: x(e),
|
|
753
753
|
"thumbs-from": 1
|
|
754
754
|
}, null, 8, ["images"])]), E(i.$slots, "before-sheet", b(_(e)))]),
|
|
755
|
-
related: F((t) => [g(
|
|
755
|
+
related: F((t) => [g(pt, {
|
|
756
756
|
heading: e.related.heading ?? "record.related.title",
|
|
757
757
|
records: t.records,
|
|
758
758
|
groups: e.related.groups ?? [],
|
|
@@ -775,37 +775,37 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
775
775
|
fn: F((t) => [E(i.$slots, e, b(_(t)))])
|
|
776
776
|
}))]), 1032, ["spec", "id"]));
|
|
777
777
|
}
|
|
778
|
-
},
|
|
778
|
+
}, vt = {
|
|
779
779
|
key: 0,
|
|
780
780
|
class: "mwnf-standalone-item__top"
|
|
781
|
-
},
|
|
781
|
+
}, yt = {
|
|
782
782
|
key: 1,
|
|
783
783
|
hidden: ""
|
|
784
|
-
},
|
|
784
|
+
}, bt = {
|
|
785
785
|
key: 0,
|
|
786
786
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
787
|
-
},
|
|
787
|
+
}, xt = { class: "mwnf-standalone-partner__heading" }, St = ["dir", "innerHTML"], Ct = {
|
|
788
788
|
key: 0,
|
|
789
789
|
class: "mwnf-standalone-partner__location"
|
|
790
|
-
},
|
|
790
|
+
}, wt = { class: "mwnf-standalone-partner__bar" }, Tt = { class: "mwnf-standalone-partner__bar-start" }, Et = ["aria-label", "onKeydown"], Dt = [
|
|
791
791
|
"id",
|
|
792
792
|
"aria-selected",
|
|
793
793
|
"aria-controls",
|
|
794
794
|
"tabindex",
|
|
795
795
|
"onClick"
|
|
796
|
-
],
|
|
796
|
+
], Ot = {
|
|
797
797
|
key: 0,
|
|
798
798
|
class: "mwnf-standalone-partner__divider",
|
|
799
799
|
"aria-hidden": "true"
|
|
800
|
-
},
|
|
800
|
+
}, kt = { key: 0 }, At = ["href"], jt = { class: "mwnf-standalone-partner__bar-end" }, Mt = { class: "mwnf-standalone-partner__body" }, Nt = { class: "mwnf-standalone-partner__pictures" }, Pt = { class: "mwnf-standalone-partner__panels" }, Ft = [
|
|
801
801
|
"id",
|
|
802
802
|
"aria-labelledby",
|
|
803
803
|
"dir",
|
|
804
804
|
"innerHTML"
|
|
805
|
-
],
|
|
805
|
+
], It = ["id", "aria-labelledby"], Lt = ["innerHTML"], Rt = ["href"], zt = { key: 0 }, Bt = ["href"], Vt = ["href"], Ht = ["id", "aria-labelledby"], Ut = ["src"], Wt = {
|
|
806
806
|
key: 0,
|
|
807
807
|
class: "mwnf-standalone-partner__map"
|
|
808
|
-
},
|
|
808
|
+
}, Gt = { class: "mwnf-standalone-partner__map-heading" }, Kt = {
|
|
809
809
|
__name: "PartnerPage",
|
|
810
810
|
props: {
|
|
811
811
|
id: {
|
|
@@ -902,7 +902,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
902
902
|
id: e.id,
|
|
903
903
|
class: "mwnf-standalone-partner"
|
|
904
904
|
}, {
|
|
905
|
-
header: F(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (C(), f("div",
|
|
905
|
+
header: F(({ record: n, languages: r, language: i, select: o }) => [e.bands(n) ? (C(), f("div", vt, [g(t, {
|
|
906
906
|
languages: r.filter((e) => a.languages(n, e.code)),
|
|
907
907
|
language: i,
|
|
908
908
|
from: 1,
|
|
@@ -911,9 +911,9 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
911
911
|
"languages",
|
|
912
912
|
"language",
|
|
913
913
|
"onSelect"
|
|
914
|
-
])])) : (C(), f("div",
|
|
914
|
+
])])) : (C(), f("div", yt))]),
|
|
915
915
|
"before-sheet": F(({ record: t, text: i, dir: o }) => [(C(!0), f(c, null, T([a.view(t, i)], (a) => (C(), f(c, { key: t.id }, [
|
|
916
|
-
E(t).length ? (C(), f("p",
|
|
916
|
+
E(t).length ? (C(), f("p", bt, [(C(!0), f(c, null, T(E(t), (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
|
|
917
917
|
key: 0,
|
|
918
918
|
type: "button",
|
|
919
919
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -927,12 +927,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
927
927
|
default: F(() => [h(D(e.label), 1)]),
|
|
928
928
|
_: 2
|
|
929
929
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
|
|
930
|
-
p("div",
|
|
930
|
+
p("div", xt, [p("h3", {
|
|
931
931
|
class: "mwnf-standalone-partner__name",
|
|
932
932
|
dir: o || void 0,
|
|
933
933
|
innerHTML: a.name
|
|
934
|
-
}, null, 8,
|
|
935
|
-
p("div",
|
|
934
|
+
}, null, 8, St), a.location ? (C(), f("h4", Ct, [p("i", null, D(a.location), 1)])) : d("", !0)]),
|
|
935
|
+
p("div", wt, [p("div", Tt, [p("ul", {
|
|
936
936
|
role: "tablist",
|
|
937
937
|
class: "mwnf-standalone-partner__tabs",
|
|
938
938
|
"aria-label": a.plainName,
|
|
@@ -949,12 +949,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
949
949
|
"aria-controls": `${O(_)}-panel-${e}`,
|
|
950
950
|
tabindex: M.value === e ? 0 : -1,
|
|
951
951
|
onClick: (t) => M.value = e
|
|
952
|
-
}, "\xA0" + D(S(e)), 11,
|
|
952
|
+
}, "\xA0" + D(S(e)), 11, Dt), n < j(a, t, i).length - 1 || a.contact.website ? (C(), f("span", Ot, "\xA0|")) : d("", !0)]))), 128)), a.contact.website ? (C(), f("li", kt, [p("a", {
|
|
953
953
|
class: "mwnf-standalone-partner__homepage",
|
|
954
954
|
href: a.contact.website.url,
|
|
955
955
|
target: "_blank",
|
|
956
956
|
rel: "noopener"
|
|
957
|
-
}, "\xA0" + D(S("homepage")), 9,
|
|
957
|
+
}, "\xA0" + D(S("homepage")), 9, At)])) : d("", !0)], 40, Et)]), p("div", jt, [e.items(t) ? (C(), u(n, {
|
|
958
958
|
key: 0,
|
|
959
959
|
class: "mwnf-standalone-partner__items",
|
|
960
960
|
to: e.items(t).to
|
|
@@ -962,10 +962,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
962
962
|
default: F(() => [h(D(O(s)(e.items(t).label)), 1)]),
|
|
963
963
|
_: 2
|
|
964
964
|
}, 1032, ["to"])) : d("", !0)])]),
|
|
965
|
-
p("div",
|
|
965
|
+
p("div", Mt, [p("div", Nt, [a.pictures.length ? (C(), u(r, {
|
|
966
966
|
key: 0,
|
|
967
967
|
images: R(a)
|
|
968
|
-
}, null, 8, ["images"])) : d("", !0)]), p("div",
|
|
968
|
+
}, null, 8, ["images"])) : d("", !0)]), p("div", Pt, [
|
|
969
969
|
I(p("div", {
|
|
970
970
|
id: `${O(_)}-panel-about`,
|
|
971
971
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
@@ -973,7 +973,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
973
973
|
"aria-labelledby": `${O(_)}-tab-about`,
|
|
974
974
|
dir: o || void 0,
|
|
975
975
|
innerHTML: a.description
|
|
976
|
-
}, null, 8,
|
|
976
|
+
}, null, 8, Ft), [[N, M.value === "about"]]),
|
|
977
977
|
a.hasContact ? I((C(), f("div", {
|
|
978
978
|
key: 0,
|
|
979
979
|
id: `${O(_)}-panel-contact`,
|
|
@@ -986,21 +986,21 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
986
986
|
a.contact.address ? (C(), f(c, { key: 0 }, [p("span", {
|
|
987
987
|
class: "mwnf-standalone-partner__address",
|
|
988
988
|
innerHTML: a.contact.address
|
|
989
|
-
}, null, 8,
|
|
989
|
+
}, null, 8, Lt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
990
990
|
a.contact.phone ? (C(), f(c, { key: 1 }, [h(D(S("phone")) + " " + D(a.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
991
991
|
a.contact.fax ? (C(), f(c, { key: 2 }, [h(D(S("fax")) + " " + D(a.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
992
|
-
a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9,
|
|
993
|
-
]), z(a).length ? (C(), f("p",
|
|
992
|
+
a.contact.email ? (C(), f(c, { key: 3 }, [p("a", { href: `mailto:${a.contact.email}` }, D(a.contact.email), 9, Rt), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
993
|
+
]), z(a).length ? (C(), f("p", zt, [(C(!0), f(c, null, T(z(a), (e, t) => (C(), f(c, { key: e.url }, [t ? (C(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
|
|
994
994
|
href: e.url,
|
|
995
995
|
target: "_blank",
|
|
996
996
|
rel: "noopener"
|
|
997
|
-
}, D(e.label), 9,
|
|
997
|
+
}, D(e.label), 9, Bt)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (C(!0), f(c, null, T(a.persons, (e, t) => (C(), f("p", { key: t }, [
|
|
998
998
|
e.title ? (C(), f(c, { key: 0 }, [p("strong", null, D(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
999
999
|
e.name ? (C(), f(c, { key: 1 }, [h(D(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1000
1000
|
e.phone ? (C(), f(c, { key: 2 }, [h(D(S("phone")) + " " + D(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1001
1001
|
e.fax ? (C(), f(c, { key: 3 }, [h(D(S("fax")) + " " + D(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1002
|
-
e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9,
|
|
1003
|
-
]))), 128))], 8,
|
|
1002
|
+
e.email ? (C(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, D(e.email), 9, Vt), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1003
|
+
]))), 128))], 8, It)), [[N, M.value === "contact"]]) : d("", !0),
|
|
1004
1004
|
a.logos.length ? I((C(), f("div", {
|
|
1005
1005
|
key: 1,
|
|
1006
1006
|
id: `${O(_)}-panel-logo`,
|
|
@@ -1011,10 +1011,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1011
1011
|
key: e.url,
|
|
1012
1012
|
src: e.url,
|
|
1013
1013
|
alt: ""
|
|
1014
|
-
}, null, 8,
|
|
1014
|
+
}, null, 8, Ut))), 128))], 8, Ht)), [[N, M.value === "logo"]]) : d("", !0)
|
|
1015
1015
|
])])
|
|
1016
1016
|
], 64))), 128))]),
|
|
1017
|
-
after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section",
|
|
1017
|
+
after: F(({ record: t, text: n }) => [e.map(t) && a.view(t, n)?.map ? (C(), f("section", Wt, [p("h3", Gt, D(S("map")), 1), g(i, {
|
|
1018
1018
|
provider: "google",
|
|
1019
1019
|
latitude: a.view(t, n).map.latitude,
|
|
1020
1020
|
longitude: a.view(t, n).map.longitude,
|
|
@@ -1031,13 +1031,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1031
1031
|
_: 1
|
|
1032
1032
|
}, 8, ["id"]));
|
|
1033
1033
|
}
|
|
1034
|
-
},
|
|
1034
|
+
}, qt = ["innerHTML"], Jt = {
|
|
1035
1035
|
key: 0,
|
|
1036
1036
|
class: "mwnf-standalone-page__link"
|
|
1037
|
-
},
|
|
1037
|
+
}, Yt = {
|
|
1038
1038
|
key: 1,
|
|
1039
1039
|
class: "mwnf-standalone-page__print"
|
|
1040
|
-
},
|
|
1040
|
+
}, Xt = {
|
|
1041
1041
|
__name: "TextPage",
|
|
1042
1042
|
props: {
|
|
1043
1043
|
body: {
|
|
@@ -1066,25 +1066,25 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1066
1066
|
p("div", {
|
|
1067
1067
|
class: "mwnf-standalone-page__body",
|
|
1068
1068
|
innerHTML: i.value
|
|
1069
|
-
}, null, 8,
|
|
1070
|
-
e.link ? (C(), f("p",
|
|
1069
|
+
}, null, 8, qt),
|
|
1070
|
+
e.link ? (C(), f("p", Jt, [g(n, {
|
|
1071
1071
|
to: e.link.to,
|
|
1072
1072
|
href: e.link.href
|
|
1073
1073
|
}, {
|
|
1074
1074
|
default: F(() => [p("strong", null, D(e.link.text ?? O(r)(e.link.label)), 1)]),
|
|
1075
1075
|
_: 1
|
|
1076
1076
|
}, 8, ["to", "href"])])) : d("", !0),
|
|
1077
|
-
e.print ? (C(), f("p",
|
|
1077
|
+
e.print ? (C(), f("p", Yt, [p("button", {
|
|
1078
1078
|
type: "button",
|
|
1079
1079
|
class: "mwnf-standalone-page__print-button",
|
|
1080
1080
|
onClick: a
|
|
1081
1081
|
}, D(O(r)(e.print)), 1)])) : d("", !0)
|
|
1082
1082
|
], 2));
|
|
1083
1083
|
}
|
|
1084
|
-
},
|
|
1084
|
+
}, Zt = {
|
|
1085
1085
|
key: 0,
|
|
1086
1086
|
class: "mwnf-standalone-subnav"
|
|
1087
|
-
},
|
|
1087
|
+
}, Qt = { class: "mwnf-standalone-subnav__tabs" }, $t = {
|
|
1088
1088
|
__name: "SubNav",
|
|
1089
1089
|
props: {
|
|
1090
1090
|
tabs: {
|
|
@@ -1101,7 +1101,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1101
1101
|
...e,
|
|
1102
1102
|
label: r(e.label)
|
|
1103
1103
|
})));
|
|
1104
|
-
return (t, a) => i.value.length || e.aside ? (C(), f("nav",
|
|
1104
|
+
return (t, a) => i.value.length || e.aside ? (C(), f("nav", Zt, [p("ul", Qt, [(C(!0), f(c, null, T(i.value, (e) => (C(), f("li", { key: e.label }, [g(n, {
|
|
1105
1105
|
to: e.to,
|
|
1106
1106
|
href: e.href,
|
|
1107
1107
|
class: y(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
@@ -1124,13 +1124,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1124
1124
|
_: 1
|
|
1125
1125
|
}, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
|
|
1126
1126
|
}
|
|
1127
|
-
},
|
|
1127
|
+
}, en = { class: "mwnf-standalone-results" }, tn = {
|
|
1128
1128
|
key: 0,
|
|
1129
1129
|
class: "mwnf-standalone-results__empty"
|
|
1130
|
-
},
|
|
1130
|
+
}, nn = { class: "mwnf-standalone-results__tile" }, rn = ["src"], an = { class: "mwnf-standalone-results__panel" }, on = ["src"], sn = { class: "mwnf-standalone-results__name" }, cn = ["innerHTML"], ln = ["innerHTML"], un = {
|
|
1131
1131
|
key: 0,
|
|
1132
1132
|
class: "mwnf-standalone-results__holder"
|
|
1133
|
-
},
|
|
1133
|
+
}, dn = ["innerHTML"], fn = ["innerHTML"], pn = {
|
|
1134
1134
|
__name: "ResultsGrid",
|
|
1135
1135
|
props: {
|
|
1136
1136
|
rows: {
|
|
@@ -1151,10 +1151,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1151
1151
|
}
|
|
1152
1152
|
},
|
|
1153
1153
|
setup(e) {
|
|
1154
|
-
return (t, r) => (C(), f("div",
|
|
1154
|
+
return (t, r) => (C(), f("div", en, [e.rows.length ? d("", !0) : (C(), f("p", tn, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
|
|
1155
1155
|
key: t.id,
|
|
1156
1156
|
class: "mwnf-standalone-results__cell"
|
|
1157
|
-
}, [p("div",
|
|
1157
|
+
}, [p("div", nn, [g(n, {
|
|
1158
1158
|
class: "mwnf-standalone-results__frame",
|
|
1159
1159
|
to: t.to,
|
|
1160
1160
|
href: t.href
|
|
@@ -1162,9 +1162,9 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1162
1162
|
default: F(() => [p("img", {
|
|
1163
1163
|
src: t.image || e.noImage,
|
|
1164
1164
|
alt: ""
|
|
1165
|
-
}, null, 8,
|
|
1165
|
+
}, null, 8, rn)]),
|
|
1166
1166
|
_: 2
|
|
1167
|
-
}, 1032, ["to", "href"]), p("div",
|
|
1167
|
+
}, 1032, ["to", "href"]), p("div", an, [
|
|
1168
1168
|
g(n, {
|
|
1169
1169
|
class: "mwnf-standalone-results__panel-frame",
|
|
1170
1170
|
to: t.to,
|
|
@@ -1173,25 +1173,25 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1173
1173
|
default: F(() => [p("img", {
|
|
1174
1174
|
src: t.image || e.noImage,
|
|
1175
1175
|
alt: ""
|
|
1176
|
-
}, null, 8,
|
|
1176
|
+
}, null, 8, on)]),
|
|
1177
1177
|
_: 2
|
|
1178
1178
|
}, 1032, ["to", "href"]),
|
|
1179
|
-
p("p",
|
|
1179
|
+
p("p", sn, [p("strong", null, [g(n, {
|
|
1180
1180
|
to: t.to,
|
|
1181
1181
|
href: t.href
|
|
1182
1182
|
}, {
|
|
1183
|
-
default: F(() => [p("span", { innerHTML: t.name }, null, 8,
|
|
1183
|
+
default: F(() => [p("span", { innerHTML: t.name }, null, 8, cn)]),
|
|
1184
1184
|
_: 2
|
|
1185
1185
|
}, 1032, ["to", "href"])])]),
|
|
1186
1186
|
(C(!0), f(c, null, T(t.lines ?? [], (e, t) => (C(), f("p", {
|
|
1187
1187
|
key: t,
|
|
1188
1188
|
innerHTML: e
|
|
1189
|
-
}, null, 8,
|
|
1190
|
-
t.holder ? (C(), f("p",
|
|
1189
|
+
}, null, 8, ln))), 128)),
|
|
1190
|
+
t.holder ? (C(), f("p", un, [p("strong", { innerHTML: t.holder }, null, 8, dn)])) : d("", !0),
|
|
1191
1191
|
t.location ? (C(), f("p", {
|
|
1192
1192
|
key: 1,
|
|
1193
1193
|
innerHTML: t.location
|
|
1194
|
-
}, null, 8,
|
|
1194
|
+
}, null, 8, fn)) : d("", !0),
|
|
1195
1195
|
p("p", null, [g(n, {
|
|
1196
1196
|
class: "mwnf-standalone-results__see",
|
|
1197
1197
|
to: t.to,
|
|
@@ -1202,13 +1202,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1202
1202
|
}, 8, ["to", "href"])])
|
|
1203
1203
|
])])]))), 128))]));
|
|
1204
1204
|
}
|
|
1205
|
-
},
|
|
1205
|
+
}, mn = { class: "mwnf-standalone-list" }, hn = { class: "mwnf-standalone-list__aside" }, gn = {
|
|
1206
1206
|
key: 0,
|
|
1207
1207
|
class: "mwnf-standalone-list__preview"
|
|
1208
|
-
},
|
|
1208
|
+
}, _n = { class: "mwnf-standalone-list__preview-picture" }, vn = ["src"], yn = { class: "mwnf-standalone-list__preview-name" }, bn = ["innerHTML"], xn = ["innerHTML"], Sn = { key: 0 }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = { class: "mwnf-standalone-list__records" }, En = {
|
|
1209
1209
|
key: 0,
|
|
1210
1210
|
class: "mwnf-standalone-list__empty"
|
|
1211
|
-
},
|
|
1211
|
+
}, Dn = { class: "mwnf-standalone-list__frame" }, On = ["src"], kn = { class: "mwnf-standalone-list__content" }, An = ["innerHTML"], jn = ["innerHTML"], Mn = { key: 0 }, Nn = ["innerHTML"], Pn = {
|
|
1212
1212
|
__name: "ResultsList",
|
|
1213
1213
|
props: {
|
|
1214
1214
|
rows: {
|
|
@@ -1226,26 +1226,26 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1226
1226
|
},
|
|
1227
1227
|
setup(e) {
|
|
1228
1228
|
let t = e, r = w(null), i = l(() => r.value ?? t.rows[0] ?? null);
|
|
1229
|
-
return (t, a) => (C(), f("div",
|
|
1230
|
-
p("div",
|
|
1229
|
+
return (t, a) => (C(), f("div", mn, [p("div", hn, [i.value ? (C(), f("div", gn, [
|
|
1230
|
+
p("div", _n, [i.value.image || e.noImage ? (C(), f("img", {
|
|
1231
1231
|
key: 0,
|
|
1232
1232
|
src: i.value.image || e.noImage,
|
|
1233
1233
|
alt: ""
|
|
1234
|
-
}, null, 8,
|
|
1235
|
-
p("p",
|
|
1234
|
+
}, null, 8, vn)) : d("", !0)]),
|
|
1235
|
+
p("p", yn, [p("strong", { innerHTML: i.value.name }, null, 8, bn)]),
|
|
1236
1236
|
(C(!0), f(c, null, T(i.value.preview?.lines ?? [], (e, t) => (C(), f("p", {
|
|
1237
1237
|
key: t,
|
|
1238
1238
|
innerHTML: e
|
|
1239
|
-
}, null, 8,
|
|
1240
|
-
i.value.preview?.holder ? (C(), f("p",
|
|
1239
|
+
}, null, 8, xn))), 128)),
|
|
1240
|
+
i.value.preview?.holder ? (C(), f("p", Sn, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Cn)])) : d("", !0),
|
|
1241
1241
|
i.value.preview?.location ? (C(), f("p", {
|
|
1242
1242
|
key: 1,
|
|
1243
1243
|
innerHTML: i.value.preview.location
|
|
1244
|
-
}, null, 8,
|
|
1245
|
-
])) : d("", !0)]), p("div",
|
|
1244
|
+
}, null, 8, wn)) : d("", !0)
|
|
1245
|
+
])) : d("", !0)]), p("div", Tn, [e.rows.length ? d("", !0) : (C(), f("p", En, D(e.empty), 1)), (C(!0), f(c, null, T(e.rows, (t) => (C(), f("div", {
|
|
1246
1246
|
key: t.id,
|
|
1247
1247
|
class: "mwnf-standalone-list__cell"
|
|
1248
|
-
}, [p("div",
|
|
1248
|
+
}, [p("div", Dn, [g(n, {
|
|
1249
1249
|
to: t.to,
|
|
1250
1250
|
href: t.href,
|
|
1251
1251
|
onMouseenter: (e) => r.value = t,
|
|
@@ -1255,13 +1255,13 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1255
1255
|
key: 0,
|
|
1256
1256
|
src: t.image || e.noImage,
|
|
1257
1257
|
alt: ""
|
|
1258
|
-
}, null, 8,
|
|
1258
|
+
}, null, 8, On)) : d("", !0)]),
|
|
1259
1259
|
_: 2
|
|
1260
1260
|
}, 1032, [
|
|
1261
1261
|
"to",
|
|
1262
1262
|
"href",
|
|
1263
1263
|
"onMouseenter"
|
|
1264
|
-
])]), p("div",
|
|
1264
|
+
])]), p("div", kn, [p("p", null, [g(n, {
|
|
1265
1265
|
to: t.to,
|
|
1266
1266
|
href: t.href,
|
|
1267
1267
|
onMouseenter: (e) => r.value = t,
|
|
@@ -1271,27 +1271,27 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1271
1271
|
p("span", {
|
|
1272
1272
|
class: "mwnf-standalone-list__name",
|
|
1273
1273
|
innerHTML: `${t.name},`
|
|
1274
|
-
}, null, 8,
|
|
1274
|
+
}, null, 8, An),
|
|
1275
1275
|
a[2] ||= h(),
|
|
1276
|
-
p("span", { innerHTML: t.place }, null, 8,
|
|
1276
|
+
p("span", { innerHTML: t.place }, null, 8, jn)
|
|
1277
1277
|
]),
|
|
1278
1278
|
_: 2
|
|
1279
1279
|
}, 1032, [
|
|
1280
1280
|
"to",
|
|
1281
1281
|
"href",
|
|
1282
1282
|
"onMouseenter"
|
|
1283
|
-
])]), t.dates ? (C(), f("div",
|
|
1283
|
+
])]), t.dates ? (C(), f("div", Mn, [p("i", { innerHTML: t.dates }, null, 8, Nn)])) : d("", !0)])]))), 128))])]));
|
|
1284
1284
|
}
|
|
1285
|
-
},
|
|
1285
|
+
}, Fn = { class: "mwnf-standalone-refine__row" }, In = {
|
|
1286
1286
|
class: "mwnf-standalone-refine__label",
|
|
1287
1287
|
for: "mwnf-standalone-refine-keyword"
|
|
1288
|
-
},
|
|
1288
|
+
}, Ln = {
|
|
1289
1289
|
class: "mwnf-standalone-refine__label",
|
|
1290
1290
|
for: "mwnf-standalone-refine-field"
|
|
1291
|
-
},
|
|
1291
|
+
}, Rn = ["value"], zn = {
|
|
1292
1292
|
type: "submit",
|
|
1293
1293
|
class: "mwnf-standalone-refine__button"
|
|
1294
|
-
},
|
|
1294
|
+
}, Bn = {
|
|
1295
1295
|
__name: "Refine",
|
|
1296
1296
|
props: {
|
|
1297
1297
|
label: {
|
|
@@ -1332,23 +1332,23 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1332
1332
|
return (t, r) => (C(), f("form", {
|
|
1333
1333
|
class: "mwnf-standalone-refine",
|
|
1334
1334
|
onSubmit: L(s, ["prevent"])
|
|
1335
|
-
}, [p("div",
|
|
1336
|
-
p("label",
|
|
1335
|
+
}, [p("div", Fn, [
|
|
1336
|
+
p("label", In, D(e.label), 1),
|
|
1337
1337
|
I(p("input", {
|
|
1338
1338
|
id: "mwnf-standalone-refine-keyword",
|
|
1339
1339
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
1340
1340
|
type: "text",
|
|
1341
1341
|
size: "40"
|
|
1342
1342
|
}, null, 512), [[M, a.value]]),
|
|
1343
|
-
p("label",
|
|
1343
|
+
p("label", Ln, D(e.inLabel), 1),
|
|
1344
1344
|
I(p("select", {
|
|
1345
1345
|
id: "mwnf-standalone-refine-field",
|
|
1346
1346
|
"onUpdate:modelValue": r[1] ||= (e) => o.value = e
|
|
1347
1347
|
}, [(C(!0), f(c, null, T(e.fields, (e) => (C(), f("option", {
|
|
1348
1348
|
key: e.value,
|
|
1349
1349
|
value: e.value
|
|
1350
|
-
}, D(e.label), 9,
|
|
1351
|
-
p("button",
|
|
1350
|
+
}, D(e.label), 9, Rn))), 128))], 512), [[j, o.value]]),
|
|
1351
|
+
p("button", zn, D(e.searchLabel), 1),
|
|
1352
1352
|
g(n, {
|
|
1353
1353
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1354
1354
|
to: e.newSearch
|
|
@@ -1358,10 +1358,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1358
1358
|
}, 8, ["to"])
|
|
1359
1359
|
])], 32));
|
|
1360
1360
|
}
|
|
1361
|
-
},
|
|
1361
|
+
}, Vn = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, Hn = { class: "mwnf-standalone-pl__heads" }, Un = { class: "mwnf-standalone-pl__head" }, Wn = { key: 0 }, Gn = ["onClick"], Kn = { class: "mwnf-standalone-pl__row" }, qn = { class: "mwnf-standalone-pl__main" }, Jn = { class: "mwnf-standalone-pl__associated" }, Yn = {
|
|
1362
1362
|
key: 0,
|
|
1363
1363
|
class: "mwnf-standalone-pl__none"
|
|
1364
|
-
},
|
|
1364
|
+
}, Xn = {
|
|
1365
1365
|
__name: "PartnerList",
|
|
1366
1366
|
props: {
|
|
1367
1367
|
type: {
|
|
@@ -1399,7 +1399,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1399
1399
|
i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1400
1400
|
}
|
|
1401
1401
|
return (t, s) => (C(), f("div", { class: y(["mwnf-standalone-pl", r.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1402
|
-
p("p",
|
|
1402
|
+
p("p", Vn, [(C(!0), f(c, null, T(e.back, (e) => (C(), f(c, { key: e.label }, [e.history ? (C(), f("button", {
|
|
1403
1403
|
key: 0,
|
|
1404
1404
|
type: "button",
|
|
1405
1405
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1413,33 +1413,33 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1413
1413
|
default: F(() => [h(D(e.label), 1)]),
|
|
1414
1414
|
_: 2
|
|
1415
1415
|
}, 1032, ["to", "href"]))], 64))), 128)), E(t.$slots, "back")]),
|
|
1416
|
-
p("div",
|
|
1416
|
+
p("div", Hn, [(C(!0), f(c, null, T(e.heads, (e) => (C(), f("h3", { key: e }, D(e), 1))), 128))]),
|
|
1417
1417
|
(C(!0), f(c, null, T(e.groups, (t, s) => (C(), f("div", {
|
|
1418
1418
|
key: t.label,
|
|
1419
1419
|
class: "mwnf-standalone-pl__group"
|
|
1420
|
-
}, [p("div",
|
|
1420
|
+
}, [p("div", Un, [r.value ? (C(), f("h3", Wn, D(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
|
|
1421
1421
|
href: "#",
|
|
1422
1422
|
class: y(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
|
|
1423
1423
|
onClick: L((e) => o(s), ["prevent"])
|
|
1424
|
-
}, D(r.value ? e.seeAssociated : t.label), 11,
|
|
1424
|
+
}, D(r.value ? e.seeAssociated : t.label), 11, Gn)])]), I(p("div", Kn, [p("div", qn, [(C(!0), f(c, null, T(t.main, (e) => (C(), f("p", { key: e.id }, [g(n, {
|
|
1425
1425
|
to: e.to,
|
|
1426
1426
|
href: e.href
|
|
1427
1427
|
}, {
|
|
1428
1428
|
default: F(() => [h(D(e.label), 1)]),
|
|
1429
1429
|
_: 2
|
|
1430
|
-
}, 1032, ["to", "href"])]))), 128))]), I(p("div",
|
|
1430
|
+
}, 1032, ["to", "href"])]))), 128))]), I(p("div", Jn, [(C(!0), f(c, null, T(t.associated, (e) => (C(), f("p", { key: e.id }, [g(n, {
|
|
1431
1431
|
to: e.to,
|
|
1432
1432
|
href: e.href
|
|
1433
1433
|
}, {
|
|
1434
1434
|
default: F(() => [h(D(e.label), 1)]),
|
|
1435
1435
|
_: 2
|
|
1436
|
-
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (C(), f("p",
|
|
1436
|
+
}, 1032, ["to", "href"])]))), 128)), r.value && !t.associated.length ? (C(), f("p", Yn, D(e.noAssociated), 1)) : d("", !0)], 512), [[N, !r.value || a.value.has(s)]])], 512), [[N, r.value || a.value.has(s)]])]))), 128))
|
|
1437
1437
|
], 2));
|
|
1438
1438
|
}
|
|
1439
|
-
},
|
|
1439
|
+
}, Zn = {
|
|
1440
1440
|
key: 0,
|
|
1441
1441
|
class: "mwnf-standalone-pages"
|
|
1442
|
-
},
|
|
1442
|
+
}, Qn = { class: "mwnf-standalone-pages__previous" }, $n = ["aria-current", "onClick"], er = { class: "mwnf-standalone-pages__next" }, tr = {
|
|
1443
1443
|
__name: "Pagination",
|
|
1444
1444
|
props: {
|
|
1445
1445
|
pageInfo: {
|
|
@@ -1469,8 +1469,8 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1469
1469
|
function s(e) {
|
|
1470
1470
|
e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
|
|
1471
1471
|
}
|
|
1472
|
-
return (t, n) => a.value > 1 ? (C(), f("nav",
|
|
1473
|
-
p("span",
|
|
1472
|
+
return (t, n) => a.value > 1 ? (C(), f("nav", Zn, [
|
|
1473
|
+
p("span", Qn, [i.value > 1 ? (C(), f("a", {
|
|
1474
1474
|
key: 0,
|
|
1475
1475
|
href: "#",
|
|
1476
1476
|
onClick: n[0] ||= L((e) => s(i.value - 1), ["prevent"])
|
|
@@ -1481,18 +1481,18 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1481
1481
|
class: y(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
|
|
1482
1482
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1483
1483
|
onClick: L((t) => s(e), ["prevent"])
|
|
1484
|
-
}, D(e), 11,
|
|
1485
|
-
p("span",
|
|
1484
|
+
}, D(e), 11, $n))), 128)),
|
|
1485
|
+
p("span", er, [i.value < a.value ? (C(), f("a", {
|
|
1486
1486
|
key: 0,
|
|
1487
1487
|
href: "#",
|
|
1488
1488
|
onClick: n[1] ||= L((e) => s(i.value + 1), ["prevent"])
|
|
1489
1489
|
}, D(e.nextLabel), 1)) : (C(), f(c, { key: 1 }, [h(D(e.nextLabel), 1)], 64))])
|
|
1490
1490
|
])) : d("", !0);
|
|
1491
1491
|
}
|
|
1492
|
-
},
|
|
1492
|
+
}, nr = ["disabled", "aria-label"], rr = { class: "mwnf-standalone-slider__track" }, ir = ["src", "alt"], ar = {
|
|
1493
1493
|
key: 0,
|
|
1494
1494
|
class: "mwnf-standalone-slider__label"
|
|
1495
|
-
},
|
|
1495
|
+
}, or = ["disabled", "aria-label"], sr = {
|
|
1496
1496
|
__name: "Slider",
|
|
1497
1497
|
props: {
|
|
1498
1498
|
slides: {
|
|
@@ -1529,8 +1529,8 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1529
1529
|
disabled: a.value === 0,
|
|
1530
1530
|
"aria-label": O(r)(e.previousLabel),
|
|
1531
1531
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
1532
|
-
}, "‹", 8,
|
|
1533
|
-
p("ul",
|
|
1532
|
+
}, "‹", 8, nr),
|
|
1533
|
+
p("ul", rr, [(C(!0), f(c, null, T(s.value, (e) => (C(), f("li", {
|
|
1534
1534
|
key: e.image,
|
|
1535
1535
|
class: "mwnf-standalone-slider__slide"
|
|
1536
1536
|
}, [g(n, {
|
|
@@ -1540,7 +1540,7 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1540
1540
|
default: F(() => [p("img", {
|
|
1541
1541
|
src: e.image,
|
|
1542
1542
|
alt: e.label
|
|
1543
|
-
}, null, 8,
|
|
1543
|
+
}, null, 8, ir), e.label ? (C(), f("span", ar, D(e.label), 1)) : d("", !0)]),
|
|
1544
1544
|
_: 2
|
|
1545
1545
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
1546
1546
|
p("button", {
|
|
@@ -1549,10 +1549,10 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1549
1549
|
disabled: a.value >= o.value,
|
|
1550
1550
|
"aria-label": O(r)(e.nextLabel),
|
|
1551
1551
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
1552
|
-
}, "›", 8,
|
|
1552
|
+
}, "›", 8, or)
|
|
1553
1553
|
], 4)) : d("", !0);
|
|
1554
1554
|
}
|
|
1555
|
-
},
|
|
1555
|
+
}, cr = ["dir"], lr = { class: "mwnf-standalone-window__box" }, ur = { class: "mwnf-standalone-window__header" }, dr = { class: "mwnf-standalone-window__heading" }, fr = ["aria-label"], pr = { class: "mwnf-standalone-window__article" }, mr = {
|
|
1556
1556
|
__name: "Window",
|
|
1557
1557
|
props: {
|
|
1558
1558
|
heading: {
|
|
@@ -1575,21 +1575,21 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1575
1575
|
return (n, r) => (C(), f("div", {
|
|
1576
1576
|
class: "mwnf-standalone-window",
|
|
1577
1577
|
dir: e.dir || void 0
|
|
1578
|
-
}, [p("div",
|
|
1578
|
+
}, [p("div", lr, [p("header", ur, [p("h1", dr, D(e.heading), 1), p("button", {
|
|
1579
1579
|
type: "button",
|
|
1580
1580
|
class: "mwnf-standalone-window__close",
|
|
1581
1581
|
"aria-label": e.closeLabel || void 0,
|
|
1582
1582
|
onClick: t
|
|
1583
|
-
}, "×", 8,
|
|
1583
|
+
}, "×", 8, fr)]), p("article", pr, [E(n.$slots, "default")])])], 8, cr));
|
|
1584
1584
|
}
|
|
1585
|
-
},
|
|
1585
|
+
}, hr = { class: "mwnf-standalone-glossary" }, gr = { class: "mwnf-standalone-glossary__intro" }, _r = { class: "mwnf-standalone-glossary__body" }, vr = { class: "mwnf-standalone-glossary__field" }, yr = ["aria-expanded", "aria-label"], br = {
|
|
1586
1586
|
key: 0,
|
|
1587
1587
|
class: "mwnf-standalone-glossary__suggestions",
|
|
1588
1588
|
role: "listbox"
|
|
1589
|
-
},
|
|
1589
|
+
}, xr = ["aria-selected", "onMousedown"], Sr = {
|
|
1590
1590
|
class: "mwnf-standalone-glossary__result",
|
|
1591
1591
|
"aria-live": "polite"
|
|
1592
|
-
},
|
|
1592
|
+
}, Cr = { class: "mwnf-standalone-glossary__label" }, wr = ["innerHTML"], Tr = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Er = { class: "mwnf-standalone-glossary__note" }, Dr = { class: "mwnf-standalone-glossary__spellings" }, Or = {
|
|
1593
1593
|
__name: "GlossarySpelling",
|
|
1594
1594
|
props: {
|
|
1595
1595
|
language: {
|
|
@@ -1645,12 +1645,12 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1645
1645
|
let t = h.value;
|
|
1646
1646
|
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])));
|
|
1647
1647
|
}
|
|
1648
|
-
return (t, n) => (C(), u(
|
|
1648
|
+
return (t, n) => (C(), u(mr, {
|
|
1649
1649
|
heading: e.labels.heading,
|
|
1650
1650
|
"close-label": e.labels.close,
|
|
1651
1651
|
dir: e.dir
|
|
1652
1652
|
}, {
|
|
1653
|
-
default: F(() => [p("div",
|
|
1653
|
+
default: F(() => [p("div", hr, [p("h2", gr, D(e.labels.intro), 1), p("div", _r, [p("div", vr, [I(p("input", {
|
|
1654
1654
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
1655
1655
|
type: "text",
|
|
1656
1656
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -1660,19 +1660,19 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1660
1660
|
"aria-label": e.labels.heading,
|
|
1661
1661
|
onInput: b,
|
|
1662
1662
|
onKeydown: x
|
|
1663
|
-
}, null, 40,
|
|
1663
|
+
}, null, 40, yr), [[M, a.value]]), h.value.length ? (C(), f("ul", br, [(C(!0), f(c, null, T(h.value, (e, t) => (C(), f("li", {
|
|
1664
1664
|
key: e.spelling,
|
|
1665
1665
|
role: "option",
|
|
1666
1666
|
"aria-selected": t === s.value,
|
|
1667
1667
|
class: y(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
1668
1668
|
onMousedown: L((t) => v(e), ["prevent"])
|
|
1669
|
-
}, D(e.spelling), 43,
|
|
1669
|
+
}, D(e.spelling), 43, xr))), 128))])) : d("", !0)]), p("div", Sr, [o.value ? (C(), f(c, { key: 0 }, [g.value ? (C(), f(c, { key: 0 }, [p("h3", Cr, D(e.labels.definition), 1), p("div", {
|
|
1670
1670
|
class: "mwnf-standalone-glossary__definition",
|
|
1671
1671
|
innerHTML: g.value
|
|
1672
|
-
}, null, 8,
|
|
1673
|
-
p("h3",
|
|
1674
|
-
p("p",
|
|
1675
|
-
p("ul",
|
|
1672
|
+
}, null, 8, wr)], 64)) : d("", !0), _.value.length ? (C(), f(c, { key: 1 }, [
|
|
1673
|
+
p("h3", Tr, D(e.labels.spellings), 1),
|
|
1674
|
+
p("p", Er, D(e.labels.spellingsNote), 1),
|
|
1675
|
+
p("ul", Dr, [(C(!0), f(c, null, T(_.value, (e) => (C(), f("li", { key: e }, D(e), 1))), 128))])
|
|
1676
1676
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
1677
1677
|
_: 1
|
|
1678
1678
|
}, 8, [
|
|
@@ -1683,4 +1683,4 @@ var it = { class: "mwnf-standalone-related" }, at = { class: "mwnf-standalone-re
|
|
|
1683
1683
|
}
|
|
1684
1684
|
};
|
|
1685
1685
|
//#endregion
|
|
1686
|
-
export {
|
|
1686
|
+
export { pt as RelatedContent, J as StandaloneBanner, Or as StandaloneGlossarySpelling, Ye as StandaloneHome, _t as StandaloneItemSheet, tr as StandalonePagination, Xn as StandalonePartnerList, Kt as StandalonePartnerPage, Bn as StandaloneRefine, pn as StandaloneResultsGrid, Pn as StandaloneResultsList, Ae as StandaloneShell, sr as StandaloneSlider, Se as StandaloneSponsors, $t as StandaloneSubNav, Xt as StandaloneTextPage, Ge as StandaloneTileGrid, mr as StandaloneWindow, Re as TodayHighlight, X as byLanguage, Z as dayOfYear, se as legacyHomeItemKey, Q as pickForDay };
|