@20minutes/hela 2.19.0 → 2.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u" && navigator.userAgent.toLowerCase().includes("firefox"), Gt = () => {
1
+ const jt = () => /Android/i.test(navigator.userAgent), Gt = typeof window < "u" && navigator.userAgent.toLowerCase().includes("firefox"), Ut = () => {
2
2
  const s = document.getElementById("js-download-band");
3
- s && Vt() && s.setAttribute(
3
+ s && jt() && s.setAttribute(
4
4
  "href",
5
5
  "https://app.adjust.com/15shf6wg?campaign=Bandeau_1&deep_link=20minutes%3A%2F%2Fhome"
6
6
  );
7
- }, Ut = () => {
7
+ }, Kt = () => {
8
8
  const s = document.querySelector("#js-election-selector");
9
9
  s && s.addEventListener("change", (t) => {
10
10
  window.location.replace(t.target.value);
11
11
  });
12
- }, Kt = () => {
12
+ }, Xt = () => {
13
13
  const s = document.querySelector(".c-search-banner");
14
14
  if (!s)
15
15
  return;
@@ -24,7 +24,7 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
24
24
  e.getAttribute("aria-expanded") === "true" ? (e.setAttribute("aria-expanded", "false"), i.setAttribute("aria-hidden", "true")) : (e.setAttribute("aria-expanded", "true"), i.setAttribute("aria-hidden", "false"));
25
25
  });
26
26
  }
27
- }, Xt = [
27
+ }, Yt = [
28
28
  {
29
29
  text: "Paris",
30
30
  _index: "town_1717424751904",
@@ -55,7 +55,7 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
55
55
  url: "/elections/resultats/paris/paris-75011"
56
56
  }
57
57
  }
58
- ], Yt = (s, t, e, i, n, o) => {
58
+ ], Jt = (s, t, e, i, n, o) => {
59
59
  const r = document.getElementById(s);
60
60
  if (!r)
61
61
  return;
@@ -64,7 +64,7 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
64
64
  return;
65
65
  const h = r.querySelector(".c-autocomplete__input-spinner"), u = l.getAttribute("data-trigger-message"), f = async (g) => {
66
66
  try {
67
- const _ = a && t.includes("20minutes.fr") ? Xt : await fetch(`${c}${e}${encodeURIComponent(g)}`).then(
67
+ const _ = a && t.includes("20minutes.fr") ? Yt : await fetch(`${c}${e}${encodeURIComponent(g)}`).then(
68
68
  (B) => B.json()
69
69
  ), A = o && typeof _ == "object" && _ !== null ? _[o] : _;
70
70
  return Array.isArray(A) ? A : [];
@@ -98,19 +98,6 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
98
98
  }), l.addEventListener("focusin", () => {
99
99
  d.childElementCount > 0 && d.classList.remove("u-hidden");
100
100
  });
101
- }, Jt = () => {
102
- const s = document.querySelector(".js-content-header"), t = document.querySelector(".js-limit-scroll-close-article-btn"), e = document.querySelector(".js-close-article-btn"), i = document.querySelector(".c-header-mobile"), n = i instanceof HTMLElement ? i.offsetHeight : 0;
103
- if (s && t && e) {
104
- const o = new IntersectionObserver(
105
- () => {
106
- const r = e.classList, a = r.contains("u-hidden"), l = s.getBoundingClientRect().bottom - n, c = t.getBoundingClientRect().bottom - n;
107
- a && l <= 0 && c >= 0 && r.remove("u-hidden"), !a && (l >= 0 || c <= 0) && r.add("u-hidden");
108
- },
109
- // remove height of the header mobile to trigger observer after the header
110
- { root: document, rootMargin: `-${n}px 0px 0px 0px` }
111
- );
112
- o.observe(s), o.observe(t);
113
- }
114
101
  }, Qt = (s) => {
115
102
  s.stopImmediatePropagation(), s.preventDefault();
116
103
  const t = s.currentTarget;
@@ -297,10 +284,24 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
297
284
  n.setAttribute("aria-hidden", "false");
298
285
  })) : e.addEventListener("click", de);
299
286
  });
300
- }, pe = () => {
287
+ }, Tt = (s, t) => {
288
+ const e = document.querySelector(".js-content-header"), i = document.querySelector(t), n = document.querySelector(s), o = document.querySelector(".c-header-mobile"), r = o instanceof HTMLElement ? o.offsetHeight : 0;
289
+ if (e && i && n) {
290
+ const a = new IntersectionObserver(
291
+ () => {
292
+ const l = n.classList, c = l.contains("u-hidden"), d = e.getBoundingClientRect().bottom - r, h = i.getBoundingClientRect().bottom - r;
293
+ c && d <= 0 && h >= 0 && l.remove("u-hidden"), !c && (d >= 0 || h <= 0) && l.add("u-hidden");
294
+ },
295
+ // shrink the top of the observed viewport by the header height so the observer
296
+ // fires only when elements are visible below the sticky mobile header
297
+ { root: document, rootMargin: `-${r}px 0px 0px 0px` }
298
+ );
299
+ a.observe(e), a.observe(i);
300
+ }
301
+ }, pe = () => Tt(".js-close-article-btn", ".js-limit-scroll-close-article-btn"), me = () => Tt(".js-chatbot-btn", ".js-limit-scroll-chatbot-btn"), fe = () => {
301
302
  const s = document.querySelector(".js-game-alert");
302
- jt && s && s.classList.remove("u-hidden");
303
- }, me = () => {
303
+ Gt && s && s.classList.remove("u-hidden");
304
+ }, ge = () => {
304
305
  const s = document.querySelectorAll(".js-half-donut-result");
305
306
  for (const t of Array.from(s)) {
306
307
  const e = t.querySelector(".c-half-donut"), i = t.querySelector(".c-legend");
@@ -319,7 +320,7 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
319
320
  });
320
321
  });
321
322
  }
322
- }, fe = () => {
323
+ }, ve = () => {
323
324
  const s = document.querySelector(".c-image-slider__container");
324
325
  if (!s)
325
326
  return () => {
@@ -383,19 +384,19 @@ const Vt = () => /Android/i.test(navigator.userAgent), jt = typeof window < "u"
383
384
  }), c(!0), h(), () => {
384
385
  u();
385
386
  };
386
- }, ge = (s) => {
387
+ }, ye = (s) => {
387
388
  s.stopImmediatePropagation(), s.preventDefault();
388
389
  const t = s.currentTarget, e = document.getElementById("info-button-content");
389
390
  !(t instanceof HTMLButtonElement) || !e || (t.getAttribute("aria-expanded") === "true" ? (t.setAttribute("aria-expanded", "false"), e.setAttribute("aria-hidden", "true")) : (t.setAttribute("aria-expanded", "true"), e.setAttribute("aria-hidden", "false")));
390
- }, ve = () => {
391
+ }, _e = () => {
391
392
  const s = document.querySelector(".js-info-banner__button");
392
- s instanceof HTMLButtonElement && s.addEventListener("click", ge);
393
+ s instanceof HTMLButtonElement && s.addEventListener("click", ye);
393
394
  }, v = {
394
395
  inert: ":not([inert]):not([inert] *)",
395
396
  negTabIndex: ':not([tabindex^="-"])',
396
397
  disabled: ":not(:disabled)"
397
398
  };
398
- var ye = [
399
+ var we = [
399
400
  `a[href]${v.inert}${v.negTabIndex}`,
400
401
  `area[href]${v.inert}${v.negTabIndex}`,
401
402
  `input:not([type="hidden"]):not([type="radio"])${v.inert}${v.negTabIndex}${v.disabled}`,
@@ -416,14 +417,14 @@ var ye = [
416
417
  function dt(s) {
417
418
  (s.querySelector("[autofocus]") || s).focus();
418
419
  }
419
- function _e(s) {
420
+ function be(s) {
420
421
  const t = W(s, !0), e = t ? W(s, !1) || t : null;
421
422
  return [t, e];
422
423
  }
423
424
  function W(s, t) {
424
425
  if (t && pt(s))
425
426
  return s;
426
- if (be(s))
427
+ if (Le(s))
427
428
  if (s.shadowRoot) {
428
429
  let e = ht(s.shadowRoot, t);
429
430
  for (; e; ) {
@@ -459,16 +460,16 @@ function ht(s, t) {
459
460
  function ut(s, t) {
460
461
  return t ? s.nextElementSibling : s.previousElementSibling;
461
462
  }
462
- const we = (s) => s.matches("details:not([open]) *") && !s.matches("details>summary:first-of-type") ? !0 : !(s.offsetWidth || s.offsetHeight || s.getClientRects().length), pt = (s) => s.shadowRoot?.delegatesFocus ? !1 : s.matches(ye.join(",")) && !we(s);
463
- function be(s) {
463
+ const Se = (s) => s.matches("details:not([open]) *") && !s.matches("details>summary:first-of-type") ? !0 : !(s.offsetWidth || s.offsetHeight || s.getClientRects().length), pt = (s) => s.shadowRoot?.delegatesFocus ? !1 : s.matches(we.join(",")) && !Se(s);
464
+ function Le(s) {
464
465
  return s.shadowRoot && s.getAttribute("tabindex") === "-1" ? !1 : !s.matches(":disabled,[hidden],[inert]");
465
466
  }
466
467
  function V(s = document) {
467
468
  const t = s.activeElement;
468
469
  return t ? t.shadowRoot ? V(t.shadowRoot) || document.activeElement : t : null;
469
470
  }
470
- function Se(s, t) {
471
- const [e, i] = _e(s);
471
+ function Ae(s, t) {
472
+ const [e, i] = be(s);
472
473
  if (!e)
473
474
  return t.preventDefault();
474
475
  const n = V();
@@ -478,16 +479,16 @@ function R(s, t) {
478
479
  function e(i) {
479
480
  if (!i || i === document || i === window)
480
481
  return null;
481
- const n = Tt(i);
482
+ const n = It(i);
482
483
  return n && (i = n), i.closest(s) || e(i.getRootNode().host);
483
484
  }
484
485
  return e(t);
485
486
  }
486
- function Tt(s) {
487
- return s.assignedSlot || (s.parentNode ? Tt(s.parentNode) : null);
487
+ function It(s) {
488
+ return s.assignedSlot || (s.parentNode ? It(s.parentNode) : null);
488
489
  }
489
490
  const Z = "data-a11y-dialog";
490
- class It {
491
+ class Mt {
491
492
  $el;
492
493
  id;
493
494
  previouslyFocused;
@@ -599,7 +600,7 @@ class It {
599
600
  e = !!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open');
600
601
  } catch {
601
602
  }
602
- t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !e && (t.preventDefault(), this.hide(t)), t.key === "Tab" && Se(this.$el, t);
603
+ t.key === "Escape" && this.$el.getAttribute("role") !== "alertdialog" && !e && (t.preventDefault(), this.hide(t)), t.key === "Tab" && Ae(this.$el, t);
603
604
  }
604
605
  /**
605
606
  * If the dialog is shown and the focus is not within a dialog element (either
@@ -614,13 +615,13 @@ class It {
614
615
  }
615
616
  function mt() {
616
617
  for (const s of document.querySelectorAll("[data-a11y-dialog]"))
617
- new It(s);
618
+ new Mt(s);
618
619
  }
619
620
  typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", mt) : mt());
620
- const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
621
+ const Ee = () => document.querySelectorAll(".js-modal").forEach((s) => {
621
622
  if (!(s instanceof HTMLElement))
622
623
  return;
623
- const t = new It(s);
624
+ const t = new Mt(s);
624
625
  if (s.id === "dialog-menu") {
625
626
  const e = document.querySelectorAll("button[data-a11y-dialog-show='dialog-menu']"), i = document.querySelectorAll("button[data-a11y-dialog-hide='dialog-menu']");
626
627
  e.length > 0 && i.length > 0 && (t.on("show", () => {
@@ -642,15 +643,15 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
642
643
  }).on("hide", () => {
643
644
  document.body.classList.remove("noscroll");
644
645
  });
645
- }), Mt = "68px", zt = "50px", lt = ({
646
+ }), zt = "68px", Ot = "50px", lt = ({
646
647
  navigationContainer: s,
647
648
  navigatedList: t,
648
649
  nextBtn: e,
649
650
  prevBtn: i
650
651
  }) => {
651
- const n = s.classList.contains("c-breadcrumb--is-small") ? zt : Mt;
652
+ const n = s.classList.contains("c-breadcrumb--is-small") ? Ot : zt;
652
653
  e.classList.contains("o-nav-button--visible") && !i.classList.contains("o-nav-button--visible") && (s.style.paddingRight = n, s.style.paddingLeft = ""), i.classList.contains("o-nav-button--visible") && (s.style.paddingLeft = n, e.classList.contains("o-nav-button--visible") && (s.style.paddingRight = n), e.classList.contains("o-nav-button--visible") || (s.style.paddingRight = "")), !e.classList.contains("o-nav-button--visible") && !i.classList.contains("o-nav-button--visible") && (t.style.width = "", s.style.paddingRight = "");
653
- }, Ae = ({
654
+ }, Ce = ({
654
655
  navigationContainer: s,
655
656
  navigatedList: t,
656
657
  nextBtn: e,
@@ -663,7 +664,7 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
663
664
  nextBtn: e,
664
665
  prevBtn: i
665
666
  });
666
- }, Ee = ({
667
+ }, xe = ({
667
668
  navigationContainer: s,
668
669
  navigatedList: t,
669
670
  nextBtn: e,
@@ -715,7 +716,7 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
715
716
  prevBtn: i
716
717
  });
717
718
  }
718
- }, Ce = ({
719
+ }, Pe = ({
719
720
  navigationContainer: s,
720
721
  navigatedList: t,
721
722
  nextBtn: e,
@@ -763,19 +764,19 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
763
764
  prevBtn: i
764
765
  });
765
766
  }
766
- }, xe = ({
767
+ }, Te = ({
767
768
  navigationContainer: s,
768
769
  navigatedList: t,
769
770
  nextBtn: e,
770
771
  prevBtn: i
771
772
  }) => {
772
- Ae({
773
+ Ce({
773
774
  navigationContainer: s,
774
775
  navigatedList: t,
775
776
  nextBtn: e,
776
777
  prevBtn: i
777
778
  });
778
- }, Pe = (s) => {
779
+ }, Ie = (s) => {
779
780
  const { sliderVariant: t } = s.dataset, { sliderAuto: e } = s.dataset, { sliderDelay: i } = s.dataset, n = i ? parseInt(i, 10) : 3e3, r = s.closest(".js-overview-bar-container")?.querySelector(".c-stepper"), a = r?.querySelectorAll(".c-stepper__item"), l = s.querySelector(
780
781
  ".js-navigation-container__list"
781
782
  ), c = s.querySelector(".o-nav-button--next-button"), d = s.querySelector(
@@ -783,12 +784,12 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
783
784
  );
784
785
  if (!(!l || !c || !d)) {
785
786
  if (l.clientWidth < l.scrollWidth && (c.classList.add("o-nav-button--visible"), c.classList.contains("c-slider__button-container--has-space-around"))) {
786
- const h = s.classList.contains("c-breadcrumb--is-small") ? zt : Mt;
787
+ const h = s.classList.contains("c-breadcrumb--is-small") ? Ot : zt;
787
788
  s.style.paddingRight = h;
788
789
  }
789
790
  if (c.addEventListener(
790
791
  "click",
791
- Ee.bind(!1, {
792
+ xe.bind(!1, {
792
793
  navigationContainer: s,
793
794
  navigatedList: l,
794
795
  nextBtn: c,
@@ -797,7 +798,7 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
797
798
  })
798
799
  ), d.addEventListener(
799
800
  "click",
800
- Ce.bind(!1, {
801
+ Pe.bind(!1, {
801
802
  navigationContainer: s,
802
803
  navigatedList: l,
803
804
  nextBtn: c,
@@ -822,7 +823,7 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
822
823
  }, n);
823
824
  }
824
825
  }
825
- }, Te = () => {
826
+ }, Me = () => {
826
827
  const s = document.querySelectorAll(".js-navigation-container");
827
828
  Array.from(s).forEach((t) => {
828
829
  const e = t.querySelector(
@@ -832,13 +833,13 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
832
833
  const i = new ResizeObserver((n) => {
833
834
  n.forEach((o) => {
834
835
  const { width: r } = o.contentRect;
835
- r > 0 && (Pe(t), i.disconnect());
836
+ r > 0 && (Ie(t), i.disconnect());
836
837
  });
837
838
  });
838
839
  i.observe(e);
839
840
  }
840
841
  });
841
- }, Ie = () => {
842
+ }, ze = () => {
842
843
  const s = document.querySelectorAll(".js-navigation-container");
843
844
  for (const t of Array.from(s))
844
845
  if (t) {
@@ -851,7 +852,7 @@ const Le = () => document.querySelectorAll(".js-modal").forEach((s) => {
851
852
  );
852
853
  e && i && n && window.addEventListener(
853
854
  "resize",
854
- xe.bind(!1, {
855
+ Te.bind(!1, {
855
856
  navigationContainer: t,
856
857
  navigatedList: e,
857
858
  nextBtn: i,
@@ -867,7 +868,7 @@ function x(s, t, e) {
867
868
  function S(s, t) {
868
869
  return s.x = t.x, s.y = t.y, t.id !== void 0 && (s.id = t.id), s;
869
870
  }
870
- function Ot(s) {
871
+ function Dt(s) {
871
872
  s.x = Math.round(s.x), s.y = Math.round(s.y);
872
873
  }
873
874
  function it(s, t) {
@@ -887,17 +888,17 @@ function G(s, t, e) {
887
888
  function D(s, t, e, i) {
888
889
  s.style.transform = G(t, e, i);
889
890
  }
890
- const Me = "cubic-bezier(.4,0,.22,1)";
891
- function Dt(s, t, e, i) {
892
- s.style.transition = t ? `${t} ${e}ms ${i || Me}` : "none";
891
+ const Oe = "cubic-bezier(.4,0,.22,1)";
892
+ function $t(s, t, e, i) {
893
+ s.style.transition = t ? `${t} ${e}ms ${i || Oe}` : "none";
893
894
  }
894
895
  function st(s, t, e) {
895
896
  s.style.width = typeof t == "number" ? `${t}px` : t, s.style.height = typeof e == "number" ? `${e}px` : e;
896
897
  }
897
- function ze(s) {
898
- Dt(s);
898
+ function De(s) {
899
+ $t(s);
899
900
  }
900
- function Oe(s) {
901
+ function $e(s) {
901
902
  return "decode" in s ? s.decode().catch(() => {
902
903
  }) : s.complete ? Promise.resolve(s) : new Promise((t, e) => {
903
904
  s.onload = () => t(s), s.onerror = e;
@@ -909,10 +910,10 @@ const P = {
909
910
  LOADED: "loaded",
910
911
  ERROR: "error"
911
912
  };
912
- function De(s) {
913
+ function Re(s) {
913
914
  return "button" in s && s.button === 1 || s.ctrlKey || s.metaKey || s.altKey || s.shiftKey;
914
915
  }
915
- function $e(s, t, e = document) {
916
+ function Be(s, t, e = document) {
916
917
  let i = [];
917
918
  if (s instanceof Element)
918
919
  i = [s];
@@ -927,16 +928,16 @@ function $e(s, t, e = document) {
927
928
  function ft() {
928
929
  return !!(navigator.vendor && navigator.vendor.match(/apple/i));
929
930
  }
930
- let $t = !1;
931
+ let Rt = !1;
931
932
  try {
932
933
  window.addEventListener("test", null, Object.defineProperty({}, "passive", {
933
934
  get: () => {
934
- $t = !0;
935
+ Rt = !0;
935
936
  }
936
937
  }));
937
938
  } catch {
938
939
  }
939
- class Re {
940
+ class Fe {
940
941
  constructor() {
941
942
  this._pool = [];
942
943
  }
@@ -993,7 +994,7 @@ class Re {
993
994
  listener: i,
994
995
  passive: n
995
996
  }));
996
- const d = $t ? {
997
+ const d = Rt ? {
997
998
  passive: n || !1
998
999
  } : !1;
999
1000
  t[a](c, i, d);
@@ -1001,7 +1002,7 @@ class Re {
1001
1002
  });
1002
1003
  }
1003
1004
  }
1004
- function Rt(s, t) {
1005
+ function Bt(s, t) {
1005
1006
  if (s.getViewportSizeFn) {
1006
1007
  const e = s.getViewportSizeFn(s, t);
1007
1008
  if (e)
@@ -1028,13 +1029,13 @@ function q(s, t, e, i, n) {
1028
1029
  }
1029
1030
  return Number(o) || 0;
1030
1031
  }
1031
- function Bt(s, t, e, i) {
1032
+ function Ft(s, t, e, i) {
1032
1033
  return {
1033
1034
  x: t.x - q("left", s, t, e, i) - q("right", s, t, e, i),
1034
1035
  y: t.y - q("top", s, t, e, i) - q("bottom", s, t, e, i)
1035
1036
  };
1036
1037
  }
1037
- class Be {
1038
+ class Ze {
1038
1039
  /**
1039
1040
  * @param {Slide} slide
1040
1041
  */
@@ -1090,7 +1091,7 @@ class Be {
1090
1091
  }
1091
1092
  }
1092
1093
  const gt = 4e3;
1093
- let Ft = class {
1094
+ let Zt = class {
1094
1095
  /**
1095
1096
  * @param {PhotoSwipeOptions} options PhotoSwipe options
1096
1097
  * @param {SlideData} itemData Slide data
@@ -1170,7 +1171,7 @@ let Ft = class {
1170
1171
  return this._parseZoomLevelOption("max") || Math.max(1, this.fit * 4);
1171
1172
  }
1172
1173
  };
1173
- class Fe {
1174
+ class ke {
1174
1175
  /**
1175
1176
  * @param {SlideData} data
1176
1177
  * @param {number} index
@@ -1183,11 +1184,11 @@ class Fe {
1183
1184
  }, this.pan = {
1184
1185
  x: 0,
1185
1186
  y: 0
1186
- }, this.isFirstSlide = this.isActive && !i.opener.isOpen, this.zoomLevels = new Ft(i.options, t, e, i), this.pswp.dispatch("gettingData", {
1187
+ }, this.isFirstSlide = this.isActive && !i.opener.isOpen, this.zoomLevels = new Zt(i.options, t, e, i), this.pswp.dispatch("gettingData", {
1187
1188
  slide: this,
1188
1189
  data: this.data,
1189
1190
  index: e
1190
- }), this.content = this.pswp.contentLoader.getContentBySlide(this), this.container = x("pswp__zoom-wrap", "div"), this.holderElement = null, this.currZoomLevel = 1, this.width = this.content.width, this.height = this.content.height, this.heavyAppended = !1, this.bounds = new Be(this), this.prevDisplayedWidth = -1, this.prevDisplayedHeight = -1, this.pswp.dispatch("slideInit", {
1191
+ }), this.content = this.pswp.contentLoader.getContentBySlide(this), this.container = x("pswp__zoom-wrap", "div"), this.holderElement = null, this.currZoomLevel = 1, this.width = this.content.width, this.height = this.content.height, this.heavyAppended = !1, this.bounds = new Ze(this), this.prevDisplayedWidth = -1, this.prevDisplayedHeight = -1, this.pswp.dispatch("slideInit", {
1191
1192
  slide: this
1192
1193
  });
1193
1194
  }
@@ -1311,7 +1312,7 @@ class Fe {
1311
1312
  transitionDuration: i
1312
1313
  }), o.animations.stopAllPan();
1313
1314
  const r = this.currZoomLevel;
1314
- n || (t = U(t, this.zoomLevels.min, this.zoomLevels.max)), this.setZoomLevel(t), this.pan.x = this.calculateZoomToPanOffset("x", e, r), this.pan.y = this.calculateZoomToPanOffset("y", e, r), Ot(this.pan);
1315
+ n || (t = U(t, this.zoomLevels.min, this.zoomLevels.max)), this.setZoomLevel(t), this.pan.x = this.calculateZoomToPanOffset("x", e, r), this.pan.y = this.calculateZoomToPanOffset("y", e, r), Dt(this.pan);
1315
1316
  const a = () => {
1316
1317
  this._setResolution(t), this.applyCurrentZoomPan();
1317
1318
  };
@@ -1412,7 +1413,7 @@ class Fe {
1412
1413
  const {
1413
1414
  pswp: t
1414
1415
  } = this;
1415
- S(this.panAreaSize, Bt(t.options, t.viewportSize, this.data, this.index)), this.zoomLevels.update(this.width, this.height, this.panAreaSize), t.dispatch("calcSlideSize", {
1416
+ S(this.panAreaSize, Ft(t.options, t.viewportSize, this.data, this.index)), this.zoomLevels.update(this.width, this.height, this.panAreaSize), t.dispatch("calcSlideSize", {
1416
1417
  slide: this
1417
1418
  });
1418
1419
  }
@@ -1440,11 +1441,11 @@ class Fe {
1440
1441
  t !== this.currentResolution && (this.currentResolution = t, this.updateContentSize(), this.pswp.dispatch("resolutionChanged"));
1441
1442
  }
1442
1443
  }
1443
- const Ze = 0.35, ke = 0.6, vt = 0.4, yt = 0.5;
1444
- function qe(s, t) {
1444
+ const qe = 0.35, Ne = 0.6, vt = 0.4, yt = 0.5;
1445
+ function He(s, t) {
1445
1446
  return s * t / (1 - t);
1446
1447
  }
1447
- class Ne {
1448
+ class We {
1448
1449
  /**
1449
1450
  * @param {Gestures} gestures
1450
1451
  */
@@ -1470,12 +1471,12 @@ class Ne {
1470
1471
  if (!this.pswp.dispatch("verticalDrag", {
1471
1472
  panY: o
1472
1473
  }).defaultPrevented) {
1473
- this._setPanWithFriction("y", o, ke);
1474
+ this._setPanWithFriction("y", o, Ne);
1474
1475
  const r = 1 - Math.abs(this._getVerticalDragRatio(n.pan.y));
1475
1476
  this.pswp.applyBgOpacity(r), n.applyCurrentZoomPan();
1476
1477
  }
1477
1478
  } else
1478
- this._panOrMoveMainScroll("x") || (this._panOrMoveMainScroll("y"), n && (Ot(n.pan), n.applyCurrentZoomPan()));
1479
+ this._panOrMoveMainScroll("x") || (this._panOrMoveMainScroll("y"), n && (Dt(n.pan), n.applyCurrentZoomPan()));
1479
1480
  }
1480
1481
  end() {
1481
1482
  const {
@@ -1506,7 +1507,7 @@ class Ne {
1506
1507
  const {
1507
1508
  pan: n,
1508
1509
  bounds: o
1509
- } = i, r = n[t], a = this.pswp.bgOpacity < 1 && t === "y", c = r + qe(e[t], 0.995);
1510
+ } = i, r = n[t], a = this.pswp.bgOpacity < 1 && t === "y", c = r + He(e[t], 0.995);
1510
1511
  if (a) {
1511
1512
  const m = this._getVerticalDragRatio(r), p = this._getVerticalDragRatio(c);
1512
1513
  if (m < 0 && p < -vt || m > 0 && p > vt) {
@@ -1621,16 +1622,16 @@ class Ne {
1621
1622
  } = n;
1622
1623
  if (r.correctPan(t, e) !== e || i) {
1623
1624
  const l = Math.round(e - o[t]);
1624
- o[t] += l * (i || Ze);
1625
+ o[t] += l * (i || qe);
1625
1626
  } else
1626
1627
  o[t] = e;
1627
1628
  }
1628
1629
  }
1629
- const He = 0.05, We = 0.15;
1630
+ const Ve = 0.05, je = 0.15;
1630
1631
  function _t(s, t, e) {
1631
1632
  return s.x = (t.x + e.x) / 2, s.y = (t.y + e.y) / 2, s;
1632
1633
  }
1633
- class Ve {
1634
+ class Ge {
1634
1635
  /**
1635
1636
  * @param {Gestures} gestures
1636
1637
  */
@@ -1676,8 +1677,8 @@ class Ve {
1676
1677
  bgOpacity: d
1677
1678
  }).defaultPrevented || o.applyBgOpacity(d);
1678
1679
  } else
1679
- c = a - (a - c) * We;
1680
- else c > l && (c = l + (c - l) * He);
1680
+ c = a - (a - c) * je;
1681
+ else c > l && (c = l + (c - l) * Ve);
1681
1682
  r.pan.x = this._calculatePanForZoomLevel("x", c), r.pan.y = this._calculatePanForZoomLevel("y", c), r.setZoomLevel(c), r.applyCurrentZoomPan();
1682
1683
  }
1683
1684
  end() {
@@ -1765,7 +1766,7 @@ function wt(s) {
1765
1766
  return !!/** @type {HTMLElement} */
1766
1767
  s.target.closest(".pswp__container");
1767
1768
  }
1768
- class je {
1769
+ class Ue {
1769
1770
  /**
1770
1771
  * @param {Gestures} gestures
1771
1772
  */
@@ -1839,8 +1840,8 @@ class je {
1839
1840
  }
1840
1841
  }
1841
1842
  }
1842
- const Ge = 10, Ue = 300, Ke = 25;
1843
- class Xe {
1843
+ const Ke = 10, Xe = 300, Ye = 25;
1844
+ class Je {
1844
1845
  /**
1845
1846
  * @param {PhotoSwipe} pswp
1846
1847
  */
@@ -1872,7 +1873,7 @@ class Xe {
1872
1873
  }, this._intervalP1 = {
1873
1874
  x: 0,
1874
1875
  y: 0
1875
- }, this._numActivePoints = 0, this._ongoingPointers = [], this._touchEventEnabled = "ontouchstart" in window, this._pointerEventEnabled = !!window.PointerEvent, this.supportsTouch = this._touchEventEnabled || this._pointerEventEnabled && navigator.maxTouchPoints > 1, this._numActivePoints = 0, this._intervalTime = 0, this._velocityCalculated = !1, this.isMultitouch = !1, this.isDragging = !1, this.isZooming = !1, this.raf = null, this._tapTimer = null, this.supportsTouch || (t.options.allowPanToNext = !1), this.drag = new Ne(this), this.zoomLevels = new Ve(this), this.tapHandler = new je(this), t.on("bindEvents", () => {
1876
+ }, this._numActivePoints = 0, this._ongoingPointers = [], this._touchEventEnabled = "ontouchstart" in window, this._pointerEventEnabled = !!window.PointerEvent, this.supportsTouch = this._touchEventEnabled || this._pointerEventEnabled && navigator.maxTouchPoints > 1, this._numActivePoints = 0, this._intervalTime = 0, this._velocityCalculated = !1, this.isMultitouch = !1, this.isDragging = !1, this.isZooming = !1, this.raf = null, this._tapTimer = null, this.supportsTouch || (t.options.allowPanToNext = !1), this.drag = new We(this), this.zoomLevels = new Ge(this), this.tapHandler = new Ue(this), t.on("bindEvents", () => {
1876
1877
  t.events.add(
1877
1878
  t.scrollWrap,
1878
1879
  "click",
@@ -1992,8 +1993,8 @@ class Xe {
1992
1993
  this.tapHandler.click(this.startP1, t);
1993
1994
  return;
1994
1995
  }
1995
- const i = this.pswp.options.doubleTapAction ? Ue : 0;
1996
- this._tapTimer ? (this._clearTapTimer(), it(this._lastStartP1, this.startP1) < Ke && this.tapHandler.doubleTap(this.startP1, t)) : (S(this._lastStartP1, this.startP1), this._tapTimer = setTimeout(() => {
1996
+ const i = this.pswp.options.doubleTapAction ? Xe : 0;
1997
+ this._tapTimer ? (this._clearTapTimer(), it(this._lastStartP1, this.startP1) < Ye && this.tapHandler.doubleTap(this.startP1, t)) : (S(this._lastStartP1, this.startP1), this._tapTimer = setTimeout(() => {
1997
1998
  this.tapHandler.tap(this.startP1, t), this._clearTapTimer();
1998
1999
  }, i));
1999
2000
  }
@@ -2079,7 +2080,7 @@ class Xe {
2079
2080
  const t = Math.abs(this.p1.x - this.startP1.x) - Math.abs(this.p1.y - this.startP1.y);
2080
2081
  if (t !== 0) {
2081
2082
  const e = t > 0 ? "x" : "y";
2082
- Math.abs(this.p1[e] - this.startP1[e]) >= Ge && (this.dragAxis = e);
2083
+ Math.abs(this.p1[e] - this.startP1[e]) >= Ke && (this.dragAxis = e);
2083
2084
  }
2084
2085
  }
2085
2086
  }
@@ -2103,8 +2104,8 @@ class Xe {
2103
2104
  this.pswp.mainScroll.isShifted() && (t.preventDefault(), t.stopPropagation());
2104
2105
  }
2105
2106
  }
2106
- const Ye = 0.35;
2107
- class Je {
2107
+ const Qe = 0.35;
2108
+ class ti {
2108
2109
  /**
2109
2110
  * @param {PhotoSwipe} pswp
2110
2111
  */
@@ -2257,7 +2258,7 @@ class Je {
2257
2258
  let i = (this.slideWidth * this._currPositionIndex - t) / this.slideWidth;
2258
2259
  i += this.pswp.currIndex;
2259
2260
  const n = Math.round(t - this.x);
2260
- (i < 0 && n > 0 || i >= this.pswp.getNumItems() - 1 && n < 0) && (t = this.x + n * Ye);
2261
+ (i < 0 && n > 0 || i >= this.pswp.getNumItems() - 1 && n < 0) && (t = this.x + n * Qe);
2261
2262
  }
2262
2263
  this.x = t, this.pswp.container && D(this.pswp.container, t), this.pswp.dispatch("moveMainScroll", {
2263
2264
  x: t,
@@ -2265,7 +2266,7 @@ class Je {
2265
2266
  });
2266
2267
  }
2267
2268
  }
2268
- const Qe = {
2269
+ const ei = {
2269
2270
  Escape: 27,
2270
2271
  z: 90,
2271
2272
  ArrowLeft: 37,
@@ -2273,8 +2274,8 @@ const Qe = {
2273
2274
  ArrowRight: 39,
2274
2275
  ArrowDown: 40,
2275
2276
  Tab: 9
2276
- }, O = (s, t) => t ? s : Qe[s];
2277
- class ti {
2277
+ }, O = (s, t) => t ? s : ei[s];
2278
+ class ii {
2278
2279
  /**
2279
2280
  * @param {PhotoSwipe} pswp
2280
2281
  */
@@ -2314,7 +2315,7 @@ class ti {
2314
2315
  } = this;
2315
2316
  if (e.dispatch("keydown", {
2316
2317
  originalEvent: t
2317
- }).defaultPrevented || De(t))
2318
+ }).defaultPrevented || Re(t))
2318
2319
  return;
2319
2320
  let i, n, o = !1;
2320
2321
  const r = "key" in t;
@@ -2366,8 +2367,8 @@ class ti {
2366
2367
  ) && e.focus();
2367
2368
  }
2368
2369
  }
2369
- const ei = "cubic-bezier(.4,0,.22,1)";
2370
- class ii {
2370
+ const si = "cubic-bezier(.4,0,.22,1)";
2371
+ class ni {
2371
2372
  /**
2372
2373
  * onComplete can be unpredictable, be careful about current state
2373
2374
  *
@@ -2383,12 +2384,12 @@ class ii {
2383
2384
  onFinish: r = () => {
2384
2385
  },
2385
2386
  duration: a = 333,
2386
- easing: l = ei
2387
+ easing: l = si
2387
2388
  } = t;
2388
2389
  this.onFinish = r;
2389
2390
  const c = o ? "transform" : "opacity", d = (e = t[c]) !== null && e !== void 0 ? e : "";
2390
2391
  this._target = i, this._onComplete = n, this._finished = !1, this._onTransitionEnd = this._onTransitionEnd.bind(this), this._helperTimeout = setTimeout(() => {
2391
- Dt(i, c, a, l), this._helperTimeout = setTimeout(() => {
2392
+ $t(i, c, a, l), this._helperTimeout = setTimeout(() => {
2392
2393
  i.addEventListener("transitionend", this._onTransitionEnd, !1), i.addEventListener("transitioncancel", this._onTransitionEnd, !1), this._helperTimeout = setTimeout(() => {
2393
2394
  this._finalizeAnimation();
2394
2395
  }, a + 500), i.style[c] = d;
@@ -2410,11 +2411,11 @@ class ii {
2410
2411
  }
2411
2412
  // Destroy is called automatically onFinish
2412
2413
  destroy() {
2413
- this._helperTimeout && clearTimeout(this._helperTimeout), ze(this._target), this._target.removeEventListener("transitionend", this._onTransitionEnd, !1), this._target.removeEventListener("transitioncancel", this._onTransitionEnd, !1), this._finished || this._finalizeAnimation();
2414
+ this._helperTimeout && clearTimeout(this._helperTimeout), De(this._target), this._target.removeEventListener("transitionend", this._onTransitionEnd, !1), this._target.removeEventListener("transitioncancel", this._onTransitionEnd, !1), this._finished || this._finalizeAnimation();
2414
2415
  }
2415
2416
  }
2416
- const si = 12, ni = 0.75;
2417
- class oi {
2417
+ const oi = 12, ri = 0.75;
2418
+ class ai {
2418
2419
  /**
2419
2420
  * @param {number} initialVelocity Initial velocity, px per ms.
2420
2421
  *
@@ -2431,7 +2432,7 @@ class oi {
2431
2432
  * Recommended value from 10 to 50
2432
2433
  */
2433
2434
  constructor(t, e, i) {
2434
- this.velocity = t * 1e3, this._dampingRatio = e || ni, this._naturalFrequency = i || si, this._dampedFrequency = this._naturalFrequency, this._dampingRatio < 1 && (this._dampedFrequency *= Math.sqrt(1 - this._dampingRatio * this._dampingRatio));
2435
+ this.velocity = t * 1e3, this._dampingRatio = e || ri, this._naturalFrequency = i || oi, this._dampedFrequency = this._naturalFrequency, this._dampingRatio < 1 && (this._dampedFrequency *= Math.sqrt(1 - this._dampingRatio * this._dampingRatio));
2435
2436
  }
2436
2437
  /**
2437
2438
  * @param {number} deltaPosition Difference between current and end position of the animation
@@ -2453,7 +2454,7 @@ class oi {
2453
2454
  return i;
2454
2455
  }
2455
2456
  }
2456
- class ri {
2457
+ class li {
2457
2458
  /**
2458
2459
  * @param {SpringAnimationProps} props
2459
2460
  */
@@ -2471,7 +2472,7 @@ class ri {
2471
2472
  naturalFrequency: c
2472
2473
  } = t;
2473
2474
  this.onFinish = a;
2474
- const d = new oi(n, l, c);
2475
+ const d = new ai(n, l, c);
2475
2476
  let h = Date.now(), u = e - i;
2476
2477
  const f = () => {
2477
2478
  this._raf && (u = d.easeFrame(u, Date.now() - h), Math.abs(u) < 1 && Math.abs(d.velocity) < 50 ? (o(i), r && r(), this.onFinish()) : (h = Date.now(), o(u + i), this._raf = requestAnimationFrame(f)));
@@ -2483,7 +2484,7 @@ class ri {
2483
2484
  this._raf >= 0 && cancelAnimationFrame(this._raf), this._raf = 0;
2484
2485
  }
2485
2486
  }
2486
- class ai {
2487
+ class ci {
2487
2488
  constructor() {
2488
2489
  this.activeAnimations = [];
2489
2490
  }
@@ -2506,10 +2507,10 @@ class ai {
2506
2507
  * @returns {Animation}
2507
2508
  */
2508
2509
  _start(t, e) {
2509
- const i = e ? new ri(
2510
+ const i = e ? new li(
2510
2511
  /** @type SpringAnimationProps */
2511
2512
  t
2512
- ) : new ii(
2513
+ ) : new ni(
2513
2514
  /** @type CssAnimationProps */
2514
2515
  t
2515
2516
  );
@@ -2552,7 +2553,7 @@ class ai {
2552
2553
  return this.activeAnimations.some((t) => t.props.isPan);
2553
2554
  }
2554
2555
  }
2555
- class li {
2556
+ class di {
2556
2557
  /**
2557
2558
  * @param {PhotoSwipe} pswp
2558
2559
  */
@@ -2594,7 +2595,7 @@ class li {
2594
2595
  e.isPannable() && (t.deltaMode === 1 && (i *= 18, n *= 18), e.panTo(e.pan.x - i, e.pan.y - n));
2595
2596
  }
2596
2597
  }
2597
- function ci(s) {
2598
+ function hi(s) {
2598
2599
  if (typeof s == "string")
2599
2600
  return s;
2600
2601
  if (!s || !s.isCustomSVG)
@@ -2606,7 +2607,7 @@ function ci(s) {
2606
2607
  t.size || 32
2607
2608
  ), t.outlineID && (e += '<use class="pswp__icn-shadow" xlink:href="#' + t.outlineID + '"/>'), e += t.inner, e += "</svg>", e;
2608
2609
  }
2609
- class di {
2610
+ class ui {
2610
2611
  /**
2611
2612
  * @param {PhotoSwipe} pswp
2612
2613
  * @param {UIElementData} data
@@ -2638,7 +2639,7 @@ class di {
2638
2639
  const f = u || h;
2639
2640
  f && l.setAttribute("aria-label", f);
2640
2641
  }
2641
- l.innerHTML = ci(o), e.onInit && e.onInit(l, t), e.onClick && (l.onclick = (h) => {
2642
+ l.innerHTML = hi(o), e.onInit && e.onInit(l, t), e.onClick && (l.onclick = (h) => {
2642
2643
  typeof e.onClick == "string" ? t[e.onClick]() : typeof e.onClick == "function" && e.onClick(h, l, t);
2643
2644
  });
2644
2645
  const c = e.appendTo || "bar";
@@ -2646,12 +2647,12 @@ class di {
2646
2647
  c === "bar" ? (t.topBar || (t.topBar = x("pswp__top-bar pswp__hide-on-close", "div", t.scrollWrap)), d = t.topBar) : (l.classList.add("pswp__hide-on-close"), c === "wrapper" && (d = t.scrollWrap)), (i = d) === null || i === void 0 || i.appendChild(t.applyFilters("uiElement", l, e));
2647
2648
  }
2648
2649
  }
2649
- function Zt(s, t, e) {
2650
+ function kt(s, t, e) {
2650
2651
  s.classList.add("pswp__button--arrow"), s.setAttribute("aria-controls", "pswp__items"), t.on("change", () => {
2651
2652
  t.options.loop || (e ? s.disabled = !(t.currIndex < t.getNumItems() - 1) : s.disabled = !(t.currIndex > 0));
2652
2653
  });
2653
2654
  }
2654
- const hi = {
2655
+ const pi = {
2655
2656
  name: "arrowPrev",
2656
2657
  className: "pswp__button--arrow--prev",
2657
2658
  title: "Previous",
@@ -2665,8 +2666,8 @@ const hi = {
2665
2666
  outlineID: "pswp__icn-arrow"
2666
2667
  },
2667
2668
  onClick: "prev",
2668
- onInit: Zt
2669
- }, ui = {
2669
+ onInit: kt
2670
+ }, mi = {
2670
2671
  name: "arrowNext",
2671
2672
  className: "pswp__button--arrow--next",
2672
2673
  title: "Next",
@@ -2681,9 +2682,9 @@ const hi = {
2681
2682
  },
2682
2683
  onClick: "next",
2683
2684
  onInit: (s, t) => {
2684
- Zt(s, t, !0);
2685
+ kt(s, t, !0);
2685
2686
  }
2686
- }, pi = {
2687
+ }, fi = {
2687
2688
  name: "close",
2688
2689
  title: "Close",
2689
2690
  order: 20,
@@ -2694,7 +2695,7 @@ const hi = {
2694
2695
  outlineID: "pswp__icn-close"
2695
2696
  },
2696
2697
  onClick: "close"
2697
- }, mi = {
2698
+ }, gi = {
2698
2699
  name: "zoom",
2699
2700
  title: "Zoom",
2700
2701
  order: 10,
@@ -2706,7 +2707,7 @@ const hi = {
2706
2707
  outlineID: "pswp__icn-zoom"
2707
2708
  },
2708
2709
  onClick: "toggleZoom"
2709
- }, fi = {
2710
+ }, vi = {
2710
2711
  name: "preloader",
2711
2712
  appendTo: "bar",
2712
2713
  order: 7,
@@ -2737,7 +2738,7 @@ const hi = {
2737
2738
  t.currSlide === a.slide && r();
2738
2739
  }), t.ui && (t.ui.updatePreloaderVisibility = r);
2739
2740
  }
2740
- }, gi = {
2741
+ }, yi = {
2741
2742
  name: "counter",
2742
2743
  order: 5,
2743
2744
  onInit: (s, t) => {
@@ -2749,7 +2750,7 @@ const hi = {
2749
2750
  function bt(s, t) {
2750
2751
  s.classList.toggle("pswp--zoomed-in", t);
2751
2752
  }
2752
- class vi {
2753
+ class _i {
2753
2754
  /**
2754
2755
  * @param {PhotoSwipe} pswp
2755
2756
  */
@@ -2761,7 +2762,7 @@ class vi {
2761
2762
  const {
2762
2763
  pswp: t
2763
2764
  } = this;
2764
- this.isRegistered = !1, this.uiElementsData = [pi, hi, ui, mi, fi, gi], t.dispatch("uiRegister"), this.uiElementsData.sort((e, i) => (e.order || 0) - (i.order || 0)), this.items = [], this.isRegistered = !0, this.uiElementsData.forEach((e) => {
2765
+ this.isRegistered = !1, this.uiElementsData = [fi, pi, mi, gi, vi, yi], t.dispatch("uiRegister"), this.uiElementsData.sort((e, i) => (e.order || 0) - (i.order || 0)), this.items = [], this.isRegistered = !0, this.uiElementsData.forEach((e) => {
2765
2766
  this.registerElement(e);
2766
2767
  }), t.on("change", () => {
2767
2768
  var e;
@@ -2772,7 +2773,7 @@ class vi {
2772
2773
  * @param {UIElementData} elementData
2773
2774
  */
2774
2775
  registerElement(t) {
2775
- this.isRegistered ? this.items.push(new di(this.pswp, t)) : this.uiElementsData.push(t);
2776
+ this.isRegistered ? this.items.push(new ui(this.pswp, t)) : this.uiElementsData.push(t);
2776
2777
  }
2777
2778
  /**
2778
2779
  * Fired each time zoom or pan position is changed.
@@ -2804,7 +2805,7 @@ class vi {
2804
2805
  bt(t, r <= n), (i.imageClickAction === "zoom" || i.imageClickAction === "zoom-or-close") && t.classList.add("pswp--click-to-zoom");
2805
2806
  }
2806
2807
  }
2807
- function yi(s) {
2808
+ function wi(s) {
2808
2809
  const t = s.getBoundingClientRect();
2809
2810
  return {
2810
2811
  x: t.left,
@@ -2812,7 +2813,7 @@ function yi(s) {
2812
2813
  w: t.width
2813
2814
  };
2814
2815
  }
2815
- function _i(s, t, e) {
2816
+ function bi(s, t, e) {
2816
2817
  const i = s.getBoundingClientRect(), n = i.width / t, o = i.height / e, r = n > o ? n : o, a = (i.width - t * r) / 2, l = (i.height - e * r) / 2, c = {
2817
2818
  x: i.left + a,
2818
2819
  y: i.top + l,
@@ -2825,7 +2826,7 @@ function _i(s, t, e) {
2825
2826
  y: l
2826
2827
  }, c;
2827
2828
  }
2828
- function wi(s, t, e) {
2829
+ function Si(s, t, e) {
2829
2830
  const i = e.dispatch("thumbBounds", {
2830
2831
  index: s,
2831
2832
  itemData: t,
@@ -2844,9 +2845,9 @@ function wi(s, t, e) {
2844
2845
  n.querySelector(a)
2845
2846
  );
2846
2847
  }
2847
- return r = e.applyFilters("thumbEl", r, t, s), r && (t.thumbCropped ? o = _i(r, t.width || t.w || 0, t.height || t.h || 0) : o = yi(r)), e.applyFilters("thumbBounds", o, t, s);
2848
+ return r = e.applyFilters("thumbEl", r, t, s), r && (t.thumbCropped ? o = bi(r, t.width || t.w || 0, t.height || t.h || 0) : o = wi(r)), e.applyFilters("thumbBounds", o, t, s);
2848
2849
  }
2849
- let bi = class {
2850
+ let Li = class {
2850
2851
  /**
2851
2852
  * @param {T} type
2852
2853
  * @param {PhotoSwipeEventsMap[T]} [details]
@@ -2857,7 +2858,7 @@ let bi = class {
2857
2858
  preventDefault() {
2858
2859
  this.defaultPrevented = !0;
2859
2860
  }
2860
- }, Si = class {
2861
+ }, Ai = class {
2861
2862
  constructor() {
2862
2863
  this._listeners = {}, this._filters = {}, this.pswp = void 0, this.options = void 0;
2863
2864
  }
@@ -2924,13 +2925,13 @@ let bi = class {
2924
2925
  return this.pswp.dispatch(t, e);
2925
2926
  const n = (
2926
2927
  /** @type {AugmentedEvent<T>} */
2927
- new bi(t, e)
2928
+ new Li(t, e)
2928
2929
  );
2929
2930
  return (i = this._listeners[t]) === null || i === void 0 || i.forEach((o) => {
2930
2931
  o.call(this, n);
2931
2932
  }), n;
2932
2933
  }
2933
- }, Li = class {
2934
+ }, Ei = class {
2934
2935
  /**
2935
2936
  * @param {string | false} imageSrc
2936
2937
  * @param {HTMLElement} container
@@ -2956,7 +2957,7 @@ let bi = class {
2956
2957
  var t;
2957
2958
  (t = this.element) !== null && t !== void 0 && t.parentNode && this.element.remove(), this.element = null;
2958
2959
  }
2959
- }, Ai = class {
2960
+ }, Ci = class {
2960
2961
  /**
2961
2962
  * @param {SlideData} itemData Slide data
2962
2963
  * @param {PhotoSwipeBase} instance PhotoSwipe or PhotoSwipeLightbox instance
@@ -2991,7 +2992,7 @@ let bi = class {
2991
2992
  this.data.msrc && this.slide.isFirstSlide ? this.data.msrc : !1,
2992
2993
  this
2993
2994
  );
2994
- this.placeholder = new Li(i, this.slide.container);
2995
+ this.placeholder = new Ei(i, this.slide.container);
2995
2996
  }
2996
2997
  this.element && !e || this.instance.dispatch("contentLoad", {
2997
2998
  content: this,
@@ -3201,36 +3202,36 @@ let bi = class {
3201
3202
  }).defaultPrevented || (this.slide && this.element && !this.element.parentNode && this.slide.container.appendChild(this.element), (this.state === P.LOADED || this.state === P.ERROR) && this.removePlaceholder()));
3202
3203
  }
3203
3204
  };
3204
- const Ei = 5;
3205
- function kt(s, t, e) {
3205
+ const xi = 5;
3206
+ function qt(s, t, e) {
3206
3207
  const i = t.createContentFromData(s, e);
3207
3208
  let n;
3208
3209
  const {
3209
3210
  options: o
3210
3211
  } = t;
3211
3212
  if (o) {
3212
- n = new Ft(o, s, -1);
3213
+ n = new Zt(o, s, -1);
3213
3214
  let r;
3214
- t.pswp ? r = t.pswp.viewportSize : r = Rt(o, t);
3215
- const a = Bt(o, r, s, e);
3215
+ t.pswp ? r = t.pswp.viewportSize : r = Bt(o, t);
3216
+ const a = Ft(o, r, s, e);
3216
3217
  n.update(i.width, i.height, a);
3217
3218
  }
3218
3219
  return i.lazyLoad(), n && i.setDisplayedSize(Math.ceil(i.width * n.initial), Math.ceil(i.height * n.initial)), i;
3219
3220
  }
3220
- function Ci(s, t) {
3221
+ function Pi(s, t) {
3221
3222
  const e = t.getItemData(s);
3222
3223
  if (!t.dispatch("lazyLoadSlide", {
3223
3224
  index: s,
3224
3225
  itemData: e
3225
3226
  }).defaultPrevented)
3226
- return kt(e, t, s);
3227
+ return qt(e, t, s);
3227
3228
  }
3228
- class xi {
3229
+ class Ti {
3229
3230
  /**
3230
3231
  * @param {PhotoSwipe} pswp
3231
3232
  */
3232
3233
  constructor(t) {
3233
- this.pswp = t, this.limit = Math.max(t.options.preload[0] + t.options.preload[1] + 1, Ei), this._cachedItems = [];
3234
+ this.pswp = t, this.limit = Math.max(t.options.preload[0] + t.options.preload[1] + 1, xi), this._cachedItems = [];
3234
3235
  }
3235
3236
  /**
3236
3237
  * Lazy load nearby slides based on `preload` option.
@@ -3258,7 +3259,7 @@ class xi {
3258
3259
  loadSlideByIndex(t) {
3259
3260
  const e = this.pswp.getLoopedIndex(t);
3260
3261
  let i = this.getContentByIndex(e);
3261
- i || (i = Ci(e, this.pswp), i && this.addToCache(i));
3262
+ i || (i = Pi(e, this.pswp), i && this.addToCache(i));
3262
3263
  }
3263
3264
  /**
3264
3265
  * @param {Slide} slide
@@ -3297,7 +3298,7 @@ class xi {
3297
3298
  this._cachedItems.forEach((t) => t.destroy()), this._cachedItems = [];
3298
3299
  }
3299
3300
  }
3300
- let Pi = class extends Si {
3301
+ let Ii = class extends Ai {
3301
3302
  /**
3302
3303
  * Get total number of slides
3303
3304
  *
@@ -3320,7 +3321,7 @@ let Pi = class extends Si {
3320
3321
  * @returns {Content}
3321
3322
  */
3322
3323
  createContentFromData(t, e) {
3323
- return new Ai(t, this, e);
3324
+ return new Ci(t, this, e);
3324
3325
  }
3325
3326
  /**
3326
3327
  * Get item data by index.
@@ -3354,7 +3355,7 @@ let Pi = class extends Si {
3354
3355
  */
3355
3356
  _getGalleryDOMElements(t) {
3356
3357
  var e, i;
3357
- return (e = this.options) !== null && e !== void 0 && e.children || (i = this.options) !== null && i !== void 0 && i.childSelector ? $e(this.options.children, this.options.childSelector, t) || [] : [t];
3358
+ return (e = this.options) !== null && e !== void 0 && e.children || (i = this.options) !== null && i !== void 0 && i.childSelector ? Be(this.options.children, this.options.childSelector, t) || [] : [t];
3358
3359
  }
3359
3360
  /**
3360
3361
  * Converts DOM element to item data object.
@@ -3388,11 +3389,11 @@ let Pi = class extends Si {
3388
3389
  * @returns {Content} Image that is being decoded or false.
3389
3390
  */
3390
3391
  lazyLoadData(t, e) {
3391
- return kt(t, this, e);
3392
+ return qt(t, this, e);
3392
3393
  }
3393
3394
  };
3394
3395
  const k = 3e-3;
3395
- class Ti {
3396
+ class Mi {
3396
3397
  /**
3397
3398
  * @param {PhotoSwipe} pswp
3398
3399
  */
@@ -3445,7 +3446,7 @@ class Ti {
3445
3446
  _start() {
3446
3447
  this.isOpening && this._useAnimation && this._placeholder && this._placeholder.tagName === "IMG" ? new Promise((t) => {
3447
3448
  let e = !1, i = !0;
3448
- Oe(
3449
+ $e(
3449
3450
  /** @type {HTMLImageElement} */
3450
3451
  this._placeholder
3451
3452
  ).finally(() => {
@@ -3536,7 +3537,7 @@ class Ti {
3536
3537
  o[e] = i, n.startTransition(o);
3537
3538
  }
3538
3539
  }
3539
- const Ii = {
3540
+ const zi = {
3540
3541
  allowPanToNext: !0,
3541
3542
  spacing: 0.1,
3542
3543
  loop: !0,
@@ -3563,7 +3564,7 @@ const Ii = {
3563
3564
  preload: [1, 2],
3564
3565
  easing: "cubic-bezier(.4,0,.22,1)"
3565
3566
  };
3566
- class Mi extends Pi {
3567
+ class Oi extends Ii {
3567
3568
  /**
3568
3569
  * @param {PhotoSwipeOptions} [options]
3569
3570
  */
@@ -3577,7 +3578,7 @@ class Mi extends Pi {
3577
3578
  }, this.viewportSize = {
3578
3579
  x: 0,
3579
3580
  y: 0
3580
- }, this.bgOpacity = 1, this.currIndex = 0, this.potentialIndex = 0, this.isOpen = !1, this.isDestroying = !1, this.hasMouse = !1, this._initialItemData = {}, this._initialThumbBounds = void 0, this.topBar = void 0, this.element = void 0, this.template = void 0, this.container = void 0, this.scrollWrap = void 0, this.currSlide = void 0, this.events = new Re(), this.animations = new ai(), this.mainScroll = new Je(this), this.gestures = new Xe(this), this.opener = new Ti(this), this.keyboard = new ti(this), this.contentLoader = new xi(this);
3581
+ }, this.bgOpacity = 1, this.currIndex = 0, this.potentialIndex = 0, this.isOpen = !1, this.isDestroying = !1, this.hasMouse = !1, this._initialItemData = {}, this._initialThumbBounds = void 0, this.topBar = void 0, this.element = void 0, this.template = void 0, this.container = void 0, this.scrollWrap = void 0, this.currSlide = void 0, this.events = new Fe(), this.animations = new ci(), this.mainScroll = new ti(this), this.gestures = new Je(this), this.opener = new Mi(this), this.keyboard = new ii(this), this.contentLoader = new Ti(this);
3581
3582
  }
3582
3583
  /** @returns {boolean} */
3583
3584
  init() {
@@ -3585,7 +3586,7 @@ class Mi extends Pi {
3585
3586
  return !1;
3586
3587
  this.isOpen = !0, this.dispatch("init"), this.dispatch("beforeOpen"), this._createMainStructure();
3587
3588
  let t = "pswp--open";
3588
- return this.gestures.supportsTouch && (t += " pswp--touch"), this.options.mainClass && (t += " " + this.options.mainClass), this.element && (this.element.className += " " + t), this.currIndex = this.options.index || 0, this.potentialIndex = this.currIndex, this.dispatch("firstUpdate"), this.scrollWheel = new li(this), (Number.isNaN(this.currIndex) || this.currIndex < 0 || this.currIndex >= this.getNumItems()) && (this.currIndex = 0), this.gestures.supportsTouch || this.mouseDetected(), this.updateSize(), this.offset.y = window.pageYOffset, this._initialItemData = this.getItemData(this.currIndex), this.dispatch("gettingData", {
3589
+ return this.gestures.supportsTouch && (t += " pswp--touch"), this.options.mainClass && (t += " " + this.options.mainClass), this.element && (this.element.className += " " + t), this.currIndex = this.options.index || 0, this.potentialIndex = this.currIndex, this.dispatch("firstUpdate"), this.scrollWheel = new di(this), (Number.isNaN(this.currIndex) || this.currIndex < 0 || this.currIndex >= this.getNumItems()) && (this.currIndex = 0), this.gestures.supportsTouch || this.mouseDetected(), this.updateSize(), this.offset.y = window.pageYOffset, this._initialItemData = this.getItemData(this.currIndex), this.dispatch("gettingData", {
3589
3590
  index: this.currIndex,
3590
3591
  data: this._initialItemData,
3591
3592
  slide: void 0
@@ -3704,7 +3705,7 @@ class Mi extends Pi {
3704
3705
  if (!this.canLoop() && (e < 0 || e >= this.getNumItems()))
3705
3706
  return;
3706
3707
  const n = this.getItemData(e);
3707
- t.slide = new Fe(n, e, this), e === this.currIndex && (this.currSlide = t.slide), t.slide.append(t.el);
3708
+ t.slide = new ke(n, e, this), e === this.currIndex && (this.currSlide = t.slide), t.slide.append(t.el);
3708
3709
  }
3709
3710
  /** @returns {Point} */
3710
3711
  getViewportCenterPoint() {
@@ -3722,7 +3723,7 @@ class Mi extends Pi {
3722
3723
  updateSize(t) {
3723
3724
  if (this.isDestroying)
3724
3725
  return;
3725
- const e = Rt(this.options, this);
3726
+ const e = Bt(this.options, this);
3726
3727
  !t && j(e, this._prevViewportSize) || (S(this._prevViewportSize, e), this.dispatch("beforeResize"), S(this.viewportSize, this._prevViewportSize), this._updatePageScrollOffset(), this.dispatch("viewportSize"), this.mainScroll.resize(this.opener.isOpen), !this.hasMouse && window.matchMedia("(any-hover: hover)").matches && this.mouseDetected(), this.dispatch("resize"));
3727
3728
  }
3728
3729
  /**
@@ -3774,7 +3775,7 @@ class Mi extends Pi {
3774
3775
  * @private
3775
3776
  */
3776
3777
  _createMainStructure() {
3777
- this.element = x("pswp", "div"), this.element.setAttribute("tabindex", "-1"), this.element.setAttribute("role", "dialog"), this.template = this.element, this.bg = x("pswp__bg", "div", this.element), this.scrollWrap = x("pswp__scroll-wrap", "section", this.element), this.container = x("pswp__container", "div", this.scrollWrap), this.scrollWrap.setAttribute("aria-roledescription", "carousel"), this.container.setAttribute("aria-live", "off"), this.container.setAttribute("id", "pswp__items"), this.mainScroll.appendHolders(), this.ui = new vi(this), this.ui.init(), (this.options.appendToEl || document.body).appendChild(this.element);
3778
+ this.element = x("pswp", "div"), this.element.setAttribute("tabindex", "-1"), this.element.setAttribute("role", "dialog"), this.template = this.element, this.bg = x("pswp__bg", "div", this.element), this.scrollWrap = x("pswp__scroll-wrap", "section", this.element), this.container = x("pswp__container", "div", this.scrollWrap), this.scrollWrap.setAttribute("aria-roledescription", "carousel"), this.container.setAttribute("aria-live", "off"), this.container.setAttribute("id", "pswp__items"), this.mainScroll.appendHolders(), this.ui = new _i(this), this.ui.init(), (this.options.appendToEl || document.body).appendChild(this.element);
3778
3779
  }
3779
3780
  /**
3780
3781
  * Get position and dimensions of small thumbnail
@@ -3785,7 +3786,7 @@ class Mi extends Pi {
3785
3786
  * @returns {Bounds | undefined}
3786
3787
  */
3787
3788
  getThumbBounds() {
3788
- return wi(this.currIndex, this.currSlide ? this.currSlide.data : this._initialItemData, this);
3789
+ return Si(this.currIndex, this.currSlide ? this.currSlide.data : this._initialItemData, this);
3789
3790
  }
3790
3791
  /**
3791
3792
  * If the PhotoSwipe can have continuous loop
@@ -3801,7 +3802,7 @@ class Mi extends Pi {
3801
3802
  */
3802
3803
  _prepareOptions(t) {
3803
3804
  return window.matchMedia("(prefers-reduced-motion), (update: slow)").matches && (t.showHideAnimationType = "none", t.zoomAnimationDuration = 0), {
3804
- ...Ii,
3805
+ ...zi,
3805
3806
  ...t
3806
3807
  };
3807
3808
  }
@@ -3810,7 +3811,7 @@ function N(s, t, e) {
3810
3811
  const i = document.createElement(t);
3811
3812
  return s && (i.className = s), e && e.appendChild(i), i;
3812
3813
  }
3813
- function zi(s, t, e) {
3814
+ function Di(s, t, e) {
3814
3815
  let i = `translate3d(${s}px,0px,0)`;
3815
3816
  return e !== void 0 && (i += ` scale3d(${e},${e},1)`), i;
3816
3817
  }
@@ -3823,7 +3824,7 @@ const T = {
3823
3824
  LOADED: "loaded",
3824
3825
  ERROR: "error"
3825
3826
  };
3826
- function Oi(s) {
3827
+ function $i(s) {
3827
3828
  return "button" in s && s.button === 1 || s.ctrlKey || s.metaKey || s.altKey || s.shiftKey;
3828
3829
  }
3829
3830
  function H(s, t, e = document) {
@@ -3838,13 +3839,13 @@ function H(s, t, e = document) {
3838
3839
  }
3839
3840
  return i;
3840
3841
  }
3841
- function Di(s) {
3842
+ function Ri(s) {
3842
3843
  return typeof s == "function" && s.prototype && s.prototype.goTo;
3843
3844
  }
3844
3845
  function St() {
3845
3846
  return !!(navigator.vendor && navigator.vendor.match(/apple/i));
3846
3847
  }
3847
- class $i {
3848
+ class Bi {
3848
3849
  /**
3849
3850
  * @param {T} type
3850
3851
  * @param {PhotoSwipeEventsMap[T]} [details]
@@ -3856,7 +3857,7 @@ class $i {
3856
3857
  this.defaultPrevented = !0;
3857
3858
  }
3858
3859
  }
3859
- class Ri {
3860
+ class Fi {
3860
3861
  constructor() {
3861
3862
  this._listeners = {}, this._filters = {}, this.pswp = void 0, this.options = void 0;
3862
3863
  }
@@ -3923,14 +3924,14 @@ class Ri {
3923
3924
  return this.pswp.dispatch(t, e);
3924
3925
  const n = (
3925
3926
  /** @type {AugmentedEvent<T>} */
3926
- new $i(t, e)
3927
+ new Bi(t, e)
3927
3928
  );
3928
3929
  return (i = this._listeners[t]) === null || i === void 0 || i.forEach((o) => {
3929
3930
  o.call(this, n);
3930
3931
  }), n;
3931
3932
  }
3932
3933
  }
3933
- class Bi {
3934
+ class Zi {
3934
3935
  /**
3935
3936
  * @param {string | false} imageSrc
3936
3937
  * @param {HTMLElement} container
@@ -3950,14 +3951,14 @@ class Bi {
3950
3951
  * @param {number} height
3951
3952
  */
3952
3953
  setDisplayedSize(t, e) {
3953
- this.element && (this.element.tagName === "IMG" ? (nt(this.element, 250, "auto"), this.element.style.transformOrigin = "0 0", this.element.style.transform = zi(0, 0, t / 250)) : nt(this.element, t, e));
3954
+ this.element && (this.element.tagName === "IMG" ? (nt(this.element, 250, "auto"), this.element.style.transformOrigin = "0 0", this.element.style.transform = Di(0, 0, t / 250)) : nt(this.element, t, e));
3954
3955
  }
3955
3956
  destroy() {
3956
3957
  var t;
3957
3958
  (t = this.element) !== null && t !== void 0 && t.parentNode && this.element.remove(), this.element = null;
3958
3959
  }
3959
3960
  }
3960
- class Fi {
3961
+ class ki {
3961
3962
  /**
3962
3963
  * @param {SlideData} itemData Slide data
3963
3964
  * @param {PhotoSwipeBase} instance PhotoSwipe or PhotoSwipeLightbox instance
@@ -3992,7 +3993,7 @@ class Fi {
3992
3993
  this.data.msrc && this.slide.isFirstSlide ? this.data.msrc : !1,
3993
3994
  this
3994
3995
  );
3995
- this.placeholder = new Bi(i, this.slide.container);
3996
+ this.placeholder = new Zi(i, this.slide.container);
3996
3997
  }
3997
3998
  this.element && !e || this.instance.dispatch("contentLoad", {
3998
3999
  content: this,
@@ -4202,7 +4203,7 @@ class Fi {
4202
4203
  }).defaultPrevented || (this.slide && this.element && !this.element.parentNode && this.slide.container.appendChild(this.element), (this.state === T.LOADED || this.state === T.ERROR) && this.removePlaceholder()));
4203
4204
  }
4204
4205
  }
4205
- function Zi(s, t) {
4206
+ function qi(s, t) {
4206
4207
  if (s.getViewportSizeFn) {
4207
4208
  const e = s.getViewportSizeFn(s, t);
4208
4209
  if (e)
@@ -4229,14 +4230,14 @@ function K(s, t, e, i, n) {
4229
4230
  }
4230
4231
  return Number(o) || 0;
4231
4232
  }
4232
- function ki(s, t, e, i) {
4233
+ function Ni(s, t, e, i) {
4233
4234
  return {
4234
4235
  x: t.x - K("left", s, t, e, i) - K("right", s, t, e, i),
4235
4236
  y: t.y - K("top", s, t, e, i) - K("bottom", s, t, e, i)
4236
4237
  };
4237
4238
  }
4238
4239
  const Lt = 4e3;
4239
- class qi {
4240
+ class Hi {
4240
4241
  /**
4241
4242
  * @param {PhotoSwipeOptions} options PhotoSwipe options
4242
4243
  * @param {SlideData} itemData Slide data
@@ -4316,30 +4317,30 @@ class qi {
4316
4317
  return this._parseZoomLevelOption("max") || Math.max(1, this.fit * 4);
4317
4318
  }
4318
4319
  }
4319
- function qt(s, t, e) {
4320
+ function Nt(s, t, e) {
4320
4321
  const i = t.createContentFromData(s, e);
4321
4322
  let n;
4322
4323
  const {
4323
4324
  options: o
4324
4325
  } = t;
4325
4326
  if (o) {
4326
- n = new qi(o, s, -1);
4327
+ n = new Hi(o, s, -1);
4327
4328
  let r;
4328
- t.pswp ? r = t.pswp.viewportSize : r = Zi(o, t);
4329
- const a = ki(o, r, s, e);
4329
+ t.pswp ? r = t.pswp.viewportSize : r = qi(o, t);
4330
+ const a = Ni(o, r, s, e);
4330
4331
  n.update(i.width, i.height, a);
4331
4332
  }
4332
4333
  return i.lazyLoad(), n && i.setDisplayedSize(Math.ceil(i.width * n.initial), Math.ceil(i.height * n.initial)), i;
4333
4334
  }
4334
- function Ni(s, t) {
4335
+ function Wi(s, t) {
4335
4336
  const e = t.getItemData(s);
4336
4337
  if (!t.dispatch("lazyLoadSlide", {
4337
4338
  index: s,
4338
4339
  itemData: e
4339
4340
  }).defaultPrevented)
4340
- return qt(e, t, s);
4341
+ return Nt(e, t, s);
4341
4342
  }
4342
- class Hi extends Ri {
4343
+ class Vi extends Fi {
4343
4344
  /**
4344
4345
  * Get total number of slides
4345
4346
  *
@@ -4362,7 +4363,7 @@ class Hi extends Ri {
4362
4363
  * @returns {Content}
4363
4364
  */
4364
4365
  createContentFromData(t, e) {
4365
- return new Fi(t, this, e);
4366
+ return new ki(t, this, e);
4366
4367
  }
4367
4368
  /**
4368
4369
  * Get item data by index.
@@ -4430,10 +4431,10 @@ class Hi extends Ri {
4430
4431
  * @returns {Content} Image that is being decoded or false.
4431
4432
  */
4432
4433
  lazyLoadData(t, e) {
4433
- return qt(t, this, e);
4434
+ return Nt(t, this, e);
4434
4435
  }
4435
4436
  }
4436
- class Wi extends Hi {
4437
+ class ji extends Vi {
4437
4438
  /**
4438
4439
  * @param {PhotoSwipeOptions} [options]
4439
4440
  */
@@ -4453,7 +4454,7 @@ class Wi extends Hi {
4453
4454
  * @param {MouseEvent} e
4454
4455
  */
4455
4456
  onThumbnailsClick(t) {
4456
- if (Oi(t) || window.pswp)
4457
+ if ($i(t) || window.pswp)
4457
4458
  return;
4458
4459
  let e = {
4459
4460
  x: t.clientX,
@@ -4521,7 +4522,7 @@ class Wi extends Hi {
4521
4522
  } = this;
4522
4523
  e && (i.dataSource = e);
4523
4524
  const n = [], o = typeof i.pswpModule;
4524
- if (Di(i.pswpModule))
4525
+ if (Ri(i.pswpModule))
4525
4526
  n.push(Promise.resolve(
4526
4527
  /** @type {Type<PhotoSwipe>} */
4527
4528
  i.pswpModule
@@ -4537,7 +4538,7 @@ class Wi extends Hi {
4537
4538
  else
4538
4539
  throw new Error("pswpModule is not valid");
4539
4540
  }
4540
- typeof i.openPromise == "function" && n.push(i.openPromise()), i.preloadFirstSlide !== !1 && t >= 0 && (this._preloadedContent = Ni(t, this));
4541
+ typeof i.openPromise == "function" && n.push(i.openPromise()), i.preloadFirstSlide !== !1 && t >= 0 && (this._preloadedContent = Wi(t, this));
4541
4542
  const r = ++this._uid;
4542
4543
  Promise.all(n).then((a) => {
4543
4544
  if (this.shouldOpen) {
@@ -4583,12 +4584,12 @@ class Wi extends Hi {
4583
4584
  });
4584
4585
  }
4585
4586
  }
4586
- const Vi = () => {
4587
+ const Gi = () => {
4587
4588
  let s = null;
4588
- return s = new Wi({
4589
+ return s = new ji({
4589
4590
  gallery: "#photoswipe-gallery",
4590
4591
  children: "a",
4591
- pswpModule: Mi,
4592
+ pswpModule: Oi,
4592
4593
  zoom: !1,
4593
4594
  imageClickAction: "next",
4594
4595
  tapAction: "next"
@@ -4609,7 +4610,7 @@ const Vi = () => {
4609
4610
  }), s.init(), () => {
4610
4611
  s && (s.destroy(), s = null);
4611
4612
  };
4612
- }, At = (s) => Math.min(100, Math.max(0, Math.round(s))), ji = () => {
4613
+ }, At = (s) => Math.min(100, Math.max(0, Math.round(s))), Ui = () => {
4613
4614
  const s = document.querySelector(".js-limit-scroll-progress-bar"), t = document.querySelector(".c-progress__bar"), e = document.querySelector(".c-btn__close-progress");
4614
4615
  if (!t && !e)
4615
4616
  return;
@@ -4633,10 +4634,10 @@ const Vi = () => {
4633
4634
  }
4634
4635
  }
4635
4636
  }
4636
- }, Gi = () => {
4637
+ }, Ki = () => {
4637
4638
  const s = document.querySelector(".c-progress"), t = document.querySelector(".c-btn__close-progress");
4638
- (s || t) && window.addEventListener("scroll", ji);
4639
- }, Ui = (s = {}) => {
4639
+ (s || t) && window.addEventListener("scroll", Ui);
4640
+ }, Xi = (s = {}) => {
4640
4641
  const { buttonSelector: t = ".c-scroll-to-top" } = s, e = document.querySelector(t), i = e?.querySelector("button");
4641
4642
  if (!e || !i)
4642
4643
  return;
@@ -4658,7 +4659,7 @@ const Vi = () => {
4658
4659
  });
4659
4660
  };
4660
4661
  window.addEventListener("scroll", r), i.addEventListener("click", a), r();
4661
- }, Ki = 500, Xi = () => {
4662
+ }, Yi = 500, Ji = () => {
4662
4663
  const s = document.querySelector("#mbrs-comments-container"), t = document.querySelector(".c-scroll-to-top-comment");
4663
4664
  if (!s || !t)
4664
4665
  return;
@@ -4674,7 +4675,7 @@ const Vi = () => {
4674
4675
  }, o = () => {
4675
4676
  e && (e = !1, window.removeEventListener("scroll", i), t.style.display = "none");
4676
4677
  }, r = (u) => {
4677
- u.offsetHeight > Ki ? n() : o();
4678
+ u.offsetHeight > Yi ? n() : o();
4678
4679
  }, a = (u) => {
4679
4680
  new ResizeObserver(() => {
4680
4681
  r(u);
@@ -4711,7 +4712,7 @@ const Vi = () => {
4711
4712
  ) && h.disconnect();
4712
4713
  });
4713
4714
  h.observe(s, { childList: !0, subtree: !0 });
4714
- }, tt = "#page-content", ot = "#text-tooltip", Yi = ".tooltip-btn", Nt = "c-text-tooltip--show", Ji = [
4715
+ }, tt = "#page-content", ot = "#text-tooltip", Qi = ".tooltip-btn", Ht = "c-text-tooltip--show", ts = [
4715
4716
  "#page-content .c-content p",
4716
4717
  "#page-content .c-content h2",
4717
4718
  "#page-content .c-content h3",
@@ -4723,17 +4724,17 @@ const Vi = () => {
4723
4724
  "#page-content header span",
4724
4725
  "#page-content header h1",
4725
4726
  "#page-content header h2"
4726
- ], Et = (s, t) => s instanceof Element ? t.some((e) => s.matches(e)) : !1, Qi = (s, t) => {
4727
+ ], Et = (s, t) => s instanceof Element ? t.some((e) => s.matches(e)) : !1, es = (s, t) => {
4727
4728
  const e = s.startContainer.nodeType === Node.ELEMENT_NODE ? s.startContainer : s.startContainer.parentElement, i = s.endContainer.nodeType === Node.ELEMENT_NODE ? s.endContainer : s.endContainer.parentElement;
4728
4729
  return !!e && Et(e, t) || !!i && Et(i, t);
4729
- }, ts = (s) => {
4730
+ }, is = (s) => {
4730
4731
  if (!s.focusNode)
4731
4732
  return null;
4732
4733
  const t = s.anchorNode?.compareDocumentPosition(s.focusNode);
4733
4734
  return t ? (t & 4) > 0 : s.anchorOffset < s.focusOffset;
4734
- }, es = (s, t, e) => {
4735
+ }, ss = (s, t, e) => {
4735
4736
  const i = document.querySelector(`${tt} ${ot}`), n = document.querySelector(`${tt}`), o = document.querySelectorAll(
4736
- `${tt} ${ot} ${Yi}`
4737
+ `${tt} ${ot} ${Qi}`
4737
4738
  );
4738
4739
  if (!i || !n) {
4739
4740
  console.warn("Text tooltip : Tooltip or it's parent are not found in the DOM");
@@ -4743,10 +4744,10 @@ const Vi = () => {
4743
4744
  l.setAttribute("data-selected-text", e);
4744
4745
  });
4745
4746
  const r = s.getClientRects(), a = r[t ? r.length - 1 : 0];
4746
- i.style.top = `${a.top - n.getBoundingClientRect().top - (i.offsetHeight + 10)}px`, a.width < i.offsetWidth ? i.style.left = `${a.left - n.getBoundingClientRect().left + a.width / 2 - i.offsetWidth / 2}px` : t ? i.style.left = `${a.left - n.getBoundingClientRect().left + a.width - i.offsetWidth}px` : i.style.left = `${a.left - n.getBoundingClientRect().left}px`, i.classList.add(Nt);
4747
+ i.style.top = `${a.top - n.getBoundingClientRect().top - (i.offsetHeight + 10)}px`, a.width < i.offsetWidth ? i.style.left = `${a.left - n.getBoundingClientRect().left + a.width / 2 - i.offsetWidth / 2}px` : t ? i.style.left = `${a.left - n.getBoundingClientRect().left + a.width - i.offsetWidth}px` : i.style.left = `${a.left - n.getBoundingClientRect().left}px`, i.classList.add(Ht);
4747
4748
  }, Ct = () => {
4748
4749
  const s = document.querySelector(`${ot}`);
4749
- s && s.classList.remove(Nt);
4750
+ s && s.classList.remove(Ht);
4750
4751
  }, X = ({ type: s }) => {
4751
4752
  const t = window.getSelection();
4752
4753
  if (s === "selectionchange") {
@@ -4757,30 +4758,30 @@ const Vi = () => {
4757
4758
  return;
4758
4759
  const e = t.getRangeAt(0), i = t.toString().trim();
4759
4760
  if (i.length) {
4760
- const n = Qi(e, Ji), o = ts(t) || !1;
4761
- n && es(e, o, i);
4761
+ const n = es(e, ts), o = is(t) || !1;
4762
+ n && ss(e, o, i);
4762
4763
  return;
4763
4764
  }
4764
4765
  Ct();
4765
- }, is = () => {
4766
+ }, ns = () => {
4766
4767
  if (!window?.getSelection) {
4767
4768
  console.warn("Selection API isn't supported");
4768
4769
  return;
4769
4770
  }
4770
4771
  document.addEventListener("mouseup", X), document.addEventListener("selectionchange", X), document.addEventListener("touchend", X), document.addEventListener("touchcancel", X);
4771
- }, ss = (s) => {
4772
+ }, os = (s) => {
4772
4773
  const { target: t } = s;
4773
4774
  if (t instanceof Element) {
4774
4775
  const e = t.closest(".c-search-form--button");
4775
4776
  e && (s.preventDefault(), e.classList.remove("c-search-form--button"));
4776
4777
  }
4777
- }, ns = (s = document.querySelector(
4778
+ }, rs = (s = document.querySelector(
4778
4779
  ".c-search-form--button"
4779
4780
  )) => {
4780
4781
  s && s.addEventListener("click", (t) => {
4781
- ss(t);
4782
+ os(t);
4782
4783
  });
4783
- }, os = ({
4784
+ }, as = ({
4784
4785
  tabsContainerElement: s,
4785
4786
  event: t
4786
4787
  }) => {
@@ -4796,14 +4797,14 @@ const Vi = () => {
4796
4797
  }), n.forEach((a) => {
4797
4798
  a.setAttribute("aria-hidden", "true");
4798
4799
  }), e.setAttribute("aria-selected", "true"), r && r.removeAttribute("aria-hidden");
4799
- }, xt = (s) => s.code === "ArrowLeft" || s.keyCode === 39, Pt = (s) => s.code === "ArrowRight" || s.keyCode === 37, rs = (s = document.querySelectorAll(
4800
+ }, xt = (s) => s.code === "ArrowLeft" || s.keyCode === 39, Pt = (s) => s.code === "ArrowRight" || s.keyCode === 37, ls = (s = document.querySelectorAll(
4800
4801
  ".js-tabs"
4801
4802
  )) => {
4802
4803
  s.length > 0 && s.forEach((t) => {
4803
4804
  const e = t.querySelectorAll('[role="tab"]');
4804
4805
  e.forEach((n) => {
4805
4806
  n.addEventListener("click", (o) => {
4806
- os({ tabsContainerElement: t, event: o });
4807
+ as({ tabsContainerElement: t, event: o });
4807
4808
  });
4808
4809
  });
4809
4810
  const i = t.querySelector('[role="tablist"]');
@@ -4817,17 +4818,17 @@ const Vi = () => {
4817
4818
  }, J = (s) => {
4818
4819
  const [t, e] = s.split("h").map(Number);
4819
4820
  return t * 60 + e;
4820
- }, Ht = () => {
4821
+ }, Wt = () => {
4821
4822
  const s = /* @__PURE__ */ new Date(), t = s.getHours(), e = s.getMinutes();
4822
4823
  return t * 60 + e;
4823
- }, as = (s, t) => {
4824
- const e = Ht();
4824
+ }, cs = (s, t) => {
4825
+ const e = Wt();
4825
4826
  if (e < s || e > t)
4826
4827
  return 0;
4827
4828
  const i = t - s;
4828
4829
  return (e - s) / i;
4829
- }, ls = (s) => {
4830
- const t = Ht();
4830
+ }, ds = (s) => {
4831
+ const t = Wt();
4831
4832
  let e = null, i = null, n = -1;
4832
4833
  return Array.from(s).find((o, r, a) => {
4833
4834
  if (r === a.length - 1)
@@ -4838,14 +4839,14 @@ const Vi = () => {
4838
4839
  const d = J(l), h = J(c);
4839
4840
  return t >= d && t < h ? (e = l, i = c, n = r, !0) : !1;
4840
4841
  }), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n };
4841
- }, cs = () => {
4842
+ }, hs = () => {
4842
4843
  const s = document.querySelectorAll(".c-timeline__time");
4843
4844
  if (!s || s.length < 2)
4844
4845
  return;
4845
- const t = document.querySelector(".c-timeline__progress-bar"), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n } = ls(s);
4846
+ const t = document.querySelector(".c-timeline__progress-bar"), { currentIntervalStartTime: e, currentIntervalEndTime: i, currentIntervalIndex: n } = ds(s);
4846
4847
  if (!e || !i)
4847
4848
  return;
4848
- const o = J(e), r = J(i), a = as(o, r);
4849
+ const o = J(e), r = J(i), a = cs(o, r);
4849
4850
  if (t instanceof HTMLElement) {
4850
4851
  if (t.classList.contains("c-timeline__progress-bar--is-desktop") && s.length >= 5) {
4851
4852
  const l = "172px / 2";
@@ -4884,19 +4885,19 @@ const Vi = () => {
4884
4885
  }
4885
4886
  }
4886
4887
  }
4887
- }, rt = "c-icon-item__container--is-highlighted", ds = (s) => {
4888
+ }, rt = "c-icon-item__container--is-highlighted", us = (s) => {
4888
4889
  s.find(
4889
4890
  (e) => e.classList.contains(rt)
4890
4891
  )?.classList.remove(rt);
4891
- }, hs = () => {
4892
+ }, ps = () => {
4892
4893
  const s = document.querySelector(".c-toolbar");
4893
4894
  if (s) {
4894
4895
  const t = window.location.origin + window.location.pathname, e = Array.from(s.querySelectorAll(".c-icon-item__container"));
4895
- ds(e), e.find(
4896
+ us(e), e.find(
4896
4897
  (n) => n.querySelector("a")?.getAttribute("href") === t
4897
4898
  )?.classList.add(rt);
4898
4899
  }
4899
- }, us = 12, ct = (s) => {
4900
+ }, ms = 12, ct = (s) => {
4900
4901
  const t = s || document.querySelector(".c-map-towns");
4901
4902
  if (!t) {
4902
4903
  new MutationObserver((o, r) => {
@@ -4932,7 +4933,7 @@ const Vi = () => {
4932
4933
  d.setAttribute("y", `${E}`), l.setAttribute("aria-hidden", "false");
4933
4934
  } else
4934
4935
  a = !1;
4935
- }), !a && r < us && requestAnimationFrame(() => o(r + 1));
4936
+ }), !a && r < ms && requestAnimationFrame(() => o(r + 1));
4936
4937
  };
4937
4938
  return requestAnimationFrame(() => o()), !0;
4938
4939
  };
@@ -4944,7 +4945,7 @@ const Vi = () => {
4944
4945
  childList: !0,
4945
4946
  subtree: !0
4946
4947
  });
4947
- }, ps = {
4948
+ }, fs = {
4948
4949
  10: [{ id: "10387", name: "Troyes" }, { id: "10323", name: "Romilly-sur-Seine" }, { id: "10033", name: "Bar-sur-Aube" }],
4949
4950
  11: [{ id: "11262", name: "Narbonne" }, { id: "11069", name: "Carcassonne" }, { id: "11076", name: "Castelnaudary" }],
4950
4951
  12: [{ id: "12202", name: "Rodez" }, { id: "12145", name: "Millau" }, { id: "12300", name: "Villefranche-de-Rouergue" }],
@@ -5045,14 +5046,14 @@ const Vi = () => {
5045
5046
  "07": [{ id: "07010", name: "Annonay" }, { id: "07019", name: "Aubenas" }, { id: "07324", name: "Tournon-sur-Rhône" }],
5046
5047
  "05": [{ id: "05061", name: "Gap" }, { id: "05023", name: "Briançon" }, { id: "05046", name: "Embrun" }],
5047
5048
  "08": [{ id: "08105", name: "Charleville-Mézières" }, { id: "08362", name: "Rethel" }, { id: "08190", name: "Givet" }]
5048
- }, ms = /<path\b([^>]*?)\/>/g, fs = /\b([:\w-]+)="([^"]*)"/g, gs = (s) => {
5049
+ }, gs = /<path\b([^>]*?)\/>/g, vs = /\b([:\w-]+)="([^"]*)"/g, ys = (s) => {
5049
5050
  const t = [];
5050
- for (const e of s.matchAll(ms)) {
5051
+ for (const e of s.matchAll(gs)) {
5051
5052
  const i = e[1];
5052
5053
  if (!i)
5053
5054
  continue;
5054
5055
  const n = /* @__PURE__ */ new Map();
5055
- for (const c of i.matchAll(fs)) {
5056
+ for (const c of i.matchAll(vs)) {
5056
5057
  const [, d, h] = c;
5057
5058
  d && n.set(d, h || "");
5058
5059
  }
@@ -5065,11 +5066,11 @@ const Vi = () => {
5065
5066
  });
5066
5067
  }
5067
5068
  return t;
5068
- }, vs = (s) => new Map(s.map((t) => [t.id, t]));
5069
- var Wt = /* @__PURE__ */ ((s) => (s.MOBILE = "mobile", s.DESKTOP = "desktop", s))(Wt || {});
5069
+ }, _s = (s) => new Map(s.map((t) => [t.id, t]));
5070
+ var Vt = /* @__PURE__ */ ((s) => (s.MOBILE = "mobile", s.DESKTOP = "desktop", s))(Vt || {});
5070
5071
  const Y = (s) => {
5071
5072
  window.location.href = s;
5072
- }, ys = (s, t, e) => {
5073
+ }, ws = (s, t, e) => {
5073
5074
  const i = e.get(s);
5074
5075
  if (i)
5075
5076
  return i;
@@ -5084,7 +5085,7 @@ const Y = (s) => {
5084
5085
  (o) => o.id.startsWith(`town-${s}`)
5085
5086
  );
5086
5087
  return e.set(s, n), n;
5087
- }, _s = (s, t) => t.get(s), ws = (s) => {
5088
+ }, bs = (s, t) => t.get(s), Ss = (s) => {
5088
5089
  if (s.size > 0)
5089
5090
  return;
5090
5091
  document.querySelectorAll(
@@ -5096,13 +5097,13 @@ const Y = (s) => {
5096
5097
  Array.from(e.classList).filter((n) => n.startsWith("c-map-towns__path--"))
5097
5098
  );
5098
5099
  });
5099
- }, bs = (s, t) => {
5100
+ }, Ls = (s, t) => {
5100
5101
  const e = s.id, i = s.url, n = s.name;
5101
5102
  if (!e || !i)
5102
5103
  return null;
5103
5104
  const o = document.createElementNS("http://www.w3.org/2000/svg", "path");
5104
5105
  o.setAttribute("d", s.path), o.setAttribute("class", "c-map-towns__path c-map-towns__zoom-town"), o.setAttribute("data-url", i);
5105
- const r = _s(e, t);
5106
+ const r = bs(e, t);
5106
5107
  if (r && r.forEach((a) => {
5107
5108
  o.classList.add(a);
5108
5109
  }), n) {
@@ -5110,15 +5111,15 @@ const Y = (s) => {
5110
5111
  a.textContent = n, o.appendChild(a);
5111
5112
  }
5112
5113
  return o;
5113
- }, Ss = (s, t) => {
5114
+ }, As = (s, t) => {
5114
5115
  const e = document.createDocumentFragment();
5115
5116
  return s.forEach((i) => {
5116
- const n = bs(i, t);
5117
+ const n = Ls(i, t);
5117
5118
  n && e.appendChild(n);
5118
5119
  }), e;
5119
- }, Ls = (s, t) => {
5120
+ }, Es = (s, t) => {
5120
5121
  s.replaceChildren(t);
5121
- }, As = (s, t, e) => {
5122
+ }, Cs = (s, t, e) => {
5122
5123
  const i = document.createElementNS("http://www.w3.org/2000/svg", "g");
5123
5124
  i.setAttribute("class", "js-city-marker c-map-towns__city-marker"), i.setAttribute("aria-hidden", "true"), i.setAttribute("data-scale", e.toString());
5124
5125
  const n = document.createElementNS("http://www.w3.org/2000/svg", "path");
@@ -5129,7 +5130,7 @@ const Y = (s) => {
5129
5130
  r.setAttribute("class", "js-city-bg"), r.setAttribute("fill", "white"), r.setAttribute("rx", "4"), r.setAttribute("ry", "4");
5130
5131
  const a = document.createElementNS("http://www.w3.org/2000/svg", "text");
5131
5132
  return a.setAttribute("class", "js-city-text c-map-towns__city-text"), a.textContent = s, i.appendChild(n), i.appendChild(o), i.appendChild(r), i.appendChild(a), i;
5132
- }, Es = (s, t) => {
5133
+ }, xs = (s, t) => {
5133
5134
  const e = t.getBBox(), i = 5, n = e.width + i * 2, o = e.height + i * 2;
5134
5135
  s.setAttribute(
5135
5136
  "viewBox",
@@ -5148,7 +5149,7 @@ const at = () => {
5148
5149
  }).observe(document.body, { childList: !0, subtree: !0 });
5149
5150
  return;
5150
5151
  }
5151
- const t = window.layout === Wt.MOBILE, e = document.querySelector(".c-map-towns__map"), i = document.querySelector(".c-map-towns__droms"), n = document.querySelector(".c-map-towns__zooms"), o = (L) => {
5152
+ const t = window.layout === Vt.MOBILE, e = document.querySelector(".c-map-towns__map"), i = document.querySelector(".c-map-towns__droms"), n = document.querySelector(".c-map-towns__zooms"), o = (L) => {
5152
5153
  const { target: b } = L;
5153
5154
  if (!(b instanceof Element))
5154
5155
  return;
@@ -5182,11 +5183,11 @@ const at = () => {
5182
5183
  if (p)
5183
5184
  return p;
5184
5185
  const L = u instanceof HTMLScriptElement ? JSON.parse(u.textContent || '""') : "";
5185
- return p = vs(gs(L)), p;
5186
+ return p = _s(ys(L)), p;
5186
5187
  }, w = () => {
5187
5188
  r.setAttribute("aria-hidden", "true"), l.replaceChildren();
5188
5189
  }, C = (L, b) => L.startsWith("97") ? document.querySelector(`path[id="town-${b}-drom"]`)?.getAttribute("d") || null : y().get(`town-${b}`)?.path || null, g = (L, b) => {
5189
- const I = ps[L] || [];
5190
+ const I = fs[L] || [];
5190
5191
  if (I.length === 0)
5191
5192
  return;
5192
5193
  const M = document.createDocumentFragment();
@@ -5194,7 +5195,7 @@ const at = () => {
5194
5195
  const z = C(L, F.id);
5195
5196
  if (!z)
5196
5197
  return;
5197
- const $ = As(F.name, z, b);
5198
+ const $ = Cs(F.name, z, b);
5198
5199
  M.appendChild($);
5199
5200
  }), l.appendChild(M), requestAnimationFrame(() => {
5200
5201
  ct(l);
@@ -5206,13 +5207,13 @@ const at = () => {
5206
5207
  const E = b?.closest(".c-map-towns__dept-trigger");
5207
5208
  if (!E)
5208
5209
  return;
5209
- const I = E.getAttribute("id")?.replace("out-", "") || "", M = E.getAttribute("data-name"), F = ys(I, y, f);
5210
- ws(m);
5211
- const z = Ss(F, m);
5210
+ const I = E.getAttribute("id")?.replace("out-", "") || "", M = E.getAttribute("data-name"), F = ws(I, y, f);
5211
+ Ss(m);
5212
+ const z = As(F, m);
5212
5213
  if (d && h && M && (d.textContent = M, h.textContent = `Carte détaillée du département : ${M}`), !(E instanceof SVGGraphicsElement))
5213
5214
  return;
5214
- const $ = Es(a, E);
5215
- r.setAttribute("aria-hidden", "false"), Ls(l, z), g(I, $);
5215
+ const $ = xs(a, E);
5216
+ r.setAttribute("aria-hidden", "false"), Es(l, z), g(I, $);
5216
5217
  }, A = (L) => {
5217
5218
  const { target: b } = L;
5218
5219
  if (!(b instanceof Element))
@@ -5225,15 +5226,15 @@ const at = () => {
5225
5226
  }), r.addEventListener("click", (L) => {
5226
5227
  L.target === r && w();
5227
5228
  });
5228
- }, zs = () => {
5229
- ue(), rs(), te(), ve(), ae(), Gi(), Vi(), Le(), ns(), Q("winterOlympicsGames", "countdown-winter-olympics-games"), Q("eurovision", "countdown-eurovision"), Q("worldFoot2026", "countdown-world-foot-2026"), is(), Jt(), me(), se(), Yt(
5229
+ }, Ds = () => {
5230
+ ue(), ls(), te(), _e(), ae(), Ki(), Gi(), Ee(), rs(), Q("winterOlympicsGames", "countdown-winter-olympics-games"), Q("eurovision", "countdown-eurovision"), Q("worldFoot2026", "countdown-world-foot-2026"), ns(), pe(), me(), ge(), se(), Jt(
5230
5231
  "localisation-input",
5231
5232
  "https://www.20minutes.fr/elections/resultats/recherche",
5232
5233
  "?searchValue=",
5233
5234
  "text",
5234
5235
  "text"
5235
- ), ie(), ct(), hs(), Ut(), Kt(), fe(), at(), Te(), Ie(), pe(), Gt(), cs(), Ui(), Xi();
5236
+ ), ie(), ct(), ps(), Kt(), Xt(), ve(), at(), Me(), ze(), fe(), Ut(), hs(), Xi(), Ji();
5236
5237
  };
5237
5238
  export {
5238
- zs as initScripts
5239
+ Ds as initScripts
5239
5240
  };