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