@museumwnf/viewer-layout 3.73.0 → 3.74.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/README.md +1 -1
- package/dist/standalone.js +308 -246
- package/package.json +1 -1
package/dist/standalone.js
CHANGED
|
@@ -3,7 +3,7 @@ import { r as t } from "./chrome-Bv_mLlHM.js";
|
|
|
3
3
|
import { c as n, d as r, n as i, t as a } from "./PartnerMap-DdyMLtgH.js";
|
|
4
4
|
import { n as o, t as s } from "./RecordView-CBC7tBCX.js";
|
|
5
5
|
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as m, createTextVNode as h, createVNode as g, guardReactiveProps as _, mergeModels as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, 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
|
|
6
|
+
import { byId as ee, collate as H, entityRef as te, loadEntities as ne, md as U, pictureCredits as re, picturesInLanguage as ie, removeEndingPoint as W, renderBlock as ae, renderInline as G, renderPlain as K, useDataPackage as oe, useI18n as q, useSection as se, useSiteConfig as J } from "@museumwnf/viewer-core";
|
|
7
7
|
import { useRoute as ce } from "vue-router";
|
|
8
8
|
// src/standalone/Banner.vue
|
|
9
9
|
var le = {
|
|
@@ -327,7 +327,7 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
|
|
|
327
327
|
}
|
|
328
328
|
},
|
|
329
329
|
setup(e) {
|
|
330
|
-
let t = e, { t: n } = q(), i = (e) =>
|
|
330
|
+
let t = e, { t: n } = q(), i = (e) => W(Array.isArray(e) ? e.join("; ") : e), a = l(() => {
|
|
331
331
|
let e = t.text ?? {}, r = [], a = i(e.name ?? t.record?.internal_name ?? "");
|
|
332
332
|
a && r.push(G(a));
|
|
333
333
|
let o = i(e.alternate_name);
|
|
@@ -421,7 +421,7 @@ var me = { class: "mwnf-standalone-sponsors" }, he = {
|
|
|
421
421
|
prefix: e.prefix ? n(e.prefix) : "",
|
|
422
422
|
title: e.title ? n(e.title) : void 0
|
|
423
423
|
}))), p = l(() => o.value.highlight ?? null), m = oe();
|
|
424
|
-
p.value?.list?.length && (
|
|
424
|
+
p.value?.list?.length && (ne(["items", "countries"]), R(i, (e) => {
|
|
425
425
|
m.loadTranslations("items", e), m.loadTranslations("countries", e);
|
|
426
426
|
}, { immediate: !0 }));
|
|
427
427
|
let _ = ee("items", "backward_compatibility"), v = l(() => {
|
|
@@ -633,8 +633,11 @@ ${d}
|
|
|
633
633
|
// src/standalone/RelatedContent.vue
|
|
634
634
|
var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-related__heading" }, pt = { class: "mwnf-standalone-related__group-heading" }, mt = { class: "mwnf-standalone-related__thumbs" }, ht = ["src", "alt"], gt = ["innerHTML"], _t = {
|
|
635
635
|
key: 0,
|
|
636
|
+
class: "mwnf-standalone-related__see-also"
|
|
637
|
+
}, vt = { class: "mwnf-standalone-related__see-also-heading" }, yt = ["href"], bt = ["href"], xt = {
|
|
638
|
+
key: 1,
|
|
636
639
|
class: "mwnf-standalone-related__download"
|
|
637
|
-
},
|
|
640
|
+
}, St = { class: "mwnf-standalone-related__download-heading" }, Ct = {
|
|
638
641
|
__name: "RelatedContent",
|
|
639
642
|
props: {
|
|
640
643
|
heading: {
|
|
@@ -649,6 +652,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
649
652
|
type: Array,
|
|
650
653
|
default: () => []
|
|
651
654
|
},
|
|
655
|
+
seeAlso: {
|
|
656
|
+
type: Object,
|
|
657
|
+
default: null
|
|
658
|
+
},
|
|
652
659
|
download: {
|
|
653
660
|
type: Object,
|
|
654
661
|
default: null
|
|
@@ -693,8 +700,22 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
693
700
|
_: 2
|
|
694
701
|
}, 1032, ["to", "title"])]))), 128))])]))), 128)),
|
|
695
702
|
k(t.$slots, "default"),
|
|
696
|
-
e.
|
|
697
|
-
p("p", vt, A(j(n)(e.
|
|
703
|
+
e.seeAlso ? (T(), f("div", _t, [
|
|
704
|
+
p("p", vt, [p("strong", null, [s[0] ||= p("br", null, null, -1), h(A(j(n)(e.seeAlso.heading)), 1)])]),
|
|
705
|
+
(T(!0), f(c, null, O(e.seeAlso.links ?? [], (e) => (T(), f("a", {
|
|
706
|
+
key: e.href,
|
|
707
|
+
class: "mwnf-standalone-related__see-also-link",
|
|
708
|
+
href: e.href,
|
|
709
|
+
target: "_blank",
|
|
710
|
+
rel: "noopener"
|
|
711
|
+
}, A(j(n)(e.label)), 9, yt))), 128)),
|
|
712
|
+
(T(!0), f(c, null, O(e.seeAlso.groups ?? [], (e) => (T(), f("div", {
|
|
713
|
+
key: e.heading,
|
|
714
|
+
class: "mwnf-standalone-related__see-also-group"
|
|
715
|
+
}, [p("p", null, A(j(n)(e.heading)), 1), (T(!0), f(c, null, O(e.links, (e) => (T(), f("p", { key: e.href }, [p("a", { href: e.href }, A(e.text), 9, bt)]))), 128))]))), 128))
|
|
716
|
+
])) : d("", !0),
|
|
717
|
+
e.download ? (T(), f("div", xt, [
|
|
718
|
+
p("p", St, A(j(n)(e.download.heading)), 1),
|
|
698
719
|
p("button", {
|
|
699
720
|
type: "button",
|
|
700
721
|
class: "mwnf-standalone-related__print",
|
|
@@ -709,10 +730,40 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
709
730
|
])) : d("", !0)
|
|
710
731
|
]));
|
|
711
732
|
}
|
|
712
|
-
},
|
|
733
|
+
}, $ = Object.freeze({
|
|
734
|
+
heading: "standalone.related.seeAlso",
|
|
735
|
+
travelBook: "standalone.related.travelBook",
|
|
736
|
+
exhibitionTrail: "standalone.related.exhibitionTrail"
|
|
737
|
+
}), wt = (e, t) => e?.[t] ?? e?.en ?? Object.values(e ?? {})[0] ?? "";
|
|
738
|
+
function Tt(e, t) {
|
|
739
|
+
let n = W(wt(e?.titles, t) ?? ""), r = W(wt(e?.subtitles, t) ?? "");
|
|
740
|
+
return r ? `${n} - ${r}` : n;
|
|
741
|
+
}
|
|
742
|
+
var Et = (e, t) => `${String(e).replace(/\/+$/, "")}/${encodeURIComponent(t)}`, Dt = (e, t) => `${e}${String(e).includes("?") ? "&" : "?"}lang=${encodeURIComponent(t)}`;
|
|
743
|
+
function Ot(e, t, n = $) {
|
|
744
|
+
let r = [], i = e?.travel_book;
|
|
745
|
+
i?.url && r.push({
|
|
746
|
+
label: n.travelBook,
|
|
747
|
+
href: Et(i.url, t)
|
|
748
|
+
});
|
|
749
|
+
let a = (Array.isArray(e?.exhibition_trails) ? e.exhibition_trails : []).filter((e) => e?.url).map((e) => ({
|
|
750
|
+
text: Tt(e, t),
|
|
751
|
+
href: Dt(e.url, t)
|
|
752
|
+
})), o = a.length ? [{
|
|
753
|
+
heading: n.exhibitionTrail,
|
|
754
|
+
links: a
|
|
755
|
+
}] : [];
|
|
756
|
+
return r.length === 0 && o.length === 0 ? null : {
|
|
757
|
+
heading: n.heading,
|
|
758
|
+
links: r,
|
|
759
|
+
groups: o
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
// src/standalone/ItemSheet.vue
|
|
763
|
+
var kt = { class: "mwnf-standalone-item__top" }, At = { class: "mwnf-standalone-item__left" }, jt = {
|
|
713
764
|
key: 0,
|
|
714
765
|
class: "mwnf-standalone-item__back"
|
|
715
|
-
},
|
|
766
|
+
}, Mt = {
|
|
716
767
|
__name: "ItemSheet",
|
|
717
768
|
props: {
|
|
718
769
|
spec: {
|
|
@@ -733,22 +784,31 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
733
784
|
}
|
|
734
785
|
},
|
|
735
786
|
setup(e) {
|
|
736
|
-
let t = e, { t: a } = q(),
|
|
787
|
+
let t = e, { t: a, locale: v } = q(), y = P();
|
|
788
|
+
function b(e) {
|
|
789
|
+
if (t.related.seeAlso === !1) return null;
|
|
790
|
+
let n = {
|
|
791
|
+
...$,
|
|
792
|
+
...typeof t.related.seeAlso == "object" ? t.related.seeAlso : {}
|
|
793
|
+
};
|
|
794
|
+
return Ot(e, v.value, n);
|
|
795
|
+
}
|
|
796
|
+
let S = l(() => ({
|
|
737
797
|
...t.spec,
|
|
738
798
|
media: () => []
|
|
739
799
|
}));
|
|
740
|
-
function
|
|
741
|
-
return o(
|
|
800
|
+
function C(e) {
|
|
801
|
+
return o(w(e), t.spec.pictureLimit, e);
|
|
742
802
|
}
|
|
743
|
-
function
|
|
803
|
+
function w({ record: e, text: n, language: r }) {
|
|
744
804
|
if (t.spec.media) return t.spec.media(e, {
|
|
745
805
|
record: e,
|
|
746
806
|
text: n,
|
|
747
807
|
language: r
|
|
748
808
|
});
|
|
749
809
|
let i = K(String(n?.name ?? e?.internal_name ?? ""));
|
|
750
|
-
return
|
|
751
|
-
let { photographer: t, copyright: n } =
|
|
810
|
+
return ie(e?.images, r).map((e) => {
|
|
811
|
+
let { photographer: t, copyright: n } = re(e, r), o = [t ? `${a("record.media.photograph")}: ${t}` : "", n ? `© ${n}` : ""].filter(Boolean).join(", ");
|
|
752
812
|
return {
|
|
753
813
|
url: e.url,
|
|
754
814
|
alt: o || e.captions?.[r] || i,
|
|
@@ -756,28 +816,28 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
756
816
|
};
|
|
757
817
|
});
|
|
758
818
|
}
|
|
759
|
-
let
|
|
819
|
+
let E = l(() => t.back.map((e) => ({
|
|
760
820
|
...e,
|
|
761
821
|
label: a(e.label)
|
|
762
|
-
}))),
|
|
822
|
+
}))), D = /* @__PURE__ */ new Set([
|
|
763
823
|
"header",
|
|
764
824
|
"before-sheet",
|
|
765
825
|
"related",
|
|
766
826
|
"sidebar",
|
|
767
827
|
"aside",
|
|
768
828
|
"source"
|
|
769
|
-
]),
|
|
770
|
-
function
|
|
829
|
+
]), j = l(() => Object.keys(y).filter((e) => !D.has(e)));
|
|
830
|
+
function M() {
|
|
771
831
|
window.history.back();
|
|
772
832
|
}
|
|
773
|
-
let
|
|
833
|
+
let N = (e) => [...e].sort((e, t) => t.code.localeCompare(e.code));
|
|
774
834
|
return (t, a) => (T(), u(s, {
|
|
775
|
-
spec:
|
|
835
|
+
spec: S.value,
|
|
776
836
|
id: e.id,
|
|
777
837
|
class: "mwnf-standalone-item"
|
|
778
838
|
}, m({
|
|
779
|
-
header: z(({ languages: e, language: t, select: r }) => [p("div",
|
|
780
|
-
languages:
|
|
839
|
+
header: z(({ languages: e, language: t, select: r }) => [p("div", kt, [g(n, {
|
|
840
|
+
languages: N(e),
|
|
781
841
|
language: t,
|
|
782
842
|
from: 1,
|
|
783
843
|
onSelect: r
|
|
@@ -786,11 +846,11 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
786
846
|
"language",
|
|
787
847
|
"onSelect"
|
|
788
848
|
])])]),
|
|
789
|
-
"before-sheet": z((e) => [p("div",
|
|
849
|
+
"before-sheet": z((e) => [p("div", At, [E.value.length ? (T(), f("p", jt, [(T(!0), f(c, null, O(E.value, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
790
850
|
key: 0,
|
|
791
851
|
type: "button",
|
|
792
852
|
class: "mwnf-standalone-item__back-link",
|
|
793
|
-
onClick:
|
|
853
|
+
onClick: M
|
|
794
854
|
}, A(e.label), 1)) : (T(), u(r, {
|
|
795
855
|
key: 1,
|
|
796
856
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -800,13 +860,14 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
800
860
|
default: z(() => [h(A(e.label), 1)]),
|
|
801
861
|
_: 2
|
|
802
862
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0), g(i, {
|
|
803
|
-
images:
|
|
863
|
+
images: C(e),
|
|
804
864
|
"thumbs-from": 1
|
|
805
865
|
}, null, 8, ["images"])]), k(t.$slots, "before-sheet", x(_(e)))]),
|
|
806
|
-
related: z((n) => [g(
|
|
866
|
+
related: z((n) => [g(Ct, {
|
|
807
867
|
heading: e.related.heading ?? "record.related.title",
|
|
808
868
|
records: n.records,
|
|
809
869
|
groups: e.related.groups ?? [],
|
|
870
|
+
"see-also": b(n.record),
|
|
810
871
|
download: e.related.download ?? null,
|
|
811
872
|
"word-file": e.related.download?.wordFile?.(n.record, n.language) ?? "sheet.doc"
|
|
812
873
|
}, {
|
|
@@ -816,47 +877,48 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
816
877
|
"heading",
|
|
817
878
|
"records",
|
|
818
879
|
"groups",
|
|
880
|
+
"see-also",
|
|
819
881
|
"download",
|
|
820
882
|
"word-file"
|
|
821
883
|
])]),
|
|
822
884
|
source: z((e) => [k(t.$slots, "source", x(_(e)))]),
|
|
823
885
|
_: 2
|
|
824
|
-
}, [O(
|
|
886
|
+
}, [O(j.value, (e) => ({
|
|
825
887
|
name: e,
|
|
826
888
|
fn: z((n) => [k(t.$slots, e, x(_(n)))])
|
|
827
889
|
}))]), 1032, ["spec", "id"]));
|
|
828
890
|
}
|
|
829
|
-
},
|
|
891
|
+
}, Nt = {
|
|
830
892
|
key: 0,
|
|
831
893
|
class: "mwnf-standalone-item__top"
|
|
832
|
-
},
|
|
894
|
+
}, Pt = {
|
|
833
895
|
key: 1,
|
|
834
896
|
hidden: ""
|
|
835
|
-
},
|
|
897
|
+
}, Ft = {
|
|
836
898
|
key: 0,
|
|
837
899
|
class: "mwnf-standalone-item__back mwnf-standalone-partner__back"
|
|
838
|
-
},
|
|
900
|
+
}, It = { class: "mwnf-standalone-partner__heading" }, Lt = ["dir", "innerHTML"], Rt = {
|
|
839
901
|
key: 0,
|
|
840
902
|
class: "mwnf-standalone-partner__location"
|
|
841
|
-
},
|
|
903
|
+
}, zt = { class: "mwnf-standalone-partner__bar" }, Bt = { class: "mwnf-standalone-partner__bar-start" }, Vt = ["aria-label", "onKeydown"], Ht = [
|
|
842
904
|
"id",
|
|
843
905
|
"aria-selected",
|
|
844
906
|
"aria-controls",
|
|
845
907
|
"tabindex",
|
|
846
908
|
"onClick"
|
|
847
|
-
],
|
|
909
|
+
], Ut = {
|
|
848
910
|
key: 0,
|
|
849
911
|
class: "mwnf-standalone-partner__divider",
|
|
850
912
|
"aria-hidden": "true"
|
|
851
|
-
},
|
|
913
|
+
}, Wt = { key: 0 }, Gt = ["href"], Kt = { class: "mwnf-standalone-partner__bar-end" }, qt = { class: "mwnf-standalone-partner__body" }, Jt = { class: "mwnf-standalone-partner__pictures" }, Yt = { class: "mwnf-standalone-partner__panels" }, Xt = [
|
|
852
914
|
"id",
|
|
853
915
|
"aria-labelledby",
|
|
854
916
|
"dir",
|
|
855
917
|
"innerHTML"
|
|
856
|
-
],
|
|
918
|
+
], Zt = ["id", "aria-labelledby"], Qt = ["innerHTML"], $t = ["href"], en = { key: 0 }, tn = ["href"], nn = ["href"], rn = ["id", "aria-labelledby"], an = ["src"], on = {
|
|
857
919
|
key: 0,
|
|
858
920
|
class: "mwnf-standalone-partner__map"
|
|
859
|
-
},
|
|
921
|
+
}, sn = { class: "mwnf-standalone-partner__map-heading" }, cn = {
|
|
860
922
|
__name: "PartnerPage",
|
|
861
923
|
props: {
|
|
862
924
|
id: {
|
|
@@ -953,7 +1015,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
953
1015
|
id: e.id,
|
|
954
1016
|
class: "mwnf-standalone-partner"
|
|
955
1017
|
}, {
|
|
956
|
-
header: z(({ record: r, languages: i, language: a, select: o }) => [e.bands(r) ? (T(), f("div",
|
|
1018
|
+
header: z(({ record: r, languages: i, language: a, select: o }) => [e.bands(r) ? (T(), f("div", Nt, [g(n, {
|
|
957
1019
|
languages: i.filter((e) => t.languages(r, e.code)),
|
|
958
1020
|
language: a,
|
|
959
1021
|
from: 1,
|
|
@@ -962,9 +1024,9 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
962
1024
|
"languages",
|
|
963
1025
|
"language",
|
|
964
1026
|
"onSelect"
|
|
965
|
-
])])) : (T(), f("div",
|
|
1027
|
+
])])) : (T(), f("div", Pt))]),
|
|
966
1028
|
"before-sheet": z(({ record: n, text: a, dir: s }) => [(T(!0), f(c, null, O([t.view(n, a)], (t) => (T(), f(c, { key: n.id }, [
|
|
967
|
-
C(n).length ? (T(), f("p",
|
|
1029
|
+
C(n).length ? (T(), f("p", Ft, [(T(!0), f(c, null, O(C(n), (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
968
1030
|
key: 0,
|
|
969
1031
|
type: "button",
|
|
970
1032
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -978,12 +1040,12 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
978
1040
|
default: z(() => [h(A(e.label), 1)]),
|
|
979
1041
|
_: 2
|
|
980
1042
|
}, 1032, ["to", "href"]))], 64))), 128))])) : d("", !0),
|
|
981
|
-
p("div",
|
|
1043
|
+
p("div", It, [p("h3", {
|
|
982
1044
|
class: "mwnf-standalone-partner__name",
|
|
983
1045
|
dir: s || void 0,
|
|
984
1046
|
innerHTML: t.name
|
|
985
|
-
}, null, 8,
|
|
986
|
-
p("div",
|
|
1047
|
+
}, null, 8, Lt), t.location ? (T(), f("h4", Rt, [p("i", null, A(t.location), 1)])) : d("", !0)]),
|
|
1048
|
+
p("div", zt, [p("div", Bt, [p("ul", {
|
|
987
1049
|
role: "tablist",
|
|
988
1050
|
class: "mwnf-standalone-partner__tabs",
|
|
989
1051
|
"aria-label": t.plainName,
|
|
@@ -1000,12 +1062,12 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1000
1062
|
"aria-controls": `${j(_)}-panel-${e}`,
|
|
1001
1063
|
tabindex: k.value === e ? 0 : -1,
|
|
1002
1064
|
onClick: (t) => k.value = e
|
|
1003
|
-
}, "\xA0" + A(S(e)), 11,
|
|
1065
|
+
}, "\xA0" + A(S(e)), 11, Ht), r < E(t, n, a).length - 1 || t.contact.website ? (T(), f("span", Ut, "\xA0|")) : d("", !0)]))), 128)), t.contact.website ? (T(), f("li", Wt, [p("a", {
|
|
1004
1066
|
class: "mwnf-standalone-partner__homepage",
|
|
1005
1067
|
href: t.contact.website.url,
|
|
1006
1068
|
target: "_blank",
|
|
1007
1069
|
rel: "noopener"
|
|
1008
|
-
}, "\xA0" + A(S("homepage")), 9,
|
|
1070
|
+
}, "\xA0" + A(S("homepage")), 9, Gt)])) : d("", !0)], 40, Vt)]), p("div", Kt, [e.items(n) ? (T(), u(r, {
|
|
1009
1071
|
key: 0,
|
|
1010
1072
|
class: "mwnf-standalone-partner__items",
|
|
1011
1073
|
to: e.items(n).to
|
|
@@ -1013,10 +1075,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1013
1075
|
default: z(() => [h(A(j(o)(e.items(n).label)), 1)]),
|
|
1014
1076
|
_: 2
|
|
1015
1077
|
}, 1032, ["to"])) : d("", !0)])]),
|
|
1016
|
-
p("div",
|
|
1078
|
+
p("div", qt, [p("div", Jt, [t.pictures.length ? (T(), u(i, {
|
|
1017
1079
|
key: 0,
|
|
1018
1080
|
images: P(t)
|
|
1019
|
-
}, null, 8, ["images"])) : d("", !0)]), p("div",
|
|
1081
|
+
}, null, 8, ["images"])) : d("", !0)]), p("div", Yt, [
|
|
1020
1082
|
B(p("div", {
|
|
1021
1083
|
id: `${j(_)}-panel-about`,
|
|
1022
1084
|
class: "mwnf-standalone-partner__panel mwnf-standalone-partner__about",
|
|
@@ -1024,7 +1086,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1024
1086
|
"aria-labelledby": `${j(_)}-tab-about`,
|
|
1025
1087
|
dir: s || void 0,
|
|
1026
1088
|
innerHTML: t.description
|
|
1027
|
-
}, null, 8,
|
|
1089
|
+
}, null, 8, Xt), [[L, k.value === "about"]]),
|
|
1028
1090
|
t.hasContact ? B((T(), f("div", {
|
|
1029
1091
|
key: 0,
|
|
1030
1092
|
id: `${j(_)}-panel-contact`,
|
|
@@ -1037,21 +1099,21 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1037
1099
|
t.contact.address ? (T(), f(c, { key: 0 }, [p("span", {
|
|
1038
1100
|
class: "mwnf-standalone-partner__address",
|
|
1039
1101
|
innerHTML: t.contact.address
|
|
1040
|
-
}, null, 8,
|
|
1102
|
+
}, null, 8, Qt), m[0] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1041
1103
|
t.contact.phone ? (T(), f(c, { key: 1 }, [h(A(S("phone")) + " " + A(t.contact.phone), 1), m[1] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1042
1104
|
t.contact.fax ? (T(), f(c, { key: 2 }, [h(A(S("fax")) + " " + A(t.contact.fax), 1), m[2] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1043
|
-
t.contact.email ? (T(), f(c, { key: 3 }, [p("a", { href: `mailto:${t.contact.email}` }, A(t.contact.email), 9,
|
|
1044
|
-
]), F(t).length ? (T(), f("p",
|
|
1105
|
+
t.contact.email ? (T(), f(c, { key: 3 }, [p("a", { href: `mailto:${t.contact.email}` }, A(t.contact.email), 9, $t), m[3] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1106
|
+
]), F(t).length ? (T(), f("p", en, [(T(!0), f(c, null, O(F(t), (e, t) => (T(), f(c, { key: e.url }, [t ? (T(), f(c, { key: 0 }, [h("\xA0|\xA0")], 64)) : d("", !0), p("a", {
|
|
1045
1107
|
href: e.url,
|
|
1046
1108
|
target: "_blank",
|
|
1047
1109
|
rel: "noopener"
|
|
1048
|
-
}, A(e.label), 9,
|
|
1110
|
+
}, A(e.label), 9, tn)], 64))), 128))])) : d("", !0)], 64)) : d("", !0), (T(!0), f(c, null, O(t.persons, (e, t) => (T(), f("p", { key: t }, [
|
|
1049
1111
|
e.title ? (T(), f(c, { key: 0 }, [p("strong", null, A(e.title), 1), m[5] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1050
1112
|
e.name ? (T(), f(c, { key: 1 }, [h(A(e.name), 1), m[6] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1051
1113
|
e.phone ? (T(), f(c, { key: 2 }, [h(A(S("phone")) + " " + A(e.phone), 1), m[7] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1052
1114
|
e.fax ? (T(), f(c, { key: 3 }, [h(A(S("fax")) + " " + A(e.fax), 1), m[8] ||= p("br", null, null, -1)], 64)) : d("", !0),
|
|
1053
|
-
e.email ? (T(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, A(e.email), 9,
|
|
1054
|
-
]))), 128))], 8,
|
|
1115
|
+
e.email ? (T(), f(c, { key: 4 }, [p("a", { href: `mailto:${e.email}` }, A(e.email), 9, nn), m[9] ||= p("br", null, null, -1)], 64)) : d("", !0)
|
|
1116
|
+
]))), 128))], 8, Zt)), [[L, k.value === "contact"]]) : d("", !0),
|
|
1055
1117
|
t.logos.length ? B((T(), f("div", {
|
|
1056
1118
|
key: 1,
|
|
1057
1119
|
id: `${j(_)}-panel-logo`,
|
|
@@ -1062,10 +1124,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1062
1124
|
key: e.url,
|
|
1063
1125
|
src: e.url,
|
|
1064
1126
|
alt: ""
|
|
1065
|
-
}, null, 8,
|
|
1127
|
+
}, null, 8, an))), 128))], 8, rn)), [[L, k.value === "logo"]]) : d("", !0)
|
|
1066
1128
|
])])
|
|
1067
1129
|
], 64))), 128))]),
|
|
1068
|
-
after: z(({ record: n, text: r }) => [e.map(n) && t.view(n, r)?.map ? (T(), f("section",
|
|
1130
|
+
after: z(({ record: n, text: r }) => [e.map(n) && t.view(n, r)?.map ? (T(), f("section", on, [p("h3", sn, A(S("map")), 1), g(a, {
|
|
1069
1131
|
provider: "google",
|
|
1070
1132
|
latitude: t.view(n, r).map.latitude,
|
|
1071
1133
|
longitude: t.view(n, r).map.longitude,
|
|
@@ -1082,13 +1144,13 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1082
1144
|
_: 1
|
|
1083
1145
|
}, 8, ["id"]));
|
|
1084
1146
|
}
|
|
1085
|
-
},
|
|
1147
|
+
}, ln = ["innerHTML"], un = {
|
|
1086
1148
|
key: 0,
|
|
1087
1149
|
class: "mwnf-standalone-page__link"
|
|
1088
|
-
},
|
|
1150
|
+
}, dn = {
|
|
1089
1151
|
key: 1,
|
|
1090
1152
|
class: "mwnf-standalone-page__print"
|
|
1091
|
-
},
|
|
1153
|
+
}, fn = {
|
|
1092
1154
|
__name: "TextPage",
|
|
1093
1155
|
props: {
|
|
1094
1156
|
body: {
|
|
@@ -1124,25 +1186,25 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1124
1186
|
p("div", {
|
|
1125
1187
|
class: "mwnf-standalone-page__body",
|
|
1126
1188
|
innerHTML: i.value
|
|
1127
|
-
}, null, 8,
|
|
1128
|
-
e.link ? (T(), f("p",
|
|
1189
|
+
}, null, 8, ln),
|
|
1190
|
+
e.link ? (T(), f("p", un, [g(r, {
|
|
1129
1191
|
to: e.link.to,
|
|
1130
1192
|
href: e.link.href
|
|
1131
1193
|
}, {
|
|
1132
1194
|
default: z(() => [p("strong", null, A(e.link.text ?? j(n)(e.link.label)), 1)]),
|
|
1133
1195
|
_: 1
|
|
1134
1196
|
}, 8, ["to", "href"])])) : d("", !0),
|
|
1135
|
-
e.print ? (T(), f("p",
|
|
1197
|
+
e.print ? (T(), f("p", dn, [p("button", {
|
|
1136
1198
|
type: "button",
|
|
1137
1199
|
class: "mwnf-standalone-page__print-button",
|
|
1138
1200
|
onClick: a
|
|
1139
1201
|
}, A(j(n)(e.print)), 1)])) : d("", !0)
|
|
1140
1202
|
], 2));
|
|
1141
1203
|
}
|
|
1142
|
-
},
|
|
1204
|
+
}, pn = {
|
|
1143
1205
|
key: 0,
|
|
1144
1206
|
class: "mwnf-standalone-subnav"
|
|
1145
|
-
},
|
|
1207
|
+
}, mn = { class: "mwnf-standalone-subnav__tabs" }, hn = {
|
|
1146
1208
|
__name: "SubNav",
|
|
1147
1209
|
props: {
|
|
1148
1210
|
tabs: {
|
|
@@ -1159,7 +1221,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1159
1221
|
...e,
|
|
1160
1222
|
label: n(e.label)
|
|
1161
1223
|
})));
|
|
1162
|
-
return (t, a) => i.value.length || e.aside ? (T(), f("nav",
|
|
1224
|
+
return (t, a) => i.value.length || e.aside ? (T(), f("nav", pn, [p("ul", mn, [(T(!0), f(c, null, O(i.value, (e) => (T(), f("li", { key: e.label }, [g(r, {
|
|
1163
1225
|
to: e.to,
|
|
1164
1226
|
href: e.href,
|
|
1165
1227
|
class: b(["mwnf-standalone-subnav__tab", { "mwnf-standalone-subnav__tab--active": e.active }]),
|
|
@@ -1182,13 +1244,13 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1182
1244
|
_: 1
|
|
1183
1245
|
}, 8, ["to", "href"])) : d("", !0)])) : d("", !0);
|
|
1184
1246
|
}
|
|
1185
|
-
},
|
|
1247
|
+
}, gn = { class: "mwnf-standalone-results" }, _n = {
|
|
1186
1248
|
key: 0,
|
|
1187
1249
|
class: "mwnf-standalone-results__empty"
|
|
1188
|
-
},
|
|
1250
|
+
}, vn = { class: "mwnf-standalone-results__tile" }, yn = ["src"], bn = { class: "mwnf-standalone-results__panel" }, xn = ["src"], Sn = { class: "mwnf-standalone-results__name" }, Cn = ["innerHTML"], wn = ["innerHTML"], Tn = {
|
|
1189
1251
|
key: 0,
|
|
1190
1252
|
class: "mwnf-standalone-results__holder"
|
|
1191
|
-
},
|
|
1253
|
+
}, En = ["innerHTML"], Dn = ["innerHTML"], On = {
|
|
1192
1254
|
__name: "ResultsGrid",
|
|
1193
1255
|
props: {
|
|
1194
1256
|
rows: {
|
|
@@ -1209,10 +1271,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1209
1271
|
}
|
|
1210
1272
|
},
|
|
1211
1273
|
setup(e) {
|
|
1212
|
-
return (t, n) => (T(), f("div",
|
|
1274
|
+
return (t, n) => (T(), f("div", gn, [e.rows.length ? d("", !0) : (T(), f("p", _n, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1213
1275
|
key: t.id,
|
|
1214
1276
|
class: "mwnf-standalone-results__cell"
|
|
1215
|
-
}, [p("div",
|
|
1277
|
+
}, [p("div", vn, [g(r, {
|
|
1216
1278
|
class: "mwnf-standalone-results__frame",
|
|
1217
1279
|
to: t.to,
|
|
1218
1280
|
href: t.href
|
|
@@ -1220,9 +1282,9 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1220
1282
|
default: z(() => [p("img", {
|
|
1221
1283
|
src: t.image || e.noImage,
|
|
1222
1284
|
alt: ""
|
|
1223
|
-
}, null, 8,
|
|
1285
|
+
}, null, 8, yn)]),
|
|
1224
1286
|
_: 2
|
|
1225
|
-
}, 1032, ["to", "href"]), p("div",
|
|
1287
|
+
}, 1032, ["to", "href"]), p("div", bn, [
|
|
1226
1288
|
g(r, {
|
|
1227
1289
|
class: "mwnf-standalone-results__panel-frame",
|
|
1228
1290
|
to: t.to,
|
|
@@ -1231,25 +1293,25 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1231
1293
|
default: z(() => [p("img", {
|
|
1232
1294
|
src: t.image || e.noImage,
|
|
1233
1295
|
alt: ""
|
|
1234
|
-
}, null, 8,
|
|
1296
|
+
}, null, 8, xn)]),
|
|
1235
1297
|
_: 2
|
|
1236
1298
|
}, 1032, ["to", "href"]),
|
|
1237
|
-
p("p",
|
|
1299
|
+
p("p", Sn, [p("strong", null, [g(r, {
|
|
1238
1300
|
to: t.to,
|
|
1239
1301
|
href: t.href
|
|
1240
1302
|
}, {
|
|
1241
|
-
default: z(() => [p("span", { innerHTML: t.name }, null, 8,
|
|
1303
|
+
default: z(() => [p("span", { innerHTML: t.name }, null, 8, Cn)]),
|
|
1242
1304
|
_: 2
|
|
1243
1305
|
}, 1032, ["to", "href"])])]),
|
|
1244
1306
|
(T(!0), f(c, null, O(t.lines ?? [], (e, t) => (T(), f("p", {
|
|
1245
1307
|
key: t,
|
|
1246
1308
|
innerHTML: e
|
|
1247
|
-
}, null, 8,
|
|
1248
|
-
t.holder ? (T(), f("p",
|
|
1309
|
+
}, null, 8, wn))), 128)),
|
|
1310
|
+
t.holder ? (T(), f("p", Tn, [p("strong", { innerHTML: t.holder }, null, 8, En)])) : d("", !0),
|
|
1249
1311
|
t.location ? (T(), f("p", {
|
|
1250
1312
|
key: 1,
|
|
1251
1313
|
innerHTML: t.location
|
|
1252
|
-
}, null, 8,
|
|
1314
|
+
}, null, 8, Dn)) : d("", !0),
|
|
1253
1315
|
p("p", null, [g(r, {
|
|
1254
1316
|
class: "mwnf-standalone-results__see",
|
|
1255
1317
|
to: t.to,
|
|
@@ -1260,13 +1322,13 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1260
1322
|
}, 8, ["to", "href"])])
|
|
1261
1323
|
])])]))), 128))]));
|
|
1262
1324
|
}
|
|
1263
|
-
},
|
|
1325
|
+
}, kn = { class: "mwnf-standalone-list" }, An = { class: "mwnf-standalone-list__aside" }, jn = {
|
|
1264
1326
|
key: 0,
|
|
1265
1327
|
class: "mwnf-standalone-list__preview"
|
|
1266
|
-
},
|
|
1328
|
+
}, Mn = { class: "mwnf-standalone-list__preview-picture" }, Nn = ["src"], Pn = { class: "mwnf-standalone-list__preview-name" }, Fn = ["innerHTML"], In = ["innerHTML"], Ln = { key: 0 }, Rn = ["innerHTML"], zn = ["innerHTML"], Bn = { class: "mwnf-standalone-list__records" }, Vn = {
|
|
1267
1329
|
key: 0,
|
|
1268
1330
|
class: "mwnf-standalone-list__empty"
|
|
1269
|
-
},
|
|
1331
|
+
}, Hn = { class: "mwnf-standalone-list__frame" }, Un = ["src"], Wn = { class: "mwnf-standalone-list__content" }, Gn = ["innerHTML"], Kn = ["innerHTML"], qn = { key: 0 }, Jn = ["innerHTML"], Yn = {
|
|
1270
1332
|
__name: "ResultsList",
|
|
1271
1333
|
props: {
|
|
1272
1334
|
rows: {
|
|
@@ -1284,26 +1346,26 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1284
1346
|
},
|
|
1285
1347
|
setup(e) {
|
|
1286
1348
|
let t = e, n = D(null), i = l(() => n.value ?? t.rows[0] ?? null);
|
|
1287
|
-
return (t, a) => (T(), f("div",
|
|
1288
|
-
p("div",
|
|
1349
|
+
return (t, a) => (T(), f("div", kn, [p("div", An, [i.value ? (T(), f("div", jn, [
|
|
1350
|
+
p("div", Mn, [i.value.image || e.noImage ? (T(), f("img", {
|
|
1289
1351
|
key: 0,
|
|
1290
1352
|
src: i.value.image || e.noImage,
|
|
1291
1353
|
alt: ""
|
|
1292
|
-
}, null, 8,
|
|
1293
|
-
p("p",
|
|
1354
|
+
}, null, 8, Nn)) : d("", !0)]),
|
|
1355
|
+
p("p", Pn, [p("strong", { innerHTML: i.value.name }, null, 8, Fn)]),
|
|
1294
1356
|
(T(!0), f(c, null, O(i.value.preview?.lines ?? [], (e, t) => (T(), f("p", {
|
|
1295
1357
|
key: t,
|
|
1296
1358
|
innerHTML: e
|
|
1297
|
-
}, null, 8,
|
|
1298
|
-
i.value.preview?.holder ? (T(), f("p",
|
|
1359
|
+
}, null, 8, In))), 128)),
|
|
1360
|
+
i.value.preview?.holder ? (T(), f("p", Ln, [p("strong", { innerHTML: i.value.preview.holder }, null, 8, Rn)])) : d("", !0),
|
|
1299
1361
|
i.value.preview?.location ? (T(), f("p", {
|
|
1300
1362
|
key: 1,
|
|
1301
1363
|
innerHTML: i.value.preview.location
|
|
1302
|
-
}, null, 8,
|
|
1303
|
-
])) : d("", !0)]), p("div",
|
|
1364
|
+
}, null, 8, zn)) : d("", !0)
|
|
1365
|
+
])) : d("", !0)]), p("div", Bn, [e.rows.length ? d("", !0) : (T(), f("p", Vn, A(e.empty), 1)), (T(!0), f(c, null, O(e.rows, (t) => (T(), f("div", {
|
|
1304
1366
|
key: t.id,
|
|
1305
1367
|
class: "mwnf-standalone-list__cell"
|
|
1306
|
-
}, [p("div",
|
|
1368
|
+
}, [p("div", Hn, [g(r, {
|
|
1307
1369
|
to: t.to,
|
|
1308
1370
|
href: t.href,
|
|
1309
1371
|
onMouseenter: (e) => n.value = t,
|
|
@@ -1313,13 +1375,13 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1313
1375
|
key: 0,
|
|
1314
1376
|
src: t.image || e.noImage,
|
|
1315
1377
|
alt: ""
|
|
1316
|
-
}, null, 8,
|
|
1378
|
+
}, null, 8, Un)) : d("", !0)]),
|
|
1317
1379
|
_: 2
|
|
1318
1380
|
}, 1032, [
|
|
1319
1381
|
"to",
|
|
1320
1382
|
"href",
|
|
1321
1383
|
"onMouseenter"
|
|
1322
|
-
])]), p("div",
|
|
1384
|
+
])]), p("div", Wn, [p("p", null, [g(r, {
|
|
1323
1385
|
to: t.to,
|
|
1324
1386
|
href: t.href,
|
|
1325
1387
|
onMouseenter: (e) => n.value = t,
|
|
@@ -1329,27 +1391,27 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1329
1391
|
p("span", {
|
|
1330
1392
|
class: "mwnf-standalone-list__name",
|
|
1331
1393
|
innerHTML: `${t.name},`
|
|
1332
|
-
}, null, 8,
|
|
1394
|
+
}, null, 8, Gn),
|
|
1333
1395
|
a[2] ||= h(),
|
|
1334
|
-
p("span", { innerHTML: t.place }, null, 8,
|
|
1396
|
+
p("span", { innerHTML: t.place }, null, 8, Kn)
|
|
1335
1397
|
]),
|
|
1336
1398
|
_: 2
|
|
1337
1399
|
}, 1032, [
|
|
1338
1400
|
"to",
|
|
1339
1401
|
"href",
|
|
1340
1402
|
"onMouseenter"
|
|
1341
|
-
])]), t.dates ? (T(), f("div",
|
|
1403
|
+
])]), t.dates ? (T(), f("div", qn, [p("i", { innerHTML: t.dates }, null, 8, Jn)])) : d("", !0)])]))), 128))])]));
|
|
1342
1404
|
}
|
|
1343
|
-
},
|
|
1405
|
+
}, Xn = { class: "mwnf-standalone-refine__row" }, Zn = {
|
|
1344
1406
|
class: "mwnf-standalone-refine__label",
|
|
1345
1407
|
for: "mwnf-standalone-refine-keyword"
|
|
1346
|
-
},
|
|
1408
|
+
}, Qn = {
|
|
1347
1409
|
class: "mwnf-standalone-refine__label",
|
|
1348
1410
|
for: "mwnf-standalone-refine-field"
|
|
1349
|
-
},
|
|
1411
|
+
}, $n = ["value"], er = {
|
|
1350
1412
|
type: "submit",
|
|
1351
1413
|
class: "mwnf-standalone-refine__button"
|
|
1352
|
-
},
|
|
1414
|
+
}, tr = {
|
|
1353
1415
|
__name: "Refine",
|
|
1354
1416
|
props: {
|
|
1355
1417
|
label: {
|
|
@@ -1390,23 +1452,23 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1390
1452
|
return (t, n) => (T(), f("form", {
|
|
1391
1453
|
class: "mwnf-standalone-refine",
|
|
1392
1454
|
onSubmit: V(s, ["prevent"])
|
|
1393
|
-
}, [p("div",
|
|
1394
|
-
p("label",
|
|
1455
|
+
}, [p("div", Xn, [
|
|
1456
|
+
p("label", Zn, A(e.label), 1),
|
|
1395
1457
|
B(p("input", {
|
|
1396
1458
|
id: "mwnf-standalone-refine-keyword",
|
|
1397
1459
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
1398
1460
|
type: "text",
|
|
1399
1461
|
size: "40"
|
|
1400
1462
|
}, null, 512), [[I, a.value]]),
|
|
1401
|
-
p("label",
|
|
1463
|
+
p("label", Qn, A(e.inLabel), 1),
|
|
1402
1464
|
B(p("select", {
|
|
1403
1465
|
id: "mwnf-standalone-refine-field",
|
|
1404
1466
|
"onUpdate:modelValue": n[1] ||= (e) => o.value = e
|
|
1405
1467
|
}, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
|
|
1406
1468
|
key: e.value,
|
|
1407
1469
|
value: e.value
|
|
1408
|
-
}, A(e.label), 9,
|
|
1409
|
-
p("button",
|
|
1470
|
+
}, A(e.label), 9, $n))), 128))], 512), [[F, o.value]]),
|
|
1471
|
+
p("button", er, A(e.searchLabel), 1),
|
|
1410
1472
|
g(r, {
|
|
1411
1473
|
class: "mwnf-standalone-refine__button mwnf-standalone-refine__button--new",
|
|
1412
1474
|
to: e.newSearch
|
|
@@ -1416,10 +1478,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1416
1478
|
}, 8, ["to"])
|
|
1417
1479
|
])], 32));
|
|
1418
1480
|
}
|
|
1419
|
-
},
|
|
1481
|
+
}, nr = { class: "mwnf-standalone-item__back mwnf-standalone-pl__back" }, rr = { class: "mwnf-standalone-pl__heads" }, ir = { class: "mwnf-standalone-pl__head" }, ar = { key: 0 }, or = ["onClick"], sr = { class: "mwnf-standalone-pl__row" }, cr = { class: "mwnf-standalone-pl__main" }, lr = { class: "mwnf-standalone-pl__associated" }, ur = {
|
|
1420
1482
|
key: 0,
|
|
1421
1483
|
class: "mwnf-standalone-pl__none"
|
|
1422
|
-
},
|
|
1484
|
+
}, dr = {
|
|
1423
1485
|
__name: "PartnerList",
|
|
1424
1486
|
props: {
|
|
1425
1487
|
type: {
|
|
@@ -1457,7 +1519,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1457
1519
|
i.value = t ? null : e, a.value = t ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([e]);
|
|
1458
1520
|
}
|
|
1459
1521
|
return (t, s) => (T(), f("div", { class: b(["mwnf-standalone-pl", n.value ? "mwnf-standalone-pl--museums" : "mwnf-standalone-pl--institutions"]) }, [
|
|
1460
|
-
p("p",
|
|
1522
|
+
p("p", nr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1461
1523
|
key: 0,
|
|
1462
1524
|
type: "button",
|
|
1463
1525
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1471,33 +1533,33 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1471
1533
|
default: z(() => [h(A(e.label), 1)]),
|
|
1472
1534
|
_: 2
|
|
1473
1535
|
}, 1032, ["to", "href"]))], 64))), 128)), k(t.$slots, "back")]),
|
|
1474
|
-
p("div",
|
|
1536
|
+
p("div", rr, [(T(!0), f(c, null, O(e.heads, (e) => (T(), f("h3", { key: e }, A(e), 1))), 128))]),
|
|
1475
1537
|
(T(!0), f(c, null, O(e.groups, (t, s) => (T(), f("div", {
|
|
1476
1538
|
key: t.label,
|
|
1477
1539
|
class: "mwnf-standalone-pl__group"
|
|
1478
|
-
}, [p("div",
|
|
1540
|
+
}, [p("div", ir, [n.value ? (T(), f("h3", ar, A(t.label), 1)) : d("", !0), p("h3", null, [p("a", {
|
|
1479
1541
|
href: "#",
|
|
1480
1542
|
class: b(["mwnf-standalone-pl__toggle", { "mwnf-standalone-pl__toggle--active": i.value === s }]),
|
|
1481
1543
|
onClick: V((e) => o(s), ["prevent"])
|
|
1482
|
-
}, A(n.value ? e.seeAssociated : t.label), 11,
|
|
1544
|
+
}, A(n.value ? e.seeAssociated : t.label), 11, or)])]), B(p("div", sr, [p("div", cr, [(T(!0), f(c, null, O(t.main, (e) => (T(), f("p", { key: e.id }, [g(r, {
|
|
1483
1545
|
to: e.to,
|
|
1484
1546
|
href: e.href
|
|
1485
1547
|
}, {
|
|
1486
1548
|
default: z(() => [h(A(e.label), 1)]),
|
|
1487
1549
|
_: 2
|
|
1488
|
-
}, 1032, ["to", "href"])]))), 128))]), B(p("div",
|
|
1550
|
+
}, 1032, ["to", "href"])]))), 128))]), B(p("div", lr, [(T(!0), f(c, null, O(t.associated, (e) => (T(), f("p", { key: e.id }, [g(r, {
|
|
1489
1551
|
to: e.to,
|
|
1490
1552
|
href: e.href
|
|
1491
1553
|
}, {
|
|
1492
1554
|
default: z(() => [h(A(e.label), 1)]),
|
|
1493
1555
|
_: 2
|
|
1494
|
-
}, 1032, ["to", "href"])]))), 128)), n.value && !t.associated.length ? (T(), f("p",
|
|
1556
|
+
}, 1032, ["to", "href"])]))), 128)), n.value && !t.associated.length ? (T(), f("p", ur, A(e.noAssociated), 1)) : d("", !0)], 512), [[L, !n.value || a.value.has(s)]])], 512), [[L, n.value || a.value.has(s)]])]))), 128))
|
|
1495
1557
|
], 2));
|
|
1496
1558
|
}
|
|
1497
|
-
},
|
|
1559
|
+
}, fr = { class: "mwnf-standalone-item__back mwnf-standalone-sp__back" }, pr = {
|
|
1498
1560
|
key: 0,
|
|
1499
1561
|
class: "mwnf-standalone-sp__heading"
|
|
1500
|
-
},
|
|
1562
|
+
}, mr = ["innerHTML"], hr = { class: "mwnf-standalone-sp__text" }, gr = { key: 0 }, _r = { key: 1 }, vr = { key: 2 }, yr = ["href"], br = ["innerHTML"], xr = { class: "mwnf-standalone-sp__logo" }, Sr = { key: 0 }, Cr = ["src", "alt"], wr = {
|
|
1501
1563
|
__name: "SponsorList",
|
|
1502
1564
|
props: {
|
|
1503
1565
|
heading: {
|
|
@@ -1516,11 +1578,11 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1516
1578
|
setup(e) {
|
|
1517
1579
|
let t = e, n = l(() => t.rows.some((e) => e.label !== void 0)), i = l(() => t.rows.map((e) => ({
|
|
1518
1580
|
...e,
|
|
1519
|
-
labelHtml: e.label ?
|
|
1520
|
-
remarksHtml: e.remarks ?
|
|
1581
|
+
labelHtml: e.label ? U(e.label) : "",
|
|
1582
|
+
remarksHtml: e.remarks ? U(e.remarks) : ""
|
|
1521
1583
|
})));
|
|
1522
1584
|
return (t, a) => (T(), f("div", { class: b(["mwnf-standalone-sp", { "mwnf-standalone-sp--labels": n.value }]) }, [
|
|
1523
|
-
p("p",
|
|
1585
|
+
p("p", fr, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
1524
1586
|
key: 0,
|
|
1525
1587
|
type: "button",
|
|
1526
1588
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -1534,7 +1596,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1534
1596
|
default: z(() => [h(A(e.label), 1)]),
|
|
1535
1597
|
_: 2
|
|
1536
1598
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
1537
|
-
e.heading ? (T(), f("h3",
|
|
1599
|
+
e.heading ? (T(), f("h3", pr, A(e.heading), 1)) : d("", !0),
|
|
1538
1600
|
(T(!0), f(c, null, O(i.value, (e, t) => (T(), f("div", {
|
|
1539
1601
|
key: t,
|
|
1540
1602
|
class: "mwnf-standalone-sp__row"
|
|
@@ -1543,41 +1605,41 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1543
1605
|
key: 0,
|
|
1544
1606
|
class: "mwnf-standalone-sp__label",
|
|
1545
1607
|
innerHTML: e.labelHtml
|
|
1546
|
-
}, null, 8,
|
|
1547
|
-
p("div",
|
|
1548
|
-
e.region ? (T(), f("p",
|
|
1549
|
-
e.name ? (T(), f("p",
|
|
1550
|
-
e.web ? (T(), f("p",
|
|
1608
|
+
}, null, 8, mr)) : d("", !0),
|
|
1609
|
+
p("div", hr, [
|
|
1610
|
+
e.region ? (T(), f("p", gr, A(e.region), 1)) : d("", !0),
|
|
1611
|
+
e.name ? (T(), f("p", _r, A(e.name), 1)) : d("", !0),
|
|
1612
|
+
e.web ? (T(), f("p", vr, [p("a", {
|
|
1551
1613
|
href: `http://${e.web}`,
|
|
1552
1614
|
target: "_blank",
|
|
1553
1615
|
rel: "noopener"
|
|
1554
|
-
}, A(e.web), 9,
|
|
1616
|
+
}, A(e.web), 9, yr)])) : d("", !0),
|
|
1555
1617
|
e.remarksHtml ? (T(), f("div", {
|
|
1556
1618
|
key: 3,
|
|
1557
1619
|
class: "mwnf-standalone-sp__remarks",
|
|
1558
1620
|
innerHTML: e.remarksHtml
|
|
1559
|
-
}, null, 8,
|
|
1621
|
+
}, null, 8, br)) : d("", !0)
|
|
1560
1622
|
]),
|
|
1561
|
-
p("div",
|
|
1623
|
+
p("div", xr, [e.logo ? (T(), f("p", Sr, [p("img", {
|
|
1562
1624
|
src: e.logo,
|
|
1563
1625
|
alt: e.name
|
|
1564
|
-
}, null, 8,
|
|
1626
|
+
}, null, 8, Cr)])) : d("", !0)])
|
|
1565
1627
|
]))), 128))
|
|
1566
1628
|
], 2));
|
|
1567
1629
|
}
|
|
1568
|
-
},
|
|
1630
|
+
}, Tr = { class: "mwnf-standalone-pe" }, Er = { class: "mwnf-standalone-pe__box" }, Dr = { class: "mwnf-standalone-pe__name" }, Or = { class: "mwnf-standalone-pe__links" }, kr = {
|
|
1569
1631
|
key: 0,
|
|
1570
1632
|
class: "mwnf-standalone-pe__about"
|
|
1571
|
-
},
|
|
1633
|
+
}, Ar = ["aria-expanded", "onClick"], jr = {
|
|
1572
1634
|
key: 1,
|
|
1573
1635
|
class: "mwnf-standalone-pe__popup",
|
|
1574
1636
|
role: "dialog"
|
|
1575
|
-
},
|
|
1637
|
+
}, Mr = ["aria-label"], Nr = {
|
|
1576
1638
|
viewBox: "0 0 24 24",
|
|
1577
1639
|
width: "21",
|
|
1578
1640
|
height: "21",
|
|
1579
1641
|
"aria-hidden": "true"
|
|
1580
|
-
},
|
|
1642
|
+
}, Pr = ["id"], Fr = ["mask"], Ir = ["innerHTML"], Lr = {
|
|
1581
1643
|
__name: "PartnersEntrance",
|
|
1582
1644
|
props: {
|
|
1583
1645
|
projects: {
|
|
@@ -1596,7 +1658,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1596
1658
|
setup(e) {
|
|
1597
1659
|
let t = e, n = l(() => t.projects.map((e) => ({
|
|
1598
1660
|
...e,
|
|
1599
|
-
aboutHtml: e.about ?
|
|
1661
|
+
aboutHtml: e.about ? U(e.about) : ""
|
|
1600
1662
|
}))), i = D(-1);
|
|
1601
1663
|
function a() {
|
|
1602
1664
|
i.value = -1;
|
|
@@ -1608,26 +1670,26 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1608
1670
|
typeof document < "u" && (e >= 0 ? document.addEventListener("keydown", o) : document.removeEventListener("keydown", o));
|
|
1609
1671
|
}), C(() => {
|
|
1610
1672
|
typeof document < "u" && document.removeEventListener("keydown", o);
|
|
1611
|
-
}), (t, o) => (T(), f("div",
|
|
1673
|
+
}), (t, o) => (T(), f("div", Tr, [i.value >= 0 ? (T(), f("div", {
|
|
1612
1674
|
key: 0,
|
|
1613
1675
|
class: "mwnf-standalone-pe__shade",
|
|
1614
1676
|
onClick: a
|
|
1615
1677
|
})) : d("", !0), (T(!0), f(c, null, O(n.value, (t, n) => (T(), f("div", {
|
|
1616
1678
|
key: n,
|
|
1617
1679
|
class: "mwnf-standalone-pe__row"
|
|
1618
|
-
}, [p("div",
|
|
1680
|
+
}, [p("div", Er, [p("h3", Dr, A(t.name), 1)]), p("div", Or, [
|
|
1619
1681
|
o[1] ||= p("p", { "aria-hidden": "true" }, "\xA0", -1),
|
|
1620
|
-
t.aboutHtml ? (T(), f("p",
|
|
1682
|
+
t.aboutHtml ? (T(), f("p", kr, [p("button", {
|
|
1621
1683
|
type: "button",
|
|
1622
1684
|
"aria-expanded": i.value === n,
|
|
1623
1685
|
onClick: (e) => i.value = n
|
|
1624
|
-
}, A(e.aboutLabel), 9,
|
|
1625
|
-
i.value === n ? (T(), f("div",
|
|
1686
|
+
}, A(e.aboutLabel), 9, Ar)])) : d("", !0),
|
|
1687
|
+
i.value === n ? (T(), f("div", jr, [p("button", {
|
|
1626
1688
|
type: "button",
|
|
1627
1689
|
class: "mwnf-standalone-pe__close",
|
|
1628
1690
|
"aria-label": e.closeLabel || void 0,
|
|
1629
1691
|
onClick: a
|
|
1630
|
-
}, [(T(), f("svg",
|
|
1692
|
+
}, [(T(), f("svg", Nr, [p("mask", { id: `mwnf-standalone-pe-x${n}` }, [...o[0] ||= [p("rect", {
|
|
1631
1693
|
width: "24",
|
|
1632
1694
|
height: "24",
|
|
1633
1695
|
fill: "#fff"
|
|
@@ -1636,16 +1698,16 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1636
1698
|
stroke: "#000",
|
|
1637
1699
|
"stroke-width": "3",
|
|
1638
1700
|
"stroke-linecap": "round"
|
|
1639
|
-
}, null, -1)]], 8,
|
|
1701
|
+
}, null, -1)]], 8, Pr), p("circle", {
|
|
1640
1702
|
cx: "12",
|
|
1641
1703
|
cy: "12",
|
|
1642
1704
|
r: "12",
|
|
1643
1705
|
fill: "currentColor",
|
|
1644
1706
|
mask: `url(#mwnf-standalone-pe-x${n})`
|
|
1645
|
-
}, null, 8,
|
|
1707
|
+
}, null, 8, Fr)]))], 8, Mr), p("div", {
|
|
1646
1708
|
class: "mwnf-standalone-pe__text",
|
|
1647
1709
|
innerHTML: t.aboutHtml
|
|
1648
|
-
}, null, 8,
|
|
1710
|
+
}, null, 8, Ir)])) : d("", !0),
|
|
1649
1711
|
(T(!0), f(c, null, O(t.links, (e) => (T(), f("p", { key: e.label }, [g(r, {
|
|
1650
1712
|
to: e.to,
|
|
1651
1713
|
href: e.href
|
|
@@ -1655,16 +1717,16 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1655
1717
|
}, 1032, ["to", "href"])]))), 128))
|
|
1656
1718
|
])]))), 128))]));
|
|
1657
1719
|
}
|
|
1658
|
-
},
|
|
1720
|
+
}, Rr = { class: "mwnf-standalone-db__criteria" }, zr = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--keywords" }, Br = { class: "mwnf-standalone-db__head mwnf-standalone-db__head--category" }, Vr = {
|
|
1659
1721
|
key: 0,
|
|
1660
1722
|
class: "mwnf-standalone-db__aside"
|
|
1661
|
-
},
|
|
1723
|
+
}, Hr = ["onUpdate:modelValue", "aria-label"], Ur = { value: "AND" }, Wr = { value: "OR" }, Gr = ["onUpdate:modelValue", "aria-label"], Kr = ["onUpdate:modelValue"], qr = ["value"], Jr = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--date" }, Yr = { class: "mwnf-standalone-db__dates" }, Xr = ["aria-label"], Zr = { value: "" }, Qr = ["value"], $r = ["aria-label"], ei = { value: "" }, ti = ["value"], ni = { class: "mwnf-standalone-db__label mwnf-standalone-db__label--language" }, ri = { class: "mwnf-standalone-db__language" }, ii = ["aria-label"], ai = ["value"], oi = {
|
|
1662
1724
|
key: 1,
|
|
1663
1725
|
class: "mwnf-standalone-db__options"
|
|
1664
|
-
},
|
|
1726
|
+
}, si = { class: "mwnf-standalone-db__go" }, ci = { type: "submit" }, li = {
|
|
1665
1727
|
key: 2,
|
|
1666
1728
|
class: "mwnf-standalone-db__listing"
|
|
1667
|
-
},
|
|
1729
|
+
}, ui = ["href", "title"], di = {
|
|
1668
1730
|
__name: "DatabaseForm",
|
|
1669
1731
|
props: /*@__PURE__*/ v({
|
|
1670
1732
|
labels: {
|
|
@@ -1737,59 +1799,59 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1737
1799
|
class: b(["mwnf-standalone-db", { "mwnf-standalone-db--options": u.value }]),
|
|
1738
1800
|
onSubmit: V(_, ["prevent"])
|
|
1739
1801
|
}, [
|
|
1740
|
-
p("h3",
|
|
1741
|
-
p("p",
|
|
1742
|
-
p("p",
|
|
1743
|
-
t.$slots.aside ? (T(), f("p",
|
|
1802
|
+
p("h3", Rr, A(e.labels.criteria), 1),
|
|
1803
|
+
p("p", zr, A(e.labels.keywords), 1),
|
|
1804
|
+
p("p", Br, A(e.labels.category), 1),
|
|
1805
|
+
t.$slots.aside ? (T(), f("p", Vr, [k(t.$slots, "aside")])) : d("", !0),
|
|
1744
1806
|
(T(!0), f(c, null, O(o, (t, n) => (T(), f(c, { key: n }, [
|
|
1745
1807
|
n ? B((T(), f("select", {
|
|
1746
1808
|
key: 0,
|
|
1747
1809
|
"onUpdate:modelValue": (e) => t.cond = e,
|
|
1748
1810
|
class: b(["mwnf-standalone-db__cond", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1749
1811
|
"aria-label": `${e.labels.and} / ${e.labels.or}`
|
|
1750
|
-
}, [p("option",
|
|
1812
|
+
}, [p("option", Ur, A(e.labels.and), 1), p("option", Wr, A(e.labels.or), 1)], 10, Hr)), [[F, t.cond]]) : d("", !0),
|
|
1751
1813
|
B(p("input", {
|
|
1752
1814
|
"onUpdate:modelValue": (e) => t.keyword = e,
|
|
1753
1815
|
type: "text",
|
|
1754
1816
|
class: b(["mwnf-standalone-db__keyword", `mwnf-standalone-db__row-${n + 1}`]),
|
|
1755
1817
|
"aria-label": e.labels.keywords
|
|
1756
|
-
}, null, 10,
|
|
1818
|
+
}, null, 10, Gr), [[I, t.keyword]]),
|
|
1757
1819
|
p("label", { class: b(["mwnf-standalone-db__field", `mwnf-standalone-db__row-${n + 1}`]) }, [p("span", null, A(e.labels.in), 1), B(p("select", { "onUpdate:modelValue": (e) => t.field = e }, [(T(!0), f(c, null, O(e.fields, (e) => (T(), f("option", {
|
|
1758
1820
|
key: e.value,
|
|
1759
1821
|
value: e.value
|
|
1760
|
-
}, A(e.label), 9,
|
|
1822
|
+
}, A(e.label), 9, qr))), 128))], 8, Kr), [[F, t.field]])], 2)
|
|
1761
1823
|
], 64))), 128)),
|
|
1762
|
-
p("span",
|
|
1763
|
-
p("p",
|
|
1824
|
+
p("span", Jr, A(e.labels.date), 1),
|
|
1825
|
+
p("p", Yr, [B(p("select", {
|
|
1764
1826
|
"onUpdate:modelValue": n[0] ||= (e) => s.from = e,
|
|
1765
1827
|
"aria-label": `${e.labels.date} ${e.labels.from}`
|
|
1766
|
-
}, [p("option",
|
|
1828
|
+
}, [p("option", Zr, A(e.labels.from), 1), (T(!0), f(c, null, O(h.value, (e) => (T(), f("option", {
|
|
1767
1829
|
key: e.value,
|
|
1768
1830
|
value: e.value
|
|
1769
|
-
}, A(e.label), 9,
|
|
1831
|
+
}, A(e.label), 9, Qr))), 128))], 8, Xr), [[F, s.from]]), B(p("select", {
|
|
1770
1832
|
"onUpdate:modelValue": n[1] ||= (e) => s.to = e,
|
|
1771
1833
|
"aria-label": `${e.labels.date} ${e.labels.to}`
|
|
1772
|
-
}, [p("option",
|
|
1834
|
+
}, [p("option", ei, A(e.labels.to), 1), (T(!0), f(c, null, O(g.value, (e) => (T(), f("option", {
|
|
1773
1835
|
key: e.value,
|
|
1774
1836
|
value: e.value
|
|
1775
|
-
}, A(e.label), 9,
|
|
1776
|
-
p("span",
|
|
1777
|
-
p("p",
|
|
1837
|
+
}, A(e.label), 9, ti))), 128))], 8, $r), [[F, s.to]])]),
|
|
1838
|
+
p("span", ni, A(e.labels.language), 1),
|
|
1839
|
+
p("p", ri, [B(p("select", {
|
|
1778
1840
|
"onUpdate:modelValue": n[2] ||= (e) => r.value = e,
|
|
1779
1841
|
"aria-label": e.labels.language
|
|
1780
1842
|
}, [n[3] ||= p("option", { value: "" }, null, -1), (T(!0), f(c, null, O(e.languages, (e) => (T(), f("option", {
|
|
1781
1843
|
key: e.code,
|
|
1782
1844
|
value: e.code
|
|
1783
|
-
}, A(e.name), 9,
|
|
1784
|
-
u.value ? (T(), f("p",
|
|
1785
|
-
p("p",
|
|
1786
|
-
e.listingHref ? (T(), f("p",
|
|
1845
|
+
}, A(e.name), 9, ai))), 128))], 8, ii), [[F, r.value]])]),
|
|
1846
|
+
u.value ? (T(), f("p", oi, [k(t.$slots, "options")])) : d("", !0),
|
|
1847
|
+
p("p", si, [p("button", ci, A(e.labels.go), 1)]),
|
|
1848
|
+
e.listingHref ? (T(), f("p", li, [p("a", {
|
|
1787
1849
|
href: e.listingHref,
|
|
1788
1850
|
title: e.labels.listingTooltip
|
|
1789
|
-
}, A(e.labels.listing), 9,
|
|
1851
|
+
}, A(e.labels.listing), 9, ui)])) : d("", !0)
|
|
1790
1852
|
], 34));
|
|
1791
1853
|
}
|
|
1792
|
-
},
|
|
1854
|
+
}, fi = { class: "mwnf-standalone-tle__country" }, pi = ["aria-label"], mi = { value: "none" }, hi = { value: "" }, gi = ["value"], _i = { class: "mwnf-standalone-tle__date" }, vi = ["aria-label"], yi = { value: "none" }, bi = ["value"], xi = { class: "mwnf-standalone-tle__date" }, Si = ["aria-label"], Ci = { value: "none" }, wi = ["value"], Ti = { class: "mwnf-standalone-tle__go" }, Ei = { type: "submit" }, Di = {
|
|
1793
1855
|
__name: "TimelineEntrance",
|
|
1794
1856
|
props: {
|
|
1795
1857
|
labels: {
|
|
@@ -1847,42 +1909,42 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1847
1909
|
class: "mwnf-standalone-tle",
|
|
1848
1910
|
onSubmit: V(m, ["prevent"])
|
|
1849
1911
|
}, [
|
|
1850
|
-
p("p",
|
|
1912
|
+
p("p", fi, [B(p("select", {
|
|
1851
1913
|
"onUpdate:modelValue": n[0] ||= (e) => u.country = e,
|
|
1852
1914
|
"aria-label": o.value.selectCountry
|
|
1853
1915
|
}, [
|
|
1854
|
-
p("option",
|
|
1855
|
-
p("option",
|
|
1916
|
+
p("option", mi, A(o.value.selectCountry), 1),
|
|
1917
|
+
p("option", hi, A(o.value.allCountries), 1),
|
|
1856
1918
|
(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
1857
1919
|
key: e.value,
|
|
1858
1920
|
value: e.value
|
|
1859
|
-
}, A(e.label), 9,
|
|
1860
|
-
], 8,
|
|
1861
|
-
p("p",
|
|
1921
|
+
}, A(e.label), 9, gi))), 128))
|
|
1922
|
+
], 8, pi), [[F, u.country]])]),
|
|
1923
|
+
p("p", _i, [B(p("select", {
|
|
1862
1924
|
"onUpdate:modelValue": n[1] ||= (e) => u.start = e,
|
|
1863
1925
|
"aria-label": o.value.startDate
|
|
1864
|
-
}, [p("option",
|
|
1926
|
+
}, [p("option", yi, A(o.value.startDate), 1), (T(!0), f(c, null, O(e.starts, (e) => (T(), f("option", {
|
|
1865
1927
|
key: e.value,
|
|
1866
1928
|
value: e.value
|
|
1867
|
-
}, A(e.label), 9,
|
|
1868
|
-
p("p",
|
|
1929
|
+
}, A(e.label), 9, bi))), 128))], 8, vi), [[F, u.start]])]),
|
|
1930
|
+
p("p", xi, [B(p("select", {
|
|
1869
1931
|
"onUpdate:modelValue": n[2] ||= (e) => u.end = e,
|
|
1870
1932
|
"aria-label": o.value.endDate
|
|
1871
|
-
}, [p("option",
|
|
1933
|
+
}, [p("option", Ci, A(o.value.endDate), 1), (T(!0), f(c, null, O(e.ends, (e) => (T(), f("option", {
|
|
1872
1934
|
key: e.value,
|
|
1873
1935
|
value: e.value
|
|
1874
|
-
}, A(e.label), 9,
|
|
1875
|
-
p("p",
|
|
1936
|
+
}, A(e.label), 9, wi))), 128))], 8, Si), [[F, u.end]])]),
|
|
1937
|
+
p("p", Ti, [p("button", Ei, A(o.value.go), 1)])
|
|
1876
1938
|
], 32));
|
|
1877
1939
|
}
|
|
1878
|
-
},
|
|
1940
|
+
}, Oi = {
|
|
1879
1941
|
key: 0,
|
|
1880
1942
|
class: "mwnf-standalone-pages"
|
|
1881
|
-
},
|
|
1943
|
+
}, ki = { class: "mwnf-standalone-pages__previous" }, Ai = ["aria-current", "onClick"], ji = { class: "mwnf-standalone-pages__next" }, Mi = {
|
|
1882
1944
|
key: 1,
|
|
1883
1945
|
class: "mwnf-standalone-pages",
|
|
1884
1946
|
"aria-hidden": "true"
|
|
1885
|
-
},
|
|
1947
|
+
}, Ni = {
|
|
1886
1948
|
__name: "Pagination",
|
|
1887
1949
|
props: {
|
|
1888
1950
|
pageInfo: {
|
|
@@ -1912,8 +1974,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1912
1974
|
function s(e) {
|
|
1913
1975
|
e >= 1 && e <= a.value && e !== i.value && r("navigate", e);
|
|
1914
1976
|
}
|
|
1915
|
-
return (t, n) => a.value > 1 ? (T(), f("nav",
|
|
1916
|
-
p("span",
|
|
1977
|
+
return (t, n) => a.value > 1 ? (T(), f("nav", Oi, [
|
|
1978
|
+
p("span", ki, [i.value > 1 ? (T(), f("a", {
|
|
1917
1979
|
key: 0,
|
|
1918
1980
|
href: "#",
|
|
1919
1981
|
onClick: n[0] ||= V((e) => s(i.value - 1), ["prevent"])
|
|
@@ -1924,32 +1986,32 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
1924
1986
|
class: b(["mwnf-standalone-pages__number", { "mwnf-standalone-pages__number--active": e === i.value }]),
|
|
1925
1987
|
"aria-current": e === i.value ? "page" : void 0,
|
|
1926
1988
|
onClick: V((t) => s(e), ["prevent"])
|
|
1927
|
-
}, A(e), 11,
|
|
1928
|
-
p("span",
|
|
1989
|
+
}, A(e), 11, Ai))), 128)),
|
|
1990
|
+
p("span", ji, [i.value < a.value ? (T(), f("a", {
|
|
1929
1991
|
key: 0,
|
|
1930
1992
|
href: "#",
|
|
1931
1993
|
onClick: n[1] ||= V((e) => s(i.value + 1), ["prevent"])
|
|
1932
1994
|
}, A(e.nextLabel), 1)) : (T(), f(c, { key: 1 }, [h(A(e.nextLabel), 1)], 64))])
|
|
1933
|
-
])) : (T(), f("div",
|
|
1995
|
+
])) : (T(), f("div", Mi));
|
|
1934
1996
|
}
|
|
1935
|
-
},
|
|
1997
|
+
}, Pi = { class: "mwnf-standalone-tlr" }, Fi = { class: "mwnf-standalone-tlr__band" }, Ii = { class: "mwnf-standalone-tlr__band-inner" }, Li = { class: "mwnf-standalone-tlr__summary" }, Ri = { class: "mwnf-standalone-tlr__selects" }, zi = ["for"], Bi = [
|
|
1936
1998
|
"id",
|
|
1937
1999
|
"value",
|
|
1938
2000
|
"disabled",
|
|
1939
2001
|
"onChange"
|
|
1940
|
-
],
|
|
2002
|
+
], Vi = ["value"], Hi = { class: "mwnf-standalone-item__back mwnf-standalone-tlr__back" }, Ui = {
|
|
1941
2003
|
key: 0,
|
|
1942
2004
|
class: "mwnf-standalone-tlr__heads"
|
|
1943
|
-
},
|
|
2005
|
+
}, Wi = { class: "mwnf-standalone-tlr__body" }, Gi = { class: "mwnf-standalone-tlr__list" }, Ki = { class: "mwnf-standalone-tlr__date" }, qi = { class: "mwnf-standalone-tlr__content" }, Ji = ["innerHTML"], Yi = {
|
|
1944
2006
|
key: 0,
|
|
1945
2007
|
class: "mwnf-standalone-tlr__empty"
|
|
1946
|
-
},
|
|
2008
|
+
}, Xi = { class: "mwnf-standalone-tlr__related" }, Zi = {
|
|
1947
2009
|
key: 0,
|
|
1948
2010
|
class: "mwnf-standalone-tlr__panel"
|
|
1949
|
-
},
|
|
2011
|
+
}, Qi = { key: 0 }, $i = {
|
|
1950
2012
|
key: 1,
|
|
1951
2013
|
class: "mwnf-standalone-tlr__panel"
|
|
1952
|
-
},
|
|
2014
|
+
}, ea = { class: "mwnf-standalone-tlr__download" }, ta = {
|
|
1953
2015
|
__name: "TimelineResults",
|
|
1954
2016
|
props: {
|
|
1955
2017
|
heading: {
|
|
@@ -2022,8 +2084,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2022
2084
|
dir: t ? getComputedStyle(t).direction : ""
|
|
2023
2085
|
}), n.download?.file ?? "timeline.doc");
|
|
2024
2086
|
}
|
|
2025
|
-
return (t, n) => (T(), f("div",
|
|
2026
|
-
p("section",
|
|
2087
|
+
return (t, n) => (T(), f("div", Pi, [
|
|
2088
|
+
p("section", Fi, [p("div", Ii, [p("p", Li, [p("b", null, A(e.heading), 1), h(" | " + A(e.summary), 1)]), p("div", Ri, [(T(!0), f(c, null, O(e.selects, (e) => (T(), f("p", { key: e.key }, [p("label", { for: `mwnf-tlr-${e.key}` }, A(e.label), 9, zi), p("select", {
|
|
2027
2089
|
id: `mwnf-tlr-${e.key}`,
|
|
2028
2090
|
value: e.value,
|
|
2029
2091
|
disabled: e.disabled || void 0,
|
|
@@ -2034,8 +2096,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2034
2096
|
}, [(T(!0), f(c, null, O(e.options, (e) => (T(), f("option", {
|
|
2035
2097
|
key: e.value,
|
|
2036
2098
|
value: e.value
|
|
2037
|
-
}, A(e.label), 9,
|
|
2038
|
-
p("p",
|
|
2099
|
+
}, A(e.label), 9, Vi))), 128))], 40, Bi)]))), 128))])])]),
|
|
2100
|
+
p("p", Hi, [(T(!0), f(c, null, O(e.back, (e) => (T(), f(c, { key: e.label }, [e.history ? (T(), f("button", {
|
|
2039
2101
|
key: 0,
|
|
2040
2102
|
type: "button",
|
|
2041
2103
|
class: "mwnf-standalone-item__back-link",
|
|
@@ -2049,14 +2111,14 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2049
2111
|
default: z(() => [h(A(e.label), 1)]),
|
|
2050
2112
|
_: 2
|
|
2051
2113
|
}, 1032, ["to", "href"]))], 64))), 128))]),
|
|
2052
|
-
a.value ? (T(), f("div",
|
|
2053
|
-
p("div",
|
|
2114
|
+
a.value ? (T(), f("div", Ui, [p("h3", null, A(e.heads.date), 1), p("h3", null, A(e.heads.countryDescription), 1)])) : d("", !0),
|
|
2115
|
+
p("div", Wi, [p("div", Gi, [
|
|
2054
2116
|
(T(!0), f(c, null, O(e.rows, (e) => (T(), f("div", {
|
|
2055
2117
|
key: e.id,
|
|
2056
2118
|
class: "mwnf-standalone-tlr__row"
|
|
2057
|
-
}, [p("div",
|
|
2058
|
-
a.value ? d("", !0) : (T(), f("p",
|
|
2059
|
-
e.pageInfo ? (T(), u(
|
|
2119
|
+
}, [p("div", Ki, [p("p", null, [p("span", null, A(e.date), 1)]), k(t.$slots, "media", { row: e })]), p("div", qi, [p("p", null, [p("span", null, A(e.country), 1)]), p("div", { innerHTML: e.html }, null, 8, Ji)])]))), 128)),
|
|
2120
|
+
a.value ? d("", !0) : (T(), f("p", Yi, A(e.empty), 1)),
|
|
2121
|
+
e.pageInfo ? (T(), u(Ni, {
|
|
2060
2122
|
key: 1,
|
|
2061
2123
|
"page-info": e.pageInfo,
|
|
2062
2124
|
"previous-label": e.previousLabel,
|
|
@@ -2067,7 +2129,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2067
2129
|
"previous-label",
|
|
2068
2130
|
"next-label"
|
|
2069
2131
|
])) : d("", !0)
|
|
2070
|
-
]), p("aside",
|
|
2132
|
+
]), p("aside", Xi, [e.related ? (T(), f("div", Zi, [
|
|
2071
2133
|
p("p", null, [p("strong", null, A(e.related.heading), 1)]),
|
|
2072
2134
|
(T(!0), f(c, null, O(e.related.links ?? [], (e) => (T(), f("p", { key: e.label }, [g(r, {
|
|
2073
2135
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2084,7 +2146,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2084
2146
|
"title",
|
|
2085
2147
|
"target"
|
|
2086
2148
|
])]))), 128)),
|
|
2087
|
-
e.related.gallery ? (T(), f("p",
|
|
2149
|
+
e.related.gallery ? (T(), f("p", Qi, [g(r, {
|
|
2088
2150
|
class: "mwnf-standalone-tlr__link",
|
|
2089
2151
|
to: e.related.gallery.to,
|
|
2090
2152
|
title: e.related.gallery.title
|
|
@@ -2092,8 +2154,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2092
2154
|
default: z(() => [h(A(e.related.gallery.label), 1)]),
|
|
2093
2155
|
_: 1
|
|
2094
2156
|
}, 8, ["to", "title"])])) : d("", !0)
|
|
2095
|
-
])) : d("", !0), e.download ? (T(), f("div",
|
|
2096
|
-
p("p",
|
|
2157
|
+
])) : d("", !0), e.download ? (T(), f("div", $i, [
|
|
2158
|
+
p("p", ea, A(e.download.heading), 1),
|
|
2097
2159
|
p("p", null, [p("a", {
|
|
2098
2160
|
href: "#",
|
|
2099
2161
|
class: "mwnf-standalone-tlr__link",
|
|
@@ -2107,7 +2169,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2107
2169
|
])) : d("", !0)])])
|
|
2108
2170
|
]));
|
|
2109
2171
|
}
|
|
2110
|
-
},
|
|
2172
|
+
}, na = ["dir"], ra = { class: "mwnf-standalone-window__box" }, ia = { class: "mwnf-standalone-window__header" }, aa = { class: "mwnf-standalone-window__heading" }, oa = ["aria-label"], sa = { class: "mwnf-standalone-window__article" }, ca = {
|
|
2111
2173
|
__name: "Window",
|
|
2112
2174
|
props: {
|
|
2113
2175
|
heading: {
|
|
@@ -2130,24 +2192,24 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2130
2192
|
return (n, r) => (T(), f("div", {
|
|
2131
2193
|
class: "mwnf-standalone-window",
|
|
2132
2194
|
dir: e.dir || void 0
|
|
2133
|
-
}, [p("div",
|
|
2134
|
-
p("header",
|
|
2195
|
+
}, [p("div", ra, [
|
|
2196
|
+
p("header", ia, [p("h1", aa, A(e.heading), 1), p("button", {
|
|
2135
2197
|
type: "button",
|
|
2136
2198
|
class: "mwnf-standalone-window__close",
|
|
2137
2199
|
"aria-label": e.closeLabel || void 0,
|
|
2138
2200
|
onClick: t
|
|
2139
|
-
}, "×", 8,
|
|
2201
|
+
}, "×", 8, oa)]),
|
|
2140
2202
|
k(n.$slots, "before"),
|
|
2141
|
-
p("article",
|
|
2142
|
-
])], 8,
|
|
2203
|
+
p("article", sa, [k(n.$slots, "default")])
|
|
2204
|
+
])], 8, na));
|
|
2143
2205
|
}
|
|
2144
|
-
},
|
|
2206
|
+
}, la = {
|
|
2145
2207
|
class: "mwnf-standalone-hcr__scale",
|
|
2146
2208
|
"aria-hidden": "true"
|
|
2147
|
-
},
|
|
2209
|
+
}, ua = { class: "mwnf-standalone-hcr__years" }, da = { class: "mwnf-standalone-hcr__body" }, fa = { class: "mwnf-standalone-hcr__left" }, pa = { class: "mwnf-standalone-hcr__title" }, ma = ["value", "aria-label"], ha = ["value"], ga = { class: "mwnf-standalone-hcr__title" }, _a = ["value", "aria-label"], va = ["value"], ya = {
|
|
2148
2210
|
key: 0,
|
|
2149
2211
|
class: "mwnf-standalone-hcr__image"
|
|
2150
|
-
},
|
|
2212
|
+
}, ba = ["src", "alt"], xa = { key: 1 }, Sa = ["innerHTML"], Ca = { key: 2 }, wa = { class: "mwnf-standalone-hcr__main" }, Ta = ["innerHTML"], Ea = {
|
|
2151
2213
|
__name: "HistoricalCrossRef",
|
|
2152
2214
|
props: {
|
|
2153
2215
|
labels: {
|
|
@@ -2216,18 +2278,18 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2216
2278
|
};
|
|
2217
2279
|
});
|
|
2218
2280
|
});
|
|
2219
|
-
return (t, n) => (T(), u(
|
|
2281
|
+
return (t, n) => (T(), u(ca, {
|
|
2220
2282
|
class: "mwnf-standalone-hcr",
|
|
2221
2283
|
heading: a.value.heading,
|
|
2222
2284
|
"close-label": a.value.close,
|
|
2223
2285
|
dir: e.dir
|
|
2224
2286
|
}, {
|
|
2225
|
-
before: z(() => [p("section",
|
|
2287
|
+
before: z(() => [p("section", la, [p("div", ua, [(T(!0), f(c, null, O(o.value, (e) => (T(), f("span", {
|
|
2226
2288
|
key: e.value,
|
|
2227
2289
|
class: b({ "mwnf-standalone-hcr__year--active": e.active })
|
|
2228
2290
|
}, A(e.value), 3))), 128))]), n[2] ||= p("div", { class: "mwnf-standalone-hcr__lines" }, null, -1)])]),
|
|
2229
|
-
default: z(() => [p("div",
|
|
2230
|
-
p("p",
|
|
2291
|
+
default: z(() => [p("div", da, [p("div", fa, [
|
|
2292
|
+
p("p", pa, A(a.value.country), 1),
|
|
2231
2293
|
p("select", {
|
|
2232
2294
|
value: e.country,
|
|
2233
2295
|
"aria-label": a.value.country,
|
|
@@ -2238,8 +2300,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2238
2300
|
}, [(T(!0), f(c, null, O(e.countries, (e) => (T(), f("option", {
|
|
2239
2301
|
key: e.value,
|
|
2240
2302
|
value: e.value
|
|
2241
|
-
}, A(e.label), 9,
|
|
2242
|
-
p("p",
|
|
2303
|
+
}, A(e.label), 9, ha))), 128))], 40, ma),
|
|
2304
|
+
p("p", ga, A(a.value.range), 1),
|
|
2243
2305
|
p("select", {
|
|
2244
2306
|
value: String(e.range),
|
|
2245
2307
|
"aria-label": a.value.range,
|
|
@@ -2250,22 +2312,22 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2250
2312
|
}, [(T(!0), f(c, null, O(e.ranges, (e) => (T(), f("option", {
|
|
2251
2313
|
key: e.value,
|
|
2252
2314
|
value: String(e.value)
|
|
2253
|
-
}, A(e.label), 9,
|
|
2315
|
+
}, A(e.label), 9, va))), 128))], 40, _a),
|
|
2254
2316
|
e.item ? (T(), f(c, { key: 0 }, [
|
|
2255
|
-
e.item.image ? (T(), f("div",
|
|
2317
|
+
e.item.image ? (T(), f("div", ya, [p("img", {
|
|
2256
2318
|
src: e.item.image,
|
|
2257
2319
|
alt: e.item.name
|
|
2258
|
-
}, null, 8,
|
|
2259
|
-
e.item.name ? (T(), f("p",
|
|
2260
|
-
e.item.lines?.length ? (T(), f("p",
|
|
2320
|
+
}, null, 8, ba)])) : d("", !0),
|
|
2321
|
+
e.item.name ? (T(), f("p", xa, [p("strong", { innerHTML: e.item.name }, null, 8, Sa)])) : d("", !0),
|
|
2322
|
+
e.item.lines?.length ? (T(), f("p", Ca, [(T(!0), f(c, null, O(e.item.lines, (e, t) => (T(), f(c, { key: t }, [h(A(e), 1), n[3] ||= p("br", null, null, -1)], 64))), 128))])) : d("", !0)
|
|
2261
2323
|
], 64)) : d("", !0)
|
|
2262
|
-
]), p("div",
|
|
2324
|
+
]), p("div", wa, [p("h3", null, A(e.heading), 1), (T(!0), f(c, null, O(e.events, (e) => (T(), f("div", {
|
|
2263
2325
|
key: e.id,
|
|
2264
2326
|
class: "mwnf-standalone-hcr__event"
|
|
2265
2327
|
}, [p("p", null, [p("b", null, A(e.date), 1)]), p("div", {
|
|
2266
2328
|
class: "mwnf-standalone-hcr__text",
|
|
2267
2329
|
innerHTML: e.html
|
|
2268
|
-
}, null, 8,
|
|
2330
|
+
}, null, 8, Ta)]))), 128))])])]),
|
|
2269
2331
|
_: 1
|
|
2270
2332
|
}, 8, [
|
|
2271
2333
|
"heading",
|
|
@@ -2273,10 +2335,10 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2273
2335
|
"dir"
|
|
2274
2336
|
]));
|
|
2275
2337
|
}
|
|
2276
|
-
},
|
|
2338
|
+
}, Da = ["disabled", "aria-label"], Oa = { class: "mwnf-standalone-slider__track" }, ka = ["src", "alt"], Aa = {
|
|
2277
2339
|
key: 0,
|
|
2278
2340
|
class: "mwnf-standalone-slider__label"
|
|
2279
|
-
},
|
|
2341
|
+
}, ja = ["disabled", "aria-label"], Ma = {
|
|
2280
2342
|
__name: "Slider",
|
|
2281
2343
|
props: {
|
|
2282
2344
|
slides: {
|
|
@@ -2313,8 +2375,8 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2313
2375
|
disabled: a.value === 0,
|
|
2314
2376
|
"aria-label": j(n)(e.previousLabel),
|
|
2315
2377
|
onClick: i[0] ||= (e) => a.value = Math.max(0, a.value - 1)
|
|
2316
|
-
}, "‹", 8,
|
|
2317
|
-
p("ul",
|
|
2378
|
+
}, "‹", 8, Da),
|
|
2379
|
+
p("ul", Oa, [(T(!0), f(c, null, O(s.value, (e) => (T(), f("li", {
|
|
2318
2380
|
key: e.image,
|
|
2319
2381
|
class: "mwnf-standalone-slider__slide"
|
|
2320
2382
|
}, [g(r, {
|
|
@@ -2324,7 +2386,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2324
2386
|
default: z(() => [p("img", {
|
|
2325
2387
|
src: e.image,
|
|
2326
2388
|
alt: e.label
|
|
2327
|
-
}, null, 8,
|
|
2389
|
+
}, null, 8, ka), e.label ? (T(), f("span", Aa, A(e.label), 1)) : d("", !0)]),
|
|
2328
2390
|
_: 2
|
|
2329
2391
|
}, 1032, ["to", "href"])]))), 128))]),
|
|
2330
2392
|
p("button", {
|
|
@@ -2333,17 +2395,17 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2333
2395
|
disabled: a.value >= o.value,
|
|
2334
2396
|
"aria-label": j(n)(e.nextLabel),
|
|
2335
2397
|
onClick: i[1] ||= (e) => a.value = Math.min(o.value, a.value + 1)
|
|
2336
|
-
}, "›", 8,
|
|
2398
|
+
}, "›", 8, ja)
|
|
2337
2399
|
], 4)) : d("", !0);
|
|
2338
2400
|
}
|
|
2339
|
-
},
|
|
2401
|
+
}, Na = { class: "mwnf-standalone-glossary" }, Pa = { class: "mwnf-standalone-glossary__intro" }, Fa = { class: "mwnf-standalone-glossary__body" }, Ia = { class: "mwnf-standalone-glossary__field" }, La = ["aria-expanded", "aria-label"], Ra = {
|
|
2340
2402
|
key: 0,
|
|
2341
2403
|
class: "mwnf-standalone-glossary__suggestions",
|
|
2342
2404
|
role: "listbox"
|
|
2343
|
-
},
|
|
2405
|
+
}, za = ["aria-selected", "onMousedown"], Ba = {
|
|
2344
2406
|
class: "mwnf-standalone-glossary__result",
|
|
2345
2407
|
"aria-live": "polite"
|
|
2346
|
-
},
|
|
2408
|
+
}, Va = { class: "mwnf-standalone-glossary__label" }, Ha = ["innerHTML"], Ua = { class: "mwnf-standalone-glossary__label mwnf-standalone-glossary__label--spellings" }, Wa = { class: "mwnf-standalone-glossary__note" }, Ga = { class: "mwnf-standalone-glossary__spellings" }, Ka = {
|
|
2347
2409
|
__name: "GlossarySpelling",
|
|
2348
2410
|
props: {
|
|
2349
2411
|
language: {
|
|
@@ -2366,7 +2428,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2366
2428
|
setup(e) {
|
|
2367
2429
|
let t = e, n = oe(), r = te(t.entity), i = l(() => n.availableLanguages(t.entity).slice().sort());
|
|
2368
2430
|
w(async () => {
|
|
2369
|
-
await
|
|
2431
|
+
await ne([t.entity]), await Promise.all(i.value.map((e) => n.loadTranslations(t.entity, e)));
|
|
2370
2432
|
});
|
|
2371
2433
|
let a = D(""), o = D(null), s = D(-1), m = (e, r) => n.translations(t.entity, r)[e.id] ?? {}, h = l(() => {
|
|
2372
2434
|
let e = H(a.value.trim());
|
|
@@ -2380,7 +2442,7 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2380
2442
|
spelling: e,
|
|
2381
2443
|
term: t
|
|
2382
2444
|
})).sort((e, t) => H(e.spelling) < H(t.spelling) ? -1 : +(H(e.spelling) > H(t.spelling)));
|
|
2383
|
-
}), g = l(() => o.value ?
|
|
2445
|
+
}), g = l(() => o.value ? U(m(o.value, t.language).definition ?? "") : ""), _ = l(() => {
|
|
2384
2446
|
if (!o.value) return [];
|
|
2385
2447
|
let e = /* @__PURE__ */ new Set(), t = [];
|
|
2386
2448
|
for (let n of i.value) for (let r of m(o.value, n).spellings ?? []) {
|
|
@@ -2399,12 +2461,12 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2399
2461
|
let t = h.value;
|
|
2400
2462
|
t.length && (e.key === "ArrowDown" ? (e.preventDefault(), s.value = (s.value + 1) % t.length) : e.key === "ArrowUp" ? (e.preventDefault(), s.value = (s.value - 1 + t.length) % t.length) : e.key === "Enter" && s.value >= 0 && (e.preventDefault(), v(t[s.value])));
|
|
2401
2463
|
}
|
|
2402
|
-
return (t, n) => (T(), u(
|
|
2464
|
+
return (t, n) => (T(), u(ca, {
|
|
2403
2465
|
heading: e.labels.heading,
|
|
2404
2466
|
"close-label": e.labels.close,
|
|
2405
2467
|
dir: e.dir
|
|
2406
2468
|
}, {
|
|
2407
|
-
default: z(() => [p("div",
|
|
2469
|
+
default: z(() => [p("div", Na, [p("h2", Pa, A(e.labels.intro), 1), p("div", Fa, [p("div", Ia, [B(p("input", {
|
|
2408
2470
|
"onUpdate:modelValue": n[0] ||= (e) => a.value = e,
|
|
2409
2471
|
type: "text",
|
|
2410
2472
|
class: "mwnf-standalone-glossary__input",
|
|
@@ -2414,19 +2476,19 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2414
2476
|
"aria-label": e.labels.heading,
|
|
2415
2477
|
onInput: y,
|
|
2416
2478
|
onKeydown: x
|
|
2417
|
-
}, null, 40,
|
|
2479
|
+
}, null, 40, La), [[I, a.value]]), h.value.length ? (T(), f("ul", Ra, [(T(!0), f(c, null, O(h.value, (e, t) => (T(), f("li", {
|
|
2418
2480
|
key: e.spelling,
|
|
2419
2481
|
role: "option",
|
|
2420
2482
|
"aria-selected": t === s.value,
|
|
2421
2483
|
class: b(["mwnf-standalone-glossary__suggestion", { "mwnf-standalone-glossary__suggestion--active": t === s.value }]),
|
|
2422
2484
|
onMousedown: V((t) => v(e), ["prevent"])
|
|
2423
|
-
}, A(e.spelling), 43,
|
|
2485
|
+
}, A(e.spelling), 43, za))), 128))])) : d("", !0)]), p("div", Ba, [o.value ? (T(), f(c, { key: 0 }, [g.value ? (T(), f(c, { key: 0 }, [p("h3", Va, A(e.labels.definition), 1), p("div", {
|
|
2424
2486
|
class: "mwnf-standalone-glossary__definition",
|
|
2425
2487
|
innerHTML: g.value
|
|
2426
|
-
}, null, 8,
|
|
2427
|
-
p("h3",
|
|
2428
|
-
p("p",
|
|
2429
|
-
p("ul",
|
|
2488
|
+
}, null, 8, Ha)], 64)) : d("", !0), _.value.length ? (T(), f(c, { key: 1 }, [
|
|
2489
|
+
p("h3", Ua, A(e.labels.spellings), 1),
|
|
2490
|
+
p("p", Wa, A(e.labels.spellingsNote), 1),
|
|
2491
|
+
p("ul", Ga, [(T(!0), f(c, null, O(_.value, (e) => (T(), f("li", { key: e }, A(e), 1))), 128))])
|
|
2430
2492
|
], 64)) : d("", !0)], 64)) : d("", !0)])])])]),
|
|
2431
2493
|
_: 1
|
|
2432
2494
|
}, 8, [
|
|
@@ -2436,4 +2498,4 @@ var dt = { class: "mwnf-standalone-related" }, ft = { class: "mwnf-standalone-re
|
|
|
2436
2498
|
]));
|
|
2437
2499
|
}
|
|
2438
2500
|
};
|
|
2439
|
-
export {
|
|
2501
|
+
export { Ct as RelatedContent, $ as SEE_ALSO_LABELS, ue as StandaloneBanner, di as StandaloneDatabaseForm, Ka as StandaloneGlossarySpelling, Ea as StandaloneHistoricalCrossRef, tt as StandaloneHome, Mt as StandaloneItemSheet, Ni as StandalonePagination, dr as StandalonePartnerList, cn as StandalonePartnerPage, Lr as StandalonePartnersEntrance, tr as StandaloneRefine, On as StandaloneResultsGrid, Yn as StandaloneResultsList, Ie as StandaloneShell, Ma as StandaloneSlider, wr as StandaloneSponsorList, Oe as StandaloneSponsors, hn as StandaloneSubNav, fn as StandaloneTextPage, Ze as StandaloneTileGrid, Di as StandaloneTimelineEntrance, ta as StandaloneTimelineResults, ca as StandaloneWindow, We as TodayHighlight, de as byLanguage, fe as dayOfYear, pe as legacyHomeItemKey, X as pickForDay, Ot as seeAlsoOf, Tt as trailTitle };
|