@muenchen/muc-patternlab-vue 9.0.0-beta.1 → 9.0.0-beta.3
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
|
@@ -769,8 +769,7 @@ var mt = /* @__PURE__ */ I(dt, [["render", pt], ["__scopeId", "data-v-a337b11f"]
|
|
|
769
769
|
}
|
|
770
770
|
}), Ut = {
|
|
771
771
|
class: "m-error-message",
|
|
772
|
-
role: "alert"
|
|
773
|
-
"aria-live": "polite"
|
|
772
|
+
role: "alert"
|
|
774
773
|
}, Wt = /* @__PURE__ */ d({
|
|
775
774
|
__name: "FormErrorMessage",
|
|
776
775
|
setup(e) {
|
|
@@ -1130,13 +1129,13 @@ var Jt = /* @__PURE__ */ I(Gt, [["render", qt]]), Yt = {
|
|
|
1130
1129
|
modelValue: { default: "" },
|
|
1131
1130
|
modelModifiers: {}
|
|
1132
1131
|
}),
|
|
1133
|
-
emits: /* @__PURE__ */ p(["suffixClick"], ["update:modelValue"]),
|
|
1132
|
+
emits: /* @__PURE__ */ p(["suffixClick", "blur"], ["update:modelValue"]),
|
|
1134
1133
|
setup(t, { emit: s }) {
|
|
1135
1134
|
let c = A(t, "modelValue"), u = te(), d = s, f = n(() => t.type === "search"), p = n(() => {
|
|
1136
1135
|
if (c.value === "") return [];
|
|
1137
1136
|
let e = c.value.toLowerCase();
|
|
1138
1137
|
return t.dataList.filter((t) => t.toLowerCase().startsWith(e) && t.toLowerCase() !== e);
|
|
1139
|
-
}), h = (e) => c.value = e, g = () => d("suffixClick");
|
|
1138
|
+
}), h = (e) => c.value = e, g = () => d("suffixClick"), _ = () => d("blur");
|
|
1140
1139
|
return (n, s) => (y(), a("div", { class: m(["m-form-group", { "has-error": t.errorMsg }]) }, [
|
|
1141
1140
|
t.label ? (y(), a("label", {
|
|
1142
1141
|
key: 0,
|
|
@@ -1161,8 +1160,9 @@ var Jt = /* @__PURE__ */ I(Gt, [["render", qt]]), Yt = {
|
|
|
1161
1160
|
"aria-required": t.required,
|
|
1162
1161
|
maxlength: t.max,
|
|
1163
1162
|
autocomplete: t.autocomplete,
|
|
1164
|
-
name: t.name
|
|
1165
|
-
|
|
1163
|
+
name: t.name,
|
|
1164
|
+
onBlur: _
|
|
1165
|
+
}, null, 40, Mn), [[M, c.value]]),
|
|
1166
1166
|
f.value && p.value.length !== 0 ? (y(), a("ul", Nn, [(y(!0), a(e, null, C(p.value, (e) => (y(), a("li", {
|
|
1167
1167
|
class: "autocomplete-result",
|
|
1168
1168
|
key: e,
|
|
@@ -1563,7 +1563,7 @@ var z = {
|
|
|
1563
1563
|
var a = document.createElement("span");
|
|
1564
1564
|
a.style.position = "absolute", a.style.visibility = "hidden", a.style.whiteSpace = "pre", a.style.height = "auto", a.style.width = "auto", a.style.minWidth = "1ch", H(a, Array.from(e.classList)), e.after(a);
|
|
1565
1565
|
var o = parseFloat(getComputedStyle(a).width);
|
|
1566
|
-
n && (a.innerText = n, r = parseFloat(getComputedStyle(a).width) / o), t && (a.innerText = t, i = parseFloat(getComputedStyle(a).width) / o), a.remove();
|
|
1566
|
+
Number.isNaN(o) ? (r = n.length, i = t.length) : (n && (a.innerText = n, r = parseFloat(getComputedStyle(a).width) / o), t && (a.innerText = t, i = parseFloat(getComputedStyle(a).width) / o)), a.remove();
|
|
1567
1567
|
}
|
|
1568
1568
|
e.style.minWidth = `${Math.ceil(r) + 1}ch`, e.style.width = `${Math.ceil(i) + 1}ch`;
|
|
1569
1569
|
}, e.prototype.setActiveDescendant = function(e) {
|
|
@@ -1571,7 +1571,7 @@ var z = {
|
|
|
1571
1571
|
}, e.prototype.removeActiveDescendant = function() {
|
|
1572
1572
|
this.element.removeAttribute("aria-activedescendant");
|
|
1573
1573
|
}, e.prototype._onInput = function() {
|
|
1574
|
-
this.setWidth();
|
|
1574
|
+
this.type !== er.SelectOne && this.setWidth();
|
|
1575
1575
|
}, e.prototype._onPaste = function(e) {
|
|
1576
1576
|
this.preventPaste && e.preventDefault();
|
|
1577
1577
|
}, e.prototype._onFocus = function() {
|
|
@@ -1581,7 +1581,8 @@ var z = {
|
|
|
1581
1581
|
}, e;
|
|
1582
1582
|
}(), Fr = 4, Ir = function() {
|
|
1583
1583
|
function e(e) {
|
|
1584
|
-
|
|
1584
|
+
var t = e.element;
|
|
1585
|
+
this.element = t, this.scrollPos = this.element.scrollTop, this.height = this.element.offsetHeight;
|
|
1585
1586
|
}
|
|
1586
1587
|
return e.prototype.prepend = function(e) {
|
|
1587
1588
|
var t = this.element.firstElementChild;
|
|
@@ -3160,19 +3161,24 @@ var xa = function(e) {
|
|
|
3160
3161
|
var p = n.addItemFilter instanceof RegExp ? n.addItemFilter : new RegExp(n.addItemFilter);
|
|
3161
3162
|
a.addItemFilter = p.test.bind(p);
|
|
3162
3163
|
}
|
|
3163
|
-
if (this._isTextElement
|
|
3164
|
+
if (this._isTextElement) this.passedElement = new Rr({
|
|
3164
3165
|
element: s,
|
|
3165
3166
|
classNames: a.classNames
|
|
3166
|
-
})
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3167
|
+
});
|
|
3168
|
+
else {
|
|
3169
|
+
var m = s;
|
|
3170
|
+
this.passedElement = new Kr({
|
|
3171
|
+
element: m,
|
|
3172
|
+
classNames: a.classNames,
|
|
3173
|
+
template: function(e) {
|
|
3174
|
+
return r._templates.option(e);
|
|
3175
|
+
},
|
|
3176
|
+
extractPlaceholder: a.placeholder && !this._hasNonChoicePlaceholder
|
|
3177
|
+
});
|
|
3178
|
+
}
|
|
3179
|
+
if (this.initialised = !1, this._store = new $r(a), this._currentValue = "", a.searchEnabled = !l && a.searchEnabled, this._canSearch = a.searchEnabled, this._isScrollingOnIe = !1, this._highlightPosition = 0, this._wasTap = !0, this._placeholderValue = this._generatePlaceholderValue(), this._baseId = dr(s, "choices-"), this._direction = s.dir, !this._direction) {
|
|
3180
|
+
var h = window.getComputedStyle(s).direction;
|
|
3181
|
+
h !== window.getComputedStyle(document.documentElement).direction && (this._direction = h);
|
|
3176
3182
|
}
|
|
3177
3183
|
if (this._idNames = { itemChoice: "item-choice" }, this._templates = i.templates, this._render = this._render.bind(this), this._onFocus = this._onFocus.bind(this), this._onBlur = this._onBlur.bind(this), this._onKeyUp = this._onKeyUp.bind(this), this._onKeyDown = this._onKeyDown.bind(this), this._onInput = this._onInput.bind(this), this._onClick = this._onClick.bind(this), this._onTouchMove = this._onTouchMove.bind(this), this._onTouchEnd = this._onTouchEnd.bind(this), this._onMouseDown = this._onMouseDown.bind(this), this._onMouseOver = this._onMouseOver.bind(this), this._onFormReset = this._onFormReset.bind(this), this._onSelectKey = this._onSelectKey.bind(this), this._onEnterKey = this._onEnterKey.bind(this), this._onEscapeKey = this._onEscapeKey.bind(this), this._onDirectionKey = this._onDirectionKey.bind(this), this._onDeleteKey = this._onDeleteKey.bind(this), this._onChange = this._onChange.bind(this), this._onInvalid = this._onInvalid.bind(this), this.passedElement.isActive) {
|
|
3178
3184
|
a.silent || console.warn("Trying to initialise Choices on element already initialised", { element: t }), this.initialised = !0, this.initialisedOK = !1;
|
|
@@ -3806,7 +3812,7 @@ var xa = function(e) {
|
|
|
3806
3812
|
if (!this.initialised) throw TypeError(`${e} called on a non-initialised instance of Choices`);
|
|
3807
3813
|
if (!this.initialisedOK) throw TypeError(`${e} called for an element which has multiple instances of Choices initialised on it`);
|
|
3808
3814
|
}
|
|
3809
|
-
}, e.version = "11.2.
|
|
3815
|
+
}, e.version = "11.2.3", e;
|
|
3810
3816
|
}(), Aa = {
|
|
3811
3817
|
class: "m-form-group",
|
|
3812
3818
|
ref: "selectComponent"
|
|
@@ -3981,10 +3987,12 @@ var xa = function(e) {
|
|
|
3981
3987
|
modelValue: { default: "" },
|
|
3982
3988
|
modelModifiers: {}
|
|
3983
3989
|
}),
|
|
3984
|
-
emits: ["update:modelValue"],
|
|
3985
|
-
setup(e) {
|
|
3986
|
-
let
|
|
3987
|
-
|
|
3990
|
+
emits: /* @__PURE__ */ p(["blur"], ["update:modelValue"]),
|
|
3991
|
+
setup(e, { emit: t }) {
|
|
3992
|
+
let n = A(e, "modelValue"), s = S(n.value.length), c = t, u = () => {
|
|
3993
|
+
s.value = n.value.length, c("blur");
|
|
3994
|
+
};
|
|
3995
|
+
return (t, c) => (y(), a("div", { class: m(["m-form-group", { "has-error": e.errorMsg }]) }, [
|
|
3988
3996
|
e.label ? (y(), a("label", {
|
|
3989
3997
|
key: 0,
|
|
3990
3998
|
for: "textarea-" + e.id,
|
|
@@ -4002,17 +4010,17 @@ var xa = function(e) {
|
|
|
4002
4010
|
rows: e.rows,
|
|
4003
4011
|
placeholder: e.placeholder,
|
|
4004
4012
|
maxlength: e.maxlength,
|
|
4005
|
-
"onUpdate:modelValue": c[0] ||= (e) =>
|
|
4013
|
+
"onUpdate:modelValue": c[0] ||= (e) => n.value = e,
|
|
4006
4014
|
required: e.required,
|
|
4007
4015
|
"aria-required": e.required,
|
|
4008
|
-
onBlur:
|
|
4009
|
-
}, null, 40, La), [[ne,
|
|
4016
|
+
onBlur: u
|
|
4017
|
+
}, null, 40, La), [[ne, n.value]]), e.maxlength ? (y(), a("div", Ra, [
|
|
4010
4018
|
o("span", {
|
|
4011
4019
|
id: "textarea-count-" + e.id,
|
|
4012
4020
|
class: "m-character-count__message visually-hidden"
|
|
4013
4021
|
}, "Sie können bis zu " + D(e.maxlength) + " Zeichen eingeben.", 9, za),
|
|
4014
|
-
o("span", Ba, D(
|
|
4015
|
-
o("div", Va, D(
|
|
4022
|
+
o("span", Ba, D(n.value.length) + "/" + D(e.maxlength), 1),
|
|
4023
|
+
o("div", Va, D(s.value) + "/" + D(e.maxlength), 1)
|
|
4016
4024
|
])) : i("", !0)], 2),
|
|
4017
4025
|
e.errorMsg ? (y(), r(Wt, { key: 2 }, {
|
|
4018
4026
|
default: P(() => [l(D(e.errorMsg), 1)]),
|
|
@@ -4327,67 +4335,67 @@ function hs(e, t) {
|
|
|
4327
4335
|
function gs(e, t) {
|
|
4328
4336
|
return e && e.classList.contains(t);
|
|
4329
4337
|
}
|
|
4330
|
-
function
|
|
4338
|
+
function Y(e) {
|
|
4331
4339
|
return e.getBoundingClientRect();
|
|
4332
4340
|
}
|
|
4333
|
-
function
|
|
4341
|
+
function _s(e) {
|
|
4334
4342
|
q(e, function(e) {
|
|
4335
4343
|
e && e.parentNode && e.parentNode.removeChild(e);
|
|
4336
4344
|
});
|
|
4337
4345
|
}
|
|
4338
|
-
function
|
|
4346
|
+
function vs(e) {
|
|
4339
4347
|
return is(new DOMParser().parseFromString(e, "text/html").body);
|
|
4340
4348
|
}
|
|
4341
|
-
function
|
|
4349
|
+
function ys(e, t) {
|
|
4342
4350
|
e.preventDefault(), t && (e.stopPropagation(), e.stopImmediatePropagation());
|
|
4343
4351
|
}
|
|
4344
|
-
function
|
|
4352
|
+
function bs(e, t) {
|
|
4345
4353
|
return e && e.querySelector(t);
|
|
4346
4354
|
}
|
|
4347
|
-
function
|
|
4355
|
+
function xs(e, t) {
|
|
4348
4356
|
return t ? Lo(e.querySelectorAll(t)) : [];
|
|
4349
4357
|
}
|
|
4350
|
-
function
|
|
4358
|
+
function Ss(e, t) {
|
|
4351
4359
|
Qo(e, t, !1);
|
|
4352
4360
|
}
|
|
4353
|
-
function
|
|
4361
|
+
function Cs(e) {
|
|
4354
4362
|
return e.timeStamp;
|
|
4355
4363
|
}
|
|
4356
|
-
function
|
|
4364
|
+
function ws(e) {
|
|
4357
4365
|
return Go(e) ? e : e ? e + "px" : "";
|
|
4358
4366
|
}
|
|
4359
|
-
var
|
|
4360
|
-
function
|
|
4361
|
-
if (!e) throw Error("[" +
|
|
4367
|
+
var Ts = "splide", Es = "data-" + Ts;
|
|
4368
|
+
function Ds(e, t) {
|
|
4369
|
+
if (!e) throw Error("[" + Ts + "] " + (t || ""));
|
|
4362
4370
|
}
|
|
4363
|
-
var
|
|
4364
|
-
function
|
|
4365
|
-
return
|
|
4371
|
+
var Os = Math.min, ks = Math.max, As = Math.floor, js = Math.ceil, X = Math.abs;
|
|
4372
|
+
function Ms(e, t, n) {
|
|
4373
|
+
return X(e - t) < n;
|
|
4366
4374
|
}
|
|
4367
|
-
function
|
|
4368
|
-
var i =
|
|
4375
|
+
function Ns(e, t, n, r) {
|
|
4376
|
+
var i = Os(t, n), a = ks(t, n);
|
|
4369
4377
|
return r ? i < e && e < a : i <= e && e <= a;
|
|
4370
4378
|
}
|
|
4371
|
-
function
|
|
4372
|
-
var r =
|
|
4373
|
-
return ks(
|
|
4379
|
+
function Ps(e, t, n) {
|
|
4380
|
+
var r = Os(t, n), i = ks(t, n);
|
|
4381
|
+
return Os(ks(r, e), i);
|
|
4374
4382
|
}
|
|
4375
|
-
function
|
|
4383
|
+
function Fs(e) {
|
|
4376
4384
|
return (e > 0) - +(e < 0);
|
|
4377
4385
|
}
|
|
4378
|
-
function
|
|
4386
|
+
function Is(e, t) {
|
|
4379
4387
|
return q(t, function(t) {
|
|
4380
4388
|
e = e.replace("%s", "" + t);
|
|
4381
4389
|
}), e;
|
|
4382
4390
|
}
|
|
4383
|
-
function
|
|
4391
|
+
function Ls(e) {
|
|
4384
4392
|
return e < 10 ? "0" + e : "" + e;
|
|
4385
4393
|
}
|
|
4386
|
-
var
|
|
4387
|
-
function
|
|
4388
|
-
return "" + e + Rs
|
|
4394
|
+
var Rs = {};
|
|
4395
|
+
function zs(e) {
|
|
4396
|
+
return "" + e + Ls(Rs[e] = (Rs[e] || 0) + 1);
|
|
4389
4397
|
}
|
|
4390
|
-
function
|
|
4398
|
+
function Bs() {
|
|
4391
4399
|
var e = [];
|
|
4392
4400
|
function t(t, n, r, a) {
|
|
4393
4401
|
i(t, n, function(t, n, i) {
|
|
@@ -4437,9 +4445,9 @@ function Vs() {
|
|
|
4437
4445
|
destroy: a
|
|
4438
4446
|
};
|
|
4439
4447
|
}
|
|
4440
|
-
var
|
|
4441
|
-
function
|
|
4442
|
-
var t = e ? e.event.bus : document.createDocumentFragment(), n =
|
|
4448
|
+
var Vs = "mounted", Hs = "ready", Us = "move", Ws = "moved", Gs = "click", Ks = "active", qs = "inactive", Js = "visible", Ys = "hidden", Z = "refresh", Q = "updated", Xs = "resize", Zs = "resized", Qs = "drag", $s = "dragging", ec = "dragged", tc = "scroll", nc = "scrolled", rc = "overflow", ic = "destroy", ac = "arrows:mounted", oc = "arrows:updated", sc = "pagination:mounted", cc = "pagination:updated", lc = "navigation:mounted", uc = "autoplay:play", dc = "autoplay:playing", fc = "autoplay:pause", pc = "lazyload:loaded", mc = "sk", hc = "sh", gc = "ei";
|
|
4449
|
+
function $(e) {
|
|
4450
|
+
var t = e ? e.event.bus : document.createDocumentFragment(), n = Bs();
|
|
4443
4451
|
function r(e, r) {
|
|
4444
4452
|
n.bind(t, Yo(e).join(" "), function(e) {
|
|
4445
4453
|
r.apply(r, Uo(e.detail) ? e.detail : []);
|
|
@@ -4448,18 +4456,18 @@ function Q(e) {
|
|
|
4448
4456
|
function i(e) {
|
|
4449
4457
|
n.dispatch(t, e, Lo(arguments, 1));
|
|
4450
4458
|
}
|
|
4451
|
-
return e && e.event.on(
|
|
4459
|
+
return e && e.event.on(ic, n.destroy), ss(n, {
|
|
4452
4460
|
bus: t,
|
|
4453
4461
|
on: r,
|
|
4454
4462
|
off: K(n.unbind, t),
|
|
4455
4463
|
emit: i
|
|
4456
4464
|
});
|
|
4457
4465
|
}
|
|
4458
|
-
function
|
|
4466
|
+
function _c(e, t, n, r) {
|
|
4459
4467
|
var i = Date.now, a, o = 0, s, c = !0, l = 0;
|
|
4460
4468
|
function u() {
|
|
4461
4469
|
if (!c) {
|
|
4462
|
-
if (o = e ?
|
|
4470
|
+
if (o = e ? Os((i() - a) / e, 1) : 1, n && n(o), o >= 1 && (t(), a = i(), r && ++l >= r)) return f();
|
|
4463
4471
|
s = Bo(u);
|
|
4464
4472
|
}
|
|
4465
4473
|
}
|
|
@@ -4490,7 +4498,7 @@ function vc(e, t, n, r) {
|
|
|
4490
4498
|
isPaused: g
|
|
4491
4499
|
};
|
|
4492
4500
|
}
|
|
4493
|
-
function
|
|
4501
|
+
function vc(e) {
|
|
4494
4502
|
var t = e;
|
|
4495
4503
|
function n(e) {
|
|
4496
4504
|
t = e;
|
|
@@ -4503,14 +4511,14 @@ function yc(e) {
|
|
|
4503
4511
|
is: r
|
|
4504
4512
|
};
|
|
4505
4513
|
}
|
|
4506
|
-
function
|
|
4507
|
-
var n =
|
|
4514
|
+
function yc(e, t) {
|
|
4515
|
+
var n = _c(t || 0, e, null, 1);
|
|
4508
4516
|
return function() {
|
|
4509
4517
|
n.isPaused() && n.start();
|
|
4510
4518
|
};
|
|
4511
4519
|
}
|
|
4512
|
-
function
|
|
4513
|
-
var r = e.state, i = n.breakpoints || {}, a = n.reducedMotion || {}, o =
|
|
4520
|
+
function bc(e, t, n) {
|
|
4521
|
+
var r = e.state, i = n.breakpoints || {}, a = n.reducedMotion || {}, o = Bs(), s = [];
|
|
4514
4522
|
function c() {
|
|
4515
4523
|
var e = n.mediaQuery === "min";
|
|
4516
4524
|
as(i).sort(function(t, n) {
|
|
@@ -4536,7 +4544,7 @@ function xc(e, t, n) {
|
|
|
4536
4544
|
matchMedia(Do).matches && (e ? cs(n, a) : ls(n, as(a)));
|
|
4537
4545
|
}
|
|
4538
4546
|
function p(t, i, a) {
|
|
4539
|
-
cs(n, t), i && cs(Object.getPrototypeOf(n), t), (a || !r.is(Oo)) && e.emit(
|
|
4547
|
+
cs(n, t), i && cs(Object.getPrototypeOf(n), t), (a || !r.is(Oo)) && e.emit(Q, n);
|
|
4540
4548
|
}
|
|
4541
4549
|
return {
|
|
4542
4550
|
setup: c,
|
|
@@ -4545,45 +4553,45 @@ function xc(e, t, n) {
|
|
|
4545
4553
|
set: p
|
|
4546
4554
|
};
|
|
4547
4555
|
}
|
|
4548
|
-
var
|
|
4556
|
+
var xc = "Arrow", Sc = xc + "Left", Cc = xc + "Right", wc = xc + "Up", Tc = xc + "Down", Ec = "rtl", Dc = "ttb", Oc = {
|
|
4549
4557
|
width: ["height"],
|
|
4550
4558
|
left: ["top", "right"],
|
|
4551
4559
|
right: ["bottom", "left"],
|
|
4552
4560
|
x: ["y"],
|
|
4553
4561
|
X: ["Y"],
|
|
4554
4562
|
Y: ["X"],
|
|
4555
|
-
ArrowLeft: [
|
|
4556
|
-
ArrowRight: [
|
|
4563
|
+
ArrowLeft: [wc, Cc],
|
|
4564
|
+
ArrowRight: [Tc, Sc]
|
|
4557
4565
|
};
|
|
4558
|
-
function
|
|
4566
|
+
function kc(e, t, n) {
|
|
4559
4567
|
function r(e, t, r) {
|
|
4560
4568
|
r ||= n.direction;
|
|
4561
|
-
var i = r ===
|
|
4562
|
-
return
|
|
4563
|
-
var n =
|
|
4569
|
+
var i = r === Ec && !t ? 1 : r === Dc ? 0 : -1;
|
|
4570
|
+
return Oc[e] && Oc[e][i] || e.replace(/width|left|right/i, function(e, t) {
|
|
4571
|
+
var n = Oc[e.toLowerCase()][i] || e;
|
|
4564
4572
|
return t > 0 ? n.charAt(0).toUpperCase() + n.slice(1) : n;
|
|
4565
4573
|
});
|
|
4566
4574
|
}
|
|
4567
4575
|
function i(e) {
|
|
4568
|
-
return e * (n.direction ===
|
|
4576
|
+
return e * (n.direction === Ec ? 1 : -1);
|
|
4569
4577
|
}
|
|
4570
4578
|
return {
|
|
4571
4579
|
resolve: r,
|
|
4572
4580
|
orient: i
|
|
4573
4581
|
};
|
|
4574
4582
|
}
|
|
4575
|
-
var
|
|
4583
|
+
var Ac = "role", jc = "tabindex", Mc = "disabled", Nc = "aria-", Pc = Nc + "controls", Fc = Nc + "current", Ic = Nc + "selected", Lc = Nc + "label", Rc = Nc + "labelledby", zc = Nc + "hidden", Bc = Nc + "orientation", Vc = Nc + "roledescription", Hc = Nc + "live", Uc = Nc + "busy", Wc = Nc + "atomic", Gc = [
|
|
4584
|
+
Ac,
|
|
4576
4585
|
jc,
|
|
4577
4586
|
Mc,
|
|
4578
|
-
|
|
4587
|
+
Pc,
|
|
4579
4588
|
Fc,
|
|
4580
|
-
|
|
4581
|
-
$,
|
|
4589
|
+
Lc,
|
|
4582
4590
|
Rc,
|
|
4583
4591
|
zc,
|
|
4584
4592
|
Bc,
|
|
4585
4593
|
Vc
|
|
4586
|
-
], Kc =
|
|
4594
|
+
], Kc = Ts + "__", qc = "is-", Jc = Ts, Yc = Kc + "track", Xc = Kc + "list", Zc = Kc + "slide", Qc = Zc + "--clone", $c = Zc + "__container", el = Kc + "arrows", tl = Kc + "arrow", nl = tl + "--prev", rl = tl + "--next", il = Kc + "pagination", al = il + "__page", ol = Kc + "progress__bar", sl = Kc + "toggle", cl = Kc + "spinner", ll = Kc + "sr", ul = qc + "initialized", dl = qc + "active", fl = qc + "prev", pl = qc + "next", ml = qc + "visible", hl = qc + "loading", gl = qc + "focus-in", _l = qc + "overflow", vl = [
|
|
4587
4595
|
dl,
|
|
4588
4596
|
ml,
|
|
4589
4597
|
fl,
|
|
@@ -4609,12 +4617,12 @@ function bl(e, t) {
|
|
|
4609
4617
|
}
|
|
4610
4618
|
var xl = 5, Sl = 200, Cl = "touchstart mousedown", wl = "touchmove mousemove", Tl = "touchend touchcancel mouseup click";
|
|
4611
4619
|
function El(e, t, n) {
|
|
4612
|
-
var r =
|
|
4620
|
+
var r = $(e), i = r.on, a = r.bind, o = e.root, s = n.i18n, c = {}, l = [], u = [], d = [], f, p, m;
|
|
4613
4621
|
function h() {
|
|
4614
4622
|
y(), b(), v();
|
|
4615
4623
|
}
|
|
4616
4624
|
function g() {
|
|
4617
|
-
i(
|
|
4625
|
+
i(Z, _), i(Z, h), i(Q, v), a(document, Cl + " keydown", function(e) {
|
|
4618
4626
|
m = e.type === "keydown";
|
|
4619
4627
|
}, { capture: !0 }), a(o, "focusin", function() {
|
|
4620
4628
|
Qo(o, gl, !!m);
|
|
@@ -4622,13 +4630,13 @@ function El(e, t, n) {
|
|
|
4622
4630
|
}
|
|
4623
4631
|
function _(e) {
|
|
4624
4632
|
var t = Gc.concat("style");
|
|
4625
|
-
Io(l),
|
|
4633
|
+
Io(l), Ss(o, u), Ss(f, d), us([f, p], t), us(o, e ? t : ["style", Vc]);
|
|
4626
4634
|
}
|
|
4627
4635
|
function v() {
|
|
4628
|
-
|
|
4636
|
+
Ss(o, u), Ss(f, d), u = S(Jc), d = S(Yc), $o(o, u), $o(f, d), J(o, Lc, n.label), J(o, Rc, n.labelledby);
|
|
4629
4637
|
}
|
|
4630
4638
|
function y() {
|
|
4631
|
-
f = x("." + Yc), p = is(f, "." + Xc),
|
|
4639
|
+
f = x("." + Yc), p = is(f, "." + Xc), Ds(f && p, "A track/list element is missing."), Zo(l, rs(p, "." + Zc + ":not(." + Qc + ")")), os({
|
|
4632
4640
|
arrows: el,
|
|
4633
4641
|
pagination: il,
|
|
4634
4642
|
prev: nl,
|
|
@@ -4645,11 +4653,11 @@ function El(e, t, n) {
|
|
|
4645
4653
|
});
|
|
4646
4654
|
}
|
|
4647
4655
|
function b() {
|
|
4648
|
-
var e = o.id ||
|
|
4649
|
-
o.id = e, f.id = f.id || e + "-track", p.id = p.id || e + "-list", !hs(o,
|
|
4656
|
+
var e = o.id || zs(Ts), t = n.role;
|
|
4657
|
+
o.id = e, f.id = f.id || e + "-track", p.id = p.id || e + "-list", !hs(o, Ac) && o.tagName !== "SECTION" && t && J(o, Ac, t), J(o, Vc, s.carousel), J(p, Ac, "presentation");
|
|
4650
4658
|
}
|
|
4651
4659
|
function x(e) {
|
|
4652
|
-
var t =
|
|
4660
|
+
var t = bs(o, e);
|
|
4653
4661
|
return t && bl(t, "." + Jc) === o ? t : void 0;
|
|
4654
4662
|
}
|
|
4655
4663
|
function S(e) {
|
|
@@ -4669,26 +4677,26 @@ function El(e, t, n) {
|
|
|
4669
4677
|
}
|
|
4670
4678
|
var Dl = "slide", Ol = "loop", kl = "fade";
|
|
4671
4679
|
function Al(e, t, n, r) {
|
|
4672
|
-
var i =
|
|
4680
|
+
var i = $(e), a = i.on, o = i.emit, s = i.bind, c = e.Components, l = e.root, u = e.options, d = u.isNavigation, f = u.updateOnMove, p = u.i18n, m = u.pagination, h = u.slideFocus, g = c.Direction.resolve, _ = hs(r, "style"), v = hs(r, Lc), y = n > -1, b = is(r, "." + $c), x;
|
|
4673
4681
|
function S() {
|
|
4674
|
-
y || (r.id = l.id + "-slide" +
|
|
4682
|
+
y || (r.id = l.id + "-slide" + Ls(t + 1), J(r, Ac, m ? "tabpanel" : "group"), J(r, Vc, p.slide), J(r, Lc, v || Is(p.slideLabel, [t + 1, e.length]))), C();
|
|
4675
4683
|
}
|
|
4676
4684
|
function C() {
|
|
4677
|
-
s(r, "click", K(o,
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
], D), a(
|
|
4685
|
+
s(r, "click", K(o, Gs, M)), s(r, "keydown", K(o, mc, M)), a([
|
|
4686
|
+
Ws,
|
|
4687
|
+
hc,
|
|
4688
|
+
nc
|
|
4689
|
+
], D), a(lc, T), f && a(Us, E);
|
|
4682
4690
|
}
|
|
4683
4691
|
function w() {
|
|
4684
|
-
x = !0, i.destroy(),
|
|
4692
|
+
x = !0, i.destroy(), Ss(r, vl), us(r, Gc), J(r, "style", _), J(r, Lc, v || "");
|
|
4685
4693
|
}
|
|
4686
4694
|
function T() {
|
|
4687
4695
|
var i = e.splides.map(function(e) {
|
|
4688
4696
|
var n = e.splide.Components.Slides.getAt(t);
|
|
4689
4697
|
return n ? n.slide.id : "";
|
|
4690
4698
|
}).join(" ");
|
|
4691
|
-
J(r,
|
|
4699
|
+
J(r, Lc, Is(p.slideX, (y ? n : t) + 1)), J(r, Pc, i), J(r, Ac, h ? "button" : ""), h && us(r, Vc);
|
|
4692
4700
|
}
|
|
4693
4701
|
function E() {
|
|
4694
4702
|
x || D();
|
|
@@ -4701,11 +4709,11 @@ function Al(e, t, n, r) {
|
|
|
4701
4709
|
}
|
|
4702
4710
|
function ee() {
|
|
4703
4711
|
var e = A();
|
|
4704
|
-
e !== gs(r, dl) && (Qo(r, dl, e), J(r,
|
|
4712
|
+
e !== gs(r, dl) && (Qo(r, dl, e), J(r, Fc, d && e || ""), o(e ? Ks : qs, M));
|
|
4705
4713
|
}
|
|
4706
4714
|
function O() {
|
|
4707
4715
|
var t = te(), n = !t && (!A() || y);
|
|
4708
|
-
if (e.state.is([jo, Mo]) || J(r, zc, n || ""), J(
|
|
4716
|
+
if (e.state.is([jo, Mo]) || J(r, zc, n || ""), J(xs(r, u.focusableNodes || ""), jc, n ? -1 : ""), h && J(r, jc, n ? -1 : 0), t !== gs(r, ml) && (Qo(r, ml, t), o(t ? Js : Ys, M)), !t && document.activeElement === r) {
|
|
4709
4717
|
var i = c.Slides.getAt(e.index);
|
|
4710
4718
|
i && ms(i.slide);
|
|
4711
4719
|
}
|
|
@@ -4719,12 +4727,12 @@ function Al(e, t, n, r) {
|
|
|
4719
4727
|
}
|
|
4720
4728
|
function te() {
|
|
4721
4729
|
if (e.is(kl)) return A();
|
|
4722
|
-
var t =
|
|
4723
|
-
return
|
|
4730
|
+
var t = Y(c.Elements.track), n = Y(r), i = g("left", !0), a = g("right", !0);
|
|
4731
|
+
return As(t[i]) <= js(n[i]) && As(n[a]) <= js(t[a]);
|
|
4724
4732
|
}
|
|
4725
4733
|
function j(n, r) {
|
|
4726
|
-
var i =
|
|
4727
|
-
return !y && (u.rewind || e.is(Ol)) && (i =
|
|
4734
|
+
var i = X(n - t);
|
|
4735
|
+
return !y && (u.rewind || e.is(Ol)) && (i = Os(i, e.length - i)), i <= r;
|
|
4728
4736
|
}
|
|
4729
4737
|
var M = {
|
|
4730
4738
|
index: t,
|
|
@@ -4741,9 +4749,9 @@ function Al(e, t, n, r) {
|
|
|
4741
4749
|
return M;
|
|
4742
4750
|
}
|
|
4743
4751
|
function jl(e, t, n) {
|
|
4744
|
-
var r =
|
|
4752
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = t.Elements, c = s.slides, l = s.list, u = [];
|
|
4745
4753
|
function d() {
|
|
4746
|
-
f(), i(
|
|
4754
|
+
f(), i(Z, p), i(Z, f);
|
|
4747
4755
|
}
|
|
4748
4756
|
function f() {
|
|
4749
4757
|
c.forEach(function(e, t) {
|
|
@@ -4774,7 +4782,7 @@ function jl(e, t, n) {
|
|
|
4774
4782
|
function _(e) {
|
|
4775
4783
|
var r = t.Controller, i = r.toIndex(e), a = r.hasFocus() ? 1 : n.perPage;
|
|
4776
4784
|
return S(function(e) {
|
|
4777
|
-
return
|
|
4785
|
+
return Ns(e.index, i, i + a - 1);
|
|
4778
4786
|
});
|
|
4779
4787
|
}
|
|
4780
4788
|
function v(e) {
|
|
@@ -4782,16 +4790,16 @@ function jl(e, t, n) {
|
|
|
4782
4790
|
}
|
|
4783
4791
|
function y(e, t) {
|
|
4784
4792
|
q(e, function(e) {
|
|
4785
|
-
if (Go(e) && (e =
|
|
4793
|
+
if (Go(e) && (e = vs(e)), Jo(e)) {
|
|
4786
4794
|
var r = c[t];
|
|
4787
|
-
r ? ts(e, r) : es(l, e), $o(e, n.classes.slide), w(e, K(a,
|
|
4795
|
+
r ? ts(e, r) : es(l, e), $o(e, n.classes.slide), w(e, K(a, Xs));
|
|
4788
4796
|
}
|
|
4789
|
-
}), a(
|
|
4797
|
+
}), a(Z);
|
|
4790
4798
|
}
|
|
4791
4799
|
function b(e) {
|
|
4792
|
-
|
|
4800
|
+
_s(S(e).map(function(e) {
|
|
4793
4801
|
return e.slide;
|
|
4794
|
-
})), a(
|
|
4802
|
+
})), a(Z);
|
|
4795
4803
|
}
|
|
4796
4804
|
function x(e, t) {
|
|
4797
4805
|
g(t).forEach(e);
|
|
@@ -4807,7 +4815,7 @@ function jl(e, t, n) {
|
|
|
4807
4815
|
});
|
|
4808
4816
|
}
|
|
4809
4817
|
function w(e, t) {
|
|
4810
|
-
var n =
|
|
4818
|
+
var n = xs(e, "img"), r = n.length;
|
|
4811
4819
|
r ? n.forEach(function(e) {
|
|
4812
4820
|
o(e, "load error", function() {
|
|
4813
4821
|
--r || t();
|
|
@@ -4838,50 +4846,50 @@ function jl(e, t, n) {
|
|
|
4838
4846
|
};
|
|
4839
4847
|
}
|
|
4840
4848
|
function Ml(e, t, n) {
|
|
4841
|
-
var r =
|
|
4849
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = t.Slides, c = t.Direction.resolve, l = t.Elements, u = l.root, d = l.track, f = l.list, p = s.getAt, m = s.style, h, g, _;
|
|
4842
4850
|
function v() {
|
|
4843
|
-
y(), a(window, "resize load",
|
|
4851
|
+
y(), a(window, "resize load", yc(K(o, Xs))), i([Q, Z], y), i(Xs, b);
|
|
4844
4852
|
}
|
|
4845
4853
|
function y() {
|
|
4846
|
-
h = n.direction ===
|
|
4854
|
+
h = n.direction === Dc, fs(u, "maxWidth", ws(n.width)), fs(d, c("paddingLeft"), x(!1)), fs(d, c("paddingRight"), x(!0)), b(!0);
|
|
4847
4855
|
}
|
|
4848
4856
|
function b(e) {
|
|
4849
|
-
var t =
|
|
4850
|
-
(e || g.width !== t.width || g.height !== t.height) && (fs(d, "height", S()), m(c("marginRight"),
|
|
4857
|
+
var t = Y(u);
|
|
4858
|
+
(e || g.width !== t.width || g.height !== t.height) && (fs(d, "height", S()), m(c("marginRight"), ws(n.gap)), m("width", w()), m("height", T(), !0), g = t, o(Zs), _ !== (_ = j()) && (Qo(u, _l, _), o(rc, _)));
|
|
4851
4859
|
}
|
|
4852
4860
|
function x(e) {
|
|
4853
4861
|
var t = n.padding, r = c(e ? "right" : "left");
|
|
4854
|
-
return t &&
|
|
4862
|
+
return t && ws(t[r] || (Ho(t) ? 0 : t)) || "0px";
|
|
4855
4863
|
}
|
|
4856
4864
|
function S() {
|
|
4857
4865
|
var e = "";
|
|
4858
|
-
return h && (e = C(),
|
|
4866
|
+
return h && (e = C(), Ds(e, "height or heightRatio is missing."), e = "calc(" + e + " - " + x(!1) + " - " + x(!0) + ")"), e;
|
|
4859
4867
|
}
|
|
4860
4868
|
function C() {
|
|
4861
|
-
return
|
|
4869
|
+
return ws(n.height || Y(f).width * n.heightRatio);
|
|
4862
4870
|
}
|
|
4863
4871
|
function w() {
|
|
4864
|
-
return n.autoWidth ? null :
|
|
4872
|
+
return n.autoWidth ? null : ws(n.fixedWidth) || (h ? "" : E());
|
|
4865
4873
|
}
|
|
4866
4874
|
function T() {
|
|
4867
|
-
return
|
|
4875
|
+
return ws(n.fixedHeight) || (h ? n.autoHeight ? null : E() : C());
|
|
4868
4876
|
}
|
|
4869
4877
|
function E() {
|
|
4870
|
-
var e =
|
|
4878
|
+
var e = ws(n.gap);
|
|
4871
4879
|
return "calc((100%" + (e && " + " + e) + ")/" + (n.perPage || 1) + (e && " - " + e) + ")";
|
|
4872
4880
|
}
|
|
4873
4881
|
function D() {
|
|
4874
|
-
return
|
|
4882
|
+
return Y(f)[c("width")];
|
|
4875
4883
|
}
|
|
4876
4884
|
function ee(e, t) {
|
|
4877
4885
|
var n = p(e || 0);
|
|
4878
|
-
return n ?
|
|
4886
|
+
return n ? Y(n.slide)[c("width")] + (t ? 0 : A()) : 0;
|
|
4879
4887
|
}
|
|
4880
4888
|
function O(e, t) {
|
|
4881
4889
|
var n = p(e);
|
|
4882
4890
|
if (n) {
|
|
4883
|
-
var r =
|
|
4884
|
-
return
|
|
4891
|
+
var r = Y(n.slide)[c("right")], i = Y(f)[c("left")];
|
|
4892
|
+
return X(r - i) + (t ? 0 : A());
|
|
4885
4893
|
}
|
|
4886
4894
|
return 0;
|
|
4887
4895
|
}
|
|
@@ -4911,19 +4919,19 @@ function Ml(e, t, n) {
|
|
|
4911
4919
|
}
|
|
4912
4920
|
var Nl = 2;
|
|
4913
4921
|
function Pl(e, t, n) {
|
|
4914
|
-
var r =
|
|
4922
|
+
var r = $(e), i = r.on, a = t.Elements, o = t.Slides, s = t.Direction.resolve, c = [], l;
|
|
4915
4923
|
function u() {
|
|
4916
|
-
i(
|
|
4924
|
+
i(Z, d), i([Q, Xs], p), (l = g()) && (m(l), t.Layout.resize(!0));
|
|
4917
4925
|
}
|
|
4918
4926
|
function d() {
|
|
4919
4927
|
f(), u();
|
|
4920
4928
|
}
|
|
4921
4929
|
function f() {
|
|
4922
|
-
|
|
4930
|
+
_s(c), Io(c), r.destroy();
|
|
4923
4931
|
}
|
|
4924
4932
|
function p() {
|
|
4925
4933
|
var e = g();
|
|
4926
|
-
l !== e && (l < e || !e) && r.emit(
|
|
4934
|
+
l !== e && (l < e || !e) && r.emit(Z);
|
|
4927
4935
|
}
|
|
4928
4936
|
function m(e) {
|
|
4929
4937
|
var t = o.get().slice(), n = t.length;
|
|
@@ -4937,14 +4945,14 @@ function Pl(e, t, n) {
|
|
|
4937
4945
|
}
|
|
4938
4946
|
function h(t, r) {
|
|
4939
4947
|
var i = t.cloneNode(!0);
|
|
4940
|
-
return $o(i, n.classes.clone), i.id = e.root.id + "-clone" +
|
|
4948
|
+
return $o(i, n.classes.clone), i.id = e.root.id + "-clone" + Ls(r + 1), i;
|
|
4941
4949
|
}
|
|
4942
4950
|
function g() {
|
|
4943
4951
|
var r = n.clones;
|
|
4944
4952
|
if (!e.is(Ol)) r = 0;
|
|
4945
4953
|
else if (Ko(r)) {
|
|
4946
4954
|
var i = n[s("fixedWidth")] && t.Layout.slideSize(0);
|
|
4947
|
-
r = i &&
|
|
4955
|
+
r = i && js(Y(a.track)[s("width")] / i) || n[s("autoWidth")] && e.length || n.perPage * Nl;
|
|
4948
4956
|
}
|
|
4949
4957
|
return r;
|
|
4950
4958
|
}
|
|
@@ -4954,21 +4962,21 @@ function Pl(e, t, n) {
|
|
|
4954
4962
|
};
|
|
4955
4963
|
}
|
|
4956
4964
|
function Fl(e, t, n) {
|
|
4957
|
-
var r =
|
|
4965
|
+
var r = $(e), i = r.on, a = r.emit, o = e.state.set, s = t.Layout, c = s.slideSize, l = s.getPadding, u = s.totalSize, d = s.listSize, f = s.sliderSize, p = t.Direction, m = p.resolve, h = p.orient, g = t.Elements, _ = g.list, v = g.track, y;
|
|
4958
4966
|
function b() {
|
|
4959
4967
|
y = t.Transition, i([
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4968
|
+
Vs,
|
|
4969
|
+
Zs,
|
|
4970
|
+
Q,
|
|
4971
|
+
Z
|
|
4964
4972
|
], x);
|
|
4965
4973
|
}
|
|
4966
4974
|
function x() {
|
|
4967
4975
|
t.Controller.isBusy() || (t.Scroll.cancel(), C(e.index), t.Slides.update());
|
|
4968
4976
|
}
|
|
4969
4977
|
function S(e, t, n, r) {
|
|
4970
|
-
e !== t && M(e > n) && (D(), w(E(k(), e > n), !0)), o(jo), a(
|
|
4971
|
-
o(Ao), a(
|
|
4978
|
+
e !== t && M(e > n) && (D(), w(E(k(), e > n), !0)), o(jo), a(Us, t, n, e), y.start(t, function() {
|
|
4979
|
+
o(Ao), a(Ws, t, n, e), r && r();
|
|
4972
4980
|
});
|
|
4973
4981
|
}
|
|
4974
4982
|
function C(e) {
|
|
@@ -4977,7 +4985,7 @@ function Fl(e, t, n) {
|
|
|
4977
4985
|
function w(t, n) {
|
|
4978
4986
|
if (!e.is(kl)) {
|
|
4979
4987
|
var r = n ? t : T(t);
|
|
4980
|
-
fs(_, "transform", "translate" + m("X") + "(" + r + "px)"), t !== r && a(
|
|
4988
|
+
fs(_, "transform", "translate" + m("X") + "(" + r + "px)"), t !== r && a(hc);
|
|
4981
4989
|
}
|
|
4982
4990
|
}
|
|
4983
4991
|
function T(n) {
|
|
@@ -4989,14 +4997,14 @@ function Fl(e, t, n) {
|
|
|
4989
4997
|
}
|
|
4990
4998
|
function E(e, t) {
|
|
4991
4999
|
var n = e - j(t), r = f();
|
|
4992
|
-
return e -= h(r * (
|
|
5000
|
+
return e -= h(r * (js(X(n) / r) || 1)) * (t ? 1 : -1), e;
|
|
4993
5001
|
}
|
|
4994
5002
|
function D() {
|
|
4995
5003
|
w(k(), !0), y.cancel();
|
|
4996
5004
|
}
|
|
4997
5005
|
function ee(e) {
|
|
4998
5006
|
for (var n = t.Slides.get(), r = 0, i = Infinity, a = 0; a < n.length; a++) {
|
|
4999
|
-
var o = n[a].index, s =
|
|
5007
|
+
var o = n[a].index, s = X(O(o, !0) - e);
|
|
5000
5008
|
if (s <= i) i = s, r = o;
|
|
5001
5009
|
else break;
|
|
5002
5010
|
}
|
|
@@ -5008,10 +5016,10 @@ function Fl(e, t, n) {
|
|
|
5008
5016
|
}
|
|
5009
5017
|
function k() {
|
|
5010
5018
|
var e = m("left");
|
|
5011
|
-
return
|
|
5019
|
+
return Y(_)[e] - Y(v)[e] + h(l(!1));
|
|
5012
5020
|
}
|
|
5013
5021
|
function A(t) {
|
|
5014
|
-
return n.trimSpace && e.is(Dl) && (t =
|
|
5022
|
+
return n.trimSpace && e.is(Dl) && (t = Ps(t, 0, h(f(!0) - d()))), t;
|
|
5015
5023
|
}
|
|
5016
5024
|
function te(e) {
|
|
5017
5025
|
var t = n.focus;
|
|
@@ -5022,7 +5030,7 @@ function Fl(e, t, n) {
|
|
|
5022
5030
|
}
|
|
5023
5031
|
function M(e) {
|
|
5024
5032
|
var t = h(E(k(), e));
|
|
5025
|
-
return e ? t >= 0 : t <= _[m("scrollWidth")] -
|
|
5033
|
+
return e ? t >= 0 : t <= _[m("scrollWidth")] - Y(v)[m("width")];
|
|
5026
5034
|
}
|
|
5027
5035
|
function ne(e, t) {
|
|
5028
5036
|
t = Ko(t) ? k() : t;
|
|
@@ -5045,21 +5053,21 @@ function Fl(e, t, n) {
|
|
|
5045
5053
|
};
|
|
5046
5054
|
}
|
|
5047
5055
|
function Il(e, t, n) {
|
|
5048
|
-
var r =
|
|
5056
|
+
var r = $(e), i = r.on, a = r.emit, o = t.Move, s = o.getPosition, c = o.getLimit, l = o.toPosition, u = t.Slides, d = u.isEnough, f = u.getLength, p = n.omitEnd, m = e.is(Ol), h = e.is(Dl), g = K(k, !1), _ = K(k, !0), v = n.start || 0, y, b = v, x, S, C;
|
|
5049
5057
|
function w() {
|
|
5050
5058
|
T(), i([
|
|
5059
|
+
Q,
|
|
5051
5060
|
Z,
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
], T), i(Qs, E);
|
|
5061
|
+
gc
|
|
5062
|
+
], T), i(Zs, E);
|
|
5055
5063
|
}
|
|
5056
5064
|
function T() {
|
|
5057
5065
|
x = f(!0), S = n.perMove, C = n.perPage, y = M();
|
|
5058
|
-
var e =
|
|
5066
|
+
var e = Ps(v, 0, p ? y : x - 1);
|
|
5059
5067
|
e !== v && (v = e, o.reposition());
|
|
5060
5068
|
}
|
|
5061
5069
|
function E() {
|
|
5062
|
-
y !== M() && a(
|
|
5070
|
+
y !== M() && a(gc);
|
|
5063
5071
|
}
|
|
5064
5072
|
function D(e, t, n) {
|
|
5065
5073
|
if (!ae()) {
|
|
@@ -5070,7 +5078,7 @@ function Il(e, t, n) {
|
|
|
5070
5078
|
function ee(e, n, r, i) {
|
|
5071
5079
|
t.Scroll.scroll(e, n, r, function() {
|
|
5072
5080
|
var e = j(o.toIndex(s()));
|
|
5073
|
-
re(p ?
|
|
5081
|
+
re(p ? Os(e, y) : e), i && i();
|
|
5074
5082
|
});
|
|
5075
5083
|
}
|
|
5076
5084
|
function O(e) {
|
|
@@ -5078,22 +5086,22 @@ function Il(e, t, n) {
|
|
|
5078
5086
|
if (Go(e)) {
|
|
5079
5087
|
var n = e.match(/([+\-<>])(\d+)?/) || [], r = n[1], i = n[2];
|
|
5080
5088
|
r === "+" || r === "-" ? t = A(v + +("" + r + (+i || 1)), v) : r === ">" ? t = i ? ne(+i) : g(!0) : r === "<" && (t = _(!0));
|
|
5081
|
-
} else t = m ? e :
|
|
5089
|
+
} else t = m ? e : Ps(e, 0, y);
|
|
5082
5090
|
return t;
|
|
5083
5091
|
}
|
|
5084
5092
|
function k(e, t) {
|
|
5085
5093
|
var n = S || (F() ? 1 : C), r = A(v + n * (e ? -1 : 1), v, !(S || F()));
|
|
5086
|
-
return r === -1 && h && !
|
|
5094
|
+
return r === -1 && h && !Ms(s(), c(!e), 1) ? e ? 0 : y : t ? r : j(r);
|
|
5087
5095
|
}
|
|
5088
5096
|
function A(e, t, r) {
|
|
5089
5097
|
if (d() || F()) {
|
|
5090
5098
|
var i = te(e);
|
|
5091
|
-
i !== e && (t = e, e = i, r = !1), e < 0 || e > y ? e = !S && (
|
|
5099
|
+
i !== e && (t = e, e = i, r = !1), e < 0 || e > y ? e = !S && (Ns(0, e, t, !0) || Ns(y, t, e, !0)) ? ne(N(e)) : m ? r ? e < 0 ? -(x % C || C) : x : e : n.rewind ? e < 0 ? y : 0 : -1 : r && e !== t && (e = ne(N(t) + (e < t ? -1 : 1)));
|
|
5092
5100
|
} else e = -1;
|
|
5093
5101
|
return e;
|
|
5094
5102
|
}
|
|
5095
5103
|
function te(t) {
|
|
5096
|
-
if (h && n.trimSpace === "move" && t !== v) for (var r = s(); r === l(t, !0) &&
|
|
5104
|
+
if (h && n.trimSpace === "move" && t !== v) for (var r = s(); r === l(t, !0) && Ns(t, 0, e.length - 1, !n.rewind);) t < v ? --t : ++t;
|
|
5097
5105
|
return t;
|
|
5098
5106
|
}
|
|
5099
5107
|
function j(e) {
|
|
@@ -5104,17 +5112,17 @@ function Il(e, t, n) {
|
|
|
5104
5112
|
e++;
|
|
5105
5113
|
break;
|
|
5106
5114
|
}
|
|
5107
|
-
return
|
|
5115
|
+
return Ps(e, 0, x - 1);
|
|
5108
5116
|
}
|
|
5109
5117
|
function ne(e) {
|
|
5110
|
-
return
|
|
5118
|
+
return Ps(F() ? e : C * e, 0, y);
|
|
5111
5119
|
}
|
|
5112
5120
|
function N(e) {
|
|
5113
|
-
return F() ?
|
|
5121
|
+
return F() ? Os(e, y) : As((e >= y ? x - 1 : e) / C);
|
|
5114
5122
|
}
|
|
5115
5123
|
function P(e) {
|
|
5116
5124
|
var t = o.toIndex(e);
|
|
5117
|
-
return h ?
|
|
5125
|
+
return h ? Ps(t, 0, y) : t;
|
|
5118
5126
|
}
|
|
5119
5127
|
function re(e) {
|
|
5120
5128
|
e !== v && (b = v, v = e);
|
|
@@ -5147,9 +5155,9 @@ function Il(e, t, n) {
|
|
|
5147
5155
|
}
|
|
5148
5156
|
var Ll = "http://www.w3.org/2000/svg", Rl = "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", zl = 40;
|
|
5149
5157
|
function Bl(e, t, n) {
|
|
5150
|
-
var r =
|
|
5158
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = n.classes, c = n.i18n, l = t.Elements, u = t.Controller, d = l.arrows, f = l.track, p = d, m = l.prev, h = l.next, g, _, v = {};
|
|
5151
5159
|
function y() {
|
|
5152
|
-
x(), i(
|
|
5160
|
+
x(), i(Q, b);
|
|
5153
5161
|
}
|
|
5154
5162
|
function b() {
|
|
5155
5163
|
S(), y();
|
|
@@ -5159,18 +5167,18 @@ function Bl(e, t, n) {
|
|
|
5159
5167
|
e && !(m && h) && T(), m && h && (ss(v, {
|
|
5160
5168
|
prev: m,
|
|
5161
5169
|
next: h
|
|
5162
|
-
}), ps(p, e ? "" : "none"), $o(p, _ = el + "--" + n.direction), e && (C(), D(), J([m, h],
|
|
5170
|
+
}), ps(p, e ? "" : "none"), $o(p, _ = el + "--" + n.direction), e && (C(), D(), J([m, h], Pc, f.id), o(ac, m, h)));
|
|
5163
5171
|
}
|
|
5164
5172
|
function S() {
|
|
5165
|
-
r.destroy(),
|
|
5173
|
+
r.destroy(), Ss(p, _), g ? (_s(d ? [m, h] : p), m = h = null) : us([m, h], Gc);
|
|
5166
5174
|
}
|
|
5167
5175
|
function C() {
|
|
5168
5176
|
i([
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5177
|
+
Vs,
|
|
5178
|
+
Ws,
|
|
5179
|
+
Z,
|
|
5180
|
+
nc,
|
|
5181
|
+
gc
|
|
5174
5182
|
], D), a(h, "click", K(w, ">")), a(m, "click", K(w, "<"));
|
|
5175
5183
|
}
|
|
5176
5184
|
function w(e) {
|
|
@@ -5180,12 +5188,12 @@ function Bl(e, t, n) {
|
|
|
5180
5188
|
p = d || ds("div", s.arrows), m = E(!0), h = E(!1), g = !0, es(p, [m, h]), !d && ts(p, f);
|
|
5181
5189
|
}
|
|
5182
5190
|
function E(e) {
|
|
5183
|
-
return
|
|
5191
|
+
return vs("<button class=\"" + s.arrow + " " + (e ? s.prev : s.next) + "\" type=\"button\"><svg xmlns=\"" + Ll + "\" viewBox=\"0 0 " + zl + " " + zl + "\" width=\"" + zl + "\" height=\"" + zl + "\" focusable=\"false\"><path d=\"" + (n.arrowPath || Rl) + "\" />");
|
|
5184
5192
|
}
|
|
5185
5193
|
function D() {
|
|
5186
5194
|
if (m && h) {
|
|
5187
5195
|
var t = e.index, n = u.getPrev(), r = u.getNext(), i = n > -1 && t < n ? c.last : c.prev, a = r > -1 && t > r ? c.first : c.next;
|
|
5188
|
-
m.disabled = n < 0, h.disabled = r < 0, J(m,
|
|
5196
|
+
m.disabled = n < 0, h.disabled = r < 0, J(m, Lc, i), J(h, Lc, a), o(oc, m, h, n, r);
|
|
5189
5197
|
}
|
|
5190
5198
|
}
|
|
5191
5199
|
return {
|
|
@@ -5195,11 +5203,11 @@ function Bl(e, t, n) {
|
|
|
5195
5203
|
update: D
|
|
5196
5204
|
};
|
|
5197
5205
|
}
|
|
5198
|
-
var Vl =
|
|
5206
|
+
var Vl = Es + "-interval";
|
|
5199
5207
|
function Hl(e, t, n) {
|
|
5200
|
-
var r =
|
|
5208
|
+
var r = $(e), i = r.on, a = r.bind, o = r.emit, s = _c(n.interval, e.go.bind(e, ">"), C), c = s.isPaused, l = t.Elements, u = t.Elements, d = u.root, f = u.toggle, p = n.autoplay, m, h, g = p === "pause";
|
|
5201
5209
|
function _() {
|
|
5202
|
-
p && (v(), f && J(f,
|
|
5210
|
+
p && (v(), f && J(f, Pc, l.track.id), g || y(), S());
|
|
5203
5211
|
}
|
|
5204
5212
|
function v() {
|
|
5205
5213
|
n.pauseOnHover && a(d, "mouseenter mouseleave", function(e) {
|
|
@@ -5209,26 +5217,26 @@ function Hl(e, t, n) {
|
|
|
5209
5217
|
}), f && a(f, "click", function() {
|
|
5210
5218
|
g ? y() : b(!0);
|
|
5211
5219
|
}), i([
|
|
5212
|
-
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
], s.rewind), i(
|
|
5220
|
+
Us,
|
|
5221
|
+
tc,
|
|
5222
|
+
Z
|
|
5223
|
+
], s.rewind), i(Us, w);
|
|
5216
5224
|
}
|
|
5217
5225
|
function y() {
|
|
5218
|
-
c() && t.Slides.isEnough() && (s.start(!n.resetProgress), h = m = g = !1, S(), o(
|
|
5226
|
+
c() && t.Slides.isEnough() && (s.start(!n.resetProgress), h = m = g = !1, S(), o(uc));
|
|
5219
5227
|
}
|
|
5220
5228
|
function b(e) {
|
|
5221
|
-
e === void 0 && (e = !0), g = !!e, S(), c() || (s.pause(), o(
|
|
5229
|
+
e === void 0 && (e = !0), g = !!e, S(), c() || (s.pause(), o(fc));
|
|
5222
5230
|
}
|
|
5223
5231
|
function x() {
|
|
5224
5232
|
g || (m || h ? b(!1) : y());
|
|
5225
5233
|
}
|
|
5226
5234
|
function S() {
|
|
5227
|
-
f && (Qo(f, dl, !g), J(f,
|
|
5235
|
+
f && (Qo(f, dl, !g), J(f, Lc, n.i18n[g ? "play" : "pause"]));
|
|
5228
5236
|
}
|
|
5229
5237
|
function C(e) {
|
|
5230
5238
|
var t = l.bar;
|
|
5231
|
-
t && fs(t, "width", e * 100 + "%"), o(
|
|
5239
|
+
t && fs(t, "width", e * 100 + "%"), o(dc, e);
|
|
5232
5240
|
}
|
|
5233
5241
|
function w(e) {
|
|
5234
5242
|
var r = t.Slides.getAt(e);
|
|
@@ -5243,12 +5251,12 @@ function Hl(e, t, n) {
|
|
|
5243
5251
|
};
|
|
5244
5252
|
}
|
|
5245
5253
|
function Ul(e, t, n) {
|
|
5246
|
-
var r =
|
|
5254
|
+
var r = $(e).on;
|
|
5247
5255
|
function i() {
|
|
5248
|
-
n.cover && (r(
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5256
|
+
n.cover && (r(pc, K(o, !0)), r([
|
|
5257
|
+
Vs,
|
|
5258
|
+
Q,
|
|
5259
|
+
Z
|
|
5252
5260
|
], K(a, !0)));
|
|
5253
5261
|
}
|
|
5254
5262
|
function a(e) {
|
|
@@ -5267,25 +5275,25 @@ function Ul(e, t, n) {
|
|
|
5267
5275
|
}
|
|
5268
5276
|
var Wl = 10, Gl = 600, Kl = .6, ql = 1.5, Jl = 800;
|
|
5269
5277
|
function Yl(e, t, n) {
|
|
5270
|
-
var r =
|
|
5278
|
+
var r = $(e), i = r.on, a = r.emit, o = e.state.set, s = t.Move, c = s.getPosition, l = s.getLimit, u = s.exceededLimit, d = s.translate, f = e.is(Dl), p, m, h = 1;
|
|
5271
5279
|
function g() {
|
|
5272
|
-
i(
|
|
5280
|
+
i(Us, b), i([Q, Z], x);
|
|
5273
5281
|
}
|
|
5274
5282
|
function _(e, n, r, i, l) {
|
|
5275
5283
|
var d = c();
|
|
5276
5284
|
if (b(), r && (!f || !u())) {
|
|
5277
|
-
var g = t.Layout.sliderSize(), _ =
|
|
5285
|
+
var g = t.Layout.sliderSize(), _ = Fs(e) * g * As(X(e) / g) || 0;
|
|
5278
5286
|
e = s.toPosition(t.Controller.toDest(e % g)) + _;
|
|
5279
5287
|
}
|
|
5280
|
-
var x =
|
|
5281
|
-
h = 1, n = x ? 0 : n ||
|
|
5288
|
+
var x = Ms(d, e, 1);
|
|
5289
|
+
h = 1, n = x ? 0 : n || ks(X(e - d) / ql, Jl), m = i, p = _c(n, v, K(y, d, e, l), 1), o(Mo), a(tc), p.start();
|
|
5282
5290
|
}
|
|
5283
5291
|
function v() {
|
|
5284
|
-
o(Ao), m && m(), a(
|
|
5292
|
+
o(Ao), m && m(), a(nc);
|
|
5285
5293
|
}
|
|
5286
5294
|
function y(e, t, n, r) {
|
|
5287
5295
|
var i = c(), a = (e + (t - e) * S(r) - i) * h;
|
|
5288
|
-
d(i + a), f && !n && u() && (h *= Kl,
|
|
5296
|
+
d(i + a), f && !n && u() && (h *= Kl, X(a) < Wl && _(l(u(!0)), Gl, !1, m, !0));
|
|
5289
5297
|
}
|
|
5290
5298
|
function b() {
|
|
5291
5299
|
p && p.cancel();
|
|
@@ -5309,9 +5317,9 @@ var Xl = {
|
|
|
5309
5317
|
capture: !0
|
|
5310
5318
|
};
|
|
5311
5319
|
function Zl(e, t, n) {
|
|
5312
|
-
var r =
|
|
5320
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = r.unbind, c = e.state, l = t.Move, u = t.Scroll, d = t.Controller, f = t.Elements.track, p = t.Media.reduce, m = t.Direction, h = m.resolve, g = m.orient, _ = l.getPosition, v = l.exceededLimit, y, b, x, S, C, w = !1, T, E, D;
|
|
5313
5321
|
function ee() {
|
|
5314
|
-
o(f, wl, zo, Xl), o(f, Tl, zo, Xl), o(f, Cl, k, Xl), o(f, "click", j, { capture: !0 }), o(f, "dragstart",
|
|
5322
|
+
o(f, wl, zo, Xl), o(f, Tl, zo, Xl), o(f, Cl, k, Xl), o(f, "click", j, { capture: !0 }), o(f, "dragstart", ys), i([Vs, Q], O);
|
|
5315
5323
|
}
|
|
5316
5324
|
function O() {
|
|
5317
5325
|
var e = n.drag;
|
|
@@ -5320,35 +5328,35 @@ function Zl(e, t, n) {
|
|
|
5320
5328
|
function k(e) {
|
|
5321
5329
|
if (T = !1, !E) {
|
|
5322
5330
|
var t = ue(e);
|
|
5323
|
-
le(e.target) && (t || !e.button) && (d.isBusy() ?
|
|
5331
|
+
le(e.target) && (t || !e.button) && (d.isBusy() ? ys(e, !0) : (D = t ? f : window, C = c.is([jo, Mo]), x = null, o(D, wl, A, Xl), o(D, Tl, te, Xl), l.cancel(), u.cancel(), M(e)));
|
|
5324
5332
|
}
|
|
5325
5333
|
}
|
|
5326
5334
|
function A(e) {
|
|
5327
|
-
if (c.is(No) || (c.set(No), a(
|
|
5335
|
+
if (c.is(No) || (c.set(No), a(Qs)), e.cancelable) if (C) {
|
|
5328
5336
|
l.translate(y + ce(F(e)));
|
|
5329
5337
|
var t = ae(e) > Sl, n = w !== (w = v());
|
|
5330
|
-
(t || n) && M(e), T = !0, a(
|
|
5331
|
-
} else P(e) && (C = N(e),
|
|
5338
|
+
(t || n) && M(e), T = !0, a($s), ys(e);
|
|
5339
|
+
} else P(e) && (C = N(e), ys(e));
|
|
5332
5340
|
}
|
|
5333
5341
|
function te(e) {
|
|
5334
|
-
c.is(No) && (c.set(Ao), a(
|
|
5342
|
+
c.is(No) && (c.set(Ao), a(ec)), C && (ne(e), ys(e)), s(D, wl, A), s(D, Tl, te), C = !1;
|
|
5335
5343
|
}
|
|
5336
5344
|
function j(e) {
|
|
5337
|
-
!E && T &&
|
|
5345
|
+
!E && T && ys(e, !0);
|
|
5338
5346
|
}
|
|
5339
5347
|
function M(e) {
|
|
5340
5348
|
x = b, b = e, y = _();
|
|
5341
5349
|
}
|
|
5342
5350
|
function ne(t) {
|
|
5343
5351
|
var r = re(t), i = ie(r), a = n.rewind && n.rewindByDrag;
|
|
5344
|
-
p(!1), S ? d.scroll(i, 0, n.snap) : e.is(kl) ? d.go(g(
|
|
5352
|
+
p(!1), S ? d.scroll(i, 0, n.snap) : e.is(kl) ? d.go(g(Fs(r)) < 0 ? a ? "<" : "-" : a ? ">" : "+") : e.is(Dl) && w && a ? d.go(v(!0) ? ">" : "<") : d.go(d.toDest(i), !0), p(!0);
|
|
5345
5353
|
}
|
|
5346
5354
|
function N(e) {
|
|
5347
5355
|
var t = n.dragMinThreshold, r = Ho(t), i = r && t.mouse || 0, a = (r ? t.touch : +t) || 10;
|
|
5348
|
-
return
|
|
5356
|
+
return X(F(e)) > (ue(e) ? a : i);
|
|
5349
5357
|
}
|
|
5350
5358
|
function P(e) {
|
|
5351
|
-
return
|
|
5359
|
+
return X(F(e)) > X(F(e, !0));
|
|
5352
5360
|
}
|
|
5353
5361
|
function re(t) {
|
|
5354
5362
|
if (e.is(Ol) || !w) {
|
|
@@ -5358,13 +5366,13 @@ function Zl(e, t, n) {
|
|
|
5358
5366
|
return 0;
|
|
5359
5367
|
}
|
|
5360
5368
|
function ie(e) {
|
|
5361
|
-
return _() +
|
|
5369
|
+
return _() + Fs(e) * Os(X(e) * (n.flickPower || 600), S ? Infinity : t.Layout.listSize() * (n.flickMaxPages || 1));
|
|
5362
5370
|
}
|
|
5363
5371
|
function F(e, t) {
|
|
5364
5372
|
return se(e, t) - se(oe(e), t);
|
|
5365
5373
|
}
|
|
5366
5374
|
function ae(e) {
|
|
5367
|
-
return
|
|
5375
|
+
return Cs(e) - Cs(oe(e));
|
|
5368
5376
|
}
|
|
5369
5377
|
function oe(e) {
|
|
5370
5378
|
return b === e && x || b;
|
|
@@ -5396,19 +5404,19 @@ function Zl(e, t, n) {
|
|
|
5396
5404
|
}
|
|
5397
5405
|
var Ql = {
|
|
5398
5406
|
Spacebar: " ",
|
|
5399
|
-
Right:
|
|
5400
|
-
Left:
|
|
5401
|
-
Up:
|
|
5402
|
-
Down:
|
|
5407
|
+
Right: Cc,
|
|
5408
|
+
Left: Sc,
|
|
5409
|
+
Up: wc,
|
|
5410
|
+
Down: Tc
|
|
5403
5411
|
};
|
|
5404
5412
|
function $l(e) {
|
|
5405
5413
|
return e = Go(e) ? e : e.key, Ql[e] || e;
|
|
5406
5414
|
}
|
|
5407
5415
|
var eu = "keydown";
|
|
5408
5416
|
function tu(e, t, n) {
|
|
5409
|
-
var r =
|
|
5417
|
+
var r = $(e), i = r.on, a = r.bind, o = r.unbind, s = e.root, c = t.Direction.resolve, l, u;
|
|
5410
5418
|
function d() {
|
|
5411
|
-
f(), i(
|
|
5419
|
+
f(), i(Q, p), i(Q, f), i(Us, h);
|
|
5412
5420
|
}
|
|
5413
5421
|
function f() {
|
|
5414
5422
|
var e = n.keyboard;
|
|
@@ -5429,7 +5437,7 @@ function tu(e, t, n) {
|
|
|
5429
5437
|
function g(t) {
|
|
5430
5438
|
if (!u) {
|
|
5431
5439
|
var n = $l(t);
|
|
5432
|
-
n === c(
|
|
5440
|
+
n === c(Sc) ? e.go("<") : n === c(Cc) && e.go(">");
|
|
5433
5441
|
}
|
|
5434
5442
|
}
|
|
5435
5443
|
return {
|
|
@@ -5438,18 +5446,18 @@ function tu(e, t, n) {
|
|
|
5438
5446
|
disable: m
|
|
5439
5447
|
};
|
|
5440
5448
|
}
|
|
5441
|
-
var nu =
|
|
5449
|
+
var nu = Es + "-lazy", ru = nu + "-srcset", iu = "[" + nu + "], [" + ru + "]";
|
|
5442
5450
|
function au(e, t, n) {
|
|
5443
|
-
var r =
|
|
5451
|
+
var r = $(e), i = r.on, a = r.off, o = r.bind, s = r.emit, c = n.lazyLoad === "sequential", l = [Ws, nc], u = [];
|
|
5444
5452
|
function d() {
|
|
5445
|
-
n.lazyLoad && (f(), i(
|
|
5453
|
+
n.lazyLoad && (f(), i(Z, f));
|
|
5446
5454
|
}
|
|
5447
5455
|
function f() {
|
|
5448
5456
|
Io(u), p(), c ? _() : (a(l), i(l, m), m());
|
|
5449
5457
|
}
|
|
5450
5458
|
function p() {
|
|
5451
5459
|
t.Slides.forEach(function(e) {
|
|
5452
|
-
|
|
5460
|
+
xs(e.slide, iu).forEach(function(t) {
|
|
5453
5461
|
var r = hs(t, nu), i = hs(t, ru);
|
|
5454
5462
|
if (r !== t.src || i !== t.srcset) {
|
|
5455
5463
|
var a = n.classes.spinner, o = t.parentElement, s = is(o, "." + a) || ds("span", a, o);
|
|
@@ -5474,7 +5482,7 @@ function au(e, t, n) {
|
|
|
5474
5482
|
}
|
|
5475
5483
|
function g(e, t) {
|
|
5476
5484
|
var n = e[0], r = e[1];
|
|
5477
|
-
|
|
5485
|
+
Ss(r.slide, hl), t.type !== "error" && (_s(e[2]), ps(n, ""), s(pc, n, r), s(Xs)), c && _();
|
|
5478
5486
|
}
|
|
5479
5487
|
function _() {
|
|
5480
5488
|
u.length && h(u.shift());
|
|
@@ -5486,29 +5494,29 @@ function au(e, t, n) {
|
|
|
5486
5494
|
};
|
|
5487
5495
|
}
|
|
5488
5496
|
function ou(e, t, n) {
|
|
5489
|
-
var r =
|
|
5497
|
+
var r = $(e), i = r.on, a = r.emit, o = r.bind, s = t.Slides, c = t.Elements, l = t.Controller, u = l.hasFocus, d = l.getIndex, f = l.go, p = t.Direction.resolve, m = c.pagination, h = [], g, _;
|
|
5490
5498
|
function v() {
|
|
5491
5499
|
y(), i([
|
|
5500
|
+
Q,
|
|
5492
5501
|
Z,
|
|
5493
|
-
|
|
5494
|
-
_c
|
|
5502
|
+
gc
|
|
5495
5503
|
], v);
|
|
5496
5504
|
var t = n.pagination;
|
|
5497
5505
|
m && ps(m, t ? "" : "none"), t && (i([
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
|
|
5501
|
-
], T), b(), T(), a(
|
|
5506
|
+
Us,
|
|
5507
|
+
tc,
|
|
5508
|
+
nc
|
|
5509
|
+
], T), b(), T(), a(sc, {
|
|
5502
5510
|
list: g,
|
|
5503
5511
|
items: h
|
|
5504
5512
|
}, w(e.index)));
|
|
5505
5513
|
}
|
|
5506
5514
|
function y() {
|
|
5507
|
-
g &&= (
|
|
5515
|
+
g &&= (_s(m ? Lo(g.children) : g), Ss(g, _), Io(h), null), r.destroy();
|
|
5508
5516
|
}
|
|
5509
5517
|
function b() {
|
|
5510
|
-
var t = e.length, r = n.classes, i = n.i18n, a = n.perPage, d = u() ? l.getEnd() + 1 :
|
|
5511
|
-
g = m || ds("ul", r.pagination, c.track.parentElement), $o(g, _ = il + "--" + C()), J(g,
|
|
5518
|
+
var t = e.length, r = n.classes, i = n.i18n, a = n.perPage, d = u() ? l.getEnd() + 1 : js(t / a);
|
|
5519
|
+
g = m || ds("ul", r.pagination, c.track.parentElement), $o(g, _ = il + "--" + C()), J(g, Ac, "tablist"), J(g, Lc, i.select), J(g, Bc, C() === Dc ? "vertical" : "");
|
|
5512
5520
|
for (var f = 0; f < d; f++) {
|
|
5513
5521
|
var p = ds("li", null, g), v = ds("button", {
|
|
5514
5522
|
class: r.page,
|
|
@@ -5516,7 +5524,7 @@ function ou(e, t, n) {
|
|
|
5516
5524
|
}, p), y = s.getIn(f).map(function(e) {
|
|
5517
5525
|
return e.slide.id;
|
|
5518
5526
|
}), b = !u() && a > 1 ? i.pageX : i.slideX;
|
|
5519
|
-
o(v, "click", K(x, f)), n.paginationKeyboard && o(v, "keydown", K(S, f)), J(p,
|
|
5527
|
+
o(v, "click", K(x, f)), n.paginationKeyboard && o(v, "keydown", K(S, f)), J(p, Ac, "presentation"), J(v, Ac, "tab"), J(v, Pc, y.join(" ")), J(v, Lc, Is(b, f + 1)), J(v, jc, -1), h.push({
|
|
5520
5528
|
li: p,
|
|
5521
5529
|
button: v,
|
|
5522
5530
|
page: f
|
|
@@ -5528,9 +5536,9 @@ function ou(e, t, n) {
|
|
|
5528
5536
|
}
|
|
5529
5537
|
function S(e, t) {
|
|
5530
5538
|
var n = h.length, r = $l(t), i = C(), a = -1;
|
|
5531
|
-
r === p(
|
|
5539
|
+
r === p(Cc, !1, i) ? a = ++e % n : r === p(Sc, !1, i) ? a = (--e + n) % n : r === "Home" ? a = 0 : r === "End" && (a = n - 1);
|
|
5532
5540
|
var o = h[a];
|
|
5533
|
-
o && (ms(o.button), f(">" + a),
|
|
5541
|
+
o && (ms(o.button), f(">" + a), ys(t, !0));
|
|
5534
5542
|
}
|
|
5535
5543
|
function C() {
|
|
5536
5544
|
return n.paginationDirection || n.direction;
|
|
@@ -5542,13 +5550,13 @@ function ou(e, t, n) {
|
|
|
5542
5550
|
var e = w(d(!0)), t = w(d());
|
|
5543
5551
|
if (e) {
|
|
5544
5552
|
var n = e.button;
|
|
5545
|
-
|
|
5553
|
+
Ss(n, dl), us(n, Ic), J(n, jc, -1);
|
|
5546
5554
|
}
|
|
5547
5555
|
if (t) {
|
|
5548
5556
|
var r = t.button;
|
|
5549
|
-
$o(r, dl), J(r,
|
|
5557
|
+
$o(r, dl), J(r, Ic, !0), J(r, jc, "");
|
|
5550
5558
|
}
|
|
5551
|
-
a(
|
|
5559
|
+
a(cc, {
|
|
5552
5560
|
list: g,
|
|
5553
5561
|
items: h
|
|
5554
5562
|
}, e, t);
|
|
@@ -5578,23 +5586,23 @@ function cu(e, t, n) {
|
|
|
5578
5586
|
s(), o();
|
|
5579
5587
|
}
|
|
5580
5588
|
function l(e, t) {
|
|
5581
|
-
var n =
|
|
5582
|
-
n.on(
|
|
5589
|
+
var n = $(e);
|
|
5590
|
+
n.on(Us, function(e, n, r) {
|
|
5583
5591
|
t.go(t.is(Ol) ? r : e);
|
|
5584
5592
|
}), a.push(n);
|
|
5585
5593
|
}
|
|
5586
5594
|
function u() {
|
|
5587
|
-
var t =
|
|
5588
|
-
n(
|
|
5595
|
+
var t = $(e), n = t.on;
|
|
5596
|
+
n(Gs, f), n(mc, p), n([Vs, Q], d), a.push(t), t.emit(lc, e.splides);
|
|
5589
5597
|
}
|
|
5590
5598
|
function d() {
|
|
5591
|
-
J(t.Elements.list, Bc, n.direction ===
|
|
5599
|
+
J(t.Elements.list, Bc, n.direction === Dc ? "vertical" : "");
|
|
5592
5600
|
}
|
|
5593
5601
|
function f(t) {
|
|
5594
5602
|
e.go(t.index);
|
|
5595
5603
|
}
|
|
5596
5604
|
function p(e, t) {
|
|
5597
|
-
Xo(su, $l(t)) && (f(e),
|
|
5605
|
+
Xo(su, $l(t)) && (f(e), ys(t));
|
|
5598
5606
|
}
|
|
5599
5607
|
return {
|
|
5600
5608
|
setup: K(t.Media.set, { slideFocus: Ko(i) ? r : i }, !0),
|
|
@@ -5604,14 +5612,14 @@ function cu(e, t, n) {
|
|
|
5604
5612
|
};
|
|
5605
5613
|
}
|
|
5606
5614
|
function lu(e, t, n) {
|
|
5607
|
-
var r =
|
|
5615
|
+
var r = $(e).bind, i = 0;
|
|
5608
5616
|
function a() {
|
|
5609
5617
|
n.wheel && r(t.Elements.track, "wheel", o, Xl);
|
|
5610
5618
|
}
|
|
5611
5619
|
function o(t) {
|
|
5612
5620
|
if (t.cancelable) {
|
|
5613
|
-
var r = t.deltaY, a = r < 0, o =
|
|
5614
|
-
|
|
5621
|
+
var r = t.deltaY, a = r < 0, o = Cs(t), c = n.wheelMinThreshold || 0, l = n.wheelSleep || 0;
|
|
5622
|
+
X(r) > c && o - i > l && (e.go(a ? "<" : ">"), i = o), s(a) && ys(t);
|
|
5615
5623
|
}
|
|
5616
5624
|
}
|
|
5617
5625
|
function s(r) {
|
|
@@ -5621,19 +5629,19 @@ function lu(e, t, n) {
|
|
|
5621
5629
|
}
|
|
5622
5630
|
var uu = 90;
|
|
5623
5631
|
function du(e, t, n) {
|
|
5624
|
-
var r =
|
|
5632
|
+
var r = $(e).on, i = t.Elements.track, a = n.live && !n.isNavigation, o = ds("span", ll), s = _c(uu, K(l, !1));
|
|
5625
5633
|
function c() {
|
|
5626
|
-
a && (d(!t.Autoplay.isPaused()), J(i, Wc, !0), o.textContent = "…", r(
|
|
5634
|
+
a && (d(!t.Autoplay.isPaused()), J(i, Wc, !0), o.textContent = "…", r(uc, K(d, !0)), r(fc, K(d, !1)), r([Ws, nc], K(l, !0)));
|
|
5627
5635
|
}
|
|
5628
5636
|
function l(e) {
|
|
5629
|
-
J(i, Uc, e), e ? (es(i, o), s.start()) : (
|
|
5637
|
+
J(i, Uc, e), e ? (es(i, o), s.start()) : (_s(o), s.cancel());
|
|
5630
5638
|
}
|
|
5631
5639
|
function u() {
|
|
5632
5640
|
us(i, [
|
|
5633
5641
|
Hc,
|
|
5634
5642
|
Wc,
|
|
5635
5643
|
Uc
|
|
5636
|
-
]),
|
|
5644
|
+
]), _s(o);
|
|
5637
5645
|
}
|
|
5638
5646
|
function d(e) {
|
|
5639
5647
|
a && J(i, Hc, e ? "off" : "polite");
|
|
@@ -5646,8 +5654,8 @@ function du(e, t, n) {
|
|
|
5646
5654
|
}
|
|
5647
5655
|
var fu = /* @__PURE__ */ Object.freeze({
|
|
5648
5656
|
__proto__: null,
|
|
5649
|
-
Media:
|
|
5650
|
-
Direction:
|
|
5657
|
+
Media: bc,
|
|
5658
|
+
Direction: kc,
|
|
5651
5659
|
Elements: El,
|
|
5652
5660
|
Slides: jl,
|
|
5653
5661
|
Layout: Ml,
|
|
@@ -5708,7 +5716,7 @@ var fu = /* @__PURE__ */ Object.freeze({
|
|
|
5708
5716
|
function mu(e, t, n) {
|
|
5709
5717
|
var r = t.Slides;
|
|
5710
5718
|
function i() {
|
|
5711
|
-
|
|
5719
|
+
$(e).on([Vs, Z], a);
|
|
5712
5720
|
}
|
|
5713
5721
|
function a() {
|
|
5714
5722
|
r.forEach(function(e) {
|
|
@@ -5727,13 +5735,13 @@ function mu(e, t, n) {
|
|
|
5727
5735
|
function hu(e, t, n) {
|
|
5728
5736
|
var r = t.Move, i = t.Controller, a = t.Scroll, o = t.Elements.list, s = K(fs, o, "transition"), c;
|
|
5729
5737
|
function l() {
|
|
5730
|
-
|
|
5738
|
+
$(e).bind(o, "transitionend", function(e) {
|
|
5731
5739
|
e.target === o && c && (d(), c());
|
|
5732
5740
|
});
|
|
5733
5741
|
}
|
|
5734
5742
|
function u(e, t) {
|
|
5735
5743
|
var i = r.toPosition(e, !0), o = r.getPosition(), l = f(e);
|
|
5736
|
-
|
|
5744
|
+
X(i - o) >= 1 && l >= 1 ? n.useScroll ? a.scroll(i, l, !1, t) : (s("transform " + l + "ms " + n.easing), r.translate(i, !0), c = t) : (r.jump(e), t());
|
|
5737
5745
|
}
|
|
5738
5746
|
function d() {
|
|
5739
5747
|
s(""), a.cancel();
|
|
@@ -5754,28 +5762,28 @@ function hu(e, t, n) {
|
|
|
5754
5762
|
}
|
|
5755
5763
|
var gu = /* @__PURE__ */ function() {
|
|
5756
5764
|
function e(t, n) {
|
|
5757
|
-
this.event =
|
|
5758
|
-
var r = Go(t) ?
|
|
5759
|
-
|
|
5760
|
-
label: hs(r,
|
|
5765
|
+
this.event = $(), this.Components = {}, this.state = vc(Oo), this.splides = [], this._o = {}, this._E = {};
|
|
5766
|
+
var r = Go(t) ? bs(document, t) : t;
|
|
5767
|
+
Ds(r, r + " is invalid."), this.root = r, n = cs({
|
|
5768
|
+
label: hs(r, Lc) || "",
|
|
5761
5769
|
labelledby: hs(r, Rc) || ""
|
|
5762
5770
|
}, pu, e.defaults, n || {});
|
|
5763
5771
|
try {
|
|
5764
|
-
cs(n, JSON.parse(hs(r,
|
|
5772
|
+
cs(n, JSON.parse(hs(r, Es)));
|
|
5765
5773
|
} catch {
|
|
5766
|
-
|
|
5774
|
+
Ds(!1, "Invalid JSON");
|
|
5767
5775
|
}
|
|
5768
5776
|
this._o = Object.create(cs({}, n));
|
|
5769
5777
|
}
|
|
5770
5778
|
var t = e.prototype;
|
|
5771
5779
|
return t.mount = function(e, t) {
|
|
5772
5780
|
var n = this, r = this.state, i = this.Components;
|
|
5773
|
-
return
|
|
5781
|
+
return Ds(r.is([Oo, Po]), "Already mounted!"), r.set(Oo), this._C = i, this._T = t || this._T || (this.is(kl) ? mu : hu), this._E = e || this._E, os(ss({}, fu, this._E, { Transition: this._T }), function(e, t) {
|
|
5774
5782
|
var r = e(n, i, n._o);
|
|
5775
5783
|
i[t] = r, r.setup && r.setup();
|
|
5776
5784
|
}), os(i, function(e) {
|
|
5777
5785
|
e.mount && e.mount();
|
|
5778
|
-
}), this.emit(
|
|
5786
|
+
}), this.emit(Vs), $o(this.root, ul), r.set(Ao), this.emit(Hs), this;
|
|
5779
5787
|
}, t.sync = function(e) {
|
|
5780
5788
|
return this.splides.push({ splide: e }), e.splides.push({
|
|
5781
5789
|
splide: this,
|
|
@@ -5797,13 +5805,13 @@ var gu = /* @__PURE__ */ function() {
|
|
|
5797
5805
|
}, t.is = function(e) {
|
|
5798
5806
|
return this._o.type === e;
|
|
5799
5807
|
}, t.refresh = function() {
|
|
5800
|
-
return this.emit(
|
|
5808
|
+
return this.emit(Z), this;
|
|
5801
5809
|
}, t.destroy = function(e) {
|
|
5802
5810
|
e === void 0 && (e = !0);
|
|
5803
5811
|
var t = this.event, n = this.state;
|
|
5804
|
-
return n.is(Oo) ?
|
|
5812
|
+
return n.is(Oo) ? $(this).on(Hs, this.destroy.bind(this, e)) : (os(this._C, function(t) {
|
|
5805
5813
|
t.destroy && t.destroy(e);
|
|
5806
|
-
}, !0), t.emit(
|
|
5814
|
+
}, !0), t.emit(ic), t.destroy(), e && Io(this.splides), n.set(Po)), this;
|
|
5807
5815
|
}, Eo(e, [
|
|
5808
5816
|
{
|
|
5809
5817
|
key: "options",
|
|
@@ -5830,33 +5838,33 @@ var gu = /* @__PURE__ */ function() {
|
|
|
5830
5838
|
}();
|
|
5831
5839
|
gu.defaults = {}, gu.STATES = Fo;
|
|
5832
5840
|
var _u = [
|
|
5833
|
-
qs,
|
|
5834
|
-
oc,
|
|
5835
|
-
sc,
|
|
5836
|
-
pc,
|
|
5837
|
-
dc,
|
|
5838
|
-
fc,
|
|
5839
5841
|
Ks,
|
|
5840
5842
|
ac,
|
|
5841
|
-
|
|
5842
|
-
|
|
5843
|
+
oc,
|
|
5844
|
+
fc,
|
|
5845
|
+
uc,
|
|
5846
|
+
dc,
|
|
5847
|
+
Gs,
|
|
5848
|
+
ic,
|
|
5849
|
+
Qs,
|
|
5843
5850
|
ec,
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5851
|
+
$s,
|
|
5852
|
+
Ys,
|
|
5853
|
+
qs,
|
|
5854
|
+
pc,
|
|
5855
|
+
Vs,
|
|
5856
|
+
Us,
|
|
5848
5857
|
Ws,
|
|
5849
|
-
Gs,
|
|
5850
|
-
uc,
|
|
5851
|
-
cc,
|
|
5852
5858
|
lc,
|
|
5853
|
-
|
|
5859
|
+
sc,
|
|
5860
|
+
cc,
|
|
5861
|
+
Z,
|
|
5862
|
+
Xs,
|
|
5854
5863
|
Zs,
|
|
5855
|
-
|
|
5864
|
+
tc,
|
|
5856
5865
|
nc,
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
Ys
|
|
5866
|
+
Q,
|
|
5867
|
+
Js
|
|
5860
5868
|
], vu = "splide";
|
|
5861
5869
|
function yu(e) {
|
|
5862
5870
|
return typeof e == "object" && !!e;
|