@leshi/silicon 0.0.10 → 0.0.12

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,14 +21,19 @@ 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
+ },
25
28
  setup(n) {
26
29
  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) {
30
+ let n = [];
31
+ n = r.dataList ? r.dataList : (await t("https://static-api.letv.com/blockNew/get?id=2005992")).data.blockContent;
32
+ let i = n.filter((e) => e.playPlatform[420024]);
33
+ if (i.length > 0 && i.filter((e) => e.title !== "首页").length > 0 && !e) {
29
34
  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);
35
+ o.value = i.sort((e, t) => e.priority > t.priority ? -1 : 1);
36
+ let t = i.find((e) => e.title === r.title);
32
37
  t && (s.value = t.shorDesc.split(";")[0], c.value = t.shorDesc.split(";")[1]), a.value = !0, e <= 5 && (await E(), requestAnimationFrame(() => {
33
38
  window.scrollTo(0, 0), document.documentElement.scrollTop = 0, document.body.scrollTop = 0;
34
39
  }));
@@ -43,7 +48,7 @@ var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDe
43
48
  backgroundColor: s.value,
44
49
  color: c.value
45
50
  })
46
- }, [(F(!0), d(i, null, ae(o.value, (e) => (F(), d("div", {
51
+ }, [(F(!0), d(i, null, oe(o.value, (e) => (F(), d("div", {
47
52
  class: D(e.title === r.title ? "active" : ""),
48
53
  key: e.id,
49
54
  onClick: (t) => f(e.url)
@@ -53,7 +58,7 @@ var ve = Object.create, ye = Object.defineProperty, be = Object.getOwnPropertyDe
53
58
  let n = e.__vccOpts || e;
54
59
  for (let [e, r] of t) n[e] = r;
55
60
  return n;
56
- }, je = /*#__PURE__*/ Ae(ke, [["__scopeId", "data-v-617236da"]]);
61
+ }, je = /*#__PURE__*/ Ae(ke, [["__scopeId", "data-v-afe207bb"]]);
57
62
  //#endregion
58
63
  //#region node_modules/swiper/shared/utils.mjs
59
64
  function Me(e = "") {
@@ -90,7 +95,7 @@ function Re(e) {
90
95
  function ze(e) {
91
96
  return typeof HTMLElement < "u" && e instanceof HTMLElement || !!e && typeof e == "object" && (e.nodeType === 1 || e.nodeType === 11);
92
97
  }
93
- function W(e, ...t) {
98
+ function G(e, ...t) {
94
99
  let n = Object(e);
95
100
  for (let e = 0; e < t.length; e += 1) {
96
101
  let r = t[e];
@@ -100,7 +105,7 @@ function W(e, ...t) {
100
105
  let t = Object.getOwnPropertyDescriptor(i, e);
101
106
  if (!t || !t.enumerable) continue;
102
107
  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;
108
+ 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
109
  }
105
110
  }
106
111
  return n;
@@ -108,7 +113,7 @@ function W(e, ...t) {
108
113
  function Be(e, t, n) {
109
114
  e.style.setProperty(t, n);
110
115
  }
111
- function G(e, t = "") {
116
+ function K(e, t = "") {
112
117
  let n = [...e.children];
113
118
  return e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((e) => e.matches(t)) : n;
114
119
  }
@@ -171,7 +176,7 @@ function Qe(e, t = "") {
171
176
  //#endregion
172
177
  //#region node_modules/swiper/shared/update-swiper.mjs
173
178
  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) {
179
+ function q(e) {
175
180
  if (typeof e != "object" || !e) return !1;
176
181
  let t = e;
177
182
  return !!t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
@@ -184,7 +189,7 @@ function et(e, t) {
184
189
  ], r = e, i = t;
185
190
  return Object.keys(i).filter((e) => n.indexOf(e) < 0).forEach((e) => {
186
191
  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;
192
+ 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
193
  }), e;
189
194
  }
190
195
  function tt(e = {}) {
@@ -210,32 +215,32 @@ function at(e = "") {
210
215
  }
211
216
  function ot(e) {
212
217
  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);
218
+ c.includes("thumbs") && q(E) && E.swiper && !E.swiper.destroyed && q(D) && (!D.swiper || D.swiper.destroyed) && (v = !0);
214
219
  let O = g.controller, k = _.controller;
215
- c.includes("controller") && K(O) && O.control && K(k) && !k.control && (y = !0);
220
+ c.includes("controller") && q(O) && O.control && q(k) && !k.control && (y = !0);
216
221
  let A = g.pagination;
217
- c.includes("pagination") && K(A) && (A.el || i) && (_.pagination || _.pagination === !1) && d && !d.el && (b = !0);
222
+ c.includes("pagination") && q(A) && (A.el || i) && (_.pagination || _.pagination === !1) && d && !d.el && (b = !0);
218
223
  let j = g.scrollbar;
219
- c.includes("scrollbar") && K(j) && (j.el || r) && (_.scrollbar || _.scrollbar === !1) && p && !p.el && (x = !0);
224
+ c.includes("scrollbar") && q(j) && (j.el || r) && (_.scrollbar || _.scrollbar === !1) && p && !p.el && (x = !0);
220
225
  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);
226
+ c.includes("navigation") && q(M) && (M.prevEl || n) && (M.nextEl || t) && (_.navigation || _.navigation === !1) && f && !f.prevEl && !f.nextEl && (S = !0);
222
227
  let N = (e) => {
223
228
  let t = a[e];
224
229
  if (!t) return;
225
230
  t.destroy();
226
- let n = _[e], r = K(n) ? n : void 0;
231
+ let n = _[e], r = q(n) ? n : void 0;
227
232
  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
233
  };
229
234
  if (c.includes("loop") && a.isElement && (u.loop && !s.loop ? C = !0 : !u.loop && s.loop ? w = !0 : T = !0), l.forEach((e) => {
230
235
  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) {
236
+ 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;
237
+ }), 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
238
  if (a.isElement && (!i || typeof i == "string")) {
234
239
  let e = document.createElement("div");
235
240
  e.classList.add("swiper-pagination"), e.part.add("pagination"), a.el.appendChild(e), i = e;
236
241
  }
237
242
  let e = _.pagination;
238
- i && K(e) && (e.el = i), d.init(), d.render(), d.update();
243
+ i && q(e) && (e.el = i), d.init(), d.render(), d.update();
239
244
  }
240
245
  if (x && p) {
241
246
  if (a.isElement && (!r || typeof r == "string")) {
@@ -243,7 +248,7 @@ function ot(e) {
243
248
  e.classList.add("swiper-scrollbar"), e.part.add("scrollbar"), a.el.appendChild(e), r = e;
244
249
  }
245
250
  let e = _.scrollbar;
246
- r && K(e) && (e.el = r), p.init(), p.updateSize(), p.setTranslate();
251
+ r && q(e) && (e.el = r), p.init(), p.updateSize(), p.setTranslate();
247
252
  }
248
253
  if (S && f) {
249
254
  if (a.isElement) {
@@ -257,7 +262,7 @@ function ot(e) {
257
262
  }
258
263
  }
259
264
  let e = _.navigation;
260
- t && K(e) && (e.nextEl = t), n && K(e) && (e.prevEl = n), f.init(), f.update();
265
+ t && q(e) && (e.nextEl = t), n && q(e) && (e.prevEl = n), f.init(), f.update();
261
266
  }
262
267
  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
268
  }
@@ -380,7 +385,7 @@ function xt() {
380
385
  a && !o && s?.disable?.(), !a && o && s?.enable?.();
381
386
  });
382
387
  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);
388
+ _ && n && e.changeDirection(), G(e.params, u);
384
389
  let b = e.params.enabled, x = e.params.loop;
385
390
  Object.assign(e, {
386
391
  allowTouchMove: e.params.allowTouchMove,
@@ -898,11 +903,11 @@ function Jt(e, t) {
898
903
  let n = this, { params: r, slidesEl: i } = n;
899
904
  if (!r.loop || n.virtual && n.params.virtual?.enabled) return;
900
905
  let a = () => {
901
- G(i, `.${r.slideClass}, swiper-slide`).forEach((e, t) => {
906
+ K(i, `.${r.slideClass}, swiper-slide`).forEach((e, t) => {
902
907
  e.setAttribute("data-swiper-slide-index", String(t));
903
908
  });
904
909
  }, o = () => {
905
- let e = G(i, `.${r.slideBlankClass}`);
910
+ let e = K(i, `.${r.slideBlankClass}`);
906
911
  e.forEach((e) => {
907
912
  e.remove();
908
913
  }), e.length > 0 && (n.recalcSlides(), n.updateSlides());
@@ -1034,14 +1039,14 @@ function Qt(e, t) {
1034
1039
  return function(n = {}) {
1035
1040
  let r = Object.keys(n)[0], i = n[r];
1036
1041
  if (typeof i != "object" || !i) {
1037
- W(t, n);
1042
+ G(t, n);
1038
1043
  return;
1039
1044
  }
1040
1045
  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);
1046
+ G(t, n);
1042
1047
  return;
1043
1048
  }
1044
- typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), W(t, n);
1049
+ typeof e[r] == "object" && !("enabled" in e[r]) && (e[r].enabled = !0), e[r] || (e[r] = { enabled: !1 }), G(t, n);
1045
1050
  };
1046
1051
  }
1047
1052
  var $t = ({ swiper: e, extendParams: t, on: n }) => {
@@ -1203,7 +1208,7 @@ function on() {
1203
1208
  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
1209
  if (t.loop) {
1205
1210
  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(() => {
1211
+ 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
1212
  e.slideTo(o);
1208
1213
  })) : e.slideTo(o);
1209
1214
  } else e.slideTo(o);
@@ -1457,7 +1462,7 @@ function Dn() {
1457
1462
  function t(t, n) {
1458
1463
  return parseFloat(t.getPropertyValue(e.getDirectionLabel(n)) || "0");
1459
1464
  }
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;
1465
+ 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
1466
  if (y === void 0) return;
1462
1467
  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
1468
  a ? e.style.marginLeft = "" : e.style.marginRight = "", e.style.marginBottom = "", e.style.marginTop = "";
@@ -1559,7 +1564,7 @@ var On = (e, t, n) => {
1559
1564
  t && !e.classList.contains(n) ? e.classList.add(n) : !t && e.classList.contains(n) && e.classList.remove(n);
1560
1565
  };
1561
1566
  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;
1567
+ 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
1568
  if (a) if (n.loop) {
1564
1569
  let t = e.virtual.slides, n = i - (e.virtual.slidesBefore ?? 0);
1565
1570
  n < 0 && (n = t.length + n), n >= t.length && (n -= t.length), c = s(`[data-swiper-slide-index="${n}"]`);
@@ -1618,10 +1623,10 @@ var Nn = {
1618
1623
  static defaults;
1619
1624
  constructor(...t) {
1620
1625
  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) {
1626
+ 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
1627
  let t = [];
1623
1628
  return document.querySelectorAll(r.el).forEach((n) => {
1624
- let i = W({}, r, { el: n });
1629
+ let i = G({}, r, { el: n });
1625
1630
  t.push(new e(i));
1626
1631
  }), t;
1627
1632
  }
@@ -1641,7 +1646,7 @@ var Nn = {
1641
1646
  off: i.off.bind(i),
1642
1647
  emit: i.emit.bind(i)
1643
1648
  });
1644
- }), i.params = W({}, W({}, kt, a), Pn, r), i.originalParams = W({}, i.params), i.passedParams = W({}, r), i.params && i.params.on) {
1649
+ }), i.params = G({}, G({}, kt, a), Pn, r), i.originalParams = G({}, i.params), i.passedParams = G({}, r), i.params && i.params.on) {
1645
1650
  let e = i.params.on;
1646
1651
  Object.keys(e).forEach((t) => {
1647
1652
  let n = e[t];
@@ -1729,7 +1734,7 @@ var Nn = {
1729
1734
  return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
1730
1735
  }
1731
1736
  getSlideIndex(e) {
1732
- let { slidesEl: t, params: n } = this, r = Je(G(t, `.${n.slideClass}, swiper-slide`)[0]);
1737
+ let { slidesEl: t, params: n } = this, r = Je(K(t, `.${n.slideClass}, swiper-slide`)[0]);
1733
1738
  return Je(e) - (r ?? 0);
1734
1739
  }
1735
1740
  getSlideIndexByData(e) {
@@ -1740,7 +1745,7 @@ var Nn = {
1740
1745
  }
1741
1746
  recalcSlides() {
1742
1747
  let { slidesEl: e, params: t } = this;
1743
- this.slides = G(e, `.${t.slideClass}, swiper-slide`);
1748
+ this.slides = K(e, `.${t.slideClass}, swiper-slide`);
1744
1749
  }
1745
1750
  enable() {
1746
1751
  this.enabled || (this.enabled = !0, this.params.grabCursor && this.setGrabCursor(), this.emit("enable"));
@@ -1825,8 +1830,8 @@ var Nn = {
1825
1830
  r.swiper = t;
1826
1831
  let i = r.parentNode;
1827
1832
  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) => {
1833
+ let a = () => `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`, o = r && r.shadowRoot ? r.shadowRoot.querySelector(a()) : K(r, a())[0];
1834
+ !o && t.params.createElements && (o = We("div", t.params.wrapperClass), r.append(o), K(r, `.${t.params.slideClass}`).forEach((e) => {
1830
1835
  o.append(e);
1831
1836
  }));
1832
1837
  let s = t.isElement ? r.parentNode.host : null;
@@ -1861,7 +1866,7 @@ var Nn = {
1861
1866
  }), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), Ne(n)), n.destroyed = !0, null);
1862
1867
  }
1863
1868
  static extendDefaults(e) {
1864
- W(Pn, e);
1869
+ G(Pn, e);
1865
1870
  }
1866
1871
  static installModule(t) {
1867
1872
  e.prototype.__modules__ || (e.prototype.__modules__ = []);
@@ -1899,7 +1904,7 @@ function Rn(e, t, n, r, i) {
1899
1904
  return $e.filter((e) => e[0] === "_").map((e) => e.replace(/_/, "")).forEach((n) => {
1900
1905
  if (n in e && n in t) {
1901
1906
  let r = e[n], i = t[n];
1902
- if (K(r) && K(i)) {
1907
+ if (q(r) && q(i)) {
1903
1908
  let e = Object.keys(r), t = Object.keys(i);
1904
1909
  e.length === t.length ? (e.forEach((e) => {
1905
1910
  r[e] !== i[e] && o(n);
@@ -1916,7 +1921,7 @@ function zn(e = {}, t = !0) {
1916
1921
  let a = {}, o = $e.map((e) => e.replace(/_/, "")), s = { ...e };
1917
1922
  return Object.keys(s).forEach((s) => {
1918
1923
  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);
1924
+ 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
1925
  else if (s.search(/on[A-Z]/) === 0 && typeof c == "function") {
1921
1926
  let e = `${s[2].toLowerCase()}${s.substring(3)}`, i = c;
1922
1927
  t ? r[e] = i : n.on[e] = i;
@@ -2459,7 +2464,7 @@ var Wn = g({
2459
2464
  },
2460
2465
  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
2466
  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);
2467
+ 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
2468
  Hn(t, f, p), d.value = y, p.value = f.value, v.onAny = (e, ...t) => {
2464
2469
  n(e, ...t);
2465
2470
  }, Object.assign(v.on, {
@@ -2632,7 +2637,7 @@ function Kn(e, t, n, r) {
2632
2637
  let i = n ?? {}, a = t ?? {};
2633
2638
  return e.params.createElements && Object.keys(r).forEach((t) => {
2634
2639
  if (!i[t] && i.auto === !0) {
2635
- let n = G(e.el, `.${r[t]}`)[0];
2640
+ let n = K(e.el, `.${r[t]}`)[0];
2636
2641
  n || (n = We("div", r[t]), n.className = r[t], e.el.append(n)), i[t] = n, a[t] = n;
2637
2642
  }
2638
2643
  }), i;
@@ -2752,11 +2757,11 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2752
2757
  init: u,
2753
2758
  destroy: d
2754
2759
  });
2755
- }, Yn = /* @__PURE__ */ U(((e, t) => {
2760
+ }, Yn = /* @__PURE__ */ W(((e, t) => {
2756
2761
  t.exports = function() {
2757
2762
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
2758
2763
  };
2759
- })), Xn = /* @__PURE__ */ U(((e) => {
2764
+ })), Xn = /* @__PURE__ */ W(((e) => {
2760
2765
  var t, n = [
2761
2766
  0,
2762
2767
  26,
@@ -2818,7 +2823,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2818
2823
  }, e.toSJIS = function(e) {
2819
2824
  return t(e);
2820
2825
  };
2821
- })), Zn = /* @__PURE__ */ U(((e) => {
2826
+ })), Zn = /* @__PURE__ */ W(((e) => {
2822
2827
  e.L = { bit: 1 }, e.M = { bit: 0 }, e.Q = { bit: 3 }, e.H = { bit: 2 };
2823
2828
  function t(t) {
2824
2829
  if (typeof t != "string") throw Error("Param is not a string");
@@ -2844,7 +2849,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2844
2849
  return r;
2845
2850
  }
2846
2851
  };
2847
- })), Qn = /* @__PURE__ */ U(((e, t) => {
2852
+ })), Qn = /* @__PURE__ */ W(((e, t) => {
2848
2853
  function n() {
2849
2854
  this.buffer = [], this.length = 0;
2850
2855
  }
@@ -2864,7 +2869,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2864
2869
  this.buffer.length <= t && this.buffer.push(0), e && (this.buffer[t] |= 128 >>> this.length % 8), this.length++;
2865
2870
  }
2866
2871
  }, t.exports = n;
2867
- })), $n = /* @__PURE__ */ U(((e, t) => {
2872
+ })), $n = /* @__PURE__ */ W(((e, t) => {
2868
2873
  function n(e) {
2869
2874
  if (!e || e < 1) throw Error("BitMatrix size must be defined and greater than 0");
2870
2875
  this.size = e, this.data = new Uint8Array(e * e), this.reservedBit = new Uint8Array(e * e);
@@ -2879,7 +2884,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2879
2884
  }, n.prototype.isReserved = function(e, t) {
2880
2885
  return this.reservedBit[e * this.size + t];
2881
2886
  }, t.exports = n;
2882
- })), er = /* @__PURE__ */ U(((e) => {
2887
+ })), er = /* @__PURE__ */ W(((e) => {
2883
2888
  var t = Xn().getSymbolSize;
2884
2889
  e.getRowColCoords = function(e) {
2885
2890
  if (e === 1) return [];
@@ -2891,7 +2896,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2891
2896
  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
2897
  return n;
2893
2898
  };
2894
- })), tr = /* @__PURE__ */ U(((e) => {
2899
+ })), tr = /* @__PURE__ */ W(((e) => {
2895
2900
  var t = Xn().getSymbolSize, n = 7;
2896
2901
  e.getPositions = function(e) {
2897
2902
  let r = t(e);
@@ -2901,7 +2906,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2901
2906
  [0, r - n]
2902
2907
  ];
2903
2908
  };
2904
- })), nr = /* @__PURE__ */ U(((e) => {
2909
+ })), nr = /* @__PURE__ */ W(((e) => {
2905
2910
  e.Patterns = {
2906
2911
  PATTERN000: 0,
2907
2912
  PATTERN001: 1,
@@ -2977,7 +2982,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
2977
2982
  }
2978
2983
  return i;
2979
2984
  };
2980
- })), rr = /* @__PURE__ */ U(((e) => {
2985
+ })), rr = /* @__PURE__ */ W(((e) => {
2981
2986
  var t = Zn(), n = [
2982
2987
  1,
2983
2988
  1,
@@ -3318,7 +3323,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3318
3323
  default: return;
3319
3324
  }
3320
3325
  };
3321
- })), ir = /* @__PURE__ */ U(((e) => {
3326
+ })), ir = /* @__PURE__ */ W(((e) => {
3322
3327
  var t = /* @__PURE__ */ new Uint8Array(512), n = /* @__PURE__ */ new Uint8Array(256);
3323
3328
  (function() {
3324
3329
  let e = 1;
@@ -3332,7 +3337,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3332
3337
  }, e.mul = function(e, r) {
3333
3338
  return e === 0 || r === 0 ? 0 : t[n[e] + n[r]];
3334
3339
  };
3335
- })), ar = /* @__PURE__ */ U(((e) => {
3340
+ })), ar = /* @__PURE__ */ W(((e) => {
3336
3341
  var t = ir();
3337
3342
  e.mul = function(e, n) {
3338
3343
  let r = new Uint8Array(e.length + n.length - 1);
@@ -3353,7 +3358,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3353
3358
  for (let i = 0; i < n; i++) r = e.mul(r, new Uint8Array([1, t.exp(i)]));
3354
3359
  return r;
3355
3360
  };
3356
- })), or = /* @__PURE__ */ U(((e, t) => {
3361
+ })), or = /* @__PURE__ */ W(((e, t) => {
3357
3362
  var n = ar();
3358
3363
  function r(e) {
3359
3364
  this.genPoly = void 0, this.degree = e, this.degree && this.initialize(this.degree);
@@ -3371,11 +3376,11 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3371
3376
  }
3372
3377
  return r;
3373
3378
  }, t.exports = r;
3374
- })), sr = /* @__PURE__ */ U(((e) => {
3379
+ })), sr = /* @__PURE__ */ W(((e) => {
3375
3380
  e.isValid = function(e) {
3376
3381
  return !isNaN(e) && e >= 1 && e <= 40;
3377
3382
  };
3378
- })), cr = /* @__PURE__ */ U(((e) => {
3383
+ })), cr = /* @__PURE__ */ W(((e) => {
3379
3384
  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
3385
  r = r.replace(/u/g, "\\u");
3381
3386
  var i = "(?:(?![A-Z0-9 $%*+\\-./:]|" + r + ")(?:.|[\r\n]))+";
@@ -3388,7 +3393,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3388
3393
  }, e.testAlphanumeric = function(e) {
3389
3394
  return s.test(e);
3390
3395
  };
3391
- })), lr = /* @__PURE__ */ U(((e) => {
3396
+ })), lr = /* @__PURE__ */ W(((e) => {
3392
3397
  var t = sr(), n = cr();
3393
3398
  e.NUMERIC = {
3394
3399
  id: "Numeric",
@@ -3452,7 +3457,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3452
3457
  return n;
3453
3458
  }
3454
3459
  };
3455
- })), ur = /* @__PURE__ */ U(((e) => {
3460
+ })), ur = /* @__PURE__ */ W(((e) => {
3456
3461
  var t = Xn(), n = rr(), r = Zn(), i = lr(), a = sr(), o = 7973, s = t.getBCHDigit(o);
3457
3462
  function c(t, n, r) {
3458
3463
  for (let i = 1; i <= 40; i++) if (n <= e.getCapacity(i, r, t)) return i;
@@ -3499,14 +3504,14 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3499
3504
  for (; t.getBCHDigit(n) - s >= 0;) n ^= o << t.getBCHDigit(n) - s;
3500
3505
  return e << 12 | n;
3501
3506
  };
3502
- })), dr = /* @__PURE__ */ U(((e) => {
3507
+ })), dr = /* @__PURE__ */ W(((e) => {
3503
3508
  var t = Xn(), n = 1335, r = 21522, i = t.getBCHDigit(n);
3504
3509
  e.getEncodedBits = function(e, a) {
3505
3510
  let o = e.bit << 3 | a, s = o << 10;
3506
3511
  for (; t.getBCHDigit(s) - i >= 0;) s ^= n << t.getBCHDigit(s) - i;
3507
3512
  return (o << 10 | s) ^ r;
3508
3513
  };
3509
- })), fr = /* @__PURE__ */ U(((e, t) => {
3514
+ })), fr = /* @__PURE__ */ W(((e, t) => {
3510
3515
  var n = lr();
3511
3516
  function r(e) {
3512
3517
  this.mode = n.NUMERIC, this.data = e.toString();
@@ -3523,7 +3528,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3523
3528
  let i = this.data.length - t;
3524
3529
  i > 0 && (n = this.data.substr(t), r = parseInt(n, 10), e.put(r, i * 3 + 1));
3525
3530
  }, t.exports = r;
3526
- })), pr = /* @__PURE__ */ U(((e, t) => {
3531
+ })), pr = /* @__PURE__ */ W(((e, t) => {
3527
3532
  var n = lr(), r = /* @__PURE__ */ "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:".split("");
3528
3533
  function i(e) {
3529
3534
  this.mode = n.ALPHANUMERIC, this.data = e;
@@ -3542,7 +3547,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3542
3547
  }
3543
3548
  this.data.length % 2 && e.put(r.indexOf(this.data[t]), 6);
3544
3549
  }, t.exports = i;
3545
- })), mr = /* @__PURE__ */ U(((e, t) => {
3550
+ })), mr = /* @__PURE__ */ W(((e, t) => {
3546
3551
  var n = lr();
3547
3552
  function r(e) {
3548
3553
  this.mode = n.BYTE, typeof e == "string" ? this.data = new TextEncoder().encode(e) : this.data = new Uint8Array(e);
@@ -3556,7 +3561,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3556
3561
  }, r.prototype.write = function(e) {
3557
3562
  for (let t = 0, n = this.data.length; t < n; t++) e.put(this.data[t], 8);
3558
3563
  }, t.exports = r;
3559
- })), hr = /* @__PURE__ */ U(((e, t) => {
3564
+ })), hr = /* @__PURE__ */ W(((e, t) => {
3560
3565
  var n = lr(), r = Xn();
3561
3566
  function i(e) {
3562
3567
  this.mode = n.KANJI, this.data = e;
@@ -3577,7 +3582,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3577
3582
  n = (n >>> 8 & 255) * 192 + (n & 255), e.put(n, 13);
3578
3583
  }
3579
3584
  }, t.exports = i;
3580
- })), gr = /* @__PURE__ */ U(((e, t) => {
3585
+ })), gr = /* @__PURE__ */ W(((e, t) => {
3581
3586
  var n = {
3582
3587
  single_source_shortest_paths: function(e, t, r) {
3583
3588
  var i = {}, a = {};
@@ -3630,7 +3635,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3630
3635
  }
3631
3636
  };
3632
3637
  t !== void 0 && (t.exports = n);
3633
- })), _r = /* @__PURE__ */ U(((e) => {
3638
+ })), _r = /* @__PURE__ */ W(((e) => {
3634
3639
  var t = lr(), n = fr(), r = pr(), i = mr(), a = hr(), o = cr(), s = Xn(), c = gr();
3635
3640
  function l(e) {
3636
3641
  return unescape(encodeURIComponent(e)).length;
@@ -3758,7 +3763,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3758
3763
  }, e.rawSplit = function(t) {
3759
3764
  return e.fromArray(d(t, s.isKanjiModeEnabled()));
3760
3765
  };
3761
- })), vr = /* @__PURE__ */ U(((e) => {
3766
+ })), vr = /* @__PURE__ */ W(((e) => {
3762
3767
  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
3768
  function m(e, t) {
3764
3769
  let n = e.size, r = o.getPositions(t);
@@ -3854,7 +3859,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3854
3859
  let i = n.M, a, o;
3855
3860
  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
3861
  };
3857
- })), yr = /* @__PURE__ */ U(((e) => {
3862
+ })), yr = /* @__PURE__ */ W(((e) => {
3858
3863
  function t(e) {
3859
3864
  if (typeof e == "number" && (e = e.toString()), typeof e != "string") throw Error("Color should be defined as hex string");
3860
3865
  let t = e.slice().replace("#", "").split("");
@@ -3901,7 +3906,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3901
3906
  t[u++] = d.r, t[u++] = d.g, t[u++] = d.b, t[u] = d.a;
3902
3907
  }
3903
3908
  };
3904
- })), br = /* @__PURE__ */ U(((e) => {
3909
+ })), br = /* @__PURE__ */ W(((e) => {
3905
3910
  var t = yr();
3906
3911
  function n(e, t, n) {
3907
3912
  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 +3929,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3924
3929
  let a = e.render(t, n, i), o = i.type || "image/png", s = i.rendererOpts || {};
3925
3930
  return a.toDataURL(o, s.quality);
3926
3931
  };
3927
- })), xr = /* @__PURE__ */ U(((e) => {
3932
+ })), xr = /* @__PURE__ */ W(((e) => {
3928
3933
  var t = yr();
3929
3934
  function n(e, t) {
3930
3935
  let n = e.a / 255, r = t + "=\"" + e.hex + "\"";
@@ -3946,7 +3951,7 @@ var qn = "<svg class=\"swiper-navigation-icon\" width=\"11\" height=\"20\" viewB
3946
3951
  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
3952
  return typeof a == "function" && a(null, p), p;
3948
3953
  };
3949
- })), Sr = /* @__PURE__ */ U(((e) => {
3954
+ })), Sr = /* @__PURE__ */ W(((e) => {
3950
3955
  var t = Yn(), n = vr(), r = br(), i = xr();
3951
3956
  function a(e, r, i, a, o) {
3952
3957
  let s = [].slice.call(arguments, 1), c = s.length, l = typeof s[c - 1] == "function";
@@ -4034,15 +4039,15 @@ function kr(e) {
4034
4039
  let t = !1, n, r = _(!0);
4035
4040
  return ((...i) => (t ||= (n = r.run(() => e(...i)), !0), n));
4036
4041
  }
4037
- var q = typeof window < "u" && typeof document < "u";
4042
+ var J = typeof window < "u" && typeof document < "u";
4038
4043
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4039
4044
  var Ar = (e) => e !== void 0, jr = Object.prototype.toString, Mr = (e) => jr.call(e) === "[object Object]", Nr = () => {}, Pr = /* #__PURE__ */ Fr();
4040
4045
  function Fr() {
4041
4046
  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));
4047
+ 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
4048
  }
4044
4049
  function Ir(...e) {
4045
- if (e.length !== 1) return ue(...e);
4050
+ if (e.length !== 1) return de(...e);
4046
4051
  let t = e[0];
4047
4052
  return typeof t == "function" ? ie(h(() => ({
4048
4053
  get: t,
@@ -4075,7 +4080,7 @@ function zr(e = Rr, t = {}) {
4075
4080
  r.value = !0;
4076
4081
  }
4077
4082
  return {
4078
- isActive: se(r),
4083
+ isActive: ce(r),
4079
4084
  pause: i,
4080
4085
  resume: a,
4081
4086
  eventFilter: (...t) => {
@@ -4090,7 +4095,7 @@ function Vr(e) {
4090
4095
  return e || v();
4091
4096
  }
4092
4097
  function Hr(e) {
4093
- if (!q) return e;
4098
+ if (!J) return e;
4094
4099
  let t = 0, n, r, i = () => {
4095
4100
  --t, r && t <= 0 && (r.stop(), n = void 0, r = void 0);
4096
4101
  };
@@ -4126,7 +4131,7 @@ function Wr(e) {
4126
4131
  }
4127
4132
  function Gr(e, ...t) {
4128
4133
  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]))));
4134
+ 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
4135
  }
4131
4136
  function Kr(e, t = 1e4) {
4132
4137
  return h((n, r) => {
@@ -4190,8 +4195,8 @@ function Zr(e, t, n) {
4190
4195
  }
4191
4196
  //#endregion
4192
4197
  //#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;
4198
+ var Qr = J ? window : void 0;
4199
+ J && window.document, J && window.navigator, J && window.location;
4195
4200
  function $r(e) {
4196
4201
  let t = z(e);
4197
4202
  return t?.$el ?? t;
@@ -4215,7 +4220,7 @@ function ei(...e) {
4215
4220
  }, { flush: "post" });
4216
4221
  }
4217
4222
  function ti() {
4218
- let e = ce(!1), t = v();
4223
+ let e = le(!1), t = v();
4219
4224
  return t && N(() => {
4220
4225
  e.value = !0;
4221
4226
  }, t), e;
@@ -4293,7 +4298,7 @@ var fi = di(), pi = Hr(() => {
4293
4298
  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
4299
  };
4295
4300
  return V(n, (e, o) => {
4296
- if (!q) return;
4301
+ if (!J) return;
4297
4302
  if (!e) {
4298
4303
  o && a();
4299
4304
  return;
@@ -4351,15 +4356,15 @@ function _i(e) {
4351
4356
  function vi(e) {
4352
4357
  let t = v(), n = t?.type.emits, r = {};
4353
4358
  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);
4359
+ r[ue(o(t))] = (...n) => e(t, ...n);
4355
4360
  }), r;
4356
4361
  }
4357
4362
  //#endregion
4358
4363
  //#region node_modules/reka-ui/dist/shared/useFocusGuards.js
4359
4364
  var yi = 0;
4360
4365
  function bi() {
4361
- pe((e) => {
4362
- if (!q) return;
4366
+ H((e) => {
4367
+ if (!J) return;
4363
4368
  let t = document.querySelectorAll("[data-reka-focus-guard]");
4364
4369
  document.body.insertAdjacentElement("afterbegin", t[0] ?? xi()), document.body.insertAdjacentElement("beforeend", t[1] ?? xi()), yi++, e(() => {
4365
4370
  yi === 1 && document.querySelectorAll("[data-reka-focus-guard]").forEach((e) => e.remove()), yi--;
@@ -4372,10 +4377,10 @@ function xi() {
4372
4377
  }
4373
4378
  //#endregion
4374
4379
  //#region node_modules/reka-ui/dist/shared/useForwardExpose.js
4375
- function J() {
4380
+ function Y() {
4376
4381
  let e = v(), t = I(), n = c(() => r());
4377
4382
  te(() => {
4378
- n.value !== r() && fe(t);
4383
+ n.value !== r() && pe(t);
4379
4384
  });
4380
4385
  function r() {
4381
4386
  return t.value && "$el" in t.value && ["#text", "#comment"].includes(t.value.$el.nodeName) ? t.value.$el.nextElementSibling : $r(t);
@@ -4423,7 +4428,7 @@ function Si(e) {
4423
4428
  let t = v(), n = Object.keys(t?.type.props ?? {}).reduce((e, n) => {
4424
4429
  let r = (t?.type.props[n]).default;
4425
4430
  return r !== void 0 && (e[n] = r), e;
4426
- }, {}), r = ue(e);
4431
+ }, {}), r = de(e);
4427
4432
  return c(() => {
4428
4433
  let e = {}, i = t?.vnode.props ?? {};
4429
4434
  return Object.keys(i).forEach((t) => {
@@ -4462,14 +4467,14 @@ function wi(e, t) {
4462
4467
  }, o = Ei(a, Ti(a, i.getBoundingClientRect()), 1), s = Di(t.getBoundingClientRect()), c = ki([...o, ...s]);
4463
4468
  r.value = c, n.value = !0;
4464
4469
  }
4465
- return pe((n) => {
4470
+ return H((n) => {
4466
4471
  if (e.value && t.value) {
4467
4472
  let r = (e) => o(e, t.value), i = (t) => o(t, e.value);
4468
4473
  e.value.addEventListener("pointerleave", r), t.value.addEventListener("pointerleave", i), n(() => {
4469
4474
  e.value?.removeEventListener("pointerleave", r), t.value?.removeEventListener("pointerleave", i);
4470
4475
  });
4471
4476
  }
4472
- }), pe((n) => {
4477
+ }), H((n) => {
4473
4478
  if (r.value) {
4474
4479
  let o = (n) => {
4475
4480
  if (!r.value || !(n.target instanceof Element)) return;
@@ -4719,7 +4724,7 @@ function Gi(e, t) {
4719
4724
  },
4720
4725
  unmounted: { MOUNT: "mounted" }
4721
4726
  }), d = (e) => {
4722
- if (q) {
4727
+ if (J) {
4723
4728
  let n = new CustomEvent(e, {
4724
4729
  bubbles: !1,
4725
4730
  cancelable: !1
@@ -4771,7 +4776,7 @@ var qi = /*#__PURE__*/ g({
4771
4776
  },
4772
4777
  slots: {},
4773
4778
  setup(e, { slots: t, expose: n }) {
4774
- let { present: r, forceMount: i } = de(e), a = I(), { isPresent: o } = Gi(r, a);
4779
+ let { present: r, forceMount: i } = fe(e), a = I(), { isPresent: o } = Gi(r, a);
4775
4780
  n({ present: o });
4776
4781
  let s = t.default({ present: o.value });
4777
4782
  s = oi(s || []);
@@ -4837,8 +4842,8 @@ function $i(e, t) {
4837
4842
  }
4838
4843
  function ea(e, t, n = !0) {
4839
4844
  let r = t?.value?.ownerDocument ?? globalThis?.document, i = I(!1), a = I(() => {});
4840
- return pe((o) => {
4841
- if (!q || !z(n)) return;
4845
+ return H((o) => {
4846
+ if (!J || !z(n)) return;
4842
4847
  let s = async (n) => {
4843
4848
  let o = n.target;
4844
4849
  if (!(!t?.value || !o)) {
@@ -4867,8 +4872,8 @@ function ea(e, t, n = !0) {
4867
4872
  }
4868
4873
  function ta(e, t, n = !0) {
4869
4874
  let r = t?.value?.ownerDocument ?? globalThis?.document, i = I(!1);
4870
- return pe((a) => {
4871
- if (!q || !z(n)) return;
4875
+ return H((a) => {
4876
+ if (!J || !z(n)) return;
4872
4877
  let o = async (n) => {
4873
4878
  if (!t?.value) return;
4874
4879
  await E(), await E();
@@ -4887,7 +4892,7 @@ function ta(e, t, n = !0) {
4887
4892
  }
4888
4893
  //#endregion
4889
4894
  //#region node_modules/reka-ui/dist/DismissableLayer/DismissableLayer.js
4890
- var Y = /*#__PURE__*/ re({
4895
+ var X = /*#__PURE__*/ re({
4891
4896
  layersRoot: /* @__PURE__ */ new Set(),
4892
4897
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
4893
4898
  originalBodyPointerEvents: void 0,
@@ -4922,14 +4927,14 @@ var Y = /*#__PURE__*/ re({
4922
4927
  "dismiss"
4923
4928
  ],
4924
4929
  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);
4930
+ 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(() => {
4931
+ let e = Array.from(s.value), [t] = [...X.layersWithOutsidePointerEventsDisabled].slice(-1), n = e.indexOf(t);
4927
4932
  return u.value >= n;
4928
4933
  }), p = ea(async (e) => {
4929
- let t = [...Y.branches].some((t) => t?.contains(e.target));
4934
+ let t = [...X.branches].some((t) => t?.contains(e.target));
4930
4935
  !n.present || !f.value || t || (r("pointerDownOutside", e), r("interactOutside", e), await E(), e.defaultPrevented || r("dismiss"));
4931
4936
  }, a), m = ta((e) => {
4932
- let t = [...Y.branches].some((t) => t?.contains(e.target));
4937
+ let t = [...X.branches].some((t) => t?.contains(e.target));
4933
4938
  !n.present || t || (r("focusOutside", e), r("interactOutside", e), e.defaultPrevented || r("dismiss"));
4934
4939
  }, a);
4935
4940
  return ri("Escape", (e) => {
@@ -4939,16 +4944,16 @@ var Y = /*#__PURE__*/ re({
4939
4944
  () => n.disableOutsidePointerEvents,
4940
4945
  () => n.present
4941
4946
  ], ([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);
4947
+ !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(() => {
4948
+ X.layersWithOutsidePointerEventsDisabled.delete(e), X.layersWithOutsidePointerEventsDisabled.size === 0 && !Er(X.originalBodyPointerEvents) && (o.value.body.style.pointerEvents = X.originalBodyPointerEvents);
4944
4949
  }));
4945
4950
  }, { immediate: !0 }), V([a, () => n.present], ([e, t], n, r) => {
4946
4951
  !e || !t || (s.value.add(e), r(() => {
4947
4952
  s.value.delete(e);
4948
4953
  }));
4949
- }, { immediate: !0 }), pe((e) => {
4954
+ }, { immediate: !0 }), H((e) => {
4950
4955
  e(() => {
4951
- a.value && (s.value.delete(a.value), Y.layersWithOutsidePointerEventsDisabled.delete(a.value));
4956
+ a.value && (s.value.delete(a.value), X.layersWithOutsidePointerEventsDisabled.delete(a.value));
4952
4957
  });
4953
4958
  }), (e, t) => (F(), l(B(Xi), {
4954
4959
  ref: B(i),
@@ -4960,7 +4965,7 @@ var Y = /*#__PURE__*/ re({
4960
4965
  onBlurCapture: B(m).onBlurCapture,
4961
4966
  onPointerdownCapture: B(p).onPointerDownCapture
4962
4967
  }, {
4963
- default: H(() => [L(e.$slots, "default")]),
4968
+ default: U(() => [L(e.$slots, "default")]),
4964
4969
  _: 3
4965
4970
  }, 8, [
4966
4971
  "as-child",
@@ -5062,7 +5067,7 @@ var ga = /* @__PURE__ */ g({
5062
5067
  },
5063
5068
  emits: ["mountAutoFocus", "unmountAutoFocus"],
5064
5069
  setup(e, { emit: t }) {
5065
- let n = e, r = t, { currentRef: i, currentElement: a } = J(), o = I(null), s = ia(), c = /*#__PURE__*/ re({
5070
+ let n = e, r = t, { currentRef: i, currentElement: a } = Y(), o = I(null), s = ia(), c = /*#__PURE__*/ re({
5066
5071
  paused: !1,
5067
5072
  pause() {
5068
5073
  this.paused = !0;
@@ -5071,8 +5076,8 @@ var ga = /* @__PURE__ */ g({
5071
5076
  this.paused = !1;
5072
5077
  }
5073
5078
  });
5074
- pe((e) => {
5075
- if (!q) return;
5079
+ H((e) => {
5080
+ if (!J) return;
5076
5081
  let t = a.value;
5077
5082
  if (!n.trapped) return;
5078
5083
  function r(e) {
@@ -5102,7 +5107,7 @@ var ga = /* @__PURE__ */ g({
5102
5107
  let n = new CustomEvent(oa, ca), i = (e) => r("mountAutoFocus", e);
5103
5108
  e.addEventListener(oa, i), e.dispatchEvent(n), e.removeEventListener(oa, i), n.defaultPrevented || (la(da(e), { select: !0 }), wr() === t && ha(e));
5104
5109
  }
5105
- pe(async (e) => {
5110
+ H(async (e) => {
5106
5111
  let t = a.value;
5107
5112
  if (await E(), !t) return;
5108
5113
  n.present !== !1 && s.add(c);
@@ -5116,7 +5121,7 @@ var ga = /* @__PURE__ */ g({
5116
5121
  }, 0);
5117
5122
  });
5118
5123
  }), V(() => n.present, async (e, t) => {
5119
- if (!q) return;
5124
+ if (!J) return;
5120
5125
  if (e === !1 && t === !0) {
5121
5126
  s.remove(c);
5122
5127
  return;
@@ -5144,7 +5149,7 @@ var ga = /* @__PURE__ */ g({
5144
5149
  as: e.as,
5145
5150
  onKeydown: d
5146
5151
  }, {
5147
- default: H(() => [L(e.$slots, "default")]),
5152
+ default: U(() => [L(e.$slots, "default")]),
5148
5153
  _: 3
5149
5154
  }, 8, ["as-child", "as"]));
5150
5155
  }
@@ -5208,7 +5213,7 @@ var ga = /* @__PURE__ */ g({
5208
5213
  }
5209
5214
  },
5210
5215
  setup(e) {
5211
- let t = e, { forwardRef: n, currentElement: r } = J(), i = va();
5216
+ let t = e, { forwardRef: n, currentElement: r } = Y(), i = va();
5212
5217
  return me(() => {
5213
5218
  i.onAnchorChange(t.reference ?? r.value);
5214
5219
  }), (e, t) => (F(), l(B(Xi), {
@@ -5216,7 +5221,7 @@ var ga = /* @__PURE__ */ g({
5216
5221
  as: e.as,
5217
5222
  "as-child": e.asChild
5218
5223
  }, {
5219
- default: H(() => [L(e.$slots, "default")]),
5224
+ default: U(() => [L(e.$slots, "default")]),
5220
5225
  _: 3
5221
5226
  }, 8, ["as", "as-child"]));
5222
5227
  }
@@ -5255,13 +5260,13 @@ var ga = /* @__PURE__ */ g({
5255
5260
  },
5256
5261
  setup(e) {
5257
5262
  let t = e;
5258
- return J(), (e, n) => (F(), l(B(Xi), T(t, {
5263
+ return Y(), (e, n) => (F(), l(B(Xi), T(t, {
5259
5264
  width: e.width,
5260
5265
  height: e.height,
5261
5266
  viewBox: e.asChild ? void 0 : "0 0 12 6",
5262
5267
  preserveAspectRatio: e.asChild ? void 0 : "none"
5263
5268
  }), {
5264
- default: H(() => [L(e.$slots, "default", {}, () => [e.rounded ? (F(), d("path", Ca)) : (F(), d("path", Sa))])]),
5269
+ default: U(() => [L(e.$slots, "default", {}, () => [e.rounded ? (F(), d("path", Ca)) : (F(), d("path", Sa))])]),
5265
5270
  _: 3
5266
5271
  }, 16, [
5267
5272
  "width",
@@ -5335,12 +5340,12 @@ function za(e) {
5335
5340
  function Ba(e) {
5336
5341
  return e === "y" ? "height" : "width";
5337
5342
  }
5338
- function X(e) {
5343
+ function Z(e) {
5339
5344
  let t = e[0];
5340
5345
  return t === "t" || t === "b" ? "y" : "x";
5341
5346
  }
5342
5347
  function Va(e) {
5343
- return za(X(e));
5348
+ return za(Z(e));
5344
5349
  }
5345
5350
  function Ha(e, t, n) {
5346
5351
  n === void 0 && (n = !1);
@@ -5408,7 +5413,7 @@ function eo(e) {
5408
5413
  //#endregion
5409
5414
  //#region node_modules/@floating-ui/core/dist/floating-ui.core.mjs
5410
5415
  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;
5416
+ 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
5417
  switch (c) {
5413
5418
  case "top":
5414
5419
  p = {
@@ -5542,7 +5547,7 @@ var ro = 50, io = async (e, t, n) => {
5542
5547
  var n;
5543
5548
  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
5549
  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";
5550
+ 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
5551
  !d && x && b.push(...Xa(o, m, p, y));
5547
5552
  let S = [o, ...b], C = await s.detectOverflow(t, h), w = [], T = i.flip?.overflows || [];
5548
5553
  if (l && w.push(C[g]), u) {
@@ -5554,7 +5559,7 @@ var ro = 50, io = async (e, t, n) => {
5554
5559
  overflows: w
5555
5560
  }], !w.every((e) => e <= 0)) {
5556
5561
  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 {
5562
+ if (t && (!(u === "alignment" && _ !== Z(t)) || T.every((e) => Z(e.placement) !== _ || e.overflows[0] > 0))) return {
5558
5563
  data: {
5559
5564
  index: e,
5560
5565
  overflows: T
@@ -5566,7 +5571,7 @@ var ro = 50, io = async (e, t, n) => {
5566
5571
  case "bestFit": {
5567
5572
  let e = T.filter((e) => {
5568
5573
  if (x) {
5569
- let t = X(e.placement);
5574
+ let t = Z(e.placement);
5570
5575
  return t === _ || t === "y";
5571
5576
  }
5572
5577
  return !0;
@@ -5628,7 +5633,7 @@ var lo = function(e) {
5628
5633
  };
5629
5634
  }, uo = /*#__PURE__*/ new Set(["left", "top"]);
5630
5635
  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" ? {
5636
+ 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
5637
  mainAxis: d,
5633
5638
  crossAxis: 0,
5634
5639
  alignmentAxis: null
@@ -5676,7 +5681,7 @@ var po = function(e) {
5676
5681
  } }, ...l } = Ia(e, t), u = {
5677
5682
  x: n,
5678
5683
  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"]);
5684
+ }, 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
5685
  o && (m = g(p, m)), s && (h = g(f, h));
5681
5686
  let _ = c.fn({
5682
5687
  ...t,
@@ -5703,7 +5708,7 @@ var po = function(e) {
5703
5708
  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
5709
  x: n,
5705
5710
  y: r
5706
- }, d = X(i), f = za(d), p = u[f], m = u[d], h = Ia(s, t), g = typeof h == "number" ? {
5711
+ }, d = Z(i), f = za(d), p = u[f], m = u[d], h = Ia(s, t), g = typeof h == "number" ? {
5707
5712
  mainAxis: h,
5708
5713
  crossAxis: 0
5709
5714
  } : {
@@ -5729,7 +5734,7 @@ var po = function(e) {
5729
5734
  name: "size",
5730
5735
  options: e,
5731
5736
  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;
5737
+ 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
5738
  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
5739
  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
5740
  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 +5755,7 @@ function _o() {
5750
5755
  function vo(e) {
5751
5756
  return bo(e) ? (e.nodeName || "").toLowerCase() : "#document";
5752
5757
  }
5753
- function Z(e) {
5758
+ function Q(e) {
5754
5759
  var t;
5755
5760
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
5756
5761
  }
@@ -5758,25 +5763,25 @@ function yo(e) {
5758
5763
  return ((bo(e) ? e.ownerDocument : e.document) || window.document)?.documentElement;
5759
5764
  }
5760
5765
  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;
5766
+ return _o() ? e instanceof Node || e instanceof Q(e).Node : !1;
5765
5767
  }
5766
5768
  function xo(e) {
5767
- return _o() ? e instanceof HTMLElement || e instanceof Z(e).HTMLElement : !1;
5769
+ return _o() ? e instanceof Element || e instanceof Q(e).Element : !1;
5768
5770
  }
5769
5771
  function So(e) {
5770
- return !_o() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Z(e).ShadowRoot;
5772
+ return _o() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
5771
5773
  }
5772
5774
  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";
5775
+ return !_o() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
5775
5776
  }
5776
5777
  function wo(e) {
5777
- return /^(table|td|th)$/.test(vo(e));
5778
+ let { overflow: t, overflowX: n, overflowY: r, display: i } = Fo(e);
5779
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && i !== "inline" && i !== "contents";
5778
5780
  }
5779
5781
  function To(e) {
5782
+ return /^(table|td|th)$/.test(vo(e));
5783
+ }
5784
+ function Eo(e) {
5780
5785
  try {
5781
5786
  if (e.matches(":popover-open")) return !0;
5782
5787
  } catch {}
@@ -5786,31 +5791,31 @@ function To(e) {
5786
5791
  return !1;
5787
5792
  }
5788
5793
  }
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
- }
5794
+ var Do = /transform|translate|scale|rotate|perspective|filter/, Oo = /paint|layout|strict|content/, ko = (e) => !!e && e !== "none", Ao;
5794
5795
  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);
5796
+ let t = xo(e) ? Fo(e) : e;
5797
+ 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 || "");
5798
+ }
5799
+ function Mo(e) {
5800
+ let t = Lo(e);
5801
+ for (; So(t) && !Po(t);) {
5802
+ if (jo(t)) return t;
5803
+ if (Eo(t)) return null;
5804
+ t = Lo(t);
5800
5805
  }
5801
5806
  return null;
5802
5807
  }
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));
5808
+ function No() {
5809
+ return Ao ??= typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none"), Ao;
5808
5810
  }
5809
5811
  function Po(e) {
5810
- return Z(e).getComputedStyle(e);
5812
+ return /^(html|body|#document)$/.test(vo(e));
5811
5813
  }
5812
5814
  function Fo(e) {
5813
- return Q(e) ? {
5815
+ return Q(e).getComputedStyle(e);
5816
+ }
5817
+ function Io(e) {
5818
+ return xo(e) ? {
5814
5819
  scrollLeft: e.scrollLeft,
5815
5820
  scrollTop: e.scrollTop
5816
5821
  } : {
@@ -5818,69 +5823,69 @@ function Fo(e) {
5818
5823
  scrollTop: e.scrollY
5819
5824
  };
5820
5825
  }
5821
- function Io(e) {
5826
+ function Lo(e) {
5822
5827
  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;
5828
+ let t = e.assignedSlot || e.parentNode || Co(e) && e.host || yo(e);
5829
+ return Co(t) ? t.host : t;
5825
5830
  }
5826
- function Lo(e) {
5827
- let t = Io(e);
5828
- return No(t) ? (e.ownerDocument || e).body : xo(t) && Co(t) ? t : Lo(t);
5831
+ function Ro(e) {
5832
+ let t = Lo(e);
5833
+ return Po(t) ? (e.ownerDocument || e).body : So(t) && wo(t) ? t : Ro(t);
5829
5834
  }
5830
- function Ro(e, t, n) {
5835
+ function zo(e, t, n) {
5831
5836
  t === void 0 && (t = []), n === void 0 && (n = !0);
5832
- let r = Lo(e), i = r === e.ownerDocument?.body, a = Z(r);
5837
+ let r = Ro(e), i = r === e.ownerDocument?.body, a = Q(r);
5833
5838
  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));
5839
+ let e = Bo(a);
5840
+ return t.concat(a, a.visualViewport || [], wo(r) ? r : [], e && n ? zo(e) : []);
5841
+ } else return t.concat(r, zo(r, [], n));
5837
5842
  }
5838
- function zo(e) {
5843
+ function Bo(e) {
5839
5844
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
5840
5845
  }
5841
5846
  //#endregion
5842
5847
  //#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;
5848
+ function Vo(e) {
5849
+ 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
5850
  return s && (n = a, r = o), {
5846
5851
  width: n,
5847
5852
  height: r,
5848
5853
  $: s
5849
5854
  };
5850
5855
  }
5851
- function Vo(e) {
5852
- return Q(e) ? e : e.contextElement;
5853
- }
5854
5856
  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;
5857
+ return xo(e) ? e : e.contextElement;
5858
+ }
5859
+ function Uo(e) {
5860
+ let t = Ho(e);
5861
+ if (!So(t)) return Na(1);
5862
+ 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
5863
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
5859
5864
  x: o,
5860
5865
  y: s
5861
5866
  };
5862
5867
  }
5863
- var Uo = /*#__PURE__*/ Na(0);
5864
- function Wo(e) {
5865
- let t = Z(e);
5866
- return !Mo() || !t.visualViewport ? Uo : {
5868
+ var Wo = /*#__PURE__*/ Na(0);
5869
+ function Go(e) {
5870
+ let t = Q(e);
5871
+ return !No() || !t.visualViewport ? Wo : {
5867
5872
  x: t.visualViewport.offsetLeft,
5868
5873
  y: t.visualViewport.offsetTop
5869
5874
  };
5870
5875
  }
5871
- function Go(e, t, n) {
5872
- return t === void 0 && (t = !1), !!n && t && n === Z(e);
5876
+ function Ko(e, t, n) {
5877
+ return t === void 0 && (t = !1), !!n && t && n === Q(e);
5873
5878
  }
5874
- function Ko(e, t, n, r) {
5879
+ function qo(e, t, n, r) {
5875
5880
  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;
5881
+ let i = e.getBoundingClientRect(), a = Ho(e), o = Na(1);
5882
+ t && (r ? xo(r) && (o = Uo(r)) : o = Uo(e));
5883
+ 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
5884
  if (a && r) {
5880
- let e = Z(a), t = Q(r) ? Z(r) : r, n = e, i = zo(n);
5885
+ let e = Q(a), t = xo(r) ? Q(r) : r, n = e, i = Bo(n);
5881
5886
  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);
5887
+ 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;
5888
+ c *= e.x, l *= e.y, u *= e.x, d *= e.y, c += a, l += o, n = Q(i), i = Bo(n);
5884
5889
  }
5885
5890
  }
5886
5891
  return eo({
@@ -5890,29 +5895,29 @@ function Ko(e, t, n, r) {
5890
5895
  y: l
5891
5896
  });
5892
5897
  }
5893
- function qo(e, t) {
5894
- let n = Fo(e).scrollLeft;
5895
- return t ? t.left + n : Ko(yo(e)).left + n;
5896
- }
5897
5898
  function Jo(e, t) {
5899
+ let n = Io(e).scrollLeft;
5900
+ return t ? t.left + n : qo(yo(e)).left + n;
5901
+ }
5902
+ function Yo(e, t) {
5898
5903
  let n = e.getBoundingClientRect();
5899
5904
  return {
5900
- x: n.left + t.scrollLeft - qo(e, n),
5905
+ x: n.left + t.scrollLeft - Jo(e, n),
5901
5906
  y: n.top + t.scrollTop
5902
5907
  };
5903
5908
  }
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;
5909
+ function Xo(e) {
5910
+ let { elements: t, rect: n, offsetParent: r, strategy: i } = e, a = i === "fixed", o = yo(r), s = t ? Eo(t.floating) : !1;
5906
5911
  if (r === o || s && a) return n;
5907
5912
  let c = {
5908
5913
  scrollLeft: 0,
5909
5914
  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;
5915
+ }, l = Na(1), u = Na(0), d = So(r);
5916
+ if ((d || !a) && ((vo(r) !== "body" || wo(o)) && (c = Io(r)), d)) {
5917
+ let e = qo(r);
5918
+ l = Uo(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
5914
5919
  }
5915
- let f = o && !d && !a ? Jo(o, c) : Na(0);
5920
+ let f = o && !d && !a ? Yo(o, c) : Na(0);
5916
5921
  return {
5917
5922
  width: n.width * l.x,
5918
5923
  height: n.height * l.y,
@@ -5920,29 +5925,29 @@ function Yo(e) {
5920
5925
  y: n.y * l.y - c.scrollTop * l.y + u.y + f.y
5921
5926
  };
5922
5927
  }
5923
- function Xo(e) {
5928
+ function Zo(e) {
5924
5929
  return e.getClientRects ? Array.from(e.getClientRects()) : [];
5925
5930
  }
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), {
5931
+ function Qo(e) {
5932
+ 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;
5933
+ return Fo(n).direction === "rtl" && (a += Aa(e.clientWidth, n.clientWidth) - r), {
5929
5934
  width: r,
5930
5935
  height: i,
5931
5936
  x: a,
5932
5937
  y: o
5933
5938
  };
5934
5939
  }
5935
- var Qo = 25;
5936
- function $o(e, t, n) {
5940
+ var $o = 25;
5941
+ function es(e, t, n) {
5937
5942
  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;
5943
+ let r = n === "layoutViewport", i = Q(e), a = yo(e), o = i.visualViewport, s = a.clientWidth, c = a.clientHeight, l = 0, u = 0;
5939
5944
  if (o) {
5940
- let e = !Mo() || t === "fixed";
5945
+ let e = !No() || t === "fixed";
5941
5946
  r ? e || (l = -o.offsetLeft, u = -o.offsetTop) : (s = o.width, c = o.height, e && (l = o.offsetLeft, u = o.offsetTop));
5942
5947
  }
5943
- if (qo(a) <= 0) {
5948
+ if (Jo(a) <= 0) {
5944
5949
  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);
5950
+ o <= $o && (s -= o);
5946
5951
  }
5947
5952
  return {
5948
5953
  width: s,
@@ -5951,8 +5956,8 @@ function $o(e, t, n) {
5951
5956
  y: u
5952
5957
  };
5953
5958
  }
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);
5959
+ function ts(e, t) {
5960
+ let n = qo(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Uo(e);
5956
5961
  return {
5957
5962
  width: e.clientWidth * a.x,
5958
5963
  height: e.clientHeight * a.y,
@@ -5960,13 +5965,13 @@ function es(e, t) {
5960
5965
  y: r * a.y
5961
5966
  };
5962
5967
  }
5963
- function ts(e, t, n) {
5968
+ function ns(e, t, n) {
5964
5969
  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);
5970
+ if (t === "viewport" || t === "layoutViewport") r = es(e, n, t);
5971
+ else if (t === "document") r = Qo(yo(e));
5972
+ else if (xo(t)) r = ts(t, n);
5968
5973
  else {
5969
- let n = Wo(e);
5974
+ let n = Go(e);
5970
5975
  r = {
5971
5976
  x: t.x - n.x,
5972
5977
  y: t.y - n.y,
@@ -5976,20 +5981,20 @@ function ts(e, t, n) {
5976
5981
  }
5977
5982
  return eo(r);
5978
5983
  }
5979
- function ns(e, t) {
5984
+ function rs(e, t) {
5980
5985
  let n = t.get(e);
5981
5986
  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);
5987
+ let r = zo(e, [], !1).filter((e) => xo(e) && vo(e) !== "body"), i = null, a = Fo(e).position === "fixed", o = a ? Lo(e) : e;
5988
+ for (; xo(o) && !Po(o);) {
5989
+ let e = Fo(o), t = jo(o), n = i ? i.position : a ? "fixed" : "";
5990
+ !t && (n === "fixed" || n === "absolute" && e.position === "static") ? r = r.filter((e) => e !== o) : i = e, o = Lo(o);
5986
5991
  }
5987
5992
  return t.set(e, r), r;
5988
5993
  }
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;
5994
+ function is(e) {
5995
+ 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
5996
  for (let e = 1; e < a.length; e++) {
5992
- let n = ts(t, a[e], i);
5997
+ let n = ns(t, a[e], i);
5993
5998
  s = Aa(n.top, s), c = ka(n.right, c), l = ka(n.bottom, l), u = Aa(n.left, u);
5994
5999
  }
5995
6000
  return {
@@ -5999,24 +6004,24 @@ function rs(e) {
5999
6004
  y: s
6000
6005
  };
6001
6006
  }
6002
- function is(e) {
6003
- let { width: t, height: n } = Bo(e);
6007
+ function as(e) {
6008
+ let { width: t, height: n } = Vo(e);
6004
6009
  return {
6005
6010
  width: t,
6006
6011
  height: n
6007
6012
  };
6008
6013
  }
6009
- function as(e, t, n) {
6010
- let r = xo(t), i = yo(t), a = n === "fixed", o = Ko(e, !0, a, t), s = {
6014
+ function os(e, t, n) {
6015
+ let r = So(t), i = yo(t), a = n === "fixed", o = qo(e, !0, a, t), s = {
6011
6016
  scrollLeft: 0,
6012
6017
  scrollTop: 0
6013
6018
  }, c = Na(0);
6014
- if ((r || !a) && ((vo(t) !== "body" || Co(i)) && (s = Fo(t)), r)) {
6015
- let e = Ko(t, !0, a, t);
6019
+ if ((r || !a) && ((vo(t) !== "body" || wo(i)) && (s = Io(t)), r)) {
6020
+ let e = qo(t, !0, a, t);
6016
6021
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
6017
6022
  }
6018
- !r && i && (c.x = qo(i));
6019
- let l = i && !r && !a ? Jo(i, s) : Na(0);
6023
+ !r && i && (c.x = Jo(i));
6024
+ let l = i && !r && !a ? Yo(i, s) : Na(0);
6020
6025
  return {
6021
6026
  x: o.left + s.scrollLeft - c.x - l.x,
6022
6027
  y: o.top + s.scrollTop - c.y - l.y,
@@ -6024,34 +6029,34 @@ function as(e, t, n) {
6024
6029
  height: o.height
6025
6030
  };
6026
6031
  }
6027
- function os(e) {
6028
- return Po(e).position === "static";
6032
+ function ss(e) {
6033
+ return Fo(e).position === "static";
6029
6034
  }
6030
- function ss(e, t) {
6031
- if (!xo(e) || Po(e).position === "fixed") return null;
6035
+ function cs(e, t) {
6036
+ if (!So(e) || Fo(e).position === "fixed") return null;
6032
6037
  if (t) return t(e);
6033
6038
  let n = e.offsetParent;
6034
6039
  return yo(e) === n && (n = n.ownerDocument.body), n;
6035
6040
  }
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);
6041
+ function ls(e, t) {
6042
+ let n = Q(e);
6043
+ if (Eo(e)) return n;
6044
+ if (!So(e)) {
6045
+ let t = Lo(e);
6046
+ for (; t && !Po(t);) {
6047
+ if (xo(t) && !ss(t)) return t;
6048
+ t = Lo(t);
6044
6049
  }
6045
6050
  return n;
6046
6051
  }
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;
6052
+ let r = cs(e, t);
6053
+ for (; r && To(r) && ss(r);) r = cs(r, t);
6054
+ return r && Po(r) && ss(r) && !jo(r) ? n : r || Mo(e) || n;
6050
6055
  }
6051
- var ls = async function(e) {
6052
- let t = this.getOffsetParent || cs, n = this.getDimensions, r = await n(e.floating);
6056
+ var us = async function(e) {
6057
+ let t = this.getOffsetParent || ls, n = this.getDimensions, r = await n(e.floating);
6053
6058
  return {
6054
- reference: as(e.reference, await t(e.floating), e.strategy),
6059
+ reference: os(e.reference, await t(e.floating), e.strategy),
6055
6060
  floating: {
6056
6061
  x: 0,
6057
6062
  y: 0,
@@ -6060,25 +6065,25 @@ var ls = async function(e) {
6060
6065
  }
6061
6066
  };
6062
6067
  };
6063
- function us(e) {
6064
- return Po(e).direction === "rtl";
6068
+ function ds(e) {
6069
+ return Fo(e).direction === "rtl";
6065
6070
  }
6066
- var ds = {
6067
- convertOffsetParentRelativeRectToViewportRelativeRect: Yo,
6071
+ var fs = {
6072
+ convertOffsetParentRelativeRectToViewportRelativeRect: Xo,
6068
6073
  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
6074
+ getClippingRect: is,
6075
+ getOffsetParent: ls,
6076
+ getElementRects: us,
6077
+ getClientRects: Zo,
6078
+ getDimensions: as,
6079
+ getScale: Uo,
6080
+ isElement: xo,
6081
+ isRTL: ds
6077
6082
  };
6078
- function fs(e, t) {
6083
+ function ps(e, t) {
6079
6084
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
6080
6085
  }
6081
- function ps(e, t, n) {
6086
+ function ms(e, t, n) {
6082
6087
  let r = null, i, a = yo(e);
6083
6088
  function o() {
6084
6089
  var e;
@@ -6094,7 +6099,7 @@ function ps(e, t, n) {
6094
6099
  }, y = !0;
6095
6100
  function b(t) {
6096
6101
  let n = t[0].intersectionRatio;
6097
- if (!fs(l, e.getBoundingClientRect())) return s();
6102
+ if (!ps(l, e.getBoundingClientRect())) return s();
6098
6103
  if (n !== c) {
6099
6104
  if (!y) return s();
6100
6105
  n ? s(!1, n) : i = setTimeout(() => {
@@ -6113,18 +6118,18 @@ function ps(e, t, n) {
6113
6118
  }
6114
6119
  r.observe(e);
6115
6120
  }
6116
- let c = Z(e), l = () => s(n);
6121
+ let c = Q(e), l = () => s(n);
6117
6122
  return c.addEventListener("resize", l), s(!0), () => {
6118
6123
  c.removeEventListener("resize", l), o();
6119
6124
  };
6120
6125
  }
6121
- function ms(e, t, n, r) {
6126
+ function hs(e, t, n, r) {
6122
6127
  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) : []] : [];
6128
+ 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
6129
  u.forEach((e) => {
6125
6130
  i && e.addEventListener("scroll", n), a && e.addEventListener("resize", n);
6126
6131
  });
6127
- let d = l && s ? ps(l, n, a) : null, f = -1, p = null;
6132
+ let d = l && s ? ms(l, n, a) : null, f = -1, p = null;
6128
6133
  o && (p = new ResizeObserver((e) => {
6129
6134
  let [r] = e;
6130
6135
  r && r.target === l && p && t && (p.unobserve(t), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
@@ -6132,11 +6137,11 @@ function ms(e, t, n, r) {
6132
6137
  (e = p) == null || e.observe(t);
6133
6138
  })), n();
6134
6139
  }), l && !c && p.observe(l), t && p.observe(t));
6135
- let m, h = c ? Ko(e) : null;
6140
+ let m, h = c ? qo(e) : null;
6136
6141
  c && g();
6137
6142
  function g() {
6138
- let t = Ko(e);
6139
- h && !fs(h, t) && n(), h = t, m = requestAnimationFrame(g);
6143
+ let t = qo(e);
6144
+ h && !ps(h, t) && n(), h = t, m = requestAnimationFrame(g);
6140
6145
  }
6141
6146
  return n(), () => {
6142
6147
  var e;
@@ -6145,9 +6150,9 @@ function ms(e, t, n, r) {
6145
6150
  }), d?.(), (e = p) == null || e.disconnect(), p = null, c && cancelAnimationFrame(m);
6146
6151
  };
6147
6152
  }
6148
- var hs = po, gs = mo, _s = oo, vs = go, ys = lo, bs = ao, xs = ho, Ss = (e, t, n) => {
6153
+ var gs = po, _s = mo, vs = oo, ys = go, bs = lo, xs = ao, Ss = ho, Cs = (e, t, n) => {
6149
6154
  let r = /* @__PURE__ */ new Map(), i = n ?? {}, a = {
6150
- ...ds,
6155
+ ...fs,
6151
6156
  ...i.platform,
6152
6157
  _c: r
6153
6158
  };
@@ -6158,19 +6163,19 @@ var hs = po, gs = mo, _s = oo, vs = go, ys = lo, bs = ao, xs = ho, Ss = (e, t, n
6158
6163
  }, $ = /* @__PURE__ */ we({
6159
6164
  Vue: () => n,
6160
6165
  Vue2: () => void 0,
6161
- del: () => Es,
6162
- install: () => ws,
6166
+ del: () => Ds,
6167
+ install: () => Ts,
6163
6168
  isVue2: () => !1,
6164
6169
  isVue3: () => !0,
6165
- set: () => Ts
6170
+ set: () => Es
6166
6171
  });
6167
- import * as Cs from "vue";
6168
- Ee($, Cs);
6169
- function ws() {}
6170
- function Ts(e, t, n) {
6172
+ import * as ws from "vue";
6173
+ Ee($, ws);
6174
+ function Ts() {}
6175
+ function Es(e, t, n) {
6171
6176
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
6172
6177
  }
6173
- function Es(e, t) {
6178
+ function Ds(e, t) {
6174
6179
  if (Array.isArray(e)) {
6175
6180
  e.splice(t, 1);
6176
6181
  return;
@@ -6179,53 +6184,53 @@ function Es(e, t) {
6179
6184
  }
6180
6185
  //#endregion
6181
6186
  //#region node_modules/@floating-ui/vue/dist/floating-ui.vue.mjs
6182
- function Ds(e) {
6187
+ function Os(e) {
6183
6188
  return typeof e == "object" && !!e && "$el" in e;
6184
6189
  }
6185
- function Os(e) {
6186
- if (Ds(e)) {
6190
+ function ks(e) {
6191
+ if (Os(e)) {
6187
6192
  let t = e.$el;
6188
6193
  return bo(t) && vo(t) === "#comment" ? null : t;
6189
6194
  }
6190
6195
  return e;
6191
6196
  }
6192
- function ks(e) {
6197
+ function As(e) {
6193
6198
  return typeof e == "function" ? e() : (0, $.unref)(e);
6194
6199
  }
6195
- function As(e) {
6200
+ function js(e) {
6196
6201
  return {
6197
6202
  name: "arrow",
6198
6203
  options: e,
6199
6204
  fn(t) {
6200
- let n = Os(ks(e.element));
6201
- return n == null ? {} : bs({
6205
+ let n = ks(As(e.element));
6206
+ return n == null ? {} : xs({
6202
6207
  element: n,
6203
6208
  padding: e.padding
6204
6209
  }).fn(t);
6205
6210
  }
6206
6211
  };
6207
6212
  }
6208
- function js(e) {
6213
+ function Ms(e) {
6209
6214
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
6210
6215
  }
6211
- function Ms(e, t) {
6212
- let n = js(e);
6216
+ function Ns(e, t) {
6217
+ let n = Ms(e);
6213
6218
  return Math.round(t * n) / n;
6214
6219
  }
6215
- function Ns(e, t, n) {
6220
+ function Ps(e, t, n) {
6216
6221
  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)(() => {
6222
+ 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
6223
  let e = {
6219
6224
  position: p.value,
6220
6225
  left: "0",
6221
6226
  top: "0"
6222
6227
  };
6223
6228
  if (!u.value) return e;
6224
- let t = Ms(u.value, d.value), n = Ms(u.value, f.value);
6229
+ let t = Ns(u.value, d.value), n = Ns(u.value, f.value);
6225
6230
  return c.value ? {
6226
6231
  ...e,
6227
6232
  transform: "translate(" + t + "px, " + n + "px)",
6228
- ...js(u.value) >= 1.5 && { willChange: "transform" }
6233
+ ...Ms(u.value) >= 1.5 && { willChange: "transform" }
6229
6234
  } : {
6230
6235
  position: p.value,
6231
6236
  left: t + "px",
@@ -6235,7 +6240,7 @@ function Ns(e, t, n) {
6235
6240
  function y() {
6236
6241
  if (l.value == null || u.value == null) return;
6237
6242
  let e = i.value;
6238
- Ss(l.value, u.value, {
6243
+ Cs(l.value, u.value, {
6239
6244
  middleware: a.value,
6240
6245
  placement: o.value,
6241
6246
  strategy: s.value
@@ -6277,7 +6282,7 @@ function Ns(e, t, n) {
6277
6282
  }
6278
6283
  //#endregion
6279
6284
  //#region node_modules/reka-ui/dist/Popper/PopperContent.js
6280
- var Ps = ["dir"], Fs = {
6285
+ var Fs = ["dir"], Is = {
6281
6286
  side: "bottom",
6282
6287
  sideOffset: 0,
6283
6288
  sideFlip: !0,
@@ -6294,7 +6299,7 @@ var Ps = ["dir"], Fs = {
6294
6299
  positionStrategy: "fixed",
6295
6300
  updatePositionStrategy: "optimized",
6296
6301
  prioritizePosition: !1
6297
- }, [Is, Ls] = /*#__PURE__*/ Cr("PopperContent"), Rs = /* @__PURE__ */ g({
6302
+ }, [Ls, Rs] = /*#__PURE__*/ Cr("PopperContent"), zs = /* @__PURE__ */ g({
6298
6303
  inheritAttrs: !1,
6299
6304
  __name: "PopperContent",
6300
6305
  props: /* @__PURE__ */ w({
@@ -6386,10 +6391,10 @@ var Ps = ["dir"], Fs = {
6386
6391
  type: null,
6387
6392
  required: !1
6388
6393
  }
6389
- }, { ...Fs }),
6394
+ }, { ...Is }),
6390
6395
  emits: ["placed"],
6391
6396
  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 : {
6397
+ 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
6398
  top: 0,
6394
6399
  right: 0,
6395
6400
  bottom: 0,
@@ -6403,32 +6408,32 @@ var Ps = ["dir"], Fs = {
6403
6408
  mainAxis: n.sideFlip,
6404
6409
  crossAxis: n.alignFlip
6405
6410
  })), b = c(() => [
6406
- hs({
6411
+ gs({
6407
6412
  mainAxis: n.sideOffset + m.value,
6408
6413
  alignmentAxis: n.alignOffset
6409
6414
  }),
6410
- n.prioritizePosition && n.avoidCollisions && _s({
6415
+ n.prioritizePosition && n.avoidCollisions && vs({
6411
6416
  ...v.value,
6412
6417
  ...y.value
6413
6418
  }),
6414
- n.avoidCollisions && gs({
6419
+ n.avoidCollisions && _s({
6415
6420
  mainAxis: !0,
6416
6421
  crossAxis: !!n.prioritizePosition,
6417
- limiter: n.sticky === "partial" ? xs() : void 0,
6422
+ limiter: n.sticky === "partial" ? Ss() : void 0,
6418
6423
  ...v.value
6419
6424
  }),
6420
- !n.prioritizePosition && n.avoidCollisions && _s({
6425
+ !n.prioritizePosition && n.avoidCollisions && vs({
6421
6426
  ...v.value,
6422
6427
  ...y.value
6423
6428
  }),
6424
- vs({
6429
+ ys({
6425
6430
  ...v.value,
6426
6431
  apply: ({ elements: e, rects: t, availableWidth: n, availableHeight: r }) => {
6427
6432
  let { width: i, height: a } = t.reference, o = e.floating.style;
6428
6433
  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
6434
  }
6430
6435
  }),
6431
- f.value && As({
6436
+ f.value && js({
6432
6437
  element: f.value,
6433
6438
  padding: n.arrowPadding
6434
6439
  }),
@@ -6437,14 +6442,14 @@ var Ps = ["dir"], Fs = {
6437
6442
  arrowHeight: m.value,
6438
6443
  dir: s.value
6439
6444
  }),
6440
- n.hideWhenDetached && ys({
6445
+ n.hideWhenDetached && bs({
6441
6446
  strategy: "referenceHidden",
6442
6447
  ...v.value
6443
6448
  })
6444
- ]), { floatingStyles: x, placement: S, isPositioned: C, middlewareData: w, update: E } = Ns(c(() => n.reference ?? i.anchor.value), u, {
6449
+ ]), { floatingStyles: x, placement: S, isPositioned: C, middlewareData: w, update: E } = Ps(c(() => n.reference ?? i.anchor.value), u, {
6445
6450
  strategy: n.positionStrategy,
6446
6451
  placement: h,
6447
- whileElementsMounted: (...e) => ms(...e, {
6452
+ whileElementsMounted: (...e) => hs(...e, {
6448
6453
  layoutShift: !n.disableUpdateOnLayoutShift,
6449
6454
  animationFrame: n.updatePositionStrategy === "always"
6450
6455
  }),
@@ -6457,9 +6462,9 @@ var Ps = ["dir"], Fs = {
6457
6462
  let e = w.value.arrow?.centerOffset !== 0;
6458
6463
  return n.hideShiftedArrow && e;
6459
6464
  }), j = I("");
6460
- return pe(() => {
6465
+ return H(() => {
6461
6466
  o.value && (j.value = window.getComputedStyle(o.value).zIndex);
6462
- }), Ls({
6467
+ }), Rs({
6463
6468
  placedSide: D,
6464
6469
  onArrowChange: (e) => f.value = e,
6465
6470
  arrowX: c(() => w.value.arrow?.x ?? 0),
@@ -6499,7 +6504,7 @@ var Ps = ["dir"], Fs = {
6499
6504
  "data-align": O.value,
6500
6505
  style: { animation: B(C) ? void 0 : "none" }
6501
6506
  }), {
6502
- default: H(() => [L(e.$slots, "default")]),
6507
+ default: U(() => [L(e.$slots, "default")]),
6503
6508
  _: 3
6504
6509
  }, 16, [
6505
6510
  "as-child",
@@ -6518,7 +6523,7 @@ var Ps = ["dir"], Fs = {
6518
6523
  dir: B(s),
6519
6524
  style: { animation: B(C) ? void 0 : "none" }
6520
6525
  }), {
6521
- default: H(() => [L(e.$slots, "default")]),
6526
+ default: U(() => [L(e.$slots, "default")]),
6522
6527
  _: 3
6523
6528
  }, 16, [
6524
6529
  "as-child",
@@ -6527,14 +6532,14 @@ var Ps = ["dir"], Fs = {
6527
6532
  "data-align",
6528
6533
  "dir",
6529
6534
  "style"
6530
- ]))], 12, Ps));
6535
+ ]))], 12, Fs));
6531
6536
  }
6532
- }), zs = {
6537
+ }), Bs = {
6533
6538
  top: "bottom",
6534
6539
  right: "left",
6535
6540
  bottom: "top",
6536
6541
  left: "right"
6537
- }, Bs = /* @__PURE__ */ g({
6542
+ }, Vs = /* @__PURE__ */ g({
6538
6543
  inheritAttrs: !1,
6539
6544
  __name: "PopperArrow",
6540
6545
  props: {
@@ -6561,7 +6566,7 @@ var Ps = ["dir"], Fs = {
6561
6566
  }
6562
6567
  },
6563
6568
  setup(e) {
6564
- let { forwardRef: t } = J(), n = Is(), r = c(() => zs[n.placedSide.value]);
6569
+ let { forwardRef: t } = Y(), n = Ls(), r = c(() => Bs[n.placedSide.value]);
6565
6570
  return (e, i) => (F(), d("span", {
6566
6571
  ref: (e) => {
6567
6572
  B(n).onArrowChange(e ?? void 0);
@@ -6594,7 +6599,7 @@ var Ps = ["dir"], Fs = {
6594
6599
  width: e.width,
6595
6600
  height: e.height
6596
6601
  }), {
6597
- default: H(() => [L(e.$slots, "default")]),
6602
+ default: U(() => [L(e.$slots, "default")]),
6598
6603
  _: 3
6599
6604
  }, 16, [
6600
6605
  "as",
@@ -6604,7 +6609,7 @@ var Ps = ["dir"], Fs = {
6604
6609
  "height"
6605
6610
  ])], 4));
6606
6611
  }
6607
- }), [Vs, Hs] = /*#__PURE__*/ Cr("PopoverRoot"), Us = /* @__PURE__ */ g({
6612
+ }), [Hs, Us] = /*#__PURE__*/ Cr("PopoverRoot"), Ws = /* @__PURE__ */ g({
6608
6613
  __name: "PopoverRoot",
6609
6614
  props: {
6610
6615
  defaultOpen: {
@@ -6625,11 +6630,11 @@ var Ps = ["dir"], Fs = {
6625
6630
  },
6626
6631
  emits: ["update:open"],
6627
6632
  setup(e, { emit: t }) {
6628
- let n = e, r = t, { modal: i } = de(n), a = ai(n, "open", r, {
6633
+ let n = e, r = t, { modal: i } = fe(n), a = ai(n, "open", r, {
6629
6634
  defaultValue: n.defaultOpen,
6630
6635
  passive: n.open === void 0
6631
6636
  });
6632
- return Hs({
6637
+ return Us({
6633
6638
  contentId: "",
6634
6639
  triggerId: "",
6635
6640
  modal: i,
@@ -6643,14 +6648,14 @@ var Ps = ["dir"], Fs = {
6643
6648
  triggerElement: I(),
6644
6649
  hasCustomAnchor: I(!1)
6645
6650
  }), (e, t) => (F(), l(B(ba), null, {
6646
- default: H(() => [L(e.$slots, "default", {
6651
+ default: U(() => [L(e.$slots, "default", {
6647
6652
  open: B(a),
6648
6653
  close: () => a.value = !1
6649
6654
  })]),
6650
6655
  _: 3
6651
6656
  }));
6652
6657
  }
6653
- }), Ws = /* @__PURE__ */ g({
6658
+ }), Gs = /* @__PURE__ */ g({
6654
6659
  __name: "PopoverAnchor",
6655
6660
  props: {
6656
6661
  reference: {
@@ -6668,48 +6673,14 @@ var Ps = ["dir"], Fs = {
6668
6673
  },
6669
6674
  setup(e) {
6670
6675
  let t = e;
6671
- J();
6672
- let n = Vs();
6676
+ Y();
6677
+ let n = Hs();
6673
6678
  return A(() => {
6674
6679
  n.hasCustomAnchor.value = !0;
6675
6680
  }), P(() => {
6676
6681
  n.hasCustomAnchor.value = !1;
6677
6682
  }), (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")]),
6683
+ default: U(() => [L(e.$slots, "default")]),
6713
6684
  _: 3
6714
6685
  }, 16));
6715
6686
  }
@@ -6822,7 +6793,7 @@ var Ps = ["dir"], Fs = {
6822
6793
  "closeAutoFocus"
6823
6794
  ],
6824
6795
  setup(e, { emit: t }) {
6825
- let n = e, r = t, i = Si(Gr(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = J(), o = Vs();
6796
+ let n = e, r = t, i = Si(Gr(n, "trapFocus", "disableOutsidePointerEvents")), { forwardRef: a } = Y(), o = Hs();
6826
6797
  return bi(), (e, t) => (F(), l(B(ga), {
6827
6798
  "as-child": "",
6828
6799
  loop: "",
@@ -6830,7 +6801,7 @@ var Ps = ["dir"], Fs = {
6830
6801
  onMountAutoFocus: t[5] ||= (e) => r("openAutoFocus", e),
6831
6802
  onUnmountAutoFocus: t[6] ||= (e) => r("closeAutoFocus", e)
6832
6803
  }, {
6833
- default: H(() => [m(B(na), {
6804
+ default: U(() => [m(B(na), {
6834
6805
  "as-child": "",
6835
6806
  "disable-outside-pointer-events": e.disableOutsidePointerEvents,
6836
6807
  onPointerDownOutside: t[0] ||= (e) => r("pointerDownOutside", e),
@@ -6839,7 +6810,7 @@ var Ps = ["dir"], Fs = {
6839
6810
  onFocusOutside: t[3] ||= (e) => r("focusOutside", e),
6840
6811
  onDismiss: t[4] ||= (e) => B(o).onOpenChange(!1)
6841
6812
  }, {
6842
- default: H(() => [m(B(Rs), T(B(i), {
6813
+ default: U(() => [m(B(zs), T(B(i), {
6843
6814
  id: B(o).contentId,
6844
6815
  ref: B(a),
6845
6816
  "data-state": B(o).open.value ? "open" : "closed",
@@ -6853,7 +6824,7 @@ var Ps = ["dir"], Fs = {
6853
6824
  },
6854
6825
  role: "dialog"
6855
6826
  }), {
6856
- default: H(() => [L(e.$slots, "default")]),
6827
+ default: U(() => [L(e.$slots, "default")]),
6857
6828
  _: 3
6858
6829
  }, 16, [
6859
6830
  "id",
@@ -6970,9 +6941,9 @@ var Ps = ["dir"], Fs = {
6970
6941
  "closeAutoFocus"
6971
6942
  ],
6972
6943
  setup(e, { emit: t }) {
6973
- let n = e, r = t, i = Vs(), a = I(!1);
6944
+ let n = e, r = t, i = Hs(), a = I(!1);
6974
6945
  mi(!0);
6975
- let o = Ci(n, r), { forwardRef: s, currentElement: c } = J();
6946
+ let o = Ci(n, r), { forwardRef: s, currentElement: c } = Y();
6976
6947
  return Bi(c), (e, t) => (F(), l(Ks, T(B(o), {
6977
6948
  ref: B(s),
6978
6949
  "trap-focus": B(i).open.value,
@@ -6987,7 +6958,7 @@ var Ps = ["dir"], Fs = {
6987
6958
  },
6988
6959
  onFocusOutside: t[2] ||= ge(() => {}, ["prevent"])
6989
6960
  }), {
6990
- default: H(() => [L(e.$slots, "default")]),
6961
+ default: U(() => [L(e.$slots, "default")]),
6991
6962
  _: 3
6992
6963
  }, 16, ["trap-focus"]));
6993
6964
  }
@@ -7096,7 +7067,7 @@ var Ps = ["dir"], Fs = {
7096
7067
  "closeAutoFocus"
7097
7068
  ],
7098
7069
  setup(e, { emit: t }) {
7099
- let n = e, r = t, i = Vs(), a = I(!1), o = I(!1), s = Ci(n, r);
7070
+ let n = e, r = t, i = Hs(), a = I(!1), o = I(!1), s = Ci(n, r);
7100
7071
  return (e, t) => (F(), l(Ks, T(B(s), {
7101
7072
  "trap-focus": !1,
7102
7073
  "disable-outside-pointer-events": !1,
@@ -7109,7 +7080,7 @@ var Ps = ["dir"], Fs = {
7109
7080
  B(i).triggerElement.value?.contains(t) && e.preventDefault(), e.detail.originalEvent.type === "focusin" && o.value && e.preventDefault();
7110
7081
  }
7111
7082
  }), {
7112
- default: H(() => [L(e.$slots, "default")]),
7083
+ default: U(() => [L(e.$slots, "default")]),
7113
7084
  _: 3
7114
7085
  }, 16));
7115
7086
  }
@@ -7222,13 +7193,13 @@ var Ps = ["dir"], Fs = {
7222
7193
  "closeAutoFocus"
7223
7194
  ],
7224
7195
  setup(e, { emit: t }) {
7225
- let n = e, r = t, i = Vs(), a = Ci(n, r), { forwardRef: o } = J();
7196
+ let n = e, r = t, i = Hs(), a = Ci(n, r), { forwardRef: o } = Y();
7226
7197
  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")]),
7198
+ default: U(() => [B(i).modal.value ? (F(), l(qs, T({ key: 0 }, B(a), { ref: B(o) }), {
7199
+ default: U(() => [L(e.$slots, "default")]),
7229
7200
  _: 3
7230
7201
  }, 16)) : (F(), l(Js, T({ key: 1 }, B(a), { ref: B(o) }), {
7231
- default: H(() => [L(e.$slots, "default")]),
7202
+ default: U(() => [L(e.$slots, "default")]),
7232
7203
  _: 3
7233
7204
  }, 16))]),
7234
7205
  _: 3
@@ -7257,7 +7228,7 @@ var Ps = ["dir"], Fs = {
7257
7228
  setup(e) {
7258
7229
  let t = e;
7259
7230
  return (e, n) => (F(), l(B(_a), O(b(t)), {
7260
- default: H(() => [L(e.$slots, "default")]),
7231
+ default: U(() => [L(e.$slots, "default")]),
7261
7232
  _: 3
7262
7233
  }, 16));
7263
7234
  }
@@ -7275,11 +7246,11 @@ var Ps = ["dir"], Fs = {
7275
7246
  }
7276
7247
  },
7277
7248
  setup(e) {
7278
- let t = e, n = Vs(), { forwardRef: r, currentElement: i } = J();
7249
+ let t = e, n = Hs(), { forwardRef: r, currentElement: i } = Y();
7279
7250
  return n.triggerId ||= Hi(void 0, "reka-popover-trigger"), N(() => {
7280
7251
  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), {
7252
+ }), (e, i) => (F(), l(se(B(n).hasCustomAnchor.value ? B(Xi) : B(xa)), { "as-child": "" }, {
7253
+ default: U(() => [m(B(Xi), {
7283
7254
  id: B(n).triggerId,
7284
7255
  ref: B(r),
7285
7256
  type: e.as === "button" ? "button" : void 0,
@@ -7291,7 +7262,7 @@ var Ps = ["dir"], Fs = {
7291
7262
  "as-child": t.asChild,
7292
7263
  onClick: B(n).onOpenToggle
7293
7264
  }, {
7294
- default: H(() => [L(e.$slots, "default")]),
7265
+ default: U(() => [L(e.$slots, "default")]),
7295
7266
  _: 3
7296
7267
  }, 8, [
7297
7268
  "id",
@@ -7335,8 +7306,8 @@ var Ps = ["dir"], Fs = {
7335
7306
  },
7336
7307
  setup(e) {
7337
7308
  let t = e;
7338
- return J(), (e, n) => (F(), l(B(Bs), O(b(t)), {
7339
- default: H(() => [L(e.$slots, "default")]),
7309
+ return Y(), (e, n) => (F(), l(B(Vs), O(b(t)), {
7310
+ default: U(() => [L(e.$slots, "default")]),
7340
7311
  _: 3
7341
7312
  }, 16));
7342
7313
  }
@@ -7371,8 +7342,8 @@ var Ps = ["dir"], Fs = {
7371
7342
  },
7372
7343
  emits: ["update:open"],
7373
7344
  setup(e, { emit: t }) {
7374
- let n = e, r = t, { openDelay: i, closeDelay: a, enableTouch: o } = de(n);
7375
- J();
7345
+ let n = e, r = t, { openDelay: i, closeDelay: a, enableTouch: o } = fe(n);
7346
+ Y();
7376
7347
  let s = ai(n, "open", r, {
7377
7348
  defaultValue: n.defaultOpen,
7378
7349
  passive: n.open === void 0
@@ -7400,7 +7371,7 @@ var Ps = ["dir"], Fs = {
7400
7371
  triggerElement: m,
7401
7372
  enableTouch: o
7402
7373
  }), (e, t) => (F(), l(B(ba), null, {
7403
- default: H(() => [L(e.$slots, "default", { open: B(s) })]),
7374
+ default: U(() => [L(e.$slots, "default", { open: B(s) })]),
7404
7375
  _: 3
7405
7376
  }));
7406
7377
  }
@@ -7516,12 +7487,12 @@ var ic = /* @__PURE__ */ g({
7516
7487
  "interactOutside"
7517
7488
  ],
7518
7489
  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);
7490
+ let n = e, r = t, i = Si(n), { forwardRef: a, currentElement: o } = Y(), s = $s(), { isPointerInTransit: c, onPointerExit: u } = wi(s.triggerElement, o);
7520
7491
  Yr(s.isPointerInTransitRef, c, { direction: "rtl" }), u(() => {
7521
7492
  s.onClose();
7522
7493
  });
7523
7494
  let d = I(!1), f;
7524
- pe((e) => {
7495
+ H((e) => {
7525
7496
  if (d.value) {
7526
7497
  let t = document.body;
7527
7498
  f = t.style.userSelect || t.style.webkitUserSelect, t.style.userSelect = "none", t.style.webkitUserSelect = "none", e(() => {
@@ -7548,7 +7519,7 @@ var ic = /* @__PURE__ */ g({
7548
7519
  onFocusOutside: t[3] ||= ge((e) => r("focusOutside", e), ["prevent"]),
7549
7520
  onDismiss: B(s).onDismiss
7550
7521
  }, {
7551
- default: H(() => [m(B(Rs), T({
7522
+ default: U(() => [m(B(zs), T({
7552
7523
  ...B(i),
7553
7524
  ...e.$attrs
7554
7525
  }, {
@@ -7567,7 +7538,7 @@ var ic = /* @__PURE__ */ g({
7567
7538
  e.currentTarget.contains(e.target) && (d.value = !0), B(s).hasSelectionRef.value = !1, B(s).isPointerDownOnContentRef.value = !0;
7568
7539
  }
7569
7540
  }), {
7570
- default: H(() => [L(e.$slots, "default")]),
7541
+ default: U(() => [L(e.$slots, "default")]),
7571
7542
  _: 3
7572
7543
  }, 16, ["data-state", "style"])]),
7573
7544
  _: 3
@@ -7676,13 +7647,13 @@ var ic = /* @__PURE__ */ g({
7676
7647
  "interactOutside"
7677
7648
  ],
7678
7649
  setup(e, { emit: t }) {
7679
- let n = Ci(e, t), { forwardRef: r } = J(), i = $s();
7650
+ let n = Ci(e, t), { forwardRef: r } = Y(), i = $s();
7680
7651
  return (e, t) => (F(), l(B(qi), { present: e.forceMount || B(i).open.value }, {
7681
- default: H(() => [m(ic, T(B(n), {
7652
+ default: U(() => [m(ic, T(B(n), {
7682
7653
  ref: B(r),
7683
7654
  onPointerenter: t[0] ||= (e) => B(nc)(B(i).onOpen)(e)
7684
7655
  }), {
7685
- default: H(() => [L(e.$slots, "default")]),
7656
+ default: U(() => [L(e.$slots, "default")]),
7686
7657
  _: 3
7687
7658
  }, 16)]),
7688
7659
  _: 3
@@ -7711,7 +7682,7 @@ var ic = /* @__PURE__ */ g({
7711
7682
  setup(e) {
7712
7683
  let t = e;
7713
7684
  return (e, n) => (F(), l(B(_a), O(b(t)), {
7714
- default: H(() => [L(e.$slots, "default")]),
7685
+ default: U(() => [L(e.$slots, "default")]),
7715
7686
  _: 3
7716
7687
  }, 16));
7717
7688
  }
@@ -7733,7 +7704,7 @@ var ic = /* @__PURE__ */ g({
7733
7704
  }
7734
7705
  },
7735
7706
  setup(e) {
7736
- let { forwardRef: t, currentElement: n } = J(), r = $s();
7707
+ let { forwardRef: t, currentElement: n } = Y(), r = $s();
7737
7708
  r.triggerElement = n;
7738
7709
  function i() {
7739
7710
  setTimeout(() => {
@@ -7747,7 +7718,7 @@ var ic = /* @__PURE__ */ g({
7747
7718
  "as-child": "",
7748
7719
  reference: e.reference
7749
7720
  }, {
7750
- default: H(() => [m(B(Xi), {
7721
+ default: U(() => [m(B(Xi), {
7751
7722
  ref: B(t),
7752
7723
  "as-child": e.asChild,
7753
7724
  as: e.as,
@@ -7759,7 +7730,7 @@ var ic = /* @__PURE__ */ g({
7759
7730
  onFocus: n[2] ||= (e) => B(r).onOpen(),
7760
7731
  onBlur: n[3] ||= (e) => B(r).onClose()
7761
7732
  }, {
7762
- default: H(() => [L(e.$slots, "default")]),
7733
+ default: U(() => [L(e.$slots, "default")]),
7763
7734
  _: 3
7764
7735
  }, 8, [
7765
7736
  "as-child",
@@ -7769,99 +7740,646 @@ var ic = /* @__PURE__ */ g({
7769
7740
  _: 3
7770
7741
  }, 8, ["reference"]));
7771
7742
  }
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 = {
7743
+ }), cc = /* @__PURE__ */ De(Sr(), 1);
7744
+ String.raw;
7745
+ var lc = String.raw, uc = (() => {
7746
+ try {
7747
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
7748
+ } catch {
7749
+ return !1;
7750
+ }
7751
+ return !0;
7752
+ })(), 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 = (() => {
7753
+ try {
7754
+ return CSS.registerProperty({
7755
+ name: pc,
7756
+ syntax: "<number>",
7757
+ inherits: !1,
7758
+ initialValue: "0"
7759
+ }), CSS.registerProperty({
7760
+ name: hc,
7761
+ syntax: "<length>",
7762
+ inherits: !0,
7763
+ initialValue: "0px"
7764
+ }), CSS.registerProperty({
7765
+ name: mc,
7766
+ syntax: "<number>",
7767
+ inherits: !1,
7768
+ initialValue: "0"
7769
+ }), CSS.registerProperty({
7770
+ name: gc,
7771
+ syntax: "<number>",
7772
+ inherits: !0,
7773
+ initialValue: "0"
7774
+ }), !0;
7775
+ } catch {
7776
+ return !1;
7777
+ }
7778
+ })(), 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 {};
7779
+ 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}`;
7780
+ var Tc = (e, t, n) => {
7781
+ let r = document.createElement(e), [i, a] = Array.isArray(t) ? [void 0, t] : [t, n];
7782
+ return i && Object.assign(r, i), a?.forEach((e) => r.appendChild(e)), r;
7783
+ }, 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) => {
7784
+ typeof HTMLElement < "u" && typeof customElements < "u" && !customElements.get(e) && customElements.define(e, t);
7785
+ };
7786
+ function kc(e, t, { reverse: n = !1 } = {}) {
7787
+ let r = e.length;
7788
+ for (let i = n ? r - 1 : 0; n ? i >= 0 : i < r; n ? i-- : i++) t(e[i], i);
7789
+ }
7790
+ function Ac(e, t, n, r) {
7791
+ let i = t.formatToParts(e);
7792
+ n && i.unshift({
7793
+ type: "prefix",
7794
+ value: n
7795
+ }), r && i.push({
7796
+ type: "suffix",
7797
+ value: r
7798
+ });
7799
+ let a = [], o = [], s = [], c = [], l = {}, u = (e) => `${e}:${l[e] = (l[e] ?? -1) + 1}`, d = "", f = !1, p = !1;
7800
+ for (let e of i) {
7801
+ d += e.value;
7802
+ let t = e.type === "minusSign" || e.type === "plusSign" ? "sign" : e.type;
7803
+ t === "integer" ? (f = !0, o.push(...e.value.split("").map((e) => ({
7804
+ type: t,
7805
+ value: parseInt(e)
7806
+ })))) : t === "group" ? o.push({
7807
+ type: t,
7808
+ value: e.value
7809
+ }) : t === "decimal" ? (p = !0, s.push({
7810
+ type: t,
7811
+ value: e.value,
7812
+ key: u(t)
7813
+ })) : t === "fraction" ? s.push(...e.value.split("").map((e) => ({
7814
+ type: t,
7815
+ value: parseInt(e),
7816
+ key: u(t),
7817
+ pos: -1 - l[t]
7818
+ }))) : (f || p ? c : a).push({
7819
+ type: t,
7820
+ value: e.value,
7821
+ key: u(t)
7822
+ });
7823
+ }
7824
+ let m = [];
7825
+ for (let e = o.length - 1; e >= 0; e--) {
7826
+ let t = o[e];
7827
+ m.unshift(t.type === "integer" ? {
7828
+ ...t,
7829
+ key: u(t.type),
7830
+ pos: l[t.type]
7831
+ } : {
7832
+ ...t,
7833
+ key: u(t.type)
7834
+ });
7835
+ }
7836
+ return {
7837
+ pre: a,
7838
+ integer: m,
7839
+ fraction: s,
7840
+ post: c,
7841
+ valueAsString: d,
7842
+ value: typeof e == "string" ? parseFloat(e) : e
7843
+ };
7844
+ }
7845
+ var jc = dc && uc && _c, Mc = class extends wc {
7846
+ constructor() {
7847
+ super(), this.created = !1, this.batched = !1, this._preUpdated = !1;
7848
+ let { animated: e, ...t } = this.constructor.defaultProps;
7849
+ this._animated = this.computedAnimated = e, Object.assign(this, t);
7850
+ }
7851
+ get animated() {
7852
+ return this._animated;
7853
+ }
7854
+ set animated(e) {
7855
+ var t;
7856
+ this.animated !== e && (this._animated = e, (t = this.shadowRoot) == null || t.getAnimations().forEach((e) => e.finish()));
7857
+ }
7858
+ set data(e) {
7859
+ var t, n;
7860
+ if (e == null || e === this._data) return;
7861
+ let { pre: r, integer: i, fraction: a, post: o, value: s } = e;
7862
+ if (this.created) {
7863
+ let c = this._data;
7864
+ 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({
7865
+ integer: i,
7866
+ fraction: a
7867
+ }), this._post.update(o), this.batched || this.didUpdate();
7868
+ } else {
7869
+ this._data = e, this.attachShadow({ mode: "open" });
7870
+ try {
7871
+ this._internals ??= this.attachInternals(), this._internals.role = "img";
7872
+ } catch {}
7873
+ let t = document.createElement("style");
7874
+ this.nonce && (t.nonce = this.nonce), t.textContent = Cc, this.shadowRoot.appendChild(t), this._pre = new Ic(this, r, {
7875
+ justify: "right",
7876
+ part: "left"
7877
+ }), 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, {
7878
+ justify: "left",
7879
+ part: "right"
7880
+ }), this.shadowRoot.appendChild(this._post.el), this.created = !0;
7881
+ }
7882
+ try {
7883
+ this._internals.ariaLabel = e.valueAsString;
7884
+ } catch {}
7885
+ }
7886
+ willUpdate() {
7887
+ var e;
7888
+ 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());
7889
+ }
7890
+ didUpdate() {
7891
+ if (!this.computedAnimated || !this._preUpdated) return;
7892
+ this._abortAnimationsFinish ? this._abortAnimationsFinish.abort() : this.dispatchEvent(new Event("animationsstart")), this._pre.didUpdate(), this._num.didUpdate(), this._post.didUpdate();
7893
+ let e = new AbortController();
7894
+ Promise.all(this.shadowRoot.getAnimations().map((e) => e.finished)).then(() => {
7895
+ e.signal.aborted || (this.dispatchEvent(new Event("animationsfinish")), this._abortAnimationsFinish = void 0);
7896
+ }), this._abortAnimationsFinish = e;
7897
+ }
7898
+ };
7899
+ Mc.defaultProps = {
7900
+ transformTiming: {
7901
+ duration: 900,
7902
+ 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)"
7903
+ },
7904
+ spinTiming: void 0,
7905
+ opacityTiming: {
7906
+ duration: 450,
7907
+ easing: "ease-out"
7908
+ },
7909
+ animated: !0,
7910
+ trend: (e, t) => Math.sign(t - e),
7911
+ respectMotionPreference: !0,
7912
+ plugins: void 0,
7913
+ digits: void 0
7914
+ };
7915
+ var Nc = class {
7916
+ constructor(e, t, n, { className: r, ...i } = {}) {
7917
+ this.flow = e, this._integer = new Fc(e, t, {
7918
+ justify: "right",
7919
+ part: "integer"
7920
+ }), this._fraction = new Fc(e, n, {
7921
+ justify: "left",
7922
+ part: "fraction"
7923
+ }), this._inner = Tc("span", { className: "number__inner" }, [this._integer.el, this._fraction.el]), this.el = Tc("span", {
7924
+ ...i,
7925
+ part: "number",
7926
+ className: `number ${r ?? ""}`
7927
+ }, [this._inner]);
7928
+ }
7929
+ willUpdate() {
7930
+ this._prevWidth = this.el.offsetWidth, this._prevLeft = this.el.getBoundingClientRect().left, this._integer.willUpdate(), this._fraction.willUpdate();
7931
+ }
7932
+ update({ integer: e, fraction: t }) {
7933
+ this._integer.update(e), this._fraction.update(t);
7934
+ }
7935
+ didUpdate() {
7936
+ let e = this.el.getBoundingClientRect();
7937
+ this._integer.didUpdate(), this._fraction.didUpdate();
7938
+ let t = this._prevLeft - e.left, n = this.el.offsetWidth, r = this._prevWidth - n;
7939
+ this.el.style.setProperty("--width", String(n)), this.el.animate({
7940
+ [hc]: [`${t}px`, "0px"],
7941
+ [mc]: [r, 0]
7942
+ }, {
7943
+ ...this.flow.transformTiming,
7944
+ composite: "accumulate"
7945
+ });
7946
+ }
7947
+ }, Pc = class {
7948
+ constructor(e, t, { justify: n, className: r, ...i }, a) {
7949
+ this.flow = e, this.children = /* @__PURE__ */ new Map(), this.onCharRemove = (e) => () => {
7950
+ this.children.delete(e);
7951
+ }, this.justify = n;
7952
+ let o = t.map((e) => this.addChar(e).el);
7953
+ this.el = Tc("span", {
7954
+ ...i,
7955
+ className: `section section--justify-${n} ${r ?? ""}`
7956
+ }, a ? a(o) : o);
7957
+ }
7958
+ addChar(e, { startDigitsAtZero: t = !1, ...n } = {}) {
7959
+ let r = e.type === "integer" || e.type === "fraction" ? new zc(this, e.type, t ? 0 : e.value, e.pos, {
7960
+ ...n,
7961
+ onRemove: this.onCharRemove(e.key)
7962
+ }) : new Bc(this, e.type, e.value, {
7963
+ ...n,
7964
+ onRemove: this.onCharRemove(e.key)
7965
+ });
7966
+ return this.children.set(e.key, r), r;
7967
+ }
7968
+ unpop(e) {
7969
+ e.el.removeAttribute("inert"), e.el.style.top = "", e.el.style[this.justify] = "";
7970
+ }
7971
+ pop(e) {
7972
+ e.forEach((e) => {
7973
+ e.el.style.top = `${e.el.offsetTop}px`, e.el.style[this.justify] = `${Ec(e.el, this.justify)}px`;
7974
+ }), e.forEach((e) => {
7975
+ e.el.setAttribute("inert", ""), e.present = !1;
7976
+ });
7977
+ }
7978
+ addNewAndUpdateExisting(e) {
7979
+ let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = this.justify === "left", i = r ? "prepend" : "append";
7980
+ if (kc(e, (e) => {
7981
+ let r;
7982
+ 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, {
7983
+ startDigitsAtZero: !0,
7984
+ animateIn: !0
7985
+ }), t.set(e, r)), this.el[i](r.el);
7986
+ }, { reverse: r }), this.flow.computedAnimated) {
7987
+ let e = this.el.getBoundingClientRect();
7988
+ t.forEach((t) => {
7989
+ t.willUpdate(e);
7990
+ });
7991
+ }
7992
+ t.forEach((e, t) => {
7993
+ e.update(t.value);
7994
+ }), n.forEach((e, t) => {
7995
+ e.update(t.value);
7996
+ });
7997
+ }
7998
+ willUpdate() {
7999
+ let e = this.el.getBoundingClientRect();
8000
+ this._prevOffset = e[this.justify], this.children.forEach((t) => t.willUpdate(e));
8001
+ }
8002
+ didUpdate() {
8003
+ let e = this.el.getBoundingClientRect();
8004
+ this.children.forEach((t) => t.didUpdate(e));
8005
+ let t = e[this.justify], n = this._prevOffset - t;
8006
+ n && this.children.size && this.el.animate({ transform: [`translateX(${n}px)`, "none"] }, {
8007
+ ...this.flow.transformTiming,
8008
+ composite: "accumulate"
8009
+ });
8010
+ }
8011
+ }, Fc = class extends Pc {
8012
+ update(e) {
8013
+ let t = /* @__PURE__ */ new Map();
8014
+ this.children.forEach((n, r) => {
8015
+ e.find((e) => e.key === r) || t.set(r, n), this.unpop(n);
8016
+ }), this.addNewAndUpdateExisting(e), t.forEach((e) => {
8017
+ e instanceof zc && e.update(0);
8018
+ }), this.pop(t);
8019
+ }
8020
+ }, Ic = class extends Pc {
8021
+ update(e) {
8022
+ let t = /* @__PURE__ */ new Map();
8023
+ this.children.forEach((n, r) => {
8024
+ e.find((e) => e.key === r) || t.set(r, n);
8025
+ }), this.pop(t), this.addNewAndUpdateExisting(e);
8026
+ }
8027
+ }, Lc = class {
8028
+ constructor(e, t, { onRemove: n, animateIn: r = !1 } = {}) {
8029
+ this.flow = e, this.el = t, this._present = !0, this._remove = () => {
8030
+ var e;
8031
+ this.el.remove(), (e = this._onRemove) == null || e.call(this);
8032
+ }, this.el.classList.add("animate-presence"), this.flow.computedAnimated && r && this.el.animate({ "--_number-flow-d-opacity": [-.9999, 0] }, {
8033
+ ...this.flow.opacityTiming,
8034
+ composite: "accumulate"
8035
+ }), this._onRemove = n;
8036
+ }
8037
+ get present() {
8038
+ return this._present;
8039
+ }
8040
+ set present(e) {
8041
+ if (this._present !== e) {
8042
+ if (this._present = e, e ? this.el.removeAttribute("inert") : this.el.setAttribute("inert", ""), !this.flow.computedAnimated) {
8043
+ e || this._remove();
8044
+ return;
8045
+ }
8046
+ this.el.style.setProperty("--_number-flow-d-opacity", e ? "0" : "-.999"), this.el.animate({ [pc]: e ? [-.9999, 0] : [.999, 0] }, {
8047
+ ...this.flow.opacityTiming,
8048
+ composite: "accumulate"
8049
+ }), e ? this.flow.removeEventListener("animationsfinish", this._remove) : this.flow.addEventListener("animationsfinish", this._remove, { once: !0 });
8050
+ }
8051
+ }
8052
+ }, Rc = class extends Lc {
8053
+ constructor(e, t, n, r) {
8054
+ super(e.flow, n, r), this.section = e, this.value = t, this.el = n;
8055
+ }
8056
+ }, zc = class extends Rc {
8057
+ constructor(e, t, n, r, i) {
8058
+ let a = (e.flow.digits?.[r]?.max ?? 9) + 1, o = Array.from({ length: a }).map((e, t) => {
8059
+ let r = Tc("span", { className: "digit__num" }, [document.createTextNode(String(t))]);
8060
+ return t !== n && r.setAttribute("inert", ""), r.style.setProperty("--n", String(t)), r;
8061
+ }), s = Tc("span", {
8062
+ part: `digit ${t}-digit`,
8063
+ className: "digit"
8064
+ }, o);
8065
+ s.style.setProperty("--current", String(n)), s.style.setProperty("--length", String(a)), super(e, n, s, i), this.pos = r, this._onAnimationsFinish = () => {
8066
+ this.el.classList.remove("is-spinning");
8067
+ }, this._numbers = o, this.length = a;
8068
+ }
8069
+ willUpdate(e) {
8070
+ let t = this.el.getBoundingClientRect();
8071
+ this._prevValue = this.value;
8072
+ let n = t[this.section.justify] - e[this.section.justify], r = t.width / 2;
8073
+ this._prevCenter = this.section.justify === "left" ? n + r : n - r;
8074
+ }
8075
+ update(e) {
8076
+ this.el.style.setProperty("--current", String(e)), this._numbers.forEach((t, n) => n === e ? t.removeAttribute("inert") : t.setAttribute("inert", "")), this.value = e;
8077
+ }
8078
+ didUpdate(e) {
8079
+ 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;
8080
+ a && this.el.animate({ transform: [`translateX(${a}px)`, "none"] }, {
8081
+ ...this.flow.transformTiming,
8082
+ composite: "accumulate"
8083
+ });
8084
+ let o = this.getDelta();
8085
+ o && (this.el.classList.add("is-spinning"), this.el.animate({ "--_number-flow-d": [-o, 0] }, {
8086
+ ...this.flow.spinTiming ?? this.flow.transformTiming,
8087
+ composite: "accumulate"
8088
+ }), this.flow.addEventListener("animationsfinish", this._onAnimationsFinish, { once: !0 }));
8089
+ }
8090
+ getDelta() {
8091
+ if (this.flow.plugins) for (let e of this.flow.plugins) {
8092
+ let t = e.getDelta?.call(e, this.value, this._prevValue, this);
8093
+ if (t != null) return t;
8094
+ }
8095
+ let e = this.value - this._prevValue, t = this.flow.computedTrend || Math.sign(e);
8096
+ 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;
8097
+ }
8098
+ }, Bc = class extends Rc {
8099
+ constructor(e, t, n, r) {
8100
+ let i = Tc("span", {
8101
+ className: "symbol__value",
8102
+ textContent: n
8103
+ });
8104
+ super(e, n, Tc("span", {
8105
+ part: `symbol ${t}`,
8106
+ className: "symbol"
8107
+ }, [i]), r), this.type = t, this._children = /* @__PURE__ */ new Map(), this._onChildRemove = (e) => () => {
8108
+ this._children.delete(e);
8109
+ }, this._children.set(n, new Lc(this.flow, i, { onRemove: this._onChildRemove(n) }));
8110
+ }
8111
+ willUpdate(e) {
8112
+ if (this.type === "decimal") return;
8113
+ let t = this.el.getBoundingClientRect();
8114
+ this._prevOffset = t[this.section.justify] - e[this.section.justify];
8115
+ }
8116
+ update(e) {
8117
+ if (this.value !== e) {
8118
+ let t = this._children.get(this.value);
8119
+ t && (t.present = !1);
8120
+ let n = this._children.get(e);
8121
+ if (n) n.present = !0;
8122
+ else {
8123
+ let t = Tc("span", {
8124
+ className: "symbol__value",
8125
+ textContent: e
8126
+ });
8127
+ this.el.appendChild(t), this._children.set(e, new Lc(this.flow, t, {
8128
+ animateIn: !0,
8129
+ onRemove: this._onChildRemove(e)
8130
+ }));
8131
+ }
8132
+ }
8133
+ this.value = e;
8134
+ }
8135
+ didUpdate(e) {
8136
+ if (this.type === "decimal") return;
8137
+ let t = this.el.getBoundingClientRect()[this.section.justify] - e[this.section.justify], n = this._prevOffset - t;
8138
+ n && this.el.animate({ transform: [`translateX(${n}px)`, "none"] }, {
8139
+ ...this.flow.transformTiming,
8140
+ composite: "accumulate"
8141
+ });
8142
+ }
8143
+ }, Vc = String.raw;
8144
+ (() => {
8145
+ try {
8146
+ document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
8147
+ } catch {
8148
+ return !1;
8149
+ }
8150
+ return !0;
8151
+ })(), typeof CSS < "u" && CSS.supports && CSS.supports("line-height", "mod(1,1)"), typeof matchMedia < "u" && matchMedia("(prefers-reduced-motion: reduce)");
8152
+ var Hc = "--_number-flow-d-opacity", Uc = "--_number-flow-d-width", Wc = "--_number-flow-dx", Gc = "--_number-flow-d";
8153
+ (() => {
8154
+ try {
8155
+ return CSS.registerProperty({
8156
+ name: Hc,
8157
+ syntax: "<number>",
8158
+ inherits: !1,
8159
+ initialValue: "0"
8160
+ }), CSS.registerProperty({
8161
+ name: Wc,
8162
+ syntax: "<length>",
8163
+ inherits: !0,
8164
+ initialValue: "0px"
8165
+ }), CSS.registerProperty({
8166
+ name: Uc,
8167
+ syntax: "<number>",
8168
+ inherits: !1,
8169
+ initialValue: "0"
8170
+ }), CSS.registerProperty({
8171
+ name: Gc,
8172
+ syntax: "<number>",
8173
+ inherits: !0,
8174
+ initialValue: "0"
8175
+ }), !0;
8176
+ } catch {
8177
+ return !1;
8178
+ }
8179
+ })();
8180
+ 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) => [
8181
+ Qc,
8182
+ $c(e),
8183
+ Zc
8184
+ ], tl = Symbol(), nl = [
8185
+ "batched",
8186
+ "trend",
8187
+ "plugins",
8188
+ "animated",
8189
+ "transformTiming",
8190
+ "spinTiming",
8191
+ "opacityTiming",
8192
+ "respectMotionPreference",
8193
+ "nonce",
8194
+ "data-will-change",
8195
+ "digits",
8196
+ "innerHTML",
8197
+ "data"
8198
+ ], rl = /* @__PURE__ */ g({
8199
+ inheritAttrs: !1,
8200
+ __name: "index",
8201
+ props: {
8202
+ transformTiming: { default: () => Mc.defaultProps.transformTiming },
8203
+ spinTiming: { default: () => Mc.defaultProps.spinTiming },
8204
+ opacityTiming: { default: () => Mc.defaultProps.opacityTiming },
8205
+ animated: {
8206
+ type: Boolean,
8207
+ default: () => Mc.defaultProps.animated
8208
+ },
8209
+ respectMotionPreference: {
8210
+ type: Boolean,
8211
+ default: () => Mc.defaultProps.respectMotionPreference
8212
+ },
8213
+ trend: {
8214
+ type: [Number, Function],
8215
+ default: () => Mc.defaultProps.trend
8216
+ },
8217
+ plugins: { default: () => Mc.defaultProps.plugins },
8218
+ digits: { default: () => Mc.defaultProps.digits },
8219
+ locales: {},
8220
+ format: {},
8221
+ value: {},
8222
+ prefix: {},
8223
+ suffix: {},
8224
+ nonce: {},
8225
+ willChange: {
8226
+ type: Boolean,
8227
+ default: !1
8228
+ }
8229
+ },
8230
+ emits: ["animationsstart", "animationsfinish"],
8231
+ setup(e, { expose: t, emit: n }) {
8232
+ let r = I();
8233
+ t({ el: r });
8234
+ 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);
8235
+ return s?.(r, o), (e, t) => (F(), d("number-flow-vue", T({
8236
+ ref_key: "el",
8237
+ ref: r
8238
+ }, e.$attrs, {
8239
+ batched: !!B(s),
8240
+ trend: e.trend,
8241
+ plugins: e.plugins,
8242
+ animated: e.animated,
8243
+ transformTiming: e.transformTiming,
8244
+ spinTiming: e.spinTiming,
8245
+ opacityTiming: e.opacityTiming,
8246
+ respectMotionPreference: e.respectMotionPreference,
8247
+ nonce: e.nonce,
8248
+ "data-will-change": e.willChange ? "" : void 0,
8249
+ digits: e.digits,
8250
+ innerHTML: B(void 0),
8251
+ "data-allow-mismatch": "",
8252
+ onAnimationsstart: t[0] ||= (e) => i("animationsstart"),
8253
+ onAnimationsfinish: t[1] ||= (e) => i("animationsfinish"),
8254
+ data: o.value
8255
+ }), null, 16, nl));
8256
+ }
8257
+ });
8258
+ el("-vue"), Oc("number-flow-vue", Mc);
8259
+ //#endregion
8260
+ //#region src/components/PreCashier/component.vue?vue&type=script&setup=true&lang.ts
8261
+ 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
8262
  key: 0,
7774
8263
  class: "userPay",
7775
8264
  href: "https://www.le.com/user/vip",
7776
8265
  target: "_blank"
7777
- }, yc = { class: "userTip" }, bc = { class: "payPackage" }, xc = { class: "packageTabContainer" }, Sc = { class: "payTime" }, Cc = { class: "payPrice" }, wc = { class: "payOldPrice" }, Tc = {
8266
+ }, ml = { class: "userTip" }, hl = { class: "payPackage" }, gl = { class: "packageTabContainer" }, _l = { class: "payTime" }, vl = { class: "payPrice" }, yl = {
7778
8267
  key: 0,
7779
- class: "payIcon"
7780
- }, Ec = {
8268
+ class: "payOldPrice"
8269
+ }, bl = {
7781
8270
  key: 1,
8271
+ class: "payIcon"
8272
+ }, xl = {
8273
+ key: 2,
7782
8274
  class: "payPoint"
7783
- }, Dc = {
8275
+ }, Sl = {
7784
8276
  key: 0,
7785
8277
  class: "payGoodsDetailIntro"
7786
- }, Oc = {
8278
+ }, Cl = {
7787
8279
  key: 1,
7788
8280
  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 = {
8281
+ }, 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 = {
8282
+ key: 0,
8283
+ class: "detail"
8284
+ }, Fl = {
8285
+ class: "o",
8286
+ style: { "text-decoration": "none" }
8287
+ }, Il = { class: "couponWp" }, Ll = {
8288
+ key: 0,
8289
+ t: "1787640783271",
8290
+ class: "icon",
8291
+ viewBox: "0 0 1024 1024",
8292
+ version: "1.1",
8293
+ xmlns: "http://www.w3.org/2000/svg",
8294
+ "p-id": "2508",
8295
+ width: "200",
8296
+ height: "200"
8297
+ }, Rl = { class: "couponContent" }, zl = ["onClick"], Bl = { class: "expire" }, Vl = ["onClick"], Hl = { key: 1 }, Ul = { class: "qrcodeWp" }, Wl = ["src"], Gl = {
8298
+ key: 0,
8299
+ class: "mask"
8300
+ }, Kl = { class: "wxalibox" }, ql = {
7790
8301
  key: 0,
7791
8302
  class: "payAli"
7792
- }, zc = {
8303
+ }, Jl = {
7793
8304
  key: 1,
7794
8305
  class: "payWechat"
7795
- }, Bc = { class: "explainBoxR" }, Vc = {
8306
+ }, Yl = { class: "explainBoxR" }, Xl = {
7796
8307
  key: 1,
7797
8308
  href: "https://minisite.letv.com/msite/leVipAgreement/index.shtml",
7798
8309
  target: "_blank",
7799
8310
  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 () => {
8311
+ }, Zl = /*#__PURE__*/ Ae(/* @__PURE__ */ g({
8312
+ __name: "component",
8313
+ props: {
8314
+ smallPackageList: {},
8315
+ bigPackageList: {},
8316
+ isLogin: { type: Boolean },
8317
+ outUserInfo: {},
8318
+ vipType: {}
8319
+ },
8320
+ emits: ["close"],
8321
+ setup(e, { emit: n }) {
8322
+ 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 = () => {
8323
+ window.LEPassNew.openLoginDialog();
8324
+ }, T = (e, t) => {
8325
+ v.value = e, t();
8326
+ }, E = async () => {
7815
8327
  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 () => {
8328
+ o.value = e.data, e.data[1] && e.data[9] ? s.value = e.data[1] : s.value = Object.values(e.data)[0];
8329
+ }, O = async () => {
8330
+ let e = await _e.get("/website/api/v1/coupons?platform=pc", { params: {
8331
+ platform: "pc",
8332
+ status: 2,
8333
+ packageId: _.value?.packageId
8334
+ } });
8335
+ e.data.data?.length > 0 && (h.value = e.data.data, v.value = e.data.data[0]);
8336
+ }, k = async () => {
8337
+ if (!r.isLogin) {
8338
+ y.value = await cc.toDataURL("https://www.le.com", { margin: 2 });
8339
+ return;
8340
+ }
7818
8341
  let e = await _e.get("/website/api/v1/orders/preorder", { params: {
7819
8342
  platform: "pc",
7820
- packageId: g.value?.packageId,
7821
- packageGroupId: g.value?.group_id,
7822
- packageType: g.value?.packageType,
7823
- couponCode: ""
8343
+ packageId: _.value?.packageId,
8344
+ packageGroupId: _.value?.group_id,
8345
+ packageType: _.value?.packageType,
8346
+ couponCode: v.value?.code
7824
8347
  } });
7825
- _.value = await cc.toDataURL(`https://mp-s.le.com${e.data.data.createOrderUrl}`, { margin: 2 });
8348
+ y.value = await cc.toDataURL(`https://mp-s.le.com${e.data.data.createOrderUrl}`, { margin: 2 });
7826
8349
  };
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);
8350
+ return N(async () => {
8351
+ y.value = await cc.toDataURL("https://www.le.com", { margin: 2 }), _.value = C.value[0], window.LEPass.onStatusChange(async (e) => {
8352
+ e === "signIn" && (isLogin.value = !0, a.value = window.LEPass.getUserInfo(), await E(), await O(), k());
8353
+ });
7841
8354
  }), 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", {
8355
+ e === 1 ? _.value = r.smallPackageList[0] : _.value = r.bigPackageList[0], b.value.slideTo(1);
8356
+ }), V(() => _.value, async (e) => {
8357
+ await O(), k();
8358
+ }), (t, n) => (F(), d("div", null, [n[24] ||= f("div", { class: "payLayerMask" }, null, -1), f("div", il, [
8359
+ f("div", {
8360
+ class: "payLayerClose",
8361
+ onClick: n[0] ||= (e) => x("close")
8362
+ }),
8363
+ n[23] ||= f("div", { class: "exchange" }, [f("a", {
7846
8364
  href: "https://ibuy.le.com/v2/exchange/index.html",
7847
8365
  target: "_blank"
7848
8366
  }, "兑换会员")], -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",
8367
+ f("div", al, [f("div", ol, [f("div", sl, [f("span", cl, [f("img", {
8368
+ src: a.value?.headicon_200 || "https://i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon7.png",
7851
8369
  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", {
8370
+ }, 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
8371
  class: "userChange",
7854
8372
  "data-bk": "change",
7855
- onClick: y
7856
- }, "切换账号")]), f("div", bc, [f("div", { class: D(`packageTabTitle ${h.value === 9 ? "reverse" : ""}`) }, [f("div", {
8373
+ onClick: w
8374
+ }, R(e.isLogin ? "切换账号" : "立即登录"), 1)]), f("div", hl, [f("div", { class: D(`packageTabTitle ${g.value === 9 ? "reverse" : ""}`) }, [f("div", {
7857
8375
  class: "tab tab1 tabcur",
7858
8376
  "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", {
8377
+ onClick: n[1] ||= (e) => g.value = 1
8378
+ }, [...n[4] ||= [f("span", null, "乐视视频会员", -1), f("i", null, "电脑,iPad ,手机均可使用", -1)]]), f("div", {
7861
8379
  class: "tab tab1",
7862
8380
  "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, [
8381
+ onClick: n[2] ||= (e) => g.value = 9
8382
+ }, [...n[5] ||= [f("span", null, "乐视频会员(电视端)", -1), f("i", null, "电脑,iPad ,手机,电视端均可使用", -1)]])], 2), f("div", gl, [
7865
8383
  m(B(Wn), {
7866
8384
  modules: [B(Jn)],
7867
8385
  "slides-per-view": 3,
@@ -7871,102 +8389,193 @@ var ic = /* @__PURE__ */ g({
7871
8389
  navigation: {
7872
8390
  prevEl: "#precashier_prev",
7873
8391
  nextEl: "#precashier_next"
7874
- }
8392
+ },
8393
+ onSwiper: n[3] ||= (e) => b.value = e
7875
8394
  }, {
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)
8395
+ default: U(() => [(F(!0), d(i, null, oe(C.value, (e) => (F(), l(B(Gn), { onClick: (t) => _.value = e }, {
8396
+ default: U(() => [f("div", { class: D(`packItem ${_.value?.packageId === e.packageId ? "active" : ""} ${e.giftLedou ? "withledou" : ""}`) }, [
8397
+ f("div", _l, R(e.packageName), 1),
8398
+ f("div", vl, [n[6] ||= f("span", { style: { "margin-right": "2px" } }, "¥", -1), p(R(e.price), 1)]),
8399
+ e.originalPrice ? (F(), d("div", yl, "¥" + R(e.originalPrice), 1)) : u("", !0),
8400
+ e.customFields.iconlong ? (F(), d("div", bl, R(e.customFields.iconlong), 1)) : u("", !0),
8401
+ e.customFields.point ? (F(), d("div", xl, R(e.customFields.point), 1)) : u("", !0)
7883
8402
  ], 2)]),
7884
8403
  _: 2
7885
8404
  }, 1032, ["onClick"]))), 256))]),
7886
8405
  _: 1
7887
8406
  }, 8, ["modules"]),
7888
- t[7] ||= f("div", {
8407
+ n[9] ||= f("div", {
7889
8408
  class: "navigation",
7890
8409
  id: "precashier_prev"
7891
8410
  }, null, -1),
7892
- t[8] ||= f("div", {
8411
+ n[10] ||= f("div", {
7893
8412
  class: "navigation next",
7894
8413
  id: "precashier_next"
7895
8414
  }, 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
8415
+ _.value?.giftLedou ? (F(), d("div", Sl, [n[8] ||= f("img", {
8416
+ src: "//i2.letvimg.com/lc05_img/202305/11/10/24/1023/icon1.png",
8417
+ width: "14",
8418
+ height: "14"
8419
+ }, null, -1), f("span", null, [p(" 送 " + R(_.value.giftLedou) + " 乐豆 ", 1), m(B(tc), { openDelay: 0 }, {
8420
+ default: U(() => [m(B(sc), {
8421
+ as: "img",
8422
+ src: "https://static.letvcdn.com/lc06_lemf/202310/25/11/14/icon_wenhao.svg"
7920
8423
  }), 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)]),
8424
+ default: U(() => [m(B(ac), {
8425
+ sideOffset: 8,
8426
+ class: "highZContent"
8427
+ }, {
8428
+ default: U(() => [m(B(Qs), { class: "arrow priceTipArrow" }), n[7] ||= f("div", { class: "ledouTipContent" }, [f("div", { class: "title" }, "乐豆说明"), f("div", { class: "content" }, [
8429
+ p("乐豆可直接用于支付乐视视频中点播内容,乐豆可通过"),
8430
+ f("span", null, "购买会员"),
8431
+ p("赠送获得或"),
8432
+ f("span", null, "充值"),
8433
+ p("等其他方式获得")
8434
+ ])], -1)]),
7923
8435
  _: 1
7924
8436
  })]),
7925
8437
  _: 1
7926
8438
  })]),
7927
8439
  _: 1
7928
- })]), m(B(Us), null, {
7929
- default: H(() => [
7930
- m(B(Zs), null, {
7931
- default: H(() => [...t[12] ||= [p("添加代金券", -1)]]),
8440
+ })])])) : u("", !0),
8441
+ _.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),
8442
+ n[11] ||= f("div", { class: "explainBox" }, [f("div", null, "本页展示的套餐价为新用户专享价或刊例价,划线价为建议零售价"), f("div", null, "如有问题可以联系在线客服:微信公众号“乐视影视会员”【9点-18点】")], -1)
8443
+ ])])]),
8444
+ f("div", El, [
8445
+ f("div", Dl, [f("div", Ol, [
8446
+ f("div", kl, [n[12] ||= p(" ¥ ", -1), m(B(rl), { value: _.value?.price - (v.value?.amount || 0) || 0 }, null, 8, ["value"])]),
8447
+ _.value?.originalPrice && _.value?.price && _.value?.price !== _.value?.originalPrice || v.value?.amount ? (F(), l(B(tc), {
8448
+ key: 0,
8449
+ openDelay: 0
8450
+ }, {
8451
+ default: U(() => [m(B(sc), {
8452
+ as: "div",
8453
+ class: "priceTip"
8454
+ }, {
8455
+ 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
8456
  _: 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))]),
8457
+ }), m(B(oc), null, {
8458
+ default: U(() => [m(B(ac), {
8459
+ sideOffset: 4,
8460
+ class: "highZContent"
8461
+ }, {
8462
+ default: U(() => [m(B(Qs), { class: "arrow priceTipArrow" }), f("div", Al, [
8463
+ n[15] ||= f("div", { class: "tipTitle1" }, "支付明细", -1),
8464
+ n[16] ||= f("div", { class: "tipTitle2" }, "会员套餐", -1),
8465
+ 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)])]),
8466
+ 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)
8467
+ ])]),
7938
8468
  _: 1
7939
8469
  })]),
7940
8470
  _: 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)
8471
+ })]),
8472
+ _: 1
8473
+ })) : u("", !0),
8474
+ f("div", Il, [n[18] ||= f("div", null, "代金券", -1), h.value.length > 0 ? (F(), l(B(Ws), { key: 0 }, {
8475
+ default: U(({ open: e, close: t }) => [
8476
+ m(B(Zs), {
8477
+ disabled: h.value.length < 1,
8478
+ as: "div",
8479
+ class: D(["currentCoupon", e ? "reverse" : ""])
8480
+ }, {
8481
+ default: U(() => [p(R(v.value?.name || "不使用代金券") + " ", 1), h.value.length > 0 ? (F(), d("svg", Ll, [...n[17] ||= [f("path", {
8482
+ d: "M512.146286 619.52L245.296762 352.792381 193.584762 404.48l318.585905 318.415238 318.268952-318.415238-51.736381-51.687619z",
8483
+ "p-id": "2509"
8484
+ }, null, -1)]])) : u("", !0)]),
8485
+ _: 1
8486
+ }, 8, ["disabled", "class"]),
8487
+ m(B(Gs)),
8488
+ m(B(Xs), null, {
8489
+ default: U(() => [m(B(Ys), {
8490
+ sideOffset: 18,
8491
+ align: "end",
8492
+ class: "highZContent"
8493
+ }, {
8494
+ default: U(() => [f("div", Rl, [(F(!0), d(i, null, oe(h.value, (e) => (F(), d("div", {
8495
+ class: D(["couponItem", e.code === v.value?.code ? "active" : ""]),
8496
+ key: e.code,
8497
+ onClick: (n) => T(e, t)
8498
+ }, [f("div", null, R(e.name), 1), f("div", Bl, R(e.validEndTime.slice(0, 10)) + "前", 1)], 10, zl))), 128)), f("div", {
8499
+ class: D(["couponItem", !v.value && "active"]),
8500
+ style: { "justify-content": "center" },
8501
+ onClick: (e) => T(null, t)
8502
+ }, "不使用代金券", 10, Vl)])]),
8503
+ _: 2
8504
+ }, 1024)]),
8505
+ _: 2
8506
+ }, 1024)
8507
+ ]),
8508
+ _: 1
8509
+ })) : (F(), d("div", Hl, "无可用代金券"))])
8510
+ ])]),
8511
+ f("div", Ul, [
8512
+ f("img", {
8513
+ class: "qrcode",
8514
+ src: y.value || ""
8515
+ }, null, 8, Wl),
8516
+ n[20] ||= f("img", {
8517
+ class: "icon",
8518
+ src: "https://i1.letvimg.com/lc18_img/202502/07/17/14/zhifubao.png",
8519
+ alt: ""
8520
+ }, null, -1),
8521
+ e.isLogin ? u("", !0) : (F(), d("div", Gl, [...n[19] ||= [f("svg", {
8522
+ viewBox: "0 0 1024 1024",
8523
+ version: "1.1",
8524
+ xmlns: "http://www.w3.org/2000/svg",
8525
+ "p-id": "5069",
8526
+ width: "200",
8527
+ height: "200"
8528
+ }, [f("path", {
8529
+ 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",
8530
+ fill: "#ffffff",
8531
+ "p-id": "5070"
8532
+ })], -1), f("span", null, "请先登录", -1)]]))
8533
+ ]),
8534
+ f("div", Kl, [
8535
+ !_.value?.payChannel || _.value?.payChannel?.includes("1") ? (F(), d("i", ql)) : u("", !0),
8536
+ !_.value?.payChannel || _.value?.payChannel?.includes("2") ? (F(), d("i", Jl)) : u("", !0),
8537
+ p(" " + R(_.value?.customFields.QRtext || "请扫码完成支付"), 1)
7957
8538
  ]),
7958
- f("div", Bc, [h.value === 1 ? (F(), d(i, { key: 0 }, [t[15] ||= f("a", {
8539
+ f("div", Yl, [g.value === 1 ? (F(), d(i, { key: 0 }, [n[21] ||= f("a", {
7959
8540
  href: "https://aboutus.le.com/user/vip.html",
7960
8541
  target: "_blank",
7961
8542
  class: "vipXY"
7962
- }, "《会员服务协议》", -1), t[16] ||= f("a", {
8543
+ }, "《会员服务协议》", -1), n[22] ||= f("a", {
7963
8544
  href: "https://aboutus.le.com/user/auto.html",
7964
8545
  target: "_blank",
7965
8546
  class: "xufeiXY"
7966
- }, "《自动续费服务协议》", -1)], 64)) : u("", !0), h.value === 9 ? (F(), d("a", Vc, "《乐视频会员服务协议》")) : u("", !0)])
8547
+ }, "《自动续费服务协议》", -1)], 64)) : u("", !0), g.value === 9 ? (F(), d("a", Xl, "《乐视频会员服务协议》")) : u("", !0)])
7967
8548
  ])
7968
8549
  ])]));
7969
8550
  }
7970
- }), [["__scopeId", "data-v-078608f0"]]);
8551
+ }), [["__scopeId", "data-v-ad60d711"]]), Ql = !1, $l = async (e) => {
8552
+ if (Ql) return;
8553
+ Ql = !0;
8554
+ let t = document.createElement("div");
8555
+ document.body.appendChild(t);
8556
+ let n = [], r = [], i = !1, a = null, o = () => {
8557
+ ae(null, t), t.remove(), Ql = !1;
8558
+ }, [s, c] = await Promise.all([_e.get("/website/api/v1/packages", {
8559
+ params: {
8560
+ platform: "pc",
8561
+ member_pos: ""
8562
+ },
8563
+ withCredentials: !0
8564
+ }), _e.get("/website/api/v1/packages", {
8565
+ params: {
8566
+ platform: "pc",
8567
+ member_pos: "vip9_page"
8568
+ },
8569
+ withCredentials: !0
8570
+ })]);
8571
+ n = s.data.data.packages, r = c.data.data.packages, i = window.LEPass.isLogin(), a = window.LEPass.getUserInfo(), ae(x(Zl, {
8572
+ ...e,
8573
+ smallPackageList: n,
8574
+ bigPackageList: r,
8575
+ isLogin: i,
8576
+ outUserInfo: a,
8577
+ onClose: o
8578
+ }), t);
8579
+ };
7971
8580
  //#endregion
7972
- export { je as ActivitySwitcher, Hc as PreCashier };
8581
+ export { je as ActivitySwitcher, $l as openCashier };