@muenchen/muc-patternlab-vue 5.6.0 → 5.6.2
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/muc-patternlab-vue.css +1 -1
- package/muc-patternlab-vue.es.js +598 -592
- package/package.json +11 -11
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as U, useAttrs as gs, computed as L, createElementBlock as
|
|
2
|
-
const Cs = ["href"],
|
|
1
|
+
import { defineComponent as U, useAttrs as gs, computed as L, createElementBlock as w, openBlock as E, normalizeStyle as _s, normalizeClass as ae, createElementVNode as y, createVNode as re, renderSlot as q, unref as X, createCommentVNode as W, createBlock as se, inject as Gt, withKeys as Qi, toDisplayString as x, Fragment as De, renderList as Pe, mergeModels as Fe, ref as ve, useModel as dt, provide as en, readonly as xi, toRef as Ri, withCtx as te, Transition as Oi, useSlots as lr, createTextVNode as ue, createSlots as ys, createStaticVNode as cr, onMounted as vi, onUpdated as ur, withModifiers as Nt, watch as bt, withDirectives as dr, vModelDynamic as bs, onBeforeUnmount as hr, vModelText as Es, resolveComponent as Ss, resolveDynamicComponent as As, useTemplateRef as ws } from "vue";
|
|
2
|
+
const Cs = ["href"], we = /* @__PURE__ */ U({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
5
5
|
icon: {},
|
|
@@ -7,7 +7,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
7
7
|
},
|
|
8
8
|
setup(t) {
|
|
9
9
|
const e = gs(), i = L(() => e.class ?? "icon");
|
|
10
|
-
return (n, r) => (E(),
|
|
10
|
+
return (n, r) => (E(), w("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
12
|
class: ae(i.value),
|
|
13
13
|
style: _s({ color: n.color })
|
|
@@ -74,7 +74,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
74
74
|
return "information";
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
return (s, a) => (E(),
|
|
77
|
+
return (s, a) => (E(), w("div", null, [
|
|
78
78
|
y("div", null, [
|
|
79
79
|
y("div", {
|
|
80
80
|
class: ae(["m-banner", e.value]),
|
|
@@ -82,7 +82,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
82
82
|
"aria-label": n.value
|
|
83
83
|
}, [
|
|
84
84
|
y("div", Ms, [
|
|
85
|
-
re(X(
|
|
85
|
+
re(X(we), { icon: r.value }, null, 8, ["icon"]),
|
|
86
86
|
q(s.$slots, "default")
|
|
87
87
|
])
|
|
88
88
|
], 10, Is)
|
|
@@ -112,14 +112,14 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
112
112
|
}), r = L(() => t.iconAnimated && t.iconShownLeft ? "m-button--animated-left" : t.iconAnimated ? "m-button--animated-right" : ""), s = () => {
|
|
113
113
|
t.disabled || i("click");
|
|
114
114
|
}, a = L(() => t.disabled ? "disabled" : "");
|
|
115
|
-
return (o, l) => (E(),
|
|
115
|
+
return (o, l) => (E(), w("button", {
|
|
116
116
|
onClick: s,
|
|
117
117
|
"aria-disabled": o.disabled,
|
|
118
118
|
class: ae(["m-button", [n.value, r.value, a.value]])
|
|
119
119
|
}, [
|
|
120
120
|
y("span", null, [
|
|
121
121
|
o.iconShownLeft ? W("", !0) : q(o.$slots, "default", { key: 0 }, void 0, !0),
|
|
122
|
-
o.icon ? (E(), se(X(
|
|
122
|
+
o.icon ? (E(), se(X(we), {
|
|
123
123
|
key: 1,
|
|
124
124
|
icon: o.icon,
|
|
125
125
|
class: ae(["m-button__icon", {
|
|
@@ -136,7 +136,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
136
136
|
for (const [n, r] of e)
|
|
137
137
|
i[n] = r;
|
|
138
138
|
return i;
|
|
139
|
-
}, Je = /* @__PURE__ */ de(Ds, [["__scopeId", "data-v-7b6653ac"]]), li = "de-DE", fr = 12, mi = Symbol("mucCalendar"), kt = (t, e) => t.getDate() === e.getDate() && t.getMonth() === e.getMonth() && t.getFullYear() === e.getFullYear(), Vi = (t, e) => t > e, $t = (t) => t !== null && t.from !== void 0 && t.to !== void 0, ks = ["tabindex", "aria-label"], Ls = /* @__PURE__ */ U({
|
|
139
|
+
}, Je = /* @__PURE__ */ de(Ds, [["__scopeId", "data-v-7b6653ac"]]), li = "de-DE", fr = 12, mi = Symbol("mucCalendar"), kt = (t, e) => t.getDate() === e.getDate() && t.getMonth() === e.getMonth() && t.getFullYear() === e.getFullYear(), Vi = (t, e) => t > e, $t = (t) => t !== null && t.from !== void 0 && t.to !== void 0, ks = ["tabindex", "aria-label", "aria-disabled"], Ls = /* @__PURE__ */ U({
|
|
140
140
|
__name: "MucDayTile",
|
|
141
141
|
props: {
|
|
142
142
|
date: {},
|
|
@@ -166,7 +166,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
166
166
|
), l = () => {
|
|
167
167
|
a.value || n("click", t.date);
|
|
168
168
|
};
|
|
169
|
-
return (c, u) => o.value || c.showAdjacentMonths ? (E(),
|
|
169
|
+
return (c, u) => o.value || c.showAdjacentMonths ? (E(), w("div", {
|
|
170
170
|
key: 0,
|
|
171
171
|
onClick: l,
|
|
172
172
|
onKeyup: Qi(l, ["enter"]),
|
|
@@ -178,10 +178,11 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
178
178
|
}),
|
|
179
179
|
tabindex: a.value ? "-1" : "0",
|
|
180
180
|
role: "button",
|
|
181
|
-
"aria-label": `${c.date.getDate()} auswählen
|
|
182
|
-
|
|
181
|
+
"aria-label": `${c.date.getDate()} auswählen`,
|
|
182
|
+
"aria-disabled": a.value
|
|
183
|
+
}, x(c.date.getDate()), 43, ks)) : W("", !0);
|
|
183
184
|
}
|
|
184
|
-
}), Ns = /* @__PURE__ */ de(Ls, [["__scopeId", "data-v-
|
|
185
|
+
}), Ns = /* @__PURE__ */ de(Ls, [["__scopeId", "data-v-db120593"]]), $s = { class: "muc-calendar-view-full-size" }, Ps = { class: "muc-calendar-container table-header" }, Fs = { class: "muc-calendar-container" }, xs = 7, Rs = /* @__PURE__ */ U({
|
|
185
186
|
__name: "MucCalendarDay",
|
|
186
187
|
props: {
|
|
187
188
|
viewDate: {},
|
|
@@ -191,7 +192,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
191
192
|
},
|
|
192
193
|
emits: ["clicked"],
|
|
193
194
|
setup(t, { emit: e }) {
|
|
194
|
-
const i = 6 *
|
|
195
|
+
const i = 6 * xs, n = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = t, s = e, a = L(
|
|
195
196
|
() => new Date(r.viewDate.getFullYear(), r.viewDate.getMonth(), 1)
|
|
196
197
|
), o = L(
|
|
197
198
|
() => r.showAdjacentMonths ? 0 : (a.value.getDay() || 7) - 1
|
|
@@ -199,19 +200,19 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
199
200
|
() => u(a.value, -a.value.getDay() || -7)
|
|
200
201
|
), c = (d) => {
|
|
201
202
|
s("clicked", d);
|
|
202
|
-
}, u = (d,
|
|
203
|
-
return (d,
|
|
203
|
+
}, u = (d, h) => new Date(new Date(d).setDate(d.getDate() + h));
|
|
204
|
+
return (d, h) => (E(), w("div", $s, [
|
|
204
205
|
y("div", Ps, [
|
|
205
|
-
(E(),
|
|
206
|
+
(E(), w(De, null, Pe(n, (m, f) => y("div", {
|
|
206
207
|
class: "header-item",
|
|
207
|
-
key:
|
|
208
|
+
key: f
|
|
208
209
|
}, [
|
|
209
|
-
y("strong", null,
|
|
210
|
+
y("strong", null, x(m), 1)
|
|
210
211
|
])), 64))
|
|
211
212
|
]),
|
|
212
213
|
y("div", Fs, [
|
|
213
|
-
(E(!0),
|
|
214
|
-
(E(),
|
|
214
|
+
(E(!0), w(De, null, Pe(o.value, (m) => (E(), w("div", { key: m }))), 128)),
|
|
215
|
+
(E(), w(De, null, Pe(i, (m) => re(Ns, {
|
|
215
216
|
class: "muc-calendar-item",
|
|
216
217
|
date: u(l.value, m),
|
|
217
218
|
"show-adjacent-months": d.showAdjacentMonths,
|
|
@@ -221,7 +222,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
221
222
|
])
|
|
222
223
|
]));
|
|
223
224
|
}
|
|
224
|
-
}), Vs = /* @__PURE__ */ de(
|
|
225
|
+
}), Vs = /* @__PURE__ */ de(Rs, [["__scopeId", "data-v-e7805970"]]), Bs = ["tabindex", "aria-label", "aria-disabled"], Hs = "short", Ys = /* @__PURE__ */ U({
|
|
225
226
|
__name: "MucMonthTile",
|
|
226
227
|
props: {
|
|
227
228
|
date: {}
|
|
@@ -234,7 +235,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
234
235
|
}), a = () => {
|
|
235
236
|
s.value || n("click", t.date);
|
|
236
237
|
};
|
|
237
|
-
return (o, l) => (E(),
|
|
238
|
+
return (o, l) => (E(), w("div", {
|
|
238
239
|
onClick: a,
|
|
239
240
|
onKeyup: Qi(a, ["enter"]),
|
|
240
241
|
class: ae({
|
|
@@ -243,12 +244,13 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
243
244
|
}),
|
|
244
245
|
tabindex: s.value ? "-1" : "0",
|
|
245
246
|
role: "button",
|
|
246
|
-
"aria-label": `${o.date.toLocaleDateString(X(li), { month: "long" })} auswählen
|
|
247
|
+
"aria-label": `${o.date.toLocaleDateString(X(li), { month: "long" })} auswählen`,
|
|
248
|
+
"aria-disabled": s.value
|
|
247
249
|
}, [
|
|
248
|
-
y("p", null,
|
|
250
|
+
y("p", null, x(r(o.date)), 1)
|
|
249
251
|
], 42, Bs));
|
|
250
252
|
}
|
|
251
|
-
}), Ks = /* @__PURE__ */ de(Ys, [["__scopeId", "data-v-
|
|
253
|
+
}), Ks = /* @__PURE__ */ de(Ys, [["__scopeId", "data-v-528928e7"]]), js = { class: "muc-calendar-container muc-calendar-view-full-size" }, Gs = /* @__PURE__ */ U({
|
|
252
254
|
__name: "MucCalendarMonth",
|
|
253
255
|
props: {
|
|
254
256
|
viewDate: {}
|
|
@@ -261,8 +263,8 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
261
263
|
(a, o) => new Date(i.viewDate.getFullYear(), o)
|
|
262
264
|
)
|
|
263
265
|
), s = (a) => n("clicked", a);
|
|
264
|
-
return (a, o) => (E(),
|
|
265
|
-
(E(!0),
|
|
266
|
+
return (a, o) => (E(), w("div", js, [
|
|
267
|
+
(E(!0), w(De, null, Pe(r.value, (l, c) => (E(), se(Ks, {
|
|
266
268
|
key: c,
|
|
267
269
|
class: "muc-calendar-item",
|
|
268
270
|
date: l,
|
|
@@ -270,7 +272,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
270
272
|
}, null, 8, ["date"]))), 128))
|
|
271
273
|
]));
|
|
272
274
|
}
|
|
273
|
-
}), Ws = /* @__PURE__ */ de(Gs, [["__scopeId", "data-v-4dc141ae"]]), Us = ["tabindex", "aria-label"], In = "numeric", zs = /* @__PURE__ */ U({
|
|
275
|
+
}), Ws = /* @__PURE__ */ de(Gs, [["__scopeId", "data-v-4dc141ae"]]), Us = ["tabindex", "aria-label", "aria-disabled"], In = "numeric", zs = /* @__PURE__ */ U({
|
|
274
276
|
__name: "MucYearTile",
|
|
275
277
|
props: {
|
|
276
278
|
date: {}
|
|
@@ -283,7 +285,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
283
285
|
}), a = () => {
|
|
284
286
|
s.value || n("click", t.date);
|
|
285
287
|
};
|
|
286
|
-
return (o, l) => (E(),
|
|
288
|
+
return (o, l) => (E(), w("div", {
|
|
287
289
|
onClick: a,
|
|
288
290
|
onKeyup: Qi(a, ["enter"]),
|
|
289
291
|
class: ae({
|
|
@@ -292,12 +294,13 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
292
294
|
}),
|
|
293
295
|
tabindex: s.value ? "-1" : "0",
|
|
294
296
|
role: "button",
|
|
295
|
-
"aria-label": `${o.date.toLocaleDateString(X(li), { year: In })} auswählen
|
|
297
|
+
"aria-label": `${o.date.toLocaleDateString(X(li), { year: In })} auswählen`,
|
|
298
|
+
"aria-disabled": s.value
|
|
296
299
|
}, [
|
|
297
|
-
y("p", null,
|
|
300
|
+
y("p", null, x(r(o.date)), 1)
|
|
298
301
|
], 42, Us));
|
|
299
302
|
}
|
|
300
|
-
}), qs = /* @__PURE__ */ de(zs, [["__scopeId", "data-v-
|
|
303
|
+
}), qs = /* @__PURE__ */ de(zs, [["__scopeId", "data-v-0e82f1d5"]]), Xs = { class: "muc-calendar-container muc-calendar-view-full-size" }, Js = /* @__PURE__ */ U({
|
|
301
304
|
__name: "MucCalendarYear",
|
|
302
305
|
props: {
|
|
303
306
|
viewDate: {}
|
|
@@ -313,8 +316,8 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
313
316
|
)
|
|
314
317
|
)
|
|
315
318
|
), s = (a) => n("clicked", a);
|
|
316
|
-
return (a, o) => (E(),
|
|
317
|
-
(E(!0),
|
|
319
|
+
return (a, o) => (E(), w("div", Xs, [
|
|
320
|
+
(E(!0), w(De, null, Pe(r.value, (l, c) => (E(), se(qs, {
|
|
318
321
|
key: c,
|
|
319
322
|
class: "muc-calendar-item",
|
|
320
323
|
date: l,
|
|
@@ -368,8 +371,8 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
368
371
|
year: "numeric"
|
|
369
372
|
});
|
|
370
373
|
case "year": {
|
|
371
|
-
const
|
|
372
|
-
return `${
|
|
374
|
+
const A = r.value.getFullYear() - r.value.getFullYear() % 10;
|
|
375
|
+
return `${A} - ${A + 11}`;
|
|
373
376
|
}
|
|
374
377
|
default:
|
|
375
378
|
return "";
|
|
@@ -419,7 +422,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
419
422
|
default:
|
|
420
423
|
return "";
|
|
421
424
|
}
|
|
422
|
-
}),
|
|
425
|
+
}), h = L(() => {
|
|
423
426
|
switch (s.value) {
|
|
424
427
|
case "day":
|
|
425
428
|
return "Nächster Monat";
|
|
@@ -443,7 +446,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
443
446
|
return !1;
|
|
444
447
|
}
|
|
445
448
|
return !1;
|
|
446
|
-
}),
|
|
449
|
+
}), f = L(() => {
|
|
447
450
|
if (n.value)
|
|
448
451
|
switch (s.value) {
|
|
449
452
|
case "day":
|
|
@@ -456,34 +459,34 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
456
459
|
return !1;
|
|
457
460
|
}
|
|
458
461
|
return !1;
|
|
459
|
-
}), v = (
|
|
460
|
-
console.debug($t(o.value)), (Array.isArray(o.value) || $t(o.value)) && (o.value = Object.values(o.value)[0]), o.value = o.value === null || !kt(o.value,
|
|
461
|
-
}, b = (
|
|
462
|
+
}), v = (A) => {
|
|
463
|
+
console.debug($t(o.value)), (Array.isArray(o.value) || $t(o.value)) && (o.value = Object.values(o.value)[0]), o.value = o.value === null || !kt(o.value, A) ? A : null;
|
|
464
|
+
}, b = (A) => {
|
|
462
465
|
o.value === null ? o.value = [] : o.value instanceof Date ? o.value = [o.value] : $t(o.value) && (o.value = [
|
|
463
466
|
o.value.from,
|
|
464
467
|
o.value.to
|
|
465
468
|
].filter((S) => S !== null)), o.value = o.value.some(
|
|
466
|
-
(S) => S.getTime() ===
|
|
469
|
+
(S) => S.getTime() === A.getTime()
|
|
467
470
|
) ? o.value.filter(
|
|
468
|
-
(S) => S.getTime() !==
|
|
469
|
-
) : [...o.value,
|
|
470
|
-
}, p = (
|
|
471
|
-
o.value === null || Array.isArray(o.value) ? o.value = { from: null, to: null } : o.value instanceof Date && (o.value = { from: o.value, to: null }), o.value = !o.value.from || o.value.to ? { from:
|
|
472
|
-
}, g = (
|
|
471
|
+
(S) => S.getTime() !== A.getTime()
|
|
472
|
+
) : [...o.value, A];
|
|
473
|
+
}, p = (A) => {
|
|
474
|
+
o.value === null || Array.isArray(o.value) ? o.value = { from: null, to: null } : o.value instanceof Date && (o.value = { from: o.value, to: null }), o.value = !o.value.from || o.value.to ? { from: A, to: null } : Vi(o.value.from, A) ? { from: A, to: o.value.from } : { from: o.value.from, to: A };
|
|
475
|
+
}, g = (A) => {
|
|
473
476
|
if (!t.disabled)
|
|
474
477
|
switch (t.variant) {
|
|
475
478
|
case "single":
|
|
476
|
-
v(
|
|
479
|
+
v(A);
|
|
477
480
|
break;
|
|
478
481
|
case "multiple":
|
|
479
|
-
b(
|
|
482
|
+
b(A);
|
|
480
483
|
break;
|
|
481
484
|
case "range":
|
|
482
|
-
p(
|
|
485
|
+
p(A);
|
|
483
486
|
break;
|
|
484
487
|
}
|
|
485
|
-
}, _ = (
|
|
486
|
-
a.value = "view-detail", r.value = new Date(
|
|
488
|
+
}, _ = (A) => {
|
|
489
|
+
a.value = "view-detail", r.value = new Date(A.getFullYear(), A.getMonth()), N();
|
|
487
490
|
}, $ = () => {
|
|
488
491
|
a.value = "view-broad", s.value === "day" ? s.value = "month" : s.value === "month" && (s.value = "year");
|
|
489
492
|
}, N = () => {
|
|
@@ -494,10 +497,10 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
494
497
|
minDate: i,
|
|
495
498
|
maxDate: n,
|
|
496
499
|
selectedDate: o,
|
|
497
|
-
variant: Ri(
|
|
498
|
-
showAdjacentMonths: Ri(
|
|
500
|
+
variant: xi(Ri(() => t.variant)),
|
|
501
|
+
showAdjacentMonths: xi(Ri(() => t.showAdjacentMonths)),
|
|
499
502
|
allowedDates: t.allowedDates
|
|
500
|
-
}), (
|
|
503
|
+
}), (A, S) => (E(), w("div", null, [
|
|
501
504
|
y("div", Qs, [
|
|
502
505
|
y("div", ea, [
|
|
503
506
|
re(X(Je), {
|
|
@@ -507,8 +510,8 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
507
510
|
variant: "ghost",
|
|
508
511
|
icon: "chevron-left"
|
|
509
512
|
}, null, 8, ["aria-label", "disabled"]),
|
|
510
|
-
|
|
511
|
-
y("h3", null,
|
|
513
|
+
A.disableViewChange ? (E(), w("div", ta, [
|
|
514
|
+
y("h3", null, x(l.value), 1)
|
|
512
515
|
])) : (E(), se(X(Je), {
|
|
513
516
|
key: 0,
|
|
514
517
|
class: "header",
|
|
@@ -516,14 +519,14 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
516
519
|
onClick: S[0] || (S[0] = (O) => $())
|
|
517
520
|
}, {
|
|
518
521
|
default: te(() => [
|
|
519
|
-
y("h3", null,
|
|
522
|
+
y("h3", null, x(l.value), 1)
|
|
520
523
|
]),
|
|
521
524
|
_: 1
|
|
522
525
|
})),
|
|
523
526
|
re(X(Je), {
|
|
524
527
|
onClick: u,
|
|
525
|
-
"aria-label":
|
|
526
|
-
disabled:
|
|
528
|
+
"aria-label": h.value,
|
|
529
|
+
disabled: f.value,
|
|
527
530
|
variant: "ghost",
|
|
528
531
|
icon: "chevron-right"
|
|
529
532
|
}, null, 8, ["aria-label", "disabled"])
|
|
@@ -531,7 +534,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
531
534
|
y("div", ia, [
|
|
532
535
|
re(Oi, {
|
|
533
536
|
class: "transition",
|
|
534
|
-
css: !
|
|
537
|
+
css: !A.noAnimation,
|
|
535
538
|
name: a.value
|
|
536
539
|
}, {
|
|
537
540
|
default: te(() => [
|
|
@@ -545,7 +548,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
545
548
|
}, 8, ["css", "name"]),
|
|
546
549
|
re(Oi, {
|
|
547
550
|
class: "transition",
|
|
548
|
-
css: !
|
|
551
|
+
css: !A.noAnimation,
|
|
549
552
|
name: a.value
|
|
550
553
|
}, {
|
|
551
554
|
default: te(() => [
|
|
@@ -559,15 +562,15 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
559
562
|
}, 8, ["css", "name"]),
|
|
560
563
|
re(Oi, {
|
|
561
564
|
class: "transition",
|
|
562
|
-
css: !
|
|
565
|
+
css: !A.noAnimation,
|
|
563
566
|
name: a.value
|
|
564
567
|
}, {
|
|
565
568
|
default: te(() => [
|
|
566
569
|
s.value === "day" ? (E(), se(Vs, {
|
|
567
570
|
key: 0,
|
|
568
|
-
variant:
|
|
569
|
-
disabled:
|
|
570
|
-
"show-adjacent-months":
|
|
571
|
+
variant: A.variant,
|
|
572
|
+
disabled: A.disabled,
|
|
573
|
+
"show-adjacent-months": A.showAdjacentMonths,
|
|
571
574
|
"selected-date": o.value,
|
|
572
575
|
"view-date": r.value,
|
|
573
576
|
onClicked: g
|
|
@@ -618,14 +621,14 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
618
621
|
return "Information";
|
|
619
622
|
}
|
|
620
623
|
});
|
|
621
|
-
return (r, s) => (E(),
|
|
624
|
+
return (r, s) => (E(), w("div", {
|
|
622
625
|
class: ae(["m-callout", i.value]),
|
|
623
626
|
"aria-label": n.value
|
|
624
627
|
}, [
|
|
625
628
|
y("div", aa, [
|
|
626
629
|
y("div", oa, [
|
|
627
630
|
q(r.$slots, "icon", {}, () => [
|
|
628
|
-
re(X(
|
|
631
|
+
re(X(we), { icon: e.value }, null, 8, ["icon"])
|
|
629
632
|
])
|
|
630
633
|
]),
|
|
631
634
|
y("div", la, [
|
|
@@ -645,7 +648,7 @@ const Cs = ["href"], Ae = /* @__PURE__ */ U({
|
|
|
645
648
|
}
|
|
646
649
|
}), fa = {}, va = { class: "muc-divider" };
|
|
647
650
|
function ma(t, e) {
|
|
648
|
-
return E(),
|
|
651
|
+
return E(), w("div", va);
|
|
649
652
|
}
|
|
650
653
|
const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11f"]]), pa = { class: "card-content" }, ga = { class: "card-header" }, _a = {
|
|
651
654
|
key: 0,
|
|
@@ -659,7 +662,7 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
659
662
|
emits: ["click"],
|
|
660
663
|
setup(t, { emit: e }) {
|
|
661
664
|
const i = e;
|
|
662
|
-
return (n, r) => (E(),
|
|
665
|
+
return (n, r) => (E(), w("div", {
|
|
663
666
|
class: "card",
|
|
664
667
|
onClick: r[0] || (r[0] = (s) => i("click", s))
|
|
665
668
|
}, [
|
|
@@ -667,9 +670,9 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
667
670
|
y("div", ga, [
|
|
668
671
|
q(n.$slots, "headerPrefix", {}, void 0, !0),
|
|
669
672
|
y("div", null, [
|
|
670
|
-
n.tagline ? (E(),
|
|
673
|
+
n.tagline ? (E(), w("div", _a, x(n.tagline), 1)) : W("", !0),
|
|
671
674
|
y("div", null, [
|
|
672
|
-
y("h3", null,
|
|
675
|
+
y("h3", null, x(n.title), 1)
|
|
673
676
|
])
|
|
674
677
|
])
|
|
675
678
|
]),
|
|
@@ -681,46 +684,46 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
681
684
|
}), ba = /* @__PURE__ */ de(ya, [["__scopeId", "data-v-e678f6b1"]]), Ea = { class: "container card-container" }, Sa = /* @__PURE__ */ U({
|
|
682
685
|
__name: "MucCardContainer",
|
|
683
686
|
setup(t) {
|
|
684
|
-
return (e, i) => (E(),
|
|
687
|
+
return (e, i) => (E(), w("div", Ea, [
|
|
685
688
|
q(e.$slots, "default", {}, void 0, !0)
|
|
686
689
|
]));
|
|
687
690
|
}
|
|
688
|
-
}),
|
|
691
|
+
}), Aa = /* @__PURE__ */ de(Sa, [["__scopeId", "data-v-b37a2da2"]]), wa = { class: "m-comment__head" }, Ca = {
|
|
689
692
|
key: 0,
|
|
690
693
|
class: "m-comment__initials"
|
|
691
694
|
}, 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 = {
|
|
692
695
|
key: 0,
|
|
693
696
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
694
|
-
}, Na = { class: "m-star-rating__numeric" }, $a = { class: "m-comment__body" }, Pa = { class: "m-comment__headline" }, Fa = { class: "m-comment__text" },
|
|
697
|
+
}, Na = { class: "m-star-rating__numeric" }, $a = { class: "m-comment__body" }, Pa = { class: "m-comment__headline" }, Fa = { class: "m-comment__text" }, xa = "de-DE", Ra = 0.2, Va = 0.8, ei = 5, vr = /* @__PURE__ */ U({
|
|
695
698
|
__name: "MucComment",
|
|
696
699
|
props: {
|
|
697
700
|
rating: {},
|
|
698
701
|
variant: { default: "listing" }
|
|
699
702
|
},
|
|
700
703
|
setup(t) {
|
|
701
|
-
const e = lr(), i = L(() => !!e.date), n = L(() => !!e.initials), r = L(() => t.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), s = L(() => Math.min(Math.max(t.rating, 0), ei)), a = L(() => s.value.toLocaleString(
|
|
704
|
+
const e = lr(), i = L(() => !!e.date), n = L(() => !!e.initials), r = L(() => t.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), s = L(() => Math.min(Math.max(t.rating, 0), ei)), a = L(() => s.value.toLocaleString(xa.valueOf(), {
|
|
702
705
|
minimumFractionDigits: 1
|
|
703
706
|
})), o = L(() => {
|
|
704
707
|
const l = +(s.value % 1).toFixed(1);
|
|
705
708
|
let c = Math.min(Math.floor(s.value), ei), u = Math.floor(ei - s.value), d = !1;
|
|
706
|
-
return l !== 0 && (l <=
|
|
709
|
+
return l !== 0 && (l <= Ra ? u++ : l >= Va ? c++ : d = !0), {
|
|
707
710
|
fullStars: c,
|
|
708
711
|
emptyStars: u,
|
|
709
712
|
isHalfStar: d
|
|
710
713
|
};
|
|
711
714
|
});
|
|
712
|
-
return (l, c) => (E(),
|
|
715
|
+
return (l, c) => (E(), w("div", {
|
|
713
716
|
class: ae(["m-comment", r.value])
|
|
714
717
|
}, [
|
|
715
|
-
y("div",
|
|
716
|
-
n.value ? (E(),
|
|
718
|
+
y("div", wa, [
|
|
719
|
+
n.value ? (E(), w("div", Ca, [
|
|
717
720
|
q(l.$slots, "initials")
|
|
718
721
|
])) : W("", !0),
|
|
719
722
|
y("div", Ia, [
|
|
720
723
|
y("span", Ma, [
|
|
721
724
|
q(l.$slots, "author")
|
|
722
725
|
]),
|
|
723
|
-
i.value ? (E(),
|
|
726
|
+
i.value ? (E(), w("span", Ta, [
|
|
724
727
|
y("span", Oa, [
|
|
725
728
|
c[0] || (c[0] = ue(" ")),
|
|
726
729
|
q(l.$slots, "datePrefix")
|
|
@@ -735,22 +738,22 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
735
738
|
role: "img",
|
|
736
739
|
"aria-label": `Bewertung: ${l.rating} von ${ei} Sternen`
|
|
737
740
|
}, [
|
|
738
|
-
(E(!0),
|
|
741
|
+
(E(!0), w(De, null, Pe(o.value.fullStars, (u) => (E(), w("div", {
|
|
739
742
|
key: u,
|
|
740
743
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
741
744
|
}, [
|
|
742
|
-
re(X(
|
|
745
|
+
re(X(we), { icon: "solid-star" })
|
|
743
746
|
]))), 128)),
|
|
744
|
-
o.value.isHalfStar ? (E(),
|
|
745
|
-
re(X(
|
|
747
|
+
o.value.isHalfStar ? (E(), w("div", La, [
|
|
748
|
+
re(X(we), { icon: "half-star" })
|
|
746
749
|
])) : W("", !0),
|
|
747
|
-
(E(!0),
|
|
750
|
+
(E(!0), w(De, null, Pe(o.value.emptyStars, (u) => (E(), w("div", {
|
|
748
751
|
key: u,
|
|
749
752
|
class: "m-star-rating__item"
|
|
750
753
|
}, [
|
|
751
|
-
re(X(
|
|
754
|
+
re(X(we), { icon: "solid-star" })
|
|
752
755
|
]))), 128)),
|
|
753
|
-
y("div", Na,
|
|
756
|
+
y("div", Na, x(a.value), 1)
|
|
754
757
|
], 8, ka)
|
|
755
758
|
])
|
|
756
759
|
]),
|
|
@@ -783,30 +786,30 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
783
786
|
variant: i.variant
|
|
784
787
|
}, ys({
|
|
785
788
|
datePrefix: te(() => [
|
|
786
|
-
ue(
|
|
789
|
+
ue(x(i.datePrefix), 1)
|
|
787
790
|
]),
|
|
788
791
|
author: te(() => [
|
|
789
|
-
ue(
|
|
792
|
+
ue(x(i.author), 1)
|
|
790
793
|
]),
|
|
791
794
|
headline: te(() => [
|
|
792
|
-
ue(
|
|
795
|
+
ue(x(i.headline), 1)
|
|
793
796
|
]),
|
|
794
797
|
text: te(() => [
|
|
795
|
-
ue(
|
|
798
|
+
ue(x(i.text), 1)
|
|
796
799
|
]),
|
|
797
800
|
_: 2
|
|
798
801
|
}, [
|
|
799
802
|
e.value ? {
|
|
800
803
|
name: "initials",
|
|
801
804
|
fn: te(() => [
|
|
802
|
-
ue(
|
|
805
|
+
ue(x(e.value), 1)
|
|
803
806
|
]),
|
|
804
807
|
key: "0"
|
|
805
808
|
} : void 0,
|
|
806
809
|
i.date ? {
|
|
807
810
|
name: "date",
|
|
808
811
|
fn: te(() => [
|
|
809
|
-
ue(
|
|
812
|
+
ue(x(i.date), 1)
|
|
810
813
|
]),
|
|
811
814
|
key: "1"
|
|
812
815
|
} : void 0
|
|
@@ -815,8 +818,8 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
815
818
|
}), Ya = { class: "m-error-message form-error-message" }, Ka = /* @__PURE__ */ U({
|
|
816
819
|
__name: "FormErrorMessage",
|
|
817
820
|
setup(t) {
|
|
818
|
-
return (e, i) => (E(),
|
|
819
|
-
re(X(
|
|
821
|
+
return (e, i) => (E(), w("span", Ya, [
|
|
822
|
+
re(X(we), { icon: "warning--filled" }),
|
|
820
823
|
y("span", null, [
|
|
821
824
|
q(e.$slots, "default", {}, void 0, !0)
|
|
822
825
|
])
|
|
@@ -831,7 +834,7 @@ const tn = /* @__PURE__ */ de(fa, [["render", ma], ["__scopeId", "data-v-a337b11
|
|
|
831
834
|
xmlns: "http://www.w3.org/2000/svg"
|
|
832
835
|
};
|
|
833
836
|
function Wa(t, e) {
|
|
834
|
-
return E(),
|
|
837
|
+
return E(), w("svg", Ga, e[0] || (e[0] = [
|
|
835
838
|
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)
|
|
836
839
|
]));
|
|
837
840
|
}
|
|
@@ -878,7 +881,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
878
881
|
}
|
|
879
882
|
}, d = () => {
|
|
880
883
|
o.value = !1, a.value = !0;
|
|
881
|
-
},
|
|
884
|
+
}, h = (p) => {
|
|
882
885
|
var g;
|
|
883
886
|
if (!t.disabled)
|
|
884
887
|
if (!a.value)
|
|
@@ -892,8 +895,8 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
892
895
|
}
|
|
893
896
|
}
|
|
894
897
|
}, m = (p) => {
|
|
895
|
-
r.value =
|
|
896
|
-
},
|
|
898
|
+
r.value = f(p), s.value = v(p), !r.value || !s.value ? n("warning") : n("files", p);
|
|
899
|
+
}, f = (p) => t.maxFileSize ? !p.some((g) => g.size > t.maxFileSize * 1024 * 1024) : !0, v = (p) => t.maxTotalFileSize ? p.reduce((g, _) => g + (_.size || 0), 0) <= t.maxTotalFileSize * 1024 * 1024 : !0;
|
|
897
900
|
return e({
|
|
898
901
|
/**
|
|
899
902
|
* Exposed function to clear all warnings
|
|
@@ -901,7 +904,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
901
904
|
clearWarnings: () => {
|
|
902
905
|
r.value = !0, s.value = !0, a.value = !0;
|
|
903
906
|
}
|
|
904
|
-
}), (p, g) => (E(),
|
|
907
|
+
}), (p, g) => (E(), w(De, null, [
|
|
905
908
|
y("div", {
|
|
906
909
|
class: ae(["drop-zone", {
|
|
907
910
|
"is-dragover": o.value,
|
|
@@ -909,7 +912,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
909
912
|
}]),
|
|
910
913
|
onDragover: Nt(u, ["prevent"]),
|
|
911
914
|
onDragleave: Nt(d, ["prevent"]),
|
|
912
|
-
onDrop: Nt(
|
|
915
|
+
onDrop: Nt(h, ["prevent"]),
|
|
913
916
|
onClick: c
|
|
914
917
|
}, [
|
|
915
918
|
re(Ua),
|
|
@@ -919,27 +922,27 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
919
922
|
disabled: p.disabled
|
|
920
923
|
}, {
|
|
921
924
|
default: te(() => [
|
|
922
|
-
ue(
|
|
925
|
+
ue(x(p.buttonText), 1)
|
|
923
926
|
]),
|
|
924
927
|
_: 1
|
|
925
928
|
}, 8, ["disabled"]),
|
|
926
|
-
y("span", za,
|
|
929
|
+
y("span", za, x(p.additionalInformation), 1)
|
|
927
930
|
], 34),
|
|
928
931
|
!r.value && p.maxFileSizeWarning ? (E(), se(gt, { key: 0 }, {
|
|
929
932
|
default: te(() => [
|
|
930
|
-
ue(
|
|
933
|
+
ue(x(p.maxFileSizeWarning), 1)
|
|
931
934
|
]),
|
|
932
935
|
_: 1
|
|
933
936
|
})) : W("", !0),
|
|
934
937
|
!s.value && p.maxTotalFileSizeWarning ? (E(), se(gt, { key: 1 }, {
|
|
935
938
|
default: te(() => [
|
|
936
|
-
ue(
|
|
939
|
+
ue(x(p.maxTotalFileSizeWarning), 1)
|
|
937
940
|
]),
|
|
938
941
|
_: 1
|
|
939
942
|
})) : W("", !0),
|
|
940
943
|
a.value ? W("", !0) : (E(), se(gt, { key: 2 }, {
|
|
941
944
|
default: te(() => [
|
|
942
|
-
ue(
|
|
945
|
+
ue(x(p.invalidAmountWarning), 1)
|
|
943
946
|
]),
|
|
944
947
|
_: 1
|
|
945
948
|
}))
|
|
@@ -960,7 +963,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
960
963
|
const i = dt(t, "modelValue"), n = e, r = () => {
|
|
961
964
|
i.value = !i.value, n("click");
|
|
962
965
|
};
|
|
963
|
-
return (s, a) => (E(),
|
|
966
|
+
return (s, a) => (E(), w("div", {
|
|
964
967
|
class: "m-checkboxes__item",
|
|
965
968
|
onClick: r
|
|
966
969
|
}, [
|
|
@@ -976,11 +979,11 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
976
979
|
class: "m-label m-checkboxes__label",
|
|
977
980
|
for: "checkbox-" + s.id
|
|
978
981
|
}, [
|
|
979
|
-
ue(
|
|
982
|
+
ue(x(s.label) + " ", 1),
|
|
980
983
|
y("span", {
|
|
981
984
|
id: "checkbox-hint-" + s.id,
|
|
982
985
|
class: "m-hint"
|
|
983
|
-
},
|
|
986
|
+
}, x(s.hint), 9, Qa)
|
|
984
987
|
], 8, Za)
|
|
985
988
|
]));
|
|
986
989
|
}
|
|
@@ -995,16 +998,16 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
995
998
|
},
|
|
996
999
|
setup(t) {
|
|
997
1000
|
const e = ve(!0), i = L(() => e.value ? "collapse" : ""), n = L(() => e.value ? "down" : "up"), r = () => e.value = !e.value;
|
|
998
|
-
return (s, a) => (E(),
|
|
1001
|
+
return (s, a) => (E(), w("div", {
|
|
999
1002
|
class: ae(["m-form-group", { "has-error": s.errorMsg }])
|
|
1000
1003
|
}, [
|
|
1001
1004
|
y("fieldset", to, [
|
|
1002
1005
|
y("legend", io, [
|
|
1003
|
-
y("h3", no,
|
|
1006
|
+
y("h3", no, x(s.heading), 1)
|
|
1004
1007
|
]),
|
|
1005
1008
|
y("div", ro, [
|
|
1006
1009
|
q(s.$slots, "checkboxes"),
|
|
1007
|
-
s.$slots.collapsableCheckboxes ? (E(),
|
|
1010
|
+
s.$slots.collapsableCheckboxes ? (E(), w("div", {
|
|
1008
1011
|
key: 0,
|
|
1009
1012
|
class: ae(["m-checkboxes__collapse__container", i.value])
|
|
1010
1013
|
}, [
|
|
@@ -1018,7 +1021,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1018
1021
|
}, {
|
|
1019
1022
|
default: te(() => [
|
|
1020
1023
|
a[0] || (a[0] = y("span", null, "Mehr ", -1)),
|
|
1021
|
-
(E(),
|
|
1024
|
+
(E(), w("svg", so, [
|
|
1022
1025
|
y("use", {
|
|
1023
1026
|
href: "#icon-chevron-" + n.value
|
|
1024
1027
|
}, null, 8, ao)
|
|
@@ -1036,7 +1039,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1036
1039
|
"aria-live": "polite"
|
|
1037
1040
|
}, {
|
|
1038
1041
|
default: te(() => [
|
|
1039
|
-
ue(
|
|
1042
|
+
ue(x(s.errorMsg), 1)
|
|
1040
1043
|
]),
|
|
1041
1044
|
_: 1
|
|
1042
1045
|
})) : W("", !0)
|
|
@@ -1058,21 +1061,21 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1058
1061
|
const e = L(
|
|
1059
1062
|
() => t.noUnderline ? "m-link--reversed-underline" : ""
|
|
1060
1063
|
), i = L(() => t.disabled ? "m-link--disabled" : "");
|
|
1061
|
-
return (n, r) => (E(),
|
|
1064
|
+
return (n, r) => (E(), w("a", {
|
|
1062
1065
|
href: n.href,
|
|
1063
1066
|
target: n.target,
|
|
1064
1067
|
class: ae(["m-link", [e.value, i.value]])
|
|
1065
1068
|
}, [
|
|
1066
1069
|
q(n.$slots, "prepend", {}, () => [
|
|
1067
|
-
n.prependIcon ? (E(), se(X(
|
|
1070
|
+
n.prependIcon ? (E(), se(X(we), {
|
|
1068
1071
|
key: 0,
|
|
1069
1072
|
class: "icon icon--before",
|
|
1070
1073
|
icon: n.prependIcon
|
|
1071
1074
|
}, null, 8, ["icon"])) : W("", !0)
|
|
1072
1075
|
]),
|
|
1073
|
-
ue(" " +
|
|
1076
|
+
ue(" " + x(n.label) + " ", 1),
|
|
1074
1077
|
q(n.$slots, "append", {}, () => [
|
|
1075
|
-
n.appendIcon ? (E(), se(X(
|
|
1078
|
+
n.appendIcon ? (E(), se(X(we), {
|
|
1076
1079
|
key: 0,
|
|
1077
1080
|
class: "icon icon--after",
|
|
1078
1081
|
icon: n.appendIcon
|
|
@@ -1114,7 +1117,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1114
1117
|
), s = L(
|
|
1115
1118
|
() => e.value == 0 || !!t.min && !(e.value > t.min) || t.disabled
|
|
1116
1119
|
);
|
|
1117
|
-
return (a, o) => (E(),
|
|
1120
|
+
return (a, o) => (E(), w("div", co, [
|
|
1118
1121
|
y("div", uo, [
|
|
1119
1122
|
y("div", ho, [
|
|
1120
1123
|
re(X(Je), {
|
|
@@ -1124,15 +1127,15 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1124
1127
|
"aria-label": "Anzahl " + a.label + " reduzieren auf " + (e.value - 1)
|
|
1125
1128
|
}, {
|
|
1126
1129
|
default: te(() => [
|
|
1127
|
-
re(X(
|
|
1130
|
+
re(X(we), { icon: "minus" })
|
|
1128
1131
|
]),
|
|
1129
1132
|
_: 1
|
|
1130
1133
|
}, 8, ["disabled", "aria-label"])
|
|
1131
1134
|
]),
|
|
1132
1135
|
y("p", fo, [
|
|
1133
1136
|
y("strong", vo, [
|
|
1134
|
-
y("span", mo, " Aktuell ausgewählte Anzahl für " +
|
|
1135
|
-
ue(" " +
|
|
1137
|
+
y("span", mo, " Aktuell ausgewählte Anzahl für " + x(a.label) + " ist", 1),
|
|
1138
|
+
ue(" " + x(e.value), 1)
|
|
1136
1139
|
])
|
|
1137
1140
|
]),
|
|
1138
1141
|
y("div", po, [
|
|
@@ -1143,14 +1146,14 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1143
1146
|
"aria-label": "Anzahl " + a.label + " erhöhen auf " + (e.value + 1)
|
|
1144
1147
|
}, {
|
|
1145
1148
|
default: te(() => [
|
|
1146
|
-
re(X(
|
|
1149
|
+
re(X(we), { icon: "plus" })
|
|
1147
1150
|
]),
|
|
1148
1151
|
_: 1
|
|
1149
1152
|
}, 8, ["disabled", "aria-label"])
|
|
1150
1153
|
])
|
|
1151
1154
|
]),
|
|
1152
1155
|
y("div", go, [
|
|
1153
|
-
a.link ? (E(),
|
|
1156
|
+
a.link ? (E(), w("p", _o, [
|
|
1154
1157
|
y("label", null, [
|
|
1155
1158
|
re(X(mr), {
|
|
1156
1159
|
tabindex: "0",
|
|
@@ -1158,8 +1161,8 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1158
1161
|
href: a.link
|
|
1159
1162
|
}, null, 8, ["label", "href"])
|
|
1160
1163
|
])
|
|
1161
|
-
])) : (E(),
|
|
1162
|
-
y("label", null,
|
|
1164
|
+
])) : (E(), w("p", yo, [
|
|
1165
|
+
y("label", null, x(a.label), 1)
|
|
1163
1166
|
]))
|
|
1164
1167
|
])
|
|
1165
1168
|
]));
|
|
@@ -1168,7 +1171,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1168
1171
|
class: "m-error-list",
|
|
1169
1172
|
role: "alert",
|
|
1170
1173
|
tabindex: "-1"
|
|
1171
|
-
},
|
|
1174
|
+
}, Ao = { class: "m-error-list__title" }, wo = { class: "m-error-list__body" }, Co = { class: "m-list m-error-list__list" }, Io = "Ein Fehler ist aufgetreten!", Mo = /* @__PURE__ */ U({
|
|
1172
1175
|
__name: "MucErrorList",
|
|
1173
1176
|
props: {
|
|
1174
1177
|
title: { default: () => Io },
|
|
@@ -1178,12 +1181,12 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1178
1181
|
const e = L(
|
|
1179
1182
|
() => typeof t.errors == "string" ? [t.errors] : t.errors
|
|
1180
1183
|
);
|
|
1181
|
-
return (i, n) => (E(),
|
|
1182
|
-
y("h2",
|
|
1183
|
-
y("div",
|
|
1184
|
+
return (i, n) => (E(), w("div", So, [
|
|
1185
|
+
y("h2", Ao, x(i.title), 1),
|
|
1186
|
+
y("div", wo, [
|
|
1184
1187
|
y("ul", Co, [
|
|
1185
|
-
(E(!0),
|
|
1186
|
-
y("a", null,
|
|
1188
|
+
(E(!0), w(De, null, Pe(e.value, (r, s) => (E(), w("li", { key: s }, [
|
|
1189
|
+
y("a", null, x(r), 1)
|
|
1187
1190
|
]))), 128))
|
|
1188
1191
|
])
|
|
1189
1192
|
])
|
|
@@ -1198,7 +1201,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1198
1201
|
}, $o = ["onClick"], Po = {
|
|
1199
1202
|
"aria-hidden": "true",
|
|
1200
1203
|
class: "icon"
|
|
1201
|
-
}, Fo = ["xlink:href"],
|
|
1204
|
+
}, Fo = ["xlink:href"], xo = /* @__PURE__ */ U({
|
|
1202
1205
|
__name: "MucInput",
|
|
1203
1206
|
props: /* @__PURE__ */ Fe({
|
|
1204
1207
|
id: {},
|
|
@@ -1224,21 +1227,21 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1224
1227
|
(u) => u.toLowerCase().startsWith(c) && u.toLowerCase() !== c
|
|
1225
1228
|
);
|
|
1226
1229
|
}), o = (c) => i.value = c, l = () => r("suffixClick");
|
|
1227
|
-
return (c, u) => (E(),
|
|
1230
|
+
return (c, u) => (E(), w("div", {
|
|
1228
1231
|
class: ae(["m-form-group", { "has-error": c.errorMsg }])
|
|
1229
1232
|
}, [
|
|
1230
|
-
c.label ? (E(),
|
|
1233
|
+
c.label ? (E(), w("label", {
|
|
1231
1234
|
key: 0,
|
|
1232
1235
|
for: "input-" + c.id,
|
|
1233
1236
|
class: ae(["m-label", { "m-label--optional": !c.required }])
|
|
1234
|
-
},
|
|
1235
|
-
c.hint ? (E(),
|
|
1237
|
+
}, x(c.label), 11, To)) : W("", !0),
|
|
1238
|
+
c.hint ? (E(), w("p", {
|
|
1236
1239
|
key: 1,
|
|
1237
1240
|
class: "m-hint",
|
|
1238
1241
|
id: "input-hint-" + c.id
|
|
1239
|
-
},
|
|
1242
|
+
}, x(c.hint), 9, Oo)) : W("", !0),
|
|
1240
1243
|
y("div", Do, [
|
|
1241
|
-
n.prefix ? (E(),
|
|
1244
|
+
n.prefix ? (E(), w("div", ko, [
|
|
1242
1245
|
y("span", null, [
|
|
1243
1246
|
q(c.$slots, "prefix")
|
|
1244
1247
|
])
|
|
@@ -1255,19 +1258,19 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1255
1258
|
}, null, 8, Lo), [
|
|
1256
1259
|
[bs, i.value]
|
|
1257
1260
|
]),
|
|
1258
|
-
s.value && a.value.length !== 0 ? (E(),
|
|
1259
|
-
(E(!0),
|
|
1261
|
+
s.value && a.value.length !== 0 ? (E(), w("ul", No, [
|
|
1262
|
+
(E(!0), w(De, null, Pe(a.value, (d) => (E(), w("li", {
|
|
1260
1263
|
class: "autocomplete-result",
|
|
1261
1264
|
key: d,
|
|
1262
|
-
onClick: (
|
|
1263
|
-
},
|
|
1265
|
+
onClick: (h) => o(d)
|
|
1266
|
+
}, x(d), 9, $o))), 128))
|
|
1264
1267
|
])) : W("", !0),
|
|
1265
|
-
c.suffixIcon ? (E(),
|
|
1268
|
+
c.suffixIcon ? (E(), w("button", {
|
|
1266
1269
|
key: 2,
|
|
1267
1270
|
class: "m-input__suffix",
|
|
1268
1271
|
onClick: l
|
|
1269
1272
|
}, [
|
|
1270
|
-
(E(),
|
|
1273
|
+
(E(), w("svg", Po, [
|
|
1271
1274
|
y("use", {
|
|
1272
1275
|
"xlink:href": "#icon-" + c.suffixIcon
|
|
1273
1276
|
}, null, 8, Fo)
|
|
@@ -1283,13 +1286,13 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1283
1286
|
"aria-live": "polite"
|
|
1284
1287
|
}, {
|
|
1285
1288
|
default: te(() => [
|
|
1286
|
-
ue(
|
|
1289
|
+
ue(x(c.errorMsg), 1)
|
|
1287
1290
|
]),
|
|
1288
1291
|
_: 1
|
|
1289
1292
|
})) : W("", !0)
|
|
1290
1293
|
], 2));
|
|
1291
1294
|
}
|
|
1292
|
-
}), pr = Symbol("mucRadioGroup"),
|
|
1295
|
+
}), pr = Symbol("mucRadioGroup"), Ro = {
|
|
1293
1296
|
key: 0,
|
|
1294
1297
|
class: "m-radios__item"
|
|
1295
1298
|
}, Vo = ["id", "aria-describedby", "checked", "disabled"], Bo = ["for"], Ho = ["id"], Yo = /* @__PURE__ */ U({
|
|
@@ -1303,7 +1306,7 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1303
1306
|
},
|
|
1304
1307
|
setup(t) {
|
|
1305
1308
|
const e = Gt(pr), i = () => e == null ? void 0 : e.set(t.value), n = L(() => (e == null ? void 0 : e.modelValue.value) === t.value), r = L(() => t.disabled || (e == null ? void 0 : e.disabled.value)), s = L(() => (e == null ? void 0 : e.disabled) ?? !1);
|
|
1306
|
-
return (a, o) => s.value ? (E(),
|
|
1309
|
+
return (a, o) => s.value ? (E(), w("div", Ro, [
|
|
1307
1310
|
y("input", {
|
|
1308
1311
|
id: "radio-" + a.id,
|
|
1309
1312
|
class: "m-radios__input",
|
|
@@ -1318,11 +1321,11 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1318
1321
|
for: "radio-" + a.id,
|
|
1319
1322
|
onClick: i
|
|
1320
1323
|
}, [
|
|
1321
|
-
ue(
|
|
1324
|
+
ue(x(a.label) + " ", 1),
|
|
1322
1325
|
y("span", {
|
|
1323
1326
|
id: "radio-hint-" + a.id,
|
|
1324
1327
|
class: "m-hint"
|
|
1325
|
-
},
|
|
1328
|
+
}, x(a.hint), 9, Ho)
|
|
1326
1329
|
], 8, Bo)
|
|
1327
1330
|
])) : W("", !0);
|
|
1328
1331
|
}
|
|
@@ -1343,11 +1346,11 @@ const Ua = /* @__PURE__ */ de(ja, [["render", Wa]]), za = { class: "drop-zone-ad
|
|
|
1343
1346
|
n("change", r), i.value = r;
|
|
1344
1347
|
},
|
|
1345
1348
|
modelValue: i,
|
|
1346
|
-
disabled: Ri(
|
|
1347
|
-
}), (r, s) => (E(),
|
|
1349
|
+
disabled: xi(Ri(() => t.disabled))
|
|
1350
|
+
}), (r, s) => (E(), w("div", Ko, [
|
|
1348
1351
|
y("fieldset", jo, [
|
|
1349
1352
|
y("legend", Go, [
|
|
1350
|
-
y("h3", Wo,
|
|
1353
|
+
y("h3", Wo, x(r.heading), 1)
|
|
1351
1354
|
]),
|
|
1352
1355
|
y("div", Uo, [
|
|
1353
1356
|
q(r.$slots, "default")
|
|
@@ -1803,8 +1806,8 @@ var oe = {
|
|
|
1803
1806
|
if ("choices" in a) {
|
|
1804
1807
|
if (!e)
|
|
1805
1808
|
throw new TypeError("optGroup is not allowed");
|
|
1806
|
-
var o = a, l = o.choices.map(function(
|
|
1807
|
-
return Le(
|
|
1809
|
+
var o = a, l = o.choices.map(function(h) {
|
|
1810
|
+
return Le(h, !1);
|
|
1808
1811
|
}), c = {
|
|
1809
1812
|
id: 0,
|
|
1810
1813
|
// actual ID will be assigned during _addGroup
|
|
@@ -2070,7 +2073,7 @@ function Sl(t, e) {
|
|
|
2070
2073
|
}
|
|
2071
2074
|
return { state: i, update: n };
|
|
2072
2075
|
}
|
|
2073
|
-
function
|
|
2076
|
+
function Al(t, e, i) {
|
|
2074
2077
|
var n = t, r = !0;
|
|
2075
2078
|
switch (e.type) {
|
|
2076
2079
|
case oe.ADD_CHOICE: {
|
|
@@ -2117,11 +2120,11 @@ function wl(t, e, i) {
|
|
|
2117
2120
|
}
|
|
2118
2121
|
return { state: n, update: r };
|
|
2119
2122
|
}
|
|
2120
|
-
var
|
|
2123
|
+
var xn = {
|
|
2121
2124
|
groups: Sl,
|
|
2122
2125
|
items: El,
|
|
2123
|
-
choices:
|
|
2124
|
-
},
|
|
2126
|
+
choices: Al
|
|
2127
|
+
}, wl = (
|
|
2125
2128
|
/** @class */
|
|
2126
2129
|
function() {
|
|
2127
2130
|
function t(e) {
|
|
@@ -2154,8 +2157,8 @@ var Rn = {
|
|
|
2154
2157
|
return this._listeners.push(e), this;
|
|
2155
2158
|
}, t.prototype.dispatch = function(e) {
|
|
2156
2159
|
var i = this, n = this._state, r = !1, s = this._changeSet || this.changeSet(!1);
|
|
2157
|
-
Object.keys(
|
|
2158
|
-
var o =
|
|
2160
|
+
Object.keys(xn).forEach(function(a) {
|
|
2161
|
+
var o = xn[a](n[a], e, i._context);
|
|
2159
2162
|
o.update && (r = !0, s[a] = !0, n[a] = o.state);
|
|
2160
2163
|
}), r && (this._txn ? this._changeSet = s : this._listeners.forEach(function(a) {
|
|
2161
2164
|
return a(s);
|
|
@@ -2282,7 +2285,7 @@ function Cl(t, e, i) {
|
|
|
2282
2285
|
writable: !0
|
|
2283
2286
|
}) : t[e] = i, t;
|
|
2284
2287
|
}
|
|
2285
|
-
function
|
|
2288
|
+
function Rn(t, e) {
|
|
2286
2289
|
var i = Object.keys(t);
|
|
2287
2290
|
if (Object.getOwnPropertySymbols) {
|
|
2288
2291
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -2295,9 +2298,9 @@ function xn(t, e) {
|
|
|
2295
2298
|
function mt(t) {
|
|
2296
2299
|
for (var e = 1; e < arguments.length; e++) {
|
|
2297
2300
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
2298
|
-
e % 2 ?
|
|
2301
|
+
e % 2 ? Rn(Object(i), !0).forEach(function(n) {
|
|
2299
2302
|
Cl(t, n, i[n]);
|
|
2300
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) :
|
|
2303
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Rn(Object(i)).forEach(function(n) {
|
|
2301
2304
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(i, n));
|
|
2302
2305
|
});
|
|
2303
2306
|
}
|
|
@@ -2318,7 +2321,7 @@ function Ml(t) {
|
|
|
2318
2321
|
return typeof e == "symbol" ? e : e + "";
|
|
2319
2322
|
}
|
|
2320
2323
|
function Ge(t) {
|
|
2321
|
-
return Array.isArray ? Array.isArray(t) :
|
|
2324
|
+
return Array.isArray ? Array.isArray(t) : wr(t) === "[object Array]";
|
|
2322
2325
|
}
|
|
2323
2326
|
function Tl(t) {
|
|
2324
2327
|
if (typeof t == "string")
|
|
@@ -2336,25 +2339,25 @@ function Sr(t) {
|
|
|
2336
2339
|
return typeof t == "number";
|
|
2337
2340
|
}
|
|
2338
2341
|
function Dl(t) {
|
|
2339
|
-
return t === !0 || t === !1 || kl(t) &&
|
|
2342
|
+
return t === !0 || t === !1 || kl(t) && wr(t) == "[object Boolean]";
|
|
2340
2343
|
}
|
|
2341
|
-
function
|
|
2344
|
+
function Ar(t) {
|
|
2342
2345
|
return typeof t == "object";
|
|
2343
2346
|
}
|
|
2344
2347
|
function kl(t) {
|
|
2345
|
-
return
|
|
2348
|
+
return Ar(t) && t !== null;
|
|
2346
2349
|
}
|
|
2347
|
-
function
|
|
2350
|
+
function Ae(t) {
|
|
2348
2351
|
return t != null;
|
|
2349
2352
|
}
|
|
2350
2353
|
function Di(t) {
|
|
2351
2354
|
return !t.trim().length;
|
|
2352
2355
|
}
|
|
2353
|
-
function
|
|
2356
|
+
function wr(t) {
|
|
2354
2357
|
return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
|
|
2355
2358
|
}
|
|
2356
2359
|
const Ll = "Incorrect 'index' type", Nl = (t) => `Invalid value for key ${t}`, $l = (t) => `Pattern length exceeds max of ${t}.`, Pl = (t) => `Missing ${t} property in key`, Fl = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Vn = Object.prototype.hasOwnProperty;
|
|
2357
|
-
class
|
|
2360
|
+
class xl {
|
|
2358
2361
|
constructor(e) {
|
|
2359
2362
|
this._keys = [], this._keyMap = {};
|
|
2360
2363
|
let i = 0;
|
|
@@ -2401,16 +2404,16 @@ function Bn(t) {
|
|
|
2401
2404
|
function Hi(t) {
|
|
2402
2405
|
return Ge(t) ? t.join(".") : t;
|
|
2403
2406
|
}
|
|
2404
|
-
function
|
|
2407
|
+
function Rl(t, e) {
|
|
2405
2408
|
let i = [], n = !1;
|
|
2406
2409
|
const r = (s, a, o) => {
|
|
2407
|
-
if (
|
|
2410
|
+
if (Ae(s))
|
|
2408
2411
|
if (!a[o])
|
|
2409
2412
|
i.push(s);
|
|
2410
2413
|
else {
|
|
2411
2414
|
let l = a[o];
|
|
2412
2415
|
const c = s[l];
|
|
2413
|
-
if (!
|
|
2416
|
+
if (!Ae(c))
|
|
2414
2417
|
return;
|
|
2415
2418
|
if (o === a.length - 1 && ($e(c) || Sr(c) || Dl(c)))
|
|
2416
2419
|
i.push(Ol(c));
|
|
@@ -2462,7 +2465,7 @@ const Vl = {
|
|
|
2462
2465
|
useExtendedSearch: !1,
|
|
2463
2466
|
// The get function to use when fetching an object's properties.
|
|
2464
2467
|
// The default will search nested paths *ie foo.bar.baz*
|
|
2465
|
-
getFn:
|
|
2468
|
+
getFn: Rl,
|
|
2466
2469
|
// When `true`, search will ignore `location` and `distance`, so it won't matter
|
|
2467
2470
|
// where in the string the pattern appears.
|
|
2468
2471
|
// More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
|
|
@@ -2534,7 +2537,7 @@ class rn {
|
|
|
2534
2537
|
return this.records.length;
|
|
2535
2538
|
}
|
|
2536
2539
|
_addString(e, i) {
|
|
2537
|
-
if (!
|
|
2540
|
+
if (!Ae(e) || Di(e))
|
|
2538
2541
|
return;
|
|
2539
2542
|
let n = {
|
|
2540
2543
|
v: e,
|
|
@@ -2550,7 +2553,7 @@ class rn {
|
|
|
2550
2553
|
};
|
|
2551
2554
|
this.keys.forEach((r, s) => {
|
|
2552
2555
|
let a = r.getFn ? r.getFn(e) : this.getFn(e, r.path);
|
|
2553
|
-
if (
|
|
2556
|
+
if (Ae(a)) {
|
|
2554
2557
|
if (Ge(a)) {
|
|
2555
2558
|
let o = [];
|
|
2556
2559
|
const l = [{
|
|
@@ -2562,7 +2565,7 @@ class rn {
|
|
|
2562
2565
|
nestedArrIndex: c,
|
|
2563
2566
|
value: u
|
|
2564
2567
|
} = l.pop();
|
|
2565
|
-
if (
|
|
2568
|
+
if (Ae(u))
|
|
2566
2569
|
if ($e(u) && !Di(u)) {
|
|
2567
2570
|
let d = {
|
|
2568
2571
|
v: u,
|
|
@@ -2570,9 +2573,9 @@ class rn {
|
|
|
2570
2573
|
n: this.norm.get(u)
|
|
2571
2574
|
};
|
|
2572
2575
|
o.push(d);
|
|
2573
|
-
} else Ge(u) && u.forEach((d,
|
|
2576
|
+
} else Ge(u) && u.forEach((d, h) => {
|
|
2574
2577
|
l.push({
|
|
2575
|
-
nestedArrIndex:
|
|
2578
|
+
nestedArrIndex: h,
|
|
2576
2579
|
value: d
|
|
2577
2580
|
});
|
|
2578
2581
|
});
|
|
@@ -2651,24 +2654,24 @@ function Ul(t, e, i, {
|
|
|
2651
2654
|
} = {}) {
|
|
2652
2655
|
if (e.length > at)
|
|
2653
2656
|
throw new Error($l(at));
|
|
2654
|
-
const u = e.length, d = t.length,
|
|
2655
|
-
let m = s,
|
|
2657
|
+
const u = e.length, d = t.length, h = Math.max(0, Math.min(n, d));
|
|
2658
|
+
let m = s, f = h;
|
|
2656
2659
|
const v = o > 1 || l, b = v ? Array(d) : [];
|
|
2657
2660
|
let p;
|
|
2658
|
-
for (; (p = t.indexOf(e,
|
|
2661
|
+
for (; (p = t.indexOf(e, f)) > -1; ) {
|
|
2659
2662
|
let S = ii(e, {
|
|
2660
2663
|
currentLocation: p,
|
|
2661
|
-
expectedLocation:
|
|
2664
|
+
expectedLocation: h,
|
|
2662
2665
|
distance: r,
|
|
2663
2666
|
ignoreLocation: c
|
|
2664
2667
|
});
|
|
2665
|
-
if (m = Math.min(S, m),
|
|
2668
|
+
if (m = Math.min(S, m), f = p + u, v) {
|
|
2666
2669
|
let O = 0;
|
|
2667
2670
|
for (; O < u; )
|
|
2668
2671
|
b[p + O] = 1, O += 1;
|
|
2669
2672
|
}
|
|
2670
2673
|
}
|
|
2671
|
-
|
|
2674
|
+
f = -1;
|
|
2672
2675
|
let g = [], _ = 1, $ = u + d;
|
|
2673
2676
|
const N = 1 << u - 1;
|
|
2674
2677
|
for (let S = 0; S < u; S += 1) {
|
|
@@ -2676,48 +2679,48 @@ function Ul(t, e, i, {
|
|
|
2676
2679
|
for (; O < B; )
|
|
2677
2680
|
ii(e, {
|
|
2678
2681
|
errors: S,
|
|
2679
|
-
currentLocation:
|
|
2680
|
-
expectedLocation:
|
|
2682
|
+
currentLocation: h + B,
|
|
2683
|
+
expectedLocation: h,
|
|
2681
2684
|
distance: r,
|
|
2682
2685
|
ignoreLocation: c
|
|
2683
2686
|
}) <= m ? O = B : $ = B, B = Math.floor(($ - O) / 2 + O);
|
|
2684
2687
|
$ = B;
|
|
2685
|
-
let
|
|
2688
|
+
let R = Math.max(1, h - B + 1), I = a ? d : Math.min(h + B, d) + u, T = Array(I + 2);
|
|
2686
2689
|
T[I + 1] = (1 << S) - 1;
|
|
2687
|
-
for (let P = I; P >=
|
|
2690
|
+
for (let P = I; P >= R; P -= 1) {
|
|
2688
2691
|
let Y = P - 1, Q = i[t.charAt(Y)];
|
|
2689
2692
|
if (v && (b[Y] = +!!Q), T[P] = (T[P + 1] << 1 | 1) & Q, S && (T[P] |= (g[P + 1] | g[P]) << 1 | 1 | g[P + 1]), T[P] & N && (_ = ii(e, {
|
|
2690
2693
|
errors: S,
|
|
2691
2694
|
currentLocation: Y,
|
|
2692
|
-
expectedLocation:
|
|
2695
|
+
expectedLocation: h,
|
|
2693
2696
|
distance: r,
|
|
2694
2697
|
ignoreLocation: c
|
|
2695
2698
|
}), _ <= m)) {
|
|
2696
|
-
if (m = _,
|
|
2699
|
+
if (m = _, f = Y, f <= h)
|
|
2697
2700
|
break;
|
|
2698
|
-
|
|
2701
|
+
R = Math.max(1, 2 * h - f);
|
|
2699
2702
|
}
|
|
2700
2703
|
}
|
|
2701
2704
|
if (ii(e, {
|
|
2702
2705
|
errors: S + 1,
|
|
2703
|
-
currentLocation:
|
|
2704
|
-
expectedLocation:
|
|
2706
|
+
currentLocation: h,
|
|
2707
|
+
expectedLocation: h,
|
|
2705
2708
|
distance: r,
|
|
2706
2709
|
ignoreLocation: c
|
|
2707
2710
|
}) > m)
|
|
2708
2711
|
break;
|
|
2709
2712
|
g = T;
|
|
2710
2713
|
}
|
|
2711
|
-
const
|
|
2712
|
-
isMatch:
|
|
2714
|
+
const A = {
|
|
2715
|
+
isMatch: f >= 0,
|
|
2713
2716
|
// Count exact matches (those with a score of 0) to be "almost" exact
|
|
2714
2717
|
score: Math.max(1e-3, _)
|
|
2715
2718
|
};
|
|
2716
2719
|
if (v) {
|
|
2717
2720
|
const S = Wl(b, o);
|
|
2718
|
-
S.length ? l && (
|
|
2721
|
+
S.length ? l && (A.indices = S) : A.isMatch = !1;
|
|
2719
2722
|
}
|
|
2720
|
-
return
|
|
2723
|
+
return A;
|
|
2721
2724
|
}
|
|
2722
2725
|
function zl(t) {
|
|
2723
2726
|
let e = {};
|
|
@@ -2749,18 +2752,18 @@ class Mr {
|
|
|
2749
2752
|
ignoreLocation: c
|
|
2750
2753
|
}, this.pattern = l ? e : e.toLowerCase(), this.chunks = [], !this.pattern.length)
|
|
2751
2754
|
return;
|
|
2752
|
-
const u = (
|
|
2755
|
+
const u = (h, m) => {
|
|
2753
2756
|
this.chunks.push({
|
|
2754
|
-
pattern:
|
|
2755
|
-
alphabet: zl(
|
|
2757
|
+
pattern: h,
|
|
2758
|
+
alphabet: zl(h),
|
|
2756
2759
|
startIndex: m
|
|
2757
2760
|
});
|
|
2758
2761
|
}, d = this.pattern.length;
|
|
2759
2762
|
if (d > at) {
|
|
2760
|
-
let
|
|
2761
|
-
const m = d % at,
|
|
2762
|
-
for (;
|
|
2763
|
-
u(this.pattern.substr(
|
|
2763
|
+
let h = 0;
|
|
2764
|
+
const m = d % at, f = d - m;
|
|
2765
|
+
for (; h < f; )
|
|
2766
|
+
u(this.pattern.substr(h, at), h), h += at;
|
|
2764
2767
|
if (m) {
|
|
2765
2768
|
const v = d - at;
|
|
2766
2769
|
u(this.pattern.substr(v), v);
|
|
@@ -2774,11 +2777,11 @@ class Mr {
|
|
|
2774
2777
|
includeMatches: n
|
|
2775
2778
|
} = this.options;
|
|
2776
2779
|
if (i || (e = e.toLowerCase()), this.pattern === e) {
|
|
2777
|
-
let
|
|
2780
|
+
let f = {
|
|
2778
2781
|
isMatch: !0,
|
|
2779
2782
|
score: 0
|
|
2780
2783
|
};
|
|
2781
|
-
return n && (
|
|
2784
|
+
return n && (f.indices = [[0, e.length - 1]]), f;
|
|
2782
2785
|
}
|
|
2783
2786
|
const {
|
|
2784
2787
|
location: r,
|
|
@@ -2788,9 +2791,9 @@ class Mr {
|
|
|
2788
2791
|
minMatchCharLength: l,
|
|
2789
2792
|
ignoreLocation: c
|
|
2790
2793
|
} = this.options;
|
|
2791
|
-
let u = [], d = 0,
|
|
2794
|
+
let u = [], d = 0, h = !1;
|
|
2792
2795
|
this.chunks.forEach(({
|
|
2793
|
-
pattern:
|
|
2796
|
+
pattern: f,
|
|
2794
2797
|
alphabet: v,
|
|
2795
2798
|
startIndex: b
|
|
2796
2799
|
}) => {
|
|
@@ -2798,7 +2801,7 @@ class Mr {
|
|
|
2798
2801
|
isMatch: p,
|
|
2799
2802
|
score: g,
|
|
2800
2803
|
indices: _
|
|
2801
|
-
} = Ul(e,
|
|
2804
|
+
} = Ul(e, f, v, {
|
|
2802
2805
|
location: r + b,
|
|
2803
2806
|
distance: s,
|
|
2804
2807
|
threshold: a,
|
|
@@ -2807,13 +2810,13 @@ class Mr {
|
|
|
2807
2810
|
includeMatches: n,
|
|
2808
2811
|
ignoreLocation: c
|
|
2809
2812
|
});
|
|
2810
|
-
p && (
|
|
2813
|
+
p && (h = !0), d += g, p && _ && (u = [...u, ..._]);
|
|
2811
2814
|
});
|
|
2812
2815
|
let m = {
|
|
2813
|
-
isMatch:
|
|
2814
|
-
score:
|
|
2816
|
+
isMatch: h,
|
|
2817
|
+
score: h ? d / this.chunks.length : 1
|
|
2815
2818
|
};
|
|
2816
|
-
return
|
|
2819
|
+
return h && n && (m.indices = u), m;
|
|
2817
2820
|
}
|
|
2818
2821
|
}
|
|
2819
2822
|
class et {
|
|
@@ -3093,13 +3096,13 @@ class sc {
|
|
|
3093
3096
|
for (let l = 0, c = i.length; l < c; l += 1) {
|
|
3094
3097
|
const u = i[l];
|
|
3095
3098
|
a.length = 0, s = 0;
|
|
3096
|
-
for (let d = 0,
|
|
3099
|
+
for (let d = 0, h = u.length; d < h; d += 1) {
|
|
3097
3100
|
const m = u[d], {
|
|
3098
|
-
isMatch:
|
|
3101
|
+
isMatch: f,
|
|
3099
3102
|
indices: v,
|
|
3100
3103
|
score: b
|
|
3101
3104
|
} = m.search(e);
|
|
3102
|
-
if (
|
|
3105
|
+
if (f) {
|
|
3103
3106
|
if (s += 1, o += b, n) {
|
|
3104
3107
|
const p = m.constructor.type;
|
|
3105
3108
|
rc.has(p) ? a = [...a, ...v] : a.push(v);
|
|
@@ -3141,7 +3144,7 @@ const ci = {
|
|
|
3141
3144
|
}, Gi = {
|
|
3142
3145
|
PATH: "$path",
|
|
3143
3146
|
PATTERN: "$val"
|
|
3144
|
-
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]), oc = (t) => !!t[Gi.PATH], lc = (t) => !Ge(t) &&
|
|
3147
|
+
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]), oc = (t) => !!t[Gi.PATH], lc = (t) => !Ge(t) && Ar(t) && !Wi(t), Kn = (t) => ({
|
|
3145
3148
|
[ci.AND]: Object.keys(t).map((e) => ({
|
|
3146
3149
|
[e]: t[e]
|
|
3147
3150
|
}))
|
|
@@ -3194,8 +3197,8 @@ function cc(t, {
|
|
|
3194
3197
|
}
|
|
3195
3198
|
function uc(t, e) {
|
|
3196
3199
|
const i = t.matches;
|
|
3197
|
-
e.matches = [],
|
|
3198
|
-
if (!
|
|
3200
|
+
e.matches = [], Ae(i) && i.forEach((n) => {
|
|
3201
|
+
if (!Ae(n.indices) || !n.indices.length)
|
|
3199
3202
|
return;
|
|
3200
3203
|
const {
|
|
3201
3204
|
indices: r,
|
|
@@ -3228,9 +3231,9 @@ function hc(t, e, {
|
|
|
3228
3231
|
}), o;
|
|
3229
3232
|
});
|
|
3230
3233
|
}
|
|
3231
|
-
class
|
|
3234
|
+
class wt {
|
|
3232
3235
|
constructor(e, i = {}, n) {
|
|
3233
|
-
this.options = mt(mt({}, H), i), this.options.useExtendedSearch, this._keyStore = new
|
|
3236
|
+
this.options = mt(mt({}, H), i), this.options.useExtendedSearch, this._keyStore = new xl(this.options.keys), this.setCollection(e, n);
|
|
3234
3237
|
}
|
|
3235
3238
|
setCollection(e, i) {
|
|
3236
3239
|
if (this._docs = e, i && !(i instanceof rn))
|
|
@@ -3241,7 +3244,7 @@ class At {
|
|
|
3241
3244
|
});
|
|
3242
3245
|
}
|
|
3243
3246
|
add(e) {
|
|
3244
|
-
|
|
3247
|
+
Ae(e) && (this._docs.push(e), this._myIndex.add(e));
|
|
3245
3248
|
}
|
|
3246
3249
|
remove(e = () => !1) {
|
|
3247
3250
|
const i = [];
|
|
@@ -3284,7 +3287,7 @@ class At {
|
|
|
3284
3287
|
i: a,
|
|
3285
3288
|
n: o
|
|
3286
3289
|
}) => {
|
|
3287
|
-
if (!
|
|
3290
|
+
if (!Ae(s))
|
|
3288
3291
|
return;
|
|
3289
3292
|
const {
|
|
3290
3293
|
isMatch: l,
|
|
@@ -3308,11 +3311,11 @@ class At {
|
|
|
3308
3311
|
if (!o.children) {
|
|
3309
3312
|
const {
|
|
3310
3313
|
keyId: d,
|
|
3311
|
-
searcher:
|
|
3314
|
+
searcher: h
|
|
3312
3315
|
} = o, m = this._findMatches({
|
|
3313
3316
|
key: this._keyStore.get(d),
|
|
3314
3317
|
value: this._myIndex.getValueForItemAtKeyId(l, d),
|
|
3315
|
-
searcher:
|
|
3318
|
+
searcher: h
|
|
3316
3319
|
});
|
|
3317
3320
|
return m && m.length ? [{
|
|
3318
3321
|
idx: c,
|
|
@@ -3321,10 +3324,10 @@ class At {
|
|
|
3321
3324
|
}] : [];
|
|
3322
3325
|
}
|
|
3323
3326
|
const u = [];
|
|
3324
|
-
for (let d = 0,
|
|
3325
|
-
const m = o.children[d],
|
|
3326
|
-
if (
|
|
3327
|
-
u.push(...
|
|
3327
|
+
for (let d = 0, h = o.children.length; d < h; d += 1) {
|
|
3328
|
+
const m = o.children[d], f = n(m, l, c);
|
|
3329
|
+
if (f.length)
|
|
3330
|
+
u.push(...f);
|
|
3328
3331
|
else if (o.operator === ci.AND)
|
|
3329
3332
|
return [];
|
|
3330
3333
|
}
|
|
@@ -3334,7 +3337,7 @@ class At {
|
|
|
3334
3337
|
$: o,
|
|
3335
3338
|
i: l
|
|
3336
3339
|
}) => {
|
|
3337
|
-
if (
|
|
3340
|
+
if (Ae(o)) {
|
|
3338
3341
|
let c = n(i, o, l);
|
|
3339
3342
|
c.length && (s[l] || (s[l] = {
|
|
3340
3343
|
idx: l,
|
|
@@ -3357,7 +3360,7 @@ class At {
|
|
|
3357
3360
|
$: a,
|
|
3358
3361
|
i: o
|
|
3359
3362
|
}) => {
|
|
3360
|
-
if (!
|
|
3363
|
+
if (!Ae(a))
|
|
3361
3364
|
return;
|
|
3362
3365
|
let l = [];
|
|
3363
3366
|
n.forEach((c, u) => {
|
|
@@ -3378,7 +3381,7 @@ class At {
|
|
|
3378
3381
|
value: i,
|
|
3379
3382
|
searcher: n
|
|
3380
3383
|
}) {
|
|
3381
|
-
if (!
|
|
3384
|
+
if (!Ae(i))
|
|
3382
3385
|
return [];
|
|
3383
3386
|
let r = [];
|
|
3384
3387
|
if (Ge(i))
|
|
@@ -3387,7 +3390,7 @@ class At {
|
|
|
3387
3390
|
i: a,
|
|
3388
3391
|
n: o
|
|
3389
3392
|
}) => {
|
|
3390
|
-
if (!
|
|
3393
|
+
if (!Ae(s))
|
|
3391
3394
|
return;
|
|
3392
3395
|
const {
|
|
3393
3396
|
isMatch: l,
|
|
@@ -3423,11 +3426,11 @@ class At {
|
|
|
3423
3426
|
return r;
|
|
3424
3427
|
}
|
|
3425
3428
|
}
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3429
|
+
wt.version = "7.0.0";
|
|
3430
|
+
wt.createIndex = Ir;
|
|
3431
|
+
wt.parseIndex = Gl;
|
|
3432
|
+
wt.config = H;
|
|
3433
|
+
wt.parseQuery = Dr;
|
|
3431
3434
|
ac(sc);
|
|
3432
3435
|
var fc = (
|
|
3433
3436
|
/** @class */
|
|
@@ -3442,7 +3445,7 @@ var fc = (
|
|
|
3442
3445
|
}, t.prototype.isEmptyIndex = function() {
|
|
3443
3446
|
return !this._haystack.length;
|
|
3444
3447
|
}, t.prototype.search = function(e) {
|
|
3445
|
-
this._fuse || (this._fuse = new
|
|
3448
|
+
this._fuse || (this._fuse = new wt(this._haystack, this._fuseOptions));
|
|
3446
3449
|
var i = this._fuse.search(e);
|
|
3447
3450
|
return i.map(function(n, r) {
|
|
3448
3451
|
return {
|
|
@@ -3487,20 +3490,20 @@ var mc = function(t) {
|
|
|
3487
3490
|
return j(r, n), Be(r, i, e), r;
|
|
3488
3491
|
},
|
|
3489
3492
|
item: function(t, e, i) {
|
|
3490
|
-
var n = t.allowHTML, r = t.removeItemButtonAlignLeft, s = t.removeItemIconText, a = t.removeItemLabelText, o = t.classNames, l = o.item, c = o.button, u = o.highlightedState, d = o.itemSelectable,
|
|
3491
|
-
if (j(
|
|
3493
|
+
var n = t.allowHTML, r = t.removeItemButtonAlignLeft, s = t.removeItemIconText, a = t.removeItemLabelText, o = t.classNames, l = o.item, c = o.button, u = o.highlightedState, d = o.itemSelectable, h = o.placeholder, m = ot(e.value), f = document.createElement("div");
|
|
3494
|
+
if (j(f, l), e.labelClass) {
|
|
3492
3495
|
var v = document.createElement("span");
|
|
3493
|
-
Be(v, n, e.label), j(v, e.labelClass),
|
|
3496
|
+
Be(v, n, e.label), j(v, e.labelClass), f.appendChild(v);
|
|
3494
3497
|
} else
|
|
3495
|
-
Be(
|
|
3496
|
-
if (
|
|
3497
|
-
e.disabled && Ne(
|
|
3498
|
+
Be(f, n, e.label);
|
|
3499
|
+
if (f.dataset.item = "", f.dataset.id = e.id, f.dataset.value = m, ki(f, e, !0), (e.disabled || this.containerOuter.isDisabled) && f.setAttribute("aria-disabled", "true"), this._isSelectElement && (f.setAttribute("aria-selected", "true"), f.setAttribute("role", "option")), e.placeholder && (j(f, h), f.dataset.placeholder = ""), j(f, e.highlighted ? u : d), i) {
|
|
3500
|
+
e.disabled && Ne(f, d), f.dataset.deletable = "";
|
|
3498
3501
|
var b = document.createElement("button");
|
|
3499
3502
|
b.type = "button", j(b, c), Be(b, !0, Pt(s, e.value));
|
|
3500
3503
|
var p = Pt(a, e.value);
|
|
3501
|
-
p && b.setAttribute("aria-label", p), b.dataset.button = "", r ?
|
|
3504
|
+
p && b.setAttribute("aria-label", p), b.dataset.button = "", r ? f.insertAdjacentElement("afterbegin", b) : f.appendChild(b);
|
|
3502
3505
|
}
|
|
3503
|
-
return
|
|
3506
|
+
return f;
|
|
3504
3507
|
},
|
|
3505
3508
|
choiceList: function(t, e) {
|
|
3506
3509
|
var i = t.classNames.list, n = document.createElement("div");
|
|
@@ -3509,11 +3512,11 @@ var mc = function(t) {
|
|
|
3509
3512
|
choiceGroup: function(t, e) {
|
|
3510
3513
|
var i = t.allowHTML, n = t.classNames, r = n.group, s = n.groupHeading, a = n.itemDisabled, o = e.id, l = e.label, c = e.disabled, u = ot(l), d = document.createElement("div");
|
|
3511
3514
|
j(d, r), c && j(d, a), d.setAttribute("role", "group"), d.dataset.group = "", d.dataset.id = o, d.dataset.value = u, c && d.setAttribute("aria-disabled", "true");
|
|
3512
|
-
var
|
|
3513
|
-
return j(
|
|
3515
|
+
var h = document.createElement("div");
|
|
3516
|
+
return j(h, s), Be(h, i, l || ""), d.appendChild(h), d;
|
|
3514
3517
|
},
|
|
3515
3518
|
choice: function(t, e, i, n) {
|
|
3516
|
-
var r = t.allowHTML, s = t.classNames, a = s.item, o = s.itemChoice, l = s.itemSelectable, c = s.selectedState, u = s.itemDisabled, d = s.description,
|
|
3519
|
+
var r = t.allowHTML, s = t.classNames, a = s.item, o = s.itemChoice, l = s.itemSelectable, c = s.selectedState, u = s.itemDisabled, d = s.description, h = s.placeholder, m = e.label, f = ot(e.value), v = document.createElement("div");
|
|
3517
3520
|
v.id = e.elementId, j(v, a), j(v, o), n && typeof m == "string" && (m = nn(r, m), m += " (".concat(n, ")"), m = { trusted: m });
|
|
3518
3521
|
var b = v;
|
|
3519
3522
|
if (e.labelClass) {
|
|
@@ -3527,7 +3530,7 @@ var mc = function(t) {
|
|
|
3527
3530
|
var _ = document.createElement("span");
|
|
3528
3531
|
Be(_, r, e.labelDescription), _.id = g, j(_, d), v.appendChild(_);
|
|
3529
3532
|
}
|
|
3530
|
-
return e.selected && j(v, c), e.placeholder && j(v,
|
|
3533
|
+
return e.selected && j(v, c), e.placeholder && j(v, h), v.setAttribute("role", e.group ? "treeitem" : "option"), v.dataset.choice = "", v.dataset.id = e.id, v.dataset.value = f, i && (v.dataset.selectText = i), e.group && (v.dataset.groupId = "".concat(e.group.id)), ki(v, e, !1), e.disabled ? (j(v, u), v.dataset.choiceDisabled = "", v.setAttribute("aria-disabled", "true")) : (j(v, l), v.dataset.choiceSelectable = ""), v;
|
|
3531
3534
|
},
|
|
3532
3535
|
input: function(t, e) {
|
|
3533
3536
|
var i = t.classNames, n = i.input, r = i.inputCloned, s = t.labelId, a = document.createElement("input");
|
|
@@ -3581,8 +3584,8 @@ var mc = function(t) {
|
|
|
3581
3584
|
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");
|
|
3582
3585
|
var l = o.type, c = l === qe.Text;
|
|
3583
3586
|
(c || s.maxItemCount !== 1) && (s.singleModeForMultiSelect = !1), s.singleModeForMultiSelect && (l = qe.SelectMultiple);
|
|
3584
|
-
var u = l === qe.SelectOne, d = l === qe.SelectMultiple,
|
|
3585
|
-
if (this._elementType = l, this._isTextElement = c, this._isSelectOneElement = u, this._isSelectMultipleElement = d, this._isSelectElement = u || d, this._canAddUserChoices = c && s.addItems ||
|
|
3587
|
+
var u = l === qe.SelectOne, d = l === qe.SelectMultiple, h = u || d;
|
|
3588
|
+
if (this._elementType = l, this._isTextElement = c, this._isSelectOneElement = u, this._isSelectMultipleElement = d, this._isSelectElement = u || d, this._canAddUserChoices = c && s.addItems || h && s.addChoices, typeof s.renderSelectedChoices != "boolean" && (s.renderSelectedChoices = s.renderSelectedChoices === "always" || u), s.closeDropdownOnSelect === "auto" ? s.closeDropdownOnSelect = c || u || s.singleModeForMultiSelect : s.closeDropdownOnSelect = Lt(s.closeDropdownOnSelect), s.placeholder && (s.placeholderValue ? this._hasNonChoicePlaceholder = !0 : o.dataset.placeholder && (this._hasNonChoicePlaceholder = !0, s.placeholderValue = o.dataset.placeholder)), i.addItemFilter && typeof i.addItemFilter != "function") {
|
|
3586
3589
|
var m = i.addItemFilter instanceof RegExp ? i.addItemFilter : new RegExp(i.addItemFilter);
|
|
3587
3590
|
s.addItemFilter = m.test.bind(m);
|
|
3588
3591
|
}
|
|
@@ -3592,9 +3595,9 @@ var mc = function(t) {
|
|
|
3592
3595
|
classNames: s.classNames
|
|
3593
3596
|
});
|
|
3594
3597
|
else {
|
|
3595
|
-
var
|
|
3598
|
+
var f = o;
|
|
3596
3599
|
this.passedElement = new yl({
|
|
3597
|
-
element:
|
|
3600
|
+
element: f,
|
|
3598
3601
|
classNames: s.classNames,
|
|
3599
3602
|
template: function(p) {
|
|
3600
3603
|
return n._templates.option(p);
|
|
@@ -3602,7 +3605,7 @@ var mc = function(t) {
|
|
|
3602
3605
|
extractPlaceholder: s.placeholder && !this._hasNonChoicePlaceholder
|
|
3603
3606
|
});
|
|
3604
3607
|
}
|
|
3605
|
-
if (this.initialised = !1, this._store = new
|
|
3608
|
+
if (this.initialised = !1, this._store = new wl(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) {
|
|
3606
3609
|
var v = window.getComputedStyle(o).direction, b = window.getComputedStyle(document.documentElement).direction;
|
|
3607
3610
|
v !== b && (this._direction = v);
|
|
3608
3611
|
}
|
|
@@ -3767,13 +3770,13 @@ var mc = function(t) {
|
|
|
3767
3770
|
var c = i === "value", u = n === "label";
|
|
3768
3771
|
e.forEach(function(d) {
|
|
3769
3772
|
if ("choices" in d) {
|
|
3770
|
-
var
|
|
3771
|
-
u || (
|
|
3773
|
+
var h = d;
|
|
3774
|
+
u || (h = Ee(Ee({}, h), { label: h[n] })), o._addGroup(Le(h, !0));
|
|
3772
3775
|
} else {
|
|
3773
3776
|
var m = d;
|
|
3774
3777
|
(!u || !c) && (m = Ee(Ee({}, m), { value: m[i], label: m[n] }));
|
|
3775
|
-
var
|
|
3776
|
-
o._addChoice(
|
|
3778
|
+
var f = Le(m, !1);
|
|
3779
|
+
o._addChoice(f), f.placeholder && !o._hasNonChoicePlaceholder && (o._placeholderValue = _r(f.label));
|
|
3777
3780
|
}
|
|
3778
3781
|
}), o.unhighlightAll();
|
|
3779
3782
|
}), this._searcher.reset(), this;
|
|
@@ -3825,49 +3828,49 @@ var mc = function(t) {
|
|
|
3825
3828
|
if (this._canAddItems()) {
|
|
3826
3829
|
var i = this, n = i.config, r = i._isSearching, s = this._store, a = s.activeGroups, o = s.activeChoices, l = 0;
|
|
3827
3830
|
if (r && n.searchResultLimit > 0 ? l = n.searchResultLimit : n.renderChoiceLimit > 0 && (l = n.renderChoiceLimit), this._isSelectElement) {
|
|
3828
|
-
var c = o.filter(function(
|
|
3829
|
-
return !
|
|
3831
|
+
var c = o.filter(function(f) {
|
|
3832
|
+
return !f.element;
|
|
3830
3833
|
});
|
|
3831
3834
|
c.length && this.passedElement.addOptions(c);
|
|
3832
3835
|
}
|
|
3833
|
-
var u = document.createDocumentFragment(), d = function(
|
|
3834
|
-
return
|
|
3836
|
+
var u = document.createDocumentFragment(), d = function(f) {
|
|
3837
|
+
return f.filter(function(v) {
|
|
3835
3838
|
return !v.placeholder && (r ? !!v.rank : n.renderSelectedChoices || !v.selected);
|
|
3836
3839
|
});
|
|
3837
|
-
},
|
|
3838
|
-
r ?
|
|
3839
|
-
var p =
|
|
3840
|
-
p = !v && l && p > l ? l : p, p--,
|
|
3840
|
+
}, h = !1, m = function(f, v, b) {
|
|
3841
|
+
r ? f.sort(ol) : n.shouldSort && f.sort(n.sorter);
|
|
3842
|
+
var p = f.length;
|
|
3843
|
+
p = !v && l && p > l ? l : p, p--, f.every(function(g, _) {
|
|
3841
3844
|
var $ = g.choiceEl || e._templates.choice(n, g, n.itemSelectText, b);
|
|
3842
|
-
return g.choiceEl = $, u.appendChild($), (r || !g.selected) && (
|
|
3845
|
+
return g.choiceEl = $, u.appendChild($), (r || !g.selected) && (h = !0), _ < p;
|
|
3843
3846
|
});
|
|
3844
3847
|
};
|
|
3845
3848
|
o.length && (n.resetScrollPosition && requestAnimationFrame(function() {
|
|
3846
3849
|
return e.choiceList.scrollToTop();
|
|
3847
|
-
}), !this._hasNonChoicePlaceholder && !r && this._isSelectOneElement && m(o.filter(function(
|
|
3848
|
-
return
|
|
3849
|
-
}), !1, void 0), a.length && !r ? (n.shouldSort && a.sort(n.sorter), m(o.filter(function(
|
|
3850
|
-
return !
|
|
3851
|
-
}), !1, void 0), a.forEach(function(
|
|
3852
|
-
var v = d(
|
|
3850
|
+
}), !this._hasNonChoicePlaceholder && !r && this._isSelectOneElement && m(o.filter(function(f) {
|
|
3851
|
+
return f.placeholder && !f.group;
|
|
3852
|
+
}), !1, void 0), a.length && !r ? (n.shouldSort && a.sort(n.sorter), m(o.filter(function(f) {
|
|
3853
|
+
return !f.placeholder && !f.group;
|
|
3854
|
+
}), !1, void 0), a.forEach(function(f) {
|
|
3855
|
+
var v = d(f.choices);
|
|
3853
3856
|
if (v.length) {
|
|
3854
|
-
if (
|
|
3855
|
-
var b =
|
|
3856
|
-
|
|
3857
|
+
if (f.label) {
|
|
3858
|
+
var b = f.groupEl || e._templates.choiceGroup(e.config, f);
|
|
3859
|
+
f.groupEl = b, b.remove(), u.appendChild(b);
|
|
3857
3860
|
}
|
|
3858
|
-
m(v, !0, n.appendGroupInSearch && r ?
|
|
3861
|
+
m(v, !0, n.appendGroupInSearch && r ? f.label : void 0);
|
|
3859
3862
|
}
|
|
3860
|
-
})) : m(d(o), !1, void 0)), !
|
|
3863
|
+
})) : m(d(o), !1, void 0)), !h && (r || !u.children.length || !n.renderSelectedChoices) && (this._notice || (this._notice = {
|
|
3861
3864
|
text: Ln(r ? n.noResultsText : n.noChoicesText),
|
|
3862
3865
|
type: r ? fe.noResults : fe.noChoices
|
|
3863
|
-
}), u.replaceChildren("")), this._renderNotice(u), this.choiceList.element.replaceChildren(u),
|
|
3866
|
+
}), u.replaceChildren("")), this._renderNotice(u), this.choiceList.element.replaceChildren(u), h && this._highlightChoice();
|
|
3864
3867
|
}
|
|
3865
3868
|
}, t.prototype._renderItems = function() {
|
|
3866
3869
|
var e = this, i = this._store.items || [], n = this.itemList.element, r = this.config, s = document.createDocumentFragment(), a = function(d) {
|
|
3867
3870
|
return n.querySelector('[data-item][data-id="'.concat(d.id, '"]'));
|
|
3868
3871
|
}, o = function(d) {
|
|
3869
|
-
var
|
|
3870
|
-
|
|
3872
|
+
var h = d.itemEl;
|
|
3873
|
+
h && h.parentElement || (h = a(d) || e._templates.item(r, d, r.removeItemButton), d.itemEl = h, s.appendChild(h));
|
|
3871
3874
|
};
|
|
3872
3875
|
i.forEach(o);
|
|
3873
3876
|
var l = !!s.childNodes.length;
|
|
@@ -3884,11 +3887,11 @@ var mc = function(t) {
|
|
|
3884
3887
|
}, !1)));
|
|
3885
3888
|
}
|
|
3886
3889
|
l && (n.append(s), r.shouldSortItems && !this._isSelectOneElement && (i.sort(r.sorter), i.forEach(function(d) {
|
|
3887
|
-
var
|
|
3888
|
-
|
|
3890
|
+
var h = a(d);
|
|
3891
|
+
h && (h.remove(), s.append(h));
|
|
3889
3892
|
}), n.append(s))), this._isTextElement && (this.passedElement.value = i.map(function(d) {
|
|
3890
|
-
var
|
|
3891
|
-
return
|
|
3893
|
+
var h = d.value;
|
|
3894
|
+
return h;
|
|
3892
3895
|
}).join(r.delimiter));
|
|
3893
3896
|
}, t.prototype._displayNotice = function(e, i, n) {
|
|
3894
3897
|
n === void 0 && (n = !0);
|
|
@@ -4311,7 +4314,7 @@ var mc = function(t) {
|
|
|
4311
4314
|
const bc = {
|
|
4312
4315
|
class: "m-form-group",
|
|
4313
4316
|
ref: "selectComponent"
|
|
4314
|
-
}, Ec = ["for"], Sc = ["id"],
|
|
4317
|
+
}, Ec = ["for"], Sc = ["id"], Ac = ["id", "aria-describedby", "multiple"], wc = /* @__PURE__ */ U({
|
|
4315
4318
|
__name: "MucSelect",
|
|
4316
4319
|
props: /* @__PURE__ */ Fe({
|
|
4317
4320
|
id: {},
|
|
@@ -4335,8 +4338,8 @@ const bc = {
|
|
|
4335
4338
|
"modelValue"
|
|
4336
4339
|
), s = L(() => {
|
|
4337
4340
|
const d = [];
|
|
4338
|
-
return t.items.forEach((
|
|
4339
|
-
typeof
|
|
4341
|
+
return t.items.forEach((h) => {
|
|
4342
|
+
typeof h == "string" ? d.push(h) : d.push(h[t.itemTitle]);
|
|
4340
4343
|
}), d;
|
|
4341
4344
|
});
|
|
4342
4345
|
bt(
|
|
@@ -4377,10 +4380,10 @@ const bc = {
|
|
|
4377
4380
|
if (n.value) {
|
|
4378
4381
|
n.value.clearStore();
|
|
4379
4382
|
const d = [];
|
|
4380
|
-
s.value.forEach((
|
|
4383
|
+
s.value.forEach((h, m) => {
|
|
4381
4384
|
d.push({
|
|
4382
4385
|
value: m.toString(),
|
|
4383
|
-
label:
|
|
4386
|
+
label: h,
|
|
4384
4387
|
selected: !1,
|
|
4385
4388
|
disabled: !1
|
|
4386
4389
|
});
|
|
@@ -4390,8 +4393,8 @@ const bc = {
|
|
|
4390
4393
|
if (n.value) {
|
|
4391
4394
|
const d = n.value.getValue(!0);
|
|
4392
4395
|
if (Array.isArray(d)) {
|
|
4393
|
-
const
|
|
4394
|
-
d.forEach((m) =>
|
|
4396
|
+
const h = [];
|
|
4397
|
+
d.forEach((m) => h.push(t.items[parseInt(m)])), r.value = h;
|
|
4395
4398
|
} else
|
|
4396
4399
|
r.value = t.items[parseInt(d)];
|
|
4397
4400
|
}
|
|
@@ -4408,17 +4411,17 @@ const bc = {
|
|
|
4408
4411
|
if (Array.isArray(r.value)) {
|
|
4409
4412
|
const d = [];
|
|
4410
4413
|
r.value.forEach(
|
|
4411
|
-
(
|
|
4412
|
-
t.items.findIndex((m) => typeof m == "string" ? m ==
|
|
4414
|
+
(h) => d.push(
|
|
4415
|
+
t.items.findIndex((m) => typeof m == "string" ? m == h : m[t.itemTitle] == h[t.itemTitle]).toString()
|
|
4413
4416
|
)
|
|
4414
4417
|
), n.value.setChoiceByValue(d);
|
|
4415
4418
|
} else {
|
|
4416
|
-
const d = t.items.findIndex((
|
|
4417
|
-
if (typeof
|
|
4418
|
-
return
|
|
4419
|
+
const d = t.items.findIndex((h) => {
|
|
4420
|
+
if (typeof h == "string")
|
|
4421
|
+
return h == r.value;
|
|
4419
4422
|
{
|
|
4420
4423
|
const m = r.value;
|
|
4421
|
-
return
|
|
4424
|
+
return h[t.itemTitle] == m[t.itemTitle];
|
|
4422
4425
|
}
|
|
4423
4426
|
});
|
|
4424
4427
|
n.value.setChoiceByValue(d.toString());
|
|
@@ -4426,32 +4429,35 @@ const bc = {
|
|
|
4426
4429
|
else
|
|
4427
4430
|
n.value.setChoiceByValue("");
|
|
4428
4431
|
}, u = (d) => {
|
|
4429
|
-
var
|
|
4432
|
+
var f, v, b, p;
|
|
4430
4433
|
d.stopPropagation();
|
|
4431
|
-
const
|
|
4434
|
+
const h = (v = (f = e.value) == null ? void 0 : f.parentElement) == null ? void 0 : v.querySelector(
|
|
4432
4435
|
".choices__list.choices__list--dropdown"
|
|
4433
4436
|
), m = (p = (b = e.value) == null ? void 0 : b.parentElement) == null ? void 0 : p.querySelector(
|
|
4434
4437
|
".choices__input.choices__input--cloned"
|
|
4435
4438
|
);
|
|
4436
|
-
|
|
4439
|
+
if (h) {
|
|
4440
|
+
const g = h.getAttribute("aria-expanded");
|
|
4441
|
+
g && g == "true" ? h.classList.contains("is-active") && (h.classList.remove("is-active"), h.setAttribute("aria-expanded", "false")) : h.classList.contains("is-active") || (h.classList.add("is-active"), h.setAttribute("aria-expanded", "true"), m && m.focus());
|
|
4442
|
+
}
|
|
4437
4443
|
};
|
|
4438
4444
|
return vi(() => {
|
|
4439
4445
|
i.value && a();
|
|
4440
4446
|
}), hr(() => {
|
|
4441
4447
|
n.value && n.value.destroy();
|
|
4442
|
-
}), (d,
|
|
4443
|
-
d.label ? (E(),
|
|
4448
|
+
}), (d, h) => (E(), w("div", bc, [
|
|
4449
|
+
d.label ? (E(), w("label", {
|
|
4444
4450
|
key: 0,
|
|
4445
4451
|
for: "select-" + d.id,
|
|
4446
4452
|
class: "m-label",
|
|
4447
4453
|
tabindex: "0"
|
|
4448
|
-
},
|
|
4449
|
-
d.hint ? (E(),
|
|
4454
|
+
}, x(d.label), 9, Ec)) : W("", !0),
|
|
4455
|
+
d.hint ? (E(), w("p", {
|
|
4450
4456
|
key: 1,
|
|
4451
4457
|
class: "m-hint",
|
|
4452
4458
|
id: "select-hint-" + d.id,
|
|
4453
4459
|
tabindex: "0"
|
|
4454
|
-
},
|
|
4460
|
+
}, x(d.hint), 9, Sc)) : W("", !0),
|
|
4455
4461
|
y("div", {
|
|
4456
4462
|
ref_key: "selectComponentWrapper",
|
|
4457
4463
|
ref: e,
|
|
@@ -4464,7 +4470,7 @@ const bc = {
|
|
|
4464
4470
|
"aria-describedby": d.hint ? "select-hint-" + d.id : void 0,
|
|
4465
4471
|
class: "m-select",
|
|
4466
4472
|
multiple: d.multiple
|
|
4467
|
-
}, null, 8,
|
|
4473
|
+
}, null, 8, Ac)
|
|
4468
4474
|
], 512)
|
|
4469
4475
|
], 512));
|
|
4470
4476
|
}
|
|
@@ -4495,19 +4501,19 @@ const bc = {
|
|
|
4495
4501
|
emits: ["update:modelValue"],
|
|
4496
4502
|
setup(t) {
|
|
4497
4503
|
const e = dt(t, "modelValue"), i = ve(e.value.length);
|
|
4498
|
-
return (n, r) => (E(),
|
|
4504
|
+
return (n, r) => (E(), w("div", {
|
|
4499
4505
|
class: ae(["m-form-group", { "has-error": n.errorMsg }])
|
|
4500
4506
|
}, [
|
|
4501
|
-
n.label ? (E(),
|
|
4507
|
+
n.label ? (E(), w("label", {
|
|
4502
4508
|
key: 0,
|
|
4503
4509
|
for: "textarea-" + n.id,
|
|
4504
4510
|
class: ae(["m-label", { "m-label--optional": !n.required }])
|
|
4505
|
-
},
|
|
4506
|
-
n.hint ? (E(),
|
|
4511
|
+
}, x(n.label), 11, Cc)) : W("", !0),
|
|
4512
|
+
n.hint ? (E(), w("p", {
|
|
4507
4513
|
key: 1,
|
|
4508
4514
|
id: "textarea-hint-" + n.id,
|
|
4509
4515
|
class: "m-hint"
|
|
4510
|
-
},
|
|
4516
|
+
}, x(n.hint), 9, Ic)) : W("", !0),
|
|
4511
4517
|
y("div", {
|
|
4512
4518
|
class: ae(["m-input-wrapper", { "m-input-wrapper--character-count": n.maxlength }])
|
|
4513
4519
|
}, [
|
|
@@ -4523,13 +4529,13 @@ const bc = {
|
|
|
4523
4529
|
}, null, 40, Mc), [
|
|
4524
4530
|
[Es, e.value]
|
|
4525
4531
|
]),
|
|
4526
|
-
n.maxlength ? (E(),
|
|
4532
|
+
n.maxlength ? (E(), w("div", Tc, [
|
|
4527
4533
|
y("span", {
|
|
4528
4534
|
id: "textarea-count-" + n.id,
|
|
4529
4535
|
class: "m-character-count__message visually-hidden"
|
|
4530
|
-
}, "Sie können bis zu " +
|
|
4531
|
-
y("span", Dc,
|
|
4532
|
-
y("div", kc,
|
|
4536
|
+
}, "Sie können bis zu " + x(n.maxlength) + " Zeichen eingeben.", 9, Oc),
|
|
4537
|
+
y("span", Dc, x(e.value.length) + "/" + x(n.maxlength), 1),
|
|
4538
|
+
y("div", kc, x(i.value) + "/" + x(n.maxlength), 1)
|
|
4533
4539
|
])) : W("", !0)
|
|
4534
4540
|
], 2),
|
|
4535
4541
|
n.errorMsg ? (E(), se(gt, {
|
|
@@ -4539,7 +4545,7 @@ const bc = {
|
|
|
4539
4545
|
"aria-live": "polite"
|
|
4540
4546
|
}, {
|
|
4541
4547
|
default: te(() => [
|
|
4542
|
-
ue(
|
|
4548
|
+
ue(x(n.errorMsg), 1)
|
|
4543
4549
|
]),
|
|
4544
4550
|
_: 1
|
|
4545
4551
|
})) : W("", !0)
|
|
@@ -4548,7 +4554,7 @@ const bc = {
|
|
|
4548
4554
|
}), Nc = { class: "m-intro-vertical__body" }, $c = { class: "container" }, Pc = { class: "m-intro-vertical__grid" }, Fc = {
|
|
4549
4555
|
key: 0,
|
|
4550
4556
|
class: "m-intro-vertical__pictogram"
|
|
4551
|
-
},
|
|
4557
|
+
}, xc = ["src", "alt", "width", "height"], Rc = { class: "m-intro-vertical__grid-inner" }, Vc = {
|
|
4552
4558
|
key: 0,
|
|
4553
4559
|
class: "m-intro-vertical__tagline"
|
|
4554
4560
|
}, Bc = { class: "m-intro-vertical__title" }, Hc = { class: "m-intro-vertical__content" }, Yc = { style: { "padding-bottom": "32px" } }, Kc = /* @__PURE__ */ U({
|
|
@@ -4562,25 +4568,25 @@ const bc = {
|
|
|
4562
4568
|
size: { default: 64 }
|
|
4563
4569
|
},
|
|
4564
4570
|
setup(t) {
|
|
4565
|
-
return (e, i) => (E(),
|
|
4571
|
+
return (e, i) => (E(), w("div", {
|
|
4566
4572
|
class: ae(["m-intro m-intro-vertical", { "m-intro-vertical--with-pictogram": e.img }]),
|
|
4567
4573
|
style: { "background-color": "var(--color-neutrals-blue-xlight)" }
|
|
4568
4574
|
}, [
|
|
4569
4575
|
y("div", Nc, [
|
|
4570
4576
|
y("div", $c, [
|
|
4571
4577
|
y("div", Pc, [
|
|
4572
|
-
e.img ? (E(),
|
|
4578
|
+
e.img ? (E(), w("div", Fc, [
|
|
4573
4579
|
y("img", {
|
|
4574
4580
|
src: e.img,
|
|
4575
4581
|
alt: e.imgAlt,
|
|
4576
4582
|
width: e.size,
|
|
4577
4583
|
height: e.size
|
|
4578
|
-
}, null, 8,
|
|
4584
|
+
}, null, 8, xc)
|
|
4579
4585
|
])) : W("", !0),
|
|
4580
|
-
y("div",
|
|
4586
|
+
y("div", Rc, [
|
|
4581
4587
|
y("div", null, [
|
|
4582
|
-
e.tagline ? (E(),
|
|
4583
|
-
y("h1", Bc,
|
|
4588
|
+
e.tagline ? (E(), w("p", Vc, x(e.tagline), 1)) : W("", !0),
|
|
4589
|
+
y("h1", Bc, x(e.title), 1)
|
|
4584
4590
|
]),
|
|
4585
4591
|
e.divider ? (E(), se(X(tn), { key: 0 })) : W("", !0),
|
|
4586
4592
|
y("div", Hc, [
|
|
@@ -4609,7 +4615,7 @@ const bc = {
|
|
|
4609
4615
|
},
|
|
4610
4616
|
setup(t) {
|
|
4611
4617
|
const e = L(() => t.percentage || t.percentage === 0 ? t.percentage < 0 ? "0%" : t.percentage > 100 ? "100%" : Math.round(t.percentage) + "%" : "");
|
|
4612
|
-
return (i, n) => (E(),
|
|
4618
|
+
return (i, n) => (E(), w("svg", {
|
|
4613
4619
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4614
4620
|
width: i.size,
|
|
4615
4621
|
height: i.size,
|
|
@@ -4618,7 +4624,7 @@ const bc = {
|
|
|
4618
4624
|
color: "#005a9f"
|
|
4619
4625
|
}, [
|
|
4620
4626
|
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)),
|
|
4621
|
-
y("text", Wc,
|
|
4627
|
+
y("text", Wc, x(e.value), 1)
|
|
4622
4628
|
], 8, Gc));
|
|
4623
4629
|
}
|
|
4624
4630
|
});
|
|
@@ -4663,7 +4669,7 @@ function Wn(t) {
|
|
|
4663
4669
|
function _i(t, e) {
|
|
4664
4670
|
return typeof e === t;
|
|
4665
4671
|
}
|
|
4666
|
-
function
|
|
4672
|
+
function Rt(t) {
|
|
4667
4673
|
return !an(t) && _i("object", t);
|
|
4668
4674
|
}
|
|
4669
4675
|
var sn = Array.isArray, Lr = Z(_i, "function"), Ze = Z(_i, "string"), Ut = Z(_i, "undefined");
|
|
@@ -4694,7 +4700,7 @@ function Ye(t, e, i) {
|
|
|
4694
4700
|
n && t.classList[i ? "add" : "remove"](n);
|
|
4695
4701
|
});
|
|
4696
4702
|
}
|
|
4697
|
-
function
|
|
4703
|
+
function xe(t, e) {
|
|
4698
4704
|
Ye(t, Ze(e) ? e.split(" ") : e, !0);
|
|
4699
4705
|
}
|
|
4700
4706
|
function qt(t, e) {
|
|
@@ -4734,7 +4740,7 @@ function Ht(t) {
|
|
|
4734
4740
|
function Xe(t) {
|
|
4735
4741
|
return tt(arguments, 1).forEach(function(e) {
|
|
4736
4742
|
lt(e, function(i, n) {
|
|
4737
|
-
sn(i) ? t[n] = i.slice() :
|
|
4743
|
+
sn(i) ? t[n] = i.slice() : Rt(i) ? t[n] = Xe({}, Rt(t[n]) ? t[n] : {}, i) : t[n] = i;
|
|
4738
4744
|
});
|
|
4739
4745
|
}), t;
|
|
4740
4746
|
}
|
|
@@ -4743,7 +4749,7 @@ function Un(t, e) {
|
|
|
4743
4749
|
delete t[i];
|
|
4744
4750
|
});
|
|
4745
4751
|
}
|
|
4746
|
-
function
|
|
4752
|
+
function Re(t, e) {
|
|
4747
4753
|
Me(t, function(i) {
|
|
4748
4754
|
Me(e, function(n) {
|
|
4749
4755
|
i && i.removeAttribute(n);
|
|
@@ -4751,15 +4757,15 @@ function xe(t, e) {
|
|
|
4751
4757
|
});
|
|
4752
4758
|
}
|
|
4753
4759
|
function G(t, e, i) {
|
|
4754
|
-
|
|
4760
|
+
Rt(e) ? lt(e, function(n, r) {
|
|
4755
4761
|
G(t, r, n);
|
|
4756
4762
|
}) : Me(t, function(n) {
|
|
4757
|
-
an(i) || i === "" ?
|
|
4763
|
+
an(i) || i === "" ? Re(n, e) : n.setAttribute(e, String(i));
|
|
4758
4764
|
});
|
|
4759
4765
|
}
|
|
4760
4766
|
function _t(t, e, i) {
|
|
4761
4767
|
var n = document.createElement(t);
|
|
4762
|
-
return e && (Ze(e) ?
|
|
4768
|
+
return e && (Ze(e) ? xe(n, e) : G(n, e)), i && qt(i, n), n;
|
|
4763
4769
|
}
|
|
4764
4770
|
function Te(t, e, i) {
|
|
4765
4771
|
if (Ut(i))
|
|
@@ -4794,7 +4800,7 @@ function Fr(t) {
|
|
|
4794
4800
|
function He(t, e) {
|
|
4795
4801
|
t.preventDefault(), e && (t.stopPropagation(), t.stopImmediatePropagation());
|
|
4796
4802
|
}
|
|
4797
|
-
function
|
|
4803
|
+
function xr(t, e) {
|
|
4798
4804
|
return t && t.querySelector(e);
|
|
4799
4805
|
}
|
|
4800
4806
|
function cn(t, e) {
|
|
@@ -4815,7 +4821,7 @@ function Ft(t, e) {
|
|
|
4815
4821
|
throw new Error("[" + Jt + "] " + (e || ""));
|
|
4816
4822
|
}
|
|
4817
4823
|
var Qe = Math.min, di = Math.max, hi = Math.floor, Kt = Math.ceil, Se = Math.abs;
|
|
4818
|
-
function
|
|
4824
|
+
function Rr(t, e, i) {
|
|
4819
4825
|
return Se(t - e) < i;
|
|
4820
4826
|
}
|
|
4821
4827
|
function ai(t, e, i, n) {
|
|
@@ -4844,15 +4850,15 @@ function Zc(t) {
|
|
|
4844
4850
|
function Vr() {
|
|
4845
4851
|
var t = [];
|
|
4846
4852
|
function e(a, o, l, c) {
|
|
4847
|
-
r(a, o, function(u, d,
|
|
4848
|
-
var m = "addEventListener" in u,
|
|
4849
|
-
m ? u.addEventListener(d, l, c) : u.addListener(l), t.push([u, d,
|
|
4853
|
+
r(a, o, function(u, d, h) {
|
|
4854
|
+
var m = "addEventListener" in u, f = m ? u.removeEventListener.bind(u, d, l, c) : u.removeListener.bind(u, l);
|
|
4855
|
+
m ? u.addEventListener(d, l, c) : u.addListener(l), t.push([u, d, h, l, f]);
|
|
4850
4856
|
});
|
|
4851
4857
|
}
|
|
4852
4858
|
function i(a, o, l) {
|
|
4853
4859
|
r(a, o, function(c, u, d) {
|
|
4854
|
-
t = t.filter(function(
|
|
4855
|
-
return
|
|
4860
|
+
t = t.filter(function(h) {
|
|
4861
|
+
return h[0] === c && h[1] === u && h[2] === d && (!l || h[3] === l) ? (h[4](), !1) : !0;
|
|
4856
4862
|
});
|
|
4857
4863
|
});
|
|
4858
4864
|
}
|
|
@@ -4867,8 +4873,8 @@ function Vr() {
|
|
|
4867
4873
|
Me(a, function(c) {
|
|
4868
4874
|
c && Me(o, function(u) {
|
|
4869
4875
|
u.split(" ").forEach(function(d) {
|
|
4870
|
-
var
|
|
4871
|
-
l(c,
|
|
4876
|
+
var h = d.split(".");
|
|
4877
|
+
l(c, h[0], h[1]);
|
|
4872
4878
|
});
|
|
4873
4879
|
});
|
|
4874
4880
|
});
|
|
@@ -4908,20 +4914,20 @@ function Ei(t, e, i, n) {
|
|
|
4908
4914
|
function u() {
|
|
4909
4915
|
if (!l) {
|
|
4910
4916
|
if (a = t ? Qe((r() - s) / t, 1) : 1, i && i(a), a >= 1 && (e(), s = r(), n && ++c >= n))
|
|
4911
|
-
return
|
|
4917
|
+
return h();
|
|
4912
4918
|
o = Wn(u);
|
|
4913
4919
|
}
|
|
4914
4920
|
}
|
|
4915
4921
|
function d(p) {
|
|
4916
|
-
p ||
|
|
4922
|
+
p || f(), s = r() - (p ? a * t : 0), l = !1, o = Wn(u);
|
|
4917
4923
|
}
|
|
4918
|
-
function
|
|
4924
|
+
function h() {
|
|
4919
4925
|
l = !0;
|
|
4920
4926
|
}
|
|
4921
4927
|
function m() {
|
|
4922
4928
|
s = r(), a = 0, i && i(a);
|
|
4923
4929
|
}
|
|
4924
|
-
function
|
|
4930
|
+
function f() {
|
|
4925
4931
|
o && cancelAnimationFrame(o), a = 0, o = 0, l = !0;
|
|
4926
4932
|
}
|
|
4927
4933
|
function v(p) {
|
|
@@ -4933,8 +4939,8 @@ function Ei(t, e, i, n) {
|
|
|
4933
4939
|
return {
|
|
4934
4940
|
start: d,
|
|
4935
4941
|
rewind: m,
|
|
4936
|
-
pause:
|
|
4937
|
-
cancel:
|
|
4942
|
+
pause: h,
|
|
4943
|
+
cancel: f,
|
|
4938
4944
|
set: v,
|
|
4939
4945
|
isPaused: b
|
|
4940
4946
|
};
|
|
@@ -4961,48 +4967,48 @@ function tu(t, e) {
|
|
|
4961
4967
|
function iu(t, e, i) {
|
|
4962
4968
|
var n = t.state, r = i.breakpoints || {}, s = i.reducedMotion || {}, a = Vr(), o = [];
|
|
4963
4969
|
function l() {
|
|
4964
|
-
var
|
|
4970
|
+
var f = i.mediaQuery === "min";
|
|
4965
4971
|
Bt(r).sort(function(v, b) {
|
|
4966
|
-
return
|
|
4972
|
+
return f ? +v - +b : +b - +v;
|
|
4967
4973
|
}).forEach(function(v) {
|
|
4968
|
-
u(r[v], "(" + (
|
|
4974
|
+
u(r[v], "(" + (f ? "min" : "max") + "-width:" + v + "px)");
|
|
4969
4975
|
}), u(s, Gn), d();
|
|
4970
4976
|
}
|
|
4971
|
-
function c(
|
|
4972
|
-
|
|
4977
|
+
function c(f) {
|
|
4978
|
+
f && a.destroy();
|
|
4973
4979
|
}
|
|
4974
|
-
function u(
|
|
4980
|
+
function u(f, v) {
|
|
4975
4981
|
var b = matchMedia(v);
|
|
4976
|
-
a.bind(b, "change", d), o.push([
|
|
4982
|
+
a.bind(b, "change", d), o.push([f, b]);
|
|
4977
4983
|
}
|
|
4978
4984
|
function d() {
|
|
4979
|
-
var
|
|
4985
|
+
var f = n.is(ui), v = i.direction, b = o.reduce(function(p, g) {
|
|
4980
4986
|
return Xe(p, g[1].matches ? g[0] : {});
|
|
4981
4987
|
}, {});
|
|
4982
|
-
Un(i), m(b), i.destroy ? t.destroy(i.destroy === "completely") :
|
|
4988
|
+
Un(i), m(b), i.destroy ? t.destroy(i.destroy === "completely") : f ? (c(!0), t.mount()) : v !== i.direction && t.refresh();
|
|
4983
4989
|
}
|
|
4984
|
-
function f
|
|
4985
|
-
matchMedia(Gn).matches && (
|
|
4990
|
+
function h(f) {
|
|
4991
|
+
matchMedia(Gn).matches && (f ? Xe(i, s) : Un(i, Bt(s)));
|
|
4986
4992
|
}
|
|
4987
|
-
function m(
|
|
4988
|
-
Xe(i,
|
|
4993
|
+
function m(f, v, b) {
|
|
4994
|
+
Xe(i, f), v && Xe(Object.getPrototypeOf(i), f), (b || !n.is(pt)) && t.emit(_e, i);
|
|
4989
4995
|
}
|
|
4990
4996
|
return {
|
|
4991
4997
|
setup: l,
|
|
4992
4998
|
destroy: c,
|
|
4993
|
-
reduce:
|
|
4999
|
+
reduce: h,
|
|
4994
5000
|
set: m
|
|
4995
5001
|
};
|
|
4996
5002
|
}
|
|
4997
|
-
var Si = "Arrow",
|
|
5003
|
+
var Si = "Arrow", Ai = Si + "Left", wi = Si + "Right", es = Si + "Up", ts = Si + "Down", Jn = "rtl", Ci = "ttb", Ni = {
|
|
4998
5004
|
width: ["height"],
|
|
4999
5005
|
left: ["top", "right"],
|
|
5000
5006
|
right: ["bottom", "left"],
|
|
5001
5007
|
x: ["y"],
|
|
5002
5008
|
X: ["Y"],
|
|
5003
5009
|
Y: ["X"],
|
|
5004
|
-
ArrowLeft: [es,
|
|
5005
|
-
ArrowRight: [ts,
|
|
5010
|
+
ArrowLeft: [es, wi],
|
|
5011
|
+
ArrowRight: [ts, Ai]
|
|
5006
5012
|
};
|
|
5007
5013
|
function nu(t, e, i) {
|
|
5008
5014
|
function n(s, a, o) {
|
|
@@ -5041,28 +5047,28 @@ function mu(t, e) {
|
|
|
5041
5047
|
}
|
|
5042
5048
|
var pu = 5, nr = 200, hs = "touchstart mousedown", Pi = "touchmove mousemove", Fi = "touchend touchcancel mouseup click";
|
|
5043
5049
|
function gu(t, e, i) {
|
|
5044
|
-
var n = ne(t), r = n.on, s = n.bind, a = t.root, o = i.i18n, l = {}, c = [], u = [], d = [],
|
|
5050
|
+
var n = ne(t), r = n.on, s = n.bind, a = t.root, o = i.i18n, l = {}, c = [], u = [], d = [], h, m, f;
|
|
5045
5051
|
function v() {
|
|
5046
5052
|
_(), $(), g();
|
|
5047
5053
|
}
|
|
5048
5054
|
function b() {
|
|
5049
5055
|
r(ce, p), r(ce, v), r(_e, g), s(document, hs + " keydown", function(S) {
|
|
5050
|
-
|
|
5056
|
+
f = S.type === "keydown";
|
|
5051
5057
|
}, {
|
|
5052
5058
|
capture: !0
|
|
5053
5059
|
}), s(a, "focusin", function() {
|
|
5054
|
-
Ye(a, us, !!
|
|
5060
|
+
Ye(a, us, !!f);
|
|
5055
5061
|
});
|
|
5056
5062
|
}
|
|
5057
5063
|
function p(S) {
|
|
5058
5064
|
var O = bn.concat("style");
|
|
5059
|
-
We(c), Ke(a, u), Ke(
|
|
5065
|
+
We(c), Ke(a, u), Ke(h, d), Re([h, m], O), Re(a, S ? O : ["style", jt]);
|
|
5060
5066
|
}
|
|
5061
5067
|
function g() {
|
|
5062
|
-
Ke(a, u), Ke(
|
|
5068
|
+
Ke(a, u), Ke(h, d), u = A($i), d = A(ir), xe(a, u), xe(h, d), G(a, Ie, i.label), G(a, _n, i.labelledby);
|
|
5063
5069
|
}
|
|
5064
5070
|
function _() {
|
|
5065
|
-
|
|
5071
|
+
h = N("." + ir), m = Xt(h, "." + su), Ft(h && m, "A track/list element is missing."), si(c, $r(m, "." + Ii + ":not(." + rs + ")")), lt({
|
|
5066
5072
|
arrows: En,
|
|
5067
5073
|
pagination: Ti,
|
|
5068
5074
|
prev: ss,
|
|
@@ -5073,20 +5079,20 @@ function gu(t, e, i) {
|
|
|
5073
5079
|
l[O] = N("." + S);
|
|
5074
5080
|
}), Ht(l, {
|
|
5075
5081
|
root: a,
|
|
5076
|
-
track:
|
|
5082
|
+
track: h,
|
|
5077
5083
|
list: m,
|
|
5078
5084
|
slides: c
|
|
5079
5085
|
});
|
|
5080
5086
|
}
|
|
5081
5087
|
function $() {
|
|
5082
5088
|
var S = a.id || Zc(Jt), O = i.role;
|
|
5083
|
-
a.id = S,
|
|
5089
|
+
a.id = S, h.id = h.id || S + "-track", m.id = m.id || S + "-list", !Oe(a, je) && a.tagName !== "SECTION" && O && G(a, je, O), G(a, jt, o.carousel), G(m, je, "presentation");
|
|
5084
5090
|
}
|
|
5085
5091
|
function N(S) {
|
|
5086
|
-
var O =
|
|
5092
|
+
var O = xr(a, S);
|
|
5087
5093
|
return O && mu(O, "." + $i) === a ? O : void 0;
|
|
5088
5094
|
}
|
|
5089
|
-
function
|
|
5095
|
+
function A(S) {
|
|
5090
5096
|
return [S + "--" + i.type, S + "--" + i.direction, i.drag && S + "--draggable", i.isNavigation && S + "--nav", S === $i && ut];
|
|
5091
5097
|
}
|
|
5092
5098
|
return Ht(l, {
|
|
@@ -5095,26 +5101,26 @@ function gu(t, e, i) {
|
|
|
5095
5101
|
destroy: p
|
|
5096
5102
|
});
|
|
5097
5103
|
}
|
|
5098
|
-
var
|
|
5104
|
+
var At = "slide", Mt = "loop", Qt = "fade";
|
|
5099
5105
|
function _u(t, e, i, n) {
|
|
5100
|
-
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,
|
|
5101
|
-
function
|
|
5102
|
-
_ || (n.id = c.id + "-slide" + dn(e + 1), G(n, je,
|
|
5106
|
+
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, h = u.updateOnMove, m = u.i18n, f = u.pagination, v = u.slideFocus, b = l.Direction.resolve, p = Oe(n, "style"), g = Oe(n, Ie), _ = i > -1, $ = Xt(n, "." + au), N;
|
|
5107
|
+
function A() {
|
|
5108
|
+
_ || (n.id = c.id + "-slide" + dn(e + 1), G(n, je, f ? "tabpanel" : "group"), G(n, jt, m.slide), G(n, Ie, g || Xi(m.slideLabel, [e + 1, t.length]))), S();
|
|
5103
5109
|
}
|
|
5104
5110
|
function S() {
|
|
5105
|
-
o(n, "click", Z(a, hn, K)), o(n, "keydown", Z(a, Zr, K)), s([It, Qr, ht], I), s(vn, B),
|
|
5111
|
+
o(n, "click", Z(a, hn, K)), o(n, "keydown", Z(a, Zr, K)), s([It, Qr, ht], I), s(vn, B), h && s(Ue, R);
|
|
5106
5112
|
}
|
|
5107
5113
|
function O() {
|
|
5108
|
-
N = !0, r.destroy(), Ke(n, fu),
|
|
5114
|
+
N = !0, r.destroy(), Ke(n, fu), Re(n, bn), G(n, "style", p), G(n, Ie, g || "");
|
|
5109
5115
|
}
|
|
5110
5116
|
function B() {
|
|
5111
5117
|
var V = t.splides.map(function(M) {
|
|
5112
5118
|
var F = M.splide.Components.Slides.getAt(e);
|
|
5113
5119
|
return F ? F.slide.id : "";
|
|
5114
5120
|
}).join(" ");
|
|
5115
|
-
G(n, Ie, Xi(m.slideX, (_ ? i : e) + 1)), G(n, Zt, V), G(n, je, v ? "button" : ""), v &&
|
|
5121
|
+
G(n, Ie, Xi(m.slideX, (_ ? i : e) + 1)), G(n, Zt, V), G(n, je, v ? "button" : ""), v && Re(n, jt);
|
|
5116
5122
|
}
|
|
5117
|
-
function
|
|
5123
|
+
function R() {
|
|
5118
5124
|
N || I();
|
|
5119
5125
|
}
|
|
5120
5126
|
function I() {
|
|
@@ -5157,7 +5163,7 @@ function _u(t, e, i, n) {
|
|
|
5157
5163
|
slide: n,
|
|
5158
5164
|
container: $,
|
|
5159
5165
|
isClone: _,
|
|
5160
|
-
mount:
|
|
5166
|
+
mount: A,
|
|
5161
5167
|
destroy: O,
|
|
5162
5168
|
update: I,
|
|
5163
5169
|
style: P,
|
|
@@ -5168,9 +5174,9 @@ function _u(t, e, i, n) {
|
|
|
5168
5174
|
function yu(t, e, i) {
|
|
5169
5175
|
var n = ne(t), r = n.on, s = n.emit, a = n.bind, o = e.Elements, l = o.slides, c = o.list, u = [];
|
|
5170
5176
|
function d() {
|
|
5171
|
-
|
|
5177
|
+
h(), r(ce, m), r(ce, h);
|
|
5172
5178
|
}
|
|
5173
|
-
function
|
|
5179
|
+
function h() {
|
|
5174
5180
|
l.forEach(function(I, T) {
|
|
5175
5181
|
v(I, T, -1);
|
|
5176
5182
|
});
|
|
@@ -5180,7 +5186,7 @@ function yu(t, e, i) {
|
|
|
5180
5186
|
I.destroy();
|
|
5181
5187
|
}), We(u);
|
|
5182
5188
|
}
|
|
5183
|
-
function
|
|
5189
|
+
function f() {
|
|
5184
5190
|
N(function(I) {
|
|
5185
5191
|
I.update();
|
|
5186
5192
|
});
|
|
@@ -5192,36 +5198,36 @@ function yu(t, e, i) {
|
|
|
5192
5198
|
});
|
|
5193
5199
|
}
|
|
5194
5200
|
function b(I) {
|
|
5195
|
-
return I ?
|
|
5201
|
+
return I ? A(function(T) {
|
|
5196
5202
|
return !T.isClone;
|
|
5197
5203
|
}) : u;
|
|
5198
5204
|
}
|
|
5199
5205
|
function p(I) {
|
|
5200
5206
|
var T = e.Controller, D = T.toIndex(I), P = T.hasFocus() ? 1 : i.perPage;
|
|
5201
|
-
return
|
|
5207
|
+
return A(function(Y) {
|
|
5202
5208
|
return ai(Y.index, D, D + P - 1);
|
|
5203
5209
|
});
|
|
5204
5210
|
}
|
|
5205
5211
|
function g(I) {
|
|
5206
|
-
return
|
|
5212
|
+
return A(I)[0];
|
|
5207
5213
|
}
|
|
5208
5214
|
function _(I, T) {
|
|
5209
5215
|
Me(I, function(D) {
|
|
5210
5216
|
if (Ze(D) && (D = Fr(D)), Nr(D)) {
|
|
5211
5217
|
var P = l[T];
|
|
5212
|
-
P ? ln(D, P) : qt(c, D),
|
|
5218
|
+
P ? ln(D, P) : qt(c, D), xe(D, i.classes.slide), O(D, Z(s, St));
|
|
5213
5219
|
}
|
|
5214
5220
|
}), s(ce);
|
|
5215
5221
|
}
|
|
5216
5222
|
function $(I) {
|
|
5217
|
-
ct(
|
|
5223
|
+
ct(A(I).map(function(T) {
|
|
5218
5224
|
return T.slide;
|
|
5219
5225
|
})), s(ce);
|
|
5220
5226
|
}
|
|
5221
5227
|
function N(I, T) {
|
|
5222
5228
|
b(T).forEach(I);
|
|
5223
5229
|
}
|
|
5224
|
-
function
|
|
5230
|
+
function A(I) {
|
|
5225
5231
|
return u.filter(Lr(I) ? I : function(T) {
|
|
5226
5232
|
return Ze(I) ? Vt(T.slide, I) : on(zt(I), T.index);
|
|
5227
5233
|
});
|
|
@@ -5242,13 +5248,13 @@ function yu(t, e, i) {
|
|
|
5242
5248
|
function B(I) {
|
|
5243
5249
|
return I ? l.length : u.length;
|
|
5244
5250
|
}
|
|
5245
|
-
function
|
|
5251
|
+
function R() {
|
|
5246
5252
|
return u.length > i.perPage;
|
|
5247
5253
|
}
|
|
5248
5254
|
return {
|
|
5249
5255
|
mount: d,
|
|
5250
5256
|
destroy: m,
|
|
5251
|
-
update:
|
|
5257
|
+
update: f,
|
|
5252
5258
|
register: v,
|
|
5253
5259
|
get: b,
|
|
5254
5260
|
getIn: p,
|
|
@@ -5256,14 +5262,14 @@ function yu(t, e, i) {
|
|
|
5256
5262
|
add: _,
|
|
5257
5263
|
remove: $,
|
|
5258
5264
|
forEach: N,
|
|
5259
|
-
filter:
|
|
5265
|
+
filter: A,
|
|
5260
5266
|
style: S,
|
|
5261
5267
|
getLength: B,
|
|
5262
|
-
isEnough:
|
|
5268
|
+
isEnough: R
|
|
5263
5269
|
};
|
|
5264
5270
|
}
|
|
5265
5271
|
function bu(t, e, i) {
|
|
5266
|
-
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,
|
|
5272
|
+
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, h = c.list, m = o.getAt, f = o.style, v, b, p;
|
|
5267
5273
|
function g() {
|
|
5268
5274
|
_(), s(window, "resize load", tu(Z(a, St))), r([_e, ce], _), r(St, $);
|
|
5269
5275
|
}
|
|
@@ -5272,31 +5278,31 @@ function bu(t, e, i) {
|
|
|
5272
5278
|
}
|
|
5273
5279
|
function $(K) {
|
|
5274
5280
|
var V = Ce(u);
|
|
5275
|
-
(K || b.width !== V.width || b.height !== V.height) && (Te(d, "height",
|
|
5281
|
+
(K || b.width !== V.width || b.height !== V.height) && (Te(d, "height", A()), f(l("marginRight"), st(i.gap)), f("width", O()), f("height", B(), !0), b = V, a(yi), p !== (p = ie()) && (Ye(u, ds, p), a(Qc, p)));
|
|
5276
5282
|
}
|
|
5277
5283
|
function N(K) {
|
|
5278
5284
|
var V = i.padding, M = l(K ? "right" : "left");
|
|
5279
|
-
return V && st(V[M] || (
|
|
5285
|
+
return V && st(V[M] || (Rt(V) ? 0 : V)) || "0px";
|
|
5280
5286
|
}
|
|
5281
|
-
function
|
|
5287
|
+
function A() {
|
|
5282
5288
|
var K = "";
|
|
5283
5289
|
return v && (K = S(), Ft(K, "height or heightRatio is missing."), K = "calc(" + K + " - " + N(!1) + " - " + N(!0) + ")"), K;
|
|
5284
5290
|
}
|
|
5285
5291
|
function S() {
|
|
5286
|
-
return st(i.height || Ce(
|
|
5292
|
+
return st(i.height || Ce(h).width * i.heightRatio);
|
|
5287
5293
|
}
|
|
5288
5294
|
function O() {
|
|
5289
|
-
return i.autoWidth ? null : st(i.fixedWidth) || (v ? "" :
|
|
5295
|
+
return i.autoWidth ? null : st(i.fixedWidth) || (v ? "" : R());
|
|
5290
5296
|
}
|
|
5291
5297
|
function B() {
|
|
5292
|
-
return st(i.fixedHeight) || (v ? i.autoHeight ? null :
|
|
5298
|
+
return st(i.fixedHeight) || (v ? i.autoHeight ? null : R() : S());
|
|
5293
5299
|
}
|
|
5294
|
-
function
|
|
5300
|
+
function R() {
|
|
5295
5301
|
var K = st(i.gap);
|
|
5296
5302
|
return "calc((100%" + (K && " + " + K) + ")/" + (i.perPage || 1) + (K && " - " + K) + ")";
|
|
5297
5303
|
}
|
|
5298
5304
|
function I() {
|
|
5299
|
-
return Ce(
|
|
5305
|
+
return Ce(h)[l("width")];
|
|
5300
5306
|
}
|
|
5301
5307
|
function T(K, V) {
|
|
5302
5308
|
var M = m(K || 0);
|
|
@@ -5305,7 +5311,7 @@ function bu(t, e, i) {
|
|
|
5305
5311
|
function D(K, V) {
|
|
5306
5312
|
var M = m(K);
|
|
5307
5313
|
if (M) {
|
|
5308
|
-
var F = Ce(M.slide)[l("right")], z = Ce(
|
|
5314
|
+
var F = Ce(M.slide)[l("right")], z = Ce(h)[l("left")];
|
|
5309
5315
|
return Se(F - z) + (V ? 0 : Y());
|
|
5310
5316
|
}
|
|
5311
5317
|
return 0;
|
|
@@ -5338,32 +5344,32 @@ var Eu = 2;
|
|
|
5338
5344
|
function Su(t, e, i) {
|
|
5339
5345
|
var n = ne(t), r = n.on, s = e.Elements, a = e.Slides, o = e.Direction.resolve, l = [], c;
|
|
5340
5346
|
function u() {
|
|
5341
|
-
r(ce, d), r([_e, St], m), (c = b()) && (
|
|
5347
|
+
r(ce, d), r([_e, St], m), (c = b()) && (f(c), e.Layout.resize(!0));
|
|
5342
5348
|
}
|
|
5343
5349
|
function d() {
|
|
5344
|
-
|
|
5350
|
+
h(), u();
|
|
5345
5351
|
}
|
|
5346
|
-
function
|
|
5352
|
+
function h() {
|
|
5347
5353
|
ct(l), We(l), n.destroy();
|
|
5348
5354
|
}
|
|
5349
5355
|
function m() {
|
|
5350
5356
|
var p = b();
|
|
5351
5357
|
c !== p && (c < p || !p) && n.emit(ce);
|
|
5352
5358
|
}
|
|
5353
|
-
function
|
|
5359
|
+
function f(p) {
|
|
5354
5360
|
var g = a.get().slice(), _ = g.length;
|
|
5355
5361
|
if (_) {
|
|
5356
5362
|
for (; g.length < p; )
|
|
5357
5363
|
si(g, g);
|
|
5358
5364
|
si(g.slice(-p), g.slice(0, p)).forEach(function($, N) {
|
|
5359
|
-
var
|
|
5360
|
-
|
|
5365
|
+
var A = N < p, S = v($.slide, N);
|
|
5366
|
+
A ? ln(S, g[0].slide) : qt(s.list, S), si(l, S), a.register(S, N - p + (A ? 0 : _), $.index);
|
|
5361
5367
|
});
|
|
5362
5368
|
}
|
|
5363
5369
|
}
|
|
5364
5370
|
function v(p, g) {
|
|
5365
5371
|
var _ = p.cloneNode(!0);
|
|
5366
|
-
return
|
|
5372
|
+
return xe(_, i.classes.clone), _.id = t.root.id + "-clone" + dn(g + 1), _;
|
|
5367
5373
|
}
|
|
5368
5374
|
function b() {
|
|
5369
5375
|
var p = i.clones;
|
|
@@ -5377,19 +5383,19 @@ function Su(t, e, i) {
|
|
|
5377
5383
|
}
|
|
5378
5384
|
return {
|
|
5379
5385
|
mount: u,
|
|
5380
|
-
destroy:
|
|
5386
|
+
destroy: h
|
|
5381
5387
|
};
|
|
5382
5388
|
}
|
|
5383
|
-
function
|
|
5384
|
-
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,
|
|
5389
|
+
function Au(t, e, i) {
|
|
5390
|
+
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, h = o.sliderSize, m = e.Direction, f = m.resolve, v = m.orient, b = e.Elements, p = b.list, g = b.track, _;
|
|
5385
5391
|
function $() {
|
|
5386
5392
|
_ = e.Transition, r([it, yi, _e, ce], N);
|
|
5387
5393
|
}
|
|
5388
5394
|
function N() {
|
|
5389
5395
|
e.Controller.isBusy() || (e.Scroll.cancel(), S(t.index), e.Slides.update());
|
|
5390
5396
|
}
|
|
5391
|
-
function
|
|
5392
|
-
M !== F && K(M > z) && (I(), O(
|
|
5397
|
+
function A(M, F, z, me) {
|
|
5398
|
+
M !== F && K(M > z) && (I(), O(R(P(), M > z), !0)), a(Ct), s(Ue, F, z, M), _.start(F, function() {
|
|
5393
5399
|
a(Et), s(It, F, z, M), me && me();
|
|
5394
5400
|
});
|
|
5395
5401
|
}
|
|
@@ -5399,18 +5405,18 @@ function wu(t, e, i) {
|
|
|
5399
5405
|
function O(M, F) {
|
|
5400
5406
|
if (!t.is(Qt)) {
|
|
5401
5407
|
var z = F ? M : B(M);
|
|
5402
|
-
Te(p, "transform", "translate" +
|
|
5408
|
+
Te(p, "transform", "translate" + f("X") + "(" + z + "px)"), M !== z && s(Qr);
|
|
5403
5409
|
}
|
|
5404
5410
|
}
|
|
5405
5411
|
function B(M) {
|
|
5406
5412
|
if (t.is(Mt)) {
|
|
5407
5413
|
var F = T(M), z = F > e.Controller.getEnd(), me = F < 0;
|
|
5408
|
-
(me || z) && (M =
|
|
5414
|
+
(me || z) && (M = R(M, z));
|
|
5409
5415
|
}
|
|
5410
5416
|
return M;
|
|
5411
5417
|
}
|
|
5412
|
-
function
|
|
5413
|
-
var z = M - ie(F), me =
|
|
5418
|
+
function R(M, F) {
|
|
5419
|
+
var z = M - ie(F), me = h();
|
|
5414
5420
|
return M -= v(me * (Kt(Se(z) / me) || 1)) * (F ? 1 : -1), M;
|
|
5415
5421
|
}
|
|
5416
5422
|
function I() {
|
|
@@ -5431,11 +5437,11 @@ function wu(t, e, i) {
|
|
|
5431
5437
|
return F ? Y(z) : z;
|
|
5432
5438
|
}
|
|
5433
5439
|
function P() {
|
|
5434
|
-
var M =
|
|
5440
|
+
var M = f("left");
|
|
5435
5441
|
return Ce(p)[M] - Ce(g)[M] + v(c(!1));
|
|
5436
5442
|
}
|
|
5437
5443
|
function Y(M) {
|
|
5438
|
-
return i.trimSpace && t.is(
|
|
5444
|
+
return i.trimSpace && t.is(At) && (M = ft(M, 0, v(h(!0) - d()))), M;
|
|
5439
5445
|
}
|
|
5440
5446
|
function Q(M) {
|
|
5441
5447
|
var F = i.focus;
|
|
@@ -5445,8 +5451,8 @@ function wu(t, e, i) {
|
|
|
5445
5451
|
return D(M ? e.Controller.getEnd() : 0, !!i.trimSpace);
|
|
5446
5452
|
}
|
|
5447
5453
|
function K(M) {
|
|
5448
|
-
var F = v(
|
|
5449
|
-
return M ? F >= 0 : F <= p[
|
|
5454
|
+
var F = v(R(P(), M));
|
|
5455
|
+
return M ? F >= 0 : F <= p[f("scrollWidth")] - Ce(g)[f("width")];
|
|
5450
5456
|
}
|
|
5451
5457
|
function V(M, F) {
|
|
5452
5458
|
F = Ut(F) ? P() : F;
|
|
@@ -5455,10 +5461,10 @@ function wu(t, e, i) {
|
|
|
5455
5461
|
}
|
|
5456
5462
|
return {
|
|
5457
5463
|
mount: $,
|
|
5458
|
-
move:
|
|
5464
|
+
move: A,
|
|
5459
5465
|
jump: S,
|
|
5460
5466
|
translate: O,
|
|
5461
|
-
shift:
|
|
5467
|
+
shift: R,
|
|
5462
5468
|
cancel: I,
|
|
5463
5469
|
toIndex: T,
|
|
5464
5470
|
toPosition: D,
|
|
@@ -5468,17 +5474,17 @@ function wu(t, e, i) {
|
|
|
5468
5474
|
reposition: N
|
|
5469
5475
|
};
|
|
5470
5476
|
}
|
|
5471
|
-
function
|
|
5472
|
-
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,
|
|
5477
|
+
function wu(t, e, i) {
|
|
5478
|
+
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, h = u.getLength, m = i.omitEnd, f = t.is(Mt), v = t.is(At), b = Z(P, !1), p = Z(P, !0), g = i.start || 0, _, $ = g, N, A, S;
|
|
5473
5479
|
function O() {
|
|
5474
|
-
B(), r([_e, ce, fi], B), r(yi,
|
|
5480
|
+
B(), r([_e, ce, fi], B), r(yi, R);
|
|
5475
5481
|
}
|
|
5476
5482
|
function B() {
|
|
5477
|
-
N =
|
|
5483
|
+
N = h(!0), A = i.perMove, S = i.perPage, _ = K();
|
|
5478
5484
|
var C = ft(g, 0, m ? _ : N - 1);
|
|
5479
5485
|
C !== g && (g = C, a.reposition());
|
|
5480
5486
|
}
|
|
5481
|
-
function
|
|
5487
|
+
function R() {
|
|
5482
5488
|
_ !== K() && s(fi);
|
|
5483
5489
|
}
|
|
5484
5490
|
function I(C, J, ye) {
|
|
@@ -5499,17 +5505,17 @@ function Au(t, e, i) {
|
|
|
5499
5505
|
var ye = C.match(/([+\-<>])(\d+)?/) || [], le = ye[1], ge = ye[2];
|
|
5500
5506
|
le === "+" || le === "-" ? J = Y(g + +("" + le + (+ge || 1)), g) : le === ">" ? J = ge ? V(+ge) : b(!0) : le === "<" && (J = p(!0));
|
|
5501
5507
|
} else
|
|
5502
|
-
J =
|
|
5508
|
+
J = f ? C : ft(C, 0, _);
|
|
5503
5509
|
return J;
|
|
5504
5510
|
}
|
|
5505
5511
|
function P(C, J) {
|
|
5506
|
-
var ye =
|
|
5507
|
-
return le === -1 && v && !
|
|
5512
|
+
var ye = A || (he() ? 1 : S), le = Y(g + ye * (C ? -1 : 1), g, !(A || he()));
|
|
5513
|
+
return le === -1 && v && !Rr(o(), l(!C), 1) ? C ? 0 : _ : J ? le : ie(le);
|
|
5508
5514
|
}
|
|
5509
5515
|
function Y(C, J, ye) {
|
|
5510
5516
|
if (d() || he()) {
|
|
5511
5517
|
var le = Q(C);
|
|
5512
|
-
le !== C && (J = C, C = le, ye = !1), C < 0 || C > _ ? !
|
|
5518
|
+
le !== C && (J = C, C = le, ye = !1), C < 0 || C > _ ? !A && (ai(0, C, J, !0) || ai(_, J, C, !0)) ? C = V(M(C)) : f ? C = ye ? C < 0 ? -(N % S || S) : N : C : i.rewind ? C = C < 0 ? _ : 0 : C = -1 : ye && C !== J && (C = V(M(J) + (C < J ? -1 : 1)));
|
|
5513
5519
|
} else
|
|
5514
5520
|
C = -1;
|
|
5515
5521
|
return C;
|
|
@@ -5521,10 +5527,10 @@ function Au(t, e, i) {
|
|
|
5521
5527
|
return C;
|
|
5522
5528
|
}
|
|
5523
5529
|
function ie(C) {
|
|
5524
|
-
return
|
|
5530
|
+
return f ? (C + N) % N || 0 : C;
|
|
5525
5531
|
}
|
|
5526
5532
|
function K() {
|
|
5527
|
-
for (var C = N - (he() ||
|
|
5533
|
+
for (var C = N - (he() || f && A ? 1 : S); m && C-- > 0; )
|
|
5528
5534
|
if (c(N - 1, !0) !== c(C, !0)) {
|
|
5529
5535
|
C++;
|
|
5530
5536
|
break;
|
|
@@ -5572,83 +5578,83 @@ function Au(t, e, i) {
|
|
|
5572
5578
|
}
|
|
5573
5579
|
var Cu = "http://www.w3.org/2000/svg", Iu = "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;
|
|
5574
5580
|
function Mu(t, e, i) {
|
|
5575
|
-
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,
|
|
5581
|
+
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, h = c.track, m = d, f = c.prev, v = c.next, b, p, g = {};
|
|
5576
5582
|
function _() {
|
|
5577
5583
|
N(), r(_e, $);
|
|
5578
5584
|
}
|
|
5579
5585
|
function $() {
|
|
5580
|
-
|
|
5586
|
+
A(), _();
|
|
5581
5587
|
}
|
|
5582
5588
|
function N() {
|
|
5583
5589
|
var T = i.arrows;
|
|
5584
|
-
T && !(
|
|
5585
|
-
prev:
|
|
5590
|
+
T && !(f && v) && B(), f && v && (Ht(g, {
|
|
5591
|
+
prev: f,
|
|
5586
5592
|
next: v
|
|
5587
|
-
}), Yt(m, T ? "" : "none"),
|
|
5593
|
+
}), Yt(m, T ? "" : "none"), xe(m, p = En + "--" + i.direction), T && (S(), I(), G([f, v], Zt, h.id), a(Ur, f, v)));
|
|
5588
5594
|
}
|
|
5589
|
-
function
|
|
5590
|
-
n.destroy(), Ke(m, p), b ? (ct(d ? [
|
|
5595
|
+
function A() {
|
|
5596
|
+
n.destroy(), Ke(m, p), b ? (ct(d ? [f, v] : m), f = v = null) : Re([f, v], bn);
|
|
5591
5597
|
}
|
|
5592
5598
|
function S() {
|
|
5593
|
-
r([it, It, ce, ht, fi], I), s(v, "click", Z(O, ">")), s(
|
|
5599
|
+
r([it, It, ce, ht, fi], I), s(v, "click", Z(O, ">")), s(f, "click", Z(O, "<"));
|
|
5594
5600
|
}
|
|
5595
5601
|
function O(T) {
|
|
5596
5602
|
u.go(T, !0);
|
|
5597
5603
|
}
|
|
5598
5604
|
function B() {
|
|
5599
|
-
m = d || _t("div", o.arrows),
|
|
5605
|
+
m = d || _t("div", o.arrows), f = R(!0), v = R(!1), b = !0, qt(m, [f, v]), !d && ln(m, h);
|
|
5600
5606
|
}
|
|
5601
|
-
function
|
|
5607
|
+
function R(T) {
|
|
5602
5608
|
var D = '<button class="' + o.arrow + " " + (T ? o.prev : o.next) + '" type="button"><svg xmlns="' + Cu + '" viewBox="0 0 ' + ni + " " + ni + '" width="' + ni + '" height="' + ni + '" focusable="false"><path d="' + (i.arrowPath || Iu) + '" />';
|
|
5603
5609
|
return Fr(D);
|
|
5604
5610
|
}
|
|
5605
5611
|
function I() {
|
|
5606
|
-
if (
|
|
5612
|
+
if (f && v) {
|
|
5607
5613
|
var T = t.index, D = u.getPrev(), P = u.getNext(), Y = D > -1 && T < D ? l.last : l.prev, Q = P > -1 && T > P ? l.first : l.next;
|
|
5608
|
-
|
|
5614
|
+
f.disabled = D < 0, v.disabled = P < 0, G(f, Ie, Y), G(v, Ie, Q), a(zr, f, v, D, P);
|
|
5609
5615
|
}
|
|
5610
5616
|
}
|
|
5611
5617
|
return {
|
|
5612
5618
|
arrows: g,
|
|
5613
5619
|
mount: _,
|
|
5614
|
-
destroy:
|
|
5620
|
+
destroy: A,
|
|
5615
5621
|
update: I
|
|
5616
5622
|
};
|
|
5617
5623
|
}
|
|
5618
5624
|
var Tu = un + "-interval";
|
|
5619
5625
|
function Ou(t, e, i) {
|
|
5620
|
-
var n = ne(t), r = n.on, s = n.bind, a = n.emit, o = Ei(i.interval, t.go.bind(t, ">"), S), l = o.isPaused, c = e.Elements, u = e.Elements, d = u.root,
|
|
5626
|
+
var n = ne(t), r = n.on, s = n.bind, a = n.emit, o = Ei(i.interval, t.go.bind(t, ">"), S), l = o.isPaused, c = e.Elements, u = e.Elements, d = u.root, h = u.toggle, m = i.autoplay, f, v, b = m === "pause";
|
|
5621
5627
|
function p() {
|
|
5622
|
-
m && (g(),
|
|
5628
|
+
m && (g(), h && G(h, Zt, c.track.id), b || _(), A());
|
|
5623
5629
|
}
|
|
5624
5630
|
function g() {
|
|
5625
5631
|
i.pauseOnHover && s(d, "mouseenter mouseleave", function(B) {
|
|
5626
|
-
|
|
5632
|
+
f = B.type === "mouseenter", N();
|
|
5627
5633
|
}), i.pauseOnFocus && s(d, "focusin focusout", function(B) {
|
|
5628
5634
|
v = B.type === "focusin", N();
|
|
5629
|
-
}),
|
|
5635
|
+
}), h && s(h, "click", function() {
|
|
5630
5636
|
b ? _() : $(!0);
|
|
5631
5637
|
}), r([Ue, bi, ce], o.rewind), r(Ue, O);
|
|
5632
5638
|
}
|
|
5633
5639
|
function _() {
|
|
5634
|
-
l() && e.Slides.isEnough() && (o.start(!i.resetProgress), v =
|
|
5640
|
+
l() && e.Slides.isEnough() && (o.start(!i.resetProgress), v = f = b = !1, A(), a(mn));
|
|
5635
5641
|
}
|
|
5636
5642
|
function $(B) {
|
|
5637
|
-
B === void 0 && (B = !0), b = !!B,
|
|
5643
|
+
B === void 0 && (B = !0), b = !!B, A(), l() || (o.pause(), a(pn));
|
|
5638
5644
|
}
|
|
5639
5645
|
function N() {
|
|
5640
|
-
b || (
|
|
5646
|
+
b || (f || v ? $(!1) : _());
|
|
5641
5647
|
}
|
|
5642
|
-
function
|
|
5643
|
-
|
|
5648
|
+
function A() {
|
|
5649
|
+
h && (Ye(h, ut, !b), G(h, Ie, i.i18n[b ? "play" : "pause"]));
|
|
5644
5650
|
}
|
|
5645
5651
|
function S(B) {
|
|
5646
|
-
var
|
|
5647
|
-
|
|
5652
|
+
var R = c.bar;
|
|
5653
|
+
R && Te(R, "width", B * 100 + "%"), a(Jr, B);
|
|
5648
5654
|
}
|
|
5649
5655
|
function O(B) {
|
|
5650
|
-
var
|
|
5651
|
-
o.set(
|
|
5656
|
+
var R = e.Slides.getAt(B);
|
|
5657
|
+
o.set(R && +Oe(R.slide, Tu) || i.interval);
|
|
5652
5658
|
}
|
|
5653
5659
|
return {
|
|
5654
5660
|
mount: p,
|
|
@@ -5679,25 +5685,25 @@ function Du(t, e, i) {
|
|
|
5679
5685
|
}
|
|
5680
5686
|
var ku = 10, Lu = 600, Nu = 0.6, $u = 1.5, Pu = 800;
|
|
5681
5687
|
function Fu(t, e, i) {
|
|
5682
|
-
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,
|
|
5688
|
+
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, h = t.is(At), m, f, v = 1;
|
|
5683
5689
|
function b() {
|
|
5684
5690
|
r(Ue, $), r([_e, ce], N);
|
|
5685
5691
|
}
|
|
5686
|
-
function p(S, O, B,
|
|
5692
|
+
function p(S, O, B, R, I) {
|
|
5687
5693
|
var T = l();
|
|
5688
|
-
if ($(), B && (!
|
|
5694
|
+
if ($(), B && (!h || !u())) {
|
|
5689
5695
|
var D = e.Layout.sliderSize(), P = qi(S) * D * hi(Se(S) / D) || 0;
|
|
5690
5696
|
S = o.toPosition(e.Controller.toDest(S % D)) + P;
|
|
5691
5697
|
}
|
|
5692
|
-
var Y =
|
|
5693
|
-
v = 1, O = Y ? 0 : O || di(Se(S - T) / $u, Pu),
|
|
5698
|
+
var Y = Rr(T, S, 1);
|
|
5699
|
+
v = 1, O = Y ? 0 : O || di(Se(S - T) / $u, Pu), f = R, m = Ei(O, g, Z(_, T, S, I), 1), a(Wt), s(bi), m.start();
|
|
5694
5700
|
}
|
|
5695
5701
|
function g() {
|
|
5696
|
-
a(Et),
|
|
5702
|
+
a(Et), f && f(), s(ht);
|
|
5697
5703
|
}
|
|
5698
|
-
function _(S, O, B,
|
|
5699
|
-
var I = l(), T = S + (O - S) *
|
|
5700
|
-
d(I + D),
|
|
5704
|
+
function _(S, O, B, R) {
|
|
5705
|
+
var I = l(), T = S + (O - S) * A(R), D = (T - I) * v;
|
|
5706
|
+
d(I + D), h && !B && u() && (v *= Nu, Se(D) < ku && p(c(u(!0)), Lu, !1, f, !0));
|
|
5701
5707
|
}
|
|
5702
5708
|
function $() {
|
|
5703
5709
|
m && m.cancel();
|
|
@@ -5705,7 +5711,7 @@ function Fu(t, e, i) {
|
|
|
5705
5711
|
function N() {
|
|
5706
5712
|
m && !m.isPaused() && ($(), g());
|
|
5707
5713
|
}
|
|
5708
|
-
function
|
|
5714
|
+
function A(S) {
|
|
5709
5715
|
var O = i.easingFunc;
|
|
5710
5716
|
return O ? O(S) : 1 - Math.pow(1 - S, 4);
|
|
5711
5717
|
}
|
|
@@ -5720,21 +5726,21 @@ var vt = {
|
|
|
5720
5726
|
passive: !1,
|
|
5721
5727
|
capture: !0
|
|
5722
5728
|
};
|
|
5723
|
-
function
|
|
5724
|
-
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,
|
|
5729
|
+
function xu(t, e, i) {
|
|
5730
|
+
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, h = e.Elements.track, m = e.Media.reduce, f = e.Direction, v = f.resolve, b = f.orient, p = c.getPosition, g = c.exceededLimit, _, $, N, A, S, O = !1, B, R, I;
|
|
5725
5731
|
function T() {
|
|
5726
|
-
a(
|
|
5732
|
+
a(h, Pi, Ui, vt), a(h, Fi, Ui, vt), a(h, hs, P, vt), a(h, "click", ie, {
|
|
5727
5733
|
capture: !0
|
|
5728
|
-
}), a(
|
|
5734
|
+
}), a(h, "dragstart", He), r([it, _e], D);
|
|
5729
5735
|
}
|
|
5730
5736
|
function D() {
|
|
5731
5737
|
var k = i.drag;
|
|
5732
|
-
Cn(!k),
|
|
5738
|
+
Cn(!k), A = k === "free";
|
|
5733
5739
|
}
|
|
5734
5740
|
function P(k) {
|
|
5735
|
-
if (B = !1, !
|
|
5741
|
+
if (B = !1, !R) {
|
|
5736
5742
|
var ee = ge(k);
|
|
5737
|
-
le(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (I = ee ?
|
|
5743
|
+
le(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (I = ee ? h : window, S = l.is([Ct, Wt]), N = null, a(I, Pi, Y, vt), a(I, Fi, Q, vt), c.cancel(), u.cancel(), K(k)));
|
|
5738
5744
|
}
|
|
5739
5745
|
}
|
|
5740
5746
|
function Y(k) {
|
|
@@ -5749,17 +5755,17 @@ function Ru(t, e, i) {
|
|
|
5749
5755
|
l.is(ri) && (l.set(Et), s(Wr)), S && (V(k), He(k)), o(I, Pi, Y), o(I, Fi, Q), S = !1;
|
|
5750
5756
|
}
|
|
5751
5757
|
function ie(k) {
|
|
5752
|
-
!
|
|
5758
|
+
!R && B && He(k, !0);
|
|
5753
5759
|
}
|
|
5754
5760
|
function K(k) {
|
|
5755
5761
|
N = $, $ = k, _ = p();
|
|
5756
5762
|
}
|
|
5757
5763
|
function V(k) {
|
|
5758
5764
|
var ee = z(k), rt = me(ee), Tt = i.rewind && i.rewindByDrag;
|
|
5759
|
-
m(!1),
|
|
5765
|
+
m(!1), A ? d.scroll(rt, 0, i.snap) : t.is(Qt) ? d.go(b(qi(ee)) < 0 ? Tt ? "<" : "-" : Tt ? ">" : "+") : t.is(At) && O && Tt ? d.go(g(!0) ? ">" : "<") : d.go(d.toDest(rt), !0), m(!0);
|
|
5760
5766
|
}
|
|
5761
5767
|
function M(k) {
|
|
5762
|
-
var ee = i.dragMinThreshold, rt =
|
|
5768
|
+
var ee = i.dragMinThreshold, rt = Rt(ee), Tt = rt && ee.mouse || 0, ps = (rt ? ee.touch : +ee) || 10;
|
|
5763
5769
|
return Se(he(k)) > (ge(k) ? ps : Tt);
|
|
5764
5770
|
}
|
|
5765
5771
|
function F(k) {
|
|
@@ -5774,7 +5780,7 @@ function Ru(t, e, i) {
|
|
|
5774
5780
|
return 0;
|
|
5775
5781
|
}
|
|
5776
5782
|
function me(k) {
|
|
5777
|
-
return p() + qi(k) * Qe(Se(k) * (i.flickPower || 600),
|
|
5783
|
+
return p() + qi(k) * Qe(Se(k) * (i.flickPower || 600), A ? 1 / 0 : e.Layout.listSize() * (i.flickMaxPages || 1));
|
|
5778
5784
|
}
|
|
5779
5785
|
function he(k, ee) {
|
|
5780
5786
|
return J(k, ee) - J(C(k), ee);
|
|
@@ -5789,7 +5795,7 @@ function Ru(t, e, i) {
|
|
|
5789
5795
|
return (ge(k) ? k.changedTouches[0] : k)["page" + v(ee ? "Y" : "X")];
|
|
5790
5796
|
}
|
|
5791
5797
|
function ye(k) {
|
|
5792
|
-
return k / (O && t.is(
|
|
5798
|
+
return k / (O && t.is(At) ? pu : 1);
|
|
5793
5799
|
}
|
|
5794
5800
|
function le(k) {
|
|
5795
5801
|
var ee = i.noDrag;
|
|
@@ -5802,7 +5808,7 @@ function Ru(t, e, i) {
|
|
|
5802
5808
|
return S;
|
|
5803
5809
|
}
|
|
5804
5810
|
function Cn(k) {
|
|
5805
|
-
|
|
5811
|
+
R = k;
|
|
5806
5812
|
}
|
|
5807
5813
|
return {
|
|
5808
5814
|
mount: T,
|
|
@@ -5810,30 +5816,30 @@ function Ru(t, e, i) {
|
|
|
5810
5816
|
isDragging: ms
|
|
5811
5817
|
};
|
|
5812
5818
|
}
|
|
5813
|
-
var
|
|
5819
|
+
var Ru = {
|
|
5814
5820
|
Spacebar: " ",
|
|
5815
|
-
Right:
|
|
5816
|
-
Left:
|
|
5821
|
+
Right: wi,
|
|
5822
|
+
Left: Ai,
|
|
5817
5823
|
Up: es,
|
|
5818
5824
|
Down: ts
|
|
5819
5825
|
};
|
|
5820
5826
|
function Sn(t) {
|
|
5821
|
-
return t = Ze(t) ? t : t.key,
|
|
5827
|
+
return t = Ze(t) ? t : t.key, Ru[t] || t;
|
|
5822
5828
|
}
|
|
5823
5829
|
var rr = "keydown";
|
|
5824
5830
|
function Vu(t, e, i) {
|
|
5825
5831
|
var n = ne(t), r = n.on, s = n.bind, a = n.unbind, o = t.root, l = e.Direction.resolve, c, u;
|
|
5826
5832
|
function d() {
|
|
5827
|
-
|
|
5833
|
+
h(), r(_e, m), r(_e, h), r(Ue, v);
|
|
5828
5834
|
}
|
|
5829
|
-
function
|
|
5835
|
+
function h() {
|
|
5830
5836
|
var p = i.keyboard;
|
|
5831
5837
|
p && (c = p === "global" ? window : o, s(c, rr, b));
|
|
5832
5838
|
}
|
|
5833
5839
|
function m() {
|
|
5834
5840
|
a(c, rr);
|
|
5835
5841
|
}
|
|
5836
|
-
function
|
|
5842
|
+
function f(p) {
|
|
5837
5843
|
u = p;
|
|
5838
5844
|
}
|
|
5839
5845
|
function v() {
|
|
@@ -5845,36 +5851,36 @@ function Vu(t, e, i) {
|
|
|
5845
5851
|
function b(p) {
|
|
5846
5852
|
if (!u) {
|
|
5847
5853
|
var g = Sn(p);
|
|
5848
|
-
g === l(
|
|
5854
|
+
g === l(Ai) ? t.go("<") : g === l(wi) && t.go(">");
|
|
5849
5855
|
}
|
|
5850
5856
|
}
|
|
5851
5857
|
return {
|
|
5852
5858
|
mount: d,
|
|
5853
5859
|
destroy: m,
|
|
5854
|
-
disable:
|
|
5860
|
+
disable: f
|
|
5855
5861
|
};
|
|
5856
5862
|
}
|
|
5857
|
-
var
|
|
5863
|
+
var xt = un + "-lazy", oi = xt + "-srcset", Bu = "[" + xt + "], [" + oi + "]";
|
|
5858
5864
|
function Hu(t, e, i) {
|
|
5859
5865
|
var n = ne(t), r = n.on, s = n.off, a = n.bind, o = n.emit, l = i.lazyLoad === "sequential", c = [It, ht], u = [];
|
|
5860
5866
|
function d() {
|
|
5861
|
-
i.lazyLoad && (
|
|
5867
|
+
i.lazyLoad && (h(), r(ce, h));
|
|
5862
5868
|
}
|
|
5863
|
-
function
|
|
5864
|
-
We(u), m(), l ? p() : (s(c), r(c,
|
|
5869
|
+
function h() {
|
|
5870
|
+
We(u), m(), l ? p() : (s(c), r(c, f), f());
|
|
5865
5871
|
}
|
|
5866
5872
|
function m() {
|
|
5867
5873
|
e.Slides.forEach(function(g) {
|
|
5868
5874
|
cn(g.slide, Bu).forEach(function(_) {
|
|
5869
|
-
var $ = Oe(_,
|
|
5875
|
+
var $ = Oe(_, xt), N = Oe(_, oi);
|
|
5870
5876
|
if ($ !== _.src || N !== _.srcset) {
|
|
5871
|
-
var
|
|
5877
|
+
var A = i.classes.spinner, S = _.parentElement, O = Xt(S, "." + A) || _t("span", A, S);
|
|
5872
5878
|
u.push([_, g, O]), _.src || Yt(_, "none");
|
|
5873
5879
|
}
|
|
5874
5880
|
});
|
|
5875
5881
|
});
|
|
5876
5882
|
}
|
|
5877
|
-
function
|
|
5883
|
+
function f() {
|
|
5878
5884
|
u = u.filter(function(g) {
|
|
5879
5885
|
var _ = i.perPage * ((i.preloadPages || 1) + 1) - 1;
|
|
5880
5886
|
return g[1].isWithin(t.index, _) ? v(g) : !0;
|
|
@@ -5882,7 +5888,7 @@ function Hu(t, e, i) {
|
|
|
5882
5888
|
}
|
|
5883
5889
|
function v(g) {
|
|
5884
5890
|
var _ = g[0];
|
|
5885
|
-
|
|
5891
|
+
xe(g[1].slide, Zi), a(_, "load error", Z(b, g)), G(_, "src", Oe(_, xt)), G(_, "srcset", Oe(_, oi)), Re(_, xt), Re(_, oi);
|
|
5886
5892
|
}
|
|
5887
5893
|
function b(g, _) {
|
|
5888
5894
|
var $ = g[0], N = g[1];
|
|
@@ -5894,25 +5900,25 @@ function Hu(t, e, i) {
|
|
|
5894
5900
|
return {
|
|
5895
5901
|
mount: d,
|
|
5896
5902
|
destroy: Z(We, u),
|
|
5897
|
-
check:
|
|
5903
|
+
check: f
|
|
5898
5904
|
};
|
|
5899
5905
|
}
|
|
5900
5906
|
function Yu(t, e, i) {
|
|
5901
|
-
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,
|
|
5907
|
+
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, h = c.go, m = e.Direction.resolve, f = l.pagination, v = [], b, p;
|
|
5902
5908
|
function g() {
|
|
5903
5909
|
_(), r([_e, ce, fi], g);
|
|
5904
|
-
var
|
|
5905
|
-
|
|
5910
|
+
var R = i.pagination;
|
|
5911
|
+
f && Yt(f, R ? "" : "none"), R && (r([Ue, bi, ht], B), $(), B(), s(qr, {
|
|
5906
5912
|
list: b,
|
|
5907
5913
|
items: v
|
|
5908
5914
|
}, O(t.index)));
|
|
5909
5915
|
}
|
|
5910
5916
|
function _() {
|
|
5911
|
-
b && (ct(
|
|
5917
|
+
b && (ct(f ? tt(b.children) : b), Ke(b, p), We(v), b = null), n.destroy();
|
|
5912
5918
|
}
|
|
5913
5919
|
function $() {
|
|
5914
|
-
var
|
|
5915
|
-
b =
|
|
5920
|
+
var R = t.length, I = i.classes, T = i.i18n, D = i.perPage, P = u() ? c.getEnd() + 1 : Kt(R / D);
|
|
5921
|
+
b = f || _t("ul", I.pagination, l.track.parentElement), xe(b, p = Ti + "--" + S()), G(b, je, "tablist"), G(b, Ie, T.select), G(b, yn, S() === Ci ? "vertical" : "");
|
|
5916
5922
|
for (var Y = 0; Y < P; Y++) {
|
|
5917
5923
|
var Q = _t("li", null, b), ie = _t("button", {
|
|
5918
5924
|
class: I.page,
|
|
@@ -5920,42 +5926,42 @@ function Yu(t, e, i) {
|
|
|
5920
5926
|
}, Q), K = o.getIn(Y).map(function(M) {
|
|
5921
5927
|
return M.slide.id;
|
|
5922
5928
|
}), V = !u() && D > 1 ? T.pageX : T.slideX;
|
|
5923
|
-
a(ie, "click", Z(N, Y)), i.paginationKeyboard && a(ie, "keydown", Z(
|
|
5929
|
+
a(ie, "click", Z(N, Y)), i.paginationKeyboard && a(ie, "keydown", Z(A, Y)), G(Q, je, "presentation"), G(ie, je, "tab"), G(ie, Zt, K.join(" ")), G(ie, Ie, Xi(V, Y + 1)), G(ie, yt, -1), v.push({
|
|
5924
5930
|
li: Q,
|
|
5925
5931
|
button: ie,
|
|
5926
5932
|
page: Y
|
|
5927
5933
|
});
|
|
5928
5934
|
}
|
|
5929
5935
|
}
|
|
5930
|
-
function N(
|
|
5931
|
-
|
|
5936
|
+
function N(R) {
|
|
5937
|
+
h(">" + R, !0);
|
|
5932
5938
|
}
|
|
5933
|
-
function
|
|
5939
|
+
function A(R, I) {
|
|
5934
5940
|
var T = v.length, D = Sn(I), P = S(), Y = -1;
|
|
5935
|
-
D === m(
|
|
5941
|
+
D === m(wi, !1, P) ? Y = ++R % T : D === m(Ai, !1, P) ? Y = (--R + T) % T : D === "Home" ? Y = 0 : D === "End" && (Y = T - 1);
|
|
5936
5942
|
var Q = v[Y];
|
|
5937
|
-
Q && (Pr(Q.button),
|
|
5943
|
+
Q && (Pr(Q.button), h(">" + Y), He(I, !0));
|
|
5938
5944
|
}
|
|
5939
5945
|
function S() {
|
|
5940
5946
|
return i.paginationDirection || i.direction;
|
|
5941
5947
|
}
|
|
5942
|
-
function O(
|
|
5943
|
-
return v[c.toPage(
|
|
5948
|
+
function O(R) {
|
|
5949
|
+
return v[c.toPage(R)];
|
|
5944
5950
|
}
|
|
5945
5951
|
function B() {
|
|
5946
|
-
var
|
|
5947
|
-
if (
|
|
5948
|
-
var T =
|
|
5949
|
-
Ke(T, ut),
|
|
5952
|
+
var R = O(d(!0)), I = O(d());
|
|
5953
|
+
if (R) {
|
|
5954
|
+
var T = R.button;
|
|
5955
|
+
Ke(T, ut), Re(T, Zn), G(T, yt, -1);
|
|
5950
5956
|
}
|
|
5951
5957
|
if (I) {
|
|
5952
5958
|
var D = I.button;
|
|
5953
|
-
|
|
5959
|
+
xe(D, ut), G(D, Zn, !0), G(D, yt, "");
|
|
5954
5960
|
}
|
|
5955
5961
|
s(Xr, {
|
|
5956
5962
|
list: b,
|
|
5957
5963
|
items: v
|
|
5958
|
-
},
|
|
5964
|
+
}, R, I);
|
|
5959
5965
|
}
|
|
5960
5966
|
return {
|
|
5961
5967
|
items: v,
|
|
@@ -5969,36 +5975,36 @@ var Ku = [" ", "Enter"];
|
|
|
5969
5975
|
function ju(t, e, i) {
|
|
5970
5976
|
var n = i.isNavigation, r = i.slideFocus, s = [];
|
|
5971
5977
|
function a() {
|
|
5972
|
-
t.splides.forEach(function(
|
|
5973
|
-
|
|
5978
|
+
t.splides.forEach(function(f) {
|
|
5979
|
+
f.isParent || (c(t, f.splide), c(f.splide, t));
|
|
5974
5980
|
}), n && u();
|
|
5975
5981
|
}
|
|
5976
5982
|
function o() {
|
|
5977
|
-
s.forEach(function(
|
|
5978
|
-
|
|
5983
|
+
s.forEach(function(f) {
|
|
5984
|
+
f.destroy();
|
|
5979
5985
|
}), We(s);
|
|
5980
5986
|
}
|
|
5981
5987
|
function l() {
|
|
5982
5988
|
o(), a();
|
|
5983
5989
|
}
|
|
5984
|
-
function c(
|
|
5985
|
-
var b = ne(
|
|
5990
|
+
function c(f, v) {
|
|
5991
|
+
var b = ne(f);
|
|
5986
5992
|
b.on(Ue, function(p, g, _) {
|
|
5987
5993
|
v.go(v.is(Mt) ? _ : p);
|
|
5988
5994
|
}), s.push(b);
|
|
5989
5995
|
}
|
|
5990
5996
|
function u() {
|
|
5991
|
-
var
|
|
5992
|
-
v(hn,
|
|
5997
|
+
var f = ne(t), v = f.on;
|
|
5998
|
+
v(hn, h), v(Zr, m), v([it, _e], d), s.push(f), f.emit(vn, t.splides);
|
|
5993
5999
|
}
|
|
5994
6000
|
function d() {
|
|
5995
6001
|
G(e.Elements.list, yn, i.direction === Ci ? "vertical" : "");
|
|
5996
6002
|
}
|
|
5997
|
-
function f
|
|
5998
|
-
t.go(
|
|
6003
|
+
function h(f) {
|
|
6004
|
+
t.go(f.index);
|
|
5999
6005
|
}
|
|
6000
|
-
function m(
|
|
6001
|
-
on(Ku, Sn(v)) && (f
|
|
6006
|
+
function m(f, v) {
|
|
6007
|
+
on(Ku, Sn(v)) && (h(f), He(v));
|
|
6002
6008
|
}
|
|
6003
6009
|
return {
|
|
6004
6010
|
setup: Z(e.Media.set, {
|
|
@@ -6016,8 +6022,8 @@ function Gu(t, e, i) {
|
|
|
6016
6022
|
}
|
|
6017
6023
|
function o(c) {
|
|
6018
6024
|
if (c.cancelable) {
|
|
6019
|
-
var u = c.deltaY, d = u < 0,
|
|
6020
|
-
Se(u) > m &&
|
|
6025
|
+
var u = c.deltaY, d = u < 0, h = zi(c), m = i.wheelMinThreshold || 0, f = i.wheelSleep || 0;
|
|
6026
|
+
Se(u) > m && h - s > f && (t.go(d ? "<" : ">"), s = h), l(d) && He(c);
|
|
6021
6027
|
}
|
|
6022
6028
|
}
|
|
6023
6029
|
function l(c) {
|
|
@@ -6031,20 +6037,20 @@ var Wu = 90;
|
|
|
6031
6037
|
function Uu(t, e, i) {
|
|
6032
6038
|
var n = ne(t), r = n.on, s = e.Elements.track, a = i.live && !i.isNavigation, o = _t("span", du), l = Ei(Wu, Z(u, !1));
|
|
6033
6039
|
function c() {
|
|
6034
|
-
a && (
|
|
6040
|
+
a && (h(!e.Autoplay.isPaused()), G(s, tr, !0), o.textContent = "…", r(mn, Z(h, !0)), r(pn, Z(h, !1)), r([It, ht], Z(u, !0)));
|
|
6035
6041
|
}
|
|
6036
6042
|
function u(m) {
|
|
6037
6043
|
G(s, er, m), m ? (qt(s, o), l.start()) : (ct(o), l.cancel());
|
|
6038
6044
|
}
|
|
6039
6045
|
function d() {
|
|
6040
|
-
|
|
6046
|
+
Re(s, [Qn, tr, er]), ct(o);
|
|
6041
6047
|
}
|
|
6042
|
-
function
|
|
6048
|
+
function h(m) {
|
|
6043
6049
|
a && G(s, Qn, m ? "off" : "polite");
|
|
6044
6050
|
}
|
|
6045
6051
|
return {
|
|
6046
6052
|
mount: c,
|
|
6047
|
-
disable:
|
|
6053
|
+
disable: h,
|
|
6048
6054
|
destroy: d
|
|
6049
6055
|
};
|
|
6050
6056
|
}
|
|
@@ -6056,13 +6062,13 @@ var zu = /* @__PURE__ */ Object.freeze({
|
|
|
6056
6062
|
Slides: yu,
|
|
6057
6063
|
Layout: bu,
|
|
6058
6064
|
Clones: Su,
|
|
6059
|
-
Move:
|
|
6060
|
-
Controller:
|
|
6065
|
+
Move: Au,
|
|
6066
|
+
Controller: wu,
|
|
6061
6067
|
Arrows: Mu,
|
|
6062
6068
|
Autoplay: Ou,
|
|
6063
6069
|
Cover: Du,
|
|
6064
6070
|
Scroll: Fu,
|
|
6065
|
-
Drag:
|
|
6071
|
+
Drag: xu,
|
|
6066
6072
|
Keyboard: Vu,
|
|
6067
6073
|
LazyLoad: Hu,
|
|
6068
6074
|
Pagination: Yu,
|
|
@@ -6135,19 +6141,19 @@ function Zu(t, e, i) {
|
|
|
6135
6141
|
m.target === a && l && (d(), l());
|
|
6136
6142
|
});
|
|
6137
6143
|
}
|
|
6138
|
-
function u(m,
|
|
6139
|
-
var v = n.toPosition(m, !0), b = n.getPosition(), p =
|
|
6140
|
-
Se(v - b) >= 1 && p >= 1 ? i.useScroll ? s.scroll(v, p, !1,
|
|
6144
|
+
function u(m, f) {
|
|
6145
|
+
var v = n.toPosition(m, !0), b = n.getPosition(), p = h(m);
|
|
6146
|
+
Se(v - b) >= 1 && p >= 1 ? i.useScroll ? s.scroll(v, p, !1, f) : (o("transform " + p + "ms " + i.easing), n.translate(v, !0), l = f) : (n.jump(m), f());
|
|
6141
6147
|
}
|
|
6142
6148
|
function d() {
|
|
6143
6149
|
o(""), s.cancel();
|
|
6144
6150
|
}
|
|
6145
|
-
function
|
|
6146
|
-
var
|
|
6147
|
-
if (t.is(
|
|
6151
|
+
function h(m) {
|
|
6152
|
+
var f = i.rewindSpeed;
|
|
6153
|
+
if (t.is(At) && f) {
|
|
6148
6154
|
var v = r.getIndex(!0), b = r.getEnd();
|
|
6149
6155
|
if (v === 0 && m >= b || v >= b && m === 0)
|
|
6150
|
-
return
|
|
6156
|
+
return f;
|
|
6151
6157
|
}
|
|
6152
6158
|
return i.speed;
|
|
6153
6159
|
}
|
|
@@ -6160,7 +6166,7 @@ function Zu(t, e, i) {
|
|
|
6160
6166
|
var Qu = /* @__PURE__ */ function() {
|
|
6161
6167
|
function t(i, n) {
|
|
6162
6168
|
this.event = ne(), this.Components = {}, this.state = eu(pt), this.splides = [], this._o = {}, this._E = {};
|
|
6163
|
-
var r = Ze(i) ?
|
|
6169
|
+
var r = Ze(i) ? xr(document, i) : i;
|
|
6164
6170
|
Ft(r, r + " is invalid."), this.root = r, n = Xe({
|
|
6165
6171
|
label: Oe(r, Ie) || "",
|
|
6166
6172
|
labelledby: Oe(r, _n) || ""
|
|
@@ -6184,7 +6190,7 @@ var Qu = /* @__PURE__ */ function() {
|
|
|
6184
6190
|
o[u] = d, d.setup && d.setup();
|
|
6185
6191
|
}), lt(o, function(c) {
|
|
6186
6192
|
c.mount && c.mount();
|
|
6187
|
-
}), this.emit(it),
|
|
6193
|
+
}), this.emit(it), xe(this.root, hu), a.set(Et), this.emit(Xn), this;
|
|
6188
6194
|
}, e.sync = function(n) {
|
|
6189
6195
|
return this.splides.push({
|
|
6190
6196
|
splide: n
|
|
@@ -6234,9 +6240,9 @@ var Qu = /* @__PURE__ */ function() {
|
|
|
6234
6240
|
return this._C.Controller.getIndex();
|
|
6235
6241
|
}
|
|
6236
6242
|
}]), t;
|
|
6237
|
-
}(),
|
|
6238
|
-
|
|
6239
|
-
|
|
6243
|
+
}(), An = Qu;
|
|
6244
|
+
An.defaults = {};
|
|
6245
|
+
An.STATES = Jc;
|
|
6240
6246
|
const sr = [
|
|
6241
6247
|
Br,
|
|
6242
6248
|
Ur,
|
|
@@ -6295,20 +6301,20 @@ const td = U({
|
|
|
6295
6301
|
(t = e == null ? void 0 : e.value) == null || t.refresh();
|
|
6296
6302
|
});
|
|
6297
6303
|
}
|
|
6298
|
-
}),
|
|
6304
|
+
}), wn = (t, e) => {
|
|
6299
6305
|
const i = t.__vccOpts || t;
|
|
6300
6306
|
for (const [n, r] of e)
|
|
6301
6307
|
i[n] = r;
|
|
6302
6308
|
return i;
|
|
6303
6309
|
}, id = { class: "splide__track" }, nd = { class: "splide__list" };
|
|
6304
6310
|
function rd(t, e, i, n, r, s) {
|
|
6305
|
-
return E(),
|
|
6311
|
+
return E(), w("div", id, [
|
|
6306
6312
|
y("ul", nd, [
|
|
6307
6313
|
q(t.$slots, "default")
|
|
6308
6314
|
])
|
|
6309
6315
|
]);
|
|
6310
6316
|
}
|
|
6311
|
-
const sd = /* @__PURE__ */
|
|
6317
|
+
const sd = /* @__PURE__ */ wn(td, [["render", rd]]), ad = U({
|
|
6312
6318
|
name: "Splide",
|
|
6313
6319
|
emits: sr.map((t) => `splide:${t}`),
|
|
6314
6320
|
components: { SplideTrack: sd },
|
|
@@ -6331,7 +6337,7 @@ const sd = /* @__PURE__ */ An(td, [["render", rd]]), ad = U({
|
|
|
6331
6337
|
setup(t, e) {
|
|
6332
6338
|
const i = ve(), n = ve();
|
|
6333
6339
|
vi(() => {
|
|
6334
|
-
n.value && (i.value = new
|
|
6340
|
+
n.value && (i.value = new An(n.value, t.options), l(i.value), i.value.mount(t.extensions, t.transition));
|
|
6335
6341
|
}), hr(() => {
|
|
6336
6342
|
var c;
|
|
6337
6343
|
(c = i.value) == null || c.destroy();
|
|
@@ -6372,7 +6378,7 @@ const sd = /* @__PURE__ */ An(td, [["render", rd]]), ad = U({
|
|
|
6372
6378
|
});
|
|
6373
6379
|
function od(t, e, i, n, r, s) {
|
|
6374
6380
|
const a = Ss("SplideTrack");
|
|
6375
|
-
return E(), se(
|
|
6381
|
+
return E(), se(As(t.tag), {
|
|
6376
6382
|
class: "splide",
|
|
6377
6383
|
ref: "root"
|
|
6378
6384
|
}, {
|
|
@@ -6387,15 +6393,15 @@ function od(t, e, i, n, r, s) {
|
|
|
6387
6393
|
_: 3
|
|
6388
6394
|
}, 512);
|
|
6389
6395
|
}
|
|
6390
|
-
const ld = /* @__PURE__ */
|
|
6396
|
+
const ld = /* @__PURE__ */ wn(ad, [["render", od]]), cd = U({
|
|
6391
6397
|
name: "SplideSlide"
|
|
6392
6398
|
}), ud = { class: "splide__slide" };
|
|
6393
6399
|
function dd(t, e, i, n, r, s) {
|
|
6394
|
-
return E(),
|
|
6400
|
+
return E(), w("li", ud, [
|
|
6395
6401
|
q(t.$slots, "default")
|
|
6396
6402
|
]);
|
|
6397
6403
|
}
|
|
6398
|
-
const hd = /* @__PURE__ */
|
|
6404
|
+
const hd = /* @__PURE__ */ wn(cd, [["render", dd]]), fd = {
|
|
6399
6405
|
autoplay: !1,
|
|
6400
6406
|
keyboard: !0,
|
|
6401
6407
|
slideFocus: !0,
|
|
@@ -6436,7 +6442,7 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6436
6442
|
__name: "MucSlider",
|
|
6437
6443
|
emits: ["changeSlide"],
|
|
6438
6444
|
setup(t, { emit: e }) {
|
|
6439
|
-
const i = e, n =
|
|
6445
|
+
const i = e, n = ws("splide"), r = ve(0), s = ve(0), a = () => {
|
|
6440
6446
|
n.value && n.value.go(">");
|
|
6441
6447
|
}, o = () => {
|
|
6442
6448
|
n.value && n.value.go("<");
|
|
@@ -6447,12 +6453,12 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6447
6453
|
n.value && n.value.splide && (s.value = n.value.length, n.value.splide.on("move", () => {
|
|
6448
6454
|
n.value && n.value.splide && (r.value = n.value.splide.index, i("changeSlide", n.value.splide.index));
|
|
6449
6455
|
}));
|
|
6450
|
-
}), (u, d) => (E(),
|
|
6456
|
+
}), (u, d) => (E(), w("div", vd, [
|
|
6451
6457
|
y("div", md, [
|
|
6452
6458
|
y("div", pd, [
|
|
6453
6459
|
y("div", gd, [
|
|
6454
6460
|
y("section", _d, [
|
|
6455
|
-
l.value ? (E(),
|
|
6461
|
+
l.value ? (E(), w("button", {
|
|
6456
6462
|
key: 0,
|
|
6457
6463
|
"aria-label": "Vorheriges Element",
|
|
6458
6464
|
class: "previous-button is-control",
|
|
@@ -6474,7 +6480,7 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6474
6480
|
]),
|
|
6475
6481
|
_: 3
|
|
6476
6482
|
}, 8, ["options"]),
|
|
6477
|
-
c.value ? (E(),
|
|
6483
|
+
c.value ? (E(), w("button", {
|
|
6478
6484
|
key: 1,
|
|
6479
6485
|
"aria-label": "Nächstes Element",
|
|
6480
6486
|
class: "next-button is-control",
|
|
@@ -6500,7 +6506,7 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6500
6506
|
_: 3
|
|
6501
6507
|
}));
|
|
6502
6508
|
}
|
|
6503
|
-
}), Sd = ["tabindex", "aria-label"],
|
|
6509
|
+
}), Sd = ["tabindex", "aria-label"], Ad = { "aria-disabled": "true" }, wd = /* @__PURE__ */ U({
|
|
6504
6510
|
__name: "MucStepperItem",
|
|
6505
6511
|
props: {
|
|
6506
6512
|
item: {},
|
|
@@ -6517,7 +6523,7 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6517
6523
|
), a = () => {
|
|
6518
6524
|
t.isDone && !t.disabled && i("click", t.item.id);
|
|
6519
6525
|
};
|
|
6520
|
-
return (o, l) => (E(),
|
|
6526
|
+
return (o, l) => (E(), w("li", {
|
|
6521
6527
|
class: ae(["m-form-step", {
|
|
6522
6528
|
"m-form-step--current": o.isActive,
|
|
6523
6529
|
"show-cursor": o.isDone && !o.disabled && !o.isActive
|
|
@@ -6529,16 +6535,16 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6529
6535
|
tabindex: r.value,
|
|
6530
6536
|
"aria-label": s.value
|
|
6531
6537
|
}, [
|
|
6532
|
-
re(X(
|
|
6538
|
+
re(X(we), { icon: n.value }, null, 8, ["icon"])
|
|
6533
6539
|
], 10, Sd),
|
|
6534
6540
|
y("div", {
|
|
6535
6541
|
class: ae(["m-form-step__title", { disabled: o.disabled }])
|
|
6536
6542
|
}, [
|
|
6537
|
-
y("span",
|
|
6543
|
+
y("span", Ad, x(o.item.label), 1)
|
|
6538
6544
|
], 2)
|
|
6539
6545
|
], 2));
|
|
6540
6546
|
}
|
|
6541
|
-
}), Cd = /* @__PURE__ */ de(
|
|
6547
|
+
}), Cd = /* @__PURE__ */ de(wd, [["__scopeId", "data-v-d2453f8e"]]), Id = { class: "m-component m-component-form-progress" }, Md = { class: "container" }, Td = { class: "m-component__grid" }, Od = { class: "m-component__column" }, Dd = { class: "m-form-steps" }, kd = /* @__PURE__ */ U({
|
|
6542
6548
|
__name: "MucStepper",
|
|
6543
6549
|
props: {
|
|
6544
6550
|
stepItems: {},
|
|
@@ -6557,12 +6563,12 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6557
6563
|
const n = (c) => t.stepItems.findIndex((u) => u.id === c), r = ve(n(t.activeItem)), s = (c) => c === t.activeItem, a = (c) => n(c) < r.value, o = (c) => t.disablePreviousSteps && !s(c) && a(c), l = (c) => {
|
|
6558
6564
|
i("changeStep", c);
|
|
6559
6565
|
};
|
|
6560
|
-
return (c, u) => (E(),
|
|
6566
|
+
return (c, u) => (E(), w("div", Id, [
|
|
6561
6567
|
y("div", Md, [
|
|
6562
6568
|
y("div", Td, [
|
|
6563
6569
|
y("div", Od, [
|
|
6564
6570
|
y("ol", Dd, [
|
|
6565
|
-
(E(!0),
|
|
6571
|
+
(E(!0), w(De, null, Pe(c.stepItems, (d) => (E(), se(Cd, {
|
|
6566
6572
|
key: d.id,
|
|
6567
6573
|
item: d,
|
|
6568
6574
|
"is-active": s(d.id),
|
|
@@ -6583,7 +6589,7 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6583
6589
|
MucCalendar: ra,
|
|
6584
6590
|
MucCallout: ha,
|
|
6585
6591
|
MucCard: ba,
|
|
6586
|
-
MucCardContainer:
|
|
6592
|
+
MucCardContainer: Aa,
|
|
6587
6593
|
MucCheckbox: eo,
|
|
6588
6594
|
MucCheckboxGroup: oo,
|
|
6589
6595
|
MucComment: vr,
|
|
@@ -6592,14 +6598,14 @@ const hd = /* @__PURE__ */ An(cd, [["render", dd]]), fd = {
|
|
|
6592
6598
|
MucDivider: tn,
|
|
6593
6599
|
MucErrorList: Mo,
|
|
6594
6600
|
MucFileDropzone: Xa,
|
|
6595
|
-
MucIcon:
|
|
6596
|
-
MucInput:
|
|
6601
|
+
MucIcon: we,
|
|
6602
|
+
MucInput: xo,
|
|
6597
6603
|
MucIntro: jc,
|
|
6598
6604
|
MucLink: mr,
|
|
6599
6605
|
MucPercentageSpinner: Uc,
|
|
6600
6606
|
MucRadioButton: Yo,
|
|
6601
6607
|
MucRadioButtonGroup: zo,
|
|
6602
|
-
MucSelect:
|
|
6608
|
+
MucSelect: wc,
|
|
6603
6609
|
MucSlider: bd,
|
|
6604
6610
|
MucSliderItem: Ed,
|
|
6605
6611
|
MucStepper: kd,
|
|
@@ -6616,7 +6622,7 @@ export {
|
|
|
6616
6622
|
ra as MucCalendar,
|
|
6617
6623
|
ha as MucCallout,
|
|
6618
6624
|
ba as MucCard,
|
|
6619
|
-
|
|
6625
|
+
Aa as MucCardContainer,
|
|
6620
6626
|
eo as MucCheckbox,
|
|
6621
6627
|
oo as MucCheckboxGroup,
|
|
6622
6628
|
vr as MucComment,
|
|
@@ -6625,14 +6631,14 @@ export {
|
|
|
6625
6631
|
tn as MucDivider,
|
|
6626
6632
|
Mo as MucErrorList,
|
|
6627
6633
|
Xa as MucFileDropzone,
|
|
6628
|
-
|
|
6629
|
-
|
|
6634
|
+
we as MucIcon,
|
|
6635
|
+
xo as MucInput,
|
|
6630
6636
|
jc as MucIntro,
|
|
6631
6637
|
mr as MucLink,
|
|
6632
6638
|
Uc as MucPercentageSpinner,
|
|
6633
6639
|
Yo as MucRadioButton,
|
|
6634
6640
|
zo as MucRadioButtonGroup,
|
|
6635
|
-
|
|
6641
|
+
wc as MucSelect,
|
|
6636
6642
|
bd as MucSlider,
|
|
6637
6643
|
Ed as MucSliderItem,
|
|
6638
6644
|
kd as MucStepper,
|