@bloodhoundenterprise/doodleui 1.0.0-alpha.25 → 1.0.0-alpha.26
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/README.md +1 -1
- package/dist/doodleui.js +843 -836
- package/dist/styles.css +1 -1
- package/dist/{vendor-Baplq-L4.js → vendor-BhZp4gAT.js} +194 -194
- package/package.json +1 -1
|
@@ -8531,13 +8531,136 @@ function uv(e, n) {
|
|
|
8531
8531
|
return e.map((t, r) => e[(n + r) % e.length]);
|
|
8532
8532
|
}
|
|
8533
8533
|
var Lb = il, $b = al, Vb = cl, Hb = ul, Wb = dl, Bb = fl, zb = hl, Gb = yl, jb = bl, Yb = Sl, Ub = xl, qb = _l, Kb = Pl, Xb = Ml;
|
|
8534
|
-
|
|
8534
|
+
const dv = {
|
|
8535
|
+
active: !0,
|
|
8536
|
+
breakpoints: {},
|
|
8537
|
+
delay: 4e3,
|
|
8538
|
+
jump: !1,
|
|
8539
|
+
playOnInit: !0,
|
|
8540
|
+
stopOnFocusIn: !0,
|
|
8541
|
+
stopOnInteraction: !0,
|
|
8542
|
+
stopOnMouseEnter: !1,
|
|
8543
|
+
stopOnLastSnap: !1,
|
|
8544
|
+
rootNode: null
|
|
8545
|
+
};
|
|
8546
|
+
function fv(e, n) {
|
|
8547
|
+
const t = e.scrollSnapList();
|
|
8548
|
+
return typeof n == "number" ? t.map(() => n) : n(t, e);
|
|
8549
|
+
}
|
|
8550
|
+
function gv(e, n) {
|
|
8551
|
+
const t = e.rootNode();
|
|
8552
|
+
return n && n(t) || t;
|
|
8553
|
+
}
|
|
8554
|
+
function Tl(e = {}) {
|
|
8555
|
+
let n, t, r, o, i = null, s = 0, a = !1, l = !1, c = !1, u = !1;
|
|
8556
|
+
function d(N, W) {
|
|
8557
|
+
t = N;
|
|
8558
|
+
const {
|
|
8559
|
+
mergeOptions: k,
|
|
8560
|
+
optionsAtMedia: M
|
|
8561
|
+
} = W, _ = k(dv, Tl.globalOptions), B = k(_, e);
|
|
8562
|
+
if (n = M(B), t.scrollSnapList().length <= 1) return;
|
|
8563
|
+
u = n.jump, r = !1, o = fv(t, n.delay);
|
|
8564
|
+
const {
|
|
8565
|
+
eventStore: J,
|
|
8566
|
+
ownerDocument: Q
|
|
8567
|
+
} = t.internalEngine(), pe = !!t.internalEngine().options.watchDrag, me = gv(t, n.rootNode);
|
|
8568
|
+
J.add(Q, "visibilitychange", y), pe && t.on("pointerDown", C), pe && !n.stopOnInteraction && t.on("pointerUp", S), n.stopOnMouseEnter && J.add(me, "mouseenter", x), n.stopOnMouseEnter && !n.stopOnInteraction && J.add(me, "mouseleave", P), n.stopOnFocusIn && t.on("slideFocusStart", m), n.stopOnFocusIn && !n.stopOnInteraction && J.add(t.containerNode(), "focusout", g), n.playOnInit && g();
|
|
8569
|
+
}
|
|
8570
|
+
function f() {
|
|
8571
|
+
t.off("pointerDown", C).off("pointerUp", S).off("slideFocusStart", m), m(), r = !0, a = !1;
|
|
8572
|
+
}
|
|
8573
|
+
function p() {
|
|
8574
|
+
const {
|
|
8575
|
+
ownerWindow: N
|
|
8576
|
+
} = t.internalEngine();
|
|
8577
|
+
N.clearTimeout(s), s = N.setTimeout(T, o[t.selectedScrollSnap()]), i = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
|
|
8578
|
+
}
|
|
8579
|
+
function h() {
|
|
8580
|
+
const {
|
|
8581
|
+
ownerWindow: N
|
|
8582
|
+
} = t.internalEngine();
|
|
8583
|
+
N.clearTimeout(s), s = 0, i = null, t.emit("autoplay:timerstopped");
|
|
8584
|
+
}
|
|
8585
|
+
function g() {
|
|
8586
|
+
if (!r) {
|
|
8587
|
+
if (w()) {
|
|
8588
|
+
c = !0;
|
|
8589
|
+
return;
|
|
8590
|
+
}
|
|
8591
|
+
a || t.emit("autoplay:play"), p(), a = !0;
|
|
8592
|
+
}
|
|
8593
|
+
}
|
|
8594
|
+
function m() {
|
|
8595
|
+
r || (a && t.emit("autoplay:stop"), h(), a = !1);
|
|
8596
|
+
}
|
|
8597
|
+
function y() {
|
|
8598
|
+
if (w())
|
|
8599
|
+
return c = a, m();
|
|
8600
|
+
c && g();
|
|
8601
|
+
}
|
|
8602
|
+
function w() {
|
|
8603
|
+
const {
|
|
8604
|
+
ownerDocument: N
|
|
8605
|
+
} = t.internalEngine();
|
|
8606
|
+
return N.visibilityState === "hidden";
|
|
8607
|
+
}
|
|
8608
|
+
function C() {
|
|
8609
|
+
l || m();
|
|
8610
|
+
}
|
|
8611
|
+
function S() {
|
|
8612
|
+
l || g();
|
|
8613
|
+
}
|
|
8614
|
+
function x() {
|
|
8615
|
+
l = !0, m();
|
|
8616
|
+
}
|
|
8617
|
+
function P() {
|
|
8618
|
+
l = !1, g();
|
|
8619
|
+
}
|
|
8620
|
+
function R(N) {
|
|
8621
|
+
typeof N < "u" && (u = N), g();
|
|
8622
|
+
}
|
|
8623
|
+
function E() {
|
|
8624
|
+
a && m();
|
|
8625
|
+
}
|
|
8626
|
+
function O() {
|
|
8627
|
+
a && g();
|
|
8628
|
+
}
|
|
8629
|
+
function I() {
|
|
8630
|
+
return a;
|
|
8631
|
+
}
|
|
8632
|
+
function T() {
|
|
8633
|
+
const {
|
|
8634
|
+
index: N
|
|
8635
|
+
} = t.internalEngine(), W = N.clone().add(1).get(), k = t.scrollSnapList().length - 1, M = n.stopOnLastSnap && W === k;
|
|
8636
|
+
if (t.canScrollNext() ? t.scrollNext(u) : t.scrollTo(0, u), t.emit("autoplay:select"), M) return m();
|
|
8637
|
+
g();
|
|
8638
|
+
}
|
|
8639
|
+
function A() {
|
|
8640
|
+
if (!i) return null;
|
|
8641
|
+
const N = o[t.selectedScrollSnap()], W = (/* @__PURE__ */ new Date()).getTime() - i;
|
|
8642
|
+
return N - W;
|
|
8643
|
+
}
|
|
8644
|
+
return {
|
|
8645
|
+
name: "autoplay",
|
|
8646
|
+
options: e,
|
|
8647
|
+
init: d,
|
|
8648
|
+
destroy: f,
|
|
8649
|
+
play: R,
|
|
8650
|
+
stop: E,
|
|
8651
|
+
reset: O,
|
|
8652
|
+
isPlaying: I,
|
|
8653
|
+
timeUntilNext: A
|
|
8654
|
+
};
|
|
8655
|
+
}
|
|
8656
|
+
Tl.globalOptions = void 0;
|
|
8657
|
+
function pv(e) {
|
|
8535
8658
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
8536
8659
|
}
|
|
8537
8660
|
function ys(e) {
|
|
8538
|
-
return
|
|
8661
|
+
return pv(e) || Array.isArray(e);
|
|
8539
8662
|
}
|
|
8540
|
-
function
|
|
8663
|
+
function mv() {
|
|
8541
8664
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
8542
8665
|
}
|
|
8543
8666
|
function li(e, n) {
|
|
@@ -8552,7 +8675,7 @@ function li(e, n) {
|
|
|
8552
8675
|
function ws(e) {
|
|
8553
8676
|
return e.concat().sort((n, t) => n.name > t.name ? 1 : -1).map((n) => n.options);
|
|
8554
8677
|
}
|
|
8555
|
-
function
|
|
8678
|
+
function hv(e, n) {
|
|
8556
8679
|
if (e.length !== n.length) return !1;
|
|
8557
8680
|
const t = ws(e), r = ws(n);
|
|
8558
8681
|
return t.every((o, i) => {
|
|
@@ -8581,12 +8704,12 @@ function ui(e) {
|
|
|
8581
8704
|
function nn(e, n) {
|
|
8582
8705
|
return se(e - n);
|
|
8583
8706
|
}
|
|
8584
|
-
function
|
|
8707
|
+
function vv(e, n) {
|
|
8585
8708
|
if (e === 0 || n === 0 || se(e) <= se(n)) return 0;
|
|
8586
8709
|
const t = nn(se(e), se(n));
|
|
8587
8710
|
return se(t / e);
|
|
8588
8711
|
}
|
|
8589
|
-
function
|
|
8712
|
+
function yv(e) {
|
|
8590
8713
|
return Math.round(e * 100) / 100;
|
|
8591
8714
|
}
|
|
8592
8715
|
function ln(e) {
|
|
@@ -8607,16 +8730,16 @@ function Cs(e, n = 0) {
|
|
|
8607
8730
|
function cn(e) {
|
|
8608
8731
|
return Object.keys(e);
|
|
8609
8732
|
}
|
|
8610
|
-
function
|
|
8733
|
+
function Nl(e, n) {
|
|
8611
8734
|
return [e, n].reduce((t, r) => (cn(r).forEach((o) => {
|
|
8612
8735
|
const i = t[o], s = r[o], a = bs(i) && bs(s);
|
|
8613
|
-
t[o] = a ?
|
|
8736
|
+
t[o] = a ? Nl(i, s) : s;
|
|
8614
8737
|
}), t), {});
|
|
8615
8738
|
}
|
|
8616
8739
|
function po(e, n) {
|
|
8617
8740
|
return typeof n.MouseEvent < "u" && e instanceof n.MouseEvent;
|
|
8618
8741
|
}
|
|
8619
|
-
function
|
|
8742
|
+
function wv(e, n) {
|
|
8620
8743
|
const t = {
|
|
8621
8744
|
start: r,
|
|
8622
8745
|
center: o,
|
|
@@ -8661,7 +8784,7 @@ function un() {
|
|
|
8661
8784
|
};
|
|
8662
8785
|
return r;
|
|
8663
8786
|
}
|
|
8664
|
-
function
|
|
8787
|
+
function bv(e, n, t, r) {
|
|
8665
8788
|
const o = un(), i = 1e3 / 60;
|
|
8666
8789
|
let s = null, a = 0, l = 0;
|
|
8667
8790
|
function c() {
|
|
@@ -8699,7 +8822,7 @@ function vv(e, n, t, r) {
|
|
|
8699
8822
|
render: r
|
|
8700
8823
|
};
|
|
8701
8824
|
}
|
|
8702
|
-
function
|
|
8825
|
+
function Cv(e, n) {
|
|
8703
8826
|
const t = n === "rtl", r = e === "y", o = r ? "y" : "x", i = r ? "x" : "y", s = !r && t ? -1 : 1, a = u(), l = d();
|
|
8704
8827
|
function c(h) {
|
|
8705
8828
|
const {
|
|
@@ -8754,7 +8877,7 @@ function St(e = 0, n = 0) {
|
|
|
8754
8877
|
removeOffset: a
|
|
8755
8878
|
};
|
|
8756
8879
|
}
|
|
8757
|
-
function
|
|
8880
|
+
function kl(e, n, t) {
|
|
8758
8881
|
const {
|
|
8759
8882
|
constrain: r
|
|
8760
8883
|
} = St(0, e), o = e + 1;
|
|
@@ -8772,7 +8895,7 @@ function Nl(e, n, t) {
|
|
|
8772
8895
|
return u().set(a() + f);
|
|
8773
8896
|
}
|
|
8774
8897
|
function u() {
|
|
8775
|
-
return
|
|
8898
|
+
return kl(e, a(), t);
|
|
8776
8899
|
}
|
|
8777
8900
|
const d = {
|
|
8778
8901
|
get: a,
|
|
@@ -8782,7 +8905,7 @@ function Nl(e, n, t) {
|
|
|
8782
8905
|
};
|
|
8783
8906
|
return d;
|
|
8784
8907
|
}
|
|
8785
|
-
function
|
|
8908
|
+
function Sv(e, n, t, r, o, i, s, a, l, c, u, d, f, p, h, g, m, y, w) {
|
|
8786
8909
|
const {
|
|
8787
8910
|
cross: C,
|
|
8788
8911
|
direction: S
|
|
@@ -8837,7 +8960,7 @@ function wv(e, n, t, r, o, i, s, a, l, c, u, d, f, p, h, g, m, y, w) {
|
|
|
8837
8960
|
de > g && (_ = !0), c.useFriction(0.3).useDuration(0.75), a.start(), o.add(S(qe)), D.preventDefault();
|
|
8838
8961
|
}
|
|
8839
8962
|
function U(D) {
|
|
8840
|
-
const te = u.byDistance(0, !1).index !== d.get(), ae = i.pointerUp(D) * ce(), de = Ee(S(ae), te), he =
|
|
8963
|
+
const te = u.byDistance(0, !1).index !== d.get(), ae = i.pointerUp(D) * ce(), de = Ee(S(ae), te), he = vv(ae, de), qe = A - 10 * he, Se = y + he / 50;
|
|
8841
8964
|
M = !1, k = !1, E.clear(), c.useDuration(qe).useFriction(Se), l.distance(de, !h), B = !1, f.emit("pointerUp");
|
|
8842
8965
|
}
|
|
8843
8966
|
function re(D) {
|
|
@@ -8852,7 +8975,7 @@ function wv(e, n, t, r, o, i, s, a, l, c, u, d, f, p, h, g, m, y, w) {
|
|
|
8852
8975
|
pointerDown: X
|
|
8853
8976
|
};
|
|
8854
8977
|
}
|
|
8855
|
-
function
|
|
8978
|
+
function xv(e, n) {
|
|
8856
8979
|
let r, o;
|
|
8857
8980
|
function i(d) {
|
|
8858
8981
|
return d.timeStamp;
|
|
@@ -8880,7 +9003,7 @@ function bv(e, n) {
|
|
|
8880
9003
|
readPoint: s
|
|
8881
9004
|
};
|
|
8882
9005
|
}
|
|
8883
|
-
function
|
|
9006
|
+
function Rv() {
|
|
8884
9007
|
function e(t) {
|
|
8885
9008
|
const {
|
|
8886
9009
|
offsetTop: r,
|
|
@@ -8901,7 +9024,7 @@ function Cv() {
|
|
|
8901
9024
|
measure: e
|
|
8902
9025
|
};
|
|
8903
9026
|
}
|
|
8904
|
-
function
|
|
9027
|
+
function _v(e) {
|
|
8905
9028
|
function n(r) {
|
|
8906
9029
|
return e * (r / 100);
|
|
8907
9030
|
}
|
|
@@ -8909,7 +9032,7 @@ function Sv(e) {
|
|
|
8909
9032
|
measure: n
|
|
8910
9033
|
};
|
|
8911
9034
|
}
|
|
8912
|
-
function
|
|
9035
|
+
function Pv(e, n, t, r, o, i, s) {
|
|
8913
9036
|
const a = [e].concat(r);
|
|
8914
9037
|
let l, c, u = [], d = !1;
|
|
8915
9038
|
function f(m) {
|
|
@@ -8942,7 +9065,7 @@ function xv(e, n, t, r, o, i, s) {
|
|
|
8942
9065
|
destroy: h
|
|
8943
9066
|
};
|
|
8944
9067
|
}
|
|
8945
|
-
function
|
|
9068
|
+
function Ev(e, n, t, r, o, i) {
|
|
8946
9069
|
let s = 0, a = 0, l = o, c = i, u = e.get(), d = 0;
|
|
8947
9070
|
function f() {
|
|
8948
9071
|
const P = r.get() - e.get(), R = !l;
|
|
@@ -8987,7 +9110,7 @@ function Rv(e, n, t, r, o, i) {
|
|
|
8987
9110
|
};
|
|
8988
9111
|
return x;
|
|
8989
9112
|
}
|
|
8990
|
-
function
|
|
9113
|
+
function Mv(e, n, t, r, o) {
|
|
8991
9114
|
const i = o.measure(10), s = o.measure(50), a = St(0.1, 0.99);
|
|
8992
9115
|
let l = !1;
|
|
8993
9116
|
function c() {
|
|
@@ -9007,7 +9130,7 @@ function _v(e, n, t, r, o) {
|
|
|
9007
9130
|
toggleActive: d
|
|
9008
9131
|
};
|
|
9009
9132
|
}
|
|
9010
|
-
function
|
|
9133
|
+
function Dv(e, n, t, r, o) {
|
|
9011
9134
|
const i = St(-n + e, 0), s = d(), a = u(), l = f();
|
|
9012
9135
|
function c(h, g) {
|
|
9013
9136
|
return nn(h, g) <= 1;
|
|
@@ -9039,13 +9162,13 @@ function Pv(e, n, t, r, o) {
|
|
|
9039
9162
|
scrollContainLimit: a
|
|
9040
9163
|
};
|
|
9041
9164
|
}
|
|
9042
|
-
function
|
|
9165
|
+
function Ov(e, n, t) {
|
|
9043
9166
|
const r = n[0], o = t ? r - e : Ie(n);
|
|
9044
9167
|
return {
|
|
9045
9168
|
limit: St(o, r)
|
|
9046
9169
|
};
|
|
9047
9170
|
}
|
|
9048
|
-
function
|
|
9171
|
+
function Av(e, n, t, r) {
|
|
9049
9172
|
const i = n.min + 0.1, s = n.max + 0.1, {
|
|
9050
9173
|
reachedMin: a,
|
|
9051
9174
|
reachedMax: l
|
|
@@ -9062,7 +9185,7 @@ function Mv(e, n, t, r) {
|
|
|
9062
9185
|
loop: u
|
|
9063
9186
|
};
|
|
9064
9187
|
}
|
|
9065
|
-
function
|
|
9188
|
+
function Iv(e) {
|
|
9066
9189
|
const {
|
|
9067
9190
|
max: n,
|
|
9068
9191
|
length: t
|
|
@@ -9075,7 +9198,7 @@ function Dv(e) {
|
|
|
9075
9198
|
get: r
|
|
9076
9199
|
};
|
|
9077
9200
|
}
|
|
9078
|
-
function
|
|
9201
|
+
function Tv(e, n, t, r, o) {
|
|
9079
9202
|
const {
|
|
9080
9203
|
startEdge: i,
|
|
9081
9204
|
endEdge: s
|
|
@@ -9096,7 +9219,7 @@ function Ov(e, n, t, r, o) {
|
|
|
9096
9219
|
snapsAligned: u
|
|
9097
9220
|
};
|
|
9098
9221
|
}
|
|
9099
|
-
function
|
|
9222
|
+
function Nv(e, n, t, r, o, i) {
|
|
9100
9223
|
const {
|
|
9101
9224
|
groupSlides: s
|
|
9102
9225
|
} = o, {
|
|
@@ -9122,7 +9245,7 @@ function Av(e, n, t, r, o, i) {
|
|
|
9122
9245
|
slideRegistry: c
|
|
9123
9246
|
};
|
|
9124
9247
|
}
|
|
9125
|
-
function
|
|
9248
|
+
function kv(e, n, t, r, o) {
|
|
9126
9249
|
const {
|
|
9127
9250
|
reachedAny: i,
|
|
9128
9251
|
removeOffset: s,
|
|
@@ -9178,7 +9301,7 @@ function Iv(e, n, t, r, o) {
|
|
|
9178
9301
|
shortcut: u
|
|
9179
9302
|
};
|
|
9180
9303
|
}
|
|
9181
|
-
function
|
|
9304
|
+
function Fv(e, n, t, r, o, i, s) {
|
|
9182
9305
|
function a(d) {
|
|
9183
9306
|
const f = d.distance, p = d.index !== n.get();
|
|
9184
9307
|
i.add(f), f && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), p && (t.set(n.get()), n.set(d.index), s.emit("select"));
|
|
@@ -9196,7 +9319,7 @@ function Tv(e, n, t, r, o, i, s) {
|
|
|
9196
9319
|
index: c
|
|
9197
9320
|
};
|
|
9198
9321
|
}
|
|
9199
|
-
function
|
|
9322
|
+
function Lv(e, n, t, r, o, i, s, a) {
|
|
9200
9323
|
const l = {
|
|
9201
9324
|
passive: !0,
|
|
9202
9325
|
capture: !0
|
|
@@ -9247,7 +9370,7 @@ function en(e) {
|
|
|
9247
9370
|
subtract: i
|
|
9248
9371
|
};
|
|
9249
9372
|
}
|
|
9250
|
-
function
|
|
9373
|
+
function Fl(e, n) {
|
|
9251
9374
|
const t = e.scroll === "x" ? s : a, r = n.style;
|
|
9252
9375
|
let o = null, i = !1;
|
|
9253
9376
|
function s(f) {
|
|
@@ -9258,7 +9381,7 @@ function kl(e, n) {
|
|
|
9258
9381
|
}
|
|
9259
9382
|
function l(f) {
|
|
9260
9383
|
if (i) return;
|
|
9261
|
-
const p =
|
|
9384
|
+
const p = yv(e.direction(f));
|
|
9262
9385
|
p !== o && (r.transform = t(p), o = p);
|
|
9263
9386
|
}
|
|
9264
9387
|
function c(f) {
|
|
@@ -9273,7 +9396,7 @@ function kl(e, n) {
|
|
|
9273
9396
|
toggleActive: c
|
|
9274
9397
|
};
|
|
9275
9398
|
}
|
|
9276
|
-
function
|
|
9399
|
+
function $v(e, n, t, r, o, i, s, a, l) {
|
|
9277
9400
|
const u = ln(o), d = ln(o).reverse(), f = y().concat(w());
|
|
9278
9401
|
function p(R, E) {
|
|
9279
9402
|
return R.reduce((O, I) => O - o[I], E);
|
|
@@ -9295,7 +9418,7 @@ function kv(e, n, t, r, o, i, s, a, l) {
|
|
|
9295
9418
|
index: T,
|
|
9296
9419
|
loopPoint: W,
|
|
9297
9420
|
slideLocation: en(-1),
|
|
9298
|
-
translate:
|
|
9421
|
+
translate: Fl(e, l[T]),
|
|
9299
9422
|
target: () => a.get() > W ? A : H
|
|
9300
9423
|
};
|
|
9301
9424
|
});
|
|
@@ -9336,7 +9459,7 @@ function kv(e, n, t, r, o, i, s, a, l) {
|
|
|
9336
9459
|
loopPoints: f
|
|
9337
9460
|
};
|
|
9338
9461
|
}
|
|
9339
|
-
function
|
|
9462
|
+
function Vv(e, n, t) {
|
|
9340
9463
|
let r, o = !1;
|
|
9341
9464
|
function i(l) {
|
|
9342
9465
|
if (!t) return;
|
|
@@ -9361,7 +9484,7 @@ function Fv(e, n, t) {
|
|
|
9361
9484
|
destroy: s
|
|
9362
9485
|
};
|
|
9363
9486
|
}
|
|
9364
|
-
function
|
|
9487
|
+
function Hv(e, n, t, r) {
|
|
9365
9488
|
const o = {};
|
|
9366
9489
|
let i = null, s = null, a, l = !1;
|
|
9367
9490
|
function c() {
|
|
@@ -9398,7 +9521,7 @@ function Lv(e, n, t, r) {
|
|
|
9398
9521
|
get: f
|
|
9399
9522
|
};
|
|
9400
9523
|
}
|
|
9401
|
-
function
|
|
9524
|
+
function Wv(e, n, t, r, o, i) {
|
|
9402
9525
|
const {
|
|
9403
9526
|
measureSize: s,
|
|
9404
9527
|
startEdge: a,
|
|
@@ -9427,7 +9550,7 @@ function $v(e, n, t, r, o, i) {
|
|
|
9427
9550
|
endGap: d
|
|
9428
9551
|
};
|
|
9429
9552
|
}
|
|
9430
|
-
function
|
|
9553
|
+
function Bv(e, n, t, r, o, i, s, a, l) {
|
|
9431
9554
|
const {
|
|
9432
9555
|
startEdge: c,
|
|
9433
9556
|
endEdge: u,
|
|
@@ -9452,7 +9575,7 @@ function Vv(e, n, t, r, o, i, s, a, l) {
|
|
|
9452
9575
|
groupSlides: g
|
|
9453
9576
|
};
|
|
9454
9577
|
}
|
|
9455
|
-
function
|
|
9578
|
+
function zv(e, n, t, r, o, i, s) {
|
|
9456
9579
|
const {
|
|
9457
9580
|
align: a,
|
|
9458
9581
|
axis: l,
|
|
@@ -9470,20 +9593,20 @@ function Hv(e, n, t, r, o, i, s) {
|
|
|
9470
9593
|
watchSlides: S,
|
|
9471
9594
|
watchDrag: x,
|
|
9472
9595
|
watchFocus: P
|
|
9473
|
-
} = i, R = 2, E =
|
|
9596
|
+
} = i, R = 2, E = Rv(), O = E.measure(n), I = t.map(E.measure), T = Cv(l, c), A = T.measureSize(O), H = _v(A), N = wv(a, A), W = !d && !!w, k = d || !!w, {
|
|
9474
9597
|
slideSizes: M,
|
|
9475
9598
|
slideSizesWithGaps: _,
|
|
9476
9599
|
startGap: B,
|
|
9477
9600
|
endGap: J
|
|
9478
|
-
} =
|
|
9601
|
+
} = Wv(T, O, I, t, k, o), Q = Bv(T, A, m, d, O, I, B, J, R), {
|
|
9479
9602
|
snaps: pe,
|
|
9480
9603
|
snapsAligned: me
|
|
9481
|
-
} =
|
|
9604
|
+
} = Tv(T, N, O, I, Q), ce = -Ie(pe) + Ie(_), {
|
|
9482
9605
|
snapsContained: Ee,
|
|
9483
9606
|
scrollContainLimit: Ce
|
|
9484
|
-
} =
|
|
9607
|
+
} = Dv(A, ce, me, w, R), F = W ? Ee : me, {
|
|
9485
9608
|
limit: U
|
|
9486
|
-
} =
|
|
9609
|
+
} = Ov(ce, F, d), re = kl(wn(F), u, d), X = re.clone(), L = ln(t), D = ({
|
|
9487
9610
|
dragHandler: Mt,
|
|
9488
9611
|
scrollBody: Cr,
|
|
9489
9612
|
scrollBounds: Sr,
|
|
@@ -9512,9 +9635,9 @@ function Hv(e, n, t, r, o, i, s) {
|
|
|
9512
9635
|
Ni && hu.stop();
|
|
9513
9636
|
const wu = Sr.get() * Ai + fu.get() * (1 - Ai);
|
|
9514
9637
|
xn.set(wu), Oi && (gu.loop(Mt.direction()), pu.loop()), Cr.to(xn.get()), Ni && Di.emit("settle"), Ti || Di.emit("scroll");
|
|
9515
|
-
}, te =
|
|
9638
|
+
}, te = bv(r, o, () => D(br), (Mt) => K(br, Mt)), ae = 0.68, de = F[re.get()], he = en(de), qe = en(de), Se = en(de), pt = en(de), Ut = Ev(he, Se, qe, pt, f, ae), yr = kv(d, F, ce, U, pt), wr = Fv(te, re, X, Ut, yr, pt, s), Pi = Iv(U), Ei = un(), uu = Hv(n, t, s, g), {
|
|
9516
9639
|
slideRegistry: Mi
|
|
9517
|
-
} =
|
|
9640
|
+
} = Nv(W, w, F, Ce, Q, L), du = Lv(e, t, Mi, wr, Ut, Ei, s, P), br = {
|
|
9518
9641
|
ownerDocument: r,
|
|
9519
9642
|
ownerWindow: o,
|
|
9520
9643
|
eventHandler: s,
|
|
@@ -9522,7 +9645,7 @@ function Hv(e, n, t, r, o, i, s) {
|
|
|
9522
9645
|
slideRects: I,
|
|
9523
9646
|
animation: te,
|
|
9524
9647
|
axis: T,
|
|
9525
|
-
dragHandler:
|
|
9648
|
+
dragHandler: Sv(T, e, r, o, pt, xv(T, o), he, te, wr, Ut, yr, re, s, H, p, h, y, ae, x),
|
|
9526
9649
|
eventStore: Ei,
|
|
9527
9650
|
percentOfView: H,
|
|
9528
9651
|
index: re,
|
|
@@ -9532,28 +9655,28 @@ function Hv(e, n, t, r, o, i, s) {
|
|
|
9532
9655
|
offsetLocation: Se,
|
|
9533
9656
|
previousLocation: qe,
|
|
9534
9657
|
options: i,
|
|
9535
|
-
resizeHandler:
|
|
9658
|
+
resizeHandler: Pv(n, s, o, t, T, C, E),
|
|
9536
9659
|
scrollBody: Ut,
|
|
9537
|
-
scrollBounds:
|
|
9538
|
-
scrollLooper:
|
|
9660
|
+
scrollBounds: Mv(U, Se, pt, Ut, H),
|
|
9661
|
+
scrollLooper: Av(ce, U, Se, [he, Se, qe, pt]),
|
|
9539
9662
|
scrollProgress: Pi,
|
|
9540
9663
|
scrollSnapList: F.map(Pi.get),
|
|
9541
9664
|
scrollSnaps: F,
|
|
9542
9665
|
scrollTarget: yr,
|
|
9543
9666
|
scrollTo: wr,
|
|
9544
|
-
slideLooper:
|
|
9667
|
+
slideLooper: $v(T, A, ce, M, _, pe, F, Se, t),
|
|
9545
9668
|
slideFocus: du,
|
|
9546
|
-
slidesHandler:
|
|
9669
|
+
slidesHandler: Vv(n, s, S),
|
|
9547
9670
|
slidesInView: uu,
|
|
9548
9671
|
slideIndexes: L,
|
|
9549
9672
|
slideRegistry: Mi,
|
|
9550
9673
|
slidesToScroll: Q,
|
|
9551
9674
|
target: pt,
|
|
9552
|
-
translate:
|
|
9675
|
+
translate: Fl(T, n)
|
|
9553
9676
|
};
|
|
9554
9677
|
return br;
|
|
9555
9678
|
}
|
|
9556
|
-
function
|
|
9679
|
+
function Gv() {
|
|
9557
9680
|
let e = {}, n;
|
|
9558
9681
|
function t(c) {
|
|
9559
9682
|
n = c;
|
|
@@ -9582,7 +9705,7 @@ function Wv() {
|
|
|
9582
9705
|
};
|
|
9583
9706
|
return l;
|
|
9584
9707
|
}
|
|
9585
|
-
const
|
|
9708
|
+
const jv = {
|
|
9586
9709
|
align: "center",
|
|
9587
9710
|
axis: "x",
|
|
9588
9711
|
container: null,
|
|
@@ -9604,9 +9727,9 @@ const Bv = {
|
|
|
9604
9727
|
watchSlides: !0,
|
|
9605
9728
|
watchFocus: !0
|
|
9606
9729
|
};
|
|
9607
|
-
function
|
|
9730
|
+
function Yv(e) {
|
|
9608
9731
|
function n(i, s) {
|
|
9609
|
-
return
|
|
9732
|
+
return Nl(i, s || {});
|
|
9610
9733
|
}
|
|
9611
9734
|
function t(i) {
|
|
9612
9735
|
const s = i.breakpoints || {}, a = cn(s).filter((l) => e.matchMedia(l).matches).map((l) => s[l]).reduce((l, c) => n(l, c), {});
|
|
@@ -9621,7 +9744,7 @@ function zv(e) {
|
|
|
9621
9744
|
optionsMediaQueries: r
|
|
9622
9745
|
};
|
|
9623
9746
|
}
|
|
9624
|
-
function
|
|
9747
|
+
function Uv(e) {
|
|
9625
9748
|
let n = [];
|
|
9626
9749
|
function t(i, s) {
|
|
9627
9750
|
return n = s.filter(({
|
|
@@ -9639,7 +9762,7 @@ function Gv(e) {
|
|
|
9639
9762
|
};
|
|
9640
9763
|
}
|
|
9641
9764
|
function jn(e, n, t) {
|
|
9642
|
-
const r = e.ownerDocument, o = r.defaultView, i =
|
|
9765
|
+
const r = e.ownerDocument, o = r.defaultView, i = Yv(o), s = Uv(i), a = un(), l = Gv(), {
|
|
9643
9766
|
mergeOptions: c,
|
|
9644
9767
|
optionsAtMedia: u,
|
|
9645
9768
|
optionsMediaQueries: d
|
|
@@ -9648,7 +9771,7 @@ function jn(e, n, t) {
|
|
|
9648
9771
|
off: p,
|
|
9649
9772
|
emit: h
|
|
9650
9773
|
} = l, g = T;
|
|
9651
|
-
let m = !1, y, w = c(
|
|
9774
|
+
let m = !1, y, w = c(jv, jn.globalOptions), C = c(w), S = [], x, P, R;
|
|
9652
9775
|
function E() {
|
|
9653
9776
|
const {
|
|
9654
9777
|
container: L,
|
|
@@ -9659,7 +9782,7 @@ function jn(e, n, t) {
|
|
|
9659
9782
|
R = [].slice.call(te || P.children);
|
|
9660
9783
|
}
|
|
9661
9784
|
function O(L) {
|
|
9662
|
-
const D =
|
|
9785
|
+
const D = zv(e, P, R, r, o, L, l);
|
|
9663
9786
|
if (L.loop && !D.slideLooper.canLoop()) {
|
|
9664
9787
|
const K = Object.assign({}, L, {
|
|
9665
9788
|
loop: !1
|
|
@@ -9761,146 +9884,23 @@ function jn(e, n, t) {
|
|
|
9761
9884
|
return I(n, t), setTimeout(() => l.emit("init"), 0), X;
|
|
9762
9885
|
}
|
|
9763
9886
|
jn.globalOptions = void 0;
|
|
9764
|
-
function
|
|
9887
|
+
function Ll(e = {}, n = []) {
|
|
9765
9888
|
const t = Qr(e), r = Qr(n), [o, i] = st(), [s, a] = st(), l = bu(() => {
|
|
9766
9889
|
o && o.reInit(t.current, r.current);
|
|
9767
9890
|
}, [o]);
|
|
9768
9891
|
return ht(() => {
|
|
9769
9892
|
li(t.current, e) || (t.current = e, l());
|
|
9770
9893
|
}, [e, l]), ht(() => {
|
|
9771
|
-
|
|
9894
|
+
hv(r.current, n) || (r.current = n, l());
|
|
9772
9895
|
}, [n, l]), ht(() => {
|
|
9773
|
-
if (
|
|
9774
|
-
jn.globalOptions =
|
|
9896
|
+
if (mv() && s) {
|
|
9897
|
+
jn.globalOptions = Ll.globalOptions;
|
|
9775
9898
|
const c = jn(s, t.current, r.current);
|
|
9776
9899
|
return i(c), () => c.destroy();
|
|
9777
9900
|
} else
|
|
9778
9901
|
i(void 0);
|
|
9779
9902
|
}, [s, i]), [a, o];
|
|
9780
9903
|
}
|
|
9781
|
-
Fl.globalOptions = void 0;
|
|
9782
|
-
const jv = {
|
|
9783
|
-
active: !0,
|
|
9784
|
-
breakpoints: {},
|
|
9785
|
-
delay: 4e3,
|
|
9786
|
-
jump: !1,
|
|
9787
|
-
playOnInit: !0,
|
|
9788
|
-
stopOnFocusIn: !0,
|
|
9789
|
-
stopOnInteraction: !0,
|
|
9790
|
-
stopOnMouseEnter: !1,
|
|
9791
|
-
stopOnLastSnap: !1,
|
|
9792
|
-
rootNode: null
|
|
9793
|
-
};
|
|
9794
|
-
function Yv(e, n) {
|
|
9795
|
-
const t = e.scrollSnapList();
|
|
9796
|
-
return typeof n == "number" ? t.map(() => n) : n(t, e);
|
|
9797
|
-
}
|
|
9798
|
-
function Uv(e, n) {
|
|
9799
|
-
const t = e.rootNode();
|
|
9800
|
-
return n && n(t) || t;
|
|
9801
|
-
}
|
|
9802
|
-
function Ll(e = {}) {
|
|
9803
|
-
let n, t, r, o, i = null, s = 0, a = !1, l = !1, c = !1, u = !1;
|
|
9804
|
-
function d(N, W) {
|
|
9805
|
-
t = N;
|
|
9806
|
-
const {
|
|
9807
|
-
mergeOptions: k,
|
|
9808
|
-
optionsAtMedia: M
|
|
9809
|
-
} = W, _ = k(jv, Ll.globalOptions), B = k(_, e);
|
|
9810
|
-
if (n = M(B), t.scrollSnapList().length <= 1) return;
|
|
9811
|
-
u = n.jump, r = !1, o = Yv(t, n.delay);
|
|
9812
|
-
const {
|
|
9813
|
-
eventStore: J,
|
|
9814
|
-
ownerDocument: Q
|
|
9815
|
-
} = t.internalEngine(), pe = !!t.internalEngine().options.watchDrag, me = Uv(t, n.rootNode);
|
|
9816
|
-
J.add(Q, "visibilitychange", y), pe && t.on("pointerDown", C), pe && !n.stopOnInteraction && t.on("pointerUp", S), n.stopOnMouseEnter && J.add(me, "mouseenter", x), n.stopOnMouseEnter && !n.stopOnInteraction && J.add(me, "mouseleave", P), n.stopOnFocusIn && t.on("slideFocusStart", m), n.stopOnFocusIn && !n.stopOnInteraction && J.add(t.containerNode(), "focusout", g), n.playOnInit && g();
|
|
9817
|
-
}
|
|
9818
|
-
function f() {
|
|
9819
|
-
t.off("pointerDown", C).off("pointerUp", S).off("slideFocusStart", m), m(), r = !0, a = !1;
|
|
9820
|
-
}
|
|
9821
|
-
function p() {
|
|
9822
|
-
const {
|
|
9823
|
-
ownerWindow: N
|
|
9824
|
-
} = t.internalEngine();
|
|
9825
|
-
N.clearTimeout(s), s = N.setTimeout(T, o[t.selectedScrollSnap()]), i = (/* @__PURE__ */ new Date()).getTime(), t.emit("autoplay:timerset");
|
|
9826
|
-
}
|
|
9827
|
-
function h() {
|
|
9828
|
-
const {
|
|
9829
|
-
ownerWindow: N
|
|
9830
|
-
} = t.internalEngine();
|
|
9831
|
-
N.clearTimeout(s), s = 0, i = null, t.emit("autoplay:timerstopped");
|
|
9832
|
-
}
|
|
9833
|
-
function g() {
|
|
9834
|
-
if (!r) {
|
|
9835
|
-
if (w()) {
|
|
9836
|
-
c = !0;
|
|
9837
|
-
return;
|
|
9838
|
-
}
|
|
9839
|
-
a || t.emit("autoplay:play"), p(), a = !0;
|
|
9840
|
-
}
|
|
9841
|
-
}
|
|
9842
|
-
function m() {
|
|
9843
|
-
r || (a && t.emit("autoplay:stop"), h(), a = !1);
|
|
9844
|
-
}
|
|
9845
|
-
function y() {
|
|
9846
|
-
if (w())
|
|
9847
|
-
return c = a, m();
|
|
9848
|
-
c && g();
|
|
9849
|
-
}
|
|
9850
|
-
function w() {
|
|
9851
|
-
const {
|
|
9852
|
-
ownerDocument: N
|
|
9853
|
-
} = t.internalEngine();
|
|
9854
|
-
return N.visibilityState === "hidden";
|
|
9855
|
-
}
|
|
9856
|
-
function C() {
|
|
9857
|
-
l || m();
|
|
9858
|
-
}
|
|
9859
|
-
function S() {
|
|
9860
|
-
l || g();
|
|
9861
|
-
}
|
|
9862
|
-
function x() {
|
|
9863
|
-
l = !0, m();
|
|
9864
|
-
}
|
|
9865
|
-
function P() {
|
|
9866
|
-
l = !1, g();
|
|
9867
|
-
}
|
|
9868
|
-
function R(N) {
|
|
9869
|
-
typeof N < "u" && (u = N), g();
|
|
9870
|
-
}
|
|
9871
|
-
function E() {
|
|
9872
|
-
a && m();
|
|
9873
|
-
}
|
|
9874
|
-
function O() {
|
|
9875
|
-
a && g();
|
|
9876
|
-
}
|
|
9877
|
-
function I() {
|
|
9878
|
-
return a;
|
|
9879
|
-
}
|
|
9880
|
-
function T() {
|
|
9881
|
-
const {
|
|
9882
|
-
index: N
|
|
9883
|
-
} = t.internalEngine(), W = N.clone().add(1).get(), k = t.scrollSnapList().length - 1, M = n.stopOnLastSnap && W === k;
|
|
9884
|
-
if (t.canScrollNext() ? t.scrollNext(u) : t.scrollTo(0, u), t.emit("autoplay:select"), M) return m();
|
|
9885
|
-
g();
|
|
9886
|
-
}
|
|
9887
|
-
function A() {
|
|
9888
|
-
if (!i) return null;
|
|
9889
|
-
const N = o[t.selectedScrollSnap()], W = (/* @__PURE__ */ new Date()).getTime() - i;
|
|
9890
|
-
return N - W;
|
|
9891
|
-
}
|
|
9892
|
-
return {
|
|
9893
|
-
name: "autoplay",
|
|
9894
|
-
options: e,
|
|
9895
|
-
init: d,
|
|
9896
|
-
destroy: f,
|
|
9897
|
-
play: R,
|
|
9898
|
-
stop: E,
|
|
9899
|
-
reset: O,
|
|
9900
|
-
isPlaying: I,
|
|
9901
|
-
timeUntilNext: A
|
|
9902
|
-
};
|
|
9903
|
-
}
|
|
9904
9904
|
Ll.globalOptions = void 0;
|
|
9905
9905
|
var ur = "Checkbox", [qv, Qb] = Oe(ur), [Kv, fi] = qv(ur);
|
|
9906
9906
|
function Xv(e) {
|
|
@@ -12616,7 +12616,7 @@ function vc(e) {
|
|
|
12616
12616
|
if (e instanceof Date)
|
|
12617
12617
|
n = new Date(e);
|
|
12618
12618
|
else if (!(pw && (e instanceof Blob || r)) && (t || Rt(e)))
|
|
12619
|
-
if (n = t ? [] :
|
|
12619
|
+
if (n = t ? [] : Object.create(Object.getPrototypeOf(e)), !t && !gw(e))
|
|
12620
12620
|
n = e;
|
|
12621
12621
|
else
|
|
12622
12622
|
for (const o in e)
|
|
@@ -14006,7 +14006,7 @@ var hb = mb(
|
|
|
14006
14006
|
const kC = /* @__PURE__ */ xw(hb);
|
|
14007
14007
|
export {
|
|
14008
14008
|
wC as $,
|
|
14009
|
-
|
|
14009
|
+
Tl as A,
|
|
14010
14010
|
cC as B,
|
|
14011
14011
|
Pb as C,
|
|
14012
14012
|
kb as D,
|
|
@@ -14045,9 +14045,9 @@ export {
|
|
|
14045
14045
|
_C as a8,
|
|
14046
14046
|
IC as a9,
|
|
14047
14047
|
NC as aa,
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14048
|
+
TC as ab,
|
|
14049
|
+
OC as ac,
|
|
14050
|
+
AC as ad,
|
|
14051
14051
|
oh as ae,
|
|
14052
14052
|
kC as af,
|
|
14053
14053
|
Nb as b,
|
|
@@ -14069,7 +14069,7 @@ export {
|
|
|
14069
14069
|
Zv as r,
|
|
14070
14070
|
Mb as s,
|
|
14071
14071
|
Eb as t,
|
|
14072
|
-
|
|
14072
|
+
Ll as u,
|
|
14073
14073
|
Zb as v,
|
|
14074
14074
|
tC as w,
|
|
14075
14075
|
nC as x,
|