my-header-yichong 3.4.4 → 3.4.6
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 +623 -625
- package/my-header.umd.cjs +9 -9
- package/package.json +4 -3
- package/style.css +1 -1
package/my-header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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
|
|
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 Ue, watch as Y, defineComponent as H, openBlock as T, createElementBlock as L, createElementVNode as h, warn as $l, isVNode as ao, inject as Z, computed as E, isRef as wt, shallowRef as gr, onBeforeUnmount as qe, 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 F, toRef as et, 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);
|
|
@@ -7,11 +7,11 @@ function Oa(e, t) {
|
|
|
7
7
|
const { toString: ql } = Object.prototype, { getPrototypeOf: _r } = Object, mo = ((e) => (t) => {
|
|
8
8
|
const n = ql.call(t);
|
|
9
9
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
10
|
-
})(/* @__PURE__ */ Object.create(null)),
|
|
10
|
+
})(/* @__PURE__ */ Object.create(null)), Ge = (e) => (e = e.toLowerCase(), (t) => mo(t) === e), vo = (e) => (t) => typeof t === e, { isArray: en } = Array, wn = vo("undefined");
|
|
11
11
|
function Gl(e) {
|
|
12
12
|
return e !== null && !wn(e) && e.constructor !== null && !wn(e.constructor) && Te(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
13
13
|
}
|
|
14
|
-
const Ta =
|
|
14
|
+
const Ta = Ge("ArrayBuffer");
|
|
15
15
|
function Kl(e) {
|
|
16
16
|
let t;
|
|
17
17
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Ta(e.buffer), t;
|
|
@@ -21,11 +21,11 @@ const Jl = vo("string"), Te = vo("function"), Pa = vo("number"), go = (e) => e !
|
|
|
21
21
|
return !1;
|
|
22
22
|
const t = _r(e);
|
|
23
23
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
24
|
-
}, Zl =
|
|
24
|
+
}, Zl = Ge("Date"), Ql = Ge("File"), Xl = Ge("Blob"), ec = Ge("FileList"), tc = (e) => go(e) && Te(e.pipe), nc = (e) => {
|
|
25
25
|
let t;
|
|
26
26
|
return e && (typeof FormData == "function" && e instanceof FormData || Te(e.append) && ((t = mo(e)) === "formdata" || // detect form-data instance
|
|
27
27
|
t === "object" && Te(e.toString) && e.toString() === "[object FormData]"));
|
|
28
|
-
}, oc =
|
|
28
|
+
}, oc = Ge("URLSearchParams"), rc = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
29
29
|
function Cn(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
30
30
|
if (e === null || typeof e > "u")
|
|
31
31
|
return;
|
|
@@ -105,12 +105,12 @@ const sc = (e, t, n, { allOwnKeys: o } = {}) => (Cn(t, (r, s) => {
|
|
|
105
105
|
for (; (n = e.exec(t)) !== null; )
|
|
106
106
|
o.push(n);
|
|
107
107
|
return o;
|
|
108
|
-
}, hc =
|
|
108
|
+
}, hc = Ge("HTMLFormElement"), mc = (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
|
-
), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc =
|
|
113
|
+
), ls = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), vc = Ge("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);
|
|
@@ -169,7 +169,7 @@ const Ec = (e) => {
|
|
|
169
169
|
return o;
|
|
170
170
|
};
|
|
171
171
|
return n(e, 0);
|
|
172
|
-
}, Sc =
|
|
172
|
+
}, Sc = Ge("AsyncFunction"), kc = (e) => e && (go(e) || Te(e)) && Te(e.then) && Te(e.catch), S = {
|
|
173
173
|
isArray: en,
|
|
174
174
|
isArrayBuffer: Ta,
|
|
175
175
|
isBuffer: Gl,
|
|
@@ -198,7 +198,7 @@ const Ec = (e) => {
|
|
|
198
198
|
inherits: ic,
|
|
199
199
|
toFlatObject: lc,
|
|
200
200
|
kindOf: mo,
|
|
201
|
-
kindOfTest:
|
|
201
|
+
kindOfTest: Ge,
|
|
202
202
|
endsWith: cc,
|
|
203
203
|
toArray: uc,
|
|
204
204
|
forEachEntry: fc,
|
|
@@ -760,9 +760,9 @@ class _o {
|
|
|
760
760
|
_o.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
761
761
|
S.freezeMethods(_o.prototype);
|
|
762
762
|
S.freezeMethods(_o);
|
|
763
|
-
const
|
|
763
|
+
const tt = _o;
|
|
764
764
|
function Ro(e, t) {
|
|
765
|
-
const n = this || xr, o = t || n, r =
|
|
765
|
+
const n = this || xr, o = t || n, r = tt.from(o.headers);
|
|
766
766
|
let s = o.data;
|
|
767
767
|
return S.forEach(e, function(i) {
|
|
768
768
|
s = i.call(n, s, r.normalize(), t ? t.status : void 0);
|
|
@@ -900,7 +900,7 @@ function hs(e, t) {
|
|
|
900
900
|
const eu = typeof XMLHttpRequest < "u", tu = eu && function(e) {
|
|
901
901
|
return new Promise(function(n, o) {
|
|
902
902
|
let r = e.data;
|
|
903
|
-
const s =
|
|
903
|
+
const s = tt.from(e.headers).normalize(), a = e.responseType;
|
|
904
904
|
let i;
|
|
905
905
|
function c() {
|
|
906
906
|
e.cancelToken && e.cancelToken.unsubscribe(i), e.signal && e.signal.removeEventListener("abort", i);
|
|
@@ -916,7 +916,7 @@ const eu = typeof XMLHttpRequest < "u", tu = eu && function(e) {
|
|
|
916
916
|
function d() {
|
|
917
917
|
if (!l)
|
|
918
918
|
return;
|
|
919
|
-
const m =
|
|
919
|
+
const m = tt.from(
|
|
920
920
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
|
921
921
|
), v = {
|
|
922
922
|
data: !a || a === "text" || a === "json" ? l.responseText : l.response,
|
|
@@ -1001,7 +1001,7 @@ function Lo(e) {
|
|
|
1001
1001
|
throw new An(null, e);
|
|
1002
1002
|
}
|
|
1003
1003
|
function ms(e) {
|
|
1004
|
-
return Lo(e), e.headers =
|
|
1004
|
+
return Lo(e), e.headers = tt.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) {
|
|
@@ -1009,16 +1009,16 @@ function ms(e) {
|
|
|
1009
1009
|
e,
|
|
1010
1010
|
e.transformResponse,
|
|
1011
1011
|
o
|
|
1012
|
-
), o.headers =
|
|
1012
|
+
), o.headers = tt.from(o.headers), o;
|
|
1013
1013
|
}, function(o) {
|
|
1014
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
|
|
1018
|
-
), o.response.headers =
|
|
1018
|
+
), o.response.headers = tt.from(o.response.headers))), Promise.reject(o);
|
|
1019
1019
|
});
|
|
1020
1020
|
}
|
|
1021
|
-
const vs = (e) => e instanceof
|
|
1021
|
+
const vs = (e) => e instanceof tt ? e.toJSON() : e;
|
|
1022
1022
|
function Bt(e, t) {
|
|
1023
1023
|
t = t || {};
|
|
1024
1024
|
const n = {};
|
|
@@ -1167,7 +1167,7 @@ class io {
|
|
|
1167
1167
|
(p) => {
|
|
1168
1168
|
delete s[p];
|
|
1169
1169
|
}
|
|
1170
|
-
), n.headers =
|
|
1170
|
+
), n.headers = tt.concat(a, s);
|
|
1171
1171
|
const i = [];
|
|
1172
1172
|
let c = !0;
|
|
1173
1173
|
this.interceptors.request.forEach(function(v) {
|
|
@@ -1402,7 +1402,7 @@ ce.all = function(t) {
|
|
|
1402
1402
|
ce.spread = su;
|
|
1403
1403
|
ce.isAxiosError = au;
|
|
1404
1404
|
ce.mergeConfig = Bt;
|
|
1405
|
-
ce.AxiosHeaders =
|
|
1405
|
+
ce.AxiosHeaders = tt;
|
|
1406
1406
|
ce.formToJSON = (e) => Ba(S.isHTMLForm(e) ? new FormData(e) : e);
|
|
1407
1407
|
ce.HttpStatusCode = iu;
|
|
1408
1408
|
ce.default = ce;
|
|
@@ -1472,7 +1472,7 @@ const Fn = {
|
|
|
1472
1472
|
t.includes("mouse") || t.includes("click") ? o = "MouseEvents" : t.includes("key") ? o = "KeyboardEvent" : o = "HTMLEvents";
|
|
1473
1473
|
const r = document.createEvent(o);
|
|
1474
1474
|
return r.initEvent(t, ...n), e.dispatchEvent(r), e;
|
|
1475
|
-
},
|
|
1475
|
+
}, Qe = (e, t, { checkForDefaultPrevented: n = !0 } = {}) => (r) => {
|
|
1476
1476
|
const s = e == null ? void 0 : e(r);
|
|
1477
1477
|
if (n === !1 || !s)
|
|
1478
1478
|
return t == null ? void 0 : t(r);
|
|
@@ -1501,7 +1501,7 @@ function wo(e) {
|
|
|
1501
1501
|
return wa() ? (xa(e), !0) : !1;
|
|
1502
1502
|
}
|
|
1503
1503
|
function pu(e, t = !0) {
|
|
1504
|
-
je() ? X(e) : t ? e() :
|
|
1504
|
+
je() ? X(e) : t ? e() : Ue(e);
|
|
1505
1505
|
}
|
|
1506
1506
|
function nr(e, t, n = {}) {
|
|
1507
1507
|
const {
|
|
@@ -1959,7 +1959,7 @@ function En(e) {
|
|
|
1959
1959
|
function nf(e) {
|
|
1960
1960
|
return e === void 0;
|
|
1961
1961
|
}
|
|
1962
|
-
const of = (e) => e === void 0, ei = (e) => typeof e == "boolean",
|
|
1962
|
+
const of = (e) => e === void 0, ei = (e) => typeof e == "boolean", Ve = (e) => typeof e == "number", Sn = (e) => typeof Element > "u" ? !1 : e instanceof Element, rf = (e) => ye(e) ? !Number.isNaN(Number(e)) : !1, $s = (e) => Object.keys(e);
|
|
1963
1963
|
class ti extends Error {
|
|
1964
1964
|
constructor(t) {
|
|
1965
1965
|
super(t), this.name = "ElementPlusError";
|
|
@@ -2003,7 +2003,7 @@ const sf = "utils/dom/style", ni = (e = "") => e.split(" ").filter((t) => !!t.tr
|
|
|
2003
2003
|
function lf(e, t = "px") {
|
|
2004
2004
|
if (!e)
|
|
2005
2005
|
return "";
|
|
2006
|
-
if (
|
|
2006
|
+
if (Ve(e) || rf(e))
|
|
2007
2007
|
return `${e}${t}`;
|
|
2008
2008
|
if (ye(e))
|
|
2009
2009
|
return e;
|
|
@@ -2014,7 +2014,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2014
2014
|
name: "ArrowDown",
|
|
2015
2015
|
__name: "arrow-down",
|
|
2016
2016
|
setup(e) {
|
|
2017
|
-
return (t, n) => (T(),
|
|
2017
|
+
return (t, n) => (T(), L("svg", {
|
|
2018
2018
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2019
2019
|
viewBox: "0 0 1024 1024"
|
|
2020
2020
|
}, [
|
|
@@ -2028,7 +2028,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2028
2028
|
name: "ArrowRight",
|
|
2029
2029
|
__name: "arrow-right",
|
|
2030
2030
|
setup(e) {
|
|
2031
|
-
return (t, n) => (T(),
|
|
2031
|
+
return (t, n) => (T(), L("svg", {
|
|
2032
2032
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2033
2033
|
viewBox: "0 0 1024 1024"
|
|
2034
2034
|
}, [
|
|
@@ -2042,7 +2042,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2042
2042
|
name: "CircleCloseFilled",
|
|
2043
2043
|
__name: "circle-close-filled",
|
|
2044
2044
|
setup(e) {
|
|
2045
|
-
return (t, n) => (T(),
|
|
2045
|
+
return (t, n) => (T(), L("svg", {
|
|
2046
2046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2047
2047
|
viewBox: "0 0 1024 1024"
|
|
2048
2048
|
}, [
|
|
@@ -2056,7 +2056,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2056
2056
|
name: "Close",
|
|
2057
2057
|
__name: "close",
|
|
2058
2058
|
setup(e) {
|
|
2059
|
-
return (t, n) => (T(),
|
|
2059
|
+
return (t, n) => (T(), L("svg", {
|
|
2060
2060
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2061
2061
|
viewBox: "0 0 1024 1024"
|
|
2062
2062
|
}, [
|
|
@@ -2070,7 +2070,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2070
2070
|
name: "InfoFilled",
|
|
2071
2071
|
__name: "info-filled",
|
|
2072
2072
|
setup(e) {
|
|
2073
|
-
return (t, n) => (T(),
|
|
2073
|
+
return (t, n) => (T(), L("svg", {
|
|
2074
2074
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2075
2075
|
viewBox: "0 0 1024 1024"
|
|
2076
2076
|
}, [
|
|
@@ -2084,7 +2084,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2084
2084
|
name: "More",
|
|
2085
2085
|
__name: "more",
|
|
2086
2086
|
setup(e) {
|
|
2087
|
-
return (t, n) => (T(),
|
|
2087
|
+
return (t, n) => (T(), L("svg", {
|
|
2088
2088
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2089
2089
|
viewBox: "0 0 1024 1024"
|
|
2090
2090
|
}, [
|
|
@@ -2098,7 +2098,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2098
2098
|
name: "SuccessFilled",
|
|
2099
2099
|
__name: "success-filled",
|
|
2100
2100
|
setup(e) {
|
|
2101
|
-
return (t, n) => (T(),
|
|
2101
|
+
return (t, n) => (T(), L("svg", {
|
|
2102
2102
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2103
2103
|
viewBox: "0 0 1024 1024"
|
|
2104
2104
|
}, [
|
|
@@ -2112,7 +2112,7 @@ var cf = /* @__PURE__ */ H({
|
|
|
2112
2112
|
name: "WarningFilled",
|
|
2113
2113
|
__name: "warning-filled",
|
|
2114
2114
|
setup(e) {
|
|
2115
|
-
return (t, n) => (T(),
|
|
2115
|
+
return (t, n) => (T(), L("svg", {
|
|
2116
2116
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2117
2117
|
viewBox: "0 0 1024 1024"
|
|
2118
2118
|
}, [
|
|
@@ -2436,16 +2436,16 @@ 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
|
|
2440
|
-
|
|
2439
|
+
const $ = v.value && ve;
|
|
2440
|
+
$ && m(t, !0), (_.value || !$) && g(b);
|
|
2441
2441
|
}, C = (b) => {
|
|
2442
2442
|
if (p.disabled === !0 || !ve)
|
|
2443
2443
|
return;
|
|
2444
|
-
const
|
|
2445
|
-
|
|
2444
|
+
const $ = v.value && ve;
|
|
2445
|
+
$ && m(t, !1), (_.value || !$) && 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
|
+
}, N = () => {
|
|
2449
2449
|
a.value ? C() : P();
|
|
2450
2450
|
};
|
|
2451
2451
|
return Y(() => p[e], A), c && f.appContext.config.globalProperties.$route !== void 0 && Y(() => ({
|
|
@@ -2457,7 +2457,7 @@ const Tf = (e) => (t, n) => Pf(t, n, y(e)), Pf = (e, t, n) => tf(n, e, e).replac
|
|
|
2457
2457
|
}), {
|
|
2458
2458
|
hide: C,
|
|
2459
2459
|
show: P,
|
|
2460
|
-
toggle:
|
|
2460
|
+
toggle: N,
|
|
2461
2461
|
hasUpdateHandler: v
|
|
2462
2462
|
};
|
|
2463
2463
|
},
|
|
@@ -2471,7 +2471,7 @@ var _e = "top", Ae = "bottom", Ie = "right", we = "left", $r = "auto", In = [_e,
|
|
|
2471
2471
|
}, []), Nr = [].concat(In, [$r]).reduce(function(e, t) {
|
|
2472
2472
|
return e.concat([t, t + "-" + zt, t + "-" + kn]);
|
|
2473
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
|
-
function
|
|
2474
|
+
function We(e) {
|
|
2475
2475
|
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
2476
2476
|
}
|
|
2477
2477
|
function De(e) {
|
|
@@ -2501,7 +2501,7 @@ function qf(e) {
|
|
|
2501
2501
|
var t = e.state;
|
|
2502
2502
|
Object.keys(t.elements).forEach(function(n) {
|
|
2503
2503
|
var o = t.styles[n] || {}, r = t.attributes[n] || {}, s = t.elements[n];
|
|
2504
|
-
!Pe(s) || !
|
|
2504
|
+
!Pe(s) || !We(s) || (Object.assign(s.style, o), Object.keys(r).forEach(function(a) {
|
|
2505
2505
|
var i = r[a];
|
|
2506
2506
|
i === !1 ? s.removeAttribute(a) : s.setAttribute(a, i === !0 ? "" : i);
|
|
2507
2507
|
}));
|
|
@@ -2514,7 +2514,7 @@ function Gf(e) {
|
|
|
2514
2514
|
var r = t.elements[o], s = t.attributes[o] || {}, a = Object.keys(t.styles.hasOwnProperty(o) ? t.styles[o] : n[o]), i = a.reduce(function(c, l) {
|
|
2515
2515
|
return c[l] = "", c;
|
|
2516
2516
|
}, {});
|
|
2517
|
-
!Pe(r) || !
|
|
2517
|
+
!Pe(r) || !We(r) || (Object.assign(r.style, i), Object.keys(s).forEach(function(c) {
|
|
2518
2518
|
r.removeAttribute(c);
|
|
2519
2519
|
}));
|
|
2520
2520
|
});
|
|
@@ -2556,13 +2556,13 @@ function nt(e) {
|
|
|
2556
2556
|
return De(e).getComputedStyle(e);
|
|
2557
2557
|
}
|
|
2558
2558
|
function Kf(e) {
|
|
2559
|
-
return ["table", "td", "th"].indexOf(
|
|
2559
|
+
return ["table", "td", "th"].indexOf(We(e)) >= 0;
|
|
2560
2560
|
}
|
|
2561
2561
|
function ct(e) {
|
|
2562
2562
|
return ((Ut(e) ? e.ownerDocument : e.document) || window.document).documentElement;
|
|
2563
2563
|
}
|
|
2564
2564
|
function ko(e) {
|
|
2565
|
-
return
|
|
2565
|
+
return We(e) === "html" ? e : e.assignedSlot || e.parentNode || (Rr(e) ? e.host : null) || ct(e);
|
|
2566
2566
|
}
|
|
2567
2567
|
function Ls(e) {
|
|
2568
2568
|
return !Pe(e) || nt(e).position === "fixed" ? null : e.offsetParent;
|
|
@@ -2575,7 +2575,7 @@ function Jf(e) {
|
|
|
2575
2575
|
return null;
|
|
2576
2576
|
}
|
|
2577
2577
|
var r = ko(e);
|
|
2578
|
-
for (Rr(r) && (r = r.host); Pe(r) && ["html", "body"].indexOf(
|
|
2578
|
+
for (Rr(r) && (r = r.host); Pe(r) && ["html", "body"].indexOf(We(r)) < 0; ) {
|
|
2579
2579
|
var s = nt(r);
|
|
2580
2580
|
if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
|
|
2581
2581
|
return r;
|
|
@@ -2586,7 +2586,7 @@ function Jf(e) {
|
|
|
2586
2586
|
function Mn(e) {
|
|
2587
2587
|
for (var t = De(e), n = Ls(e); n && Kf(n) && nt(n).position === "static"; )
|
|
2588
2588
|
n = Ls(n);
|
|
2589
|
-
return n && (
|
|
2589
|
+
return n && (We(n) === "html" || We(n) === "body" && nt(n).position === "static") ? t : n || Jf(e) || t;
|
|
2590
2590
|
}
|
|
2591
2591
|
function Fr(e) {
|
|
2592
2592
|
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
@@ -2615,8 +2615,8 @@ var Zf = function(e, t) {
|
|
|
2615
2615
|
function Qf(e) {
|
|
2616
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 = 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],
|
|
2619
|
-
n.modifiersData[o] = (t = {}, 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], N = O / 2 - f[u] / 2 + P, b = bn(C, N, A), $ = c;
|
|
2619
|
+
n.modifiersData[o] = (t = {}, t[$] = b, t.centerOffset = b - N, t);
|
|
2620
2620
|
}
|
|
2621
2621
|
}
|
|
2622
2622
|
function Xf(e) {
|
|
@@ -2637,22 +2637,22 @@ function Fs(e) {
|
|
|
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
|
|
2641
|
-
if (
|
|
2640
|
+
var N = Mn(n), b = "clientHeight", $ = "clientWidth";
|
|
2641
|
+
if (N === De(n) && (N = ct(n), nt(N).position !== "static" && i === "absolute" && (b = "scrollHeight", $ = "scrollWidth")), N = N, r === _e || (r === we || r === Ie) && s === kn) {
|
|
2642
2642
|
C = Ae;
|
|
2643
|
-
var
|
|
2644
|
-
v -=
|
|
2643
|
+
var D = d && N === A && A.visualViewport ? A.visualViewport.height : N[b];
|
|
2644
|
+
v -= D - o.height, v *= c ? 1 : -1;
|
|
2645
2645
|
}
|
|
2646
2646
|
if (r === we || (r === _e || r === Ae) && s === kn) {
|
|
2647
2647
|
P = Ie;
|
|
2648
|
-
var x = d &&
|
|
2648
|
+
var x = d && N === A && A.visualViewport ? A.visualViewport.width : N[$];
|
|
2649
2649
|
m -= x - o.width, m *= c ? 1 : -1;
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
var w = Object.assign({ position: i }, l && tp), I = u === !0 ? np({ x: m, y: v }) : { x: m, y: v };
|
|
2653
2653
|
if (m = I.x, v = I.y, c) {
|
|
2654
|
-
var
|
|
2655
|
-
return Object.assign({}, w, (
|
|
2654
|
+
var R;
|
|
2655
|
+
return Object.assign({}, w, (R = {}, R[C] = O ? "0" : "", R[P] = g ? "0" : "", R.transform = (A.devicePixelRatio || 1) <= 1 ? "translate(" + m + "px, " + v + "px)" : "translate3d(" + m + "px, " + v + "px, 0)", R));
|
|
2656
2656
|
}
|
|
2657
2657
|
return Object.assign({}, w, (t = {}, t[C] = O ? v + "px" : "", t[P] = g ? m + "px" : "", t.transform = "", t));
|
|
2658
2658
|
}
|
|
@@ -2704,7 +2704,7 @@ function Br(e) {
|
|
|
2704
2704
|
return /auto|scroll|overlay|hidden/.test(n + r + o);
|
|
2705
2705
|
}
|
|
2706
2706
|
function yi(e) {
|
|
2707
|
-
return ["html", "body", "#document"].indexOf(
|
|
2707
|
+
return ["html", "body", "#document"].indexOf(We(e)) >= 0 ? e.ownerDocument.body : Pe(e) && Br(e) ? e : yi(ko(e));
|
|
2708
2708
|
}
|
|
2709
2709
|
function yn(e, t) {
|
|
2710
2710
|
var n;
|
|
@@ -2725,7 +2725,7 @@ function Ds(e, t) {
|
|
|
2725
2725
|
function up(e) {
|
|
2726
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
|
-
return Ut(r) && pi(r, o) &&
|
|
2728
|
+
return Ut(r) && pi(r, o) && We(r) !== "body";
|
|
2729
2729
|
}) : [];
|
|
2730
2730
|
}
|
|
2731
2731
|
function dp(e, t, n) {
|
|
@@ -2769,15 +2769,15 @@ 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, 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 }),
|
|
2773
|
-
if (u === dn &&
|
|
2774
|
-
var x =
|
|
2775
|
-
Object.keys(
|
|
2776
|
-
var I = [Ie, Ae].indexOf(w) >= 0 ? 1 : -1,
|
|
2777
|
-
|
|
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 }), N = rr(Object.assign({}, g, A)), b = u === dn ? N : C, $ = { 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 }, D = e.modifiersData.offset;
|
|
2773
|
+
if (u === dn && D) {
|
|
2774
|
+
var x = D[r];
|
|
2775
|
+
Object.keys($).forEach(function(w) {
|
|
2776
|
+
var I = [Ie, Ae].indexOf(w) >= 0 ? 1 : -1, R = [_e, Ae].indexOf(w) >= 0 ? "y" : "x";
|
|
2777
|
+
$[w] += x[R] * I;
|
|
2778
2778
|
});
|
|
2779
2779
|
}
|
|
2780
|
-
return
|
|
2780
|
+
return $;
|
|
2781
2781
|
}
|
|
2782
2782
|
function fp(e, t) {
|
|
2783
2783
|
t === void 0 && (t = {});
|
|
@@ -2803,37 +2803,37 @@ function pp(e) {
|
|
|
2803
2803
|
function hp(e) {
|
|
2804
2804
|
var t = e.state, n = e.options, o = e.name;
|
|
2805
2805
|
if (!t.modifiersData[o]._skip) {
|
|
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,
|
|
2807
|
-
return ut.concat(ze(
|
|
2808
|
-
}, []), A = t.rects.reference,
|
|
2809
|
-
var w = C[x], I = ze(w),
|
|
2810
|
-
A[q] >
|
|
2811
|
-
var
|
|
2812
|
-
if (s && K.push(z[I] <= 0), i && K.push(z[k] <= 0, z[
|
|
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, Ye) {
|
|
2807
|
+
return ut.concat(ze(Ye) === $r ? fp(t, { placement: Ye, boundary: u, rootBoundary: d, padding: l, flipVariations: p, allowedAutoPlacements: v }) : Ye);
|
|
2808
|
+
}, []), A = t.rects.reference, N = t.rects.popper, b = /* @__PURE__ */ new Map(), $ = !0, D = C[0], x = 0; x < C.length; x++) {
|
|
2809
|
+
var w = C[x], I = ze(w), R = 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 ? R ? Ie : we : R ? Ae : _e;
|
|
2810
|
+
A[q] > N[q] && (k = ro(k));
|
|
2811
|
+
var j = ro(k), K = [];
|
|
2812
|
+
if (s && K.push(z[I] <= 0), i && K.push(z[k] <= 0, z[j] <= 0), K.every(function(ut) {
|
|
2813
2813
|
return ut;
|
|
2814
2814
|
})) {
|
|
2815
|
-
|
|
2815
|
+
D = w, $ = !1;
|
|
2816
2816
|
break;
|
|
2817
2817
|
}
|
|
2818
2818
|
b.set(w, K);
|
|
2819
2819
|
}
|
|
2820
|
-
if (
|
|
2821
|
-
for (var te = p ? 3 : 1,
|
|
2822
|
-
var
|
|
2820
|
+
if ($)
|
|
2821
|
+
for (var te = p ? 3 : 1, Je = function(ut) {
|
|
2822
|
+
var Ye = C.find(function(Rn) {
|
|
2823
2823
|
var sn = b.get(Rn);
|
|
2824
2824
|
if (sn)
|
|
2825
2825
|
return sn.slice(0, ut).every(function(Nt) {
|
|
2826
2826
|
return Nt;
|
|
2827
2827
|
});
|
|
2828
2828
|
});
|
|
2829
|
-
if (
|
|
2830
|
-
return
|
|
2829
|
+
if (Ye)
|
|
2830
|
+
return D = Ye, "break";
|
|
2831
2831
|
}, ke = te; ke > 0; ke--) {
|
|
2832
|
-
var Nn =
|
|
2832
|
+
var Nn = Je(ke);
|
|
2833
2833
|
if (Nn === "break")
|
|
2834
2834
|
break;
|
|
2835
2835
|
}
|
|
2836
|
-
t.placement !==
|
|
2836
|
+
t.placement !== D && (t.modifiersData[o]._skip = !0, t.placement = D, t.reset = !0);
|
|
2837
2837
|
}
|
|
2838
2838
|
}
|
|
2839
2839
|
var mp = { name: "flip", enabled: !0, phase: "main", fn: hp, requiresIfExists: ["offset"], data: { _skip: !1 } };
|
|
@@ -2870,15 +2870,15 @@ 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 = Fr(g), A = xp(C),
|
|
2874
|
-
if (
|
|
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), N = t.modifiersData.popperOffsets, b = t.rects.reference, $ = t.rects.popper, D = typeof v == "function" ? v(Object.assign({}, t.rects, { placement: t.placement })) : v, x = typeof D == "number" ? { mainAxis: D, altAxis: D } : Object.assign({ mainAxis: 0, altAxis: 0 }, D), w = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = { x: 0, y: 0 };
|
|
2874
|
+
if (N) {
|
|
2875
2875
|
if (s) {
|
|
2876
|
-
var
|
|
2877
|
-
|
|
2876
|
+
var R, W = C === "y" ? _e : we, q = C === "y" ? Ae : Ie, z = C === "y" ? "height" : "width", k = N[C], j = k + _[W], K = k - _[q], te = m ? -$[z] / 2 : 0, Je = O === zt ? b[z] : $[z], ke = O === zt ? -$[z] : -b[z], Nn = t.elements.arrow, ut = m && Nn ? Lr(Nn) : { width: 0, height: 0 }, Ye = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : hi(), Rn = Ye[W], sn = Ye[q], Nt = bn(0, b[z], ut[z]), Ol = P ? b[z] / 2 - te - Nt - Rn - x.mainAxis : Je - 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 = (R = w == null ? void 0 : w[C]) != null ? R : 0, Cl = k + Ol - Qr - Pl, Al = k + Tl - Qr, Xr = bn(m ? uo(j, Cl) : j, k, m ? yt(K, Al) : K);
|
|
2877
|
+
N[C] = Xr, I[C] = Xr - k;
|
|
2878
2878
|
}
|
|
2879
2879
|
if (i) {
|
|
2880
|
-
var es, Il = C === "x" ? _e : we, Ml = C === "x" ? Ae : Ie, dt =
|
|
2881
|
-
|
|
2880
|
+
var es, Il = C === "x" ? _e : we, Ml = C === "x" ? Ae : Ie, dt = N[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] - $[Ln] - os + x.altAxis, ss = Io ? dt + b[Ln] + $[Ln] - os - x.altAxis : ns, as = m && Io ? Yf(rs, dt, ss) : bn(m ? rs : ts, dt, m ? ss : ns);
|
|
2881
|
+
N[A] = as, I[A] = as - dt;
|
|
2882
2882
|
}
|
|
2883
2883
|
t.modifiersData[o] = I;
|
|
2884
2884
|
}
|
|
@@ -2897,7 +2897,7 @@ function Tp(e) {
|
|
|
2897
2897
|
function Pp(e, t, n) {
|
|
2898
2898
|
n === void 0 && (n = !1);
|
|
2899
2899
|
var o = Pe(t), r = Pe(t) && Tp(t), s = ct(t), a = Wt(e, r), i = { scrollLeft: 0, scrollTop: 0 }, c = { x: 0, y: 0 };
|
|
2900
|
-
return (o || !o && !n) && ((
|
|
2900
|
+
return (o || !o && !n) && ((We(t) !== "body" || Br(s)) && (i = Op(t)), Pe(t) ? (c = Wt(t, !0), c.x += t.clientLeft, c.y += t.clientTop) : s && (c.x = Dr(s))), { x: a.left + i.scrollLeft - c.x, y: a.top + i.scrollTop - c.y, width: a.width, height: a.height };
|
|
2901
2901
|
}
|
|
2902
2902
|
function Cp(e) {
|
|
2903
2903
|
var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), o = [];
|
|
@@ -2969,16 +2969,16 @@ 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(_, Mn(g), l.options.strategy === "fixed"), popper: Lr(g) }, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(
|
|
2973
|
-
return l.modifiersData[
|
|
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($) {
|
|
2973
|
+
return l.modifiersData[$.name] = Object.assign({}, $.data);
|
|
2974
2974
|
});
|
|
2975
2975
|
for (var O = 0; O < l.orderedModifiers.length; O++) {
|
|
2976
2976
|
if (l.reset === !0) {
|
|
2977
2977
|
l.reset = !1, O = -1;
|
|
2978
2978
|
continue;
|
|
2979
2979
|
}
|
|
2980
|
-
var P = l.orderedModifiers[O], C = P.fn, A = P.options,
|
|
2981
|
-
typeof C == "function" && (l = C({ state: l, options:
|
|
2980
|
+
var P = l.orderedModifiers[O], C = P.fn, A = P.options, N = A === void 0 ? {} : A, b = P.name;
|
|
2981
|
+
typeof C == "function" && (l = C({ state: l, options: N, name: b, instance: f }) || l);
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
@@ -3060,7 +3060,7 @@ const Lp = (e, t, n = {}) => {
|
|
|
3060
3060
|
deep: !0
|
|
3061
3061
|
}), Y([e, t], ([c, l]) => {
|
|
3062
3062
|
i(), !(!c || !l) && (s.value = Rp(c, l, y(r)));
|
|
3063
|
-
}),
|
|
3063
|
+
}), qe(() => {
|
|
3064
3064
|
i();
|
|
3065
3065
|
}), {
|
|
3066
3066
|
state: E(() => {
|
|
@@ -3117,7 +3117,7 @@ const Ws = (e) => {
|
|
|
3117
3117
|
}, Bp = (e) => {
|
|
3118
3118
|
X(() => {
|
|
3119
3119
|
Ft.length === 0 && document.addEventListener("keydown", Ws), ve && Ft.push(e);
|
|
3120
|
-
}),
|
|
3120
|
+
}), qe(() => {
|
|
3121
3121
|
Ft = Ft.filter((t) => t !== e), Ft.length === 0 && ve && document.removeEventListener("keydown", Ws);
|
|
3122
3122
|
});
|
|
3123
3123
|
};
|
|
@@ -3168,7 +3168,7 @@ const Ei = () => {
|
|
|
3168
3168
|
s(() => {
|
|
3169
3169
|
o(u);
|
|
3170
3170
|
const d = y(n);
|
|
3171
|
-
|
|
3171
|
+
Ve(d) && d > 0 && a(() => {
|
|
3172
3172
|
r(u);
|
|
3173
3173
|
}, d);
|
|
3174
3174
|
}, y(e));
|
|
@@ -3198,7 +3198,7 @@ const Ei = () => {
|
|
|
3198
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
|
-
return
|
|
3201
|
+
return Ve(s) ? s : ki;
|
|
3202
3202
|
}), o = E(() => n.value + Gs.value);
|
|
3203
3203
|
return {
|
|
3204
3204
|
initialZIndex: n,
|
|
@@ -3324,7 +3324,7 @@ const Zp = ue({
|
|
|
3324
3324
|
"--color": s
|
|
3325
3325
|
};
|
|
3326
3326
|
});
|
|
3327
|
-
return (r, s) => (T(),
|
|
3327
|
+
return (r, s) => (T(), L("i", Jt({
|
|
3328
3328
|
class: y(n).b(),
|
|
3329
3329
|
style: y(o)
|
|
3330
3330
|
}, r.$attrs), [
|
|
@@ -3381,11 +3381,11 @@ const Ni = ue({
|
|
|
3381
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
|
+
}), qe(() => {
|
|
3385
3385
|
s.value = void 0;
|
|
3386
3386
|
}), t({
|
|
3387
3387
|
arrowRef: s
|
|
3388
|
-
}), (i, c) => (T(),
|
|
3388
|
+
}), (i, c) => (T(), L("span", {
|
|
3389
3389
|
ref_key: "arrowRef",
|
|
3390
3390
|
ref: s,
|
|
3391
3391
|
class: se(y(o).e("arrow")),
|
|
@@ -3523,11 +3523,11 @@ const Li = ue({
|
|
|
3523
3523
|
}, {
|
|
3524
3524
|
immediate: !0
|
|
3525
3525
|
});
|
|
3526
|
-
}),
|
|
3526
|
+
}), qe(() => {
|
|
3527
3527
|
l == null || l(), l = void 0;
|
|
3528
3528
|
}), t({
|
|
3529
3529
|
triggerRef: r
|
|
3530
|
-
}), (u, d) => u.virtualTriggering ?
|
|
3530
|
+
}), (u, d) => u.virtualTriggering ? F("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),
|
|
@@ -3612,7 +3612,7 @@ const bh = () => {
|
|
|
3612
3612
|
Ur.value = "keyboard", Oo.value = window.performance.now();
|
|
3613
3613
|
}, wh = () => (X(() => {
|
|
3614
3614
|
Bn === 0 && (document.addEventListener("mousedown", Hn), document.addEventListener("touchstart", Hn), document.addEventListener("keydown", na)), Bn++;
|
|
3615
|
-
}),
|
|
3615
|
+
}), qe(() => {
|
|
3616
3616
|
Bn--, Bn <= 0 && (document.removeEventListener("mousedown", Hn), document.removeEventListener("touchstart", Hn), document.removeEventListener("keydown", na));
|
|
3617
3617
|
}), {
|
|
3618
3618
|
focusReason: Ur,
|
|
@@ -3659,22 +3659,22 @@ const bh = () => {
|
|
|
3659
3659
|
}, i = (p) => {
|
|
3660
3660
|
if (!e.loop && !e.trapped || a.paused)
|
|
3661
3661
|
return;
|
|
3662
|
-
const { key: v, altKey: _, ctrlKey: g, metaKey: O, currentTarget: P, shiftKey: C } = p, { loop: A } = e,
|
|
3663
|
-
if (
|
|
3664
|
-
const
|
|
3665
|
-
if (
|
|
3662
|
+
const { key: v, altKey: _, ctrlKey: g, metaKey: O, currentTarget: P, shiftKey: C } = p, { loop: A } = e, N = v === me.tab && !_ && !g && !O, b = document.activeElement;
|
|
3663
|
+
if (N && b) {
|
|
3664
|
+
const $ = P, [D, x] = vh($);
|
|
3665
|
+
if (D && x) {
|
|
3666
3666
|
if (!C && b === x) {
|
|
3667
3667
|
const I = zn({
|
|
3668
3668
|
focusReason: s.value
|
|
3669
3669
|
});
|
|
3670
|
-
t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(
|
|
3671
|
-
} else if (C && [
|
|
3670
|
+
t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(D, !0));
|
|
3671
|
+
} else if (C && [D, $].includes(b)) {
|
|
3672
3672
|
const I = zn({
|
|
3673
3673
|
focusReason: s.value
|
|
3674
3674
|
});
|
|
3675
3675
|
t("focusout-prevented", I), I.defaultPrevented || (p.preventDefault(), A && st(x, !0));
|
|
3676
3676
|
}
|
|
3677
|
-
} else if (b ===
|
|
3677
|
+
} else if (b === $) {
|
|
3678
3678
|
const I = zn({
|
|
3679
3679
|
focusReason: s.value
|
|
3680
3680
|
});
|
|
@@ -3717,14 +3717,14 @@ const bh = () => {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
};
|
|
3719
3719
|
async function f() {
|
|
3720
|
-
await
|
|
3720
|
+
await Ue();
|
|
3721
3721
|
const p = y(n);
|
|
3722
3722
|
if (p) {
|
|
3723
3723
|
ta.push(a);
|
|
3724
3724
|
const v = p.contains(document.activeElement) ? o : document.activeElement;
|
|
3725
3725
|
if (o = v, !p.contains(v)) {
|
|
3726
3726
|
const g = new Event(Ho, Ys);
|
|
3727
|
-
p.addEventListener(Ho, c), p.dispatchEvent(g), g.defaultPrevented ||
|
|
3727
|
+
p.addEventListener(Ho, c), p.dispatchEvent(g), g.defaultPrevented || Ue(() => {
|
|
3728
3728
|
let O = e.focusStartEl;
|
|
3729
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
|
});
|
|
@@ -3748,7 +3748,7 @@ const bh = () => {
|
|
|
3748
3748
|
e.trapped && f(), Y(() => e.trapped, (p) => {
|
|
3749
3749
|
p ? f() : m();
|
|
3750
3750
|
});
|
|
3751
|
-
}),
|
|
3751
|
+
}), qe(() => {
|
|
3752
3752
|
e.trapped && m();
|
|
3753
3753
|
}), {
|
|
3754
3754
|
onKeydown: i
|
|
@@ -3942,7 +3942,7 @@ const Mh = 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 = M(
|
|
3945
|
+
const { nextZIndex: r } = Ti(), s = ae("popper"), a = E(() => y(t).popper), i = M(Ve(e.zIndex) ? e.zIndex : r()), c = E(() => [
|
|
3946
3946
|
s.b(),
|
|
3947
3947
|
s.is("pure", e.pure),
|
|
3948
3948
|
s.is(e.effect),
|
|
@@ -3960,7 +3960,7 @@ const Mh = 0, $h = (e) => {
|
|
|
3960
3960
|
contentStyle: l,
|
|
3961
3961
|
contentZIndex: i,
|
|
3962
3962
|
updateZIndex: () => {
|
|
3963
|
-
i.value =
|
|
3963
|
+
i.value = Ve(e.zIndex) ? e.zIndex : r();
|
|
3964
3964
|
}
|
|
3965
3965
|
};
|
|
3966
3966
|
}, Rh = (e, t) => {
|
|
@@ -4005,56 +4005,56 @@ const Mh = 0, $h = (e) => {
|
|
|
4005
4005
|
arrowStyle: P,
|
|
4006
4006
|
contentAttrs: C,
|
|
4007
4007
|
contentClass: A,
|
|
4008
|
-
contentStyle:
|
|
4008
|
+
contentStyle: N,
|
|
4009
4009
|
updateZIndex: b
|
|
4010
4010
|
} = Nh(o, {
|
|
4011
4011
|
styles: p,
|
|
4012
4012
|
attributes: d,
|
|
4013
4013
|
role: _
|
|
4014
|
-
}),
|
|
4014
|
+
}), $ = Z(Ks, void 0), D = M();
|
|
4015
4015
|
re(Mi, {
|
|
4016
4016
|
arrowStyle: P,
|
|
4017
4017
|
arrowRef: f,
|
|
4018
|
-
arrowOffset:
|
|
4019
|
-
}),
|
|
4020
|
-
|
|
4018
|
+
arrowOffset: D
|
|
4019
|
+
}), $ && ($.addInputId || $.removeInputId) && re(Ks, {
|
|
4020
|
+
...$,
|
|
4021
4021
|
addInputId: lo,
|
|
4022
4022
|
removeInputId: lo
|
|
4023
4023
|
});
|
|
4024
4024
|
let x;
|
|
4025
|
-
const w = (
|
|
4026
|
-
g(),
|
|
4025
|
+
const w = (R = !0) => {
|
|
4026
|
+
g(), R && b();
|
|
4027
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(() => {
|
|
4031
|
-
Y(() => o.triggerTargetEl, (
|
|
4031
|
+
Y(() => o.triggerTargetEl, (R, W) => {
|
|
4032
4032
|
x == null || x(), x = void 0;
|
|
4033
|
-
const q = y(
|
|
4033
|
+
const q = y(R || 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((
|
|
4036
|
-
En(k[K]) ? q.removeAttribute(
|
|
4035
|
+
["role", "aria-label", "aria-modal", "id"].forEach((j, K) => {
|
|
4036
|
+
En(k[K]) ? q.removeAttribute(j) : q.setAttribute(j, 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
4041
|
}, { immediate: !0 }), Y(() => o.visible, I, { immediate: !0 });
|
|
4042
|
-
}),
|
|
4042
|
+
}), qe(() => {
|
|
4043
4043
|
x == null || x(), x = void 0;
|
|
4044
4044
|
}), t({
|
|
4045
4045
|
popperContentRef: m,
|
|
4046
4046
|
popperInstanceRef: v,
|
|
4047
4047
|
updatePopper: w,
|
|
4048
|
-
contentStyle:
|
|
4049
|
-
}), (
|
|
4048
|
+
contentStyle: N
|
|
4049
|
+
}), (R, W) => (T(), L("div", Jt({
|
|
4050
4050
|
ref_key: "contentRef",
|
|
4051
4051
|
ref: m
|
|
4052
4052
|
}, y(C), {
|
|
4053
|
-
style: y(
|
|
4053
|
+
style: y(N),
|
|
4054
4054
|
class: y(A),
|
|
4055
4055
|
tabindex: "-1",
|
|
4056
|
-
onMouseenter: W[0] || (W[0] = (q) =>
|
|
4057
|
-
onMouseleave: W[1] || (W[1] = (q) =>
|
|
4056
|
+
onMouseenter: W[0] || (W[0] = (q) => R.$emit("mouseenter", q)),
|
|
4057
|
+
onMouseleave: W[1] || (W[1] = (q) => R.$emit("mouseleave", q))
|
|
4058
4058
|
}), [
|
|
4059
4059
|
Q(y(Sh), {
|
|
4060
4060
|
trapped: y(s),
|
|
@@ -4068,7 +4068,7 @@ const Mh = 0, $h = (e) => {
|
|
|
4068
4068
|
onReleaseRequested: y(u)
|
|
4069
4069
|
}, {
|
|
4070
4070
|
default: U(() => [
|
|
4071
|
-
oe(
|
|
4071
|
+
oe(R.$slots, "default")
|
|
4072
4072
|
]),
|
|
4073
4073
|
_: 3
|
|
4074
4074
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusin", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -4146,11 +4146,11 @@ const Dh = At(rh), Wr = Symbol("elTooltip"), Di = ue({
|
|
|
4146
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
|
-
}, f =
|
|
4149
|
+
}, f = et(n, "trigger"), m = Qe(d, Rt(f, "hover", i)), p = Qe(d, Rt(f, "hover", c)), v = Qe(d, Rt(f, "click", (C) => {
|
|
4150
4150
|
C.button === 0 && l(C);
|
|
4151
|
-
})), _ =
|
|
4151
|
+
})), _ = Qe(d, Rt(f, "focus", i)), g = Qe(d, Rt(f, "focus", c)), O = Qe(d, Rt(f, "contextmenu", (C) => {
|
|
4152
4152
|
C.preventDefault(), l(C);
|
|
4153
|
-
})), P =
|
|
4153
|
+
})), P = Qe(d, (C) => {
|
|
4154
4154
|
const { code: A } = C;
|
|
4155
4155
|
n.triggerKeys.includes(A) && (C.preventDefault(), l(C));
|
|
4156
4156
|
});
|
|
@@ -4197,25 +4197,25 @@ const Jh = H({
|
|
|
4197
4197
|
onBeforeShow: v,
|
|
4198
4198
|
onBeforeHide: _
|
|
4199
4199
|
} = Z(Wr, void 0), g = E(() => n.transition || `${r.namespace.value}-fade-in-linear`), O = E(() => process.env.NODE_ENV === "test" ? !0 : n.persistent);
|
|
4200
|
-
|
|
4200
|
+
qe(() => {
|
|
4201
4201
|
a.value = !0;
|
|
4202
4202
|
});
|
|
4203
|
-
const P = E(() => y(O) ? !0 : y(l)), C = E(() => n.disabled ? !1 : y(l)), A = E(() => n.appendTo || o.value),
|
|
4203
|
+
const P = E(() => y(O) ? !0 : y(l)), C = E(() => n.disabled ? !1 : y(l)), A = E(() => n.appendTo || o.value), N = E(() => {
|
|
4204
4204
|
var k;
|
|
4205
4205
|
return (k = n.style) != null ? k : {};
|
|
4206
|
-
}), b = E(() => !y(l)),
|
|
4206
|
+
}), b = E(() => !y(l)), $ = () => {
|
|
4207
4207
|
p();
|
|
4208
|
-
},
|
|
4208
|
+
}, D = () => {
|
|
4209
4209
|
if (y(i))
|
|
4210
4210
|
return !0;
|
|
4211
|
-
}, x =
|
|
4211
|
+
}, x = Qe(D, () => {
|
|
4212
4212
|
n.enterable && y(u) === "hover" && f();
|
|
4213
|
-
}), w =
|
|
4213
|
+
}), w = Qe(D, () => {
|
|
4214
4214
|
y(u) === "hover" && d();
|
|
4215
4215
|
}), I = () => {
|
|
4216
|
-
var k,
|
|
4217
|
-
(
|
|
4218
|
-
},
|
|
4216
|
+
var k, j;
|
|
4217
|
+
(j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k), v == null || v();
|
|
4218
|
+
}, R = () => {
|
|
4219
4219
|
_ == null || _();
|
|
4220
4220
|
}, W = () => {
|
|
4221
4221
|
m(), z = hu(E(() => {
|
|
@@ -4235,20 +4235,20 @@ const Jh = H({
|
|
|
4235
4235
|
}, {
|
|
4236
4236
|
flush: "post"
|
|
4237
4237
|
}), Y(() => n.content, () => {
|
|
4238
|
-
var k,
|
|
4239
|
-
(
|
|
4238
|
+
var k, j;
|
|
4239
|
+
(j = (k = s.value) == null ? void 0 : k.updatePopper) == null || j.call(k);
|
|
4240
4240
|
}), t({
|
|
4241
4241
|
contentRef: s
|
|
4242
|
-
}), (k,
|
|
4242
|
+
}), (k, j) => (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:
|
|
4248
|
+
onAfterLeave: $,
|
|
4249
4249
|
onBeforeEnter: I,
|
|
4250
4250
|
onAfterEnter: W,
|
|
4251
|
-
onBeforeLeave:
|
|
4251
|
+
onBeforeLeave: R
|
|
4252
4252
|
}, {
|
|
4253
4253
|
default: U(() => [
|
|
4254
4254
|
y(P) ? He((T(), ee(y(jh), Jt({
|
|
@@ -4270,7 +4270,7 @@ const Jh = H({
|
|
|
4270
4270
|
enterable: k.enterable,
|
|
4271
4271
|
pure: k.pure,
|
|
4272
4272
|
"popper-class": k.popperClass,
|
|
4273
|
-
"popper-style": [k.popperStyle, y(
|
|
4273
|
+
"popper-style": [k.popperStyle, y(N)],
|
|
4274
4274
|
"reference-el": k.referenceEl,
|
|
4275
4275
|
"trigger-target-el": k.triggerTargetEl,
|
|
4276
4276
|
visible: y(C),
|
|
@@ -4281,12 +4281,12 @@ const Jh = H({
|
|
|
4281
4281
|
onClose: y(d)
|
|
4282
4282
|
}), {
|
|
4283
4283
|
default: U(() => [
|
|
4284
|
-
a.value ?
|
|
4284
|
+
a.value ? F("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
|
-
]) :
|
|
4289
|
+
]) : F("v-if", !0)
|
|
4290
4290
|
]),
|
|
4291
4291
|
_: 3
|
|
4292
4292
|
}, 8, ["name"])
|
|
@@ -4311,9 +4311,9 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
|
|
|
4311
4311
|
indicator: c,
|
|
4312
4312
|
toggleReason: l
|
|
4313
4313
|
}), { onOpen: m, onClose: p } = Vp({
|
|
4314
|
-
showAfter:
|
|
4315
|
-
hideAfter:
|
|
4316
|
-
autoClose:
|
|
4314
|
+
showAfter: et(o, "showAfter"),
|
|
4315
|
+
hideAfter: et(o, "hideAfter"),
|
|
4316
|
+
autoClose: et(o, "autoClose"),
|
|
4317
4317
|
open: u,
|
|
4318
4318
|
close: d
|
|
4319
4319
|
}), v = E(() => ei(o.visible) && !f.value);
|
|
@@ -4321,7 +4321,7 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
|
|
|
4321
4321
|
controlled: v,
|
|
4322
4322
|
id: r,
|
|
4323
4323
|
open: Ea(c),
|
|
4324
|
-
trigger:
|
|
4324
|
+
trigger: et(o, "trigger"),
|
|
4325
4325
|
onOpen: (g) => {
|
|
4326
4326
|
m(g);
|
|
4327
4327
|
},
|
|
@@ -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 }) :
|
|
4377
|
+
g.$slots.default ? oe(g.$slots, "default", { key: 0 }) : F("v-if", !0)
|
|
4378
4378
|
]),
|
|
4379
4379
|
_: 3
|
|
4380
4380
|
}, 8, ["disabled", "trigger", "trigger-keys", "virtual-ref", "virtual-triggering"]),
|
|
@@ -4410,15 +4410,15 @@ const Qh = ["innerHTML"], Xh = { key: 1 }, em = H({
|
|
|
4410
4410
|
}, {
|
|
4411
4411
|
default: U(() => [
|
|
4412
4412
|
oe(g.$slots, "content", {}, () => [
|
|
4413
|
-
g.rawContent ? (T(),
|
|
4413
|
+
g.rawContent ? (T(), L("span", {
|
|
4414
4414
|
key: 0,
|
|
4415
4415
|
innerHTML: g.content
|
|
4416
|
-
}, null, 8, Qh)) : (T(),
|
|
4416
|
+
}, null, 8, Qh)) : (T(), L("span", Xh, ne(g.content), 1))
|
|
4417
4417
|
]),
|
|
4418
4418
|
g.showArrow ? (T(), ee(y(ih), {
|
|
4419
4419
|
key: 0,
|
|
4420
4420
|
"arrow-offset": g.arrowOffset
|
|
4421
|
-
}, null, 8, ["arrow-offset"])) :
|
|
4421
|
+
}, null, 8, ["arrow-offset"])) : F("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"])
|
|
@@ -4450,10 +4450,10 @@ const Hi = At(nm), om = ue({
|
|
|
4450
4450
|
...sm,
|
|
4451
4451
|
props: om,
|
|
4452
4452
|
setup(e, { expose: t }) {
|
|
4453
|
-
const n = e, o = ae("badge"), r = E(() => n.isDot ? "" :
|
|
4453
|
+
const n = e, o = ae("badge"), r = E(() => n.isDot ? "" : Ve(n.value) && Ve(n.max) ? n.max < n.value ? `${n.max}+` : `${n.value}` : `${n.value}`);
|
|
4454
4454
|
return t({
|
|
4455
4455
|
content: r
|
|
4456
|
-
}), (s, a) => (T(),
|
|
4456
|
+
}), (s, a) => (T(), L("div", {
|
|
4457
4457
|
class: se(y(o).b())
|
|
4458
4458
|
}, [
|
|
4459
4459
|
oe(s.$slots, "default"),
|
|
@@ -4757,7 +4757,7 @@ var ir = {
|
|
|
4757
4757
|
};
|
|
4758
4758
|
function gm(e) {
|
|
4759
4759
|
var t = { r: 0, g: 0, b: 0 }, n = 1, o = null, r = null, s = null, a = !1, i = !1;
|
|
4760
|
-
return typeof e == "string" && (e = _m(e)), typeof e == "object" && (
|
|
4760
|
+
return typeof e == "string" && (e = _m(e)), typeof e == "object" && (Ze(e.r) && Ze(e.g) && Ze(e.b) ? (t = dm(e.r, e.g, e.b), a = !0, i = String(e.r).substr(-1) === "%" ? "prgb" : "rgb") : Ze(e.h) && Ze(e.s) && Ze(e.v) ? (o = Vn(e.s), r = Vn(e.v), t = pm(e.h, o, r), a = !0, i = "hsv") : Ze(e.h) && Ze(e.s) && Ze(e.l) && (o = Vn(e.s), s = Vn(e.l), t = fm(e.h, o, s), a = !0, i = "hsl"), Object.prototype.hasOwnProperty.call(e, "a") && (n = e.a)), n = zi(n), {
|
|
4761
4761
|
ok: a,
|
|
4762
4762
|
format: e.format || i,
|
|
4763
4763
|
r: Math.min(255, Math.max(t.r, 0)),
|
|
@@ -4812,7 +4812,7 @@ function _m(e) {
|
|
|
4812
4812
|
format: t ? "name" : "hex"
|
|
4813
4813
|
} : !1)))))))));
|
|
4814
4814
|
}
|
|
4815
|
-
function
|
|
4815
|
+
function Ze(e) {
|
|
4816
4816
|
return !!$e.CSS_UNIT.exec(String(e));
|
|
4817
4817
|
}
|
|
4818
4818
|
var wm = (
|
|
@@ -5100,9 +5100,9 @@ const Pm = At(Tm), Cm = ue({
|
|
|
5100
5100
|
const a = [];
|
|
5101
5101
|
return ["span", "offset", "pull", "push"].forEach((l) => {
|
|
5102
5102
|
const u = t[l];
|
|
5103
|
-
|
|
5103
|
+
Ve(u) && (l === "span" ? a.push(o.b(`${t[l]}`)) : u > 0 && a.push(o.b(`${l}-${t[l]}`)));
|
|
5104
5104
|
}), ["xs", "sm", "md", "lg", "xl"].forEach((l) => {
|
|
5105
|
-
|
|
5105
|
+
Ve(t[l]) ? a.push(o.b(`${l}-${t[l]}`)) : Pt(t[l]) && Object.entries(t[l]).forEach(([u, d]) => {
|
|
5106
5106
|
a.push(u !== "span" ? o.b(`${l}-${u}-${d}`) : o.b(`${l}-${d}`));
|
|
5107
5107
|
});
|
|
5108
5108
|
}), n.value && a.push(o.is("guttered")), [o.b(), a];
|
|
@@ -5373,11 +5373,11 @@ var qr = H({
|
|
|
5373
5373
|
l || co(Wn, "can not inject sub menu");
|
|
5374
5374
|
const u = M({}), d = M({});
|
|
5375
5375
|
let f;
|
|
5376
|
-
const m = M(!1), p = M(), v = M(null), _ = E(() =>
|
|
5376
|
+
const m = M(!1), p = M(), v = M(null), _ = E(() => $.value === "horizontal" && O.value ? "bottom-start" : "right-start"), g = E(() => $.value === "horizontal" && O.value || $.value === "vertical" && !c.props.collapse ? e.expandCloseIcon && e.expandOpenIcon ? N.value ? e.expandOpenIcon : e.expandCloseIcon : uf : e.collapseCloseIcon && e.collapseOpenIcon ? N.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(() =>
|
|
5380
|
+
}), C = E(() => c.props.collapse ? `${a.namespace.value}-zoom-in-left` : `${a.namespace.value}-zoom-in-top`), A = E(() => $.value === "horizontal" && O.value ? [
|
|
5381
5381
|
"bottom-start",
|
|
5382
5382
|
"bottom-end",
|
|
5383
5383
|
"top-start",
|
|
@@ -5393,43 +5393,43 @@ var qr = H({
|
|
|
5393
5393
|
"bottom-end",
|
|
5394
5394
|
"top-start",
|
|
5395
5395
|
"top-end"
|
|
5396
|
-
]),
|
|
5396
|
+
]), N = E(() => c.openedMenus.includes(e.index)), b = E(() => {
|
|
5397
5397
|
let z = !1;
|
|
5398
5398
|
return Object.values(u.value).forEach((k) => {
|
|
5399
5399
|
k.active && (z = !0);
|
|
5400
5400
|
}), Object.values(d.value).forEach((k) => {
|
|
5401
5401
|
k.active && (z = !0);
|
|
5402
5402
|
}), z;
|
|
5403
|
-
}),
|
|
5403
|
+
}), $ = E(() => c.props.mode), D = 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,
|
|
5409
|
-
return (
|
|
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
5410
|
}, I = (z) => {
|
|
5411
5411
|
z || w();
|
|
5412
|
-
},
|
|
5412
|
+
}, R = () => {
|
|
5413
5413
|
c.props.menuTrigger === "hover" && c.props.mode === "horizontal" || c.props.collapse && c.props.mode === "vertical" || e.disabled || c.handleSubMenuClick({
|
|
5414
5414
|
index: e.index,
|
|
5415
5415
|
indexPath: r.value,
|
|
5416
5416
|
active: b.value
|
|
5417
5417
|
});
|
|
5418
5418
|
}, W = (z, k = e.showTimeout) => {
|
|
5419
|
-
var
|
|
5419
|
+
var j;
|
|
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 && ((
|
|
5422
|
+
}, k), P.value && ((j = s.value.vnode.el) == null || j.dispatchEvent(new MouseEvent("mouseenter")))));
|
|
5423
5423
|
}, q = (z = !1) => {
|
|
5424
|
-
var k,
|
|
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" && ((
|
|
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)));
|
|
5426
5426
|
};
|
|
5427
5427
|
Y(() => c.props.collapse, (z) => I(!!z));
|
|
5428
5428
|
{
|
|
5429
|
-
const z = (
|
|
5430
|
-
d.value[
|
|
5431
|
-
}, k = (
|
|
5432
|
-
delete d.value[
|
|
5429
|
+
const z = (j) => {
|
|
5430
|
+
d.value[j.index] = j;
|
|
5431
|
+
}, k = (j) => {
|
|
5432
|
+
delete d.value[j.index];
|
|
5433
5433
|
};
|
|
5434
5434
|
re(`subMenu:${o.uid}`, {
|
|
5435
5435
|
addSubMenu: z,
|
|
@@ -5440,11 +5440,11 @@ var qr = H({
|
|
|
5440
5440
|
});
|
|
5441
5441
|
}
|
|
5442
5442
|
return n({
|
|
5443
|
-
opened:
|
|
5443
|
+
opened: N
|
|
5444
5444
|
}), X(() => {
|
|
5445
|
-
c.addSubMenu(
|
|
5446
|
-
}),
|
|
5447
|
-
l.removeSubMenu(
|
|
5445
|
+
c.addSubMenu(D), l.addSubMenu(D);
|
|
5446
|
+
}), qe(() => {
|
|
5447
|
+
l.removeSubMenu(D), c.removeSubMenu(D);
|
|
5448
5448
|
}), () => {
|
|
5449
5449
|
var z;
|
|
5450
5450
|
const k = [
|
|
@@ -5452,14 +5452,14 @@ var qr = H({
|
|
|
5452
5452
|
V(po, {
|
|
5453
5453
|
class: i.e("icon-arrow"),
|
|
5454
5454
|
style: {
|
|
5455
|
-
transform:
|
|
5455
|
+
transform: N.value ? e.expandCloseIcon && e.expandOpenIcon || e.collapseCloseIcon && e.collapseOpenIcon && c.props.collapse ? "none" : "rotateZ(180deg)" : "none"
|
|
5456
5456
|
}
|
|
5457
5457
|
}, {
|
|
5458
5458
|
default: () => ye(g.value) ? V(o.appContext.components[g.value]) : V(g.value)
|
|
5459
5459
|
})
|
|
5460
|
-
],
|
|
5460
|
+
], j = c.isMenuPopup ? V(Hi, {
|
|
5461
5461
|
ref: v,
|
|
5462
|
-
visible:
|
|
5462
|
+
visible: N.value,
|
|
5463
5463
|
effect: "light",
|
|
5464
5464
|
pure: !0,
|
|
5465
5465
|
offset: e.popperOffset,
|
|
@@ -5476,7 +5476,7 @@ var qr = H({
|
|
|
5476
5476
|
var K;
|
|
5477
5477
|
return V("div", {
|
|
5478
5478
|
class: [
|
|
5479
|
-
a.m(
|
|
5479
|
+
a.m($.value),
|
|
5480
5480
|
a.m("popup-container"),
|
|
5481
5481
|
e.popperClass
|
|
5482
5482
|
],
|
|
@@ -5496,13 +5496,13 @@ var qr = H({
|
|
|
5496
5496
|
},
|
|
5497
5497
|
default: () => V("div", {
|
|
5498
5498
|
class: i.e("title"),
|
|
5499
|
-
onClick:
|
|
5499
|
+
onClick: R
|
|
5500
5500
|
}, k)
|
|
5501
5501
|
}) : V(ie, {}, [
|
|
5502
5502
|
V("div", {
|
|
5503
5503
|
class: i.e("title"),
|
|
5504
5504
|
ref: p,
|
|
5505
|
-
onClick:
|
|
5505
|
+
onClick: R
|
|
5506
5506
|
}, k),
|
|
5507
5507
|
V(Lm, {}, {
|
|
5508
5508
|
default: () => {
|
|
@@ -5511,7 +5511,7 @@ var qr = H({
|
|
|
5511
5511
|
role: "menu",
|
|
5512
5512
|
class: [a.b(), a.m("inline")],
|
|
5513
5513
|
style: x.value
|
|
5514
|
-
}, [(K = t.default) == null ? void 0 : K.call(t)]), [[Yt,
|
|
5514
|
+
}, [(K = t.default) == null ? void 0 : K.call(t)]), [[Yt, N.value]]);
|
|
5515
5515
|
}
|
|
5516
5516
|
})
|
|
5517
5517
|
]);
|
|
@@ -5519,16 +5519,16 @@ var qr = H({
|
|
|
5519
5519
|
class: [
|
|
5520
5520
|
i.b(),
|
|
5521
5521
|
i.is("active", b.value),
|
|
5522
|
-
i.is("opened",
|
|
5522
|
+
i.is("opened", N.value),
|
|
5523
5523
|
i.is("disabled", e.disabled)
|
|
5524
5524
|
],
|
|
5525
5525
|
role: "menuitem",
|
|
5526
5526
|
ariaHaspopup: !0,
|
|
5527
|
-
ariaExpanded:
|
|
5527
|
+
ariaExpanded: N.value,
|
|
5528
5528
|
onMouseenter: W,
|
|
5529
5529
|
onMouseleave: () => q(!0),
|
|
5530
5530
|
onFocus: W
|
|
5531
|
-
}, [
|
|
5531
|
+
}, [j]);
|
|
5532
5532
|
};
|
|
5533
5533
|
}
|
|
5534
5534
|
});
|
|
@@ -5584,12 +5584,12 @@ var Gm = H({
|
|
|
5584
5584
|
const w = d.value && f.value[d.value];
|
|
5585
5585
|
if (!w || e.mode === "horizontal" || e.collapse)
|
|
5586
5586
|
return;
|
|
5587
|
-
w.indexPath.forEach((
|
|
5588
|
-
const W = m.value[
|
|
5589
|
-
W && _(
|
|
5587
|
+
w.indexPath.forEach((R) => {
|
|
5588
|
+
const W = m.value[R];
|
|
5589
|
+
W && _(R, W.indexPath);
|
|
5590
5590
|
});
|
|
5591
5591
|
}, _ = (w, I) => {
|
|
5592
|
-
u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((
|
|
5592
|
+
u.value.includes(w) || (e.uniqueOpened && (u.value = u.value.filter((R) => I.includes(R))), u.value.push(w), t("open", w, I));
|
|
5593
5593
|
}, g = (w) => {
|
|
5594
5594
|
const I = u.value.indexOf(w);
|
|
5595
5595
|
I !== -1 && u.value.splice(I, 1);
|
|
@@ -5602,41 +5602,41 @@ var Gm = H({
|
|
|
5602
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: I, indexPath:
|
|
5606
|
-
if (!(En(I) || En(
|
|
5605
|
+
const { index: I, indexPath: R } = w;
|
|
5606
|
+
if (!(En(I) || En(R)))
|
|
5607
5607
|
if (e.router && s) {
|
|
5608
5608
|
const W = w.route || I, q = s.push(W).then((z) => (z || (d.value = I), z));
|
|
5609
|
-
t("select", I,
|
|
5609
|
+
t("select", I, R, { index: I, indexPath: R, route: W }, q);
|
|
5610
5610
|
} else
|
|
5611
|
-
d.value = I, t("select", I,
|
|
5611
|
+
d.value = I, t("select", I, R, { index: I, indexPath: R });
|
|
5612
5612
|
}, A = (w) => {
|
|
5613
|
-
const I = f.value,
|
|
5614
|
-
|
|
5615
|
-
},
|
|
5613
|
+
const I = f.value, R = I[w] || d.value && I[d.value] || I[e.defaultActive];
|
|
5614
|
+
R ? d.value = R.index : d.value = w;
|
|
5615
|
+
}, N = () => {
|
|
5616
5616
|
var w, I;
|
|
5617
5617
|
if (!a.value)
|
|
5618
5618
|
return -1;
|
|
5619
|
-
const
|
|
5620
|
-
let
|
|
5621
|
-
return
|
|
5622
|
-
|
|
5623
|
-
}), K ===
|
|
5619
|
+
const R = 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 j = 0, K = 0;
|
|
5621
|
+
return R.forEach((te, Je) => {
|
|
5622
|
+
j += te.offsetWidth || 0, j <= k - W && (K = Je + 1);
|
|
5623
|
+
}), K === R.length ? -1 : K;
|
|
5624
5624
|
}, b = (w, I = 33.34) => {
|
|
5625
|
-
let
|
|
5625
|
+
let R;
|
|
5626
5626
|
return () => {
|
|
5627
|
-
|
|
5627
|
+
R && clearTimeout(R), R = setTimeout(() => {
|
|
5628
5628
|
w();
|
|
5629
5629
|
}, I);
|
|
5630
5630
|
};
|
|
5631
5631
|
};
|
|
5632
|
-
let
|
|
5633
|
-
const
|
|
5632
|
+
let $ = !0;
|
|
5633
|
+
const D = () => {
|
|
5634
5634
|
const w = () => {
|
|
5635
|
-
l.value = -1,
|
|
5636
|
-
l.value =
|
|
5635
|
+
l.value = -1, Ue(() => {
|
|
5636
|
+
l.value = N();
|
|
5637
5637
|
});
|
|
5638
5638
|
};
|
|
5639
|
-
|
|
5639
|
+
$ ? w() : b(w)(), $ = !1;
|
|
5640
5640
|
};
|
|
5641
5641
|
Y(() => e.defaultActive, (w) => {
|
|
5642
5642
|
f.value[w] || (d.value = ""), A(w);
|
|
@@ -5645,7 +5645,7 @@ var Gm = H({
|
|
|
5645
5645
|
}), Y(f.value, v);
|
|
5646
5646
|
let x;
|
|
5647
5647
|
Me(() => {
|
|
5648
|
-
e.mode === "horizontal" && e.ellipsis ? x = Ga(a,
|
|
5648
|
+
e.mode === "horizontal" && e.ellipsis ? x = Ga(a, D).stop : x == null || x();
|
|
5649
5649
|
});
|
|
5650
5650
|
{
|
|
5651
5651
|
const w = (q) => {
|
|
@@ -5683,18 +5683,18 @@ var Gm = H({
|
|
|
5683
5683
|
e.mode === "horizontal" && new Dm(r.vnode.el, i.namespace.value);
|
|
5684
5684
|
}), o({
|
|
5685
5685
|
open: (I) => {
|
|
5686
|
-
const { indexPath:
|
|
5687
|
-
|
|
5686
|
+
const { indexPath: R } = m.value[I];
|
|
5687
|
+
R.forEach((W) => _(W, R));
|
|
5688
5688
|
},
|
|
5689
5689
|
close: g,
|
|
5690
|
-
handleResize:
|
|
5690
|
+
handleResize: D
|
|
5691
5691
|
}), () => {
|
|
5692
5692
|
var w, I;
|
|
5693
|
-
let
|
|
5693
|
+
let R = (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(
|
|
5697
|
-
K != null && K.length && e.ellipsis && (
|
|
5696
|
+
const k = no(R), 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 && (R = j, W.push(V(qr, {
|
|
5698
5698
|
index: "sub-menu-more",
|
|
5699
5699
|
class: c.e("hide-arrow")
|
|
5700
5700
|
}, {
|
|
@@ -5714,7 +5714,7 @@ var Gm = H({
|
|
|
5714
5714
|
[i.m(e.mode)]: !0,
|
|
5715
5715
|
[i.m("collapse")]: e.collapse
|
|
5716
5716
|
}
|
|
5717
|
-
}, [...
|
|
5717
|
+
}, [...R, ...W]);
|
|
5718
5718
|
return e.collapseTransition && e.mode === "vertical" ? V(zm, () => z) : z;
|
|
5719
5719
|
};
|
|
5720
5720
|
}
|
|
@@ -5740,7 +5740,7 @@ const Km = ue({
|
|
|
5740
5740
|
setup(e, { emit: t }) {
|
|
5741
5741
|
const n = je(), o = Z("rootMenu"), r = ae("menu"), s = ae("menu-item");
|
|
5742
5742
|
o || co(Go, "can not inject root menu");
|
|
5743
|
-
const { parentMenu: a, indexPath: i } = Vi(n,
|
|
5743
|
+
const { parentMenu: a, indexPath: i } = Vi(n, et(e, "index")), c = Z(`subMenu:${a.value.uid}`);
|
|
5744
5744
|
c || co(Go, "can not inject sub menu");
|
|
5745
5745
|
const l = E(() => e.index === o.activeIndex), u = Zt({
|
|
5746
5746
|
index: e.index,
|
|
@@ -5755,7 +5755,7 @@ const Km = ue({
|
|
|
5755
5755
|
};
|
|
5756
5756
|
return X(() => {
|
|
5757
5757
|
c.addSubMenu(u), o.addMenuItem(u);
|
|
5758
|
-
}),
|
|
5758
|
+
}), qe(() => {
|
|
5759
5759
|
c.removeSubMenu(u), o.removeMenuItem(u);
|
|
5760
5760
|
}), {
|
|
5761
5761
|
parentMenu: a,
|
|
@@ -5769,7 +5769,7 @@ const Km = ue({
|
|
|
5769
5769
|
});
|
|
5770
5770
|
function Zm(e, t, n, o, r, s) {
|
|
5771
5771
|
const a = Dl("el-tooltip");
|
|
5772
|
-
return T(),
|
|
5772
|
+
return T(), L("li", {
|
|
5773
5773
|
class: se([
|
|
5774
5774
|
e.nsMenuItem.b(),
|
|
5775
5775
|
e.nsMenuItem.is("active", e.active),
|
|
@@ -5797,7 +5797,7 @@ function Zm(e, t, n, o, r, s) {
|
|
|
5797
5797
|
], 2)
|
|
5798
5798
|
]),
|
|
5799
5799
|
_: 3
|
|
5800
|
-
}, 8, ["effect"])) : (T(),
|
|
5800
|
+
}, 8, ["effect"])) : (T(), L(ie, { key: 1 }, [
|
|
5801
5801
|
oe(e.$slots, "default"),
|
|
5802
5802
|
oe(e.$slots, "title")
|
|
5803
5803
|
], 64))
|
|
@@ -5816,13 +5816,13 @@ const Qm = {
|
|
|
5816
5816
|
}
|
|
5817
5817
|
});
|
|
5818
5818
|
function tv(e, t, n, o, r, s) {
|
|
5819
|
-
return T(),
|
|
5819
|
+
return T(), L("li", {
|
|
5820
5820
|
class: se(e.ns.b())
|
|
5821
5821
|
}, [
|
|
5822
5822
|
h("div", {
|
|
5823
5823
|
class: se(e.ns.e("title"))
|
|
5824
5824
|
}, [
|
|
5825
|
-
e.$slots.title ? oe(e.$slots, "title", { key: 1 }) : (T(),
|
|
5825
|
+
e.$slots.title ? oe(e.$slots, "title", { key: 1 }) : (T(), L(ie, { key: 0 }, [
|
|
5826
5826
|
le(ne(e.title), 1)
|
|
5827
5827
|
], 64))
|
|
5828
5828
|
], 2),
|
|
@@ -5945,7 +5945,7 @@ const lr = function(e = {}) {
|
|
|
5945
5945
|
});
|
|
5946
5946
|
av(t, t.parent, n), ia(t, t.parent, n), t.parent.vLoadingAddClassList = () => ia(t, t.parent, n);
|
|
5947
5947
|
let o = t.parent.getAttribute("loading-number");
|
|
5948
|
-
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(n.$el),
|
|
5948
|
+
return o ? o = `${Number.parseInt(o) + 1}` : o = "1", t.parent.setAttribute("loading-number", o), t.parent.appendChild(n.$el), Ue(() => n.visible.value = t.visible), t.fullscreen && (qn = n), n;
|
|
5949
5949
|
}, sv = (e) => {
|
|
5950
5950
|
var t, n, o, r;
|
|
5951
5951
|
let s;
|
|
@@ -5967,7 +5967,7 @@ const lr = function(e = {}) {
|
|
|
5967
5967
|
if (e.fullscreen)
|
|
5968
5968
|
n.originalPosition.value = un(document.body, "position"), n.originalOverflow.value = un(document.body, "overflow"), r.zIndex = o();
|
|
5969
5969
|
else if (e.parent === document.body) {
|
|
5970
|
-
n.originalPosition.value = un(document.body, "position"), await
|
|
5970
|
+
n.originalPosition.value = un(document.body, "position"), await Ue();
|
|
5971
5971
|
for (const s of ["top", "left"]) {
|
|
5972
5972
|
const a = s === "top" ? "scrollTop" : "scrollLeft";
|
|
5973
5973
|
r[s] = `${e.target.getBoundingClientRect()[s] + document.body[a] + document.documentElement[a] - Number.parseInt(un(document.body, `margin-${s}`), 10)}px`;
|
|
@@ -6137,23 +6137,23 @@ const lr = function(e = {}) {
|
|
|
6137
6137
|
function A() {
|
|
6138
6138
|
l.value = !1;
|
|
6139
6139
|
}
|
|
6140
|
-
function
|
|
6140
|
+
function N({ code: b }) {
|
|
6141
6141
|
b === me.esc && A();
|
|
6142
6142
|
}
|
|
6143
6143
|
return X(() => {
|
|
6144
6144
|
P(), i(), l.value = !0;
|
|
6145
6145
|
}), Y(() => n.repeatNum, () => {
|
|
6146
6146
|
C(), P();
|
|
6147
|
-
}), eo(document, "keydown",
|
|
6147
|
+
}), eo(document, "keydown", N), Ga(c, () => {
|
|
6148
6148
|
u.value = c.value.getBoundingClientRect().height;
|
|
6149
6149
|
}), t({
|
|
6150
6150
|
visible: l,
|
|
6151
6151
|
bottom: g,
|
|
6152
6152
|
close: A
|
|
6153
|
-
}), (b,
|
|
6153
|
+
}), (b, $) => (T(), ee(Tt, {
|
|
6154
6154
|
name: y(r).b("fade"),
|
|
6155
6155
|
onBeforeLeave: b.onClose,
|
|
6156
|
-
onAfterLeave:
|
|
6156
|
+
onAfterLeave: $[0] || ($[0] = (D) => 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"])) :
|
|
6181
|
+
}, null, 8, ["value", "type", "class"])) : F("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,15 +6187,15 @@ const lr = function(e = {}) {
|
|
|
6187
6187
|
(T(), ee(br(y(p))))
|
|
6188
6188
|
]),
|
|
6189
6189
|
_: 1
|
|
6190
|
-
}, 8, ["class"])) :
|
|
6190
|
+
}, 8, ["class"])) : F("v-if", !0),
|
|
6191
6191
|
oe(b.$slots, "default", {}, () => [
|
|
6192
|
-
b.dangerouslyUseHTMLString ? (T(),
|
|
6193
|
-
|
|
6192
|
+
b.dangerouslyUseHTMLString ? (T(), L(ie, { key: 1 }, [
|
|
6193
|
+
F(" 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
|
|
6197
6197
|
}, null, 10, hv)
|
|
6198
|
-
], 2112)) : (T(),
|
|
6198
|
+
], 2112)) : (T(), L("p", {
|
|
6199
6199
|
key: 0,
|
|
6200
6200
|
class: se(y(r).e("content"))
|
|
6201
6201
|
}, ne(b.message), 3))
|
|
@@ -6209,7 +6209,7 @@ const lr = function(e = {}) {
|
|
|
6209
6209
|
Q(y(o))
|
|
6210
6210
|
]),
|
|
6211
6211
|
_: 1
|
|
6212
|
-
}, 8, ["class", "onClick"])) :
|
|
6212
|
+
}, 8, ["class", "onClick"])) : F("v-if", !0)
|
|
6213
6213
|
], 46, pv), [
|
|
6214
6214
|
[Yt, l.value]
|
|
6215
6215
|
])
|
|
@@ -6269,7 +6269,7 @@ const Ji = (e) => {
|
|
|
6269
6269
|
if (!ve)
|
|
6270
6270
|
return { close: () => {
|
|
6271
6271
|
} };
|
|
6272
|
-
if (
|
|
6272
|
+
if (Ve(ar.max) && Ne.length >= ar.max)
|
|
6273
6273
|
return { close: () => {
|
|
6274
6274
|
} };
|
|
6275
6275
|
const n = Ji(e);
|
|
@@ -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" : "
|
|
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)), {
|
|
@@ -6343,13 +6343,10 @@ function It({ 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) =>
|
|
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
|
-
|
|
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) {
|
|
@@ -6519,7 +6516,7 @@ function Iv() {
|
|
|
6519
6516
|
function Ce() {
|
|
6520
6517
|
return Iv();
|
|
6521
6518
|
}
|
|
6522
|
-
var
|
|
6519
|
+
var Xe = ((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))(Xe || {});
|
|
6523
6520
|
function B(e) {
|
|
6524
6521
|
var t;
|
|
6525
6522
|
return e == null || e.value == null ? null : (t = e.value.$el) != null ? t : e.value;
|
|
@@ -6573,7 +6570,7 @@ class Lv {
|
|
|
6573
6570
|
}
|
|
6574
6571
|
}
|
|
6575
6572
|
let To = new Lv();
|
|
6576
|
-
function
|
|
6573
|
+
function Ke(e) {
|
|
6577
6574
|
if (To.isServer)
|
|
6578
6575
|
return null;
|
|
6579
6576
|
if (e instanceof Node)
|
|
@@ -6593,7 +6590,7 @@ function Po(e = document.body) {
|
|
|
6593
6590
|
var Kr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Kr || {});
|
|
6594
6591
|
function nl(e, t = 0) {
|
|
6595
6592
|
var n;
|
|
6596
|
-
return e === ((n =
|
|
6593
|
+
return e === ((n = Ke(e)) == null ? void 0 : n.body) ? !1 : Se(t, { [0]() {
|
|
6597
6594
|
return e.matches(ur);
|
|
6598
6595
|
}, [1]() {
|
|
6599
6596
|
let o = e;
|
|
@@ -6785,7 +6782,7 @@ var ll = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
6785
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 }) {
|
|
6786
6783
|
let r = M(null);
|
|
6787
6784
|
o({ el: r, $el: r });
|
|
6788
|
-
let s = E(() =>
|
|
6785
|
+
let s = E(() => Ke(r)), a = M(!1);
|
|
6789
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)));
|
|
@@ -6927,7 +6924,7 @@ let dr = H({ name: "ForcePortalRoot", props: { as: { type: [Object, String], def
|
|
|
6927
6924
|
};
|
|
6928
6925
|
} });
|
|
6929
6926
|
function Jv(e) {
|
|
6930
|
-
let t =
|
|
6927
|
+
let t = Ke(e);
|
|
6931
6928
|
if (!t) {
|
|
6932
6929
|
if (e === null)
|
|
6933
6930
|
return null;
|
|
@@ -6940,7 +6937,7 @@ 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 = M(null), r = E(() =>
|
|
6940
|
+
let o = M(null), r = E(() => Ke(o)), s = Kv(), a = Z(pl, null), i = M(s === !0 || a == null ? Jv(o.value) : a.resolveTarget());
|
|
6944
6941
|
Me(() => {
|
|
6945
6942
|
s || a != null && (i.value = a.resolveTarget());
|
|
6946
6943
|
});
|
|
@@ -7010,7 +7007,7 @@ function Xv() {
|
|
|
7010
7007
|
throw new Error("Missing parent");
|
|
7011
7008
|
return e;
|
|
7012
7009
|
}
|
|
7013
|
-
function
|
|
7010
|
+
function e0({ slot: e = M({}), name: t = "Description", props: n = {} } = {}) {
|
|
7014
7011
|
let o = M([]);
|
|
7015
7012
|
function r(s) {
|
|
7016
7013
|
return o.value.push(s), () => {
|
|
@@ -7027,13 +7024,13 @@ H({ name: "Description", props: { as: { type: [Object, String], default: "p" },
|
|
|
7027
7024
|
return he({ ourProps: l, theirProps: c, slot: s.value, attrs: t, slots: n, name: r });
|
|
7028
7025
|
};
|
|
7029
7026
|
} });
|
|
7030
|
-
function
|
|
7027
|
+
function t0(e) {
|
|
7031
7028
|
let t = gr(e.getSnapshot());
|
|
7032
7029
|
return Fe(e.subscribe(() => {
|
|
7033
7030
|
t.value = e.getSnapshot();
|
|
7034
7031
|
})), t;
|
|
7035
7032
|
}
|
|
7036
|
-
function
|
|
7033
|
+
function n0(e, t) {
|
|
7037
7034
|
let n = e(), o = /* @__PURE__ */ new Set();
|
|
7038
7035
|
return { getSnapshot() {
|
|
7039
7036
|
return n;
|
|
@@ -7044,7 +7041,7 @@ function ng(e, t) {
|
|
|
7044
7041
|
a && (n = a, o.forEach((i) => i()));
|
|
7045
7042
|
} };
|
|
7046
7043
|
}
|
|
7047
|
-
function
|
|
7044
|
+
function o0() {
|
|
7048
7045
|
let e;
|
|
7049
7046
|
return { before({ doc: t }) {
|
|
7050
7047
|
var n;
|
|
@@ -7055,7 +7052,7 @@ function og() {
|
|
|
7055
7052
|
n.style(o, "paddingRight", `${s}px`);
|
|
7056
7053
|
} };
|
|
7057
7054
|
}
|
|
7058
|
-
function
|
|
7055
|
+
function r0() {
|
|
7059
7056
|
if (!zv())
|
|
7060
7057
|
return {};
|
|
7061
7058
|
let e;
|
|
@@ -7084,18 +7081,18 @@ function rg() {
|
|
|
7084
7081
|
});
|
|
7085
7082
|
} };
|
|
7086
7083
|
}
|
|
7087
|
-
function
|
|
7084
|
+
function s0() {
|
|
7088
7085
|
return { before({ doc: e, d: t }) {
|
|
7089
7086
|
t.style(e.documentElement, "overflow", "hidden");
|
|
7090
7087
|
} };
|
|
7091
7088
|
}
|
|
7092
|
-
function
|
|
7089
|
+
function a0(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 =
|
|
7095
|
+
let gt = n0(() => /* @__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 = ng(() => /* @__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:
|
|
7103
|
+
let o = { doc: e, d: t, meta: a0(n) }, r = [r0(), o0(), s0()];
|
|
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
|
|
7123
|
-
let o =
|
|
7119
|
+
function i0(e, t, n) {
|
|
7120
|
+
let o = t0(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 ig(e, t, n) {
|
|
|
7135
7132
|
}, { immediate: !0 }), r;
|
|
7136
7133
|
}
|
|
7137
7134
|
function vl({ defaultContainers: e = [], portals: t } = {}) {
|
|
7138
|
-
let n = M(null), o =
|
|
7135
|
+
let n = M(null), o = Ke(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
|
|
7154
|
+
var l0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(l0 || {});
|
|
7158
7155
|
let hr = Symbol("DialogContext");
|
|
7159
7156
|
function $n(e) {
|
|
7160
7157
|
let t = Z(hr, null);
|
|
@@ -7164,67 +7161,67 @@ function $n(e) {
|
|
|
7164
7161
|
}
|
|
7165
7162
|
return t;
|
|
7166
7163
|
}
|
|
7167
|
-
let Kn = "DC8F892D-2EBD-447C-A4C8-A03058436FF4",
|
|
7164
|
+
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 }) {
|
|
7168
7165
|
var s;
|
|
7169
7166
|
let a = M(!1);
|
|
7170
7167
|
X(() => {
|
|
7171
7168
|
a.value = !0;
|
|
7172
7169
|
});
|
|
7173
|
-
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(() =>
|
|
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(() => Ke(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")
|
|
7177
7174
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === Kn ? void 0 : e.open}`);
|
|
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
|
-
return (k =
|
|
7181
|
-
})] }), A = E(() => p.value ? "parent" : "leaf"),
|
|
7182
|
-
var k,
|
|
7183
|
-
return (K = Array.from((
|
|
7177
|
+
return (k = R.panelRef.value) != null ? k : u.value;
|
|
7178
|
+
})] }), A = E(() => p.value ? "parent" : "leaf"), N = E(() => c !== null ? (c.value & Re.Closing) === Re.Closing : !1), b = E(() => v || N.value ? !1 : m.value), $ = E(() => {
|
|
7179
|
+
var k, j, K;
|
|
7180
|
+
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;
|
|
7184
7181
|
});
|
|
7185
|
-
ma(
|
|
7186
|
-
let
|
|
7187
|
-
var k,
|
|
7188
|
-
return (K = Array.from((
|
|
7182
|
+
ma($, b);
|
|
7183
|
+
let D = E(() => p.value ? !0 : m.value), x = E(() => {
|
|
7184
|
+
var k, j, K;
|
|
7185
|
+
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;
|
|
7189
7186
|
});
|
|
7190
|
-
ma(x,
|
|
7191
|
-
if (
|
|
7187
|
+
ma(x, D), Qv({ type: "Dialog", enabled: E(() => f.value === 0), element: u, onUpdate: (k, j) => {
|
|
7188
|
+
if (j === "Dialog")
|
|
7192
7189
|
return Se(k, { [pr.Add]: () => i.value += 1, [pr.Remove]: () => i.value -= 1 });
|
|
7193
7190
|
} });
|
|
7194
|
-
let w =
|
|
7191
|
+
let w = e0({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), I = M(null), R = { titleId: I, panelRef: M(null), dialogState: f, setTitleId(k) {
|
|
7195
7192
|
I.value !== k && (I.value = k);
|
|
7196
7193
|
}, close() {
|
|
7197
7194
|
t("close", !1);
|
|
7198
7195
|
} };
|
|
7199
|
-
re(hr,
|
|
7196
|
+
re(hr, R);
|
|
7200
7197
|
let W = E(() => !(!m.value || p.value));
|
|
7201
|
-
rl(O, (k,
|
|
7202
|
-
|
|
7198
|
+
rl(O, (k, j) => {
|
|
7199
|
+
R.close(), Ue(() => j == null ? void 0 : j.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
|
-
q.value && (k.defaultPrevented || k.key ===
|
|
7203
|
+
q.value && (k.defaultPrevented || k.key === Xe.Escape && (k.preventDefault(), k.stopPropagation(), R.close()));
|
|
7207
7204
|
});
|
|
7208
|
-
let z = E(() => !(
|
|
7209
|
-
return
|
|
7210
|
-
var
|
|
7211
|
-
return { containers: [...(
|
|
7205
|
+
let z = E(() => !(N.value || f.value !== 0 || v));
|
|
7206
|
+
return i0(d, z, (k) => {
|
|
7207
|
+
var j;
|
|
7208
|
+
return { containers: [...(j = k.containers) != null ? j : [], O] };
|
|
7212
7209
|
}), Me((k) => {
|
|
7213
7210
|
if (f.value !== 0)
|
|
7214
7211
|
return;
|
|
7215
|
-
let
|
|
7216
|
-
if (!
|
|
7212
|
+
let j = B(u);
|
|
7213
|
+
if (!j)
|
|
7217
7214
|
return;
|
|
7218
7215
|
let K = new ResizeObserver((te) => {
|
|
7219
|
-
for (let
|
|
7220
|
-
let ke =
|
|
7221
|
-
ke.x === 0 && ke.y === 0 && ke.width === 0 && ke.height === 0 &&
|
|
7216
|
+
for (let Je of te) {
|
|
7217
|
+
let ke = Je.target.getBoundingClientRect();
|
|
7218
|
+
ke.x === 0 && ke.y === 0 && ke.width === 0 && ke.height === 0 && R.close();
|
|
7222
7219
|
}
|
|
7223
7220
|
});
|
|
7224
|
-
K.observe(
|
|
7221
|
+
K.observe(j), k(() => K.disconnect());
|
|
7225
7222
|
}), () => {
|
|
7226
|
-
let { id: k, open:
|
|
7227
|
-
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:
|
|
7223
|
+
let { id: k, open: j, initialFocus: K, ...te } = e, Je = { ...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 };
|
|
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: Je, 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
|
} });
|
|
7230
7227
|
H({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Ce()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
@@ -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
|
|
7247
|
+
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 }) {
|
|
7251
7248
|
let r = $n("DialogPanel");
|
|
7252
7249
|
o({ el: r.panelRef, $el: r.panelRef });
|
|
7253
7250
|
function s(a) {
|
|
@@ -7267,7 +7264,7 @@ H({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" },
|
|
|
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
|
|
7267
|
+
var d0 = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(d0 || {});
|
|
7271
7268
|
let gl = Symbol("PopoverContext");
|
|
7272
7269
|
function Co(e) {
|
|
7273
7270
|
let t = Z(gl, null);
|
|
@@ -7282,89 +7279,89 @@ function yl() {
|
|
|
7282
7279
|
return Z(bl, null);
|
|
7283
7280
|
}
|
|
7284
7281
|
let _l = Symbol("PopoverPanelContext");
|
|
7285
|
-
function
|
|
7282
|
+
function f0() {
|
|
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
7287
|
let s = M(null);
|
|
7291
7288
|
o({ el: s, $el: s });
|
|
7292
|
-
let a = M(1), i = M(null), c = M(null), l = M(null), u = M(null), d = E(() =>
|
|
7293
|
-
var A,
|
|
7289
|
+
let a = M(1), i = M(null), c = M(null), l = M(null), u = M(null), d = E(() => Ke(s)), f = E(() => {
|
|
7290
|
+
var A, N;
|
|
7294
7291
|
if (!B(i) || !B(u))
|
|
7295
7292
|
return !1;
|
|
7296
|
-
for (let
|
|
7297
|
-
if (Number(
|
|
7293
|
+
for (let R of document.querySelectorAll("body > *"))
|
|
7294
|
+
if (Number(R == null ? void 0 : R.contains(B(i))) ^ Number(R == null ? void 0 : R.contains(B(u))))
|
|
7298
7295
|
return !0;
|
|
7299
|
-
let b = Po(),
|
|
7300
|
-
return !((A = B(u)) != null && A.contains(w)) && !((
|
|
7296
|
+
let b = Po(), $ = b.indexOf(B(i)), D = ($ + b.length - 1) % b.length, x = ($ + 1) % b.length, w = b[D], I = b[x];
|
|
7297
|
+
return !((A = B(u)) != null && A.contains(w)) && !((N = B(u)) != null && N.contains(I));
|
|
7301
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);
|
|
7305
7302
|
}, close(A) {
|
|
7306
7303
|
m.closePopover();
|
|
7307
|
-
let
|
|
7308
|
-
|
|
7304
|
+
let N = (() => A ? A instanceof HTMLElement ? A : A.value instanceof HTMLElement ? B(A) : B(m.button) : B(m.button))();
|
|
7305
|
+
N == null || N.focus();
|
|
7309
7306
|
} };
|
|
7310
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,
|
|
7316
|
-
return (
|
|
7312
|
+
var A, N, b, $;
|
|
7313
|
+
return ($ = v == null ? void 0 : v.isFocusWithinPopoverGroup()) != null ? $ : ((A = d.value) == null ? void 0 : A.activeElement) && (((N = B(i)) == null ? void 0 : N.contains(d.value.activeElement)) || ((b = B(u)) == null ? void 0 : b.contains(d.value.activeElement)));
|
|
7317
7314
|
}
|
|
7318
7315
|
return Me(() => _ == null ? void 0 : _(p)), Yr((r = d.value) == null ? void 0 : r.defaultView, "focus", (A) => {
|
|
7319
|
-
var
|
|
7320
|
-
A.target !== window && A.target instanceof HTMLElement && a.value === 0 && (C() || i && u && (P.contains(A.target) || (
|
|
7321
|
-
}, !0), rl(P.resolveContainers, (A,
|
|
7316
|
+
var N, b;
|
|
7317
|
+
A.target !== window && A.target instanceof HTMLElement && a.value === 0 && (C() || i && u && (P.contains(A.target) || (N = B(m.beforePanelSentinel)) != null && N.contains(A.target) || (b = B(m.afterPanelSentinel)) != null && b.contains(A.target) || m.closePopover()));
|
|
7318
|
+
}, !0), rl(P.resolveContainers, (A, N) => {
|
|
7322
7319
|
var b;
|
|
7323
|
-
m.closePopover(), nl(
|
|
7320
|
+
m.closePopover(), nl(N, Kr.Loose) || (A.preventDefault(), (b = B(i)) == null || b.focus());
|
|
7324
7321
|
}, E(() => a.value === 0)), () => {
|
|
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
|
-
} }),
|
|
7329
|
-
let r = Co("PopoverButton"), s = E(() =>
|
|
7325
|
+
} }), 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 }) {
|
|
7326
|
+
let r = Co("PopoverButton"), s = E(() => Ke(r.button));
|
|
7330
7327
|
o({ el: r.button, $el: r.button }), X(() => {
|
|
7331
7328
|
r.buttonId.value = e.id;
|
|
7332
7329
|
}), Fe(() => {
|
|
7333
7330
|
r.buttonId.value = null;
|
|
7334
7331
|
});
|
|
7335
|
-
let a = yl(), i = a == null ? void 0 : a.closeOthers, c =
|
|
7332
|
+
let a = yl(), i = a == null ? void 0 : a.closeOthers, c = f0(), l = E(() => c === null ? !1 : c.value === r.panelId.value), u = M(null), d = `headlessui-focus-sentinel-${Ce()}`;
|
|
7336
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,
|
|
7338
|
+
var C, A, N, b, $;
|
|
7342
7339
|
if (l.value) {
|
|
7343
7340
|
if (r.popoverState.value === 1)
|
|
7344
7341
|
return;
|
|
7345
7342
|
switch (P.key) {
|
|
7346
|
-
case
|
|
7347
|
-
case
|
|
7348
|
-
P.preventDefault(), (A = (C = P.target).click) == null || A.call(C), r.closePopover(), (
|
|
7343
|
+
case Xe.Space:
|
|
7344
|
+
case Xe.Enter:
|
|
7345
|
+
P.preventDefault(), (A = (C = P.target).click) == null || A.call(C), r.closePopover(), (N = B(r.button)) == null || N.focus();
|
|
7349
7346
|
break;
|
|
7350
7347
|
}
|
|
7351
7348
|
} else
|
|
7352
7349
|
switch (P.key) {
|
|
7353
|
-
case
|
|
7354
|
-
case
|
|
7350
|
+
case Xe.Space:
|
|
7351
|
+
case Xe.Enter:
|
|
7355
7352
|
P.preventDefault(), P.stopPropagation(), r.popoverState.value === 1 && (i == null || i(r.buttonId.value)), r.togglePopover();
|
|
7356
7353
|
break;
|
|
7357
|
-
case
|
|
7354
|
+
case Xe.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 && !((
|
|
7357
|
+
if (!B(r.button) || (b = s.value) != null && b.activeElement && !(($ = B(r.button)) != null && $.contains(s.value.activeElement)))
|
|
7361
7358
|
return;
|
|
7362
7359
|
P.preventDefault(), P.stopPropagation(), r.closePopover();
|
|
7363
7360
|
break;
|
|
7364
7361
|
}
|
|
7365
7362
|
}
|
|
7366
7363
|
function p(P) {
|
|
7367
|
-
l.value || P.key ===
|
|
7364
|
+
l.value || P.key === Xe.Space && P.preventDefault();
|
|
7368
7365
|
}
|
|
7369
7366
|
function v(P) {
|
|
7370
7367
|
var C, A;
|
|
@@ -7384,8 +7381,8 @@ let wl = H({ name: "Popover", props: { as: { type: [Object, String], default: "d
|
|
|
7384
7381
|
C();
|
|
7385
7382
|
}
|
|
7386
7383
|
return () => {
|
|
7387
|
-
let P = r.popoverState.value === 0, C = { open: P }, { id: A,
|
|
7388
|
-
return V(ie, [he({ ourProps: b, theirProps: { ...t,
|
|
7384
|
+
let P = r.popoverState.value === 0, C = { open: P }, { id: A, ...N } = e, b = l.value ? { ref: u, type: f.value, onKeydown: m, onClick: v } : { ref: u, id: A, type: f.value, "aria-expanded": e.disabled ? void 0 : r.popoverState.value === 0, "aria-controls": B(r.panel) ? r.panelId.value : void 0, disabled: e.disabled ? !0 : void 0, onKeydown: m, onKeyup: p, onClick: v, onMousedown: _ };
|
|
7385
|
+
return V(ie, [he({ ourProps: b, theirProps: { ...t, ...N }, slot: C, attrs: t, slots: n, name: "PopoverButton" }), P && !l.value && r.isPortalled.value && V(Kt, { id: d, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: O })]);
|
|
7389
7386
|
};
|
|
7390
7387
|
} });
|
|
7391
7388
|
H({ 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 }) {
|
|
@@ -7398,8 +7395,8 @@ 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
|
|
7402
|
-
let { focus: r } = e, s = Co("PopoverPanel"), a = E(() =>
|
|
7398
|
+
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 }) {
|
|
7399
|
+
let { focus: r } = e, s = Co("PopoverPanel"), a = E(() => Ke(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
7402
|
}), Fe(() => {
|
|
@@ -7415,7 +7412,7 @@ let hg = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7415
7412
|
function d(_) {
|
|
7416
7413
|
var g, O;
|
|
7417
7414
|
switch (_.key) {
|
|
7418
|
-
case
|
|
7415
|
+
case Xe.Escape:
|
|
7419
7416
|
if (s.popoverState.value !== 0 || !B(s.panel) || a.value && !((g = B(s.panel)) != null && g.contains(a.value.activeElement)))
|
|
7420
7417
|
return;
|
|
7421
7418
|
_.preventDefault(), _.stopPropagation(), s.closePopover(), (O = B(s.button)) == null || O.focus();
|
|
@@ -7424,8 +7421,8 @@ let hg = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7424
7421
|
}
|
|
7425
7422
|
function f(_) {
|
|
7426
7423
|
var g, O, P, C, A;
|
|
7427
|
-
let
|
|
7428
|
-
|
|
7424
|
+
let N = _.relatedTarget;
|
|
7425
|
+
N && B(s.panel) && ((g = B(s.panel)) != null && g.contains(N) || (s.closePopover(), ((P = (O = B(s.beforePanelSentinel)) == null ? void 0 : O.contains) != null && P.call(O, N) || (A = (C = B(s.afterPanelSentinel)) == null ? void 0 : C.contains) != null && A.call(C, N)) && N.focus({ preventScroll: !0 })));
|
|
7429
7426
|
}
|
|
7430
7427
|
let m = Jr();
|
|
7431
7428
|
function p() {
|
|
@@ -7452,11 +7449,11 @@ let hg = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7452
7449
|
let O = B(s.button), P = B(s.panel);
|
|
7453
7450
|
if (!O)
|
|
7454
7451
|
return;
|
|
7455
|
-
let C = Po(), A = C.indexOf(O),
|
|
7456
|
-
for (let
|
|
7457
|
-
if (
|
|
7458
|
-
let
|
|
7459
|
-
|
|
7452
|
+
let C = Po(), A = C.indexOf(O), N = C.slice(0, A + 1), b = [...C.slice(A + 1), ...N];
|
|
7453
|
+
for (let $ of b.slice())
|
|
7454
|
+
if ($.dataset.headlessuiFocusGuard === "true" || P != null && P.contains($)) {
|
|
7455
|
+
let D = b.indexOf($);
|
|
7456
|
+
D !== -1 && b.splice(D, 1);
|
|
7460
7457
|
}
|
|
7461
7458
|
Le(b, pe.First, { sorted: !1 });
|
|
7462
7459
|
}, [Ee.Backwards]: () => {
|
|
@@ -7469,13 +7466,13 @@ let hg = H({ name: "PopoverPanel", props: { as: { type: [Object, String], defaul
|
|
|
7469
7466
|
return () => {
|
|
7470
7467
|
let _ = { open: s.popoverState.value === 0, close: s.close }, { id: g, focus: O, ...P } = e, C = { ref: s.panel, id: g, onKeydown: d, onFocusout: r && s.popoverState.value === 0 ? f : void 0, tabIndex: -1 };
|
|
7471
7468
|
return he({ ourProps: C, theirProps: { ...t, ...P }, attrs: t, slot: _, slots: { ...n, default: (...A) => {
|
|
7472
|
-
var
|
|
7473
|
-
return [V(ie, [u.value && s.isPortalled.value && V(Kt, { id: i, ref: s.beforePanelSentinel, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p }), (
|
|
7469
|
+
var N;
|
|
7470
|
+
return [V(ie, [u.value && s.isPortalled.value && V(Kt, { id: i, ref: s.beforePanelSentinel, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: p }), (N = n.default) == null ? void 0 : N.call(n, ...A), u.value && s.isPortalled.value && V(Kt, { id: c, ref: s.afterPanelSentinel, features: kt.Focusable, "data-headlessui-focus-guard": !0, as: "button", type: "button", onFocus: v })])];
|
|
7474
7471
|
} }, features: St.RenderStrategy | St.Static, visible: u.value, name: "PopoverPanel" });
|
|
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 = M(null), s = gr([]), a = E(() =>
|
|
7475
|
+
let r = M(null), s = gr([]), a = E(() => Ke(r));
|
|
7479
7476
|
o({ el: r, $el: r });
|
|
7480
7477
|
function i(d) {
|
|
7481
7478
|
let f = s.value.indexOf(d);
|
|
@@ -7503,8 +7500,8 @@ 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
|
|
7507
|
-
return T(),
|
|
7503
|
+
function m0(e, t) {
|
|
7504
|
+
return T(), L("svg", {
|
|
7508
7505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7509
7506
|
fill: "none",
|
|
7510
7507
|
viewBox: "0 0 24 24",
|
|
@@ -7519,8 +7516,8 @@ function mg(e, t) {
|
|
|
7519
7516
|
})
|
|
7520
7517
|
]);
|
|
7521
7518
|
}
|
|
7522
|
-
function
|
|
7523
|
-
return T(),
|
|
7519
|
+
function v0(e, t) {
|
|
7520
|
+
return T(), L("svg", {
|
|
7524
7521
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7525
7522
|
fill: "none",
|
|
7526
7523
|
viewBox: "0 0 24 24",
|
|
@@ -7540,7 +7537,7 @@ const Mt = (e, t) => {
|
|
|
7540
7537
|
for (const [o, r] of t)
|
|
7541
7538
|
n[o] = r;
|
|
7542
7539
|
return n;
|
|
7543
|
-
}, va = nn(),
|
|
7540
|
+
}, va = nn(), g0 = {
|
|
7544
7541
|
data() {
|
|
7545
7542
|
return {
|
|
7546
7543
|
childPath: va,
|
|
@@ -7762,42 +7759,42 @@ const Mt = (e, t) => {
|
|
|
7762
7759
|
});
|
|
7763
7760
|
}
|
|
7764
7761
|
}
|
|
7765
|
-
}, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e),
|
|
7762
|
+
}, $t = (e) => (Qt("data-v-4682235c"), e = e(), Xt(), e), b0 = { class: "login-wapper" }, y0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7766
7763
|
"span",
|
|
7767
7764
|
null,
|
|
7768
7765
|
"Login here",
|
|
7769
7766
|
-1
|
|
7770
7767
|
/* HOISTED */
|
|
7771
|
-
)),
|
|
7768
|
+
)), _0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7772
7769
|
"span",
|
|
7773
7770
|
null,
|
|
7774
7771
|
"Sign up here",
|
|
7775
7772
|
-1
|
|
7776
7773
|
/* HOISTED */
|
|
7777
|
-
)),
|
|
7774
|
+
)), w0 = { class: "accounts" }, x0 = {
|
|
7778
7775
|
class: "account",
|
|
7779
7776
|
style: { position: "relative" }
|
|
7780
|
-
},
|
|
7777
|
+
}, E0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7781
7778
|
"div",
|
|
7782
7779
|
{ id: "buttonDiv" },
|
|
7783
7780
|
null,
|
|
7784
7781
|
-1
|
|
7785
7782
|
/* HOISTED */
|
|
7786
|
-
)),
|
|
7783
|
+
)), S0 = {
|
|
7787
7784
|
key: 0,
|
|
7788
7785
|
class: "lastLogin"
|
|
7789
|
-
},
|
|
7786
|
+
}, k0 = {
|
|
7790
7787
|
key: 1,
|
|
7791
7788
|
class: "lastLogin"
|
|
7792
|
-
},
|
|
7789
|
+
}, O0 = { style: { position: "relative" } }, T0 = {
|
|
7793
7790
|
key: 0,
|
|
7794
7791
|
class: "lastLogin",
|
|
7795
7792
|
style: { transform: "translate(-50%, -150%)" }
|
|
7796
|
-
},
|
|
7793
|
+
}, P0 = {
|
|
7797
7794
|
key: 1,
|
|
7798
7795
|
class: "lastLogin",
|
|
7799
7796
|
style: { transform: "translate(-50%, -150%)" }
|
|
7800
|
-
},
|
|
7797
|
+
}, C0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7801
7798
|
"div",
|
|
7802
7799
|
{ class: "divider" },
|
|
7803
7800
|
[
|
|
@@ -7805,39 +7802,39 @@ const Mt = (e, t) => {
|
|
|
7805
7802
|
],
|
|
7806
7803
|
-1
|
|
7807
7804
|
/* HOISTED */
|
|
7808
|
-
)),
|
|
7805
|
+
)), A0 = { class: "form-group" }, I0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7809
7806
|
"label",
|
|
7810
7807
|
{ for: "user_email" },
|
|
7811
7808
|
"Email",
|
|
7812
7809
|
-1
|
|
7813
7810
|
/* HOISTED */
|
|
7814
|
-
)),
|
|
7811
|
+
)), M0 = {
|
|
7815
7812
|
key: 0,
|
|
7816
7813
|
class: "help-block-error"
|
|
7817
|
-
}, $
|
|
7814
|
+
}, $0 = {
|
|
7818
7815
|
key: 0,
|
|
7819
7816
|
class: "form-group"
|
|
7820
|
-
},
|
|
7817
|
+
}, N0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7821
7818
|
"label",
|
|
7822
7819
|
{ for: "user_name" },
|
|
7823
7820
|
"Username",
|
|
7824
7821
|
-1
|
|
7825
7822
|
/* HOISTED */
|
|
7826
|
-
)),
|
|
7823
|
+
)), R0 = { class: "form-group" }, L0 = /* @__PURE__ */ $t(() => /* @__PURE__ */ h(
|
|
7827
7824
|
"label",
|
|
7828
7825
|
{ for: "user_password" },
|
|
7829
7826
|
"Password",
|
|
7830
7827
|
-1
|
|
7831
7828
|
/* HOISTED */
|
|
7832
|
-
)),
|
|
7829
|
+
)), F0 = {
|
|
7833
7830
|
key: 0,
|
|
7834
7831
|
class: "help-block-error"
|
|
7835
|
-
},
|
|
7832
|
+
}, j0 = { key: 0 }, D0 = ["href"], B0 = ["disabled"], H0 = ["disabled"], z0 = {
|
|
7836
7833
|
key: 2,
|
|
7837
7834
|
class: "link"
|
|
7838
|
-
},
|
|
7839
|
-
function
|
|
7840
|
-
return T(),
|
|
7835
|
+
}, U0 = ["href"];
|
|
7836
|
+
function V0(e, t, n, o, r, s) {
|
|
7837
|
+
return T(), L("div", b0, [
|
|
7841
7838
|
h(
|
|
7842
7839
|
"h1",
|
|
7843
7840
|
null,
|
|
@@ -7845,14 +7842,14 @@ function Vg(e, t, n, o, r, s) {
|
|
|
7845
7842
|
1
|
|
7846
7843
|
/* TEXT */
|
|
7847
7844
|
),
|
|
7848
|
-
r.isSignup ? (T(),
|
|
7845
|
+
r.isSignup ? (T(), L("div", {
|
|
7849
7846
|
key: 0,
|
|
7850
7847
|
class: "link",
|
|
7851
7848
|
onClick: t[0] || (t[0] = (...a) => s.handleToLogin && s.handleToLogin(...a))
|
|
7852
7849
|
}, [
|
|
7853
7850
|
le("Already registered? "),
|
|
7854
|
-
|
|
7855
|
-
])) : (T(),
|
|
7851
|
+
y0
|
|
7852
|
+
])) : (T(), L("div", {
|
|
7856
7853
|
key: 1,
|
|
7857
7854
|
class: "link",
|
|
7858
7855
|
onClick: t[1] || (t[1] = (...a) => s.handleToSignup && s.handleToSignup(...a))
|
|
@@ -7862,31 +7859,31 @@ function Vg(e, t, n, o, r, s) {
|
|
|
7862
7859
|
1
|
|
7863
7860
|
/* TEXT */
|
|
7864
7861
|
),
|
|
7865
|
-
|
|
7862
|
+
_0
|
|
7866
7863
|
])),
|
|
7867
|
-
h("div",
|
|
7868
|
-
|
|
7864
|
+
h("div", w0, [
|
|
7865
|
+
F(` <div class="account">
|
|
7869
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>
|
|
7870
7867
|
</div> `),
|
|
7871
|
-
h("div",
|
|
7872
|
-
|
|
7873
|
-
r.lastLoginType == "google_login" && !r.isSignup ? (T(),
|
|
7874
|
-
r.lastSignupType == "google_signup" && r.isSignup ? (T(),
|
|
7868
|
+
h("div", x0, [
|
|
7869
|
+
E0,
|
|
7870
|
+
r.lastLoginType == "google_login" && !r.isSignup ? (T(), L("div", S0, "Last Login")) : F("v-if", !0),
|
|
7871
|
+
r.lastSignupType == "google_signup" && r.isSignup ? (T(), L("div", k0, "Last Sign up")) : F("v-if", !0)
|
|
7875
7872
|
]),
|
|
7876
|
-
|
|
7877
|
-
|
|
7873
|
+
F(' <div class="account flew-row-v-center" style="padding: 0 12px;border-radius: 4px;" @click="handleFbLogin"> '),
|
|
7874
|
+
F(` <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;">
|
|
7878
7875
|
<div style="flex: 1;margin-right: 12px;color: #fff;font-size: 16px;text-align: center;font-weight: bold;">Log in With Facebook</div> `),
|
|
7879
|
-
|
|
7880
|
-
|
|
7881
|
-
|
|
7876
|
+
F(' <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
|
+
F(' <div style="flex: 1;margin-left: 5px;font-size: 14px;font-weight: 500;">Login With Facebook</div> '),
|
|
7878
|
+
F(" </div> ")
|
|
7882
7879
|
]),
|
|
7883
|
-
h("div",
|
|
7884
|
-
r.lastLoginType == "email_login" && !r.isSignup ? (T(),
|
|
7885
|
-
r.lastSignupType == "email_signup" && r.isSignup ? (T(),
|
|
7886
|
-
|
|
7880
|
+
h("div", O0, [
|
|
7881
|
+
r.lastLoginType == "email_login" && !r.isSignup ? (T(), L("div", T0, "Last Login")) : F("v-if", !0),
|
|
7882
|
+
r.lastSignupType == "email_signup" && r.isSignup ? (T(), L("div", P0, "Last Sign up")) : F("v-if", !0),
|
|
7883
|
+
C0,
|
|
7887
7884
|
h("div", null, [
|
|
7888
|
-
h("div",
|
|
7889
|
-
|
|
7885
|
+
h("div", A0, [
|
|
7886
|
+
I0,
|
|
7890
7887
|
He(h(
|
|
7891
7888
|
"input",
|
|
7892
7889
|
{
|
|
@@ -7902,16 +7899,16 @@ function Vg(e, t, n, o, r, s) {
|
|
|
7902
7899
|
), [
|
|
7903
7900
|
[Mo, r.email]
|
|
7904
7901
|
]),
|
|
7905
|
-
r.emailErrorHelp ? (T(),
|
|
7902
|
+
r.emailErrorHelp ? (T(), L(
|
|
7906
7903
|
"p",
|
|
7907
|
-
|
|
7904
|
+
M0,
|
|
7908
7905
|
ne(r.emailErrorHelp),
|
|
7909
7906
|
1
|
|
7910
7907
|
/* TEXT */
|
|
7911
|
-
)) :
|
|
7908
|
+
)) : F("v-if", !0)
|
|
7912
7909
|
]),
|
|
7913
|
-
r.isSignup ? (T(),
|
|
7914
|
-
|
|
7910
|
+
r.isSignup ? (T(), L("div", $0, [
|
|
7911
|
+
N0,
|
|
7915
7912
|
He(h(
|
|
7916
7913
|
"input",
|
|
7917
7914
|
{
|
|
@@ -7925,9 +7922,9 @@ function Vg(e, t, n, o, r, s) {
|
|
|
7925
7922
|
), [
|
|
7926
7923
|
[Mo, r.name]
|
|
7927
7924
|
])
|
|
7928
|
-
])) :
|
|
7929
|
-
h("div",
|
|
7930
|
-
|
|
7925
|
+
])) : F("v-if", !0),
|
|
7926
|
+
h("div", R0, [
|
|
7927
|
+
L0,
|
|
7931
7928
|
He(h(
|
|
7932
7929
|
"input",
|
|
7933
7930
|
{
|
|
@@ -7942,47 +7939,47 @@ function Vg(e, t, n, o, r, s) {
|
|
|
7942
7939
|
), [
|
|
7943
7940
|
[Mo, r.password]
|
|
7944
7941
|
]),
|
|
7945
|
-
r.passwordErrorHelp ? (T(),
|
|
7942
|
+
r.passwordErrorHelp ? (T(), L("p", F0, [
|
|
7946
7943
|
le(
|
|
7947
7944
|
ne(r.passwordErrorHelp) + " ",
|
|
7948
7945
|
1
|
|
7949
7946
|
/* TEXT */
|
|
7950
7947
|
),
|
|
7951
|
-
r.errCode == 2 ? (T(),
|
|
7948
|
+
r.errCode == 2 ? (T(), L("span", j0, [
|
|
7952
7949
|
h("a", {
|
|
7953
7950
|
href: r.childPath + "/user/resend-verify",
|
|
7954
7951
|
target: "_blank"
|
|
7955
|
-
}, "Resend email", 8,
|
|
7956
|
-
])) :
|
|
7957
|
-
])) :
|
|
7952
|
+
}, "Resend email", 8, D0)
|
|
7953
|
+
])) : F("v-if", !0)
|
|
7954
|
+
])) : F("v-if", !0)
|
|
7958
7955
|
]),
|
|
7959
|
-
r.isSignup ? (T(),
|
|
7956
|
+
r.isSignup ? (T(), L("button", {
|
|
7960
7957
|
key: 1,
|
|
7961
7958
|
class: "form-button",
|
|
7962
7959
|
disabled: r.disabled,
|
|
7963
7960
|
onClick: t[8] || (t[8] = (...a) => s.handleSignup && s.handleSignup(...a))
|
|
7964
|
-
}, "Create Your Account", 8,
|
|
7961
|
+
}, "Create Your Account", 8, B0)) : (T(), L("button", {
|
|
7965
7962
|
key: 2,
|
|
7966
7963
|
class: "form-button",
|
|
7967
7964
|
disabled: r.disabled,
|
|
7968
7965
|
onClick: t[9] || (t[9] = (...a) => s.handleLogin && s.handleLogin(...a))
|
|
7969
|
-
}, "Login", 8,
|
|
7966
|
+
}, "Login", 8, H0))
|
|
7970
7967
|
])
|
|
7971
7968
|
]),
|
|
7972
|
-
r.isSignup ?
|
|
7969
|
+
r.isSignup ? F("v-if", !0) : (T(), L("div", z0, [
|
|
7973
7970
|
h("a", {
|
|
7974
7971
|
href: r.childPath + "/user/password-reset",
|
|
7975
7972
|
target: "_blank"
|
|
7976
|
-
}, "Forgot your password?", 8,
|
|
7977
|
-
|
|
7973
|
+
}, "Forgot your password?", 8, U0),
|
|
7974
|
+
F(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
|
|
7978
7975
|
])),
|
|
7979
|
-
|
|
7976
|
+
F(` <div class="link">
|
|
7980
7977
|
By creating an account you agree to our <a href="/site/terms" style="color: #1778f2;">Terms of Use</a>
|
|
7981
7978
|
</div> `)
|
|
7982
7979
|
]);
|
|
7983
7980
|
}
|
|
7984
|
-
const xl = /* @__PURE__ */ Mt(
|
|
7985
|
-
const
|
|
7981
|
+
const xl = /* @__PURE__ */ Mt(g0, [["render", V0], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Login1.vue"]]);
|
|
7982
|
+
const W0 = {
|
|
7986
7983
|
data() {
|
|
7987
7984
|
return {};
|
|
7988
7985
|
},
|
|
@@ -8001,7 +7998,7 @@ const Wg = {
|
|
|
8001
7998
|
this.$emit("close");
|
|
8002
7999
|
}
|
|
8003
8000
|
}
|
|
8004
|
-
},
|
|
8001
|
+
}, q0 = (e) => (Qt("data-v-47199182"), e = e(), Xt(), e), G0 = { class: "background-cover" }, K0 = { class: "login-content" }, J0 = /* @__PURE__ */ q0(() => /* @__PURE__ */ h(
|
|
8005
8002
|
"svg",
|
|
8006
8003
|
{
|
|
8007
8004
|
t: "1641536858080",
|
|
@@ -8022,29 +8019,29 @@ const Wg = {
|
|
|
8022
8019
|
],
|
|
8023
8020
|
-1
|
|
8024
8021
|
/* HOISTED */
|
|
8025
|
-
)),
|
|
8026
|
-
|
|
8022
|
+
)), Y0 = [
|
|
8023
|
+
J0
|
|
8027
8024
|
];
|
|
8028
|
-
function
|
|
8025
|
+
function Z0(e, t, n, o, r, s) {
|
|
8029
8026
|
const a = xl;
|
|
8030
|
-
return T(),
|
|
8031
|
-
h("div",
|
|
8027
|
+
return T(), L("div", G0, [
|
|
8028
|
+
h("div", K0, [
|
|
8032
8029
|
Q(a, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
|
|
8033
8030
|
h("div", {
|
|
8034
8031
|
class: "cancel",
|
|
8035
8032
|
onClick: t[0] || (t[0] = (...i) => s.handleClose && s.handleClose(...i))
|
|
8036
|
-
},
|
|
8033
|
+
}, Y0)
|
|
8037
8034
|
])
|
|
8038
8035
|
]);
|
|
8039
8036
|
}
|
|
8040
|
-
const
|
|
8037
|
+
const Q0 = /* @__PURE__ */ Mt(W0, [["render", Z0], ["__scopeId", "data-v-47199182"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Login.vue"]]);
|
|
8041
8038
|
/*!
|
|
8042
8039
|
* pinia v2.1.4
|
|
8043
8040
|
* (c) 2023 Eduardo San Martin Morote
|
|
8044
8041
|
* @license MIT
|
|
8045
8042
|
*/
|
|
8046
8043
|
let gn;
|
|
8047
|
-
const ho = (e) => gn = e,
|
|
8044
|
+
const ho = (e) => gn = e, X0 = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
|
|
8048
8045
|
/* istanbul ignore next */
|
|
8049
8046
|
Symbol()
|
|
8050
8047
|
);
|
|
@@ -8081,7 +8078,7 @@ function Lt(e, ...t) {
|
|
|
8081
8078
|
n(...t);
|
|
8082
8079
|
});
|
|
8083
8080
|
}
|
|
8084
|
-
const
|
|
8081
|
+
const eg = (e) => e();
|
|
8085
8082
|
function mr(e, t) {
|
|
8086
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);
|
|
8087
8084
|
for (const n in t) {
|
|
@@ -8092,12 +8089,12 @@ function mr(e, t) {
|
|
|
8092
8089
|
}
|
|
8093
8090
|
return e;
|
|
8094
8091
|
}
|
|
8095
|
-
const
|
|
8092
|
+
const tg = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
|
|
8096
8093
|
/* istanbul ignore next */
|
|
8097
8094
|
Symbol()
|
|
8098
8095
|
);
|
|
8099
|
-
function
|
|
8100
|
-
return !Ot(e) || !e.hasOwnProperty(
|
|
8096
|
+
function ng(e) {
|
|
8097
|
+
return !Ot(e) || !e.hasOwnProperty(tg);
|
|
8101
8098
|
}
|
|
8102
8099
|
const { assign: Oe } = Object;
|
|
8103
8100
|
function ba(e) {
|
|
@@ -8150,14 +8147,14 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8150
8147
|
events: m
|
|
8151
8148
|
});
|
|
8152
8149
|
const I = _ = Symbol();
|
|
8153
|
-
|
|
8150
|
+
Ue().then(() => {
|
|
8154
8151
|
_ === I && (l = !0);
|
|
8155
8152
|
}), u = !0, Lt(d, w, o.state.value[e]);
|
|
8156
8153
|
}
|
|
8157
8154
|
const O = s ? function() {
|
|
8158
8155
|
const { state: w } = n, I = w ? w() : {};
|
|
8159
|
-
this.$patch((
|
|
8160
|
-
Oe(
|
|
8156
|
+
this.$patch((R) => {
|
|
8157
|
+
Oe(R, I);
|
|
8161
8158
|
});
|
|
8162
8159
|
} : (
|
|
8163
8160
|
/* istanbul ignore next */
|
|
@@ -8171,12 +8168,12 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8171
8168
|
function C(x, w) {
|
|
8172
8169
|
return function() {
|
|
8173
8170
|
ho(o);
|
|
8174
|
-
const I = Array.from(arguments),
|
|
8175
|
-
function q(
|
|
8176
|
-
|
|
8171
|
+
const I = Array.from(arguments), R = [], W = [];
|
|
8172
|
+
function q(j) {
|
|
8173
|
+
R.push(j);
|
|
8177
8174
|
}
|
|
8178
|
-
function z(
|
|
8179
|
-
W.push(
|
|
8175
|
+
function z(j) {
|
|
8176
|
+
W.push(j);
|
|
8180
8177
|
}
|
|
8181
8178
|
Lt(f, {
|
|
8182
8179
|
args: I,
|
|
@@ -8188,10 +8185,10 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8188
8185
|
let k;
|
|
8189
8186
|
try {
|
|
8190
8187
|
k = w.apply(this && this.$id === e ? this : b, I);
|
|
8191
|
-
} catch (
|
|
8192
|
-
throw Lt(W,
|
|
8188
|
+
} catch (j) {
|
|
8189
|
+
throw Lt(W, j), j;
|
|
8193
8190
|
}
|
|
8194
|
-
return k instanceof Promise ? k.then((
|
|
8191
|
+
return k instanceof Promise ? k.then((j) => (Lt(R, j), j)).catch((j) => (Lt(W, j), Promise.reject(j))) : (Lt(R, k), k);
|
|
8195
8192
|
};
|
|
8196
8193
|
}
|
|
8197
8194
|
const A = /* @__PURE__ */ mn({
|
|
@@ -8199,7 +8196,7 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8199
8196
|
getters: {},
|
|
8200
8197
|
state: [],
|
|
8201
8198
|
hotState: v
|
|
8202
|
-
}),
|
|
8199
|
+
}), N = {
|
|
8203
8200
|
_p: o,
|
|
8204
8201
|
// _s: scope,
|
|
8205
8202
|
$id: e,
|
|
@@ -8207,7 +8204,7 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8207
8204
|
$patch: g,
|
|
8208
8205
|
$reset: O,
|
|
8209
8206
|
$subscribe(x, w = {}) {
|
|
8210
|
-
const I = ga(d, x, w.detached, () =>
|
|
8207
|
+
const I = ga(d, x, w.detached, () => R()), R = a.run(() => Y(() => o.state.value[e], (W) => {
|
|
8211
8208
|
(w.flush === "sync" ? u : l) && x({
|
|
8212
8209
|
storeId: e,
|
|
8213
8210
|
type: _n.direct,
|
|
@@ -8223,27 +8220,27 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8223
8220
|
_customProperties: mn(/* @__PURE__ */ new Set())
|
|
8224
8221
|
// devtools custom properties
|
|
8225
8222
|
},
|
|
8226
|
-
|
|
8223
|
+
N
|
|
8227
8224
|
// must be added later
|
|
8228
8225
|
// setupStore
|
|
8229
|
-
) :
|
|
8226
|
+
) : N);
|
|
8230
8227
|
o._s.set(e, b);
|
|
8231
|
-
const
|
|
8232
|
-
for (const x in
|
|
8233
|
-
const w =
|
|
8228
|
+
const $ = o._a && o._a.runWithContext || eg, D = o._e.run(() => (a = Vl(), $(() => a.run(t))));
|
|
8229
|
+
for (const x in D) {
|
|
8230
|
+
const w = D[x];
|
|
8234
8231
|
if (wt(w) && !ba(w) || yr(w))
|
|
8235
|
-
process.env.NODE_ENV !== "production" && r ? jn(v.value, x,
|
|
8232
|
+
process.env.NODE_ENV !== "production" && r ? jn(v.value, x, et(D, x)) : s || (p && ng(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);
|
|
8236
8233
|
else if (typeof w == "function") {
|
|
8237
8234
|
const I = process.env.NODE_ENV !== "production" && r ? w : C(x, w);
|
|
8238
|
-
|
|
8235
|
+
D[x] = I, process.env.NODE_ENV !== "production" && (A.actions[x] = w), i.actions[x] = w;
|
|
8239
8236
|
} else
|
|
8240
8237
|
process.env.NODE_ENV !== "production" && ba(w) && (A.getters[x] = s ? (
|
|
8241
8238
|
// @ts-expect-error
|
|
8242
8239
|
n.getters[x]
|
|
8243
|
-
) : w, Zr && (
|
|
8244
|
-
(
|
|
8240
|
+
) : w, Zr && (D._getters || // @ts-expect-error: same
|
|
8241
|
+
(D._getters = mn([]))).push(x));
|
|
8245
8242
|
}
|
|
8246
|
-
if (Oe(b,
|
|
8243
|
+
if (Oe(b, D), Oe(Wl(b), D), Object.defineProperty(b, "$state", {
|
|
8247
8244
|
get: () => process.env.NODE_ENV !== "production" && r ? v.value : o.state.value[e],
|
|
8248
8245
|
set: (x) => {
|
|
8249
8246
|
if (process.env.NODE_ENV !== "production" && r)
|
|
@@ -8255,13 +8252,13 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8255
8252
|
}), process.env.NODE_ENV !== "production" && (b._hotUpdate = mn((x) => {
|
|
8256
8253
|
b._hotUpdating = !0, x._hmrPayload.state.forEach((w) => {
|
|
8257
8254
|
if (w in b.$state) {
|
|
8258
|
-
const I = x.$state[w],
|
|
8259
|
-
typeof I == "object" && Ot(I) && Ot(
|
|
8255
|
+
const I = x.$state[w], R = b.$state[w];
|
|
8256
|
+
typeof I == "object" && Ot(I) && Ot(R) ? El(I, R) : x.$state[w] = R;
|
|
8260
8257
|
}
|
|
8261
|
-
jn(b, w,
|
|
8258
|
+
jn(b, w, et(x.$state, w));
|
|
8262
8259
|
}), Object.keys(b.$state).forEach((w) => {
|
|
8263
8260
|
w in x.$state || jo(b, w);
|
|
8264
|
-
}), l = !1, u = !1, o.state.value[e] =
|
|
8261
|
+
}), l = !1, u = !1, o.state.value[e] = et(x._hmrPayload, "hotState"), u = !0, Ue().then(() => {
|
|
8265
8262
|
l = !0;
|
|
8266
8263
|
});
|
|
8267
8264
|
for (const w in x._hmrPayload.actions) {
|
|
@@ -8269,11 +8266,11 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8269
8266
|
jn(b, w, C(w, I));
|
|
8270
8267
|
}
|
|
8271
8268
|
for (const w in x._hmrPayload.getters) {
|
|
8272
|
-
const I = x._hmrPayload.getters[w],
|
|
8269
|
+
const I = x._hmrPayload.getters[w], R = s ? (
|
|
8273
8270
|
// special handling of options api
|
|
8274
8271
|
E(() => (ho(o), I.call(b, b)))
|
|
8275
8272
|
) : I;
|
|
8276
|
-
jn(b, w,
|
|
8273
|
+
jn(b, w, R);
|
|
8277
8274
|
}
|
|
8278
8275
|
Object.keys(b._hmrPayload.getters).forEach((w) => {
|
|
8279
8276
|
w in x._hmrPayload.getters || jo(b, w);
|
|
@@ -8311,7 +8308,7 @@ function vr(e, t, n = {}, o, r, s) {
|
|
|
8311
8308
|
state: () => new MyClass()
|
|
8312
8309
|
Found in store "${b.$id}".`), p && s && n.hydrate && n.hydrate(b.$state, p), l = !0, u = !0, b;
|
|
8313
8310
|
}
|
|
8314
|
-
function
|
|
8311
|
+
function og(e, t, n) {
|
|
8315
8312
|
let o, r;
|
|
8316
8313
|
const s = typeof t == "function";
|
|
8317
8314
|
if (typeof e == "string")
|
|
@@ -8322,7 +8319,7 @@ function o0(e, t, n) {
|
|
|
8322
8319
|
const l = Ul();
|
|
8323
8320
|
if (i = // in test mode, ignore the argument provided as we can always retrieve a
|
|
8324
8321
|
// pinia instance with getActivePinia()
|
|
8325
|
-
(process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(
|
|
8322
|
+
(process.env.NODE_ENV === "test" && gn && gn._testing ? null : i) || (l ? Z(X0, null) : null), i && ho(i), process.env.NODE_ENV !== "production" && !gn)
|
|
8326
8323
|
throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Did you forget to install pinia?
|
|
8327
8324
|
const pinia = createPinia()
|
|
8328
8325
|
app.use(pinia)
|
|
@@ -8345,14 +8342,14 @@ This will fail in production.`);
|
|
|
8345
8342
|
}
|
|
8346
8343
|
return a.$id = o, a;
|
|
8347
8344
|
}
|
|
8348
|
-
function
|
|
8345
|
+
function rg(e, t) {
|
|
8349
8346
|
return Array.isArray(t) ? t.reduce((n, o) => (n[o] = function(...r) {
|
|
8350
8347
|
return e(this.$pinia)[o](...r);
|
|
8351
8348
|
}, n), {}) : Object.keys(t).reduce((n, o) => (n[o] = function(...r) {
|
|
8352
8349
|
return e(this.$pinia)[t[o]](...r);
|
|
8353
8350
|
}, n), {});
|
|
8354
8351
|
}
|
|
8355
|
-
const
|
|
8352
|
+
const sg = og("user", {
|
|
8356
8353
|
state: () => ({
|
|
8357
8354
|
user: null,
|
|
8358
8355
|
isShowLogin: !1,
|
|
@@ -8425,7 +8422,7 @@ const s0 = o0("user", {
|
|
|
8425
8422
|
});
|
|
8426
8423
|
let kl = nn();
|
|
8427
8424
|
console.log("childPath3", kl);
|
|
8428
|
-
const
|
|
8425
|
+
const ag = {
|
|
8429
8426
|
props: ["user", "from"],
|
|
8430
8427
|
data() {
|
|
8431
8428
|
return {
|
|
@@ -8433,15 +8430,15 @@ const a0 = {
|
|
|
8433
8430
|
};
|
|
8434
8431
|
},
|
|
8435
8432
|
methods: {
|
|
8436
|
-
...
|
|
8433
|
+
...rg(sg, ["logout"]),
|
|
8437
8434
|
handlePay() {
|
|
8438
8435
|
console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
|
|
8439
8436
|
}
|
|
8440
8437
|
}
|
|
8441
|
-
}, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e),
|
|
8438
|
+
}, rn = (e) => (Qt("data-v-8580ad75"), e = e(), Xt(), e), ig = { class: "user-center-content" }, lg = { class: "user-info flew-row-v-center" }, cg = ["src"], ug = {
|
|
8442
8439
|
class: "user-name",
|
|
8443
8440
|
style: { color: "#000" }
|
|
8444
|
-
},
|
|
8441
|
+
}, dg = { class: "user-email" }, fg = { class: "flew-row-v-center" }, pg = {
|
|
8445
8442
|
key: 0,
|
|
8446
8443
|
t: "1637834706702",
|
|
8447
8444
|
class: "user-item-icon",
|
|
@@ -8451,7 +8448,7 @@ const a0 = {
|
|
|
8451
8448
|
"p-id": "10206",
|
|
8452
8449
|
width: "32",
|
|
8453
8450
|
height: "32"
|
|
8454
|
-
},
|
|
8451
|
+
}, hg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8455
8452
|
"path",
|
|
8456
8453
|
{
|
|
8457
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",
|
|
@@ -8463,7 +8460,7 @@ const a0 = {
|
|
|
8463
8460
|
null,
|
|
8464
8461
|
-1
|
|
8465
8462
|
/* HOISTED */
|
|
8466
|
-
)),
|
|
8463
|
+
)), mg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8467
8464
|
"path",
|
|
8468
8465
|
{
|
|
8469
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",
|
|
@@ -8473,10 +8470,10 @@ const a0 = {
|
|
|
8473
8470
|
null,
|
|
8474
8471
|
-1
|
|
8475
8472
|
/* HOISTED */
|
|
8476
|
-
)),
|
|
8477
|
-
|
|
8478
|
-
|
|
8479
|
-
],
|
|
8473
|
+
)), vg = [
|
|
8474
|
+
hg,
|
|
8475
|
+
mg
|
|
8476
|
+
], gg = {
|
|
8480
8477
|
key: 1,
|
|
8481
8478
|
t: "1637055277290",
|
|
8482
8479
|
class: "user-item-icon",
|
|
@@ -8486,7 +8483,7 @@ const a0 = {
|
|
|
8486
8483
|
"p-id": "8080",
|
|
8487
8484
|
width: "32",
|
|
8488
8485
|
height: "32"
|
|
8489
|
-
},
|
|
8486
|
+
}, bg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8490
8487
|
"path",
|
|
8491
8488
|
{
|
|
8492
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",
|
|
@@ -8496,9 +8493,9 @@ const a0 = {
|
|
|
8496
8493
|
null,
|
|
8497
8494
|
-1
|
|
8498
8495
|
/* HOISTED */
|
|
8499
|
-
)),
|
|
8500
|
-
|
|
8501
|
-
],
|
|
8496
|
+
)), yg = [
|
|
8497
|
+
bg
|
|
8498
|
+
], _g = ["href"], wg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8502
8499
|
"button",
|
|
8503
8500
|
{ class: "upgrade_btn" },
|
|
8504
8501
|
[
|
|
@@ -8506,9 +8503,9 @@ const a0 = {
|
|
|
8506
8503
|
],
|
|
8507
8504
|
-1
|
|
8508
8505
|
/* HOISTED */
|
|
8509
|
-
)),
|
|
8510
|
-
|
|
8511
|
-
],
|
|
8506
|
+
)), xg = [
|
|
8507
|
+
wg
|
|
8508
|
+
], Eg = ["href"], Sg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8512
8509
|
"div",
|
|
8513
8510
|
{ class: "user-item user-item-active flew-row-v-center" },
|
|
8514
8511
|
[
|
|
@@ -8532,9 +8529,9 @@ const a0 = {
|
|
|
8532
8529
|
],
|
|
8533
8530
|
-1
|
|
8534
8531
|
/* HOISTED */
|
|
8535
|
-
)),
|
|
8536
|
-
|
|
8537
|
-
],
|
|
8532
|
+
)), kg = [
|
|
8533
|
+
Sg
|
|
8534
|
+
], Og = ["href"], Tg = /* @__PURE__ */ rn(() => /* @__PURE__ */ h(
|
|
8538
8535
|
"div",
|
|
8539
8536
|
{ class: "user-item user-item-active flew-row-v-center" },
|
|
8540
8537
|
[
|
|
@@ -8563,19 +8560,19 @@ const a0 = {
|
|
|
8563
8560
|
],
|
|
8564
8561
|
-1
|
|
8565
8562
|
/* HOISTED */
|
|
8566
|
-
)),
|
|
8567
|
-
|
|
8563
|
+
)), Pg = [
|
|
8564
|
+
Tg
|
|
8568
8565
|
];
|
|
8569
|
-
function
|
|
8570
|
-
return T(),
|
|
8571
|
-
h("div",
|
|
8566
|
+
function Cg(e, t, n, o, r, s) {
|
|
8567
|
+
return T(), L("div", ig, [
|
|
8568
|
+
h("div", lg, [
|
|
8572
8569
|
h("img", {
|
|
8573
8570
|
class: "user-avatar",
|
|
8574
8571
|
src: n.user.avatar || "https://statics.imgkits.com/images/default_user_avatar_black.png",
|
|
8575
8572
|
alt: "user avatar"
|
|
8576
|
-
}, null, 8,
|
|
8573
|
+
}, null, 8, cg),
|
|
8577
8574
|
h("div", null, [
|
|
8578
|
-
h("div",
|
|
8575
|
+
h("div", ug, [
|
|
8579
8576
|
h(
|
|
8580
8577
|
"span",
|
|
8581
8578
|
null,
|
|
@@ -8584,7 +8581,7 @@ function C0(e, t, n, o, r, s) {
|
|
|
8584
8581
|
/* TEXT */
|
|
8585
8582
|
)
|
|
8586
8583
|
]),
|
|
8587
|
-
h("div",
|
|
8584
|
+
h("div", dg, [
|
|
8588
8585
|
h(
|
|
8589
8586
|
"span",
|
|
8590
8587
|
null,
|
|
@@ -8595,7 +8592,7 @@ function C0(e, t, n, o, r, s) {
|
|
|
8595
8592
|
])
|
|
8596
8593
|
])
|
|
8597
8594
|
]),
|
|
8598
|
-
|
|
8595
|
+
F(` <div v-if="!user.is_subscribed" class="user-item user-item-active flew-row-v-center space-between" @click="handlePay">
|
|
8599
8596
|
<div class="flew-row-v-center">
|
|
8600
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>
|
|
8601
8598
|
<span id="free_cnt">My Credit: {{user.free_cnt}}</span>
|
|
@@ -8606,8 +8603,8 @@ function C0(e, t, n, o, r, s) {
|
|
|
8606
8603
|
class: "user-item flew-row-v-center space-between",
|
|
8607
8604
|
onClick: t[0] || (t[0] = (...a) => s.handlePay && s.handlePay(...a))
|
|
8608
8605
|
}, [
|
|
8609
|
-
h("div",
|
|
8610
|
-
n.user.is_subscribed ? (T(),
|
|
8606
|
+
h("div", fg, [
|
|
8607
|
+
n.user.is_subscribed ? (T(), L("svg", pg, vg)) : (T(), L("svg", gg, yg)),
|
|
8611
8608
|
h(
|
|
8612
8609
|
"span",
|
|
8613
8610
|
null,
|
|
@@ -8616,26 +8613,26 @@ function C0(e, t, n, o, r, s) {
|
|
|
8616
8613
|
/* TEXT */
|
|
8617
8614
|
)
|
|
8618
8615
|
]),
|
|
8619
|
-
n.user.is_subscribed ?
|
|
8616
|
+
n.user.is_subscribed ? F("v-if", !0) : (T(), L("a", {
|
|
8620
8617
|
key: 0,
|
|
8621
8618
|
href: r.path + "/pricing",
|
|
8622
8619
|
target: "_self"
|
|
8623
|
-
},
|
|
8620
|
+
}, xg, 8, _g))
|
|
8624
8621
|
]),
|
|
8625
8622
|
h("a", {
|
|
8626
8623
|
href: r.path + "/dashboard",
|
|
8627
8624
|
target: "_blank"
|
|
8628
|
-
},
|
|
8625
|
+
}, kg, 8, Eg),
|
|
8629
8626
|
h("a", {
|
|
8630
8627
|
rel: "nofollow",
|
|
8631
8628
|
href: r.path + "/user/logout"
|
|
8632
|
-
},
|
|
8629
|
+
}, Pg, 8, Og)
|
|
8633
8630
|
]);
|
|
8634
8631
|
}
|
|
8635
|
-
const _a = /* @__PURE__ */ Mt(
|
|
8636
|
-
const
|
|
8632
|
+
const _a = /* @__PURE__ */ Mt(ag, [["render", Cg], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/PersonalCenter.vue"]]);
|
|
8633
|
+
const Ag = {
|
|
8637
8634
|
props: ["content", "top"]
|
|
8638
|
-
},
|
|
8635
|
+
}, Ig = (e) => (Qt("data-v-7b6def48"), e = e(), Xt(), e), Mg = /* @__PURE__ */ Ig(() => /* @__PURE__ */ h(
|
|
8639
8636
|
"svg",
|
|
8640
8637
|
{
|
|
8641
8638
|
t: "1637907583780",
|
|
@@ -8656,15 +8653,15 @@ const A0 = {
|
|
|
8656
8653
|
-1
|
|
8657
8654
|
/* HOISTED */
|
|
8658
8655
|
));
|
|
8659
|
-
function $
|
|
8660
|
-
return T(),
|
|
8656
|
+
function $g(e, t, n, o, r, s) {
|
|
8657
|
+
return T(), L(
|
|
8661
8658
|
"div",
|
|
8662
8659
|
{
|
|
8663
8660
|
class: "toast-wrapper",
|
|
8664
8661
|
style: Pn({ top: n.top || "60PX" })
|
|
8665
8662
|
},
|
|
8666
8663
|
[
|
|
8667
|
-
|
|
8664
|
+
Mg,
|
|
8668
8665
|
h(
|
|
8669
8666
|
"span",
|
|
8670
8667
|
null,
|
|
@@ -8677,8 +8674,8 @@ function $0(e, t, n, o, r, s) {
|
|
|
8677
8674
|
/* STYLE */
|
|
8678
8675
|
);
|
|
8679
8676
|
}
|
|
8680
|
-
const
|
|
8681
|
-
const
|
|
8677
|
+
const Ng = /* @__PURE__ */ Mt(Ag, [["render", $g], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Toast.vue"]]);
|
|
8678
|
+
const Rg = { class: "background-cover" }, Lg = /* @__PURE__ */ h(
|
|
8682
8679
|
"div",
|
|
8683
8680
|
{ class: "invite-success" },
|
|
8684
8681
|
[
|
|
@@ -8705,7 +8702,7 @@ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
|
|
|
8705
8702
|
],
|
|
8706
8703
|
-1
|
|
8707
8704
|
/* HOISTED */
|
|
8708
|
-
),
|
|
8705
|
+
), Fg = /* @__PURE__ */ h(
|
|
8709
8706
|
"div",
|
|
8710
8707
|
{ class: "invite-title" },
|
|
8711
8708
|
[
|
|
@@ -8713,29 +8710,29 @@ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
|
|
|
8713
8710
|
],
|
|
8714
8711
|
-1
|
|
8715
8712
|
/* HOISTED */
|
|
8716
|
-
),
|
|
8713
|
+
), jg = /* @__PURE__ */ h(
|
|
8717
8714
|
"p",
|
|
8718
8715
|
{ class: "invite-desc" },
|
|
8719
8716
|
"You have successfully subscribed to the business plan and now you have the right to add licenses for partners.",
|
|
8720
8717
|
-1
|
|
8721
8718
|
/* HOISTED */
|
|
8722
|
-
),
|
|
8719
|
+
), Dg = /* @__PURE__ */ h(
|
|
8723
8720
|
"span",
|
|
8724
8721
|
null,
|
|
8725
8722
|
"Invite Partners Now",
|
|
8726
8723
|
-1
|
|
8727
8724
|
/* HOISTED */
|
|
8728
|
-
),
|
|
8729
|
-
|
|
8730
|
-
],
|
|
8725
|
+
), Bg = [
|
|
8726
|
+
Dg
|
|
8727
|
+
], Hg = /* @__PURE__ */ h(
|
|
8731
8728
|
"span",
|
|
8732
8729
|
null,
|
|
8733
8730
|
"Invite Later",
|
|
8734
8731
|
-1
|
|
8735
8732
|
/* HOISTED */
|
|
8736
|
-
),
|
|
8737
|
-
|
|
8738
|
-
],
|
|
8733
|
+
), zg = [
|
|
8734
|
+
Hg
|
|
8735
|
+
], Ug = {
|
|
8739
8736
|
__name: "TeamInvite",
|
|
8740
8737
|
emits: ["cancel"],
|
|
8741
8738
|
setup(e, { emit: t }) {
|
|
@@ -8744,27 +8741,27 @@ const R0 = { class: "background-cover" }, L0 = /* @__PURE__ */ h(
|
|
|
8744
8741
|
}, r = () => {
|
|
8745
8742
|
t("cancel");
|
|
8746
8743
|
};
|
|
8747
|
-
return (s, a) => (T(),
|
|
8744
|
+
return (s, a) => (T(), L("div", Rg, [
|
|
8748
8745
|
h("div", { class: "invite-dialog" }, [
|
|
8749
|
-
|
|
8750
|
-
|
|
8751
|
-
|
|
8746
|
+
Lg,
|
|
8747
|
+
Fg,
|
|
8748
|
+
jg,
|
|
8752
8749
|
h("div", null, [
|
|
8753
8750
|
h("div", {
|
|
8754
8751
|
class: "button button-up",
|
|
8755
8752
|
onClick: o
|
|
8756
|
-
},
|
|
8753
|
+
}, Bg),
|
|
8757
8754
|
h("div", {
|
|
8758
8755
|
class: "button button-down",
|
|
8759
8756
|
onClick: r
|
|
8760
|
-
},
|
|
8757
|
+
}, zg)
|
|
8761
8758
|
])
|
|
8762
8759
|
])
|
|
8763
8760
|
]));
|
|
8764
8761
|
}
|
|
8765
|
-
},
|
|
8766
|
-
function
|
|
8767
|
-
return T(),
|
|
8762
|
+
}, Vg = /* @__PURE__ */ Mt(Ug, [["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/TeamInvite.vue"]]);
|
|
8763
|
+
function Wg(e, t) {
|
|
8764
|
+
return T(), L("svg", {
|
|
8768
8765
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8769
8766
|
viewBox: "0 0 20 20",
|
|
8770
8767
|
fill: "currentColor",
|
|
@@ -8777,13 +8774,13 @@ function W0(e, t) {
|
|
|
8777
8774
|
})
|
|
8778
8775
|
]);
|
|
8779
8776
|
}
|
|
8780
|
-
const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e),
|
|
8777
|
+
const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), qg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8781
8778
|
"span",
|
|
8782
8779
|
null,
|
|
8783
8780
|
"Our other apps",
|
|
8784
8781
|
-1
|
|
8785
8782
|
/* HOISTED */
|
|
8786
|
-
)),
|
|
8783
|
+
)), Gg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8787
8784
|
"img",
|
|
8788
8785
|
{
|
|
8789
8786
|
src: "https://statics.imgkits.com/lsl_ali_icon4392779680.png ",
|
|
@@ -8792,7 +8789,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
8792
8789
|
null,
|
|
8793
8790
|
-1
|
|
8794
8791
|
/* HOISTED */
|
|
8795
|
-
)),
|
|
8792
|
+
)), Kg = ["href"], Jg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8796
8793
|
"img",
|
|
8797
8794
|
{
|
|
8798
8795
|
style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
|
|
@@ -8802,7 +8799,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
8802
8799
|
null,
|
|
8803
8800
|
-1
|
|
8804
8801
|
/* HOISTED */
|
|
8805
|
-
)),
|
|
8802
|
+
)), Yg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8806
8803
|
"div",
|
|
8807
8804
|
{ class: "flex flex-col pl-1" },
|
|
8808
8805
|
[
|
|
@@ -8811,10 +8808,10 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
8811
8808
|
],
|
|
8812
8809
|
-1
|
|
8813
8810
|
/* HOISTED */
|
|
8814
|
-
)),
|
|
8815
|
-
|
|
8816
|
-
|
|
8817
|
-
],
|
|
8811
|
+
)), Zg = [
|
|
8812
|
+
Jg,
|
|
8813
|
+
Yg
|
|
8814
|
+
], Qg = ["href"], Xg = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8818
8815
|
"img",
|
|
8819
8816
|
{
|
|
8820
8817
|
style: { height: "64px", width: "64px", marginRight: "4px", borderRadius: "4px" },
|
|
@@ -8834,7 +8831,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
8834
8831
|
-1
|
|
8835
8832
|
/* HOISTED */
|
|
8836
8833
|
)), t1 = [
|
|
8837
|
-
|
|
8834
|
+
Xg,
|
|
8838
8835
|
e1
|
|
8839
8836
|
], n1 = /* @__PURE__ */ ot(() => /* @__PURE__ */ h(
|
|
8840
8837
|
"img",
|
|
@@ -9068,12 +9065,12 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9068
9065
|
index: "1"
|
|
9069
9066
|
}, {
|
|
9070
9067
|
title: U(() => [
|
|
9071
|
-
|
|
9068
|
+
qg
|
|
9072
9069
|
]),
|
|
9073
9070
|
default: U(() => [
|
|
9074
9071
|
Q(r, { index: "1-1" }, {
|
|
9075
9072
|
title: U(() => [
|
|
9076
|
-
|
|
9073
|
+
Gg,
|
|
9077
9074
|
le(" Hot Tools ")
|
|
9078
9075
|
]),
|
|
9079
9076
|
default: U(() => [
|
|
@@ -9086,7 +9083,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9086
9083
|
target: "_blank",
|
|
9087
9084
|
href: "https://www.imgkits.com" + (t.value ? "?from=" + t.value : ""),
|
|
9088
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"
|
|
9089
|
-
},
|
|
9086
|
+
}, Zg, 8, Kg)
|
|
9090
9087
|
]),
|
|
9091
9088
|
_: 1
|
|
9092
9089
|
/* STABLE */
|
|
@@ -9097,7 +9094,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9097
9094
|
target: "_blank",
|
|
9098
9095
|
href: "https://www.livepolls.app/ai_image_generator/image-generator" + (t.value ? "?from=" + t.value : ""),
|
|
9099
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"
|
|
9100
|
-
}, t1, 8,
|
|
9097
|
+
}, t1, 8, Qg)
|
|
9101
9098
|
]),
|
|
9102
9099
|
_: 1
|
|
9103
9100
|
/* STABLE */
|
|
@@ -9112,7 +9109,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9112
9109
|
le(" Google Workspace Tools ")
|
|
9113
9110
|
]),
|
|
9114
9111
|
default: U(() => [
|
|
9115
|
-
(T(!0),
|
|
9112
|
+
(T(!0), L(
|
|
9116
9113
|
ie,
|
|
9117
9114
|
null,
|
|
9118
9115
|
at(e.workspaceTools, (i, c) => (T(), ee(y(fn), {
|
|
@@ -9125,18 +9122,18 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9125
9122
|
class: "flex w-full items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9126
9123
|
target: "_blank"
|
|
9127
9124
|
}, [
|
|
9128
|
-
i.icon ? (T(),
|
|
9125
|
+
i.icon ? (T(), L("img", {
|
|
9129
9126
|
key: 0,
|
|
9130
9127
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9131
9128
|
src: i.icon
|
|
9132
|
-
}, null, 8, r1)) :
|
|
9129
|
+
}, null, 8, r1)) : F("v-if", !0),
|
|
9133
9130
|
le(
|
|
9134
9131
|
" " + ne(i.name) + " ",
|
|
9135
9132
|
1
|
|
9136
9133
|
/* TEXT */
|
|
9137
9134
|
),
|
|
9138
|
-
i.type == 1 ? (T(),
|
|
9139
|
-
i.type == 2 ? (T(),
|
|
9135
|
+
i.type == 1 ? (T(), L("span", s1, "Hot")) : F("v-if", !0),
|
|
9136
|
+
i.type == 2 ? (T(), L("span", a1, "AI")) : F("v-if", !0)
|
|
9140
9137
|
], 8, o1)
|
|
9141
9138
|
]),
|
|
9142
9139
|
_: 2
|
|
@@ -9155,7 +9152,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9155
9152
|
le(" Chrome Extensions ")
|
|
9156
9153
|
]),
|
|
9157
9154
|
default: U(() => [
|
|
9158
|
-
(T(!0),
|
|
9155
|
+
(T(!0), L(
|
|
9159
9156
|
ie,
|
|
9160
9157
|
null,
|
|
9161
9158
|
at(e.chrome_addon_tools, (i, c) => (T(), ee(y(fn), {
|
|
@@ -9168,18 +9165,18 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9168
9165
|
class: "w-full flex items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9169
9166
|
target: "_blank"
|
|
9170
9167
|
}, [
|
|
9171
|
-
i.icon ? (T(),
|
|
9168
|
+
i.icon ? (T(), L("img", {
|
|
9172
9169
|
key: 0,
|
|
9173
9170
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9174
9171
|
src: i.icon
|
|
9175
|
-
}, null, 8, c1)) :
|
|
9172
|
+
}, null, 8, c1)) : F("v-if", !0),
|
|
9176
9173
|
le(
|
|
9177
9174
|
" " + ne(i.name) + " ",
|
|
9178
9175
|
1
|
|
9179
9176
|
/* TEXT */
|
|
9180
9177
|
),
|
|
9181
|
-
i.type == 1 ? (T(),
|
|
9182
|
-
i.type == 2 ? (T(),
|
|
9178
|
+
i.type == 1 ? (T(), L("span", u1, "Hot")) : F("v-if", !0),
|
|
9179
|
+
i.type == 2 ? (T(), L("span", d1, "AI")) : F("v-if", !0)
|
|
9183
9180
|
], 8, l1)
|
|
9184
9181
|
]),
|
|
9185
9182
|
_: 2
|
|
@@ -9198,7 +9195,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9198
9195
|
le(" Edge Extensions ")
|
|
9199
9196
|
]),
|
|
9200
9197
|
default: U(() => [
|
|
9201
|
-
(T(!0),
|
|
9198
|
+
(T(!0), L(
|
|
9202
9199
|
ie,
|
|
9203
9200
|
null,
|
|
9204
9201
|
at(e.edge_addon_tools, (i, c) => (T(), ee(y(fn), {
|
|
@@ -9211,18 +9208,18 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9211
9208
|
class: "w-full flex items-center font-normal hover:underline p-2 hover:text-indigo-600",
|
|
9212
9209
|
target: "_blank"
|
|
9213
9210
|
}, [
|
|
9214
|
-
i.icon ? (T(),
|
|
9211
|
+
i.icon ? (T(), L("img", {
|
|
9215
9212
|
key: 0,
|
|
9216
9213
|
class: "h-4 mr-2 w-4 inline-block",
|
|
9217
9214
|
src: i.icon
|
|
9218
|
-
}, null, 8, h1)) :
|
|
9215
|
+
}, null, 8, h1)) : F("v-if", !0),
|
|
9219
9216
|
le(
|
|
9220
9217
|
" " + ne(i.name) + " ",
|
|
9221
9218
|
1
|
|
9222
9219
|
/* TEXT */
|
|
9223
9220
|
),
|
|
9224
|
-
i.type == 1 ? (T(),
|
|
9225
|
-
i.type == 2 ? (T(),
|
|
9221
|
+
i.type == 1 ? (T(), L("span", m1, "Hot")) : F("v-if", !0),
|
|
9222
|
+
i.type == 2 ? (T(), L("span", v1, "AI")) : F("v-if", !0)
|
|
9226
9223
|
], 8, p1)
|
|
9227
9224
|
]),
|
|
9228
9225
|
_: 2
|
|
@@ -9253,7 +9250,7 @@ const ot = (e) => (Qt("data-v-b9e2cd3f"), e = e(), Xt(), e), q0 = /* @__PURE__ *
|
|
|
9253
9250
|
});
|
|
9254
9251
|
};
|
|
9255
9252
|
}
|
|
9256
|
-
}, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/
|
|
9253
|
+
}, b1 = /* @__PURE__ */ Mt(g1, [["__scopeId", "data-v-b9e2cd3f"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/MobileMoreApps.vue"]]);
|
|
9257
9254
|
const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
9258
9255
|
class: "flex items-center justify-between py-6 lg:px-0 px-6",
|
|
9259
9256
|
"aria-label": "Global"
|
|
@@ -9851,15 +9848,16 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9851
9848
|
n.userStore.showLogin(!0);
|
|
9852
9849
|
}, v = M(!1);
|
|
9853
9850
|
X(() => {
|
|
9854
|
-
da(s.substring(1), "chrome_addon").then((
|
|
9855
|
-
i.value =
|
|
9856
|
-
}), da(s.substring(1), "google_workspace").then((
|
|
9857
|
-
console.log(
|
|
9858
|
-
})
|
|
9859
|
-
|
|
9860
|
-
|
|
9861
|
-
|
|
9862
|
-
|
|
9851
|
+
da(s.substring(1), "chrome_addon").then(($) => {
|
|
9852
|
+
i.value = $.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 = $.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(($) => {
|
|
9854
|
+
console.log($, "google_workspace"), a.value = $.slice(0, 6), a.value.push({ name: "More Google Workspace >", url: "https://www.livepolls.app/apps" }), console.log(a.value, "workspace");
|
|
9855
|
+
}), Ue(() => {
|
|
9856
|
+
const $ = new URL(location.href);
|
|
9857
|
+
f.value = $.searchParams.get("from") || window.app_type;
|
|
9858
|
+
}), n.userStore.getUser(n.driveQuery).then(
|
|
9859
|
+
({ profile: $ }) => {
|
|
9860
|
+
t("initUserCallback", $), console.log("login", $), !$ && n.from != "login" && !n.isShenHe && A();
|
|
9863
9861
|
},
|
|
9864
9862
|
() => {
|
|
9865
9863
|
}
|
|
@@ -9867,7 +9865,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9867
9865
|
});
|
|
9868
9866
|
async function _() {
|
|
9869
9867
|
g();
|
|
9870
|
-
const
|
|
9868
|
+
const $ = Dt.service({
|
|
9871
9869
|
text: "logining...",
|
|
9872
9870
|
background: "rgba(0, 0, 0, 0.7)"
|
|
9873
9871
|
});
|
|
@@ -9875,7 +9873,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9875
9873
|
await n.userStore.getUser(n.driveQuery), t("loginSuccess");
|
|
9876
9874
|
} catch {
|
|
9877
9875
|
} finally {
|
|
9878
|
-
|
|
9876
|
+
$.close();
|
|
9879
9877
|
}
|
|
9880
9878
|
}
|
|
9881
9879
|
function g() {
|
|
@@ -9890,26 +9888,26 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9890
9888
|
function C() {
|
|
9891
9889
|
d.value = !d.value;
|
|
9892
9890
|
}
|
|
9893
|
-
function A(
|
|
9891
|
+
function A($) {
|
|
9894
9892
|
console.log("addGoogleAccountsScript:before"), typeof google < "u" && (google.accounts.id.initialize({
|
|
9895
9893
|
client_id: "704677828444-ihbv6faprun043f3iuponnrctutdssgj.apps.googleusercontent.com",
|
|
9896
|
-
callback:
|
|
9894
|
+
callback: N
|
|
9897
9895
|
}), google.accounts.id.prompt());
|
|
9898
9896
|
}
|
|
9899
|
-
function $
|
|
9900
|
-
|
|
9901
|
-
(
|
|
9902
|
-
console.log("fetch_success",
|
|
9897
|
+
function N($) {
|
|
9898
|
+
!$ || !$.credential || Qi($.credential).then(
|
|
9899
|
+
(D) => {
|
|
9900
|
+
console.log("fetch_success", D), n.userStore ? n.userStore.getUser(n.driveQuery) : location.href = location.pathname;
|
|
9903
9901
|
},
|
|
9904
|
-
(
|
|
9905
|
-
console.log("fetch_fail",
|
|
9902
|
+
(D) => {
|
|
9903
|
+
console.log("fetch_fail", D);
|
|
9906
9904
|
}
|
|
9907
9905
|
);
|
|
9908
9906
|
}
|
|
9909
9907
|
function b() {
|
|
9910
9908
|
n.userStore.hideInvite(!1);
|
|
9911
9909
|
}
|
|
9912
|
-
return (
|
|
9910
|
+
return ($, D) => (T(), L(
|
|
9913
9911
|
ie,
|
|
9914
9912
|
null,
|
|
9915
9913
|
[
|
|
@@ -9931,9 +9929,9 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9931
9929
|
class: se(["absolute h-[84px] top-0 bg-white inset-x-0 z-30 mx-auto", [e.className]])
|
|
9932
9930
|
},
|
|
9933
9931
|
[
|
|
9934
|
-
|
|
9932
|
+
F(" nav "),
|
|
9935
9933
|
h("nav", y1, [
|
|
9936
|
-
|
|
9934
|
+
F(" 显示 当前项目产品logo和 名称 大小屏幕公用 "),
|
|
9937
9935
|
h("div", _1, [
|
|
9938
9936
|
w1,
|
|
9939
9937
|
h("a", {
|
|
@@ -9954,33 +9952,33 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9954
9952
|
)
|
|
9955
9953
|
], 8, x1)
|
|
9956
9954
|
]),
|
|
9957
|
-
|
|
9955
|
+
F(" 小屏幕 menu菜单栏 "),
|
|
9958
9956
|
h("div", k1, [
|
|
9959
9957
|
h("button", {
|
|
9960
9958
|
type: "button",
|
|
9961
9959
|
class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
|
|
9962
|
-
onClick:
|
|
9960
|
+
onClick: D[0] || (D[0] = (x) => v.value = !0)
|
|
9963
9961
|
}, [
|
|
9964
9962
|
O1,
|
|
9965
|
-
Q(y(
|
|
9963
|
+
Q(y(m0), {
|
|
9966
9964
|
class: "h-6 w-6",
|
|
9967
9965
|
"aria-hidden": "true"
|
|
9968
9966
|
})
|
|
9969
9967
|
])
|
|
9970
9968
|
]),
|
|
9971
|
-
|
|
9969
|
+
F(" lg>屏幕 显示 workspace 产品推荐的组件 "),
|
|
9972
9970
|
h("div", T1, [
|
|
9973
|
-
|
|
9974
|
-
e.isShenHe ?
|
|
9971
|
+
F(" 弹出菜单栏组件 "),
|
|
9972
|
+
e.isShenHe ? F("v-if", !0) : (T(), ee(y(wl), {
|
|
9975
9973
|
key: 0,
|
|
9976
9974
|
class: "relative bug_buuton_wrap"
|
|
9977
9975
|
}, {
|
|
9978
9976
|
default: U(() => [
|
|
9979
|
-
Q(y(
|
|
9977
|
+
Q(y(p0), { class: "bg-transparent border-0 outline-none" }, {
|
|
9980
9978
|
default: U(() => [
|
|
9981
9979
|
h("div", P1, [
|
|
9982
9980
|
C1,
|
|
9983
|
-
Q(y(
|
|
9981
|
+
Q(y(Wg), {
|
|
9984
9982
|
class: "h-5 w-5",
|
|
9985
9983
|
"aria-hidden": "true"
|
|
9986
9984
|
})
|
|
@@ -9998,9 +9996,9 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
9998
9996
|
"leave-to-class": "opacity-0 translate-y-1"
|
|
9999
9997
|
}, {
|
|
10000
9998
|
default: U(() => [
|
|
10001
|
-
Q(y(
|
|
9999
|
+
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" }, {
|
|
10002
10000
|
default: U(() => [
|
|
10003
|
-
|
|
10001
|
+
F(" 分三个模块 "),
|
|
10004
10002
|
h(
|
|
10005
10003
|
"div",
|
|
10006
10004
|
{
|
|
@@ -10009,7 +10007,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10009
10007
|
[
|
|
10010
10008
|
h("div", A1, [
|
|
10011
10009
|
I1,
|
|
10012
|
-
|
|
10010
|
+
F(" face_swap_ai.png "),
|
|
10013
10011
|
h("div", M1, [
|
|
10014
10012
|
h("a", {
|
|
10015
10013
|
target: "_blank",
|
|
@@ -10023,14 +10021,14 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10023
10021
|
}, B1, 8, F1)
|
|
10024
10022
|
])
|
|
10025
10023
|
]),
|
|
10026
|
-
|
|
10024
|
+
F(" workspace "),
|
|
10027
10025
|
h("div", H1, [
|
|
10028
10026
|
z1,
|
|
10029
10027
|
h("div", U1, [
|
|
10030
|
-
(T(!0),
|
|
10028
|
+
(T(!0), L(
|
|
10031
10029
|
ie,
|
|
10032
10030
|
null,
|
|
10033
|
-
at(a.value, (x, w) => (T(),
|
|
10031
|
+
at(a.value, (x, w) => (T(), L("div", {
|
|
10034
10032
|
key: x.name,
|
|
10035
10033
|
class: "flex items-center"
|
|
10036
10034
|
}, [
|
|
@@ -10039,33 +10037,33 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10039
10037
|
class: "truncate font-normal hover:underline block p-2 hover:text-indigo-600",
|
|
10040
10038
|
target: "_blank"
|
|
10041
10039
|
}, [
|
|
10042
|
-
x.icon ? (T(),
|
|
10040
|
+
x.icon ? (T(), L("img", {
|
|
10043
10041
|
key: 0,
|
|
10044
10042
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10045
10043
|
src: x.icon
|
|
10046
|
-
}, null, 8, W1)) :
|
|
10044
|
+
}, null, 8, W1)) : F("v-if", !0),
|
|
10047
10045
|
le(
|
|
10048
10046
|
" " + ne(x.name),
|
|
10049
10047
|
1
|
|
10050
10048
|
/* TEXT */
|
|
10051
10049
|
)
|
|
10052
10050
|
], 8, V1),
|
|
10053
|
-
x.type == 1 ? (T(),
|
|
10054
|
-
x.type == 2 ? (T(),
|
|
10051
|
+
x.type == 1 ? (T(), L("span", q1, "Hot")) : F("v-if", !0),
|
|
10052
|
+
x.type == 2 ? (T(), L("span", G1, "AI")) : F("v-if", !0)
|
|
10055
10053
|
]))),
|
|
10056
10054
|
128
|
|
10057
10055
|
/* KEYED_FRAGMENT */
|
|
10058
10056
|
))
|
|
10059
10057
|
])
|
|
10060
10058
|
]),
|
|
10061
|
-
|
|
10059
|
+
F(" chrome_addon "),
|
|
10062
10060
|
h("div", K1, [
|
|
10063
10061
|
J1,
|
|
10064
10062
|
h("div", Y1, [
|
|
10065
|
-
(T(!0),
|
|
10063
|
+
(T(!0), L(
|
|
10066
10064
|
ie,
|
|
10067
10065
|
null,
|
|
10068
|
-
at(i.value, (x, w) => (T(),
|
|
10066
|
+
at(i.value, (x, w) => (T(), L("div", {
|
|
10069
10067
|
key: x.name,
|
|
10070
10068
|
class: "flex items-center"
|
|
10071
10069
|
}, [
|
|
@@ -10074,33 +10072,33 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10074
10072
|
class: "truncate font-normal hover:underline block p-2 hover:text-indigo-600",
|
|
10075
10073
|
target: "_blank"
|
|
10076
10074
|
}, [
|
|
10077
|
-
x.icon ? (T(),
|
|
10075
|
+
x.icon ? (T(), L("img", {
|
|
10078
10076
|
key: 0,
|
|
10079
10077
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10080
10078
|
src: x.icon
|
|
10081
|
-
}, null, 8, Q1)) :
|
|
10079
|
+
}, null, 8, Q1)) : F("v-if", !0),
|
|
10082
10080
|
le(
|
|
10083
10081
|
" " + ne(x.name),
|
|
10084
10082
|
1
|
|
10085
10083
|
/* TEXT */
|
|
10086
10084
|
)
|
|
10087
10085
|
], 8, Z1),
|
|
10088
|
-
x.type == 1 ? (T(),
|
|
10089
|
-
x.type == 2 ? (T(),
|
|
10086
|
+
x.type == 1 ? (T(), L("span", X1, "Hot")) : F("v-if", !0),
|
|
10087
|
+
x.type == 2 ? (T(), L("span", eb, "AI")) : F("v-if", !0)
|
|
10090
10088
|
]))),
|
|
10091
10089
|
128
|
|
10092
10090
|
/* KEYED_FRAGMENT */
|
|
10093
10091
|
))
|
|
10094
10092
|
])
|
|
10095
10093
|
]),
|
|
10096
|
-
|
|
10094
|
+
F(" edge_addon "),
|
|
10097
10095
|
h("div", tb, [
|
|
10098
10096
|
nb,
|
|
10099
10097
|
h("div", ob, [
|
|
10100
|
-
(T(!0),
|
|
10098
|
+
(T(!0), L(
|
|
10101
10099
|
ie,
|
|
10102
10100
|
null,
|
|
10103
|
-
at(c.value, (x, w) => (T(),
|
|
10101
|
+
at(c.value, (x, w) => (T(), L("div", {
|
|
10104
10102
|
key: x.name,
|
|
10105
10103
|
class: "flex items-center"
|
|
10106
10104
|
}, [
|
|
@@ -10109,19 +10107,19 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10109
10107
|
class: "truncate hover:underline font-normal block p-2 hover:text-indigo-600",
|
|
10110
10108
|
target: "_blank"
|
|
10111
10109
|
}, [
|
|
10112
|
-
x.icon ? (T(),
|
|
10110
|
+
x.icon ? (T(), L("img", {
|
|
10113
10111
|
key: 0,
|
|
10114
10112
|
class: "h-4 mr-2 w-4 inline-block",
|
|
10115
10113
|
src: x.icon
|
|
10116
|
-
}, null, 8, sb)) :
|
|
10114
|
+
}, null, 8, sb)) : F("v-if", !0),
|
|
10117
10115
|
le(
|
|
10118
10116
|
" " + ne(x.name),
|
|
10119
10117
|
1
|
|
10120
10118
|
/* TEXT */
|
|
10121
10119
|
)
|
|
10122
10120
|
], 8, rb),
|
|
10123
|
-
x.type == 1 ? (T(),
|
|
10124
|
-
x.type == 2 ? (T(),
|
|
10121
|
+
x.type == 1 ? (T(), L("span", ab, "Hot")) : F("v-if", !0),
|
|
10122
|
+
x.type == 2 ? (T(), L("span", ib, "AI")) : F("v-if", !0)
|
|
10125
10123
|
]))),
|
|
10126
10124
|
128
|
|
10127
10125
|
/* KEYED_FRAGMENT */
|
|
@@ -10144,11 +10142,11 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10144
10142
|
_: 1
|
|
10145
10143
|
/* STABLE */
|
|
10146
10144
|
})),
|
|
10147
|
-
|
|
10148
|
-
(T(!0),
|
|
10145
|
+
F(" 下面这个非菜单栏 "),
|
|
10146
|
+
(T(!0), L(
|
|
10149
10147
|
ie,
|
|
10150
10148
|
null,
|
|
10151
|
-
at(l.value, (x) => (T(),
|
|
10149
|
+
at(l.value, (x) => (T(), L("a", {
|
|
10152
10150
|
key: x.name,
|
|
10153
10151
|
href: f.value ? x.href + "?from=" + f.value : x.href,
|
|
10154
10152
|
target: x.target,
|
|
@@ -10158,12 +10156,12 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10158
10156
|
/* KEYED_FRAGMENT */
|
|
10159
10157
|
))
|
|
10160
10158
|
]),
|
|
10161
|
-
|
|
10162
|
-
e.isShenHe ? (T(),
|
|
10159
|
+
F(" lg>屏幕 显示 非审核 显示login 已经登录显示用户信息 "),
|
|
10160
|
+
e.isShenHe ? (T(), L("div", cb)) : m.value ? (T(), L(
|
|
10163
10161
|
ie,
|
|
10164
10162
|
{ key: 2 },
|
|
10165
10163
|
[
|
|
10166
|
-
|
|
10164
|
+
F(" 用户信息 "),
|
|
10167
10165
|
h("div", fb, [
|
|
10168
10166
|
h(
|
|
10169
10167
|
"div",
|
|
@@ -10193,11 +10191,11 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10193
10191
|
null,
|
|
10194
10192
|
[
|
|
10195
10193
|
h("div", vb, [
|
|
10196
|
-
|
|
10194
|
+
F(" 用户信息 移入菜单栏 "),
|
|
10197
10195
|
m.value ? (T(), ee(_a, {
|
|
10198
10196
|
key: 0,
|
|
10199
10197
|
user: m.value
|
|
10200
|
-
}, null, 8, ["user"])) :
|
|
10198
|
+
}, null, 8, ["user"])) : F("v-if", !0)
|
|
10201
10199
|
])
|
|
10202
10200
|
],
|
|
10203
10201
|
512
|
|
@@ -10213,7 +10211,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10213
10211
|
],
|
|
10214
10212
|
2112
|
|
10215
10213
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
10216
|
-
)) : (T(),
|
|
10214
|
+
)) : (T(), L("div", ub, [
|
|
10217
10215
|
h("a", {
|
|
10218
10216
|
onClick: p,
|
|
10219
10217
|
href: "javscript:void(0)",
|
|
@@ -10224,16 +10222,16 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10224
10222
|
])
|
|
10225
10223
|
]))
|
|
10226
10224
|
]),
|
|
10227
|
-
|
|
10228
|
-
Q(y(
|
|
10225
|
+
F(" 小屏幕 menu菜单栏 "),
|
|
10226
|
+
Q(y(c0), {
|
|
10229
10227
|
as: "div",
|
|
10230
10228
|
class: "lg:hidden",
|
|
10231
|
-
onClose:
|
|
10229
|
+
onClose: D[2] || (D[2] = (x) => v.value = !1),
|
|
10232
10230
|
open: v.value
|
|
10233
10231
|
}, {
|
|
10234
10232
|
default: U(() => [
|
|
10235
10233
|
gb,
|
|
10236
|
-
Q(y(
|
|
10234
|
+
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" }, {
|
|
10237
10235
|
default: U(() => [
|
|
10238
10236
|
h("div", bb, [
|
|
10239
10237
|
h("a", {
|
|
@@ -10256,10 +10254,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10256
10254
|
h("button", {
|
|
10257
10255
|
type: "button",
|
|
10258
10256
|
class: "-m-2.5 rounded-md p-2.5 text-gray-700",
|
|
10259
|
-
onClick:
|
|
10257
|
+
onClick: D[1] || (D[1] = (x) => v.value = !1)
|
|
10260
10258
|
}, [
|
|
10261
10259
|
xb,
|
|
10262
|
-
Q(y(
|
|
10260
|
+
Q(y(v0), {
|
|
10263
10261
|
class: "h-6 w-6",
|
|
10264
10262
|
"aria-hidden": "true"
|
|
10265
10263
|
})
|
|
@@ -10273,10 +10271,10 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10273
10271
|
chrome_addon_tools: i.value,
|
|
10274
10272
|
edge_addon_tools: c.value
|
|
10275
10273
|
}, null, 8, ["workspaceTools", "chrome_addon_tools", "edge_addon_tools"]),
|
|
10276
|
-
(T(!0),
|
|
10274
|
+
(T(!0), L(
|
|
10277
10275
|
ie,
|
|
10278
10276
|
null,
|
|
10279
|
-
at(l.value, (x) => (T(),
|
|
10277
|
+
at(l.value, (x) => (T(), L("a", {
|
|
10280
10278
|
key: x.name,
|
|
10281
10279
|
href: f.value ? x.href + "?from=" + f.value : x.href,
|
|
10282
10280
|
target: x.target,
|
|
@@ -10286,7 +10284,7 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10286
10284
|
/* KEYED_FRAGMENT */
|
|
10287
10285
|
))
|
|
10288
10286
|
]),
|
|
10289
|
-
m.value ? (T(),
|
|
10287
|
+
m.value ? (T(), L("div", {
|
|
10290
10288
|
key: 1,
|
|
10291
10289
|
class: "relative sm-user-center-dialog block ml-10 py-6 right flew-center",
|
|
10292
10290
|
onClick: C
|
|
@@ -10294,8 +10292,8 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10294
10292
|
m.value ? (T(), ee(_a, {
|
|
10295
10293
|
key: 0,
|
|
10296
10294
|
user: m.value
|
|
10297
|
-
}, null, 8, ["user"])) :
|
|
10298
|
-
])) : (T(),
|
|
10295
|
+
}, null, 8, ["user"])) : F("v-if", !0)
|
|
10296
|
+
])) : (T(), L("div", Tb, [
|
|
10299
10297
|
h("a", {
|
|
10300
10298
|
href: "#",
|
|
10301
10299
|
onClick: p,
|
|
@@ -10324,26 +10322,26 @@ const ge = (e) => (Qt("data-v-c970699f"), e = e(), Xt(), e), y1 = {
|
|
|
10324
10322
|
2
|
|
10325
10323
|
/* CLASS */
|
|
10326
10324
|
),
|
|
10327
|
-
|
|
10328
|
-
e.userStore.isShowLogin ? (T(), ee(
|
|
10325
|
+
F(" 引入登录 "),
|
|
10326
|
+
e.userStore.isShowLogin ? (T(), ee(Q0, {
|
|
10329
10327
|
key: 0,
|
|
10330
10328
|
onSuccess: _,
|
|
10331
10329
|
onClose: g
|
|
10332
|
-
})) :
|
|
10333
|
-
e.userStore.isShowToast ? (T(), ee(
|
|
10330
|
+
})) : F("v-if", !0),
|
|
10331
|
+
e.userStore.isShowToast ? (T(), ee(Ng, {
|
|
10334
10332
|
key: 1,
|
|
10335
10333
|
content: e.userStore.toastContent
|
|
10336
|
-
}, null, 8, ["content"])) :
|
|
10337
|
-
e.userStore.isShowInvite ? (T(), ee(
|
|
10334
|
+
}, null, 8, ["content"])) : F("v-if", !0),
|
|
10335
|
+
e.userStore.isShowInvite ? (T(), ee(Vg, {
|
|
10338
10336
|
key: 2,
|
|
10339
10337
|
onCancel: b
|
|
10340
|
-
})) :
|
|
10338
|
+
})) : F("v-if", !0)
|
|
10341
10339
|
],
|
|
10342
10340
|
64
|
|
10343
10341
|
/* STABLE_FRAGMENT */
|
|
10344
10342
|
));
|
|
10345
10343
|
}
|
|
10346
|
-
}, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/
|
|
10344
|
+
}, Cb = /* @__PURE__ */ Mt(Pb, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/c/Desktop/workspace/z_liusenlin_project/Translation_Video/src/components/Header.vue"]]), Nb = {
|
|
10347
10345
|
install(e) {
|
|
10348
10346
|
e.component("my-header", Cb);
|
|
10349
10347
|
}
|