@xwadex/fesd 0.0.1-4.13.rc → 0.0.1-4.15.rc
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.
@@ -11231,14 +11231,21 @@ function Jv() {
|
|
11231
11231
|
}, 1e3);
|
11232
11232
|
});
|
11233
11233
|
}
|
11234
|
-
function Zv() {
|
11234
|
+
function Zv(e = 500) {
|
11235
|
+
return new Promise((n, t) => {
|
11236
|
+
let a = setTimeout(() => {
|
11237
|
+
clearTimeout(a), n();
|
11238
|
+
}, e);
|
11239
|
+
});
|
11240
|
+
}
|
11241
|
+
function Qv() {
|
11235
11242
|
const e = function() {
|
11236
11243
|
let n = window.innerHeight * 0.01;
|
11237
11244
|
document.documentElement.style.setProperty("--vh", n + "px");
|
11238
11245
|
};
|
11239
11246
|
e(), window.addEventListener("resize", cv(e));
|
11240
11247
|
}
|
11241
|
-
function
|
11248
|
+
function ey(e, n, t, a, r) {
|
11242
11249
|
const l = this, m = Ze(e).html().split("<br>");
|
11243
11250
|
let c = "", u = 0;
|
11244
11251
|
m.forEach((h, g) => {
|
@@ -11247,11 +11254,11 @@ function Qv(e, n, t, a, r) {
|
|
11247
11254
|
});
|
11248
11255
|
}), Ze(e).html(c);
|
11249
11256
|
}
|
11250
|
-
function
|
11257
|
+
function ty(e, n) {
|
11251
11258
|
const t = Math.pow(10, n);
|
11252
11259
|
return Math.round(e * t) / t;
|
11253
11260
|
}
|
11254
|
-
function
|
11261
|
+
function ny(e) {
|
11255
11262
|
let n = e.activeIndex, t = e.slides.length;
|
11256
11263
|
if (e.params.loop)
|
11257
11264
|
switch (e.activeIndex) {
|
@@ -11266,18 +11273,18 @@ function ty(e) {
|
|
11266
11273
|
}
|
11267
11274
|
return n;
|
11268
11275
|
}
|
11269
|
-
function
|
11276
|
+
function iy(e, n) {
|
11270
11277
|
const t = e.$el, a = e.params.grid.rows, r = n || e.params.slidesPerView * a;
|
11271
11278
|
(e.loopedSlides ? e.slides.length - e.loopedSlides * 2 : e.slides.length) <= r ? (t.addClass("swiper-no-swiping"), Ze(e.params.navigation.nextEl).hide(), Ze(e.params.navigation.prevEl).hide(), Ze(e.params.pagination.el).hide(), e.params.autoplay.enabled = !1, e.autoplay.stop()) : (t.removeClass("swiper-no-swiping"), Ze(e.params.navigation.nextEl).show(), Ze(e.params.navigation.prevEl).show(), Ze(e.params.pagination.el).show(), e.params.autoplay.enabled && e.autoplay.start());
|
11272
11279
|
}
|
11273
|
-
function
|
11280
|
+
function ay(e) {
|
11274
11281
|
e.el.querySelectorAll("img.detect-shade").forEach((n) => {
|
11275
11282
|
n.addEventListener("load", function() {
|
11276
11283
|
detectShade(n);
|
11277
11284
|
});
|
11278
11285
|
});
|
11279
11286
|
}
|
11280
|
-
function
|
11287
|
+
function sy(e) {
|
11281
11288
|
const n = e.el, t = Ze(n).find(".swiper-slide-active"), a = Ze(t).find("video").get(0), r = Ze(n).find(".swiper-slide video");
|
11282
11289
|
e.autoplay.stop(), Ze(a).off("ended"), a ? (r.each((l, f) => {
|
11283
11290
|
f.currentTime = 0;
|
@@ -11285,7 +11292,7 @@ function ay(e) {
|
|
11285
11292
|
e.slideNext();
|
11286
11293
|
}), a.play()) : e.params.autoplay.enabled && e.autoplay.start();
|
11287
11294
|
}
|
11288
|
-
function
|
11295
|
+
function ry() {
|
11289
11296
|
Ze(".number-grow").each(function(e, n) {
|
11290
11297
|
const t = Ze(n), l = t.attr("data-num").replace(/(\d)(?=(?:\d{3})+$)/g, "$1,").split(""), f = () => {
|
11291
11298
|
let m = "";
|
@@ -11299,7 +11306,7 @@ function sy() {
|
|
11299
11306
|
});
|
11300
11307
|
});
|
11301
11308
|
}
|
11302
|
-
function
|
11309
|
+
function oy() {
|
11303
11310
|
Ze(".letter-grow").each(function(e, n) {
|
11304
11311
|
const t = Ze(n), r = t.attr("data-letter").split(""), l = () => {
|
11305
11312
|
let f = "";
|
@@ -11313,12 +11320,12 @@ function ry() {
|
|
11313
11320
|
});
|
11314
11321
|
});
|
11315
11322
|
}
|
11316
|
-
function
|
11323
|
+
function ly(e) {
|
11317
11324
|
const n = getComputedStyle(e).transform;
|
11318
11325
|
let t = n.match(/^matrix3d\((.+)\)$/);
|
11319
11326
|
return t ? parseFloat(t[1].split(", ")[12]) : (t = n.match(/^matrix\((.+)\)$/), t ? parseFloat(t[1].split(", ")[4]) : 0);
|
11320
11327
|
}
|
11321
|
-
function
|
11328
|
+
function cy(e) {
|
11322
11329
|
const n = getComputedStyle(e).transform;
|
11323
11330
|
let t = n.match(/^matrix3d\((.+)\)$/);
|
11324
11331
|
return t ? parseFloat(t[1].split(", ")[13]) : (t = n.match(/^matrix\((.+)\)$/), t ? parseFloat(t[1].split(", ")[5]) : 0);
|
@@ -14632,7 +14639,7 @@ function Sd() {
|
|
14632
14639
|
}
|
14633
14640
|
document.addEventListener("click", Sd);
|
14634
14641
|
var pa, fo, Ps, Cd, Os, wd, Is, Dd;
|
14635
|
-
class
|
14642
|
+
class uy extends HTMLElement {
|
14636
14643
|
constructor() {
|
14637
14644
|
super();
|
14638
14645
|
$e(this, pa);
|
@@ -14883,7 +14890,7 @@ export {
|
|
14883
14890
|
ty as O,
|
14884
14891
|
ny as P,
|
14885
14892
|
iy as Q,
|
14886
|
-
|
14893
|
+
uy as R,
|
14887
14894
|
Kt as S,
|
14888
14895
|
wv as T,
|
14889
14896
|
ay as U,
|
@@ -14891,6 +14898,7 @@ export {
|
|
14891
14898
|
ry as W,
|
14892
14899
|
oy as X,
|
14893
14900
|
ly as Y,
|
14901
|
+
cy as Z,
|
14894
14902
|
_t as a,
|
14895
14903
|
ho as b,
|
14896
14904
|
ff as c,
|