@xwadex/fesd 0.0.14-re.33 → 0.0.14-re.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,7 +8,13 @@ var p = (n, i, t) => {
8
8
  i instanceof WeakSet ? i.add(n) : i.set(n, t);
9
9
  };
10
10
  var d = (n, i, t) => (hs(n, i, "access private method"), t);
11
- import { O as Ce, l as ps, u as ms, $ as g, a as Xe } from "./vendor-bundle.js";
11
+ import { OverlayScrollbars as Ce } from "overlayscrollbars";
12
+ import g from "jquery";
13
+ import "./vendor-bundle.js";
14
+ import "validator";
15
+ import "flatpickr";
16
+ import Xe from "vanilla-lazyload";
17
+ import { lock as ps, unlock as ms } from "tua-body-scroll-lock";
12
18
  const Y = {
13
19
  SETTINGS: {
14
20
  videoId: null,
@@ -277,7 +283,7 @@ const Y = {
277
283
  // hover 毫秒 ?
278
284
  speed: 600
279
285
  }
280
- }, nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
286
+ }, dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
281
287
  __proto__: null,
282
288
  anchor4: lt,
283
289
  aost4: Re,
@@ -353,7 +359,7 @@ const Y = {
353
359
  }
354
360
  }, be = (n, i) => {
355
361
  const { target: t, container: e, spacer: s, speed: o, gap: a, easing: r, direction: l } = n, c = l === "horizontal", u = c ? "scrollLeft" : "scrollTop", h = c ? "left" : "top", m = c ? "width" : "height", f = b(e) ? T(e) : document.scrollingElement, v = f[u], k = b(t) ? T(t).getBoundingClientRect()[h] : 0 - v, E = b(s) ? T(s).getBoundingClientRect()[m] : 0, $ = k - a - E, G = 15;
356
- let A = 0;
362
+ let L = 0;
357
363
  if ($ === 0)
358
364
  return;
359
365
  const X = (R) => {
@@ -362,9 +368,9 @@ const Y = {
362
368
  };
363
369
  X("beforeScroll");
364
370
  const Ie = () => {
365
- A += G;
366
- const R = ws[r](A, v, $, o);
367
- f[u] = R, A < o && requestAnimationFrame(Ie), A >= o && X("afterScroll");
371
+ L += G;
372
+ const R = ws[r](L, v, $, o);
373
+ f[u] = R, L < o && requestAnimationFrame(Ie), L >= o && X("afterScroll");
368
374
  };
369
375
  requestAnimationFrame(Ie);
370
376
  };
@@ -658,7 +664,7 @@ Z = new WeakSet(), Te = function() {
658
664
  let U = O;
659
665
  Object.assign(U.prototype, I);
660
666
  customElements.get("modern-modal") || customElements.define("modern-modal", Ve);
661
- const As = (n, i) => {
667
+ const Ls = (n, i) => {
662
668
  const t = n === window ? n.innerHeight : n.getBoundingClientRect().height, e = n === window ? 0 : n.getBoundingClientRect().top;
663
669
  i.forEach((s) => {
664
670
  const { class: o, delay: a, start: r, end: l, repeat: c, instance: u } = s.aost, { top: h, bottom: m } = s.getBoundingClientRect(), f = t * (r / 100), v = t * (l / 100);
@@ -673,7 +679,7 @@ const As = (n, i) => {
673
679
  }, a);
674
680
  }
675
681
  });
676
- }, Ls = (n, i) => n === "up" || n === "down" ? n : n !== null ? n === "true" ? !0 : n === "false" ? !1 : i.repeat : i.repeat;
682
+ }, As = (n, i) => n === "up" || n === "down" ? n : n !== null ? n === "true" ? !0 : n === "false" ? !1 : i.repeat : i.repeat;
677
683
  var Q, Ee, Et, di;
678
684
  class ci {
679
685
  constructor(i, t = {}) {
@@ -713,9 +719,9 @@ Q = new WeakSet(), Ee = function() {
713
719
  }, Et = new WeakSet(), di = function() {
714
720
  const { elements: i, options: t } = this, { scroller: e } = t, s = e === window || !b(e) ? window : T(e);
715
721
  this.eventHandler = () => {
716
- As(s, i);
722
+ Ls(s, i);
717
723
  }, i.forEach((a) => {
718
- a.aost = {}, a.aost.class = a.getAttribute("data-aost-class") || t.class, a.aost.delay = parseInt(a.getAttribute("data-aost-delay")) || t.delay, a.aost.start = parseInt(a.getAttribute("data-aost-start")) || t.start, a.aost.end = parseInt(a.getAttribute("data-aost-end")) || t.end, a.aost.repeat = Ls(a.getAttribute("data-aost-repeat"), t), a.aost.methods = {}, a.aost.methods.destroy = this.destroy, a.aost.methods.update = this.update, a.aost.instance = this, a.setAttribute(this.active, "");
724
+ a.aost = {}, a.aost.class = a.getAttribute("data-aost-class") || t.class, a.aost.delay = parseInt(a.getAttribute("data-aost-delay")) || t.delay, a.aost.start = parseInt(a.getAttribute("data-aost-start")) || t.start, a.aost.end = parseInt(a.getAttribute("data-aost-end")) || t.end, a.aost.repeat = As(a.getAttribute("data-aost-repeat"), t), a.aost.methods = {}, a.aost.methods.destroy = this.destroy, a.aost.methods.update = this.update, a.aost.instance = this, a.setAttribute(this.active, "");
719
725
  });
720
726
  const { eventHandler: o } = this;
721
727
  o(), s.aost = {}, s.aost.eventHandler = o, s.addEventListener("scroll", s.aost.eventHandler, !1);
@@ -729,12 +735,12 @@ const Ss = (n) => {
729
735
  s.append(o);
730
736
  }), e.children[0];
731
737
  };
732
- var At, ui, Lt, hi, St, pi, Dt, mi, _t, gi, xt, fi, kt, vi;
738
+ var Lt, ui, At, hi, St, pi, Dt, mi, _t, gi, xt, fi, kt, vi;
733
739
  class Ds extends HTMLElement {
734
740
  constructor() {
735
741
  super();
736
- p(this, At);
737
742
  p(this, Lt);
743
+ p(this, At);
738
744
  p(this, St);
739
745
  // youtube iframe
740
746
  p(this, Dt);
@@ -743,7 +749,7 @@ class Ds extends HTMLElement {
743
749
  // youku iframe
744
750
  p(this, xt);
745
751
  p(this, kt);
746
- d(this, At, ui).call(this);
752
+ d(this, Lt, ui).call(this);
747
753
  }
748
754
  play() {
749
755
  const { videoType: t } = this;
@@ -780,13 +786,13 @@ class Ds extends HTMLElement {
780
786
  }
781
787
  }
782
788
  }
783
- At = new WeakSet(), ui = function() {
789
+ Lt = new WeakSet(), ui = function() {
784
790
  if (!this.getAttribute("video-id")) {
785
791
  y("videoPlayer", "video-render needs a ['video-id'] attribute to creat player.");
786
792
  return;
787
793
  }
788
- this.videoId = this.getAttribute("video-id"), this.videoType = this.getAttribute("video-type"), this.autoplay = this.getAttribute("video-autoplay"), d(this, Lt, hi).call(this);
789
- }, Lt = new WeakSet(), hi = function() {
794
+ this.videoId = this.getAttribute("video-id"), this.videoType = this.getAttribute("video-type"), this.autoplay = this.getAttribute("video-autoplay"), d(this, At, hi).call(this);
795
+ }, At = new WeakSet(), hi = function() {
790
796
  this.childDom = this.childNodes, this.template = Ss(this), this.innerHTML = "", this.append(this.template), d(this, St, pi).call(this);
791
797
  }, St = new WeakSet(), pi = function() {
792
798
  const { videoType: t } = this;
@@ -835,17 +841,17 @@ function yi(n) {
835
841
  t instanceof HTMLElement ? i.push(t) : typeof t == "string" && i.push(...document.querySelectorAll(`${t}`));
836
842
  }), ms(i);
837
843
  }
838
- function on() {
844
+ function un() {
839
845
  g("body").append('<div class="loading-wrapper"><div class="icon-box"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><path d="M10 50A40 40 0 0 0 90 50A40 42 0 0 1 10 50" fill="#ffffff" stroke="none"><animateTransform attributeName="transform" type="rotate" dur="1s" repeatCount="indefinite" keyTimes="0;1" values="0 50 51;360 50 51"></animateTransform></path></svg></div></div>'), g(".loading-wrapper").fadeIn(300).promise().done(function() {
840
846
  bi();
841
847
  });
842
848
  }
843
- function an() {
849
+ function hn() {
844
850
  g(".loading-wrapper").fadeOut(300).promise().done(function() {
845
851
  g(".loading-wrapper").remove(), yi();
846
852
  });
847
853
  }
848
- function rn(n, i) {
854
+ function pn(n, i) {
849
855
  new tn(n, i);
850
856
  }
851
857
  function _s() {
@@ -853,13 +859,13 @@ function _s() {
853
859
  } }), t = new Ys(), e = new Je("[data-anchor-target]");
854
860
  n.update(), i.update(), t.reValidate(), e.update();
855
861
  }
856
- function ln(n, i = () => {
862
+ function mn(n, i = () => {
857
863
  }) {
858
864
  g(`[data-tab-content=${n}]`).fadeIn(function() {
859
865
  typeof i == "function" && i();
860
866
  }).siblings("[data-tab-content]").hide(), _s();
861
867
  }
862
- function cn() {
868
+ function gn() {
863
869
  Ce(
864
870
  {
865
871
  target: document.body,
@@ -884,23 +890,23 @@ function cn() {
884
890
  }
885
891
  );
886
892
  }
887
- function dn() {
893
+ function fn() {
888
894
  window.onpageshow = function(n) {
889
895
  n.persisted && window.location.reload();
890
896
  };
891
897
  }
892
- function un() {
898
+ function vn() {
893
899
  const n = navigator.userAgent;
894
900
  return {
895
901
  BigSurUP: /Mac OS X 10.15/.test(n) || /Mac OS X 10_15_7/.test(n) || /Mac OS X 10_15_8/.test(n) || /Mac OS X 10_15_9/.test(n) || /Mac OS X 11_/.test(n) || /Mac OS X 12_/.test(n)
896
902
  };
897
903
  }
898
- function hn(n, i) {
904
+ function bn(n, i) {
899
905
  g(n).on("click", function() {
900
906
  g(this).toggleClass(i);
901
907
  });
902
908
  }
903
- function pn(n, i) {
909
+ function yn(n, i) {
904
910
  g(n).on("click", function() {
905
911
  g(n).not(this).removeClass(i), g(this).addClass(i);
906
912
  });
@@ -914,7 +920,7 @@ function xs(n, i = 250) {
914
920
  }, i);
915
921
  };
916
922
  }
917
- function mn(n, i = 250) {
923
+ function wn(n, i = 250) {
918
924
  let t, e;
919
925
  return function() {
920
926
  const s = this, o = arguments, a = +/* @__PURE__ */ new Date();
@@ -923,7 +929,7 @@ function mn(n, i = 250) {
923
929
  }, i)) : (t = a, n.apply(s, o));
924
930
  };
925
931
  }
926
- function gn() {
932
+ function Tn() {
927
933
  window._g.interval = [], g(".countdown").each((i, t) => {
928
934
  const e = Number(g(t).attr("data-seconds")) + 1;
929
935
  let s = Math.floor(e / 60) + ":" + e % 60;
@@ -933,21 +939,21 @@ function gn() {
933
939
  }, 1e3);
934
940
  });
935
941
  }
936
- function fn(n = 500) {
942
+ function En(n = 500) {
937
943
  return new Promise((i, t) => {
938
944
  let e = setTimeout(() => {
939
945
  clearTimeout(e), i();
940
946
  }, n);
941
947
  });
942
948
  }
943
- function vn() {
949
+ function Ln() {
944
950
  const n = function() {
945
951
  let i = window.innerHeight * 0.01;
946
952
  document.documentElement.style.setProperty("--vh", i + "px");
947
953
  };
948
954
  n(), window.addEventListener("resize", xs(n));
949
955
  }
950
- function bn(n, i, t, e, s) {
956
+ function An(n, i, t, e, s) {
951
957
  const o = this, r = g(n).html().split("<br>");
952
958
  let l = "", c = 0;
953
959
  r.forEach((u, h) => {
@@ -956,11 +962,11 @@ function bn(n, i, t, e, s) {
956
962
  });
957
963
  }), g(n).html(l);
958
964
  }
959
- function yn(n, i) {
965
+ function Sn(n, i) {
960
966
  const t = Math.pow(10, i);
961
967
  return Math.round(n * t) / t;
962
968
  }
963
- function wn(n) {
969
+ function Dn(n) {
964
970
  let i = n.activeIndex, t = n.slides.length;
965
971
  if (n.params.loop)
966
972
  switch (n.activeIndex) {
@@ -975,18 +981,18 @@ function wn(n) {
975
981
  }
976
982
  return i;
977
983
  }
978
- function Tn(n, i) {
984
+ function _n(n, i) {
979
985
  const t = n.$el, e = n.params.grid.rows, s = i || n.params.slidesPerView * e;
980
986
  (n.loopedSlides ? n.slides.length - n.loopedSlides * 2 : n.slides.length) <= s ? (t.addClass("swiper-no-swiping"), g(n.params.navigation.nextEl).hide(), g(n.params.navigation.prevEl).hide(), g(n.params.pagination.el).hide(), n.params.autoplay.enabled = !1, n.autoplay.stop()) : (t.removeClass("swiper-no-swiping"), g(n.params.navigation.nextEl).show(), g(n.params.navigation.prevEl).show(), g(n.params.pagination.el).show(), n.params.autoplay.enabled && n.autoplay.start());
981
987
  }
982
- function En(n) {
988
+ function xn(n) {
983
989
  n.el.querySelectorAll("img.detect-shade").forEach((i) => {
984
990
  i.addEventListener("load", function() {
985
991
  detectShade(i);
986
992
  });
987
993
  });
988
994
  }
989
- function An(n) {
995
+ function kn(n) {
990
996
  const i = n.el, t = g(i).find(".swiper-slide-active"), e = g(t).find("video").get(0), s = g(i).find(".swiper-slide video");
991
997
  n.autoplay.stop(), g(e).off("ended"), e ? (s.each((o, a) => {
992
998
  a.currentTime = 0;
@@ -994,7 +1000,7 @@ function An(n) {
994
1000
  n.slideNext();
995
1001
  }), e.play()) : n.params.autoplay.enabled && n.autoplay.start();
996
1002
  }
997
- function Ln() {
1003
+ function $n() {
998
1004
  g(".number-grow").each(function(n, i) {
999
1005
  const t = g(i), o = t.attr("data-num").replace(/(\d)(?=(?:\d{3})+$)/g, "$1,").split(""), a = () => {
1000
1006
  let r = "";
@@ -1008,7 +1014,7 @@ function Ln() {
1008
1014
  });
1009
1015
  });
1010
1016
  }
1011
- function Sn() {
1017
+ function Cn() {
1012
1018
  g(".letter-grow").each(function(n, i) {
1013
1019
  const t = g(i), s = t.attr("data-letter").split(""), o = () => {
1014
1020
  let a = "";
@@ -1022,22 +1028,22 @@ function Sn() {
1022
1028
  });
1023
1029
  });
1024
1030
  }
1025
- function Dn(n) {
1031
+ function Hn(n) {
1026
1032
  const i = getComputedStyle(n).transform;
1027
1033
  let t = i.match(/^matrix3d\((.+)\)$/);
1028
1034
  return t ? parseFloat(t[1].split(", ")[12]) : (t = i.match(/^matrix\((.+)\)$/), t ? parseFloat(t[1].split(", ")[4]) : 0);
1029
1035
  }
1030
- function _n(n) {
1036
+ function Mn(n) {
1031
1037
  const i = getComputedStyle(n).transform;
1032
1038
  let t = i.match(/^matrix3d\((.+)\)$/);
1033
1039
  return t ? parseFloat(t[1].split(", ")[13]) : (t = i.match(/^matrix\((.+)\)$/), t ? parseFloat(t[1].split(", ")[5]) : 0);
1034
1040
  }
1035
- function xn(n) {
1041
+ function qn(n) {
1036
1042
  const i = document.createElement("div");
1037
1043
  return i.innerHTML = n, i.childNodes[0];
1038
1044
  }
1039
1045
  const je = (n) => n.videoId !== "" || typeof n.videoId < "u", ks = (n) => n.$selector.getAttribute("video4-active") === "on", ye = (n) => `<video-player video-id="${n.videoId}" video-type="${n.videoType}" video-autoplay="${n.videoAutoplay}"></video-player>`;
1040
- var V, Ae, $t, wi, Ct, Ti, K, Le, Ht, Ei;
1046
+ var V, Le, $t, wi, Ct, Ti, K, Ae, Ht, Ei;
1041
1047
  class $s {
1042
1048
  constructor(i, t = {}) {
1043
1049
  p(this, V);
@@ -1052,13 +1058,13 @@ class $s {
1052
1058
  this.__storage__ = {
1053
1059
  el: i,
1054
1060
  options: t
1055
- }, d(this, V, Ae).call(this);
1061
+ }, d(this, V, Le).call(this);
1056
1062
  }
1057
1063
  update() {
1058
- d(this, V, Ae).call(this);
1064
+ d(this, V, Le).call(this);
1059
1065
  }
1060
1066
  }
1061
- V = new WeakSet(), Ae = function() {
1067
+ V = new WeakSet(), Le = function() {
1062
1068
  const { el: i, options: t } = this.__storage__, { SETTINGS: e, EVENTS: s } = Y;
1063
1069
  if (this.elements = B(i), this.options = Object.assign({}, e, t), this.__events__ = Object.assign({}, s), this.options.on)
1064
1070
  for (const [o, a] of Object.entries(this.options.on))
@@ -1080,7 +1086,7 @@ V = new WeakSet(), Ae = function() {
1080
1086
  const f = (m == null ? void 0 : m.getAttribute("src")) || (m == null ? void 0 : m.getAttribute("data-src"));
1081
1087
  !f && r == "youtube" ? m.setAttribute("src", `https://img.youtube.com/vi/${a}/0.jpg`) : !f && r == "vimeo" ? m.setAttribute("src", `https://vumbnail.com/${a}_large.jpg`) : y("video4", "僅 youtube & vimeo 提供,無圖片時放置預設封面畫面,其他影片平台請自行上傳封面照片");
1082
1088
  }
1083
- c == "off" ? h = s : (h = s.querySelector(c) ?? s, s.querySelector(c) || y("video4", `找不到 videoButton 設定的 element -> '${c}' , 點擊物件轉移至 '${this.__storage__.el}'`)), h.video || (h.video = {}, h.video.params = e), h.video.eventHandler = d(this, K, Le), h.addEventListener("click", h.video.eventHandler);
1089
+ c == "off" ? h = s : (h = s.querySelector(c) ?? s, s.querySelector(c) || y("video4", `找不到 videoButton 設定的 element -> '${c}' , 點擊物件轉移至 '${this.__storage__.el}'`)), h.video || (h.video = {}, h.video.params = e), h.video.eventHandler = d(this, K, Ae), h.addEventListener("click", h.video.eventHandler);
1084
1090
  } else if (l === "onPage") {
1085
1091
  let h = null;
1086
1092
  if (u == "on") {
@@ -1093,9 +1099,9 @@ V = new WeakSet(), Ae = function() {
1093
1099
  s.innerHTML = ye(e);
1094
1100
  return;
1095
1101
  }
1096
- h.video || (h.video = {}, h.video.params = e), h.video.eventHandler = d(this, K, Le), h.addEventListener("click", h.video.eventHandler);
1102
+ h.video || (h.video = {}, h.video.params = e), h.video.eventHandler = d(this, K, Ae), h.addEventListener("click", h.video.eventHandler);
1097
1103
  }
1098
- }, K = new WeakSet(), Le = function(i) {
1104
+ }, K = new WeakSet(), Ae = function(i) {
1099
1105
  const { video: t } = this, { $selector: e, videoMode: s, videoTarget: o, videoTargetRoute: a } = t.params, r = new Xe({ callback_loaded: (l) => {
1100
1106
  } });
1101
1107
  if (s == "onBox") {
@@ -2047,7 +2053,7 @@ const qe = {
2047
2053
  const o = document.createElement("li");
2048
2054
  o.textContent = e[0], o.setAttribute("data-option", e[0]), n.querySelector(".dropdown-list").append(o);
2049
2055
  });
2050
- }, Ai = () => {
2056
+ }, Li = () => {
2051
2057
  B('dropdown-el[d4-status="open"]').forEach((i) => {
2052
2058
  i.close();
2053
2059
  });
@@ -2061,10 +2067,10 @@ const qe = {
2061
2067
  };
2062
2068
  Is();
2063
2069
  document.addEventListener("click", function() {
2064
- Ai();
2070
+ Li();
2065
2071
  });
2066
2072
  var Mt, Si, qt, Di, It, _i, Ot, xi;
2067
- class Li extends HTMLElement {
2073
+ class Ai extends HTMLElement {
2068
2074
  constructor() {
2069
2075
  super();
2070
2076
  p(this, Mt);
@@ -2120,7 +2126,7 @@ class Li extends HTMLElement {
2120
2126
  }
2121
2127
  open() {
2122
2128
  const t = this, e = t.querySelector(".dropdown-scroller").clientHeight, s = t.classList.contains("filter"), o = () => s ? t.querySelector(".filter-bar").clientHeight + e : e;
2123
- return Ai(), t.setAttribute("d4-status", "open"), t.setAttribute("d4-default-height", o()), t.style.cssText = `--maxHeight: ${o()}px;`, t.s.dropdownEl.style.cssText = `
2129
+ return Li(), t.setAttribute("d4-status", "open"), t.setAttribute("d4-default-height", o()), t.style.cssText = `--maxHeight: ${o()}px;`, t.s.dropdownEl.style.cssText = `
2124
2130
  height: ${o()}px;
2125
2131
  z-index: 2;
2126
2132
  `, this;
@@ -2254,10 +2260,10 @@ Mt = new WeakSet(), Si = function() {
2254
2260
  c.stopPropagation();
2255
2261
  const v = u.querySelector(".sub-dropdown"), k = v.querySelector(".sub-dropdown-list"), E = parseInt(getComputedStyle(k).marginTop) + parseInt(getComputedStyle(k).marginBottom);
2256
2262
  v.style.cssText = `--height: ${k.offsetHeight + E}px`;
2257
- const $ = parseInt(v.style.cssText.replace("--height:", "").trim()), G = parseInt(getComputedStyle(a).maxHeight), A = () => {
2263
+ const $ = parseInt(v.style.cssText.replace("--height:", "").trim()), G = parseInt(getComputedStyle(a).maxHeight), L = () => {
2258
2264
  s = m + e.s.subDropdownTotalH, o = s > G ? G : s, e.style.cssText = `--maxHeight: ${o}px;`, e.s.dropdownEl.style.height = `${o}px`;
2259
2265
  };
2260
- u.classList.contains("open") ? (u.classList.remove("open"), e.s.subDropdownTotalH -= $, A()) : (u.classList.add("open"), e.s.subDropdownTotalH += $, A());
2266
+ u.classList.contains("open") ? (u.classList.remove("open"), e.s.subDropdownTotalH -= $, L()) : (u.classList.add("open"), e.s.subDropdownTotalH += $, L());
2261
2267
  const X = () => {
2262
2268
  e.__scroller__.update(!0), v.removeEventListener("transitionend", X);
2263
2269
  };
@@ -2268,8 +2274,8 @@ Mt = new WeakSet(), Si = function() {
2268
2274
  if (e.setAttribute("d4-value", u.getAttribute("data-option")), r) {
2269
2275
  const v = e.s.cityLang, k = l.textContent.trim(), E = document.getElementById(e.getAttribute("dist-select"));
2270
2276
  E && (E.querySelector(".dropdown-list").textContent = "", _(E, -1), qe[v][k].forEach(($, G) => {
2271
- const A = document.createElement("li");
2272
- A.textContent = $[0], A.setAttribute("data-option", $[0]), E.querySelector(".dropdown-list").append(A);
2277
+ const L = document.createElement("li");
2278
+ L.textContent = $[0], L.setAttribute("data-option", $[0]), E.querySelector(".dropdown-list").append(L);
2273
2279
  }), e.__events__.selectOption(E));
2274
2280
  }
2275
2281
  (f = u.parentNode.closest("li")) != null && f.classList.contains("has-sublayer") && (c.stopPropagation(), e.close());
@@ -2308,8 +2314,8 @@ Mt = new WeakSet(), Si = function() {
2308
2314
  });
2309
2315
  }, t.__events__.dropdownToggle(), t.__events__.bindScrollbar(), t.__events__.selectOption(), t.__events__.filterHandler(), t.__events__.removeTag(), t.__events__.transitionend();
2310
2316
  };
2311
- Object.assign(Li.prototype, I);
2312
- customElements.get("dropdown-el") || customElements.define("dropdown-el", Li);
2317
+ Object.assign(Ai.prototype, I);
2318
+ customElements.get("dropdown-el") || customElements.define("dropdown-el", Ai);
2313
2319
  function ct(n) {
2314
2320
  const i = {};
2315
2321
  return [...n.attributes].forEach((t) => {
@@ -2346,7 +2352,7 @@ function Os(n) {
2346
2352
  }
2347
2353
  n.s.animation = null, n.s.animateEl = a, n.textContent = "", o.append(a), n.append(o), a.clientWidth * 2 + e >= n.clientWidth ? i === "normal" && t && o.append(r()) : n.s.options.continual = !1;
2348
2354
  }
2349
- function L(n) {
2355
+ function A(n) {
2350
2356
  const { behavior: i, direction: t, continual: e } = n.s.options;
2351
2357
  let s = {};
2352
2358
  switch (i) {
@@ -2470,10 +2476,10 @@ Nt = new WeakSet(), ki = function() {
2470
2476
  function u() {
2471
2477
  switch (s) {
2472
2478
  case "normal":
2473
- t.s.animateEl.style.transform = `${L(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(L(t).animate1, {
2479
+ t.s.animateEl.style.transform = `${A(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(A(t).animate1, {
2474
2480
  duration: t.s.nowDuration,
2475
2481
  iterations: 1 / 0
2476
- }), l && (t.s.cloneAnimateEl.style.transform = `${L(t).animate2[0].transform}`, t.s.cloneAnimation = t.s.cloneAnimateEl.animate(L(t).animate2, {
2482
+ }), l && (t.s.cloneAnimateEl.style.transform = `${A(t).animate2[0].transform}`, t.s.cloneAnimation = t.s.cloneAnimateEl.animate(A(t).animate2, {
2477
2483
  duration: t.s.nowDuration,
2478
2484
  delay: -t.s.nowDuration / 2,
2479
2485
  iterations: 1 / 0
@@ -2502,7 +2508,7 @@ Nt = new WeakSet(), ki = function() {
2502
2508
  duration: m,
2503
2509
  fill: "forwards"
2504
2510
  }).finished.then(() => {
2505
- t.s.animation = t.s.animateEl.animate(L(t).animate1, {
2511
+ t.s.animation = t.s.animateEl.animate(A(t).animate1, {
2506
2512
  duration: t.s.nowDuration,
2507
2513
  iterations: 1 / 0
2508
2514
  });
@@ -2511,7 +2517,7 @@ Nt = new WeakSet(), ki = function() {
2511
2517
  });
2512
2518
  break;
2513
2519
  case "endStop":
2514
- t.s.animateEl.style.transform = `${L(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(L(t).animate1, {
2520
+ t.s.animateEl.style.transform = `${A(t).animate1[0].transform}`, t.s.animation = t.s.animateEl.animate(A(t).animate1, {
2515
2521
  duration: t.s.nowDuration,
2516
2522
  fill: "forwards"
2517
2523
  });
@@ -2533,10 +2539,10 @@ Nt = new WeakSet(), ki = function() {
2533
2539
  const t = this;
2534
2540
  function e() {
2535
2541
  const s = t.s.animation.startTime, o = t.s.cloneAnimation ? t.s.cloneAnimation.startTime : null;
2536
- t.s.nowDuration = ze(t), t.s.animation.cancel(), t.s.cloneAnimation && t.s.cloneAnimation.cancel(), t.s.animation = t.s.animateEl.animate(L(t).animate1, {
2542
+ t.s.nowDuration = ze(t), t.s.animation.cancel(), t.s.cloneAnimation && t.s.cloneAnimation.cancel(), t.s.animation = t.s.animateEl.animate(A(t).animate1, {
2537
2543
  duration: t.s.nowDuration,
2538
2544
  iterations: 1 / 0
2539
- }), t.s.animation.startTime = s, t.s.cloneAnimation && (t.s.cloneAnimation = t.s.cloneAnimateEl.animate(L(t).animate2, {
2545
+ }), t.s.animation.startTime = s, t.s.cloneAnimation && (t.s.cloneAnimation = t.s.cloneAnimateEl.animate(A(t).animate2, {
2540
2546
  duration: t.s.nowDuration,
2541
2547
  delay: -t.s.nowDuration / 2,
2542
2548
  iterations: 1 / 0
@@ -3404,29 +3410,29 @@ class tn {
3404
3410
  }
3405
3411
  export {
3406
3412
  Je as A,
3407
- un as B,
3413
+ vn as B,
3408
3414
  Xs as C,
3409
- Li as D,
3410
- hn as E,
3411
- pn as F,
3412
- mn as G,
3413
- gn as H,
3415
+ Ai as D,
3416
+ bn as E,
3417
+ yn as F,
3418
+ wn as G,
3419
+ Tn as H,
3414
3420
  Ys as I,
3415
- fn as J,
3416
- vn as K,
3417
- bn as L,
3421
+ En as J,
3422
+ Ln as K,
3423
+ An as L,
3418
3424
  U as M,
3419
- yn as N,
3420
- wn as O,
3421
- Tn as P,
3422
- En as Q,
3425
+ Sn as N,
3426
+ Dn as O,
3427
+ _n as P,
3428
+ xn as Q,
3423
3429
  Fs as R,
3424
- An as S,
3430
+ kn as S,
3425
3431
  Gi as T,
3426
- Ln as U,
3427
- Sn as V,
3428
- Dn as W,
3429
- _n as X,
3432
+ $n as U,
3433
+ Cn as V,
3434
+ Hn as W,
3435
+ Mn as X,
3430
3436
  b as a,
3431
3437
  rt as b,
3432
3438
  vs as c,
@@ -3434,24 +3440,24 @@ export {
3434
3440
  Y as e,
3435
3441
  w as f,
3436
3442
  B as g,
3437
- nn as h,
3443
+ dn as h,
3438
3444
  at as i,
3439
3445
  ci as j,
3440
3446
  Ps as k,
3441
3447
  Ws as l,
3442
3448
  tn as m,
3443
3449
  xs as n,
3444
- xn as o,
3450
+ qn as o,
3445
3451
  bi as p,
3446
3452
  yi as q,
3447
- on as r,
3453
+ un as r,
3448
3454
  gs as s,
3449
- an as t,
3450
- rn as u,
3455
+ hn as t,
3456
+ pn as u,
3451
3457
  $s as v,
3452
3458
  _s as w,
3453
- ln as x,
3454
- cn as y,
3455
- dn as z
3459
+ mn as x,
3460
+ gn as y,
3461
+ fn as z
3456
3462
  };
3457
3463
  //# sourceMappingURL=image-preview-bundle.js.map