@innovastudio/contentbox-runtime-base 1.0.13 → 1.0.15

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.
@@ -8,46 +8,46 @@ function Qe() {
8
8
  (function(i, s) {
9
9
  o.exports = s();
10
10
  })(Ge, function() {
11
- var i = typeof window < "u" ? window : typeof Ie < "u" ? Ie : typeof self < "u" ? self : {}, s = "Expected a function", e = NaN, a = "[object Symbol]", r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, h = /^0b[01]+$/i, d = /^0o[0-7]+$/i, u = parseInt, g = typeof i == "object" && i && i.Object === Object && i, b = typeof self == "object" && self && self.Object === Object && self, S = g || b || Function("return this")(), L = Object.prototype.toString, k = Math.max, at = Math.min, ft = function() {
12
- return S.Date.now();
11
+ var i = typeof window < "u" ? window : typeof Ie < "u" ? Ie : typeof self < "u" ? self : {}, s = "Expected a function", e = NaN, a = "[object Symbol]", r = /^\s+|\s+$/g, n = /^[-+]0x[0-9a-f]+$/i, h = /^0b[01]+$/i, d = /^0o[0-7]+$/i, c = parseInt, f = typeof i == "object" && i && i.Object === Object && i, b = typeof self == "object" && self && self.Object === Object && self, _ = f || b || Function("return this")(), S = Object.prototype.toString, T = Math.max, K = Math.min, ft = function() {
12
+ return _.Date.now();
13
13
  };
14
- function Wt(p, m, y) {
15
- var w, C, H, B, _, $, M = 0, ht = !1, F = !1, K = !0;
14
+ function Bt(p, m, y) {
15
+ var w, k, W, H, E, $, M = 0, ht = !1, F = !1, J = !0;
16
16
  if (typeof p != "function") throw new TypeError(s);
17
- function ct(T) {
18
- var U = w, ut = C;
19
- return w = C = void 0, M = T, B = p.apply(ut, U);
17
+ function ct(C) {
18
+ var U = w, ut = k;
19
+ return w = k = void 0, M = C, H = p.apply(ut, U);
20
20
  }
21
- function zt(T) {
22
- var U = T - $;
23
- return $ === void 0 || U >= m || U < 0 || F && T - M >= H;
21
+ function zt(C) {
22
+ var U = C - $;
23
+ return $ === void 0 || U >= m || U < 0 || F && C - M >= W;
24
24
  }
25
25
  function St() {
26
- var T = ft();
27
- if (zt(T)) return Xt(T);
28
- _ = setTimeout(St, (function(U) {
26
+ var C = ft();
27
+ if (zt(C)) return Xt(C);
28
+ E = setTimeout(St, (function(U) {
29
29
  var ut = m - (U - $);
30
- return F ? at(ut, H - (U - M)) : ut;
31
- })(T));
30
+ return F ? K(ut, W - (U - M)) : ut;
31
+ })(C));
32
32
  }
33
- function Xt(T) {
34
- return _ = void 0, K && w ? ct(T) : (w = C = void 0, B);
33
+ function Xt(C) {
34
+ return E = void 0, J && w ? ct(C) : (w = k = void 0, H);
35
35
  }
36
- function st() {
37
- var T = ft(), U = zt(T);
38
- if (w = arguments, C = this, $ = T, U) {
39
- if (_ === void 0) return (function(ut) {
40
- return M = ut, _ = setTimeout(St, m), ht ? ct(ut) : B;
36
+ function nt() {
37
+ var C = ft(), U = zt(C);
38
+ if (w = arguments, k = this, $ = C, U) {
39
+ if (E === void 0) return (function(ut) {
40
+ return M = ut, E = setTimeout(St, m), ht ? ct(ut) : H;
41
41
  })($);
42
- if (F) return _ = setTimeout(St, m), ct($);
42
+ if (F) return E = setTimeout(St, m), ct($);
43
43
  }
44
- return _ === void 0 && (_ = setTimeout(St, m)), B;
44
+ return E === void 0 && (E = setTimeout(St, m)), H;
45
45
  }
46
- return m = Lt(m) || 0, Ct(y) && (ht = !!y.leading, H = (F = "maxWait" in y) ? k(Lt(y.maxWait) || 0, m) : H, K = "trailing" in y ? !!y.trailing : K), st.cancel = function() {
47
- _ !== void 0 && clearTimeout(_), M = 0, w = $ = C = _ = void 0;
48
- }, st.flush = function() {
49
- return _ === void 0 ? B : Xt(ft());
50
- }, st;
46
+ return m = Lt(m) || 0, Ct(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? T(Lt(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
47
+ E !== void 0 && clearTimeout(E), M = 0, w = $ = k = E = void 0;
48
+ }, nt.flush = function() {
49
+ return E === void 0 ? H : Xt(ft());
50
+ }, nt;
51
51
  }
52
52
  function Ct(p) {
53
53
  var m = typeof p;
@@ -56,9 +56,9 @@ function Qe() {
56
56
  function Lt(p) {
57
57
  if (typeof p == "number") return p;
58
58
  if ((function(w) {
59
- return typeof w == "symbol" || /* @__PURE__ */ (function(C) {
60
- return !!C && typeof C == "object";
61
- })(w) && L.call(w) == a;
59
+ return typeof w == "symbol" || /* @__PURE__ */ (function(k) {
60
+ return !!k && typeof k == "object";
61
+ })(w) && S.call(w) == a;
62
62
  })(p)) return e;
63
63
  if (Ct(p)) {
64
64
  var m = typeof p.valueOf == "function" ? p.valueOf() : p;
@@ -67,13 +67,13 @@ function Qe() {
67
67
  if (typeof p != "string") return p === 0 ? p : +p;
68
68
  p = p.replace(r, "");
69
69
  var y = h.test(p);
70
- return y || d.test(p) ? u(p.slice(2), y ? 2 : 8) : n.test(p) ? e : +p;
70
+ return y || d.test(p) ? c(p.slice(2), y ? 2 : 8) : n.test(p) ? e : +p;
71
71
  }
72
72
  var kt = function(p, m, y) {
73
- var w = !0, C = !0;
73
+ var w = !0, k = !0;
74
74
  if (typeof p != "function") throw new TypeError(s);
75
- return Ct(y) && (w = "leading" in y ? !!y.leading : w, C = "trailing" in y ? !!y.trailing : C), Wt(p, m, { leading: w, maxWait: m, trailing: C });
76
- }, l = "Expected a function", c = NaN, v = "[object Symbol]", E = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, J = /^0o[0-7]+$/i, At = parseInt, W = typeof i == "object" && i && i.Object === Object && i, gt = typeof self == "object" && self && self.Object === Object && self, x = W || gt || Function("return this")(), A = Object.prototype.toString, X = Math.max, j = Math.min, Z = function() {
75
+ return Ct(y) && (w = "leading" in y ? !!y.leading : w, k = "trailing" in y ? !!y.trailing : k), Bt(p, m, { leading: w, maxWait: m, trailing: k });
76
+ }, l = "Expected a function", u = NaN, v = "[object Symbol]", j = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, I = /^0b[01]+$/i, tt = /^0o[0-7]+$/i, At = parseInt, B = typeof i == "object" && i && i.Object === Object && i, gt = typeof self == "object" && self && self.Object === Object && self, x = B || gt || Function("return this")(), A = Object.prototype.toString, X = Math.max, L = Math.min, Z = function() {
77
77
  return x.Date.now();
78
78
  };
79
79
  function G(p) {
@@ -83,65 +83,65 @@ function Qe() {
83
83
  function R(p) {
84
84
  if (typeof p == "number") return p;
85
85
  if ((function(w) {
86
- return typeof w == "symbol" || /* @__PURE__ */ (function(C) {
87
- return !!C && typeof C == "object";
86
+ return typeof w == "symbol" || /* @__PURE__ */ (function(k) {
87
+ return !!k && typeof k == "object";
88
88
  })(w) && A.call(w) == v;
89
- })(p)) return c;
89
+ })(p)) return u;
90
90
  if (G(p)) {
91
91
  var m = typeof p.valueOf == "function" ? p.valueOf() : p;
92
92
  p = G(m) ? m + "" : m;
93
93
  }
94
94
  if (typeof p != "string") return p === 0 ? p : +p;
95
- p = p.replace(E, "");
95
+ p = p.replace(j, "");
96
96
  var y = I.test(p);
97
- return y || J.test(p) ? At(p.slice(2), y ? 2 : 8) : O.test(p) ? c : +p;
97
+ return y || tt.test(p) ? At(p.slice(2), y ? 2 : 8) : O.test(p) ? u : +p;
98
98
  }
99
99
  var It = function(p, m, y) {
100
- var w, C, H, B, _, $, M = 0, ht = !1, F = !1, K = !0;
100
+ var w, k, W, H, E, $, M = 0, ht = !1, F = !1, J = !0;
101
101
  if (typeof p != "function") throw new TypeError(l);
102
- function ct(T) {
103
- var U = w, ut = C;
104
- return w = C = void 0, M = T, B = p.apply(ut, U);
102
+ function ct(C) {
103
+ var U = w, ut = k;
104
+ return w = k = void 0, M = C, H = p.apply(ut, U);
105
105
  }
106
- function zt(T) {
107
- var U = T - $;
108
- return $ === void 0 || U >= m || U < 0 || F && T - M >= H;
106
+ function zt(C) {
107
+ var U = C - $;
108
+ return $ === void 0 || U >= m || U < 0 || F && C - M >= W;
109
109
  }
110
110
  function St() {
111
- var T = Z();
112
- if (zt(T)) return Xt(T);
113
- _ = setTimeout(St, (function(U) {
111
+ var C = Z();
112
+ if (zt(C)) return Xt(C);
113
+ E = setTimeout(St, (function(U) {
114
114
  var ut = m - (U - $);
115
- return F ? j(ut, H - (U - M)) : ut;
116
- })(T));
115
+ return F ? L(ut, W - (U - M)) : ut;
116
+ })(C));
117
117
  }
118
- function Xt(T) {
119
- return _ = void 0, K && w ? ct(T) : (w = C = void 0, B);
118
+ function Xt(C) {
119
+ return E = void 0, J && w ? ct(C) : (w = k = void 0, H);
120
120
  }
121
- function st() {
122
- var T = Z(), U = zt(T);
123
- if (w = arguments, C = this, $ = T, U) {
124
- if (_ === void 0) return (function(ut) {
125
- return M = ut, _ = setTimeout(St, m), ht ? ct(ut) : B;
121
+ function nt() {
122
+ var C = Z(), U = zt(C);
123
+ if (w = arguments, k = this, $ = C, U) {
124
+ if (E === void 0) return (function(ut) {
125
+ return M = ut, E = setTimeout(St, m), ht ? ct(ut) : H;
126
126
  })($);
127
- if (F) return _ = setTimeout(St, m), ct($);
127
+ if (F) return E = setTimeout(St, m), ct($);
128
128
  }
129
- return _ === void 0 && (_ = setTimeout(St, m)), B;
129
+ return E === void 0 && (E = setTimeout(St, m)), H;
130
130
  }
131
- return m = R(m) || 0, G(y) && (ht = !!y.leading, H = (F = "maxWait" in y) ? X(R(y.maxWait) || 0, m) : H, K = "trailing" in y ? !!y.trailing : K), st.cancel = function() {
132
- _ !== void 0 && clearTimeout(_), M = 0, w = $ = C = _ = void 0;
133
- }, st.flush = function() {
134
- return _ === void 0 ? B : Xt(Z());
135
- }, st;
131
+ return m = R(m) || 0, G(y) && (ht = !!y.leading, W = (F = "maxWait" in y) ? X(R(y.maxWait) || 0, m) : W, J = "trailing" in y ? !!y.trailing : J), nt.cancel = function() {
132
+ E !== void 0 && clearTimeout(E), M = 0, w = $ = k = E = void 0;
133
+ }, nt.flush = function() {
134
+ return E === void 0 ? H : Xt(Z());
135
+ }, nt;
136
136
  }, Q = function() {
137
137
  };
138
138
  function P(p) {
139
139
  p && p.forEach(function(m) {
140
140
  var y = Array.prototype.slice.call(m.addedNodes), w = Array.prototype.slice.call(m.removedNodes);
141
- if ((function C(H) {
142
- var B = void 0, _ = void 0;
143
- for (B = 0; B < H.length; B += 1)
144
- if ((_ = H[B]).dataset && _.dataset.aos || _.children && C(_.children)) return !0;
141
+ if ((function k(W) {
142
+ var H = void 0, E = void 0;
143
+ for (H = 0; H < W.length; H += 1)
144
+ if ((E = W[H]).dataset && E.dataset.aos || E.children && k(E.children)) return !0;
145
145
  return !1;
146
146
  })(y.concat(w))) return Q();
147
147
  });
@@ -159,8 +159,8 @@ function Qe() {
159
159
  }, ot = /* @__PURE__ */ (function() {
160
160
  function p(m, y) {
161
161
  for (var w = 0; w < y.length; w++) {
162
- var C = y[w];
163
- C.enumerable = C.enumerable || !1, C.configurable = !0, "value" in C && (C.writable = !0), Object.defineProperty(m, C.key, C);
162
+ var k = y[w];
163
+ k.enumerable = k.enumerable || !1, k.configurable = !0, "value" in k && (k.writable = !0), Object.defineProperty(m, k.key, k);
164
164
  }
165
165
  }
166
166
  return function(m, y, w) {
@@ -172,8 +172,8 @@ function Qe() {
172
172
  for (var w in y) Object.prototype.hasOwnProperty.call(y, w) && (p[w] = y[w]);
173
173
  }
174
174
  return p;
175
- }, pt = /(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, z = /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, lt = /(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 et() {
175
+ }, pt = /(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, z = /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, lt = /(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, et = /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 it() {
177
177
  return navigator.userAgent || navigator.vendor || window.opera || "";
178
178
  }
179
179
  var mt = new ((function() {
@@ -181,11 +181,11 @@ function Qe() {
181
181
  _t(this, p);
182
182
  }
183
183
  return ot(p, [{ key: "phone", value: function() {
184
- var m = et();
184
+ var m = it();
185
185
  return !(!pt.test(m) && !z.test(m.substr(0, 4)));
186
186
  } }, { key: "mobile", value: function() {
187
- var m = et();
188
- return !(!lt.test(m) && !tt.test(m.substr(0, 4)));
187
+ var m = it();
188
+ return !(!lt.test(m) && !et.test(m.substr(0, 4)));
189
189
  } }, { key: "tablet", value: function() {
190
190
  return this.mobile() && !this.phone();
191
191
  } }, { key: "ie11", value: function() {
@@ -194,21 +194,21 @@ function Qe() {
194
194
  })())(), bt = function(p, m) {
195
195
  var y = void 0;
196
196
  return mt.ie11() ? (y = document.createEvent("CustomEvent")).initCustomEvent(p, !0, !0, { detail: m }) : y = new CustomEvent(p, { detail: m }), document.dispatchEvent(y);
197
- }, it = function(p) {
197
+ }, st = function(p) {
198
198
  return p.forEach(function(m, y) {
199
- return (function(w, C) {
200
- var H = w.options, B = w.position, _ = w.node, $ = (w.data, function() {
199
+ return (function(w, k) {
200
+ var W = w.options, H = w.position, E = w.node, $ = (w.data, function() {
201
201
  w.animated && ((function(M, ht) {
202
202
  ht && ht.forEach(function(F) {
203
203
  return M.classList.remove(F);
204
204
  });
205
- })(_, H.animatedClassNames), bt("aos:out", _), w.options.id && bt("aos:in:" + w.options.id, _), w.animated = !1);
205
+ })(E, W.animatedClassNames), bt("aos:out", E), w.options.id && bt("aos:in:" + w.options.id, E), w.animated = !1);
206
206
  });
207
- H.mirror && C >= B.out && !H.once ? $() : C >= B.in ? w.animated || ((function(M, ht) {
207
+ W.mirror && k >= H.out && !W.once ? $() : k >= H.in ? w.animated || ((function(M, ht) {
208
208
  ht && ht.forEach(function(F) {
209
209
  return M.classList.add(F);
210
210
  });
211
- })(_, H.animatedClassNames), bt("aos:in", _), w.options.id && bt("aos:in:" + w.options.id, _), w.animated = !0) : w.animated && !H.once && $();
211
+ })(E, W.animatedClassNames), bt("aos:in", E), w.options.id && bt("aos:in:" + w.options.id, E), w.animated = !0) : w.animated && !W.once && $();
212
212
  })(m, window.pageYOffset);
213
213
  });
214
214
  }, yt = function(p) {
@@ -223,45 +223,45 @@ function Qe() {
223
223
  return w || y;
224
224
  }, Et = function(p, m) {
225
225
  return p.forEach(function(y, w) {
226
- var C = q(y.node, "mirror", m.mirror), H = q(y.node, "once", m.once), B = q(y.node, "id"), _ = m.useClassNames && y.node.getAttribute("data-aos"), $ = [m.animatedClassName].concat(_ ? _.split(" ") : []).filter(function(M) {
226
+ var k = q(y.node, "mirror", m.mirror), W = q(y.node, "once", m.once), H = q(y.node, "id"), E = m.useClassNames && y.node.getAttribute("data-aos"), $ = [m.animatedClassName].concat(E ? E.split(" ") : []).filter(function(M) {
227
227
  return typeof M == "string";
228
228
  });
229
229
  m.initClassName && y.node.classList.add(m.initClassName), y.position = { in: (function(M, ht, F) {
230
- var K = window.innerHeight, ct = q(M, "anchor"), zt = q(M, "anchor-placement"), St = Number(q(M, "offset", zt ? 0 : ht)), Xt = zt || F, st = M;
231
- ct && document.querySelectorAll(ct) && (st = document.querySelectorAll(ct)[0]);
232
- var T = yt(st).top - K;
230
+ var J = window.innerHeight, ct = q(M, "anchor"), zt = q(M, "anchor-placement"), St = Number(q(M, "offset", zt ? 0 : ht)), Xt = zt || F, nt = M;
231
+ ct && document.querySelectorAll(ct) && (nt = document.querySelectorAll(ct)[0]);
232
+ var C = yt(nt).top - J;
233
233
  switch (Xt) {
234
234
  case "top-bottom":
235
235
  break;
236
236
  case "center-bottom":
237
- T += st.offsetHeight / 2;
237
+ C += nt.offsetHeight / 2;
238
238
  break;
239
239
  case "bottom-bottom":
240
- T += st.offsetHeight;
240
+ C += nt.offsetHeight;
241
241
  break;
242
242
  case "top-center":
243
- T += K / 2;
243
+ C += J / 2;
244
244
  break;
245
245
  case "center-center":
246
- T += K / 2 + st.offsetHeight / 2;
246
+ C += J / 2 + nt.offsetHeight / 2;
247
247
  break;
248
248
  case "bottom-center":
249
- T += K / 2 + st.offsetHeight;
249
+ C += J / 2 + nt.offsetHeight;
250
250
  break;
251
251
  case "top-top":
252
- T += K;
252
+ C += J;
253
253
  break;
254
254
  case "bottom-top":
255
- T += K + st.offsetHeight;
255
+ C += J + nt.offsetHeight;
256
256
  break;
257
257
  case "center-top":
258
- T += K + st.offsetHeight / 2;
258
+ C += J + nt.offsetHeight / 2;
259
259
  }
260
- return T + St;
261
- })(y.node, m.offset, m.anchorPlacement), out: C && (function(M, ht) {
262
- var F = q(M, "anchor"), K = q(M, "offset", ht), ct = M;
263
- return F && document.querySelectorAll(F) && (ct = document.querySelectorAll(F)[0]), yt(ct).top + ct.offsetHeight - K;
264
- })(y.node, m.offset) }, y.options = { once: H, mirror: C, animatedClassNames: $, id: B };
260
+ return C + St;
261
+ })(y.node, m.offset, m.anchorPlacement), out: k && (function(M, ht) {
262
+ var F = q(M, "anchor"), J = q(M, "offset", ht), ct = M;
263
+ return F && document.querySelectorAll(F) && (ct = document.querySelectorAll(F)[0]), yt(ct).top + ct.offsetHeight - J;
264
+ })(y.node, m.offset) }, y.options = { once: W, mirror: k, animatedClassNames: $, id: H };
265
265
  }), p;
266
266
  }, Vt = function() {
267
267
  var p = document.querySelectorAll("[data-aos]");
@@ -271,8 +271,8 @@ function Qe() {
271
271
  }, dt = [], Yt = !1, V = { 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 }, Mt = function() {
272
272
  return document.all && !window.atob;
273
273
  }, vt = function() {
274
- arguments.length > 0 && arguments[0] !== void 0 && arguments[0] && (Yt = !0), Yt && (dt = Et(dt, V), it(dt), window.addEventListener("scroll", kt(function() {
275
- it(dt, V.once);
274
+ arguments.length > 0 && arguments[0] !== void 0 && arguments[0] && (Yt = !0), Yt && (dt = Et(dt, V), st(dt), window.addEventListener("scroll", kt(function() {
275
+ st(dt, V.once);
276
276
  }, V.throttleDelay)));
277
277
  }, Pt = function() {
278
278
  if (dt = Vt(), Dt(V.disable) || Mt()) return qt();
@@ -303,46 +303,46 @@ const Je = /* @__PURE__ */ je(Ke);
303
303
  var Oe = { exports: {} }, Ye;
304
304
  function ti() {
305
305
  return Ye || (Ye = 1, (function(o) {
306
- function t(d, u) {
307
- if (!(d instanceof u)) throw new TypeError("Cannot call a class as a function");
306
+ function t(d, c) {
307
+ if (!(d instanceof c)) throw new TypeError("Cannot call a class as a function");
308
308
  }
309
- function i(d, u, g) {
310
- return u in d ? Object.defineProperty(d, u, { value: g, enumerable: !0, configurable: !0, writable: !0 }) : d[u] = g, d;
309
+ function i(d, c, f) {
310
+ return c in d ? Object.defineProperty(d, c, { value: f, enumerable: !0, configurable: !0, writable: !0 }) : d[c] = f, d;
311
311
  }
312
- function s(d, u) {
313
- return h(d) || n(d, u) || a(d, u) || e();
312
+ function s(d, c) {
313
+ return h(d) || n(d, c) || a(d, c) || e();
314
314
  }
315
315
  function e() {
316
316
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
317
317
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
318
318
  }
319
- function a(d, u) {
319
+ function a(d, c) {
320
320
  if (d) {
321
- if (typeof d == "string") return r(d, u);
322
- var g = Object.prototype.toString.call(d).slice(8, -1);
323
- return g === "Object" && d.constructor && (g = d.constructor.name), g === "Map" || g === "Set" ? Array.from(d) : g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g) ? r(d, u) : void 0;
321
+ if (typeof d == "string") return r(d, c);
322
+ var f = Object.prototype.toString.call(d).slice(8, -1);
323
+ return f === "Object" && d.constructor && (f = d.constructor.name), f === "Map" || f === "Set" ? Array.from(d) : f === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f) ? r(d, c) : void 0;
324
324
  }
325
325
  }
326
- function r(d, u) {
327
- (u == null || u > d.length) && (u = d.length);
328
- for (var g = 0, b = new Array(u); g < u; g++) b[g] = d[g];
326
+ function r(d, c) {
327
+ (c == null || c > d.length) && (c = d.length);
328
+ for (var f = 0, b = new Array(c); f < c; f++) b[f] = d[f];
329
329
  return b;
330
330
  }
331
- function n(d, u) {
331
+ function n(d, c) {
332
332
  if (typeof Symbol < "u" && Symbol.iterator in Object(d)) {
333
- var g = [], b = !0, S = !1, L = void 0;
333
+ var f = [], b = !0, _ = !1, S = void 0;
334
334
  try {
335
- for (var k, at = d[Symbol.iterator](); !(b = (k = at.next()).done) && (g.push(k.value), !u || g.length !== u); b = !0) ;
335
+ for (var T, K = d[Symbol.iterator](); !(b = (T = K.next()).done) && (f.push(T.value), !c || f.length !== c); b = !0) ;
336
336
  } catch (ft) {
337
- S = !0, L = ft;
337
+ _ = !0, S = ft;
338
338
  } finally {
339
339
  try {
340
- b || at.return == null || at.return();
340
+ b || K.return == null || K.return();
341
341
  } finally {
342
- if (S) throw L;
342
+ if (_) throw S;
343
343
  }
344
344
  }
345
- return g;
345
+ return f;
346
346
  }
347
347
  }
348
348
  function h(d) {
@@ -352,43 +352,43 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
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 u, g, b, S, L, k, at = { fadeInOut: function(l, c) {
356
- return c = 1 < arguments.length && c !== void 0 ? c : 0, { opacity: [d(0 < arguments.length && l !== void 0 ? l : 30), [c, 1, 1, 1, c]] };
357
- }, fadeIn: function(l, c) {
358
- return { opacity: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && c !== void 0 ? c : 0, 1]] };
359
- }, fadeOut: function(l, c) {
360
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && c !== void 0 ? c : 0]] };
361
- }, blurInOut: function(l, c) {
362
- return c = 1 < arguments.length && c !== void 0 ? c : 20, { blur: [d(0 < arguments.length && l !== void 0 ? l : 100), [c, 0, 0, 0, c]] };
363
- }, blurIn: function(l, c) {
364
- return { blur: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && c !== void 0 ? c : 20, 0]] };
365
- }, blurOut: function(l, c) {
366
- return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && c !== void 0 ? c : 20]] };
367
- }, scaleInOut: function(l, c) {
368
- return c = 1 < arguments.length && c !== void 0 ? c : 0.6, { scale: [d(0 < arguments.length && l !== void 0 ? l : 100), [c, 1, 1, 1, c]] };
369
- }, scaleIn: function(l, c) {
370
- return { scale: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && c !== void 0 ? c : 0.6, 1]] };
371
- }, scaleOut: function(l, c) {
372
- return { scale: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && c !== void 0 ? c : 0.6]] };
373
- }, slideX: function(l, c) {
374
- return { translateX: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && c !== void 0 ? c : 500]] };
375
- }, slideY: function(l, c) {
376
- return { translateY: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && c !== void 0 ? c : 500]] };
377
- }, spin: function(l, c) {
378
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotate: [[0, l], [0, 1 < arguments.length && c !== void 0 ? c : 360], { modValue: l }] };
379
- }, flipX: function(l, c) {
380
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateX: [[0, l], [0, 1 < arguments.length && c !== void 0 ? c : 360], { modValue: l }] };
381
- }, flipY: function(l, c) {
382
- return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateY: [[0, l], [0, 1 < arguments.length && c !== void 0 ? c : 360], { modValue: l }] };
383
- }, jiggle: function(l, c) {
384
- return l = 0 < arguments.length && l !== void 0 ? l : 50, c = 1 < arguments.length && c !== void 0 ? c : 40, { skewX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, c, 0, -c, 0], { modValue: 4 * l }] };
385
- }, seesaw: function(l, c) {
386
- return l = 0 < arguments.length && l !== void 0 ? l : 50, c = 1 < arguments.length && c !== void 0 ? c : 40, { skewY: [[0, +l, 2 * l, 3 * l, 4 * l], [0, c, 0, -c, 0], { modValue: 4 * l }] };
387
- }, zigzag: function(l, c) {
388
- return l = 0 < arguments.length && l !== void 0 ? l : 100, c = 1 < arguments.length && c !== void 0 ? c : 100, { translateX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, c, 0, -c, 0], { modValue: 4 * l }] };
389
- }, hueRotate: function(l, c) {
390
- return l = 0 < arguments.length && l !== void 0 ? l : 600, { "hue-rotate": [[0, l], [0, 1 < arguments.length && c !== void 0 ? c : 360], { modValue: l }] };
391
- } }, ft = (u = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], g = ["blur", "hue-rotate", "brightness"], b = ["translateX", "translateY", "translateZ"], S = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], L = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], k = { easeInQuad: function(l) {
355
+ var c, f, b, _, S, T, K = { fadeInOut: function(l, u) {
356
+ return u = 1 < arguments.length && u !== void 0 ? u : 0, { opacity: [d(0 < arguments.length && l !== void 0 ? l : 30), [u, 1, 1, 1, u]] };
357
+ }, fadeIn: function(l, u) {
358
+ return { opacity: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 0, 1]] };
359
+ }, fadeOut: function(l, u) {
360
+ return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && u !== void 0 ? u : 0]] };
361
+ }, blurInOut: function(l, u) {
362
+ return u = 1 < arguments.length && u !== void 0 ? u : 20, { blur: [d(0 < arguments.length && l !== void 0 ? l : 100), [u, 0, 0, 0, u]] };
363
+ }, blurIn: function(l, u) {
364
+ return { blur: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 20, 0]] };
365
+ }, blurOut: function(l, u) {
366
+ return { opacity: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [0, 1 < arguments.length && u !== void 0 ? u : 20]] };
367
+ }, scaleInOut: function(l, u) {
368
+ return u = 1 < arguments.length && u !== void 0 ? u : 0.6, { scale: [d(0 < arguments.length && l !== void 0 ? l : 100), [u, 1, 1, 1, u]] };
369
+ }, scaleIn: function(l, u) {
370
+ return { scale: [["elInY+elHeight", 0 < arguments.length && l !== void 0 ? l : "elCenterY"], [1 < arguments.length && u !== void 0 ? u : 0.6, 1]] };
371
+ }, scaleOut: function(l, u) {
372
+ return { scale: [[0 < arguments.length && l !== void 0 ? l : "elCenterY", "elOutY-elHeight"], [1, 1 < arguments.length && u !== void 0 ? u : 0.6]] };
373
+ }, slideX: function(l, u) {
374
+ return { translateX: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && u !== void 0 ? u : 500]] };
375
+ }, slideY: function(l, u) {
376
+ return { translateY: [["elInY", 0 < arguments.length && l !== void 0 ? l : 0], [0, 1 < arguments.length && u !== void 0 ? u : 500]] };
377
+ }, spin: function(l, u) {
378
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotate: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
379
+ }, flipX: function(l, u) {
380
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateX: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
381
+ }, flipY: function(l, u) {
382
+ return l = 0 < arguments.length && l !== void 0 ? l : 1e3, { rotateY: [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
383
+ }, jiggle: function(l, u) {
384
+ return l = 0 < arguments.length && l !== void 0 ? l : 50, u = 1 < arguments.length && u !== void 0 ? u : 40, { skewX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
385
+ }, seesaw: function(l, u) {
386
+ return l = 0 < arguments.length && l !== void 0 ? l : 50, u = 1 < arguments.length && u !== void 0 ? u : 40, { skewY: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
387
+ }, zigzag: function(l, u) {
388
+ return l = 0 < arguments.length && l !== void 0 ? l : 100, u = 1 < arguments.length && u !== void 0 ? u : 100, { translateX: [[0, +l, 2 * l, 3 * l, 4 * l], [0, u, 0, -u, 0], { modValue: 4 * l }] };
389
+ }, hueRotate: function(l, u) {
390
+ return l = 0 < arguments.length && l !== void 0 ? l : 600, { "hue-rotate": [[0, l], [0, 1 < arguments.length && u !== void 0 ? u : 360], { modValue: l }] };
391
+ } }, ft = (c = ["perspective", "scaleX", "scaleY", "scale", "skewX", "skewY", "skew", "rotateX", "rotateY", "rotate"], f = ["blur", "hue-rotate", "brightness"], b = ["translateX", "translateY", "translateZ"], _ = ["perspective", "border-radius", "blur", "translateX", "translateY", "translateZ"], S = ["hue-rotate", "rotate", "rotateX", "rotateY", "skew", "skewX", "skewY"], T = { easeInQuad: function(l) {
392
392
  return l * l;
393
393
  }, easeOutQuad: function(l) {
394
394
  return l * (2 - l);
@@ -413,149 +413,149 @@ 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 c = 7.5625, v = 2.75;
417
- return l < 1 / v ? c * l * l : l < 2 / v ? c * (l -= 1.5 / v) * l + 0.75 : l < 2.5 / v ? c * (l -= 2.25 / v) * l + 0.9375 : c * (l -= 2.625 / v) * l + 0.984375;
416
+ var u = 7.5625, v = 2.75;
417
+ return l < 1 / v ? u * l * l : l < 2 / v ? u * (l -= 1.5 / v) * l + 0.75 : l < 2.5 / v ? u * (l -= 2.25 / v) * l + 0.9375 : u * (l -= 2.625 / v) * l + 0.984375;
418
418
  }, easeInBounce: function(l) {
419
- return 1 - k.easeOutBounce(1 - l);
419
+ return 1 - T.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 c = this;
426
- t(this, l), i(this, "drivers", []), i(this, "elements", []), i(this, "frame", 0), i(this, "debug", !1), i(this, "windowWidth", 0), i(this, "windowHeight", 0), i(this, "presets", at), i(this, "debugData", { frameLengths: [] }), i(this, "init", function() {
427
- c.findAndAddElements(), window.requestAnimationFrame(c.onAnimationFrame), c.windowWidth = document.body.clientWidth, c.windowHeight = document.body.clientHeight, window.onresize = c.onWindowResize;
425
+ var u = this;
426
+ t(this, l), i(this, "drivers", []), i(this, "elements", []), i(this, "frame", 0), i(this, "debug", !1), i(this, "windowWidth", 0), i(this, "windowHeight", 0), i(this, "presets", K), i(this, "debugData", { frameLengths: [] }), i(this, "init", function() {
427
+ u.findAndAddElements(), window.requestAnimationFrame(u.onAnimationFrame), u.windowWidth = document.body.clientWidth, u.windowHeight = document.body.clientHeight, window.onresize = u.onWindowResize;
428
428
  }), i(this, "onWindowResize", function() {
429
- document.body.clientWidth === c.windowWidth && document.body.clientHeight === c.windowHeight || (c.windowWidth = document.body.clientWidth, c.windowHeight = document.body.clientHeight, c.elements.forEach(function(v) {
429
+ document.body.clientWidth === u.windowWidth && document.body.clientHeight === u.windowHeight || (u.windowWidth = document.body.clientWidth, u.windowHeight = document.body.clientHeight, u.elements.forEach(function(v) {
430
430
  return v.calculateTransforms();
431
431
  }));
432
432
  }), i(this, "onAnimationFrame", function(v) {
433
- c.debug && (c.debugData.frameStart = Date.now());
434
- var E, O = {};
435
- c.drivers.forEach(function(I) {
436
- O[I.name] = I.getValue(c.frame);
437
- }), c.elements.forEach(function(I) {
438
- I.update(O, c.frame);
439
- }), c.debug && c.debugData.frameLengths.push(Date.now() - c.debugData.frameStart), c.frame % 60 == 0 && c.debug && (E = Math.ceil(c.debugData.frameLengths.reduce(function(I, J) {
440
- return I + J;
441
- }, 0) / 60), console.log("Average frame calculation time: ".concat(E, "ms")), c.debugData.frameLengths = []), c.frame++, window.requestAnimationFrame(c.onAnimationFrame);
442
- }), i(this, "addDriver", function(v, E) {
433
+ u.debug && (u.debugData.frameStart = Date.now());
434
+ var j, O = {};
435
+ u.drivers.forEach(function(I) {
436
+ O[I.name] = I.getValue(u.frame);
437
+ }), u.elements.forEach(function(I) {
438
+ I.update(O, u.frame);
439
+ }), u.debug && u.debugData.frameLengths.push(Date.now() - u.debugData.frameStart), u.frame % 60 == 0 && u.debug && (j = Math.ceil(u.debugData.frameLengths.reduce(function(I, tt) {
440
+ return I + tt;
441
+ }, 0) / 60), console.log("Average frame calculation time: ".concat(j, "ms")), u.debugData.frameLengths = []), u.frame++, window.requestAnimationFrame(u.onAnimationFrame);
442
+ }), i(this, "addDriver", function(v, j) {
443
443
  var O = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
444
- c.drivers.push(new Lt(v, E, O));
444
+ u.drivers.push(new Lt(v, j, O));
445
445
  }), i(this, "removeDriver", function(v) {
446
- c.drivers = c.drivers.filter(function(E) {
447
- return E.name !== v;
446
+ u.drivers = u.drivers.filter(function(j) {
447
+ return j.name !== v;
448
448
  });
449
449
  }), i(this, "findAndAddElements", function() {
450
- c.elements = [], document.querySelectorAll(".lax").forEach(function(v) {
451
- var E = [];
450
+ u.elements = [], document.querySelectorAll(".lax").forEach(function(v) {
451
+ var j = [];
452
452
  v.classList.forEach(function(I) {
453
- I.includes("lax_preset") && (I = I.replace("lax_preset_", ""), E.push(I));
453
+ I.includes("lax_preset") && (I = I.replace("lax_preset_", ""), j.push(I));
454
454
  });
455
- var O = i({}, "scrollY", { presets: E });
456
- c.elements.push(new kt(".lax", c, v, O, 0, {}));
455
+ var O = i({}, "scrollY", { presets: j });
456
+ u.elements.push(new kt(".lax", u, v, O, 0, {}));
457
457
  });
458
- }), i(this, "addElements", function(v, E, O) {
459
- document.querySelectorAll(v).forEach(function(I, J) {
460
- c.elements.push(new kt(v, c, I, E, J, O));
458
+ }), i(this, "addElements", function(v, j, O) {
459
+ document.querySelectorAll(v).forEach(function(I, tt) {
460
+ u.elements.push(new kt(v, u, I, j, tt, O));
461
461
  });
462
462
  }), i(this, "removeElements", function(v) {
463
- c.elements = c.elements.filter(function(E) {
464
- return E.selector !== v;
463
+ u.elements = u.elements.filter(function(j) {
464
+ return j.selector !== v;
465
465
  });
466
- }), i(this, "addElement", function(v, E, O) {
467
- c.elements.push(new kt("", c, v, E, 0, O));
466
+ }), i(this, "addElement", function(v, j, O) {
467
+ u.elements.push(new kt("", u, v, j, 0, O));
468
468
  }), i(this, "removeElement", function(v) {
469
- c.elements = c.elements.filter(function(E) {
470
- return E.domElement !== v;
469
+ u.elements = u.elements.filter(function(j) {
470
+ return j.domElement !== v;
471
471
  });
472
472
  });
473
473
  }());
474
- function Wt(l, c) {
474
+ function Bt(l, u) {
475
475
  if (Array.isArray(l)) return l;
476
- for (var v = Object.keys(l).map(function(J) {
477
- return parseInt(J);
478
- }).sort(function(J, At) {
479
- return At < J ? 1 : -1;
480
- }), E = v[v.length - 1], O = 0; O < v.length; O++) {
476
+ for (var v = Object.keys(l).map(function(tt) {
477
+ return parseInt(tt);
478
+ }).sort(function(tt, At) {
479
+ return At < tt ? 1 : -1;
480
+ }), j = v[v.length - 1], O = 0; O < v.length; O++) {
481
481
  var I = v[O];
482
- if (c < I) {
483
- E = I;
482
+ if (u < I) {
483
+ j = I;
484
484
  break;
485
485
  }
486
486
  }
487
- return l[E];
487
+ return l[j];
488
488
  }
489
- function Ct(l, j, v) {
490
- var E = j.width, O = j.height, x = j.x, X = j.y;
489
+ function Ct(l, L, v) {
490
+ var j = L.width, O = L.height, x = L.x, X = L.y;
491
491
  if (typeof l == "number") return l;
492
- var I, J = document.body.scrollHeight, At = document.body.scrollWidth, W = window.innerWidth, gt = window.innerHeight, A = s((I = window.pageXOffset !== void 0, A = (document.compatMode || "") === "CSS1Compat", j = I ? window.pageXOffset : (A ? document.documentElement : document.body).scrollLeft, [I ? window.pageYOffset : (A ? document.documentElement : document.body).scrollTop, j]), 2), j = A[0], x = x + A[1], A = x + E, X = X + j, j = X + O;
493
- return Function("return ".concat(l.replace(/screenWidth/g, W).replace(/screenHeight/g, gt).replace(/pageHeight/g, J).replace(/pageWidth/g, At).replace(/elWidth/g, E).replace(/elHeight/g, O).replace(/elInY/g, X - gt).replace(/elOutY/g, j).replace(/elCenterY/g, X + O / 2 - gt / 2).replace(/elInX/g, x - W).replace(/elOutX/g, A).replace(/elCenterX/g, x + E / 2 - W / 2).replace(/index/g, v)))();
492
+ var I, tt = document.body.scrollHeight, At = document.body.scrollWidth, B = window.innerWidth, gt = window.innerHeight, A = s((I = window.pageXOffset !== void 0, A = (document.compatMode || "") === "CSS1Compat", L = I ? window.pageXOffset : (A ? document.documentElement : document.body).scrollLeft, [I ? window.pageYOffset : (A ? document.documentElement : document.body).scrollTop, L]), 2), L = A[0], x = x + A[1], A = x + j, X = X + L, L = X + O;
493
+ return Function("return ".concat(l.replace(/screenWidth/g, B).replace(/screenHeight/g, gt).replace(/pageHeight/g, tt).replace(/pageWidth/g, At).replace(/elWidth/g, j).replace(/elHeight/g, O).replace(/elInY/g, X - gt).replace(/elOutY/g, L).replace(/elCenterY/g, X + O / 2 - gt / 2).replace(/elInX/g, x - B).replace(/elOutX/g, A).replace(/elCenterX/g, x + j / 2 - B / 2).replace(/index/g, v)))();
494
494
  }
495
- function Lt(l, c) {
496
- var v = this, E = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
495
+ function Lt(l, u) {
496
+ var v = this, j = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : {};
497
497
  t(this, Lt), i(this, "getValueFn", void 0), i(this, "name", ""), i(this, "lastValue", 0), i(this, "frameStep", 1), i(this, "m1", 0), i(this, "m2", 0), i(this, "inertia", 0), i(this, "inertiaEnabled", !1), i(this, "getValue", function(O) {
498
498
  var I = v.lastValue;
499
499
  return O % v.frameStep == 0 && (I = v.getValueFn(O)), v.inertiaEnabled && (O = I - v.lastValue, v.m1 = 0.8 * v.m1 + O * (1 - 0.8), v.m2 = 0.8 * v.m2 + v.m1 * (1 - 0.8), v.inertia = Math.round(5e3 * v.m2) / 15e3), v.lastValue = I, [v.lastValue, v.inertia];
500
- }), this.name = l, this.getValueFn = c, Object.keys(E).forEach(function(O) {
501
- v[O] = E[O];
500
+ }), this.name = l, this.getValueFn = u, Object.keys(j).forEach(function(O) {
501
+ v[O] = j[O];
502
502
  }), this.lastValue = this.getValueFn(0);
503
503
  }
504
- function kt(l, c, v, E) {
504
+ function kt(l, u, v, j) {
505
505
  var O = this, I = 4 < arguments.length && arguments[4] !== void 0 ? arguments[4] : 0, At = 5 < arguments.length && arguments[5] !== void 0 ? arguments[5] : {};
506
- t(this, kt), i(this, "domElement", void 0), i(this, "transformsData", void 0), i(this, "styles", {}), i(this, "selector", ""), i(this, "groupIndex", 0), i(this, "laxInstance", void 0), i(this, "onUpdate", void 0), i(this, "update", function(W, gt) {
506
+ t(this, kt), i(this, "domElement", void 0), i(this, "transformsData", void 0), i(this, "styles", {}), i(this, "selector", ""), i(this, "groupIndex", 0), i(this, "laxInstance", void 0), i(this, "onUpdate", void 0), i(this, "update", function(B, gt) {
507
507
  var x, A = O.transforms, X = {};
508
508
  for (x in A) {
509
- var j = A[x];
510
- W[x] || console.error("No lax driver with name: ", x);
511
- var Z, G = s(W[x], 2), R = G[0], It = G[1];
512
- for (Z in j) {
513
- var Q, ot = s(j[Z], 3), P = ot[0], D = ot[1], Ot = ot[2], z = Ot === void 0 ? {} : Ot, rt = z.modValue, pt = z.frameStep, _t = pt === void 0 ? 1 : pt, lt = z.easing, ot = z.inertia, Ot = z.inertiaMode, pt = z.cssFn, z = z.cssUnit, z = z === void 0 ? "" : z, lt = k[lt];
514
- gt % _t == 0 && (lt = (function(tt, et, mt, bt) {
515
- var it = 0;
516
- if (tt.forEach(function(Et) {
517
- Et < mt && it++;
518
- }), it <= 0) return et[0];
519
- if (it >= tt.length) return et[tt.length - 1];
520
- var yt, q = (q = tt[yt = it - 1], tt = tt[it], (mt - q) / (tt - q));
521
- return bt && (q = bt(q)), yt = et[yt], et = et[it], yt * (1 - (q = q)) + et * q;
522
- })(P, D, rt ? R % rt : R, lt), ot && (Q = It * ot, Ot === "absolute" && (Q = Math.abs(Q)), lt += Q), Q = (z || S.includes(Z) ? "px" : L.includes(Z) ? "deg" : "") == "px" ? 0 : 3, Q = lt.toFixed(Q), X[Z] = pt ? pt(Q, O.domElement) : Q + z);
509
+ var L = A[x];
510
+ B[x] || console.error("No lax driver with name: ", x);
511
+ var Z, G = s(B[x], 2), R = G[0], It = G[1];
512
+ for (Z in L) {
513
+ var Q, ot = s(L[Z], 3), P = ot[0], D = ot[1], Ot = ot[2], z = Ot === void 0 ? {} : Ot, rt = z.modValue, pt = z.frameStep, _t = pt === void 0 ? 1 : pt, lt = z.easing, ot = z.inertia, Ot = z.inertiaMode, pt = z.cssFn, z = z.cssUnit, z = z === void 0 ? "" : z, lt = T[lt];
514
+ gt % _t == 0 && (lt = (function(et, it, mt, bt) {
515
+ var st = 0;
516
+ if (et.forEach(function(Et) {
517
+ Et < mt && st++;
518
+ }), st <= 0) return it[0];
519
+ if (st >= et.length) return it[et.length - 1];
520
+ var yt, q = (q = et[yt = st - 1], et = et[st], (mt - q) / (et - q));
521
+ return bt && (q = bt(q)), yt = it[yt], it = it[st], yt * (1 - (q = q)) + it * q;
522
+ })(P, D, rt ? R % rt : R, lt), ot && (Q = It * ot, Ot === "absolute" && (Q = Math.abs(Q)), lt += Q), Q = (z || _.includes(Z) ? "px" : S.includes(Z) ? "deg" : "") == "px" ? 0 : 3, Q = lt.toFixed(Q), X[Z] = pt ? pt(Q, O.domElement) : Q + z);
523
523
  }
524
524
  }
525
- O.applyStyles(X), O.onUpdate && O.onUpdate(W, O.domElement);
525
+ O.applyStyles(X), O.onUpdate && O.onUpdate(B, O.domElement);
526
526
  }), i(this, "calculateTransforms", function() {
527
527
  O.transforms = {};
528
- var W, gt = O.laxInstance.windowWidth;
529
- for (W in O.transformsData) (function(x) {
530
- var A = O.transformsData[x], X = {}, j = A.presets;
531
- (j === void 0 ? [] : j).forEach(function(P) {
528
+ var B, gt = O.laxInstance.windowWidth;
529
+ for (B in O.transformsData) (function(x) {
530
+ var A = O.transformsData[x], X = {}, L = A.presets;
531
+ (L === void 0 ? [] : L).forEach(function(P) {
532
532
  var R, D = s(P.split(":"), 3), It = D[0], Q = D[1], P = D[2], D = window.lax.presets[It];
533
533
  D ? (R = D(Q, P), Object.keys(R).forEach(function(rt) {
534
534
  A[rt] = R[rt];
535
535
  })) : console.error("Lax preset cannot be found with name: ", It);
536
536
  }), delete A.presets;
537
537
  for (var Z in A) (function(G) {
538
- var R = s(A[G], 3), P = R[0], Q = P === void 0 ? [-1e9, 1e9] : P, P = R[1], P = P === void 0 ? [-1e9, 1e9] : P, R = R[2], R = R === void 0 ? {} : R, It = O.domElement.getBoundingClientRect(), Q = Wt(Q, gt).map(function(D) {
538
+ var R = s(A[G], 3), P = R[0], Q = P === void 0 ? [-1e9, 1e9] : P, P = R[1], P = P === void 0 ? [-1e9, 1e9] : P, R = R[2], R = R === void 0 ? {} : R, It = O.domElement.getBoundingClientRect(), Q = Bt(Q, gt).map(function(D) {
539
539
  return Ct(D, It, O.groupIndex);
540
- }), P = Wt(P, gt).map(function(D) {
540
+ }), P = Bt(P, gt).map(function(D) {
541
541
  return Ct(D, It, O.groupIndex);
542
542
  });
543
543
  X[G] = [Q, P, R];
544
544
  })(Z);
545
545
  O.transforms[x] = X;
546
- })(W);
547
- }), i(this, "applyStyles", function(W) {
548
- var gt, x, A, X = (gt = W, x = { transform: "", filter: "" }, A = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(gt).forEach(function(j) {
549
- var Z = gt[j], G = S.includes(j) ? "px" : L.includes(j) ? "deg" : "";
550
- b.includes(j) ? A[j] = Z : u.includes(j) ? x.transform += "".concat(j, "(").concat(Z).concat(G, ") ") : g.includes(j) ? x.filter += "".concat(j, "(").concat(Z).concat(G, ") ") : x[j] = "".concat(Z).concat(G, " ");
546
+ })(B);
547
+ }), i(this, "applyStyles", function(B) {
548
+ var gt, x, A, X = (gt = B, x = { transform: "", filter: "" }, A = { translateX: 1e-5, translateY: 1e-5, translateZ: 1e-5 }, Object.keys(gt).forEach(function(L) {
549
+ var Z = gt[L], G = _.includes(L) ? "px" : S.includes(L) ? "deg" : "";
550
+ b.includes(L) ? A[L] = Z : c.includes(L) ? x.transform += "".concat(L, "(").concat(Z).concat(G, ") ") : f.includes(L) ? x.filter += "".concat(L, "(").concat(Z).concat(G, ") ") : x[L] = "".concat(Z).concat(G, " ");
551
551
  }), x.transform = "translate3d(".concat(A.translateX, "px, ").concat(A.translateY, "px, ").concat(A.translateZ, "px) ").concat(x.transform), x);
552
- Object.keys(X).forEach(function(j) {
553
- O.domElement.style.setProperty(j, X[j]);
552
+ Object.keys(X).forEach(function(L) {
553
+ O.domElement.style.setProperty(L, X[L]);
554
554
  });
555
- }), this.selector = l, this.laxInstance = c, this.domElement = v, this.transformsData = E, this.groupIndex = I;
556
- var J = (I = At.style) === void 0 ? {} : I, At = At.onUpdate;
557
- Object.keys(J).forEach(function(W) {
558
- v.style.setProperty(W, J[W]);
555
+ }), this.selector = l, this.laxInstance = u, this.domElement = v, this.transformsData = j, this.groupIndex = I;
556
+ var tt = (I = At.style) === void 0 ? {} : I, At = At.onUpdate;
557
+ Object.keys(tt).forEach(function(B) {
558
+ v.style.setProperty(B, tt[B]);
559
559
  }), At && (this.onUpdate = At), this.calculateTransforms();
560
560
  }
561
561
  o.exports !== void 0 ? o.exports = ft : window.lax = ft;
@@ -589,19 +589,19 @@ class ii {
589
589
  return;
590
590
  }
591
591
  e.style.transform = "";
592
- let r = this.getObjVal(e, "data-top-bottom"), n = this.getObjVal(e, "data-top"), h = this.getObjVal(e, "data-50-top"), d = this.getObjVal(e, "data-100-top"), u = this.getObjVal(e, "data-center-bottom"), g = this.getObjVal(e, "data-center"), b = this.getObjVal(e, "data-center-top"), S = this.getObjVal(e, "data--400-bottom"), L = this.getObjVal(e, "data--300-bottom"), k = this.getObjVal(e, "data--200-bottom"), at = this.getObjVal(e, "data--150-bottom"), ft = this.getObjVal(e, "data--100-bottom"), Wt = this.getObjVal(e, "data--50-bottom"), Ct = this.getObjVal(e, "data-bottom"), Lt = this.getObjVal(e, "data-50-bottom"), kt = this.getObjVal(e, "data-100-bottom"), l = this.getObjVal(e, "data-150-bottom"), c = this.getObjVal(e, "data-200-bottom"), v = this.getObjVal(e, "data-300-bottom"), E = this.getObjVal(e, "data-400-bottom"), O = this.getObjVal(e, "data-bottom-top"), I = this.getObjVal(e, "data-in"), J = this.getObjVal(e, "data-in-150"), At = this.getObjVal(e, "data-in-300"), W = this.getObjVal(e, "data-cen--150"), gt = this.getObjVal(e, "data-cen"), x = this.getObjVal(e, "data-cen-150"), A = this.getObjVal(e, "data-out--300"), X = this.getObjVal(e, "data-out--150"), j = this.getObjVal(e, "data-out"), Z = !1;
592
+ let r = this.getObjVal(e, "data-top-bottom"), n = this.getObjVal(e, "data-top"), h = this.getObjVal(e, "data-50-top"), d = this.getObjVal(e, "data-100-top"), c = this.getObjVal(e, "data-center-bottom"), f = this.getObjVal(e, "data-center"), b = this.getObjVal(e, "data-center-top"), _ = this.getObjVal(e, "data--400-bottom"), S = this.getObjVal(e, "data--300-bottom"), T = this.getObjVal(e, "data--200-bottom"), K = this.getObjVal(e, "data--150-bottom"), ft = this.getObjVal(e, "data--100-bottom"), Bt = this.getObjVal(e, "data--50-bottom"), Ct = this.getObjVal(e, "data-bottom"), Lt = this.getObjVal(e, "data-50-bottom"), kt = this.getObjVal(e, "data-100-bottom"), l = this.getObjVal(e, "data-150-bottom"), u = this.getObjVal(e, "data-200-bottom"), v = this.getObjVal(e, "data-300-bottom"), j = this.getObjVal(e, "data-400-bottom"), O = this.getObjVal(e, "data-bottom-top"), I = this.getObjVal(e, "data-in"), tt = this.getObjVal(e, "data-in-150"), At = this.getObjVal(e, "data-in-300"), B = this.getObjVal(e, "data-cen--150"), gt = this.getObjVal(e, "data-cen"), x = this.getObjVal(e, "data-cen-150"), A = this.getObjVal(e, "data-out--300"), X = this.getObjVal(e, "data-out--150"), L = this.getObjVal(e, "data-out"), Z = !1;
593
593
  e.hasAttribute("data-xs") && (Z = !0);
594
594
  let G = !1;
595
595
  e.hasAttribute("data-sm") && (G = !0);
596
596
  let R = !1;
597
597
  e.hasAttribute("data-md") && (R = !0), e.hasAttribute("data-lg"), e.hasAttribute("data-xl");
598
- let It = {}, Q = {}, P = {}, D = {}, rt = {}, _t = {}, ot = {}, Ot = {}, pt = {}, z = {}, lt = {}, tt = {}, et = {}, mt = {}, bt = {}, it = {}, yt = {}, q = {}, Et = {}, Vt = {}, dt = {}, Yt = {}, V = {}, Mt = {}, vt = {}, Pt = {}, qt = {}, Dt = {}, p = {}, m = {}, y = {}, w = {}, C = {};
599
- (i > 1280 || i > 970 && i <= 1280 && !R || i > 760 && i <= 970 && !G || i <= 760 && !Z) && (P = this.getObjVal(e, "data-t"), D = this.getObjVal(e, "data-t-100"), rt = this.getObjVal(e, "data-t-200"), _t = this.getObjVal(e, "data-t-300"), ot = this.getObjVal(e, "data-t-400"), Ot = this.getObjVal(e, "data-t-500"), pt = this.getObjVal(e, "data-t-600"), z = this.getObjVal(e, "data-t-700"), lt = this.getObjVal(e, "data-t-800"), tt = this.getObjVal(e, "data-t-900"), et = this.getObjVal(e, "data-t-1000"), mt = this.getObjVal(e, "data-t-1100"), bt = this.getObjVal(e, "data-t-1200"), it = this.getObjVal(e, "data-t-1300"), yt = this.getObjVal(e, "data-t-1400"), q = this.getObjVal(e, "data-t-1500"), Et = this.getObjVal(e, "data-t-1600"), Vt = this.getObjVal(e, "data-t-1700"), dt = this.getObjVal(e, "data-t-1800"), Yt = this.getObjVal(e, "data-t-1900"), V = this.getObjVal(e, "data-t-2000"), Mt = this.getObjVal(e, "data-t-2100"), vt = this.getObjVal(e, "data-t-2200"), Pt = this.getObjVal(e, "data-t-2300"), qt = this.getObjVal(e, "data-t-2400"), Dt = this.getObjVal(e, "data-t-2500"), p = this.getObjVal(e, "data-t-2600"), m = this.getObjVal(e, "data-t-2700"), y = this.getObjVal(e, "data-t-2800")), i > 970 && i <= 1280 && R && (e.hasAttribute("data-md-t") && (P = this.getObjVal(e, "data-md-t")), e.hasAttribute("data-md-t-100") && (D = this.getObjVal(e, "data-md-t-100")), e.hasAttribute("data-md-t-200") && (rt = this.getObjVal(e, "data-md-t-200")), e.hasAttribute("data-md-t-300") && (_t = this.getObjVal(e, "data-md-t-300")), e.hasAttribute("data-md-t-400") && (ot = this.getObjVal(e, "data-md-t-400")), e.hasAttribute("data-md-t-500") && (Ot = this.getObjVal(e, "data-md-t-500")), e.hasAttribute("data-md-t-600") && (pt = this.getObjVal(e, "data-md-t-600")), e.hasAttribute("data-md-t-700") && (z = this.getObjVal(e, "data-md-t-700")), e.hasAttribute("data-md-t-800") && (lt = this.getObjVal(e, "data-md-t-800")), e.hasAttribute("data-md-t-900") && (tt = this.getObjVal(e, "data-md-t-900")), e.hasAttribute("data-md-t-1000") && (et = this.getObjVal(e, "data-md-t-1000")), e.hasAttribute("data-md-t-1100") && (mt = this.getObjVal(e, "data-md-t-1100")), e.hasAttribute("data-md-t-1200") && (bt = this.getObjVal(e, "data-md-t-1200")), e.hasAttribute("data-md-t-1300") && (it = this.getObjVal(e, "data-md-t-1300")), e.hasAttribute("data-md-t-1400") && (yt = this.getObjVal(e, "data-md-t-1400")), e.hasAttribute("data-md-t-1500") && (q = this.getObjVal(e, "data-md-t-1500")), e.hasAttribute("data-md-t-1600") && (Et = this.getObjVal(e, "data-md-t-1600")), e.hasAttribute("data-md-t-1700") && (Vt = this.getObjVal(e, "data-md-t-1700")), e.hasAttribute("data-md-t-1800") && (dt = this.getObjVal(e, "data-md-t-1800")), e.hasAttribute("data-md-t-1900") && (Yt = this.getObjVal(e, "data-md-t-1900")), e.hasAttribute("data-md-t-2000") && (V = this.getObjVal(e, "data-md-t-2000")), e.hasAttribute("data-md-t-2100") && (Mt = this.getObjVal(e, "data-md-t-2100")), e.hasAttribute("data-md-t-2200") && (vt = this.getObjVal(e, "data-md-t-2200")), e.hasAttribute("data-md-t-2300") && (Pt = this.getObjVal(e, "data-md-t-2300")), e.hasAttribute("data-md-t-2400") && (qt = this.getObjVal(e, "data-md-t-2400")), e.hasAttribute("data-md-t-2500") && (Dt = this.getObjVal(e, "data-md-t-2500")), e.hasAttribute("data-md-t-2600") && (p = this.getObjVal(e, "data-md-t-2600")), e.hasAttribute("data-md-t-2700") && (m = this.getObjVal(e, "data-md-t-2700")), e.hasAttribute("data-md-t-2800") && (y = this.getObjVal(e, "data-md-t-2800"))), i <= 970 && e.hasAttribute("m-data-out") && (j = this.getObjVal(e, "m-data-out")), (i > 760 && i <= 970 && G || i <= 760 && !Z && G) && (e.hasAttribute("data-sm-t") && (P = this.getObjVal(e, "data-sm-t")), e.hasAttribute("data-sm-t-100") && (D = this.getObjVal(e, "data-sm-t-100")), e.hasAttribute("data-sm-t-200") && (rt = this.getObjVal(e, "data-sm-t-200")), e.hasAttribute("data-sm-t-300") && (_t = this.getObjVal(e, "data-sm-t-300")), e.hasAttribute("data-sm-t-400") && (ot = this.getObjVal(e, "data-sm-t-400")), e.hasAttribute("data-sm-t-500") && (Ot = this.getObjVal(e, "data-sm-t-500")), e.hasAttribute("data-sm-t-600") && (pt = this.getObjVal(e, "data-sm-t-600")), e.hasAttribute("data-sm-t-700") && (z = this.getObjVal(e, "data-sm-t-700")), e.hasAttribute("data-sm-t-800") && (lt = this.getObjVal(e, "data-sm-t-800")), e.hasAttribute("data-sm-t-900") && (tt = this.getObjVal(e, "data-sm-t-900")), e.hasAttribute("data-sm-t-1000") && (et = this.getObjVal(e, "data-sm-t-1000")), e.hasAttribute("data-sm-t-1100") && (mt = this.getObjVal(e, "data-sm-t-1100")), e.hasAttribute("data-sm-t-1200") && (bt = this.getObjVal(e, "data-sm-t-1200")), e.hasAttribute("data-sm-t-1300") && (it = this.getObjVal(e, "data-sm-t-1300")), e.hasAttribute("data-sm-t-1400") && (yt = this.getObjVal(e, "data-sm-t-1400")), e.hasAttribute("data-sm-t-1500") && (q = this.getObjVal(e, "data-sm-t-1500")), e.hasAttribute("data-sm-t-1600") && (Et = this.getObjVal(e, "data-sm-t-1600")), e.hasAttribute("data-sm-t-1700") && (Vt = this.getObjVal(e, "data-sm-t-1700")), e.hasAttribute("data-sm-t-1800") && (dt = this.getObjVal(e, "data-sm-t-1800")), e.hasAttribute("data-sm-t-1900") && (Yt = this.getObjVal(e, "data-sm-t-1900")), e.hasAttribute("data-sm-t-2000") && (V = this.getObjVal(e, "data-sm-t-2000")), e.hasAttribute("data-sm-t-2100") && (Mt = this.getObjVal(e, "data-sm-t-2100")), e.hasAttribute("data-sm-t-2200") && (vt = this.getObjVal(e, "data-sm-t-2200")), e.hasAttribute("data-sm-t-2300") && (Pt = this.getObjVal(e, "data-sm-t-2300")), e.hasAttribute("data-sm-t-2400") && (qt = this.getObjVal(e, "data-sm-t-2400")), e.hasAttribute("data-sm-t-2500") && (Dt = this.getObjVal(e, "data-sm-t-2500")), e.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(e, "data-sm-t-2600")), e.hasAttribute("data-sm-t-2700") && (m = this.getObjVal(e, "data-sm-t-2700")), e.hasAttribute("data-sm-t-2800") && (y = this.getObjVal(e, "data-sm-t-2800"))), i <= 414 && Z && (e.hasAttribute("data-xs-t") && (P = this.getObjVal(e, "data-xs-t")), e.hasAttribute("data-xs-t-100") && (D = this.getObjVal(e, "data-xs-t-100")), e.hasAttribute("data-xs-t-200") && (rt = this.getObjVal(e, "data-xs-t-200")), e.hasAttribute("data-xs-t-300") && (_t = this.getObjVal(e, "data-xs-t-300")), e.hasAttribute("data-xs-t-400") && (ot = this.getObjVal(e, "data-xs-t-400")), e.hasAttribute("data-xs-t-500") && (Ot = this.getObjVal(e, "data-xs-t-500")), e.hasAttribute("data-xs-t-600") && (pt = this.getObjVal(e, "data-xs-t-600")), e.hasAttribute("data-xs-t-700") && (z = this.getObjVal(e, "data-xs-t-700")), e.hasAttribute("data-xs-t-800") && (lt = this.getObjVal(e, "data-xs-t-800")), e.hasAttribute("data-xs-t-900") && (tt = this.getObjVal(e, "data-xs-t-900")), e.hasAttribute("data-xs-t-1000") && (et = this.getObjVal(e, "data-xs-t-1000")), e.hasAttribute("data-xs-t-1100") && (mt = this.getObjVal(e, "data-xs-t-1100")), e.hasAttribute("data-xs-t-1200") && (bt = this.getObjVal(e, "data-xs-t-1200")), e.hasAttribute("data-xs-t-1300") && (it = this.getObjVal(e, "data-xs-t-1300")), e.hasAttribute("data-xs-t-1400") && (yt = this.getObjVal(e, "data-xs-t-1400")), e.hasAttribute("data-xs-t-1500") && (q = this.getObjVal(e, "data-xs-t-1500")), e.hasAttribute("data-xs-t-1600") && (Et = this.getObjVal(e, "data-xs-t-1600")), e.hasAttribute("data-xs-t-1700") && (Vt = this.getObjVal(e, "data-xs-t-1700")), e.hasAttribute("data-xs-t-1800") && (dt = this.getObjVal(e, "data-xs-t-1800")), e.hasAttribute("data-xs-t-1900") && (Yt = this.getObjVal(e, "data-xs-t-1900")), e.hasAttribute("data-xs-t-2000") && (V = this.getObjVal(e, "data-xs-t-2000")), e.hasAttribute("data-xs-t-2100") && (Mt = this.getObjVal(e, "data-xs-t-2100")), e.hasAttribute("data-xs-t-2200") && (vt = this.getObjVal(e, "data-xs-t-2200")), e.hasAttribute("data-xs-t-2300") && (Pt = this.getObjVal(e, "data-xs-t-2300")), e.hasAttribute("data-xs-t-2400") && (qt = this.getObjVal(e, "data-xs-t-2400")), e.hasAttribute("data-xs-t-2500") && (Dt = this.getObjVal(e, "data-xs-t-2500")), e.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(e, "data-xs-t-2600")), e.hasAttribute("data-xs-t-2700") && (m = this.getObjVal(e, "data-xs-t-2700")), e.hasAttribute("data-xs-t-2800") && (y = this.getObjVal(e, "data-xs-t-2800")));
600
- let H = P, B = D, _ = rt, $ = _t, M = ot, ht = Ot, F = pt, K = z, ct = lt, zt = tt, St = et, Xt = mt, st = bt, T = it, U = yt, ut = q, te = Et, ee = Vt, ie = dt, se = Yt, ne = V, ae = Mt, re = vt, oe = Pt, le = qt, de = Dt, he = p, ce = m, ue = y, Ft = window.innerHeight;
601
- Ft < 730 ? (It = H, Q = B, P = _, D = $, rt = M, _t = ht, ot = F, Ot = K, pt = ct, z = zt, lt = St, tt = Xt, et = st, mt = T, bt = U, it = ut, yt = te, q = ee, Et = ie, Vt = se, dt = ne, Yt = ae, V = re, Mt = oe, vt = le, Pt = de, qt = he, Dt = ce, p = ue, m = {}, y = {}) : Ft >= 730 && Ft < 790 ? (Q = H, P = B, D = _, rt = $, _t = M, ot = ht, Ot = F, pt = K, z = ct, lt = zt, tt = St, et = Xt, mt = st, bt = T, it = U, yt = ut, q = te, Et = ee, Vt = ie, dt = se, Yt = ne, V = ae, Mt = re, vt = oe, Pt = le, qt = de, Dt = he, p = ce, m = ue, y = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (P = {}, D = H, rt = B, _t = _, ot = $, Ot = M, pt = ht, z = F, lt = K, tt = ct, et = zt, mt = St, bt = Xt, it = st, yt = T, q = U, Et = ut, Vt = te, dt = ee, Yt = ie, V = se, Mt = ne, vt = ae, Pt = re, qt = oe, Dt = le, p = de, m = he, y = ce, w = ue) : (P = {}, D = {}, rt = H, _t = B, ot = _, Ot = $, pt = M, z = ht, lt = F, tt = K, et = ct, mt = zt, bt = St, it = Xt, yt = st, q = T, Et = U, Vt = ut, dt = te, Yt = ee, V = ie, Mt = se, vt = ne, Pt = ae, qt = re, Dt = oe, p = le, m = de, y = he, w = ce, C = ue));
602
- let f = {};
603
- Object.keys(O).length !== 0 && (f = this.parseObj(O, "elInY", f)), Object.keys(E).length !== 0 && (f = this.parseObj(E, "elInY+50", f)), Object.keys(v).length !== 0 && (f = this.parseObj(v, "elInY+100", f)), Object.keys(c).length !== 0 && (f = this.parseObj(c, "elInY+150", f)), Object.keys(l).length !== 0 && (f = this.parseObj(l, "elInY+200", f)), Object.keys(kt).length !== 0 && (f = this.parseObj(kt, "elInY+250", f)), Object.keys(Lt).length !== 0 && (f = this.parseObj(Lt, "elInY+300", f)), Object.keys(Ct).length !== 0 && (f = this.parseObj(Ct, "elInY+350", f)), Object.keys(Wt).length !== 0 && (f = this.parseObj(Wt, "elInY+400", f)), Object.keys(ft).length !== 0 && (f = this.parseObj(ft, "elInY+450", f)), Object.keys(at).length !== 0 && (f = this.parseObj(at, "elInY+500", f)), Object.keys(k).length !== 0 && (f = this.parseObj(k, "elInY+550", f)), Object.keys(L).length !== 0 && (f = this.parseObj(L, "elInY+600", f)), Object.keys(S).length !== 0 && (f = this.parseObj(S, "elInY+650", f)), Object.keys(b).length !== 0 && (f = this.parseObj(b, "elCenterY-300", f)), Object.keys(g).length !== 0 && (f = this.parseObj(g, "elCenterY", f)), Object.keys(u).length !== 0 && (f = this.parseObj(u, "elCenterY+100", f)), Object.keys(d).length !== 0 && (f = this.parseObj(d, "elCenterY+200", f)), Object.keys(h).length !== 0 && (f = this.parseObj(h, "elCenterY+300", f)), Object.keys(n).length !== 0 && (f = this.parseObj(n, "elOutY-300", f)), Object.keys(r).length !== 0 && (f = this.parseObj(r, "elOutY", f)), Object.keys(I).length !== 0 && (f = this.parseObj(I, "elInY", f)), Object.keys(J).length !== 0 && (f = this.parseObj(J, "elInY+150", f)), Object.keys(At).length !== 0 && (f = this.parseObj(At, "elInY+300 ", f)), Object.keys(W).length !== 0 && (f = this.parseObj(W, "elCenterY-150", f)), Object.keys(gt).length !== 0 && (f = this.parseObj(gt, "elCenterY", f)), Object.keys(x).length !== 0 && (f = this.parseObj(x, "elCenterY+150", f)), Object.keys(A).length !== 0 && (f = this.parseObj(A, "elOutY-300 ", f)), Object.keys(X).length !== 0 && (f = this.parseObj(X, "elOutY-150 ", f)), Object.keys(j).length !== 0 && (f = this.parseObj(j, "elOutY", f)), Object.keys(It).length !== 0 && (f = this.parseObj(It, "elInY-200", f)), Object.keys(Q).length !== 0 && (f = this.parseObj(Q, "elInY-100", f)), Object.keys(P).length !== 0 && (f = this.parseObj(P, "elInY", f)), Object.keys(D).length !== 0 && (f = this.parseObj(D, "elInY+100", f)), Object.keys(rt).length !== 0 && (f = this.parseObj(rt, "elInY+200", f)), Object.keys(_t).length !== 0 && (f = this.parseObj(_t, "elInY+300 ", f)), Object.keys(ot).length !== 0 && (f = this.parseObj(ot, "elInY+400 ", f)), Object.keys(Ot).length !== 0 && (f = this.parseObj(Ot, "elInY+500 ", f)), Object.keys(pt).length !== 0 && (f = this.parseObj(pt, "elInY+600 ", f)), Object.keys(z).length !== 0 && (f = this.parseObj(z, "elInY+700 ", f)), Object.keys(lt).length !== 0 && (f = this.parseObj(lt, "elInY+800 ", f)), Object.keys(tt).length !== 0 && (f = this.parseObj(tt, "elInY+900 ", f)), Object.keys(et).length !== 0 && (f = this.parseObj(et, "elInY+1000 ", f)), Object.keys(mt).length !== 0 && (f = this.parseObj(mt, "elInY+1100 ", f)), Object.keys(bt).length !== 0 && (f = this.parseObj(bt, "elInY+1200 ", f)), Object.keys(it).length !== 0 && (f = this.parseObj(it, "elInY+1300 ", f)), Object.keys(yt).length !== 0 && (f = this.parseObj(yt, "elInY+1400 ", f)), Object.keys(q).length !== 0 && (f = this.parseObj(q, "elInY+1500 ", f)), Object.keys(Et).length !== 0 && (f = this.parseObj(Et, "elInY+1600 ", f)), Object.keys(Vt).length !== 0 && (f = this.parseObj(Vt, "elInY+1700 ", f)), Object.keys(dt).length !== 0 && (f = this.parseObj(dt, "elInY+1800 ", f)), Object.keys(Yt).length !== 0 && (f = this.parseObj(Yt, "elInY+1900 ", f)), Object.keys(V).length !== 0 && (f = this.parseObj(V, "elInY+2000 ", f)), Object.keys(Mt).length !== 0 && (f = this.parseObj(Mt, "elInY+2100 ", f)), Object.keys(vt).length !== 0 && (f = this.parseObj(vt, "elInY+2200 ", f)), Object.keys(Pt).length !== 0 && (f = this.parseObj(Pt, "elInY+2300 ", f)), Object.keys(qt).length !== 0 && (f = this.parseObj(qt, "elInY+2400 ", f)), Object.keys(Dt).length !== 0 && (f = this.parseObj(Dt, "elInY+2500 ", f)), Object.keys(p).length !== 0 && (f = this.parseObj(p, "elInY+2600 ", f)), Object.keys(m).length !== 0 && (f = this.parseObj(m, "elInY+2700 ", f)), Object.keys(y).length !== 0 && (f = this.parseObj(y, "elInY+2800 ", f)), Object.keys(w).length !== 0 && (f = this.parseObj(w, "elInY+2900 ", f)), Object.keys(C).length !== 0 && (f = this.parseObj(C, "elInY+3000 ", f)), e.style.transition = "", e.setAttribute("data-dummy-selector", "1"), Zt.addElements("[data-dummy-selector]", {
604
- scrollY: f
598
+ let It = {}, Q = {}, P = {}, D = {}, rt = {}, _t = {}, ot = {}, Ot = {}, pt = {}, z = {}, lt = {}, et = {}, it = {}, mt = {}, bt = {}, st = {}, yt = {}, q = {}, Et = {}, Vt = {}, dt = {}, Yt = {}, V = {}, Mt = {}, vt = {}, Pt = {}, qt = {}, Dt = {}, p = {}, m = {}, y = {}, w = {}, k = {};
599
+ (i > 1280 || i > 970 && i <= 1280 && !R || i > 760 && i <= 970 && !G || i <= 760 && !Z) && (P = this.getObjVal(e, "data-t"), D = this.getObjVal(e, "data-t-100"), rt = this.getObjVal(e, "data-t-200"), _t = this.getObjVal(e, "data-t-300"), ot = this.getObjVal(e, "data-t-400"), Ot = this.getObjVal(e, "data-t-500"), pt = this.getObjVal(e, "data-t-600"), z = this.getObjVal(e, "data-t-700"), lt = this.getObjVal(e, "data-t-800"), et = this.getObjVal(e, "data-t-900"), it = this.getObjVal(e, "data-t-1000"), mt = this.getObjVal(e, "data-t-1100"), bt = this.getObjVal(e, "data-t-1200"), st = this.getObjVal(e, "data-t-1300"), yt = this.getObjVal(e, "data-t-1400"), q = this.getObjVal(e, "data-t-1500"), Et = this.getObjVal(e, "data-t-1600"), Vt = this.getObjVal(e, "data-t-1700"), dt = this.getObjVal(e, "data-t-1800"), Yt = this.getObjVal(e, "data-t-1900"), V = this.getObjVal(e, "data-t-2000"), Mt = this.getObjVal(e, "data-t-2100"), vt = this.getObjVal(e, "data-t-2200"), Pt = this.getObjVal(e, "data-t-2300"), qt = this.getObjVal(e, "data-t-2400"), Dt = this.getObjVal(e, "data-t-2500"), p = this.getObjVal(e, "data-t-2600"), m = this.getObjVal(e, "data-t-2700"), y = this.getObjVal(e, "data-t-2800")), i > 970 && i <= 1280 && R && (e.hasAttribute("data-md-t") && (P = this.getObjVal(e, "data-md-t")), e.hasAttribute("data-md-t-100") && (D = this.getObjVal(e, "data-md-t-100")), e.hasAttribute("data-md-t-200") && (rt = this.getObjVal(e, "data-md-t-200")), e.hasAttribute("data-md-t-300") && (_t = this.getObjVal(e, "data-md-t-300")), e.hasAttribute("data-md-t-400") && (ot = this.getObjVal(e, "data-md-t-400")), e.hasAttribute("data-md-t-500") && (Ot = this.getObjVal(e, "data-md-t-500")), e.hasAttribute("data-md-t-600") && (pt = this.getObjVal(e, "data-md-t-600")), e.hasAttribute("data-md-t-700") && (z = this.getObjVal(e, "data-md-t-700")), e.hasAttribute("data-md-t-800") && (lt = this.getObjVal(e, "data-md-t-800")), e.hasAttribute("data-md-t-900") && (et = this.getObjVal(e, "data-md-t-900")), e.hasAttribute("data-md-t-1000") && (it = this.getObjVal(e, "data-md-t-1000")), e.hasAttribute("data-md-t-1100") && (mt = this.getObjVal(e, "data-md-t-1100")), e.hasAttribute("data-md-t-1200") && (bt = this.getObjVal(e, "data-md-t-1200")), e.hasAttribute("data-md-t-1300") && (st = this.getObjVal(e, "data-md-t-1300")), e.hasAttribute("data-md-t-1400") && (yt = this.getObjVal(e, "data-md-t-1400")), e.hasAttribute("data-md-t-1500") && (q = this.getObjVal(e, "data-md-t-1500")), e.hasAttribute("data-md-t-1600") && (Et = this.getObjVal(e, "data-md-t-1600")), e.hasAttribute("data-md-t-1700") && (Vt = this.getObjVal(e, "data-md-t-1700")), e.hasAttribute("data-md-t-1800") && (dt = this.getObjVal(e, "data-md-t-1800")), e.hasAttribute("data-md-t-1900") && (Yt = this.getObjVal(e, "data-md-t-1900")), e.hasAttribute("data-md-t-2000") && (V = this.getObjVal(e, "data-md-t-2000")), e.hasAttribute("data-md-t-2100") && (Mt = this.getObjVal(e, "data-md-t-2100")), e.hasAttribute("data-md-t-2200") && (vt = this.getObjVal(e, "data-md-t-2200")), e.hasAttribute("data-md-t-2300") && (Pt = this.getObjVal(e, "data-md-t-2300")), e.hasAttribute("data-md-t-2400") && (qt = this.getObjVal(e, "data-md-t-2400")), e.hasAttribute("data-md-t-2500") && (Dt = this.getObjVal(e, "data-md-t-2500")), e.hasAttribute("data-md-t-2600") && (p = this.getObjVal(e, "data-md-t-2600")), e.hasAttribute("data-md-t-2700") && (m = this.getObjVal(e, "data-md-t-2700")), e.hasAttribute("data-md-t-2800") && (y = this.getObjVal(e, "data-md-t-2800"))), i <= 970 && e.hasAttribute("m-data-out") && (L = this.getObjVal(e, "m-data-out")), (i > 760 && i <= 970 && G || i <= 760 && !Z && G) && (e.hasAttribute("data-sm-t") && (P = this.getObjVal(e, "data-sm-t")), e.hasAttribute("data-sm-t-100") && (D = this.getObjVal(e, "data-sm-t-100")), e.hasAttribute("data-sm-t-200") && (rt = this.getObjVal(e, "data-sm-t-200")), e.hasAttribute("data-sm-t-300") && (_t = this.getObjVal(e, "data-sm-t-300")), e.hasAttribute("data-sm-t-400") && (ot = this.getObjVal(e, "data-sm-t-400")), e.hasAttribute("data-sm-t-500") && (Ot = this.getObjVal(e, "data-sm-t-500")), e.hasAttribute("data-sm-t-600") && (pt = this.getObjVal(e, "data-sm-t-600")), e.hasAttribute("data-sm-t-700") && (z = this.getObjVal(e, "data-sm-t-700")), e.hasAttribute("data-sm-t-800") && (lt = this.getObjVal(e, "data-sm-t-800")), e.hasAttribute("data-sm-t-900") && (et = this.getObjVal(e, "data-sm-t-900")), e.hasAttribute("data-sm-t-1000") && (it = this.getObjVal(e, "data-sm-t-1000")), e.hasAttribute("data-sm-t-1100") && (mt = this.getObjVal(e, "data-sm-t-1100")), e.hasAttribute("data-sm-t-1200") && (bt = this.getObjVal(e, "data-sm-t-1200")), e.hasAttribute("data-sm-t-1300") && (st = this.getObjVal(e, "data-sm-t-1300")), e.hasAttribute("data-sm-t-1400") && (yt = this.getObjVal(e, "data-sm-t-1400")), e.hasAttribute("data-sm-t-1500") && (q = this.getObjVal(e, "data-sm-t-1500")), e.hasAttribute("data-sm-t-1600") && (Et = this.getObjVal(e, "data-sm-t-1600")), e.hasAttribute("data-sm-t-1700") && (Vt = this.getObjVal(e, "data-sm-t-1700")), e.hasAttribute("data-sm-t-1800") && (dt = this.getObjVal(e, "data-sm-t-1800")), e.hasAttribute("data-sm-t-1900") && (Yt = this.getObjVal(e, "data-sm-t-1900")), e.hasAttribute("data-sm-t-2000") && (V = this.getObjVal(e, "data-sm-t-2000")), e.hasAttribute("data-sm-t-2100") && (Mt = this.getObjVal(e, "data-sm-t-2100")), e.hasAttribute("data-sm-t-2200") && (vt = this.getObjVal(e, "data-sm-t-2200")), e.hasAttribute("data-sm-t-2300") && (Pt = this.getObjVal(e, "data-sm-t-2300")), e.hasAttribute("data-sm-t-2400") && (qt = this.getObjVal(e, "data-sm-t-2400")), e.hasAttribute("data-sm-t-2500") && (Dt = this.getObjVal(e, "data-sm-t-2500")), e.hasAttribute("data-sm-t-2600") && (p = this.getObjVal(e, "data-sm-t-2600")), e.hasAttribute("data-sm-t-2700") && (m = this.getObjVal(e, "data-sm-t-2700")), e.hasAttribute("data-sm-t-2800") && (y = this.getObjVal(e, "data-sm-t-2800"))), i <= 414 && Z && (e.hasAttribute("data-xs-t") && (P = this.getObjVal(e, "data-xs-t")), e.hasAttribute("data-xs-t-100") && (D = this.getObjVal(e, "data-xs-t-100")), e.hasAttribute("data-xs-t-200") && (rt = this.getObjVal(e, "data-xs-t-200")), e.hasAttribute("data-xs-t-300") && (_t = this.getObjVal(e, "data-xs-t-300")), e.hasAttribute("data-xs-t-400") && (ot = this.getObjVal(e, "data-xs-t-400")), e.hasAttribute("data-xs-t-500") && (Ot = this.getObjVal(e, "data-xs-t-500")), e.hasAttribute("data-xs-t-600") && (pt = this.getObjVal(e, "data-xs-t-600")), e.hasAttribute("data-xs-t-700") && (z = this.getObjVal(e, "data-xs-t-700")), e.hasAttribute("data-xs-t-800") && (lt = this.getObjVal(e, "data-xs-t-800")), e.hasAttribute("data-xs-t-900") && (et = this.getObjVal(e, "data-xs-t-900")), e.hasAttribute("data-xs-t-1000") && (it = this.getObjVal(e, "data-xs-t-1000")), e.hasAttribute("data-xs-t-1100") && (mt = this.getObjVal(e, "data-xs-t-1100")), e.hasAttribute("data-xs-t-1200") && (bt = this.getObjVal(e, "data-xs-t-1200")), e.hasAttribute("data-xs-t-1300") && (st = this.getObjVal(e, "data-xs-t-1300")), e.hasAttribute("data-xs-t-1400") && (yt = this.getObjVal(e, "data-xs-t-1400")), e.hasAttribute("data-xs-t-1500") && (q = this.getObjVal(e, "data-xs-t-1500")), e.hasAttribute("data-xs-t-1600") && (Et = this.getObjVal(e, "data-xs-t-1600")), e.hasAttribute("data-xs-t-1700") && (Vt = this.getObjVal(e, "data-xs-t-1700")), e.hasAttribute("data-xs-t-1800") && (dt = this.getObjVal(e, "data-xs-t-1800")), e.hasAttribute("data-xs-t-1900") && (Yt = this.getObjVal(e, "data-xs-t-1900")), e.hasAttribute("data-xs-t-2000") && (V = this.getObjVal(e, "data-xs-t-2000")), e.hasAttribute("data-xs-t-2100") && (Mt = this.getObjVal(e, "data-xs-t-2100")), e.hasAttribute("data-xs-t-2200") && (vt = this.getObjVal(e, "data-xs-t-2200")), e.hasAttribute("data-xs-t-2300") && (Pt = this.getObjVal(e, "data-xs-t-2300")), e.hasAttribute("data-xs-t-2400") && (qt = this.getObjVal(e, "data-xs-t-2400")), e.hasAttribute("data-xs-t-2500") && (Dt = this.getObjVal(e, "data-xs-t-2500")), e.hasAttribute("data-xs-t-2600") && (p = this.getObjVal(e, "data-xs-t-2600")), e.hasAttribute("data-xs-t-2700") && (m = this.getObjVal(e, "data-xs-t-2700")), e.hasAttribute("data-xs-t-2800") && (y = this.getObjVal(e, "data-xs-t-2800")));
600
+ let W = P, H = D, E = rt, $ = _t, M = ot, ht = Ot, F = pt, J = z, ct = lt, zt = et, St = it, Xt = mt, nt = bt, C = st, U = yt, ut = q, te = Et, ee = Vt, ie = dt, se = Yt, ne = V, ae = Mt, re = vt, oe = Pt, le = qt, de = Dt, he = p, ce = m, ue = y, Ft = window.innerHeight;
601
+ Ft < 730 ? (It = W, Q = H, P = E, D = $, rt = M, _t = ht, ot = F, Ot = J, pt = ct, z = zt, lt = St, et = Xt, it = nt, mt = C, bt = U, st = ut, yt = te, q = ee, Et = ie, Vt = se, dt = ne, Yt = ae, V = re, Mt = oe, vt = le, Pt = de, qt = he, Dt = ce, p = ue, m = {}, y = {}) : Ft >= 730 && Ft < 790 ? (Q = W, P = H, D = E, rt = $, _t = M, ot = ht, Ot = F, pt = J, z = ct, lt = zt, et = St, it = Xt, mt = nt, bt = C, st = U, yt = ut, q = te, Et = ee, Vt = ie, dt = se, Yt = ne, V = ae, Mt = re, vt = oe, Pt = le, qt = de, Dt = he, p = ce, m = ue, y = {}) : Ft >= 790 && Ft < 840 || (Ft >= 840 && Ft < 1125 ? (P = {}, D = W, rt = H, _t = E, ot = $, Ot = M, pt = ht, z = F, lt = J, et = ct, it = zt, mt = St, bt = Xt, st = nt, yt = C, q = U, Et = ut, Vt = te, dt = ee, Yt = ie, V = se, Mt = ne, vt = ae, Pt = re, qt = oe, Dt = le, p = de, m = he, y = ce, w = ue) : (P = {}, D = {}, rt = W, _t = H, ot = E, Ot = $, pt = M, z = ht, lt = F, et = J, it = ct, mt = zt, bt = St, st = Xt, yt = nt, q = C, Et = U, Vt = ut, dt = te, Yt = ee, V = ie, Mt = se, vt = ne, Pt = ae, qt = re, Dt = oe, p = le, m = de, y = he, w = ce, k = ue));
602
+ let g = {};
603
+ Object.keys(O).length !== 0 && (g = this.parseObj(O, "elInY", g)), Object.keys(j).length !== 0 && (g = this.parseObj(j, "elInY+50", g)), Object.keys(v).length !== 0 && (g = this.parseObj(v, "elInY+100", g)), Object.keys(u).length !== 0 && (g = this.parseObj(u, "elInY+150", g)), Object.keys(l).length !== 0 && (g = this.parseObj(l, "elInY+200", g)), Object.keys(kt).length !== 0 && (g = this.parseObj(kt, "elInY+250", g)), Object.keys(Lt).length !== 0 && (g = this.parseObj(Lt, "elInY+300", g)), Object.keys(Ct).length !== 0 && (g = this.parseObj(Ct, "elInY+350", g)), Object.keys(Bt).length !== 0 && (g = this.parseObj(Bt, "elInY+400", g)), Object.keys(ft).length !== 0 && (g = this.parseObj(ft, "elInY+450", g)), Object.keys(K).length !== 0 && (g = this.parseObj(K, "elInY+500", g)), Object.keys(T).length !== 0 && (g = this.parseObj(T, "elInY+550", g)), Object.keys(S).length !== 0 && (g = this.parseObj(S, "elInY+600", g)), Object.keys(_).length !== 0 && (g = this.parseObj(_, "elInY+650", g)), Object.keys(b).length !== 0 && (g = this.parseObj(b, "elCenterY-300", g)), Object.keys(f).length !== 0 && (g = this.parseObj(f, "elCenterY", g)), Object.keys(c).length !== 0 && (g = this.parseObj(c, "elCenterY+100", g)), Object.keys(d).length !== 0 && (g = this.parseObj(d, "elCenterY+200", g)), Object.keys(h).length !== 0 && (g = this.parseObj(h, "elCenterY+300", g)), Object.keys(n).length !== 0 && (g = this.parseObj(n, "elOutY-300", g)), Object.keys(r).length !== 0 && (g = this.parseObj(r, "elOutY", g)), Object.keys(I).length !== 0 && (g = this.parseObj(I, "elInY", g)), Object.keys(tt).length !== 0 && (g = this.parseObj(tt, "elInY+150", g)), Object.keys(At).length !== 0 && (g = this.parseObj(At, "elInY+300 ", g)), Object.keys(B).length !== 0 && (g = this.parseObj(B, "elCenterY-150", g)), Object.keys(gt).length !== 0 && (g = this.parseObj(gt, "elCenterY", g)), Object.keys(x).length !== 0 && (g = this.parseObj(x, "elCenterY+150", g)), Object.keys(A).length !== 0 && (g = this.parseObj(A, "elOutY-300 ", g)), Object.keys(X).length !== 0 && (g = this.parseObj(X, "elOutY-150 ", g)), Object.keys(L).length !== 0 && (g = this.parseObj(L, "elOutY", g)), Object.keys(It).length !== 0 && (g = this.parseObj(It, "elInY-200", g)), Object.keys(Q).length !== 0 && (g = this.parseObj(Q, "elInY-100", g)), Object.keys(P).length !== 0 && (g = this.parseObj(P, "elInY", g)), Object.keys(D).length !== 0 && (g = this.parseObj(D, "elInY+100", g)), Object.keys(rt).length !== 0 && (g = this.parseObj(rt, "elInY+200", g)), Object.keys(_t).length !== 0 && (g = this.parseObj(_t, "elInY+300 ", g)), Object.keys(ot).length !== 0 && (g = this.parseObj(ot, "elInY+400 ", g)), Object.keys(Ot).length !== 0 && (g = this.parseObj(Ot, "elInY+500 ", g)), Object.keys(pt).length !== 0 && (g = this.parseObj(pt, "elInY+600 ", g)), Object.keys(z).length !== 0 && (g = this.parseObj(z, "elInY+700 ", g)), Object.keys(lt).length !== 0 && (g = this.parseObj(lt, "elInY+800 ", g)), Object.keys(et).length !== 0 && (g = this.parseObj(et, "elInY+900 ", g)), Object.keys(it).length !== 0 && (g = this.parseObj(it, "elInY+1000 ", g)), Object.keys(mt).length !== 0 && (g = this.parseObj(mt, "elInY+1100 ", g)), Object.keys(bt).length !== 0 && (g = this.parseObj(bt, "elInY+1200 ", g)), Object.keys(st).length !== 0 && (g = this.parseObj(st, "elInY+1300 ", g)), Object.keys(yt).length !== 0 && (g = this.parseObj(yt, "elInY+1400 ", g)), Object.keys(q).length !== 0 && (g = this.parseObj(q, "elInY+1500 ", g)), Object.keys(Et).length !== 0 && (g = this.parseObj(Et, "elInY+1600 ", g)), Object.keys(Vt).length !== 0 && (g = this.parseObj(Vt, "elInY+1700 ", g)), Object.keys(dt).length !== 0 && (g = this.parseObj(dt, "elInY+1800 ", g)), Object.keys(Yt).length !== 0 && (g = this.parseObj(Yt, "elInY+1900 ", g)), Object.keys(V).length !== 0 && (g = this.parseObj(V, "elInY+2000 ", g)), Object.keys(Mt).length !== 0 && (g = this.parseObj(Mt, "elInY+2100 ", g)), Object.keys(vt).length !== 0 && (g = this.parseObj(vt, "elInY+2200 ", g)), Object.keys(Pt).length !== 0 && (g = this.parseObj(Pt, "elInY+2300 ", g)), Object.keys(qt).length !== 0 && (g = this.parseObj(qt, "elInY+2400 ", g)), Object.keys(Dt).length !== 0 && (g = this.parseObj(Dt, "elInY+2500 ", g)), Object.keys(p).length !== 0 && (g = this.parseObj(p, "elInY+2600 ", g)), Object.keys(m).length !== 0 && (g = this.parseObj(m, "elInY+2700 ", g)), Object.keys(y).length !== 0 && (g = this.parseObj(y, "elInY+2800 ", g)), Object.keys(w).length !== 0 && (g = this.parseObj(w, "elInY+2900 ", g)), Object.keys(k).length !== 0 && (g = this.parseObj(k, "elInY+3000 ", g)), e.style.transition = "", e.setAttribute("data-dummy-selector", "1"), Zt.addElements("[data-dummy-selector]", {
604
+ scrollY: g
605
605
  }), this.elements.push(document.querySelector("[data-dummy-selector]")), e.removeAttribute("data-dummy-selector"), setTimeout(() => {
606
606
  e.style.opacity = 1, e.getAttribute("data-smooth-scrolling") === "off" || this.settings.transition && (e.style.transition = this.settings.transition);
607
607
  }, 100);
@@ -1148,7 +1148,7 @@ function $t() {
1148
1148
  }
1149
1149
  return o;
1150
1150
  }
1151
- function nt(o, t) {
1151
+ function at(o, t) {
1152
1152
  if ((Rt(o) || o === window || o === document) && (o = [o]), !Ne(o) && !Kt(o) && (o = [o]), Ze(o) != 0) {
1153
1153
  if (Ne(o) && !Kt(o)) {
1154
1154
  let i = o.length, s = 0;
@@ -1163,37 +1163,37 @@ function nt(o, t) {
1163
1163
  }
1164
1164
  function qe(o, t = null, i = null) {
1165
1165
  const s = o[Pe] = o[Pe] || [], e = { all: s, evt: null, found: null };
1166
- return t && i && Ze(s) > 0 && nt(s, (a, r) => {
1166
+ return t && i && Ze(s) > 0 && at(s, (a, r) => {
1167
1167
  if (a.eventName == t && a.fn.toString() == i.toString())
1168
1168
  return e.found = !0, e.evt = r, !1;
1169
1169
  }), e;
1170
1170
  }
1171
- function Bt(o, { onElement: t, withCallback: i, avoidDuplicate: s = !0, once: e = !1, useCapture: a = !1 } = {}, r) {
1171
+ function Ht(o, { onElement: t, withCallback: i, avoidDuplicate: s = !0, once: e = !1, useCapture: a = !1 } = {}, r) {
1172
1172
  let n = t || [];
1173
1173
  Jt(n) && (n = document.querySelectorAll(n));
1174
1174
  function h(d) {
1175
1175
  N(i) && i.call(r, d, this), e && h.destroy();
1176
1176
  }
1177
1177
  return h.destroy = function() {
1178
- nt(n, (d) => {
1179
- const u = qe(d, o, h);
1180
- u.found && u.all.splice(u.evt, 1), d.removeEventListener && d.removeEventListener(o, h, a);
1178
+ at(n, (d) => {
1179
+ const c = qe(d, o, h);
1180
+ c.found && c.all.splice(c.evt, 1), d.removeEventListener && d.removeEventListener(o, h, a);
1181
1181
  });
1182
- }, nt(n, (d) => {
1183
- const u = qe(d, o, h);
1184
- (d.addEventListener && s && !u.found || !s) && (d.addEventListener(o, h, a), u.all.push({ eventName: o, fn: h }));
1182
+ }, at(n, (d) => {
1183
+ const c = qe(d, o, h);
1184
+ (d.addEventListener && s && !c.found || !s) && (d.addEventListener(o, h, a), c.all.push({ eventName: o, fn: h }));
1185
1185
  }), h;
1186
1186
  }
1187
1187
  function Y(o, t) {
1188
- nt(t.split(" "), (i) => o.classList.add(i));
1188
+ at(t.split(" "), (i) => o.classList.add(i));
1189
1189
  }
1190
1190
  function wt(o, t) {
1191
- nt(t.split(" "), (i) => o.classList.remove(i));
1191
+ at(t.split(" "), (i) => o.classList.remove(i));
1192
1192
  }
1193
1193
  function jt(o, t) {
1194
1194
  return o.classList.contains(t);
1195
1195
  }
1196
- function Ht(o, t) {
1196
+ function Wt(o, t) {
1197
1197
  for (; o !== document.body; ) {
1198
1198
  if (o = o.parentElement, !o)
1199
1199
  return !1;
@@ -1207,14 +1207,14 @@ function Qt(o, t = "", i = !1) {
1207
1207
  if (t === "none")
1208
1208
  return N(i) && i(), !1;
1209
1209
  const s = hi(), e = t.split(" ");
1210
- nt(e, (a) => {
1210
+ at(e, (a) => {
1211
1211
  Y(o, "g" + a);
1212
- }), Bt(s, {
1212
+ }), Ht(s, {
1213
1213
  onElement: o,
1214
1214
  avoidDuplicate: !1,
1215
1215
  once: !0,
1216
1216
  withCallback: (a, r) => {
1217
- nt(e, (n) => {
1217
+ at(e, (n) => {
1218
1218
  wt(r, "g" + n);
1219
1219
  }), N(i) && i();
1220
1220
  }
@@ -1380,7 +1380,7 @@ function Xe(o = -1) {
1380
1380
  return t[0];
1381
1381
  typeof o == "string" && (o = parseInt(o));
1382
1382
  const i = [];
1383
- nt(t, (n) => {
1383
+ at(t, (n) => {
1384
1384
  i.push(n.getAttribute("data-taborder"));
1385
1385
  });
1386
1386
  const s = Math.max.apply(Math, i.map((n) => parseInt(n)));
@@ -1392,7 +1392,7 @@ function Xe(o = -1) {
1392
1392
  function gi(o) {
1393
1393
  if (o.events.hasOwnProperty("keyboard"))
1394
1394
  return !1;
1395
- o.events.keyboard = Bt("keydown", {
1395
+ o.events.keyboard = Ht("keydown", {
1396
1396
  onElement: window,
1397
1397
  withCallback: (t, i) => {
1398
1398
  t = t || window.event;
@@ -1501,8 +1501,8 @@ class wi {
1501
1501
  } else {
1502
1502
  if (this.x2 !== null) {
1503
1503
  t.deltaX = e - this.x2, t.deltaY = a - this.y2;
1504
- var d = Math.abs(this.x1 - this.x2), u = Math.abs(this.y1 - this.y2);
1505
- (d > 10 || u > 10) && (this._preventTap = !0);
1504
+ var d = Math.abs(this.x1 - this.x2), c = Math.abs(this.y1 - this.y2);
1505
+ (d > 10 || c > 10) && (this._preventTap = !0);
1506
1506
  } else
1507
1507
  t.deltaX = 0, t.deltaY = 0;
1508
1508
  this.pressMove.dispatch(t, this.element);
@@ -1550,8 +1550,8 @@ class wi {
1550
1550
  }
1551
1551
  function _e(o) {
1552
1552
  const t = ci(), i = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
1553
- let s = jt(o, "gslide-media") ? o : o.querySelector(".gslide-media"), e = Ht(s, ".ginner-container"), a = o.querySelector(".gslide-description");
1554
- i > 769 && (s = e), Y(s, "greset"), ye(s, "translate3d(0, 0, 0)"), Bt(t, {
1553
+ let s = jt(o, "gslide-media") ? o : o.querySelector(".gslide-media"), e = Wt(s, ".ginner-container"), a = o.querySelector(".gslide-description");
1554
+ i > 769 && (s = e), Y(s, "greset"), ye(s, "translate3d(0, 0, 0)"), Ht(t, {
1555
1555
  onElement: s,
1556
1556
  once: !0,
1557
1557
  withCallback: (r, n) => {
@@ -1562,36 +1562,36 @@ function _e(o) {
1562
1562
  function xi(o) {
1563
1563
  if (o.events.hasOwnProperty("touch"))
1564
1564
  return !1;
1565
- let t = Fe(), i = t.width, s = t.height, e = !1, a = null, r = null, n = null, h = !1, d = 1, u = 4.5, g = 1, b = !1, S = !1, L = null, k = null, at = null, ft = null, Wt, Ct, Lt = 0, kt = 0, l = !1, c = !1, v = {}, E = {}, O = 0, I = 0, J;
1566
- const At = document.getElementById("glightbox-slider"), W = document.querySelector(".goverlay"), gt = new wi(At, {
1565
+ let t = Fe(), i = t.width, s = t.height, e = !1, a = null, r = null, n = null, h = !1, d = 1, c = 4.5, f = 1, b = !1, _ = !1, S = null, T = null, K = null, ft = null, Bt, Ct, Lt = 0, kt = 0, l = !1, u = !1, v = {}, j = {}, O = 0, I = 0, tt;
1566
+ const At = document.getElementById("glightbox-slider"), B = document.querySelector(".goverlay"), gt = new wi(At, {
1567
1567
  touchStart: (x) => {
1568
- if (e = !0, (jt(x.targetTouches[0].target, "ginner-container") || Ht(x.targetTouches[0].target, ".gslide-desc") || x.targetTouches[0].target.nodeName.toLowerCase() == "a") && (e = !1), Ht(x.targetTouches[0].target, ".gslide-inline") && !jt(x.targetTouches[0].target.parentNode, "gslide-inline") && (e = !1), e) {
1569
- if (E = x.targetTouches[0], v.pageX = x.targetTouches[0].pageX, v.pageY = x.targetTouches[0].pageY, O = x.targetTouches[0].clientX, I = x.targetTouches[0].clientY, a = o.activeSlide, r = a.querySelector(".gslide-media"), J = a.querySelector(".gslide-inline"), n = null, jt(r, "gslide-image") && (n = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = a.querySelector(".ginner-container")), wt(W, "greset"), x.pageX > 20 && x.pageX < window.innerWidth - 20)
1568
+ if (e = !0, (jt(x.targetTouches[0].target, "ginner-container") || Wt(x.targetTouches[0].target, ".gslide-desc") || x.targetTouches[0].target.nodeName.toLowerCase() == "a") && (e = !1), Wt(x.targetTouches[0].target, ".gslide-inline") && !jt(x.targetTouches[0].target.parentNode, "gslide-inline") && (e = !1), e) {
1569
+ if (j = x.targetTouches[0], v.pageX = x.targetTouches[0].pageX, v.pageY = x.targetTouches[0].pageY, O = x.targetTouches[0].clientX, I = x.targetTouches[0].clientY, a = o.activeSlide, r = a.querySelector(".gslide-media"), tt = a.querySelector(".gslide-inline"), n = null, jt(r, "gslide-image") && (n = r.querySelector("img")), (window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth) > 769 && (r = a.querySelector(".ginner-container")), wt(B, "greset"), x.pageX > 20 && x.pageX < window.innerWidth - 20)
1570
1570
  return;
1571
1571
  x.preventDefault();
1572
1572
  }
1573
1573
  },
1574
1574
  touchMove: (x) => {
1575
- if (!e || (E = x.targetTouches[0], b || S))
1575
+ if (!e || (j = x.targetTouches[0], b || _))
1576
1576
  return;
1577
- if (J && J.offsetHeight > s) {
1578
- const R = v.pageX - E.pageX;
1577
+ if (tt && tt.offsetHeight > s) {
1578
+ const R = v.pageX - j.pageX;
1579
1579
  if (Math.abs(R) <= 13)
1580
1580
  return !1;
1581
1581
  }
1582
1582
  h = !0;
1583
- let A = x.targetTouches[0].clientX, X = x.targetTouches[0].clientY, j = O - A, Z = I - X;
1584
- Math.abs(j) > Math.abs(Z) ? (l = !1, c = !0) : (c = !1, l = !0), Wt = E.pageX - v.pageX, Lt = Wt * 100 / i, Ct = E.pageY - v.pageY, kt = Ct * 100 / s;
1583
+ let A = x.targetTouches[0].clientX, X = x.targetTouches[0].clientY, L = O - A, Z = I - X;
1584
+ Math.abs(L) > Math.abs(Z) ? (l = !1, u = !0) : (u = !1, l = !0), Bt = j.pageX - v.pageX, Lt = Bt * 100 / i, Ct = j.pageY - v.pageY, kt = Ct * 100 / s;
1585
1585
  let G;
1586
- if (l && n && (G = 1 - Math.abs(Ct) / s, W.style.opacity = G, o.settings.touchFollowAxis && (Lt = 0)), c && (G = 1 - Math.abs(Wt) / i, r.style.opacity = G, o.settings.touchFollowAxis && (kt = 0)), !n)
1586
+ if (l && n && (G = 1 - Math.abs(Ct) / s, B.style.opacity = G, o.settings.touchFollowAxis && (Lt = 0)), u && (G = 1 - Math.abs(Bt) / i, r.style.opacity = G, o.settings.touchFollowAxis && (kt = 0)), !n)
1587
1587
  return ye(r, `translate3d(${Lt}%, 0, 0)`);
1588
1588
  ye(r, `translate3d(${Lt}%, ${kt}%, 0)`);
1589
1589
  },
1590
1590
  touchEnd: () => {
1591
1591
  if (!e)
1592
1592
  return;
1593
- if (h = !1, S || b) {
1594
- at = L, ft = k;
1593
+ if (h = !1, _ || b) {
1594
+ K = S, ft = T;
1595
1595
  return;
1596
1596
  }
1597
1597
  const x = Math.abs(parseInt(kt)), A = Math.abs(parseInt(Lt));
@@ -1600,7 +1600,7 @@ function xi(o) {
1600
1600
  return;
1601
1601
  }
1602
1602
  if (x < 29 && A < 25)
1603
- return Y(W, "greset"), W.style.opacity = 1, _e(r);
1603
+ return Y(B, "greset"), B.style.opacity = 1, _e(r);
1604
1604
  },
1605
1605
  multipointEnd: () => {
1606
1606
  setTimeout(() => {
@@ -1608,29 +1608,29 @@ function xi(o) {
1608
1608
  }, 50);
1609
1609
  },
1610
1610
  multipointStart: () => {
1611
- b = !0, d = g || 1;
1611
+ b = !0, d = f || 1;
1612
1612
  },
1613
1613
  pinch: (x) => {
1614
1614
  if (!n || h)
1615
1615
  return !1;
1616
1616
  b = !0, n.scaleX = n.scaleY = d * x.zoom;
1617
1617
  let A = d * x.zoom;
1618
- if (S = !0, A <= 1) {
1619
- S = !1, A = 1, ft = null, at = null, L = null, k = null, n.setAttribute("style", "");
1618
+ if (_ = !0, A <= 1) {
1619
+ _ = !1, A = 1, ft = null, K = null, S = null, T = null, n.setAttribute("style", "");
1620
1620
  return;
1621
1621
  }
1622
- A > u && (A = u), n.style.transform = `scale3d(${A}, ${A}, 1)`, g = A;
1622
+ A > c && (A = c), n.style.transform = `scale3d(${A}, ${A}, 1)`, f = A;
1623
1623
  },
1624
1624
  pressMove: (x) => {
1625
- if (S && !b) {
1626
- var A = E.pageX - v.pageX, X = E.pageY - v.pageY;
1627
- at && (A = A + at), ft && (X = X + ft), L = A, k = X;
1628
- let j = `translate3d(${A}px, ${X}px, 0)`;
1629
- g && (j += ` scale3d(${g}, ${g}, 1)`), ye(n, j);
1625
+ if (_ && !b) {
1626
+ var A = j.pageX - v.pageX, X = j.pageY - v.pageY;
1627
+ K && (A = A + K), ft && (X = X + ft), S = A, T = X;
1628
+ let L = `translate3d(${A}px, ${X}px, 0)`;
1629
+ f && (L += ` scale3d(${f}, ${f}, 1)`), ye(n, L);
1630
1630
  }
1631
1631
  },
1632
1632
  swipe: (x) => {
1633
- if (!S) {
1633
+ if (!_) {
1634
1634
  if (b) {
1635
1635
  b = !1;
1636
1636
  return;
@@ -1708,7 +1708,7 @@ class Oi {
1708
1708
  return window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;
1709
1709
  }
1710
1710
  }
1711
- class Be {
1711
+ class He {
1712
1712
  constructor(t = {}) {
1713
1713
  let { dragEl: i, toleranceX: s = 40, toleranceY: e = 65, slide: a = null, instance: r = null } = t;
1714
1714
  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 = e, this.toleranceReached = !1, this.dragContainer = this.el, this.slide = a, this.instance = r, this.el.addEventListener("mousedown", (n) => this.dragStart(n), !1), this.el.addEventListener("mouseup", (n) => this.dragEnd(n), !1), this.el.addEventListener("mousemove", (n) => this.drag(n), !1);
@@ -1720,11 +1720,11 @@ class Be {
1720
1720
  }
1721
1721
  t.type === "touchstart" ? (this.initialX = t.touches[0].clientX - this.xOffset, this.initialY = t.touches[0].clientY - this.yOffset) : (this.initialX = t.clientX - this.xOffset, this.initialY = t.clientY - this.yOffset);
1722
1722
  let i = t.target.nodeName.toLowerCase(), s = ["input", "select", "textarea", "button", "a"];
1723
- if (t.target.classList.contains("nodrag") || Ht(t.target, ".nodrag") || s.indexOf(i) !== -1) {
1723
+ if (t.target.classList.contains("nodrag") || Wt(t.target, ".nodrag") || s.indexOf(i) !== -1) {
1724
1724
  this.active = !1;
1725
1725
  return;
1726
1726
  }
1727
- t.preventDefault(), (t.target === this.el || i !== "img" && Ht(t.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = Ht(t.target, ".ginner-container"));
1727
+ t.preventDefault(), (t.target === this.el || i !== "img" && Wt(t.target, ".gslide-inline")) && (this.active = !0, this.el.classList.add("dragging"), this.dragContainer = Wt(t.target, ".ginner-container"));
1728
1728
  }
1729
1729
  dragEnd(t) {
1730
1730
  t && t.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(() => {
@@ -1779,28 +1779,28 @@ function Si(o, t, i, s) {
1779
1779
  Y(e, "gvideo-container"), r.insertBefore(Ut('<div class="gvideo-wrapper"></div>'), r.firstChild);
1780
1780
  const h = o.querySelector(".gvideo-wrapper");
1781
1781
  ze(this.settings.plyr.css, "Plyr");
1782
- let d = t.href, u = t?.videoProvider, g = !1;
1782
+ let d = t.href, c = t?.videoProvider, f = !1;
1783
1783
  r.style.maxWidth = t.width, ze(this.settings.plyr.js, "Plyr", () => {
1784
- if (!u && d.match(/vimeo\.com\/([0-9]*)/) && (u = "vimeo"), !u && (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\-_]+)/)) && (u = "youtube"), u === "local" || !u) {
1785
- u = "local";
1786
- let k = '<video id="' + a + '" ';
1787
- k += `style="background:#000; max-width: ${t.width};" `, k += 'preload="metadata" ', k += 'x-webkit-airplay="allow" ', k += "playsinline ", k += "controls ", k += 'class="gvideo-local">', k += `<source src="${d}">`, k += "</video>", g = Ut(k);
1788
- }
1789
- const b = g || Ut(`<div id="${a}" data-plyr-provider="${u}" data-plyr-embed-id="${d}"></div>`);
1790
- Y(h, `${u}-video gvideo`), h.appendChild(b), h.setAttribute("data-id", a), h.setAttribute("data-index", i);
1791
- const S = xt(this.settings.plyr, "config") ? this.settings.plyr.config : {}, L = new Plyr("#" + a, S);
1792
- L.on("ready", (k) => {
1793
- n[a] = k.detail.plyr, N(s) && s();
1784
+ if (!c && d.match(/vimeo\.com\/([0-9]*)/) && (c = "vimeo"), !c && (d.match(/(youtube\.com|youtube-nocookie\.com)\/watch\?v=([a-zA-Z0-9\-_]+)/) || d.match(/youtu\.be\/([a-zA-Z0-9\-_]+)/) || d.match(/(youtube\.com|youtube-nocookie\.com)\/embed\/([a-zA-Z0-9\-_]+)/)) && (c = "youtube"), c === "local" || !c) {
1785
+ c = "local";
1786
+ let T = '<video id="' + a + '" ';
1787
+ T += `style="background:#000; max-width: ${t.width};" `, T += 'preload="metadata" ', T += 'x-webkit-airplay="allow" ', T += "playsinline ", T += "controls ", T += 'class="gvideo-local">', T += `<source src="${d}">`, T += "</video>", f = Ut(T);
1788
+ }
1789
+ const b = f || Ut(`<div id="${a}" data-plyr-provider="${c}" data-plyr-embed-id="${d}"></div>`);
1790
+ Y(h, `${c}-video gvideo`), h.appendChild(b), h.setAttribute("data-id", a), h.setAttribute("data-index", i);
1791
+ const _ = xt(this.settings.plyr, "config") ? this.settings.plyr.config : {}, S = new Plyr("#" + a, _);
1792
+ S.on("ready", (T) => {
1793
+ n[a] = T.detail.plyr, N(s) && s();
1794
1794
  }), Ee(
1795
1795
  () => o.querySelector("iframe") && o.querySelector("iframe").dataset.ready == "true",
1796
1796
  () => {
1797
1797
  this.resize(o);
1798
1798
  }
1799
- ), L.on("enterfullscreen", We), L.on("exitfullscreen", We);
1799
+ ), S.on("enterfullscreen", Be), S.on("exitfullscreen", Be);
1800
1800
  });
1801
1801
  }
1802
- function We(o) {
1803
- const t = Ht(o.target, ".gslide-media");
1802
+ function Be(o) {
1803
+ const t = Wt(o.target, ".gslide-media");
1804
1804
  o.type === "enterfullscreen" && Y(t, "fullscreen"), o.type === "exitfullscreen" && wt(t, "fullscreen");
1805
1805
  }
1806
1806
  function _i(o, t, i, s) {
@@ -1820,7 +1820,7 @@ function _i(o, t, i, s) {
1820
1820
  }
1821
1821
  if (!n)
1822
1822
  return console.error("Unable to append inline slide content", t), !1;
1823
- e.style.height = t.height, e.style.width = t.width, e.appendChild(n), this.events["inlineclose" + a] = Bt("click", {
1823
+ e.style.height = t.height, e.style.width = t.width, e.appendChild(n), this.events["inlineclose" + a] = Ht("click", {
1824
1824
  onElement: e.querySelectorAll(".gtrigger-close"),
1825
1825
  withCallback: (h) => {
1826
1826
  h.preventDefault(), this.close();
@@ -1872,7 +1872,7 @@ class Ti {
1872
1872
  return this.setSize(n, i), n;
1873
1873
  }
1874
1874
  let e = "", a = t.getAttribute("data-glightbox"), r = t.nodeName.toLowerCase();
1875
- if (r === "a" && (e = t.href), r === "img" && (e = t.src, s.alt = t.alt), s.href = e, nt(s, (n, h) => {
1875
+ if (r === "a" && (e = t.href), r === "img" && (e = t.src, s.alt = t.alt), s.href = e, at(s, (n, h) => {
1876
1876
  xt(i, h) && h !== "width" && (s[h] = i[h]);
1877
1877
  const d = t.dataset[h];
1878
1878
  Nt(d) || (s[h] = this.sanitizeValue(d));
@@ -1887,13 +1887,13 @@ class Ti {
1887
1887
  }
1888
1888
  } else {
1889
1889
  let n = [];
1890
- nt(s, (h, d) => {
1890
+ at(s, (h, d) => {
1891
1891
  n.push(";\\s?" + d);
1892
- }), n = n.join("\\s?:|"), a.trim() !== "" && nt(s, (h, d) => {
1893
- const u = a, g = "s?" + d + "s?:s?(.*?)(" + n + "s?:|$)", b = new RegExp(g), S = u.match(b);
1894
- if (S && S.length && S[1]) {
1895
- const L = S[1].trim().replace(/;\s*$/, "");
1896
- s[d] = this.sanitizeValue(L);
1892
+ }), n = n.join("\\s?:|"), a.trim() !== "" && at(s, (h, d) => {
1893
+ const c = a, f = "s?" + d + "s?:s?(.*?)(" + n + "s?:|$)", b = new RegExp(f), _ = c.match(b);
1894
+ if (_ && _.length && _[1]) {
1895
+ const S = _[1].trim().replace(/;\s*$/, "");
1896
+ s[d] = this.sanitizeValue(S);
1897
1897
  }
1898
1898
  });
1899
1899
  }
@@ -1966,14 +1966,14 @@ class pe {
1966
1966
  slide: t,
1967
1967
  player: !1
1968
1968
  });
1969
- let r = e.type, n = e.descPosition, h = t.querySelector(".gslide-media"), d = t.querySelector(".gslide-title"), u = t.querySelector(".gslide-desc"), g = t.querySelector(".gdesc-inner"), b = i, S = "gSlideTitle_" + this.index, L = "gSlideDesc_" + this.index;
1969
+ let r = e.type, n = e.descPosition, h = t.querySelector(".gslide-media"), d = t.querySelector(".gslide-title"), c = t.querySelector(".gslide-desc"), f = t.querySelector(".gdesc-inner"), b = i, _ = "gSlideTitle_" + this.index, S = "gSlideDesc_" + this.index;
1970
1970
  if (N(s.afterSlideLoad) && (b = () => {
1971
1971
  N(i) && i(), s.afterSlideLoad({
1972
1972
  index: this.index,
1973
1973
  slide: t,
1974
1974
  player: this.instance.getSlidePlayerInstance(this.index)
1975
1975
  });
1976
- }), e.title == "" && e.description == "" ? g && g.parentNode.parentNode.removeChild(g.parentNode) : (d && e.title !== "" ? (d.id = S, d.innerHTML = e.title) : d.parentNode.removeChild(d), u && e.description !== "" ? (u.id = L, a && s.moreLength > 0 ? (e.smallDescription = this.slideShortDesc(e.description, s.moreLength, s.moreText), u.innerHTML = e.smallDescription, this.descriptionEvents(u, e)) : u.innerHTML = e.description) : u.parentNode.removeChild(u), Y(h.parentNode, `desc-${n}`), Y(g.parentNode, `description-${n}`)), Y(h, `gslide-${r}`), Y(t, "loaded"), r === "video") {
1976
+ }), e.title == "" && e.description == "" ? f && f.parentNode.parentNode.removeChild(f.parentNode) : (d && e.title !== "" ? (d.id = _, d.innerHTML = e.title) : d.parentNode.removeChild(d), c && e.description !== "" ? (c.id = S, a && s.moreLength > 0 ? (e.smallDescription = this.slideShortDesc(e.description, s.moreLength, s.moreText), c.innerHTML = e.smallDescription, this.descriptionEvents(c, e)) : c.innerHTML = e.description) : c.parentNode.removeChild(c), Y(h.parentNode, `desc-${n}`), Y(f.parentNode, `description-${n}`)), Y(h, `gslide-${r}`), Y(t, "loaded"), r === "video") {
1977
1977
  Si.apply(this.instance, [t, e, this.index, b]);
1978
1978
  return;
1979
1979
  }
@@ -1982,7 +1982,7 @@ class pe {
1982
1982
  return;
1983
1983
  }
1984
1984
  if (r === "inline") {
1985
- _i.apply(this.instance, [t, e, this.index, b]), e.draggable && new Be({
1985
+ _i.apply(this.instance, [t, e, this.index, b]), e.draggable && new He({
1986
1986
  dragEl: t.querySelector(".gslide-inline"),
1987
1987
  toleranceX: s.dragToleranceX,
1988
1988
  toleranceY: s.dragToleranceY,
@@ -1993,14 +1993,14 @@ class pe {
1993
1993
  }
1994
1994
  if (r === "image") {
1995
1995
  Ai(t, e, this.index, () => {
1996
- const k = t.querySelector("img");
1997
- e.draggable && new Be({
1998
- dragEl: k,
1996
+ const T = t.querySelector("img");
1997
+ e.draggable && new He({
1998
+ dragEl: T,
1999
1999
  toleranceX: s.dragToleranceX,
2000
2000
  toleranceY: s.dragToleranceY,
2001
2001
  slide: t,
2002
2002
  instance: this.instance
2003
- }), e.zoomable && k.naturalWidth > k.offsetWidth && (Y(k, "zoomable"), new Oi(k, t, () => {
2003
+ }), e.zoomable && T.naturalWidth > T.offsetWidth && (Y(T, "zoomable"), new Oi(T, t, () => {
2004
2004
  this.instance.resize();
2005
2005
  })), N(b) && b();
2006
2006
  });
@@ -2021,18 +2021,18 @@ class pe {
2021
2021
  let s = t.querySelector(".desc-more");
2022
2022
  if (!s)
2023
2023
  return !1;
2024
- Bt("click", {
2024
+ Ht("click", {
2025
2025
  onElement: s,
2026
2026
  withCallback: (e, a) => {
2027
2027
  e.preventDefault();
2028
2028
  const r = document.body;
2029
- let n = Ht(a, ".gslide-desc");
2029
+ let n = Wt(a, ".gslide-desc");
2030
2030
  if (!n)
2031
2031
  return !1;
2032
2032
  n.innerHTML = i.description, Y(r, "gdesc-open");
2033
- let h = Bt("click", {
2034
- onElement: [r, Ht(n, ".gslide-description")],
2035
- withCallback: (d, u) => {
2033
+ let h = Ht("click", {
2034
+ onElement: [r, Wt(n, ".gslide-description")],
2035
+ withCallback: (d, c) => {
2036
2036
  d.target.nodeName.toLowerCase() !== "a" && (wt(r, "gdesc-open"), Y(r, "gdesc-closed"), n.innerHTML = i.smallDescription, this.descriptionEvents(n, i), setTimeout(() => {
2037
2037
  wt(r, "gdesc-closed");
2038
2038
  }, 400), h.destroy());
@@ -2064,7 +2064,7 @@ class pe {
2064
2064
  return this.slideConfig = t.parseConfig(this.element, this.instance.settings), this.slideConfig;
2065
2065
  }
2066
2066
  }
2067
- const ji = "3.2.0", He = Le(), $e = fi();
2067
+ const ji = "3.2.0", We = Le(), $e = fi();
2068
2068
  let Te;
2069
2069
  typeof document > "u" || (Te = document.getElementsByTagName("html")[0]);
2070
2070
  const ke = {
@@ -2175,7 +2175,7 @@ class Re {
2175
2175
  }
2176
2176
  init() {
2177
2177
  const t = this.getSelector();
2178
- t && (this.baseEvents = Bt("click", {
2178
+ t && (this.baseEvents = Ht("click", {
2179
2179
  onElement: t,
2180
2180
  withCallback: (i, s) => {
2181
2181
  i.preventDefault(), this.open(s);
@@ -2197,7 +2197,7 @@ class Re {
2197
2197
  var r = document.createElement("style");
2198
2198
  r.type = "text/css", r.className = "gcss-styles", r.innerText = `.gscrollbar-fixer {margin-right: ${a}px}`, document.head.appendChild(r), Y(e, "gscrollbar-fixer");
2199
2199
  }
2200
- Y(e, "glightbox-open"), Y(Te, "glightbox-open"), He && (Y(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (Y(this.prevButton, "glightbox-button-hidden"), Y(this.nextButton, "glightbox-button-hidden")) : (wt(this.prevButton, "glightbox-button-hidden"), wt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), N(this.settings.onOpen) && this.settings.onOpen(), $e && this.settings.touchNavigation && xi(this), this.settings.keyboardNavigation && gi(this);
2200
+ Y(e, "glightbox-open"), Y(Te, "glightbox-open"), We && (Y(document.body, "glightbox-mobile"), this.settings.slideEffect = "slide"), this.showSlide(s, !0), this.elements.length === 1 ? (Y(this.prevButton, "glightbox-button-hidden"), Y(this.nextButton, "glightbox-button-hidden")) : (wt(this.prevButton, "glightbox-button-hidden"), wt(this.nextButton, "glightbox-button-hidden")), this.lightboxOpen = !0, this.trigger("open"), N(this.settings.onOpen) && this.settings.onOpen(), $e && this.settings.touchNavigation && xi(this), this.settings.keyboardNavigation && gi(this);
2201
2201
  }
2202
2202
  /**
2203
2203
  * Open at specific index
@@ -2302,8 +2302,8 @@ class Re {
2302
2302
  if (i > n)
2303
2303
  this.slidesContainer.appendChild(r);
2304
2304
  else {
2305
- let u = this.slidesContainer.querySelectorAll(".gslide")[i];
2306
- this.slidesContainer.insertBefore(r, u);
2305
+ let c = this.slidesContainer.querySelectorAll(".gslide")[i];
2306
+ this.slidesContainer.insertBefore(r, c);
2307
2307
  }
2308
2308
  (this.settings.preload && this.index == 0 && i == 0 || this.index - 1 == i || this.index + 1 == i) && this.preloadSlide(i), this.index === 0 && i === 0 && (this.index = 1), this.updateNavigationClasses(), h = this.slidesContainer.querySelectorAll(".gslide")[i], d = this.getSlidePlayerInstance(i), a.slideNode = h;
2309
2309
  }
@@ -2494,7 +2494,7 @@ class Re {
2494
2494
  * @return void
2495
2495
  */
2496
2496
  slidePlayerPlay(t) {
2497
- if (He && !this.settings.plyr.config?.muted)
2497
+ if (We && !this.settings.plyr.config?.muted)
2498
2498
  return;
2499
2499
  if (Rt(t)) {
2500
2500
  let s = t.querySelector(".gvideo-wrapper");
@@ -2514,10 +2514,10 @@ class Re {
2514
2514
  setElements(t) {
2515
2515
  this.settings.elements = !1;
2516
2516
  const i = [];
2517
- t && t.length && nt(t, (s, e) => {
2517
+ t && t.length && at(t, (s, e) => {
2518
2518
  const a = new pe(s, this, e), r = a.getConfig(), n = $t({}, r);
2519
2519
  n.slideConfig = r, n.instance = a, n.index = e, i.push(n);
2520
- }), this.elements = i, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (nt(this.elements, () => {
2520
+ }), this.elements = i, this.lightboxOpen && (this.slidesContainer.innerHTML = "", this.elements.length && (at(this.elements, () => {
2521
2521
  let s = Ut(this.settings.slideHTML);
2522
2522
  this.slidesContainer.appendChild(s);
2523
2523
  }), this.showSlide(0, !0)));
@@ -2536,7 +2536,7 @@ class Re {
2536
2536
  */
2537
2537
  getElementIndex(t) {
2538
2538
  let i = !1;
2539
- return nt(this.elements, (s, e) => {
2539
+ return at(this.elements, (s, e) => {
2540
2540
  if (xt(s, "node") && s.node == t)
2541
2541
  return i = e, !0;
2542
2542
  }), i;
@@ -2551,12 +2551,12 @@ class Re {
2551
2551
  */
2552
2552
  getElements() {
2553
2553
  let t = [];
2554
- this.elements = this.elements ? this.elements : [], !Nt(this.settings.elements) && Ue(this.settings.elements) && this.settings.elements.length && nt(this.settings.elements, (e, a) => {
2554
+ this.elements = this.elements ? this.elements : [], !Nt(this.settings.elements) && Ue(this.settings.elements) && this.settings.elements.length && at(this.settings.elements, (e, a) => {
2555
2555
  const r = new pe(e, this, a), n = r.getConfig(), h = $t({}, n);
2556
2556
  h.node = !1, h.index = a, h.instance = r, h.slideConfig = n, t.push(h);
2557
2557
  });
2558
2558
  let i = !1;
2559
- return this.getSelector() && (i = document.querySelectorAll(this.getSelector())), i && nt(i, (e, a) => {
2559
+ return this.getSelector() && (i = document.querySelectorAll(this.getSelector())), i && at(i, (e, a) => {
2560
2560
  const r = new pe(e, this, a), n = r.getConfig(), h = $t({}, n);
2561
2561
  h.node = e, h.index = a, h.instance = r, h.slideConfig = n, h.gallery = e.getAttribute("data-gallery"), t.push(h);
2562
2562
  }), t;
@@ -2609,7 +2609,7 @@ class Re {
2609
2609
  if (this.built)
2610
2610
  return !1;
2611
2611
  const t = document.body.childNodes, i = [];
2612
- nt(t, (d) => {
2612
+ at(t, (d) => {
2613
2613
  d.parentNode == document.body && d.nodeName.charAt(0) !== "#" && d.hasAttribute && !d.hasAttribute("aria-hidden") && (i.push(d), d.setAttribute("aria-hidden", "true"));
2614
2614
  });
2615
2615
  const s = xt(this.settings.svg, "next") ? this.settings.svg.next : "", e = xt(this.settings.svg, "prev") ? this.settings.svg.prev : "", a = xt(this.settings.svg, "close") ? this.settings.svg.close : "";
@@ -2618,29 +2618,29 @@ class Re {
2618
2618
  const n = document.getElementById("glightbox-body");
2619
2619
  this.modal = n;
2620
2620
  let h = n.querySelector(".gclose");
2621
- this.prevButton = n.querySelector(".gprev"), this.nextButton = n.querySelector(".gnext"), this.overlay = n.querySelector(".goverlay"), this.loader = n.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = i, this.events = {}, Y(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && h && (this.events.close = Bt("click", {
2621
+ this.prevButton = n.querySelector(".gprev"), this.nextButton = n.querySelector(".gnext"), this.overlay = n.querySelector(".goverlay"), this.loader = n.querySelector(".gloader"), this.slidesContainer = document.getElementById("glightbox-slider"), this.bodyHiddenChildElms = i, this.events = {}, Y(this.modal, "glightbox-" + this.settings.skin), this.settings.closeButton && h && (this.events.close = Ht("click", {
2622
2622
  onElement: h,
2623
- withCallback: (d, u) => {
2623
+ withCallback: (d, c) => {
2624
2624
  d.preventDefault(), this.close();
2625
2625
  }
2626
- })), h && !this.settings.closeButton && h.parentNode.removeChild(h), this.nextButton && (this.events.next = Bt("click", {
2626
+ })), h && !this.settings.closeButton && h.parentNode.removeChild(h), this.nextButton && (this.events.next = Ht("click", {
2627
2627
  onElement: this.nextButton,
2628
- withCallback: (d, u) => {
2628
+ withCallback: (d, c) => {
2629
2629
  d.preventDefault(), this.nextSlide();
2630
2630
  }
2631
- })), this.prevButton && (this.events.prev = Bt("click", {
2631
+ })), this.prevButton && (this.events.prev = Ht("click", {
2632
2632
  onElement: this.prevButton,
2633
- withCallback: (d, u) => {
2633
+ withCallback: (d, c) => {
2634
2634
  d.preventDefault(), this.prevSlide();
2635
2635
  }
2636
- })), this.settings.closeOnOutsideClick && (this.events.outClose = Bt("click", {
2636
+ })), this.settings.closeOnOutsideClick && (this.events.outClose = Ht("click", {
2637
2637
  onElement: n,
2638
- withCallback: (d, u) => {
2639
- !this.preventOutsideClick && !jt(document.body, "glightbox-mobile") && !Ht(d.target, ".ginner-container") && !Ht(d.target, ".gbtn") && !jt(d.target, "gnext") && !jt(d.target, "gprev") && this.close();
2638
+ withCallback: (d, c) => {
2639
+ !this.preventOutsideClick && !jt(document.body, "glightbox-mobile") && !Wt(d.target, ".ginner-container") && !Wt(d.target, ".gbtn") && !jt(d.target, "gnext") && !jt(d.target, "gprev") && this.close();
2640
2640
  }
2641
- })), nt(this.elements, (d, u) => {
2642
- this.slidesContainer.appendChild(d.instance.create()), d.slideNode = this.slidesContainer.querySelectorAll(".gslide")[u];
2643
- }), $e && Y(document.body, "glightbox-touch"), this.events.resize = Bt("resize", {
2641
+ })), at(this.elements, (d, c) => {
2642
+ this.slidesContainer.appendChild(d.instance.create()), d.slideNode = this.slidesContainer.querySelectorAll(".gslide")[c];
2643
+ }), $e && Y(document.body, "glightbox-touch"), this.events.resize = Ht("resize", {
2644
2644
  onElement: window,
2645
2645
  withCallback: () => {
2646
2646
  this.resize();
@@ -2667,25 +2667,25 @@ class Re {
2667
2667
  if (r <= 768)
2668
2668
  e.querySelector("img");
2669
2669
  else if (h) {
2670
- let d = a.offsetHeight, u = e.querySelector("img");
2670
+ let d = a.offsetHeight, c = e.querySelector("img");
2671
2671
  const b = this.elements[this.index].node.getAttribute("data-height") ?? "100vh";
2672
- u.setAttribute("style", `max-height: calc(${b} - ${d}px)`), a.setAttribute("style", `max-width: ${u.offsetWidth}px;`);
2672
+ c.setAttribute("style", `max-height: calc(${b} - ${d}px)`), a.setAttribute("style", `max-width: ${c.offsetWidth}px;`);
2673
2673
  }
2674
2674
  }
2675
2675
  if (s) {
2676
2676
  let d = xt(this.settings.plyr.config, "ratio") ? this.settings.plyr.config.ratio : "";
2677
2677
  if (!d) {
2678
- const L = s.clientWidth, k = s.clientHeight, at = L / k;
2679
- d = `${L / at}:${k / at}`;
2680
- }
2681
- let u = d.split(":"), g = this.settings.videosWidth, b = this.settings.videosWidth;
2682
- ve(g) || g.indexOf("px") !== -1 ? b = parseInt(g) : g.indexOf("vw") !== -1 ? b = r * parseInt(g) / 100 : g.indexOf("vh") !== -1 ? b = n * parseInt(g) / 100 : g.indexOf("%") !== -1 ? b = r * parseInt(g) / 100 : b = parseInt(s.clientWidth);
2683
- let S = b / (parseInt(u[0]) / parseInt(u[1]));
2684
- if (S = Math.floor(S), h && (n = n - a.offsetHeight), b > r || S > n || n < S && r > b) {
2685
- let L = s.offsetWidth, k = s.offsetHeight, at = n / k, ft = { width: L * at };
2678
+ const S = s.clientWidth, T = s.clientHeight, K = S / T;
2679
+ d = `${S / K}:${T / K}`;
2680
+ }
2681
+ let c = d.split(":"), f = this.settings.videosWidth, b = this.settings.videosWidth;
2682
+ ve(f) || f.indexOf("px") !== -1 ? b = parseInt(f) : f.indexOf("vw") !== -1 ? b = r * parseInt(f) / 100 : f.indexOf("vh") !== -1 ? b = n * parseInt(f) / 100 : f.indexOf("%") !== -1 ? b = r * parseInt(f) / 100 : b = parseInt(s.clientWidth);
2683
+ let _ = b / (parseInt(c[0]) / parseInt(c[1]));
2684
+ if (_ = Math.floor(_), h && (n = n - a.offsetHeight), b > r || _ > n || n < _ && r > b) {
2685
+ let S = s.offsetWidth, T = s.offsetHeight, K = n / T, ft = { width: S * K };
2686
2686
  s.parentNode.setAttribute("style", `max-width: ${ft.width}px`), h && a.setAttribute("style", `max-width: ${ft.width}px;`);
2687
2687
  } else
2688
- s.parentNode.style.maxWidth = `${g}`, h && a.setAttribute("style", `max-width: ${g};`);
2688
+ s.parentNode.style.maxWidth = `${f}`, h && a.setAttribute("style", `max-width: ${f};`);
2689
2689
  }
2690
2690
  }
2691
2691
  /**
@@ -2725,7 +2725,7 @@ class Re {
2725
2725
  }
2726
2726
  if (this.closing)
2727
2727
  return !1;
2728
- this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && nt(this.bodyHiddenChildElms, (t) => {
2728
+ this.closing = !0, this.slidePlayerPause(this.activeSlide), this.fullElementsList && (this.elements = this.fullElementsList), this.bodyHiddenChildElms.length && at(this.bodyHiddenChildElms, (t) => {
2729
2729
  t.removeAttribute("aria-hidden");
2730
2730
  }), Y(this.modal, "glightbox-closing"), Qt(this.overlay, this.settings.openEffect == "none" ? "none" : this.settings.cssEfects.fade.out), Qt(this.activeSlide, this.settings.cssEfects[this.settings.closeEffect].out, () => {
2731
2731
  if (this.activeSlide = null, this.prevActiveSlideIndex = null, this.prevActiveSlide = null, this.built = !1, this.events) {
@@ -2768,10 +2768,10 @@ class Re {
2768
2768
  */
2769
2769
  trigger(t, i = null) {
2770
2770
  const s = [];
2771
- nt(this.apiEvents, (e, a) => {
2771
+ at(this.apiEvents, (e, a) => {
2772
2772
  const { evt: r, once: n, callback: h } = e;
2773
2773
  r == t && (h(i), n && s.push(a));
2774
- }), s.length && nt(s, (e) => this.apiEvents.splice(e, 1));
2774
+ }), s.length && at(s, (e) => this.apiEvents.splice(e, 1));
2775
2775
  }
2776
2776
  /**
2777
2777
  * Removes all events
@@ -2830,8 +2830,8 @@ class Ci {
2830
2830
  n = -h.scrollTop;
2831
2831
  break;
2832
2832
  case "End":
2833
- const g = h.scrollHeight - h.scrollTop - d;
2834
- n = g > 0 ? g + 10 : 0;
2833
+ const f = h.scrollHeight - h.scrollTop - d;
2834
+ n = f > 0 ? f + 10 : 0;
2835
2835
  break;
2836
2836
  case "ArrowLeft":
2837
2837
  r = -this.arrowScroll;
@@ -2856,10 +2856,10 @@ class Ci {
2856
2856
  (r !== this.direction.x || n !== this.direction.y) && (this.direction = { x: r, y: n }, this.queue = [], this.lastScrollTime = 0);
2857
2857
  const h = Date.now(), d = h - this.lastScrollTime;
2858
2858
  if (d < this.accelerationDelta) {
2859
- const u = (1 + 50 / d) / 2;
2860
- if (u > 1) {
2861
- const g = Math.min(u, this.accelerationMax);
2862
- i *= g, s *= g;
2859
+ const c = (1 + 50 / d) / 2;
2860
+ if (c > 1) {
2861
+ const f = Math.min(c, this.accelerationMax);
2862
+ i *= f, s *= f;
2863
2863
  }
2864
2864
  }
2865
2865
  this.lastScrollTime = h, this._enqueueScroll(a, i, s), t.preventDefault();
@@ -2881,8 +2881,8 @@ class Ci {
2881
2881
  const i = document.scrollingElement || document.documentElement;
2882
2882
  let s = t;
2883
2883
  for (; s && s !== document.body; ) {
2884
- const e = window.getComputedStyle(s), a = e.overflowY, r = e.overflowX, n = ["auto", "scroll"].includes(a), h = ["auto", "scroll"].includes(r), d = s.scrollHeight > s.clientHeight, u = s.scrollWidth > s.clientWidth;
2885
- if (n && d || h && u)
2884
+ const e = window.getComputedStyle(s), a = e.overflowY, r = e.overflowX, n = ["auto", "scroll"].includes(a), h = ["auto", "scroll"].includes(r), d = s.scrollHeight > s.clientHeight, c = s.scrollWidth > s.clientWidth;
2885
+ if (n && d || h && c)
2886
2886
  return s;
2887
2887
  if (s === i) return i;
2888
2888
  s = s.parentElement;
@@ -2908,8 +2908,8 @@ class Ci {
2908
2908
  const s = Date.now();
2909
2909
  let e = 0, a = 0;
2910
2910
  for (let n = this.queue.length - 1; n >= 0; n--) {
2911
- const h = this.queue[n], d = s - h.start, u = d >= this.animationTime, g = u ? 1 : d / this.animationTime, b = this._pulse(g), S = h.x * b - h.lastX >> 0, L = h.y * b - h.lastY >> 0;
2912
- e += S, a += L, h.lastX += S, h.lastY += L, u && this.queue.splice(n, 1);
2911
+ const h = this.queue[n], d = s - h.start, c = d >= this.animationTime, f = c ? 1 : d / this.animationTime, b = this._pulse(f), _ = h.x * b - h.lastX >> 0, S = h.y * b - h.lastY >> 0;
2912
+ e += _, a += S, h.lastX += _, h.lastY += S, c && this.queue.splice(n, 1);
2913
2913
  }
2914
2914
  if (t === document.scrollingElement || t === document.documentElement || t === document.body ? window.scrollBy(e, a) : (e && (t.scrollLeft += e), a && (t.scrollTop += a)), this.queue.length > 0)
2915
2915
  requestAnimationFrame(i);
@@ -3024,19 +3024,22 @@ class Li {
3024
3024
  * Initialize all components in the page
3025
3025
  */
3026
3026
  initializeComponents() {
3027
- return document.querySelectorAll("[data-cb-type]").forEach((i) => {
3028
- const s = i.dataset.cbType, e = this.plugins.get(s);
3029
- if (e && typeof e.mount == "function")
3027
+ return document.querySelectorAll("[data-cb-type]").forEach((i, s) => {
3028
+ const e = i.dataset.cbType, a = this.plugins.get(e);
3029
+ if (a && typeof a.mount == "function")
3030
3030
  try {
3031
- const a = this.parseOptions(i);
3032
- let r = i.querySelector(".grid-sortable");
3033
- r || i.classList.contains("grid-sortable") && (r = i), r && Array.from(r.children).forEach((h, d) => {
3034
- h.nodeType === 1 && h.tagName !== "STYLE" && h.tagName !== "SCRIPT" && h.setAttribute("data-index", d);
3031
+ const r = this.parseOptions(i);
3032
+ let n = i.querySelector(".grid-sortable");
3033
+ n || i.classList.contains("grid-sortable") && (n = i), n && Array.from(n.children).forEach((c, f) => {
3034
+ c.nodeType === 1 && c.tagName !== "STYLE" && c.tagName !== "SCRIPT" && c.setAttribute("data-index", f);
3035
+ }), i.querySelectorAll(".edit").forEach((c, f) => {
3036
+ const b = `content-${Date.now()}-${s}-${f}`;
3037
+ c.setAttribute("data-edit-id", b);
3035
3038
  }), i.hasAttribute("data-cb-original-content") || i.setAttribute("data-cb-original-content", i.innerHTML);
3036
- const n = e.mount(i, a);
3037
- this.components.set(i, n), i.setAttribute("data-cb-loaded", "true");
3038
- } catch (a) {
3039
- console.error(`[PluginManager] Failed to mount component "${s}":`, a);
3039
+ const d = a.mount(i, r);
3040
+ this.components.set(i, d), this.setupInlineEditing(i, r), i.setAttribute("data-cb-loaded", "true");
3041
+ } catch (r) {
3042
+ console.error(`[PluginManager] Failed to mount component "${e}":`, r);
3040
3043
  }
3041
3044
  }), this.components.size;
3042
3045
  }
@@ -3065,6 +3068,52 @@ class Li {
3065
3068
  return t;
3066
3069
  }
3067
3070
  }
3071
+ /**
3072
+ * Setup inline editing for elements with .edit[data-edit-id]
3073
+ * Automatically enables contenteditable and syncs changes to data-cb-original-content
3074
+ * @param {HTMLElement} element - Plugin element
3075
+ * @param {Object} options - Plugin options
3076
+ */
3077
+ setupInlineEditing(t, i) {
3078
+ if (!t.closest(".data-editor")) return;
3079
+ const s = t.querySelectorAll(".edit[data-edit-id]");
3080
+ if (s.length === 0)
3081
+ return;
3082
+ t.querySelectorAll('[contenteditable="true"]').forEach((r) => {
3083
+ r.removeAttribute("contenteditable"), r._cbObserver && (r._cbObserver.disconnect(), delete r._cbObserver);
3084
+ });
3085
+ const a = (r, n) => {
3086
+ const h = t.getAttribute("data-cb-original-content");
3087
+ if (!h) return;
3088
+ const f = new DOMParser().parseFromString(h, "text/html").body;
3089
+ if (!f) return;
3090
+ const b = f.querySelector(`[data-edit-id="${r}"]`);
3091
+ if (b) {
3092
+ b.innerHTML = n;
3093
+ const _ = f.innerHTML;
3094
+ t.setAttribute("data-cb-original-content", _);
3095
+ }
3096
+ };
3097
+ s.forEach((r) => {
3098
+ r.setAttribute("contenteditable", "true");
3099
+ const n = new MutationObserver(() => {
3100
+ const h = r.getAttribute("data-edit-id"), d = r.innerHTML;
3101
+ a(h, d);
3102
+ });
3103
+ n.observe(r, {
3104
+ childList: !0,
3105
+ // Child elements added/removed
3106
+ characterData: !0,
3107
+ // Text content changes
3108
+ subtree: !0,
3109
+ // Watch all descendants
3110
+ attributes: !0,
3111
+ // Attribute changes
3112
+ attributeFilter: ["style"]
3113
+ // Specifically watch style (color picker)
3114
+ }), r._cbObserver = n;
3115
+ });
3116
+ }
3068
3117
  /**
3069
3118
  * Manually load a plugin (if not auto-loaded)
3070
3119
  */
@@ -3100,71 +3149,6 @@ class Li {
3100
3149
  * Useful when content is dynamically updated
3101
3150
  * @param {HTMLElement} container - Container element (defaults to document)
3102
3151
  */
3103
- /*
3104
- async reinitialize(container = document) {
3105
- console.log('[PluginManager] Reinitializing components in container');
3106
-
3107
- // Step 1: Destroy existing components in this container
3108
- const elementsToDestroy = [];
3109
- this.components.forEach((instance, element) => {
3110
- if (container === document || container.contains(element)) {
3111
- elementsToDestroy.push({ element, instance });
3112
- }
3113
- });
3114
-
3115
- elementsToDestroy.forEach(({ element, instance }) => {
3116
- const type = element.dataset.cbType;
3117
- const plugin = this.plugins.get(type);
3118
-
3119
- if (plugin && typeof plugin.unmount === 'function') {
3120
- plugin.unmount(element, instance);
3121
- }
3122
-
3123
- this.components.delete(element);
3124
- });
3125
-
3126
- console.log(`[PluginManager] Destroyed ${elementsToDestroy.length} components`);
3127
-
3128
- // Step 2: Detect new component types in container
3129
- const componentTypes = this.detectComponentTypesInContainer(container);
3130
-
3131
- // Step 3: Load any new plugins that aren't loaded yet
3132
- const pluginsToLoad = componentTypes.filter(type =>
3133
- this.config.plugins[type] && !this.plugins.has(type)
3134
- );
3135
-
3136
- if (pluginsToLoad.length > 0) {
3137
- await Promise.all(
3138
- pluginsToLoad.map(type => this.loadPlugin(type))
3139
- );
3140
- }
3141
-
3142
- // Step 4: Initialize all components in container
3143
- const newElements = container.querySelectorAll('[data-cb-type]');
3144
- let mountedCount = 0;
3145
-
3146
- newElements.forEach(el => {
3147
- const type = el.dataset.cbType;
3148
- const plugin = this.plugins.get(type);
3149
-
3150
- if (plugin && typeof plugin.mount === 'function') {
3151
- try {
3152
- const options = this.parseOptions(el);
3153
- const instance = plugin.mount(el, options);
3154
- this.components.set(el, instance);
3155
- mountedCount++;
3156
- } catch (error) {
3157
- console.error(`[PluginManager] Failed to mount component "${type}":`, error);
3158
- }
3159
- }
3160
- });
3161
-
3162
- console.log(`[PluginManager] Mounted ${mountedCount} new components`);
3163
- this.emit('reinitialized', { container, count: mountedCount });
3164
-
3165
- return mountedCount;
3166
- }
3167
- */
3168
3152
  async reinitialize(t = document) {
3169
3153
  if (this.reinitializeInProgress)
3170
3154
  return clearTimeout(this.pendingReinitialize), new Promise((i) => {
@@ -3180,8 +3164,8 @@ class Li {
3180
3164
  this.components.forEach((n, h) => {
3181
3165
  (t === document || t.contains(h)) && i.push({ element: h, instance: n });
3182
3166
  }), i.forEach(({ element: n, instance: h }) => {
3183
- const d = n.dataset.cbType, u = this.plugins.get(d);
3184
- u && typeof u.unmount == "function" && u.unmount(n, h), this.components.delete(n);
3167
+ const d = n.dataset.cbType, c = this.plugins.get(d);
3168
+ c && typeof c.unmount == "function" && c.unmount(n, h), this.components.delete(n);
3185
3169
  });
3186
3170
  const e = this.detectComponentTypesInContainer(t).filter(
3187
3171
  (n) => this.config.plugins[n] && !this.plugins.has(n)
@@ -3195,15 +3179,18 @@ class Li {
3195
3179
  const h = n.dataset.cbType, d = this.plugins.get(h);
3196
3180
  if (d && typeof d.mount == "function")
3197
3181
  try {
3198
- const u = this.parseOptions(n);
3199
- let g = n.querySelector(".grid-sortable");
3200
- g || n.classList.contains("grid-sortable") && (g = n), g && Array.from(g.children).forEach((S, L) => {
3201
- S.nodeType === 1 && S.tagName !== "STYLE" && S.tagName !== "SCRIPT" && S.setAttribute("data-index", L);
3182
+ const c = this.parseOptions(n);
3183
+ let f = n.querySelector(".grid-sortable");
3184
+ f || n.classList.contains("grid-sortable") && (f = n), f && Array.from(f.children).forEach((S, T) => {
3185
+ S.nodeType === 1 && S.tagName !== "STYLE" && S.tagName !== "SCRIPT" && S.setAttribute("data-index", T);
3186
+ }), n.querySelectorAll(".edit").forEach((S, T) => {
3187
+ const K = `content-${Date.now()}-${r}-${T}`;
3188
+ S.setAttribute("data-edit-id", K);
3202
3189
  }), n.hasAttribute("data-cb-original-content") ? n.innerHTML = n.getAttribute("data-cb-original-content") : n.setAttribute("data-cb-original-content", n.innerHTML);
3203
- const b = await d.mount(n, u);
3204
- this.components.set(n, b), n.setAttribute("data-cb-loaded", "true"), r++;
3205
- } catch (u) {
3206
- console.error(`[PluginManager] Failed to mount component "${h}":`, u);
3190
+ const _ = await d.mount(n, c);
3191
+ this.components.set(n, _), this.setupInlineEditing(n, c), n.setAttribute("data-cb-loaded", "true"), r++;
3192
+ } catch (c) {
3193
+ console.error(`[PluginManager] Failed to mount component "${h}":`, c);
3207
3194
  }
3208
3195
  }
3209
3196
  return this.emit("reinitialized", { container: t, count: r }), r;
@@ -3345,11 +3332,13 @@ class Li {
3345
3332
  * Destroy all components and plugins
3346
3333
  */
3347
3334
  destroy() {
3348
- this.components.forEach((t, i) => {
3349
- const s = i.dataset.cbType, e = this.plugins.get(s);
3350
- e && typeof e.unmount == "function" && e.unmount(i, t);
3351
- }), this.plugins.forEach((t, i) => {
3352
- typeof t.destroy == "function" && t.destroy(this);
3335
+ this.components.forEach((i, s) => {
3336
+ const e = s.dataset.cbType, a = this.plugins.get(e);
3337
+ a && typeof a.unmount == "function" && a.unmount(s, i);
3338
+ }), element.querySelectorAll('[contenteditable="true"]').forEach((i) => {
3339
+ i.removeAttribute("contenteditable"), i._cbObserver && (i._cbObserver.disconnect(), delete i._cbObserver);
3340
+ }), this.plugins.forEach((i, s) => {
3341
+ typeof i.destroy == "function" && i.destroy(this);
3353
3342
  }), this.components.clear(), this.plugins.clear();
3354
3343
  }
3355
3344
  /**
@@ -3513,17 +3502,17 @@ class Yi {
3513
3502
  let d = n.getAttribute("href");
3514
3503
  if (d && d.indexOf("#") === 0)
3515
3504
  if (d.indexOf("#section") === 0) {
3516
- let u = d.replace("#section", "");
3517
- if (!isNaN(parseInt(u))) {
3518
- let g = document.querySelectorAll(".is-section"), b, S = 0;
3519
- g.forEach(function(L) {
3520
- L.classList.contains("is-section-navbar") || (S === u - 1 && (b = L), S++);
3505
+ let c = d.replace("#section", "");
3506
+ if (!isNaN(parseInt(c))) {
3507
+ let f = document.querySelectorAll(".is-section"), b, _ = 0;
3508
+ f.forEach(function(S) {
3509
+ S.classList.contains("is-section-navbar") || (_ === c - 1 && (b = S), _++);
3521
3510
  }), b && this.scrollIt(b, 1e3, "easeInQuad"), h.preventDefault();
3522
3511
  }
3523
3512
  } else
3524
3513
  try {
3525
- let u = document.querySelector(d);
3526
- u && (this.scrollIt(u, 1e3, "easeInQuad"), h.preventDefault());
3514
+ let c = document.querySelector(d);
3515
+ c && (this.scrollIt(c, 1e3, "easeInQuad"), h.preventDefault());
3527
3516
  } catch {
3528
3517
  }
3529
3518
  });
@@ -3589,12 +3578,12 @@ class Yi {
3589
3578
  let a;
3590
3579
  e ? a = document.querySelectorAll(".is-wrapper .section-pin") : a = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), a.length > 0 && window.scrollTo(0, 0), a.forEach(function(n) {
3591
3580
  s <= 970 && n.querySelector(".is-box") && (n.querySelectorAll(".is-box").forEach((d) => {
3592
- const u = n.cloneNode(!1);
3593
- d.getAttributeNames().map((g) => {
3594
- g.indexOf("data-") !== -1 && u.setAttribute(g, d.getAttribute(g));
3595
- }), u.classList.add("is-box"), d.classList.forEach((g) => {
3596
- (g.indexOf("is-box-") !== -1 || g.indexOf("is-content-") !== -1 || g.indexOf("box-autofit") !== -1 || g.indexOf("is-light-text") !== -1 || g.indexOf("is-dark-text") !== -1 || g.indexOf("is-align-") !== -1 || g.indexOf("type-") !== -1 || g.indexOf("block-click") !== -1 || g.indexOf("hover-zoom") !== -1) && u.classList.add(g);
3597
- }), u.setAttribute("data-section-clone", ""), u.innerHTML = d.innerHTML, n.parentNode.insertBefore(u, n);
3581
+ const c = n.cloneNode(!1);
3582
+ d.getAttributeNames().map((f) => {
3583
+ f.indexOf("data-") !== -1 && c.setAttribute(f, d.getAttribute(f));
3584
+ }), c.classList.add("is-box"), d.classList.forEach((f) => {
3585
+ (f.indexOf("is-box-") !== -1 || f.indexOf("is-content-") !== -1 || f.indexOf("box-autofit") !== -1 || f.indexOf("is-light-text") !== -1 || f.indexOf("is-dark-text") !== -1 || f.indexOf("is-align-") !== -1 || f.indexOf("type-") !== -1 || f.indexOf("block-click") !== -1 || f.indexOf("hover-zoom") !== -1) && c.classList.add(f);
3586
+ }), c.setAttribute("data-section-clone", ""), c.innerHTML = d.innerHTML, n.parentNode.insertBefore(c, n);
3598
3587
  }), n.setAttribute("data-section-original", ""), n.style.display = "none");
3599
3588
  }), e ? a = document.querySelectorAll(".is-wrapper .section-pin") : a = document.querySelectorAll(".is-wrapper:not(.is-edit) .section-pin"), a.forEach(function(n) {
3600
3589
  if (n.parentNode.closest(".section-wrap") || s <= 970 && n.hasAttribute("data-section-original")) return;
@@ -3603,10 +3592,10 @@ class Yi {
3603
3592
  });
3604
3593
  const r = (n) => {
3605
3594
  document.querySelectorAll(".is-section").forEach((d) => {
3606
- const u = d.getBoundingClientRect().top;
3607
- let g, b;
3608
- d.parentNode.classList.contains("pin-wrap") ? (g = d.parentNode.nextElementSibling, b = d.parentNode.previousElementSibling) : (g = d.nextElementSibling, b = d.previousElementSibling), g && g.classList.contains("pin-wrap") && (g = g.querySelector(".is-section")), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), u <= 0 && ((d.classList.contains("no-spacing") || d.classList.contains("pin-overlap")) && d.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((L) => {
3609
- L !== d && L.classList.remove("section-inview");
3595
+ const c = d.getBoundingClientRect().top;
3596
+ let f, b;
3597
+ d.parentNode.classList.contains("pin-wrap") ? (f = d.parentNode.nextElementSibling, b = d.parentNode.previousElementSibling) : (f = d.nextElementSibling, b = d.previousElementSibling), f && f.classList.contains("pin-wrap") && (f = f.querySelector(".is-section")), b && b.classList.contains("pin-wrap") && (b = b.querySelector(".is-section")), c <= 0 && ((d.classList.contains("no-spacing") || d.classList.contains("pin-overlap")) && d.classList.add("section-inview"), document.querySelectorAll(".is-section").forEach((S) => {
3598
+ S !== d && S.classList.remove("section-inview");
3610
3599
  }));
3611
3600
  });
3612
3601
  };
@@ -3729,13 +3718,13 @@ class Yi {
3729
3718
  if (i) {
3730
3719
  const n = i.closest("[data-gallery]");
3731
3720
  let h = [];
3732
- n ? h = n.querySelectorAll(".is-lightbox") : document.querySelectorAll(".is-lightbox,.block-click").forEach((u) => {
3733
- u.closest("[data-gallery]") || h.push(u);
3734
- }), h.forEach((d, u) => {
3735
- let g = d.getAttribute("href");
3736
- g || (g = d.getAttribute("data-modal-url")), e.push({
3737
- href: g
3738
- }), t === g && (a = u);
3721
+ n ? h = n.querySelectorAll(".is-lightbox") : document.querySelectorAll(".is-lightbox,.block-click").forEach((c) => {
3722
+ c.closest("[data-gallery]") || h.push(c);
3723
+ }), h.forEach((d, c) => {
3724
+ let f = d.getAttribute("href");
3725
+ f || (f = d.getAttribute("data-modal-url")), e.push({
3726
+ href: f
3727
+ }), t === f && (a = c);
3739
3728
  });
3740
3729
  }
3741
3730
  const r = document.activeElement;
@@ -3830,32 +3819,32 @@ class Yi {
3830
3819
  let n = [];
3831
3820
  const h = r.attributes;
3832
3821
  for (let d = 0; d < h.length; d++) {
3833
- let g = h[d].name.match(/^data--h-(\d+)$/);
3834
- if (g) {
3835
- const b = parseInt(g[1], 10);
3822
+ let f = h[d].name.match(/^data--h-(\d+)$/);
3823
+ if (f) {
3824
+ const b = parseInt(f[1], 10);
3836
3825
  n.push(b);
3837
3826
  }
3838
3827
  }
3839
- n = [...new Set(n)], n.sort((d, u) => u - d);
3828
+ n = [...new Set(n)], n.sort((d, c) => c - d);
3840
3829
  for (let d = 0; d < n.length; d++) {
3841
- const u = n[d];
3830
+ const c = n[d];
3842
3831
  if (d === 0) {
3843
- if (a > u) {
3844
- let g = r.getAttribute("data--h");
3845
- g ? r.style.height = g : r.style.height = "";
3832
+ if (a > c) {
3833
+ let f = r.getAttribute("data--h");
3834
+ f ? r.style.height = f : r.style.height = "";
3846
3835
  }
3847
3836
  } else {
3848
- const g = n[d - 1];
3849
- if (g >= a && a > u) {
3850
- let b = r.getAttribute("data--h-" + g);
3837
+ const f = n[d - 1];
3838
+ if (f >= a && a > c) {
3839
+ let b = r.getAttribute("data--h-" + f);
3851
3840
  b && (r.style.height = b);
3852
3841
  }
3853
3842
  }
3854
3843
  }
3855
3844
  if (n.length > 0 && n[n.length - 1] >= a) {
3856
- const u = n[n.length - 1];
3857
- let g = r.getAttribute("data--h-" + u);
3858
- g && (r.style.height = g);
3845
+ const c = n[n.length - 1];
3846
+ let f = r.getAttribute("data--h-" + c);
3847
+ f && (r.style.height = f);
3859
3848
  }
3860
3849
  }), document.querySelectorAll(".is-block").forEach((r) => {
3861
3850
  if (!r.classList.contains("locked")) {
@@ -3866,29 +3855,29 @@ class Yi {
3866
3855
  let n = [];
3867
3856
  const h = r.attributes;
3868
3857
  for (let d = 0; d < h.length; d++) {
3869
- const u = h[d].name;
3870
- let g = u.match(/^data--t-(\d+)$/);
3871
- if (g) {
3872
- const b = parseInt(g[1], 10);
3858
+ const c = h[d].name;
3859
+ let f = c.match(/^data--t-(\d+)$/);
3860
+ if (f) {
3861
+ const b = parseInt(f[1], 10);
3873
3862
  n.push(b);
3874
3863
  }
3875
- if (g = u.match(/^data--w-(\d+)$/), g) {
3876
- const b = parseInt(g[1], 10);
3864
+ if (f = c.match(/^data--w-(\d+)$/), f) {
3865
+ const b = parseInt(f[1], 10);
3877
3866
  n.push(b);
3878
3867
  }
3879
- if (g = u.match(/^data--transform-(\d+)$/), g) {
3880
- const b = parseInt(g[1], 10);
3868
+ if (f = c.match(/^data--transform-(\d+)$/), f) {
3869
+ const b = parseInt(f[1], 10);
3881
3870
  n.push(b);
3882
3871
  }
3883
3872
  }
3884
- n = [...new Set(n)], n.sort((d, u) => u - d);
3873
+ n = [...new Set(n)], n.sort((d, c) => c - d);
3885
3874
  for (let d = 0; d < n.length; d++) {
3886
- const u = n[d];
3875
+ const c = n[d];
3887
3876
  if (d === 0)
3888
- a > u && t.apply(r, 1e4, e);
3877
+ a > c && t.apply(r, 1e4, e);
3889
3878
  else {
3890
- const g = n[d - 1];
3891
- g >= a && a > u && t.apply(r, g, e);
3879
+ const f = n[d - 1];
3880
+ f >= a && a > c && t.apply(r, f, e);
3892
3881
  }
3893
3882
  }
3894
3883
  if (n.length > 0) {