@innovastudio/contentbox-runtime-base 1.0.16 → 1.0.18

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.
@@ -2,51 +2,51 @@ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
2
2
  function je(o) {
3
3
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
4
4
  }
5
- var me = { exports: {} }, Ge = me.exports, Ve;
6
- function Qe() {
5
+ var me = { exports: {} }, Ze = me.exports, Ve;
6
+ function Ge() {
7
7
  return Ve || (Ve = 1, (function(o, t) {
8
8
  (function(i, s) {
9
9
  o.exports = s();
10
- })(Ge, function() {
11
- var i = typeof window < "u" ? window : typeof Ie < "u" ? Ie : typeof self < "u" ? self : {}, s = "Expected a function", e = NaN, a = "[object Symbol]", r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, h = /^0b[01]+$/i, d = /^0o[0-7]+$/i, c = parseInt, f = typeof i == "object" && i && i.Object === Object && i, b = typeof self == "object" && self && self.Object === Object && self, _ = f || b || Function("return this")(), S = Object.prototype.toString, T = Math.max, K = Math.min, ft = function() {
12
- return _.Date.now();
10
+ })(Ze, function() {
11
+ var i = typeof window < "u" ? window : typeof Ie < "u" ? Ie : typeof self < "u" ? self : {}, s = "Expected a function", e = NaN, a = "[object Symbol]", r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, h = /^0b[01]+$/i, l = /^0o[0-7]+$/i, c = parseInt, u = typeof i == "object" && i && i.Object === Object && i, b = typeof self == "object" && self && self.Object === Object && self, C = u || b || Function("return this")(), A = Object.prototype.toString, E = Math.max, Q = Math.min, ft = function() {
12
+ return C.Date.now();
13
13
  };
14
14
  function Bt(p, m, y) {
15
- var w, k, W, H, E, $, M = 0, ht = !1, F = !1, J = !0;
15
+ var w, k, W, H, _, R, M = 0, ht = !1, F = !1, J = !0;
16
16
  if (typeof p != "function") throw new TypeError(s);
17
- function ct(C) {
17
+ function ct(j) {
18
18
  var U = w, ut = k;
19
- return w = k = void 0, M = C, H = p.apply(ut, U);
19
+ return w = k = void 0, M = j, H = p.apply(ut, U);
20
20
  }
21
- function zt(C) {
22
- var U = C - $;
23
- return $ === void 0 || U >= m || U < 0 || F && C - M >= W;
21
+ function zt(j) {
22
+ var U = j - R;
23
+ return R === void 0 || U >= m || U < 0 || F && j - M >= W;
24
24
  }
25
25
  function St() {
26
- var C = ft();
27
- if (zt(C)) return Xt(C);
28
- E = setTimeout(St, (function(U) {
29
- var ut = m - (U - $);
30
- return F ? K(ut, W - (U - M)) : ut;
31
- })(C));
26
+ var j = ft();
27
+ if (zt(j)) return Xt(j);
28
+ _ = setTimeout(St, (function(U) {
29
+ var ut = m - (U - R);
30
+ return F ? Q(ut, W - (U - M)) : ut;
31
+ })(j));
32
32
  }
33
- function Xt(C) {
34
- return E = void 0, J && w ? ct(C) : (w = k = void 0, H);
33
+ function Xt(j) {
34
+ return _ = void 0, J && w ? ct(j) : (w = k = void 0, H);
35
35
  }
36
36
  function nt() {
37
- var C = ft(), U = zt(C);
38
- if (w = arguments, k = this, $ = C, U) {
39
- if (E === void 0) return (function(ut) {
40
- return M = ut, E = setTimeout(St, m), ht ? ct(ut) : H;
41
- })($);
42
- if (F) return E = setTimeout(St, m), ct($);
37
+ var j = ft(), U = zt(j);
38
+ if (w = arguments, k = this, R = j, U) {
39
+ if (_ === void 0) return (function(ut) {
40
+ return M = ut, _ = setTimeout(St, m), ht ? ct(ut) : H;
41
+ })(R);
42
+ if (F) return _ = setTimeout(St, m), ct(R);
43
43
  }
44
- return E === void 0 && (E = setTimeout(St, m)), H;
44
+ return _ === void 0 && (_ = setTimeout(St, m)), H;
45
45
  }
46
- return m = Lt(m) || 0, Ct(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? T(Lt(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
47
- E !== void 0 && clearTimeout(E), M = 0, w = $ = k = E = void 0;
46
+ return m = Lt(m) || 0, Ct(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? E(Lt(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
47
+ _ !== void 0 && clearTimeout(_), M = 0, w = R = k = _ = void 0;
48
48
  }, nt.flush = function() {
49
- return E === void 0 ? H : Xt(ft());
49
+ return _ === void 0 ? H : Xt(ft());
50
50
  }, nt;
51
51
  }
52
52
  function Ct(p) {
@@ -58,7 +58,7 @@ function Qe() {
58
58
  if ((function(w) {
59
59
  return typeof w == "symbol" || /* @__PURE__ */ (function(k) {
60
60
  return !!k && typeof k == "object";
61
- })(w) && S.call(w) == a;
61
+ })(w) && A.call(w) == a;
62
62
  })(p)) return e;
63
63
  if (Ct(p)) {
64
64
  var m = typeof p.valueOf == "function" ? p.valueOf() : p;
@@ -67,83 +67,83 @@ function Qe() {
67
67
  if (typeof p != "string") return p === 0 ? p : +p;
68
68
  p = p.replace(r, "");
69
69
  var y = h.test(p);
70
- return y || d.test(p) ? c(p.slice(2), y ? 2 : 8) : n.test(p) ? e : +p;
70
+ return y || l.test(p) ? c(p.slice(2), y ? 2 : 8) : n.test(p) ? e : +p;
71
71
  }
72
72
  var kt = function(p, m, y) {
73
73
  var w = !0, k = !0;
74
74
  if (typeof p != "function") throw new TypeError(s);
75
75
  return Ct(y) && (w = "leading" in y ? !!y.leading : w, k = "trailing" in y ? !!y.trailing : k), Bt(p, m, { leading: w, maxWait: m, trailing: k });
76
- }, l = "Expected a function", u = NaN, v = "[object Symbol]", j = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, tt = /^0o[0-7]+$/i, At = parseInt, B = typeof i == "object" && i && i.Object === Object && i, gt = typeof self == "object" && self && self.Object === Object && self, x = B || gt || Function("return this")(), A = Object.prototype.toString, X = Math.max, L = Math.min, Z = function() {
76
+ }, d = "Expected a function", f = NaN, v = "[object Symbol]", T = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, tt = /^0o[0-7]+$/i, At = parseInt, B = typeof i == "object" && i && i.Object === Object && i, gt = typeof self == "object" && self && self.Object === Object && self, x = B || gt || Function("return this")(), S = Object.prototype.toString, X = Math.max, L = Math.min, K = function() {
77
77
  return x.Date.now();
78
78
  };
79
- function G(p) {
79
+ function Z(p) {
80
80
  var m = typeof p;
81
81
  return !!p && (m == "object" || m == "function");
82
82
  }
83
- function R(p) {
83
+ function $(p) {
84
84
  if (typeof p == "number") return p;
85
85
  if ((function(w) {
86
86
  return typeof w == "symbol" || /* @__PURE__ */ (function(k) {
87
87
  return !!k && typeof k == "object";
88
- })(w) && A.call(w) == v;
89
- })(p)) return u;
90
- if (G(p)) {
88
+ })(w) && S.call(w) == v;
89
+ })(p)) return f;
90
+ if (Z(p)) {
91
91
  var m = typeof p.valueOf == "function" ? p.valueOf() : p;
92
- p = G(m) ? m + "" : m;
92
+ p = Z(m) ? m + "" : m;
93
93
  }
94
94
  if (typeof p != "string") return p === 0 ? p : +p;
95
- p = p.replace(j, "");
95
+ p = p.replace(T, "");
96
96
  var y = I.test(p);
97
- return y || tt.test(p) ? At(p.slice(2), y ? 2 : 8) : O.test(p) ? u : +p;
97
+ return y || tt.test(p) ? At(p.slice(2), y ? 2 : 8) : O.test(p) ? f : +p;
98
98
  }
99
99
  var It = function(p, m, y) {
100
- var w, k, W, H, E, $, M = 0, ht = !1, F = !1, J = !0;
101
- if (typeof p != "function") throw new TypeError(l);
102
- function ct(C) {
100
+ var w, k, W, H, _, R, M = 0, ht = !1, F = !1, J = !0;
101
+ if (typeof p != "function") throw new TypeError(d);
102
+ function ct(j) {
103
103
  var U = w, ut = k;
104
- return w = k = void 0, M = C, H = p.apply(ut, U);
104
+ return w = k = void 0, M = j, H = p.apply(ut, U);
105
105
  }
106
- function zt(C) {
107
- var U = C - $;
108
- return $ === void 0 || U >= m || U < 0 || F && C - M >= W;
106
+ function zt(j) {
107
+ var U = j - R;
108
+ return R === void 0 || U >= m || U < 0 || F && j - M >= W;
109
109
  }
110
110
  function St() {
111
- var C = Z();
112
- if (zt(C)) return Xt(C);
113
- E = setTimeout(St, (function(U) {
114
- var ut = m - (U - $);
111
+ var j = K();
112
+ if (zt(j)) return Xt(j);
113
+ _ = setTimeout(St, (function(U) {
114
+ var ut = m - (U - R);
115
115
  return F ? L(ut, W - (U - M)) : ut;
116
- })(C));
116
+ })(j));
117
117
  }
118
- function Xt(C) {
119
- return E = void 0, J && w ? ct(C) : (w = k = void 0, H);
118
+ function Xt(j) {
119
+ return _ = void 0, J && w ? ct(j) : (w = k = void 0, H);
120
120
  }
121
121
  function nt() {
122
- var C = Z(), U = zt(C);
123
- if (w = arguments, k = this, $ = C, U) {
124
- if (E === void 0) return (function(ut) {
125
- return M = ut, E = setTimeout(St, m), ht ? ct(ut) : H;
126
- })($);
127
- if (F) return E = setTimeout(St, m), ct($);
122
+ var j = K(), U = zt(j);
123
+ if (w = arguments, k = this, R = j, U) {
124
+ if (_ === void 0) return (function(ut) {
125
+ return M = ut, _ = setTimeout(St, m), ht ? ct(ut) : H;
126
+ })(R);
127
+ if (F) return _ = setTimeout(St, m), ct(R);
128
128
  }
129
- return E === void 0 && (E = setTimeout(St, m)), H;
129
+ return _ === void 0 && (_ = setTimeout(St, m)), H;
130
130
  }
131
- return m = R(m) || 0, G(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? X(R(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
132
- E !== void 0 && clearTimeout(E), M = 0, w = $ = k = E = void 0;
131
+ return m = $(m) || 0, Z(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? X($(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
132
+ _ !== void 0 && clearTimeout(_), M = 0, w = R = k = _ = void 0;
133
133
  }, nt.flush = function() {
134
- return E === void 0 ? H : Xt(Z());
134
+ return _ === void 0 ? H : Xt(K());
135
135
  }, nt;
136
- }, Q = function() {
136
+ }, G = function() {
137
137
  };
138
138
  function P(p) {
139
139
  p && p.forEach(function(m) {
140
140
  var y = Array.prototype.slice.call(m.addedNodes), w = Array.prototype.slice.call(m.removedNodes);
141
141
  if ((function k(W) {
142
- var H = void 0, E = void 0;
142
+ var H = void 0, _ = void 0;
143
143
  for (H = 0; H < W.length; H += 1)
144
- if ((E = W[H]).dataset && E.dataset.aos || E.children && k(E.children)) return !0;
144
+ if ((_ = W[H]).dataset && _.dataset.aos || _.children && k(_.children)) return !0;
145
145
  return !1;
146
- })(y.concat(w))) return Q();
146
+ })(y.concat(w))) return G();
147
147
  });
148
148
  }
149
149
  function D() {
@@ -153,7 +153,7 @@ function Qe() {
153
153
  return !!D();
154
154
  }, ready: function(p, m) {
155
155
  var y = window.document, w = new (D())(P);
156
- Q = m, w.observe(y.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
156
+ G = m, w.observe(y.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
157
157
  } }, _t = function(p, m) {
158
158
  if (!(p instanceof m)) throw new TypeError("Cannot call a class as a function");
159
159
  }, ot = /* @__PURE__ */ (function() {
@@ -197,18 +197,18 @@ function Qe() {
197
197
  }, st = function(p) {
198
198
  return p.forEach(function(m, y) {
199
199
  return (function(w, k) {
200
- var W = w.options, H = w.position, E = w.node, $ = (w.data, function() {
200
+ var W = w.options, H = w.position, _ = w.node, R = (w.data, function() {
201
201
  w.animated && ((function(M, ht) {
202
202
  ht && ht.forEach(function(F) {
203
203
  return M.classList.remove(F);
204
204
  });
205
- })(E, W.animatedClassNames), bt("aos:out", E), w.options.id && bt("aos:in:" + w.options.id, E), w.animated = !1);
205
+ })(_, W.animatedClassNames), bt("aos:out", _), w.options.id && bt("aos:in:" + w.options.id, _), w.animated = !1);
206
206
  });
207
- W.mirror && k >= H.out && !W.once ? $() : k >= H.in ? w.animated || ((function(M, ht) {
207
+ W.mirror && k >= H.out && !W.once ? R() : k >= H.in ? w.animated || ((function(M, ht) {
208
208
  ht && ht.forEach(function(F) {
209
209
  return M.classList.add(F);
210
210
  });
211
- })(E, W.animatedClassNames), bt("aos:in", E), w.options.id && bt("aos:in:" + w.options.id, E), w.animated = !0) : w.animated && !W.once && $();
211
+ })(_, W.animatedClassNames), bt("aos:in", _), w.options.id && bt("aos:in:" + w.options.id, _), w.animated = !0) : w.animated && !W.once && R();
212
212
  })(m, window.pageYOffset);
213
213
  });
214
214
  }, yt = function(p) {
@@ -223,45 +223,45 @@ function Qe() {
223
223
  return w || y;
224
224
  }, Et = function(p, m) {
225
225
  return p.forEach(function(y, w) {
226
- var k = q(y.node, "mirror", m.mirror), W = q(y.node, "once", m.once), H = q(y.node, "id"), E = m.useClassNames && y.node.getAttribute("data-aos"), $ = [m.animatedClassName].concat(E ? E.split(" ") : []).filter(function(M) {
226
+ var k = q(y.node, "mirror", m.mirror), W = q(y.node, "once", m.once), H = q(y.node, "id"), _ = m.useClassNames && y.node.getAttribute("data-aos"), R = [m.animatedClassName].concat(_ ? _.split(" ") : []).filter(function(M) {
227
227
  return typeof M == "string";
228
228
  });
229
229
  m.initClassName && y.node.classList.add(m.initClassName), y.position = { in: (function(M, ht, F) {
230
230
  var J = window.innerHeight, ct = q(M, "anchor"), zt = q(M, "anchor-placement"), St = Number(q(M, "offset", zt ? 0 : ht)), Xt = zt || F, nt = M;
231
231
  ct && document.querySelectorAll(ct) && (nt = document.querySelectorAll(ct)[0]);
232
- var C = yt(nt).top - J;
232
+ var j = yt(nt).top - J;
233
233
  switch (Xt) {
234
234
  case "top-bottom":
235
235
  break;
236
236
  case "center-bottom":
237
- C += nt.offsetHeight / 2;
237
+ j += nt.offsetHeight / 2;
238
238
  break;
239
239
  case "bottom-bottom":
240
- C += nt.offsetHeight;
240
+ j += nt.offsetHeight;
241
241
  break;
242
242
  case "top-center":
243
- C += J / 2;
243
+ j += J / 2;
244
244
  break;
245
245
  case "center-center":
246
- C += J / 2 + nt.offsetHeight / 2;
246
+ j += J / 2 + nt.offsetHeight / 2;
247
247
  break;
248
248
  case "bottom-center":
249
- C += J / 2 + nt.offsetHeight;
249
+ j += J / 2 + nt.offsetHeight;
250
250
  break;
251
251
  case "top-top":
252
- C += J;
252
+ j += J;
253
253
  break;
254
254
  case "bottom-top":
255
- C += J + nt.offsetHeight;
255
+ j += J + nt.offsetHeight;
256
256
  break;
257
257
  case "center-top":
258
- C += J + nt.offsetHeight / 2;
258
+ j += J + nt.offsetHeight / 2;
259
259
  }
260
- return C + St;
260
+ return j + St;
261
261
  })(y.node, m.offset, m.anchorPlacement), out: k && (function(M, ht) {
262
262
  var F = q(M, "anchor"), J = q(M, "offset", ht), ct = M;
263
263
  return F && document.querySelectorAll(F) && (ct = document.querySelectorAll(F)[0]), yt(ct).top + ct.offsetHeight - J;
264
- })(y.node, m.offset) }, y.options = { once: W, mirror: k, animatedClassNames: $, id: H };
264
+ })(y.node, m.offset) }, y.options = { once: W, mirror: k, animatedClassNames: R, id: H };
265
265
  }), p;
266
266
  }, Vt = function() {
267
267
  var p = document.querySelectorAll("[data-aos]");
@@ -298,219 +298,219 @@ function Qe() {
298
298
  });
299
299
  })(me)), me.exports;
300
300
  }
301
- var Ke = Qe();
302
- const Je = /* @__PURE__ */ je(Ke);
301
+ var Qe = Ge();
302
+ const Je = /* @__PURE__ */ je(Qe);
303
303
  var Oe = { exports: {} }, Ye;
304
304
  function ti() {
305
305
  return Ye || (Ye = 1, (function(o) {
306
- function t(d, c) {
307
- if (!(d instanceof c)) throw new TypeError("Cannot call a class as a function");
306
+ function t(l, c) {
307
+ if (!(l instanceof c)) throw new TypeError("Cannot call a class as a function");
308
308
  }
309
- function i(d, c, f) {
310
- return c in d ? Object.defineProperty(d, c, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : d[c] = f, d;
309
+ function i(l, c, u) {
310
+ return c in l ? Object.defineProperty(l, c, { value: u, enumerable: !0, configurable: !0, writable: !0 }) : l[c] = u, l;
311
311
  }
312
- function s(d, c) {
313
- return h(d) || n(d, c) || a(d, c) || e();
312
+ function s(l, c) {
313
+ return h(l) || n(l, c) || a(l, c) || e();
314
314
  }
315
315
  function e() {
316
316
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
317
317
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
318
318
  }
319
- function a(d, c) {
320
- if (d) {
321
- if (typeof d == "string") return r(d, c);
322
- var f = Object.prototype.toString.call(d).slice(8, -1);
323
- return f === "Object" && d.constructor && (f = d.constructor.name), f === "Map" || f === "Set" ? Array.from(d) : f === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f) ? r(d, c) : void 0;
319
+ function a(l, c) {
320
+ if (l) {
321
+ if (typeof l == "string") return r(l, c);
322
+ var u = Object.prototype.toString.call(l).slice(8, -1);
323
+ return u === "Object" && l.constructor && (u = l.constructor.name), u === "Map" || u === "Set" ? Array.from(l) : u === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u) ? r(l, c) : void 0;
324
324
  }
325
325
  }
326
- function r(d, c) {
327
- (c == null || c > d.length) && (c = d.length);
328
- for (var f = 0, b = new Array(c); f < c; f++) b[f] = d[f];
326
+ function r(l, c) {
327
+ (c == null || c > l.length) && (c = l.length);
328
+ for (var u = 0, b = new Array(c); u < c; u++) b[u] = l[u];
329
329
  return b;
330
330
  }
331
- function n(d, c) {
332
- if (typeof Symbol < "u" && Symbol.iterator in Object(d)) {
333
- var f = [], b = !0, _ = !1, S = void 0;
331
+ function n(l, c) {
332
+ if (typeof Symbol < "u" && Symbol.iterator in Object(l)) {
333
+ var u = [], b = !0, C = !1, A = void 0;
334
334
  try {
335
- for (var T, K = d[Symbol.iterator](); !(b = (T = K.next()).done) && (f.push(T.value), !c || f.length !== c); b = !0) ;
335
+ for (var E, Q = l[Symbol.iterator](); !(b = (E = Q.next()).done) && (u.push(E.value), !c || u.length !== c); b = !0) ;
336
336
  } catch (ft) {
337
- _ = !0, S = ft;
337
+ C = !0, A = ft;
338
338
  } finally {
339
339
  try {
340
- b || K.return == null || K.return();
340
+ b || Q.return == null || Q.return();
341
341
  } finally {
342
- if (_) throw S;
342
+ if (C) throw A;
343
343
  }
344
344
  }
345
- return f;
345
+ return u;
346
346
  }
347
347
  }
348
- function h(d) {
349
- if (Array.isArray(d)) return d;
348
+ function h(l) {
349
+ if (Array.isArray(l)) return l;
350
350
  }
351
351
  (function() {
352
- function d(l) {
353
- return ["elInY+elHeight", "elCenterY-".concat(l = 0 < arguments.length && l !== void 0 ? l : 30), "elCenterY", "elCenterY+".concat(l), "elOutY-elHeight"];
354
- }
355
- var c, f, b, _, S, T, K = { fadeInOut: function(l, u) {
356
- return u = 1 < arguments.length && u !== void 0 ? u : 0, { opacity: [d(0 < arguments.length && l !== void 0 ? l : 30), [u, 1, 1, 1, u]] };
357
- }, fadeIn: function(l, u) {
358
- return { opacity: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 0, 1]] };
359
- }, fadeOut: function(l, u) {
360
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && u !== void 0 ? u : 0]] };
361
- }, blurInOut: function(l, u) {
362
- return u = 1 < arguments.length && u !== void 0 ? u : 20, { blur: [d(0 < arguments.length && l !== void 0 ? l : 100), [u, 0, 0, 0, u]] };
363
- }, blurIn: function(l, u) {
364
- return { blur: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 20, 0]] };
365
- }, blurOut: function(l, u) {
366
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && u !== void 0 ? u : 20]] };
367
- }, scaleInOut: function(l, u) {
368
- return u = 1 < arguments.length && u !== void 0 ? u : 0.6, { scale: [d(0 < arguments.length && l !== void 0 ? l : 100), [u, 1, 1, 1, u]] };
369
- }, scaleIn: function(l, u) {
370
- return { scale: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 0.6, 1]] };
371
- }, scaleOut: function(l, u) {
372
- return { scale: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && u !== void 0 ? u : 0.6]] };
373
- }, slideX: function(l, u) {
374
- return { translateX: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && u !== void 0 ? u : 500]] };
375
- }, slideY: function(l, u) {
376
- return { translateY: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && u !== void 0 ? u : 500]] };
377
- }, spin: function(l, u) {
378
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotate: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
379
- }, flipX: function(l, u) {
380
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateX: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
381
- }, flipY: function(l, u) {
382
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateY: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
383
- }, jiggle: function(l, u) {
384
- return l = 0 < arguments.length && l !== void 0 ? l : 50, u = 1 < arguments.length && u !== void 0 ? u : 40, { skewX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
385
- }, seesaw: function(l, u) {
386
- return l = 0 < arguments.length && l !== void 0 ? l : 50, u = 1 < arguments.length && u !== void 0 ? u : 40, { skewY: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
387
- }, zigzag: function(l, u) {
388
- return l = 0 < arguments.length && l !== void 0 ? l : 100, u = 1 < arguments.length && u !== void 0 ? u : 100, { translateX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
389
- }, hueRotate: function(l, u) {
390
- return l = 0 < arguments.length && l !== void 0 ? l : 600, { "hue-rotate": [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
391
- } }, ft = (c = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], f = ["blur", "hue-rotate", "brightness"], b = ["translateX", "translateY", "translateZ"], _ = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], S = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], T = { easeInQuad: function(l) {
392
- return l * l;
393
- }, easeOutQuad: function(l) {
394
- return l * (2 - l);
395
- }, easeInOutQuad: function(l) {
396
- return l < 0.5 ? 2 * l * l : (4 - 2 * l) * l - 1;
397
- }, easeInCubic: function(l) {
398
- return l * l * l;
399
- }, easeOutCubic: function(l) {
400
- return --l * l * l + 1;
401
- }, easeInOutCubic: function(l) {
402
- return l < 0.5 ? 4 * l * l * l : (l - 1) * (2 * l - 2) * (2 * l - 2) + 1;
403
- }, easeInQuart: function(l) {
404
- return l * l * l * l;
405
- }, easeOutQuart: function(l) {
406
- return 1 - --l * l * l * l;
407
- }, easeInOutQuart: function(l) {
408
- return l < 0.5 ? 8 * l * l * l * l : 1 - 8 * --l * l * l * l;
409
- }, easeInQuint: function(l) {
410
- return l * l * l * l * l;
411
- }, easeOutQuint: function(l) {
412
- return 1 + --l * l * l * l * l;
413
- }, easeInOutQuint: function(l) {
414
- return l < 0.5 ? 16 * l * l * l * l * l : 1 + 16 * --l * l * l * l * l;
415
- }, easeOutBounce: function(l) {
416
- var u = 7.5625, v = 2.75;
417
- return l < 1 / v ? u * l * l : l < 2 / v ? u * (l -= 1.5 / v) * l + 0.75 : l < 2.5 / v ? u * (l -= 2.25 / v) * l + 0.9375 : u * (l -= 2.625 / v) * l + 0.984375;
418
- }, easeInBounce: function(l) {
419
- return 1 - T.easeOutBounce(1 - l);
420
- }, easeOutBack: function(l) {
421
- return 1 + 2.70158 * Math.pow(l - 1, 3) + 1.70158 * Math.pow(l - 1, 2);
422
- }, easeInBack: function(l) {
423
- return 2.70158 * l * l * l - 1.70158 * l * l;
424
- } }, new function l() {
425
- var u = this;
426
- t(this, l), i(this, "drivers", []), i(this, "elements", []), i(this, "frame", 0), i(this, "debug", !1), i(this, "windowWidth", 0), i(this, "windowHeight", 0), i(this, "presets", K), i(this, "debugData", { frameLengths: [] }), i(this, "init", function() {
427
- u.findAndAddElements(), window.requestAnimationFrame(u.onAnimationFrame), u.windowWidth = document.body.clientWidth, u.windowHeight = document.body.clientHeight, window.onresize = u.onWindowResize;
352
+ function l(d) {
353
+ return ["elInY+elHeight", "elCenterY-".concat(d = 0 < arguments.length && d !== void 0 ? d : 30), "elCenterY", "elCenterY+".concat(d), "elOutY-elHeight"];
354
+ }
355
+ var c, u, b, C, A, E, Q = { fadeInOut: function(d, f) {
356
+ return f = 1 < arguments.length && f !== void 0 ? f : 0, { opacity: [l(0 < arguments.length && d !== void 0 ? d : 30), [f, 1, 1, 1, f]] };
357
+ }, fadeIn: function(d, f) {
358
+ return { opacity: [["elInY+elHeight", 0 < arguments.length && d !== void 0 ? d : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 0, 1]] };
359
+ }, fadeOut: function(d, f) {
360
+ return { opacity: [[0 < arguments.length && d !== void 0 ? d : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && f !== void 0 ? f : 0]] };
361
+ }, blurInOut: function(d, f) {
362
+ return f = 1 < arguments.length && f !== void 0 ? f : 20, { blur: [l(0 < arguments.length && d !== void 0 ? d : 100), [f, 0, 0, 0, f]] };
363
+ }, blurIn: function(d, f) {
364
+ return { blur: [["elInY+elHeight", 0 < arguments.length && d !== void 0 ? d : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 20, 0]] };
365
+ }, blurOut: function(d, f) {
366
+ return { opacity: [[0 < arguments.length && d !== void 0 ? d : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && f !== void 0 ? f : 20]] };
367
+ }, scaleInOut: function(d, f) {
368
+ return f = 1 < arguments.length && f !== void 0 ? f : 0.6, { scale: [l(0 < arguments.length && d !== void 0 ? d : 100), [f, 1, 1, 1, f]] };
369
+ }, scaleIn: function(d, f) {
370
+ return { scale: [["elInY+elHeight", 0 < arguments.length && d !== void 0 ? d : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 0.6, 1]] };
371
+ }, scaleOut: function(d, f) {
372
+ return { scale: [[0 < arguments.length && d !== void 0 ? d : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && f !== void 0 ? f : 0.6]] };
373
+ }, slideX: function(d, f) {
374
+ return { translateX: [["elInY", 0 < arguments.length && d !== void 0 ? d : 0], [0, 1 < arguments.length && f !== void 0 ? f : 500]] };
375
+ }, slideY: function(d, f) {
376
+ return { translateY: [["elInY", 0 < arguments.length && d !== void 0 ? d : 0], [0, 1 < arguments.length && f !== void 0 ? f : 500]] };
377
+ }, spin: function(d, f) {
378
+ return d = 0 < arguments.length && d !== void 0 ? d : 1e3, { rotate: [[0, d], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: d }] };
379
+ }, flipX: function(d, f) {
380
+ return d = 0 < arguments.length && d !== void 0 ? d : 1e3, { rotateX: [[0, d], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: d }] };
381
+ }, flipY: function(d, f) {
382
+ return d = 0 < arguments.length && d !== void 0 ? d : 1e3, { rotateY: [[0, d], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: d }] };
383
+ }, jiggle: function(d, f) {
384
+ return d = 0 < arguments.length && d !== void 0 ? d : 50, f = 1 < arguments.length && f !== void 0 ? f : 40, { skewX: [[0, +d, 2 * d, 3 * d, 4 * d], [0, f, 0, -f, 0], { modValue: 4 * d }] };
385
+ }, seesaw: function(d, f) {
386
+ return d = 0 < arguments.length && d !== void 0 ? d : 50, f = 1 < arguments.length && f !== void 0 ? f : 40, { skewY: [[0, +d, 2 * d, 3 * d, 4 * d], [0, f, 0, -f, 0], { modValue: 4 * d }] };
387
+ }, zigzag: function(d, f) {
388
+ return d = 0 < arguments.length && d !== void 0 ? d : 100, f = 1 < arguments.length && f !== void 0 ? f : 100, { translateX: [[0, +d, 2 * d, 3 * d, 4 * d], [0, f, 0, -f, 0], { modValue: 4 * d }] };
389
+ }, hueRotate: function(d, f) {
390
+ return d = 0 < arguments.length && d !== void 0 ? d : 600, { "hue-rotate": [[0, d], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: d }] };
391
+ } }, ft = (c = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], u = ["blur", "hue-rotate", "brightness"], b = ["translateX", "translateY", "translateZ"], C = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], A = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], E = { easeInQuad: function(d) {
392
+ return d * d;
393
+ }, easeOutQuad: function(d) {
394
+ return d * (2 - d);
395
+ }, easeInOutQuad: function(d) {
396
+ return d < 0.5 ? 2 * d * d : (4 - 2 * d) * d - 1;
397
+ }, easeInCubic: function(d) {
398
+ return d * d * d;
399
+ }, easeOutCubic: function(d) {
400
+ return --d * d * d + 1;
401
+ }, easeInOutCubic: function(d) {
402
+ return d < 0.5 ? 4 * d * d * d : (d - 1) * (2 * d - 2) * (2 * d - 2) + 1;
403
+ }, easeInQuart: function(d) {
404
+ return d * d * d * d;
405
+ }, easeOutQuart: function(d) {
406
+ return 1 - --d * d * d * d;
407
+ }, easeInOutQuart: function(d) {
408
+ return d < 0.5 ? 8 * d * d * d * d : 1 - 8 * --d * d * d * d;
409
+ }, easeInQuint: function(d) {
410
+ return d * d * d * d * d;
411
+ }, easeOutQuint: function(d) {
412
+ return 1 + --d * d * d * d * d;
413
+ }, easeInOutQuint: function(d) {
414
+ return d < 0.5 ? 16 * d * d * d * d * d : 1 + 16 * --d * d * d * d * d;
415
+ }, easeOutBounce: function(d) {
416
+ var f = 7.5625, v = 2.75;
417
+ return d < 1 / v ? f * d * d : d < 2 / v ? f * (d -= 1.5 / v) * d + 0.75 : d < 2.5 / v ? f * (d -= 2.25 / v) * d + 0.9375 : f * (d -= 2.625 / v) * d + 0.984375;
418
+ }, easeInBounce: function(d) {
419
+ return 1 - E.easeOutBounce(1 - d);
420
+ }, easeOutBack: function(d) {
421
+ return 1 + 2.70158 * Math.pow(d - 1, 3) + 1.70158 * Math.pow(d - 1, 2);
422
+ }, easeInBack: function(d) {
423
+ return 2.70158 * d * d * d - 1.70158 * d * d;
424
+ } }, new function d() {
425
+ var f = this;
426
+ t(this, d), i(this, "drivers", []), i(this, "elements", []), i(this, "frame", 0), i(this, "debug", !1), i(this, "windowWidth", 0), i(this, "windowHeight", 0), i(this, "presets", Q), i(this, "debugData", { frameLengths: [] }), i(this, "init", function() {
427
+ f.findAndAddElements(), window.requestAnimationFrame(f.onAnimationFrame), f.windowWidth = document.body.clientWidth, f.windowHeight = document.body.clientHeight, window.onresize = f.onWindowResize;
428
428
  }), i(this, "onWindowResize", function() {
429
- document.body.clientWidth === u.windowWidth && document.body.clientHeight === u.windowHeight || (u.windowWidth = document.body.clientWidth, u.windowHeight = document.body.clientHeight, u.elements.forEach(function(v) {
429
+ document.body.clientWidth === f.windowWidth && document.body.clientHeight === f.windowHeight || (f.windowWidth = document.body.clientWidth, f.windowHeight = document.body.clientHeight, f.elements.forEach(function(v) {
430
430
  return v.calculateTransforms();
431
431
  }));
432
432
  }), i(this, "onAnimationFrame", function(v) {
433
- u.debug && (u.debugData.frameStart = Date.now());
434
- var j, O = {};
435
- u.drivers.forEach(function(I) {
436
- O[I.name] = I.getValue(u.frame);
437
- }), u.elements.forEach(function(I) {
438
- I.update(O, u.frame);
439
- }), u.debug && u.debugData.frameLengths.push(Date.now() - u.debugData.frameStart), u.frame % 60 == 0 && u.debug && (j = Math.ceil(u.debugData.frameLengths.reduce(function(I, tt) {
433
+ f.debug && (f.debugData.frameStart = Date.now());
434
+ var T, O = {};
435
+ f.drivers.forEach(function(I) {
436
+ O[I.name] = I.getValue(f.frame);
437
+ }), f.elements.forEach(function(I) {
438
+ I.update(O, f.frame);
439
+ }), f.debug && f.debugData.frameLengths.push(Date.now() - f.debugData.frameStart), f.frame % 60 == 0 && f.debug && (T = Math.ceil(f.debugData.frameLengths.reduce(function(I, tt) {
440
440
  return I + tt;
441
- }, 0) / 60), console.log("Average frame calculation time: ".concat(j, "ms")), u.debugData.frameLengths = []), u.frame++, window.requestAnimationFrame(u.onAnimationFrame);
442
- }), i(this, "addDriver", function(v, j) {
441
+ }, 0) / 60), console.log("Average frame calculation time: ".concat(T, "ms")), f.debugData.frameLengths = []), f.frame++, window.requestAnimationFrame(f.onAnimationFrame);
442
+ }), i(this, "addDriver", function(v, T) {
443
443
  var O = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
444
- u.drivers.push(new Lt(v, j, O));
444
+ f.drivers.push(new Lt(v, T, O));
445
445
  }), i(this, "removeDriver", function(v) {
446
- u.drivers = u.drivers.filter(function(j) {
447
- return j.name !== v;
446
+ f.drivers = f.drivers.filter(function(T) {
447
+ return T.name !== v;
448
448
  });
449
449
  }), i(this, "findAndAddElements", function() {
450
- u.elements = [], document.querySelectorAll(".lax").forEach(function(v) {
451
- var j = [];
450
+ f.elements = [], document.querySelectorAll(".lax").forEach(function(v) {
451
+ var T = [];
452
452
  v.classList.forEach(function(I) {
453
- I.includes("lax_preset") && (I = I.replace("lax_preset_", ""), j.push(I));
453
+ I.includes("lax_preset") && (I = I.replace("lax_preset_", ""), T.push(I));
454
454
  });
455
- var O = i({}, "scrollY", { presets: j });
456
- u.elements.push(new kt(".lax", u, v, O, 0, {}));
455
+ var O = i({}, "scrollY", { presets: T });
456
+ f.elements.push(new kt(".lax", f, v, O, 0, {}));
457
457
  });
458
- }), i(this, "addElements", function(v, j, O) {
458
+ }), i(this, "addElements", function(v, T, O) {
459
459
  document.querySelectorAll(v).forEach(function(I, tt) {
460
- u.elements.push(new kt(v, u, I, j, tt, O));
460
+ f.elements.push(new kt(v, f, I, T, tt, O));
461
461
  });
462
462
  }), i(this, "removeElements", function(v) {
463
- u.elements = u.elements.filter(function(j) {
464
- return j.selector !== v;
463
+ f.elements = f.elements.filter(function(T) {
464
+ return T.selector !== v;
465
465
  });
466
- }), i(this, "addElement", function(v, j, O) {
467
- u.elements.push(new kt("", u, v, j, 0, O));
466
+ }), i(this, "addElement", function(v, T, O) {
467
+ f.elements.push(new kt("", f, v, T, 0, O));
468
468
  }), i(this, "removeElement", function(v) {
469
- u.elements = u.elements.filter(function(j) {
470
- return j.domElement !== v;
469
+ f.elements = f.elements.filter(function(T) {
470
+ return T.domElement !== v;
471
471
  });
472
472
  });
473
473
  }());
474
- function Bt(l, u) {
475
- if (Array.isArray(l)) return l;
476
- for (var v = Object.keys(l).map(function(tt) {
474
+ function Bt(d, f) {
475
+ if (Array.isArray(d)) return d;
476
+ for (var v = Object.keys(d).map(function(tt) {
477
477
  return parseInt(tt);
478
478
  }).sort(function(tt, At) {
479
479
  return At < tt ? 1 : -1;
480
- }), j = v[v.length - 1], O = 0; O < v.length; O++) {
480
+ }), T = v[v.length - 1], O = 0; O < v.length; O++) {
481
481
  var I = v[O];
482
- if (u < I) {
483
- j = I;
482
+ if (f < I) {
483
+ T = I;
484
484
  break;
485
485
  }
486
486
  }
487
- return l[j];
487
+ return d[T];
488
488
  }
489
- function Ct(l, L, v) {
490
- var j = L.width, O = L.height, x = L.x, X = L.y;
491
- if (typeof l == "number") return l;
492
- var I, tt = document.body.scrollHeight, At = document.body.scrollWidth, B = window.innerWidth, gt = window.innerHeight, A = s((I = window.pageXOffset !== void 0, A = (document.compatMode || "") === "CSS1Compat", L = I ? window.pageXOffset : (A ? document.documentElement : document.body).scrollLeft, [I ? window.pageYOffset : (A ? document.documentElement : document.body).scrollTop, L]), 2), L = A[0], x = x + A[1], A = x + j, X = X + L, L = X + O;
493
- return Function("return ".concat(l.replace(/screenWidth/g, B).replace(/screenHeight/g, gt).replace(/pageHeight/g, tt).replace(/pageWidth/g, At).replace(/elWidth/g, j).replace(/elHeight/g, O).replace(/elInY/g, X - gt).replace(/elOutY/g, L).replace(/elCenterY/g, X + O / 2 - gt / 2).replace(/elInX/g, x - B).replace(/elOutX/g, A).replace(/elCenterX/g, x + j / 2 - B / 2).replace(/index/g, v)))();
489
+ function Ct(d, L, v) {
490
+ var T = L.width, O = L.height, x = L.x, X = L.y;
491
+ if (typeof d == "number") return d;
492
+ var I, tt = document.body.scrollHeight, At = document.body.scrollWidth, B = window.innerWidth, gt = window.innerHeight, S = s((I = window.pageXOffset !== void 0, S = (document.compatMode || "") === "CSS1Compat", L = I ? window.pageXOffset : (S ? document.documentElement : document.body).scrollLeft, [I ? window.pageYOffset : (S ? document.documentElement : document.body).scrollTop, L]), 2), L = S[0], x = x + S[1], S = x + T, X = X + L, L = X + O;
493
+ return Function("return ".concat(d.replace(/screenWidth/g, B).replace(/screenHeight/g, gt).replace(/pageHeight/g, tt).replace(/pageWidth/g, At).replace(/elWidth/g, T).replace(/elHeight/g, O).replace(/elInY/g, X - gt).replace(/elOutY/g, L).replace(/elCenterY/g, X + O / 2 - gt / 2).replace(/elInX/g, x - B).replace(/elOutX/g, S).replace(/elCenterX/g, x + T / 2 - B / 2).replace(/index/g, v)))();
494
494
  }
495
- function Lt(l, u) {
496
- var v = this, j = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
495
+ function Lt(d, f) {
496
+ var v = this, T = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
497
497
  t(this, Lt), i(this, "getValueFn", void 0), i(this, "name", ""), i(this, "lastValue", 0), i(this, "frameStep", 1), i(this, "m1", 0), i(this, "m2", 0), i(this, "inertia", 0), i(this, "inertiaEnabled", !1), i(this, "getValue", function(O) {
498
498
  var I = v.lastValue;
499
499
  return O % v.frameStep == 0 && (I = v.getValueFn(O)), v.inertiaEnabled && (O = I - v.lastValue, v.m1 = 0.8 * v.m1 + O * (1 - 0.8), v.m2 = 0.8 * v.m2 + v.m1 * (1 - 0.8), v.inertia = Math.round(5e3 * v.m2) / 15e3), v.lastValue = I, [v.lastValue, v.inertia];
500
- }), this.name = l, this.getValueFn = u, Object.keys(j).forEach(function(O) {
501
- v[O] = j[O];
500
+ }), this.name = d, this.getValueFn = f, Object.keys(T).forEach(function(O) {
501
+ v[O] = T[O];
502
502
  }), this.lastValue = this.getValueFn(0);
503
503
  }
504
- function kt(l, u, v, j) {
504
+ function kt(d, f, v, T) {
505
505
  var O = this, I = 4 < arguments.length && arguments[4] !== void 0 ? arguments[4] : 0, At = 5 < arguments.length && arguments[5] !== void 0 ? arguments[5] : {};
506
506
  t(this, kt), i(this, "domElement", void 0), i(this, "transformsData", void 0), i(this, "styles", {}), i(this, "selector", ""), i(this, "groupIndex", 0), i(this, "laxInstance", void 0), i(this, "onUpdate", void 0), i(this, "update", function(B, gt) {
507
- var x, A = O.transforms, X = {};
508
- for (x in A) {
509
- var L = A[x];
507
+ var x, S = O.transforms, X = {};
508
+ for (x in S) {
509
+ var L = S[x];
510
510
  B[x] || console.error("No lax driver with name: ", x);
511
- var Z, G = s(B[x], 2), R = G[0], It = G[1];
512
- for (Z in L) {
513
- var Q, ot = s(L[Z], 3), P = ot[0], D = ot[1], Ot = ot[2], z = Ot === void 0 ? {} : Ot, rt = z.modValue, pt = z.frameStep, _t = pt === void 0 ? 1 : pt, lt = z.easing, ot = z.inertia, Ot = z.inertiaMode, pt = z.cssFn, z = z.cssUnit, z = z === void 0 ? "" : z, lt = T[lt];
511
+ var K, Z = s(B[x], 2), $ = Z[0], It = Z[1];
512
+ for (K in L) {
513
+ var G, ot = s(L[K], 3), P = ot[0], D = ot[1], Ot = ot[2], z = Ot === void 0 ? {} : Ot, rt = z.modValue, pt = z.frameStep, _t = pt === void 0 ? 1 : pt, lt = z.easing, ot = z.inertia, Ot = z.inertiaMode, pt = z.cssFn, z = z.cssUnit, z = z === void 0 ? "" : z, lt = E[lt];
514
514
  gt % _t == 0 && (lt = (function(et, it, mt, bt) {
515
515
  var st = 0;
516
516
  if (et.forEach(function(Et) {
@@ -519,7 +519,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
519
519
  if (st >= et.length) return it[et.length - 1];
520
520
  var yt, q = (q = et[yt = st - 1], et = et[st], (mt - q) / (et - q));
521
521
  return bt && (q = bt(q)), yt = it[yt], it = it[st], yt * (1 - (q = q)) + it * q;
522
- })(P, D, rt ? R % rt : R, lt), ot && (Q = It * ot, Ot === "absolute" && (Q = Math.abs(Q)), lt += Q), Q = (z || _.includes(Z) ? "px" : S.includes(Z) ? "deg" : "") == "px" ? 0 : 3, Q = lt.toFixed(Q), X[Z] = pt ? pt(Q, O.domElement) : Q + z);
522
+ })(P, D, rt ? $ % rt : $, lt), ot && (G = It * ot, Ot === "absolute" && (G = Math.abs(G)), lt += G), G = (z || C.includes(K) ? "px" : A.includes(K) ? "deg" : "") == "px" ? 0 : 3, G = lt.toFixed(G), X[K] = pt ? pt(G, O.domElement) : G + z);
523
523
  }
524
524
  }
525
525
  O.applyStyles(X), O.onUpdate && O.onUpdate(B, O.domElement);
@@ -527,32 +527,32 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
527
527
  O.transforms = {};
528
528
  var B, gt = O.laxInstance.windowWidth;
529
529
  for (B in O.transformsData) (function(x) {
530
- var A = O.transformsData[x], X = {}, L = A.presets;
530
+ var S = O.transformsData[x], X = {}, L = S.presets;
531
531
  (L === void 0 ? [] : L).forEach(function(P) {
532
- var R, D = s(P.split(":"), 3), It = D[0], Q = D[1], P = D[2], D = window.lax.presets[It];
533
- D ? (R = D(Q, P), Object.keys(R).forEach(function(rt) {
534
- A[rt] = R[rt];
532
+ var $, D = s(P.split(":"), 3), It = D[0], G = D[1], P = D[2], D = window.lax.presets[It];
533
+ D ? ($ = D(G, P), Object.keys($).forEach(function(rt) {
534
+ S[rt] = $[rt];
535
535
  })) : console.error("Lax preset cannot be found with name: ", It);
536
- }), delete A.presets;
537
- for (var Z in A) (function(G) {
538
- var R = s(A[G], 3), P = R[0], Q = P === void 0 ? [-1e9, 1e9] : P, P = R[1], P = P === void 0 ? [-1e9, 1e9] : P, R = R[2], R = R === void 0 ? {} : R, It = O.domElement.getBoundingClientRect(), Q = Bt(Q, gt).map(function(D) {
536
+ }), delete S.presets;
537
+ for (var K in S) (function(Z) {
538
+ var $ = s(S[Z], 3), P = $[0], G = P === void 0 ? [-1e9, 1e9] : P, P = $[1], P = P === void 0 ? [-1e9, 1e9] : P, $ = $[2], $ = $ === void 0 ? {} : $, It = O.domElement.getBoundingClientRect(), G = Bt(G, gt).map(function(D) {
539
539
  return Ct(D, It, O.groupIndex);
540
540
  }), P = Bt(P, gt).map(function(D) {
541
541
  return Ct(D, It, O.groupIndex);
542
542
  });
543
- X[G] = [Q, P, R];
544
- })(Z);
543
+ X[Z] = [G, P, $];
544
+ })(K);
545
545
  O.transforms[x] = X;
546
546
  })(B);
547
547
  }), i(this, "applyStyles", function(B) {
548
- var gt, x, A, X = (gt = B, x = { transform: "", filter: "" }, A = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(gt).forEach(function(L) {
549
- var Z = gt[L], G = _.includes(L) ? "px" : S.includes(L) ? "deg" : "";
550
- b.includes(L) ? A[L] = Z : c.includes(L) ? x.transform += "".concat(L, "(").concat(Z).concat(G, ") ") : f.includes(L) ? x.filter += "".concat(L, "(").concat(Z).concat(G, ") ") : x[L] = "".concat(Z).concat(G, " ");
551
- }), x.transform = "translate3d(".concat(A.translateX, "px, ").concat(A.translateY, "px, ").concat(A.translateZ, "px) ").concat(x.transform), x);
548
+ var gt, x, S, X = (gt = B, x = { transform: "", filter: "" }, S = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(gt).forEach(function(L) {
549
+ var K = gt[L], Z = C.includes(L) ? "px" : A.includes(L) ? "deg" : "";
550
+ b.includes(L) ? S[L] = K : c.includes(L) ? x.transform += "".concat(L, "(").concat(K).concat(Z, ") ") : u.includes(L) ? x.filter += "".concat(L, "(").concat(K).concat(Z, ") ") : x[L] = "".concat(K).concat(Z, " ");
551
+ }), x.transform = "translate3d(".concat(S.translateX, "px, ").concat(S.translateY, "px, ").concat(S.translateZ, "px) ").concat(x.transform), x);
552
552
  Object.keys(X).forEach(function(L) {
553
553
  O.domElement.style.setProperty(L, X[L]);
554
554
  });
555
- }), this.selector = l, this.laxInstance = u, this.domElement = v, this.transformsData = j, this.groupIndex = I;
555
+ }), this.selector = d, this.laxInstance = f, this.domElement = v, this.transformsData = T, this.groupIndex = I;
556
556
  var tt = (I = At.style) === void 0 ? {} : I, At = At.onUpdate;
557
557
  Object.keys(tt).forEach(function(B) {
558
558
  v.style.setProperty(B, tt[B]);
@@ -563,7 +563,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
563
563
  })(Oe)), Oe.exports;
564
564
  }
565
565
  var ei = ti();
566
- const Zt = /* @__PURE__ */ je(ei);
566
+ const Kt = /* @__PURE__ */ je(ei);
567
567
  class ii {
568
568
  constructor(t = {}) {
569
569
  const i = {
@@ -572,14 +572,14 @@ class ii {
572
572
  this.settings = Object.assign(this, i, t), this.elements = [];
573
573
  }
574
574
  init() {
575
- Zt.init(), Zt.addDriver("scrollY", function() {
575
+ Kt.init(), Kt.addDriver("scrollY", function() {
576
576
  return window.scrollY;
577
- }), this.refresh(), this.lax = Zt, Object.assign(this, Zt);
577
+ }), this.refresh(), this.lax = Kt, Object.assign(this, Kt);
578
578
  }
579
579
  refresh() {
580
580
  let t = !1;
581
581
  document.body.hasAttribute("data-skrollrr-off") && (t = !0), this.elements.forEach((e) => {
582
- Zt.removeElement(e), e.style && (e.style.transition && (e.style.transition = ""), e.style.transform && (e.style.transform = ""));
582
+ Kt.removeElement(e), e.style && (e.style.transition && (e.style.transition = ""), e.style.transform && (e.style.transform = ""));
583
583
  }), this.elements = [];
584
584
  let i = window.innerWidth;
585
585
  document.querySelectorAll("[data-bottom-top],[data-center],[data-center-bottom],[data-100-top],[data-50-top],[data-top],[data-top-bottom],[data-center-top],[data--300-bottom],[data--150-bottom],[data--50-bottom],[data-bottom],[data-100-bottom],[data-150-bottom],[data-400-bottom],[data--400-bottom],[data--200-bottom],[data--100-bottom],[data-50-bottom],[data-200-bottom],[data-300-bottom],[data-in],[data-in-150],[data-in-300],[data-cen--150],[data-cen],[data-cen-150],[data-out--300],[data-out--150],[data-out][data-t],[data-t-100],[data-t-200],[data-t-300],[data-t-400],[data-t-500],[data-t-600],[data-t-700],[data-t-800],[data-t-900],[data-t-1000],[data-t-1100],[data-t-1200],[data-t-1300],[data-t-1400],[data-t-1500],[data-t-1600],[data-t-1700],[data-t-1800],[data-t-1900],[data-t-2000],[data-t-2100],[data-t-2200],[data-t-2300],[data-t-2400],[data-t-2500],[data-t-2600],[data-t-2700],[data-t-2800]").forEach((e) => {
@@ -589,18 +589,18 @@ class ii {
589
589
  return;
590
590
  }
591
591
  e.style.transform = "";
592
- let r = this.getObjVal(e, "data-top-bottom"), n = this.getObjVal(e, "data-top"), h = this.getObjVal(e, "data-50-top"), d = this.getObjVal(e, "data-100-top"), c = this.getObjVal(e, "data-center-bottom"), f = this.getObjVal(e, "data-center"), b = this.getObjVal(e, "data-center-top"), _ = this.getObjVal(e, "data--400-bottom"), S = this.getObjVal(e, "data--300-bottom"), T = this.getObjVal(e, "data--200-bottom"), K = this.getObjVal(e, "data--150-bottom"), ft = this.getObjVal(e, "data--100-bottom"), Bt = this.getObjVal(e, "data--50-bottom"), Ct = this.getObjVal(e, "data-bottom"), Lt = this.getObjVal(e, "data-50-bottom"), kt = this.getObjVal(e, "data-100-bottom"), l = this.getObjVal(e, "data-150-bottom"), u = this.getObjVal(e, "data-200-bottom"), v = this.getObjVal(e, "data-300-bottom"), j = this.getObjVal(e, "data-400-bottom"), O = this.getObjVal(e, "data-bottom-top"), I = this.getObjVal(e, "data-in"), tt = this.getObjVal(e, "data-in-150"), At = this.getObjVal(e, "data-in-300"), B = this.getObjVal(e, "data-cen--150"), gt = this.getObjVal(e, "data-cen"), x = this.getObjVal(e, "data-cen-150"), A = this.getObjVal(e, "data-out--300"), X = this.getObjVal(e, "data-out--150"), L = this.getObjVal(e, "data-out"), Z = !1;
593
- e.hasAttribute("data-xs") && (Z = !0);
594
- let G = !1;
595
- e.hasAttribute("data-sm") && (G = !0);
596
- let R = !1;
597
- e.hasAttribute("data-md") && (R = !0), e.hasAttribute("data-lg"), e.hasAttribute("data-xl");
598
- let It = {}, Q = {}, P = {}, D = {}, rt = {}, _t = {}, ot = {}, Ot = {}, pt = {}, z = {}, lt = {}, et = {}, it = {}, mt = {}, bt = {}, st = {}, yt = {}, q = {}, Et = {}, Vt = {}, dt = {}, Yt = {}, V = {}, Mt = {}, vt = {}, Pt = {}, qt = {}, Dt = {}, p = {}, m = {}, y = {}, w = {}, k = {};
599
- (i > 1280 || i > 970 && i <= 1280 && !R || i > 760 && i <= 970 && !G || i <= 760 && !Z) && (P = this.getObjVal(e, "data-t"), D = this.getObjVal(e, "data-t-100"), rt = this.getObjVal(e, "data-t-200"), _t = this.getObjVal(e, "data-t-300"), ot = this.getObjVal(e, "data-t-400"), Ot = this.getObjVal(e, "data-t-500"), pt = this.getObjVal(e, "data-t-600"), z = this.getObjVal(e, "data-t-700"), lt = this.getObjVal(e, "data-t-800"), et = this.getObjVal(e, "data-t-900"), it = this.getObjVal(e, "data-t-1000"), mt = this.getObjVal(e, "data-t-1100"), bt = this.getObjVal(e, "data-t-1200"), st = this.getObjVal(e, "data-t-1300"), yt = this.getObjVal(e, "data-t-1400"), q = this.getObjVal(e, "data-t-1500"), Et = this.getObjVal(e, "data-t-1600"), Vt = this.getObjVal(e, "data-t-1700"), dt = this.getObjVal(e, "data-t-1800"), Yt = this.getObjVal(e, "data-t-1900"), V = this.getObjVal(e, "data-t-2000"), Mt = this.getObjVal(e, "data-t-2100"), vt = this.getObjVal(e, "data-t-2200"), Pt = this.getObjVal(e, "data-t-2300"), qt = this.getObjVal(e, "data-t-2400"), Dt = this.getObjVal(e, "data-t-2500"), p = this.getObjVal(e, "data-t-2600"), m = this.getObjVal(e, "data-t-2700"), y = this.getObjVal(e, "data-t-2800")), i > 970 && i <= 1280 && R && (e.hasAttribute("data-md-t") && (P = this.getObjVal(e, "data-md-t")), e.hasAttribute("data-md-t-100") && (D = this.getObjVal(e, "data-md-t-100")), e.hasAttribute("data-md-t-200") && (rt = this.getObjVal(e, "data-md-t-200")), e.hasAttribute("data-md-t-300") && (_t = this.getObjVal(e, "data-md-t-300")), e.hasAttribute("data-md-t-400") && (ot = this.getObjVal(e, "data-md-t-400")), e.hasAttribute("data-md-t-500") && (Ot = this.getObjVal(e, "data-md-t-500")), e.hasAttribute("data-md-t-600") && (pt = this.getObjVal(e, "data-md-t-600")), e.hasAttribute("data-md-t-700") && (z = this.getObjVal(e, "data-md-t-700")), e.hasAttribute("data-md-t-800") && (lt = this.getObjVal(e, "data-md-t-800")), e.hasAttribute("data-md-t-900") && (et = this.getObjVal(e, "data-md-t-900")), e.hasAttribute("data-md-t-1000") && (it = this.getObjVal(e, "data-md-t-1000")), e.hasAttribute("data-md-t-1100") && (mt = this.getObjVal(e, "data-md-t-1100")), e.hasAttribute("data-md-t-1200") && (bt = this.getObjVal(e, "data-md-t-1200")), e.hasAttribute("data-md-t-1300") && (st = this.getObjVal(e, "data-md-t-1300")), e.hasAttribute("data-md-t-1400") && (yt = this.getObjVal(e, "data-md-t-1400")), e.hasAttribute("data-md-t-1500") && (q = this.getObjVal(e, "data-md-t-1500")), e.hasAttribute("data-md-t-1600") && (Et = this.getObjVal(e, "data-md-t-1600")), e.hasAttribute("data-md-t-1700") && (Vt = this.getObjVal(e, "data-md-t-1700")), e.hasAttribute("data-md-t-1800") && (dt = this.getObjVal(e, "data-md-t-1800")), e.hasAttribute("data-md-t-1900") && (Yt = this.getObjVal(e, "data-md-t-1900")), e.hasAttribute("data-md-t-2000") && (V = this.getObjVal(e, "data-md-t-2000")), e.hasAttribute("data-md-t-2100") && (Mt = this.getObjVal(e, "data-md-t-2100")), e.hasAttribute("data-md-t-2200") && (vt = this.getObjVal(e, "data-md-t-2200")), e.hasAttribute("data-md-t-2300") && (Pt = this.getObjVal(e, "data-md-t-2300")), e.hasAttribute("data-md-t-2400") && (qt = this.getObjVal(e, "data-md-t-2400")), e.hasAttribute("data-md-t-2500") && (Dt = this.getObjVal(e, "data-md-t-2500")), e.hasAttribute("data-md-t-2600") && (p = this.getObjVal(e, "data-md-t-2600")), e.hasAttribute("data-md-t-2700") && (m = this.getObjVal(e, "data-md-t-2700")), e.hasAttribute("data-md-t-2800") && (y = this.getObjVal(e, "data-md-t-2800"))), i <= 970 && e.hasAttribute("m-data-out") && (L = this.getObjVal(e, "m-data-out")), (i > 760 && i <= 970 && G || i <= 760 && !Z && G) && (e.hasAttribute("data-sm-t") && (P = this.getObjVal(e, "data-sm-t")), e.hasAttribute("data-sm-t-100") && (D = this.getObjVal(e, "data-sm-t-100")), e.hasAttribute("data-sm-t-200") && (rt = this.getObjVal(e, "data-sm-t-200")), e.hasAttribute("data-sm-t-300") && (_t = this.getObjVal(e, "data-sm-t-300")), e.hasAttribute("data-sm-t-400") && (ot = this.getObjVal(e, "data-sm-t-400")), e.hasAttribute("data-sm-t-500") && (Ot = this.getObjVal(e, "data-sm-t-500")), e.hasAttribute("data-sm-t-600") && (pt = this.getObjVal(e, "data-sm-t-600")), e.hasAttribute("data-sm-t-700") && (z = this.getObjVal(e, "data-sm-t-700")), e.hasAttribute("data-sm-t-800") && (lt = this.getObjVal(e, "data-sm-t-800")), e.hasAttribute("data-sm-t-900") && (et = this.getObjVal(e, "data-sm-t-900")), e.hasAttribute("data-sm-t-1000") && (it = this.getObjVal(e, "data-sm-t-1000")), e.hasAttribute("data-sm-t-1100") && (mt = this.getObjVal(e, "data-sm-t-1100")), e.hasAttribute("data-sm-t-1200") && (bt = this.getObjVal(e, "data-sm-t-1200")), e.hasAttribute("data-sm-t-1300") && (st = this.getObjVal(e, "data-sm-t-1300")), e.hasAttribute("data-sm-t-1400") && (yt = this.getObjVal(e, "data-sm-t-1400")), e.hasAttribute("data-sm-t-1500") && (q = this.getObjVal(e, "data-sm-t-1500")), e.hasAttribute("data-sm-t-1600") && (Et = this.getObjVal(e, "data-sm-t-1600")), e.hasAttribute("data-sm-t-1700") && (Vt = this.getObjVal(e, "data-sm-t-1700")), e.hasAttribute("data-sm-t-1800") && (dt = this.getObjVal(e, "data-sm-t-1800")), e.hasAttribute("data-sm-t-1900") && (Yt = this.getObjVal(e, "data-sm-t-1900")), e.hasAttribute("data-sm-t-2000") && (V = this.getObjVal(e, "data-sm-t-2000")), e.hasAttribute("data-sm-t-2100") && (Mt = this.getObjVal(e, "data-sm-t-2100")), e.hasAttribute("data-sm-t-2200") && (vt = this.getObjVal(e, "data-sm-t-2200")), e.hasAttribute("data-sm-t-2300") && (Pt = this.getObjVal(e, "data-sm-t-2300")), e.hasAttribute("data-sm-t-2400") && (qt = this.getObjVal(e, "data-sm-t-2400")), e.hasAttribute("data-sm-t-2500") && (Dt = this.getObjVal(e, "data-sm-t-2500")), e.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(e, "data-sm-t-2600")), e.hasAttribute("data-sm-t-2700") && (m = this.getObjVal(e, "data-sm-t-2700")), e.hasAttribute("data-sm-t-2800") && (y = this.getObjVal(e, "data-sm-t-2800"))), i <= 414 && Z && (e.hasAttribute("data-xs-t") && (P = this.getObjVal(e, "data-xs-t")), e.hasAttribute("data-xs-t-100") && (D = this.getObjVal(e, "data-xs-t-100")), e.hasAttribute("data-xs-t-200") && (rt = this.getObjVal(e, "data-xs-t-200")), e.hasAttribute("data-xs-t-300") && (_t = this.getObjVal(e, "data-xs-t-300")), e.hasAttribute("data-xs-t-400") && (ot = this.getObjVal(e, "data-xs-t-400")), e.hasAttribute("data-xs-t-500") && (Ot = this.getObjVal(e, "data-xs-t-500")), e.hasAttribute("data-xs-t-600") && (pt = this.getObjVal(e, "data-xs-t-600")), e.hasAttribute("data-xs-t-700") && (z = this.getObjVal(e, "data-xs-t-700")), e.hasAttribute("data-xs-t-800") && (lt = this.getObjVal(e, "data-xs-t-800")), e.hasAttribute("data-xs-t-900") && (et = this.getObjVal(e, "data-xs-t-900")), e.hasAttribute("data-xs-t-1000") && (it = this.getObjVal(e, "data-xs-t-1000")), e.hasAttribute("data-xs-t-1100") && (mt = this.getObjVal(e, "data-xs-t-1100")), e.hasAttribute("data-xs-t-1200") && (bt = this.getObjVal(e, "data-xs-t-1200")), e.hasAttribute("data-xs-t-1300") && (st = this.getObjVal(e, "data-xs-t-1300")), e.hasAttribute("data-xs-t-1400") && (yt = this.getObjVal(e, "data-xs-t-1400")), e.hasAttribute("data-xs-t-1500") && (q = this.getObjVal(e, "data-xs-t-1500")), e.hasAttribute("data-xs-t-1600") && (Et = this.getObjVal(e, "data-xs-t-1600")), e.hasAttribute("data-xs-t-1700") && (Vt = this.getObjVal(e, "data-xs-t-1700")), e.hasAttribute("data-xs-t-1800") && (dt = this.getObjVal(e, "data-xs-t-1800")), e.hasAttribute("data-xs-t-1900") && (Yt = this.getObjVal(e, "data-xs-t-1900")), e.hasAttribute("data-xs-t-2000") && (V = this.getObjVal(e, "data-xs-t-2000")), e.hasAttribute("data-xs-t-2100") && (Mt = this.getObjVal(e, "data-xs-t-2100")), e.hasAttribute("data-xs-t-2200") && (vt = this.getObjVal(e, "data-xs-t-2200")), e.hasAttribute("data-xs-t-2300") && (Pt = this.getObjVal(e, "data-xs-t-2300")), e.hasAttribute("data-xs-t-2400") && (qt = this.getObjVal(e, "data-xs-t-2400")), e.hasAttribute("data-xs-t-2500") && (Dt = this.getObjVal(e, "data-xs-t-2500")), e.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(e, "data-xs-t-2600")), e.hasAttribute("data-xs-t-2700") && (m = this.getObjVal(e, "data-xs-t-2700")), e.hasAttribute("data-xs-t-2800") && (y = this.getObjVal(e, "data-xs-t-2800")));
600
- let W = P, H = D, E = rt, $ = _t, M = ot, ht = Ot, F = pt, J = z, ct = lt, zt = et, St = it, Xt = mt, nt = bt, C = st, U = yt, ut = q, te = Et, ee = Vt, ie = dt, se = Yt, ne = V, ae = Mt, re = vt, oe = Pt, le = qt, de = Dt, he = p, ce = m, ue = y, Ft = window.innerHeight;
601
- Ft < 730 ? (It = W, Q = H, P = E, D = $, rt = M, _t = ht, ot = F, Ot = J, pt = ct, z = zt, lt = St, et = Xt, it = nt, mt = C, bt = U, st = ut, yt = te, q = ee, Et = ie, Vt = se, dt = ne, Yt = ae, V = re, Mt = oe, vt = le, Pt = de, qt = he, Dt = ce, p = ue, m = {}, y = {}) : Ft >= 730 && Ft < 790 ? (Q = W, P = H, D = E, rt = $, _t = M, ot = ht, Ot = F, pt = J, z = ct, lt = zt, et = St, it = Xt, mt = nt, bt = C, st = U, yt = ut, q = te, Et = ee, Vt = ie, dt = se, Yt = ne, V = ae, Mt = re, vt = oe, Pt = le, qt = de, Dt = he, p = ce, m = ue, y = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (P = {}, D = W, rt = H, _t = E, ot = $, Ot = M, pt = ht, z = F, lt = J, et = ct, it = zt, mt = St, bt = Xt, st = nt, yt = C, q = U, Et = ut, Vt = te, dt = ee, Yt = ie, V = se, Mt = ne, vt = ae, Pt = re, qt = oe, Dt = le, p = de, m = he, y = ce, w = ue) : (P = {}, D = {}, rt = W, _t = H, ot = E, Ot = $, pt = M, z = ht, lt = F, et = J, it = ct, mt = zt, bt = St, st = Xt, yt = nt, q = C, Et = U, Vt = ut, dt = te, Yt = ee, V = ie, Mt = se, vt = ne, Pt = ae, qt = re, Dt = oe, p = le, m = de, y = he, w = ce, k = ue));
592
+ let r = this.getObjVal(e, "data-top-bottom"), n = this.getObjVal(e, "data-top"), h = this.getObjVal(e, "data-50-top"), l = this.getObjVal(e, "data-100-top"), c = this.getObjVal(e, "data-center-bottom"), u = this.getObjVal(e, "data-center"), b = this.getObjVal(e, "data-center-top"), C = this.getObjVal(e, "data--400-bottom"), A = this.getObjVal(e, "data--300-bottom"), E = this.getObjVal(e, "data--200-bottom"), Q = this.getObjVal(e, "data--150-bottom"), ft = this.getObjVal(e, "data--100-bottom"), Bt = this.getObjVal(e, "data--50-bottom"), Ct = this.getObjVal(e, "data-bottom"), Lt = this.getObjVal(e, "data-50-bottom"), kt = this.getObjVal(e, "data-100-bottom"), d = this.getObjVal(e, "data-150-bottom"), f = this.getObjVal(e, "data-200-bottom"), v = this.getObjVal(e, "data-300-bottom"), T = this.getObjVal(e, "data-400-bottom"), O = this.getObjVal(e, "data-bottom-top"), I = this.getObjVal(e, "data-in"), tt = this.getObjVal(e, "data-in-150"), At = this.getObjVal(e, "data-in-300"), B = this.getObjVal(e, "data-cen--150"), gt = this.getObjVal(e, "data-cen"), x = this.getObjVal(e, "data-cen-150"), S = this.getObjVal(e, "data-out--300"), X = this.getObjVal(e, "data-out--150"), L = this.getObjVal(e, "data-out"), K = !1;
593
+ e.hasAttribute("data-xs") && (K = !0);
594
+ let Z = !1;
595
+ e.hasAttribute("data-sm") && (Z = !0);
596
+ let $ = !1;
597
+ e.hasAttribute("data-md") && ($ = !0), e.hasAttribute("data-lg"), e.hasAttribute("data-xl");
598
+ let It = {}, G = {}, P = {}, D = {}, rt = {}, _t = {}, ot = {}, Ot = {}, pt = {}, z = {}, lt = {}, et = {}, it = {}, mt = {}, bt = {}, st = {}, yt = {}, q = {}, Et = {}, Vt = {}, dt = {}, Yt = {}, V = {}, Mt = {}, vt = {}, Pt = {}, qt = {}, Dt = {}, p = {}, m = {}, y = {}, w = {}, k = {};
599
+ (i > 1280 || i > 970 && i <= 1280 && !$ || i > 760 && i <= 970 && !Z || i <= 760 && !K) && (P = this.getObjVal(e, "data-t"), D = this.getObjVal(e, "data-t-100"), rt = this.getObjVal(e, "data-t-200"), _t = this.getObjVal(e, "data-t-300"), ot = this.getObjVal(e, "data-t-400"), Ot = this.getObjVal(e, "data-t-500"), pt = this.getObjVal(e, "data-t-600"), z = this.getObjVal(e, "data-t-700"), lt = this.getObjVal(e, "data-t-800"), et = this.getObjVal(e, "data-t-900"), it = this.getObjVal(e, "data-t-1000"), mt = this.getObjVal(e, "data-t-1100"), bt = this.getObjVal(e, "data-t-1200"), st = this.getObjVal(e, "data-t-1300"), yt = this.getObjVal(e, "data-t-1400"), q = this.getObjVal(e, "data-t-1500"), Et = this.getObjVal(e, "data-t-1600"), Vt = this.getObjVal(e, "data-t-1700"), dt = this.getObjVal(e, "data-t-1800"), Yt = this.getObjVal(e, "data-t-1900"), V = this.getObjVal(e, "data-t-2000"), Mt = this.getObjVal(e, "data-t-2100"), vt = this.getObjVal(e, "data-t-2200"), Pt = this.getObjVal(e, "data-t-2300"), qt = this.getObjVal(e, "data-t-2400"), Dt = this.getObjVal(e, "data-t-2500"), p = this.getObjVal(e, "data-t-2600"), m = this.getObjVal(e, "data-t-2700"), y = this.getObjVal(e, "data-t-2800")), i > 970 && i <= 1280 && $ && (e.hasAttribute("data-md-t") && (P = this.getObjVal(e, "data-md-t")), e.hasAttribute("data-md-t-100") && (D = this.getObjVal(e, "data-md-t-100")), e.hasAttribute("data-md-t-200") && (rt = this.getObjVal(e, "data-md-t-200")), e.hasAttribute("data-md-t-300") && (_t = this.getObjVal(e, "data-md-t-300")), e.hasAttribute("data-md-t-400") && (ot = this.getObjVal(e, "data-md-t-400")), e.hasAttribute("data-md-t-500") && (Ot = this.getObjVal(e, "data-md-t-500")), e.hasAttribute("data-md-t-600") && (pt = this.getObjVal(e, "data-md-t-600")), e.hasAttribute("data-md-t-700") && (z = this.getObjVal(e, "data-md-t-700")), e.hasAttribute("data-md-t-800") && (lt = this.getObjVal(e, "data-md-t-800")), e.hasAttribute("data-md-t-900") && (et = this.getObjVal(e, "data-md-t-900")), e.hasAttribute("data-md-t-1000") && (it = this.getObjVal(e, "data-md-t-1000")), e.hasAttribute("data-md-t-1100") && (mt = this.getObjVal(e, "data-md-t-1100")), e.hasAttribute("data-md-t-1200") && (bt = this.getObjVal(e, "data-md-t-1200")), e.hasAttribute("data-md-t-1300") && (st = this.getObjVal(e, "data-md-t-1300")), e.hasAttribute("data-md-t-1400") && (yt = this.getObjVal(e, "data-md-t-1400")), e.hasAttribute("data-md-t-1500") && (q = this.getObjVal(e, "data-md-t-1500")), e.hasAttribute("data-md-t-1600") && (Et = this.getObjVal(e, "data-md-t-1600")), e.hasAttribute("data-md-t-1700") && (Vt = this.getObjVal(e, "data-md-t-1700")), e.hasAttribute("data-md-t-1800") && (dt = this.getObjVal(e, "data-md-t-1800")), e.hasAttribute("data-md-t-1900") && (Yt = this.getObjVal(e, "data-md-t-1900")), e.hasAttribute("data-md-t-2000") && (V = this.getObjVal(e, "data-md-t-2000")), e.hasAttribute("data-md-t-2100") && (Mt = this.getObjVal(e, "data-md-t-2100")), e.hasAttribute("data-md-t-2200") && (vt = this.getObjVal(e, "data-md-t-2200")), e.hasAttribute("data-md-t-2300") && (Pt = this.getObjVal(e, "data-md-t-2300")), e.hasAttribute("data-md-t-2400") && (qt = this.getObjVal(e, "data-md-t-2400")), e.hasAttribute("data-md-t-2500") && (Dt = this.getObjVal(e, "data-md-t-2500")), e.hasAttribute("data-md-t-2600") && (p = this.getObjVal(e, "data-md-t-2600")), e.hasAttribute("data-md-t-2700") && (m = this.getObjVal(e, "data-md-t-2700")), e.hasAttribute("data-md-t-2800") && (y = this.getObjVal(e, "data-md-t-2800"))), i <= 970 && e.hasAttribute("m-data-out") && (L = this.getObjVal(e, "m-data-out")), (i > 760 && i <= 970 && Z || i <= 760 && !K && Z) && (e.hasAttribute("data-sm-t") && (P = this.getObjVal(e, "data-sm-t")), e.hasAttribute("data-sm-t-100") && (D = this.getObjVal(e, "data-sm-t-100")), e.hasAttribute("data-sm-t-200") && (rt = this.getObjVal(e, "data-sm-t-200")), e.hasAttribute("data-sm-t-300") && (_t = this.getObjVal(e, "data-sm-t-300")), e.hasAttribute("data-sm-t-400") && (ot = this.getObjVal(e, "data-sm-t-400")), e.hasAttribute("data-sm-t-500") && (Ot = this.getObjVal(e, "data-sm-t-500")), e.hasAttribute("data-sm-t-600") && (pt = this.getObjVal(e, "data-sm-t-600")), e.hasAttribute("data-sm-t-700") && (z = this.getObjVal(e, "data-sm-t-700")), e.hasAttribute("data-sm-t-800") && (lt = this.getObjVal(e, "data-sm-t-800")), e.hasAttribute("data-sm-t-900") && (et = this.getObjVal(e, "data-sm-t-900")), e.hasAttribute("data-sm-t-1000") && (it = this.getObjVal(e, "data-sm-t-1000")), e.hasAttribute("data-sm-t-1100") && (mt = this.getObjVal(e, "data-sm-t-1100")), e.hasAttribute("data-sm-t-1200") && (bt = this.getObjVal(e, "data-sm-t-1200")), e.hasAttribute("data-sm-t-1300") && (st = this.getObjVal(e, "data-sm-t-1300")), e.hasAttribute("data-sm-t-1400") && (yt = this.getObjVal(e, "data-sm-t-1400")), e.hasAttribute("data-sm-t-1500") && (q = this.getObjVal(e, "data-sm-t-1500")), e.hasAttribute("data-sm-t-1600") && (Et = this.getObjVal(e, "data-sm-t-1600")), e.hasAttribute("data-sm-t-1700") && (Vt = this.getObjVal(e, "data-sm-t-1700")), e.hasAttribute("data-sm-t-1800") && (dt = this.getObjVal(e, "data-sm-t-1800")), e.hasAttribute("data-sm-t-1900") && (Yt = this.getObjVal(e, "data-sm-t-1900")), e.hasAttribute("data-sm-t-2000") && (V = this.getObjVal(e, "data-sm-t-2000")), e.hasAttribute("data-sm-t-2100") && (Mt = this.getObjVal(e, "data-sm-t-2100")), e.hasAttribute("data-sm-t-2200") && (vt = this.getObjVal(e, "data-sm-t-2200")), e.hasAttribute("data-sm-t-2300") && (Pt = this.getObjVal(e, "data-sm-t-2300")), e.hasAttribute("data-sm-t-2400") && (qt = this.getObjVal(e, "data-sm-t-2400")), e.hasAttribute("data-sm-t-2500") && (Dt = this.getObjVal(e, "data-sm-t-2500")), e.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(e, "data-sm-t-2600")), e.hasAttribute("data-sm-t-2700") && (m = this.getObjVal(e, "data-sm-t-2700")), e.hasAttribute("data-sm-t-2800") && (y = this.getObjVal(e, "data-sm-t-2800"))), i <= 414 && K && (e.hasAttribute("data-xs-t") && (P = this.getObjVal(e, "data-xs-t")), e.hasAttribute("data-xs-t-100") && (D = this.getObjVal(e, "data-xs-t-100")), e.hasAttribute("data-xs-t-200") && (rt = this.getObjVal(e, "data-xs-t-200")), e.hasAttribute("data-xs-t-300") && (_t = this.getObjVal(e, "data-xs-t-300")), e.hasAttribute("data-xs-t-400") && (ot = this.getObjVal(e, "data-xs-t-400")), e.hasAttribute("data-xs-t-500") && (Ot = this.getObjVal(e, "data-xs-t-500")), e.hasAttribute("data-xs-t-600") && (pt = this.getObjVal(e, "data-xs-t-600")), e.hasAttribute("data-xs-t-700") && (z = this.getObjVal(e, "data-xs-t-700")), e.hasAttribute("data-xs-t-800") && (lt = this.getObjVal(e, "data-xs-t-800")), e.hasAttribute("data-xs-t-900") && (et = this.getObjVal(e, "data-xs-t-900")), e.hasAttribute("data-xs-t-1000") && (it = this.getObjVal(e, "data-xs-t-1000")), e.hasAttribute("data-xs-t-1100") && (mt = this.getObjVal(e, "data-xs-t-1100")), e.hasAttribute("data-xs-t-1200") && (bt = this.getObjVal(e, "data-xs-t-1200")), e.hasAttribute("data-xs-t-1300") && (st = this.getObjVal(e, "data-xs-t-1300")), e.hasAttribute("data-xs-t-1400") && (yt = this.getObjVal(e, "data-xs-t-1400")), e.hasAttribute("data-xs-t-1500") && (q = this.getObjVal(e, "data-xs-t-1500")), e.hasAttribute("data-xs-t-1600") && (Et = this.getObjVal(e, "data-xs-t-1600")), e.hasAttribute("data-xs-t-1700") && (Vt = this.getObjVal(e, "data-xs-t-1700")), e.hasAttribute("data-xs-t-1800") && (dt = this.getObjVal(e, "data-xs-t-1800")), e.hasAttribute("data-xs-t-1900") && (Yt = this.getObjVal(e, "data-xs-t-1900")), e.hasAttribute("data-xs-t-2000") && (V = this.getObjVal(e, "data-xs-t-2000")), e.hasAttribute("data-xs-t-2100") && (Mt = this.getObjVal(e, "data-xs-t-2100")), e.hasAttribute("data-xs-t-2200") && (vt = this.getObjVal(e, "data-xs-t-2200")), e.hasAttribute("data-xs-t-2300") && (Pt = this.getObjVal(e, "data-xs-t-2300")), e.hasAttribute("data-xs-t-2400") && (qt = this.getObjVal(e, "data-xs-t-2400")), e.hasAttribute("data-xs-t-2500") && (Dt = this.getObjVal(e, "data-xs-t-2500")), e.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(e, "data-xs-t-2600")), e.hasAttribute("data-xs-t-2700") && (m = this.getObjVal(e, "data-xs-t-2700")), e.hasAttribute("data-xs-t-2800") && (y = this.getObjVal(e, "data-xs-t-2800")));
600
+ let W = P, H = D, _ = rt, R = _t, M = ot, ht = Ot, F = pt, J = z, ct = lt, zt = et, St = it, Xt = mt, nt = bt, j = st, U = yt, ut = q, te = Et, ee = Vt, ie = dt, se = Yt, ne = V, ae = Mt, re = vt, oe = Pt, le = qt, de = Dt, he = p, ce = m, ue = y, Ft = window.innerHeight;
601
+ Ft < 730 ? (It = W, G = H, P = _, D = R, rt = M, _t = ht, ot = F, Ot = J, pt = ct, z = zt, lt = St, et = Xt, it = nt, mt = j, bt = U, st = ut, yt = te, q = ee, Et = ie, Vt = se, dt = ne, Yt = ae, V = re, Mt = oe, vt = le, Pt = de, qt = he, Dt = ce, p = ue, m = {}, y = {}) : Ft >= 730 && Ft < 790 ? (G = W, P = H, D = _, rt = R, _t = M, ot = ht, Ot = F, pt = J, z = ct, lt = zt, et = St, it = Xt, mt = nt, bt = j, st = U, yt = ut, q = te, Et = ee, Vt = ie, dt = se, Yt = ne, V = ae, Mt = re, vt = oe, Pt = le, qt = de, Dt = he, p = ce, m = ue, y = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (P = {}, D = W, rt = H, _t = _, ot = R, Ot = M, pt = ht, z = F, lt = J, et = ct, it = zt, mt = St, bt = Xt, st = nt, yt = j, q = U, Et = ut, Vt = te, dt = ee, Yt = ie, V = se, Mt = ne, vt = ae, Pt = re, qt = oe, Dt = le, p = de, m = he, y = ce, w = ue) : (P = {}, D = {}, rt = W, _t = H, ot = _, Ot = R, pt = M, z = ht, lt = F, et = J, it = ct, mt = zt, bt = St, st = Xt, yt = nt, q = j, Et = U, Vt = ut, dt = te, Yt = ee, V = ie, Mt = se, vt = ne, Pt = ae, qt = re, Dt = oe, p = le, m = de, y = he, w = ce, k = ue));
602
602
  let g = {};
603
- Object.keys(O).length !== 0 && (g = this.parseObj(O, "elInY", g)), Object.keys(j).length !== 0 && (g = this.parseObj(j, "elInY+50", g)), Object.keys(v).length !== 0 && (g = this.parseObj(v, "elInY+100", g)), Object.keys(u).length !== 0 && (g = this.parseObj(u, "elInY+150", g)), Object.keys(l).length !== 0 && (g = this.parseObj(l, "elInY+200", g)), Object.keys(kt).length !== 0 && (g = this.parseObj(kt, "elInY+250", g)), Object.keys(Lt).length !== 0 && (g = this.parseObj(Lt, "elInY+300", g)), Object.keys(Ct).length !== 0 && (g = this.parseObj(Ct, "elInY+350", g)), Object.keys(Bt).length !== 0 && (g = this.parseObj(Bt, "elInY+400", g)), Object.keys(ft).length !== 0 && (g = this.parseObj(ft, "elInY+450", g)), Object.keys(K).length !== 0 && (g = this.parseObj(K, "elInY+500", g)), Object.keys(T).length !== 0 && (g = this.parseObj(T, "elInY+550", g)), Object.keys(S).length !== 0 && (g = this.parseObj(S, "elInY+600", g)), Object.keys(_).length !== 0 && (g = this.parseObj(_, "elInY+650", g)), Object.keys(b).length !== 0 && (g = this.parseObj(b, "elCenterY-300", g)), Object.keys(f).length !== 0 && (g = this.parseObj(f, "elCenterY", g)), Object.keys(c).length !== 0 && (g = this.parseObj(c, "elCenterY+100", g)), Object.keys(d).length !== 0 && (g = this.parseObj(d, "elCenterY+200", g)), Object.keys(h).length !== 0 && (g = this.parseObj(h, "elCenterY+300", g)), Object.keys(n).length !== 0 && (g = this.parseObj(n, "elOutY-300", g)), Object.keys(r).length !== 0 && (g = this.parseObj(r, "elOutY", g)), Object.keys(I).length !== 0 && (g = this.parseObj(I, "elInY", g)), Object.keys(tt).length !== 0 && (g = this.parseObj(tt, "elInY+150", g)), Object.keys(At).length !== 0 && (g = this.parseObj(At, "elInY+300 ", g)), Object.keys(B).length !== 0 && (g = this.parseObj(B, "elCenterY-150", g)), Object.keys(gt).length !== 0 && (g = this.parseObj(gt, "elCenterY", g)), Object.keys(x).length !== 0 && (g = this.parseObj(x, "elCenterY+150", g)), Object.keys(A).length !== 0 && (g = this.parseObj(A, "elOutY-300 ", g)), Object.keys(X).length !== 0 && (g = this.parseObj(X, "elOutY-150 ", g)), Object.keys(L).length !== 0 && (g = this.parseObj(L, "elOutY", g)), Object.keys(It).length !== 0 && (g = this.parseObj(It, "elInY-200", g)), Object.keys(Q).length !== 0 && (g = this.parseObj(Q, "elInY-100", g)), Object.keys(P).length !== 0 && (g = this.parseObj(P, "elInY", g)), Object.keys(D).length !== 0 && (g = this.parseObj(D, "elInY+100", g)), Object.keys(rt).length !== 0 && (g = this.parseObj(rt, "elInY+200", g)), Object.keys(_t).length !== 0 && (g = this.parseObj(_t, "elInY+300 ", g)), Object.keys(ot).length !== 0 && (g = this.parseObj(ot, "elInY+400 ", g)), Object.keys(Ot).length !== 0 && (g = this.parseObj(Ot, "elInY+500 ", g)), Object.keys(pt).length !== 0 && (g = this.parseObj(pt, "elInY+600 ", g)), Object.keys(z).length !== 0 && (g = this.parseObj(z, "elInY+700 ", g)), Object.keys(lt).length !== 0 && (g = this.parseObj(lt, "elInY+800 ", g)), Object.keys(et).length !== 0 && (g = this.parseObj(et, "elInY+900 ", g)), Object.keys(it).length !== 0 && (g = this.parseObj(it, "elInY+1000 ", g)), Object.keys(mt).length !== 0 && (g = this.parseObj(mt, "elInY+1100 ", g)), Object.keys(bt).length !== 0 && (g = this.parseObj(bt, "elInY+1200 ", g)), Object.keys(st).length !== 0 && (g = this.parseObj(st, "elInY+1300 ", g)), Object.keys(yt).length !== 0 && (g = this.parseObj(yt, "elInY+1400 ", g)), Object.keys(q).length !== 0 && (g = this.parseObj(q, "elInY+1500 ", g)), Object.keys(Et).length !== 0 && (g = this.parseObj(Et, "elInY+1600 ", g)), Object.keys(Vt).length !== 0 && (g = this.parseObj(Vt, "elInY+1700 ", g)), Object.keys(dt).length !== 0 && (g = this.parseObj(dt, "elInY+1800 ", g)), Object.keys(Yt).length !== 0 && (g = this.parseObj(Yt, "elInY+1900 ", g)), Object.keys(V).length !== 0 && (g = this.parseObj(V, "elInY+2000 ", g)), Object.keys(Mt).length !== 0 && (g = this.parseObj(Mt, "elInY+2100 ", g)), Object.keys(vt).length !== 0 && (g = this.parseObj(vt, "elInY+2200 ", g)), Object.keys(Pt).length !== 0 && (g = this.parseObj(Pt, "elInY+2300 ", g)), Object.keys(qt).length !== 0 && (g = this.parseObj(qt, "elInY+2400 ", g)), Object.keys(Dt).length !== 0 && (g = this.parseObj(Dt, "elInY+2500 ", g)), Object.keys(p).length !== 0 && (g = this.parseObj(p, "elInY+2600 ", g)), Object.keys(m).length !== 0 && (g = this.parseObj(m, "elInY+2700 ", g)), Object.keys(y).length !== 0 && (g = this.parseObj(y, "elInY+2800 ", g)), Object.keys(w).length !== 0 && (g = this.parseObj(w, "elInY+2900 ", g)), Object.keys(k).length !== 0 && (g = this.parseObj(k, "elInY+3000 ", g)), e.style.transition = "", e.setAttribute("data-dummy-selector", "1"), Zt.addElements("[data-dummy-selector]", {
603
+ Object.keys(O).length !== 0 && (g = this.parseObj(O, "elInY", g)), Object.keys(T).length !== 0 && (g = this.parseObj(T, "elInY+50", g)), Object.keys(v).length !== 0 && (g = this.parseObj(v, "elInY+100", g)), Object.keys(f).length !== 0 && (g = this.parseObj(f, "elInY+150", g)), Object.keys(d).length !== 0 && (g = this.parseObj(d, "elInY+200", g)), Object.keys(kt).length !== 0 && (g = this.parseObj(kt, "elInY+250", g)), Object.keys(Lt).length !== 0 && (g = this.parseObj(Lt, "elInY+300", g)), Object.keys(Ct).length !== 0 && (g = this.parseObj(Ct, "elInY+350", g)), Object.keys(Bt).length !== 0 && (g = this.parseObj(Bt, "elInY+400", g)), Object.keys(ft).length !== 0 && (g = this.parseObj(ft, "elInY+450", g)), Object.keys(Q).length !== 0 && (g = this.parseObj(Q, "elInY+500", g)), Object.keys(E).length !== 0 && (g = this.parseObj(E, "elInY+550", g)), Object.keys(A).length !== 0 && (g = this.parseObj(A, "elInY+600", g)), Object.keys(C).length !== 0 && (g = this.parseObj(C, "elInY+650", g)), Object.keys(b).length !== 0 && (g = this.parseObj(b, "elCenterY-300", g)), Object.keys(u).length !== 0 && (g = this.parseObj(u, "elCenterY", g)), Object.keys(c).length !== 0 && (g = this.parseObj(c, "elCenterY+100", g)), Object.keys(l).length !== 0 && (g = this.parseObj(l, "elCenterY+200", g)), Object.keys(h).length !== 0 && (g = this.parseObj(h, "elCenterY+300", g)), Object.keys(n).length !== 0 && (g = this.parseObj(n, "elOutY-300", g)), Object.keys(r).length !== 0 && (g = this.parseObj(r, "elOutY", g)), Object.keys(I).length !== 0 && (g = this.parseObj(I, "elInY", g)), Object.keys(tt).length !== 0 && (g = this.parseObj(tt, "elInY+150", g)), Object.keys(At).length !== 0 && (g = this.parseObj(At, "elInY+300 ", g)), Object.keys(B).length !== 0 && (g = this.parseObj(B, "elCenterY-150", g)), Object.keys(gt).length !== 0 && (g = this.parseObj(gt, "elCenterY", g)), Object.keys(x).length !== 0 && (g = this.parseObj(x, "elCenterY+150", g)), Object.keys(S).length !== 0 && (g = this.parseObj(S, "elOutY-300 ", g)), Object.keys(X).length !== 0 && (g = this.parseObj(X, "elOutY-150 ", g)), Object.keys(L).length !== 0 && (g = this.parseObj(L, "elOutY", g)), Object.keys(It).length !== 0 && (g = this.parseObj(It, "elInY-200", g)), Object.keys(G).length !== 0 && (g = this.parseObj(G, "elInY-100", g)), Object.keys(P).length !== 0 && (g = this.parseObj(P, "elInY", g)), Object.keys(D).length !== 0 && (g = this.parseObj(D, "elInY+100", g)), Object.keys(rt).length !== 0 && (g = this.parseObj(rt, "elInY+200", g)), Object.keys(_t).length !== 0 && (g = this.parseObj(_t, "elInY+300 ", g)), Object.keys(ot).length !== 0 && (g = this.parseObj(ot, "elInY+400 ", g)), Object.keys(Ot).length !== 0 && (g = this.parseObj(Ot, "elInY+500 ", g)), Object.keys(pt).length !== 0 && (g = this.parseObj(pt, "elInY+600 ", g)), Object.keys(z).length !== 0 && (g = this.parseObj(z, "elInY+700 ", g)), Object.keys(lt).length !== 0 && (g = this.parseObj(lt, "elInY+800 ", g)), Object.keys(et).length !== 0 && (g = this.parseObj(et, "elInY+900 ", g)), Object.keys(it).length !== 0 && (g = this.parseObj(it, "elInY+1000 ", g)), Object.keys(mt).length !== 0 && (g = this.parseObj(mt, "elInY+1100 ", g)), Object.keys(bt).length !== 0 && (g = this.parseObj(bt, "elInY+1200 ", g)), Object.keys(st).length !== 0 && (g = this.parseObj(st, "elInY+1300 ", g)), Object.keys(yt).length !== 0 && (g = this.parseObj(yt, "elInY+1400 ", g)), Object.keys(q).length !== 0 && (g = this.parseObj(q, "elInY+1500 ", g)), Object.keys(Et).length !== 0 && (g = this.parseObj(Et, "elInY+1600 ", g)), Object.keys(Vt).length !== 0 && (g = this.parseObj(Vt, "elInY+1700 ", g)), Object.keys(dt).length !== 0 && (g = this.parseObj(dt, "elInY+1800 ", g)), Object.keys(Yt).length !== 0 && (g = this.parseObj(Yt, "elInY+1900 ", g)), Object.keys(V).length !== 0 && (g = this.parseObj(V, "elInY+2000 ", g)), Object.keys(Mt).length !== 0 && (g = this.parseObj(Mt, "elInY+2100 ", g)), Object.keys(vt).length !== 0 && (g = this.parseObj(vt, "elInY+2200 ", g)), Object.keys(Pt).length !== 0 && (g = this.parseObj(Pt, "elInY+2300 ", g)), Object.keys(qt).length !== 0 && (g = this.parseObj(qt, "elInY+2400 ", g)), Object.keys(Dt).length !== 0 && (g = this.parseObj(Dt, "elInY+2500 ", g)), Object.keys(p).length !== 0 && (g = this.parseObj(p, "elInY+2600 ", g)), Object.keys(m).length !== 0 && (g = this.parseObj(m, "elInY+2700 ", g)), Object.keys(y).length !== 0 && (g = this.parseObj(y, "elInY+2800 ", g)), Object.keys(w).length !== 0 && (g = this.parseObj(w, "elInY+2900 ", g)), Object.keys(k).length !== 0 && (g = this.parseObj(k, "elInY+3000 ", g)), e.style.transition = "", e.setAttribute("data-dummy-selector", "1"), Kt.addElements("[data-dummy-selector]", {
604
604
  scrollY: g
605
605
  }), this.elements.push(document.querySelector("[data-dummy-selector]")), e.removeAttribute("data-dummy-selector"), setTimeout(() => {
606
606
  e.style.opacity = 1, e.getAttribute("data-smooth-scrolling") === "off" || this.settings.transition && (e.style.transition = this.settings.transition);
@@ -741,8 +741,8 @@ let be = class {
741
741
  if (n !== this.visible) {
742
742
  this.visible = n;
743
743
  const h = this._toggleCallback();
744
- h instanceof Promise ? h.then(this._toggleClass.bind(this)).catch((d) => {
745
- console.error("Trigger promise failed"), console.error(d);
744
+ h instanceof Promise ? h.then(this._toggleClass.bind(this)).catch((l) => {
745
+ console.error("Trigger promise failed"), console.error(l);
746
746
  }) : this._toggleClass(), this.visible && this.once && (this.active = !1);
747
747
  } else if (n && typeof this.toggle.callback.visible == "function")
748
748
  return this.toggle.callback.visible.call(this.element, this);
@@ -986,7 +986,7 @@ let be = class {
986
986
  *
987
987
  * Date: 2017-07-09
988
988
  */
989
- const Gt = be, oi = ai, li = ri;
989
+ const Zt = be, oi = ai, li = ri;
990
990
  class di {
991
991
  /**
992
992
  * Constructor for the scroll trigger
@@ -1074,7 +1074,7 @@ class di {
1074
1074
  * @returns Trigger
1075
1075
  */
1076
1076
  createTrigger(t, i) {
1077
- return new Gt(t, we(this.defaultTrigger, i));
1077
+ return new Zt(t, we(this.defaultTrigger, i));
1078
1078
  }
1079
1079
  /**
1080
1080
  * Creates an array of triggers
@@ -1095,7 +1095,7 @@ class di {
1095
1095
  * @returns {ScrollTrigger}
1096
1096
  */
1097
1097
  add(t, i) {
1098
- return t instanceof HTMLElement ? (this.collection.add(this.createTrigger(t, i)), this) : t instanceof Gt ? (this.collection.add(t), this) : t instanceof NodeList ? (this.collection.add(this.createTriggers(t, i)), this) : Array.isArray(t) && t.length && t[0] instanceof Gt ? (this.collection.add(t), this) : Array.isArray(t) && t.length && t[0] instanceof HTMLElement ? (this.collection.add(this.createTriggers(t, i)), this) : (this.collection.add(this.createTriggers(document.querySelectorAll(t), i)), this);
1098
+ return t instanceof HTMLElement ? (this.collection.add(this.createTrigger(t, i)), this) : t instanceof Zt ? (this.collection.add(t), this) : t instanceof NodeList ? (this.collection.add(this.createTriggers(t, i)), this) : Array.isArray(t) && t.length && t[0] instanceof Zt ? (this.collection.add(t), this) : Array.isArray(t) && t.length && t[0] instanceof HTMLElement ? (this.collection.add(this.createTriggers(t, i)), this) : (this.collection.add(this.createTriggers(document.querySelectorAll(t), i)), this);
1099
1099
  }
1100
1100
  /**
1101
1101
  * Removes triggers
@@ -1103,7 +1103,7 @@ class di {
1103
1103
  * @returns {ScrollTrigger}
1104
1104
  */
1105
1105
  remove(t) {
1106
- return t instanceof Gt ? (this.collection.remove(t), this) : Array.isArray(t) && t.length && t[0] instanceof Gt ? (this.collection.remove(t), this) : t instanceof HTMLElement ? (this.collection.remove(this.search(t)), this) : Array.isArray(t) && t.length && t[0] instanceof HTMLElement ? (this.collection.remove(this.search(t)), this) : t instanceof NodeList ? (this.collection.remove(this.search(t)), this) : Array.isArray(t) && t.length && t[0] instanceof Gt ? (this.collection.remove(t), this) : (this.collection.remove(this.query(t.toString())), this);
1106
+ return t instanceof Zt ? (this.collection.remove(t), this) : Array.isArray(t) && t.length && t[0] instanceof Zt ? (this.collection.remove(t), this) : t instanceof HTMLElement ? (this.collection.remove(this.search(t)), this) : Array.isArray(t) && t.length && t[0] instanceof HTMLElement ? (this.collection.remove(this.search(t)), this) : t instanceof NodeList ? (this.collection.remove(this.search(t)), this) : Array.isArray(t) && t.length && t[0] instanceof Zt ? (this.collection.remove(t), this) : (this.collection.remove(this.query(t.toString())), this);
1107
1107
  }
1108
1108
  /**
1109
1109
  * Lookup one or multiple triggers by a query string
@@ -1135,12 +1135,12 @@ class di {
1135
1135
  }
1136
1136
  }
1137
1137
  const Pe = Date.now();
1138
- function $t() {
1138
+ function Rt() {
1139
1139
  let o = {}, t = !0, i = 0, s = arguments.length;
1140
1140
  Object.prototype.toString.call(arguments[0]) === "[object Boolean]" && (t = arguments[0], i++);
1141
1141
  let e = (a) => {
1142
1142
  for (let r in a)
1143
- Object.prototype.hasOwnProperty.call(a, r) && (t && Object.prototype.toString.call(a[r]) === "[object Object]" ? o[r] = $t(!0, o[r], a[r]) : o[r] = a[r]);
1143
+ Object.prototype.hasOwnProperty.call(a, r) && (t && Object.prototype.toString.call(a[r]) === "[object Object]" ? o[r] = Rt(!0, o[r], a[r]) : o[r] = a[r]);
1144
1144
  };
1145
1145
  for (; i < s; i++) {
1146
1146
  let a = arguments[i];
@@ -1149,12 +1149,12 @@ function $t() {
1149
1149
  return o;
1150
1150
  }
1151
1151
  function at(o, t) {
1152
- if ((Rt(o) || o === window || o === document) && (o = [o]), !Ne(o) && !Kt(o) && (o = [o]), Ze(o) != 0) {
1153
- if (Ne(o) && !Kt(o)) {
1152
+ if (($t(o) || o === window || o === document) && (o = [o]), !Ne(o) && !Qt(o) && (o = [o]), Ke(o) != 0) {
1153
+ if (Ne(o) && !Qt(o)) {
1154
1154
  let i = o.length, s = 0;
1155
1155
  for (; s < i && t.call(o[s], o[s], s, o) !== !1; s++)
1156
1156
  ;
1157
- } else if (Kt(o)) {
1157
+ } else if (Qt(o)) {
1158
1158
  for (let i in o)
1159
1159
  if (xt(o, i) && t.call(o[i], o[i], i, o) === !1)
1160
1160
  break;
@@ -1163,7 +1163,7 @@ function at(o, t) {
1163
1163
  }
1164
1164
  function qe(o, t = null, i = null) {
1165
1165
  const s = o[Pe] = o[Pe] || [], e = { all: s, evt: null, found: null };
1166
- return t && i && Ze(s) > 0 && at(s, (a, r) => {
1166
+ return t && i && Ke(s) > 0 && at(s, (a, r) => {
1167
1167
  if (a.eventName == t && a.fn.toString() == i.toString())
1168
1168
  return e.found = !0, e.evt = r, !1;
1169
1169
  }), e;
@@ -1171,17 +1171,17 @@ function qe(o, t = null, i = null) {
1171
1171
  function Ht(o, { onElement: t, withCallback: i, avoidDuplicate: s = !0, once: e = !1, useCapture: a = !1 } = {}, r) {
1172
1172
  let n = t || [];
1173
1173
  Jt(n) && (n = document.querySelectorAll(n));
1174
- function h(d) {
1175
- N(i) && i.call(r, d, this), e && h.destroy();
1174
+ function h(l) {
1175
+ N(i) && i.call(r, l, this), e && h.destroy();
1176
1176
  }
1177
1177
  return h.destroy = function() {
1178
- at(n, (d) => {
1179
- const c = qe(d, o, h);
1180
- c.found && c.all.splice(c.evt, 1), d.removeEventListener && d.removeEventListener(o, h, a);
1178
+ at(n, (l) => {
1179
+ const c = qe(l, o, h);
1180
+ c.found && c.all.splice(c.evt, 1), l.removeEventListener && l.removeEventListener(o, h, a);
1181
1181
  });
1182
- }, at(n, (d) => {
1183
- const c = qe(d, o, h);
1184
- (d.addEventListener && s && !c.found || !s) && (d.addEventListener(o, h, a), c.all.push({ eventName: o, fn: h }));
1182
+ }, at(n, (l) => {
1183
+ const c = qe(l, o, h);
1184
+ (l.addEventListener && s && !c.found || !s) && (l.addEventListener(o, h, a), c.all.push({ eventName: o, fn: h }));
1185
1185
  }), h;
1186
1186
  }
1187
1187
  function Y(o, t) {
@@ -1201,7 +1201,7 @@ function Wt(o, t) {
1201
1201
  return o;
1202
1202
  }
1203
1203
  }
1204
- function Qt(o, t = "", i = !1) {
1204
+ function Gt(o, t = "", i = !1) {
1205
1205
  if (!o || t === "")
1206
1206
  return !1;
1207
1207
  if (t === "none")
@@ -1340,7 +1340,7 @@ function N(o) {
1340
1340
  function Jt(o) {
1341
1341
  return typeof o == "string";
1342
1342
  }
1343
- function Rt(o) {
1343
+ function $t(o) {
1344
1344
  return !!(o && o.nodeType && o.nodeType == 1);
1345
1345
  }
1346
1346
  function Ue(o) {
@@ -1349,7 +1349,7 @@ function Ue(o) {
1349
1349
  function Ne(o) {
1350
1350
  return o && o.length && isFinite(o.length);
1351
1351
  }
1352
- function Kt(o) {
1352
+ function Qt(o) {
1353
1353
  return typeof o === "object" && o != null && !N(o) && !Ue(o);
1354
1354
  }
1355
1355
  function Nt(o) {
@@ -1358,8 +1358,8 @@ function Nt(o) {
1358
1358
  function xt(o, t) {
1359
1359
  return o !== null && hasOwnProperty.call(o, t);
1360
1360
  }
1361
- function Ze(o) {
1362
- if (Kt(o)) {
1361
+ function Ke(o) {
1362
+ if (Qt(o)) {
1363
1363
  if (o.keys)
1364
1364
  return o.keys().length;
1365
1365
  let t = 0;
@@ -1501,8 +1501,8 @@ class wi {
1501
1501
  } else {
1502
1502
  if (this.x2 !== null) {
1503
1503
  t.deltaX = e - this.x2, t.deltaY = a - this.y2;
1504
- var d = Math.abs(this.x1 - this.x2), c = Math.abs(this.y1 - this.y2);
1505
- (d > 10 || c > 10) && (this._preventTap = !0);
1504
+ var l = Math.abs(this.x1 - this.x2), c = Math.abs(this.y1 - this.y2);
1505
+ (l > 10 || c > 10) && (this._preventTap = !0);
1506
1506
  } else
1507
1507
  t.deltaX = 0, t.deltaY = 0;
1508
1508
  this.pressMove.dispatch(t, this.element);
@@ -1562,44 +1562,44 @@ function _e(o) {
1562
1562
  function xi(o) {
1563
1563
  if (o.events.hasOwnProperty("touch"))
1564
1564
  return !1;
1565
- let t = Fe(), i = t.width, s = t.height, e = !1, a = null, r = null, n = null, h = !1, d = 1, c = 4.5, f = 1, b = !1, _ = !1, S = null, T = null, K = null, ft = null, Bt, Ct, Lt = 0, kt = 0, l = !1, u = !1, v = {}, j = {}, O = 0, I = 0, tt;
1565
+ let t = Fe(), i = t.width, s = t.height, e = !1, a = null, r = null, n = null, h = !1, l = 1, c = 4.5, u = 1, b = !1, C = !1, A = null, E = null, Q = null, ft = null, Bt, Ct, Lt = 0, kt = 0, d = !1, f = !1, v = {}, T = {}, O = 0, I = 0, tt;
1566
1566
  const At = document.getElementById("glightbox-slider"), B = document.querySelector(".goverlay"), gt = new wi(At, {
1567
1567
  touchStart: (x) => {
1568
1568
  if (e = !0, (jt(x.targetTouches[0].target, "ginner-container") || Wt(x.targetTouches[0].target, ".gslide-desc") || x.targetTouches[0].target.nodeName.toLowerCase() == "a") && (e = !1), Wt(x.targetTouches[0].target, ".gslide-inline") && !jt(x.targetTouches[0].target.parentNode, "gslide-inline") && (e = !1), e) {
1569
- if (j = x.targetTouches[0], v.pageX = x.targetTouches[0].pageX, v.pageY = x.targetTouches[0].pageY, O = x.targetTouches[0].clientX, I = x.targetTouches[0].clientY, a = o.activeSlide, r = a.querySelector(".gslide-media"), tt = a.querySelector(".gslide-inline"), n = null, jt(r, "gslide-image") && (n = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = a.querySelector(".ginner-container")), wt(B, "greset"), x.pageX > 20 && x.pageX < window.innerWidth - 20)
1569
+ if (T = x.targetTouches[0], v.pageX = x.targetTouches[0].pageX, v.pageY = x.targetTouches[0].pageY, O = x.targetTouches[0].clientX, I = x.targetTouches[0].clientY, a = o.activeSlide, r = a.querySelector(".gslide-media"), tt = a.querySelector(".gslide-inline"), n = null, jt(r, "gslide-image") && (n = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = a.querySelector(".ginner-container")), wt(B, "greset"), x.pageX > 20 && x.pageX < window.innerWidth - 20)
1570
1570
  return;
1571
1571
  x.preventDefault();
1572
1572
  }
1573
1573
  },
1574
1574
  touchMove: (x) => {
1575
- if (!e || (j = x.targetTouches[0], b || _))
1575
+ if (!e || (T = x.targetTouches[0], b || C))
1576
1576
  return;
1577
1577
  if (tt && tt.offsetHeight > s) {
1578
- const R = v.pageX - j.pageX;
1579
- if (Math.abs(R) <= 13)
1578
+ const $ = v.pageX - T.pageX;
1579
+ if (Math.abs($) <= 13)
1580
1580
  return !1;
1581
1581
  }
1582
1582
  h = !0;
1583
- let A = x.targetTouches[0].clientX, X = x.targetTouches[0].clientY, L = O - A, Z = I - X;
1584
- Math.abs(L) > Math.abs(Z) ? (l = !1, u = !0) : (u = !1, l = !0), Bt = j.pageX - v.pageX, Lt = Bt * 100 / i, Ct = j.pageY - v.pageY, kt = Ct * 100 / s;
1585
- let G;
1586
- if (l && n && (G = 1 - Math.abs(Ct) / s, B.style.opacity = G, o.settings.touchFollowAxis && (Lt = 0)), u && (G = 1 - Math.abs(Bt) / i, r.style.opacity = G, o.settings.touchFollowAxis && (kt = 0)), !n)
1583
+ let S = x.targetTouches[0].clientX, X = x.targetTouches[0].clientY, L = O - S, K = I - X;
1584
+ Math.abs(L) > Math.abs(K) ? (d = !1, f = !0) : (f = !1, d = !0), Bt = T.pageX - v.pageX, Lt = Bt * 100 / i, Ct = T.pageY - v.pageY, kt = Ct * 100 / s;
1585
+ let Z;
1586
+ if (d && n && (Z = 1 - Math.abs(Ct) / s, B.style.opacity = Z, o.settings.touchFollowAxis && (Lt = 0)), f && (Z = 1 - Math.abs(Bt) / i, r.style.opacity = Z, o.settings.touchFollowAxis && (kt = 0)), !n)
1587
1587
  return ye(r, `translate3d(${Lt}%, 0, 0)`);
1588
1588
  ye(r, `translate3d(${Lt}%, ${kt}%, 0)`);
1589
1589
  },
1590
1590
  touchEnd: () => {
1591
1591
  if (!e)
1592
1592
  return;
1593
- if (h = !1, _ || b) {
1594
- K = S, ft = T;
1593
+ if (h = !1, C || b) {
1594
+ Q = A, ft = E;
1595
1595
  return;
1596
1596
  }
1597
- const x = Math.abs(parseInt(kt)), A = Math.abs(parseInt(Lt));
1597
+ const x = Math.abs(parseInt(kt)), S = Math.abs(parseInt(Lt));
1598
1598
  if (x > 29 && n) {
1599
1599
  o.close();
1600
1600
  return;
1601
1601
  }
1602
- if (x < 29 && A < 25)
1602
+ if (x < 29 && S < 25)
1603
1603
  return Y(B, "greset"), B.style.opacity = 1, _e(r);
1604
1604
  },
1605
1605
  multipointEnd: () => {
@@ -1608,29 +1608,29 @@ function xi(o) {
1608
1608
  }, 50);
1609
1609
  },
1610
1610
  multipointStart: () => {
1611
- b = !0, d = f || 1;
1611
+ b = !0, l = u || 1;
1612
1612
  },
1613
1613
  pinch: (x) => {
1614
1614
  if (!n || h)
1615
1615
  return !1;
1616
- b = !0, n.scaleX = n.scaleY = d * x.zoom;
1617
- let A = d * x.zoom;
1618
- if (_ = !0, A <= 1) {
1619
- _ = !1, A = 1, ft = null, K = null, S = null, T = null, n.setAttribute("style", "");
1616
+ b = !0, n.scaleX = n.scaleY = l * x.zoom;
1617
+ let S = l * x.zoom;
1618
+ if (C = !0, S <= 1) {
1619
+ C = !1, S = 1, ft = null, Q = null, A = null, E = null, n.setAttribute("style", "");
1620
1620
  return;
1621
1621
  }
1622
- A > c && (A = c), n.style.transform = `scale3d(${A}, ${A}, 1)`, f = A;
1622
+ S > c && (S = c), n.style.transform = `scale3d(${S}, ${S}, 1)`, u = S;
1623
1623
  },
1624
1624
  pressMove: (x) => {
1625
- if (_ && !b) {
1626
- var A = j.pageX - v.pageX, X = j.pageY - v.pageY;
1627
- K && (A = A + K), ft && (X = X + ft), S = A, T = X;
1628
- let L = `translate3d(${A}px, ${X}px, 0)`;
1629
- f && (L += ` scale3d(${f}, ${f}, 1)`), ye(n, L);
1625
+ if (C && !b) {
1626
+ var S = T.pageX - v.pageX, X = T.pageY - v.pageY;
1627
+ Q && (S = S + Q), ft && (X = X + ft), A = S, E = X;
1628
+ let L = `translate3d(${S}px, ${X}px, 0)`;
1629
+ u && (L += ` scale3d(${u}, ${u}, 1)`), ye(n, L);
1630
1630
  }
1631
1631
  },
1632
1632
  swipe: (x) => {
1633
- if (!_) {
1633
+ if (!C) {
1634
1634
  if (b) {
1635
1635
  b = !1;
1636
1636
  return;
@@ -1779,24 +1779,24 @@ function Si(o, t, i, s) {
1779
1779
  Y(e, "gvideo-container"), r.insertBefore(Ut('<div class="gvideo-wrapper"></div>'), r.firstChild);
1780
1780
  const h = o.querySelector(".gvideo-wrapper");
1781
1781
  ze(this.settings.plyr.css, "Plyr");
1782
- let d = t.href, c = t?.videoProvider, f = !1;
1782
+ let l = t.href, c = t?.videoProvider, u = !1;
1783
1783
  r.style.maxWidth = t.width, ze(this.settings.plyr.js, "Plyr", () => {
1784
- if (!c && d.match(/vimeo\.com\/([0-9]*)/) && (c = "vimeo"), !c && (d.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || d.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || d.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)) && (c = "youtube"), c === "local" || !c) {
1784
+ if (!c && l.match(/vimeo\.com\/([0-9]*)/) && (c = "vimeo"), !c && (l.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || l.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || l.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)) && (c = "youtube"), c === "local" || !c) {
1785
1785
  c = "local";
1786
- let T = '<video id="' + a + '" ';
1787
- T += `style="background:#000; max-width: ${t.width};" `, T += 'preload="metadata" ', T += 'x-webkit-airplay="allow" ', T += "playsinline ", T += "controls ", T += 'class="gvideo-local">', T += `<source src="${d}">`, T += "</video>", f = Ut(T);
1786
+ let E = '<video id="' + a + '" ';
1787
+ E += `style="background:#000; max-width: ${t.width};" `, E += 'preload="metadata" ', E += 'x-webkit-airplay="allow" ', E += "playsinline ", E += "controls ", E += 'class="gvideo-local">', E += `<source src="${l}">`, E += "</video>", u = Ut(E);
1788
1788
  }
1789
- const b = f || Ut(`<div id="${a}" data-plyr-provider="${c}" data-plyr-embed-id="${d}"></div>`);
1789
+ const b = u || Ut(`<div id="${a}" data-plyr-provider="${c}" data-plyr-embed-id="${l}"></div>`);
1790
1790
  Y(h, `${c}-video gvideo`), h.appendChild(b), h.setAttribute("data-id", a), h.setAttribute("data-index", i);
1791
- const _ = xt(this.settings.plyr, "config") ? this.settings.plyr.config : {}, S = new Plyr("#" + a, _);
1792
- S.on("ready", (T) => {
1793
- n[a] = T.detail.plyr, N(s) && s();
1791
+ const C = xt(this.settings.plyr, "config") ? this.settings.plyr.config : {}, A = new Plyr("#" + a, C);
1792
+ A.on("ready", (E) => {
1793
+ n[a] = E.detail.plyr, N(s) && s();
1794
1794
  }), Ee(
1795
1795
  () => o.querySelector("iframe") && o.querySelector("iframe").dataset.ready == "true",
1796
1796
  () => {
1797
1797
  this.resize(o);
1798
1798
  }
1799
- ), S.on("enterfullscreen", Be), S.on("exitfullscreen", Be);
1799
+ ), A.on("enterfullscreen", Be), A.on("exitfullscreen", Be);
1800
1800
  });
1801
1801
  }
1802
1802
  function Be(o) {
@@ -1806,7 +1806,7 @@ function Be(o) {
1806
1806
  function _i(o, t, i, s) {
1807
1807
  const e = o.querySelector(".gslide-media"), a = xt(t, "href") && t.href ? t.href.split("#").pop().trim() : !1, r = xt(t, "content") && t.content ? t.content : !1;
1808
1808
  let n;
1809
- if (r && (Jt(r) && (n = Ut(`<div class="ginlined-content">${r}</div>`)), Rt(r))) {
1809
+ if (r && (Jt(r) && (n = Ut(`<div class="ginlined-content">${r}</div>`)), $t(r))) {
1810
1810
  r.style.display == "none" && (r.style.display = "block");
1811
1811
  const h = document.createElement("div");
1812
1812
  h.className = "ginlined-content", h.appendChild(r), n = h;
@@ -1815,8 +1815,8 @@ function _i(o, t, i, s) {
1815
1815
  let h = document.getElementById(a);
1816
1816
  if (!h)
1817
1817
  return !1;
1818
- const d = h.cloneNode(!0);
1819
- d.style.height = t.height, d.style.maxWidth = t.width, Y(d, "ginlined-content"), n = d;
1818
+ const l = h.cloneNode(!0);
1819
+ l.style.height = t.height, l.style.maxWidth = t.width, Y(l, "ginlined-content"), n = l;
1820
1820
  }
1821
1821
  if (!n)
1822
1822
  return console.error("Unable to append inline slide content", t), !1;
@@ -1852,7 +1852,7 @@ class Ti {
1852
1852
  content: !1,
1853
1853
  zoomable: !0,
1854
1854
  draggable: !0
1855
- }, Kt(t) && (this.defaults = $t(this.defaults, t));
1855
+ }, Qt(t) && (this.defaults = Rt(this.defaults, t));
1856
1856
  }
1857
1857
  /**
1858
1858
  * Get source type
@@ -1865,17 +1865,17 @@ class Ti {
1865
1865
  return t = t.toLowerCase(), t.match(/\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/) !== null ? "image" : t.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || t.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || t.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/) || t.match(/vimeo\.com\/([0-9]*)/) || t.match(/\.(mp4|ogg|webm|mov)/) !== null ? "video" : t.match(/\.(mp3|wav|wma|aac|ogg)/) !== null ? "audio" : t.indexOf("#") > -1 && i.split("#").pop().trim() !== "" ? "inline" : t.indexOf("goajax=true") > -1 ? "ajax" : "external";
1866
1866
  }
1867
1867
  parseConfig(t, i) {
1868
- let s = $t({ descPosition: i.descPosition }, this.defaults);
1869
- if (Kt(t) && !Rt(t)) {
1868
+ let s = Rt({ descPosition: i.descPosition }, this.defaults);
1869
+ if (Qt(t) && !$t(t)) {
1870
1870
  xt(t, "type") || (xt(t, "content") && t.content ? t.type = "inline" : xt(t, "href") && (t.type = this.sourceType(t.href)));
1871
- let n = $t(s, t);
1871
+ let n = Rt(s, t);
1872
1872
  return this.setSize(n, i), n;
1873
1873
  }
1874
1874
  let e = "", a = t.getAttribute("data-glightbox"), r = t.nodeName.toLowerCase();
1875
1875
  if (r === "a" && (e = t.href), r === "img" && (e = t.src, s.alt = t.alt), s.href = e, at(s, (n, h) => {
1876
1876
  xt(i, h) && h !== "width" && (s[h] = i[h]);
1877
- const d = t.dataset[h];
1878
- Nt(d) || (s[h] = this.sanitizeValue(d));
1877
+ const l = t.dataset[h];
1878
+ Nt(l) || (s[h] = this.sanitizeValue(l));
1879
1879
  }), s.content && (s.type = "inline"), !s.type && e && (s.type = this.sourceType(e)), Nt(a)) {
1880
1880
  if (!s.title && r == "a") {
1881
1881
  let n = t.title;
@@ -1887,13 +1887,13 @@ class Ti {
1887
1887
  }
1888
1888
  } else {
1889
1889
  let n = [];
1890
- at(s, (h, d) => {
1891
- n.push(";\\s?" + d);
1892
- }), n = n.join("\\s?:|"), a.trim() !== "" && at(s, (h, d) => {
1893
- const c = a, f = "s?" + d + "s?:s?(.*?)(" + n + "s?:|$)", b = new RegExp(f), _ = c.match(b);
1894
- if (_ && _.length && _[1]) {
1895
- const S = _[1].trim().replace(/;\s*$/, "");
1896
- s[d] = this.sanitizeValue(S);
1890
+ at(s, (h, l) => {
1891
+ n.push(";\\s?" + l);
1892
+ }), n = n.join("\\s?:|"), a.trim() !== "" && at(s, (h, l) => {
1893
+ const c = a, u = "s?" + l + "s?:s?(.*?)(" + n + "s?:|$)", b = new RegExp(u), C = c.match(b);
1894
+ if (C && C.length && C[1]) {
1895
+ const A = C[1].trim().replace(/;\s*$/, "");
1896
+ s[l] = this.sanitizeValue(A);
1897
1897
  }
1898
1898
  });
1899
1899
  }
@@ -1966,14 +1966,14 @@ class pe {
1966
1966
  slide: t,
1967
1967
  player: !1
1968
1968
  });
1969
- let r = e.type, n = e.descPosition, h = t.querySelector(".gslide-media"), d = t.querySelector(".gslide-title"), c = t.querySelector(".gslide-desc"), f = t.querySelector(".gdesc-inner"), b = i, _ = "gSlideTitle_" + this.index, S = "gSlideDesc_" + this.index;
1969
+ let r = e.type, n = e.descPosition, h = t.querySelector(".gslide-media"), l = t.querySelector(".gslide-title"), c = t.querySelector(".gslide-desc"), u = t.querySelector(".gdesc-inner"), b = i, C = "gSlideTitle_" + this.index, A = "gSlideDesc_" + this.index;
1970
1970
  if (N(s.afterSlideLoad) && (b = () => {
1971
1971
  N(i) && i(), s.afterSlideLoad({
1972
1972
  index: this.index,
1973
1973
  slide: t,
1974
1974
  player: this.instance.getSlidePlayerInstance(this.index)
1975
1975
  });
1976
- }), e.title == "" && e.description == "" ? f && f.parentNode.parentNode.removeChild(f.parentNode) : (d && e.title !== "" ? (d.id = _, d.innerHTML = e.title) : d.parentNode.removeChild(d), c && e.description !== "" ? (c.id = S, a && s.moreLength > 0 ? (e.smallDescription = this.slideShortDesc(e.description, s.moreLength, s.moreText), c.innerHTML = e.smallDescription, this.descriptionEvents(c, e)) : c.innerHTML = e.description) : c.parentNode.removeChild(c), Y(h.parentNode, `desc-${n}`), Y(f.parentNode, `description-${n}`)), Y(h, `gslide-${r}`), Y(t, "loaded"), r === "video") {
1976
+ }), e.title == "" && e.description == "" ? u && u.parentNode.parentNode.removeChild(u.parentNode) : (l && e.title !== "" ? (l.id = C, l.innerHTML = e.title) : l.parentNode.removeChild(l), c && e.description !== "" ? (c.id = A, a && s.moreLength > 0 ? (e.smallDescription = this.slideShortDesc(e.description, s.moreLength, s.moreText), c.innerHTML = e.smallDescription, this.descriptionEvents(c, e)) : c.innerHTML = e.description) : c.parentNode.removeChild(c), Y(h.parentNode, `desc-${n}`), Y(u.parentNode, `description-${n}`)), Y(h, `gslide-${r}`), Y(t, "loaded"), r === "video") {
1977
1977
  Si.apply(this.instance, [t, e, this.index, b]);
1978
1978
  return;
1979
1979
  }
@@ -1993,14 +1993,14 @@ class pe {
1993
1993
  }
1994
1994
  if (r === "image") {
1995
1995
  Ai(t, e, this.index, () => {
1996
- const T = t.querySelector("img");
1996
+ const E = t.querySelector("img");
1997
1997
  e.draggable && new He({
1998
- dragEl: T,
1998
+ dragEl: E,
1999
1999
  toleranceX: s.dragToleranceX,
2000
2000
  toleranceY: s.dragToleranceY,
2001
2001
  slide: t,
2002
2002
  instance: this.instance
2003
- }), e.zoomable && T.naturalWidth > T.offsetWidth && (Y(T, "zoomable"), new Oi(T, t, () => {
2003
+ }), e.zoomable && E.naturalWidth > E.offsetWidth && (Y(E, "zoomable"), new Oi(E, t, () => {
2004
2004
  this.instance.resize();
2005
2005
  })), N(b) && b();
2006
2006
  });
@@ -2032,8 +2032,8 @@ class pe {
2032
2032
  n.innerHTML = i.description, Y(r, "gdesc-open");
2033
2033
  let h = Ht("click", {
2034
2034
  onElement: [r, Wt(n, ".gslide-description")],
2035
- withCallback: (d, c) => {
2036
- d.target.nodeName.toLowerCase() !== "a" && (wt(r, "gdesc-open"), Y(r, "gdesc-closed"), n.innerHTML = i.smallDescription, this.descriptionEvents(n, i), setTimeout(() => {
2035
+ withCallback: (l, c) => {
2036
+ l.target.nodeName.toLowerCase() !== "a" && (wt(r, "gdesc-open"), Y(r, "gdesc-closed"), n.innerHTML = i.smallDescription, this.descriptionEvents(n, i), setTimeout(() => {
2037
2037
  wt(r, "gdesc-closed");
2038
2038
  }, 400), h.destroy());
2039
2039
  }
@@ -2059,12 +2059,12 @@ class pe {
2059
2059
  * @return { object }
2060
2060
  */
2061
2061
  getConfig() {
2062
- !Rt(this.element) && !this.element.hasOwnProperty("draggable") && (this.element.draggable = this.instance.settings.draggable);
2062
+ !$t(this.element) && !this.element.hasOwnProperty("draggable") && (this.element.draggable = this.instance.settings.draggable);
2063
2063
  const t = new Ti(this.instance.settings.slideExtraAttributes);
2064
2064
  return this.slideConfig = t.parseConfig(this.element, this.instance.settings), this.slideConfig;
2065
2065
  }
2066
2066
  }
2067
- const ji = "3.2.0", We = Le(), $e = fi();
2067
+ const ji = "3.2.0", We = Le(), Re = fi();
2068
2068
  let Te;
2069
2069
  typeof document > "u" || (Te = document.getElementsByTagName("html")[0]);
2070
2070
  const ke = {
@@ -2169,9 +2169,9 @@ ke.lightboxHTML = `<div id="glightbox-body" class="glightbox-container" tabindex
2169
2169
  <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>
2170
2170
  </div>
2171
2171
  </div>`;
2172
- class Re {
2172
+ class $e {
2173
2173
  constructor(t = {}) {
2174
- this.customOptions = t, this.settings = $t(ke, t), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2174
+ this.customOptions = t, this.settings = Rt(ke, t), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2175
2175
  }
2176
2176
  init() {
2177
2177
  const t = this.getSelector();
@@ -2187,17 +2187,17 @@ class Re {
2187
2187
  return !1;
2188
2188
  this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null;
2189
2189
  let s = ve(i) ? i : this.settings.startAt;
2190
- if (Rt(t)) {
2190
+ if ($t(t)) {
2191
2191
  const n = t.getAttribute("data-gallery");
2192
2192
  n && (this.fullElementsList = this.elements, this.elements = this.getGalleryElements(this.elements, n)), Nt(s) && (s = this.getElementIndex(t), s < 0 && (s = 0));
2193
2193
  }
2194
- ve(s) || (s = 0), this.build(), Qt(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2194
+ ve(s) || (s = 0), this.build(), Gt(this.overlay, this.settings.openEffect === "none" ? "none" : this.settings.cssEfects.fade.in);
2195
2195
  const e = document.body, a = window.innerWidth - document.documentElement.clientWidth;
2196
2196
  if (a > 0) {
2197
2197
  var r = document.createElement("style");
2198
2198
  r.type = "text/css", r.className = "gcss-styles", r.innerText = `.gscrollbar-fixer {margin-right: ${a}px}`, document.head.appendChild(r), Y(e, "gscrollbar-fixer");
2199
2199
  }
2200
- Y(e, "glightbox-open"), Y(Te, "glightbox-open"), We && (Y(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (Y(this.prevButton, "glightbox-button-hidden"), Y(this.nextButton, "glightbox-button-hidden")) : (wt(this.prevButton, "glightbox-button-hidden"), wt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), N(this.settings.onOpen) && this.settings.onOpen(), $e && this.settings.touchNavigation && xi(this), this.settings.keyboardNavigation && gi(this);
2200
+ Y(e, "glightbox-open"), Y(Te, "glightbox-open"), We && (Y(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (Y(this.prevButton, "glightbox-button-hidden"), Y(this.nextButton, "glightbox-button-hidden")) : (wt(this.prevButton, "glightbox-button-hidden"), wt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), N(this.settings.onOpen) && this.settings.onOpen(), Re && this.settings.touchNavigation && xi(this), this.settings.keyboardNavigation && gi(this);
2201
2201
  }
2202
2202
  /**
2203
2203
  * Open at specific index
@@ -2295,9 +2295,9 @@ class Re {
2295
2295
  */
2296
2296
  insertSlide(t = {}, i = -1) {
2297
2297
  i < 0 && (i = this.elements.length);
2298
- const s = new pe(t, this, i), e = s.getConfig(), a = $t({}, e), r = s.create(), n = this.elements.length - 1;
2298
+ const s = new pe(t, this, i), e = s.getConfig(), a = Rt({}, e), r = s.create(), n = this.elements.length - 1;
2299
2299
  a.index = i, a.node = !1, a.instance = s, a.slideConfig = e, this.elements.splice(i, 0, a);
2300
- let h = null, d = null;
2300
+ let h = null, l = null;
2301
2301
  if (this.slidesContainer) {
2302
2302
  if (i > n)
2303
2303
  this.slidesContainer.appendChild(r);
@@ -2305,7 +2305,7 @@ class Re {
2305
2305
  let c = this.slidesContainer.querySelectorAll(".gslide")[i];
2306
2306
  this.slidesContainer.insertBefore(r, c);
2307
2307
  }
2308
- (this.settings.preload && this.index == 0 && i == 0 || this.index - 1 == i || this.index + 1 == i) && this.preloadSlide(i), this.index === 0 && i === 0 && (this.index = 1), this.updateNavigationClasses(), h = this.slidesContainer.querySelectorAll(".gslide")[i], d = this.getSlidePlayerInstance(i), a.slideNode = h;
2308
+ (this.settings.preload && this.index == 0 && i == 0 || this.index - 1 == i || this.index + 1 == i) && this.preloadSlide(i), this.index === 0 && i === 0 && (this.index = 1), this.updateNavigationClasses(), h = this.slidesContainer.querySelectorAll(".gslide")[i], l = this.getSlidePlayerInstance(i), a.slideNode = h;
2309
2309
  }
2310
2310
  this.trigger("slide_inserted", {
2311
2311
  index: i,
@@ -2314,11 +2314,11 @@ class Re {
2314
2314
  slideConfig: e,
2315
2315
  slideIndex: i,
2316
2316
  trigger: null,
2317
- player: d
2317
+ player: l
2318
2318
  }), N(this.settings.slideInserted) && this.settings.slideInserted({
2319
2319
  index: i,
2320
2320
  slide: h,
2321
- player: d
2321
+ player: l
2322
2322
  });
2323
2323
  }
2324
2324
  /**
@@ -2357,7 +2357,7 @@ class Re {
2357
2357
  player: this.getSlidePlayerInstance(this.index)
2358
2358
  };
2359
2359
  if (s.offsetWidth > 0 && e && (Se(e), e.style.display = ""), wt(t, this.effectsClasses), i)
2360
- Qt(t, this.settings.cssEfects[this.settings.openEffect].in, () => {
2360
+ Gt(t, this.settings.cssEfects[this.settings.openEffect].in, () => {
2361
2361
  this.settings.autoplayVideos && this.slidePlayerPlay(t), this.trigger("slide_changed", {
2362
2362
  prev: a,
2363
2363
  current: r
@@ -2365,7 +2365,7 @@ class Re {
2365
2365
  });
2366
2366
  else {
2367
2367
  let n = this.settings.slideEffect, h = n !== "none" ? this.settings.cssEfects[n].in : n;
2368
- this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (h = this.settings.cssEfects.slideBack.in), Qt(t, h, () => {
2368
+ this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (h = this.settings.cssEfects.slideBack.in), Gt(t, h, () => {
2369
2369
  this.settings.autoplayVideos && this.slidePlayerPlay(t), this.trigger("slide_changed", {
2370
2370
  prev: a,
2371
2371
  current: r
@@ -2419,7 +2419,7 @@ class Re {
2419
2419
  slide: this.activeSlide,
2420
2420
  player: this.getSlidePlayerInstance(this.index)
2421
2421
  }
2422
- ]), this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (s = this.settings.cssEfects.slideBack.out), Qt(t, s, () => {
2422
+ ]), this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (s = this.settings.cssEfects.slideBack.out), Gt(t, s, () => {
2423
2423
  let e = t.querySelector(".ginner-container"), a = t.querySelector(".gslide-media"), r = t.querySelector(".gslide-description");
2424
2424
  e.style.transform = "", a.style.transform = "", wt(a, "greset"), a.style.opacity = "", r && (r.style.opacity = ""), wt(t, "prev");
2425
2425
  });
@@ -2448,7 +2448,7 @@ class Re {
2448
2448
  * @return void
2449
2449
  */
2450
2450
  stopSlideVideo(t) {
2451
- if (Rt(t)) {
2451
+ if ($t(t)) {
2452
2452
  let s = t.querySelector(".gvideo-wrapper");
2453
2453
  s && (t = s.getAttribute("data-index"));
2454
2454
  }
@@ -2463,7 +2463,7 @@ class Re {
2463
2463
  * @return void
2464
2464
  */
2465
2465
  slidePlayerPause(t) {
2466
- if (Rt(t)) {
2466
+ if ($t(t)) {
2467
2467
  let s = t.querySelector(".gvideo-wrapper");
2468
2468
  s && (t = s.getAttribute("data-index"));
2469
2469
  }
@@ -2478,7 +2478,7 @@ class Re {
2478
2478
  * @return void
2479
2479
  */
2480
2480
  playSlideVideo(t) {
2481
- if (Rt(t)) {
2481
+ if ($t(t)) {
2482
2482
  let s = t.querySelector(".gvideo-wrapper");
2483
2483
  s && (t = s.getAttribute("data-index"));
2484
2484
  }
@@ -2496,7 +2496,7 @@ class Re {
2496
2496
  slidePlayerPlay(t) {
2497
2497
  if (We && !this.settings.plyr.config?.muted)
2498
2498
  return;
2499
- if (Rt(t)) {
2499
+ if ($t(t)) {
2500
2500
  let s = t.querySelector(".gvideo-wrapper");
2501
2501
  s && (t = s.getAttribute("data-index"));
2502
2502
  }
@@ -2515,7 +2515,7 @@ class Re {
2515
2515
  this.settings.elements = !1;
2516
2516
  const i = [];
2517
2517
  t && t.length && at(t, (s, e) => {
2518
- const a = new pe(s, this, e), r = a.getConfig(), n = $t({}, r);
2518
+ const a = new pe(s, this, e), r = a.getConfig(), n = Rt({}, r);
2519
2519
  n.slideConfig = r, n.instance = a, n.index = e, i.push(n);
2520
2520
  }), this.elements = i, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (at(this.elements, () => {
2521
2521
  let s = Ut(this.settings.slideHTML);
@@ -2552,12 +2552,12 @@ class Re {
2552
2552
  getElements() {
2553
2553
  let t = [];
2554
2554
  this.elements = this.elements ? this.elements : [], !Nt(this.settings.elements) && Ue(this.settings.elements) && this.settings.elements.length && at(this.settings.elements, (e, a) => {
2555
- const r = new pe(e, this, a), n = r.getConfig(), h = $t({}, n);
2555
+ const r = new pe(e, this, a), n = r.getConfig(), h = Rt({}, n);
2556
2556
  h.node = !1, h.index = a, h.instance = r, h.slideConfig = n, t.push(h);
2557
2557
  });
2558
2558
  let i = !1;
2559
2559
  return this.getSelector() && (i = document.querySelectorAll(this.getSelector())), i && at(i, (e, a) => {
2560
- const r = new pe(e, this, a), n = r.getConfig(), h = $t({}, n);
2560
+ const r = new pe(e, this, a), n = r.getConfig(), h = Rt({}, n);
2561
2561
  h.node = e, h.index = a, h.instance = r, h.slideConfig = n, h.gallery = e.getAttribute("data-gallery"), t.push(h);
2562
2562
  }), t;
2563
2563
  }
@@ -2609,8 +2609,8 @@ class Re {
2609
2609
  if (this.built)
2610
2610
  return !1;
2611
2611
  const t = document.body.childNodes, i = [];
2612
- at(t, (d) => {
2613
- d.parentNode == document.body && d.nodeName.charAt(0) !== "#" && d.hasAttribute && !d.hasAttribute("aria-hidden") && (i.push(d), d.setAttribute("aria-hidden", "true"));
2612
+ at(t, (l) => {
2613
+ l.parentNode == document.body && l.nodeName.charAt(0) !== "#" && l.hasAttribute && !l.hasAttribute("aria-hidden") && (i.push(l), l.setAttribute("aria-hidden", "true"));
2614
2614
  });
2615
2615
  const s = xt(this.settings.svg, "next") ? this.settings.svg.next : "", e = xt(this.settings.svg, "prev") ? this.settings.svg.prev : "", a = xt(this.settings.svg, "close") ? this.settings.svg.close : "";
2616
2616
  let r = this.settings.lightboxHTML;
@@ -2620,27 +2620,27 @@ class Re {
2620
2620
  let h = n.querySelector(".gclose");
2621
2621
  this.prevButton = n.querySelector(".gprev"), this.nextButton = n.querySelector(".gnext"), this.overlay = n.querySelector(".goverlay"), this.loader = n.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = i, this.events = {}, Y(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && h && (this.events.close = Ht("click", {
2622
2622
  onElement: h,
2623
- withCallback: (d, c) => {
2624
- d.preventDefault(), this.close();
2623
+ withCallback: (l, c) => {
2624
+ l.preventDefault(), this.close();
2625
2625
  }
2626
2626
  })), h && !this.settings.closeButton && h.parentNode.removeChild(h), this.nextButton && (this.events.next = Ht("click", {
2627
2627
  onElement: this.nextButton,
2628
- withCallback: (d, c) => {
2629
- d.preventDefault(), this.nextSlide();
2628
+ withCallback: (l, c) => {
2629
+ l.preventDefault(), this.nextSlide();
2630
2630
  }
2631
2631
  })), this.prevButton && (this.events.prev = Ht("click", {
2632
2632
  onElement: this.prevButton,
2633
- withCallback: (d, c) => {
2634
- d.preventDefault(), this.prevSlide();
2633
+ withCallback: (l, c) => {
2634
+ l.preventDefault(), this.prevSlide();
2635
2635
  }
2636
2636
  })), this.settings.closeOnOutsideClick && (this.events.outClose = Ht("click", {
2637
2637
  onElement: n,
2638
- withCallback: (d, c) => {
2639
- !this.preventOutsideClick && !jt(document.body, "glightbox-mobile") && !Wt(d.target, ".ginner-container") && !Wt(d.target, ".gbtn") && !jt(d.target, "gnext") && !jt(d.target, "gprev") && this.close();
2638
+ withCallback: (l, c) => {
2639
+ !this.preventOutsideClick && !jt(document.body, "glightbox-mobile") && !Wt(l.target, ".ginner-container") && !Wt(l.target, ".gbtn") && !jt(l.target, "gnext") && !jt(l.target, "gprev") && this.close();
2640
2640
  }
2641
- })), at(this.elements, (d, c) => {
2642
- this.slidesContainer.appendChild(d.instance.create()), d.slideNode = this.slidesContainer.querySelectorAll(".gslide")[c];
2643
- }), $e && Y(document.body, "glightbox-touch"), this.events.resize = Ht("resize", {
2641
+ })), at(this.elements, (l, c) => {
2642
+ this.slidesContainer.appendChild(l.instance.create()), l.slideNode = this.slidesContainer.querySelectorAll(".gslide")[c];
2643
+ }), Re && Y(document.body, "glightbox-touch"), this.events.resize = Ht("resize", {
2644
2644
  onElement: window,
2645
2645
  withCallback: () => {
2646
2646
  this.resize();
@@ -2667,25 +2667,25 @@ class Re {
2667
2667
  if (r <= 768)
2668
2668
  e.querySelector("img");
2669
2669
  else if (h) {
2670
- let d = a.offsetHeight, c = e.querySelector("img");
2670
+ let l = a.offsetHeight, c = e.querySelector("img");
2671
2671
  const b = this.elements[this.index].node.getAttribute("data-height") ?? "100vh";
2672
- c.setAttribute("style", `max-height: calc(${b} - ${d}px)`), a.setAttribute("style", `max-width: ${c.offsetWidth}px;`);
2672
+ c.setAttribute("style", `max-height: calc(${b} - ${l}px)`), a.setAttribute("style", `max-width: ${c.offsetWidth}px;`);
2673
2673
  }
2674
2674
  }
2675
2675
  if (s) {
2676
- let d = xt(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2677
- if (!d) {
2678
- const S = s.clientWidth, T = s.clientHeight, K = S / T;
2679
- d = `${S / K}:${T / K}`;
2680
- }
2681
- let c = d.split(":"), f = this.settings.videosWidth, b = this.settings.videosWidth;
2682
- ve(f) || f.indexOf("px") !== -1 ? b = parseInt(f) : f.indexOf("vw") !== -1 ? b = r * parseInt(f) / 100 : f.indexOf("vh") !== -1 ? b = n * parseInt(f) / 100 : f.indexOf("%") !== -1 ? b = r * parseInt(f) / 100 : b = parseInt(s.clientWidth);
2683
- let _ = b / (parseInt(c[0]) / parseInt(c[1]));
2684
- if (_ = Math.floor(_), h && (n = n - a.offsetHeight), b > r || _ > n || n < _ && r > b) {
2685
- let S = s.offsetWidth, T = s.offsetHeight, K = n / T, ft = { width: S * K };
2676
+ let l = xt(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2677
+ if (!l) {
2678
+ const A = s.clientWidth, E = s.clientHeight, Q = A / E;
2679
+ l = `${A / Q}:${E / Q}`;
2680
+ }
2681
+ let c = l.split(":"), u = this.settings.videosWidth, b = this.settings.videosWidth;
2682
+ ve(u) || u.indexOf("px") !== -1 ? b = parseInt(u) : u.indexOf("vw") !== -1 ? b = r * parseInt(u) / 100 : u.indexOf("vh") !== -1 ? b = n * parseInt(u) / 100 : u.indexOf("%") !== -1 ? b = r * parseInt(u) / 100 : b = parseInt(s.clientWidth);
2683
+ let C = b / (parseInt(c[0]) / parseInt(c[1]));
2684
+ if (C = Math.floor(C), h && (n = n - a.offsetHeight), b > r || C > n || n < C && r > b) {
2685
+ let A = s.offsetWidth, E = s.offsetHeight, Q = n / E, ft = { width: A * Q };
2686
2686
  s.parentNode.setAttribute("style", `max-width: ${ft.width}px`), h && a.setAttribute("style", `max-width: ${ft.width}px;`);
2687
2687
  } else
2688
- s.parentNode.style.maxWidth = `${f}`, h && a.setAttribute("style", `max-width: ${f};`);
2688
+ s.parentNode.style.maxWidth = `${u}`, h && a.setAttribute("style", `max-width: ${u};`);
2689
2689
  }
2690
2690
  }
2691
2691
  /**
@@ -2727,7 +2727,7 @@ class Re {
2727
2727
  return !1;
2728
2728
  this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && at(this.bodyHiddenChildElms, (t) => {
2729
2729
  t.removeAttribute("aria-hidden");
2730
- }), Y(this.modal, "glightbox-closing"), Qt(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), Qt(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, () => {
2730
+ }), Y(this.modal, "glightbox-closing"), Gt(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), Gt(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, () => {
2731
2731
  if (this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null, this.built = !1, this.events) {
2732
2732
  for (let s in this.events)
2733
2733
  this.events.hasOwnProperty(s) && this.events[s].destroy();
@@ -2809,7 +2809,7 @@ class Ci {
2809
2809
  let r = 0, n = 0;
2810
2810
  const h = this._findScrollableAncestor(this.activeElement || document.activeElement);
2811
2811
  if (!h) return;
2812
- const d = h === document.body ? window.innerHeight : h.clientHeight;
2812
+ const l = h === document.body ? window.innerHeight : h.clientHeight;
2813
2813
  switch (t.code) {
2814
2814
  case "ArrowUp":
2815
2815
  n = -this.arrowScroll;
@@ -2818,20 +2818,20 @@ class Ci {
2818
2818
  n = this.arrowScroll;
2819
2819
  break;
2820
2820
  case "Space":
2821
- n = -(t.shiftKey ? 1 : -1) * d * 0.9;
2821
+ n = -(t.shiftKey ? 1 : -1) * l * 0.9;
2822
2822
  break;
2823
2823
  case "PageUp":
2824
- n = -d * 0.9;
2824
+ n = -l * 0.9;
2825
2825
  break;
2826
2826
  case "PageDown":
2827
- n = d * 0.9;
2827
+ n = l * 0.9;
2828
2828
  break;
2829
2829
  case "Home":
2830
2830
  n = -h.scrollTop;
2831
2831
  break;
2832
2832
  case "End":
2833
- const f = h.scrollHeight - h.scrollTop - d;
2834
- n = f > 0 ? f + 10 : 0;
2833
+ const u = h.scrollHeight - h.scrollTop - l;
2834
+ n = u > 0 ? u + 10 : 0;
2835
2835
  break;
2836
2836
  case "ArrowLeft":
2837
2837
  r = -this.arrowScroll;
@@ -2854,12 +2854,12 @@ class Ci {
2854
2854
  if (!a) return;
2855
2855
  const r = Math.sign(i), n = Math.sign(s);
2856
2856
  (r !== this.direction.x || n !== this.direction.y) && (this.direction = { x: r, y: n }, this.queue = [], this.lastScrollTime = 0);
2857
- const h = Date.now(), d = h - this.lastScrollTime;
2858
- if (d < this.accelerationDelta) {
2859
- const c = (1 + 50 / d) / 2;
2857
+ const h = Date.now(), l = h - this.lastScrollTime;
2858
+ if (l < this.accelerationDelta) {
2859
+ const c = (1 + 50 / l) / 2;
2860
2860
  if (c > 1) {
2861
- const f = Math.min(c, this.accelerationMax);
2862
- i *= f, s *= f;
2861
+ const u = Math.min(c, this.accelerationMax);
2862
+ i *= u, s *= u;
2863
2863
  }
2864
2864
  }
2865
2865
  this.lastScrollTime = h, this._enqueueScroll(a, i, s), t.preventDefault();
@@ -2881,8 +2881,8 @@ class Ci {
2881
2881
  const i = document.scrollingElement || document.documentElement;
2882
2882
  let s = t;
2883
2883
  for (; s && s !== document.body; ) {
2884
- const e = window.getComputedStyle(s), a = e.overflowY, r = e.overflowX, n = ["auto", "scroll"].includes(a), h = ["auto", "scroll"].includes(r), d = s.scrollHeight > s.clientHeight, c = s.scrollWidth > s.clientWidth;
2885
- if (n && d || h && c)
2884
+ const e = window.getComputedStyle(s), a = e.overflowY, r = e.overflowX, n = ["auto", "scroll"].includes(a), h = ["auto", "scroll"].includes(r), l = s.scrollHeight > s.clientHeight, c = s.scrollWidth > s.clientWidth;
2885
+ if (n && l || h && c)
2886
2886
  return s;
2887
2887
  if (s === i) return i;
2888
2888
  s = s.parentElement;
@@ -2908,8 +2908,8 @@ class Ci {
2908
2908
  const s = Date.now();
2909
2909
  let e = 0, a = 0;
2910
2910
  for (let n = this.queue.length - 1; n >= 0; n--) {
2911
- const h = this.queue[n], d = s - h.start, c = d >= this.animationTime, f = c ? 1 : d / this.animationTime, b = this._pulse(f), _ = h.x * b - h.lastX >> 0, S = h.y * b - h.lastY >> 0;
2912
- e += _, a += S, h.lastX += _, h.lastY += S, c && this.queue.splice(n, 1);
2911
+ const h = this.queue[n], l = s - h.start, c = l >= this.animationTime, u = c ? 1 : l / this.animationTime, b = this._pulse(u), C = h.x * b - h.lastX >> 0, A = h.y * b - h.lastY >> 0;
2912
+ e += C, a += A, h.lastX += C, h.lastY += A, c && this.queue.splice(n, 1);
2913
2913
  }
2914
2914
  if (t === document.scrollingElement || t === document.documentElement || t === document.body ? window.scrollBy(e, a) : (e && (t.scrollLeft += e), a && (t.scrollTop += a)), this.queue.length > 0)
2915
2915
  requestAnimationFrame(i);
@@ -2945,6 +2945,8 @@ class Li {
2945
2945
  // Simple on/off for external plugins
2946
2946
  trustedDomains: [],
2947
2947
  // Optional: whitelist specific domains
2948
+ onReInit: () => {
2949
+ },
2948
2950
  ...t
2949
2951
  }, this.plugins = /* @__PURE__ */ new Map(), this.loadedStyles = /* @__PURE__ */ new Set(), this.components = /* @__PURE__ */ new Map(), this.externalPlugins = /* @__PURE__ */ new Map();
2950
2952
  }
@@ -3030,14 +3032,14 @@ class Li {
3030
3032
  try {
3031
3033
  const r = this.parseOptions(i);
3032
3034
  let n = i.querySelector(".grid-sortable");
3033
- n || i.classList.contains("grid-sortable") && (n = i), n && Array.from(n.children).forEach((c, f) => {
3034
- c.nodeType === 1 && c.tagName !== "STYLE" && c.tagName !== "SCRIPT" && c.setAttribute("data-index", f);
3035
- }), i.querySelectorAll(".edit").forEach((c, f) => {
3036
- const b = `content-${Date.now()}-${s}-${f}`;
3035
+ n || i.classList.contains("grid-sortable") && (n = i), n && Array.from(n.children).forEach((c, u) => {
3036
+ c.nodeType === 1 && c.tagName !== "STYLE" && c.tagName !== "SCRIPT" && c.setAttribute("data-index", u);
3037
+ }), i.querySelectorAll(".edit").forEach((c, u) => {
3038
+ const b = `content-${Date.now()}-${s}-${u}`;
3037
3039
  c.setAttribute("data-edit-id", b);
3038
3040
  }), i.hasAttribute("data-cb-original-content") || i.setAttribute("data-cb-original-content", i.innerHTML);
3039
- const d = a.mount(i, r);
3040
- this.components.set(i, d), this.setupInlineEditing(i, r), i.setAttribute("data-cb-loaded", "true");
3041
+ const l = a.mount(i, r);
3042
+ this.components.set(i, l), this.setupInlineEditing(i, r), i.setAttribute("data-cb-loaded", "true"), typeof i.mount == "function" && i.mount();
3041
3043
  } catch (r) {
3042
3044
  console.error(`[PluginManager] Failed to mount component "${e}":`, r);
3043
3045
  }
@@ -3079,28 +3081,43 @@ class Li {
3079
3081
  const s = t.querySelectorAll(".edit[data-edit-id]");
3080
3082
  if (s.length === 0)
3081
3083
  return;
3082
- t.querySelectorAll('[contenteditable="true"]').forEach((r) => {
3083
- r.removeAttribute("contenteditable"), r._cbObserver && (r._cbObserver.disconnect(), delete r._cbObserver);
3084
+ t.querySelectorAll('.edit[contenteditable="true"]').forEach((r) => {
3085
+ r.removeAttribute("contenteditable"), r._cbObserver && (r._cbObserver.disconnect(), delete r._cbObserver), r._cbKeydownHandler && (r.removeEventListener("keydown", r._cbKeydownHandler), delete r._cbKeydownHandler);
3084
3086
  });
3085
3087
  const a = (r, n) => {
3086
3088
  const h = t.getAttribute("data-cb-original-content");
3087
3089
  if (!h) return;
3088
- const f = new DOMParser().parseFromString(h, "text/html").body;
3089
- if (!f) return;
3090
- const b = f.querySelector(`[data-edit-id="${r}"]`);
3091
- if (b) {
3092
- b.innerHTML = n;
3093
- const _ = f.innerHTML;
3094
- t.setAttribute("data-cb-original-content", _);
3090
+ const l = document.createElement("template");
3091
+ l.innerHTML = h.trim();
3092
+ const u = l.content.querySelector(`[data-edit-id="${r}"]`);
3093
+ if (u) {
3094
+ u.innerHTML = n;
3095
+ const b = l.innerHTML;
3096
+ t.setAttribute("data-cb-original-content", b);
3095
3097
  }
3096
3098
  };
3097
3099
  s.forEach((r) => {
3098
3100
  r.setAttribute("contenteditable", "true");
3099
- const n = new MutationObserver(() => {
3100
- const h = r.getAttribute("data-edit-id"), d = r.innerHTML;
3101
- a(h, d);
3101
+ const n = (c) => {
3102
+ var u = document.createRange();
3103
+ u.selectNodeContents(c);
3104
+ var b = window.getSelection();
3105
+ b.removeAllRanges(), b.addRange(u);
3106
+ }, h = (c) => {
3107
+ if ((c.ctrlKey || c.metaKey) && c.which === 65) {
3108
+ let u;
3109
+ try {
3110
+ window.getSelection ? u = window.getSelection().getRangeAt(0).commonAncestorContainer.parentNode : document.selection && (u = document.selection.createRange().parentElement()), n(u), c.preventDefault();
3111
+ } catch {
3112
+ }
3113
+ }
3114
+ };
3115
+ r.addEventListener("keydown", h), r._cbKeydownHandler = h;
3116
+ const l = new MutationObserver(() => {
3117
+ const c = r.getAttribute("data-edit-id"), u = r.innerHTML;
3118
+ a(c, u);
3102
3119
  });
3103
- n.observe(r, {
3120
+ l.observe(r, {
3104
3121
  childList: !0,
3105
3122
  // Child elements added/removed
3106
3123
  characterData: !0,
@@ -3111,7 +3128,7 @@ class Li {
3111
3128
  // Attribute changes
3112
3129
  attributeFilter: ["style"]
3113
3130
  // Specifically watch style (color picker)
3114
- }), r._cbObserver = n;
3131
+ }), r._cbObserver = l;
3115
3132
  });
3116
3133
  }
3117
3134
  /**
@@ -3164,7 +3181,7 @@ class Li {
3164
3181
  this.components.forEach((n, h) => {
3165
3182
  (t === document || t.contains(h)) && i.push({ element: h, instance: n });
3166
3183
  }), i.forEach(({ element: n, instance: h }) => {
3167
- const d = n.dataset.cbType, c = this.plugins.get(d);
3184
+ const l = n.dataset.cbType, c = this.plugins.get(l);
3168
3185
  c && typeof c.unmount == "function" && c.unmount(n, h), this.components.delete(n);
3169
3186
  });
3170
3187
  const e = this.detectComponentTypesInContainer(t).filter(
@@ -3176,24 +3193,29 @@ class Li {
3176
3193
  const a = t.querySelectorAll("[data-cb-type]");
3177
3194
  let r = 0;
3178
3195
  for (const n of a) {
3179
- const h = n.dataset.cbType, d = this.plugins.get(h);
3180
- if (d && typeof d.mount == "function")
3196
+ const h = n.dataset.cbType, l = this.plugins.get(h);
3197
+ if (l && typeof l.mount == "function")
3181
3198
  try {
3182
3199
  const c = this.parseOptions(n);
3183
- let f = n.querySelector(".grid-sortable");
3184
- f || n.classList.contains("grid-sortable") && (f = n), f && Array.from(f.children).forEach((S, T) => {
3185
- S.nodeType === 1 && S.tagName !== "STYLE" && S.tagName !== "SCRIPT" && S.setAttribute("data-index", T);
3186
- }), n.querySelectorAll(".edit").forEach((S, T) => {
3187
- const K = `content-${Date.now()}-${r}-${T}`;
3188
- S.setAttribute("data-edit-id", K);
3189
- }), n.hasAttribute("data-cb-original-content") ? n.innerHTML = n.getAttribute("data-cb-original-content") : n.setAttribute("data-cb-original-content", n.innerHTML);
3190
- const _ = await d.mount(n, c);
3191
- this.components.set(n, _), this.setupInlineEditing(n, c), n.setAttribute("data-cb-loaded", "true"), r++;
3200
+ let u = n.querySelector(".grid-sortable");
3201
+ if (u || n.classList.contains("grid-sortable") && (u = n), u && Array.from(u.children).forEach((A, E) => {
3202
+ A.nodeType === 1 && A.tagName !== "STYLE" && A.tagName !== "SCRIPT" && A.setAttribute("data-index", E);
3203
+ }), n.querySelectorAll(".edit").forEach((A, E) => {
3204
+ const Q = `content-${Date.now()}-${r}-${E}`;
3205
+ A.setAttribute("data-edit-id", Q);
3206
+ }), !n.hasAttribute("data-cb-original-content"))
3207
+ n.setAttribute("data-cb-original-content", n.innerHTML);
3208
+ else {
3209
+ let A = document.createRange();
3210
+ n.innerHTML = "", n.appendChild(A.createContextualFragment(n.getAttribute("data-cb-original-content")));
3211
+ }
3212
+ const C = await l.mount(n, c);
3213
+ this.components.set(n, C), this.setupInlineEditing(n, c), n.setAttribute("data-cb-loaded", "true"), typeof n.mount == "function" && n.mount(), r++;
3192
3214
  } catch (c) {
3193
3215
  console.error(`[PluginManager] Failed to mount component "${h}":`, c);
3194
3216
  }
3195
3217
  }
3196
- return this.emit("reinitialized", { container: t, count: r }), r;
3218
+ return typeof this.config.onReInit == "function" && this.config.onReInit(), this.emit("reinitialized", { container: t, count: r }), r;
3197
3219
  } finally {
3198
3220
  this.reinitializeInProgress = !1;
3199
3221
  }
@@ -3332,13 +3354,15 @@ class Li {
3332
3354
  * Destroy all components and plugins
3333
3355
  */
3334
3356
  destroy() {
3335
- this.components.forEach((i, s) => {
3336
- const e = s.dataset.cbType, a = this.plugins.get(e);
3337
- a && typeof a.unmount == "function" && a.unmount(s, i);
3338
- }), element.querySelectorAll('[contenteditable="true"]').forEach((i) => {
3339
- i.removeAttribute("contenteditable"), i._cbObserver && (i._cbObserver.disconnect(), delete i._cbObserver);
3340
- }), this.plugins.forEach((i, s) => {
3341
- typeof i.destroy == "function" && i.destroy(this);
3357
+ this.components.forEach((t, i) => {
3358
+ const s = i.dataset.cbType, e = this.plugins.get(s);
3359
+ e && typeof e.unmount == "function" && e.unmount(i, t);
3360
+ }), this.components.forEach((t, i) => {
3361
+ i.querySelectorAll('.edit[contenteditable="true"]').forEach((e) => {
3362
+ e.removeAttribute("contenteditable"), e._cbObserver && (e._cbObserver.disconnect(), delete e._cbObserver), e._cbKeydownHandler && (e.removeEventListener("keydown", e._cbKeydownHandler), delete e._cbKeydownHandler);
3363
+ });
3364
+ }), this.plugins.forEach((t, i) => {
3365
+ typeof t.destroy == "function" && t.destroy(this);
3342
3366
  }), this.components.clear(), this.plugins.clear();
3343
3367
  }
3344
3368
  /**
@@ -3380,7 +3404,10 @@ class Yi {
3380
3404
  autoLoad: this.settings.autoLoadPlugins,
3381
3405
  pluginBaseUrl: this.settings.pluginBaseUrl,
3382
3406
  allowExternalPlugins: this.settings.allowExternalPlugins,
3383
- trustedDomains: this.settings.trustedDomains
3407
+ trustedDomains: this.settings.trustedDomains,
3408
+ onReInit: () => {
3409
+ this.functionLightboxInit();
3410
+ }
3384
3411
  }), this.pluginManager.setRuntime(this), window.pageReRender = () => {
3385
3412
  this.pageReRender();
3386
3413
  };
@@ -3492,26 +3519,26 @@ class Yi {
3492
3519
  r.addEventListener("click", function(n) {
3493
3520
  let h = n.target.closest(".is-section");
3494
3521
  if (h) {
3495
- let d = i(h);
3496
- d && this.scrollIt(d, 1e3, "easeInQuad");
3522
+ let l = i(h);
3523
+ l && this.scrollIt(l, 1e3, "easeInQuad");
3497
3524
  }
3498
3525
  n.preventDefault(), n.stopImmediatePropagation();
3499
3526
  });
3500
3527
  }), t && (t.classList.contains("is-edit") || t.querySelectorAll("a").forEach((n) => {
3501
3528
  n.addEventListener("click", (h) => {
3502
- let d = n.getAttribute("href");
3503
- if (d && d.indexOf("#") === 0)
3504
- if (d.indexOf("#section") === 0) {
3505
- let c = d.replace("#section", "");
3529
+ let l = n.getAttribute("href");
3530
+ if (l && l.indexOf("#") === 0)
3531
+ if (l.indexOf("#section") === 0) {
3532
+ let c = l.replace("#section", "");
3506
3533
  if (!isNaN(parseInt(c))) {
3507
- let f = document.querySelectorAll(".is-section"), b, _ = 0;
3508
- f.forEach(function(S) {
3509
- S.classList.contains("is-section-navbar") || (_ === c - 1 && (b = S), _++);
3534
+ let u = document.querySelectorAll(".is-section"), b, C = 0;
3535
+ u.forEach(function(A) {
3536
+ A.classList.contains("is-section-navbar") || (C === c - 1 && (b = A), C++);
3510
3537
  }), b && this.scrollIt(b, 1e3, "easeInQuad"), h.preventDefault();
3511
3538
  }
3512
3539
  } else
3513
3540
  try {
3514
- let c = document.querySelector(d);
3541
+ let c = document.querySelector(l);
3515
3542
  c && (this.scrollIt(c, 1e3, "easeInQuad"), h.preventDefault());
3516
3543
  } catch {
3517
3544
  }
@@ -3524,8 +3551,8 @@ class Yi {
3524
3551
  r.classList.contains("once") ? (r.removeAttribute("data-scroll", ""), r.setAttribute("data-scroll-once", "")) : (r.removeAttribute("data-scroll-once", ""), r.setAttribute("data-scroll", ""));
3525
3552
  }), a = document.querySelectorAll(".is-container > div"), a.forEach(function(r) {
3526
3553
  let n = r.querySelectorAll(".is-animated[data-scroll],.is-animated[data-scroll-once]"), h = 0;
3527
- n.length > 1 && n.forEach(function(d) {
3528
- d.className.indexOf("delay-") === -1 && (h > 0 && (d.style.transitionDelay = h + "s", d.style.animationDelay = h + "s"), h = h + 0.2);
3554
+ n.length > 1 && n.forEach(function(l) {
3555
+ l.className.indexOf("delay-") === -1 && (h > 0 && (l.style.transitionDelay = h + "s", l.style.animationDelay = h + "s"), h = h + 0.2);
3529
3556
  });
3530
3557
  }), this.skrollrSetup(), this.adjustBgPos();
3531
3558
  }
@@ -3577,13 +3604,13 @@ class Yi {
3577
3604
  const e = window.self !== window.top;
3578
3605
  let a;
3579
3606
  e ? a = document.querySelectorAll(".is-wrapper .section-pin") : a = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), a.length > 0 && window.scrollTo(0, 0), a.forEach(function(n) {
3580
- s <= 970 && n.querySelector(".is-box") && (n.querySelectorAll(".is-box").forEach((d) => {
3607
+ s <= 970 && n.querySelector(".is-box") && (n.querySelectorAll(".is-box").forEach((l) => {
3581
3608
  const c = n.cloneNode(!1);
3582
- d.getAttributeNames().map((f) => {
3583
- f.indexOf("data-") !== -1 && c.setAttribute(f, d.getAttribute(f));
3584
- }), c.classList.add("is-box"), d.classList.forEach((f) => {
3585
- (f.indexOf("is-box-") !== -1 || f.indexOf("is-content-") !== -1 || f.indexOf("box-autofit") !== -1 || f.indexOf("is-light-text") !== -1 || f.indexOf("is-dark-text") !== -1 || f.indexOf("is-align-") !== -1 || f.indexOf("type-") !== -1 || f.indexOf("block-click") !== -1 || f.indexOf("hover-zoom") !== -1) && c.classList.add(f);
3586
- }), c.setAttribute("data-section-clone", ""), c.innerHTML = d.innerHTML, n.parentNode.insertBefore(c, n);
3609
+ l.getAttributeNames().map((u) => {
3610
+ u.indexOf("data-") !== -1 && c.setAttribute(u, l.getAttribute(u));
3611
+ }), c.classList.add("is-box"), l.classList.forEach((u) => {
3612
+ (u.indexOf("is-box-") !== -1 || u.indexOf("is-content-") !== -1 || u.indexOf("box-autofit") !== -1 || u.indexOf("is-light-text") !== -1 || u.indexOf("is-dark-text") !== -1 || u.indexOf("is-align-") !== -1 || u.indexOf("type-") !== -1 || u.indexOf("block-click") !== -1 || u.indexOf("hover-zoom") !== -1) && c.classList.add(u);
3613
+ }), c.setAttribute("data-section-clone", ""), c.innerHTML = l.innerHTML, n.parentNode.insertBefore(c, n);
3587
3614
  }), n.setAttribute("data-section-original", ""), n.style.display = "none");
3588
3615
  }), e ? a = document.querySelectorAll(".is-wrapper .section-pin") : a = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), a.forEach(function(n) {
3589
3616
  if (n.parentNode.closest(".section-wrap") || s <= 970 && n.hasAttribute("data-section-original")) return;
@@ -3591,11 +3618,11 @@ class Yi {
3591
3618
  h.classList.add("pin-wrap"), n.classList.contains("m-skrollrr-off") && h.classList.add("m-skrollrr-off"), n.classList.contains("pin-space-lg") && h.classList.add("pin-space-lg"), n.classList.contains("pin-space-xl") && h.classList.add("pin-space-xl"), n.classList.contains("xs-hidden") && h.classList.add("xs-hidden"), n.classList.contains("sm-hidden") && h.classList.add("sm-hidden"), n.classList.contains("desktop-hidden") && h.classList.add("desktop-hidden"), n.after(h), h.appendChild(n);
3592
3619
  });
3593
3620
  const r = (n) => {
3594
- document.querySelectorAll(".is-section").forEach((d) => {
3595
- const c = d.getBoundingClientRect().top;
3596
- let f, b;
3597
- d.parentNode.classList.contains("pin-wrap") ? (f = d.parentNode.nextElementSibling, b = d.parentNode.previousElementSibling) : (f = d.nextElementSibling, b = d.previousElementSibling), f && f.classList.contains("pin-wrap") && (f = f.querySelector(".is-section")), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), c <= 0 && ((d.classList.contains("no-spacing") || d.classList.contains("pin-overlap")) && d.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((S) => {
3598
- S !== d && S.classList.remove("section-inview");
3621
+ document.querySelectorAll(".is-section").forEach((l) => {
3622
+ const c = l.getBoundingClientRect().top;
3623
+ let u, b;
3624
+ l.parentNode.classList.contains("pin-wrap") ? (u = l.parentNode.nextElementSibling, b = l.parentNode.previousElementSibling) : (u = l.nextElementSibling, b = l.previousElementSibling), u && u.classList.contains("pin-wrap") && (u = u.querySelector(".is-section")), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), c <= 0 && ((l.classList.contains("no-spacing") || l.classList.contains("pin-overlap")) && l.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((A) => {
3625
+ A !== l && A.classList.remove("section-inview");
3599
3626
  }));
3600
3627
  });
3601
3628
  };
@@ -3711,7 +3738,7 @@ class Yi {
3711
3738
  });
3712
3739
  }
3713
3740
  refreshLightbox(t) {
3714
- this.glightbox && this.glightbox.destroy(), this.glightbox = new Re(t), window.GLightbox = Re.default;
3741
+ this.glightbox && this.glightbox.destroy(), this.glightbox = new $e(t), window.GLightbox = $e.default;
3715
3742
  }
3716
3743
  openLightbox(t, i, s) {
3717
3744
  let e = [], a = 0;
@@ -3720,11 +3747,11 @@ class Yi {
3720
3747
  let h = [];
3721
3748
  n ? h = n.querySelectorAll(".is-lightbox") : document.querySelectorAll(".is-lightbox,.block-click").forEach((c) => {
3722
3749
  c.closest("[data-gallery]") || h.push(c);
3723
- }), h.forEach((d, c) => {
3724
- let f = d.getAttribute("href");
3725
- f || (f = d.getAttribute("data-modal-url")), e.push({
3726
- href: f
3727
- }), t === f && (a = c);
3750
+ }), h.forEach((l, c) => {
3751
+ let u = l.getAttribute("href");
3752
+ u || (u = l.getAttribute("data-modal-url")), e.push({
3753
+ href: u
3754
+ }), t === u && (a = c);
3728
3755
  });
3729
3756
  }
3730
3757
  const r = document.activeElement;
@@ -3818,71 +3845,71 @@ class Yi {
3818
3845
  document.querySelectorAll(".is-box").forEach((r) => {
3819
3846
  let n = [];
3820
3847
  const h = r.attributes;
3821
- for (let d = 0; d < h.length; d++) {
3822
- let f = h[d].name.match(/^data--h-(\d+)$/);
3823
- if (f) {
3824
- const b = parseInt(f[1], 10);
3848
+ for (let l = 0; l < h.length; l++) {
3849
+ let u = h[l].name.match(/^data--h-(\d+)$/);
3850
+ if (u) {
3851
+ const b = parseInt(u[1], 10);
3825
3852
  n.push(b);
3826
3853
  }
3827
3854
  }
3828
- n = [...new Set(n)], n.sort((d, c) => c - d);
3829
- for (let d = 0; d < n.length; d++) {
3830
- const c = n[d];
3831
- if (d === 0) {
3855
+ n = [...new Set(n)], n.sort((l, c) => c - l);
3856
+ for (let l = 0; l < n.length; l++) {
3857
+ const c = n[l];
3858
+ if (l === 0) {
3832
3859
  if (a > c) {
3833
- let f = r.getAttribute("data--h");
3834
- f ? r.style.height = f : r.style.height = "";
3860
+ let u = r.getAttribute("data--h");
3861
+ u ? r.style.height = u : r.style.height = "";
3835
3862
  }
3836
3863
  } else {
3837
- const f = n[d - 1];
3838
- if (f >= a && a > c) {
3839
- let b = r.getAttribute("data--h-" + f);
3864
+ const u = n[l - 1];
3865
+ if (u >= a && a > c) {
3866
+ let b = r.getAttribute("data--h-" + u);
3840
3867
  b && (r.style.height = b);
3841
3868
  }
3842
3869
  }
3843
3870
  }
3844
3871
  if (n.length > 0 && n[n.length - 1] >= a) {
3845
3872
  const c = n[n.length - 1];
3846
- let f = r.getAttribute("data--h-" + c);
3847
- f && (r.style.height = f);
3873
+ let u = r.getAttribute("data--h-" + c);
3874
+ u && (r.style.height = u);
3848
3875
  }
3849
3876
  }), document.querySelectorAll(".is-block").forEach((r) => {
3850
3877
  if (!r.classList.contains("locked")) {
3851
3878
  r.offsetWidth + 0 > a && !r.classList.contains("fluid") && (r.setAttribute("data-fluid-val", r.offsetWidth), t.applyFluid(r, "yes"));
3852
- let d = r.getAttribute("data-fluid-val");
3853
- d && parseInt(d) + 0 <= a && r.classList.contains("fluid") && t.applyFluid(r, "no");
3879
+ let l = r.getAttribute("data-fluid-val");
3880
+ l && parseInt(l) + 0 <= a && r.classList.contains("fluid") && t.applyFluid(r, "no");
3854
3881
  }
3855
3882
  let n = [];
3856
3883
  const h = r.attributes;
3857
- for (let d = 0; d < h.length; d++) {
3858
- const c = h[d].name;
3859
- let f = c.match(/^data--t-(\d+)$/);
3860
- if (f) {
3861
- const b = parseInt(f[1], 10);
3884
+ for (let l = 0; l < h.length; l++) {
3885
+ const c = h[l].name;
3886
+ let u = c.match(/^data--t-(\d+)$/);
3887
+ if (u) {
3888
+ const b = parseInt(u[1], 10);
3862
3889
  n.push(b);
3863
3890
  }
3864
- if (f = c.match(/^data--w-(\d+)$/), f) {
3865
- const b = parseInt(f[1], 10);
3891
+ if (u = c.match(/^data--w-(\d+)$/), u) {
3892
+ const b = parseInt(u[1], 10);
3866
3893
  n.push(b);
3867
3894
  }
3868
- if (f = c.match(/^data--transform-(\d+)$/), f) {
3869
- const b = parseInt(f[1], 10);
3895
+ if (u = c.match(/^data--transform-(\d+)$/), u) {
3896
+ const b = parseInt(u[1], 10);
3870
3897
  n.push(b);
3871
3898
  }
3872
3899
  }
3873
- n = [...new Set(n)], n.sort((d, c) => c - d);
3874
- for (let d = 0; d < n.length; d++) {
3875
- const c = n[d];
3876
- if (d === 0)
3900
+ n = [...new Set(n)], n.sort((l, c) => c - l);
3901
+ for (let l = 0; l < n.length; l++) {
3902
+ const c = n[l];
3903
+ if (l === 0)
3877
3904
  a > c && t.apply(r, 1e4, e);
3878
3905
  else {
3879
- const f = n[d - 1];
3880
- f >= a && a > c && t.apply(r, f, e);
3906
+ const u = n[l - 1];
3907
+ u >= a && a > c && t.apply(r, u, e);
3881
3908
  }
3882
3909
  }
3883
3910
  if (n.length > 0) {
3884
- const d = n[n.length - 1];
3885
- d >= a && t.apply(r, d, e);
3911
+ const l = n[n.length - 1];
3912
+ l >= a && t.apply(r, l, e);
3886
3913
  }
3887
3914
  });
3888
3915
  },