@cntrl-site/components 1.0.17-5 → 1.0.17-6

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 +16 -16
  2. package/dist/index.mjs +368 -366
  3. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import { createPortal as Vi } from "react-dom";
6
6
  function ap(e) {
7
7
  return e.type === "object" && e.version === 1;
8
8
  }
9
- const Ha = "ControlSlider-module__wrapper___sHEkd", Oa = "ControlSlider-module__hoverArrow___A-dOH", Ba = "ControlSlider-module__sliderItem___QQSkR", Da = "ControlSlider-module__sliderImage___9hRl-", za = "ControlSlider-module__arrow___05ghY", Va = "ControlSlider-module__arrowVertical___tBfVN", qa = "ControlSlider-module__nextArrow___-30Yc", ja = "ControlSlider-module__arrowInner___aEra3", Ka = "ControlSlider-module__arrowIcon___S4ztF", Ua = "ControlSlider-module__arrowImg___2dwJW", Ga = "ControlSlider-module__mirror___brd6U", Ya = "ControlSlider-module__pagination___bicLF", Xa = "ControlSlider-module__paginationInner___bT-P-", Qa = "ControlSlider-module__paginationVertical___zYqKw", Za = "ControlSlider-module__paginationItem___nTRbk", Ja = "ControlSlider-module__dot___p1Qun", es = "ControlSlider-module__activeDot___LHFaj", ts = "ControlSlider-module__paginationInsideBottom___R3FWn", ns = "ControlSlider-module__paginationInsideTop___V-qb-", rs = "ControlSlider-module__paginationOutsideBottom___14w8D", os = "ControlSlider-module__paginationOutsideTop___SCLqB", is = "ControlSlider-module__paginationInsideLeft___yOBRZ", as = "ControlSlider-module__paginationInsideRight___Rtt3o", ss = "ControlSlider-module__paginationOutsideLeft___lahaw", ls = "ControlSlider-module__paginationOutsideRight___EtuQa", cs = "ControlSlider-module__imgWrapper___UjEgB", ds = "ControlSlider-module__captionBlock___dJ6-j", us = "ControlSlider-module__captionTextWrapper___HFlpf", ps = "ControlSlider-module__captionText___uGBVc", ms = "ControlSlider-module__active___WZK4G", gs = "ControlSlider-module__withPointerEvents___t-18M", hs = "ControlSlider-module__topLeftAlignment___zjnGM", fs = "ControlSlider-module__topCenterAlignment___gD1xW", ys = "ControlSlider-module__topRightAlignment___NMapS", vs = "ControlSlider-module__middleLeftAlignment___OnUrY", bs = "ControlSlider-module__middleCenterAlignment___Tdkl0", xs = "ControlSlider-module__middleRightAlignment___wEbfX", Cs = "ControlSlider-module__bottomLeftAlignment___cTP2-", $s = "ControlSlider-module__bottomCenterAlignment___c54fB", ws = "ControlSlider-module__bottomRightAlignment___kEwrz", Ss = "ControlSlider-module__clickOverlay___DZA28", Ts = "ControlSlider-module__contain___pLyq7", Ls = "ControlSlider-module__cover___KdDat", ue = {
9
+ const Ha = "ControlSlider-module__wrapper___sHEkd", Oa = "ControlSlider-module__hoverArrow___A-dOH", Ba = "ControlSlider-module__sliderItem___QQSkR", Da = "ControlSlider-module__sliderImage___9hRl-", za = "ControlSlider-module__arrow___05ghY", Va = "ControlSlider-module__arrowVertical___tBfVN", qa = "ControlSlider-module__nextArrow___-30Yc", ja = "ControlSlider-module__arrowInner___aEra3", Ka = "ControlSlider-module__arrowIcon___S4ztF", Ua = "ControlSlider-module__arrowImg___2dwJW", Ga = "ControlSlider-module__mirror___brd6U", Ya = "ControlSlider-module__pagination___bicLF", Xa = "ControlSlider-module__paginationInner___bT-P-", Qa = "ControlSlider-module__paginationVertical___zYqKw", Za = "ControlSlider-module__paginationItem___nTRbk", Ja = "ControlSlider-module__dot___p1Qun", es = "ControlSlider-module__activeDot___LHFaj", ts = "ControlSlider-module__paginationInsideBottom___R3FWn", ns = "ControlSlider-module__paginationInsideTop___V-qb-", rs = "ControlSlider-module__paginationOutsideBottom___14w8D", os = "ControlSlider-module__paginationOutsideTop___SCLqB", is = "ControlSlider-module__paginationInsideLeft___yOBRZ", as = "ControlSlider-module__paginationInsideRight___Rtt3o", ss = "ControlSlider-module__paginationOutsideLeft___lahaw", ls = "ControlSlider-module__paginationOutsideRight___EtuQa", cs = "ControlSlider-module__imgWrapper___UjEgB", ds = "ControlSlider-module__captionBlock___dJ6-j", us = "ControlSlider-module__captionTextWrapper___HFlpf", ps = "ControlSlider-module__captionText___uGBVc", ms = "ControlSlider-module__active___WZK4G", gs = "ControlSlider-module__withPointerEvents___t-18M", hs = "ControlSlider-module__topLeftAlignment___zjnGM", fs = "ControlSlider-module__topCenterAlignment___gD1xW", ys = "ControlSlider-module__topRightAlignment___NMapS", vs = "ControlSlider-module__middleLeftAlignment___OnUrY", bs = "ControlSlider-module__middleCenterAlignment___Tdkl0", xs = "ControlSlider-module__middleRightAlignment___wEbfX", Cs = "ControlSlider-module__bottomLeftAlignment___cTP2-", $s = "ControlSlider-module__bottomCenterAlignment___c54fB", Ss = "ControlSlider-module__bottomRightAlignment___kEwrz", ws = "ControlSlider-module__clickOverlay___DZA28", Ts = "ControlSlider-module__contain___pLyq7", Ls = "ControlSlider-module__cover___KdDat", ue = {
10
10
  wrapper: Ha,
11
11
  hoverArrow: Oa,
12
12
  sliderItem: Ba,
@@ -46,8 +46,8 @@ const Ha = "ControlSlider-module__wrapper___sHEkd", Oa = "ControlSlider-module__
46
46
  middleRightAlignment: xs,
47
47
  bottomLeftAlignment: Cs,
48
48
  bottomCenterAlignment: $s,
49
- bottomRightAlignment: ws,
50
- clickOverlay: Ss,
49
+ bottomRightAlignment: Ss,
50
+ clickOverlay: ws,
51
51
  contain: Ts,
52
52
  cover: Ls
53
53
  };
@@ -220,7 +220,7 @@ function Bt(e, t) {
220
220
  function Xi(e, t) {
221
221
  return e && e.querySelector(t);
222
222
  }
223
- function wo(e, t) {
223
+ function So(e, t) {
224
224
  return t ? sn(e.querySelectorAll(t)) : [];
225
225
  }
226
226
  function zt(e, t) {
@@ -232,7 +232,7 @@ function co(e) {
232
232
  function dn(e) {
233
233
  return nn(e) ? e : e ? e + "px" : "";
234
234
  }
235
- var ir = "splide", So = "data-" + ir;
235
+ var ir = "splide", wo = "data-" + ir;
236
236
  function Bn(e, t) {
237
237
  if (!e)
238
238
  throw new Error("[" + ir + "] " + (t || ""));
@@ -267,15 +267,15 @@ function Is(e) {
267
267
  function Zi() {
268
268
  var e = [];
269
269
  function t(o, c, a, u) {
270
- i(o, c, function(d, w, v) {
271
- var h = "addEventListener" in d, p = h ? d.removeEventListener.bind(d, w, a, u) : d.removeListener.bind(d, a);
272
- h ? d.addEventListener(w, a, u) : d.addListener(a), e.push([d, w, v, a, p]);
270
+ i(o, c, function(d, S, v) {
271
+ var h = "addEventListener" in d, p = h ? d.removeEventListener.bind(d, S, a, u) : d.removeListener.bind(d, a);
272
+ h ? d.addEventListener(S, a, u) : d.addListener(a), e.push([d, S, v, a, p]);
273
273
  });
274
274
  }
275
275
  function n(o, c, a) {
276
- i(o, c, function(u, d, w) {
276
+ i(o, c, function(u, d, S) {
277
277
  e = e.filter(function(v) {
278
- return v[0] === u && v[1] === d && v[2] === w && (!a || v[3] === a) ? (v[4](), !1) : !0;
278
+ return v[0] === u && v[1] === d && v[2] === S && (!a || v[3] === a) ? (v[4](), !1) : !0;
279
279
  });
280
280
  });
281
281
  }
@@ -289,8 +289,8 @@ function Zi() {
289
289
  function i(o, c, a) {
290
290
  Lt(o, function(u) {
291
291
  u && Lt(c, function(d) {
292
- d.split(" ").forEach(function(w) {
293
- var v = w.split(".");
292
+ d.split(" ").forEach(function(S) {
293
+ var v = S.split(".");
294
294
  a(u, v[0], v[1]);
295
295
  });
296
296
  });
@@ -335,7 +335,7 @@ function Mr(e, t, n, r) {
335
335
  c = Xo(d);
336
336
  }
337
337
  }
338
- function w($) {
338
+ function S($) {
339
339
  $ || p(), s = i() - ($ ? o * e : 0), a = !1, c = Xo(d);
340
340
  }
341
341
  function v() {
@@ -354,7 +354,7 @@ function Mr(e, t, n, r) {
354
354
  return a;
355
355
  }
356
356
  return {
357
- start: w,
357
+ start: S,
358
358
  rewind: h,
359
359
  pause: v,
360
360
  cancel: p,
@@ -389,16 +389,16 @@ function Fs(e, t, n) {
389
389
  return p ? +m - +b : +b - +m;
390
390
  }).forEach(function(m) {
391
391
  d(i[m], "(" + (p ? "min" : "max") + "-width:" + m + "px)");
392
- }), d(s, Yo), w();
392
+ }), d(s, Yo), S();
393
393
  }
394
394
  function u(p) {
395
395
  p && o.destroy();
396
396
  }
397
397
  function d(p, m) {
398
398
  var b = matchMedia(m);
399
- o.bind(b, "change", w), c.push([p, b]);
399
+ o.bind(b, "change", S), c.push([p, b]);
400
400
  }
401
- function w() {
401
+ function S() {
402
402
  var p = r.is(Pr), m = n.direction, b = c.reduce(function($, x) {
403
403
  return tn($, x[1].matches ? x[0] : {});
404
404
  }, {});
@@ -432,8 +432,8 @@ function Ms(e, t, n) {
432
432
  c = c || n.direction;
433
433
  var a = c === ei && !o ? 1 : c === Br ? 0 : -1;
434
434
  return Yr[s] && Yr[s][a] || s.replace(/width|left|right/i, function(u, d) {
435
- var w = Yr[u.toLowerCase()][a] || u;
436
- return d > 0 ? w.charAt(0).toUpperCase() + w.slice(1) : w;
435
+ var S = Yr[u.toLowerCase()][a] || u;
436
+ return d > 0 ? S.charAt(0).toUpperCase() + S.slice(1) : S;
437
437
  });
438
438
  }
439
439
  function i(s) {
@@ -444,7 +444,7 @@ function Ms(e, t, n) {
444
444
  orient: i
445
445
  };
446
446
  }
447
- var Vt = "role", Pn = "tabindex", Ns = "disabled", It = "aria-", ar = It + "controls", ha = It + "current", ti = It + "selected", wt = It + "label", ko = It + "labelledby", fa = It + "hidden", Wo = It + "orientation", Yn = It + "roledescription", ni = It + "live", ri = It + "busy", oi = It + "atomic", Ro = [Vt, Pn, Ns, ar, ha, wt, ko, fa, Wo, Yn], Rt = ir + "__", cn = "is-", Xr = ir, ii = Rt + "track", Hs = Rt + "list", Dr = Rt + "slide", ya = Dr + "--clone", Os = Dr + "__container", Fo = Rt + "arrows", zr = Rt + "arrow", va = zr + "--prev", ba = zr + "--next", Vr = Rt + "pagination", xa = Vr + "__page", Bs = Rt + "progress", Ds = Bs + "__bar", zs = Rt + "toggle", Vs = Rt + "spinner", qs = Rt + "sr", js = cn + "initialized", hn = cn + "active", Ca = cn + "prev", $a = cn + "next", go = cn + "visible", ho = cn + "loading", wa = cn + "focus-in", Sa = cn + "overflow", Ks = [hn, go, Ca, $a, ho, wa, Sa], Us = {
447
+ var Vt = "role", Pn = "tabindex", Ns = "disabled", It = "aria-", ar = It + "controls", ha = It + "current", ti = It + "selected", St = It + "label", ko = It + "labelledby", fa = It + "hidden", Wo = It + "orientation", Yn = It + "roledescription", ni = It + "live", ri = It + "busy", oi = It + "atomic", Ro = [Vt, Pn, Ns, ar, ha, St, ko, fa, Wo, Yn], Rt = ir + "__", cn = "is-", Xr = ir, ii = Rt + "track", Hs = Rt + "list", Dr = Rt + "slide", ya = Dr + "--clone", Os = Dr + "__container", Fo = Rt + "arrows", zr = Rt + "arrow", va = zr + "--prev", ba = zr + "--next", Vr = Rt + "pagination", xa = Vr + "__page", Bs = Rt + "progress", Ds = Bs + "__bar", zs = Rt + "toggle", Vs = Rt + "spinner", qs = Rt + "sr", js = cn + "initialized", hn = cn + "active", Ca = cn + "prev", $a = cn + "next", go = cn + "visible", ho = cn + "loading", Sa = cn + "focus-in", wa = cn + "overflow", Ks = [hn, go, Ca, $a, ho, Sa, wa], Us = {
448
448
  slide: Dr,
449
449
  clone: ya,
450
450
  arrows: Fo,
@@ -464,7 +464,7 @@ function Gs(e, t) {
464
464
  }
465
465
  var Ys = 5, ai = 200, Ta = "touchstart mousedown", Qr = "touchmove mousemove", Zr = "touchend touchcancel mouseup click";
466
466
  function Xs(e, t, n) {
467
- var r = qe(e), i = r.on, s = r.bind, o = e.root, c = n.i18n, a = {}, u = [], d = [], w = [], v, h, p;
467
+ var r = qe(e), i = r.on, s = r.bind, o = e.root, c = n.i18n, a = {}, u = [], d = [], S = [], v, h, p;
468
468
  function m() {
469
469
  f(), F(), x();
470
470
  }
@@ -474,18 +474,18 @@ function Xs(e, t, n) {
474
474
  }, {
475
475
  capture: !0
476
476
  }), s(o, "focusin", function() {
477
- Dt(o, wa, !!p);
477
+ Dt(o, Sa, !!p);
478
478
  });
479
479
  }
480
480
  function $(y) {
481
481
  var T = Ro.concat("style");
482
- Kt(u), zt(o, d), zt(v, w), Wt([v, h], T), Wt(o, y ? T : ["style", Yn]);
482
+ Kt(u), zt(o, d), zt(v, S), Wt([v, h], T), Wt(o, y ? T : ["style", Yn]);
483
483
  }
484
484
  function x() {
485
- zt(o, d), zt(v, w), d = M(Xr), w = M(ii), kt(o, d), kt(v, w), $e(o, wt, n.label), $e(o, ko, n.labelledby);
485
+ zt(o, d), zt(v, S), d = M(Xr), S = M(ii), kt(o, d), kt(v, S), $e(o, St, n.label), $e(o, ko, n.labelledby);
486
486
  }
487
487
  function f() {
488
- v = S("." + ii), h = or(v, "." + Hs), Bn(v && h, "A track/list element is missing."), xr(u, Ui(h, "." + Dr + ":not(." + ya + ")")), mn({
488
+ v = w("." + ii), h = or(v, "." + Hs), Bn(v && h, "A track/list element is missing."), xr(u, Ui(h, "." + Dr + ":not(." + ya + ")")), mn({
489
489
  arrows: Fo,
490
490
  pagination: Vr,
491
491
  prev: va,
@@ -493,7 +493,7 @@ function Xs(e, t, n) {
493
493
  bar: Ds,
494
494
  toggle: zs
495
495
  }, function(y, T) {
496
- a[T] = S("." + y);
496
+ a[T] = w("." + y);
497
497
  }), Kn(a, {
498
498
  root: o,
499
499
  track: v,
@@ -505,7 +505,7 @@ function Xs(e, t, n) {
505
505
  var y = o.id || Is(ir), T = n.role;
506
506
  o.id = y, v.id = v.id || y + "-track", h.id = h.id || y + "-list", !At(o, Vt) && o.tagName !== "SECTION" && T && $e(o, Vt, T), $e(o, Yn, c.carousel), $e(h, Vt, "presentation");
507
507
  }
508
- function S(y) {
508
+ function w(y) {
509
509
  var T = Xi(o, y);
510
510
  return T && Gs(T, "." + Xr) === o ? T : void 0;
511
511
  }
@@ -520,39 +520,39 @@ function Xs(e, t, n) {
520
520
  }
521
521
  var An = "slide", Nn = "loop", sr = "fade";
522
522
  function Qs(e, t, n, r) {
523
- var i = qe(e), s = i.on, o = i.emit, c = i.bind, a = e.Components, u = e.root, d = e.options, w = d.isNavigation, v = d.updateOnMove, h = d.i18n, p = d.pagination, m = d.slideFocus, b = a.Direction.resolve, $ = At(r, "style"), x = At(r, wt), f = n > -1, F = or(r, "." + Os), S;
523
+ var i = qe(e), s = i.on, o = i.emit, c = i.bind, a = e.Components, u = e.root, d = e.options, S = d.isNavigation, v = d.updateOnMove, h = d.i18n, p = d.pagination, m = d.slideFocus, b = a.Direction.resolve, $ = At(r, "style"), x = At(r, St), f = n > -1, F = or(r, "." + Os), w;
524
524
  function M() {
525
- f || (r.id = u.id + "-slide" + To(t + 1), $e(r, Vt, p ? "tabpanel" : "group"), $e(r, Yn, h.slide), $e(r, wt, x || po(h.slideLabel, [t + 1, e.length]))), y();
525
+ f || (r.id = u.id + "-slide" + To(t + 1), $e(r, Vt, p ? "tabpanel" : "group"), $e(r, Yn, h.slide), $e(r, St, x || po(h.slideLabel, [t + 1, e.length]))), y();
526
526
  }
527
527
  function y() {
528
528
  c(r, "click", De(o, Lo, D)), c(r, "keydown", De(o, ua, D)), s([Mn, pa, fn], P), s(Eo, O), v && s(Ut, C);
529
529
  }
530
530
  function T() {
531
- S = !0, i.destroy(), zt(r, Ks), Wt(r, Ro), $e(r, "style", $), $e(r, wt, x || "");
531
+ w = !0, i.destroy(), zt(r, Ks), Wt(r, Ro), $e(r, "style", $), $e(r, St, x || "");
532
532
  }
533
533
  function O() {
534
534
  var N = e.splides.map(function(A) {
535
535
  var j = A.splide.Components.Slides.getAt(t);
536
536
  return j ? j.slide.id : "";
537
537
  }).join(" ");
538
- $e(r, wt, po(h.slideX, (f ? n : t) + 1)), $e(r, ar, N), $e(r, Vt, m ? "button" : ""), m && Wt(r, Yn);
538
+ $e(r, St, po(h.slideX, (f ? n : t) + 1)), $e(r, ar, N), $e(r, Vt, m ? "button" : ""), m && Wt(r, Yn);
539
539
  }
540
540
  function C() {
541
- S || P();
541
+ w || P();
542
542
  }
543
543
  function P() {
544
- if (!S) {
544
+ if (!w) {
545
545
  var N = e.index;
546
546
  _(), W(), Dt(r, Ca, t === N - 1), Dt(r, $a, t === N + 1);
547
547
  }
548
548
  }
549
549
  function _() {
550
550
  var N = ee();
551
- N !== Zo(r, hn) && (Dt(r, hn, N), $e(r, ha, w && N || ""), o(N ? Ji : ea, D));
551
+ N !== Zo(r, hn) && (Dt(r, hn, N), $e(r, ha, S && N || ""), o(N ? Ji : ea, D));
552
552
  }
553
553
  function W() {
554
554
  var N = k(), A = !N && (!ee() || f);
555
- if (e.state.is([Fn, er]) || $e(r, fa, A || ""), $e(wo(r, d.focusableNodes || ""), Pn, A ? -1 : ""), m && $e(r, Pn, A ? -1 : 0), N !== Zo(r, go) && (Dt(r, go, N), o(N ? ta : na, D)), !N && document.activeElement === r) {
555
+ if (e.state.is([Fn, er]) || $e(r, fa, A || ""), $e(So(r, d.focusableNodes || ""), Pn, A ? -1 : ""), m && $e(r, Pn, A ? -1 : 0), N !== Zo(r, go) && (Dt(r, go, N), o(N ? ta : na, D)), !N && document.activeElement === r) {
556
556
  var j = a.Slides.getAt(e.index);
557
557
  j && Gi(j.slide);
558
558
  }
@@ -590,7 +590,7 @@ function Qs(e, t, n, r) {
590
590
  }
591
591
  function Zs(e, t, n) {
592
592
  var r = qe(e), i = r.on, s = r.emit, o = r.bind, c = t.Elements, a = c.slides, u = c.list, d = [];
593
- function w() {
593
+ function S() {
594
594
  v(), i(Xe, h), i(Xe, v);
595
595
  }
596
596
  function v() {
@@ -599,12 +599,12 @@ function Zs(e, t, n) {
599
599
  });
600
600
  }
601
601
  function h() {
602
- S(function(P) {
602
+ w(function(P) {
603
603
  P.destroy();
604
604
  }), Kt(d);
605
605
  }
606
606
  function p() {
607
- S(function(P) {
607
+ w(function(P) {
608
608
  P.update();
609
609
  });
610
610
  }
@@ -641,7 +641,7 @@ function Zs(e, t, n) {
641
641
  return _.slide;
642
642
  })), s(Xe);
643
643
  }
644
- function S(P, _) {
644
+ function w(P, _) {
645
645
  b(_).forEach(P);
646
646
  }
647
647
  function M(P) {
@@ -650,12 +650,12 @@ function Zs(e, t, n) {
650
650
  });
651
651
  }
652
652
  function y(P, _, W) {
653
- S(function(V) {
653
+ w(function(V) {
654
654
  V.style(P, _, W);
655
655
  });
656
656
  }
657
657
  function T(P, _) {
658
- var W = wo(P, "img"), V = W.length;
658
+ var W = So(P, "img"), V = W.length;
659
659
  V ? W.forEach(function(ee) {
660
660
  o(ee, "load error", function() {
661
661
  --V || _();
@@ -669,7 +669,7 @@ function Zs(e, t, n) {
669
669
  return d.length > n.perPage;
670
670
  }
671
671
  return {
672
- mount: w,
672
+ mount: S,
673
673
  destroy: h,
674
674
  update: p,
675
675
  register: m,
@@ -678,7 +678,7 @@ function Zs(e, t, n) {
678
678
  getAt: x,
679
679
  add: f,
680
680
  remove: F,
681
- forEach: S,
681
+ forEach: w,
682
682
  filter: M,
683
683
  style: y,
684
684
  getLength: O,
@@ -686,24 +686,24 @@ function Zs(e, t, n) {
686
686
  };
687
687
  }
688
688
  function Js(e, t, n) {
689
- var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = t.Slides, a = t.Direction.resolve, u = t.Elements, d = u.root, w = u.track, v = u.list, h = c.getAt, p = c.style, m, b, $;
689
+ var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = t.Slides, a = t.Direction.resolve, u = t.Elements, d = u.root, S = u.track, v = u.list, h = c.getAt, p = c.style, m, b, $;
690
690
  function x() {
691
691
  f(), s(window, "resize load", Rs(De(o, _n))), i([it, Xe], f), i(_n, F);
692
692
  }
693
693
  function f() {
694
- m = n.direction === Br, _t(d, "maxWidth", dn(n.width)), _t(w, a("paddingLeft"), S(!1)), _t(w, a("paddingRight"), S(!0)), F(!0);
694
+ m = n.direction === Br, _t(d, "maxWidth", dn(n.width)), _t(S, a("paddingLeft"), w(!1)), _t(S, a("paddingRight"), w(!0)), F(!0);
695
695
  }
696
696
  function F(D) {
697
697
  var N = $t(d);
698
- (D || b.width !== N.width || b.height !== N.height) && (_t(w, "height", M()), p(a("marginRight"), dn(n.gap)), p("width", T()), p("height", O(), !0), b = N, o(Rr), $ !== ($ = R()) && (Dt(d, Sa, $), o(ks, $)));
698
+ (D || b.width !== N.width || b.height !== N.height) && (_t(S, "height", M()), p(a("marginRight"), dn(n.gap)), p("width", T()), p("height", O(), !0), b = N, o(Rr), $ !== ($ = R()) && (Dt(d, wa, $), o(ks, $)));
699
699
  }
700
- function S(D) {
700
+ function w(D) {
701
701
  var N = n.padding, A = a(D ? "right" : "left");
702
702
  return N && dn(N[A] || (Vn(N) ? 0 : N)) || "0px";
703
703
  }
704
704
  function M() {
705
705
  var D = "";
706
- return m && (D = y(), Bn(D, "height or heightRatio is missing."), D = "calc(" + D + " - " + S(!1) + " - " + S(!0) + ")"), D;
706
+ return m && (D = y(), Bn(D, "height or heightRatio is missing."), D = "calc(" + D + " - " + w(!1) + " - " + w(!0) + ")"), D;
707
707
  }
708
708
  function y() {
709
709
  return dn(n.height || $t(v).width * n.heightRatio);
@@ -741,7 +741,7 @@ function Js(e, t, n) {
741
741
  return D && parseFloat(_t(D.slide, a("marginRight"))) || 0;
742
742
  }
743
743
  function k(D) {
744
- return parseFloat(_t(w, a("padding" + (D ? "Right" : "Left")))) || 0;
744
+ return parseFloat(_t(S, a("padding" + (D ? "Right" : "Left")))) || 0;
745
745
  }
746
746
  function R() {
747
747
  return e.is(sr) || V(!0) > P();
@@ -761,9 +761,9 @@ var el = 2;
761
761
  function tl(e, t, n) {
762
762
  var r = qe(e), i = r.on, s = t.Elements, o = t.Slides, c = t.Direction.resolve, a = [], u;
763
763
  function d() {
764
- i(Xe, w), i([it, _n], h), (u = b()) && (p(u), t.Layout.resize(!0));
764
+ i(Xe, S), i([it, _n], h), (u = b()) && (p(u), t.Layout.resize(!0));
765
765
  }
766
- function w() {
766
+ function S() {
767
767
  v(), d();
768
768
  }
769
769
  function v() {
@@ -778,9 +778,9 @@ function tl(e, t, n) {
778
778
  if (f) {
779
779
  for (; x.length < $; )
780
780
  xr(x, x);
781
- xr(x.slice(-$), x.slice(0, $)).forEach(function(F, S) {
782
- var M = S < $, y = m(F.slide, S);
783
- M ? $o(y, x[0].slide) : rr(s.list, y), xr(a, y), o.register(y, S - $ + (M ? 0 : f), F.index);
781
+ xr(x.slice(-$), x.slice(0, $)).forEach(function(F, w) {
782
+ var M = w < $, y = m(F.slide, w);
783
+ M ? $o(y, x[0].slide) : rr(s.list, y), xr(a, y), o.register(y, w - $ + (M ? 0 : f), F.index);
784
784
  });
785
785
  }
786
786
  }
@@ -804,11 +804,11 @@ function tl(e, t, n) {
804
804
  };
805
805
  }
806
806
  function nl(e, t, n) {
807
- var r = qe(e), i = r.on, s = r.emit, o = e.state.set, c = t.Layout, a = c.slideSize, u = c.getPadding, d = c.totalSize, w = c.listSize, v = c.sliderSize, h = t.Direction, p = h.resolve, m = h.orient, b = t.Elements, $ = b.list, x = b.track, f;
807
+ var r = qe(e), i = r.on, s = r.emit, o = e.state.set, c = t.Layout, a = c.slideSize, u = c.getPadding, d = c.totalSize, S = c.listSize, v = c.sliderSize, h = t.Direction, p = h.resolve, m = h.orient, b = t.Elements, $ = b.list, x = b.track, f;
808
808
  function F() {
809
- f = t.Transition, i([ln, Rr, it, Xe], S);
809
+ f = t.Transition, i([ln, Rr, it, Xe], w);
810
810
  }
811
- function S() {
811
+ function w() {
812
812
  t.Controller.isBusy() || (t.Scroll.cancel(), y(e.index), t.Slides.update());
813
813
  }
814
814
  function M(A, j, X, Q) {
@@ -858,11 +858,11 @@ function nl(e, t, n) {
858
858
  return $t($)[A] - $t(x)[A] + m(u(!1));
859
859
  }
860
860
  function ee(A) {
861
- return n.trimSpace && e.is(An) && (A = $n(A, 0, m(v(!0) - w()))), A;
861
+ return n.trimSpace && e.is(An) && (A = $n(A, 0, m(v(!0) - S()))), A;
862
862
  }
863
863
  function k(A) {
864
864
  var j = n.focus;
865
- return j === "center" ? (w() - a(A, !0)) / 2 : +j * a(A) || 0;
865
+ return j === "center" ? (S() - a(A, !0)) / 2 : +j * a(A) || 0;
866
866
  }
867
867
  function R(A) {
868
868
  return W(A ? t.Controller.getEnd() : 0, !!n.trimSpace);
@@ -888,17 +888,17 @@ function nl(e, t, n) {
888
888
  getPosition: V,
889
889
  getLimit: R,
890
890
  exceededLimit: N,
891
- reposition: S
891
+ reposition: w
892
892
  };
893
893
  }
894
894
  function rl(e, t, n) {
895
- var r = qe(e), i = r.on, s = r.emit, o = t.Move, c = o.getPosition, a = o.getLimit, u = o.toPosition, d = t.Slides, w = d.isEnough, v = d.getLength, h = n.omitEnd, p = e.is(Nn), m = e.is(An), b = De(V, !1), $ = De(V, !0), x = n.start || 0, f, F = x, S, M, y;
895
+ var r = qe(e), i = r.on, s = r.emit, o = t.Move, c = o.getPosition, a = o.getLimit, u = o.toPosition, d = t.Slides, S = d.isEnough, v = d.getLength, h = n.omitEnd, p = e.is(Nn), m = e.is(An), b = De(V, !1), $ = De(V, !0), x = n.start || 0, f, F = x, w, M, y;
896
896
  function T() {
897
897
  O(), i([it, Xe, Ar], O), i(Rr, C);
898
898
  }
899
899
  function O() {
900
- S = v(!0), M = n.perMove, y = n.perPage, f = D();
901
- var g = $n(x, 0, h ? f : S - 1);
900
+ w = v(!0), M = n.perMove, y = n.perPage, f = D();
901
+ var g = $n(x, 0, h ? f : w - 1);
902
902
  g !== x && (x = g, o.reposition());
903
903
  }
904
904
  function C() {
@@ -930,9 +930,9 @@ function rl(e, t, n) {
930
930
  return le === -1 && m && !Qi(c(), a(!g), 1) ? g ? 0 : f : J ? le : R(le);
931
931
  }
932
932
  function ee(g, J, he) {
933
- if (w() || I()) {
933
+ if (S() || I()) {
934
934
  var le = k(g);
935
- le !== g && (J = g, g = le, he = !1), g < 0 || g > f ? !M && (Cr(0, g, J, !0) || Cr(f, J, g, !0)) ? g = N(A(g)) : p ? g = he ? g < 0 ? -(S % y || y) : S : g : n.rewind ? g = g < 0 ? f : 0 : g = -1 : he && g !== J && (g = N(A(J) + (g < J ? -1 : 1)));
935
+ le !== g && (J = g, g = le, he = !1), g < 0 || g > f ? !M && (Cr(0, g, J, !0) || Cr(f, J, g, !0)) ? g = N(A(g)) : p ? g = he ? g < 0 ? -(w % y || y) : w : g : n.rewind ? g = g < 0 ? f : 0 : g = -1 : he && g !== J && (g = N(A(J) + (g < J ? -1 : 1)));
936
936
  } else
937
937
  g = -1;
938
938
  return g;
@@ -944,21 +944,21 @@ function rl(e, t, n) {
944
944
  return g;
945
945
  }
946
946
  function R(g) {
947
- return p ? (g + S) % S || 0 : g;
947
+ return p ? (g + w) % w || 0 : g;
948
948
  }
949
949
  function D() {
950
- for (var g = S - (I() || p && M ? 1 : y); h && g-- > 0; )
951
- if (u(S - 1, !0) !== u(g, !0)) {
950
+ for (var g = w - (I() || p && M ? 1 : y); h && g-- > 0; )
951
+ if (u(w - 1, !0) !== u(g, !0)) {
952
952
  g++;
953
953
  break;
954
954
  }
955
- return $n(g, 0, S - 1);
955
+ return $n(g, 0, w - 1);
956
956
  }
957
957
  function N(g) {
958
958
  return $n(I() ? g : y * g, 0, f);
959
959
  }
960
960
  function A(g) {
961
- return I() ? rn(g, f) : _r((g >= f ? S - 1 : g) / y);
961
+ return I() ? rn(g, f) : _r((g >= f ? w - 1 : g) / y);
962
962
  }
963
963
  function j(g) {
964
964
  var J = o.toIndex(g);
@@ -995,14 +995,14 @@ function rl(e, t, n) {
995
995
  }
996
996
  var ol = "http://www.w3.org/2000/svg", il = "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", pr = 40;
997
997
  function al(e, t, n) {
998
- var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = n.classes, a = n.i18n, u = t.Elements, d = t.Controller, w = u.arrows, v = u.track, h = w, p = u.prev, m = u.next, b, $, x = {};
998
+ var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = n.classes, a = n.i18n, u = t.Elements, d = t.Controller, S = u.arrows, v = u.track, h = S, p = u.prev, m = u.next, b, $, x = {};
999
999
  function f() {
1000
- S(), i(it, F);
1000
+ w(), i(it, F);
1001
1001
  }
1002
1002
  function F() {
1003
1003
  M(), f();
1004
1004
  }
1005
- function S() {
1005
+ function w() {
1006
1006
  var _ = n.arrows;
1007
1007
  _ && !(p && m) && O(), p && m && (Kn(x, {
1008
1008
  prev: p,
@@ -1010,7 +1010,7 @@ function al(e, t, n) {
1010
1010
  }), Un(h, _ ? "" : "none"), kt(h, $ = Fo + "--" + n.direction), _ && (y(), P(), $e([p, m], ar, v.id), o(aa, p, m)));
1011
1011
  }
1012
1012
  function M() {
1013
- r.destroy(), zt(h, $), b ? (gn(w ? [p, m] : h), p = m = null) : Wt([p, m], Ro);
1013
+ r.destroy(), zt(h, $), b ? (gn(S ? [p, m] : h), p = m = null) : Wt([p, m], Ro);
1014
1014
  }
1015
1015
  function y() {
1016
1016
  i([ln, Mn, Xe, fn, Ar], P), s(m, "click", De(T, ">")), s(p, "click", De(T, "<"));
@@ -1019,7 +1019,7 @@ function al(e, t, n) {
1019
1019
  d.go(_, !0);
1020
1020
  }
1021
1021
  function O() {
1022
- h = w || Ln("div", c.arrows), p = C(!0), m = C(!1), b = !0, rr(h, [p, m]), !w && $o(h, v);
1022
+ h = S || Ln("div", c.arrows), p = C(!0), m = C(!1), b = !0, rr(h, [p, m]), !S && $o(h, v);
1023
1023
  }
1024
1024
  function C(_) {
1025
1025
  var W = '<button class="' + c.arrow + " " + (_ ? c.prev : c.next) + '" type="button"><svg xmlns="' + ol + '" viewBox="0 0 ' + pr + " " + pr + '" width="' + pr + '" height="' + pr + '" focusable="false"><path d="' + (n.arrowPath || il) + '" />';
@@ -1028,7 +1028,7 @@ function al(e, t, n) {
1028
1028
  function P() {
1029
1029
  if (p && m) {
1030
1030
  var _ = e.index, W = d.getPrev(), V = d.getNext(), ee = W > -1 && _ < W ? a.last : a.prev, k = V > -1 && _ > V ? a.first : a.next;
1031
- p.disabled = W < 0, m.disabled = V < 0, $e(p, wt, ee), $e(m, wt, k), o(sa, p, m, W, V);
1031
+ p.disabled = W < 0, m.disabled = V < 0, $e(p, St, ee), $e(m, St, k), o(sa, p, m, W, V);
1032
1032
  }
1033
1033
  }
1034
1034
  return {
@@ -1038,17 +1038,17 @@ function al(e, t, n) {
1038
1038
  update: P
1039
1039
  };
1040
1040
  }
1041
- var sl = So + "-interval";
1041
+ var sl = wo + "-interval";
1042
1042
  function ll(e, t, n) {
1043
- var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = Mr(n.interval, e.go.bind(e, ">"), y), a = c.isPaused, u = t.Elements, d = t.Elements, w = d.root, v = d.toggle, h = n.autoplay, p, m, b = h === "pause";
1043
+ var r = qe(e), i = r.on, s = r.bind, o = r.emit, c = Mr(n.interval, e.go.bind(e, ">"), y), a = c.isPaused, u = t.Elements, d = t.Elements, S = d.root, v = d.toggle, h = n.autoplay, p, m, b = h === "pause";
1044
1044
  function $() {
1045
1045
  h && (x(), v && $e(v, ar, u.track.id), b || f(), M());
1046
1046
  }
1047
1047
  function x() {
1048
- n.pauseOnHover && s(w, "mouseenter mouseleave", function(O) {
1049
- p = O.type === "mouseenter", S();
1050
- }), n.pauseOnFocus && s(w, "focusin focusout", function(O) {
1051
- m = O.type === "focusin", S();
1048
+ n.pauseOnHover && s(S, "mouseenter mouseleave", function(O) {
1049
+ p = O.type === "mouseenter", w();
1050
+ }), n.pauseOnFocus && s(S, "focusin focusout", function(O) {
1051
+ m = O.type === "focusin", w();
1052
1052
  }), v && s(v, "click", function() {
1053
1053
  b ? f() : F(!0);
1054
1054
  }), i([Ut, Fr, Xe], c.rewind), i(Ut, T);
@@ -1059,11 +1059,11 @@ function ll(e, t, n) {
1059
1059
  function F(O) {
1060
1060
  O === void 0 && (O = !0), b = !!O, M(), a() || (c.pause(), o(Ao));
1061
1061
  }
1062
- function S() {
1062
+ function w() {
1063
1063
  b || (p || m ? F(!1) : f());
1064
1064
  }
1065
1065
  function M() {
1066
- v && (Dt(v, hn, !b), $e(v, wt, n.i18n[b ? "play" : "pause"]));
1066
+ v && (Dt(v, hn, !b), $e(v, St, n.i18n[b ? "play" : "pause"]));
1067
1067
  }
1068
1068
  function y(O) {
1069
1069
  var C = u.bar;
@@ -1102,9 +1102,9 @@ function cl(e, t, n) {
1102
1102
  }
1103
1103
  var dl = 10, ul = 600, pl = 0.6, ml = 1.5, gl = 800;
1104
1104
  function hl(e, t, n) {
1105
- var r = qe(e), i = r.on, s = r.emit, o = e.state.set, c = t.Move, a = c.getPosition, u = c.getLimit, d = c.exceededLimit, w = c.translate, v = e.is(An), h, p, m = 1;
1105
+ var r = qe(e), i = r.on, s = r.emit, o = e.state.set, c = t.Move, a = c.getPosition, u = c.getLimit, d = c.exceededLimit, S = c.translate, v = e.is(An), h, p, m = 1;
1106
1106
  function b() {
1107
- i(Ut, F), i([it, Xe], S);
1107
+ i(Ut, F), i([it, Xe], w);
1108
1108
  }
1109
1109
  function $(y, T, O, C, P) {
1110
1110
  var _ = a();
@@ -1120,12 +1120,12 @@ function hl(e, t, n) {
1120
1120
  }
1121
1121
  function f(y, T, O, C) {
1122
1122
  var P = a(), _ = y + (T - y) * M(C), W = (_ - P) * m;
1123
- w(P + W), v && !O && d() && (m *= pl, ct(W) < dl && $(u(d(!0)), ul, !1, p, !0));
1123
+ S(P + W), v && !O && d() && (m *= pl, ct(W) < dl && $(u(d(!0)), ul, !1, p, !0));
1124
1124
  }
1125
1125
  function F() {
1126
1126
  h && h.cancel();
1127
1127
  }
1128
- function S() {
1128
+ function w() {
1129
1129
  h && !h.isPaused() && (F(), x());
1130
1130
  }
1131
1131
  function M(y) {
@@ -1136,17 +1136,17 @@ function hl(e, t, n) {
1136
1136
  mount: b,
1137
1137
  destroy: F,
1138
1138
  scroll: $,
1139
- cancel: S
1139
+ cancel: w
1140
1140
  };
1141
1141
  }
1142
- var wn = {
1142
+ var Sn = {
1143
1143
  passive: !1,
1144
1144
  capture: !0
1145
1145
  };
1146
1146
  function fl(e, t, n) {
1147
- var r = qe(e), i = r.on, s = r.emit, o = r.bind, c = r.unbind, a = e.state, u = t.Move, d = t.Scroll, w = t.Controller, v = t.Elements.track, h = t.Media.reduce, p = t.Direction, m = p.resolve, b = p.orient, $ = u.getPosition, x = u.exceededLimit, f, F, S, M, y, T = !1, O, C, P;
1147
+ var r = qe(e), i = r.on, s = r.emit, o = r.bind, c = r.unbind, a = e.state, u = t.Move, d = t.Scroll, S = t.Controller, v = t.Elements.track, h = t.Media.reduce, p = t.Direction, m = p.resolve, b = p.orient, $ = u.getPosition, x = u.exceededLimit, f, F, w, M, y, T = !1, O, C, P;
1148
1148
  function _() {
1149
- o(v, Qr, lo, wn), o(v, Zr, lo, wn), o(v, Ta, V, wn), o(v, "click", R, {
1149
+ o(v, Qr, lo, Sn), o(v, Zr, lo, Sn), o(v, Ta, V, Sn), o(v, "click", R, {
1150
1150
  capture: !0
1151
1151
  }), o(v, "dragstart", Bt), i([ln, it], W);
1152
1152
  }
@@ -1157,7 +1157,7 @@ function fl(e, t, n) {
1157
1157
  function V(B) {
1158
1158
  if (O = !1, !C) {
1159
1159
  var K = xe(B);
1160
- le(B.target) && (K || !B.button) && (w.isBusy() ? Bt(B, !0) : (P = K ? v : window, y = a.is([Fn, er]), S = null, o(P, Qr, ee, wn), o(P, Zr, k, wn), u.cancel(), d.cancel(), D(B)));
1160
+ le(B.target) && (K || !B.button) && (S.isBusy() ? Bt(B, !0) : (P = K ? v : window, y = a.is([Fn, er]), w = null, o(P, Qr, ee, Sn), o(P, Zr, k, Sn), u.cancel(), d.cancel(), D(B)));
1161
1161
  }
1162
1162
  }
1163
1163
  function ee(B) {
@@ -1175,11 +1175,11 @@ function fl(e, t, n) {
1175
1175
  !C && O && Bt(B, !0);
1176
1176
  }
1177
1177
  function D(B) {
1178
- S = F, F = B, f = $();
1178
+ w = F, F = B, f = $();
1179
1179
  }
1180
1180
  function N(B) {
1181
1181
  var K = X(B), U = Q(K), se = n.rewind && n.rewindByDrag;
1182
- h(!1), M ? w.scroll(U, 0, n.snap) : e.is(sr) ? w.go(b(uo(K)) < 0 ? se ? "<" : "-" : se ? ">" : "+") : e.is(An) && T && se ? w.go(x(!0) ? ">" : "<") : w.go(w.toDest(U), !0), h(!0);
1182
+ h(!1), M ? S.scroll(U, 0, n.snap) : e.is(sr) ? S.go(b(uo(K)) < 0 ? se ? "<" : "-" : se ? ">" : "+") : e.is(An) && T && se ? S.go(x(!0) ? ">" : "<") : S.go(S.toDest(U), !0), h(!0);
1183
1183
  }
1184
1184
  function A(B) {
1185
1185
  var K = n.dragMinThreshold, U = Vn(K), se = U && K.mouse || 0, ve = (U ? K.touch : +K) || 10;
@@ -1206,7 +1206,7 @@ function fl(e, t, n) {
1206
1206
  return co(B) - co(g(B));
1207
1207
  }
1208
1208
  function g(B) {
1209
- return F === B && S || F;
1209
+ return F === B && w || F;
1210
1210
  }
1211
1211
  function J(B, K) {
1212
1212
  return (xe(B) ? B.changedTouches[0] : B)["page" + m(K ? "Y" : "X")];
@@ -1246,7 +1246,7 @@ function Mo(e) {
1246
1246
  var si = "keydown";
1247
1247
  function vl(e, t, n) {
1248
1248
  var r = qe(e), i = r.on, s = r.bind, o = r.unbind, c = e.root, a = t.Direction.resolve, u, d;
1249
- function w() {
1249
+ function S() {
1250
1250
  v(), i(it, h), i(it, v), i(Ut, m);
1251
1251
  }
1252
1252
  function v() {
@@ -1272,15 +1272,15 @@ function vl(e, t, n) {
1272
1272
  }
1273
1273
  }
1274
1274
  return {
1275
- mount: w,
1275
+ mount: S,
1276
1276
  destroy: h,
1277
1277
  disable: p
1278
1278
  };
1279
1279
  }
1280
- var Dn = So + "-lazy", $r = Dn + "-srcset", bl = "[" + Dn + "], [" + $r + "]";
1280
+ var Dn = wo + "-lazy", $r = Dn + "-srcset", bl = "[" + Dn + "], [" + $r + "]";
1281
1281
  function xl(e, t, n) {
1282
1282
  var r = qe(e), i = r.on, s = r.off, o = r.bind, c = r.emit, a = n.lazyLoad === "sequential", u = [Mn, fn], d = [];
1283
- function w() {
1283
+ function S() {
1284
1284
  n.lazyLoad && (v(), i(Xe, v));
1285
1285
  }
1286
1286
  function v() {
@@ -1288,9 +1288,9 @@ function xl(e, t, n) {
1288
1288
  }
1289
1289
  function h() {
1290
1290
  t.Slides.forEach(function(x) {
1291
- wo(x.slide, bl).forEach(function(f) {
1292
- var F = At(f, Dn), S = At(f, $r);
1293
- if (F !== f.src || S !== f.srcset) {
1291
+ So(x.slide, bl).forEach(function(f) {
1292
+ var F = At(f, Dn), w = At(f, $r);
1293
+ if (F !== f.src || w !== f.srcset) {
1294
1294
  var M = n.classes.spinner, y = f.parentElement, T = or(y, "." + M) || Ln("span", M, y);
1295
1295
  d.push([f, x, T]), f.src || Un(f, "none");
1296
1296
  }
@@ -1308,20 +1308,20 @@ function xl(e, t, n) {
1308
1308
  kt(x[1].slide, ho), o(f, "load error", De(b, x)), $e(f, "src", At(f, Dn)), $e(f, "srcset", At(f, $r)), Wt(f, Dn), Wt(f, $r);
1309
1309
  }
1310
1310
  function b(x, f) {
1311
- var F = x[0], S = x[1];
1312
- zt(S.slide, ho), f.type !== "error" && (gn(x[2]), Un(F, ""), c(Io, F, S), c(_n)), a && $();
1311
+ var F = x[0], w = x[1];
1312
+ zt(w.slide, ho), f.type !== "error" && (gn(x[2]), Un(F, ""), c(Io, F, w), c(_n)), a && $();
1313
1313
  }
1314
1314
  function $() {
1315
1315
  d.length && m(d.shift());
1316
1316
  }
1317
1317
  return {
1318
- mount: w,
1318
+ mount: S,
1319
1319
  destroy: De(Kt, d),
1320
1320
  check: p
1321
1321
  };
1322
1322
  }
1323
1323
  function Cl(e, t, n) {
1324
- var r = qe(e), i = r.on, s = r.emit, o = r.bind, c = t.Slides, a = t.Elements, u = t.Controller, d = u.hasFocus, w = u.getIndex, v = u.go, h = t.Direction.resolve, p = a.pagination, m = [], b, $;
1324
+ var r = qe(e), i = r.on, s = r.emit, o = r.bind, c = t.Slides, a = t.Elements, u = t.Controller, d = u.hasFocus, S = u.getIndex, v = u.go, h = t.Direction.resolve, p = a.pagination, m = [], b, $;
1325
1325
  function x() {
1326
1326
  f(), i([it, Xe, Ar], x);
1327
1327
  var C = n.pagination;
@@ -1335,7 +1335,7 @@ function Cl(e, t, n) {
1335
1335
  }
1336
1336
  function F() {
1337
1337
  var C = e.length, P = n.classes, _ = n.i18n, W = n.perPage, V = d() ? u.getEnd() + 1 : Gn(C / W);
1338
- b = p || Ln("ul", P.pagination, a.track.parentElement), kt(b, $ = Vr + "--" + y()), $e(b, Vt, "tablist"), $e(b, wt, _.select), $e(b, Wo, y() === Br ? "vertical" : "");
1338
+ b = p || Ln("ul", P.pagination, a.track.parentElement), kt(b, $ = Vr + "--" + y()), $e(b, Vt, "tablist"), $e(b, St, _.select), $e(b, Wo, y() === Br ? "vertical" : "");
1339
1339
  for (var ee = 0; ee < V; ee++) {
1340
1340
  var k = Ln("li", null, b), R = Ln("button", {
1341
1341
  class: P.page,
@@ -1343,14 +1343,14 @@ function Cl(e, t, n) {
1343
1343
  }, k), D = c.getIn(ee).map(function(A) {
1344
1344
  return A.slide.id;
1345
1345
  }), N = !d() && W > 1 ? _.pageX : _.slideX;
1346
- o(R, "click", De(S, ee)), n.paginationKeyboard && o(R, "keydown", De(M, ee)), $e(k, Vt, "presentation"), $e(R, Vt, "tab"), $e(R, ar, D.join(" ")), $e(R, wt, po(N, ee + 1)), $e(R, Pn, -1), m.push({
1346
+ o(R, "click", De(w, ee)), n.paginationKeyboard && o(R, "keydown", De(M, ee)), $e(k, Vt, "presentation"), $e(R, Vt, "tab"), $e(R, ar, D.join(" ")), $e(R, St, po(N, ee + 1)), $e(R, Pn, -1), m.push({
1347
1347
  li: k,
1348
1348
  button: R,
1349
1349
  page: ee
1350
1350
  });
1351
1351
  }
1352
1352
  }
1353
- function S(C) {
1353
+ function w(C) {
1354
1354
  v(">" + C, !0);
1355
1355
  }
1356
1356
  function M(C, P) {
@@ -1366,7 +1366,7 @@ function Cl(e, t, n) {
1366
1366
  return m[u.toPage(C)];
1367
1367
  }
1368
1368
  function O() {
1369
- var C = T(w(!0)), P = T(w());
1369
+ var C = T(S(!0)), P = T(S());
1370
1370
  if (C) {
1371
1371
  var _ = C.button;
1372
1372
  zt(_, hn), Wt(_, ti), $e(_, Pn, -1);
@@ -1389,7 +1389,7 @@ function Cl(e, t, n) {
1389
1389
  };
1390
1390
  }
1391
1391
  var $l = [" ", "Enter"];
1392
- function wl(e, t, n) {
1392
+ function Sl(e, t, n) {
1393
1393
  var r = n.isNavigation, i = n.slideFocus, s = [];
1394
1394
  function o() {
1395
1395
  e.splides.forEach(function(p) {
@@ -1412,9 +1412,9 @@ function wl(e, t, n) {
1412
1412
  }
1413
1413
  function d() {
1414
1414
  var p = qe(e), m = p.on;
1415
- m(Lo, v), m(ua, h), m([ln, it], w), s.push(p), p.emit(Eo, e.splides);
1415
+ m(Lo, v), m(ua, h), m([ln, it], S), s.push(p), p.emit(Eo, e.splides);
1416
1416
  }
1417
- function w() {
1417
+ function S() {
1418
1418
  $e(t.Elements.list, Wo, n.direction === Br ? "vertical" : "");
1419
1419
  }
1420
1420
  function v(p) {
@@ -1432,15 +1432,15 @@ function wl(e, t, n) {
1432
1432
  remount: a
1433
1433
  };
1434
1434
  }
1435
- function Sl(e, t, n) {
1435
+ function wl(e, t, n) {
1436
1436
  var r = qe(e), i = r.bind, s = 0;
1437
1437
  function o() {
1438
- n.wheel && i(t.Elements.track, "wheel", c, wn);
1438
+ n.wheel && i(t.Elements.track, "wheel", c, Sn);
1439
1439
  }
1440
1440
  function c(u) {
1441
1441
  if (u.cancelable) {
1442
- var d = u.deltaY, w = d < 0, v = co(u), h = n.wheelMinThreshold || 0, p = n.wheelSleep || 0;
1443
- ct(d) > h && v - s > p && (e.go(w ? "<" : ">"), s = v), a(w) && Bt(u);
1442
+ var d = u.deltaY, S = d < 0, v = co(u), h = n.wheelMinThreshold || 0, p = n.wheelSleep || 0;
1443
+ ct(d) > h && v - s > p && (e.go(S ? "<" : ">"), s = v), a(S) && Bt(u);
1444
1444
  }
1445
1445
  }
1446
1446
  function a(u) {
@@ -1459,7 +1459,7 @@ function Ll(e, t, n) {
1459
1459
  function d(h) {
1460
1460
  $e(s, ri, h), h ? (rr(s, c), a.start()) : (gn(c), a.cancel());
1461
1461
  }
1462
- function w() {
1462
+ function S() {
1463
1463
  Wt(s, [ni, oi, ri]), gn(c);
1464
1464
  }
1465
1465
  function v(h) {
@@ -1468,7 +1468,7 @@ function Ll(e, t, n) {
1468
1468
  return {
1469
1469
  mount: u,
1470
1470
  disable: v,
1471
- destroy: w
1471
+ destroy: S
1472
1472
  };
1473
1473
  }
1474
1474
  var Pl = /* @__PURE__ */ Object.freeze({
@@ -1489,8 +1489,8 @@ var Pl = /* @__PURE__ */ Object.freeze({
1489
1489
  Keyboard: vl,
1490
1490
  LazyLoad: xl,
1491
1491
  Pagination: Cl,
1492
- Sync: wl,
1493
- Wheel: Sl,
1492
+ Sync: Sl,
1493
+ Wheel: wl,
1494
1494
  Live: Ll
1495
1495
  }), El = {
1496
1496
  prev: "Previous slide",
@@ -1555,14 +1555,14 @@ function Il(e, t, n) {
1555
1555
  var r = t.Move, i = t.Controller, s = t.Scroll, o = t.Elements.list, c = De(_t, o, "transition"), a;
1556
1556
  function u() {
1557
1557
  qe(e).bind(o, "transitionend", function(h) {
1558
- h.target === o && a && (w(), a());
1558
+ h.target === o && a && (S(), a());
1559
1559
  });
1560
1560
  }
1561
1561
  function d(h, p) {
1562
1562
  var m = r.toPosition(h, !0), b = r.getPosition(), $ = v(h);
1563
1563
  ct(m - b) >= 1 && $ >= 1 ? n.useScroll ? s.scroll(m, $, !1, p) : (c("transform " + $ + "ms " + n.easing), r.translate(m, !0), a = p) : (r.jump(h), p());
1564
1564
  }
1565
- function w() {
1565
+ function S() {
1566
1566
  c(""), s.cancel();
1567
1567
  }
1568
1568
  function v(h) {
@@ -1577,7 +1577,7 @@ function Il(e, t, n) {
1577
1577
  return {
1578
1578
  mount: u,
1579
1579
  start: d,
1580
- cancel: w
1580
+ cancel: S
1581
1581
  };
1582
1582
  }
1583
1583
  var kl = /* @__PURE__ */ (function() {
@@ -1585,11 +1585,11 @@ var kl = /* @__PURE__ */ (function() {
1585
1585
  this.event = qe(), this.Components = {}, this.state = Ws(Tn), this.splides = [], this._o = {}, this._E = {};
1586
1586
  var i = nn(n) ? Xi(document, n) : n;
1587
1587
  Bn(i, i + " is invalid."), this.root = i, r = tn({
1588
- label: At(i, wt) || "",
1588
+ label: At(i, St) || "",
1589
1589
  labelledby: At(i, ko) || ""
1590
1590
  }, _l, e.defaults, r || {});
1591
1591
  try {
1592
- tn(r, JSON.parse(At(i, So)));
1592
+ tn(r, JSON.parse(At(i, wo)));
1593
1593
  } catch {
1594
1594
  Bn(!1, "Invalid JSON");
1595
1595
  }
@@ -1603,8 +1603,8 @@ var kl = /* @__PURE__ */ (function() {
1603
1603
  Transition: this._T
1604
1604
  });
1605
1605
  return mn(a, function(u, d) {
1606
- var w = u(s, c, s._o);
1607
- c[d] = w, w.setup && w.setup();
1606
+ var S = u(s, c, s._o);
1607
+ c[d] = S, S.setup && S.setup();
1608
1608
  }), mn(c, function(u) {
1609
1609
  u.mount && u.mount();
1610
1610
  }), this.emit(ln), kt(this.root, js), o.set(En), this.emit(mo), this;
@@ -1802,7 +1802,7 @@ const Ml = "RichTextRenderer-module__link___BWeZ2", Nl = {
1802
1802
  const t = e.trim();
1803
1803
  return !t || t.startsWith('"') && t.endsWith('"') || t.startsWith("'") && t.endsWith("'") ? !1 : t.split(/\s+/g).filter(Boolean).some((r) => /^\d/.test(r));
1804
1804
  }, qr = (e) => e && e.split(",").map((n) => n.trim()).filter(Boolean).map((n) => Hl(n) ? `"${n.replace(/"/g, '\\"')}"` : n).join(", ");
1805
- function St(e) {
1805
+ function wt(e) {
1806
1806
  const { color: t, ...n } = e;
1807
1807
  return n;
1808
1808
  }
@@ -1883,7 +1883,7 @@ const Bl = "SvgImage-module__svg___q3xE-", Dl = "SvgImage-module__img___VsTm-",
1883
1883
  "bottom-right": ue.bottomRightAlignment
1884
1884
  };
1885
1885
  function jl({ settings: e, content: t, styles: n, isEditor: r }) {
1886
- const [i, s] = de(null), { widthSettings: o, fontSettings: c, letterSpacing: a, textAlign: u, wordSpacing: d, fontSizeLineHeight: w, textAppearance: v, color: h } = n.imageCaption ?? {}, [p, m] = de(void 0), [b, $] = de(null), [x, f] = de(0), [F, S] = de(0), { direction: M, transition: y, controls: T, pagination: O, imageCaption: C, triggers: P } = e, _ = Te(y.type), { x: W, y: V } = e.controls.offset, ee = (k) => {
1886
+ const [i, s] = de(null), { widthSettings: o, fontSettings: c, letterSpacing: a, textAlign: u, wordSpacing: d, fontSizeLineHeight: S, textAppearance: v, color: h } = n.imageCaption ?? {}, [p, m] = de(void 0), [b, $] = de(null), [x, f] = de(0), [F, w] = de(0), { direction: M, transition: y, controls: T, pagination: O, imageCaption: C, triggers: P } = e, _ = Te(y.type), { x: W, y: V } = e.controls.offset, ee = (k) => {
1887
1887
  i && i.go(k);
1888
1888
  };
1889
1889
  return Ae(() => {
@@ -1898,7 +1898,7 @@ function jl({ settings: e, content: t, styles: n, isEditor: r }) {
1898
1898
  });
1899
1899
  return k.observe(b), () => k.unobserve(b);
1900
1900
  }, [b]), Ae(() => {
1901
- !i || _.current === y.type || (S((k) => k + 1), _.current = y.type);
1901
+ !i || _.current === y.type || (w((k) => k + 1), _.current = y.type);
1902
1902
  }, [y.type]), /* @__PURE__ */ l("div", { className: Fe(ue.wrapper, { [ue.editor]: r }), ref: $, children: /* @__PURE__ */ re(
1903
1903
  "div",
1904
1904
  {
@@ -1932,8 +1932,8 @@ function jl({ settings: e, content: t, styles: n, isEditor: r }) {
1932
1932
  letterSpacing: L(a, r),
1933
1933
  wordSpacing: L(d, r),
1934
1934
  textAlign: u,
1935
- fontSize: L(w.fontSize, r),
1936
- lineHeight: L(w.lineHeight, r),
1935
+ fontSize: L(S.fontSize, r),
1936
+ lineHeight: L(S.lineHeight, r),
1937
1937
  textTransform: v.textTransform ?? "none",
1938
1938
  textDecoration: v.textDecoration ?? "none",
1939
1939
  fontVariant: v.fontVariant ?? "normal",
@@ -2803,12 +2803,12 @@ async function Ql(e, t, n, r) {
2803
2803
  return { width: i, height: s, finalWidth: `${i}px` };
2804
2804
  }
2805
2805
  function Zl({ settings: e, content: t, isEditor: n }) {
2806
- const [r, i] = de(null), [s, o] = de([]), [c, a] = de(0), u = Te(0), [d, w] = de({ x: 0, y: 0 }), [v, h] = de(1), [p, m] = de("none"), b = Te({ x: 0, y: 0 }), [$, x] = de(!1), { sizeType: f, imageWidth: F, randomRangeImageWidth: S } = e.imageSize, { revealPosition: M, visible: y } = e.position, { cursorType: T, target: O, defaultCursorScale: C, defaultCursor: P, hoverCursorScale: _, hoverCursor: W } = e.cursor;
2806
+ const [r, i] = de(null), [s, o] = de([]), [c, a] = de(0), u = Te(0), [d, S] = de({ x: 0, y: 0 }), [v, h] = de(1), [p, m] = de("none"), b = Te({ x: 0, y: 0 }), [$, x] = de(!1), { sizeType: f, imageWidth: F, randomRangeImageWidth: w } = e.imageSize, { revealPosition: M, visible: y } = e.position, { cursorType: T, target: O, defaultCursorScale: C, defaultCursor: P, hoverCursorScale: _, hoverCursor: W } = e.cursor;
2807
2807
  Ae(() => {
2808
2808
  if (!r) return;
2809
2809
  const k = (N, A) => {
2810
2810
  const j = r.getBoundingClientRect(), X = N - j.left, Q = A - j.top;
2811
- if (w({ x: X, y: Q }), T === "system") {
2811
+ if (S({ x: X, y: Q }), T === "system") {
2812
2812
  m("none"), h(1);
2813
2813
  return;
2814
2814
  }
@@ -2846,7 +2846,7 @@ function Zl({ settings: e, content: t, isEditor: n }) {
2846
2846
  k.image.url,
2847
2847
  f,
2848
2848
  F,
2849
- S
2849
+ w
2850
2850
  );
2851
2851
  let Q = 0, I = 0;
2852
2852
  M === "same" ? (Q = R / 2, I = D / 2) : (Q = N.x ?? Math.random() * R, I = N.y ?? Math.random() * D);
@@ -2868,7 +2868,7 @@ function Zl({ settings: e, content: t, isEditor: n }) {
2868
2868
  const j = t[0], X = await V(j, R, D);
2869
2869
  N.push(X), o(N), a(1);
2870
2870
  })();
2871
- }, [f, F, S, M, r]), Ae(() => {
2871
+ }, [f, F, w, M, r]), Ae(() => {
2872
2872
  y === "last One" && o((k) => k.length > 0 ? [k[k.length - 1]] : []);
2873
2873
  }, [y]), /* @__PURE__ */ re(
2874
2874
  "div",
@@ -3265,7 +3265,7 @@ const Jl = {
3265
3265
  }
3266
3266
  }
3267
3267
  }
3268
- }, ec = "LightBox-module__hidden___9s-9x", tc = "LightBox-module__heroImage___sTxNF", nc = "LightBox-module__background___rm9ml", rc = "LightBox-module__editor___4ACaY", oc = "LightBox-module__contentStyle___Bgnsq", ic = "LightBox-module__imageStyle___tLIlB", ac = "LightBox-module__imgWrapper___LuFUp", sc = "LightBox-module__contain___8-yaS", lc = "LightBox-module__cover___hNvOG", cc = "LightBox-module__caption___b6L2I", dc = "LightBox-module__captionTextInner___rCGNH", uc = "LightBox-module__lightboxSplide___XFuWC", pc = "LightBox-module__arrow___iz38X", mc = "LightBox-module__arrowVertical___Zfz81", gc = "LightBox-module__nextArrow___zkAQN", hc = "LightBox-module__arrowInner___p48sW", fc = "LightBox-module__arrowIcon___3VaFf", yc = "LightBox-module__arrowImg___pNV88", vc = "LightBox-module__mirror___pjeXc", bc = "LightBox-module__thumbsWrapper___GB-nU", xc = "LightBox-module__thumbsContainerVertical___wttk5", Cc = "LightBox-module__thumbsContainer___osSma", $c = "LightBox-module__thumbsAlignStart___MO6tY", wc = "LightBox-module__thumbsAlignCenter___Q4sUx", Sc = "LightBox-module__thumbsAlignEnd___p4y9R", Tc = "LightBox-module__thumbItem___HvnF3", Lc = "LightBox-module__closeButton___g2khP", Pc = "LightBox-module__fadeIn___0m5GW", Ec = "LightBox-module__slideInLeft___gPYwC", _c = "LightBox-module__slideInRight___S-pPp", Ac = "LightBox-module__slideInTop___DFdAj", Ic = "LightBox-module__slideInBottom___m27kZ", kc = "LightBox-module__fadeOut___55qBR", Wc = "LightBox-module__slideOutLeft___NvU7P", Rc = "LightBox-module__slideOutRight___SK7eC", Fc = "LightBox-module__slideOutTop___Vgg0z", Mc = "LightBox-module__slideOutBottom___nJ0Ef", Nc = "LightBox-module__scaleSlide___vZriG", Z = {
3268
+ }, ec = "LightBox-module__hidden___9s-9x", tc = "LightBox-module__heroImage___sTxNF", nc = "LightBox-module__background___rm9ml", rc = "LightBox-module__editor___4ACaY", oc = "LightBox-module__contentStyle___Bgnsq", ic = "LightBox-module__imageStyle___tLIlB", ac = "LightBox-module__imgWrapper___LuFUp", sc = "LightBox-module__contain___8-yaS", lc = "LightBox-module__cover___hNvOG", cc = "LightBox-module__caption___b6L2I", dc = "LightBox-module__captionTextInner___rCGNH", uc = "LightBox-module__lightboxSplide___XFuWC", pc = "LightBox-module__arrow___iz38X", mc = "LightBox-module__arrowVertical___Zfz81", gc = "LightBox-module__nextArrow___zkAQN", hc = "LightBox-module__arrowInner___p48sW", fc = "LightBox-module__arrowIcon___3VaFf", yc = "LightBox-module__arrowImg___pNV88", vc = "LightBox-module__mirror___pjeXc", bc = "LightBox-module__thumbsWrapper___GB-nU", xc = "LightBox-module__thumbsContainerVertical___wttk5", Cc = "LightBox-module__thumbsContainer___osSma", $c = "LightBox-module__thumbsAlignStart___MO6tY", Sc = "LightBox-module__thumbsAlignCenter___Q4sUx", wc = "LightBox-module__thumbsAlignEnd___p4y9R", Tc = "LightBox-module__thumbItem___HvnF3", Lc = "LightBox-module__closeButton___g2khP", Pc = "LightBox-module__fadeIn___0m5GW", Ec = "LightBox-module__slideInLeft___gPYwC", _c = "LightBox-module__slideInRight___S-pPp", Ac = "LightBox-module__slideInTop___DFdAj", Ic = "LightBox-module__slideInBottom___m27kZ", kc = "LightBox-module__fadeOut___55qBR", Wc = "LightBox-module__slideOutLeft___NvU7P", Rc = "LightBox-module__slideOutRight___SK7eC", Fc = "LightBox-module__slideOutTop___Vgg0z", Mc = "LightBox-module__slideOutBottom___nJ0Ef", Nc = "LightBox-module__scaleSlide___vZriG", Z = {
3269
3269
  hidden: ec,
3270
3270
  heroImage: tc,
3271
3271
  background: nc,
@@ -3289,8 +3289,8 @@ const Jl = {
3289
3289
  thumbsContainerVertical: xc,
3290
3290
  thumbsContainer: Cc,
3291
3291
  thumbsAlignStart: $c,
3292
- thumbsAlignCenter: wc,
3293
- thumbsAlignEnd: Sc,
3292
+ thumbsAlignCenter: Sc,
3293
+ thumbsAlignEnd: wc,
3294
3294
  thumbItem: Tc,
3295
3295
  closeButton: Lc,
3296
3296
  fadeIn: Pc,
@@ -3321,7 +3321,7 @@ function pi(e) {
3321
3321
  const t = e.getBoundingClientRect(), n = La(e), r = Math.max(0, t.width - n.left - n.right), i = Math.max(0, t.height - n.top - n.bottom), s = e.naturalWidth, o = e.naturalHeight, c = r / i, a = s / o;
3322
3322
  let u, d;
3323
3323
  a > c ? (u = r, d = r / a) : (d = i, u = i * a);
3324
- const w = t.left + n.left, v = t.top + n.top, h = (r - u) / 2 + w, p = (i - d) / 2 + v;
3324
+ const S = t.left + n.left, v = t.top + n.top, h = (r - u) / 2 + S, p = (i - d) / 2 + v;
3325
3325
  return {
3326
3326
  x: h,
3327
3327
  y: p,
@@ -3448,7 +3448,7 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3448
3448
  ] });
3449
3449
  }, Bc = ({ isOpen: e, onClose: t, content: n, lightboxStyles: r, settings: i, portalId: s, isEditor: o, metadata: c }) => {
3450
3450
  var Ie;
3451
- const { widthSettings: a, fontSettings: u, letterSpacing: d, textAlign: w, wordSpacing: v, fontSizeLineHeight: h, textAppearance: p, color: m } = r.imageCaption ?? {}, [b, $] = de(0), [x, f] = de(0), [F, S] = de(!1), [M, y] = de(!1), [T, O] = de({}), C = Te(null), P = Te(null), _ = Te(null), W = Te(!1), V = Te(null), ee = Te(null), k = Te(null), R = Te(null), D = Te(!1), N = Te(null), [A, j] = de(!1), { appear: X, triggers: Q, slider: I, thumbnail: te, controls: g, area: J, caption: he, layout: le } = i.lightboxBlock, { appearClass: xe, backdropAppearClass: ne, backdropDisappearClass: ce, disappearClass: B } = Hc(X.type, X.direction), K = (c == null ? void 0 : c.itemId) ?? null;
3451
+ const { widthSettings: a, fontSettings: u, letterSpacing: d, textAlign: S, wordSpacing: v, fontSizeLineHeight: h, textAppearance: p, color: m } = r.imageCaption ?? {}, [b, $] = de(0), [x, f] = de(0), [F, w] = de(!1), [M, y] = de(!1), [T, O] = de({}), C = Te(null), P = Te(null), _ = Te(null), W = Te(!1), V = Te(null), ee = Te(null), k = Te(null), R = Te(null), D = Te(!1), N = Te(null), [A, j] = de(!1), { appear: X, triggers: Q, slider: I, thumbnail: te, controls: g, area: J, caption: he, layout: le } = i.lightboxBlock, { appearClass: xe, backdropAppearClass: ne, backdropDisappearClass: ce, disappearClass: B } = Hc(X.type, X.direction), K = (c == null ? void 0 : c.itemId) ?? null;
3452
3452
  Ae(() => {
3453
3453
  const H = () => {
3454
3454
  setTimeout(() => {
@@ -3477,9 +3477,9 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3477
3477
  }, [e, te.isActive, n.length, T, I.direction]);
3478
3478
  const U = ft(() => {
3479
3479
  const H = window.matchMedia("(max-width: 768px)").matches, oe = gi(J.color);
3480
- H && !o && oe > 0.9 && (document.body.style.backgroundColor = ""), S(!0), W.current = !0;
3480
+ H && !o && oe > 0.9 && (document.body.style.backgroundColor = ""), w(!0), W.current = !0;
3481
3481
  const E = (z) => {
3482
- z.target === V.current && z.animationName && (V.current && ee.current && V.current.removeEventListener("animationend", ee.current), ee.current = null, W.current && (W.current = !1, t()), S(!1));
3482
+ z.target === V.current && z.animationName && (V.current && ee.current && V.current.removeEventListener("animationend", ee.current), ee.current = null, W.current && (W.current = !1, t()), w(!1));
3483
3483
  };
3484
3484
  V.current && (ee.current = E, V.current.addEventListener("animationend", E));
3485
3485
  }, [t, J.color, o]), se = (H, oe, E) => {
@@ -3542,7 +3542,7 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3542
3542
  };
3543
3543
  }, [e, U, n.length]), Ae(() => {
3544
3544
  if (e) {
3545
- if ($(0), f((oe) => oe + 1), W.current = !1, S(!1), y(!1), O({}), !K) return;
3545
+ if ($(0), f((oe) => oe + 1), W.current = !1, w(!1), y(!1), O({}), !K) return;
3546
3546
  const H = new CustomEvent("page-overlay", { detail: { itemId: K } });
3547
3547
  window.dispatchEvent(H);
3548
3548
  }
@@ -3610,10 +3610,10 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3610
3610
  document.removeEventListener("touchend", H);
3611
3611
  };
3612
3612
  }, [e, U, b, n]);
3613
- const we = (I.type === "scale" || I.type === "fade") && I.direction === "vert" && Q.type === "drag";
3613
+ const Se = (I.type === "scale" || I.type === "fade") && I.direction === "vert" && Q.type === "drag";
3614
3614
  Ae(() => {
3615
3615
  var be, Oe;
3616
- if (!e || !we || !((Oe = (be = C.current) == null ? void 0 : be.splide) != null && Oe.root)) return;
3616
+ if (!e || !Se || !((Oe = (be = C.current) == null ? void 0 : be.splide) != null && Oe.root)) return;
3617
3617
  const H = C.current.splide.root, oe = 30, E = (ie, Ce) => {
3618
3618
  if (R.current) {
3619
3619
  const We = Math.abs(ie - R.current.x), Me = Math.abs(Ce - R.current.y);
@@ -3648,7 +3648,7 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3648
3648
  return H.addEventListener("pointerdown", Ne), H.addEventListener("touchstart", fe), () => {
3649
3649
  H.removeEventListener("pointerdown", Ne), H.removeEventListener("touchstart", fe), document.removeEventListener("pointermove", z), document.removeEventListener("pointerup", ae), document.removeEventListener("pointercancel", ae), document.removeEventListener("touchmove", q), document.removeEventListener("touchend", ge), document.removeEventListener("touchcancel", ge), R.current = null, D.current = !1;
3650
3650
  };
3651
- }, [e, we, x]);
3651
+ }, [e, Se, x]);
3652
3652
  const Ee = {
3653
3653
  backgroundColor: J.color,
3654
3654
  backdropFilter: `blur(${J.blur}px)`,
@@ -3692,7 +3692,7 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3692
3692
  direction: I.direction === "horiz" || I.type === "fade" || I.type === "scale" ? "ltr" : "ttb",
3693
3693
  pagination: !1,
3694
3694
  // Disable Splide's drag when we need custom vertical drag handling
3695
- drag: Q.type === "drag" && !we,
3695
+ drag: Q.type === "drag" && !Se,
3696
3696
  perPage: 1,
3697
3697
  width: "100%",
3698
3698
  height: "100%",
@@ -3811,7 +3811,7 @@ const Oc = ({ settings: e, content: t, styles: n, portalId: r, activeEvent: i, i
3811
3811
  width: a.sizing === "auto" ? "max-content" : L(a.width, o),
3812
3812
  letterSpacing: L(d, o),
3813
3813
  wordSpacing: L(v, o),
3814
- textAlign: w,
3814
+ textAlign: S,
3815
3815
  fontSize: L(h.fontSize, o),
3816
3816
  lineHeight: L(h.lineHeight, o),
3817
3817
  textTransform: p.textTransform ?? "none",
@@ -5202,7 +5202,7 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5202
5202
  const o = !!n, c = r && t || !t, { prefix: a } = an(), {
5203
5203
  type: u = "A",
5204
5204
  fieldsToShow: d = 2,
5205
- fields: w = [],
5205
+ fields: S = [],
5206
5206
  buttonLabel: v,
5207
5207
  gap: h,
5208
5208
  fieldsGap: p,
@@ -5212,7 +5212,7 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5212
5212
  isButtonFullWidth: x,
5213
5213
  inputCorners: f,
5214
5214
  inputStroke: F,
5215
- inputPadding: S,
5215
+ inputPadding: w,
5216
5216
  inputColor: M,
5217
5217
  inputTextColor: y,
5218
5218
  inputBorderColor: T,
@@ -5246,12 +5246,12 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5246
5246
  statusFontSize: se,
5247
5247
  statusLineHeight: ve,
5248
5248
  statusLetterSpacing: Pe,
5249
- statusWordSpacing: we,
5249
+ statusWordSpacing: Se,
5250
5250
  statusTextAppearance: Ee,
5251
5251
  successMessage: Ie,
5252
5252
  errorMessage: H,
5253
5253
  stateOverrides: oe
5254
- } = e, E = u === "B", z = w.slice(0, Math.min(d, w.length)), q = {
5254
+ } = e, E = u === "B", z = S.slice(0, Math.min(d, S.length)), q = {
5255
5255
  fontSettings: {
5256
5256
  fontFamily: k,
5257
5257
  fontWeight: (R == null ? void 0 : R.fontWeight) ?? 400,
@@ -5263,8 +5263,8 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5263
5263
  wordSpacing: j ?? 0,
5264
5264
  textAppearance: X,
5265
5265
  color: y
5266
- }, G = St(rt(q, t)), ae = L(F ?? 0, t), ge = L(
5267
- (N ?? D ?? 0.01) + ((S == null ? void 0 : S.top) ?? 0) + ((S == null ? void 0 : S.bottom) ?? 0) + (u === "C" ? F ?? 0 : (F ?? 0) * 2),
5266
+ }, G = wt(rt(q, t)), ae = L(F ?? 0, t), ge = L(
5267
+ (N ?? D ?? 0.01) + ((w == null ? void 0 : w.top) ?? 0) + ((w == null ? void 0 : w.bottom) ?? 0) + (u === "C" ? F ?? 0 : (F ?? 0) * 2),
5268
5268
  t
5269
5269
  ), Ne = {
5270
5270
  ...G,
@@ -5276,10 +5276,10 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5276
5276
  borderBottomWidth: ae,
5277
5277
  borderLeftWidth: 0
5278
5278
  } : { borderWidth: ae },
5279
- paddingTop: L((S == null ? void 0 : S.top) ?? 0, t),
5280
- paddingRight: L((S == null ? void 0 : S.right) ?? 0, t),
5281
- paddingBottom: L((S == null ? void 0 : S.bottom) ?? 0, t),
5282
- paddingLeft: L((S == null ? void 0 : S.left) ?? 0, t),
5279
+ paddingTop: L((w == null ? void 0 : w.top) ?? 0, t),
5280
+ paddingRight: L((w == null ? void 0 : w.right) ?? 0, t),
5281
+ paddingBottom: L((w == null ? void 0 : w.bottom) ?? 0, t),
5282
+ paddingLeft: L((w == null ? void 0 : w.left) ?? 0, t),
5283
5283
  height: ge,
5284
5284
  minHeight: ge
5285
5285
  }, fe = {
@@ -5294,7 +5294,7 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5294
5294
  wordSpacing: J ?? 0,
5295
5295
  textAppearance: he,
5296
5296
  color: P
5297
- }, be = St(rt(fe, t)), Oe = L(b ?? 0, t), ie = {
5297
+ }, be = wt(rt(fe, t)), Oe = L(b ?? 0, t), ie = {
5298
5298
  fontSettings: {
5299
5299
  fontFamily: k,
5300
5300
  fontWeight: (le == null ? void 0 : le.fontWeight) ?? 400,
@@ -5315,10 +5315,10 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5315
5315
  fontSize: se ?? 0.01,
5316
5316
  lineHeight: ve,
5317
5317
  letterSpacing: Pe ?? 0,
5318
- wordSpacing: we ?? 0,
5318
+ wordSpacing: Se ?? 0,
5319
5319
  textAppearance: Ee,
5320
5320
  color: V
5321
- }, Me = St(rt(We, t)), je = Jn(a, {
5321
+ }, Me = wt(rt(We, t)), je = Jn(a, {
5322
5322
  inputColor: M,
5323
5323
  inputTextColor: y,
5324
5324
  inputBorderColor: T,
@@ -5330,17 +5330,17 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5330
5330
  successColor: V,
5331
5331
  errorColor: ee
5332
5332
  }, qc, jc, oe), [at, vt] = de(
5333
- () => Object.fromEntries(z.map((Se) => [Se.name, ""]))
5333
+ () => Object.fromEntries(z.map((we) => [we.name, ""]))
5334
5334
  ), [bt, Pt] = de("idle"), [Ft, xt] = de(null), Mt = s === "success" ? "success" : s === "error" ? "error" : bt, me = s === "error" ? H : Ft, ze = s === "filled", Ve = He(() => {
5335
5335
  if (!ze) return at;
5336
- let Se = null;
5336
+ let we = null;
5337
5337
  for (const nt of z)
5338
- (at[nt.name] ?? "").trim().length > 0 || (Se = Se ?? { ...at }, Se[nt.name] = "Filled");
5339
- return Se ?? at;
5340
- }, [at, ze, z]), Ze = Mt === "error" ? Lr(z, Ve) : null, Gt = `${s && s !== "default" ? `${a}-state-${s}` : ""}`.trim(), Ct = i == null ? void 0 : i.submitUrl, Nt = (Se, nt) => {
5341
- vt((Qe) => ({ ...Qe, [Se]: nt }));
5342
- }, On = async (Se) => {
5343
- if (Se.preventDefault(), !c) return;
5338
+ (at[nt.name] ?? "").trim().length > 0 || (we = we ?? { ...at }, we[nt.name] = "Filled");
5339
+ return we ?? at;
5340
+ }, [at, ze, z]), Ze = Mt === "error" ? Lr(z, Ve) : null, Gt = `${s && s !== "default" ? `${a}-state-${s}` : ""}`.trim(), Ct = i == null ? void 0 : i.submitUrl, Nt = (we, nt) => {
5341
+ vt((Qe) => ({ ...Qe, [we]: nt }));
5342
+ }, On = async (we) => {
5343
+ if (we.preventDefault(), !c) return;
5344
5344
  const nt = Object.fromEntries(
5345
5345
  z.map((Ke) => {
5346
5346
  var dt;
@@ -5381,7 +5381,7 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5381
5381
  onSubmit: On,
5382
5382
  className: `${a}-form`,
5383
5383
  children: [
5384
- /* @__PURE__ */ l("div", { className: `${a}-fields`, children: z.map((Se, nt) => /* @__PURE__ */ re(en.Fragment, { children: [
5384
+ /* @__PURE__ */ l("div", { className: `${a}-fields`, children: z.map((we, nt) => /* @__PURE__ */ re(en.Fragment, { children: [
5385
5385
  nt > 0 && /* @__PURE__ */ l(
5386
5386
  "div",
5387
5387
  {
@@ -5391,34 +5391,34 @@ function Vc({ settings: e, isEditor: t, isEditMode: n, isPreviewMode: r, metadat
5391
5391
  }
5392
5392
  ),
5393
5393
  /* @__PURE__ */ re("div", { className: `${a}-field-group${E ? ` ${a}-labeled` : ""}`, children: [
5394
- E && /* @__PURE__ */ l("span", { className: `${a}-field-label`, style: Ce ? { ...Ce, lineHeight: Ce.fontSize } : void 0, children: Se.label || Se.name }),
5395
- Se.type === "textarea" ? /* @__PURE__ */ l(
5394
+ E && /* @__PURE__ */ l("span", { className: `${a}-field-label`, style: Ce ? { ...Ce, lineHeight: Ce.fontSize } : void 0, children: we.label || we.name }),
5395
+ we.type === "textarea" ? /* @__PURE__ */ l(
5396
5396
  "textarea",
5397
5397
  {
5398
- name: Se.name,
5398
+ name: we.name,
5399
5399
  autoComplete: "off",
5400
- value: Ve[Se.name] ?? "",
5401
- onChange: (Qe) => Nt(Se.name, Qe.target.value),
5402
- placeholder: Se.placeholder,
5400
+ value: Ve[we.name] ?? "",
5401
+ onChange: (Qe) => Nt(we.name, Qe.target.value),
5402
+ placeholder: we.placeholder,
5403
5403
  className: `${a}-input`,
5404
5404
  style: Ne,
5405
5405
  rows: 1,
5406
- "data-filled": ze || (Ve[Se.name] ?? "").trim().length > 0,
5406
+ "data-filled": ze || (Ve[we.name] ?? "").trim().length > 0,
5407
5407
  "data-field-type": "textarea"
5408
5408
  }
5409
5409
  ) : /* @__PURE__ */ l(
5410
5410
  "input",
5411
5411
  {
5412
- type: Se.type === "phone" ? "tel" : Se.type === "email" ? "email" : "text",
5413
- name: Se.name,
5412
+ type: we.type === "phone" ? "tel" : we.type === "email" ? "email" : "text",
5413
+ name: we.name,
5414
5414
  autoComplete: "off",
5415
- value: Ve[Se.name] ?? "",
5416
- onChange: (Qe) => Nt(Se.name, Qe.target.value),
5417
- placeholder: Se.placeholder,
5418
- required: Se.isRequired ?? Se.type === "email",
5415
+ value: Ve[we.name] ?? "",
5416
+ onChange: (Qe) => Nt(we.name, Qe.target.value),
5417
+ placeholder: we.placeholder,
5418
+ required: we.isRequired ?? we.type === "email",
5419
5419
  className: `${a}-input`,
5420
5420
  style: Ne,
5421
- "data-filled": ze || (Ve[Se.name] ?? "").trim().length > 0
5421
+ "data-filled": ze || (Ve[we.name] ?? "").trim().length > 0
5422
5422
  }
5423
5423
  )
5424
5424
  ] })
@@ -6977,7 +6977,7 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
6977
6977
  buttonIcon: a,
6978
6978
  buttonLabel: u,
6979
6979
  fieldsToShow: d = 1,
6980
- fontFamily: w,
6980
+ fontFamily: S,
6981
6981
  inputFontSettings: v,
6982
6982
  inputFontSize: h,
6983
6983
  inputLineHeight: p,
@@ -6987,7 +6987,7 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
6987
6987
  buttonFontSettings: x,
6988
6988
  buttonFontSize: f,
6989
6989
  buttonLineHeight: F,
6990
- buttonLetterSpacing: S,
6990
+ buttonLetterSpacing: w,
6991
6991
  buttonWordSpacing: M,
6992
6992
  buttonTextAppearance: y,
6993
6993
  statusFontSettings: T,
@@ -7013,9 +7013,9 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
7013
7013
  for (const Ce of Q)
7014
7014
  (I[Ce.name] ?? "").trim().length > 0 || (ie = ie ?? { ...I }, ie[Ce.name] = "Filled");
7015
7015
  return ie ?? I;
7016
- }, [ce, I, Q]), K = xe === "error" ? Lr(Q, B) : null, U = i && i !== "default" ? `${s}-state-${i}` : "", se = Q.some((ie) => (B[ie.name] ?? "").trim().length > 0), ve = U !== `${s}-state-filled` && se ? `${s}-state-filled` : "", Pe = `${U} ${ve}`.trim(), we = r == null ? void 0 : r.submitUrl, Ee = u ?? "", Ie = (a == null ? void 0 : a.icon) ?? "", H = (a == null ? void 0 : a.mode) === "On", oe = Ee || "Submit", E = {
7016
+ }, [ce, I, Q]), K = xe === "error" ? Lr(Q, B) : null, U = i && i !== "default" ? `${s}-state-${i}` : "", se = Q.some((ie) => (B[ie.name] ?? "").trim().length > 0), ve = U !== `${s}-state-filled` && se ? `${s}-state-filled` : "", Pe = `${U} ${ve}`.trim(), Se = r == null ? void 0 : r.submitUrl, Ee = u ?? "", Ie = (a == null ? void 0 : a.icon) ?? "", H = (a == null ? void 0 : a.mode) === "On", oe = Ee || "Submit", E = {
7017
7017
  fontSettings: {
7018
- fontFamily: w,
7018
+ fontFamily: S,
7019
7019
  fontWeight: (v == null ? void 0 : v.fontWeight) ?? 400,
7020
7020
  fontStyle: (v == null ? void 0 : v.fontStyle) ?? "normal"
7021
7021
  },
@@ -7027,19 +7027,19 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
7027
7027
  color: e.inputTextColor ?? "#111111"
7028
7028
  }, z = {
7029
7029
  fontSettings: {
7030
- fontFamily: w,
7030
+ fontFamily: S,
7031
7031
  fontWeight: (x == null ? void 0 : x.fontWeight) ?? 400,
7032
7032
  fontStyle: (x == null ? void 0 : x.fontStyle) ?? "normal"
7033
7033
  },
7034
7034
  fontSize: f ?? 0.01,
7035
7035
  lineHeight: F,
7036
- letterSpacing: S ?? 0,
7036
+ letterSpacing: w ?? 0,
7037
7037
  wordSpacing: M ?? 0,
7038
7038
  textAppearance: y,
7039
7039
  color: e.buttonTextColor ?? "#ffffff"
7040
7040
  }, q = {
7041
7041
  fontSettings: {
7042
- fontFamily: w,
7042
+ fontFamily: S,
7043
7043
  fontWeight: (T == null ? void 0 : T.fontWeight) ?? 400,
7044
7044
  fontStyle: (T == null ? void 0 : T.fontStyle) ?? "normal"
7045
7045
  },
@@ -7049,7 +7049,7 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
7049
7049
  wordSpacing: _ ?? 0,
7050
7050
  textAppearance: W,
7051
7051
  color: e.successColor ?? "#22c55e"
7052
- }, G = St(rt(E, t)), ae = St(rt(z, t)), ge = St(rt(q, t)), Ne = Jn(s, {
7052
+ }, G = wt(rt(E, t)), ae = wt(rt(z, t)), ge = wt(rt(q, t)), Ne = Jn(s, {
7053
7053
  strokeColor: e.strokeColor,
7054
7054
  inputColor: e.inputColor,
7055
7055
  placeholderColor: e.placeholderColor,
@@ -7070,7 +7070,7 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
7070
7070
  return [Me.name, ((je = I[Me.name]) == null ? void 0 : je.trim()) ?? ""];
7071
7071
  }).filter(([, Me]) => Me)
7072
7072
  );
7073
- if (!we) {
7073
+ if (!Se) {
7074
7074
  J("error"), le("No integrations were found for this form.");
7075
7075
  return;
7076
7076
  }
@@ -7082,7 +7082,7 @@ const Zc = ({ settings: e, isEditor: t, isPreviewMode: n, metadata: r, activeEve
7082
7082
  }
7083
7083
  J("submitting"), le(null);
7084
7084
  try {
7085
- const Me = await fetch(we, {
7085
+ const Me = await fetch(Se, {
7086
7086
  method: "POST",
7087
7087
  headers: { "Content-Type": "application/json" },
7088
7088
  body: JSON.stringify(Ce)
@@ -8449,10 +8449,10 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8449
8449
  const C = u.current;
8450
8450
  C != null && C.complete && (a == null || a());
8451
8451
  }, [o, (y = e.image) == null ? void 0 : y.url, a]);
8452
- const d = n.display === "Cover", w = n.ratioValue ?? "1:1", v = n.reversed ?? !1, [h, p] = w.split(":").map(Number), $ = (v ? p : h) / (v ? h : p);
8452
+ const d = n.display === "Cover", S = n.ratioValue ?? "1:1", v = n.reversed ?? !1, [h, p] = S.split(":").map(Number), $ = (v ? p : h) / (v ? h : p);
8453
8453
  let x = r, f = x / $;
8454
8454
  f > i && (f = i, x = f * $);
8455
- const F = c(x), S = c(f), M = ((T = e.image) == null ? void 0 : T.url) && /* @__PURE__ */ l(
8455
+ const F = c(x), w = c(f), M = ((T = e.image) == null ? void 0 : T.url) && /* @__PURE__ */ l(
8456
8456
  "img",
8457
8457
  {
8458
8458
  ref: u,
@@ -8495,7 +8495,7 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8495
8495
  justifyContent: "center",
8496
8496
  alignItems: "center",
8497
8497
  flexShrink: 0,
8498
- ...d ? { width: F, height: S, overflow: "hidden" } : {
8498
+ ...d ? { width: F, height: w, overflow: "hidden" } : {
8499
8499
  width: "fit-content",
8500
8500
  maxWidth: c(r),
8501
8501
  height: c(i)
@@ -8516,7 +8516,7 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8516
8516
  }
8517
8517
  );
8518
8518
  }, hd = ({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode: i }) => {
8519
- const { prefix: s } = an(), o = He(() => sd(s), [s]), { speed: c, direction: a, pauseOnHover: u, gap: d, imageMaxWidth: w, imageMaxHeight: v, imageFit: h, hoverEffect: p } = e, m = !!i, b = !n || !!r, $ = b && p !== "off" && p !== "randomize" ? `${s}-image-hover-${p}` : void 0, x = n ? !!r : !0, F = ((t == null ? void 0 : t.length) ?? 0) > 0 && (x || !!n), S = Math.max(0, c) * ld, M = (K) => L(K, n ?? !1), y = Te(null), T = Te(null), O = Te(null), [C, P] = de(0), [_, W] = de(0), V = x && u === "on", [ee, k] = de(!1), [R, D] = de({}), N = Te(R);
8519
+ const { prefix: s } = an(), o = He(() => sd(s), [s]), { speed: c, direction: a, pauseOnHover: u, gap: d, imageMaxWidth: S, imageMaxHeight: v, imageFit: h, hoverEffect: p } = e, m = !!i, b = !n || !!r, $ = b && p !== "off" && p !== "randomize" ? `${s}-image-hover-${p}` : void 0, x = n ? !!r : !0, F = ((t == null ? void 0 : t.length) ?? 0) > 0 && (x || !!n), w = Math.max(0, c) * ld, M = (K) => L(K, n ?? !1), y = Te(null), T = Te(null), O = Te(null), [C, P] = de(0), [_, W] = de(0), V = x && u === "on", [ee, k] = de(!1), [R, D] = de({}), N = Te(R);
8520
8520
  N.current = R;
8521
8521
  const A = Te(null), j = Te(0), X = Te(null), Q = He(() => (t ?? []).map((K) => {
8522
8522
  var U;
@@ -8537,29 +8537,29 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8537
8537
  if (!b || p !== "randomize") return;
8538
8538
  const K = y.current;
8539
8539
  if (!K) return;
8540
- const U = (we) => {
8540
+ const U = (Se) => {
8541
8541
  D((Ee) => {
8542
8542
  let Ie = null;
8543
- for (const H of we)
8543
+ for (const H of Se)
8544
8544
  H in Ee && (md(K, H) || (Ie || (Ie = { ...Ee }), delete Ie[H]));
8545
8545
  return Ie ?? Ee;
8546
8546
  });
8547
- }, se = new IntersectionObserver((we) => {
8547
+ }, se = new IntersectionObserver((Se) => {
8548
8548
  const Ee = /* @__PURE__ */ new Set();
8549
- for (const Ie of we) {
8549
+ for (const Ie of Se) {
8550
8550
  const H = Ie.target.dataset.marqueeItemIndex, oe = H !== void 0 ? Number(H) : NaN;
8551
8551
  Number.isNaN(oe) || Ee.add(oe);
8552
8552
  }
8553
8553
  Ee.size > 0 && U(Ee);
8554
8554
  }, { root: K, threshold: 0 });
8555
- Object.keys(R).forEach((we) => {
8556
- const Ee = Number(we);
8555
+ Object.keys(R).forEach((Se) => {
8556
+ const Ee = Number(Se);
8557
8557
  K.querySelectorAll(`[data-marquee-item-index="${Ee}"]`).forEach((Ie) => se.observe(Ie));
8558
8558
  });
8559
8559
  let ve = 0;
8560
8560
  const Pe = () => {
8561
- const we = Object.keys(N.current);
8562
- we.length !== 0 && (U(we.map(Number)), ve = requestAnimationFrame(Pe));
8561
+ const Se = Object.keys(N.current);
8562
+ Se.length !== 0 && (U(Se.map(Number)), ve = requestAnimationFrame(Pe));
8563
8563
  };
8564
8564
  return Object.keys(N.current).length > 0 && (ve = requestAnimationFrame(Pe)), () => {
8565
8565
  cancelAnimationFrame(ve), se.disconnect();
@@ -8593,16 +8593,16 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8593
8593
  cancelAnimationFrame(se), se = requestAnimationFrame(ve);
8594
8594
  };
8595
8595
  X.current = Pe, Pe();
8596
- const we = new ResizeObserver(Pe);
8597
- return we.observe(K), we.observe(U), () => {
8598
- X.current = null, cancelAnimationFrame(se), we.disconnect();
8596
+ const Se = new ResizeObserver(Pe);
8597
+ return Se.observe(K), Se.observe(U), () => {
8598
+ X.current = null, cancelAnimationFrame(se), Se.disconnect();
8599
8599
  };
8600
8600
  }, [x, F, C, Q, I]), yt(() => {
8601
8601
  const K = T.current;
8602
8602
  if (!F || !K) return;
8603
- const U = C > 0 ? C : 0, se = U > 0 && S > 0 ? U / S * 1e3 : 0, ve = `${Math.max(0, se) / 1e3}s`;
8603
+ const U = C > 0 ? C : 0, se = U > 0 && w > 0 ? U / w * 1e3 : 0, ve = `${Math.max(0, se) / 1e3}s`;
8604
8604
  K.style.setProperty("--marquee-distance", `${U}px`), K.style.setProperty("--marquee-duration", ve);
8605
- }, [x, F, S, C]), yt(() => {
8605
+ }, [x, F, w, C]), yt(() => {
8606
8606
  if (!F) {
8607
8607
  W(0);
8608
8608
  return;
@@ -8620,7 +8620,7 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8620
8620
  U();
8621
8621
  const se = new ResizeObserver(U);
8622
8622
  return se.observe(K), () => se.disconnect();
8623
- }, [F, he, g, n, d, w, v, C, h, R]);
8623
+ }, [F, he, g, n, d, S, v, C, h, R]);
8624
8624
  const le = () => {
8625
8625
  V && k(!0);
8626
8626
  }, xe = () => {
@@ -8635,11 +8635,11 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8635
8635
  D((se) => {
8636
8636
  const ve = se[K] ?? U, Pe = (t ?? []).filter((Ee) => Ee !== ve);
8637
8637
  if (Pe.length === 0) return se;
8638
- const we = Pe[Math.floor(Math.random() * Pe.length)];
8639
- return { ...se, [K]: we };
8638
+ const Se = Pe[Math.floor(Math.random() * Pe.length)];
8639
+ return { ...se, [K]: Se };
8640
8640
  });
8641
8641
  }, [t]), B = (K, U, se, ve) => {
8642
- const Pe = b && p === "randomize" && h.display === "Cover" ? R[se] ?? K : K, we = `max(${M(d)}, ${cd}px)`, Ee = `calc(-0.5 * (${we} + ${M(d)}))`;
8642
+ const Pe = b && p === "randomize" && h.display === "Cover" ? R[se] ?? K : K, Se = `max(${M(d)}, ${cd}px)`, Ee = `calc(-0.5 * (${Se} + ${M(d)}))`;
8643
8643
  return /* @__PURE__ */ re(
8644
8644
  "div",
8645
8645
  {
@@ -8653,7 +8653,7 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8653
8653
  item: Pe,
8654
8654
  prefix: s,
8655
8655
  imageFit: h,
8656
- imageMaxWidth: w,
8656
+ imageMaxWidth: S,
8657
8657
  imageMaxHeight: v,
8658
8658
  imageHoverClass: $,
8659
8659
  isEditor: n,
@@ -8672,7 +8672,7 @@ const ld = 30, cd = 20, to = 2, dd = 2, ud = (e, t) => Array.from({ length: t },
8672
8672
  position: "absolute",
8673
8673
  top: 0,
8674
8674
  right: Ee,
8675
- width: we,
8675
+ width: Se,
8676
8676
  height: "100%"
8677
8677
  }
8678
8678
  }
@@ -9688,7 +9688,7 @@ function fi(e) {
9688
9688
  `;
9689
9689
  }
9690
9690
  const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode: i }) => {
9691
- const { prefix: s } = an(), { align: o, speed: c, direction: a, pauseOnHover: u, gap: d, cardWidth: w, corners: v, stroke: h, strokeColor: p, bgColor: m, padding: b, logoMarginTop: $, logoWidth: x, logoHeight: f, captionMarginTop: F } = e, S = !!i, M = ((t == null ? void 0 : t.length) ?? 0) > 0, y = c > 0 && (!n || r), T = M && (y || n), O = Math.max(0, c) * bd, C = (E) => L(E, n ?? !1), P = Te(null), _ = Te(null), W = Te(null), [V, ee] = de(0), [k, R] = de(0), [D, N] = de(0), A = y && u === "on", [j, X] = de(!1), Q = Te(null), [I, te] = de(0), [g, J] = de(0), he = Te(null), le = (E) => {
9691
+ const { prefix: s } = an(), { align: o, speed: c, direction: a, pauseOnHover: u, gap: d, cardWidth: S, corners: v, stroke: h, strokeColor: p, bgColor: m, padding: b, logoMarginTop: $, logoWidth: x, logoHeight: f, captionMarginTop: F } = e, w = !!i, M = ((t == null ? void 0 : t.length) ?? 0) > 0, y = c > 0 && (!n || r), T = M && (y || n), O = Math.max(0, c) * bd, C = (E) => L(E, n ?? !1), P = Te(null), _ = Te(null), W = Te(null), [V, ee] = de(0), [k, R] = de(0), [D, N] = de(0), A = y && u === "on", [j, X] = de(!1), Q = Te(null), [I, te] = de(0), [g, J] = de(0), he = Te(null), le = (E) => {
9692
9692
  var q, G, ae, ge, Ne;
9693
9693
  return {
9694
9694
  fontSettings: {
@@ -9759,7 +9759,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9759
9759
  return G.observe(E), G.observe(z), () => {
9760
9760
  G.disconnect();
9761
9761
  };
9762
- }, [T, B, t, n, d, w, b, h, v, x, f, I, g]);
9762
+ }, [T, B, t, n, d, S, b, h, v, x, f, I, g]);
9763
9763
  const K = () => {
9764
9764
  A && X(!0);
9765
9765
  }, U = () => {
@@ -9798,9 +9798,9 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9798
9798
  /* @__PURE__ */ l(
9799
9799
  "div",
9800
9800
  {
9801
- "data-controls": S ? G == null ? void 0 : G.controlsName : void 0,
9802
- "data-controls-axis": S ? "y" : void 0,
9803
- className: S ? `${s}-control` : void 0,
9801
+ "data-controls": w ? G == null ? void 0 : G.controlsName : void 0,
9802
+ "data-controls-axis": w ? "y" : void 0,
9803
+ className: w ? `${s}-control` : void 0,
9804
9804
  style: { height: C((G == null ? void 0 : G.marginTop) ?? 0) }
9805
9805
  }
9806
9806
  ),
@@ -9821,8 +9821,8 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9821
9821
  },
9822
9822
  q
9823
9823
  ),
9824
- [se, ve, n, S, s, C]
9825
- ), we = ft(
9824
+ [se, ve, n, w, s, C]
9825
+ ), Se = ft(
9826
9826
  (E, z, q) => {
9827
9827
  var G, ae, ge;
9828
9828
  return /* @__PURE__ */ re(
@@ -9830,7 +9830,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9830
9830
  {
9831
9831
  style: {
9832
9832
  padding: `${C(b.top)} ${C(b.right)} ${C(b.bottom)} ${C(b.left)}`,
9833
- width: C(w + h * 2),
9833
+ width: C(S + h * 2),
9834
9834
  height: "100%",
9835
9835
  borderRadius: C(v),
9836
9836
  border: `${C(h)} solid ${p}`,
@@ -9865,8 +9865,8 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9865
9865
  /* @__PURE__ */ l(
9866
9866
  "div",
9867
9867
  {
9868
- "data-controls": S && !(q != null && q.dataMeasureAttrs) ? "logoMarginTop" : void 0,
9869
- className: S && !(q != null && q.dataMeasureAttrs) ? `${s}-control` : void 0,
9868
+ "data-controls": w && !(q != null && q.dataMeasureAttrs) ? "logoMarginTop" : void 0,
9869
+ className: w && !(q != null && q.dataMeasureAttrs) ? `${s}-control` : void 0,
9870
9870
  style: { height: C($) }
9871
9871
  }
9872
9872
  ),
@@ -9898,7 +9898,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9898
9898
  m,
9899
9899
  F,
9900
9900
  ne,
9901
- w,
9901
+ S,
9902
9902
  v,
9903
9903
  f,
9904
9904
  $,
@@ -9914,7 +9914,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9914
9914
  p,
9915
9915
  xe,
9916
9916
  n,
9917
- S,
9917
+ w,
9918
9918
  s
9919
9919
  ]
9920
9920
  ), Ee = ft((E) => {
@@ -9935,7 +9935,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9935
9935
  return q.observe(E), () => {
9936
9936
  q.disconnect();
9937
9937
  };
9938
- }, [ce, Ee, t, we]);
9938
+ }, [ce, Ee, t, Se]);
9939
9939
  const Ie = ce ? { textMinHeightPx: I, captionMinHeightPx: g } : void 0, H = ce ? /* @__PURE__ */ l(
9940
9940
  "div",
9941
9941
  {
@@ -9950,7 +9950,7 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9950
9950
  pointerEvents: "none",
9951
9951
  zIndex: -1
9952
9952
  },
9953
- children: (t ?? []).map((E, z) => we(E, `measure-${z}`, { dataMeasureAttrs: !0 }))
9953
+ children: (t ?? []).map((E, z) => Se(E, `measure-${z}`, { dataMeasureAttrs: !0 }))
9954
9954
  }
9955
9955
  ) : null, oe = (E, z) => /* @__PURE__ */ re(
9956
9956
  "div",
@@ -9965,8 +9965,8 @@ const bd = 30, yi = 2, xd = ({ settings: e, content: t, isEditor: n, isPreviewMo
9965
9965
  willChange: "transform"
9966
9966
  },
9967
9967
  children: [
9968
- we(E, `card-${z}`, Ie),
9969
- S && /* @__PURE__ */ l(
9968
+ Se(E, `card-${z}`, Ie),
9969
+ w && /* @__PURE__ */ l(
9970
9970
  "div",
9971
9971
  {
9972
9972
  "data-controls": "gap",
@@ -11140,7 +11140,7 @@ type TestimonialsSettings = {
11140
11140
  }
11141
11141
  ]
11142
11142
  }
11143
- }, wd = {
11143
+ }, Sd = {
11144
11144
  element: xd,
11145
11145
  id: "testimonials",
11146
11146
  name: "Eliana",
@@ -11167,7 +11167,7 @@ type TestimonialsSettings = {
11167
11167
  parameters: [{ path: "styles.text.fontSettings" }, { path: "styles.caption.fontSettings" }]
11168
11168
  }
11169
11169
  };
11170
- function Sd(e) {
11170
+ function wd(e) {
11171
11171
  return `
11172
11172
  .${e}-container {
11173
11173
  position: relative;
@@ -11295,7 +11295,7 @@ function Sd(e) {
11295
11295
  `;
11296
11296
  }
11297
11297
  const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode: i }) => {
11298
- const { prefix: s } = an(), o = t || [], { speed: c, align: a, width: u, imageMarginTop: d, textMarginTop: w, captionMarginTop: v, imageWidth: h, imageHeight: p, controlsWidth: m, controlsColor: b, controlsHoverColor: $ } = e, x = c > 0 && (!n || !!r), [f, F] = de(0), [S, M] = de(null), [y, T] = de(!1), O = Te(null), C = He(() => {
11298
+ const { prefix: s } = an(), o = t || [], { speed: c, align: a, width: u, imageMarginTop: d, textMarginTop: S, captionMarginTop: v, imageWidth: h, imageHeight: p, controlsWidth: m, controlsColor: b, controlsHoverColor: $ } = e, x = c > 0 && (!n || !!r), [f, F] = de(0), [w, M] = de(null), [y, T] = de(!1), O = Te(null), C = He(() => {
11299
11299
  switch (a) {
11300
11300
  case "center":
11301
11301
  return "center";
@@ -11319,7 +11319,7 @@ const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r,
11319
11319
  Ae(() => {
11320
11320
  F(0), M(null), T(!1);
11321
11321
  }, [o.length]);
11322
- const _ = o[f], W = S === null ? null : o[S], V = (ne) => {
11322
+ const _ = o[f], W = w === null ? null : o[w], V = (ne) => {
11323
11323
  var B, K, U, se, ve;
11324
11324
  return {
11325
11325
  fontSettings: {
@@ -11360,7 +11360,7 @@ const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r,
11360
11360
  O.current && window.clearTimeout(O.current);
11361
11361
  }, []);
11362
11362
  const he = (ne, ce) => {
11363
- var ve, Pe, we, Ee;
11363
+ var ve, Pe, Se, Ee;
11364
11364
  const B = ce == null ? void 0 : ce.textMinHeightPx, K = ce == null ? void 0 : ce.captionMinHeightPx, U = ce == null ? void 0 : ce.dataMeasureAttrs, se = i && !(ce != null && ce.dataMeasureAttrs) && !(ce != null && ce.hideControls);
11365
11365
  return /* @__PURE__ */ re(Ge, { children: [
11366
11366
  ne.text && /* @__PURE__ */ re("div", { style: { display: "flex", flexDirection: "column", alignItems: C, width: "100%" }, children: [
@@ -11369,7 +11369,7 @@ const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r,
11369
11369
  {
11370
11370
  "data-controls": se ? "textMarginTop" : void 0,
11371
11371
  className: se ? `${s}-control` : void 0,
11372
- style: { height: L(w ?? 0, n ?? !1) }
11372
+ style: { height: L(S ?? 0, n ?? !1) }
11373
11373
  }
11374
11374
  ),
11375
11375
  /* @__PURE__ */ l(
@@ -11399,7 +11399,7 @@ const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r,
11399
11399
  "img",
11400
11400
  {
11401
11401
  src: (Pe = ne.image) == null ? void 0 : Pe.url,
11402
- alt: ((we = ne.image) == null ? void 0 : we.name) ?? "",
11402
+ alt: ((Se = ne.image) == null ? void 0 : Se.name) ?? "",
11403
11403
  className: `${s}-icon`,
11404
11404
  style: { objectFit: ((Ee = ne.image) == null ? void 0 : Ee.objectFit) || "contain" }
11405
11405
  }
@@ -11450,7 +11450,7 @@ const Td = 3e3, Ld = ({ settings: e, content: t, isEditor: n, isPreviewMode: r,
11450
11450
  }, [R, le, t]), !_) return /* @__PURE__ */ l(Ge, {});
11451
11451
  const xe = R ? { textMinHeightPx: N, captionMinHeightPx: j } : void 0;
11452
11452
  return /* @__PURE__ */ l(Ge, { children: /* @__PURE__ */ re("div", { className: `${s}-container`, children: [
11453
- /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: Sd(s) } }),
11453
+ /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: wd(s) } }),
11454
11454
  /* @__PURE__ */ re(
11455
11455
  "div",
11456
11456
  {
@@ -12752,8 +12752,8 @@ function Ci({
12752
12752
  );
12753
12753
  }
12754
12754
  function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose: i, onClose: s, onPrev: o, onNext: c, counterClassName: a, counterStyle: u }) {
12755
- const d = n === "cover", w = Te(null), v = Te(null), [h, p] = de(null), [m, b] = de(r ? "opening" : "open"), [$, x] = de(!0), f = Te(t), F = ft(() => {
12756
- const C = w.current, P = v.current;
12755
+ const d = n === "cover", S = Te(null), v = Te(null), [h, p] = de(null), [m, b] = de(r ? "opening" : "open"), [$, x] = de(!0), f = Te(t), F = ft(() => {
12756
+ const C = S.current, P = v.current;
12757
12757
  if (!C || !P) return;
12758
12758
  const _ = C.getBoundingClientRect(), W = _.width, V = _.height, ee = P.naturalWidth, k = P.naturalHeight;
12759
12759
  if (!W || !V || !ee || !k) return;
@@ -12772,7 +12772,7 @@ function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose:
12772
12772
  }, [n]);
12773
12773
  Ae(() => {
12774
12774
  F();
12775
- const C = w.current;
12775
+ const C = S.current;
12776
12776
  if (!C) return;
12777
12777
  const P = new ResizeObserver(() => F());
12778
12778
  return P.observe(C), () => P.disconnect();
@@ -12790,7 +12790,7 @@ function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose:
12790
12790
  };
12791
12791
  return window.addEventListener("keydown", C, !0), () => window.removeEventListener("keydown", C, !0);
12792
12792
  }, [m]);
12793
- const S = () => {
12793
+ const w = () => {
12794
12794
  m !== "closing" && b("closing");
12795
12795
  }, M = m === "open", y = m === "closing", T = y && i && !!r, O = m === "opening" ? r ?? h : T ? r : h;
12796
12796
  return /* @__PURE__ */ re(
@@ -12804,7 +12804,7 @@ function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose:
12804
12804
  height: "100vh",
12805
12805
  zIndex: 9997
12806
12806
  },
12807
- onClick: S,
12807
+ onClick: w,
12808
12808
  children: [
12809
12809
  /* @__PURE__ */ l(
12810
12810
  "div",
@@ -12832,7 +12832,7 @@ function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose:
12832
12832
  justifyContent: "center"
12833
12833
  },
12834
12834
  children: d ? /* @__PURE__ */ re(Ge, { children: [
12835
- /* @__PURE__ */ l("div", { ref: w, style: { position: "absolute", inset: 0 } }),
12835
+ /* @__PURE__ */ l("div", { ref: S, style: { position: "absolute", inset: 0 } }),
12836
12836
  /* @__PURE__ */ l(
12837
12837
  "div",
12838
12838
  {
@@ -12870,7 +12870,7 @@ function Rd({ images: e, index: t, imageDisplay: n, originRect: r, reverseClose:
12870
12870
  justifyContent: "center",
12871
12871
  alignItems: "center"
12872
12872
  },
12873
- children: /* @__PURE__ */ l("div", { ref: w, style: { width: "100%", height: "100%" } })
12873
+ children: /* @__PURE__ */ l("div", { ref: S, style: { width: "100%", height: "100%" } })
12874
12874
  }
12875
12875
  ),
12876
12876
  /* @__PURE__ */ l(
@@ -12962,7 +12962,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
12962
12962
  const { prefix: a } = an(), {
12963
12963
  type: u = "a",
12964
12964
  gridLayout: d,
12965
- textBoxWidth: w = 100,
12965
+ textBoxWidth: S = 100,
12966
12966
  verticalGap: v,
12967
12967
  entriesCount: h,
12968
12968
  lightbox: p,
@@ -12972,7 +12972,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
12972
12972
  sliderTiming: x,
12973
12973
  direction: f,
12974
12974
  transition: F,
12975
- titleMarginTop: S,
12975
+ titleMarginTop: w,
12976
12976
  subtitleMarginTop: M,
12977
12977
  titleColor: y,
12978
12978
  subtitleColor: T,
@@ -13013,7 +13013,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13013
13013
  textAppearance: k,
13014
13014
  color: y
13015
13015
  }, U = {
13016
- ...St(rt(B, n))
13016
+ ...wt(rt(B, n))
13017
13017
  }, se = {
13018
13018
  fontSettings: {
13019
13019
  fontFamily: R,
@@ -13027,8 +13027,8 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13027
13027
  textAppearance: Q,
13028
13028
  color: T
13029
13029
  }, Pe = {
13030
- ...St(rt(se, n))
13031
- }, we = {
13030
+ ...wt(rt(se, n))
13031
+ }, Se = {
13032
13032
  fontSettings: {
13033
13033
  fontFamily: I,
13034
13034
  fontWeight: (te == null ? void 0 : te.fontWeight) ?? 400,
@@ -13041,7 +13041,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13041
13041
  textAppearance: xe,
13042
13042
  color: O
13043
13043
  }, Ie = {
13044
- ...St(rt(we, n)),
13044
+ ...wt(rt(Se, n)),
13045
13045
  ...ro(g, J, a, n)
13046
13046
  }, H = no(
13047
13047
  _,
@@ -13065,7 +13065,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13065
13065
  }, Nd, Hd), Ne = `${o && o !== "default" ? `${a}-state-${o}` : ""}${ne === "on hover" && (!n || r) ? ` ${a}-show-text-hover` : ""}`.trim(), fe = h === 0 ? 1 / 0 : h, be = (t ?? []).slice(0, fe), Oe = d.entryWidth ?? 0.2, ie = (m == null ? void 0 : m.display) === "cover", Ce = (m == null ? void 0 : m.ratioValue) ?? "1:1", We = (m == null ? void 0 : m.reversed) ?? !1, [Me, je] = Ce.split(":").map(Number), bt = `${We ? je : Me} / ${We ? Me : je}`, Pt = L(Oe ?? 0, n), Ft = !ie && $ !== "off", xt = {
13066
13066
  width: Pt,
13067
13067
  ...ie ? { aspectRatio: bt, height: "auto", overflow: "hidden" } : { height: "auto" }
13068
- }, Mt = `${a}-item-image-wrapper${Ft ? ` ${a}-item-image-wrapper-fit-slider` : ""}`.trim(), me = u === "c", ze = me && ce === "on", Ve = `calc(${L(Oe ?? 0, n)} * (${w} / 100))`, Ze = L(Oe * w / 100, n), Et = ie ? {
13068
+ }, Mt = `${a}-item-image-wrapper${Ft ? ` ${a}-item-image-wrapper-fit-slider` : ""}`.trim(), me = u === "c", ze = me && ce === "on", Ve = `calc(${L(Oe ?? 0, n)} * (${S} / 100))`, Ze = L(Oe * S / 100, n), Et = ie ? {
13069
13069
  objectFit: "cover",
13070
13070
  pointerEvents: "auto",
13071
13071
  width: "100%",
@@ -13077,9 +13077,9 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13077
13077
  width: "auto",
13078
13078
  height: "auto",
13079
13079
  maxWidth: "100%"
13080
- }, [Gt, Ct] = de("ltr"), [Nt, On] = de(0), Se = Te(null);
13080
+ }, [Gt, Ct] = de("ltr"), [Nt, On] = de(0), we = Te(null);
13081
13081
  Ae(() => {
13082
- const Re = Se.current;
13082
+ const Re = we.current;
13083
13083
  if (!Re) return;
13084
13084
  const ut = new ResizeObserver((pt) => {
13085
13085
  On(Math.round(pt[0].contentRect.width));
@@ -13087,7 +13087,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13087
13087
  return ut.observe(Re), () => ut.disconnect();
13088
13088
  }, []);
13089
13089
  const nt = (() => {
13090
- const Re = { ...G }, ut = Se.current ? getComputedStyle(Se.current).getPropertyValue("--cntrl-article-width").trim() : "";
13090
+ const Re = { ...G }, ut = we.current ? getComputedStyle(we.current).getPropertyValue("--cntrl-article-width").trim() : "";
13091
13091
  return ut && (Re["--cntrl-article-width"] = ut), Re;
13092
13092
  })(), [Qe, Ke] = de(!1), [dt, lr] = de([]), [Kr, yn] = de(0), [Ur, cr] = de(null), dr = (Re, ut, pt) => {
13093
13093
  if (n && !r || p === "off") return;
@@ -13109,7 +13109,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13109
13109
  /* @__PURE__ */ l("div", { style: G, children: /* @__PURE__ */ l(
13110
13110
  "div",
13111
13111
  {
13112
- ref: Se,
13112
+ ref: we,
13113
13113
  className: `${a}-wrapper ${a}-type-${u}${ze ? ` ${a}-align-entries` : ""} ${Ne}`.trim(),
13114
13114
  style: {
13115
13115
  gridTemplateColumns: `repeat(${d.columnsCount}, minmax(0, 1fr))`,
@@ -13128,7 +13128,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13128
13128
  "data-controls": i ? "titleMarginTop" : void 0,
13129
13129
  className: i ? `${a}-control` : void 0,
13130
13130
  style: {
13131
- height: L(S ?? 0, n),
13131
+ height: L(w ?? 0, n),
13132
13132
  width: Ze
13133
13133
  }
13134
13134
  }
@@ -13153,7 +13153,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13153
13153
  "data-controls": i ? "titleMarginTop" : void 0,
13154
13154
  className: i ? `${a}-control` : void 0,
13155
13155
  style: {
13156
- height: L(S ?? 0, n),
13156
+ height: L(w ?? 0, n),
13157
13157
  width: Ze
13158
13158
  }
13159
13159
  }
@@ -13239,7 +13239,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13239
13239
  "data-controls": i && pt ? "titleMarginTop" : void 0,
13240
13240
  className: i && pt ? `${a}-control` : void 0,
13241
13241
  style: {
13242
- height: pt ? L(S ?? 0, n) : 0,
13242
+ height: pt ? L(w ?? 0, n) : 0,
13243
13243
  width: Ze
13244
13244
  }
13245
13245
  }
@@ -13280,7 +13280,7 @@ function Md({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
13280
13280
  "div",
13281
13281
  {
13282
13282
  className: `${i ? `${a}-item-inner` : `${a}-item-inner-hidden`}${ze && ye ? ` ${a}-item-inner-last-row` : ""}`.trim(),
13283
- style: { width: (w ?? 0) > 100 ? `calc(${L(Oe ?? 0, n)} * (${w} / 100))` : L(Oe ?? 0, n) },
13283
+ style: { width: (S ?? 0) > 100 ? `calc(${L(Oe ?? 0, n)} * (${S} / 100))` : L(Oe ?? 0, n) },
13284
13284
  children: ze ? /* @__PURE__ */ re(Ge, { children: [
13285
13285
  _e,
13286
13286
  /* @__PURE__ */ l("a", { href: pe, target: "_blank", className: `${a}-item-image-link`, children: mt })
@@ -15244,7 +15244,7 @@ function qd({
15244
15244
  }
15245
15245
  );
15246
15246
  }
15247
- function wr(e) {
15247
+ function Sr(e) {
15248
15248
  return `calc(var(--cntrl-article-width, 100vw) * ${e / 1440})`;
15249
15249
  }
15250
15250
  function jd(e) {
@@ -15254,11 +15254,11 @@ function $i(e, t) {
15254
15254
  const n = e.currentTarget, r = n.getBoundingClientRect(), i = e.clientY - r.top > r.height / 2;
15255
15255
  n.classList.toggle(`${t}-reveal-from-bottom`, i);
15256
15256
  }
15257
- function wi(e, t) {
15257
+ function Si(e, t) {
15258
15258
  const n = e.currentTarget, r = n.getBoundingClientRect(), i = e.clientY < r.top + r.height / 2;
15259
15259
  n.classList.toggle(`${t}-reveal-from-bottom`, i);
15260
15260
  }
15261
- function Si(e, t, n, r, i, s, o) {
15261
+ function wi(e, t, n, r, i, s, o) {
15262
15262
  const c = L(s, o), a = L(0, o), u = e === 0, d = e === t - 1 && !i;
15263
15263
  return { borderTopWidth: u && n ? c : a, borderBottomWidth: !d || r ? c : a };
15264
15264
  }
@@ -15275,7 +15275,7 @@ function Ud(e) {
15275
15275
  .${e}-wrapper {
15276
15276
  display: grid;
15277
15277
  align-items: start;
15278
- min-height: ${wr(48)};
15278
+ min-height: ${Sr(48)};
15279
15279
  position: relative;
15280
15280
  overflow: visible;
15281
15281
  box-sizing: border-box;
@@ -15397,7 +15397,7 @@ a.${e}-list-item {
15397
15397
  flex-shrink: 0;
15398
15398
  overflow: visible;
15399
15399
  box-sizing: border-box;
15400
- min-width: ${wr(50)};
15400
+ min-width: ${Sr(50)};
15401
15401
  position: relative;
15402
15402
  display: flex;
15403
15403
  align-items: flex-start;
@@ -15405,7 +15405,7 @@ a.${e}-list-item {
15405
15405
 
15406
15406
  .${e}-list-col-last {
15407
15407
  flex: 1 1 auto;
15408
- min-width: ${wr(50)};
15408
+ min-width: ${Sr(50)};
15409
15409
  }
15410
15410
 
15411
15411
  .${e}-list-col-title {
@@ -15908,7 +15908,7 @@ function Pi(e, t) {
15908
15908
  textAppearance: e.textTextAppearance,
15909
15909
  color: e.textColor ?? "#767676"
15910
15910
  };
15911
- return St(rt(n, t));
15911
+ return wt(rt(n, t));
15912
15912
  }
15913
15913
  function Ei(e, t, n, r) {
15914
15914
  const i = kr(e, t), s = i.textFontSize ?? 0.01, o = i.textLineHeight;
@@ -15951,7 +15951,7 @@ const Tt = [
15951
15951
  textHoverColor: "text-hover-color",
15952
15952
  backgroundHoverColor: "background-hover-color",
15953
15953
  dividerHoverColor: "divider-hover-color"
15954
- }, du = ["hover", "focus", "filled", "success", "error"], Ai = 4e-3, Sn = 4e-3, ao = Sn, Ii = 12, qo = 50, Qn = 1440, Zn = qo / Qn;
15954
+ }, du = ["hover", "focus", "filled", "success", "error"], Ai = 4e-3, wn = 4e-3, ao = wn, Ii = 12, qo = 50, Qn = 1440, Zn = qo / Qn;
15955
15955
  function Aa(e) {
15956
15956
  const t = typeof e == "number" && e > 0 ? e : Qn;
15957
15957
  return qo / t;
@@ -16055,7 +16055,7 @@ function ka(e, t, n) {
16055
16055
  paddingRight: n * s
16056
16056
  };
16057
16057
  }
16058
- function Sr(e, t, n) {
16058
+ function wr(e, t, n) {
16059
16059
  const r = jo(e, t, n);
16060
16060
  if (e <= 0)
16061
16061
  return [];
@@ -16094,8 +16094,8 @@ function jo(e, t, n) {
16094
16094
  const d = c[u] - Zn;
16095
16095
  if (d <= 0)
16096
16096
  continue;
16097
- const w = Math.min(a, d);
16098
- c[u] -= w, a -= w;
16097
+ const S = Math.min(a, d);
16098
+ c[u] -= S, a -= S;
16099
16099
  }
16100
16100
  return [...c, r[e - 1]];
16101
16101
  }
@@ -16121,7 +16121,7 @@ function bu(e, t, n, r) {
16121
16121
  const c = e[o], a = t.indexOf(c);
16122
16122
  if (a === -1)
16123
16123
  continue;
16124
- const u = Tt[a], d = kn[a], w = Wn[a], v = Rn[a], h = Tt[o], p = kn[o], m = Wn[o], b = Rn[o], $ = n[u], x = n[d], f = n[w], F = n[v];
16124
+ const u = Tt[a], d = kn[a], S = Wn[a], v = Rn[a], h = Tt[o], p = kn[o], m = Wn[o], b = Rn[o], $ = n[u], x = n[d], f = n[S], F = n[v];
16125
16125
  typeof $ == "number" && (s[h] = $), typeof x == "number" && (s[p] = x), typeof f == "number" && (s[m] = f), typeof F == "number" && (s[b] = F);
16126
16126
  }
16127
16127
  return s;
@@ -16155,10 +16155,10 @@ function xu(e, t) {
16155
16155
  function Cu(e, t, n) {
16156
16156
  const r = Zd(e);
16157
16157
  r && (e = { ...e, ...r });
16158
- const i = Aa(n == null ? void 0 : n.designWidth), s = e.columns, o = t.columns, c = zn(e), a = zn(t), u = e.type === "b" || e.type === void 0 && t.type === "b", d = typeof s == "number" ? s : typeof o == "number" ? o : on.length, w = (f) => {
16158
+ const i = Aa(n == null ? void 0 : n.designWidth), s = e.columns, o = t.columns, c = zn(e), a = zn(t), u = e.type === "b" || e.type === void 0 && t.type === "b", d = typeof s == "number" ? s : typeof o == "number" ? o : on.length, S = (f) => {
16159
16159
  if (u)
16160
16160
  return f;
16161
- const F = yr({ ...t, ...f }), S = zn(f), M = Sr(d, S, F), y = fu(d, M, {
16161
+ const F = yr({ ...t, ...f }), w = zn(f), M = wr(d, w, F), y = fu(d, M, {
16162
16162
  ...t,
16163
16163
  ...f
16164
16164
  });
@@ -16171,13 +16171,13 @@ function Cu(e, t, n) {
16171
16171
  return e;
16172
16172
  const v = ki(e), h = ki(t);
16173
16173
  if (!vu(v, h))
16174
- return w({
16174
+ return S({
16175
16175
  ...e,
16176
16176
  ...bu(v, h, t, d)
16177
16177
  });
16178
16178
  if (c < a && typeof d == "number" && !u) {
16179
16179
  const f = yr({ ...t, ...e });
16180
- return w({
16180
+ return S({
16181
16181
  ...e,
16182
16182
  ...yu(d, c, f)
16183
16183
  });
@@ -16186,21 +16186,21 @@ function Cu(e, t, n) {
16186
16186
  const f = typeof e.textPaddingLR == "number" ? e.textPaddingLR : 0, F = Math.max(0, (c - i) / 2);
16187
16187
  return f > F ? { ...e, textPaddingLR: F } : e;
16188
16188
  }
16189
- const p = yr({ ...t, ...e }), m = Sr(
16189
+ const p = yr({ ...t, ...e }), m = wr(
16190
16190
  d,
16191
16191
  a,
16192
16192
  yr(t)
16193
- ), $ = Sr(
16193
+ ), $ = wr(
16194
16194
  d,
16195
16195
  c,
16196
16196
  p
16197
16197
  ).some(
16198
16198
  (f, F) => f < (m[F] ?? f)
16199
16199
  ), x = Tt.some((f) => {
16200
- const F = e[f], S = t[f];
16201
- return typeof F == "number" && typeof S == "number" && F !== S;
16200
+ const F = e[f], w = t[f];
16201
+ return typeof F == "number" && typeof w == "number" && F !== w;
16202
16202
  });
16203
- return $ || x ? w(e) : e;
16203
+ return $ || x ? S(e) : e;
16204
16204
  }
16205
16205
  function $u(e, t, n, r) {
16206
16206
  const i = t.slice(0, e).reduce((o, c) => o + c, 0), s = n.slice(e + 1, t.length - 1).reduce((o, c) => o + c, 0);
@@ -16209,10 +16209,10 @@ function $u(e, t, n, r) {
16209
16209
  r - i - s - Zn
16210
16210
  );
16211
16211
  }
16212
- function wu(e, t) {
16212
+ function Su(e, t) {
16213
16213
  return Math.random() * (t - e) + e;
16214
16214
  }
16215
- function Su(e) {
16215
+ function wu(e) {
16216
16216
  return Object.fromEntries(
16217
16217
  Tt.map((t) => [
16218
16218
  t,
@@ -16248,7 +16248,7 @@ function Tu(e, t, n, r, i, s) {
16248
16248
  function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode: i, activeEvent: s, layoutId: o, onUpdateSettings: c }) {
16249
16249
  const { prefix: a } = an(), u = !!i, {
16250
16250
  columns: d,
16251
- type: w,
16251
+ type: S,
16252
16252
  wrapperWidth: v,
16253
16253
  entriesCount: h,
16254
16254
  cellMinHeight: p,
@@ -16258,7 +16258,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16258
16258
  showCut: x,
16259
16259
  cutCellMinHeight: f,
16260
16260
  cutLabel: F,
16261
- imageSize: S,
16261
+ imageSize: w,
16262
16262
  imageOnHover: M,
16263
16263
  entryHoverEffect: y,
16264
16264
  entryHoverShowOption: T,
@@ -16273,7 +16273,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16273
16273
  textHoverColor: R,
16274
16274
  backgroundHoverColor: D,
16275
16275
  dividerHoverColor: N
16276
- } = e, [A, j] = de(void 0), [X, Q] = de(null), I = M === "on" && (!n || r), te = ($ ?? 0) > 0, g = w === "b", J = Te(null), he = Te(null), [le, xe] = de(null), [ne, ce] = de(Qn), B = Aa(ne), K = Math.max(0, ((v ?? 0) - B) / 2), U = Math.min(W ?? 0, K), se = Math.max(U, Sn), ve = ((v ?? 0) + B) / 2;
16276
+ } = e, [A, j] = de(void 0), [X, Q] = de(null), I = M === "on" && (!n || r), te = ($ ?? 0) > 0, g = S === "b", J = Te(null), he = Te(null), [le, xe] = de(null), [ne, ce] = de(Qn), B = Aa(ne), K = Math.max(0, ((v ?? 0) - B) / 2), U = Math.min(W ?? 0, K), se = Math.max(U, wn), ve = ((v ?? 0) + B) / 2;
16277
16277
  yt(() => {
16278
16278
  if (!n) {
16279
16279
  ce(Qn);
@@ -16304,7 +16304,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16304
16304
  textHoverColor: R,
16305
16305
  backgroundHoverColor: D,
16306
16306
  dividerHoverColor: N
16307
- }, cu, du), we = s && s !== "default" ? `${a}-state-${s}` : "", Ie = `${!n || r ? y === "default" ? `${a}-entry-hover-default` : y === "blinds" ? `${a}-entry-hover-blinds` : y === "reveal" ? `${a}-entry-hover-reveal` : "" : ""} ${we}`.trim(), H = y === "reveal" && (!n || r), oe = (b == null ? void 0 : b[0]) ?? !1, E = (b == null ? void 0 : b[1]) ?? !1, z = Te(e), q = Te(o);
16307
+ }, cu, du), Se = s && s !== "default" ? `${a}-state-${s}` : "", Ie = `${!n || r ? y === "default" ? `${a}-entry-hover-default` : y === "blinds" ? `${a}-entry-hover-blinds` : y === "reveal" ? `${a}-entry-hover-reveal` : "" : ""} ${Se}`.trim(), H = y === "reveal" && (!n || r), oe = (b == null ? void 0 : b[0]) ?? !1, E = (b == null ? void 0 : b[1]) ?? !1, z = Te(e), q = Te(o);
16308
16308
  Ae(() => {
16309
16309
  if (!c || !n) {
16310
16310
  z.current = e, q.current = o;
@@ -16329,7 +16329,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16329
16329
  z.current = e, Wa(e, ye) && c(ye);
16330
16330
  }, [e, c, n, o, ne]);
16331
16331
  const G = He(
16332
- () => Su(e),
16332
+ () => wu(e),
16333
16333
  [
16334
16334
  e.AColumnWidth,
16335
16335
  e.BColumnWidth,
@@ -16381,7 +16381,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16381
16381
  () => jo(d, Oe, G),
16382
16382
  [d, Oe, G]
16383
16383
  ), We = He(
16384
- () => Sr(d, Oe, G),
16384
+ () => wr(d, Oe, G),
16385
16385
  [d, Oe, G]
16386
16386
  ), Me = He(
16387
16387
  () => be.map((Y, pe) => ka(
@@ -16411,7 +16411,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16411
16411
  return;
16412
16412
  }
16413
16413
  j(Math.min(Y + x, je.length));
16414
- }, me = (Y) => L(Y, n ?? !1), ze = g ? P ?? 0 : O ?? 0, Ve = C ?? 0, Ze = p ?? 0, Et = ze + Ze / 2, Gt = Math.max(Ve, ao), Ct = Si(
16414
+ }, me = (Y) => L(Y, n ?? !1), ze = g ? P ?? 0 : O ?? 0, Ve = C ?? 0, Ze = p ?? 0, Et = ze + Ze / 2, Gt = Math.max(Ve, ao), Ct = wi(
16415
16415
  0,
16416
16416
  vt.length,
16417
16417
  oe,
@@ -16419,7 +16419,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16419
16419
  bt,
16420
16420
  m ?? 0,
16421
16421
  n ?? !1
16422
- ).borderTopWidth, Nt = le != null ? `${le}px` : `calc(${Ct} + ${me(Et)})`, On = g ? "rowPaddingTopB" : "rowPaddingTop", Se = be[0], nt = be[be.length - 1], Qe = Me[0], Ke = Me[Me.length - 1], dt = Se && Qe ? Math.max(Qe.paddingLeft, Sn) : 0, lr = nt && Ke ? Math.max(Ke.paddingRight, Sn) : 0, Kr = Oe, yn = (Y) => {
16422
+ ).borderTopWidth, Nt = le != null ? `${le}px` : `calc(${Ct} + ${me(Et)})`, On = g ? "rowPaddingTopB" : "rowPaddingTop", we = be[0], nt = be[be.length - 1], Qe = Me[0], Ke = Me[Me.length - 1], dt = we && Qe ? Math.max(Qe.paddingLeft, wn) : 0, lr = nt && Ke ? Math.max(Ke.paddingRight, wn) : 0, Kr = Oe, yn = (Y) => {
16423
16423
  const pe = J.current;
16424
16424
  if (!pe)
16425
16425
  return { x: 0, y: 0 };
@@ -16435,7 +16435,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16435
16435
  Q(null);
16436
16436
  return;
16437
16437
  }
16438
- const { x: Le, y: Ye } = yn(pe), Je = (S == null ? void 0 : S.min) ?? 80, _e = (S == null ? void 0 : S.max) ?? 320, mt = (X == null ? void 0 : X.rowId) === Y.id ? X.widthPx : wu(Je, _e);
16438
+ const { x: Le, y: Ye } = yn(pe), Je = (w == null ? void 0 : w.min) ?? 80, _e = (w == null ? void 0 : w.max) ?? 320, mt = (X == null ? void 0 : X.rowId) === Y.id ? X.widthPx : Su(Je, _e);
16439
16439
  Q({
16440
16440
  rowId: Y.id,
16441
16441
  url: ye.url,
@@ -16454,7 +16454,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16454
16454
  }, Gr = (Y) => {
16455
16455
  H && $i(Y, a), I && Q(null);
16456
16456
  }, Re = (Y) => {
16457
- H && wi(Y, a);
16457
+ H && Si(Y, a);
16458
16458
  };
16459
16459
  yt(() => {
16460
16460
  if (!u || g) {
@@ -16626,7 +16626,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16626
16626
  /* @__PURE__ */ re("div", { style: { width: "100%", position: "relative" }, children: [
16627
16627
  vt.map((Y, pe) => {
16628
16628
  var Je;
16629
- const ye = (((Je = Y.link) == null ? void 0 : Je.length) ?? 0) > 0, Le = ye && (!n || r) ? "a" : "div", Ye = Si(
16629
+ const ye = (((Je = Y.link) == null ? void 0 : Je.length) ?? 0) > 0, Le = ye && (!n || r) ? "a" : "div", Ye = wi(
16630
16630
  pe,
16631
16631
  vt.length,
16632
16632
  oe,
@@ -16648,7 +16648,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16648
16648
  H && (ye || T === "always") && $i(_e, a), I && Ur(Y, _e);
16649
16649
  },
16650
16650
  onMouseLeave: (_e) => {
16651
- H && (ye || T === "always") && wi(_e, a);
16651
+ H && (ye || T === "always") && Si(_e, a);
16652
16652
  },
16653
16653
  children: [
16654
16654
  ze > 0 && /* @__PURE__ */ l(
@@ -16855,12 +16855,12 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16855
16855
  }
16856
16856
  }
16857
16857
  ) }, "row-padding-handles"),
16858
- u && !g && Se && nt && /* @__PURE__ */ re("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
16858
+ u && !g && we && nt && /* @__PURE__ */ re("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
16859
16859
  /* @__PURE__ */ l(
16860
16860
  Ot,
16861
16861
  {
16862
16862
  P: a,
16863
- "data-controls": Se.paddingLeftKey,
16863
+ "data-controls": we.paddingLeftKey,
16864
16864
  "data-controls-static-handle": "",
16865
16865
  "data-controls-axis": "x",
16866
16866
  "data-controls-variant": "column-padding",
@@ -16907,10 +16907,10 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
16907
16907
  u && !g && be.slice(0, -1).map((Y, pe) => {
16908
16908
  const ye = be[pe + 1], Le = Ce.slice(0, pe + 1).reduce((gt, et) => gt + et, 0), Ye = Me[pe], Je = Me[pe + 1], _e = Math.max(
16909
16909
  Ye.paddingRight,
16910
- Sn
16910
+ wn
16911
16911
  ), mt = Math.max(
16912
16912
  Je.paddingLeft,
16913
- Sn
16913
+ wn
16914
16914
  );
16915
16915
  return /* @__PURE__ */ re("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: [
16916
16916
  /* @__PURE__ */ l(
@@ -17045,7 +17045,7 @@ function Lu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
17045
17045
  );
17046
17046
  })(),
17047
17047
  I && X && (() => {
17048
- const Y = wr(X.widthPx), pe = {
17048
+ const Y = Sr(X.widthPx), pe = {
17049
17049
  width: Y,
17050
17050
  height: "auto",
17051
17051
  maxHeight: Y,
@@ -21017,7 +21017,7 @@ function Yu(e) {
21017
21017
  display: flex;
21018
21018
  align-items: center;
21019
21019
  justify-content: space-between;
21020
- gap: ${Gu(12)};
21020
+ gap: ${Gu(20)};
21021
21021
  width: 100%;
21022
21022
  min-width: 0;
21023
21023
  min-height: var(--${e}-question-min-height, unset);
@@ -21170,7 +21170,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21170
21170
  wrapperWidth: a = 1,
21171
21171
  cellMinHeight: u = 0,
21172
21172
  dividerWidth: d = 694e-6,
21173
- dividerStyle: w = "solid",
21173
+ dividerStyle: S = "solid",
21174
21174
  entryHoverEffect: v = "default",
21175
21175
  autoclose: h = "off",
21176
21176
  icon: p,
@@ -21180,7 +21180,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21180
21180
  questionColor: x = "#000000",
21181
21181
  answerColor: f = "#000000",
21182
21182
  dividerColor: F = "#0000001F",
21183
- iconColor: S = "#000000",
21183
+ iconColor: w = "#000000",
21184
21184
  questionHoverColor: M = "#666666",
21185
21185
  iconHoverColor: y = "#666666",
21186
21186
  iconActiveColor: T = "#000000",
@@ -21212,7 +21212,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21212
21212
  }, [h]), Ae(() => {
21213
21213
  n && !i && !r && B(/* @__PURE__ */ new Set());
21214
21214
  }, [n, i, r]);
21215
- const U = (me) => L(me, n ?? !1), se = Math.max(I, Xt), ve = Math.max(te, Xt), Pe = Math.max(g, Xt), we = Math.max(J, Xt), Ee = Math.max(he, Xt), Ie = Math.max(le, Xt), H = Math.max(xe, Xt), oe = Math.max(0, (a ?? 1) - b - m), E = Math.max(0, (a ?? 1) - he), z = Math.max(0, (a ?? 1) - J), q = Math.max(b, Xt), G = Math.max(0, (a ?? 1) - I - m), ae = He(() => ce.size === 0 ? 0 : Math.min(...ce), [ce]), ge = ft((me) => ce.has(me), [ce]), Ne = K && v === "default" ? `${o}-entry-hover-default` : "", fe = p ?? "", be = fe !== "", Oe = $.replace(/^rotate /, ""), ie = `${o}-icon-anim-${Oe}`, Ce = St(rt(
21215
+ const U = (me) => L(me, n ?? !1), se = Math.max(I, Xt), ve = Math.max(te, Xt), Pe = Math.max(g, Xt), Se = Math.max(J, Xt), Ee = Math.max(he, Xt), Ie = Math.max(le, Xt), H = Math.max(xe, Xt), oe = Math.max(0, (a ?? 1) - b - m), E = Math.max(0, (a ?? 1) - he), z = Math.max(0, (a ?? 1) - J), q = Math.max(b, Xt), G = Math.max(0, (a ?? 1) - I - m), ae = He(() => ce.size === 0 ? 0 : Math.min(...ce), [ce]), ge = ft((me) => ce.has(me), [ce]), Ne = K && v === "default" ? `${o}-entry-hover-default` : "", fe = p ?? "", be = fe !== "", Oe = $.replace(/^rotate /, ""), ie = `${o}-icon-anim-${Oe}`, Ce = wt(rt(
21216
21216
  Bi(
21217
21217
  C,
21218
21218
  P,
@@ -21224,7 +21224,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21224
21224
  x
21225
21225
  ),
21226
21226
  n
21227
- )), We = St(rt(
21227
+ )), We = wt(rt(
21228
21228
  Bi(
21229
21229
  R,
21230
21230
  D,
@@ -21250,7 +21250,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21250
21250
  questionColor: x,
21251
21251
  answerColor: f,
21252
21252
  dividerColor: F,
21253
- iconColor: S,
21253
+ iconColor: w,
21254
21254
  questionHoverColor: M,
21255
21255
  iconHoverColor: y,
21256
21256
  iconActiveColor: T,
@@ -21268,7 +21268,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21268
21268
  });
21269
21269
  }, [K, h]), xt = He(() => Yu(o), [o]), Mt = {
21270
21270
  [`--${o}-divider-width`]: L(d, n ?? !1),
21271
- [`--${o}-divider-style`]: w,
21271
+ [`--${o}-divider-style`]: S,
21272
21272
  [`--${o}-icon-max-width`]: L(m, n ?? !1),
21273
21273
  ...u > 0 ? { [`--${o}-question-min-height`]: L(u, n ?? !1) } : {}
21274
21274
  };
@@ -21387,7 +21387,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21387
21387
  qt,
21388
21388
  {
21389
21389
  url: fe,
21390
- fill: S,
21390
+ fill: w,
21391
21391
  hoverFill: y,
21392
21392
  className: `${o}-icon-image`
21393
21393
  }
@@ -21464,7 +21464,7 @@ function Xu({ settings: e, content: t, isEditor: n, isPreviewMode: r, isEditMode
21464
21464
  position: "absolute",
21465
21465
  top: 0,
21466
21466
  left: 0,
21467
- width: U(we),
21467
+ width: U(Se),
21468
21468
  height: "100%",
21469
21469
  zIndex: 2
21470
21470
  }
@@ -21787,7 +21787,7 @@ function getCSS(P: string): string {
21787
21787
  display: flex;
21788
21788
  align-items: center;
21789
21789
  justify-content: space-between;
21790
- gap: \${sv(12)};
21790
+ gap: \${sv(20)};
21791
21791
  width: 100%;
21792
21792
  min-width: 0;
21793
21793
  min-height: var(--\${P}-question-min-height, unset);
@@ -22448,65 +22448,65 @@ const Di = {
22448
22448
  },
22449
22449
  default: [
22450
22450
  {
22451
- question: "1. What is this product used for?",
22451
+ question: "What are the three main parts of The Divine Comedy?",
22452
22452
  answer: [
22453
22453
  {
22454
22454
  type: "paragraph",
22455
- children: [{ text: "Our product helps you organize, manage, and improve your workflow with simple digital tools designed to save time and reduce manual work. It brings important tasks, information, and collaboration into one place so you can stay focused and work more efficiently." }]
22455
+ children: [{ text: "A: The poem is divided into Inferno, Purgatorio, and Paradiso. These three sections follow Dante’s journey through Hell, Purgatory, and Heaven." }]
22456
22456
  }
22457
22457
  ]
22458
22458
  },
22459
22459
  {
22460
- question: "2. Do I need technical knowledge to use it?",
22460
+ question: "Who guides Dante through Hell and most of Purgatory?",
22461
22461
  answer: [
22462
22462
  {
22463
22463
  type: "paragraph",
22464
- children: [{ text: "No. The product is designed to be easy to use, with a clear interface and guided setup so you can get started quickly. You do not need coding skills or special training to use the core features." }]
22464
+ children: [{ text: "A: Dante is guided by Virgil, the ancient Roman poet. Virgil represents human reason and wisdom, but because he lived before Christianity, he cannot guide Dante all the way into Heaven." }]
22465
22465
  }
22466
22466
  ]
22467
22467
  },
22468
22468
  {
22469
- question: "3. Is there a free trial?",
22469
+ question: "What does the dark wood at the beginning of the poem symbolize?",
22470
22470
  answer: [
22471
22471
  {
22472
22472
  type: "paragraph",
22473
- children: [{ text: "Yes, you can try the product before choosing a paid plan. The trial gives you access to the main features so you can explore how it works, test it with your own workflow, and decide whether it is the right fit for your needs." }]
22473
+ children: [{ text: "A: The dark wood symbolizes Dante’s spiritual confusion and moral crisis. It shows that he has lost the “straight way” in life and needs guidance to return to truth and salvation." }]
22474
22474
  }
22475
22475
  ]
22476
22476
  },
22477
22477
  {
22478
- question: "4. Can I cancel my subscription anytime?",
22478
+ question: "What is “contrapasso” in Inferno?",
22479
22479
  answer: [
22480
22480
  {
22481
22481
  type: "paragraph",
22482
- children: [{ text: "Yes. You can cancel your subscription at any time from your account settings. Your access will remain active until the end of your current billing period, and you will not be charged again after cancellation." }]
22482
+ children: [{ text: "“Contrapasso” is the principle that punishments in Hell reflect the sins committed during life. For example, people who caused division are themselves physically divided, showing how their punishment mirrors their wrongdoing." }]
22483
22483
  }
22484
22484
  ]
22485
22485
  },
22486
22486
  {
22487
- question: "5. Is my data secure?",
22487
+ question: "Who guides Dante through Heaven?",
22488
22488
  answer: [
22489
22489
  {
22490
22490
  type: "paragraph",
22491
- children: [{ text: "Yes. We use modern security practices to protect your data, including encrypted connections and secure account access. We also follow responsible data handling practices so your information stays private and protected." }]
22491
+ children: [{ text: "Beatrice guides Dante through Paradiso. She represents divine love, grace, and spiritual understanding, helping Dante move beyond human reason toward a vision of God." }]
22492
22492
  }
22493
22493
  ]
22494
22494
  },
22495
22495
  {
22496
- question: "6. Can I use the product with my team?",
22496
+ question: "Why is The Divine Comedy important in literary history?",
22497
22497
  answer: [
22498
22498
  {
22499
22499
  type: "paragraph",
22500
- children: [{ text: "Yes. Team plans allow multiple users to collaborate, manage shared projects, assign responsibilities, and keep work organized in one place. This makes it easier for everyone to stay aligned and see the latest updates." }]
22500
+ children: [{ text: "The Divine Comedy is important because it is one of the greatest works of world literature and helped shape the Italian language. Dante wrote it in the Tuscan dialect rather than Latin, making serious literature more accessible to ordinary readers." }]
22501
22501
  }
22502
22502
  ]
22503
22503
  },
22504
22504
  {
22505
- question: "7. How do I get support?",
22505
+ question: "What is the overall journey of The Divine Comedy about?",
22506
22506
  answer: [
22507
22507
  {
22508
22508
  type: "paragraph",
22509
- children: [{ text: "You can contact our support team through the help center or by email. We’ll help you with setup, troubleshooting, billing questions, and product guidance so you can get the most out of the platform." }]
22509
+ children: [{ text: "The poem is about Dante’s spiritual journey from sin and despair toward repentance, wisdom, and union with God. On a deeper level, it represents the soul’s path from confusion to divine truth." }]
22510
22510
  }
22511
22511
  ]
22512
22512
  }
@@ -22719,20 +22719,20 @@ const Di = {
22719
22719
  answerPaddingBottom: Zt("Answer Padding Bottom")
22720
22720
  },
22721
22721
  defaults: {
22722
- dividerStyle: "solid",
22722
+ dividerStyle: "dotted",
22723
22723
  entryHoverEffect: "default",
22724
22724
  autoclose: "off",
22725
- icon: "https://cdn.cntrl.site/projects/01JJKT02AWY2FGN2QJ7A173RNZ/articles-assets/01KVZJ586KJS8G0PKNERN87KMN.svg",
22725
+ icon: "https://cdn.cntrl.site/component-assets/PlusIcon.svg",
22726
22726
  iconAnimation: "rotate 45",
22727
22727
  questionColor: "#000000",
22728
22728
  answerColor: "#000000",
22729
22729
  dividerColor: "#000000",
22730
22730
  iconColor: "#000000",
22731
- questionHoverColor: "#666666",
22732
- iconHoverColor: "#666666",
22731
+ questionHoverColor: "#A60239",
22732
+ iconHoverColor: "#A60239",
22733
22733
  iconActiveColor: "#000000",
22734
- dividerHoverColor: "#000000",
22735
- questionFontFamily: "Arial",
22734
+ dividerHoverColor: "#A60239",
22735
+ questionFontFamily: "Goudy Bookletter 1911",
22736
22736
  questionFontSettings: {
22737
22737
  fontWeight: 400,
22738
22738
  fontStyle: "normal"
@@ -22744,7 +22744,7 @@ const Di = {
22744
22744
  textDecoration: "none",
22745
22745
  fontVariant: "normal"
22746
22746
  },
22747
- answerFontFamily: "Arial",
22747
+ answerFontFamily: "Goudy Bookletter 1911",
22748
22748
  answerFontSettings: {
22749
22749
  fontWeight: 400,
22750
22750
  fontStyle: "normal"
@@ -22761,38 +22761,40 @@ const Di = {
22761
22761
  m: {
22762
22762
  wrapperWidth: 1,
22763
22763
  cellMinHeight: 0,
22764
- dividerWidth: 1389e-6,
22765
- iconMaxWidth: 0.025,
22766
- iconPaddingRight: 0,
22767
- questionFontSize: 0.1066,
22768
- questionLineHeight: 0.0853,
22769
- answerFontSize: 0.056,
22770
- answerLineHeight: 0.0448,
22771
- questionPaddingLeft: 0,
22772
- questionPaddingTop: 0.01,
22773
- questionPaddingBottom: 0.01,
22774
- answerPaddingLeft: 0,
22775
- answerPaddingRight: 0,
22776
- answerPaddingTop: 0.01,
22777
- answerPaddingBottom: 0.01
22764
+ dividerWidth: 8e-3,
22765
+ iconMaxWidth: 0.0533,
22766
+ iconPaddingRight: 0.08,
22767
+ questionFontSize: 0.09066,
22768
+ questionLineHeight: 0.10133,
22769
+ questionLetterSpacing: -266e-5,
22770
+ answerFontSize: 0.0533,
22771
+ answerLineHeight: 0.064,
22772
+ questionPaddingLeft: 0.0533,
22773
+ questionPaddingTop: 0.0533,
22774
+ questionPaddingBottom: 0.0533,
22775
+ answerPaddingLeft: 0.0533,
22776
+ answerPaddingRight: 0.16,
22777
+ answerPaddingTop: 0.0533,
22778
+ answerPaddingBottom: 0.0533
22778
22779
  },
22779
22780
  d: {
22780
- wrapperWidth: 1,
22781
+ wrapperWidth: 0.6388,
22781
22782
  cellMinHeight: 0,
22782
- dividerWidth: 694e-6,
22783
- iconMaxWidth: 833e-5,
22784
- iconPaddingRight: 0,
22785
- questionFontSize: 0.027,
22786
- questionLineHeight: 0.0222,
22787
- answerFontSize: 0.01,
22788
- answerLineHeight: 82e-4,
22783
+ dividerWidth: 2083e-6,
22784
+ iconMaxWidth: 0.01388,
22785
+ iconPaddingRight: 0.01388,
22786
+ questionFontSize: 0.0333,
22787
+ questionLineHeight: 0.0333,
22788
+ questionLetterSpacing: -9e-4,
22789
+ answerFontSize: 0.01111,
22790
+ answerLineHeight: 0.01388,
22789
22791
  questionPaddingLeft: 0,
22790
- questionPaddingTop: 0.01,
22791
- questionPaddingBottom: 0.01,
22792
- answerPaddingLeft: 0,
22793
- answerPaddingRight: 0,
22794
- answerPaddingTop: 0.01,
22795
- answerPaddingBottom: 0.01
22792
+ questionPaddingTop: 0.01111,
22793
+ questionPaddingBottom: 0.01111,
22794
+ answerPaddingLeft: 0.0625,
22795
+ answerPaddingRight: 0.1625,
22796
+ answerPaddingTop: 0,
22797
+ answerPaddingBottom: 0.01111
22796
22798
  }
22797
22799
  },
22798
22800
  layout: [
@@ -22899,7 +22901,7 @@ const Di = {
22899
22901
  Xc,
22900
22902
  ad,
22901
22903
  vd,
22902
- wd,
22904
+ Sd,
22903
22905
  Ad,
22904
22906
  zd,
22905
22907
  qu,