@muenchen/muc-patternlab-vue 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as W, useAttrs as gs, computed as
|
|
1
|
+
import { defineComponent as W, useAttrs as gs, computed as N, createElementBlock as T, openBlock as S, normalizeStyle as _s, normalizeClass as le, createElementVNode as b, createVNode as ie, renderSlot as q, unref as X, createCommentVNode as U, createBlock as ce, inject as Gt, withKeys as Qi, toDisplayString as Y, Fragment as De, renderList as Fe, mergeModels as xe, ref as pe, useModel as dt, provide as en, readonly as $i, toRef as Ri, withCtx as ne, Transition as Oi, useSlots as lr, createTextVNode as fe, createSlots as ys, createStaticVNode as cr, onMounted as vi, onUpdated as ur, withModifiers as Lt, watch as yt, withDirectives as dr, vModelDynamic as bs, onBeforeUnmount as hr, vModelText as Es, resolveComponent as Ss, resolveDynamicComponent as Cs, useTemplateRef as As } from "vue";
|
|
2
2
|
const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
@@ -6,7 +6,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
6
6
|
color: {}
|
|
7
7
|
},
|
|
8
8
|
setup(t) {
|
|
9
|
-
const e = gs(), i =
|
|
9
|
+
const e = gs(), i = N(() => e.class ?? "icon");
|
|
10
10
|
return (n, r) => (S(), T("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
12
|
class: le(i.value),
|
|
@@ -23,7 +23,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
23
23
|
type: { default: "info" }
|
|
24
24
|
},
|
|
25
25
|
setup(t) {
|
|
26
|
-
const e =
|
|
26
|
+
const e = N(() => {
|
|
27
27
|
switch (t.type) {
|
|
28
28
|
case "info":
|
|
29
29
|
return "m-banner--info";
|
|
@@ -36,7 +36,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
36
36
|
default:
|
|
37
37
|
return "m-banner--info";
|
|
38
38
|
}
|
|
39
|
-
}), i =
|
|
39
|
+
}), i = N(() => {
|
|
40
40
|
switch (t.type) {
|
|
41
41
|
case "info":
|
|
42
42
|
return "dialog";
|
|
@@ -49,7 +49,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
49
49
|
default:
|
|
50
50
|
return "dialog";
|
|
51
51
|
}
|
|
52
|
-
}), n =
|
|
52
|
+
}), n = N(() => {
|
|
53
53
|
switch (t.type) {
|
|
54
54
|
case "info":
|
|
55
55
|
return "Information";
|
|
@@ -62,7 +62,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
62
62
|
default:
|
|
63
63
|
return "Information";
|
|
64
64
|
}
|
|
65
|
-
}), r =
|
|
65
|
+
}), r = N(() => {
|
|
66
66
|
switch (t.type) {
|
|
67
67
|
case "success":
|
|
68
68
|
return "check";
|
|
@@ -100,7 +100,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
100
100
|
},
|
|
101
101
|
emits: ["click"],
|
|
102
102
|
setup(t, { emit: e }) {
|
|
103
|
-
const i =
|
|
103
|
+
const i = e, n = N(() => {
|
|
104
104
|
switch (t.variant) {
|
|
105
105
|
case "secondary":
|
|
106
106
|
return "m-button--secondary";
|
|
@@ -109,26 +109,25 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
109
109
|
default:
|
|
110
110
|
return "m-button--primary";
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
113
|
-
"
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
return (l, u) => (S(), T("button", {
|
|
120
|
-
onClick: o,
|
|
121
|
-
"aria-disabled": l.disabled,
|
|
122
|
-
class: le(["m-button", [r.value, s.value, c.value]])
|
|
112
|
+
}), r = N(() => t.iconAnimated && t.iconShownLeft ? "m-button--animated-left" : t.iconAnimated ? "m-button--animated-right" : ""), s = () => {
|
|
113
|
+
t.disabled || i("click");
|
|
114
|
+
}, a = N(() => t.disabled ? "disabled" : "");
|
|
115
|
+
return (o, l) => (S(), T("button", {
|
|
116
|
+
onClick: s,
|
|
117
|
+
"aria-disabled": o.disabled,
|
|
118
|
+
class: le(["m-button", [n.value, r.value, a.value]])
|
|
123
119
|
}, [
|
|
124
120
|
b("span", null, [
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
o.iconShownLeft ? U("", !0) : q(o.$slots, "default", { key: 0 }, void 0, !0),
|
|
122
|
+
o.icon ? (S(), ce(X(Ie), {
|
|
127
123
|
key: 1,
|
|
128
|
-
icon:
|
|
129
|
-
class: le(["m-button__icon",
|
|
124
|
+
icon: o.icon,
|
|
125
|
+
class: le(["m-button__icon", {
|
|
126
|
+
"m-button__icon--after": !o.iconShownLeft && o.variant != "icon",
|
|
127
|
+
"m-button__icon--before": o.iconShownLeft && o.variant != "icon"
|
|
128
|
+
}])
|
|
130
129
|
}, null, 8, ["icon", "class"])) : U("", !0),
|
|
131
|
-
|
|
130
|
+
o.iconShownLeft ? q(o.$slots, "default", { key: 2 }, void 0, !0) : U("", !0)
|
|
132
131
|
])
|
|
133
132
|
], 10, Os));
|
|
134
133
|
}
|
|
@@ -137,7 +136,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
137
136
|
for (const [n, r] of e)
|
|
138
137
|
i[n] = r;
|
|
139
138
|
return i;
|
|
140
|
-
}, Je = /* @__PURE__ */ ue(Ds, [["__scopeId", "data-v-
|
|
139
|
+
}, Je = /* @__PURE__ */ ue(Ds, [["__scopeId", "data-v-d8b9ed9f"]]), li = "de-DE", fr = 12, mi = Symbol("mucCalendar"), Dt = (t, e) => t.getDate() === e.getDate() && t.getMonth() === e.getMonth() && t.getFullYear() === e.getFullYear(), Vi = (t, e) => t > e, Nt = (t) => t !== null && t.from !== void 0 && t.to !== void 0, ks = ["tabindex", "aria-label"], Ls = /* @__PURE__ */ W({
|
|
141
140
|
__name: "MucDayTile",
|
|
142
141
|
props: {
|
|
143
142
|
date: {},
|
|
@@ -145,31 +144,31 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
145
144
|
},
|
|
146
145
|
emits: ["click"],
|
|
147
146
|
setup(t, { emit: e }) {
|
|
148
|
-
const i = Gt(mi), n = e, r =
|
|
147
|
+
const i = Gt(mi), n = e, r = N(() => {
|
|
149
148
|
if ((i == null ? void 0 : i.selectedDate.value) === null)
|
|
150
149
|
return !1;
|
|
151
150
|
if ((i == null ? void 0 : i.selectedDate.value) instanceof Date)
|
|
152
151
|
return Dt(i == null ? void 0 : i.selectedDate.value, t.date);
|
|
153
152
|
if (Array.isArray(i == null ? void 0 : i.selectedDate.value))
|
|
154
153
|
return i == null ? void 0 : i.selectedDate.value.some(
|
|
155
|
-
(
|
|
154
|
+
(c) => Dt(c, t.date)
|
|
156
155
|
);
|
|
157
156
|
if (Nt(i.selectedDate.value)) {
|
|
158
|
-
const { from:
|
|
159
|
-
return
|
|
157
|
+
const { from: c, to: u } = i.selectedDate.value;
|
|
158
|
+
return c && Dt(c, t.date) || u && Dt(u, t.date);
|
|
160
159
|
}
|
|
161
|
-
}), s =
|
|
162
|
-
const
|
|
163
|
-
return !
|
|
164
|
-
}), o =
|
|
160
|
+
}), s = N(() => (i == null ? void 0 : i.variant.value) === "range" && Nt(i.selectedDate.value) ? (i == null ? void 0 : i.selectedDate.value.from) !== null && (i == null ? void 0 : i.selectedDate.value.to) !== null && Vi(t.date, i.selectedDate.value.from) && Vi(i.selectedDate.value.to, t.date) : !1), a = N(() => {
|
|
161
|
+
const c = i != null && i.allowedDates(t.date) ? i.allowedDates(t.date) : !1, u = (i == null ? void 0 : i.minDate.value) !== void 0 && (t.date.getFullYear() < i.minDate.value.getFullYear() || t.date.getFullYear() === i.minDate.value.getFullYear() && t.date.getMonth() < i.minDate.value.getMonth() || t.date.getFullYear() === i.minDate.value.getFullYear() && t.date.getMonth() === i.minDate.value.getMonth() && t.date.getDate() < i.minDate.value.getDate()), d = (i == null ? void 0 : i.maxDate.value) !== void 0 && (t.date.getFullYear() > i.maxDate.value.getFullYear() || t.date.getFullYear() === i.maxDate.value.getFullYear() && t.date.getMonth() > i.maxDate.value.getMonth() || t.date.getFullYear() === i.maxDate.value.getFullYear() && t.date.getMonth() === i.maxDate.value.getMonth() && t.date.getDate() > i.maxDate.value.getDate());
|
|
162
|
+
return !c || u || d;
|
|
163
|
+
}), o = N(
|
|
165
164
|
() => t.date.getMonth() === (i == null ? void 0 : i.viewDate.value.getMonth())
|
|
166
|
-
),
|
|
165
|
+
), l = () => {
|
|
167
166
|
a.value || n("click", t.date);
|
|
168
167
|
};
|
|
169
|
-
return (
|
|
168
|
+
return (c, u) => o.value || c.showAdjacentMonths ? (S(), T("div", {
|
|
170
169
|
key: 0,
|
|
171
|
-
onClick:
|
|
172
|
-
onKeyup:
|
|
170
|
+
onClick: l,
|
|
171
|
+
onKeyup: Qi(l, ["enter"]),
|
|
173
172
|
class: le({
|
|
174
173
|
"disabled-tile": a.value,
|
|
175
174
|
"off-month": !o.value,
|
|
@@ -178,10 +177,10 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
178
177
|
}),
|
|
179
178
|
tabindex: a.value ? "-1" : "0",
|
|
180
179
|
role: "button",
|
|
181
|
-
"aria-label": `${
|
|
182
|
-
}, Y(
|
|
180
|
+
"aria-label": `${c.date.getDate()} auswählen`
|
|
181
|
+
}, Y(c.date.getDate()), 43, ks)) : U("", !0);
|
|
183
182
|
}
|
|
184
|
-
}), Ns = /* @__PURE__ */ ue(Ls, [["__scopeId", "data-v-9ac1842d"]]), Ps = { class: "muc-calendar-view-full-size" },
|
|
183
|
+
}), Ns = /* @__PURE__ */ ue(Ls, [["__scopeId", "data-v-9ac1842d"]]), Ps = { class: "muc-calendar-view-full-size" }, Fs = { class: "muc-calendar-container table-header" }, xs = { class: "muc-calendar-container" }, $s = 7, Rs = /* @__PURE__ */ W({
|
|
185
184
|
__name: "MucCalendarDay",
|
|
186
185
|
props: {
|
|
187
186
|
viewDate: {},
|
|
@@ -191,31 +190,31 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
191
190
|
},
|
|
192
191
|
emits: ["clicked"],
|
|
193
192
|
setup(t, { emit: e }) {
|
|
194
|
-
const i = 6 * $s, n = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = t, s = e, a =
|
|
193
|
+
const i = 6 * $s, n = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = t, s = e, a = N(
|
|
195
194
|
() => new Date(r.viewDate.getFullYear(), r.viewDate.getMonth(), 1)
|
|
196
|
-
), o =
|
|
195
|
+
), o = N(
|
|
197
196
|
() => r.showAdjacentMonths ? 0 : (a.value.getDay() || 7) - 1
|
|
198
|
-
),
|
|
197
|
+
), l = N(
|
|
199
198
|
() => u(a.value, -a.value.getDay() || -7)
|
|
200
|
-
),
|
|
199
|
+
), c = (d) => {
|
|
201
200
|
s("clicked", d);
|
|
202
201
|
}, u = (d, f) => new Date(new Date(d).setDate(d.getDate() + f));
|
|
203
202
|
return (d, f) => (S(), T("div", Ps, [
|
|
204
|
-
b("div",
|
|
205
|
-
(S(), T(De, null,
|
|
203
|
+
b("div", Fs, [
|
|
204
|
+
(S(), T(De, null, Fe(n, (m, h) => b("div", {
|
|
206
205
|
class: "header-item",
|
|
207
206
|
key: h
|
|
208
207
|
}, [
|
|
209
208
|
b("strong", null, Y(m), 1)
|
|
210
209
|
])), 64))
|
|
211
210
|
]),
|
|
212
|
-
b("div",
|
|
213
|
-
(S(!0), T(De, null,
|
|
214
|
-
(S(), T(De, null,
|
|
211
|
+
b("div", xs, [
|
|
212
|
+
(S(!0), T(De, null, Fe(o.value, (m) => (S(), T("div", { key: m }))), 128)),
|
|
213
|
+
(S(), T(De, null, Fe(i, (m) => ie(Ns, {
|
|
215
214
|
class: "muc-calendar-item",
|
|
216
|
-
date: u(
|
|
215
|
+
date: u(l.value, m),
|
|
217
216
|
"show-adjacent-months": d.showAdjacentMonths,
|
|
218
|
-
onClick:
|
|
217
|
+
onClick: c,
|
|
219
218
|
key: m
|
|
220
219
|
}, null, 8, ["date", "show-adjacent-months"])), 64))
|
|
221
220
|
])
|
|
@@ -228,15 +227,15 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
228
227
|
},
|
|
229
228
|
emits: ["click"],
|
|
230
229
|
setup(t, { emit: e }) {
|
|
231
|
-
const i = Gt(mi), n = e, r = (o) => o.toLocaleDateString(li, { month: Hs }), s =
|
|
232
|
-
const o = t.date.getFullYear(),
|
|
233
|
-
return
|
|
230
|
+
const i = Gt(mi), n = e, r = (o) => o.toLocaleDateString(li, { month: Hs }), s = N(() => {
|
|
231
|
+
const o = t.date.getFullYear(), l = t.date.getMonth(), c = (i == null ? void 0 : i.minDate.value) && (o < i.minDate.value.getFullYear() || o === i.minDate.value.getFullYear() && l < i.minDate.value.getMonth()), u = (i == null ? void 0 : i.maxDate.value) && (o > i.maxDate.value.getFullYear() || o === i.maxDate.value.getFullYear() && l > i.maxDate.value.getMonth());
|
|
232
|
+
return c || u;
|
|
234
233
|
}), a = () => {
|
|
235
234
|
s.value || n("click", t.date);
|
|
236
235
|
};
|
|
237
|
-
return (o,
|
|
236
|
+
return (o, l) => (S(), T("div", {
|
|
238
237
|
onClick: a,
|
|
239
|
-
onKeyup:
|
|
238
|
+
onKeyup: Qi(a, ["enter"]),
|
|
240
239
|
class: le({
|
|
241
240
|
"disabled-tile": s.value,
|
|
242
241
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() === o.date.getMonth() && (/* @__PURE__ */ new Date()).getFullYear() === o.date.getFullYear()
|
|
@@ -255,44 +254,44 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
255
254
|
},
|
|
256
255
|
emits: ["clicked"],
|
|
257
256
|
setup(t, { emit: e }) {
|
|
258
|
-
const i = t, n = e, r =
|
|
257
|
+
const i = t, n = e, r = N(
|
|
259
258
|
() => Array.from(
|
|
260
259
|
{ length: fr },
|
|
261
260
|
(a, o) => new Date(i.viewDate.getFullYear(), o)
|
|
262
261
|
)
|
|
263
262
|
), s = (a) => n("clicked", a);
|
|
264
263
|
return (a, o) => (S(), T("div", js, [
|
|
265
|
-
(S(!0), T(De, null,
|
|
266
|
-
key:
|
|
264
|
+
(S(!0), T(De, null, Fe(r.value, (l, c) => (S(), ce(Ks, {
|
|
265
|
+
key: c,
|
|
267
266
|
class: "muc-calendar-item",
|
|
268
|
-
date:
|
|
267
|
+
date: l,
|
|
269
268
|
onClick: s
|
|
270
269
|
}, null, 8, ["date"]))), 128))
|
|
271
270
|
]));
|
|
272
271
|
}
|
|
273
|
-
}), Ws = /* @__PURE__ */ ue(Gs, [["__scopeId", "data-v-4dc141ae"]]), Us = ["tabindex", "aria-label"],
|
|
272
|
+
}), Ws = /* @__PURE__ */ ue(Gs, [["__scopeId", "data-v-4dc141ae"]]), Us = ["tabindex", "aria-label"], In = "numeric", zs = /* @__PURE__ */ W({
|
|
274
273
|
__name: "MucYearTile",
|
|
275
274
|
props: {
|
|
276
275
|
date: {}
|
|
277
276
|
},
|
|
278
277
|
emits: ["click"],
|
|
279
278
|
setup(t, { emit: e }) {
|
|
280
|
-
const i = Gt(mi), n = e, r = (o) => o.toLocaleDateString(li, { year:
|
|
281
|
-
const o = t.date.getFullYear(),
|
|
282
|
-
return
|
|
279
|
+
const i = Gt(mi), n = e, r = (o) => o.toLocaleDateString(li, { year: In }), s = N(() => {
|
|
280
|
+
const o = t.date.getFullYear(), l = (i == null ? void 0 : i.minDate.value) && o < i.minDate.value.getFullYear(), c = (i == null ? void 0 : i.maxDate.value) && o > i.maxDate.value.getFullYear();
|
|
281
|
+
return l || c;
|
|
283
282
|
}), a = () => {
|
|
284
283
|
s.value || n("click", t.date);
|
|
285
284
|
};
|
|
286
|
-
return (o,
|
|
285
|
+
return (o, l) => (S(), T("div", {
|
|
287
286
|
onClick: a,
|
|
288
|
-
onKeyup:
|
|
287
|
+
onKeyup: Qi(a, ["enter"]),
|
|
289
288
|
class: le({
|
|
290
289
|
"disabled-tile": s.value,
|
|
291
290
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() === o.date.getFullYear()
|
|
292
291
|
}),
|
|
293
292
|
tabindex: s.value ? "-1" : "0",
|
|
294
293
|
role: "button",
|
|
295
|
-
"aria-label": `${o.date.toLocaleDateString(X(li), { year:
|
|
294
|
+
"aria-label": `${o.date.toLocaleDateString(X(li), { year: In })} auswählen`
|
|
296
295
|
}, [
|
|
297
296
|
b("p", null, Y(r(o.date)), 1)
|
|
298
297
|
], 42, Us));
|
|
@@ -304,7 +303,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
304
303
|
},
|
|
305
304
|
emits: ["clicked"],
|
|
306
305
|
setup(t, { emit: e }) {
|
|
307
|
-
const i = t, n = e, r =
|
|
306
|
+
const i = t, n = e, r = N(
|
|
308
307
|
() => Array.from(
|
|
309
308
|
{ length: fr },
|
|
310
309
|
(a, o) => new Date(
|
|
@@ -314,17 +313,17 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
314
313
|
)
|
|
315
314
|
), s = (a) => n("clicked", a);
|
|
316
315
|
return (a, o) => (S(), T("div", Xs, [
|
|
317
|
-
(S(!0), T(De, null,
|
|
318
|
-
key:
|
|
316
|
+
(S(!0), T(De, null, Fe(r.value, (l, c) => (S(), ce(qs, {
|
|
317
|
+
key: c,
|
|
319
318
|
class: "muc-calendar-item",
|
|
320
|
-
date:
|
|
321
|
-
onClick: (u) => s(
|
|
319
|
+
date: l,
|
|
320
|
+
onClick: (u) => s(l)
|
|
322
321
|
}, null, 8, ["date", "onClick"]))), 128))
|
|
323
322
|
]));
|
|
324
323
|
}
|
|
325
|
-
}), Zs = /* @__PURE__ */ ue(Js, [["__scopeId", "data-v-2d92e62c"]]), Qs = { class: "container-wrapper" }, ea = { class: "calendar-caption" }, ta = { class: "container-view-size" },
|
|
324
|
+
}), Zs = /* @__PURE__ */ ue(Js, [["__scopeId", "data-v-2d92e62c"]]), Qs = { class: "container-wrapper" }, ea = { class: "calendar-caption" }, ta = { class: "container-view-size" }, Mn = 10, ia = /* @__PURE__ */ W({
|
|
326
325
|
__name: "MucCalendar",
|
|
327
|
-
props: /* @__PURE__ */
|
|
326
|
+
props: /* @__PURE__ */ xe({
|
|
328
327
|
viewMonth: {},
|
|
329
328
|
min: {},
|
|
330
329
|
max: {},
|
|
@@ -342,18 +341,18 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
342
341
|
}),
|
|
343
342
|
emits: ["update:modelValue"],
|
|
344
343
|
setup(t) {
|
|
345
|
-
const e =
|
|
344
|
+
const e = N(() => {
|
|
346
345
|
if (t.viewMonth)
|
|
347
346
|
return t.viewMonth instanceof Date ? t.viewMonth : new Date(t.viewMonth);
|
|
348
|
-
}), i =
|
|
347
|
+
}), i = N(() => {
|
|
349
348
|
if (t.min)
|
|
350
349
|
return t.min instanceof Date ? t.min : new Date(t.min);
|
|
351
|
-
}), n =
|
|
350
|
+
}), n = N(() => {
|
|
352
351
|
if (t.max)
|
|
353
352
|
return t.max instanceof Date ? t.max : new Date(t.max);
|
|
354
353
|
}), r = pe(
|
|
355
354
|
e.value || new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1)
|
|
356
|
-
), s = pe("day"), a = pe(), o = dt(t, "modelValue"),
|
|
355
|
+
), s = pe("day"), a = pe(), o = dt(t, "modelValue"), l = N(() => {
|
|
357
356
|
switch (s.value) {
|
|
358
357
|
case "day":
|
|
359
358
|
return r.value.toLocaleDateString("de-De", {
|
|
@@ -371,7 +370,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
371
370
|
default:
|
|
372
371
|
return "";
|
|
373
372
|
}
|
|
374
|
-
}),
|
|
373
|
+
}), c = () => {
|
|
375
374
|
switch (s.value) {
|
|
376
375
|
case "day":
|
|
377
376
|
r.value = new Date(
|
|
@@ -405,7 +404,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
405
404
|
r.value.setFullYear(r.value.getFullYear() + 12)
|
|
406
405
|
);
|
|
407
406
|
}
|
|
408
|
-
}, d =
|
|
407
|
+
}, d = N(() => {
|
|
409
408
|
switch (s.value) {
|
|
410
409
|
case "day":
|
|
411
410
|
return "Vorheriger Monat";
|
|
@@ -416,7 +415,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
416
415
|
default:
|
|
417
416
|
return "";
|
|
418
417
|
}
|
|
419
|
-
}), f =
|
|
418
|
+
}), f = N(() => {
|
|
420
419
|
switch (s.value) {
|
|
421
420
|
case "day":
|
|
422
421
|
return "Nächster Monat";
|
|
@@ -427,7 +426,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
427
426
|
default:
|
|
428
427
|
return "";
|
|
429
428
|
}
|
|
430
|
-
}), m =
|
|
429
|
+
}), m = N(() => {
|
|
431
430
|
if (i.value)
|
|
432
431
|
switch (s.value) {
|
|
433
432
|
case "day":
|
|
@@ -435,12 +434,12 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
435
434
|
case "month":
|
|
436
435
|
return r.value.getFullYear() <= i.value.getFullYear();
|
|
437
436
|
case "year":
|
|
438
|
-
return r.value.getFullYear() - r.value.getFullYear() %
|
|
437
|
+
return r.value.getFullYear() - r.value.getFullYear() % Mn <= i.value.getFullYear();
|
|
439
438
|
default:
|
|
440
439
|
return !1;
|
|
441
440
|
}
|
|
442
441
|
return !1;
|
|
443
|
-
}), h =
|
|
442
|
+
}), h = N(() => {
|
|
444
443
|
if (n.value)
|
|
445
444
|
switch (s.value) {
|
|
446
445
|
case "day":
|
|
@@ -448,7 +447,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
448
447
|
case "month":
|
|
449
448
|
return r.value.getFullYear() >= n.value.getFullYear();
|
|
450
449
|
case "year":
|
|
451
|
-
return r.value.getFullYear() - r.value.getFullYear() %
|
|
450
|
+
return r.value.getFullYear() - r.value.getFullYear() % Mn + 10 >= n.value.getFullYear();
|
|
452
451
|
default:
|
|
453
452
|
return !1;
|
|
454
453
|
}
|
|
@@ -480,13 +479,13 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
480
479
|
break;
|
|
481
480
|
}
|
|
482
481
|
}, _ = (C) => {
|
|
483
|
-
a.value = "view-detail", r.value = new Date(C.getFullYear(), C.getMonth()),
|
|
482
|
+
a.value = "view-detail", r.value = new Date(C.getFullYear(), C.getMonth()), L();
|
|
484
483
|
}, P = () => {
|
|
485
484
|
a.value = "view-broad", s.value === "day" ? s.value = "month" : s.value === "month" && (s.value = "year");
|
|
486
|
-
},
|
|
485
|
+
}, L = () => {
|
|
487
486
|
s.value === "year" ? s.value = "month" : s.value === "month" && (s.value = "day");
|
|
488
487
|
};
|
|
489
|
-
return
|
|
488
|
+
return en(mi, {
|
|
490
489
|
viewDate: r,
|
|
491
490
|
minDate: i,
|
|
492
491
|
maxDate: n,
|
|
@@ -498,7 +497,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
498
497
|
b("div", Qs, [
|
|
499
498
|
b("div", ea, [
|
|
500
499
|
ie(X(Je), {
|
|
501
|
-
onClick:
|
|
500
|
+
onClick: c,
|
|
502
501
|
"aria-label": d.value,
|
|
503
502
|
disabled: m.value,
|
|
504
503
|
variant: "ghost",
|
|
@@ -510,7 +509,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
510
509
|
onClick: E[0] || (E[0] = (O) => C.disableViewChange ? null : P())
|
|
511
510
|
}, {
|
|
512
511
|
default: ne(() => [
|
|
513
|
-
b("h3", null, Y(
|
|
512
|
+
b("h3", null, Y(l.value), 1)
|
|
514
513
|
]),
|
|
515
514
|
_: 1
|
|
516
515
|
}),
|
|
@@ -579,7 +578,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
579
578
|
type: { default: "info" }
|
|
580
579
|
},
|
|
581
580
|
setup(t) {
|
|
582
|
-
const e =
|
|
581
|
+
const e = N(() => {
|
|
583
582
|
switch (t.type) {
|
|
584
583
|
case "error":
|
|
585
584
|
case "warning":
|
|
@@ -589,7 +588,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
589
588
|
default:
|
|
590
589
|
return "information";
|
|
591
590
|
}
|
|
592
|
-
}), i =
|
|
591
|
+
}), i = N(() => {
|
|
593
592
|
switch (t.type) {
|
|
594
593
|
case "error":
|
|
595
594
|
return "m-callout--error";
|
|
@@ -600,7 +599,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
600
599
|
default:
|
|
601
600
|
return "m-callout--default";
|
|
602
601
|
}
|
|
603
|
-
}), n =
|
|
602
|
+
}), n = N(() => {
|
|
604
603
|
switch (t.type) {
|
|
605
604
|
case "success":
|
|
606
605
|
return "Erfolgreich";
|
|
@@ -641,7 +640,7 @@ const ws = ["href"], Ie = /* @__PURE__ */ W({
|
|
|
641
640
|
function va(t, e) {
|
|
642
641
|
return S(), T("div", fa);
|
|
643
642
|
}
|
|
644
|
-
const
|
|
643
|
+
const tn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11f"]]), ma = { class: "card-content" }, pa = { class: "card-header" }, ga = {
|
|
645
644
|
key: 0,
|
|
646
645
|
class: "card-tagline"
|
|
647
646
|
}, _a = /* @__PURE__ */ W({
|
|
@@ -667,7 +666,7 @@ const nn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
667
666
|
])
|
|
668
667
|
])
|
|
669
668
|
]),
|
|
670
|
-
ie(X(
|
|
669
|
+
ie(X(tn)),
|
|
671
670
|
q(n.$slots, "content", {}, void 0, !0)
|
|
672
671
|
])
|
|
673
672
|
]));
|
|
@@ -685,51 +684,51 @@ const nn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
685
684
|
}, wa = { class: "m-comment__info" }, Ia = { class: "m-comment__author" }, Ma = { key: 0 }, Ta = { class: "m-comment__author" }, Oa = { class: "m-comment__date" }, Da = ["aria-label"], ka = {
|
|
686
685
|
key: 0,
|
|
687
686
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
688
|
-
}, La = { class: "m-star-rating__numeric" }, Na = { class: "m-comment__body" }, Pa = { class: "m-comment__headline" },
|
|
687
|
+
}, La = { class: "m-star-rating__numeric" }, Na = { class: "m-comment__body" }, Pa = { class: "m-comment__headline" }, Fa = { class: "m-comment__text" }, xa = "de-DE", $a = 0.2, Ra = 0.8, ei = 5, vr = /* @__PURE__ */ W({
|
|
689
688
|
__name: "MucComment",
|
|
690
689
|
props: {
|
|
691
690
|
rating: {},
|
|
692
691
|
variant: { default: "listing" }
|
|
693
692
|
},
|
|
694
693
|
setup(t) {
|
|
695
|
-
const e =
|
|
694
|
+
const e = lr(), i = N(() => !!e.date), n = N(() => !!e.initials), r = N(() => t.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), s = N(() => Math.min(Math.max(t.rating, 0), ei)), a = N(() => s.value.toLocaleString(xa.valueOf(), {
|
|
696
695
|
minimumFractionDigits: 1
|
|
697
|
-
})), o =
|
|
698
|
-
const
|
|
699
|
-
let
|
|
700
|
-
return
|
|
701
|
-
fullStars:
|
|
696
|
+
})), o = N(() => {
|
|
697
|
+
const l = +(s.value % 1).toFixed(1);
|
|
698
|
+
let c = Math.min(Math.floor(s.value), ei), u = Math.floor(ei - s.value), d = !1;
|
|
699
|
+
return l !== 0 && (l <= $a ? u++ : l >= Ra ? c++ : d = !0), {
|
|
700
|
+
fullStars: c,
|
|
702
701
|
emptyStars: u,
|
|
703
702
|
isHalfStar: d
|
|
704
703
|
};
|
|
705
704
|
});
|
|
706
|
-
return (
|
|
705
|
+
return (l, c) => (S(), T("div", {
|
|
707
706
|
class: le(["m-comment", r.value])
|
|
708
707
|
}, [
|
|
709
708
|
b("div", Ca, [
|
|
710
709
|
n.value ? (S(), T("div", Aa, [
|
|
711
|
-
q(
|
|
710
|
+
q(l.$slots, "initials")
|
|
712
711
|
])) : U("", !0),
|
|
713
712
|
b("div", wa, [
|
|
714
713
|
b("span", Ia, [
|
|
715
|
-
q(
|
|
714
|
+
q(l.$slots, "author")
|
|
716
715
|
]),
|
|
717
716
|
i.value ? (S(), T("span", Ma, [
|
|
718
717
|
b("span", Ta, [
|
|
719
|
-
|
|
720
|
-
q(
|
|
718
|
+
c[0] || (c[0] = fe(" ")),
|
|
719
|
+
q(l.$slots, "datePrefix")
|
|
721
720
|
]),
|
|
722
721
|
b("span", Oa, [
|
|
723
|
-
|
|
724
|
-
q(
|
|
722
|
+
c[1] || (c[1] = fe(" ")),
|
|
723
|
+
q(l.$slots, "date")
|
|
725
724
|
])
|
|
726
725
|
])) : U("", !0),
|
|
727
726
|
b("div", {
|
|
728
727
|
class: "m-star-rating",
|
|
729
728
|
role: "img",
|
|
730
|
-
"aria-label": `Bewertung: ${
|
|
729
|
+
"aria-label": `Bewertung: ${l.rating} von ${ei} Sternen`
|
|
731
730
|
}, [
|
|
732
|
-
(S(!0), T(De, null,
|
|
731
|
+
(S(!0), T(De, null, Fe(o.value.fullStars, (u) => (S(), T("div", {
|
|
733
732
|
key: u,
|
|
734
733
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
735
734
|
}, [
|
|
@@ -738,7 +737,7 @@ const nn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
738
737
|
o.value.isHalfStar ? (S(), T("div", ka, [
|
|
739
738
|
ie(X(Ie), { icon: "half-star" })
|
|
740
739
|
])) : U("", !0),
|
|
741
|
-
(S(!0), T(De, null,
|
|
740
|
+
(S(!0), T(De, null, Fe(o.value.emptyStars, (u) => (S(), T("div", {
|
|
742
741
|
key: u,
|
|
743
742
|
class: "m-star-rating__item"
|
|
744
743
|
}, [
|
|
@@ -750,10 +749,10 @@ const nn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
750
749
|
]),
|
|
751
750
|
b("div", Na, [
|
|
752
751
|
b("div", Pa, [
|
|
753
|
-
q(
|
|
752
|
+
q(l.$slots, "headline")
|
|
754
753
|
]),
|
|
755
|
-
b("div",
|
|
756
|
-
q(
|
|
754
|
+
b("div", Fa, [
|
|
755
|
+
q(l.$slots, "text")
|
|
757
756
|
])
|
|
758
757
|
])
|
|
759
758
|
], 2));
|
|
@@ -771,7 +770,7 @@ const nn = /* @__PURE__ */ ue(ha, [["render", va], ["__scopeId", "data-v-a337b11
|
|
|
771
770
|
variant: { default: "listing" }
|
|
772
771
|
},
|
|
773
772
|
setup(t) {
|
|
774
|
-
const e =
|
|
773
|
+
const e = N(() => ((t.initials ?? t.author.split(Va).map((i) => i.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
775
774
|
return (i, n) => (S(), ce(X(vr), {
|
|
776
775
|
rating: i.rating,
|
|
777
776
|
variant: i.variant
|
|
@@ -844,9 +843,9 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
844
843
|
},
|
|
845
844
|
emits: ["files", "warning"],
|
|
846
845
|
setup(t, { expose: e, emit: i }) {
|
|
847
|
-
const n = i, r = pe(!0), s = pe(!0), a = pe(!0), o = pe(!1),
|
|
846
|
+
const n = i, r = pe(!0), s = pe(!0), a = pe(!0), o = pe(!1), l = document.createElement("input");
|
|
848
847
|
vi(() => {
|
|
849
|
-
|
|
848
|
+
l.type = "file", l.multiple = t.multiple, l.onchange = (p) => {
|
|
850
849
|
const g = p.target;
|
|
851
850
|
if (g != null && g.files && g.files.length > 0) {
|
|
852
851
|
const _ = Array.from(g.files);
|
|
@@ -854,14 +853,14 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
854
853
|
}
|
|
855
854
|
};
|
|
856
855
|
}), ur(() => {
|
|
857
|
-
|
|
856
|
+
l.multiple = t.multiple;
|
|
858
857
|
});
|
|
859
|
-
const
|
|
860
|
-
t.disabled ||
|
|
858
|
+
const c = () => {
|
|
859
|
+
t.disabled || l.click();
|
|
861
860
|
}, u = (p) => {
|
|
862
861
|
var g;
|
|
863
862
|
if (!t.disabled) {
|
|
864
|
-
if (!(
|
|
863
|
+
if (!(l != null && l.multiple)) {
|
|
865
864
|
const _ = p.dataTransfer;
|
|
866
865
|
if (((g = _ == null ? void 0 : _.items) == null ? void 0 : g.length) > 1) {
|
|
867
866
|
a.value = !1;
|
|
@@ -904,7 +903,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
904
903
|
onDragover: Lt(u, ["prevent"]),
|
|
905
904
|
onDragleave: Lt(d, ["prevent"]),
|
|
906
905
|
onDrop: Lt(f, ["prevent"]),
|
|
907
|
-
onClick:
|
|
906
|
+
onClick: c
|
|
908
907
|
}, [
|
|
909
908
|
ie(Wa),
|
|
910
909
|
ie(X(Je), {
|
|
@@ -941,14 +940,14 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
941
940
|
}
|
|
942
941
|
}), qa = /* @__PURE__ */ ue(za, [["__scopeId", "data-v-a2e8c385"]]), Xa = ["id", "checked"], Ja = ["for"], Za = /* @__PURE__ */ W({
|
|
943
942
|
__name: "MucCheckbox",
|
|
944
|
-
props: /* @__PURE__ */
|
|
943
|
+
props: /* @__PURE__ */ xe({
|
|
945
944
|
id: {},
|
|
946
945
|
label: {}
|
|
947
946
|
}, {
|
|
948
947
|
modelValue: { type: Boolean, default: !1 },
|
|
949
948
|
modelModifiers: {}
|
|
950
949
|
}),
|
|
951
|
-
emits: /* @__PURE__ */
|
|
950
|
+
emits: /* @__PURE__ */ xe(["click"], ["update:modelValue"]),
|
|
952
951
|
setup(t, { emit: e }) {
|
|
953
952
|
const i = dt(t, "modelValue"), n = e, r = () => {
|
|
954
953
|
i.value = !i.value, n("click");
|
|
@@ -980,7 +979,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
980
979
|
heading: {}
|
|
981
980
|
},
|
|
982
981
|
setup(t) {
|
|
983
|
-
const e = pe(!0), i =
|
|
982
|
+
const e = pe(!0), i = N(() => e.value ? "collapse" : ""), n = N(() => e.value ? "down" : "up"), r = () => e.value = !e.value;
|
|
984
983
|
return (s, a) => (S(), T("div", Qa, [
|
|
985
984
|
b("fieldset", eo, [
|
|
986
985
|
b("legend", to, [
|
|
@@ -1024,7 +1023,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1024
1023
|
noUnderline: { type: Boolean, default: !1 }
|
|
1025
1024
|
},
|
|
1026
1025
|
setup(t) {
|
|
1027
|
-
const e =
|
|
1026
|
+
const e = N(
|
|
1028
1027
|
() => t.noUnderline ? "m-link--reversed-underline" : ""
|
|
1029
1028
|
);
|
|
1030
1029
|
return (i, n) => (S(), T("a", {
|
|
@@ -1047,7 +1046,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1047
1046
|
style: { color: "var(--color-brand-main-blue)" }
|
|
1048
1047
|
}, vo = { class: "visually-hidden" }, mo = { class: "content-centered" }, po = { class: "grid-item content-centered-justify-left" }, go = { key: 0 }, _o = { key: 1 }, yo = /* @__PURE__ */ W({
|
|
1049
1048
|
__name: "MucCounter",
|
|
1050
|
-
props: /* @__PURE__ */
|
|
1049
|
+
props: /* @__PURE__ */ xe({
|
|
1051
1050
|
label: {},
|
|
1052
1051
|
min: {},
|
|
1053
1052
|
max: {},
|
|
@@ -1071,9 +1070,9 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1071
1070
|
t.max && e.value > t.max && (e.value = t.max);
|
|
1072
1071
|
}
|
|
1073
1072
|
);
|
|
1074
|
-
const i = () => e.value++, n = () => e.value--, r =
|
|
1073
|
+
const i = () => e.value++, n = () => e.value--, r = N(
|
|
1075
1074
|
() => !!t.max && !(e.value < t.max) || t.disabled
|
|
1076
|
-
), s =
|
|
1075
|
+
), s = N(
|
|
1077
1076
|
() => e.value == 0 || !!t.min && !(e.value > t.min) || t.disabled
|
|
1078
1077
|
);
|
|
1079
1078
|
return (a, o) => (S(), T("div", lo, [
|
|
@@ -1137,14 +1136,14 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1137
1136
|
errors: {}
|
|
1138
1137
|
},
|
|
1139
1138
|
setup(t) {
|
|
1140
|
-
const e =
|
|
1139
|
+
const e = N(
|
|
1141
1140
|
() => typeof t.errors == "string" ? [t.errors] : t.errors
|
|
1142
1141
|
);
|
|
1143
1142
|
return (i, n) => (S(), T("div", Eo, [
|
|
1144
1143
|
b("h2", So, Y(i.title), 1),
|
|
1145
1144
|
b("div", Co, [
|
|
1146
1145
|
b("ul", Ao, [
|
|
1147
|
-
(S(!0), T(De, null,
|
|
1146
|
+
(S(!0), T(De, null, Fe(e.value, (r, s) => (S(), T("li", { key: s }, [
|
|
1148
1147
|
b("a", null, Y(r), 1)
|
|
1149
1148
|
]))), 128))
|
|
1150
1149
|
])
|
|
@@ -1160,9 +1159,9 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1160
1159
|
}, No = ["onClick"], Po = {
|
|
1161
1160
|
"aria-hidden": "true",
|
|
1162
1161
|
class: "icon"
|
|
1163
|
-
},
|
|
1162
|
+
}, Fo = ["xlink:href"], xo = /* @__PURE__ */ W({
|
|
1164
1163
|
__name: "MucInput",
|
|
1165
|
-
props: /* @__PURE__ */
|
|
1164
|
+
props: /* @__PURE__ */ xe({
|
|
1166
1165
|
id: {},
|
|
1167
1166
|
errorMsg: {},
|
|
1168
1167
|
placeholder: {},
|
|
@@ -1177,67 +1176,67 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1177
1176
|
modelValue: { default: "" },
|
|
1178
1177
|
modelModifiers: {}
|
|
1179
1178
|
}),
|
|
1180
|
-
emits: /* @__PURE__ */
|
|
1179
|
+
emits: /* @__PURE__ */ xe(["suffixClick"], ["update:modelValue"]),
|
|
1181
1180
|
setup(t, { emit: e }) {
|
|
1182
|
-
const i = dt(t, "modelValue"), n =
|
|
1181
|
+
const i = dt(t, "modelValue"), n = lr(), r = e, s = N(() => t.type === "search"), a = N(() => {
|
|
1183
1182
|
if (i.value === "") return [];
|
|
1184
|
-
const
|
|
1183
|
+
const c = i.value.toLowerCase();
|
|
1185
1184
|
return t.dataList.filter(
|
|
1186
|
-
(u) => u.toLowerCase().startsWith(
|
|
1185
|
+
(u) => u.toLowerCase().startsWith(c) && u.toLowerCase() !== c
|
|
1187
1186
|
);
|
|
1188
|
-
}), o = (
|
|
1189
|
-
return (
|
|
1190
|
-
class: le(["m-form-group", { "has-error":
|
|
1187
|
+
}), o = (c) => i.value = c, l = () => r("suffixClick");
|
|
1188
|
+
return (c, u) => (S(), T("div", {
|
|
1189
|
+
class: le(["m-form-group", { "has-error": c.errorMsg }])
|
|
1191
1190
|
}, [
|
|
1192
|
-
|
|
1191
|
+
c.label ? (S(), T("label", {
|
|
1193
1192
|
key: 0,
|
|
1194
|
-
for: "input-" +
|
|
1195
|
-
class: le(["m-label", { "m-label--optional": !
|
|
1196
|
-
}, Y(
|
|
1197
|
-
|
|
1193
|
+
for: "input-" + c.id,
|
|
1194
|
+
class: le(["m-label", { "m-label--optional": !c.required }])
|
|
1195
|
+
}, Y(c.label), 11, Mo)) : U("", !0),
|
|
1196
|
+
c.hint ? (S(), T("p", {
|
|
1198
1197
|
key: 1,
|
|
1199
1198
|
class: "m-hint",
|
|
1200
|
-
id: "input-hint-" +
|
|
1201
|
-
}, Y(
|
|
1199
|
+
id: "input-hint-" + c.id
|
|
1200
|
+
}, Y(c.hint), 9, To)) : U("", !0),
|
|
1202
1201
|
b("div", Oo, [
|
|
1203
1202
|
n.prefix ? (S(), T("div", Do, [
|
|
1204
1203
|
b("span", null, [
|
|
1205
|
-
q(
|
|
1204
|
+
q(c.$slots, "prefix")
|
|
1206
1205
|
])
|
|
1207
1206
|
])) : U("", !0),
|
|
1208
1207
|
dr(b("input", {
|
|
1209
|
-
id: "input-" +
|
|
1208
|
+
id: "input-" + c.id,
|
|
1210
1209
|
class: "m-input autocomplete-input",
|
|
1211
|
-
type:
|
|
1210
|
+
type: c.type,
|
|
1212
1211
|
"onUpdate:modelValue": u[0] || (u[0] = (d) => i.value = d),
|
|
1213
|
-
"aria-describedby":
|
|
1214
|
-
placeholder:
|
|
1215
|
-
required:
|
|
1216
|
-
maxlength:
|
|
1212
|
+
"aria-describedby": c.hint ? "input-hint-" + c.id : void 0,
|
|
1213
|
+
placeholder: c.placeholder,
|
|
1214
|
+
required: c.required,
|
|
1215
|
+
maxlength: c.max
|
|
1217
1216
|
}, null, 8, ko), [
|
|
1218
1217
|
[bs, i.value]
|
|
1219
1218
|
]),
|
|
1220
1219
|
s.value && a.value.length !== 0 ? (S(), T("ul", Lo, [
|
|
1221
|
-
(S(!0), T(De, null,
|
|
1220
|
+
(S(!0), T(De, null, Fe(a.value, (d) => (S(), T("li", {
|
|
1222
1221
|
class: "autocomplete-result",
|
|
1223
1222
|
key: d,
|
|
1224
1223
|
onClick: (f) => o(d)
|
|
1225
1224
|
}, Y(d), 9, No))), 128))
|
|
1226
1225
|
])) : U("", !0),
|
|
1227
|
-
|
|
1226
|
+
c.suffixIcon ? (S(), T("button", {
|
|
1228
1227
|
key: 2,
|
|
1229
1228
|
class: "m-input__suffix",
|
|
1230
|
-
onClick:
|
|
1229
|
+
onClick: l
|
|
1231
1230
|
}, [
|
|
1232
1231
|
(S(), T("svg", Po, [
|
|
1233
1232
|
b("use", {
|
|
1234
|
-
"xlink:href": "#icon-" +
|
|
1235
|
-
}, null, 8,
|
|
1233
|
+
"xlink:href": "#icon-" + c.suffixIcon
|
|
1234
|
+
}, null, 8, Fo)
|
|
1236
1235
|
])),
|
|
1237
1236
|
u[1] || (u[1] = b("span", { class: "visually-hidden" }, "Suchen", -1))
|
|
1238
1237
|
])) : U("", !0)
|
|
1239
1238
|
]),
|
|
1240
|
-
|
|
1239
|
+
c.errorMsg ? (S(), ce(Pt, {
|
|
1241
1240
|
key: 2,
|
|
1242
1241
|
id: "text-input-error",
|
|
1243
1242
|
tabindex: "0",
|
|
@@ -1245,7 +1244,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1245
1244
|
"aria-live": "polite"
|
|
1246
1245
|
}, {
|
|
1247
1246
|
default: ne(() => [
|
|
1248
|
-
fe(Y(
|
|
1247
|
+
fe(Y(c.errorMsg), 1)
|
|
1249
1248
|
]),
|
|
1250
1249
|
_: 1
|
|
1251
1250
|
})) : U("", !0)
|
|
@@ -1264,7 +1263,7 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1264
1263
|
disabled: { type: Boolean, default: !1 }
|
|
1265
1264
|
},
|
|
1266
1265
|
setup(t) {
|
|
1267
|
-
const e = Gt(pr), i = () => e == null ? void 0 : e.set(t.value), n =
|
|
1266
|
+
const e = Gt(pr), i = () => e == null ? void 0 : e.set(t.value), n = N(() => (e == null ? void 0 : e.modelValue.value) === t.value), r = N(() => t.disabled || (e == null ? void 0 : e.disabled.value)), s = N(() => (e == null ? void 0 : e.disabled) ?? !1);
|
|
1268
1267
|
return (a, o) => s.value ? (S(), T("div", $o, [
|
|
1269
1268
|
b("input", {
|
|
1270
1269
|
id: "radio-" + a.id,
|
|
@@ -1290,17 +1289,17 @@ const Wa = /* @__PURE__ */ ue(Ka, [["render", Ga]]), Ua = { class: "drop-zone-ad
|
|
|
1290
1289
|
}
|
|
1291
1290
|
}), Yo = { class: "m-form-group" }, Ko = { class: "m-radio-group" }, jo = { class: "m-radio-group__legend" }, Go = { class: "m-radio-group__heading" }, Wo = { class: "m-radios" }, Uo = /* @__PURE__ */ W({
|
|
1292
1291
|
__name: "MucRadioButtonGroup",
|
|
1293
|
-
props: /* @__PURE__ */
|
|
1292
|
+
props: /* @__PURE__ */ xe({
|
|
1294
1293
|
heading: {},
|
|
1295
1294
|
disabled: { type: Boolean, default: !1 }
|
|
1296
1295
|
}, {
|
|
1297
1296
|
modelValue: { type: [Boolean, String, Array, Object, Number, null] },
|
|
1298
1297
|
modelModifiers: {}
|
|
1299
1298
|
}),
|
|
1300
|
-
emits: /* @__PURE__ */
|
|
1299
|
+
emits: /* @__PURE__ */ xe(["change"], ["update:modelValue"]),
|
|
1301
1300
|
setup(t, { emit: e }) {
|
|
1302
1301
|
const i = dt(t, "modelValue"), n = e;
|
|
1303
|
-
return
|
|
1302
|
+
return en(pr, {
|
|
1304
1303
|
set: (r) => {
|
|
1305
1304
|
n("change", r), i.value = r;
|
|
1306
1305
|
},
|
|
@@ -1387,7 +1386,7 @@ var se = {
|
|
|
1387
1386
|
Text: "text",
|
|
1388
1387
|
SelectOne: "select-one",
|
|
1389
1388
|
SelectMultiple: "select-multiple"
|
|
1390
|
-
},
|
|
1389
|
+
}, Tn = function(t) {
|
|
1391
1390
|
return {
|
|
1392
1391
|
type: se.ADD_CHOICE,
|
|
1393
1392
|
choice: t
|
|
@@ -1412,12 +1411,12 @@ var se = {
|
|
|
1412
1411
|
type: se.ADD_GROUP,
|
|
1413
1412
|
group: t
|
|
1414
1413
|
};
|
|
1415
|
-
},
|
|
1414
|
+
}, On = function(t) {
|
|
1416
1415
|
return {
|
|
1417
1416
|
type: se.ADD_ITEM,
|
|
1418
1417
|
item: t
|
|
1419
1418
|
};
|
|
1420
|
-
},
|
|
1419
|
+
}, Dn = function(t) {
|
|
1421
1420
|
return {
|
|
1422
1421
|
type: se.REMOVE_ITEM,
|
|
1423
1422
|
item: t
|
|
@@ -1430,12 +1429,12 @@ var se = {
|
|
|
1430
1429
|
};
|
|
1431
1430
|
}, el = function(t, e) {
|
|
1432
1431
|
return Math.floor(Math.random() * (e - t) + t);
|
|
1433
|
-
},
|
|
1432
|
+
}, kn = function(t) {
|
|
1434
1433
|
return Array.from({ length: t }, function() {
|
|
1435
1434
|
return el(0, 36).toString(36);
|
|
1436
1435
|
}).join("");
|
|
1437
1436
|
}, tl = function(t, e) {
|
|
1438
|
-
var i = t.id || t.name && "".concat(t.name, "-").concat(
|
|
1437
|
+
var i = t.id || t.name && "".concat(t.name, "-").concat(kn(2)) || kn(4);
|
|
1439
1438
|
return i = i.replace(/(:|\.|\[|\]|,)/g, ""), i = "".concat(e, "-").concat(i), i;
|
|
1440
1439
|
}, il = function(t, e, i) {
|
|
1441
1440
|
i === void 0 && (i = 1);
|
|
@@ -1470,9 +1469,9 @@ var se = {
|
|
|
1470
1469
|
t.removeChild(t.firstChild);
|
|
1471
1470
|
return i;
|
|
1472
1471
|
};
|
|
1473
|
-
}(),
|
|
1472
|
+
}(), Ft = function(t, e) {
|
|
1474
1473
|
return typeof t == "function" ? t(pi(e), e) : t;
|
|
1475
|
-
},
|
|
1474
|
+
}, Ln = function(t) {
|
|
1476
1475
|
return typeof t == "function" ? t() : t;
|
|
1477
1476
|
}, ot = function(t) {
|
|
1478
1477
|
if (typeof t == "string")
|
|
@@ -1494,10 +1493,10 @@ var se = {
|
|
|
1494
1493
|
return t.trusted;
|
|
1495
1494
|
}
|
|
1496
1495
|
return "";
|
|
1497
|
-
},
|
|
1496
|
+
}, nn = function(t, e) {
|
|
1498
1497
|
return t ? _r(e) : pi(e);
|
|
1499
1498
|
}, Be = function(t, e, i) {
|
|
1500
|
-
t.innerHTML =
|
|
1499
|
+
t.innerHTML = nn(e, i);
|
|
1501
1500
|
}, sl = function(t, e) {
|
|
1502
1501
|
var i = t.value, n = t.label, r = n === void 0 ? i : n, s = e.value, a = e.label, o = a === void 0 ? s : a;
|
|
1503
1502
|
return ot(r).localeCompare(ot(o), [], {
|
|
@@ -1556,7 +1555,7 @@ var se = {
|
|
|
1556
1555
|
return Ne(this.element, this.classNames.activeState), this.element.setAttribute("aria-expanded", "false"), this.isActive = !1, this;
|
|
1557
1556
|
}, t;
|
|
1558
1557
|
}()
|
|
1559
|
-
),
|
|
1558
|
+
), Nn = (
|
|
1560
1559
|
/** @class */
|
|
1561
1560
|
function() {
|
|
1562
1561
|
function t(e) {
|
|
@@ -1657,7 +1656,7 @@ var se = {
|
|
|
1657
1656
|
this.isFocussed = !1;
|
|
1658
1657
|
}, t;
|
|
1659
1658
|
}()
|
|
1660
|
-
), fl = 4,
|
|
1659
|
+
), fl = 4, Pn = (
|
|
1661
1660
|
/** @class */
|
|
1662
1661
|
function() {
|
|
1663
1662
|
function t(e) {
|
|
@@ -1672,9 +1671,9 @@ var se = {
|
|
|
1672
1671
|
}, t.prototype.scrollToChildElement = function(e, i) {
|
|
1673
1672
|
var n = this;
|
|
1674
1673
|
if (e) {
|
|
1675
|
-
var r = this.element.offsetHeight, s = this.element.scrollTop + r, a = e.offsetHeight, o = e.offsetTop + a,
|
|
1674
|
+
var r = this.element.offsetHeight, s = this.element.scrollTop + r, a = e.offsetHeight, o = e.offsetTop + a, l = i > 0 ? this.element.scrollTop + o - s : e.offsetTop;
|
|
1676
1675
|
requestAnimationFrame(function() {
|
|
1677
|
-
n._animateScroll(
|
|
1676
|
+
n._animateScroll(l, i);
|
|
1678
1677
|
});
|
|
1679
1678
|
}
|
|
1680
1679
|
}, t.prototype._scrollDown = function(e, i, n) {
|
|
@@ -1765,17 +1764,17 @@ var se = {
|
|
|
1765
1764
|
if ("choices" in a) {
|
|
1766
1765
|
if (!e)
|
|
1767
1766
|
throw new TypeError("optGroup is not allowed");
|
|
1768
|
-
var o = a,
|
|
1767
|
+
var o = a, l = o.choices.map(function(f) {
|
|
1769
1768
|
return Le(f, !1);
|
|
1770
|
-
}),
|
|
1769
|
+
}), c = {
|
|
1771
1770
|
id: 0,
|
|
1772
1771
|
// actual ID will be assigned during _addGroup
|
|
1773
1772
|
label: ot(o.label) || o.value,
|
|
1774
|
-
active: !!
|
|
1773
|
+
active: !!l.length,
|
|
1775
1774
|
disabled: !!o.disabled,
|
|
1776
|
-
choices:
|
|
1775
|
+
choices: l
|
|
1777
1776
|
};
|
|
1778
|
-
return
|
|
1777
|
+
return c;
|
|
1779
1778
|
}
|
|
1780
1779
|
var u = a, d = {
|
|
1781
1780
|
id: 0,
|
|
@@ -1967,7 +1966,7 @@ var se = {
|
|
|
1967
1966
|
callbackOnCreateTemplates: null,
|
|
1968
1967
|
classNames: yl,
|
|
1969
1968
|
appendGroupInSearch: !1
|
|
1970
|
-
},
|
|
1969
|
+
}, xn = function(t) {
|
|
1971
1970
|
var e = t.itemEl;
|
|
1972
1971
|
e && (e.remove(), t.itemEl = void 0);
|
|
1973
1972
|
};
|
|
@@ -1988,22 +1987,22 @@ function bl(t, e, i) {
|
|
|
1988
1987
|
var a = s.parentElement;
|
|
1989
1988
|
a && Er(a) && a.type === qe.SelectOne && (a.value = "");
|
|
1990
1989
|
}
|
|
1991
|
-
|
|
1990
|
+
xn(e.item), n = n.filter(function(u) {
|
|
1992
1991
|
return u.id !== e.item.id;
|
|
1993
1992
|
});
|
|
1994
1993
|
break;
|
|
1995
1994
|
}
|
|
1996
1995
|
case se.REMOVE_CHOICE: {
|
|
1997
|
-
|
|
1998
|
-
return
|
|
1996
|
+
xn(e.choice), n = n.filter(function(c) {
|
|
1997
|
+
return c.id !== e.choice.id;
|
|
1999
1998
|
});
|
|
2000
1999
|
break;
|
|
2001
2000
|
}
|
|
2002
2001
|
case se.HIGHLIGHT_ITEM: {
|
|
2003
|
-
var o = e.highlighted,
|
|
2004
|
-
return
|
|
2002
|
+
var o = e.highlighted, l = n.find(function(c) {
|
|
2003
|
+
return c.id === e.item.id;
|
|
2005
2004
|
});
|
|
2006
|
-
|
|
2005
|
+
l && l.highlighted !== o && (l.highlighted = o, i && ul(l, o ? i.classNames.highlightedState : i.classNames.selectedState, o ? i.classNames.selectedState : i.classNames.highlightedState));
|
|
2007
2006
|
break;
|
|
2008
2007
|
}
|
|
2009
2008
|
default: {
|
|
@@ -2078,7 +2077,7 @@ function Sl(t, e, i) {
|
|
|
2078
2077
|
}
|
|
2079
2078
|
return { state: n, update: r };
|
|
2080
2079
|
}
|
|
2081
|
-
var
|
|
2080
|
+
var $n = {
|
|
2082
2081
|
groups: El,
|
|
2083
2082
|
items: bl,
|
|
2084
2083
|
choices: Sl
|
|
@@ -2115,8 +2114,8 @@ var Rn = {
|
|
|
2115
2114
|
return this._listeners.push(e), this;
|
|
2116
2115
|
}, t.prototype.dispatch = function(e) {
|
|
2117
2116
|
var i = this, n = this._state, r = !1, s = this._changeSet || this.changeSet(!1);
|
|
2118
|
-
Object.keys(
|
|
2119
|
-
var o =
|
|
2117
|
+
Object.keys($n).forEach(function(a) {
|
|
2118
|
+
var o = $n[a](n[a], e, i._context);
|
|
2120
2119
|
o.update && (r = !0, s[a] = !0, n[a] = o.state);
|
|
2121
2120
|
}), r && (this._txn ? this._changeSet = s : this._listeners.forEach(function(a) {
|
|
2122
2121
|
return a(s);
|
|
@@ -2243,7 +2242,7 @@ function Al(t, e, i) {
|
|
|
2243
2242
|
writable: !0
|
|
2244
2243
|
}) : t[e] = i, t;
|
|
2245
2244
|
}
|
|
2246
|
-
function
|
|
2245
|
+
function Rn(t, e) {
|
|
2247
2246
|
var i = Object.keys(t);
|
|
2248
2247
|
if (Object.getOwnPropertySymbols) {
|
|
2249
2248
|
var n = Object.getOwnPropertySymbols(t);
|
|
@@ -2256,9 +2255,9 @@ function Vn(t, e) {
|
|
|
2256
2255
|
function mt(t) {
|
|
2257
2256
|
for (var e = 1; e < arguments.length; e++) {
|
|
2258
2257
|
var i = arguments[e] != null ? arguments[e] : {};
|
|
2259
|
-
e % 2 ?
|
|
2258
|
+
e % 2 ? Rn(Object(i), !0).forEach(function(n) {
|
|
2260
2259
|
Al(t, n, i[n]);
|
|
2261
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) :
|
|
2260
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(i)) : Rn(Object(i)).forEach(function(n) {
|
|
2262
2261
|
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(i, n));
|
|
2263
2262
|
});
|
|
2264
2263
|
}
|
|
@@ -2314,8 +2313,8 @@ function Di(t) {
|
|
|
2314
2313
|
function Ar(t) {
|
|
2315
2314
|
return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
|
|
2316
2315
|
}
|
|
2317
|
-
const kl = "Incorrect 'index' type", Ll = (t) => `Invalid value for key ${t}`, Nl = (t) => `Pattern length exceeds max of ${t}.`, Pl = (t) => `Missing ${t} property in key`,
|
|
2318
|
-
class
|
|
2316
|
+
const kl = "Incorrect 'index' type", Ll = (t) => `Invalid value for key ${t}`, Nl = (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;
|
|
2317
|
+
class xl {
|
|
2319
2318
|
constructor(e) {
|
|
2320
2319
|
this._keys = [], this._keyMap = {};
|
|
2321
2320
|
let i = 0;
|
|
@@ -2339,14 +2338,14 @@ class Fl {
|
|
|
2339
2338
|
function wr(t) {
|
|
2340
2339
|
let e = null, i = null, n = null, r = 1, s = null;
|
|
2341
2340
|
if (Pe(t) || Ge(t))
|
|
2342
|
-
n = t, e =
|
|
2341
|
+
n = t, e = Bn(t), i = Hi(t);
|
|
2343
2342
|
else {
|
|
2344
|
-
if (!
|
|
2343
|
+
if (!Vn.call(t, "name"))
|
|
2345
2344
|
throw new Error(Pl("name"));
|
|
2346
2345
|
const a = t.name;
|
|
2347
|
-
if (n = a,
|
|
2348
|
-
throw new Error(
|
|
2349
|
-
e =
|
|
2346
|
+
if (n = a, Vn.call(t, "weight") && (r = t.weight, r <= 0))
|
|
2347
|
+
throw new Error(Fl(a));
|
|
2348
|
+
e = Bn(a), i = Hi(a), s = t.getFn;
|
|
2350
2349
|
}
|
|
2351
2350
|
return {
|
|
2352
2351
|
path: e,
|
|
@@ -2356,7 +2355,7 @@ function wr(t) {
|
|
|
2356
2355
|
getFn: s
|
|
2357
2356
|
};
|
|
2358
2357
|
}
|
|
2359
|
-
function
|
|
2358
|
+
function Bn(t) {
|
|
2360
2359
|
return Ge(t) ? t : t.split(".");
|
|
2361
2360
|
}
|
|
2362
2361
|
function Hi(t) {
|
|
@@ -2369,17 +2368,17 @@ function $l(t, e) {
|
|
|
2369
2368
|
if (!a[o])
|
|
2370
2369
|
i.push(s);
|
|
2371
2370
|
else {
|
|
2372
|
-
let
|
|
2373
|
-
const
|
|
2374
|
-
if (!Ce(
|
|
2371
|
+
let l = a[o];
|
|
2372
|
+
const c = s[l];
|
|
2373
|
+
if (!Ce(c))
|
|
2375
2374
|
return;
|
|
2376
|
-
if (o === a.length - 1 && (Pe(
|
|
2377
|
-
i.push(Tl(
|
|
2378
|
-
else if (Ge(
|
|
2375
|
+
if (o === a.length - 1 && (Pe(c) || Sr(c) || Ol(c)))
|
|
2376
|
+
i.push(Tl(c));
|
|
2377
|
+
else if (Ge(c)) {
|
|
2379
2378
|
n = !0;
|
|
2380
|
-
for (let u = 0, d =
|
|
2381
|
-
r(
|
|
2382
|
-
} else a.length && r(
|
|
2379
|
+
for (let u = 0, d = c.length; u < d; u += 1)
|
|
2380
|
+
r(c[u], a, o + 1);
|
|
2381
|
+
} else a.length && r(c, a, o + 1);
|
|
2383
2382
|
}
|
|
2384
2383
|
};
|
|
2385
2384
|
return r(t, Pe(e) ? e.split(".") : e, 0), n ? i : i[0];
|
|
@@ -2452,7 +2451,7 @@ function Kl(t = 1, e = 3) {
|
|
|
2452
2451
|
}
|
|
2453
2452
|
};
|
|
2454
2453
|
}
|
|
2455
|
-
class
|
|
2454
|
+
class rn {
|
|
2456
2455
|
constructor({
|
|
2457
2456
|
getFn: e = B.getFn,
|
|
2458
2457
|
fieldNormWeight: i = B.fieldNormWeight
|
|
@@ -2514,25 +2513,25 @@ class sn {
|
|
|
2514
2513
|
if (Ce(a)) {
|
|
2515
2514
|
if (Ge(a)) {
|
|
2516
2515
|
let o = [];
|
|
2517
|
-
const
|
|
2516
|
+
const l = [{
|
|
2518
2517
|
nestedArrIndex: -1,
|
|
2519
2518
|
value: a
|
|
2520
2519
|
}];
|
|
2521
|
-
for (;
|
|
2520
|
+
for (; l.length; ) {
|
|
2522
2521
|
const {
|
|
2523
|
-
nestedArrIndex:
|
|
2522
|
+
nestedArrIndex: c,
|
|
2524
2523
|
value: u
|
|
2525
|
-
} =
|
|
2524
|
+
} = l.pop();
|
|
2526
2525
|
if (Ce(u))
|
|
2527
2526
|
if (Pe(u) && !Di(u)) {
|
|
2528
2527
|
let d = {
|
|
2529
2528
|
v: u,
|
|
2530
|
-
i:
|
|
2529
|
+
i: c,
|
|
2531
2530
|
n: this.norm.get(u)
|
|
2532
2531
|
};
|
|
2533
2532
|
o.push(d);
|
|
2534
2533
|
} else Ge(u) && u.forEach((d, f) => {
|
|
2535
|
-
|
|
2534
|
+
l.push({
|
|
2536
2535
|
nestedArrIndex: f,
|
|
2537
2536
|
value: d
|
|
2538
2537
|
});
|
|
@@ -2560,7 +2559,7 @@ function Ir(t, e, {
|
|
|
2560
2559
|
getFn: i = B.getFn,
|
|
2561
2560
|
fieldNormWeight: n = B.fieldNormWeight
|
|
2562
2561
|
} = {}) {
|
|
2563
|
-
const r = new
|
|
2562
|
+
const r = new rn({
|
|
2564
2563
|
getFn: i,
|
|
2565
2564
|
fieldNormWeight: n
|
|
2566
2565
|
});
|
|
@@ -2573,7 +2572,7 @@ function jl(t, {
|
|
|
2573
2572
|
const {
|
|
2574
2573
|
keys: n,
|
|
2575
2574
|
records: r
|
|
2576
|
-
} = t, s = new
|
|
2575
|
+
} = t, s = new rn({
|
|
2577
2576
|
getFn: e,
|
|
2578
2577
|
fieldNormWeight: i
|
|
2579
2578
|
});
|
|
@@ -2607,21 +2606,21 @@ function Wl(t, e, i, {
|
|
|
2607
2606
|
threshold: s = B.threshold,
|
|
2608
2607
|
findAllMatches: a = B.findAllMatches,
|
|
2609
2608
|
minMatchCharLength: o = B.minMatchCharLength,
|
|
2610
|
-
includeMatches:
|
|
2611
|
-
ignoreLocation:
|
|
2609
|
+
includeMatches: l = B.includeMatches,
|
|
2610
|
+
ignoreLocation: c = B.ignoreLocation
|
|
2612
2611
|
} = {}) {
|
|
2613
2612
|
if (e.length > at)
|
|
2614
2613
|
throw new Error(Nl(at));
|
|
2615
2614
|
const u = e.length, d = t.length, f = Math.max(0, Math.min(n, d));
|
|
2616
2615
|
let m = s, h = f;
|
|
2617
|
-
const v = o > 1 ||
|
|
2616
|
+
const v = o > 1 || l, y = v ? Array(d) : [];
|
|
2618
2617
|
let p;
|
|
2619
2618
|
for (; (p = t.indexOf(e, h)) > -1; ) {
|
|
2620
2619
|
let E = ii(e, {
|
|
2621
2620
|
currentLocation: p,
|
|
2622
2621
|
expectedLocation: f,
|
|
2623
2622
|
distance: r,
|
|
2624
|
-
ignoreLocation:
|
|
2623
|
+
ignoreLocation: c
|
|
2625
2624
|
});
|
|
2626
2625
|
if (m = Math.min(E, m), h = p + u, v) {
|
|
2627
2626
|
let O = 0;
|
|
@@ -2631,7 +2630,7 @@ function Wl(t, e, i, {
|
|
|
2631
2630
|
}
|
|
2632
2631
|
h = -1;
|
|
2633
2632
|
let g = [], _ = 1, P = u + d;
|
|
2634
|
-
const
|
|
2633
|
+
const L = 1 << u - 1;
|
|
2635
2634
|
for (let E = 0; E < u; E += 1) {
|
|
2636
2635
|
let O = 0, V = P;
|
|
2637
2636
|
for (; O < V; )
|
|
@@ -2640,19 +2639,19 @@ function Wl(t, e, i, {
|
|
|
2640
2639
|
currentLocation: f + V,
|
|
2641
2640
|
expectedLocation: f,
|
|
2642
2641
|
distance: r,
|
|
2643
|
-
ignoreLocation:
|
|
2642
|
+
ignoreLocation: c
|
|
2644
2643
|
}) <= m ? O = V : P = V, V = Math.floor((P - O) / 2 + O);
|
|
2645
2644
|
P = V;
|
|
2646
2645
|
let $ = Math.max(1, f - V + 1), w = a ? d : Math.min(f + V, d) + u, M = Array(w + 2);
|
|
2647
2646
|
M[w + 1] = (1 << E) - 1;
|
|
2648
|
-
for (let
|
|
2649
|
-
let H =
|
|
2650
|
-
if (v && (y[H] = +!!Q), M[
|
|
2647
|
+
for (let F = w; F >= $; F -= 1) {
|
|
2648
|
+
let H = F - 1, Q = i[t.charAt(H)];
|
|
2649
|
+
if (v && (y[H] = +!!Q), M[F] = (M[F + 1] << 1 | 1) & Q, E && (M[F] |= (g[F + 1] | g[F]) << 1 | 1 | g[F + 1]), M[F] & L && (_ = ii(e, {
|
|
2651
2650
|
errors: E,
|
|
2652
2651
|
currentLocation: H,
|
|
2653
2652
|
expectedLocation: f,
|
|
2654
2653
|
distance: r,
|
|
2655
|
-
ignoreLocation:
|
|
2654
|
+
ignoreLocation: c
|
|
2656
2655
|
}), _ <= m)) {
|
|
2657
2656
|
if (m = _, h = H, h <= f)
|
|
2658
2657
|
break;
|
|
@@ -2664,7 +2663,7 @@ function Wl(t, e, i, {
|
|
|
2664
2663
|
currentLocation: f,
|
|
2665
2664
|
expectedLocation: f,
|
|
2666
2665
|
distance: r,
|
|
2667
|
-
ignoreLocation:
|
|
2666
|
+
ignoreLocation: c
|
|
2668
2667
|
}) > m)
|
|
2669
2668
|
break;
|
|
2670
2669
|
g = M;
|
|
@@ -2676,7 +2675,7 @@ function Wl(t, e, i, {
|
|
|
2676
2675
|
};
|
|
2677
2676
|
if (v) {
|
|
2678
2677
|
const E = Gl(y, o);
|
|
2679
|
-
E.length ?
|
|
2678
|
+
E.length ? l && (C.indices = E) : C.isMatch = !1;
|
|
2680
2679
|
}
|
|
2681
2680
|
return C;
|
|
2682
2681
|
}
|
|
@@ -2696,8 +2695,8 @@ class Mr {
|
|
|
2696
2695
|
includeMatches: s = B.includeMatches,
|
|
2697
2696
|
findAllMatches: a = B.findAllMatches,
|
|
2698
2697
|
minMatchCharLength: o = B.minMatchCharLength,
|
|
2699
|
-
isCaseSensitive:
|
|
2700
|
-
ignoreLocation:
|
|
2698
|
+
isCaseSensitive: l = B.isCaseSensitive,
|
|
2699
|
+
ignoreLocation: c = B.ignoreLocation
|
|
2701
2700
|
} = {}) {
|
|
2702
2701
|
if (this.options = {
|
|
2703
2702
|
location: i,
|
|
@@ -2706,9 +2705,9 @@ class Mr {
|
|
|
2706
2705
|
includeMatches: s,
|
|
2707
2706
|
findAllMatches: a,
|
|
2708
2707
|
minMatchCharLength: o,
|
|
2709
|
-
isCaseSensitive:
|
|
2710
|
-
ignoreLocation:
|
|
2711
|
-
}, this.pattern =
|
|
2708
|
+
isCaseSensitive: l,
|
|
2709
|
+
ignoreLocation: c
|
|
2710
|
+
}, this.pattern = l ? e : e.toLowerCase(), this.chunks = [], !this.pattern.length)
|
|
2712
2711
|
return;
|
|
2713
2712
|
const u = (f, m) => {
|
|
2714
2713
|
this.chunks.push({
|
|
@@ -2746,8 +2745,8 @@ class Mr {
|
|
|
2746
2745
|
distance: s,
|
|
2747
2746
|
threshold: a,
|
|
2748
2747
|
findAllMatches: o,
|
|
2749
|
-
minMatchCharLength:
|
|
2750
|
-
ignoreLocation:
|
|
2748
|
+
minMatchCharLength: l,
|
|
2749
|
+
ignoreLocation: c
|
|
2751
2750
|
} = this.options;
|
|
2752
2751
|
let u = [], d = 0, f = !1;
|
|
2753
2752
|
this.chunks.forEach(({
|
|
@@ -2764,9 +2763,9 @@ class Mr {
|
|
|
2764
2763
|
distance: s,
|
|
2765
2764
|
threshold: a,
|
|
2766
2765
|
findAllMatches: o,
|
|
2767
|
-
minMatchCharLength:
|
|
2766
|
+
minMatchCharLength: l,
|
|
2768
2767
|
includeMatches: n,
|
|
2769
|
-
ignoreLocation:
|
|
2768
|
+
ignoreLocation: c
|
|
2770
2769
|
});
|
|
2771
2770
|
p && (f = !0), d += g, p && _ && (u = [...u, ..._]);
|
|
2772
2771
|
});
|
|
@@ -2782,15 +2781,15 @@ class et {
|
|
|
2782
2781
|
this.pattern = e;
|
|
2783
2782
|
}
|
|
2784
2783
|
static isMultiMatch(e) {
|
|
2785
|
-
return
|
|
2784
|
+
return Hn(e, this.multiRegex);
|
|
2786
2785
|
}
|
|
2787
2786
|
static isSingleMatch(e) {
|
|
2788
|
-
return
|
|
2787
|
+
return Hn(e, this.singleRegex);
|
|
2789
2788
|
}
|
|
2790
2789
|
search() {
|
|
2791
2790
|
}
|
|
2792
2791
|
}
|
|
2793
|
-
function
|
|
2792
|
+
function Hn(t, e) {
|
|
2794
2793
|
const i = t.match(e);
|
|
2795
2794
|
return i ? i[1] : null;
|
|
2796
2795
|
}
|
|
@@ -2934,8 +2933,8 @@ class Tr extends et {
|
|
|
2934
2933
|
includeMatches: s = B.includeMatches,
|
|
2935
2934
|
findAllMatches: a = B.findAllMatches,
|
|
2936
2935
|
minMatchCharLength: o = B.minMatchCharLength,
|
|
2937
|
-
isCaseSensitive:
|
|
2938
|
-
ignoreLocation:
|
|
2936
|
+
isCaseSensitive: l = B.isCaseSensitive,
|
|
2937
|
+
ignoreLocation: c = B.ignoreLocation
|
|
2939
2938
|
} = {}) {
|
|
2940
2939
|
super(e), this._bitapSearch = new Mr(e, {
|
|
2941
2940
|
location: i,
|
|
@@ -2944,8 +2943,8 @@ class Tr extends et {
|
|
|
2944
2943
|
includeMatches: s,
|
|
2945
2944
|
findAllMatches: a,
|
|
2946
2945
|
minMatchCharLength: o,
|
|
2947
|
-
isCaseSensitive:
|
|
2948
|
-
ignoreLocation:
|
|
2946
|
+
isCaseSensitive: l,
|
|
2947
|
+
ignoreLocation: c
|
|
2949
2948
|
});
|
|
2950
2949
|
}
|
|
2951
2950
|
static get type() {
|
|
@@ -2987,21 +2986,21 @@ class Or extends et {
|
|
|
2987
2986
|
};
|
|
2988
2987
|
}
|
|
2989
2988
|
}
|
|
2990
|
-
const Yi = [zl, Or, Xl, Jl, Ql, Zl, ql, Tr],
|
|
2989
|
+
const Yi = [zl, Or, Xl, Jl, Ql, Zl, ql, Tr], Yn = Yi.length, ec = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, tc = "|";
|
|
2991
2990
|
function ic(t, e = {}) {
|
|
2992
2991
|
return t.split(tc).map((i) => {
|
|
2993
2992
|
let n = i.trim().split(ec).filter((s) => s && !!s.trim()), r = [];
|
|
2994
2993
|
for (let s = 0, a = n.length; s < a; s += 1) {
|
|
2995
2994
|
const o = n[s];
|
|
2996
|
-
let
|
|
2997
|
-
for (; !
|
|
2998
|
-
const u = Yi[
|
|
2995
|
+
let l = !1, c = -1;
|
|
2996
|
+
for (; !l && ++c < Yn; ) {
|
|
2997
|
+
const u = Yi[c];
|
|
2999
2998
|
let d = u.isMultiMatch(o);
|
|
3000
|
-
d && (r.push(new u(d, e)),
|
|
2999
|
+
d && (r.push(new u(d, e)), l = !0);
|
|
3001
3000
|
}
|
|
3002
|
-
if (!
|
|
3003
|
-
for (
|
|
3004
|
-
const u = Yi[
|
|
3001
|
+
if (!l)
|
|
3002
|
+
for (c = -1; ++c < Yn; ) {
|
|
3003
|
+
const u = Yi[c];
|
|
3005
3004
|
let d = u.isSingleMatch(o);
|
|
3006
3005
|
if (d) {
|
|
3007
3006
|
r.push(new u(d, e));
|
|
@@ -3021,8 +3020,8 @@ class rc {
|
|
|
3021
3020
|
ignoreLocation: s = B.ignoreLocation,
|
|
3022
3021
|
findAllMatches: a = B.findAllMatches,
|
|
3023
3022
|
location: o = B.location,
|
|
3024
|
-
threshold:
|
|
3025
|
-
distance:
|
|
3023
|
+
threshold: l = B.threshold,
|
|
3024
|
+
distance: c = B.distance
|
|
3026
3025
|
} = {}) {
|
|
3027
3026
|
this.query = null, this.options = {
|
|
3028
3027
|
isCaseSensitive: i,
|
|
@@ -3031,8 +3030,8 @@ class rc {
|
|
|
3031
3030
|
findAllMatches: a,
|
|
3032
3031
|
ignoreLocation: s,
|
|
3033
3032
|
location: o,
|
|
3034
|
-
threshold:
|
|
3035
|
-
distance:
|
|
3033
|
+
threshold: l,
|
|
3034
|
+
distance: c
|
|
3036
3035
|
}, this.pattern = i ? e : e.toLowerCase(), this.query = ic(this.pattern, this.options);
|
|
3037
3036
|
}
|
|
3038
3037
|
static condition(e, i) {
|
|
@@ -3051,8 +3050,8 @@ class rc {
|
|
|
3051
3050
|
} = this.options;
|
|
3052
3051
|
e = r ? e : e.toLowerCase();
|
|
3053
3052
|
let s = 0, a = [], o = 0;
|
|
3054
|
-
for (let
|
|
3055
|
-
const u = i[
|
|
3053
|
+
for (let l = 0, c = i.length; l < c; l += 1) {
|
|
3054
|
+
const u = i[l];
|
|
3056
3055
|
a.length = 0, s = 0;
|
|
3057
3056
|
for (let d = 0, f = u.length; d < f; d += 1) {
|
|
3058
3057
|
const m = u[d], {
|
|
@@ -3102,7 +3101,7 @@ const ci = {
|
|
|
3102
3101
|
}, Gi = {
|
|
3103
3102
|
PATH: "$path",
|
|
3104
3103
|
PATTERN: "$val"
|
|
3105
|
-
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]), ac = (t) => !!t[Gi.PATH], oc = (t) => !Ge(t) && Cr(t) && !Wi(t),
|
|
3104
|
+
}, Wi = (t) => !!(t[ci.AND] || t[ci.OR]), ac = (t) => !!t[Gi.PATH], oc = (t) => !Ge(t) && Cr(t) && !Wi(t), Kn = (t) => ({
|
|
3106
3105
|
[ci.AND]: Object.keys(t).map((e) => ({
|
|
3107
3106
|
[e]: t[e]
|
|
3108
3107
|
}))
|
|
@@ -3114,29 +3113,29 @@ function Dr(t, e, {
|
|
|
3114
3113
|
let s = Object.keys(r);
|
|
3115
3114
|
const a = ac(r);
|
|
3116
3115
|
if (!a && s.length > 1 && !Wi(r))
|
|
3117
|
-
return n(
|
|
3116
|
+
return n(Kn(r));
|
|
3118
3117
|
if (oc(r)) {
|
|
3119
|
-
const
|
|
3120
|
-
if (!Pe(
|
|
3121
|
-
throw new Error(Ll(
|
|
3118
|
+
const l = a ? r[Gi.PATH] : s[0], c = a ? r[Gi.PATTERN] : r[l];
|
|
3119
|
+
if (!Pe(c))
|
|
3120
|
+
throw new Error(Ll(l));
|
|
3122
3121
|
const u = {
|
|
3123
|
-
keyId: Hi(
|
|
3124
|
-
pattern:
|
|
3122
|
+
keyId: Hi(l),
|
|
3123
|
+
pattern: c
|
|
3125
3124
|
};
|
|
3126
|
-
return i && (u.searcher = ji(
|
|
3125
|
+
return i && (u.searcher = ji(c, e)), u;
|
|
3127
3126
|
}
|
|
3128
3127
|
let o = {
|
|
3129
3128
|
children: [],
|
|
3130
3129
|
operator: s[0]
|
|
3131
3130
|
};
|
|
3132
|
-
return s.forEach((
|
|
3133
|
-
const
|
|
3134
|
-
Ge(
|
|
3131
|
+
return s.forEach((l) => {
|
|
3132
|
+
const c = r[l];
|
|
3133
|
+
Ge(c) && c.forEach((u) => {
|
|
3135
3134
|
o.children.push(n(u));
|
|
3136
3135
|
});
|
|
3137
3136
|
}), o;
|
|
3138
3137
|
};
|
|
3139
|
-
return Wi(t) || (t =
|
|
3138
|
+
return Wi(t) || (t = Kn(t)), n(t);
|
|
3140
3139
|
}
|
|
3141
3140
|
function lc(t, {
|
|
3142
3141
|
ignoreFieldNorm: e = B.ignoreFieldNorm
|
|
@@ -3184,17 +3183,17 @@ function dc(t, e, {
|
|
|
3184
3183
|
item: e[a],
|
|
3185
3184
|
refIndex: a
|
|
3186
3185
|
};
|
|
3187
|
-
return r.length && r.forEach((
|
|
3188
|
-
|
|
3186
|
+
return r.length && r.forEach((l) => {
|
|
3187
|
+
l(s, o);
|
|
3189
3188
|
}), o;
|
|
3190
3189
|
});
|
|
3191
3190
|
}
|
|
3192
3191
|
class Ct {
|
|
3193
3192
|
constructor(e, i = {}, n) {
|
|
3194
|
-
this.options = mt(mt({}, B), i), this.options.useExtendedSearch, this._keyStore = new
|
|
3193
|
+
this.options = mt(mt({}, B), i), this.options.useExtendedSearch, this._keyStore = new xl(this.options.keys), this.setCollection(e, n);
|
|
3195
3194
|
}
|
|
3196
3195
|
setCollection(e, i) {
|
|
3197
|
-
if (this._docs = e, i && !(i instanceof
|
|
3196
|
+
if (this._docs = e, i && !(i instanceof rn))
|
|
3198
3197
|
throw new Error(kl);
|
|
3199
3198
|
this._myIndex = i || Ir(this.options.keys, this._docs, {
|
|
3200
3199
|
getFn: this.options.getFn,
|
|
@@ -3228,10 +3227,10 @@ class Ct {
|
|
|
3228
3227
|
sortFn: a,
|
|
3229
3228
|
ignoreFieldNorm: o
|
|
3230
3229
|
} = this.options;
|
|
3231
|
-
let
|
|
3232
|
-
return lc(
|
|
3230
|
+
let l = Pe(e) ? Pe(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
|
|
3231
|
+
return lc(l, {
|
|
3233
3232
|
ignoreFieldNorm: o
|
|
3234
|
-
}), s &&
|
|
3233
|
+
}), s && l.sort(a), Sr(i) && i > -1 && (l = l.slice(0, i)), dc(l, this._docs, {
|
|
3235
3234
|
includeMatches: n,
|
|
3236
3235
|
includeScore: r
|
|
3237
3236
|
});
|
|
@@ -3248,15 +3247,15 @@ class Ct {
|
|
|
3248
3247
|
if (!Ce(s))
|
|
3249
3248
|
return;
|
|
3250
3249
|
const {
|
|
3251
|
-
isMatch:
|
|
3252
|
-
score:
|
|
3250
|
+
isMatch: l,
|
|
3251
|
+
score: c,
|
|
3253
3252
|
indices: u
|
|
3254
3253
|
} = i.searchIn(s);
|
|
3255
|
-
|
|
3254
|
+
l && r.push({
|
|
3256
3255
|
item: s,
|
|
3257
3256
|
idx: a,
|
|
3258
3257
|
matches: [{
|
|
3259
|
-
score:
|
|
3258
|
+
score: c,
|
|
3260
3259
|
value: s,
|
|
3261
3260
|
norm: o,
|
|
3262
3261
|
indices: u
|
|
@@ -3265,25 +3264,25 @@ class Ct {
|
|
|
3265
3264
|
}), r;
|
|
3266
3265
|
}
|
|
3267
3266
|
_searchLogical(e) {
|
|
3268
|
-
const i = Dr(e, this.options), n = (o,
|
|
3267
|
+
const i = Dr(e, this.options), n = (o, l, c) => {
|
|
3269
3268
|
if (!o.children) {
|
|
3270
3269
|
const {
|
|
3271
3270
|
keyId: d,
|
|
3272
3271
|
searcher: f
|
|
3273
3272
|
} = o, m = this._findMatches({
|
|
3274
3273
|
key: this._keyStore.get(d),
|
|
3275
|
-
value: this._myIndex.getValueForItemAtKeyId(
|
|
3274
|
+
value: this._myIndex.getValueForItemAtKeyId(l, d),
|
|
3276
3275
|
searcher: f
|
|
3277
3276
|
});
|
|
3278
3277
|
return m && m.length ? [{
|
|
3279
|
-
idx:
|
|
3280
|
-
item:
|
|
3278
|
+
idx: c,
|
|
3279
|
+
item: l,
|
|
3281
3280
|
matches: m
|
|
3282
3281
|
}] : [];
|
|
3283
3282
|
}
|
|
3284
3283
|
const u = [];
|
|
3285
3284
|
for (let d = 0, f = o.children.length; d < f; d += 1) {
|
|
3286
|
-
const m = o.children[d], h = n(m,
|
|
3285
|
+
const m = o.children[d], h = n(m, l, c);
|
|
3287
3286
|
if (h.length)
|
|
3288
3287
|
u.push(...h);
|
|
3289
3288
|
else if (o.operator === ci.AND)
|
|
@@ -3293,18 +3292,18 @@ class Ct {
|
|
|
3293
3292
|
}, r = this._myIndex.records, s = {}, a = [];
|
|
3294
3293
|
return r.forEach(({
|
|
3295
3294
|
$: o,
|
|
3296
|
-
i:
|
|
3295
|
+
i: l
|
|
3297
3296
|
}) => {
|
|
3298
3297
|
if (Ce(o)) {
|
|
3299
|
-
let
|
|
3300
|
-
|
|
3301
|
-
idx:
|
|
3298
|
+
let c = n(i, o, l);
|
|
3299
|
+
c.length && (s[l] || (s[l] = {
|
|
3300
|
+
idx: l,
|
|
3302
3301
|
item: o,
|
|
3303
3302
|
matches: []
|
|
3304
|
-
}, a.push(s[
|
|
3303
|
+
}, a.push(s[l])), c.forEach(({
|
|
3305
3304
|
matches: u
|
|
3306
3305
|
}) => {
|
|
3307
|
-
s[
|
|
3306
|
+
s[l].matches.push(...u);
|
|
3308
3307
|
}));
|
|
3309
3308
|
}
|
|
3310
3309
|
}), a;
|
|
@@ -3320,17 +3319,17 @@ class Ct {
|
|
|
3320
3319
|
}) => {
|
|
3321
3320
|
if (!Ce(a))
|
|
3322
3321
|
return;
|
|
3323
|
-
let
|
|
3324
|
-
n.forEach((
|
|
3325
|
-
|
|
3326
|
-
key:
|
|
3322
|
+
let l = [];
|
|
3323
|
+
n.forEach((c, u) => {
|
|
3324
|
+
l.push(...this._findMatches({
|
|
3325
|
+
key: c,
|
|
3327
3326
|
value: a[u],
|
|
3328
3327
|
searcher: i
|
|
3329
3328
|
}));
|
|
3330
|
-
}),
|
|
3329
|
+
}), l.length && s.push({
|
|
3331
3330
|
idx: o,
|
|
3332
3331
|
item: a,
|
|
3333
|
-
matches:
|
|
3332
|
+
matches: l
|
|
3334
3333
|
});
|
|
3335
3334
|
}), s;
|
|
3336
3335
|
}
|
|
@@ -3351,12 +3350,12 @@ class Ct {
|
|
|
3351
3350
|
if (!Ce(s))
|
|
3352
3351
|
return;
|
|
3353
3352
|
const {
|
|
3354
|
-
isMatch:
|
|
3355
|
-
score:
|
|
3353
|
+
isMatch: l,
|
|
3354
|
+
score: c,
|
|
3356
3355
|
indices: u
|
|
3357
3356
|
} = n.searchIn(s);
|
|
3358
|
-
|
|
3359
|
-
score:
|
|
3357
|
+
l && r.push({
|
|
3358
|
+
score: c,
|
|
3360
3359
|
key: e,
|
|
3361
3360
|
value: s,
|
|
3362
3361
|
idx: a,
|
|
@@ -3370,15 +3369,15 @@ class Ct {
|
|
|
3370
3369
|
n: a
|
|
3371
3370
|
} = i, {
|
|
3372
3371
|
isMatch: o,
|
|
3373
|
-
score:
|
|
3374
|
-
indices:
|
|
3372
|
+
score: l,
|
|
3373
|
+
indices: c
|
|
3375
3374
|
} = n.searchIn(s);
|
|
3376
3375
|
o && r.push({
|
|
3377
|
-
score:
|
|
3376
|
+
score: l,
|
|
3378
3377
|
key: e,
|
|
3379
3378
|
value: s,
|
|
3380
3379
|
norm: a,
|
|
3381
|
-
indices:
|
|
3380
|
+
indices: c
|
|
3382
3381
|
});
|
|
3383
3382
|
}
|
|
3384
3383
|
return r;
|
|
@@ -3427,13 +3426,13 @@ var vc = function(t) {
|
|
|
3427
3426
|
}, ki = function(t, e, i) {
|
|
3428
3427
|
var n = t.dataset, r = e.customProperties, s = e.labelClass, a = e.labelDescription;
|
|
3429
3428
|
s && (n.labelClass = gi(s).join(" ")), a && (n.labelDescription = a), i && r && (typeof r == "string" ? n.customProperties = r : typeof r == "object" && !vc(r) && (n.customProperties = JSON.stringify(r)));
|
|
3430
|
-
},
|
|
3429
|
+
}, jn = function(t, e, i) {
|
|
3431
3430
|
var n = e && t.querySelector("label[for='".concat(e, "']")), r = n && n.innerText;
|
|
3432
3431
|
r && i.setAttribute("aria-label", r);
|
|
3433
3432
|
}, mc = {
|
|
3434
3433
|
containerOuter: function(t, e, i, n, r, s, a) {
|
|
3435
|
-
var o = t.classNames.containerOuter,
|
|
3436
|
-
return j(
|
|
3434
|
+
var o = t.classNames.containerOuter, l = document.createElement("div");
|
|
3435
|
+
return j(l, o), l.dataset.type = s, e && (l.dir = e), n && (l.tabIndex = 0), i && (l.setAttribute("role", r ? "combobox" : "listbox"), r ? l.setAttribute("aria-autocomplete", "list") : a || jn(this._docRoot, this.passedElement.element.id, l), l.setAttribute("aria-haspopup", "true"), l.setAttribute("aria-expanded", "false")), a && l.setAttribute("aria-labelledby", a), l;
|
|
3437
3436
|
},
|
|
3438
3437
|
containerInner: function(t) {
|
|
3439
3438
|
var e = t.classNames.containerInner, i = document.createElement("div");
|
|
@@ -3448,8 +3447,8 @@ var vc = function(t) {
|
|
|
3448
3447
|
return j(r, n), Be(r, i, e), r;
|
|
3449
3448
|
},
|
|
3450
3449
|
item: function(t, e, i) {
|
|
3451
|
-
var n = t.allowHTML, r = t.removeItemButtonAlignLeft, s = t.removeItemIconText, a = t.removeItemLabelText, o = t.classNames,
|
|
3452
|
-
if (j(h,
|
|
3450
|
+
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, f = o.placeholder, m = ot(e.value), h = document.createElement("div");
|
|
3451
|
+
if (j(h, l), e.labelClass) {
|
|
3453
3452
|
var v = document.createElement("span");
|
|
3454
3453
|
Be(v, n, e.label), j(v, e.labelClass), h.appendChild(v);
|
|
3455
3454
|
} else
|
|
@@ -3457,8 +3456,8 @@ var vc = function(t) {
|
|
|
3457
3456
|
if (h.dataset.item = "", h.dataset.id = e.id, h.dataset.value = m, ki(h, e, !0), (e.disabled || this.containerOuter.isDisabled) && h.setAttribute("aria-disabled", "true"), this._isSelectElement && (h.setAttribute("aria-selected", "true"), h.setAttribute("role", "option")), e.placeholder && (j(h, f), h.dataset.placeholder = ""), j(h, e.highlighted ? u : d), i) {
|
|
3458
3457
|
e.disabled && Ne(h, d), h.dataset.deletable = "";
|
|
3459
3458
|
var y = document.createElement("button");
|
|
3460
|
-
y.type = "button", j(y,
|
|
3461
|
-
var p =
|
|
3459
|
+
y.type = "button", j(y, c), Be(y, !0, Ft(s, e.value));
|
|
3460
|
+
var p = Ft(a, e.value);
|
|
3462
3461
|
p && y.setAttribute("aria-label", p), y.dataset.button = "", r ? h.insertAdjacentElement("afterbegin", y) : h.appendChild(y);
|
|
3463
3462
|
}
|
|
3464
3463
|
return h;
|
|
@@ -3468,14 +3467,14 @@ var vc = function(t) {
|
|
|
3468
3467
|
return j(n, i), e || n.setAttribute("aria-multiselectable", "true"), n.setAttribute("role", "listbox"), n;
|
|
3469
3468
|
},
|
|
3470
3469
|
choiceGroup: function(t, e) {
|
|
3471
|
-
var i = t.allowHTML, n = t.classNames, r = n.group, s = n.groupHeading, a = n.itemDisabled, o = e.id,
|
|
3472
|
-
j(d, r),
|
|
3470
|
+
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");
|
|
3471
|
+
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");
|
|
3473
3472
|
var f = document.createElement("div");
|
|
3474
|
-
return j(f, s), Be(f, i,
|
|
3473
|
+
return j(f, s), Be(f, i, l || ""), d.appendChild(f), d;
|
|
3475
3474
|
},
|
|
3476
3475
|
choice: function(t, e, i, n) {
|
|
3477
|
-
var r = t.allowHTML, s = t.classNames, a = s.item, o = s.itemChoice,
|
|
3478
|
-
v.id = e.elementId, j(v, a), j(v, o), n && typeof m == "string" && (m =
|
|
3476
|
+
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, f = s.placeholder, m = e.label, h = ot(e.value), v = document.createElement("div");
|
|
3477
|
+
v.id = e.elementId, j(v, a), j(v, o), n && typeof m == "string" && (m = nn(r, m), m += " (".concat(n, ")"), m = { trusted: m });
|
|
3479
3478
|
var y = v;
|
|
3480
3479
|
if (e.labelClass) {
|
|
3481
3480
|
var p = document.createElement("span");
|
|
@@ -3488,21 +3487,21 @@ var vc = function(t) {
|
|
|
3488
3487
|
var _ = document.createElement("span");
|
|
3489
3488
|
Be(_, r, e.labelDescription), _.id = g, j(_, d), v.appendChild(_);
|
|
3490
3489
|
}
|
|
3491
|
-
return e.selected && j(v,
|
|
3490
|
+
return e.selected && j(v, c), e.placeholder && j(v, f), v.setAttribute("role", e.group ? "treeitem" : "option"), v.dataset.choice = "", v.dataset.id = e.id, v.dataset.value = h, 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;
|
|
3492
3491
|
},
|
|
3493
3492
|
input: function(t, e) {
|
|
3494
3493
|
var i = t.classNames, n = i.input, r = i.inputCloned, s = t.labelId, a = document.createElement("input");
|
|
3495
|
-
return a.type = "search", j(a, n), j(a, r), a.autocomplete = "off", a.autocapitalize = "off", a.spellcheck = !1, a.setAttribute("role", "textbox"), a.setAttribute("aria-autocomplete", "list"), e ? a.setAttribute("aria-label", e) : s ||
|
|
3494
|
+
return a.type = "search", j(a, n), j(a, r), a.autocomplete = "off", a.autocapitalize = "off", a.spellcheck = !1, a.setAttribute("role", "textbox"), a.setAttribute("aria-autocomplete", "list"), e ? a.setAttribute("aria-label", e) : s || jn(this._docRoot, this.passedElement.element.id, a), a;
|
|
3496
3495
|
},
|
|
3497
3496
|
dropdown: function(t) {
|
|
3498
3497
|
var e = t.classNames, i = e.list, n = e.listDropdown, r = document.createElement("div");
|
|
3499
3498
|
return j(r, i), j(r, n), r.setAttribute("aria-expanded", "false"), r;
|
|
3500
3499
|
},
|
|
3501
3500
|
notice: function(t, e, i) {
|
|
3502
|
-
var n = t.classNames, r = n.item, s = n.itemChoice, a = n.addChoice, o = n.noResults,
|
|
3501
|
+
var n = t.classNames, r = n.item, s = n.itemChoice, a = n.addChoice, o = n.noResults, l = n.noChoices, c = n.notice;
|
|
3503
3502
|
i === void 0 && (i = he.generic);
|
|
3504
3503
|
var u = document.createElement("div");
|
|
3505
|
-
switch (Be(u, !0, e), j(u, r), j(u, s), j(u,
|
|
3504
|
+
switch (Be(u, !0, e), j(u, r), j(u, s), j(u, c), i) {
|
|
3506
3505
|
case he.addChoice:
|
|
3507
3506
|
j(u, a);
|
|
3508
3507
|
break;
|
|
@@ -3510,7 +3509,7 @@ var vc = function(t) {
|
|
|
3510
3509
|
j(u, o);
|
|
3511
3510
|
break;
|
|
3512
3511
|
case he.noChoices:
|
|
3513
|
-
j(u,
|
|
3512
|
+
j(u, l);
|
|
3514
3513
|
break;
|
|
3515
3514
|
}
|
|
3516
3515
|
return i === he.addChoice && (u.dataset.choiceSelectable = "", u.dataset.choice = ""), u;
|
|
@@ -3540,10 +3539,10 @@ var vc = function(t) {
|
|
|
3540
3539
|
var o = typeof e == "string" ? a.querySelector(e) : e;
|
|
3541
3540
|
if (!o || typeof o != "object" || !(ml(o) || Er(o)))
|
|
3542
3541
|
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");
|
|
3543
|
-
var
|
|
3544
|
-
(
|
|
3545
|
-
var u =
|
|
3546
|
-
if (this._elementType =
|
|
3542
|
+
var l = o.type, c = l === qe.Text;
|
|
3543
|
+
(c || s.maxItemCount !== 1) && (s.singleModeForMultiSelect = !1), s.singleModeForMultiSelect && (l = qe.SelectMultiple);
|
|
3544
|
+
var u = l === qe.SelectOne, d = l === qe.SelectMultiple, f = u || d;
|
|
3545
|
+
if (this._elementType = l, this._isTextElement = c, this._isSelectOneElement = u, this._isSelectMultipleElement = d, this._isSelectElement = u || d, this._canAddUserChoices = c && s.addItems || f && s.addChoices, typeof s.renderSelectedChoices != "boolean" && (s.renderSelectedChoices = s.renderSelectedChoices === "always" || u), s.closeDropdownOnSelect === "auto" ? s.closeDropdownOnSelect = c || u || s.singleModeForMultiSelect : s.closeDropdownOnSelect = kt(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") {
|
|
3547
3546
|
var m = i.addItemFilter instanceof RegExp ? i.addItemFilter : new RegExp(i.addItemFilter);
|
|
3548
3547
|
s.addItemFilter = m.test.bind(m);
|
|
3549
3548
|
}
|
|
@@ -3563,7 +3562,7 @@ var vc = function(t) {
|
|
|
3563
3562
|
extractPlaceholder: s.placeholder && !this._hasNonChoicePlaceholder
|
|
3564
3563
|
});
|
|
3565
3564
|
}
|
|
3566
|
-
if (this.initialised = !1, this._store = new Cl(s), this._currentValue = "", s.searchEnabled = !
|
|
3565
|
+
if (this.initialised = !1, this._store = new Cl(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 = tl(o, "choices-"), this._direction = o.dir, !this._direction) {
|
|
3567
3566
|
var v = window.getComputedStyle(o).direction, y = window.getComputedStyle(document.documentElement).direction;
|
|
3568
3567
|
v !== y && (this._direction = v);
|
|
3569
3568
|
}
|
|
@@ -3700,39 +3699,39 @@ var vc = function(t) {
|
|
|
3700
3699
|
if (typeof i != "string" || !i)
|
|
3701
3700
|
throw new TypeError("value parameter must be a name of 'value' field in passed objects");
|
|
3702
3701
|
if (typeof e == "function") {
|
|
3703
|
-
var
|
|
3704
|
-
if (typeof Promise == "function" &&
|
|
3705
|
-
return new Promise(function(
|
|
3706
|
-
return requestAnimationFrame(
|
|
3702
|
+
var l = e(this);
|
|
3703
|
+
if (typeof Promise == "function" && l instanceof Promise)
|
|
3704
|
+
return new Promise(function(c) {
|
|
3705
|
+
return requestAnimationFrame(c);
|
|
3707
3706
|
}).then(function() {
|
|
3708
3707
|
return o._handleLoadingState(!0);
|
|
3709
3708
|
}).then(function() {
|
|
3710
|
-
return
|
|
3711
|
-
}).then(function(
|
|
3712
|
-
return o.setChoices(
|
|
3713
|
-
}).catch(function(
|
|
3714
|
-
o.config.silent || console.error(
|
|
3709
|
+
return l;
|
|
3710
|
+
}).then(function(c) {
|
|
3711
|
+
return o.setChoices(c, i, n, r, s, a);
|
|
3712
|
+
}).catch(function(c) {
|
|
3713
|
+
o.config.silent || console.error(c);
|
|
3715
3714
|
}).then(function() {
|
|
3716
3715
|
return o._handleLoadingState(!1);
|
|
3717
3716
|
}).then(function() {
|
|
3718
3717
|
return o;
|
|
3719
3718
|
});
|
|
3720
|
-
if (!Array.isArray(
|
|
3721
|
-
throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof
|
|
3722
|
-
return this.setChoices(
|
|
3719
|
+
if (!Array.isArray(l))
|
|
3720
|
+
throw new TypeError(".setChoices first argument function must return either array of choices or Promise, got: ".concat(typeof l));
|
|
3721
|
+
return this.setChoices(l, i, n, !1);
|
|
3723
3722
|
}
|
|
3724
3723
|
if (!Array.isArray(e))
|
|
3725
3724
|
throw new TypeError(".setChoices must be called either with array of choices with a function resulting into Promise of array of choices");
|
|
3726
3725
|
return this.containerOuter.removeLoadingState(), this._store.withTxn(function() {
|
|
3727
3726
|
s && (o._isSearching = !1), r && o.clearChoices(!0, a);
|
|
3728
|
-
var
|
|
3727
|
+
var c = i === "value", u = n === "label";
|
|
3729
3728
|
e.forEach(function(d) {
|
|
3730
3729
|
if ("choices" in d) {
|
|
3731
3730
|
var f = d;
|
|
3732
3731
|
u || (f = Ee(Ee({}, f), { label: f[n] })), o._addGroup(Le(f, !0));
|
|
3733
3732
|
} else {
|
|
3734
3733
|
var m = d;
|
|
3735
|
-
(!u || !
|
|
3734
|
+
(!u || !c) && (m = Ee(Ee({}, m), { value: m[i], label: m[n] }));
|
|
3736
3735
|
var h = Le(m, !1);
|
|
3737
3736
|
o._addChoice(h), h.placeholder && !o._hasNonChoicePlaceholder && (o._placeholderValue = _r(h.label));
|
|
3738
3737
|
}
|
|
@@ -3742,18 +3741,18 @@ var vc = function(t) {
|
|
|
3742
3741
|
var r = this;
|
|
3743
3742
|
return e === void 0 && (e = !1), i === void 0 && (i = !1), n === void 0 && (n = !1), this._isSelectElement ? (this._store.withTxn(function() {
|
|
3744
3743
|
var s = r.passedElement.optionsAsChoices(), a = {};
|
|
3745
|
-
n || r._store.items.forEach(function(
|
|
3746
|
-
|
|
3744
|
+
n || r._store.items.forEach(function(l) {
|
|
3745
|
+
l.id && l.active && l.selected && (a[l.value] = !0);
|
|
3747
3746
|
}), r.clearStore(!1);
|
|
3748
|
-
var o = function(
|
|
3749
|
-
n ? r._store.dispatch(
|
|
3747
|
+
var o = function(l) {
|
|
3748
|
+
n ? r._store.dispatch(Dn(l)) : a[l.value] && (l.selected = !0);
|
|
3750
3749
|
};
|
|
3751
|
-
s.forEach(function(
|
|
3752
|
-
if ("choices" in
|
|
3753
|
-
|
|
3750
|
+
s.forEach(function(l) {
|
|
3751
|
+
if ("choices" in l) {
|
|
3752
|
+
l.choices.forEach(o);
|
|
3754
3753
|
return;
|
|
3755
3754
|
}
|
|
3756
|
-
o(
|
|
3755
|
+
o(l);
|
|
3757
3756
|
}), r._addPredefinedChoices(s, i, e), r._isSearching && r._searchChoices(r.input.value);
|
|
3758
3757
|
}), this) : (this.config.silent || console.warn("refresh method can only be used on choices backed by a <select> element"), this);
|
|
3759
3758
|
}, t.prototype.removeChoice = function(e) {
|
|
@@ -3768,7 +3767,7 @@ var vc = function(t) {
|
|
|
3768
3767
|
})), this.itemList.element.replaceChildren(""), this.choiceList.element.replaceChildren(""), this._clearNotice(), this._store.withTxn(function() {
|
|
3769
3768
|
var r = i ? [] : n._store.items;
|
|
3770
3769
|
n._store.reset(), r.forEach(function(s) {
|
|
3771
|
-
n._store.dispatch(
|
|
3770
|
+
n._store.dispatch(Tn(s)), n._store.dispatch(On(s));
|
|
3772
3771
|
});
|
|
3773
3772
|
}), this._searcher.reset(), this;
|
|
3774
3773
|
}, t.prototype.clearStore = function(e) {
|
|
@@ -3784,12 +3783,12 @@ var vc = function(t) {
|
|
|
3784
3783
|
}, t.prototype._renderChoices = function() {
|
|
3785
3784
|
var e = this;
|
|
3786
3785
|
if (this._canAddItems()) {
|
|
3787
|
-
var i = this, n = i.config, r = i._isSearching, s = this._store, a = s.activeGroups, o = s.activeChoices,
|
|
3788
|
-
if (r && n.searchResultLimit > 0 ?
|
|
3789
|
-
var
|
|
3786
|
+
var i = this, n = i.config, r = i._isSearching, s = this._store, a = s.activeGroups, o = s.activeChoices, l = 0;
|
|
3787
|
+
if (r && n.searchResultLimit > 0 ? l = n.searchResultLimit : n.renderChoiceLimit > 0 && (l = n.renderChoiceLimit), this._isSelectElement) {
|
|
3788
|
+
var c = o.filter(function(h) {
|
|
3790
3789
|
return !h.element;
|
|
3791
3790
|
});
|
|
3792
|
-
|
|
3791
|
+
c.length && this.passedElement.addOptions(c);
|
|
3793
3792
|
}
|
|
3794
3793
|
var u = document.createDocumentFragment(), d = function(h) {
|
|
3795
3794
|
return h.filter(function(v) {
|
|
@@ -3798,7 +3797,7 @@ var vc = function(t) {
|
|
|
3798
3797
|
}, f = !1, m = function(h, v, y) {
|
|
3799
3798
|
r ? h.sort(al) : n.shouldSort && h.sort(n.sorter);
|
|
3800
3799
|
var p = h.length;
|
|
3801
|
-
p = !v &&
|
|
3800
|
+
p = !v && l && p > l ? l : p, p--, h.every(function(g, _) {
|
|
3802
3801
|
var P = g.choiceEl || e._templates.choice(n, g, n.itemSelectText, y);
|
|
3803
3802
|
return g.choiceEl = P, u.appendChild(P), (r || !g.selected) && (f = !0), _ < p;
|
|
3804
3803
|
});
|
|
@@ -3819,7 +3818,7 @@ var vc = function(t) {
|
|
|
3819
3818
|
m(v, !0, n.appendGroupInSearch && r ? h.label : void 0);
|
|
3820
3819
|
}
|
|
3821
3820
|
})) : m(d(o), !1, void 0)), !f && (r || !u.children.length || !n.renderSelectedChoices) && (this._notice || (this._notice = {
|
|
3822
|
-
text:
|
|
3821
|
+
text: Ln(r ? n.noResultsText : n.noChoicesText),
|
|
3823
3822
|
type: r ? he.noResults : he.noChoices
|
|
3824
3823
|
}), u.replaceChildren("")), this._renderNotice(u), this.choiceList.element.replaceChildren(u), f && this._highlightChoice();
|
|
3825
3824
|
}
|
|
@@ -3831,20 +3830,20 @@ var vc = function(t) {
|
|
|
3831
3830
|
f && f.parentElement || (f = a(d) || e._templates.item(r, d, r.removeItemButton), d.itemEl = f, s.appendChild(f));
|
|
3832
3831
|
};
|
|
3833
3832
|
i.forEach(o);
|
|
3834
|
-
var
|
|
3833
|
+
var l = !!s.childNodes.length;
|
|
3835
3834
|
if (this._isSelectOneElement) {
|
|
3836
|
-
var
|
|
3837
|
-
if (
|
|
3835
|
+
var c = n.children.length;
|
|
3836
|
+
if (l || c > 1) {
|
|
3838
3837
|
var u = n.querySelector(Tt(r.classNames.placeholder));
|
|
3839
3838
|
u && u.remove();
|
|
3840
|
-
} else !
|
|
3839
|
+
} else !l && !c && this._placeholderValue && (l = !0, o(Le({
|
|
3841
3840
|
selected: !0,
|
|
3842
3841
|
value: "",
|
|
3843
3842
|
label: this._placeholderValue,
|
|
3844
3843
|
placeholder: !0
|
|
3845
3844
|
}, !1)));
|
|
3846
3845
|
}
|
|
3847
|
-
|
|
3846
|
+
l && (n.append(s), r.shouldSortItems && !this._isSelectOneElement && (i.sort(r.sorter), i.forEach(function(d) {
|
|
3848
3847
|
var f = a(d);
|
|
3849
3848
|
f && (f.remove(), s.append(f));
|
|
3850
3849
|
}), n.append(s))), this._isTextElement && (this.passedElement.value = i.map(function(d) {
|
|
@@ -3980,17 +3979,17 @@ var vc = function(t) {
|
|
|
3980
3979
|
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, he.addChoice), !1) : (this._notice && this._notice.type === he.addChoice && this._clearNotice(), !0);
|
|
3981
3980
|
}, t.prototype._canCreateItem = function(e) {
|
|
3982
3981
|
var i = this.config, n = !0, r = "";
|
|
3983
|
-
if (n && typeof i.addItemFilter == "function" && !i.addItemFilter(e) && (n = !1, r =
|
|
3982
|
+
if (n && typeof i.addItemFilter == "function" && !i.addItemFilter(e) && (n = !1, r = Ft(i.customAddItemText, e)), n) {
|
|
3984
3983
|
var s = this._store.choices.find(function(a) {
|
|
3985
3984
|
return i.valueComparer(a.value, e);
|
|
3986
3985
|
});
|
|
3987
3986
|
if (s) {
|
|
3988
3987
|
if (this._isSelectElement)
|
|
3989
3988
|
return this._displayNotice("", he.addChoice), !1;
|
|
3990
|
-
i.duplicateItemsAllowed || (n = !1, r =
|
|
3989
|
+
i.duplicateItemsAllowed || (n = !1, r = Ft(i.uniqueItemText, e));
|
|
3991
3990
|
}
|
|
3992
3991
|
}
|
|
3993
|
-
return n && (r =
|
|
3992
|
+
return n && (r = Ft(i.addItemText, e)), r && this._displayNotice(r, he.addChoice), n;
|
|
3994
3993
|
}, t.prototype._searchChoices = function(e) {
|
|
3995
3994
|
var i = e.trim().replace(/\s{2,}/, " ");
|
|
3996
3995
|
if (!i.length || i === this._currentValue)
|
|
@@ -4000,7 +3999,7 @@ var vc = function(t) {
|
|
|
4000
3999
|
var r = n.search(i);
|
|
4001
4000
|
this._currentValue = i, this._highlightPosition = 0, this._isSearching = !0;
|
|
4002
4001
|
var s = this._notice, a = s && s.type;
|
|
4003
|
-
return a !== he.addChoice && (r.length ? this._clearNotice() : this._displayNotice(
|
|
4002
|
+
return a !== he.addChoice && (r.length ? this._clearNotice() : this._displayNotice(Ln(this.config.noResultsText), he.noResults)), this._store.dispatch(Jo(r)), r.length;
|
|
4004
4003
|
}, t.prototype._stopSearch = function() {
|
|
4005
4004
|
this._isSearching && (this._currentValue = "", this._isSearching = !1, this._clearNotice(), this._store.dispatch(Zo(!0)), this.passedElement.triggerEvent(be.search, {
|
|
4006
4005
|
value: "",
|
|
@@ -4163,10 +4162,10 @@ var vc = function(t) {
|
|
|
4163
4162
|
}, t.prototype._addItem = function(e, i, n) {
|
|
4164
4163
|
if (i === void 0 && (i = !0), n === void 0 && (n = !1), !e.id)
|
|
4165
4164
|
throw new TypeError("item.id must be set before _addItem is called for a choice/item");
|
|
4166
|
-
(this.config.singleModeForMultiSelect || this._isSelectOneElement) && this.removeActiveItems(e.id), this._store.dispatch(
|
|
4165
|
+
(this.config.singleModeForMultiSelect || this._isSelectOneElement) && this.removeActiveItems(e.id), this._store.dispatch(On(e)), i && (this.passedElement.triggerEvent(be.addItem, this._getChoiceForOutput(e)), n && this.passedElement.triggerEvent(be.choice, this._getChoiceForOutput(e)));
|
|
4167
4166
|
}, t.prototype._removeItem = function(e) {
|
|
4168
4167
|
if (e.id) {
|
|
4169
|
-
this._store.dispatch(
|
|
4168
|
+
this._store.dispatch(Dn(e));
|
|
4170
4169
|
var i = this._notice;
|
|
4171
4170
|
i && i.type === he.noChoices && this._clearNotice(), this.passedElement.triggerEvent(be.removeItem, this._getChoiceForOutput(e));
|
|
4172
4171
|
}
|
|
@@ -4179,7 +4178,7 @@ var vc = function(t) {
|
|
|
4179
4178
|
}))) {
|
|
4180
4179
|
this._lastAddedChoiceId++, e.id = this._lastAddedChoiceId, e.elementId = "".concat(this._baseId, "-").concat(this._idNames.itemChoice, "-").concat(e.id);
|
|
4181
4180
|
var s = r.prependValue, a = r.appendValue;
|
|
4182
|
-
s && (e.value = s + e.value), a && (e.value += a.toString()), (s || a) && e.element && (e.element.value = e.value), this._clearNotice(), this._store.dispatch(
|
|
4181
|
+
s && (e.value = s + e.value), a && (e.value += a.toString()), (s || a) && e.element && (e.element.value = e.value), this._clearNotice(), this._store.dispatch(Tn(e)), e.selected && this._addItem(e, i, n);
|
|
4183
4182
|
}
|
|
4184
4183
|
}, t.prototype._addGroup = function(e, i) {
|
|
4185
4184
|
var n = this;
|
|
@@ -4190,19 +4189,19 @@ var vc = function(t) {
|
|
|
4190
4189
|
}));
|
|
4191
4190
|
}, t.prototype._createTemplates = function() {
|
|
4192
4191
|
var e = this, i = this.config.callbackOnCreateTemplates, n = {};
|
|
4193
|
-
typeof i == "function" && (n = i.call(this, rl,
|
|
4192
|
+
typeof i == "function" && (n = i.call(this, rl, nn, gi));
|
|
4194
4193
|
var r = {};
|
|
4195
4194
|
Object.keys(this._templates).forEach(function(s) {
|
|
4196
4195
|
s in n ? r[s] = n[s].bind(e) : r[s] = e._templates[s].bind(e);
|
|
4197
4196
|
}), this._templates = r;
|
|
4198
4197
|
}, t.prototype._createElements = function() {
|
|
4199
4198
|
var e = this._templates, i = this, n = i.config, r = i._isSelectOneElement, s = n.position, a = n.classNames, o = this._elementType;
|
|
4200
|
-
this.containerOuter = new
|
|
4199
|
+
this.containerOuter = new Nn({
|
|
4201
4200
|
element: e.containerOuter(n, this._direction, this._isSelectElement, r, n.searchEnabled, o, n.labelId),
|
|
4202
4201
|
classNames: a,
|
|
4203
4202
|
type: o,
|
|
4204
4203
|
position: s
|
|
4205
|
-
}), this.containerInner = new
|
|
4204
|
+
}), this.containerInner = new Nn({
|
|
4206
4205
|
element: e.containerInner(n),
|
|
4207
4206
|
classNames: a,
|
|
4208
4207
|
type: o,
|
|
@@ -4212,9 +4211,9 @@ var vc = function(t) {
|
|
|
4212
4211
|
classNames: a,
|
|
4213
4212
|
type: o,
|
|
4214
4213
|
preventPaste: !n.paste
|
|
4215
|
-
}), this.choiceList = new
|
|
4214
|
+
}), this.choiceList = new Pn({
|
|
4216
4215
|
element: e.choiceList(n, r)
|
|
4217
|
-
}), this.itemList = new
|
|
4216
|
+
}), this.itemList = new Pn({
|
|
4218
4217
|
element: e.itemList(n, r)
|
|
4219
4218
|
}), this.dropdown = new dl({
|
|
4220
4219
|
element: e.dropdown(n),
|
|
@@ -4274,7 +4273,7 @@ const yc = {
|
|
|
4274
4273
|
ref: "selectComponent"
|
|
4275
4274
|
}, bc = ["for"], Ec = ["id"], Sc = ["id", "aria-describedby", "multiple"], Cc = /* @__PURE__ */ W({
|
|
4276
4275
|
__name: "MucSelect",
|
|
4277
|
-
props: /* @__PURE__ */
|
|
4276
|
+
props: /* @__PURE__ */ xe({
|
|
4278
4277
|
id: {},
|
|
4279
4278
|
items: {},
|
|
4280
4279
|
label: {},
|
|
@@ -4294,7 +4293,7 @@ const yc = {
|
|
|
4294
4293
|
const e = pe(), i = pe(), n = pe(), r = dt(
|
|
4295
4294
|
t,
|
|
4296
4295
|
"modelValue"
|
|
4297
|
-
), s =
|
|
4296
|
+
), s = N(() => {
|
|
4298
4297
|
let d = [];
|
|
4299
4298
|
return t.items.forEach((f) => {
|
|
4300
4299
|
typeof f == "string" ? d.push(f) : d.push(f[t.itemTitle]);
|
|
@@ -4330,9 +4329,9 @@ const yc = {
|
|
|
4330
4329
|
ignoreFieldNorm: !0,
|
|
4331
4330
|
isCaseSensitive: !1
|
|
4332
4331
|
}
|
|
4333
|
-
}), o(),
|
|
4332
|
+
}), o(), c(), n.value.passedElement.element.addEventListener(
|
|
4334
4333
|
"change",
|
|
4335
|
-
|
|
4334
|
+
l
|
|
4336
4335
|
);
|
|
4337
4336
|
}, o = () => {
|
|
4338
4337
|
if (n.value) {
|
|
@@ -4347,7 +4346,7 @@ const yc = {
|
|
|
4347
4346
|
});
|
|
4348
4347
|
}), n.value.setChoices(d);
|
|
4349
4348
|
}
|
|
4350
|
-
},
|
|
4349
|
+
}, l = () => {
|
|
4351
4350
|
if (n.value) {
|
|
4352
4351
|
let d = n.value.getValue(!0);
|
|
4353
4352
|
if (Array.isArray(d)) {
|
|
@@ -4360,10 +4359,10 @@ const yc = {
|
|
|
4360
4359
|
yt(
|
|
4361
4360
|
() => r.value,
|
|
4362
4361
|
() => {
|
|
4363
|
-
|
|
4362
|
+
c();
|
|
4364
4363
|
}
|
|
4365
4364
|
);
|
|
4366
|
-
const
|
|
4365
|
+
const c = () => {
|
|
4367
4366
|
if (n.value)
|
|
4368
4367
|
if (r.value && r.value.length != 0)
|
|
4369
4368
|
if (Array.isArray(r.value)) {
|
|
@@ -4431,7 +4430,7 @@ const yc = {
|
|
|
4431
4430
|
}
|
|
4432
4431
|
}), Ac = ["for"], wc = ["id"], Ic = { class: "m-input-wrapper" }, Mc = ["id", "aria-describedby", "rows", "placeholder"], Tc = /* @__PURE__ */ W({
|
|
4433
4432
|
__name: "MucTextArea",
|
|
4434
|
-
props: /* @__PURE__ */
|
|
4433
|
+
props: /* @__PURE__ */ xe({
|
|
4435
4434
|
id: {},
|
|
4436
4435
|
errorMsg: {},
|
|
4437
4436
|
rows: { default: 3 },
|
|
@@ -4490,7 +4489,7 @@ const yc = {
|
|
|
4490
4489
|
}, Dc = { class: "container" }, kc = { class: "muc-intro-content" }, Lc = {
|
|
4491
4490
|
key: 0,
|
|
4492
4491
|
class: "m-intro-vertical__tagline"
|
|
4493
|
-
}, Nc = { class: "m-intro-vertical__title" }, Pc = { class: "m-intro-vertical__content" },
|
|
4492
|
+
}, Nc = { class: "m-intro-vertical__title" }, Pc = { class: "m-intro-vertical__content" }, Fc = { style: { "padding-bottom": "32px" } }, xc = /* @__PURE__ */ W({
|
|
4494
4493
|
__name: "MucIntro",
|
|
4495
4494
|
props: {
|
|
4496
4495
|
title: {},
|
|
@@ -4505,9 +4504,9 @@ const yc = {
|
|
|
4505
4504
|
e.tagline ? (S(), T("p", Lc, Y(e.tagline), 1)) : U("", !0),
|
|
4506
4505
|
b("h1", Nc, Y(e.title), 1)
|
|
4507
4506
|
]),
|
|
4508
|
-
e.divider ? (S(), ce(X(
|
|
4507
|
+
e.divider ? (S(), ce(X(tn), { key: 0 })) : U("", !0),
|
|
4509
4508
|
b("div", Pc, [
|
|
4510
|
-
b("p",
|
|
4509
|
+
b("p", Fc, [
|
|
4511
4510
|
q(e.$slots, "default", {}, void 0, !0)
|
|
4512
4511
|
])
|
|
4513
4512
|
])
|
|
@@ -4515,7 +4514,7 @@ const yc = {
|
|
|
4515
4514
|
])
|
|
4516
4515
|
]));
|
|
4517
4516
|
}
|
|
4518
|
-
}), $c = /* @__PURE__ */ ue(
|
|
4517
|
+
}), $c = /* @__PURE__ */ ue(xc, [["__scopeId", "data-v-d2f80b77"]]), Rc = ["width", "height"], Vc = {
|
|
4519
4518
|
x: "100",
|
|
4520
4519
|
y: "108",
|
|
4521
4520
|
"text-anchor": "middle",
|
|
@@ -4529,7 +4528,7 @@ const yc = {
|
|
|
4529
4528
|
percentage: {}
|
|
4530
4529
|
},
|
|
4531
4530
|
setup(t) {
|
|
4532
|
-
const e =
|
|
4531
|
+
const e = N(() => t.percentage || t.percentage === 0 ? t.percentage < 0 ? "0%" : t.percentage > 100 ? "100%" : Math.round(t.percentage) + "%" : "");
|
|
4533
4532
|
return (i, n) => (S(), T("svg", {
|
|
4534
4533
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4535
4534
|
width: i.size,
|
|
@@ -4558,7 +4557,7 @@ function Yc(t, e, i) {
|
|
|
4558
4557
|
* License : MIT
|
|
4559
4558
|
* Copyright: 2022 Naotoshi Fujita
|
|
4560
4559
|
*/
|
|
4561
|
-
var
|
|
4560
|
+
var Gn = "(prefers-reduced-motion: reduce)", pt = 1, Kc = 2, bt = 3, At = 4, Wt = 5, ri = 6, ui = 7, jc = {
|
|
4562
4561
|
CREATED: pt,
|
|
4563
4562
|
MOUNTED: Kc,
|
|
4564
4563
|
IDLE: bt,
|
|
@@ -4578,17 +4577,17 @@ function Z(t) {
|
|
|
4578
4577
|
}
|
|
4579
4578
|
var kr = setTimeout, Ui = function() {
|
|
4580
4579
|
};
|
|
4581
|
-
function
|
|
4580
|
+
function Wn(t) {
|
|
4582
4581
|
return requestAnimationFrame(t);
|
|
4583
4582
|
}
|
|
4584
4583
|
function _i(t, e) {
|
|
4585
4584
|
return typeof e === t;
|
|
4586
4585
|
}
|
|
4587
4586
|
function Rt(t) {
|
|
4588
|
-
return !
|
|
4587
|
+
return !an(t) && _i("object", t);
|
|
4589
4588
|
}
|
|
4590
|
-
var
|
|
4591
|
-
function
|
|
4589
|
+
var sn = Array.isArray, Lr = Z(_i, "function"), Ze = Z(_i, "string"), Ut = Z(_i, "undefined");
|
|
4590
|
+
function an(t) {
|
|
4592
4591
|
return t === null;
|
|
4593
4592
|
}
|
|
4594
4593
|
function Nr(t) {
|
|
@@ -4599,12 +4598,12 @@ function Nr(t) {
|
|
|
4599
4598
|
}
|
|
4600
4599
|
}
|
|
4601
4600
|
function zt(t) {
|
|
4602
|
-
return
|
|
4601
|
+
return sn(t) ? t : [t];
|
|
4603
4602
|
}
|
|
4604
4603
|
function Me(t, e) {
|
|
4605
4604
|
zt(t).forEach(e);
|
|
4606
4605
|
}
|
|
4607
|
-
function
|
|
4606
|
+
function on(t, e) {
|
|
4608
4607
|
return t.indexOf(e) > -1;
|
|
4609
4608
|
}
|
|
4610
4609
|
function si(t, e) {
|
|
@@ -4621,7 +4620,7 @@ function $e(t, e) {
|
|
|
4621
4620
|
function qt(t, e) {
|
|
4622
4621
|
Me(e, t.appendChild.bind(t));
|
|
4623
4622
|
}
|
|
4624
|
-
function
|
|
4623
|
+
function ln(t, e) {
|
|
4625
4624
|
Me(t, function(i) {
|
|
4626
4625
|
var n = (e || i).parentNode;
|
|
4627
4626
|
n && n.insertBefore(i, e);
|
|
@@ -4655,11 +4654,11 @@ function Ht(t) {
|
|
|
4655
4654
|
function Xe(t) {
|
|
4656
4655
|
return tt(arguments, 1).forEach(function(e) {
|
|
4657
4656
|
lt(e, function(i, n) {
|
|
4658
|
-
|
|
4657
|
+
sn(i) ? t[n] = i.slice() : Rt(i) ? t[n] = Xe({}, Rt(t[n]) ? t[n] : {}, i) : t[n] = i;
|
|
4659
4658
|
});
|
|
4660
4659
|
}), t;
|
|
4661
4660
|
}
|
|
4662
|
-
function
|
|
4661
|
+
function Un(t, e) {
|
|
4663
4662
|
Me(e || Bt(t), function(i) {
|
|
4664
4663
|
delete t[i];
|
|
4665
4664
|
});
|
|
@@ -4675,7 +4674,7 @@ function G(t, e, i) {
|
|
|
4675
4674
|
Rt(e) ? lt(e, function(n, r) {
|
|
4676
4675
|
G(t, r, n);
|
|
4677
4676
|
}) : Me(t, function(n) {
|
|
4678
|
-
|
|
4677
|
+
an(i) || i === "" ? Re(n, e) : n.setAttribute(e, String(i));
|
|
4679
4678
|
});
|
|
4680
4679
|
}
|
|
4681
4680
|
function gt(t, e, i) {
|
|
@@ -4685,12 +4684,12 @@ function gt(t, e, i) {
|
|
|
4685
4684
|
function Te(t, e, i) {
|
|
4686
4685
|
if (Ut(i))
|
|
4687
4686
|
return getComputedStyle(t)[e];
|
|
4688
|
-
|
|
4687
|
+
an(i) || (t.style[e] = "" + i);
|
|
4689
4688
|
}
|
|
4690
4689
|
function Yt(t, e) {
|
|
4691
4690
|
Te(t, "display", e);
|
|
4692
4691
|
}
|
|
4693
|
-
function
|
|
4692
|
+
function Fr(t) {
|
|
4694
4693
|
t.setActive && t.setActive() || t.focus({
|
|
4695
4694
|
preventScroll: !0
|
|
4696
4695
|
});
|
|
@@ -4698,7 +4697,7 @@ function xr(t) {
|
|
|
4698
4697
|
function Oe(t, e) {
|
|
4699
4698
|
return t.getAttribute(e);
|
|
4700
4699
|
}
|
|
4701
|
-
function
|
|
4700
|
+
function zn(t, e) {
|
|
4702
4701
|
return t && t.classList.contains(e);
|
|
4703
4702
|
}
|
|
4704
4703
|
function Ae(t) {
|
|
@@ -4709,7 +4708,7 @@ function ct(t) {
|
|
|
4709
4708
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
4710
4709
|
});
|
|
4711
4710
|
}
|
|
4712
|
-
function
|
|
4711
|
+
function xr(t) {
|
|
4713
4712
|
return Xt(new DOMParser().parseFromString(t, "text/html").body);
|
|
4714
4713
|
}
|
|
4715
4714
|
function He(t, e) {
|
|
@@ -4718,7 +4717,7 @@ function He(t, e) {
|
|
|
4718
4717
|
function $r(t, e) {
|
|
4719
4718
|
return t && t.querySelector(e);
|
|
4720
4719
|
}
|
|
4721
|
-
function
|
|
4720
|
+
function cn(t, e) {
|
|
4722
4721
|
return e ? tt(t.querySelectorAll(e)) : [];
|
|
4723
4722
|
}
|
|
4724
4723
|
function Ke(t, e) {
|
|
@@ -4730,8 +4729,8 @@ function zi(t) {
|
|
|
4730
4729
|
function st(t) {
|
|
4731
4730
|
return Ze(t) ? t : t ? t + "px" : "";
|
|
4732
4731
|
}
|
|
4733
|
-
var Jt = "splide",
|
|
4734
|
-
function
|
|
4732
|
+
var Jt = "splide", un = "data-" + Jt;
|
|
4733
|
+
function xt(t, e) {
|
|
4735
4734
|
if (!t)
|
|
4736
4735
|
throw new Error("[" + Jt + "] " + (e || ""));
|
|
4737
4736
|
}
|
|
@@ -4755,41 +4754,41 @@ function Xi(t, e) {
|
|
|
4755
4754
|
t = t.replace("%s", "" + i);
|
|
4756
4755
|
}), t;
|
|
4757
4756
|
}
|
|
4758
|
-
function
|
|
4757
|
+
function dn(t) {
|
|
4759
4758
|
return t < 10 ? "0" + t : "" + t;
|
|
4760
4759
|
}
|
|
4761
|
-
var
|
|
4760
|
+
var qn = {};
|
|
4762
4761
|
function Gc(t) {
|
|
4763
|
-
return "" + t +
|
|
4762
|
+
return "" + t + dn(qn[t] = (qn[t] || 0) + 1);
|
|
4764
4763
|
}
|
|
4765
4764
|
function Vr() {
|
|
4766
4765
|
var t = [];
|
|
4767
|
-
function e(a, o,
|
|
4766
|
+
function e(a, o, l, c) {
|
|
4768
4767
|
r(a, o, function(u, d, f) {
|
|
4769
|
-
var m = "addEventListener" in u, h = m ? u.removeEventListener.bind(u, d,
|
|
4770
|
-
m ? u.addEventListener(d,
|
|
4768
|
+
var m = "addEventListener" in u, h = m ? u.removeEventListener.bind(u, d, l, c) : u.removeListener.bind(u, l);
|
|
4769
|
+
m ? u.addEventListener(d, l, c) : u.addListener(l), t.push([u, d, f, l, h]);
|
|
4771
4770
|
});
|
|
4772
4771
|
}
|
|
4773
|
-
function i(a, o,
|
|
4774
|
-
r(a, o, function(
|
|
4772
|
+
function i(a, o, l) {
|
|
4773
|
+
r(a, o, function(c, u, d) {
|
|
4775
4774
|
t = t.filter(function(f) {
|
|
4776
|
-
return f[0] ===
|
|
4775
|
+
return f[0] === c && f[1] === u && f[2] === d && (!l || f[3] === l) ? (f[4](), !1) : !0;
|
|
4777
4776
|
});
|
|
4778
4777
|
});
|
|
4779
4778
|
}
|
|
4780
|
-
function n(a, o,
|
|
4781
|
-
var
|
|
4782
|
-
return typeof CustomEvent == "function" ?
|
|
4779
|
+
function n(a, o, l) {
|
|
4780
|
+
var c, u = !0;
|
|
4781
|
+
return typeof CustomEvent == "function" ? c = new CustomEvent(o, {
|
|
4783
4782
|
bubbles: u,
|
|
4784
|
-
detail:
|
|
4785
|
-
}) : (
|
|
4783
|
+
detail: l
|
|
4784
|
+
}) : (c = document.createEvent("CustomEvent"), c.initCustomEvent(o, u, !1, l)), a.dispatchEvent(c), c;
|
|
4786
4785
|
}
|
|
4787
|
-
function r(a, o,
|
|
4788
|
-
Me(a, function(
|
|
4789
|
-
|
|
4786
|
+
function r(a, o, l) {
|
|
4787
|
+
Me(a, function(c) {
|
|
4788
|
+
c && Me(o, function(u) {
|
|
4790
4789
|
u.split(" ").forEach(function(d) {
|
|
4791
4790
|
var f = d.split(".");
|
|
4792
|
-
c
|
|
4791
|
+
l(c, f[0], f[1]);
|
|
4793
4792
|
});
|
|
4794
4793
|
});
|
|
4795
4794
|
});
|
|
@@ -4806,18 +4805,18 @@ function Vr() {
|
|
|
4806
4805
|
destroy: s
|
|
4807
4806
|
};
|
|
4808
4807
|
}
|
|
4809
|
-
var it = "mounted",
|
|
4808
|
+
var it = "mounted", Xn = "ready", Ue = "move", wt = "moved", hn = "click", Br = "active", Hr = "inactive", Yr = "visible", Kr = "hidden", oe = "refresh", _e = "updated", Et = "resize", yi = "resized", jr = "drag", Gr = "dragging", Wr = "dragged", bi = "scroll", ht = "scrolled", Wc = "overflow", fn = "destroy", Ur = "arrows:mounted", zr = "arrows:updated", qr = "pagination:mounted", Xr = "pagination:updated", vn = "navigation:mounted", mn = "autoplay:play", Jr = "autoplay:playing", pn = "autoplay:pause", gn = "lazyload:loaded", Zr = "sk", Qr = "sh", fi = "ei";
|
|
4810
4809
|
function re(t) {
|
|
4811
4810
|
var e = t ? t.event.bus : document.createDocumentFragment(), i = Vr();
|
|
4812
4811
|
function n(s, a) {
|
|
4813
4812
|
i.bind(e, zt(s).join(" "), function(o) {
|
|
4814
|
-
a.apply(a,
|
|
4813
|
+
a.apply(a, sn(o.detail) ? o.detail : []);
|
|
4815
4814
|
});
|
|
4816
4815
|
}
|
|
4817
4816
|
function r(s) {
|
|
4818
4817
|
i.dispatch(e, s, tt(arguments, 1));
|
|
4819
4818
|
}
|
|
4820
|
-
return t && t.event.on(
|
|
4819
|
+
return t && t.event.on(fn, i.destroy), Ht(i, {
|
|
4821
4820
|
bus: e,
|
|
4822
4821
|
on: n,
|
|
4823
4822
|
off: Z(i.unbind, e),
|
|
@@ -4825,31 +4824,31 @@ function re(t) {
|
|
|
4825
4824
|
});
|
|
4826
4825
|
}
|
|
4827
4826
|
function Ei(t, e, i, n) {
|
|
4828
|
-
var r = Date.now, s, a = 0, o,
|
|
4827
|
+
var r = Date.now, s, a = 0, o, l = !0, c = 0;
|
|
4829
4828
|
function u() {
|
|
4830
|
-
if (!
|
|
4831
|
-
if (a = t ? Qe((r() - s) / t, 1) : 1, i && i(a), a >= 1 && (e(), s = r(), n && ++
|
|
4829
|
+
if (!l) {
|
|
4830
|
+
if (a = t ? Qe((r() - s) / t, 1) : 1, i && i(a), a >= 1 && (e(), s = r(), n && ++c >= n))
|
|
4832
4831
|
return f();
|
|
4833
|
-
o =
|
|
4832
|
+
o = Wn(u);
|
|
4834
4833
|
}
|
|
4835
4834
|
}
|
|
4836
4835
|
function d(p) {
|
|
4837
|
-
p || h(), s = r() - (p ? a * t : 0),
|
|
4836
|
+
p || h(), s = r() - (p ? a * t : 0), l = !1, o = Wn(u);
|
|
4838
4837
|
}
|
|
4839
4838
|
function f() {
|
|
4840
|
-
|
|
4839
|
+
l = !0;
|
|
4841
4840
|
}
|
|
4842
4841
|
function m() {
|
|
4843
4842
|
s = r(), a = 0, i && i(a);
|
|
4844
4843
|
}
|
|
4845
4844
|
function h() {
|
|
4846
|
-
o && cancelAnimationFrame(o), a = 0, o = 0,
|
|
4845
|
+
o && cancelAnimationFrame(o), a = 0, o = 0, l = !0;
|
|
4847
4846
|
}
|
|
4848
4847
|
function v(p) {
|
|
4849
4848
|
t = p;
|
|
4850
4849
|
}
|
|
4851
4850
|
function y() {
|
|
4852
|
-
return
|
|
4851
|
+
return l;
|
|
4853
4852
|
}
|
|
4854
4853
|
return {
|
|
4855
4854
|
start: d,
|
|
@@ -4866,7 +4865,7 @@ function Uc(t) {
|
|
|
4866
4865
|
e = r;
|
|
4867
4866
|
}
|
|
4868
4867
|
function n(r) {
|
|
4869
|
-
return
|
|
4868
|
+
return on(zt(r), e);
|
|
4870
4869
|
}
|
|
4871
4870
|
return {
|
|
4872
4871
|
set: i,
|
|
@@ -4881,15 +4880,15 @@ function zc(t, e) {
|
|
|
4881
4880
|
}
|
|
4882
4881
|
function qc(t, e, i) {
|
|
4883
4882
|
var n = t.state, r = i.breakpoints || {}, s = i.reducedMotion || {}, a = Vr(), o = [];
|
|
4884
|
-
function
|
|
4883
|
+
function l() {
|
|
4885
4884
|
var h = i.mediaQuery === "min";
|
|
4886
4885
|
Bt(r).sort(function(v, y) {
|
|
4887
4886
|
return h ? +v - +y : +y - +v;
|
|
4888
4887
|
}).forEach(function(v) {
|
|
4889
4888
|
u(r[v], "(" + (h ? "min" : "max") + "-width:" + v + "px)");
|
|
4890
|
-
}), u(s,
|
|
4889
|
+
}), u(s, Gn), d();
|
|
4891
4890
|
}
|
|
4892
|
-
function
|
|
4891
|
+
function c(h) {
|
|
4893
4892
|
h && a.destroy();
|
|
4894
4893
|
}
|
|
4895
4894
|
function u(h, v) {
|
|
@@ -4900,22 +4899,22 @@ function qc(t, e, i) {
|
|
|
4900
4899
|
var h = n.is(ui), v = i.direction, y = o.reduce(function(p, g) {
|
|
4901
4900
|
return Xe(p, g[1].matches ? g[0] : {});
|
|
4902
4901
|
}, {});
|
|
4903
|
-
|
|
4902
|
+
Un(i), m(y), i.destroy ? t.destroy(i.destroy === "completely") : h ? (c(!0), t.mount()) : v !== i.direction && t.refresh();
|
|
4904
4903
|
}
|
|
4905
4904
|
function f(h) {
|
|
4906
|
-
matchMedia(
|
|
4905
|
+
matchMedia(Gn).matches && (h ? Xe(i, s) : Un(i, Bt(s)));
|
|
4907
4906
|
}
|
|
4908
4907
|
function m(h, v, y) {
|
|
4909
4908
|
Xe(i, h), v && Xe(Object.getPrototypeOf(i), h), (y || !n.is(pt)) && t.emit(_e, i);
|
|
4910
4909
|
}
|
|
4911
4910
|
return {
|
|
4912
|
-
setup:
|
|
4913
|
-
destroy:
|
|
4911
|
+
setup: l,
|
|
4912
|
+
destroy: c,
|
|
4914
4913
|
reduce: f,
|
|
4915
4914
|
set: m
|
|
4916
4915
|
};
|
|
4917
4916
|
}
|
|
4918
|
-
var Si = "Arrow", Ci = Si + "Left", Ai = Si + "Right", es = Si + "Up", ts = Si + "Down",
|
|
4917
|
+
var Si = "Arrow", Ci = Si + "Left", Ai = Si + "Right", es = Si + "Up", ts = Si + "Down", Jn = "rtl", wi = "ttb", Ni = {
|
|
4919
4918
|
width: ["height"],
|
|
4920
4919
|
left: ["top", "right"],
|
|
4921
4920
|
right: ["bottom", "left"],
|
|
@@ -4928,24 +4927,24 @@ var Si = "Arrow", Ci = Si + "Left", Ai = Si + "Right", es = Si + "Up", ts = Si +
|
|
|
4928
4927
|
function Xc(t, e, i) {
|
|
4929
4928
|
function n(s, a, o) {
|
|
4930
4929
|
o = o || i.direction;
|
|
4931
|
-
var
|
|
4932
|
-
return Ni[s] && Ni[s][
|
|
4933
|
-
var d = Ni[
|
|
4930
|
+
var l = o === Jn && !a ? 1 : o === wi ? 0 : -1;
|
|
4931
|
+
return Ni[s] && Ni[s][l] || s.replace(/width|left|right/i, function(c, u) {
|
|
4932
|
+
var d = Ni[c.toLowerCase()][l] || c;
|
|
4934
4933
|
return u > 0 ? d.charAt(0).toUpperCase() + d.slice(1) : d;
|
|
4935
4934
|
});
|
|
4936
4935
|
}
|
|
4937
4936
|
function r(s) {
|
|
4938
|
-
return s * (i.direction ===
|
|
4937
|
+
return s * (i.direction === Jn ? 1 : -1);
|
|
4939
4938
|
}
|
|
4940
4939
|
return {
|
|
4941
4940
|
resolve: n,
|
|
4942
4941
|
orient: r
|
|
4943
4942
|
};
|
|
4944
4943
|
}
|
|
4945
|
-
var je = "role", _t = "tabindex", Jc = "disabled", ke = "aria-", Zt = ke + "controls", is = ke + "current",
|
|
4944
|
+
var je = "role", _t = "tabindex", Jc = "disabled", ke = "aria-", Zt = ke + "controls", is = ke + "current", Zn = ke + "selected", we = ke + "label", _n = ke + "labelledby", ns = ke + "hidden", yn = ke + "orientation", jt = ke + "roledescription", Qn = ke + "live", er = ke + "busy", tr = ke + "atomic", bn = [je, _t, Jc, Zt, is, we, _n, ns, yn, jt], Ve = Jt + "__", nt = "is-", Pi = Jt, ir = Ve + "track", Zc = Ve + "list", Ii = Ve + "slide", rs = Ii + "--clone", Qc = Ii + "__container", En = Ve + "arrows", Mi = Ve + "arrow", ss = Mi + "--prev", as = Mi + "--next", Ti = Ve + "pagination", os = Ti + "__page", eu = Ve + "progress", tu = eu + "__bar", iu = Ve + "toggle", nu = Ve + "spinner", ru = Ve + "sr", su = nt + "initialized", ut = nt + "active", ls = nt + "prev", cs = nt + "next", Ji = nt + "visible", Zi = nt + "loading", us = nt + "focus-in", ds = nt + "overflow", au = [ut, Ji, ls, cs, Zi, us, ds], ou = {
|
|
4946
4945
|
slide: Ii,
|
|
4947
4946
|
clone: rs,
|
|
4948
|
-
arrows:
|
|
4947
|
+
arrows: En,
|
|
4949
4948
|
arrow: Mi,
|
|
4950
4949
|
prev: ss,
|
|
4951
4950
|
next: as,
|
|
@@ -4960,9 +4959,9 @@ function lu(t, e) {
|
|
|
4960
4959
|
i = i.parentElement;
|
|
4961
4960
|
return i;
|
|
4962
4961
|
}
|
|
4963
|
-
var cu = 5,
|
|
4962
|
+
var cu = 5, nr = 200, hs = "touchstart mousedown", Fi = "touchmove mousemove", xi = "touchend touchcancel mouseup click";
|
|
4964
4963
|
function uu(t, e, i) {
|
|
4965
|
-
var n = re(t), r = n.on, s = n.bind, a = t.root, o = i.i18n,
|
|
4964
|
+
var n = re(t), r = n.on, s = n.bind, a = t.root, o = i.i18n, l = {}, c = [], u = [], d = [], f, m, h;
|
|
4966
4965
|
function v() {
|
|
4967
4966
|
_(), P(), g();
|
|
4968
4967
|
}
|
|
@@ -4976,41 +4975,41 @@ function uu(t, e, i) {
|
|
|
4976
4975
|
});
|
|
4977
4976
|
}
|
|
4978
4977
|
function p(E) {
|
|
4979
|
-
var O =
|
|
4980
|
-
We(
|
|
4978
|
+
var O = bn.concat("style");
|
|
4979
|
+
We(c), Ke(a, u), Ke(f, d), Re([f, m], O), Re(a, E ? O : ["style", jt]);
|
|
4981
4980
|
}
|
|
4982
4981
|
function g() {
|
|
4983
|
-
Ke(a, u), Ke(f, d), u = C(Pi), d = C(
|
|
4982
|
+
Ke(a, u), Ke(f, d), u = C(Pi), d = C(ir), $e(a, u), $e(f, d), G(a, we, i.label), G(a, _n, i.labelledby);
|
|
4984
4983
|
}
|
|
4985
4984
|
function _() {
|
|
4986
|
-
f =
|
|
4987
|
-
arrows:
|
|
4985
|
+
f = L("." + ir), m = Xt(f, "." + Zc), xt(f && m, "A track/list element is missing."), si(c, Pr(m, "." + Ii + ":not(." + rs + ")")), lt({
|
|
4986
|
+
arrows: En,
|
|
4988
4987
|
pagination: Ti,
|
|
4989
4988
|
prev: ss,
|
|
4990
4989
|
next: as,
|
|
4991
4990
|
bar: tu,
|
|
4992
4991
|
toggle: iu
|
|
4993
4992
|
}, function(E, O) {
|
|
4994
|
-
|
|
4995
|
-
}), Ht(
|
|
4993
|
+
l[O] = L("." + E);
|
|
4994
|
+
}), Ht(l, {
|
|
4996
4995
|
root: a,
|
|
4997
4996
|
track: f,
|
|
4998
4997
|
list: m,
|
|
4999
|
-
slides:
|
|
4998
|
+
slides: c
|
|
5000
4999
|
});
|
|
5001
5000
|
}
|
|
5002
5001
|
function P() {
|
|
5003
5002
|
var E = a.id || Gc(Jt), O = i.role;
|
|
5004
5003
|
a.id = E, f.id = f.id || E + "-track", m.id = m.id || E + "-list", !Oe(a, je) && a.tagName !== "SECTION" && O && G(a, je, O), G(a, jt, o.carousel), G(m, je, "presentation");
|
|
5005
5004
|
}
|
|
5006
|
-
function
|
|
5005
|
+
function L(E) {
|
|
5007
5006
|
var O = $r(a, E);
|
|
5008
5007
|
return O && lu(O, "." + Pi) === a ? O : void 0;
|
|
5009
5008
|
}
|
|
5010
5009
|
function C(E) {
|
|
5011
5010
|
return [E + "--" + i.type, E + "--" + i.direction, i.drag && E + "--draggable", i.isNavigation && E + "--nav", E === Pi && ut];
|
|
5012
5011
|
}
|
|
5013
|
-
return Ht(
|
|
5012
|
+
return Ht(l, {
|
|
5014
5013
|
setup: v,
|
|
5015
5014
|
mount: y,
|
|
5016
5015
|
destroy: p
|
|
@@ -5018,45 +5017,45 @@ function uu(t, e, i) {
|
|
|
5018
5017
|
}
|
|
5019
5018
|
var St = "slide", It = "loop", Qt = "fade";
|
|
5020
5019
|
function du(t, e, i, n) {
|
|
5021
|
-
var r = re(t), s = r.on, a = r.emit, o = r.bind,
|
|
5020
|
+
var r = re(t), s = r.on, a = r.emit, o = r.bind, l = t.Components, c = t.root, u = t.options, d = u.isNavigation, f = u.updateOnMove, m = u.i18n, h = u.pagination, v = u.slideFocus, y = l.Direction.resolve, p = Oe(n, "style"), g = Oe(n, we), _ = i > -1, P = Xt(n, "." + Qc), L;
|
|
5022
5021
|
function C() {
|
|
5023
|
-
_ || (n.id =
|
|
5022
|
+
_ || (n.id = c.id + "-slide" + dn(e + 1), G(n, je, h ? "tabpanel" : "group"), G(n, jt, m.slide), G(n, we, g || Xi(m.slideLabel, [e + 1, t.length]))), E();
|
|
5024
5023
|
}
|
|
5025
5024
|
function E() {
|
|
5026
|
-
o(n, "click", Z(a,
|
|
5025
|
+
o(n, "click", Z(a, hn, K)), o(n, "keydown", Z(a, Zr, K)), s([wt, Qr, ht], w), s(vn, V), f && s(Ue, $);
|
|
5027
5026
|
}
|
|
5028
5027
|
function O() {
|
|
5029
|
-
|
|
5028
|
+
L = !0, r.destroy(), Ke(n, au), Re(n, bn), G(n, "style", p), G(n, we, g || "");
|
|
5030
5029
|
}
|
|
5031
5030
|
function V() {
|
|
5032
5031
|
var R = t.splides.map(function(I) {
|
|
5033
|
-
var
|
|
5034
|
-
return
|
|
5032
|
+
var x = I.splide.Components.Slides.getAt(e);
|
|
5033
|
+
return x ? x.slide.id : "";
|
|
5035
5034
|
}).join(" ");
|
|
5036
5035
|
G(n, we, Xi(m.slideX, (_ ? i : e) + 1)), G(n, Zt, R), G(n, je, v ? "button" : ""), v && Re(n, jt);
|
|
5037
5036
|
}
|
|
5038
5037
|
function $() {
|
|
5039
|
-
|
|
5038
|
+
L || w();
|
|
5040
5039
|
}
|
|
5041
5040
|
function w() {
|
|
5042
|
-
if (!
|
|
5041
|
+
if (!L) {
|
|
5043
5042
|
var R = t.index;
|
|
5044
5043
|
M(), D(), Ye(n, ls, e === R - 1), Ye(n, cs, e === R + 1);
|
|
5045
5044
|
}
|
|
5046
5045
|
}
|
|
5047
5046
|
function M() {
|
|
5048
5047
|
var R = H();
|
|
5049
|
-
R !==
|
|
5048
|
+
R !== zn(n, ut) && (Ye(n, ut, R), G(n, is, d && R || ""), a(R ? Br : Hr, K));
|
|
5050
5049
|
}
|
|
5051
5050
|
function D() {
|
|
5052
5051
|
var R = Q(), I = !R && (!H() || _);
|
|
5053
|
-
if (t.state.is([At, Wt]) || G(n, ns, I || ""), G(
|
|
5054
|
-
var
|
|
5055
|
-
|
|
5052
|
+
if (t.state.is([At, Wt]) || G(n, ns, I || ""), G(cn(n, u.focusableNodes || ""), _t, I ? -1 : ""), v && G(n, _t, I ? -1 : 0), R !== zn(n, Ji) && (Ye(n, Ji, R), a(R ? Yr : Kr, K)), !R && document.activeElement === n) {
|
|
5053
|
+
var x = l.Slides.getAt(t.index);
|
|
5054
|
+
x && Fr(x.slide);
|
|
5056
5055
|
}
|
|
5057
5056
|
}
|
|
5058
|
-
function
|
|
5059
|
-
Te(
|
|
5057
|
+
function F(R, I, x) {
|
|
5058
|
+
Te(x && P || n, R, I);
|
|
5060
5059
|
}
|
|
5061
5060
|
function H() {
|
|
5062
5061
|
var R = t.index;
|
|
@@ -5065,12 +5064,12 @@ function du(t, e, i, n) {
|
|
|
5065
5064
|
function Q() {
|
|
5066
5065
|
if (t.is(Qt))
|
|
5067
5066
|
return H();
|
|
5068
|
-
var R = Ae(
|
|
5069
|
-
return hi(R[
|
|
5067
|
+
var R = Ae(l.Elements.track), I = Ae(n), x = y("left", !0), z = y("right", !0);
|
|
5068
|
+
return hi(R[x]) <= Kt(I[x]) && hi(I[z]) <= Kt(R[z]);
|
|
5070
5069
|
}
|
|
5071
5070
|
function te(R, I) {
|
|
5072
|
-
var
|
|
5073
|
-
return !_ && (u.rewind || t.is(It)) && (
|
|
5071
|
+
var x = Se(R - e);
|
|
5072
|
+
return !_ && (u.rewind || t.is(It)) && (x = Qe(x, t.length - x)), x <= I;
|
|
5074
5073
|
}
|
|
5075
5074
|
var K = {
|
|
5076
5075
|
index: e,
|
|
@@ -5081,34 +5080,34 @@ function du(t, e, i, n) {
|
|
|
5081
5080
|
mount: C,
|
|
5082
5081
|
destroy: O,
|
|
5083
5082
|
update: w,
|
|
5084
|
-
style:
|
|
5083
|
+
style: F,
|
|
5085
5084
|
isWithin: te
|
|
5086
5085
|
};
|
|
5087
5086
|
return K;
|
|
5088
5087
|
}
|
|
5089
5088
|
function hu(t, e, i) {
|
|
5090
|
-
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = e.Elements,
|
|
5089
|
+
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = e.Elements, l = o.slides, c = o.list, u = [];
|
|
5091
5090
|
function d() {
|
|
5092
5091
|
f(), r(oe, m), r(oe, f);
|
|
5093
5092
|
}
|
|
5094
5093
|
function f() {
|
|
5095
|
-
|
|
5094
|
+
l.forEach(function(w, M) {
|
|
5096
5095
|
v(w, M, -1);
|
|
5097
5096
|
});
|
|
5098
5097
|
}
|
|
5099
5098
|
function m() {
|
|
5100
|
-
|
|
5099
|
+
L(function(w) {
|
|
5101
5100
|
w.destroy();
|
|
5102
5101
|
}), We(u);
|
|
5103
5102
|
}
|
|
5104
5103
|
function h() {
|
|
5105
|
-
|
|
5104
|
+
L(function(w) {
|
|
5106
5105
|
w.update();
|
|
5107
5106
|
});
|
|
5108
5107
|
}
|
|
5109
5108
|
function v(w, M, D) {
|
|
5110
|
-
var
|
|
5111
|
-
|
|
5109
|
+
var F = du(t, M, D, w);
|
|
5110
|
+
F.mount(), u.push(F), u.sort(function(H, Q) {
|
|
5112
5111
|
return H.index - Q.index;
|
|
5113
5112
|
});
|
|
5114
5113
|
}
|
|
@@ -5118,9 +5117,9 @@ function hu(t, e, i) {
|
|
|
5118
5117
|
}) : u;
|
|
5119
5118
|
}
|
|
5120
5119
|
function p(w) {
|
|
5121
|
-
var M = e.Controller, D = M.toIndex(w),
|
|
5120
|
+
var M = e.Controller, D = M.toIndex(w), F = M.hasFocus() ? 1 : i.perPage;
|
|
5122
5121
|
return C(function(H) {
|
|
5123
|
-
return ai(H.index, D, D +
|
|
5122
|
+
return ai(H.index, D, D + F - 1);
|
|
5124
5123
|
});
|
|
5125
5124
|
}
|
|
5126
5125
|
function g(w) {
|
|
@@ -5128,9 +5127,9 @@ function hu(t, e, i) {
|
|
|
5128
5127
|
}
|
|
5129
5128
|
function _(w, M) {
|
|
5130
5129
|
Me(w, function(D) {
|
|
5131
|
-
if (Ze(D) && (D =
|
|
5132
|
-
var
|
|
5133
|
-
|
|
5130
|
+
if (Ze(D) && (D = xr(D)), Nr(D)) {
|
|
5131
|
+
var F = l[M];
|
|
5132
|
+
F ? ln(D, F) : qt(c, D), $e(D, i.classes.slide), O(D, Z(s, Et));
|
|
5134
5133
|
}
|
|
5135
5134
|
}), s(oe);
|
|
5136
5135
|
}
|
|
@@ -5139,29 +5138,29 @@ function hu(t, e, i) {
|
|
|
5139
5138
|
return M.slide;
|
|
5140
5139
|
})), s(oe);
|
|
5141
5140
|
}
|
|
5142
|
-
function
|
|
5141
|
+
function L(w, M) {
|
|
5143
5142
|
y(M).forEach(w);
|
|
5144
5143
|
}
|
|
5145
5144
|
function C(w) {
|
|
5146
5145
|
return u.filter(Lr(w) ? w : function(M) {
|
|
5147
|
-
return Ze(w) ? Vt(M.slide, w) :
|
|
5146
|
+
return Ze(w) ? Vt(M.slide, w) : on(zt(w), M.index);
|
|
5148
5147
|
});
|
|
5149
5148
|
}
|
|
5150
5149
|
function E(w, M, D) {
|
|
5151
|
-
|
|
5152
|
-
|
|
5150
|
+
L(function(F) {
|
|
5151
|
+
F.style(w, M, D);
|
|
5153
5152
|
});
|
|
5154
5153
|
}
|
|
5155
5154
|
function O(w, M) {
|
|
5156
|
-
var D =
|
|
5157
|
-
|
|
5155
|
+
var D = cn(w, "img"), F = D.length;
|
|
5156
|
+
F ? D.forEach(function(H) {
|
|
5158
5157
|
a(H, "load error", function() {
|
|
5159
|
-
--
|
|
5158
|
+
--F || M();
|
|
5160
5159
|
});
|
|
5161
5160
|
}) : M();
|
|
5162
5161
|
}
|
|
5163
5162
|
function V(w) {
|
|
5164
|
-
return w ?
|
|
5163
|
+
return w ? l.length : u.length;
|
|
5165
5164
|
}
|
|
5166
5165
|
function $() {
|
|
5167
5166
|
return u.length > i.perPage;
|
|
@@ -5176,7 +5175,7 @@ function hu(t, e, i) {
|
|
|
5176
5175
|
getAt: g,
|
|
5177
5176
|
add: _,
|
|
5178
5177
|
remove: P,
|
|
5179
|
-
forEach:
|
|
5178
|
+
forEach: L,
|
|
5180
5179
|
filter: C,
|
|
5181
5180
|
style: E,
|
|
5182
5181
|
getLength: V,
|
|
@@ -5184,24 +5183,24 @@ function hu(t, e, i) {
|
|
|
5184
5183
|
};
|
|
5185
5184
|
}
|
|
5186
5185
|
function fu(t, e, i) {
|
|
5187
|
-
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = e.Slides,
|
|
5186
|
+
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = e.Slides, l = e.Direction.resolve, c = e.Elements, u = c.root, d = c.track, f = c.list, m = o.getAt, h = o.style, v, y, p;
|
|
5188
5187
|
function g() {
|
|
5189
5188
|
_(), s(window, "resize load", zc(Z(a, Et))), r([_e, oe], _), r(Et, P);
|
|
5190
5189
|
}
|
|
5191
5190
|
function _() {
|
|
5192
|
-
v = i.direction === wi, Te(u, "maxWidth", st(i.width)), Te(d,
|
|
5191
|
+
v = i.direction === wi, Te(u, "maxWidth", st(i.width)), Te(d, l("paddingLeft"), L(!1)), Te(d, l("paddingRight"), L(!0)), P(!0);
|
|
5193
5192
|
}
|
|
5194
5193
|
function P(K) {
|
|
5195
5194
|
var R = Ae(u);
|
|
5196
|
-
(K || y.width !== R.width || y.height !== R.height) && (Te(d, "height", C()), h(
|
|
5195
|
+
(K || y.width !== R.width || y.height !== R.height) && (Te(d, "height", C()), h(l("marginRight"), st(i.gap)), h("width", O()), h("height", V(), !0), y = R, a(yi), p !== (p = te()) && (Ye(u, ds, p), a(Wc, p)));
|
|
5197
5196
|
}
|
|
5198
|
-
function
|
|
5199
|
-
var R = i.padding, I =
|
|
5197
|
+
function L(K) {
|
|
5198
|
+
var R = i.padding, I = l(K ? "right" : "left");
|
|
5200
5199
|
return R && st(R[I] || (Rt(R) ? 0 : R)) || "0px";
|
|
5201
5200
|
}
|
|
5202
5201
|
function C() {
|
|
5203
5202
|
var K = "";
|
|
5204
|
-
return v && (K = E(),
|
|
5203
|
+
return v && (K = E(), xt(K, "height or heightRatio is missing."), K = "calc(" + K + " - " + L(!1) + " - " + L(!0) + ")"), K;
|
|
5205
5204
|
}
|
|
5206
5205
|
function E() {
|
|
5207
5206
|
return st(i.height || Ae(f).width * i.heightRatio);
|
|
@@ -5217,39 +5216,39 @@ function fu(t, e, i) {
|
|
|
5217
5216
|
return "calc((100%" + (K && " + " + K) + ")/" + (i.perPage || 1) + (K && " - " + K) + ")";
|
|
5218
5217
|
}
|
|
5219
5218
|
function w() {
|
|
5220
|
-
return Ae(f)[
|
|
5219
|
+
return Ae(f)[l("width")];
|
|
5221
5220
|
}
|
|
5222
5221
|
function M(K, R) {
|
|
5223
5222
|
var I = m(K || 0);
|
|
5224
|
-
return I ? Ae(I.slide)[
|
|
5223
|
+
return I ? Ae(I.slide)[l("width")] + (R ? 0 : H()) : 0;
|
|
5225
5224
|
}
|
|
5226
5225
|
function D(K, R) {
|
|
5227
5226
|
var I = m(K);
|
|
5228
5227
|
if (I) {
|
|
5229
|
-
var
|
|
5230
|
-
return Se(
|
|
5228
|
+
var x = Ae(I.slide)[l("right")], z = Ae(f)[l("left")];
|
|
5229
|
+
return Se(x - z) + (R ? 0 : H());
|
|
5231
5230
|
}
|
|
5232
5231
|
return 0;
|
|
5233
5232
|
}
|
|
5234
|
-
function
|
|
5233
|
+
function F(K) {
|
|
5235
5234
|
return D(t.length - 1) - D(0) + M(0, K);
|
|
5236
5235
|
}
|
|
5237
5236
|
function H() {
|
|
5238
5237
|
var K = m(0);
|
|
5239
|
-
return K && parseFloat(Te(K.slide,
|
|
5238
|
+
return K && parseFloat(Te(K.slide, l("marginRight"))) || 0;
|
|
5240
5239
|
}
|
|
5241
5240
|
function Q(K) {
|
|
5242
|
-
return parseFloat(Te(d,
|
|
5241
|
+
return parseFloat(Te(d, l("padding" + (K ? "Right" : "Left")))) || 0;
|
|
5243
5242
|
}
|
|
5244
5243
|
function te() {
|
|
5245
|
-
return t.is(Qt) ||
|
|
5244
|
+
return t.is(Qt) || F(!0) > w();
|
|
5246
5245
|
}
|
|
5247
5246
|
return {
|
|
5248
5247
|
mount: g,
|
|
5249
5248
|
resize: P,
|
|
5250
5249
|
listSize: w,
|
|
5251
5250
|
slideSize: M,
|
|
5252
|
-
sliderSize:
|
|
5251
|
+
sliderSize: F,
|
|
5253
5252
|
totalSize: D,
|
|
5254
5253
|
getPadding: Q,
|
|
5255
5254
|
isOverflow: te
|
|
@@ -5257,34 +5256,34 @@ function fu(t, e, i) {
|
|
|
5257
5256
|
}
|
|
5258
5257
|
var vu = 2;
|
|
5259
5258
|
function mu(t, e, i) {
|
|
5260
|
-
var n = re(t), r = n.on, s = e.Elements, a = e.Slides, o = e.Direction.resolve,
|
|
5259
|
+
var n = re(t), r = n.on, s = e.Elements, a = e.Slides, o = e.Direction.resolve, l = [], c;
|
|
5261
5260
|
function u() {
|
|
5262
|
-
r(oe, d), r([_e, Et], m), (
|
|
5261
|
+
r(oe, d), r([_e, Et], m), (c = y()) && (h(c), e.Layout.resize(!0));
|
|
5263
5262
|
}
|
|
5264
5263
|
function d() {
|
|
5265
5264
|
f(), u();
|
|
5266
5265
|
}
|
|
5267
5266
|
function f() {
|
|
5268
|
-
ct(
|
|
5267
|
+
ct(l), We(l), n.destroy();
|
|
5269
5268
|
}
|
|
5270
5269
|
function m() {
|
|
5271
5270
|
var p = y();
|
|
5272
|
-
|
|
5271
|
+
c !== p && (c < p || !p) && n.emit(oe);
|
|
5273
5272
|
}
|
|
5274
5273
|
function h(p) {
|
|
5275
5274
|
var g = a.get().slice(), _ = g.length;
|
|
5276
5275
|
if (_) {
|
|
5277
5276
|
for (; g.length < p; )
|
|
5278
5277
|
si(g, g);
|
|
5279
|
-
si(g.slice(-p), g.slice(0, p)).forEach(function(P,
|
|
5280
|
-
var C =
|
|
5281
|
-
C ?
|
|
5278
|
+
si(g.slice(-p), g.slice(0, p)).forEach(function(P, L) {
|
|
5279
|
+
var C = L < p, E = v(P.slide, L);
|
|
5280
|
+
C ? ln(E, g[0].slide) : qt(s.list, E), si(l, E), a.register(E, L - p + (C ? 0 : _), P.index);
|
|
5282
5281
|
});
|
|
5283
5282
|
}
|
|
5284
5283
|
}
|
|
5285
5284
|
function v(p, g) {
|
|
5286
5285
|
var _ = p.cloneNode(!0);
|
|
5287
|
-
return $e(_, i.classes.clone), _.id = t.root.id + "-clone" +
|
|
5286
|
+
return $e(_, i.classes.clone), _.id = t.root.id + "-clone" + dn(g + 1), _;
|
|
5288
5287
|
}
|
|
5289
5288
|
function y() {
|
|
5290
5289
|
var p = i.clones;
|
|
@@ -5302,44 +5301,44 @@ function mu(t, e, i) {
|
|
|
5302
5301
|
};
|
|
5303
5302
|
}
|
|
5304
5303
|
function pu(t, e, i) {
|
|
5305
|
-
var n = re(t), r = n.on, s = n.emit, a = t.state.set, o = e.Layout,
|
|
5304
|
+
var n = re(t), r = n.on, s = n.emit, a = t.state.set, o = e.Layout, l = o.slideSize, c = o.getPadding, u = o.totalSize, d = o.listSize, f = o.sliderSize, m = e.Direction, h = m.resolve, v = m.orient, y = e.Elements, p = y.list, g = y.track, _;
|
|
5306
5305
|
function P() {
|
|
5307
|
-
_ = e.Transition, r([it, yi, _e, oe],
|
|
5306
|
+
_ = e.Transition, r([it, yi, _e, oe], L);
|
|
5308
5307
|
}
|
|
5309
|
-
function
|
|
5308
|
+
function L() {
|
|
5310
5309
|
e.Controller.isBusy() || (e.Scroll.cancel(), E(t.index), e.Slides.update());
|
|
5311
5310
|
}
|
|
5312
|
-
function C(I,
|
|
5313
|
-
I !==
|
|
5314
|
-
a(bt), s(wt,
|
|
5311
|
+
function C(I, x, z, ve) {
|
|
5312
|
+
I !== x && K(I > z) && (w(), O($(F(), I > z), !0)), a(At), s(Ue, x, z, I), _.start(x, function() {
|
|
5313
|
+
a(bt), s(wt, x, z, I), ve && ve();
|
|
5315
5314
|
});
|
|
5316
5315
|
}
|
|
5317
5316
|
function E(I) {
|
|
5318
5317
|
O(D(I, !0));
|
|
5319
5318
|
}
|
|
5320
|
-
function O(I,
|
|
5319
|
+
function O(I, x) {
|
|
5321
5320
|
if (!t.is(Qt)) {
|
|
5322
|
-
var z =
|
|
5321
|
+
var z = x ? I : V(I);
|
|
5323
5322
|
Te(p, "transform", "translate" + h("X") + "(" + z + "px)"), I !== z && s(Qr);
|
|
5324
5323
|
}
|
|
5325
5324
|
}
|
|
5326
5325
|
function V(I) {
|
|
5327
5326
|
if (t.is(It)) {
|
|
5328
|
-
var
|
|
5327
|
+
var x = M(I), z = x > e.Controller.getEnd(), ve = x < 0;
|
|
5329
5328
|
(ve || z) && (I = $(I, z));
|
|
5330
5329
|
}
|
|
5331
5330
|
return I;
|
|
5332
5331
|
}
|
|
5333
|
-
function $(I,
|
|
5334
|
-
var z = I - te(
|
|
5335
|
-
return I -= v(ve * (Kt(Se(z) / ve) || 1)) * (
|
|
5332
|
+
function $(I, x) {
|
|
5333
|
+
var z = I - te(x), ve = f();
|
|
5334
|
+
return I -= v(ve * (Kt(Se(z) / ve) || 1)) * (x ? 1 : -1), I;
|
|
5336
5335
|
}
|
|
5337
5336
|
function w() {
|
|
5338
|
-
O(
|
|
5337
|
+
O(F(), !0), _.cancel();
|
|
5339
5338
|
}
|
|
5340
5339
|
function M(I) {
|
|
5341
|
-
for (var
|
|
5342
|
-
var ze =
|
|
5340
|
+
for (var x = e.Slides.get(), z = 0, ve = 1 / 0, de = 0; de < x.length; de++) {
|
|
5341
|
+
var ze = x[de].index, A = Se(D(ze, !0) - I);
|
|
5343
5342
|
if (A <= ve)
|
|
5344
5343
|
ve = A, z = ze;
|
|
5345
5344
|
else
|
|
@@ -5347,31 +5346,31 @@ function pu(t, e, i) {
|
|
|
5347
5346
|
}
|
|
5348
5347
|
return z;
|
|
5349
5348
|
}
|
|
5350
|
-
function D(I,
|
|
5349
|
+
function D(I, x) {
|
|
5351
5350
|
var z = v(u(I - 1) - Q(I));
|
|
5352
|
-
return
|
|
5351
|
+
return x ? H(z) : z;
|
|
5353
5352
|
}
|
|
5354
|
-
function
|
|
5353
|
+
function F() {
|
|
5355
5354
|
var I = h("left");
|
|
5356
|
-
return Ae(p)[I] - Ae(g)[I] + v(
|
|
5355
|
+
return Ae(p)[I] - Ae(g)[I] + v(c(!1));
|
|
5357
5356
|
}
|
|
5358
5357
|
function H(I) {
|
|
5359
5358
|
return i.trimSpace && t.is(St) && (I = ft(I, 0, v(f(!0) - d()))), I;
|
|
5360
5359
|
}
|
|
5361
5360
|
function Q(I) {
|
|
5362
|
-
var
|
|
5363
|
-
return
|
|
5361
|
+
var x = i.focus;
|
|
5362
|
+
return x === "center" ? (d() - l(I, !0)) / 2 : +x * l(I) || 0;
|
|
5364
5363
|
}
|
|
5365
5364
|
function te(I) {
|
|
5366
5365
|
return D(I ? e.Controller.getEnd() : 0, !!i.trimSpace);
|
|
5367
5366
|
}
|
|
5368
5367
|
function K(I) {
|
|
5369
|
-
var
|
|
5370
|
-
return I ?
|
|
5368
|
+
var x = v($(F(), I));
|
|
5369
|
+
return I ? x >= 0 : x <= p[h("scrollWidth")] - Ae(g)[h("width")];
|
|
5371
5370
|
}
|
|
5372
|
-
function R(I,
|
|
5373
|
-
|
|
5374
|
-
var z = I !== !0 && v(
|
|
5371
|
+
function R(I, x) {
|
|
5372
|
+
x = Ut(x) ? F() : x;
|
|
5373
|
+
var z = I !== !0 && v(x) < v(te(!1)), ve = I !== !1 && v(x) > v(te(!0));
|
|
5375
5374
|
return z || ve;
|
|
5376
5375
|
}
|
|
5377
5376
|
return {
|
|
@@ -5383,20 +5382,20 @@ function pu(t, e, i) {
|
|
|
5383
5382
|
cancel: w,
|
|
5384
5383
|
toIndex: M,
|
|
5385
5384
|
toPosition: D,
|
|
5386
|
-
getPosition:
|
|
5385
|
+
getPosition: F,
|
|
5387
5386
|
getLimit: te,
|
|
5388
5387
|
exceededLimit: R,
|
|
5389
|
-
reposition:
|
|
5388
|
+
reposition: L
|
|
5390
5389
|
};
|
|
5391
5390
|
}
|
|
5392
5391
|
function gu(t, e, i) {
|
|
5393
|
-
var n = re(t), r = n.on, s = n.emit, a = e.Move, o = a.getPosition,
|
|
5392
|
+
var n = re(t), r = n.on, s = n.emit, a = e.Move, o = a.getPosition, l = a.getLimit, c = a.toPosition, u = e.Slides, d = u.isEnough, f = u.getLength, m = i.omitEnd, h = t.is(It), v = t.is(St), y = Z(F, !1), p = Z(F, !0), g = i.start || 0, _, P = g, L, C, E;
|
|
5394
5393
|
function O() {
|
|
5395
5394
|
V(), r([_e, oe, fi], V), r(yi, $);
|
|
5396
5395
|
}
|
|
5397
5396
|
function V() {
|
|
5398
|
-
|
|
5399
|
-
var A = ft(g, 0, m ? _ :
|
|
5397
|
+
L = f(!0), C = i.perMove, E = i.perPage, _ = K();
|
|
5398
|
+
var A = ft(g, 0, m ? _ : L - 1);
|
|
5400
5399
|
A !== g && (g = A, a.reposition());
|
|
5401
5400
|
}
|
|
5402
5401
|
function $() {
|
|
@@ -5423,42 +5422,42 @@ function gu(t, e, i) {
|
|
|
5423
5422
|
J = h ? A : ft(A, 0, _);
|
|
5424
5423
|
return J;
|
|
5425
5424
|
}
|
|
5426
|
-
function
|
|
5425
|
+
function F(A, J) {
|
|
5427
5426
|
var ye = C || (de() ? 1 : E), ae = H(g + ye * (A ? -1 : 1), g, !(C || de()));
|
|
5428
|
-
return ae === -1 && v && !Rr(o(),
|
|
5427
|
+
return ae === -1 && v && !Rr(o(), l(!A), 1) ? A ? 0 : _ : J ? ae : te(ae);
|
|
5429
5428
|
}
|
|
5430
5429
|
function H(A, J, ye) {
|
|
5431
5430
|
if (d() || de()) {
|
|
5432
5431
|
var ae = Q(A);
|
|
5433
|
-
ae !== A && (J = A, A = ae, ye = !1), A < 0 || A > _ ? !C && (ai(0, A, J, !0) || ai(_, J, A, !0)) ? A = R(I(A)) : h ? A = ye ? A < 0 ? -(
|
|
5432
|
+
ae !== A && (J = A, A = ae, ye = !1), A < 0 || A > _ ? !C && (ai(0, A, J, !0) || ai(_, J, A, !0)) ? A = R(I(A)) : h ? A = ye ? A < 0 ? -(L % E || E) : L : A : i.rewind ? A = A < 0 ? _ : 0 : A = -1 : ye && A !== J && (A = R(I(J) + (A < J ? -1 : 1)));
|
|
5434
5433
|
} else
|
|
5435
5434
|
A = -1;
|
|
5436
5435
|
return A;
|
|
5437
5436
|
}
|
|
5438
5437
|
function Q(A) {
|
|
5439
5438
|
if (v && i.trimSpace === "move" && A !== g)
|
|
5440
|
-
for (var J = o(); J ===
|
|
5439
|
+
for (var J = o(); J === c(A, !0) && ai(A, 0, t.length - 1, !i.rewind); )
|
|
5441
5440
|
A < g ? --A : ++A;
|
|
5442
5441
|
return A;
|
|
5443
5442
|
}
|
|
5444
5443
|
function te(A) {
|
|
5445
|
-
return h ? (A +
|
|
5444
|
+
return h ? (A + L) % L || 0 : A;
|
|
5446
5445
|
}
|
|
5447
5446
|
function K() {
|
|
5448
|
-
for (var A =
|
|
5449
|
-
if (
|
|
5447
|
+
for (var A = L - (de() || h && C ? 1 : E); m && A-- > 0; )
|
|
5448
|
+
if (c(L - 1, !0) !== c(A, !0)) {
|
|
5450
5449
|
A++;
|
|
5451
5450
|
break;
|
|
5452
5451
|
}
|
|
5453
|
-
return ft(A, 0,
|
|
5452
|
+
return ft(A, 0, L - 1);
|
|
5454
5453
|
}
|
|
5455
5454
|
function R(A) {
|
|
5456
5455
|
return ft(de() ? A : E * A, 0, _);
|
|
5457
5456
|
}
|
|
5458
5457
|
function I(A) {
|
|
5459
|
-
return de() ? Qe(A, _) : hi((A >= _ ?
|
|
5458
|
+
return de() ? Qe(A, _) : hi((A >= _ ? L - 1 : A) / E);
|
|
5460
5459
|
}
|
|
5461
|
-
function
|
|
5460
|
+
function x(A) {
|
|
5462
5461
|
var J = a.toIndex(A);
|
|
5463
5462
|
return v ? ft(J, 0, _) : J;
|
|
5464
5463
|
}
|
|
@@ -5480,35 +5479,35 @@ function gu(t, e, i) {
|
|
|
5480
5479
|
scroll: M,
|
|
5481
5480
|
getNext: y,
|
|
5482
5481
|
getPrev: p,
|
|
5483
|
-
getAdjacent:
|
|
5482
|
+
getAdjacent: F,
|
|
5484
5483
|
getEnd: K,
|
|
5485
5484
|
setIndex: z,
|
|
5486
5485
|
getIndex: ve,
|
|
5487
5486
|
toIndex: R,
|
|
5488
5487
|
toPage: I,
|
|
5489
|
-
toDest:
|
|
5488
|
+
toDest: x,
|
|
5490
5489
|
hasFocus: de,
|
|
5491
5490
|
isBusy: ze
|
|
5492
5491
|
};
|
|
5493
5492
|
}
|
|
5494
5493
|
var _u = "http://www.w3.org/2000/svg", yu = "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;
|
|
5495
5494
|
function bu(t, e, i) {
|
|
5496
|
-
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = i.classes,
|
|
5495
|
+
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = i.classes, l = i.i18n, c = e.Elements, u = e.Controller, d = c.arrows, f = c.track, m = d, h = c.prev, v = c.next, y, p, g = {};
|
|
5497
5496
|
function _() {
|
|
5498
|
-
|
|
5497
|
+
L(), r(_e, P);
|
|
5499
5498
|
}
|
|
5500
5499
|
function P() {
|
|
5501
5500
|
C(), _();
|
|
5502
5501
|
}
|
|
5503
|
-
function
|
|
5502
|
+
function L() {
|
|
5504
5503
|
var M = i.arrows;
|
|
5505
5504
|
M && !(h && v) && V(), h && v && (Ht(g, {
|
|
5506
5505
|
prev: h,
|
|
5507
5506
|
next: v
|
|
5508
|
-
}), Yt(m, M ? "" : "none"), $e(m, p =
|
|
5507
|
+
}), Yt(m, M ? "" : "none"), $e(m, p = En + "--" + i.direction), M && (E(), w(), G([h, v], Zt, f.id), a(Ur, h, v)));
|
|
5509
5508
|
}
|
|
5510
5509
|
function C() {
|
|
5511
|
-
n.destroy(), Ke(m, p), y ? (ct(d ? [h, v] : m), h = v = null) : Re([h, v],
|
|
5510
|
+
n.destroy(), Ke(m, p), y ? (ct(d ? [h, v] : m), h = v = null) : Re([h, v], bn);
|
|
5512
5511
|
}
|
|
5513
5512
|
function E() {
|
|
5514
5513
|
r([it, wt, oe, ht, fi], w), s(v, "click", Z(O, ">")), s(h, "click", Z(O, "<"));
|
|
@@ -5517,16 +5516,16 @@ function bu(t, e, i) {
|
|
|
5517
5516
|
u.go(M, !0);
|
|
5518
5517
|
}
|
|
5519
5518
|
function V() {
|
|
5520
|
-
m = d || gt("div", o.arrows), h = $(!0), v = $(!1), y = !0, qt(m, [h, v]), !d &&
|
|
5519
|
+
m = d || gt("div", o.arrows), h = $(!0), v = $(!1), y = !0, qt(m, [h, v]), !d && ln(m, f);
|
|
5521
5520
|
}
|
|
5522
5521
|
function $(M) {
|
|
5523
5522
|
var D = '<button class="' + o.arrow + " " + (M ? o.prev : o.next) + '" type="button"><svg xmlns="' + _u + '" viewBox="0 0 ' + ni + " " + ni + '" width="' + ni + '" height="' + ni + '" focusable="false"><path d="' + (i.arrowPath || yu) + '" />';
|
|
5524
|
-
return
|
|
5523
|
+
return xr(D);
|
|
5525
5524
|
}
|
|
5526
5525
|
function w() {
|
|
5527
5526
|
if (h && v) {
|
|
5528
|
-
var M = t.index, D = u.getPrev(),
|
|
5529
|
-
h.disabled = D < 0, v.disabled =
|
|
5527
|
+
var M = t.index, D = u.getPrev(), F = u.getNext(), H = D > -1 && M < D ? l.last : l.prev, Q = F > -1 && M > F ? l.first : l.next;
|
|
5528
|
+
h.disabled = D < 0, v.disabled = F < 0, G(h, we, H), G(v, we, Q), a(zr, h, v, D, F);
|
|
5530
5529
|
}
|
|
5531
5530
|
}
|
|
5532
5531
|
return {
|
|
@@ -5536,35 +5535,35 @@ function bu(t, e, i) {
|
|
|
5536
5535
|
update: w
|
|
5537
5536
|
};
|
|
5538
5537
|
}
|
|
5539
|
-
var Eu =
|
|
5538
|
+
var Eu = un + "-interval";
|
|
5540
5539
|
function Su(t, e, i) {
|
|
5541
|
-
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = Ei(i.interval, t.go.bind(t, ">"), E),
|
|
5540
|
+
var n = re(t), r = n.on, s = n.bind, a = n.emit, o = Ei(i.interval, t.go.bind(t, ">"), E), l = o.isPaused, c = e.Elements, u = e.Elements, d = u.root, f = u.toggle, m = i.autoplay, h, v, y = m === "pause";
|
|
5542
5541
|
function p() {
|
|
5543
|
-
m && (g(), f && G(f, Zt,
|
|
5542
|
+
m && (g(), f && G(f, Zt, c.track.id), y || _(), C());
|
|
5544
5543
|
}
|
|
5545
5544
|
function g() {
|
|
5546
5545
|
i.pauseOnHover && s(d, "mouseenter mouseleave", function(V) {
|
|
5547
|
-
h = V.type === "mouseenter",
|
|
5546
|
+
h = V.type === "mouseenter", L();
|
|
5548
5547
|
}), i.pauseOnFocus && s(d, "focusin focusout", function(V) {
|
|
5549
|
-
v = V.type === "focusin",
|
|
5548
|
+
v = V.type === "focusin", L();
|
|
5550
5549
|
}), f && s(f, "click", function() {
|
|
5551
5550
|
y ? _() : P(!0);
|
|
5552
5551
|
}), r([Ue, bi, oe], o.rewind), r(Ue, O);
|
|
5553
5552
|
}
|
|
5554
5553
|
function _() {
|
|
5555
|
-
|
|
5554
|
+
l() && e.Slides.isEnough() && (o.start(!i.resetProgress), v = h = y = !1, C(), a(mn));
|
|
5556
5555
|
}
|
|
5557
5556
|
function P(V) {
|
|
5558
|
-
V === void 0 && (V = !0), y = !!V, C(),
|
|
5557
|
+
V === void 0 && (V = !0), y = !!V, C(), l() || (o.pause(), a(pn));
|
|
5559
5558
|
}
|
|
5560
|
-
function
|
|
5559
|
+
function L() {
|
|
5561
5560
|
y || (h || v ? P(!1) : _());
|
|
5562
5561
|
}
|
|
5563
5562
|
function C() {
|
|
5564
5563
|
f && (Ye(f, ut, !y), G(f, we, i.i18n[y ? "play" : "pause"]));
|
|
5565
5564
|
}
|
|
5566
5565
|
function E(V) {
|
|
5567
|
-
var $ =
|
|
5566
|
+
var $ = c.bar;
|
|
5568
5567
|
$ && Te($, "width", V * 100 + "%"), a(Jr, V);
|
|
5569
5568
|
}
|
|
5570
5569
|
function O(V) {
|
|
@@ -5576,22 +5575,22 @@ function Su(t, e, i) {
|
|
|
5576
5575
|
destroy: o.cancel,
|
|
5577
5576
|
play: _,
|
|
5578
5577
|
pause: P,
|
|
5579
|
-
isPaused:
|
|
5578
|
+
isPaused: l
|
|
5580
5579
|
};
|
|
5581
5580
|
}
|
|
5582
5581
|
function Cu(t, e, i) {
|
|
5583
5582
|
var n = re(t), r = n.on;
|
|
5584
5583
|
function s() {
|
|
5585
|
-
i.cover && (r(
|
|
5584
|
+
i.cover && (r(gn, Z(o, !0)), r([it, _e, oe], Z(a, !0)));
|
|
5586
5585
|
}
|
|
5587
|
-
function a(
|
|
5588
|
-
e.Slides.forEach(function(
|
|
5589
|
-
var u = Xt(
|
|
5590
|
-
u && u.src && o(
|
|
5586
|
+
function a(l) {
|
|
5587
|
+
e.Slides.forEach(function(c) {
|
|
5588
|
+
var u = Xt(c.container || c.slide, "img");
|
|
5589
|
+
u && u.src && o(l, u, c);
|
|
5591
5590
|
});
|
|
5592
5591
|
}
|
|
5593
|
-
function o(
|
|
5594
|
-
u.style("background",
|
|
5592
|
+
function o(l, c, u) {
|
|
5593
|
+
u.style("background", l ? 'center/cover no-repeat url("' + c.src + '")' : "", !0), Yt(c, l ? "none" : "");
|
|
5595
5594
|
}
|
|
5596
5595
|
return {
|
|
5597
5596
|
mount: s,
|
|
@@ -5600,15 +5599,15 @@ function Cu(t, e, i) {
|
|
|
5600
5599
|
}
|
|
5601
5600
|
var Au = 10, wu = 600, Iu = 0.6, Mu = 1.5, Tu = 800;
|
|
5602
5601
|
function Ou(t, e, i) {
|
|
5603
|
-
var n = re(t), r = n.on, s = n.emit, a = t.state.set, o = e.Move,
|
|
5602
|
+
var n = re(t), r = n.on, s = n.emit, a = t.state.set, o = e.Move, l = o.getPosition, c = o.getLimit, u = o.exceededLimit, d = o.translate, f = t.is(St), m, h, v = 1;
|
|
5604
5603
|
function y() {
|
|
5605
|
-
r(Ue, P), r([_e, oe],
|
|
5604
|
+
r(Ue, P), r([_e, oe], L);
|
|
5606
5605
|
}
|
|
5607
5606
|
function p(E, O, V, $, w) {
|
|
5608
|
-
var M =
|
|
5607
|
+
var M = l();
|
|
5609
5608
|
if (P(), V && (!f || !u())) {
|
|
5610
|
-
var D = e.Layout.sliderSize(),
|
|
5611
|
-
E = o.toPosition(e.Controller.toDest(E % D)) +
|
|
5609
|
+
var D = e.Layout.sliderSize(), F = qi(E) * D * hi(Se(E) / D) || 0;
|
|
5610
|
+
E = o.toPosition(e.Controller.toDest(E % D)) + F;
|
|
5612
5611
|
}
|
|
5613
5612
|
var H = Rr(M, E, 1);
|
|
5614
5613
|
v = 1, O = H ? 0 : O || di(Se(E - M) / Mu, Tu), h = $, m = Ei(O, g, Z(_, M, E, w), 1), a(Wt), s(bi), m.start();
|
|
@@ -5617,13 +5616,13 @@ function Ou(t, e, i) {
|
|
|
5617
5616
|
a(bt), h && h(), s(ht);
|
|
5618
5617
|
}
|
|
5619
5618
|
function _(E, O, V, $) {
|
|
5620
|
-
var w =
|
|
5621
|
-
d(w + D), f && !V && u() && (v *= Iu, Se(D) < Au && p(
|
|
5619
|
+
var w = l(), M = E + (O - E) * C($), D = (M - w) * v;
|
|
5620
|
+
d(w + D), f && !V && u() && (v *= Iu, Se(D) < Au && p(c(u(!0)), wu, !1, h, !0));
|
|
5622
5621
|
}
|
|
5623
5622
|
function P() {
|
|
5624
5623
|
m && m.cancel();
|
|
5625
5624
|
}
|
|
5626
|
-
function
|
|
5625
|
+
function L() {
|
|
5627
5626
|
m && !m.isPaused() && (P(), g());
|
|
5628
5627
|
}
|
|
5629
5628
|
function C(E) {
|
|
@@ -5634,7 +5633,7 @@ function Ou(t, e, i) {
|
|
|
5634
5633
|
mount: y,
|
|
5635
5634
|
destroy: P,
|
|
5636
5635
|
scroll: p,
|
|
5637
|
-
cancel:
|
|
5636
|
+
cancel: L
|
|
5638
5637
|
};
|
|
5639
5638
|
}
|
|
5640
5639
|
var vt = {
|
|
@@ -5642,38 +5641,38 @@ var vt = {
|
|
|
5642
5641
|
capture: !0
|
|
5643
5642
|
};
|
|
5644
5643
|
function Du(t, e, i) {
|
|
5645
|
-
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = n.unbind,
|
|
5644
|
+
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = n.unbind, l = t.state, c = e.Move, u = e.Scroll, d = e.Controller, f = e.Elements.track, m = e.Media.reduce, h = e.Direction, v = h.resolve, y = h.orient, p = c.getPosition, g = c.exceededLimit, _, P, L, C, E, O = !1, V, $, w;
|
|
5646
5645
|
function M() {
|
|
5647
|
-
a(f,
|
|
5646
|
+
a(f, Fi, Ui, vt), a(f, xi, Ui, vt), a(f, hs, F, vt), a(f, "click", te, {
|
|
5648
5647
|
capture: !0
|
|
5649
5648
|
}), a(f, "dragstart", He), r([it, _e], D);
|
|
5650
5649
|
}
|
|
5651
5650
|
function D() {
|
|
5652
5651
|
var k = i.drag;
|
|
5653
|
-
|
|
5652
|
+
wn(!k), C = k === "free";
|
|
5654
5653
|
}
|
|
5655
|
-
function
|
|
5654
|
+
function F(k) {
|
|
5656
5655
|
if (V = !1, !$) {
|
|
5657
5656
|
var ee = ge(k);
|
|
5658
|
-
ae(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (w = ee ? f : window, E =
|
|
5657
|
+
ae(k.target) && (ee || !k.button) && (d.isBusy() ? He(k, !0) : (w = ee ? f : window, E = l.is([At, Wt]), L = null, a(w, Fi, H, vt), a(w, xi, Q, vt), c.cancel(), u.cancel(), K(k)));
|
|
5659
5658
|
}
|
|
5660
5659
|
}
|
|
5661
5660
|
function H(k) {
|
|
5662
|
-
if (
|
|
5661
|
+
if (l.is(ri) || (l.set(ri), s(jr)), k.cancelable)
|
|
5663
5662
|
if (E) {
|
|
5664
|
-
|
|
5665
|
-
var ee = ze(k) >
|
|
5663
|
+
c.translate(_ + ye(de(k)));
|
|
5664
|
+
var ee = ze(k) > nr, rt = O !== (O = g());
|
|
5666
5665
|
(ee || rt) && K(k), V = !0, s(Gr), He(k);
|
|
5667
|
-
} else
|
|
5666
|
+
} else x(k) && (E = I(k), He(k));
|
|
5668
5667
|
}
|
|
5669
5668
|
function Q(k) {
|
|
5670
|
-
|
|
5669
|
+
l.is(ri) && (l.set(bt), s(Wr)), E && (R(k), He(k)), o(w, Fi, H), o(w, xi, Q), E = !1;
|
|
5671
5670
|
}
|
|
5672
5671
|
function te(k) {
|
|
5673
5672
|
!$ && V && He(k, !0);
|
|
5674
5673
|
}
|
|
5675
5674
|
function K(k) {
|
|
5676
|
-
|
|
5675
|
+
L = P, P = k, _ = p();
|
|
5677
5676
|
}
|
|
5678
5677
|
function R(k) {
|
|
5679
5678
|
var ee = z(k), rt = ve(ee), Mt = i.rewind && i.rewindByDrag;
|
|
@@ -5683,13 +5682,13 @@ function Du(t, e, i) {
|
|
|
5683
5682
|
var ee = i.dragMinThreshold, rt = Rt(ee), Mt = rt && ee.mouse || 0, ps = (rt ? ee.touch : +ee) || 10;
|
|
5684
5683
|
return Se(de(k)) > (ge(k) ? ps : Mt);
|
|
5685
5684
|
}
|
|
5686
|
-
function
|
|
5685
|
+
function x(k) {
|
|
5687
5686
|
return Se(de(k)) > Se(de(k, !0));
|
|
5688
5687
|
}
|
|
5689
5688
|
function z(k) {
|
|
5690
5689
|
if (t.is(It) || !O) {
|
|
5691
5690
|
var ee = ze(k);
|
|
5692
|
-
if (ee && ee <
|
|
5691
|
+
if (ee && ee < nr)
|
|
5693
5692
|
return de(k) / ee;
|
|
5694
5693
|
}
|
|
5695
5694
|
return 0;
|
|
@@ -5704,7 +5703,7 @@ function Du(t, e, i) {
|
|
|
5704
5703
|
return zi(k) - zi(A(k));
|
|
5705
5704
|
}
|
|
5706
5705
|
function A(k) {
|
|
5707
|
-
return P === k &&
|
|
5706
|
+
return P === k && L || P;
|
|
5708
5707
|
}
|
|
5709
5708
|
function J(k, ee) {
|
|
5710
5709
|
return (ge(k) ? k.changedTouches[0] : k)["page" + v(ee ? "Y" : "X")];
|
|
@@ -5722,12 +5721,12 @@ function Du(t, e, i) {
|
|
|
5722
5721
|
function ms() {
|
|
5723
5722
|
return E;
|
|
5724
5723
|
}
|
|
5725
|
-
function
|
|
5724
|
+
function wn(k) {
|
|
5726
5725
|
$ = k;
|
|
5727
5726
|
}
|
|
5728
5727
|
return {
|
|
5729
5728
|
mount: M,
|
|
5730
|
-
disable:
|
|
5729
|
+
disable: wn,
|
|
5731
5730
|
isDragging: ms
|
|
5732
5731
|
};
|
|
5733
5732
|
}
|
|
@@ -5738,21 +5737,21 @@ var ku = {
|
|
|
5738
5737
|
Up: es,
|
|
5739
5738
|
Down: ts
|
|
5740
5739
|
};
|
|
5741
|
-
function
|
|
5740
|
+
function Sn(t) {
|
|
5742
5741
|
return t = Ze(t) ? t : t.key, ku[t] || t;
|
|
5743
5742
|
}
|
|
5744
|
-
var
|
|
5743
|
+
var rr = "keydown";
|
|
5745
5744
|
function Lu(t, e, i) {
|
|
5746
|
-
var n = re(t), r = n.on, s = n.bind, a = n.unbind, o = t.root,
|
|
5745
|
+
var n = re(t), r = n.on, s = n.bind, a = n.unbind, o = t.root, l = e.Direction.resolve, c, u;
|
|
5747
5746
|
function d() {
|
|
5748
5747
|
f(), r(_e, m), r(_e, f), r(Ue, v);
|
|
5749
5748
|
}
|
|
5750
5749
|
function f() {
|
|
5751
5750
|
var p = i.keyboard;
|
|
5752
|
-
p && (
|
|
5751
|
+
p && (c = p === "global" ? window : o, s(c, rr, y));
|
|
5753
5752
|
}
|
|
5754
5753
|
function m() {
|
|
5755
|
-
a(
|
|
5754
|
+
a(c, rr);
|
|
5756
5755
|
}
|
|
5757
5756
|
function h(p) {
|
|
5758
5757
|
u = p;
|
|
@@ -5765,8 +5764,8 @@ function Lu(t, e, i) {
|
|
|
5765
5764
|
}
|
|
5766
5765
|
function y(p) {
|
|
5767
5766
|
if (!u) {
|
|
5768
|
-
var g =
|
|
5769
|
-
g ===
|
|
5767
|
+
var g = Sn(p);
|
|
5768
|
+
g === l(Ci) ? t.go("<") : g === l(Ai) && t.go(">");
|
|
5770
5769
|
}
|
|
5771
5770
|
}
|
|
5772
5771
|
return {
|
|
@@ -5775,20 +5774,20 @@ function Lu(t, e, i) {
|
|
|
5775
5774
|
disable: h
|
|
5776
5775
|
};
|
|
5777
5776
|
}
|
|
5778
|
-
var $t =
|
|
5777
|
+
var $t = un + "-lazy", oi = $t + "-srcset", Nu = "[" + $t + "], [" + oi + "]";
|
|
5779
5778
|
function Pu(t, e, i) {
|
|
5780
|
-
var n = re(t), r = n.on, s = n.off, a = n.bind, o = n.emit,
|
|
5779
|
+
var n = re(t), r = n.on, s = n.off, a = n.bind, o = n.emit, l = i.lazyLoad === "sequential", c = [wt, ht], u = [];
|
|
5781
5780
|
function d() {
|
|
5782
5781
|
i.lazyLoad && (f(), r(oe, f));
|
|
5783
5782
|
}
|
|
5784
5783
|
function f() {
|
|
5785
|
-
We(u), m(),
|
|
5784
|
+
We(u), m(), l ? p() : (s(c), r(c, h), h());
|
|
5786
5785
|
}
|
|
5787
5786
|
function m() {
|
|
5788
5787
|
e.Slides.forEach(function(g) {
|
|
5789
|
-
|
|
5790
|
-
var P = Oe(_, $t),
|
|
5791
|
-
if (P !== _.src ||
|
|
5788
|
+
cn(g.slide, Nu).forEach(function(_) {
|
|
5789
|
+
var P = Oe(_, $t), L = Oe(_, oi);
|
|
5790
|
+
if (P !== _.src || L !== _.srcset) {
|
|
5792
5791
|
var C = i.classes.spinner, E = _.parentElement, O = Xt(E, "." + C) || gt("span", C, E);
|
|
5793
5792
|
u.push([_, g, O]), _.src || Yt(_, "none");
|
|
5794
5793
|
}
|
|
@@ -5799,15 +5798,15 @@ function Pu(t, e, i) {
|
|
|
5799
5798
|
u = u.filter(function(g) {
|
|
5800
5799
|
var _ = i.perPage * ((i.preloadPages || 1) + 1) - 1;
|
|
5801
5800
|
return g[1].isWithin(t.index, _) ? v(g) : !0;
|
|
5802
|
-
}), u.length || s(
|
|
5801
|
+
}), u.length || s(c);
|
|
5803
5802
|
}
|
|
5804
5803
|
function v(g) {
|
|
5805
5804
|
var _ = g[0];
|
|
5806
5805
|
$e(g[1].slide, Zi), a(_, "load error", Z(y, g)), G(_, "src", Oe(_, $t)), G(_, "srcset", Oe(_, oi)), Re(_, $t), Re(_, oi);
|
|
5807
5806
|
}
|
|
5808
5807
|
function y(g, _) {
|
|
5809
|
-
var P = g[0],
|
|
5810
|
-
Ke(
|
|
5808
|
+
var P = g[0], L = g[1];
|
|
5809
|
+
Ke(L.slide, Zi), _.type !== "error" && (ct(g[2]), Yt(P, ""), o(gn, P, L), o(Et)), l && p();
|
|
5811
5810
|
}
|
|
5812
5811
|
function p() {
|
|
5813
5812
|
u.length && v(u.shift());
|
|
@@ -5818,8 +5817,8 @@ function Pu(t, e, i) {
|
|
|
5818
5817
|
check: h
|
|
5819
5818
|
};
|
|
5820
5819
|
}
|
|
5821
|
-
function
|
|
5822
|
-
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = e.Slides,
|
|
5820
|
+
function Fu(t, e, i) {
|
|
5821
|
+
var n = re(t), r = n.on, s = n.emit, a = n.bind, o = e.Slides, l = e.Elements, c = e.Controller, u = c.hasFocus, d = c.getIndex, f = c.go, m = e.Direction.resolve, h = l.pagination, v = [], y, p;
|
|
5823
5822
|
function g() {
|
|
5824
5823
|
_(), r([_e, oe, fi], g);
|
|
5825
5824
|
var $ = i.pagination;
|
|
@@ -5832,46 +5831,46 @@ function xu(t, e, i) {
|
|
|
5832
5831
|
y && (ct(h ? tt(y.children) : y), Ke(y, p), We(v), y = null), n.destroy();
|
|
5833
5832
|
}
|
|
5834
5833
|
function P() {
|
|
5835
|
-
var $ = t.length, w = i.classes, M = i.i18n, D = i.perPage,
|
|
5836
|
-
y = h || gt("ul", w.pagination,
|
|
5837
|
-
for (var H = 0; H <
|
|
5834
|
+
var $ = t.length, w = i.classes, M = i.i18n, D = i.perPage, F = u() ? c.getEnd() + 1 : Kt($ / D);
|
|
5835
|
+
y = h || gt("ul", w.pagination, l.track.parentElement), $e(y, p = Ti + "--" + E()), G(y, je, "tablist"), G(y, we, M.select), G(y, yn, E() === wi ? "vertical" : "");
|
|
5836
|
+
for (var H = 0; H < F; H++) {
|
|
5838
5837
|
var Q = gt("li", null, y), te = gt("button", {
|
|
5839
5838
|
class: w.page,
|
|
5840
5839
|
type: "button"
|
|
5841
5840
|
}, Q), K = o.getIn(H).map(function(I) {
|
|
5842
5841
|
return I.slide.id;
|
|
5843
5842
|
}), R = !u() && D > 1 ? M.pageX : M.slideX;
|
|
5844
|
-
a(te, "click", Z(
|
|
5843
|
+
a(te, "click", Z(L, H)), i.paginationKeyboard && a(te, "keydown", Z(C, H)), G(Q, je, "presentation"), G(te, je, "tab"), G(te, Zt, K.join(" ")), G(te, we, Xi(R, H + 1)), G(te, _t, -1), v.push({
|
|
5845
5844
|
li: Q,
|
|
5846
5845
|
button: te,
|
|
5847
5846
|
page: H
|
|
5848
5847
|
});
|
|
5849
5848
|
}
|
|
5850
5849
|
}
|
|
5851
|
-
function
|
|
5850
|
+
function L($) {
|
|
5852
5851
|
f(">" + $, !0);
|
|
5853
5852
|
}
|
|
5854
5853
|
function C($, w) {
|
|
5855
|
-
var M = v.length, D =
|
|
5856
|
-
D === m(Ai, !1,
|
|
5854
|
+
var M = v.length, D = Sn(w), F = E(), H = -1;
|
|
5855
|
+
D === m(Ai, !1, F) ? H = ++$ % M : D === m(Ci, !1, F) ? H = (--$ + M) % M : D === "Home" ? H = 0 : D === "End" && (H = M - 1);
|
|
5857
5856
|
var Q = v[H];
|
|
5858
|
-
Q && (
|
|
5857
|
+
Q && (Fr(Q.button), f(">" + H), He(w, !0));
|
|
5859
5858
|
}
|
|
5860
5859
|
function E() {
|
|
5861
5860
|
return i.paginationDirection || i.direction;
|
|
5862
5861
|
}
|
|
5863
5862
|
function O($) {
|
|
5864
|
-
return v[
|
|
5863
|
+
return v[c.toPage($)];
|
|
5865
5864
|
}
|
|
5866
5865
|
function V() {
|
|
5867
5866
|
var $ = O(d(!0)), w = O(d());
|
|
5868
5867
|
if ($) {
|
|
5869
5868
|
var M = $.button;
|
|
5870
|
-
Ke(M, ut), Re(M,
|
|
5869
|
+
Ke(M, ut), Re(M, Zn), G(M, _t, -1);
|
|
5871
5870
|
}
|
|
5872
5871
|
if (w) {
|
|
5873
5872
|
var D = w.button;
|
|
5874
|
-
$e(D, ut), G(D,
|
|
5873
|
+
$e(D, ut), G(D, Zn, !0), G(D, _t, "");
|
|
5875
5874
|
}
|
|
5876
5875
|
s(Xr, {
|
|
5877
5876
|
list: y,
|
|
@@ -5886,12 +5885,12 @@ function xu(t, e, i) {
|
|
|
5886
5885
|
update: V
|
|
5887
5886
|
};
|
|
5888
5887
|
}
|
|
5889
|
-
var
|
|
5888
|
+
var xu = [" ", "Enter"];
|
|
5890
5889
|
function $u(t, e, i) {
|
|
5891
5890
|
var n = i.isNavigation, r = i.slideFocus, s = [];
|
|
5892
5891
|
function a() {
|
|
5893
5892
|
t.splides.forEach(function(h) {
|
|
5894
|
-
h.isParent || (
|
|
5893
|
+
h.isParent || (c(t, h.splide), c(h.splide, t));
|
|
5895
5894
|
}), n && u();
|
|
5896
5895
|
}
|
|
5897
5896
|
function o() {
|
|
@@ -5899,10 +5898,10 @@ function $u(t, e, i) {
|
|
|
5899
5898
|
h.destroy();
|
|
5900
5899
|
}), We(s);
|
|
5901
5900
|
}
|
|
5902
|
-
function
|
|
5901
|
+
function l() {
|
|
5903
5902
|
o(), a();
|
|
5904
5903
|
}
|
|
5905
|
-
function
|
|
5904
|
+
function c(h, v) {
|
|
5906
5905
|
var y = re(h);
|
|
5907
5906
|
y.on(Ue, function(p, g, _) {
|
|
5908
5907
|
v.go(v.is(It) ? _ : p);
|
|
@@ -5910,16 +5909,16 @@ function $u(t, e, i) {
|
|
|
5910
5909
|
}
|
|
5911
5910
|
function u() {
|
|
5912
5911
|
var h = re(t), v = h.on;
|
|
5913
|
-
v(
|
|
5912
|
+
v(hn, f), v(Zr, m), v([it, _e], d), s.push(h), h.emit(vn, t.splides);
|
|
5914
5913
|
}
|
|
5915
5914
|
function d() {
|
|
5916
|
-
G(e.Elements.list,
|
|
5915
|
+
G(e.Elements.list, yn, i.direction === wi ? "vertical" : "");
|
|
5917
5916
|
}
|
|
5918
5917
|
function f(h) {
|
|
5919
5918
|
t.go(h.index);
|
|
5920
5919
|
}
|
|
5921
5920
|
function m(h, v) {
|
|
5922
|
-
|
|
5921
|
+
on(xu, Sn(v)) && (f(h), He(v));
|
|
5923
5922
|
}
|
|
5924
5923
|
return {
|
|
5925
5924
|
setup: Z(e.Media.set, {
|
|
@@ -5927,7 +5926,7 @@ function $u(t, e, i) {
|
|
|
5927
5926
|
}, !0),
|
|
5928
5927
|
mount: a,
|
|
5929
5928
|
destroy: o,
|
|
5930
|
-
remount:
|
|
5929
|
+
remount: l
|
|
5931
5930
|
};
|
|
5932
5931
|
}
|
|
5933
5932
|
function Ru(t, e, i) {
|
|
@@ -5935,14 +5934,14 @@ function Ru(t, e, i) {
|
|
|
5935
5934
|
function a() {
|
|
5936
5935
|
i.wheel && r(e.Elements.track, "wheel", o, vt);
|
|
5937
5936
|
}
|
|
5938
|
-
function o(
|
|
5939
|
-
if (
|
|
5940
|
-
var u =
|
|
5941
|
-
Se(u) > m && f - s > h && (t.go(d ? "<" : ">"), s = f),
|
|
5937
|
+
function o(c) {
|
|
5938
|
+
if (c.cancelable) {
|
|
5939
|
+
var u = c.deltaY, d = u < 0, f = zi(c), m = i.wheelMinThreshold || 0, h = i.wheelSleep || 0;
|
|
5940
|
+
Se(u) > m && f - s > h && (t.go(d ? "<" : ">"), s = f), l(d) && He(c);
|
|
5942
5941
|
}
|
|
5943
5942
|
}
|
|
5944
|
-
function c
|
|
5945
|
-
return !i.releaseWheel || t.state.is(At) || e.Controller.getAdjacent(
|
|
5943
|
+
function l(c) {
|
|
5944
|
+
return !i.releaseWheel || t.state.is(At) || e.Controller.getAdjacent(c) !== -1;
|
|
5946
5945
|
}
|
|
5947
5946
|
return {
|
|
5948
5947
|
mount: a
|
|
@@ -5950,21 +5949,21 @@ function Ru(t, e, i) {
|
|
|
5950
5949
|
}
|
|
5951
5950
|
var Vu = 90;
|
|
5952
5951
|
function Bu(t, e, i) {
|
|
5953
|
-
var n = re(t), r = n.on, s = e.Elements.track, a = i.live && !i.isNavigation, o = gt("span", ru),
|
|
5954
|
-
function
|
|
5955
|
-
a && (f(!e.Autoplay.isPaused()), G(s,
|
|
5952
|
+
var n = re(t), r = n.on, s = e.Elements.track, a = i.live && !i.isNavigation, o = gt("span", ru), l = Ei(Vu, Z(u, !1));
|
|
5953
|
+
function c() {
|
|
5954
|
+
a && (f(!e.Autoplay.isPaused()), G(s, tr, !0), o.textContent = "…", r(mn, Z(f, !0)), r(pn, Z(f, !1)), r([wt, ht], Z(u, !0)));
|
|
5956
5955
|
}
|
|
5957
5956
|
function u(m) {
|
|
5958
|
-
G(s,
|
|
5957
|
+
G(s, er, m), m ? (qt(s, o), l.start()) : (ct(o), l.cancel());
|
|
5959
5958
|
}
|
|
5960
5959
|
function d() {
|
|
5961
|
-
Re(s, [
|
|
5960
|
+
Re(s, [Qn, tr, er]), ct(o);
|
|
5962
5961
|
}
|
|
5963
5962
|
function f(m) {
|
|
5964
|
-
a && G(s,
|
|
5963
|
+
a && G(s, Qn, m ? "off" : "polite");
|
|
5965
5964
|
}
|
|
5966
5965
|
return {
|
|
5967
|
-
mount:
|
|
5966
|
+
mount: c,
|
|
5968
5967
|
disable: f,
|
|
5969
5968
|
destroy: d
|
|
5970
5969
|
};
|
|
@@ -5986,7 +5985,7 @@ var Hu = /* @__PURE__ */ Object.freeze({
|
|
|
5986
5985
|
Drag: Du,
|
|
5987
5986
|
Keyboard: Lu,
|
|
5988
5987
|
LazyLoad: Pu,
|
|
5989
|
-
Pagination:
|
|
5988
|
+
Pagination: Fu,
|
|
5990
5989
|
Sync: $u,
|
|
5991
5990
|
Wheel: Ru,
|
|
5992
5991
|
Live: Bu
|
|
@@ -6040,8 +6039,8 @@ function ju(t, e, i) {
|
|
|
6040
6039
|
o.style("transform", "translateX(-" + 100 * o.index + "%)");
|
|
6041
6040
|
});
|
|
6042
6041
|
}
|
|
6043
|
-
function a(o,
|
|
6044
|
-
n.style("transition", "opacity " + i.speed + "ms " + i.easing), kr(
|
|
6042
|
+
function a(o, l) {
|
|
6043
|
+
n.style("transition", "opacity " + i.speed + "ms " + i.easing), kr(l);
|
|
6045
6044
|
}
|
|
6046
6045
|
return {
|
|
6047
6046
|
mount: r,
|
|
@@ -6050,15 +6049,15 @@ function ju(t, e, i) {
|
|
|
6050
6049
|
};
|
|
6051
6050
|
}
|
|
6052
6051
|
function Gu(t, e, i) {
|
|
6053
|
-
var n = e.Move, r = e.Controller, s = e.Scroll, a = e.Elements.list, o = Z(Te, a, "transition"),
|
|
6054
|
-
function
|
|
6052
|
+
var n = e.Move, r = e.Controller, s = e.Scroll, a = e.Elements.list, o = Z(Te, a, "transition"), l;
|
|
6053
|
+
function c() {
|
|
6055
6054
|
re(t).bind(a, "transitionend", function(m) {
|
|
6056
|
-
m.target === a &&
|
|
6055
|
+
m.target === a && l && (d(), l());
|
|
6057
6056
|
});
|
|
6058
6057
|
}
|
|
6059
6058
|
function u(m, h) {
|
|
6060
6059
|
var v = n.toPosition(m, !0), y = n.getPosition(), p = f(m);
|
|
6061
|
-
Se(v - y) >= 1 && p >= 1 ? i.useScroll ? s.scroll(v, p, !1, h) : (o("transform " + p + "ms " + i.easing), n.translate(v, !0),
|
|
6060
|
+
Se(v - y) >= 1 && p >= 1 ? i.useScroll ? s.scroll(v, p, !1, h) : (o("transform " + p + "ms " + i.easing), n.translate(v, !0), l = h) : (n.jump(m), h());
|
|
6062
6061
|
}
|
|
6063
6062
|
function d() {
|
|
6064
6063
|
o(""), s.cancel();
|
|
@@ -6073,7 +6072,7 @@ function Gu(t, e, i) {
|
|
|
6073
6072
|
return i.speed;
|
|
6074
6073
|
}
|
|
6075
6074
|
return {
|
|
6076
|
-
mount:
|
|
6075
|
+
mount: c,
|
|
6077
6076
|
start: u,
|
|
6078
6077
|
cancel: d
|
|
6079
6078
|
};
|
|
@@ -6082,30 +6081,30 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6082
6081
|
function t(i, n) {
|
|
6083
6082
|
this.event = re(), this.Components = {}, this.state = Uc(pt), this.splides = [], this._o = {}, this._E = {};
|
|
6084
6083
|
var r = Ze(i) ? $r(document, i) : i;
|
|
6085
|
-
|
|
6084
|
+
xt(r, r + " is invalid."), this.root = r, n = Xe({
|
|
6086
6085
|
label: Oe(r, we) || "",
|
|
6087
|
-
labelledby: Oe(r,
|
|
6086
|
+
labelledby: Oe(r, _n) || ""
|
|
6088
6087
|
}, Ku, t.defaults, n || {});
|
|
6089
6088
|
try {
|
|
6090
|
-
Xe(n, JSON.parse(Oe(r,
|
|
6089
|
+
Xe(n, JSON.parse(Oe(r, un)));
|
|
6091
6090
|
} catch {
|
|
6092
|
-
|
|
6091
|
+
xt(!1, "Invalid JSON");
|
|
6093
6092
|
}
|
|
6094
6093
|
this._o = Object.create(Xe({}, n));
|
|
6095
6094
|
}
|
|
6096
6095
|
var e = t.prototype;
|
|
6097
6096
|
return e.mount = function(n, r) {
|
|
6098
6097
|
var s = this, a = this.state, o = this.Components;
|
|
6099
|
-
|
|
6100
|
-
var
|
|
6098
|
+
xt(a.is([pt, ui]), "Already mounted!"), a.set(pt), this._C = o, this._T = r || this._T || (this.is(Qt) ? ju : Gu), this._E = n || this._E;
|
|
6099
|
+
var l = Ht({}, Hu, this._E, {
|
|
6101
6100
|
Transition: this._T
|
|
6102
6101
|
});
|
|
6103
|
-
return lt(
|
|
6104
|
-
var d =
|
|
6102
|
+
return lt(l, function(c, u) {
|
|
6103
|
+
var d = c(s, o, s._o);
|
|
6105
6104
|
o[u] = d, d.setup && d.setup();
|
|
6106
|
-
}), lt(o, function(
|
|
6107
|
-
|
|
6108
|
-
}), this.emit(it), $e(this.root, su), a.set(bt), this.emit(
|
|
6105
|
+
}), lt(o, function(c) {
|
|
6106
|
+
c.mount && c.mount();
|
|
6107
|
+
}), this.emit(it), $e(this.root, su), a.set(bt), this.emit(Xn), this;
|
|
6109
6108
|
}, e.sync = function(n) {
|
|
6110
6109
|
return this.splides.push({
|
|
6111
6110
|
splide: n
|
|
@@ -6133,9 +6132,9 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6133
6132
|
}, e.destroy = function(n) {
|
|
6134
6133
|
n === void 0 && (n = !0);
|
|
6135
6134
|
var r = this.event, s = this.state;
|
|
6136
|
-
return s.is(pt) ? re(this).on(
|
|
6135
|
+
return s.is(pt) ? re(this).on(Xn, this.destroy.bind(this, n)) : (lt(this._C, function(a) {
|
|
6137
6136
|
a.destroy && a.destroy(n);
|
|
6138
|
-
}, !0), r.emit(
|
|
6137
|
+
}, !0), r.emit(fn), r.destroy(), n && We(this.splides), s.set(ui)), this;
|
|
6139
6138
|
}, Yc(t, [{
|
|
6140
6139
|
key: "options",
|
|
6141
6140
|
get: function() {
|
|
@@ -6155,28 +6154,28 @@ var Wu = /* @__PURE__ */ function() {
|
|
|
6155
6154
|
return this._C.Controller.getIndex();
|
|
6156
6155
|
}
|
|
6157
6156
|
}]), t;
|
|
6158
|
-
}(),
|
|
6159
|
-
|
|
6160
|
-
|
|
6161
|
-
const
|
|
6157
|
+
}(), Cn = Wu;
|
|
6158
|
+
Cn.defaults = {};
|
|
6159
|
+
Cn.STATES = jc;
|
|
6160
|
+
const sr = [
|
|
6162
6161
|
Br,
|
|
6163
6162
|
Ur,
|
|
6164
6163
|
zr,
|
|
6165
|
-
gn,
|
|
6166
6164
|
pn,
|
|
6165
|
+
mn,
|
|
6167
6166
|
Jr,
|
|
6167
|
+
hn,
|
|
6168
6168
|
fn,
|
|
6169
|
-
vn,
|
|
6170
6169
|
jr,
|
|
6171
6170
|
Wr,
|
|
6172
6171
|
Gr,
|
|
6173
6172
|
Kr,
|
|
6174
6173
|
Hr,
|
|
6175
|
-
|
|
6174
|
+
gn,
|
|
6176
6175
|
it,
|
|
6177
6176
|
Ue,
|
|
6178
6177
|
wt,
|
|
6179
|
-
|
|
6178
|
+
vn,
|
|
6180
6179
|
qr,
|
|
6181
6180
|
Xr,
|
|
6182
6181
|
oe,
|
|
@@ -6187,7 +6186,7 @@ const ar = [
|
|
|
6187
6186
|
_e,
|
|
6188
6187
|
Yr
|
|
6189
6188
|
], fs = "splide";
|
|
6190
|
-
function
|
|
6189
|
+
function ar(t) {
|
|
6191
6190
|
return t !== null && typeof t == "object";
|
|
6192
6191
|
}
|
|
6193
6192
|
function Uu(t, e) {
|
|
@@ -6204,7 +6203,7 @@ function Uu(t, e) {
|
|
|
6204
6203
|
function vs(t, e) {
|
|
6205
6204
|
const i = t;
|
|
6206
6205
|
return Uu(e, (n, r) => {
|
|
6207
|
-
Array.isArray(n) ? i[r] = n.slice() :
|
|
6206
|
+
Array.isArray(n) ? i[r] = n.slice() : ar(n) ? i[r] = vs(ar(i[r]) ? i[r] : {}, n) : i[r] = n;
|
|
6208
6207
|
}), i;
|
|
6209
6208
|
}
|
|
6210
6209
|
const zu = W({
|
|
@@ -6216,7 +6215,7 @@ const zu = W({
|
|
|
6216
6215
|
(t = e == null ? void 0 : e.value) == null || t.refresh();
|
|
6217
6216
|
});
|
|
6218
6217
|
}
|
|
6219
|
-
}),
|
|
6218
|
+
}), An = (t, e) => {
|
|
6220
6219
|
const i = t.__vccOpts || t;
|
|
6221
6220
|
for (const [n, r] of e)
|
|
6222
6221
|
i[n] = r;
|
|
@@ -6229,9 +6228,9 @@ function Ju(t, e, i, n, r, s) {
|
|
|
6229
6228
|
])
|
|
6230
6229
|
]);
|
|
6231
6230
|
}
|
|
6232
|
-
const Zu = /* @__PURE__ */
|
|
6231
|
+
const Zu = /* @__PURE__ */ An(zu, [["render", Ju]]), Qu = W({
|
|
6233
6232
|
name: "Splide",
|
|
6234
|
-
emits:
|
|
6233
|
+
emits: sr.map((t) => `splide:${t}`),
|
|
6235
6234
|
components: { SplideTrack: Zu },
|
|
6236
6235
|
props: {
|
|
6237
6236
|
tag: {
|
|
@@ -6252,32 +6251,32 @@ const Zu = /* @__PURE__ */ wn(zu, [["render", Ju]]), Qu = W({
|
|
|
6252
6251
|
setup(t, e) {
|
|
6253
6252
|
const i = pe(), n = pe();
|
|
6254
6253
|
vi(() => {
|
|
6255
|
-
n.value && (i.value = new
|
|
6254
|
+
n.value && (i.value = new Cn(n.value, t.options), l(i.value), i.value.mount(t.extensions, t.transition));
|
|
6256
6255
|
}), hr(() => {
|
|
6257
|
-
var
|
|
6258
|
-
(
|
|
6259
|
-
}), yt(() => vs({}, t.options), (
|
|
6260
|
-
i.value && (i.value.options =
|
|
6261
|
-
}, { deep: !0 }),
|
|
6262
|
-
const r =
|
|
6263
|
-
var
|
|
6264
|
-
return ((
|
|
6265
|
-
}), s =
|
|
6266
|
-
var
|
|
6267
|
-
return ((
|
|
6256
|
+
var c;
|
|
6257
|
+
(c = i.value) == null || c.destroy();
|
|
6258
|
+
}), yt(() => vs({}, t.options), (c) => {
|
|
6259
|
+
i.value && (i.value.options = c);
|
|
6260
|
+
}, { deep: !0 }), en(fs, i);
|
|
6261
|
+
const r = N(() => {
|
|
6262
|
+
var c;
|
|
6263
|
+
return ((c = i.value) == null ? void 0 : c.index) || 0;
|
|
6264
|
+
}), s = N(() => {
|
|
6265
|
+
var c;
|
|
6266
|
+
return ((c = i.value) == null ? void 0 : c.length) || 0;
|
|
6268
6267
|
});
|
|
6269
|
-
function a(
|
|
6268
|
+
function a(c) {
|
|
6270
6269
|
var u;
|
|
6271
|
-
(u = i.value) == null || u.go(
|
|
6270
|
+
(u = i.value) == null || u.go(c);
|
|
6272
6271
|
}
|
|
6273
|
-
function o(
|
|
6272
|
+
function o(c) {
|
|
6274
6273
|
var u;
|
|
6275
|
-
(u = i.value) == null || u.sync(
|
|
6274
|
+
(u = i.value) == null || u.sync(c);
|
|
6276
6275
|
}
|
|
6277
|
-
function c
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
e.emit(`splide:${u}`,
|
|
6276
|
+
function l(c) {
|
|
6277
|
+
sr.forEach((u) => {
|
|
6278
|
+
c.on(u, (...d) => {
|
|
6279
|
+
e.emit(`splide:${u}`, c, ...d);
|
|
6281
6280
|
});
|
|
6282
6281
|
});
|
|
6283
6282
|
}
|
|
@@ -6308,7 +6307,7 @@ function ed(t, e, i, n, r, s) {
|
|
|
6308
6307
|
_: 3
|
|
6309
6308
|
}, 512);
|
|
6310
6309
|
}
|
|
6311
|
-
const td = /* @__PURE__ */
|
|
6310
|
+
const td = /* @__PURE__ */ An(Qu, [["render", ed]]), id = W({
|
|
6312
6311
|
name: "SplideSlide"
|
|
6313
6312
|
}), nd = { class: "splide__slide" };
|
|
6314
6313
|
function rd(t, e, i, n, r, s) {
|
|
@@ -6316,7 +6315,7 @@ function rd(t, e, i, n, r, s) {
|
|
|
6316
6315
|
q(t.$slots, "default")
|
|
6317
6316
|
]);
|
|
6318
6317
|
}
|
|
6319
|
-
const sd = /* @__PURE__ */
|
|
6318
|
+
const sd = /* @__PURE__ */ An(id, [["render", rd]]), ad = {
|
|
6320
6319
|
autoplay: !1,
|
|
6321
6320
|
keyboard: !0,
|
|
6322
6321
|
slideFocus: !0,
|
|
@@ -6361,7 +6360,7 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6361
6360
|
n.value && n.value.go(">");
|
|
6362
6361
|
}, o = () => {
|
|
6363
6362
|
n.value && n.value.go("<");
|
|
6364
|
-
},
|
|
6363
|
+
}, l = N(() => r.value > 0), c = N(
|
|
6365
6364
|
() => r.value < s.value - 1
|
|
6366
6365
|
);
|
|
6367
6366
|
return vi(() => {
|
|
@@ -6373,7 +6372,7 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6373
6372
|
b("div", cd, [
|
|
6374
6373
|
b("div", ud, [
|
|
6375
6374
|
b("section", dd, [
|
|
6376
|
-
|
|
6375
|
+
l.value ? (S(), T("button", {
|
|
6377
6376
|
key: 0,
|
|
6378
6377
|
"aria-label": "Vorheriges Element",
|
|
6379
6378
|
class: "previous-button is-control",
|
|
@@ -6395,7 +6394,7 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6395
6394
|
]),
|
|
6396
6395
|
_: 3
|
|
6397
6396
|
}, 8, ["options"]),
|
|
6398
|
-
|
|
6397
|
+
c.value ? (S(), T("button", {
|
|
6399
6398
|
key: 1,
|
|
6400
6399
|
"aria-label": "Nächstes Element",
|
|
6401
6400
|
class: "next-button is-control",
|
|
@@ -6431,14 +6430,14 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6431
6430
|
},
|
|
6432
6431
|
emits: ["click"],
|
|
6433
6432
|
setup(t, { emit: e }) {
|
|
6434
|
-
const i = e, n =
|
|
6433
|
+
const i = e, n = N(() => t.isDone ? "check" : t.item.icon), r = N(
|
|
6435
6434
|
() => t.isActive || t.isDone && !t.disabled ? 0 : -1
|
|
6436
|
-
), s =
|
|
6435
|
+
), s = N(
|
|
6437
6436
|
() => t.isActive ? "Aktueller Schritt: " + t.item.label : "Zurück zu Schritt: " + t.item.label
|
|
6438
6437
|
), a = () => {
|
|
6439
6438
|
t.isDone && !t.disabled && i("click", t.item.id);
|
|
6440
6439
|
};
|
|
6441
|
-
return (o,
|
|
6440
|
+
return (o, l) => (S(), T("li", {
|
|
6442
6441
|
class: le(["m-form-step", {
|
|
6443
6442
|
"m-form-step--current": o.isActive,
|
|
6444
6443
|
"show-cursor": o.isDone && !o.disabled && !o.isActive
|
|
@@ -6475,21 +6474,21 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6475
6474
|
r.value = n(t.activeItem);
|
|
6476
6475
|
}
|
|
6477
6476
|
);
|
|
6478
|
-
const n = (
|
|
6479
|
-
i("changeStep",
|
|
6477
|
+
const n = (c) => t.stepItems.findIndex((u) => u.id === c), r = pe(n(t.activeItem)), s = (c) => c === t.activeItem, a = (c) => n(c) < r.value, o = (c) => t.disablePreviousSteps && !s(c) && a(c), l = (c) => {
|
|
6478
|
+
i("changeStep", c);
|
|
6480
6479
|
};
|
|
6481
|
-
return (
|
|
6480
|
+
return (c, u) => (S(), T("div", yd, [
|
|
6482
6481
|
b("div", bd, [
|
|
6483
6482
|
b("div", Ed, [
|
|
6484
6483
|
b("div", Sd, [
|
|
6485
6484
|
b("ol", Cd, [
|
|
6486
|
-
(S(!0), T(De, null,
|
|
6485
|
+
(S(!0), T(De, null, Fe(c.stepItems, (d) => (S(), ce(_d, {
|
|
6487
6486
|
key: d.id,
|
|
6488
6487
|
item: d,
|
|
6489
6488
|
"is-active": s(d.id),
|
|
6490
6489
|
"is-done": a(d.id),
|
|
6491
6490
|
disabled: o(d.id),
|
|
6492
|
-
onClick:
|
|
6491
|
+
onClick: l
|
|
6493
6492
|
}, null, 8, ["item", "is-active", "is-done", "disabled"]))), 128))
|
|
6494
6493
|
])
|
|
6495
6494
|
])
|
|
@@ -6497,7 +6496,7 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6497
6496
|
])
|
|
6498
6497
|
]));
|
|
6499
6498
|
}
|
|
6500
|
-
}),
|
|
6499
|
+
}), or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6501
6500
|
__proto__: null,
|
|
6502
6501
|
MucBanner: Ts,
|
|
6503
6502
|
MucButton: Je,
|
|
@@ -6510,11 +6509,11 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6510
6509
|
MucComment: vr,
|
|
6511
6510
|
MucCommentText: Ba,
|
|
6512
6511
|
MucCounter: bo,
|
|
6513
|
-
MucDivider:
|
|
6512
|
+
MucDivider: tn,
|
|
6514
6513
|
MucErrorList: Io,
|
|
6515
6514
|
MucFileDropzone: qa,
|
|
6516
6515
|
MucIcon: Ie,
|
|
6517
|
-
MucInput:
|
|
6516
|
+
MucInput: xo,
|
|
6518
6517
|
MucIntro: $c,
|
|
6519
6518
|
MucLink: mr,
|
|
6520
6519
|
MucPercentageSpinner: Bc,
|
|
@@ -6527,8 +6526,8 @@ const sd = /* @__PURE__ */ wn(id, [["render", rd]]), ad = {
|
|
|
6527
6526
|
MucTextArea: Tc
|
|
6528
6527
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6529
6528
|
function wd(t) {
|
|
6530
|
-
for (const e in
|
|
6531
|
-
t.component(e,
|
|
6529
|
+
for (const e in or)
|
|
6530
|
+
t.component(e, or[e]);
|
|
6532
6531
|
}
|
|
6533
6532
|
const Md = { install: wd };
|
|
6534
6533
|
export {
|
|
@@ -6543,11 +6542,11 @@ export {
|
|
|
6543
6542
|
vr as MucComment,
|
|
6544
6543
|
Ba as MucCommentText,
|
|
6545
6544
|
bo as MucCounter,
|
|
6546
|
-
|
|
6545
|
+
tn as MucDivider,
|
|
6547
6546
|
Io as MucErrorList,
|
|
6548
6547
|
qa as MucFileDropzone,
|
|
6549
6548
|
Ie as MucIcon,
|
|
6550
|
-
|
|
6549
|
+
xo as MucInput,
|
|
6551
6550
|
$c as MucIntro,
|
|
6552
6551
|
mr as MucLink,
|
|
6553
6552
|
Bc as MucPercentageSpinner,
|