@cntrl-site/components 1.0.6-alpha.0 → 1.0.6-alpha.1

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.
Files changed (3) hide show
  1. package/dist/index.js +15 -6
  2. package/dist/index.mjs +1066 -1052
  3. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -1,86 +1,86 @@
1
- import { jsx as P, Fragment as Ie, jsxs as xt } from "react/jsx-runtime";
2
- import re, { useState as ct, useEffect as St, useRef as Lt, useCallback as Cr, useMemo as Eo } from "react";
3
- import gt from "classnames";
4
- import { s as O, u as Ao, b as Io, g as on } from "./useScopedStyles-BSwFAT27.mjs";
5
- import { createPortal as $r } from "react-dom";
6
- function Zl(t) {
1
+ import { jsx as P, Fragment as Ie, jsxs as Ct } from "react/jsx-runtime";
2
+ import re, { useState as ct, useEffect as xt, useRef as Tt, useCallback as $r, useMemo as Ao } from "react";
3
+ import dt from "classnames";
4
+ import { s as O, u as Io, b as ko, g as on } from "./useScopedStyles-BSwFAT27.mjs";
5
+ import { createPortal as _r } from "react-dom";
6
+ function Ql(t) {
7
7
  return t.type === "object" && t.version === 1;
8
8
  }
9
- const _r = "ControlSlider-module__wrapper___sHEkd", wr = "ControlSlider-module__hoverArrow___A-dOH", Tr = "ControlSlider-module__sliderItem___QQSkR", Lr = "ControlSlider-module__sliderImage___9hRl-", Er = "ControlSlider-module__arrow___05ghY", Ar = "ControlSlider-module__arrowVertical___tBfVN", Ir = "ControlSlider-module__nextArrow___-30Yc", kr = "ControlSlider-module__arrowInner___aEra3", Fr = "ControlSlider-module__arrowIcon___S4ztF", Rr = "ControlSlider-module__arrowImg___2dwJW", Br = "ControlSlider-module__mirror___brd6U", Pr = "ControlSlider-module__pagination___bicLF", Or = "ControlSlider-module__paginationInner___bT-P-", Wr = "ControlSlider-module__paginationVertical___zYqKw", Nr = "ControlSlider-module__paginationItem___nTRbk", zr = "ControlSlider-module__dot___p1Qun", Mr = "ControlSlider-module__activeDot___LHFaj", Vr = "ControlSlider-module__paginationInsideBottom___R3FWn", Hr = "ControlSlider-module__paginationInsideTop___V-qb-", Dr = "ControlSlider-module__paginationOutsideBottom___14w8D", jr = "ControlSlider-module__paginationOutsideTop___SCLqB", Ur = "ControlSlider-module__paginationInsideLeft___yOBRZ", Gr = "ControlSlider-module__paginationInsideRight___Rtt3o", Yr = "ControlSlider-module__paginationOutsideLeft___lahaw", qr = "ControlSlider-module__paginationOutsideRight___EtuQa", Xr = "ControlSlider-module__imgWrapper___UjEgB", Kr = "ControlSlider-module__captionBlock___dJ6-j", Jr = "ControlSlider-module__captionTextWrapper___HFlpf", Zr = "ControlSlider-module__captionText___uGBVc", Qr = "ControlSlider-module__active___WZK4G", ti = "ControlSlider-module__withPointerEvents___t-18M", ei = "ControlSlider-module__topLeftAlignment___zjnGM", ni = "ControlSlider-module__topCenterAlignment___gD1xW", oi = "ControlSlider-module__topRightAlignment___NMapS", ri = "ControlSlider-module__middleLeftAlignment___OnUrY", ii = "ControlSlider-module__middleCenterAlignment___Tdkl0", ai = "ControlSlider-module__middleRightAlignment___wEbfX", li = "ControlSlider-module__bottomLeftAlignment___cTP2-", si = "ControlSlider-module__bottomCenterAlignment___c54fB", ci = "ControlSlider-module__bottomRightAlignment___kEwrz", ui = "ControlSlider-module__clickOverlay___DZA28", pi = "ControlSlider-module__contain___pLyq7", di = "ControlSlider-module__cover___KdDat", U = {
10
- wrapper: _r,
11
- hoverArrow: wr,
12
- sliderItem: Tr,
13
- sliderImage: Lr,
14
- arrow: Er,
15
- arrowVertical: Ar,
16
- nextArrow: Ir,
17
- arrowInner: kr,
18
- arrowIcon: Fr,
19
- arrowImg: Rr,
20
- mirror: Br,
21
- pagination: Pr,
22
- paginationInner: Or,
23
- paginationVertical: Wr,
24
- paginationItem: Nr,
25
- dot: zr,
26
- activeDot: Mr,
27
- paginationInsideBottom: Vr,
28
- paginationInsideTop: Hr,
29
- paginationOutsideBottom: Dr,
30
- paginationOutsideTop: jr,
31
- paginationInsideLeft: Ur,
32
- paginationInsideRight: Gr,
33
- paginationOutsideLeft: Yr,
34
- paginationOutsideRight: qr,
35
- imgWrapper: Xr,
36
- captionBlock: Kr,
37
- captionTextWrapper: Jr,
38
- captionText: Zr,
39
- active: Qr,
40
- withPointerEvents: ti,
41
- topLeftAlignment: ei,
42
- topCenterAlignment: ni,
43
- topRightAlignment: oi,
44
- middleLeftAlignment: ri,
45
- middleCenterAlignment: ii,
46
- middleRightAlignment: ai,
47
- bottomLeftAlignment: li,
48
- bottomCenterAlignment: si,
49
- bottomRightAlignment: ci,
50
- clickOverlay: ui,
51
- contain: pi,
52
- cover: di
9
+ const wr = "ControlSlider-module__wrapper___sHEkd", Tr = "ControlSlider-module__hoverArrow___A-dOH", Lr = "ControlSlider-module__sliderItem___QQSkR", Er = "ControlSlider-module__sliderImage___9hRl-", Ar = "ControlSlider-module__arrow___05ghY", Ir = "ControlSlider-module__arrowVertical___tBfVN", kr = "ControlSlider-module__nextArrow___-30Yc", Fr = "ControlSlider-module__arrowInner___aEra3", Rr = "ControlSlider-module__arrowIcon___S4ztF", Br = "ControlSlider-module__arrowImg___2dwJW", Pr = "ControlSlider-module__mirror___brd6U", Or = "ControlSlider-module__pagination___bicLF", Wr = "ControlSlider-module__paginationInner___bT-P-", Nr = "ControlSlider-module__paginationVertical___zYqKw", zr = "ControlSlider-module__paginationItem___nTRbk", Mr = "ControlSlider-module__dot___p1Qun", Vr = "ControlSlider-module__activeDot___LHFaj", Hr = "ControlSlider-module__paginationInsideBottom___R3FWn", Dr = "ControlSlider-module__paginationInsideTop___V-qb-", jr = "ControlSlider-module__paginationOutsideBottom___14w8D", Ur = "ControlSlider-module__paginationOutsideTop___SCLqB", Gr = "ControlSlider-module__paginationInsideLeft___yOBRZ", Yr = "ControlSlider-module__paginationInsideRight___Rtt3o", qr = "ControlSlider-module__paginationOutsideLeft___lahaw", Xr = "ControlSlider-module__paginationOutsideRight___EtuQa", Kr = "ControlSlider-module__imgWrapper___UjEgB", Jr = "ControlSlider-module__captionBlock___dJ6-j", Zr = "ControlSlider-module__captionTextWrapper___HFlpf", Qr = "ControlSlider-module__captionText___uGBVc", ti = "ControlSlider-module__active___WZK4G", ei = "ControlSlider-module__withPointerEvents___t-18M", ni = "ControlSlider-module__topLeftAlignment___zjnGM", oi = "ControlSlider-module__topCenterAlignment___gD1xW", ri = "ControlSlider-module__topRightAlignment___NMapS", ii = "ControlSlider-module__middleLeftAlignment___OnUrY", ai = "ControlSlider-module__middleCenterAlignment___Tdkl0", li = "ControlSlider-module__middleRightAlignment___wEbfX", si = "ControlSlider-module__bottomLeftAlignment___cTP2-", ci = "ControlSlider-module__bottomCenterAlignment___c54fB", ui = "ControlSlider-module__bottomRightAlignment___kEwrz", pi = "ControlSlider-module__clickOverlay___DZA28", di = "ControlSlider-module__contain___pLyq7", gi = "ControlSlider-module__cover___KdDat", U = {
10
+ wrapper: wr,
11
+ hoverArrow: Tr,
12
+ sliderItem: Lr,
13
+ sliderImage: Er,
14
+ arrow: Ar,
15
+ arrowVertical: Ir,
16
+ nextArrow: kr,
17
+ arrowInner: Fr,
18
+ arrowIcon: Rr,
19
+ arrowImg: Br,
20
+ mirror: Pr,
21
+ pagination: Or,
22
+ paginationInner: Wr,
23
+ paginationVertical: Nr,
24
+ paginationItem: zr,
25
+ dot: Mr,
26
+ activeDot: Vr,
27
+ paginationInsideBottom: Hr,
28
+ paginationInsideTop: Dr,
29
+ paginationOutsideBottom: jr,
30
+ paginationOutsideTop: Ur,
31
+ paginationInsideLeft: Gr,
32
+ paginationInsideRight: Yr,
33
+ paginationOutsideLeft: qr,
34
+ paginationOutsideRight: Xr,
35
+ imgWrapper: Kr,
36
+ captionBlock: Jr,
37
+ captionTextWrapper: Zr,
38
+ captionText: Qr,
39
+ active: ti,
40
+ withPointerEvents: ei,
41
+ topLeftAlignment: ni,
42
+ topCenterAlignment: oi,
43
+ topRightAlignment: ri,
44
+ middleLeftAlignment: ii,
45
+ middleCenterAlignment: ai,
46
+ middleRightAlignment: li,
47
+ bottomLeftAlignment: si,
48
+ bottomCenterAlignment: ci,
49
+ bottomRightAlignment: ui,
50
+ clickOverlay: pi,
51
+ contain: di,
52
+ cover: gi
53
53
  };
54
- function gi(t, e) {
54
+ function mi(t, e) {
55
55
  for (var n = 0; n < e.length; n++) {
56
56
  var o = e[n];
57
57
  o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(t, o.key, o);
58
58
  }
59
59
  }
60
- function mi(t, e, n) {
61
- return e && gi(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
60
+ function fi(t, e, n) {
61
+ return e && mi(t.prototype, e), Object.defineProperty(t, "prototype", { writable: !1 }), t;
62
62
  }
63
- var ao = "(prefers-reduced-motion: reduce)", me = 1, fi = 2, be = 3, Ce = 4, Ne = 5, Qe = 6, rn = 7, hi = {
63
+ var lo = "(prefers-reduced-motion: reduce)", me = 1, hi = 2, be = 3, Ce = 4, Ne = 5, Qe = 6, rn = 7, yi = {
64
64
  CREATED: me,
65
- MOUNTED: fi,
65
+ MOUNTED: hi,
66
66
  IDLE: be,
67
67
  MOVING: Ce,
68
68
  SCROLLING: Ne,
69
69
  DRAGGING: Qe,
70
70
  DESTROYED: rn
71
71
  };
72
- function Yt(t) {
72
+ function Gt(t) {
73
73
  t.length = 0;
74
74
  }
75
- function te(t, e, n) {
75
+ function Qt(t, e, n) {
76
76
  return Array.prototype.slice.call(t, e, n);
77
77
  }
78
78
  function ut(t) {
79
- return t.bind.apply(t, [null].concat(te(arguments, 1)));
79
+ return t.bind.apply(t, [null].concat(Qt(arguments, 1)));
80
80
  }
81
- var ko = setTimeout, An = function() {
81
+ var Fo = setTimeout, An = function() {
82
82
  };
83
- function lo(t) {
83
+ function so(t) {
84
84
  return requestAnimationFrame(t);
85
85
  }
86
86
  function un(t, e) {
@@ -89,11 +89,11 @@ function un(t, e) {
89
89
  function ke(t) {
90
90
  return !zn(t) && un("object", t);
91
91
  }
92
- var Nn = Array.isArray, Fo = ut(un, "function"), Zt = ut(un, "string"), ze = ut(un, "undefined");
92
+ var Nn = Array.isArray, Ro = ut(un, "function"), Jt = ut(un, "string"), ze = ut(un, "undefined");
93
93
  function zn(t) {
94
94
  return t === null;
95
95
  }
96
- function Ro(t) {
96
+ function Bo(t) {
97
97
  try {
98
98
  return t instanceof (t.ownerDocument.defaultView || window).HTMLElement;
99
99
  } catch {
@@ -103,7 +103,7 @@ function Ro(t) {
103
103
  function Me(t) {
104
104
  return Nn(t) ? t : [t];
105
105
  }
106
- function It(t, e) {
106
+ function At(t, e) {
107
107
  Me(t).forEach(e);
108
108
  }
109
109
  function Mn(t, e) {
@@ -112,34 +112,34 @@ function Mn(t, e) {
112
112
  function tn(t, e) {
113
113
  return t.push.apply(t, Me(e)), t;
114
114
  }
115
- function jt(t, e, n) {
116
- t && It(e, function(o) {
115
+ function Dt(t, e, n) {
116
+ t && At(e, function(o) {
117
117
  o && t.classList[n ? "add" : "remove"](o);
118
118
  });
119
119
  }
120
120
  function Pt(t, e) {
121
- jt(t, Zt(e) ? e.split(" ") : e, !0);
121
+ Dt(t, Jt(e) ? e.split(" ") : e, !0);
122
122
  }
123
123
  function Ve(t, e) {
124
- It(e, t.appendChild.bind(t));
124
+ At(e, t.appendChild.bind(t));
125
125
  }
126
126
  function Vn(t, e) {
127
- It(t, function(n) {
127
+ At(t, function(n) {
128
128
  var o = (e || n).parentNode;
129
129
  o && o.insertBefore(n, e);
130
130
  });
131
131
  }
132
132
  function Fe(t, e) {
133
- return Ro(t) && (t.msMatchesSelector || t.matches).call(t, e);
133
+ return Bo(t) && (t.msMatchesSelector || t.matches).call(t, e);
134
134
  }
135
- function Bo(t, e) {
136
- var n = t ? te(t.children) : [];
135
+ function Po(t, e) {
136
+ var n = t ? Qt(t.children) : [];
137
137
  return e ? n.filter(function(o) {
138
138
  return Fe(o, e);
139
139
  }) : n;
140
140
  }
141
141
  function He(t, e) {
142
- return e ? Bo(t, e)[0] : t.firstElementChild;
142
+ return e ? Po(t, e)[0] : t.firstElementChild;
143
143
  }
144
144
  var Re = Object.keys;
145
145
  function ae(t, e, n) {
@@ -148,27 +148,27 @@ function ae(t, e, n) {
148
148
  }), t;
149
149
  }
150
150
  function Be(t) {
151
- return te(arguments, 1).forEach(function(e) {
151
+ return Qt(arguments, 1).forEach(function(e) {
152
152
  ae(e, function(n, o) {
153
153
  t[o] = e[o];
154
154
  });
155
155
  }), t;
156
156
  }
157
- function Jt(t) {
158
- return te(arguments, 1).forEach(function(e) {
157
+ function Kt(t) {
158
+ return Qt(arguments, 1).forEach(function(e) {
159
159
  ae(e, function(n, o) {
160
- Nn(n) ? t[o] = n.slice() : ke(n) ? t[o] = Jt({}, ke(t[o]) ? t[o] : {}, n) : t[o] = n;
160
+ Nn(n) ? t[o] = n.slice() : ke(n) ? t[o] = Kt({}, ke(t[o]) ? t[o] : {}, n) : t[o] = n;
161
161
  });
162
162
  }), t;
163
163
  }
164
- function so(t, e) {
165
- It(e || Re(t), function(n) {
164
+ function co(t, e) {
165
+ At(e || Re(t), function(n) {
166
166
  delete t[n];
167
167
  });
168
168
  }
169
169
  function Ot(t, e) {
170
- It(t, function(n) {
171
- It(e, function(o) {
170
+ At(t, function(n) {
171
+ At(e, function(o) {
172
172
  n && n.removeAttribute(o);
173
173
  });
174
174
  });
@@ -176,106 +176,106 @@ function Ot(t, e) {
176
176
  function J(t, e, n) {
177
177
  ke(e) ? ae(e, function(o, r) {
178
178
  J(t, r, o);
179
- }) : It(t, function(o) {
179
+ }) : At(t, function(o) {
180
180
  zn(n) || n === "" ? Ot(o, e) : o.setAttribute(e, String(n));
181
181
  });
182
182
  }
183
183
  function fe(t, e, n) {
184
184
  var o = document.createElement(t);
185
- return e && (Zt(e) ? Pt(o, e) : J(o, e)), n && Ve(n, o), o;
185
+ return e && (Jt(e) ? Pt(o, e) : J(o, e)), n && Ve(n, o), o;
186
186
  }
187
- function Ft(t, e, n) {
187
+ function kt(t, e, n) {
188
188
  if (ze(n))
189
189
  return getComputedStyle(t)[e];
190
190
  zn(n) || (t.style[e] = "" + n);
191
191
  }
192
192
  function Pe(t, e) {
193
- Ft(t, "display", e);
193
+ kt(t, "display", e);
194
194
  }
195
- function Po(t) {
195
+ function Oo(t) {
196
196
  t.setActive && t.setActive() || t.focus({
197
197
  preventScroll: !0
198
198
  });
199
199
  }
200
- function Rt(t, e) {
200
+ function Ft(t, e) {
201
201
  return t.getAttribute(e);
202
202
  }
203
- function co(t, e) {
203
+ function uo(t, e) {
204
204
  return t && t.classList.contains(e);
205
205
  }
206
- function Et(t) {
206
+ function Lt(t) {
207
207
  return t.getBoundingClientRect();
208
208
  }
209
209
  function le(t) {
210
- It(t, function(e) {
210
+ At(t, function(e) {
211
211
  e && e.parentNode && e.parentNode.removeChild(e);
212
212
  });
213
213
  }
214
- function Oo(t) {
214
+ function Wo(t) {
215
215
  return He(new DOMParser().parseFromString(t, "text/html").body);
216
216
  }
217
- function Dt(t, e) {
217
+ function Ht(t, e) {
218
218
  t.preventDefault(), e && (t.stopPropagation(), t.stopImmediatePropagation());
219
219
  }
220
- function Wo(t, e) {
220
+ function No(t, e) {
221
221
  return t && t.querySelector(e);
222
222
  }
223
223
  function Hn(t, e) {
224
- return e ? te(t.querySelectorAll(e)) : [];
224
+ return e ? Qt(t.querySelectorAll(e)) : [];
225
225
  }
226
- function Ut(t, e) {
227
- jt(t, e, !1);
226
+ function jt(t, e) {
227
+ Dt(t, e, !1);
228
228
  }
229
229
  function In(t) {
230
230
  return t.timeStamp;
231
231
  }
232
232
  function oe(t) {
233
- return Zt(t) ? t : t ? t + "px" : "";
233
+ return Jt(t) ? t : t ? t + "px" : "";
234
234
  }
235
235
  var De = "splide", Dn = "data-" + De;
236
236
  function Ee(t, e) {
237
237
  if (!t)
238
238
  throw new Error("[" + De + "] " + (e || ""));
239
239
  }
240
- var Qt = Math.min, an = Math.max, ln = Math.floor, Oe = Math.ceil, _t = Math.abs;
241
- function No(t, e, n) {
240
+ var Zt = Math.min, an = Math.max, ln = Math.floor, Oe = Math.ceil, _t = Math.abs;
241
+ function zo(t, e, n) {
242
242
  return _t(t - e) < n;
243
243
  }
244
244
  function en(t, e, n, o) {
245
- var r = Qt(e, n), a = an(e, n);
245
+ var r = Zt(e, n), a = an(e, n);
246
246
  return o ? r < t && t < a : r <= t && t <= a;
247
247
  }
248
248
  function de(t, e, n) {
249
- var o = Qt(e, n), r = an(e, n);
250
- return Qt(an(o, t), r);
249
+ var o = Zt(e, n), r = an(e, n);
250
+ return Zt(an(o, t), r);
251
251
  }
252
252
  function kn(t) {
253
253
  return +(t > 0) - +(t < 0);
254
254
  }
255
255
  function Fn(t, e) {
256
- return It(e, function(n) {
256
+ return At(e, function(n) {
257
257
  t = t.replace("%s", "" + n);
258
258
  }), t;
259
259
  }
260
260
  function jn(t) {
261
261
  return t < 10 ? "0" + t : "" + t;
262
262
  }
263
- var uo = {};
264
- function yi(t) {
265
- return "" + t + jn(uo[t] = (uo[t] || 0) + 1);
263
+ var po = {};
264
+ function vi(t) {
265
+ return "" + t + jn(po[t] = (po[t] || 0) + 1);
266
266
  }
267
- function zo() {
267
+ function Mo() {
268
268
  var t = [];
269
269
  function e(i, l, s, p) {
270
- r(i, l, function(c, $, y) {
270
+ r(i, l, function(c, $, v) {
271
271
  var g = "addEventListener" in c, u = g ? c.removeEventListener.bind(c, $, s, p) : c.removeListener.bind(c, s);
272
- g ? c.addEventListener($, s, p) : c.addListener(s), t.push([c, $, y, s, u]);
272
+ g ? c.addEventListener($, s, p) : c.addListener(s), t.push([c, $, v, s, u]);
273
273
  });
274
274
  }
275
275
  function n(i, l, s) {
276
276
  r(i, l, function(p, c, $) {
277
- t = t.filter(function(y) {
278
- return y[0] === p && y[1] === c && y[2] === $ && (!s || y[3] === s) ? (y[4](), !1) : !0;
277
+ t = t.filter(function(v) {
278
+ return v[0] === p && v[1] === c && v[2] === $ && (!s || v[3] === s) ? (v[4](), !1) : !0;
279
279
  });
280
280
  });
281
281
  }
@@ -287,11 +287,11 @@ function zo() {
287
287
  }) : (p = document.createEvent("CustomEvent"), p.initCustomEvent(l, c, !1, s)), i.dispatchEvent(p), p;
288
288
  }
289
289
  function r(i, l, s) {
290
- It(i, function(p) {
291
- p && It(l, function(c) {
290
+ At(i, function(p) {
291
+ p && At(l, function(c) {
292
292
  c.split(" ").forEach(function($) {
293
- var y = $.split(".");
294
- s(p, y[0], y[1]);
293
+ var v = $.split(".");
294
+ s(p, v[0], v[1]);
295
295
  });
296
296
  });
297
297
  });
@@ -299,7 +299,7 @@ function zo() {
299
299
  function a() {
300
300
  t.forEach(function(i) {
301
301
  i[4]();
302
- }), Yt(t);
302
+ }), Gt(t);
303
303
  }
304
304
  return {
305
305
  bind: e,
@@ -308,16 +308,16 @@ function zo() {
308
308
  destroy: a
309
309
  };
310
310
  }
311
- var ee = "mounted", Rn = "ready", qt = "move", $e = "moved", Un = "click", Mo = "active", Vo = "inactive", Ho = "visible", Do = "hidden", vt = "refresh", Ct = "updated", Se = "resize", pn = "resized", jo = "drag", Uo = "dragging", Go = "dragged", dn = "scroll", ce = "scrolled", vi = "overflow", Gn = "destroy", Yo = "arrows:mounted", qo = "arrows:updated", Xo = "pagination:mounted", Ko = "pagination:updated", Yn = "navigation:mounted", qn = "autoplay:play", Jo = "autoplay:playing", Xn = "autoplay:pause", Kn = "lazyload:loaded", Zo = "sk", Qo = "sh", sn = "ei";
312
- function mt(t) {
313
- var e = t ? t.event.bus : document.createDocumentFragment(), n = zo();
311
+ var te = "mounted", Rn = "ready", Yt = "move", $e = "moved", Un = "click", Vo = "active", Ho = "inactive", Do = "visible", jo = "hidden", vt = "refresh", $t = "updated", Se = "resize", pn = "resized", Uo = "drag", Go = "dragging", Yo = "dragged", dn = "scroll", ce = "scrolled", bi = "overflow", Gn = "destroy", qo = "arrows:mounted", Xo = "arrows:updated", Ko = "pagination:mounted", Jo = "pagination:updated", Yn = "navigation:mounted", qn = "autoplay:play", Zo = "autoplay:playing", Xn = "autoplay:pause", Kn = "lazyload:loaded", Qo = "sk", tr = "sh", sn = "ei";
312
+ function gt(t) {
313
+ var e = t ? t.event.bus : document.createDocumentFragment(), n = Mo();
314
314
  function o(a, i) {
315
315
  n.bind(e, Me(a).join(" "), function(l) {
316
316
  i.apply(i, Nn(l.detail) ? l.detail : []);
317
317
  });
318
318
  }
319
319
  function r(a) {
320
- n.dispatch(e, a, te(arguments, 1));
320
+ n.dispatch(e, a, Qt(arguments, 1));
321
321
  }
322
322
  return t && t.event.on(Gn, n.destroy), Be(n, {
323
323
  bus: e,
@@ -330,15 +330,15 @@ function gn(t, e, n, o) {
330
330
  var r = Date.now, a, i = 0, l, s = !0, p = 0;
331
331
  function c() {
332
332
  if (!s) {
333
- if (i = t ? Qt((r() - a) / t, 1) : 1, n && n(i), i >= 1 && (e(), a = r(), o && ++p >= o))
334
- return y();
335
- l = lo(c);
333
+ if (i = t ? Zt((r() - a) / t, 1) : 1, n && n(i), i >= 1 && (e(), a = r(), o && ++p >= o))
334
+ return v();
335
+ l = so(c);
336
336
  }
337
337
  }
338
- function $(v) {
339
- v || u(), a = r() - (v ? i * t : 0), s = !1, l = lo(c);
338
+ function $(f) {
339
+ f || u(), a = r() - (f ? i * t : 0), s = !1, l = so(c);
340
340
  }
341
- function y() {
341
+ function v() {
342
342
  s = !0;
343
343
  }
344
344
  function g() {
@@ -347,22 +347,22 @@ function gn(t, e, n, o) {
347
347
  function u() {
348
348
  l && cancelAnimationFrame(l), i = 0, l = 0, s = !0;
349
349
  }
350
- function d(v) {
351
- t = v;
350
+ function d(f) {
351
+ t = f;
352
352
  }
353
- function x() {
353
+ function S() {
354
354
  return s;
355
355
  }
356
356
  return {
357
357
  start: $,
358
358
  rewind: g,
359
- pause: y,
359
+ pause: v,
360
360
  cancel: u,
361
361
  set: d,
362
- isPaused: x
362
+ isPaused: S
363
363
  };
364
364
  }
365
- function bi(t) {
365
+ function Si(t) {
366
366
  var e = t;
367
367
  function n(r) {
368
368
  e = r;
@@ -375,167 +375,167 @@ function bi(t) {
375
375
  is: o
376
376
  };
377
377
  }
378
- function Si(t, e) {
378
+ function xi(t, e) {
379
379
  var n = gn(0, t, null, 1);
380
380
  return function() {
381
381
  n.isPaused() && n.start();
382
382
  };
383
383
  }
384
- function xi(t, e, n) {
385
- var o = t.state, r = n.breakpoints || {}, a = n.reducedMotion || {}, i = zo(), l = [];
384
+ function Ci(t, e, n) {
385
+ var o = t.state, r = n.breakpoints || {}, a = n.reducedMotion || {}, i = Mo(), l = [];
386
386
  function s() {
387
387
  var u = n.mediaQuery === "min";
388
- Re(r).sort(function(d, x) {
389
- return u ? +d - +x : +x - +d;
388
+ Re(r).sort(function(d, S) {
389
+ return u ? +d - +S : +S - +d;
390
390
  }).forEach(function(d) {
391
391
  c(r[d], "(" + (u ? "min" : "max") + "-width:" + d + "px)");
392
- }), c(a, ao), $();
392
+ }), c(a, lo), $();
393
393
  }
394
394
  function p(u) {
395
395
  u && i.destroy();
396
396
  }
397
397
  function c(u, d) {
398
- var x = matchMedia(d);
399
- i.bind(x, "change", $), l.push([u, x]);
398
+ var S = matchMedia(d);
399
+ i.bind(S, "change", $), l.push([u, S]);
400
400
  }
401
401
  function $() {
402
- var u = o.is(rn), d = n.direction, x = l.reduce(function(v, f) {
403
- return Jt(v, f[1].matches ? f[0] : {});
402
+ var u = o.is(rn), d = n.direction, S = l.reduce(function(f, h) {
403
+ return Kt(f, h[1].matches ? h[0] : {});
404
404
  }, {});
405
- so(n), g(x), n.destroy ? t.destroy(n.destroy === "completely") : u ? (p(!0), t.mount()) : d !== n.direction && t.refresh();
405
+ co(n), g(S), n.destroy ? t.destroy(n.destroy === "completely") : u ? (p(!0), t.mount()) : d !== n.direction && t.refresh();
406
406
  }
407
- function y(u) {
408
- matchMedia(ao).matches && (u ? Jt(n, a) : so(n, Re(a)));
407
+ function v(u) {
408
+ matchMedia(lo).matches && (u ? Kt(n, a) : co(n, Re(a)));
409
409
  }
410
- function g(u, d, x) {
411
- Jt(n, u), d && Jt(Object.getPrototypeOf(n), u), (x || !o.is(me)) && t.emit(Ct, n);
410
+ function g(u, d, S) {
411
+ Kt(n, u), d && Kt(Object.getPrototypeOf(n), u), (S || !o.is(me)) && t.emit($t, n);
412
412
  }
413
413
  return {
414
414
  setup: s,
415
415
  destroy: p,
416
- reduce: y,
416
+ reduce: v,
417
417
  set: g
418
418
  };
419
419
  }
420
- var mn = "Arrow", fn = mn + "Left", hn = mn + "Right", tr = mn + "Up", er = mn + "Down", po = "rtl", yn = "ttb", $n = {
420
+ var mn = "Arrow", fn = mn + "Left", hn = mn + "Right", er = mn + "Up", nr = mn + "Down", go = "rtl", yn = "ttb", $n = {
421
421
  width: ["height"],
422
422
  left: ["top", "right"],
423
423
  right: ["bottom", "left"],
424
424
  x: ["y"],
425
425
  X: ["Y"],
426
426
  Y: ["X"],
427
- ArrowLeft: [tr, hn],
428
- ArrowRight: [er, fn]
427
+ ArrowLeft: [er, hn],
428
+ ArrowRight: [nr, fn]
429
429
  };
430
- function Ci(t, e, n) {
430
+ function $i(t, e, n) {
431
431
  function o(a, i, l) {
432
432
  l = l || n.direction;
433
- var s = l === po && !i ? 1 : l === yn ? 0 : -1;
433
+ var s = l === go && !i ? 1 : l === yn ? 0 : -1;
434
434
  return $n[a] && $n[a][s] || a.replace(/width|left|right/i, function(p, c) {
435
435
  var $ = $n[p.toLowerCase()][s] || p;
436
436
  return c > 0 ? $.charAt(0).toUpperCase() + $.slice(1) : $;
437
437
  });
438
438
  }
439
439
  function r(a) {
440
- return a * (n.direction === po ? 1 : -1);
440
+ return a * (n.direction === go ? 1 : -1);
441
441
  }
442
442
  return {
443
443
  resolve: o,
444
444
  orient: r
445
445
  };
446
446
  }
447
- var Gt = "role", he = "tabindex", $i = "disabled", Bt = "aria-", je = Bt + "controls", nr = Bt + "current", go = Bt + "selected", At = Bt + "label", Jn = Bt + "labelledby", or = Bt + "hidden", Zn = Bt + "orientation", We = Bt + "roledescription", mo = Bt + "live", fo = Bt + "busy", ho = Bt + "atomic", Qn = [Gt, he, $i, je, nr, At, Jn, or, Zn, We], Wt = De + "__", ne = "is-", _n = De, yo = Wt + "track", _i = Wt + "list", vn = Wt + "slide", rr = vn + "--clone", wi = vn + "__container", to = Wt + "arrows", bn = Wt + "arrow", ir = bn + "--prev", ar = bn + "--next", Sn = Wt + "pagination", lr = Sn + "__page", Ti = Wt + "progress", Li = Ti + "__bar", Ei = Wt + "toggle", Ai = Wt + "spinner", Ii = Wt + "sr", ki = ne + "initialized", se = ne + "active", sr = ne + "prev", cr = ne + "next", Bn = ne + "visible", Pn = ne + "loading", ur = ne + "focus-in", pr = ne + "overflow", Fi = [se, Bn, sr, cr, Pn, ur, pr], Ri = {
447
+ var Ut = "role", he = "tabindex", _i = "disabled", Rt = "aria-", je = Rt + "controls", or = Rt + "current", mo = Rt + "selected", Et = Rt + "label", Jn = Rt + "labelledby", rr = Rt + "hidden", Zn = Rt + "orientation", We = Rt + "roledescription", fo = Rt + "live", ho = Rt + "busy", yo = Rt + "atomic", Qn = [Ut, he, _i, je, or, Et, Jn, rr, Zn, We], Wt = De + "__", ee = "is-", _n = De, vo = Wt + "track", wi = Wt + "list", vn = Wt + "slide", ir = vn + "--clone", Ti = vn + "__container", to = Wt + "arrows", bn = Wt + "arrow", ar = bn + "--prev", lr = bn + "--next", Sn = Wt + "pagination", sr = Sn + "__page", Li = Wt + "progress", Ei = Li + "__bar", Ai = Wt + "toggle", Ii = Wt + "spinner", ki = Wt + "sr", Fi = ee + "initialized", se = ee + "active", cr = ee + "prev", ur = ee + "next", Bn = ee + "visible", Pn = ee + "loading", pr = ee + "focus-in", dr = ee + "overflow", Ri = [se, Bn, cr, ur, Pn, pr, dr], Bi = {
448
448
  slide: vn,
449
- clone: rr,
449
+ clone: ir,
450
450
  arrows: to,
451
451
  arrow: bn,
452
- prev: ir,
453
- next: ar,
452
+ prev: ar,
453
+ next: lr,
454
454
  pagination: Sn,
455
- page: lr,
456
- spinner: Ai
455
+ page: sr,
456
+ spinner: Ii
457
457
  };
458
- function Bi(t, e) {
459
- if (Fo(t.closest))
458
+ function Pi(t, e) {
459
+ if (Ro(t.closest))
460
460
  return t.closest(e);
461
461
  for (var n = t; n && n.nodeType === 1 && !Fe(n, e); )
462
462
  n = n.parentElement;
463
463
  return n;
464
464
  }
465
- var Pi = 5, vo = 200, dr = "touchstart mousedown", wn = "touchmove mousemove", Tn = "touchend touchcancel mouseup click";
466
- function Oi(t, e, n) {
467
- var o = mt(t), r = o.on, a = o.bind, i = t.root, l = n.i18n, s = {}, p = [], c = [], $ = [], y, g, u;
465
+ var Oi = 5, bo = 200, gr = "touchstart mousedown", wn = "touchmove mousemove", Tn = "touchend touchcancel mouseup click";
466
+ function Wi(t, e, n) {
467
+ var o = gt(t), r = o.on, a = o.bind, i = t.root, l = n.i18n, s = {}, p = [], c = [], $ = [], v, g, u;
468
468
  function d() {
469
- C(), V(), f();
469
+ C(), V(), h();
470
470
  }
471
- function x() {
472
- r(vt, v), r(vt, d), r(Ct, f), a(document, dr + " keydown", function(h) {
473
- u = h.type === "keydown";
471
+ function S() {
472
+ r(vt, f), r(vt, d), r($t, h), a(document, gr + " keydown", function(y) {
473
+ u = y.type === "keydown";
474
474
  }, {
475
475
  capture: !0
476
476
  }), a(i, "focusin", function() {
477
- jt(i, ur, !!u);
477
+ Dt(i, pr, !!u);
478
478
  });
479
479
  }
480
- function v(h) {
480
+ function f(y) {
481
481
  var L = Qn.concat("style");
482
- Yt(p), Ut(i, c), Ut(y, $), Ot([y, g], L), Ot(i, h ? L : ["style", We]);
482
+ Gt(p), jt(i, c), jt(v, $), Ot([v, g], L), Ot(i, y ? L : ["style", We]);
483
483
  }
484
- function f() {
485
- Ut(i, c), Ut(y, $), c = _(_n), $ = _(yo), Pt(i, c), Pt(y, $), J(i, At, n.label), J(i, Jn, n.labelledby);
484
+ function h() {
485
+ jt(i, c), jt(v, $), c = _(_n), $ = _(vo), Pt(i, c), Pt(v, $), J(i, Et, n.label), J(i, Jn, n.labelledby);
486
486
  }
487
487
  function C() {
488
- y = W("." + yo), g = He(y, "." + _i), Ee(y && g, "A track/list element is missing."), tn(p, Bo(g, "." + vn + ":not(." + rr + ")")), ae({
488
+ v = W("." + vo), g = He(v, "." + wi), Ee(v && g, "A track/list element is missing."), tn(p, Po(g, "." + vn + ":not(." + ir + ")")), ae({
489
489
  arrows: to,
490
490
  pagination: Sn,
491
- prev: ir,
492
- next: ar,
493
- bar: Li,
494
- toggle: Ei
495
- }, function(h, L) {
496
- s[L] = W("." + h);
491
+ prev: ar,
492
+ next: lr,
493
+ bar: Ei,
494
+ toggle: Ai
495
+ }, function(y, L) {
496
+ s[L] = W("." + y);
497
497
  }), Be(s, {
498
498
  root: i,
499
- track: y,
499
+ track: v,
500
500
  list: g,
501
501
  slides: p
502
502
  });
503
503
  }
504
504
  function V() {
505
- var h = i.id || yi(De), L = n.role;
506
- i.id = h, y.id = y.id || h + "-track", g.id = g.id || h + "-list", !Rt(i, Gt) && i.tagName !== "SECTION" && L && J(i, Gt, L), J(i, We, l.carousel), J(g, Gt, "presentation");
505
+ var y = i.id || vi(De), L = n.role;
506
+ i.id = y, v.id = v.id || y + "-track", g.id = g.id || y + "-list", !Ft(i, Ut) && i.tagName !== "SECTION" && L && J(i, Ut, L), J(i, We, l.carousel), J(g, Ut, "presentation");
507
507
  }
508
- function W(h) {
509
- var L = Wo(i, h);
510
- return L && Bi(L, "." + _n) === i ? L : void 0;
508
+ function W(y) {
509
+ var L = No(i, y);
510
+ return L && Pi(L, "." + _n) === i ? L : void 0;
511
511
  }
512
- function _(h) {
513
- return [h + "--" + n.type, h + "--" + n.direction, n.drag && h + "--draggable", n.isNavigation && h + "--nav", h === _n && se];
512
+ function _(y) {
513
+ return [y + "--" + n.type, y + "--" + n.direction, n.drag && y + "--draggable", n.isNavigation && y + "--nav", y === _n && se];
514
514
  }
515
515
  return Be(s, {
516
516
  setup: d,
517
- mount: x,
518
- destroy: v
517
+ mount: S,
518
+ destroy: f
519
519
  });
520
520
  }
521
521
  var xe = "slide", _e = "loop", Ue = "fade";
522
- function Wi(t, e, n, o) {
523
- var r = mt(t), a = r.on, i = r.emit, l = r.bind, s = t.Components, p = t.root, c = t.options, $ = c.isNavigation, y = c.updateOnMove, g = c.i18n, u = c.pagination, d = c.slideFocus, x = s.Direction.resolve, v = Rt(o, "style"), f = Rt(o, At), C = n > -1, V = He(o, "." + wi), W;
522
+ function Ni(t, e, n, o) {
523
+ var r = gt(t), a = r.on, i = r.emit, l = r.bind, s = t.Components, p = t.root, c = t.options, $ = c.isNavigation, v = c.updateOnMove, g = c.i18n, u = c.pagination, d = c.slideFocus, S = s.Direction.resolve, f = Ft(o, "style"), h = Ft(o, Et), C = n > -1, V = He(o, "." + Ti), W;
524
524
  function _() {
525
- C || (o.id = p.id + "-slide" + jn(e + 1), J(o, Gt, u ? "tabpanel" : "group"), J(o, We, g.slide), J(o, At, f || Fn(g.slideLabel, [e + 1, t.length]))), h();
525
+ C || (o.id = p.id + "-slide" + jn(e + 1), J(o, Ut, u ? "tabpanel" : "group"), J(o, We, g.slide), J(o, Et, h || Fn(g.slideLabel, [e + 1, t.length]))), y();
526
526
  }
527
- function h() {
528
- l(o, "click", ut(i, Un, T)), l(o, "keydown", ut(i, Zo, T)), a([$e, Qo, ce], k), a(Yn, F), y && a(qt, z);
527
+ function y() {
528
+ l(o, "click", ut(i, Un, T)), l(o, "keydown", ut(i, Qo, T)), a([$e, tr, ce], k), a(Yn, F), v && a(Yt, z);
529
529
  }
530
530
  function L() {
531
- W = !0, r.destroy(), Ut(o, Fi), Ot(o, Qn), J(o, "style", v), J(o, At, f || "");
531
+ W = !0, r.destroy(), jt(o, Ri), Ot(o, Qn), J(o, "style", f), J(o, Et, h || "");
532
532
  }
533
533
  function F() {
534
- var w = t.splides.map(function(S) {
535
- var I = S.splide.Components.Slides.getAt(e);
534
+ var w = t.splides.map(function(x) {
535
+ var I = x.splide.Components.Slides.getAt(e);
536
536
  return I ? I.slide.id : "";
537
537
  }).join(" ");
538
- J(o, At, Fn(g.slideX, (C ? n : e) + 1)), J(o, je, w), J(o, Gt, d ? "button" : ""), d && Ot(o, We);
538
+ J(o, Et, Fn(g.slideX, (C ? n : e) + 1)), J(o, je, w), J(o, Ut, d ? "button" : ""), d && Ot(o, We);
539
539
  }
540
540
  function z() {
541
541
  W || k();
@@ -543,36 +543,36 @@ function Wi(t, e, n, o) {
543
543
  function k() {
544
544
  if (!W) {
545
545
  var w = t.index;
546
- R(), B(), jt(o, sr, e === w - 1), jt(o, cr, e === w + 1);
546
+ R(), B(), Dt(o, cr, e === w - 1), Dt(o, ur, e === w + 1);
547
547
  }
548
548
  }
549
549
  function R() {
550
- var w = D();
551
- w !== co(o, se) && (jt(o, se, w), J(o, nr, $ && w || ""), i(w ? Mo : Vo, T));
550
+ var w = H();
551
+ w !== uo(o, se) && (Dt(o, se, w), J(o, or, $ && w || ""), i(w ? Vo : Ho, T));
552
552
  }
553
553
  function B() {
554
- var w = m(), S = !w && (!D() || C);
555
- if (t.state.is([Ce, Ne]) || J(o, or, S || ""), J(Hn(o, c.focusableNodes || ""), he, S ? -1 : ""), d && J(o, he, S ? -1 : 0), w !== co(o, Bn) && (jt(o, Bn, w), i(w ? Ho : Do, T)), !w && document.activeElement === o) {
554
+ var w = m(), x = !w && (!H() || C);
555
+ if (t.state.is([Ce, Ne]) || J(o, rr, x || ""), J(Hn(o, c.focusableNodes || ""), he, x ? -1 : ""), d && J(o, he, x ? -1 : 0), w !== uo(o, Bn) && (Dt(o, Bn, w), i(w ? Do : jo, T)), !w && document.activeElement === o) {
556
556
  var I = s.Slides.getAt(t.index);
557
- I && Po(I.slide);
557
+ I && Oo(I.slide);
558
558
  }
559
559
  }
560
- function j(w, S, I) {
561
- Ft(I && V || o, w, S);
560
+ function j(w, x, I) {
561
+ kt(I && V || o, w, x);
562
562
  }
563
- function D() {
563
+ function H() {
564
564
  var w = t.index;
565
565
  return w === e || c.cloneStatus && w === n;
566
566
  }
567
567
  function m() {
568
568
  if (t.is(Ue))
569
- return D();
570
- var w = Et(s.Elements.track), S = Et(o), I = x("left", !0), G = x("right", !0);
571
- return ln(w[I]) <= Oe(S[I]) && ln(S[G]) <= Oe(w[G]);
569
+ return H();
570
+ var w = Lt(s.Elements.track), x = Lt(o), I = S("left", !0), G = S("right", !0);
571
+ return ln(w[I]) <= Oe(x[I]) && ln(x[G]) <= Oe(w[G]);
572
572
  }
573
- function A(w, S) {
573
+ function A(w, x) {
574
574
  var I = _t(w - e);
575
- return !C && (c.rewind || t.is(_e)) && (I = Qt(I, t.length - I)), I <= S;
575
+ return !C && (c.rewind || t.is(_e)) && (I = Zt(I, t.length - I)), I <= x;
576
576
  }
577
577
  var T = {
578
578
  index: e,
@@ -588,12 +588,12 @@ function Wi(t, e, n, o) {
588
588
  };
589
589
  return T;
590
590
  }
591
- function Ni(t, e, n) {
592
- var o = mt(t), r = o.on, a = o.emit, i = o.bind, l = e.Elements, s = l.slides, p = l.list, c = [];
591
+ function zi(t, e, n) {
592
+ var o = gt(t), r = o.on, a = o.emit, i = o.bind, l = e.Elements, s = l.slides, p = l.list, c = [];
593
593
  function $() {
594
- y(), r(vt, g), r(vt, y);
594
+ v(), r(vt, g), r(vt, v);
595
595
  }
596
- function y() {
596
+ function v() {
597
597
  s.forEach(function(k, R) {
598
598
  d(k, R, -1);
599
599
  });
@@ -601,7 +601,7 @@ function Ni(t, e, n) {
601
601
  function g() {
602
602
  W(function(k) {
603
603
  k.destroy();
604
- }), Yt(c);
604
+ }), Gt(c);
605
605
  }
606
606
  function u() {
607
607
  W(function(k) {
@@ -609,28 +609,28 @@ function Ni(t, e, n) {
609
609
  });
610
610
  }
611
611
  function d(k, R, B) {
612
- var j = Wi(t, R, B, k);
613
- j.mount(), c.push(j), c.sort(function(D, m) {
614
- return D.index - m.index;
612
+ var j = Ni(t, R, B, k);
613
+ j.mount(), c.push(j), c.sort(function(H, m) {
614
+ return H.index - m.index;
615
615
  });
616
616
  }
617
- function x(k) {
617
+ function S(k) {
618
618
  return k ? _(function(R) {
619
619
  return !R.isClone;
620
620
  }) : c;
621
621
  }
622
- function v(k) {
622
+ function f(k) {
623
623
  var R = e.Controller, B = R.toIndex(k), j = R.hasFocus() ? 1 : n.perPage;
624
- return _(function(D) {
625
- return en(D.index, B, B + j - 1);
624
+ return _(function(H) {
625
+ return en(H.index, B, B + j - 1);
626
626
  });
627
627
  }
628
- function f(k) {
628
+ function h(k) {
629
629
  return _(k)[0];
630
630
  }
631
631
  function C(k, R) {
632
- It(k, function(B) {
633
- if (Zt(B) && (B = Oo(B)), Ro(B)) {
632
+ At(k, function(B) {
633
+ if (Jt(B) && (B = Wo(B)), Bo(B)) {
634
634
  var j = s[R];
635
635
  j ? Vn(B, j) : Ve(p, B), Pt(B, n.classes.slide), L(B, ut(a, Se));
636
636
  }
@@ -642,22 +642,22 @@ function Ni(t, e, n) {
642
642
  })), a(vt);
643
643
  }
644
644
  function W(k, R) {
645
- x(R).forEach(k);
645
+ S(R).forEach(k);
646
646
  }
647
647
  function _(k) {
648
- return c.filter(Fo(k) ? k : function(R) {
649
- return Zt(k) ? Fe(R.slide, k) : Mn(Me(k), R.index);
648
+ return c.filter(Ro(k) ? k : function(R) {
649
+ return Jt(k) ? Fe(R.slide, k) : Mn(Me(k), R.index);
650
650
  });
651
651
  }
652
- function h(k, R, B) {
652
+ function y(k, R, B) {
653
653
  W(function(j) {
654
654
  j.style(k, R, B);
655
655
  });
656
656
  }
657
657
  function L(k, R) {
658
658
  var B = Hn(k, "img"), j = B.length;
659
- j ? B.forEach(function(D) {
660
- i(D, "load error", function() {
659
+ j ? B.forEach(function(H) {
660
+ i(H, "load error", function() {
661
661
  --j || R();
662
662
  });
663
663
  }) : R();
@@ -673,81 +673,81 @@ function Ni(t, e, n) {
673
673
  destroy: g,
674
674
  update: u,
675
675
  register: d,
676
- get: x,
677
- getIn: v,
678
- getAt: f,
676
+ get: S,
677
+ getIn: f,
678
+ getAt: h,
679
679
  add: C,
680
680
  remove: V,
681
681
  forEach: W,
682
682
  filter: _,
683
- style: h,
683
+ style: y,
684
684
  getLength: F,
685
685
  isEnough: z
686
686
  };
687
687
  }
688
- function zi(t, e, n) {
689
- var o = mt(t), r = o.on, a = o.bind, i = o.emit, l = e.Slides, s = e.Direction.resolve, p = e.Elements, c = p.root, $ = p.track, y = p.list, g = l.getAt, u = l.style, d, x, v;
690
- function f() {
691
- C(), a(window, "resize load", Si(ut(i, Se))), r([Ct, vt], C), r(Se, V);
688
+ function Mi(t, e, n) {
689
+ var o = gt(t), r = o.on, a = o.bind, i = o.emit, l = e.Slides, s = e.Direction.resolve, p = e.Elements, c = p.root, $ = p.track, v = p.list, g = l.getAt, u = l.style, d, S, f;
690
+ function h() {
691
+ C(), a(window, "resize load", xi(ut(i, Se))), r([$t, vt], C), r(Se, V);
692
692
  }
693
693
  function C() {
694
- d = n.direction === yn, Ft(c, "maxWidth", oe(n.width)), Ft($, s("paddingLeft"), W(!1)), Ft($, s("paddingRight"), W(!0)), V(!0);
694
+ d = n.direction === yn, kt(c, "maxWidth", oe(n.width)), kt($, s("paddingLeft"), W(!1)), kt($, s("paddingRight"), W(!0)), V(!0);
695
695
  }
696
696
  function V(T) {
697
- var w = Et(c);
698
- (T || x.width !== w.width || x.height !== w.height) && (Ft($, "height", _()), u(s("marginRight"), oe(n.gap)), u("width", L()), u("height", F(), !0), x = w, i(pn), v !== (v = A()) && (jt(c, pr, v), i(vi, v)));
697
+ var w = Lt(c);
698
+ (T || S.width !== w.width || S.height !== w.height) && (kt($, "height", _()), u(s("marginRight"), oe(n.gap)), u("width", L()), u("height", F(), !0), S = w, i(pn), f !== (f = A()) && (Dt(c, dr, f), i(bi, f)));
699
699
  }
700
700
  function W(T) {
701
- var w = n.padding, S = s(T ? "right" : "left");
702
- return w && oe(w[S] || (ke(w) ? 0 : w)) || "0px";
701
+ var w = n.padding, x = s(T ? "right" : "left");
702
+ return w && oe(w[x] || (ke(w) ? 0 : w)) || "0px";
703
703
  }
704
704
  function _() {
705
705
  var T = "";
706
- return d && (T = h(), Ee(T, "height or heightRatio is missing."), T = "calc(" + T + " - " + W(!1) + " - " + W(!0) + ")"), T;
706
+ return d && (T = y(), Ee(T, "height or heightRatio is missing."), T = "calc(" + T + " - " + W(!1) + " - " + W(!0) + ")"), T;
707
707
  }
708
- function h() {
709
- return oe(n.height || Et(y).width * n.heightRatio);
708
+ function y() {
709
+ return oe(n.height || Lt(v).width * n.heightRatio);
710
710
  }
711
711
  function L() {
712
712
  return n.autoWidth ? null : oe(n.fixedWidth) || (d ? "" : z());
713
713
  }
714
714
  function F() {
715
- return oe(n.fixedHeight) || (d ? n.autoHeight ? null : z() : h());
715
+ return oe(n.fixedHeight) || (d ? n.autoHeight ? null : z() : y());
716
716
  }
717
717
  function z() {
718
718
  var T = oe(n.gap);
719
719
  return "calc((100%" + (T && " + " + T) + ")/" + (n.perPage || 1) + (T && " - " + T) + ")";
720
720
  }
721
721
  function k() {
722
- return Et(y)[s("width")];
722
+ return Lt(v)[s("width")];
723
723
  }
724
724
  function R(T, w) {
725
- var S = g(T || 0);
726
- return S ? Et(S.slide)[s("width")] + (w ? 0 : D()) : 0;
725
+ var x = g(T || 0);
726
+ return x ? Lt(x.slide)[s("width")] + (w ? 0 : H()) : 0;
727
727
  }
728
728
  function B(T, w) {
729
- var S = g(T);
730
- if (S) {
731
- var I = Et(S.slide)[s("right")], G = Et(y)[s("left")];
732
- return _t(I - G) + (w ? 0 : D());
729
+ var x = g(T);
730
+ if (x) {
731
+ var I = Lt(x.slide)[s("right")], G = Lt(v)[s("left")];
732
+ return _t(I - G) + (w ? 0 : H());
733
733
  }
734
734
  return 0;
735
735
  }
736
736
  function j(T) {
737
737
  return B(t.length - 1) - B(0) + R(0, T);
738
738
  }
739
- function D() {
739
+ function H() {
740
740
  var T = g(0);
741
- return T && parseFloat(Ft(T.slide, s("marginRight"))) || 0;
741
+ return T && parseFloat(kt(T.slide, s("marginRight"))) || 0;
742
742
  }
743
743
  function m(T) {
744
- return parseFloat(Ft($, s("padding" + (T ? "Right" : "Left")))) || 0;
744
+ return parseFloat(kt($, s("padding" + (T ? "Right" : "Left")))) || 0;
745
745
  }
746
746
  function A() {
747
747
  return t.is(Ue) || j(!0) > k();
748
748
  }
749
749
  return {
750
- mount: f,
750
+ mount: h,
751
751
  resize: V,
752
752
  listSize: k,
753
753
  slideSize: R,
@@ -757,91 +757,91 @@ function zi(t, e, n) {
757
757
  isOverflow: A
758
758
  };
759
759
  }
760
- var Mi = 2;
761
- function Vi(t, e, n) {
762
- var o = mt(t), r = o.on, a = e.Elements, i = e.Slides, l = e.Direction.resolve, s = [], p;
760
+ var Vi = 2;
761
+ function Hi(t, e, n) {
762
+ var o = gt(t), r = o.on, a = e.Elements, i = e.Slides, l = e.Direction.resolve, s = [], p;
763
763
  function c() {
764
- r(vt, $), r([Ct, Se], g), (p = x()) && (u(p), e.Layout.resize(!0));
764
+ r(vt, $), r([$t, Se], g), (p = S()) && (u(p), e.Layout.resize(!0));
765
765
  }
766
766
  function $() {
767
- y(), c();
767
+ v(), c();
768
768
  }
769
- function y() {
770
- le(s), Yt(s), o.destroy();
769
+ function v() {
770
+ le(s), Gt(s), o.destroy();
771
771
  }
772
772
  function g() {
773
- var v = x();
774
- p !== v && (p < v || !v) && o.emit(vt);
773
+ var f = S();
774
+ p !== f && (p < f || !f) && o.emit(vt);
775
775
  }
776
- function u(v) {
777
- var f = i.get().slice(), C = f.length;
776
+ function u(f) {
777
+ var h = i.get().slice(), C = h.length;
778
778
  if (C) {
779
- for (; f.length < v; )
780
- tn(f, f);
781
- tn(f.slice(-v), f.slice(0, v)).forEach(function(V, W) {
782
- var _ = W < v, h = d(V.slide, W);
783
- _ ? Vn(h, f[0].slide) : Ve(a.list, h), tn(s, h), i.register(h, W - v + (_ ? 0 : C), V.index);
779
+ for (; h.length < f; )
780
+ tn(h, h);
781
+ tn(h.slice(-f), h.slice(0, f)).forEach(function(V, W) {
782
+ var _ = W < f, y = d(V.slide, W);
783
+ _ ? Vn(y, h[0].slide) : Ve(a.list, y), tn(s, y), i.register(y, W - f + (_ ? 0 : C), V.index);
784
784
  });
785
785
  }
786
786
  }
787
- function d(v, f) {
788
- var C = v.cloneNode(!0);
789
- return Pt(C, n.classes.clone), C.id = t.root.id + "-clone" + jn(f + 1), C;
787
+ function d(f, h) {
788
+ var C = f.cloneNode(!0);
789
+ return Pt(C, n.classes.clone), C.id = t.root.id + "-clone" + jn(h + 1), C;
790
790
  }
791
- function x() {
792
- var v = n.clones;
791
+ function S() {
792
+ var f = n.clones;
793
793
  if (!t.is(_e))
794
- v = 0;
795
- else if (ze(v)) {
796
- var f = n[l("fixedWidth")] && e.Layout.slideSize(0), C = f && Oe(Et(a.track)[l("width")] / f);
797
- v = C || n[l("autoWidth")] && t.length || n.perPage * Mi;
794
+ f = 0;
795
+ else if (ze(f)) {
796
+ var h = n[l("fixedWidth")] && e.Layout.slideSize(0), C = h && Oe(Lt(a.track)[l("width")] / h);
797
+ f = C || n[l("autoWidth")] && t.length || n.perPage * Vi;
798
798
  }
799
- return v;
799
+ return f;
800
800
  }
801
801
  return {
802
802
  mount: c,
803
- destroy: y
803
+ destroy: v
804
804
  };
805
805
  }
806
- function Hi(t, e, n) {
807
- var o = mt(t), r = o.on, a = o.emit, i = t.state.set, l = e.Layout, s = l.slideSize, p = l.getPadding, c = l.totalSize, $ = l.listSize, y = l.sliderSize, g = e.Direction, u = g.resolve, d = g.orient, x = e.Elements, v = x.list, f = x.track, C;
806
+ function Di(t, e, n) {
807
+ var o = gt(t), r = o.on, a = o.emit, i = t.state.set, l = e.Layout, s = l.slideSize, p = l.getPadding, c = l.totalSize, $ = l.listSize, v = l.sliderSize, g = e.Direction, u = g.resolve, d = g.orient, S = e.Elements, f = S.list, h = S.track, C;
808
808
  function V() {
809
- C = e.Transition, r([ee, pn, Ct, vt], W);
809
+ C = e.Transition, r([te, pn, $t, vt], W);
810
810
  }
811
811
  function W() {
812
- e.Controller.isBusy() || (e.Scroll.cancel(), h(t.index), e.Slides.update());
812
+ e.Controller.isBusy() || (e.Scroll.cancel(), y(t.index), e.Slides.update());
813
813
  }
814
- function _(S, I, G, ot) {
815
- S !== I && T(S > G) && (k(), L(z(j(), S > G), !0)), i(Ce), a(qt, I, G, S), C.start(I, function() {
816
- i(be), a($e, I, G, S), ot && ot();
814
+ function _(x, I, G, ot) {
815
+ x !== I && T(x > G) && (k(), L(z(j(), x > G), !0)), i(Ce), a(Yt, I, G, x), C.start(I, function() {
816
+ i(be), a($e, I, G, x), ot && ot();
817
817
  });
818
818
  }
819
- function h(S) {
820
- L(B(S, !0));
819
+ function y(x) {
820
+ L(B(x, !0));
821
821
  }
822
- function L(S, I) {
822
+ function L(x, I) {
823
823
  if (!t.is(Ue)) {
824
- var G = I ? S : F(S);
825
- Ft(v, "transform", "translate" + u("X") + "(" + G + "px)"), S !== G && a(Qo);
824
+ var G = I ? x : F(x);
825
+ kt(f, "transform", "translate" + u("X") + "(" + G + "px)"), x !== G && a(tr);
826
826
  }
827
827
  }
828
- function F(S) {
828
+ function F(x) {
829
829
  if (t.is(_e)) {
830
- var I = R(S), G = I > e.Controller.getEnd(), ot = I < 0;
831
- (ot || G) && (S = z(S, G));
830
+ var I = R(x), G = I > e.Controller.getEnd(), ot = I < 0;
831
+ (ot || G) && (x = z(x, G));
832
832
  }
833
- return S;
833
+ return x;
834
834
  }
835
- function z(S, I) {
836
- var G = S - A(I), ot = y();
837
- return S -= d(ot * (Oe(_t(G) / ot) || 1)) * (I ? 1 : -1), S;
835
+ function z(x, I) {
836
+ var G = x - A(I), ot = v();
837
+ return x -= d(ot * (Oe(_t(G) / ot) || 1)) * (I ? 1 : -1), x;
838
838
  }
839
839
  function k() {
840
840
  L(j(), !0), C.cancel();
841
841
  }
842
- function R(S) {
842
+ function R(x) {
843
843
  for (var I = e.Slides.get(), G = 0, ot = 1 / 0, tt = 0; tt < I.length; tt++) {
844
- var rt = I[tt].index, E = _t(B(rt, !0) - S);
844
+ var rt = I[tt].index, E = _t(B(rt, !0) - x);
845
845
  if (E <= ot)
846
846
  ot = E, G = rt;
847
847
  else
@@ -849,37 +849,37 @@ function Hi(t, e, n) {
849
849
  }
850
850
  return G;
851
851
  }
852
- function B(S, I) {
853
- var G = d(c(S - 1) - m(S));
854
- return I ? D(G) : G;
852
+ function B(x, I) {
853
+ var G = d(c(x - 1) - m(x));
854
+ return I ? H(G) : G;
855
855
  }
856
856
  function j() {
857
- var S = u("left");
858
- return Et(v)[S] - Et(f)[S] + d(p(!1));
857
+ var x = u("left");
858
+ return Lt(f)[x] - Lt(h)[x] + d(p(!1));
859
859
  }
860
- function D(S) {
861
- return n.trimSpace && t.is(xe) && (S = de(S, 0, d(y(!0) - $()))), S;
860
+ function H(x) {
861
+ return n.trimSpace && t.is(xe) && (x = de(x, 0, d(v(!0) - $()))), x;
862
862
  }
863
- function m(S) {
863
+ function m(x) {
864
864
  var I = n.focus;
865
- return I === "center" ? ($() - s(S, !0)) / 2 : +I * s(S) || 0;
865
+ return I === "center" ? ($() - s(x, !0)) / 2 : +I * s(x) || 0;
866
866
  }
867
- function A(S) {
868
- return B(S ? e.Controller.getEnd() : 0, !!n.trimSpace);
867
+ function A(x) {
868
+ return B(x ? e.Controller.getEnd() : 0, !!n.trimSpace);
869
869
  }
870
- function T(S) {
871
- var I = d(z(j(), S));
872
- return S ? I >= 0 : I <= v[u("scrollWidth")] - Et(f)[u("width")];
870
+ function T(x) {
871
+ var I = d(z(j(), x));
872
+ return x ? I >= 0 : I <= f[u("scrollWidth")] - Lt(h)[u("width")];
873
873
  }
874
- function w(S, I) {
874
+ function w(x, I) {
875
875
  I = ze(I) ? j() : I;
876
- var G = S !== !0 && d(I) < d(A(!1)), ot = S !== !1 && d(I) > d(A(!0));
876
+ var G = x !== !0 && d(I) < d(A(!1)), ot = x !== !1 && d(I) > d(A(!0));
877
877
  return G || ot;
878
878
  }
879
879
  return {
880
880
  mount: V,
881
881
  move: _,
882
- jump: h,
882
+ jump: y,
883
883
  translate: L,
884
884
  shift: z,
885
885
  cancel: k,
@@ -891,63 +891,63 @@ function Hi(t, e, n) {
891
891
  reposition: W
892
892
  };
893
893
  }
894
- function Di(t, e, n) {
895
- var o = mt(t), r = o.on, a = o.emit, i = e.Move, l = i.getPosition, s = i.getLimit, p = i.toPosition, c = e.Slides, $ = c.isEnough, y = c.getLength, g = n.omitEnd, u = t.is(_e), d = t.is(xe), x = ut(j, !1), v = ut(j, !0), f = n.start || 0, C, V = f, W, _, h;
894
+ function ji(t, e, n) {
895
+ var o = gt(t), r = o.on, a = o.emit, i = e.Move, l = i.getPosition, s = i.getLimit, p = i.toPosition, c = e.Slides, $ = c.isEnough, v = c.getLength, g = n.omitEnd, u = t.is(_e), d = t.is(xe), S = ut(j, !1), f = ut(j, !0), h = n.start || 0, C, V = h, W, _, y;
896
896
  function L() {
897
- F(), r([Ct, vt, sn], F), r(pn, z);
897
+ F(), r([$t, vt, sn], F), r(pn, z);
898
898
  }
899
899
  function F() {
900
- W = y(!0), _ = n.perMove, h = n.perPage, C = T();
901
- var E = de(f, 0, g ? C : W - 1);
902
- E !== f && (f = E, i.reposition());
900
+ W = v(!0), _ = n.perMove, y = n.perPage, C = T();
901
+ var E = de(h, 0, g ? C : W - 1);
902
+ E !== h && (h = E, i.reposition());
903
903
  }
904
904
  function z() {
905
905
  C !== T() && a(sn);
906
906
  }
907
- function k(E, X, ft) {
907
+ function k(E, X, mt) {
908
908
  if (!rt()) {
909
- var lt = B(E), ht = A(lt);
910
- ht > -1 && (X || ht !== f) && (G(ht), i.move(lt, ht, V, ft));
909
+ var lt = B(E), ft = A(lt);
910
+ ft > -1 && (X || ft !== h) && (G(ft), i.move(lt, ft, V, mt));
911
911
  }
912
912
  }
913
- function R(E, X, ft, lt) {
914
- e.Scroll.scroll(E, X, ft, function() {
915
- var ht = A(i.toIndex(l()));
916
- G(g ? Qt(ht, C) : ht), lt && lt();
913
+ function R(E, X, mt, lt) {
914
+ e.Scroll.scroll(E, X, mt, function() {
915
+ var ft = A(i.toIndex(l()));
916
+ G(g ? Zt(ft, C) : ft), lt && lt();
917
917
  });
918
918
  }
919
919
  function B(E) {
920
- var X = f;
921
- if (Zt(E)) {
922
- var ft = E.match(/([+\-<>])(\d+)?/) || [], lt = ft[1], ht = ft[2];
923
- lt === "+" || lt === "-" ? X = D(f + +("" + lt + (+ht || 1)), f) : lt === ">" ? X = ht ? w(+ht) : x(!0) : lt === "<" && (X = v(!0));
920
+ var X = h;
921
+ if (Jt(E)) {
922
+ var mt = E.match(/([+\-<>])(\d+)?/) || [], lt = mt[1], ft = mt[2];
923
+ lt === "+" || lt === "-" ? X = H(h + +("" + lt + (+ft || 1)), h) : lt === ">" ? X = ft ? w(+ft) : S(!0) : lt === "<" && (X = f(!0));
924
924
  } else
925
925
  X = u ? E : de(E, 0, C);
926
926
  return X;
927
927
  }
928
928
  function j(E, X) {
929
- var ft = _ || (tt() ? 1 : h), lt = D(f + ft * (E ? -1 : 1), f, !(_ || tt()));
930
- return lt === -1 && d && !No(l(), s(!E), 1) ? E ? 0 : C : X ? lt : A(lt);
929
+ var mt = _ || (tt() ? 1 : y), lt = H(h + mt * (E ? -1 : 1), h, !(_ || tt()));
930
+ return lt === -1 && d && !zo(l(), s(!E), 1) ? E ? 0 : C : X ? lt : A(lt);
931
931
  }
932
- function D(E, X, ft) {
932
+ function H(E, X, mt) {
933
933
  if ($() || tt()) {
934
934
  var lt = m(E);
935
- lt !== E && (X = E, E = lt, ft = !1), E < 0 || E > C ? !_ && (en(0, E, X, !0) || en(C, X, E, !0)) ? E = w(S(E)) : u ? E = ft ? E < 0 ? -(W % h || h) : W : E : n.rewind ? E = E < 0 ? C : 0 : E = -1 : ft && E !== X && (E = w(S(X) + (E < X ? -1 : 1)));
935
+ lt !== E && (X = E, E = lt, mt = !1), E < 0 || E > C ? !_ && (en(0, E, X, !0) || en(C, X, E, !0)) ? E = w(x(E)) : u ? E = mt ? E < 0 ? -(W % y || y) : W : E : n.rewind ? E = E < 0 ? C : 0 : E = -1 : mt && E !== X && (E = w(x(X) + (E < X ? -1 : 1)));
936
936
  } else
937
937
  E = -1;
938
938
  return E;
939
939
  }
940
940
  function m(E) {
941
- if (d && n.trimSpace === "move" && E !== f)
941
+ if (d && n.trimSpace === "move" && E !== h)
942
942
  for (var X = l(); X === p(E, !0) && en(E, 0, t.length - 1, !n.rewind); )
943
- E < f ? --E : ++E;
943
+ E < h ? --E : ++E;
944
944
  return E;
945
945
  }
946
946
  function A(E) {
947
947
  return u ? (E + W) % W || 0 : E;
948
948
  }
949
949
  function T() {
950
- for (var E = W - (tt() || u && _ ? 1 : h); g && E-- > 0; )
950
+ for (var E = W - (tt() || u && _ ? 1 : y); g && E-- > 0; )
951
951
  if (p(W - 1, !0) !== p(E, !0)) {
952
952
  E++;
953
953
  break;
@@ -955,20 +955,20 @@ function Di(t, e, n) {
955
955
  return de(E, 0, W - 1);
956
956
  }
957
957
  function w(E) {
958
- return de(tt() ? E : h * E, 0, C);
958
+ return de(tt() ? E : y * E, 0, C);
959
959
  }
960
- function S(E) {
961
- return tt() ? Qt(E, C) : ln((E >= C ? W - 1 : E) / h);
960
+ function x(E) {
961
+ return tt() ? Zt(E, C) : ln((E >= C ? W - 1 : E) / y);
962
962
  }
963
963
  function I(E) {
964
964
  var X = i.toIndex(E);
965
965
  return d ? de(X, 0, C) : X;
966
966
  }
967
967
  function G(E) {
968
- E !== f && (V = f, f = E);
968
+ E !== h && (V = h, h = E);
969
969
  }
970
970
  function ot(E) {
971
- return E ? V : f;
971
+ return E ? V : h;
972
972
  }
973
973
  function tt() {
974
974
  return !ze(n.focus) || n.isNavigation;
@@ -980,111 +980,111 @@ function Di(t, e, n) {
980
980
  mount: L,
981
981
  go: k,
982
982
  scroll: R,
983
- getNext: x,
984
- getPrev: v,
983
+ getNext: S,
984
+ getPrev: f,
985
985
  getAdjacent: j,
986
986
  getEnd: T,
987
987
  setIndex: G,
988
988
  getIndex: ot,
989
989
  toIndex: w,
990
- toPage: S,
990
+ toPage: x,
991
991
  toDest: I,
992
992
  hasFocus: tt,
993
993
  isBusy: rt
994
994
  };
995
995
  }
996
- var ji = "http://www.w3.org/2000/svg", Ui = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", qe = 40;
997
- function Gi(t, e, n) {
998
- var o = mt(t), r = o.on, a = o.bind, i = o.emit, l = n.classes, s = n.i18n, p = e.Elements, c = e.Controller, $ = p.arrows, y = p.track, g = $, u = p.prev, d = p.next, x, v, f = {};
996
+ var Ui = "http://www.w3.org/2000/svg", Gi = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", qe = 40;
997
+ function Yi(t, e, n) {
998
+ var o = gt(t), r = o.on, a = o.bind, i = o.emit, l = n.classes, s = n.i18n, p = e.Elements, c = e.Controller, $ = p.arrows, v = p.track, g = $, u = p.prev, d = p.next, S, f, h = {};
999
999
  function C() {
1000
- W(), r(Ct, V);
1000
+ W(), r($t, V);
1001
1001
  }
1002
1002
  function V() {
1003
1003
  _(), C();
1004
1004
  }
1005
1005
  function W() {
1006
1006
  var R = n.arrows;
1007
- R && !(u && d) && F(), u && d && (Be(f, {
1007
+ R && !(u && d) && F(), u && d && (Be(h, {
1008
1008
  prev: u,
1009
1009
  next: d
1010
- }), Pe(g, R ? "" : "none"), Pt(g, v = to + "--" + n.direction), R && (h(), k(), J([u, d], je, y.id), i(Yo, u, d)));
1010
+ }), Pe(g, R ? "" : "none"), Pt(g, f = to + "--" + n.direction), R && (y(), k(), J([u, d], je, v.id), i(qo, u, d)));
1011
1011
  }
1012
1012
  function _() {
1013
- o.destroy(), Ut(g, v), x ? (le($ ? [u, d] : g), u = d = null) : Ot([u, d], Qn);
1013
+ o.destroy(), jt(g, f), S ? (le($ ? [u, d] : g), u = d = null) : Ot([u, d], Qn);
1014
1014
  }
1015
- function h() {
1016
- r([ee, $e, vt, ce, sn], k), a(d, "click", ut(L, ">")), a(u, "click", ut(L, "<"));
1015
+ function y() {
1016
+ r([te, $e, vt, ce, sn], k), a(d, "click", ut(L, ">")), a(u, "click", ut(L, "<"));
1017
1017
  }
1018
1018
  function L(R) {
1019
1019
  c.go(R, !0);
1020
1020
  }
1021
1021
  function F() {
1022
- g = $ || fe("div", l.arrows), u = z(!0), d = z(!1), x = !0, Ve(g, [u, d]), !$ && Vn(g, y);
1022
+ g = $ || fe("div", l.arrows), u = z(!0), d = z(!1), S = !0, Ve(g, [u, d]), !$ && Vn(g, v);
1023
1023
  }
1024
1024
  function z(R) {
1025
- var B = '<button class="' + l.arrow + " " + (R ? l.prev : l.next) + '" type="button"><svg xmlns="' + ji + '" viewBox="0 0 ' + qe + " " + qe + '" width="' + qe + '" height="' + qe + '" focusable="false"><path d="' + (n.arrowPath || Ui) + '" />';
1026
- return Oo(B);
1025
+ var B = '<button class="' + l.arrow + " " + (R ? l.prev : l.next) + '" type="button"><svg xmlns="' + Ui + '" viewBox="0 0 ' + qe + " " + qe + '" width="' + qe + '" height="' + qe + '" focusable="false"><path d="' + (n.arrowPath || Gi) + '" />';
1026
+ return Wo(B);
1027
1027
  }
1028
1028
  function k() {
1029
1029
  if (u && d) {
1030
- var R = t.index, B = c.getPrev(), j = c.getNext(), D = B > -1 && R < B ? s.last : s.prev, m = j > -1 && R > j ? s.first : s.next;
1031
- u.disabled = B < 0, d.disabled = j < 0, J(u, At, D), J(d, At, m), i(qo, u, d, B, j);
1030
+ var R = t.index, B = c.getPrev(), j = c.getNext(), H = B > -1 && R < B ? s.last : s.prev, m = j > -1 && R > j ? s.first : s.next;
1031
+ u.disabled = B < 0, d.disabled = j < 0, J(u, Et, H), J(d, Et, m), i(Xo, u, d, B, j);
1032
1032
  }
1033
1033
  }
1034
1034
  return {
1035
- arrows: f,
1035
+ arrows: h,
1036
1036
  mount: C,
1037
1037
  destroy: _,
1038
1038
  update: k
1039
1039
  };
1040
1040
  }
1041
- var Yi = Dn + "-interval";
1042
- function qi(t, e, n) {
1043
- var o = mt(t), r = o.on, a = o.bind, i = o.emit, l = gn(n.interval, t.go.bind(t, ">"), h), s = l.isPaused, p = e.Elements, c = e.Elements, $ = c.root, y = c.toggle, g = n.autoplay, u, d, x = g === "pause";
1044
- function v() {
1045
- g && (f(), y && J(y, je, p.track.id), x || C(), _());
1046
- }
1041
+ var qi = Dn + "-interval";
1042
+ function Xi(t, e, n) {
1043
+ var o = gt(t), r = o.on, a = o.bind, i = o.emit, l = gn(n.interval, t.go.bind(t, ">"), y), s = l.isPaused, p = e.Elements, c = e.Elements, $ = c.root, v = c.toggle, g = n.autoplay, u, d, S = g === "pause";
1047
1044
  function f() {
1045
+ g && (h(), v && J(v, je, p.track.id), S || C(), _());
1046
+ }
1047
+ function h() {
1048
1048
  n.pauseOnHover && a($, "mouseenter mouseleave", function(F) {
1049
1049
  u = F.type === "mouseenter", W();
1050
1050
  }), n.pauseOnFocus && a($, "focusin focusout", function(F) {
1051
1051
  d = F.type === "focusin", W();
1052
- }), y && a(y, "click", function() {
1053
- x ? C() : V(!0);
1054
- }), r([qt, dn, vt], l.rewind), r(qt, L);
1052
+ }), v && a(v, "click", function() {
1053
+ S ? C() : V(!0);
1054
+ }), r([Yt, dn, vt], l.rewind), r(Yt, L);
1055
1055
  }
1056
1056
  function C() {
1057
- s() && e.Slides.isEnough() && (l.start(!n.resetProgress), d = u = x = !1, _(), i(qn));
1057
+ s() && e.Slides.isEnough() && (l.start(!n.resetProgress), d = u = S = !1, _(), i(qn));
1058
1058
  }
1059
1059
  function V(F) {
1060
- F === void 0 && (F = !0), x = !!F, _(), s() || (l.pause(), i(Xn));
1060
+ F === void 0 && (F = !0), S = !!F, _(), s() || (l.pause(), i(Xn));
1061
1061
  }
1062
1062
  function W() {
1063
- x || (u || d ? V(!1) : C());
1063
+ S || (u || d ? V(!1) : C());
1064
1064
  }
1065
1065
  function _() {
1066
- y && (jt(y, se, !x), J(y, At, n.i18n[x ? "play" : "pause"]));
1066
+ v && (Dt(v, se, !S), J(v, Et, n.i18n[S ? "play" : "pause"]));
1067
1067
  }
1068
- function h(F) {
1068
+ function y(F) {
1069
1069
  var z = p.bar;
1070
- z && Ft(z, "width", F * 100 + "%"), i(Jo, F);
1070
+ z && kt(z, "width", F * 100 + "%"), i(Zo, F);
1071
1071
  }
1072
1072
  function L(F) {
1073
1073
  var z = e.Slides.getAt(F);
1074
- l.set(z && +Rt(z.slide, Yi) || n.interval);
1074
+ l.set(z && +Ft(z.slide, qi) || n.interval);
1075
1075
  }
1076
1076
  return {
1077
- mount: v,
1077
+ mount: f,
1078
1078
  destroy: l.cancel,
1079
1079
  play: C,
1080
1080
  pause: V,
1081
1081
  isPaused: s
1082
1082
  };
1083
1083
  }
1084
- function Xi(t, e, n) {
1085
- var o = mt(t), r = o.on;
1084
+ function Ki(t, e, n) {
1085
+ var o = gt(t), r = o.on;
1086
1086
  function a() {
1087
- n.cover && (r(Kn, ut(l, !0)), r([ee, Ct, vt], ut(i, !0)));
1087
+ n.cover && (r(Kn, ut(l, !0)), r([te, $t, vt], ut(i, !0)));
1088
1088
  }
1089
1089
  function i(s) {
1090
1090
  e.Slides.forEach(function(p) {
@@ -1100,42 +1100,42 @@ function Xi(t, e, n) {
1100
1100
  destroy: ut(i, !1)
1101
1101
  };
1102
1102
  }
1103
- var Ki = 10, Ji = 600, Zi = 0.6, Qi = 1.5, ta = 800;
1104
- function ea(t, e, n) {
1105
- var o = mt(t), r = o.on, a = o.emit, i = t.state.set, l = e.Move, s = l.getPosition, p = l.getLimit, c = l.exceededLimit, $ = l.translate, y = t.is(xe), g, u, d = 1;
1106
- function x() {
1107
- r(qt, V), r([Ct, vt], W);
1103
+ var Ji = 10, Zi = 600, Qi = 0.6, ta = 1.5, ea = 800;
1104
+ function na(t, e, n) {
1105
+ var o = gt(t), r = o.on, a = o.emit, i = t.state.set, l = e.Move, s = l.getPosition, p = l.getLimit, c = l.exceededLimit, $ = l.translate, v = t.is(xe), g, u, d = 1;
1106
+ function S() {
1107
+ r(Yt, V), r([$t, vt], W);
1108
1108
  }
1109
- function v(h, L, F, z, k) {
1109
+ function f(y, L, F, z, k) {
1110
1110
  var R = s();
1111
- if (V(), F && (!y || !c())) {
1112
- var B = e.Layout.sliderSize(), j = kn(h) * B * ln(_t(h) / B) || 0;
1113
- h = l.toPosition(e.Controller.toDest(h % B)) + j;
1111
+ if (V(), F && (!v || !c())) {
1112
+ var B = e.Layout.sliderSize(), j = kn(y) * B * ln(_t(y) / B) || 0;
1113
+ y = l.toPosition(e.Controller.toDest(y % B)) + j;
1114
1114
  }
1115
- var D = No(R, h, 1);
1116
- d = 1, L = D ? 0 : L || an(_t(h - R) / Qi, ta), u = z, g = gn(L, f, ut(C, R, h, k), 1), i(Ne), a(dn), g.start();
1115
+ var H = zo(R, y, 1);
1116
+ d = 1, L = H ? 0 : L || an(_t(y - R) / ta, ea), u = z, g = gn(L, h, ut(C, R, y, k), 1), i(Ne), a(dn), g.start();
1117
1117
  }
1118
- function f() {
1118
+ function h() {
1119
1119
  i(be), u && u(), a(ce);
1120
1120
  }
1121
- function C(h, L, F, z) {
1122
- var k = s(), R = h + (L - h) * _(z), B = (R - k) * d;
1123
- $(k + B), y && !F && c() && (d *= Zi, _t(B) < Ki && v(p(c(!0)), Ji, !1, u, !0));
1121
+ function C(y, L, F, z) {
1122
+ var k = s(), R = y + (L - y) * _(z), B = (R - k) * d;
1123
+ $(k + B), v && !F && c() && (d *= Qi, _t(B) < Ji && f(p(c(!0)), Zi, !1, u, !0));
1124
1124
  }
1125
1125
  function V() {
1126
1126
  g && g.cancel();
1127
1127
  }
1128
1128
  function W() {
1129
- g && !g.isPaused() && (V(), f());
1129
+ g && !g.isPaused() && (V(), h());
1130
1130
  }
1131
- function _(h) {
1131
+ function _(y) {
1132
1132
  var L = n.easingFunc;
1133
- return L ? L(h) : 1 - Math.pow(1 - h, 4);
1133
+ return L ? L(y) : 1 - Math.pow(1 - y, 4);
1134
1134
  }
1135
1135
  return {
1136
- mount: x,
1136
+ mount: S,
1137
1137
  destroy: V,
1138
- scroll: v,
1138
+ scroll: f,
1139
1139
  cancel: W
1140
1140
  };
1141
1141
  }
@@ -1143,47 +1143,47 @@ var ge = {
1143
1143
  passive: !1,
1144
1144
  capture: !0
1145
1145
  };
1146
- function na(t, e, n) {
1147
- var o = mt(t), r = o.on, a = o.emit, i = o.bind, l = o.unbind, s = t.state, p = e.Move, c = e.Scroll, $ = e.Controller, y = e.Elements.track, g = e.Media.reduce, u = e.Direction, d = u.resolve, x = u.orient, v = p.getPosition, f = p.exceededLimit, C, V, W, _, h, L = !1, F, z, k;
1146
+ function oa(t, e, n) {
1147
+ var o = gt(t), r = o.on, a = o.emit, i = o.bind, l = o.unbind, s = t.state, p = e.Move, c = e.Scroll, $ = e.Controller, v = e.Elements.track, g = e.Media.reduce, u = e.Direction, d = u.resolve, S = u.orient, f = p.getPosition, h = p.exceededLimit, C, V, W, _, y, L = !1, F, z, k;
1148
1148
  function R() {
1149
- i(y, wn, An, ge), i(y, Tn, An, ge), i(y, dr, j, ge), i(y, "click", A, {
1149
+ i(v, wn, An, ge), i(v, Tn, An, ge), i(v, gr, j, ge), i(v, "click", A, {
1150
1150
  capture: !0
1151
- }), i(y, "dragstart", Dt), r([ee, Ct], B);
1151
+ }), i(v, "dragstart", Ht), r([te, $t], B);
1152
1152
  }
1153
1153
  function B() {
1154
1154
  var M = n.drag;
1155
- Xt(!M), _ = M === "free";
1155
+ qt(!M), _ = M === "free";
1156
1156
  }
1157
1157
  function j(M) {
1158
1158
  if (F = !1, !z) {
1159
- var b = ht(M);
1160
- lt(M.target) && (b || !M.button) && ($.isBusy() ? Dt(M, !0) : (k = b ? y : window, h = s.is([Ce, Ne]), W = null, i(k, wn, D, ge), i(k, Tn, m, ge), p.cancel(), c.cancel(), T(M)));
1159
+ var b = ft(M);
1160
+ lt(M.target) && (b || !M.button) && ($.isBusy() ? Ht(M, !0) : (k = b ? v : window, y = s.is([Ce, Ne]), W = null, i(k, wn, H, ge), i(k, Tn, m, ge), p.cancel(), c.cancel(), T(M)));
1161
1161
  }
1162
1162
  }
1163
- function D(M) {
1164
- if (s.is(Qe) || (s.set(Qe), a(jo)), M.cancelable)
1165
- if (h) {
1166
- p.translate(C + ft(tt(M)));
1167
- var b = rt(M) > vo, H = L !== (L = f());
1168
- (b || H) && T(M), F = !0, a(Uo), Dt(M);
1169
- } else I(M) && (h = S(M), Dt(M));
1163
+ function H(M) {
1164
+ if (s.is(Qe) || (s.set(Qe), a(Uo)), M.cancelable)
1165
+ if (y) {
1166
+ p.translate(C + mt(tt(M)));
1167
+ var b = rt(M) > bo, D = L !== (L = h());
1168
+ (b || D) && T(M), F = !0, a(Go), Ht(M);
1169
+ } else I(M) && (y = x(M), Ht(M));
1170
1170
  }
1171
1171
  function m(M) {
1172
- s.is(Qe) && (s.set(be), a(Go)), h && (w(M), Dt(M)), l(k, wn, D), l(k, Tn, m), h = !1;
1172
+ s.is(Qe) && (s.set(be), a(Yo)), y && (w(M), Ht(M)), l(k, wn, H), l(k, Tn, m), y = !1;
1173
1173
  }
1174
1174
  function A(M) {
1175
- !z && F && Dt(M, !0);
1175
+ !z && F && Ht(M, !0);
1176
1176
  }
1177
1177
  function T(M) {
1178
- W = V, V = M, C = v();
1178
+ W = V, V = M, C = f();
1179
1179
  }
1180
1180
  function w(M) {
1181
- var b = G(M), H = ot(b), Y = n.rewind && n.rewindByDrag;
1182
- g(!1), _ ? $.scroll(H, 0, n.snap) : t.is(Ue) ? $.go(x(kn(b)) < 0 ? Y ? "<" : "-" : Y ? ">" : "+") : t.is(xe) && L && Y ? $.go(f(!0) ? ">" : "<") : $.go($.toDest(H), !0), g(!0);
1181
+ var b = G(M), D = ot(b), Y = n.rewind && n.rewindByDrag;
1182
+ g(!1), _ ? $.scroll(D, 0, n.snap) : t.is(Ue) ? $.go(S(kn(b)) < 0 ? Y ? "<" : "-" : Y ? ">" : "+") : t.is(xe) && L && Y ? $.go(h(!0) ? ">" : "<") : $.go($.toDest(D), !0), g(!0);
1183
1183
  }
1184
- function S(M) {
1185
- var b = n.dragMinThreshold, H = ke(b), Y = H && b.mouse || 0, K = (H ? b.touch : +b) || 10;
1186
- return _t(tt(M)) > (ht(M) ? K : Y);
1184
+ function x(M) {
1185
+ var b = n.dragMinThreshold, D = ke(b), Y = D && b.mouse || 0, K = (D ? b.touch : +b) || 10;
1186
+ return _t(tt(M)) > (ft(M) ? K : Y);
1187
1187
  }
1188
1188
  function I(M) {
1189
1189
  return _t(tt(M)) > _t(tt(M, !0));
@@ -1191,13 +1191,13 @@ function na(t, e, n) {
1191
1191
  function G(M) {
1192
1192
  if (t.is(_e) || !L) {
1193
1193
  var b = rt(M);
1194
- if (b && b < vo)
1194
+ if (b && b < bo)
1195
1195
  return tt(M) / b;
1196
1196
  }
1197
1197
  return 0;
1198
1198
  }
1199
1199
  function ot(M) {
1200
- return v() + kn(M) * Qt(_t(M) * (n.flickPower || 600), _ ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
1200
+ return f() + kn(M) * Zt(_t(M) * (n.flickPower || 600), _ ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
1201
1201
  }
1202
1202
  function tt(M, b) {
1203
1203
  return X(M, b) - X(E(M), b);
@@ -1209,66 +1209,66 @@ function na(t, e, n) {
1209
1209
  return V === M && W || V;
1210
1210
  }
1211
1211
  function X(M, b) {
1212
- return (ht(M) ? M.changedTouches[0] : M)["page" + d(b ? "Y" : "X")];
1212
+ return (ft(M) ? M.changedTouches[0] : M)["page" + d(b ? "Y" : "X")];
1213
1213
  }
1214
- function ft(M) {
1215
- return M / (L && t.is(xe) ? Pi : 1);
1214
+ function mt(M) {
1215
+ return M / (L && t.is(xe) ? Oi : 1);
1216
1216
  }
1217
1217
  function lt(M) {
1218
1218
  var b = n.noDrag;
1219
- return !Fe(M, "." + lr + ", ." + bn) && (!b || !Fe(M, b));
1219
+ return !Fe(M, "." + sr + ", ." + bn) && (!b || !Fe(M, b));
1220
1220
  }
1221
- function ht(M) {
1221
+ function ft(M) {
1222
1222
  return typeof TouchEvent < "u" && M instanceof TouchEvent;
1223
1223
  }
1224
- function bt() {
1225
- return h;
1224
+ function St() {
1225
+ return y;
1226
1226
  }
1227
- function Xt(M) {
1227
+ function qt(M) {
1228
1228
  z = M;
1229
1229
  }
1230
1230
  return {
1231
1231
  mount: R,
1232
- disable: Xt,
1233
- isDragging: bt
1232
+ disable: qt,
1233
+ isDragging: St
1234
1234
  };
1235
1235
  }
1236
- var oa = {
1236
+ var ra = {
1237
1237
  Spacebar: " ",
1238
1238
  Right: hn,
1239
1239
  Left: fn,
1240
- Up: tr,
1241
- Down: er
1240
+ Up: er,
1241
+ Down: nr
1242
1242
  };
1243
1243
  function eo(t) {
1244
- return t = Zt(t) ? t : t.key, oa[t] || t;
1244
+ return t = Jt(t) ? t : t.key, ra[t] || t;
1245
1245
  }
1246
- var bo = "keydown";
1247
- function ra(t, e, n) {
1248
- var o = mt(t), r = o.on, a = o.bind, i = o.unbind, l = t.root, s = e.Direction.resolve, p, c;
1246
+ var So = "keydown";
1247
+ function ia(t, e, n) {
1248
+ var o = gt(t), r = o.on, a = o.bind, i = o.unbind, l = t.root, s = e.Direction.resolve, p, c;
1249
1249
  function $() {
1250
- y(), r(Ct, g), r(Ct, y), r(qt, d);
1250
+ v(), r($t, g), r($t, v), r(Yt, d);
1251
1251
  }
1252
- function y() {
1253
- var v = n.keyboard;
1254
- v && (p = v === "global" ? window : l, a(p, bo, x));
1252
+ function v() {
1253
+ var f = n.keyboard;
1254
+ f && (p = f === "global" ? window : l, a(p, So, S));
1255
1255
  }
1256
1256
  function g() {
1257
- i(p, bo);
1257
+ i(p, So);
1258
1258
  }
1259
- function u(v) {
1260
- c = v;
1259
+ function u(f) {
1260
+ c = f;
1261
1261
  }
1262
1262
  function d() {
1263
- var v = c;
1264
- c = !0, ko(function() {
1265
- c = v;
1263
+ var f = c;
1264
+ c = !0, Fo(function() {
1265
+ c = f;
1266
1266
  });
1267
1267
  }
1268
- function x(v) {
1268
+ function S(f) {
1269
1269
  if (!c) {
1270
- var f = eo(v);
1271
- f === s(fn) ? t.go("<") : f === s(hn) && t.go(">");
1270
+ var h = eo(f);
1271
+ h === s(fn) ? t.go("<") : h === s(hn) && t.go(">");
1272
1272
  }
1273
1273
  }
1274
1274
  return {
@@ -1277,89 +1277,89 @@ function ra(t, e, n) {
1277
1277
  disable: u
1278
1278
  };
1279
1279
  }
1280
- var Ae = Dn + "-lazy", nn = Ae + "-srcset", ia = "[" + Ae + "], [" + nn + "]";
1281
- function aa(t, e, n) {
1282
- var o = mt(t), r = o.on, a = o.off, i = o.bind, l = o.emit, s = n.lazyLoad === "sequential", p = [$e, ce], c = [];
1280
+ var Ae = Dn + "-lazy", nn = Ae + "-srcset", aa = "[" + Ae + "], [" + nn + "]";
1281
+ function la(t, e, n) {
1282
+ var o = gt(t), r = o.on, a = o.off, i = o.bind, l = o.emit, s = n.lazyLoad === "sequential", p = [$e, ce], c = [];
1283
1283
  function $() {
1284
- n.lazyLoad && (y(), r(vt, y));
1284
+ n.lazyLoad && (v(), r(vt, v));
1285
1285
  }
1286
- function y() {
1287
- Yt(c), g(), s ? v() : (a(p), r(p, u), u());
1286
+ function v() {
1287
+ Gt(c), g(), s ? f() : (a(p), r(p, u), u());
1288
1288
  }
1289
1289
  function g() {
1290
- e.Slides.forEach(function(f) {
1291
- Hn(f.slide, ia).forEach(function(C) {
1292
- var V = Rt(C, Ae), W = Rt(C, nn);
1290
+ e.Slides.forEach(function(h) {
1291
+ Hn(h.slide, aa).forEach(function(C) {
1292
+ var V = Ft(C, Ae), W = Ft(C, nn);
1293
1293
  if (V !== C.src || W !== C.srcset) {
1294
- var _ = n.classes.spinner, h = C.parentElement, L = He(h, "." + _) || fe("span", _, h);
1295
- c.push([C, f, L]), C.src || Pe(C, "none");
1294
+ var _ = n.classes.spinner, y = C.parentElement, L = He(y, "." + _) || fe("span", _, y);
1295
+ c.push([C, h, L]), C.src || Pe(C, "none");
1296
1296
  }
1297
1297
  });
1298
1298
  });
1299
1299
  }
1300
1300
  function u() {
1301
- c = c.filter(function(f) {
1301
+ c = c.filter(function(h) {
1302
1302
  var C = n.perPage * ((n.preloadPages || 1) + 1) - 1;
1303
- return f[1].isWithin(t.index, C) ? d(f) : !0;
1303
+ return h[1].isWithin(t.index, C) ? d(h) : !0;
1304
1304
  }), c.length || a(p);
1305
1305
  }
1306
- function d(f) {
1307
- var C = f[0];
1308
- Pt(f[1].slide, Pn), i(C, "load error", ut(x, f)), J(C, "src", Rt(C, Ae)), J(C, "srcset", Rt(C, nn)), Ot(C, Ae), Ot(C, nn);
1306
+ function d(h) {
1307
+ var C = h[0];
1308
+ Pt(h[1].slide, Pn), i(C, "load error", ut(S, h)), J(C, "src", Ft(C, Ae)), J(C, "srcset", Ft(C, nn)), Ot(C, Ae), Ot(C, nn);
1309
1309
  }
1310
- function x(f, C) {
1311
- var V = f[0], W = f[1];
1312
- Ut(W.slide, Pn), C.type !== "error" && (le(f[2]), Pe(V, ""), l(Kn, V, W), l(Se)), s && v();
1310
+ function S(h, C) {
1311
+ var V = h[0], W = h[1];
1312
+ jt(W.slide, Pn), C.type !== "error" && (le(h[2]), Pe(V, ""), l(Kn, V, W), l(Se)), s && f();
1313
1313
  }
1314
- function v() {
1314
+ function f() {
1315
1315
  c.length && d(c.shift());
1316
1316
  }
1317
1317
  return {
1318
1318
  mount: $,
1319
- destroy: ut(Yt, c),
1319
+ destroy: ut(Gt, c),
1320
1320
  check: u
1321
1321
  };
1322
1322
  }
1323
- function la(t, e, n) {
1324
- var o = mt(t), r = o.on, a = o.emit, i = o.bind, l = e.Slides, s = e.Elements, p = e.Controller, c = p.hasFocus, $ = p.getIndex, y = p.go, g = e.Direction.resolve, u = s.pagination, d = [], x, v;
1325
- function f() {
1326
- C(), r([Ct, vt, sn], f);
1323
+ function sa(t, e, n) {
1324
+ var o = gt(t), r = o.on, a = o.emit, i = o.bind, l = e.Slides, s = e.Elements, p = e.Controller, c = p.hasFocus, $ = p.getIndex, v = p.go, g = e.Direction.resolve, u = s.pagination, d = [], S, f;
1325
+ function h() {
1326
+ C(), r([$t, vt, sn], h);
1327
1327
  var z = n.pagination;
1328
- u && Pe(u, z ? "" : "none"), z && (r([qt, dn, ce], F), V(), F(), a(Xo, {
1329
- list: x,
1328
+ u && Pe(u, z ? "" : "none"), z && (r([Yt, dn, ce], F), V(), F(), a(Ko, {
1329
+ list: S,
1330
1330
  items: d
1331
1331
  }, L(t.index)));
1332
1332
  }
1333
1333
  function C() {
1334
- x && (le(u ? te(x.children) : x), Ut(x, v), Yt(d), x = null), o.destroy();
1334
+ S && (le(u ? Qt(S.children) : S), jt(S, f), Gt(d), S = null), o.destroy();
1335
1335
  }
1336
1336
  function V() {
1337
1337
  var z = t.length, k = n.classes, R = n.i18n, B = n.perPage, j = c() ? p.getEnd() + 1 : Oe(z / B);
1338
- x = u || fe("ul", k.pagination, s.track.parentElement), Pt(x, v = Sn + "--" + h()), J(x, Gt, "tablist"), J(x, At, R.select), J(x, Zn, h() === yn ? "vertical" : "");
1339
- for (var D = 0; D < j; D++) {
1340
- var m = fe("li", null, x), A = fe("button", {
1338
+ S = u || fe("ul", k.pagination, s.track.parentElement), Pt(S, f = Sn + "--" + y()), J(S, Ut, "tablist"), J(S, Et, R.select), J(S, Zn, y() === yn ? "vertical" : "");
1339
+ for (var H = 0; H < j; H++) {
1340
+ var m = fe("li", null, S), A = fe("button", {
1341
1341
  class: k.page,
1342
1342
  type: "button"
1343
- }, m), T = l.getIn(D).map(function(S) {
1344
- return S.slide.id;
1343
+ }, m), T = l.getIn(H).map(function(x) {
1344
+ return x.slide.id;
1345
1345
  }), w = !c() && B > 1 ? R.pageX : R.slideX;
1346
- i(A, "click", ut(W, D)), n.paginationKeyboard && i(A, "keydown", ut(_, D)), J(m, Gt, "presentation"), J(A, Gt, "tab"), J(A, je, T.join(" ")), J(A, At, Fn(w, D + 1)), J(A, he, -1), d.push({
1346
+ i(A, "click", ut(W, H)), n.paginationKeyboard && i(A, "keydown", ut(_, H)), J(m, Ut, "presentation"), J(A, Ut, "tab"), J(A, je, T.join(" ")), J(A, Et, Fn(w, H + 1)), J(A, he, -1), d.push({
1347
1347
  li: m,
1348
1348
  button: A,
1349
- page: D
1349
+ page: H
1350
1350
  });
1351
1351
  }
1352
1352
  }
1353
1353
  function W(z) {
1354
- y(">" + z, !0);
1354
+ v(">" + z, !0);
1355
1355
  }
1356
1356
  function _(z, k) {
1357
- var R = d.length, B = eo(k), j = h(), D = -1;
1358
- B === g(hn, !1, j) ? D = ++z % R : B === g(fn, !1, j) ? D = (--z + R) % R : B === "Home" ? D = 0 : B === "End" && (D = R - 1);
1359
- var m = d[D];
1360
- m && (Po(m.button), y(">" + D), Dt(k, !0));
1357
+ var R = d.length, B = eo(k), j = y(), H = -1;
1358
+ B === g(hn, !1, j) ? H = ++z % R : B === g(fn, !1, j) ? H = (--z + R) % R : B === "Home" ? H = 0 : B === "End" && (H = R - 1);
1359
+ var m = d[H];
1360
+ m && (Oo(m.button), v(">" + H), Ht(k, !0));
1361
1361
  }
1362
- function h() {
1362
+ function y() {
1363
1363
  return n.paginationDirection || n.direction;
1364
1364
  }
1365
1365
  function L(z) {
@@ -1369,27 +1369,27 @@ function la(t, e, n) {
1369
1369
  var z = L($(!0)), k = L($());
1370
1370
  if (z) {
1371
1371
  var R = z.button;
1372
- Ut(R, se), Ot(R, go), J(R, he, -1);
1372
+ jt(R, se), Ot(R, mo), J(R, he, -1);
1373
1373
  }
1374
1374
  if (k) {
1375
1375
  var B = k.button;
1376
- Pt(B, se), J(B, go, !0), J(B, he, "");
1376
+ Pt(B, se), J(B, mo, !0), J(B, he, "");
1377
1377
  }
1378
- a(Ko, {
1379
- list: x,
1378
+ a(Jo, {
1379
+ list: S,
1380
1380
  items: d
1381
1381
  }, z, k);
1382
1382
  }
1383
1383
  return {
1384
1384
  items: d,
1385
- mount: f,
1385
+ mount: h,
1386
1386
  destroy: C,
1387
1387
  getAt: L,
1388
1388
  update: F
1389
1389
  };
1390
1390
  }
1391
- var sa = [" ", "Enter"];
1392
- function ca(t, e, n) {
1391
+ var ca = [" ", "Enter"];
1392
+ function ua(t, e, n) {
1393
1393
  var o = n.isNavigation, r = n.slideFocus, a = [];
1394
1394
  function i() {
1395
1395
  t.splides.forEach(function(u) {
@@ -1399,29 +1399,29 @@ function ca(t, e, n) {
1399
1399
  function l() {
1400
1400
  a.forEach(function(u) {
1401
1401
  u.destroy();
1402
- }), Yt(a);
1402
+ }), Gt(a);
1403
1403
  }
1404
1404
  function s() {
1405
1405
  l(), i();
1406
1406
  }
1407
1407
  function p(u, d) {
1408
- var x = mt(u);
1409
- x.on(qt, function(v, f, C) {
1410
- d.go(d.is(_e) ? C : v);
1411
- }), a.push(x);
1408
+ var S = gt(u);
1409
+ S.on(Yt, function(f, h, C) {
1410
+ d.go(d.is(_e) ? C : f);
1411
+ }), a.push(S);
1412
1412
  }
1413
1413
  function c() {
1414
- var u = mt(t), d = u.on;
1415
- d(Un, y), d(Zo, g), d([ee, Ct], $), a.push(u), u.emit(Yn, t.splides);
1414
+ var u = gt(t), d = u.on;
1415
+ d(Un, v), d(Qo, g), d([te, $t], $), a.push(u), u.emit(Yn, t.splides);
1416
1416
  }
1417
1417
  function $() {
1418
1418
  J(e.Elements.list, Zn, n.direction === yn ? "vertical" : "");
1419
1419
  }
1420
- function y(u) {
1420
+ function v(u) {
1421
1421
  t.go(u.index);
1422
1422
  }
1423
1423
  function g(u, d) {
1424
- Mn(sa, eo(d)) && (y(u), Dt(d));
1424
+ Mn(ca, eo(d)) && (v(u), Ht(d));
1425
1425
  }
1426
1426
  return {
1427
1427
  setup: ut(e.Media.set, {
@@ -1432,15 +1432,15 @@ function ca(t, e, n) {
1432
1432
  remount: s
1433
1433
  };
1434
1434
  }
1435
- function ua(t, e, n) {
1436
- var o = mt(t), r = o.bind, a = 0;
1435
+ function pa(t, e, n) {
1436
+ var o = gt(t), r = o.bind, a = 0;
1437
1437
  function i() {
1438
1438
  n.wheel && r(e.Elements.track, "wheel", l, ge);
1439
1439
  }
1440
1440
  function l(p) {
1441
1441
  if (p.cancelable) {
1442
- var c = p.deltaY, $ = c < 0, y = In(p), g = n.wheelMinThreshold || 0, u = n.wheelSleep || 0;
1443
- _t(c) > g && y - a > u && (t.go($ ? "<" : ">"), a = y), s($) && Dt(p);
1442
+ var c = p.deltaY, $ = c < 0, v = In(p), g = n.wheelMinThreshold || 0, u = n.wheelSleep || 0;
1443
+ _t(c) > g && v - a > u && (t.go($ ? "<" : ">"), a = v), s($) && Ht(p);
1444
1444
  }
1445
1445
  }
1446
1446
  function s(p) {
@@ -1450,49 +1450,49 @@ function ua(t, e, n) {
1450
1450
  mount: i
1451
1451
  };
1452
1452
  }
1453
- var pa = 90;
1454
- function da(t, e, n) {
1455
- var o = mt(t), r = o.on, a = e.Elements.track, i = n.live && !n.isNavigation, l = fe("span", Ii), s = gn(pa, ut(c, !1));
1453
+ var da = 90;
1454
+ function ga(t, e, n) {
1455
+ var o = gt(t), r = o.on, a = e.Elements.track, i = n.live && !n.isNavigation, l = fe("span", ki), s = gn(da, ut(c, !1));
1456
1456
  function p() {
1457
- i && (y(!e.Autoplay.isPaused()), J(a, ho, !0), l.textContent = "…", r(qn, ut(y, !0)), r(Xn, ut(y, !1)), r([$e, ce], ut(c, !0)));
1457
+ i && (v(!e.Autoplay.isPaused()), J(a, yo, !0), l.textContent = "…", r(qn, ut(v, !0)), r(Xn, ut(v, !1)), r([$e, ce], ut(c, !0)));
1458
1458
  }
1459
1459
  function c(g) {
1460
- J(a, fo, g), g ? (Ve(a, l), s.start()) : (le(l), s.cancel());
1460
+ J(a, ho, g), g ? (Ve(a, l), s.start()) : (le(l), s.cancel());
1461
1461
  }
1462
1462
  function $() {
1463
- Ot(a, [mo, ho, fo]), le(l);
1463
+ Ot(a, [fo, yo, ho]), le(l);
1464
1464
  }
1465
- function y(g) {
1466
- i && J(a, mo, g ? "off" : "polite");
1465
+ function v(g) {
1466
+ i && J(a, fo, g ? "off" : "polite");
1467
1467
  }
1468
1468
  return {
1469
1469
  mount: p,
1470
- disable: y,
1470
+ disable: v,
1471
1471
  destroy: $
1472
1472
  };
1473
1473
  }
1474
- var ga = /* @__PURE__ */ Object.freeze({
1474
+ var ma = /* @__PURE__ */ Object.freeze({
1475
1475
  __proto__: null,
1476
- Media: xi,
1477
- Direction: Ci,
1478
- Elements: Oi,
1479
- Slides: Ni,
1480
- Layout: zi,
1481
- Clones: Vi,
1482
- Move: Hi,
1483
- Controller: Di,
1484
- Arrows: Gi,
1485
- Autoplay: qi,
1486
- Cover: Xi,
1487
- Scroll: ea,
1488
- Drag: na,
1489
- Keyboard: ra,
1490
- LazyLoad: aa,
1491
- Pagination: la,
1492
- Sync: ca,
1493
- Wheel: ua,
1494
- Live: da
1495
- }), ma = {
1476
+ Media: Ci,
1477
+ Direction: $i,
1478
+ Elements: Wi,
1479
+ Slides: zi,
1480
+ Layout: Mi,
1481
+ Clones: Hi,
1482
+ Move: Di,
1483
+ Controller: ji,
1484
+ Arrows: Yi,
1485
+ Autoplay: Xi,
1486
+ Cover: Ki,
1487
+ Scroll: na,
1488
+ Drag: oa,
1489
+ Keyboard: ia,
1490
+ LazyLoad: la,
1491
+ Pagination: sa,
1492
+ Sync: ua,
1493
+ Wheel: pa,
1494
+ Live: ga
1495
+ }), fa = {
1496
1496
  prev: "Previous slide",
1497
1497
  next: "Next slide",
1498
1498
  first: "Go to first slide",
@@ -1505,7 +1505,7 @@ var ga = /* @__PURE__ */ Object.freeze({
1505
1505
  slide: "slide",
1506
1506
  select: "Select a slide to show",
1507
1507
  slideLabel: "%s of %s"
1508
- }, fa = {
1508
+ }, ha = {
1509
1509
  type: "slide",
1510
1510
  role: "region",
1511
1511
  speed: 400,
@@ -1524,18 +1524,18 @@ var ga = /* @__PURE__ */ Object.freeze({
1524
1524
  trimSpace: !0,
1525
1525
  focusableNodes: "a, button, textarea, input, select, iframe",
1526
1526
  live: !0,
1527
- classes: Ri,
1528
- i18n: ma,
1527
+ classes: Bi,
1528
+ i18n: fa,
1529
1529
  reducedMotion: {
1530
1530
  speed: 0,
1531
1531
  rewindSpeed: 0,
1532
1532
  autoplay: "pause"
1533
1533
  }
1534
1534
  };
1535
- function ha(t, e, n) {
1535
+ function ya(t, e, n) {
1536
1536
  var o = e.Slides;
1537
1537
  function r() {
1538
- mt(t).on([ee, vt], a);
1538
+ gt(t).on([te, vt], a);
1539
1539
  }
1540
1540
  function a() {
1541
1541
  o.forEach(function(l) {
@@ -1543,7 +1543,7 @@ function ha(t, e, n) {
1543
1543
  });
1544
1544
  }
1545
1545
  function i(l, s) {
1546
- o.style("transition", "opacity " + n.speed + "ms " + n.easing), ko(s);
1546
+ o.style("transition", "opacity " + n.speed + "ms " + n.easing), Fo(s);
1547
1547
  }
1548
1548
  return {
1549
1549
  mount: r,
@@ -1551,25 +1551,25 @@ function ha(t, e, n) {
1551
1551
  cancel: An
1552
1552
  };
1553
1553
  }
1554
- function ya(t, e, n) {
1555
- var o = e.Move, r = e.Controller, a = e.Scroll, i = e.Elements.list, l = ut(Ft, i, "transition"), s;
1554
+ function va(t, e, n) {
1555
+ var o = e.Move, r = e.Controller, a = e.Scroll, i = e.Elements.list, l = ut(kt, i, "transition"), s;
1556
1556
  function p() {
1557
- mt(t).bind(i, "transitionend", function(g) {
1557
+ gt(t).bind(i, "transitionend", function(g) {
1558
1558
  g.target === i && s && ($(), s());
1559
1559
  });
1560
1560
  }
1561
1561
  function c(g, u) {
1562
- var d = o.toPosition(g, !0), x = o.getPosition(), v = y(g);
1563
- _t(d - x) >= 1 && v >= 1 ? n.useScroll ? a.scroll(d, v, !1, u) : (l("transform " + v + "ms " + n.easing), o.translate(d, !0), s = u) : (o.jump(g), u());
1562
+ var d = o.toPosition(g, !0), S = o.getPosition(), f = v(g);
1563
+ _t(d - S) >= 1 && f >= 1 ? n.useScroll ? a.scroll(d, f, !1, u) : (l("transform " + f + "ms " + n.easing), o.translate(d, !0), s = u) : (o.jump(g), u());
1564
1564
  }
1565
1565
  function $() {
1566
1566
  l(""), a.cancel();
1567
1567
  }
1568
- function y(g) {
1568
+ function v(g) {
1569
1569
  var u = n.rewindSpeed;
1570
1570
  if (t.is(xe) && u) {
1571
- var d = r.getIndex(!0), x = r.getEnd();
1572
- if (d === 0 && g >= x || d >= x && g === 0)
1571
+ var d = r.getIndex(!0), S = r.getEnd();
1572
+ if (d === 0 && g >= S || d >= S && g === 0)
1573
1573
  return u;
1574
1574
  }
1575
1575
  return n.speed;
@@ -1580,26 +1580,26 @@ function ya(t, e, n) {
1580
1580
  cancel: $
1581
1581
  };
1582
1582
  }
1583
- var va = /* @__PURE__ */ (function() {
1583
+ var ba = /* @__PURE__ */ (function() {
1584
1584
  function t(n, o) {
1585
- this.event = mt(), this.Components = {}, this.state = bi(me), this.splides = [], this._o = {}, this._E = {};
1586
- var r = Zt(n) ? Wo(document, n) : n;
1587
- Ee(r, r + " is invalid."), this.root = r, o = Jt({
1588
- label: Rt(r, At) || "",
1589
- labelledby: Rt(r, Jn) || ""
1590
- }, fa, t.defaults, o || {});
1585
+ this.event = gt(), this.Components = {}, this.state = Si(me), this.splides = [], this._o = {}, this._E = {};
1586
+ var r = Jt(n) ? No(document, n) : n;
1587
+ Ee(r, r + " is invalid."), this.root = r, o = Kt({
1588
+ label: Ft(r, Et) || "",
1589
+ labelledby: Ft(r, Jn) || ""
1590
+ }, ha, t.defaults, o || {});
1591
1591
  try {
1592
- Jt(o, JSON.parse(Rt(r, Dn)));
1592
+ Kt(o, JSON.parse(Ft(r, Dn)));
1593
1593
  } catch {
1594
1594
  Ee(!1, "Invalid JSON");
1595
1595
  }
1596
- this._o = Object.create(Jt({}, o));
1596
+ this._o = Object.create(Kt({}, o));
1597
1597
  }
1598
1598
  var e = t.prototype;
1599
1599
  return e.mount = function(o, r) {
1600
1600
  var a = this, i = this.state, l = this.Components;
1601
- Ee(i.is([me, rn]), "Already mounted!"), i.set(me), this._C = l, this._T = r || this._T || (this.is(Ue) ? ha : ya), this._E = o || this._E;
1602
- var s = Be({}, ga, this._E, {
1601
+ Ee(i.is([me, rn]), "Already mounted!"), i.set(me), this._C = l, this._T = r || this._T || (this.is(Ue) ? ya : va), this._E = o || this._E;
1602
+ var s = Be({}, ma, this._E, {
1603
1603
  Transition: this._T
1604
1604
  });
1605
1605
  return ae(s, function(p, c) {
@@ -1607,7 +1607,7 @@ var va = /* @__PURE__ */ (function() {
1607
1607
  l[c] = $, $.setup && $.setup();
1608
1608
  }), ae(l, function(p) {
1609
1609
  p.mount && p.mount();
1610
- }), this.emit(ee), Pt(this.root, ki), i.set(be), this.emit(Rn), this;
1610
+ }), this.emit(te), Pt(this.root, Fi), i.set(be), this.emit(Rn), this;
1611
1611
  }, e.sync = function(o) {
1612
1612
  return this.splides.push({
1613
1613
  splide: o
@@ -1623,7 +1623,7 @@ var va = /* @__PURE__ */ (function() {
1623
1623
  return this.event.off(o), this;
1624
1624
  }, e.emit = function(o) {
1625
1625
  var r;
1626
- return (r = this.event).emit.apply(r, [o].concat(te(arguments, 1))), this;
1626
+ return (r = this.event).emit.apply(r, [o].concat(Qt(arguments, 1))), this;
1627
1627
  }, e.add = function(o, r) {
1628
1628
  return this._C.Slides.add(o, r), this;
1629
1629
  }, e.remove = function(o) {
@@ -1635,10 +1635,10 @@ var va = /* @__PURE__ */ (function() {
1635
1635
  }, e.destroy = function(o) {
1636
1636
  o === void 0 && (o = !0);
1637
1637
  var r = this.event, a = this.state;
1638
- return a.is(me) ? mt(this).on(Rn, this.destroy.bind(this, o)) : (ae(this._C, function(i) {
1638
+ return a.is(me) ? gt(this).on(Rn, this.destroy.bind(this, o)) : (ae(this._C, function(i) {
1639
1639
  i.destroy && i.destroy(o);
1640
- }, !0), r.emit(Gn), r.destroy(), o && Yt(this.splides), a.set(rn)), this;
1641
- }, mi(t, [{
1640
+ }, !0), r.emit(Gn), r.destroy(), o && Gt(this.splides), a.set(rn)), this;
1641
+ }, fi(t, [{
1642
1642
  key: "options",
1643
1643
  get: function() {
1644
1644
  return this._o;
@@ -1657,36 +1657,36 @@ var va = /* @__PURE__ */ (function() {
1657
1657
  return this._C.Controller.getIndex();
1658
1658
  }
1659
1659
  }]), t;
1660
- })(), no = va;
1660
+ })(), no = ba;
1661
1661
  no.defaults = {};
1662
- no.STATES = hi;
1663
- var So = [
1664
- [ee, "onMounted"],
1662
+ no.STATES = yi;
1663
+ var xo = [
1664
+ [te, "onMounted"],
1665
1665
  [Rn, "onReady"],
1666
- [qt, "onMove"],
1666
+ [Yt, "onMove"],
1667
1667
  [$e, "onMoved"],
1668
1668
  [Un, "onClick"],
1669
- [Mo, "onActive"],
1670
- [Vo, "onInactive"],
1671
- [Ho, "onVisible"],
1672
- [Do, "onHidden"],
1669
+ [Vo, "onActive"],
1670
+ [Ho, "onInactive"],
1671
+ [Do, "onVisible"],
1672
+ [jo, "onHidden"],
1673
1673
  [vt, "onRefresh"],
1674
- [Ct, "onUpdated"],
1674
+ [$t, "onUpdated"],
1675
1675
  [Se, "onResize"],
1676
1676
  [pn, "onResized"],
1677
- [jo, "onDrag"],
1678
- [Uo, "onDragging"],
1679
- [Go, "onDragged"],
1677
+ [Uo, "onDrag"],
1678
+ [Go, "onDragging"],
1679
+ [Yo, "onDragged"],
1680
1680
  [dn, "onScroll"],
1681
1681
  [ce, "onScrolled"],
1682
1682
  [Gn, "onDestroy"],
1683
- [Yo, "onArrowsMounted"],
1684
- [qo, "onArrowsUpdated"],
1685
- [Xo, "onPaginationMounted"],
1686
- [Ko, "onPaginationUpdated"],
1683
+ [qo, "onArrowsMounted"],
1684
+ [Xo, "onArrowsUpdated"],
1685
+ [Ko, "onPaginationMounted"],
1686
+ [Jo, "onPaginationUpdated"],
1687
1687
  [Yn, "onNavigationMounted"],
1688
1688
  [qn, "onAutoplayPlay"],
1689
- [Jo, "onAutoplayPlaying"],
1689
+ [Zo, "onAutoplayPlaying"],
1690
1690
  [Xn, "onAutoplayPause"],
1691
1691
  [Kn, "onLazyLoadLoaded"]
1692
1692
  ];
@@ -1705,10 +1705,10 @@ function On(t, e) {
1705
1705
  }
1706
1706
  return t === e;
1707
1707
  }
1708
- function ba(t, e) {
1708
+ function Sa(t, e) {
1709
1709
  return t.length === e.length && !t.some((n, o) => n !== e[o]);
1710
1710
  }
1711
- function Sa(t, e) {
1711
+ function xa(t, e) {
1712
1712
  if (t) {
1713
1713
  const n = Object.keys(t);
1714
1714
  for (let o = 0; o < n.length; o++) {
@@ -1721,16 +1721,16 @@ function Sa(t, e) {
1721
1721
  }
1722
1722
  function Wn(t, e) {
1723
1723
  const n = t;
1724
- return Sa(e, (o, r) => {
1724
+ return xa(e, (o, r) => {
1725
1725
  Array.isArray(o) ? n[r] = o.slice() : cn(o) ? n[r] = Wn(cn(n[r]) ? n[r] : {}, o) : n[r] = o;
1726
1726
  }), n;
1727
1727
  }
1728
- var xa = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createElement("div", {
1728
+ var Ca = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createElement("div", {
1729
1729
  className: oo("splide__track", e),
1730
1730
  ...n
1731
1731
  }, /* @__PURE__ */ re.createElement("ul", {
1732
1732
  className: "splide__list"
1733
- }, t)), gr = class extends re.Component {
1733
+ }, t)), mr = class extends re.Component {
1734
1734
  constructor() {
1735
1735
  super(...arguments), this.splideRef = re.createRef(), this.slides = [];
1736
1736
  }
@@ -1747,7 +1747,7 @@ var xa = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createEleme
1747
1747
  const { options: t } = this.props;
1748
1748
  t && !On(this.options, t) && (this.splide.options = t, this.options = Wn({}, t));
1749
1749
  const e = this.getSlides();
1750
- ba(this.slides, e) || (this.splide.refresh(), this.slides = e);
1750
+ Sa(this.slides, e) || (this.splide.refresh(), this.slides = e);
1751
1751
  }
1752
1752
  sync(t) {
1753
1753
  var e;
@@ -1766,7 +1766,7 @@ var xa = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createEleme
1766
1766
  return [];
1767
1767
  }
1768
1768
  bind(t) {
1769
- So.forEach(([e, n]) => {
1769
+ xo.forEach(([e, n]) => {
1770
1770
  const o = this.props[n];
1771
1771
  typeof o == "function" && t.on(e, (...r) => {
1772
1772
  o(t, ...r);
@@ -1783,10 +1783,10 @@ var xa = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createEleme
1783
1783
  return /* @__PURE__ */ re.createElement(e, {
1784
1784
  className: oo("splide", t),
1785
1785
  ref: this.splideRef,
1786
- ...this.omit(r, ["options", ...So.map((a) => a[1])])
1787
- }, n ? /* @__PURE__ */ re.createElement(xa, null, o) : o);
1786
+ ...this.omit(r, ["options", ...xo.map((a) => a[1])])
1787
+ }, n ? /* @__PURE__ */ re.createElement(Ca, null, o) : o);
1788
1788
  }
1789
- }, mr = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createElement("li", {
1789
+ }, fr = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createElement("li", {
1790
1790
  className: oo("splide__slide", e),
1791
1791
  ...n
1792
1792
  }, t);
@@ -1796,16 +1796,16 @@ var xa = ({ children: t, className: e, ...n }) => /* @__PURE__ */ re.createEleme
1796
1796
  * License : MIT
1797
1797
  * Copyright: 2022 Naotoshi Fujita
1798
1798
  */
1799
- const Ca = "RichTextRenderer-module__link___BWeZ2", $a = {
1800
- link: Ca
1801
- }, fr = ({ content: t }) => {
1802
- const e = (n) => n.map((o, r) => o.type === "link" ? /* @__PURE__ */ P("a", { className: $a.link, href: o.value, target: o.target, children: e(o.children) }, r) : /* @__PURE__ */ P("span", { style: _a(o), children: o.text }, r));
1799
+ const $a = "RichTextRenderer-module__link___BWeZ2", _a = {
1800
+ link: $a
1801
+ }, hr = ({ content: t }) => {
1802
+ const e = (n) => n.map((o, r) => o.type === "link" ? /* @__PURE__ */ P("a", { className: _a.link, href: o.value, target: o.target, children: e(o.children) }, r) : /* @__PURE__ */ P("span", { style: wa(o), children: o.text }, r));
1803
1803
  return /* @__PURE__ */ P(Ie, { children: t.map((n, o) => {
1804
1804
  const r = n.children;
1805
1805
  return /* @__PURE__ */ P("div", { children: e(r) }, o);
1806
1806
  }) });
1807
1807
  };
1808
- function _a(t) {
1808
+ function wa(t) {
1809
1809
  return {
1810
1810
  ...t.fontFamily && { fontFamily: t.fontFamily },
1811
1811
  ...t.fontWeight && { fontWeight: t.fontWeight },
@@ -1819,33 +1819,33 @@ function _a(t) {
1819
1819
  }
1820
1820
  };
1821
1821
  }
1822
- const wa = "SvgImage-module__svg___q3xE-", Ta = "SvgImage-module__img___VsTm-", xo = {
1823
- svg: wa,
1824
- img: Ta
1825
- }, La = (t) => {
1822
+ const Ta = "SvgImage-module__svg___q3xE-", La = "SvgImage-module__img___VsTm-", Co = {
1823
+ svg: Ta,
1824
+ img: La
1825
+ }, Ea = (t) => {
1826
1826
  const e = t.trim();
1827
1827
  return e.startsWith("data:image/svg+xml") ? !0 : (e.split(/[?#]/)[0] ?? e).endsWith(".svg");
1828
- }, Ea = (t) => `url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`, ye = ({ url: t, fill: e = "#000000", hoverFill: n = "#CCCCCC", className: o = "", style: r }) => {
1828
+ }, Aa = (t) => `url("${t.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}")`, ye = ({ url: t, fill: e = "#000000", hoverFill: n = "#CCCCCC", className: o = "", style: r }) => {
1829
1829
  const [a, i] = ct(() => typeof window > "u" ? !0 : CSS.supports("mask-image", 'url("")') || CSS.supports("-webkit-mask-image", 'url("")'));
1830
- return St(() => {
1830
+ return xt(() => {
1831
1831
  if (typeof window < "u" && window.CSS) {
1832
1832
  const l = CSS.supports("mask-image", 'url("")') || CSS.supports("-webkit-mask-image", 'url("")');
1833
1833
  i(l);
1834
1834
  }
1835
- }, []), !La(t) || !a ? /* @__PURE__ */ P("img", { src: t, alt: "", className: gt(xo.img, o), style: r }) : /* @__PURE__ */ P(
1835
+ }, []), !Ea(t) || !a ? /* @__PURE__ */ P("img", { src: t, alt: "", className: dt(Co.img, o), style: r }) : /* @__PURE__ */ P(
1836
1836
  "span",
1837
1837
  {
1838
1838
  "data-supports-mask": a,
1839
- className: gt(xo.svg, o),
1839
+ className: dt(Co.svg, o),
1840
1840
  style: {
1841
- "--svg": Ea(t),
1841
+ "--svg": Aa(t),
1842
1842
  "--fill": e,
1843
1843
  "--hover-fill": n,
1844
1844
  ...r ?? {}
1845
1845
  }
1846
1846
  }
1847
1847
  );
1848
- }, Aa = {
1848
+ }, Ia = {
1849
1849
  "top-left": U.topLeftAlignment,
1850
1850
  "top-center": U.topCenterAlignment,
1851
1851
  "top-right": U.topRightAlignment,
@@ -1856,12 +1856,12 @@ const wa = "SvgImage-module__svg___q3xE-", Ta = "SvgImage-module__img___VsTm-",
1856
1856
  "bottom-center": U.bottomCenterAlignment,
1857
1857
  "bottom-right": U.bottomRightAlignment
1858
1858
  };
1859
- function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1860
- const [r, a] = ct(null), { widthSettings: i, fontSettings: l, letterSpacing: s, textAlign: p, wordSpacing: c, fontSizeLineHeight: $, textAppearance: y, color: g } = n.imageCaption, [u, d] = ct(void 0), [x, v] = ct(null), [f, C] = ct(0), [V, W] = ct(0), { direction: _, transition: h, controls: L, pagination: F, imageCaption: z, triggers: k } = t, R = Lt(h.type), { x: B, y: j } = t.controls.offset, D = (m) => {
1859
+ function ka({ settings: t, content: e, styles: n, isEditor: o }) {
1860
+ const [r, a] = ct(null), { widthSettings: i, fontSettings: l, letterSpacing: s, textAlign: p, wordSpacing: c, fontSizeLineHeight: $, textAppearance: v, color: g } = n.imageCaption, [u, d] = ct(void 0), [S, f] = ct(null), [h, C] = ct(0), [V, W] = ct(0), { direction: _, transition: y, controls: L, pagination: F, imageCaption: z, triggers: k } = t, R = Tt(y.type), { x: B, y: j } = t.controls.offset, H = (m) => {
1861
1861
  r && r.go(m);
1862
1862
  };
1863
- return St(() => {
1864
- if (!x) return;
1863
+ return xt(() => {
1864
+ if (!S) return;
1865
1865
  const m = new ResizeObserver((A) => {
1866
1866
  if (!r) return;
1867
1867
  const [T] = A;
@@ -1870,23 +1870,23 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1870
1870
  height: Math.round(T.contentRect.height)
1871
1871
  });
1872
1872
  });
1873
- return m.observe(x), () => m.unobserve(x);
1874
- }, [x]), St(() => {
1875
- !r || R.current === h.type || (W((m) => m + 1), R.current = h.type);
1876
- }, [h.type]), /* @__PURE__ */ P("div", { className: gt(U.wrapper, { [U.editor]: o }), ref: v, children: /* @__PURE__ */ xt(
1873
+ return m.observe(S), () => m.unobserve(S);
1874
+ }, [S]), xt(() => {
1875
+ !r || R.current === y.type || (W((m) => m + 1), R.current = y.type);
1876
+ }, [y.type]), /* @__PURE__ */ P("div", { className: dt(U.wrapper, { [U.editor]: o }), ref: f, children: /* @__PURE__ */ Ct(
1877
1877
  "div",
1878
1878
  {
1879
1879
  className: U.sliderInner,
1880
1880
  style: {
1881
1881
  width: u ? u.width : "100%",
1882
1882
  height: u ? u.height : "100%",
1883
- backgroundColor: h.backgroundColor && h.type === "fade in" ? h.backgroundColor : "transparent"
1883
+ backgroundColor: y.backgroundColor && y.type === "fade in" ? y.backgroundColor : "transparent"
1884
1884
  },
1885
1885
  children: [
1886
1886
  t.imageCaption.isActive && /* @__PURE__ */ P(
1887
1887
  "div",
1888
1888
  {
1889
- className: gt(U.captionBlock),
1889
+ className: dt(U.captionBlock),
1890
1890
  children: /* @__PURE__ */ P(
1891
1891
  "div",
1892
1892
  {
@@ -1894,9 +1894,9 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1894
1894
  children: e.map((m, A) => /* @__PURE__ */ P(
1895
1895
  "div",
1896
1896
  {
1897
- className: gt(U.captionText, Aa[z.alignment], {
1898
- [U.withPointerEvents]: A === f && o,
1899
- [U.active]: A === f
1897
+ className: dt(U.captionText, Ia[z.alignment], {
1898
+ [U.withPointerEvents]: A === h && o,
1899
+ [U.active]: A === h
1900
1900
  }),
1901
1901
  style: {
1902
1902
  fontFamily: l.fontFamily,
@@ -1908,11 +1908,11 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1908
1908
  textAlign: p,
1909
1909
  fontSize: O($.fontSize, o),
1910
1910
  lineHeight: O($.lineHeight, o),
1911
- textTransform: y.textTransform ?? "none",
1912
- textDecoration: y.textDecoration ?? "none",
1913
- fontVariant: y.fontVariant ?? "normal",
1911
+ textTransform: v.textTransform ?? "none",
1912
+ textDecoration: v.textDecoration ?? "none",
1913
+ fontVariant: v.fontVariant ?? "normal",
1914
1914
  color: g,
1915
- transitionDuration: h.duration ? `${Math.round(parseInt(h.duration) / 2)}ms` : "500ms"
1915
+ transitionDuration: y.duration ? `${Math.round(parseInt(y.duration) / 2)}ms` : "500ms"
1916
1916
  },
1917
1917
  children: /* @__PURE__ */ P(
1918
1918
  "div",
@@ -1926,7 +1926,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1926
1926
  top: O(z.offset.y, o),
1927
1927
  left: O(z.offset.x, o)
1928
1928
  },
1929
- children: /* @__PURE__ */ P(fr, { content: m.imageCaption })
1929
+ children: /* @__PURE__ */ P(hr, { content: m.imageCaption })
1930
1930
  }
1931
1931
  )
1932
1932
  },
@@ -1937,7 +1937,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1937
1937
  }
1938
1938
  ),
1939
1939
  /* @__PURE__ */ P(
1940
- gr,
1940
+ mr,
1941
1941
  {
1942
1942
  onMove: (m) => {
1943
1943
  C(m.index);
@@ -1945,21 +1945,21 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1945
1945
  ref: a,
1946
1946
  options: {
1947
1947
  arrows: !1,
1948
- speed: h.duration ? parseInt(h.duration) : 500,
1948
+ speed: y.duration ? parseInt(y.duration) : 500,
1949
1949
  autoplay: k.autoPlay !== null,
1950
1950
  ...k.autoPlay !== null && {
1951
1951
  interval: parseInt(k.autoPlay) * 1e3
1952
1952
  },
1953
- direction: _ === "horiz" || h.type === "fade in" ? "ltr" : "ttb",
1953
+ direction: _ === "horiz" || y.type === "fade in" ? "ltr" : "ttb",
1954
1954
  pagination: !1,
1955
1955
  drag: k.triggersList.drag,
1956
1956
  perPage: 1,
1957
1957
  width: u ? u.width : "100%",
1958
1958
  height: u ? u.height : "100%",
1959
- type: h.type === "fade in" ? "fade" : "loop",
1959
+ type: y.type === "fade in" ? "fade" : "loop",
1960
1960
  rewind: !0
1961
1961
  },
1962
- children: e.map((m, A) => /* @__PURE__ */ P(mr, { children: /* @__PURE__ */ P(
1962
+ children: e.map((m, A) => /* @__PURE__ */ P(fr, { children: /* @__PURE__ */ P(
1963
1963
  "div",
1964
1964
  {
1965
1965
  className: U.sliderItem,
@@ -1970,7 +1970,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1970
1970
  children: /* @__PURE__ */ P(
1971
1971
  "img",
1972
1972
  {
1973
- className: gt(U.sliderImage, {
1973
+ className: dt(U.sliderImage, {
1974
1974
  [U.contain]: m.image.objectFit === "contain",
1975
1975
  [U.cover]: m.image.objectFit === "cover"
1976
1976
  }),
@@ -1985,11 +1985,11 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1985
1985
  },
1986
1986
  V
1987
1987
  ),
1988
- L.isActive && /* @__PURE__ */ xt(Ie, { children: [
1988
+ L.isActive && /* @__PURE__ */ Ct(Ie, { children: [
1989
1989
  /* @__PURE__ */ P(
1990
1990
  "div",
1991
1991
  {
1992
- className: gt(U.arrow, {
1992
+ className: dt(U.arrow, {
1993
1993
  [U.arrowVertical]: _ === "vert",
1994
1994
  [U.hoverArrow]: L.show === "on hover"
1995
1995
  }),
@@ -1997,11 +1997,11 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
1997
1997
  color: L.color,
1998
1998
  "--arrow-hover-color": L.hover
1999
1999
  },
2000
- children: /* @__PURE__ */ xt(
2000
+ children: /* @__PURE__ */ Ct(
2001
2001
  "button",
2002
2002
  {
2003
2003
  onClick: () => {
2004
- D("-1");
2004
+ H("-1");
2005
2005
  },
2006
2006
  className: U.arrowInner,
2007
2007
  style: {
@@ -2014,10 +2014,10 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2014
2014
  url: L.arrowsImgUrl,
2015
2015
  fill: L.color,
2016
2016
  hoverFill: L.hover,
2017
- className: gt(U.arrowImg, U.mirror)
2017
+ className: dt(U.arrowImg, U.mirror)
2018
2018
  }
2019
2019
  ),
2020
- !L.arrowsImgUrl && /* @__PURE__ */ P(Co, { color: L.color, className: gt(U.arrowIcon, U.arrowImg, U.mirror) })
2020
+ !L.arrowsImgUrl && /* @__PURE__ */ P($o, { color: L.color, className: dt(U.arrowIcon, U.arrowImg, U.mirror) })
2021
2021
  ]
2022
2022
  }
2023
2023
  )
@@ -2026,7 +2026,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2026
2026
  /* @__PURE__ */ P(
2027
2027
  "div",
2028
2028
  {
2029
- className: gt(U.arrow, U.nextArrow, {
2029
+ className: dt(U.arrow, U.nextArrow, {
2030
2030
  [U.arrowVertical]: _ === "vert",
2031
2031
  [U.hoverArrow]: L.show === "on hover"
2032
2032
  }),
@@ -2034,11 +2034,11 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2034
2034
  color: L.color,
2035
2035
  "--arrow-hover-color": L.hover
2036
2036
  },
2037
- children: /* @__PURE__ */ xt(
2037
+ children: /* @__PURE__ */ Ct(
2038
2038
  "button",
2039
2039
  {
2040
2040
  className: U.arrowInner,
2041
- onClick: () => D("+1"),
2041
+ onClick: () => H("+1"),
2042
2042
  style: {
2043
2043
  transform: `translate(${O(B * (_ === "horiz" ? -1 : 1), o)}, ${O(j, o)}) scale(${t.controls.scale / 100}) rotate(${_ === "horiz" ? "0deg" : "90deg"})`
2044
2044
  },
@@ -2052,7 +2052,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2052
2052
  className: U.arrowImg
2053
2053
  }
2054
2054
  ),
2055
- !L.arrowsImgUrl && /* @__PURE__ */ P(Co, { color: L.color, className: gt(U.arrowIcon, U.arrowImg) })
2055
+ !L.arrowsImgUrl && /* @__PURE__ */ P($o, { color: L.color, className: dt(U.arrowIcon, U.arrowImg) })
2056
2056
  ]
2057
2057
  }
2058
2058
  )
@@ -2071,7 +2071,7 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2071
2071
  F.isActive && /* @__PURE__ */ P(
2072
2072
  "div",
2073
2073
  {
2074
- className: gt(U.pagination, {
2074
+ className: dt(U.pagination, {
2075
2075
  [U.paginationInsideBottom]: F.position === "inside-1" && _ === "horiz",
2076
2076
  [U.paginationInsideTop]: F.position === "inside-2" && _ === "horiz",
2077
2077
  [U.paginationOutsideBottom]: F.position === "outside-1" && _ === "horiz",
@@ -2096,15 +2096,15 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2096
2096
  onClick: () => {
2097
2097
  r && r.go(A);
2098
2098
  },
2099
- className: gt(U.paginationItem),
2099
+ className: dt(U.paginationItem),
2100
2100
  children: /* @__PURE__ */ P(
2101
2101
  "div",
2102
2102
  {
2103
- className: gt(U.dot, {
2104
- [U.activeDot]: A === f
2103
+ className: dt(U.dot, {
2104
+ [U.activeDot]: A === h
2105
2105
  }),
2106
2106
  style: {
2107
- backgroundColor: A === f ? F.colors[0] : F.colors[1],
2107
+ backgroundColor: A === h ? F.colors[0] : F.colors[1],
2108
2108
  "--pagination-hover-color": F.hover
2109
2109
  }
2110
2110
  }
@@ -2120,11 +2120,11 @@ function Ia({ settings: t, content: e, styles: n, isEditor: o }) {
2120
2120
  }
2121
2121
  ) });
2122
2122
  }
2123
- function Co({ color: t, className: e }) {
2123
+ function $o({ color: t, className: e }) {
2124
2124
  return /* @__PURE__ */ P("svg", { viewBox: "0 0 10 18", className: e, children: /* @__PURE__ */ P("g", { id: "Symbols", stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ P("path", { d: "M-3.70710678,4.29289322 C-3.34662282,3.93240926 -2.77939176,3.90467972 -2.38710056,4.20970461 L-2.29289322,4.29289322 L5,11.585 L12.2928932,4.29289322 C12.6533772,3.93240926 13.2206082,3.90467972 13.6128994,4.20970461 L13.7071068,4.29289322 C14.0675907,4.65337718 14.0953203,5.22060824 13.7902954,5.61289944 L13.7071068,5.70710678 L5.70710678,13.7071068 C5.34662282,14.0675907 4.77939176,14.0953203 4.38710056,13.7902954 L4.29289322,13.7071068 L-3.70710678,5.70710678 C-4.09763107,5.31658249 -4.09763107,4.68341751 -3.70710678,4.29289322 Z", id: "Shape-Copy", fill: t, transform: "translate(5, 9) rotate(-90) translate(-5, -9)" }) }) });
2125
2125
  }
2126
- const ka = {
2127
- element: Ia,
2126
+ const Fa = {
2127
+ element: ka,
2128
2128
  id: "control-slider",
2129
2129
  name: "Slider",
2130
2130
  preview: {
@@ -2726,13 +2726,13 @@ const ka = {
2726
2726
  },
2727
2727
  required: ["settings", "content", "styles"]
2728
2728
  }
2729
- }, Fa = "ImageRevealSlider-module__imageRevealSlider___UE5Ob", Ra = "ImageRevealSlider-module__image___Qjt-e", Ba = "ImageRevealSlider-module__link___N-iLG", Pa = "ImageRevealSlider-module__cursor___2U03d", pe = {
2730
- imageRevealSlider: Fa,
2731
- image: Ra,
2732
- link: Ba,
2733
- cursor: Pa
2729
+ }, Ra = "ImageRevealSlider-module__imageRevealSlider___UE5Ob", Ba = "ImageRevealSlider-module__image___Qjt-e", Pa = "ImageRevealSlider-module__link___N-iLG", Oa = "ImageRevealSlider-module__cursor___2U03d", pe = {
2730
+ imageRevealSlider: Ra,
2731
+ image: Ba,
2732
+ link: Pa,
2733
+ cursor: Oa
2734
2734
  };
2735
- function $o(t, e, n) {
2735
+ function _o(t, e, n) {
2736
2736
  for (const o of n) {
2737
2737
  const r = new Image();
2738
2738
  r.src = o.url;
@@ -2750,7 +2750,7 @@ function Ln(t) {
2750
2750
  };
2751
2751
  });
2752
2752
  }
2753
- async function Oa(t, e, n, o) {
2753
+ async function Wa(t, e, n, o) {
2754
2754
  let r, a;
2755
2755
  if (e === "custom") {
2756
2756
  r = n;
@@ -2766,12 +2766,12 @@ async function Oa(t, e, n, o) {
2766
2766
  }
2767
2767
  return { width: r, height: a, finalWidth: `${r}px` };
2768
2768
  }
2769
- function Wa({ settings: t, content: e, isEditor: n }) {
2770
- const [o, r] = ct(null), [a, i] = ct([]), [l, s] = ct(0), p = Lt(0), [c, $] = ct({ x: 0, y: 0 }), [y, g] = ct(1), [u, d] = ct("none"), x = Lt({ x: 0, y: 0 }), [v, f] = ct(!1), { sizeType: C, imageWidth: V, randomRangeImageWidth: W } = t.imageSize, { revealPosition: _, visible: h } = t.position, { cursorType: L, target: F, defaultCursorScale: z, defaultCursor: k, hoverCursorScale: R, hoverCursor: B } = t.cursor;
2771
- St(() => {
2769
+ function Na({ settings: t, content: e, isEditor: n }) {
2770
+ const [o, r] = ct(null), [a, i] = ct([]), [l, s] = ct(0), p = Tt(0), [c, $] = ct({ x: 0, y: 0 }), [v, g] = ct(1), [u, d] = ct("none"), S = Tt({ x: 0, y: 0 }), [f, h] = ct(!1), { sizeType: C, imageWidth: V, randomRangeImageWidth: W } = t.imageSize, { revealPosition: _, visible: y } = t.position, { cursorType: L, target: F, defaultCursorScale: z, defaultCursor: k, hoverCursorScale: R, hoverCursor: B } = t.cursor;
2771
+ xt(() => {
2772
2772
  if (!o) return;
2773
- const m = (w, S) => {
2774
- const I = o.getBoundingClientRect(), G = w - I.left, ot = S - I.top;
2773
+ const m = (w, x) => {
2774
+ const I = o.getBoundingClientRect(), G = w - I.left, ot = x - I.top;
2775
2775
  if ($({ x: G, y: ot }), L === "system") {
2776
2776
  d("none"), g(1);
2777
2777
  return;
@@ -2781,19 +2781,19 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2781
2781
  d("none"), g(1);
2782
2782
  return;
2783
2783
  }
2784
- const X = $o(tt, rt, a) || F === "area" ? { img: B ?? "none", scale: R } : { img: k ?? "none", scale: z };
2784
+ const X = _o(tt, rt, a) || F === "area" ? { img: B ?? "none", scale: R } : { img: k ?? "none", scale: z };
2785
2785
  d(X.img), g(X.scale);
2786
2786
  }, A = (w) => {
2787
- w.stopPropagation(), x.current = { x: w.clientX, y: w.clientY }, m(w.clientX, w.clientY);
2787
+ w.stopPropagation(), S.current = { x: w.clientX, y: w.clientY }, m(w.clientX, w.clientY);
2788
2788
  }, T = () => {
2789
- v && m(x.current.x, x.current.y);
2789
+ f && m(S.current.x, S.current.y);
2790
2790
  };
2791
2791
  return o.addEventListener("mousemove", A), window.addEventListener("scroll", T, !0), () => {
2792
2792
  o.removeEventListener("mousemove", A), window.removeEventListener("scroll", T, !0);
2793
2793
  };
2794
2794
  }, [
2795
2795
  o,
2796
- v,
2796
+ f,
2797
2797
  c,
2798
2798
  L,
2799
2799
  F,
@@ -2802,11 +2802,11 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2802
2802
  R,
2803
2803
  z,
2804
2804
  a
2805
- ]), St(() => {
2806
- v || (d("none"), g(0));
2807
- }, [v]);
2805
+ ]), xt(() => {
2806
+ f || (d("none"), g(0));
2807
+ }, [f]);
2808
2808
  const j = async (m, A, T, w = {}) => {
2809
- const { width: S, height: I, finalWidth: G } = await Oa(
2809
+ const { width: x, height: I, finalWidth: G } = await Wa(
2810
2810
  m.image.url,
2811
2811
  C,
2812
2812
  V,
@@ -2814,7 +2814,7 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2814
2814
  );
2815
2815
  let ot = 0, tt = 0;
2816
2816
  _ === "same" ? (ot = A / 2, tt = T / 2) : (ot = w.x ?? Math.random() * A, tt = w.y ?? Math.random() * T);
2817
- const rt = Math.min(Math.max(ot, S / 2), A - S / 2), E = Math.min(Math.max(tt, I / 2), T - I / 2);
2817
+ const rt = Math.min(Math.max(ot, x / 2), A - x / 2), E = Math.min(Math.max(tt, I / 2), T - I / 2);
2818
2818
  return {
2819
2819
  id: p.current++,
2820
2820
  url: m.image.url,
@@ -2825,30 +2825,30 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2825
2825
  width: G
2826
2826
  };
2827
2827
  };
2828
- return St(() => {
2828
+ return xt(() => {
2829
2829
  if (!o || e.length === 0) return;
2830
2830
  const m = o.getBoundingClientRect(), A = m.width, T = m.height, w = [];
2831
2831
  (async () => {
2832
2832
  const I = e[0], G = await j(I, A, T);
2833
2833
  w.push(G), i(w), s(1);
2834
2834
  })();
2835
- }, [C, V, W, _, o]), St(() => {
2836
- h === "last One" && i((m) => m.length > 0 ? [m[m.length - 1]] : []);
2837
- }, [h]), /* @__PURE__ */ xt(
2835
+ }, [C, V, W, _, o]), xt(() => {
2836
+ y === "last One" && i((m) => m.length > 0 ? [m[m.length - 1]] : []);
2837
+ }, [y]), /* @__PURE__ */ Ct(
2838
2838
  "div",
2839
2839
  {
2840
2840
  ref: r,
2841
2841
  onClick: async (m) => {
2842
2842
  if (!o) return;
2843
2843
  const A = o.getBoundingClientRect(), T = m.clientX - A.left, w = m.clientY - A.top;
2844
- if (F === "image" && !$o(T, w, a)) return;
2845
- let S = 0, I = 0;
2846
- _ === "on Click" ? (S = T, I = w) : _ === "same" ? (S = A.width / 2, I = A.height / 2) : (S = Math.random() * A.width, I = Math.random() * A.height);
2847
- const G = e[l], ot = await j(G, A.width, A.height, { x: S, y: I });
2848
- i((tt) => h === "all" ? [...tt, ot] : [ot]), s((tt) => tt >= e.length - 1 ? 0 : tt + 1);
2849
- },
2850
- onMouseEnter: () => f(!0),
2851
- onMouseLeave: () => f(!1),
2844
+ if (F === "image" && !_o(T, w, a)) return;
2845
+ let x = 0, I = 0;
2846
+ _ === "on Click" ? (x = T, I = w) : _ === "same" ? (x = A.width / 2, I = A.height / 2) : (x = Math.random() * A.width, I = Math.random() * A.height);
2847
+ const G = e[l], ot = await j(G, A.width, A.height, { x, y: I });
2848
+ i((tt) => y === "all" ? [...tt, ot] : [ot]), s((tt) => tt >= e.length - 1 ? 0 : tt + 1);
2849
+ },
2850
+ onMouseEnter: () => h(!0),
2851
+ onMouseLeave: () => h(!1),
2852
2852
  className: pe.imageRevealSlider,
2853
2853
  style: { cursor: u === "none" ? "default" : "none" },
2854
2854
  children: [
@@ -2885,14 +2885,14 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2885
2885
  },
2886
2886
  m.id
2887
2887
  )),
2888
- v && /* @__PURE__ */ P(
2888
+ f && /* @__PURE__ */ P(
2889
2889
  "div",
2890
2890
  {
2891
2891
  className: pe.cursor,
2892
2892
  style: {
2893
2893
  left: `${c.x}px`,
2894
2894
  top: `${c.y}px`,
2895
- transform: `translate(-50%, -50%) scale(${y})`,
2895
+ transform: `translate(-50%, -50%) scale(${v})`,
2896
2896
  backgroundImage: `url('${u}')`,
2897
2897
  backgroundSize: "cover",
2898
2898
  backgroundPosition: "center",
@@ -2905,8 +2905,8 @@ function Wa({ settings: t, content: e, isEditor: n }) {
2905
2905
  }
2906
2906
  );
2907
2907
  }
2908
- const Na = {
2909
- element: Wa,
2908
+ const za = {
2909
+ element: Na,
2910
2910
  id: "control-image-reveal",
2911
2911
  name: "Click Gallery",
2912
2912
  preview: {
@@ -3219,50 +3219,50 @@ const Na = {
3219
3219
  }
3220
3220
  }
3221
3221
  }
3222
- }, za = "LightBox-module__hidden___9s-9x", Ma = "LightBox-module__heroImage___sTxNF", Va = "LightBox-module__background___rm9ml", Ha = "LightBox-module__editor___4ACaY", Da = "LightBox-module__contentStyle___Bgnsq", ja = "LightBox-module__imageStyle___tLIlB", Ua = "LightBox-module__imgWrapper___LuFUp", Ga = "LightBox-module__contain___8-yaS", Ya = "LightBox-module__cover___hNvOG", qa = "LightBox-module__caption___b6L2I", Xa = "LightBox-module__captionTextInner___rCGNH", Ka = "LightBox-module__lightboxSplide___XFuWC", Ja = "LightBox-module__arrow___iz38X", Za = "LightBox-module__arrowVertical___Zfz81", Qa = "LightBox-module__nextArrow___zkAQN", tl = "LightBox-module__arrowInner___p48sW", el = "LightBox-module__arrowIcon___3VaFf", nl = "LightBox-module__arrowImg___pNV88", ol = "LightBox-module__mirror___pjeXc", rl = "LightBox-module__thumbsWrapper___GB-nU", il = "LightBox-module__thumbsContainerVertical___wttk5", al = "LightBox-module__thumbsContainer___osSma", ll = "LightBox-module__thumbsAlignStart___MO6tY", sl = "LightBox-module__thumbsAlignCenter___Q4sUx", cl = "LightBox-module__thumbsAlignEnd___p4y9R", ul = "LightBox-module__thumbItem___HvnF3", pl = "LightBox-module__closeButton___g2khP", dl = "LightBox-module__fadeIn___0m5GW", gl = "LightBox-module__slideInLeft___gPYwC", ml = "LightBox-module__slideInRight___S-pPp", fl = "LightBox-module__slideInTop___DFdAj", hl = "LightBox-module__slideInBottom___m27kZ", yl = "LightBox-module__fadeOut___55qBR", vl = "LightBox-module__slideOutLeft___NvU7P", bl = "LightBox-module__slideOutRight___SK7eC", Sl = "LightBox-module__slideOutTop___Vgg0z", xl = "LightBox-module__slideOutBottom___nJ0Ef", Cl = "LightBox-module__scaleSlide___vZriG", N = {
3223
- hidden: za,
3224
- heroImage: Ma,
3225
- background: Va,
3226
- editor: Ha,
3227
- contentStyle: Da,
3228
- imageStyle: ja,
3229
- imgWrapper: Ua,
3230
- contain: Ga,
3231
- cover: Ya,
3232
- caption: qa,
3233
- captionTextInner: Xa,
3234
- lightboxSplide: Ka,
3235
- arrow: Ja,
3236
- arrowVertical: Za,
3237
- nextArrow: Qa,
3238
- arrowInner: tl,
3239
- arrowIcon: el,
3240
- arrowImg: nl,
3241
- mirror: ol,
3242
- thumbsWrapper: rl,
3243
- thumbsContainerVertical: il,
3244
- thumbsContainer: al,
3245
- thumbsAlignStart: ll,
3246
- thumbsAlignCenter: sl,
3247
- thumbsAlignEnd: cl,
3248
- thumbItem: ul,
3249
- closeButton: pl,
3250
- fadeIn: dl,
3251
- slideInLeft: gl,
3252
- slideInRight: ml,
3253
- slideInTop: fl,
3254
- slideInBottom: hl,
3255
- fadeOut: yl,
3256
- slideOutLeft: vl,
3257
- slideOutRight: bl,
3258
- slideOutTop: Sl,
3259
- slideOutBottom: xl,
3260
- scaleSlide: Cl
3222
+ }, Ma = "LightBox-module__hidden___9s-9x", Va = "LightBox-module__heroImage___sTxNF", Ha = "LightBox-module__background___rm9ml", Da = "LightBox-module__editor___4ACaY", ja = "LightBox-module__contentStyle___Bgnsq", Ua = "LightBox-module__imageStyle___tLIlB", Ga = "LightBox-module__imgWrapper___LuFUp", Ya = "LightBox-module__contain___8-yaS", qa = "LightBox-module__cover___hNvOG", Xa = "LightBox-module__caption___b6L2I", Ka = "LightBox-module__captionTextInner___rCGNH", Ja = "LightBox-module__lightboxSplide___XFuWC", Za = "LightBox-module__arrow___iz38X", Qa = "LightBox-module__arrowVertical___Zfz81", tl = "LightBox-module__nextArrow___zkAQN", el = "LightBox-module__arrowInner___p48sW", nl = "LightBox-module__arrowIcon___3VaFf", ol = "LightBox-module__arrowImg___pNV88", rl = "LightBox-module__mirror___pjeXc", il = "LightBox-module__thumbsWrapper___GB-nU", al = "LightBox-module__thumbsContainerVertical___wttk5", ll = "LightBox-module__thumbsContainer___osSma", sl = "LightBox-module__thumbsAlignStart___MO6tY", cl = "LightBox-module__thumbsAlignCenter___Q4sUx", ul = "LightBox-module__thumbsAlignEnd___p4y9R", pl = "LightBox-module__thumbItem___HvnF3", dl = "LightBox-module__closeButton___g2khP", gl = "LightBox-module__fadeIn___0m5GW", ml = "LightBox-module__slideInLeft___gPYwC", fl = "LightBox-module__slideInRight___S-pPp", hl = "LightBox-module__slideInTop___DFdAj", yl = "LightBox-module__slideInBottom___m27kZ", vl = "LightBox-module__fadeOut___55qBR", bl = "LightBox-module__slideOutLeft___NvU7P", Sl = "LightBox-module__slideOutRight___SK7eC", xl = "LightBox-module__slideOutTop___Vgg0z", Cl = "LightBox-module__slideOutBottom___nJ0Ef", $l = "LightBox-module__scaleSlide___vZriG", N = {
3223
+ hidden: Ma,
3224
+ heroImage: Va,
3225
+ background: Ha,
3226
+ editor: Da,
3227
+ contentStyle: ja,
3228
+ imageStyle: Ua,
3229
+ imgWrapper: Ga,
3230
+ contain: Ya,
3231
+ cover: qa,
3232
+ caption: Xa,
3233
+ captionTextInner: Ka,
3234
+ lightboxSplide: Ja,
3235
+ arrow: Za,
3236
+ arrowVertical: Qa,
3237
+ nextArrow: tl,
3238
+ arrowInner: el,
3239
+ arrowIcon: nl,
3240
+ arrowImg: ol,
3241
+ mirror: rl,
3242
+ thumbsWrapper: il,
3243
+ thumbsContainerVertical: al,
3244
+ thumbsContainer: ll,
3245
+ thumbsAlignStart: sl,
3246
+ thumbsAlignCenter: cl,
3247
+ thumbsAlignEnd: ul,
3248
+ thumbItem: pl,
3249
+ closeButton: dl,
3250
+ fadeIn: gl,
3251
+ slideInLeft: ml,
3252
+ slideInRight: fl,
3253
+ slideInTop: hl,
3254
+ slideInBottom: yl,
3255
+ fadeOut: vl,
3256
+ slideOutLeft: bl,
3257
+ slideOutRight: Sl,
3258
+ slideOutTop: xl,
3259
+ slideOutBottom: Cl,
3260
+ scaleSlide: $l
3261
3261
  }, Xe = (t, e, n) => {
3262
3262
  const o = {}, [r, a] = t.split("-");
3263
3263
  return r === "top" ? (o.top = "0", o.bottom = "auto") : r === "middle" ? (o.top = "50%", o.bottom = "auto") : r === "bottom" && (o.top = "auto", o.bottom = "0"), a === "left" ? (o.left = "0", o.right = "auto") : a === "center" ? (o.left = "50%", o.right = "auto") : a === "right" && (o.left = "auto", o.right = "0"), r === "middle" && a === "center" ? o.transform = `translate(calc(-50% + ${O(e.x, n)}), calc(-50% + ${O(e.y, n)}))` : r === "middle" ? o.transform = `translate(${O(e.x, n)}, calc(-50% + ${O(e.y, n)}))` : a === "center" ? o.transform = `translate(calc(-50% + ${O(e.x, n)}), ${O(e.y, n)})` : o.transform = `translate(${O(e.x, n)}, ${O(e.y, n)})`, o;
3264
3264
  };
3265
- function hr(t) {
3265
+ function yr(t) {
3266
3266
  const e = window.getComputedStyle(t);
3267
3267
  return {
3268
3268
  top: parseFloat(e.paddingTop) || 0,
@@ -3271,11 +3271,11 @@ function hr(t) {
3271
3271
  left: parseFloat(e.paddingLeft) || 0
3272
3272
  };
3273
3273
  }
3274
- function _o(t) {
3275
- const e = t.getBoundingClientRect(), n = hr(t), o = Math.max(0, e.width - n.left - n.right), r = Math.max(0, e.height - n.top - n.bottom), a = t.naturalWidth, i = t.naturalHeight, l = o / r, s = a / i;
3274
+ function wo(t) {
3275
+ const e = t.getBoundingClientRect(), n = yr(t), o = Math.max(0, e.width - n.left - n.right), r = Math.max(0, e.height - n.top - n.bottom), a = t.naturalWidth, i = t.naturalHeight, l = o / r, s = a / i;
3276
3276
  let p, c;
3277
3277
  s > l ? (p = o, c = o / s) : (c = r, p = r * s);
3278
- const $ = e.left + n.left, y = e.top + n.top, g = (o - p) / 2 + $, u = (r - c) / 2 + y;
3278
+ const $ = e.left + n.left, v = e.top + n.top, g = (o - p) / 2 + $, u = (r - c) / 2 + v;
3279
3279
  return {
3280
3280
  x: g,
3281
3281
  y: u,
@@ -3283,8 +3283,8 @@ function _o(t) {
3283
3283
  height: c
3284
3284
  };
3285
3285
  }
3286
- function wo(t) {
3287
- const e = t.getBoundingClientRect(), n = hr(t);
3286
+ function To(t) {
3287
+ const e = t.getBoundingClientRect(), n = yr(t);
3288
3288
  return {
3289
3289
  left: e.left + n.left,
3290
3290
  right: e.right - n.right,
@@ -3292,7 +3292,7 @@ function wo(t) {
3292
3292
  bottom: e.bottom - n.bottom
3293
3293
  };
3294
3294
  }
3295
- function To(t) {
3295
+ function Lo(t) {
3296
3296
  const e = t.match(/rgba?\(([^)]+)\)/);
3297
3297
  if (e) {
3298
3298
  const o = e[1].split(",").map((r) => parseFloat(r.trim()));
@@ -3305,7 +3305,7 @@ function To(t) {
3305
3305
  }
3306
3306
  return t.match(/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/), 1;
3307
3307
  }
3308
- function $l(t, e) {
3308
+ function _l(t, e) {
3309
3309
  const n = (() => {
3310
3310
  if (t === "fade in") return N.fadeIn;
3311
3311
  if (t === "slide in" || t === "mix")
@@ -3373,11 +3373,11 @@ function $l(t, e) {
3373
3373
  })();
3374
3374
  return { appearClass: n, backdropAppearClass: o, backdropDisappearClass: r, disappearClass: a };
3375
3375
  }
3376
- const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, isEditor: a }) => {
3376
+ const wl = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, isEditor: a }) => {
3377
3377
  const [i, l] = ct(!1), { url: s } = t.thumbnailBlock.cover;
3378
- return St(() => {
3378
+ return xt(() => {
3379
3379
  r === "close" && l(!1), r === "open" && l(!0);
3380
- }, [r]), /* @__PURE__ */ xt(Ie, { children: [
3380
+ }, [r]), /* @__PURE__ */ Ct(Ie, { children: [
3381
3381
  /* @__PURE__ */ P(
3382
3382
  "img",
3383
3383
  {
@@ -3388,7 +3388,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3388
3388
  }
3389
3389
  ),
3390
3390
  /* @__PURE__ */ P(
3391
- wl,
3391
+ Tl,
3392
3392
  {
3393
3393
  isOpen: i,
3394
3394
  onClose: () => l(!1),
@@ -3400,51 +3400,51 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3400
3400
  }
3401
3401
  )
3402
3402
  ] });
3403
- }, wl = ({ isOpen: t, onClose: e, content: n, lightboxStyles: o, settings: r, portalId: a, isEditor: i, metadata: l }) => {
3403
+ }, Tl = ({ isOpen: t, onClose: e, content: n, lightboxStyles: o, settings: r, portalId: a, isEditor: i, metadata: l }) => {
3404
3404
  var M;
3405
- const [s, p] = ct(0), [c, $] = ct(0), [y, g] = ct(!1), [u, d] = ct(!1), [x, v] = ct({}), f = Lt(null), C = Lt(null), V = Lt(null), W = Lt(!1), _ = Lt(null), h = Lt(null), L = Lt(null), F = Lt(null), z = Lt(!1), k = Lt(null), [R, B] = ct(!1), { appear: j, triggers: D, slider: m, thumbnail: A, controls: T, area: w, caption: S, layout: I } = r.lightboxBlock, { appearClass: G, backdropAppearClass: ot, backdropDisappearClass: tt, disappearClass: rt } = $l(j.type, j.direction), E = (l == null ? void 0 : l.itemId) ?? null;
3406
- St(() => {
3405
+ const [s, p] = ct(0), [c, $] = ct(0), [v, g] = ct(!1), [u, d] = ct(!1), [S, f] = ct({}), h = Tt(null), C = Tt(null), V = Tt(null), W = Tt(!1), _ = Tt(null), y = Tt(null), L = Tt(null), F = Tt(null), z = Tt(!1), k = Tt(null), [R, B] = ct(!1), { appear: j, triggers: H, slider: m, thumbnail: A, controls: T, area: w, caption: x, layout: I } = r.lightboxBlock, { appearClass: G, backdropAppearClass: ot, backdropDisappearClass: tt, disappearClass: rt } = _l(j.type, j.direction), E = (l == null ? void 0 : l.itemId) ?? null;
3406
+ xt(() => {
3407
3407
  const b = () => {
3408
3408
  setTimeout(() => {
3409
3409
  var Y, K;
3410
- (K = (Y = f.current) == null ? void 0 : Y.splide) == null || K.refresh();
3410
+ (K = (Y = h.current) == null ? void 0 : Y.splide) == null || K.refresh();
3411
3411
  }, 16);
3412
- }, H = () => {
3412
+ }, D = () => {
3413
3413
  $((Y) => Y + 1);
3414
3414
  };
3415
- return window.addEventListener("ArticleEditor.Layout:change", b), window.addEventListener("ArticleEditor.ComponentContent:change", H), () => {
3416
- window.removeEventListener("ArticleEditor.Layout:change", b), window.removeEventListener("ArticleEditor.ComponentContent:change", H);
3415
+ return window.addEventListener("ArticleEditor.Layout:change", b), window.addEventListener("ArticleEditor.ComponentContent:change", D), () => {
3416
+ window.removeEventListener("ArticleEditor.Layout:change", b), window.removeEventListener("ArticleEditor.ComponentContent:change", D);
3417
3417
  };
3418
- }, []), St(() => {
3418
+ }, []), xt(() => {
3419
3419
  if (!t || !A.isActive) {
3420
3420
  B(!1);
3421
3421
  return;
3422
3422
  }
3423
3423
  const b = k.current;
3424
3424
  if (!b) return;
3425
- const H = () => {
3425
+ const D = () => {
3426
3426
  m.direction === "horiz" ? B(b.scrollWidth > b.clientWidth) : B(b.scrollHeight > b.clientHeight);
3427
3427
  };
3428
- H();
3429
- const Y = new ResizeObserver(H);
3428
+ D();
3429
+ const Y = new ResizeObserver(D);
3430
3430
  return Y.observe(b), () => Y.disconnect();
3431
- }, [t, A.isActive, n.length, x, m.direction]);
3432
- const X = Cr(() => {
3433
- const b = window.matchMedia("(max-width: 768px)").matches, H = To(w.color);
3434
- b && !i && H > 0.9 && (document.body.style.backgroundColor = ""), g(!0), W.current = !0;
3431
+ }, [t, A.isActive, n.length, S, m.direction]);
3432
+ const X = $r(() => {
3433
+ const b = window.matchMedia("(max-width: 768px)").matches, D = Lo(w.color);
3434
+ b && !i && D > 0.9 && (document.body.style.backgroundColor = ""), g(!0), W.current = !0;
3435
3435
  const Y = (K) => {
3436
- K.target === _.current && K.animationName && (_.current && h.current && _.current.removeEventListener("animationend", h.current), h.current = null, W.current && (W.current = !1, e()), g(!1));
3436
+ K.target === _.current && K.animationName && (_.current && y.current && _.current.removeEventListener("animationend", y.current), y.current = null, W.current && (W.current = !1, e()), g(!1));
3437
3437
  };
3438
- _.current && (h.current = Y, _.current.addEventListener("animationend", Y));
3439
- }, [e, w.color, i]), ft = (b, H, Y) => {
3438
+ _.current && (y.current = Y, _.current.addEventListener("animationend", Y));
3439
+ }, [e, w.color, i]), mt = (b, D, Y) => {
3440
3440
  var K, et;
3441
3441
  if (b) {
3442
- if (D.type === "click" && D.switch === "image")
3443
- D.repeat === "close" && s === n.length - 1 ? X() : (K = f.current) == null || K.go("+1");
3444
- else if (D.type === "click" && D.switch === "50/50") {
3445
- const Z = b.getBoundingClientRect(), q = H - Z.left, nt = Y - Z.top, yt = Z.width, it = Z.height;
3442
+ if (H.type === "click" && H.switch === "image")
3443
+ H.repeat === "close" && s === n.length - 1 ? X() : (K = h.current) == null || K.go("+1");
3444
+ else if (H.type === "click" && H.switch === "50/50") {
3445
+ const Z = b.getBoundingClientRect(), q = D - Z.left, nt = Y - Z.top, yt = Z.width, it = Z.height;
3446
3446
  let pt;
3447
- m.direction === "horiz" ? pt = q < yt / 2 ? "-1" : "+1" : pt = nt < it / 2 ? "-1" : "+1", (et = f.current) == null || et.go(pt);
3447
+ m.direction === "horiz" ? pt = q < yt / 2 ? "-1" : "+1" : pt = nt < it / 2 ? "-1" : "+1", (et = h.current) == null || et.go(pt);
3448
3448
  }
3449
3449
  }
3450
3450
  }, lt = (b) => {
@@ -3452,7 +3452,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3452
3452
  z.current = !1;
3453
3453
  return;
3454
3454
  }
3455
- const H = n[s], Y = (H == null ? void 0 : H.image.objectFit) === "cover";
3455
+ const D = n[s], Y = (D == null ? void 0 : D.image.objectFit) === "cover";
3456
3456
  let K, et;
3457
3457
  if ("changedTouches" in b && b.changedTouches.length > 0)
3458
3458
  K = b.changedTouches[0].clientX, et = b.changedTouches[0].clientY;
@@ -3462,55 +3462,55 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3462
3462
  return;
3463
3463
  let Z;
3464
3464
  if (Y && V.current) {
3465
- const q = wo(V.current);
3465
+ const q = To(V.current);
3466
3466
  Z = K >= q.left && K <= q.right && et >= q.top && et <= q.bottom;
3467
3467
  } else {
3468
- const q = V.current ? _o(V.current) : null;
3468
+ const q = V.current ? wo(V.current) : null;
3469
3469
  if (!q) {
3470
3470
  b.target === b.currentTarget && X();
3471
3471
  return;
3472
3472
  }
3473
3473
  Z = K >= q.x && K <= q.x + q.width && et >= q.y && et <= q.y + q.height;
3474
3474
  }
3475
- Z ? ft(V.current, K, et) : X();
3476
- }, ht = (b) => {
3477
- const H = b.target;
3478
- (H.classList.contains(N.thumbsWrapper) || H.classList.contains(N.thumbsContainer)) && lt(b);
3475
+ Z ? mt(V.current, K, et) : X();
3476
+ }, ft = (b) => {
3477
+ const D = b.target;
3478
+ (D.classList.contains(N.thumbsWrapper) || D.classList.contains(N.thumbsContainer)) && lt(b);
3479
3479
  };
3480
- St(() => {
3480
+ xt(() => {
3481
3481
  if (!t) return;
3482
- const b = (H) => {
3482
+ const b = (D) => {
3483
3483
  var Y, K;
3484
- if (H.key === "Escape") {
3484
+ if (D.key === "Escape") {
3485
3485
  X();
3486
3486
  return;
3487
3487
  }
3488
- if (H.key === "ArrowRight") {
3489
- p((et) => (et + 1) % Math.max(n.length, 1)), (Y = f.current) == null || Y.go("+1");
3488
+ if (D.key === "ArrowRight") {
3489
+ p((et) => (et + 1) % Math.max(n.length, 1)), (Y = h.current) == null || Y.go("+1");
3490
3490
  return;
3491
3491
  }
3492
- H.key === "ArrowLeft" && (p((et) => (et - 1 + Math.max(n.length, 1)) % Math.max(n.length, 1)), (K = f.current) == null || K.go("-1"));
3492
+ D.key === "ArrowLeft" && (p((et) => (et - 1 + Math.max(n.length, 1)) % Math.max(n.length, 1)), (K = h.current) == null || K.go("-1"));
3493
3493
  };
3494
3494
  return window.addEventListener("keydown", b), () => {
3495
3495
  window.removeEventListener("keydown", b);
3496
3496
  };
3497
- }, [t, X, n.length]), St(() => {
3497
+ }, [t, X, n.length]), xt(() => {
3498
3498
  if (t) {
3499
- if (p(0), $((H) => H + 1), W.current = !1, g(!1), d(!1), v({}), !E) return;
3499
+ if (p(0), $((D) => D + 1), W.current = !1, g(!1), d(!1), f({}), !E) return;
3500
3500
  const b = new CustomEvent("page-overlay", { detail: { itemId: E } });
3501
3501
  window.dispatchEvent(b);
3502
3502
  }
3503
3503
  return () => {
3504
- _.current && h.current && (_.current.removeEventListener("animationend", h.current), h.current = null), d(!1);
3504
+ _.current && y.current && (_.current.removeEventListener("animationend", y.current), y.current = null), d(!1);
3505
3505
  };
3506
- }, [t, E]), St(() => {
3506
+ }, [t, E]), xt(() => {
3507
3507
  C.current !== null && C.current !== m.type && $((b) => b + 1), C.current = m.type;
3508
- }, [m.type]), St(() => {
3508
+ }, [m.type]), xt(() => {
3509
3509
  if (!t) return;
3510
- const b = document.body.style.overflow, H = window.matchMedia("(max-width: 768px)").matches, Y = To(w.color);
3510
+ const b = document.body.style.overflow, D = window.matchMedia("(max-width: 768px)").matches, Y = Lo(w.color);
3511
3511
  document.body.style.overflow = "hidden", d(!1);
3512
3512
  const K = (Z) => {
3513
- Z.target === _.current && !W.current && Z.animationName && (H && !i && Y > 0.9 && (document.body.style.backgroundColor = w.color), d(!0), _.current && L.current && _.current.removeEventListener("animationend", L.current), L.current = null);
3513
+ Z.target === _.current && !W.current && Z.animationName && (D && !i && Y > 0.9 && (document.body.style.backgroundColor = w.color), d(!0), _.current && L.current && _.current.removeEventListener("animationend", L.current), L.current = null);
3514
3514
  };
3515
3515
  _.current && (L.current = K, _.current.addEventListener("animationend", K));
3516
3516
  const et = (Z) => {
@@ -3520,38 +3520,38 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3520
3520
  return document.addEventListener("touchmove", et, { passive: !1 }), () => {
3521
3521
  document.body.style.overflow = b, document.removeEventListener("touchmove", et), _.current && L.current && (_.current.removeEventListener("animationend", L.current), L.current = null), d(!1);
3522
3522
  };
3523
- }, [t, i, w.color, m.type]), St(() => {
3523
+ }, [t, i, w.color, m.type]), xt(() => {
3524
3524
  if (!t) return;
3525
- const b = (H) => {
3525
+ const b = (D) => {
3526
3526
  var K, et;
3527
3527
  if (W.current) {
3528
- H.stopPropagation();
3528
+ D.stopPropagation();
3529
3529
  return;
3530
3530
  }
3531
3531
  if (z.current) {
3532
3532
  z.current = !1;
3533
3533
  return;
3534
3534
  }
3535
- const Y = H.target;
3535
+ const Y = D.target;
3536
3536
  if (!(Y && (Y.closest(`.${N.thumbsContainer}`) || Y.closest(`.${N.thumbItem}`)))) {
3537
- if (m.type === "slide" && D.type === "drag" && ((et = (K = f.current) == null ? void 0 : K.splide) != null && et.root)) {
3538
- const Z = f.current.splide.root;
3537
+ if (m.type === "slide" && H.type === "drag" && ((et = (K = h.current) == null ? void 0 : K.splide) != null && et.root)) {
3538
+ const Z = h.current.splide.root;
3539
3539
  if (Y && (Z.contains(Y) || Z === Y))
3540
3540
  return;
3541
3541
  }
3542
- if (H.touches.length === 0 && H.changedTouches.length > 0) {
3543
- const Z = n[s], q = (Z == null ? void 0 : Z.image.objectFit) === "cover", nt = H.changedTouches[0];
3542
+ if (D.touches.length === 0 && D.changedTouches.length > 0) {
3543
+ const Z = n[s], q = (Z == null ? void 0 : Z.image.objectFit) === "cover", nt = D.changedTouches[0];
3544
3544
  let yt;
3545
3545
  if (q && V.current) {
3546
- const it = wo(V.current);
3546
+ const it = To(V.current);
3547
3547
  yt = nt.clientX >= it.left && nt.clientX <= it.right && nt.clientY >= it.top && nt.clientY <= it.bottom;
3548
3548
  } else {
3549
- const it = V.current ? _o(V.current) : null;
3549
+ const it = V.current ? wo(V.current) : null;
3550
3550
  if (!it) return;
3551
3551
  yt = nt.clientX >= it.x && nt.clientX <= it.x + it.width && nt.clientY >= it.y && nt.clientY <= it.y + it.height;
3552
3552
  }
3553
3553
  if (!yt) {
3554
- H.stopPropagation(), W.current = !0;
3554
+ D.stopPropagation(), W.current = !0;
3555
3555
  const it = (pt) => {
3556
3556
  pt.stopPropagation(), pt.preventDefault(), document.removeEventListener("click", it, !0);
3557
3557
  };
@@ -3564,26 +3564,26 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3564
3564
  document.removeEventListener("touchend", b);
3565
3565
  };
3566
3566
  }, [t, X, s, n]);
3567
- const bt = (m.type === "scale" || m.type === "fade") && m.direction === "vert" && D.type === "drag";
3568
- St(() => {
3567
+ const St = (m.type === "scale" || m.type === "fade") && m.direction === "vert" && H.type === "drag";
3568
+ xt(() => {
3569
3569
  var pt, Nt;
3570
- if (!t || !bt || !((Nt = (pt = f.current) == null ? void 0 : pt.splide) != null && Nt.root)) return;
3571
- const b = f.current.splide.root, H = 30, Y = (Q, st) => {
3570
+ if (!t || !St || !((Nt = (pt = h.current) == null ? void 0 : pt.splide) != null && Nt.root)) return;
3571
+ const b = h.current.splide.root, D = 30, Y = (Q, st) => {
3572
3572
  if (F.current) {
3573
- const wt = Math.abs(Q - F.current.x), Kt = Math.abs(st - F.current.y);
3574
- (wt > 0 || Kt > 0) && (z.current = !0);
3573
+ const wt = Math.abs(Q - F.current.x), Xt = Math.abs(st - F.current.y);
3574
+ (wt > 0 || Xt > 0) && (z.current = !0);
3575
3575
  }
3576
3576
  }, K = (Q) => {
3577
3577
  F.current && (Q.preventDefault(), Y(Q.clientX, Q.clientY));
3578
3578
  }, et = (Q) => {
3579
3579
  F.current && Q.touches.length > 0 && (Q.preventDefault(), Y(Q.touches[0].clientX, Q.touches[0].clientY));
3580
3580
  }, Z = (Q, st) => {
3581
- if (!F.current || !f.current) {
3581
+ if (!F.current || !h.current) {
3582
3582
  F.current = null;
3583
3583
  return;
3584
3584
  }
3585
- const wt = Math.abs(Q - F.current.x), Kt = Math.abs(st - F.current.y);
3586
- Kt > H && Kt > wt && f.current.go(st < F.current.y ? "+1" : "-1"), F.current = null;
3585
+ const wt = Math.abs(Q - F.current.x), Xt = Math.abs(st - F.current.y);
3586
+ Xt > D && Xt > wt && h.current.go(st < F.current.y ? "+1" : "-1"), F.current = null;
3587
3587
  }, q = (Q) => {
3588
3588
  F.current && Z(Q.clientX, Q.clientY), document.removeEventListener("pointerup", q), document.removeEventListener("pointercancel", q), document.removeEventListener("pointermove", K);
3589
3589
  }, nt = (Q) => {
@@ -3602,32 +3602,32 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3602
3602
  return b.addEventListener("pointerdown", yt), b.addEventListener("touchstart", it), () => {
3603
3603
  b.removeEventListener("pointerdown", yt), b.removeEventListener("touchstart", it), document.removeEventListener("pointermove", K), document.removeEventListener("pointerup", q), document.removeEventListener("pointercancel", q), document.removeEventListener("touchmove", et), document.removeEventListener("touchend", nt), document.removeEventListener("touchcancel", nt), F.current = null, z.current = !1;
3604
3604
  };
3605
- }, [t, bt, c]);
3606
- const Xt = {
3605
+ }, [t, St, c]);
3606
+ const qt = {
3607
3607
  backgroundColor: w.color,
3608
3608
  backdropFilter: `blur(${w.blur}px)`,
3609
3609
  animationDuration: `${parseInt(j.duration)}ms`,
3610
3610
  animationTimingFunction: "ease",
3611
3611
  animationFillMode: "both"
3612
3612
  };
3613
- return typeof document > "u" || !document.getElementById(a) ? null : $r(
3614
- /* @__PURE__ */ xt(Ie, { children: [
3613
+ return typeof document > "u" || !document.getElementById(a) ? null : _r(
3614
+ /* @__PURE__ */ Ct(Ie, { children: [
3615
3615
  /* @__PURE__ */ P(
3616
3616
  "div",
3617
3617
  {
3618
3618
  ref: i ? null : _,
3619
- className: gt(N.background, y ? tt : ot, { [N.editor]: i }, { [N.hidden]: !t }),
3619
+ className: dt(N.background, v ? tt : ot, { [N.editor]: i }, { [N.hidden]: !t }),
3620
3620
  style: {
3621
- ...Xt,
3622
- ...u && !i && !y ? { position: "absolute" } : {}
3621
+ ...qt,
3622
+ ...u && !i && !v ? { position: "absolute" } : {}
3623
3623
  }
3624
3624
  }
3625
3625
  ),
3626
- /* @__PURE__ */ xt(
3626
+ /* @__PURE__ */ Ct(
3627
3627
  "div",
3628
3628
  {
3629
3629
  ref: i ? _ : null,
3630
- className: gt(N.contentStyle, y ? rt : G, { [N.editor]: i }, { [N.hidden]: !t }),
3630
+ className: dt(N.contentStyle, v ? rt : G, { [N.editor]: i }, { [N.hidden]: !t }),
3631
3631
  style: {
3632
3632
  animationDuration: `${parseInt(j.duration)}ms`,
3633
3633
  animationTimingFunction: "ease",
@@ -3635,10 +3635,10 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3635
3635
  },
3636
3636
  children: [
3637
3637
  /* @__PURE__ */ P(
3638
- gr,
3638
+ mr,
3639
3639
  {
3640
3640
  onMove: (b) => p(b.index),
3641
- ref: f,
3641
+ ref: h,
3642
3642
  className: N.lightboxSplide,
3643
3643
  options: {
3644
3644
  arrows: !1,
@@ -3646,17 +3646,17 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3646
3646
  direction: m.direction === "horiz" || m.type === "fade" || m.type === "scale" ? "ltr" : "ttb",
3647
3647
  pagination: !1,
3648
3648
  // Disable Splide's drag when we need custom vertical drag handling
3649
- drag: D.type === "drag" && !bt,
3649
+ drag: H.type === "drag" && !St,
3650
3650
  perPage: 1,
3651
3651
  width: "100%",
3652
3652
  height: "100%",
3653
3653
  type: m.type === "fade" || m.type === "scale" ? "fade" : "loop",
3654
3654
  padding: 0,
3655
- rewind: D.repeat !== "close",
3655
+ rewind: H.repeat !== "close",
3656
3656
  start: 0
3657
3657
  },
3658
3658
  style: { "--splide-speed": m.duration },
3659
- children: n.map((b, H) => {
3659
+ children: n.map((b, D) => {
3660
3660
  const Y = Xe(I.position, I.offset, i), K = `${O(I.padding.top, i)} ${O(I.padding.right, i)} ${O(I.padding.bottom, i)} ${O(I.padding.left, i)}`, et = m.type === "scale" ? (() => {
3661
3661
  const { transform: Z, ...q } = Y;
3662
3662
  return {
@@ -3667,11 +3667,11 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3667
3667
  "--position-transform": Z || "none"
3668
3668
  };
3669
3669
  })() : { ...Y, position: "absolute", padding: K, boxSizing: "border-box" };
3670
- return /* @__PURE__ */ P(mr, { children: /* @__PURE__ */ P("div", { className: N.imgWrapper, onClick: lt, children: /* @__PURE__ */ P(
3670
+ return /* @__PURE__ */ P(fr, { children: /* @__PURE__ */ P("div", { className: N.imgWrapper, onClick: lt, children: /* @__PURE__ */ P(
3671
3671
  "img",
3672
3672
  {
3673
- ref: H === s ? V : null,
3674
- className: gt(N.imageStyle, {
3673
+ ref: D === s ? V : null,
3674
+ className: dt(N.imageStyle, {
3675
3675
  [N.contain]: b.image.objectFit === "contain",
3676
3676
  [N.cover]: b.image.objectFit === "cover",
3677
3677
  [N.scaleSlide]: m.type === "scale"
@@ -3680,25 +3680,25 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3680
3680
  alt: b.image.name ?? "",
3681
3681
  style: { ...et, pointerEvents: b.image.objectFit === "contain" ? "none" : "auto" }
3682
3682
  }
3683
- ) }) }, H);
3683
+ ) }) }, D);
3684
3684
  })
3685
3685
  },
3686
3686
  c
3687
3687
  ),
3688
- T.isActive && /* @__PURE__ */ xt(Ie, { children: [
3688
+ T.isActive && /* @__PURE__ */ Ct(Ie, { children: [
3689
3689
  /* @__PURE__ */ P(
3690
3690
  "div",
3691
3691
  {
3692
- className: gt(N.arrow, { [N.arrowVertical]: m.direction === "vert" }),
3692
+ className: dt(N.arrow, { [N.arrowVertical]: m.direction === "vert" }),
3693
3693
  style: { color: T.color, "--arrow-hover-color": T.hover },
3694
- children: /* @__PURE__ */ xt(
3694
+ children: /* @__PURE__ */ Ct(
3695
3695
  "button",
3696
3696
  {
3697
3697
  className: N.arrowInner,
3698
3698
  style: { transform: `translate(${O(T.offset.x, i)}, ${O(T.offset.y * (m.direction === "horiz" ? 1 : -1), i)}) scale(${T.scale}) rotate(${m.direction === "horiz" ? "0deg" : "90deg"})` },
3699
3699
  onClick: () => {
3700
3700
  var b;
3701
- return (b = f.current) == null ? void 0 : b.go("-1");
3701
+ return (b = h.current) == null ? void 0 : b.go("-1");
3702
3702
  },
3703
3703
  "aria-label": "Previous",
3704
3704
  children: [
@@ -3708,10 +3708,10 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3708
3708
  url: T.arrowsImgUrl,
3709
3709
  fill: T.color,
3710
3710
  hoverFill: T.hover,
3711
- className: gt(N.arrowImg, N.mirror)
3711
+ className: dt(N.arrowImg, N.mirror)
3712
3712
  }
3713
3713
  ),
3714
- !T.arrowsImgUrl && /* @__PURE__ */ P(Lo, { color: T.color, className: gt(N.arrowIcon, N.arrowImg, N.mirror) })
3714
+ !T.arrowsImgUrl && /* @__PURE__ */ P(Eo, { color: T.color, className: dt(N.arrowIcon, N.arrowImg, N.mirror) })
3715
3715
  ]
3716
3716
  }
3717
3717
  )
@@ -3720,16 +3720,16 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3720
3720
  /* @__PURE__ */ P(
3721
3721
  "div",
3722
3722
  {
3723
- className: gt(N.arrow, N.nextArrow, { [N.arrowVertical]: m.direction === "vert" }),
3723
+ className: dt(N.arrow, N.nextArrow, { [N.arrowVertical]: m.direction === "vert" }),
3724
3724
  style: { color: T.color, "--arrow-hover-color": T.hover },
3725
- children: /* @__PURE__ */ xt(
3725
+ children: /* @__PURE__ */ Ct(
3726
3726
  "button",
3727
3727
  {
3728
3728
  className: N.arrowInner,
3729
3729
  style: { transform: `translate(${O(T.offset.x * (m.direction === "horiz" ? -1 : 1), i)}, ${O(T.offset.y, i)}) scale(${T.scale}) rotate(${m.direction === "horiz" ? "0deg" : "90deg"})` },
3730
3730
  onClick: () => {
3731
3731
  var b;
3732
- return (b = f.current) == null ? void 0 : b.go("+1");
3732
+ return (b = h.current) == null ? void 0 : b.go("+1");
3733
3733
  },
3734
3734
  "aria-label": "Next",
3735
3735
  children: [
@@ -3742,7 +3742,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3742
3742
  className: N.arrowImg
3743
3743
  }
3744
3744
  ),
3745
- !T.arrowsImgUrl && /* @__PURE__ */ P(Lo, { color: T.color, className: gt(N.arrowIcon, N.arrowImg) })
3745
+ !T.arrowsImgUrl && /* @__PURE__ */ P(Eo, { color: T.color, className: dt(N.arrowIcon, N.arrowImg) })
3746
3746
  ]
3747
3747
  }
3748
3748
  )
@@ -3750,20 +3750,20 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3750
3750
  )
3751
3751
  ] }),
3752
3752
  w.closeIconUrl && (() => {
3753
- const b = Xe(w.closeIconAlign, w.closeIconOffset, i), H = `scale(${w.closeIconScale})`, Y = b.transform ? `${b.transform} ${H}` : H;
3753
+ const b = Xe(w.closeIconAlign, w.closeIconOffset, i), D = `scale(${w.closeIconScale})`, Y = b.transform ? `${b.transform} ${D}` : D;
3754
3754
  return /* @__PURE__ */ P("button", { className: N.closeButton, style: { ...b, transform: Y }, onClick: X, "aria-label": "Close lightbox", children: /* @__PURE__ */ P(ye, { url: w.closeIconUrl, fill: w.closeIconColor ?? "#000000", hoverFill: w.closeIconHover ?? "#cccccc" }) });
3755
3755
  })(),
3756
- S && S.isActive && o.imageCaption && ((M = n[s]) == null ? void 0 : M.imageCaption) && (() => {
3757
- const { widthSettings: b, fontSettings: H, letterSpacing: Y, textAlign: K, wordSpacing: et, fontSizeLineHeight: Z, textAppearance: q, color: nt } = o.imageCaption;
3756
+ x && x.isActive && o.imageCaption && ((M = n[s]) == null ? void 0 : M.imageCaption) && (() => {
3757
+ const { widthSettings: b, fontSettings: D, letterSpacing: Y, textAlign: K, wordSpacing: et, fontSizeLineHeight: Z, textAppearance: q, color: nt } = o.imageCaption;
3758
3758
  return /* @__PURE__ */ P(
3759
3759
  "div",
3760
3760
  {
3761
3761
  className: N.caption,
3762
3762
  style: {
3763
- ...Xe(S.alignment, S.offset, i),
3764
- fontFamily: H.fontFamily,
3765
- fontWeight: H.fontWeight,
3766
- fontStyle: H.fontStyle,
3763
+ ...Xe(x.alignment, x.offset, i),
3764
+ fontFamily: D.fontFamily,
3765
+ fontWeight: D.fontWeight,
3766
+ fontStyle: D.fontStyle,
3767
3767
  width: b.sizing === "auto" ? "max-content" : O(b.width, i),
3768
3768
  letterSpacing: O(Y, i),
3769
3769
  wordSpacing: O(et, i),
@@ -3782,21 +3782,21 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3782
3782
  "data-styles": "imageCaption",
3783
3783
  className: N.captionTextInner,
3784
3784
  style: {
3785
- "--link-color": S.linkColor,
3786
- "--link-hover-color": S.linkHoverColor
3785
+ "--link-color": x.linkColor,
3786
+ "--link-hover-color": x.linkHoverColor
3787
3787
  },
3788
- children: /* @__PURE__ */ P(fr, { content: n[s].imageCaption })
3788
+ children: /* @__PURE__ */ P(hr, { content: n[s].imageCaption })
3789
3789
  }
3790
3790
  )
3791
3791
  }
3792
3792
  );
3793
3793
  })(),
3794
3794
  A.isActive && (() => {
3795
- const [b, H] = A.position.split("-"), Y = m.direction === "horiz" ? `${b}-left` : A.position, K = Xe(Y, A.offset, i), et = () => {
3795
+ const [b, D] = A.position.split("-"), Y = m.direction === "horiz" ? `${b}-left` : A.position, K = Xe(Y, A.offset, i), et = () => {
3796
3796
  if (m.direction === "horiz") {
3797
- if (H === "left") return "flex-start";
3798
- if (H === "center") return "center";
3799
- if (H === "right") return "flex-end";
3797
+ if (D === "left") return "flex-start";
3798
+ if (D === "center") return "center";
3799
+ if (D === "right") return "flex-end";
3800
3800
  } else {
3801
3801
  if (b === "top") return "flex-start";
3802
3802
  if (b === "middle") return "center";
@@ -3809,7 +3809,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3809
3809
  {
3810
3810
  ref: k,
3811
3811
  className: N.thumbsWrapper,
3812
- onClick: (Z) => ht(Z),
3812
+ onClick: (Z) => ft(Z),
3813
3813
  style: {
3814
3814
  position: i ? "absolute" : "fixed",
3815
3815
  ...K,
@@ -3827,7 +3827,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3827
3827
  children: /* @__PURE__ */ P(
3828
3828
  "div",
3829
3829
  {
3830
- className: gt(N.thumbsContainer, {
3830
+ className: dt(N.thumbsContainer, {
3831
3831
  [N.thumbsContainerVertical]: m.direction === "vert",
3832
3832
  [N.thumbsAlignStart]: A.align === "start",
3833
3833
  [N.thumbsAlignCenter]: A.align === "center",
@@ -3838,7 +3838,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3838
3838
  justifyContent: R ? "flex-start" : et()
3839
3839
  },
3840
3840
  children: n.map((Z, q) => {
3841
- const nt = q === s, yt = x[q], pt = A.grid.size * (nt ? A.activeState.scale : 1), Nt = () => {
3841
+ const nt = q === s, yt = S[q], pt = A.grid.size * (nt ? A.activeState.scale : 1), Nt = () => {
3842
3842
  if (A.fit !== "fit") return {};
3843
3843
  if (!yt)
3844
3844
  return m.direction === "horiz" ? { height: O(pt, i) } : { width: O(pt, i) };
@@ -3872,11 +3872,11 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3872
3872
  },
3873
3873
  onClick: (Q) => {
3874
3874
  var st;
3875
- Q.stopPropagation(), p(q), (st = f.current) == null || st.go(q);
3875
+ Q.stopPropagation(), p(q), (st = h.current) == null || st.go(q);
3876
3876
  },
3877
3877
  onMouseEnter: () => {
3878
3878
  var Q;
3879
- A.triggers === "hov" && ((Q = f.current) == null || Q.go(q));
3879
+ A.triggers === "hov" && ((Q = h.current) == null || Q.go(q));
3880
3880
  },
3881
3881
  children: /* @__PURE__ */ P(
3882
3882
  "img",
@@ -3885,7 +3885,7 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3885
3885
  alt: Z.image.name ?? "",
3886
3886
  onLoad: (Q) => {
3887
3887
  const st = Q.currentTarget;
3888
- st.naturalWidth && st.naturalHeight && v((wt) => ({
3888
+ st.naturalWidth && st.naturalHeight && f((wt) => ({
3889
3889
  ...wt,
3890
3890
  [q]: { width: st.naturalWidth, height: st.naturalHeight }
3891
3891
  }));
@@ -3913,11 +3913,11 @@ const _l = ({ settings: t, content: e, styles: n, portalId: o, activeEvent: r, i
3913
3913
  document.getElementById(a)
3914
3914
  );
3915
3915
  };
3916
- function Lo({ color: t, className: e }) {
3916
+ function Eo({ color: t, className: e }) {
3917
3917
  return /* @__PURE__ */ P("svg", { viewBox: "0 0 10 18", className: e, children: /* @__PURE__ */ P("g", { id: "Symbols", stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ P("path", { d: "M-3.70710678,4.29289322 C-3.34662282,3.93240926 -2.77939176,3.90467972 -2.38710056,4.20970461 L-2.29289322,4.29289322 L5,11.585 L12.2928932,4.29289322 C12.6533772,3.93240926 13.2206082,3.90467972 13.6128994,4.20970461 L13.7071068,4.29289322 C14.0675907,4.65337718 14.0953203,5.22060824 13.7902954,5.61289944 L13.7071068,5.70710678 L5.70710678,13.7071068 C5.34662282,14.0675907 4.77939176,14.0953203 4.38710056,13.7902954 L4.29289322,13.7071068 L-3.70710678,5.70710678 C-4.09763107,5.31658249 -4.09763107,4.68341751 -3.70710678,4.29289322 Z", id: "Shape-Copy", fill: t, transform: "translate(5, 9) rotate(-90) translate(-5, -9)" }) }) });
3918
3918
  }
3919
- const Tl = {
3920
- element: _l,
3919
+ const Ll = {
3920
+ element: wl,
3921
3921
  id: "lightbox",
3922
3922
  name: "Lightbox",
3923
3923
  preview: {
@@ -5010,7 +5010,7 @@ function ie(t, e) {
5010
5010
  function Ke(t) {
5011
5011
  return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
5012
5012
  }
5013
- function Ll(t) {
5013
+ function El(t) {
5014
5014
  return `
5015
5015
  .${t}-wrapper {
5016
5016
  display: flex;
@@ -5149,8 +5149,8 @@ function Ll(t) {
5149
5149
  }
5150
5150
  `;
5151
5151
  }
5152
- function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5153
- const { prefix: r } = Ao(), {
5152
+ function Al({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5153
+ const { prefix: r } = Io(), {
5154
5154
  type: a = "A",
5155
5155
  fieldsToShow: i = 2,
5156
5156
  fields: l = [],
@@ -5158,18 +5158,18 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5158
5158
  gap: p,
5159
5159
  fieldsGap: c,
5160
5160
  buttonCorners: $,
5161
- buttonStroke: y,
5161
+ buttonStroke: v,
5162
5162
  buttonPadding: g,
5163
5163
  isButtonFullWidth: u,
5164
5164
  inputCorners: d,
5165
- inputStroke: x,
5166
- inputPadding: v,
5167
- inputColor: f,
5165
+ inputStroke: S,
5166
+ inputPadding: f,
5167
+ inputColor: h,
5168
5168
  inputTextColor: C,
5169
5169
  inputBorderColor: V,
5170
5170
  placeholderColor: W,
5171
5171
  buttonColor: _,
5172
- buttonTextColor: h,
5172
+ buttonTextColor: y,
5173
5173
  buttonBorderColor: L,
5174
5174
  labelTextColor: F,
5175
5175
  successColor: z,
@@ -5177,12 +5177,12 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5177
5177
  fontFamily: R,
5178
5178
  inputFontSettings: B,
5179
5179
  inputFontSize: j,
5180
- inputLineHeight: D,
5180
+ inputLineHeight: H,
5181
5181
  inputLetterSpacing: m,
5182
5182
  inputWordSpacing: A,
5183
5183
  inputTextAppearance: T,
5184
5184
  buttonFontSettings: w,
5185
- buttonFontSize: S,
5185
+ buttonFontSize: x,
5186
5186
  buttonLineHeight: I,
5187
5187
  buttonLetterSpacing: G,
5188
5188
  buttonWordSpacing: ot,
@@ -5190,14 +5190,14 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5190
5190
  labelFontSettings: rt,
5191
5191
  labelFontSize: E,
5192
5192
  labelLineHeight: X,
5193
- labelLetterSpacing: ft,
5193
+ labelLetterSpacing: mt,
5194
5194
  labelWordSpacing: lt,
5195
- labelTextAppearance: ht,
5196
- statusFontSettings: bt,
5197
- statusFontSize: Xt,
5195
+ labelTextAppearance: ft,
5196
+ statusFontSettings: St,
5197
+ statusFontSize: qt,
5198
5198
  statusLineHeight: M,
5199
5199
  statusLetterSpacing: b,
5200
- statusWordSpacing: H,
5200
+ statusWordSpacing: D,
5201
5201
  statusTextAppearance: Y,
5202
5202
  successMessage: K,
5203
5203
  errorMessage: et,
@@ -5209,12 +5209,15 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5209
5209
  fontStyle: (B == null ? void 0 : B.fontStyle) ?? "normal"
5210
5210
  },
5211
5211
  fontSize: j ?? 0.01,
5212
- lineHeight: D,
5212
+ lineHeight: H,
5213
5213
  letterSpacing: m ?? 0,
5214
5214
  wordSpacing: A ?? 0,
5215
5215
  textAppearance: T,
5216
5216
  color: C
5217
- }, it = ve(ie(yt, e)), pt = O(x ?? 0, e), Nt = {
5217
+ }, it = ve(ie(yt, e)), pt = O(S ?? 0, e), Nt = O(
5218
+ (H ?? j ?? 0.01) + ((f == null ? void 0 : f.top) ?? 0) + ((f == null ? void 0 : f.bottom) ?? 0) + (a === "C" ? S ?? 0 : (S ?? 0) * 2),
5219
+ e
5220
+ ), Q = {
5218
5221
  ...it,
5219
5222
  borderStyle: "solid",
5220
5223
  borderRadius: a === "C" ? 0 : O(d ?? 0, e),
@@ -5224,23 +5227,25 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5224
5227
  borderBottomWidth: pt,
5225
5228
  borderLeftWidth: 0
5226
5229
  } : { borderWidth: pt },
5227
- paddingTop: O((v == null ? void 0 : v.top) ?? 0, e),
5228
- paddingRight: O((v == null ? void 0 : v.right) ?? 0, e),
5229
- paddingBottom: O((v == null ? void 0 : v.bottom) ?? 0, e),
5230
- paddingLeft: O((v == null ? void 0 : v.left) ?? 0, e)
5231
- }, Q = {
5230
+ paddingTop: O((f == null ? void 0 : f.top) ?? 0, e),
5231
+ paddingRight: O((f == null ? void 0 : f.right) ?? 0, e),
5232
+ paddingBottom: O((f == null ? void 0 : f.bottom) ?? 0, e),
5233
+ paddingLeft: O((f == null ? void 0 : f.left) ?? 0, e),
5234
+ height: Nt,
5235
+ minHeight: Nt
5236
+ }, st = {
5232
5237
  fontSettings: {
5233
5238
  fontFamily: R,
5234
5239
  fontWeight: (w == null ? void 0 : w.fontWeight) ?? 400,
5235
5240
  fontStyle: (w == null ? void 0 : w.fontStyle) ?? "normal"
5236
5241
  },
5237
- fontSize: S ?? 0.01,
5242
+ fontSize: x ?? 0.01,
5238
5243
  lineHeight: I,
5239
5244
  letterSpacing: G ?? 0,
5240
5245
  wordSpacing: ot ?? 0,
5241
5246
  textAppearance: tt,
5242
- color: h
5243
- }, st = ve(ie(Q, e)), wt = O(y ?? 0, e), Kt = {
5247
+ color: y
5248
+ }, wt = ve(ie(st, e)), Xt = O(v ?? 0, e), xn = {
5244
5249
  fontSettings: {
5245
5250
  fontFamily: R,
5246
5251
  fontWeight: (rt == null ? void 0 : rt.fontWeight) ?? 400,
@@ -5248,83 +5253,83 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5248
5253
  },
5249
5254
  fontSize: E ?? 0.01,
5250
5255
  lineHeight: X,
5251
- letterSpacing: ft ?? 0,
5256
+ letterSpacing: mt ?? 0,
5252
5257
  wordSpacing: lt ?? 0,
5253
- textAppearance: ht,
5258
+ textAppearance: ft,
5254
5259
  color: F
5255
- }, we = ie(Kt, e), xn = {
5260
+ }, we = ie(xn, e), ht = {
5256
5261
  fontSettings: {
5257
5262
  fontFamily: R,
5258
- fontWeight: (bt == null ? void 0 : bt.fontWeight) ?? 400,
5259
- fontStyle: (bt == null ? void 0 : bt.fontStyle) ?? "normal"
5263
+ fontWeight: (St == null ? void 0 : St.fontWeight) ?? 400,
5264
+ fontStyle: (St == null ? void 0 : St.fontStyle) ?? "normal"
5260
5265
  },
5261
- fontSize: Xt ?? 0.01,
5266
+ fontSize: qt ?? 0.01,
5262
5267
  lineHeight: M,
5263
5268
  letterSpacing: b ?? 0,
5264
- wordSpacing: H ?? 0,
5269
+ wordSpacing: D ?? 0,
5265
5270
  textAppearance: Y,
5266
5271
  color: z
5267
- }, dt = ve(ie(xn, e)), zt = Io(r, {
5268
- inputColor: f,
5272
+ }, Bt = ve(ie(ht, e)), ne = ko(r, {
5273
+ inputColor: h,
5269
5274
  inputTextColor: C,
5270
5275
  inputBorderColor: V,
5271
5276
  placeholderColor: W != null && W.trim() ? W : "#cccccc",
5272
5277
  buttonColor: _,
5273
- buttonTextColor: h,
5278
+ buttonTextColor: y,
5274
5279
  buttonBorderColor: L,
5275
5280
  labelTextColor: F,
5276
5281
  successColor: z,
5277
5282
  errorColor: k
5278
- }, Al, Il, Z), [Tt, $t] = ct(
5283
+ }, Il, kl, Z), [bt, zt] = ct(
5279
5284
  () => Object.fromEntries(nt.map((at) => [at.name, ""]))
5280
- ), [Mt, Te] = ct("idle"), [yr, Ge] = ct(null), Cn = o === "success" ? "success" : o === "error" ? "error" : Mt, vr = o === "error" ? et : yr, Ye = o === "filled", Le = Eo(() => {
5281
- if (!Ye) return Tt;
5285
+ ), [ro, Te] = ct("idle"), [vr, Ge] = ct(null), Cn = o === "success" ? "success" : o === "error" ? "error" : ro, br = o === "error" ? et : vr, Ye = o === "filled", Le = Ao(() => {
5286
+ if (!Ye) return bt;
5282
5287
  let at = null;
5283
- for (const Vt of nt)
5284
- (Tt[Vt.name] ?? "").trim().length > 0 || (at = at ?? { ...Tt }, at[Vt.name] = "Filled");
5285
- return at ?? Tt;
5286
- }, [Tt, Ye, nt]), br = Cn === "error" ? on(nt, Le) : null, Sr = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), ro = n == null ? void 0 : n.submitUrl, io = (at, Vt) => {
5287
- $t((Ht) => ({ ...Ht, [at]: Vt }));
5288
- }, xr = async (at) => {
5288
+ for (const Mt of nt)
5289
+ (bt[Mt.name] ?? "").trim().length > 0 || (at = at ?? { ...bt }, at[Mt.name] = "Filled");
5290
+ return at ?? bt;
5291
+ }, [bt, Ye, nt]), Sr = Cn === "error" ? on(nt, Le) : null, xr = `${o && o !== "default" ? `${r}-state-${o}` : ""}`.trim(), io = n == null ? void 0 : n.submitUrl, ao = (at, Mt) => {
5292
+ zt((Vt) => ({ ...Vt, [at]: Mt }));
5293
+ }, Cr = async (at) => {
5289
5294
  at.preventDefault();
5290
- const Vt = Object.fromEntries(
5291
- nt.map((kt) => {
5295
+ const Mt = Object.fromEntries(
5296
+ nt.map((It) => {
5292
5297
  var ue;
5293
- return [kt.name, ((ue = Tt[kt.name]) == null ? void 0 : ue.trim()) ?? ""];
5294
- }).filter(([, kt]) => kt)
5298
+ return [It.name, ((ue = bt[It.name]) == null ? void 0 : ue.trim()) ?? ""];
5299
+ }).filter(([, It]) => It)
5295
5300
  );
5296
- if (!ro) {
5301
+ if (!io) {
5297
5302
  Te("error"), Ge("No integrations were found for this form.");
5298
5303
  return;
5299
5304
  }
5300
- if (Object.keys(Vt).length === 0) return;
5301
- const Ht = on(nt, Tt);
5302
- if (Ht) {
5303
- Te("error"), Ge(Ht);
5305
+ if (Object.keys(Mt).length === 0) return;
5306
+ const Vt = on(nt, bt);
5307
+ if (Vt) {
5308
+ Te("error"), Ge(Vt);
5304
5309
  return;
5305
5310
  }
5306
5311
  Te("submitting"), Ge(null);
5307
5312
  try {
5308
- const kt = await fetch(ro, {
5313
+ const It = await fetch(io, {
5309
5314
  method: "POST",
5310
5315
  headers: { "Content-Type": "application/json" },
5311
- body: JSON.stringify(Vt)
5316
+ body: JSON.stringify(Mt)
5312
5317
  });
5313
- if (!kt.ok) {
5314
- const ue = await kt.text();
5315
- throw new Error(ue || `Request failed: ${kt.status}`);
5318
+ if (!It.ok) {
5319
+ const ue = await It.text();
5320
+ throw new Error(ue || `Request failed: ${It.status}`);
5316
5321
  }
5317
- Te("success"), $t(Object.fromEntries(nt.map((ue) => [ue.name, ""])));
5318
- } catch (kt) {
5319
- Te("error"), Ge(kt instanceof Error ? kt.message : "Something went wrong");
5322
+ Te("success"), zt(Object.fromEntries(nt.map((ue) => [ue.name, ""])));
5323
+ } catch (It) {
5324
+ Te("error"), Ge(It instanceof Error ? It.message : "Something went wrong");
5320
5325
  }
5321
5326
  };
5322
- return /* @__PURE__ */ xt("div", { className: `${r}-wrapper ${r}-type-${a} ${Sr}`.trim(), style: zt, children: [
5323
- /* @__PURE__ */ P("style", { dangerouslySetInnerHTML: { __html: Ll(r) } }),
5324
- /* @__PURE__ */ xt(
5327
+ return /* @__PURE__ */ Ct("div", { className: `${r}-wrapper ${r}-type-${a} ${xr}`.trim(), style: ne, children: [
5328
+ /* @__PURE__ */ P("style", { dangerouslySetInnerHTML: { __html: El(r) } }),
5329
+ /* @__PURE__ */ Ct(
5325
5330
  "form",
5326
5331
  {
5327
- onSubmit: xr,
5332
+ onSubmit: Cr,
5328
5333
  className: `${r}-form`,
5329
5334
  style: { gap: O(p ?? 0, e) },
5330
5335
  children: [
@@ -5333,7 +5338,7 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5333
5338
  {
5334
5339
  className: `${r}-fields`,
5335
5340
  style: { gap: O(c ?? 0, e) },
5336
- children: nt.map((at, Vt) => /* @__PURE__ */ xt("div", { className: `${r}-field-group${q ? ` ${r}-labeled` : ""}`, children: [
5341
+ children: nt.map((at, Mt) => /* @__PURE__ */ Ct("div", { className: `${r}-field-group${q ? ` ${r}-labeled` : ""}`, children: [
5337
5342
  q && /* @__PURE__ */ P("span", { className: `${r}-field-label`, style: we ? { ...we, lineHeight: we.fontSize } : void 0, children: at.label || at.name }),
5338
5343
  at.type === "textarea" ? /* @__PURE__ */ P(
5339
5344
  "textarea",
@@ -5341,10 +5346,10 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5341
5346
  name: at.name,
5342
5347
  autoComplete: "off",
5343
5348
  value: Le[at.name] ?? "",
5344
- onChange: (Ht) => io(at.name, Ht.target.value),
5349
+ onChange: (Vt) => ao(at.name, Vt.target.value),
5345
5350
  placeholder: at.placeholder,
5346
5351
  className: `${r}-input`,
5347
- style: Nt,
5352
+ style: Q,
5348
5353
  rows: 1,
5349
5354
  "data-filled": Ye || (Le[at.name] ?? "").trim().length > 0,
5350
5355
  "data-field-type": "textarea"
@@ -5356,15 +5361,15 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5356
5361
  name: at.name,
5357
5362
  autoComplete: "off",
5358
5363
  value: Le[at.name] ?? "",
5359
- onChange: (Ht) => io(at.name, Ht.target.value),
5364
+ onChange: (Vt) => ao(at.name, Vt.target.value),
5360
5365
  placeholder: at.placeholder,
5361
5366
  required: at.isRequired ?? at.type === "email",
5362
5367
  className: `${r}-input`,
5363
- style: Nt,
5368
+ style: Q,
5364
5369
  "data-filled": Ye || (Le[at.name] ?? "").trim().length > 0
5365
5370
  }
5366
5371
  )
5367
- ] }, Vt))
5372
+ ] }, Mt))
5368
5373
  }
5369
5374
  ),
5370
5375
  /* @__PURE__ */ P("div", { className: `${r}-overlay-anchor`, children: /* @__PURE__ */ P(
@@ -5375,12 +5380,12 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5375
5380
  style: {
5376
5381
  borderStyle: "solid",
5377
5382
  borderRadius: O($ ?? 0, e),
5378
- borderWidth: wt,
5383
+ borderWidth: Xt,
5379
5384
  paddingTop: O((g == null ? void 0 : g.top) ?? 0, e),
5380
5385
  paddingRight: O((g == null ? void 0 : g.right) ?? 0, e),
5381
5386
  paddingBottom: O((g == null ? void 0 : g.bottom) ?? 0, e),
5382
5387
  paddingLeft: O((g == null ? void 0 : g.left) ?? 0, e),
5383
- ...st,
5388
+ ...wt,
5384
5389
  ...u ? {
5385
5390
  width: "100%",
5386
5391
  textAlign: "center",
@@ -5397,7 +5402,7 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5397
5402
  whiteSpace: "normal",
5398
5403
  textAlign: "center"
5399
5404
  } : void 0,
5400
- children: Mt === "submitting" ? "..." : s
5405
+ children: ro === "submitting" ? "..." : s
5401
5406
  }
5402
5407
  )
5403
5408
  }
@@ -5409,7 +5414,7 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5409
5414
  "p",
5410
5415
  {
5411
5416
  className: `${r}-success`,
5412
- style: { ...dt },
5417
+ style: { ...Bt },
5413
5418
  children: K
5414
5419
  }
5415
5420
  ),
@@ -5417,14 +5422,14 @@ function El({ settings: t, isEditor: e, metadata: n, activeEvent: o }) {
5417
5422
  "p",
5418
5423
  {
5419
5424
  className: `${r}-error`,
5420
- style: { ...dt },
5425
+ style: { ...Bt },
5421
5426
  role: "alert",
5422
- children: br ?? vr ?? et
5427
+ children: Sr ?? br ?? et
5423
5428
  }
5424
5429
  )
5425
5430
  ] });
5426
5431
  }
5427
- const Al = {
5432
+ const Il = {
5428
5433
  inputColor: "input-color",
5429
5434
  inputTextColor: "input-text-color",
5430
5435
  inputBorderColor: "input-border-color",
@@ -5435,7 +5440,7 @@ const Al = {
5435
5440
  labelTextColor: "label-text-color",
5436
5441
  successColor: "success-color",
5437
5442
  errorColor: "error-color"
5438
- }, Il = ["hover", "focus", "filled", "success", "error"], kl = `import React, { useMemo, useState } from 'react';
5443
+ }, kl = ["hover", "focus", "filled", "success", "error"], Fl = `import React, { useMemo, useState } from 'react';
5439
5444
  import { CommonComponentProps } from '../props';
5440
5445
  import { buildColorVars, getFormFieldValidationError, scalingValue, useScopedStyles } from '../utils/index';
5441
5446
  import { omitTextColors, textStylesToCss, type TextStyles } from '../utils/textStylesToCss';
@@ -5666,6 +5671,13 @@ export function Form({ settings, isEditor, metadata, activeEvent }: FormProps) {
5666
5671
  };
5667
5672
  const inputTypographyCss = omitTextColors(textStylesToCss(resolvedInputTextStyle, isEditor));
5668
5673
  const strokeForInput = scalingValue(inputStroke ?? 0, isEditor);
5674
+ const inputBaseHeight = scalingValue(
5675
+ (inputLineHeight ?? inputFontSize ?? 0.01) +
5676
+ (inputPadding?.top ?? 0) +
5677
+ (inputPadding?.bottom ?? 0) +
5678
+ (type === 'C' ? (inputStroke ?? 0) : (inputStroke ?? 0) * 2),
5679
+ isEditor,
5680
+ );
5669
5681
  const inputFieldCss = {
5670
5682
  ...inputTypographyCss,
5671
5683
  borderStyle: 'solid',
@@ -5682,6 +5694,8 @@ export function Form({ settings, isEditor, metadata, activeEvent }: FormProps) {
5682
5694
  paddingRight: scalingValue(inputPadding?.right ?? 0, isEditor),
5683
5695
  paddingBottom: scalingValue(inputPadding?.bottom ?? 0, isEditor),
5684
5696
  paddingLeft: scalingValue(inputPadding?.left ?? 0, isEditor),
5697
+ height: inputBaseHeight,
5698
+ minHeight: inputBaseHeight,
5685
5699
  } as React.CSSProperties;
5686
5700
 
5687
5701
  const resolvedButtonTextStyle: TextStyles = {
@@ -6027,7 +6041,7 @@ const COLOR_VAR_MAP: Record<ColorKeys, string> = {
6027
6041
  };
6028
6042
 
6029
6043
  const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6030
- `, Fl = [
6044
+ `, Rl = [
6031
6045
  { name: "email", type: "email", placeholder: "Enter your email", label: "Email", isRequired: !0, error: "Please, enter a valid e-mail." },
6032
6046
  { name: "name", type: "text", placeholder: "Enter your name", label: "Name", isRequired: !1, error: "Please, enter your name." },
6033
6047
  { name: "company", type: "text", placeholder: "Enter company", label: "Company", isRequired: !1, error: "Please, enter your company name." },
@@ -6044,7 +6058,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6044
6058
  fontStyle: { type: "string" }
6045
6059
  }
6046
6060
  }
6047
- }, Rl = [
6061
+ }, Bl = [
6048
6062
  "inputColor",
6049
6063
  "inputTextColor",
6050
6064
  "inputBorderColor",
@@ -6055,7 +6069,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6055
6069
  "labelTextColor",
6056
6070
  "successColor",
6057
6071
  "errorColor"
6058
- ], Bl = {
6072
+ ], Pl = {
6059
6073
  type: "object",
6060
6074
  version: 1,
6061
6075
  settings: {
@@ -6151,7 +6165,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6151
6165
  type: "number",
6152
6166
  scope: "layout",
6153
6167
  title: "Corners",
6154
- display: { type: "range-control" },
6168
+ display: { type: "range-control", enabled: !0 },
6155
6169
  min: 0,
6156
6170
  max: 100
6157
6171
  },
@@ -6167,7 +6181,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6167
6181
  type: "number",
6168
6182
  scope: "layout",
6169
6183
  title: "Corners",
6170
- display: { type: "range-control" },
6184
+ display: { type: "range-control", enabled: !0 },
6171
6185
  min: 0,
6172
6186
  max: 100
6173
6187
  },
@@ -6393,7 +6407,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6393
6407
  },
6394
6408
  defaults: {
6395
6409
  fieldsToShow: 2,
6396
- fields: Fl,
6410
+ fields: Rl,
6397
6411
  type: "A",
6398
6412
  inputColor: "#FFFFFF",
6399
6413
  inputTextColor: "#0A00F8",
@@ -6529,11 +6543,11 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6529
6543
  },
6530
6544
  {
6531
6545
  if: { name: "type", value: "C" },
6532
- then: { name: "properties.buttonCorners.display.visible", value: !1 }
6546
+ then: { name: "properties.buttonCorners.display.enabled", value: !1 }
6533
6547
  },
6534
6548
  {
6535
6549
  if: { name: "type", value: "C" },
6536
- then: { name: "properties.inputCorners.display.visible", value: !1 }
6550
+ then: { name: "properties.inputCorners.display.enabled", value: !1 }
6537
6551
  },
6538
6552
  {
6539
6553
  if: { name: "buttonStroke", value: 0 },
@@ -6639,7 +6653,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6639
6653
  }
6640
6654
  ],
6641
6655
  paletteBookmark: {
6642
- items: [...Rl],
6656
+ items: [...Bl],
6643
6657
  panelIds: ["general", "typeStyle"],
6644
6658
  stateItems: {
6645
6659
  default: ["placeholderColor", "inputColor", "inputBorderColor", "buttonTextColor", "buttonColor", "buttonBorderColor", "labelTextColor"],
@@ -6652,8 +6666,8 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6652
6666
  },
6653
6667
  allowedPlugins: ["newsletter"],
6654
6668
  states: ["default", "hover", "focus", "filled", "success", "error"]
6655
- }, Pl = {
6656
- element: El,
6669
+ }, Ol = {
6670
+ element: Al,
6657
6671
  id: "form",
6658
6672
  name: "Newsletter Stacked",
6659
6673
  preview: {
@@ -6665,13 +6679,13 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
6665
6679
  width: 300,
6666
6680
  height: 42
6667
6681
  },
6668
- schema: Bl,
6669
- sourceCode: kl
6682
+ schema: Pl,
6683
+ sourceCode: Fl
6670
6684
  };
6671
6685
  function Ze(t) {
6672
6686
  return `calc(var(--cntrl-article-width, 100vw) * ${t / 1440})`;
6673
6687
  }
6674
- function Ol(t) {
6688
+ function Wl(t) {
6675
6689
  return `
6676
6690
  .${t}-wrapper {
6677
6691
  display: flex;
@@ -6865,8 +6879,8 @@ function Ol(t) {
6865
6879
  }
6866
6880
  `;
6867
6881
  }
6868
- const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6869
- const { prefix: r } = Ao(), {
6882
+ const Nl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6883
+ const { prefix: r } = Io(), {
6870
6884
  fields: a = [{ name: "email", type: "email", placeholder: "Your email" }],
6871
6885
  buttonIcon: i,
6872
6886
  buttonLabel: l,
@@ -6874,18 +6888,18 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6874
6888
  fontFamily: p,
6875
6889
  inputFontSettings: c,
6876
6890
  inputFontSize: $,
6877
- inputLineHeight: y,
6891
+ inputLineHeight: v,
6878
6892
  inputLetterSpacing: g,
6879
6893
  inputWordSpacing: u,
6880
6894
  inputTextAppearance: d,
6881
- buttonFontSettings: x,
6882
- buttonFontSize: v,
6883
- buttonLineHeight: f,
6895
+ buttonFontSettings: S,
6896
+ buttonFontSize: f,
6897
+ buttonLineHeight: h,
6884
6898
  buttonLetterSpacing: C,
6885
6899
  buttonWordSpacing: V,
6886
6900
  buttonTextAppearance: W,
6887
6901
  statusFontSettings: _,
6888
- statusFontSize: h,
6902
+ statusFontSize: y,
6889
6903
  statusLineHeight: L,
6890
6904
  statusLetterSpacing: F,
6891
6905
  statusWordSpacing: z,
@@ -6893,28 +6907,28 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6893
6907
  iconMaxWidth: R,
6894
6908
  minHeight: B,
6895
6909
  corners: j,
6896
- stroke: D,
6910
+ stroke: H,
6897
6911
  stateOverrides: m,
6898
6912
  inputPadding: A,
6899
6913
  buttonPadding: T,
6900
6914
  successMessage: w = "Thanks for subscribing!",
6901
- errorMessage: S = "Please, fill all required fields."
6915
+ errorMessage: x = "Please, fill all required fields."
6902
6916
  } = t, I = a.slice(0, Math.min(s, a.length)), [G, ot] = ct(
6903
- () => Object.fromEntries(I.map((dt) => [dt.name, ""]))
6904
- ), [tt, rt] = ct("idle"), [E, X] = ct(null), ft = o === "success" ? "success" : o === "error" ? "error" : tt, lt = o === "error" ? S : E, ht = o === "filled", bt = Eo(() => {
6905
- if (!ht) return G;
6906
- let dt = null;
6907
- for (const zt of I)
6908
- (G[zt.name] ?? "").trim().length > 0 || (dt = dt ?? { ...G }, dt[zt.name] = "Filled");
6909
- return dt ?? G;
6910
- }, [ht, G, I]), Xt = ft === "error" ? on(I, bt) : null, M = o && o !== "default" ? `${r}-state-${o}` : "", b = I.some((dt) => (bt[dt.name] ?? "").trim().length > 0), H = M !== `${r}-state-filled` && b ? `${r}-state-filled` : "", Y = `${M} ${H}`.trim(), K = n == null ? void 0 : n.submitUrl, et = l ?? "", Z = (i == null ? void 0 : i.icon) ?? "", q = (i == null ? void 0 : i.mode) === "On", nt = et || "Submit", yt = {
6917
+ () => Object.fromEntries(I.map((ht) => [ht.name, ""]))
6918
+ ), [tt, rt] = ct("idle"), [E, X] = ct(null), mt = o === "success" ? "success" : o === "error" ? "error" : tt, lt = o === "error" ? x : E, ft = o === "filled", St = Ao(() => {
6919
+ if (!ft) return G;
6920
+ let ht = null;
6921
+ for (const Bt of I)
6922
+ (G[Bt.name] ?? "").trim().length > 0 || (ht = ht ?? { ...G }, ht[Bt.name] = "Filled");
6923
+ return ht ?? G;
6924
+ }, [ft, G, I]), qt = mt === "error" ? on(I, St) : null, M = o && o !== "default" ? `${r}-state-${o}` : "", b = I.some((ht) => (St[ht.name] ?? "").trim().length > 0), D = M !== `${r}-state-filled` && b ? `${r}-state-filled` : "", Y = `${M} ${D}`.trim(), K = n == null ? void 0 : n.submitUrl, et = l ?? "", Z = (i == null ? void 0 : i.icon) ?? "", q = (i == null ? void 0 : i.mode) === "On", nt = et || "Submit", yt = {
6911
6925
  fontSettings: {
6912
6926
  fontFamily: p,
6913
6927
  fontWeight: (c == null ? void 0 : c.fontWeight) ?? 400,
6914
6928
  fontStyle: (c == null ? void 0 : c.fontStyle) ?? "normal"
6915
6929
  },
6916
6930
  fontSize: $ ?? 0.01,
6917
- lineHeight: y,
6931
+ lineHeight: v,
6918
6932
  letterSpacing: g ?? 0,
6919
6933
  wordSpacing: u ?? 0,
6920
6934
  textAppearance: d,
@@ -6922,11 +6936,11 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6922
6936
  }, it = {
6923
6937
  fontSettings: {
6924
6938
  fontFamily: p,
6925
- fontWeight: (x == null ? void 0 : x.fontWeight) ?? 400,
6926
- fontStyle: (x == null ? void 0 : x.fontStyle) ?? "normal"
6939
+ fontWeight: (S == null ? void 0 : S.fontWeight) ?? 400,
6940
+ fontStyle: (S == null ? void 0 : S.fontStyle) ?? "normal"
6927
6941
  },
6928
- fontSize: v ?? 0.01,
6929
- lineHeight: f,
6942
+ fontSize: f ?? 0.01,
6943
+ lineHeight: h,
6930
6944
  letterSpacing: C ?? 0,
6931
6945
  wordSpacing: V ?? 0,
6932
6946
  textAppearance: W,
@@ -6937,13 +6951,13 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6937
6951
  fontWeight: (_ == null ? void 0 : _.fontWeight) ?? 400,
6938
6952
  fontStyle: (_ == null ? void 0 : _.fontStyle) ?? "normal"
6939
6953
  },
6940
- fontSize: h ?? 0.01,
6954
+ fontSize: y ?? 0.01,
6941
6955
  lineHeight: L,
6942
6956
  letterSpacing: F ?? 0,
6943
6957
  wordSpacing: z ?? 0,
6944
6958
  textAppearance: k,
6945
6959
  color: t.successColor ?? "#22c55e"
6946
- }, Nt = ve(ie(yt, e)), Q = ve(ie(it, e)), st = ve(ie(pt, e)), wt = Io(r, {
6960
+ }, Nt = ve(ie(yt, e)), Q = ve(ie(it, e)), st = ve(ie(pt, e)), wt = ko(r, {
6947
6961
  strokeColor: t.strokeColor,
6948
6962
  inputColor: t.inputColor,
6949
6963
  placeholderColor: t.placeholderColor,
@@ -6952,53 +6966,53 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
6952
6966
  errorColor: t.errorColor,
6953
6967
  inputTextColor: t.inputTextColor ?? (yt == null ? void 0 : yt.color) ?? "#111111",
6954
6968
  buttonTextColor: t.buttonTextColor ?? (it == null ? void 0 : it.color) ?? "#ffffff"
6955
- }, Nl, zl, m), Kt = {
6969
+ }, zl, Ml, m), Xt = {
6956
6970
  borderRadius: O(j, e),
6957
- borderWidth: O(D, e),
6971
+ borderWidth: O(H, e),
6958
6972
  borderStyle: "solid"
6959
- }, we = { borderLeftWidth: O(D, e) }, xn = async (dt) => {
6960
- dt.preventDefault();
6961
- const zt = Object.fromEntries(
6962
- I.map(($t) => {
6963
- var Mt;
6964
- return [$t.name, ((Mt = G[$t.name]) == null ? void 0 : Mt.trim()) ?? ""];
6965
- }).filter(([, $t]) => $t)
6973
+ }, xn = { borderLeftWidth: O(H, e) }, we = async (ht) => {
6974
+ ht.preventDefault();
6975
+ const Bt = Object.fromEntries(
6976
+ I.map((bt) => {
6977
+ var zt;
6978
+ return [bt.name, ((zt = G[bt.name]) == null ? void 0 : zt.trim()) ?? ""];
6979
+ }).filter(([, bt]) => bt)
6966
6980
  );
6967
6981
  if (!K) {
6968
6982
  rt("error"), X("No integrations were found for this form.");
6969
6983
  return;
6970
6984
  }
6971
- if (Object.keys(zt).length === 0) return;
6972
- const Tt = on(I, G);
6973
- if (Tt) {
6974
- rt("error"), X(Tt);
6985
+ if (Object.keys(Bt).length === 0) return;
6986
+ const ne = on(I, G);
6987
+ if (ne) {
6988
+ rt("error"), X(ne);
6975
6989
  return;
6976
6990
  }
6977
6991
  rt("submitting"), X(null);
6978
6992
  try {
6979
- const $t = await fetch(K, {
6993
+ const bt = await fetch(K, {
6980
6994
  method: "POST",
6981
6995
  headers: { "Content-Type": "application/json" },
6982
- body: JSON.stringify(zt)
6996
+ body: JSON.stringify(Bt)
6983
6997
  });
6984
- if (!$t.ok) {
6985
- const Mt = await $t.text();
6986
- throw new Error(Mt || `Request failed: ${$t.status}`);
6998
+ if (!bt.ok) {
6999
+ const zt = await bt.text();
7000
+ throw new Error(zt || `Request failed: ${bt.status}`);
6987
7001
  }
6988
- rt("success"), ot(Object.fromEntries(I.map((Mt) => [Mt.name, ""])));
6989
- } catch ($t) {
6990
- rt("error"), X($t instanceof Error ? $t.message : "Something went wrong");
7002
+ rt("success"), ot(Object.fromEntries(I.map((zt) => [zt.name, ""])));
7003
+ } catch (bt) {
7004
+ rt("error"), X(bt instanceof Error ? bt.message : "Something went wrong");
6991
7005
  }
6992
7006
  };
6993
- return /* @__PURE__ */ xt("div", { className: `${r}-wrapper ${Y}`.trim(), style: wt, children: [
6994
- /* @__PURE__ */ P("style", { dangerouslySetInnerHTML: { __html: Ol(r) } }),
6995
- /* @__PURE__ */ xt(
7007
+ return /* @__PURE__ */ Ct("div", { className: `${r}-wrapper ${Y}`.trim(), style: wt, children: [
7008
+ /* @__PURE__ */ P("style", { dangerouslySetInnerHTML: { __html: Wl(r) } }),
7009
+ /* @__PURE__ */ Ct(
6996
7010
  "form",
6997
7011
  {
6998
- onSubmit: xn,
7012
+ onSubmit: we,
6999
7013
  className: `${r}-form`,
7000
7014
  style: {
7001
- ...Kt,
7015
+ ...Xt,
7002
7016
  height: O(B, e),
7003
7017
  minHeight: O(B, e)
7004
7018
  },
@@ -7008,16 +7022,16 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7008
7022
  {
7009
7023
  className: `${r}-inputWrap ${r}-overlayAnchor`,
7010
7024
  style: { flex: 1, minWidth: 0 },
7011
- children: I.map((dt) => /* @__PURE__ */ P(
7025
+ children: I.map((ht) => /* @__PURE__ */ P(
7012
7026
  "input",
7013
7027
  {
7014
- type: dt.type === "email" ? "email" : dt.type === "phone" ? "tel" : "text",
7015
- name: dt.name,
7028
+ type: ht.type === "email" ? "email" : ht.type === "phone" ? "tel" : "text",
7029
+ name: ht.name,
7016
7030
  autoComplete: "off",
7017
- value: bt[dt.name] ?? "",
7018
- onChange: (zt) => ot((Tt) => ({ ...Tt, [dt.name]: zt.target.value })),
7019
- placeholder: dt.placeholder,
7020
- required: dt.isRequired ?? dt.type === "email",
7031
+ value: St[ht.name] ?? "",
7032
+ onChange: (Bt) => ot((ne) => ({ ...ne, [ht.name]: Bt.target.value })),
7033
+ placeholder: ht.placeholder,
7034
+ required: ht.isRequired ?? ht.type === "email",
7021
7035
  className: `${r}-input`,
7022
7036
  style: {
7023
7037
  ...Nt,
@@ -7027,7 +7041,7 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7027
7041
  paddingBottom: O(A.bottom, e)
7028
7042
  }
7029
7043
  },
7030
- dt.name
7044
+ ht.name
7031
7045
  ))
7032
7046
  }
7033
7047
  ),
@@ -7039,7 +7053,7 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7039
7053
  "aria-label": nt,
7040
7054
  style: {
7041
7055
  ...Q,
7042
- ...we,
7056
+ ...xn,
7043
7057
  paddingRight: O(T.right, e),
7044
7058
  paddingLeft: O(T.left, e),
7045
7059
  paddingTop: O(T.top, e),
@@ -7060,7 +7074,7 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7060
7074
  ]
7061
7075
  }
7062
7076
  ),
7063
- ft === "success" && /* @__PURE__ */ P(
7077
+ mt === "success" && /* @__PURE__ */ P(
7064
7078
  "p",
7065
7079
  {
7066
7080
  className: `${r}-success`,
@@ -7068,17 +7082,17 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7068
7082
  children: w
7069
7083
  }
7070
7084
  ),
7071
- ft === "error" && /* @__PURE__ */ P(
7085
+ mt === "error" && /* @__PURE__ */ P(
7072
7086
  "p",
7073
7087
  {
7074
7088
  className: `${r}-error`,
7075
7089
  style: { ...st },
7076
7090
  role: "alert",
7077
- children: Xt ?? lt ?? S
7091
+ children: qt ?? lt ?? x
7078
7092
  }
7079
7093
  )
7080
7094
  ] });
7081
- }, Nl = {
7095
+ }, zl = {
7082
7096
  strokeColor: "stroke-color",
7083
7097
  inputColor: "input-color",
7084
7098
  placeholderColor: "placeholder-color",
@@ -7087,7 +7101,7 @@ const Wl = ({ settings: t, isEditor: e, metadata: n, activeEvent: o }) => {
7087
7101
  buttonTextColor: "button-text-color",
7088
7102
  successColor: "success-color",
7089
7103
  errorColor: "error-color"
7090
- }, zl = ["hover", "focus", "filled", "success", "error"], Ml = `import React, { useMemo, useState } from 'react';
7104
+ }, Ml = ["hover", "focus", "filled", "success", "error"], Vl = `import React, { useMemo, useState } from 'react';
7091
7105
  import { CommonComponentProps } from '../props';
7092
7106
  import { buildColorVars, getFormFieldValidationError, scalingValue, useScopedStyles } from '../utils/index';
7093
7107
  import { omitTextColors, textStylesToCss, type TextStyles } from '../utils/textStylesToCss';
@@ -7659,9 +7673,9 @@ const COLOR_VAR_MAP: Record<OnelinerColorKeys, string> = {
7659
7673
  };
7660
7674
 
7661
7675
  const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
7662
- `, Vl = "data:image/svg+xml," + encodeURIComponent(
7676
+ `, Hl = "data:image/svg+xml," + encodeURIComponent(
7663
7677
  '<svg width="23px" height="20px" viewBox="0 0 23 20" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="Newsletter" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Tutorials-pop-up-Copy-12" transform="translate(-43, -687)" fill="#FFFFFF" fill-rule="nonzero"><path d="M66,697 C66,697.552285 65.5522847,698 65,698 L44,698 C43.4477153,698 43,697.552285 43,697 C43,696.447715 43.4477153,696 44,696 L65,696 C65.5522847,696 66,696.447715 66,697 Z M55.6689647,687.256706 L65.6689647,696.256706 C66.1103451,696.653948 66.1103451,697.346052 65.6689647,697.743294 L55.6689647,706.743294 C55.2584547,707.112753 54.6261649,707.079475 54.2567059,706.668965 C53.8872468,706.258455 53.9205252,705.626165 54.3310353,705.256706 L63.5051529,697 L54.3310353,688.743294 C53.9205252,688.373835 53.8872468,687.741545 54.2567059,687.331035 C54.6261649,686.920525 55.2584547,686.887247 55.6689647,687.256706 Z" id="Combined-Shape"></path></g></g></svg>'
7664
- ), Hl = [
7678
+ ), Dl = [
7665
7679
  { name: "email", type: "email", placeholder: "Enter your email", label: "Email", isRequired: !0, error: "Please, enter a valid e-mail." },
7666
7680
  { name: "name", type: "text", placeholder: "Enter your name", label: "Name", isRequired: !1, error: "Please, enter your name." },
7667
7681
  { name: "company", type: "text", placeholder: "Enter company", label: "Company", isRequired: !1, error: "Please, enter your company name." },
@@ -7675,7 +7689,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
7675
7689
  fontStyle: { type: "string" }
7676
7690
  }
7677
7691
  }
7678
- }, Dl = [
7692
+ }, jl = [
7679
7693
  "strokeColor",
7680
7694
  "inputColor",
7681
7695
  "inputTextColor",
@@ -7684,7 +7698,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
7684
7698
  "buttonTextColor",
7685
7699
  "successColor",
7686
7700
  "errorColor"
7687
- ], jl = {
7701
+ ], Ul = {
7688
7702
  type: "object",
7689
7703
  version: 1,
7690
7704
  settings: {
@@ -7958,12 +7972,12 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
7958
7972
  }
7959
7973
  },
7960
7974
  defaults: {
7961
- fields: Hl,
7975
+ fields: Dl,
7962
7976
  fieldsToShow: 1,
7963
7977
  buttonLabel: "Subscribe",
7964
7978
  buttonIcon: {
7965
7979
  mode: "Off",
7966
- icon: Vl
7980
+ icon: Hl
7967
7981
  },
7968
7982
  fontFamily: "Arial",
7969
7983
  strokeColor: "#0A00F8",
@@ -8141,7 +8155,7 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8141
8155
  }
8142
8156
  ],
8143
8157
  paletteBookmark: {
8144
- items: [...Dl],
8158
+ items: [...jl],
8145
8159
  panelIds: ["general", "typeStyle"],
8146
8160
  stateItems: {
8147
8161
  default: ["strokeColor", "placeholderColor", "inputColor", "buttonTextColor", "buttonColor"],
@@ -8154,8 +8168,8 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8154
8168
  },
8155
8169
  allowedPlugins: ["newsletter"],
8156
8170
  states: ["default", "hover", "focus", "filled", "success", "error"]
8157
- }, Ul = {
8158
- element: Wl,
8171
+ }, Gl = {
8172
+ element: Nl,
8159
8173
  id: "oneliner-form",
8160
8174
  name: "Newsletter Single Line",
8161
8175
  version: 1,
@@ -8171,16 +8185,16 @@ const STATE_KEYS = ['hover', 'focus', 'filled', 'success', 'error'] as const;
8171
8185
  content: [],
8172
8186
  parameters: [{ path: "buttonIcon.icon" }]
8173
8187
  },
8174
- schema: jl,
8175
- sourceCode: Ml
8176
- }, Ql = [
8177
- ka,
8178
- Na,
8179
- Tl,
8180
- Pl,
8181
- Ul
8188
+ schema: Ul,
8189
+ sourceCode: Vl
8190
+ }, ts = [
8191
+ Fa,
8192
+ za,
8193
+ Ll,
8194
+ Ol,
8195
+ Gl
8182
8196
  ];
8183
8197
  export {
8184
- Ql as components,
8185
- Zl as isSchemaV1
8198
+ ts as components,
8199
+ Ql as isSchemaV1
8186
8200
  };