my-header-yichong 3.4.3 → 3.4.5

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.
package/my-header.js CHANGED
@@ -1,4 +1,4 @@
1
- import { getCurrentScope as wa, onScopeDispose as xa, ref as I, readonly as Ea, unref as y, getCurrentInstance as je, onMounted as X, nextTick as tt, watch as Y, defineComponent as H, openBlock as T, createElementBlock as R, createElementVNode as h, warn as $l, isVNode as ao, inject as Z, computed as E, isRef as wt, shallowRef as gr, onBeforeUnmount as We, onBeforeMount as Nl, provide as re, renderSlot as oe, mergeProps as Jt, normalizeClass as se, normalizeStyle as Pn, withDirectives as He, cloneVNode as Sa, Fragment as ie, Text as Rl, Comment as Fl, createVNode as Q, createBlock as ee, withCtx as U, createCommentVNode as D, toRef as Xe, Teleport as ka, Transition as Tt, vShow as Yt, onDeactivated as Ll, toDisplayString as ne, resolveDynamicComponent as br, toHandlers as jl, reactive as Zt, h as V, watchEffect as Ie, resolveComponent as Dl, createTextVNode as le, createApp as Bl, toRefs as Zo, shallowReactive as Hl, withModifiers as zl, render as is, onUnmounted as Le, vModelText as Io, pushScopeId as Qt, popScopeId as Xt, hasInjectionContext as Ul, markRaw as mn, effectScope as Vl, isReactive as yr, toRaw as Wl, renderList as at } from "vue";
1
+ import { getCurrentScope as wa, onScopeDispose as xa, ref as M, readonly as Ea, unref as y, getCurrentInstance as je, onMounted as X, nextTick as tt, watch as Y, defineComponent as H, openBlock as T, createElementBlock as R, createElementVNode as h, warn as $l, isVNode as ao, inject as Z, computed as E, isRef as wt, shallowRef as gr, onBeforeUnmount as We, onBeforeMount as Nl, provide as re, renderSlot as oe, mergeProps as Jt, normalizeClass as se, normalizeStyle as Pn, withDirectives as He, cloneVNode as Sa, Fragment as ie, Text as Rl, Comment as Ll, createVNode as Q, createBlock as ee, withCtx as U, createCommentVNode as j, toRef as Xe, Teleport as ka, Transition as Tt, vShow as Yt, onDeactivated as Fl, toDisplayString as ne, resolveDynamicComponent as br, toHandlers as jl, reactive as Zt, h as V, watchEffect as Me, resolveComponent as Dl, createTextVNode as le, createApp as Bl, toRefs as Zo, shallowReactive as Hl, withModifiers as zl, render as is, onUnmounted as Fe, vModelText as Mo, pushScopeId as Qt, popScopeId as Xt, hasInjectionContext as Ul, markRaw as mn, effectScope as Vl, isReactive as yr, toRaw as Wl, renderList as at } from "vue";
2
2
  function Oa(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
@@ -49,9 +49,9 @@ function Ca(e, t) {
49
49
  return r;
50
50
  return null;
51
51
  }
52
- const Aa = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ma = (e) => !wn(e) && e !== Aa;
52
+ const Aa = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ia = (e) => !wn(e) && e !== Aa;
53
53
  function Qo() {
54
- const { caseless: e } = Ma(this) && this || {}, t = {}, n = (o, r) => {
54
+ const { caseless: e } = Ia(this) && this || {}, t = {}, n = (o, r) => {
55
55
  const s = e && Ca(t, r) || r;
56
56
  Jn(t[s]) && Jn(o) ? t[s] = Qo(t[s], o) : Jn(o) ? t[s] = Qo({}, o) : en(o) ? t[s] = o.slice() : t[s] = o;
57
57
  };
@@ -110,13 +110,13 @@ const sc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
110
110
  function(n, o, r) {
111
111
  return o.toUpperCase() + r;
112
112
  }
113
- ), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc = qe("RegExp"), Ia = (e, t) => {
113
+ ), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc = qe("RegExp"), Ma = (e, t) => {
114
114
  const n = Object.getOwnPropertyDescriptors(e), o = {};
115
115
  Cn(n, (r, s) => {
116
116
  t(r, s, e) !== !1 && (o[s] = r);
117
117
  }), Object.defineProperties(e, o);
118
118
  }, gc = (e) => {
119
- Ia(e, (t, n) => {
119
+ Ma(e, (t, n) => {
120
120
  if (Te(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
121
121
  return !1;
122
122
  const o = e[n];
@@ -207,7 +207,7 @@ const Ec = (e) => {
207
207
  hasOwnProperty: ls,
208
208
  hasOwnProp: ls,
209
209
  // an alias to avoid ESLint no-prototype-builtins detection
210
- reduceDescriptors: Ia,
210
+ reduceDescriptors: Ma,
211
211
  freezeMethods: gc,
212
212
  toObjectSet: bc,
213
213
  toCamelCase: mc,
@@ -215,7 +215,7 @@ const Ec = (e) => {
215
215
  toFiniteNumber: _c,
216
216
  findKey: Ca,
217
217
  global: Aa,
218
- isContextDefined: Ma,
218
+ isContextDefined: Ia,
219
219
  ALPHABET: $a,
220
220
  generateString: wc,
221
221
  isSpecCompliantForm: xc,
@@ -277,12 +277,12 @@ const Oc = null;
277
277
  function Xo(e) {
278
278
  return S.isPlainObject(e) || S.isArray(e);
279
279
  }
280
- function Fa(e) {
280
+ function La(e) {
281
281
  return S.endsWith(e, "[]") ? e.slice(0, -2) : e;
282
282
  }
283
283
  function us(e, t, n) {
284
284
  return e ? e.concat(t).map(function(r, s) {
285
- return r = Fa(r), !n && s ? "[" + r + "]" : r;
285
+ return r = La(r), !n && s ? "[" + r + "]" : r;
286
286
  }).join(n ? "." : "") : t;
287
287
  }
288
288
  function Tc(e) {
@@ -319,7 +319,7 @@ function bo(e, t, n) {
319
319
  if (S.endsWith(v, "{}"))
320
320
  v = o ? v : v.slice(0, -2), p = JSON.stringify(p);
321
321
  else if (S.isArray(p) && Tc(p) || (S.isFileList(p) || S.endsWith(v, "[]")) && (g = S.toArray(p)))
322
- return v = Fa(v), g.forEach(function(P, C) {
322
+ return v = La(v), g.forEach(function(P, C) {
323
323
  !(S.isUndefined(P) || P === null) && t.append(
324
324
  // eslint-disable-next-line no-nested-ternary
325
325
  a === !0 ? us([v], C, s) : a === null ? v : v + "[]",
@@ -370,11 +370,11 @@ function ds(e) {
370
370
  function wr(e, t) {
371
371
  this._pairs = [], e && bo(e, this, t);
372
372
  }
373
- const La = wr.prototype;
374
- La.append = function(t, n) {
373
+ const Fa = wr.prototype;
374
+ Fa.append = function(t, n) {
375
375
  this._pairs.push([t, n]);
376
376
  };
377
- La.toString = function(t) {
377
+ Fa.toString = function(t) {
378
378
  const n = t ? function(o) {
379
379
  return t.call(this, o, ds);
380
380
  } : ds;
@@ -454,29 +454,29 @@ const fs = Ac, Da = {
454
454
  silentJSONParsing: !0,
455
455
  forcedJSONParsing: !0,
456
456
  clarifyTimeoutError: !1
457
- }, Mc = typeof URLSearchParams < "u" ? URLSearchParams : wr, Ic = typeof FormData < "u" ? FormData : null, $c = typeof Blob < "u" ? Blob : null, Nc = (() => {
457
+ }, Ic = typeof URLSearchParams < "u" ? URLSearchParams : wr, Mc = typeof FormData < "u" ? FormData : null, $c = typeof Blob < "u" ? Blob : null, Nc = (() => {
458
458
  let e;
459
459
  return typeof navigator < "u" && ((e = navigator.product) === "ReactNative" || e === "NativeScript" || e === "NS") ? !1 : typeof window < "u" && typeof document < "u";
460
460
  })(), Rc = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
461
461
  self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), Be = {
462
462
  isBrowser: !0,
463
463
  classes: {
464
- URLSearchParams: Mc,
465
- FormData: Ic,
464
+ URLSearchParams: Ic,
465
+ FormData: Mc,
466
466
  Blob: $c
467
467
  },
468
468
  isStandardBrowserEnv: Nc,
469
469
  isStandardBrowserWebWorkerEnv: Rc,
470
470
  protocols: ["http", "https", "file", "blob", "url", "data"]
471
471
  };
472
- function Fc(e, t) {
472
+ function Lc(e, t) {
473
473
  return bo(e, new Be.classes.URLSearchParams(), Object.assign({
474
474
  visitor: function(n, o, r, s) {
475
475
  return Be.isNode && S.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
476
476
  }
477
477
  }, t));
478
478
  }
479
- function Lc(e) {
479
+ function Fc(e) {
480
480
  return S.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
481
481
  }
482
482
  function jc(e) {
@@ -497,7 +497,7 @@ function Ba(e) {
497
497
  if (S.isFormData(e) && S.isFunction(e.entries)) {
498
498
  const n = {};
499
499
  return S.forEachEntry(e, (o, r) => {
500
- t(Lc(o), r, n, 0);
500
+ t(Fc(o), r, n, 0);
501
501
  }), n;
502
502
  }
503
503
  return null;
@@ -531,7 +531,7 @@ const yo = {
531
531
  let i;
532
532
  if (s) {
533
533
  if (o.indexOf("application/x-www-form-urlencoded") > -1)
534
- return Fc(t, this.formSerializer).toString();
534
+ return Lc(t, this.formSerializer).toString();
535
535
  if ((i = S.isFileList(t)) || o.indexOf("multipart/form-data") > -1) {
536
536
  const c = this.env && this.env.FormData;
537
537
  return bo(
@@ -996,22 +996,22 @@ const nu = {
996
996
  },
997
997
  adapters: Zn
998
998
  };
999
- function Fo(e) {
999
+ function Lo(e) {
1000
1000
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1001
1001
  throw new An(null, e);
1002
1002
  }
1003
1003
  function ms(e) {
1004
- return Fo(e), e.headers = et.from(e.headers), e.data = Ro.call(
1004
+ return Lo(e), e.headers = et.from(e.headers), e.data = Ro.call(
1005
1005
  e,
1006
1006
  e.transformRequest
1007
1007
  ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), nu.getAdapter(e.adapter || xr.adapter)(e).then(function(o) {
1008
- return Fo(e), o.data = Ro.call(
1008
+ return Lo(e), o.data = Ro.call(
1009
1009
  e,
1010
1010
  e.transformResponse,
1011
1011
  o
1012
1012
  ), o.headers = et.from(o.headers), o;
1013
1013
  }, function(o) {
1014
- return Ha(o) || (Fo(e), o && o.response && (o.response.data = Ro.call(
1014
+ return Ha(o) || (Lo(e), o && o.response && (o.response.data = Ro.call(
1015
1015
  e,
1016
1016
  e.transformResponse,
1017
1017
  o.response
@@ -1410,12 +1410,12 @@ const lu = ce, Wa = lu.create({
1410
1410
  // 配置对象
1411
1411
  // 基础路径:发请求的时候路径当中会出现api
1412
1412
  // 请求超时的时间5s
1413
- baseURL: "https://a2.imgkits.com",
1413
+ baseURL: "https://api.imgkits.com",
1414
1414
  timeout: 5e4
1415
1415
  });
1416
1416
  Wa.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
1417
1417
  Wa.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1418
- const Lo = "@", ln = window.localStorage, bs = {
1418
+ const Fo = "@", ln = window.localStorage, bs = {
1419
1419
  number: {
1420
1420
  save: (e) => e,
1421
1421
  parse: (e) => Number.parseFloat(e)
@@ -1437,7 +1437,7 @@ const Lo = "@", ln = window.localStorage, bs = {
1437
1437
  function ys(e) {
1438
1438
  return bs[e] || bs.default;
1439
1439
  }
1440
- const Ln = {
1440
+ const Fn = {
1441
1441
  get(e) {
1442
1442
  let t = ln.getItem(e);
1443
1443
  if (t) {
@@ -1454,10 +1454,10 @@ const Ln = {
1454
1454
  put(e, t, n) {
1455
1455
  const o = typeof t, r = ys(o);
1456
1456
  if (!n)
1457
- t = o + Lo + encodeURIComponent(r.save(t));
1457
+ t = o + Fo + encodeURIComponent(r.save(t));
1458
1458
  else {
1459
1459
  let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
1460
- t = o + Lo + encodeURIComponent(r.save(t)) + Lo + s;
1460
+ t = o + Fo + encodeURIComponent(r.save(t)) + Fo + s;
1461
1461
  }
1462
1462
  ln.setItem(e, t);
1463
1463
  },
@@ -1506,7 +1506,7 @@ function pu(e, t = !0) {
1506
1506
  function nr(e, t, n = {}) {
1507
1507
  const {
1508
1508
  immediate: o = !0
1509
- } = n, r = I(!1);
1509
+ } = n, r = M(!1);
1510
1510
  let s = null;
1511
1511
  function a() {
1512
1512
  s && (clearTimeout(s), s = null);
@@ -1583,7 +1583,7 @@ function hu(e, t, n = {}) {
1583
1583
  return () => u.forEach((f) => f());
1584
1584
  }
1585
1585
  function mu(e, t = !1) {
1586
- const n = I(), o = () => n.value = !!e();
1586
+ const n = M(), o = () => n.value = !!e();
1587
1587
  return o(), pu(o, t), n;
1588
1588
  }
1589
1589
  const xs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Es = "__vueuse_ssr_handlers__";
@@ -1664,12 +1664,12 @@ const lo = () => {
1664
1664
  );
1665
1665
  var Cu = typeof global == "object" && global && global.Object === Object && global;
1666
1666
  const Au = Cu;
1667
- var Mu = typeof self == "object" && self && self.Object === Object && self, Iu = Au || Mu || Function("return this")();
1668
- const Tr = Iu;
1667
+ var Iu = typeof self == "object" && self && self.Object === Object && self, Mu = Au || Iu || Function("return this")();
1668
+ const Tr = Mu;
1669
1669
  var $u = Tr.Symbol;
1670
1670
  const Ht = $u;
1671
1671
  var Ja = Object.prototype, Nu = Ja.hasOwnProperty, Ru = Ja.toString, cn = Ht ? Ht.toStringTag : void 0;
1672
- function Fu(e) {
1672
+ function Lu(e) {
1673
1673
  var t = Nu.call(e, cn), n = e[cn];
1674
1674
  try {
1675
1675
  e[cn] = void 0;
@@ -1679,13 +1679,13 @@ function Fu(e) {
1679
1679
  var r = Ru.call(e);
1680
1680
  return o && (t ? e[cn] = n : delete e[cn]), r;
1681
1681
  }
1682
- var Lu = Object.prototype, ju = Lu.toString;
1682
+ var Fu = Object.prototype, ju = Fu.toString;
1683
1683
  function Du(e) {
1684
1684
  return ju.call(e);
1685
1685
  }
1686
1686
  var Bu = "[object Null]", Hu = "[object Undefined]", Cs = Ht ? Ht.toStringTag : void 0;
1687
1687
  function Ya(e) {
1688
- return e == null ? e === void 0 ? Hu : Bu : Cs && Cs in Object(e) ? Fu(e) : Du(e);
1688
+ return e == null ? e === void 0 ? Hu : Bu : Cs && Cs in Object(e) ? Lu(e) : Du(e);
1689
1689
  }
1690
1690
  function zu(e) {
1691
1691
  return e != null && typeof e == "object";
@@ -1701,14 +1701,14 @@ function Vu(e, t) {
1701
1701
  }
1702
1702
  var Wu = Array.isArray;
1703
1703
  const Cr = Wu;
1704
- var qu = 1 / 0, As = Ht ? Ht.prototype : void 0, Ms = As ? As.toString : void 0;
1704
+ var qu = 1 / 0, As = Ht ? Ht.prototype : void 0, Is = As ? As.toString : void 0;
1705
1705
  function Za(e) {
1706
1706
  if (typeof e == "string")
1707
1707
  return e;
1708
1708
  if (Cr(e))
1709
1709
  return Vu(e, Za) + "";
1710
1710
  if (Pr(e))
1711
- return Ms ? Ms.call(e) : "";
1711
+ return Is ? Is.call(e) : "";
1712
1712
  var t = e + "";
1713
1713
  return t == "0" && 1 / e == -qu ? "-0" : t;
1714
1714
  }
@@ -1725,12 +1725,12 @@ function Zu(e) {
1725
1725
  }
1726
1726
  var Qu = Tr["__core-js_shared__"];
1727
1727
  const Do = Qu;
1728
- var Is = function() {
1728
+ var Ms = function() {
1729
1729
  var e = /[^.]+$/.exec(Do && Do.keys && Do.keys.IE_PROTO || "");
1730
1730
  return e ? "Symbol(src)_1." + e : "";
1731
1731
  }();
1732
1732
  function Xu(e) {
1733
- return !!Is && Is in e;
1733
+ return !!Ms && Ms in e;
1734
1734
  }
1735
1735
  var ed = Function.prototype, td = ed.toString;
1736
1736
  function nd(e) {
@@ -1822,14 +1822,14 @@ function xo(e, t) {
1822
1822
  return -1;
1823
1823
  }
1824
1824
  var Cd = Array.prototype, Ad = Cd.splice;
1825
- function Md(e) {
1825
+ function Id(e) {
1826
1826
  var t = this.__data__, n = xo(t, e);
1827
1827
  if (n < 0)
1828
1828
  return !1;
1829
1829
  var o = t.length - 1;
1830
1830
  return n == o ? t.pop() : Ad.call(t, n, 1), --this.size, !0;
1831
1831
  }
1832
- function Id(e) {
1832
+ function Md(e) {
1833
1833
  var t = this.__data__, n = xo(t, e);
1834
1834
  return n < 0 ? void 0 : t[n][1];
1835
1835
  }
@@ -1848,16 +1848,16 @@ function tn(e) {
1848
1848
  }
1849
1849
  }
1850
1850
  tn.prototype.clear = Pd;
1851
- tn.prototype.delete = Md;
1852
- tn.prototype.get = Id;
1851
+ tn.prototype.delete = Id;
1852
+ tn.prototype.get = Md;
1853
1853
  tn.prototype.has = $d;
1854
1854
  tn.prototype.set = Nd;
1855
1855
  var Rd = Xa(Tr, "Map");
1856
- const Fd = Rd;
1857
- function Ld() {
1856
+ const Ld = Rd;
1857
+ function Fd() {
1858
1858
  this.size = 0, this.__data__ = {
1859
1859
  hash: new xt(),
1860
- map: new (Fd || tn)(),
1860
+ map: new (Ld || tn)(),
1861
1861
  string: new xt()
1862
1862
  };
1863
1863
  }
@@ -1890,7 +1890,7 @@ function Ct(e) {
1890
1890
  this.set(o[0], o[1]);
1891
1891
  }
1892
1892
  }
1893
- Ct.prototype.clear = Ld;
1893
+ Ct.prototype.clear = Fd;
1894
1894
  Ct.prototype.delete = Dd;
1895
1895
  Ct.prototype.get = Bd;
1896
1896
  Ct.prototype.has = Hd;
@@ -2168,7 +2168,7 @@ const ii = "__epPropKey", G = (e) => e, wf = (e) => Pt(e) && !!e[ii], So = (e, t
2168
2168
  return e;
2169
2169
  }, Ef = (e, t) => (e.install = (n) => {
2170
2170
  e._context = n._context, n.config.globalProperties[t] = e;
2171
- }, e), Mr = (e) => (e.install = lo, e), me = {
2171
+ }, e), Ir = (e) => (e.install = lo, e), me = {
2172
2172
  tab: "Tab",
2173
2173
  enter: "Enter",
2174
2174
  space: "Space",
@@ -2365,23 +2365,23 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2365
2365
  var s;
2366
2366
  return `${(s = t == null ? void 0 : t[r]) != null ? s : `{${r}}`}`;
2367
2367
  }), Cf = (e) => {
2368
- const t = E(() => y(e).name), n = wt(e) ? e : I(e);
2368
+ const t = E(() => y(e).name), n = wt(e) ? e : M(e);
2369
2369
  return {
2370
2370
  lang: t,
2371
2371
  locale: n,
2372
2372
  t: Tf(e)
2373
2373
  };
2374
2374
  }, li = Symbol("localeContextKey"), Af = (e) => {
2375
- const t = e || Z(li, I());
2375
+ const t = e || Z(li, M());
2376
2376
  return Cf(E(() => t.value || Of));
2377
- }, oo = "el", Mf = "is-", ft = (e, t, n, o, r) => {
2377
+ }, oo = "el", If = "is-", ft = (e, t, n, o, r) => {
2378
2378
  let s = `${e}-${t}`;
2379
2379
  return n && (s += `-${n}`), o && (s += `__${o}`), r && (s += `--${r}`), s;
2380
- }, ci = Symbol("namespaceContextKey"), Ir = (e) => {
2381
- const t = e || (je() ? Z(ci, I(oo)) : I(oo));
2380
+ }, ci = Symbol("namespaceContextKey"), Mr = (e) => {
2381
+ const t = e || (je() ? Z(ci, M(oo)) : M(oo));
2382
2382
  return E(() => y(t) || oo);
2383
2383
  }, ae = (e, t) => {
2384
- const n = Ir(t);
2384
+ const n = Mr(t);
2385
2385
  return {
2386
2386
  namespace: n,
2387
2387
  b: (v = "") => ft(n.value, e, v, "", ""),
@@ -2393,7 +2393,7 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2393
2393
  bem: (v, _, g) => v && _ && g ? ft(n.value, e, v, _, g) : "",
2394
2394
  is: (v, ..._) => {
2395
2395
  const g = _.length >= 1 ? _[0] : !0;
2396
- return v && g ? `${Mf}${v}` : "";
2396
+ return v && g ? `${If}${v}` : "";
2397
2397
  },
2398
2398
  cssVar: (v) => {
2399
2399
  const _ = {};
@@ -2410,14 +2410,14 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2410
2410
  },
2411
2411
  cssVarBlockName: (v) => `--${n.value}-${e}-${v}`
2412
2412
  };
2413
- }, If = So({
2413
+ }, Mf = So({
2414
2414
  type: G(Boolean),
2415
2415
  default: null
2416
2416
  }), $f = So({
2417
2417
  type: G(Function)
2418
2418
  }), ui = (e) => {
2419
2419
  const t = `update:${e}`, n = `onUpdate:${e}`, o = [t], r = {
2420
- [e]: If,
2420
+ [e]: Mf,
2421
2421
  [n]: $f
2422
2422
  };
2423
2423
  return {
@@ -2436,13 +2436,13 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2436
2436
  }, P = (b) => {
2437
2437
  if (p.disabled === !0 || mt(l) && !l())
2438
2438
  return;
2439
- const F = v.value && ve;
2440
- F && m(t, !0), (_.value || !F) && g(b);
2439
+ const L = v.value && ve;
2440
+ L && m(t, !0), (_.value || !L) && g(b);
2441
2441
  }, C = (b) => {
2442
2442
  if (p.disabled === !0 || !ve)
2443
2443
  return;
2444
- const F = v.value && ve;
2445
- F && m(t, !1), (_.value || !F) && O(b);
2444
+ const L = v.value && ve;
2445
+ L && m(t, !1), (_.value || !L) && O(b);
2446
2446
  }, A = (b) => {
2447
2447
  ei(b) && (p.disabled && b ? v.value && m(t, !1) : a.value !== b && (b ? g() : O()));
2448
2448
  }, $ = () => {
@@ -2466,11 +2466,11 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
2466
2466
  };
2467
2467
  };
2468
2468
  ui("modelValue");
2469
- var _e = "top", Ae = "bottom", Me = "right", we = "left", $r = "auto", Mn = [_e, Ae, Me, we], zt = "start", kn = "end", Nf = "clippingParents", di = "viewport", dn = "popper", Rf = "reference", Rs = Mn.reduce(function(e, t) {
2469
+ var _e = "top", Ae = "bottom", Ie = "right", we = "left", $r = "auto", In = [_e, Ae, Ie, we], zt = "start", kn = "end", Nf = "clippingParents", di = "viewport", dn = "popper", Rf = "reference", Rs = In.reduce(function(e, t) {
2470
2470
  return e.concat([t + "-" + zt, t + "-" + kn]);
2471
- }, []), Nr = [].concat(Mn, [$r]).reduce(function(e, t) {
2471
+ }, []), Nr = [].concat(In, [$r]).reduce(function(e, t) {
2472
2472
  return e.concat([t, t + "-" + zt, t + "-" + kn]);
2473
- }, []), Ff = "beforeRead", Lf = "read", jf = "afterRead", Df = "beforeMain", Bf = "main", Hf = "afterMain", zf = "beforeWrite", Uf = "write", Vf = "afterWrite", Wf = [Ff, Lf, jf, Df, Bf, Hf, zf, Uf, Vf];
2473
+ }, []), Lf = "beforeRead", Ff = "read", jf = "afterRead", Df = "beforeMain", Bf = "main", Hf = "afterMain", zf = "beforeWrite", Uf = "write", Vf = "afterWrite", Wf = [Lf, Ff, jf, Df, Bf, Hf, zf, Uf, Vf];
2474
2474
  function Ve(e) {
2475
2475
  return e ? (e.nodeName || "").toLowerCase() : null;
2476
2476
  }
@@ -2534,7 +2534,7 @@ function Wt(e, t) {
2534
2534
  }
2535
2535
  return { width: n.width / o, height: n.height / r, top: n.top / r, right: n.right / o, bottom: n.bottom / r, left: n.left / o, x: n.left / o, y: n.top / r };
2536
2536
  }
2537
- function Fr(e) {
2537
+ function Lr(e) {
2538
2538
  var t = Wt(e), n = e.offsetWidth, o = e.offsetHeight;
2539
2539
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - o) <= 1 && (o = t.height), { x: e.offsetLeft, y: e.offsetTop, width: n, height: o };
2540
2540
  }
@@ -2564,7 +2564,7 @@ function ct(e) {
2564
2564
  function ko(e) {
2565
2565
  return Ve(e) === "html" ? e : e.assignedSlot || e.parentNode || (Rr(e) ? e.host : null) || ct(e);
2566
2566
  }
2567
- function Fs(e) {
2567
+ function Ls(e) {
2568
2568
  return !Pe(e) || nt(e).position === "fixed" ? null : e.offsetParent;
2569
2569
  }
2570
2570
  function Jf(e) {
@@ -2583,12 +2583,12 @@ function Jf(e) {
2583
2583
  }
2584
2584
  return null;
2585
2585
  }
2586
- function In(e) {
2587
- for (var t = De(e), n = Fs(e); n && Kf(n) && nt(n).position === "static"; )
2588
- n = Fs(n);
2586
+ function Mn(e) {
2587
+ for (var t = De(e), n = Ls(e); n && Kf(n) && nt(n).position === "static"; )
2588
+ n = Ls(n);
2589
2589
  return n && (Ve(n) === "html" || Ve(n) === "body" && nt(n).position === "static") ? t : n || Jf(e) || t;
2590
2590
  }
2591
- function Lr(e) {
2591
+ function Fr(e) {
2592
2592
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
2593
2593
  }
2594
2594
  function bn(e, t, n) {
@@ -2610,13 +2610,13 @@ function vi(e, t) {
2610
2610
  }, {});
2611
2611
  }
2612
2612
  var Zf = function(e, t) {
2613
- return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, mi(typeof e != "number" ? e : vi(e, Mn));
2613
+ return e = typeof e == "function" ? e(Object.assign({}, t.rects, { placement: t.placement })) : e, mi(typeof e != "number" ? e : vi(e, In));
2614
2614
  };
2615
2615
  function Qf(e) {
2616
- var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ze(n.placement), c = Lr(i), l = [we, Me].indexOf(i) >= 0, u = l ? "height" : "width";
2616
+ var t, n = e.state, o = e.name, r = e.options, s = n.elements.arrow, a = n.modifiersData.popperOffsets, i = ze(n.placement), c = Fr(i), l = [we, Ie].indexOf(i) >= 0, u = l ? "height" : "width";
2617
2617
  if (!(!s || !a)) {
2618
- var d = Zf(r.padding, n), f = Fr(s), m = c === "y" ? _e : we, p = c === "y" ? Ae : Me, v = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], _ = a[c] - n.rects.reference[c], g = In(s), O = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, P = v / 2 - _ / 2, C = d[m], A = O - f[u] - d[p], $ = O / 2 - f[u] / 2 + P, b = bn(C, $, A), F = c;
2619
- n.modifiersData[o] = (t = {}, t[F] = b, t.centerOffset = b - $, t);
2618
+ var d = Zf(r.padding, n), f = Lr(s), m = c === "y" ? _e : we, p = c === "y" ? Ae : Ie, v = n.rects.reference[u] + n.rects.reference[c] - a[c] - n.rects.popper[u], _ = a[c] - n.rects.reference[c], g = Mn(s), O = g ? c === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0, P = v / 2 - _ / 2, C = d[m], A = O - f[u] - d[p], $ = O / 2 - f[u] / 2 + P, b = bn(C, $, A), L = c;
2619
+ n.modifiersData[o] = (t = {}, t[L] = b, t.centerOffset = b - $, t);
2620
2620
  }
2621
2621
  }
2622
2622
  function Xf(e) {
@@ -2632,25 +2632,25 @@ function np(e) {
2632
2632
  var t = e.x, n = e.y, o = window, r = o.devicePixelRatio || 1;
2633
2633
  return { x: Vt(t * r) / r || 0, y: Vt(n * r) / r || 0 };
2634
2634
  }
2635
- function Ls(e) {
2635
+ function Fs(e) {
2636
2636
  var t, n = e.popper, o = e.popperRect, r = e.placement, s = e.variation, a = e.offsets, i = e.position, c = e.gpuAcceleration, l = e.adaptive, u = e.roundOffsets, d = e.isFixed, f = a.x, m = f === void 0 ? 0 : f, p = a.y, v = p === void 0 ? 0 : p, _ = typeof u == "function" ? u({ x: m, y: v }) : { x: m, y: v };
2637
2637
  m = _.x, v = _.y;
2638
2638
  var g = a.hasOwnProperty("x"), O = a.hasOwnProperty("y"), P = we, C = _e, A = window;
2639
2639
  if (l) {
2640
- var $ = In(n), b = "clientHeight", F = "clientWidth";
2641
- if ($ === De(n) && ($ = ct(n), nt($).position !== "static" && i === "absolute" && (b = "scrollHeight", F = "scrollWidth")), $ = $, r === _e || (r === we || r === Me) && s === kn) {
2640
+ var $ = Mn(n), b = "clientHeight", L = "clientWidth";
2641
+ if ($ === De(n) && ($ = ct(n), nt($).position !== "static" && i === "absolute" && (b = "scrollHeight", L = "scrollWidth")), $ = $, r === _e || (r === we || r === Ie) && s === kn) {
2642
2642
  C = Ae;
2643
- var L = d && $ === A && A.visualViewport ? A.visualViewport.height : $[b];
2644
- v -= L - o.height, v *= c ? 1 : -1;
2643
+ var F = d && $ === A && A.visualViewport ? A.visualViewport.height : $[b];
2644
+ v -= F - o.height, v *= c ? 1 : -1;
2645
2645
  }
2646
2646
  if (r === we || (r === _e || r === Ae) && s === kn) {
2647
- P = Me;
2648
- var x = d && $ === A && A.visualViewport ? A.visualViewport.width : $[F];
2647
+ P = Ie;
2648
+ var x = d && $ === A && A.visualViewport ? A.visualViewport.width : $[L];
2649
2649
  m -= x - o.width, m *= c ? 1 : -1;
2650
2650
  }
2651
2651
  }
2652
- var w = Object.assign({ position: i }, l && tp), M = u === !0 ? np({ x: m, y: v }) : { x: m, y: v };
2653
- if (m = M.x, v = M.y, c) {
2652
+ var w = Object.assign({ position: i }, l && tp), I = u === !0 ? np({ x: m, y: v }) : { x: m, y: v };
2653
+ if (m = I.x, v = I.y, c) {
2654
2654
  var N;
2655
2655
  return Object.assign({}, w, (N = {}, N[C] = O ? "0" : "", N[P] = g ? "0" : "", N.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", N));
2656
2656
  }
@@ -2658,7 +2658,7 @@ function Ls(e) {
2658
2658
  }
2659
2659
  function op(e) {
2660
2660
  var t = e.state, n = e.options, o = n.gpuAcceleration, r = o === void 0 ? !0 : o, s = n.adaptive, a = s === void 0 ? !0 : s, i = n.roundOffsets, c = i === void 0 ? !0 : i, l = { placement: ze(t.placement), variation: qt(t.placement), popper: t.elements.popper, popperRect: t.rects.popper, gpuAcceleration: r, isFixed: t.options.strategy === "fixed" };
2661
- t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Ls(Object.assign({}, l, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, adaptive: a, roundOffsets: c })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Ls(Object.assign({}, l, { offsets: t.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
2661
+ t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Fs(Object.assign({}, l, { offsets: t.modifiersData.popperOffsets, position: t.options.strategy, adaptive: a, roundOffsets: c })))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Fs(Object.assign({}, l, { offsets: t.modifiersData.arrow, position: "absolute", adaptive: !1, roundOffsets: c })))), t.attributes.popper = Object.assign({}, t.attributes.popper, { "data-popper-placement": t.placement });
2662
2662
  }
2663
2663
  var gi = { name: "computeStyles", enabled: !0, phase: "beforeWrite", fn: op, data: {} }, Dn = { passive: !0 };
2664
2664
  function rp(e) {
@@ -2723,7 +2723,7 @@ function Ds(e, t) {
2723
2723
  return t === di ? rr(ip(e)) : Ut(t) ? cp(t) : rr(lp(ct(e)));
2724
2724
  }
2725
2725
  function up(e) {
2726
- var t = yn(ko(e)), n = ["absolute", "fixed"].indexOf(nt(e).position) >= 0, o = n && Pe(e) ? In(e) : e;
2726
+ var t = yn(ko(e)), n = ["absolute", "fixed"].indexOf(nt(e).position) >= 0, o = n && Pe(e) ? Mn(e) : e;
2727
2727
  return Ut(o) ? t.filter(function(r) {
2728
2728
  return Ut(r) && pi(r, o) && Ve(r) !== "body";
2729
2729
  }) : [];
@@ -2744,7 +2744,7 @@ function _i(e) {
2744
2744
  case Ae:
2745
2745
  c = { x: a, y: t.y + t.height };
2746
2746
  break;
2747
- case Me:
2747
+ case Ie:
2748
2748
  c = { x: t.x + t.width, y: i };
2749
2749
  break;
2750
2750
  case we:
@@ -2753,7 +2753,7 @@ function _i(e) {
2753
2753
  default:
2754
2754
  c = { x: t.x, y: t.y };
2755
2755
  }
2756
- var l = r ? Lr(r) : null;
2756
+ var l = r ? Fr(r) : null;
2757
2757
  if (l != null) {
2758
2758
  var u = l === "y" ? "height" : "width";
2759
2759
  switch (s) {
@@ -2769,21 +2769,21 @@ function _i(e) {
2769
2769
  }
2770
2770
  function On(e, t) {
2771
2771
  t === void 0 && (t = {});
2772
- var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Nf : s, i = n.rootBoundary, c = i === void 0 ? di : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, v = mi(typeof p != "number" ? p : vi(p, Mn)), _ = u === dn ? Rf : dn, g = e.rects.popper, O = e.elements[f ? _ : u], P = dp(Ut(O) ? O : O.contextElement || ct(e.elements.popper), a, c), C = Wt(e.elements.reference), A = _i({ reference: C, element: g, strategy: "absolute", placement: r }), $ = rr(Object.assign({}, g, A)), b = u === dn ? $ : C, F = { top: P.top - b.top + v.top, bottom: b.bottom - P.bottom + v.bottom, left: P.left - b.left + v.left, right: b.right - P.right + v.right }, L = e.modifiersData.offset;
2773
- if (u === dn && L) {
2774
- var x = L[r];
2775
- Object.keys(F).forEach(function(w) {
2776
- var M = [Me, Ae].indexOf(w) >= 0 ? 1 : -1, N = [_e, Ae].indexOf(w) >= 0 ? "y" : "x";
2777
- F[w] += x[N] * M;
2772
+ var n = t, o = n.placement, r = o === void 0 ? e.placement : o, s = n.boundary, a = s === void 0 ? Nf : s, i = n.rootBoundary, c = i === void 0 ? di : i, l = n.elementContext, u = l === void 0 ? dn : l, d = n.altBoundary, f = d === void 0 ? !1 : d, m = n.padding, p = m === void 0 ? 0 : m, v = mi(typeof p != "number" ? p : vi(p, In)), _ = u === dn ? Rf : dn, g = e.rects.popper, O = e.elements[f ? _ : u], P = dp(Ut(O) ? O : O.contextElement || ct(e.elements.popper), a, c), C = Wt(e.elements.reference), A = _i({ reference: C, element: g, strategy: "absolute", placement: r }), $ = rr(Object.assign({}, g, A)), b = u === dn ? $ : C, L = { top: P.top - b.top + v.top, bottom: b.bottom - P.bottom + v.bottom, left: P.left - b.left + v.left, right: b.right - P.right + v.right }, F = e.modifiersData.offset;
2773
+ if (u === dn && F) {
2774
+ var x = F[r];
2775
+ Object.keys(L).forEach(function(w) {
2776
+ var I = [Ie, Ae].indexOf(w) >= 0 ? 1 : -1, N = [_e, Ae].indexOf(w) >= 0 ? "y" : "x";
2777
+ L[w] += x[N] * I;
2778
2778
  });
2779
2779
  }
2780
- return F;
2780
+ return L;
2781
2781
  }
2782
2782
  function fp(e, t) {
2783
2783
  t === void 0 && (t = {});
2784
2784
  var n = t, o = n.placement, r = n.boundary, s = n.rootBoundary, a = n.padding, i = n.flipVariations, c = n.allowedAutoPlacements, l = c === void 0 ? Nr : c, u = qt(o), d = u ? i ? Rs : Rs.filter(function(p) {
2785
2785
  return qt(p) === u;
2786
- }) : Mn, f = d.filter(function(p) {
2786
+ }) : In, f = d.filter(function(p) {
2787
2787
  return l.indexOf(p) >= 0;
2788
2788
  });
2789
2789
  f.length === 0 && (f = d);
@@ -2805,19 +2805,19 @@ function hp(e) {
2805
2805
  if (!t.modifiersData[o]._skip) {
2806
2806
  for (var r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !0 : a, c = n.fallbackPlacements, l = n.padding, u = n.boundary, d = n.rootBoundary, f = n.altBoundary, m = n.flipVariations, p = m === void 0 ? !0 : m, v = n.allowedAutoPlacements, _ = t.options.placement, g = ze(_), O = g === _, P = c || (O || !p ? [ro(_)] : pp(_)), C = [_].concat(P).reduce(function(ut, Je) {
2807
2807
  return ut.concat(ze(Je) === $r ? fp(t, { placement: Je, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: v }) : Je);
2808
- }, []), A = t.rects.reference, $ = t.rects.popper, b = /* @__PURE__ */ new Map(), F = !0, L = C[0], x = 0; x < C.length; x++) {
2809
- var w = C[x], M = ze(w), N = qt(w) === zt, W = [_e, Ae].indexOf(M) >= 0, q = W ? "width" : "height", z = On(t, { placement: w, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), k = W ? N ? Me : we : N ? Ae : _e;
2808
+ }, []), A = t.rects.reference, $ = t.rects.popper, b = /* @__PURE__ */ new Map(), L = !0, F = C[0], x = 0; x < C.length; x++) {
2809
+ var w = C[x], I = ze(w), N = qt(w) === zt, W = [_e, Ae].indexOf(I) >= 0, q = W ? "width" : "height", z = On(t, { placement: w, boundary: u, rootBoundary: d, altBoundary: f, padding: l }), k = W ? N ? Ie : we : N ? Ae : _e;
2810
2810
  A[q] > $[q] && (k = ro(k));
2811
- var j = ro(k), K = [];
2812
- if (s && K.push(z[M] <= 0), i && K.push(z[k] <= 0, z[j] <= 0), K.every(function(ut) {
2811
+ var D = ro(k), K = [];
2812
+ if (s && K.push(z[I] <= 0), i && K.push(z[k] <= 0, z[D] <= 0), K.every(function(ut) {
2813
2813
  return ut;
2814
2814
  })) {
2815
- L = w, F = !1;
2815
+ F = w, L = !1;
2816
2816
  break;
2817
2817
  }
2818
2818
  b.set(w, K);
2819
2819
  }
2820
- if (F)
2820
+ if (L)
2821
2821
  for (var te = p ? 3 : 1, Ke = function(ut) {
2822
2822
  var Je = C.find(function(Rn) {
2823
2823
  var sn = b.get(Rn);
@@ -2827,13 +2827,13 @@ function hp(e) {
2827
2827
  });
2828
2828
  });
2829
2829
  if (Je)
2830
- return L = Je, "break";
2830
+ return F = Je, "break";
2831
2831
  }, ke = te; ke > 0; ke--) {
2832
2832
  var Nn = Ke(ke);
2833
2833
  if (Nn === "break")
2834
2834
  break;
2835
2835
  }
2836
- t.placement !== L && (t.modifiersData[o]._skip = !0, t.placement = L, t.reset = !0);
2836
+ t.placement !== F && (t.modifiersData[o]._skip = !0, t.placement = F, t.reset = !0);
2837
2837
  }
2838
2838
  }
2839
2839
  var mp = { name: "flip", enabled: !0, phase: "main", fn: hp, requiresIfExists: ["offset"], data: { _skip: !1 } };
@@ -2841,7 +2841,7 @@ function Bs(e, t, n) {
2841
2841
  return n === void 0 && (n = { x: 0, y: 0 }), { top: e.top - t.height - n.y, right: e.right - t.width + n.x, bottom: e.bottom - t.height + n.y, left: e.left - t.width - n.x };
2842
2842
  }
2843
2843
  function Hs(e) {
2844
- return [_e, Me, Ae, we].some(function(t) {
2844
+ return [_e, Ie, Ae, we].some(function(t) {
2845
2845
  return e[t] >= 0;
2846
2846
  });
2847
2847
  }
@@ -2852,7 +2852,7 @@ function vp(e) {
2852
2852
  var gp = { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: vp };
2853
2853
  function bp(e, t, n) {
2854
2854
  var o = ze(e), r = [we, _e].indexOf(o) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, { placement: e })) : n, a = s[0], i = s[1];
2855
- return a = a || 0, i = (i || 0) * r, [we, Me].indexOf(o) >= 0 ? { x: i, y: a } : { x: a, y: i };
2855
+ return a = a || 0, i = (i || 0) * r, [we, Ie].indexOf(o) >= 0 ? { x: i, y: a } : { x: a, y: i };
2856
2856
  }
2857
2857
  function yp(e) {
2858
2858
  var t = e.state, n = e.options, o = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, a = Nr.reduce(function(u, d) {
@@ -2870,17 +2870,17 @@ function xp(e) {
2870
2870
  return e === "x" ? "y" : "x";
2871
2871
  }
2872
2872
  function Ep(e) {
2873
- var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, v = p === void 0 ? 0 : p, _ = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), O = qt(t.placement), P = !O, C = Lr(g), A = xp(C), $ = t.modifiersData.popperOffsets, b = t.rects.reference, F = t.rects.popper, L = typeof v == "function" ? v(Object.assign({}, t.rects, { placement: t.placement })) : v, x = typeof L == "number" ? { mainAxis: L, altAxis: L } : Object.assign({ mainAxis: 0, altAxis: 0 }, L), w = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, M = { x: 0, y: 0 };
2873
+ var t = e.state, n = e.options, o = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, a = n.altAxis, i = a === void 0 ? !1 : a, c = n.boundary, l = n.rootBoundary, u = n.altBoundary, d = n.padding, f = n.tether, m = f === void 0 ? !0 : f, p = n.tetherOffset, v = p === void 0 ? 0 : p, _ = On(t, { boundary: c, rootBoundary: l, padding: d, altBoundary: u }), g = ze(t.placement), O = qt(t.placement), P = !O, C = Fr(g), A = xp(C), $ = t.modifiersData.popperOffsets, b = t.rects.reference, L = t.rects.popper, F = typeof v == "function" ? v(Object.assign({}, t.rects, { placement: t.placement })) : v, x = typeof F == "number" ? { mainAxis: F, altAxis: F } : Object.assign({ mainAxis: 0, altAxis: 0 }, F), w = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = { x: 0, y: 0 };
2874
2874
  if ($) {
2875
2875
  if (s) {
2876
- var N, W = C === "y" ? _e : we, q = C === "y" ? Ae : Me, z = C === "y" ? "height" : "width", k = $[C], j = k + _[W], K = k - _[q], te = m ? -F[z] / 2 : 0, Ke = O === zt ? b[z] : F[z], ke = O === zt ? -F[z] : -b[z], Nn = t.elements.arrow, ut = m && Nn ? Fr(Nn) : { width: 0, height: 0 }, Je = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : hi(), Rn = Je[W], sn = Je[q], Nt = bn(0, b[z], ut[z]), Ol = P ? b[z] / 2 - te - Nt - Rn - x.mainAxis : Ke - Nt - Rn - x.mainAxis, Tl = P ? -b[z] / 2 + te + Nt + sn + x.mainAxis : ke + Nt + sn + x.mainAxis, Ao = t.elements.arrow && In(t.elements.arrow), Pl = Ao ? C === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Qr = (N = w == null ? void 0 : w[C]) != null ? N : 0, Cl = k + Ol - Qr - Pl, Al = k + Tl - Qr, Xr = bn(m ? uo(j, Cl) : j, k, m ? yt(K, Al) : K);
2877
- $[C] = Xr, M[C] = Xr - k;
2876
+ var N, W = C === "y" ? _e : we, q = C === "y" ? Ae : Ie, z = C === "y" ? "height" : "width", k = $[C], D = k + _[W], K = k - _[q], te = m ? -L[z] / 2 : 0, Ke = O === zt ? b[z] : L[z], ke = O === zt ? -L[z] : -b[z], Nn = t.elements.arrow, ut = m && Nn ? Lr(Nn) : { width: 0, height: 0 }, Je = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : hi(), Rn = Je[W], sn = Je[q], Nt = bn(0, b[z], ut[z]), Ol = P ? b[z] / 2 - te - Nt - Rn - x.mainAxis : Ke - Nt - Rn - x.mainAxis, Tl = P ? -b[z] / 2 + te + Nt + sn + x.mainAxis : ke + Nt + sn + x.mainAxis, Ao = t.elements.arrow && Mn(t.elements.arrow), Pl = Ao ? C === "y" ? Ao.clientTop || 0 : Ao.clientLeft || 0 : 0, Qr = (N = w == null ? void 0 : w[C]) != null ? N : 0, Cl = k + Ol - Qr - Pl, Al = k + Tl - Qr, Xr = bn(m ? uo(D, Cl) : D, k, m ? yt(K, Al) : K);
2877
+ $[C] = Xr, I[C] = Xr - k;
2878
2878
  }
2879
2879
  if (i) {
2880
- var es, Ml = C === "x" ? _e : we, Il = C === "x" ? Ae : Me, dt = $[A], Fn = A === "y" ? "height" : "width", ts = dt + _[Ml], ns = dt - _[Il], Mo = [_e, we].indexOf(g) !== -1, os = (es = w == null ? void 0 : w[A]) != null ? es : 0, rs = Mo ? ts : dt - b[Fn] - F[Fn] - os + x.altAxis, ss = Mo ? dt + b[Fn] + F[Fn] - os - x.altAxis : ns, as = m && Mo ? Yf(rs, dt, ss) : bn(m ? rs : ts, dt, m ? ss : ns);
2881
- $[A] = as, M[A] = as - dt;
2880
+ var es, Il = C === "x" ? _e : we, Ml = C === "x" ? Ae : Ie, dt = $[A], Ln = A === "y" ? "height" : "width", ts = dt + _[Il], ns = dt - _[Ml], Io = [_e, we].indexOf(g) !== -1, os = (es = w == null ? void 0 : w[A]) != null ? es : 0, rs = Io ? ts : dt - b[Ln] - L[Ln] - os + x.altAxis, ss = Io ? dt + b[Ln] + L[Ln] - os - x.altAxis : ns, as = m && Io ? Yf(rs, dt, ss) : bn(m ? rs : ts, dt, m ? ss : ns);
2881
+ $[A] = as, I[A] = as - dt;
2882
2882
  }
2883
- t.modifiersData[o] = M;
2883
+ t.modifiersData[o] = I;
2884
2884
  }
2885
2885
  }
2886
2886
  var Sp = { name: "preventOverflow", enabled: !0, phase: "main", fn: Ep, requiresIfExists: ["offset"] };
@@ -2926,7 +2926,7 @@ function Ap(e) {
2926
2926
  }));
2927
2927
  }, []);
2928
2928
  }
2929
- function Mp(e) {
2929
+ function Ip(e) {
2930
2930
  var t;
2931
2931
  return function() {
2932
2932
  return t || (t = new Promise(function(n) {
@@ -2936,7 +2936,7 @@ function Mp(e) {
2936
2936
  })), t;
2937
2937
  };
2938
2938
  }
2939
- function Ip(e) {
2939
+ function Mp(e) {
2940
2940
  var t = e.reduce(function(n, o) {
2941
2941
  var r = n[o.name];
2942
2942
  return n[o.name] = r ? Object.assign({}, r, o, { options: Object.assign({}, r.options, o.options), data: Object.assign({}, r.data, o.data) }) : o, n;
@@ -2961,7 +2961,7 @@ function Hr(e) {
2961
2961
  var l = { placement: "bottom", orderedModifiers: [], options: Object.assign({}, zs, s), modifiersData: {}, elements: { reference: a, popper: i }, attributes: {}, styles: {} }, u = [], d = !1, f = { state: l, setOptions: function(v) {
2962
2962
  var _ = typeof v == "function" ? v(l.options) : v;
2963
2963
  p(), l.options = Object.assign({}, s, l.options, _), l.scrollParents = { reference: Ut(a) ? yn(a) : a.contextElement ? yn(a.contextElement) : [], popper: yn(i) };
2964
- var g = Ap(Ip([].concat(o, l.options.modifiers)));
2964
+ var g = Ap(Mp([].concat(o, l.options.modifiers)));
2965
2965
  return l.orderedModifiers = g.filter(function(O) {
2966
2966
  return O.enabled;
2967
2967
  }), m(), f.update();
@@ -2969,8 +2969,8 @@ function Hr(e) {
2969
2969
  if (!d) {
2970
2970
  var v = l.elements, _ = v.reference, g = v.popper;
2971
2971
  if (Us(_, g)) {
2972
- l.rects = { reference: Pp(_, In(g), l.options.strategy === "fixed"), popper: Fr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(F) {
2973
- return l.modifiersData[F.name] = Object.assign({}, F.data);
2972
+ l.rects = { reference: Pp(_, Mn(g), l.options.strategy === "fixed"), popper: Lr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(L) {
2973
+ return l.modifiersData[L.name] = Object.assign({}, L.data);
2974
2974
  });
2975
2975
  for (var O = 0; O < l.orderedModifiers.length; O++) {
2976
2976
  if (l.reset === !0) {
@@ -2982,7 +2982,7 @@ function Hr(e) {
2982
2982
  }
2983
2983
  }
2984
2984
  }
2985
- }, update: Mp(function() {
2985
+ }, update: Ip(function() {
2986
2986
  return new Promise(function(v) {
2987
2987
  f.forceUpdate(), v(l);
2988
2988
  });
@@ -3016,13 +3016,13 @@ Hr();
3016
3016
  var $p = [bi, wi, gi, fi];
3017
3017
  Hr({ defaultModifiers: $p });
3018
3018
  var Np = [bi, wi, gi, fi, _p, mp, Sp, ep, gp], Rp = Hr({ defaultModifiers: Np });
3019
- const Fp = (e, t, n = {}) => {
3019
+ const Lp = (e, t, n = {}) => {
3020
3020
  const o = {
3021
3021
  name: "updateState",
3022
3022
  enabled: !0,
3023
3023
  phase: "write",
3024
3024
  fn: ({ state: c }) => {
3025
- const l = Lp(c);
3025
+ const l = Fp(c);
3026
3026
  Object.assign(a.value, l);
3027
3027
  },
3028
3028
  requires: ["computeStyles"]
@@ -3038,7 +3038,7 @@ const Fp = (e, t, n = {}) => {
3038
3038
  { name: "applyStyles", enabled: !1 }
3039
3039
  ]
3040
3040
  };
3041
- }), s = gr(), a = I({
3041
+ }), s = gr(), a = M({
3042
3042
  styles: {
3043
3043
  popper: {
3044
3044
  position: y(r).strategy,
@@ -3080,7 +3080,7 @@ const Fp = (e, t, n = {}) => {
3080
3080
  instanceRef: E(() => y(s))
3081
3081
  };
3082
3082
  };
3083
- function Lp(e) {
3083
+ function Fp(e) {
3084
3084
  const t = Object.keys(e.elements), n = or(t.map((r) => [r, e.styles[r] || {}])), o = or(t.map((r) => [r, e.attributes[r]]));
3085
3085
  return {
3086
3086
  styles: n,
@@ -3107,23 +3107,23 @@ usage: app.provide(ID_INJECTION_KEY, {
3107
3107
  prefix: number,
3108
3108
  current: number,
3109
3109
  })`);
3110
- const n = Ir();
3110
+ const n = Mr();
3111
3111
  return E(() => y(e) || `${n.value}-id-${t.prefix}-${t.current++}`);
3112
3112
  };
3113
- let Lt = [];
3113
+ let Ft = [];
3114
3114
  const Ws = (e) => {
3115
3115
  const t = e;
3116
- t.key === me.esc && Lt.forEach((n) => n(t));
3116
+ t.key === me.esc && Ft.forEach((n) => n(t));
3117
3117
  }, Bp = (e) => {
3118
3118
  X(() => {
3119
- Lt.length === 0 && document.addEventListener("keydown", Ws), ve && Lt.push(e);
3119
+ Ft.length === 0 && document.addEventListener("keydown", Ws), ve && Ft.push(e);
3120
3120
  }), We(() => {
3121
- Lt = Lt.filter((t) => t !== e), Lt.length === 0 && ve && document.removeEventListener("keydown", Ws);
3121
+ Ft = Ft.filter((t) => t !== e), Ft.length === 0 && ve && document.removeEventListener("keydown", Ws);
3122
3122
  });
3123
3123
  };
3124
3124
  let qs;
3125
3125
  const Ei = () => {
3126
- const e = Ir(), t = xi(), n = E(() => `${e.value}-popper-container-${t.prefix}`), o = E(() => `#${n.value}`);
3126
+ const e = Mr(), t = xi(), n = E(() => `${e.value}-popper-container-${t.prefix}`), o = E(() => `#${n.value}`);
3127
3127
  return {
3128
3128
  id: n,
3129
3129
  selector: o
@@ -3195,7 +3195,7 @@ const Ei = () => {
3195
3195
  unmounted() {
3196
3196
  e(null);
3197
3197
  }
3198
- }), Gs = I(0), ki = 2e3, Oi = Symbol("zIndexContextKey"), Ti = (e) => {
3198
+ }), Gs = M(0), ki = 2e3, Oi = Symbol("zIndexContextKey"), Ti = (e) => {
3199
3199
  const t = e || (je() ? Z(Oi, void 0) : void 0), n = E(() => {
3200
3200
  const s = y(t);
3201
3201
  return Ue(s) ? s : ki;
@@ -3209,7 +3209,7 @@ const Ei = () => {
3209
3209
  type: String,
3210
3210
  values: Sf,
3211
3211
  required: !1
3212
- }), Kp = Symbol("size"), Pi = Symbol(), fo = I();
3212
+ }), Kp = Symbol("size"), Pi = Symbol(), fo = M();
3213
3213
  function Ci(e, t = void 0) {
3214
3214
  const n = je() ? Z(Pi, fo) : fo;
3215
3215
  return e ? E(() => {
@@ -3231,14 +3231,14 @@ function Ai(e, t) {
3231
3231
  var i;
3232
3232
  return y(t) || ((i = n.value) == null ? void 0 : i.size) || "";
3233
3233
  });
3234
- return Mi(E(() => y(n) || {})), {
3234
+ return Ii(E(() => y(n) || {})), {
3235
3235
  ns: o,
3236
3236
  locale: r,
3237
3237
  zIndex: s,
3238
3238
  size: a
3239
3239
  };
3240
3240
  }
3241
- const Mi = (e, t, n = !1) => {
3241
+ const Ii = (e, t, n = !1) => {
3242
3242
  var o;
3243
3243
  const r = !!je(), s = r ? Ci() : void 0, a = (o = t == null ? void 0 : t.provide) != null ? o : r ? re : void 0;
3244
3244
  if (!a) {
@@ -3293,7 +3293,7 @@ H({
3293
3293
  Y(() => e.message, (o) => {
3294
3294
  Object.assign(ar, o ?? {});
3295
3295
  }, { immediate: !0, deep: !0 });
3296
- const n = Mi(e);
3296
+ const n = Ii(e);
3297
3297
  return () => oe(t, "default", { config: n == null ? void 0 : n.value });
3298
3298
  }
3299
3299
  });
@@ -3333,7 +3333,7 @@ const Zp = ue({
3333
3333
  }
3334
3334
  });
3335
3335
  var eh = /* @__PURE__ */ fe(Xp, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);
3336
- const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Ii = Symbol("popperContent"), th = [
3336
+ const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Mi = Symbol("popperContent"), th = [
3337
3337
  "dialog",
3338
3338
  "grid",
3339
3339
  "group",
@@ -3355,7 +3355,7 @@ const po = At(eh), Ks = Symbol("formItemContextKey"), zr = Symbol("popper"), Ii
3355
3355
  ...nh,
3356
3356
  props: $i,
3357
3357
  setup(e, { expose: t }) {
3358
- const n = e, o = I(), r = I(), s = I(), a = I(), i = E(() => n.role), c = {
3358
+ const n = e, o = M(), r = M(), s = M(), a = M(), i = E(() => n.role), c = {
3359
3359
  triggerRef: o,
3360
3360
  popperInstanceRef: r,
3361
3361
  contentRef: s,
@@ -3378,7 +3378,7 @@ const Ni = ue({
3378
3378
  ...sh,
3379
3379
  props: Ni,
3380
3380
  setup(e, { expose: t }) {
3381
- const n = e, o = ae("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = Z(Ii, void 0);
3381
+ const n = e, o = ae("popper"), { arrowOffset: r, arrowRef: s, arrowStyle: a } = Z(Mi, void 0);
3382
3382
  return Y(() => n.arrowOffset, (i) => {
3383
3383
  r.value = i;
3384
3384
  }), We(() => {
@@ -3422,7 +3422,7 @@ function Ri(e) {
3422
3422
  for (const n of t) {
3423
3423
  if (Pt(n))
3424
3424
  switch (n.type) {
3425
- case Fl:
3425
+ case Ll:
3426
3426
  continue;
3427
3427
  case Rl:
3428
3428
  case "svg":
@@ -3442,7 +3442,7 @@ function Js(e) {
3442
3442
  class: t.e("content")
3443
3443
  }, [e]);
3444
3444
  }
3445
- const Fi = ue({
3445
+ const Li = ue({
3446
3446
  virtualRef: {
3447
3447
  type: G(Object)
3448
3448
  },
@@ -3475,7 +3475,7 @@ const Fi = ue({
3475
3475
  inheritAttrs: !1
3476
3476
  }), uh = /* @__PURE__ */ H({
3477
3477
  ...ch,
3478
- props: Fi,
3478
+ props: Li,
3479
3479
  setup(e, { expose: t }) {
3480
3480
  const n = e, { role: o, triggerRef: r } = Z(zr, void 0);
3481
3481
  Wp(r);
@@ -3527,7 +3527,7 @@ const Fi = ue({
3527
3527
  l == null || l(), l = void 0;
3528
3528
  }), t({
3529
3529
  triggerRef: r
3530
- }), (u, d) => u.virtualTriggering ? D("v-if", !0) : (T(), ee(y(lh), Jt({ key: 0 }, u.$attrs, {
3530
+ }), (u, d) => u.virtualTriggering ? j("v-if", !0) : (T(), ee(y(lh), Jt({ key: 0 }, u.$attrs, {
3531
3531
  "aria-controls": y(s),
3532
3532
  "aria-describedby": y(a),
3533
3533
  "aria-expanded": y(c),
@@ -3547,9 +3547,9 @@ const Ho = "focus-trap.focus-after-trapped", zo = "focus-trap.focus-after-releas
3547
3547
  }, ph = {
3548
3548
  cancelable: !0,
3549
3549
  bubbles: !1
3550
- }, Zs = "focusAfterTrapped", Qs = "focusAfterReleased", hh = Symbol("elFocusTrap"), Ur = I(), Oo = I(0), Vr = I(0);
3550
+ }, Zs = "focusAfterTrapped", Qs = "focusAfterReleased", hh = Symbol("elFocusTrap"), Ur = M(), Oo = M(0), Vr = M(0);
3551
3551
  let Bn = 0;
3552
- const Li = (e) => {
3552
+ const Fi = (e) => {
3553
3553
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
3554
3554
  acceptNode: (o) => {
3555
3555
  const r = o.tagName === "INPUT" && o.type === "hidden";
@@ -3577,7 +3577,7 @@ const Li = (e) => {
3577
3577
  }
3578
3578
  return !1;
3579
3579
  }, vh = (e) => {
3580
- const t = Li(e), n = Xs(t, e), o = Xs(t.reverse(), e);
3580
+ const t = Fi(e), n = Xs(t, e), o = Xs(t.reverse(), e);
3581
3581
  return [n, o];
3582
3582
  }, gh = (e) => e instanceof HTMLInputElement && "select" in e, st = (e, t) => {
3583
3583
  if (e && e.focus) {
@@ -3642,7 +3642,7 @@ const bh = () => {
3642
3642
  "release-requested"
3643
3643
  ],
3644
3644
  setup(e, { emit: t }) {
3645
- const n = I();
3645
+ const n = M();
3646
3646
  let o, r;
3647
3647
  const { focusReason: s } = wh();
3648
3648
  Bp((p) => {
@@ -3661,24 +3661,24 @@ const bh = () => {
3661
3661
  return;
3662
3662
  const { key: v, altKey: _, ctrlKey: g, metaKey: O, currentTarget: P, shiftKey: C } = p, { loop: A } = e, $ = v === me.tab && !_ && !g && !O, b = document.activeElement;
3663
3663
  if ($ && b) {
3664
- const F = P, [L, x] = vh(F);
3665
- if (L && x) {
3664
+ const L = P, [F, x] = vh(L);
3665
+ if (F && x) {
3666
3666
  if (!C && b === x) {
3667
- const M = zn({
3667
+ const I = zn({
3668
3668
  focusReason: s.value
3669
3669
  });
3670
- t("focusout-prevented", M), M.defaultPrevented || (p.preventDefault(), A && st(L, !0));
3671
- } else if (C && [L, F].includes(b)) {
3672
- const M = zn({
3670
+ t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(F, !0));
3671
+ } else if (C && [F, L].includes(b)) {
3672
+ const I = zn({
3673
3673
  focusReason: s.value
3674
3674
  });
3675
- t("focusout-prevented", M), M.defaultPrevented || (p.preventDefault(), A && st(x, !0));
3675
+ t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(x, !0));
3676
3676
  }
3677
- } else if (b === F) {
3678
- const M = zn({
3677
+ } else if (b === L) {
3678
+ const I = zn({
3679
3679
  focusReason: s.value
3680
3680
  });
3681
- t("focusout-prevented", M), M.defaultPrevented || p.preventDefault();
3681
+ t("focusout-prevented", I), I.defaultPrevented || p.preventDefault();
3682
3682
  }
3683
3683
  }
3684
3684
  };
@@ -3726,7 +3726,7 @@ const bh = () => {
3726
3726
  const g = new Event(Ho, Ys);
3727
3727
  p.addEventListener(Ho, c), p.dispatchEvent(g), g.defaultPrevented || tt(() => {
3728
3728
  let O = e.focusStartEl;
3729
- ye(O) || (st(O), document.activeElement !== O && (O = "first")), O === "first" && yh(Li(p), !0), (document.activeElement === v || O === "container") && st(p);
3729
+ ye(O) || (st(O), document.activeElement !== O && (O = "first")), O === "first" && yh(Fi(p), !0), (document.activeElement === v || O === "container") && st(p);
3730
3730
  });
3731
3731
  }
3732
3732
  }
@@ -3852,7 +3852,7 @@ const kh = ["fixed", "absolute"], Oh = ue({
3852
3852
  ...r,
3853
3853
  modifiers: [...Ah(e), ...t]
3854
3854
  };
3855
- return Mh(s, r == null ? void 0 : r.modifiers), s;
3855
+ return Ih(s, r == null ? void 0 : r.modifiers), s;
3856
3856
  }, Ch = (e) => {
3857
3857
  if (ve)
3858
3858
  return it(e);
@@ -3892,16 +3892,16 @@ function Ah(e) {
3892
3892
  }
3893
3893
  ];
3894
3894
  }
3895
- function Mh(e, t) {
3895
+ function Ih(e, t) {
3896
3896
  t && (e.modifiers = [...e.modifiers, ...t ?? []]);
3897
3897
  }
3898
- const Ih = 0, $h = (e) => {
3899
- const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = Z(zr, void 0), s = I(), a = I(), i = E(() => ({
3898
+ const Mh = 0, $h = (e) => {
3899
+ const { popperInstanceRef: t, contentRef: n, triggerRef: o, role: r } = Z(zr, void 0), s = M(), a = M(), i = E(() => ({
3900
3900
  name: "eventListeners",
3901
3901
  enabled: !!e.visible
3902
3902
  })), c = E(() => {
3903
3903
  var g;
3904
- const O = y(s), P = (g = y(a)) != null ? g : Ih;
3904
+ const O = y(s), P = (g = y(a)) != null ? g : Mh;
3905
3905
  return {
3906
3906
  name: "arrow",
3907
3907
  enabled: !nf(O),
@@ -3918,7 +3918,7 @@ const Ih = 0, $h = (e) => {
3918
3918
  y(c),
3919
3919
  y(i)
3920
3920
  ])
3921
- })), u = E(() => Ch(e.referenceEl) || y(o)), { attributes: d, state: f, styles: m, update: p, forceUpdate: v, instanceRef: _ } = Fp(u, n, l);
3921
+ })), u = E(() => Ch(e.referenceEl) || y(o)), { attributes: d, state: f, styles: m, update: p, forceUpdate: v, instanceRef: _ } = Lp(u, n, l);
3922
3922
  return Y(_, (g) => t.value = g), X(() => {
3923
3923
  Y(() => {
3924
3924
  var g;
@@ -3942,7 +3942,7 @@ const Ih = 0, $h = (e) => {
3942
3942
  styles: n,
3943
3943
  role: o
3944
3944
  }) => {
3945
- const { nextZIndex: r } = Ti(), s = ae("popper"), a = E(() => y(t).popper), i = I(Ue(e.zIndex) ? e.zIndex : r()), c = E(() => [
3945
+ const { nextZIndex: r } = Ti(), s = ae("popper"), a = E(() => y(t).popper), i = M(Ue(e.zIndex) ? e.zIndex : r()), c = E(() => [
3946
3946
  s.b(),
3947
3947
  s.is("pure", e.pure),
3948
3948
  s.is(e.effect),
@@ -3964,7 +3964,7 @@ const Ih = 0, $h = (e) => {
3964
3964
  }
3965
3965
  };
3966
3966
  }, Rh = (e, t) => {
3967
- const n = I(!1), o = I();
3967
+ const n = M(!1), o = M();
3968
3968
  return {
3969
3969
  focusStartRef: o,
3970
3970
  trapped: n,
@@ -3985,10 +3985,10 @@ const Ih = 0, $h = (e) => {
3985
3985
  n.value = !1, t("close");
3986
3986
  }
3987
3987
  };
3988
- }, Fh = H({
3988
+ }, Lh = H({
3989
3989
  name: "ElPopperContent"
3990
- }), Lh = /* @__PURE__ */ H({
3991
- ...Fh,
3990
+ }), Fh = /* @__PURE__ */ H({
3991
+ ...Lh,
3992
3992
  props: ji,
3993
3993
  emits: Th,
3994
3994
  setup(e, { expose: t, emit: n }) {
@@ -4011,20 +4011,20 @@ const Ih = 0, $h = (e) => {
4011
4011
  styles: p,
4012
4012
  attributes: d,
4013
4013
  role: _
4014
- }), F = Z(Ks, void 0), L = I();
4015
- re(Ii, {
4014
+ }), L = Z(Ks, void 0), F = M();
4015
+ re(Mi, {
4016
4016
  arrowStyle: P,
4017
4017
  arrowRef: f,
4018
- arrowOffset: L
4019
- }), F && (F.addInputId || F.removeInputId) && re(Ks, {
4020
- ...F,
4018
+ arrowOffset: F
4019
+ }), L && (L.addInputId || L.removeInputId) && re(Ks, {
4020
+ ...L,
4021
4021
  addInputId: lo,
4022
4022
  removeInputId: lo
4023
4023
  });
4024
4024
  let x;
4025
4025
  const w = (N = !0) => {
4026
4026
  g(), N && b();
4027
- }, M = () => {
4027
+ }, I = () => {
4028
4028
  w(!1), o.visible && o.focusOnShow ? s.value = !0 : o.visible === !1 && (s.value = !1);
4029
4029
  };
4030
4030
  return X(() => {
@@ -4032,13 +4032,13 @@ const Ih = 0, $h = (e) => {
4032
4032
  x == null || x(), x = void 0;
4033
4033
  const q = y(N || m.value), z = y(W || m.value);
4034
4034
  Sn(q) && (x = Y([_, () => o.ariaLabel, O, () => o.id], (k) => {
4035
- ["role", "aria-label", "aria-modal", "id"].forEach((j, K) => {
4036
- En(k[K]) ? q.removeAttribute(j) : q.setAttribute(j, k[K]);
4035
+ ["role", "aria-label", "aria-modal", "id"].forEach((D, K) => {
4036
+ En(k[K]) ? q.removeAttribute(D) : q.setAttribute(D, k[K]);
4037
4037
  });
4038
4038
  }, { immediate: !0 })), z !== q && Sn(z) && ["role", "aria-label", "aria-modal", "id"].forEach((k) => {
4039
4039
  z.removeAttribute(k);
4040
4040
  });
4041
- }, { immediate: !0 }), Y(() => o.visible, M, { immediate: !0 });
4041
+ }, { immediate: !0 }), Y(() => o.visible, I, { immediate: !0 });
4042
4042
  }), We(() => {
4043
4043
  x == null || x(), x = void 0;
4044
4044
  }), t({
@@ -4075,7 +4075,7 @@ const Ih = 0, $h = (e) => {
4075
4075
  ], 16));
4076
4076
  }
4077
4077
  });
4078
- var jh = /* @__PURE__ */ fe(Lh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4078
+ var jh = /* @__PURE__ */ fe(Fh, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);
4079
4079
  const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4080
4080
  ...Up,
4081
4081
  ...ji,
@@ -4103,7 +4103,7 @@ const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4103
4103
  },
4104
4104
  disabled: Boolean
4105
4105
  }), Bi = ue({
4106
- ...Fi,
4106
+ ...Li,
4107
4107
  disabled: Boolean,
4108
4108
  trigger: {
4109
4109
  type: G([String, Array]),
@@ -4143,7 +4143,7 @@ const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
4143
4143
  ...qh,
4144
4144
  props: Bi,
4145
4145
  setup(e, { expose: t }) {
4146
- const n = e, o = ae("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = Z(Wr, void 0), u = I(null), d = () => {
4146
+ const n = e, o = ae("tooltip"), { controlled: r, id: s, open: a, onOpen: i, onClose: c, onToggle: l } = Z(Wr, void 0), u = M(null), d = () => {
4147
4147
  if (y(r) || n.disabled)
4148
4148
  return !0;
4149
4149
  }, f = Xe(n, "trigger"), m = Ze(d, Rt(f, "hover", i)), p = Ze(d, Rt(f, "hover", c)), v = Ze(d, Rt(f, "click", (C) => {
@@ -4185,7 +4185,7 @@ const Jh = H({
4185
4185
  ...Jh,
4186
4186
  props: Di,
4187
4187
  setup(e, { expose: t }) {
4188
- const n = e, { selector: o } = Ei(), r = ae("tooltip"), s = I(null), a = I(!1), {
4188
+ const n = e, { selector: o } = Ei(), r = ae("tooltip"), s = M(null), a = M(!1), {
4189
4189
  controlled: i,
4190
4190
  id: c,
4191
4191
  open: l,
@@ -4203,18 +4203,18 @@ const Jh = H({
4203
4203
  const P = E(() => y(O) ? !0 : y(l)), C = E(() => n.disabled ? !1 : y(l)), A = E(() => n.appendTo || o.value), $ = E(() => {
4204
4204
  var k;
4205
4205
  return (k = n.style) != null ? k : {};
4206
- }), b = E(() => !y(l)), F = () => {
4206
+ }), b = E(() => !y(l)), L = () => {
4207
4207
  p();
4208
- }, L = () => {
4208
+ }, F = () => {
4209
4209
  if (y(i))
4210
4210
  return !0;
4211
- }, x = Ze(L, () => {
4211
+ }, x = Ze(F, () => {
4212
4212
  n.enterable && y(u) === "hover" && f();
4213
- }), w = Ze(L, () => {
4213
+ }), w = Ze(F, () => {
4214
4214
  y(u) === "hover" && d();
4215
- }), M = () => {
4216
- var k, j;
4217
- (j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k), v == null || v();
4215
+ }), I = () => {
4216
+ var k, D;
4217
+ (D = (k = s.value) == null ? void 0 : k.updatePopper) == null || D.call(k), v == null || v();
4218
4218
  }, N = () => {
4219
4219
  _ == null || _();
4220
4220
  }, W = () => {
@@ -4235,18 +4235,18 @@ const Jh = H({
4235
4235
  }, {
4236
4236
  flush: "post"
4237
4237
  }), Y(() => n.content, () => {
4238
- var k, j;
4239
- (j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k);
4238
+ var k, D;
4239
+ (D = (k = s.value) == null ? void 0 : k.updatePopper) == null || D.call(k);
4240
4240
  }), t({
4241
4241
  contentRef: s
4242
- }), (k, j) => (T(), ee(ka, {
4242
+ }), (k, D) => (T(), ee(ka, {
4243
4243
  disabled: !k.teleported,
4244
4244
  to: y(A)
4245
4245
  }, [
4246
4246
  Q(Tt, {
4247
4247
  name: y(g),
4248
- onAfterLeave: F,
4249
- onBeforeEnter: M,
4248
+ onAfterLeave: L,
4249
+ onBeforeEnter: I,
4250
4250
  onAfterEnter: W,
4251
4251
  onBeforeLeave: N
4252
4252
  }, {
@@ -4281,12 +4281,12 @@ const Jh = H({
4281
4281
  onClose: y(d)
4282
4282
  }), {
4283
4283
  default: U(() => [
4284
- a.value ? D("v-if", !0) : oe(k.$slots, "default", { key: 0 })
4284
+ a.value ? j("v-if", !0) : oe(k.$slots, "default", { key: 0 })
4285
4285
  ]),
4286
4286
  _: 3
4287
4287
  }, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
4288
4288
  [Yt, y(C)]
4289
- ]) : D("v-if", !0)
4289
+ ]) : j("v-if", !0)
4290
4290
  ]),
4291
4291
  _: 3
4292
4292
  }, 8, ["name"])
@@ -4303,11 +4303,11 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4303
4303
  setup(e, { expose: t, emit: n }) {
4304
4304
  const o = e;
4305
4305
  zp();
4306
- const r = Dp(), s = I(), a = I(), i = () => {
4306
+ const r = Dp(), s = M(), a = M(), i = () => {
4307
4307
  var g;
4308
4308
  const O = y(s);
4309
4309
  O && ((g = O.popperInstanceRef) == null || g.update());
4310
- }, c = I(!1), l = I(), { show: u, hide: d, hasUpdateHandler: f } = zh({
4310
+ }, c = M(!1), l = M(), { show: u, hide: d, hasUpdateHandler: f } = zh({
4311
4311
  indicator: c,
4312
4312
  toggleReason: l
4313
4313
  }), { onOpen: m, onClose: p } = Vp({
@@ -4352,7 +4352,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4352
4352
  const C = (P = (O = a.value) == null ? void 0 : O.contentRef) == null ? void 0 : P.popperContentRef, A = (g == null ? void 0 : g.relatedTarget) || document.activeElement;
4353
4353
  return C && C.contains(A);
4354
4354
  };
4355
- return Ll(() => c.value && d()), t({
4355
+ return Fl(() => c.value && d()), t({
4356
4356
  popperRef: s,
4357
4357
  contentRef: a,
4358
4358
  isFocusInsideContent: _,
@@ -4374,7 +4374,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4374
4374
  "virtual-triggering": g.virtualTriggering
4375
4375
  }, {
4376
4376
  default: U(() => [
4377
- g.$slots.default ? oe(g.$slots, "default", { key: 0 }) : D("v-if", !0)
4377
+ g.$slots.default ? oe(g.$slots, "default", { key: 0 }) : j("v-if", !0)
4378
4378
  ]),
4379
4379
  _: 3
4380
4380
  }, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
@@ -4418,7 +4418,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
4418
4418
  g.showArrow ? (T(), ee(y(ih), {
4419
4419
  key: 0,
4420
4420
  "arrow-offset": g.arrowOffset
4421
- }, null, 8, ["arrow-offset"])) : D("v-if", !0)
4421
+ }, null, 8, ["arrow-offset"])) : j("v-if", !0)
4422
4422
  ]),
4423
4423
  _: 3
4424
4424
  }, 8, ["aria-label", "boundaries-padding", "content", "disabled", "effect", "enterable", "fallback-placements", "hide-after", "gpu-acceleration", "offset", "persistent", "popper-class", "popper-style", "placement", "popper-options", "pure", "raw-content", "reference-el", "trigger-target-el", "show-after", "strategy", "teleported", "transition", "virtual-triggering", "z-index", "append-to"])
@@ -5089,7 +5089,7 @@ const Pm = At(Tm), Cm = ue({
5089
5089
  }
5090
5090
  }), Am = H({
5091
5091
  name: "ElCol"
5092
- }), Mm = /* @__PURE__ */ H({
5092
+ }), Im = /* @__PURE__ */ H({
5093
5093
  ...Am,
5094
5094
  props: Cm,
5095
5095
  setup(e) {
@@ -5118,8 +5118,8 @@ const Pm = At(Tm), Cm = ue({
5118
5118
  }, 8, ["class", "style"]));
5119
5119
  }
5120
5120
  });
5121
- var Im = /* @__PURE__ */ fe(Mm, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
5122
- const $m = At(Im), Nm = H({
5121
+ var Mm = /* @__PURE__ */ fe(Im, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);
5122
+ const $m = At(Mm), Nm = H({
5123
5123
  name: "ElCollapseTransition"
5124
5124
  }), Rm = /* @__PURE__ */ H({
5125
5125
  ...Nm,
@@ -5166,8 +5166,8 @@ var so = /* @__PURE__ */ fe(Rm, [["__file", "/home/runner/work/element-plus/elem
5166
5166
  so.install = (e) => {
5167
5167
  e.component(so.name, so);
5168
5168
  };
5169
- const Fm = so;
5170
- let Lm = class {
5169
+ const Lm = so;
5170
+ let Fm = class {
5171
5171
  constructor(t, n) {
5172
5172
  this.parent = t, this.domNode = n, this.subIndex = 0, this.subIndex = 0, this.init();
5173
5173
  }
@@ -5212,7 +5212,7 @@ let Lm = class {
5212
5212
  init(t) {
5213
5213
  this.domNode.setAttribute("tabindex", "0");
5214
5214
  const n = this.domNode.querySelector(`.${t}-menu`);
5215
- n && (this.submenu = new Lm(this, n)), this.addListeners();
5215
+ n && (this.submenu = new Fm(this, n)), this.addListeners();
5216
5216
  }
5217
5217
  addListeners() {
5218
5218
  this.domNode.addEventListener("keydown", (t) => {
@@ -5371,13 +5371,13 @@ var qr = H({
5371
5371
  c || co(Wn, "can not inject root menu");
5372
5372
  const l = Z(`subMenu:${s.value.uid}`);
5373
5373
  l || co(Wn, "can not inject sub menu");
5374
- const u = I({}), d = I({});
5374
+ const u = M({}), d = M({});
5375
5375
  let f;
5376
- const m = I(!1), p = I(), v = I(null), _ = E(() => F.value === "horizontal" && O.value ? "bottom-start" : "right-start"), g = E(() => F.value === "horizontal" && O.value || F.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? $.value ? e.expandOpenIcon : e.expandCloseIcon : uf : e.collapseCloseIcon && e.collapseOpenIcon ? $.value ? e.collapseOpenIcon : e.collapseCloseIcon : ff), O = E(() => l.level === 0), P = E(() => {
5376
+ const m = M(!1), p = M(), v = M(null), _ = E(() => L.value === "horizontal" && O.value ? "bottom-start" : "right-start"), g = E(() => L.value === "horizontal" && O.value || L.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? $.value ? e.expandOpenIcon : e.expandCloseIcon : uf : e.collapseCloseIcon && e.collapseOpenIcon ? $.value ? e.collapseOpenIcon : e.collapseCloseIcon : ff), O = E(() => l.level === 0), P = E(() => {
5377
5377
  var z;
5378
5378
  const k = (z = e.teleported) != null ? z : e.popperAppendToBody;
5379
5379
  return k === void 0 ? O.value : k;
5380
- }), C = E(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), A = E(() => F.value === "horizontal" && O.value ? [
5380
+ }), C = E(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), A = E(() => L.value === "horizontal" && O.value ? [
5381
5381
  "bottom-start",
5382
5382
  "bottom-end",
5383
5383
  "top-start",
@@ -5400,14 +5400,14 @@ var qr = H({
5400
5400
  }), Object.values(d.value).forEach((k) => {
5401
5401
  k.active && (z = !0);
5402
5402
  }), z;
5403
- }), F = E(() => c.props.mode), L = Zt({
5403
+ }), L = E(() => c.props.mode), F = Zt({
5404
5404
  index: e.index,
5405
5405
  indexPath: r,
5406
5406
  active: b
5407
5407
  }), x = Wi(c.props, l.level + 1), w = () => {
5408
- var z, k, j;
5409
- return (j = (k = (z = v.value) == null ? void 0 : z.popperRef) == null ? void 0 : k.popperInstanceRef) == null ? void 0 : j.destroy();
5410
- }, M = (z) => {
5408
+ var z, k, D;
5409
+ return (D = (k = (z = v.value) == null ? void 0 : z.popperRef) == null ? void 0 : k.popperInstanceRef) == null ? void 0 : D.destroy();
5410
+ }, I = (z) => {
5411
5411
  z || w();
5412
5412
  }, N = () => {
5413
5413
  c.props.menuTrigger === "hover" && c.props.mode === "horizontal" || c.props.collapse && c.props.mode === "vertical" || e.disabled || c.handleSubMenuClick({
@@ -5416,20 +5416,20 @@ var qr = H({
5416
5416
  active: b.value
5417
5417
  });
5418
5418
  }, W = (z, k = e.showTimeout) => {
5419
- var j;
5419
+ var D;
5420
5420
  z.type !== "focus" && (c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || e.disabled || (l.mouseInChild.value = !0, f == null || f(), { stop: f } = nr(() => {
5421
5421
  c.openMenu(e.index, r.value);
5422
- }, k), P.value && ((j = s.value.vnode.el) == null || j.dispatchEvent(new MouseEvent("mouseenter")))));
5422
+ }, k), P.value && ((D = s.value.vnode.el) == null || D.dispatchEvent(new MouseEvent("mouseenter")))));
5423
5423
  }, q = (z = !1) => {
5424
- var k, j;
5425
- c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (f == null || f(), l.mouseInChild.value = !1, { stop: f } = nr(() => !m.value && c.closeMenu(e.index, r.value), e.hideTimeout), P.value && z && ((k = o.parent) == null ? void 0 : k.type.name) === "ElSubMenu" && ((j = l.handleMouseleave) == null || j.call(l, !0)));
5424
+ var k, D;
5425
+ c.props.menuTrigger === "click" && c.props.mode === "horizontal" || !c.props.collapse && c.props.mode === "vertical" || (f == null || f(), l.mouseInChild.value = !1, { stop: f } = nr(() => !m.value && c.closeMenu(e.index, r.value), e.hideTimeout), P.value && z && ((k = o.parent) == null ? void 0 : k.type.name) === "ElSubMenu" && ((D = l.handleMouseleave) == null || D.call(l, !0)));
5426
5426
  };
5427
- Y(() => c.props.collapse, (z) => M(!!z));
5427
+ Y(() => c.props.collapse, (z) => I(!!z));
5428
5428
  {
5429
- const z = (j) => {
5430
- d.value[j.index] = j;
5431
- }, k = (j) => {
5432
- delete d.value[j.index];
5429
+ const z = (D) => {
5430
+ d.value[D.index] = D;
5431
+ }, k = (D) => {
5432
+ delete d.value[D.index];
5433
5433
  };
5434
5434
  re(`subMenu:${o.uid}`, {
5435
5435
  addSubMenu: z,
@@ -5442,9 +5442,9 @@ var qr = H({
5442
5442
  return n({
5443
5443
  opened: $
5444
5444
  }), X(() => {
5445
- c.addSubMenu(L), l.addSubMenu(L);
5445
+ c.addSubMenu(F), l.addSubMenu(F);
5446
5446
  }), We(() => {
5447
- l.removeSubMenu(L), c.removeSubMenu(L);
5447
+ l.removeSubMenu(F), c.removeSubMenu(F);
5448
5448
  }), () => {
5449
5449
  var z;
5450
5450
  const k = [
@@ -5457,7 +5457,7 @@ var qr = H({
5457
5457
  }, {
5458
5458
  default: () => ye(g.value) ? V(o.appContext.components[g.value]) : V(g.value)
5459
5459
  })
5460
- ], j = c.isMenuPopup ? V(Hi, {
5460
+ ], D = c.isMenuPopup ? V(Hi, {
5461
5461
  ref: v,
5462
5462
  visible: $.value,
5463
5463
  effect: "light",
@@ -5476,7 +5476,7 @@ var qr = H({
5476
5476
  var K;
5477
5477
  return V("div", {
5478
5478
  class: [
5479
- a.m(F.value),
5479
+ a.m(L.value),
5480
5480
  a.m("popup-container"),
5481
5481
  e.popperClass
5482
5482
  ],
@@ -5504,7 +5504,7 @@ var qr = H({
5504
5504
  ref: p,
5505
5505
  onClick: N
5506
5506
  }, k),
5507
- V(Fm, {}, {
5507
+ V(Lm, {}, {
5508
5508
  default: () => {
5509
5509
  var K;
5510
5510
  return He(V("ul", {
@@ -5528,7 +5528,7 @@ var qr = H({
5528
5528
  onMouseenter: W,
5529
5529
  onMouseleave: () => q(!0),
5530
5530
  onFocus: W
5531
- }, [j]);
5531
+ }, [D]);
5532
5532
  };
5533
5533
  }
5534
5534
  });
@@ -5580,7 +5580,7 @@ var Gm = H({
5580
5580
  props: Wm,
5581
5581
  emits: qm,
5582
5582
  setup(e, { emit: t, slots: n, expose: o }) {
5583
- const r = je(), s = r.appContext.config.globalProperties.$router, a = I(), i = ae("menu"), c = ae("sub-menu"), l = I(-1), u = I(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = I(e.defaultActive), f = I({}), m = I({}), p = E(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), v = () => {
5583
+ const r = je(), s = r.appContext.config.globalProperties.$router, a = M(), i = ae("menu"), c = ae("sub-menu"), l = M(-1), u = M(e.defaultOpeneds && !e.collapse ? e.defaultOpeneds.slice(0) : []), d = M(e.defaultActive), f = M({}), m = M({}), p = E(() => e.mode === "horizontal" || e.mode === "vertical" && e.collapse), v = () => {
5584
5584
  const w = d.value && f.value[d.value];
5585
5585
  if (!w || e.mode === "horizontal" || e.collapse)
5586
5586
  return;
@@ -5588,55 +5588,55 @@ var Gm = H({
5588
5588
  const W = m.value[N];
5589
5589
  W && _(N, W.indexPath);
5590
5590
  });
5591
- }, _ = (w, M) => {
5592
- u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((N) => M.includes(N))), u.value.push(w), t("open", w, M));
5591
+ }, _ = (w, I) => {
5592
+ u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((N) => I.includes(N))), u.value.push(w), t("open", w, I));
5593
5593
  }, g = (w) => {
5594
- const M = u.value.indexOf(w);
5595
- M !== -1 && u.value.splice(M, 1);
5596
- }, O = (w, M) => {
5597
- g(w), t("close", w, M);
5594
+ const I = u.value.indexOf(w);
5595
+ I !== -1 && u.value.splice(I, 1);
5596
+ }, O = (w, I) => {
5597
+ g(w), t("close", w, I);
5598
5598
  }, P = ({
5599
5599
  index: w,
5600
- indexPath: M
5600
+ indexPath: I
5601
5601
  }) => {
5602
- u.value.includes(w) ? O(w, M) : _(w, M);
5602
+ u.value.includes(w) ? O(w, I) : _(w, I);
5603
5603
  }, C = (w) => {
5604
5604
  (e.mode === "horizontal" || e.collapse) && (u.value = []);
5605
- const { index: M, indexPath: N } = w;
5606
- if (!(En(M) || En(N)))
5605
+ const { index: I, indexPath: N } = w;
5606
+ if (!(En(I) || En(N)))
5607
5607
  if (e.router && s) {
5608
- const W = w.route || M, q = s.push(W).then((z) => (z || (d.value = M), z));
5609
- t("select", M, N, { index: M, indexPath: N, route: W }, q);
5608
+ const W = w.route || I, q = s.push(W).then((z) => (z || (d.value = I), z));
5609
+ t("select", I, N, { index: I, indexPath: N, route: W }, q);
5610
5610
  } else
5611
- d.value = M, t("select", M, N, { index: M, indexPath: N });
5611
+ d.value = I, t("select", I, N, { index: I, indexPath: N });
5612
5612
  }, A = (w) => {
5613
- const M = f.value, N = M[w] || d.value && M[d.value] || M[e.defaultActive];
5613
+ const I = f.value, N = I[w] || d.value && I[d.value] || I[e.defaultActive];
5614
5614
  N ? d.value = N.index : d.value = w;
5615
5615
  }, $ = () => {
5616
- var w, M;
5616
+ var w, I;
5617
5617
  if (!a.value)
5618
5618
  return -1;
5619
- const N = Array.from((M = (w = a.value) == null ? void 0 : w.childNodes) != null ? M : []).filter((te) => te.nodeName !== "#comment" && (te.nodeName !== "#text" || te.nodeValue)), W = 64, q = Number.parseInt(getComputedStyle(a.value).paddingLeft, 10), z = Number.parseInt(getComputedStyle(a.value).paddingRight, 10), k = a.value.clientWidth - q - z;
5620
- let j = 0, K = 0;
5619
+ const N = Array.from((I = (w = a.value) == null ? void 0 : w.childNodes) != null ? I : []).filter((te) => te.nodeName !== "#comment" && (te.nodeName !== "#text" || te.nodeValue)), W = 64, q = Number.parseInt(getComputedStyle(a.value).paddingLeft, 10), z = Number.parseInt(getComputedStyle(a.value).paddingRight, 10), k = a.value.clientWidth - q - z;
5620
+ let D = 0, K = 0;
5621
5621
  return N.forEach((te, Ke) => {
5622
- j += te.offsetWidth || 0, j <= k - W && (K = Ke + 1);
5622
+ D += te.offsetWidth || 0, D <= k - W && (K = Ke + 1);
5623
5623
  }), K === N.length ? -1 : K;
5624
- }, b = (w, M = 33.34) => {
5624
+ }, b = (w, I = 33.34) => {
5625
5625
  let N;
5626
5626
  return () => {
5627
5627
  N && clearTimeout(N), N = setTimeout(() => {
5628
5628
  w();
5629
- }, M);
5629
+ }, I);
5630
5630
  };
5631
5631
  };
5632
- let F = !0;
5633
- const L = () => {
5632
+ let L = !0;
5633
+ const F = () => {
5634
5634
  const w = () => {
5635
5635
  l.value = -1, tt(() => {
5636
5636
  l.value = $();
5637
5637
  });
5638
5638
  };
5639
- F ? w() : b(w)(), F = !1;
5639
+ L ? w() : b(w)(), L = !1;
5640
5640
  };
5641
5641
  Y(() => e.defaultActive, (w) => {
5642
5642
  f.value[w] || (d.value = ""), A(w);
@@ -5644,13 +5644,13 @@ var Gm = H({
5644
5644
  w && (u.value = []);
5645
5645
  }), Y(f.value, v);
5646
5646
  let x;
5647
- Ie(() => {
5648
- e.mode === "horizontal" && e.ellipsis ? x = Ga(a, L).stop : x == null || x();
5647
+ Me(() => {
5648
+ e.mode === "horizontal" && e.ellipsis ? x = Ga(a, F).stop : x == null || x();
5649
5649
  });
5650
5650
  {
5651
5651
  const w = (q) => {
5652
5652
  m.value[q.index] = q;
5653
- }, M = (q) => {
5653
+ }, I = (q) => {
5654
5654
  delete m.value[q.index];
5655
5655
  };
5656
5656
  re("rootMenu", Zt({
@@ -5667,34 +5667,34 @@ var Gm = H({
5667
5667
  delete f.value[q.index];
5668
5668
  },
5669
5669
  addSubMenu: w,
5670
- removeSubMenu: M,
5670
+ removeSubMenu: I,
5671
5671
  openMenu: _,
5672
5672
  closeMenu: O,
5673
5673
  handleMenuItemClick: C,
5674
5674
  handleSubMenuClick: P
5675
5675
  })), re(`subMenu:${r.uid}`, {
5676
5676
  addSubMenu: w,
5677
- removeSubMenu: M,
5678
- mouseInChild: I(!1),
5677
+ removeSubMenu: I,
5678
+ mouseInChild: M(!1),
5679
5679
  level: 0
5680
5680
  });
5681
5681
  }
5682
5682
  return X(() => {
5683
5683
  e.mode === "horizontal" && new Dm(r.vnode.el, i.namespace.value);
5684
5684
  }), o({
5685
- open: (M) => {
5686
- const { indexPath: N } = m.value[M];
5685
+ open: (I) => {
5686
+ const { indexPath: N } = m.value[I];
5687
5687
  N.forEach((W) => _(W, N));
5688
5688
  },
5689
5689
  close: g,
5690
- handleResize: L
5690
+ handleResize: F
5691
5691
  }), () => {
5692
- var w, M;
5693
- let N = (M = (w = n.default) == null ? void 0 : w.call(n)) != null ? M : [];
5692
+ var w, I;
5693
+ let N = (I = (w = n.default) == null ? void 0 : w.call(n)) != null ? I : [];
5694
5694
  const W = [];
5695
5695
  if (e.mode === "horizontal" && a.value) {
5696
- const k = no(N), j = l.value === -1 ? k : k.slice(0, l.value), K = l.value === -1 ? [] : k.slice(l.value);
5697
- K != null && K.length && e.ellipsis && (N = j, W.push(V(qr, {
5696
+ const k = no(N), D = l.value === -1 ? k : k.slice(0, l.value), K = l.value === -1 ? [] : k.slice(l.value);
5697
+ K != null && K.length && e.ellipsis && (N = D, W.push(V(qr, {
5698
5698
  index: "sub-menu-more",
5699
5699
  class: c.e("hide-arrow")
5700
5700
  }, {
@@ -5836,12 +5836,12 @@ const nv = At(Gm, {
5836
5836
  MenuItem: qi,
5837
5837
  MenuItemGroup: Gi,
5838
5838
  SubMenu: qr
5839
- }), fn = Mr(qi);
5840
- Mr(Gi);
5841
- const ov = Mr(qr);
5839
+ }), fn = Ir(qi);
5840
+ Ir(Gi);
5841
+ const ov = Ir(qr);
5842
5842
  function rv(e) {
5843
5843
  let t;
5844
- const n = I(!1), o = Zt({
5844
+ const n = M(!1), o = Zt({
5845
5845
  ...e,
5846
5846
  originalPosition: "",
5847
5847
  originalOverflow: "",
@@ -5985,7 +5985,7 @@ const lr = function(e = {}) {
5985
5985
  var n, o, r, s;
5986
5986
  const a = t.instance, i = (f) => Pt(t.value) ? t.value[f] : void 0, c = (f) => {
5987
5987
  const m = ye(f) && (a == null ? void 0 : a[f]) || f;
5988
- return m && I(m);
5988
+ return m && M(m);
5989
5989
  }, l = (f) => c(i(f) || e.getAttribute(`element-loading-${Pu(f)}`)), u = (n = i("fullscreen")) != null ? n : t.modifiers.fullscreen, d = {
5990
5990
  text: l("text"),
5991
5991
  svg: l("svg"),
@@ -6117,7 +6117,7 @@ const lr = function(e = {}) {
6117
6117
  props: lv,
6118
6118
  emits: cv,
6119
6119
  setup(e, { expose: t }) {
6120
- const n = e, { Close: o } = xf, { ns: r, zIndex: s } = Ai("message"), { currentZIndex: a, nextZIndex: i } = s, c = I(), l = I(!1), u = I(0);
6120
+ const n = e, { Close: o } = xf, { ns: r, zIndex: s } = Ai("message"), { currentZIndex: a, nextZIndex: i } = s, c = M(), l = M(!1), u = M(0);
6121
6121
  let d;
6122
6122
  const f = E(() => n.type ? n.type === "error" ? "danger" : n.type : "info"), m = E(() => {
6123
6123
  const b = n.type;
@@ -6150,10 +6150,10 @@ const lr = function(e = {}) {
6150
6150
  visible: l,
6151
6151
  bottom: g,
6152
6152
  close: A
6153
- }), (b, F) => (T(), ee(Tt, {
6153
+ }), (b, L) => (T(), ee(Tt, {
6154
6154
  name: y(r).b("fade"),
6155
6155
  onBeforeLeave: b.onClose,
6156
- onAfterLeave: F[0] || (F[0] = (L) => b.$emit("destroy")),
6156
+ onAfterLeave: L[0] || (L[0] = (F) => b.$emit("destroy")),
6157
6157
  persisted: ""
6158
6158
  }, {
6159
6159
  default: U(() => [
@@ -6178,7 +6178,7 @@ const lr = function(e = {}) {
6178
6178
  value: b.repeatNum,
6179
6179
  type: y(f),
6180
6180
  class: se(y(r).e("badge"))
6181
- }, null, 8, ["value", "type", "class"])) : D("v-if", !0),
6181
+ }, null, 8, ["value", "type", "class"])) : j("v-if", !0),
6182
6182
  y(p) ? (T(), ee(y(po), {
6183
6183
  key: 1,
6184
6184
  class: se([y(r).e("icon"), y(m)])
@@ -6187,10 +6187,10 @@ const lr = function(e = {}) {
6187
6187
  (T(), ee(br(y(p))))
6188
6188
  ]),
6189
6189
  _: 1
6190
- }, 8, ["class"])) : D("v-if", !0),
6190
+ }, 8, ["class"])) : j("v-if", !0),
6191
6191
  oe(b.$slots, "default", {}, () => [
6192
6192
  b.dangerouslyUseHTMLString ? (T(), R(ie, { key: 1 }, [
6193
- D(" Caution here, message could've been compromised, never use user's input as message "),
6193
+ j(" Caution here, message could've been compromised, never use user's input as message "),
6194
6194
  h("p", {
6195
6195
  class: se(y(r).e("content")),
6196
6196
  innerHTML: b.message
@@ -6209,7 +6209,7 @@ const lr = function(e = {}) {
6209
6209
  Q(y(o))
6210
6210
  ]),
6211
6211
  _: 1
6212
- }, 8, ["class", "onClick"])) : D("v-if", !0)
6212
+ }, 8, ["class", "onClick"])) : j("v-if", !0)
6213
6213
  ], 46, pv), [
6214
6214
  [Yt, l.value]
6215
6215
  ])
@@ -6303,7 +6303,7 @@ function nn() {
6303
6303
  }
6304
6304
  function xv() {
6305
6305
  const e = Zi(), t = nn();
6306
- return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "recorder";
6306
+ return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "video_translator";
6307
6307
  }
6308
6308
  function Yi(e, t) {
6309
6309
  window.__bl && __bl.error(new Error(JSON.stringify(e)), {
@@ -6319,7 +6319,7 @@ function Zi() {
6319
6319
  t = o[n].split("="), e[decodeURIComponent(t[0])] = t.length > 1 ? decodeURIComponent(t[1]) : "";
6320
6320
  return e;
6321
6321
  }
6322
- function Mt({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
6322
+ function It({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
6323
6323
  try {
6324
6324
  var a = new AbortController(), i = a.signal;
6325
6325
  } catch {
@@ -6343,13 +6343,10 @@ function Mt({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
6343
6343
  d(new Response("timeout", { status: 504, statusText: "timeout" })), a && a.abort();
6344
6344
  }, 6e4);
6345
6345
  });
6346
- return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => (console.log(d), d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Ln.put(r, d.data, s) : Ln.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Ln.put(r, d, s) : Ln.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6346
+ return Promise.race([u(), fetch(e, l).then((d) => d.json())]).then((d) => d.success == !0 || d.ok === 0 || d.code == 0 ? (r && (s ? Fn.put(r, d.data, s) : Fn.put(r, d.data)), (d.message || d.message == 0) && (window.g_message = d.message), Promise.resolve(d.data)) : d && d.image || d && d.GOOGLE_ACCESS_TOKEN ? (r && (s ? Fn.put(r, d, s) : Fn.put(r, d)), Promise.resolve(d)) : d.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : e.indexOf("/site/get") != -1 ? Promise.resolve({
6347
6347
  key: "",
6348
- value: JSON.stringify({
6349
- month: 0,
6350
- usedCharCount: 0
6351
- })
6352
- }) : Promise.reject(d.message || d.msg && d || "failed, please check your network and try again"))).catch((d) => Promise.reject(d));
6348
+ value: JSON.stringify({})
6349
+ }) : Promise.reject(d.message || d.msg && d || "failed, please check your network and try again")).catch((d) => Promise.reject(d));
6353
6350
  }
6354
6351
  let on = nn();
6355
6352
  function ua(e) {
@@ -6357,7 +6354,7 @@ function ua(e) {
6357
6354
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
6358
6355
  };
6359
6356
  let n = on + "/api/user/status";
6360
- return e && (n += "?drive=1"), Mt({
6357
+ return e && (n += "?drive=1"), It({
6361
6358
  url: n,
6362
6359
  method: "POST",
6363
6360
  headers: t,
@@ -6366,7 +6363,7 @@ function ua(e) {
6366
6363
  }
6367
6364
  });
6368
6365
  }
6369
- const Ev = (e) => Mt({
6366
+ const Ev = (e) => It({
6370
6367
  url: on + "/api/user/active-passport",
6371
6368
  data: {
6372
6369
  passport: e
@@ -6377,7 +6374,7 @@ const Ev = (e) => Mt({
6377
6374
  }
6378
6375
  });
6379
6376
  function Sv(e) {
6380
- return Mt({
6377
+ return It({
6381
6378
  url: on + "/api/user/facebooklogin",
6382
6379
  data: {
6383
6380
  token: e
@@ -6389,7 +6386,7 @@ function Sv(e) {
6389
6386
  });
6390
6387
  }
6391
6388
  function Qi(e) {
6392
- return Mt({
6389
+ return It({
6393
6390
  url: on + "/api/user/google",
6394
6391
  data: {
6395
6392
  token: e
@@ -6401,7 +6398,7 @@ function Qi(e) {
6401
6398
  });
6402
6399
  }
6403
6400
  function kv(e, t) {
6404
- return Mt({
6401
+ return It({
6405
6402
  url: on + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
6406
6403
  // data: {
6407
6404
  // email,
@@ -6411,7 +6408,7 @@ function kv(e, t) {
6411
6408
  });
6412
6409
  }
6413
6410
  function Ov(e, t, n) {
6414
- return Mt({
6411
+ return It({
6415
6412
  url: on + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
6416
6413
  // data: {
6417
6414
  // email,
@@ -6421,7 +6418,7 @@ function Ov(e, t, n) {
6421
6418
  // method: "POST"
6422
6419
  });
6423
6420
  }
6424
- const da = (e, t) => Mt({
6421
+ const da = (e, t) => It({
6425
6422
  url: `https://www.imgkits.com/site/recommend?key=${e}&type=${t}`,
6426
6423
  method: "GET",
6427
6424
  headers: {
@@ -6513,11 +6510,11 @@ function Cv(e) {
6513
6510
  return e == null ? !1 : typeof e.type == "string" || typeof e.type == "object" || typeof e.type == "function";
6514
6511
  }
6515
6512
  let Av = 0;
6516
- function Mv() {
6513
+ function Iv() {
6517
6514
  return ++Av;
6518
6515
  }
6519
6516
  function Ce() {
6520
- return Mv();
6517
+ return Iv();
6521
6518
  }
6522
6519
  var Qe = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Qe || {});
6523
6520
  function B(e) {
@@ -6529,7 +6526,7 @@ var Re = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closin
6529
6526
  function Gr() {
6530
6527
  return Z(tl, null);
6531
6528
  }
6532
- function Iv(e) {
6529
+ function Mv(e) {
6533
6530
  re(tl, e);
6534
6531
  }
6535
6532
  function fa(e, t) {
@@ -6540,16 +6537,16 @@ function fa(e, t) {
6540
6537
  return "button";
6541
6538
  }
6542
6539
  function $v(e, t) {
6543
- let n = I(fa(e.value.type, e.value.as));
6540
+ let n = M(fa(e.value.type, e.value.as));
6544
6541
  return X(() => {
6545
6542
  n.value = fa(e.value.type, e.value.as);
6546
- }), Ie(() => {
6543
+ }), Me(() => {
6547
6544
  var o;
6548
6545
  n.value || B(t) && B(t) instanceof HTMLButtonElement && !((o = B(t)) != null && o.hasAttribute("type")) && (n.value = "button");
6549
6546
  }), n;
6550
6547
  }
6551
6548
  var Nv = Object.defineProperty, Rv = (e, t, n) => t in e ? Nv(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, pa = (e, t, n) => (Rv(e, typeof t != "symbol" ? t + "" : t, n), n);
6552
- class Fv {
6549
+ class Lv {
6553
6550
  constructor() {
6554
6551
  pa(this, "current", this.detect()), pa(this, "currentId", 0);
6555
6552
  }
@@ -6572,7 +6569,7 @@ class Fv {
6572
6569
  return typeof window > "u" || typeof document > "u" ? "server" : "client";
6573
6570
  }
6574
6571
  }
6575
- let To = new Fv();
6572
+ let To = new Lv();
6576
6573
  function Ge(e) {
6577
6574
  if (To.isServer)
6578
6575
  return null;
@@ -6586,7 +6583,7 @@ function Ge(e) {
6586
6583
  return document;
6587
6584
  }
6588
6585
  let ur = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
6589
- var pe = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(pe || {}), Tn = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Tn || {}), Lv = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Lv || {});
6586
+ var pe = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(pe || {}), Tn = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Tn || {}), Fv = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Fv || {});
6590
6587
  function Po(e = document.body) {
6591
6588
  return e == null ? [] : Array.from(e.querySelectorAll(ur)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6592
6589
  }
@@ -6628,7 +6625,7 @@ function Hv(e, t = (n) => n) {
6628
6625
  return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
6629
6626
  });
6630
6627
  }
6631
- function Fe(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] } = {}) {
6628
+ function Le(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] } = {}) {
6632
6629
  var s;
6633
6630
  let a = (s = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e == null ? void 0 : e.ownerDocument) != null ? s : document, i = Array.isArray(e) ? n ? Hv(e) : e : Po(e);
6634
6631
  r.length > 0 && i.length > 1 && (i = i.filter((p) => !r.includes(p))), o = o ?? a.activeElement;
@@ -6666,12 +6663,12 @@ function Fe(e, t, { sorted: n = !0, relativeTo: o = null, skipElements: r = [] }
6666
6663
  return t & 6 && Bv(m) && m.select(), 2;
6667
6664
  }
6668
6665
  function ha(e, t, n) {
6669
- To.isServer || Ie((o) => {
6666
+ To.isServer || Me((o) => {
6670
6667
  document.addEventListener(e, t, n), o(() => document.removeEventListener(e, t, n));
6671
6668
  });
6672
6669
  }
6673
6670
  function ol(e, t, n) {
6674
- To.isServer || Ie((o) => {
6671
+ To.isServer || Me((o) => {
6675
6672
  window.addEventListener(e, t, n), o(() => window.removeEventListener(e, t, n));
6676
6673
  });
6677
6674
  }
@@ -6694,7 +6691,7 @@ function rl(e, t, n = E(() => !0)) {
6694
6691
  }
6695
6692
  return !nl(i, Kr.Loose) && i.tabIndex !== -1 && s.preventDefault(), t(s, i);
6696
6693
  }
6697
- let r = I(null);
6694
+ let r = M(null);
6698
6695
  ha("mousedown", (s) => {
6699
6696
  var a, i;
6700
6697
  n.value && (r.value = ((i = (a = s.composedPath) == null ? void 0 : a.call(s)) == null ? void 0 : i[0]) || s.target);
@@ -6748,13 +6745,13 @@ function sl() {
6748
6745
  }
6749
6746
  var Ee = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(Ee || {});
6750
6747
  function Jr() {
6751
- let e = I(0);
6748
+ let e = M(0);
6752
6749
  return ol("keydown", (t) => {
6753
6750
  t.key === "Tab" && (e.value = t.shiftKey ? 1 : 0);
6754
6751
  }), e;
6755
6752
  }
6756
6753
  function Yr(e, t, n, o) {
6757
- To.isServer || Ie((r) => {
6754
+ To.isServer || Me((r) => {
6758
6755
  e = e ?? window, e.addEventListener(t, n, o), r(() => e.removeEventListener(t, n, o));
6759
6756
  });
6760
6757
  }
@@ -6782,11 +6779,11 @@ function il(e) {
6782
6779
  return t;
6783
6780
  }
6784
6781
  var ll = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(ll || {});
6785
- let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: I(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
6786
- let r = I(null);
6782
+ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: M(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
6783
+ let r = M(null);
6787
6784
  o({ el: r, $el: r });
6788
- let s = E(() => Ge(r)), a = I(!1);
6789
- X(() => a.value = !0), Le(() => a.value = !1), Wv({ ownerDocument: s }, E(() => a.value && !!(e.features & 16)));
6785
+ let s = E(() => Ge(r)), a = M(!1);
6786
+ X(() => a.value = !0), Fe(() => a.value = !1), Wv({ ownerDocument: s }, E(() => a.value && !!(e.features & 16)));
6790
6787
  let i = qv({ ownerDocument: s, container: r, initialFocus: E(() => e.initialFocus) }, E(() => a.value && !!(e.features & 2)));
6791
6788
  Gv({ ownerDocument: s, container: r, containers: e.containers, previousActiveElement: i }, E(() => a.value && !!(e.features & 8)));
6792
6789
  let c = Jr();
@@ -6794,13 +6791,13 @@ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, Stri
6794
6791
  let p = B(r);
6795
6792
  p && ((v) => v())(() => {
6796
6793
  Se(c.value, { [Ee.Forwards]: () => {
6797
- Fe(p, pe.First, { skipElements: [m.relatedTarget] });
6794
+ Le(p, pe.First, { skipElements: [m.relatedTarget] });
6798
6795
  }, [Ee.Backwards]: () => {
6799
- Fe(p, pe.Last, { skipElements: [m.relatedTarget] });
6796
+ Le(p, pe.Last, { skipElements: [m.relatedTarget] });
6800
6797
  } });
6801
6798
  });
6802
6799
  }
6803
- let u = I(!1);
6800
+ let u = M(!1);
6804
6801
  function d(m) {
6805
6802
  m.key === "Tab" && (u.value = !0, requestAnimationFrame(() => {
6806
6803
  u.value = !1;
@@ -6812,7 +6809,7 @@ let pn = Object.assign(H({ name: "FocusTrap", props: { as: { type: [Object, Stri
6812
6809
  let p = il(e.containers);
6813
6810
  B(r) instanceof HTMLElement && p.add(B(r));
6814
6811
  let v = m.relatedTarget;
6815
- v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (cl(p, v) || (u.value ? Fe(B(r), Se(c.value, { [Ee.Forwards]: () => pe.Next, [Ee.Backwards]: () => pe.Previous }) | pe.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && _t(m.target)));
6812
+ v instanceof HTMLElement && v.dataset.headlessuiFocusGuard !== "true" && (cl(p, v) || (u.value ? Le(B(r), Se(c.value, { [Ee.Forwards]: () => pe.Next, [Ee.Backwards]: () => pe.Previous }) | pe.WrapAround, { relativeTo: m.target }) : m.target instanceof HTMLElement && _t(m.target)));
6816
6813
  }
6817
6814
  return () => {
6818
6815
  let m = {}, p = { ref: r, onKeydown: d, onFocusout: f }, { features: v, initialFocus: _, containers: g, ...O } = e;
@@ -6826,7 +6823,7 @@ Uv(() => {
6826
6823
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
6827
6824
  });
6828
6825
  function Vv(e) {
6829
- let t = I(ht.slice());
6826
+ let t = M(ht.slice());
6830
6827
  return Y([e], ([n], [o]) => {
6831
6828
  o === !0 && n === !1 ? al(() => {
6832
6829
  t.value.splice(0);
@@ -6839,17 +6836,17 @@ function Vv(e) {
6839
6836
  function Wv({ ownerDocument: e }, t) {
6840
6837
  let n = Vv(t);
6841
6838
  X(() => {
6842
- Ie(() => {
6839
+ Me(() => {
6843
6840
  var o, r;
6844
6841
  t.value || ((o = e.value) == null ? void 0 : o.activeElement) === ((r = e.value) == null ? void 0 : r.body) && _t(n());
6845
6842
  }, { flush: "post" });
6846
- }), Le(() => {
6843
+ }), Fe(() => {
6847
6844
  t.value && _t(n());
6848
6845
  });
6849
6846
  }
6850
6847
  function qv({ ownerDocument: e, container: t, initialFocus: n }, o) {
6851
- let r = I(null), s = I(!1);
6852
- return X(() => s.value = !0), Le(() => s.value = !1), X(() => {
6848
+ let r = M(null), s = M(!1);
6849
+ return X(() => s.value = !0), Fe(() => s.value = !1), X(() => {
6853
6850
  Y([t, n, o], (a, i) => {
6854
6851
  if (a.every((l, u) => (i == null ? void 0 : i[u]) === l) || !o.value)
6855
6852
  return;
@@ -6868,7 +6865,7 @@ function qv({ ownerDocument: e, container: t, initialFocus: n }, o) {
6868
6865
  r.value = f;
6869
6866
  return;
6870
6867
  }
6871
- d ? _t(d) : Fe(c, pe.First | pe.NoScroll) === Tn.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
6868
+ d ? _t(d) : Le(c, pe.First | pe.NoScroll) === Tn.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
6872
6869
  });
6873
6870
  }, { immediate: !0, flush: "post" });
6874
6871
  }), r;
@@ -6894,8 +6891,8 @@ function cl(e, t) {
6894
6891
  return !1;
6895
6892
  }
6896
6893
  let Jo = /* @__PURE__ */ new Map(), hn = /* @__PURE__ */ new Map();
6897
- function ma(e, t = I(!0)) {
6898
- Ie((n) => {
6894
+ function ma(e, t = M(!0)) {
6895
+ Me((n) => {
6899
6896
  var o;
6900
6897
  if (!t.value)
6901
6898
  return;
@@ -6940,15 +6937,15 @@ function Jv(e) {
6940
6937
  return o.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(o);
6941
6938
  }
6942
6939
  let dl = H({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
6943
- let o = I(null), r = E(() => Ge(o)), s = Kv(), a = Z(pl, null), i = I(s === !0 || a == null ? Jv(o.value) : a.resolveTarget());
6944
- Ie(() => {
6940
+ let o = M(null), r = E(() => Ge(o)), s = Kv(), a = Z(pl, null), i = M(s === !0 || a == null ? Jv(o.value) : a.resolveTarget());
6941
+ Me(() => {
6945
6942
  s || a != null && (i.value = a.resolveTarget());
6946
6943
  });
6947
6944
  let c = Z(fr, null);
6948
6945
  return X(() => {
6949
6946
  let l = B(o);
6950
- l && c && Le(c.register(l));
6951
- }), Le(() => {
6947
+ l && c && Fe(c.register(l));
6948
+ }), Fe(() => {
6952
6949
  var l, u;
6953
6950
  let d = (l = r.value) == null ? void 0 : l.getElementById("headlessui-portal-root");
6954
6951
  d && i.value === d && i.value.children.length <= 0 && ((u = i.value.parentElement) == null || u.removeChild(i.value));
@@ -6960,7 +6957,7 @@ let dl = H({ name: "Portal", props: { as: { type: [Object, String], default: "di
6960
6957
  };
6961
6958
  } }), fr = Symbol("PortalParentContext");
6962
6959
  function fl() {
6963
- let e = Z(fr, null), t = I([]);
6960
+ let e = Z(fr, null), t = M([]);
6964
6961
  function n(s) {
6965
6962
  return t.value.push(s), e && e.register(s), () => o(s);
6966
6963
  }
@@ -6999,7 +6996,7 @@ function Qv({ type: e, enabled: t, element: n, onUpdate: o }) {
6999
6996
  Y(t, (a, i) => {
7000
6997
  a ? s(0, e, n) : i === !0 && s(1, e, n);
7001
6998
  }, { immediate: !0, flush: "sync" });
7002
- }), Le(() => {
6999
+ }), Fe(() => {
7003
7000
  t.value && s(1, e, n);
7004
7001
  }), re(hl, s);
7005
7002
  }
@@ -7010,8 +7007,8 @@ function Xv() {
7010
7007
  throw new Error("Missing parent");
7011
7008
  return e;
7012
7009
  }
7013
- function e0({ slot: e = I({}), name: t = "Description", props: n = {} } = {}) {
7014
- let o = I([]);
7010
+ function eg({ slot: e = M({}), name: t = "Description", props: n = {} } = {}) {
7011
+ let o = M([]);
7015
7012
  function r(s) {
7016
7013
  return o.value.push(s), () => {
7017
7014
  let a = o.value.indexOf(s);
@@ -7022,18 +7019,18 @@ function e0({ slot: e = I({}), name: t = "Description", props: n = {} } = {}) {
7022
7019
  }
7023
7020
  H({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7024
7021
  let o = Xv();
7025
- return X(() => Le(o.register(e.id))), () => {
7026
- let { name: r = "Description", slot: s = I({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, f]) => Object.assign(u, { [d]: y(f) }), {}), id: i };
7022
+ return X(() => Fe(o.register(e.id))), () => {
7023
+ let { name: r = "Description", slot: s = M({}), props: a = {} } = o, { id: i, ...c } = e, l = { ...Object.entries(a).reduce((u, [d, f]) => Object.assign(u, { [d]: y(f) }), {}), id: i };
7027
7024
  return he({ ourProps: l, theirProps: c, slot: s.value, attrs: t, slots: n, name: r });
7028
7025
  };
7029
7026
  } });
7030
- function t0(e) {
7027
+ function tg(e) {
7031
7028
  let t = gr(e.getSnapshot());
7032
- return Le(e.subscribe(() => {
7029
+ return Fe(e.subscribe(() => {
7033
7030
  t.value = e.getSnapshot();
7034
7031
  })), t;
7035
7032
  }
7036
- function n0(e, t) {
7033
+ function ng(e, t) {
7037
7034
  let n = e(), o = /* @__PURE__ */ new Set();
7038
7035
  return { getSnapshot() {
7039
7036
  return n;
@@ -7044,7 +7041,7 @@ function n0(e, t) {
7044
7041
  a && (n = a, o.forEach((i) => i()));
7045
7042
  } };
7046
7043
  }
7047
- function o0() {
7044
+ function og() {
7048
7045
  let e;
7049
7046
  return { before({ doc: t }) {
7050
7047
  var n;
@@ -7055,7 +7052,7 @@ function o0() {
7055
7052
  n.style(o, "paddingRight", `${s}px`);
7056
7053
  } };
7057
7054
  }
7058
- function r0() {
7055
+ function rg() {
7059
7056
  if (!zv())
7060
7057
  return {};
7061
7058
  let e;
@@ -7084,18 +7081,18 @@ function r0() {
7084
7081
  });
7085
7082
  } };
7086
7083
  }
7087
- function s0() {
7084
+ function sg() {
7088
7085
  return { before({ doc: e, d: t }) {
7089
7086
  t.style(e.documentElement, "overflow", "hidden");
7090
7087
  } };
7091
7088
  }
7092
- function a0(e) {
7089
+ function ag(e) {
7093
7090
  let t = {};
7094
7091
  for (let n of e)
7095
7092
  Object.assign(t, n(t));
7096
7093
  return t;
7097
7094
  }
7098
- let gt = n0(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7095
+ let gt = ng(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7099
7096
  var n;
7100
7097
  let o = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: sl(), meta: /* @__PURE__ */ new Set() };
7101
7098
  return o.count++, o.meta.add(t), this.set(e, o), this;
@@ -7103,7 +7100,7 @@ let gt = n0(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
7103
7100
  let n = this.get(e);
7104
7101
  return n && (n.count--, n.meta.delete(t)), this;
7105
7102
  }, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
7106
- let o = { doc: e, d: t, meta: a0(n) }, r = [r0(), o0(), s0()];
7103
+ let o = { doc: e, d: t, meta: ag(n) }, r = [rg(), og(), sg()];
7107
7104
  r.forEach(({ before: s }) => s == null ? void 0 : s(o)), r.forEach(({ after: s }) => s == null ? void 0 : s(o));
7108
7105
  }, SCROLL_ALLOW({ d: e }) {
7109
7106
  e.dispose();
@@ -7119,8 +7116,8 @@ gt.subscribe(() => {
7119
7116
  (r && !o || !r && o) && gt.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && gt.dispatch("TEARDOWN", n);
7120
7117
  }
7121
7118
  });
7122
- function i0(e, t, n) {
7123
- let o = t0(gt), r = E(() => {
7119
+ function ig(e, t, n) {
7120
+ let o = tg(gt), r = E(() => {
7124
7121
  let s = e.value ? o.value.get(e.value) : void 0;
7125
7122
  return s ? s.count > 0 : !1;
7126
7123
  });
@@ -7135,7 +7132,7 @@ function i0(e, t, n) {
7135
7132
  }, { immediate: !0 }), r;
7136
7133
  }
7137
7134
  function vl({ defaultContainers: e = [], portals: t } = {}) {
7138
- let n = I(null), o = Ge(n);
7135
+ let n = M(null), o = Ge(n);
7139
7136
  function r() {
7140
7137
  var s;
7141
7138
  let a = [];
@@ -7154,7 +7151,7 @@ function vl({ defaultContainers: e = [], portals: t } = {}) {
7154
7151
  return V(Kt, { features: kt.Hidden, ref: n });
7155
7152
  } };
7156
7153
  }
7157
- var l0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(l0 || {});
7154
+ var lg = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(lg || {});
7158
7155
  let hr = Symbol("DialogContext");
7159
7156
  function $n(e) {
7160
7157
  let t = Z(hr, null);
@@ -7164,13 +7161,13 @@ function $n(e) {
7164
7161
  }
7165
7162
  return t;
7166
7163
  }
7167
- let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: Kn }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Ce()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: o, expose: r }) {
7164
+ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", cg = H({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: Kn }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Ce()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: o, expose: r }) {
7168
7165
  var s;
7169
- let a = I(!1);
7166
+ let a = M(!1);
7170
7167
  X(() => {
7171
7168
  a.value = !0;
7172
7169
  });
7173
- let i = I(0), c = Gr(), l = E(() => e.open === Kn && c !== null ? (c.value & Re.Open) === Re.Open : e.open), u = I(null), d = E(() => Ge(u));
7170
+ let i = M(0), c = Gr(), l = E(() => e.open === Kn && c !== null ? (c.value & Re.Open) === Re.Open : e.open), u = M(null), d = E(() => Ge(u));
7174
7171
  if (r({ el: u, $el: u }), !(e.open !== Kn || c !== null))
7175
7172
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
7176
7173
  if (typeof l.value != "boolean")
@@ -7178,42 +7175,42 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7178
7175
  let f = E(() => a.value && l.value ? 0 : 1), m = E(() => f.value === 0), p = E(() => i.value > 1), v = Z(hr, null) !== null, [_, g] = fl(), { resolveContainers: O, mainTreeNodeRef: P, MainTreeNode: C } = vl({ portals: _, defaultContainers: [E(() => {
7179
7176
  var k;
7180
7177
  return (k = N.panelRef.value) != null ? k : u.value;
7181
- })] }), A = E(() => p.value ? "parent" : "leaf"), $ = E(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), b = E(() => v || $.value ? !1 : m.value), F = E(() => {
7182
- var k, j, K;
7183
- return (K = Array.from((j = (k = d.value) == null ? void 0 : k.querySelectorAll("body > *")) != null ? j : []).find((te) => te.id === "headlessui-portal-root" ? !1 : te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7178
+ })] }), A = E(() => p.value ? "parent" : "leaf"), $ = E(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), b = E(() => v || $.value ? !1 : m.value), L = E(() => {
7179
+ var k, D, K;
7180
+ return (K = Array.from((D = (k = d.value) == null ? void 0 : k.querySelectorAll("body > *")) != null ? D : []).find((te) => te.id === "headlessui-portal-root" ? !1 : te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7184
7181
  });
7185
- ma(F, b);
7186
- let L = E(() => p.value ? !0 : m.value), x = E(() => {
7187
- var k, j, K;
7188
- return (K = Array.from((j = (k = d.value) == null ? void 0 : k.querySelectorAll("[data-headlessui-portal]")) != null ? j : []).find((te) => te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7182
+ ma(L, b);
7183
+ let F = E(() => p.value ? !0 : m.value), x = E(() => {
7184
+ var k, D, K;
7185
+ return (K = Array.from((D = (k = d.value) == null ? void 0 : k.querySelectorAll("[data-headlessui-portal]")) != null ? D : []).find((te) => te.contains(B(P)) && te instanceof HTMLElement)) != null ? K : null;
7189
7186
  });
7190
- ma(x, L), Qv({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (k, j) => {
7191
- if (j === "Dialog")
7187
+ ma(x, F), Qv({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (k, D) => {
7188
+ if (D === "Dialog")
7192
7189
  return Se(k, { [pr.Add]: () => i.value += 1, [pr.Remove]: () => i.value -= 1 });
7193
7190
  } });
7194
- let w = e0({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), M = I(null), N = { titleId: M, panelRef: I(null), dialogState: f, setTitleId(k) {
7195
- M.value !== k && (M.value = k);
7191
+ let w = eg({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), I = M(null), N = { titleId: I, panelRef: M(null), dialogState: f, setTitleId(k) {
7192
+ I.value !== k && (I.value = k);
7196
7193
  }, close() {
7197
7194
  t("close", !1);
7198
7195
  } };
7199
7196
  re(hr, N);
7200
7197
  let W = E(() => !(!m.value || p.value));
7201
- rl(O, (k, j) => {
7202
- N.close(), tt(() => j == null ? void 0 : j.focus());
7198
+ rl(O, (k, D) => {
7199
+ N.close(), tt(() => D == null ? void 0 : D.focus());
7203
7200
  }, W);
7204
7201
  let q = E(() => !(p.value || f.value !== 0));
7205
7202
  Yr((s = d.value) == null ? void 0 : s.defaultView, "keydown", (k) => {
7206
7203
  q.value && (k.defaultPrevented || k.key === Qe.Escape && (k.preventDefault(), k.stopPropagation(), N.close()));
7207
7204
  });
7208
7205
  let z = E(() => !($.value || f.value !== 0 || v));
7209
- return i0(d, z, (k) => {
7210
- var j;
7211
- return { containers: [...(j = k.containers) != null ? j : [], O] };
7212
- }), Ie((k) => {
7206
+ return ig(d, z, (k) => {
7207
+ var D;
7208
+ return { containers: [...(D = k.containers) != null ? D : [], O] };
7209
+ }), Me((k) => {
7213
7210
  if (f.value !== 0)
7214
7211
  return;
7215
- let j = B(u);
7216
- if (!j)
7212
+ let D = B(u);
7213
+ if (!D)
7217
7214
  return;
7218
7215
  let K = new ResizeObserver((te) => {
7219
7216
  for (let Ke of te) {
@@ -7221,9 +7218,9 @@ let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", c0 = H({ name: "Dialog", inheri
7221
7218
  ke.x === 0 && ke.y === 0 && ke.width === 0 && ke.height === 0 && N.close();
7222
7219
  }
7223
7220
  });
7224
- K.observe(j), k(() => K.disconnect());
7221
+ K.observe(D), k(() => K.disconnect());
7225
7222
  }), () => {
7226
- let { id: k, open: j, initialFocus: K, ...te } = e, Ke = { ...n, ref: u, id: k, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": M.value, "aria-describedby": w.value }, ke = { open: f.value === 0 };
7223
+ let { id: k, open: D, initialFocus: K, ...te } = e, Ke = { ...n, ref: u, id: k, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": I.value, "aria-describedby": w.value }, ke = { open: f.value === 0 };
7227
7224
  return V(dr, { force: !0 }, () => [V(dl, () => V(Yv, { target: u.value }, () => V(dr, { force: !1 }, () => V(pn, { initialFocus: K, containers: O, features: m.value ? Se(A.value, { parent: pn.features.RestoreFocus, leaf: pn.features.All & ~pn.features.FocusLock }) : pn.features.None }, () => V(g, {}, () => he({ ourProps: Ke, theirProps: { ...te, ...n }, slot: ke, attrs: n, slots: o, visible: f.value === 0, features: St.RenderStrategy | St.Static, name: "Dialog" })))))), V(C)]);
7228
7225
  };
7229
7226
  } });
@@ -7238,7 +7235,7 @@ H({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
7238
7235
  };
7239
7236
  } });
7240
7237
  H({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7241
- let r = $n("DialogBackdrop"), s = I(null);
7238
+ let r = $n("DialogBackdrop"), s = M(null);
7242
7239
  return o({ el: s, $el: s }), X(() => {
7243
7240
  if (r.panelRef.value === null)
7244
7241
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
@@ -7247,7 +7244,7 @@ H({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
7247
7244
  return V(dr, { force: !0 }, () => V(dl, () => he({ ourProps: c, theirProps: { ...t, ...i }, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
7248
7245
  };
7249
7246
  } });
7250
- let u0 = H({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Ce()}` } }, setup(e, { attrs: t, slots: n, expose: o }) {
7247
+ let ug = H({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Ce()}` } }, setup(e, { attrs: t, slots: n, expose: o }) {
7251
7248
  let r = $n("DialogPanel");
7252
7249
  o({ el: r.panelRef, $el: r.panelRef });
7253
7250
  function s(a) {
@@ -7261,13 +7258,13 @@ let u0 = H({ name: "DialogPanel", props: { as: { type: [Object, String], default
7261
7258
  H({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
7262
7259
  let o = $n("DialogTitle");
7263
7260
  return X(() => {
7264
- o.setTitleId(e.id), Le(() => o.setTitleId(null));
7261
+ o.setTitleId(e.id), Fe(() => o.setTitleId(null));
7265
7262
  }), () => {
7266
7263
  let { id: r, ...s } = e;
7267
7264
  return he({ ourProps: { id: r }, theirProps: s, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogTitle" });
7268
7265
  };
7269
7266
  } });
7270
- var d0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(d0 || {});
7267
+ var dg = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(dg || {});
7271
7268
  let gl = Symbol("PopoverContext");
7272
7269
  function Co(e) {
7273
7270
  let t = Z(gl, null);
@@ -7282,23 +7279,23 @@ function yl() {
7282
7279
  return Z(bl, null);
7283
7280
  }
7284
7281
  let _l = Symbol("PopoverPanelContext");
7285
- function f0() {
7282
+ function fg() {
7286
7283
  return Z(_l, null);
7287
7284
  }
7288
7285
  let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n, expose: o }) {
7289
7286
  var r;
7290
- let s = I(null);
7287
+ let s = M(null);
7291
7288
  o({ el: s, $el: s });
7292
- let a = I(1), i = I(null), c = I(null), l = I(null), u = I(null), d = E(() => Ge(s)), f = E(() => {
7289
+ let a = M(1), i = M(null), c = M(null), l = M(null), u = M(null), d = E(() => Ge(s)), f = E(() => {
7293
7290
  var A, $;
7294
7291
  if (!B(i) || !B(u))
7295
7292
  return !1;
7296
7293
  for (let N of document.querySelectorAll("body > *"))
7297
7294
  if (Number(N == null ? void 0 : N.contains(B(i))) ^ Number(N == null ? void 0 : N.contains(B(u))))
7298
7295
  return !0;
7299
- let b = Po(), F = b.indexOf(B(i)), L = (F + b.length - 1) % b.length, x = (F + 1) % b.length, w = b[L], M = b[x];
7300
- return !((A = B(u)) != null && A.contains(w)) && !(($ = B(u)) != null && $.contains(M));
7301
- }), m = { popoverState: a, buttonId: I(null), panelId: I(null), panel: u, button: i, isPortalled: f, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7296
+ let b = Po(), L = b.indexOf(B(i)), F = (L + b.length - 1) % b.length, x = (L + 1) % b.length, w = b[F], I = b[x];
7297
+ return !((A = B(u)) != null && A.contains(w)) && !(($ = B(u)) != null && $.contains(I));
7298
+ }), m = { popoverState: a, buttonId: M(null), panelId: M(null), panel: u, button: i, isPortalled: f, beforePanelSentinel: c, afterPanelSentinel: l, togglePopover() {
7302
7299
  a.value = Se(a.value, { [0]: 1, [1]: 0 });
7303
7300
  }, closePopover() {
7304
7301
  a.value !== 1 && (a.value = 1);
@@ -7307,15 +7304,15 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7307
7304
  let $ = (() => A ? A instanceof HTMLElement ? A : A.value instanceof HTMLElement ? B(A) : B(m.button) : B(m.button))();
7308
7305
  $ == null || $.focus();
7309
7306
  } };
7310
- re(gl, m), Iv(E(() => Se(a.value, { [0]: Re.Open, [1]: Re.Closed })));
7307
+ re(gl, m), Mv(E(() => Se(a.value, { [0]: Re.Open, [1]: Re.Closed })));
7311
7308
  let p = { buttonId: m.buttonId, panelId: m.panelId, close() {
7312
7309
  m.closePopover();
7313
7310
  } }, v = yl(), _ = v == null ? void 0 : v.registerPopover, [g, O] = fl(), P = vl({ portals: g, defaultContainers: [i, u] });
7314
7311
  function C() {
7315
- var A, $, b, F;
7316
- return (F = v == null ? void 0 : v.isFocusWithinPopoverGroup()) != null ? F : ((A = d.value) == null ? void 0 : A.activeElement) && ((($ = B(i)) == null ? void 0 : $.contains(d.value.activeElement)) || ((b = B(u)) == null ? void 0 : b.contains(d.value.activeElement)));
7312
+ var A, $, b, L;
7313
+ return (L = v == null ? void 0 : v.isFocusWithinPopoverGroup()) != null ? L : ((A = d.value) == null ? void 0 : A.activeElement) && ((($ = B(i)) == null ? void 0 : $.contains(d.value.activeElement)) || ((b = B(u)) == null ? void 0 : b.contains(d.value.activeElement)));
7317
7314
  }
7318
- return Ie(() => _ == null ? void 0 : _(p)), Yr((r = d.value) == null ? void 0 : r.defaultView, "focus", (A) => {
7315
+ return Me(() => _ == null ? void 0 : _(p)), Yr((r = d.value) == null ? void 0 : r.defaultView, "focus", (A) => {
7319
7316
  var $, b;
7320
7317
  A.target !== window && A.target instanceof HTMLElement && a.value === 0 && (C() || i && u && (P.contains(A.target) || ($ = B(m.beforePanelSentinel)) != null && $.contains(A.target) || (b = B(m.afterPanelSentinel)) != null && b.contains(A.target) || m.closePopover()));
7321
7318
  }, !0), rl(P.resolveContainers, (A, $) => {
@@ -7325,20 +7322,20 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7325
7322
  let A = { open: a.value === 0, close: m.close };
7326
7323
  return V(O, {}, () => he({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: A, slots: t, attrs: n, name: "Popover" }));
7327
7324
  };
7328
- } }), p0 = H({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7325
+ } }), pg = H({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7329
7326
  let r = Co("PopoverButton"), s = E(() => Ge(r.button));
7330
7327
  o({ el: r.button, $el: r.button }), X(() => {
7331
7328
  r.buttonId.value = e.id;
7332
- }), Le(() => {
7329
+ }), Fe(() => {
7333
7330
  r.buttonId.value = null;
7334
7331
  });
7335
- let a = yl(), i = a == null ? void 0 : a.closeOthers, c = f0(), l = E(() => c === null ? !1 : c.value === r.panelId.value), u = I(null), d = `headlessui-focus-sentinel-${Ce()}`;
7336
- l.value || Ie(() => {
7332
+ let a = yl(), i = a == null ? void 0 : a.closeOthers, c = fg(), l = E(() => c === null ? !1 : c.value === r.panelId.value), u = M(null), d = `headlessui-focus-sentinel-${Ce()}`;
7333
+ l.value || Me(() => {
7337
7334
  r.button.value = u.value;
7338
7335
  });
7339
7336
  let f = $v(E(() => ({ as: e.as, type: t.type })), u);
7340
7337
  function m(P) {
7341
- var C, A, $, b, F;
7338
+ var C, A, $, b, L;
7342
7339
  if (l.value) {
7343
7340
  if (r.popoverState.value === 1)
7344
7341
  return;
@@ -7357,7 +7354,7 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7357
7354
  case Qe.Escape:
7358
7355
  if (r.popoverState.value !== 0)
7359
7356
  return i == null ? void 0 : i(r.buttonId.value);
7360
- if (!B(r.button) || (b = s.value) != null && b.activeElement && !((F = B(r.button)) != null && F.contains(s.value.activeElement)))
7357
+ if (!B(r.button) || (b = s.value) != null && b.activeElement && !((L = B(r.button)) != null && L.contains(s.value.activeElement)))
7361
7358
  return;
7362
7359
  P.preventDefault(), P.stopPropagation(), r.closePopover();
7363
7360
  break;
@@ -7379,7 +7376,7 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
7379
7376
  if (!P)
7380
7377
  return;
7381
7378
  function C() {
7382
- Se(g.value, { [Ee.Forwards]: () => Fe(P, pe.First), [Ee.Backwards]: () => Fe(P, pe.Last) }) === Tn.Error && Fe(Po().filter((A) => A.dataset.headlessuiFocusGuard !== "true"), Se(g.value, { [Ee.Forwards]: pe.Next, [Ee.Backwards]: pe.Previous }), { relativeTo: B(r.button) });
7379
+ Se(g.value, { [Ee.Forwards]: () => Le(P, pe.First), [Ee.Backwards]: () => Le(P, pe.Last) }) === Tn.Error && Le(Po().filter((A) => A.dataset.headlessuiFocusGuard !== "true"), Se(g.value, { [Ee.Forwards]: pe.Next, [Ee.Backwards]: pe.Previous }), { relativeTo: B(r.button) });
7383
7380
  }
7384
7381
  C();
7385
7382
  }
@@ -7398,18 +7395,18 @@ H({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
7398
7395
  return he({ ourProps: { id: r, "aria-hidden": !0, onClick: i }, theirProps: e, slot: c, attrs: t, slots: n, features: St.RenderStrategy | St.Static, visible: a.value, name: "PopoverOverlay" });
7399
7396
  };
7400
7397
  } });
7401
- let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-popover-panel-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7398
+ let hg = H({ name: "PopoverPanel", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, focus: { type: Boolean, default: !1 }, id: { type: String, default: () => `headlessui-popover-panel-${Ce()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
7402
7399
  let { focus: r } = e, s = Co("PopoverPanel"), a = E(() => Ge(s.panel)), i = `headlessui-focus-sentinel-before-${Ce()}`, c = `headlessui-focus-sentinel-after-${Ce()}`;
7403
7400
  o({ el: s.panel, $el: s.panel }), X(() => {
7404
7401
  s.panelId.value = e.id;
7405
- }), Le(() => {
7402
+ }), Fe(() => {
7406
7403
  s.panelId.value = null;
7407
- }), re(_l, s.panelId), Ie(() => {
7404
+ }), re(_l, s.panelId), Me(() => {
7408
7405
  var _, g;
7409
7406
  if (!r || s.popoverState.value !== 0 || !s.panel)
7410
7407
  return;
7411
7408
  let O = (_ = a.value) == null ? void 0 : _.activeElement;
7412
- (g = B(s.panel)) != null && g.contains(O) || Fe(B(s.panel), pe.First);
7409
+ (g = B(s.panel)) != null && g.contains(O) || Le(B(s.panel), pe.First);
7413
7410
  });
7414
7411
  let l = Gr(), u = E(() => l !== null ? (l.value & Re.Open) === Re.Open : s.popoverState.value === 0);
7415
7412
  function d(_) {
@@ -7435,7 +7432,7 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7435
7432
  function g() {
7436
7433
  Se(m.value, { [Ee.Forwards]: () => {
7437
7434
  var O;
7438
- Fe(_, pe.First) === Tn.Error && ((O = B(s.afterPanelSentinel)) == null || O.focus());
7435
+ Le(_, pe.First) === Tn.Error && ((O = B(s.afterPanelSentinel)) == null || O.focus());
7439
7436
  }, [Ee.Backwards]: () => {
7440
7437
  var O;
7441
7438
  (O = B(s.button)) == null || O.focus({ preventScroll: !0 });
@@ -7453,15 +7450,15 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7453
7450
  if (!O)
7454
7451
  return;
7455
7452
  let C = Po(), A = C.indexOf(O), $ = C.slice(0, A + 1), b = [...C.slice(A + 1), ...$];
7456
- for (let F of b.slice())
7457
- if (F.dataset.headlessuiFocusGuard === "true" || P != null && P.contains(F)) {
7458
- let L = b.indexOf(F);
7459
- L !== -1 && b.splice(L, 1);
7453
+ for (let L of b.slice())
7454
+ if (L.dataset.headlessuiFocusGuard === "true" || P != null && P.contains(L)) {
7455
+ let F = b.indexOf(L);
7456
+ F !== -1 && b.splice(F, 1);
7460
7457
  }
7461
- Fe(b, pe.First, { sorted: !1 });
7458
+ Le(b, pe.First, { sorted: !1 });
7462
7459
  }, [Ee.Backwards]: () => {
7463
7460
  var O;
7464
- Fe(_, pe.Previous) === Tn.Error && ((O = B(s.button)) == null || O.focus());
7461
+ Le(_, pe.Previous) === Tn.Error && ((O = B(s.button)) == null || O.focus());
7465
7462
  } });
7466
7463
  }
7467
7464
  g();
@@ -7475,7 +7472,7 @@ let h0 = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
7475
7472
  };
7476
7473
  } });
7477
7474
  H({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: n, expose: o }) {
7478
- let r = I(null), s = gr([]), a = E(() => Ge(r));
7475
+ let r = M(null), s = gr([]), a = E(() => Ge(r));
7479
7476
  o({ el: r, $el: r });
7480
7477
  function i(d) {
7481
7478
  let f = s.value.indexOf(d);
@@ -7503,7 +7500,7 @@ H({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div"
7503
7500
  }
7504
7501
  return re(bl, { registerPopover: c, unregisterPopover: i, isFocusWithinPopoverGroup: l, closeOthers: u }), () => he({ ourProps: { ref: r }, theirProps: e, slot: {}, attrs: t, slots: n, name: "PopoverGroup" });
7505
7502
  } });
7506
- function m0(e, t) {
7503
+ function mg(e, t) {
7507
7504
  return T(), R("svg", {
7508
7505
  xmlns: "http://www.w3.org/2000/svg",
7509
7506
  fill: "none",
@@ -7519,7 +7516,7 @@ function m0(e, t) {
7519
7516
  })
7520
7517
  ]);
7521
7518
  }
7522
- function v0(e, t) {
7519
+ function vg(e, t) {
7523
7520
  return T(), R("svg", {
7524
7521
  xmlns: "http://www.w3.org/2000/svg",
7525
7522
  fill: "none",
@@ -7535,12 +7532,12 @@ function v0(e, t) {
7535
7532
  })
7536
7533
  ]);
7537
7534
  }
7538
- const It = (e, t) => {
7535
+ const Mt = (e, t) => {
7539
7536
  const n = e.__vccOpts || e;
7540
7537
  for (const [o, r] of t)
7541
7538
  n[o] = r;
7542
7539
  return n;
7543
- }, va = nn(), g0 = {
7540
+ }, va = nn(), gg = {
7544
7541
  data() {
7545
7542
  return {
7546
7543
  childPath: va,
@@ -7552,7 +7549,9 @@ const It = (e, t) => {
7552
7549
  passwordErrorHelp: "",
7553
7550
  errCode: 0,
7554
7551
  disabled: !1,
7555
- appName: "Video Translator"
7552
+ appName: "Video Translator",
7553
+ lastLoginType: "",
7554
+ lastSignupType: ""
7556
7555
  };
7557
7556
  },
7558
7557
  components: {},
@@ -7571,6 +7570,16 @@ const It = (e, t) => {
7571
7570
  document.getElementById("buttonDiv"),
7572
7571
  { theme: "outline", size: "large", width: "255px" }
7573
7572
  )), typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (this.appName = app_config.name || "Video Translator");
7573
+ const e = localStorage.getItem("last_login_type_" + this.appName);
7574
+ if (e) {
7575
+ const n = JSON.parse(e);
7576
+ n && n.type && (this.lastLoginType = n.type);
7577
+ }
7578
+ const t = localStorage.getItem("last_signup_type_" + this.appName);
7579
+ if (t) {
7580
+ const n = JSON.parse(t);
7581
+ n && n.type && (this.lastSignupType = n.type);
7582
+ }
7574
7583
  },
7575
7584
  methods: {
7576
7585
  handleFbLogin() {
@@ -7622,6 +7631,7 @@ const It = (e, t) => {
7622
7631
  document.body.classList.remove("el-loading-parent--relative");
7623
7632
  } catch {
7624
7633
  }
7634
+ this.isSignup ? localStorage.setItem("last_signup_type_" + this.appName, JSON.stringify({ type: "google_signup", time: Date.now() })) : localStorage.setItem("last_login_type_" + this.appName, JSON.stringify({ type: "google_login", time: Date.now() }));
7625
7635
  }, (n) => {
7626
7636
  console.log(n, 2), t.close();
7627
7637
  try {
@@ -7686,6 +7696,7 @@ const It = (e, t) => {
7686
7696
  document.body.classList.remove("el-loading-parent--relative");
7687
7697
  } catch {
7688
7698
  }
7699
+ localStorage.setItem("last_login_type_" + this.appName, JSON.stringify({ type: "email_login", time: Date.now() }));
7689
7700
  }, (t) => {
7690
7701
  e.close(), this.passwordErrorHelp = t.msg, this.errCode = t.ok;
7691
7702
  try {
@@ -7721,6 +7732,7 @@ const It = (e, t) => {
7721
7732
  document.body.classList.remove("el-loading-parent--relative");
7722
7733
  } catch {
7723
7734
  }
7735
+ localStorage.setItem("last_signup_type_" + this.appName, JSON.stringify({ type: "email_signup", time: Date.now() }));
7724
7736
  }, (t) => {
7725
7737
  let n = t.msg;
7726
7738
  if (t.data && t.data.errors) {
@@ -7747,38 +7759,42 @@ const It = (e, t) => {
7747
7759
  });
7748
7760
  }
7749
7761
  }
7750
- }, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e), b0 = { class: "login-wapper" }, y0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7762
+ }, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e), bg = { class: "login-wapper" }, yg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7751
7763
  "span",
7752
7764
  null,
7753
7765
  "Login here",
7754
7766
  -1
7755
7767
  /* HOISTED */
7756
- )), _0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7768
+ )), _g = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7757
7769
  "span",
7758
7770
  null,
7759
7771
  "Sign up here",
7760
7772
  -1
7761
7773
  /* HOISTED */
7762
- )), w0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7774
+ )), wg = { class: "accounts" }, xg = {
7775
+ class: "account",
7776
+ style: { position: "relative" }
7777
+ }, Eg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7763
7778
  "div",
7764
- { class: "accounts" },
7765
- [
7766
- /* @__PURE__ */ D(` <div class="account">
7767
- <div class="fb-login-button" scope="public_profile,email" data-width="255px" data-size="large" data-button-type="login_with" data-layout="default" data-auto-logout-link="false" data-use-continue-as="false" data-onlogin="checkLoginState"></div>
7768
- </div> `),
7769
- /* @__PURE__ */ h("div", { class: "account" }, [
7770
- /* @__PURE__ */ h("div", { id: "buttonDiv" })
7771
- ]),
7772
- /* @__PURE__ */ D(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
7773
- /* @__PURE__ */ D(` <img class="img" src="https://statics.imgkits.com/images/facebook_logo.png" alt="facebook logo" width="24" height="24" style="width: 24pxheight: 24px;margin: 8px 8px 8px 12px;">
7774
- <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
7775
- /* @__PURE__ */ D(' <svg t="1661493482810" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3146" width="24" height="24"><path d="M512.262115 959.556658c247.175132 0 447.569968-200.366167 447.569968-447.556658 0-247.16387-200.394836-447.556658-447.569968-447.556658-247.17718 0-447.556658 200.392788-447.556658 447.556658-0.001024 247.190491 200.378454 447.556658 447.556658 447.556658" fill="#537BBC" p-id="3147"></path><path d="M404.292383 436.216104h46.269378v-44.969044c0-19.828563 0.499656-50.408946 14.904699-69.347753 15.172957-20.05689 36.000832-33.690947 71.826579-33.690946 58.371702 0 82.952117 8.326235 82.952118 8.326235l-11.564785 68.550147s-19.285904-5.576079-37.275569-5.57608c-17.99888 0-34.111763 6.449454-34.111764 24.438095v52.269346h73.791416l-5.152191 66.958004h-68.639225v232.604221h-86.731278V503.174108h-46.269378v-66.958004z" fill="#FFFFFF" p-id="3148"></path></svg> '),
7776
- /* @__PURE__ */ D(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
7777
- /* @__PURE__ */ D(" </div> ")
7778
- ],
7779
+ { id: "buttonDiv" },
7780
+ null,
7779
7781
  -1
7780
7782
  /* HOISTED */
7781
- )), x0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7783
+ )), Sg = {
7784
+ key: 0,
7785
+ class: "lastLogin"
7786
+ }, kg = {
7787
+ key: 1,
7788
+ class: "lastLogin"
7789
+ }, Og = { style: { position: "relative" } }, Tg = {
7790
+ key: 0,
7791
+ class: "lastLogin",
7792
+ style: { transform: "translate(-50%, -150%)" }
7793
+ }, Pg = {
7794
+ key: 1,
7795
+ class: "lastLogin",
7796
+ style: { transform: "translate(-50%, -150%)" }
7797
+ }, Cg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7782
7798
  "div",
7783
7799
  { class: "divider" },
7784
7800
  [
@@ -7786,39 +7802,39 @@ const It = (e, t) => {
7786
7802
  ],
7787
7803
  -1
7788
7804
  /* HOISTED */
7789
- )), E0 = { class: "form-group" }, S0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7805
+ )), Ag = { class: "form-group" }, Ig = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7790
7806
  "label",
7791
7807
  { for: "user_email" },
7792
7808
  "Email",
7793
7809
  -1
7794
7810
  /* HOISTED */
7795
- )), k0 = {
7811
+ )), Mg = {
7796
7812
  key: 0,
7797
7813
  class: "help-block-error"
7798
- }, O0 = {
7814
+ }, $g = {
7799
7815
  key: 0,
7800
7816
  class: "form-group"
7801
- }, T0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7817
+ }, Ng = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7802
7818
  "label",
7803
7819
  { for: "user_name" },
7804
7820
  "Username",
7805
7821
  -1
7806
7822
  /* HOISTED */
7807
- )), P0 = { class: "form-group" }, C0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7823
+ )), Rg = { class: "form-group" }, Lg = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
7808
7824
  "label",
7809
7825
  { for: "user_password" },
7810
7826
  "Password",
7811
7827
  -1
7812
7828
  /* HOISTED */
7813
- )), A0 = {
7829
+ )), Fg = {
7814
7830
  key: 0,
7815
7831
  class: "help-block-error"
7816
- }, M0 = { key: 0 }, I0 = ["href"], $0 = ["disabled"], N0 = ["disabled"], R0 = {
7832
+ }, jg = { key: 0 }, Dg = ["href"], Bg = ["disabled"], Hg = ["disabled"], zg = {
7817
7833
  key: 2,
7818
7834
  class: "link"
7819
- }, F0 = ["href"];
7820
- function L0(e, t, n, o, r, s) {
7821
- return T(), R("div", b0, [
7835
+ }, Ug = ["href"];
7836
+ function Vg(e, t, n, o, r, s) {
7837
+ return T(), R("div", bg, [
7822
7838
  h(
7823
7839
  "h1",
7824
7840
  null,
@@ -7832,7 +7848,7 @@ function L0(e, t, n, o, r, s) {
7832
7848
  onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
7833
7849
  }, [
7834
7850
  le("Already registered? "),
7835
- y0
7851
+ yg
7836
7852
  ])) : (T(), R("div", {
7837
7853
  key: 1,
7838
7854
  class: "link",
@@ -7843,108 +7859,127 @@ function L0(e, t, n, o, r, s) {
7843
7859
  1
7844
7860
  /* TEXT */
7845
7861
  ),
7846
- _0
7862
+ _g
7847
7863
  ])),
7848
- w0,
7849
- x0,
7850
- h("div", null, [
7851
- h("div", E0, [
7852
- S0,
7853
- He(h(
7854
- "input",
7855
- {
7856
- id: "user_email",
7857
- type: "email",
7858
- "onUpdate:modelValue": t[2] || (t[2] = (a) => r.email = a),
7859
- onInput: t[3] || (t[3] = (...a) => s.handleInput && s.handleInput(...a)),
7860
- onBlur: t[4] || (t[4] = (...a) => s.handleInputBlur && s.handleInputBlur(...a))
7861
- },
7862
- null,
7863
- 544
7864
- /* HYDRATE_EVENTS, NEED_PATCH */
7865
- ), [
7866
- [Io, r.email]
7867
- ]),
7868
- r.emailErrorHelp ? (T(), R(
7869
- "p",
7870
- k0,
7871
- ne(r.emailErrorHelp),
7872
- 1
7873
- /* TEXT */
7874
- )) : D("v-if", !0)
7864
+ h("div", wg, [
7865
+ j(` <div class="account">
7866
+ <div class="fb-login-button" scope="public_profile,email" data-width="255px" data-size="large" data-button-type="login_with" data-layout="default" data-auto-logout-link="false" data-use-continue-as="false" data-onlogin="checkLoginState"></div>
7867
+ </div> `),
7868
+ h("div", xg, [
7869
+ Eg,
7870
+ r.lastLoginType == "google_login" && !r.isSignup ? (T(), R("div", Sg, "Last Login")) : j("v-if", !0),
7871
+ r.lastSignupType == "google_signup" && r.isSignup ? (T(), R("div", kg, "Last Sign up")) : j("v-if", !0)
7875
7872
  ]),
7876
- r.isSignup ? (T(), R("div", O0, [
7877
- T0,
7878
- He(h(
7879
- "input",
7880
- {
7881
- id: "user_name",
7882
- type: "text",
7883
- "onUpdate:modelValue": t[5] || (t[5] = (a) => r.name = a)
7884
- },
7885
- null,
7886
- 512
7887
- /* NEED_PATCH */
7888
- ), [
7889
- [Io, r.name]
7890
- ])
7891
- ])) : D("v-if", !0),
7892
- h("div", P0, [
7893
- C0,
7894
- He(h(
7895
- "input",
7896
- {
7897
- id: "user_password",
7898
- type: "password",
7899
- "onUpdate:modelValue": t[6] || (t[6] = (a) => r.password = a),
7900
- onInput: t[7] || (t[7] = (...a) => s.handleInput && s.handleInput(...a))
7901
- },
7902
- null,
7903
- 544
7904
- /* HYDRATE_EVENTS, NEED_PATCH */
7905
- ), [
7906
- [Io, r.password]
7907
- ]),
7908
- r.passwordErrorHelp ? (T(), R("p", A0, [
7909
- le(
7910
- ne(r.passwordErrorHelp) + " ",
7873
+ j(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
7874
+ j(` <img class="img" src="https://statics.imgkits.com/images/facebook_logo.png" alt="facebook logo" width="24" height="24" style="width: 24pxheight: 24px;margin: 8px 8px 8px 12px;">
7875
+ <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
7876
+ j(' <svg t="1661493482810" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3146" width="24" height="24"><path d="M512.262115 959.556658c247.175132 0 447.569968-200.366167 447.569968-447.556658 0-247.16387-200.394836-447.556658-447.569968-447.556658-247.17718 0-447.556658 200.392788-447.556658 447.556658-0.001024 247.190491 200.378454 447.556658 447.556658 447.556658" fill="#537BBC" p-id="3147"></path><path d="M404.292383 436.216104h46.269378v-44.969044c0-19.828563 0.499656-50.408946 14.904699-69.347753 15.172957-20.05689 36.000832-33.690947 71.826579-33.690946 58.371702 0 82.952117 8.326235 82.952118 8.326235l-11.564785 68.550147s-19.285904-5.576079-37.275569-5.57608c-17.99888 0-34.111763 6.449454-34.111764 24.438095v52.269346h73.791416l-5.152191 66.958004h-68.639225v232.604221h-86.731278V503.174108h-46.269378v-66.958004z" fill="#FFFFFF" p-id="3148"></path></svg> '),
7877
+ j(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
7878
+ j(" </div> ")
7879
+ ]),
7880
+ h("div", Og, [
7881
+ r.lastLoginType == "email_login" && !r.isSignup ? (T(), R("div", Tg, "Last Login")) : j("v-if", !0),
7882
+ r.lastSignupType == "email_signup" && r.isSignup ? (T(), R("div", Pg, "Last Sign up")) : j("v-if", !0),
7883
+ Cg,
7884
+ h("div", null, [
7885
+ h("div", Ag, [
7886
+ Ig,
7887
+ He(h(
7888
+ "input",
7889
+ {
7890
+ id: "user_email",
7891
+ type: "email",
7892
+ "onUpdate:modelValue": t[2] || (t[2] = (a) => r.email = a),
7893
+ onInput: t[3] || (t[3] = (...a) => s.handleInput && s.handleInput(...a)),
7894
+ onBlur: t[4] || (t[4] = (...a) => s.handleInputBlur && s.handleInputBlur(...a))
7895
+ },
7896
+ null,
7897
+ 544
7898
+ /* HYDRATE_EVENTS, NEED_PATCH */
7899
+ ), [
7900
+ [Mo, r.email]
7901
+ ]),
7902
+ r.emailErrorHelp ? (T(), R(
7903
+ "p",
7904
+ Mg,
7905
+ ne(r.emailErrorHelp),
7911
7906
  1
7912
7907
  /* TEXT */
7913
- ),
7914
- r.errCode == 2 ? (T(), R("span", M0, [
7915
- h("a", {
7916
- href: r.childPath + "/user/resend-verify",
7917
- target: "_blank"
7918
- }, "Resend email", 8, I0)
7919
- ])) : D("v-if", !0)
7920
- ])) : D("v-if", !0)
7921
- ]),
7922
- r.isSignup ? (T(), R("button", {
7923
- key: 1,
7924
- class: "form-button",
7925
- disabled: r.disabled,
7926
- onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
7927
- }, "Create Your Account", 8, $0)) : (T(), R("button", {
7928
- key: 2,
7929
- class: "form-button",
7930
- disabled: r.disabled,
7931
- onClick: t[9] || (t[9] = (...a) => s.handleLogin && s.handleLogin(...a))
7932
- }, "Login", 8, N0))
7908
+ )) : j("v-if", !0)
7909
+ ]),
7910
+ r.isSignup ? (T(), R("div", $g, [
7911
+ Ng,
7912
+ He(h(
7913
+ "input",
7914
+ {
7915
+ id: "user_name",
7916
+ type: "text",
7917
+ "onUpdate:modelValue": t[5] || (t[5] = (a) => r.name = a)
7918
+ },
7919
+ null,
7920
+ 512
7921
+ /* NEED_PATCH */
7922
+ ), [
7923
+ [Mo, r.name]
7924
+ ])
7925
+ ])) : j("v-if", !0),
7926
+ h("div", Rg, [
7927
+ Lg,
7928
+ He(h(
7929
+ "input",
7930
+ {
7931
+ id: "user_password",
7932
+ type: "password",
7933
+ "onUpdate:modelValue": t[6] || (t[6] = (a) => r.password = a),
7934
+ onInput: t[7] || (t[7] = (...a) => s.handleInput && s.handleInput(...a))
7935
+ },
7936
+ null,
7937
+ 544
7938
+ /* HYDRATE_EVENTS, NEED_PATCH */
7939
+ ), [
7940
+ [Mo, r.password]
7941
+ ]),
7942
+ r.passwordErrorHelp ? (T(), R("p", Fg, [
7943
+ le(
7944
+ ne(r.passwordErrorHelp) + " ",
7945
+ 1
7946
+ /* TEXT */
7947
+ ),
7948
+ r.errCode == 2 ? (T(), R("span", jg, [
7949
+ h("a", {
7950
+ href: r.childPath + "/user/resend-verify",
7951
+ target: "_blank"
7952
+ }, "Resend email", 8, Dg)
7953
+ ])) : j("v-if", !0)
7954
+ ])) : j("v-if", !0)
7955
+ ]),
7956
+ r.isSignup ? (T(), R("button", {
7957
+ key: 1,
7958
+ class: "form-button",
7959
+ disabled: r.disabled,
7960
+ onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
7961
+ }, "Create Your Account", 8, Bg)) : (T(), R("button", {
7962
+ key: 2,
7963
+ class: "form-button",
7964
+ disabled: r.disabled,
7965
+ onClick: t[9] || (t[9] = (...a) => s.handleLogin && s.handleLogin(...a))
7966
+ }, "Login", 8, Hg))
7967
+ ])
7933
7968
  ]),
7934
- r.isSignup ? D("v-if", !0) : (T(), R("div", R0, [
7969
+ r.isSignup ? j("v-if", !0) : (T(), R("div", zg, [
7935
7970
  h("a", {
7936
7971
  href: r.childPath + "/user/password-reset",
7937
7972
  target: "_blank"
7938
- }, "Forgot your password?", 8, F0),
7939
- D(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
7973
+ }, "Forgot your password?", 8, Ug),
7974
+ j(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
7940
7975
  ])),
7941
- D(` <div class="link">
7976
+ j(` <div class="link">
7942
7977
  By creating an account you agree to our <a href="/site/terms" style="color: #1778f2;">Terms of Use</a>
7943
7978
  </div> `)
7944
7979
  ]);
7945
7980
  }
7946
- const xl = /* @__PURE__ */ It(g0, [["render", L0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7947
- const j0 = {
7981
+ const xl = /* @__PURE__ */ Mt(gg, [["render", Vg], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
7982
+ const Wg = {
7948
7983
  data() {
7949
7984
  return {};
7950
7985
  },
@@ -7963,7 +7998,7 @@ const j0 = {
7963
7998
  this.$emit("close");
7964
7999
  }
7965
8000
  }
7966
- }, D0 = (e) => (Qt("data-v-47199182"), e = e(), Xt(), e), B0 = { class: "background-cover" }, H0 = { class: "login-content" }, z0 = /* @__PURE__ */ D0(() => /* @__PURE__ */ h(
8001
+ }, qg = (e) => (Qt("data-v-47199182"), e = e(), Xt(), e), Gg = { class: "background-cover" }, Kg = { class: "login-content" }, Jg = /* @__PURE__ */ qg(() => /* @__PURE__ */ h(
7967
8002
  "svg",
7968
8003
  {
7969
8004
  t: "1641536858080",
@@ -7984,29 +8019,29 @@ const j0 = {
7984
8019
  ],
7985
8020
  -1
7986
8021
  /* HOISTED */
7987
- )), U0 = [
7988
- z0
8022
+ )), Yg = [
8023
+ Jg
7989
8024
  ];
7990
- function V0(e, t, n, o, r, s) {
8025
+ function Zg(e, t, n, o, r, s) {
7991
8026
  const a = xl;
7992
- return T(), R("div", B0, [
7993
- h("div", H0, [
8027
+ return T(), R("div", Gg, [
8028
+ h("div", Kg, [
7994
8029
  Q(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
7995
8030
  h("div", {
7996
8031
  class: "cancel",
7997
8032
  onClick: t[0] || (t[0] = (...i) => s.handleClose && s.handleClose(...i))
7998
- }, U0)
8033
+ }, Yg)
7999
8034
  ])
8000
8035
  ]);
8001
8036
  }
8002
- const W0 = /* @__PURE__ */ It(j0, [["render", V0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8037
+ const Qg = /* @__PURE__ */ Mt(Wg, [["render", Zg], ["__scopeId", "data-v-47199182"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
8003
8038
  /*!
8004
8039
  * pinia v2.1.4
8005
8040
  * (c) 2023 Eduardo San Martin Morote
8006
8041
  * @license MIT
8007
8042
  */
8008
8043
  let gn;
8009
- const ho = (e) => gn = e, q0 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8044
+ const ho = (e) => gn = e, Xg = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
8010
8045
  /* istanbul ignore next */
8011
8046
  Symbol()
8012
8047
  );
@@ -8038,12 +8073,12 @@ function ga(e, t, n, o = Sl) {
8038
8073
  };
8039
8074
  return !n && wa() && xa(r), r;
8040
8075
  }
8041
- function Ft(e, ...t) {
8076
+ function Lt(e, ...t) {
8042
8077
  e.slice().forEach((n) => {
8043
8078
  n(...t);
8044
8079
  });
8045
8080
  }
8046
- const G0 = (e) => e();
8081
+ const e0 = (e) => e();
8047
8082
  function mr(e, t) {
8048
8083
  e instanceof Map && t instanceof Map && t.forEach((n, o) => e.set(o, n)), e instanceof Set && t instanceof Set && t.forEach(e.add, e);
8049
8084
  for (const n in t) {
@@ -8054,12 +8089,12 @@ function mr(e, t) {
8054
8089
  }
8055
8090
  return e;
8056
8091
  }
8057
- const K0 = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
8092
+ const t0 = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
8058
8093
  /* istanbul ignore next */
8059
8094
  Symbol()
8060
8095
  );
8061
- function J0(e) {
8062
- return !Ot(e) || !e.hasOwnProperty(K0);
8096
+ function n0(e) {
8097
+ return !Ot(e) || !e.hasOwnProperty(t0);
8063
8098
  }
8064
8099
  const { assign: Oe } = Object;
8065
8100
  function ba(e) {
@@ -8072,7 +8107,7 @@ function ya(e, t, n, o) {
8072
8107
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
8073
8108
  const u = process.env.NODE_ENV !== "production" && o ? (
8074
8109
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
8075
- Zo(I(r ? r() : {}).value)
8110
+ Zo(M(r ? r() : {}).value)
8076
8111
  ) : Zo(n.state.value[e]);
8077
8112
  return Oe(u, s, Object.keys(a || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = mn(E(() => {
8078
8113
  ho(n);
@@ -8097,7 +8132,7 @@ function vr(e, t, n = {}, o, r, s) {
8097
8132
  let l, u, d = [], f = [], m;
8098
8133
  const p = o.state.value[e];
8099
8134
  !s && !p && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
8100
- const v = I({});
8135
+ const v = M({});
8101
8136
  let _;
8102
8137
  function g(x) {
8103
8138
  let w;
@@ -8111,15 +8146,15 @@ function vr(e, t, n = {}, o, r, s) {
8111
8146
  storeId: e,
8112
8147
  events: m
8113
8148
  });
8114
- const M = _ = Symbol();
8149
+ const I = _ = Symbol();
8115
8150
  tt().then(() => {
8116
- _ === M && (l = !0);
8117
- }), u = !0, Ft(d, w, o.state.value[e]);
8151
+ _ === I && (l = !0);
8152
+ }), u = !0, Lt(d, w, o.state.value[e]);
8118
8153
  }
8119
8154
  const O = s ? function() {
8120
- const { state: w } = n, M = w ? w() : {};
8155
+ const { state: w } = n, I = w ? w() : {};
8121
8156
  this.$patch((N) => {
8122
- Oe(N, M);
8157
+ Oe(N, I);
8123
8158
  });
8124
8159
  } : (
8125
8160
  /* istanbul ignore next */
@@ -8133,15 +8168,15 @@ function vr(e, t, n = {}, o, r, s) {
8133
8168
  function C(x, w) {
8134
8169
  return function() {
8135
8170
  ho(o);
8136
- const M = Array.from(arguments), N = [], W = [];
8137
- function q(j) {
8138
- N.push(j);
8171
+ const I = Array.from(arguments), N = [], W = [];
8172
+ function q(D) {
8173
+ N.push(D);
8139
8174
  }
8140
- function z(j) {
8141
- W.push(j);
8175
+ function z(D) {
8176
+ W.push(D);
8142
8177
  }
8143
- Ft(f, {
8144
- args: M,
8178
+ Lt(f, {
8179
+ args: I,
8145
8180
  name: x,
8146
8181
  store: b,
8147
8182
  after: q,
@@ -8149,11 +8184,11 @@ function vr(e, t, n = {}, o, r, s) {
8149
8184
  });
8150
8185
  let k;
8151
8186
  try {
8152
- k = w.apply(this && this.$id === e ? this : b, M);
8153
- } catch (j) {
8154
- throw Ft(W, j), j;
8187
+ k = w.apply(this && this.$id === e ? this : b, I);
8188
+ } catch (D) {
8189
+ throw Lt(W, D), D;
8155
8190
  }
8156
- return k instanceof Promise ? k.then((j) => (Ft(N, j), j)).catch((j) => (Ft(W, j), Promise.reject(j))) : (Ft(N, k), k);
8191
+ return k instanceof Promise ? k.then((D) => (Lt(N, D), D)).catch((D) => (Lt(W, D), Promise.reject(D))) : (Lt(N, k), k);
8157
8192
  };
8158
8193
  }
8159
8194
  const A = /* @__PURE__ */ mn({
@@ -8169,14 +8204,14 @@ function vr(e, t, n = {}, o, r, s) {
8169
8204
  $patch: g,
8170
8205
  $reset: O,
8171
8206
  $subscribe(x, w = {}) {
8172
- const M = ga(d, x, w.detached, () => N()), N = a.run(() => Y(() => o.state.value[e], (W) => {
8207
+ const I = ga(d, x, w.detached, () => N()), N = a.run(() => Y(() => o.state.value[e], (W) => {
8173
8208
  (w.flush === "sync" ? u : l) && x({
8174
8209
  storeId: e,
8175
8210
  type: _n.direct,
8176
8211
  events: m
8177
8212
  }, W);
8178
8213
  }, Oe({}, c, w)));
8179
- return M;
8214
+ return I;
8180
8215
  },
8181
8216
  $dispose: P
8182
8217
  }, b = Zt(process.env.NODE_ENV !== "production" || Yo ? Oe(
@@ -8190,22 +8225,22 @@ function vr(e, t, n = {}, o, r, s) {
8190
8225
  // setupStore
8191
8226
  ) : $);
8192
8227
  o._s.set(e, b);
8193
- const F = o._a && o._a.runWithContext || G0, L = o._e.run(() => (a = Vl(), F(() => a.run(t))));
8194
- for (const x in L) {
8195
- const w = L[x];
8228
+ const L = o._a && o._a.runWithContext || e0, F = o._e.run(() => (a = Vl(), L(() => a.run(t))));
8229
+ for (const x in F) {
8230
+ const w = F[x];
8196
8231
  if (wt(w) && !ba(w) || yr(w))
8197
- process.env.NODE_ENV !== "production" && r ? jn(v.value, x, Xe(L, x)) : s || (p && J0(w) && (wt(w) ? w.value = p[x] : mr(w, p[x])), o.state.value[e][x] = w), process.env.NODE_ENV !== "production" && A.state.push(x);
8232
+ process.env.NODE_ENV !== "production" && r ? jn(v.value, x, Xe(F, x)) : s || (p && n0(w) && (wt(w) ? w.value = p[x] : mr(w, p[x])), o.state.value[e][x] = w), process.env.NODE_ENV !== "production" && A.state.push(x);
8198
8233
  else if (typeof w == "function") {
8199
- const M = process.env.NODE_ENV !== "production" && r ? w : C(x, w);
8200
- L[x] = M, process.env.NODE_ENV !== "production" && (A.actions[x] = w), i.actions[x] = w;
8234
+ const I = process.env.NODE_ENV !== "production" && r ? w : C(x, w);
8235
+ F[x] = I, process.env.NODE_ENV !== "production" && (A.actions[x] = w), i.actions[x] = w;
8201
8236
  } else
8202
8237
  process.env.NODE_ENV !== "production" && ba(w) && (A.getters[x] = s ? (
8203
8238
  // @ts-expect-error
8204
8239
  n.getters[x]
8205
- ) : w, Zr && (L._getters || // @ts-expect-error: same
8206
- (L._getters = mn([]))).push(x));
8240
+ ) : w, Zr && (F._getters || // @ts-expect-error: same
8241
+ (F._getters = mn([]))).push(x));
8207
8242
  }
8208
- if (Oe(b, L), Oe(Wl(b), L), Object.defineProperty(b, "$state", {
8243
+ if (Oe(b, F), Oe(Wl(b), F), Object.defineProperty(b, "$state", {
8209
8244
  get: () => process.env.NODE_ENV !== "production" && r ? v.value : o.state.value[e],
8210
8245
  set: (x) => {
8211
8246
  if (process.env.NODE_ENV !== "production" && r)
@@ -8217,8 +8252,8 @@ function vr(e, t, n = {}, o, r, s) {
8217
8252
  }), process.env.NODE_ENV !== "production" && (b._hotUpdate = mn((x) => {
8218
8253
  b._hotUpdating = !0, x._hmrPayload.state.forEach((w) => {
8219
8254
  if (w in b.$state) {
8220
- const M = x.$state[w], N = b.$state[w];
8221
- typeof M == "object" && Ot(M) && Ot(N) ? El(M, N) : x.$state[w] = N;
8255
+ const I = x.$state[w], N = b.$state[w];
8256
+ typeof I == "object" && Ot(I) && Ot(N) ? El(I, N) : x.$state[w] = N;
8222
8257
  }
8223
8258
  jn(b, w, Xe(x.$state, w));
8224
8259
  }), Object.keys(b.$state).forEach((w) => {
@@ -8227,14 +8262,14 @@ function vr(e, t, n = {}, o, r, s) {
8227
8262
  l = !0;
8228
8263
  });
8229
8264
  for (const w in x._hmrPayload.actions) {
8230
- const M = x[w];
8231
- jn(b, w, C(w, M));
8265
+ const I = x[w];
8266
+ jn(b, w, C(w, I));
8232
8267
  }
8233
8268
  for (const w in x._hmrPayload.getters) {
8234
- const M = x._hmrPayload.getters[w], N = s ? (
8269
+ const I = x._hmrPayload.getters[w], N = s ? (
8235
8270
  // special handling of options api
8236
- E(() => (ho(o), M.call(b, b)))
8237
- ) : M;
8271
+ E(() => (ho(o), I.call(b, b)))
8272
+ ) : I;
8238
8273
  jn(b, w, N);
8239
8274
  }
8240
8275
  Object.keys(b._hmrPayload.getters).forEach((w) => {
@@ -8261,7 +8296,7 @@ function vr(e, t, n = {}, o, r, s) {
8261
8296
  pinia: o,
8262
8297
  options: i
8263
8298
  }));
8264
- Object.keys(w || {}).forEach((M) => b._customProperties.add(M)), Oe(b, w);
8299
+ Object.keys(w || {}).forEach((I) => b._customProperties.add(I)), Oe(b, w);
8265
8300
  } else
8266
8301
  Oe(b, a.run(() => x({
8267
8302
  store: b,
@@ -8273,7 +8308,7 @@ function vr(e, t, n = {}, o, r, s) {
8273
8308
  state: () => new MyClass()
8274
8309
  Found in store "${b.$id}".`), p && s && n.hydrate && n.hydrate(b.$state, p), l = !0, u = !0, b;
8275
8310
  }
8276
- function Y0(e, t, n) {
8311
+ function o0(e, t, n) {
8277
8312
  let o, r;
8278
8313
  const s = typeof t == "function";
8279
8314
  if (typeof e == "string")
@@ -8284,7 +8319,7 @@ function Y0(e, t, n) {
8284
8319
  const l = Ul();
8285
8320
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
8286
8321
  // pinia instance with getActivePinia()
8287
- (process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(q0, null) : null), i && ho(i), process.env.NODE_ENV !== "production" && !gn)
8322
+ (process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(Xg, null) : null), i && ho(i), process.env.NODE_ENV !== "production" && !gn)
8288
8323
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
8289
8324
  const pinia = createPinia()
8290
8325
  app.use(pinia)
@@ -8307,14 +8342,14 @@ This will fail in production.`);
8307
8342
  }
8308
8343
  return a.$id = o, a;
8309
8344
  }
8310
- function Z0(e, t) {
8345
+ function r0(e, t) {
8311
8346
  return Array.isArray(t) ? t.reduce((n, o) => (n[o] = function(...r) {
8312
8347
  return e(this.$pinia)[o](...r);
8313
8348
  }, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = function(...r) {
8314
8349
  return e(this.$pinia)[t[o]](...r);
8315
8350
  }, n), {});
8316
8351
  }
8317
- const Q0 = Y0("user", {
8352
+ const s0 = o0("user", {
8318
8353
  state: () => ({
8319
8354
  user: null,
8320
8355
  isShowLogin: !1,
@@ -8387,7 +8422,7 @@ const Q0 = Y0("user", {
8387
8422
  });
8388
8423
  let kl = nn();
8389
8424
  console.log("childPath3", kl);
8390
- const X0 = {
8425
+ const a0 = {
8391
8426
  props: ["user", "from"],
8392
8427
  data() {
8393
8428
  return {
@@ -8395,15 +8430,15 @@ const X0 = {
8395
8430
  };
8396
8431
  },
8397
8432
  methods: {
8398
- ...Z0(Q0, ["logout"]),
8433
+ ...r0(s0, ["logout"]),
8399
8434
  handlePay() {
8400
8435
  console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
8401
8436
  }
8402
8437
  }
8403
- }, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e), eg = { class: "user-center-content" }, tg = { class: "user-info flew-row-v-center" }, ng = ["src"], og = {
8438
+ }, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e), i0 = { class: "user-center-content" }, l0 = { class: "user-info flew-row-v-center" }, c0 = ["src"], u0 = {
8404
8439
  class: "user-name",
8405
8440
  style: { color: "#000" }
8406
- }, rg = { class: "user-email" }, sg = { class: "flew-row-v-center" }, ag = {
8441
+ }, d0 = { class: "user-email" }, f0 = { class: "flew-row-v-center" }, p0 = {
8407
8442
  key: 0,
8408
8443
  t: "1637834706702",
8409
8444
  class: "user-item-icon",
@@ -8413,7 +8448,7 @@ const X0 = {
8413
8448
  "p-id": "10206",
8414
8449
  width: "32",
8415
8450
  height: "32"
8416
- }, ig = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8451
+ }, h0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8417
8452
  "path",
8418
8453
  {
8419
8454
  d: "M319.786667 74.666667h384.490666A85.333333 85.333333 0 0 1 772.266667 108.458667l207.594666 273.834666a85.333333 85.333333 0 0 1-6.592 110.805334L573.866667 907.136a85.333333 85.333333 0 0 1-122.688 0.149333L50.88 494.144a85.333333 85.333333 0 0 1-6.805333-110.826667L251.733333 108.544A85.333333 85.333333 0 0 1 319.786667 74.666667z",
@@ -8425,7 +8460,7 @@ const X0 = {
8425
8460
  null,
8426
8461
  -1
8427
8462
  /* HOISTED */
8428
- )), lg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8463
+ )), m0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8429
8464
  "path",
8430
8465
  {
8431
8466
  d: "M685.482667 350.72a32 32 0 0 1 47.445333 42.816l-2.197333 2.432-196.096 196.096a32 32 0 0 1-42.837334 2.197333l-2.432-2.197333-196.096-196.096a32 32 0 0 1 42.816-47.466667l2.432 2.197334L512 524.181333l173.482667-173.482666z",
@@ -8435,10 +8470,10 @@ const X0 = {
8435
8470
  null,
8436
8471
  -1
8437
8472
  /* HOISTED */
8438
- )), cg = [
8439
- ig,
8440
- lg
8441
- ], ug = {
8473
+ )), v0 = [
8474
+ h0,
8475
+ m0
8476
+ ], g0 = {
8442
8477
  key: 1,
8443
8478
  t: "1637055277290",
8444
8479
  class: "user-item-icon",
@@ -8448,7 +8483,7 @@ const X0 = {
8448
8483
  "p-id": "8080",
8449
8484
  width: "32",
8450
8485
  height: "32"
8451
- }, dg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8486
+ }, b0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8452
8487
  "path",
8453
8488
  {
8454
8489
  d: "M957.942003 407.418107c4.937452-6.197142 4.954849-15.143908-0.297782-21.406542L718.393185 100.883665c-1.357927-1.623987-2.981914-2.916423-4.738931-3.89368-2.765997-5.600555-8.532327-9.42772-15.193027-9.42772L326.247924 87.562265c-6.329149 0-11.978822 3.612271-14.877849 8.930393-2.15406 0.994654-4.142343 2.469238-5.733585 4.391007L66.386478 386.011564c-3.048429 3.628644-4.340865 8.16803-3.90903 12.541641-0.464581 4.391007 0.794086 8.964162 3.859911 12.625552L501.444085 929.709497c5.997598 7.175423 16.634866 8.037047 23.825638 2.02103 3.13234-2.650363 5.086855-6.145977 5.799076-9.841136 0.38067-0.379647 0.762363-0.777713 1.110287-1.209548L953.899944 418.089144C956.533934 414.956803 957.859116 411.17978 957.942003 407.418107zM520.830621 727.291344 754.099409 449.304076c8.963139-10.686387 25.00244-12.06171 35.754319-3.032056 10.852162 9.096169 12.211113 25.035186 3.230578 35.755342L542.071388 781.172509c-5.418406 6.445806-13.387915 9.509585-21.240767 8.930393-7.837502 0.579191-15.807011-2.484587-21.224394-8.930393L248.57489 482.027361c-8.979512-10.720156-7.605212-26.659173 3.247974-35.755342 10.769274-9.029654 26.774807-7.65433 35.754319 3.032056L520.830621 727.291344z",
@@ -8458,9 +8493,9 @@ const X0 = {
8458
8493
  null,
8459
8494
  -1
8460
8495
  /* HOISTED */
8461
- )), fg = [
8462
- dg
8463
- ], pg = ["href"], hg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8496
+ )), y0 = [
8497
+ b0
8498
+ ], _0 = ["href"], w0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8464
8499
  "button",
8465
8500
  { class: "upgrade_btn" },
8466
8501
  [
@@ -8468,9 +8503,9 @@ const X0 = {
8468
8503
  ],
8469
8504
  -1
8470
8505
  /* HOISTED */
8471
- )), mg = [
8472
- hg
8473
- ], vg = ["href"], gg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8506
+ )), x0 = [
8507
+ w0
8508
+ ], E0 = ["href"], S0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8474
8509
  "div",
8475
8510
  { class: "user-item user-item-active flew-row-v-center" },
8476
8511
  [
@@ -8494,9 +8529,9 @@ const X0 = {
8494
8529
  ],
8495
8530
  -1
8496
8531
  /* HOISTED */
8497
- )), bg = [
8498
- gg
8499
- ], yg = ["href"], _g = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8532
+ )), k0 = [
8533
+ S0
8534
+ ], O0 = ["href"], T0 = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
8500
8535
  "div",
8501
8536
  { class: "user-item user-item-active flew-row-v-center" },
8502
8537
  [
@@ -8525,19 +8560,19 @@ const X0 = {
8525
8560
  ],
8526
8561
  -1
8527
8562
  /* HOISTED */
8528
- )), wg = [
8529
- _g
8563
+ )), P0 = [
8564
+ T0
8530
8565
  ];
8531
- function xg(e, t, n, o, r, s) {
8532
- return T(), R("div", eg, [
8533
- h("div", tg, [
8566
+ function C0(e, t, n, o, r, s) {
8567
+ return T(), R("div", i0, [
8568
+ h("div", l0, [
8534
8569
  h("img", {
8535
8570
  class: "user-avatar",
8536
8571
  src: n.user.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
8537
8572
  alt: "user avatar"
8538
- }, null, 8, ng),
8573
+ }, null, 8, c0),
8539
8574
  h("div", null, [
8540
- h("div", og, [
8575
+ h("div", u0, [
8541
8576
  h(
8542
8577
  "span",
8543
8578
  null,
@@ -8546,7 +8581,7 @@ function xg(e, t, n, o, r, s) {
8546
8581
  /* TEXT */
8547
8582
  )
8548
8583
  ]),
8549
- h("div", rg, [
8584
+ h("div", d0, [
8550
8585
  h(
8551
8586
  "span",
8552
8587
  null,
@@ -8557,7 +8592,7 @@ function xg(e, t, n, o, r, s) {
8557
8592
  ])
8558
8593
  ])
8559
8594
  ]),
8560
- D(` <div v-if="!user.is_subscribed" class="user-item user-item-active flew-row-v-center space-between" @click="handlePay">
8595
+ j(` <div v-if="!user.is_subscribed" class="user-item user-item-active flew-row-v-center space-between" @click="handlePay">
8561
8596
  <div class="flew-row-v-center">
8562
8597
  <svg t="1637055176346" class="user-item-icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6419" width="32" height="32"><path d="M179.2 182.4c-34.4 16.8-51.2 35.2-51.2 55.2v55.2c0 20 16.8 38.4 51.2 55.2 34.4 16.8 80.8 30.4 140 40 59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-55.2c0-20-16.8-38.4-51.2-55.2-34.4-16.8-80.8-30.4-140-40C645.6 132.8 581.6 128 512 128s-133.6 4.8-192.8 14.4c-58.4 10.4-105.6 23.2-140 40M128 552v69.6c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-72.8c-40 24-93.6 42.4-162.4 54.4-68.8 12.8-142.4 18.4-221.6 18.4s-152.8-5.6-221.6-18.4C221.6 591.2 168 572.8 128 548.8M128 712v74.4c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2v-72.8c-40 24-93.6 42.4-162.4 54.4-68.8 12-142.4 18.4-221.6 18.4s-152.8-6.4-221.6-18.4C221.6 756 168 737.6 128 713.6M128 384v72.8c0 20 16.8 38.4 51.2 55.2s80.8 30.4 140 40c59.2 9.6 123.2 14.4 192.8 14.4s133.6-4.8 192.8-14.4c59.2-9.6 105.6-23.2 140-40 34.4-16.8 51.2-35.2 51.2-55.2V384c-40 24-93.6 42.4-162.4 54.4-68.8 12-142.4 18.4-221.6 18.4s-152.8-6.4-221.6-18.4C221.6 426.4 168 408 128 384" p-id="6420" fill="#969696"></path></svg>
8563
8598
  <span id="free_cnt">My Credit: {{user.free_cnt}}</span>
@@ -8568,8 +8603,8 @@ function xg(e, t, n, o, r, s) {
8568
8603
  class: "user-item flew-row-v-center space-between",
8569
8604
  onClick: t[0] || (t[0] = (...a) => s.handlePay && s.handlePay(...a))
8570
8605
  }, [
8571
- h("div", sg, [
8572
- n.user.is_subscribed ? (T(), R("svg", ag, cg)) : (T(), R("svg", ug, fg)),
8606
+ h("div", f0, [
8607
+ n.user.is_subscribed ? (T(), R("svg", p0, v0)) : (T(), R("svg", g0, y0)),
8573
8608
  h(
8574
8609
  "span",
8575
8610
  null,
@@ -8578,26 +8613,26 @@ function xg(e, t, n, o, r, s) {
8578
8613
  /* TEXT */
8579
8614
  )
8580
8615
  ]),
8581
- n.user.is_subscribed ? D("v-if", !0) : (T(), R("a", {
8616
+ n.user.is_subscribed ? j("v-if", !0) : (T(), R("a", {
8582
8617
  key: 0,
8583
8618
  href: r.path + "/pricing",
8584
8619
  target: "_self"
8585
- }, mg, 8, pg))
8620
+ }, x0, 8, _0))
8586
8621
  ]),
8587
8622
  h("a", {
8588
8623
  href: r.path + "/dashboard",
8589
8624
  target: "_blank"
8590
- }, bg, 8, vg),
8625
+ }, k0, 8, E0),
8591
8626
  h("a", {
8592
8627
  rel: "nofollow",
8593
8628
  href: r.path + "/user/logout"
8594
- }, wg, 8, yg)
8629
+ }, P0, 8, O0)
8595
8630
  ]);
8596
8631
  }
8597
- const _a = /* @__PURE__ */ It(X0, [["render", xg], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8598
- const Eg = {
8632
+ const _a = /* @__PURE__ */ Mt(a0, [["render", C0], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
8633
+ const A0 = {
8599
8634
  props: ["content", "top"]
8600
- }, Sg = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), kg = /* @__PURE__ */ Sg(() => /* @__PURE__ */ h(
8635
+ }, I0 = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), M0 = /* @__PURE__ */ I0(() => /* @__PURE__ */ h(
8601
8636
  "svg",
8602
8637
  {
8603
8638
  t: "1637907583780",
@@ -8618,7 +8653,7 @@ const Eg = {
8618
8653
  -1
8619
8654
  /* HOISTED */
8620
8655
  ));
8621
- function Og(e, t, n, o, r, s) {
8656
+ function $0(e, t, n, o, r, s) {
8622
8657
  return T(), R(
8623
8658
  "div",
8624
8659
  {
@@ -8626,7 +8661,7 @@ function Og(e, t, n, o, r, s) {
8626
8661
  style: Pn({ top: n.top || "60PX" })
8627
8662
  },
8628
8663
  [
8629
- kg,
8664
+ M0,
8630
8665
  h(
8631
8666
  "span",
8632
8667
  null,
@@ -8639,8 +8674,8 @@ function Og(e, t, n, o, r, s) {
8639
8674
  /* STYLE */
8640
8675
  );
8641
8676
  }
8642
- const Tg = /* @__PURE__ */ It(Eg, [["render", Og], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8643
- const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8677
+ const N0 = /* @__PURE__ */ Mt(A0, [["render", $0], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
8678
+ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
8644
8679
  "div",
8645
8680
  { class: "invite-success" },
8646
8681
  [
@@ -8667,7 +8702,7 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8667
8702
  ],
8668
8703
  -1
8669
8704
  /* HOISTED */
8670
- ), Ag = /* @__PURE__ */ h(
8705
+ ), F0 = /* @__PURE__ */ h(
8671
8706
  "div",
8672
8707
  { class: "invite-title" },
8673
8708
  [
@@ -8675,29 +8710,29 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8675
8710
  ],
8676
8711
  -1
8677
8712
  /* HOISTED */
8678
- ), Mg = /* @__PURE__ */ h(
8713
+ ), j0 = /* @__PURE__ */ h(
8679
8714
  "p",
8680
8715
  { class: "invite-desc" },
8681
8716
  "You have successfully subscribed to the business plan and now you have the right to add licenses for partners.",
8682
8717
  -1
8683
8718
  /* HOISTED */
8684
- ), Ig = /* @__PURE__ */ h(
8719
+ ), D0 = /* @__PURE__ */ h(
8685
8720
  "span",
8686
8721
  null,
8687
8722
  "Invite Partners Now",
8688
8723
  -1
8689
8724
  /* HOISTED */
8690
- ), $g = [
8691
- Ig
8692
- ], Ng = /* @__PURE__ */ h(
8725
+ ), B0 = [
8726
+ D0
8727
+ ], H0 = /* @__PURE__ */ h(
8693
8728
  "span",
8694
8729
  null,
8695
8730
  "Invite Later",
8696
8731
  -1
8697
8732
  /* HOISTED */
8698
- ), Rg = [
8699
- Ng
8700
- ], Fg = {
8733
+ ), z0 = [
8734
+ H0
8735
+ ], U0 = {
8701
8736
  __name: "TeamInvite",
8702
8737
  emits: ["cancel"],
8703
8738
  setup(e, { emit: t }) {
@@ -8706,26 +8741,26 @@ const Pg = { class: "background-cover" }, Cg = /* @__PURE__ */ h(
8706
8741
  }, r = () => {
8707
8742
  t("cancel");
8708
8743
  };
8709
- return (s, a) => (T(), R("div", Pg, [
8744
+ return (s, a) => (T(), R("div", R0, [
8710
8745
  h("div", { class: "invite-dialog" }, [
8711
- Cg,
8712
- Ag,
8713
- Mg,
8746
+ L0,
8747
+ F0,
8748
+ j0,
8714
8749
  h("div", null, [
8715
8750
  h("div", {
8716
8751
  class: "button button-up",
8717
8752
  onClick: o
8718
- }, $g),
8753
+ }, B0),
8719
8754
  h("div", {
8720
8755
  class: "button button-down",
8721
8756
  onClick: r
8722
- }, Rg)
8757
+ }, z0)
8723
8758
  ])
8724
8759
  ])
8725
8760
  ]));
8726
8761
  }
8727
- }, Lg = /* @__PURE__ */ It(Fg, [["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8728
- function jg(e, t) {
8762
+ }, V0 = /* @__PURE__ */ Mt(U0, [["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
8763
+ function W0(e, t) {
8729
8764
  return T(), R("svg", {
8730
8765
  xmlns: "http://www.w3.org/2000/svg",
8731
8766
  viewBox: "0 0 20 20",
@@ -8739,13 +8774,13 @@ function jg(e, t) {
8739
8774
  })
8740
8775
  ]);
8741
8776
  }
8742
- const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8777
+ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8743
8778
  "span",
8744
8779
  null,
8745
8780
  "Our other apps",
8746
8781
  -1
8747
8782
  /* HOISTED */
8748
- )), Bg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8783
+ )), G0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8749
8784
  "img",
8750
8785
  {
8751
8786
  src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
@@ -8754,7 +8789,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8754
8789
  null,
8755
8790
  -1
8756
8791
  /* HOISTED */
8757
- )), Hg = ["href"], zg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8792
+ )), K0 = ["href"], J0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8758
8793
  "img",
8759
8794
  {
8760
8795
  style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
@@ -8764,7 +8799,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8764
8799
  null,
8765
8800
  -1
8766
8801
  /* HOISTED */
8767
- )), Ug = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8802
+ )), Y0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8768
8803
  "div",
8769
8804
  { class: "flex flex-col pl-1" },
8770
8805
  [
@@ -8773,10 +8808,10 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8773
8808
  ],
8774
8809
  -1
8775
8810
  /* HOISTED */
8776
- )), Vg = [
8777
- zg,
8778
- Ug
8779
- ], Wg = ["href"], qg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8811
+ )), Z0 = [
8812
+ J0,
8813
+ Y0
8814
+ ], Q0 = ["href"], X0 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8780
8815
  "img",
8781
8816
  {
8782
8817
  style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
@@ -8786,7 +8821,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8786
8821
  null,
8787
8822
  -1
8788
8823
  /* HOISTED */
8789
- )), Gg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8824
+ )), e1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8790
8825
  "div",
8791
8826
  { class: "flex flex-col pl-1" },
8792
8827
  [
@@ -8795,10 +8830,10 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8795
8830
  ],
8796
8831
  -1
8797
8832
  /* HOISTED */
8798
- )), Kg = [
8799
- qg,
8800
- Gg
8801
- ], Jg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8833
+ )), t1 = [
8834
+ X0,
8835
+ e1
8836
+ ], n1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8802
8837
  "img",
8803
8838
  {
8804
8839
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -8808,13 +8843,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8808
8843
  null,
8809
8844
  -1
8810
8845
  /* HOISTED */
8811
- )), Yg = ["href"], Zg = ["src"], Qg = {
8846
+ )), o1 = ["href"], r1 = ["src"], s1 = {
8812
8847
  key: 1,
8813
8848
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
8814
- }, Xg = {
8849
+ }, a1 = {
8815
8850
  key: 2,
8816
8851
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
8817
- }, e1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8852
+ }, i1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8818
8853
  "svg",
8819
8854
  {
8820
8855
  class: "inline-block mr-2",
@@ -8981,13 +9016,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8981
9016
  ],
8982
9017
  -1
8983
9018
  /* HOISTED */
8984
- )), t1 = ["href"], n1 = ["src"], o1 = {
9019
+ )), l1 = ["href"], c1 = ["src"], u1 = {
8985
9020
  key: 1,
8986
9021
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
8987
- }, r1 = {
9022
+ }, d1 = {
8988
9023
  key: 2,
8989
9024
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
8990
- }, s1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
9025
+ }, f1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
8991
9026
  "img",
8992
9027
  {
8993
9028
  style: { width: "20px", height: "20px", marginRight: "8px" },
@@ -8997,13 +9032,13 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
8997
9032
  null,
8998
9033
  -1
8999
9034
  /* HOISTED */
9000
- )), a1 = ["href"], i1 = ["src"], l1 = {
9035
+ )), p1 = ["href"], h1 = ["src"], m1 = {
9001
9036
  key: 1,
9002
9037
  class: "ml-2 h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
9003
- }, c1 = {
9038
+ }, v1 = {
9004
9039
  key: 2,
9005
9040
  class: "ml-2 h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9006
- }, u1 = {
9041
+ }, g1 = {
9007
9042
  __name: "MobileMoreApps",
9008
9043
  props: {
9009
9044
  hotApps: Array,
@@ -9012,7 +9047,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9012
9047
  edge_addon_tools: Array
9013
9048
  },
9014
9049
  setup(e) {
9015
- const t = I(null);
9050
+ const t = M(null);
9016
9051
  return X(() => {
9017
9052
  const n = new URL(location.href);
9018
9053
  t.value = n.searchParams.get("from") || null;
@@ -9030,12 +9065,12 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9030
9065
  index: "1"
9031
9066
  }, {
9032
9067
  title: U(() => [
9033
- Dg
9068
+ q0
9034
9069
  ]),
9035
9070
  default: U(() => [
9036
9071
  Q(r, { index: "1-1" }, {
9037
9072
  title: U(() => [
9038
- Bg,
9073
+ G0,
9039
9074
  le(" Hot Tools ")
9040
9075
  ]),
9041
9076
  default: U(() => [
@@ -9048,7 +9083,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9048
9083
  target: "_blank",
9049
9084
  href: "https://www.imgkits.com" + (t.value ? "?from=" + t.value : ""),
9050
9085
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-96 p-3"
9051
- }, Vg, 8, Hg)
9086
+ }, Z0, 8, K0)
9052
9087
  ]),
9053
9088
  _: 1
9054
9089
  /* STABLE */
@@ -9059,7 +9094,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9059
9094
  target: "_blank",
9060
9095
  href: "https://www.livepolls.app/ai_image_generator/image-generator" + (t.value ? "?from=" + t.value : ""),
9061
9096
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-96 p-3"
9062
- }, Kg, 8, Wg)
9097
+ }, t1, 8, Q0)
9063
9098
  ]),
9064
9099
  _: 1
9065
9100
  /* STABLE */
@@ -9070,7 +9105,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9070
9105
  }),
9071
9106
  Q(r, { index: "1-2" }, {
9072
9107
  title: U(() => [
9073
- Jg,
9108
+ n1,
9074
9109
  le(" Google Workspace Tools ")
9075
9110
  ]),
9076
9111
  default: U(() => [
@@ -9091,15 +9126,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9091
9126
  key: 0,
9092
9127
  class: "h-4 mr-2 w-4 inline-block",
9093
9128
  src: i.icon
9094
- }, null, 8, Zg)) : D("v-if", !0),
9129
+ }, null, 8, r1)) : j("v-if", !0),
9095
9130
  le(
9096
9131
  " " + ne(i.name) + " ",
9097
9132
  1
9098
9133
  /* TEXT */
9099
9134
  ),
9100
- i.type == 1 ? (T(), R("span", Qg, "Hot")) : D("v-if", !0),
9101
- i.type == 2 ? (T(), R("span", Xg, "AI")) : D("v-if", !0)
9102
- ], 8, Yg)
9135
+ i.type == 1 ? (T(), R("span", s1, "Hot")) : j("v-if", !0),
9136
+ i.type == 2 ? (T(), R("span", a1, "AI")) : j("v-if", !0)
9137
+ ], 8, o1)
9103
9138
  ]),
9104
9139
  _: 2
9105
9140
  /* DYNAMIC */
@@ -9113,7 +9148,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9113
9148
  }),
9114
9149
  Q(r, { index: "1-3" }, {
9115
9150
  title: U(() => [
9116
- e1,
9151
+ i1,
9117
9152
  le(" Chrome Extensions ")
9118
9153
  ]),
9119
9154
  default: U(() => [
@@ -9134,15 +9169,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9134
9169
  key: 0,
9135
9170
  class: "h-4 mr-2 w-4 inline-block",
9136
9171
  src: i.icon
9137
- }, null, 8, n1)) : D("v-if", !0),
9172
+ }, null, 8, c1)) : j("v-if", !0),
9138
9173
  le(
9139
9174
  " " + ne(i.name) + " ",
9140
9175
  1
9141
9176
  /* TEXT */
9142
9177
  ),
9143
- i.type == 1 ? (T(), R("span", o1, "Hot")) : D("v-if", !0),
9144
- i.type == 2 ? (T(), R("span", r1, "AI")) : D("v-if", !0)
9145
- ], 8, t1)
9178
+ i.type == 1 ? (T(), R("span", u1, "Hot")) : j("v-if", !0),
9179
+ i.type == 2 ? (T(), R("span", d1, "AI")) : j("v-if", !0)
9180
+ ], 8, l1)
9146
9181
  ]),
9147
9182
  _: 2
9148
9183
  /* DYNAMIC */
@@ -9156,7 +9191,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9156
9191
  }),
9157
9192
  Q(r, { index: "1-4" }, {
9158
9193
  title: U(() => [
9159
- s1,
9194
+ f1,
9160
9195
  le(" Edge Extensions ")
9161
9196
  ]),
9162
9197
  default: U(() => [
@@ -9177,15 +9212,15 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9177
9212
  key: 0,
9178
9213
  class: "h-4 mr-2 w-4 inline-block",
9179
9214
  src: i.icon
9180
- }, null, 8, i1)) : D("v-if", !0),
9215
+ }, null, 8, h1)) : j("v-if", !0),
9181
9216
  le(
9182
9217
  " " + ne(i.name) + " ",
9183
9218
  1
9184
9219
  /* TEXT */
9185
9220
  ),
9186
- i.type == 1 ? (T(), R("span", l1, "Hot")) : D("v-if", !0),
9187
- i.type == 2 ? (T(), R("span", c1, "AI")) : D("v-if", !0)
9188
- ], 8, a1)
9221
+ i.type == 1 ? (T(), R("span", m1, "Hot")) : j("v-if", !0),
9222
+ i.type == 2 ? (T(), R("span", v1, "AI")) : j("v-if", !0)
9223
+ ], 8, p1)
9189
9224
  ]),
9190
9225
  _: 2
9191
9226
  /* DYNAMIC */
@@ -9215,29 +9250,29 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), Dg = /* @__PURE__ *
9215
9250
  });
9216
9251
  };
9217
9252
  }
9218
- }, d1 = /* @__PURE__ */ It(u1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9219
- const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9253
+ }, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
9254
+ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
9220
9255
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
9221
9256
  "aria-label": "Global"
9222
- }, p1 = { class: "flex lg:flex-1" }, h1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9257
+ }, _1 = { class: "flex lg:flex-1" }, w1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9223
9258
  "span",
9224
9259
  { class: "hidden items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" },
9225
9260
  null,
9226
9261
  -1
9227
9262
  /* HOISTED */
9228
- )), m1 = ["href"], v1 = ["src", "alt"], g1 = { class: "pl-2 text-xl" }, b1 = { class: "flex lg:hidden" }, y1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9263
+ )), x1 = ["href"], E1 = ["src", "alt"], S1 = { class: "pl-2 text-xl" }, k1 = { class: "flex lg:hidden" }, O1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9229
9264
  "span",
9230
9265
  { class: "sr-only" },
9231
9266
  "Open main menu",
9232
9267
  -1
9233
9268
  /* HOISTED */
9234
- )), _1 = { class: "hidden lg:flex lg:gap-x-12" }, w1 = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, x1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9269
+ )), T1 = { class: "hidden lg:flex lg:gap-x-12" }, P1 = { class: "navigation-item inline-flex items-center gap-x-1 text-sm font-semibold h-7 leading-7 text-gray-900" }, C1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9235
9270
  "span",
9236
9271
  null,
9237
9272
  "Our other apps",
9238
9273
  -1
9239
9274
  /* HOISTED */
9240
- )), E1 = { class: "hot w-1/4 border-r mr-10" }, S1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9275
+ )), A1 = { class: "hot w-1/4 border-r mr-10" }, I1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9241
9276
  "div",
9242
9277
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9243
9278
  [
@@ -9249,7 +9284,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9249
9284
  ],
9250
9285
  -1
9251
9286
  /* HOISTED */
9252
- )), k1 = { class: "h-[300px] pt-5 w-[97%]" }, O1 = ["href"], T1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9287
+ )), M1 = { class: "h-[300px] pt-5 w-[97%]" }, $1 = ["href"], N1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9253
9288
  "img",
9254
9289
  {
9255
9290
  class: "h-16 w-16 mr-1 rounded",
@@ -9258,7 +9293,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9258
9293
  null,
9259
9294
  -1
9260
9295
  /* HOISTED */
9261
- )), P1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9296
+ )), R1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9262
9297
  "div",
9263
9298
  { class: "flex flex-col pl-1" },
9264
9299
  [
@@ -9267,10 +9302,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9267
9302
  ],
9268
9303
  -1
9269
9304
  /* HOISTED */
9270
- )), C1 = [
9271
- T1,
9272
- P1
9273
- ], A1 = ["href"], M1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9305
+ )), L1 = [
9306
+ N1,
9307
+ R1
9308
+ ], F1 = ["href"], j1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9274
9309
  "img",
9275
9310
  {
9276
9311
  class: "h-16 w-16 mr-1 rounded",
@@ -9279,7 +9314,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9279
9314
  null,
9280
9315
  -1
9281
9316
  /* HOISTED */
9282
- )), I1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9317
+ )), D1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9283
9318
  "div",
9284
9319
  { class: "flex flex-col pl-1" },
9285
9320
  [
@@ -9288,10 +9323,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9288
9323
  ],
9289
9324
  -1
9290
9325
  /* HOISTED */
9291
- )), $1 = [
9292
- M1,
9293
- I1
9294
- ], N1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, R1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9326
+ )), B1 = [
9327
+ j1,
9328
+ D1
9329
+ ], H1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, z1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9295
9330
  "div",
9296
9331
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9297
9332
  [
@@ -9303,13 +9338,13 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9303
9338
  ],
9304
9339
  -1
9305
9340
  /* HOISTED */
9306
- )), F1 = { class: "h-[300px] w-[98%] text-sm font-semibold leading-6 text-gray-900 pt-2" }, L1 = ["href"], j1 = ["src"], D1 = {
9341
+ )), U1 = { class: "h-[300px] w-[98%] text-sm font-semibold leading-6 text-gray-900 pt-2" }, V1 = ["href"], W1 = ["src"], q1 = {
9307
9342
  key: 0,
9308
9343
  class: "h-4 flex items-center font-normal bg-[#f16a41] text-white rounded-sm px-1 text-center"
9309
- }, B1 = {
9344
+ }, G1 = {
9310
9345
  key: 1,
9311
9346
  class: "h-4 flex items-center font-normal bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9312
- }, H1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, z1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9347
+ }, K1 = { class: "flex w-1/4 border-r mr-10 flex-col" }, J1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9313
9348
  "div",
9314
9349
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9315
9350
  [
@@ -9479,13 +9514,13 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9479
9514
  ],
9480
9515
  -1
9481
9516
  /* HOISTED */
9482
- )), U1 = { class: "h-[300px] text-sm w-[98%] font-semibold leading-6 pt-2 text-gray-900" }, V1 = ["href"], W1 = ["src"], q1 = {
9517
+ )), Y1 = { class: "h-[300px] text-sm w-[98%] font-semibold leading-6 pt-2 text-gray-900" }, Z1 = ["href"], Q1 = ["src"], X1 = {
9483
9518
  key: 0,
9484
9519
  class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
9485
- }, G1 = {
9520
+ }, eb = {
9486
9521
  key: 1,
9487
9522
  class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9488
- }, K1 = { class: "flex w-1/4 mr-10 flex-col" }, J1 = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9523
+ }, tb = { class: "flex w-1/4 mr-10 flex-col" }, nb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9489
9524
  "div",
9490
9525
  { class: "py-3 text-sm font-bold flex items-center leading-6" },
9491
9526
  [
@@ -9497,46 +9532,46 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9497
9532
  ],
9498
9533
  -1
9499
9534
  /* HOISTED */
9500
- )), Y1 = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, Z1 = ["href"], Q1 = ["src"], X1 = {
9535
+ )), ob = { class: "text-sm font-semibold leading-6 text-gray-900 pt-2" }, rb = ["href"], sb = ["src"], ab = {
9501
9536
  key: 0,
9502
9537
  class: "h-4 font-normal flex items-center bg-[#f16a41] text-white rounded-sm px-1 text-center"
9503
- }, eb = {
9538
+ }, ib = {
9504
9539
  key: 1,
9505
9540
  class: "h-4 font-normal flex items-center bg-[#5b4fff] text-white rounded-sm px-1 text-center"
9506
- }, tb = ["href", "target"], nb = {
9541
+ }, lb = ["href", "target"], cb = {
9507
9542
  key: 0,
9508
9543
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
9509
- }, ob = {
9544
+ }, ub = {
9510
9545
  key: 1,
9511
9546
  class: "hidden lg:flex lg:flex-1 lg:justify-end"
9512
- }, rb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9547
+ }, db = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9513
9548
  "span",
9514
9549
  { "aria-hidden": "true" },
9515
9550
  null,
9516
9551
  -1
9517
9552
  /* HOISTED */
9518
- )), sb = { class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center" }, ab = { class: "pr-4" }, ib = ["src"], lb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9553
+ )), fb = { class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center" }, pb = { class: "pr-4" }, hb = ["src"], mb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9519
9554
  "div",
9520
9555
  { class: "open-icon" },
9521
9556
  null,
9522
9557
  -1
9523
9558
  /* HOISTED */
9524
- )), cb = { class: "user-center-dialog shadow-xl" }, ub = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9559
+ )), vb = { class: "user-center-dialog shadow-xl" }, gb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9525
9560
  "div",
9526
9561
  { class: "fixed inset-0 z-50" },
9527
9562
  null,
9528
9563
  -1
9529
9564
  /* HOISTED */
9530
- )), db = { class: "flex items-center justify-between" }, fb = ["href"], pb = { class: "sr-only" }, hb = ["src", "alt"], mb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9565
+ )), bb = { class: "flex items-center justify-between" }, yb = ["href"], _b = { class: "sr-only" }, wb = ["src", "alt"], xb = /* @__PURE__ */ ge(() => /* @__PURE__ */ h(
9531
9566
  "span",
9532
9567
  { class: "sr-only" },
9533
9568
  "Close menu",
9534
9569
  -1
9535
9570
  /* HOISTED */
9536
- )), vb = { class: "mt-6 flow-root" }, gb = { class: "-my-6 divide-y divide-gray-500/10" }, bb = { class: "space-y-2 py-6" }, yb = ["href", "target"], _b = {
9571
+ )), Eb = { class: "mt-6 flow-root" }, Sb = { class: "-my-6 divide-y divide-gray-500/10" }, kb = { class: "space-y-2 py-6" }, Ob = ["href", "target"], Tb = {
9537
9572
  key: 0,
9538
9573
  class: "py-6"
9539
- }, wb = {
9574
+ }, Pb = {
9540
9575
  __name: "Header",
9541
9576
  props: {
9542
9577
  isShenHe: {
@@ -9577,7 +9612,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9577
9612
  name: "Video Translator"
9578
9613
  };
9579
9614
  typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (o = app_config), console.log("appInfo", o);
9580
- const r = I(o), s = nn(), a = I([
9615
+ const r = M(o), s = nn(), a = M([
9581
9616
  {
9582
9617
  name: "Live Polls Maker for Slides™",
9583
9618
  desc: "Make your meetings and classes more interactive by live polling to collect instant feedback. Include multiple choice, open text, word cloud, survey, Q&A, quizzes.",
@@ -9654,7 +9689,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9654
9689
  name: "More Google Workspace >",
9655
9690
  url: "https://www.livepolls.app/apps"
9656
9691
  }
9657
- ]), i = I([
9692
+ ]), i = M([
9658
9693
  {
9659
9694
  name: "AI Image Generator",
9660
9695
  desc: "Turn text prompts into an image with our AI Image Generator, you can get the best free stock photos without searching from Pexels or unsplash.",
@@ -9732,7 +9767,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9732
9767
  chrome_addon_url: "https://www.livepolls.app/chrome_addons",
9733
9768
  edge_addon_url: "https://www.livepolls.app/edge_addons"
9734
9769
  }
9735
- ]), c = I([
9770
+ ]), c = M([
9736
9771
  {
9737
9772
  name: "AI Image Generator",
9738
9773
  desc: "Turn text prompts into an image with our AI Image Generator, you can get the best free stock photos without searching from Pexels or unsplash.",
@@ -9809,19 +9844,19 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9809
9844
  name: "More Edge Extensions >",
9810
9845
  edge_addon_url: "https://www.livepolls.app/edge_addons"
9811
9846
  }
9812
- ]), l = I(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), u = I(s || "/"), d = I(!1), f = I(null), m = E(() => n.userStore.user), p = () => {
9847
+ ]), l = M(n.isShenHe ? [{ name: "Privacy Policy", href: s + "/privacy", target: "_blank" }] : [{ name: "Pricing", href: s + "/pricing", target: "_self" }]), u = M(s || "/"), d = M(!1), f = M(null), m = E(() => n.userStore.user), p = () => {
9813
9848
  n.userStore.showLogin(!0);
9814
- }, v = I(!1);
9849
+ }, v = M(!1);
9815
9850
  X(() => {
9816
- da(s.substring(1), "chrome_addon").then((L) => {
9817
- i.value = L.slice(0, 6), i.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), c.value = L.slice(0, 6), c.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
9818
- }), da(s.substring(1), "google_workspace").then((L) => {
9819
- console.log(L, "google_workspace"), a.value = L.slice(0, 6), a.value.push({ name: "More Google Workspace >", url: "https://www.livepolls.app/apps" }), console.log(a.value, "workspace");
9851
+ da(s.substring(1), "chrome_addon").then((F) => {
9852
+ i.value = F.slice(0, 6), i.value.push({ name: "More Chrome Extensions >", chrome_addon_url: "https://www.livepolls.app/chrome_addons", edge_addon_url: "https://www.livepolls.app/apps" }), c.value = F.slice(0, 6), c.value.push({ name: "More Edge Extensions >", edge_addon_url: "https://www.livepolls.app/edge_addons" });
9853
+ }), da(s.substring(1), "google_workspace").then((F) => {
9854
+ console.log(F, "google_workspace"), a.value = F.slice(0, 6), a.value.push({ name: "More Google Workspace >", url: "https://www.livepolls.app/apps" }), console.log(a.value, "workspace");
9820
9855
  });
9821
- const F = new URL(location.href);
9822
- f.value = F.searchParams.get("from") || null, n.userStore.getUser(n.driveQuery).then(
9823
- ({ profile: L }) => {
9824
- t("initUserCallback", L), console.log("login", L), !L && n.from != "login" && !n.isShenHe && A();
9856
+ const L = new URL(location.href);
9857
+ f.value = L.searchParams.get("from") || null, n.userStore.getUser(n.driveQuery).then(
9858
+ ({ profile: F }) => {
9859
+ t("initUserCallback", F), console.log("login", F), !F && n.from != "login" && !n.isShenHe && A();
9825
9860
  },
9826
9861
  () => {
9827
9862
  }
@@ -9829,7 +9864,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9829
9864
  });
9830
9865
  async function _() {
9831
9866
  g();
9832
- const F = Dt.service({
9867
+ const L = Dt.service({
9833
9868
  text: "logining...",
9834
9869
  background: "rgba(0, 0, 0, 0.7)"
9835
9870
  });
@@ -9837,7 +9872,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9837
9872
  await n.userStore.getUser(n.driveQuery), t("loginSuccess");
9838
9873
  } catch {
9839
9874
  } finally {
9840
- F.close();
9875
+ L.close();
9841
9876
  }
9842
9877
  }
9843
9878
  function g() {
@@ -9852,26 +9887,26 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9852
9887
  function C() {
9853
9888
  d.value = !d.value;
9854
9889
  }
9855
- function A(F) {
9890
+ function A(L) {
9856
9891
  console.log("addGoogleAccountsScript:before"), typeof google < "u" && (google.accounts.id.initialize({
9857
9892
  client_id: "704677828444-ihbv6faprun043f3iuponnrctutdssgj.apps.googleusercontent.com",
9858
9893
  callback: $
9859
9894
  }), google.accounts.id.prompt());
9860
9895
  }
9861
- function $(F) {
9862
- !F || !F.credential || Qi(F.credential).then(
9863
- (L) => {
9864
- console.log("fetch_success", L), n.userStore ? n.userStore.getUser(n.driveQuery) : location.href = location.pathname;
9896
+ function $(L) {
9897
+ !L || !L.credential || Qi(L.credential).then(
9898
+ (F) => {
9899
+ console.log("fetch_success", F), n.userStore ? n.userStore.getUser(n.driveQuery) : location.href = location.pathname;
9865
9900
  },
9866
- (L) => {
9867
- console.log("fetch_fail", L);
9901
+ (F) => {
9902
+ console.log("fetch_fail", F);
9868
9903
  }
9869
9904
  );
9870
9905
  }
9871
9906
  function b() {
9872
9907
  n.userStore.hideInvite(!1);
9873
9908
  }
9874
- return (F, L) => (T(), R(
9909
+ return (L, F) => (T(), R(
9875
9910
  ie,
9876
9911
  null,
9877
9912
  [
@@ -9893,11 +9928,11 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9893
9928
  class: se(["absolute h-[84px] top-0 bg-white inset-x-0 z-30 mx-auto", [e.className]])
9894
9929
  },
9895
9930
  [
9896
- D(" nav "),
9897
- h("nav", f1, [
9898
- D(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
9899
- h("div", p1, [
9900
- h1,
9931
+ j(" nav "),
9932
+ h("nav", y1, [
9933
+ j(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
9934
+ h("div", _1, [
9935
+ w1,
9901
9936
  h("a", {
9902
9937
  href: u.value,
9903
9938
  class: "-m-1.5 p-1.5 flex items-center"
@@ -9906,43 +9941,43 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9906
9941
  class: "h-8 w-auto",
9907
9942
  src: r.value.logo,
9908
9943
  alt: r.value.name
9909
- }, null, 8, v1),
9944
+ }, null, 8, E1),
9910
9945
  h(
9911
9946
  "span",
9912
- g1,
9947
+ S1,
9913
9948
  ne(r.value.name),
9914
9949
  1
9915
9950
  /* TEXT */
9916
9951
  )
9917
- ], 8, m1)
9952
+ ], 8, x1)
9918
9953
  ]),
9919
- D(" 小屏幕 menu菜单栏 "),
9920
- h("div", b1, [
9954
+ j(" 小屏幕 menu菜单栏 "),
9955
+ h("div", k1, [
9921
9956
  h("button", {
9922
9957
  type: "button",
9923
9958
  class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
9924
- onClick: L[0] || (L[0] = (x) => v.value = !0)
9959
+ onClick: F[0] || (F[0] = (x) => v.value = !0)
9925
9960
  }, [
9926
- y1,
9927
- Q(y(m0), {
9961
+ O1,
9962
+ Q(y(mg), {
9928
9963
  class: "h-6 w-6",
9929
9964
  "aria-hidden": "true"
9930
9965
  })
9931
9966
  ])
9932
9967
  ]),
9933
- D(" lg>屏幕 显示 workspace 产品推荐的组件 "),
9934
- h("div", _1, [
9935
- D(" 弹出菜单栏组件 "),
9936
- e.isShenHe ? D("v-if", !0) : (T(), ee(y(wl), {
9968
+ j(" lg>屏幕 显示 workspace 产品推荐的组件 "),
9969
+ h("div", T1, [
9970
+ j(" 弹出菜单栏组件 "),
9971
+ e.isShenHe ? j("v-if", !0) : (T(), ee(y(wl), {
9937
9972
  key: 0,
9938
9973
  class: "relative bug_buuton_wrap"
9939
9974
  }, {
9940
9975
  default: U(() => [
9941
- Q(y(p0), { class: "bg-transparent border-0 outline-none" }, {
9976
+ Q(y(pg), { class: "bg-transparent border-0 outline-none" }, {
9942
9977
  default: U(() => [
9943
- h("div", w1, [
9944
- x1,
9945
- Q(y(jg), {
9978
+ h("div", P1, [
9979
+ C1,
9980
+ Q(y(W0), {
9946
9981
  class: "h-5 w-5",
9947
9982
  "aria-hidden": "true"
9948
9983
  })
@@ -9960,35 +9995,35 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
9960
9995
  "leave-to-class": "opacity-0 translate-y-1"
9961
9996
  }, {
9962
9997
  default: U(() => [
9963
- Q(y(h0), { class: "fixed mx-auto left-0 right-0 shadow-lg z-10 bg-white mt-5 flex w-screen ring-1 ring-gray-900/5" }, {
9998
+ Q(y(hg), { class: "fixed mx-auto left-0 right-0 shadow-lg z-10 bg-white mt-5 flex w-screen ring-1 ring-gray-900/5" }, {
9964
9999
  default: U(() => [
9965
- D(" 分三个模块 "),
10000
+ j(" 分三个模块 "),
9966
10001
  h(
9967
10002
  "div",
9968
10003
  {
9969
10004
  class: se(["flex w-screen mx-auto px-10", [e.PopoverPanelClass]])
9970
10005
  },
9971
10006
  [
9972
- h("div", E1, [
9973
- S1,
9974
- D(" face_swap_ai.png "),
9975
- h("div", k1, [
10007
+ h("div", A1, [
10008
+ I1,
10009
+ j(" face_swap_ai.png "),
10010
+ h("div", M1, [
9976
10011
  h("a", {
9977
10012
  target: "_blank",
9978
10013
  href: "https://www.imgkits.com" + (f.value ? "?from=" + f.value : ""),
9979
10014
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 mb-6 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-60 xl:w-72 p-3"
9980
- }, C1, 8, O1),
10015
+ }, L1, 8, $1),
9981
10016
  h("a", {
9982
10017
  target: "_blank",
9983
10018
  href: "https://www.livepolls.app/ai_image_generator/image-generator" + (f.value ? "?from=" + f.value : ""),
9984
10019
  class: "cursor-pointer flex items-center bg-gradient-to-r h-24 from-purple-100 via-blue-100 to-purple-200 rounded-2xl w-60 xl:w-72 p-3"
9985
- }, $1, 8, A1)
10020
+ }, B1, 8, F1)
9986
10021
  ])
9987
10022
  ]),
9988
- D(" workspace "),
9989
- h("div", N1, [
9990
- R1,
9991
- h("div", F1, [
10023
+ j(" workspace "),
10024
+ h("div", H1, [
10025
+ z1,
10026
+ h("div", U1, [
9992
10027
  (T(!0), R(
9993
10028
  ie,
9994
10029
  null,
@@ -10005,25 +10040,25 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10005
10040
  key: 0,
10006
10041
  class: "h-4 mr-2 w-4 inline-block",
10007
10042
  src: x.icon
10008
- }, null, 8, j1)) : D("v-if", !0),
10043
+ }, null, 8, W1)) : j("v-if", !0),
10009
10044
  le(
10010
10045
  " " + ne(x.name),
10011
10046
  1
10012
10047
  /* TEXT */
10013
10048
  )
10014
- ], 8, L1),
10015
- x.type == 1 ? (T(), R("span", D1, "Hot")) : D("v-if", !0),
10016
- x.type == 2 ? (T(), R("span", B1, "AI")) : D("v-if", !0)
10049
+ ], 8, V1),
10050
+ x.type == 1 ? (T(), R("span", q1, "Hot")) : j("v-if", !0),
10051
+ x.type == 2 ? (T(), R("span", G1, "AI")) : j("v-if", !0)
10017
10052
  ]))),
10018
10053
  128
10019
10054
  /* KEYED_FRAGMENT */
10020
10055
  ))
10021
10056
  ])
10022
10057
  ]),
10023
- D(" chrome_addon "),
10024
- h("div", H1, [
10025
- z1,
10026
- h("div", U1, [
10058
+ j(" chrome_addon "),
10059
+ h("div", K1, [
10060
+ J1,
10061
+ h("div", Y1, [
10027
10062
  (T(!0), R(
10028
10063
  ie,
10029
10064
  null,
@@ -10040,25 +10075,25 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10040
10075
  key: 0,
10041
10076
  class: "h-4 mr-2 w-4 inline-block",
10042
10077
  src: x.icon
10043
- }, null, 8, W1)) : D("v-if", !0),
10078
+ }, null, 8, Q1)) : j("v-if", !0),
10044
10079
  le(
10045
10080
  " " + ne(x.name),
10046
10081
  1
10047
10082
  /* TEXT */
10048
10083
  )
10049
- ], 8, V1),
10050
- x.type == 1 ? (T(), R("span", q1, "Hot")) : D("v-if", !0),
10051
- x.type == 2 ? (T(), R("span", G1, "AI")) : D("v-if", !0)
10084
+ ], 8, Z1),
10085
+ x.type == 1 ? (T(), R("span", X1, "Hot")) : j("v-if", !0),
10086
+ x.type == 2 ? (T(), R("span", eb, "AI")) : j("v-if", !0)
10052
10087
  ]))),
10053
10088
  128
10054
10089
  /* KEYED_FRAGMENT */
10055
10090
  ))
10056
10091
  ])
10057
10092
  ]),
10058
- D(" edge_addon "),
10059
- h("div", K1, [
10060
- J1,
10061
- h("div", Y1, [
10093
+ j(" edge_addon "),
10094
+ h("div", tb, [
10095
+ nb,
10096
+ h("div", ob, [
10062
10097
  (T(!0), R(
10063
10098
  ie,
10064
10099
  null,
@@ -10075,15 +10110,15 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10075
10110
  key: 0,
10076
10111
  class: "h-4 mr-2 w-4 inline-block",
10077
10112
  src: x.icon
10078
- }, null, 8, Q1)) : D("v-if", !0),
10113
+ }, null, 8, sb)) : j("v-if", !0),
10079
10114
  le(
10080
10115
  " " + ne(x.name),
10081
10116
  1
10082
10117
  /* TEXT */
10083
10118
  )
10084
- ], 8, Z1),
10085
- x.type == 1 ? (T(), R("span", X1, "Hot")) : D("v-if", !0),
10086
- x.type == 2 ? (T(), R("span", eb, "AI")) : D("v-if", !0)
10119
+ ], 8, rb),
10120
+ x.type == 1 ? (T(), R("span", ab, "Hot")) : j("v-if", !0),
10121
+ x.type == 2 ? (T(), R("span", ib, "AI")) : j("v-if", !0)
10087
10122
  ]))),
10088
10123
  128
10089
10124
  /* KEYED_FRAGMENT */
@@ -10106,7 +10141,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10106
10141
  _: 1
10107
10142
  /* STABLE */
10108
10143
  })),
10109
- D(" 下面这个非菜单栏 "),
10144
+ j(" 下面这个非菜单栏 "),
10110
10145
  (T(!0), R(
10111
10146
  ie,
10112
10147
  null,
@@ -10115,18 +10150,18 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10115
10150
  href: f.value ? x.href + "?from=" + f.value : x.href,
10116
10151
  target: x.target,
10117
10152
  class: "navigation-item inline-flex items-center text-sm h-7 leading-7 font-semibold text-gray-900"
10118
- }, ne(x.name), 9, tb))),
10153
+ }, ne(x.name), 9, lb))),
10119
10154
  128
10120
10155
  /* KEYED_FRAGMENT */
10121
10156
  ))
10122
10157
  ]),
10123
- D(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
10124
- e.isShenHe ? (T(), R("div", nb)) : m.value ? (T(), R(
10158
+ j(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
10159
+ e.isShenHe ? (T(), R("div", cb)) : m.value ? (T(), R(
10125
10160
  ie,
10126
10161
  { key: 2 },
10127
10162
  [
10128
- D(" 用户信息 "),
10129
- h("div", sb, [
10163
+ j(" 用户信息 "),
10164
+ h("div", fb, [
10130
10165
  h(
10131
10166
  "div",
10132
10167
  {
@@ -10135,7 +10170,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10135
10170
  onMouseleave: P
10136
10171
  },
10137
10172
  [
10138
- h("div", ab, [
10173
+ h("div", pb, [
10139
10174
  h(
10140
10175
  "span",
10141
10176
  null,
@@ -10148,18 +10183,18 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10148
10183
  class: "user-avatar h-10 rounded-full",
10149
10184
  src: m.value.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
10150
10185
  alt: "user avatar"
10151
- }, null, 8, ib),
10152
- lb,
10186
+ }, null, 8, hb),
10187
+ mb,
10153
10188
  He(h(
10154
10189
  "div",
10155
10190
  null,
10156
10191
  [
10157
- h("div", cb, [
10158
- D(" 用户信息 移入菜单栏 "),
10192
+ h("div", vb, [
10193
+ j(" 用户信息 移入菜单栏 "),
10159
10194
  m.value ? (T(), ee(_a, {
10160
10195
  key: 0,
10161
10196
  user: m.value
10162
- }, null, 8, ["user"])) : D("v-if", !0)
10197
+ }, null, 8, ["user"])) : j("v-if", !0)
10163
10198
  ])
10164
10199
  ],
10165
10200
  512
@@ -10175,36 +10210,36 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10175
10210
  ],
10176
10211
  2112
10177
10212
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
10178
- )) : (T(), R("div", ob, [
10213
+ )) : (T(), R("div", ub, [
10179
10214
  h("a", {
10180
10215
  onClick: p,
10181
10216
  href: "javscript:void(0)",
10182
10217
  class: "text-sm leading-6 rounded-3xl bg-indigo-600 px-8 py-1.5 font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"
10183
10218
  }, [
10184
10219
  le("Log in"),
10185
- rb
10220
+ db
10186
10221
  ])
10187
10222
  ]))
10188
10223
  ]),
10189
- D(" 小屏幕 menu菜单栏 "),
10190
- Q(y(c0), {
10224
+ j(" 小屏幕 menu菜单栏 "),
10225
+ Q(y(cg), {
10191
10226
  as: "div",
10192
10227
  class: "lg:hidden",
10193
- onClose: L[2] || (L[2] = (x) => v.value = !1),
10228
+ onClose: F[2] || (F[2] = (x) => v.value = !1),
10194
10229
  open: v.value
10195
10230
  }, {
10196
10231
  default: U(() => [
10197
- ub,
10198
- Q(y(u0), { class: "fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10" }, {
10232
+ gb,
10233
+ Q(y(ug), { class: "fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10" }, {
10199
10234
  default: U(() => [
10200
- h("div", db, [
10235
+ h("div", bb, [
10201
10236
  h("a", {
10202
10237
  href: u.value,
10203
10238
  class: "-m-1.5 p-1.5"
10204
10239
  }, [
10205
10240
  h(
10206
10241
  "span",
10207
- pb,
10242
+ _b,
10208
10243
  ne(r.value.name),
10209
10244
  1
10210
10245
  /* TEXT */
@@ -10213,24 +10248,24 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10213
10248
  class: "h-8 w-auto",
10214
10249
  src: r.value.logo,
10215
10250
  alt: r.value.name
10216
- }, null, 8, hb)
10217
- ], 8, fb),
10251
+ }, null, 8, wb)
10252
+ ], 8, yb),
10218
10253
  h("button", {
10219
10254
  type: "button",
10220
10255
  class: "-m-2.5 rounded-md p-2.5 text-gray-700",
10221
- onClick: L[1] || (L[1] = (x) => v.value = !1)
10256
+ onClick: F[1] || (F[1] = (x) => v.value = !1)
10222
10257
  }, [
10223
- mb,
10224
- Q(y(v0), {
10258
+ xb,
10259
+ Q(y(vg), {
10225
10260
  class: "h-6 w-6",
10226
10261
  "aria-hidden": "true"
10227
10262
  })
10228
10263
  ])
10229
10264
  ]),
10230
- h("div", vb, [
10231
- h("div", gb, [
10232
- h("div", bb, [
10233
- Q(d1, {
10265
+ h("div", Eb, [
10266
+ h("div", Sb, [
10267
+ h("div", kb, [
10268
+ Q(b1, {
10234
10269
  workspaceTools: a.value,
10235
10270
  chrome_addon_tools: i.value,
10236
10271
  edge_addon_tools: c.value
@@ -10243,7 +10278,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10243
10278
  href: f.value ? x.href + "?from=" + f.value : x.href,
10244
10279
  target: x.target,
10245
10280
  class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
10246
- }, ne(x.name), 9, yb))),
10281
+ }, ne(x.name), 9, Ob))),
10247
10282
  128
10248
10283
  /* KEYED_FRAGMENT */
10249
10284
  ))
@@ -10256,8 +10291,8 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10256
10291
  m.value ? (T(), ee(_a, {
10257
10292
  key: 0,
10258
10293
  user: m.value
10259
- }, null, 8, ["user"])) : D("v-if", !0)
10260
- ])) : (T(), R("div", _b, [
10294
+ }, null, 8, ["user"])) : j("v-if", !0)
10295
+ ])) : (T(), R("div", Tb, [
10261
10296
  h("a", {
10262
10297
  href: "#",
10263
10298
  onClick: p,
@@ -10286,30 +10321,30 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), f1 = {
10286
10321
  2
10287
10322
  /* CLASS */
10288
10323
  ),
10289
- D(" 引入登录 "),
10290
- e.userStore.isShowLogin ? (T(), ee(W0, {
10324
+ j(" 引入登录 "),
10325
+ e.userStore.isShowLogin ? (T(), ee(Qg, {
10291
10326
  key: 0,
10292
10327
  onSuccess: _,
10293
10328
  onClose: g
10294
- })) : D("v-if", !0),
10295
- e.userStore.isShowToast ? (T(), ee(Tg, {
10329
+ })) : j("v-if", !0),
10330
+ e.userStore.isShowToast ? (T(), ee(N0, {
10296
10331
  key: 1,
10297
10332
  content: e.userStore.toastContent
10298
- }, null, 8, ["content"])) : D("v-if", !0),
10299
- e.userStore.isShowInvite ? (T(), ee(Lg, {
10333
+ }, null, 8, ["content"])) : j("v-if", !0),
10334
+ e.userStore.isShowInvite ? (T(), ee(V0, {
10300
10335
  key: 2,
10301
10336
  onCancel: b
10302
- })) : D("v-if", !0)
10337
+ })) : j("v-if", !0)
10303
10338
  ],
10304
10339
  64
10305
10340
  /* STABLE_FRAGMENT */
10306
10341
  ));
10307
10342
  }
10308
- }, xb = /* @__PURE__ */ It(wb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/c/Desktop/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), Tb = {
10343
+ }, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/yinheng/Desktop/code/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
10309
10344
  install(e) {
10310
- e.component("my-header", xb);
10345
+ e.component("my-header", Cb);
10311
10346
  }
10312
10347
  };
10313
10348
  export {
10314
- Tb as default
10349
+ Nb as default
10315
10350
  };