@leshi/silicon 0.0.11 → 0.0.13

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,9 +1,9 @@
1
1
  import { isApp as e, jsonp as t } from "../utils/index.esm.js";
2
2
  import * as n from "vue";
3
- import { Comment as r, Fragment as i, Teleport as a, camelize as o, cloneVNode as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, customRef as h, defineComponent as g, effectScope as _, getCurrentInstance as v, getCurrentScope as y, guardReactiveProps as b, h as x, inject as S, isRef as C, mergeDefaults as w, mergeProps as T, nextTick as E, normalizeClass as D, normalizeProps as O, normalizeStyle as k, onBeforeMount as A, onBeforeUnmount as j, onBeforeUpdate as M, onMounted as N, onScopeDispose as ee, onUnmounted as P, onUpdated as te, openBlock as F, provide as ne, reactive as re, readonly as ie, ref as I, renderList as ae, renderSlot as L, resolveDynamicComponent as oe, shallowReadonly as se, shallowRef as ce, toDisplayString as R, toHandlerKey as le, toRef as ue, toRefs as de, toValue as z, triggerRef as fe, unref as B, watch as V, watchEffect as pe, watchPostEffect as me, withCtx as H, withMemo as he, withModifiers as ge } from "vue";
3
+ import { Comment as r, Fragment as i, Teleport as a, camelize as o, cloneVNode as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, customRef as h, defineComponent as g, effectScope as _, getCurrentInstance as v, getCurrentScope as y, guardReactiveProps as b, h as x, inject as S, isRef as C, mergeDefaults as w, mergeProps as T, nextTick as E, normalizeClass as D, normalizeProps as O, normalizeStyle as k, onBeforeMount as A, onBeforeUnmount as j, onBeforeUpdate as M, onMounted as N, onScopeDispose as ee, onUnmounted as P, onUpdated as te, openBlock as F, provide as ne, reactive as re, readonly as ie, ref as I, render as ae, renderList as oe, renderSlot as L, resolveDynamicComponent as se, shallowReadonly as ce, shallowRef as le, toDisplayString as R, toHandlerKey as ue, toRef as de, toRefs as fe, toValue as z, triggerRef as pe, unref as B, watch as V, watchEffect as H, watchPostEffect as me, withCtx as U, withMemo as he, withModifiers as ge } from "vue";
4
4
  import _e from "axios";
5
5
  //#region \0rolldown/runtime.js
6
- var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDescriptor, xe = Object.getOwnPropertyNames, Se = Object.getPrototypeOf, Ce = Object.prototype.hasOwnProperty, U = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), we = (e, t) => {
6
+ var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDescriptor, xe = Object.getOwnPropertyNames, Se = Object.getPrototypeOf, Ce = Object.prototype.hasOwnProperty, W = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), we = (e, t) => {
7
7
  let n = {};
8
8
  for (var r in e) ye(n, r, {
9
9
  get: e[r],
@@ -21,29 +21,39 @@ var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDe
21
21
  enumerable: !0
22
22
  }) : n, e)), Oe = ["onClick"], ke = /*@__PURE__*/ g({
23
23
  __name: "ActivitySwitcher",
24
- props: { title: {} },
24
+ props: {
25
+ title: {},
26
+ dataList: {},
27
+ isSSR: {
28
+ type: Boolean,
29
+ default: !1
30
+ }
31
+ },
25
32
  setup(n) {
26
33
  let r = n, a = I(!1), o = I([]), s = I("transparent"), c = I(""), l = async () => {
27
- let n = (await t("https://static-api.letv.com/blockNew/get?id=2005992")).data.blockContent.filter((e) => e.playPlatform[420024]);
28
- if (n.length > 0 && n.filter((e) => e.title !== "首页").length > 0 && !e) {
29
- let e = window.scrollY || document.documentElement.scrollTop || document.body.scrollTop;
30
- o.value = n.sort((e, t) => e.priority > t.priority ? -1 : 1);
31
- let t = n.find((e) => e.title === r.title);
32
- t && (s.value = t.shorDesc.split(";")[0], c.value = t.shorDesc.split(";")[1]), a.value = !0, e <= 5 && (await E(), requestAnimationFrame(() => {
34
+ let n = [];
35
+ n = r.dataList ? r.dataList : (await t("https://static-api.letv.com/blockNew/get?id=2005992")).data.blockContent;
36
+ let i = [...n.filter((e) => e.playPlatform[420024])], l = !r.isSSR && e;
37
+ if (i.length > 0 && i.filter((e) => e.title !== "首页").length > 0 && !l) {
38
+ o.value = i.sort((e, t) => e.priority > t.priority ? -1 : 1);
39
+ let e = i.find((e) => e.title === r.title);
40
+ e && (s.value = e.shorDesc?.split(";")[0], c.value = e.shorDesc?.split(";")[1]), a.value = !0, r.isSSR || (window.scrollY || document.documentElement.scrollTop || document.body.scrollTop) <= 5 && (await E(), requestAnimationFrame(() => {
33
41
  window.scrollTo(0, 0), document.documentElement.scrollTop = 0, document.body.scrollTop = 0;
34
42
  }));
35
43
  } else a.value = !1;
36
44
  }, f = (e) => {
37
45
  window.location.href = e;
38
46
  };
39
- return N(l), (e, t) => a.value ? (F(), d("div", {
47
+ return r.isSSR && r.dataList && r.dataList.length > 0 && l(), N(() => {
48
+ r.isSSR || l();
49
+ }), (e, t) => a.value ? (F(), d("div", {
40
50
  key: 0,
41
51
  class: "activitySwitcher",
42
52
  style: k({
43
53
  backgroundColor: s.value,
44
54
  color: c.value
45
55
  })
46
- }, [(F(!0), d(i, null, ae(o.value, (e) => (F(), d("div", {
56
+ }, [(F(!0), d(i, null, oe(o.value, (e) => (F(), d("div", {
47
57
  class: D(e.title === r.title ? "active" : ""),
48
58
  key: e.id,
49
59
  onClick: (t) => f(e.url)
@@ -53,7 +63,7 @@ var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDe
53
63
  let n = e.__vccOpts || e;
54
64
  for (let [e, r] of t) n[e] = r;
55
65
  return n;
56
- }, je = /*#__PURE__*/ Ae(ke, [["__scopeId", "data-v-617236da"]]);
66
+ }, je = /*#__PURE__*/ Ae(ke, [["__scopeId", "data-v-feae0210"]]);
57
67
  //#endregion
58
68
  //#region node_modules/swiper/shared/utils.mjs
59
69
  function Me(e = "") {
@@ -90,7 +100,7 @@ function Re(e) {
90
100
  function ze(e) {
91
101
  return typeof HTMLElement < "u" && e instanceof HTMLElement || !!e && typeof e == "object" && (e.nodeType === 1 || e.nodeType === 11);
92
102
  }
93
- function W(e, ...t) {
103
+ function G(e, ...t) {
94
104
  let n = Object(e);
95
105
  for (let e = 0; e < t.length; e += 1) {
96
106
  let r = t[e];
@@ -100,7 +110,7 @@ function W(e, ...t) {
100
110
  let t = Object.getOwnPropertyDescriptor(i, e);
101
111
  if (!t || !t.enumerable) continue;
102
112
  let r = i[e];
103
- Re(n[e]) && Re(r) ? r.__swiper__ ? n[e] = r : W(n[e], r) : !Re(n[e]) && Re(r) ? (n[e] = {}, r.__swiper__ ? n[e] = r : W(n[e], r)) : n[e] = r;
113
+ Re(n[e]) && Re(r) ? r.__swiper__ ? n[e] = r : G(n[e], r) : !Re(n[e]) && Re(r) ? (n[e] = {}, r.__swiper__ ? n[e] = r : G(n[e], r)) : n[e] = r;
104
114
  }
105
115
  }
106
116
  return n;
@@ -108,7 +118,7 @@ function W(e, ...t) {
108
118
  function Be(e, t, n) {
109
119
  e.style.setProperty(t, n);
110
120
  }
111
- function G(e, t = "") {
121
+ function K(e, t = "") {
112
122
  let n = [...e.children];
113
123
  return e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((e) => e.matches(t)) : n;
114
124
  }
@@ -171,7 +181,7 @@ function Qe(e, t = "") {
171
181
  //#endregion
172
182
  //#region node_modules/swiper/shared/update-swiper.mjs
173
183
  var $e = /* @__PURE__ */ "eventsPrefix.injectStyles.injectStylesUrls.modules.init._direction.oneWayMovement.swiperElementNodeName.touchEventsTarget.initialSlide._speed.cssMode.updateOnWindowResize.resizeObserver.nested.focusableElements._enabled._width._height.preventInteractionOnTransition.userAgent.url._edgeSwipeDetection._edgeSwipeThreshold._freeMode._autoHeight.setWrapperSize.virtualTranslate._effect.breakpoints.breakpointsBase._spaceBetween._slidesPerView.maxBackfaceHiddenSlides._grid._slidesPerGroup._slidesPerGroupSkip._slidesPerGroupAuto._centeredSlides._centeredSlidesBounds._slidesOffsetBefore._slidesOffsetAfter.normalizeSlideIndex._centerInsufficientSlides._snapToSlideEdge._watchOverflow.roundLengths.touchRatio.touchAngle.simulateTouch._shortSwipes._longSwipes.longSwipesRatio.longSwipesMs._followFinger.allowTouchMove._threshold.touchMoveStopPropagation.touchStartPreventDefault.touchStartForcePreventDefault.touchReleaseOnEdges.uniqueNavElements._resistance._resistanceRatio._watchSlidesProgress._grabCursor.preventClicks.preventClicksPropagation._slideToClickedSlide._loop.loopAdditionalSlides.loopAddBlankSlides.loopPreventsSliding._rewind._allowSlidePrev._allowSlideNext._swipeHandler._noSwiping.noSwipingClass.noSwipingSelector.passiveListeners.containerModifierClass.slideClass.slideActiveClass.slideVisibleClass.slideFullyVisibleClass.slideNextClass.slidePrevClass.slideBlankClass.wrapperClass.lazyPreloaderClass.lazyPreloadPrevNext.runCallbacksOnInit.observer.observeParents.observeSlideChildren.a11y._autoplay._controller.coverflowEffect.cubeEffect.fadeEffect.flipEffect.creativeEffect.cardsEffect.hashNavigation.history.keyboard.mousewheel._navigation._pagination.parallax._scrollbar._thumbs.virtual.zoom.control".split(".");
174
- function K(e) {
184
+ function q(e) {
175
185
  if (typeof e != "object" || !e) return !1;
176
186
  let t = e;
177
187
  return !!t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
@@ -184,7 +194,7 @@ function et(e, t) {
184
194
  ], r = e, i = t;
185
195
  return Object.keys(i).filter((e) => n.indexOf(e) < 0).forEach((e) => {
186
196
  let t = i[e], n = r[e];
187
- n === void 0 ? r[e] = t : K(t) && K(n) && Object.keys(t).length > 0 ? t.__swiper__ ? r[e] = t : et(n, t) : r[e] = t;
197
+ n === void 0 ? r[e] = t : q(t) && q(n) && Object.keys(t).length > 0 ? t.__swiper__ ? r[e] = t : et(n, t) : r[e] = t;
188
198
  }), e;
189
199
  }
190
200
  function tt(e = {}) {
@@ -210,32 +220,32 @@ function at(e = "") {
210
220
  }
211
221
  function ot(e) {
212
222
  let { nextEl: t, prevEl: n, scrollbarEl: r, paginationEl: i } = e, { swiper: a, slides: o, passedParams: s, changedParams: c } = e, l = c.filter((e) => e !== "children" && e !== "direction" && e !== "wrapperClass"), { params: u, pagination: d, navigation: f, scrollbar: p, virtual: m, thumbs: h } = a, g = s, _ = u, v, y, b, x, S, C, w, T, E = g.thumbs, D = _.thumbs;
213
- c.includes("thumbs") && K(E) && E.swiper && !E.swiper.destroyed && K(D) && (!D.swiper || D.swiper.destroyed) && (v = !0);
223
+ c.includes("thumbs") && q(E) && E.swiper && !E.swiper.destroyed && q(D) && (!D.swiper || D.swiper.destroyed) && (v = !0);
214
224
  let O = g.controller, k = _.controller;
215
- c.includes("controller") && K(O) && O.control && K(k) && !k.control && (y = !0);
225
+ c.includes("controller") && q(O) && O.control && q(k) && !k.control && (y = !0);
216
226
  let A = g.pagination;
217
- c.includes("pagination") && K(A) && (A.el || i) && (_.pagination || _.pagination === !1) && d && !d.el && (b = !0);
227
+ c.includes("pagination") && q(A) && (A.el || i) && (_.pagination || _.pagination === !1) && d && !d.el && (b = !0);
218
228
  let j = g.scrollbar;
219
- c.includes("scrollbar") && K(j) && (j.el || r) && (_.scrollbar || _.scrollbar === !1) && p && !p.el && (x = !0);
229
+ c.includes("scrollbar") && q(j) && (j.el || r) && (_.scrollbar || _.scrollbar === !1) && p && !p.el && (x = !0);
220
230
  let M = g.navigation;
221
- c.includes("navigation") && K(M) && (M.prevEl || n) && (M.nextEl || t) && (_.navigation || _.navigation === !1) && f && !f.prevEl && !f.nextEl && (S = !0);
231
+ c.includes("navigation") && q(M) && (M.prevEl || n) && (M.nextEl || t) && (_.navigation || _.navigation === !1) && f && !f.prevEl && !f.nextEl && (S = !0);
222
232
  let N = (e) => {
223
233
  let t = a[e];
224
234
  if (!t) return;
225
235
  t.destroy();
226
- let n = _[e], r = K(n) ? n : void 0;
236
+ let n = _[e], r = q(n) ? n : void 0;
227
237
  e === "navigation" ? (a.isElement && (t.prevEl?.remove(), t.nextEl?.remove()), r && (r.prevEl = void 0, r.nextEl = void 0), t.prevEl = void 0, t.nextEl = void 0) : (a.isElement && t.el?.remove(), r && (r.el = void 0), t.el = void 0);
228
238
  };
229
239
  if (c.includes("loop") && a.isElement && (u.loop && !s.loop ? C = !0 : !u.loop && s.loop ? w = !0 : T = !0), l.forEach((e) => {
230
240
  let t = _[e], n = g[e];
231
- K(t) && K(n) ? (Object.assign(t, n), (e === "navigation" || e === "pagination" || e === "scrollbar") && "enabled" in n && !n.enabled && N(e)) : (n === !0 || n === !1) && (e === "navigation" || e === "pagination" || e === "scrollbar") ? n === !1 && N(e) : _[e] = n;
232
- }), l.includes("controller") && !y && a.controller && a.controller.control && K(k) && k.control && (a.controller.control = k.control), c.includes("children") && o && m && u.virtual?.enabled ? (m.slides = o, m.update(!0)) : c.includes("virtual") && m && u.virtual?.enabled && (o && (m.slides = o), m.update(!0)), c.includes("children") && o && u.loop && (T = !0), v && h && h.init() && h.update(!0), y && a.controller && K(k) && (a.controller.control = k.control), b && d) {
241
+ q(t) && q(n) ? (Object.assign(t, n), (e === "navigation" || e === "pagination" || e === "scrollbar") && "enabled" in n && !n.enabled && N(e)) : (n === !0 || n === !1) && (e === "navigation" || e === "pagination" || e === "scrollbar") ? n === !1 && N(e) : _[e] = n;
242
+ }), l.includes("controller") && !y && a.controller && a.controller.control && q(k) && k.control && (a.controller.control = k.control), c.includes("children") && o && m && u.virtual?.enabled ? (m.slides = o, m.update(!0)) : c.includes("virtual") && m && u.virtual?.enabled && (o && (m.slides = o), m.update(!0)), c.includes("children") && o && u.loop && (T = !0), v && h && h.init() && h.update(!0), y && a.controller && q(k) && (a.controller.control = k.control), b && d) {
233
243
  if (a.isElement && (!i || typeof i == "string")) {
234
244
  let e = document.createElement("div");
235
245
  e.classList.add("swiper-pagination"), e.part.add("pagination"), a.el.appendChild(e), i = e;
236
246
  }
237
247
  let e = _.pagination;
238
- i && K(e) && (e.el = i), d.init(), d.render(), d.update();
248
+ i && q(e) && (e.el = i), d.init(), d.render(), d.update();
239
249
  }
240
250
  if (x && p) {
241
251
  if (a.isElement && (!r || typeof r == "string")) {
@@ -243,7 +253,7 @@ function ot(e) {
243
253
  e.classList.add("swiper-scrollbar"), e.part.add("scrollbar"), a.el.appendChild(e), r = e;
244
254
  }
245
255
  let e = _.scrollbar;
246
- r && K(e) && (e.el = r), p.init(), p.updateSize(), p.setTranslate();
256
+ r && q(e) && (e.el = r), p.init(), p.updateSize(), p.setTranslate();
247
257
  }
248
258
  if (S && f) {
249
259
  if (a.isElement) {
@@ -257,7 +267,7 @@ function ot(e) {
257
267
  }
258
268
  }
259
269
  let e = _.navigation;
260
- t && K(e) && (e.nextEl = t), n && K(e) && (e.prevEl = n), f.init(), f.update();
270
+ t && q(e) && (e.nextEl = t), n && q(e) && (e.prevEl = n), f.init(), f.update();
261
271
  }
262
272
  c.includes("allowSlideNext") && (a.allowSlideNext = g.allowSlideNext), c.includes("allowSlidePrev") && (a.allowSlidePrev = g.allowSlidePrev), c.includes("direction") && a.changeDirection(g.direction, !1), (C || T) && a.loopDestroy(), (w || T) && a.loopCreate(), a.update();
263
273
  }
@@ -380,7 +390,7 @@ function xt() {
380
390
  a && !o && s?.disable?.(), !a && o && s?.enable?.();
381
391
  });
382
392
  let _ = u.direction && u.direction !== r.direction, v = r.loop && (u.slidesPerView !== r.slidesPerView || _), y = r.loop;
383
- _ && n && e.changeDirection(), W(e.params, u);
393
+ _ && n && e.changeDirection(), G(e.params, u);
384
394
  let b = e.params.enabled, x = e.params.loop;
385
395
  Object.assign(e, {
386
396
  allowTouchMove: e.params.allowTouchMove,
@@ -898,11 +908,11 @@ function Jt(e, t) {
898
908
  let n = this, { params: r, slidesEl: i } = n;
899
909
  if (!r.loop || n.virtual && n.params.virtual?.enabled) return;
900
910
  let a = () => {
901
- G(i, `.${r.slideClass}, swiper-slide`).forEach((e, t) => {
911
+ K(i, `.${r.slideClass}, swiper-slide`).forEach((e, t) => {
902
912
  e.setAttribute("data-swiper-slide-index", String(t));
903
913
  });
904
914
  }, o = () => {
905
- let e = G(i, `.${r.slideBlankClass}`);
915
+ let e = K(i, `.${r.slideBlankClass}`);
906
916
  e.forEach((e) => {
907
917
  e.remove();
908
918
  }), e.length > 0 && (n.recalcSlides(), n.updateSlides());
@@ -1034,14 +1044,14 @@ function Qt(e, t) {
1034
1044
  return function(n = {}) {
1035
1045
  let r = Object.keys(n)[0], i = n[r];
1036
1046
  if (typeof i != "object" || !i) {
1037
- W(t, n);
1047
+ G(t, n);
1038
1048
  return;
1039
1049
  }
1040
1050
  if (e[r] === !0 && (e[r] = { enabled: !0 }), r === "navigation" && e[r] && e[r].enabled && !e[r].prevEl && !e[r].nextEl && (e[r].auto = !0), ["pagination", "scrollbar"].indexOf(r) >= 0 && e[r] && e[r].enabled && !e[r].el && (e[r].auto = !0), !(r in e && "enabled" in i)) {
1041
- W(t, n);
1051
+ G(t, n);
1042
1052
  return;
1043
1053
  }
1044
- typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), W(t, n);
1054
+ typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), G(t, n);
1045
1055
  };
1046
1056
  }
1047
1057
  var $t = ({ swiper: e, extendParams: t, on: n }) => {
@@ -1203,7 +1213,7 @@ function on() {
1203
1213
  let a = t.slidesPerView === "auto" ? e.slidesPerViewDynamic() : t.slidesPerView, o = e.getSlideIndexWhenGrid(i), s, c = e.isElement ? "swiper-slide" : `.${t.slideClass}`, l = e.grid && e.params.grid && e.params.grid.rows > 1;
1204
1214
  if (t.loop) {
1205
1215
  if (e.animating) return;
1206
- s = parseInt(r.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(s) : o > (l ? (e.slides.length - a) / 2 - (e.params.grid.rows - 1) : e.slides.length - a) ? (e.loopFix(), o = e.getSlideIndex(G(n, `${c}[data-swiper-slide-index="${s}"]`)[0]), Pe(() => {
1216
+ s = parseInt(r.getAttribute("data-swiper-slide-index"), 10), t.centeredSlides ? e.slideToLoop(s) : o > (l ? (e.slides.length - a) / 2 - (e.params.grid.rows - 1) : e.slides.length - a) ? (e.loopFix(), o = e.getSlideIndex(K(n, `${c}[data-swiper-slide-index="${s}"]`)[0]), Pe(() => {
1207
1217
  e.slideTo(o);
1208
1218
  })) : e.slideTo(o);
1209
1219
  } else e.slideTo(o);
@@ -1457,7 +1467,7 @@ function Dn() {
1457
1467
  function t(t, n) {
1458
1468
  return parseFloat(t.getPropertyValue(e.getDirectionLabel(n)) || "0");
1459
1469
  }
1460
- let n = e.params, { wrapperEl: r, slidesEl: i, rtlTranslate: a, wrongRTL: o } = e, s = !!(e.virtual && n.virtual?.enabled), c = s ? e.virtual.slides.length : e.slides.length, l = G(i, `.${e.params.slideClass}, swiper-slide`), u = s ? e.virtual.slides.length : l.length, d = [], f = [], p = [], m = (t) => typeof t == "function" ? t.call(e) : t, h = m(n.slidesOffsetBefore), g = m(n.slidesOffsetAfter), _ = e.snapGrid.length, v = e.slidesGrid.length, y = e.size - h - g, b = n.spaceBetween, x = -h, S = 0, C = 0;
1470
+ let n = e.params, { wrapperEl: r, slidesEl: i, rtlTranslate: a, wrongRTL: o } = e, s = !!(e.virtual && n.virtual?.enabled), c = s ? e.virtual.slides.length : e.slides.length, l = K(i, `.${e.params.slideClass}, swiper-slide`), u = s ? e.virtual.slides.length : l.length, d = [], f = [], p = [], m = (t) => typeof t == "function" ? t.call(e) : t, h = m(n.slidesOffsetBefore), g = m(n.slidesOffsetAfter), _ = e.snapGrid.length, v = e.slidesGrid.length, y = e.size - h - g, b = n.spaceBetween, x = -h, S = 0, C = 0;
1461
1471
  if (y === void 0) return;
1462
1472
  typeof b == "string" && b.indexOf("%") >= 0 ? b = parseFloat(b.replace("%", "")) / 100 * y : typeof b == "string" && (b = parseFloat(b)), e.virtualSize = -b - h - g, l.forEach((e) => {
1463
1473
  a ? e.style.marginLeft = "" : e.style.marginRight = "", e.style.marginBottom = "", e.style.marginTop = "";
@@ -1559,7 +1569,7 @@ var On = (e, t, n) => {
1559
1569
  t && !e.classList.contains(n) ? e.classList.add(n) : !t && e.classList.contains(n) && e.classList.remove(n);
1560
1570
  };
1561
1571
  function kn() {
1562
- let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = !!(e.virtual && n.virtual?.enabled), o = e.grid && n.grid && n.grid.rows > 1, s = (e) => G(r, `.${n.slideClass}${e}, swiper-slide${e}`)[0], c, l, u;
1572
+ let e = this, { slides: t, params: n, slidesEl: r, activeIndex: i } = e, a = !!(e.virtual && n.virtual?.enabled), o = e.grid && n.grid && n.grid.rows > 1, s = (e) => K(r, `.${n.slideClass}${e}, swiper-slide${e}`)[0], c, l, u;
1563
1573
  if (a) if (n.loop) {
1564
1574
  let t = e.virtual.slides, n = i - (e.virtual.slidesBefore ?? 0);
1565
1575
  n < 0 && (n = t.length + n), n >= t.length && (n -= t.length), c = s(`[data-swiper-slide-index="${n}"]`);
@@ -1618,10 +1628,10 @@ var Nn = {
1618
1628
  static defaults;
1619
1629
  constructor(...t) {
1620
1630
  let n, r;
1621
- if (t.length === 1 && t[0] !== null && typeof t[0] == "object" && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r ||= {}, r = W({}, r), n && !r.el && (r.el = n), r.el && typeof r.el == "string" && typeof document < "u" && document.querySelectorAll(r.el).length > 1) {
1631
+ if (t.length === 1 && t[0] !== null && typeof t[0] == "object" && Object.prototype.toString.call(t[0]).slice(8, -1) === "Object" ? r = t[0] : [n, r] = t, r ||= {}, r = G({}, r), n && !r.el && (r.el = n), r.el && typeof r.el == "string" && typeof document < "u" && document.querySelectorAll(r.el).length > 1) {
1622
1632
  let t = [];
1623
1633
  return document.querySelectorAll(r.el).forEach((n) => {
1624
- let i = W({}, r, { el: n });
1634
+ let i = G({}, r, { el: n });
1625
1635
  t.push(new e(i));
1626
1636
  }), t;
1627
1637
  }
@@ -1641,7 +1651,7 @@ var Nn = {
1641
1651
  off: i.off.bind(i),
1642
1652
  emit: i.emit.bind(i)
1643
1653
  });
1644
- }), i.params = W({}, W({}, kt, a), Pn, r), i.originalParams = W({}, i.params), i.passedParams = W({}, r), i.params && i.params.on) {
1654
+ }), i.params = G({}, G({}, kt, a), Pn, r), i.originalParams = G({}, i.params), i.passedParams = G({}, r), i.params && i.params.on) {
1645
1655
  let e = i.params.on;
1646
1656
  Object.keys(e).forEach((t) => {
1647
1657
  let n = e[t];
@@ -1729,7 +1739,7 @@ var Nn = {
1729
1739
  return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
1730
1740
  }
1731
1741
  getSlideIndex(e) {
1732
- let { slidesEl: t, params: n } = this, r = Je(G(t, `.${n.slideClass}, swiper-slide`)[0]);
1742
+ let { slidesEl: t, params: n } = this, r = Je(K(t, `.${n.slideClass}, swiper-slide`)[0]);
1733
1743
  return Je(e) - (r ?? 0);
1734
1744
  }
1735
1745
  getSlideIndexByData(e) {
@@ -1740,7 +1750,7 @@ var Nn = {
1740
1750
  }
1741
1751
  recalcSlides() {
1742
1752
  let { slidesEl: e, params: t } = this;
1743
- this.slides = G(e, `.${t.slideClass}, swiper-slide`);
1753
+ this.slides = K(e, `.${t.slideClass}, swiper-slide`);
1744
1754
  }
1745
1755
  enable() {
1746
1756
  this.enabled || (this.enabled = !0, this.params.grabCursor && this.setGrabCursor(), this.emit("enable"));
@@ -1825,8 +1835,8 @@ var Nn = {
1825
1835
  r.swiper = t;
1826
1836
  let i = r.parentNode;
1827
1837
  i && i.host && i.host.nodeName === t.params.swiperElementNodeName.toUpperCase() && (t.isElement = !0);
1828
- let a = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, o = r && r.shadowRoot ? r.shadowRoot.querySelector(a()) : G(r, a())[0];
1829
- !o && t.params.createElements && (o = We("div", t.params.wrapperClass), r.append(o), G(r, `.${t.params.slideClass}`).forEach((e) => {
1838
+ let a = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, o = r && r.shadowRoot ? r.shadowRoot.querySelector(a()) : K(r, a())[0];
1839
+ !o && t.params.createElements && (o = We("div", t.params.wrapperClass), r.append(o), K(r, `.${t.params.slideClass}`).forEach((e) => {
1830
1840
  o.append(e);
1831
1841
  }));
1832
1842
  let s = t.isElement ? r.parentNode.host : null;
@@ -1861,7 +1871,7 @@ var Nn = {
1861
1871
  }), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Ne(n)), n.destroyed = !0, null);
1862
1872
  }
1863
1873
  static extendDefaults(e) {
1864
- W(Pn, e);
1874
+ G(Pn, e);
1865
1875
  }
1866
1876
  static installModule(t) {
1867
1877
  e.prototype.__modules__ || (e.prototype.__modules__ = []);
@@ -1899,7 +1909,7 @@ function Rn(e, t, n, r, i) {
1899
1909
  return $e.filter((e) => e[0] === "_").map((e) => e.replace(/_/, "")).forEach((n) => {
1900
1910
  if (n in e && n in t) {
1901
1911
  let r = e[n], i = t[n];
1902
- if (K(r) && K(i)) {
1912
+ if (q(r) && q(i)) {
1903
1913
  let e = Object.keys(r), t = Object.keys(i);
1904
1914
  e.length === t.length ? (e.forEach((e) => {
1905
1915
  r[e] !== i[e] && o(n);
@@ -1916,7 +1926,7 @@ function zn(e = {}, t = !0) {
1916
1926
  let a = {}, o = $e.map((e) => e.replace(/_/, "")), s = { ...e };
1917
1927
  return Object.keys(s).forEach((s) => {
1918
1928
  let c = e[s];
1919
- if (c !== void 0) if (o.indexOf(s) >= 0) K(c) ? (n[s] = {}, i[s] = {}, et(n[s], c), et(i[s], c)) : (n[s] = c, i[s] = c);
1929
+ if (c !== void 0) if (o.indexOf(s) >= 0) q(c) ? (n[s] = {}, i[s] = {}, et(n[s], c), et(i[s], c)) : (n[s] = c, i[s] = c);
1920
1930
  else if (s.search(/on[A-Z]/) === 0 && typeof c == "function") {
1921
1931
  let e = `${s[2].toLowerCase()}${s.substring(3)}`, i = c;
1922
1932
  t ? r[e] = i : n.on[e] = i;
@@ -2459,7 +2469,7 @@ var Wn = g({
2459
2469
  },
2460
2470
  emits: /* @__PURE__ */ "_beforeBreakpoint._containerClasses._slideClass._slideClasses._swiper._freeModeNoMomentumRelease._virtualUpdated.activeIndexChange.afterInit.autoplay.autoplayStart.autoplayStop.autoplayPause.autoplayResume.autoplayTimeLeft.beforeDestroy.beforeInit.beforeLoopFix.beforeResize.beforeSlideChangeStart.beforeTransitionStart.breakpoint.changeDirection.click.disable.doubleTap.doubleClick.destroy.enable.fromEdge.hashChange.hashSet.init.keyPress.lock.loopFix.momentumBounce.navigationHide.navigationShow.navigationPrev.navigationNext.observerUpdate.orientationchange.paginationHide.paginationRender.paginationShow.paginationUpdate.progress.reachBeginning.reachEnd.realIndexChange.resize.scroll.scrollbarDragEnd.scrollbarDragMove.scrollbarDragStart.setTransition.setTranslate.slidesUpdated.slideChange.slideChangeTransitionEnd.slideChangeTransitionStart.slideNextTransitionEnd.slideNextTransitionStart.slidePrevTransitionEnd.slidePrevTransitionStart.slideResetTransitionStart.slideResetTransitionEnd.sliderMove.sliderFirstMove.slidesLengthChange.slidesGridLengthChange.snapGridLengthChange.snapIndexChange.swiper.tap.toEdge.touchEnd.touchMove.touchMoveOpposite.touchStart.transitionEnd.transitionStart.unlock.update.virtualUpdate.zoomChange".split("."),
2461
2471
  setup(e, { slots: t, emit: n }) {
2462
- let { tag: r, wrapperTag: i } = e, a = I("swiper"), o = I(null), s = I(!1), c = I(!1), l = I(null), u = ce(null), d = I(null), f = { value: [] }, p = { value: [] }, m = I(null), h = I(null), g = I(null), _ = I(null), { params: v, passedParams: y } = zn(e, !1);
2472
+ let { tag: r, wrapperTag: i } = e, a = I("swiper"), o = I(null), s = I(!1), c = I(!1), l = I(null), u = le(null), d = I(null), f = { value: [] }, p = { value: [] }, m = I(null), h = I(null), g = I(null), _ = I(null), { params: v, passedParams: y } = zn(e, !1);
2463
2473
  Hn(t, f, p), d.value = y, p.value = f.value, v.onAny = (e, ...t) => {
2464
2474
  n(e, ...t);
2465
2475
  }, Object.assign(v.on, {
@@ -2632,7 +2642,7 @@ function Kn(e, t, n, r) {
2632
2642
  let i = n ?? {}, a = t ?? {};
2633
2643
  return e.params.createElements && Object.keys(r).forEach((t) => {
2634
2644
  if (!i[t] && i.auto === !0) {
2635
- let n = G(e.el, `.${r[t]}`)[0];
2645
+ let n = K(e.el, `.${r[t]}`)[0];
2636
2646
  n || (n = We("div", r[t]), n.className = r[t], e.el.append(n)), i[t] = n, a[t] = n;
2637
2647
  }
2638
2648
  }), i;
@@ -2752,11 +2762,11 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2752
2762
  init: u,
2753
2763
  destroy: d
2754
2764
  });
2755
- }, Yn = /* @__PURE__ */ U(((e, t) => {
2765
+ }, Yn = /* @__PURE__ */ W(((e, t) => {
2756
2766
  t.exports = function() {
2757
2767
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
2758
2768
  };
2759
- })), Xn = /* @__PURE__ */ U(((e) => {
2769
+ })), Xn = /* @__PURE__ */ W(((e) => {
2760
2770
  var t, n = [
2761
2771
  0,
2762
2772
  26,
@@ -2818,7 +2828,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2818
2828
  }, e.toSJIS = function(e) {
2819
2829
  return t(e);
2820
2830
  };
2821
- })), Zn = /* @__PURE__ */ U(((e) => {
2831
+ })), Zn = /* @__PURE__ */ W(((e) => {
2822
2832
  e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
2823
2833
  function t(t) {
2824
2834
  if (typeof t != "string") throw Error("Param is not a string");
@@ -2844,7 +2854,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2844
2854
  return r;
2845
2855
  }
2846
2856
  };
2847
- })), Qn = /* @__PURE__ */ U(((e, t) => {
2857
+ })), Qn = /* @__PURE__ */ W(((e, t) => {
2848
2858
  function n() {
2849
2859
  this.buffer = [], this.length = 0;
2850
2860
  }
@@ -2864,7 +2874,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2864
2874
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
2865
2875
  }
2866
2876
  }, t.exports = n;
2867
- })), $n = /* @__PURE__ */ U(((e, t) => {
2877
+ })), $n = /* @__PURE__ */ W(((e, t) => {
2868
2878
  function n(e) {
2869
2879
  if (!e || e < 1) throw Error("BitMatrix size must be defined and greater than 0");
2870
2880
  this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
@@ -2879,7 +2889,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2879
2889
  }, n.prototype.isReserved = function(e, t) {
2880
2890
  return this.reservedBit[e * this.size + t];
2881
2891
  }, t.exports = n;
2882
- })), er = /* @__PURE__ */ U(((e) => {
2892
+ })), er = /* @__PURE__ */ W(((e) => {
2883
2893
  var t = Xn().getSymbolSize;
2884
2894
  e.getRowColCoords = function(e) {
2885
2895
  if (e === 1) return [];
@@ -2891,7 +2901,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2891
2901
  for (let e = 0; e < i; e++) for (let t = 0; t < i; t++) e === 0 && t === 0 || e === 0 && t === i - 1 || e === i - 1 && t === 0 || n.push([r[e], r[t]]);
2892
2902
  return n;
2893
2903
  };
2894
- })), tr = /* @__PURE__ */ U(((e) => {
2904
+ })), tr = /* @__PURE__ */ W(((e) => {
2895
2905
  var t = Xn().getSymbolSize, n = 7;
2896
2906
  e.getPositions = function(e) {
2897
2907
  let r = t(e);
@@ -2901,7 +2911,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2901
2911
  [0, r - n]
2902
2912
  ];
2903
2913
  };
2904
- })), nr = /* @__PURE__ */ U(((e) => {
2914
+ })), nr = /* @__PURE__ */ W(((e) => {
2905
2915
  e.Patterns = {
2906
2916
  PATTERN000: 0,
2907
2917
  PATTERN001: 1,
@@ -2977,7 +2987,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2977
2987
  }
2978
2988
  return i;
2979
2989
  };
2980
- })), rr = /* @__PURE__ */ U(((e) => {
2990
+ })), rr = /* @__PURE__ */ W(((e) => {
2981
2991
  var t = Zn(), n = [
2982
2992
  1,
2983
2993
  1,
@@ -3318,7 +3328,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3318
3328
  default: return;
3319
3329
  }
3320
3330
  };
3321
- })), ir = /* @__PURE__ */ U(((e) => {
3331
+ })), ir = /* @__PURE__ */ W(((e) => {
3322
3332
  var t = /* @__PURE__ */ new Uint8Array(512), n = /* @__PURE__ */ new Uint8Array(256);
3323
3333
  (function() {
3324
3334
  let e = 1;
@@ -3332,7 +3342,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3332
3342
  }, e.mul = function(e, r) {
3333
3343
  return e === 0 || r === 0 ? 0 : t[n[e] + n[r]];
3334
3344
  };
3335
- })), ar = /* @__PURE__ */ U(((e) => {
3345
+ })), ar = /* @__PURE__ */ W(((e) => {
3336
3346
  var t = ir();
3337
3347
  e.mul = function(e, n) {
3338
3348
  let r = new Uint8Array(e.length + n.length - 1);
@@ -3353,7 +3363,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3353
3363
  for (let i = 0; i < n; i++) r = e.mul(r, new Uint8Array([1, t.exp(i)]));
3354
3364
  return r;
3355
3365
  };
3356
- })), or = /* @__PURE__ */ U(((e, t) => {
3366
+ })), or = /* @__PURE__ */ W(((e, t) => {
3357
3367
  var n = ar();
3358
3368
  function r(e) {
3359
3369
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
@@ -3371,11 +3381,11 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3371
3381
  }
3372
3382
  return r;
3373
3383
  }, t.exports = r;
3374
- })), sr = /* @__PURE__ */ U(((e) => {
3384
+ })), sr = /* @__PURE__ */ W(((e) => {
3375
3385
  e.isValid = function(e) {
3376
3386
  return !isNaN(e) && e >= 1 && e <= 40;
3377
3387
  };
3378
- })), cr = /* @__PURE__ */ U(((e) => {
3388
+ })), cr = /* @__PURE__ */ W(((e) => {
3379
3389
  var t = "[0-9]+", n = "[A-Z $%*+\\-./:]+", r = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
3380
3390
  r = r.replace(/u/g, "\\u");
3381
3391
  var i = "(?:(?![A-Z0-9 $%*+\\-./:]|" + r + ")(?:.|[\r\n]))+";
@@ -3388,7 +3398,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3388
3398
  }, e.testAlphanumeric = function(e) {
3389
3399
  return s.test(e);
3390
3400
  };
3391
- })), lr = /* @__PURE__ */ U(((e) => {
3401
+ })), lr = /* @__PURE__ */ W(((e) => {
3392
3402
  var t = sr(), n = cr();
3393
3403
  e.NUMERIC = {
3394
3404
  id: "Numeric",
@@ -3452,7 +3462,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3452
3462
  return n;
3453
3463
  }
3454
3464
  };
3455
- })), ur = /* @__PURE__ */ U(((e) => {
3465
+ })), ur = /* @__PURE__ */ W(((e) => {
3456
3466
  var t = Xn(), n = rr(), r = Zn(), i = lr(), a = sr(), o = 7973, s = t.getBCHDigit(o);
3457
3467
  function c(t, n, r) {
3458
3468
  for (let i = 1; i <= 40; i++) if (n <= e.getCapacity(i, r, t)) return i;
@@ -3499,14 +3509,14 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3499
3509
  for (; t.getBCHDigit(n) - s >= 0;) n ^= o << t.getBCHDigit(n) - s;
3500
3510
  return e << 12 | n;
3501
3511
  };
3502
- })), dr = /* @__PURE__ */ U(((e) => {
3512
+ })), dr = /* @__PURE__ */ W(((e) => {
3503
3513
  var t = Xn(), n = 1335, r = 21522, i = t.getBCHDigit(n);
3504
3514
  e.getEncodedBits = function(e, a) {
3505
3515
  let o = e.bit << 3 | a, s = o << 10;
3506
3516
  for (; t.getBCHDigit(s) - i >= 0;) s ^= n << t.getBCHDigit(s) - i;
3507
3517
  return (o << 10 | s) ^ r;
3508
3518
  };
3509
- })), fr = /* @__PURE__ */ U(((e, t) => {
3519
+ })), fr = /* @__PURE__ */ W(((e, t) => {
3510
3520
  var n = lr();
3511
3521
  function r(e) {
3512
3522
  this.mode = n.NUMERIC, this.data = e.toString();
@@ -3523,7 +3533,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3523
3533
  let i = this.data.length - t;
3524
3534
  i > 0 && (n = this.data.substr(t), r = parseInt(n, 10), e.put(r, i * 3 + 1));
3525
3535
  }, t.exports = r;
3526
- })), pr = /* @__PURE__ */ U(((e, t) => {
3536
+ })), pr = /* @__PURE__ */ W(((e, t) => {
3527
3537
  var n = lr(), r = /* @__PURE__ */ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");
3528
3538
  function i(e) {
3529
3539
  this.mode = n.ALPHANUMERIC, this.data = e;
@@ -3542,7 +3552,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3542
3552
  }
3543
3553
  this.data.length % 2 && e.put(r.indexOf(this.data[t]), 6);
3544
3554
  }, t.exports = i;
3545
- })), mr = /* @__PURE__ */ U(((e, t) => {
3555
+ })), mr = /* @__PURE__ */ W(((e, t) => {
3546
3556
  var n = lr();
3547
3557
  function r(e) {
3548
3558
  this.mode = n.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
@@ -3556,7 +3566,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3556
3566
  }, r.prototype.write = function(e) {
3557
3567
  for (let t = 0, n = this.data.length; t < n; t++) e.put(this.data[t], 8);
3558
3568
  }, t.exports = r;
3559
- })), hr = /* @__PURE__ */ U(((e, t) => {
3569
+ })), hr = /* @__PURE__ */ W(((e, t) => {
3560
3570
  var n = lr(), r = Xn();
3561
3571
  function i(e) {
3562
3572
  this.mode = n.KANJI, this.data = e;
@@ -3577,7 +3587,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3577
3587
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
3578
3588
  }
3579
3589
  }, t.exports = i;
3580
- })), gr = /* @__PURE__ */ U(((e, t) => {
3590
+ })), gr = /* @__PURE__ */ W(((e, t) => {
3581
3591
  var n = {
3582
3592
  single_source_shortest_paths: function(e, t, r) {
3583
3593
  var i = {}, a = {};
@@ -3630,7 +3640,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3630
3640
  }
3631
3641
  };
3632
3642
  t !== void 0 && (t.exports = n);
3633
- })), _r = /* @__PURE__ */ U(((e) => {
3643
+ })), _r = /* @__PURE__ */ W(((e) => {
3634
3644
  var t = lr(), n = fr(), r = pr(), i = mr(), a = hr(), o = cr(), s = Xn(), c = gr();
3635
3645
  function l(e) {
3636
3646
  return unescape(encodeURIComponent(e)).length;
@@ -3758,7 +3768,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3758
3768
  }, e.rawSplit = function(t) {
3759
3769
  return e.fromArray(d(t, s.isKanjiModeEnabled()));
3760
3770
  };
3761
- })), vr = /* @__PURE__ */ U(((e) => {
3771
+ })), vr = /* @__PURE__ */ W(((e) => {
3762
3772
  var t = Xn(), n = Zn(), r = Qn(), i = $n(), a = er(), o = tr(), s = nr(), c = rr(), l = or(), u = ur(), d = dr(), f = lr(), p = _r();
3763
3773
  function m(e, t) {
3764
3774
  let n = e.size, r = o.getPositions(t);
@@ -3854,7 +3864,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3854
3864
  let i = n.M, a, o;
3855
3865
  return r !== void 0 && (i = n.from(r.errorCorrectionLevel, n.M), a = u.from(r.version), o = s.from(r.maskPattern), r.toSJISFunc && t.setToSJISFunction(r.toSJISFunc)), S(e, a, i, o);
3856
3866
  };
3857
- })), yr = /* @__PURE__ */ U(((e) => {
3867
+ })), yr = /* @__PURE__ */ W(((e) => {
3858
3868
  function t(e) {
3859
3869
  if (typeof e == "number" && (e = e.toString()), typeof e != "string") throw Error("Color should be defined as hex string");
3860
3870
  let t = e.slice().replace("#", "").split("");
@@ -3901,7 +3911,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3901
3911
  t[u++] = d.r, t[u++] = d.g, t[u++] = d.b, t[u] = d.a;
3902
3912
  }
3903
3913
  };
3904
- })), br = /* @__PURE__ */ U(((e) => {
3914
+ })), br = /* @__PURE__ */ W(((e) => {
3905
3915
  var t = yr();
3906
3916
  function n(e, t, n) {
3907
3917
  e.clearRect(0, 0, t.width, t.height), t.style ||= {}, t.height = n, t.width = n, t.style.height = n + "px", t.style.width = n + "px";
@@ -3924,7 +3934,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3924
3934
  let a = e.render(t, n, i), o = i.type || "image/png", s = i.rendererOpts || {};
3925
3935
  return a.toDataURL(o, s.quality);
3926
3936
  };
3927
- })), xr = /* @__PURE__ */ U(((e) => {
3937
+ })), xr = /* @__PURE__ */ W(((e) => {
3928
3938
  var t = yr();
3929
3939
  function n(e, t) {
3930
3940
  let n = e.a / 255, r = t + "=\"" + e.hex + "\"";
@@ -3946,7 +3956,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3946
3956
  let o = t.getOptions(r), s = e.modules.size, c = e.modules.data, l = s + o.margin * 2, u = o.color.light.a ? "<path " + n(o.color.light, "fill") + " d=\"M0 0h" + l + "v" + l + "H0z\"/>" : "", d = "<path " + n(o.color.dark, "stroke") + " d=\"" + i(c, s, o.margin) + "\"/>", f = "viewBox=\"0 0 " + l + " " + l + "\"", p = "<svg xmlns=\"http://www.w3.org/2000/svg\" " + (o.width ? "width=\"" + o.width + "\" height=\"" + o.width + "\" " : "") + f + " shape-rendering=\"crispEdges\">" + u + d + "</svg>\n";
3947
3957
  return typeof a == "function" && a(null, p), p;
3948
3958
  };
3949
- })), Sr = /* @__PURE__ */ U(((e) => {
3959
+ })), Sr = /* @__PURE__ */ W(((e) => {
3950
3960
  var t = Yn(), n = vr(), r = br(), i = xr();
3951
3961
  function a(e, r, i, a, o) {
3952
3962
  let s = [].slice.call(arguments, 1), c = s.length, l = typeof s[c - 1] == "function";
@@ -4034,15 +4044,15 @@ function kr(e) {
4034
4044
  let t = !1, n, r = _(!0);
4035
4045
  return ((...i) => (t ||= (n = r.run(() => e(...i)), !0), n));
4036
4046
  }
4037
- var q = typeof window < "u" && typeof document < "u";
4047
+ var J = typeof window < "u" && typeof document < "u";
4038
4048
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4039
4049
  var Ar = (e) => e !== void 0, jr = Object.prototype.toString, Mr = (e) => jr.call(e) === "[object Object]", Nr = () => {}, Pr = /* #__PURE__ */ Fr();
4040
4050
  function Fr() {
4041
4051
  var e, t;
4042
- return q && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
4052
+ return J && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
4043
4053
  }
4044
4054
  function Ir(...e) {
4045
- if (e.length !== 1) return ue(...e);
4055
+ if (e.length !== 1) return de(...e);
4046
4056
  let t = e[0];
4047
4057
  return typeof t == "function" ? ie(h(() => ({
4048
4058
  get: t,
@@ -4075,7 +4085,7 @@ function zr(e = Rr, t = {}) {
4075
4085
  r.value = !0;
4076
4086
  }
4077
4087
  return {
4078
- isActive: se(r),
4088
+ isActive: ce(r),
4079
4089
  pause: i,
4080
4090
  resume: a,
4081
4091
  eventFilter: (...t) => {
@@ -4090,7 +4100,7 @@ function Vr(e) {
4090
4100
  return e || v();
4091
4101
  }
4092
4102
  function Hr(e) {
4093
- if (!q) return e;
4103
+ if (!J) return e;
4094
4104
  let t = 0, n, r, i = () => {
4095
4105
  --t, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
4096
4106
  };
@@ -4126,7 +4136,7 @@ function Wr(e) {
4126
4136
  }
4127
4137
  function Gr(e, ...t) {
4128
4138
  let n = t.flat(), r = n[0];
4129
- return Wr(() => Object.fromEntries(typeof r == "function" ? Object.entries(de(e)).filter(([e, t]) => !r(z(t), e)) : Object.entries(de(e)).filter((e) => !n.includes(e[0]))));
4139
+ return Wr(() => Object.fromEntries(typeof r == "function" ? Object.entries(fe(e)).filter(([e, t]) => !r(z(t), e)) : Object.entries(fe(e)).filter((e) => !n.includes(e[0]))));
4130
4140
  }
4131
4141
  function Kr(e, t = 1e4) {
4132
4142
  return h((n, r) => {
@@ -4190,8 +4200,8 @@ function Zr(e, t, n) {
4190
4200
  }
4191
4201
  //#endregion
4192
4202
  //#region node_modules/@vueuse/core/dist/index.js
4193
- var Qr = q ? window : void 0;
4194
- q && window.document, q && window.navigator, q && window.location;
4203
+ var Qr = J ? window : void 0;
4204
+ J && window.document, J && window.navigator, J && window.location;
4195
4205
  function $r(e) {
4196
4206
  let t = z(e);
4197
4207
  return t?.$el ?? t;
@@ -4215,7 +4225,7 @@ function ei(...e) {
4215
4225
  }, { flush: "post" });
4216
4226
  }
4217
4227
  function ti() {
4218
- let e = ce(!1), t = v();
4228
+ let e = le(!1), t = v();
4219
4229
  return t && N(() => {
4220
4230
  e.value = !0;
4221
4231
  }, t), e;
@@ -4293,7 +4303,7 @@ var fi = di(), pi = Hr(() => {
4293
4303
  document.body.style.paddingRight = "", document.body.style.marginRight = "", document.body.style.pointerEvents = "", document.documentElement.style.removeProperty("--scrollbar-width"), document.body.style.overflow = t.value ?? "", Pr && i?.(), t.value = void 0;
4294
4304
  };
4295
4305
  return V(n, (e, o) => {
4296
- if (!q) return;
4306
+ if (!J) return;
4297
4307
  if (!e) {
4298
4308
  o && a();
4299
4309
  return;
@@ -4351,15 +4361,15 @@ function _i(e) {
4351
4361
  function vi(e) {
4352
4362
  let t = v(), n = t?.type.emits, r = {};
4353
4363
  return n?.length || console.warn(`No emitted event found. Please check component: ${t?.type.__name}`), n?.forEach((t) => {
4354
- r[le(o(t))] = (...n) => e(t, ...n);
4364
+ r[ue(o(t))] = (...n) => e(t, ...n);
4355
4365
  }), r;
4356
4366
  }
4357
4367
  //#endregion
4358
4368
  //#region node_modules/reka-ui/dist/shared/useFocusGuards.js
4359
4369
  var yi = 0;
4360
4370
  function bi() {
4361
- pe((e) => {
4362
- if (!q) return;
4371
+ H((e) => {
4372
+ if (!J) return;
4363
4373
  let t = document.querySelectorAll("[data-reka-focus-guard]");
4364
4374
  document.body.insertAdjacentElement("afterbegin", t[0] ?? xi()), document.body.insertAdjacentElement("beforeend", t[1] ?? xi()), yi++, e(() => {
4365
4375
  yi === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((e) => e.remove()), yi--;
@@ -4372,10 +4382,10 @@ function xi() {
4372
4382
  }
4373
4383
  //#endregion
4374
4384
  //#region node_modules/reka-ui/dist/shared/useForwardExpose.js
4375
- function J() {
4385
+ function Y() {
4376
4386
  let e = v(), t = I(), n = c(() => r());
4377
4387
  te(() => {
4378
- n.value !== r() && fe(t);
4388
+ n.value !== r() && pe(t);
4379
4389
  });
4380
4390
  function r() {
4381
4391
  return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : $r(t);
@@ -4423,7 +4433,7 @@ function Si(e) {
4423
4433
  let t = v(), n = Object.keys(t?.type.props ?? {}).reduce((e, n) => {
4424
4434
  let r = (t?.type.props[n]).default;
4425
4435
  return r !== void 0 && (e[n] = r), e;
4426
- }, {}), r = ue(e);
4436
+ }, {}), r = de(e);
4427
4437
  return c(() => {
4428
4438
  let e = {}, i = t?.vnode.props ?? {};
4429
4439
  return Object.keys(i).forEach((t) => {
@@ -4462,14 +4472,14 @@ function wi(e, t) {
4462
4472
  }, o = Ei(a, Ti(a, i.getBoundingClientRect()), 1), s = Di(t.getBoundingClientRect()), c = ki([...o, ...s]);
4463
4473
  r.value = c, n.value = !0;
4464
4474
  }
4465
- return pe((n) => {
4475
+ return H((n) => {
4466
4476
  if (e.value && t.value) {
4467
4477
  let r = (e) => o(e, t.value), i = (t) => o(t, e.value);
4468
4478
  e.value.addEventListener("pointerleave", r), t.value.addEventListener("pointerleave", i), n(() => {
4469
4479
  e.value?.removeEventListener("pointerleave", r), t.value?.removeEventListener("pointerleave", i);
4470
4480
  });
4471
4481
  }
4472
- }), pe((n) => {
4482
+ }), H((n) => {
4473
4483
  if (r.value) {
4474
4484
  let o = (n) => {
4475
4485
  if (!r.value || !(n.target instanceof Element)) return;
@@ -4719,7 +4729,7 @@ function Gi(e, t) {
4719
4729
  },
4720
4730
  unmounted: { MOUNT: "mounted" }
4721
4731
  }), d = (e) => {
4722
- if (q) {
4732
+ if (J) {
4723
4733
  let n = new CustomEvent(e, {
4724
4734
  bubbles: !1,
4725
4735
  cancelable: !1
@@ -4771,7 +4781,7 @@ var qi = /*#__PURE__*/ g({
4771
4781
  },
4772
4782
  slots: {},
4773
4783
  setup(e, { slots: t, expose: n }) {
4774
- let { present: r, forceMount: i } = de(e), a = I(), { isPresent: o } = Gi(r, a);
4784
+ let { present: r, forceMount: i } = fe(e), a = I(), { isPresent: o } = Gi(r, a);
4775
4785
  n({ present: o });
4776
4786
  let s = t.default({ present: o.value });
4777
4787
  s = oi(s || []);
@@ -4837,8 +4847,8 @@ function $i(e, t) {
4837
4847
  }
4838
4848
  function ea(e, t, n = !0) {
4839
4849
  let r = t?.value?.ownerDocument ?? globalThis?.document, i = I(!1), a = I(() => {});
4840
- return pe((o) => {
4841
- if (!q || !z(n)) return;
4850
+ return H((o) => {
4851
+ if (!J || !z(n)) return;
4842
4852
  let s = async (n) => {
4843
4853
  let o = n.target;
4844
4854
  if (!(!t?.value || !o)) {
@@ -4867,8 +4877,8 @@ function ea(e, t, n = !0) {
4867
4877
  }
4868
4878
  function ta(e, t, n = !0) {
4869
4879
  let r = t?.value?.ownerDocument ?? globalThis?.document, i = I(!1);
4870
- return pe((a) => {
4871
- if (!q || !z(n)) return;
4880
+ return H((a) => {
4881
+ if (!J || !z(n)) return;
4872
4882
  let o = async (n) => {
4873
4883
  if (!t?.value) return;
4874
4884
  await E(), await E();
@@ -4887,7 +4897,7 @@ function ta(e, t, n = !0) {
4887
4897
  }
4888
4898
  //#endregion
4889
4899
  //#region node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
4890
- var Y = /*#__PURE__*/ re({
4900
+ var X = /*#__PURE__*/ re({
4891
4901
  layersRoot: /* @__PURE__ */ new Set(),
4892
4902
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
4893
4903
  originalBodyPointerEvents: void 0,
@@ -4922,14 +4932,14 @@ var Y = /*#__PURE__*/ re({
4922
4932
  "dismiss"
4923
4933
  ],
4924
4934
  setup(e, { emit: t }) {
4925
- let n = e, r = t, { forwardRef: i, currentElement: a } = J(), o = c(() => a.value?.ownerDocument ?? globalThis.document), s = c(() => Y.layersRoot), u = c(() => a.value ? Array.from(s.value).indexOf(a.value) : -1), d = c(() => Y.layersWithOutsidePointerEventsDisabled.size > 0), f = c(() => {
4926
- let e = Array.from(s.value), [t] = [...Y.layersWithOutsidePointerEventsDisabled].slice(-1), n = e.indexOf(t);
4935
+ let n = e, r = t, { forwardRef: i, currentElement: a } = Y(), o = c(() => a.value?.ownerDocument ?? globalThis.document), s = c(() => X.layersRoot), u = c(() => a.value ? Array.from(s.value).indexOf(a.value) : -1), d = c(() => X.layersWithOutsidePointerEventsDisabled.size > 0), f = c(() => {
4936
+ let e = Array.from(s.value), [t] = [...X.layersWithOutsidePointerEventsDisabled].slice(-1), n = e.indexOf(t);
4927
4937
  return u.value >= n;
4928
4938
  }), p = ea(async (e) => {
4929
- let t = [...Y.branches].some((t) => t?.contains(e.target));
4939
+ let t = [...X.branches].some((t) => t?.contains(e.target));
4930
4940
  !n.present || !f.value || t || (r("pointerDownOutside", e), r("interactOutside", e), await E(), e.defaultPrevented || r("dismiss"));
4931
4941
  }, a), m = ta((e) => {
4932
- let t = [...Y.branches].some((t) => t?.contains(e.target));
4942
+ let t = [...X.branches].some((t) => t?.contains(e.target));
4933
4943
  !n.present || t || (r("focusOutside", e), r("interactOutside", e), e.defaultPrevented || r("dismiss"));
4934
4944
  }, a);
4935
4945
  return ri("Escape", (e) => {
@@ -4939,16 +4949,16 @@ var Y = /*#__PURE__*/ re({
4939
4949
  () => n.disableOutsidePointerEvents,
4940
4950
  () => n.present
4941
4951
  ], ([e, t, n], r, i) => {
4942
- !e || !n || t && (Y.layersWithOutsidePointerEventsDisabled.size === 0 && (Y.originalBodyPointerEvents = o.value.body.style.pointerEvents, o.value.body.style.pointerEvents = "none"), Y.layersWithOutsidePointerEventsDisabled.add(e), i(() => {
4943
- Y.layersWithOutsidePointerEventsDisabled.delete(e), Y.layersWithOutsidePointerEventsDisabled.size === 0 && !Er(Y.originalBodyPointerEvents) && (o.value.body.style.pointerEvents = Y.originalBodyPointerEvents);
4952
+ !e || !n || t && (X.layersWithOutsidePointerEventsDisabled.size === 0 && (X.originalBodyPointerEvents = o.value.body.style.pointerEvents, o.value.body.style.pointerEvents = "none"), X.layersWithOutsidePointerEventsDisabled.add(e), i(() => {
4953
+ X.layersWithOutsidePointerEventsDisabled.delete(e), X.layersWithOutsidePointerEventsDisabled.size === 0 && !Er(X.originalBodyPointerEvents) && (o.value.body.style.pointerEvents = X.originalBodyPointerEvents);
4944
4954
  }));
4945
4955
  }, { immediate: !0 }), V([a, () => n.present], ([e, t], n, r) => {
4946
4956
  !e || !t || (s.value.add(e), r(() => {
4947
4957
  s.value.delete(e);
4948
4958
  }));
4949
- }, { immediate: !0 }), pe((e) => {
4959
+ }, { immediate: !0 }), H((e) => {
4950
4960
  e(() => {
4951
- a.value && (s.value.delete(a.value), Y.layersWithOutsidePointerEventsDisabled.delete(a.value));
4961
+ a.value && (s.value.delete(a.value), X.layersWithOutsidePointerEventsDisabled.delete(a.value));
4952
4962
  });
4953
4963
  }), (e, t) => (F(), l(B(Xi), {
4954
4964
  ref: B(i),
@@ -4960,7 +4970,7 @@ var Y = /*#__PURE__*/ re({
4960
4970
  onBlurCapture: B(m).onBlurCapture,
4961
4971
  onPointerdownCapture: B(p).onPointerDownCapture
4962
4972
  }, {
4963
- default: H(() => [L(e.$slots, "default")]),
4973
+ default: U(() => [L(e.$slots, "default")]),
4964
4974
  _: 3
4965
4975
  }, 8, [
4966
4976
  "as-child",
@@ -5062,7 +5072,7 @@ var ga = /* @__PURE__ */ g({
5062
5072
  },
5063
5073
  emits: ["mountAutoFocus", "unmountAutoFocus"],
5064
5074
  setup(e, { emit: t }) {
5065
- let n = e, r = t, { currentRef: i, currentElement: a } = J(), o = I(null), s = ia(), c = /*#__PURE__*/ re({
5075
+ let n = e, r = t, { currentRef: i, currentElement: a } = Y(), o = I(null), s = ia(), c = /*#__PURE__*/ re({
5066
5076
  paused: !1,
5067
5077
  pause() {
5068
5078
  this.paused = !0;
@@ -5071,8 +5081,8 @@ var ga = /* @__PURE__ */ g({
5071
5081
  this.paused = !1;
5072
5082
  }
5073
5083
  });
5074
- pe((e) => {
5075
- if (!q) return;
5084
+ H((e) => {
5085
+ if (!J) return;
5076
5086
  let t = a.value;
5077
5087
  if (!n.trapped) return;
5078
5088
  function r(e) {
@@ -5102,7 +5112,7 @@ var ga = /* @__PURE__ */ g({
5102
5112
  let n = new CustomEvent(oa, ca), i = (e) => r("mountAutoFocus", e);
5103
5113
  e.addEventListener(oa, i), e.dispatchEvent(n), e.removeEventListener(oa, i), n.defaultPrevented || (la(da(e), { select: !0 }), wr() === t && ha(e));
5104
5114
  }
5105
- pe(async (e) => {
5115
+ H(async (e) => {
5106
5116
  let t = a.value;
5107
5117
  if (await E(), !t) return;
5108
5118
  n.present !== !1 && s.add(c);
@@ -5116,7 +5126,7 @@ var ga = /* @__PURE__ */ g({
5116
5126
  }, 0);
5117
5127
  });
5118
5128
  }), V(() => n.present, async (e, t) => {
5119
- if (!q) return;
5129
+ if (!J) return;
5120
5130
  if (e === !1 && t === !0) {
5121
5131
  s.remove(c);
5122
5132
  return;
@@ -5144,7 +5154,7 @@ var ga = /* @__PURE__ */ g({
5144
5154
  as: e.as,
5145
5155
  onKeydown: d
5146
5156
  }, {
5147
- default: H(() => [L(e.$slots, "default")]),
5157
+ default: U(() => [L(e.$slots, "default")]),
5148
5158
  _: 3
5149
5159
  }, 8, ["as-child", "as"]));
5150
5160
  }
@@ -5208,7 +5218,7 @@ var ga = /* @__PURE__ */ g({
5208
5218
  }
5209
5219
  },
5210
5220
  setup(e) {
5211
- let t = e, { forwardRef: n, currentElement: r } = J(), i = va();
5221
+ let t = e, { forwardRef: n, currentElement: r } = Y(), i = va();
5212
5222
  return me(() => {
5213
5223
  i.onAnchorChange(t.reference ?? r.value);
5214
5224
  }), (e, t) => (F(), l(B(Xi), {
@@ -5216,7 +5226,7 @@ var ga = /* @__PURE__ */ g({
5216
5226
  as: e.as,
5217
5227
  "as-child": e.asChild
5218
5228
  }, {
5219
- default: H(() => [L(e.$slots, "default")]),
5229
+ default: U(() => [L(e.$slots, "default")]),
5220
5230
  _: 3
5221
5231
  }, 8, ["as", "as-child"]));
5222
5232
  }
@@ -5255,13 +5265,13 @@ var ga = /* @__PURE__ */ g({
5255
5265
  },
5256
5266
  setup(e) {
5257
5267
  let t = e;
5258
- return J(), (e, n) => (F(), l(B(Xi), T(t, {
5268
+ return Y(), (e, n) => (F(), l(B(Xi), T(t, {
5259
5269
  width: e.width,
5260
5270
  height: e.height,
5261
5271
  viewBox: e.asChild ? void 0 : "0 0 12 6",
5262
5272
  preserveAspectRatio: e.asChild ? void 0 : "none"
5263
5273
  }), {
5264
- default: H(() => [L(e.$slots, "default", {}, () => [e.rounded ? (F(), d("path", Ca)) : (F(), d("path", Sa))])]),
5274
+ default: U(() => [L(e.$slots, "default", {}, () => [e.rounded ? (F(), d("path", Ca)) : (F(), d("path", Sa))])]),
5265
5275
  _: 3
5266
5276
  }, 16, [
5267
5277
  "width",
@@ -5335,12 +5345,12 @@ function za(e) {
5335
5345
  function Ba(e) {
5336
5346
  return e === "y" ? "height" : "width";
5337
5347
  }
5338
- function X(e) {
5348
+ function Z(e) {
5339
5349
  let t = e[0];
5340
5350
  return t === "t" || t === "b" ? "y" : "x";
5341
5351
  }
5342
5352
  function Va(e) {
5343
- return za(X(e));
5353
+ return za(Z(e));
5344
5354
  }
5345
5355
  function Ha(e, t, n) {
5346
5356
  n === void 0 && (n = !1);
@@ -5408,7 +5418,7 @@ function eo(e) {
5408
5418
  //#endregion
5409
5419
  //#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
5410
5420
  function to(e, t, n) {
5411
- let { reference: r, floating: i } = e, a = X(t), o = Va(t), s = Ba(o), c = La(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
5421
+ let { reference: r, floating: i } = e, a = Z(t), o = Va(t), s = Ba(o), c = La(t), l = a === "y", u = r.x + r.width / 2 - i.width / 2, d = r.y + r.height / 2 - i.height / 2, f = r[s] / 2 - i[s] / 2, p;
5412
5422
  switch (c) {
5413
5423
  case "top":
5414
5424
  p = {
@@ -5542,7 +5552,7 @@ var ro = 50, io = async (e, t, n) => {
5542
5552
  var n;
5543
5553
  let { placement: r, middlewareData: i, rects: a, initialPlacement: o, platform: s, elements: c } = t, { mainAxis: l = !0, crossAxis: u = !0, fallbackPlacements: d, fallbackStrategy: f = "bestFit", fallbackAxisSideDirection: p = "none", flipAlignment: m = !0, ...h } = Ia(e, t);
5544
5554
  if ((n = i.arrow) != null && n.alignmentOffset) return {};
5545
- let g = La(r), _ = X(o), v = La(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Za(o)] : Ua(o)), x = p !== "none";
5555
+ let g = La(r), _ = Z(o), v = La(o) === o, y = await (s.isRTL == null ? void 0 : s.isRTL(c.floating)), b = d || (v || !m ? [Za(o)] : Ua(o)), x = p !== "none";
5546
5556
  !d && x && b.push(...Xa(o, m, p, y));
5547
5557
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
5548
5558
  if (l && w.push(C[g]), u) {
@@ -5554,7 +5564,7 @@ var ro = 50, io = async (e, t, n) => {
5554
5564
  overflows: w
5555
5565
  }], !w.every((e) => e <= 0)) {
5556
5566
  let e = (i.flip?.index || 0) + 1, t = S[e];
5557
- if (t && (!(u === "alignment" && _ !== X(t)) || T.every((e) => X(e.placement) !== _ || e.overflows[0] > 0))) return {
5567
+ if (t && (!(u === "alignment" && _ !== Z(t)) || T.every((e) => Z(e.placement) !== _ || e.overflows[0] > 0))) return {
5558
5568
  data: {
5559
5569
  index: e,
5560
5570
  overflows: T
@@ -5566,7 +5576,7 @@ var ro = 50, io = async (e, t, n) => {
5566
5576
  case "bestFit": {
5567
5577
  let e = T.filter((e) => {
5568
5578
  if (x) {
5569
- let t = X(e.placement);
5579
+ let t = Z(e.placement);
5570
5580
  return t === _ || t === "y";
5571
5581
  }
5572
5582
  return !0;
@@ -5628,7 +5638,7 @@ var lo = function(e) {
5628
5638
  };
5629
5639
  }, uo = /*#__PURE__*/ new Set(["left", "top"]);
5630
5640
  async function fo(e, t) {
5631
- let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = La(n), s = Ra(n), c = X(n) === "y", l = uo.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ia(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
5641
+ let { placement: n, platform: r, elements: i } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), o = La(n), s = Ra(n), c = Z(n) === "y", l = uo.has(o) ? -1 : 1, u = a && c ? -1 : 1, d = Ia(t, e), { mainAxis: f, crossAxis: p, alignmentAxis: m } = typeof d == "number" ? {
5632
5642
  mainAxis: d,
5633
5643
  crossAxis: 0,
5634
5644
  alignmentAxis: null
@@ -5676,7 +5686,7 @@ var po = function(e) {
5676
5686
  } }, ...l } = Ia(e, t), u = {
5677
5687
  x: n,
5678
5688
  y: r
5679
- }, d = await a.detectOverflow(t, l), f = X(i), p = za(f), m = u[p], h = u[f], g = (e, t) => Fa(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
5689
+ }, d = await a.detectOverflow(t, l), f = Z(i), p = za(f), m = u[p], h = u[f], g = (e, t) => Fa(t + d[e === "y" ? "top" : "left"], t, t - d[e === "y" ? "bottom" : "right"]);
5680
5690
  o && (m = g(p, m)), s && (h = g(f, h));
5681
5691
  let _ = c.fn({
5682
5692
  ...t,
@@ -5703,7 +5713,7 @@ var po = function(e) {
5703
5713
  let { x: n, y: r, placement: i, rects: a, middlewareData: o } = t, { offset: s = 0, mainAxis: c = !0, crossAxis: l = !0 } = Ia(e, t), u = {
5704
5714
  x: n,
5705
5715
  y: r
5706
- }, d = X(i), f = za(d), p = u[f], m = u[d], h = Ia(s, t), g = typeof h == "number" ? {
5716
+ }, d = Z(i), f = za(d), p = u[f], m = u[d], h = Ia(s, t), g = typeof h == "number" ? {
5707
5717
  mainAxis: h,
5708
5718
  crossAxis: 0
5709
5719
  } : {
@@ -5729,7 +5739,7 @@ var po = function(e) {
5729
5739
  name: "size",
5730
5740
  options: e,
5731
5741
  async fn(t) {
5732
- let { placement: n, rects: r, platform: i, elements: a } = t, { apply: o = () => {}, ...s } = Ia(e, t), c = await i.detectOverflow(t, s), l = La(n), u = Ra(n), d = X(n) === "y", { width: f, height: p } = r.floating, m, h;
5742
+ let { placement: n, rects: r, platform: i, elements: a } = t, { apply: o = () => {}, ...s } = Ia(e, t), c = await i.detectOverflow(t, s), l = La(n), u = Ra(n), d = Z(n) === "y", { width: f, height: p } = r.floating, m, h;
5733
5743
  l === "top" || l === "bottom" ? (m = l, h = u === (await (i.isRTL == null ? void 0 : i.isRTL(a.floating)) ? "start" : "end") ? "left" : "right") : (h = l, m = u === "end" ? "top" : "bottom");
5734
5744
  let g = p - c.top - c.bottom, _ = f - c.left - c.right, v = ka(p - c[m], g), y = ka(f - c[h], _), b = t.middlewareData.shift, x = !b, S = v, C = y;
5735
5745
  b != null && b.enabled.x && (C = _), b != null && b.enabled.y && (S = g), x && !u && (d ? C = f - 2 * Aa(c.left, c.right) : S = p - 2 * Aa(c.top, c.bottom)), await o({
@@ -5750,7 +5760,7 @@ function _o() {
5750
5760
  function vo(e) {
5751
5761
  return bo(e) ? (e.nodeName || "").toLowerCase() : "#document";
5752
5762
  }
5753
- function Z(e) {
5763
+ function Q(e) {
5754
5764
  var t;
5755
5765
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
5756
5766
  }
@@ -5758,25 +5768,25 @@ function yo(e) {
5758
5768
  return ((bo(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
5759
5769
  }
5760
5770
  function bo(e) {
5761
- return _o() ? e instanceof Node || e instanceof Z(e).Node : !1;
5762
- }
5763
- function Q(e) {
5764
- return _o() ? e instanceof Element || e instanceof Z(e).Element : !1;
5771
+ return _o() ? e instanceof Node || e instanceof Q(e).Node : !1;
5765
5772
  }
5766
5773
  function xo(e) {
5767
- return _o() ? e instanceof HTMLElement || e instanceof Z(e).HTMLElement : !1;
5774
+ return _o() ? e instanceof Element || e instanceof Q(e).Element : !1;
5768
5775
  }
5769
5776
  function So(e) {
5770
- return !_o() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Z(e).ShadowRoot;
5777
+ return _o() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
5771
5778
  }
5772
5779
  function Co(e) {
5773
- let { overflow: t, overflowX: n, overflowY: r, display: i } = Po(e);
5774
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
5780
+ return !_o() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
5775
5781
  }
5776
5782
  function wo(e) {
5777
- return /^(table|td|th)$/.test(vo(e));
5783
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = Fo(e);
5784
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
5778
5785
  }
5779
5786
  function To(e) {
5787
+ return /^(table|td|th)$/.test(vo(e));
5788
+ }
5789
+ function Eo(e) {
5780
5790
  try {
5781
5791
  if (e.matches(":popover-open")) return !0;
5782
5792
  } catch {}
@@ -5786,31 +5796,31 @@ function To(e) {
5786
5796
  return !1;
5787
5797
  }
5788
5798
  }
5789
- var Eo = /transform|translate|scale|rotate|perspective|filter/, Do = /paint|layout|strict|content/, Oo = (e) => !!e && e !== "none", ko;
5790
- function Ao(e) {
5791
- let t = Q(e) ? Po(e) : e;
5792
- return Oo(t.transform) || Oo(t.translate) || Oo(t.scale) || Oo(t.rotate) || Oo(t.perspective) || !Mo() && (Oo(t.backdropFilter) || Oo(t.filter)) || Eo.test(t.willChange || "") || Do.test(t.contain || "");
5793
- }
5799
+ var Do = /transform|translate|scale|rotate|perspective|filter/, Oo = /paint|layout|strict|content/, ko = (e) => !!e && e !== "none", Ao;
5794
5800
  function jo(e) {
5795
- let t = Io(e);
5796
- for (; xo(t) && !No(t);) {
5797
- if (Ao(t)) return t;
5798
- if (To(t)) return null;
5799
- t = Io(t);
5801
+ let t = xo(e) ? Fo(e) : e;
5802
+ return ko(t.transform) || ko(t.translate) || ko(t.scale) || ko(t.rotate) || ko(t.perspective) || !No() && (ko(t.backdropFilter) || ko(t.filter)) || Do.test(t.willChange || "") || Oo.test(t.contain || "");
5803
+ }
5804
+ function Mo(e) {
5805
+ let t = Lo(e);
5806
+ for (; So(t) && !Po(t);) {
5807
+ if (jo(t)) return t;
5808
+ if (Eo(t)) return null;
5809
+ t = Lo(t);
5800
5810
  }
5801
5811
  return null;
5802
5812
  }
5803
- function Mo() {
5804
- return ko ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), ko;
5805
- }
5806
- function No(e) {
5807
- return /^(html|body|#document)$/.test(vo(e));
5813
+ function No() {
5814
+ return Ao ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Ao;
5808
5815
  }
5809
5816
  function Po(e) {
5810
- return Z(e).getComputedStyle(e);
5817
+ return /^(html|body|#document)$/.test(vo(e));
5811
5818
  }
5812
5819
  function Fo(e) {
5813
- return Q(e) ? {
5820
+ return Q(e).getComputedStyle(e);
5821
+ }
5822
+ function Io(e) {
5823
+ return xo(e) ? {
5814
5824
  scrollLeft: e.scrollLeft,
5815
5825
  scrollTop: e.scrollTop
5816
5826
  } : {
@@ -5818,69 +5828,69 @@ function Fo(e) {
5818
5828
  scrollTop: e.scrollY
5819
5829
  };
5820
5830
  }
5821
- function Io(e) {
5831
+ function Lo(e) {
5822
5832
  if (vo(e) === "html") return e;
5823
- let t = e.assignedSlot || e.parentNode || So(e) && e.host || yo(e);
5824
- return So(t) ? t.host : t;
5833
+ let t = e.assignedSlot || e.parentNode || Co(e) && e.host || yo(e);
5834
+ return Co(t) ? t.host : t;
5825
5835
  }
5826
- function Lo(e) {
5827
- let t = Io(e);
5828
- return No(t) ? (e.ownerDocument || e).body : xo(t) && Co(t) ? t : Lo(t);
5836
+ function Ro(e) {
5837
+ let t = Lo(e);
5838
+ return Po(t) ? (e.ownerDocument || e).body : So(t) && wo(t) ? t : Ro(t);
5829
5839
  }
5830
- function Ro(e, t, n) {
5840
+ function zo(e, t, n) {
5831
5841
  t === void 0 && (t = []), n === void 0 && (n = !0);
5832
- let r = Lo(e), i = r === e.ownerDocument?.body, a = Z(r);
5842
+ let r = Ro(e), i = r === e.ownerDocument?.body, a = Q(r);
5833
5843
  if (i) {
5834
- let e = zo(a);
5835
- return t.concat(a, a.visualViewport || [], Co(r) ? r : [], e && n ? Ro(e) : []);
5836
- } else return t.concat(r, Ro(r, [], n));
5844
+ let e = Bo(a);
5845
+ return t.concat(a, a.visualViewport || [], wo(r) ? r : [], e && n ? zo(e) : []);
5846
+ } else return t.concat(r, zo(r, [], n));
5837
5847
  }
5838
- function zo(e) {
5848
+ function Bo(e) {
5839
5849
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
5840
5850
  }
5841
5851
  //#endregion
5842
5852
  //#region node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
5843
- function Bo(e) {
5844
- let t = Po(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = xo(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ja(n) !== a || ja(r) !== o;
5853
+ function Vo(e) {
5854
+ let t = Fo(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = So(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = ja(n) !== a || ja(r) !== o;
5845
5855
  return s && (n = a, r = o), {
5846
5856
  width: n,
5847
5857
  height: r,
5848
5858
  $: s
5849
5859
  };
5850
5860
  }
5851
- function Vo(e) {
5852
- return Q(e) ? e : e.contextElement;
5853
- }
5854
5861
  function Ho(e) {
5855
- let t = Vo(e);
5856
- if (!xo(t)) return Na(1);
5857
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Bo(t), o = (a ? ja(n.width) : n.width) / r, s = (a ? ja(n.height) : n.height) / i;
5862
+ return xo(e) ? e : e.contextElement;
5863
+ }
5864
+ function Uo(e) {
5865
+ let t = Ho(e);
5866
+ if (!So(t)) return Na(1);
5867
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = Vo(t), o = (a ? ja(n.width) : n.width) / r, s = (a ? ja(n.height) : n.height) / i;
5858
5868
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
5859
5869
  x: o,
5860
5870
  y: s
5861
5871
  };
5862
5872
  }
5863
- var Uo = /*#__PURE__*/ Na(0);
5864
- function Wo(e) {
5865
- let t = Z(e);
5866
- return !Mo() || !t.visualViewport ? Uo : {
5873
+ var Wo = /*#__PURE__*/ Na(0);
5874
+ function Go(e) {
5875
+ let t = Q(e);
5876
+ return !No() || !t.visualViewport ? Wo : {
5867
5877
  x: t.visualViewport.offsetLeft,
5868
5878
  y: t.visualViewport.offsetTop
5869
5879
  };
5870
5880
  }
5871
- function Go(e, t, n) {
5872
- return t === void 0 && (t = !1), !!n && t && n === Z(e);
5881
+ function Ko(e, t, n) {
5882
+ return t === void 0 && (t = !1), !!n && t && n === Q(e);
5873
5883
  }
5874
- function Ko(e, t, n, r) {
5884
+ function qo(e, t, n, r) {
5875
5885
  t === void 0 && (t = !1), n === void 0 && (n = !1);
5876
- let i = e.getBoundingClientRect(), a = Vo(e), o = Na(1);
5877
- t && (r ? Q(r) && (o = Ho(r)) : o = Ho(e));
5878
- let s = Go(a, n, r) ? Wo(a) : Na(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
5886
+ let i = e.getBoundingClientRect(), a = Ho(e), o = Na(1);
5887
+ t && (r ? xo(r) && (o = Uo(r)) : o = Uo(e));
5888
+ let s = Ko(a, n, r) ? Go(a) : Na(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
5879
5889
  if (a && r) {
5880
- let e = Z(a), t = Q(r) ? Z(r) : r, n = e, i = zo(n);
5890
+ let e = Q(a), t = xo(r) ? Q(r) : r, n = e, i = Bo(n);
5881
5891
  for (; i && t !== n;) {
5882
- let e = Ho(i), t = i.getBoundingClientRect(), r = Po(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
5883
- c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Z(i), i = zo(n);
5892
+ let e = Uo(i), t = i.getBoundingClientRect(), r = Fo(i), a = t.left + (i.clientLeft + parseFloat(r.paddingLeft)) * e.x, o = t.top + (i.clientTop + parseFloat(r.paddingTop)) * e.y;
5893
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Q(i), i = Bo(n);
5884
5894
  }
5885
5895
  }
5886
5896
  return eo({
@@ -5890,29 +5900,29 @@ function Ko(e, t, n, r) {
5890
5900
  y: l
5891
5901
  });
5892
5902
  }
5893
- function qo(e, t) {
5894
- let n = Fo(e).scrollLeft;
5895
- return t ? t.left + n : Ko(yo(e)).left + n;
5896
- }
5897
5903
  function Jo(e, t) {
5904
+ let n = Io(e).scrollLeft;
5905
+ return t ? t.left + n : qo(yo(e)).left + n;
5906
+ }
5907
+ function Yo(e, t) {
5898
5908
  let n = e.getBoundingClientRect();
5899
5909
  return {
5900
- x: n.left + t.scrollLeft - qo(e, n),
5910
+ x: n.left + t.scrollLeft - Jo(e, n),
5901
5911
  y: n.top + t.scrollTop
5902
5912
  };
5903
5913
  }
5904
- function Yo(e) {
5905
- let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = yo(r), s = t ? To(t.floating) : !1;
5914
+ function Xo(e) {
5915
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = yo(r), s = t ? Eo(t.floating) : !1;
5906
5916
  if (r === o || s && a) return n;
5907
5917
  let c = {
5908
5918
  scrollLeft: 0,
5909
5919
  scrollTop: 0
5910
- }, l = Na(1), u = Na(0), d = xo(r);
5911
- if ((d || !a) && ((vo(r) !== "body" || Co(o)) && (c = Fo(r)), d)) {
5912
- let e = Ko(r);
5913
- l = Ho(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
5920
+ }, l = Na(1), u = Na(0), d = So(r);
5921
+ if ((d || !a) && ((vo(r) !== "body" || wo(o)) && (c = Io(r)), d)) {
5922
+ let e = qo(r);
5923
+ l = Uo(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
5914
5924
  }
5915
- let f = o && !d && !a ? Jo(o, c) : Na(0);
5925
+ let f = o && !d && !a ? Yo(o, c) : Na(0);
5916
5926
  return {
5917
5927
  width: n.width * l.x,
5918
5928
  height: n.height * l.y,
@@ -5920,29 +5930,29 @@ function Yo(e) {
5920
5930
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
5921
5931
  };
5922
5932
  }
5923
- function Xo(e) {
5933
+ function Zo(e) {
5924
5934
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
5925
5935
  }
5926
- function Zo(e) {
5927
- let t = Fo(e), n = e.ownerDocument.body, r = Aa(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Aa(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + qo(e), o = -t.scrollTop;
5928
- return Po(n).direction === "rtl" && (a += Aa(e.clientWidth, n.clientWidth) - r), {
5936
+ function Qo(e) {
5937
+ let t = Io(e), n = e.ownerDocument.body, r = Aa(e.scrollWidth, e.clientWidth, n.scrollWidth, n.clientWidth), i = Aa(e.scrollHeight, e.clientHeight, n.scrollHeight, n.clientHeight), a = -t.scrollLeft + Jo(e), o = -t.scrollTop;
5938
+ return Fo(n).direction === "rtl" && (a += Aa(e.clientWidth, n.clientWidth) - r), {
5929
5939
  width: r,
5930
5940
  height: i,
5931
5941
  x: a,
5932
5942
  y: o
5933
5943
  };
5934
5944
  }
5935
- var Qo = 25;
5936
- function $o(e, t, n) {
5945
+ var $o = 25;
5946
+ function es(e, t, n) {
5937
5947
  n === void 0 && (n = "viewport");
5938
- let r = n === "layoutViewport", i = Z(e), a = yo(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
5948
+ let r = n === "layoutViewport", i = Q(e), a = yo(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
5939
5949
  if (o) {
5940
- let e = !Mo() || t === "fixed";
5950
+ let e = !No() || t === "fixed";
5941
5951
  r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
5942
5952
  }
5943
- if (qo(a) <= 0) {
5953
+ if (Jo(a) <= 0) {
5944
5954
  let e = a.ownerDocument, t = e.body, n = getComputedStyle(t), r = e.compatMode === "CSS1Compat" && parseFloat(n.marginLeft) + parseFloat(n.marginRight) || 0, i = Math.abs(a.clientWidth - t.clientWidth - r), o = getComputedStyle(a).scrollbarGutter === "stable both-edges" ? i / 2 : i;
5945
- o <= Qo && (s -= o);
5955
+ o <= $o && (s -= o);
5946
5956
  }
5947
5957
  return {
5948
5958
  width: s,
@@ -5951,8 +5961,8 @@ function $o(e, t, n) {
5951
5961
  y: u
5952
5962
  };
5953
5963
  }
5954
- function es(e, t) {
5955
- let n = Ko(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Ho(e);
5964
+ function ts(e, t) {
5965
+ let n = qo(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Uo(e);
5956
5966
  return {
5957
5967
  width: e.clientWidth * a.x,
5958
5968
  height: e.clientHeight * a.y,
@@ -5960,13 +5970,13 @@ function es(e, t) {
5960
5970
  y: r * a.y
5961
5971
  };
5962
5972
  }
5963
- function ts(e, t, n) {
5973
+ function ns(e, t, n) {
5964
5974
  let r;
5965
- if (t === "viewport" || t === "layoutViewport") r = $o(e, n, t);
5966
- else if (t === "document") r = Zo(yo(e));
5967
- else if (Q(t)) r = es(t, n);
5975
+ if (t === "viewport" || t === "layoutViewport") r = es(e, n, t);
5976
+ else if (t === "document") r = Qo(yo(e));
5977
+ else if (xo(t)) r = ts(t, n);
5968
5978
  else {
5969
- let n = Wo(e);
5979
+ let n = Go(e);
5970
5980
  r = {
5971
5981
  x: t.x - n.x,
5972
5982
  y: t.y - n.y,
@@ -5976,20 +5986,20 @@ function ts(e, t, n) {
5976
5986
  }
5977
5987
  return eo(r);
5978
5988
  }
5979
- function ns(e, t) {
5989
+ function rs(e, t) {
5980
5990
  let n = t.get(e);
5981
5991
  if (n) return n;
5982
- let r = Ro(e, [], !1).filter((e) => Q(e) && vo(e) !== "body"), i = null, a = Po(e).position === "fixed", o = a ? Io(e) : e;
5983
- for (; Q(o) && !No(o);) {
5984
- let e = Po(o), t = Ao(o), n = i ? i.position : a ? "fixed" : "";
5985
- !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Io(o);
5992
+ let r = zo(e, [], !1).filter((e) => xo(e) && vo(e) !== "body"), i = null, a = Fo(e).position === "fixed", o = a ? Lo(e) : e;
5993
+ for (; xo(o) && !Po(o);) {
5994
+ let e = Fo(o), t = jo(o), n = i ? i.position : a ? "fixed" : "";
5995
+ !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Lo(o);
5986
5996
  }
5987
5997
  return t.set(e, r), r;
5988
5998
  }
5989
- function rs(e) {
5990
- let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? To(t) ? [] : ns(t, this._c) : [].concat(n), r], o = ts(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
5999
+ function is(e) {
6000
+ let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? Eo(t) ? [] : rs(t, this._c) : [].concat(n), r], o = ns(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
5991
6001
  for (let e = 1; e < a.length; e++) {
5992
- let n = ts(t, a[e], i);
6002
+ let n = ns(t, a[e], i);
5993
6003
  s = Aa(n.top, s), c = ka(n.right, c), l = ka(n.bottom, l), u = Aa(n.left, u);
5994
6004
  }
5995
6005
  return {
@@ -5999,24 +6009,24 @@ function rs(e) {
5999
6009
  y: s
6000
6010
  };
6001
6011
  }
6002
- function is(e) {
6003
- let { width: t, height: n } = Bo(e);
6012
+ function as(e) {
6013
+ let { width: t, height: n } = Vo(e);
6004
6014
  return {
6005
6015
  width: t,
6006
6016
  height: n
6007
6017
  };
6008
6018
  }
6009
- function as(e, t, n) {
6010
- let r = xo(t), i = yo(t), a = n === "fixed", o = Ko(e, !0, a, t), s = {
6019
+ function os(e, t, n) {
6020
+ let r = So(t), i = yo(t), a = n === "fixed", o = qo(e, !0, a, t), s = {
6011
6021
  scrollLeft: 0,
6012
6022
  scrollTop: 0
6013
6023
  }, c = Na(0);
6014
- if ((r || !a) && ((vo(t) !== "body" || Co(i)) && (s = Fo(t)), r)) {
6015
- let e = Ko(t, !0, a, t);
6024
+ if ((r || !a) && ((vo(t) !== "body" || wo(i)) && (s = Io(t)), r)) {
6025
+ let e = qo(t, !0, a, t);
6016
6026
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
6017
6027
  }
6018
- !r && i && (c.x = qo(i));
6019
- let l = i && !r && !a ? Jo(i, s) : Na(0);
6028
+ !r && i && (c.x = Jo(i));
6029
+ let l = i && !r && !a ? Yo(i, s) : Na(0);
6020
6030
  return {
6021
6031
  x: o.left + s.scrollLeft - c.x - l.x,
6022
6032
  y: o.top + s.scrollTop - c.y - l.y,
@@ -6024,34 +6034,34 @@ function as(e, t, n) {
6024
6034
  height: o.height
6025
6035
  };
6026
6036
  }
6027
- function os(e) {
6028
- return Po(e).position === "static";
6037
+ function ss(e) {
6038
+ return Fo(e).position === "static";
6029
6039
  }
6030
- function ss(e, t) {
6031
- if (!xo(e) || Po(e).position === "fixed") return null;
6040
+ function cs(e, t) {
6041
+ if (!So(e) || Fo(e).position === "fixed") return null;
6032
6042
  if (t) return t(e);
6033
6043
  let n = e.offsetParent;
6034
6044
  return yo(e) === n && (n = n.ownerDocument.body), n;
6035
6045
  }
6036
- function cs(e, t) {
6037
- let n = Z(e);
6038
- if (To(e)) return n;
6039
- if (!xo(e)) {
6040
- let t = Io(e);
6041
- for (; t && !No(t);) {
6042
- if (Q(t) && !os(t)) return t;
6043
- t = Io(t);
6046
+ function ls(e, t) {
6047
+ let n = Q(e);
6048
+ if (Eo(e)) return n;
6049
+ if (!So(e)) {
6050
+ let t = Lo(e);
6051
+ for (; t && !Po(t);) {
6052
+ if (xo(t) && !ss(t)) return t;
6053
+ t = Lo(t);
6044
6054
  }
6045
6055
  return n;
6046
6056
  }
6047
- let r = ss(e, t);
6048
- for (; r && wo(r) && os(r);) r = ss(r, t);
6049
- return r && No(r) && os(r) && !Ao(r) ? n : r || jo(e) || n;
6057
+ let r = cs(e, t);
6058
+ for (; r && To(r) && ss(r);) r = cs(r, t);
6059
+ return r && Po(r) && ss(r) && !jo(r) ? n : r || Mo(e) || n;
6050
6060
  }
6051
- var ls = async function(e) {
6052
- let t = this.getOffsetParent || cs, n = this.getDimensions, r = await n(e.floating);
6061
+ var us = async function(e) {
6062
+ let t = this.getOffsetParent || ls, n = this.getDimensions, r = await n(e.floating);
6053
6063
  return {
6054
- reference: as(e.reference, await t(e.floating), e.strategy),
6064
+ reference: os(e.reference, await t(e.floating), e.strategy),
6055
6065
  floating: {
6056
6066
  x: 0,
6057
6067
  y: 0,
@@ -6060,25 +6070,25 @@ var ls = async function(e) {
6060
6070
  }
6061
6071
  };
6062
6072
  };
6063
- function us(e) {
6064
- return Po(e).direction === "rtl";
6073
+ function ds(e) {
6074
+ return Fo(e).direction === "rtl";
6065
6075
  }
6066
- var ds = {
6067
- convertOffsetParentRelativeRectToViewportRelativeRect: Yo,
6076
+ var fs = {
6077
+ convertOffsetParentRelativeRectToViewportRelativeRect: Xo,
6068
6078
  getDocumentElement: yo,
6069
- getClippingRect: rs,
6070
- getOffsetParent: cs,
6071
- getElementRects: ls,
6072
- getClientRects: Xo,
6073
- getDimensions: is,
6074
- getScale: Ho,
6075
- isElement: Q,
6076
- isRTL: us
6079
+ getClippingRect: is,
6080
+ getOffsetParent: ls,
6081
+ getElementRects: us,
6082
+ getClientRects: Zo,
6083
+ getDimensions: as,
6084
+ getScale: Uo,
6085
+ isElement: xo,
6086
+ isRTL: ds
6077
6087
  };
6078
- function fs(e, t) {
6088
+ function ps(e, t) {
6079
6089
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
6080
6090
  }
6081
- function ps(e, t, n) {
6091
+ function ms(e, t, n) {
6082
6092
  let r = null, i, a = yo(e);
6083
6093
  function o() {
6084
6094
  var e;
@@ -6094,7 +6104,7 @@ function ps(e, t, n) {
6094
6104
  }, y = !0;
6095
6105
  function b(t) {
6096
6106
  let n = t[0].intersectionRatio;
6097
- if (!fs(l, e.getBoundingClientRect())) return s();
6107
+ if (!ps(l, e.getBoundingClientRect())) return s();
6098
6108
  if (n !== c) {
6099
6109
  if (!y) return s();
6100
6110
  n ? s(!1, n) : i = setTimeout(() => {
@@ -6113,18 +6123,18 @@ function ps(e, t, n) {
6113
6123
  }
6114
6124
  r.observe(e);
6115
6125
  }
6116
- let c = Z(e), l = () => s(n);
6126
+ let c = Q(e), l = () => s(n);
6117
6127
  return c.addEventListener("resize", l), s(!0), () => {
6118
6128
  c.removeEventListener("resize", l), o();
6119
6129
  };
6120
6130
  }
6121
- function ms(e, t, n, r) {
6131
+ function hs(e, t, n, r) {
6122
6132
  r === void 0 && (r = {});
6123
- let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Vo(e), u = i || a ? [...l ? Ro(l) : [], ...t ? Ro(t) : []] : [];
6133
+ let { ancestorScroll: i = !0, ancestorResize: a = !0, elementResize: o = typeof ResizeObserver == "function", layoutShift: s = typeof IntersectionObserver == "function", animationFrame: c = !1 } = r, l = Ho(e), u = i || a ? [...l ? zo(l) : [], ...t ? zo(t) : []] : [];
6124
6134
  u.forEach((e) => {
6125
6135
  i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
6126
6136
  });
6127
- let d = l && s ? ps(l, n, a) : null, f = -1, p = null;
6137
+ let d = l && s ? ms(l, n, a) : null, f = -1, p = null;
6128
6138
  o && (p = new ResizeObserver((e) => {
6129
6139
  let [r] = e;
6130
6140
  r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
@@ -6132,11 +6142,11 @@ function ms(e, t, n, r) {
6132
6142
  (e = p) == null || e.observe(t);
6133
6143
  })), n();
6134
6144
  }), l && !c && p.observe(l), t && p.observe(t));
6135
- let m, h = c ? Ko(e) : null;
6145
+ let m, h = c ? qo(e) : null;
6136
6146
  c && g();
6137
6147
  function g() {
6138
- let t = Ko(e);
6139
- h && !fs(h, t) && n(), h = t, m = requestAnimationFrame(g);
6148
+ let t = qo(e);
6149
+ h && !ps(h, t) && n(), h = t, m = requestAnimationFrame(g);
6140
6150
  }
6141
6151
  return n(), () => {
6142
6152
  var e;
@@ -6145,9 +6155,9 @@ function ms(e, t, n, r) {
6145
6155
  }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
6146
6156
  };
6147
6157
  }
6148
- var hs = po, gs = mo, _s = oo, vs = go, ys = lo, bs = ao, xs = ho, Ss = (e, t, n) => {
6158
+ var gs = po, _s = mo, vs = oo, ys = go, bs = lo, xs = ao, Ss = ho, Cs = (e, t, n) => {
6149
6159
  let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
6150
- ...ds,
6160
+ ...fs,
6151
6161
  ...i.platform,
6152
6162
  _c: r
6153
6163
  };
@@ -6158,19 +6168,19 @@ var hs = po, gs = mo, _s = oo, vs = go, ys = lo, bs = ao, xs = ho, Ss = (e, t, n
6158
6168
  }, $ = /* @__PURE__ */ we({
6159
6169
  Vue: () => n,
6160
6170
  Vue2: () => void 0,
6161
- del: () => Es,
6162
- install: () => ws,
6171
+ del: () => Ds,
6172
+ install: () => Ts,
6163
6173
  isVue2: () => !1,
6164
6174
  isVue3: () => !0,
6165
- set: () => Ts
6175
+ set: () => Es
6166
6176
  });
6167
- import * as Cs from "vue";
6168
- Ee($, Cs);
6169
- function ws() {}
6170
- function Ts(e, t, n) {
6177
+ import * as ws from "vue";
6178
+ Ee($, ws);
6179
+ function Ts() {}
6180
+ function Es(e, t, n) {
6171
6181
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
6172
6182
  }
6173
- function Es(e, t) {
6183
+ function Ds(e, t) {
6174
6184
  if (Array.isArray(e)) {
6175
6185
  e.splice(t, 1);
6176
6186
  return;
@@ -6179,53 +6189,53 @@ function Es(e, t) {
6179
6189
  }
6180
6190
  //#endregion
6181
6191
  //#region node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
6182
- function Ds(e) {
6192
+ function Os(e) {
6183
6193
  return typeof e == "object" && !!e && "$el" in e;
6184
6194
  }
6185
- function Os(e) {
6186
- if (Ds(e)) {
6195
+ function ks(e) {
6196
+ if (Os(e)) {
6187
6197
  let t = e.$el;
6188
6198
  return bo(t) && vo(t) === "#comment" ? null : t;
6189
6199
  }
6190
6200
  return e;
6191
6201
  }
6192
- function ks(e) {
6202
+ function As(e) {
6193
6203
  return typeof e == "function" ? e() : (0, $.unref)(e);
6194
6204
  }
6195
- function As(e) {
6205
+ function js(e) {
6196
6206
  return {
6197
6207
  name: "arrow",
6198
6208
  options: e,
6199
6209
  fn(t) {
6200
- let n = Os(ks(e.element));
6201
- return n == null ? {} : bs({
6210
+ let n = ks(As(e.element));
6211
+ return n == null ? {} : xs({
6202
6212
  element: n,
6203
6213
  padding: e.padding
6204
6214
  }).fn(t);
6205
6215
  }
6206
6216
  };
6207
6217
  }
6208
- function js(e) {
6218
+ function Ms(e) {
6209
6219
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
6210
6220
  }
6211
- function Ms(e, t) {
6212
- let n = js(e);
6221
+ function Ns(e, t) {
6222
+ let n = Ms(e);
6213
6223
  return Math.round(t * n) / n;
6214
6224
  }
6215
- function Ns(e, t, n) {
6225
+ function Ps(e, t, n) {
6216
6226
  n === void 0 && (n = {});
6217
- let r = n.whileElementsMounted, i = (0, $.computed)(() => ks(n.open) ?? !0), a = (0, $.computed)(() => ks(n.middleware)), o = (0, $.computed)(() => ks(n.placement) ?? "bottom"), s = (0, $.computed)(() => ks(n.strategy) ?? "absolute"), c = (0, $.computed)(() => ks(n.transform) ?? !0), l = (0, $.computed)(() => Os(e.value)), u = (0, $.computed)(() => Os(t.value)), d = (0, $.ref)(0), f = (0, $.ref)(0), p = (0, $.ref)(s.value), m = (0, $.ref)(o.value), h = (0, $.shallowRef)({}), g = (0, $.ref)(!1), _ = (0, $.computed)(() => {
6227
+ let r = n.whileElementsMounted, i = (0, $.computed)(() => As(n.open) ?? !0), a = (0, $.computed)(() => As(n.middleware)), o = (0, $.computed)(() => As(n.placement) ?? "bottom"), s = (0, $.computed)(() => As(n.strategy) ?? "absolute"), c = (0, $.computed)(() => As(n.transform) ?? !0), l = (0, $.computed)(() => ks(e.value)), u = (0, $.computed)(() => ks(t.value)), d = (0, $.ref)(0), f = (0, $.ref)(0), p = (0, $.ref)(s.value), m = (0, $.ref)(o.value), h = (0, $.shallowRef)({}), g = (0, $.ref)(!1), _ = (0, $.computed)(() => {
6218
6228
  let e = {
6219
6229
  position: p.value,
6220
6230
  left: "0",
6221
6231
  top: "0"
6222
6232
  };
6223
6233
  if (!u.value) return e;
6224
- let t = Ms(u.value, d.value), n = Ms(u.value, f.value);
6234
+ let t = Ns(u.value, d.value), n = Ns(u.value, f.value);
6225
6235
  return c.value ? {
6226
6236
  ...e,
6227
6237
  transform: "translate(" + t + "px, " + n + "px)",
6228
- ...js(u.value) >= 1.5 && { willChange: "transform" }
6238
+ ...Ms(u.value) >= 1.5 && { willChange: "transform" }
6229
6239
  } : {
6230
6240
  position: p.value,
6231
6241
  left: t + "px",
@@ -6235,7 +6245,7 @@ function Ns(e, t, n) {
6235
6245
  function y() {
6236
6246
  if (l.value == null || u.value == null) return;
6237
6247
  let e = i.value;
6238
- Ss(l.value, u.value, {
6248
+ Cs(l.value, u.value, {
6239
6249
  middleware: a.value,
6240
6250
  placement: o.value,
6241
6251
  strategy: s.value
@@ -6277,7 +6287,7 @@ function Ns(e, t, n) {
6277
6287
  }
6278
6288
  //#endregion
6279
6289
  //#region node_modules/reka-ui/dist/Popper/PopperContent.js
6280
- var Ps = ["dir"], Fs = {
6290
+ var Fs = ["dir"], Is = {
6281
6291
  side: "bottom",
6282
6292
  sideOffset: 0,
6283
6293
  sideFlip: !0,
@@ -6294,7 +6304,7 @@ var Ps = ["dir"], Fs = {
6294
6304
  positionStrategy: "fixed",
6295
6305
  updatePositionStrategy: "optimized",
6296
6306
  prioritizePosition: !1
6297
- }, [Is, Ls] = /*#__PURE__*/ Cr("PopperContent"), Rs = /* @__PURE__ */ g({
6307
+ }, [Ls, Rs] = /*#__PURE__*/ Cr("PopperContent"), zs = /* @__PURE__ */ g({
6298
6308
  inheritAttrs: !1,
6299
6309
  __name: "PopperContent",
6300
6310
  props: /* @__PURE__ */ w({
@@ -6386,10 +6396,10 @@ var Ps = ["dir"], Fs = {
6386
6396
  type: null,
6387
6397
  required: !1
6388
6398
  }
6389
- }, { ...Fs }),
6399
+ }, { ...Is }),
6390
6400
  emits: ["placed"],
6391
6401
  setup(e, { emit: t }) {
6392
- let n = e, r = t, i = va(), { forwardRef: a, currentElement: o } = J(), s = _i(c(() => n.dir)), u = I(), f = I(), { width: p, height: m } = Ui(f), h = c(() => n.side + (n.align === "center" ? "" : `-${n.align}`)), g = c(() => typeof n.collisionPadding == "number" ? n.collisionPadding : {
6402
+ let n = e, r = t, i = va(), { forwardRef: a, currentElement: o } = Y(), s = _i(c(() => n.dir)), u = I(), f = I(), { width: p, height: m } = Ui(f), h = c(() => n.side + (n.align === "center" ? "" : `-${n.align}`)), g = c(() => typeof n.collisionPadding == "number" ? n.collisionPadding : {
6393
6403
  top: 0,
6394
6404
  right: 0,
6395
6405
  bottom: 0,
@@ -6403,32 +6413,32 @@ var Ps = ["dir"], Fs = {
6403
6413
  mainAxis: n.sideFlip,
6404
6414
  crossAxis: n.alignFlip
6405
6415
  })), b = c(() => [
6406
- hs({
6416
+ gs({
6407
6417
  mainAxis: n.sideOffset + m.value,
6408
6418
  alignmentAxis: n.alignOffset
6409
6419
  }),
6410
- n.prioritizePosition && n.avoidCollisions && _s({
6420
+ n.prioritizePosition && n.avoidCollisions && vs({
6411
6421
  ...v.value,
6412
6422
  ...y.value
6413
6423
  }),
6414
- n.avoidCollisions && gs({
6424
+ n.avoidCollisions && _s({
6415
6425
  mainAxis: !0,
6416
6426
  crossAxis: !!n.prioritizePosition,
6417
- limiter: n.sticky === "partial" ? xs() : void 0,
6427
+ limiter: n.sticky === "partial" ? Ss() : void 0,
6418
6428
  ...v.value
6419
6429
  }),
6420
- !n.prioritizePosition && n.avoidCollisions && _s({
6430
+ !n.prioritizePosition && n.avoidCollisions && vs({
6421
6431
  ...v.value,
6422
6432
  ...y.value
6423
6433
  }),
6424
- vs({
6434
+ ys({
6425
6435
  ...v.value,
6426
6436
  apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
6427
6437
  let { width: i, height: a } = t.reference, o = e.floating.style;
6428
6438
  o.setProperty("--reka-popper-available-width", `${n}px`), o.setProperty("--reka-popper-available-height", `${r}px`), o.setProperty("--reka-popper-anchor-width", `${i}px`), o.setProperty("--reka-popper-anchor-height", `${a}px`);
6429
6439
  }
6430
6440
  }),
6431
- f.value && As({
6441
+ f.value && js({
6432
6442
  element: f.value,
6433
6443
  padding: n.arrowPadding
6434
6444
  }),
@@ -6437,14 +6447,14 @@ var Ps = ["dir"], Fs = {
6437
6447
  arrowHeight: m.value,
6438
6448
  dir: s.value
6439
6449
  }),
6440
- n.hideWhenDetached && ys({
6450
+ n.hideWhenDetached && bs({
6441
6451
  strategy: "referenceHidden",
6442
6452
  ...v.value
6443
6453
  })
6444
- ]), { floatingStyles: x, placement: S, isPositioned: C, middlewareData: w, update: E } = Ns(c(() => n.reference ?? i.anchor.value), u, {
6454
+ ]), { floatingStyles: x, placement: S, isPositioned: C, middlewareData: w, update: E } = Ps(c(() => n.reference ?? i.anchor.value), u, {
6445
6455
  strategy: n.positionStrategy,
6446
6456
  placement: h,
6447
- whileElementsMounted: (...e) => ms(...e, {
6457
+ whileElementsMounted: (...e) => hs(...e, {
6448
6458
  layoutShift: !n.disableUpdateOnLayoutShift,
6449
6459
  animationFrame: n.updatePositionStrategy === "always"
6450
6460
  }),
@@ -6457,9 +6467,9 @@ var Ps = ["dir"], Fs = {
6457
6467
  let e = w.value.arrow?.centerOffset !== 0;
6458
6468
  return n.hideShiftedArrow && e;
6459
6469
  }), j = I("");
6460
- return pe(() => {
6470
+ return H(() => {
6461
6471
  o.value && (j.value = window.getComputedStyle(o.value).zIndex);
6462
- }), Ls({
6472
+ }), Rs({
6463
6473
  placedSide: D,
6464
6474
  onArrowChange: (e) => f.value = e,
6465
6475
  arrowX: c(() => w.value.arrow?.x ?? 0),
@@ -6499,7 +6509,7 @@ var Ps = ["dir"], Fs = {
6499
6509
  "data-align": O.value,
6500
6510
  style: { animation: B(C) ? void 0 : "none" }
6501
6511
  }), {
6502
- default: H(() => [L(e.$slots, "default")]),
6512
+ default: U(() => [L(e.$slots, "default")]),
6503
6513
  _: 3
6504
6514
  }, 16, [
6505
6515
  "as-child",
@@ -6518,7 +6528,7 @@ var Ps = ["dir"], Fs = {
6518
6528
  dir: B(s),
6519
6529
  style: { animation: B(C) ? void 0 : "none" }
6520
6530
  }), {
6521
- default: H(() => [L(e.$slots, "default")]),
6531
+ default: U(() => [L(e.$slots, "default")]),
6522
6532
  _: 3
6523
6533
  }, 16, [
6524
6534
  "as-child",
@@ -6527,14 +6537,14 @@ var Ps = ["dir"], Fs = {
6527
6537
  "data-align",
6528
6538
  "dir",
6529
6539
  "style"
6530
- ]))], 12, Ps));
6540
+ ]))], 12, Fs));
6531
6541
  }
6532
- }), zs = {
6542
+ }), Bs = {
6533
6543
  top: "bottom",
6534
6544
  right: "left",
6535
6545
  bottom: "top",
6536
6546
  left: "right"
6537
- }, Bs = /* @__PURE__ */ g({
6547
+ }, Vs = /* @__PURE__ */ g({
6538
6548
  inheritAttrs: !1,
6539
6549
  __name: "PopperArrow",
6540
6550
  props: {
@@ -6561,7 +6571,7 @@ var Ps = ["dir"], Fs = {
6561
6571
  }
6562
6572
  },
6563
6573
  setup(e) {
6564
- let { forwardRef: t } = J(), n = Is(), r = c(() => zs[n.placedSide.value]);
6574
+ let { forwardRef: t } = Y(), n = Ls(), r = c(() => Bs[n.placedSide.value]);
6565
6575
  return (e, i) => (F(), d("span", {
6566
6576
  ref: (e) => {
6567
6577
  B(n).onArrowChange(e ?? void 0);
@@ -6594,7 +6604,7 @@ var Ps = ["dir"], Fs = {
6594
6604
  width: e.width,
6595
6605
  height: e.height
6596
6606
  }), {
6597
- default: H(() => [L(e.$slots, "default")]),
6607
+ default: U(() => [L(e.$slots, "default")]),
6598
6608
  _: 3
6599
6609
  }, 16, [
6600
6610
  "as",
@@ -6604,7 +6614,7 @@ var Ps = ["dir"], Fs = {
6604
6614
  "height"
6605
6615
  ])], 4));
6606
6616
  }
6607
- }), [Vs, Hs] = /*#__PURE__*/ Cr("PopoverRoot"), Us = /* @__PURE__ */ g({
6617
+ }), [Hs, Us] = /*#__PURE__*/ Cr("PopoverRoot"), Ws = /* @__PURE__ */ g({
6608
6618
  __name: "PopoverRoot",
6609
6619
  props: {
6610
6620
  defaultOpen: {
@@ -6625,11 +6635,11 @@ var Ps = ["dir"], Fs = {
6625
6635
  },
6626
6636
  emits: ["update:open"],
6627
6637
  setup(e, { emit: t }) {
6628
- let n = e, r = t, { modal: i } = de(n), a = ai(n, "open", r, {
6638
+ let n = e, r = t, { modal: i } = fe(n), a = ai(n, "open", r, {
6629
6639
  defaultValue: n.defaultOpen,
6630
6640
  passive: n.open === void 0
6631
6641
  });
6632
- return Hs({
6642
+ return Us({
6633
6643
  contentId: "",
6634
6644
  triggerId: "",
6635
6645
  modal: i,
@@ -6643,14 +6653,14 @@ var Ps = ["dir"], Fs = {
6643
6653
  triggerElement: I(),
6644
6654
  hasCustomAnchor: I(!1)
6645
6655
  }), (e, t) => (F(), l(B(ba), null, {
6646
- default: H(() => [L(e.$slots, "default", {
6656
+ default: U(() => [L(e.$slots, "default", {
6647
6657
  open: B(a),
6648
6658
  close: () => a.value = !1
6649
6659
  })]),
6650
6660
  _: 3
6651
6661
  }));
6652
6662
  }
6653
- }), Ws = /* @__PURE__ */ g({
6663
+ }), Gs = /* @__PURE__ */ g({
6654
6664
  __name: "PopoverAnchor",
6655
6665
  props: {
6656
6666
  reference: {
@@ -6668,48 +6678,14 @@ var Ps = ["dir"], Fs = {
6668
6678
  },
6669
6679
  setup(e) {
6670
6680
  let t = e;
6671
- J();
6672
- let n = Vs();
6681
+ Y();
6682
+ let n = Hs();
6673
6683
  return A(() => {
6674
6684
  n.hasCustomAnchor.value = !0;
6675
6685
  }), P(() => {
6676
6686
  n.hasCustomAnchor.value = !1;
6677
6687
  }), (e, n) => (F(), l(B(xa), O(b(t)), {
6678
- default: H(() => [L(e.$slots, "default")]),
6679
- _: 3
6680
- }, 16));
6681
- }
6682
- }), Gs = /* @__PURE__ */ g({
6683
- __name: "PopoverArrow",
6684
- props: {
6685
- width: {
6686
- type: Number,
6687
- required: !1,
6688
- default: 10
6689
- },
6690
- height: {
6691
- type: Number,
6692
- required: !1,
6693
- default: 5
6694
- },
6695
- rounded: {
6696
- type: Boolean,
6697
- required: !1
6698
- },
6699
- asChild: {
6700
- type: Boolean,
6701
- required: !1
6702
- },
6703
- as: {
6704
- type: null,
6705
- required: !1,
6706
- default: "svg"
6707
- }
6708
- },
6709
- setup(e) {
6710
- let t = e;
6711
- return J(), (e, n) => (F(), l(B(Bs), O(b(t)), {
6712
- default: H(() => [L(e.$slots, "default")]),
6688
+ default: U(() => [L(e.$slots, "default")]),
6713
6689
  _: 3
6714
6690
  }, 16));
6715
6691
  }
@@ -6822,7 +6798,7 @@ var Ps = ["dir"], Fs = {
6822
6798
  "closeAutoFocus"
6823
6799
  ],
6824
6800
  setup(e, { emit: t }) {
6825
- let n = e, r = t, i = Si(Gr(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = J(), o = Vs();
6801
+ let n = e, r = t, i = Si(Gr(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = Y(), o = Hs();
6826
6802
  return bi(), (e, t) => (F(), l(B(ga), {
6827
6803
  "as-child": "",
6828
6804
  loop: "",
@@ -6830,7 +6806,7 @@ var Ps = ["dir"], Fs = {
6830
6806
  onMountAutoFocus: t[5] ||= (e) => r("openAutoFocus", e),
6831
6807
  onUnmountAutoFocus: t[6] ||= (e) => r("closeAutoFocus", e)
6832
6808
  }, {
6833
- default: H(() => [m(B(na), {
6809
+ default: U(() => [m(B(na), {
6834
6810
  "as-child": "",
6835
6811
  "disable-outside-pointer-events": e.disableOutsidePointerEvents,
6836
6812
  onPointerDownOutside: t[0] ||= (e) => r("pointerDownOutside", e),
@@ -6839,7 +6815,7 @@ var Ps = ["dir"], Fs = {
6839
6815
  onFocusOutside: t[3] ||= (e) => r("focusOutside", e),
6840
6816
  onDismiss: t[4] ||= (e) => B(o).onOpenChange(!1)
6841
6817
  }, {
6842
- default: H(() => [m(B(Rs), T(B(i), {
6818
+ default: U(() => [m(B(zs), T(B(i), {
6843
6819
  id: B(o).contentId,
6844
6820
  ref: B(a),
6845
6821
  "data-state": B(o).open.value ? "open" : "closed",
@@ -6853,7 +6829,7 @@ var Ps = ["dir"], Fs = {
6853
6829
  },
6854
6830
  role: "dialog"
6855
6831
  }), {
6856
- default: H(() => [L(e.$slots, "default")]),
6832
+ default: U(() => [L(e.$slots, "default")]),
6857
6833
  _: 3
6858
6834
  }, 16, [
6859
6835
  "id",
@@ -6970,9 +6946,9 @@ var Ps = ["dir"], Fs = {
6970
6946
  "closeAutoFocus"
6971
6947
  ],
6972
6948
  setup(e, { emit: t }) {
6973
- let n = e, r = t, i = Vs(), a = I(!1);
6949
+ let n = e, r = t, i = Hs(), a = I(!1);
6974
6950
  mi(!0);
6975
- let o = Ci(n, r), { forwardRef: s, currentElement: c } = J();
6951
+ let o = Ci(n, r), { forwardRef: s, currentElement: c } = Y();
6976
6952
  return Bi(c), (e, t) => (F(), l(Ks, T(B(o), {
6977
6953
  ref: B(s),
6978
6954
  "trap-focus": B(i).open.value,
@@ -6987,7 +6963,7 @@ var Ps = ["dir"], Fs = {
6987
6963
  },
6988
6964
  onFocusOutside: t[2] ||= ge(() => {}, ["prevent"])
6989
6965
  }), {
6990
- default: H(() => [L(e.$slots, "default")]),
6966
+ default: U(() => [L(e.$slots, "default")]),
6991
6967
  _: 3
6992
6968
  }, 16, ["trap-focus"]));
6993
6969
  }
@@ -7096,7 +7072,7 @@ var Ps = ["dir"], Fs = {
7096
7072
  "closeAutoFocus"
7097
7073
  ],
7098
7074
  setup(e, { emit: t }) {
7099
- let n = e, r = t, i = Vs(), a = I(!1), o = I(!1), s = Ci(n, r);
7075
+ let n = e, r = t, i = Hs(), a = I(!1), o = I(!1), s = Ci(n, r);
7100
7076
  return (e, t) => (F(), l(Ks, T(B(s), {
7101
7077
  "trap-focus": !1,
7102
7078
  "disable-outside-pointer-events": !1,
@@ -7109,7 +7085,7 @@ var Ps = ["dir"], Fs = {
7109
7085
  B(i).triggerElement.value?.contains(t) && e.preventDefault(), e.detail.originalEvent.type === "focusin" && o.value && e.preventDefault();
7110
7086
  }
7111
7087
  }), {
7112
- default: H(() => [L(e.$slots, "default")]),
7088
+ default: U(() => [L(e.$slots, "default")]),
7113
7089
  _: 3
7114
7090
  }, 16));
7115
7091
  }
@@ -7222,13 +7198,13 @@ var Ps = ["dir"], Fs = {
7222
7198
  "closeAutoFocus"
7223
7199
  ],
7224
7200
  setup(e, { emit: t }) {
7225
- let n = e, r = t, i = Vs(), a = Ci(n, r), { forwardRef: o } = J();
7201
+ let n = e, r = t, i = Hs(), a = Ci(n, r), { forwardRef: o } = Y();
7226
7202
  return i.contentId ||= Hi(void 0, "reka-popover-content"), (e, t) => (F(), l(B(qi), { present: e.forceMount || B(i).open.value }, {
7227
- default: H(() => [B(i).modal.value ? (F(), l(qs, T({ key: 0 }, B(a), { ref: B(o) }), {
7228
- default: H(() => [L(e.$slots, "default")]),
7203
+ default: U(() => [B(i).modal.value ? (F(), l(qs, T({ key: 0 }, B(a), { ref: B(o) }), {
7204
+ default: U(() => [L(e.$slots, "default")]),
7229
7205
  _: 3
7230
7206
  }, 16)) : (F(), l(Js, T({ key: 1 }, B(a), { ref: B(o) }), {
7231
- default: H(() => [L(e.$slots, "default")]),
7207
+ default: U(() => [L(e.$slots, "default")]),
7232
7208
  _: 3
7233
7209
  }, 16))]),
7234
7210
  _: 3
@@ -7257,7 +7233,7 @@ var Ps = ["dir"], Fs = {
7257
7233
  setup(e) {
7258
7234
  let t = e;
7259
7235
  return (e, n) => (F(), l(B(_a), O(b(t)), {
7260
- default: H(() => [L(e.$slots, "default")]),
7236
+ default: U(() => [L(e.$slots, "default")]),
7261
7237
  _: 3
7262
7238
  }, 16));
7263
7239
  }
@@ -7275,11 +7251,11 @@ var Ps = ["dir"], Fs = {
7275
7251
  }
7276
7252
  },
7277
7253
  setup(e) {
7278
- let t = e, n = Vs(), { forwardRef: r, currentElement: i } = J();
7254
+ let t = e, n = Hs(), { forwardRef: r, currentElement: i } = Y();
7279
7255
  return n.triggerId ||= Hi(void 0, "reka-popover-trigger"), N(() => {
7280
7256
  n.triggerElement.value = i.value;
7281
- }), (e, i) => (F(), l(oe(B(n).hasCustomAnchor.value ? B(Xi) : B(xa)), { "as-child": "" }, {
7282
- default: H(() => [m(B(Xi), {
7257
+ }), (e, i) => (F(), l(se(B(n).hasCustomAnchor.value ? B(Xi) : B(xa)), { "as-child": "" }, {
7258
+ default: U(() => [m(B(Xi), {
7283
7259
  id: B(n).triggerId,
7284
7260
  ref: B(r),
7285
7261
  type: e.as === "button" ? "button" : void 0,
@@ -7291,7 +7267,7 @@ var Ps = ["dir"], Fs = {
7291
7267
  "as-child": t.asChild,
7292
7268
  onClick: B(n).onOpenToggle
7293
7269
  }, {
7294
- default: H(() => [L(e.$slots, "default")]),
7270
+ default: U(() => [L(e.$slots, "default")]),
7295
7271
  _: 3
7296
7272
  }, 8, [
7297
7273
  "id",
@@ -7335,8 +7311,8 @@ var Ps = ["dir"], Fs = {
7335
7311
  },
7336
7312
  setup(e) {
7337
7313
  let t = e;
7338
- return J(), (e, n) => (F(), l(B(Bs), O(b(t)), {
7339
- default: H(() => [L(e.$slots, "default")]),
7314
+ return Y(), (e, n) => (F(), l(B(Vs), O(b(t)), {
7315
+ default: U(() => [L(e.$slots, "default")]),
7340
7316
  _: 3
7341
7317
  }, 16));
7342
7318
  }
@@ -7371,8 +7347,8 @@ var Ps = ["dir"], Fs = {
7371
7347
  },
7372
7348
  emits: ["update:open"],
7373
7349
  setup(e, { emit: t }) {
7374
- let n = e, r = t, { openDelay: i, closeDelay: a, enableTouch: o } = de(n);
7375
- J();
7350
+ let n = e, r = t, { openDelay: i, closeDelay: a, enableTouch: o } = fe(n);
7351
+ Y();
7376
7352
  let s = ai(n, "open", r, {
7377
7353
  defaultValue: n.defaultOpen,
7378
7354
  passive: n.open === void 0
@@ -7400,7 +7376,7 @@ var Ps = ["dir"], Fs = {
7400
7376
  triggerElement: m,
7401
7377
  enableTouch: o
7402
7378
  }), (e, t) => (F(), l(B(ba), null, {
7403
- default: H(() => [L(e.$slots, "default", { open: B(s) })]),
7379
+ default: U(() => [L(e.$slots, "default", { open: B(s) })]),
7404
7380
  _: 3
7405
7381
  }));
7406
7382
  }
@@ -7516,12 +7492,12 @@ var ic = /* @__PURE__ */ g({
7516
7492
  "interactOutside"
7517
7493
  ],
7518
7494
  setup(e, { emit: t }) {
7519
- let n = e, r = t, i = Si(n), { forwardRef: a, currentElement: o } = J(), s = $s(), { isPointerInTransit: c, onPointerExit: u } = wi(s.triggerElement, o);
7495
+ let n = e, r = t, i = Si(n), { forwardRef: a, currentElement: o } = Y(), s = $s(), { isPointerInTransit: c, onPointerExit: u } = wi(s.triggerElement, o);
7520
7496
  Yr(s.isPointerInTransitRef, c, { direction: "rtl" }), u(() => {
7521
7497
  s.onClose();
7522
7498
  });
7523
7499
  let d = I(!1), f;
7524
- pe((e) => {
7500
+ H((e) => {
7525
7501
  if (d.value) {
7526
7502
  let t = document.body;
7527
7503
  f = t.style.userSelect || t.style.webkitUserSelect, t.style.userSelect = "none", t.style.webkitUserSelect = "none", e(() => {
@@ -7548,7 +7524,7 @@ var ic = /* @__PURE__ */ g({
7548
7524
  onFocusOutside: t[3] ||= ge((e) => r("focusOutside", e), ["prevent"]),
7549
7525
  onDismiss: B(s).onDismiss
7550
7526
  }, {
7551
- default: H(() => [m(B(Rs), T({
7527
+ default: U(() => [m(B(zs), T({
7552
7528
  ...B(i),
7553
7529
  ...e.$attrs
7554
7530
  }, {
@@ -7567,7 +7543,7 @@ var ic = /* @__PURE__ */ g({
7567
7543
  e.currentTarget.contains(e.target) && (d.value = !0), B(s).hasSelectionRef.value = !1, B(s).isPointerDownOnContentRef.value = !0;
7568
7544
  }
7569
7545
  }), {
7570
- default: H(() => [L(e.$slots, "default")]),
7546
+ default: U(() => [L(e.$slots, "default")]),
7571
7547
  _: 3
7572
7548
  }, 16, ["data-state", "style"])]),
7573
7549
  _: 3
@@ -7676,13 +7652,13 @@ var ic = /* @__PURE__ */ g({
7676
7652
  "interactOutside"
7677
7653
  ],
7678
7654
  setup(e, { emit: t }) {
7679
- let n = Ci(e, t), { forwardRef: r } = J(), i = $s();
7655
+ let n = Ci(e, t), { forwardRef: r } = Y(), i = $s();
7680
7656
  return (e, t) => (F(), l(B(qi), { present: e.forceMount || B(i).open.value }, {
7681
- default: H(() => [m(ic, T(B(n), {
7657
+ default: U(() => [m(ic, T(B(n), {
7682
7658
  ref: B(r),
7683
7659
  onPointerenter: t[0] ||= (e) => B(nc)(B(i).onOpen)(e)
7684
7660
  }), {
7685
- default: H(() => [L(e.$slots, "default")]),
7661
+ default: U(() => [L(e.$slots, "default")]),
7686
7662
  _: 3
7687
7663
  }, 16)]),
7688
7664
  _: 3
@@ -7711,7 +7687,7 @@ var ic = /* @__PURE__ */ g({
7711
7687
  setup(e) {
7712
7688
  let t = e;
7713
7689
  return (e, n) => (F(), l(B(_a), O(b(t)), {
7714
- default: H(() => [L(e.$slots, "default")]),
7690
+ default: U(() => [L(e.$slots, "default")]),
7715
7691
  _: 3
7716
7692
  }, 16));
7717
7693
  }
@@ -7733,7 +7709,7 @@ var ic = /* @__PURE__ */ g({
7733
7709
  }
7734
7710
  },
7735
7711
  setup(e) {
7736
- let { forwardRef: t, currentElement: n } = J(), r = $s();
7712
+ let { forwardRef: t, currentElement: n } = Y(), r = $s();
7737
7713
  r.triggerElement = n;
7738
7714
  function i() {
7739
7715
  setTimeout(() => {
@@ -7747,7 +7723,7 @@ var ic = /* @__PURE__ */ g({
7747
7723
  "as-child": "",
7748
7724
  reference: e.reference
7749
7725
  }, {
7750
- default: H(() => [m(B(Xi), {
7726
+ default: U(() => [m(B(Xi), {
7751
7727
  ref: B(t),
7752
7728
  "as-child": e.asChild,
7753
7729
  as: e.as,
@@ -7759,7 +7735,7 @@ var ic = /* @__PURE__ */ g({
7759
7735
  onFocus: n[2] ||= (e) => B(r).onOpen(),
7760
7736
  onBlur: n[3] ||= (e) => B(r).onClose()
7761
7737
  }, {
7762
- default: H(() => [L(e.$slots, "default")]),
7738
+ default: U(() => [L(e.$slots, "default")]),
7763
7739
  _: 3
7764
7740
  }, 8, [
7765
7741
  "as-child",
@@ -7769,99 +7745,646 @@ var ic = /* @__PURE__ */ g({
7769
7745
  _: 3
7770
7746
  }, 8, ["reference"]));
7771
7747
  }
7772
- }), cc = /* @__PURE__ */ De(Sr(), 1), lc = { class: "payLayerFrame" }, uc = { class: "payLeft" }, dc = { class: "userBox" }, fc = { class: "userInfo" }, pc = { class: "userAvatar" }, mc = ["src"], hc = { class: "userLogin" }, gc = { class: "userState" }, _c = { class: "userLoginName" }, vc = {
7748
+ }), cc = /* @__PURE__ */ De(Sr(), 1);
7749
+ String.raw;
7750
+ var lc = String.raw, uc = (() => {
7751
+ try {
7752
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
7753
+ } catch {
7754
+ return !1;
7755
+ }
7756
+ return !0;
7757
+ })(), dc = typeof CSS < "u" && CSS.supports && CSS.supports("line-height", "mod(1,1)"), fc = typeof matchMedia < "u" ? matchMedia("(prefers-reduced-motion: reduce)") : null, pc = "--_number-flow-d-opacity", mc = "--_number-flow-d-width", hc = "--_number-flow-dx", gc = "--_number-flow-d", _c = (() => {
7758
+ try {
7759
+ return CSS.registerProperty({
7760
+ name: pc,
7761
+ syntax: "<number>",
7762
+ inherits: !1,
7763
+ initialValue: "0"
7764
+ }), CSS.registerProperty({
7765
+ name: hc,
7766
+ syntax: "<length>",
7767
+ inherits: !0,
7768
+ initialValue: "0px"
7769
+ }), CSS.registerProperty({
7770
+ name: mc,
7771
+ syntax: "<number>",
7772
+ inherits: !1,
7773
+ initialValue: "0"
7774
+ }), CSS.registerProperty({
7775
+ name: gc,
7776
+ syntax: "<number>",
7777
+ inherits: !0,
7778
+ initialValue: "0"
7779
+ }), !0;
7780
+ } catch {
7781
+ return !1;
7782
+ }
7783
+ })(), vc = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", yc = `calc(${vc} * 2)`, bc = "var(--number-flow-mask-width, 0.5em)", xc = `calc(${bc} / var(--scale-x))`, Sc = "#000 0, transparent 71%", Cc = lc`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${mc}) / var(--width));transform:translateX(var(${hc})) scaleX(var(--scale-x));margin:0 calc(-1 * ${bc});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${xc},#000 calc(100% - ${xc}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${yc},#000 calc(100% - ${yc}),transparent 100% ),radial-gradient(at bottom right,${Sc}),radial-gradient(at bottom left,${Sc}),radial-gradient(at top left,${Sc}),radial-gradient(at top right,${Sc});-webkit-mask-size:100% calc(100% - ${yc} * 2),calc(100% - ${xc} * 2) 100%,${xc} ${yc},${xc} ${yc},${xc} ${yc},${xc} ${yc};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${vc} ${bc};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${hc})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${gc})}.digit__num,.number .section::after{padding:${vc} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${pc}))}`, wc = typeof HTMLElement < "u" ? HTMLElement : class {};
7784
+ lc`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${vc} 0}.symbol{white-space:pre}`;
7785
+ var Tc = (e, t, n) => {
7786
+ let r = document.createElement(e), [i, a] = Array.isArray(t) ? [void 0, t] : [t, n];
7787
+ return i && Object.assign(r, i), a?.forEach((e) => r.appendChild(e)), r;
7788
+ }, Ec = (e, t) => t === "left" ? e.offsetLeft : ((e.offsetParent instanceof HTMLElement ? e.offsetParent : null)?.offsetWidth ?? 0) - e.offsetWidth - e.offsetLeft, Dc = (e) => e.offsetWidth > 0 && e.offsetHeight > 0, Oc = (e, t) => {
7789
+ typeof HTMLElement < "u" && typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
7790
+ };
7791
+ function kc(e, t, { reverse: n = !1 } = {}) {
7792
+ let r = e.length;
7793
+ for (let i = n ? r - 1 : 0; n ? i >= 0 : i < r; n ? i-- : i++) t(e[i], i);
7794
+ }
7795
+ function Ac(e, t, n, r) {
7796
+ let i = t.formatToParts(e);
7797
+ n && i.unshift({
7798
+ type: "prefix",
7799
+ value: n
7800
+ }), r && i.push({
7801
+ type: "suffix",
7802
+ value: r
7803
+ });
7804
+ let a = [], o = [], s = [], c = [], l = {}, u = (e) => `${e}:${l[e] = (l[e] ?? -1) + 1}`, d = "", f = !1, p = !1;
7805
+ for (let e of i) {
7806
+ d += e.value;
7807
+ let t = e.type === "minusSign" || e.type === "plusSign" ? "sign" : e.type;
7808
+ t === "integer" ? (f = !0, o.push(...e.value.split("").map((e) => ({
7809
+ type: t,
7810
+ value: parseInt(e)
7811
+ })))) : t === "group" ? o.push({
7812
+ type: t,
7813
+ value: e.value
7814
+ }) : t === "decimal" ? (p = !0, s.push({
7815
+ type: t,
7816
+ value: e.value,
7817
+ key: u(t)
7818
+ })) : t === "fraction" ? s.push(...e.value.split("").map((e) => ({
7819
+ type: t,
7820
+ value: parseInt(e),
7821
+ key: u(t),
7822
+ pos: -1 - l[t]
7823
+ }))) : (f || p ? c : a).push({
7824
+ type: t,
7825
+ value: e.value,
7826
+ key: u(t)
7827
+ });
7828
+ }
7829
+ let m = [];
7830
+ for (let e = o.length - 1; e >= 0; e--) {
7831
+ let t = o[e];
7832
+ m.unshift(t.type === "integer" ? {
7833
+ ...t,
7834
+ key: u(t.type),
7835
+ pos: l[t.type]
7836
+ } : {
7837
+ ...t,
7838
+ key: u(t.type)
7839
+ });
7840
+ }
7841
+ return {
7842
+ pre: a,
7843
+ integer: m,
7844
+ fraction: s,
7845
+ post: c,
7846
+ valueAsString: d,
7847
+ value: typeof e == "string" ? parseFloat(e) : e
7848
+ };
7849
+ }
7850
+ var jc = dc && uc && _c, Mc = class extends wc {
7851
+ constructor() {
7852
+ super(), this.created = !1, this.batched = !1, this._preUpdated = !1;
7853
+ let { animated: e, ...t } = this.constructor.defaultProps;
7854
+ this._animated = this.computedAnimated = e, Object.assign(this, t);
7855
+ }
7856
+ get animated() {
7857
+ return this._animated;
7858
+ }
7859
+ set animated(e) {
7860
+ var t;
7861
+ this.animated !== e && (this._animated = e, (t = this.shadowRoot) == null || t.getAnimations().forEach((e) => e.finish()));
7862
+ }
7863
+ set data(e) {
7864
+ var t, n;
7865
+ if (e == null || e === this._data) return;
7866
+ let { pre: r, integer: i, fraction: a, post: o, value: s } = e;
7867
+ if (this.created) {
7868
+ let c = this._data;
7869
+ this._data = e, this.computedTrend = typeof this.trend == "function" ? this.trend(c.value, s) : this.trend, this.computedAnimated = jc && this._animated && (!this.respectMotionPreference || !((t = fc) != null && t.matches)) && Dc(this) && this.ownerDocument.visibilityState === "visible", (n = this.plugins) == null || n.forEach((t) => t.onUpdate?.call(t, e, c, this)), this.batched || this.willUpdate(), this._pre.update(r), this._num.update({
7870
+ integer: i,
7871
+ fraction: a
7872
+ }), this._post.update(o), this.batched || this.didUpdate();
7873
+ } else {
7874
+ this._data = e, this.attachShadow({ mode: "open" });
7875
+ try {
7876
+ this._internals ??= this.attachInternals(), this._internals.role = "img";
7877
+ } catch {}
7878
+ let t = document.createElement("style");
7879
+ this.nonce && (t.nonce = this.nonce), t.textContent = Cc, this.shadowRoot.appendChild(t), this._pre = new Ic(this, r, {
7880
+ justify: "right",
7881
+ part: "left"
7882
+ }), this.shadowRoot.appendChild(this._pre.el), this._num = new Nc(this, i, a), this.shadowRoot.appendChild(this._num.el), this._post = new Ic(this, o, {
7883
+ justify: "left",
7884
+ part: "right"
7885
+ }), this.shadowRoot.appendChild(this._post.el), this.created = !0;
7886
+ }
7887
+ try {
7888
+ this._internals.ariaLabel = e.valueAsString;
7889
+ } catch {}
7890
+ }
7891
+ willUpdate() {
7892
+ var e;
7893
+ this._preUpdated = jc && this._animated && (!this.respectMotionPreference || !((e = fc) != null && e.matches)) && this.ownerDocument.visibilityState === "visible", this._preUpdated && (this._pre.willUpdate(), this._num.willUpdate(), this._post.willUpdate());
7894
+ }
7895
+ didUpdate() {
7896
+ if (!this.computedAnimated || !this._preUpdated) return;
7897
+ this._abortAnimationsFinish ? this._abortAnimationsFinish.abort() : this.dispatchEvent(new Event("animationsstart")), this._pre.didUpdate(), this._num.didUpdate(), this._post.didUpdate();
7898
+ let e = new AbortController();
7899
+ Promise.all(this.shadowRoot.getAnimations().map((e) => e.finished)).then(() => {
7900
+ e.signal.aborted || (this.dispatchEvent(new Event("animationsfinish")), this._abortAnimationsFinish = void 0);
7901
+ }), this._abortAnimationsFinish = e;
7902
+ }
7903
+ };
7904
+ Mc.defaultProps = {
7905
+ transformTiming: {
7906
+ duration: 900,
7907
+ easing: "linear(0,.005,.019,.039,.066,.096,.129,.165,.202,.24,.278,.316,.354,.39,.426,.461,.494,.526,.557,.586,.614,.64,.665,.689,.711,.731,.751,.769,.786,.802,.817,.831,.844,.856,.867,.877,.887,.896,.904,.912,.919,.925,.931,.937,.942,.947,.951,.955,.959,.962,.965,.968,.971,.973,.976,.978,.98,.981,.983,.984,.986,.987,.988,.989,.99,.991,.992,.992,.993,.994,.994,.995,.995,.996,.996,.9963,.9967,.9969,.9972,.9975,.9977,.9979,.9981,.9982,.9984,.9985,.9987,.9988,.9989,1)"
7908
+ },
7909
+ spinTiming: void 0,
7910
+ opacityTiming: {
7911
+ duration: 450,
7912
+ easing: "ease-out"
7913
+ },
7914
+ animated: !0,
7915
+ trend: (e, t) => Math.sign(t - e),
7916
+ respectMotionPreference: !0,
7917
+ plugins: void 0,
7918
+ digits: void 0
7919
+ };
7920
+ var Nc = class {
7921
+ constructor(e, t, n, { className: r, ...i } = {}) {
7922
+ this.flow = e, this._integer = new Fc(e, t, {
7923
+ justify: "right",
7924
+ part: "integer"
7925
+ }), this._fraction = new Fc(e, n, {
7926
+ justify: "left",
7927
+ part: "fraction"
7928
+ }), this._inner = Tc("span", { className: "number__inner" }, [this._integer.el, this._fraction.el]), this.el = Tc("span", {
7929
+ ...i,
7930
+ part: "number",
7931
+ className: `number ${r ?? ""}`
7932
+ }, [this._inner]);
7933
+ }
7934
+ willUpdate() {
7935
+ this._prevWidth = this.el.offsetWidth, this._prevLeft = this.el.getBoundingClientRect().left, this._integer.willUpdate(), this._fraction.willUpdate();
7936
+ }
7937
+ update({ integer: e, fraction: t }) {
7938
+ this._integer.update(e), this._fraction.update(t);
7939
+ }
7940
+ didUpdate() {
7941
+ let e = this.el.getBoundingClientRect();
7942
+ this._integer.didUpdate(), this._fraction.didUpdate();
7943
+ let t = this._prevLeft - e.left, n = this.el.offsetWidth, r = this._prevWidth - n;
7944
+ this.el.style.setProperty("--width", String(n)), this.el.animate({
7945
+ [hc]: [`${t}px`, "0px"],
7946
+ [mc]: [r, 0]
7947
+ }, {
7948
+ ...this.flow.transformTiming,
7949
+ composite: "accumulate"
7950
+ });
7951
+ }
7952
+ }, Pc = class {
7953
+ constructor(e, t, { justify: n, className: r, ...i }, a) {
7954
+ this.flow = e, this.children = /* @__PURE__ */ new Map(), this.onCharRemove = (e) => () => {
7955
+ this.children.delete(e);
7956
+ }, this.justify = n;
7957
+ let o = t.map((e) => this.addChar(e).el);
7958
+ this.el = Tc("span", {
7959
+ ...i,
7960
+ className: `section section--justify-${n} ${r ?? ""}`
7961
+ }, a ? a(o) : o);
7962
+ }
7963
+ addChar(e, { startDigitsAtZero: t = !1, ...n } = {}) {
7964
+ let r = e.type === "integer" || e.type === "fraction" ? new zc(this, e.type, t ? 0 : e.value, e.pos, {
7965
+ ...n,
7966
+ onRemove: this.onCharRemove(e.key)
7967
+ }) : new Bc(this, e.type, e.value, {
7968
+ ...n,
7969
+ onRemove: this.onCharRemove(e.key)
7970
+ });
7971
+ return this.children.set(e.key, r), r;
7972
+ }
7973
+ unpop(e) {
7974
+ e.el.removeAttribute("inert"), e.el.style.top = "", e.el.style[this.justify] = "";
7975
+ }
7976
+ pop(e) {
7977
+ e.forEach((e) => {
7978
+ e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${Ec(e.el, this.justify)}px`;
7979
+ }), e.forEach((e) => {
7980
+ e.el.setAttribute("inert", ""), e.present = !1;
7981
+ });
7982
+ }
7983
+ addNewAndUpdateExisting(e) {
7984
+ let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = this.justify === "left", i = r ? "prepend" : "append";
7985
+ if (kc(e, (e) => {
7986
+ let r;
7987
+ this.children.has(e.key) ? (r = this.children.get(e.key), n.set(e, r), this.unpop(r), r.present = !0) : (r = this.addChar(e, {
7988
+ startDigitsAtZero: !0,
7989
+ animateIn: !0
7990
+ }), t.set(e, r)), this.el[i](r.el);
7991
+ }, { reverse: r }), this.flow.computedAnimated) {
7992
+ let e = this.el.getBoundingClientRect();
7993
+ t.forEach((t) => {
7994
+ t.willUpdate(e);
7995
+ });
7996
+ }
7997
+ t.forEach((e, t) => {
7998
+ e.update(t.value);
7999
+ }), n.forEach((e, t) => {
8000
+ e.update(t.value);
8001
+ });
8002
+ }
8003
+ willUpdate() {
8004
+ let e = this.el.getBoundingClientRect();
8005
+ this._prevOffset = e[this.justify], this.children.forEach((t) => t.willUpdate(e));
8006
+ }
8007
+ didUpdate() {
8008
+ let e = this.el.getBoundingClientRect();
8009
+ this.children.forEach((t) => t.didUpdate(e));
8010
+ let t = e[this.justify], n = this._prevOffset - t;
8011
+ n && this.children.size && this.el.animate({ transform: [`translateX(${n}px)`, "none"] }, {
8012
+ ...this.flow.transformTiming,
8013
+ composite: "accumulate"
8014
+ });
8015
+ }
8016
+ }, Fc = class extends Pc {
8017
+ update(e) {
8018
+ let t = /* @__PURE__ */ new Map();
8019
+ this.children.forEach((n, r) => {
8020
+ e.find((e) => e.key === r) || t.set(r, n), this.unpop(n);
8021
+ }), this.addNewAndUpdateExisting(e), t.forEach((e) => {
8022
+ e instanceof zc && e.update(0);
8023
+ }), this.pop(t);
8024
+ }
8025
+ }, Ic = class extends Pc {
8026
+ update(e) {
8027
+ let t = /* @__PURE__ */ new Map();
8028
+ this.children.forEach((n, r) => {
8029
+ e.find((e) => e.key === r) || t.set(r, n);
8030
+ }), this.pop(t), this.addNewAndUpdateExisting(e);
8031
+ }
8032
+ }, Lc = class {
8033
+ constructor(e, t, { onRemove: n, animateIn: r = !1 } = {}) {
8034
+ this.flow = e, this.el = t, this._present = !0, this._remove = () => {
8035
+ var e;
8036
+ this.el.remove(), (e = this._onRemove) == null || e.call(this);
8037
+ }, this.el.classList.add("animate-presence"), this.flow.computedAnimated && r && this.el.animate({ "--_number-flow-d-opacity": [-.9999, 0] }, {
8038
+ ...this.flow.opacityTiming,
8039
+ composite: "accumulate"
8040
+ }), this._onRemove = n;
8041
+ }
8042
+ get present() {
8043
+ return this._present;
8044
+ }
8045
+ set present(e) {
8046
+ if (this._present !== e) {
8047
+ if (this._present = e, e ? this.el.removeAttribute("inert") : this.el.setAttribute("inert", ""), !this.flow.computedAnimated) {
8048
+ e || this._remove();
8049
+ return;
8050
+ }
8051
+ this.el.style.setProperty("--_number-flow-d-opacity", e ? "0" : "-.999"), this.el.animate({ [pc]: e ? [-.9999, 0] : [.999, 0] }, {
8052
+ ...this.flow.opacityTiming,
8053
+ composite: "accumulate"
8054
+ }), e ? this.flow.removeEventListener("animationsfinish", this._remove) : this.flow.addEventListener("animationsfinish", this._remove, { once: !0 });
8055
+ }
8056
+ }
8057
+ }, Rc = class extends Lc {
8058
+ constructor(e, t, n, r) {
8059
+ super(e.flow, n, r), this.section = e, this.value = t, this.el = n;
8060
+ }
8061
+ }, zc = class extends Rc {
8062
+ constructor(e, t, n, r, i) {
8063
+ let a = (e.flow.digits?.[r]?.max ?? 9) + 1, o = Array.from({ length: a }).map((e, t) => {
8064
+ let r = Tc("span", { className: "digit__num" }, [document.createTextNode(String(t))]);
8065
+ return t !== n && r.setAttribute("inert", ""), r.style.setProperty("--n", String(t)), r;
8066
+ }), s = Tc("span", {
8067
+ part: `digit ${t}-digit`,
8068
+ className: "digit"
8069
+ }, o);
8070
+ s.style.setProperty("--current", String(n)), s.style.setProperty("--length", String(a)), super(e, n, s, i), this.pos = r, this._onAnimationsFinish = () => {
8071
+ this.el.classList.remove("is-spinning");
8072
+ }, this._numbers = o, this.length = a;
8073
+ }
8074
+ willUpdate(e) {
8075
+ let t = this.el.getBoundingClientRect();
8076
+ this._prevValue = this.value;
8077
+ let n = t[this.section.justify] - e[this.section.justify], r = t.width / 2;
8078
+ this._prevCenter = this.section.justify === "left" ? n + r : n - r;
8079
+ }
8080
+ update(e) {
8081
+ this.el.style.setProperty("--current", String(e)), this._numbers.forEach((t, n) => n === e ? t.removeAttribute("inert") : t.setAttribute("inert", "")), this.value = e;
8082
+ }
8083
+ didUpdate(e) {
8084
+ let t = this.el.getBoundingClientRect(), n = t[this.section.justify] - e[this.section.justify], r = t.width / 2, i = this.section.justify === "left" ? n + r : n - r, a = this._prevCenter - i;
8085
+ a && this.el.animate({ transform: [`translateX(${a}px)`, "none"] }, {
8086
+ ...this.flow.transformTiming,
8087
+ composite: "accumulate"
8088
+ });
8089
+ let o = this.getDelta();
8090
+ o && (this.el.classList.add("is-spinning"), this.el.animate({ "--_number-flow-d": [-o, 0] }, {
8091
+ ...this.flow.spinTiming ?? this.flow.transformTiming,
8092
+ composite: "accumulate"
8093
+ }), this.flow.addEventListener("animationsfinish", this._onAnimationsFinish, { once: !0 }));
8094
+ }
8095
+ getDelta() {
8096
+ if (this.flow.plugins) for (let e of this.flow.plugins) {
8097
+ let t = e.getDelta?.call(e, this.value, this._prevValue, this);
8098
+ if (t != null) return t;
8099
+ }
8100
+ let e = this.value - this._prevValue, t = this.flow.computedTrend || Math.sign(e);
8101
+ return t < 0 && this.value > this._prevValue ? this.value - this.length - this._prevValue : t > 0 && this.value < this._prevValue ? this.length - this._prevValue + this.value : e;
8102
+ }
8103
+ }, Bc = class extends Rc {
8104
+ constructor(e, t, n, r) {
8105
+ let i = Tc("span", {
8106
+ className: "symbol__value",
8107
+ textContent: n
8108
+ });
8109
+ super(e, n, Tc("span", {
8110
+ part: `symbol ${t}`,
8111
+ className: "symbol"
8112
+ }, [i]), r), this.type = t, this._children = /* @__PURE__ */ new Map(), this._onChildRemove = (e) => () => {
8113
+ this._children.delete(e);
8114
+ }, this._children.set(n, new Lc(this.flow, i, { onRemove: this._onChildRemove(n) }));
8115
+ }
8116
+ willUpdate(e) {
8117
+ if (this.type === "decimal") return;
8118
+ let t = this.el.getBoundingClientRect();
8119
+ this._prevOffset = t[this.section.justify] - e[this.section.justify];
8120
+ }
8121
+ update(e) {
8122
+ if (this.value !== e) {
8123
+ let t = this._children.get(this.value);
8124
+ t && (t.present = !1);
8125
+ let n = this._children.get(e);
8126
+ if (n) n.present = !0;
8127
+ else {
8128
+ let t = Tc("span", {
8129
+ className: "symbol__value",
8130
+ textContent: e
8131
+ });
8132
+ this.el.appendChild(t), this._children.set(e, new Lc(this.flow, t, {
8133
+ animateIn: !0,
8134
+ onRemove: this._onChildRemove(e)
8135
+ }));
8136
+ }
8137
+ }
8138
+ this.value = e;
8139
+ }
8140
+ didUpdate(e) {
8141
+ if (this.type === "decimal") return;
8142
+ let t = this.el.getBoundingClientRect()[this.section.justify] - e[this.section.justify], n = this._prevOffset - t;
8143
+ n && this.el.animate({ transform: [`translateX(${n}px)`, "none"] }, {
8144
+ ...this.flow.transformTiming,
8145
+ composite: "accumulate"
8146
+ });
8147
+ }
8148
+ }, Vc = String.raw;
8149
+ (() => {
8150
+ try {
8151
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
8152
+ } catch {
8153
+ return !1;
8154
+ }
8155
+ return !0;
8156
+ })(), typeof CSS < "u" && CSS.supports && CSS.supports("line-height", "mod(1,1)"), typeof matchMedia < "u" && matchMedia("(prefers-reduced-motion: reduce)");
8157
+ var Hc = "--_number-flow-d-opacity", Uc = "--_number-flow-d-width", Wc = "--_number-flow-dx", Gc = "--_number-flow-d";
8158
+ (() => {
8159
+ try {
8160
+ return CSS.registerProperty({
8161
+ name: Hc,
8162
+ syntax: "<number>",
8163
+ inherits: !1,
8164
+ initialValue: "0"
8165
+ }), CSS.registerProperty({
8166
+ name: Wc,
8167
+ syntax: "<length>",
8168
+ inherits: !0,
8169
+ initialValue: "0px"
8170
+ }), CSS.registerProperty({
8171
+ name: Uc,
8172
+ syntax: "<number>",
8173
+ inherits: !1,
8174
+ initialValue: "0"
8175
+ }), CSS.registerProperty({
8176
+ name: Gc,
8177
+ syntax: "<number>",
8178
+ inherits: !0,
8179
+ initialValue: "0"
8180
+ }), !0;
8181
+ } catch {
8182
+ return !1;
8183
+ }
8184
+ })();
8185
+ var Kc = "round(nearest, calc(var(--number-flow-mask-height, 0.25em) / 2), 1px)", qc = `calc(${Kc} * 2)`, Jc = "var(--number-flow-mask-width, 0.5em)", Yc = `calc(${Jc} / var(--scale-x))`, Xc = "#000 0, transparent 71%", Zc = Vc`:host{display:inline-block;direction:ltr;white-space:nowrap;isolation:isolate;line-height:1}.number,.number__inner{display:inline-block;transform-origin:left top}:host([data-will-change]) :is(.number,.number__inner,.section,.digit,.digit__num,.symbol){will-change:transform}.number{--scale-x:calc(1 + var(${Uc}) / var(--width));transform:translateX(var(${Wc})) scaleX(var(--scale-x));margin:0 calc(-1 * ${Jc});position:relative;-webkit-mask-image:linear-gradient(to right,transparent 0,#000 ${Yc},#000 calc(100% - ${Yc}),transparent ),linear-gradient(to bottom,transparent 0,#000 ${qc},#000 calc(100% - ${qc}),transparent 100% ),radial-gradient(at bottom right,${Xc}),radial-gradient(at bottom left,${Xc}),radial-gradient(at top left,${Xc}),radial-gradient(at top right,${Xc});-webkit-mask-size:100% calc(100% - ${qc} * 2),calc(100% - ${Yc} * 2) 100%,${Yc} ${qc},${Yc} ${qc},${Yc} ${qc},${Yc} ${qc};-webkit-mask-position:center,center,top left,top right,bottom right,bottom left;-webkit-mask-repeat:no-repeat}.number__inner{padding:${Kc} ${Jc};transform:scaleX(calc(1 / var(--scale-x))) translateX(calc(-1 * var(${Wc})))}:host > :not(.number){z-index:5}.section,.symbol{display:inline-block;position:relative;isolation:isolate}.section::after{content:'\200b';display:inline-block}.section--justify-left{transform-origin:center left}.section--justify-right{transform-origin:center right}.section > [inert],.symbol > [inert]{margin:0 !important;position:absolute !important;z-index:-1}.digit{display:inline-block;position:relative;--c:var(--current) + var(${Gc})}.digit__num,.number .section::after{padding:${Kc} 0}.digit__num{display:inline-block;--offset-raw:mod(var(--length) + var(--n) - mod(var(--c),var(--length)),var(--length));--offset:calc( var(--offset-raw) - var(--length) * round(down,var(--offset-raw) / (var(--length) / 2),1) );--y:clamp(-100%,var(--offset) * 100%,100%);transform:translateY(var(--y))}.digit__num[inert]{position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(var(--y))}.digit:not(.is-spinning) .digit__num[inert]{display:none}.symbol__value{display:inline-block;mix-blend-mode:plus-lighter;white-space:pre}.section--justify-left .symbol > [inert]{left:0}.section--justify-right .symbol > [inert]{right:0}.animate-presence{opacity:calc(1 + var(${Hc}))}`, Qc = Vc`:host{display:inline-block;direction:ltr;white-space:nowrap;line-height:1}span{display:inline-block}:host([data-will-change]) span{will-change:transform}.number,.digit{padding:${Kc} 0}.symbol{white-space:pre}`, $c = (e = "") => Vc`:where(number-flow${e}){line-height:1}number-flow${e} > span{font-kerning:none;display:inline-block;padding:${qc} 0}`, el = (e) => [
8186
+ Qc,
8187
+ $c(e),
8188
+ Zc
8189
+ ], tl = Symbol(), nl = [
8190
+ "batched",
8191
+ "trend",
8192
+ "plugins",
8193
+ "animated",
8194
+ "transformTiming",
8195
+ "spinTiming",
8196
+ "opacityTiming",
8197
+ "respectMotionPreference",
8198
+ "nonce",
8199
+ "data-will-change",
8200
+ "digits",
8201
+ "innerHTML",
8202
+ "data"
8203
+ ], rl = /* @__PURE__ */ g({
8204
+ inheritAttrs: !1,
8205
+ __name: "index",
8206
+ props: {
8207
+ transformTiming: { default: () => Mc.defaultProps.transformTiming },
8208
+ spinTiming: { default: () => Mc.defaultProps.spinTiming },
8209
+ opacityTiming: { default: () => Mc.defaultProps.opacityTiming },
8210
+ animated: {
8211
+ type: Boolean,
8212
+ default: () => Mc.defaultProps.animated
8213
+ },
8214
+ respectMotionPreference: {
8215
+ type: Boolean,
8216
+ default: () => Mc.defaultProps.respectMotionPreference
8217
+ },
8218
+ trend: {
8219
+ type: [Number, Function],
8220
+ default: () => Mc.defaultProps.trend
8221
+ },
8222
+ plugins: { default: () => Mc.defaultProps.plugins },
8223
+ digits: { default: () => Mc.defaultProps.digits },
8224
+ locales: {},
8225
+ format: {},
8226
+ value: {},
8227
+ prefix: {},
8228
+ suffix: {},
8229
+ nonce: {},
8230
+ willChange: {
8231
+ type: Boolean,
8232
+ default: !1
8233
+ }
8234
+ },
8235
+ emits: ["animationsstart", "animationsfinish"],
8236
+ setup(e, { expose: t, emit: n }) {
8237
+ let r = I();
8238
+ t({ el: r });
8239
+ let i = n, a = c(() => new Intl.NumberFormat(e.locales, e.format)), o = c(() => Ac(e.value, a.value, e.prefix, e.suffix)), s = S(tl, void 0);
8240
+ return s?.(r, o), (e, t) => (F(), d("number-flow-vue", T({
8241
+ ref_key: "el",
8242
+ ref: r
8243
+ }, e.$attrs, {
8244
+ batched: !!B(s),
8245
+ trend: e.trend,
8246
+ plugins: e.plugins,
8247
+ animated: e.animated,
8248
+ transformTiming: e.transformTiming,
8249
+ spinTiming: e.spinTiming,
8250
+ opacityTiming: e.opacityTiming,
8251
+ respectMotionPreference: e.respectMotionPreference,
8252
+ nonce: e.nonce,
8253
+ "data-will-change": e.willChange ? "" : void 0,
8254
+ digits: e.digits,
8255
+ innerHTML: B(void 0),
8256
+ "data-allow-mismatch": "",
8257
+ onAnimationsstart: t[0] ||= (e) => i("animationsstart"),
8258
+ onAnimationsfinish: t[1] ||= (e) => i("animationsfinish"),
8259
+ data: o.value
8260
+ }), null, 16, nl));
8261
+ }
8262
+ });
8263
+ el("-vue"), Oc("number-flow-vue", Mc);
8264
+ //#endregion
8265
+ //#region src/components/PreCashier/component.vue?vue&type=script&setup=true&lang.ts
8266
+ var il = { class: "payLayerFrame" }, al = { class: "payLeft" }, ol = { class: "userBox" }, sl = { class: "userInfo" }, cl = { class: "userAvatar" }, ll = ["src"], ul = { class: "userLogin" }, dl = { class: "userState" }, fl = { class: "userLoginName" }, pl = {
7773
8267
  key: 0,
7774
8268
  class: "userPay",
7775
8269
  href: "https://www.le.com/user/vip",
7776
8270
  target: "_blank"
7777
- }, yc = { class: "userTip" }, bc = { class: "payPackage" }, xc = { class: "packageTabContainer" }, Sc = { class: "payTime" }, Cc = { class: "payPrice" }, wc = { class: "payOldPrice" }, Tc = {
8271
+ }, ml = { class: "userTip" }, hl = { class: "payPackage" }, gl = { class: "packageTabContainer" }, _l = { class: "payTime" }, vl = { class: "payPrice" }, yl = {
7778
8272
  key: 0,
7779
- class: "payIcon"
7780
- }, Ec = {
8273
+ class: "payOldPrice"
8274
+ }, bl = {
7781
8275
  key: 1,
8276
+ class: "payIcon"
8277
+ }, xl = {
8278
+ key: 2,
7782
8279
  class: "payPoint"
7783
- }, Dc = {
8280
+ }, Sl = {
7784
8281
  key: 0,
7785
8282
  class: "payGoodsDetailIntro"
7786
- }, Oc = {
8283
+ }, Cl = {
7787
8284
  key: 1,
7788
8285
  class: "payGoodsDetailIntro2"
7789
- }, kc = { key: 0 }, Ac = { key: 1 }, jc = { class: "payRight" }, Mc = { class: "payDetail" }, Nc = { class: "priceBox" }, Pc = { class: "price" }, Fc = { class: "qrcodeWp" }, Ic = ["src"], Lc = { class: "wxalibox" }, Rc = {
8286
+ }, wl = { key: 0 }, Tl = { key: 1 }, El = { class: "payRight" }, Dl = { class: "payDetail" }, Ol = { class: "priceBox" }, kl = { class: "price" }, Al = { class: "priceTipContent" }, jl = { class: "detail" }, Ml = { class: "o" }, Nl = { class: "c" }, Pl = {
8287
+ key: 0,
8288
+ class: "detail"
8289
+ }, Fl = {
8290
+ class: "o",
8291
+ style: { "text-decoration": "none" }
8292
+ }, Il = { class: "couponWp" }, Ll = {
8293
+ key: 0,
8294
+ t: "1787640783271",
8295
+ class: "icon",
8296
+ viewBox: "0 0 1024 1024",
8297
+ version: "1.1",
8298
+ xmlns: "http://www.w3.org/2000/svg",
8299
+ "p-id": "2508",
8300
+ width: "200",
8301
+ height: "200"
8302
+ }, Rl = { class: "couponContent" }, zl = ["onClick"], Bl = { class: "expire" }, Vl = ["onClick"], Hl = { key: 1 }, Ul = { class: "qrcodeWp" }, Wl = ["src"], Gl = {
8303
+ key: 0,
8304
+ class: "mask"
8305
+ }, Kl = { class: "wxalibox" }, ql = {
7790
8306
  key: 0,
7791
8307
  class: "payAli"
7792
- }, zc = {
8308
+ }, Jl = {
7793
8309
  key: 1,
7794
8310
  class: "payWechat"
7795
- }, Bc = { class: "explainBoxR" }, Vc = {
8311
+ }, Yl = { class: "explainBoxR" }, Xl = {
7796
8312
  key: 1,
7797
8313
  href: "https://minisite.letv.com/msite/leVipAgreement/index.shtml",
7798
8314
  target: "_blank",
7799
8315
  class: "dapingvipXY"
7800
- }, Hc = /*#__PURE__*/ Ae(/* @__PURE__ */ g({
7801
- __name: "index",
7802
- setup(e) {
7803
- let n = I(!1), r = I({}), a = I({}), o = I(null), s = I([]), h = I(1), g = I(null), _ = I(""), v = c(() => o.value?.isvip ? o.value.vipType : 0), y = () => {
7804
- window.LEPass.openLoginDialog();
7805
- }, b = async (e) => {
7806
- let t = await _e.get("/website/api/v1/packages", {
7807
- params: {
7808
- platform: "pc",
7809
- member_pos: e === 9 ? "vip9_page" : ""
7810
- },
7811
- withCredentials: !0
7812
- });
7813
- console.log(t), s.value = t.data.data.packages, g.value = t.data.data.packages[0];
7814
- }, x = async () => {
8316
+ }, Zl = /*#__PURE__*/ Ae(/* @__PURE__ */ g({
8317
+ __name: "component",
8318
+ props: {
8319
+ smallPackageList: {},
8320
+ bigPackageList: {},
8321
+ isLogin: { type: Boolean },
8322
+ outUserInfo: {},
8323
+ vipType: {}
8324
+ },
8325
+ emits: ["close"],
8326
+ setup(e, { emit: n }) {
8327
+ let r = e, a = I(r.outUserInfo), o = I({}), s = I(null), h = I([]), g = I(r.vipType || 1), _ = I(null), v = I(null), y = I(""), b = I(null), x = n, S = c(() => s.value?.isvip ? s.value.vipType : 0), C = c(() => g.value === 1 ? r.smallPackageList : r.bigPackageList), w = () => {
8328
+ window.LEPassNew.openLoginDialog();
8329
+ }, T = (e, t) => {
8330
+ v.value = e, t();
8331
+ }, E = async () => {
7815
8332
  let e = await t("https://d-api-m.le.com/yuanxian/member?platform=pc");
7816
- a.value = e.data, e.data[1] && e.data[9] ? o.value = e.data[1] : o.value = Object.values(e.data)[0];
7817
- }, S = async () => {
8333
+ o.value = e.data, e.data[1] && e.data[9] ? s.value = e.data[1] : s.value = Object.values(e.data)[0];
8334
+ }, O = async () => {
8335
+ let e = await _e.get("/website/api/v1/coupons?platform=pc", { params: {
8336
+ platform: "pc",
8337
+ status: 2,
8338
+ packageId: _.value?.packageId
8339
+ } });
8340
+ e.data.data?.length > 0 && (h.value = e.data.data, v.value = e.data.data[0]);
8341
+ }, k = async () => {
8342
+ if (!r.isLogin) {
8343
+ y.value = await cc.toDataURL("https://www.le.com", { margin: 2 });
8344
+ return;
8345
+ }
7818
8346
  let e = await _e.get("/website/api/v1/orders/preorder", { params: {
7819
8347
  platform: "pc",
7820
- packageId: g.value?.packageId,
7821
- packageGroupId: g.value?.group_id,
7822
- packageType: g.value?.packageType,
7823
- couponCode: ""
8348
+ packageId: _.value?.packageId,
8349
+ packageGroupId: _.value?.group_id,
8350
+ packageType: _.value?.packageType,
8351
+ couponCode: v.value?.code
7824
8352
  } });
7825
- _.value = await cc.toDataURL(`https://mp-s.le.com${e.data.data.createOrderUrl}`, { margin: 2 });
8353
+ y.value = await cc.toDataURL(`https://mp-s.le.com${e.data.data.createOrderUrl}`, { margin: 2 });
7826
8354
  };
7827
- return N(() => {
7828
- let e = () => {
7829
- let e = window.LEPass.isLogin();
7830
- n.value = e, r.value = window.LEPass.getUserInfo(), e && x(), b(1);
7831
- };
7832
- if (window.LEPass) console.log("else"), e();
7833
- else {
7834
- let t = document.createElement("script");
7835
- t.src = "https://static2.scloud.letv.com/lejs/sdk/passport_leui.js", document.body.appendChild(t), t.onload = () => {
7836
- e();
7837
- };
7838
- }
7839
- }), V(h, (e) => {
7840
- b(e);
8355
+ return N(async () => {
8356
+ y.value = await cc.toDataURL("https://www.le.com", { margin: 2 }), _.value = C.value[0], window.LEPass.onStatusChange(async (e) => {
8357
+ e === "signIn" && (isLogin.value = !0, a.value = window.LEPass.getUserInfo(), await E(), await O(), k());
8358
+ });
7841
8359
  }), V(() => g.value, (e) => {
7842
- S();
7843
- }), (e, t) => (F(), d("div", null, [t[19] ||= f("div", { class: "payLayerMask" }, null, -1), f("div", lc, [
7844
- t[17] ||= f("div", { class: "close" }, null, -1),
7845
- t[18] ||= f("div", { class: "exchange" }, [f("a", {
8360
+ e === 1 ? _.value = r.smallPackageList[0] : _.value = r.bigPackageList[0], b.value.slideTo(1);
8361
+ }), V(() => _.value, async (e) => {
8362
+ await O(), k();
8363
+ }), (t, n) => (F(), d("div", null, [n[24] ||= f("div", { class: "payLayerMask" }, null, -1), f("div", il, [
8364
+ f("div", {
8365
+ class: "payLayerClose",
8366
+ onClick: n[0] ||= (e) => x("close")
8367
+ }),
8368
+ n[23] ||= f("div", { class: "exchange" }, [f("a", {
7846
8369
  href: "https://ibuy.le.com/v2/exchange/index.html",
7847
8370
  target: "_blank"
7848
8371
  }, "兑换会员")], -1),
7849
- f("div", uc, [f("div", dc, [f("div", fc, [f("span", pc, [f("img", {
7850
- src: r.value.headicon_200 || "https://i0.letvimg.com/img/201207/30/tx200.png",
8372
+ f("div", al, [f("div", ol, [f("div", sl, [f("span", cl, [f("img", {
8373
+ src: a.value?.headicon_200 || "https://i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon7.png",
7851
8374
  alt: ""
7852
- }, null, 8, mc), f("i", { class: D(["iconUserVip", v.value ? "vip" : o.value?.endtime ? "expire" : ""]) }, null, 2)]), f("div", hc, [f("div", gc, [f("span", _c, R(r.value.nickname), 1), o.value?.isSubscribe === 2 ? (F(), d("a", vc, "续费管理")) : u("", !0)]), f("span", yc, R(v.value ? `${o.value?.packageName} ${o.value?.endtime.split(" ")[0]}到期` : o.value?.endtime ? "视频会员服务已过期,续费立享会员权益" : "开通视频会员享会员权益,大片热剧免费看"), 1)])]), f("span", {
8375
+ }, null, 8, ll), f("i", { class: D(["iconUserVip", S.value ? "vip" : s.value?.endtime ? "expire" : ""]) }, null, 2)]), f("div", ul, [f("div", dl, [f("span", fl, R(a.value?.nickname || "注册/登录"), 1), s.value?.isSubscribe === 2 ? (F(), d("a", pl, "续费管理")) : u("", !0)]), f("span", ml, R(e.isLogin ? S.value ? `${s.value?.packageName} ${s.value?.endtime.split(" ")[0]}到期` : s.value?.endtime ? "视频会员服务已过期,续费立享会员权益" : "开通视频会员享会员权益,大片热剧免费看" : "请登录后购买,享受会员权益"), 1)])]), f("span", {
7853
8376
  class: "userChange",
7854
8377
  "data-bk": "change",
7855
- onClick: y
7856
- }, "切换账号")]), f("div", bc, [f("div", { class: D(`packageTabTitle ${h.value === 9 ? "reverse" : ""}`) }, [f("div", {
8378
+ onClick: w
8379
+ }, R(e.isLogin ? "切换账号" : "立即登录"), 1)]), f("div", hl, [f("div", { class: D(`packageTabTitle ${g.value === 9 ? "reverse" : ""}`) }, [f("div", {
7857
8380
  class: "tab tab1 tabcur",
7858
8381
  "data-viptype": "1",
7859
- onClick: t[0] ||= (e) => h.value = 1
7860
- }, [...t[2] ||= [f("span", null, "乐视视频会员", -1), f("i", null, "电脑,iPad ,手机均可使用", -1)]]), f("div", {
8382
+ onClick: n[1] ||= (e) => g.value = 1
8383
+ }, [...n[4] ||= [f("span", null, "乐视视频会员", -1), f("i", null, "电脑,iPad ,手机均可使用", -1)]]), f("div", {
7861
8384
  class: "tab tab1",
7862
8385
  "data-viptype": "9",
7863
- onClick: t[1] ||= (e) => h.value = 9
7864
- }, [...t[3] ||= [f("span", null, "乐视频会员(电视端)", -1), f("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), f("div", xc, [
8386
+ onClick: n[2] ||= (e) => g.value = 9
8387
+ }, [...n[5] ||= [f("span", null, "乐视频会员(电视端)", -1), f("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), f("div", gl, [
7865
8388
  m(B(Wn), {
7866
8389
  modules: [B(Jn)],
7867
8390
  "slides-per-view": 3,
@@ -7871,102 +8394,193 @@ var ic = /* @__PURE__ */ g({
7871
8394
  navigation: {
7872
8395
  prevEl: "#precashier_prev",
7873
8396
  nextEl: "#precashier_next"
7874
- }
8397
+ },
8398
+ onSwiper: n[3] ||= (e) => b.value = e
7875
8399
  }, {
7876
- default: H(() => [(F(!0), d(i, null, ae(s.value, (e) => (F(), l(B(Gn), { onClick: (t) => g.value = e }, {
7877
- default: H(() => [f("div", { class: D(`packItem ${g.value?.packageId === e.packageId ? "active" : ""} ${e.giftLedou ? "withledou" : ""}`) }, [
7878
- f("div", Sc, R(e.packageName), 1),
7879
- f("div", Cc, [t[4] ||= f("span", { style: { "margin-right": "2px" } }, "¥", -1), p(R(e.price), 1)]),
7880
- f("div", wc, "¥" + R(e.originalPrice), 1),
7881
- e.customFields.iconlong ? (F(), d("div", Tc, R(e.customFields.iconlong), 1)) : u("", !0),
7882
- e.customFields.point ? (F(), d("div", Ec, R(e.customFields.point), 1)) : u("", !0)
8400
+ default: U(() => [(F(!0), d(i, null, oe(C.value, (e) => (F(), l(B(Gn), { onClick: (t) => _.value = e }, {
8401
+ default: U(() => [f("div", { class: D(`packItem ${_.value?.packageId === e.packageId ? "active" : ""} ${e.giftLedou ? "withledou" : ""}`) }, [
8402
+ f("div", _l, R(e.packageName), 1),
8403
+ f("div", vl, [n[6] ||= f("span", { style: { "margin-right": "2px" } }, "¥", -1), p(R(e.price), 1)]),
8404
+ e.originalPrice ? (F(), d("div", yl, "¥" + R(e.originalPrice), 1)) : u("", !0),
8405
+ e.customFields.iconlong ? (F(), d("div", bl, R(e.customFields.iconlong), 1)) : u("", !0),
8406
+ e.customFields.point ? (F(), d("div", xl, R(e.customFields.point), 1)) : u("", !0)
7883
8407
  ], 2)]),
7884
8408
  _: 2
7885
8409
  }, 1032, ["onClick"]))), 256))]),
7886
8410
  _: 1
7887
8411
  }, 8, ["modules"]),
7888
- t[7] ||= f("div", {
8412
+ n[9] ||= f("div", {
7889
8413
  class: "navigation",
7890
8414
  id: "precashier_prev"
7891
8415
  }, null, -1),
7892
- t[8] ||= f("div", {
8416
+ n[10] ||= f("div", {
7893
8417
  class: "navigation next",
7894
8418
  id: "precashier_next"
7895
8419
  }, null, -1),
7896
- g.value?.giftLedou ? (F(), d("div", Dc, [
7897
- t[5] ||= f("img", {
7898
- src: "//i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon1.png",
7899
- width: "14",
7900
- height: "14"
7901
- }, null, -1),
7902
- f("span", null, "送 " + R(g.value.giftLedou) + " 乐豆", 1),
7903
- t[6] ||= f("img", { src: "https://static.letvcdn.com/lc06_lemf/202310/25/11/14/icon_wenhao.svg" }, null, -1)
7904
- ])) : u("", !0),
7905
- g.value?.customFields.remark1 || g.value?.customFields.remark2 ? (F(), d("div", Oc, [g.value?.customFields.remark1 ? (F(), d("div", kc, R(g.value?.customFields.remark1), 1)) : u("", !0), g.value?.customFields.remark2 ? (F(), d("div", Ac, R(g.value?.customFields.remark2), 1)) : u("", !0)])) : u("", !0),
7906
- t[9] ||= f("div", { class: "explainBox" }, [f("div", null, "本页展示的套餐价为新用户专享价或刊例价,划线价为建议零售价"), f("div", null, "如有问题可以联系在线客服:微信公众号“乐视影视会员”【9点-18点】")], -1)
7907
- ])])]),
7908
- f("div", jc, [
7909
- f("div", Mc, [f("div", Nc, [f("div", Pc, "¥" + R(g.value?.price), 1), m(B(tc), null, {
7910
- default: H(() => [m(B(sc), {
7911
- as: "div",
7912
- class: "priceTip"
7913
- }, {
7914
- default: H(() => [...t[10] ||= [
7915
- f("span", null, "已优惠", -1),
7916
- f("span", null, "¥999", -1),
7917
- f("i", { class: "j-priceTipIcon" }, null, -1)
7918
- ]]),
7919
- _: 1
8420
+ _.value?.giftLedou ? (F(), d("div", Sl, [n[8] ||= f("img", {
8421
+ src: "//i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon1.png",
8422
+ width: "14",
8423
+ height: "14"
8424
+ }, null, -1), f("span", null, [p(" 送 " + R(_.value.giftLedou) + " 乐豆 ", 1), m(B(tc), { openDelay: 0 }, {
8425
+ default: U(() => [m(B(sc), {
8426
+ as: "img",
8427
+ src: "https://static.letvcdn.com/lc06_lemf/202310/25/11/14/icon_wenhao.svg"
7920
8428
  }), m(B(oc), null, {
7921
- default: H(() => [m(B(ac), { class: "highZContent" }, {
7922
- default: H(() => [m(B(Qs), { class: "arrow" }), t[11] ||= p(" jjsdaisdiajdjaosjdoiajdiosaojdioa ", -1)]),
8429
+ default: U(() => [m(B(ac), {
8430
+ sideOffset: 8,
8431
+ class: "highZContent"
8432
+ }, {
8433
+ default: U(() => [m(B(Qs), { class: "arrow priceTipArrow" }), n[7] ||= f("div", { class: "ledouTipContent" }, [f("div", { class: "title" }, "乐豆说明"), f("div", { class: "content" }, [
8434
+ p("乐豆可直接用于支付乐视视频中点播内容,乐豆可通过"),
8435
+ f("span", null, "购买会员"),
8436
+ p("赠送获得或"),
8437
+ f("span", null, "充值"),
8438
+ p("等其他方式获得")
8439
+ ])], -1)]),
7923
8440
  _: 1
7924
8441
  })]),
7925
8442
  _: 1
7926
8443
  })]),
7927
8444
  _: 1
7928
- })]), m(B(Us), null, {
7929
- default: H(() => [
7930
- m(B(Zs), null, {
7931
- default: H(() => [...t[12] ||= [p("添加代金券", -1)]]),
8445
+ })])])) : u("", !0),
8446
+ _.value?.customFields.remark1 || _.value?.customFields.remark2 ? (F(), d("div", Cl, [_.value?.customFields.remark1 ? (F(), d("div", wl, R(_.value?.customFields.remark1), 1)) : u("", !0), _.value?.customFields.remark2 ? (F(), d("div", Tl, R(_.value?.customFields.remark2), 1)) : u("", !0)])) : u("", !0),
8447
+ n[11] ||= f("div", { class: "explainBox" }, [f("div", null, "本页展示的套餐价为新用户专享价或刊例价,划线价为建议零售价"), f("div", null, "如有问题可以联系在线客服:微信公众号“乐视影视会员”【9点-18点】")], -1)
8448
+ ])])]),
8449
+ f("div", El, [
8450
+ f("div", Dl, [f("div", Ol, [
8451
+ f("div", kl, [n[12] ||= p(" ¥ ", -1), m(B(rl), { value: _.value?.price - (v.value?.amount || 0) || 0 }, null, 8, ["value"])]),
8452
+ _.value?.originalPrice && _.value?.price && _.value?.price !== _.value?.originalPrice || v.value?.amount ? (F(), l(B(tc), {
8453
+ key: 0,
8454
+ openDelay: 0
8455
+ }, {
8456
+ default: U(() => [m(B(sc), {
8457
+ as: "div",
8458
+ class: "priceTip"
8459
+ }, {
8460
+ default: U(() => [n[14] ||= f("span", null, "已优惠", -1), f("div", null, [f("span", null, " ¥ " + R(_.value?.originalPrice ? _.value?.originalPrice - _.value?.price + (v.value?.amount || 0) : v.value?.amount || 0), 1), n[13] ||= f("i", { class: "priceTipIcon" }, null, -1)])]),
7932
8461
  _: 1
7933
- }),
7934
- m(B(Ws)),
7935
- m(B(Xs), null, {
7936
- default: H(() => [m(B(Ys), { class: "highZContent" }, {
7937
- default: H(() => [t[13] ||= p(" 1234 ", -1), m(B(Gs))]),
8462
+ }), m(B(oc), null, {
8463
+ default: U(() => [m(B(ac), {
8464
+ sideOffset: 4,
8465
+ class: "highZContent"
8466
+ }, {
8467
+ default: U(() => [m(B(Qs), { class: "arrow priceTipArrow" }), f("div", Al, [
8468
+ n[15] ||= f("div", { class: "tipTitle1" }, "支付明细", -1),
8469
+ n[16] ||= f("div", { class: "tipTitle2" }, "会员套餐", -1),
8470
+ f("div", jl, [f("div", null, R(_.value.name) + " " + R(_.value.packageName), 1), f("div", null, [f("span", Ml, "¥" + R(_.value.originalPrice), 1), f("span", Nl, "¥" + R(_.value.price), 1)])]),
8471
+ v.value ? (F(), d("div", Pl, [f("div", null, R(v.value.name), 1), f("div", null, [f("span", Fl, "-¥" + R(v.value.amount), 1)])])) : u("", !0)
8472
+ ])]),
7938
8473
  _: 1
7939
8474
  })]),
7940
8475
  _: 1
7941
- })
7942
- ]),
7943
- _: 1
7944
- })]),
7945
- f("div", Fc, [f("img", {
7946
- class: "qrcode",
7947
- src: _.value
7948
- }, null, 8, Ic), t[14] ||= f("img", {
7949
- class: "icon",
7950
- src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
7951
- alt: ""
7952
- }, null, -1)]),
7953
- f("div", Lc, [
7954
- !g.value?.payChannel || g.value?.payChannel?.includes("1") ? (F(), d("i", Rc)) : u("", !0),
7955
- !g.value?.payChannel || g.value?.payChannel?.includes("2") ? (F(), d("i", zc)) : u("", !0),
7956
- p(" " + R(g.value?.customFields.QRtext || "请扫码完成支付"), 1)
8476
+ })]),
8477
+ _: 1
8478
+ })) : u("", !0),
8479
+ f("div", Il, [n[18] ||= f("div", null, "代金券", -1), h.value.length > 0 ? (F(), l(B(Ws), { key: 0 }, {
8480
+ default: U(({ open: e, close: t }) => [
8481
+ m(B(Zs), {
8482
+ disabled: h.value.length < 1,
8483
+ as: "div",
8484
+ class: D(["currentCoupon", e ? "reverse" : ""])
8485
+ }, {
8486
+ default: U(() => [p(R(v.value?.name || "不使用代金券") + " ", 1), h.value.length > 0 ? (F(), d("svg", Ll, [...n[17] ||= [f("path", {
8487
+ d: "M512.146286 619.52L245.296762 352.792381 193.584762 404.48l318.585905 318.415238 318.268952-318.415238-51.736381-51.687619z",
8488
+ "p-id": "2509"
8489
+ }, null, -1)]])) : u("", !0)]),
8490
+ _: 1
8491
+ }, 8, ["disabled", "class"]),
8492
+ m(B(Gs)),
8493
+ m(B(Xs), null, {
8494
+ default: U(() => [m(B(Ys), {
8495
+ sideOffset: 18,
8496
+ align: "end",
8497
+ class: "highZContent"
8498
+ }, {
8499
+ default: U(() => [f("div", Rl, [(F(!0), d(i, null, oe(h.value, (e) => (F(), d("div", {
8500
+ class: D(["couponItem", e.code === v.value?.code ? "active" : ""]),
8501
+ key: e.code,
8502
+ onClick: (n) => T(e, t)
8503
+ }, [f("div", null, R(e.name), 1), f("div", Bl, R(e.validEndTime.slice(0, 10)) + "前", 1)], 10, zl))), 128)), f("div", {
8504
+ class: D(["couponItem", !v.value && "active"]),
8505
+ style: { "justify-content": "center" },
8506
+ onClick: (e) => T(null, t)
8507
+ }, "不使用代金券", 10, Vl)])]),
8508
+ _: 2
8509
+ }, 1024)]),
8510
+ _: 2
8511
+ }, 1024)
8512
+ ]),
8513
+ _: 1
8514
+ })) : (F(), d("div", Hl, "无可用代金券"))])
8515
+ ])]),
8516
+ f("div", Ul, [
8517
+ f("img", {
8518
+ class: "qrcode",
8519
+ src: y.value || ""
8520
+ }, null, 8, Wl),
8521
+ n[20] ||= f("img", {
8522
+ class: "icon",
8523
+ src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
8524
+ alt: ""
8525
+ }, null, -1),
8526
+ e.isLogin ? u("", !0) : (F(), d("div", Gl, [...n[19] ||= [f("svg", {
8527
+ viewBox: "0 0 1024 1024",
8528
+ version: "1.1",
8529
+ xmlns: "http://www.w3.org/2000/svg",
8530
+ "p-id": "5069",
8531
+ width: "200",
8532
+ height: "200"
8533
+ }, [f("path", {
8534
+ d: "M512 1024c-281.6 0-512-230.4-512-512s230.4-512 512-512 512 230.4 512 512-230.4 512-512 512z m0-938.666667c-234.666667 0-426.666667 192-426.666667 426.666667s192 426.666667 426.666667 426.666667 426.666667-192 426.666667-426.666667-192-426.666667-426.666667-426.666667z m0 725.333334c-25.6 0-42.666667-17.066667-42.666667-42.666667v-298.666667c0-25.6 17.066667-42.666667 42.666667-42.666666s42.666667 17.066667 42.666667 42.666666v298.666667c0 21.333333-17.066667 42.666667-42.666667 42.666667z m0-567.466667c25.6 0 46.933333 21.333333 46.933333 46.933333s-21.333333 46.933333-46.933333 46.933334-46.933333-21.333333-46.933333-46.933334 21.333333-46.933333 46.933333-46.933333z",
8535
+ fill: "#ffffff",
8536
+ "p-id": "5070"
8537
+ })], -1), f("span", null, "请先登录", -1)]]))
8538
+ ]),
8539
+ f("div", Kl, [
8540
+ !_.value?.payChannel || _.value?.payChannel?.includes("1") ? (F(), d("i", ql)) : u("", !0),
8541
+ !_.value?.payChannel || _.value?.payChannel?.includes("2") ? (F(), d("i", Jl)) : u("", !0),
8542
+ p(" " + R(_.value?.customFields.QRtext || "请扫码完成支付"), 1)
7957
8543
  ]),
7958
- f("div", Bc, [h.value === 1 ? (F(), d(i, { key: 0 }, [t[15] ||= f("a", {
8544
+ f("div", Yl, [g.value === 1 ? (F(), d(i, { key: 0 }, [n[21] ||= f("a", {
7959
8545
  href: "https://aboutus.le.com/user/vip.html",
7960
8546
  target: "_blank",
7961
8547
  class: "vipXY"
7962
- }, "《会员服务协议》", -1), t[16] ||= f("a", {
8548
+ }, "《会员服务协议》", -1), n[22] ||= f("a", {
7963
8549
  href: "https://aboutus.le.com/user/auto.html",
7964
8550
  target: "_blank",
7965
8551
  class: "xufeiXY"
7966
- }, "《自动续费服务协议》", -1)], 64)) : u("", !0), h.value === 9 ? (F(), d("a", Vc, "《乐视频会员服务协议》")) : u("", !0)])
8552
+ }, "《自动续费服务协议》", -1)], 64)) : u("", !0), g.value === 9 ? (F(), d("a", Xl, "《乐视频会员服务协议》")) : u("", !0)])
7967
8553
  ])
7968
8554
  ])]));
7969
8555
  }
7970
- }), [["__scopeId", "data-v-078608f0"]]);
8556
+ }), [["__scopeId", "data-v-ad60d711"]]), Ql = !1, $l = async (e) => {
8557
+ if (Ql) return;
8558
+ Ql = !0;
8559
+ let t = document.createElement("div");
8560
+ document.body.appendChild(t);
8561
+ let n = [], r = [], i = !1, a = null, o = () => {
8562
+ ae(null, t), t.remove(), Ql = !1;
8563
+ }, [s, c] = await Promise.all([_e.get("/website/api/v1/packages", {
8564
+ params: {
8565
+ platform: "pc",
8566
+ member_pos: ""
8567
+ },
8568
+ withCredentials: !0
8569
+ }), _e.get("/website/api/v1/packages", {
8570
+ params: {
8571
+ platform: "pc",
8572
+ member_pos: "vip9_page"
8573
+ },
8574
+ withCredentials: !0
8575
+ })]);
8576
+ n = s.data.data.packages, r = c.data.data.packages, i = window.LEPass.isLogin(), a = window.LEPass.getUserInfo(), ae(x(Zl, {
8577
+ ...e,
8578
+ smallPackageList: n,
8579
+ bigPackageList: r,
8580
+ isLogin: i,
8581
+ outUserInfo: a,
8582
+ onClose: o
8583
+ }), t);
8584
+ };
7971
8585
  //#endregion
7972
- export { je as ActivitySwitcher, Hc as PreCashier };
8586
+ export { je as ActivitySwitcher, $l as openCashier };