@innovastudio/contentbox-runtime-base 1.0.1 → 1.0.2

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.
@@ -1,394 +1,394 @@
1
- var Ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function be(o) {
1
+ var Te = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function Ae(o) {
3
3
  return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
4
4
  }
5
- var fe = { exports: {} }, $e = fe.exports, je;
6
- function Fe() {
5
+ var fe = { exports: {} }, Be = fe.exports, je;
6
+ function Re() {
7
7
  return je || (je = 1, (function(o, e) {
8
8
  (function(i, s) {
9
9
  o.exports = s();
10
- })($e, function() {
11
- var i = typeof window < "u" ? window : typeof Ee < "u" ? Ee : typeof self < "u" ? self : {}, s = "Expected a function", t = NaN, n = "[object Symbol]", r = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, f = /^0b[01]+$/i, d = /^0o[0-7]+$/i, y = parseInt, b = typeof i == "object" && i && i.Object === Object && i, _ = typeof self == "object" && self && self.Object === Object && self, q = b || _ || Function("return this")(), P = Object.prototype.toString, M = Math.max, dt = Math.min, et = function() {
12
- return q.Date.now();
10
+ })(Be, function() {
11
+ var i = typeof window < "u" ? window : typeof Te < "u" ? Te : typeof self < "u" ? self : {}, s = "Expected a function", t = NaN, n = "[object Symbol]", r = /^\s+|\s+$/g, a = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, d = /^0o[0-7]+$/i, m = parseInt, b = typeof i == "object" && i && i.Object === Object && i, x = typeof self == "object" && self && self.Object === Object && self, L = b || x || Function("return this")(), M = Object.prototype.toString, Y = Math.max, et = Math.min, st = function() {
12
+ return L.Date.now();
13
13
  };
14
- function It(p, w, S) {
15
- var A, V, it, R, Y, K, z = 0, mt = !1, nt = !1, at = !0;
14
+ function Dt(p, v, A) {
15
+ var _, V, Z, U, k, G, P = 0, ft = !1, Q = !1, it = !0;
16
16
  if (typeof p != "function") throw new TypeError(s);
17
- function bt(N) {
18
- var ut = A, Et = V;
19
- return A = V = void 0, z = N, R = p.apply(Et, ut);
17
+ function gt(I) {
18
+ var K = _, pt = V;
19
+ return _ = V = void 0, P = I, U = p.apply(pt, K);
20
20
  }
21
- function Dt(N) {
22
- var ut = N - K;
23
- return K === void 0 || ut >= w || ut < 0 || nt && N - z >= it;
21
+ function Pt(I) {
22
+ var K = I - G;
23
+ return G === void 0 || K >= v || K < 0 || Q && I - P >= Z;
24
24
  }
25
- function Nt() {
26
- var N = et();
27
- if (Dt(N)) return Ht(N);
28
- Y = setTimeout(Nt, (function(ut) {
29
- var Et = w - (ut - K);
30
- return nt ? dt(Et, it - (ut - z)) : Et;
31
- })(N));
25
+ function Et() {
26
+ var I = st();
27
+ if (Pt(I)) return Ht(I);
28
+ k = setTimeout(Et, (function(K) {
29
+ var pt = v - (K - G);
30
+ return Q ? et(pt, Z - (K - P)) : pt;
31
+ })(I));
32
32
  }
33
- function Ht(N) {
34
- return Y = void 0, at && A ? bt(N) : (A = V = void 0, R);
33
+ function Ht(I) {
34
+ return k = void 0, it && _ ? gt(I) : (_ = V = void 0, U);
35
35
  }
36
- function St() {
37
- var N = et(), ut = Dt(N);
38
- if (A = arguments, V = this, K = N, ut) {
39
- if (Y === void 0) return (function(Et) {
40
- return z = Et, Y = setTimeout(Nt, w), mt ? bt(Et) : R;
41
- })(K);
42
- if (nt) return Y = setTimeout(Nt, w), bt(K);
36
+ function ot() {
37
+ var I = st(), K = Pt(I);
38
+ if (_ = arguments, V = this, G = I, K) {
39
+ if (k === void 0) return (function(pt) {
40
+ return P = pt, k = setTimeout(Et, v), ft ? gt(pt) : U;
41
+ })(G);
42
+ if (Q) return k = setTimeout(Et, v), gt(G);
43
43
  }
44
- return Y === void 0 && (Y = setTimeout(Nt, w)), R;
44
+ return k === void 0 && (k = setTimeout(Et, v)), U;
45
45
  }
46
- return w = jt(w) || 0, _t(S) && (mt = !!S.leading, it = (nt = "maxWait" in S) ? M(jt(S.maxWait) || 0, w) : it, at = "trailing" in S ? !!S.trailing : at), St.cancel = function() {
47
- Y !== void 0 && clearTimeout(Y), z = 0, A = K = V = Y = void 0;
48
- }, St.flush = function() {
49
- return Y === void 0 ? R : Ht(et());
50
- }, St;
46
+ return v = _t(v) || 0, St(A) && (ft = !!A.leading, Z = (Q = "maxWait" in A) ? Y(_t(A.maxWait) || 0, v) : Z, it = "trailing" in A ? !!A.trailing : it), ot.cancel = function() {
47
+ k !== void 0 && clearTimeout(k), P = 0, _ = G = V = k = void 0;
48
+ }, ot.flush = function() {
49
+ return k === void 0 ? U : Ht(st());
50
+ }, ot;
51
51
  }
52
- function _t(p) {
53
- var w = typeof p;
54
- return !!p && (w == "object" || w == "function");
52
+ function St(p) {
53
+ var v = typeof p;
54
+ return !!p && (v == "object" || v == "function");
55
55
  }
56
- function jt(p) {
56
+ function _t(p) {
57
57
  if (typeof p == "number") return p;
58
- if ((function(A) {
59
- return typeof A == "symbol" || /* @__PURE__ */ (function(V) {
58
+ if ((function(_) {
59
+ return typeof _ == "symbol" || /* @__PURE__ */ (function(V) {
60
60
  return !!V && typeof V == "object";
61
- })(A) && P.call(A) == n;
61
+ })(_) && M.call(_) == n;
62
62
  })(p)) return t;
63
- if (_t(p)) {
64
- var w = typeof p.valueOf == "function" ? p.valueOf() : p;
65
- p = _t(w) ? w + "" : w;
63
+ if (St(p)) {
64
+ var v = typeof p.valueOf == "function" ? p.valueOf() : p;
65
+ p = St(v) ? v + "" : v;
66
66
  }
67
67
  if (typeof p != "string") return p === 0 ? p : +p;
68
68
  p = p.replace(r, "");
69
- var S = f.test(p);
70
- return S || d.test(p) ? y(p.slice(2), S ? 2 : 8) : a.test(p) ? t : +p;
69
+ var A = u.test(p);
70
+ return A || d.test(p) ? m(p.slice(2), A ? 2 : 8) : a.test(p) ? t : +p;
71
71
  }
72
- var Ct = function(p, w, S) {
73
- var A = !0, V = !0;
72
+ var Tt = function(p, v, A) {
73
+ var _ = !0, V = !0;
74
74
  if (typeof p != "function") throw new TypeError(s);
75
- return _t(S) && (A = "leading" in S ? !!S.leading : A, V = "trailing" in S ? !!S.trailing : V), It(p, w, { leading: A, maxWait: w, trailing: V });
76
- }, l = "Expected a function", g = NaN, E = "[object Symbol]", L = /^\s+|\s+$/g, j = /^[-+]0x[0-9a-f]+$/i, D = /^0b[01]+$/i, st = /^0o[0-7]+$/i, T = parseInt, v = typeof i == "object" && i && i.Object === Object && i, c = typeof self == "object" && self && self.Object === Object && self, u = v || c || Function("return this")(), O = Object.prototype.toString, I = Math.max, C = Math.min, $ = function() {
77
- return u.Date.now();
75
+ return St(A) && (_ = "leading" in A ? !!A.leading : _, V = "trailing" in A ? !!A.trailing : V), Dt(p, v, { leading: _, maxWait: v, trailing: V });
76
+ }, l = "Expected a function", f = NaN, S = "[object Symbol]", E = /^\s+|\s+$/g, j = /^[-+]0x[0-9a-f]+$/i, q = /^0b[01]+$/i, J = /^0o[0-7]+$/i, O = parseInt, y = typeof i == "object" && i && i.Object === Object && i, h = typeof self == "object" && self && self.Object === Object && self, c = y || h || Function("return this")(), w = Object.prototype.toString, C = Math.max, T = Math.min, D = function() {
77
+ return c.Date.now();
78
78
  };
79
- function B(p) {
80
- var w = typeof p;
81
- return !!p && (w == "object" || w == "function");
79
+ function W(p) {
80
+ var v = typeof p;
81
+ return !!p && (v == "object" || v == "function");
82
82
  }
83
- function F(p) {
83
+ function B(p) {
84
84
  if (typeof p == "number") return p;
85
- if ((function(A) {
86
- return typeof A == "symbol" || /* @__PURE__ */ (function(V) {
85
+ if ((function(_) {
86
+ return typeof _ == "symbol" || /* @__PURE__ */ (function(V) {
87
87
  return !!V && typeof V == "object";
88
- })(A) && O.call(A) == E;
89
- })(p)) return g;
90
- if (B(p)) {
91
- var w = typeof p.valueOf == "function" ? p.valueOf() : p;
92
- p = B(w) ? w + "" : w;
88
+ })(_) && w.call(_) == S;
89
+ })(p)) return f;
90
+ if (W(p)) {
91
+ var v = typeof p.valueOf == "function" ? p.valueOf() : p;
92
+ p = W(v) ? v + "" : v;
93
93
  }
94
94
  if (typeof p != "string") return p === 0 ? p : +p;
95
- p = p.replace(L, "");
96
- var S = D.test(p);
97
- return S || st.test(p) ? T(p.slice(2), S ? 2 : 8) : j.test(p) ? g : +p;
95
+ p = p.replace(E, "");
96
+ var A = q.test(p);
97
+ return A || J.test(p) ? O(p.slice(2), A ? 2 : 8) : j.test(p) ? f : +p;
98
98
  }
99
- var ot = function(p, w, S) {
100
- var A, V, it, R, Y, K, z = 0, mt = !1, nt = !1, at = !0;
99
+ var jt = function(p, v, A) {
100
+ var _, V, Z, U, k, G, P = 0, ft = !1, Q = !1, it = !0;
101
101
  if (typeof p != "function") throw new TypeError(l);
102
- function bt(N) {
103
- var ut = A, Et = V;
104
- return A = V = void 0, z = N, R = p.apply(Et, ut);
102
+ function gt(I) {
103
+ var K = _, pt = V;
104
+ return _ = V = void 0, P = I, U = p.apply(pt, K);
105
105
  }
106
- function Dt(N) {
107
- var ut = N - K;
108
- return K === void 0 || ut >= w || ut < 0 || nt && N - z >= it;
106
+ function Pt(I) {
107
+ var K = I - G;
108
+ return G === void 0 || K >= v || K < 0 || Q && I - P >= Z;
109
109
  }
110
- function Nt() {
111
- var N = $();
112
- if (Dt(N)) return Ht(N);
113
- Y = setTimeout(Nt, (function(ut) {
114
- var Et = w - (ut - K);
115
- return nt ? C(Et, it - (ut - z)) : Et;
116
- })(N));
110
+ function Et() {
111
+ var I = D();
112
+ if (Pt(I)) return Ht(I);
113
+ k = setTimeout(Et, (function(K) {
114
+ var pt = v - (K - G);
115
+ return Q ? T(pt, Z - (K - P)) : pt;
116
+ })(I));
117
117
  }
118
- function Ht(N) {
119
- return Y = void 0, at && A ? bt(N) : (A = V = void 0, R);
118
+ function Ht(I) {
119
+ return k = void 0, it && _ ? gt(I) : (_ = V = void 0, U);
120
120
  }
121
- function St() {
122
- var N = $(), ut = Dt(N);
123
- if (A = arguments, V = this, K = N, ut) {
124
- if (Y === void 0) return (function(Et) {
125
- return z = Et, Y = setTimeout(Nt, w), mt ? bt(Et) : R;
126
- })(K);
127
- if (nt) return Y = setTimeout(Nt, w), bt(K);
121
+ function ot() {
122
+ var I = D(), K = Pt(I);
123
+ if (_ = arguments, V = this, G = I, K) {
124
+ if (k === void 0) return (function(pt) {
125
+ return P = pt, k = setTimeout(Et, v), ft ? gt(pt) : U;
126
+ })(G);
127
+ if (Q) return k = setTimeout(Et, v), gt(G);
128
128
  }
129
- return Y === void 0 && (Y = setTimeout(Nt, w)), R;
129
+ return k === void 0 && (k = setTimeout(Et, v)), U;
130
130
  }
131
- return w = F(w) || 0, B(S) && (mt = !!S.leading, it = (nt = "maxWait" in S) ? I(F(S.maxWait) || 0, w) : it, at = "trailing" in S ? !!S.trailing : at), St.cancel = function() {
132
- Y !== void 0 && clearTimeout(Y), z = 0, A = K = V = Y = void 0;
133
- }, St.flush = function() {
134
- return Y === void 0 ? R : Ht($());
135
- }, St;
136
- }, lt = function() {
131
+ return v = B(v) || 0, W(A) && (ft = !!A.leading, Z = (Q = "maxWait" in A) ? C(B(A.maxWait) || 0, v) : Z, it = "trailing" in A ? !!A.trailing : it), ot.cancel = function() {
132
+ k !== void 0 && clearTimeout(k), P = 0, _ = G = V = k = void 0;
133
+ }, ot.flush = function() {
134
+ return k === void 0 ? U : Ht(D());
135
+ }, ot;
136
+ }, tt = function() {
137
137
  };
138
- function G(p) {
139
- p && p.forEach(function(w) {
140
- var S = Array.prototype.slice.call(w.addedNodes), A = Array.prototype.slice.call(w.removedNodes);
141
- if ((function V(it) {
142
- var R = void 0, Y = void 0;
143
- for (R = 0; R < it.length; R += 1)
144
- if ((Y = it[R]).dataset && Y.dataset.aos || Y.children && V(Y.children)) return !0;
138
+ function X(p) {
139
+ p && p.forEach(function(v) {
140
+ var A = Array.prototype.slice.call(v.addedNodes), _ = Array.prototype.slice.call(v.removedNodes);
141
+ if ((function V(Z) {
142
+ var U = void 0, k = void 0;
143
+ for (U = 0; U < Z.length; U += 1)
144
+ if ((k = Z[U]).dataset && k.dataset.aos || k.children && V(k.children)) return !0;
145
145
  return !1;
146
- })(S.concat(A))) return lt();
146
+ })(A.concat(_))) return tt();
147
147
  });
148
148
  }
149
- function U() {
149
+ function R() {
150
150
  return window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
151
151
  }
152
- var ct = { isSupported: function() {
153
- return !!U();
154
- }, ready: function(p, w) {
155
- var S = window.document, A = new (U())(G);
156
- lt = w, A.observe(S.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
157
- } }, Vt = function(p, w) {
158
- if (!(p instanceof w)) throw new TypeError("Cannot call a class as a function");
159
- }, ft = /* @__PURE__ */ (function() {
160
- function p(w, S) {
161
- for (var A = 0; A < S.length; A++) {
162
- var V = S[A];
163
- V.enumerable = V.enumerable || !1, V.configurable = !0, "value" in V && (V.writable = !0), Object.defineProperty(w, V.key, V);
152
+ var dt = { isSupported: function() {
153
+ return !!R();
154
+ }, ready: function(p, v) {
155
+ var A = window.document, _ = new (R())(X);
156
+ tt = v, _.observe(A.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
157
+ } }, Ct = function(p, v) {
158
+ if (!(p instanceof v)) throw new TypeError("Cannot call a class as a function");
159
+ }, ht = /* @__PURE__ */ (function() {
160
+ function p(v, A) {
161
+ for (var _ = 0; _ < A.length; _++) {
162
+ var V = A[_];
163
+ V.enumerable = V.enumerable || !1, V.configurable = !0, "value" in V && (V.writable = !0), Object.defineProperty(v, V.key, V);
164
164
  }
165
165
  }
166
- return function(w, S, A) {
167
- return S && p(w.prototype, S), A && p(w, A), w;
166
+ return function(v, A, _) {
167
+ return A && p(v.prototype, A), _ && p(v, _), v;
168
168
  };
169
- })(), Tt = Object.assign || function(p) {
170
- for (var w = 1; w < arguments.length; w++) {
171
- var S = arguments[w];
172
- for (var A in S) Object.prototype.hasOwnProperty.call(S, A) && (p[A] = S[A]);
169
+ })(), At = Object.assign || function(p) {
170
+ for (var v = 1; v < arguments.length; v++) {
171
+ var A = arguments[v];
172
+ for (var _ in A) Object.prototype.hasOwnProperty.call(A, _) && (p[_] = A[_]);
173
173
  }
174
174
  return p;
175
- }, yt = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, J = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, vt = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, tt = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
176
- function ht() {
175
+ }, mt = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, $ = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, ct = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, nt = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
176
+ function at() {
177
177
  return navigator.userAgent || navigator.vendor || window.opera || "";
178
178
  }
179
- var gt = new ((function() {
179
+ var bt = new ((function() {
180
180
  function p() {
181
- Vt(this, p);
181
+ Ct(this, p);
182
182
  }
183
- return ft(p, [{ key: "phone", value: function() {
184
- var w = ht();
185
- return !(!yt.test(w) && !J.test(w.substr(0, 4)));
183
+ return ht(p, [{ key: "phone", value: function() {
184
+ var v = at();
185
+ return !(!mt.test(v) && !$.test(v.substr(0, 4)));
186
186
  } }, { key: "mobile", value: function() {
187
- var w = ht();
188
- return !(!vt.test(w) && !tt.test(w.substr(0, 4)));
187
+ var v = at();
188
+ return !(!ct.test(v) && !nt.test(v.substr(0, 4)));
189
189
  } }, { key: "tablet", value: function() {
190
190
  return this.mobile() && !this.phone();
191
191
  } }, { key: "ie11", value: function() {
192
192
  return "-ms-scroll-limit" in document.documentElement.style && "-ms-ime-align" in document.documentElement.style;
193
193
  } }]), p;
194
- })())(), wt = function(p, w) {
195
- var S = void 0;
196
- return gt.ie11() ? (S = document.createEvent("CustomEvent")).initCustomEvent(p, !0, !0, { detail: w }) : S = new CustomEvent(p, { detail: w }), document.dispatchEvent(S);
197
- }, pt = function(p) {
198
- return p.forEach(function(w, S) {
199
- return (function(A, V) {
200
- var it = A.options, R = A.position, Y = A.node, K = (A.data, function() {
201
- A.animated && ((function(z, mt) {
202
- mt && mt.forEach(function(nt) {
203
- return z.classList.remove(nt);
194
+ })())(), yt = function(p, v) {
195
+ var A = void 0;
196
+ return bt.ie11() ? (A = document.createEvent("CustomEvent")).initCustomEvent(p, !0, !0, { detail: v }) : A = new CustomEvent(p, { detail: v }), document.dispatchEvent(A);
197
+ }, rt = function(p) {
198
+ return p.forEach(function(v, A) {
199
+ return (function(_, V) {
200
+ var Z = _.options, U = _.position, k = _.node, G = (_.data, function() {
201
+ _.animated && ((function(P, ft) {
202
+ ft && ft.forEach(function(Q) {
203
+ return P.classList.remove(Q);
204
204
  });
205
- })(Y, it.animatedClassNames), wt("aos:out", Y), A.options.id && wt("aos:in:" + A.options.id, Y), A.animated = !1);
205
+ })(k, Z.animatedClassNames), yt("aos:out", k), _.options.id && yt("aos:in:" + _.options.id, k), _.animated = !1);
206
206
  });
207
- it.mirror && V >= R.out && !it.once ? K() : V >= R.in ? A.animated || ((function(z, mt) {
208
- mt && mt.forEach(function(nt) {
209
- return z.classList.add(nt);
207
+ Z.mirror && V >= U.out && !Z.once ? G() : V >= U.in ? _.animated || ((function(P, ft) {
208
+ ft && ft.forEach(function(Q) {
209
+ return P.classList.add(Q);
210
210
  });
211
- })(Y, it.animatedClassNames), wt("aos:in", Y), A.options.id && wt("aos:in:" + A.options.id, Y), A.animated = !0) : A.animated && !it.once && K();
212
- })(w, window.pageYOffset);
211
+ })(k, Z.animatedClassNames), yt("aos:in", k), _.options.id && yt("aos:in:" + _.options.id, k), _.animated = !0) : _.animated && !Z.once && G();
212
+ })(v, window.pageYOffset);
213
213
  });
214
- }, Ot = function(p) {
215
- for (var w = 0, S = 0; p && !isNaN(p.offsetLeft) && !isNaN(p.offsetTop); ) w += p.offsetLeft - (p.tagName != "BODY" ? p.scrollLeft : 0), S += p.offsetTop - (p.tagName != "BODY" ? p.scrollTop : 0), p = p.offsetParent;
216
- return { top: S, left: w };
217
- }, Q = function(p, w, S) {
218
- var A = p.getAttribute("data-aos-" + w);
219
- if (A !== void 0) {
220
- if (A === "true") return !0;
221
- if (A === "false") return !1;
214
+ }, vt = function(p) {
215
+ for (var v = 0, A = 0; p && !isNaN(p.offsetLeft) && !isNaN(p.offsetTop); ) v += p.offsetLeft - (p.tagName != "BODY" ? p.scrollLeft : 0), A += p.offsetTop - (p.tagName != "BODY" ? p.scrollTop : 0), p = p.offsetParent;
216
+ return { top: A, left: v };
217
+ }, H = function(p, v, A) {
218
+ var _ = p.getAttribute("data-aos-" + v);
219
+ if (_ !== void 0) {
220
+ if (_ === "true") return !0;
221
+ if (_ === "false") return !1;
222
222
  }
223
- return A || S;
224
- }, Yt = function(p, w) {
225
- return p.forEach(function(S, A) {
226
- var V = Q(S.node, "mirror", w.mirror), it = Q(S.node, "once", w.once), R = Q(S.node, "id"), Y = w.useClassNames && S.node.getAttribute("data-aos"), K = [w.animatedClassName].concat(Y ? Y.split(" ") : []).filter(function(z) {
227
- return typeof z == "string";
223
+ return _ || A;
224
+ }, kt = function(p, v) {
225
+ return p.forEach(function(A, _) {
226
+ var V = H(A.node, "mirror", v.mirror), Z = H(A.node, "once", v.once), U = H(A.node, "id"), k = v.useClassNames && A.node.getAttribute("data-aos"), G = [v.animatedClassName].concat(k ? k.split(" ") : []).filter(function(P) {
227
+ return typeof P == "string";
228
228
  });
229
- w.initClassName && S.node.classList.add(w.initClassName), S.position = { in: (function(z, mt, nt) {
230
- var at = window.innerHeight, bt = Q(z, "anchor"), Dt = Q(z, "anchor-placement"), Nt = Number(Q(z, "offset", Dt ? 0 : mt)), Ht = Dt || nt, St = z;
231
- bt && document.querySelectorAll(bt) && (St = document.querySelectorAll(bt)[0]);
232
- var N = Ot(St).top - at;
229
+ v.initClassName && A.node.classList.add(v.initClassName), A.position = { in: (function(P, ft, Q) {
230
+ var it = window.innerHeight, gt = H(P, "anchor"), Pt = H(P, "anchor-placement"), Et = Number(H(P, "offset", Pt ? 0 : ft)), Ht = Pt || Q, ot = P;
231
+ gt && document.querySelectorAll(gt) && (ot = document.querySelectorAll(gt)[0]);
232
+ var I = vt(ot).top - it;
233
233
  switch (Ht) {
234
234
  case "top-bottom":
235
235
  break;
236
236
  case "center-bottom":
237
- N += St.offsetHeight / 2;
237
+ I += ot.offsetHeight / 2;
238
238
  break;
239
239
  case "bottom-bottom":
240
- N += St.offsetHeight;
240
+ I += ot.offsetHeight;
241
241
  break;
242
242
  case "top-center":
243
- N += at / 2;
243
+ I += it / 2;
244
244
  break;
245
245
  case "center-center":
246
- N += at / 2 + St.offsetHeight / 2;
246
+ I += it / 2 + ot.offsetHeight / 2;
247
247
  break;
248
248
  case "bottom-center":
249
- N += at / 2 + St.offsetHeight;
249
+ I += it / 2 + ot.offsetHeight;
250
250
  break;
251
251
  case "top-top":
252
- N += at;
252
+ I += it;
253
253
  break;
254
254
  case "bottom-top":
255
- N += at + St.offsetHeight;
255
+ I += it + ot.offsetHeight;
256
256
  break;
257
257
  case "center-top":
258
- N += at + St.offsetHeight / 2;
258
+ I += it + ot.offsetHeight / 2;
259
259
  }
260
- return N + Nt;
261
- })(S.node, w.offset, w.anchorPlacement), out: V && (function(z, mt) {
262
- var nt = Q(z, "anchor"), at = Q(z, "offset", mt), bt = z;
263
- return nt && document.querySelectorAll(nt) && (bt = document.querySelectorAll(nt)[0]), Ot(bt).top + bt.offsetHeight - at;
264
- })(S.node, w.offset) }, S.options = { once: it, mirror: V, animatedClassNames: K, id: R };
260
+ return I + Et;
261
+ })(A.node, v.offset, v.anchorPlacement), out: V && (function(P, ft) {
262
+ var Q = H(P, "anchor"), it = H(P, "offset", ft), gt = P;
263
+ return Q && document.querySelectorAll(Q) && (gt = document.querySelectorAll(Q)[0]), vt(gt).top + gt.offsetHeight - it;
264
+ })(A.node, v.offset) }, A.options = { once: Z, mirror: V, animatedClassNames: G, id: U };
265
265
  }), p;
266
- }, Mt = function() {
266
+ }, Vt = function() {
267
267
  var p = document.querySelectorAll("[data-aos]");
268
- return Array.prototype.map.call(p, function(w) {
269
- return { node: w };
268
+ return Array.prototype.map.call(p, function(v) {
269
+ return { node: v };
270
270
  });
271
- }, xt = [], qt = !1, X = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, mirror: !1, anchorPlacement: "top-bottom", startEvent: "DOMContentLoaded", animatedClassName: "aos-animate", initClassName: "aos-init", useClassNames: !1, disableMutationObserver: !1, throttleDelay: 99, debounceDelay: 50 }, h = function() {
271
+ }, ut = [], Yt = !1, N = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, mirror: !1, anchorPlacement: "top-bottom", startEvent: "DOMContentLoaded", animatedClassName: "aos-animate", initClassName: "aos-init", useClassNames: !1, disableMutationObserver: !1, throttleDelay: 99, debounceDelay: 50 }, qt = function() {
272
272
  return document.all && !window.atob;
273
- }, x = function() {
274
- arguments.length > 0 && arguments[0] !== void 0 && arguments[0] && (qt = !0), qt && (xt = Yt(xt, X), pt(xt), window.addEventListener("scroll", Ct(function() {
275
- pt(xt, X.once);
276
- }, X.throttleDelay)));
277
- }, k = function() {
278
- if (xt = Mt(), W(X.disable) || h()) return H();
279
- x();
280
- }, H = function() {
281
- xt.forEach(function(p, w) {
282
- p.node.removeAttribute("data-aos"), p.node.removeAttribute("data-aos-easing"), p.node.removeAttribute("data-aos-duration"), p.node.removeAttribute("data-aos-delay"), X.initClassName && p.node.classList.remove(X.initClassName), X.animatedClassName && p.node.classList.remove(X.animatedClassName);
273
+ }, wt = function() {
274
+ arguments.length > 0 && arguments[0] !== void 0 && arguments[0] && (Yt = !0), Yt && (ut = kt(ut, N), rt(ut), window.addEventListener("scroll", Tt(function() {
275
+ rt(ut, N.once);
276
+ }, N.throttleDelay)));
277
+ }, Mt = function() {
278
+ if (ut = Vt(), zt(N.disable) || qt()) return Nt();
279
+ wt();
280
+ }, Nt = function() {
281
+ ut.forEach(function(p, v) {
282
+ p.node.removeAttribute("data-aos"), p.node.removeAttribute("data-aos-easing"), p.node.removeAttribute("data-aos-duration"), p.node.removeAttribute("data-aos-delay"), N.initClassName && p.node.classList.remove(N.initClassName), N.animatedClassName && p.node.classList.remove(N.animatedClassName);
283
283
  });
284
- }, W = function(p) {
285
- return p === !0 || p === "mobile" && gt.mobile() || p === "phone" && gt.phone() || p === "tablet" && gt.tablet() || typeof p == "function" && p() === !0;
284
+ }, zt = function(p) {
285
+ return p === !0 || p === "mobile" && bt.mobile() || p === "phone" && bt.phone() || p === "tablet" && bt.tablet() || typeof p == "function" && p() === !0;
286
286
  };
287
287
  return { init: function(p) {
288
- return X = Tt(X, p), xt = Mt(), X.disableMutationObserver || ct.isSupported() || (console.info(`
288
+ return N = At(N, p), ut = Vt(), N.disableMutationObserver || dt.isSupported() || (console.info(`
289
289
  aos: MutationObserver is not supported on this browser,
290
290
  code mutations observing has been disabled.
291
291
  You may have to call "refreshHard()" by yourself.
292
- `), X.disableMutationObserver = !0), X.disableMutationObserver || ct.ready("[data-aos]", k), W(X.disable) || h() ? H() : (document.querySelector("body").setAttribute("data-aos-easing", X.easing), document.querySelector("body").setAttribute("data-aos-duration", X.duration), document.querySelector("body").setAttribute("data-aos-delay", X.delay), ["DOMContentLoaded", "load"].indexOf(X.startEvent) === -1 ? document.addEventListener(X.startEvent, function() {
293
- x(!0);
292
+ `), N.disableMutationObserver = !0), N.disableMutationObserver || dt.ready("[data-aos]", Mt), zt(N.disable) || qt() ? Nt() : (document.querySelector("body").setAttribute("data-aos-easing", N.easing), document.querySelector("body").setAttribute("data-aos-duration", N.duration), document.querySelector("body").setAttribute("data-aos-delay", N.delay), ["DOMContentLoaded", "load"].indexOf(N.startEvent) === -1 ? document.addEventListener(N.startEvent, function() {
293
+ wt(!0);
294
294
  }) : window.addEventListener("load", function() {
295
- x(!0);
296
- }), X.startEvent === "DOMContentLoaded" && ["complete", "interactive"].indexOf(document.readyState) > -1 && x(!0), window.addEventListener("resize", ot(x, X.debounceDelay, !0)), window.addEventListener("orientationchange", ot(x, X.debounceDelay, !0)), xt);
297
- }, refresh: x, refreshHard: k };
295
+ wt(!0);
296
+ }), N.startEvent === "DOMContentLoaded" && ["complete", "interactive"].indexOf(document.readyState) > -1 && wt(!0), window.addEventListener("resize", jt(wt, N.debounceDelay, !0)), window.addEventListener("orientationchange", jt(wt, N.debounceDelay, !0)), ut);
297
+ }, refresh: wt, refreshHard: Mt };
298
298
  });
299
299
  })(fe)), fe.exports;
300
300
  }
301
- var Ue = Fe();
302
- const Ze = /* @__PURE__ */ be(Ue);
303
- var ye = { exports: {} }, Ce;
304
- function Ge() {
305
- return Ce || (Ce = 1, (function(o) {
306
- function e(d, y) {
307
- if (!(d instanceof y)) throw new TypeError("Cannot call a class as a function");
301
+ var $e = Re();
302
+ const Fe = /* @__PURE__ */ Ae($e);
303
+ var be = { exports: {} }, Ee;
304
+ function Ue() {
305
+ return Ee || (Ee = 1, (function(o) {
306
+ function e(d, m) {
307
+ if (!(d instanceof m)) throw new TypeError("Cannot call a class as a function");
308
308
  }
309
- function i(d, y, b) {
310
- return y in d ? Object.defineProperty(d, y, { value: b, enumerable: !0, configurable: !0, writable: !0 }) : d[y] = b, d;
309
+ function i(d, m, b) {
310
+ return m in d ? Object.defineProperty(d, m, { value: b, enumerable: !0, configurable: !0, writable: !0 }) : d[m] = b, d;
311
311
  }
312
- function s(d, y) {
313
- return f(d) || a(d, y) || n(d, y) || t();
312
+ function s(d, m) {
313
+ return u(d) || a(d, m) || n(d, m) || t();
314
314
  }
315
315
  function t() {
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 n(d, y) {
319
+ function n(d, m) {
320
320
  if (d) {
321
- if (typeof d == "string") return r(d, y);
321
+ if (typeof d == "string") return r(d, m);
322
322
  var b = Object.prototype.toString.call(d).slice(8, -1);
323
- return b === "Object" && d.constructor && (b = d.constructor.name), b === "Map" || b === "Set" ? Array.from(d) : b === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b) ? r(d, y) : void 0;
323
+ return b === "Object" && d.constructor && (b = d.constructor.name), b === "Map" || b === "Set" ? Array.from(d) : b === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b) ? r(d, m) : void 0;
324
324
  }
325
325
  }
326
- function r(d, y) {
327
- (y == null || y > d.length) && (y = d.length);
328
- for (var b = 0, _ = new Array(y); b < y; b++) _[b] = d[b];
329
- return _;
326
+ function r(d, m) {
327
+ (m == null || m > d.length) && (m = d.length);
328
+ for (var b = 0, x = new Array(m); b < m; b++) x[b] = d[b];
329
+ return x;
330
330
  }
331
- function a(d, y) {
331
+ function a(d, m) {
332
332
  if (typeof Symbol < "u" && Symbol.iterator in Object(d)) {
333
- var b = [], _ = !0, q = !1, P = void 0;
333
+ var b = [], x = !0, L = !1, M = void 0;
334
334
  try {
335
- for (var M, dt = d[Symbol.iterator](); !(_ = (M = dt.next()).done) && (b.push(M.value), !y || b.length !== y); _ = !0) ;
336
- } catch (et) {
337
- q = !0, P = et;
335
+ for (var Y, et = d[Symbol.iterator](); !(x = (Y = et.next()).done) && (b.push(Y.value), !m || b.length !== m); x = !0) ;
336
+ } catch (st) {
337
+ L = !0, M = st;
338
338
  } finally {
339
339
  try {
340
- _ || dt.return == null || dt.return();
340
+ x || et.return == null || et.return();
341
341
  } finally {
342
- if (q) throw P;
342
+ if (L) throw M;
343
343
  }
344
344
  }
345
345
  return b;
346
346
  }
347
347
  }
348
- function f(d) {
348
+ function u(d) {
349
349
  if (Array.isArray(d)) return d;
350
350
  }
351
351
  (function() {
352
352
  function d(l) {
353
353
  return ["elInY+elHeight", "elCenterY-".concat(l = 0 < arguments.length && l !== void 0 ? l : 30), "elCenterY", "elCenterY+".concat(l), "elOutY-elHeight"];
354
354
  }
355
- var y, b, _, q, P, M, dt = { fadeInOut: function(l, g) {
356
- return g = 1 < arguments.length && g !== void 0 ? g : 0, { opacity: [d(0 < arguments.length && l !== void 0 ? l : 30), [g, 1, 1, 1, g]] };
357
- }, fadeIn: function(l, g) {
358
- return { opacity: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && g !== void 0 ? g : 0, 1]] };
359
- }, fadeOut: function(l, g) {
360
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && g !== void 0 ? g : 0]] };
361
- }, blurInOut: function(l, g) {
362
- return g = 1 < arguments.length && g !== void 0 ? g : 20, { blur: [d(0 < arguments.length && l !== void 0 ? l : 100), [g, 0, 0, 0, g]] };
363
- }, blurIn: function(l, g) {
364
- return { blur: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && g !== void 0 ? g : 20, 0]] };
365
- }, blurOut: function(l, g) {
366
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && g !== void 0 ? g : 20]] };
367
- }, scaleInOut: function(l, g) {
368
- return g = 1 < arguments.length && g !== void 0 ? g : 0.6, { scale: [d(0 < arguments.length && l !== void 0 ? l : 100), [g, 1, 1, 1, g]] };
369
- }, scaleIn: function(l, g) {
370
- return { scale: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && g !== void 0 ? g : 0.6, 1]] };
371
- }, scaleOut: function(l, g) {
372
- return { scale: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && g !== void 0 ? g : 0.6]] };
373
- }, slideX: function(l, g) {
374
- return { translateX: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && g !== void 0 ? g : 500]] };
375
- }, slideY: function(l, g) {
376
- return { translateY: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && g !== void 0 ? g : 500]] };
377
- }, spin: function(l, g) {
378
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotate: [[0, l], [0, 1 < arguments.length && g !== void 0 ? g : 360], { modValue: l }] };
379
- }, flipX: function(l, g) {
380
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateX: [[0, l], [0, 1 < arguments.length && g !== void 0 ? g : 360], { modValue: l }] };
381
- }, flipY: function(l, g) {
382
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateY: [[0, l], [0, 1 < arguments.length && g !== void 0 ? g : 360], { modValue: l }] };
383
- }, jiggle: function(l, g) {
384
- return l = 0 < arguments.length && l !== void 0 ? l : 50, g = 1 < arguments.length && g !== void 0 ? g : 40, { skewX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, g, 0, -g, 0], { modValue: 4 * l }] };
385
- }, seesaw: function(l, g) {
386
- return l = 0 < arguments.length && l !== void 0 ? l : 50, g = 1 < arguments.length && g !== void 0 ? g : 40, { skewY: [[0, +l, 2 * l, 3 * l, 4 * l], [0, g, 0, -g, 0], { modValue: 4 * l }] };
387
- }, zigzag: function(l, g) {
388
- return l = 0 < arguments.length && l !== void 0 ? l : 100, g = 1 < arguments.length && g !== void 0 ? g : 100, { translateX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, g, 0, -g, 0], { modValue: 4 * l }] };
389
- }, hueRotate: function(l, g) {
390
- return l = 0 < arguments.length && l !== void 0 ? l : 600, { "hue-rotate": [[0, l], [0, 1 < arguments.length && g !== void 0 ? g : 360], { modValue: l }] };
391
- } }, et = (y = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], b = ["blur", "hue-rotate", "brightness"], _ = ["translateX", "translateY", "translateZ"], q = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], P = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], M = { easeInQuad: function(l) {
355
+ var m, b, x, L, M, Y, et = { fadeInOut: function(l, f) {
356
+ return f = 1 < arguments.length && f !== void 0 ? f : 0, { opacity: [d(0 < arguments.length && l !== void 0 ? l : 30), [f, 1, 1, 1, f]] };
357
+ }, fadeIn: function(l, f) {
358
+ return { opacity: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 0, 1]] };
359
+ }, fadeOut: function(l, f) {
360
+ return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && f !== void 0 ? f : 0]] };
361
+ }, blurInOut: function(l, f) {
362
+ return f = 1 < arguments.length && f !== void 0 ? f : 20, { blur: [d(0 < arguments.length && l !== void 0 ? l : 100), [f, 0, 0, 0, f]] };
363
+ }, blurIn: function(l, f) {
364
+ return { blur: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 20, 0]] };
365
+ }, blurOut: function(l, f) {
366
+ return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && f !== void 0 ? f : 20]] };
367
+ }, scaleInOut: function(l, f) {
368
+ return f = 1 < arguments.length && f !== void 0 ? f : 0.6, { scale: [d(0 < arguments.length && l !== void 0 ? l : 100), [f, 1, 1, 1, f]] };
369
+ }, scaleIn: function(l, f) {
370
+ return { scale: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && f !== void 0 ? f : 0.6, 1]] };
371
+ }, scaleOut: function(l, f) {
372
+ return { scale: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && f !== void 0 ? f : 0.6]] };
373
+ }, slideX: function(l, f) {
374
+ return { translateX: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && f !== void 0 ? f : 500]] };
375
+ }, slideY: function(l, f) {
376
+ return { translateY: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && f !== void 0 ? f : 500]] };
377
+ }, spin: function(l, f) {
378
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotate: [[0, l], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: l }] };
379
+ }, flipX: function(l, f) {
380
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateX: [[0, l], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: l }] };
381
+ }, flipY: function(l, f) {
382
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateY: [[0, l], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: l }] };
383
+ }, jiggle: function(l, f) {
384
+ return l = 0 < arguments.length && l !== void 0 ? l : 50, f = 1 < arguments.length && f !== void 0 ? f : 40, { skewX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, f, 0, -f, 0], { modValue: 4 * l }] };
385
+ }, seesaw: function(l, f) {
386
+ return l = 0 < arguments.length && l !== void 0 ? l : 50, f = 1 < arguments.length && f !== void 0 ? f : 40, { skewY: [[0, +l, 2 * l, 3 * l, 4 * l], [0, f, 0, -f, 0], { modValue: 4 * l }] };
387
+ }, zigzag: function(l, f) {
388
+ return l = 0 < arguments.length && l !== void 0 ? l : 100, f = 1 < arguments.length && f !== void 0 ? f : 100, { translateX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, f, 0, -f, 0], { modValue: 4 * l }] };
389
+ }, hueRotate: function(l, f) {
390
+ return l = 0 < arguments.length && l !== void 0 ? l : 600, { "hue-rotate": [[0, l], [0, 1 < arguments.length && f !== void 0 ? f : 360], { modValue: l }] };
391
+ } }, st = (m = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], b = ["blur", "hue-rotate", "brightness"], x = ["translateX", "translateY", "translateZ"], L = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], M = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], Y = { easeInQuad: function(l) {
392
392
  return l * l;
393
393
  }, easeOutQuad: function(l) {
394
394
  return l * (2 - l);
@@ -413,158 +413,158 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
413
413
  }, easeInOutQuint: function(l) {
414
414
  return l < 0.5 ? 16 * l * l * l * l * l : 1 + 16 * --l * l * l * l * l;
415
415
  }, easeOutBounce: function(l) {
416
- var g = 7.5625, E = 2.75;
417
- return l < 1 / E ? g * l * l : l < 2 / E ? g * (l -= 1.5 / E) * l + 0.75 : l < 2.5 / E ? g * (l -= 2.25 / E) * l + 0.9375 : g * (l -= 2.625 / E) * l + 0.984375;
416
+ var f = 7.5625, S = 2.75;
417
+ return l < 1 / S ? f * l * l : l < 2 / S ? f * (l -= 1.5 / S) * l + 0.75 : l < 2.5 / S ? f * (l -= 2.25 / S) * l + 0.9375 : f * (l -= 2.625 / S) * l + 0.984375;
418
418
  }, easeInBounce: function(l) {
419
- return 1 - M.easeOutBounce(1 - l);
419
+ return 1 - Y.easeOutBounce(1 - l);
420
420
  }, easeOutBack: function(l) {
421
421
  return 1 + 2.70158 * Math.pow(l - 1, 3) + 1.70158 * Math.pow(l - 1, 2);
422
422
  }, easeInBack: function(l) {
423
423
  return 2.70158 * l * l * l - 1.70158 * l * l;
424
424
  } }, new function l() {
425
- var g = this;
426
- e(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", dt), i(this, "debugData", { frameLengths: [] }), i(this, "init", function() {
427
- g.findAndAddElements(), window.requestAnimationFrame(g.onAnimationFrame), g.windowWidth = document.body.clientWidth, g.windowHeight = document.body.clientHeight, window.onresize = g.onWindowResize;
425
+ var f = this;
426
+ e(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", et), 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 === g.windowWidth && document.body.clientHeight === g.windowHeight || (g.windowWidth = document.body.clientWidth, g.windowHeight = document.body.clientHeight, g.elements.forEach(function(E) {
430
- return E.calculateTransforms();
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(S) {
430
+ return S.calculateTransforms();
431
431
  }));
432
- }), i(this, "onAnimationFrame", function(E) {
433
- g.debug && (g.debugData.frameStart = Date.now());
434
- var L, j = {};
435
- g.drivers.forEach(function(D) {
436
- j[D.name] = D.getValue(g.frame);
437
- }), g.elements.forEach(function(D) {
438
- D.update(j, g.frame);
439
- }), g.debug && g.debugData.frameLengths.push(Date.now() - g.debugData.frameStart), g.frame % 60 == 0 && g.debug && (L = Math.ceil(g.debugData.frameLengths.reduce(function(D, st) {
440
- return D + st;
441
- }, 0) / 60), console.log("Average frame calculation time: ".concat(L, "ms")), g.debugData.frameLengths = []), g.frame++, window.requestAnimationFrame(g.onAnimationFrame);
442
- }), i(this, "addDriver", function(E, L) {
432
+ }), i(this, "onAnimationFrame", function(S) {
433
+ f.debug && (f.debugData.frameStart = Date.now());
434
+ var E, j = {};
435
+ f.drivers.forEach(function(q) {
436
+ j[q.name] = q.getValue(f.frame);
437
+ }), f.elements.forEach(function(q) {
438
+ q.update(j, f.frame);
439
+ }), f.debug && f.debugData.frameLengths.push(Date.now() - f.debugData.frameStart), f.frame % 60 == 0 && f.debug && (E = Math.ceil(f.debugData.frameLengths.reduce(function(q, J) {
440
+ return q + J;
441
+ }, 0) / 60), console.log("Average frame calculation time: ".concat(E, "ms")), f.debugData.frameLengths = []), f.frame++, window.requestAnimationFrame(f.onAnimationFrame);
442
+ }), i(this, "addDriver", function(S, E) {
443
443
  var j = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
444
- g.drivers.push(new jt(E, L, j));
445
- }), i(this, "removeDriver", function(E) {
446
- g.drivers = g.drivers.filter(function(L) {
447
- return L.name !== E;
444
+ f.drivers.push(new _t(S, E, j));
445
+ }), i(this, "removeDriver", function(S) {
446
+ f.drivers = f.drivers.filter(function(E) {
447
+ return E.name !== S;
448
448
  });
449
449
  }), i(this, "findAndAddElements", function() {
450
- g.elements = [], document.querySelectorAll(".lax").forEach(function(E) {
451
- var L = [];
452
- E.classList.forEach(function(D) {
453
- D.includes("lax_preset") && (D = D.replace("lax_preset_", ""), L.push(D));
450
+ f.elements = [], document.querySelectorAll(".lax").forEach(function(S) {
451
+ var E = [];
452
+ S.classList.forEach(function(q) {
453
+ q.includes("lax_preset") && (q = q.replace("lax_preset_", ""), E.push(q));
454
454
  });
455
- var j = i({}, "scrollY", { presets: L });
456
- g.elements.push(new Ct(".lax", g, E, j, 0, {}));
455
+ var j = i({}, "scrollY", { presets: E });
456
+ f.elements.push(new Tt(".lax", f, S, j, 0, {}));
457
457
  });
458
- }), i(this, "addElements", function(E, L, j) {
459
- document.querySelectorAll(E).forEach(function(D, st) {
460
- g.elements.push(new Ct(E, g, D, L, st, j));
458
+ }), i(this, "addElements", function(S, E, j) {
459
+ document.querySelectorAll(S).forEach(function(q, J) {
460
+ f.elements.push(new Tt(S, f, q, E, J, j));
461
461
  });
462
- }), i(this, "removeElements", function(E) {
463
- g.elements = g.elements.filter(function(L) {
464
- return L.selector !== E;
462
+ }), i(this, "removeElements", function(S) {
463
+ f.elements = f.elements.filter(function(E) {
464
+ return E.selector !== S;
465
465
  });
466
- }), i(this, "addElement", function(E, L, j) {
467
- g.elements.push(new Ct("", g, E, L, 0, j));
468
- }), i(this, "removeElement", function(E) {
469
- g.elements = g.elements.filter(function(L) {
470
- return L.domElement !== E;
466
+ }), i(this, "addElement", function(S, E, j) {
467
+ f.elements.push(new Tt("", f, S, E, 0, j));
468
+ }), i(this, "removeElement", function(S) {
469
+ f.elements = f.elements.filter(function(E) {
470
+ return E.domElement !== S;
471
471
  });
472
472
  });
473
473
  }());
474
- function It(l, g) {
474
+ function Dt(l, f) {
475
475
  if (Array.isArray(l)) return l;
476
- for (var E = Object.keys(l).map(function(st) {
477
- return parseInt(st);
478
- }).sort(function(st, T) {
479
- return T < st ? 1 : -1;
480
- }), L = E[E.length - 1], j = 0; j < E.length; j++) {
481
- var D = E[j];
482
- if (g < D) {
483
- L = D;
476
+ for (var S = Object.keys(l).map(function(J) {
477
+ return parseInt(J);
478
+ }).sort(function(J, O) {
479
+ return O < J ? 1 : -1;
480
+ }), E = S[S.length - 1], j = 0; j < S.length; j++) {
481
+ var q = S[j];
482
+ if (f < q) {
483
+ E = q;
484
484
  break;
485
485
  }
486
486
  }
487
- return l[L];
487
+ return l[E];
488
488
  }
489
- function _t(l, C, E) {
490
- var L = C.width, j = C.height, u = C.x, I = C.y;
489
+ function St(l, T, S) {
490
+ var E = T.width, j = T.height, c = T.x, C = T.y;
491
491
  if (typeof l == "number") return l;
492
- var D, st = document.body.scrollHeight, T = document.body.scrollWidth, v = window.innerWidth, c = window.innerHeight, O = s((D = window.pageXOffset !== void 0, O = (document.compatMode || "") === "CSS1Compat", C = D ? window.pageXOffset : (O ? document.documentElement : document.body).scrollLeft, [D ? window.pageYOffset : (O ? document.documentElement : document.body).scrollTop, C]), 2), C = O[0], u = u + O[1], O = u + L, I = I + C, C = I + j;
493
- return Function("return ".concat(l.replace(/screenWidth/g, v).replace(/screenHeight/g, c).replace(/pageHeight/g, st).replace(/pageWidth/g, T).replace(/elWidth/g, L).replace(/elHeight/g, j).replace(/elInY/g, I - c).replace(/elOutY/g, C).replace(/elCenterY/g, I + j / 2 - c / 2).replace(/elInX/g, u - v).replace(/elOutX/g, O).replace(/elCenterX/g, u + L / 2 - v / 2).replace(/index/g, E)))();
494
- }
495
- function jt(l, g) {
496
- var E = this, L = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
497
- e(this, jt), 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(j) {
498
- var D = E.lastValue;
499
- return j % E.frameStep == 0 && (D = E.getValueFn(j)), E.inertiaEnabled && (j = D - E.lastValue, E.m1 = 0.8 * E.m1 + j * (1 - 0.8), E.m2 = 0.8 * E.m2 + E.m1 * (1 - 0.8), E.inertia = Math.round(5e3 * E.m2) / 15e3), E.lastValue = D, [E.lastValue, E.inertia];
500
- }), this.name = l, this.getValueFn = g, Object.keys(L).forEach(function(j) {
501
- E[j] = L[j];
492
+ var q, J = document.body.scrollHeight, O = document.body.scrollWidth, y = window.innerWidth, h = window.innerHeight, w = s((q = window.pageXOffset !== void 0, w = (document.compatMode || "") === "CSS1Compat", T = q ? window.pageXOffset : (w ? document.documentElement : document.body).scrollLeft, [q ? window.pageYOffset : (w ? document.documentElement : document.body).scrollTop, T]), 2), T = w[0], c = c + w[1], w = c + E, C = C + T, T = C + j;
493
+ return Function("return ".concat(l.replace(/screenWidth/g, y).replace(/screenHeight/g, h).replace(/pageHeight/g, J).replace(/pageWidth/g, O).replace(/elWidth/g, E).replace(/elHeight/g, j).replace(/elInY/g, C - h).replace(/elOutY/g, T).replace(/elCenterY/g, C + j / 2 - h / 2).replace(/elInX/g, c - y).replace(/elOutX/g, w).replace(/elCenterX/g, c + E / 2 - y / 2).replace(/index/g, S)))();
494
+ }
495
+ function _t(l, f) {
496
+ var S = this, E = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
497
+ e(this, _t), 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(j) {
498
+ var q = S.lastValue;
499
+ return j % S.frameStep == 0 && (q = S.getValueFn(j)), S.inertiaEnabled && (j = q - S.lastValue, S.m1 = 0.8 * S.m1 + j * (1 - 0.8), S.m2 = 0.8 * S.m2 + S.m1 * (1 - 0.8), S.inertia = Math.round(5e3 * S.m2) / 15e3), S.lastValue = q, [S.lastValue, S.inertia];
500
+ }), this.name = l, this.getValueFn = f, Object.keys(E).forEach(function(j) {
501
+ S[j] = E[j];
502
502
  }), this.lastValue = this.getValueFn(0);
503
503
  }
504
- function Ct(l, g, E, L) {
505
- var j = this, D = 4 < arguments.length && arguments[4] !== void 0 ? arguments[4] : 0, T = 5 < arguments.length && arguments[5] !== void 0 ? arguments[5] : {};
506
- e(this, Ct), 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(v, c) {
507
- var u, O = j.transforms, I = {};
508
- for (u in O) {
509
- var C = O[u];
510
- v[u] || console.error("No lax driver with name: ", u);
511
- var $, B = s(v[u], 2), F = B[0], ot = B[1];
512
- for ($ in C) {
513
- var lt, ft = s(C[$], 3), G = ft[0], U = ft[1], Tt = ft[2], J = Tt === void 0 ? {} : Tt, ct = J.modValue, yt = J.frameStep, Vt = yt === void 0 ? 1 : yt, vt = J.easing, ft = J.inertia, Tt = J.inertiaMode, yt = J.cssFn, J = J.cssUnit, J = J === void 0 ? "" : J, vt = M[vt];
514
- c % Vt == 0 && (vt = (function(tt, ht, gt, wt) {
515
- var pt = 0;
516
- if (tt.forEach(function(Yt) {
517
- Yt < gt && pt++;
518
- }), pt <= 0) return ht[0];
519
- if (pt >= tt.length) return ht[tt.length - 1];
520
- var Ot, Q = (Q = tt[Ot = pt - 1], tt = tt[pt], (gt - Q) / (tt - Q));
521
- return wt && (Q = wt(Q)), Ot = ht[Ot], ht = ht[pt], Ot * (1 - (Q = Q)) + ht * Q;
522
- })(G, U, ct ? F % ct : F, vt), ft && (lt = ot * ft, Tt === "absolute" && (lt = Math.abs(lt)), vt += lt), lt = (J || q.includes($) ? "px" : P.includes($) ? "deg" : "") == "px" ? 0 : 3, lt = vt.toFixed(lt), I[$] = yt ? yt(lt, j.domElement) : lt + J);
504
+ function Tt(l, f, S, E) {
505
+ var j = this, q = 4 < arguments.length && arguments[4] !== void 0 ? arguments[4] : 0, O = 5 < arguments.length && arguments[5] !== void 0 ? arguments[5] : {};
506
+ e(this, Tt), 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(y, h) {
507
+ var c, w = j.transforms, C = {};
508
+ for (c in w) {
509
+ var T = w[c];
510
+ y[c] || console.error("No lax driver with name: ", c);
511
+ var D, W = s(y[c], 2), B = W[0], jt = W[1];
512
+ for (D in T) {
513
+ var tt, ht = s(T[D], 3), X = ht[0], R = ht[1], At = ht[2], $ = At === void 0 ? {} : At, dt = $.modValue, mt = $.frameStep, Ct = mt === void 0 ? 1 : mt, ct = $.easing, ht = $.inertia, At = $.inertiaMode, mt = $.cssFn, $ = $.cssUnit, $ = $ === void 0 ? "" : $, ct = Y[ct];
514
+ h % Ct == 0 && (ct = (function(nt, at, bt, yt) {
515
+ var rt = 0;
516
+ if (nt.forEach(function(kt) {
517
+ kt < bt && rt++;
518
+ }), rt <= 0) return at[0];
519
+ if (rt >= nt.length) return at[nt.length - 1];
520
+ var vt, H = (H = nt[vt = rt - 1], nt = nt[rt], (bt - H) / (nt - H));
521
+ return yt && (H = yt(H)), vt = at[vt], at = at[rt], vt * (1 - (H = H)) + at * H;
522
+ })(X, R, dt ? B % dt : B, ct), ht && (tt = jt * ht, At === "absolute" && (tt = Math.abs(tt)), ct += tt), tt = ($ || L.includes(D) ? "px" : M.includes(D) ? "deg" : "") == "px" ? 0 : 3, tt = ct.toFixed(tt), C[D] = mt ? mt(tt, j.domElement) : tt + $);
523
523
  }
524
524
  }
525
- j.applyStyles(I), j.onUpdate && j.onUpdate(v, j.domElement);
525
+ j.applyStyles(C), j.onUpdate && j.onUpdate(y, j.domElement);
526
526
  }), i(this, "calculateTransforms", function() {
527
527
  j.transforms = {};
528
- var v, c = j.laxInstance.windowWidth;
529
- for (v in j.transformsData) (function(u) {
530
- var O = j.transformsData[u], I = {}, C = O.presets;
531
- (C === void 0 ? [] : C).forEach(function(G) {
532
- var F, U = s(G.split(":"), 3), ot = U[0], lt = U[1], G = U[2], U = window.lax.presets[ot];
533
- U ? (F = U(lt, G), Object.keys(F).forEach(function(ct) {
534
- O[ct] = F[ct];
535
- })) : console.error("Lax preset cannot be found with name: ", ot);
536
- }), delete O.presets;
537
- for (var $ in O) (function(B) {
538
- var F = s(O[B], 3), G = F[0], lt = G === void 0 ? [-1e9, 1e9] : G, G = F[1], G = G === void 0 ? [-1e9, 1e9] : G, F = F[2], F = F === void 0 ? {} : F, ot = j.domElement.getBoundingClientRect(), lt = It(lt, c).map(function(U) {
539
- return _t(U, ot, j.groupIndex);
540
- }), G = It(G, c).map(function(U) {
541
- return _t(U, ot, j.groupIndex);
528
+ var y, h = j.laxInstance.windowWidth;
529
+ for (y in j.transformsData) (function(c) {
530
+ var w = j.transformsData[c], C = {}, T = w.presets;
531
+ (T === void 0 ? [] : T).forEach(function(X) {
532
+ var B, R = s(X.split(":"), 3), jt = R[0], tt = R[1], X = R[2], R = window.lax.presets[jt];
533
+ R ? (B = R(tt, X), Object.keys(B).forEach(function(dt) {
534
+ w[dt] = B[dt];
535
+ })) : console.error("Lax preset cannot be found with name: ", jt);
536
+ }), delete w.presets;
537
+ for (var D in w) (function(W) {
538
+ var B = s(w[W], 3), X = B[0], tt = X === void 0 ? [-1e9, 1e9] : X, X = B[1], X = X === void 0 ? [-1e9, 1e9] : X, B = B[2], B = B === void 0 ? {} : B, jt = j.domElement.getBoundingClientRect(), tt = Dt(tt, h).map(function(R) {
539
+ return St(R, jt, j.groupIndex);
540
+ }), X = Dt(X, h).map(function(R) {
541
+ return St(R, jt, j.groupIndex);
542
542
  });
543
- I[B] = [lt, G, F];
544
- })($);
545
- j.transforms[u] = I;
546
- })(v);
547
- }), i(this, "applyStyles", function(v) {
548
- var c, u, O, I = (c = v, u = { transform: "", filter: "" }, O = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(c).forEach(function(C) {
549
- var $ = c[C], B = q.includes(C) ? "px" : P.includes(C) ? "deg" : "";
550
- _.includes(C) ? O[C] = $ : y.includes(C) ? u.transform += "".concat(C, "(").concat($).concat(B, ") ") : b.includes(C) ? u.filter += "".concat(C, "(").concat($).concat(B, ") ") : u[C] = "".concat($).concat(B, " ");
551
- }), u.transform = "translate3d(".concat(O.translateX, "px, ").concat(O.translateY, "px, ").concat(O.translateZ, "px) ").concat(u.transform), u);
552
- Object.keys(I).forEach(function(C) {
553
- j.domElement.style.setProperty(C, I[C]);
543
+ C[W] = [tt, X, B];
544
+ })(D);
545
+ j.transforms[c] = C;
546
+ })(y);
547
+ }), i(this, "applyStyles", function(y) {
548
+ var h, c, w, C = (h = y, c = { transform: "", filter: "" }, w = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(h).forEach(function(T) {
549
+ var D = h[T], W = L.includes(T) ? "px" : M.includes(T) ? "deg" : "";
550
+ x.includes(T) ? w[T] = D : m.includes(T) ? c.transform += "".concat(T, "(").concat(D).concat(W, ") ") : b.includes(T) ? c.filter += "".concat(T, "(").concat(D).concat(W, ") ") : c[T] = "".concat(D).concat(W, " ");
551
+ }), c.transform = "translate3d(".concat(w.translateX, "px, ").concat(w.translateY, "px, ").concat(w.translateZ, "px) ").concat(c.transform), c);
552
+ Object.keys(C).forEach(function(T) {
553
+ j.domElement.style.setProperty(T, C[T]);
554
554
  });
555
- }), this.selector = l, this.laxInstance = g, this.domElement = E, this.transformsData = L, this.groupIndex = D;
556
- var st = (D = T.style) === void 0 ? {} : D, T = T.onUpdate;
557
- Object.keys(st).forEach(function(v) {
558
- E.style.setProperty(v, st[v]);
559
- }), T && (this.onUpdate = T), this.calculateTransforms();
555
+ }), this.selector = l, this.laxInstance = f, this.domElement = S, this.transformsData = E, this.groupIndex = q;
556
+ var J = (q = O.style) === void 0 ? {} : q, O = O.onUpdate;
557
+ Object.keys(J).forEach(function(y) {
558
+ S.style.setProperty(y, J[y]);
559
+ }), O && (this.onUpdate = O), this.calculateTransforms();
560
560
  }
561
- o.exports !== void 0 ? o.exports = et : window.lax = et;
561
+ o.exports !== void 0 ? o.exports = st : window.lax = st;
562
562
  })();
563
- })(ye)), ye.exports;
563
+ })(be)), be.exports;
564
564
  }
565
- var Qe = Ge();
566
- const Zt = /* @__PURE__ */ be(Qe);
567
- class Ke {
565
+ var Ze = Ue();
566
+ const Zt = /* @__PURE__ */ Ae(Ze);
567
+ class Ge {
568
568
  constructor(e = {}) {
569
569
  const i = {
570
570
  // transition: 'all 0.3s ease-out',
@@ -589,19 +589,19 @@ class Ke {
589
589
  return;
590
590
  }
591
591
  t.style.transform = "";
592
- let r = this.getObjVal(t, "data-top-bottom"), a = this.getObjVal(t, "data-top"), f = this.getObjVal(t, "data-50-top"), d = this.getObjVal(t, "data-100-top"), y = this.getObjVal(t, "data-center-bottom"), b = this.getObjVal(t, "data-center"), _ = this.getObjVal(t, "data-center-top"), q = this.getObjVal(t, "data--400-bottom"), P = this.getObjVal(t, "data--300-bottom"), M = this.getObjVal(t, "data--200-bottom"), dt = this.getObjVal(t, "data--150-bottom"), et = this.getObjVal(t, "data--100-bottom"), It = this.getObjVal(t, "data--50-bottom"), _t = this.getObjVal(t, "data-bottom"), jt = this.getObjVal(t, "data-50-bottom"), Ct = this.getObjVal(t, "data-100-bottom"), l = this.getObjVal(t, "data-150-bottom"), g = this.getObjVal(t, "data-200-bottom"), E = this.getObjVal(t, "data-300-bottom"), L = this.getObjVal(t, "data-400-bottom"), j = this.getObjVal(t, "data-bottom-top"), D = this.getObjVal(t, "data-in"), st = this.getObjVal(t, "data-in-150"), T = this.getObjVal(t, "data-in-300"), v = this.getObjVal(t, "data-cen--150"), c = this.getObjVal(t, "data-cen"), u = this.getObjVal(t, "data-cen-150"), O = this.getObjVal(t, "data-out--300"), I = this.getObjVal(t, "data-out--150"), C = this.getObjVal(t, "data-out"), $ = !1;
593
- t.hasAttribute("data-xs") && ($ = !0);
592
+ let r = this.getObjVal(t, "data-top-bottom"), a = this.getObjVal(t, "data-top"), u = this.getObjVal(t, "data-50-top"), d = this.getObjVal(t, "data-100-top"), m = this.getObjVal(t, "data-center-bottom"), b = this.getObjVal(t, "data-center"), x = this.getObjVal(t, "data-center-top"), L = this.getObjVal(t, "data--400-bottom"), M = this.getObjVal(t, "data--300-bottom"), Y = this.getObjVal(t, "data--200-bottom"), et = this.getObjVal(t, "data--150-bottom"), st = this.getObjVal(t, "data--100-bottom"), Dt = this.getObjVal(t, "data--50-bottom"), St = this.getObjVal(t, "data-bottom"), _t = this.getObjVal(t, "data-50-bottom"), Tt = this.getObjVal(t, "data-100-bottom"), l = this.getObjVal(t, "data-150-bottom"), f = this.getObjVal(t, "data-200-bottom"), S = this.getObjVal(t, "data-300-bottom"), E = this.getObjVal(t, "data-400-bottom"), j = this.getObjVal(t, "data-bottom-top"), q = this.getObjVal(t, "data-in"), J = this.getObjVal(t, "data-in-150"), O = this.getObjVal(t, "data-in-300"), y = this.getObjVal(t, "data-cen--150"), h = this.getObjVal(t, "data-cen"), c = this.getObjVal(t, "data-cen-150"), w = this.getObjVal(t, "data-out--300"), C = this.getObjVal(t, "data-out--150"), T = this.getObjVal(t, "data-out"), D = !1;
593
+ t.hasAttribute("data-xs") && (D = !0);
594
+ let W = !1;
595
+ t.hasAttribute("data-sm") && (W = !0);
594
596
  let B = !1;
595
- t.hasAttribute("data-sm") && (B = !0);
596
- let F = !1;
597
- t.hasAttribute("data-md") && (F = !0), t.hasAttribute("data-lg"), t.hasAttribute("data-xl");
598
- let ot = {}, lt = {}, G = {}, U = {}, ct = {}, Vt = {}, ft = {}, Tt = {}, yt = {}, J = {}, vt = {}, tt = {}, ht = {}, gt = {}, wt = {}, pt = {}, Ot = {}, Q = {}, Yt = {}, Mt = {}, xt = {}, qt = {}, X = {}, h = {}, x = {}, k = {}, H = {}, W = {}, p = {}, w = {}, S = {}, A = {}, V = {};
599
- (i > 1280 || i > 970 && i <= 1280 && !F || i > 760 && i <= 970 && !B || i <= 760 && !$) && (G = this.getObjVal(t, "data-t"), U = this.getObjVal(t, "data-t-100"), ct = this.getObjVal(t, "data-t-200"), Vt = this.getObjVal(t, "data-t-300"), ft = this.getObjVal(t, "data-t-400"), Tt = this.getObjVal(t, "data-t-500"), yt = this.getObjVal(t, "data-t-600"), J = this.getObjVal(t, "data-t-700"), vt = this.getObjVal(t, "data-t-800"), tt = this.getObjVal(t, "data-t-900"), ht = this.getObjVal(t, "data-t-1000"), gt = this.getObjVal(t, "data-t-1100"), wt = this.getObjVal(t, "data-t-1200"), pt = this.getObjVal(t, "data-t-1300"), Ot = this.getObjVal(t, "data-t-1400"), Q = this.getObjVal(t, "data-t-1500"), Yt = this.getObjVal(t, "data-t-1600"), Mt = this.getObjVal(t, "data-t-1700"), xt = this.getObjVal(t, "data-t-1800"), qt = this.getObjVal(t, "data-t-1900"), X = this.getObjVal(t, "data-t-2000"), h = this.getObjVal(t, "data-t-2100"), x = this.getObjVal(t, "data-t-2200"), k = this.getObjVal(t, "data-t-2300"), H = this.getObjVal(t, "data-t-2400"), W = this.getObjVal(t, "data-t-2500"), p = this.getObjVal(t, "data-t-2600"), w = this.getObjVal(t, "data-t-2700"), S = this.getObjVal(t, "data-t-2800")), i > 970 && i <= 1280 && F && (t.hasAttribute("data-md-t") && (G = this.getObjVal(t, "data-md-t")), t.hasAttribute("data-md-t-100") && (U = this.getObjVal(t, "data-md-t-100")), t.hasAttribute("data-md-t-200") && (ct = this.getObjVal(t, "data-md-t-200")), t.hasAttribute("data-md-t-300") && (Vt = this.getObjVal(t, "data-md-t-300")), t.hasAttribute("data-md-t-400") && (ft = this.getObjVal(t, "data-md-t-400")), t.hasAttribute("data-md-t-500") && (Tt = this.getObjVal(t, "data-md-t-500")), t.hasAttribute("data-md-t-600") && (yt = this.getObjVal(t, "data-md-t-600")), t.hasAttribute("data-md-t-700") && (J = this.getObjVal(t, "data-md-t-700")), t.hasAttribute("data-md-t-800") && (vt = this.getObjVal(t, "data-md-t-800")), t.hasAttribute("data-md-t-900") && (tt = this.getObjVal(t, "data-md-t-900")), t.hasAttribute("data-md-t-1000") && (ht = this.getObjVal(t, "data-md-t-1000")), t.hasAttribute("data-md-t-1100") && (gt = this.getObjVal(t, "data-md-t-1100")), t.hasAttribute("data-md-t-1200") && (wt = this.getObjVal(t, "data-md-t-1200")), t.hasAttribute("data-md-t-1300") && (pt = this.getObjVal(t, "data-md-t-1300")), t.hasAttribute("data-md-t-1400") && (Ot = this.getObjVal(t, "data-md-t-1400")), t.hasAttribute("data-md-t-1500") && (Q = this.getObjVal(t, "data-md-t-1500")), t.hasAttribute("data-md-t-1600") && (Yt = this.getObjVal(t, "data-md-t-1600")), t.hasAttribute("data-md-t-1700") && (Mt = this.getObjVal(t, "data-md-t-1700")), t.hasAttribute("data-md-t-1800") && (xt = this.getObjVal(t, "data-md-t-1800")), t.hasAttribute("data-md-t-1900") && (qt = this.getObjVal(t, "data-md-t-1900")), t.hasAttribute("data-md-t-2000") && (X = this.getObjVal(t, "data-md-t-2000")), t.hasAttribute("data-md-t-2100") && (h = this.getObjVal(t, "data-md-t-2100")), t.hasAttribute("data-md-t-2200") && (x = this.getObjVal(t, "data-md-t-2200")), t.hasAttribute("data-md-t-2300") && (k = this.getObjVal(t, "data-md-t-2300")), t.hasAttribute("data-md-t-2400") && (H = this.getObjVal(t, "data-md-t-2400")), t.hasAttribute("data-md-t-2500") && (W = this.getObjVal(t, "data-md-t-2500")), t.hasAttribute("data-md-t-2600") && (p = this.getObjVal(t, "data-md-t-2600")), t.hasAttribute("data-md-t-2700") && (w = this.getObjVal(t, "data-md-t-2700")), t.hasAttribute("data-md-t-2800") && (S = this.getObjVal(t, "data-md-t-2800"))), i <= 970 && t.hasAttribute("m-data-out") && (C = this.getObjVal(t, "m-data-out")), (i > 760 && i <= 970 && B || i <= 760 && !$ && B) && (t.hasAttribute("data-sm-t") && (G = this.getObjVal(t, "data-sm-t")), t.hasAttribute("data-sm-t-100") && (U = this.getObjVal(t, "data-sm-t-100")), t.hasAttribute("data-sm-t-200") && (ct = this.getObjVal(t, "data-sm-t-200")), t.hasAttribute("data-sm-t-300") && (Vt = this.getObjVal(t, "data-sm-t-300")), t.hasAttribute("data-sm-t-400") && (ft = this.getObjVal(t, "data-sm-t-400")), t.hasAttribute("data-sm-t-500") && (Tt = this.getObjVal(t, "data-sm-t-500")), t.hasAttribute("data-sm-t-600") && (yt = this.getObjVal(t, "data-sm-t-600")), t.hasAttribute("data-sm-t-700") && (J = this.getObjVal(t, "data-sm-t-700")), t.hasAttribute("data-sm-t-800") && (vt = this.getObjVal(t, "data-sm-t-800")), t.hasAttribute("data-sm-t-900") && (tt = this.getObjVal(t, "data-sm-t-900")), t.hasAttribute("data-sm-t-1000") && (ht = this.getObjVal(t, "data-sm-t-1000")), t.hasAttribute("data-sm-t-1100") && (gt = this.getObjVal(t, "data-sm-t-1100")), t.hasAttribute("data-sm-t-1200") && (wt = this.getObjVal(t, "data-sm-t-1200")), t.hasAttribute("data-sm-t-1300") && (pt = this.getObjVal(t, "data-sm-t-1300")), t.hasAttribute("data-sm-t-1400") && (Ot = this.getObjVal(t, "data-sm-t-1400")), t.hasAttribute("data-sm-t-1500") && (Q = this.getObjVal(t, "data-sm-t-1500")), t.hasAttribute("data-sm-t-1600") && (Yt = this.getObjVal(t, "data-sm-t-1600")), t.hasAttribute("data-sm-t-1700") && (Mt = this.getObjVal(t, "data-sm-t-1700")), t.hasAttribute("data-sm-t-1800") && (xt = this.getObjVal(t, "data-sm-t-1800")), t.hasAttribute("data-sm-t-1900") && (qt = this.getObjVal(t, "data-sm-t-1900")), t.hasAttribute("data-sm-t-2000") && (X = this.getObjVal(t, "data-sm-t-2000")), t.hasAttribute("data-sm-t-2100") && (h = this.getObjVal(t, "data-sm-t-2100")), t.hasAttribute("data-sm-t-2200") && (x = this.getObjVal(t, "data-sm-t-2200")), t.hasAttribute("data-sm-t-2300") && (k = this.getObjVal(t, "data-sm-t-2300")), t.hasAttribute("data-sm-t-2400") && (H = this.getObjVal(t, "data-sm-t-2400")), t.hasAttribute("data-sm-t-2500") && (W = this.getObjVal(t, "data-sm-t-2500")), t.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(t, "data-sm-t-2600")), t.hasAttribute("data-sm-t-2700") && (w = this.getObjVal(t, "data-sm-t-2700")), t.hasAttribute("data-sm-t-2800") && (S = this.getObjVal(t, "data-sm-t-2800"))), i <= 414 && $ && (t.hasAttribute("data-xs-t") && (G = this.getObjVal(t, "data-xs-t")), t.hasAttribute("data-xs-t-100") && (U = this.getObjVal(t, "data-xs-t-100")), t.hasAttribute("data-xs-t-200") && (ct = this.getObjVal(t, "data-xs-t-200")), t.hasAttribute("data-xs-t-300") && (Vt = this.getObjVal(t, "data-xs-t-300")), t.hasAttribute("data-xs-t-400") && (ft = this.getObjVal(t, "data-xs-t-400")), t.hasAttribute("data-xs-t-500") && (Tt = this.getObjVal(t, "data-xs-t-500")), t.hasAttribute("data-xs-t-600") && (yt = this.getObjVal(t, "data-xs-t-600")), t.hasAttribute("data-xs-t-700") && (J = this.getObjVal(t, "data-xs-t-700")), t.hasAttribute("data-xs-t-800") && (vt = this.getObjVal(t, "data-xs-t-800")), t.hasAttribute("data-xs-t-900") && (tt = this.getObjVal(t, "data-xs-t-900")), t.hasAttribute("data-xs-t-1000") && (ht = this.getObjVal(t, "data-xs-t-1000")), t.hasAttribute("data-xs-t-1100") && (gt = this.getObjVal(t, "data-xs-t-1100")), t.hasAttribute("data-xs-t-1200") && (wt = this.getObjVal(t, "data-xs-t-1200")), t.hasAttribute("data-xs-t-1300") && (pt = this.getObjVal(t, "data-xs-t-1300")), t.hasAttribute("data-xs-t-1400") && (Ot = this.getObjVal(t, "data-xs-t-1400")), t.hasAttribute("data-xs-t-1500") && (Q = this.getObjVal(t, "data-xs-t-1500")), t.hasAttribute("data-xs-t-1600") && (Yt = this.getObjVal(t, "data-xs-t-1600")), t.hasAttribute("data-xs-t-1700") && (Mt = this.getObjVal(t, "data-xs-t-1700")), t.hasAttribute("data-xs-t-1800") && (xt = this.getObjVal(t, "data-xs-t-1800")), t.hasAttribute("data-xs-t-1900") && (qt = this.getObjVal(t, "data-xs-t-1900")), t.hasAttribute("data-xs-t-2000") && (X = this.getObjVal(t, "data-xs-t-2000")), t.hasAttribute("data-xs-t-2100") && (h = this.getObjVal(t, "data-xs-t-2100")), t.hasAttribute("data-xs-t-2200") && (x = this.getObjVal(t, "data-xs-t-2200")), t.hasAttribute("data-xs-t-2300") && (k = this.getObjVal(t, "data-xs-t-2300")), t.hasAttribute("data-xs-t-2400") && (H = this.getObjVal(t, "data-xs-t-2400")), t.hasAttribute("data-xs-t-2500") && (W = this.getObjVal(t, "data-xs-t-2500")), t.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(t, "data-xs-t-2600")), t.hasAttribute("data-xs-t-2700") && (w = this.getObjVal(t, "data-xs-t-2700")), t.hasAttribute("data-xs-t-2800") && (S = this.getObjVal(t, "data-xs-t-2800")));
600
- let it = G, R = U, Y = ct, K = Vt, z = ft, mt = Tt, nt = yt, at = J, bt = vt, Dt = tt, Nt = ht, Ht = gt, St = wt, N = pt, ut = Ot, Et = Q, Jt = Yt, te = Mt, ee = xt, ie = qt, se = X, ne = h, ae = x, re = k, oe = H, le = W, de = p, ce = w, he = S, Ft = window.innerHeight;
601
- Ft < 730 ? (ot = it, lt = R, G = Y, U = K, ct = z, Vt = mt, ft = nt, Tt = at, yt = bt, J = Dt, vt = Nt, tt = Ht, ht = St, gt = N, wt = ut, pt = Et, Ot = Jt, Q = te, Yt = ee, Mt = ie, xt = se, qt = ne, X = ae, h = re, x = oe, k = le, H = de, W = ce, p = he, w = {}, S = {}) : Ft >= 730 && Ft < 790 ? (lt = it, G = R, U = Y, ct = K, Vt = z, ft = mt, Tt = nt, yt = at, J = bt, vt = Dt, tt = Nt, ht = Ht, gt = St, wt = N, pt = ut, Ot = Et, Q = Jt, Yt = te, Mt = ee, xt = ie, qt = se, X = ne, h = ae, x = re, k = oe, H = le, W = de, p = ce, w = he, S = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (G = {}, U = it, ct = R, Vt = Y, ft = K, Tt = z, yt = mt, J = nt, vt = at, tt = bt, ht = Dt, gt = Nt, wt = Ht, pt = St, Ot = N, Q = ut, Yt = Et, Mt = Jt, xt = te, qt = ee, X = ie, h = se, x = ne, k = ae, H = re, W = oe, p = le, w = de, S = ce, A = he) : (G = {}, U = {}, ct = it, Vt = R, ft = Y, Tt = K, yt = z, J = mt, vt = nt, tt = at, ht = bt, gt = Dt, wt = Nt, pt = Ht, Ot = St, Q = N, Yt = ut, Mt = Et, xt = Jt, qt = te, X = ee, h = ie, x = se, k = ne, H = ae, W = re, p = oe, w = le, S = de, A = ce, V = he));
602
- let m = {};
603
- Object.keys(j).length !== 0 && (m = this.parseObj(j, "elInY", m)), Object.keys(L).length !== 0 && (m = this.parseObj(L, "elInY+50", m)), Object.keys(E).length !== 0 && (m = this.parseObj(E, "elInY+100", m)), Object.keys(g).length !== 0 && (m = this.parseObj(g, "elInY+150", m)), Object.keys(l).length !== 0 && (m = this.parseObj(l, "elInY+200", m)), Object.keys(Ct).length !== 0 && (m = this.parseObj(Ct, "elInY+250", m)), Object.keys(jt).length !== 0 && (m = this.parseObj(jt, "elInY+300", m)), Object.keys(_t).length !== 0 && (m = this.parseObj(_t, "elInY+350", m)), Object.keys(It).length !== 0 && (m = this.parseObj(It, "elInY+400", m)), Object.keys(et).length !== 0 && (m = this.parseObj(et, "elInY+450", m)), Object.keys(dt).length !== 0 && (m = this.parseObj(dt, "elInY+500", m)), Object.keys(M).length !== 0 && (m = this.parseObj(M, "elInY+550", m)), Object.keys(P).length !== 0 && (m = this.parseObj(P, "elInY+600", m)), Object.keys(q).length !== 0 && (m = this.parseObj(q, "elInY+650", m)), Object.keys(_).length !== 0 && (m = this.parseObj(_, "elCenterY-300", m)), Object.keys(b).length !== 0 && (m = this.parseObj(b, "elCenterY", m)), Object.keys(y).length !== 0 && (m = this.parseObj(y, "elCenterY+100", m)), Object.keys(d).length !== 0 && (m = this.parseObj(d, "elCenterY+200", m)), Object.keys(f).length !== 0 && (m = this.parseObj(f, "elCenterY+300", m)), Object.keys(a).length !== 0 && (m = this.parseObj(a, "elOutY-300", m)), Object.keys(r).length !== 0 && (m = this.parseObj(r, "elOutY", m)), Object.keys(D).length !== 0 && (m = this.parseObj(D, "elInY", m)), Object.keys(st).length !== 0 && (m = this.parseObj(st, "elInY+150", m)), Object.keys(T).length !== 0 && (m = this.parseObj(T, "elInY+300 ", m)), Object.keys(v).length !== 0 && (m = this.parseObj(v, "elCenterY-150", m)), Object.keys(c).length !== 0 && (m = this.parseObj(c, "elCenterY", m)), Object.keys(u).length !== 0 && (m = this.parseObj(u, "elCenterY+150", m)), Object.keys(O).length !== 0 && (m = this.parseObj(O, "elOutY-300 ", m)), Object.keys(I).length !== 0 && (m = this.parseObj(I, "elOutY-150 ", m)), Object.keys(C).length !== 0 && (m = this.parseObj(C, "elOutY", m)), Object.keys(ot).length !== 0 && (m = this.parseObj(ot, "elInY-200", m)), Object.keys(lt).length !== 0 && (m = this.parseObj(lt, "elInY-100", m)), Object.keys(G).length !== 0 && (m = this.parseObj(G, "elInY", m)), Object.keys(U).length !== 0 && (m = this.parseObj(U, "elInY+100", m)), Object.keys(ct).length !== 0 && (m = this.parseObj(ct, "elInY+200", m)), Object.keys(Vt).length !== 0 && (m = this.parseObj(Vt, "elInY+300 ", m)), Object.keys(ft).length !== 0 && (m = this.parseObj(ft, "elInY+400 ", m)), Object.keys(Tt).length !== 0 && (m = this.parseObj(Tt, "elInY+500 ", m)), Object.keys(yt).length !== 0 && (m = this.parseObj(yt, "elInY+600 ", m)), Object.keys(J).length !== 0 && (m = this.parseObj(J, "elInY+700 ", m)), Object.keys(vt).length !== 0 && (m = this.parseObj(vt, "elInY+800 ", m)), Object.keys(tt).length !== 0 && (m = this.parseObj(tt, "elInY+900 ", m)), Object.keys(ht).length !== 0 && (m = this.parseObj(ht, "elInY+1000 ", m)), Object.keys(gt).length !== 0 && (m = this.parseObj(gt, "elInY+1100 ", m)), Object.keys(wt).length !== 0 && (m = this.parseObj(wt, "elInY+1200 ", m)), Object.keys(pt).length !== 0 && (m = this.parseObj(pt, "elInY+1300 ", m)), Object.keys(Ot).length !== 0 && (m = this.parseObj(Ot, "elInY+1400 ", m)), Object.keys(Q).length !== 0 && (m = this.parseObj(Q, "elInY+1500 ", m)), Object.keys(Yt).length !== 0 && (m = this.parseObj(Yt, "elInY+1600 ", m)), Object.keys(Mt).length !== 0 && (m = this.parseObj(Mt, "elInY+1700 ", m)), Object.keys(xt).length !== 0 && (m = this.parseObj(xt, "elInY+1800 ", m)), Object.keys(qt).length !== 0 && (m = this.parseObj(qt, "elInY+1900 ", m)), Object.keys(X).length !== 0 && (m = this.parseObj(X, "elInY+2000 ", m)), Object.keys(h).length !== 0 && (m = this.parseObj(h, "elInY+2100 ", m)), Object.keys(x).length !== 0 && (m = this.parseObj(x, "elInY+2200 ", m)), Object.keys(k).length !== 0 && (m = this.parseObj(k, "elInY+2300 ", m)), Object.keys(H).length !== 0 && (m = this.parseObj(H, "elInY+2400 ", m)), Object.keys(W).length !== 0 && (m = this.parseObj(W, "elInY+2500 ", m)), Object.keys(p).length !== 0 && (m = this.parseObj(p, "elInY+2600 ", m)), Object.keys(w).length !== 0 && (m = this.parseObj(w, "elInY+2700 ", m)), Object.keys(S).length !== 0 && (m = this.parseObj(S, "elInY+2800 ", m)), Object.keys(A).length !== 0 && (m = this.parseObj(A, "elInY+2900 ", m)), Object.keys(V).length !== 0 && (m = this.parseObj(V, "elInY+3000 ", m)), t.style.transition = "", t.setAttribute("data-dummy-selector", "1"), Zt.addElements("[data-dummy-selector]", {
604
- scrollY: m
597
+ t.hasAttribute("data-md") && (B = !0), t.hasAttribute("data-lg"), t.hasAttribute("data-xl");
598
+ let jt = {}, tt = {}, X = {}, R = {}, dt = {}, Ct = {}, ht = {}, At = {}, mt = {}, $ = {}, ct = {}, nt = {}, at = {}, bt = {}, yt = {}, rt = {}, vt = {}, H = {}, kt = {}, Vt = {}, ut = {}, Yt = {}, N = {}, qt = {}, wt = {}, Mt = {}, Nt = {}, zt = {}, p = {}, v = {}, A = {}, _ = {}, V = {};
599
+ (i > 1280 || i > 970 && i <= 1280 && !B || i > 760 && i <= 970 && !W || i <= 760 && !D) && (X = this.getObjVal(t, "data-t"), R = this.getObjVal(t, "data-t-100"), dt = this.getObjVal(t, "data-t-200"), Ct = this.getObjVal(t, "data-t-300"), ht = this.getObjVal(t, "data-t-400"), At = this.getObjVal(t, "data-t-500"), mt = this.getObjVal(t, "data-t-600"), $ = this.getObjVal(t, "data-t-700"), ct = this.getObjVal(t, "data-t-800"), nt = this.getObjVal(t, "data-t-900"), at = this.getObjVal(t, "data-t-1000"), bt = this.getObjVal(t, "data-t-1100"), yt = this.getObjVal(t, "data-t-1200"), rt = this.getObjVal(t, "data-t-1300"), vt = this.getObjVal(t, "data-t-1400"), H = this.getObjVal(t, "data-t-1500"), kt = this.getObjVal(t, "data-t-1600"), Vt = this.getObjVal(t, "data-t-1700"), ut = this.getObjVal(t, "data-t-1800"), Yt = this.getObjVal(t, "data-t-1900"), N = this.getObjVal(t, "data-t-2000"), qt = this.getObjVal(t, "data-t-2100"), wt = this.getObjVal(t, "data-t-2200"), Mt = this.getObjVal(t, "data-t-2300"), Nt = this.getObjVal(t, "data-t-2400"), zt = this.getObjVal(t, "data-t-2500"), p = this.getObjVal(t, "data-t-2600"), v = this.getObjVal(t, "data-t-2700"), A = this.getObjVal(t, "data-t-2800")), i > 970 && i <= 1280 && B && (t.hasAttribute("data-md-t") && (X = this.getObjVal(t, "data-md-t")), t.hasAttribute("data-md-t-100") && (R = this.getObjVal(t, "data-md-t-100")), t.hasAttribute("data-md-t-200") && (dt = this.getObjVal(t, "data-md-t-200")), t.hasAttribute("data-md-t-300") && (Ct = this.getObjVal(t, "data-md-t-300")), t.hasAttribute("data-md-t-400") && (ht = this.getObjVal(t, "data-md-t-400")), t.hasAttribute("data-md-t-500") && (At = this.getObjVal(t, "data-md-t-500")), t.hasAttribute("data-md-t-600") && (mt = this.getObjVal(t, "data-md-t-600")), t.hasAttribute("data-md-t-700") && ($ = this.getObjVal(t, "data-md-t-700")), t.hasAttribute("data-md-t-800") && (ct = this.getObjVal(t, "data-md-t-800")), t.hasAttribute("data-md-t-900") && (nt = this.getObjVal(t, "data-md-t-900")), t.hasAttribute("data-md-t-1000") && (at = this.getObjVal(t, "data-md-t-1000")), t.hasAttribute("data-md-t-1100") && (bt = this.getObjVal(t, "data-md-t-1100")), t.hasAttribute("data-md-t-1200") && (yt = this.getObjVal(t, "data-md-t-1200")), t.hasAttribute("data-md-t-1300") && (rt = this.getObjVal(t, "data-md-t-1300")), t.hasAttribute("data-md-t-1400") && (vt = this.getObjVal(t, "data-md-t-1400")), t.hasAttribute("data-md-t-1500") && (H = this.getObjVal(t, "data-md-t-1500")), t.hasAttribute("data-md-t-1600") && (kt = this.getObjVal(t, "data-md-t-1600")), t.hasAttribute("data-md-t-1700") && (Vt = this.getObjVal(t, "data-md-t-1700")), t.hasAttribute("data-md-t-1800") && (ut = this.getObjVal(t, "data-md-t-1800")), t.hasAttribute("data-md-t-1900") && (Yt = this.getObjVal(t, "data-md-t-1900")), t.hasAttribute("data-md-t-2000") && (N = this.getObjVal(t, "data-md-t-2000")), t.hasAttribute("data-md-t-2100") && (qt = this.getObjVal(t, "data-md-t-2100")), t.hasAttribute("data-md-t-2200") && (wt = this.getObjVal(t, "data-md-t-2200")), t.hasAttribute("data-md-t-2300") && (Mt = this.getObjVal(t, "data-md-t-2300")), t.hasAttribute("data-md-t-2400") && (Nt = this.getObjVal(t, "data-md-t-2400")), t.hasAttribute("data-md-t-2500") && (zt = this.getObjVal(t, "data-md-t-2500")), t.hasAttribute("data-md-t-2600") && (p = this.getObjVal(t, "data-md-t-2600")), t.hasAttribute("data-md-t-2700") && (v = this.getObjVal(t, "data-md-t-2700")), t.hasAttribute("data-md-t-2800") && (A = this.getObjVal(t, "data-md-t-2800"))), i <= 970 && t.hasAttribute("m-data-out") && (T = this.getObjVal(t, "m-data-out")), (i > 760 && i <= 970 && W || i <= 760 && !D && W) && (t.hasAttribute("data-sm-t") && (X = this.getObjVal(t, "data-sm-t")), t.hasAttribute("data-sm-t-100") && (R = this.getObjVal(t, "data-sm-t-100")), t.hasAttribute("data-sm-t-200") && (dt = this.getObjVal(t, "data-sm-t-200")), t.hasAttribute("data-sm-t-300") && (Ct = this.getObjVal(t, "data-sm-t-300")), t.hasAttribute("data-sm-t-400") && (ht = this.getObjVal(t, "data-sm-t-400")), t.hasAttribute("data-sm-t-500") && (At = this.getObjVal(t, "data-sm-t-500")), t.hasAttribute("data-sm-t-600") && (mt = this.getObjVal(t, "data-sm-t-600")), t.hasAttribute("data-sm-t-700") && ($ = this.getObjVal(t, "data-sm-t-700")), t.hasAttribute("data-sm-t-800") && (ct = this.getObjVal(t, "data-sm-t-800")), t.hasAttribute("data-sm-t-900") && (nt = this.getObjVal(t, "data-sm-t-900")), t.hasAttribute("data-sm-t-1000") && (at = this.getObjVal(t, "data-sm-t-1000")), t.hasAttribute("data-sm-t-1100") && (bt = this.getObjVal(t, "data-sm-t-1100")), t.hasAttribute("data-sm-t-1200") && (yt = this.getObjVal(t, "data-sm-t-1200")), t.hasAttribute("data-sm-t-1300") && (rt = this.getObjVal(t, "data-sm-t-1300")), t.hasAttribute("data-sm-t-1400") && (vt = this.getObjVal(t, "data-sm-t-1400")), t.hasAttribute("data-sm-t-1500") && (H = this.getObjVal(t, "data-sm-t-1500")), t.hasAttribute("data-sm-t-1600") && (kt = this.getObjVal(t, "data-sm-t-1600")), t.hasAttribute("data-sm-t-1700") && (Vt = this.getObjVal(t, "data-sm-t-1700")), t.hasAttribute("data-sm-t-1800") && (ut = this.getObjVal(t, "data-sm-t-1800")), t.hasAttribute("data-sm-t-1900") && (Yt = this.getObjVal(t, "data-sm-t-1900")), t.hasAttribute("data-sm-t-2000") && (N = this.getObjVal(t, "data-sm-t-2000")), t.hasAttribute("data-sm-t-2100") && (qt = this.getObjVal(t, "data-sm-t-2100")), t.hasAttribute("data-sm-t-2200") && (wt = this.getObjVal(t, "data-sm-t-2200")), t.hasAttribute("data-sm-t-2300") && (Mt = this.getObjVal(t, "data-sm-t-2300")), t.hasAttribute("data-sm-t-2400") && (Nt = this.getObjVal(t, "data-sm-t-2400")), t.hasAttribute("data-sm-t-2500") && (zt = this.getObjVal(t, "data-sm-t-2500")), t.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(t, "data-sm-t-2600")), t.hasAttribute("data-sm-t-2700") && (v = this.getObjVal(t, "data-sm-t-2700")), t.hasAttribute("data-sm-t-2800") && (A = this.getObjVal(t, "data-sm-t-2800"))), i <= 414 && D && (t.hasAttribute("data-xs-t") && (X = this.getObjVal(t, "data-xs-t")), t.hasAttribute("data-xs-t-100") && (R = this.getObjVal(t, "data-xs-t-100")), t.hasAttribute("data-xs-t-200") && (dt = this.getObjVal(t, "data-xs-t-200")), t.hasAttribute("data-xs-t-300") && (Ct = this.getObjVal(t, "data-xs-t-300")), t.hasAttribute("data-xs-t-400") && (ht = this.getObjVal(t, "data-xs-t-400")), t.hasAttribute("data-xs-t-500") && (At = this.getObjVal(t, "data-xs-t-500")), t.hasAttribute("data-xs-t-600") && (mt = this.getObjVal(t, "data-xs-t-600")), t.hasAttribute("data-xs-t-700") && ($ = this.getObjVal(t, "data-xs-t-700")), t.hasAttribute("data-xs-t-800") && (ct = this.getObjVal(t, "data-xs-t-800")), t.hasAttribute("data-xs-t-900") && (nt = this.getObjVal(t, "data-xs-t-900")), t.hasAttribute("data-xs-t-1000") && (at = this.getObjVal(t, "data-xs-t-1000")), t.hasAttribute("data-xs-t-1100") && (bt = this.getObjVal(t, "data-xs-t-1100")), t.hasAttribute("data-xs-t-1200") && (yt = this.getObjVal(t, "data-xs-t-1200")), t.hasAttribute("data-xs-t-1300") && (rt = this.getObjVal(t, "data-xs-t-1300")), t.hasAttribute("data-xs-t-1400") && (vt = this.getObjVal(t, "data-xs-t-1400")), t.hasAttribute("data-xs-t-1500") && (H = this.getObjVal(t, "data-xs-t-1500")), t.hasAttribute("data-xs-t-1600") && (kt = this.getObjVal(t, "data-xs-t-1600")), t.hasAttribute("data-xs-t-1700") && (Vt = this.getObjVal(t, "data-xs-t-1700")), t.hasAttribute("data-xs-t-1800") && (ut = this.getObjVal(t, "data-xs-t-1800")), t.hasAttribute("data-xs-t-1900") && (Yt = this.getObjVal(t, "data-xs-t-1900")), t.hasAttribute("data-xs-t-2000") && (N = this.getObjVal(t, "data-xs-t-2000")), t.hasAttribute("data-xs-t-2100") && (qt = this.getObjVal(t, "data-xs-t-2100")), t.hasAttribute("data-xs-t-2200") && (wt = this.getObjVal(t, "data-xs-t-2200")), t.hasAttribute("data-xs-t-2300") && (Mt = this.getObjVal(t, "data-xs-t-2300")), t.hasAttribute("data-xs-t-2400") && (Nt = this.getObjVal(t, "data-xs-t-2400")), t.hasAttribute("data-xs-t-2500") && (zt = this.getObjVal(t, "data-xs-t-2500")), t.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(t, "data-xs-t-2600")), t.hasAttribute("data-xs-t-2700") && (v = this.getObjVal(t, "data-xs-t-2700")), t.hasAttribute("data-xs-t-2800") && (A = this.getObjVal(t, "data-xs-t-2800")));
600
+ let Z = X, U = R, k = dt, G = Ct, P = ht, ft = At, Q = mt, it = $, gt = ct, Pt = nt, Et = at, Ht = bt, ot = yt, I = rt, K = vt, pt = H, Jt = kt, te = Vt, ee = ut, ie = Yt, se = N, ne = qt, ae = wt, re = Mt, oe = Nt, le = zt, de = p, he = v, ce = A, Ft = window.innerHeight;
601
+ Ft < 730 ? (jt = Z, tt = U, X = k, R = G, dt = P, Ct = ft, ht = Q, At = it, mt = gt, $ = Pt, ct = Et, nt = Ht, at = ot, bt = I, yt = K, rt = pt, vt = Jt, H = te, kt = ee, Vt = ie, ut = se, Yt = ne, N = ae, qt = re, wt = oe, Mt = le, Nt = de, zt = he, p = ce, v = {}, A = {}) : Ft >= 730 && Ft < 790 ? (tt = Z, X = U, R = k, dt = G, Ct = P, ht = ft, At = Q, mt = it, $ = gt, ct = Pt, nt = Et, at = Ht, bt = ot, yt = I, rt = K, vt = pt, H = Jt, kt = te, Vt = ee, ut = ie, Yt = se, N = ne, qt = ae, wt = re, Mt = oe, Nt = le, zt = de, p = he, v = ce, A = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (X = {}, R = Z, dt = U, Ct = k, ht = G, At = P, mt = ft, $ = Q, ct = it, nt = gt, at = Pt, bt = Et, yt = Ht, rt = ot, vt = I, H = K, kt = pt, Vt = Jt, ut = te, Yt = ee, N = ie, qt = se, wt = ne, Mt = ae, Nt = re, zt = oe, p = le, v = de, A = he, _ = ce) : (X = {}, R = {}, dt = Z, Ct = U, ht = k, At = G, mt = P, $ = ft, ct = Q, nt = it, at = gt, bt = Pt, yt = Et, rt = Ht, vt = ot, H = I, kt = K, Vt = pt, ut = Jt, Yt = te, N = ee, qt = ie, wt = se, Mt = ne, Nt = ae, zt = re, p = oe, v = le, A = de, _ = he, V = ce));
602
+ let g = {};
603
+ Object.keys(j).length !== 0 && (g = this.parseObj(j, "elInY", g)), Object.keys(E).length !== 0 && (g = this.parseObj(E, "elInY+50", g)), Object.keys(S).length !== 0 && (g = this.parseObj(S, "elInY+100", g)), Object.keys(f).length !== 0 && (g = this.parseObj(f, "elInY+150", g)), Object.keys(l).length !== 0 && (g = this.parseObj(l, "elInY+200", g)), Object.keys(Tt).length !== 0 && (g = this.parseObj(Tt, "elInY+250", g)), Object.keys(_t).length !== 0 && (g = this.parseObj(_t, "elInY+300", g)), Object.keys(St).length !== 0 && (g = this.parseObj(St, "elInY+350", g)), Object.keys(Dt).length !== 0 && (g = this.parseObj(Dt, "elInY+400", g)), Object.keys(st).length !== 0 && (g = this.parseObj(st, "elInY+450", g)), Object.keys(et).length !== 0 && (g = this.parseObj(et, "elInY+500", g)), Object.keys(Y).length !== 0 && (g = this.parseObj(Y, "elInY+550", g)), Object.keys(M).length !== 0 && (g = this.parseObj(M, "elInY+600", g)), Object.keys(L).length !== 0 && (g = this.parseObj(L, "elInY+650", g)), Object.keys(x).length !== 0 && (g = this.parseObj(x, "elCenterY-300", g)), Object.keys(b).length !== 0 && (g = this.parseObj(b, "elCenterY", g)), Object.keys(m).length !== 0 && (g = this.parseObj(m, "elCenterY+100", g)), Object.keys(d).length !== 0 && (g = this.parseObj(d, "elCenterY+200", g)), Object.keys(u).length !== 0 && (g = this.parseObj(u, "elCenterY+300", g)), Object.keys(a).length !== 0 && (g = this.parseObj(a, "elOutY-300", g)), Object.keys(r).length !== 0 && (g = this.parseObj(r, "elOutY", g)), Object.keys(q).length !== 0 && (g = this.parseObj(q, "elInY", g)), Object.keys(J).length !== 0 && (g = this.parseObj(J, "elInY+150", g)), Object.keys(O).length !== 0 && (g = this.parseObj(O, "elInY+300 ", g)), Object.keys(y).length !== 0 && (g = this.parseObj(y, "elCenterY-150", g)), Object.keys(h).length !== 0 && (g = this.parseObj(h, "elCenterY", g)), Object.keys(c).length !== 0 && (g = this.parseObj(c, "elCenterY+150", g)), Object.keys(w).length !== 0 && (g = this.parseObj(w, "elOutY-300 ", g)), Object.keys(C).length !== 0 && (g = this.parseObj(C, "elOutY-150 ", g)), Object.keys(T).length !== 0 && (g = this.parseObj(T, "elOutY", g)), Object.keys(jt).length !== 0 && (g = this.parseObj(jt, "elInY-200", g)), Object.keys(tt).length !== 0 && (g = this.parseObj(tt, "elInY-100", g)), Object.keys(X).length !== 0 && (g = this.parseObj(X, "elInY", g)), Object.keys(R).length !== 0 && (g = this.parseObj(R, "elInY+100", g)), Object.keys(dt).length !== 0 && (g = this.parseObj(dt, "elInY+200", g)), Object.keys(Ct).length !== 0 && (g = this.parseObj(Ct, "elInY+300 ", g)), Object.keys(ht).length !== 0 && (g = this.parseObj(ht, "elInY+400 ", g)), Object.keys(At).length !== 0 && (g = this.parseObj(At, "elInY+500 ", g)), Object.keys(mt).length !== 0 && (g = this.parseObj(mt, "elInY+600 ", g)), Object.keys($).length !== 0 && (g = this.parseObj($, "elInY+700 ", g)), Object.keys(ct).length !== 0 && (g = this.parseObj(ct, "elInY+800 ", g)), Object.keys(nt).length !== 0 && (g = this.parseObj(nt, "elInY+900 ", g)), Object.keys(at).length !== 0 && (g = this.parseObj(at, "elInY+1000 ", g)), Object.keys(bt).length !== 0 && (g = this.parseObj(bt, "elInY+1100 ", g)), Object.keys(yt).length !== 0 && (g = this.parseObj(yt, "elInY+1200 ", g)), Object.keys(rt).length !== 0 && (g = this.parseObj(rt, "elInY+1300 ", g)), Object.keys(vt).length !== 0 && (g = this.parseObj(vt, "elInY+1400 ", g)), Object.keys(H).length !== 0 && (g = this.parseObj(H, "elInY+1500 ", g)), Object.keys(kt).length !== 0 && (g = this.parseObj(kt, "elInY+1600 ", g)), Object.keys(Vt).length !== 0 && (g = this.parseObj(Vt, "elInY+1700 ", g)), Object.keys(ut).length !== 0 && (g = this.parseObj(ut, "elInY+1800 ", g)), Object.keys(Yt).length !== 0 && (g = this.parseObj(Yt, "elInY+1900 ", g)), Object.keys(N).length !== 0 && (g = this.parseObj(N, "elInY+2000 ", g)), Object.keys(qt).length !== 0 && (g = this.parseObj(qt, "elInY+2100 ", g)), Object.keys(wt).length !== 0 && (g = this.parseObj(wt, "elInY+2200 ", g)), Object.keys(Mt).length !== 0 && (g = this.parseObj(Mt, "elInY+2300 ", g)), Object.keys(Nt).length !== 0 && (g = this.parseObj(Nt, "elInY+2400 ", g)), Object.keys(zt).length !== 0 && (g = this.parseObj(zt, "elInY+2500 ", g)), Object.keys(p).length !== 0 && (g = this.parseObj(p, "elInY+2600 ", g)), Object.keys(v).length !== 0 && (g = this.parseObj(v, "elInY+2700 ", g)), Object.keys(A).length !== 0 && (g = this.parseObj(A, "elInY+2800 ", g)), Object.keys(_).length !== 0 && (g = this.parseObj(_, "elInY+2900 ", g)), Object.keys(V).length !== 0 && (g = this.parseObj(V, "elInY+3000 ", g)), t.style.transition = "", t.setAttribute("data-dummy-selector", "1"), Zt.addElements("[data-dummy-selector]", {
604
+ scrollY: g
605
605
  }), this.elements.push(document.querySelector("[data-dummy-selector]")), t.removeAttribute("data-dummy-selector"), setTimeout(() => {
606
606
  t.style.opacity = 1, t.getAttribute("data-smooth-scrolling") === "off" || this.settings.transition && (t.style.transition = this.settings.transition);
607
607
  }, 100);
@@ -646,9 +646,9 @@ class Ke {
646
646
  return s;
647
647
  }
648
648
  }
649
- var ve = { exports: {} }, ke;
650
- function Je() {
651
- return ke || (ke = 1, (function(o, e) {
649
+ var ye = { exports: {} }, Ce;
650
+ function Qe() {
651
+ return Ce || (Ce = 1, (function(o, e) {
652
652
  (function(s, t) {
653
653
  o.exports = t();
654
654
  })(window, function() {
@@ -677,9 +677,9 @@ function Je() {
677
677
  }, t.t = function(n, r) {
678
678
  if (r & 1 && (n = t(n)), r & 8 || r & 4 && typeof n == "object" && n && n.__esModule) return n;
679
679
  var a = /* @__PURE__ */ Object.create(null);
680
- if (t.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: n }), r & 2 && typeof n != "string") for (var f in n) t.d(a, f, (function(d) {
680
+ if (t.r(a), Object.defineProperty(a, "default", { enumerable: !0, value: n }), r & 2 && typeof n != "string") for (var u in n) t.d(a, u, (function(d) {
681
681
  return n[d];
682
- }).bind(null, f));
682
+ }).bind(null, u));
683
683
  return a;
684
684
  }, t.n = function(n) {
685
685
  var r = n && n.__esModule ? (
@@ -770,47 +770,47 @@ function Je() {
770
770
  };
771
771
  }), r = t(0), a = /* @__PURE__ */ t.n(r);
772
772
  t(1);
773
- function f(T, v) {
774
- if (!(T instanceof v))
773
+ function u(O, y) {
774
+ if (!(O instanceof y))
775
775
  throw new TypeError("Cannot call a class as a function");
776
776
  }
777
- function d(T, v) {
778
- for (var c = 0; c < v.length; c++) {
779
- var u = v[c];
780
- u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(T, u.key, u);
777
+ function d(O, y) {
778
+ for (var h = 0; h < y.length; h++) {
779
+ var c = y[h];
780
+ c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(O, c.key, c);
781
781
  }
782
782
  }
783
- function y(T, v, c) {
784
- return v && d(T.prototype, v), T;
783
+ function m(O, y, h) {
784
+ return y && d(O.prototype, y), O;
785
785
  }
786
- function b(T) {
787
- return Number(T) === T && T % 1 === 0;
786
+ function b(O) {
787
+ return Number(O) === O && O % 1 === 0;
788
788
  }
789
- function _(T) {
790
- return Number(T) === T && T % 1 !== 0;
789
+ function x(O) {
790
+ return Number(O) === O && O % 1 !== 0;
791
791
  }
792
- var q = /* @__PURE__ */ (function() {
793
- function T(v, c) {
794
- f(this, T), this.element = v, c = a()(new n().trigger, c), this.offset = c.offset, this.toggle = c.toggle, this.once = c.once, this.visible = null, this.active = !0;
792
+ var L = /* @__PURE__ */ (function() {
793
+ function O(y, h) {
794
+ u(this, O), this.element = y, h = a()(new n().trigger, h), this.offset = h.offset, this.toggle = h.toggle, this.once = h.once, this.visible = null, this.active = !0;
795
795
  }
796
- return y(T, [{
796
+ return m(O, [{
797
797
  key: "checkVisibility",
798
- value: function(c, u) {
798
+ value: function(h, c) {
799
799
  if (!this.active)
800
800
  return this.visible;
801
- var O = c.offsetWidth || c.innerWidth || 0, I = c.offsetHeight || c.innerHeight || 0, C = {
802
- w: O,
803
- h: I
804
- }, $ = this.getBounds(), B = this._checkVisibility($, C, u);
805
- if (B !== this.visible) {
806
- this.visible = B;
807
- var F = this._toggleCallback();
808
- F instanceof Promise ? F.then(this._toggleClass.bind(this)).catch(function(ot) {
809
- console.error("Trigger promise failed"), console.error(ot);
801
+ var w = h.offsetWidth || h.innerWidth || 0, C = h.offsetHeight || h.innerHeight || 0, T = {
802
+ w,
803
+ h: C
804
+ }, D = this.getBounds(), W = this._checkVisibility(D, T, c);
805
+ if (W !== this.visible) {
806
+ this.visible = W;
807
+ var B = this._toggleCallback();
808
+ B instanceof Promise ? B.then(this._toggleClass.bind(this)).catch(function(jt) {
809
+ console.error("Trigger promise failed"), console.error(jt);
810
810
  }) : this._toggleClass(), this.visible && this.once && (this.active = !1);
811
- } else if (B && typeof this.toggle.callback.visible == "function")
811
+ } else if (W && typeof this.toggle.callback.visible == "function")
812
812
  return this.toggle.callback.visible.call(this.element, this);
813
- return B;
813
+ return W;
814
814
  }
815
815
  /**
816
816
  * Get the bounds of this element
@@ -830,12 +830,12 @@ function Je() {
830
830
  */
831
831
  }, {
832
832
  key: "_getElementOffset",
833
- value: function(c, u) {
834
- var O = {
833
+ value: function(h, c) {
834
+ var w = {
835
835
  x: 0,
836
836
  y: 0
837
837
  };
838
- return typeof this.offset.element.x == "function" ? O.x = c.width * this.offset.element.x(this, c, u) : _(this.offset.element.x) ? O.x = c.width * this.offset.element.x : b(this.offset.element.x) && (O.x = this.offset.element.x), typeof this.offset.element.y == "function" ? O.y = c.height * this.offset.element.y(this, c, u) : _(this.offset.element.y) ? O.y = c.height * this.offset.element.y : b(this.offset.element.y) && (O.y = this.offset.element.y), O;
838
+ return typeof this.offset.element.x == "function" ? w.x = h.width * this.offset.element.x(this, h, c) : x(this.offset.element.x) ? w.x = h.width * this.offset.element.x : b(this.offset.element.x) && (w.x = this.offset.element.x), typeof this.offset.element.y == "function" ? w.y = h.height * this.offset.element.y(this, h, c) : x(this.offset.element.y) ? w.y = h.height * this.offset.element.y : b(this.offset.element.y) && (w.y = this.offset.element.y), w;
839
839
  }
840
840
  /**
841
841
  * Get the calculated offset to place on the viewport
@@ -846,12 +846,12 @@ function Je() {
846
846
  */
847
847
  }, {
848
848
  key: "_getViewportOffset",
849
- value: function(c, u) {
850
- var O = {
849
+ value: function(h, c) {
850
+ var w = {
851
851
  x: 0,
852
852
  y: 0
853
853
  };
854
- return typeof this.offset.viewport.x == "function" ? O.x = c.w * this.offset.viewport.x(this, c, u) : _(this.offset.viewport.x) ? O.x = c.w * this.offset.viewport.x : b(this.offset.viewport.x) && (O.x = this.offset.viewport.x), typeof this.offset.viewport.y == "function" ? O.y = c.h * this.offset.viewport.y(this, c, u) : _(this.offset.viewport.y) ? O.y = c.h * this.offset.viewport.y : b(this.offset.viewport.y) && (O.y = this.offset.viewport.y), O;
854
+ return typeof this.offset.viewport.x == "function" ? w.x = h.w * this.offset.viewport.x(this, h, c) : x(this.offset.viewport.x) ? w.x = h.w * this.offset.viewport.x : b(this.offset.viewport.x) && (w.x = this.offset.viewport.x), typeof this.offset.viewport.y == "function" ? w.y = h.h * this.offset.viewport.y(this, h, c) : x(this.offset.viewport.y) ? w.y = h.h * this.offset.viewport.y : b(this.offset.viewport.y) && (w.y = this.offset.viewport.y), w;
855
855
  }
856
856
  /**
857
857
  * Check the visibility of the trigger in the viewport, with offsets applied
@@ -863,9 +863,9 @@ function Je() {
863
863
  */
864
864
  }, {
865
865
  key: "_checkVisibility",
866
- value: function(c, u, O) {
867
- var I = this._getElementOffset(c, O), C = this._getViewportOffset(u, O), $ = !0;
868
- return c.left - C.x < -(c.width - I.x) && ($ = !1), c.left + C.x > u.w - I.x && ($ = !1), c.top - C.y < -(c.height - I.y) && ($ = !1), c.top + C.y > u.h - I.y && ($ = !1), $;
866
+ value: function(h, c, w) {
867
+ var C = this._getElementOffset(h, w), T = this._getViewportOffset(c, w), D = !0;
868
+ return h.left - T.x < -(h.width - C.x) && (D = !1), h.left + T.x > c.w - C.x && (D = !1), h.top - T.y < -(h.height - C.y) && (D = !1), h.top + T.y > c.h - C.y && (D = !1), D;
869
869
  }
870
870
  /**
871
871
  * Toggles the classes
@@ -874,19 +874,19 @@ function Je() {
874
874
  }, {
875
875
  key: "_toggleClass",
876
876
  value: function() {
877
- var c = this;
877
+ var h = this;
878
878
  if (this.visible) {
879
- Array.isArray(this.toggle.class.in) ? this.toggle.class.in.each(function(u) {
880
- c.element.classList.add(u);
881
- }) : this.element.classList.add(this.toggle.class.in), Array.isArray(this.toggle.class.out) ? this.toggle.class.out.each(function(u) {
882
- c.element.classList.remove(u);
879
+ Array.isArray(this.toggle.class.in) ? this.toggle.class.in.each(function(c) {
880
+ h.element.classList.add(c);
881
+ }) : this.element.classList.add(this.toggle.class.in), Array.isArray(this.toggle.class.out) ? this.toggle.class.out.each(function(c) {
882
+ h.element.classList.remove(c);
883
883
  }) : this.element.classList.remove(this.toggle.class.out);
884
884
  return;
885
885
  }
886
- Array.isArray(this.toggle.class.in) ? this.toggle.class.in.each(function(u) {
887
- c.element.classList.remove(u);
888
- }) : this.element.classList.remove(this.toggle.class.in), Array.isArray(this.toggle.class.out) ? this.toggle.class.out.each(function(u) {
889
- c.element.classList.add(u);
886
+ Array.isArray(this.toggle.class.in) ? this.toggle.class.in.each(function(c) {
887
+ h.element.classList.remove(c);
888
+ }) : this.element.classList.remove(this.toggle.class.in), Array.isArray(this.toggle.class.out) ? this.toggle.class.out.each(function(c) {
889
+ h.element.classList.add(c);
890
890
  }) : this.element.classList.add(this.toggle.class.out);
891
891
  }
892
892
  /**
@@ -903,33 +903,33 @@ function Je() {
903
903
  } else if (typeof this.toggle.callback.out == "function")
904
904
  return this.toggle.callback.out.call(this.element, this);
905
905
  }
906
- }]), T;
906
+ }]), O;
907
907
  })();
908
- function P(T, v) {
909
- if (!(T instanceof v))
908
+ function M(O, y) {
909
+ if (!(O instanceof y))
910
910
  throw new TypeError("Cannot call a class as a function");
911
911
  }
912
- function M(T, v) {
913
- for (var c = 0; c < v.length; c++) {
914
- var u = v[c];
915
- u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(T, u.key, u);
912
+ function Y(O, y) {
913
+ for (var h = 0; h < y.length; h++) {
914
+ var c = y[h];
915
+ c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(O, c.key, c);
916
916
  }
917
917
  }
918
- function dt(T, v, c) {
919
- return v && M(T.prototype, v), T;
918
+ function et(O, y, h) {
919
+ return y && Y(O.prototype, y), O;
920
920
  }
921
- var et = /* @__PURE__ */ (function() {
922
- function T(v) {
923
- P(this, T), this.triggers = v instanceof Array ? v : [];
921
+ var st = /* @__PURE__ */ (function() {
922
+ function O(y) {
923
+ M(this, O), this.triggers = y instanceof Array ? y : [];
924
924
  }
925
- return dt(T, [{
925
+ return et(O, [{
926
926
  key: "add",
927
- value: function(c) {
928
- var u = this;
929
- if (c instanceof q)
930
- return this.triggers.push(c);
931
- c.each(function(O) {
932
- O instanceof q ? u.triggers.push(O) : console.error("Object added to TriggerCollection is not a Trigger. Object: ", O);
927
+ value: function(h) {
928
+ var c = this;
929
+ if (h instanceof L)
930
+ return this.triggers.push(h);
931
+ h.each(function(w) {
932
+ w instanceof L ? c.triggers.push(w) : console.error("Object added to TriggerCollection is not a Trigger. Object: ", w);
933
933
  });
934
934
  }
935
935
  /**
@@ -938,12 +938,12 @@ function Je() {
938
938
  */
939
939
  }, {
940
940
  key: "remove",
941
- value: function(c) {
942
- c instanceof q && (c = [c]), this.triggers = this.triggers.filter(function(u) {
943
- var O = !1;
944
- return c.each(function(I) {
945
- I == u && (O = !0);
946
- }), !O;
941
+ value: function(h) {
942
+ h instanceof L && (h = [h]), this.triggers = this.triggers.filter(function(c) {
943
+ var w = !1;
944
+ return h.each(function(C) {
945
+ C == c && (w = !0);
946
+ }), !w;
947
947
  });
948
948
  }
949
949
  /**
@@ -953,10 +953,10 @@ function Je() {
953
953
  */
954
954
  }, {
955
955
  key: "query",
956
- value: function(c) {
957
- return this.triggers.filter(function(u) {
958
- var O = u.element, I = O.parentNode, C = [].slice.call(I.querySelectorAll(c));
959
- return C.indexOf(O) > -1;
956
+ value: function(h) {
957
+ return this.triggers.filter(function(c) {
958
+ var w = c.element, C = w.parentNode, T = [].slice.call(C.querySelectorAll(h));
959
+ return T.indexOf(w) > -1;
960
960
  });
961
961
  }
962
962
  /**
@@ -966,17 +966,17 @@ function Je() {
966
966
  */
967
967
  }, {
968
968
  key: "search",
969
- value: function(c) {
970
- var u = this.triggers.filter(function(O) {
971
- if (c instanceof NodeList || Array.isArray(c)) {
972
- var I = !1;
973
- return c.each(function(C) {
974
- O.element == C && (I = !0);
975
- }), I;
969
+ value: function(h) {
970
+ var c = this.triggers.filter(function(w) {
971
+ if (h instanceof NodeList || Array.isArray(h)) {
972
+ var C = !1;
973
+ return h.each(function(T) {
974
+ w.element == T && (C = !0);
975
+ }), C;
976
976
  }
977
- return O.element == c;
977
+ return w.element == h;
978
978
  });
979
- return u.length == 0 ? null : u.length > 1 ? u : u[0];
979
+ return c.length == 0 ? null : c.length > 1 ? c : c[0];
980
980
  }
981
981
  /**
982
982
  * Calls a function on all triggers
@@ -984,34 +984,34 @@ function Je() {
984
984
  */
985
985
  }, {
986
986
  key: "call",
987
- value: function(c) {
988
- this.triggers.each(c);
987
+ value: function(h) {
988
+ this.triggers.each(h);
989
989
  }
990
- }]), T;
990
+ }]), O;
991
991
  })();
992
- function It(T, v) {
993
- if (!(T instanceof v))
992
+ function Dt(O, y) {
993
+ if (!(O instanceof y))
994
994
  throw new TypeError("Cannot call a class as a function");
995
995
  }
996
- function _t(T, v) {
997
- for (var c = 0; c < v.length; c++) {
998
- var u = v[c];
999
- u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(T, u.key, u);
996
+ function St(O, y) {
997
+ for (var h = 0; h < y.length; h++) {
998
+ var c = y[h];
999
+ c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(O, c.key, c);
1000
1000
  }
1001
1001
  }
1002
- function jt(T, v, c) {
1003
- return v && _t(T.prototype, v), T;
1002
+ function _t(O, y, h) {
1003
+ return y && St(O.prototype, y), O;
1004
1004
  }
1005
- var Ct = /* @__PURE__ */ (function() {
1006
- function T(v, c) {
1007
- It(this, T), this._parseOptions(v), typeof c == "function" && (this.callback = c), this.direction = "none", this.position = this.getPosition(), this.lastAction = this._getTimestamp(), this._startRun(), this._boundListener = this._didScroll.bind(this), this.element.addEventListener("scroll", this._boundListener);
1005
+ var Tt = /* @__PURE__ */ (function() {
1006
+ function O(y, h) {
1007
+ Dt(this, O), this._parseOptions(y), typeof h == "function" && (this.callback = h), this.direction = "none", this.position = this.getPosition(), this.lastAction = this._getTimestamp(), this._startRun(), this._boundListener = this._didScroll.bind(this), this.element.addEventListener("scroll", this._boundListener);
1008
1008
  }
1009
- return jt(T, [{
1009
+ return _t(O, [{
1010
1010
  key: "_parseOptions",
1011
- value: function(c) {
1012
- var u = new n().scroll;
1013
- typeof c != "function" ? (u.callback = function() {
1014
- }, u = a()(u, c)) : u.callback = c, this.element = u.element, this.sustain = u.sustain, this.callback = u.callback, this.startCallback = u.start, this.stopCallback = u.stop, this.directionChange = u.directionChange;
1011
+ value: function(h) {
1012
+ var c = new n().scroll;
1013
+ typeof h != "function" ? (c.callback = function() {
1014
+ }, c = a()(c, h)) : c.callback = h, this.element = c.element, this.sustain = c.sustain, this.callback = c.callback, this.startCallback = c.start, this.stopCallback = c.stop, this.directionChange = c.directionChange;
1015
1015
  }
1016
1016
  /**
1017
1017
  * Callback when the user scrolled the element
@@ -1020,10 +1020,10 @@ function Je() {
1020
1020
  }, {
1021
1021
  key: "_didScroll",
1022
1022
  value: function() {
1023
- var c = this.getPosition();
1024
- if (this.position !== c) {
1025
- var u = this.direction;
1026
- c.x !== this.position.x ? u = c.x > this.position.x ? "right" : "left" : c.y !== this.position.y ? u = c.y > this.position.y ? "bottom" : "top" : u = "none", u !== this.direction && (this.direction = u, typeof this.directionChange == "function" && this.directionChange(this.direction)), this.position = c, this.lastAction = this._getTimestamp();
1023
+ var h = this.getPosition();
1024
+ if (this.position !== h) {
1025
+ var c = this.direction;
1026
+ h.x !== this.position.x ? c = h.x > this.position.x ? "right" : "left" : h.y !== this.position.y ? c = h.y > this.position.y ? "bottom" : "top" : c = "none", c !== this.direction && (this.direction = c, typeof this.directionChange == "function" && this.directionChange(this.direction)), this.position = h, this.lastAction = this._getTimestamp();
1027
1027
  } else
1028
1028
  this.direction = "none";
1029
1029
  this.running || this._startRun();
@@ -1053,10 +1053,10 @@ function Je() {
1053
1053
  }, {
1054
1054
  key: "getPosition",
1055
1055
  value: function() {
1056
- var c = this.element.pageXOffset || this.element.scrollLeft || document.documentElement.scrollLeft || 0, u = this.element.pageYOffset || this.element.scrollTop || document.documentElement.scrollTop || 0;
1056
+ var h = this.element.pageXOffset || this.element.scrollLeft || document.documentElement.scrollLeft || 0, c = this.element.pageYOffset || this.element.scrollTop || document.documentElement.scrollTop || 0;
1057
1057
  return {
1058
- x: c,
1059
- y: u
1058
+ x: h,
1059
+ y: c
1060
1060
  };
1061
1061
  }
1062
1062
  /**
@@ -1077,8 +1077,8 @@ function Je() {
1077
1077
  key: "_tick",
1078
1078
  value: function() {
1079
1079
  this.callback(this.position, this.direction);
1080
- var c = this._getTimestamp();
1081
- c - this.lastAction > this.sustain && this._stopRun(), this.running && this._loop();
1080
+ var h = this._getTimestamp();
1081
+ h - this.lastAction > this.sustain && this._stopRun(), this.running && this._loop();
1082
1082
  }
1083
1083
  /**
1084
1084
  * Requests an animation frame
@@ -1087,10 +1087,10 @@ function Je() {
1087
1087
  }, {
1088
1088
  key: "_loop",
1089
1089
  value: function() {
1090
- var c = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || function(u) {
1091
- setTimeout(u, 16.666666666666668);
1090
+ var h = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || function(c) {
1091
+ setTimeout(c, 16.666666666666668);
1092
1092
  };
1093
- c(this._tick.bind(this));
1093
+ h(this._tick.bind(this));
1094
1094
  }
1095
1095
  /**
1096
1096
  * Kills the loop forever
@@ -1100,29 +1100,29 @@ function Je() {
1100
1100
  value: function() {
1101
1101
  this.running = !1, this.element.removeEventListener("scroll", this._boundListener);
1102
1102
  }
1103
- }]), T;
1103
+ }]), O;
1104
1104
  })();
1105
1105
  t.d(s, "Trigger", function() {
1106
- return L;
1106
+ return E;
1107
1107
  }), t.d(s, "TriggerCollection", function() {
1108
1108
  return j;
1109
1109
  }), t.d(s, "ScrollAnimationLoop", function() {
1110
- return D;
1110
+ return q;
1111
1111
  }), t.d(s, "default", function() {
1112
- return st;
1112
+ return J;
1113
1113
  });
1114
- function l(T, v) {
1115
- if (!(T instanceof v))
1114
+ function l(O, y) {
1115
+ if (!(O instanceof y))
1116
1116
  throw new TypeError("Cannot call a class as a function");
1117
1117
  }
1118
- function g(T, v) {
1119
- for (var c = 0; c < v.length; c++) {
1120
- var u = v[c];
1121
- u.enumerable = u.enumerable || !1, u.configurable = !0, "value" in u && (u.writable = !0), Object.defineProperty(T, u.key, u);
1118
+ function f(O, y) {
1119
+ for (var h = 0; h < y.length; h++) {
1120
+ var c = y[h];
1121
+ c.enumerable = c.enumerable || !1, c.configurable = !0, "value" in c && (c.writable = !0), Object.defineProperty(O, c.key, c);
1122
1122
  }
1123
1123
  }
1124
- function E(T, v, c) {
1125
- return v && g(T.prototype, v), T;
1124
+ function S(O, y, h) {
1125
+ return y && f(O.prototype, y), O;
1126
1126
  }
1127
1127
  /*!
1128
1128
  * ScrollTrigger
@@ -1135,14 +1135,14 @@ function Je() {
1135
1135
  *
1136
1136
  * Date: 2017-07-09
1137
1137
  */
1138
- var L = q, j = et, D = Ct, st = /* @__PURE__ */ (function() {
1139
- function T(v) {
1140
- l(this, T), this._parseOptions(v), this._initCollection(), this._initLoop();
1138
+ var E = L, j = st, q = Tt, J = /* @__PURE__ */ (function() {
1139
+ function O(y) {
1140
+ l(this, O), this._parseOptions(y), this._initCollection(), this._initLoop();
1141
1141
  }
1142
- return E(T, [{
1142
+ return S(O, [{
1143
1143
  key: "_parseOptions",
1144
- value: function(c) {
1145
- c = a()(new n(), c), this.defaultTrigger = c.trigger, this.scrollOptions = c.scroll;
1144
+ value: function(h) {
1145
+ h = a()(new n(), h), this.defaultTrigger = h.trigger, this.scrollOptions = h.scroll;
1146
1146
  }
1147
1147
  /**
1148
1148
  * Initializes the collection, picks all [data-scroll] elements as initial elements
@@ -1151,8 +1151,8 @@ function Je() {
1151
1151
  }, {
1152
1152
  key: "_initCollection",
1153
1153
  value: function() {
1154
- var c = document.querySelectorAll("[data-scroll]"), u = [];
1155
- c.length > 0 && (u = this.createTriggers(c)), this.collection = new j(u);
1154
+ var h = document.querySelectorAll("[data-scroll]"), c = [];
1155
+ h.length > 0 && (c = this.createTriggers(h)), this.collection = new j(c);
1156
1156
  }
1157
1157
  /**
1158
1158
  * Initializes the scroll loop
@@ -1161,21 +1161,21 @@ function Je() {
1161
1161
  }, {
1162
1162
  key: "_initLoop",
1163
1163
  value: function() {
1164
- var c = this;
1165
- this.loop = new D({
1164
+ var h = this;
1165
+ this.loop = new q({
1166
1166
  sustain: this.scrollOptions.sustain,
1167
1167
  element: this.scrollOptions.element,
1168
- callback: function(O, I) {
1169
- c._scrollCallback(O, I);
1168
+ callback: function(w, C) {
1169
+ h._scrollCallback(w, C);
1170
1170
  },
1171
1171
  start: function() {
1172
- c._scrollStart();
1172
+ h._scrollStart();
1173
1173
  },
1174
1174
  stop: function() {
1175
- c._scrollStop();
1175
+ h._scrollStop();
1176
1176
  },
1177
- directionChange: function(O) {
1178
- c._scrollDirectionChange(O);
1177
+ directionChange: function(w) {
1178
+ h._scrollDirectionChange(w);
1179
1179
  }
1180
1180
  });
1181
1181
  }
@@ -1187,11 +1187,11 @@ function Je() {
1187
1187
  */
1188
1188
  }, {
1189
1189
  key: "_scrollCallback",
1190
- value: function(c, u) {
1191
- var O = this;
1192
- this.collection.call(function(I) {
1193
- I.checkVisibility(O.scrollOptions.element, u);
1194
- }), this.scrollOptions.callback(c, u);
1190
+ value: function(h, c) {
1191
+ var w = this;
1192
+ this.collection.call(function(C) {
1193
+ C.checkVisibility(w.scrollOptions.element, c);
1194
+ }), this.scrollOptions.callback(h, c);
1195
1195
  }
1196
1196
  /**
1197
1197
  * When the scrolling started
@@ -1218,8 +1218,8 @@ function Je() {
1218
1218
  */
1219
1219
  }, {
1220
1220
  key: "_scrollDirectionChange",
1221
- value: function(c) {
1222
- this.scrollOptions.directionChange(c);
1221
+ value: function(h) {
1222
+ this.scrollOptions.directionChange(h);
1223
1223
  }
1224
1224
  /**
1225
1225
  * Creates a Trigger object from a given element and optional option set
@@ -1229,8 +1229,8 @@ function Je() {
1229
1229
  */
1230
1230
  }, {
1231
1231
  key: "createTrigger",
1232
- value: function(c, u) {
1233
- return new L(c, a()(this.defaultTrigger, u));
1232
+ value: function(h, c) {
1233
+ return new E(h, a()(this.defaultTrigger, c));
1234
1234
  }
1235
1235
  /**
1236
1236
  * Creates an array of triggers
@@ -1240,11 +1240,11 @@ function Je() {
1240
1240
  */
1241
1241
  }, {
1242
1242
  key: "createTriggers",
1243
- value: function(c, u) {
1244
- var O = this, I = [];
1245
- return c.each(function(C) {
1246
- I.push(O.createTrigger(C, u));
1247
- }), I;
1243
+ value: function(h, c) {
1244
+ var w = this, C = [];
1245
+ return h.each(function(T) {
1246
+ C.push(w.createTrigger(T, c));
1247
+ }), C;
1248
1248
  }
1249
1249
  /**
1250
1250
  * Adds triggers
@@ -1254,8 +1254,8 @@ function Je() {
1254
1254
  */
1255
1255
  }, {
1256
1256
  key: "add",
1257
- value: function(c, u) {
1258
- return c instanceof HTMLElement ? (this.collection.add(this.createTrigger(c, u)), this) : c instanceof L ? (this.collection.add(c), this) : c instanceof NodeList ? (this.collection.add(this.createTriggers(c, u)), this) : Array.isArray(c) && c.length && c[0] instanceof L ? (this.collection.add(c), this) : Array.isArray(c) && c.length && c[0] instanceof HTMLElement ? (this.collection.add(this.createTriggers(c, u)), this) : (this.collection.add(this.createTriggers(document.querySelectorAll(c), u)), this);
1257
+ value: function(h, c) {
1258
+ return h instanceof HTMLElement ? (this.collection.add(this.createTrigger(h, c)), this) : h instanceof E ? (this.collection.add(h), this) : h instanceof NodeList ? (this.collection.add(this.createTriggers(h, c)), this) : Array.isArray(h) && h.length && h[0] instanceof E ? (this.collection.add(h), this) : Array.isArray(h) && h.length && h[0] instanceof HTMLElement ? (this.collection.add(this.createTriggers(h, c)), this) : (this.collection.add(this.createTriggers(document.querySelectorAll(h), c)), this);
1259
1259
  }
1260
1260
  /**
1261
1261
  * Removes triggers
@@ -1264,8 +1264,8 @@ function Je() {
1264
1264
  */
1265
1265
  }, {
1266
1266
  key: "remove",
1267
- value: function(c) {
1268
- return c instanceof L ? (this.collection.remove(c), this) : Array.isArray(c) && c.length && c[0] instanceof L ? (this.collection.remove(c), this) : c instanceof HTMLElement ? (this.collection.remove(this.search(c)), this) : Array.isArray(c) && c.length && c[0] instanceof HTMLElement ? (this.collection.remove(this.search(c)), this) : c instanceof NodeList ? (this.collection.remove(this.search(c)), this) : Array.isArray(c) && c.length && c[0] instanceof L ? (this.collection.remove(c), this) : (this.collection.remove(this.query(c.toString())), this);
1267
+ value: function(h) {
1268
+ return h instanceof E ? (this.collection.remove(h), this) : Array.isArray(h) && h.length && h[0] instanceof E ? (this.collection.remove(h), this) : h instanceof HTMLElement ? (this.collection.remove(this.search(h)), this) : Array.isArray(h) && h.length && h[0] instanceof HTMLElement ? (this.collection.remove(this.search(h)), this) : h instanceof NodeList ? (this.collection.remove(this.search(h)), this) : Array.isArray(h) && h.length && h[0] instanceof E ? (this.collection.remove(h), this) : (this.collection.remove(this.query(h.toString())), this);
1269
1269
  }
1270
1270
  /**
1271
1271
  * Lookup one or multiple triggers by a query string
@@ -1274,8 +1274,8 @@ function Je() {
1274
1274
  */
1275
1275
  }, {
1276
1276
  key: "query",
1277
- value: function(c) {
1278
- return this.collection.query(c);
1277
+ value: function(h) {
1278
+ return this.collection.query(h);
1279
1279
  }
1280
1280
  /**
1281
1281
  * Lookup one or multiple triggers by a certain HTMLElement or NodeList
@@ -1284,8 +1284,8 @@ function Je() {
1284
1284
  */
1285
1285
  }, {
1286
1286
  key: "search",
1287
- value: function(c) {
1288
- return this.collection.search(c);
1287
+ value: function(h) {
1288
+ return this.collection.search(h);
1289
1289
  }
1290
1290
  /**
1291
1291
  * Reattaches the scroll listener
@@ -1303,17 +1303,17 @@ function Je() {
1303
1303
  value: function() {
1304
1304
  this.loop.kill(), this.loop = null;
1305
1305
  }
1306
- }]), T;
1306
+ }]), O;
1307
1307
  })();
1308
1308
  })
1309
1309
  /******/
1310
1310
  ])
1311
1311
  );
1312
1312
  });
1313
- })(ve)), ve.exports;
1313
+ })(ye)), ye.exports;
1314
1314
  }
1315
- var ti = Je();
1316
- const ei = /* @__PURE__ */ be(ti), Le = Date.now();
1315
+ var Ke = Qe();
1316
+ const Je = /* @__PURE__ */ Ae(Ke), ke = Date.now();
1317
1317
  function Rt() {
1318
1318
  let o = {}, e = !0, i = 0, s = arguments.length;
1319
1319
  Object.prototype.toString.call(arguments[0]) === "[object Boolean]" && (e = arguments[0], i++);
@@ -1327,52 +1327,52 @@ function Rt() {
1327
1327
  }
1328
1328
  return o;
1329
1329
  }
1330
- function At(o, e) {
1331
- if (($t(o) || o === window || o === document) && (o = [o]), !Me(o) && !Qt(o) && (o = [o]), Re(o) != 0) {
1332
- if (Me(o) && !Qt(o)) {
1330
+ function lt(o, e) {
1331
+ if (($t(o) || o === window || o === document) && (o = [o]), !Ye(o) && !Qt(o) && (o = [o]), We(o) != 0) {
1332
+ if (Ye(o) && !Qt(o)) {
1333
1333
  let i = o.length, s = 0;
1334
1334
  for (; s < i && e.call(o[s], o[s], s, o) !== !1; s++)
1335
1335
  ;
1336
1336
  } else if (Qt(o)) {
1337
1337
  for (let i in o)
1338
- if (Lt(o, i) && e.call(o[i], o[i], i, o) === !1)
1338
+ if (Ot(o, i) && e.call(o[i], o[i], i, o) === !1)
1339
1339
  break;
1340
1340
  }
1341
1341
  }
1342
1342
  }
1343
1343
  function Ie(o, e = null, i = null) {
1344
- const s = o[Le] = o[Le] || [], t = { all: s, evt: null, found: null };
1345
- return e && i && Re(s) > 0 && At(s, (n, r) => {
1344
+ const s = o[ke] = o[ke] || [], t = { all: s, evt: null, found: null };
1345
+ return e && i && We(s) > 0 && lt(s, (n, r) => {
1346
1346
  if (n.eventName == e && n.fn.toString() == i.toString())
1347
1347
  return t.found = !0, t.evt = r, !1;
1348
1348
  }), t;
1349
1349
  }
1350
- function Bt(o, { onElement: e, withCallback: i, avoidDuplicate: s = !0, once: t = !1, useCapture: n = !1 } = {}, r) {
1350
+ function Wt(o, { onElement: e, withCallback: i, avoidDuplicate: s = !0, once: t = !1, useCapture: n = !1 } = {}, r) {
1351
1351
  let a = e || [];
1352
1352
  Kt(a) && (a = document.querySelectorAll(a));
1353
- function f(d) {
1354
- rt(i) && i.call(r, d, this), t && f.destroy();
1353
+ function u(d) {
1354
+ F(i) && i.call(r, d, this), t && u.destroy();
1355
1355
  }
1356
- return f.destroy = function() {
1357
- At(a, (d) => {
1358
- const y = Ie(d, o, f);
1359
- y.found && y.all.splice(y.evt, 1), d.removeEventListener && d.removeEventListener(o, f, n);
1356
+ return u.destroy = function() {
1357
+ lt(a, (d) => {
1358
+ const m = Ie(d, o, u);
1359
+ m.found && m.all.splice(m.evt, 1), d.removeEventListener && d.removeEventListener(o, u, n);
1360
1360
  });
1361
- }, At(a, (d) => {
1362
- const y = Ie(d, o, f);
1363
- (d.addEventListener && s && !y.found || !s) && (d.addEventListener(o, f, n), y.all.push({ eventName: o, fn: f }));
1364
- }), f;
1361
+ }, lt(a, (d) => {
1362
+ const m = Ie(d, o, u);
1363
+ (d.addEventListener && s && !m.found || !s) && (d.addEventListener(o, u, n), m.all.push({ eventName: o, fn: u }));
1364
+ }), u;
1365
1365
  }
1366
- function Z(o, e) {
1367
- At(e.split(" "), (i) => o.classList.add(i));
1366
+ function z(o, e) {
1367
+ lt(e.split(" "), (i) => o.classList.add(i));
1368
1368
  }
1369
- function kt(o, e) {
1370
- At(e.split(" "), (i) => o.classList.remove(i));
1369
+ function xt(o, e) {
1370
+ lt(e.split(" "), (i) => o.classList.remove(i));
1371
1371
  }
1372
- function Pt(o, e) {
1372
+ function Lt(o, e) {
1373
1373
  return o.classList.contains(e);
1374
1374
  }
1375
- function Wt(o, e) {
1375
+ function Bt(o, e) {
1376
1376
  for (; o !== document.body; ) {
1377
1377
  if (o = o.parentElement, !o)
1378
1378
  return !1;
@@ -1384,18 +1384,18 @@ function Gt(o, e = "", i = !1) {
1384
1384
  if (!o || e === "")
1385
1385
  return !1;
1386
1386
  if (e === "none")
1387
- return rt(i) && i(), !1;
1388
- const s = ii(), t = e.split(" ");
1389
- At(t, (n) => {
1390
- Z(o, "g" + n);
1391
- }), Bt(s, {
1387
+ return F(i) && i(), !1;
1388
+ const s = ti(), t = e.split(" ");
1389
+ lt(t, (n) => {
1390
+ z(o, "g" + n);
1391
+ }), Wt(s, {
1392
1392
  onElement: o,
1393
1393
  avoidDuplicate: !1,
1394
1394
  once: !0,
1395
1395
  withCallback: (n, r) => {
1396
- At(t, (a) => {
1397
- kt(r, "g" + a);
1398
- }), rt(i) && i();
1396
+ lt(t, (a) => {
1397
+ xt(r, "g" + a);
1398
+ }), F(i) && i();
1399
1399
  }
1400
1400
  });
1401
1401
  }
@@ -1404,10 +1404,10 @@ function ge(o, e = "") {
1404
1404
  return o.style.webkitTransform = "", o.style.MozTransform = "", o.style.msTransform = "", o.style.OTransform = "", o.style.transform = "", !1;
1405
1405
  o.style.webkitTransform = e, o.style.MozTransform = e, o.style.msTransform = e, o.style.OTransform = e, o.style.transform = e;
1406
1406
  }
1407
- function Ve(o) {
1407
+ function Le(o) {
1408
1408
  o.style.display = "block";
1409
1409
  }
1410
- function we(o) {
1410
+ function ve(o) {
1411
1411
  o.style.display = "none";
1412
1412
  }
1413
1413
  function Ut(o) {
@@ -1416,13 +1416,13 @@ function Ut(o) {
1416
1416
  e.appendChild(i.firstChild);
1417
1417
  return e;
1418
1418
  }
1419
- function Be() {
1419
+ function Xe() {
1420
1420
  return {
1421
1421
  width: window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth,
1422
1422
  height: window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
1423
1423
  };
1424
1424
  }
1425
- function ii() {
1425
+ function ti() {
1426
1426
  let o, e = document.createElement("fakeelement"), i = {
1427
1427
  animation: "animationend",
1428
1428
  OAnimation: "oAnimationEnd",
@@ -1433,7 +1433,7 @@ function ii() {
1433
1433
  if (e.style[o] !== void 0)
1434
1434
  return i[o];
1435
1435
  }
1436
- function si() {
1436
+ function ei() {
1437
1437
  let o, e = document.createElement("fakeelement");
1438
1438
  const i = {
1439
1439
  transition: "transitionend",
@@ -1445,13 +1445,13 @@ function si() {
1445
1445
  if (e.style[o] !== void 0)
1446
1446
  return i[o];
1447
1447
  }
1448
- function ni(o) {
1448
+ function ii(o) {
1449
1449
  let { url: e, allow: i, callback: s, appendTo: t } = o, n = document.createElement("iframe");
1450
1450
  return n.className = "vimeo-video gvideo", n.src = e, n.style.width = "100%", n.style.height = "100%", i && n.setAttribute("allow", i), n.onload = function() {
1451
- n.onload = null, Z(n, "node-ready"), rt(s) && s();
1451
+ n.onload = null, z(n, "node-ready"), F(s) && s();
1452
1452
  }, t && t.appendChild(n), n;
1453
1453
  }
1454
- function Se(o, e, i, s) {
1454
+ function xe(o, e, i, s) {
1455
1455
  if (o()) {
1456
1456
  e();
1457
1457
  return;
@@ -1461,29 +1461,29 @@ function Se(o, e, i, s) {
1461
1461
  o() && (clearInterval(t), e());
1462
1462
  }, i);
1463
1463
  }
1464
- function Ye(o, e, i) {
1464
+ function Ve(o, e, i) {
1465
1465
  if (Xt(o)) {
1466
1466
  console.error("Inject assets error");
1467
1467
  return;
1468
1468
  }
1469
- if (rt(e) && (i = e, e = !1), Kt(e) && e in window) {
1470
- rt(i) && i();
1469
+ if (F(e) && (i = e, e = !1), Kt(e) && e in window) {
1470
+ F(i) && i();
1471
1471
  return;
1472
1472
  }
1473
1473
  let s;
1474
1474
  if (o.indexOf(".css") !== -1) {
1475
1475
  if (s = document.querySelectorAll('link[href="' + o + '"]'), s && s.length > 0) {
1476
- rt(i) && i();
1476
+ F(i) && i();
1477
1477
  return;
1478
1478
  }
1479
1479
  const n = document.getElementsByTagName("head")[0], r = n.querySelectorAll('link[rel="stylesheet"]'), a = document.createElement("link");
1480
- a.rel = "stylesheet", a.type = "text/css", a.href = o, a.media = "all", r ? n.insertBefore(a, r[0]) : n.appendChild(a), rt(i) && i();
1480
+ a.rel = "stylesheet", a.type = "text/css", a.href = o, a.media = "all", r ? n.insertBefore(a, r[0]) : n.appendChild(a), F(i) && i();
1481
1481
  return;
1482
1482
  }
1483
1483
  if (s = document.querySelectorAll('script[src="' + o + '"]'), s && s.length > 0) {
1484
- if (rt(i)) {
1484
+ if (F(i)) {
1485
1485
  if (Kt(e))
1486
- return Se(
1486
+ return xe(
1487
1487
  () => typeof window[e] < "u",
1488
1488
  () => {
1489
1489
  i();
@@ -1495,9 +1495,9 @@ function Ye(o, e, i) {
1495
1495
  }
1496
1496
  let t = document.createElement("script");
1497
1497
  t.type = "text/javascript", t.src = o, t.onload = () => {
1498
- if (rt(i)) {
1498
+ if (F(i)) {
1499
1499
  if (Kt(e))
1500
- return Se(
1500
+ return xe(
1501
1501
  () => typeof window[e] < "u",
1502
1502
  () => {
1503
1503
  i();
@@ -1507,13 +1507,13 @@ function Ye(o, e, i) {
1507
1507
  }
1508
1508
  }, document.body.appendChild(t);
1509
1509
  }
1510
- function _e() {
1510
+ function Se() {
1511
1511
  return typeof window > "u" ? !1 : "navigator" in window && window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i);
1512
1512
  }
1513
- function ai() {
1514
- return typeof document > "u" ? !1 : _e() !== null || document.createTouch !== void 0 || "ontouchstart" in window || "onmsgesturechange" in window || navigator.msMaxTouchPoints;
1513
+ function si() {
1514
+ return typeof document > "u" ? !1 : Se() !== null || document.createTouch !== void 0 || "ontouchstart" in window || "onmsgesturechange" in window || navigator.msMaxTouchPoints;
1515
1515
  }
1516
- function rt(o) {
1516
+ function F(o) {
1517
1517
  return typeof o == "function";
1518
1518
  }
1519
1519
  function Kt(o) {
@@ -1522,28 +1522,28 @@ function Kt(o) {
1522
1522
  function $t(o) {
1523
1523
  return !!(o && o.nodeType && o.nodeType == 1);
1524
1524
  }
1525
- function We(o) {
1525
+ function He(o) {
1526
1526
  return Array.isArray(o);
1527
1527
  }
1528
- function Me(o) {
1528
+ function Ye(o) {
1529
1529
  return o && o.length && isFinite(o.length);
1530
1530
  }
1531
1531
  function Qt(o) {
1532
- return typeof o === "object" && o != null && !rt(o) && !We(o);
1532
+ return typeof o === "object" && o != null && !F(o) && !He(o);
1533
1533
  }
1534
1534
  function Xt(o) {
1535
1535
  return o == null;
1536
1536
  }
1537
- function Lt(o, e) {
1537
+ function Ot(o, e) {
1538
1538
  return o !== null && hasOwnProperty.call(o, e);
1539
1539
  }
1540
- function Re(o) {
1540
+ function We(o) {
1541
1541
  if (Qt(o)) {
1542
1542
  if (o.keys)
1543
1543
  return o.keys().length;
1544
1544
  let e = 0;
1545
1545
  for (let i in o)
1546
- Lt(o, i) && e++;
1546
+ Ot(o, i) && e++;
1547
1547
  return e;
1548
1548
  } else
1549
1549
  return o.length;
@@ -1559,7 +1559,7 @@ function qe(o = -1) {
1559
1559
  return e[0];
1560
1560
  typeof o == "string" && (o = parseInt(o));
1561
1561
  const i = [];
1562
- At(e, (a) => {
1562
+ lt(e, (a) => {
1563
1563
  i.push(a.getAttribute("data-taborder"));
1564
1564
  });
1565
1565
  const s = Math.max.apply(Math, i.map((a) => parseInt(a)));
@@ -1568,10 +1568,10 @@ function qe(o = -1) {
1568
1568
  const r = i.filter((a) => a >= parseInt(t)).sort()[0];
1569
1569
  return document.querySelector(`.gbtn[data-taborder="${r}"]`);
1570
1570
  }
1571
- function ri(o) {
1571
+ function ni(o) {
1572
1572
  if (o.events.hasOwnProperty("keyboard"))
1573
1573
  return !1;
1574
- o.events.keyboard = Bt("keydown", {
1574
+ o.events.keyboard = Wt("keydown", {
1575
1575
  onElement: window,
1576
1576
  withCallback: (e, i) => {
1577
1577
  e = e || window.event;
@@ -1579,8 +1579,8 @@ function ri(o) {
1579
1579
  if (s == 9) {
1580
1580
  const t = document.querySelector(".gbtn.focused");
1581
1581
  if (!t) {
1582
- const f = document.activeElement && document.activeElement.nodeName ? document.activeElement.nodeName.toLocaleLowerCase() : !1;
1583
- if (f == "input" || f == "textarea" || f == "button")
1582
+ const u = document.activeElement && document.activeElement.nodeName ? document.activeElement.nodeName.toLocaleLowerCase() : !1;
1583
+ if (u == "input" || u == "textarea" || u == "button")
1584
1584
  return;
1585
1585
  }
1586
1586
  e.preventDefault();
@@ -1588,12 +1588,12 @@ function ri(o) {
1588
1588
  if (!n || n.length <= 0)
1589
1589
  return;
1590
1590
  if (!t) {
1591
- const f = qe();
1592
- f && (f.focus(), Z(f, "focused"));
1591
+ const u = qe();
1592
+ u && (u.focus(), z(u, "focused"));
1593
1593
  return;
1594
1594
  }
1595
1595
  let r = t.getAttribute("data-taborder"), a = qe(r);
1596
- kt(t, "focused"), a && (a.focus(), Z(a, "focused"));
1596
+ xt(t, "focused"), a && (a.focus(), z(a, "focused"));
1597
1597
  }
1598
1598
  s == 39 && o.nextSlide(), s == 37 && o.prevSlide(), s == 27 && o.close();
1599
1599
  }
@@ -1602,24 +1602,24 @@ function ri(o) {
1602
1602
  function me(o) {
1603
1603
  return Math.sqrt(o.x * o.x + o.y * o.y);
1604
1604
  }
1605
- function oi(o, e) {
1605
+ function ai(o, e) {
1606
1606
  return o.x * e.x + o.y * e.y;
1607
1607
  }
1608
- function li(o, e) {
1608
+ function ri(o, e) {
1609
1609
  var i = me(o) * me(e);
1610
1610
  if (i === 0)
1611
1611
  return 0;
1612
- var s = oi(o, e) / i;
1612
+ var s = ai(o, e) / i;
1613
1613
  return s > 1 && (s = 1), Math.acos(s);
1614
1614
  }
1615
- function di(o, e) {
1615
+ function oi(o, e) {
1616
1616
  return o.x * e.y - e.x * o.y;
1617
1617
  }
1618
- function ci(o, e) {
1619
- var i = li(o, e);
1620
- return di(o, e) > 0 && (i *= -1), i * 180 / Math.PI;
1618
+ function li(o, e) {
1619
+ var i = ri(o, e);
1620
+ return oi(o, e) > 0 && (i *= -1), i * 180 / Math.PI;
1621
1621
  }
1622
- class hi {
1622
+ class di {
1623
1623
  constructor(e) {
1624
1624
  this.handlers = [], this.el = e;
1625
1625
  }
@@ -1638,16 +1638,16 @@ class hi {
1638
1638
  }
1639
1639
  }
1640
1640
  }
1641
- function zt(o, e) {
1642
- var i = new hi(o);
1641
+ function It(o, e) {
1642
+ var i = new di(o);
1643
1643
  return i.add(e), i;
1644
1644
  }
1645
- class ui {
1645
+ class hi {
1646
1646
  constructor(e, i) {
1647
1647
  this.element = typeof e == "string" ? document.querySelector(e) : e, this.start = this.start.bind(this), this.move = this.move.bind(this), this.end = this.end.bind(this), this.cancel = this.cancel.bind(this), this.element.addEventListener("touchstart", this.start, !1), this.element.addEventListener("touchmove", this.move, !1), this.element.addEventListener("touchend", this.end, !1), this.element.addEventListener("touchcancel", this.cancel, !1), this.preV = { x: null, y: null }, this.pinchStartLen = null, this.zoom = 1, this.isDoubleTap = !1;
1648
1648
  var s = function() {
1649
1649
  };
1650
- this.rotate = zt(this.element, i.rotate || s), this.touchStart = zt(this.element, i.touchStart || s), this.multipointStart = zt(this.element, i.multipointStart || s), this.multipointEnd = zt(this.element, i.multipointEnd || s), this.pinch = zt(this.element, i.pinch || s), this.swipe = zt(this.element, i.swipe || s), this.tap = zt(this.element, i.tap || s), this.doubleTap = zt(this.element, i.doubleTap || s), this.longTap = zt(this.element, i.longTap || s), this.singleTap = zt(this.element, i.singleTap || s), this.pressMove = zt(this.element, i.pressMove || s), this.twoFingerPressMove = zt(this.element, i.twoFingerPressMove || s), this.touchMove = zt(this.element, i.touchMove || s), this.touchEnd = zt(this.element, i.touchEnd || s), this.touchCancel = zt(this.element, i.touchCancel || s), this.translateContainer = this.element, this._cancelAllHandler = this.cancelAll.bind(this), window.addEventListener("scroll", this._cancelAllHandler), this.delta = null, this.last = null, this.now = null, this.tapTimeout = null, this.singleTapTimeout = null, this.longTapTimeout = null, this.swipeTimeout = null, this.x1 = this.x2 = this.y1 = this.y2 = null, this.preTapPosition = { x: null, y: null };
1650
+ this.rotate = It(this.element, i.rotate || s), this.touchStart = It(this.element, i.touchStart || s), this.multipointStart = It(this.element, i.multipointStart || s), this.multipointEnd = It(this.element, i.multipointEnd || s), this.pinch = It(this.element, i.pinch || s), this.swipe = It(this.element, i.swipe || s), this.tap = It(this.element, i.tap || s), this.doubleTap = It(this.element, i.doubleTap || s), this.longTap = It(this.element, i.longTap || s), this.singleTap = It(this.element, i.singleTap || s), this.pressMove = It(this.element, i.pressMove || s), this.twoFingerPressMove = It(this.element, i.twoFingerPressMove || s), this.touchMove = It(this.element, i.touchMove || s), this.touchEnd = It(this.element, i.touchEnd || s), this.touchCancel = It(this.element, i.touchCancel || s), this.translateContainer = this.element, this._cancelAllHandler = this.cancelAll.bind(this), window.addEventListener("scroll", this._cancelAllHandler), this.delta = null, this.last = null, this.now = null, this.tapTimeout = null, this.singleTapTimeout = null, this.longTapTimeout = null, this.swipeTimeout = null, this.x1 = this.x2 = this.y1 = this.y2 = null, this.preTapPosition = { x: null, y: null };
1651
1651
  }
1652
1652
  start(e) {
1653
1653
  if (!e.touches)
@@ -1675,13 +1675,13 @@ class ui {
1675
1675
  if (e.touches) {
1676
1676
  var i = this.preV, s = e.touches.length, t = e.touches[0].pageX, n = e.touches[0].pageY;
1677
1677
  if (this.isDoubleTap = !1, s > 1) {
1678
- var r = e.touches[1].pageX, a = e.touches[1].pageY, f = { x: e.touches[1].pageX - t, y: e.touches[1].pageY - n };
1679
- i.x !== null && (this.pinchStartLen > 0 && (e.zoom = me(f) / this.pinchStartLen, this.pinch.dispatch(e, this.element)), e.angle = ci(f, i), this.rotate.dispatch(e, this.element)), i.x = f.x, i.y = f.y, this.x2 !== null && this.sx2 !== null ? (e.deltaX = (t - this.x2 + r - this.sx2) / 2, e.deltaY = (n - this.y2 + a - this.sy2) / 2) : (e.deltaX = 0, e.deltaY = 0), this.twoFingerPressMove.dispatch(e, this.element), this.sx2 = r, this.sy2 = a;
1678
+ var r = e.touches[1].pageX, a = e.touches[1].pageY, u = { x: e.touches[1].pageX - t, y: e.touches[1].pageY - n };
1679
+ i.x !== null && (this.pinchStartLen > 0 && (e.zoom = me(u) / this.pinchStartLen, this.pinch.dispatch(e, this.element)), e.angle = li(u, i), this.rotate.dispatch(e, this.element)), i.x = u.x, i.y = u.y, this.x2 !== null && this.sx2 !== null ? (e.deltaX = (t - this.x2 + r - this.sx2) / 2, e.deltaY = (n - this.y2 + a - this.sy2) / 2) : (e.deltaX = 0, e.deltaY = 0), this.twoFingerPressMove.dispatch(e, this.element), this.sx2 = r, this.sy2 = a;
1680
1680
  } else {
1681
1681
  if (this.x2 !== null) {
1682
1682
  e.deltaX = t - this.x2, e.deltaY = n - this.y2;
1683
- var d = Math.abs(this.x1 - this.x2), y = Math.abs(this.y1 - this.y2);
1684
- (d > 10 || y > 10) && (this._preventTap = !0);
1683
+ var d = Math.abs(this.x1 - this.x2), m = Math.abs(this.y1 - this.y2);
1684
+ (d > 10 || m > 10) && (this._preventTap = !0);
1685
1685
  } else
1686
1686
  e.deltaX = 0, e.deltaY = 0;
1687
1687
  this.pressMove.dispatch(e, this.element);
@@ -1727,109 +1727,109 @@ class ui {
1727
1727
  return this.singleTapTimeout && clearTimeout(this.singleTapTimeout), this.tapTimeout && clearTimeout(this.tapTimeout), this.longTapTimeout && clearTimeout(this.longTapTimeout), this.swipeTimeout && clearTimeout(this.swipeTimeout), this.element.removeEventListener("touchstart", this.start), this.element.removeEventListener("touchmove", this.move), this.element.removeEventListener("touchend", this.end), this.element.removeEventListener("touchcancel", this.cancel), this.rotate.del(), this.touchStart.del(), this.multipointStart.del(), this.multipointEnd.del(), this.pinch.del(), this.swipe.del(), this.tap.del(), this.doubleTap.del(), this.longTap.del(), this.singleTap.del(), this.pressMove.del(), this.twoFingerPressMove.del(), this.touchMove.del(), this.touchEnd.del(), this.touchCancel.del(), this.preV = this.pinchStartLen = this.zoom = this.isDoubleTap = this.delta = this.last = this.now = this.tapTimeout = this.singleTapTimeout = this.longTapTimeout = this.swipeTimeout = this.x1 = this.x2 = this.y1 = this.y2 = this.preTapPosition = this.rotate = this.touchStart = this.multipointStart = this.multipointEnd = this.pinch = this.swipe = this.tap = this.doubleTap = this.longTap = this.singleTap = this.pressMove = this.touchMove = this.touchEnd = this.touchCancel = this.twoFingerPressMove = null, window.removeEventListener("scroll", this._cancelAllHandler), null;
1728
1728
  }
1729
1729
  }
1730
- function xe(o) {
1731
- const e = si(), i = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
1732
- let s = Pt(o, "gslide-media") ? o : o.querySelector(".gslide-media"), t = Wt(s, ".ginner-container"), n = o.querySelector(".gslide-description");
1733
- i > 769 && (s = t), Z(s, "greset"), ge(s, "translate3d(0, 0, 0)"), Bt(e, {
1730
+ function we(o) {
1731
+ const e = ei(), i = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
1732
+ let s = Lt(o, "gslide-media") ? o : o.querySelector(".gslide-media"), t = Bt(s, ".ginner-container"), n = o.querySelector(".gslide-description");
1733
+ i > 769 && (s = t), z(s, "greset"), ge(s, "translate3d(0, 0, 0)"), Wt(e, {
1734
1734
  onElement: s,
1735
1735
  once: !0,
1736
1736
  withCallback: (r, a) => {
1737
- kt(s, "greset");
1737
+ xt(s, "greset");
1738
1738
  }
1739
1739
  }), s.style.opacity = "", n && (n.style.opacity = "");
1740
1740
  }
1741
- function fi(o) {
1741
+ function ci(o) {
1742
1742
  if (o.events.hasOwnProperty("touch"))
1743
1743
  return !1;
1744
- let e = Be(), i = e.width, s = e.height, t = !1, n = null, r = null, a = null, f = !1, d = 1, y = 4.5, b = 1, _ = !1, q = !1, P = null, M = null, dt = null, et = null, It, _t, jt = 0, Ct = 0, l = !1, g = !1, E = {}, L = {}, j = 0, D = 0, st;
1745
- const T = document.getElementById("glightbox-slider"), v = document.querySelector(".goverlay"), c = new ui(T, {
1746
- touchStart: (u) => {
1747
- if (t = !0, (Pt(u.targetTouches[0].target, "ginner-container") || Wt(u.targetTouches[0].target, ".gslide-desc") || u.targetTouches[0].target.nodeName.toLowerCase() == "a") && (t = !1), Wt(u.targetTouches[0].target, ".gslide-inline") && !Pt(u.targetTouches[0].target.parentNode, "gslide-inline") && (t = !1), t) {
1748
- if (L = u.targetTouches[0], E.pageX = u.targetTouches[0].pageX, E.pageY = u.targetTouches[0].pageY, j = u.targetTouches[0].clientX, D = u.targetTouches[0].clientY, n = o.activeSlide, r = n.querySelector(".gslide-media"), st = n.querySelector(".gslide-inline"), a = null, Pt(r, "gslide-image") && (a = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = n.querySelector(".ginner-container")), kt(v, "greset"), u.pageX > 20 && u.pageX < window.innerWidth - 20)
1744
+ let e = Xe(), i = e.width, s = e.height, t = !1, n = null, r = null, a = null, u = !1, d = 1, m = 4.5, b = 1, x = !1, L = !1, M = null, Y = null, et = null, st = null, Dt, St, _t = 0, Tt = 0, l = !1, f = !1, S = {}, E = {}, j = 0, q = 0, J;
1745
+ const O = document.getElementById("glightbox-slider"), y = document.querySelector(".goverlay"), h = new hi(O, {
1746
+ touchStart: (c) => {
1747
+ if (t = !0, (Lt(c.targetTouches[0].target, "ginner-container") || Bt(c.targetTouches[0].target, ".gslide-desc") || c.targetTouches[0].target.nodeName.toLowerCase() == "a") && (t = !1), Bt(c.targetTouches[0].target, ".gslide-inline") && !Lt(c.targetTouches[0].target.parentNode, "gslide-inline") && (t = !1), t) {
1748
+ if (E = c.targetTouches[0], S.pageX = c.targetTouches[0].pageX, S.pageY = c.targetTouches[0].pageY, j = c.targetTouches[0].clientX, q = c.targetTouches[0].clientY, n = o.activeSlide, r = n.querySelector(".gslide-media"), J = n.querySelector(".gslide-inline"), a = null, Lt(r, "gslide-image") && (a = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = n.querySelector(".ginner-container")), xt(y, "greset"), c.pageX > 20 && c.pageX < window.innerWidth - 20)
1749
1749
  return;
1750
- u.preventDefault();
1750
+ c.preventDefault();
1751
1751
  }
1752
1752
  },
1753
- touchMove: (u) => {
1754
- if (!t || (L = u.targetTouches[0], _ || q))
1753
+ touchMove: (c) => {
1754
+ if (!t || (E = c.targetTouches[0], x || L))
1755
1755
  return;
1756
- if (st && st.offsetHeight > s) {
1757
- const F = E.pageX - L.pageX;
1758
- if (Math.abs(F) <= 13)
1756
+ if (J && J.offsetHeight > s) {
1757
+ const B = S.pageX - E.pageX;
1758
+ if (Math.abs(B) <= 13)
1759
1759
  return !1;
1760
1760
  }
1761
- f = !0;
1762
- let O = u.targetTouches[0].clientX, I = u.targetTouches[0].clientY, C = j - O, $ = D - I;
1763
- Math.abs(C) > Math.abs($) ? (l = !1, g = !0) : (g = !1, l = !0), It = L.pageX - E.pageX, jt = It * 100 / i, _t = L.pageY - E.pageY, Ct = _t * 100 / s;
1764
- let B;
1765
- if (l && a && (B = 1 - Math.abs(_t) / s, v.style.opacity = B, o.settings.touchFollowAxis && (jt = 0)), g && (B = 1 - Math.abs(It) / i, r.style.opacity = B, o.settings.touchFollowAxis && (Ct = 0)), !a)
1766
- return ge(r, `translate3d(${jt}%, 0, 0)`);
1767
- ge(r, `translate3d(${jt}%, ${Ct}%, 0)`);
1761
+ u = !0;
1762
+ let w = c.targetTouches[0].clientX, C = c.targetTouches[0].clientY, T = j - w, D = q - C;
1763
+ Math.abs(T) > Math.abs(D) ? (l = !1, f = !0) : (f = !1, l = !0), Dt = E.pageX - S.pageX, _t = Dt * 100 / i, St = E.pageY - S.pageY, Tt = St * 100 / s;
1764
+ let W;
1765
+ if (l && a && (W = 1 - Math.abs(St) / s, y.style.opacity = W, o.settings.touchFollowAxis && (_t = 0)), f && (W = 1 - Math.abs(Dt) / i, r.style.opacity = W, o.settings.touchFollowAxis && (Tt = 0)), !a)
1766
+ return ge(r, `translate3d(${_t}%, 0, 0)`);
1767
+ ge(r, `translate3d(${_t}%, ${Tt}%, 0)`);
1768
1768
  },
1769
1769
  touchEnd: () => {
1770
1770
  if (!t)
1771
1771
  return;
1772
- if (f = !1, q || _) {
1773
- dt = P, et = M;
1772
+ if (u = !1, L || x) {
1773
+ et = M, st = Y;
1774
1774
  return;
1775
1775
  }
1776
- const u = Math.abs(parseInt(Ct)), O = Math.abs(parseInt(jt));
1777
- if (u > 29 && a) {
1776
+ const c = Math.abs(parseInt(Tt)), w = Math.abs(parseInt(_t));
1777
+ if (c > 29 && a) {
1778
1778
  o.close();
1779
1779
  return;
1780
1780
  }
1781
- if (u < 29 && O < 25)
1782
- return Z(v, "greset"), v.style.opacity = 1, xe(r);
1781
+ if (c < 29 && w < 25)
1782
+ return z(y, "greset"), y.style.opacity = 1, we(r);
1783
1783
  },
1784
1784
  multipointEnd: () => {
1785
1785
  setTimeout(() => {
1786
- _ = !1;
1786
+ x = !1;
1787
1787
  }, 50);
1788
1788
  },
1789
1789
  multipointStart: () => {
1790
- _ = !0, d = b || 1;
1790
+ x = !0, d = b || 1;
1791
1791
  },
1792
- pinch: (u) => {
1793
- if (!a || f)
1792
+ pinch: (c) => {
1793
+ if (!a || u)
1794
1794
  return !1;
1795
- _ = !0, a.scaleX = a.scaleY = d * u.zoom;
1796
- let O = d * u.zoom;
1797
- if (q = !0, O <= 1) {
1798
- q = !1, O = 1, et = null, dt = null, P = null, M = null, a.setAttribute("style", "");
1795
+ x = !0, a.scaleX = a.scaleY = d * c.zoom;
1796
+ let w = d * c.zoom;
1797
+ if (L = !0, w <= 1) {
1798
+ L = !1, w = 1, st = null, et = null, M = null, Y = null, a.setAttribute("style", "");
1799
1799
  return;
1800
1800
  }
1801
- O > y && (O = y), a.style.transform = `scale3d(${O}, ${O}, 1)`, b = O;
1801
+ w > m && (w = m), a.style.transform = `scale3d(${w}, ${w}, 1)`, b = w;
1802
1802
  },
1803
- pressMove: (u) => {
1804
- if (q && !_) {
1805
- var O = L.pageX - E.pageX, I = L.pageY - E.pageY;
1806
- dt && (O = O + dt), et && (I = I + et), P = O, M = I;
1807
- let C = `translate3d(${O}px, ${I}px, 0)`;
1808
- b && (C += ` scale3d(${b}, ${b}, 1)`), ge(a, C);
1803
+ pressMove: (c) => {
1804
+ if (L && !x) {
1805
+ var w = E.pageX - S.pageX, C = E.pageY - S.pageY;
1806
+ et && (w = w + et), st && (C = C + st), M = w, Y = C;
1807
+ let T = `translate3d(${w}px, ${C}px, 0)`;
1808
+ b && (T += ` scale3d(${b}, ${b}, 1)`), ge(a, T);
1809
1809
  }
1810
1810
  },
1811
- swipe: (u) => {
1812
- if (!q) {
1813
- if (_) {
1814
- _ = !1;
1811
+ swipe: (c) => {
1812
+ if (!L) {
1813
+ if (x) {
1814
+ x = !1;
1815
1815
  return;
1816
1816
  }
1817
- if (u.direction == "Left") {
1817
+ if (c.direction == "Left") {
1818
1818
  if (o.index == o.elements.length - 1)
1819
- return xe(r);
1819
+ return we(r);
1820
1820
  o.nextSlide();
1821
1821
  }
1822
- if (u.direction == "Right") {
1822
+ if (c.direction == "Right") {
1823
1823
  if (o.index == 0)
1824
- return xe(r);
1824
+ return we(r);
1825
1825
  o.prevSlide();
1826
1826
  }
1827
1827
  }
1828
1828
  }
1829
1829
  });
1830
- o.events.touch = c;
1830
+ o.events.touch = h;
1831
1831
  }
1832
- class gi {
1832
+ class ui {
1833
1833
  constructor(e, i, s = null) {
1834
1834
  if (this.img = e, this.slide = i, this.onclose = s, this.img.setZoomEvents)
1835
1835
  return !1;
@@ -1887,7 +1887,7 @@ class gi {
1887
1887
  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
1888
1888
  }
1889
1889
  }
1890
- class De {
1890
+ class Me {
1891
1891
  constructor(e = {}) {
1892
1892
  let { dragEl: i, toleranceX: s = 40, toleranceY: t = 65, slide: n = null, instance: r = null } = e;
1893
1893
  this.el = i, this.active = !1, this.dragging = !1, this.currentX = null, this.currentY = null, this.initialX = null, this.initialY = null, this.xOffset = 0, this.yOffset = 0, this.direction = null, this.lastDirection = null, this.toleranceX = s, this.toleranceY = t, this.toleranceReached = !1, this.dragContainer = this.el, this.slide = n, this.instance = r, this.el.addEventListener("mousedown", (a) => this.dragStart(a), !1), this.el.addEventListener("mouseup", (a) => this.dragEnd(a), !1), this.el.addEventListener("mousemove", (a) => this.drag(a), !1);
@@ -1899,11 +1899,11 @@ class De {
1899
1899
  }
1900
1900
  e.type === "touchstart" ? (this.initialX = e.touches[0].clientX - this.xOffset, this.initialY = e.touches[0].clientY - this.yOffset) : (this.initialX = e.clientX - this.xOffset, this.initialY = e.clientY - this.yOffset);
1901
1901
  let i = e.target.nodeName.toLowerCase(), s = ["input", "select", "textarea", "button", "a"];
1902
- if (e.target.classList.contains("nodrag") || Wt(e.target, ".nodrag") || s.indexOf(i) !== -1) {
1902
+ if (e.target.classList.contains("nodrag") || Bt(e.target, ".nodrag") || s.indexOf(i) !== -1) {
1903
1903
  this.active = !1;
1904
1904
  return;
1905
1905
  }
1906
- e.preventDefault(), (e.target === this.el || i !== "img" && Wt(e.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = Wt(e.target, ".ginner-container"));
1906
+ e.preventDefault(), (e.target === this.el || i !== "img" && Bt(e.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = Bt(e.target, ".ginner-container"));
1907
1907
  }
1908
1908
  dragEnd(e) {
1909
1909
  e && e.preventDefault(), this.initialX = 0, this.initialY = 0, this.currentX = null, this.currentY = null, this.initialX = null, this.initialY = null, this.xOffset = 0, this.yOffset = 0, this.active = !1, this.doSlideChange && (this.instance.preventOutsideClick = !0, this.doSlideChange == "right" && this.instance.prevSlide(), this.doSlideChange == "left" && this.instance.nextSlide()), this.doSlideClose && this.instance.close(), this.toleranceReached || this.setTranslate(this.dragContainer, 0, 0, !0), setTimeout(() => {
@@ -1946,74 +1946,74 @@ class De {
1946
1946
  t ? e.style.transition = "all .2s ease" : e.style.transition = "", e.style.transform = `translate3d(${i}px, ${s}px, 0)`;
1947
1947
  }
1948
1948
  }
1949
- function pi(o, e, i, s) {
1949
+ function fi(o, e, i, s) {
1950
1950
  const t = o.querySelector(".gslide-media");
1951
1951
  let n = new Image(), r = "gSlideTitle_" + i, a = "gSlideDesc_" + i;
1952
1952
  n.addEventListener("load", () => {
1953
- rt(s) && s();
1953
+ F(s) && s();
1954
1954
  }, !1), n.src = e.href, e.sizes != "" && e.srcset != "" && (n.sizes = e.sizes, n.srcset = e.srcset), n.alt = "", !Xt(e.alt) && e.alt !== "" && (n.alt = e.alt), e.title !== "" && n.setAttribute("aria-labelledby", r), e.description !== "" && n.setAttribute("aria-describedby", a), e.hasOwnProperty("_hasCustomWidth") && e._hasCustomWidth && (n.style.width = e.width), e.hasOwnProperty("_hasCustomHeight") && e._hasCustomHeight && (n.style.height = e.height), t.insertBefore(n, t.firstChild);
1955
1955
  }
1956
- function mi(o, e, i, s) {
1956
+ function gi(o, e, i, s) {
1957
1957
  const t = o.querySelector(".ginner-container"), n = "gvideo" + i, r = o.querySelector(".gslide-media"), a = this.getAllPlayers();
1958
- Z(t, "gvideo-container"), r.insertBefore(Ut('<div class="gvideo-wrapper"></div>'), r.firstChild);
1959
- const f = o.querySelector(".gvideo-wrapper");
1960
- Ye(this.settings.plyr.css, "Plyr");
1961
- let d = e.href, y = e?.videoProvider, b = !1;
1962
- r.style.maxWidth = e.width, Ye(this.settings.plyr.js, "Plyr", () => {
1963
- if (!y && d.match(/vimeo\.com\/([0-9]*)/) && (y = "vimeo"), !y && (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\-_]+)/)) && (y = "youtube"), y === "local" || !y) {
1964
- y = "local";
1965
- let M = '<video id="' + n + '" ';
1966
- M += `style="background:#000; max-width: ${e.width};" `, M += 'preload="metadata" ', M += 'x-webkit-airplay="allow" ', M += "playsinline ", M += "controls ", M += 'class="gvideo-local">', M += `<source src="${d}">`, M += "</video>", b = Ut(M);
1958
+ z(t, "gvideo-container"), r.insertBefore(Ut('<div class="gvideo-wrapper"></div>'), r.firstChild);
1959
+ const u = o.querySelector(".gvideo-wrapper");
1960
+ Ve(this.settings.plyr.css, "Plyr");
1961
+ let d = e.href, m = e?.videoProvider, b = !1;
1962
+ r.style.maxWidth = e.width, Ve(this.settings.plyr.js, "Plyr", () => {
1963
+ if (!m && d.match(/vimeo\.com\/([0-9]*)/) && (m = "vimeo"), !m && (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\-_]+)/)) && (m = "youtube"), m === "local" || !m) {
1964
+ m = "local";
1965
+ let Y = '<video id="' + n + '" ';
1966
+ Y += `style="background:#000; max-width: ${e.width};" `, Y += 'preload="metadata" ', Y += 'x-webkit-airplay="allow" ', Y += "playsinline ", Y += "controls ", Y += 'class="gvideo-local">', Y += `<source src="${d}">`, Y += "</video>", b = Ut(Y);
1967
1967
  }
1968
- const _ = b || Ut(`<div id="${n}" data-plyr-provider="${y}" data-plyr-embed-id="${d}"></div>`);
1969
- Z(f, `${y}-video gvideo`), f.appendChild(_), f.setAttribute("data-id", n), f.setAttribute("data-index", i);
1970
- const q = Lt(this.settings.plyr, "config") ? this.settings.plyr.config : {}, P = new Plyr("#" + n, q);
1971
- P.on("ready", (M) => {
1972
- a[n] = M.detail.plyr, rt(s) && s();
1973
- }), Se(
1968
+ const x = b || Ut(`<div id="${n}" data-plyr-provider="${m}" data-plyr-embed-id="${d}"></div>`);
1969
+ z(u, `${m}-video gvideo`), u.appendChild(x), u.setAttribute("data-id", n), u.setAttribute("data-index", i);
1970
+ const L = Ot(this.settings.plyr, "config") ? this.settings.plyr.config : {}, M = new Plyr("#" + n, L);
1971
+ M.on("ready", (Y) => {
1972
+ a[n] = Y.detail.plyr, F(s) && s();
1973
+ }), xe(
1974
1974
  () => o.querySelector("iframe") && o.querySelector("iframe").dataset.ready == "true",
1975
1975
  () => {
1976
1976
  this.resize(o);
1977
1977
  }
1978
- ), P.on("enterfullscreen", Ne), P.on("exitfullscreen", Ne);
1978
+ ), M.on("enterfullscreen", Ne), M.on("exitfullscreen", Ne);
1979
1979
  });
1980
1980
  }
1981
1981
  function Ne(o) {
1982
- const e = Wt(o.target, ".gslide-media");
1983
- o.type === "enterfullscreen" && Z(e, "fullscreen"), o.type === "exitfullscreen" && kt(e, "fullscreen");
1982
+ const e = Bt(o.target, ".gslide-media");
1983
+ o.type === "enterfullscreen" && z(e, "fullscreen"), o.type === "exitfullscreen" && xt(e, "fullscreen");
1984
1984
  }
1985
- function bi(o, e, i, s) {
1986
- const t = o.querySelector(".gslide-media"), n = Lt(e, "href") && e.href ? e.href.split("#").pop().trim() : !1, r = Lt(e, "content") && e.content ? e.content : !1;
1985
+ function pi(o, e, i, s) {
1986
+ const t = o.querySelector(".gslide-media"), n = Ot(e, "href") && e.href ? e.href.split("#").pop().trim() : !1, r = Ot(e, "content") && e.content ? e.content : !1;
1987
1987
  let a;
1988
1988
  if (r && (Kt(r) && (a = Ut(`<div class="ginlined-content">${r}</div>`)), $t(r))) {
1989
1989
  r.style.display == "none" && (r.style.display = "block");
1990
- const f = document.createElement("div");
1991
- f.className = "ginlined-content", f.appendChild(r), a = f;
1990
+ const u = document.createElement("div");
1991
+ u.className = "ginlined-content", u.appendChild(r), a = u;
1992
1992
  }
1993
1993
  if (n) {
1994
- let f = document.getElementById(n);
1995
- if (!f)
1994
+ let u = document.getElementById(n);
1995
+ if (!u)
1996
1996
  return !1;
1997
- const d = f.cloneNode(!0);
1998
- d.style.height = e.height, d.style.maxWidth = e.width, Z(d, "ginlined-content"), a = d;
1997
+ const d = u.cloneNode(!0);
1998
+ d.style.height = e.height, d.style.maxWidth = e.width, z(d, "ginlined-content"), a = d;
1999
1999
  }
2000
2000
  if (!a)
2001
2001
  return console.error("Unable to append inline slide content", e), !1;
2002
- t.style.height = e.height, t.style.width = e.width, t.appendChild(a), this.events["inlineclose" + n] = Bt("click", {
2002
+ t.style.height = e.height, t.style.width = e.width, t.appendChild(a), this.events["inlineclose" + n] = Wt("click", {
2003
2003
  onElement: t.querySelectorAll(".gtrigger-close"),
2004
- withCallback: (f) => {
2005
- f.preventDefault(), this.close();
2004
+ withCallback: (u) => {
2005
+ u.preventDefault(), this.close();
2006
2006
  }
2007
- }), rt(s) && s();
2007
+ }), F(s) && s();
2008
2008
  }
2009
- function yi(o, e, i, s) {
2010
- const t = o.querySelector(".gslide-media"), n = ni({
2009
+ function mi(o, e, i, s) {
2010
+ const t = o.querySelector(".gslide-media"), n = ii({
2011
2011
  url: e.href,
2012
2012
  callback: s
2013
2013
  });
2014
2014
  t.parentNode.style.maxWidth = e.width, t.parentNode.style.height = e.height, t.appendChild(n);
2015
2015
  }
2016
- class vi {
2016
+ class bi {
2017
2017
  constructor(e = {}) {
2018
2018
  this.defaults = {
2019
2019
  href: "",
@@ -2046,15 +2046,15 @@ class vi {
2046
2046
  parseConfig(e, i) {
2047
2047
  let s = Rt({ descPosition: i.descPosition }, this.defaults);
2048
2048
  if (Qt(e) && !$t(e)) {
2049
- Lt(e, "type") || (Lt(e, "content") && e.content ? e.type = "inline" : Lt(e, "href") && (e.type = this.sourceType(e.href)));
2049
+ Ot(e, "type") || (Ot(e, "content") && e.content ? e.type = "inline" : Ot(e, "href") && (e.type = this.sourceType(e.href)));
2050
2050
  let a = Rt(s, e);
2051
2051
  return this.setSize(a, i), a;
2052
2052
  }
2053
2053
  let t = "", n = e.getAttribute("data-glightbox"), r = e.nodeName.toLowerCase();
2054
- if (r === "a" && (t = e.href), r === "img" && (t = e.src, s.alt = e.alt), s.href = t, At(s, (a, f) => {
2055
- Lt(i, f) && f !== "width" && (s[f] = i[f]);
2056
- const d = e.dataset[f];
2057
- Xt(d) || (s[f] = this.sanitizeValue(d));
2054
+ if (r === "a" && (t = e.href), r === "img" && (t = e.src, s.alt = e.alt), s.href = t, lt(s, (a, u) => {
2055
+ Ot(i, u) && u !== "width" && (s[u] = i[u]);
2056
+ const d = e.dataset[u];
2057
+ Xt(d) || (s[u] = this.sanitizeValue(d));
2058
2058
  }), s.content && (s.type = "inline"), !s.type && t && (s.type = this.sourceType(t)), Xt(n)) {
2059
2059
  if (!s.title && r == "a") {
2060
2060
  let a = e.title;
@@ -2066,13 +2066,13 @@ class vi {
2066
2066
  }
2067
2067
  } else {
2068
2068
  let a = [];
2069
- At(s, (f, d) => {
2069
+ lt(s, (u, d) => {
2070
2070
  a.push(";\\s?" + d);
2071
- }), a = a.join("\\s?:|"), n.trim() !== "" && At(s, (f, d) => {
2072
- const y = n, b = "s?" + d + "s?:s?(.*?)(" + a + "s?:|$)", _ = new RegExp(b), q = y.match(_);
2073
- if (q && q.length && q[1]) {
2074
- const P = q[1].trim().replace(/;\s*$/, "");
2075
- s[d] = this.sanitizeValue(P);
2071
+ }), a = a.join("\\s?:|"), n.trim() !== "" && lt(s, (u, d) => {
2072
+ const m = n, b = "s?" + d + "s?:s?(.*?)(" + a + "s?:|$)", x = new RegExp(b), L = m.match(x);
2073
+ if (L && L.length && L[1]) {
2074
+ const M = L[1].trim().replace(/;\s*$/, "");
2075
+ s[d] = this.sanitizeValue(M);
2076
2076
  }
2077
2077
  });
2078
2078
  }
@@ -2080,9 +2080,9 @@ class vi {
2080
2080
  let a;
2081
2081
  try {
2082
2082
  a = document.querySelector(s.description).innerHTML;
2083
- } catch (f) {
2084
- if (!(f instanceof DOMException))
2085
- throw f;
2083
+ } catch (u) {
2084
+ if (!(u instanceof DOMException))
2085
+ throw u;
2086
2086
  }
2087
2087
  a && (s.description = a);
2088
2088
  }
@@ -2103,7 +2103,7 @@ class vi {
2103
2103
  */
2104
2104
  setSize(e, i, s = null) {
2105
2105
  const t = e.type == "video" ? this.checkSize(i.videosWidth) : this.checkSize(i.width), n = this.checkSize(i.height);
2106
- return e.width = Lt(e, "width") && e.width !== "" ? this.checkSize(e.width) : t, e.height = Lt(e, "height") && e.height !== "" ? this.checkSize(e.height) : n, s && e.type == "image" && (e._hasCustomWidth = !!s.dataset.width, e._hasCustomHeight = !!s.dataset.height), e;
2106
+ return e.width = Ot(e, "width") && e.width !== "" ? this.checkSize(e.width) : t, e.height = Ot(e, "height") && e.height !== "" ? this.checkSize(e.height) : n, s && e.type == "image" && (e._hasCustomWidth = !!s.dataset.width, e._hasCustomHeight = !!s.dataset.height), e;
2107
2107
  }
2108
2108
  /**
2109
2109
  * [checkSize size
@@ -2137,31 +2137,31 @@ class ue {
2137
2137
  * @param {function} callback
2138
2138
  */
2139
2139
  setContent(e = null, i = !1) {
2140
- if (Pt(e, "loaded"))
2140
+ if (Lt(e, "loaded"))
2141
2141
  return !1;
2142
- const s = this.instance.settings, t = this.slideConfig, n = _e();
2143
- rt(s.beforeSlideLoad) && s.beforeSlideLoad({
2142
+ const s = this.instance.settings, t = this.slideConfig, n = Se();
2143
+ F(s.beforeSlideLoad) && s.beforeSlideLoad({
2144
2144
  index: this.index,
2145
2145
  slide: e,
2146
2146
  player: !1
2147
2147
  });
2148
- let r = t.type, a = t.descPosition, f = e.querySelector(".gslide-media"), d = e.querySelector(".gslide-title"), y = e.querySelector(".gslide-desc"), b = e.querySelector(".gdesc-inner"), _ = i, q = "gSlideTitle_" + this.index, P = "gSlideDesc_" + this.index;
2149
- if (rt(s.afterSlideLoad) && (_ = () => {
2150
- rt(i) && i(), s.afterSlideLoad({
2148
+ let r = t.type, a = t.descPosition, u = e.querySelector(".gslide-media"), d = e.querySelector(".gslide-title"), m = e.querySelector(".gslide-desc"), b = e.querySelector(".gdesc-inner"), x = i, L = "gSlideTitle_" + this.index, M = "gSlideDesc_" + this.index;
2149
+ if (F(s.afterSlideLoad) && (x = () => {
2150
+ F(i) && i(), s.afterSlideLoad({
2151
2151
  index: this.index,
2152
2152
  slide: e,
2153
2153
  player: this.instance.getSlidePlayerInstance(this.index)
2154
2154
  });
2155
- }), t.title == "" && t.description == "" ? b && b.parentNode.parentNode.removeChild(b.parentNode) : (d && t.title !== "" ? (d.id = q, d.innerHTML = t.title) : d.parentNode.removeChild(d), y && t.description !== "" ? (y.id = P, n && s.moreLength > 0 ? (t.smallDescription = this.slideShortDesc(t.description, s.moreLength, s.moreText), y.innerHTML = t.smallDescription, this.descriptionEvents(y, t)) : y.innerHTML = t.description) : y.parentNode.removeChild(y), Z(f.parentNode, `desc-${a}`), Z(b.parentNode, `description-${a}`)), Z(f, `gslide-${r}`), Z(e, "loaded"), r === "video") {
2156
- mi.apply(this.instance, [e, t, this.index, _]);
2155
+ }), t.title == "" && t.description == "" ? b && b.parentNode.parentNode.removeChild(b.parentNode) : (d && t.title !== "" ? (d.id = L, d.innerHTML = t.title) : d.parentNode.removeChild(d), m && t.description !== "" ? (m.id = M, n && s.moreLength > 0 ? (t.smallDescription = this.slideShortDesc(t.description, s.moreLength, s.moreText), m.innerHTML = t.smallDescription, this.descriptionEvents(m, t)) : m.innerHTML = t.description) : m.parentNode.removeChild(m), z(u.parentNode, `desc-${a}`), z(b.parentNode, `description-${a}`)), z(u, `gslide-${r}`), z(e, "loaded"), r === "video") {
2156
+ gi.apply(this.instance, [e, t, this.index, x]);
2157
2157
  return;
2158
2158
  }
2159
2159
  if (r === "external") {
2160
- yi.apply(this, [e, t, this.index, _]);
2160
+ mi.apply(this, [e, t, this.index, x]);
2161
2161
  return;
2162
2162
  }
2163
2163
  if (r === "inline") {
2164
- bi.apply(this.instance, [e, t, this.index, _]), t.draggable && new De({
2164
+ pi.apply(this.instance, [e, t, this.index, x]), t.draggable && new Me({
2165
2165
  dragEl: e.querySelector(".gslide-inline"),
2166
2166
  toleranceX: s.dragToleranceX,
2167
2167
  toleranceY: s.dragToleranceY,
@@ -2171,21 +2171,21 @@ class ue {
2171
2171
  return;
2172
2172
  }
2173
2173
  if (r === "image") {
2174
- pi(e, t, this.index, () => {
2175
- const M = e.querySelector("img");
2176
- t.draggable && new De({
2177
- dragEl: M,
2174
+ fi(e, t, this.index, () => {
2175
+ const Y = e.querySelector("img");
2176
+ t.draggable && new Me({
2177
+ dragEl: Y,
2178
2178
  toleranceX: s.dragToleranceX,
2179
2179
  toleranceY: s.dragToleranceY,
2180
2180
  slide: e,
2181
2181
  instance: this.instance
2182
- }), t.zoomable && M.naturalWidth > M.offsetWidth && (Z(M, "zoomable"), new gi(M, e, () => {
2182
+ }), t.zoomable && Y.naturalWidth > Y.offsetWidth && (z(Y, "zoomable"), new ui(Y, e, () => {
2183
2183
  this.instance.resize();
2184
- })), rt(_) && _();
2184
+ })), F(x) && x();
2185
2185
  });
2186
2186
  return;
2187
2187
  }
2188
- rt(_) && _();
2188
+ F(x) && x();
2189
2189
  }
2190
2190
  slideShortDesc(e, i = 50, s = !1) {
2191
2191
  let t = document.createElement("div");
@@ -2200,21 +2200,21 @@ class ue {
2200
2200
  let s = e.querySelector(".desc-more");
2201
2201
  if (!s)
2202
2202
  return !1;
2203
- Bt("click", {
2203
+ Wt("click", {
2204
2204
  onElement: s,
2205
2205
  withCallback: (t, n) => {
2206
2206
  t.preventDefault();
2207
2207
  const r = document.body;
2208
- let a = Wt(n, ".gslide-desc");
2208
+ let a = Bt(n, ".gslide-desc");
2209
2209
  if (!a)
2210
2210
  return !1;
2211
- a.innerHTML = i.description, Z(r, "gdesc-open");
2212
- let f = Bt("click", {
2213
- onElement: [r, Wt(a, ".gslide-description")],
2214
- withCallback: (d, y) => {
2215
- d.target.nodeName.toLowerCase() !== "a" && (kt(r, "gdesc-open"), Z(r, "gdesc-closed"), a.innerHTML = i.smallDescription, this.descriptionEvents(a, i), setTimeout(() => {
2216
- kt(r, "gdesc-closed");
2217
- }, 400), f.destroy());
2211
+ a.innerHTML = i.description, z(r, "gdesc-open");
2212
+ let u = Wt("click", {
2213
+ onElement: [r, Bt(a, ".gslide-description")],
2214
+ withCallback: (d, m) => {
2215
+ d.target.nodeName.toLowerCase() !== "a" && (xt(r, "gdesc-open"), z(r, "gdesc-closed"), a.innerHTML = i.smallDescription, this.descriptionEvents(a, i), setTimeout(() => {
2216
+ xt(r, "gdesc-closed");
2217
+ }, 400), u.destroy());
2218
2218
  }
2219
2219
  });
2220
2220
  }
@@ -2239,14 +2239,14 @@ class ue {
2239
2239
  */
2240
2240
  getConfig() {
2241
2241
  !$t(this.element) && !this.element.hasOwnProperty("draggable") && (this.element.draggable = this.instance.settings.draggable);
2242
- const e = new vi(this.instance.settings.slideExtraAttributes);
2242
+ const e = new bi(this.instance.settings.slideExtraAttributes);
2243
2243
  return this.slideConfig = e.parseConfig(this.element, this.instance.settings), this.slideConfig;
2244
2244
  }
2245
2245
  }
2246
- const wi = "3.2.0", ze = _e(), Pe = ai();
2247
- let Ae;
2248
- typeof document > "u" || (Ae = document.getElementsByTagName("html")[0]);
2249
- const Te = {
2246
+ const yi = "3.2.0", ze = Se(), De = si();
2247
+ let Oe;
2248
+ typeof document > "u" || (Oe = document.getElementsByTagName("html")[0]);
2249
+ const _e = {
2250
2250
  selector: ".glightbox",
2251
2251
  elements: null,
2252
2252
  skin: "clean",
@@ -2324,7 +2324,7 @@ const Te = {
2324
2324
  prev: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 477.175 477.175" xml:space="preserve"><g><path d="M145.188,238.575l215.5-215.5c5.3-5.3,5.3-13.8,0-19.1s-13.8-5.3-19.1,0l-225.1,225.1c-5.3,5.3-5.3,13.8,0,19.1l225.1,225c2.6,2.6,6.1,4,9.5,4s6.9-1.3,9.5-4c5.3-5.3,5.3-13.8,0-19.1L145.188,238.575z"/></g></svg>'
2325
2325
  }
2326
2326
  };
2327
- Te.slideHTML = `<div class="gslide">
2327
+ _e.slideHTML = `<div class="gslide">
2328
2328
  <div class="gslide-inner-content">
2329
2329
  <div class="ginner-container">
2330
2330
  <div class="gslide-media">
@@ -2338,7 +2338,7 @@ Te.slideHTML = `<div class="gslide">
2338
2338
  </div>
2339
2339
  </div>
2340
2340
  </div>`;
2341
- Te.lightboxHTML = `<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">
2341
+ _e.lightboxHTML = `<div id="glightbox-body" class="glightbox-container" tabindex="-1" role="dialog" aria-hidden="false">
2342
2342
  <div class="gloader visible"></div>
2343
2343
  <div class="goverlay"></div>
2344
2344
  <div class="gcontainer">
@@ -2348,13 +2348,13 @@ Te.lightboxHTML = `<div id="glightbox-body" class="glightbox-container" tabindex
2348
2348
  <button class="gnext gbtn" aria-label="Next" data-taborder="1">{nextSVG}</button>
2349
2349
  </div>
2350
2350
  </div>`;
2351
- class Xe {
2351
+ class Pe {
2352
2352
  constructor(e = {}) {
2353
- this.customOptions = e, this.settings = Rt(Te, e), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2353
+ this.customOptions = e, this.settings = Rt(_e, e), this.effectsClasses = this.getAnimationClasses(), this.videoPlayers = {}, this.apiEvents = [], this.fullElementsList = !1;
2354
2354
  }
2355
2355
  init() {
2356
2356
  const e = this.getSelector();
2357
- e && (this.baseEvents = Bt("click", {
2357
+ e && (this.baseEvents = Wt("click", {
2358
2358
  onElement: e,
2359
2359
  withCallback: (i, s) => {
2360
2360
  i.preventDefault(), this.open(s);
@@ -2374,9 +2374,9 @@ class Xe {
2374
2374
  const t = document.body, n = window.innerWidth - document.documentElement.clientWidth;
2375
2375
  if (n > 0) {
2376
2376
  var r = document.createElement("style");
2377
- r.type = "text/css", r.className = "gcss-styles", r.innerText = `.gscrollbar-fixer {margin-right: ${n}px}`, document.head.appendChild(r), Z(t, "gscrollbar-fixer");
2377
+ r.type = "text/css", r.className = "gcss-styles", r.innerText = `.gscrollbar-fixer {margin-right: ${n}px}`, document.head.appendChild(r), z(t, "gscrollbar-fixer");
2378
2378
  }
2379
- Z(t, "glightbox-open"), Z(Ae, "glightbox-open"), ze && (Z(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (Z(this.prevButton, "glightbox-button-hidden"), Z(this.nextButton, "glightbox-button-hidden")) : (kt(this.prevButton, "glightbox-button-hidden"), kt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), rt(this.settings.onOpen) && this.settings.onOpen(), Pe && this.settings.touchNavigation && fi(this), this.settings.keyboardNavigation && ri(this);
2379
+ z(t, "glightbox-open"), z(Oe, "glightbox-open"), ze && (z(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (z(this.prevButton, "glightbox-button-hidden"), z(this.nextButton, "glightbox-button-hidden")) : (xt(this.prevButton, "glightbox-button-hidden"), xt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), F(this.settings.onOpen) && this.settings.onOpen(), De && this.settings.touchNavigation && ci(this), this.settings.keyboardNavigation && ni(this);
2380
2380
  }
2381
2381
  /**
2382
2382
  * Open at specific index
@@ -2389,14 +2389,14 @@ class Xe {
2389
2389
  * Set Slide
2390
2390
  */
2391
2391
  showSlide(e = 0, i = !1) {
2392
- Ve(this.loader), this.index = parseInt(e);
2392
+ Le(this.loader), this.index = parseInt(e);
2393
2393
  let s = this.slidesContainer.querySelector(".current");
2394
- s && kt(s, "current"), this.slideAnimateOut();
2394
+ s && xt(s, "current"), this.slideAnimateOut();
2395
2395
  let t = this.slidesContainer.querySelectorAll(".gslide")[e];
2396
- if (Pt(t, "loaded"))
2397
- this.slideAnimateIn(t, i), we(this.loader);
2396
+ if (Lt(t, "loaded"))
2397
+ this.slideAnimateIn(t, i), ve(this.loader);
2398
2398
  else {
2399
- Ve(this.loader);
2399
+ Le(this.loader);
2400
2400
  const n = this.elements[e], r = {
2401
2401
  index: this.index,
2402
2402
  slide: t,
@@ -2408,10 +2408,10 @@ class Xe {
2408
2408
  player: null
2409
2409
  };
2410
2410
  this.trigger("slide_before_load", r), n.instance.setContent(t, () => {
2411
- we(this.loader), this.resize(), this.slideAnimateIn(t, i), this.trigger("slide_after_load", r);
2411
+ ve(this.loader), this.resize(), this.slideAnimateIn(t, i), this.trigger("slide_after_load", r);
2412
2412
  });
2413
2413
  }
2414
- this.slideDescription = t.querySelector(".gslide-description"), this.slideDescriptionContained = this.slideDescription && Pt(this.slideDescription.parentNode, "gslide-media"), this.settings.preload && (this.preloadSlide(e + 1), this.preloadSlide(e - 1)), this.updateNavigationClasses(), this.activeSlide = t;
2414
+ this.slideDescription = t.querySelector(".gslide-description"), this.slideDescriptionContained = this.slideDescription && Lt(this.slideDescription.parentNode, "gslide-media"), this.settings.preload && (this.preloadSlide(e + 1), this.preloadSlide(e - 1)), this.updateNavigationClasses(), this.activeSlide = t;
2415
2415
  }
2416
2416
  /**
2417
2417
  * Preload slides
@@ -2422,7 +2422,7 @@ class Xe {
2422
2422
  if (e < 0 || e > this.elements.length - 1 || Xt(this.elements[e]))
2423
2423
  return !1;
2424
2424
  let i = this.slidesContainer.querySelectorAll(".gslide")[e];
2425
- if (Pt(i, "loaded"))
2425
+ if (Lt(i, "loaded"))
2426
2426
  return !1;
2427
2427
  const s = this.elements[e], t = s.type, n = {
2428
2428
  index: e,
@@ -2476,27 +2476,27 @@ class Xe {
2476
2476
  i < 0 && (i = this.elements.length);
2477
2477
  const s = new ue(e, this, i), t = s.getConfig(), n = Rt({}, t), r = s.create(), a = this.elements.length - 1;
2478
2478
  n.index = i, n.node = !1, n.instance = s, n.slideConfig = t, this.elements.splice(i, 0, n);
2479
- let f = null, d = null;
2479
+ let u = null, d = null;
2480
2480
  if (this.slidesContainer) {
2481
2481
  if (i > a)
2482
2482
  this.slidesContainer.appendChild(r);
2483
2483
  else {
2484
- let y = this.slidesContainer.querySelectorAll(".gslide")[i];
2485
- this.slidesContainer.insertBefore(r, y);
2484
+ let m = this.slidesContainer.querySelectorAll(".gslide")[i];
2485
+ this.slidesContainer.insertBefore(r, m);
2486
2486
  }
2487
- (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(), f = this.slidesContainer.querySelectorAll(".gslide")[i], d = this.getSlidePlayerInstance(i), n.slideNode = f;
2487
+ (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(), u = this.slidesContainer.querySelectorAll(".gslide")[i], d = this.getSlidePlayerInstance(i), n.slideNode = u;
2488
2488
  }
2489
2489
  this.trigger("slide_inserted", {
2490
2490
  index: i,
2491
- slide: f,
2492
- slideNode: f,
2491
+ slide: u,
2492
+ slideNode: u,
2493
2493
  slideConfig: t,
2494
2494
  slideIndex: i,
2495
2495
  trigger: null,
2496
2496
  player: d
2497
- }), rt(this.settings.slideInserted) && this.settings.slideInserted({
2497
+ }), F(this.settings.slideInserted) && this.settings.slideInserted({
2498
2498
  index: i,
2499
- slide: f,
2499
+ slide: u,
2500
2500
  player: d
2501
2501
  });
2502
2502
  }
@@ -2509,7 +2509,7 @@ class Xe {
2509
2509
  if (e < 0 || e > this.elements.length - 1)
2510
2510
  return !1;
2511
2511
  const i = this.slidesContainer && this.slidesContainer.querySelectorAll(".gslide")[e];
2512
- i && (this.getActiveSlideIndex() == e && (e == this.elements.length - 1 ? this.prevSlide() : this.nextSlide()), i.parentNode.removeChild(i)), this.elements.splice(e, 1), this.trigger("slide_removed", e), rt(this.settings.slideRemoved) && this.settings.slideRemoved(e);
2512
+ i && (this.getActiveSlideIndex() == e && (e == this.elements.length - 1 ? this.prevSlide() : this.nextSlide()), i.parentNode.removeChild(i)), this.elements.splice(e, 1), this.trigger("slide_removed", e), F(this.settings.slideRemoved) && this.settings.slideRemoved(e);
2513
2513
  }
2514
2514
  /**
2515
2515
  * Slide In
@@ -2535,25 +2535,25 @@ class Xe {
2535
2535
  trigger: this.elements[this.index].node,
2536
2536
  player: this.getSlidePlayerInstance(this.index)
2537
2537
  };
2538
- if (s.offsetWidth > 0 && t && (we(t), t.style.display = ""), kt(e, this.effectsClasses), i)
2538
+ if (s.offsetWidth > 0 && t && (ve(t), t.style.display = ""), xt(e, this.effectsClasses), i)
2539
2539
  Gt(e, this.settings.cssEfects[this.settings.openEffect].in, () => {
2540
2540
  this.settings.autoplayVideos && this.slidePlayerPlay(e), this.trigger("slide_changed", {
2541
2541
  prev: n,
2542
2542
  current: r
2543
- }), rt(this.settings.afterSlideChange) && this.settings.afterSlideChange.apply(this, [n, r]);
2543
+ }), F(this.settings.afterSlideChange) && this.settings.afterSlideChange.apply(this, [n, r]);
2544
2544
  });
2545
2545
  else {
2546
- let a = this.settings.slideEffect, f = a !== "none" ? this.settings.cssEfects[a].in : a;
2547
- this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (f = this.settings.cssEfects.slideBack.in), Gt(e, f, () => {
2546
+ let a = this.settings.slideEffect, u = a !== "none" ? this.settings.cssEfects[a].in : a;
2547
+ this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (u = this.settings.cssEfects.slideBack.in), Gt(e, u, () => {
2548
2548
  this.settings.autoplayVideos && this.slidePlayerPlay(e), this.trigger("slide_changed", {
2549
2549
  prev: n,
2550
2550
  current: r
2551
- }), rt(this.settings.afterSlideChange) && this.settings.afterSlideChange.apply(this, [n, r]);
2551
+ }), F(this.settings.afterSlideChange) && this.settings.afterSlideChange.apply(this, [n, r]);
2552
2552
  });
2553
2553
  }
2554
2554
  setTimeout(() => {
2555
2555
  this.resize(e);
2556
- }, 100), Z(e, "current");
2556
+ }, 100), z(e, "current");
2557
2557
  }
2558
2558
  /**
2559
2559
  * Slide out
@@ -2562,7 +2562,7 @@ class Xe {
2562
2562
  if (!this.prevActiveSlide)
2563
2563
  return !1;
2564
2564
  let e = this.prevActiveSlide;
2565
- kt(e, this.effectsClasses), Z(e, "prev");
2565
+ xt(e, this.effectsClasses), z(e, "prev");
2566
2566
  let i = this.settings.slideEffect, s = i !== "none" ? this.settings.cssEfects[i].out : i;
2567
2567
  this.slidePlayerPause(e), this.trigger("slide_before_change", {
2568
2568
  prev: {
@@ -2587,7 +2587,7 @@ class Xe {
2587
2587
  trigger: this.elements[this.index].node,
2588
2588
  player: this.getSlidePlayerInstance(this.index)
2589
2589
  }
2590
- }), rt(this.settings.beforeSlideChange) && this.settings.beforeSlideChange.apply(this, [
2590
+ }), F(this.settings.beforeSlideChange) && this.settings.beforeSlideChange.apply(this, [
2591
2591
  {
2592
2592
  index: this.prevActiveSlideIndex,
2593
2593
  slide: this.prevActiveSlide,
@@ -2600,7 +2600,7 @@ class Xe {
2600
2600
  }
2601
2601
  ]), this.prevActiveSlideIndex > this.index && this.settings.slideEffect == "slide" && (s = this.settings.cssEfects.slideBack.out), Gt(e, s, () => {
2602
2602
  let t = e.querySelector(".ginner-container"), n = e.querySelector(".gslide-media"), r = e.querySelector(".gslide-description");
2603
- t.style.transform = "", n.style.transform = "", kt(n, "greset"), n.style.opacity = "", r && (r.style.opacity = ""), kt(e, "prev");
2603
+ t.style.transform = "", n.style.transform = "", xt(n, "greset"), n.style.opacity = "", r && (r.style.opacity = ""), xt(e, "prev");
2604
2604
  });
2605
2605
  }
2606
2606
  /**
@@ -2617,7 +2617,7 @@ class Xe {
2617
2617
  */
2618
2618
  getSlidePlayerInstance(e) {
2619
2619
  const i = "gvideo" + e, s = this.getAllPlayers();
2620
- return Lt(s, i) && s[i] ? s[i] : !1;
2620
+ return Ot(s, i) && s[i] ? s[i] : !1;
2621
2621
  }
2622
2622
  /**
2623
2623
  * Stop video at specified
@@ -2693,10 +2693,10 @@ class Xe {
2693
2693
  setElements(e) {
2694
2694
  this.settings.elements = !1;
2695
2695
  const i = [];
2696
- e && e.length && At(e, (s, t) => {
2696
+ e && e.length && lt(e, (s, t) => {
2697
2697
  const n = new ue(s, this, t), r = n.getConfig(), a = Rt({}, r);
2698
2698
  a.slideConfig = r, a.instance = n, a.index = t, i.push(a);
2699
- }), this.elements = i, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (At(this.elements, () => {
2699
+ }), this.elements = i, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (lt(this.elements, () => {
2700
2700
  let s = Ut(this.settings.slideHTML);
2701
2701
  this.slidesContainer.appendChild(s);
2702
2702
  }), this.showSlide(0, !0)));
@@ -2715,8 +2715,8 @@ class Xe {
2715
2715
  */
2716
2716
  getElementIndex(e) {
2717
2717
  let i = !1;
2718
- return At(this.elements, (s, t) => {
2719
- if (Lt(s, "node") && s.node == e)
2718
+ return lt(this.elements, (s, t) => {
2719
+ if (Ot(s, "node") && s.node == e)
2720
2720
  return i = t, !0;
2721
2721
  }), i;
2722
2722
  }
@@ -2730,14 +2730,14 @@ class Xe {
2730
2730
  */
2731
2731
  getElements() {
2732
2732
  let e = [];
2733
- this.elements = this.elements ? this.elements : [], !Xt(this.settings.elements) && We(this.settings.elements) && this.settings.elements.length && At(this.settings.elements, (t, n) => {
2734
- const r = new ue(t, this, n), a = r.getConfig(), f = Rt({}, a);
2735
- f.node = !1, f.index = n, f.instance = r, f.slideConfig = a, e.push(f);
2733
+ this.elements = this.elements ? this.elements : [], !Xt(this.settings.elements) && He(this.settings.elements) && this.settings.elements.length && lt(this.settings.elements, (t, n) => {
2734
+ const r = new ue(t, this, n), a = r.getConfig(), u = Rt({}, a);
2735
+ u.node = !1, u.index = n, u.instance = r, u.slideConfig = a, e.push(u);
2736
2736
  });
2737
2737
  let i = !1;
2738
- return this.getSelector() && (i = document.querySelectorAll(this.getSelector())), i && At(i, (t, n) => {
2739
- const r = new ue(t, this, n), a = r.getConfig(), f = Rt({}, a);
2740
- f.node = t, f.index = n, f.instance = r, f.slideConfig = a, f.gallery = t.getAttribute("data-gallery"), e.push(f);
2738
+ return this.getSelector() && (i = document.querySelectorAll(this.getSelector())), i && lt(i, (t, n) => {
2739
+ const r = new ue(t, this, n), a = r.getConfig(), u = Rt({}, a);
2740
+ u.node = t, u.index = n, u.instance = r, u.slideConfig = a, u.gallery = t.getAttribute("data-gallery"), e.push(u);
2741
2741
  }), e;
2742
2742
  }
2743
2743
  /**
@@ -2788,38 +2788,38 @@ class Xe {
2788
2788
  if (this.built)
2789
2789
  return !1;
2790
2790
  const e = document.body.childNodes, i = [];
2791
- At(e, (d) => {
2791
+ lt(e, (d) => {
2792
2792
  d.parentNode == document.body && d.nodeName.charAt(0) !== "#" && d.hasAttribute && !d.hasAttribute("aria-hidden") && (i.push(d), d.setAttribute("aria-hidden", "true"));
2793
2793
  });
2794
- const s = Lt(this.settings.svg, "next") ? this.settings.svg.next : "", t = Lt(this.settings.svg, "prev") ? this.settings.svg.prev : "", n = Lt(this.settings.svg, "close") ? this.settings.svg.close : "";
2794
+ const s = Ot(this.settings.svg, "next") ? this.settings.svg.next : "", t = Ot(this.settings.svg, "prev") ? this.settings.svg.prev : "", n = Ot(this.settings.svg, "close") ? this.settings.svg.close : "";
2795
2795
  let r = this.settings.lightboxHTML;
2796
2796
  r = r.replace(/{nextSVG}/g, s), r = r.replace(/{prevSVG}/g, t), r = r.replace(/{closeSVG}/g, n), r = Ut(r), document.body.appendChild(r);
2797
2797
  const a = document.getElementById("glightbox-body");
2798
2798
  this.modal = a;
2799
- let f = a.querySelector(".gclose");
2800
- this.prevButton = a.querySelector(".gprev"), this.nextButton = a.querySelector(".gnext"), this.overlay = a.querySelector(".goverlay"), this.loader = a.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = i, this.events = {}, Z(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && f && (this.events.close = Bt("click", {
2801
- onElement: f,
2802
- withCallback: (d, y) => {
2799
+ let u = a.querySelector(".gclose");
2800
+ this.prevButton = a.querySelector(".gprev"), this.nextButton = a.querySelector(".gnext"), this.overlay = a.querySelector(".goverlay"), this.loader = a.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = i, this.events = {}, z(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && u && (this.events.close = Wt("click", {
2801
+ onElement: u,
2802
+ withCallback: (d, m) => {
2803
2803
  d.preventDefault(), this.close();
2804
2804
  }
2805
- })), f && !this.settings.closeButton && f.parentNode.removeChild(f), this.nextButton && (this.events.next = Bt("click", {
2805
+ })), u && !this.settings.closeButton && u.parentNode.removeChild(u), this.nextButton && (this.events.next = Wt("click", {
2806
2806
  onElement: this.nextButton,
2807
- withCallback: (d, y) => {
2807
+ withCallback: (d, m) => {
2808
2808
  d.preventDefault(), this.nextSlide();
2809
2809
  }
2810
- })), this.prevButton && (this.events.prev = Bt("click", {
2810
+ })), this.prevButton && (this.events.prev = Wt("click", {
2811
2811
  onElement: this.prevButton,
2812
- withCallback: (d, y) => {
2812
+ withCallback: (d, m) => {
2813
2813
  d.preventDefault(), this.prevSlide();
2814
2814
  }
2815
- })), this.settings.closeOnOutsideClick && (this.events.outClose = Bt("click", {
2815
+ })), this.settings.closeOnOutsideClick && (this.events.outClose = Wt("click", {
2816
2816
  onElement: a,
2817
- withCallback: (d, y) => {
2818
- !this.preventOutsideClick && !Pt(document.body, "glightbox-mobile") && !Wt(d.target, ".ginner-container") && !Wt(d.target, ".gbtn") && !Pt(d.target, "gnext") && !Pt(d.target, "gprev") && this.close();
2817
+ withCallback: (d, m) => {
2818
+ !this.preventOutsideClick && !Lt(document.body, "glightbox-mobile") && !Bt(d.target, ".ginner-container") && !Bt(d.target, ".gbtn") && !Lt(d.target, "gnext") && !Lt(d.target, "gprev") && this.close();
2819
2819
  }
2820
- })), At(this.elements, (d, y) => {
2821
- this.slidesContainer.appendChild(d.instance.create()), d.slideNode = this.slidesContainer.querySelectorAll(".gslide")[y];
2822
- }), Pe && Z(document.body, "glightbox-touch"), this.events.resize = Bt("resize", {
2820
+ })), lt(this.elements, (d, m) => {
2821
+ this.slidesContainer.appendChild(d.instance.create()), d.slideNode = this.slidesContainer.querySelectorAll(".gslide")[m];
2822
+ }), De && z(document.body, "glightbox-touch"), this.events.resize = Wt("resize", {
2823
2823
  onElement: window,
2824
2824
  withCallback: () => {
2825
2825
  this.resize();
@@ -2835,36 +2835,36 @@ class Xe {
2835
2835
  * and images with description
2836
2836
  */
2837
2837
  resize(e = null) {
2838
- if (e = e || this.activeSlide, !e || Pt(e, "zoomed"))
2838
+ if (e = e || this.activeSlide, !e || Lt(e, "zoomed"))
2839
2839
  return;
2840
- const i = Be(), s = e.querySelector(".gvideo-wrapper"), t = e.querySelector(".gslide-image"), n = this.slideDescription;
2840
+ const i = Xe(), s = e.querySelector(".gvideo-wrapper"), t = e.querySelector(".gslide-image"), n = this.slideDescription;
2841
2841
  let r = i.width, a = i.height;
2842
- if (r <= 768 ? Z(document.body, "glightbox-mobile") : kt(document.body, "glightbox-mobile"), !s && !t)
2842
+ if (r <= 768 ? z(document.body, "glightbox-mobile") : xt(document.body, "glightbox-mobile"), !s && !t)
2843
2843
  return;
2844
- let f = !1;
2845
- if (n && (Pt(n, "description-bottom") || Pt(n, "description-top")) && !Pt(n, "gabsolute") && (f = !0), t) {
2844
+ let u = !1;
2845
+ if (n && (Lt(n, "description-bottom") || Lt(n, "description-top")) && !Lt(n, "gabsolute") && (u = !0), t) {
2846
2846
  if (r <= 768)
2847
2847
  t.querySelector("img");
2848
- else if (f) {
2849
- let d = n.offsetHeight, y = t.querySelector("img");
2850
- const _ = this.elements[this.index].node.getAttribute("data-height") ?? "100vh";
2851
- y.setAttribute("style", `max-height: calc(${_} - ${d}px)`), n.setAttribute("style", `max-width: ${y.offsetWidth}px;`);
2848
+ else if (u) {
2849
+ let d = n.offsetHeight, m = t.querySelector("img");
2850
+ const x = this.elements[this.index].node.getAttribute("data-height") ?? "100vh";
2851
+ m.setAttribute("style", `max-height: calc(${x} - ${d}px)`), n.setAttribute("style", `max-width: ${m.offsetWidth}px;`);
2852
2852
  }
2853
2853
  }
2854
2854
  if (s) {
2855
- let d = Lt(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2855
+ let d = Ot(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2856
2856
  if (!d) {
2857
- const P = s.clientWidth, M = s.clientHeight, dt = P / M;
2858
- d = `${P / dt}:${M / dt}`;
2859
- }
2860
- let y = d.split(":"), b = this.settings.videosWidth, _ = this.settings.videosWidth;
2861
- pe(b) || b.indexOf("px") !== -1 ? _ = parseInt(b) : b.indexOf("vw") !== -1 ? _ = r * parseInt(b) / 100 : b.indexOf("vh") !== -1 ? _ = a * parseInt(b) / 100 : b.indexOf("%") !== -1 ? _ = r * parseInt(b) / 100 : _ = parseInt(s.clientWidth);
2862
- let q = _ / (parseInt(y[0]) / parseInt(y[1]));
2863
- if (q = Math.floor(q), f && (a = a - n.offsetHeight), _ > r || q > a || a < q && r > _) {
2864
- let P = s.offsetWidth, M = s.offsetHeight, dt = a / M, et = { width: P * dt };
2865
- s.parentNode.setAttribute("style", `max-width: ${et.width}px`), f && n.setAttribute("style", `max-width: ${et.width}px;`);
2857
+ const M = s.clientWidth, Y = s.clientHeight, et = M / Y;
2858
+ d = `${M / et}:${Y / et}`;
2859
+ }
2860
+ let m = d.split(":"), b = this.settings.videosWidth, x = this.settings.videosWidth;
2861
+ pe(b) || b.indexOf("px") !== -1 ? x = parseInt(b) : b.indexOf("vw") !== -1 ? x = r * parseInt(b) / 100 : b.indexOf("vh") !== -1 ? x = a * parseInt(b) / 100 : b.indexOf("%") !== -1 ? x = r * parseInt(b) / 100 : x = parseInt(s.clientWidth);
2862
+ let L = x / (parseInt(m[0]) / parseInt(m[1]));
2863
+ if (L = Math.floor(L), u && (a = a - n.offsetHeight), x > r || L > a || a < L && r > x) {
2864
+ let M = s.offsetWidth, Y = s.offsetHeight, et = a / Y, st = { width: M * et };
2865
+ s.parentNode.setAttribute("style", `max-width: ${st.width}px`), u && n.setAttribute("style", `max-width: ${st.width}px;`);
2866
2866
  } else
2867
- s.parentNode.style.maxWidth = `${b}`, f && n.setAttribute("style", `max-width: ${b};`);
2867
+ s.parentNode.style.maxWidth = `${b}`, u && n.setAttribute("style", `max-width: ${b};`);
2868
2868
  }
2869
2869
  }
2870
2870
  /**
@@ -2879,14 +2879,14 @@ class Xe {
2879
2879
  */
2880
2880
  updateNavigationClasses() {
2881
2881
  const e = this.loop();
2882
- kt(this.nextButton, "disabled"), kt(this.prevButton, "disabled"), this.index == 0 && this.elements.length - 1 == 0 ? (Z(this.prevButton, "disabled"), Z(this.nextButton, "disabled")) : this.index === 0 && !e ? Z(this.prevButton, "disabled") : this.index === this.elements.length - 1 && !e && Z(this.nextButton, "disabled");
2882
+ xt(this.nextButton, "disabled"), xt(this.prevButton, "disabled"), this.index == 0 && this.elements.length - 1 == 0 ? (z(this.prevButton, "disabled"), z(this.nextButton, "disabled")) : this.index === 0 && !e ? z(this.prevButton, "disabled") : this.index === this.elements.length - 1 && !e && z(this.nextButton, "disabled");
2883
2883
  }
2884
2884
  /**
2885
2885
  * Handle loop config
2886
2886
  */
2887
2887
  loop() {
2888
- let e = Lt(this.settings, "loopAtEnd") ? this.settings.loopAtEnd : null;
2889
- return e = Lt(this.settings, "loop") ? this.settings.loop : e, e;
2888
+ let e = Ot(this.settings, "loopAtEnd") ? this.settings.loopAtEnd : null;
2889
+ return e = Ot(this.settings, "loop") ? this.settings.loop : e, e;
2890
2890
  }
2891
2891
  /**
2892
2892
  * Close Lightbox
@@ -2904,16 +2904,16 @@ class Xe {
2904
2904
  }
2905
2905
  if (this.closing)
2906
2906
  return !1;
2907
- this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && At(this.bodyHiddenChildElms, (e) => {
2907
+ this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && lt(this.bodyHiddenChildElms, (e) => {
2908
2908
  e.removeAttribute("aria-hidden");
2909
- }), Z(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, () => {
2909
+ }), z(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, () => {
2910
2910
  if (this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null, this.built = !1, this.events) {
2911
2911
  for (let s in this.events)
2912
2912
  this.events.hasOwnProperty(s) && this.events[s].destroy();
2913
2913
  this.events = null;
2914
2914
  }
2915
2915
  const e = document.body;
2916
- kt(Ae, "glightbox-open"), kt(e, "glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"), this.modal.parentNode.removeChild(this.modal), this.trigger("close"), rt(this.settings.onClose) && this.settings.onClose();
2916
+ xt(Oe, "glightbox-open"), xt(e, "glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer"), this.modal.parentNode.removeChild(this.modal), this.trigger("close"), F(this.settings.onClose) && this.settings.onClose();
2917
2917
  const i = document.querySelector(".gcss-styles");
2918
2918
  i && i.parentNode.removeChild(i), this.lightboxOpen = !1, this.closing = null;
2919
2919
  });
@@ -2929,7 +2929,7 @@ class Xe {
2929
2929
  * Set event
2930
2930
  */
2931
2931
  on(e, i, s = !1) {
2932
- if (!e || !rt(i))
2932
+ if (!e || !F(i))
2933
2933
  throw new TypeError("Event name and callback must be defined");
2934
2934
  this.apiEvents.push({ evt: e, once: s, callback: i });
2935
2935
  }
@@ -2947,10 +2947,10 @@ class Xe {
2947
2947
  */
2948
2948
  trigger(e, i = null) {
2949
2949
  const s = [];
2950
- At(this.apiEvents, (t, n) => {
2951
- const { evt: r, once: a, callback: f } = t;
2952
- r == e && (f(i), a && s.push(n));
2953
- }), s.length && At(s, (t) => this.apiEvents.splice(t, 1));
2950
+ lt(this.apiEvents, (t, n) => {
2951
+ const { evt: r, once: a, callback: u } = t;
2952
+ r == e && (u(i), a && s.push(n));
2953
+ }), s.length && lt(s, (t) => this.apiEvents.splice(t, 1));
2954
2954
  }
2955
2955
  /**
2956
2956
  * Removes all events
@@ -2963,309 +2963,74 @@ class Xe {
2963
2963
  * Get Version
2964
2964
  */
2965
2965
  version() {
2966
- return wi;
2966
+ return yi;
2967
2967
  }
2968
2968
  }
2969
- var Oe = { exports: {} }, He;
2970
- function xi() {
2971
- return He || (He = 1, (function(o, e) {
2972
- (function() {
2973
- var i = {
2974
- // Scrolling Core
2975
- frameRate: 150,
2976
- // [Hz]
2977
- animationTime: 400,
2978
- // [ms]
2979
- stepSize: 100,
2980
- // [px]
2981
- // Pulse (less tweakable)
2982
- // ratio of "tail" to "acceleration"
2983
- pulseAlgorithm: !0,
2984
- pulseScale: 4,
2985
- pulseNormalize: 1,
2986
- // Acceleration
2987
- accelerationDelta: 50,
2988
- // 50
2989
- accelerationMax: 3,
2990
- // 3
2991
- // Keyboard Settings
2992
- keyboardSupport: !0,
2993
- // option
2994
- arrowScroll: 50,
2995
- // [px]
2996
- // Other
2997
- fixedBackground: !0,
2998
- excluded: ""
2999
- }, s = i, t = !1, n = { x: 0, y: 0 }, r = !1, a = document.documentElement, f, d, y, b = [], _, q = /^Mac/.test(navigator.platform);
3000
- function P() {
3001
- s.keyboardSupport && B("keydown", l);
3002
- }
3003
- function M() {
3004
- if (!(r || !document.body)) {
3005
- r = !0;
3006
- var h = document.body, x = document.documentElement, k = window.innerHeight, H = h.scrollHeight;
3007
- if (a = document.compatMode.indexOf("CSS") >= 0 ? x : h, f = h, P(), top != self)
3008
- t = !0;
3009
- else if (Q && H > k && (h.offsetHeight <= k || x.offsetHeight <= k)) {
3010
- var W = document.createElement("div");
3011
- W.style.cssText = "position:absolute; z-index:-10000; top:0; left:0; right:0; height:" + a.scrollHeight + "px", document.body.appendChild(W);
3012
- var p;
3013
- y = function() {
3014
- p || (p = setTimeout(function() {
3015
- W.style.height = "0", W.style.height = a.scrollHeight + "px", p = null;
3016
- }, 500));
3017
- }, setTimeout(y, 10), B("resize", y);
3018
- var w = {
3019
- attributes: !0,
3020
- childList: !0,
3021
- characterData: !1
3022
- // subtree: true
3023
- };
3024
- if (d = new Tt(y), d.observe(h, w), a.offsetHeight <= k) {
3025
- var S = document.createElement("div");
3026
- S.style.clear = "both", h.appendChild(S);
3027
- }
3028
- }
3029
- s.fixedBackground || (h.style.backgroundAttachment = "scroll", x.style.backgroundAttachment = "scroll");
3030
- }
3031
- }
3032
- function dt() {
3033
- d && d.disconnect(), F(qt, Ct), F("mousedown", g), F("keydown", l), F("resize", y), F("load", M);
3034
- }
3035
- var et = [], It = !1, _t = Date.now();
3036
- function jt(h, x, k) {
3037
- if (lt(x, k), s.accelerationMax != 1) {
3038
- var H = Date.now(), W = H - _t;
3039
- if (W < s.accelerationDelta) {
3040
- var p = (1 + 50 / W) / 2;
3041
- p > 1 && (p = Math.min(p, s.accelerationMax), x *= p, k *= p);
3042
- }
3043
- _t = Date.now();
3044
- }
3045
- if (et.push({
3046
- x,
3047
- y: k,
3048
- lastX: x < 0 ? 0.99 : -0.99,
3049
- lastY: k < 0 ? 0.99 : -0.99,
3050
- start: Date.now()
3051
- }), !It) {
3052
- var w = yt(), S = h === w || h === document.body;
3053
- h.$scrollBehavior == null && $(h) && (h.$scrollBehavior = h.style.scrollBehavior, h.style.scrollBehavior = "auto");
3054
- var A = function(V) {
3055
- for (var it = Date.now(), R = 0, Y = 0, K = 0; K < et.length; K++) {
3056
- var z = et[K], mt = it - z.start, nt = mt >= s.animationTime, at = nt ? 1 : mt / s.animationTime;
3057
- s.pulseAlgorithm && (at = vt(at));
3058
- var bt = z.x * at - z.lastX >> 0, Dt = z.y * at - z.lastY >> 0;
3059
- R += bt, Y += Dt, z.lastX += bt, z.lastY += Dt, nt && (et.splice(K, 1), K--);
3060
- }
3061
- S ? window.scrollBy(R, Y) : (R && (h.scrollLeft += R), Y && (h.scrollTop += Y)), !x && !k && (et = []), et.length ? ft(A, h, 1e3 / s.frameRate + 1) : (It = !1, h.$scrollBehavior != null && (h.style.scrollBehavior = h.$scrollBehavior, h.$scrollBehavior = null));
3062
- };
3063
- ft(A, h, 0), It = !0;
3064
- }
3065
- }
3066
- function Ct(h) {
3067
- r || M();
3068
- var x = E(h);
3069
- if (h.defaultPrevented || h.ctrlKey || ot(f, "embed") || ot(x, "embed") && /\.pdf/i.test(x.src) || ot(f, "object"))
3070
- return !0;
3071
- var k = -h.wheelDeltaX || h.deltaX || 0, H = -h.wheelDeltaY || h.deltaY || 0;
3072
- q && (h.wheelDeltaX && U(h.wheelDeltaX, 120) && (k = -120 * (h.wheelDeltaX / Math.abs(h.wheelDeltaX))), h.wheelDeltaY && U(h.wheelDeltaY, 120) && (H = -120 * (h.wheelDeltaY / Math.abs(h.wheelDeltaY)))), !k && !H && (H = -h.wheelDelta || 0), h.deltaMode === 1 && (k *= 40, H *= 40);
3073
- var W = u(x);
3074
- if (!W)
3075
- return t && gt ? (Object.defineProperty(h, "target", { value: window.frameElement }), parent.wheel(h)) : !0;
3076
- if (G(H))
3077
- return !0;
3078
- Math.abs(k) > 1.2 && (k *= s.stepSize / 120), Math.abs(H) > 1.2 && (H *= s.stepSize / 120), jt(W, k, H), h.preventDefault(), T();
3079
- }
3080
- function l(h) {
3081
- var x = E(h), k = h.ctrlKey || h.altKey || h.metaKey || h.shiftKey && h.code !== "Space";
3082
- document.body.contains(f) || (f = document.activeElement);
3083
- var H = /^(textarea|select|embed|object)$/i, W = /^(button|submit|radio|checkbox|file|color|image)$/i;
3084
- if (h.defaultPrevented || H.test(x.nodeName) || ot(x, "input") && !W.test(x.type) || ot(f, "video") || Vt(h) || x.isContentEditable || k || (ot(x, "button") || ot(x, "input") && W.test(x.type)) && h.code === "Space" || ot(x, "input") && x.type == "radio" && (h.code === "ArrowUp" || h.code === "ArrowDown" || h.code === "ArrowLeft" || h.code === "ArrowRight"))
3085
- return !0;
3086
- var p, w = 0, S = 0, A = u(f);
3087
- if (!A)
3088
- return t && gt ? parent.keydown(h) : !0;
3089
- var V = A.clientHeight;
3090
- switch (A == document.body && (V = window.innerHeight), h.code) {
3091
- case "ArrowUp":
3092
- S = -s.arrowScroll;
3093
- break;
3094
- case "ArrowDown":
3095
- S = s.arrowScroll;
3096
- break;
3097
- case "Space":
3098
- p = h.shiftKey ? 1 : -1, S = -p * V * 0.9;
3099
- break;
3100
- case "PageUp":
3101
- S = -V * 0.9;
3102
- break;
3103
- case "PageDown":
3104
- S = V * 0.9;
3105
- break;
3106
- case "Home":
3107
- A == document.body && document.scrollingElement && (A = document.scrollingElement), S = -A.scrollTop;
3108
- break;
3109
- case "End":
3110
- var it = A.scrollHeight - A.scrollTop, R = it - V;
3111
- S = R > 0 ? R + 10 : 0;
3112
- break;
3113
- case "ArrowLeft":
3114
- w = -s.arrowScroll;
3115
- break;
3116
- case "ArrowRight":
3117
- w = s.arrowScroll;
3118
- break;
3119
- default:
3120
- return !0;
3121
- }
3122
- jt(A, w, S), h.preventDefault(), T();
3123
- }
3124
- function g(h) {
3125
- f = E(h);
3126
- }
3127
- function E(h) {
3128
- return h.composedPath ? h.composedPath()[0] : h.target;
3129
- }
3130
- var L = /* @__PURE__ */ (function() {
3131
- var h = 0;
3132
- return function(x) {
3133
- return x.uniqueID || (x.uniqueID = h++);
3134
- };
3135
- })(), j = {}, D, st = {};
3136
- function T() {
3137
- clearTimeout(D), D = setInterval(function() {
3138
- j = st = {};
3139
- }, 1 * 1e3);
3140
- }
3141
- function v(h, x, k) {
3142
- for (var H = j, W = h.length; W--; )
3143
- H[L(h[W])] = x;
3144
- return x;
3145
- }
3146
- function c(h, x) {
3147
- return j[L(h)];
3148
- }
3149
- function u(h) {
3150
- for (var x = [], k = document.body, H = a.scrollHeight; h; ) {
3151
- var W = c(h);
3152
- if (W)
3153
- return v(x, W);
3154
- if (x.push(h), H === h.scrollHeight) {
3155
- var p = I(a) && I(k), w = p || C(a);
3156
- if (t && O(a) || !t && w)
3157
- return v(x, yt());
3158
- } else if (O(h) && C(h))
3159
- return v(x, h);
3160
- h = h.parentElement || h.getRootNode && h.getRootNode().host;
3161
- }
3162
- }
3163
- function O(h) {
3164
- return h.clientHeight + 10 < h.scrollHeight;
3165
- }
3166
- function I(h) {
3167
- var x = getComputedStyle(h, "").getPropertyValue("overflow-y");
3168
- return x !== "hidden";
3169
- }
3170
- function C(h) {
3171
- var x = getComputedStyle(h, "").getPropertyValue("overflow-y");
3172
- return x === "scroll" || x === "auto";
3173
- }
3174
- function $(h) {
3175
- var x = L(h);
3176
- if (st[x] == null) {
3177
- var k = getComputedStyle(h, "")["scroll-behavior"];
3178
- st[x] = k == "smooth";
3179
- }
3180
- return st[x];
3181
- }
3182
- function B(h, x, k) {
3183
- window.addEventListener(h, x, k || !1);
3184
- }
3185
- function F(h, x, k) {
3186
- window.removeEventListener(h, x, !1);
3187
- }
3188
- function ot(h, x) {
3189
- return h && (h.nodeName || "").toLowerCase() === x.toLowerCase();
3190
- }
3191
- function lt(h, x) {
3192
- h = h > 0 ? 1 : -1, x = x > 0 ? 1 : -1, (n.x !== h || n.y !== x) && (n.x = h, n.y = x, et = [], _t = 0);
3193
- }
3194
- try {
3195
- localStorage.SS_deltaBuffer && (b = localStorage.SS_deltaBuffer.split(","));
3196
- } catch {
3197
- }
3198
- function G(h) {
3199
- if (h) {
3200
- b.length || (b = [h, h, h]), h = Math.abs(h), b.push(h), b.shift(), clearTimeout(_), _ = setTimeout(function() {
3201
- try {
3202
- localStorage.SS_deltaBuffer = b.join(",");
3203
- } catch {
3204
- }
3205
- }, 1e3);
3206
- var x = h > 120 && ct(h), k = !ct(120) && !ct(100) && !x;
3207
- return h < 50 ? !0 : k;
3208
- }
3209
- }
3210
- function U(h, x) {
3211
- return Math.floor(h / x) == h / x;
3212
- }
3213
- function ct(h) {
3214
- return U(b[0], h) && U(b[1], h) && U(b[2], h);
3215
- }
3216
- function Vt(h) {
3217
- var x = E(h), k = !1;
3218
- if (document.URL.indexOf("www.youtube.com/watch") != -1)
3219
- do
3220
- if (k = x.classList && x.classList.contains("html5-video-controls"), k) break;
3221
- while (x = x.parentNode);
3222
- return k;
3223
- }
3224
- var ft = (function() {
3225
- return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(h, x, k) {
3226
- window.setTimeout(h, k || 1e3 / 60);
3227
- };
3228
- })(), Tt = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver, yt = (function() {
3229
- var h = document.scrollingElement;
3230
- return function() {
3231
- if (!h) {
3232
- var x = document.createElement("div");
3233
- x.style.cssText = "height:10000px;width:1px;", document.body.appendChild(x);
3234
- var k = document.body.scrollTop;
3235
- document.documentElement.scrollTop, window.scrollBy(0, 3), document.body.scrollTop != k ? h = document.body : h = document.documentElement, window.scrollBy(0, -3), document.body.removeChild(x);
3236
- }
3237
- return h;
3238
- };
3239
- })();
3240
- function J(h) {
3241
- var x, k, H;
3242
- return h = h * s.pulseScale, h < 1 ? x = h - (1 - Math.exp(-h)) : (k = Math.exp(-1), h -= 1, H = 1 - Math.exp(-h), x = k + H * (1 - k)), x * s.pulseNormalize;
3243
- }
3244
- function vt(h) {
3245
- return h >= 1 ? 1 : h <= 0 ? 0 : (s.pulseNormalize == 1 && (s.pulseNormalize /= J(1)), J(h));
3246
- }
3247
- var tt = window.navigator.userAgent, ht = /Edge/.test(tt), gt = /chrome/i.test(tt) && !ht, wt = /safari/i.test(tt) && !ht, pt = /mobile/i.test(tt), Ot = /Windows NT 6.1/i.test(tt) && /rv:11/i.test(tt), Q = wt && (/Version\/8/i.test(tt) || /Version\/9/i.test(tt)), Yt = (gt || wt || Ot) && !pt, Mt = !1;
3248
- try {
3249
- window.addEventListener("test", null, Object.defineProperty({}, "passive", {
3250
- get: function() {
3251
- Mt = !0;
3252
- }
3253
- }));
3254
- } catch {
3255
- }
3256
- var xt = Mt ? { passive: !1 } : !1, qt = "onwheel" in document.createElement("div") ? "wheel" : "mousewheel";
3257
- Yt && (B(qt, Ct, xt), B("mousedown", g), B("load", M));
3258
- function X(h) {
3259
- for (var x in h)
3260
- i.hasOwnProperty(x) && (s[x] = h[x]);
3261
- }
3262
- X.destroy = dt, window.SmoothScrollOptions && X(window.SmoothScrollOptions), o.exports = X;
3263
- })();
3264
- })(Oe)), Oe.exports;
2969
+ class vi {
2970
+ constructor(e = {}) {
2971
+ this.animationTime = e.animationTime ?? 800, this.frameRate = e.frameRate ?? 150, this.stepSize = e.stepSize ?? 120, this.accelerationDelta = e.accelerationDelta ?? 300, this.accelerationMax = e.accelerationMax ?? 2, this.pulseScale = e.pulseScale ?? 4, this.pulseNormalize = 1 / this._pulseRaw(1), this.queue = [], this.pending = !1, this.lastScrollTime = 0, this.direction = { x: 0, y: 0 }, this._init();
2972
+ }
2973
+ _init() {
2974
+ window.addEventListener("wheel", this._onWheel.bind(this), { passive: !1 });
2975
+ }
2976
+ destroy() {
2977
+ window.removeEventListener("wheel", this._onWheel.bind(this)), this.queue = [], this.pending = !1;
2978
+ }
2979
+ _onWheel(e) {
2980
+ if (e.ctrlKey || e.defaultPrevented) return;
2981
+ let i = e.deltaX, s = e.deltaY;
2982
+ !i && !s && (s = -e.wheelDelta || 0), e.deltaMode === 1 && (i *= 40, s *= 40), Math.abs(i) > 1.2 && (i = i / 120 * this.stepSize), Math.abs(s) > 1.2 && (s = s / 120 * this.stepSize);
2983
+ const t = e.target, n = this._findScrollableAncestor(t);
2984
+ if (!n) return;
2985
+ const r = Date.now(), a = r - this.lastScrollTime;
2986
+ let u = 1;
2987
+ a < this.accelerationDelta && (u = Math.min(1 + 50 / a, this.accelerationMax), i *= u, s *= u), this.lastScrollTime = r;
2988
+ const d = Math.sign(i), m = Math.sign(s);
2989
+ (d !== this.direction.x || m !== this.direction.y) && (this.direction = { x: d, y: m }, this.queue = []), this._enqueueScroll(n, i, s), e.preventDefault();
2990
+ }
2991
+ _findScrollableAncestor(e) {
2992
+ const i = document.scrollingElement || document.documentElement;
2993
+ let s = e;
2994
+ for (; s && s !== document.body; ) {
2995
+ const n = window.getComputedStyle(s).overflowY, r = ["auto", "scroll"].includes(n), a = s.scrollHeight > s.clientHeight;
2996
+ if (r && a) return s;
2997
+ if (s === i) return i;
2998
+ s = s.parentElement;
2999
+ }
3000
+ return i;
3001
+ }
3002
+ _enqueueScroll(e, i, s) {
3003
+ this.queue.push({
3004
+ element: e,
3005
+ x: i,
3006
+ y: s,
3007
+ lastX: i < 0 ? 0.99 : -0.99,
3008
+ lastY: s < 0 ? 0.99 : -0.99,
3009
+ start: Date.now()
3010
+ }), this.pending || (this._animate(e), this.pending = !0);
3011
+ }
3012
+ _animate(e) {
3013
+ const i = Date.now();
3014
+ let s = 0, t = 0;
3015
+ for (let n = this.queue.length - 1; n >= 0; n--) {
3016
+ const r = this.queue[n], a = i - r.start, u = a >= this.animationTime, d = u ? 1 : a / this.animationTime, m = this._pulse(d), b = r.x * m - r.lastX | 0, x = r.y * m - r.lastY | 0;
3017
+ s += b, t += x, r.lastX += b, r.lastY += x, u && this.queue.splice(n, 1);
3018
+ }
3019
+ e === document.scrollingElement || e === document.documentElement ? window.scrollBy(s, t) : (s && (e.scrollLeft += s), t && (e.scrollTop += t)), this.queue.length > 0 ? (1e3 / this.frameRate, requestAnimationFrame(() => this._animate(e))) : this.pending = !1;
3020
+ }
3021
+ _pulseRaw(e) {
3022
+ if (e *= this.pulseScale, e < 1)
3023
+ return e - (1 - Math.exp(-e));
3024
+ {
3025
+ const i = Math.exp(-1), s = 1 - Math.exp(-(e - 1));
3026
+ return i + s * (1 - i);
3027
+ }
3028
+ }
3029
+ _pulse(e) {
3030
+ return e <= 0 ? 0 : e >= 1 ? 1 : this._pulseRaw(e) * this.pulseNormalize;
3031
+ }
3265
3032
  }
3266
- var Oi = xi();
3267
- const Si = /* @__PURE__ */ be(Oi);
3268
- class Ai {
3033
+ class wi {
3269
3034
  constructor(e = {}) {
3270
3035
  const i = {
3271
3036
  skin: "light"
@@ -3276,22 +3041,10 @@ class Ai {
3276
3041
  }
3277
3042
  init() {
3278
3043
  this.prepareContent(), this.updateOnResize(), this.blockInit(), this.initeSkrollrr(), this.contentBoxOnRenderUpdate(), this.functionLightboxInit(), this.inViewSetup(), setTimeout(() => {
3279
- Ze.init({
3044
+ Fe.init({
3280
3045
  duration: 1200
3281
3046
  });
3282
- }, 300), Si({
3283
- frameRate: 150,
3284
- animationTime: 800,
3285
- stepSize: 120,
3286
- pulseAlgorithm: 1,
3287
- pulseScale: 4,
3288
- pulseNormalize: 1,
3289
- accelerationDelta: 300,
3290
- accelerationMax: 2,
3291
- keyboardSupport: 1,
3292
- arrowScroll: 50,
3293
- fixedBackground: 0
3294
- });
3047
+ }, 300), new vi();
3295
3048
  }
3296
3049
  prepareContent() {
3297
3050
  const e = document.querySelector(".is-wrapper");
@@ -3302,29 +3055,29 @@ class Ai {
3302
3055
  };
3303
3056
  document.querySelectorAll(".is-arrow-down a").forEach(function(r) {
3304
3057
  r.addEventListener("click", function(a) {
3305
- let f = a.target.closest(".is-section");
3306
- if (f) {
3307
- let d = i(f);
3058
+ let u = a.target.closest(".is-section");
3059
+ if (u) {
3060
+ let d = i(u);
3308
3061
  d && this.scrollIt(d, 1e3, "easeInQuad");
3309
3062
  }
3310
3063
  a.preventDefault(), a.stopImmediatePropagation();
3311
3064
  });
3312
3065
  }), e && (e.classList.contains("is-edit") || e.querySelectorAll("a").forEach(function(a) {
3313
- a.addEventListener("click", function(f) {
3066
+ a.addEventListener("click", function(u) {
3314
3067
  let d = a.getAttribute("href");
3315
3068
  if (d && d.indexOf("#") === 0)
3316
3069
  if (d.indexOf("#section") === 0) {
3317
- let y = d.replace("#section", "");
3318
- if (!isNaN(parseInt(y))) {
3319
- let b = document.querySelectorAll(".is-section"), _, q = 0;
3320
- b.forEach(function(P) {
3321
- P.classList.contains("is-section-navbar") || (q === y - 1 && (_ = P), q++);
3322
- }), _ && scrollIt(_, 1e3, "easeInQuad"), f.preventDefault();
3070
+ let m = d.replace("#section", "");
3071
+ if (!isNaN(parseInt(m))) {
3072
+ let b = document.querySelectorAll(".is-section"), x, L = 0;
3073
+ b.forEach(function(M) {
3074
+ M.classList.contains("is-section-navbar") || (L === m - 1 && (x = M), L++);
3075
+ }), x && scrollIt(x, 1e3, "easeInQuad"), u.preventDefault();
3323
3076
  }
3324
3077
  } else
3325
3078
  try {
3326
- let y = document.querySelector(d);
3327
- y && (scrollIt(y, 1e3, "easeInQuad"), f.preventDefault());
3079
+ let m = document.querySelector(d);
3080
+ m && (scrollIt(m, 1e3, "easeInQuad"), u.preventDefault());
3328
3081
  } catch {
3329
3082
  }
3330
3083
  });
@@ -3335,9 +3088,9 @@ class Ai {
3335
3088
  n.forEach(function(r) {
3336
3089
  r.classList.contains("once") ? (r.removeAttribute("data-scroll", ""), r.setAttribute("data-scroll-once", "")) : (r.removeAttribute("data-scroll-once", ""), r.setAttribute("data-scroll", ""));
3337
3090
  }), n = document.querySelectorAll(".is-container > div"), n.forEach(function(r) {
3338
- let a = r.querySelectorAll(".is-animated[data-scroll],.is-animated[data-scroll-once]"), f = 0;
3091
+ let a = r.querySelectorAll(".is-animated[data-scroll],.is-animated[data-scroll-once]"), u = 0;
3339
3092
  a.length > 1 && a.forEach(function(d) {
3340
- d.className.indexOf("delay-") === -1 && (f > 0 && (d.style.transitionDelay = f + "s", d.style.animationDelay = f + "s"), f = f + 0.2);
3093
+ d.className.indexOf("delay-") === -1 && (u > 0 && (d.style.transitionDelay = u + "s", d.style.animationDelay = u + "s"), u = u + 0.2);
3341
3094
  });
3342
3095
  }), this.skrollrSetup(), this.adjustBgPos();
3343
3096
  }
@@ -3363,7 +3116,7 @@ class Ai {
3363
3116
  e.forEach((s) => {
3364
3117
  s.style && s.style.filter && s.style.filter.indexOf("grayscale") !== -1 && (s.parentNode.style.filter = "grayscale(1)");
3365
3118
  });
3366
- const i = new Ke({
3119
+ const i = new Ge({
3367
3120
  transition: "all 0.3s ease-out"
3368
3121
  });
3369
3122
  i.init(), window.skrollrr = i;
@@ -3377,37 +3130,37 @@ class Ai {
3377
3130
  }
3378
3131
  skrollrSetup() {
3379
3132
  document.querySelectorAll(".pin-wrap").forEach((a) => {
3380
- const f = a.firstElementChild;
3381
- a.after(f), a.parentNode.removeChild(a);
3133
+ const u = a.firstElementChild;
3134
+ a.after(u), a.parentNode.removeChild(a);
3382
3135
  }), document.querySelectorAll(".is-section").forEach((a) => {
3383
3136
  a.hasAttribute("data-section-clone") && a.parentNode.removeChild(a), a.hasAttribute("data-section-original") && (a.style.display = "", a.removeAttribute("data-section-original"));
3384
3137
  });
3385
3138
  let s = window.innerWidth;
3386
- s <= 760 && document.querySelectorAll(".section-wrap").forEach((f) => {
3387
- f.outerHTML = f.innerHTML;
3139
+ s <= 760 && document.querySelectorAll(".section-wrap").forEach((u) => {
3140
+ u.outerHTML = u.innerHTML;
3388
3141
  });
3389
3142
  const t = window.self !== window.top;
3390
3143
  let n;
3391
3144
  t ? n = document.querySelectorAll(".is-wrapper .section-pin") : n = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), n.length > 0 && window.scrollTo(0, 0), n.forEach(function(a) {
3392
3145
  s <= 970 && a.querySelector(".is-box") && (a.querySelectorAll(".is-box").forEach((d) => {
3393
- const y = a.cloneNode(!1);
3146
+ const m = a.cloneNode(!1);
3394
3147
  d.getAttributeNames().map((b) => {
3395
- b.indexOf("data-") !== -1 && y.setAttribute(b, d.getAttribute(b));
3396
- }), y.classList.add("is-box"), d.classList.forEach((b) => {
3397
- (b.indexOf("is-box-") !== -1 || b.indexOf("is-content-") !== -1 || b.indexOf("box-autofit") !== -1 || b.indexOf("is-light-text") !== -1 || b.indexOf("is-dark-text") !== -1 || b.indexOf("is-align-") !== -1 || b.indexOf("type-") !== -1 || b.indexOf("block-click") !== -1 || b.indexOf("hover-zoom") !== -1) && y.classList.add(b);
3398
- }), y.setAttribute("data-section-clone", ""), y.innerHTML = d.innerHTML, a.parentNode.insertBefore(y, a);
3148
+ b.indexOf("data-") !== -1 && m.setAttribute(b, d.getAttribute(b));
3149
+ }), m.classList.add("is-box"), d.classList.forEach((b) => {
3150
+ (b.indexOf("is-box-") !== -1 || b.indexOf("is-content-") !== -1 || b.indexOf("box-autofit") !== -1 || b.indexOf("is-light-text") !== -1 || b.indexOf("is-dark-text") !== -1 || b.indexOf("is-align-") !== -1 || b.indexOf("type-") !== -1 || b.indexOf("block-click") !== -1 || b.indexOf("hover-zoom") !== -1) && m.classList.add(b);
3151
+ }), m.setAttribute("data-section-clone", ""), m.innerHTML = d.innerHTML, a.parentNode.insertBefore(m, a);
3399
3152
  }), a.setAttribute("data-section-original", ""), a.style.display = "none");
3400
3153
  }), t ? n = document.querySelectorAll(".is-wrapper .section-pin") : n = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), n.forEach(function(a) {
3401
3154
  if (a.parentNode.closest(".section-wrap") || s <= 970 && a.hasAttribute("data-section-original")) return;
3402
- const f = document.createElement("div");
3403
- f.classList.add("pin-wrap"), a.classList.contains("m-skrollrr-off") && f.classList.add("m-skrollrr-off"), a.classList.contains("pin-space-lg") && f.classList.add("pin-space-lg"), a.classList.contains("pin-space-xl") && f.classList.add("pin-space-xl"), a.classList.contains("xs-hidden") && f.classList.add("xs-hidden"), a.classList.contains("sm-hidden") && f.classList.add("sm-hidden"), a.classList.contains("desktop-hidden") && f.classList.add("desktop-hidden"), a.after(f), f.appendChild(a);
3155
+ const u = document.createElement("div");
3156
+ u.classList.add("pin-wrap"), a.classList.contains("m-skrollrr-off") && u.classList.add("m-skrollrr-off"), a.classList.contains("pin-space-lg") && u.classList.add("pin-space-lg"), a.classList.contains("pin-space-xl") && u.classList.add("pin-space-xl"), a.classList.contains("xs-hidden") && u.classList.add("xs-hidden"), a.classList.contains("sm-hidden") && u.classList.add("sm-hidden"), a.classList.contains("desktop-hidden") && u.classList.add("desktop-hidden"), a.after(u), u.appendChild(a);
3404
3157
  });
3405
3158
  const r = (a) => {
3406
3159
  document.querySelectorAll(".is-section").forEach((d) => {
3407
- const y = d.getBoundingClientRect().top;
3408
- let b, _;
3409
- d.parentNode.classList.contains("pin-wrap") ? (b = d.parentNode.nextElementSibling, _ = d.parentNode.previousElementSibling) : (b = d.nextElementSibling, _ = d.previousElementSibling), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), _ && _.classList.contains("pin-wrap") && (_ = _.querySelector(".is-section")), y <= 0 && ((d.classList.contains("no-spacing") || d.classList.contains("pin-overlap")) && d.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((P) => {
3410
- P !== d && P.classList.remove("section-inview");
3160
+ const m = d.getBoundingClientRect().top;
3161
+ let b, x;
3162
+ d.parentNode.classList.contains("pin-wrap") ? (b = d.parentNode.nextElementSibling, x = d.parentNode.previousElementSibling) : (b = d.nextElementSibling, x = d.previousElementSibling), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), x && x.classList.contains("pin-wrap") && (x = x.querySelector(".is-section")), m <= 0 && ((d.classList.contains("no-spacing") || d.classList.contains("pin-overlap")) && d.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((M) => {
3163
+ M !== d && M.classList.remove("section-inview");
3411
3164
  }));
3412
3165
  });
3413
3166
  };
@@ -3436,7 +3189,7 @@ class Ai {
3436
3189
  }), document.querySelectorAll(".is-container video").forEach((t) => {
3437
3190
  t.parentNode.setAttribute("data-scroll", "");
3438
3191
  });
3439
- const s = new ei({
3192
+ const s = new Je({
3440
3193
  trigger: {
3441
3194
  once: !0,
3442
3195
  offset: {
@@ -3523,20 +3276,20 @@ class Ai {
3523
3276
  });
3524
3277
  }
3525
3278
  refreshLightbox(e) {
3526
- this.glightbox && this.glightbox.destroy(), this.glightbox = new Xe(e), window.GLightbox = Xe.default;
3279
+ this.glightbox && this.glightbox.destroy(), this.glightbox = new Pe(e), window.GLightbox = Pe.default;
3527
3280
  }
3528
3281
  openLightbox(e, i, s) {
3529
3282
  let t = [], n = 0;
3530
3283
  if (i) {
3531
3284
  const a = i.closest("[data-gallery]");
3532
- let f = [];
3533
- a ? f = a.querySelectorAll(".is-lightbox") : document.querySelectorAll(".is-lightbox,.block-click").forEach((y) => {
3534
- y.closest("[data-gallery]") || f.push(y);
3535
- }), f.forEach((d, y) => {
3285
+ let u = [];
3286
+ a ? u = a.querySelectorAll(".is-lightbox") : document.querySelectorAll(".is-lightbox,.block-click").forEach((m) => {
3287
+ m.closest("[data-gallery]") || u.push(m);
3288
+ }), u.forEach((d, m) => {
3536
3289
  let b = d.getAttribute("href");
3537
3290
  b || (b = d.getAttribute("data-modal-url")), t.push({
3538
3291
  href: b
3539
- }), e === b && (n = y);
3292
+ }), e === b && (n = m);
3540
3293
  });
3541
3294
  }
3542
3295
  const r = document.activeElement;
@@ -3629,33 +3382,33 @@ class Ai {
3629
3382
  const n = window.innerWidth;
3630
3383
  document.querySelectorAll(".is-box").forEach((r) => {
3631
3384
  let a = [];
3632
- const f = r.attributes;
3633
- for (let d = 0; d < f.length; d++) {
3634
- let b = f[d].name.match(/^data--h-(\d+)$/);
3385
+ const u = r.attributes;
3386
+ for (let d = 0; d < u.length; d++) {
3387
+ let b = u[d].name.match(/^data--h-(\d+)$/);
3635
3388
  if (b) {
3636
- const _ = parseInt(b[1], 10);
3637
- a.push(_);
3389
+ const x = parseInt(b[1], 10);
3390
+ a.push(x);
3638
3391
  }
3639
3392
  }
3640
- a = [...new Set(a)], a.sort((d, y) => y - d);
3393
+ a = [...new Set(a)], a.sort((d, m) => m - d);
3641
3394
  for (let d = 0; d < a.length; d++) {
3642
- const y = a[d];
3395
+ const m = a[d];
3643
3396
  if (d === 0) {
3644
- if (n > y) {
3397
+ if (n > m) {
3645
3398
  let b = r.getAttribute("data--h");
3646
3399
  b ? r.style.height = b : r.style.height = "";
3647
3400
  }
3648
3401
  } else {
3649
3402
  const b = a[d - 1];
3650
- if (b >= n && n > y) {
3651
- let _ = r.getAttribute("data--h-" + b);
3652
- _ && (r.style.height = _);
3403
+ if (b >= n && n > m) {
3404
+ let x = r.getAttribute("data--h-" + b);
3405
+ x && (r.style.height = x);
3653
3406
  }
3654
3407
  }
3655
3408
  }
3656
3409
  if (a.length > 0 && a[a.length - 1] >= n) {
3657
- const y = a[a.length - 1];
3658
- let b = r.getAttribute("data--h-" + y);
3410
+ const m = a[a.length - 1];
3411
+ let b = r.getAttribute("data--h-" + m);
3659
3412
  b && (r.style.height = b);
3660
3413
  }
3661
3414
  }), document.querySelectorAll(".is-block").forEach((r) => {
@@ -3665,31 +3418,31 @@ class Ai {
3665
3418
  d && parseInt(d) + 0 <= n && r.classList.contains("fluid") && e.applyFluid(r, "no");
3666
3419
  }
3667
3420
  let a = [];
3668
- const f = r.attributes;
3669
- for (let d = 0; d < f.length; d++) {
3670
- const y = f[d].name;
3671
- let b = y.match(/^data--t-(\d+)$/);
3421
+ const u = r.attributes;
3422
+ for (let d = 0; d < u.length; d++) {
3423
+ const m = u[d].name;
3424
+ let b = m.match(/^data--t-(\d+)$/);
3672
3425
  if (b) {
3673
- const _ = parseInt(b[1], 10);
3674
- a.push(_);
3426
+ const x = parseInt(b[1], 10);
3427
+ a.push(x);
3675
3428
  }
3676
- if (b = y.match(/^data--w-(\d+)$/), b) {
3677
- const _ = parseInt(b[1], 10);
3678
- a.push(_);
3429
+ if (b = m.match(/^data--w-(\d+)$/), b) {
3430
+ const x = parseInt(b[1], 10);
3431
+ a.push(x);
3679
3432
  }
3680
- if (b = y.match(/^data--transform-(\d+)$/), b) {
3681
- const _ = parseInt(b[1], 10);
3682
- a.push(_);
3433
+ if (b = m.match(/^data--transform-(\d+)$/), b) {
3434
+ const x = parseInt(b[1], 10);
3435
+ a.push(x);
3683
3436
  }
3684
3437
  }
3685
- a = [...new Set(a)], a.sort((d, y) => y - d);
3438
+ a = [...new Set(a)], a.sort((d, m) => m - d);
3686
3439
  for (let d = 0; d < a.length; d++) {
3687
- const y = a[d];
3440
+ const m = a[d];
3688
3441
  if (d === 0)
3689
- n > y && e.apply(r, 1e4, t);
3442
+ n > m && e.apply(r, 1e4, t);
3690
3443
  else {
3691
3444
  const b = a[d - 1];
3692
- b >= n && n > y && e.apply(r, b, t);
3445
+ b >= n && n > m && e.apply(r, b, t);
3693
3446
  }
3694
3447
  }
3695
3448
  if (a.length > 0) {
@@ -3721,5 +3474,5 @@ class Ai {
3721
3474
  }
3722
3475
  }
3723
3476
  export {
3724
- Ai as default
3477
+ wi as default
3725
3478
  };