my-header-yichong 1.0.1 → 1.0.2
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 +407 -388
- package/my-header.umd.cjs +9 -9
- package/package.json +1 -1
package/my-header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { warn as so, inject as B, ref as C, computed as E, unref as G, isRef as
|
|
1
|
+
import { warn as so, inject as B, ref as C, computed as E, unref as G, isRef as ue, getCurrentInstance as ln, provide as he, reactive as cn, defineComponent as U, h as L, Transition as io, withCtx as Ht, withDirectives as Ue, createVNode as be, vShow as nr, createApp as ao, toRefs as Qt, nextTick as He, cloneVNode as lo, Fragment as ze, watchEffect as me, onMounted as V, onUnmounted as te, watch as Ye, Teleport as co, shallowRef as uo, openBlock as S, createElementBlock as T, createElementVNode as v, toDisplayString as Q, createTextVNode as st, createCommentVNode as _, vModelText as Rt, pushScopeId as Je, popScopeId as We, resolveComponent as fo, hasInjectionContext as po, markRaw as Ie, effectScope as ho, isReactive as un, toRef as jt, toRaw as mo, getCurrentScope as go, onScopeDispose as vo, normalizeStyle as wo, renderList as xn, createBlock as et } from "vue";
|
|
2
2
|
const yo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAABHNCSVQICAgIfAhkiAAAAF96VFh0UmF3IHByb2ZpbGUgdHlwZSBBUFAxAAAImeNKT81LLcpMVigoyk/LzEnlUgADYxMuE0sTS6NEAwMDCwMIMDQwMDYEkkZAtjlUKNEABZiYm6UBoblZspkpiM8FAE+6FWgbLdiMAAAgAElEQVR4nOzdeXxU1d0/8M/3nHtnyQbZCYQthC2QgCLihvu+W6u1m9a2VmsX22qtT/en7dPn6d5q++u+2L12s3VB64a7KKgQBIEECATInkCSWe5yvr8/JiDJTEICCcmE7/v1QmTmzj13kskn554VEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEE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EAAgIA+Ps3lrKAQq9X/AKIMSRyN8FlRNSzdpmjt9cZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/nEB9PYcwLGU0OwAAAAASUVORK5CYII=";
|
|
3
3
|
function rr(e, t) {
|
|
4
4
|
return function() {
|
|
@@ -8,7 +8,7 @@ function rr(e, t) {
|
|
|
8
8
|
const { toString: bo } = Object.prototype, { getPrototypeOf: dn } = Object, gt = ((e) => (t) => {
|
|
9
9
|
const n = bo.call(t);
|
|
10
10
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
11
|
-
})(/* @__PURE__ */ Object.create(null)), X = (e) => (e = e.toLowerCase(), (t) => gt(t) === e), vt = (e) => (t) => typeof t === e, { isArray:
|
|
11
|
+
})(/* @__PURE__ */ Object.create(null)), X = (e) => (e = e.toLowerCase(), (t) => gt(t) === e), vt = (e) => (t) => typeof t === e, { isArray: xe } = Array, Qe = vt("undefined");
|
|
12
12
|
function Eo(e) {
|
|
13
13
|
return e !== null && !Qe(e) && e.constructor !== null && !Qe(e.constructor) && H(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
14
14
|
}
|
|
@@ -22,7 +22,7 @@ const xo = vt("string"), H = vt("function"), sr = vt("number"), wt = (e) => e !=
|
|
|
22
22
|
return !1;
|
|
23
23
|
const t = dn(e);
|
|
24
24
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
25
|
-
}, So = X("Date"), Oo = X("File"), Po = X("Blob"),
|
|
25
|
+
}, So = X("Date"), Oo = X("File"), Po = X("Blob"), No = X("FileList"), Do = (e) => wt(e) && H(e.pipe), To = (e) => {
|
|
26
26
|
let t;
|
|
27
27
|
return e && (typeof FormData == "function" && e instanceof FormData || H(e.append) && ((t = gt(e)) === "formdata" || // detect form-data instance
|
|
28
28
|
t === "object" && H(e.toString) && e.toString() === "[object FormData]"));
|
|
@@ -31,7 +31,7 @@ function Ke(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
31
31
|
if (e === null || typeof e > "u")
|
|
32
32
|
return;
|
|
33
33
|
let r, o;
|
|
34
|
-
if (typeof e != "object" && (e = [e]),
|
|
34
|
+
if (typeof e != "object" && (e = [e]), xe(e))
|
|
35
35
|
for (r = 0, o = e.length; r < o; r++)
|
|
36
36
|
t.call(null, e[r], r, e);
|
|
37
37
|
else {
|
|
@@ -54,7 +54,7 @@ const ar = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? sel
|
|
|
54
54
|
function Vt() {
|
|
55
55
|
const { caseless: e } = lr(this) && this || {}, t = {}, n = (r, o) => {
|
|
56
56
|
const s = e && ir(t, o) || o;
|
|
57
|
-
it(t[s]) && it(r) ? t[s] = Vt(t[s], r) : it(r) ? t[s] = Vt({}, r) :
|
|
57
|
+
it(t[s]) && it(r) ? t[s] = Vt(t[s], r) : it(r) ? t[s] = Vt({}, r) : xe(r) ? t[s] = r.slice() : t[s] = r;
|
|
58
58
|
};
|
|
59
59
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
60
60
|
arguments[r] && Ke(arguments[r], n);
|
|
@@ -84,7 +84,7 @@ const _o = (e, t, n, { allOwnKeys: r } = {}) => (Ke(t, (o, s) => {
|
|
|
84
84
|
}, ko = (e) => {
|
|
85
85
|
if (!e)
|
|
86
86
|
return null;
|
|
87
|
-
if (
|
|
87
|
+
if (xe(e))
|
|
88
88
|
return e;
|
|
89
89
|
let t = e.length;
|
|
90
90
|
if (!sr(t))
|
|
@@ -137,7 +137,7 @@ const _o = (e, t, n, { allOwnKeys: r } = {}) => (Ke(t, (o, s) => {
|
|
|
137
137
|
n[s] = !0;
|
|
138
138
|
});
|
|
139
139
|
};
|
|
140
|
-
return
|
|
140
|
+
return xe(e) ? r(e) : r(String(e).split(t)), n;
|
|
141
141
|
}, Jo = () => {
|
|
142
142
|
}, Wo = (e, t) => (e = +e, Number.isFinite(e) ? e : t), _t = "abcdefghijklmnopqrstuvwxyz", Sn = "0123456789", ur = {
|
|
143
143
|
DIGIT: Sn,
|
|
@@ -160,7 +160,7 @@ const Zo = (e) => {
|
|
|
160
160
|
return;
|
|
161
161
|
if (!("toJSON" in r)) {
|
|
162
162
|
t[o] = r;
|
|
163
|
-
const s =
|
|
163
|
+
const s = xe(r) ? [] : {};
|
|
164
164
|
return Ke(r, (i, a) => {
|
|
165
165
|
const u = n(i, o + 1);
|
|
166
166
|
!Qe(u) && (s[a] = u);
|
|
@@ -171,7 +171,7 @@ const Zo = (e) => {
|
|
|
171
171
|
};
|
|
172
172
|
return n(e, 0);
|
|
173
173
|
}, Xo = X("AsyncFunction"), $o = (e) => e && (wt(e) || H(e)) && H(e.then) && H(e.catch), f = {
|
|
174
|
-
isArray:
|
|
174
|
+
isArray: xe,
|
|
175
175
|
isArrayBuffer: or,
|
|
176
176
|
isBuffer: Eo,
|
|
177
177
|
isFormData: To,
|
|
@@ -187,10 +187,10 @@ const Zo = (e) => {
|
|
|
187
187
|
isBlob: Po,
|
|
188
188
|
isRegExp: Qo,
|
|
189
189
|
isFunction: H,
|
|
190
|
-
isStream:
|
|
190
|
+
isStream: Do,
|
|
191
191
|
isURLSearchParams: Ro,
|
|
192
192
|
isTypedArray: Bo,
|
|
193
|
-
isFileList:
|
|
193
|
+
isFileList: No,
|
|
194
194
|
forEach: Ke,
|
|
195
195
|
merge: Vt,
|
|
196
196
|
extend: _o,
|
|
@@ -224,10 +224,10 @@ const Zo = (e) => {
|
|
|
224
224
|
isAsyncFn: Xo,
|
|
225
225
|
isThenable: $o
|
|
226
226
|
};
|
|
227
|
-
function
|
|
227
|
+
function O(e, t, n, r, o) {
|
|
228
228
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o);
|
|
229
229
|
}
|
|
230
|
-
f.inherits(
|
|
230
|
+
f.inherits(O, Error, {
|
|
231
231
|
toJSON: function() {
|
|
232
232
|
return {
|
|
233
233
|
// Standard
|
|
@@ -248,7 +248,7 @@ f.inherits(S, Error, {
|
|
|
248
248
|
};
|
|
249
249
|
}
|
|
250
250
|
});
|
|
251
|
-
const dr =
|
|
251
|
+
const dr = O.prototype, fr = {};
|
|
252
252
|
[
|
|
253
253
|
"ERR_BAD_OPTION_VALUE",
|
|
254
254
|
"ERR_BAD_OPTION",
|
|
@@ -266,13 +266,13 @@ const dr = S.prototype, fr = {};
|
|
|
266
266
|
].forEach((e) => {
|
|
267
267
|
fr[e] = { value: e };
|
|
268
268
|
});
|
|
269
|
-
Object.defineProperties(
|
|
269
|
+
Object.defineProperties(O, fr);
|
|
270
270
|
Object.defineProperty(dr, "isAxiosError", { value: !0 });
|
|
271
|
-
|
|
271
|
+
O.from = (e, t, n, r, o, s) => {
|
|
272
272
|
const i = Object.create(dr);
|
|
273
273
|
return f.toFlatObject(e, i, function(u) {
|
|
274
274
|
return u !== Error.prototype;
|
|
275
|
-
}, (a) => a !== "isAxiosError"),
|
|
275
|
+
}, (a) => a !== "isAxiosError"), O.call(i, e.message, t, n, r, o), i.cause = e, i.name = e.name, s && Object.assign(i, s), i;
|
|
276
276
|
};
|
|
277
277
|
const es = null;
|
|
278
278
|
function Yt(e) {
|
|
@@ -311,7 +311,7 @@ function yt(e, t, n) {
|
|
|
311
311
|
if (f.isDate(m))
|
|
312
312
|
return m.toISOString();
|
|
313
313
|
if (!u && f.isBlob(m))
|
|
314
|
-
throw new
|
|
314
|
+
throw new O("Blob is not supported. Use a Buffer instead.");
|
|
315
315
|
return f.isArrayBuffer(m) || f.isTypedArray(m) ? u && typeof Blob == "function" ? new Blob([m]) : Buffer.from(m) : m;
|
|
316
316
|
}
|
|
317
317
|
function d(m, h, b) {
|
|
@@ -320,10 +320,10 @@ function yt(e, t, n) {
|
|
|
320
320
|
if (f.endsWith(h, "{}"))
|
|
321
321
|
h = r ? h : h.slice(0, -2), m = JSON.stringify(m);
|
|
322
322
|
else if (f.isArray(m) && ts(m) || (f.isFileList(m) || f.endsWith(h, "[]")) && (x = f.toArray(m)))
|
|
323
|
-
return h = pr(h), x.forEach(function(j,
|
|
323
|
+
return h = pr(h), x.forEach(function(j, I) {
|
|
324
324
|
!(f.isUndefined(j) || j === null) && t.append(
|
|
325
325
|
// eslint-disable-next-line no-nested-ternary
|
|
326
|
-
i === !0 ? On([h],
|
|
326
|
+
i === !0 ? On([h], I, s) : i === null ? h : h + "[]",
|
|
327
327
|
l(j)
|
|
328
328
|
);
|
|
329
329
|
}), !1;
|
|
@@ -339,14 +339,14 @@ function yt(e, t, n) {
|
|
|
339
339
|
if (!f.isUndefined(m)) {
|
|
340
340
|
if (c.indexOf(m) !== -1)
|
|
341
341
|
throw Error("Circular reference detected in " + h.join("."));
|
|
342
|
-
c.push(m), f.forEach(m, function(x,
|
|
342
|
+
c.push(m), f.forEach(m, function(x, D) {
|
|
343
343
|
(!(f.isUndefined(x) || x === null) && o.call(
|
|
344
344
|
t,
|
|
345
345
|
x,
|
|
346
|
-
f.isString(
|
|
346
|
+
f.isString(D) ? D.trim() : D,
|
|
347
347
|
h,
|
|
348
348
|
p
|
|
349
|
-
)) === !0 && g(x, h ? h.concat(
|
|
349
|
+
)) === !0 && g(x, h ? h.concat(D) : [D]);
|
|
350
350
|
}), c.pop();
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -451,7 +451,7 @@ class os {
|
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
const
|
|
454
|
+
const Nn = os, gr = {
|
|
455
455
|
silentJSONParsing: !0,
|
|
456
456
|
forcedJSONParsing: !0,
|
|
457
457
|
clarifyTimeoutError: !1
|
|
@@ -552,7 +552,7 @@ const bt = {
|
|
|
552
552
|
return JSON.parse(t);
|
|
553
553
|
} catch (a) {
|
|
554
554
|
if (i)
|
|
555
|
-
throw a.name === "SyntaxError" ?
|
|
555
|
+
throw a.name === "SyntaxError" ? O.from(a, O.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
556
556
|
}
|
|
557
557
|
}
|
|
558
558
|
return t;
|
|
@@ -610,8 +610,8 @@ const pn = bt, ms = f.toObjectSet([
|
|
|
610
610
|
`).forEach(function(i) {
|
|
611
611
|
o = i.indexOf(":"), n = i.substring(0, o).trim().toLowerCase(), r = i.substring(o + 1).trim(), !(!n || t[n] && ms[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
612
612
|
}), t;
|
|
613
|
-
},
|
|
614
|
-
function
|
|
613
|
+
}, Dn = Symbol("internals");
|
|
614
|
+
function De(e) {
|
|
615
615
|
return e && String(e).trim().toLowerCase();
|
|
616
616
|
}
|
|
617
617
|
function at(e) {
|
|
@@ -656,7 +656,7 @@ class Et {
|
|
|
656
656
|
set(t, n, r) {
|
|
657
657
|
const o = this;
|
|
658
658
|
function s(a, u, l) {
|
|
659
|
-
const d =
|
|
659
|
+
const d = De(u);
|
|
660
660
|
if (!d)
|
|
661
661
|
throw new Error("header name must be a non-empty string");
|
|
662
662
|
const c = f.findKey(o, d);
|
|
@@ -666,7 +666,7 @@ class Et {
|
|
|
666
666
|
return f.isPlainObject(t) || t instanceof this.constructor ? i(t, n) : f.isString(t) && (t = t.trim()) && !ws(t) ? i(gs(t), n) : t != null && s(n, t, r), this;
|
|
667
667
|
}
|
|
668
668
|
get(t, n) {
|
|
669
|
-
if (t =
|
|
669
|
+
if (t = De(t), t) {
|
|
670
670
|
const r = f.findKey(this, t);
|
|
671
671
|
if (r) {
|
|
672
672
|
const o = this[r];
|
|
@@ -683,7 +683,7 @@ class Et {
|
|
|
683
683
|
}
|
|
684
684
|
}
|
|
685
685
|
has(t, n) {
|
|
686
|
-
if (t =
|
|
686
|
+
if (t = De(t), t) {
|
|
687
687
|
const r = f.findKey(this, t);
|
|
688
688
|
return !!(r && this[r] !== void 0 && (!n || Lt(this, this[r], r, n)));
|
|
689
689
|
}
|
|
@@ -693,7 +693,7 @@ class Et {
|
|
|
693
693
|
const r = this;
|
|
694
694
|
let o = !1;
|
|
695
695
|
function s(i) {
|
|
696
|
-
if (i =
|
|
696
|
+
if (i = De(i), i) {
|
|
697
697
|
const a = f.findKey(r, i);
|
|
698
698
|
a && (!n || Lt(r, r[a], a, n)) && (delete r[a], o = !0);
|
|
699
699
|
}
|
|
@@ -748,11 +748,11 @@ class Et {
|
|
|
748
748
|
return n.forEach((o) => r.set(o)), r;
|
|
749
749
|
}
|
|
750
750
|
static accessor(t) {
|
|
751
|
-
const r = (this[
|
|
751
|
+
const r = (this[Dn] = this[Dn] = {
|
|
752
752
|
accessors: {}
|
|
753
753
|
}).accessors, o = this.prototype;
|
|
754
754
|
function s(i) {
|
|
755
|
-
const a =
|
|
755
|
+
const a = De(i);
|
|
756
756
|
r[a] || (bs(o, i), r[a] = !0);
|
|
757
757
|
}
|
|
758
758
|
return f.isArray(t) ? t.forEach(s) : s(t), this;
|
|
@@ -761,9 +761,9 @@ class Et {
|
|
|
761
761
|
Et.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
762
762
|
f.freezeMethods(Et.prototype);
|
|
763
763
|
f.freezeMethods(Et);
|
|
764
|
-
const
|
|
764
|
+
const ee = Et;
|
|
765
765
|
function It(e, t) {
|
|
766
|
-
const n = this || pn, r = t || n, o =
|
|
766
|
+
const n = this || pn, r = t || n, o = ee.from(r.headers);
|
|
767
767
|
let s = r.data;
|
|
768
768
|
return f.forEach(e, function(a) {
|
|
769
769
|
s = a.call(n, s, o.normalize(), t ? t.status : void 0);
|
|
@@ -773,16 +773,16 @@ function wr(e) {
|
|
|
773
773
|
return !!(e && e.__CANCEL__);
|
|
774
774
|
}
|
|
775
775
|
function qe(e, t, n) {
|
|
776
|
-
|
|
776
|
+
O.call(this, e ?? "canceled", O.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
777
777
|
}
|
|
778
|
-
f.inherits(qe,
|
|
778
|
+
f.inherits(qe, O, {
|
|
779
779
|
__CANCEL__: !0
|
|
780
780
|
});
|
|
781
781
|
function Es(e, t, n) {
|
|
782
782
|
const r = n.config.validateStatus;
|
|
783
|
-
!n.status || !r || r(n.status) ? e(n) : t(new
|
|
783
|
+
!n.status || !r || r(n.status) ? e(n) : t(new O(
|
|
784
784
|
"Request failed with status code " + n.status,
|
|
785
|
-
[
|
|
785
|
+
[O.ERR_BAD_REQUEST, O.ERR_BAD_RESPONSE][Math.floor(n.status / 100) - 4],
|
|
786
786
|
n.config,
|
|
787
787
|
n.request,
|
|
788
788
|
n
|
|
@@ -898,10 +898,10 @@ function Tn(e, t) {
|
|
|
898
898
|
d[t ? "download" : "upload"] = !0, e(d);
|
|
899
899
|
};
|
|
900
900
|
}
|
|
901
|
-
const
|
|
901
|
+
const Ns = typeof XMLHttpRequest < "u", Ds = Ns && function(e) {
|
|
902
902
|
return new Promise(function(n, r) {
|
|
903
903
|
let o = e.data;
|
|
904
|
-
const s =
|
|
904
|
+
const s = ee.from(e.headers).normalize(), i = e.responseType;
|
|
905
905
|
let a;
|
|
906
906
|
function u() {
|
|
907
907
|
e.cancelToken && e.cancelToken.unsubscribe(a), e.signal && e.signal.removeEventListener("abort", a);
|
|
@@ -917,7 +917,7 @@ const Ds = typeof XMLHttpRequest < "u", Ns = Ds && function(e) {
|
|
|
917
917
|
function c() {
|
|
918
918
|
if (!l)
|
|
919
919
|
return;
|
|
920
|
-
const g =
|
|
920
|
+
const g = ee.from(
|
|
921
921
|
"getAllResponseHeaders" in l && l.getAllResponseHeaders()
|
|
922
922
|
), h = {
|
|
923
923
|
data: !i || i === "text" || i === "json" ? l.responseText : l.response,
|
|
@@ -936,15 +936,15 @@ const Ds = typeof XMLHttpRequest < "u", Ns = Ds && function(e) {
|
|
|
936
936
|
if ("onloadend" in l ? l.onloadend = c : l.onreadystatechange = function() {
|
|
937
937
|
!l || l.readyState !== 4 || l.status === 0 && !(l.responseURL && l.responseURL.indexOf("file:") === 0) || setTimeout(c);
|
|
938
938
|
}, l.onabort = function() {
|
|
939
|
-
l && (r(new
|
|
939
|
+
l && (r(new O("Request aborted", O.ECONNABORTED, e, l)), l = null);
|
|
940
940
|
}, l.onerror = function() {
|
|
941
|
-
r(new
|
|
941
|
+
r(new O("Network Error", O.ERR_NETWORK, e, l)), l = null;
|
|
942
942
|
}, l.ontimeout = function() {
|
|
943
943
|
let m = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
944
944
|
const h = e.transitional || gr;
|
|
945
|
-
e.timeoutErrorMessage && (m = e.timeoutErrorMessage), r(new
|
|
945
|
+
e.timeoutErrorMessage && (m = e.timeoutErrorMessage), r(new O(
|
|
946
946
|
m,
|
|
947
|
-
h.clarifyTimeoutError ?
|
|
947
|
+
h.clarifyTimeoutError ? O.ETIMEDOUT : O.ECONNABORTED,
|
|
948
948
|
e,
|
|
949
949
|
l
|
|
950
950
|
)), l = null;
|
|
@@ -959,14 +959,14 @@ const Ds = typeof XMLHttpRequest < "u", Ns = Ds && function(e) {
|
|
|
959
959
|
}, e.cancelToken && e.cancelToken.subscribe(a), e.signal && (e.signal.aborted ? a() : e.signal.addEventListener("abort", a)));
|
|
960
960
|
const p = Os(d);
|
|
961
961
|
if (p && Z.protocols.indexOf(p) === -1) {
|
|
962
|
-
r(new
|
|
962
|
+
r(new O("Unsupported protocol " + p + ":", O.ERR_BAD_REQUEST, e));
|
|
963
963
|
return;
|
|
964
964
|
}
|
|
965
965
|
l.send(o || null);
|
|
966
966
|
});
|
|
967
967
|
}, lt = {
|
|
968
968
|
http: es,
|
|
969
|
-
xhr:
|
|
969
|
+
xhr: Ds
|
|
970
970
|
};
|
|
971
971
|
f.forEach(lt, (e, t) => {
|
|
972
972
|
if (e) {
|
|
@@ -985,7 +985,7 @@ const Ts = {
|
|
|
985
985
|
for (let o = 0; o < t && (n = e[o], !(r = f.isString(n) ? lt[n.toLowerCase()] : n)); o++)
|
|
986
986
|
;
|
|
987
987
|
if (!r)
|
|
988
|
-
throw r === !1 ? new
|
|
988
|
+
throw r === !1 ? new O(
|
|
989
989
|
`Adapter ${n} is not supported by the environment`,
|
|
990
990
|
"ERR_NOT_SUPPORT"
|
|
991
991
|
) : new Error(
|
|
@@ -1002,7 +1002,7 @@ function Ft(e) {
|
|
|
1002
1002
|
throw new qe(null, e);
|
|
1003
1003
|
}
|
|
1004
1004
|
function Rn(e) {
|
|
1005
|
-
return Ft(e), e.headers =
|
|
1005
|
+
return Ft(e), e.headers = ee.from(e.headers), e.data = It.call(
|
|
1006
1006
|
e,
|
|
1007
1007
|
e.transformRequest
|
|
1008
1008
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), Ts.getAdapter(e.adapter || pn.adapter)(e).then(function(r) {
|
|
@@ -1010,17 +1010,17 @@ function Rn(e) {
|
|
|
1010
1010
|
e,
|
|
1011
1011
|
e.transformResponse,
|
|
1012
1012
|
r
|
|
1013
|
-
), r.headers =
|
|
1013
|
+
), r.headers = ee.from(r.headers), r;
|
|
1014
1014
|
}, function(r) {
|
|
1015
1015
|
return wr(r) || (Ft(e), r && r.response && (r.response.data = It.call(
|
|
1016
1016
|
e,
|
|
1017
1017
|
e.transformResponse,
|
|
1018
1018
|
r.response
|
|
1019
|
-
), r.response.headers =
|
|
1019
|
+
), r.response.headers = ee.from(r.response.headers))), Promise.reject(r);
|
|
1020
1020
|
});
|
|
1021
1021
|
}
|
|
1022
|
-
const jn = (e) => e instanceof
|
|
1023
|
-
function
|
|
1022
|
+
const jn = (e) => e instanceof ee ? e.toJSON() : e;
|
|
1023
|
+
function Ee(e, t) {
|
|
1024
1024
|
t = t || {};
|
|
1025
1025
|
const n = {};
|
|
1026
1026
|
function r(l, d, c) {
|
|
@@ -1098,9 +1098,9 @@ hn.transitional = function(t, n, r) {
|
|
|
1098
1098
|
}
|
|
1099
1099
|
return (s, i, a) => {
|
|
1100
1100
|
if (t === !1)
|
|
1101
|
-
throw new
|
|
1101
|
+
throw new O(
|
|
1102
1102
|
o(i, " has been removed" + (n ? " in " + n : "")),
|
|
1103
|
-
|
|
1103
|
+
O.ERR_DEPRECATED
|
|
1104
1104
|
);
|
|
1105
1105
|
return n && !_n[i] && (_n[i] = !0, console.warn(
|
|
1106
1106
|
o(
|
|
@@ -1112,7 +1112,7 @@ hn.transitional = function(t, n, r) {
|
|
|
1112
1112
|
};
|
|
1113
1113
|
function Rs(e, t, n) {
|
|
1114
1114
|
if (typeof e != "object")
|
|
1115
|
-
throw new
|
|
1115
|
+
throw new O("options must be an object", O.ERR_BAD_OPTION_VALUE);
|
|
1116
1116
|
const r = Object.keys(e);
|
|
1117
1117
|
let o = r.length;
|
|
1118
1118
|
for (; o-- > 0; ) {
|
|
@@ -1120,22 +1120,22 @@ function Rs(e, t, n) {
|
|
|
1120
1120
|
if (i) {
|
|
1121
1121
|
const a = e[s], u = a === void 0 || i(a, s, e);
|
|
1122
1122
|
if (u !== !0)
|
|
1123
|
-
throw new
|
|
1123
|
+
throw new O("option " + s + " must be " + u, O.ERR_BAD_OPTION_VALUE);
|
|
1124
1124
|
continue;
|
|
1125
1125
|
}
|
|
1126
1126
|
if (n !== !0)
|
|
1127
|
-
throw new
|
|
1127
|
+
throw new O("Unknown option " + s, O.ERR_BAD_OPTION);
|
|
1128
1128
|
}
|
|
1129
1129
|
}
|
|
1130
1130
|
const Jt = {
|
|
1131
1131
|
assertOptions: Rs,
|
|
1132
1132
|
validators: hn
|
|
1133
|
-
},
|
|
1133
|
+
}, ne = Jt.validators;
|
|
1134
1134
|
class dt {
|
|
1135
1135
|
constructor(t) {
|
|
1136
1136
|
this.defaults = t, this.interceptors = {
|
|
1137
|
-
request: new
|
|
1138
|
-
response: new
|
|
1137
|
+
request: new Nn(),
|
|
1138
|
+
response: new Nn()
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
1141
|
/**
|
|
@@ -1147,17 +1147,17 @@ class dt {
|
|
|
1147
1147
|
* @returns {Promise} The Promise to be fulfilled
|
|
1148
1148
|
*/
|
|
1149
1149
|
request(t, n) {
|
|
1150
|
-
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n =
|
|
1150
|
+
typeof t == "string" ? (n = n || {}, n.url = t) : n = t || {}, n = Ee(this.defaults, n);
|
|
1151
1151
|
const { transitional: r, paramsSerializer: o, headers: s } = n;
|
|
1152
1152
|
r !== void 0 && Jt.assertOptions(r, {
|
|
1153
|
-
silentJSONParsing:
|
|
1154
|
-
forcedJSONParsing:
|
|
1155
|
-
clarifyTimeoutError:
|
|
1153
|
+
silentJSONParsing: ne.transitional(ne.boolean),
|
|
1154
|
+
forcedJSONParsing: ne.transitional(ne.boolean),
|
|
1155
|
+
clarifyTimeoutError: ne.transitional(ne.boolean)
|
|
1156
1156
|
}, !1), o != null && (f.isFunction(o) ? n.paramsSerializer = {
|
|
1157
1157
|
serialize: o
|
|
1158
1158
|
} : Jt.assertOptions(o, {
|
|
1159
|
-
encode:
|
|
1160
|
-
serialize:
|
|
1159
|
+
encode: ne.function,
|
|
1160
|
+
serialize: ne.function
|
|
1161
1161
|
}, !0)), n.method = (n.method || this.defaults.method || "get").toLowerCase();
|
|
1162
1162
|
let i;
|
|
1163
1163
|
i = s && f.merge(
|
|
@@ -1168,7 +1168,7 @@ class dt {
|
|
|
1168
1168
|
(m) => {
|
|
1169
1169
|
delete s[m];
|
|
1170
1170
|
}
|
|
1171
|
-
), n.headers =
|
|
1171
|
+
), n.headers = ee.concat(i, s);
|
|
1172
1172
|
const a = [];
|
|
1173
1173
|
let u = !0;
|
|
1174
1174
|
this.interceptors.request.forEach(function(h) {
|
|
@@ -1206,14 +1206,14 @@ class dt {
|
|
|
1206
1206
|
return d;
|
|
1207
1207
|
}
|
|
1208
1208
|
getUri(t) {
|
|
1209
|
-
t =
|
|
1209
|
+
t = Ee(this.defaults, t);
|
|
1210
1210
|
const n = yr(t.baseURL, t.url);
|
|
1211
1211
|
return mr(n, t.params, t.paramsSerializer);
|
|
1212
1212
|
}
|
|
1213
1213
|
}
|
|
1214
1214
|
f.forEach(["delete", "get", "head", "options"], function(t) {
|
|
1215
1215
|
dt.prototype[t] = function(n, r) {
|
|
1216
|
-
return this.request(
|
|
1216
|
+
return this.request(Ee(r || {}, {
|
|
1217
1217
|
method: t,
|
|
1218
1218
|
url: n,
|
|
1219
1219
|
data: (r || {}).data
|
|
@@ -1223,7 +1223,7 @@ f.forEach(["delete", "get", "head", "options"], function(t) {
|
|
|
1223
1223
|
f.forEach(["post", "put", "patch"], function(t) {
|
|
1224
1224
|
function n(r) {
|
|
1225
1225
|
return function(s, i, a) {
|
|
1226
|
-
return this.request(
|
|
1226
|
+
return this.request(Ee(a || {}, {
|
|
1227
1227
|
method: t,
|
|
1228
1228
|
headers: r ? {
|
|
1229
1229
|
"Content-Type": "multipart/form-data"
|
|
@@ -1385,29 +1385,29 @@ const Is = Wt;
|
|
|
1385
1385
|
function Er(e) {
|
|
1386
1386
|
const t = new ct(e), n = rr(ct.prototype.request, t);
|
|
1387
1387
|
return f.extend(n, ct.prototype, t, { allOwnKeys: !0 }), f.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(o) {
|
|
1388
|
-
return Er(
|
|
1388
|
+
return Er(Ee(e, o));
|
|
1389
1389
|
}, n;
|
|
1390
1390
|
}
|
|
1391
|
-
const
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1391
|
+
const M = Er(pn);
|
|
1392
|
+
M.Axios = ct;
|
|
1393
|
+
M.CanceledError = qe;
|
|
1394
|
+
M.CancelToken = js;
|
|
1395
|
+
M.isCancel = wr;
|
|
1396
|
+
M.VERSION = br;
|
|
1397
|
+
M.toFormData = yt;
|
|
1398
|
+
M.AxiosError = O;
|
|
1399
|
+
M.Cancel = M.CanceledError;
|
|
1400
|
+
M.all = function(t) {
|
|
1401
1401
|
return Promise.all(t);
|
|
1402
1402
|
};
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
const Fs =
|
|
1403
|
+
M.spread = _s;
|
|
1404
|
+
M.isAxiosError = Ls;
|
|
1405
|
+
M.mergeConfig = Ee;
|
|
1406
|
+
M.AxiosHeaders = ee;
|
|
1407
|
+
M.formToJSON = (e) => vr(f.isHTMLForm(e) ? new FormData(e) : e);
|
|
1408
|
+
M.HttpStatusCode = Is;
|
|
1409
|
+
M.default = M;
|
|
1410
|
+
const Fs = M, Ar = Fs.create({
|
|
1411
1411
|
// 配置对象
|
|
1412
1412
|
// 基础路径:发请求的时候路径当中会出现api
|
|
1413
1413
|
// 请求超时的时间5s
|
|
@@ -1491,7 +1491,7 @@ function ks() {
|
|
|
1491
1491
|
t = r[n].split("="), e[decodeURIComponent(t[0])] = t.length > 1 ? decodeURIComponent(t[1]) : "";
|
|
1492
1492
|
return e;
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1494
|
+
function Ce({ url: e, data: t = null, method: n = "GET", headers: r = null, cacheKey: o, cacheTime: s }) {
|
|
1495
1495
|
try {
|
|
1496
1496
|
var i = new AbortController(), a = i.signal;
|
|
1497
1497
|
} catch {
|
|
@@ -1517,19 +1517,19 @@ function xe({ url: e, data: t = null, method: n = "GET", headers: r = null, cach
|
|
|
1517
1517
|
});
|
|
1518
1518
|
return Promise.race([d(), fetch(e, l).then((c) => c.json())]).then((c) => (console.log(c), c.success == !0 || c.ok === 0 || c.code == 0 ? (o && (s ? tt.put(o, c.data, s) : tt.put(o, c.data)), (c.message || c.message == 0) && (window.g_message = c.message), Promise.resolve(c.data)) : c && c.image || c && c.GOOGLE_ACCESS_TOKEN ? (o && (s ? tt.put(o, c, s) : tt.put(o, c)), Promise.resolve(c)) : c.statusText == "timeout" ? Promise.reject("The system is busy, please try again later") : Promise.reject(c.message || c.msg && c || "failed, please check your network and try again"))).catch((c) => Promise.reject(c));
|
|
1519
1519
|
}
|
|
1520
|
-
let
|
|
1520
|
+
let Se = At();
|
|
1521
1521
|
function Fn() {
|
|
1522
1522
|
const e = {
|
|
1523
1523
|
"Content-Type": "application/x-www-form-urlencoded; charset=UTF-8"
|
|
1524
1524
|
};
|
|
1525
|
-
return
|
|
1526
|
-
url:
|
|
1525
|
+
return Ce({
|
|
1526
|
+
url: Se + "/api/user/status",
|
|
1527
1527
|
method: "POST",
|
|
1528
1528
|
headers: e
|
|
1529
1529
|
});
|
|
1530
1530
|
}
|
|
1531
|
-
const Bs = (e) =>
|
|
1532
|
-
url:
|
|
1531
|
+
const Bs = (e) => Ce({
|
|
1532
|
+
url: Se + "/api/user/active-passport",
|
|
1533
1533
|
data: {
|
|
1534
1534
|
passport: e
|
|
1535
1535
|
},
|
|
@@ -1539,8 +1539,8 @@ const Bs = (e) => xe({
|
|
|
1539
1539
|
}
|
|
1540
1540
|
});
|
|
1541
1541
|
function Us(e) {
|
|
1542
|
-
return
|
|
1543
|
-
url:
|
|
1542
|
+
return Ce({
|
|
1543
|
+
url: Se + "/api/user/facebooklogin",
|
|
1544
1544
|
data: {
|
|
1545
1545
|
token: e
|
|
1546
1546
|
},
|
|
@@ -1551,8 +1551,8 @@ function Us(e) {
|
|
|
1551
1551
|
});
|
|
1552
1552
|
}
|
|
1553
1553
|
function Cr(e) {
|
|
1554
|
-
return
|
|
1555
|
-
url:
|
|
1554
|
+
return Ce({
|
|
1555
|
+
url: Se + "/api/user/google",
|
|
1556
1556
|
data: {
|
|
1557
1557
|
token: e
|
|
1558
1558
|
},
|
|
@@ -1563,8 +1563,8 @@ function Cr(e) {
|
|
|
1563
1563
|
});
|
|
1564
1564
|
}
|
|
1565
1565
|
function zs(e, t) {
|
|
1566
|
-
return
|
|
1567
|
-
url:
|
|
1566
|
+
return Ce({
|
|
1567
|
+
url: Se + "/api/user/emaillogin?email=" + encodeURIComponent(e) + "&password=" + encodeURIComponent(t)
|
|
1568
1568
|
// data: {
|
|
1569
1569
|
// email,
|
|
1570
1570
|
// password
|
|
@@ -1573,8 +1573,8 @@ function zs(e, t) {
|
|
|
1573
1573
|
});
|
|
1574
1574
|
}
|
|
1575
1575
|
function Gs(e, t, n) {
|
|
1576
|
-
return
|
|
1577
|
-
url:
|
|
1576
|
+
return Ce({
|
|
1577
|
+
url: Se + "/api/user/emailsignup?email=" + encodeURIComponent(e) + "&username=" + encodeURIComponent(t) + "&password=" + encodeURIComponent(n)
|
|
1578
1578
|
// data: {
|
|
1579
1579
|
// email,
|
|
1580
1580
|
// username,
|
|
@@ -1610,8 +1610,8 @@ const qs = Ks;
|
|
|
1610
1610
|
var Zs = typeof self == "object" && self && self.Object === Object && self, Xs = qs || Zs || Function("return this")();
|
|
1611
1611
|
const wn = Xs;
|
|
1612
1612
|
var $s = wn.Symbol;
|
|
1613
|
-
const
|
|
1614
|
-
var Or = Object.prototype, ei = Or.hasOwnProperty, ti = Or.toString, Re =
|
|
1613
|
+
const Ae = $s;
|
|
1614
|
+
var Or = Object.prototype, ei = Or.hasOwnProperty, ti = Or.toString, Re = Ae ? Ae.toStringTag : void 0;
|
|
1615
1615
|
function ni(e) {
|
|
1616
1616
|
var t = ei.call(e, Re), n = e[Re];
|
|
1617
1617
|
try {
|
|
@@ -1626,7 +1626,7 @@ var ri = Object.prototype, oi = ri.toString;
|
|
|
1626
1626
|
function si(e) {
|
|
1627
1627
|
return oi.call(e);
|
|
1628
1628
|
}
|
|
1629
|
-
var ii = "[object Null]", ai = "[object Undefined]", Bn =
|
|
1629
|
+
var ii = "[object Null]", ai = "[object Undefined]", Bn = Ae ? Ae.toStringTag : void 0;
|
|
1630
1630
|
function Pr(e) {
|
|
1631
1631
|
return e == null ? e === void 0 ? ai : ii : Bn && Bn in Object(e) ? ni(e) : si(e);
|
|
1632
1632
|
}
|
|
@@ -1644,24 +1644,24 @@ function ui(e, t) {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
var di = Array.isArray;
|
|
1646
1646
|
const bn = di;
|
|
1647
|
-
var fi = 1 / 0, Un =
|
|
1648
|
-
function
|
|
1647
|
+
var fi = 1 / 0, Un = Ae ? Ae.prototype : void 0, zn = Un ? Un.toString : void 0;
|
|
1648
|
+
function Nr(e) {
|
|
1649
1649
|
if (typeof e == "string")
|
|
1650
1650
|
return e;
|
|
1651
1651
|
if (bn(e))
|
|
1652
|
-
return ui(e,
|
|
1652
|
+
return ui(e, Nr) + "";
|
|
1653
1653
|
if (yn(e))
|
|
1654
1654
|
return zn ? zn.call(e) : "";
|
|
1655
1655
|
var t = e + "";
|
|
1656
1656
|
return t == "0" && 1 / e == -fi ? "-0" : t;
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function Dr(e) {
|
|
1659
1659
|
var t = typeof e;
|
|
1660
1660
|
return e != null && (t == "object" || t == "function");
|
|
1661
1661
|
}
|
|
1662
1662
|
var pi = "[object AsyncFunction]", hi = "[object Function]", mi = "[object GeneratorFunction]", gi = "[object Proxy]";
|
|
1663
1663
|
function vi(e) {
|
|
1664
|
-
if (!
|
|
1664
|
+
if (!Dr(e))
|
|
1665
1665
|
return !1;
|
|
1666
1666
|
var t = Pr(e);
|
|
1667
1667
|
return t == hi || t == mi || t == pi || t == gi;
|
|
@@ -1689,13 +1689,13 @@ function Ai(e) {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
return "";
|
|
1691
1691
|
}
|
|
1692
|
-
var xi = /[\\^$.*+?()[\]{}|]/g, Ci = /^\[object .+?Constructor\]$/, Si = Function.prototype, Oi = Object.prototype, Pi = Si.toString,
|
|
1693
|
-
"^" + Pi.call(
|
|
1692
|
+
var xi = /[\\^$.*+?()[\]{}|]/g, Ci = /^\[object .+?Constructor\]$/, Si = Function.prototype, Oi = Object.prototype, Pi = Si.toString, Ni = Oi.hasOwnProperty, Di = RegExp(
|
|
1693
|
+
"^" + Pi.call(Ni).replace(xi, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1694
1694
|
);
|
|
1695
1695
|
function Ti(e) {
|
|
1696
|
-
if (!
|
|
1696
|
+
if (!Dr(e) || yi(e))
|
|
1697
1697
|
return !1;
|
|
1698
|
-
var t = vi(e) ?
|
|
1698
|
+
var t = vi(e) ? Di : Ci;
|
|
1699
1699
|
return t.test(Ai(e));
|
|
1700
1700
|
}
|
|
1701
1701
|
function Ri(e, t) {
|
|
@@ -1743,18 +1743,18 @@ function Ji(e, t) {
|
|
|
1743
1743
|
var n = this.__data__;
|
|
1744
1744
|
return this.size += this.has(e) ? 0 : 1, n[e] = Ve && t === void 0 ? Yi : t, this;
|
|
1745
1745
|
}
|
|
1746
|
-
function
|
|
1746
|
+
function de(e) {
|
|
1747
1747
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1748
1748
|
for (this.clear(); ++t < n; ) {
|
|
1749
1749
|
var r = e[t];
|
|
1750
1750
|
this.set(r[0], r[1]);
|
|
1751
1751
|
}
|
|
1752
1752
|
}
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1753
|
+
de.prototype.clear = Mi;
|
|
1754
|
+
de.prototype.delete = ki;
|
|
1755
|
+
de.prototype.get = Gi;
|
|
1756
|
+
de.prototype.has = Vi;
|
|
1757
|
+
de.prototype.set = Ji;
|
|
1758
1758
|
function Wi() {
|
|
1759
1759
|
this.__data__ = [], this.size = 0;
|
|
1760
1760
|
}
|
|
@@ -1783,25 +1783,25 @@ function ea(e, t) {
|
|
|
1783
1783
|
var n = this.__data__, r = Ct(n, e);
|
|
1784
1784
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
1785
1785
|
}
|
|
1786
|
-
function
|
|
1786
|
+
function Oe(e) {
|
|
1787
1787
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1788
1788
|
for (this.clear(); ++t < n; ) {
|
|
1789
1789
|
var r = e[t];
|
|
1790
1790
|
this.set(r[0], r[1]);
|
|
1791
1791
|
}
|
|
1792
1792
|
}
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1793
|
+
Oe.prototype.clear = Wi;
|
|
1794
|
+
Oe.prototype.delete = Zi;
|
|
1795
|
+
Oe.prototype.get = Xi;
|
|
1796
|
+
Oe.prototype.has = $i;
|
|
1797
|
+
Oe.prototype.set = ea;
|
|
1798
1798
|
var ta = Tr(wn, "Map");
|
|
1799
1799
|
const na = ta;
|
|
1800
1800
|
function ra() {
|
|
1801
1801
|
this.size = 0, this.__data__ = {
|
|
1802
|
-
hash: new
|
|
1803
|
-
map: new (na ||
|
|
1804
|
-
string: new
|
|
1802
|
+
hash: new de(),
|
|
1803
|
+
map: new (na || Oe)(),
|
|
1804
|
+
string: new de()
|
|
1805
1805
|
};
|
|
1806
1806
|
}
|
|
1807
1807
|
function oa(e) {
|
|
@@ -1826,18 +1826,18 @@ function la(e, t) {
|
|
|
1826
1826
|
var n = St(this, e), r = n.size;
|
|
1827
1827
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
1828
1828
|
}
|
|
1829
|
-
function
|
|
1829
|
+
function ge(e) {
|
|
1830
1830
|
var t = -1, n = e == null ? 0 : e.length;
|
|
1831
1831
|
for (this.clear(); ++t < n; ) {
|
|
1832
1832
|
var r = e[t];
|
|
1833
1833
|
this.set(r[0], r[1]);
|
|
1834
1834
|
}
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1836
|
+
ge.prototype.clear = ra;
|
|
1837
|
+
ge.prototype.delete = sa;
|
|
1838
|
+
ge.prototype.get = ia;
|
|
1839
|
+
ge.prototype.has = aa;
|
|
1840
|
+
ge.prototype.set = la;
|
|
1841
1841
|
var ca = "Expected a function";
|
|
1842
1842
|
function En(e, t) {
|
|
1843
1843
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
@@ -1849,9 +1849,9 @@ function En(e, t) {
|
|
|
1849
1849
|
var i = e.apply(this, r);
|
|
1850
1850
|
return n.cache = s.set(o, i) || s, i;
|
|
1851
1851
|
};
|
|
1852
|
-
return n.cache = new (En.Cache ||
|
|
1852
|
+
return n.cache = new (En.Cache || ge)(), n;
|
|
1853
1853
|
}
|
|
1854
|
-
En.Cache =
|
|
1854
|
+
En.Cache = ge;
|
|
1855
1855
|
var ua = 500;
|
|
1856
1856
|
function da(e) {
|
|
1857
1857
|
var t = En(e, function(r) {
|
|
@@ -1867,7 +1867,7 @@ var fa = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
1867
1867
|
});
|
|
1868
1868
|
const ma = ha;
|
|
1869
1869
|
function ga(e) {
|
|
1870
|
-
return e == null ? "" :
|
|
1870
|
+
return e == null ? "" : Nr(e);
|
|
1871
1871
|
}
|
|
1872
1872
|
function va(e, t) {
|
|
1873
1873
|
return bn(e) ? e : Ii(e, t) ? [e] : ma(ga(e));
|
|
@@ -1938,7 +1938,7 @@ const Rr = (e = "") => e.split(" ").filter((t) => !!t.trim()), Qn = (e, t) => {
|
|
|
1938
1938
|
};
|
|
1939
1939
|
return kn(e, "default") && (u.default = o), u;
|
|
1940
1940
|
}, Pa = ["", "default", "small", "large"];
|
|
1941
|
-
var
|
|
1941
|
+
var Na = {
|
|
1942
1942
|
name: "en",
|
|
1943
1943
|
el: {
|
|
1944
1944
|
colorpicker: {
|
|
@@ -2100,20 +2100,20 @@ var Da = {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
}
|
|
2102
2102
|
};
|
|
2103
|
-
const
|
|
2103
|
+
const Da = (e) => (t, n) => Ta(t, n, G(e)), Ta = (e, t, n) => Ea(n, e, e).replace(/\{(\w+)\}/g, (r, o) => {
|
|
2104
2104
|
var s;
|
|
2105
2105
|
return `${(s = t == null ? void 0 : t[o]) != null ? s : `{${o}}`}`;
|
|
2106
2106
|
}), Ra = (e) => {
|
|
2107
|
-
const t = E(() => G(e).name), n =
|
|
2107
|
+
const t = E(() => G(e).name), n = ue(e) ? e : C(e);
|
|
2108
2108
|
return {
|
|
2109
2109
|
lang: t,
|
|
2110
2110
|
locale: n,
|
|
2111
|
-
t:
|
|
2111
|
+
t: Da(e)
|
|
2112
2112
|
};
|
|
2113
2113
|
}, _r = Symbol("localeContextKey"), ja = (e) => {
|
|
2114
2114
|
const t = e || B(_r, C());
|
|
2115
|
-
return Ra(E(() => t.value ||
|
|
2116
|
-
}, Kt = "el", _a = "is-",
|
|
2115
|
+
return Ra(E(() => t.value || Na));
|
|
2116
|
+
}, Kt = "el", _a = "is-", ie = (e, t, n, r, o) => {
|
|
2117
2117
|
let s = `${e}-${t}`;
|
|
2118
2118
|
return n && (s += `-${n}`), r && (s += `__${r}`), o && (s += `--${o}`), s;
|
|
2119
2119
|
}, Lr = Symbol("namespaceContextKey"), La = (e) => {
|
|
@@ -2123,13 +2123,13 @@ const Na = (e) => (t, n) => Ta(t, n, G(e)), Ta = (e, t, n) => Ea(n, e, e).replac
|
|
|
2123
2123
|
const n = La(t);
|
|
2124
2124
|
return {
|
|
2125
2125
|
namespace: n,
|
|
2126
|
-
b: (h = "") =>
|
|
2127
|
-
e: (h) => h ?
|
|
2128
|
-
m: (h) => h ?
|
|
2129
|
-
be: (h, b) => h && b ?
|
|
2130
|
-
em: (h, b) => h && b ?
|
|
2131
|
-
bm: (h, b) => h && b ?
|
|
2132
|
-
bem: (h, b, x) => h && b && x ?
|
|
2126
|
+
b: (h = "") => ie(n.value, e, h, "", ""),
|
|
2127
|
+
e: (h) => h ? ie(n.value, e, "", h, "") : "",
|
|
2128
|
+
m: (h) => h ? ie(n.value, e, "", "", h) : "",
|
|
2129
|
+
be: (h, b) => h && b ? ie(n.value, e, h, b, "") : "",
|
|
2130
|
+
em: (h, b) => h && b ? ie(n.value, e, "", h, b) : "",
|
|
2131
|
+
bm: (h, b) => h && b ? ie(n.value, e, h, "", b) : "",
|
|
2132
|
+
bem: (h, b, x) => h && b && x ? ie(n.value, e, h, b, x) : "",
|
|
2133
2133
|
is: (h, ...b) => {
|
|
2134
2134
|
const x = b.length >= 1 ? b[0] : !0;
|
|
2135
2135
|
return h && x ? `${_a}${h}` : "";
|
|
@@ -2196,7 +2196,7 @@ function ka(e, t) {
|
|
|
2196
2196
|
}
|
|
2197
2197
|
const Ba = (e, t, n = !1) => {
|
|
2198
2198
|
var r;
|
|
2199
|
-
const o = !!ln(), s = o ? kr() : void 0, i = (r = t == null ? void 0 : t.provide) != null ? r : o ?
|
|
2199
|
+
const o = !!ln(), s = o ? kr() : void 0, i = (r = t == null ? void 0 : t.provide) != null ? r : o ? he : void 0;
|
|
2200
2200
|
if (!i) {
|
|
2201
2201
|
Ca("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
|
|
2202
2202
|
return;
|
|
@@ -2268,13 +2268,13 @@ function za(e) {
|
|
|
2268
2268
|
r: "20",
|
|
2269
2269
|
fill: "none"
|
|
2270
2270
|
})
|
|
2271
|
-
]),
|
|
2271
|
+
]), D = r.text ? L("p", { class: m.b("text") }, [r.text]) : void 0;
|
|
2272
2272
|
return L(io, {
|
|
2273
2273
|
name: m.b("fade"),
|
|
2274
2274
|
onAfterLeave: u
|
|
2275
2275
|
}, {
|
|
2276
2276
|
default: Ht(() => [
|
|
2277
|
-
Ue(
|
|
2277
|
+
Ue(be("div", {
|
|
2278
2278
|
style: {
|
|
2279
2279
|
backgroundColor: r.background || ""
|
|
2280
2280
|
},
|
|
@@ -2286,7 +2286,7 @@ function za(e) {
|
|
|
2286
2286
|
}, [
|
|
2287
2287
|
L("div", {
|
|
2288
2288
|
class: m.b("spinner")
|
|
2289
|
-
}, [x,
|
|
2289
|
+
}, [x, D])
|
|
2290
2290
|
]), [[nr, r.visible]])
|
|
2291
2291
|
])
|
|
2292
2292
|
});
|
|
@@ -2380,7 +2380,7 @@ const qt = function(e = {}) {
|
|
|
2380
2380
|
};
|
|
2381
2381
|
}, Qa = (e, t) => {
|
|
2382
2382
|
for (const n of Object.keys(t))
|
|
2383
|
-
|
|
2383
|
+
ue(t[n]) && (t[n].value = e[n]);
|
|
2384
2384
|
}, Wn = {
|
|
2385
2385
|
mounted(e, t) {
|
|
2386
2386
|
t.value && Jn(e, t);
|
|
@@ -2400,13 +2400,13 @@ const qt = function(e = {}) {
|
|
|
2400
2400
|
directive: Wn,
|
|
2401
2401
|
service: qt
|
|
2402
2402
|
};
|
|
2403
|
-
function
|
|
2403
|
+
function fe(e, t, ...n) {
|
|
2404
2404
|
if (e in t) {
|
|
2405
2405
|
let o = t[e];
|
|
2406
2406
|
return typeof o == "function" ? o(...n) : o;
|
|
2407
2407
|
}
|
|
2408
2408
|
let r = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
|
|
2409
|
-
throw Error.captureStackTrace && Error.captureStackTrace(r,
|
|
2409
|
+
throw Error.captureStackTrace && Error.captureStackTrace(r, fe), r;
|
|
2410
2410
|
}
|
|
2411
2411
|
var Xt = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Xt || {}), Va = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Va || {});
|
|
2412
2412
|
function Y({ visible: e = !0, features: t = 0, ourProps: n, theirProps: r, ...o }) {
|
|
@@ -2416,7 +2416,7 @@ function Y({ visible: e = !0, features: t = 0, ourProps: n, theirProps: r, ...o
|
|
|
2416
2416
|
return Ut(a);
|
|
2417
2417
|
if (t & 1) {
|
|
2418
2418
|
let u = (s = i.unmount) == null || s ? 0 : 1;
|
|
2419
|
-
return
|
|
2419
|
+
return fe(u, { [0]() {
|
|
2420
2420
|
return null;
|
|
2421
2421
|
}, [1]() {
|
|
2422
2422
|
return Ut({ ...o, props: { ...i, hidden: !0, style: { display: "none" } } });
|
|
@@ -2488,7 +2488,7 @@ let Wa = 0;
|
|
|
2488
2488
|
function Ka() {
|
|
2489
2489
|
return ++Wa;
|
|
2490
2490
|
}
|
|
2491
|
-
function
|
|
2491
|
+
function Pe() {
|
|
2492
2492
|
return Ka();
|
|
2493
2493
|
}
|
|
2494
2494
|
var zr = ((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))(zr || {});
|
|
@@ -2526,7 +2526,7 @@ class el {
|
|
|
2526
2526
|
}
|
|
2527
2527
|
}
|
|
2528
2528
|
let Ot = new el();
|
|
2529
|
-
function
|
|
2529
|
+
function Ne(e) {
|
|
2530
2530
|
if (Ot.isServer)
|
|
2531
2531
|
return null;
|
|
2532
2532
|
if (e instanceof Node)
|
|
@@ -2539,14 +2539,14 @@ function Pe(e) {
|
|
|
2539
2539
|
return document;
|
|
2540
2540
|
}
|
|
2541
2541
|
let $t = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
2542
|
-
var
|
|
2542
|
+
var re = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(re || {}), Gr = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(Gr || {}), tl = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(tl || {});
|
|
2543
2543
|
function nl(e = document.body) {
|
|
2544
2544
|
return e == null ? [] : Array.from(e.querySelectorAll($t)).sort((t, n) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
2545
2545
|
}
|
|
2546
2546
|
var Hr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Hr || {});
|
|
2547
2547
|
function rl(e, t = 0) {
|
|
2548
2548
|
var n;
|
|
2549
|
-
return e === ((n =
|
|
2549
|
+
return e === ((n = Ne(e)) == null ? void 0 : n.body) ? !1 : fe(t, { [0]() {
|
|
2550
2550
|
return e.matches($t);
|
|
2551
2551
|
}, [1]() {
|
|
2552
2552
|
let r = e;
|
|
@@ -2564,7 +2564,7 @@ typeof window < "u" && typeof document < "u" && (document.addEventListener("keyd
|
|
|
2564
2564
|
}, !0), document.addEventListener("click", (e) => {
|
|
2565
2565
|
e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
2566
2566
|
}, !0));
|
|
2567
|
-
function
|
|
2567
|
+
function ce(e) {
|
|
2568
2568
|
e == null || e.focus({ preventScroll: !0 });
|
|
2569
2569
|
}
|
|
2570
2570
|
let sl = ["textarea", "input"].join(",");
|
|
@@ -2619,12 +2619,12 @@ function ut(e, t, { sorted: n = !0, relativeTo: r = null, skipElements: o = [] }
|
|
|
2619
2619
|
return t & 6 && il(g) && g.select(), 2;
|
|
2620
2620
|
}
|
|
2621
2621
|
function qn(e, t, n) {
|
|
2622
|
-
Ot.isServer ||
|
|
2622
|
+
Ot.isServer || me((r) => {
|
|
2623
2623
|
document.addEventListener(e, t, n), r(() => document.removeEventListener(e, t, n));
|
|
2624
2624
|
});
|
|
2625
2625
|
}
|
|
2626
2626
|
function Qr(e, t, n) {
|
|
2627
|
-
Ot.isServer ||
|
|
2627
|
+
Ot.isServer || me((r) => {
|
|
2628
2628
|
window.addEventListener(e, t, n), r(() => window.removeEventListener(e, t, n));
|
|
2629
2629
|
});
|
|
2630
2630
|
}
|
|
@@ -2707,7 +2707,7 @@ function ul() {
|
|
|
2707
2707
|
}), e;
|
|
2708
2708
|
}
|
|
2709
2709
|
function Yr(e, t, n, r) {
|
|
2710
|
-
Ot.isServer ||
|
|
2710
|
+
Ot.isServer || me((o) => {
|
|
2711
2711
|
e = e ?? window, e.addEventListener(t, n, r), o(() => e.removeEventListener(t, n, r));
|
|
2712
2712
|
});
|
|
2713
2713
|
}
|
|
@@ -2738,18 +2738,18 @@ var Kr = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus"
|
|
|
2738
2738
|
let _e = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, String], default: "div" }, initialFocus: { type: Object, default: null }, features: { type: Number, default: 30 }, containers: { type: [Object, Function], default: C(/* @__PURE__ */ new Set()) } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
|
|
2739
2739
|
let o = C(null);
|
|
2740
2740
|
r({ el: o, $el: o });
|
|
2741
|
-
let s = E(() =>
|
|
2742
|
-
V(() => i.value = !0),
|
|
2741
|
+
let s = E(() => Ne(o)), i = C(!1);
|
|
2742
|
+
V(() => i.value = !0), te(() => i.value = !1), pl({ ownerDocument: s }, E(() => i.value && !!(e.features & 16)));
|
|
2743
2743
|
let a = hl({ ownerDocument: s, container: o, initialFocus: E(() => e.initialFocus) }, E(() => i.value && !!(e.features & 2)));
|
|
2744
2744
|
ml({ ownerDocument: s, container: o, containers: e.containers, previousActiveElement: a }, E(() => i.value && !!(e.features & 8)));
|
|
2745
2745
|
let u = ul();
|
|
2746
2746
|
function l(g) {
|
|
2747
2747
|
let m = k(o);
|
|
2748
2748
|
m && ((h) => h())(() => {
|
|
2749
|
-
|
|
2750
|
-
ut(m,
|
|
2749
|
+
fe(u.value, { [ke.Forwards]: () => {
|
|
2750
|
+
ut(m, re.First, { skipElements: [g.relatedTarget] });
|
|
2751
2751
|
}, [ke.Backwards]: () => {
|
|
2752
|
-
ut(m,
|
|
2752
|
+
ut(m, re.Last, { skipElements: [g.relatedTarget] });
|
|
2753
2753
|
} });
|
|
2754
2754
|
});
|
|
2755
2755
|
}
|
|
@@ -2765,25 +2765,25 @@ let _e = Object.assign(U({ name: "FocusTrap", props: { as: { type: [Object, Stri
|
|
|
2765
2765
|
let m = Wr(e.containers);
|
|
2766
2766
|
k(o) instanceof HTMLElement && m.add(k(o));
|
|
2767
2767
|
let h = g.relatedTarget;
|
|
2768
|
-
h instanceof HTMLElement && h.dataset.headlessuiFocusGuard !== "true" && (qr(m, h) || (d.value ? ut(k(o),
|
|
2768
|
+
h instanceof HTMLElement && h.dataset.headlessuiFocusGuard !== "true" && (qr(m, h) || (d.value ? ut(k(o), fe(u.value, { [ke.Forwards]: () => re.Next, [ke.Backwards]: () => re.Previous }) | re.WrapAround, { relativeTo: g.target }) : g.target instanceof HTMLElement && ce(g.target)));
|
|
2769
2769
|
}
|
|
2770
2770
|
return () => {
|
|
2771
|
-
let g = {}, m = { ref: o, onKeydown: c, onFocusout: p }, { features: h, initialFocus: b, containers: x, ...
|
|
2772
|
-
return L(ze, [!!(h & 4) && L(en, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: ht.Focusable }), Y({ ourProps: m, theirProps: { ...t, ...
|
|
2771
|
+
let g = {}, m = { ref: o, onKeydown: c, onFocusout: p }, { features: h, initialFocus: b, containers: x, ...D } = e;
|
|
2772
|
+
return L(ze, [!!(h & 4) && L(en, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: ht.Focusable }), Y({ ourProps: m, theirProps: { ...t, ...D }, slot: g, attrs: t, slots: n, name: "FocusTrap" }), !!(h & 4) && L(en, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: l, features: ht.Focusable })]);
|
|
2773
2773
|
};
|
|
2774
|
-
} }), { features: Kr }),
|
|
2774
|
+
} }), { features: Kr }), ae = [];
|
|
2775
2775
|
dl(() => {
|
|
2776
2776
|
function e(t) {
|
|
2777
|
-
t.target instanceof HTMLElement && t.target !== document.body &&
|
|
2777
|
+
t.target instanceof HTMLElement && t.target !== document.body && ae[0] !== t.target && (ae.unshift(t.target), ae = ae.filter((n) => n != null && n.isConnected), ae.splice(10));
|
|
2778
2778
|
}
|
|
2779
2779
|
window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
|
|
2780
2780
|
});
|
|
2781
2781
|
function fl(e) {
|
|
2782
|
-
let t = C(
|
|
2782
|
+
let t = C(ae.slice());
|
|
2783
2783
|
return Ye([e], ([n], [r]) => {
|
|
2784
2784
|
r === !0 && n === !1 ? Jr(() => {
|
|
2785
2785
|
t.value.splice(0);
|
|
2786
|
-
}) : r === !1 && n === !0 && (t.value =
|
|
2786
|
+
}) : r === !1 && n === !0 && (t.value = ae.slice());
|
|
2787
2787
|
}, { flush: "post" }), () => {
|
|
2788
2788
|
var n;
|
|
2789
2789
|
return (n = t.value.find((r) => r != null && r.isConnected)) != null ? n : null;
|
|
@@ -2792,17 +2792,17 @@ function fl(e) {
|
|
|
2792
2792
|
function pl({ ownerDocument: e }, t) {
|
|
2793
2793
|
let n = fl(t);
|
|
2794
2794
|
V(() => {
|
|
2795
|
-
|
|
2795
|
+
me(() => {
|
|
2796
2796
|
var r, o;
|
|
2797
|
-
t.value || ((r = e.value) == null ? void 0 : r.activeElement) === ((o = e.value) == null ? void 0 : o.body) &&
|
|
2797
|
+
t.value || ((r = e.value) == null ? void 0 : r.activeElement) === ((o = e.value) == null ? void 0 : o.body) && ce(n());
|
|
2798
2798
|
}, { flush: "post" });
|
|
2799
|
-
}),
|
|
2800
|
-
t.value &&
|
|
2799
|
+
}), te(() => {
|
|
2800
|
+
t.value && ce(n());
|
|
2801
2801
|
});
|
|
2802
2802
|
}
|
|
2803
2803
|
function hl({ ownerDocument: e, container: t, initialFocus: n }, r) {
|
|
2804
2804
|
let o = C(null), s = C(!1);
|
|
2805
|
-
return V(() => s.value = !0),
|
|
2805
|
+
return V(() => s.value = !0), te(() => s.value = !1), V(() => {
|
|
2806
2806
|
Ye([t, n, r], (i, a) => {
|
|
2807
2807
|
if (i.every((l, d) => (a == null ? void 0 : a[d]) === l) || !r.value)
|
|
2808
2808
|
return;
|
|
@@ -2821,7 +2821,7 @@ function hl({ ownerDocument: e, container: t, initialFocus: n }, r) {
|
|
|
2821
2821
|
o.value = p;
|
|
2822
2822
|
return;
|
|
2823
2823
|
}
|
|
2824
|
-
c ?
|
|
2824
|
+
c ? ce(c) : ut(u, re.First | re.NoScroll) === Gr.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.value = (d = e.value) == null ? void 0 : d.activeElement;
|
|
2825
2825
|
});
|
|
2826
2826
|
}, { immediate: !0, flush: "post" });
|
|
2827
2827
|
}), o;
|
|
@@ -2837,7 +2837,7 @@ function ml({ ownerDocument: e, container: t, containers: n, previousActiveEleme
|
|
|
2837
2837
|
if (!u)
|
|
2838
2838
|
return;
|
|
2839
2839
|
let l = i.target;
|
|
2840
|
-
l && l instanceof HTMLElement ? qr(a, l) ? (r.value = l,
|
|
2840
|
+
l && l instanceof HTMLElement ? qr(a, l) ? (r.value = l, ce(l)) : (i.preventDefault(), i.stopPropagation(), ce(u)) : ce(r.value);
|
|
2841
2841
|
}, !0);
|
|
2842
2842
|
}
|
|
2843
2843
|
function qr(e, t) {
|
|
@@ -2848,7 +2848,7 @@ function qr(e, t) {
|
|
|
2848
2848
|
}
|
|
2849
2849
|
let zt = /* @__PURE__ */ new Map(), Le = /* @__PURE__ */ new Map();
|
|
2850
2850
|
function Zn(e, t = C(!0)) {
|
|
2851
|
-
|
|
2851
|
+
me((n) => {
|
|
2852
2852
|
var r;
|
|
2853
2853
|
if (!t.value)
|
|
2854
2854
|
return;
|
|
@@ -2874,13 +2874,13 @@ function gl() {
|
|
|
2874
2874
|
return B(Zr, !1);
|
|
2875
2875
|
}
|
|
2876
2876
|
let tn = U({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: t, attrs: n }) {
|
|
2877
|
-
return
|
|
2877
|
+
return he(Zr, e.force), () => {
|
|
2878
2878
|
let { force: r, ...o } = e;
|
|
2879
2879
|
return Y({ theirProps: o, ourProps: {}, slot: {}, slots: t, attrs: n, name: "ForcePortalRoot" });
|
|
2880
2880
|
};
|
|
2881
2881
|
} });
|
|
2882
2882
|
function vl(e) {
|
|
2883
|
-
let t =
|
|
2883
|
+
let t = Ne(e);
|
|
2884
2884
|
if (!t) {
|
|
2885
2885
|
if (e === null)
|
|
2886
2886
|
return null;
|
|
@@ -2893,15 +2893,15 @@ function vl(e) {
|
|
|
2893
2893
|
return r.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(r);
|
|
2894
2894
|
}
|
|
2895
2895
|
let Xr = U({ name: "Portal", props: { as: { type: [Object, String], default: "div" } }, setup(e, { slots: t, attrs: n }) {
|
|
2896
|
-
let r = C(null), o = E(() =>
|
|
2897
|
-
|
|
2896
|
+
let r = C(null), o = E(() => Ne(r)), s = gl(), i = B($r, null), a = C(s === !0 || i == null ? vl(r.value) : i.resolveTarget());
|
|
2897
|
+
me(() => {
|
|
2898
2898
|
s || i != null && (a.value = i.resolveTarget());
|
|
2899
2899
|
});
|
|
2900
2900
|
let u = B(nn, null);
|
|
2901
2901
|
return V(() => {
|
|
2902
2902
|
let l = k(r);
|
|
2903
|
-
l && u &&
|
|
2904
|
-
}),
|
|
2903
|
+
l && u && te(u.register(l));
|
|
2904
|
+
}), te(() => {
|
|
2905
2905
|
var l, d;
|
|
2906
2906
|
let c = (l = o.value) == null ? void 0 : l.getElementById("headlessui-portal-root");
|
|
2907
2907
|
c && a.value === c && a.value.children.length <= 0 && ((d = a.value.parentElement) == null || d.removeChild(a.value));
|
|
@@ -2923,7 +2923,7 @@ function wl() {
|
|
|
2923
2923
|
}
|
|
2924
2924
|
let o = { register: n, unregister: r, portals: t };
|
|
2925
2925
|
return [t, U({ name: "PortalWrapper", setup(s, { slots: i }) {
|
|
2926
|
-
return
|
|
2926
|
+
return he(nn, o), () => {
|
|
2927
2927
|
var a;
|
|
2928
2928
|
return (a = i.default) == null ? void 0 : a.call(i);
|
|
2929
2929
|
};
|
|
@@ -2933,7 +2933,7 @@ let $r = Symbol("PortalGroupContext"), yl = U({ name: "PortalGroup", props: { as
|
|
|
2933
2933
|
let r = cn({ resolveTarget() {
|
|
2934
2934
|
return e.target;
|
|
2935
2935
|
} });
|
|
2936
|
-
return
|
|
2936
|
+
return he($r, r), () => {
|
|
2937
2937
|
let { target: o, ...s } = e;
|
|
2938
2938
|
return Y({ theirProps: s, ourProps: {}, slot: {}, attrs: t, slots: n, name: "PortalGroup" });
|
|
2939
2939
|
};
|
|
@@ -2952,9 +2952,9 @@ function El({ type: e, enabled: t, element: n, onUpdate: r }) {
|
|
|
2952
2952
|
Ye(t, (i, a) => {
|
|
2953
2953
|
i ? s(0, e, n) : a === !0 && s(1, e, n);
|
|
2954
2954
|
}, { immediate: !0, flush: "sync" });
|
|
2955
|
-
}),
|
|
2955
|
+
}), te(() => {
|
|
2956
2956
|
t.value && s(1, e, n);
|
|
2957
|
-
}),
|
|
2957
|
+
}), he(eo, s);
|
|
2958
2958
|
}
|
|
2959
2959
|
let to = Symbol("DescriptionContext");
|
|
2960
2960
|
function Al() {
|
|
@@ -2971,18 +2971,18 @@ function xl({ slot: e = C({}), name: t = "Description", props: n = {} } = {}) {
|
|
|
2971
2971
|
i !== -1 && r.value.splice(i, 1);
|
|
2972
2972
|
};
|
|
2973
2973
|
}
|
|
2974
|
-
return
|
|
2974
|
+
return he(to, { register: o, slot: e, name: t, props: n }), E(() => r.value.length > 0 ? r.value.join(" ") : void 0);
|
|
2975
2975
|
}
|
|
2976
|
-
U({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${
|
|
2976
|
+
U({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${Pe()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
2977
2977
|
let r = Al();
|
|
2978
|
-
return V(() =>
|
|
2978
|
+
return V(() => te(r.register(e.id))), () => {
|
|
2979
2979
|
let { name: o = "Description", slot: s = C({}), props: i = {} } = r, { id: a, ...u } = e, l = { ...Object.entries(i).reduce((d, [c, p]) => Object.assign(d, { [c]: G(p) }), {}), id: a };
|
|
2980
2980
|
return Y({ ourProps: l, theirProps: u, slot: s.value, attrs: t, slots: n, name: o });
|
|
2981
2981
|
};
|
|
2982
2982
|
} });
|
|
2983
2983
|
function Cl(e) {
|
|
2984
2984
|
let t = uo(e.getSnapshot());
|
|
2985
|
-
return
|
|
2985
|
+
return te(e.subscribe(() => {
|
|
2986
2986
|
t.value = e.getSnapshot();
|
|
2987
2987
|
})), t;
|
|
2988
2988
|
}
|
|
@@ -3037,18 +3037,18 @@ function Pl() {
|
|
|
3037
3037
|
});
|
|
3038
3038
|
} };
|
|
3039
3039
|
}
|
|
3040
|
-
function
|
|
3040
|
+
function Nl() {
|
|
3041
3041
|
return { before({ doc: e, d: t }) {
|
|
3042
3042
|
t.style(e.documentElement, "overflow", "hidden");
|
|
3043
3043
|
} };
|
|
3044
3044
|
}
|
|
3045
|
-
function
|
|
3045
|
+
function Dl(e) {
|
|
3046
3046
|
let t = {};
|
|
3047
3047
|
for (let n of e)
|
|
3048
3048
|
Object.assign(t, n(t));
|
|
3049
3049
|
return t;
|
|
3050
3050
|
}
|
|
3051
|
-
let
|
|
3051
|
+
let le = Sl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
3052
3052
|
var n;
|
|
3053
3053
|
let r = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: Vr(), meta: /* @__PURE__ */ new Set() };
|
|
3054
3054
|
return r.count++, r.meta.add(t), this.set(e, r), this;
|
|
@@ -3056,39 +3056,39 @@ let ie = Sl(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
|
3056
3056
|
let n = this.get(e);
|
|
3057
3057
|
return n && (n.count--, n.meta.delete(t)), this;
|
|
3058
3058
|
}, SCROLL_PREVENT({ doc: e, d: t, meta: n }) {
|
|
3059
|
-
let r = { doc: e, d: t, meta:
|
|
3059
|
+
let r = { doc: e, d: t, meta: Dl(n) }, o = [Pl(), Ol(), Nl()];
|
|
3060
3060
|
o.forEach(({ before: s }) => s == null ? void 0 : s(r)), o.forEach(({ after: s }) => s == null ? void 0 : s(r));
|
|
3061
3061
|
}, SCROLL_ALLOW({ d: e }) {
|
|
3062
3062
|
e.dispose();
|
|
3063
3063
|
}, TEARDOWN({ doc: e }) {
|
|
3064
3064
|
this.delete(e);
|
|
3065
3065
|
} });
|
|
3066
|
-
|
|
3067
|
-
let e =
|
|
3066
|
+
le.subscribe(() => {
|
|
3067
|
+
let e = le.getSnapshot(), t = /* @__PURE__ */ new Map();
|
|
3068
3068
|
for (let [n] of e)
|
|
3069
3069
|
t.set(n, n.documentElement.style.overflow);
|
|
3070
3070
|
for (let n of e.values()) {
|
|
3071
3071
|
let r = t.get(n.doc) === "hidden", o = n.count !== 0;
|
|
3072
|
-
(o && !r || !o && r) &&
|
|
3072
|
+
(o && !r || !o && r) && le.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && le.dispatch("TEARDOWN", n);
|
|
3073
3073
|
}
|
|
3074
3074
|
});
|
|
3075
3075
|
function Tl(e, t, n) {
|
|
3076
|
-
let r = Cl(
|
|
3076
|
+
let r = Cl(le), o = E(() => {
|
|
3077
3077
|
let s = e.value ? r.value.get(e.value) : void 0;
|
|
3078
3078
|
return s ? s.count > 0 : !1;
|
|
3079
3079
|
});
|
|
3080
3080
|
return Ye([e, t], ([s, i], [a], u) => {
|
|
3081
3081
|
if (!s || !i)
|
|
3082
3082
|
return;
|
|
3083
|
-
|
|
3083
|
+
le.dispatch("PUSH", s, n);
|
|
3084
3084
|
let l = !1;
|
|
3085
3085
|
u(() => {
|
|
3086
|
-
l || (
|
|
3086
|
+
l || (le.dispatch("POP", a ?? s, n), l = !0);
|
|
3087
3087
|
});
|
|
3088
3088
|
}, { immediate: !0 }), o;
|
|
3089
3089
|
}
|
|
3090
3090
|
function Rl({ defaultContainers: e = [], portals: t } = {}) {
|
|
3091
|
-
let n = C(null), r =
|
|
3091
|
+
let n = C(null), r = Ne(n);
|
|
3092
3092
|
function o() {
|
|
3093
3093
|
var s;
|
|
3094
3094
|
let i = [];
|
|
@@ -3117,70 +3117,70 @@ function Ze(e) {
|
|
|
3117
3117
|
}
|
|
3118
3118
|
return t;
|
|
3119
3119
|
}
|
|
3120
|
-
let ot = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", _l = U({ 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: ot }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${
|
|
3120
|
+
let ot = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", _l = U({ 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: ot }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${Pe()}` } }, emits: { close: (e) => !0 }, setup(e, { emit: t, attrs: n, slots: r, expose: o }) {
|
|
3121
3121
|
var s;
|
|
3122
3122
|
let i = C(!1);
|
|
3123
3123
|
V(() => {
|
|
3124
3124
|
i.value = !0;
|
|
3125
3125
|
});
|
|
3126
|
-
let a = C(0), u = Za(), l = E(() => e.open === ot && u !== null ? (u.value & Me.Open) === Me.Open : e.open), d = C(null), c = E(() =>
|
|
3126
|
+
let a = C(0), u = Za(), l = E(() => e.open === ot && u !== null ? (u.value & Me.Open) === Me.Open : e.open), d = C(null), c = E(() => Ne(d));
|
|
3127
3127
|
if (o({ el: d, $el: d }), !(e.open !== ot || u !== null))
|
|
3128
3128
|
throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
|
|
3129
3129
|
if (typeof l.value != "boolean")
|
|
3130
3130
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${l.value === ot ? void 0 : e.open}`);
|
|
3131
|
-
let p = E(() => i.value && l.value ? 0 : 1), g = E(() => p.value === 0), m = E(() => a.value > 1), h = B(on, null) !== null, [b, x] = wl(), { resolveContainers:
|
|
3132
|
-
var
|
|
3133
|
-
return (
|
|
3134
|
-
})] }),
|
|
3135
|
-
var
|
|
3136
|
-
return (K = Array.from((
|
|
3131
|
+
let p = E(() => i.value && l.value ? 0 : 1), g = E(() => p.value === 0), m = E(() => a.value > 1), h = B(on, null) !== null, [b, x] = wl(), { resolveContainers: D, mainTreeNodeRef: j, MainTreeNode: I } = Rl({ portals: b, defaultContainers: [E(() => {
|
|
3132
|
+
var P;
|
|
3133
|
+
return (P = F.panelRef.value) != null ? P : d.value;
|
|
3134
|
+
})] }), $ = E(() => m.value ? "parent" : "leaf"), oe = E(() => u !== null ? (u.value & Me.Closing) === Me.Closing : !1), A = E(() => h || oe.value ? !1 : g.value), Pt = E(() => {
|
|
3135
|
+
var P, N, K;
|
|
3136
|
+
return (K = Array.from((N = (P = c.value) == null ? void 0 : P.querySelectorAll("body > *")) != null ? N : []).find((q) => q.id === "headlessui-portal-root" ? !1 : q.contains(k(j)) && q instanceof HTMLElement)) != null ? K : null;
|
|
3137
3137
|
});
|
|
3138
3138
|
Zn(Pt, A);
|
|
3139
3139
|
let W = E(() => m.value ? !0 : g.value), y = E(() => {
|
|
3140
|
-
var
|
|
3141
|
-
return (K = Array.from((
|
|
3140
|
+
var P, N, K;
|
|
3141
|
+
return (K = Array.from((N = (P = c.value) == null ? void 0 : P.querySelectorAll("[data-headlessui-portal]")) != null ? N : []).find((q) => q.contains(k(j)) && q instanceof HTMLElement)) != null ? K : null;
|
|
3142
3142
|
});
|
|
3143
|
-
Zn(y, W), El({ type: "Dialog", enabled: E(() => p.value === 0), element: d, onUpdate: (
|
|
3144
|
-
if (
|
|
3145
|
-
return
|
|
3143
|
+
Zn(y, W), El({ type: "Dialog", enabled: E(() => p.value === 0), element: d, onUpdate: (P, N) => {
|
|
3144
|
+
if (N === "Dialog")
|
|
3145
|
+
return fe(P, { [rn.Add]: () => a.value += 1, [rn.Remove]: () => a.value -= 1 });
|
|
3146
3146
|
} });
|
|
3147
|
-
let w = xl({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }),
|
|
3148
|
-
|
|
3147
|
+
let w = xl({ name: "DialogDescription", slot: E(() => ({ open: l.value })) }), R = C(null), F = { titleId: R, panelRef: C(null), dialogState: p, setTitleId(P) {
|
|
3148
|
+
R.value !== P && (R.value = P);
|
|
3149
3149
|
}, close() {
|
|
3150
3150
|
t("close", !1);
|
|
3151
3151
|
} };
|
|
3152
|
-
|
|
3153
|
-
let
|
|
3154
|
-
ll(
|
|
3155
|
-
|
|
3156
|
-
},
|
|
3157
|
-
let
|
|
3158
|
-
Yr((s = c.value) == null ? void 0 : s.defaultView, "keydown", (
|
|
3159
|
-
|
|
3152
|
+
he(on, F);
|
|
3153
|
+
let se = E(() => !(!g.value || m.value));
|
|
3154
|
+
ll(D, (P, N) => {
|
|
3155
|
+
F.close(), He(() => N == null ? void 0 : N.focus());
|
|
3156
|
+
}, se);
|
|
3157
|
+
let Nt = E(() => !(m.value || p.value !== 0));
|
|
3158
|
+
Yr((s = c.value) == null ? void 0 : s.defaultView, "keydown", (P) => {
|
|
3159
|
+
Nt.value && (P.defaultPrevented || P.key === zr.Escape && (P.preventDefault(), P.stopPropagation(), F.close()));
|
|
3160
3160
|
});
|
|
3161
|
-
let
|
|
3162
|
-
return Tl(c,
|
|
3163
|
-
var
|
|
3164
|
-
return { containers: [...(
|
|
3165
|
-
}),
|
|
3161
|
+
let Dt = E(() => !(oe.value || p.value !== 0 || h));
|
|
3162
|
+
return Tl(c, Dt, (P) => {
|
|
3163
|
+
var N;
|
|
3164
|
+
return { containers: [...(N = P.containers) != null ? N : [], D] };
|
|
3165
|
+
}), me((P) => {
|
|
3166
3166
|
if (p.value !== 0)
|
|
3167
3167
|
return;
|
|
3168
|
-
let
|
|
3169
|
-
if (!
|
|
3168
|
+
let N = k(d);
|
|
3169
|
+
if (!N)
|
|
3170
3170
|
return;
|
|
3171
3171
|
let K = new ResizeObserver((q) => {
|
|
3172
3172
|
for (let Tt of q) {
|
|
3173
|
-
let
|
|
3174
|
-
|
|
3173
|
+
let we = Tt.target.getBoundingClientRect();
|
|
3174
|
+
we.x === 0 && we.y === 0 && we.width === 0 && we.height === 0 && F.close();
|
|
3175
3175
|
}
|
|
3176
3176
|
});
|
|
3177
|
-
K.observe(
|
|
3177
|
+
K.observe(N), P(() => K.disconnect());
|
|
3178
3178
|
}), () => {
|
|
3179
|
-
let { id:
|
|
3180
|
-
return L(tn, { force: !0 }, () => [L(Xr, () => L(yl, { target: d.value }, () => L(tn, { force: !1 }, () => L(_e, { initialFocus: K, containers:
|
|
3179
|
+
let { id: P, open: N, initialFocus: K, ...q } = e, Tt = { ...n, ref: d, id: P, role: "dialog", "aria-modal": p.value === 0 ? !0 : void 0, "aria-labelledby": R.value, "aria-describedby": w.value }, we = { open: p.value === 0 };
|
|
3180
|
+
return L(tn, { force: !0 }, () => [L(Xr, () => L(yl, { target: d.value }, () => L(tn, { force: !1 }, () => L(_e, { initialFocus: K, containers: D, features: g.value ? fe($.value, { parent: _e.features.RestoreFocus, leaf: _e.features.All & ~_e.features.FocusLock }) : _e.features.None }, () => L(x, {}, () => Y({ ourProps: Tt, theirProps: { ...q, ...n }, slot: we, attrs: n, slots: r, visible: p.value === 0, features: Xt.RenderStrategy | Xt.Static, name: "Dialog" })))))), L(I)]);
|
|
3181
3181
|
};
|
|
3182
3182
|
} });
|
|
3183
|
-
U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${
|
|
3183
|
+
U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-overlay-${Pe()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
3184
3184
|
let r = Ze("DialogOverlay");
|
|
3185
3185
|
function o(s) {
|
|
3186
3186
|
s.target === s.currentTarget && (s.preventDefault(), s.stopPropagation(), r.close());
|
|
@@ -3190,7 +3190,7 @@ U({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div"
|
|
|
3190
3190
|
return Y({ ourProps: { id: s, "aria-hidden": !0, onClick: o }, theirProps: i, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogOverlay" });
|
|
3191
3191
|
};
|
|
3192
3192
|
} });
|
|
3193
|
-
U({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${
|
|
3193
|
+
U({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${Pe()}` } }, inheritAttrs: !1, setup(e, { attrs: t, slots: n, expose: r }) {
|
|
3194
3194
|
let o = Ze("DialogBackdrop"), s = C(null);
|
|
3195
3195
|
return r({ el: s, $el: s }), V(() => {
|
|
3196
3196
|
if (o.panelRef.value === null)
|
|
@@ -3200,7 +3200,7 @@ U({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
|
|
|
3200
3200
|
return L(tn, { force: !0 }, () => L(Xr, () => Y({ ourProps: u, theirProps: { ...t, ...a }, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogBackdrop" })));
|
|
3201
3201
|
};
|
|
3202
3202
|
} });
|
|
3203
|
-
let Ll = U({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${
|
|
3203
|
+
let Ll = U({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-panel-${Pe()}` } }, setup(e, { attrs: t, slots: n, expose: r }) {
|
|
3204
3204
|
let o = Ze("DialogPanel");
|
|
3205
3205
|
r({ el: o.panelRef, $el: o.panelRef });
|
|
3206
3206
|
function s(i) {
|
|
@@ -3211,17 +3211,17 @@ let Ll = U({ name: "DialogPanel", props: { as: { type: [Object, String], default
|
|
|
3211
3211
|
return Y({ ourProps: u, theirProps: a, slot: { open: o.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogPanel" });
|
|
3212
3212
|
};
|
|
3213
3213
|
} });
|
|
3214
|
-
U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${
|
|
3214
|
+
U({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${Pe()}` } }, setup(e, { attrs: t, slots: n }) {
|
|
3215
3215
|
let r = Ze("DialogTitle");
|
|
3216
3216
|
return V(() => {
|
|
3217
|
-
r.setTitleId(e.id),
|
|
3217
|
+
r.setTitleId(e.id), te(() => r.setTitleId(null));
|
|
3218
3218
|
}), () => {
|
|
3219
3219
|
let { id: o, ...s } = e;
|
|
3220
3220
|
return Y({ ourProps: { id: o }, theirProps: s, slot: { open: r.dialogState.value === 0 }, attrs: t, slots: n, name: "DialogTitle" });
|
|
3221
3221
|
};
|
|
3222
3222
|
} });
|
|
3223
3223
|
function Il(e, t) {
|
|
3224
|
-
return
|
|
3224
|
+
return S(), T("svg", {
|
|
3225
3225
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3226
3226
|
fill: "none",
|
|
3227
3227
|
viewBox: "0 0 24 24",
|
|
@@ -3237,7 +3237,7 @@ function Il(e, t) {
|
|
|
3237
3237
|
]);
|
|
3238
3238
|
}
|
|
3239
3239
|
function Fl(e, t) {
|
|
3240
|
-
return
|
|
3240
|
+
return S(), T("svg", {
|
|
3241
3241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3242
3242
|
fill: "none",
|
|
3243
3243
|
viewBox: "0 0 24 24",
|
|
@@ -3543,7 +3543,7 @@ const Xe = (e, t) => {
|
|
|
3543
3543
|
/* HOISTED */
|
|
3544
3544
|
));
|
|
3545
3545
|
function ac(e, t, n, r, o, s) {
|
|
3546
|
-
return
|
|
3546
|
+
return S(), T("div", kl, [
|
|
3547
3547
|
v(
|
|
3548
3548
|
"h1",
|
|
3549
3549
|
null,
|
|
@@ -3551,14 +3551,14 @@ function ac(e, t, n, r, o, s) {
|
|
|
3551
3551
|
1
|
|
3552
3552
|
/* TEXT */
|
|
3553
3553
|
),
|
|
3554
|
-
o.isSignup ? (
|
|
3554
|
+
o.isSignup ? (S(), T("div", {
|
|
3555
3555
|
key: 0,
|
|
3556
3556
|
class: "link",
|
|
3557
3557
|
onClick: t[0] || (t[0] = (...i) => s.handleToLogin && s.handleToLogin(...i))
|
|
3558
3558
|
}, [
|
|
3559
3559
|
st("Already registered? "),
|
|
3560
3560
|
Bl
|
|
3561
|
-
])) : (
|
|
3561
|
+
])) : (S(), T("div", {
|
|
3562
3562
|
key: 1,
|
|
3563
3563
|
class: "link",
|
|
3564
3564
|
onClick: t[1] || (t[1] = (...i) => s.handleToSignup && s.handleToSignup(...i))
|
|
@@ -3605,7 +3605,7 @@ function ac(e, t, n, r, o, s) {
|
|
|
3605
3605
|
), [
|
|
3606
3606
|
[Rt, o.email]
|
|
3607
3607
|
]),
|
|
3608
|
-
o.emailErrorHelp ? (
|
|
3608
|
+
o.emailErrorHelp ? (S(), T(
|
|
3609
3609
|
"p",
|
|
3610
3610
|
Wl,
|
|
3611
3611
|
Q(o.emailErrorHelp),
|
|
@@ -3613,7 +3613,7 @@ function ac(e, t, n, r, o, s) {
|
|
|
3613
3613
|
/* TEXT */
|
|
3614
3614
|
)) : _("v-if", !0)
|
|
3615
3615
|
]),
|
|
3616
|
-
o.isSignup ? (
|
|
3616
|
+
o.isSignup ? (S(), T("div", Kl, [
|
|
3617
3617
|
ql,
|
|
3618
3618
|
Ue(v(
|
|
3619
3619
|
"input",
|
|
@@ -3645,28 +3645,28 @@ function ac(e, t, n, r, o, s) {
|
|
|
3645
3645
|
), [
|
|
3646
3646
|
[Rt, o.password]
|
|
3647
3647
|
]),
|
|
3648
|
-
o.passwordErrorHelp ? (
|
|
3648
|
+
o.passwordErrorHelp ? (S(), T("p", $l, [
|
|
3649
3649
|
st(
|
|
3650
3650
|
Q(o.passwordErrorHelp) + " ",
|
|
3651
3651
|
1
|
|
3652
3652
|
/* TEXT */
|
|
3653
3653
|
),
|
|
3654
|
-
o.errCode == 2 ? (
|
|
3654
|
+
o.errCode == 2 ? (S(), T("span", ec, nc)) : _("v-if", !0)
|
|
3655
3655
|
])) : _("v-if", !0)
|
|
3656
3656
|
]),
|
|
3657
|
-
o.isSignup ? (
|
|
3657
|
+
o.isSignup ? (S(), T("button", {
|
|
3658
3658
|
key: 1,
|
|
3659
3659
|
class: "form-button",
|
|
3660
3660
|
disabled: o.disabled,
|
|
3661
3661
|
onClick: t[9] || (t[9] = (...i) => s.handleSignup && s.handleSignup(...i))
|
|
3662
|
-
}, "Create Your Account", 8, rc)) : (
|
|
3662
|
+
}, "Create Your Account", 8, rc)) : (S(), T("button", {
|
|
3663
3663
|
key: 2,
|
|
3664
3664
|
class: "form-button",
|
|
3665
3665
|
disabled: o.disabled,
|
|
3666
3666
|
onClick: t[10] || (t[10] = (...i) => s.handleLogin && s.handleLogin(...i))
|
|
3667
3667
|
}, "Login", 8, oc))
|
|
3668
3668
|
]),
|
|
3669
|
-
o.isSignup ? _("v-if", !0) : (
|
|
3669
|
+
o.isSignup ? _("v-if", !0) : (S(), T("div", sc, [
|
|
3670
3670
|
ic,
|
|
3671
3671
|
_(' <a href="/user/resend-verification-email"> Need new verification email?</a> ')
|
|
3672
3672
|
])),
|
|
@@ -3675,7 +3675,7 @@ function ac(e, t, n, r, o, s) {
|
|
|
3675
3675
|
</div> `)
|
|
3676
3676
|
]);
|
|
3677
3677
|
}
|
|
3678
|
-
const lc = /* @__PURE__ */ Xe(Ml, [["render", ac], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/
|
|
3678
|
+
const lc = /* @__PURE__ */ Xe(Ml, [["render", ac], ["__scopeId", "data-v-4682235c"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation Video/src/components/Login1.vue"]]);
|
|
3679
3679
|
const cc = {
|
|
3680
3680
|
data() {
|
|
3681
3681
|
return {};
|
|
@@ -3721,9 +3721,9 @@ const cc = {
|
|
|
3721
3721
|
];
|
|
3722
3722
|
function mc(e, t, n, r, o, s) {
|
|
3723
3723
|
const i = fo("Login1");
|
|
3724
|
-
return
|
|
3724
|
+
return S(), T("div", dc, [
|
|
3725
3725
|
v("div", fc, [
|
|
3726
|
-
|
|
3726
|
+
be(i, { onSuccess: s.handleLoginSuccess }, null, 8, ["onSuccess"]),
|
|
3727
3727
|
v("div", {
|
|
3728
3728
|
class: "cancel",
|
|
3729
3729
|
onClick: t[0] || (t[0] = (...a) => s.handleClose && s.handleClose(...a))
|
|
@@ -3731,7 +3731,7 @@ function mc(e, t, n, r, o, s) {
|
|
|
3731
3731
|
])
|
|
3732
3732
|
]);
|
|
3733
3733
|
}
|
|
3734
|
-
const gc = /* @__PURE__ */ Xe(cc, [["render", mc], ["__scopeId", "data-v-47199182"], ["__file", "/Users/
|
|
3734
|
+
const gc = /* @__PURE__ */ Xe(cc, [["render", mc], ["__scopeId", "data-v-47199182"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation Video/src/components/Login.vue"]]);
|
|
3735
3735
|
/*!
|
|
3736
3736
|
* pinia v2.1.4
|
|
3737
3737
|
* (c) 2023 Eduardo San Martin Morote
|
|
@@ -3742,7 +3742,7 @@ const mt = (e) => Be = e, vc = process.env.NODE_ENV !== "production" ? Symbol("p
|
|
|
3742
3742
|
/* istanbul ignore next */
|
|
3743
3743
|
Symbol()
|
|
3744
3744
|
);
|
|
3745
|
-
function
|
|
3745
|
+
function pe(e) {
|
|
3746
3746
|
return e && typeof e == "object" && Object.prototype.toString.call(e) === "[object Object]" && typeof e.toJSON != "function";
|
|
3747
3747
|
}
|
|
3748
3748
|
var Ge;
|
|
@@ -3756,7 +3756,7 @@ function no(e, t) {
|
|
|
3756
3756
|
if (!(n in e))
|
|
3757
3757
|
continue;
|
|
3758
3758
|
const o = e[n];
|
|
3759
|
-
|
|
3759
|
+
pe(o) && pe(r) && !ue(r) && !un(r) ? e[n] = no(o, r) : e[n] = r;
|
|
3760
3760
|
}
|
|
3761
3761
|
return e;
|
|
3762
3762
|
}
|
|
@@ -3770,7 +3770,7 @@ function Xn(e, t, n, r = ro) {
|
|
|
3770
3770
|
};
|
|
3771
3771
|
return !n && go() && vo(o), o;
|
|
3772
3772
|
}
|
|
3773
|
-
function
|
|
3773
|
+
function ye(e, ...t) {
|
|
3774
3774
|
e.slice().forEach((n) => {
|
|
3775
3775
|
n(...t);
|
|
3776
3776
|
});
|
|
@@ -3782,7 +3782,7 @@ function sn(e, t) {
|
|
|
3782
3782
|
if (!t.hasOwnProperty(n))
|
|
3783
3783
|
continue;
|
|
3784
3784
|
const r = t[n], o = e[n];
|
|
3785
|
-
|
|
3785
|
+
pe(o) && pe(r) && e.hasOwnProperty(n) && !ue(r) && !un(r) ? e[n] = sn(o, r) : e[n] = r;
|
|
3786
3786
|
}
|
|
3787
3787
|
return e;
|
|
3788
3788
|
}
|
|
@@ -3791,11 +3791,11 @@ const yc = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration")
|
|
|
3791
3791
|
Symbol()
|
|
3792
3792
|
);
|
|
3793
3793
|
function bc(e) {
|
|
3794
|
-
return !
|
|
3794
|
+
return !pe(e) || !e.hasOwnProperty(yc);
|
|
3795
3795
|
}
|
|
3796
3796
|
const { assign: z } = Object;
|
|
3797
3797
|
function $n(e) {
|
|
3798
|
-
return !!(
|
|
3798
|
+
return !!(ue(e) && e.effect);
|
|
3799
3799
|
}
|
|
3800
3800
|
function er(e, t, n, r) {
|
|
3801
3801
|
const { state: o, actions: s, getters: i } = t, a = n.state.value[e];
|
|
@@ -3843,15 +3843,15 @@ function an(e, t, n = {}, r, o, s) {
|
|
|
3843
3843
|
storeId: e,
|
|
3844
3844
|
events: g
|
|
3845
3845
|
});
|
|
3846
|
-
const
|
|
3846
|
+
const R = b = Symbol();
|
|
3847
3847
|
He().then(() => {
|
|
3848
|
-
b ===
|
|
3849
|
-
}), d = !0,
|
|
3848
|
+
b === R && (l = !0);
|
|
3849
|
+
}), d = !0, ye(c, w, r.state.value[e]);
|
|
3850
3850
|
}
|
|
3851
|
-
const
|
|
3852
|
-
const { state: w } = n,
|
|
3853
|
-
this.$patch((
|
|
3854
|
-
z(
|
|
3851
|
+
const D = s ? function() {
|
|
3852
|
+
const { state: w } = n, R = w ? w() : {};
|
|
3853
|
+
this.$patch((F) => {
|
|
3854
|
+
z(F, R);
|
|
3855
3855
|
});
|
|
3856
3856
|
} : (
|
|
3857
3857
|
/* istanbul ignore next */
|
|
@@ -3862,76 +3862,76 @@ function an(e, t, n = {}, r, o, s) {
|
|
|
3862
3862
|
function j() {
|
|
3863
3863
|
i.stop(), c = [], p = [], r._s.delete(e);
|
|
3864
3864
|
}
|
|
3865
|
-
function
|
|
3865
|
+
function I(y, w) {
|
|
3866
3866
|
return function() {
|
|
3867
3867
|
mt(r);
|
|
3868
|
-
const
|
|
3869
|
-
function
|
|
3870
|
-
|
|
3868
|
+
const R = Array.from(arguments), F = [], se = [];
|
|
3869
|
+
function Nt(N) {
|
|
3870
|
+
F.push(N);
|
|
3871
3871
|
}
|
|
3872
|
-
function
|
|
3873
|
-
|
|
3872
|
+
function Dt(N) {
|
|
3873
|
+
se.push(N);
|
|
3874
3874
|
}
|
|
3875
|
-
|
|
3876
|
-
args:
|
|
3875
|
+
ye(p, {
|
|
3876
|
+
args: R,
|
|
3877
3877
|
name: y,
|
|
3878
3878
|
store: A,
|
|
3879
|
-
after:
|
|
3880
|
-
onError:
|
|
3879
|
+
after: Nt,
|
|
3880
|
+
onError: Dt
|
|
3881
3881
|
});
|
|
3882
|
-
let
|
|
3882
|
+
let P;
|
|
3883
3883
|
try {
|
|
3884
|
-
|
|
3885
|
-
} catch (
|
|
3886
|
-
throw
|
|
3884
|
+
P = w.apply(this && this.$id === e ? this : A, R);
|
|
3885
|
+
} catch (N) {
|
|
3886
|
+
throw ye(se, N), N;
|
|
3887
3887
|
}
|
|
3888
|
-
return
|
|
3888
|
+
return P instanceof Promise ? P.then((N) => (ye(F, N), N)).catch((N) => (ye(se, N), Promise.reject(N))) : (ye(F, P), P);
|
|
3889
3889
|
};
|
|
3890
3890
|
}
|
|
3891
|
-
const
|
|
3891
|
+
const $ = /* @__PURE__ */ Ie({
|
|
3892
3892
|
actions: {},
|
|
3893
3893
|
getters: {},
|
|
3894
3894
|
state: [],
|
|
3895
3895
|
hotState: h
|
|
3896
|
-
}),
|
|
3896
|
+
}), oe = {
|
|
3897
3897
|
_p: r,
|
|
3898
3898
|
// _s: scope,
|
|
3899
3899
|
$id: e,
|
|
3900
3900
|
$onAction: Xn.bind(null, p),
|
|
3901
3901
|
$patch: x,
|
|
3902
|
-
$reset:
|
|
3902
|
+
$reset: D,
|
|
3903
3903
|
$subscribe(y, w = {}) {
|
|
3904
|
-
const
|
|
3904
|
+
const R = Xn(c, y, w.detached, () => F()), F = i.run(() => Ye(() => r.state.value[e], (se) => {
|
|
3905
3905
|
(w.flush === "sync" ? d : l) && y({
|
|
3906
3906
|
storeId: e,
|
|
3907
3907
|
type: Ge.direct,
|
|
3908
3908
|
events: g
|
|
3909
|
-
},
|
|
3909
|
+
}, se);
|
|
3910
3910
|
}, z({}, u, w)));
|
|
3911
|
-
return
|
|
3911
|
+
return R;
|
|
3912
3912
|
},
|
|
3913
3913
|
$dispose: j
|
|
3914
3914
|
}, A = cn(process.env.NODE_ENV !== "production" || Gt ? z(
|
|
3915
3915
|
{
|
|
3916
|
-
_hmrPayload:
|
|
3916
|
+
_hmrPayload: $,
|
|
3917
3917
|
_customProperties: Ie(/* @__PURE__ */ new Set())
|
|
3918
3918
|
// devtools custom properties
|
|
3919
3919
|
},
|
|
3920
|
-
|
|
3920
|
+
oe
|
|
3921
3921
|
// must be added later
|
|
3922
3922
|
// setupStore
|
|
3923
|
-
) :
|
|
3923
|
+
) : oe);
|
|
3924
3924
|
r._s.set(e, A);
|
|
3925
3925
|
const Pt = r._a && r._a.runWithContext || wc, W = r._e.run(() => (i = ho(), Pt(() => i.run(t))));
|
|
3926
3926
|
for (const y in W) {
|
|
3927
3927
|
const w = W[y];
|
|
3928
|
-
if (
|
|
3929
|
-
process.env.NODE_ENV !== "production" && o ? nt(h.value, y, jt(W, y)) : s || (m && bc(w) && (
|
|
3928
|
+
if (ue(w) && !$n(w) || un(w))
|
|
3929
|
+
process.env.NODE_ENV !== "production" && o ? nt(h.value, y, jt(W, y)) : s || (m && bc(w) && (ue(w) ? w.value = m[y] : sn(w, m[y])), r.state.value[e][y] = w), process.env.NODE_ENV !== "production" && $.state.push(y);
|
|
3930
3930
|
else if (typeof w == "function") {
|
|
3931
|
-
const
|
|
3932
|
-
W[y] =
|
|
3931
|
+
const R = process.env.NODE_ENV !== "production" && o ? w : I(y, w);
|
|
3932
|
+
W[y] = R, process.env.NODE_ENV !== "production" && ($.actions[y] = w), a.actions[y] = w;
|
|
3933
3933
|
} else
|
|
3934
|
-
process.env.NODE_ENV !== "production" && $n(w) && (
|
|
3934
|
+
process.env.NODE_ENV !== "production" && $n(w) && ($.getters[y] = s ? (
|
|
3935
3935
|
// @ts-expect-error
|
|
3936
3936
|
n.getters[y]
|
|
3937
3937
|
) : w, An && (W._getters || // @ts-expect-error: same
|
|
@@ -3949,8 +3949,8 @@ function an(e, t, n = {}, r, o, s) {
|
|
|
3949
3949
|
}), process.env.NODE_ENV !== "production" && (A._hotUpdate = Ie((y) => {
|
|
3950
3950
|
A._hotUpdating = !0, y._hmrPayload.state.forEach((w) => {
|
|
3951
3951
|
if (w in A.$state) {
|
|
3952
|
-
const
|
|
3953
|
-
typeof
|
|
3952
|
+
const R = y.$state[w], F = A.$state[w];
|
|
3953
|
+
typeof R == "object" && pe(R) && pe(F) ? no(R, F) : y.$state[w] = F;
|
|
3954
3954
|
}
|
|
3955
3955
|
nt(A, w, jt(y.$state, w));
|
|
3956
3956
|
}), Object.keys(A.$state).forEach((w) => {
|
|
@@ -3959,15 +3959,15 @@ function an(e, t, n = {}, r, o, s) {
|
|
|
3959
3959
|
l = !0;
|
|
3960
3960
|
});
|
|
3961
3961
|
for (const w in y._hmrPayload.actions) {
|
|
3962
|
-
const
|
|
3963
|
-
nt(A, w,
|
|
3962
|
+
const R = y[w];
|
|
3963
|
+
nt(A, w, I(w, R));
|
|
3964
3964
|
}
|
|
3965
3965
|
for (const w in y._hmrPayload.getters) {
|
|
3966
|
-
const
|
|
3966
|
+
const R = y._hmrPayload.getters[w], F = s ? (
|
|
3967
3967
|
// special handling of options api
|
|
3968
|
-
E(() => (mt(r),
|
|
3969
|
-
) :
|
|
3970
|
-
nt(A, w,
|
|
3968
|
+
E(() => (mt(r), R.call(A, A)))
|
|
3969
|
+
) : R;
|
|
3970
|
+
nt(A, w, F);
|
|
3971
3971
|
}
|
|
3972
3972
|
Object.keys(A._hmrPayload.getters).forEach((w) => {
|
|
3973
3973
|
w in y._hmrPayload.getters || kt(A, w);
|
|
@@ -3993,7 +3993,7 @@ function an(e, t, n = {}, r, o, s) {
|
|
|
3993
3993
|
pinia: r,
|
|
3994
3994
|
options: a
|
|
3995
3995
|
}));
|
|
3996
|
-
Object.keys(w || {}).forEach((
|
|
3996
|
+
Object.keys(w || {}).forEach((R) => A._customProperties.add(R)), z(A, w);
|
|
3997
3997
|
} else
|
|
3998
3998
|
z(A, i.run(() => y({
|
|
3999
3999
|
store: A,
|
|
@@ -4124,10 +4124,10 @@ const Cc = {
|
|
|
4124
4124
|
console.log("user", this.user), this.user.is_subscribed || this.$emit("subscribe");
|
|
4125
4125
|
}
|
|
4126
4126
|
}
|
|
4127
|
-
}, $e = (e) => (Je("data-v-8580ad75"), e = e(), We(), e), Sc = { class: "user-center-content" }, Oc = { class: "user-info flew-row-v-center" }, Pc = ["src"],
|
|
4127
|
+
}, $e = (e) => (Je("data-v-8580ad75"), e = e(), We(), e), Sc = { class: "user-center-content" }, Oc = { class: "user-info flew-row-v-center" }, Pc = ["src"], Nc = {
|
|
4128
4128
|
class: "user-name",
|
|
4129
4129
|
style: { color: "#000" }
|
|
4130
|
-
},
|
|
4130
|
+
}, Dc = { class: "user-email" }, Tc = { class: "flew-row-v-center" }, Rc = {
|
|
4131
4131
|
key: 0,
|
|
4132
4132
|
t: "1637834706702",
|
|
4133
4133
|
class: "user-item-icon",
|
|
@@ -4228,7 +4228,7 @@ const Cc = {
|
|
|
4228
4228
|
Gc
|
|
4229
4229
|
];
|
|
4230
4230
|
function Qc(e, t, n, r, o, s) {
|
|
4231
|
-
return
|
|
4231
|
+
return S(), T("div", Sc, [
|
|
4232
4232
|
v("div", Oc, [
|
|
4233
4233
|
v("img", {
|
|
4234
4234
|
class: "user-avatar",
|
|
@@ -4236,7 +4236,7 @@ function Qc(e, t, n, r, o, s) {
|
|
|
4236
4236
|
alt: "user avatar"
|
|
4237
4237
|
}, null, 8, Pc),
|
|
4238
4238
|
v("div", null, [
|
|
4239
|
-
v("div",
|
|
4239
|
+
v("div", Nc, [
|
|
4240
4240
|
v(
|
|
4241
4241
|
"span",
|
|
4242
4242
|
null,
|
|
@@ -4245,7 +4245,7 @@ function Qc(e, t, n, r, o, s) {
|
|
|
4245
4245
|
/* TEXT */
|
|
4246
4246
|
)
|
|
4247
4247
|
]),
|
|
4248
|
-
v("div",
|
|
4248
|
+
v("div", Dc, [
|
|
4249
4249
|
v(
|
|
4250
4250
|
"span",
|
|
4251
4251
|
null,
|
|
@@ -4268,7 +4268,7 @@ function Qc(e, t, n, r, o, s) {
|
|
|
4268
4268
|
onClick: t[0] || (t[0] = (...i) => s.handlePay && s.handlePay(...i))
|
|
4269
4269
|
}, [
|
|
4270
4270
|
v("div", Tc, [
|
|
4271
|
-
n.user.is_subscribed ? (
|
|
4271
|
+
n.user.is_subscribed ? (S(), T("svg", Rc, Lc)) : (S(), T("svg", Ic, Mc)),
|
|
4272
4272
|
v(
|
|
4273
4273
|
"span",
|
|
4274
4274
|
null,
|
|
@@ -4277,16 +4277,16 @@ function Qc(e, t, n, r, o, s) {
|
|
|
4277
4277
|
/* TEXT */
|
|
4278
4278
|
)
|
|
4279
4279
|
]),
|
|
4280
|
-
!n.user.is_subscribed && n.from == "addon" ? (
|
|
4280
|
+
!n.user.is_subscribed && n.from == "addon" ? (S(), T("div", kc, Uc)) : _("v-if", !0)
|
|
4281
4281
|
]),
|
|
4282
|
-
n.from != "addon" ? (
|
|
4282
|
+
n.from != "addon" ? (S(), T("a", {
|
|
4283
4283
|
key: 0,
|
|
4284
4284
|
rel: "nofollow",
|
|
4285
4285
|
href: o.path + "/user/logout"
|
|
4286
4286
|
}, Hc, 8, zc)) : _("v-if", !0)
|
|
4287
4287
|
]);
|
|
4288
4288
|
}
|
|
4289
|
-
const tr = /* @__PURE__ */ Xe(Cc, [["render", Qc], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/
|
|
4289
|
+
const tr = /* @__PURE__ */ Xe(Cc, [["render", Qc], ["__scopeId", "data-v-8580ad75"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation Video/src/components/PersonalCenter.vue"]]);
|
|
4290
4290
|
const Vc = {
|
|
4291
4291
|
props: ["content", "top"]
|
|
4292
4292
|
}, Yc = (e) => (Je("data-v-7b6def48"), e = e(), We(), e), Jc = /* @__PURE__ */ Yc(() => /* @__PURE__ */ v(
|
|
@@ -4311,7 +4311,7 @@ const Vc = {
|
|
|
4311
4311
|
/* HOISTED */
|
|
4312
4312
|
));
|
|
4313
4313
|
function Wc(e, t, n, r, o, s) {
|
|
4314
|
-
return
|
|
4314
|
+
return S(), T(
|
|
4315
4315
|
"div",
|
|
4316
4316
|
{
|
|
4317
4317
|
class: "toast-wrapper",
|
|
@@ -4331,20 +4331,20 @@ function Wc(e, t, n, r, o, s) {
|
|
|
4331
4331
|
/* STYLE */
|
|
4332
4332
|
);
|
|
4333
4333
|
}
|
|
4334
|
-
const Kc = /* @__PURE__ */ Xe(Vc, [["render", Wc], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/
|
|
4335
|
-
const
|
|
4334
|
+
const Kc = /* @__PURE__ */ Xe(Vc, [["render", Wc], ["__scopeId", "data-v-7b6def48"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation Video/src/components/Toast.vue"]]);
|
|
4335
|
+
const ve = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "absolute inset-x-0 top-0 z-50" }, Zc = {
|
|
4336
4336
|
class: "flex items-center justify-between p-6 lg:px-8",
|
|
4337
4337
|
"aria-label": "Global"
|
|
4338
4338
|
}, Xc = { class: "flex lg:flex-1" }, $c = {
|
|
4339
4339
|
href: "#",
|
|
4340
4340
|
class: "-m-1.5 p-1.5"
|
|
4341
|
-
}, eu = /* @__PURE__ */
|
|
4341
|
+
}, eu = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4342
4342
|
"span",
|
|
4343
4343
|
{ class: "sr-only" },
|
|
4344
4344
|
"Your Company",
|
|
4345
4345
|
-1
|
|
4346
4346
|
/* HOISTED */
|
|
4347
|
-
)), tu = ["src"], nu = { class: "flex lg:hidden" }, ru = /* @__PURE__ */
|
|
4347
|
+
)), tu = ["src"], nu = { class: "flex lg:hidden" }, ru = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4348
4348
|
"span",
|
|
4349
4349
|
{ class: "sr-only" },
|
|
4350
4350
|
"Open main menu",
|
|
@@ -4356,7 +4356,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4356
4356
|
}, su = ["href"], iu = {
|
|
4357
4357
|
key: 1,
|
|
4358
4358
|
class: "hidden lg:flex lg:flex-1 lg:justify-end"
|
|
4359
|
-
}, au = /* @__PURE__ */
|
|
4359
|
+
}, au = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4360
4360
|
"span",
|
|
4361
4361
|
{ "aria-hidden": "true" },
|
|
4362
4362
|
"→",
|
|
@@ -4365,19 +4365,19 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4365
4365
|
)), lu = {
|
|
4366
4366
|
key: 2,
|
|
4367
4367
|
class: "hidden lg:flex lg:flex-1 lg:justify-end text-sm font-semibold leading-6 text-gray-900 items-center"
|
|
4368
|
-
}, cu = { class: "pr-4" }, uu = ["src"], du = /* @__PURE__ */
|
|
4368
|
+
}, cu = { class: "pr-4" }, uu = ["src"], du = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4369
4369
|
"div",
|
|
4370
4370
|
{ class: "open-icon" },
|
|
4371
4371
|
null,
|
|
4372
4372
|
-1
|
|
4373
4373
|
/* HOISTED */
|
|
4374
|
-
)), fu = { class: "user-center-dialog shadow-xl" }, pu = /* @__PURE__ */
|
|
4374
|
+
)), fu = { class: "user-center-dialog shadow-xl" }, pu = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4375
4375
|
"div",
|
|
4376
4376
|
{ class: "fixed inset-0 z-50" },
|
|
4377
4377
|
null,
|
|
4378
4378
|
-1
|
|
4379
4379
|
/* HOISTED */
|
|
4380
|
-
)), hu = { class: "flex items-center justify-between" }, mu = /* @__PURE__ */
|
|
4380
|
+
)), hu = { class: "flex items-center justify-between" }, mu = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4381
4381
|
"a",
|
|
4382
4382
|
{
|
|
4383
4383
|
href: "#",
|
|
@@ -4393,7 +4393,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4393
4393
|
],
|
|
4394
4394
|
-1
|
|
4395
4395
|
/* HOISTED */
|
|
4396
|
-
)), gu = /* @__PURE__ */
|
|
4396
|
+
)), gu = /* @__PURE__ */ ve(() => /* @__PURE__ */ v(
|
|
4397
4397
|
"span",
|
|
4398
4398
|
{ class: "sr-only" },
|
|
4399
4399
|
"Close menu",
|
|
@@ -4417,6 +4417,10 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4417
4417
|
from: {
|
|
4418
4418
|
type: String,
|
|
4419
4419
|
default: ""
|
|
4420
|
+
},
|
|
4421
|
+
filterNav: {
|
|
4422
|
+
type: Array,
|
|
4423
|
+
default: []
|
|
4420
4424
|
}
|
|
4421
4425
|
},
|
|
4422
4426
|
emits: ["allsendArray", "initTranslateList"],
|
|
@@ -4429,23 +4433,35 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4429
4433
|
typeof app_config == "object" && app_config && Object.keys(app_config).length > 0 && (r = app_config), console.log("appInfo", r);
|
|
4430
4434
|
const o = C(r);
|
|
4431
4435
|
let s = At();
|
|
4432
|
-
const i = [
|
|
4436
|
+
const i = C([
|
|
4433
4437
|
{ name: "Pricing", href: s + "/pricing" },
|
|
4434
4438
|
{ name: "Support", href: s + "/support" },
|
|
4435
4439
|
{ name: "Privacy Policy", href: s + "/privacy" },
|
|
4436
4440
|
{ name: "Company", href: s + "/terms" }
|
|
4437
|
-
], a = C(!1), u = E(() => n.userStore.user), l = () => {
|
|
4441
|
+
]), a = C(!1), u = E(() => n.userStore.user), l = () => {
|
|
4438
4442
|
n.userStore.showLogin(!0);
|
|
4439
4443
|
}, d = C(!1);
|
|
4440
4444
|
V(() => {
|
|
4441
|
-
n.
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
+
if (n.filterNav.length != 0) {
|
|
4446
|
+
let D = function(j, I) {
|
|
4447
|
+
const $ = j.findIndex((oe) => oe.name === I);
|
|
4448
|
+
$ >= 0 && j.splice($, 1);
|
|
4449
|
+
};
|
|
4450
|
+
n.filterNav.forEach((j) => {
|
|
4451
|
+
D(i.value, j);
|
|
4452
|
+
});
|
|
4453
|
+
}
|
|
4454
|
+
n.userStore.getUser().then(
|
|
4455
|
+
({ profile: D }) => {
|
|
4456
|
+
console.log("login", D), !D && n.from != "login" && b();
|
|
4457
|
+
},
|
|
4458
|
+
() => {
|
|
4459
|
+
}
|
|
4460
|
+
);
|
|
4445
4461
|
});
|
|
4446
4462
|
async function c() {
|
|
4447
4463
|
p();
|
|
4448
|
-
const
|
|
4464
|
+
const D = Fe.service({
|
|
4449
4465
|
text: "logining...",
|
|
4450
4466
|
background: "rgba(0, 0, 0, 0.7)"
|
|
4451
4467
|
});
|
|
@@ -4453,7 +4469,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4453
4469
|
await n.userStore.getUser(), t("loginSuccess");
|
|
4454
4470
|
} catch {
|
|
4455
4471
|
} finally {
|
|
4456
|
-
|
|
4472
|
+
D.close();
|
|
4457
4473
|
}
|
|
4458
4474
|
}
|
|
4459
4475
|
function p() {
|
|
@@ -4468,20 +4484,23 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4468
4484
|
function h() {
|
|
4469
4485
|
a.value = !a.value;
|
|
4470
4486
|
}
|
|
4471
|
-
function b(
|
|
4487
|
+
function b(D) {
|
|
4472
4488
|
console.log("addGoogleAccountsScript:before"), typeof google < "u" && (google.accounts.id.initialize({
|
|
4473
4489
|
client_id: "704677828444-ihbv6faprun043f3iuponnrctutdssgj.apps.googleusercontent.com",
|
|
4474
4490
|
callback: x
|
|
4475
4491
|
}), google.accounts.id.prompt());
|
|
4476
4492
|
}
|
|
4477
|
-
function x(
|
|
4478
|
-
!
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4493
|
+
function x(D) {
|
|
4494
|
+
!D || !D.credential || Cr(D.credential).then(
|
|
4495
|
+
(j) => {
|
|
4496
|
+
console.log("fetch_success", j), location.href = location.pathname;
|
|
4497
|
+
},
|
|
4498
|
+
(j) => {
|
|
4499
|
+
console.log("fetch_fail", j);
|
|
4500
|
+
}
|
|
4501
|
+
);
|
|
4483
4502
|
}
|
|
4484
|
-
return (
|
|
4503
|
+
return (D, j) => (S(), T(
|
|
4485
4504
|
ze,
|
|
4486
4505
|
null,
|
|
4487
4506
|
[
|
|
@@ -4501,29 +4520,29 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4501
4520
|
v("button", {
|
|
4502
4521
|
type: "button",
|
|
4503
4522
|
class: "-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700",
|
|
4504
|
-
onClick: j[0] || (j[0] = (
|
|
4523
|
+
onClick: j[0] || (j[0] = (I) => d.value = !0)
|
|
4505
4524
|
}, [
|
|
4506
4525
|
ru,
|
|
4507
|
-
|
|
4526
|
+
be(G(Il), {
|
|
4508
4527
|
class: "h-6 w-6",
|
|
4509
4528
|
"aria-hidden": "true"
|
|
4510
4529
|
})
|
|
4511
4530
|
])
|
|
4512
4531
|
]),
|
|
4513
|
-
e.isLandingpage ? (
|
|
4514
|
-
(
|
|
4532
|
+
e.isLandingpage ? (S(), T("div", ou, [
|
|
4533
|
+
(S(!0), T(
|
|
4515
4534
|
ze,
|
|
4516
4535
|
null,
|
|
4517
|
-
xn(i, (
|
|
4518
|
-
key:
|
|
4519
|
-
href:
|
|
4536
|
+
xn(i.value, (I) => (S(), T("a", {
|
|
4537
|
+
key: I.name,
|
|
4538
|
+
href: I.href,
|
|
4520
4539
|
class: "text-sm font-semibold leading-6 text-gray-900"
|
|
4521
|
-
}, Q(
|
|
4522
|
-
|
|
4523
|
-
/*
|
|
4540
|
+
}, Q(I.name), 9, su))),
|
|
4541
|
+
128
|
|
4542
|
+
/* KEYED_FRAGMENT */
|
|
4524
4543
|
))
|
|
4525
4544
|
])) : _("v-if", !0),
|
|
4526
|
-
u.value ? _("v-if", !0) : (
|
|
4545
|
+
u.value ? _("v-if", !0) : (S(), T("div", iu, [
|
|
4527
4546
|
v("a", {
|
|
4528
4547
|
onClick: l,
|
|
4529
4548
|
href: "#",
|
|
@@ -4533,7 +4552,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4533
4552
|
au
|
|
4534
4553
|
])
|
|
4535
4554
|
])),
|
|
4536
|
-
u.value ? (
|
|
4555
|
+
u.value ? (S(), T("div", lu, [
|
|
4537
4556
|
v(
|
|
4538
4557
|
"div",
|
|
4539
4558
|
{
|
|
@@ -4562,7 +4581,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4562
4581
|
null,
|
|
4563
4582
|
[
|
|
4564
4583
|
v("div", fu, [
|
|
4565
|
-
u.value ? (
|
|
4584
|
+
u.value ? (S(), et(tr, {
|
|
4566
4585
|
key: 0,
|
|
4567
4586
|
user: u.value
|
|
4568
4587
|
}, null, 8, ["user"])) : _("v-if", !0)
|
|
@@ -4579,25 +4598,25 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4579
4598
|
)
|
|
4580
4599
|
])) : _("v-if", !0)
|
|
4581
4600
|
]),
|
|
4582
|
-
|
|
4601
|
+
be(G(_l), {
|
|
4583
4602
|
as: "div",
|
|
4584
4603
|
class: "lg:hidden",
|
|
4585
|
-
onClose: j[2] || (j[2] = (
|
|
4604
|
+
onClose: j[2] || (j[2] = (I) => d.value = !1),
|
|
4586
4605
|
open: d.value
|
|
4587
4606
|
}, {
|
|
4588
4607
|
default: Ht(() => [
|
|
4589
4608
|
pu,
|
|
4590
|
-
|
|
4609
|
+
be(G(Ll), { 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" }, {
|
|
4591
4610
|
default: Ht(() => [
|
|
4592
4611
|
v("div", hu, [
|
|
4593
4612
|
mu,
|
|
4594
4613
|
v("button", {
|
|
4595
4614
|
type: "button",
|
|
4596
4615
|
class: "-m-2.5 rounded-md p-2.5 text-gray-700",
|
|
4597
|
-
onClick: j[1] || (j[1] = (
|
|
4616
|
+
onClick: j[1] || (j[1] = (I) => d.value = !1)
|
|
4598
4617
|
}, [
|
|
4599
4618
|
gu,
|
|
4600
|
-
|
|
4619
|
+
be(G(Fl), {
|
|
4601
4620
|
class: "h-6 w-6",
|
|
4602
4621
|
"aria-hidden": "true"
|
|
4603
4622
|
})
|
|
@@ -4606,28 +4625,28 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4606
4625
|
v("div", vu, [
|
|
4607
4626
|
v("div", wu, [
|
|
4608
4627
|
v("div", yu, [
|
|
4609
|
-
(
|
|
4628
|
+
(S(!0), T(
|
|
4610
4629
|
ze,
|
|
4611
4630
|
null,
|
|
4612
|
-
xn(i, (
|
|
4613
|
-
key:
|
|
4614
|
-
href:
|
|
4631
|
+
xn(i.value, (I) => (S(), T("a", {
|
|
4632
|
+
key: I.name,
|
|
4633
|
+
href: I.href,
|
|
4615
4634
|
class: "-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50"
|
|
4616
|
-
}, Q(
|
|
4617
|
-
|
|
4618
|
-
/*
|
|
4635
|
+
}, Q(I.name), 9, bu))),
|
|
4636
|
+
128
|
|
4637
|
+
/* KEYED_FRAGMENT */
|
|
4619
4638
|
))
|
|
4620
4639
|
]),
|
|
4621
|
-
u.value ? (
|
|
4640
|
+
u.value ? (S(), T("div", {
|
|
4622
4641
|
key: 1,
|
|
4623
4642
|
class: "relative sm-user-center-dialog py-6 right flew-center",
|
|
4624
4643
|
onClick: h
|
|
4625
4644
|
}, [
|
|
4626
|
-
u.value ? (
|
|
4645
|
+
u.value ? (S(), et(tr, {
|
|
4627
4646
|
key: 0,
|
|
4628
4647
|
user: u.value
|
|
4629
4648
|
}, null, 8, ["user"])) : _("v-if", !0)
|
|
4630
|
-
])) : (
|
|
4649
|
+
])) : (S(), T("div", Eu, [
|
|
4631
4650
|
v("a", {
|
|
4632
4651
|
href: "#",
|
|
4633
4652
|
onClick: l,
|
|
@@ -4646,12 +4665,12 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4646
4665
|
}, 8, ["open"])
|
|
4647
4666
|
]),
|
|
4648
4667
|
_(" 引入登录 "),
|
|
4649
|
-
e.userStore.isShowLogin ? (
|
|
4668
|
+
e.userStore.isShowLogin ? (S(), et(gc, {
|
|
4650
4669
|
key: 0,
|
|
4651
4670
|
onSuccess: c,
|
|
4652
4671
|
onClose: p
|
|
4653
4672
|
})) : _("v-if", !0),
|
|
4654
|
-
e.userStore.isShowToast ? (
|
|
4673
|
+
e.userStore.isShowToast ? (S(), et(Kc, {
|
|
4655
4674
|
key: 1,
|
|
4656
4675
|
content: e.userStore.toastContent
|
|
4657
4676
|
}, null, 8, ["content"])) : _("v-if", !0)
|
|
@@ -4660,7 +4679,7 @@ const me = (e) => (Je("data-v-c970699f"), e = e(), We(), e), qc = { class: "abso
|
|
|
4660
4679
|
/* STABLE_FRAGMENT */
|
|
4661
4680
|
));
|
|
4662
4681
|
}
|
|
4663
|
-
}, xu = /* @__PURE__ */ Xe(Au, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/
|
|
4682
|
+
}, xu = /* @__PURE__ */ Xe(Au, [["__scopeId", "data-v-c970699f"], ["__file", "/Users/hodohimehime/Desktop/test/xiaochengxu/liusenlin_project/Translation Video/src/components/Header.vue"]]), Su = {
|
|
4664
4683
|
install(e) {
|
|
4665
4684
|
e.component("my-header", xu);
|
|
4666
4685
|
}
|