@muenchen/muc-patternlab-vue 5.1.0 → 5.2.1
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/assets/icons/custom-icons.svg +1 -0
- package/muc-patternlab-vue.es.js +767 -760
- package/package.json +20 -20
- package/style.css +1 -1
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, useAttrs as gs, computed as N, createElementBlock as
|
|
1
|
+
import { defineComponent as W, useAttrs as gs, computed as N, createElementBlock as M, openBlock as S, normalizeStyle as _s, normalizeClass as ce, createElementVNode as b, createVNode as re, renderSlot as q, unref as X, createCommentVNode as U, createBlock as oe, inject as Gt, withKeys as Qi, toDisplayString as Y, Fragment as De, renderList as Fe, mergeModels as $e, ref as pe, useModel as dt, provide as en, readonly as xi, toRef as Ri, withCtx as ie, Transition as Oi, useSlots as lr, createTextVNode as fe, createSlots as ys, createStaticVNode as cr, onMounted as vi, onUpdated as ur, withModifiers as Lt, watch as yt, withDirectives as dr, vModelDynamic as bs, onBeforeUnmount as hr, vModelText as Es, resolveComponent as Ss, resolveDynamicComponent as Cs, useTemplateRef as As } from "vue";
|
|
2
2
|
const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
@@ -7,9 +7,9 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
7
7
|
},
|
|
8
8
|
setup(t) {
|
|
9
9
|
const e = gs(), i = N(() => e.class ?? "icon");
|
|
10
|
-
return (n, r) => (S(),
|
|
10
|
+
return (n, r) => (S(), M("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
|
-
class:
|
|
12
|
+
class: ce(i.value),
|
|
13
13
|
style: _s({ color: n.color })
|
|
14
14
|
}, [
|
|
15
15
|
b("use", {
|
|
@@ -74,15 +74,15 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
74
74
|
return "information";
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
return (s, a) => (S(),
|
|
77
|
+
return (s, a) => (S(), M("div", null, [
|
|
78
78
|
b("div", null, [
|
|
79
79
|
b("div", {
|
|
80
|
-
class:
|
|
80
|
+
class: ce(["m-banner", e.value]),
|
|
81
81
|
role: i.value,
|
|
82
82
|
"aria-label": n.value
|
|
83
83
|
}, [
|
|
84
84
|
b("div", Ms, [
|
|
85
|
-
|
|
85
|
+
re(X(Ie), { icon: r.value }, null, 8, ["icon"]),
|
|
86
86
|
q(s.$slots, "default")
|
|
87
87
|
])
|
|
88
88
|
], 10, Is)
|
|
@@ -112,17 +112,17 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
112
112
|
}), r = N(() => t.iconAnimated && t.iconShownLeft ? "m-button--animated-left" : t.iconAnimated ? "m-button--animated-right" : ""), s = () => {
|
|
113
113
|
t.disabled || i("click");
|
|
114
114
|
}, a = N(() => t.disabled ? "disabled" : "");
|
|
115
|
-
return (o, l) => (S(),
|
|
115
|
+
return (o, l) => (S(), M("button", {
|
|
116
116
|
onClick: s,
|
|
117
117
|
"aria-disabled": o.disabled,
|
|
118
|
-
class:
|
|
118
|
+
class: ce(["m-button", [n.value, r.value, a.value]])
|
|
119
119
|
}, [
|
|
120
120
|
b("span", null, [
|
|
121
121
|
o.iconShownLeft ? U("", !0) : q(o.$slots, "default", { key: 0 }, void 0, !0),
|
|
122
|
-
o.icon ? (S(),
|
|
122
|
+
o.icon ? (S(), oe(X(Ie), {
|
|
123
123
|
key: 1,
|
|
124
124
|
icon: o.icon,
|
|
125
|
-
class:
|
|
125
|
+
class: ce(["m-button__icon", {
|
|
126
126
|
"m-button__icon--after": !o.iconShownLeft && o.variant != "icon",
|
|
127
127
|
"m-button__icon--before": o.iconShownLeft && o.variant != "icon"
|
|
128
128
|
}])
|
|
@@ -165,11 +165,11 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
165
165
|
), l = () => {
|
|
166
166
|
a.value || n("click", t.date);
|
|
167
167
|
};
|
|
168
|
-
return (c, u) => o.value || c.showAdjacentMonths ? (S(),
|
|
168
|
+
return (c, u) => o.value || c.showAdjacentMonths ? (S(), M("div", {
|
|
169
169
|
key: 0,
|
|
170
170
|
onClick: l,
|
|
171
171
|
onKeyup: Qi(l, ["enter"]),
|
|
172
|
-
class:
|
|
172
|
+
class: ce({
|
|
173
173
|
"disabled-tile": a.value,
|
|
174
174
|
"off-month": !o.value,
|
|
175
175
|
selected: r.value,
|
|
@@ -180,7 +180,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
180
180
|
"aria-label": `${c.date.getDate()} auswählen`
|
|
181
181
|
}, Y(c.date.getDate()), 43, ks)) : U("", !0);
|
|
182
182
|
}
|
|
183
|
-
}), Ns = /* @__PURE__ */ ue(Ls, [["__scopeId", "data-v-9ac1842d"]]), Ps = { class: "muc-calendar-view-full-size" }, Fs = { class: "muc-calendar-container table-header" },
|
|
183
|
+
}), Ns = /* @__PURE__ */ ue(Ls, [["__scopeId", "data-v-9ac1842d"]]), Ps = { class: "muc-calendar-view-full-size" }, Fs = { class: "muc-calendar-container table-header" }, $s = { class: "muc-calendar-container" }, xs = 7, Rs = /* @__PURE__ */ W({
|
|
184
184
|
__name: "MucCalendarDay",
|
|
185
185
|
props: {
|
|
186
186
|
viewDate: {},
|
|
@@ -190,7 +190,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
190
190
|
},
|
|
191
191
|
emits: ["clicked"],
|
|
192
192
|
setup(t, { emit: e }) {
|
|
193
|
-
const i = 6 *
|
|
193
|
+
const i = 6 * xs, n = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = t, s = e, a = N(
|
|
194
194
|
() => new Date(r.viewDate.getFullYear(), r.viewDate.getMonth(), 1)
|
|
195
195
|
), o = N(
|
|
196
196
|
() => r.showAdjacentMonths ? 0 : (a.value.getDay() || 7) - 1
|
|
@@ -199,18 +199,18 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
199
199
|
), c = (d) => {
|
|
200
200
|
s("clicked", d);
|
|
201
201
|
}, u = (d, f) => new Date(new Date(d).setDate(d.getDate() + f));
|
|
202
|
-
return (d, f) => (S(),
|
|
202
|
+
return (d, f) => (S(), M("div", Ps, [
|
|
203
203
|
b("div", Fs, [
|
|
204
|
-
(S(),
|
|
204
|
+
(S(), M(De, null, Fe(n, (m, h) => b("div", {
|
|
205
205
|
class: "header-item",
|
|
206
206
|
key: h
|
|
207
207
|
}, [
|
|
208
208
|
b("strong", null, Y(m), 1)
|
|
209
209
|
])), 64))
|
|
210
210
|
]),
|
|
211
|
-
b("div",
|
|
212
|
-
(S(!0),
|
|
213
|
-
(S(),
|
|
211
|
+
b("div", $s, [
|
|
212
|
+
(S(!0), M(De, null, Fe(o.value, (m) => (S(), M("div", { key: m }))), 128)),
|
|
213
|
+
(S(), M(De, null, Fe(i, (m) => re(Ns, {
|
|
214
214
|
class: "muc-calendar-item",
|
|
215
215
|
date: u(l.value, m),
|
|
216
216
|
"show-adjacent-months": d.showAdjacentMonths,
|
|
@@ -233,10 +233,10 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
233
233
|
}), a = () => {
|
|
234
234
|
s.value || n("click", t.date);
|
|
235
235
|
};
|
|
236
|
-
return (o, l) => (S(),
|
|
236
|
+
return (o, l) => (S(), M("div", {
|
|
237
237
|
onClick: a,
|
|
238
238
|
onKeyup: Qi(a, ["enter"]),
|
|
239
|
-
class:
|
|
239
|
+
class: ce({
|
|
240
240
|
"disabled-tile": s.value,
|
|
241
241
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() === o.date.getMonth() && (/* @__PURE__ */ new Date()).getFullYear() === o.date.getFullYear()
|
|
242
242
|
}),
|
|
@@ -260,8 +260,8 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
260
260
|
(a, o) => new Date(i.viewDate.getFullYear(), o)
|
|
261
261
|
)
|
|
262
262
|
), s = (a) => n("clicked", a);
|
|
263
|
-
return (a, o) => (S(),
|
|
264
|
-
(S(!0),
|
|
263
|
+
return (a, o) => (S(), M("div", js, [
|
|
264
|
+
(S(!0), M(De, null, Fe(r.value, (l, c) => (S(), oe(Ks, {
|
|
265
265
|
key: c,
|
|
266
266
|
class: "muc-calendar-item",
|
|
267
267
|
date: l,
|
|
@@ -282,10 +282,10 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
282
282
|
}), a = () => {
|
|
283
283
|
s.value || n("click", t.date);
|
|
284
284
|
};
|
|
285
|
-
return (o, l) => (S(),
|
|
285
|
+
return (o, l) => (S(), M("div", {
|
|
286
286
|
onClick: a,
|
|
287
287
|
onKeyup: Qi(a, ["enter"]),
|
|
288
|
-
class:
|
|
288
|
+
class: ce({
|
|
289
289
|
"disabled-tile": s.value,
|
|
290
290
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() === o.date.getFullYear()
|
|
291
291
|
}),
|
|
@@ -312,8 +312,8 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
312
312
|
)
|
|
313
313
|
)
|
|
314
314
|
), s = (a) => n("clicked", a);
|
|
315
|
-
return (a, o) => (S(),
|
|
316
|
-
(S(!0),
|
|
315
|
+
return (a, o) => (S(), M("div", Xs, [
|
|
316
|
+
(S(!0), M(De, null, Fe(r.value, (l, c) => (S(), oe(qs, {
|
|
317
317
|
key: c,
|
|
318
318
|
class: "muc-calendar-item",
|
|
319
319
|
date: l,
|
|
@@ -321,9 +321,12 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
321
321
|
}, null, 8, ["date", "onClick"]))), 128))
|
|
322
322
|
]));
|
|
323
323
|
}
|
|
324
|
-
}), Zs = /* @__PURE__ */ ue(Js, [["__scopeId", "data-v-2d92e62c"]]), Qs = { class: "container-wrapper" }, ea = { class: "calendar-caption" }, ta = {
|
|
324
|
+
}), Zs = /* @__PURE__ */ ue(Js, [["__scopeId", "data-v-2d92e62c"]]), Qs = { class: "container-wrapper" }, ea = { class: "calendar-caption" }, ta = {
|
|
325
|
+
key: 1,
|
|
326
|
+
class: "header"
|
|
327
|
+
}, ia = { class: "container-view-size" }, Mn = 10, na = /* @__PURE__ */ W({
|
|
325
328
|
__name: "MucCalendar",
|
|
326
|
-
props: /* @__PURE__ */
|
|
329
|
+
props: /* @__PURE__ */ $e({
|
|
327
330
|
viewMonth: {},
|
|
328
331
|
min: {},
|
|
329
332
|
max: {},
|
|
@@ -490,30 +493,33 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
490
493
|
minDate: i,
|
|
491
494
|
maxDate: n,
|
|
492
495
|
selectedDate: o,
|
|
493
|
-
variant:
|
|
494
|
-
showAdjacentMonths:
|
|
496
|
+
variant: xi(Ri(() => t.variant)),
|
|
497
|
+
showAdjacentMonths: xi(Ri(() => t.showAdjacentMonths)),
|
|
495
498
|
allowedDates: t.allowedDates
|
|
496
|
-
}), (C, E) => (S(),
|
|
499
|
+
}), (C, E) => (S(), M("div", null, [
|
|
497
500
|
b("div", Qs, [
|
|
498
501
|
b("div", ea, [
|
|
499
|
-
|
|
502
|
+
re(X(Je), {
|
|
500
503
|
onClick: c,
|
|
501
504
|
"aria-label": d.value,
|
|
502
505
|
disabled: m.value,
|
|
503
506
|
variant: "ghost",
|
|
504
507
|
icon: "chevron-left"
|
|
505
508
|
}, null, 8, ["aria-label", "disabled"]),
|
|
506
|
-
|
|
509
|
+
C.disableViewChange ? (S(), M("div", ta, [
|
|
510
|
+
b("h3", null, Y(l.value), 1)
|
|
511
|
+
])) : (S(), oe(X(Je), {
|
|
512
|
+
key: 0,
|
|
507
513
|
class: "header",
|
|
508
514
|
variant: "ghost",
|
|
509
|
-
onClick: E[0] || (E[0] = (O) =>
|
|
515
|
+
onClick: E[0] || (E[0] = (O) => P())
|
|
510
516
|
}, {
|
|
511
|
-
default:
|
|
517
|
+
default: ie(() => [
|
|
512
518
|
b("h3", null, Y(l.value), 1)
|
|
513
519
|
]),
|
|
514
520
|
_: 1
|
|
515
|
-
}),
|
|
516
|
-
|
|
521
|
+
})),
|
|
522
|
+
re(X(Je), {
|
|
517
523
|
onClick: u,
|
|
518
524
|
"aria-label": f.value,
|
|
519
525
|
disabled: h.value,
|
|
@@ -521,14 +527,14 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
521
527
|
icon: "chevron-right"
|
|
522
528
|
}, null, 8, ["aria-label", "disabled"])
|
|
523
529
|
]),
|
|
524
|
-
b("div",
|
|
525
|
-
|
|
530
|
+
b("div", ia, [
|
|
531
|
+
re(Oi, {
|
|
526
532
|
class: "transition",
|
|
527
533
|
css: !C.noAnimation,
|
|
528
534
|
name: a.value
|
|
529
535
|
}, {
|
|
530
|
-
default:
|
|
531
|
-
s.value === "year" ? (S(),
|
|
536
|
+
default: ie(() => [
|
|
537
|
+
s.value === "year" ? (S(), oe(Zs, {
|
|
532
538
|
key: 0,
|
|
533
539
|
"view-date": r.value,
|
|
534
540
|
onClicked: _
|
|
@@ -536,13 +542,13 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
536
542
|
]),
|
|
537
543
|
_: 1
|
|
538
544
|
}, 8, ["css", "name"]),
|
|
539
|
-
|
|
545
|
+
re(Oi, {
|
|
540
546
|
class: "transition",
|
|
541
547
|
css: !C.noAnimation,
|
|
542
548
|
name: a.value
|
|
543
549
|
}, {
|
|
544
|
-
default:
|
|
545
|
-
s.value === "month" ? (S(),
|
|
550
|
+
default: ie(() => [
|
|
551
|
+
s.value === "month" ? (S(), oe(Ws, {
|
|
546
552
|
key: 0,
|
|
547
553
|
"view-date": r.value,
|
|
548
554
|
onClicked: _
|
|
@@ -550,13 +556,13 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
550
556
|
]),
|
|
551
557
|
_: 1
|
|
552
558
|
}, 8, ["css", "name"]),
|
|
553
|
-
|
|
559
|
+
re(Oi, {
|
|
554
560
|
class: "transition",
|
|
555
561
|
css: !C.noAnimation,
|
|
556
562
|
name: a.value
|
|
557
563
|
}, {
|
|
558
|
-
default:
|
|
559
|
-
s.value === "day" ? (S(),
|
|
564
|
+
default: ie(() => [
|
|
565
|
+
s.value === "day" ? (S(), oe(Vs, {
|
|
560
566
|
key: 0,
|
|
561
567
|
variant: C.variant,
|
|
562
568
|
disabled: C.disabled,
|
|
@@ -572,7 +578,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
572
578
|
])
|
|
573
579
|
]));
|
|
574
580
|
}
|
|
575
|
-
}),
|
|
581
|
+
}), ra = /* @__PURE__ */ ue(na, [["__scopeId", "data-v-5cd7611e"]]), sa = ["aria-label"], aa = { class: "m-callout__inner" }, oa = { class: "m-callout__icon" }, la = { class: "m-callout__body" }, ca = { class: "m-callout__body__inner" }, ua = { class: "m-callout__headline" }, da = { class: "m-callout__content" }, ha = /* @__PURE__ */ W({
|
|
576
582
|
__name: "MucCallout",
|
|
577
583
|
props: {
|
|
578
584
|
type: { default: "info" }
|
|
@@ -611,22 +617,22 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
611
617
|
return "Information";
|
|
612
618
|
}
|
|
613
619
|
});
|
|
614
|
-
return (r, s) => (S(),
|
|
615
|
-
class:
|
|
620
|
+
return (r, s) => (S(), M("div", {
|
|
621
|
+
class: ce(["m-callout", i.value]),
|
|
616
622
|
"aria-label": n.value
|
|
617
623
|
}, [
|
|
618
|
-
b("div",
|
|
619
|
-
b("div",
|
|
624
|
+
b("div", aa, [
|
|
625
|
+
b("div", oa, [
|
|
620
626
|
q(r.$slots, "icon", {}, () => [
|
|
621
|
-
|
|
627
|
+
re(X(Ie), { icon: e.value }, null, 8, ["icon"])
|
|
622
628
|
])
|
|
623
629
|
]),
|
|
624
|
-
b("div",
|
|
625
|
-
b("div",
|
|
626
|
-
b("div",
|
|
630
|
+
b("div", la, [
|
|
631
|
+
b("div", ca, [
|
|
632
|
+
b("div", ua, [
|
|
627
633
|
q(r.$slots, "header")
|
|
628
634
|
]),
|
|
629
|
-
b("div",
|
|
635
|
+
b("div", da, [
|
|
630
636
|
b("p", null, [
|
|
631
637
|
q(r.$slots, "content", { class: "m-callout__content" })
|
|
632
638
|
])
|
|
@@ -634,16 +640,16 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
634
640
|
])
|
|
635
641
|
])
|
|
636
642
|
])
|
|
637
|
-
], 10,
|
|
643
|
+
], 10, sa));
|
|
638
644
|
}
|
|
639
|
-
}),
|
|
640
|
-
function
|
|
641
|
-
return S(),
|
|
645
|
+
}), fa = {}, va = { class: "muc-divider" };
|
|
646
|
+
function ma(t, e) {
|
|
647
|
+
return S(), M("div", va);
|
|
642
648
|
}
|
|
643
|
-
const tn = /* @__PURE__ */ ue(
|
|
649
|
+
const tn = /* @__PURE__ */ ue(fa, [["render", ma], ["__scopeId", "data-v-a337b11f"]]), pa = { class: "card-content" }, ga = { class: "card-header" }, _a = {
|
|
644
650
|
key: 0,
|
|
645
651
|
class: "card-tagline"
|
|
646
|
-
},
|
|
652
|
+
}, ya = /* @__PURE__ */ W({
|
|
647
653
|
__name: "MucCard",
|
|
648
654
|
props: {
|
|
649
655
|
title: {},
|
|
@@ -652,39 +658,39 @@ const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
652
658
|
emits: ["click"],
|
|
653
659
|
setup(t, { emit: e }) {
|
|
654
660
|
const i = e;
|
|
655
|
-
return (n, r) => (S(),
|
|
661
|
+
return (n, r) => (S(), M("div", {
|
|
656
662
|
class: "card",
|
|
657
663
|
onClick: r[0] || (r[0] = (s) => i("click", s))
|
|
658
664
|
}, [
|
|
659
|
-
b("div",
|
|
660
|
-
b("div",
|
|
665
|
+
b("div", pa, [
|
|
666
|
+
b("div", ga, [
|
|
661
667
|
q(n.$slots, "headerPrefix", {}, void 0, !0),
|
|
662
668
|
b("div", null, [
|
|
663
|
-
n.tagline ? (S(),
|
|
669
|
+
n.tagline ? (S(), M("div", _a, Y(n.tagline), 1)) : U("", !0),
|
|
664
670
|
b("div", null, [
|
|
665
671
|
b("h3", null, Y(n.title), 1)
|
|
666
672
|
])
|
|
667
673
|
])
|
|
668
674
|
]),
|
|
669
|
-
|
|
675
|
+
re(X(tn)),
|
|
670
676
|
q(n.$slots, "content", {}, void 0, !0)
|
|
671
677
|
])
|
|
672
678
|
]));
|
|
673
679
|
}
|
|
674
|
-
}),
|
|
680
|
+
}), ba = /* @__PURE__ */ ue(ya, [["__scopeId", "data-v-ec038b2b"]]), Ea = { class: "container card-container" }, Sa = /* @__PURE__ */ W({
|
|
675
681
|
__name: "MucCardContainer",
|
|
676
682
|
setup(t) {
|
|
677
|
-
return (e, i) => (S(),
|
|
683
|
+
return (e, i) => (S(), M("div", Ea, [
|
|
678
684
|
q(e.$slots, "default", {}, void 0, !0)
|
|
679
685
|
]));
|
|
680
686
|
}
|
|
681
|
-
}),
|
|
687
|
+
}), Ca = /* @__PURE__ */ ue(Sa, [["__scopeId", "data-v-6740df8f"]]), Aa = { class: "m-comment__head" }, wa = {
|
|
682
688
|
key: 0,
|
|
683
689
|
class: "m-comment__initials"
|
|
684
|
-
},
|
|
690
|
+
}, Ia = { class: "m-comment__info" }, Ma = { class: "m-comment__author" }, Ta = { key: 0 }, Oa = { class: "m-comment__author" }, Da = { class: "m-comment__date" }, ka = ["aria-label"], La = {
|
|
685
691
|
key: 0,
|
|
686
692
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
687
|
-
},
|
|
693
|
+
}, Na = { class: "m-star-rating__numeric" }, Pa = { class: "m-comment__body" }, Fa = { class: "m-comment__headline" }, $a = { class: "m-comment__text" }, xa = "de-DE", Ra = 0.2, Va = 0.8, ei = 5, vr = /* @__PURE__ */ W({
|
|
688
694
|
__name: "MucComment",
|
|
689
695
|
props: {
|
|
690
696
|
rating: {},
|
|
@@ -696,29 +702,29 @@ const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
696
702
|
})), o = N(() => {
|
|
697
703
|
const l = +(s.value % 1).toFixed(1);
|
|
698
704
|
let c = Math.min(Math.floor(s.value), ei), u = Math.floor(ei - s.value), d = !1;
|
|
699
|
-
return l !== 0 && (l <=
|
|
705
|
+
return l !== 0 && (l <= Ra ? u++ : l >= Va ? c++ : d = !0), {
|
|
700
706
|
fullStars: c,
|
|
701
707
|
emptyStars: u,
|
|
702
708
|
isHalfStar: d
|
|
703
709
|
};
|
|
704
710
|
});
|
|
705
|
-
return (l, c) => (S(),
|
|
706
|
-
class:
|
|
711
|
+
return (l, c) => (S(), M("div", {
|
|
712
|
+
class: ce(["m-comment", r.value])
|
|
707
713
|
}, [
|
|
708
|
-
b("div",
|
|
709
|
-
n.value ? (S(),
|
|
714
|
+
b("div", Aa, [
|
|
715
|
+
n.value ? (S(), M("div", wa, [
|
|
710
716
|
q(l.$slots, "initials")
|
|
711
717
|
])) : U("", !0),
|
|
712
|
-
b("div",
|
|
713
|
-
b("span",
|
|
718
|
+
b("div", Ia, [
|
|
719
|
+
b("span", Ma, [
|
|
714
720
|
q(l.$slots, "author")
|
|
715
721
|
]),
|
|
716
|
-
i.value ? (S(),
|
|
717
|
-
b("span",
|
|
722
|
+
i.value ? (S(), M("span", Ta, [
|
|
723
|
+
b("span", Oa, [
|
|
718
724
|
c[0] || (c[0] = fe(" ")),
|
|
719
725
|
q(l.$slots, "datePrefix")
|
|
720
726
|
]),
|
|
721
|
-
b("span",
|
|
727
|
+
b("span", Da, [
|
|
722
728
|
c[1] || (c[1] = fe(" ")),
|
|
723
729
|
q(l.$slots, "date")
|
|
724
730
|
])
|
|
@@ -728,36 +734,36 @@ const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
728
734
|
role: "img",
|
|
729
735
|
"aria-label": `Bewertung: ${l.rating} von ${ei} Sternen`
|
|
730
736
|
}, [
|
|
731
|
-
(S(!0),
|
|
737
|
+
(S(!0), M(De, null, Fe(o.value.fullStars, (u) => (S(), M("div", {
|
|
732
738
|
key: u,
|
|
733
739
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
734
740
|
}, [
|
|
735
|
-
|
|
741
|
+
re(X(Ie), { icon: "solid-star" })
|
|
736
742
|
]))), 128)),
|
|
737
|
-
o.value.isHalfStar ? (S(),
|
|
738
|
-
|
|
743
|
+
o.value.isHalfStar ? (S(), M("div", La, [
|
|
744
|
+
re(X(Ie), { icon: "half-star" })
|
|
739
745
|
])) : U("", !0),
|
|
740
|
-
(S(!0),
|
|
746
|
+
(S(!0), M(De, null, Fe(o.value.emptyStars, (u) => (S(), M("div", {
|
|
741
747
|
key: u,
|
|
742
748
|
class: "m-star-rating__item"
|
|
743
749
|
}, [
|
|
744
|
-
|
|
750
|
+
re(X(Ie), { icon: "solid-star" })
|
|
745
751
|
]))), 128)),
|
|
746
|
-
b("div",
|
|
747
|
-
], 8,
|
|
752
|
+
b("div", Na, Y(a.value), 1)
|
|
753
|
+
], 8, ka)
|
|
748
754
|
])
|
|
749
755
|
]),
|
|
750
|
-
b("div",
|
|
751
|
-
b("div",
|
|
756
|
+
b("div", Pa, [
|
|
757
|
+
b("div", Fa, [
|
|
752
758
|
q(l.$slots, "headline")
|
|
753
759
|
]),
|
|
754
|
-
b("div",
|
|
760
|
+
b("div", $a, [
|
|
755
761
|
q(l.$slots, "text")
|
|
756
762
|
])
|
|
757
763
|
])
|
|
758
764
|
], 2));
|
|
759
765
|
}
|
|
760
|
-
}),
|
|
766
|
+
}), Ba = " ", Ha = /* @__PURE__ */ W({
|
|
761
767
|
__name: "MucCommentText",
|
|
762
768
|
props: {
|
|
763
769
|
datePrefix: { default: "am" },
|
|
@@ -770,52 +776,52 @@ const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
770
776
|
variant: { default: "listing" }
|
|
771
777
|
},
|
|
772
778
|
setup(t) {
|
|
773
|
-
const e = N(() => ((t.initials ?? t.author.split(
|
|
774
|
-
return (i, n) => (S(),
|
|
779
|
+
const e = N(() => ((t.initials ?? t.author.split(Ba).map((i) => i.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
780
|
+
return (i, n) => (S(), oe(X(vr), {
|
|
775
781
|
rating: i.rating,
|
|
776
782
|
variant: i.variant
|
|
777
783
|
}, ys({
|
|
778
|
-
datePrefix:
|
|
784
|
+
datePrefix: ie(() => [
|
|
779
785
|
fe(Y(i.datePrefix), 1)
|
|
780
786
|
]),
|
|
781
|
-
author:
|
|
787
|
+
author: ie(() => [
|
|
782
788
|
fe(Y(i.author), 1)
|
|
783
789
|
]),
|
|
784
|
-
headline:
|
|
790
|
+
headline: ie(() => [
|
|
785
791
|
fe(Y(i.headline), 1)
|
|
786
792
|
]),
|
|
787
|
-
text:
|
|
793
|
+
text: ie(() => [
|
|
788
794
|
fe(Y(i.text), 1)
|
|
789
795
|
]),
|
|
790
796
|
_: 2
|
|
791
797
|
}, [
|
|
792
798
|
e.value ? {
|
|
793
799
|
name: "initials",
|
|
794
|
-
fn:
|
|
800
|
+
fn: ie(() => [
|
|
795
801
|
fe(Y(e.value), 1)
|
|
796
802
|
]),
|
|
797
803
|
key: "0"
|
|
798
804
|
} : void 0,
|
|
799
805
|
i.date ? {
|
|
800
806
|
name: "date",
|
|
801
|
-
fn:
|
|
807
|
+
fn: ie(() => [
|
|
802
808
|
fe(Y(i.date), 1)
|
|
803
809
|
]),
|
|
804
810
|
key: "1"
|
|
805
811
|
} : void 0
|
|
806
812
|
]), 1032, ["rating", "variant"]));
|
|
807
813
|
}
|
|
808
|
-
}),
|
|
814
|
+
}), Ya = { class: "m-error-message form-error-message" }, Ka = /* @__PURE__ */ W({
|
|
809
815
|
__name: "FormErrorMessage",
|
|
810
816
|
setup(t) {
|
|
811
|
-
return (e, i) => (S(),
|
|
812
|
-
|
|
817
|
+
return (e, i) => (S(), M("span", Ya, [
|
|
818
|
+
re(X(Ie), { icon: "warning--filled" }),
|
|
813
819
|
b("span", null, [
|
|
814
820
|
q(e.$slots, "default", {}, void 0, !0)
|
|
815
821
|
])
|
|
816
822
|
]));
|
|
817
823
|
}
|
|
818
|
-
}), Pt = /* @__PURE__ */ ue(
|
|
824
|
+
}), Pt = /* @__PURE__ */ ue(Ka, [["__scopeId", "data-v-795c5724"]]), ja = {}, Ga = {
|
|
819
825
|
"aria-hidden": "true",
|
|
820
826
|
width: "108",
|
|
821
827
|
height: "56",
|
|
@@ -823,12 +829,12 @@ const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
823
829
|
fill: "none",
|
|
824
830
|
xmlns: "http://www.w3.org/2000/svg"
|
|
825
831
|
};
|
|
826
|
-
function
|
|
827
|
-
return S(),
|
|
832
|
+
function Wa(t, e) {
|
|
833
|
+
return S(), M("svg", Ga, e[0] || (e[0] = [
|
|
828
834
|
cr('<g clip-path="url(#clip0_875_841)"><path d="M107.655 18.699L106.594 11.0435L98.9873 12.1173" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M106.594 11.0435C106.594 11.0435 94.1981 33.255 58.2578 27.2483" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M85.5371 32.8255C92.2897 31.142 97.5195 28.1144 101.261 25.2393" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M0.344727 45.982C0.344727 45.982 13.4778 24.2 49.1976 31.426" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M22.1184 24.9275C15.3107 26.3755 9.98438 29.2299 6.15332 31.9734" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M68.3603 2.69507H37.1055V55.6536H77.5314V11.9164L68.3603 2.69507Z" fill="#005A9F" stroke="#005A9F" stroke-linecap="round" stroke-linejoin="round"></path><path d="M73.7345 53.3119H33.3086V0.346436H64.5634L73.7345 9.57469V53.3119Z" fill="white" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 14.4868H45.3667" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 21.1584H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 27.8372H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 34.509H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 41.1877H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M73.7346 9.57469H64.5635V0.346436L73.7346 9.57469Z" fill="white" stroke="#005A9F" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_875_841"><rect width="108" height="56" fill="white"></rect></clipPath></defs>', 2)
|
|
829
835
|
]));
|
|
830
836
|
}
|
|
831
|
-
const
|
|
837
|
+
const Ua = /* @__PURE__ */ ue(ja, [["render", Wa]]), za = { class: "drop-zone-additional-information" }, qa = /* @__PURE__ */ W({
|
|
832
838
|
__name: "MucFileDropzone",
|
|
833
839
|
props: {
|
|
834
840
|
buttonText: { default: "Upload file" },
|
|
@@ -894,9 +900,9 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
894
900
|
clearWarnings: () => {
|
|
895
901
|
r.value = !0, s.value = !0, a.value = !0;
|
|
896
902
|
}
|
|
897
|
-
}), (p, g) => (S(),
|
|
903
|
+
}), (p, g) => (S(), M(De, null, [
|
|
898
904
|
b("div", {
|
|
899
|
-
class:
|
|
905
|
+
class: ce(["drop-zone", {
|
|
900
906
|
"is-dragover": o.value,
|
|
901
907
|
"is-not-disabled": !p.disabled
|
|
902
908
|
}]),
|
|
@@ -905,54 +911,54 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
905
911
|
onDrop: Lt(f, ["prevent"]),
|
|
906
912
|
onClick: c
|
|
907
913
|
}, [
|
|
908
|
-
|
|
909
|
-
|
|
914
|
+
re(Ua),
|
|
915
|
+
re(X(Je), {
|
|
910
916
|
variant: "secondary",
|
|
911
917
|
icon: "upload",
|
|
912
918
|
disabled: p.disabled
|
|
913
919
|
}, {
|
|
914
|
-
default:
|
|
920
|
+
default: ie(() => [
|
|
915
921
|
fe(Y(p.buttonText), 1)
|
|
916
922
|
]),
|
|
917
923
|
_: 1
|
|
918
924
|
}, 8, ["disabled"]),
|
|
919
|
-
b("span",
|
|
925
|
+
b("span", za, Y(p.additionalInformation), 1)
|
|
920
926
|
], 34),
|
|
921
|
-
!r.value && p.maxFileSizeWarning ? (S(),
|
|
922
|
-
default:
|
|
927
|
+
!r.value && p.maxFileSizeWarning ? (S(), oe(Pt, { key: 0 }, {
|
|
928
|
+
default: ie(() => [
|
|
923
929
|
fe(Y(p.maxFileSizeWarning), 1)
|
|
924
930
|
]),
|
|
925
931
|
_: 1
|
|
926
932
|
})) : U("", !0),
|
|
927
|
-
!s.value && p.maxTotalFileSizeWarning ? (S(),
|
|
928
|
-
default:
|
|
933
|
+
!s.value && p.maxTotalFileSizeWarning ? (S(), oe(Pt, { key: 1 }, {
|
|
934
|
+
default: ie(() => [
|
|
929
935
|
fe(Y(p.maxTotalFileSizeWarning), 1)
|
|
930
936
|
]),
|
|
931
937
|
_: 1
|
|
932
938
|
})) : U("", !0),
|
|
933
|
-
a.value ? U("", !0) : (S(),
|
|
934
|
-
default:
|
|
939
|
+
a.value ? U("", !0) : (S(), oe(Pt, { key: 2 }, {
|
|
940
|
+
default: ie(() => [
|
|
935
941
|
fe(Y(p.invalidAmountWarning), 1)
|
|
936
942
|
]),
|
|
937
943
|
_: 1
|
|
938
944
|
}))
|
|
939
945
|
], 64));
|
|
940
946
|
}
|
|
941
|
-
}),
|
|
947
|
+
}), Xa = /* @__PURE__ */ ue(qa, [["__scopeId", "data-v-a2e8c385"]]), Ja = ["id", "checked"], Za = ["for"], Qa = /* @__PURE__ */ W({
|
|
942
948
|
__name: "MucCheckbox",
|
|
943
|
-
props: /* @__PURE__ */
|
|
949
|
+
props: /* @__PURE__ */ $e({
|
|
944
950
|
id: {},
|
|
945
951
|
label: {}
|
|
946
952
|
}, {
|
|
947
953
|
modelValue: { type: Boolean, default: !1 },
|
|
948
954
|
modelModifiers: {}
|
|
949
955
|
}),
|
|
950
|
-
emits: /* @__PURE__ */
|
|
956
|
+
emits: /* @__PURE__ */ $e(["click"], ["update:modelValue"]),
|
|
951
957
|
setup(t, { emit: e }) {
|
|
952
958
|
const i = dt(t, "modelValue"), n = e, r = () => {
|
|
953
959
|
i.value = !i.value, n("click");
|
|
954
960
|
};
|
|
955
|
-
return (s, a) => (S(),
|
|
961
|
+
return (s, a) => (S(), M("div", {
|
|
956
962
|
class: "m-checkboxes__item",
|
|
957
963
|
onClick: r
|
|
958
964
|
}, [
|
|
@@ -963,48 +969,48 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
963
969
|
type: "checkbox",
|
|
964
970
|
checked: i.value,
|
|
965
971
|
onClick: Lt(r, ["stop"])
|
|
966
|
-
}, null, 8,
|
|
972
|
+
}, null, 8, Ja),
|
|
967
973
|
b("label", {
|
|
968
974
|
class: "m-label m-checkboxes__label",
|
|
969
975
|
for: "checkbox-" + s.id
|
|
970
|
-
}, Y(s.label), 9,
|
|
976
|
+
}, Y(s.label), 9, Za)
|
|
971
977
|
]));
|
|
972
978
|
}
|
|
973
|
-
}),
|
|
979
|
+
}), eo = { class: "m-form-group" }, to = { class: "m-checkbox-group" }, io = { class: "m-checkbox-group__legend" }, no = { class: "m-checkbox-group__heading" }, ro = { class: "m-checkboxes m-checkboxes--collapse" }, so = {
|
|
974
980
|
"aria-hidden": "true",
|
|
975
981
|
class: "icon icon--after"
|
|
976
|
-
},
|
|
982
|
+
}, ao = ["href"], oo = /* @__PURE__ */ W({
|
|
977
983
|
__name: "MucCheckboxGroup",
|
|
978
984
|
props: {
|
|
979
985
|
heading: {}
|
|
980
986
|
},
|
|
981
987
|
setup(t) {
|
|
982
988
|
const e = pe(!0), i = N(() => e.value ? "collapse" : ""), n = N(() => e.value ? "down" : "up"), r = () => e.value = !e.value;
|
|
983
|
-
return (s, a) => (S(),
|
|
984
|
-
b("fieldset",
|
|
985
|
-
b("legend",
|
|
986
|
-
b("h3",
|
|
989
|
+
return (s, a) => (S(), M("div", eo, [
|
|
990
|
+
b("fieldset", to, [
|
|
991
|
+
b("legend", io, [
|
|
992
|
+
b("h3", no, Y(s.heading), 1)
|
|
987
993
|
]),
|
|
988
|
-
b("div",
|
|
994
|
+
b("div", ro, [
|
|
989
995
|
q(s.$slots, "checkboxes"),
|
|
990
|
-
s.$slots.collapsableCheckboxes ? (S(),
|
|
996
|
+
s.$slots.collapsableCheckboxes ? (S(), M("div", {
|
|
991
997
|
key: 0,
|
|
992
|
-
class:
|
|
998
|
+
class: ce(["m-checkboxes__collapse__container", i.value])
|
|
993
999
|
}, [
|
|
994
1000
|
q(s.$slots, "collapsableCheckboxes")
|
|
995
1001
|
], 2)) : U("", !0),
|
|
996
|
-
s.$slots.collapsableCheckboxes ? (S(),
|
|
1002
|
+
s.$slots.collapsableCheckboxes ? (S(), oe(X(Je), {
|
|
997
1003
|
key: 1,
|
|
998
1004
|
variant: "ghost",
|
|
999
1005
|
onClick: r,
|
|
1000
1006
|
"aria-expanded": !e.value
|
|
1001
1007
|
}, {
|
|
1002
|
-
default:
|
|
1008
|
+
default: ie(() => [
|
|
1003
1009
|
a[0] || (a[0] = b("span", null, "Mehr ", -1)),
|
|
1004
|
-
(S(),
|
|
1010
|
+
(S(), M("svg", so, [
|
|
1005
1011
|
b("use", {
|
|
1006
1012
|
href: "#icon-chevron-" + n.value
|
|
1007
|
-
}, null, 8,
|
|
1013
|
+
}, null, 8, ao)
|
|
1008
1014
|
]))
|
|
1009
1015
|
]),
|
|
1010
1016
|
_: 1
|
|
@@ -1013,7 +1019,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1013
1019
|
])
|
|
1014
1020
|
]));
|
|
1015
1021
|
}
|
|
1016
|
-
}),
|
|
1022
|
+
}), lo = ["href", "target"], mr = /* @__PURE__ */ W({
|
|
1017
1023
|
__name: "MucLink",
|
|
1018
1024
|
props: {
|
|
1019
1025
|
label: {},
|
|
@@ -1026,27 +1032,27 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1026
1032
|
const e = N(
|
|
1027
1033
|
() => t.noUnderline ? "m-link--reversed-underline" : ""
|
|
1028
1034
|
);
|
|
1029
|
-
return (i, n) => (S(),
|
|
1035
|
+
return (i, n) => (S(), M("a", {
|
|
1030
1036
|
href: i.href,
|
|
1031
1037
|
target: i.target,
|
|
1032
|
-
class:
|
|
1038
|
+
class: ce(["m-link", e.value])
|
|
1033
1039
|
}, [
|
|
1034
1040
|
fe(Y(i.label) + " ", 1),
|
|
1035
1041
|
q(i.$slots, "icon", {}, () => [
|
|
1036
|
-
i.icon ? (S(),
|
|
1042
|
+
i.icon ? (S(), oe(X(Ie), {
|
|
1037
1043
|
key: 0,
|
|
1038
1044
|
icon: i.icon,
|
|
1039
1045
|
class: "icon icon--after"
|
|
1040
1046
|
}, null, 8, ["icon"])) : U("", !0)
|
|
1041
1047
|
])
|
|
1042
|
-
], 10,
|
|
1048
|
+
], 10, lo));
|
|
1043
1049
|
}
|
|
1044
|
-
}),
|
|
1050
|
+
}), co = { class: "grid" }, uo = { class: "grid-item" }, ho = { class: "content-centered" }, fo = { tabindex: "0" }, vo = {
|
|
1045
1051
|
class: "content-centered",
|
|
1046
1052
|
style: { color: "var(--color-brand-main-blue)" }
|
|
1047
|
-
},
|
|
1053
|
+
}, mo = { class: "visually-hidden" }, po = { class: "content-centered" }, go = { class: "grid-item content-centered-justify-left" }, _o = { key: 0 }, yo = { key: 1 }, bo = /* @__PURE__ */ W({
|
|
1048
1054
|
__name: "MucCounter",
|
|
1049
|
-
props: /* @__PURE__ */
|
|
1055
|
+
props: /* @__PURE__ */ $e({
|
|
1050
1056
|
label: {},
|
|
1051
1057
|
min: {},
|
|
1052
1058
|
max: {},
|
|
@@ -1075,93 +1081,93 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1075
1081
|
), s = N(
|
|
1076
1082
|
() => e.value == 0 || !!t.min && !(e.value > t.min) || t.disabled
|
|
1077
1083
|
);
|
|
1078
|
-
return (a, o) => (S(),
|
|
1079
|
-
b("div",
|
|
1080
|
-
b("div",
|
|
1081
|
-
|
|
1084
|
+
return (a, o) => (S(), M("div", co, [
|
|
1085
|
+
b("div", uo, [
|
|
1086
|
+
b("div", ho, [
|
|
1087
|
+
re(X(Je), {
|
|
1082
1088
|
onClick: n,
|
|
1083
1089
|
variant: "secondary",
|
|
1084
1090
|
disabled: s.value,
|
|
1085
1091
|
"aria-label": "Anzahl " + a.label + " reduzieren auf " + (e.value - 1)
|
|
1086
1092
|
}, {
|
|
1087
|
-
default:
|
|
1088
|
-
|
|
1093
|
+
default: ie(() => [
|
|
1094
|
+
re(X(Ie), { icon: "minus" })
|
|
1089
1095
|
]),
|
|
1090
1096
|
_: 1
|
|
1091
1097
|
}, 8, ["disabled", "aria-label"])
|
|
1092
1098
|
]),
|
|
1093
|
-
b("p",
|
|
1094
|
-
b("strong",
|
|
1095
|
-
b("span",
|
|
1099
|
+
b("p", fo, [
|
|
1100
|
+
b("strong", vo, [
|
|
1101
|
+
b("span", mo, " Aktuell ausgewählte Anzahl für " + Y(a.label) + " ist", 1),
|
|
1096
1102
|
fe(" " + Y(e.value), 1)
|
|
1097
1103
|
])
|
|
1098
1104
|
]),
|
|
1099
|
-
b("div",
|
|
1100
|
-
|
|
1105
|
+
b("div", po, [
|
|
1106
|
+
re(X(Je), {
|
|
1101
1107
|
onClick: i,
|
|
1102
1108
|
variant: "secondary",
|
|
1103
1109
|
disabled: r.value,
|
|
1104
1110
|
"aria-label": "Anzahl " + a.label + " erhöhen auf " + (e.value + 1)
|
|
1105
1111
|
}, {
|
|
1106
|
-
default:
|
|
1107
|
-
|
|
1112
|
+
default: ie(() => [
|
|
1113
|
+
re(X(Ie), { icon: "plus" })
|
|
1108
1114
|
]),
|
|
1109
1115
|
_: 1
|
|
1110
1116
|
}, 8, ["disabled", "aria-label"])
|
|
1111
1117
|
])
|
|
1112
1118
|
]),
|
|
1113
|
-
b("div",
|
|
1114
|
-
a.link ? (S(),
|
|
1119
|
+
b("div", go, [
|
|
1120
|
+
a.link ? (S(), M("p", _o, [
|
|
1115
1121
|
b("label", null, [
|
|
1116
|
-
|
|
1122
|
+
re(X(mr), {
|
|
1117
1123
|
tabindex: "0",
|
|
1118
1124
|
label: a.label,
|
|
1119
1125
|
href: a.link
|
|
1120
1126
|
}, null, 8, ["label", "href"])
|
|
1121
1127
|
])
|
|
1122
|
-
])) : (S(),
|
|
1128
|
+
])) : (S(), M("p", yo, [
|
|
1123
1129
|
b("label", null, Y(a.label), 1)
|
|
1124
1130
|
]))
|
|
1125
1131
|
])
|
|
1126
1132
|
]));
|
|
1127
1133
|
}
|
|
1128
|
-
}),
|
|
1134
|
+
}), Eo = /* @__PURE__ */ ue(bo, [["__scopeId", "data-v-d1abf5a8"]]), So = {
|
|
1129
1135
|
class: "m-error-list",
|
|
1130
1136
|
role: "alert",
|
|
1131
1137
|
tabindex: "-1"
|
|
1132
|
-
},
|
|
1138
|
+
}, Co = { class: "m-error-list__title" }, Ao = { class: "m-error-list__body" }, wo = { class: "m-list m-error-list__list" }, Io = "Ein Fehler ist aufgetreten!", Mo = /* @__PURE__ */ W({
|
|
1133
1139
|
__name: "MucErrorList",
|
|
1134
1140
|
props: {
|
|
1135
|
-
title: { default: () =>
|
|
1141
|
+
title: { default: () => Io },
|
|
1136
1142
|
errors: {}
|
|
1137
1143
|
},
|
|
1138
1144
|
setup(t) {
|
|
1139
1145
|
const e = N(
|
|
1140
1146
|
() => typeof t.errors == "string" ? [t.errors] : t.errors
|
|
1141
1147
|
);
|
|
1142
|
-
return (i, n) => (S(),
|
|
1143
|
-
b("h2",
|
|
1144
|
-
b("div",
|
|
1145
|
-
b("ul",
|
|
1146
|
-
(S(!0),
|
|
1148
|
+
return (i, n) => (S(), M("div", So, [
|
|
1149
|
+
b("h2", Co, Y(i.title), 1),
|
|
1150
|
+
b("div", Ao, [
|
|
1151
|
+
b("ul", wo, [
|
|
1152
|
+
(S(!0), M(De, null, Fe(e.value, (r, s) => (S(), M("li", { key: s }, [
|
|
1147
1153
|
b("a", null, Y(r), 1)
|
|
1148
1154
|
]))), 128))
|
|
1149
1155
|
])
|
|
1150
1156
|
])
|
|
1151
1157
|
]));
|
|
1152
1158
|
}
|
|
1153
|
-
}),
|
|
1159
|
+
}), To = ["for"], Oo = ["id"], Do = { class: "m-input-wrapper m-autocomplete" }, ko = {
|
|
1154
1160
|
key: 0,
|
|
1155
1161
|
class: "m-input__prefix"
|
|
1156
|
-
},
|
|
1162
|
+
}, Lo = ["id", "type", "aria-describedby", "placeholder", "required", "maxlength"], No = {
|
|
1157
1163
|
key: 1,
|
|
1158
1164
|
class: "autocomplete-result-list autocomplete-result-list--location"
|
|
1159
|
-
},
|
|
1165
|
+
}, Po = ["onClick"], Fo = {
|
|
1160
1166
|
"aria-hidden": "true",
|
|
1161
1167
|
class: "icon"
|
|
1162
|
-
},
|
|
1168
|
+
}, $o = ["xlink:href"], xo = /* @__PURE__ */ W({
|
|
1163
1169
|
__name: "MucInput",
|
|
1164
|
-
props: /* @__PURE__ */
|
|
1170
|
+
props: /* @__PURE__ */ $e({
|
|
1165
1171
|
id: {},
|
|
1166
1172
|
errorMsg: {},
|
|
1167
1173
|
placeholder: {},
|
|
@@ -1176,7 +1182,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1176
1182
|
modelValue: { default: "" },
|
|
1177
1183
|
modelModifiers: {}
|
|
1178
1184
|
}),
|
|
1179
|
-
emits: /* @__PURE__ */
|
|
1185
|
+
emits: /* @__PURE__ */ $e(["suffixClick"], ["update:modelValue"]),
|
|
1180
1186
|
setup(t, { emit: e }) {
|
|
1181
1187
|
const i = dt(t, "modelValue"), n = lr(), r = e, s = N(() => t.type === "search"), a = N(() => {
|
|
1182
1188
|
if (i.value === "") return [];
|
|
@@ -1185,21 +1191,21 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1185
1191
|
(u) => u.toLowerCase().startsWith(c) && u.toLowerCase() !== c
|
|
1186
1192
|
);
|
|
1187
1193
|
}), o = (c) => i.value = c, l = () => r("suffixClick");
|
|
1188
|
-
return (c, u) => (S(),
|
|
1189
|
-
class:
|
|
1194
|
+
return (c, u) => (S(), M("div", {
|
|
1195
|
+
class: ce(["m-form-group", { "has-error": c.errorMsg }])
|
|
1190
1196
|
}, [
|
|
1191
|
-
c.label ? (S(),
|
|
1197
|
+
c.label ? (S(), M("label", {
|
|
1192
1198
|
key: 0,
|
|
1193
1199
|
for: "input-" + c.id,
|
|
1194
|
-
class:
|
|
1195
|
-
}, Y(c.label), 11,
|
|
1196
|
-
c.hint ? (S(),
|
|
1200
|
+
class: ce(["m-label", { "m-label--optional": !c.required }])
|
|
1201
|
+
}, Y(c.label), 11, To)) : U("", !0),
|
|
1202
|
+
c.hint ? (S(), M("p", {
|
|
1197
1203
|
key: 1,
|
|
1198
1204
|
class: "m-hint",
|
|
1199
1205
|
id: "input-hint-" + c.id
|
|
1200
|
-
}, Y(c.hint), 9,
|
|
1201
|
-
b("div",
|
|
1202
|
-
n.prefix ? (S(),
|
|
1206
|
+
}, Y(c.hint), 9, Oo)) : U("", !0),
|
|
1207
|
+
b("div", Do, [
|
|
1208
|
+
n.prefix ? (S(), M("div", ko, [
|
|
1203
1209
|
b("span", null, [
|
|
1204
1210
|
q(c.$slots, "prefix")
|
|
1205
1211
|
])
|
|
@@ -1213,47 +1219,47 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1213
1219
|
placeholder: c.placeholder,
|
|
1214
1220
|
required: c.required,
|
|
1215
1221
|
maxlength: c.max
|
|
1216
|
-
}, null, 8,
|
|
1222
|
+
}, null, 8, Lo), [
|
|
1217
1223
|
[bs, i.value]
|
|
1218
1224
|
]),
|
|
1219
|
-
s.value && a.value.length !== 0 ? (S(),
|
|
1220
|
-
(S(!0),
|
|
1225
|
+
s.value && a.value.length !== 0 ? (S(), M("ul", No, [
|
|
1226
|
+
(S(!0), M(De, null, Fe(a.value, (d) => (S(), M("li", {
|
|
1221
1227
|
class: "autocomplete-result",
|
|
1222
1228
|
key: d,
|
|
1223
1229
|
onClick: (f) => o(d)
|
|
1224
|
-
}, Y(d), 9,
|
|
1230
|
+
}, Y(d), 9, Po))), 128))
|
|
1225
1231
|
])) : U("", !0),
|
|
1226
|
-
c.suffixIcon ? (S(),
|
|
1232
|
+
c.suffixIcon ? (S(), M("button", {
|
|
1227
1233
|
key: 2,
|
|
1228
1234
|
class: "m-input__suffix",
|
|
1229
1235
|
onClick: l
|
|
1230
1236
|
}, [
|
|
1231
|
-
(S(),
|
|
1237
|
+
(S(), M("svg", Fo, [
|
|
1232
1238
|
b("use", {
|
|
1233
1239
|
"xlink:href": "#icon-" + c.suffixIcon
|
|
1234
|
-
}, null, 8,
|
|
1240
|
+
}, null, 8, $o)
|
|
1235
1241
|
])),
|
|
1236
1242
|
u[1] || (u[1] = b("span", { class: "visually-hidden" }, "Suchen", -1))
|
|
1237
1243
|
])) : U("", !0)
|
|
1238
1244
|
]),
|
|
1239
|
-
c.errorMsg ? (S(),
|
|
1245
|
+
c.errorMsg ? (S(), oe(Pt, {
|
|
1240
1246
|
key: 2,
|
|
1241
1247
|
id: "text-input-error",
|
|
1242
1248
|
tabindex: "0",
|
|
1243
1249
|
role: "alert",
|
|
1244
1250
|
"aria-live": "polite"
|
|
1245
1251
|
}, {
|
|
1246
|
-
default:
|
|
1252
|
+
default: ie(() => [
|
|
1247
1253
|
fe(Y(c.errorMsg), 1)
|
|
1248
1254
|
]),
|
|
1249
1255
|
_: 1
|
|
1250
1256
|
})) : U("", !0)
|
|
1251
1257
|
], 2));
|
|
1252
1258
|
}
|
|
1253
|
-
}), pr = Symbol("mucRadioGroup"),
|
|
1259
|
+
}), pr = Symbol("mucRadioGroup"), Ro = {
|
|
1254
1260
|
key: 0,
|
|
1255
1261
|
class: "m-radios__item"
|
|
1256
|
-
},
|
|
1262
|
+
}, Vo = ["id", "aria-describedby", "checked", "disabled"], Bo = ["for"], Ho = ["id"], Yo = /* @__PURE__ */ W({
|
|
1257
1263
|
__name: "MucRadioButton",
|
|
1258
1264
|
props: {
|
|
1259
1265
|
id: {},
|
|
@@ -1264,7 +1270,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1264
1270
|
},
|
|
1265
1271
|
setup(t) {
|
|
1266
1272
|
const e = Gt(pr), i = () => e == null ? void 0 : e.set(t.value), n = N(() => (e == null ? void 0 : e.modelValue.value) === t.value), r = N(() => t.disabled || (e == null ? void 0 : e.disabled.value)), s = N(() => (e == null ? void 0 : e.disabled) ?? !1);
|
|
1267
|
-
return (a, o) => s.value ? (S(),
|
|
1273
|
+
return (a, o) => s.value ? (S(), M("div", Ro, [
|
|
1268
1274
|
b("input", {
|
|
1269
1275
|
id: "radio-" + a.id,
|
|
1270
1276
|
class: "m-radios__input",
|
|
@@ -1273,7 +1279,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1273
1279
|
checked: n.value,
|
|
1274
1280
|
disabled: r.value,
|
|
1275
1281
|
onClick: Lt(i, ["stop"])
|
|
1276
|
-
}, null, 8,
|
|
1282
|
+
}, null, 8, Vo),
|
|
1277
1283
|
b("label", {
|
|
1278
1284
|
class: "m-label m-radios__label",
|
|
1279
1285
|
for: "radio-" + a.id,
|
|
@@ -1283,20 +1289,20 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1283
1289
|
b("span", {
|
|
1284
1290
|
id: "radio-hint-" + a.id,
|
|
1285
1291
|
class: "m-hint"
|
|
1286
|
-
}, Y(a.hint), 9,
|
|
1287
|
-
], 8,
|
|
1292
|
+
}, Y(a.hint), 9, Ho)
|
|
1293
|
+
], 8, Bo)
|
|
1288
1294
|
])) : U("", !0);
|
|
1289
1295
|
}
|
|
1290
|
-
}),
|
|
1296
|
+
}), Ko = { class: "m-form-group" }, jo = { class: "m-radio-group" }, Go = { class: "m-radio-group__legend" }, Wo = { class: "m-radio-group__heading" }, Uo = { class: "m-radios" }, zo = /* @__PURE__ */ W({
|
|
1291
1297
|
__name: "MucRadioButtonGroup",
|
|
1292
|
-
props: /* @__PURE__ */
|
|
1298
|
+
props: /* @__PURE__ */ $e({
|
|
1293
1299
|
heading: {},
|
|
1294
1300
|
disabled: { type: Boolean, default: !1 }
|
|
1295
1301
|
}, {
|
|
1296
1302
|
modelValue: { type: [Boolean, String, Array, Object, Number, null] },
|
|
1297
1303
|
modelModifiers: {}
|
|
1298
1304
|
}),
|
|
1299
|
-
emits: /* @__PURE__ */
|
|
1305
|
+
emits: /* @__PURE__ */ $e(["change"], ["update:modelValue"]),
|
|
1300
1306
|
setup(t, { emit: e }) {
|
|
1301
1307
|
const i = dt(t, "modelValue"), n = e;
|
|
1302
1308
|
return en(pr, {
|
|
@@ -1304,20 +1310,20 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1304
1310
|
n("change", r), i.value = r;
|
|
1305
1311
|
},
|
|
1306
1312
|
modelValue: i,
|
|
1307
|
-
disabled:
|
|
1308
|
-
}), (r, s) => (S(),
|
|
1309
|
-
b("fieldset",
|
|
1310
|
-
b("legend",
|
|
1311
|
-
b("h3",
|
|
1313
|
+
disabled: xi(Ri(() => t.disabled))
|
|
1314
|
+
}), (r, s) => (S(), M("div", Ko, [
|
|
1315
|
+
b("fieldset", jo, [
|
|
1316
|
+
b("legend", Go, [
|
|
1317
|
+
b("h3", Wo, Y(r.heading), 1)
|
|
1312
1318
|
]),
|
|
1313
|
-
b("div",
|
|
1319
|
+
b("div", Uo, [
|
|
1314
1320
|
q(r.$slots, "default")
|
|
1315
1321
|
])
|
|
1316
1322
|
])
|
|
1317
1323
|
]));
|
|
1318
1324
|
}
|
|
1319
1325
|
});
|
|
1320
|
-
/*! choices.js v11.0
|
|
1326
|
+
/*! choices.js v11.1.0 | © 2025 Josh Johnson | https://github.com/jshjohnson/Choices#readme */
|
|
1321
1327
|
var Bi = function(t, e) {
|
|
1322
1328
|
return Bi = Object.setPrototypeOf || {
|
|
1323
1329
|
__proto__: []
|
|
@@ -1344,7 +1350,7 @@ var Ee = function() {
|
|
|
1344
1350
|
return e;
|
|
1345
1351
|
}, Ee.apply(this, arguments);
|
|
1346
1352
|
};
|
|
1347
|
-
function
|
|
1353
|
+
function qo(t, e, i) {
|
|
1348
1354
|
for (var n = 0, r = e.length, s; n < r; n++)
|
|
1349
1355
|
(s || !(n in e)) && (s || (s = Array.prototype.slice.call(e, 0, n)), s[n] = e[n]);
|
|
1350
1356
|
return t.concat(s || Array.prototype.slice.call(e));
|
|
@@ -1382,7 +1388,7 @@ var se = {
|
|
|
1382
1388
|
DOWN_KEY: 40,
|
|
1383
1389
|
PAGE_UP_KEY: 33,
|
|
1384
1390
|
PAGE_DOWN_KEY: 34
|
|
1385
|
-
},
|
|
1391
|
+
}, Xo = ["fuseOptions", "classNames"], qe = {
|
|
1386
1392
|
Text: "text",
|
|
1387
1393
|
SelectOne: "select-one",
|
|
1388
1394
|
SelectMultiple: "select-multiple"
|
|
@@ -1391,22 +1397,22 @@ var se = {
|
|
|
1391
1397
|
type: se.ADD_CHOICE,
|
|
1392
1398
|
choice: t
|
|
1393
1399
|
};
|
|
1394
|
-
},
|
|
1400
|
+
}, Jo = function(t) {
|
|
1395
1401
|
return {
|
|
1396
1402
|
type: se.REMOVE_CHOICE,
|
|
1397
1403
|
choice: t
|
|
1398
1404
|
};
|
|
1399
|
-
},
|
|
1405
|
+
}, Zo = function(t) {
|
|
1400
1406
|
return {
|
|
1401
1407
|
type: se.FILTER_CHOICES,
|
|
1402
1408
|
results: t
|
|
1403
1409
|
};
|
|
1404
|
-
},
|
|
1410
|
+
}, Qo = function(t) {
|
|
1405
1411
|
return {
|
|
1406
1412
|
type: se.ACTIVATE_CHOICES,
|
|
1407
1413
|
active: t
|
|
1408
1414
|
};
|
|
1409
|
-
},
|
|
1415
|
+
}, el = function(t) {
|
|
1410
1416
|
return {
|
|
1411
1417
|
type: se.ADD_GROUP,
|
|
1412
1418
|
group: t
|
|
@@ -1427,16 +1433,16 @@ var se = {
|
|
|
1427
1433
|
item: t,
|
|
1428
1434
|
highlighted: e
|
|
1429
1435
|
};
|
|
1430
|
-
},
|
|
1436
|
+
}, tl = function(t, e) {
|
|
1431
1437
|
return Math.floor(Math.random() * (e - t) + t);
|
|
1432
1438
|
}, kn = function(t) {
|
|
1433
1439
|
return Array.from({ length: t }, function() {
|
|
1434
|
-
return
|
|
1440
|
+
return tl(0, 36).toString(36);
|
|
1435
1441
|
}).join("");
|
|
1436
|
-
},
|
|
1442
|
+
}, il = function(t, e) {
|
|
1437
1443
|
var i = t.id || t.name && "".concat(t.name, "-").concat(kn(2)) || kn(4);
|
|
1438
1444
|
return i = i.replace(/(:|\.|\[|\]|,)/g, ""), i = "".concat(e, "-").concat(i), i;
|
|
1439
|
-
},
|
|
1445
|
+
}, nl = function(t, e, i) {
|
|
1440
1446
|
i === void 0 && (i = 1);
|
|
1441
1447
|
for (var n = "".concat(i > 0 ? "next" : "previous", "ElementSibling"), r = t[n]; r; ) {
|
|
1442
1448
|
if (r.matches(e))
|
|
@@ -1444,7 +1450,7 @@ var se = {
|
|
|
1444
1450
|
r = r[n];
|
|
1445
1451
|
}
|
|
1446
1452
|
return null;
|
|
1447
|
-
},
|
|
1453
|
+
}, rl = function(t, e, i) {
|
|
1448
1454
|
i === void 0 && (i = 1);
|
|
1449
1455
|
var n;
|
|
1450
1456
|
return i > 0 ? n = e.scrollTop + e.offsetHeight >= t.offsetTop + t.offsetHeight : n = t.offsetTop >= e.scrollTop, n;
|
|
@@ -1461,7 +1467,7 @@ var se = {
|
|
|
1461
1467
|
return t;
|
|
1462
1468
|
}
|
|
1463
1469
|
return t.replace(/&/g, "&").replace(/>/g, ">").replace(/</g, "<").replace(/'/g, "'").replace(/"/g, """);
|
|
1464
|
-
},
|
|
1470
|
+
}, sl = function() {
|
|
1465
1471
|
var t = document.createElement("div");
|
|
1466
1472
|
return function(e) {
|
|
1467
1473
|
t.innerHTML = e.trim();
|
|
@@ -1497,16 +1503,16 @@ var se = {
|
|
|
1497
1503
|
return t ? _r(e) : pi(e);
|
|
1498
1504
|
}, Be = function(t, e, i) {
|
|
1499
1505
|
t.innerHTML = nn(e, i);
|
|
1500
|
-
},
|
|
1506
|
+
}, al = function(t, e) {
|
|
1501
1507
|
var i = t.value, n = t.label, r = n === void 0 ? i : n, s = e.value, a = e.label, o = a === void 0 ? s : a;
|
|
1502
1508
|
return ot(r).localeCompare(ot(o), [], {
|
|
1503
1509
|
sensitivity: "base",
|
|
1504
1510
|
ignorePunctuation: !0,
|
|
1505
1511
|
numeric: !0
|
|
1506
1512
|
});
|
|
1507
|
-
},
|
|
1513
|
+
}, ol = function(t, e) {
|
|
1508
1514
|
return t.rank - e.rank;
|
|
1509
|
-
},
|
|
1515
|
+
}, ll = function(t, e, i) {
|
|
1510
1516
|
i === void 0 && (i = null);
|
|
1511
1517
|
var n = new CustomEvent(e, {
|
|
1512
1518
|
detail: i,
|
|
@@ -1514,7 +1520,7 @@ var se = {
|
|
|
1514
1520
|
cancelable: !0
|
|
1515
1521
|
});
|
|
1516
1522
|
return t.dispatchEvent(n);
|
|
1517
|
-
},
|
|
1523
|
+
}, cl = function(t, e) {
|
|
1518
1524
|
var i = Object.keys(t).sort(), n = Object.keys(e).sort();
|
|
1519
1525
|
return i.filter(function(r) {
|
|
1520
1526
|
return n.indexOf(r) < 0;
|
|
@@ -1531,7 +1537,7 @@ var se = {
|
|
|
1531
1537
|
}, Ne = function(t, e) {
|
|
1532
1538
|
var i;
|
|
1533
1539
|
(i = t.classList).remove.apply(i, gi(e));
|
|
1534
|
-
},
|
|
1540
|
+
}, ul = function(t) {
|
|
1535
1541
|
if (typeof t < "u")
|
|
1536
1542
|
try {
|
|
1537
1543
|
return JSON.parse(t);
|
|
@@ -1539,10 +1545,10 @@ var se = {
|
|
|
1539
1545
|
return t;
|
|
1540
1546
|
}
|
|
1541
1547
|
return {};
|
|
1542
|
-
},
|
|
1548
|
+
}, dl = function(t, e, i) {
|
|
1543
1549
|
var n = t.itemEl;
|
|
1544
1550
|
n && (Ne(n, i), j(n, e));
|
|
1545
|
-
},
|
|
1551
|
+
}, hl = (
|
|
1546
1552
|
/** @class */
|
|
1547
1553
|
function() {
|
|
1548
1554
|
function t(e) {
|
|
@@ -1593,7 +1599,7 @@ var se = {
|
|
|
1593
1599
|
Ne(this.element, this.classNames.loadingState), this.element.removeAttribute("aria-busy"), this.isLoading = !1;
|
|
1594
1600
|
}, t;
|
|
1595
1601
|
}()
|
|
1596
|
-
),
|
|
1602
|
+
), fl = (
|
|
1597
1603
|
/** @class */
|
|
1598
1604
|
function() {
|
|
1599
1605
|
function t(e) {
|
|
@@ -1656,7 +1662,7 @@ var se = {
|
|
|
1656
1662
|
this.isFocussed = !1;
|
|
1657
1663
|
}, t;
|
|
1658
1664
|
}()
|
|
1659
|
-
),
|
|
1665
|
+
), vl = 4, Pn = (
|
|
1660
1666
|
/** @class */
|
|
1661
1667
|
function() {
|
|
1662
1668
|
function t(e) {
|
|
@@ -1683,7 +1689,7 @@ var se = {
|
|
|
1683
1689
|
var r = (e - n) / i, s = r > 1 ? r : 1;
|
|
1684
1690
|
this.element.scrollTop = e - s;
|
|
1685
1691
|
}, t.prototype._animateScroll = function(e, i) {
|
|
1686
|
-
var n = this, r =
|
|
1692
|
+
var n = this, r = vl, s = this.element.scrollTop, a = !1;
|
|
1687
1693
|
i > 0 ? (this._scrollDown(s, r, e), s < e && (a = !0)) : (this._scrollUp(s, r, e), s > e && (a = !0)), a && requestAnimationFrame(function() {
|
|
1688
1694
|
n._animateScroll(e, i);
|
|
1689
1695
|
});
|
|
@@ -1732,10 +1738,10 @@ var se = {
|
|
|
1732
1738
|
}, t.prototype.disable = function() {
|
|
1733
1739
|
this.element.setAttribute("disabled", ""), this.element.disabled = !0, this.isDisabled = !0;
|
|
1734
1740
|
}, t.prototype.triggerEvent = function(e, i) {
|
|
1735
|
-
|
|
1741
|
+
ll(this.element, e, i || {});
|
|
1736
1742
|
}, t;
|
|
1737
1743
|
}()
|
|
1738
|
-
),
|
|
1744
|
+
), ml = (
|
|
1739
1745
|
/** @class */
|
|
1740
1746
|
function(t) {
|
|
1741
1747
|
gr(e, t);
|
|
@@ -1797,15 +1803,15 @@ var se = {
|
|
|
1797
1803
|
customProperties: u.customProperties
|
|
1798
1804
|
};
|
|
1799
1805
|
return d;
|
|
1800
|
-
},
|
|
1806
|
+
}, pl = function(t) {
|
|
1801
1807
|
return t.tagName === "INPUT";
|
|
1802
1808
|
}, Er = function(t) {
|
|
1803
1809
|
return t.tagName === "SELECT";
|
|
1804
|
-
}, pl = function(t) {
|
|
1805
|
-
return t.tagName === "OPTION";
|
|
1806
1810
|
}, gl = function(t) {
|
|
1811
|
+
return t.tagName === "OPTION";
|
|
1812
|
+
}, _l = function(t) {
|
|
1807
1813
|
return t.tagName === "OPTGROUP";
|
|
1808
|
-
},
|
|
1814
|
+
}, yl = (
|
|
1809
1815
|
/** @class */
|
|
1810
1816
|
function(t) {
|
|
1811
1817
|
gr(e, t);
|
|
@@ -1832,7 +1838,7 @@ var se = {
|
|
|
1832
1838
|
}, e.prototype.optionsAsChoices = function() {
|
|
1833
1839
|
var i = this, n = [];
|
|
1834
1840
|
return this.element.querySelectorAll(":scope > option, :scope > optgroup").forEach(function(r) {
|
|
1835
|
-
|
|
1841
|
+
gl(r) ? n.push(i._optionToChoice(r)) : _l(r) && n.push(i._optgroupToChoice(r));
|
|
1836
1842
|
}), n;
|
|
1837
1843
|
}, e.prototype._optionToChoice = function(i) {
|
|
1838
1844
|
return !i.hasAttribute("value") && i.hasAttribute("placeholder") && (i.setAttribute("value", ""), i.value = ""), {
|
|
@@ -1841,8 +1847,9 @@ var se = {
|
|
|
1841
1847
|
score: 0,
|
|
1842
1848
|
rank: 0,
|
|
1843
1849
|
value: i.value,
|
|
1844
|
-
|
|
1845
|
-
//
|
|
1850
|
+
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
|
|
1851
|
+
// This attribute is text for the label indicating the meaning of the option. If the `label` attribute isn't defined, its value is that of the element text content (ie `innerText`).
|
|
1852
|
+
label: i.label,
|
|
1846
1853
|
element: i,
|
|
1847
1854
|
active: !0,
|
|
1848
1855
|
// this returns true if nothing is selected on initial load, which will break placeholder support
|
|
@@ -1852,7 +1859,7 @@ var se = {
|
|
|
1852
1859
|
placeholder: this.extractPlaceholder && (!i.value || i.hasAttribute("placeholder")),
|
|
1853
1860
|
labelClass: typeof i.dataset.labelClass < "u" ? br(i.dataset.labelClass) : void 0,
|
|
1854
1861
|
labelDescription: typeof i.dataset.labelDescription < "u" ? i.dataset.labelDescription : void 0,
|
|
1855
|
-
customProperties:
|
|
1862
|
+
customProperties: ul(i.dataset.customProperties)
|
|
1856
1863
|
};
|
|
1857
1864
|
}, e.prototype._optgroupToChoice = function(i) {
|
|
1858
1865
|
var n = this, r = i.querySelectorAll("option"), s = Array.from(r).map(function(a) {
|
|
@@ -1868,7 +1875,7 @@ var se = {
|
|
|
1868
1875
|
};
|
|
1869
1876
|
}, e;
|
|
1870
1877
|
}(yr)
|
|
1871
|
-
),
|
|
1878
|
+
), bl = {
|
|
1872
1879
|
containerOuter: ["choices"],
|
|
1873
1880
|
containerInner: ["choices__inner"],
|
|
1874
1881
|
input: ["choices__input"],
|
|
@@ -1929,7 +1936,7 @@ var se = {
|
|
|
1929
1936
|
resetScrollPosition: !0,
|
|
1930
1937
|
shouldSort: !0,
|
|
1931
1938
|
shouldSortItems: !1,
|
|
1932
|
-
sorter:
|
|
1939
|
+
sorter: al,
|
|
1933
1940
|
shadowRoot: null,
|
|
1934
1941
|
placeholder: !0,
|
|
1935
1942
|
placeholderValue: null,
|
|
@@ -1964,13 +1971,13 @@ var se = {
|
|
|
1964
1971
|
labelId: "",
|
|
1965
1972
|
callbackOnInit: null,
|
|
1966
1973
|
callbackOnCreateTemplates: null,
|
|
1967
|
-
classNames:
|
|
1974
|
+
classNames: bl,
|
|
1968
1975
|
appendGroupInSearch: !1
|
|
1969
|
-
},
|
|
1976
|
+
}, $n = function(t) {
|
|
1970
1977
|
var e = t.itemEl;
|
|
1971
1978
|
e && (e.remove(), t.itemEl = void 0);
|
|
1972
1979
|
};
|
|
1973
|
-
function
|
|
1980
|
+
function El(t, e, i) {
|
|
1974
1981
|
var n = t, r = !0;
|
|
1975
1982
|
switch (e.type) {
|
|
1976
1983
|
case se.ADD_ITEM: {
|
|
@@ -1987,13 +1994,13 @@ function bl(t, e, i) {
|
|
|
1987
1994
|
var a = s.parentElement;
|
|
1988
1995
|
a && Er(a) && a.type === qe.SelectOne && (a.value = "");
|
|
1989
1996
|
}
|
|
1990
|
-
|
|
1997
|
+
$n(e.item), n = n.filter(function(u) {
|
|
1991
1998
|
return u.id !== e.item.id;
|
|
1992
1999
|
});
|
|
1993
2000
|
break;
|
|
1994
2001
|
}
|
|
1995
2002
|
case se.REMOVE_CHOICE: {
|
|
1996
|
-
|
|
2003
|
+
$n(e.choice), n = n.filter(function(c) {
|
|
1997
2004
|
return c.id !== e.choice.id;
|
|
1998
2005
|
});
|
|
1999
2006
|
break;
|
|
@@ -2002,7 +2009,7 @@ function bl(t, e, i) {
|
|
|
2002
2009
|
var o = e.highlighted, l = n.find(function(c) {
|
|
2003
2010
|
return c.id === e.item.id;
|
|
2004
2011
|
});
|
|
2005
|
-
l && l.highlighted !== o && (l.highlighted = o, i &&
|
|
2012
|
+
l && l.highlighted !== o && (l.highlighted = o, i && dl(l, o ? i.classNames.highlightedState : i.classNames.selectedState, o ? i.classNames.selectedState : i.classNames.highlightedState));
|
|
2006
2013
|
break;
|
|
2007
2014
|
}
|
|
2008
2015
|
default: {
|
|
@@ -2012,7 +2019,7 @@ function bl(t, e, i) {
|
|
|
2012
2019
|
}
|
|
2013
2020
|
return { state: n, update: r };
|
|
2014
2021
|
}
|
|
2015
|
-
function
|
|
2022
|
+
function Sl(t, e) {
|
|
2016
2023
|
var i = t, n = !0;
|
|
2017
2024
|
switch (e.type) {
|
|
2018
2025
|
case se.ADD_GROUP: {
|
|
@@ -2030,7 +2037,7 @@ function El(t, e) {
|
|
|
2030
2037
|
}
|
|
2031
2038
|
return { state: i, update: n };
|
|
2032
2039
|
}
|
|
2033
|
-
function
|
|
2040
|
+
function Cl(t, e, i) {
|
|
2034
2041
|
var n = t, r = !0;
|
|
2035
2042
|
switch (e.type) {
|
|
2036
2043
|
case se.ADD_CHOICE: {
|
|
@@ -2077,11 +2084,11 @@ function Sl(t, e, i) {
|
|
|
2077
2084
|
}
|
|
2078
2085
|
return { state: n, update: r };
|
|
2079
2086
|
}
|
|
2080
|
-
var
|
|
2081
|
-
groups:
|
|
2082
|
-
items:
|
|
2083
|
-
choices:
|
|
2084
|
-
},
|
|
2087
|
+
var xn = {
|
|
2088
|
+
groups: Sl,
|
|
2089
|
+
items: El,
|
|
2090
|
+
choices: Cl
|
|
2091
|
+
}, Al = (
|
|
2085
2092
|
/** @class */
|
|
2086
2093
|
function() {
|
|
2087
2094
|
function t(e) {
|
|
@@ -2114,8 +2121,8 @@ var $n = {
|
|
|
2114
2121
|
return this._listeners.push(e), this;
|
|
2115
2122
|
}, t.prototype.dispatch = function(e) {
|
|
2116
2123
|
var i = this, n = this._state, r = !1, s = this._changeSet || this.changeSet(!1);
|
|
2117
|
-
Object.keys(
|
|
2118
|
-
var o =
|
|
2124
|
+
Object.keys(xn).forEach(function(a) {
|
|
2125
|
+
var o = xn[a](n[a], e, i._context);
|
|
2119
2126
|
o.update && (r = !0, s[a] = !0, n[a] = o.state);
|
|
2120
2127
|
}), r && (this._txn ? this._changeSet = s : this._listeners.forEach(function(a) {
|
|
2121
2128
|
return a(s);
|
|
@@ -2234,8 +2241,8 @@ var $n = {
|
|
|
2234
2241
|
addChoice: "add-choice",
|
|
2235
2242
|
generic: ""
|
|
2236
2243
|
};
|
|
2237
|
-
function
|
|
2238
|
-
return (e =
|
|
2244
|
+
function wl(t, e, i) {
|
|
2245
|
+
return (e = Ml(e)) in t ? Object.defineProperty(t, e, {
|
|
2239
2246
|
value: i,
|
|
2240
2247
|
enumerable: !0,
|
|
2241
2248
|
configurable: !0,
|
|
@@ -2256,14 +2263,14 @@ function mt(t) {
|
|
|
2256
2263
|
for (var e = 1; e < arguments.length; e++) {
|
|
2257
2264
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
2258
2265
|
e % 2 ? Rn(Object(i), !0).forEach(function(n) {
|
|
2259
|
-
|
|
2266
|
+
wl(t, n, i[n]);
|
|
2260
2267
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Rn(Object(i)).forEach(function(n) {
|
|
2261
2268
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(i, n));
|
|
2262
2269
|
});
|
|
2263
2270
|
}
|
|
2264
2271
|
return t;
|
|
2265
2272
|
}
|
|
2266
|
-
function
|
|
2273
|
+
function Il(t, e) {
|
|
2267
2274
|
if (typeof t != "object" || !t) return t;
|
|
2268
2275
|
var i = t[Symbol.toPrimitive];
|
|
2269
2276
|
if (i !== void 0) {
|
|
@@ -2273,21 +2280,21 @@ function wl(t, e) {
|
|
|
2273
2280
|
}
|
|
2274
2281
|
return (e === "string" ? String : Number)(t);
|
|
2275
2282
|
}
|
|
2276
|
-
function
|
|
2277
|
-
var e =
|
|
2283
|
+
function Ml(t) {
|
|
2284
|
+
var e = Il(t, "string");
|
|
2278
2285
|
return typeof e == "symbol" ? e : e + "";
|
|
2279
2286
|
}
|
|
2280
2287
|
function Ge(t) {
|
|
2281
2288
|
return Array.isArray ? Array.isArray(t) : Ar(t) === "[object Array]";
|
|
2282
2289
|
}
|
|
2283
|
-
function
|
|
2290
|
+
function Tl(t) {
|
|
2284
2291
|
if (typeof t == "string")
|
|
2285
2292
|
return t;
|
|
2286
2293
|
let e = t + "";
|
|
2287
2294
|
return e == "0" && 1 / t == -1 / 0 ? "-0" : e;
|
|
2288
2295
|
}
|
|
2289
|
-
function
|
|
2290
|
-
return t == null ? "" :
|
|
2296
|
+
function Ol(t) {
|
|
2297
|
+
return t == null ? "" : Tl(t);
|
|
2291
2298
|
}
|
|
2292
2299
|
function Pe(t) {
|
|
2293
2300
|
return typeof t == "string";
|
|
@@ -2295,13 +2302,13 @@ function Pe(t) {
|
|
|
2295
2302
|
function Sr(t) {
|
|
2296
2303
|
return typeof t == "number";
|
|
2297
2304
|
}
|
|
2298
|
-
function
|
|
2299
|
-
return t === !0 || t === !1 ||
|
|
2305
|
+
function Dl(t) {
|
|
2306
|
+
return t === !0 || t === !1 || kl(t) && Ar(t) == "[object Boolean]";
|
|
2300
2307
|
}
|
|
2301
2308
|
function Cr(t) {
|
|
2302
2309
|
return typeof t == "object";
|
|
2303
2310
|
}
|
|
2304
|
-
function
|
|
2311
|
+
function kl(t) {
|
|
2305
2312
|
return Cr(t) && t !== null;
|
|
2306
2313
|
}
|
|
2307
2314
|
function Ce(t) {
|
|
@@ -2313,7 +2320,7 @@ function Di(t) {
|
|
|
2313
2320
|
function Ar(t) {
|
|
2314
2321
|
return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
|
|
2315
2322
|
}
|
|
2316
|
-
const
|
|
2323
|
+
const Ll = "Incorrect 'index' type", Nl = (t) => `Invalid value for key ${t}`, Pl = (t) => `Pattern length exceeds max of ${t}.`, Fl = (t) => `Missing ${t} property in key`, $l = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Vn = Object.prototype.hasOwnProperty;
|
|
2317
2324
|
class xl {
|
|
2318
2325
|
constructor(e) {
|
|
2319
2326
|
this._keys = [], this._keyMap = {};
|
|
@@ -2341,10 +2348,10 @@ function wr(t) {
|
|
|
2341
2348
|
n = t, e = Bn(t), i = Hi(t);
|
|
2342
2349
|
else {
|
|
2343
2350
|
if (!Vn.call(t, "name"))
|
|
2344
|
-
throw new Error(
|
|
2351
|
+
throw new Error(Fl("name"));
|
|
2345
2352
|
const a = t.name;
|
|
2346
2353
|
if (n = a, Vn.call(t, "weight") && (r = t.weight, r <= 0))
|
|
2347
|
-
throw new Error(
|
|
2354
|
+
throw new Error($l(a));
|
|
2348
2355
|
e = Bn(a), i = Hi(a), s = t.getFn;
|
|
2349
2356
|
}
|
|
2350
2357
|
return {
|
|
@@ -2361,7 +2368,7 @@ function Bn(t) {
|
|
|
2361
2368
|
function Hi(t) {
|
|
2362
2369
|
return Ge(t) ? t.join(".") : t;
|
|
2363
2370
|
}
|
|
2364
|
-
function
|
|
2371
|
+
function Rl(t, e) {
|
|
2365
2372
|
let i = [], n = !1;
|
|
2366
2373
|
const r = (s, a, o) => {
|
|
2367
2374
|
if (Ce(s))
|
|
@@ -2372,8 +2379,8 @@ function $l(t, e) {
|
|
|
2372
2379
|
const c = s[l];
|
|
2373
2380
|
if (!Ce(c))
|
|
2374
2381
|
return;
|
|
2375
|
-
if (o === a.length - 1 && (Pe(c) || Sr(c) ||
|
|
2376
|
-
i.push(
|
|
2382
|
+
if (o === a.length - 1 && (Pe(c) || Sr(c) || Dl(c)))
|
|
2383
|
+
i.push(Ol(c));
|
|
2377
2384
|
else if (Ge(c)) {
|
|
2378
2385
|
n = !0;
|
|
2379
2386
|
for (let u = 0, d = c.length; u < d; u += 1)
|
|
@@ -2383,7 +2390,7 @@ function $l(t, e) {
|
|
|
2383
2390
|
};
|
|
2384
2391
|
return r(t, Pe(e) ? e.split(".") : e, 0), n ? i : i[0];
|
|
2385
2392
|
}
|
|
2386
|
-
const
|
|
2393
|
+
const Vl = {
|
|
2387
2394
|
// Whether the matches should be included in the result set. When `true`, each record in the result
|
|
2388
2395
|
// set will include the indices of the matched characters.
|
|
2389
2396
|
// These can consequently be used for highlighting purposes.
|
|
@@ -2393,7 +2400,7 @@ const Rl = {
|
|
|
2393
2400
|
findAllMatches: !1,
|
|
2394
2401
|
// Minimum number of characters that must be matched before a result is considered a match
|
|
2395
2402
|
minMatchCharLength: 1
|
|
2396
|
-
},
|
|
2403
|
+
}, Bl = {
|
|
2397
2404
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
2398
2405
|
// match is found before the end of the same input.
|
|
2399
2406
|
isCaseSensitive: !1,
|
|
@@ -2405,7 +2412,7 @@ const Rl = {
|
|
|
2405
2412
|
shouldSort: !0,
|
|
2406
2413
|
// Default sort function: sort by ascending score, ascending index
|
|
2407
2414
|
sortFn: (t, e) => t.score === e.score ? t.idx < e.idx ? -1 : 1 : t.score < e.score ? -1 : 1
|
|
2408
|
-
},
|
|
2415
|
+
}, Hl = {
|
|
2409
2416
|
// Approximately where in the text is the pattern expected to be found?
|
|
2410
2417
|
location: 0,
|
|
2411
2418
|
// At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
|
|
@@ -2417,12 +2424,12 @@ const Rl = {
|
|
|
2417
2424
|
// the exact location specified, a threshold of '1000' would require a perfect match
|
|
2418
2425
|
// to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
|
|
2419
2426
|
distance: 100
|
|
2420
|
-
},
|
|
2427
|
+
}, Yl = {
|
|
2421
2428
|
// When `true`, it enables the use of unix-like search commands
|
|
2422
2429
|
useExtendedSearch: !1,
|
|
2423
2430
|
// The get function to use when fetching an object's properties.
|
|
2424
2431
|
// The default will search nested paths *ie foo.bar.baz*
|
|
2425
|
-
getFn:
|
|
2432
|
+
getFn: Rl,
|
|
2426
2433
|
// When `true`, search will ignore `location` and `distance`, so it won't matter
|
|
2427
2434
|
// where in the string the pattern appears.
|
|
2428
2435
|
// More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
|
|
@@ -2434,13 +2441,13 @@ const Rl = {
|
|
|
2434
2441
|
// The weight to determine how much field length norm effects scoring.
|
|
2435
2442
|
fieldNormWeight: 1
|
|
2436
2443
|
};
|
|
2437
|
-
var B = mt(mt(mt(mt({},
|
|
2438
|
-
const
|
|
2439
|
-
function
|
|
2444
|
+
var B = mt(mt(mt(mt({}, Bl), Vl), Hl), Yl);
|
|
2445
|
+
const Kl = /[^ ]+/g;
|
|
2446
|
+
function jl(t = 1, e = 3) {
|
|
2440
2447
|
const i = /* @__PURE__ */ new Map(), n = Math.pow(10, e);
|
|
2441
2448
|
return {
|
|
2442
2449
|
get(r) {
|
|
2443
|
-
const s = r.match(
|
|
2450
|
+
const s = r.match(Kl).length;
|
|
2444
2451
|
if (i.has(s))
|
|
2445
2452
|
return i.get(s);
|
|
2446
2453
|
const a = 1 / Math.pow(s, 0.5 * t), o = parseFloat(Math.round(a * n) / n);
|
|
@@ -2456,7 +2463,7 @@ class rn {
|
|
|
2456
2463
|
getFn: e = B.getFn,
|
|
2457
2464
|
fieldNormWeight: i = B.fieldNormWeight
|
|
2458
2465
|
} = {}) {
|
|
2459
|
-
this.norm =
|
|
2466
|
+
this.norm = jl(i, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
|
|
2460
2467
|
}
|
|
2461
2468
|
setSources(e = []) {
|
|
2462
2469
|
this.docs = e;
|
|
@@ -2565,7 +2572,7 @@ function Ir(t, e, {
|
|
|
2565
2572
|
});
|
|
2566
2573
|
return r.setKeys(t.map(wr)), r.setSources(e), r.create(), r;
|
|
2567
2574
|
}
|
|
2568
|
-
function
|
|
2575
|
+
function Gl(t, {
|
|
2569
2576
|
getFn: e = B.getFn,
|
|
2570
2577
|
fieldNormWeight: i = B.fieldNormWeight
|
|
2571
2578
|
} = {}) {
|
|
@@ -2591,7 +2598,7 @@ function ii(t, {
|
|
|
2591
2598
|
const o = Math.abs(n - i);
|
|
2592
2599
|
return r ? a + o / r : o ? 1 : a;
|
|
2593
2600
|
}
|
|
2594
|
-
function
|
|
2601
|
+
function Wl(t = [], e = B.minMatchCharLength) {
|
|
2595
2602
|
let i = [], n = -1, r = -1, s = 0;
|
|
2596
2603
|
for (let a = t.length; s < a; s += 1) {
|
|
2597
2604
|
let o = t[s];
|
|
@@ -2600,7 +2607,7 @@ function Gl(t = [], e = B.minMatchCharLength) {
|
|
|
2600
2607
|
return t[s - 1] && s - n >= e && i.push([n, s - 1]), i;
|
|
2601
2608
|
}
|
|
2602
2609
|
const at = 32;
|
|
2603
|
-
function
|
|
2610
|
+
function Ul(t, e, i, {
|
|
2604
2611
|
location: n = B.location,
|
|
2605
2612
|
distance: r = B.distance,
|
|
2606
2613
|
threshold: s = B.threshold,
|
|
@@ -2610,7 +2617,7 @@ function Wl(t, e, i, {
|
|
|
2610
2617
|
ignoreLocation: c = B.ignoreLocation
|
|
2611
2618
|
} = {}) {
|
|
2612
2619
|
if (e.length > at)
|
|
2613
|
-
throw new Error(
|
|
2620
|
+
throw new Error(Pl(at));
|
|
2614
2621
|
const u = e.length, d = t.length, f = Math.max(0, Math.min(n, d));
|
|
2615
2622
|
let m = s, h = f;
|
|
2616
2623
|
const v = o > 1 || l, y = v ? Array(d) : [];
|
|
@@ -2642,11 +2649,11 @@ function Wl(t, e, i, {
|
|
|
2642
2649
|
ignoreLocation: c
|
|
2643
2650
|
}) <= m ? O = V : P = V, V = Math.floor((P - O) / 2 + O);
|
|
2644
2651
|
P = V;
|
|
2645
|
-
let
|
|
2646
|
-
|
|
2647
|
-
for (let F = w; F >=
|
|
2652
|
+
let x = Math.max(1, f - V + 1), w = a ? d : Math.min(f + V, d) + u, T = Array(w + 2);
|
|
2653
|
+
T[w + 1] = (1 << E) - 1;
|
|
2654
|
+
for (let F = w; F >= x; F -= 1) {
|
|
2648
2655
|
let H = F - 1, Q = i[t.charAt(H)];
|
|
2649
|
-
if (v && (y[H] = +!!Q),
|
|
2656
|
+
if (v && (y[H] = +!!Q), T[F] = (T[F + 1] << 1 | 1) & Q, E && (T[F] |= (g[F + 1] | g[F]) << 1 | 1 | g[F + 1]), T[F] & L && (_ = ii(e, {
|
|
2650
2657
|
errors: E,
|
|
2651
2658
|
currentLocation: H,
|
|
2652
2659
|
expectedLocation: f,
|
|
@@ -2655,7 +2662,7 @@ function Wl(t, e, i, {
|
|
|
2655
2662
|
}), _ <= m)) {
|
|
2656
2663
|
if (m = _, h = H, h <= f)
|
|
2657
2664
|
break;
|
|
2658
|
-
|
|
2665
|
+
x = Math.max(1, 2 * f - h);
|
|
2659
2666
|
}
|
|
2660
2667
|
}
|
|
2661
2668
|
if (ii(e, {
|
|
@@ -2666,7 +2673,7 @@ function Wl(t, e, i, {
|
|
|
2666
2673
|
ignoreLocation: c
|
|
2667
2674
|
}) > m)
|
|
2668
2675
|
break;
|
|
2669
|
-
g =
|
|
2676
|
+
g = T;
|
|
2670
2677
|
}
|
|
2671
2678
|
const C = {
|
|
2672
2679
|
isMatch: h >= 0,
|
|
@@ -2674,12 +2681,12 @@ function Wl(t, e, i, {
|
|
|
2674
2681
|
score: Math.max(1e-3, _)
|
|
2675
2682
|
};
|
|
2676
2683
|
if (v) {
|
|
2677
|
-
const E =
|
|
2684
|
+
const E = Wl(y, o);
|
|
2678
2685
|
E.length ? l && (C.indices = E) : C.isMatch = !1;
|
|
2679
2686
|
}
|
|
2680
2687
|
return C;
|
|
2681
2688
|
}
|
|
2682
|
-
function
|
|
2689
|
+
function zl(t) {
|
|
2683
2690
|
let e = {};
|
|
2684
2691
|
for (let i = 0, n = t.length; i < n; i += 1) {
|
|
2685
2692
|
const r = t.charAt(i);
|
|
@@ -2712,7 +2719,7 @@ class Mr {
|
|
|
2712
2719
|
const u = (f, m) => {
|
|
2713
2720
|
this.chunks.push({
|
|
2714
2721
|
pattern: f,
|
|
2715
|
-
alphabet:
|
|
2722
|
+
alphabet: zl(f),
|
|
2716
2723
|
startIndex: m
|
|
2717
2724
|
});
|
|
2718
2725
|
}, d = this.pattern.length;
|
|
@@ -2758,7 +2765,7 @@ class Mr {
|
|
|
2758
2765
|
isMatch: p,
|
|
2759
2766
|
score: g,
|
|
2760
2767
|
indices: _
|
|
2761
|
-
} =
|
|
2768
|
+
} = Ul(e, h, v, {
|
|
2762
2769
|
location: r + y,
|
|
2763
2770
|
distance: s,
|
|
2764
2771
|
threshold: a,
|
|
@@ -2793,7 +2800,7 @@ function Hn(t, e) {
|
|
|
2793
2800
|
const i = t.match(e);
|
|
2794
2801
|
return i ? i[1] : null;
|
|
2795
2802
|
}
|
|
2796
|
-
class
|
|
2803
|
+
class ql extends et {
|
|
2797
2804
|
constructor(e) {
|
|
2798
2805
|
super(e);
|
|
2799
2806
|
}
|
|
@@ -2815,7 +2822,7 @@ class zl extends et {
|
|
|
2815
2822
|
};
|
|
2816
2823
|
}
|
|
2817
2824
|
}
|
|
2818
|
-
class
|
|
2825
|
+
class Xl extends et {
|
|
2819
2826
|
constructor(e) {
|
|
2820
2827
|
super(e);
|
|
2821
2828
|
}
|
|
@@ -2837,7 +2844,7 @@ class ql extends et {
|
|
|
2837
2844
|
};
|
|
2838
2845
|
}
|
|
2839
2846
|
}
|
|
2840
|
-
class
|
|
2847
|
+
class Jl extends et {
|
|
2841
2848
|
constructor(e) {
|
|
2842
2849
|
super(e);
|
|
2843
2850
|
}
|
|
@@ -2859,7 +2866,7 @@ class Xl extends et {
|
|
|
2859
2866
|
};
|
|
2860
2867
|
}
|
|
2861
2868
|
}
|
|
2862
|
-
class
|
|
2869
|
+
class Zl extends et {
|
|
2863
2870
|
constructor(e) {
|
|
2864
2871
|
super(e);
|
|
2865
2872
|
}
|
|
@@ -2881,7 +2888,7 @@ class Jl extends et {
|
|
|
2881
2888
|
};
|
|
2882
2889
|
}
|
|
2883
2890
|
}
|
|
2884
|
-
class
|
|
2891
|
+
class Ql extends et {
|
|
2885
2892
|
constructor(e) {
|
|
2886
2893
|
super(e);
|
|
2887
2894
|
}
|
|
@@ -2903,7 +2910,7 @@ class Zl extends et {
|
|
|
2903
2910
|
};
|
|
2904
2911
|
}
|
|
2905
2912
|
}
|
|
2906
|
-
class
|
|
2913
|
+
class ec extends et {
|
|
2907
2914
|
constructor(e) {
|
|
2908
2915
|
super(e);
|
|
2909
2916
|
}
|
|
@@ -2986,10 +2993,10 @@ class Or extends et {
|
|
|
2986
2993
|
};
|
|
2987
2994
|
}
|
|
2988
2995
|
}
|
|
2989
|
-
const Yi = [
|
|
2990
|
-
function
|
|
2991
|
-
return t.split(
|
|
2992
|
-
let n = i.trim().split(
|
|
2996
|
+
const Yi = [ql, Or, Jl, Zl, ec, Ql, Xl, Tr], Yn = Yi.length, tc = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, ic = "|";
|
|
2997
|
+
function nc(t, e = {}) {
|
|
2998
|
+
return t.split(ic).map((i) => {
|
|
2999
|
+
let n = i.trim().split(tc).filter((s) => s && !!s.trim()), r = [];
|
|
2993
3000
|
for (let s = 0, a = n.length; s < a; s += 1) {
|
|
2994
3001
|
const o = n[s];
|
|
2995
3002
|
let l = !1, c = -1;
|
|
@@ -3011,8 +3018,8 @@ function ic(t, e = {}) {
|
|
|
3011
3018
|
return r;
|
|
3012
3019
|
});
|
|
3013
3020
|
}
|
|
3014
|
-
const
|
|
3015
|
-
class
|
|
3021
|
+
const rc = /* @__PURE__ */ new Set([Tr.type, Or.type]);
|
|
3022
|
+
class sc {
|
|
3016
3023
|
constructor(e, {
|
|
3017
3024
|
isCaseSensitive: i = B.isCaseSensitive,
|
|
3018
3025
|
includeMatches: n = B.includeMatches,
|
|
@@ -3032,7 +3039,7 @@ class rc {
|
|
|
3032
3039
|
location: o,
|
|
3033
3040
|
threshold: l,
|
|
3034
3041
|
distance: c
|
|
3035
|
-
}, this.pattern = i ? e : e.toLowerCase(), this.query =
|
|
3042
|
+
}, this.pattern = i ? e : e.toLowerCase(), this.query = nc(this.pattern, this.options);
|
|
3036
3043
|
}
|
|
3037
3044
|
static condition(e, i) {
|
|
3038
3045
|
return i.useExtendedSearch;
|
|
@@ -3062,7 +3069,7 @@ class rc {
|
|
|
3062
3069
|
if (h) {
|
|
3063
3070
|
if (s += 1, o += y, n) {
|
|
3064
3071
|
const p = m.constructor.type;
|
|
3065
|
-
|
|
3072
|
+
rc.has(p) ? a = [...a, ...v] : a.push(v);
|
|
3066
3073
|
}
|
|
3067
3074
|
} else {
|
|
3068
3075
|
o = 0, s = 0, a.length = 0;
|
|
@@ -3084,7 +3091,7 @@ class rc {
|
|
|
3084
3091
|
}
|
|
3085
3092
|
}
|
|
3086
3093
|
const Ki = [];
|
|
3087
|
-
function
|
|
3094
|
+
function ac(...t) {
|
|
3088
3095
|
Ki.push(...t);
|
|
3089
3096
|
}
|
|
3090
3097
|
function ji(t, e) {
|
|
@@ -3101,7 +3108,7 @@ const ci = {
|
|
|
3101
3108
|
}, Gi = {
|
|
3102
3109
|
PATH: "$path",
|
|
3103
3110
|
PATTERN: "$val"
|
|
3104
|
-
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]),
|
|
3111
|
+
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]), oc = (t) => !!t[Gi.PATH], lc = (t) => !Ge(t) && Cr(t) && !Wi(t), Kn = (t) => ({
|
|
3105
3112
|
[ci.AND]: Object.keys(t).map((e) => ({
|
|
3106
3113
|
[e]: t[e]
|
|
3107
3114
|
}))
|
|
@@ -3111,13 +3118,13 @@ function Dr(t, e, {
|
|
|
3111
3118
|
} = {}) {
|
|
3112
3119
|
const n = (r) => {
|
|
3113
3120
|
let s = Object.keys(r);
|
|
3114
|
-
const a =
|
|
3121
|
+
const a = oc(r);
|
|
3115
3122
|
if (!a && s.length > 1 && !Wi(r))
|
|
3116
3123
|
return n(Kn(r));
|
|
3117
|
-
if (
|
|
3124
|
+
if (lc(r)) {
|
|
3118
3125
|
const l = a ? r[Gi.PATH] : s[0], c = a ? r[Gi.PATTERN] : r[l];
|
|
3119
3126
|
if (!Pe(c))
|
|
3120
|
-
throw new Error(
|
|
3127
|
+
throw new Error(Nl(l));
|
|
3121
3128
|
const u = {
|
|
3122
3129
|
keyId: Hi(l),
|
|
3123
3130
|
pattern: c
|
|
@@ -3137,7 +3144,7 @@ function Dr(t, e, {
|
|
|
3137
3144
|
};
|
|
3138
3145
|
return Wi(t) || (t = Kn(t)), n(t);
|
|
3139
3146
|
}
|
|
3140
|
-
function
|
|
3147
|
+
function cc(t, {
|
|
3141
3148
|
ignoreFieldNorm: e = B.ignoreFieldNorm
|
|
3142
3149
|
}) {
|
|
3143
3150
|
t.forEach((i) => {
|
|
@@ -3152,7 +3159,7 @@ function lc(t, {
|
|
|
3152
3159
|
}), i.score = n;
|
|
3153
3160
|
});
|
|
3154
3161
|
}
|
|
3155
|
-
function
|
|
3162
|
+
function uc(t, e) {
|
|
3156
3163
|
const i = t.matches;
|
|
3157
3164
|
e.matches = [], Ce(i) && i.forEach((n) => {
|
|
3158
3165
|
if (!Ce(n.indices) || !n.indices.length)
|
|
@@ -3168,15 +3175,15 @@ function cc(t, e) {
|
|
|
3168
3175
|
n.key && (a.key = n.key.src), n.idx > -1 && (a.refIndex = n.idx), e.matches.push(a);
|
|
3169
3176
|
});
|
|
3170
3177
|
}
|
|
3171
|
-
function
|
|
3178
|
+
function dc(t, e) {
|
|
3172
3179
|
e.score = t.score;
|
|
3173
3180
|
}
|
|
3174
|
-
function
|
|
3181
|
+
function hc(t, e, {
|
|
3175
3182
|
includeMatches: i = B.includeMatches,
|
|
3176
3183
|
includeScore: n = B.includeScore
|
|
3177
3184
|
} = {}) {
|
|
3178
3185
|
const r = [];
|
|
3179
|
-
return i && r.push(
|
|
3186
|
+
return i && r.push(uc), n && r.push(dc), t.map((s) => {
|
|
3180
3187
|
const {
|
|
3181
3188
|
idx: a
|
|
3182
3189
|
} = s, o = {
|
|
@@ -3194,7 +3201,7 @@ class Ct {
|
|
|
3194
3201
|
}
|
|
3195
3202
|
setCollection(e, i) {
|
|
3196
3203
|
if (this._docs = e, i && !(i instanceof rn))
|
|
3197
|
-
throw new Error(
|
|
3204
|
+
throw new Error(Ll);
|
|
3198
3205
|
this._myIndex = i || Ir(this.options.keys, this._docs, {
|
|
3199
3206
|
getFn: this.options.getFn,
|
|
3200
3207
|
fieldNormWeight: this.options.fieldNormWeight
|
|
@@ -3228,9 +3235,9 @@ class Ct {
|
|
|
3228
3235
|
ignoreFieldNorm: o
|
|
3229
3236
|
} = this.options;
|
|
3230
3237
|
let l = Pe(e) ? Pe(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
|
|
3231
|
-
return
|
|
3238
|
+
return cc(l, {
|
|
3232
3239
|
ignoreFieldNorm: o
|
|
3233
|
-
}), s && l.sort(a), Sr(i) && i > -1 && (l = l.slice(0, i)),
|
|
3240
|
+
}), s && l.sort(a), Sr(i) && i > -1 && (l = l.slice(0, i)), hc(l, this._docs, {
|
|
3234
3241
|
includeMatches: n,
|
|
3235
3242
|
includeScore: r
|
|
3236
3243
|
});
|
|
@@ -3385,15 +3392,15 @@ class Ct {
|
|
|
3385
3392
|
}
|
|
3386
3393
|
Ct.version = "7.0.0";
|
|
3387
3394
|
Ct.createIndex = Ir;
|
|
3388
|
-
Ct.parseIndex =
|
|
3395
|
+
Ct.parseIndex = Gl;
|
|
3389
3396
|
Ct.config = B;
|
|
3390
3397
|
Ct.parseQuery = Dr;
|
|
3391
|
-
sc
|
|
3392
|
-
var
|
|
3398
|
+
ac(sc);
|
|
3399
|
+
var fc = (
|
|
3393
3400
|
/** @class */
|
|
3394
3401
|
function() {
|
|
3395
3402
|
function t(e) {
|
|
3396
|
-
this._haystack = [], this._fuseOptions = Ee(Ee({}, e.fuseOptions), { keys:
|
|
3403
|
+
this._haystack = [], this._fuseOptions = Ee(Ee({}, e.fuseOptions), { keys: qo([], e.searchFields), includeMatches: !0 });
|
|
3397
3404
|
}
|
|
3398
3405
|
return t.prototype.index = function(e) {
|
|
3399
3406
|
this._haystack = e, this._fuse && this._fuse.setCollection(e);
|
|
@@ -3415,21 +3422,21 @@ var hc = (
|
|
|
3415
3422
|
}, t;
|
|
3416
3423
|
}()
|
|
3417
3424
|
);
|
|
3418
|
-
function
|
|
3419
|
-
return new
|
|
3425
|
+
function vc(t) {
|
|
3426
|
+
return new fc(t);
|
|
3420
3427
|
}
|
|
3421
|
-
var
|
|
3428
|
+
var mc = function(t) {
|
|
3422
3429
|
for (var e in t)
|
|
3423
3430
|
if (Object.prototype.hasOwnProperty.call(t, e))
|
|
3424
3431
|
return !1;
|
|
3425
3432
|
return !0;
|
|
3426
3433
|
}, ki = function(t, e, i) {
|
|
3427
3434
|
var n = t.dataset, r = e.customProperties, s = e.labelClass, a = e.labelDescription;
|
|
3428
|
-
s && (n.labelClass = gi(s).join(" ")), a && (n.labelDescription = a), i && r && (typeof r == "string" ? n.customProperties = r : typeof r == "object" && !
|
|
3435
|
+
s && (n.labelClass = gi(s).join(" ")), a && (n.labelDescription = a), i && r && (typeof r == "string" ? n.customProperties = r : typeof r == "object" && !mc(r) && (n.customProperties = JSON.stringify(r)));
|
|
3429
3436
|
}, jn = function(t, e, i) {
|
|
3430
3437
|
var n = e && t.querySelector("label[for='".concat(e, "']")), r = n && n.innerText;
|
|
3431
3438
|
r && i.setAttribute("aria-label", r);
|
|
3432
|
-
},
|
|
3439
|
+
}, pc = {
|
|
3433
3440
|
containerOuter: function(t, e, i, n, r, s, a) {
|
|
3434
3441
|
var o = t.classNames.containerOuter, l = document.createElement("div");
|
|
3435
3442
|
return j(l, o), l.dataset.type = s, e && (l.dir = e), n && (l.tabIndex = 0), i && (l.setAttribute("role", r ? "combobox" : "listbox"), r ? l.setAttribute("aria-autocomplete", "list") : a || jn(this._docRoot, this.passedElement.element.id, l), l.setAttribute("aria-haspopup", "true"), l.setAttribute("aria-expanded", "false")), a && l.setAttribute("aria-labelledby", a), l;
|
|
@@ -3491,7 +3498,7 @@ var vc = function(t) {
|
|
|
3491
3498
|
},
|
|
3492
3499
|
input: function(t, e) {
|
|
3493
3500
|
var i = t.classNames, n = i.input, r = i.inputCloned, s = t.labelId, a = document.createElement("input");
|
|
3494
|
-
return a.type = "search", j(a, n), j(a, r), a.autocomplete = "off", a.autocapitalize = "off", a.spellcheck = !1, a.setAttribute("
|
|
3501
|
+
return a.type = "search", j(a, n), j(a, r), a.autocomplete = "off", a.autocapitalize = "off", a.spellcheck = !1, a.setAttribute("aria-autocomplete", "list"), e ? a.setAttribute("aria-label", e) : s || jn(this._docRoot, this.passedElement.element.id, a), a;
|
|
3495
3502
|
},
|
|
3496
3503
|
dropdown: function(t) {
|
|
3497
3504
|
var e = t.classNames, i = e.list, n = e.listDropdown, r = document.createElement("div");
|
|
@@ -3518,10 +3525,10 @@ var vc = function(t) {
|
|
|
3518
3525
|
var e = ot(t.label), i = new Option(e, t.value, !1, t.selected);
|
|
3519
3526
|
return ki(i, t, !0), i.disabled = t.disabled, t.selected && i.setAttribute("selected", ""), i;
|
|
3520
3527
|
}
|
|
3521
|
-
},
|
|
3528
|
+
}, gc = "-ms-scroll-limit" in document.documentElement.style && "-ms-ime-align" in document.documentElement.style, _c = {}, Li = function(t) {
|
|
3522
3529
|
if (t)
|
|
3523
3530
|
return t.dataset.id ? parseInt(t.dataset.id, 10) : void 0;
|
|
3524
|
-
}, Ot = "[data-choice-selectable]",
|
|
3531
|
+
}, Ot = "[data-choice-selectable]", yc = (
|
|
3525
3532
|
/** @class */
|
|
3526
3533
|
function() {
|
|
3527
3534
|
function t(e, i) {
|
|
@@ -3529,7 +3536,7 @@ var vc = function(t) {
|
|
|
3529
3536
|
var n = this;
|
|
3530
3537
|
this.initialisedOK = void 0, this._hasNonChoicePlaceholder = !1, this._lastAddedChoiceId = 0, this._lastAddedGroupId = 0;
|
|
3531
3538
|
var r = t.defaults;
|
|
3532
|
-
this.config = Ee(Ee(Ee({}, r.allOptions), r.options), i),
|
|
3539
|
+
this.config = Ee(Ee(Ee({}, r.allOptions), r.options), i), Xo.forEach(function(p) {
|
|
3533
3540
|
n.config[p] = Ee(Ee(Ee({}, r.allOptions[p]), r.options[p]), i[p]);
|
|
3534
3541
|
});
|
|
3535
3542
|
var s = this.config;
|
|
@@ -3537,7 +3544,7 @@ var vc = function(t) {
|
|
|
3537
3544
|
var a = s.shadowRoot || document.documentElement;
|
|
3538
3545
|
this._docRoot = a;
|
|
3539
3546
|
var o = typeof e == "string" ? a.querySelector(e) : e;
|
|
3540
|
-
if (!o || typeof o != "object" || !(
|
|
3547
|
+
if (!o || typeof o != "object" || !(pl(o) || Er(o)))
|
|
3541
3548
|
throw TypeError(!o && typeof e == "string" ? "Selector ".concat(e, " failed to find an element") : "Expected one of the following types text|select-one|select-multiple");
|
|
3542
3549
|
var l = o.type, c = l === qe.Text;
|
|
3543
3550
|
(c || s.maxItemCount !== 1) && (s.singleModeForMultiSelect = !1), s.singleModeForMultiSelect && (l = qe.SelectMultiple);
|
|
@@ -3547,13 +3554,13 @@ var vc = function(t) {
|
|
|
3547
3554
|
s.addItemFilter = m.test.bind(m);
|
|
3548
3555
|
}
|
|
3549
3556
|
if (this._isTextElement)
|
|
3550
|
-
this.passedElement = new
|
|
3557
|
+
this.passedElement = new ml({
|
|
3551
3558
|
element: o,
|
|
3552
3559
|
classNames: s.classNames
|
|
3553
3560
|
});
|
|
3554
3561
|
else {
|
|
3555
3562
|
var h = o;
|
|
3556
|
-
this.passedElement = new
|
|
3563
|
+
this.passedElement = new yl({
|
|
3557
3564
|
element: h,
|
|
3558
3565
|
classNames: s.classNames,
|
|
3559
3566
|
template: function(p) {
|
|
@@ -3562,7 +3569,7 @@ var vc = function(t) {
|
|
|
3562
3569
|
extractPlaceholder: s.placeholder && !this._hasNonChoicePlaceholder
|
|
3563
3570
|
});
|
|
3564
3571
|
}
|
|
3565
|
-
if (this.initialised = !1, this._store = new
|
|
3572
|
+
if (this.initialised = !1, this._store = new Al(s), this._currentValue = "", s.searchEnabled = !c && s.searchEnabled || d, this._canSearch = s.searchEnabled, this._isScrollingOnIe = !1, this._highlightPosition = 0, this._wasTap = !0, this._placeholderValue = this._generatePlaceholderValue(), this._baseId = il(o, "choices-"), this._direction = o.dir, !this._direction) {
|
|
3566
3573
|
var v = window.getComputedStyle(o).direction, y = window.getComputedStyle(document.documentElement).direction;
|
|
3567
3574
|
v !== y && (this._direction = v);
|
|
3568
3575
|
}
|
|
@@ -3580,13 +3587,13 @@ var vc = function(t) {
|
|
|
3580
3587
|
get: function() {
|
|
3581
3588
|
return Object.preventExtensions({
|
|
3582
3589
|
get options() {
|
|
3583
|
-
return
|
|
3590
|
+
return _c;
|
|
3584
3591
|
},
|
|
3585
3592
|
get allOptions() {
|
|
3586
3593
|
return Fn;
|
|
3587
3594
|
},
|
|
3588
3595
|
get templates() {
|
|
3589
|
-
return
|
|
3596
|
+
return pc;
|
|
3590
3597
|
}
|
|
3591
3598
|
});
|
|
3592
3599
|
},
|
|
@@ -3594,7 +3601,7 @@ var vc = function(t) {
|
|
|
3594
3601
|
configurable: !0
|
|
3595
3602
|
}), t.prototype.init = function() {
|
|
3596
3603
|
if (!(this.initialised || this.initialisedOK !== void 0)) {
|
|
3597
|
-
this._searcher =
|
|
3604
|
+
this._searcher = vc(this.config), this._loadChoices(), this._createTemplates(), this._createElements(), this._createStructure(), this._isTextElement && !this.config.addItems || this.passedElement.element.hasAttribute("disabled") || this.passedElement.element.closest("fieldset:disabled") ? this.disable() : (this.enable(), this._addEventListeners()), this._initStore(), this.initialised = !0, this.initialisedOK = !0;
|
|
3598
3605
|
var e = this.config.callbackOnInit;
|
|
3599
3606
|
typeof e == "function" && e.call(this);
|
|
3600
3607
|
}
|
|
@@ -3759,7 +3766,7 @@ var vc = function(t) {
|
|
|
3759
3766
|
var i = this._store.choices.find(function(n) {
|
|
3760
3767
|
return n.value === e;
|
|
3761
3768
|
});
|
|
3762
|
-
return i ? (this._clearNotice(), this._store.dispatch(
|
|
3769
|
+
return i ? (this._clearNotice(), this._store.dispatch(Jo(i)), this._searcher.reset(), i.selected && this.passedElement.triggerEvent(be.removeItem, this._getChoiceForOutput(i)), this) : this;
|
|
3763
3770
|
}, t.prototype.clearChoices = function(e, i) {
|
|
3764
3771
|
var n = this;
|
|
3765
3772
|
return e === void 0 && (e = !0), i === void 0 && (i = !1), e && (i ? this.passedElement.element.replaceChildren("") : this.passedElement.element.querySelectorAll(":not([selected])").forEach(function(r) {
|
|
@@ -3776,7 +3783,7 @@ var vc = function(t) {
|
|
|
3776
3783
|
var e = !this._isSelectOneElement;
|
|
3777
3784
|
return this.input.clear(e), this._stopSearch(), this;
|
|
3778
3785
|
}, t.prototype._validateConfig = function() {
|
|
3779
|
-
var e = this.config, i =
|
|
3786
|
+
var e = this.config, i = cl(e, Fn);
|
|
3780
3787
|
i.length && console.warn("Unknown config option(s) passed", i.join(", ")), e.allowHTML && e.allowHtmlUserInput && (e.addItems && console.warn("Warning: allowHTML/allowHtmlUserInput/addItems all being true is strongly not recommended and may lead to XSS attacks"), e.addChoices && console.warn("Warning: allowHTML/allowHtmlUserInput/addChoices all being true is strongly not recommended and may lead to XSS attacks"));
|
|
3781
3788
|
}, t.prototype._render = function(e) {
|
|
3782
3789
|
e === void 0 && (e = { choices: !0, groups: !0, items: !0 }), !this._store.inTxn() && (this._isSelectElement && (e.choices || e.groups) && this._renderChoices(), e.items && this._renderItems());
|
|
@@ -3795,7 +3802,7 @@ var vc = function(t) {
|
|
|
3795
3802
|
return !v.placeholder && (r ? !!v.rank : n.renderSelectedChoices || !v.selected);
|
|
3796
3803
|
});
|
|
3797
3804
|
}, f = !1, m = function(h, v, y) {
|
|
3798
|
-
r ? h.sort(
|
|
3805
|
+
r ? h.sort(ol) : n.shouldSort && h.sort(n.sorter);
|
|
3799
3806
|
var p = h.length;
|
|
3800
3807
|
p = !v && l && p > l ? l : p, p--, h.every(function(g, _) {
|
|
3801
3808
|
var P = g.choiceEl || e._templates.choice(n, g, n.itemSelectText, y);
|
|
@@ -3999,9 +4006,9 @@ var vc = function(t) {
|
|
|
3999
4006
|
var r = n.search(i);
|
|
4000
4007
|
this._currentValue = i, this._highlightPosition = 0, this._isSearching = !0;
|
|
4001
4008
|
var s = this._notice, a = s && s.type;
|
|
4002
|
-
return a !== he.addChoice && (r.length ? this._clearNotice() : this._displayNotice(Ln(this.config.noResultsText), he.noResults)), this._store.dispatch(
|
|
4009
|
+
return a !== he.addChoice && (r.length ? this._clearNotice() : this._displayNotice(Ln(this.config.noResultsText), he.noResults)), this._store.dispatch(Zo(r)), r.length;
|
|
4003
4010
|
}, t.prototype._stopSearch = function() {
|
|
4004
|
-
this._isSearching && (this._currentValue = "", this._isSearching = !1, this._clearNotice(), this._store.dispatch(
|
|
4011
|
+
this._isSearching && (this._currentValue = "", this._isSearching = !1, this._clearNotice(), this._store.dispatch(Qo(!0)), this.passedElement.triggerEvent(be.search, {
|
|
4005
4012
|
value: "",
|
|
4006
4013
|
resultCount: 0
|
|
4007
4014
|
}));
|
|
@@ -4101,9 +4108,9 @@ var vc = function(t) {
|
|
|
4101
4108
|
r > 0 ? a = this.dropdown.element.querySelector("".concat(Ot, ":last-of-type")) : a = this.dropdown.element.querySelector(Ot);
|
|
4102
4109
|
else {
|
|
4103
4110
|
var o = this.dropdown.element.querySelector(Tt(this.config.classNames.highlightedState));
|
|
4104
|
-
o ? a =
|
|
4111
|
+
o ? a = nl(o, Ot, r) : a = this.dropdown.element.querySelector(Ot);
|
|
4105
4112
|
}
|
|
4106
|
-
a && (
|
|
4113
|
+
a && (rl(a, this.choiceList.element, r) || this.choiceList.scrollToChildElement(a, r), this._highlightChoice(a)), e.preventDefault();
|
|
4107
4114
|
}
|
|
4108
4115
|
}, t.prototype._onDeleteKey = function(e, i, n) {
|
|
4109
4116
|
!this._isSelectOneElement && !e.target.value && n && (this._handleBackspace(i), e.preventDefault());
|
|
@@ -4119,7 +4126,7 @@ var vc = function(t) {
|
|
|
4119
4126
|
}, t.prototype._onMouseDown = function(e) {
|
|
4120
4127
|
var i = e.target;
|
|
4121
4128
|
if (i instanceof HTMLElement) {
|
|
4122
|
-
if (
|
|
4129
|
+
if (gc && this.choiceList.element.contains(i)) {
|
|
4123
4130
|
var n = this.choiceList.element.firstElementChild;
|
|
4124
4131
|
this._isScrollingOnIe = this._direction === "ltr" ? e.offsetX >= n.offsetWidth : e.offsetX < n.offsetLeft;
|
|
4125
4132
|
}
|
|
@@ -4184,12 +4191,12 @@ var vc = function(t) {
|
|
|
4184
4191
|
var n = this;
|
|
4185
4192
|
if (i === void 0 && (i = !0), e.id)
|
|
4186
4193
|
throw new TypeError("Can not re-add a group which has already been added");
|
|
4187
|
-
this._store.dispatch(
|
|
4194
|
+
this._store.dispatch(el(e)), e.choices && (this._lastAddedGroupId++, e.id = this._lastAddedGroupId, e.choices.forEach(function(r) {
|
|
4188
4195
|
r.group = e, e.disabled && (r.disabled = !0), n._addChoice(r, i);
|
|
4189
4196
|
}));
|
|
4190
4197
|
}, t.prototype._createTemplates = function() {
|
|
4191
4198
|
var e = this, i = this.config.callbackOnCreateTemplates, n = {};
|
|
4192
|
-
typeof i == "function" && (n = i.call(this,
|
|
4199
|
+
typeof i == "function" && (n = i.call(this, sl, nn, gi));
|
|
4193
4200
|
var r = {};
|
|
4194
4201
|
Object.keys(this._templates).forEach(function(s) {
|
|
4195
4202
|
s in n ? r[s] = n[s].bind(e) : r[s] = e._templates[s].bind(e);
|
|
@@ -4206,7 +4213,7 @@ var vc = function(t) {
|
|
|
4206
4213
|
classNames: a,
|
|
4207
4214
|
type: o,
|
|
4208
4215
|
position: s
|
|
4209
|
-
}), this.input = new
|
|
4216
|
+
}), this.input = new fl({
|
|
4210
4217
|
element: e.input(n, this._placeholderValue),
|
|
4211
4218
|
classNames: a,
|
|
4212
4219
|
type: o,
|
|
@@ -4215,7 +4222,7 @@ var vc = function(t) {
|
|
|
4215
4222
|
element: e.choiceList(n, r)
|
|
4216
4223
|
}), this.itemList = new Pn({
|
|
4217
4224
|
element: e.itemList(n, r)
|
|
4218
|
-
}), this.dropdown = new
|
|
4225
|
+
}), this.dropdown = new hl({
|
|
4219
4226
|
element: e.dropdown(n),
|
|
4220
4227
|
classNames: a,
|
|
4221
4228
|
type: o
|
|
@@ -4265,15 +4272,15 @@ var vc = function(t) {
|
|
|
4265
4272
|
if (!this.initialisedOK)
|
|
4266
4273
|
throw new TypeError("".concat(e, " called for an element which has multiple instances of Choices initialised on it"));
|
|
4267
4274
|
} else throw new TypeError("".concat(e, " called on a non-initialised instance of Choices"));
|
|
4268
|
-
}, t.version = "11.0
|
|
4275
|
+
}, t.version = "11.1.0", t;
|
|
4269
4276
|
}()
|
|
4270
4277
|
);
|
|
4271
|
-
const
|
|
4278
|
+
const bc = {
|
|
4272
4279
|
class: "m-form-group",
|
|
4273
4280
|
ref: "selectComponent"
|
|
4274
|
-
},
|
|
4281
|
+
}, Ec = ["for"], Sc = ["id"], Cc = ["id", "aria-describedby", "multiple"], Ac = /* @__PURE__ */ W({
|
|
4275
4282
|
__name: "MucSelect",
|
|
4276
|
-
props: /* @__PURE__ */
|
|
4283
|
+
props: /* @__PURE__ */ $e({
|
|
4277
4284
|
id: {},
|
|
4278
4285
|
items: {},
|
|
4279
4286
|
label: {},
|
|
@@ -4312,7 +4319,7 @@ const yc = {
|
|
|
4312
4319
|
}
|
|
4313
4320
|
);
|
|
4314
4321
|
const a = () => {
|
|
4315
|
-
n.value = new
|
|
4322
|
+
n.value = new yc(i.value, {
|
|
4316
4323
|
allowHTML: !0,
|
|
4317
4324
|
itemSelectText: "",
|
|
4318
4325
|
noResultsText: t.noItemFoundMessage,
|
|
@@ -4399,19 +4406,19 @@ const yc = {
|
|
|
4399
4406
|
i.value && a();
|
|
4400
4407
|
}), hr(() => {
|
|
4401
4408
|
n.value && n.value.destroy();
|
|
4402
|
-
}), (d, f) => (S(),
|
|
4403
|
-
d.label ? (S(),
|
|
4409
|
+
}), (d, f) => (S(), M("div", bc, [
|
|
4410
|
+
d.label ? (S(), M("label", {
|
|
4404
4411
|
key: 0,
|
|
4405
4412
|
for: "select-" + d.id,
|
|
4406
4413
|
class: "m-label",
|
|
4407
4414
|
tabindex: "0"
|
|
4408
|
-
}, Y(d.label), 9,
|
|
4409
|
-
d.hint ? (S(),
|
|
4415
|
+
}, Y(d.label), 9, Ec)) : U("", !0),
|
|
4416
|
+
d.hint ? (S(), M("p", {
|
|
4410
4417
|
key: 1,
|
|
4411
4418
|
class: "m-hint",
|
|
4412
4419
|
id: "select-hint-" + d.id,
|
|
4413
4420
|
tabindex: "0"
|
|
4414
|
-
}, Y(d.hint), 9,
|
|
4421
|
+
}, Y(d.hint), 9, Sc)) : U("", !0),
|
|
4415
4422
|
b("div", {
|
|
4416
4423
|
ref_key: "selectComponentWrapper",
|
|
4417
4424
|
ref: e,
|
|
@@ -4424,13 +4431,13 @@ const yc = {
|
|
|
4424
4431
|
"aria-describedby": d.hint ? "select-hint-" + d.id : void 0,
|
|
4425
4432
|
class: "m-select",
|
|
4426
4433
|
multiple: d.multiple
|
|
4427
|
-
}, null, 8,
|
|
4434
|
+
}, null, 8, Cc)
|
|
4428
4435
|
], 512)
|
|
4429
4436
|
], 512));
|
|
4430
4437
|
}
|
|
4431
|
-
}),
|
|
4438
|
+
}), wc = ["for"], Ic = ["id"], Mc = { class: "m-input-wrapper" }, Tc = ["id", "aria-describedby", "rows", "placeholder"], Oc = /* @__PURE__ */ W({
|
|
4432
4439
|
__name: "MucTextArea",
|
|
4433
|
-
props: /* @__PURE__ */
|
|
4440
|
+
props: /* @__PURE__ */ $e({
|
|
4434
4441
|
id: {},
|
|
4435
4442
|
errorMsg: {},
|
|
4436
4443
|
rows: { default: 3 },
|
|
@@ -4445,20 +4452,20 @@ const yc = {
|
|
|
4445
4452
|
emits: ["update:modelValue"],
|
|
4446
4453
|
setup(t) {
|
|
4447
4454
|
const e = dt(t, "modelValue");
|
|
4448
|
-
return (i, n) => (S(),
|
|
4449
|
-
class:
|
|
4455
|
+
return (i, n) => (S(), M("div", {
|
|
4456
|
+
class: ce(["m-form-group", { "has-error": i.errorMsg }])
|
|
4450
4457
|
}, [
|
|
4451
|
-
i.label ? (S(),
|
|
4458
|
+
i.label ? (S(), M("label", {
|
|
4452
4459
|
key: 0,
|
|
4453
4460
|
for: "textarea-" + i.id,
|
|
4454
|
-
class:
|
|
4455
|
-
}, Y(i.label), 11,
|
|
4456
|
-
i.hint ? (S(),
|
|
4461
|
+
class: ce(["m-label", { "m-label--optional": !i.required }])
|
|
4462
|
+
}, Y(i.label), 11, wc)) : U("", !0),
|
|
4463
|
+
i.hint ? (S(), M("p", {
|
|
4457
4464
|
key: 1,
|
|
4458
4465
|
id: "textarea-hint-" + i.id,
|
|
4459
4466
|
class: "m-hint"
|
|
4460
|
-
}, Y(i.hint), 9,
|
|
4461
|
-
b("div",
|
|
4467
|
+
}, Y(i.hint), 9, Ic)) : U("", !0),
|
|
4468
|
+
b("div", Mc, [
|
|
4462
4469
|
dr(b("textarea", {
|
|
4463
4470
|
id: "textarea-" + i.id,
|
|
4464
4471
|
class: "m-textarea",
|
|
@@ -4466,30 +4473,30 @@ const yc = {
|
|
|
4466
4473
|
rows: i.rows,
|
|
4467
4474
|
placeholder: i.placeholder,
|
|
4468
4475
|
"onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
|
|
4469
|
-
}, null, 8,
|
|
4476
|
+
}, null, 8, Tc), [
|
|
4470
4477
|
[Es, e.value]
|
|
4471
4478
|
])
|
|
4472
4479
|
]),
|
|
4473
|
-
i.errorMsg ? (S(),
|
|
4480
|
+
i.errorMsg ? (S(), oe(Pt, {
|
|
4474
4481
|
key: 2,
|
|
4475
4482
|
tabindex: "0",
|
|
4476
4483
|
role: "alert",
|
|
4477
4484
|
"aria-live": "polite"
|
|
4478
4485
|
}, {
|
|
4479
|
-
default:
|
|
4486
|
+
default: ie(() => [
|
|
4480
4487
|
fe(Y(i.errorMsg), 1)
|
|
4481
4488
|
]),
|
|
4482
4489
|
_: 1
|
|
4483
4490
|
})) : U("", !0)
|
|
4484
4491
|
], 2));
|
|
4485
4492
|
}
|
|
4486
|
-
}),
|
|
4493
|
+
}), Dc = {
|
|
4487
4494
|
class: "m-intro m-intro-static-image",
|
|
4488
4495
|
style: { "background-color": "var(--color-neutrals-blue-xlight)" }
|
|
4489
|
-
},
|
|
4496
|
+
}, kc = { class: "container" }, Lc = { class: "muc-intro-content" }, Nc = {
|
|
4490
4497
|
key: 0,
|
|
4491
4498
|
class: "m-intro-vertical__tagline"
|
|
4492
|
-
},
|
|
4499
|
+
}, Pc = { class: "m-intro-vertical__title" }, Fc = { class: "m-intro-vertical__content" }, $c = { style: { "padding-bottom": "32px" } }, xc = /* @__PURE__ */ W({
|
|
4493
4500
|
__name: "MucIntro",
|
|
4494
4501
|
props: {
|
|
4495
4502
|
title: {},
|
|
@@ -4497,16 +4504,16 @@ const yc = {
|
|
|
4497
4504
|
divider: { type: Boolean }
|
|
4498
4505
|
},
|
|
4499
4506
|
setup(t) {
|
|
4500
|
-
return (e, i) => (S(),
|
|
4501
|
-
b("div",
|
|
4502
|
-
b("div",
|
|
4507
|
+
return (e, i) => (S(), M("div", Dc, [
|
|
4508
|
+
b("div", kc, [
|
|
4509
|
+
b("div", Lc, [
|
|
4503
4510
|
b("div", null, [
|
|
4504
|
-
e.tagline ? (S(),
|
|
4505
|
-
b("h1",
|
|
4511
|
+
e.tagline ? (S(), M("p", Nc, Y(e.tagline), 1)) : U("", !0),
|
|
4512
|
+
b("h1", Pc, Y(e.title), 1)
|
|
4506
4513
|
]),
|
|
4507
|
-
e.divider ? (S(),
|
|
4508
|
-
b("div",
|
|
4509
|
-
b("p",
|
|
4514
|
+
e.divider ? (S(), oe(X(tn), { key: 0 })) : U("", !0),
|
|
4515
|
+
b("div", Fc, [
|
|
4516
|
+
b("p", $c, [
|
|
4510
4517
|
q(e.$slots, "default", {}, void 0, !0)
|
|
4511
4518
|
])
|
|
4512
4519
|
])
|
|
@@ -4514,14 +4521,14 @@ const yc = {
|
|
|
4514
4521
|
])
|
|
4515
4522
|
]));
|
|
4516
4523
|
}
|
|
4517
|
-
}),
|
|
4524
|
+
}), Rc = /* @__PURE__ */ ue(xc, [["__scopeId", "data-v-d2f80b77"]]), Vc = ["width", "height"], Bc = {
|
|
4518
4525
|
x: "100",
|
|
4519
4526
|
y: "108",
|
|
4520
4527
|
"text-anchor": "middle",
|
|
4521
4528
|
fill: "#3a5368",
|
|
4522
4529
|
"font-size": "24",
|
|
4523
4530
|
"font-weight": "bold"
|
|
4524
|
-
},
|
|
4531
|
+
}, Hc = /* @__PURE__ */ W({
|
|
4525
4532
|
__name: "MucPercentageSpinner",
|
|
4526
4533
|
props: {
|
|
4527
4534
|
size: { default: "300" },
|
|
@@ -4529,7 +4536,7 @@ const yc = {
|
|
|
4529
4536
|
},
|
|
4530
4537
|
setup(t) {
|
|
4531
4538
|
const e = N(() => t.percentage || t.percentage === 0 ? t.percentage < 0 ? "0%" : t.percentage > 100 ? "100%" : Math.round(t.percentage) + "%" : "");
|
|
4532
|
-
return (i, n) => (S(),
|
|
4539
|
+
return (i, n) => (S(), M("svg", {
|
|
4533
4540
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4534
4541
|
width: i.size,
|
|
4535
4542
|
height: i.size,
|
|
@@ -4538,18 +4545,18 @@ const yc = {
|
|
|
4538
4545
|
color: "#005a9f"
|
|
4539
4546
|
}, [
|
|
4540
4547
|
n[0] || (n[0] = cr('<defs><linearGradient id="spinner-firstHalf"><stop offset="0%" stop-opacity="1" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient><linearGradient id="spinner-secondHalf"><stop offset="0%" stop-opacity="0" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient></defs><g stroke-width="12"><path stroke="url(#spinner-firstHalf)" d="M 4 100 A 96 96 0 0 1 196 100"></path><path stroke="url(#spinner-secondHalf)" d="M 196 100 A 96 96 0 0 1 4 100"></path><animateTransform from="90 100 100" to="450 100 100" attributeName="transform" type="rotate" repeatCount="indefinite" dur="2300ms"></animateTransform></g>', 2)),
|
|
4541
|
-
b("text",
|
|
4542
|
-
], 8,
|
|
4548
|
+
b("text", Bc, Y(e.value), 1)
|
|
4549
|
+
], 8, Vc));
|
|
4543
4550
|
}
|
|
4544
4551
|
});
|
|
4545
|
-
function
|
|
4552
|
+
function Yc(t, e) {
|
|
4546
4553
|
for (var i = 0; i < e.length; i++) {
|
|
4547
4554
|
var n = e[i];
|
|
4548
4555
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(t, n.key, n);
|
|
4549
4556
|
}
|
|
4550
4557
|
}
|
|
4551
|
-
function
|
|
4552
|
-
return e &&
|
|
4558
|
+
function Kc(t, e, i) {
|
|
4559
|
+
return e && Yc(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
|
|
4553
4560
|
}
|
|
4554
4561
|
/*!
|
|
4555
4562
|
* Splide.js
|
|
@@ -4557,9 +4564,9 @@ function Yc(t, e, i) {
|
|
|
4557
4564
|
* License : MIT
|
|
4558
4565
|
* Copyright: 2022 Naotoshi Fujita
|
|
4559
4566
|
*/
|
|
4560
|
-
var Gn = "(prefers-reduced-motion: reduce)", pt = 1,
|
|
4567
|
+
var Gn = "(prefers-reduced-motion: reduce)", pt = 1, jc = 2, bt = 3, At = 4, Wt = 5, ri = 6, ui = 7, Gc = {
|
|
4561
4568
|
CREATED: pt,
|
|
4562
|
-
MOUNTED:
|
|
4569
|
+
MOUNTED: jc,
|
|
4563
4570
|
IDLE: bt,
|
|
4564
4571
|
MOVING: At,
|
|
4565
4572
|
SCROLLING: Wt,
|
|
@@ -4614,7 +4621,7 @@ function Ye(t, e, i) {
|
|
|
4614
4621
|
n && t.classList[i ? "add" : "remove"](n);
|
|
4615
4622
|
});
|
|
4616
4623
|
}
|
|
4617
|
-
function
|
|
4624
|
+
function xe(t, e) {
|
|
4618
4625
|
Ye(t, Ze(e) ? e.split(" ") : e, !0);
|
|
4619
4626
|
}
|
|
4620
4627
|
function qt(t, e) {
|
|
@@ -4679,7 +4686,7 @@ function G(t, e, i) {
|
|
|
4679
4686
|
}
|
|
4680
4687
|
function gt(t, e, i) {
|
|
4681
4688
|
var n = document.createElement(t);
|
|
4682
|
-
return e && (Ze(e) ?
|
|
4689
|
+
return e && (Ze(e) ? xe(n, e) : G(n, e)), i && qt(i, n), n;
|
|
4683
4690
|
}
|
|
4684
4691
|
function Te(t, e, i) {
|
|
4685
4692
|
if (Ut(i))
|
|
@@ -4708,13 +4715,13 @@ function ct(t) {
|
|
|
4708
4715
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
4709
4716
|
});
|
|
4710
4717
|
}
|
|
4711
|
-
function
|
|
4718
|
+
function $r(t) {
|
|
4712
4719
|
return Xt(new DOMParser().parseFromString(t, "text/html").body);
|
|
4713
4720
|
}
|
|
4714
4721
|
function He(t, e) {
|
|
4715
4722
|
t.preventDefault(), e && (t.stopPropagation(), t.stopImmediatePropagation());
|
|
4716
4723
|
}
|
|
4717
|
-
function
|
|
4724
|
+
function xr(t, e) {
|
|
4718
4725
|
return t && t.querySelector(e);
|
|
4719
4726
|
}
|
|
4720
4727
|
function cn(t, e) {
|
|
@@ -4730,7 +4737,7 @@ function st(t) {
|
|
|
4730
4737
|
return Ze(t) ? t : t ? t + "px" : "";
|
|
4731
4738
|
}
|
|
4732
4739
|
var Jt = "splide", un = "data-" + Jt;
|
|
4733
|
-
function
|
|
4740
|
+
function $t(t, e) {
|
|
4734
4741
|
if (!t)
|
|
4735
4742
|
throw new Error("[" + Jt + "] " + (e || ""));
|
|
4736
4743
|
}
|
|
@@ -4758,7 +4765,7 @@ function dn(t) {
|
|
|
4758
4765
|
return t < 10 ? "0" + t : "" + t;
|
|
4759
4766
|
}
|
|
4760
4767
|
var qn = {};
|
|
4761
|
-
function
|
|
4768
|
+
function Wc(t) {
|
|
4762
4769
|
return "" + t + dn(qn[t] = (qn[t] || 0) + 1);
|
|
4763
4770
|
}
|
|
4764
4771
|
function Vr() {
|
|
@@ -4805,8 +4812,8 @@ function Vr() {
|
|
|
4805
4812
|
destroy: s
|
|
4806
4813
|
};
|
|
4807
4814
|
}
|
|
4808
|
-
var it = "mounted", Xn = "ready", Ue = "move", wt = "moved", hn = "click", Br = "active", Hr = "inactive", Yr = "visible", Kr = "hidden",
|
|
4809
|
-
function
|
|
4815
|
+
var it = "mounted", Xn = "ready", Ue = "move", wt = "moved", hn = "click", Br = "active", Hr = "inactive", Yr = "visible", Kr = "hidden", le = "refresh", _e = "updated", Et = "resize", yi = "resized", jr = "drag", Gr = "dragging", Wr = "dragged", bi = "scroll", ht = "scrolled", Uc = "overflow", fn = "destroy", Ur = "arrows:mounted", zr = "arrows:updated", qr = "pagination:mounted", Xr = "pagination:updated", vn = "navigation:mounted", mn = "autoplay:play", Jr = "autoplay:playing", pn = "autoplay:pause", gn = "lazyload:loaded", Zr = "sk", Qr = "sh", fi = "ei";
|
|
4816
|
+
function ne(t) {
|
|
4810
4817
|
var e = t ? t.event.bus : document.createDocumentFragment(), i = Vr();
|
|
4811
4818
|
function n(s, a) {
|
|
4812
4819
|
i.bind(e, zt(s).join(" "), function(o) {
|
|
@@ -4859,7 +4866,7 @@ function Ei(t, e, i, n) {
|
|
|
4859
4866
|
isPaused: y
|
|
4860
4867
|
};
|
|
4861
4868
|
}
|
|
4862
|
-
function
|
|
4869
|
+
function zc(t) {
|
|
4863
4870
|
var e = t;
|
|
4864
4871
|
function i(r) {
|
|
4865
4872
|
e = r;
|
|
@@ -4872,13 +4879,13 @@ function Uc(t) {
|
|
|
4872
4879
|
is: n
|
|
4873
4880
|
};
|
|
4874
4881
|
}
|
|
4875
|
-
function
|
|
4882
|
+
function qc(t, e) {
|
|
4876
4883
|
var i = Ei(0, t, null, 1);
|
|
4877
4884
|
return function() {
|
|
4878
4885
|
i.isPaused() && i.start();
|
|
4879
4886
|
};
|
|
4880
4887
|
}
|
|
4881
|
-
function
|
|
4888
|
+
function Xc(t, e, i) {
|
|
4882
4889
|
var n = t.state, r = i.breakpoints || {}, s = i.reducedMotion || {}, a = Vr(), o = [];
|
|
4883
4890
|
function l() {
|
|
4884
4891
|
var h = i.mediaQuery === "min";
|
|
@@ -4924,7 +4931,7 @@ var Si = "Arrow", Ci = Si + "Left", Ai = Si + "Right", es = Si + "Up", ts = Si +
|
|
|
4924
4931
|
ArrowLeft: [es, Ai],
|
|
4925
4932
|
ArrowRight: [ts, Ci]
|
|
4926
4933
|
};
|
|
4927
|
-
function
|
|
4934
|
+
function Jc(t, e, i) {
|
|
4928
4935
|
function n(s, a, o) {
|
|
4929
4936
|
o = o || i.direction;
|
|
4930
4937
|
var l = o === Jn && !a ? 1 : o === wi ? 0 : -1;
|
|
@@ -4941,7 +4948,7 @@ function Xc(t, e, i) {
|
|
|
4941
4948
|
orient: r
|
|
4942
4949
|
};
|
|
4943
4950
|
}
|
|
4944
|
-
var je = "role", _t = "tabindex",
|
|
4951
|
+
var je = "role", _t = "tabindex", Zc = "disabled", ke = "aria-", Zt = ke + "controls", is = ke + "current", Zn = ke + "selected", we = ke + "label", _n = ke + "labelledby", ns = ke + "hidden", yn = ke + "orientation", jt = ke + "roledescription", Qn = ke + "live", er = ke + "busy", tr = ke + "atomic", bn = [je, _t, Zc, Zt, is, we, _n, ns, yn, jt], Ve = Jt + "__", nt = "is-", Pi = Jt, ir = Ve + "track", Qc = Ve + "list", Ii = Ve + "slide", rs = Ii + "--clone", eu = Ii + "__container", En = Ve + "arrows", Mi = Ve + "arrow", ss = Mi + "--prev", as = Mi + "--next", Ti = Ve + "pagination", os = Ti + "__page", tu = Ve + "progress", iu = tu + "__bar", nu = Ve + "toggle", ru = Ve + "spinner", su = Ve + "sr", au = nt + "initialized", ut = nt + "active", ls = nt + "prev", cs = nt + "next", Ji = nt + "visible", Zi = nt + "loading", us = nt + "focus-in", ds = nt + "overflow", ou = [ut, Ji, ls, cs, Zi, us, ds], lu = {
|
|
4945
4952
|
slide: Ii,
|
|
4946
4953
|
clone: rs,
|
|
4947
4954
|
arrows: En,
|
|
@@ -4950,23 +4957,23 @@ var je = "role", _t = "tabindex", Jc = "disabled", ke = "aria-", Zt = ke + "cont
|
|
|
4950
4957
|
next: as,
|
|
4951
4958
|
pagination: Ti,
|
|
4952
4959
|
page: os,
|
|
4953
|
-
spinner:
|
|
4960
|
+
spinner: ru
|
|
4954
4961
|
};
|
|
4955
|
-
function
|
|
4962
|
+
function cu(t, e) {
|
|
4956
4963
|
if (Lr(t.closest))
|
|
4957
4964
|
return t.closest(e);
|
|
4958
4965
|
for (var i = t; i && i.nodeType === 1 && !Vt(i, e); )
|
|
4959
4966
|
i = i.parentElement;
|
|
4960
4967
|
return i;
|
|
4961
4968
|
}
|
|
4962
|
-
var
|
|
4963
|
-
function
|
|
4964
|
-
var n =
|
|
4969
|
+
var uu = 5, nr = 200, hs = "touchstart mousedown", Fi = "touchmove mousemove", $i = "touchend touchcancel mouseup click";
|
|
4970
|
+
function du(t, e, i) {
|
|
4971
|
+
var n = ne(t), r = n.on, s = n.bind, a = t.root, o = i.i18n, l = {}, c = [], u = [], d = [], f, m, h;
|
|
4965
4972
|
function v() {
|
|
4966
4973
|
_(), P(), g();
|
|
4967
4974
|
}
|
|
4968
4975
|
function y() {
|
|
4969
|
-
r(
|
|
4976
|
+
r(le, p), r(le, v), r(_e, g), s(document, hs + " keydown", function(E) {
|
|
4970
4977
|
h = E.type === "keydown";
|
|
4971
4978
|
}, {
|
|
4972
4979
|
capture: !0
|
|
@@ -4979,16 +4986,16 @@ function uu(t, e, i) {
|
|
|
4979
4986
|
We(c), Ke(a, u), Ke(f, d), Re([f, m], O), Re(a, E ? O : ["style", jt]);
|
|
4980
4987
|
}
|
|
4981
4988
|
function g() {
|
|
4982
|
-
Ke(a, u), Ke(f, d), u = C(Pi), d = C(ir),
|
|
4989
|
+
Ke(a, u), Ke(f, d), u = C(Pi), d = C(ir), xe(a, u), xe(f, d), G(a, we, i.label), G(a, _n, i.labelledby);
|
|
4983
4990
|
}
|
|
4984
4991
|
function _() {
|
|
4985
|
-
f = L("." + ir), m = Xt(f, "." +
|
|
4992
|
+
f = L("." + ir), m = Xt(f, "." + Qc), $t(f && m, "A track/list element is missing."), si(c, Pr(m, "." + Ii + ":not(." + rs + ")")), lt({
|
|
4986
4993
|
arrows: En,
|
|
4987
4994
|
pagination: Ti,
|
|
4988
4995
|
prev: ss,
|
|
4989
4996
|
next: as,
|
|
4990
|
-
bar:
|
|
4991
|
-
toggle:
|
|
4997
|
+
bar: iu,
|
|
4998
|
+
toggle: nu
|
|
4992
4999
|
}, function(E, O) {
|
|
4993
5000
|
l[O] = L("." + E);
|
|
4994
5001
|
}), Ht(l, {
|
|
@@ -4999,12 +5006,12 @@ function uu(t, e, i) {
|
|
|
4999
5006
|
});
|
|
5000
5007
|
}
|
|
5001
5008
|
function P() {
|
|
5002
|
-
var E = a.id ||
|
|
5009
|
+
var E = a.id || Wc(Jt), O = i.role;
|
|
5003
5010
|
a.id = E, f.id = f.id || E + "-track", m.id = m.id || E + "-list", !Oe(a, je) && a.tagName !== "SECTION" && O && G(a, je, O), G(a, jt, o.carousel), G(m, je, "presentation");
|
|
5004
5011
|
}
|
|
5005
5012
|
function L(E) {
|
|
5006
|
-
var O =
|
|
5007
|
-
return O &&
|
|
5013
|
+
var O = xr(a, E);
|
|
5014
|
+
return O && cu(O, "." + Pi) === a ? O : void 0;
|
|
5008
5015
|
}
|
|
5009
5016
|
function C(E) {
|
|
5010
5017
|
return [E + "--" + i.type, E + "--" + i.direction, i.drag && E + "--draggable", i.isNavigation && E + "--nav", E === Pi && ut];
|
|
@@ -5016,46 +5023,46 @@ function uu(t, e, i) {
|
|
|
5016
5023
|
});
|
|
5017
5024
|
}
|
|
5018
5025
|
var St = "slide", It = "loop", Qt = "fade";
|
|
5019
|
-
function
|
|
5020
|
-
var r =
|
|
5026
|
+
function hu(t, e, i, n) {
|
|
5027
|
+
var r = ne(t), s = r.on, a = r.emit, o = r.bind, l = t.Components, c = t.root, u = t.options, d = u.isNavigation, f = u.updateOnMove, m = u.i18n, h = u.pagination, v = u.slideFocus, y = l.Direction.resolve, p = Oe(n, "style"), g = Oe(n, we), _ = i > -1, P = Xt(n, "." + eu), L;
|
|
5021
5028
|
function C() {
|
|
5022
5029
|
_ || (n.id = c.id + "-slide" + dn(e + 1), G(n, je, h ? "tabpanel" : "group"), G(n, jt, m.slide), G(n, we, g || Xi(m.slideLabel, [e + 1, t.length]))), E();
|
|
5023
5030
|
}
|
|
5024
5031
|
function E() {
|
|
5025
|
-
o(n, "click", Z(a, hn, K)), o(n, "keydown", Z(a, Zr, K)), s([wt, Qr, ht], w), s(vn, V), f && s(Ue,
|
|
5032
|
+
o(n, "click", Z(a, hn, K)), o(n, "keydown", Z(a, Zr, K)), s([wt, Qr, ht], w), s(vn, V), f && s(Ue, x);
|
|
5026
5033
|
}
|
|
5027
5034
|
function O() {
|
|
5028
|
-
L = !0, r.destroy(), Ke(n,
|
|
5035
|
+
L = !0, r.destroy(), Ke(n, ou), Re(n, bn), G(n, "style", p), G(n, we, g || "");
|
|
5029
5036
|
}
|
|
5030
5037
|
function V() {
|
|
5031
5038
|
var R = t.splides.map(function(I) {
|
|
5032
|
-
var
|
|
5033
|
-
return
|
|
5039
|
+
var $ = I.splide.Components.Slides.getAt(e);
|
|
5040
|
+
return $ ? $.slide.id : "";
|
|
5034
5041
|
}).join(" ");
|
|
5035
5042
|
G(n, we, Xi(m.slideX, (_ ? i : e) + 1)), G(n, Zt, R), G(n, je, v ? "button" : ""), v && Re(n, jt);
|
|
5036
5043
|
}
|
|
5037
|
-
function
|
|
5044
|
+
function x() {
|
|
5038
5045
|
L || w();
|
|
5039
5046
|
}
|
|
5040
5047
|
function w() {
|
|
5041
5048
|
if (!L) {
|
|
5042
5049
|
var R = t.index;
|
|
5043
|
-
|
|
5050
|
+
T(), D(), Ye(n, ls, e === R - 1), Ye(n, cs, e === R + 1);
|
|
5044
5051
|
}
|
|
5045
5052
|
}
|
|
5046
|
-
function
|
|
5053
|
+
function T() {
|
|
5047
5054
|
var R = H();
|
|
5048
5055
|
R !== zn(n, ut) && (Ye(n, ut, R), G(n, is, d && R || ""), a(R ? Br : Hr, K));
|
|
5049
5056
|
}
|
|
5050
5057
|
function D() {
|
|
5051
5058
|
var R = Q(), I = !R && (!H() || _);
|
|
5052
5059
|
if (t.state.is([At, Wt]) || G(n, ns, I || ""), G(cn(n, u.focusableNodes || ""), _t, I ? -1 : ""), v && G(n, _t, I ? -1 : 0), R !== zn(n, Ji) && (Ye(n, Ji, R), a(R ? Yr : Kr, K)), !R && document.activeElement === n) {
|
|
5053
|
-
var
|
|
5054
|
-
|
|
5060
|
+
var $ = l.Slides.getAt(t.index);
|
|
5061
|
+
$ && Fr($.slide);
|
|
5055
5062
|
}
|
|
5056
5063
|
}
|
|
5057
|
-
function F(R, I,
|
|
5058
|
-
Te(
|
|
5064
|
+
function F(R, I, $) {
|
|
5065
|
+
Te($ && P || n, R, I);
|
|
5059
5066
|
}
|
|
5060
5067
|
function H() {
|
|
5061
5068
|
var R = t.index;
|
|
@@ -5064,12 +5071,12 @@ function du(t, e, i, n) {
|
|
|
5064
5071
|
function Q() {
|
|
5065
5072
|
if (t.is(Qt))
|
|
5066
5073
|
return H();
|
|
5067
|
-
var R = Ae(l.Elements.track), I = Ae(n),
|
|
5068
|
-
return hi(R[
|
|
5074
|
+
var R = Ae(l.Elements.track), I = Ae(n), $ = y("left", !0), z = y("right", !0);
|
|
5075
|
+
return hi(R[$]) <= Kt(I[$]) && hi(I[z]) <= Kt(R[z]);
|
|
5069
5076
|
}
|
|
5070
5077
|
function te(R, I) {
|
|
5071
|
-
var
|
|
5072
|
-
return !_ && (u.rewind || t.is(It)) && (
|
|
5078
|
+
var $ = Se(R - e);
|
|
5079
|
+
return !_ && (u.rewind || t.is(It)) && ($ = Qe($, t.length - $)), $ <= I;
|
|
5073
5080
|
}
|
|
5074
5081
|
var K = {
|
|
5075
5082
|
index: e,
|
|
@@ -5085,14 +5092,14 @@ function du(t, e, i, n) {
|
|
|
5085
5092
|
};
|
|
5086
5093
|
return K;
|
|
5087
5094
|
}
|
|
5088
|
-
function
|
|
5089
|
-
var n =
|
|
5095
|
+
function fu(t, e, i) {
|
|
5096
|
+
var n = ne(t), r = n.on, s = n.emit, a = n.bind, o = e.Elements, l = o.slides, c = o.list, u = [];
|
|
5090
5097
|
function d() {
|
|
5091
|
-
f(), r(
|
|
5098
|
+
f(), r(le, m), r(le, f);
|
|
5092
5099
|
}
|
|
5093
5100
|
function f() {
|
|
5094
|
-
l.forEach(function(w,
|
|
5095
|
-
v(w,
|
|
5101
|
+
l.forEach(function(w, T) {
|
|
5102
|
+
v(w, T, -1);
|
|
5096
5103
|
});
|
|
5097
5104
|
}
|
|
5098
5105
|
function m() {
|
|
@@ -5105,19 +5112,19 @@ function hu(t, e, i) {
|
|
|
5105
5112
|
w.update();
|
|
5106
5113
|
});
|
|
5107
5114
|
}
|
|
5108
|
-
function v(w,
|
|
5109
|
-
var F =
|
|
5115
|
+
function v(w, T, D) {
|
|
5116
|
+
var F = hu(t, T, D, w);
|
|
5110
5117
|
F.mount(), u.push(F), u.sort(function(H, Q) {
|
|
5111
5118
|
return H.index - Q.index;
|
|
5112
5119
|
});
|
|
5113
5120
|
}
|
|
5114
5121
|
function y(w) {
|
|
5115
|
-
return w ? C(function(
|
|
5116
|
-
return !
|
|
5122
|
+
return w ? C(function(T) {
|
|
5123
|
+
return !T.isClone;
|
|
5117
5124
|
}) : u;
|
|
5118
5125
|
}
|
|
5119
5126
|
function p(w) {
|
|
5120
|
-
var
|
|
5127
|
+
var T = e.Controller, D = T.toIndex(w), F = T.hasFocus() ? 1 : i.perPage;
|
|
5121
5128
|
return C(function(H) {
|
|
5122
5129
|
return ai(H.index, D, D + F - 1);
|
|
5123
5130
|
});
|
|
@@ -5125,44 +5132,44 @@ function hu(t, e, i) {
|
|
|
5125
5132
|
function g(w) {
|
|
5126
5133
|
return C(w)[0];
|
|
5127
5134
|
}
|
|
5128
|
-
function _(w,
|
|
5135
|
+
function _(w, T) {
|
|
5129
5136
|
Me(w, function(D) {
|
|
5130
|
-
if (Ze(D) && (D =
|
|
5131
|
-
var F = l[
|
|
5132
|
-
F ? ln(D, F) : qt(c, D),
|
|
5137
|
+
if (Ze(D) && (D = $r(D)), Nr(D)) {
|
|
5138
|
+
var F = l[T];
|
|
5139
|
+
F ? ln(D, F) : qt(c, D), xe(D, i.classes.slide), O(D, Z(s, Et));
|
|
5133
5140
|
}
|
|
5134
|
-
}), s(
|
|
5141
|
+
}), s(le);
|
|
5135
5142
|
}
|
|
5136
5143
|
function P(w) {
|
|
5137
|
-
ct(C(w).map(function(
|
|
5138
|
-
return
|
|
5139
|
-
})), s(
|
|
5144
|
+
ct(C(w).map(function(T) {
|
|
5145
|
+
return T.slide;
|
|
5146
|
+
})), s(le);
|
|
5140
5147
|
}
|
|
5141
|
-
function L(w,
|
|
5142
|
-
y(
|
|
5148
|
+
function L(w, T) {
|
|
5149
|
+
y(T).forEach(w);
|
|
5143
5150
|
}
|
|
5144
5151
|
function C(w) {
|
|
5145
|
-
return u.filter(Lr(w) ? w : function(
|
|
5146
|
-
return Ze(w) ? Vt(
|
|
5152
|
+
return u.filter(Lr(w) ? w : function(T) {
|
|
5153
|
+
return Ze(w) ? Vt(T.slide, w) : on(zt(w), T.index);
|
|
5147
5154
|
});
|
|
5148
5155
|
}
|
|
5149
|
-
function E(w,
|
|
5156
|
+
function E(w, T, D) {
|
|
5150
5157
|
L(function(F) {
|
|
5151
|
-
F.style(w,
|
|
5158
|
+
F.style(w, T, D);
|
|
5152
5159
|
});
|
|
5153
5160
|
}
|
|
5154
|
-
function O(w,
|
|
5161
|
+
function O(w, T) {
|
|
5155
5162
|
var D = cn(w, "img"), F = D.length;
|
|
5156
5163
|
F ? D.forEach(function(H) {
|
|
5157
5164
|
a(H, "load error", function() {
|
|
5158
|
-
--F ||
|
|
5165
|
+
--F || T();
|
|
5159
5166
|
});
|
|
5160
|
-
}) :
|
|
5167
|
+
}) : T();
|
|
5161
5168
|
}
|
|
5162
5169
|
function V(w) {
|
|
5163
5170
|
return w ? l.length : u.length;
|
|
5164
5171
|
}
|
|
5165
|
-
function
|
|
5172
|
+
function x() {
|
|
5166
5173
|
return u.length > i.perPage;
|
|
5167
5174
|
}
|
|
5168
5175
|
return {
|
|
@@ -5179,20 +5186,20 @@ function hu(t, e, i) {
|
|
|
5179
5186
|
filter: C,
|
|
5180
5187
|
style: E,
|
|
5181
5188
|
getLength: V,
|
|
5182
|
-
isEnough:
|
|
5189
|
+
isEnough: x
|
|
5183
5190
|
};
|
|
5184
5191
|
}
|
|
5185
|
-
function
|
|
5186
|
-
var n =
|
|
5192
|
+
function vu(t, e, i) {
|
|
5193
|
+
var n = ne(t), r = n.on, s = n.bind, a = n.emit, o = e.Slides, l = e.Direction.resolve, c = e.Elements, u = c.root, d = c.track, f = c.list, m = o.getAt, h = o.style, v, y, p;
|
|
5187
5194
|
function g() {
|
|
5188
|
-
_(), s(window, "resize load",
|
|
5195
|
+
_(), s(window, "resize load", qc(Z(a, Et))), r([_e, le], _), r(Et, P);
|
|
5189
5196
|
}
|
|
5190
5197
|
function _() {
|
|
5191
5198
|
v = i.direction === wi, Te(u, "maxWidth", st(i.width)), Te(d, l("paddingLeft"), L(!1)), Te(d, l("paddingRight"), L(!0)), P(!0);
|
|
5192
5199
|
}
|
|
5193
5200
|
function P(K) {
|
|
5194
5201
|
var R = Ae(u);
|
|
5195
|
-
(K || y.width !== R.width || y.height !== R.height) && (Te(d, "height", C()), h(l("marginRight"), st(i.gap)), h("width", O()), h("height", V(), !0), y = R, a(yi), p !== (p = te()) && (Ye(u, ds, p), a(
|
|
5202
|
+
(K || y.width !== R.width || y.height !== R.height) && (Te(d, "height", C()), h(l("marginRight"), st(i.gap)), h("width", O()), h("height", V(), !0), y = R, a(yi), p !== (p = te()) && (Ye(u, ds, p), a(Uc, p)));
|
|
5196
5203
|
}
|
|
5197
5204
|
function L(K) {
|
|
5198
5205
|
var R = i.padding, I = l(K ? "right" : "left");
|
|
@@ -5200,38 +5207,38 @@ function fu(t, e, i) {
|
|
|
5200
5207
|
}
|
|
5201
5208
|
function C() {
|
|
5202
5209
|
var K = "";
|
|
5203
|
-
return v && (K = E(),
|
|
5210
|
+
return v && (K = E(), $t(K, "height or heightRatio is missing."), K = "calc(" + K + " - " + L(!1) + " - " + L(!0) + ")"), K;
|
|
5204
5211
|
}
|
|
5205
5212
|
function E() {
|
|
5206
5213
|
return st(i.height || Ae(f).width * i.heightRatio);
|
|
5207
5214
|
}
|
|
5208
5215
|
function O() {
|
|
5209
|
-
return i.autoWidth ? null : st(i.fixedWidth) || (v ? "" :
|
|
5216
|
+
return i.autoWidth ? null : st(i.fixedWidth) || (v ? "" : x());
|
|
5210
5217
|
}
|
|
5211
5218
|
function V() {
|
|
5212
|
-
return st(i.fixedHeight) || (v ? i.autoHeight ? null :
|
|
5219
|
+
return st(i.fixedHeight) || (v ? i.autoHeight ? null : x() : E());
|
|
5213
5220
|
}
|
|
5214
|
-
function
|
|
5221
|
+
function x() {
|
|
5215
5222
|
var K = st(i.gap);
|
|
5216
5223
|
return "calc((100%" + (K && " + " + K) + ")/" + (i.perPage || 1) + (K && " - " + K) + ")";
|
|
5217
5224
|
}
|
|
5218
5225
|
function w() {
|
|
5219
5226
|
return Ae(f)[l("width")];
|
|
5220
5227
|
}
|
|
5221
|
-
function
|
|
5228
|
+
function T(K, R) {
|
|
5222
5229
|
var I = m(K || 0);
|
|
5223
5230
|
return I ? Ae(I.slide)[l("width")] + (R ? 0 : H()) : 0;
|
|
5224
5231
|
}
|
|
5225
5232
|
function D(K, R) {
|
|
5226
5233
|
var I = m(K);
|
|
5227
5234
|
if (I) {
|
|
5228
|
-
var
|
|
5229
|
-
return Se(
|
|
5235
|
+
var $ = Ae(I.slide)[l("right")], z = Ae(f)[l("left")];
|
|
5236
|
+
return Se($ - z) + (R ? 0 : H());
|
|
5230
5237
|
}
|
|
5231
5238
|
return 0;
|
|
5232
5239
|
}
|
|
5233
5240
|
function F(K) {
|
|
5234
|
-
return D(t.length - 1) - D(0) +
|
|
5241
|
+
return D(t.length - 1) - D(0) + T(0, K);
|
|
5235
5242
|
}
|
|
5236
5243
|
function H() {
|
|
5237
5244
|
var K = m(0);
|
|
@@ -5247,18 +5254,18 @@ function fu(t, e, i) {
|
|
|
5247
5254
|
mount: g,
|
|
5248
5255
|
resize: P,
|
|
5249
5256
|
listSize: w,
|
|
5250
|
-
slideSize:
|
|
5257
|
+
slideSize: T,
|
|
5251
5258
|
sliderSize: F,
|
|
5252
5259
|
totalSize: D,
|
|
5253
5260
|
getPadding: Q,
|
|
5254
5261
|
isOverflow: te
|
|
5255
5262
|
};
|
|
5256
5263
|
}
|
|
5257
|
-
var
|
|
5258
|
-
function
|
|
5259
|
-
var n =
|
|
5264
|
+
var mu = 2;
|
|
5265
|
+
function pu(t, e, i) {
|
|
5266
|
+
var n = ne(t), r = n.on, s = e.Elements, a = e.Slides, o = e.Direction.resolve, l = [], c;
|
|
5260
5267
|
function u() {
|
|
5261
|
-
r(
|
|
5268
|
+
r(le, d), r([_e, Et], m), (c = y()) && (h(c), e.Layout.resize(!0));
|
|
5262
5269
|
}
|
|
5263
5270
|
function d() {
|
|
5264
5271
|
f(), u();
|
|
@@ -5268,7 +5275,7 @@ function mu(t, e, i) {
|
|
|
5268
5275
|
}
|
|
5269
5276
|
function m() {
|
|
5270
5277
|
var p = y();
|
|
5271
|
-
c !== p && (c < p || !p) && n.emit(
|
|
5278
|
+
c !== p && (c < p || !p) && n.emit(le);
|
|
5272
5279
|
}
|
|
5273
5280
|
function h(p) {
|
|
5274
5281
|
var g = a.get().slice(), _ = g.length;
|
|
@@ -5283,7 +5290,7 @@ function mu(t, e, i) {
|
|
|
5283
5290
|
}
|
|
5284
5291
|
function v(p, g) {
|
|
5285
5292
|
var _ = p.cloneNode(!0);
|
|
5286
|
-
return
|
|
5293
|
+
return xe(_, i.classes.clone), _.id = t.root.id + "-clone" + dn(g + 1), _;
|
|
5287
5294
|
}
|
|
5288
5295
|
function y() {
|
|
5289
5296
|
var p = i.clones;
|
|
@@ -5291,7 +5298,7 @@ function mu(t, e, i) {
|
|
|
5291
5298
|
p = 0;
|
|
5292
5299
|
else if (Ut(p)) {
|
|
5293
5300
|
var g = i[o("fixedWidth")] && e.Layout.slideSize(0), _ = g && Kt(Ae(s.track)[o("width")] / g);
|
|
5294
|
-
p = _ || i[o("autoWidth")] && t.length || i.perPage *
|
|
5301
|
+
p = _ || i[o("autoWidth")] && t.length || i.perPage * mu;
|
|
5295
5302
|
}
|
|
5296
5303
|
return p;
|
|
5297
5304
|
}
|
|
@@ -5300,45 +5307,45 @@ function mu(t, e, i) {
|
|
|
5300
5307
|
destroy: f
|
|
5301
5308
|
};
|
|
5302
5309
|
}
|
|
5303
|
-
function
|
|
5304
|
-
var n =
|
|
5310
|
+
function gu(t, e, i) {
|
|
5311
|
+
var n = ne(t), r = n.on, s = n.emit, a = t.state.set, o = e.Layout, l = o.slideSize, c = o.getPadding, u = o.totalSize, d = o.listSize, f = o.sliderSize, m = e.Direction, h = m.resolve, v = m.orient, y = e.Elements, p = y.list, g = y.track, _;
|
|
5305
5312
|
function P() {
|
|
5306
|
-
_ = e.Transition, r([it, yi, _e,
|
|
5313
|
+
_ = e.Transition, r([it, yi, _e, le], L);
|
|
5307
5314
|
}
|
|
5308
5315
|
function L() {
|
|
5309
5316
|
e.Controller.isBusy() || (e.Scroll.cancel(), E(t.index), e.Slides.update());
|
|
5310
5317
|
}
|
|
5311
|
-
function C(I,
|
|
5312
|
-
I !==
|
|
5313
|
-
a(bt), s(wt,
|
|
5318
|
+
function C(I, $, z, ve) {
|
|
5319
|
+
I !== $ && K(I > z) && (w(), O(x(F(), I > z), !0)), a(At), s(Ue, $, z, I), _.start($, function() {
|
|
5320
|
+
a(bt), s(wt, $, z, I), ve && ve();
|
|
5314
5321
|
});
|
|
5315
5322
|
}
|
|
5316
5323
|
function E(I) {
|
|
5317
5324
|
O(D(I, !0));
|
|
5318
5325
|
}
|
|
5319
|
-
function O(I,
|
|
5326
|
+
function O(I, $) {
|
|
5320
5327
|
if (!t.is(Qt)) {
|
|
5321
|
-
var z =
|
|
5328
|
+
var z = $ ? I : V(I);
|
|
5322
5329
|
Te(p, "transform", "translate" + h("X") + "(" + z + "px)"), I !== z && s(Qr);
|
|
5323
5330
|
}
|
|
5324
5331
|
}
|
|
5325
5332
|
function V(I) {
|
|
5326
5333
|
if (t.is(It)) {
|
|
5327
|
-
var
|
|
5328
|
-
(ve || z) && (I =
|
|
5334
|
+
var $ = T(I), z = $ > e.Controller.getEnd(), ve = $ < 0;
|
|
5335
|
+
(ve || z) && (I = x(I, z));
|
|
5329
5336
|
}
|
|
5330
5337
|
return I;
|
|
5331
5338
|
}
|
|
5332
|
-
function
|
|
5333
|
-
var z = I - te(
|
|
5334
|
-
return I -= v(ve * (Kt(Se(z) / ve) || 1)) * (
|
|
5339
|
+
function x(I, $) {
|
|
5340
|
+
var z = I - te($), ve = f();
|
|
5341
|
+
return I -= v(ve * (Kt(Se(z) / ve) || 1)) * ($ ? 1 : -1), I;
|
|
5335
5342
|
}
|
|
5336
5343
|
function w() {
|
|
5337
5344
|
O(F(), !0), _.cancel();
|
|
5338
5345
|
}
|
|
5339
|
-
function
|
|
5340
|
-
for (var
|
|
5341
|
-
var ze =
|
|
5346
|
+
function T(I) {
|
|
5347
|
+
for (var $ = e.Slides.get(), z = 0, ve = 1 / 0, de = 0; de < $.length; de++) {
|
|
5348
|
+
var ze = $[de].index, A = Se(D(ze, !0) - I);
|
|
5342
5349
|
if (A <= ve)
|
|
5343
5350
|
ve = A, z = ze;
|
|
5344
5351
|
else
|
|
@@ -5346,9 +5353,9 @@ function pu(t, e, i) {
|
|
|
5346
5353
|
}
|
|
5347
5354
|
return z;
|
|
5348
5355
|
}
|
|
5349
|
-
function D(I,
|
|
5356
|
+
function D(I, $) {
|
|
5350
5357
|
var z = v(u(I - 1) - Q(I));
|
|
5351
|
-
return
|
|
5358
|
+
return $ ? H(z) : z;
|
|
5352
5359
|
}
|
|
5353
5360
|
function F() {
|
|
5354
5361
|
var I = h("left");
|
|
@@ -5358,19 +5365,19 @@ function pu(t, e, i) {
|
|
|
5358
5365
|
return i.trimSpace && t.is(St) && (I = ft(I, 0, v(f(!0) - d()))), I;
|
|
5359
5366
|
}
|
|
5360
5367
|
function Q(I) {
|
|
5361
|
-
var
|
|
5362
|
-
return
|
|
5368
|
+
var $ = i.focus;
|
|
5369
|
+
return $ === "center" ? (d() - l(I, !0)) / 2 : +$ * l(I) || 0;
|
|
5363
5370
|
}
|
|
5364
5371
|
function te(I) {
|
|
5365
5372
|
return D(I ? e.Controller.getEnd() : 0, !!i.trimSpace);
|
|
5366
5373
|
}
|
|
5367
5374
|
function K(I) {
|
|
5368
|
-
var
|
|
5369
|
-
return I ?
|
|
5375
|
+
var $ = v(x(F(), I));
|
|
5376
|
+
return I ? $ >= 0 : $ <= p[h("scrollWidth")] - Ae(g)[h("width")];
|
|
5370
5377
|
}
|
|
5371
|
-
function R(I,
|
|
5372
|
-
|
|
5373
|
-
var z = I !== !0 && v(
|
|
5378
|
+
function R(I, $) {
|
|
5379
|
+
$ = Ut($) ? F() : $;
|
|
5380
|
+
var z = I !== !0 && v($) < v(te(!1)), ve = I !== !1 && v($) > v(te(!0));
|
|
5374
5381
|
return z || ve;
|
|
5375
5382
|
}
|
|
5376
5383
|
return {
|
|
@@ -5378,9 +5385,9 @@ function pu(t, e, i) {
|
|
|
5378
5385
|
move: C,
|
|
5379
5386
|
jump: E,
|
|
5380
5387
|
translate: O,
|
|
5381
|
-
shift:
|
|
5388
|
+
shift: x,
|
|
5382
5389
|
cancel: w,
|
|
5383
|
-
toIndex:
|
|
5390
|
+
toIndex: T,
|
|
5384
5391
|
toPosition: D,
|
|
5385
5392
|
getPosition: F,
|
|
5386
5393
|
getLimit: te,
|
|
@@ -5388,17 +5395,17 @@ function pu(t, e, i) {
|
|
|
5388
5395
|
reposition: L
|
|
5389
5396
|
};
|
|
5390
5397
|
}
|
|
5391
|
-
function
|
|
5392
|
-
var n =
|
|
5398
|
+
function _u(t, e, i) {
|
|
5399
|
+
var n = ne(t), r = n.on, s = n.emit, a = e.Move, o = a.getPosition, l = a.getLimit, c = a.toPosition, u = e.Slides, d = u.isEnough, f = u.getLength, m = i.omitEnd, h = t.is(It), v = t.is(St), y = Z(F, !1), p = Z(F, !0), g = i.start || 0, _, P = g, L, C, E;
|
|
5393
5400
|
function O() {
|
|
5394
|
-
V(), r([_e,
|
|
5401
|
+
V(), r([_e, le, fi], V), r(yi, x);
|
|
5395
5402
|
}
|
|
5396
5403
|
function V() {
|
|
5397
5404
|
L = f(!0), C = i.perMove, E = i.perPage, _ = K();
|
|
5398
5405
|
var A = ft(g, 0, m ? _ : L - 1);
|
|
5399
5406
|
A !== g && (g = A, a.reposition());
|
|
5400
5407
|
}
|
|
5401
|
-
function
|
|
5408
|
+
function x() {
|
|
5402
5409
|
_ !== K() && s(fi);
|
|
5403
5410
|
}
|
|
5404
5411
|
function w(A, J, ye) {
|
|
@@ -5407,7 +5414,7 @@ function gu(t, e, i) {
|
|
|
5407
5414
|
ge > -1 && (J || ge !== g) && (z(ge), a.move(ae, ge, P, ye));
|
|
5408
5415
|
}
|
|
5409
5416
|
}
|
|
5410
|
-
function
|
|
5417
|
+
function T(A, J, ye, ae) {
|
|
5411
5418
|
e.Scroll.scroll(A, J, ye, function() {
|
|
5412
5419
|
var ge = te(a.toIndex(o()));
|
|
5413
5420
|
z(m ? Qe(ge, _) : ge), ae && ae();
|
|
@@ -5457,7 +5464,7 @@ function gu(t, e, i) {
|
|
|
5457
5464
|
function I(A) {
|
|
5458
5465
|
return de() ? Qe(A, _) : hi((A >= _ ? L - 1 : A) / E);
|
|
5459
5466
|
}
|
|
5460
|
-
function
|
|
5467
|
+
function $(A) {
|
|
5461
5468
|
var J = a.toIndex(A);
|
|
5462
5469
|
return v ? ft(J, 0, _) : J;
|
|
5463
5470
|
}
|
|
@@ -5476,7 +5483,7 @@ function gu(t, e, i) {
|
|
|
5476
5483
|
return {
|
|
5477
5484
|
mount: O,
|
|
5478
5485
|
go: w,
|
|
5479
|
-
scroll:
|
|
5486
|
+
scroll: T,
|
|
5480
5487
|
getNext: y,
|
|
5481
5488
|
getPrev: p,
|
|
5482
5489
|
getAdjacent: F,
|
|
@@ -5485,14 +5492,14 @@ function gu(t, e, i) {
|
|
|
5485
5492
|
getIndex: ve,
|
|
5486
5493
|
toIndex: R,
|
|
5487
5494
|
toPage: I,
|
|
5488
|
-
toDest:
|
|
5495
|
+
toDest: $,
|
|
5489
5496
|
hasFocus: de,
|
|
5490
5497
|
isBusy: ze
|
|
5491
5498
|
};
|
|
5492
5499
|
}
|
|
5493
|
-
var
|
|
5494
|
-
function
|
|
5495
|
-
var n =
|
|
5500
|
+
var yu = "http://www.w3.org/2000/svg", bu = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", ni = 40;
|
|
5501
|
+
function Eu(t, e, i) {
|
|
5502
|
+
var n = ne(t), r = n.on, s = n.bind, a = n.emit, o = i.classes, l = i.i18n, c = e.Elements, u = e.Controller, d = c.arrows, f = c.track, m = d, h = c.prev, v = c.next, y, p, g = {};
|
|
5496
5503
|
function _() {
|
|
5497
5504
|
L(), r(_e, P);
|
|
5498
5505
|
}
|
|
@@ -5500,31 +5507,31 @@ function bu(t, e, i) {
|
|
|
5500
5507
|
C(), _();
|
|
5501
5508
|
}
|
|
5502
5509
|
function L() {
|
|
5503
|
-
var
|
|
5504
|
-
|
|
5510
|
+
var T = i.arrows;
|
|
5511
|
+
T && !(h && v) && V(), h && v && (Ht(g, {
|
|
5505
5512
|
prev: h,
|
|
5506
5513
|
next: v
|
|
5507
|
-
}), Yt(m,
|
|
5514
|
+
}), Yt(m, T ? "" : "none"), xe(m, p = En + "--" + i.direction), T && (E(), w(), G([h, v], Zt, f.id), a(Ur, h, v)));
|
|
5508
5515
|
}
|
|
5509
5516
|
function C() {
|
|
5510
5517
|
n.destroy(), Ke(m, p), y ? (ct(d ? [h, v] : m), h = v = null) : Re([h, v], bn);
|
|
5511
5518
|
}
|
|
5512
5519
|
function E() {
|
|
5513
|
-
r([it, wt,
|
|
5520
|
+
r([it, wt, le, ht, fi], w), s(v, "click", Z(O, ">")), s(h, "click", Z(O, "<"));
|
|
5514
5521
|
}
|
|
5515
|
-
function O(
|
|
5516
|
-
u.go(
|
|
5522
|
+
function O(T) {
|
|
5523
|
+
u.go(T, !0);
|
|
5517
5524
|
}
|
|
5518
5525
|
function V() {
|
|
5519
|
-
m = d || gt("div", o.arrows), h =
|
|
5526
|
+
m = d || gt("div", o.arrows), h = x(!0), v = x(!1), y = !0, qt(m, [h, v]), !d && ln(m, f);
|
|
5520
5527
|
}
|
|
5521
|
-
function
|
|
5522
|
-
var D = '<button class="' + o.arrow + " " + (
|
|
5523
|
-
return
|
|
5528
|
+
function x(T) {
|
|
5529
|
+
var D = '<button class="' + o.arrow + " " + (T ? o.prev : o.next) + '" type="button"><svg xmlns="' + yu + '" viewBox="0 0 ' + ni + " " + ni + '" width="' + ni + '" height="' + ni + '" focusable="false"><path d="' + (i.arrowPath || bu) + '" />';
|
|
5530
|
+
return $r(D);
|
|
5524
5531
|
}
|
|
5525
5532
|
function w() {
|
|
5526
5533
|
if (h && v) {
|
|
5527
|
-
var
|
|
5534
|
+
var T = t.index, D = u.getPrev(), F = u.getNext(), H = D > -1 && T < D ? l.last : l.prev, Q = F > -1 && T > F ? l.first : l.next;
|
|
5528
5535
|
h.disabled = D < 0, v.disabled = F < 0, G(h, we, H), G(v, we, Q), a(zr, h, v, D, F);
|
|
5529
5536
|
}
|
|
5530
5537
|
}
|
|
@@ -5535,9 +5542,9 @@ function bu(t, e, i) {
|
|
|
5535
5542
|
update: w
|
|
5536
5543
|
};
|
|
5537
5544
|
}
|
|
5538
|
-
var
|
|
5539
|
-
function
|
|
5540
|
-
var n =
|
|
5545
|
+
var Su = un + "-interval";
|
|
5546
|
+
function Cu(t, e, i) {
|
|
5547
|
+
var n = ne(t), r = n.on, s = n.bind, a = n.emit, o = Ei(i.interval, t.go.bind(t, ">"), E), l = o.isPaused, c = e.Elements, u = e.Elements, d = u.root, f = u.toggle, m = i.autoplay, h, v, y = m === "pause";
|
|
5541
5548
|
function p() {
|
|
5542
5549
|
m && (g(), f && G(f, Zt, c.track.id), y || _(), C());
|
|
5543
5550
|
}
|
|
@@ -5548,7 +5555,7 @@ function Su(t, e, i) {
|
|
|
5548
5555
|
v = V.type === "focusin", L();
|
|
5549
5556
|
}), f && s(f, "click", function() {
|
|
5550
5557
|
y ? _() : P(!0);
|
|
5551
|
-
}), r([Ue, bi,
|
|
5558
|
+
}), r([Ue, bi, le], o.rewind), r(Ue, O);
|
|
5552
5559
|
}
|
|
5553
5560
|
function _() {
|
|
5554
5561
|
l() && e.Slides.isEnough() && (o.start(!i.resetProgress), v = h = y = !1, C(), a(mn));
|
|
@@ -5563,12 +5570,12 @@ function Su(t, e, i) {
|
|
|
5563
5570
|
f && (Ye(f, ut, !y), G(f, we, i.i18n[y ? "play" : "pause"]));
|
|
5564
5571
|
}
|
|
5565
5572
|
function E(V) {
|
|
5566
|
-
var
|
|
5567
|
-
|
|
5573
|
+
var x = c.bar;
|
|
5574
|
+
x && Te(x, "width", V * 100 + "%"), a(Jr, V);
|
|
5568
5575
|
}
|
|
5569
5576
|
function O(V) {
|
|
5570
|
-
var
|
|
5571
|
-
o.set(
|
|
5577
|
+
var x = e.Slides.getAt(V);
|
|
5578
|
+
o.set(x && +Oe(x.slide, Su) || i.interval);
|
|
5572
5579
|
}
|
|
5573
5580
|
return {
|
|
5574
5581
|
mount: p,
|
|
@@ -5578,10 +5585,10 @@ function Su(t, e, i) {
|
|
|
5578
5585
|
isPaused: l
|
|
5579
5586
|
};
|
|
5580
5587
|
}
|
|
5581
|
-
function
|
|
5582
|
-
var n =
|
|
5588
|
+
function Au(t, e, i) {
|
|
5589
|
+
var n = ne(t), r = n.on;
|
|
5583
5590
|
function s() {
|
|
5584
|
-
i.cover && (r(gn, Z(o, !0)), r([it, _e,
|
|
5591
|
+
i.cover && (r(gn, Z(o, !0)), r([it, _e, le], Z(a, !0)));
|
|
5585
5592
|
}
|
|
5586
5593
|
function a(l) {
|
|
5587
5594
|
e.Slides.forEach(function(c) {
|
|
@@ -5597,27 +5604,27 @@ function Cu(t, e, i) {
|
|
|
5597
5604
|
destroy: Z(a, !1)
|
|
5598
5605
|
};
|
|
5599
5606
|
}
|
|
5600
|
-
var
|
|
5601
|
-
function
|
|
5602
|
-
var n =
|
|
5607
|
+
var wu = 10, Iu = 600, Mu = 0.6, Tu = 1.5, Ou = 800;
|
|
5608
|
+
function Du(t, e, i) {
|
|
5609
|
+
var n = ne(t), r = n.on, s = n.emit, a = t.state.set, o = e.Move, l = o.getPosition, c = o.getLimit, u = o.exceededLimit, d = o.translate, f = t.is(St), m, h, v = 1;
|
|
5603
5610
|
function y() {
|
|
5604
|
-
r(Ue, P), r([_e,
|
|
5611
|
+
r(Ue, P), r([_e, le], L);
|
|
5605
5612
|
}
|
|
5606
|
-
function p(E, O, V,
|
|
5607
|
-
var
|
|
5613
|
+
function p(E, O, V, x, w) {
|
|
5614
|
+
var T = l();
|
|
5608
5615
|
if (P(), V && (!f || !u())) {
|
|
5609
5616
|
var D = e.Layout.sliderSize(), F = qi(E) * D * hi(Se(E) / D) || 0;
|
|
5610
5617
|
E = o.toPosition(e.Controller.toDest(E % D)) + F;
|
|
5611
5618
|
}
|
|
5612
|
-
var H = Rr(
|
|
5613
|
-
v = 1, O = H ? 0 : O || di(Se(E -
|
|
5619
|
+
var H = Rr(T, E, 1);
|
|
5620
|
+
v = 1, O = H ? 0 : O || di(Se(E - T) / Tu, Ou), h = x, m = Ei(O, g, Z(_, T, E, w), 1), a(Wt), s(bi), m.start();
|
|
5614
5621
|
}
|
|
5615
5622
|
function g() {
|
|
5616
5623
|
a(bt), h && h(), s(ht);
|
|
5617
5624
|
}
|
|
5618
|
-
function _(E, O, V,
|
|
5619
|
-
var w = l(),
|
|
5620
|
-
d(w + D), f && !V && u() && (v *=
|
|
5625
|
+
function _(E, O, V, x) {
|
|
5626
|
+
var w = l(), T = E + (O - E) * C(x), D = (T - w) * v;
|
|
5627
|
+
d(w + D), f && !V && u() && (v *= Mu, Se(D) < wu && p(c(u(!0)), Iu, !1, h, !0));
|
|
5621
5628
|
}
|
|
5622
5629
|
function P() {
|
|
5623
5630
|
m && m.cancel();
|
|
@@ -5640,10 +5647,10 @@ var vt = {
|
|
|
5640
5647
|
passive: !1,
|
|
5641
5648
|
capture: !0
|
|
5642
5649
|
};
|
|
5643
|
-
function
|
|
5644
|
-
var n =
|
|
5645
|
-
function
|
|
5646
|
-
a(f, Fi, Ui, vt), a(f,
|
|
5650
|
+
function ku(t, e, i) {
|
|
5651
|
+
var n = ne(t), r = n.on, s = n.emit, a = n.bind, o = n.unbind, l = t.state, c = e.Move, u = e.Scroll, d = e.Controller, f = e.Elements.track, m = e.Media.reduce, h = e.Direction, v = h.resolve, y = h.orient, p = c.getPosition, g = c.exceededLimit, _, P, L, C, E, O = !1, V, x, w;
|
|
5652
|
+
function T() {
|
|
5653
|
+
a(f, Fi, Ui, vt), a(f, $i, Ui, vt), a(f, hs, F, vt), a(f, "click", te, {
|
|
5647
5654
|
capture: !0
|
|
5648
5655
|
}), a(f, "dragstart", He), r([it, _e], D);
|
|
5649
5656
|
}
|
|
@@ -5652,9 +5659,9 @@ function Du(t, e, i) {
|
|
|
5652
5659
|
wn(!k), C = k === "free";
|
|
5653
5660
|
}
|
|
5654
5661
|
function F(k) {
|
|
5655
|
-
if (V = !1,
|
|
5662
|
+
if (V = !1, !x) {
|
|
5656
5663
|
var ee = ge(k);
|
|
5657
|
-
ae(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (w = ee ? f : window, E = l.is([At, Wt]), L = null, a(w, Fi, H, vt), a(w,
|
|
5664
|
+
ae(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (w = ee ? f : window, E = l.is([At, Wt]), L = null, a(w, Fi, H, vt), a(w, $i, Q, vt), c.cancel(), u.cancel(), K(k)));
|
|
5658
5665
|
}
|
|
5659
5666
|
}
|
|
5660
5667
|
function H(k) {
|
|
@@ -5663,13 +5670,13 @@ function Du(t, e, i) {
|
|
|
5663
5670
|
c.translate(_ + ye(de(k)));
|
|
5664
5671
|
var ee = ze(k) > nr, rt = O !== (O = g());
|
|
5665
5672
|
(ee || rt) && K(k), V = !0, s(Gr), He(k);
|
|
5666
|
-
} else
|
|
5673
|
+
} else $(k) && (E = I(k), He(k));
|
|
5667
5674
|
}
|
|
5668
5675
|
function Q(k) {
|
|
5669
|
-
l.is(ri) && (l.set(bt), s(Wr)), E && (R(k), He(k)), o(w, Fi, H), o(w,
|
|
5676
|
+
l.is(ri) && (l.set(bt), s(Wr)), E && (R(k), He(k)), o(w, Fi, H), o(w, $i, Q), E = !1;
|
|
5670
5677
|
}
|
|
5671
5678
|
function te(k) {
|
|
5672
|
-
|
|
5679
|
+
!x && V && He(k, !0);
|
|
5673
5680
|
}
|
|
5674
5681
|
function K(k) {
|
|
5675
5682
|
L = P, P = k, _ = p();
|
|
@@ -5682,7 +5689,7 @@ function Du(t, e, i) {
|
|
|
5682
5689
|
var ee = i.dragMinThreshold, rt = Rt(ee), Mt = rt && ee.mouse || 0, ps = (rt ? ee.touch : +ee) || 10;
|
|
5683
5690
|
return Se(de(k)) > (ge(k) ? ps : Mt);
|
|
5684
5691
|
}
|
|
5685
|
-
function
|
|
5692
|
+
function $(k) {
|
|
5686
5693
|
return Se(de(k)) > Se(de(k, !0));
|
|
5687
5694
|
}
|
|
5688
5695
|
function z(k) {
|
|
@@ -5709,7 +5716,7 @@ function Du(t, e, i) {
|
|
|
5709
5716
|
return (ge(k) ? k.changedTouches[0] : k)["page" + v(ee ? "Y" : "X")];
|
|
5710
5717
|
}
|
|
5711
5718
|
function ye(k) {
|
|
5712
|
-
return k / (O && t.is(St) ?
|
|
5719
|
+
return k / (O && t.is(St) ? uu : 1);
|
|
5713
5720
|
}
|
|
5714
5721
|
function ae(k) {
|
|
5715
5722
|
var ee = i.noDrag;
|
|
@@ -5722,15 +5729,15 @@ function Du(t, e, i) {
|
|
|
5722
5729
|
return E;
|
|
5723
5730
|
}
|
|
5724
5731
|
function wn(k) {
|
|
5725
|
-
|
|
5732
|
+
x = k;
|
|
5726
5733
|
}
|
|
5727
5734
|
return {
|
|
5728
|
-
mount:
|
|
5735
|
+
mount: T,
|
|
5729
5736
|
disable: wn,
|
|
5730
5737
|
isDragging: ms
|
|
5731
5738
|
};
|
|
5732
5739
|
}
|
|
5733
|
-
var
|
|
5740
|
+
var Lu = {
|
|
5734
5741
|
Spacebar: " ",
|
|
5735
5742
|
Right: Ai,
|
|
5736
5743
|
Left: Ci,
|
|
@@ -5738,11 +5745,11 @@ var ku = {
|
|
|
5738
5745
|
Down: ts
|
|
5739
5746
|
};
|
|
5740
5747
|
function Sn(t) {
|
|
5741
|
-
return t = Ze(t) ? t : t.key,
|
|
5748
|
+
return t = Ze(t) ? t : t.key, Lu[t] || t;
|
|
5742
5749
|
}
|
|
5743
5750
|
var rr = "keydown";
|
|
5744
|
-
function
|
|
5745
|
-
var n =
|
|
5751
|
+
function Nu(t, e, i) {
|
|
5752
|
+
var n = ne(t), r = n.on, s = n.bind, a = n.unbind, o = t.root, l = e.Direction.resolve, c, u;
|
|
5746
5753
|
function d() {
|
|
5747
5754
|
f(), r(_e, m), r(_e, f), r(Ue, v);
|
|
5748
5755
|
}
|
|
@@ -5774,19 +5781,19 @@ function Lu(t, e, i) {
|
|
|
5774
5781
|
disable: h
|
|
5775
5782
|
};
|
|
5776
5783
|
}
|
|
5777
|
-
var
|
|
5778
|
-
function
|
|
5779
|
-
var n =
|
|
5784
|
+
var xt = un + "-lazy", oi = xt + "-srcset", Pu = "[" + xt + "], [" + oi + "]";
|
|
5785
|
+
function Fu(t, e, i) {
|
|
5786
|
+
var n = ne(t), r = n.on, s = n.off, a = n.bind, o = n.emit, l = i.lazyLoad === "sequential", c = [wt, ht], u = [];
|
|
5780
5787
|
function d() {
|
|
5781
|
-
i.lazyLoad && (f(), r(
|
|
5788
|
+
i.lazyLoad && (f(), r(le, f));
|
|
5782
5789
|
}
|
|
5783
5790
|
function f() {
|
|
5784
5791
|
We(u), m(), l ? p() : (s(c), r(c, h), h());
|
|
5785
5792
|
}
|
|
5786
5793
|
function m() {
|
|
5787
5794
|
e.Slides.forEach(function(g) {
|
|
5788
|
-
cn(g.slide,
|
|
5789
|
-
var P = Oe(_,
|
|
5795
|
+
cn(g.slide, Pu).forEach(function(_) {
|
|
5796
|
+
var P = Oe(_, xt), L = Oe(_, oi);
|
|
5790
5797
|
if (P !== _.src || L !== _.srcset) {
|
|
5791
5798
|
var C = i.classes.spinner, E = _.parentElement, O = Xt(E, "." + C) || gt("span", C, E);
|
|
5792
5799
|
u.push([_, g, O]), _.src || Yt(_, "none");
|
|
@@ -5802,7 +5809,7 @@ function Pu(t, e, i) {
|
|
|
5802
5809
|
}
|
|
5803
5810
|
function v(g) {
|
|
5804
5811
|
var _ = g[0];
|
|
5805
|
-
|
|
5812
|
+
xe(g[1].slide, Zi), a(_, "load error", Z(y, g)), G(_, "src", Oe(_, xt)), G(_, "srcset", Oe(_, oi)), Re(_, xt), Re(_, oi);
|
|
5806
5813
|
}
|
|
5807
5814
|
function y(g, _) {
|
|
5808
5815
|
var P = g[0], L = g[1];
|
|
@@ -5817,12 +5824,12 @@ function Pu(t, e, i) {
|
|
|
5817
5824
|
check: h
|
|
5818
5825
|
};
|
|
5819
5826
|
}
|
|
5820
|
-
function
|
|
5821
|
-
var n =
|
|
5827
|
+
function $u(t, e, i) {
|
|
5828
|
+
var n = ne(t), r = n.on, s = n.emit, a = n.bind, o = e.Slides, l = e.Elements, c = e.Controller, u = c.hasFocus, d = c.getIndex, f = c.go, m = e.Direction.resolve, h = l.pagination, v = [], y, p;
|
|
5822
5829
|
function g() {
|
|
5823
|
-
_(), r([_e,
|
|
5824
|
-
var
|
|
5825
|
-
h && Yt(h,
|
|
5830
|
+
_(), r([_e, le, fi], g);
|
|
5831
|
+
var x = i.pagination;
|
|
5832
|
+
h && Yt(h, x ? "" : "none"), x && (r([Ue, bi, ht], V), P(), V(), s(qr, {
|
|
5826
5833
|
list: y,
|
|
5827
5834
|
items: v
|
|
5828
5835
|
}, O(t.index)));
|
|
@@ -5831,15 +5838,15 @@ function Fu(t, e, i) {
|
|
|
5831
5838
|
y && (ct(h ? tt(y.children) : y), Ke(y, p), We(v), y = null), n.destroy();
|
|
5832
5839
|
}
|
|
5833
5840
|
function P() {
|
|
5834
|
-
var
|
|
5835
|
-
y = h || gt("ul", w.pagination, l.track.parentElement),
|
|
5841
|
+
var x = t.length, w = i.classes, T = i.i18n, D = i.perPage, F = u() ? c.getEnd() + 1 : Kt(x / D);
|
|
5842
|
+
y = h || gt("ul", w.pagination, l.track.parentElement), xe(y, p = Ti + "--" + E()), G(y, je, "tablist"), G(y, we, T.select), G(y, yn, E() === wi ? "vertical" : "");
|
|
5836
5843
|
for (var H = 0; H < F; H++) {
|
|
5837
5844
|
var Q = gt("li", null, y), te = gt("button", {
|
|
5838
5845
|
class: w.page,
|
|
5839
5846
|
type: "button"
|
|
5840
5847
|
}, Q), K = o.getIn(H).map(function(I) {
|
|
5841
5848
|
return I.slide.id;
|
|
5842
|
-
}), R = !u() && D > 1 ?
|
|
5849
|
+
}), R = !u() && D > 1 ? T.pageX : T.slideX;
|
|
5843
5850
|
a(te, "click", Z(L, H)), i.paginationKeyboard && a(te, "keydown", Z(C, H)), G(Q, je, "presentation"), G(te, je, "tab"), G(te, Zt, K.join(" ")), G(te, we, Xi(R, H + 1)), G(te, _t, -1), v.push({
|
|
5844
5851
|
li: Q,
|
|
5845
5852
|
button: te,
|
|
@@ -5847,35 +5854,35 @@ function Fu(t, e, i) {
|
|
|
5847
5854
|
});
|
|
5848
5855
|
}
|
|
5849
5856
|
}
|
|
5850
|
-
function L(
|
|
5851
|
-
f(">" +
|
|
5857
|
+
function L(x) {
|
|
5858
|
+
f(">" + x, !0);
|
|
5852
5859
|
}
|
|
5853
|
-
function C(
|
|
5854
|
-
var
|
|
5855
|
-
D === m(Ai, !1, F) ? H =
|
|
5860
|
+
function C(x, w) {
|
|
5861
|
+
var T = v.length, D = Sn(w), F = E(), H = -1;
|
|
5862
|
+
D === m(Ai, !1, F) ? H = ++x % T : D === m(Ci, !1, F) ? H = (--x + T) % T : D === "Home" ? H = 0 : D === "End" && (H = T - 1);
|
|
5856
5863
|
var Q = v[H];
|
|
5857
5864
|
Q && (Fr(Q.button), f(">" + H), He(w, !0));
|
|
5858
5865
|
}
|
|
5859
5866
|
function E() {
|
|
5860
5867
|
return i.paginationDirection || i.direction;
|
|
5861
5868
|
}
|
|
5862
|
-
function O(
|
|
5863
|
-
return v[c.toPage(
|
|
5869
|
+
function O(x) {
|
|
5870
|
+
return v[c.toPage(x)];
|
|
5864
5871
|
}
|
|
5865
5872
|
function V() {
|
|
5866
|
-
var
|
|
5867
|
-
if (
|
|
5868
|
-
var
|
|
5869
|
-
Ke(
|
|
5873
|
+
var x = O(d(!0)), w = O(d());
|
|
5874
|
+
if (x) {
|
|
5875
|
+
var T = x.button;
|
|
5876
|
+
Ke(T, ut), Re(T, Zn), G(T, _t, -1);
|
|
5870
5877
|
}
|
|
5871
5878
|
if (w) {
|
|
5872
5879
|
var D = w.button;
|
|
5873
|
-
|
|
5880
|
+
xe(D, ut), G(D, Zn, !0), G(D, _t, "");
|
|
5874
5881
|
}
|
|
5875
5882
|
s(Xr, {
|
|
5876
5883
|
list: y,
|
|
5877
5884
|
items: v
|
|
5878
|
-
},
|
|
5885
|
+
}, x, w);
|
|
5879
5886
|
}
|
|
5880
5887
|
return {
|
|
5881
5888
|
items: v,
|
|
@@ -5886,7 +5893,7 @@ function Fu(t, e, i) {
|
|
|
5886
5893
|
};
|
|
5887
5894
|
}
|
|
5888
5895
|
var xu = [" ", "Enter"];
|
|
5889
|
-
function
|
|
5896
|
+
function Ru(t, e, i) {
|
|
5890
5897
|
var n = i.isNavigation, r = i.slideFocus, s = [];
|
|
5891
5898
|
function a() {
|
|
5892
5899
|
t.splides.forEach(function(h) {
|
|
@@ -5902,13 +5909,13 @@ function $u(t, e, i) {
|
|
|
5902
5909
|
o(), a();
|
|
5903
5910
|
}
|
|
5904
5911
|
function c(h, v) {
|
|
5905
|
-
var y =
|
|
5912
|
+
var y = ne(h);
|
|
5906
5913
|
y.on(Ue, function(p, g, _) {
|
|
5907
5914
|
v.go(v.is(It) ? _ : p);
|
|
5908
5915
|
}), s.push(y);
|
|
5909
5916
|
}
|
|
5910
5917
|
function u() {
|
|
5911
|
-
var h =
|
|
5918
|
+
var h = ne(t), v = h.on;
|
|
5912
5919
|
v(hn, f), v(Zr, m), v([it, _e], d), s.push(h), h.emit(vn, t.splides);
|
|
5913
5920
|
}
|
|
5914
5921
|
function d() {
|
|
@@ -5929,8 +5936,8 @@ function $u(t, e, i) {
|
|
|
5929
5936
|
remount: l
|
|
5930
5937
|
};
|
|
5931
5938
|
}
|
|
5932
|
-
function
|
|
5933
|
-
var n =
|
|
5939
|
+
function Vu(t, e, i) {
|
|
5940
|
+
var n = ne(t), r = n.bind, s = 0;
|
|
5934
5941
|
function a() {
|
|
5935
5942
|
i.wheel && r(e.Elements.track, "wheel", o, vt);
|
|
5936
5943
|
}
|
|
@@ -5947,9 +5954,9 @@ function Ru(t, e, i) {
|
|
|
5947
5954
|
mount: a
|
|
5948
5955
|
};
|
|
5949
5956
|
}
|
|
5950
|
-
var
|
|
5951
|
-
function
|
|
5952
|
-
var n =
|
|
5957
|
+
var Bu = 90;
|
|
5958
|
+
function Hu(t, e, i) {
|
|
5959
|
+
var n = ne(t), r = n.on, s = e.Elements.track, a = i.live && !i.isNavigation, o = gt("span", su), l = Ei(Bu, Z(u, !1));
|
|
5953
5960
|
function c() {
|
|
5954
5961
|
a && (f(!e.Autoplay.isPaused()), G(s, tr, !0), o.textContent = "…", r(mn, Z(f, !0)), r(pn, Z(f, !1)), r([wt, ht], Z(u, !0)));
|
|
5955
5962
|
}
|
|
@@ -5968,28 +5975,28 @@ function Bu(t, e, i) {
|
|
|
5968
5975
|
destroy: d
|
|
5969
5976
|
};
|
|
5970
5977
|
}
|
|
5971
|
-
var
|
|
5978
|
+
var Yu = /* @__PURE__ */ Object.freeze({
|
|
5972
5979
|
__proto__: null,
|
|
5973
|
-
Media:
|
|
5974
|
-
Direction:
|
|
5975
|
-
Elements:
|
|
5976
|
-
Slides:
|
|
5977
|
-
Layout:
|
|
5978
|
-
Clones:
|
|
5979
|
-
Move:
|
|
5980
|
-
Controller:
|
|
5981
|
-
Arrows:
|
|
5982
|
-
Autoplay:
|
|
5983
|
-
Cover:
|
|
5984
|
-
Scroll:
|
|
5985
|
-
Drag:
|
|
5986
|
-
Keyboard:
|
|
5987
|
-
LazyLoad:
|
|
5988
|
-
Pagination:
|
|
5989
|
-
Sync:
|
|
5990
|
-
Wheel:
|
|
5991
|
-
Live:
|
|
5992
|
-
}),
|
|
5980
|
+
Media: Xc,
|
|
5981
|
+
Direction: Jc,
|
|
5982
|
+
Elements: du,
|
|
5983
|
+
Slides: fu,
|
|
5984
|
+
Layout: vu,
|
|
5985
|
+
Clones: pu,
|
|
5986
|
+
Move: gu,
|
|
5987
|
+
Controller: _u,
|
|
5988
|
+
Arrows: Eu,
|
|
5989
|
+
Autoplay: Cu,
|
|
5990
|
+
Cover: Au,
|
|
5991
|
+
Scroll: Du,
|
|
5992
|
+
Drag: ku,
|
|
5993
|
+
Keyboard: Nu,
|
|
5994
|
+
LazyLoad: Fu,
|
|
5995
|
+
Pagination: $u,
|
|
5996
|
+
Sync: Ru,
|
|
5997
|
+
Wheel: Vu,
|
|
5998
|
+
Live: Hu
|
|
5999
|
+
}), Ku = {
|
|
5993
6000
|
prev: "Previous slide",
|
|
5994
6001
|
next: "Next slide",
|
|
5995
6002
|
first: "Go to first slide",
|
|
@@ -6002,7 +6009,7 @@ var Hu = /* @__PURE__ */ Object.freeze({
|
|
|
6002
6009
|
slide: "slide",
|
|
6003
6010
|
select: "Select a slide to show",
|
|
6004
6011
|
slideLabel: "%s of %s"
|
|
6005
|
-
},
|
|
6012
|
+
}, ju = {
|
|
6006
6013
|
type: "slide",
|
|
6007
6014
|
role: "region",
|
|
6008
6015
|
speed: 400,
|
|
@@ -6021,18 +6028,18 @@ var Hu = /* @__PURE__ */ Object.freeze({
|
|
|
6021
6028
|
trimSpace: !0,
|
|
6022
6029
|
focusableNodes: "a, button, textarea, input, select, iframe",
|
|
6023
6030
|
live: !0,
|
|
6024
|
-
classes:
|
|
6025
|
-
i18n:
|
|
6031
|
+
classes: lu,
|
|
6032
|
+
i18n: Ku,
|
|
6026
6033
|
reducedMotion: {
|
|
6027
6034
|
speed: 0,
|
|
6028
6035
|
rewindSpeed: 0,
|
|
6029
6036
|
autoplay: "pause"
|
|
6030
6037
|
}
|
|
6031
6038
|
};
|
|
6032
|
-
function
|
|
6039
|
+
function Gu(t, e, i) {
|
|
6033
6040
|
var n = e.Slides;
|
|
6034
6041
|
function r() {
|
|
6035
|
-
|
|
6042
|
+
ne(t).on([it, le], s);
|
|
6036
6043
|
}
|
|
6037
6044
|
function s() {
|
|
6038
6045
|
n.forEach(function(o) {
|
|
@@ -6048,10 +6055,10 @@ function ju(t, e, i) {
|
|
|
6048
6055
|
cancel: Ui
|
|
6049
6056
|
};
|
|
6050
6057
|
}
|
|
6051
|
-
function
|
|
6058
|
+
function Wu(t, e, i) {
|
|
6052
6059
|
var n = e.Move, r = e.Controller, s = e.Scroll, a = e.Elements.list, o = Z(Te, a, "transition"), l;
|
|
6053
6060
|
function c() {
|
|
6054
|
-
|
|
6061
|
+
ne(t).bind(a, "transitionend", function(m) {
|
|
6055
6062
|
m.target === a && l && (d(), l());
|
|
6056
6063
|
});
|
|
6057
6064
|
}
|
|
@@ -6077,26 +6084,26 @@ function Gu(t, e, i) {
|
|
|
6077
6084
|
cancel: d
|
|
6078
6085
|
};
|
|
6079
6086
|
}
|
|
6080
|
-
var
|
|
6087
|
+
var Uu = /* @__PURE__ */ function() {
|
|
6081
6088
|
function t(i, n) {
|
|
6082
|
-
this.event =
|
|
6083
|
-
var r = Ze(i) ?
|
|
6084
|
-
|
|
6089
|
+
this.event = ne(), this.Components = {}, this.state = zc(pt), this.splides = [], this._o = {}, this._E = {};
|
|
6090
|
+
var r = Ze(i) ? xr(document, i) : i;
|
|
6091
|
+
$t(r, r + " is invalid."), this.root = r, n = Xe({
|
|
6085
6092
|
label: Oe(r, we) || "",
|
|
6086
6093
|
labelledby: Oe(r, _n) || ""
|
|
6087
|
-
},
|
|
6094
|
+
}, ju, t.defaults, n || {});
|
|
6088
6095
|
try {
|
|
6089
6096
|
Xe(n, JSON.parse(Oe(r, un)));
|
|
6090
6097
|
} catch {
|
|
6091
|
-
|
|
6098
|
+
$t(!1, "Invalid JSON");
|
|
6092
6099
|
}
|
|
6093
6100
|
this._o = Object.create(Xe({}, n));
|
|
6094
6101
|
}
|
|
6095
6102
|
var e = t.prototype;
|
|
6096
6103
|
return e.mount = function(n, r) {
|
|
6097
6104
|
var s = this, a = this.state, o = this.Components;
|
|
6098
|
-
|
|
6099
|
-
var l = Ht({},
|
|
6105
|
+
$t(a.is([pt, ui]), "Already mounted!"), a.set(pt), this._C = o, this._T = r || this._T || (this.is(Qt) ? Gu : Wu), this._E = n || this._E;
|
|
6106
|
+
var l = Ht({}, Yu, this._E, {
|
|
6100
6107
|
Transition: this._T
|
|
6101
6108
|
});
|
|
6102
6109
|
return lt(l, function(c, u) {
|
|
@@ -6104,7 +6111,7 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6104
6111
|
o[u] = d, d.setup && d.setup();
|
|
6105
6112
|
}), lt(o, function(c) {
|
|
6106
6113
|
c.mount && c.mount();
|
|
6107
|
-
}), this.emit(it),
|
|
6114
|
+
}), this.emit(it), xe(this.root, au), a.set(bt), this.emit(Xn), this;
|
|
6108
6115
|
}, e.sync = function(n) {
|
|
6109
6116
|
return this.splides.push({
|
|
6110
6117
|
splide: n
|
|
@@ -6128,14 +6135,14 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6128
6135
|
}, e.is = function(n) {
|
|
6129
6136
|
return this._o.type === n;
|
|
6130
6137
|
}, e.refresh = function() {
|
|
6131
|
-
return this.emit(
|
|
6138
|
+
return this.emit(le), this;
|
|
6132
6139
|
}, e.destroy = function(n) {
|
|
6133
6140
|
n === void 0 && (n = !0);
|
|
6134
6141
|
var r = this.event, s = this.state;
|
|
6135
|
-
return s.is(pt) ?
|
|
6142
|
+
return s.is(pt) ? ne(this).on(Xn, this.destroy.bind(this, n)) : (lt(this._C, function(a) {
|
|
6136
6143
|
a.destroy && a.destroy(n);
|
|
6137
6144
|
}, !0), r.emit(fn), r.destroy(), n && We(this.splides), s.set(ui)), this;
|
|
6138
|
-
},
|
|
6145
|
+
}, Kc(t, [{
|
|
6139
6146
|
key: "options",
|
|
6140
6147
|
get: function() {
|
|
6141
6148
|
return this._o;
|
|
@@ -6154,9 +6161,9 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6154
6161
|
return this._C.Controller.getIndex();
|
|
6155
6162
|
}
|
|
6156
6163
|
}]), t;
|
|
6157
|
-
}(), Cn =
|
|
6164
|
+
}(), Cn = Uu;
|
|
6158
6165
|
Cn.defaults = {};
|
|
6159
|
-
Cn.STATES =
|
|
6166
|
+
Cn.STATES = Gc;
|
|
6160
6167
|
const sr = [
|
|
6161
6168
|
Br,
|
|
6162
6169
|
Ur,
|
|
@@ -6178,7 +6185,7 @@ const sr = [
|
|
|
6178
6185
|
vn,
|
|
6179
6186
|
qr,
|
|
6180
6187
|
Xr,
|
|
6181
|
-
|
|
6188
|
+
le,
|
|
6182
6189
|
Et,
|
|
6183
6190
|
yi,
|
|
6184
6191
|
bi,
|
|
@@ -6189,7 +6196,7 @@ const sr = [
|
|
|
6189
6196
|
function ar(t) {
|
|
6190
6197
|
return t !== null && typeof t == "object";
|
|
6191
6198
|
}
|
|
6192
|
-
function
|
|
6199
|
+
function zu(t, e) {
|
|
6193
6200
|
if (t) {
|
|
6194
6201
|
const i = Object.keys(t);
|
|
6195
6202
|
for (let n = 0; n < i.length; n++) {
|
|
@@ -6202,11 +6209,11 @@ function Uu(t, e) {
|
|
|
6202
6209
|
}
|
|
6203
6210
|
function vs(t, e) {
|
|
6204
6211
|
const i = t;
|
|
6205
|
-
return
|
|
6212
|
+
return zu(e, (n, r) => {
|
|
6206
6213
|
Array.isArray(n) ? i[r] = n.slice() : ar(n) ? i[r] = vs(ar(i[r]) ? i[r] : {}, n) : i[r] = n;
|
|
6207
6214
|
}), i;
|
|
6208
6215
|
}
|
|
6209
|
-
const
|
|
6216
|
+
const qu = W({
|
|
6210
6217
|
name: "SplideTrack",
|
|
6211
6218
|
setup() {
|
|
6212
6219
|
ur(() => {
|
|
@@ -6220,18 +6227,18 @@ const zu = W({
|
|
|
6220
6227
|
for (const [n, r] of e)
|
|
6221
6228
|
i[n] = r;
|
|
6222
6229
|
return i;
|
|
6223
|
-
},
|
|
6224
|
-
function
|
|
6225
|
-
return S(),
|
|
6226
|
-
b("ul",
|
|
6230
|
+
}, Xu = { class: "splide__track" }, Ju = { class: "splide__list" };
|
|
6231
|
+
function Zu(t, e, i, n, r, s) {
|
|
6232
|
+
return S(), M("div", Xu, [
|
|
6233
|
+
b("ul", Ju, [
|
|
6227
6234
|
q(t.$slots, "default")
|
|
6228
6235
|
])
|
|
6229
6236
|
]);
|
|
6230
6237
|
}
|
|
6231
|
-
const
|
|
6238
|
+
const Qu = /* @__PURE__ */ An(qu, [["render", Zu]]), ed = W({
|
|
6232
6239
|
name: "Splide",
|
|
6233
6240
|
emits: sr.map((t) => `splide:${t}`),
|
|
6234
|
-
components: { SplideTrack:
|
|
6241
|
+
components: { SplideTrack: Qu },
|
|
6235
6242
|
props: {
|
|
6236
6243
|
tag: {
|
|
6237
6244
|
default: "div",
|
|
@@ -6290,15 +6297,15 @@ const Zu = /* @__PURE__ */ An(zu, [["render", Ju]]), Qu = W({
|
|
|
6290
6297
|
};
|
|
6291
6298
|
}
|
|
6292
6299
|
});
|
|
6293
|
-
function
|
|
6300
|
+
function td(t, e, i, n, r, s) {
|
|
6294
6301
|
const a = Ss("SplideTrack");
|
|
6295
|
-
return S(),
|
|
6302
|
+
return S(), oe(Cs(t.tag), {
|
|
6296
6303
|
class: "splide",
|
|
6297
6304
|
ref: "root"
|
|
6298
6305
|
}, {
|
|
6299
|
-
default:
|
|
6300
|
-
t.hasTrack ? (S(),
|
|
6301
|
-
default:
|
|
6306
|
+
default: ie(() => [
|
|
6307
|
+
t.hasTrack ? (S(), oe(a, { key: 0 }, {
|
|
6308
|
+
default: ie(() => [
|
|
6302
6309
|
q(t.$slots, "default")
|
|
6303
6310
|
]),
|
|
6304
6311
|
_: 3
|
|
@@ -6307,15 +6314,15 @@ function ed(t, e, i, n, r, s) {
|
|
|
6307
6314
|
_: 3
|
|
6308
6315
|
}, 512);
|
|
6309
6316
|
}
|
|
6310
|
-
const
|
|
6317
|
+
const id = /* @__PURE__ */ An(ed, [["render", td]]), nd = W({
|
|
6311
6318
|
name: "SplideSlide"
|
|
6312
|
-
}),
|
|
6313
|
-
function
|
|
6314
|
-
return S(),
|
|
6319
|
+
}), rd = { class: "splide__slide" };
|
|
6320
|
+
function sd(t, e, i, n, r, s) {
|
|
6321
|
+
return S(), M("li", rd, [
|
|
6315
6322
|
q(t.$slots, "default")
|
|
6316
6323
|
]);
|
|
6317
6324
|
}
|
|
6318
|
-
const
|
|
6325
|
+
const ad = /* @__PURE__ */ An(nd, [["render", sd]]), od = {
|
|
6319
6326
|
autoplay: !1,
|
|
6320
6327
|
keyboard: !0,
|
|
6321
6328
|
slideFocus: !0,
|
|
@@ -6345,14 +6352,14 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6345
6352
|
gap: "2rem"
|
|
6346
6353
|
}
|
|
6347
6354
|
}
|
|
6348
|
-
},
|
|
6355
|
+
}, ld = {
|
|
6349
6356
|
class: "m-component m-component-slider-comment",
|
|
6350
6357
|
style: { overflow: "hidden" }
|
|
6351
|
-
},
|
|
6358
|
+
}, cd = { class: "container" }, ud = { class: "m-component__grid" }, dd = { class: "m-component__column" }, hd = {
|
|
6352
6359
|
class: "m-slider m-slider--visible-preview",
|
|
6353
6360
|
"aria-label": "Slider mit Elementen",
|
|
6354
6361
|
"data-m-slider-splide": "m-slider-comment"
|
|
6355
|
-
},
|
|
6362
|
+
}, fd = /* @__PURE__ */ W({
|
|
6356
6363
|
__name: "MucSlider",
|
|
6357
6364
|
emits: ["changeSlide"],
|
|
6358
6365
|
setup(t, { emit: e }) {
|
|
@@ -6367,12 +6374,12 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6367
6374
|
n.value && n.value.splide && (s.value = n.value.length, n.value.splide.on("move", () => {
|
|
6368
6375
|
n.value && (r.value = n.value.splide.index, i("changeSlide", n.value.splide.index));
|
|
6369
6376
|
}));
|
|
6370
|
-
}), (u, d) => (S(),
|
|
6371
|
-
b("div",
|
|
6372
|
-
b("div",
|
|
6373
|
-
b("div",
|
|
6374
|
-
b("section",
|
|
6375
|
-
l.value ? (S(),
|
|
6377
|
+
}), (u, d) => (S(), M("div", ld, [
|
|
6378
|
+
b("div", cd, [
|
|
6379
|
+
b("div", ud, [
|
|
6380
|
+
b("div", dd, [
|
|
6381
|
+
b("section", hd, [
|
|
6382
|
+
l.value ? (S(), M("button", {
|
|
6376
6383
|
key: 0,
|
|
6377
6384
|
"aria-label": "Vorheriges Element",
|
|
6378
6385
|
class: "previous-button is-control",
|
|
@@ -6382,19 +6389,19 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6382
6389
|
b("use", { "xlink:href": "#icon-arrow-left" })
|
|
6383
6390
|
], -1)
|
|
6384
6391
|
]))) : U("", !0),
|
|
6385
|
-
|
|
6386
|
-
options: X(
|
|
6392
|
+
re(X(id), {
|
|
6393
|
+
options: X(od),
|
|
6387
6394
|
"aria-label": `Dies ist ein Karussell mit rotierenden Elementen. Verwenden Sie
|
|
6388
6395
|
die Pfeiltaste links und rechts oder die Buttons um zu navigieren.`,
|
|
6389
6396
|
ref_key: "splide",
|
|
6390
6397
|
ref: n
|
|
6391
6398
|
}, {
|
|
6392
|
-
default:
|
|
6399
|
+
default: ie(() => [
|
|
6393
6400
|
q(u.$slots, "default", {}, void 0, !0)
|
|
6394
6401
|
]),
|
|
6395
6402
|
_: 3
|
|
6396
6403
|
}, 8, ["options"]),
|
|
6397
|
-
c.value ? (S(),
|
|
6404
|
+
c.value ? (S(), M("button", {
|
|
6398
6405
|
key: 1,
|
|
6399
6406
|
"aria-label": "Nächstes Element",
|
|
6400
6407
|
class: "next-button is-control",
|
|
@@ -6410,17 +6417,17 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6410
6417
|
])
|
|
6411
6418
|
]));
|
|
6412
6419
|
}
|
|
6413
|
-
}),
|
|
6420
|
+
}), vd = /* @__PURE__ */ ue(fd, [["__scopeId", "data-v-c7e8c8ae"]]), md = /* @__PURE__ */ W({
|
|
6414
6421
|
__name: "MucSliderItem",
|
|
6415
6422
|
setup(t) {
|
|
6416
|
-
return (e, i) => (S(),
|
|
6417
|
-
default:
|
|
6423
|
+
return (e, i) => (S(), oe(X(ad), null, {
|
|
6424
|
+
default: ie(() => [
|
|
6418
6425
|
q(e.$slots, "default")
|
|
6419
6426
|
]),
|
|
6420
6427
|
_: 3
|
|
6421
6428
|
}));
|
|
6422
6429
|
}
|
|
6423
|
-
}),
|
|
6430
|
+
}), pd = ["tabindex", "aria-label"], gd = { "aria-disabled": "true" }, _d = /* @__PURE__ */ W({
|
|
6424
6431
|
__name: "MucStepperItem",
|
|
6425
6432
|
props: {
|
|
6426
6433
|
item: {},
|
|
@@ -6437,28 +6444,28 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6437
6444
|
), a = () => {
|
|
6438
6445
|
t.isDone && !t.disabled && i("click", t.item.id);
|
|
6439
6446
|
};
|
|
6440
|
-
return (o, l) => (S(),
|
|
6441
|
-
class:
|
|
6447
|
+
return (o, l) => (S(), M("li", {
|
|
6448
|
+
class: ce(["m-form-step", {
|
|
6442
6449
|
"m-form-step--current": o.isActive,
|
|
6443
6450
|
"show-cursor": o.isDone && !o.disabled && !o.isActive
|
|
6444
6451
|
}]),
|
|
6445
6452
|
onClick: a
|
|
6446
6453
|
}, [
|
|
6447
6454
|
b("div", {
|
|
6448
|
-
class:
|
|
6455
|
+
class: ce(["m-form-step__icon", { disabled: o.disabled }]),
|
|
6449
6456
|
tabindex: r.value,
|
|
6450
6457
|
"aria-label": s.value
|
|
6451
6458
|
}, [
|
|
6452
|
-
|
|
6453
|
-
], 10,
|
|
6459
|
+
re(X(Ie), { icon: n.value }, null, 8, ["icon"])
|
|
6460
|
+
], 10, pd),
|
|
6454
6461
|
b("div", {
|
|
6455
|
-
class:
|
|
6462
|
+
class: ce(["m-form-step__title", { disabled: o.disabled }])
|
|
6456
6463
|
}, [
|
|
6457
|
-
b("span",
|
|
6464
|
+
b("span", gd, Y(o.item.label), 1)
|
|
6458
6465
|
], 2)
|
|
6459
6466
|
], 2));
|
|
6460
6467
|
}
|
|
6461
|
-
}),
|
|
6468
|
+
}), yd = /* @__PURE__ */ ue(_d, [["__scopeId", "data-v-a75259ca"]]), bd = { class: "m-component m-component-form-progress" }, Ed = { class: "container" }, Sd = { class: "m-component__grid" }, Cd = { class: "m-component__column" }, Ad = { class: "m-form-steps" }, wd = /* @__PURE__ */ W({
|
|
6462
6469
|
__name: "MucStepper",
|
|
6463
6470
|
props: {
|
|
6464
6471
|
stepItems: {},
|
|
@@ -6477,12 +6484,12 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6477
6484
|
const n = (c) => t.stepItems.findIndex((u) => u.id === c), r = pe(n(t.activeItem)), s = (c) => c === t.activeItem, a = (c) => n(c) < r.value, o = (c) => t.disablePreviousSteps && !s(c) && a(c), l = (c) => {
|
|
6478
6485
|
i("changeStep", c);
|
|
6479
6486
|
};
|
|
6480
|
-
return (c, u) => (S(),
|
|
6481
|
-
b("div",
|
|
6482
|
-
b("div",
|
|
6483
|
-
b("div",
|
|
6484
|
-
b("ol",
|
|
6485
|
-
(S(!0),
|
|
6487
|
+
return (c, u) => (S(), M("div", bd, [
|
|
6488
|
+
b("div", Ed, [
|
|
6489
|
+
b("div", Sd, [
|
|
6490
|
+
b("div", Cd, [
|
|
6491
|
+
b("ol", Ad, [
|
|
6492
|
+
(S(!0), M(De, null, Fe(c.stepItems, (d) => (S(), oe(yd, {
|
|
6486
6493
|
key: d.id,
|
|
6487
6494
|
item: d,
|
|
6488
6495
|
"is-active": s(d.id),
|
|
@@ -6500,62 +6507,62 @@ const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
|
6500
6507
|
__proto__: null,
|
|
6501
6508
|
MucBanner: Ts,
|
|
6502
6509
|
MucButton: Je,
|
|
6503
|
-
MucCalendar:
|
|
6504
|
-
MucCallout:
|
|
6505
|
-
MucCard:
|
|
6506
|
-
MucCardContainer:
|
|
6507
|
-
MucCheckbox:
|
|
6508
|
-
MucCheckboxGroup:
|
|
6510
|
+
MucCalendar: ra,
|
|
6511
|
+
MucCallout: ha,
|
|
6512
|
+
MucCard: ba,
|
|
6513
|
+
MucCardContainer: Ca,
|
|
6514
|
+
MucCheckbox: Qa,
|
|
6515
|
+
MucCheckboxGroup: oo,
|
|
6509
6516
|
MucComment: vr,
|
|
6510
|
-
MucCommentText:
|
|
6511
|
-
MucCounter:
|
|
6517
|
+
MucCommentText: Ha,
|
|
6518
|
+
MucCounter: Eo,
|
|
6512
6519
|
MucDivider: tn,
|
|
6513
|
-
MucErrorList:
|
|
6514
|
-
MucFileDropzone:
|
|
6520
|
+
MucErrorList: Mo,
|
|
6521
|
+
MucFileDropzone: Xa,
|
|
6515
6522
|
MucIcon: Ie,
|
|
6516
6523
|
MucInput: xo,
|
|
6517
|
-
MucIntro:
|
|
6524
|
+
MucIntro: Rc,
|
|
6518
6525
|
MucLink: mr,
|
|
6519
|
-
MucPercentageSpinner:
|
|
6520
|
-
MucRadioButton:
|
|
6521
|
-
MucRadioButtonGroup:
|
|
6522
|
-
MucSelect:
|
|
6523
|
-
MucSlider:
|
|
6524
|
-
MucSliderItem:
|
|
6525
|
-
MucStepper:
|
|
6526
|
-
MucTextArea:
|
|
6526
|
+
MucPercentageSpinner: Hc,
|
|
6527
|
+
MucRadioButton: Yo,
|
|
6528
|
+
MucRadioButtonGroup: zo,
|
|
6529
|
+
MucSelect: Ac,
|
|
6530
|
+
MucSlider: vd,
|
|
6531
|
+
MucSliderItem: md,
|
|
6532
|
+
MucStepper: wd,
|
|
6533
|
+
MucTextArea: Oc
|
|
6527
6534
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6528
|
-
function
|
|
6535
|
+
function Id(t) {
|
|
6529
6536
|
for (const e in or)
|
|
6530
6537
|
t.component(e, or[e]);
|
|
6531
6538
|
}
|
|
6532
|
-
const
|
|
6539
|
+
const Td = { install: Id };
|
|
6533
6540
|
export {
|
|
6534
6541
|
Ts as MucBanner,
|
|
6535
6542
|
Je as MucButton,
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6543
|
+
ra as MucCalendar,
|
|
6544
|
+
ha as MucCallout,
|
|
6545
|
+
ba as MucCard,
|
|
6546
|
+
Ca as MucCardContainer,
|
|
6547
|
+
Qa as MucCheckbox,
|
|
6548
|
+
oo as MucCheckboxGroup,
|
|
6542
6549
|
vr as MucComment,
|
|
6543
|
-
|
|
6544
|
-
|
|
6550
|
+
Ha as MucCommentText,
|
|
6551
|
+
Eo as MucCounter,
|
|
6545
6552
|
tn as MucDivider,
|
|
6546
|
-
|
|
6547
|
-
|
|
6553
|
+
Mo as MucErrorList,
|
|
6554
|
+
Xa as MucFileDropzone,
|
|
6548
6555
|
Ie as MucIcon,
|
|
6549
6556
|
xo as MucInput,
|
|
6550
|
-
|
|
6557
|
+
Rc as MucIntro,
|
|
6551
6558
|
mr as MucLink,
|
|
6552
|
-
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6559
|
+
Hc as MucPercentageSpinner,
|
|
6560
|
+
Yo as MucRadioButton,
|
|
6561
|
+
zo as MucRadioButtonGroup,
|
|
6562
|
+
Ac as MucSelect,
|
|
6563
|
+
vd as MucSlider,
|
|
6564
|
+
md as MucSliderItem,
|
|
6565
|
+
wd as MucStepper,
|
|
6566
|
+
Oc as MucTextArea,
|
|
6567
|
+
Td as default
|
|
6561
6568
|
};
|