my-header-yichong 2.1.9 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/my-header.js CHANGED
@@ -1,4 +1,4 @@
1
- import { unref as $, getCurrentScope as Mo, onScopeDispose as Uo, ref as C, readonly as ps, getCurrentInstance as Ge, onMounted as J, nextTick as He, watch as we, openBlock as O, createElementBlock as k, createElementVNode as g, warn as hs, inject as V, computed as E, isRef as $e, provide as ue, defineComponent as M, renderSlot as It, mergeProps as ms, normalizeClass as ge, createVNode as Y, Transition as Rt, withCtx as oe, withDirectives as Te, toDisplayString as W, vShow as Dt, reactive as $n, h as j, createApp as vs, toRefs as hn, shallowReactive as gs, createBlock as re, normalizeStyle as Ho, createCommentVNode as B, resolveDynamicComponent as ys, Fragment as be, withModifiers as bs, isVNode as zo, render as Yn, cloneVNode as _s, watchEffect as ce, onUnmounted as le, Teleport as ws, shallowRef as Vo, createTextVNode as Ot, vModelText as en, pushScopeId as pt, popScopeId as ht, hasInjectionContext as Es, markRaw as at, effectScope as Ss, isReactive as Ln, toRef as tn, toRaw as xs, renderList as nn } from "vue";
1
+ import { unref as $, getCurrentScope as Mo, onScopeDispose as Uo, ref as C, readonly as ps, getCurrentInstance as Ge, onMounted as J, nextTick as He, watch as _e, openBlock as O, createElementBlock as k, createElementVNode as g, warn as hs, inject as V, computed as E, isRef as $e, provide as ue, defineComponent as M, renderSlot as It, mergeProps as ms, normalizeClass as ve, createVNode as Y, Transition as Rt, withCtx as oe, withDirectives as Te, toDisplayString as W, vShow as Dt, reactive as $n, h as j, createApp as vs, toRefs as hn, shallowReactive as gs, createBlock as re, normalizeStyle as Ho, createCommentVNode as B, resolveDynamicComponent as ys, Fragment as ye, withModifiers as bs, isVNode as zo, render as Yn, cloneVNode as _s, watchEffect as ce, onUnmounted as le, Teleport as ws, shallowRef as Vo, createTextVNode as Ot, vModelText as en, pushScopeId as ht, popScopeId as mt, hasInjectionContext as Es, markRaw as it, effectScope as Ss, isReactive as Ln, toRef as tn, toRaw as xs, renderList as nn } from "vue";
2
2
  function qo(e, t) {
3
3
  return function() {
4
4
  return e.apply(t, arguments);
@@ -7,11 +7,11 @@ function qo(e, t) {
7
7
  const { toString: Os } = Object.prototype, { getPrototypeOf: kn } = Object, jt = ((e) => (t) => {
8
8
  const n = Os.call(t);
9
9
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
10
- })(/* @__PURE__ */ Object.create(null)), me = (e) => (e = e.toLowerCase(), (t) => jt(t) === e), Bt = (e) => (t) => typeof t === e, { isArray: Je } = Array, ut = Bt("undefined");
10
+ })(/* @__PURE__ */ Object.create(null)), he = (e) => (e = e.toLowerCase(), (t) => jt(t) === e), Bt = (e) => (t) => typeof t === e, { isArray: Je } = Array, ct = Bt("undefined");
11
11
  function Ps(e) {
12
- return e !== null && !ut(e) && e.constructor !== null && !ut(e.constructor) && te(e.constructor.isBuffer) && e.constructor.isBuffer(e);
12
+ return e !== null && !ct(e) && e.constructor !== null && !ct(e.constructor) && te(e.constructor.isBuffer) && e.constructor.isBuffer(e);
13
13
  }
14
- const Wo = me("ArrayBuffer");
14
+ const Wo = he("ArrayBuffer");
15
15
  function Cs(e) {
16
16
  let t;
17
17
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Wo(e.buffer), t;
@@ -21,12 +21,12 @@ const Ts = Bt("string"), te = Bt("function"), Go = Bt("number"), Mt = (e) => e !
21
21
  return !1;
22
22
  const t = kn(e);
23
23
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
24
- }, $s = me("Date"), Ls = me("File"), ks = me("Blob"), As = me("FileList"), Fs = (e) => Mt(e) && te(e.pipe), Is = (e) => {
24
+ }, $s = he("Date"), Ls = he("File"), ks = he("Blob"), As = he("FileList"), Fs = (e) => Mt(e) && te(e.pipe), Is = (e) => {
25
25
  let t;
26
26
  return e && (typeof FormData == "function" && e instanceof FormData || te(e.append) && ((t = jt(e)) === "formdata" || // detect form-data instance
27
27
  t === "object" && te(e.toString) && e.toString() === "[object FormData]"));
28
- }, Rs = me("URLSearchParams"), Ds = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
- function mt(e, t, { allOwnKeys: n = !1 } = {}) {
28
+ }, Rs = he("URLSearchParams"), Ds = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
29
+ function vt(e, t, { allOwnKeys: n = !1 } = {}) {
30
30
  if (e === null || typeof e > "u")
31
31
  return;
32
32
  let o, r;
@@ -49,17 +49,17 @@ function Jo(e, t) {
49
49
  return r;
50
50
  return null;
51
51
  }
52
- const Ko = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Qo = (e) => !ut(e) && e !== Ko;
52
+ const Ko = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Qo = (e) => !ct(e) && e !== Ko;
53
53
  function mn() {
54
54
  const { caseless: e } = Qo(this) && this || {}, t = {}, n = (o, r) => {
55
55
  const s = e && Jo(t, r) || r;
56
56
  Pt(t[s]) && Pt(o) ? t[s] = mn(t[s], o) : Pt(o) ? t[s] = mn({}, o) : Je(o) ? t[s] = o.slice() : t[s] = o;
57
57
  };
58
58
  for (let o = 0, r = arguments.length; o < r; o++)
59
- arguments[o] && mt(arguments[o], n);
59
+ arguments[o] && vt(arguments[o], n);
60
60
  return t;
61
61
  }
62
- const js = (e, t, n, { allOwnKeys: o } = {}) => (mt(t, (r, s) => {
62
+ const js = (e, t, n, { allOwnKeys: o } = {}) => (vt(t, (r, s) => {
63
63
  n && te(r) ? e[s] = qo(r, n) : e[s] = r;
64
64
  }, { allOwnKeys: o }), e), Bs = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ms = (e, t, n, o) => {
65
65
  e.prototype = Object.create(t.prototype, o), e.prototype.constructor = e, Object.defineProperty(e, "super", {
@@ -105,14 +105,14 @@ const js = (e, t, n, { allOwnKeys: o } = {}) => (mt(t, (r, s) => {
105
105
  for (; (n = e.exec(t)) !== null; )
106
106
  o.push(n);
107
107
  return o;
108
- }, Gs = me("HTMLFormElement"), Js = (e) => e.toLowerCase().replace(
108
+ }, Gs = he("HTMLFormElement"), Js = (e) => e.toLowerCase().replace(
109
109
  /[-_\s]([a-z\d])(\w*)/g,
110
110
  function(n, o, r) {
111
111
  return o.toUpperCase() + r;
112
112
  }
113
- ), Xn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ks = me("RegExp"), Yo = (e, t) => {
113
+ ), Xn = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Ks = he("RegExp"), Yo = (e, t) => {
114
114
  const n = Object.getOwnPropertyDescriptors(e), o = {};
115
- mt(n, (r, s) => {
115
+ vt(n, (r, s) => {
116
116
  t(r, s, e) !== !1 && (o[s] = r);
117
117
  }), Object.defineProperties(e, o);
118
118
  }, Qs = (e) => {
@@ -160,16 +160,16 @@ const na = (e) => {
160
160
  if (!("toJSON" in o)) {
161
161
  t[r] = o;
162
162
  const s = Je(o) ? [] : {};
163
- return mt(o, (a, i) => {
163
+ return vt(o, (a, i) => {
164
164
  const d = n(a, r + 1);
165
- !ut(d) && (s[i] = d);
165
+ !ct(d) && (s[i] = d);
166
166
  }), t[r] = void 0, s;
167
167
  }
168
168
  }
169
169
  return o;
170
170
  };
171
171
  return n(e, 0);
172
- }, oa = me("AsyncFunction"), ra = (e) => e && (Mt(e) || te(e)) && te(e.then) && te(e.catch), v = {
172
+ }, oa = he("AsyncFunction"), ra = (e) => e && (Mt(e) || te(e)) && te(e.then) && te(e.catch), v = {
173
173
  isArray: Je,
174
174
  isArrayBuffer: Wo,
175
175
  isBuffer: Ps,
@@ -180,7 +180,7 @@ const na = (e) => {
180
180
  isBoolean: Ns,
181
181
  isObject: Mt,
182
182
  isPlainObject: Pt,
183
- isUndefined: ut,
183
+ isUndefined: ct,
184
184
  isDate: $s,
185
185
  isFile: Ls,
186
186
  isBlob: ks,
@@ -190,7 +190,7 @@ const na = (e) => {
190
190
  isURLSearchParams: Rs,
191
191
  isTypedArray: Vs,
192
192
  isFileList: As,
193
- forEach: mt,
193
+ forEach: vt,
194
194
  merge: mn,
195
195
  extend: js,
196
196
  trim: Ds,
@@ -198,7 +198,7 @@ const na = (e) => {
198
198
  inherits: Ms,
199
199
  toFlatObject: Us,
200
200
  kindOf: jt,
201
- kindOfTest: me,
201
+ kindOfTest: he,
202
202
  endsWith: Hs,
203
203
  toArray: zs,
204
204
  forEachEntry: qs,
@@ -458,7 +458,7 @@ const no = ua, rr = {
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
  })(), ha = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
461
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), he = {
461
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), pe = {
462
462
  isBrowser: !0,
463
463
  classes: {
464
464
  URLSearchParams: ca,
@@ -470,9 +470,9 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
470
470
  protocols: ["http", "https", "file", "blob", "url", "data"]
471
471
  };
472
472
  function ma(e, t) {
473
- return Ut(e, new he.classes.URLSearchParams(), Object.assign({
473
+ return Ut(e, new pe.classes.URLSearchParams(), Object.assign({
474
474
  visitor: function(n, o, r, s) {
475
- return he.isNode && v.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
475
+ return pe.isNode && v.isBuffer(n) ? (this.append(o, n.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
476
476
  }
477
477
  }, t));
478
478
  }
@@ -566,8 +566,8 @@ const Ht = {
566
566
  maxContentLength: -1,
567
567
  maxBodyLength: -1,
568
568
  env: {
569
- FormData: he.classes.FormData,
570
- Blob: he.classes.Blob
569
+ FormData: pe.classes.FormData,
570
+ Blob: pe.classes.Blob
571
571
  },
572
572
  validateStatus: function(t) {
573
573
  return t >= 200 && t < 300;
@@ -610,7 +610,7 @@ const Fn = Ht, _a = v.toObjectSet([
610
610
  r = a.indexOf(":"), n = a.substring(0, r).trim().toLowerCase(), o = a.substring(r + 1).trim(), !(!n || t[n] && _a[n]) && (n === "set-cookie" ? t[n] ? t[n].push(o) : t[n] = [o] : t[n] = t[n] ? t[n] + ", " + o : o);
611
611
  }), t;
612
612
  }, oo = Symbol("internals");
613
- function et(e) {
613
+ function tt(e) {
614
614
  return e && String(e).trim().toLowerCase();
615
615
  }
616
616
  function Ct(e) {
@@ -655,7 +655,7 @@ class zt {
655
655
  set(t, n, o) {
656
656
  const r = this;
657
657
  function s(i, d, l) {
658
- const u = et(d);
658
+ const u = tt(d);
659
659
  if (!u)
660
660
  throw new Error("header name must be a non-empty string");
661
661
  const c = v.findKey(r, u);
@@ -665,7 +665,7 @@ class zt {
665
665
  return v.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : v.isString(t) && (t = t.trim()) && !Sa(t) ? a(wa(t), n) : t != null && s(n, t, o), this;
666
666
  }
667
667
  get(t, n) {
668
- if (t = et(t), t) {
668
+ if (t = tt(t), t) {
669
669
  const o = v.findKey(this, t);
670
670
  if (o) {
671
671
  const r = this[o];
@@ -682,7 +682,7 @@ class zt {
682
682
  }
683
683
  }
684
684
  has(t, n) {
685
- if (t = et(t), t) {
685
+ if (t = tt(t), t) {
686
686
  const o = v.findKey(this, t);
687
687
  return !!(o && this[o] !== void 0 && (!n || rn(this, this[o], o, n)));
688
688
  }
@@ -692,7 +692,7 @@ class zt {
692
692
  const o = this;
693
693
  let r = !1;
694
694
  function s(a) {
695
- if (a = et(a), a) {
695
+ if (a = tt(a), a) {
696
696
  const i = v.findKey(o, a);
697
697
  i && (!n || rn(o, o[i], i, n)) && (delete o[i], r = !0);
698
698
  }
@@ -751,7 +751,7 @@ class zt {
751
751
  accessors: {}
752
752
  }).accessors, r = this.prototype;
753
753
  function s(a) {
754
- const i = et(a);
754
+ const i = tt(a);
755
755
  o[i] || (Oa(r, a), o[i] = !0);
756
756
  }
757
757
  return v.isArray(t) ? t.forEach(s) : s(t), this;
@@ -760,9 +760,9 @@ class zt {
760
760
  zt.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
761
761
  v.freezeMethods(zt.prototype);
762
762
  v.freezeMethods(zt);
763
- const _e = zt;
763
+ const be = zt;
764
764
  function sn(e, t) {
765
- const n = this || Fn, o = t || n, r = _e.from(o.headers);
765
+ const n = this || Fn, o = t || n, r = be.from(o.headers);
766
766
  let s = o.data;
767
767
  return v.forEach(e, function(i) {
768
768
  s = i.call(n, s, r.normalize(), t ? t.status : void 0);
@@ -771,10 +771,10 @@ function sn(e, t) {
771
771
  function ar(e) {
772
772
  return !!(e && e.__CANCEL__);
773
773
  }
774
- function vt(e, t, n) {
774
+ function gt(e, t, n) {
775
775
  F.call(this, e ?? "canceled", F.ERR_CANCELED, t, n), this.name = "CanceledError";
776
776
  }
777
- v.inherits(vt, F, {
777
+ v.inherits(gt, F, {
778
778
  __CANCEL__: !0
779
779
  });
780
780
  function Pa(e, t, n) {
@@ -787,7 +787,7 @@ function Pa(e, t, n) {
787
787
  n
788
788
  ));
789
789
  }
790
- const Ca = he.isStandardBrowserEnv ? (
790
+ const Ca = pe.isStandardBrowserEnv ? (
791
791
  // Standard browser envs support document.cookie
792
792
  function() {
793
793
  return {
@@ -827,7 +827,7 @@ function Na(e, t) {
827
827
  function ir(e, t) {
828
828
  return e && !Ta(t) ? Na(e, t) : t;
829
829
  }
830
- const $a = he.isStandardBrowserEnv ? (
830
+ const $a = pe.isStandardBrowserEnv ? (
831
831
  // Standard browser envs have full support of the APIs needed to test
832
832
  // whether the request URL is of the same origin as current location.
833
833
  function() {
@@ -900,12 +900,12 @@ function ro(e, t) {
900
900
  const Aa = typeof XMLHttpRequest < "u", Fa = Aa && function(e) {
901
901
  return new Promise(function(n, o) {
902
902
  let r = e.data;
903
- const s = _e.from(e.headers).normalize(), a = e.responseType;
903
+ const s = be.from(e.headers).normalize(), a = e.responseType;
904
904
  let i;
905
905
  function d() {
906
906
  e.cancelToken && e.cancelToken.unsubscribe(i), e.signal && e.signal.removeEventListener("abort", i);
907
907
  }
908
- v.isFormData(r) && (he.isStandardBrowserEnv || he.isStandardBrowserWebWorkerEnv ? s.setContentType(!1) : s.setContentType("multipart/form-data;", !1));
908
+ v.isFormData(r) && (pe.isStandardBrowserEnv || pe.isStandardBrowserWebWorkerEnv ? s.setContentType(!1) : s.setContentType("multipart/form-data;", !1));
909
909
  let l = new XMLHttpRequest();
910
910
  if (e.auth) {
911
911
  const p = e.auth.username || "", m = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
@@ -916,7 +916,7 @@ const Aa = typeof XMLHttpRequest < "u", Fa = Aa && function(e) {
916
916
  function c() {
917
917
  if (!l)
918
918
  return;
919
- const p = _e.from(
919
+ const p = be.from(
920
920
  "getAllResponseHeaders" in l && l.getAllResponseHeaders()
921
921
  ), h = {
922
922
  data: !a || a === "text" || a === "json" ? l.responseText : l.response,
@@ -947,17 +947,17 @@ const Aa = typeof XMLHttpRequest < "u", Fa = Aa && function(e) {
947
947
  e,
948
948
  l
949
949
  )), l = null;
950
- }, he.isStandardBrowserEnv) {
950
+ }, pe.isStandardBrowserEnv) {
951
951
  const p = (e.withCredentials || $a(u)) && e.xsrfCookieName && Ca.read(e.xsrfCookieName);
952
952
  p && s.set(e.xsrfHeaderName, p);
953
953
  }
954
954
  r === void 0 && s.setContentType(null), "setRequestHeader" in l && v.forEach(s.toJSON(), function(m, h) {
955
955
  l.setRequestHeader(h, m);
956
956
  }), v.isUndefined(e.withCredentials) || (l.withCredentials = !!e.withCredentials), a && a !== "json" && (l.responseType = e.responseType), typeof e.onDownloadProgress == "function" && l.addEventListener("progress", ro(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && l.upload && l.upload.addEventListener("progress", ro(e.onUploadProgress)), (e.cancelToken || e.signal) && (i = (p) => {
957
- l && (o(!p || p.type ? new vt(null, e, l) : p), l.abort(), l = null);
957
+ l && (o(!p || p.type ? new gt(null, e, l) : p), l.abort(), l = null);
958
958
  }, e.cancelToken && e.cancelToken.subscribe(i), e.signal && (e.signal.aborted ? i() : e.signal.addEventListener("abort", i)));
959
959
  const f = La(u);
960
- if (f && he.protocols.indexOf(f) === -1) {
960
+ if (f && pe.protocols.indexOf(f) === -1) {
961
961
  o(new F("Unsupported protocol " + f + ":", F.ERR_BAD_REQUEST, e));
962
962
  return;
963
963
  }
@@ -998,10 +998,10 @@ const Ia = {
998
998
  };
999
999
  function an(e) {
1000
1000
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
1001
- throw new vt(null, e);
1001
+ throw new gt(null, e);
1002
1002
  }
1003
1003
  function so(e) {
1004
- return an(e), e.headers = _e.from(e.headers), e.data = sn.call(
1004
+ return an(e), e.headers = be.from(e.headers), e.data = sn.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), Ia.getAdapter(e.adapter || Fn.adapter)(e).then(function(o) {
@@ -1009,16 +1009,16 @@ function so(e) {
1009
1009
  e,
1010
1010
  e.transformResponse,
1011
1011
  o
1012
- ), o.headers = _e.from(o.headers), o;
1012
+ ), o.headers = be.from(o.headers), o;
1013
1013
  }, function(o) {
1014
1014
  return ar(o) || (an(e), o && o.response && (o.response.data = sn.call(
1015
1015
  e,
1016
1016
  e.transformResponse,
1017
1017
  o.response
1018
- ), o.response.headers = _e.from(o.response.headers))), Promise.reject(o);
1018
+ ), o.response.headers = be.from(o.response.headers))), Promise.reject(o);
1019
1019
  });
1020
1020
  }
1021
- const ao = (e) => e instanceof _e ? e.toJSON() : e;
1021
+ const ao = (e) => e instanceof be ? e.toJSON() : e;
1022
1022
  function ze(e, t) {
1023
1023
  t = t || {};
1024
1024
  const n = {};
@@ -1167,7 +1167,7 @@ class Lt {
1167
1167
  (m) => {
1168
1168
  delete s[m];
1169
1169
  }
1170
- ), n.headers = _e.concat(a, s);
1170
+ ), n.headers = be.concat(a, s);
1171
1171
  const i = [];
1172
1172
  let d = !0;
1173
1173
  this.interceptors.request.forEach(function(h) {
@@ -1260,7 +1260,7 @@ class Rn {
1260
1260
  o.unsubscribe(s);
1261
1261
  }, a;
1262
1262
  }, t(function(s, a, i) {
1263
- o.reason || (o.reason = new vt(s, a, i), n(o.reason));
1263
+ o.reason || (o.reason = new gt(s, a, i), n(o.reason));
1264
1264
  });
1265
1265
  }
1266
1266
  /**
@@ -1389,7 +1389,7 @@ function ur(e) {
1389
1389
  }
1390
1390
  const z = ur(Fn);
1391
1391
  z.Axios = Nt;
1392
- z.CanceledError = vt;
1392
+ z.CanceledError = gt;
1393
1393
  z.CancelToken = Da;
1394
1394
  z.isCancel = ar;
1395
1395
  z.VERSION = lr;
@@ -1402,7 +1402,7 @@ z.all = function(t) {
1402
1402
  z.spread = ja;
1403
1403
  z.isAxiosError = Ba;
1404
1404
  z.mergeConfig = ze;
1405
- z.AxiosHeaders = _e;
1405
+ z.AxiosHeaders = be;
1406
1406
  z.formToJSON = (e) => sr(v.isHTMLForm(e) ? new FormData(e) : e);
1407
1407
  z.HttpStatusCode = Ma;
1408
1408
  z.default = z;
@@ -1415,7 +1415,7 @@ const Ua = z, cr = Ua.create({
1415
1415
  });
1416
1416
  cr.interceptors.request.use((e) => (console.log(e), e), (e) => Promise.reject(e));
1417
1417
  cr.interceptors.response.use((e) => e.data, (e) => Promise.reject(new Error(e)));
1418
- const ln = "@", tt = window.localStorage, lo = {
1418
+ const ln = "@", nt = window.localStorage, lo = {
1419
1419
  number: {
1420
1420
  save: (e) => e,
1421
1421
  parse: (e) => Number.parseFloat(e)
@@ -1439,11 +1439,11 @@ function uo(e) {
1439
1439
  }
1440
1440
  const _t = {
1441
1441
  get(e) {
1442
- let t = tt.getItem(e);
1442
+ let t = nt.getItem(e);
1443
1443
  if (t) {
1444
1444
  let n = t.split("@"), o, r = Date.now();
1445
1445
  if (n.length > 2 && n[2] < r)
1446
- return tt.removeItem(e), null;
1446
+ return nt.removeItem(e), null;
1447
1447
  {
1448
1448
  let s = decodeURIComponent(n[1]);
1449
1449
  return o = uo(n[0]).parse(s), o;
@@ -1459,13 +1459,13 @@ const _t = {
1459
1459
  let s = n * 24 * 60 * 60 * 1e3 + (/* @__PURE__ */ new Date()).getTime();
1460
1460
  t = o + ln + encodeURIComponent(r.save(t)) + ln + s;
1461
1461
  }
1462
- tt.setItem(e, t);
1462
+ nt.setItem(e, t);
1463
1463
  },
1464
1464
  clear() {
1465
- tt.clear();
1465
+ nt.clear();
1466
1466
  },
1467
1467
  remove(e) {
1468
- tt.removeItem(e);
1468
+ nt.removeItem(e);
1469
1469
  }
1470
1470
  };
1471
1471
  var Ha = !1;
@@ -1530,7 +1530,7 @@ function Ja(...e) {
1530
1530
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
1531
1531
  const s = [], a = () => {
1532
1532
  s.forEach((u) => u()), s.length = 0;
1533
- }, i = (u, c, f, p) => (u.addEventListener(c, f, p), () => u.removeEventListener(c, f, p)), d = we(() => [dr(t), Dn(r)], ([u, c]) => {
1533
+ }, i = (u, c, f, p) => (u.addEventListener(c, f, p), () => u.removeEventListener(c, f, p)), d = _e(() => [dr(t), Dn(r)], ([u, c]) => {
1534
1534
  a(), u && s.push(...n.flatMap((f) => o.map((p) => i(u, f, p, c))));
1535
1535
  }, { immediate: !0, flush: "post" }), l = () => {
1536
1536
  d(), a();
@@ -1557,7 +1557,7 @@ function Za(e, t, n = {}) {
1557
1557
  let a;
1558
1558
  const i = Ka(() => r && "ResizeObserver" in r), d = () => {
1559
1559
  a && (a.disconnect(), a = void 0);
1560
- }, l = we(() => dr(e), (c) => {
1560
+ }, l = _e(() => dr(e), (c) => {
1561
1561
  d(), i.value && r && c && (a = new ResizeObserver(t), a.observe(c, s));
1562
1562
  }, { immediate: !0, flush: "post" }), u = () => {
1563
1563
  d(), l();
@@ -1622,16 +1622,16 @@ var fi = typeof self == "object" && self && self.Object === Object && self, pi =
1622
1622
  const Bn = pi;
1623
1623
  var hi = Bn.Symbol;
1624
1624
  const Ve = hi;
1625
- var hr = Object.prototype, mi = hr.hasOwnProperty, vi = hr.toString, nt = Ve ? Ve.toStringTag : void 0;
1625
+ var hr = Object.prototype, mi = hr.hasOwnProperty, vi = hr.toString, ot = Ve ? Ve.toStringTag : void 0;
1626
1626
  function gi(e) {
1627
- var t = mi.call(e, nt), n = e[nt];
1627
+ var t = mi.call(e, ot), n = e[ot];
1628
1628
  try {
1629
- e[nt] = void 0;
1629
+ e[ot] = void 0;
1630
1630
  var o = !0;
1631
1631
  } catch {
1632
1632
  }
1633
1633
  var r = vi.call(e);
1634
- return o && (t ? e[nt] = n : delete e[nt]), r;
1634
+ return o && (t ? e[ot] = n : delete e[ot]), r;
1635
1635
  }
1636
1636
  var yi = Object.prototype, bi = yi.toString;
1637
1637
  function _i(e) {
@@ -1727,9 +1727,9 @@ function Qi(e, t) {
1727
1727
  return n == "number" || n == "symbol" || n == "boolean" || e == null || Mn(e) ? !0 : Ki.test(e) || !Ji.test(e) || t != null && e in Object(t);
1728
1728
  }
1729
1729
  var Yi = yr(Object, "create");
1730
- const ct = Yi;
1730
+ const dt = Yi;
1731
1731
  function Xi() {
1732
- this.__data__ = ct ? ct(null) : {}, this.size = 0;
1732
+ this.__data__ = dt ? dt(null) : {}, this.size = 0;
1733
1733
  }
1734
1734
  function Zi(e) {
1735
1735
  var t = this.has(e) && delete this.__data__[e];
@@ -1738,7 +1738,7 @@ function Zi(e) {
1738
1738
  var el = "__lodash_hash_undefined__", tl = Object.prototype, nl = tl.hasOwnProperty;
1739
1739
  function ol(e) {
1740
1740
  var t = this.__data__;
1741
- if (ct) {
1741
+ if (dt) {
1742
1742
  var n = t[e];
1743
1743
  return n === el ? void 0 : n;
1744
1744
  }
@@ -1747,12 +1747,12 @@ function ol(e) {
1747
1747
  var rl = Object.prototype, sl = rl.hasOwnProperty;
1748
1748
  function al(e) {
1749
1749
  var t = this.__data__;
1750
- return ct ? t[e] !== void 0 : sl.call(t, e);
1750
+ return dt ? t[e] !== void 0 : sl.call(t, e);
1751
1751
  }
1752
1752
  var il = "__lodash_hash_undefined__";
1753
1753
  function ll(e, t) {
1754
1754
  var n = this.__data__;
1755
- return this.size += this.has(e) ? 0 : 1, n[e] = ct && t === void 0 ? il : t, this;
1755
+ return this.size += this.has(e) ? 0 : 1, n[e] = dt && t === void 0 ? il : t, this;
1756
1756
  }
1757
1757
  function ke(e) {
1758
1758
  var t = -1, n = e == null ? 0 : e.length;
@@ -1907,7 +1907,7 @@ function Dl(e) {
1907
1907
  }
1908
1908
  return o;
1909
1909
  }
1910
- const jl = (e) => e === void 0, dt = (e) => typeof e == "number", Bl = (e) => typeof Element > "u" ? !1 : e instanceof Element, Ml = (e) => Le(e) ? !Number.isNaN(Number(e)) : !1, So = (e) => Object.keys(e);
1910
+ const jl = (e) => e === void 0, ft = (e) => typeof e == "number", Bl = (e) => typeof Element > "u" ? !1 : e instanceof Element, Ml = (e) => Le(e) ? !Number.isNaN(Number(e)) : !1, So = (e) => Object.keys(e);
1911
1911
  class Ul extends Error {
1912
1912
  constructor(t) {
1913
1913
  super(t), this.name = "ElementPlusError";
@@ -1923,7 +1923,7 @@ const Hl = "utils/dom/style", br = (e = "") => e.split(" ").filter((t) => !!t.tr
1923
1923
  !e || !t.trim() || e.classList.add(...br(t));
1924
1924
  }, kt = (e, t) => {
1925
1925
  !e || !t.trim() || e.classList.remove(...br(t));
1926
- }, ot = (e, t) => {
1926
+ }, rt = (e, t) => {
1927
1927
  var n;
1928
1928
  if (!Re || !e || !t)
1929
1929
  return "";
@@ -1942,14 +1942,14 @@ const Hl = "utils/dom/style", br = (e = "") => e.split(" ").filter((t) => !!t.tr
1942
1942
  function zl(e, t = "px") {
1943
1943
  if (!e)
1944
1944
  return "";
1945
- if (dt(e) || Ml(e))
1945
+ if (ft(e) || Ml(e))
1946
1946
  return `${e}${t}`;
1947
1947
  if (Le(e))
1948
1948
  return e;
1949
1949
  zn(Hl, "binding value must be a string or number");
1950
1950
  }
1951
1951
  /*! Element Plus Icons Vue v2.1.0 */
1952
- var gt = (e, t) => {
1952
+ var yt = (e, t) => {
1953
1953
  let n = e.__vccOpts || e;
1954
1954
  for (let [o, r] of t)
1955
1955
  n[o] = r;
@@ -1974,7 +1974,7 @@ var gt = (e, t) => {
1974
1974
  function Jl(e, t, n, o, r, s) {
1975
1975
  return O(), k("svg", ql, Gl);
1976
1976
  }
1977
- var _r = /* @__PURE__ */ gt(Vl, [["render", Jl], ["__file", "circle-close-filled.vue"]]), Kl = {
1977
+ var _r = /* @__PURE__ */ yt(Vl, [["render", Jl], ["__file", "circle-close-filled.vue"]]), Kl = {
1978
1978
  name: "Close"
1979
1979
  }, Ql = {
1980
1980
  xmlns: "http://www.w3.org/2000/svg",
@@ -1994,7 +1994,7 @@ var _r = /* @__PURE__ */ gt(Vl, [["render", Jl], ["__file", "circle-close-filled
1994
1994
  function Zl(e, t, n, o, r, s) {
1995
1995
  return O(), k("svg", Ql, Xl);
1996
1996
  }
1997
- var eu = /* @__PURE__ */ gt(Kl, [["render", Zl], ["__file", "close.vue"]]), tu = {
1997
+ var eu = /* @__PURE__ */ yt(Kl, [["render", Zl], ["__file", "close.vue"]]), tu = {
1998
1998
  name: "InfoFilled"
1999
1999
  }, nu = {
2000
2000
  xmlns: "http://www.w3.org/2000/svg",
@@ -2014,7 +2014,7 @@ var eu = /* @__PURE__ */ gt(Kl, [["render", Zl], ["__file", "close.vue"]]), tu =
2014
2014
  function su(e, t, n, o, r, s) {
2015
2015
  return O(), k("svg", nu, ru);
2016
2016
  }
2017
- var wr = /* @__PURE__ */ gt(tu, [["render", su], ["__file", "info-filled.vue"]]), au = {
2017
+ var wr = /* @__PURE__ */ yt(tu, [["render", su], ["__file", "info-filled.vue"]]), au = {
2018
2018
  name: "SuccessFilled"
2019
2019
  }, iu = {
2020
2020
  xmlns: "http://www.w3.org/2000/svg",
@@ -2034,7 +2034,7 @@ var wr = /* @__PURE__ */ gt(tu, [["render", su], ["__file", "info-filled.vue"]])
2034
2034
  function cu(e, t, n, o, r, s) {
2035
2035
  return O(), k("svg", iu, uu);
2036
2036
  }
2037
- var Er = /* @__PURE__ */ gt(au, [["render", cu], ["__file", "success-filled.vue"]]), du = {
2037
+ var Er = /* @__PURE__ */ yt(au, [["render", cu], ["__file", "success-filled.vue"]]), du = {
2038
2038
  name: "WarningFilled"
2039
2039
  }, fu = {
2040
2040
  xmlns: "http://www.w3.org/2000/svg",
@@ -2054,7 +2054,7 @@ var Er = /* @__PURE__ */ gt(au, [["render", cu], ["__file", "success-filled.vue"
2054
2054
  function mu(e, t, n, o, r, s) {
2055
2055
  return O(), k("svg", fu, hu);
2056
2056
  }
2057
- var Sr = /* @__PURE__ */ gt(du, [["render", mu], ["__file", "warning-filled.vue"]]);
2057
+ var Sr = /* @__PURE__ */ yt(du, [["render", mu], ["__file", "warning-filled.vue"]]);
2058
2058
  const xr = "__epPropKey", Se = (e) => e, vu = (e) => Vt(e) && !!e[xr], Or = (e, t) => {
2059
2059
  if (!Vt(e) || vu(e))
2060
2060
  return e;
@@ -2331,7 +2331,7 @@ const xu = (e) => (t, n) => Ou(t, n, $(e)), Ou = (e, t, n) => Rl(n, e, e).replac
2331
2331
  }, Po = C(0), Nr = 2e3, $r = Symbol("zIndexContextKey"), $u = (e) => {
2332
2332
  const t = e || (Ge() ? V($r, void 0) : void 0), n = E(() => {
2333
2333
  const s = $(t);
2334
- return dt(s) ? s : Nr;
2334
+ return ft(s) ? s : Nr;
2335
2335
  }), o = E(() => n.value + Po.value);
2336
2336
  return {
2337
2337
  initialZIndex: n,
@@ -2423,7 +2423,7 @@ M({
2423
2423
  name: "ElConfigProvider",
2424
2424
  props: Fu,
2425
2425
  setup(e, { slots: t }) {
2426
- we(() => e.message, (o) => {
2426
+ _e(() => e.message, (o) => {
2427
2427
  Object.assign(_n, o ?? {});
2428
2428
  }, { immediate: !0, deep: !0 });
2429
2429
  const n = Fr(e);
@@ -2488,11 +2488,11 @@ const Co = Pr(ju), Bu = Gt({
2488
2488
  ...Uu,
2489
2489
  props: Bu,
2490
2490
  setup(e, { expose: t }) {
2491
- const n = e, o = Vn("badge"), r = E(() => n.isDot ? "" : dt(n.value) && dt(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`);
2491
+ const n = e, o = Vn("badge"), r = E(() => n.isDot ? "" : ft(n.value) && ft(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`);
2492
2492
  return t({
2493
2493
  content: r
2494
2494
  }), (s, a) => (O(), k("div", {
2495
- class: ge($(o).b())
2495
+ class: ve($(o).b())
2496
2496
  }, [
2497
2497
  It(s.$slots, "default"),
2498
2498
  Y(Rt, {
@@ -2501,7 +2501,7 @@ const Co = Pr(ju), Bu = Gt({
2501
2501
  }, {
2502
2502
  default: oe(() => [
2503
2503
  Te(g("sup", {
2504
- class: ge([
2504
+ class: ve([
2505
2505
  $(o).e("content"),
2506
2506
  $(o).em("content", s.type),
2507
2507
  $(o).is("fixed", !!s.$slots.default),
@@ -2645,17 +2645,17 @@ const wn = function(e = {}) {
2645
2645
  }, Gu = async (e, t, n) => {
2646
2646
  const { nextZIndex: o } = n.vm.zIndex || n.vm._.exposed.zIndex, r = {};
2647
2647
  if (e.fullscreen)
2648
- n.originalPosition.value = ot(document.body, "position"), n.originalOverflow.value = ot(document.body, "overflow"), r.zIndex = o();
2648
+ n.originalPosition.value = rt(document.body, "position"), n.originalOverflow.value = rt(document.body, "overflow"), r.zIndex = o();
2649
2649
  else if (e.parent === document.body) {
2650
- n.originalPosition.value = ot(document.body, "position"), await He();
2650
+ n.originalPosition.value = rt(document.body, "position"), await He();
2651
2651
  for (const s of ["top", "left"]) {
2652
2652
  const a = s === "top" ? "scrollTop" : "scrollLeft";
2653
- r[s] = `${e.target.getBoundingClientRect()[s] + document.body[a] + document.documentElement[a] - Number.parseInt(ot(document.body, `margin-${s}`), 10)}px`;
2653
+ r[s] = `${e.target.getBoundingClientRect()[s] + document.body[a] + document.documentElement[a] - Number.parseInt(rt(document.body, `margin-${s}`), 10)}px`;
2654
2654
  }
2655
2655
  for (const s of ["height", "width"])
2656
2656
  r[s] = `${e.target.getBoundingClientRect()[s]}px`;
2657
2657
  } else
2658
- n.originalPosition.value = ot(t, "position");
2658
+ n.originalPosition.value = rt(t, "position");
2659
2659
  for (const [s, a] of Object.entries(r))
2660
2660
  n.$el.style[s] = a;
2661
2661
  }, To = (e, t, n) => {
@@ -2822,7 +2822,7 @@ const wn = function(e = {}) {
2822
2822
  }
2823
2823
  return J(() => {
2824
2824
  T(), i(), l.value = !0;
2825
- }), we(() => n.repeatNum, () => {
2825
+ }), _e(() => n.repeatNum, () => {
2826
2826
  A(), T();
2827
2827
  }), Ja(document, "keydown", N), Za(d, () => {
2828
2828
  u.value = d.value.getBoundingClientRect().height;
@@ -2841,7 +2841,7 @@ const wn = function(e = {}) {
2841
2841
  id: y.id,
2842
2842
  ref_key: "messageRef",
2843
2843
  ref: d,
2844
- class: ge([
2844
+ class: ve([
2845
2845
  $(r).b(),
2846
2846
  { [$(r).m(y.type)]: y.type && !y.icon },
2847
2847
  $(r).is("center", y.center),
@@ -2857,11 +2857,11 @@ const wn = function(e = {}) {
2857
2857
  key: 0,
2858
2858
  value: y.repeatNum,
2859
2859
  type: $(f),
2860
- class: ge($(r).e("badge"))
2860
+ class: ve($(r).e("badge"))
2861
2861
  }, null, 8, ["value", "type", "class"])) : B("v-if", !0),
2862
2862
  $(m) ? (O(), re($(Co), {
2863
2863
  key: 1,
2864
- class: ge([$(r).e("icon"), $(p)])
2864
+ class: ve([$(r).e("icon"), $(p)])
2865
2865
  }, {
2866
2866
  default: oe(() => [
2867
2867
  (O(), re(ys($(m))))
@@ -2869,20 +2869,20 @@ const wn = function(e = {}) {
2869
2869
  _: 1
2870
2870
  }, 8, ["class"])) : B("v-if", !0),
2871
2871
  It(y.$slots, "default", {}, () => [
2872
- y.dangerouslyUseHTMLString ? (O(), k(be, { key: 1 }, [
2872
+ y.dangerouslyUseHTMLString ? (O(), k(ye, { key: 1 }, [
2873
2873
  B(" Caution here, message could've been compromised, never use user's input as message "),
2874
2874
  g("p", {
2875
- class: ge($(r).e("content")),
2875
+ class: ve($(r).e("content")),
2876
2876
  innerHTML: y.message
2877
2877
  }, null, 10, tc)
2878
2878
  ], 2112)) : (O(), k("p", {
2879
2879
  key: 0,
2880
- class: ge($(r).e("content"))
2880
+ class: ve($(r).e("content"))
2881
2881
  }, W(y.message), 3))
2882
2882
  ]),
2883
2883
  y.showClose ? (O(), re($(Co), {
2884
2884
  key: 2,
2885
- class: ge($(r).e("closeBtn")),
2885
+ class: ve($(r).e("closeBtn")),
2886
2886
  onClick: bs(w, ["stop"])
2887
2887
  }, {
2888
2888
  default: oe(() => [
@@ -2949,7 +2949,7 @@ const Rr = (e) => {
2949
2949
  if (!Re)
2950
2950
  return { close: () => {
2951
2951
  } };
2952
- if (dt(_n.max) && se.length >= _n.max)
2952
+ if (ft(_n.max) && se.length >= _n.max)
2953
2953
  return { close: () => {
2954
2954
  } };
2955
2955
  const n = Rr(e);
@@ -2977,12 +2977,12 @@ function lc(e) {
2977
2977
  qe.closeAll = lc;
2978
2978
  qe._context = null;
2979
2979
  const St = bu(qe, "$message");
2980
- function yt() {
2980
+ function Qe() {
2981
2981
  let e = "";
2982
2982
  return typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (e = app_config.base_url || ""), e;
2983
2983
  }
2984
2984
  function uc() {
2985
- const e = jr(), t = yt();
2985
+ const e = jr(), t = Qe();
2986
2986
  return e.product ? e.product : t ? t.slice(1) : location.href.indexOf("convert") != -1 ? "convert" : location.href.indexOf("translate") != -1 ? "translate" : "recorder";
2987
2987
  }
2988
2988
  function Dr(e, t) {
@@ -2999,7 +2999,7 @@ function jr() {
2999
2999
  t = o[n].split("="), e[decodeURIComponent(t[0])] = t.length > 1 ? decodeURIComponent(t[1]) : "";
3000
3000
  return e;
3001
3001
  }
3002
- function Qe({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
3002
+ function Ye({ url: e, data: t = null, method: n = "GET", headers: o = null, cacheKey: r, cacheTime: s }) {
3003
3003
  try {
3004
3004
  var a = new AbortController(), i = a.signal;
3005
3005
  } catch {
@@ -3025,20 +3025,20 @@ function Qe({ url: e, data: t = null, method: n = "GET", headers: o = null, cach
3025
3025
  });
3026
3026
  return Promise.race([u(), fetch(e, l).then((c) => c.json())]).then((c) => (console.log(c), c.success == !0 || c.ok === 0 || c.code == 0 ? (r && (s ? _t.put(r, c.data, s) : _t.put(r, c.data)), (c.message || c.message == 0) && (window.g_message = c.message), Promise.resolve(c.data)) : c && c.image || c && c.GOOGLE_ACCESS_TOKEN ? (r && (s ? _t.put(r, c, s) : _t.put(r, c)), Promise.resolve(c)) : c.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : Promise.reject(c.message || c.msg && c || "failed, please check your network and try again"))).catch((c) => Promise.reject(c));
3027
3027
  }
3028
- let Ye = yt();
3028
+ let Xe = Qe();
3029
3029
  function Lo(e = !1) {
3030
3030
  const t = {
3031
3031
  "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
3032
3032
  };
3033
- let n = Ye + "/api/user/status";
3034
- return e && (n += "?drive=1"), Qe({
3033
+ let n = Xe + "/api/user/status";
3034
+ return e && (n += "?drive=1"), Ye({
3035
3035
  url: n,
3036
3036
  method: "POST",
3037
3037
  headers: t
3038
3038
  });
3039
3039
  }
3040
- const cc = (e) => Qe({
3041
- url: Ye + "/api/user/active-passport",
3040
+ const cc = (e) => Ye({
3041
+ url: Xe + "/api/user/active-passport",
3042
3042
  data: {
3043
3043
  passport: e
3044
3044
  },
@@ -3048,8 +3048,8 @@ const cc = (e) => Qe({
3048
3048
  }
3049
3049
  });
3050
3050
  function dc(e) {
3051
- return Qe({
3052
- url: Ye + "/api/user/facebooklogin",
3051
+ return Ye({
3052
+ url: Xe + "/api/user/facebooklogin",
3053
3053
  data: {
3054
3054
  token: e
3055
3055
  },
@@ -3060,8 +3060,8 @@ function dc(e) {
3060
3060
  });
3061
3061
  }
3062
3062
  function Br(e) {
3063
- return Qe({
3064
- url: Ye + "/api/user/google",
3063
+ return Ye({
3064
+ url: Xe + "/api/user/google",
3065
3065
  data: {
3066
3066
  token: e
3067
3067
  },
@@ -3072,8 +3072,8 @@ function Br(e) {
3072
3072
  });
3073
3073
  }
3074
3074
  function fc(e, t) {
3075
- return Qe({
3076
- url: Ye + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
3075
+ return Ye({
3076
+ url: Xe + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
3077
3077
  // data: {
3078
3078
  // email,
3079
3079
  // password
@@ -3082,8 +3082,8 @@ function fc(e, t) {
3082
3082
  });
3083
3083
  }
3084
3084
  function pc(e, t, n) {
3085
- return Qe({
3086
- url: Ye + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
3085
+ return Ye({
3086
+ url: Xe + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
3087
3087
  // data: {
3088
3088
  // email,
3089
3089
  // username,
@@ -3143,7 +3143,7 @@ function dn({ props: e, attrs: t, slots: n, slot: o, name: r }) {
3143
3143
  return j(i, Object.assign({}, d, u), { default: () => l });
3144
3144
  }
3145
3145
  function Mr(e) {
3146
- return e.flatMap((t) => t.type === be ? Mr(t.children) : [t]);
3146
+ return e.flatMap((t) => t.type === ye ? Mr(t.children) : [t]);
3147
3147
  }
3148
3148
  function Ur(...e) {
3149
3149
  if (e.length === 0)
@@ -3183,7 +3183,7 @@ function yc() {
3183
3183
  function ne() {
3184
3184
  return yc();
3185
3185
  }
3186
- var ye = ((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))(ye || {});
3186
+ var ge = ((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))(ge || {});
3187
3187
  function x(e) {
3188
3188
  var t;
3189
3189
  return e == null || e.value == null ? null : (t = e.value.$el) != null ? t : e.value;
@@ -3237,7 +3237,7 @@ class Sc {
3237
3237
  }
3238
3238
  }
3239
3239
  let Jt = new Sc();
3240
- function ve(e) {
3240
+ function me(e) {
3241
3241
  if (Jt.isServer)
3242
3242
  return null;
3243
3243
  if (e instanceof Node)
@@ -3250,14 +3250,14 @@ function ve(e) {
3250
3250
  return document;
3251
3251
  }
3252
3252
  let Sn = ["[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(",");
3253
- var G = ((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))(G || {}), ft = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(ft || {}), xc = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(xc || {});
3253
+ var G = ((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))(G || {}), pt = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(pt || {}), xc = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(xc || {});
3254
3254
  function Kt(e = document.body) {
3255
3255
  return e == null ? [] : Array.from(e.querySelectorAll(Sn)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
3256
3256
  }
3257
3257
  var Gn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Gn || {});
3258
3258
  function zr(e, t = 0) {
3259
3259
  var n;
3260
- return e === ((n = ve(e)) == null ? void 0 : n.body) ? !1 : Z(t, { [0]() {
3260
+ return e === ((n = me(e)) == null ? void 0 : n.body) ? !1 : Z(t, { [0]() {
3261
3261
  return e.matches(Sn);
3262
3262
  }, [1]() {
3263
3263
  let o = e;
@@ -3446,10 +3446,10 @@ function Jr(e) {
3446
3446
  return t;
3447
3447
  }
3448
3448
  var Kr = ((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))(Kr || {});
3449
- let rt = Object.assign(M({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: C(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
3449
+ let st = Object.assign(M({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: C(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
3450
3450
  let r = C(null);
3451
3451
  o({ el: r, $el: r });
3452
- let s = E(() => ve(r)), a = C(!1);
3452
+ let s = E(() => me(r)), a = C(!1);
3453
3453
  J(() => a.value = !0), le(() => a.value = !1), kc({ ownerDocument: s }, E(() => a.value && !!(e.features & 16)));
3454
3454
  let i = Ac({ ownerDocument: s, container: r, initialFocus: E(() => e.initialFocus) }, E(() => a.value && !!(e.features & 2)));
3455
3455
  Fc({ ownerDocument: s, container: r, containers: e.containers, previousActiveElement: i }, E(() => a.value && !!(e.features & 8)));
@@ -3480,7 +3480,7 @@ let rt = Object.assign(M({ name: "FocusTrap", props: { as: { type: [Object, Stri
3480
3480
  }
3481
3481
  return () => {
3482
3482
  let p = {}, m = { ref: r, onKeydown: c, onFocusout: f }, { features: h, initialFocus: b, containers: _, ...L } = e;
3483
- return j(be, [!!(h & 4) && j(We, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Fe.Focusable }), K({ ourProps: m, theirProps: { ...t, ...L }, slot: p, attrs: t, slots: n, name: "FocusTrap" }), !!(h & 4) && j(We, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Fe.Focusable })]);
3483
+ return j(ye, [!!(h & 4) && j(We, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Fe.Focusable }), K({ ourProps: m, theirProps: { ...t, ...L }, slot: p, attrs: t, slots: n, name: "FocusTrap" }), !!(h & 4) && j(We, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: Fe.Focusable })]);
3484
3484
  };
3485
3485
  } }), { features: Kr }), Pe = [];
3486
3486
  $c(() => {
@@ -3491,7 +3491,7 @@ $c(() => {
3491
3491
  });
3492
3492
  function Lc(e) {
3493
3493
  let t = C(Pe.slice());
3494
- return we([e], ([n], [o]) => {
3494
+ return _e([e], ([n], [o]) => {
3495
3495
  o === !0 && n === !1 ? Gr(() => {
3496
3496
  t.value.splice(0);
3497
3497
  }) : o === !1 && n === !0 && (t.value = Pe.slice());
@@ -3514,7 +3514,7 @@ function kc({ ownerDocument: e }, t) {
3514
3514
  function Ac({ ownerDocument: e, container: t, initialFocus: n }, o) {
3515
3515
  let r = C(null), s = C(!1);
3516
3516
  return J(() => s.value = !0), le(() => s.value = !1), J(() => {
3517
- we([t, n, o], (a, i) => {
3517
+ _e([t, n, o], (a, i) => {
3518
3518
  if (a.every((l, u) => (i == null ? void 0 : i[u]) === l) || !o.value)
3519
3519
  return;
3520
3520
  let d = x(t);
@@ -3532,7 +3532,7 @@ function Ac({ ownerDocument: e, container: t, initialFocus: n }, o) {
3532
3532
  r.value = f;
3533
3533
  return;
3534
3534
  }
3535
- c ? Ne(c) : ie(d, G.First | G.NoScroll) === ft.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
3535
+ c ? Ne(c) : ie(d, G.First | G.NoScroll) === pt.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), r.value = (u = e.value) == null ? void 0 : u.activeElement;
3536
3536
  });
3537
3537
  }, { immediate: !0, flush: "post" });
3538
3538
  }), r;
@@ -3557,7 +3557,7 @@ function Qr(e, t) {
3557
3557
  return !0;
3558
3558
  return !1;
3559
3559
  }
3560
- let fn = /* @__PURE__ */ new Map(), st = /* @__PURE__ */ new Map();
3560
+ let fn = /* @__PURE__ */ new Map(), at = /* @__PURE__ */ new Map();
3561
3561
  function Io(e, t = C(!0)) {
3562
3562
  ce((n) => {
3563
3563
  var o;
@@ -3570,14 +3570,14 @@ function Io(e, t = C(!0)) {
3570
3570
  var a;
3571
3571
  if (!r)
3572
3572
  return;
3573
- let i = (a = st.get(r)) != null ? a : 1;
3574
- if (i === 1 ? st.delete(r) : st.set(r, i - 1), i !== 1)
3573
+ let i = (a = at.get(r)) != null ? a : 1;
3574
+ if (i === 1 ? at.delete(r) : at.set(r, i - 1), i !== 1)
3575
3575
  return;
3576
3576
  let d = fn.get(r);
3577
3577
  d && (d["aria-hidden"] === null ? r.removeAttribute("aria-hidden") : r.setAttribute("aria-hidden", d["aria-hidden"]), r.inert = d.inert, fn.delete(r));
3578
3578
  });
3579
- let s = (o = st.get(r)) != null ? o : 0;
3580
- st.set(r, s + 1), s === 0 && (fn.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0);
3579
+ let s = (o = at.get(r)) != null ? o : 0;
3580
+ at.set(r, s + 1), s === 0 && (fn.set(r, { "aria-hidden": r.getAttribute("aria-hidden"), inert: r.inert }), r.setAttribute("aria-hidden", "true"), r.inert = !0);
3581
3581
  });
3582
3582
  }
3583
3583
  let Yr = Symbol("ForcePortalRootContext");
@@ -3591,7 +3591,7 @@ let xn = M({ name: "ForcePortalRoot", props: { as: { type: [Object, String], def
3591
3591
  };
3592
3592
  } });
3593
3593
  function Rc(e) {
3594
- let t = ve(e);
3594
+ let t = me(e);
3595
3595
  if (!t) {
3596
3596
  if (e === null)
3597
3597
  return null;
@@ -3604,7 +3604,7 @@ function Rc(e) {
3604
3604
  return o.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(o);
3605
3605
  }
3606
3606
  let Xr = M({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
3607
- let o = C(null), r = E(() => ve(o)), s = Ic(), a = V(es, null), i = C(s === !0 || a == null ? Rc(o.value) : a.resolveTarget());
3607
+ let o = C(null), r = E(() => me(o)), s = Ic(), a = V(es, null), i = C(s === !0 || a == null ? Rc(o.value) : a.resolveTarget());
3608
3608
  ce(() => {
3609
3609
  s || a != null && (i.value = a.resolveTarget());
3610
3610
  });
@@ -3660,7 +3660,7 @@ function Bc({ type: e, enabled: t, element: n, onUpdate: o }) {
3660
3660
  o == null || o(...a), r(...a);
3661
3661
  }
3662
3662
  J(() => {
3663
- we(t, (a, i) => {
3663
+ _e(t, (a, i) => {
3664
3664
  a ? s(0, e, n) : i === !0 && s(1, e, n);
3665
3665
  }, { immediate: !0, flush: "sync" });
3666
3666
  }), le(() => {
@@ -3788,7 +3788,7 @@ function Jc(e, t, n) {
3788
3788
  let s = e.value ? o.value.get(e.value) : void 0;
3789
3789
  return s ? s.count > 0 : !1;
3790
3790
  });
3791
- return we([e, t], ([s, a], [i], d) => {
3791
+ return _e([e, t], ([s, a], [i], d) => {
3792
3792
  if (!s || !a)
3793
3793
  return;
3794
3794
  Ce.dispatch("PUSH", s, n);
@@ -3799,7 +3799,7 @@ function Jc(e, t, n) {
3799
3799
  }, { immediate: !0 }), r;
3800
3800
  }
3801
3801
  function os({ defaultContainers: e = [], portals: t } = {}) {
3802
- let n = C(null), o = ve(n);
3802
+ let n = C(null), o = me(n);
3803
3803
  function r() {
3804
3804
  var s;
3805
3805
  let a = [];
@@ -3834,7 +3834,7 @@ let xt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Qc = M({ name: "Dialog", inheri
3834
3834
  J(() => {
3835
3835
  a.value = !0;
3836
3836
  });
3837
- let i = C(0), d = Wn(), l = E(() => e.open === xt && d !== null ? (d.value & ae.Open) === ae.Open : e.open), u = C(null), c = E(() => ve(u));
3837
+ let i = C(0), d = Wn(), l = E(() => e.open === xt && d !== null ? (d.value & ae.Open) === ae.Open : e.open), u = C(null), c = E(() => me(u));
3838
3838
  if (r({ el: u, $el: u }), !(e.open !== xt || d !== null))
3839
3839
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
3840
3840
  if (typeof l.value != "boolean")
@@ -3843,13 +3843,13 @@ let xt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Qc = M({ name: "Dialog", inheri
3843
3843
  var I;
3844
3844
  return (I = U.panelRef.value) != null ? I : u.value;
3845
3845
  })] }), w = E(() => m.value ? "parent" : "leaf"), N = E(() => d !== null ? (d.value & ae.Closing) === ae.Closing : !1), y = E(() => h || N.value ? !1 : p.value), H = E(() => {
3846
- var I, R, fe;
3847
- return (fe = Array.from((R = (I = c.value) == null ? void 0 : I.querySelectorAll("body > *")) != null ? R : []).find((pe) => pe.id === "headlessui-portal-root" ? !1 : pe.contains(x(T)) && pe instanceof HTMLElement)) != null ? fe : null;
3846
+ var I, R, de;
3847
+ return (de = Array.from((R = (I = c.value) == null ? void 0 : I.querySelectorAll("body > *")) != null ? R : []).find((fe) => fe.id === "headlessui-portal-root" ? !1 : fe.contains(x(T)) && fe instanceof HTMLElement)) != null ? de : null;
3848
3848
  });
3849
3849
  Io(H, y);
3850
3850
  let q = E(() => m.value ? !0 : p.value), P = E(() => {
3851
- var I, R, fe;
3852
- return (fe = Array.from((R = (I = c.value) == null ? void 0 : I.querySelectorAll("[data-headlessui-portal]")) != null ? R : []).find((pe) => pe.contains(x(T)) && pe instanceof HTMLElement)) != null ? fe : null;
3851
+ var I, R, de;
3852
+ return (de = Array.from((R = (I = c.value) == null ? void 0 : I.querySelectorAll("[data-headlessui-portal]")) != null ? R : []).find((fe) => fe.contains(x(T)) && fe instanceof HTMLElement)) != null ? de : null;
3853
3853
  });
3854
3854
  Io(P, q), Bc({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (I, R) => {
3855
3855
  if (R === "Dialog")
@@ -3867,7 +3867,7 @@ let xt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Qc = M({ name: "Dialog", inheri
3867
3867
  }, xe);
3868
3868
  let Yt = E(() => !(m.value || f.value !== 0));
3869
3869
  Kn((s = c.value) == null ? void 0 : s.defaultView, "keydown", (I) => {
3870
- Yt.value && (I.defaultPrevented || I.key === ye.Escape && (I.preventDefault(), I.stopPropagation(), U.close()));
3870
+ Yt.value && (I.defaultPrevented || I.key === ge.Escape && (I.preventDefault(), I.stopPropagation(), U.close()));
3871
3871
  });
3872
3872
  let Xt = E(() => !(N.value || f.value !== 0 || h));
3873
3873
  return Jc(c, Xt, (I) => {
@@ -3879,16 +3879,16 @@ let xt = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", Qc = M({ name: "Dialog", inheri
3879
3879
  let R = x(u);
3880
3880
  if (!R)
3881
3881
  return;
3882
- let fe = new ResizeObserver((pe) => {
3883
- for (let Zt of pe) {
3882
+ let de = new ResizeObserver((fe) => {
3883
+ for (let Zt of fe) {
3884
3884
  let Be = Zt.target.getBoundingClientRect();
3885
3885
  Be.x === 0 && Be.y === 0 && Be.width === 0 && Be.height === 0 && U.close();
3886
3886
  }
3887
3887
  });
3888
- fe.observe(R), I(() => fe.disconnect());
3888
+ de.observe(R), I(() => de.disconnect());
3889
3889
  }), () => {
3890
- let { id: I, open: R, initialFocus: fe, ...pe } = e, Zt = { ...n, ref: u, id: I, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": D.value, "aria-describedby": S.value }, Be = { open: f.value === 0 };
3891
- return j(xn, { force: !0 }, () => [j(Xr, () => j(Dc, { target: u.value }, () => j(xn, { force: !1 }, () => j(rt, { initialFocus: fe, containers: L, features: p.value ? Z(w.value, { parent: rt.features.RestoreFocus, leaf: rt.features.All & ~rt.features.FocusLock }) : rt.features.None }, () => j(_, {}, () => K({ ourProps: Zt, theirProps: { ...pe, ...n }, slot: Be, attrs: n, slots: o, visible: f.value === 0, features: Ae.RenderStrategy | Ae.Static, name: "Dialog" })))))), j(A)]);
3890
+ let { id: I, open: R, initialFocus: de, ...fe } = e, Zt = { ...n, ref: u, id: I, role: "dialog", "aria-modal": f.value === 0 ? !0 : void 0, "aria-labelledby": D.value, "aria-describedby": S.value }, Be = { open: f.value === 0 };
3891
+ return j(xn, { force: !0 }, () => [j(Xr, () => j(Dc, { target: u.value }, () => j(xn, { force: !1 }, () => j(st, { initialFocus: de, containers: L, features: p.value ? Z(w.value, { parent: st.features.RestoreFocus, leaf: st.features.All & ~st.features.FocusLock }) : st.features.None }, () => j(_, {}, () => K({ ourProps: Zt, theirProps: { ...fe, ...n }, slot: Be, attrs: n, slots: o, visible: f.value === 0, features: Ae.RenderStrategy | Ae.Static, name: "Dialog" })))))), j(A)]);
3892
3892
  };
3893
3893
  } });
3894
3894
  M({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${ne()}` } }, setup(e, { attrs: t, slots: n }) {
@@ -3953,7 +3953,7 @@ let ls = M({ name: "Popover", props: { as: { type: [Object, String], default: "d
3953
3953
  var r;
3954
3954
  let s = C(null);
3955
3955
  o({ el: s, $el: s });
3956
- let a = C(1), i = C(null), d = C(null), l = C(null), u = C(null), c = E(() => ve(s)), f = E(() => {
3956
+ let a = C(1), i = C(null), d = C(null), l = C(null), u = C(null), c = E(() => me(s)), f = E(() => {
3957
3957
  var w, N;
3958
3958
  if (!x(i) || !x(u))
3959
3959
  return !1;
@@ -3990,7 +3990,7 @@ let ls = M({ name: "Popover", props: { as: { type: [Object, String], default: "d
3990
3990
  return j(L, {}, () => K({ theirProps: { ...e, ...n }, ourProps: { ref: s }, slot: w, slots: t, attrs: n, name: "Popover" }));
3991
3991
  };
3992
3992
  } }), ed = M({ name: "PopoverButton", props: { as: { type: [Object, String], default: "button" }, disabled: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-popover-button-${ne()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
3993
- let r = Qt("PopoverButton"), s = E(() => ve(r.button));
3993
+ let r = Qt("PopoverButton"), s = E(() => me(r.button));
3994
3994
  o({ el: r.button, $el: r.button }), J(() => {
3995
3995
  r.buttonId.value = e.id;
3996
3996
  }), le(() => {
@@ -4007,18 +4007,18 @@ let ls = M({ name: "Popover", props: { as: { type: [Object, String], default: "d
4007
4007
  if (r.popoverState.value === 1)
4008
4008
  return;
4009
4009
  switch (T.key) {
4010
- case ye.Space:
4011
- case ye.Enter:
4010
+ case ge.Space:
4011
+ case ge.Enter:
4012
4012
  T.preventDefault(), (w = (A = T.target).click) == null || w.call(A), r.closePopover(), (N = x(r.button)) == null || N.focus();
4013
4013
  break;
4014
4014
  }
4015
4015
  } else
4016
4016
  switch (T.key) {
4017
- case ye.Space:
4018
- case ye.Enter:
4017
+ case ge.Space:
4018
+ case ge.Enter:
4019
4019
  T.preventDefault(), T.stopPropagation(), r.popoverState.value === 1 && (i == null || i(r.buttonId.value)), r.togglePopover();
4020
4020
  break;
4021
- case ye.Escape:
4021
+ case ge.Escape:
4022
4022
  if (r.popoverState.value !== 0)
4023
4023
  return i == null ? void 0 : i(r.buttonId.value);
4024
4024
  if (!x(r.button) || (y = s.value) != null && y.activeElement && !((H = x(r.button)) != null && H.contains(s.value.activeElement)))
@@ -4028,7 +4028,7 @@ let ls = M({ name: "Popover", props: { as: { type: [Object, String], default: "d
4028
4028
  }
4029
4029
  }
4030
4030
  function m(T) {
4031
- l.value || T.key === ye.Space && T.preventDefault();
4031
+ l.value || T.key === ge.Space && T.preventDefault();
4032
4032
  }
4033
4033
  function h(T) {
4034
4034
  var A, w;
@@ -4043,13 +4043,13 @@ let ls = M({ name: "Popover", props: { as: { type: [Object, String], default: "d
4043
4043
  if (!T)
4044
4044
  return;
4045
4045
  function A() {
4046
- Z(_.value, { [X.Forwards]: () => ie(T, G.First), [X.Backwards]: () => ie(T, G.Last) }) === ft.Error && ie(Kt().filter((w) => w.dataset.headlessuiFocusGuard !== "true"), Z(_.value, { [X.Forwards]: G.Next, [X.Backwards]: G.Previous }), { relativeTo: x(r.button) });
4046
+ Z(_.value, { [X.Forwards]: () => ie(T, G.First), [X.Backwards]: () => ie(T, G.Last) }) === pt.Error && ie(Kt().filter((w) => w.dataset.headlessuiFocusGuard !== "true"), Z(_.value, { [X.Forwards]: G.Next, [X.Backwards]: G.Previous }), { relativeTo: x(r.button) });
4047
4047
  }
4048
4048
  A();
4049
4049
  }
4050
4050
  return () => {
4051
4051
  let T = r.popoverState.value === 0, A = { open: T }, { id: w, ...N } = e, y = l.value ? { ref: u, type: f.value, onKeydown: p, onClick: h } : { ref: u, id: w, type: f.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": x(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: p, onKeyup: m, onClick: h, onMousedown: b };
4052
- return j(be, [K({ ourProps: y, theirProps: { ...t, ...N }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), T && !l.value && r.isPortalled.value && j(We, { id: c, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: L })]);
4052
+ return j(ye, [K({ ourProps: y, theirProps: { ...t, ...N }, slot: A, attrs: t, slots: n, name: "PopoverButton" }), T && !l.value && r.isPortalled.value && j(We, { id: c, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: L })]);
4053
4053
  };
4054
4054
  } });
4055
4055
  M({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: t, slots: n }) {
@@ -4063,7 +4063,7 @@ M({ name: "PopoverOverlay", props: { as: { type: [Object, String], default: "div
4063
4063
  };
4064
4064
  } });
4065
4065
  let td = M({ 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-${ne()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: o }) {
4066
- let { focus: r } = e, s = Qt("PopoverPanel"), a = E(() => ve(s.panel)), i = `headlessui-focus-sentinel-before-${ne()}`, d = `headlessui-focus-sentinel-after-${ne()}`;
4066
+ let { focus: r } = e, s = Qt("PopoverPanel"), a = E(() => me(s.panel)), i = `headlessui-focus-sentinel-before-${ne()}`, d = `headlessui-focus-sentinel-after-${ne()}`;
4067
4067
  o({ el: s.panel, $el: s.panel }), J(() => {
4068
4068
  s.panelId.value = e.id;
4069
4069
  }), le(() => {
@@ -4079,7 +4079,7 @@ let td = M({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
4079
4079
  function c(b) {
4080
4080
  var _, L;
4081
4081
  switch (b.key) {
4082
- case ye.Escape:
4082
+ case ge.Escape:
4083
4083
  if (s.popoverState.value !== 0 || !x(s.panel) || a.value && !((_ = x(s.panel)) != null && _.contains(a.value.activeElement)))
4084
4084
  return;
4085
4085
  b.preventDefault(), b.stopPropagation(), s.closePopover(), (L = x(s.button)) == null || L.focus();
@@ -4099,7 +4099,7 @@ let td = M({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
4099
4099
  function _() {
4100
4100
  Z(p.value, { [X.Forwards]: () => {
4101
4101
  var L;
4102
- ie(b, G.First) === ft.Error && ((L = x(s.afterPanelSentinel)) == null || L.focus());
4102
+ ie(b, G.First) === pt.Error && ((L = x(s.afterPanelSentinel)) == null || L.focus());
4103
4103
  }, [X.Backwards]: () => {
4104
4104
  var L;
4105
4105
  (L = x(s.button)) == null || L.focus({ preventScroll: !0 });
@@ -4125,7 +4125,7 @@ let td = M({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
4125
4125
  ie(y, G.First, { sorted: !1 });
4126
4126
  }, [X.Backwards]: () => {
4127
4127
  var L;
4128
- ie(b, G.Previous) === ft.Error && ((L = x(s.button)) == null || L.focus());
4128
+ ie(b, G.Previous) === pt.Error && ((L = x(s.button)) == null || L.focus());
4129
4129
  } });
4130
4130
  }
4131
4131
  _();
@@ -4134,12 +4134,12 @@ let td = M({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
4134
4134
  let b = { open: s.popoverState.value === 0, close: s.close }, { id: _, focus: L, ...T } = e, A = { ref: s.panel, id: _, onKeydown: c, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
4135
4135
  return K({ ourProps: A, theirProps: { ...t, ...T }, attrs: t, slot: b, slots: { ...n, default: (...w) => {
4136
4136
  var N;
4137
- return [j(be, [u.value && s.isPortalled.value && j(We, { id: i, ref: s.beforePanelSentinel, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m }), (N = n.default) == null ? void 0 : N.call(n, ...w), u.value && s.isPortalled.value && j(We, { id: d, ref: s.afterPanelSentinel, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: h })])];
4137
+ return [j(ye, [u.value && s.isPortalled.value && j(We, { id: i, ref: s.beforePanelSentinel, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: m }), (N = n.default) == null ? void 0 : N.call(n, ...w), u.value && s.isPortalled.value && j(We, { id: d, ref: s.afterPanelSentinel, features: Fe.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: h })])];
4138
4138
  } }, features: Ae.RenderStrategy | Ae.Static, visible: u.value, name: "PopoverPanel" });
4139
4139
  };
4140
4140
  } });
4141
4141
  M({ name: "PopoverGroup", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: t, slots: n, expose: o }) {
4142
- let r = C(null), s = Vo([]), a = E(() => ve(r));
4142
+ let r = C(null), s = Vo([]), a = E(() => me(r));
4143
4143
  o({ el: r, $el: r });
4144
4144
  function i(c) {
4145
4145
  let f = s.value.indexOf(c);
@@ -4199,12 +4199,12 @@ function od(e, t) {
4199
4199
  })
4200
4200
  ]);
4201
4201
  }
4202
- const Xe = (e, t) => {
4202
+ const Ze = (e, t) => {
4203
4203
  const n = e.__vccOpts || e;
4204
4204
  for (const [o, r] of t)
4205
4205
  n[o] = r;
4206
4206
  return n;
4207
- }, rd = {
4207
+ }, rd = Qe(), sd = {
4208
4208
  data() {
4209
4209
  return {
4210
4210
  isSignup: !1,
@@ -4379,7 +4379,7 @@ const Xe = (e, t) => {
4379
4379
  background: "rgba(0, 0, 0, 0.7)"
4380
4380
  });
4381
4381
  pc(this.email, this.name, this.password).then((t) => {
4382
- e.close(), location.href = t.url;
4382
+ localStorage.setItem("user_email", this.email), location.href = rd + t.url, e.close();
4383
4383
  try {
4384
4384
  document.body.classList.remove("el-loading-parent--relative");
4385
4385
  } catch {
@@ -4410,19 +4410,19 @@ const Xe = (e, t) => {
4410
4410
  });
4411
4411
  }
4412
4412
  }
4413
- }, de = (e) => (pt("data-v-4682235c"), e = e(), ht(), e), sd = { class: "login-wapper" }, ad = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4413
+ }, we = (e) => (ht("data-v-4682235c"), e = e(), mt(), e), ad = { class: "login-wapper" }, id = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4414
4414
  "span",
4415
4415
  null,
4416
4416
  "Login here",
4417
4417
  -1
4418
4418
  /* HOISTED */
4419
- )), id = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4419
+ )), ld = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4420
4420
  "span",
4421
4421
  null,
4422
4422
  "Sign up here",
4423
4423
  -1
4424
4424
  /* HOISTED */
4425
- )), ld = { class: "accounts" }, ud = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4425
+ )), ud = { class: "accounts" }, cd = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4426
4426
  "div",
4427
4427
  { class: "account" },
4428
4428
  [
@@ -4430,7 +4430,7 @@ const Xe = (e, t) => {
4430
4430
  ],
4431
4431
  -1
4432
4432
  /* HOISTED */
4433
- )), cd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4433
+ )), dd = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4434
4434
  "svg",
4435
4435
  {
4436
4436
  t: "1661493482810",
@@ -4456,13 +4456,13 @@ const Xe = (e, t) => {
4456
4456
  ],
4457
4457
  -1
4458
4458
  /* HOISTED */
4459
- )), dd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4459
+ )), fd = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4460
4460
  "div",
4461
4461
  { style: { flex: "1", "margin-left": "5px", "font-size": "14px", "font-weight": "500" } },
4462
4462
  "Login With Facebook",
4463
4463
  -1
4464
4464
  /* HOISTED */
4465
- )), fd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4465
+ )), pd = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4466
4466
  "div",
4467
4467
  { class: "divider" },
4468
4468
  [
@@ -4470,59 +4470,39 @@ const Xe = (e, t) => {
4470
4470
  ],
4471
4471
  -1
4472
4472
  /* HOISTED */
4473
- )), pd = { class: "form-group" }, hd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4473
+ )), hd = { class: "form-group" }, md = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4474
4474
  "label",
4475
4475
  { for: "user_email" },
4476
4476
  "Email",
4477
4477
  -1
4478
4478
  /* HOISTED */
4479
- )), md = {
4479
+ )), vd = {
4480
4480
  key: 0,
4481
4481
  class: "help-block-error"
4482
- }, vd = {
4482
+ }, gd = {
4483
4483
  key: 0,
4484
4484
  class: "form-group"
4485
- }, gd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4485
+ }, yd = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4486
4486
  "label",
4487
4487
  { for: "user_name" },
4488
4488
  "Username",
4489
4489
  -1
4490
4490
  /* HOISTED */
4491
- )), yd = { class: "form-group" }, bd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4491
+ )), bd = { class: "form-group" }, _d = /* @__PURE__ */ we(() => /* @__PURE__ */ g(
4492
4492
  "label",
4493
4493
  { for: "user_password" },
4494
4494
  "Password",
4495
4495
  -1
4496
4496
  /* HOISTED */
4497
- )), _d = {
4497
+ )), wd = {
4498
4498
  key: 0,
4499
4499
  class: "help-block-error"
4500
- }, wd = { key: 0 }, Ed = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4501
- "a",
4502
- {
4503
- href: "/user/resend-verify",
4504
- target: "_blank"
4505
- },
4506
- "Resend email",
4507
- -1
4508
- /* HOISTED */
4509
- )), Sd = [
4510
- Ed
4511
- ], xd = ["disabled"], Od = ["disabled"], Pd = {
4500
+ }, Ed = { key: 0 }, Sd = ["href"], xd = ["disabled"], Od = ["disabled"], Pd = {
4512
4501
  key: 2,
4513
4502
  class: "link"
4514
- }, Cd = /* @__PURE__ */ de(() => /* @__PURE__ */ g(
4515
- "a",
4516
- {
4517
- href: "/user/password-reset",
4518
- target: "_blank"
4519
- },
4520
- "Forgot your password?",
4521
- -1
4522
- /* HOISTED */
4523
- ));
4503
+ }, Cd = ["href"];
4524
4504
  function Td(e, t, n, o, r, s) {
4525
- return O(), k("div", sd, [
4505
+ return O(), k("div", ad, [
4526
4506
  g(
4527
4507
  "h1",
4528
4508
  null,
@@ -4536,7 +4516,7 @@ function Td(e, t, n, o, r, s) {
4536
4516
  onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
4537
4517
  }, [
4538
4518
  Ot("Already registered? "),
4539
- ad
4519
+ id
4540
4520
  ])) : (O(), k("div", {
4541
4521
  key: 1,
4542
4522
  class: "link",
@@ -4547,13 +4527,13 @@ function Td(e, t, n, o, r, s) {
4547
4527
  1
4548
4528
  /* TEXT */
4549
4529
  ),
4550
- id
4530
+ ld
4551
4531
  ])),
4552
- g("div", ld, [
4532
+ g("div", ud, [
4553
4533
  B(` <div class="account">
4554
4534
  <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>
4555
4535
  </div> `),
4556
- ud,
4536
+ cd,
4557
4537
  g("div", {
4558
4538
  class: "account flew-row-v-center",
4559
4539
  style: { padding: "0 12px", "border-radius": "4px" },
@@ -4561,14 +4541,14 @@ function Td(e, t, n, o, r, s) {
4561
4541
  }, [
4562
4542
  B(` <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;">
4563
4543
  <div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
4564
- cd,
4565
- dd
4544
+ dd,
4545
+ fd
4566
4546
  ])
4567
4547
  ]),
4568
- fd,
4548
+ pd,
4569
4549
  g("div", null, [
4570
- g("div", pd, [
4571
- hd,
4550
+ g("div", hd, [
4551
+ md,
4572
4552
  Te(g(
4573
4553
  "input",
4574
4554
  {
@@ -4586,14 +4566,14 @@ function Td(e, t, n, o, r, s) {
4586
4566
  ]),
4587
4567
  r.emailErrorHelp ? (O(), k(
4588
4568
  "p",
4589
- md,
4569
+ vd,
4590
4570
  W(r.emailErrorHelp),
4591
4571
  1
4592
4572
  /* TEXT */
4593
4573
  )) : B("v-if", !0)
4594
4574
  ]),
4595
- r.isSignup ? (O(), k("div", vd, [
4596
- gd,
4575
+ r.isSignup ? (O(), k("div", gd, [
4576
+ yd,
4597
4577
  Te(g(
4598
4578
  "input",
4599
4579
  {
@@ -4608,8 +4588,8 @@ function Td(e, t, n, o, r, s) {
4608
4588
  [en, r.name]
4609
4589
  ])
4610
4590
  ])) : B("v-if", !0),
4611
- g("div", yd, [
4612
- bd,
4591
+ g("div", bd, [
4592
+ _d,
4613
4593
  Te(g(
4614
4594
  "input",
4615
4595
  {
@@ -4624,13 +4604,18 @@ function Td(e, t, n, o, r, s) {
4624
4604
  ), [
4625
4605
  [en, r.password]
4626
4606
  ]),
4627
- r.passwordErrorHelp ? (O(), k("p", _d, [
4607
+ r.passwordErrorHelp ? (O(), k("p", wd, [
4628
4608
  Ot(
4629
4609
  W(r.passwordErrorHelp) + " ",
4630
4610
  1
4631
4611
  /* TEXT */
4632
4612
  ),
4633
- r.errCode == 2 ? (O(), k("span", wd, Sd)) : B("v-if", !0)
4613
+ r.errCode == 2 ? (O(), k("span", Ed, [
4614
+ g("a", {
4615
+ href: e.childPath + "/user/resend-verify",
4616
+ target: "_blank"
4617
+ }, "Resend email", 8, Sd)
4618
+ ])) : B("v-if", !0)
4634
4619
  ])) : B("v-if", !0)
4635
4620
  ]),
4636
4621
  r.isSignup ? (O(), k("button", {
@@ -4646,7 +4631,10 @@ function Td(e, t, n, o, r, s) {
4646
4631
  }, "Login", 8, Od))
4647
4632
  ]),
4648
4633
  r.isSignup ? B("v-if", !0) : (O(), k("div", Pd, [
4649
- Cd,
4634
+ g("a", {
4635
+ href: e.childPath + "/user/password-reset",
4636
+ target: "_blank"
4637
+ }, "Forgot your password?", 8, Cd),
4650
4638
  B(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
4651
4639
  ])),
4652
4640
  B(` <div class="link">
@@ -4654,7 +4642,7 @@ function Td(e, t, n, o, r, s) {
4654
4642
  </div> `)
4655
4643
  ]);
4656
4644
  }
4657
- const us = /* @__PURE__ */ Xe(rd, [["render", Td], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
4645
+ const us = /* @__PURE__ */ Ze(sd, [["render", Td], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
4658
4646
  const Nd = {
4659
4647
  data() {
4660
4648
  return {};
@@ -4674,7 +4662,7 @@ const Nd = {
4674
4662
  this.$emit("close");
4675
4663
  }
4676
4664
  }
4677
- }, $d = (e) => (pt("data-v-47199182"), e = e(), ht(), e), Ld = { class: "background-cover" }, kd = { class: "login-content" }, Ad = /* @__PURE__ */ $d(() => /* @__PURE__ */ g(
4665
+ }, $d = (e) => (ht("data-v-47199182"), e = e(), mt(), e), Ld = { class: "background-cover" }, kd = { class: "login-content" }, Ad = /* @__PURE__ */ $d(() => /* @__PURE__ */ g(
4678
4666
  "svg",
4679
4667
  {
4680
4668
  t: "1641536858080",
@@ -4710,24 +4698,24 @@ function Id(e, t, n, o, r, s) {
4710
4698
  ])
4711
4699
  ]);
4712
4700
  }
4713
- const Rd = /* @__PURE__ */ Xe(Nd, [["render", Id], ["__scopeId", "data-v-47199182"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
4701
+ const Rd = /* @__PURE__ */ Ze(Nd, [["render", Id], ["__scopeId", "data-v-47199182"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Login.vue"]]);
4714
4702
  /*!
4715
4703
  * pinia v2.1.4
4716
4704
  * (c) 2023 Eduardo San Martin Morote
4717
4705
  * @license MIT
4718
4706
  */
4719
- let it;
4720
- const Ft = (e) => it = e, Dd = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
4707
+ let lt;
4708
+ const Ft = (e) => lt = e, Dd = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
4721
4709
  /* istanbul ignore next */
4722
4710
  Symbol()
4723
4711
  );
4724
4712
  function Ie(e) {
4725
4713
  return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
4726
4714
  }
4727
- var lt;
4715
+ var ut;
4728
4716
  (function(e) {
4729
4717
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
4730
- })(lt || (lt = {}));
4718
+ })(ut || (ut = {}));
4731
4719
  const Qn = typeof window < "u", pn = (process.env.NODE_ENV !== "production" || !1) && process.env.NODE_ENV !== "test" && Qn;
4732
4720
  function cs(e, t) {
4733
4721
  for (const n in t) {
@@ -4785,7 +4773,7 @@ function jo(e, t, n, o) {
4785
4773
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
4786
4774
  hn(C(r ? r() : {}).value)
4787
4775
  ) : hn(n.state.value[e]);
4788
- return ee(u, s, Object.keys(a || {}).reduce((c, 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}".`), c[f] = at(E(() => {
4776
+ return ee(u, s, Object.keys(a || {}).reduce((c, 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}".`), c[f] = it(E(() => {
4789
4777
  Ft(n);
4790
4778
  const p = n._s.get(e);
4791
4779
  return a[f].call(p, p);
@@ -4813,11 +4801,11 @@ function Nn(e, t, n = {}, o, r, s) {
4813
4801
  function _(P) {
4814
4802
  let S;
4815
4803
  l = u = !1, process.env.NODE_ENV !== "production" && (p = []), typeof P == "function" ? (P(o.state.value[e]), S = {
4816
- type: lt.patchFunction,
4804
+ type: ut.patchFunction,
4817
4805
  storeId: e,
4818
4806
  events: p
4819
4807
  }) : (Tn(o.state.value[e], P), S = {
4820
- type: lt.patchObject,
4808
+ type: ut.patchObject,
4821
4809
  payload: P,
4822
4810
  storeId: e,
4823
4811
  events: p
@@ -4867,7 +4855,7 @@ function Nn(e, t, n = {}, o, r, s) {
4867
4855
  return I instanceof Promise ? I.then((R) => (Me(U, R), R)).catch((R) => (Me(xe, R), Promise.reject(R))) : (Me(U, I), I);
4868
4856
  };
4869
4857
  }
4870
- const w = /* @__PURE__ */ at({
4858
+ const w = /* @__PURE__ */ it({
4871
4859
  actions: {},
4872
4860
  getters: {},
4873
4861
  state: [],
@@ -4880,10 +4868,10 @@ function Nn(e, t, n = {}, o, r, s) {
4880
4868
  $patch: _,
4881
4869
  $reset: L,
4882
4870
  $subscribe(P, S = {}) {
4883
- const D = Ro(c, P, S.detached, () => U()), U = a.run(() => we(() => o.state.value[e], (xe) => {
4871
+ const D = Ro(c, P, S.detached, () => U()), U = a.run(() => _e(() => o.state.value[e], (xe) => {
4884
4872
  (S.flush === "sync" ? u : l) && P({
4885
4873
  storeId: e,
4886
- type: lt.direct,
4874
+ type: ut.direct,
4887
4875
  events: p
4888
4876
  }, xe);
4889
4877
  }, ee({}, d, S)));
@@ -4893,7 +4881,7 @@ function Nn(e, t, n = {}, o, r, s) {
4893
4881
  }, y = $n(process.env.NODE_ENV !== "production" || pn ? ee(
4894
4882
  {
4895
4883
  _hmrPayload: w,
4896
- _customProperties: at(/* @__PURE__ */ new Set())
4884
+ _customProperties: it(/* @__PURE__ */ new Set())
4897
4885
  // devtools custom properties
4898
4886
  },
4899
4887
  N
@@ -4914,7 +4902,7 @@ function Nn(e, t, n = {}, o, r, s) {
4914
4902
  // @ts-expect-error
4915
4903
  n.getters[P]
4916
4904
  ) : S, Qn && (q._getters || // @ts-expect-error: same
4917
- (q._getters = at([]))).push(P));
4905
+ (q._getters = it([]))).push(P));
4918
4906
  }
4919
4907
  if (ee(y, q), ee(xs(y), q), Object.defineProperty(y, "$state", {
4920
4908
  get: () => process.env.NODE_ENV !== "production" && r ? h.value : o.state.value[e],
@@ -4925,7 +4913,7 @@ function Nn(e, t, n = {}, o, r, s) {
4925
4913
  ee(S, P);
4926
4914
  });
4927
4915
  }
4928
- }), process.env.NODE_ENV !== "production" && (y._hotUpdate = at((P) => {
4916
+ }), process.env.NODE_ENV !== "production" && (y._hotUpdate = it((P) => {
4929
4917
  y._hotUpdating = !0, P._hmrPayload.state.forEach((S) => {
4930
4918
  if (S in y.$state) {
4931
4919
  const D = P.$state[S], U = y.$state[S];
@@ -4995,12 +4983,12 @@ function Ud(e, t, n) {
4995
4983
  const l = Es();
4996
4984
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
4997
4985
  // pinia instance with getActivePinia()
4998
- (process.env.NODE_ENV === "test" && it && it._testing ? null : i) || (l ? V(Dd, null) : null), i && Ft(i), process.env.NODE_ENV !== "production" && !it)
4986
+ (process.env.NODE_ENV === "test" && lt && lt._testing ? null : i) || (l ? V(Dd, null) : null), i && Ft(i), process.env.NODE_ENV !== "production" && !lt)
4999
4987
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
5000
4988
  const pinia = createPinia()
5001
4989
  app.use(pinia)
5002
4990
  This will fail in production.`);
5003
- i = it, i._s.has(o) || (s ? Nn(o, t, r, i) : jo(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
4991
+ i = lt, i._s.has(o) || (s ? Nn(o, t, r, i) : jo(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
5004
4992
  const u = i._s.get(o);
5005
4993
  if (process.env.NODE_ENV !== "production" && d) {
5006
4994
  const c = "__hot:" + o, f = s ? Nn(c, t, r, i, !0) : jo(c, ee({}, r), i, !0);
@@ -5096,7 +5084,7 @@ const zd = Ud("user", {
5096
5084
  }
5097
5085
  }
5098
5086
  });
5099
- let fs = yt();
5087
+ let fs = Qe();
5100
5088
  console.log("childPath3", fs);
5101
5089
  const Vd = {
5102
5090
  props: ["user", "from"],
@@ -5111,7 +5099,7 @@ const Vd = {
5111
5099
  console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
5112
5100
  }
5113
5101
  }
5114
- }, Ze = (e) => (pt("data-v-8580ad75"), e = e(), ht(), e), qd = { class: "user-center-content" }, Wd = { class: "user-info flew-row-v-center" }, Gd = ["src"], Jd = {
5102
+ }, et = (e) => (ht("data-v-8580ad75"), e = e(), mt(), e), qd = { class: "user-center-content" }, Wd = { class: "user-info flew-row-v-center" }, Gd = ["src"], Jd = {
5115
5103
  class: "user-name",
5116
5104
  style: { color: "#000" }
5117
5105
  }, Kd = { class: "user-email" }, Qd = { class: "flew-row-v-center" }, Yd = {
@@ -5124,7 +5112,7 @@ const Vd = {
5124
5112
  "p-id": "10206",
5125
5113
  width: "32",
5126
5114
  height: "32"
5127
- }, Xd = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5115
+ }, Xd = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5128
5116
  "path",
5129
5117
  {
5130
5118
  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",
@@ -5136,7 +5124,7 @@ const Vd = {
5136
5124
  null,
5137
5125
  -1
5138
5126
  /* HOISTED */
5139
- )), Zd = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5127
+ )), Zd = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5140
5128
  "path",
5141
5129
  {
5142
5130
  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",
@@ -5159,7 +5147,7 @@ const Vd = {
5159
5147
  "p-id": "8080",
5160
5148
  width: "32",
5161
5149
  height: "32"
5162
- }, nf = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5150
+ }, nf = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5163
5151
  "path",
5164
5152
  {
5165
5153
  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",
@@ -5174,7 +5162,7 @@ const Vd = {
5174
5162
  ], rf = {
5175
5163
  key: 0,
5176
5164
  class: "user-upgrade"
5177
- }, sf = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5165
+ }, sf = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5178
5166
  "span",
5179
5167
  null,
5180
5168
  "Upgrade",
@@ -5182,7 +5170,7 @@ const Vd = {
5182
5170
  /* HOISTED */
5183
5171
  )), af = [
5184
5172
  sf
5185
- ], lf = ["href"], uf = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5173
+ ], lf = ["href"], uf = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5186
5174
  "div",
5187
5175
  { class: "user-item user-item-active flew-row-v-center" },
5188
5176
  [
@@ -5208,7 +5196,7 @@ const Vd = {
5208
5196
  /* HOISTED */
5209
5197
  )), cf = [
5210
5198
  uf
5211
- ], df = ["href"], ff = /* @__PURE__ */ Ze(() => /* @__PURE__ */ g(
5199
+ ], df = ["href"], ff = /* @__PURE__ */ et(() => /* @__PURE__ */ g(
5212
5200
  "div",
5213
5201
  { class: "user-item user-item-active flew-row-v-center" },
5214
5202
  [
@@ -5304,10 +5292,10 @@ function hf(e, t, n, o, r, s) {
5304
5292
  }, pf, 8, df)) : B("v-if", !0)
5305
5293
  ]);
5306
5294
  }
5307
- const Bo = /* @__PURE__ */ Xe(Vd, [["render", hf], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
5295
+ const Bo = /* @__PURE__ */ Ze(Vd, [["render", hf], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
5308
5296
  const mf = {
5309
5297
  props: ["content", "top"]
5310
- }, vf = (e) => (pt("data-v-7b6def48"), e = e(), ht(), e), gf = /* @__PURE__ */ vf(() => /* @__PURE__ */ g(
5298
+ }, vf = (e) => (ht("data-v-7b6def48"), e = e(), mt(), e), gf = /* @__PURE__ */ vf(() => /* @__PURE__ */ g(
5311
5299
  "svg",
5312
5300
  {
5313
5301
  t: "1637907583780",
@@ -5349,7 +5337,7 @@ function yf(e, t, n, o, r, s) {
5349
5337
  /* STYLE */
5350
5338
  );
5351
5339
  }
5352
- const bf = /* @__PURE__ */ Xe(mf, [["render", yf], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
5340
+ const bf = /* @__PURE__ */ Ze(mf, [["render", yf], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
5353
5341
  const _f = { class: "background-cover" }, wf = /* @__PURE__ */ g(
5354
5342
  "div",
5355
5343
  { class: "invite-success" },
@@ -5411,7 +5399,7 @@ const _f = { class: "background-cover" }, wf = /* @__PURE__ */ g(
5411
5399
  __name: "TeamInvite",
5412
5400
  emits: ["cancel"],
5413
5401
  setup(e, { emit: t }) {
5414
- const n = yt(), o = () => {
5402
+ const n = Qe(), o = () => {
5415
5403
  t("cancel"), location.href = n + "/dashboard";
5416
5404
  }, r = () => {
5417
5405
  t("cancel");
@@ -5434,7 +5422,7 @@ const _f = { class: "background-cover" }, wf = /* @__PURE__ */ g(
5434
5422
  ])
5435
5423
  ]));
5436
5424
  }
5437
- }, Nf = /* @__PURE__ */ Xe(Tf, [["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
5425
+ }, Nf = /* @__PURE__ */ Ze(Tf, [["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
5438
5426
  function $f(e, t) {
5439
5427
  return O(), k("svg", {
5440
5428
  xmlns: "http://www.w3.org/2000/svg",
@@ -5449,7 +5437,7 @@ function $f(e, t) {
5449
5437
  })
5450
5438
  ]);
5451
5439
  }
5452
- const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5440
+ const je = (e) => (ht("data-v-c970699f"), e = e(), mt(), e), Lf = {
5453
5441
  class: "flex items-center justify-between py-6 lg:px-0 px-6",
5454
5442
  "aria-label": "Global"
5455
5443
  }, kf = { class: "flex lg:flex-1" }, Af = /* @__PURE__ */ je(() => /* @__PURE__ */ g(
@@ -5544,11 +5532,11 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5544
5532
  name: "Video Translator"
5545
5533
  };
5546
5534
  typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (o = app_config), console.log("appInfo", o);
5547
- const r = C(o), s = yt(), a = [
5535
+ const r = C(o), s = Qe(), a = [
5548
5536
  { name: "Live Poll Maker for Slides", href: "https://www.livepolls.app" },
5549
5537
  { name: "Geocode for Sheets", href: "https://www.livepolls.app/geocode" },
5550
5538
  { name: "Slides Translator", href: "https://www.livepolls.app/slides_translator" },
5551
- { name: "Screen&Audio Recorder", href: "https://recorder.livepolls.app/recorder" },
5539
+ { name: "Screen&Audio Recorder", href: "https://recorder.livepolls.app" },
5552
5540
  { name: "ChatGPT Slides Maker", href: "https://www.livepolls.app/ai_slide_generator" },
5553
5541
  { name: "More Apps >", href: "https://www.livepolls.app/apps" }
5554
5542
  ].filter((w) => w.href != location.origin + s), i = C(
@@ -5614,13 +5602,13 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5614
5602
  n.userStore.hideInvite(!1);
5615
5603
  }
5616
5604
  return (w, N) => (O(), k(
5617
- be,
5605
+ ye,
5618
5606
  null,
5619
5607
  [
5620
5608
  g(
5621
5609
  "header",
5622
5610
  {
5623
- class: ge(["absolute inset-x-0 px-1 top-0 z-30 mx-auto", [e.className]])
5611
+ class: ve(["absolute inset-x-0 px-1 top-0 z-30 mx-auto", [e.className]])
5624
5612
  },
5625
5613
  [
5626
5614
  g("nav", Lf, [
@@ -5689,7 +5677,7 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5689
5677
  default: oe(() => [
5690
5678
  g("div", Hf, [
5691
5679
  (O(!0), k(
5692
- be,
5680
+ ye,
5693
5681
  null,
5694
5682
  nn($(a), (y) => (O(), k("a", {
5695
5683
  key: y.name,
@@ -5714,7 +5702,7 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5714
5702
  /* STABLE */
5715
5703
  })),
5716
5704
  (O(!0), k(
5717
- be,
5705
+ ye,
5718
5706
  null,
5719
5707
  nn(i.value, (y) => (O(), k("a", {
5720
5708
  key: y.name,
@@ -5826,7 +5814,7 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5826
5814
  g("div", ip, [
5827
5815
  e.isShenHe ? B("v-if", !0) : (O(), k("a", lp, "More Extensions")),
5828
5816
  (O(!0), k(
5829
- be,
5817
+ ye,
5830
5818
  null,
5831
5819
  nn(i.value, (y) => (O(), k("a", {
5832
5820
  key: y.name,
@@ -5887,7 +5875,7 @@ const je = (e) => (pt("data-v-c970699f"), e = e(), ht(), e), Lf = {
5887
5875
  /* STABLE_FRAGMENT */
5888
5876
  ));
5889
5877
  }
5890
- }, fp = /* @__PURE__ */ Xe(dp, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), hp = {
5878
+ }, fp = /* @__PURE__ */ Ze(dp, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation_Video/src/components/Header.vue"]]), hp = {
5891
5879
  install(e) {
5892
5880
  e.component("my-header", fp);
5893
5881
  }