@vuetify/one 0.0.2 → 0.0.3
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/dist/v-one.js +103 -99
- package/dist/v-one.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/v-one.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { reactive as ut, computed as y, watchEffect as
|
|
1
|
+
import { reactive as ut, computed as y, watchEffect as je, toRefs as Za, capitalize as Qa, Fragment as Fe, warn as Rt, ref as F, unref as A, provide as ue, inject as J, shallowRef as z, defineComponent as Ft, camelize as er, h as Nt, getCurrentInstance as pi, onBeforeUnmount as xe, watch as j, readonly as Tn, onScopeDispose as ce, effectScope as kn, toRaw as me, TransitionGroup as Si, Transition as Se, createVNode as v, mergeProps as G, onBeforeMount as tr, nextTick as ve, withDirectives as we, resolveDirective as ct, vShow as En, isRef as dt, onMounted as In, toRef as M, Text as wi, resolveDynamicComponent as Ci, Teleport as _i, openBlock as Ze, createBlock as Qe, withCtx as se, createElementVNode as xi, createTextVNode as en, toDisplayString as Qn, createCommentVNode as Pi } from "vue";
|
|
2
2
|
import { defineStore as $n } from "pinia";
|
|
3
3
|
import { mdiGithub as Ai, mdiDiscord as Oi, mdiLogin as Ti, mdiViewDashboard as ki, mdiLogoutVariant as Ei } from "@mdi/js";
|
|
4
4
|
import { useDisplay as Ii, useTheme as $i } from "vuetify";
|
|
@@ -31,13 +31,13 @@ function nr(e, t, n) {
|
|
|
31
31
|
}
|
|
32
32
|
return e == null || e[t[a]] === void 0 ? n : e[t[a]];
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function jt(e, t) {
|
|
35
35
|
if (e === t)
|
|
36
36
|
return !0;
|
|
37
37
|
if (e instanceof Date && t instanceof Date && e.getTime() !== t.getTime() || e !== Object(e) || t !== Object(t))
|
|
38
38
|
return !1;
|
|
39
39
|
const n = Object.keys(e);
|
|
40
|
-
return n.length !== Object.keys(t).length ? !1 : n.every((a) =>
|
|
40
|
+
return n.length !== Object.keys(t).length ? !1 : n.every((a) => jt(e[a], t[a]));
|
|
41
41
|
}
|
|
42
42
|
function Vi(e, t, n) {
|
|
43
43
|
return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), nr(e, t.split("."), n));
|
|
@@ -178,7 +178,7 @@ function St(e, t) {
|
|
|
178
178
|
}
|
|
179
179
|
function Ln(e) {
|
|
180
180
|
const t = ut({}), n = y(e);
|
|
181
|
-
return
|
|
181
|
+
return je(() => {
|
|
182
182
|
for (const a in n.value)
|
|
183
183
|
t[a] = n.value[a];
|
|
184
184
|
}, {
|
|
@@ -360,7 +360,7 @@ function Xe(e, t, n) {
|
|
|
360
360
|
})), a;
|
|
361
361
|
}
|
|
362
362
|
const wt = /* @__PURE__ */ new WeakMap();
|
|
363
|
-
function
|
|
363
|
+
function ji(e, t) {
|
|
364
364
|
Object.keys(t).forEach((n) => {
|
|
365
365
|
if (rr(n)) {
|
|
366
366
|
const a = sr(n), i = wt.get(e);
|
|
@@ -378,7 +378,7 @@ function Di(e, t) {
|
|
|
378
378
|
t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function Di(e, t) {
|
|
382
382
|
Object.keys(t).forEach((n) => {
|
|
383
383
|
if (rr(n)) {
|
|
384
384
|
const a = sr(n), i = wt.get(e);
|
|
@@ -548,7 +548,7 @@ function Bn() {
|
|
|
548
548
|
throw new Error("[Vuetify] Could not find defaults instance");
|
|
549
549
|
return e;
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Dt(e, t) {
|
|
552
552
|
const n = Bn(), a = F(e), i = y(() => {
|
|
553
553
|
if (A(t == null ? void 0 : t.disabled))
|
|
554
554
|
return n.value;
|
|
@@ -591,7 +591,7 @@ function no() {
|
|
|
591
591
|
return d === "class" || d === "style" ? [(u = i.value) == null ? void 0 : u[d], c].filter((m) => m != null) : typeof d == "string" && !to(a.vnode, d) ? ((f = i.value) == null ? void 0 : f[d]) ?? ((h = (g = n.value) == null ? void 0 : g.global) == null ? void 0 : h[d]) ?? c : c;
|
|
592
592
|
}
|
|
593
593
|
}), o = z();
|
|
594
|
-
|
|
594
|
+
je(() => {
|
|
595
595
|
if (i.value) {
|
|
596
596
|
const l = Object.entries(i.value).filter((d) => {
|
|
597
597
|
let [c] = d;
|
|
@@ -754,7 +754,7 @@ function uo(e) {
|
|
|
754
754
|
});
|
|
755
755
|
xe(() => {
|
|
756
756
|
i.disconnect();
|
|
757
|
-
}),
|
|
757
|
+
}), j(n, (r, o) => {
|
|
758
758
|
o && (i.unobserve(xt(o)), a.value = void 0), r && i.observe(xt(r));
|
|
759
759
|
}, {
|
|
760
760
|
flush: "post"
|
|
@@ -772,7 +772,7 @@ function zt(e, t) {
|
|
|
772
772
|
n == null || n.stop(), a();
|
|
773
773
|
}) : t());
|
|
774
774
|
}
|
|
775
|
-
|
|
775
|
+
j(e, (i) => {
|
|
776
776
|
i && !n ? a() : i || (n == null || n.stop(), n = void 0);
|
|
777
777
|
}, {
|
|
778
778
|
immediate: !0
|
|
@@ -790,7 +790,7 @@ function Ce(e, t, n) {
|
|
|
790
790
|
return e[t], !!((u = r.vnode.props) != null && u.hasOwnProperty(t) && ((f = r.vnode.props) != null && f.hasOwnProperty(`onUpdate:${t}`)));
|
|
791
791
|
});
|
|
792
792
|
zt(() => !d.value, () => {
|
|
793
|
-
|
|
793
|
+
j(() => e[t], (u) => {
|
|
794
794
|
o.value = u;
|
|
795
795
|
});
|
|
796
796
|
});
|
|
@@ -1119,7 +1119,7 @@ const mo = x({
|
|
|
1119
1119
|
root: o,
|
|
1120
1120
|
scoped: s
|
|
1121
1121
|
} = Za(e);
|
|
1122
|
-
return
|
|
1122
|
+
return Dt(a, {
|
|
1123
1123
|
reset: r,
|
|
1124
1124
|
root: o,
|
|
1125
1125
|
scoped: s,
|
|
@@ -1306,9 +1306,9 @@ const bo = {
|
|
|
1306
1306
|
lazySrc: e.lazySrc,
|
|
1307
1307
|
aspect: Number(e.aspectRatio || 0)
|
|
1308
1308
|
}), u = y(() => c.value.aspect || l.value / d.value || 0);
|
|
1309
|
-
|
|
1309
|
+
j(() => e.src, () => {
|
|
1310
1310
|
f(s.value !== "idle");
|
|
1311
|
-
}),
|
|
1311
|
+
}), j(u, (C, V) => {
|
|
1312
1312
|
!C && V && o.value && S(o.value);
|
|
1313
1313
|
}), tr(() => f());
|
|
1314
1314
|
function f(C) {
|
|
@@ -1427,7 +1427,7 @@ const bo = {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
}, null) : null, B = z(!1);
|
|
1429
1429
|
{
|
|
1430
|
-
const C =
|
|
1430
|
+
const C = j(u, (V) => {
|
|
1431
1431
|
V && (requestAnimationFrame(() => {
|
|
1432
1432
|
requestAnimationFrame(() => {
|
|
1433
1433
|
B.value = !0;
|
|
@@ -1482,7 +1482,7 @@ function mt(e) {
|
|
|
1482
1482
|
})
|
|
1483
1483
|
};
|
|
1484
1484
|
}
|
|
1485
|
-
function
|
|
1485
|
+
function jn(e) {
|
|
1486
1486
|
return Ln(() => {
|
|
1487
1487
|
const t = [], n = {};
|
|
1488
1488
|
if (e.value.background)
|
|
@@ -1508,7 +1508,7 @@ function Ne(e, t) {
|
|
|
1508
1508
|
})), {
|
|
1509
1509
|
colorClasses: a,
|
|
1510
1510
|
colorStyles: i
|
|
1511
|
-
} =
|
|
1511
|
+
} = jn(n);
|
|
1512
1512
|
return {
|
|
1513
1513
|
textColorClasses: a,
|
|
1514
1514
|
textColorStyles: i
|
|
@@ -1520,13 +1520,13 @@ function at(e, t) {
|
|
|
1520
1520
|
})), {
|
|
1521
1521
|
colorClasses: a,
|
|
1522
1522
|
colorStyles: i
|
|
1523
|
-
} =
|
|
1523
|
+
} = jn(n);
|
|
1524
1524
|
return {
|
|
1525
1525
|
backgroundColorClasses: a,
|
|
1526
1526
|
backgroundColorStyles: i
|
|
1527
1527
|
};
|
|
1528
1528
|
}
|
|
1529
|
-
const
|
|
1529
|
+
const De = x({
|
|
1530
1530
|
elevation: {
|
|
1531
1531
|
type: [Number, String],
|
|
1532
1532
|
validator(e) {
|
|
@@ -1619,7 +1619,7 @@ function Wt(e) {
|
|
|
1619
1619
|
}), {
|
|
1620
1620
|
colorClasses: a,
|
|
1621
1621
|
colorStyles: i
|
|
1622
|
-
} =
|
|
1622
|
+
} = jn(y(() => {
|
|
1623
1623
|
const {
|
|
1624
1624
|
variant: r,
|
|
1625
1625
|
color: o
|
|
@@ -1639,7 +1639,7 @@ const Cr = x({
|
|
|
1639
1639
|
...gt(),
|
|
1640
1640
|
...q(),
|
|
1641
1641
|
...ke(),
|
|
1642
|
-
...
|
|
1642
|
+
...De(),
|
|
1643
1643
|
...Oe(),
|
|
1644
1644
|
...de(),
|
|
1645
1645
|
...re(),
|
|
@@ -1662,7 +1662,7 @@ const Cr = x({
|
|
|
1662
1662
|
} = Me(e), {
|
|
1663
1663
|
roundedClasses: s
|
|
1664
1664
|
} = Te(e);
|
|
1665
|
-
|
|
1665
|
+
Dt({
|
|
1666
1666
|
VBtn: {
|
|
1667
1667
|
height: "auto",
|
|
1668
1668
|
color: M(e, "color"),
|
|
@@ -1714,7 +1714,7 @@ function Ao(e, t) {
|
|
|
1714
1714
|
r.unregister(i);
|
|
1715
1715
|
});
|
|
1716
1716
|
const l = y(() => r.isSelected(i)), d = y(() => l.value && [r.selectedClass.value, e.selectedClass]);
|
|
1717
|
-
return
|
|
1717
|
+
return j(l, (c) => {
|
|
1718
1718
|
a.emit("group:selected", {
|
|
1719
1719
|
value: c
|
|
1720
1720
|
});
|
|
@@ -1806,7 +1806,7 @@ function To(e, t) {
|
|
|
1806
1806
|
function _r(e, t) {
|
|
1807
1807
|
const n = [];
|
|
1808
1808
|
return t.forEach((a) => {
|
|
1809
|
-
const i = e.find((o) =>
|
|
1809
|
+
const i = e.find((o) => jt(a, o.value)), r = e[a];
|
|
1810
1810
|
(i == null ? void 0 : i.value) != null ? n.push(i.id) : r != null && n.push(r.id);
|
|
1811
1811
|
}), n;
|
|
1812
1812
|
}
|
|
@@ -2050,7 +2050,7 @@ function Pr(e, t) {
|
|
|
2050
2050
|
}, t);
|
|
2051
2051
|
xe(() => {
|
|
2052
2052
|
i.disconnect();
|
|
2053
|
-
}),
|
|
2053
|
+
}), j(n, (r, o) => {
|
|
2054
2054
|
o && (i.unobserve(o), a.value = !1), r && i.observe(r);
|
|
2055
2055
|
}, {
|
|
2056
2056
|
flush: "post"
|
|
@@ -2108,7 +2108,7 @@ const Ro = x({
|
|
|
2108
2108
|
resizeRef: m,
|
|
2109
2109
|
contentRect: p
|
|
2110
2110
|
} = uo(), S = y(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), b = y(() => Number(e.width)), _ = y(() => l.value ? Number(e.size) : p.value ? p.value.width : Math.max(b.value, 32)), E = y(() => a / (1 - b.value / _.value) * 2), O = y(() => b.value / _.value * E.value), L = y(() => $((100 - S.value) / 100 * i));
|
|
2111
|
-
return
|
|
2111
|
+
return je(() => {
|
|
2112
2112
|
g.value = r.value, m.value = r.value;
|
|
2113
2113
|
}), H(() => v(e.tag, {
|
|
2114
2114
|
ref: r,
|
|
@@ -2161,7 +2161,7 @@ const Ro = x({
|
|
|
2161
2161
|
bottom: "top",
|
|
2162
2162
|
left: "right",
|
|
2163
2163
|
right: "left"
|
|
2164
|
-
},
|
|
2164
|
+
}, Dn = x({
|
|
2165
2165
|
location: String
|
|
2166
2166
|
}, "location");
|
|
2167
2167
|
function Mn(e) {
|
|
@@ -2228,13 +2228,13 @@ const No = x({
|
|
|
2228
2228
|
striped: Boolean,
|
|
2229
2229
|
roundedBar: Boolean,
|
|
2230
2230
|
...q(),
|
|
2231
|
-
...
|
|
2231
|
+
...Dn({
|
|
2232
2232
|
location: "top"
|
|
2233
2233
|
}),
|
|
2234
2234
|
...Oe(),
|
|
2235
2235
|
...de(),
|
|
2236
2236
|
...re()
|
|
2237
|
-
}, "VProgressLinear"),
|
|
2237
|
+
}, "VProgressLinear"), jo = N()({
|
|
2238
2238
|
name: "VProgressLinear",
|
|
2239
2239
|
props: No(),
|
|
2240
2240
|
emits: {
|
|
@@ -2352,7 +2352,7 @@ function Or(e) {
|
|
|
2352
2352
|
}))
|
|
2353
2353
|
};
|
|
2354
2354
|
}
|
|
2355
|
-
function
|
|
2355
|
+
function Do(e, t) {
|
|
2356
2356
|
var a;
|
|
2357
2357
|
let {
|
|
2358
2358
|
slots: n
|
|
@@ -2362,7 +2362,7 @@ function jo(e, t) {
|
|
|
2362
2362
|
}, [((a = n.default) == null ? void 0 : a.call(n, {
|
|
2363
2363
|
color: e.color,
|
|
2364
2364
|
isActive: e.active
|
|
2365
|
-
})) || v(
|
|
2365
|
+
})) || v(jo, {
|
|
2366
2366
|
absolute: e.absolute,
|
|
2367
2367
|
active: e.active,
|
|
2368
2368
|
color: e.color,
|
|
@@ -2412,7 +2412,7 @@ function zn(e, t) {
|
|
|
2412
2412
|
navigate: r == null ? void 0 : r.navigate,
|
|
2413
2413
|
isActive: r && y(() => {
|
|
2414
2414
|
var s, l, d;
|
|
2415
|
-
return e.exact ? o.value ? ((d = r.isExactActive) == null ? void 0 : d.value) &&
|
|
2415
|
+
return e.exact ? o.value ? ((d = r.isExactActive) == null ? void 0 : d.value) && jt(r.route.value.query, o.value.query) : (l = r.isExactActive) == null ? void 0 : l.value : (s = r.isActive) == null ? void 0 : s.value;
|
|
2416
2416
|
}),
|
|
2417
2417
|
href: y(() => e.to ? r == null ? void 0 : r.route.value.href : e.href)
|
|
2418
2418
|
};
|
|
@@ -2441,7 +2441,7 @@ function Wo(e, t) {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
}
|
|
2443
2443
|
function Go(e, t) {
|
|
2444
|
-
|
|
2444
|
+
j(() => {
|
|
2445
2445
|
var n;
|
|
2446
2446
|
return (n = e.isActive) == null ? void 0 : n.value;
|
|
2447
2447
|
}, (n) => {
|
|
@@ -2645,10 +2645,10 @@ const Wn = {
|
|
|
2645
2645
|
...q(),
|
|
2646
2646
|
...ke(),
|
|
2647
2647
|
...Pe(),
|
|
2648
|
-
...
|
|
2648
|
+
...De(),
|
|
2649
2649
|
...Po(),
|
|
2650
2650
|
...Ar(),
|
|
2651
|
-
...
|
|
2651
|
+
...Dn(),
|
|
2652
2652
|
...Tr(),
|
|
2653
2653
|
...Oe(),
|
|
2654
2654
|
...Hn(),
|
|
@@ -2864,7 +2864,7 @@ function Nr() {
|
|
|
2864
2864
|
};
|
|
2865
2865
|
return ue(Sn, t), e;
|
|
2866
2866
|
}
|
|
2867
|
-
function
|
|
2867
|
+
function jr() {
|
|
2868
2868
|
return J(Sn, null);
|
|
2869
2869
|
}
|
|
2870
2870
|
const Qo = {
|
|
@@ -2886,7 +2886,7 @@ const Qo = {
|
|
|
2886
2886
|
return a.delete(t), a;
|
|
2887
2887
|
},
|
|
2888
2888
|
select: () => null
|
|
2889
|
-
},
|
|
2889
|
+
}, Dr = {
|
|
2890
2890
|
open: (e) => {
|
|
2891
2891
|
let {
|
|
2892
2892
|
id: t,
|
|
@@ -2905,7 +2905,7 @@ const Qo = {
|
|
|
2905
2905
|
},
|
|
2906
2906
|
select: () => null
|
|
2907
2907
|
}, es = {
|
|
2908
|
-
open:
|
|
2908
|
+
open: Dr.open,
|
|
2909
2909
|
select: (e) => {
|
|
2910
2910
|
let {
|
|
2911
2911
|
id: t,
|
|
@@ -3116,7 +3116,7 @@ const Qo = {
|
|
|
3116
3116
|
return Qo;
|
|
3117
3117
|
case "multiple":
|
|
3118
3118
|
default:
|
|
3119
|
-
return
|
|
3119
|
+
return Dr;
|
|
3120
3120
|
}
|
|
3121
3121
|
}), s = Ce(e, "selected", e.selected, (u) => r.value.in(u, n.value, a.value), (u) => r.value.out(u, n.value, a.value));
|
|
3122
3122
|
xe(() => {
|
|
@@ -3271,7 +3271,7 @@ const Qo = {
|
|
|
3271
3271
|
isOpen: a,
|
|
3272
3272
|
open: i,
|
|
3273
3273
|
id: r
|
|
3274
|
-
} = Hr(M(e, "value"), !0), o = y(() => `v-list-group--id-${String(r.value)}`), s =
|
|
3274
|
+
} = Hr(M(e, "value"), !0), o = y(() => `v-list-group--id-${String(r.value)}`), s = jr(), {
|
|
3275
3275
|
isBooted: l
|
|
3276
3276
|
} = wo();
|
|
3277
3277
|
function d(g) {
|
|
@@ -3362,7 +3362,7 @@ const Qo = {
|
|
|
3362
3362
|
...q(),
|
|
3363
3363
|
...ke(),
|
|
3364
3364
|
...Pe(),
|
|
3365
|
-
...
|
|
3365
|
+
...De(),
|
|
3366
3366
|
...Oe(),
|
|
3367
3367
|
...Hn(),
|
|
3368
3368
|
...de(),
|
|
@@ -3393,14 +3393,14 @@ const Qo = {
|
|
|
3393
3393
|
root: u,
|
|
3394
3394
|
parent: f,
|
|
3395
3395
|
openOnSelect: g
|
|
3396
|
-
} = Hr(o, !1), h =
|
|
3396
|
+
} = Hr(o, !1), h = jr(), m = y(() => {
|
|
3397
3397
|
var k;
|
|
3398
3398
|
return e.active !== !1 && (e.active || ((k = r.isActive) == null ? void 0 : k.value) || l.value);
|
|
3399
3399
|
}), p = y(() => e.link !== !1 && r.isLink.value), S = y(() => !e.disabled && e.link !== !1 && (e.link || r.isClickable.value || e.value != null && !!h)), b = y(() => e.rounded || e.nav), _ = y(() => e.color ?? e.activeColor), E = y(() => ({
|
|
3400
3400
|
color: m.value ? _.value ?? e.baseColor : e.baseColor,
|
|
3401
3401
|
variant: e.variant
|
|
3402
3402
|
}));
|
|
3403
|
-
|
|
3403
|
+
j(() => {
|
|
3404
3404
|
var k;
|
|
3405
3405
|
return (k = r.isActive) == null ? void 0 : k.value;
|
|
3406
3406
|
}, (k) => {
|
|
@@ -3733,7 +3733,7 @@ const Qo = {
|
|
|
3733
3733
|
returnObject: Boolean,
|
|
3734
3734
|
valueComparator: {
|
|
3735
3735
|
type: Function,
|
|
3736
|
-
default:
|
|
3736
|
+
default: jt
|
|
3737
3737
|
}
|
|
3738
3738
|
}, "list-items");
|
|
3739
3739
|
function ys(e) {
|
|
@@ -3786,7 +3786,7 @@ const Ss = x({
|
|
|
3786
3786
|
...q(),
|
|
3787
3787
|
...ke(),
|
|
3788
3788
|
...Pe(),
|
|
3789
|
-
...
|
|
3789
|
+
...De(),
|
|
3790
3790
|
itemType: {
|
|
3791
3791
|
type: String,
|
|
3792
3792
|
default: "type"
|
|
@@ -3832,7 +3832,7 @@ const Ss = x({
|
|
|
3832
3832
|
open: f,
|
|
3833
3833
|
select: g
|
|
3834
3834
|
} = is(e), h = y(() => e.lines ? `v-list--${e.lines}-line` : void 0), m = M(e, "activeColor"), p = M(e, "baseColor"), S = M(e, "color");
|
|
3835
|
-
Nr(),
|
|
3835
|
+
Nr(), Dt({
|
|
3836
3836
|
VListGroup: {
|
|
3837
3837
|
activeColor: m,
|
|
3838
3838
|
baseColor: p,
|
|
@@ -3969,7 +3969,7 @@ function _s(e, t) {
|
|
|
3969
3969
|
const n = F({}), a = F();
|
|
3970
3970
|
ae && zt(() => !!(t.isActive.value && e.locationStrategy), (r) => {
|
|
3971
3971
|
var o, s;
|
|
3972
|
-
|
|
3972
|
+
j(() => e.locationStrategy, r), ce(() => {
|
|
3973
3973
|
window.removeEventListener("resize", i), a.value = void 0;
|
|
3974
3974
|
}), window.addEventListener("resize", i, {
|
|
3975
3975
|
passive: !0
|
|
@@ -4025,7 +4025,7 @@ function As(e, t, n) {
|
|
|
4025
4025
|
const f = new ResizeObserver(() => {
|
|
4026
4026
|
u && g();
|
|
4027
4027
|
});
|
|
4028
|
-
|
|
4028
|
+
j([e.target, e.contentEl], (h, m) => {
|
|
4029
4029
|
let [p, S] = h, [b, _] = m;
|
|
4030
4030
|
b && !Array.isArray(b) && f.unobserve(b), p && !Array.isArray(p) && f.observe(p), _ && f.unobserve(_), S && f.observe(S);
|
|
4031
4031
|
}, {
|
|
@@ -4164,7 +4164,7 @@ function As(e, t, n) {
|
|
|
4164
4164
|
contentBox: m
|
|
4165
4165
|
};
|
|
4166
4166
|
}
|
|
4167
|
-
return
|
|
4167
|
+
return j(() => [i.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => g()), ve(() => {
|
|
4168
4168
|
const h = g();
|
|
4169
4169
|
if (!h)
|
|
4170
4170
|
return;
|
|
@@ -4215,7 +4215,7 @@ function ks(e, t) {
|
|
|
4215
4215
|
if (!ae)
|
|
4216
4216
|
return;
|
|
4217
4217
|
let n;
|
|
4218
|
-
|
|
4218
|
+
je(async () => {
|
|
4219
4219
|
n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n = kn(), await ve(), n.active && n.run(() => {
|
|
4220
4220
|
var a;
|
|
4221
4221
|
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (a = _t[e.scrollStrategy]) == null || a.call(_t, t, e, n);
|
|
@@ -4374,9 +4374,9 @@ function Rs(e, t) {
|
|
|
4374
4374
|
o = !1, f();
|
|
4375
4375
|
}), w;
|
|
4376
4376
|
});
|
|
4377
|
-
|
|
4377
|
+
j(a, (w) => {
|
|
4378
4378
|
w && (e.openOnHover && !o && (!d.value || !s) || d.value && !s && (!e.openOnHover || !o)) && (n.value = !1);
|
|
4379
|
-
}),
|
|
4379
|
+
}), j(n, (w) => {
|
|
4380
4380
|
w || setTimeout(() => {
|
|
4381
4381
|
g.value = void 0;
|
|
4382
4382
|
});
|
|
@@ -4384,14 +4384,14 @@ function Rs(e, t) {
|
|
|
4384
4384
|
flush: "post"
|
|
4385
4385
|
});
|
|
4386
4386
|
const b = F();
|
|
4387
|
-
|
|
4387
|
+
je(() => {
|
|
4388
4388
|
b.value && ve(() => {
|
|
4389
4389
|
r.value = xt(b.value);
|
|
4390
4390
|
});
|
|
4391
4391
|
});
|
|
4392
4392
|
const _ = F(), E = y(() => e.target === "cursor" && g.value ? g.value : _.value ? xt(_.value) : Yr(e.target, i) || r.value), O = y(() => Array.isArray(E.value) ? void 0 : E.value);
|
|
4393
4393
|
let L;
|
|
4394
|
-
return
|
|
4394
|
+
return j(() => !!e.activator, (w) => {
|
|
4395
4395
|
w && ae ? (L = kn(), L.run(() => {
|
|
4396
4396
|
Fs(e, i, {
|
|
4397
4397
|
activatorEl: r,
|
|
@@ -4419,7 +4419,7 @@ function Fs(e, t, n) {
|
|
|
4419
4419
|
activatorEl: a,
|
|
4420
4420
|
activatorEvents: i
|
|
4421
4421
|
} = n;
|
|
4422
|
-
|
|
4422
|
+
j(() => e.activator, (l, d) => {
|
|
4423
4423
|
if (d && l !== d) {
|
|
4424
4424
|
const c = s(d);
|
|
4425
4425
|
c && o(c);
|
|
@@ -4427,18 +4427,18 @@ function Fs(e, t, n) {
|
|
|
4427
4427
|
l && ve(() => r());
|
|
4428
4428
|
}, {
|
|
4429
4429
|
immediate: !0
|
|
4430
|
-
}),
|
|
4430
|
+
}), j(() => e.activatorProps, () => {
|
|
4431
4431
|
r();
|
|
4432
4432
|
}), ce(() => {
|
|
4433
4433
|
o();
|
|
4434
4434
|
});
|
|
4435
4435
|
function r() {
|
|
4436
4436
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
4437
|
-
l &&
|
|
4437
|
+
l && ji(l, G(i.value, d));
|
|
4438
4438
|
}
|
|
4439
4439
|
function o() {
|
|
4440
4440
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), d = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
4441
|
-
l &&
|
|
4441
|
+
l && Di(l, G(i.value, d));
|
|
4442
4442
|
}
|
|
4443
4443
|
function s() {
|
|
4444
4444
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
|
|
@@ -4461,7 +4461,7 @@ function Yr(e, t) {
|
|
|
4461
4461
|
return n;
|
|
4462
4462
|
}
|
|
4463
4463
|
const Ns = Symbol.for("vuetify:display");
|
|
4464
|
-
function
|
|
4464
|
+
function js() {
|
|
4465
4465
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : he();
|
|
4466
4466
|
const n = J(Ns);
|
|
4467
4467
|
if (!n)
|
|
@@ -4480,12 +4480,12 @@ function Ds() {
|
|
|
4480
4480
|
mobile: a
|
|
4481
4481
|
};
|
|
4482
4482
|
}
|
|
4483
|
-
function
|
|
4483
|
+
function Ds() {
|
|
4484
4484
|
if (!ae)
|
|
4485
4485
|
return z(!1);
|
|
4486
4486
|
const {
|
|
4487
4487
|
ssr: e
|
|
4488
|
-
} =
|
|
4488
|
+
} = js();
|
|
4489
4489
|
if (e) {
|
|
4490
4490
|
const t = z(!1);
|
|
4491
4491
|
return In(() => {
|
|
@@ -4499,7 +4499,7 @@ const Ms = x({
|
|
|
4499
4499
|
}, "lazy");
|
|
4500
4500
|
function zs(e, t) {
|
|
4501
4501
|
const n = z(!1), a = y(() => n.value || e.eager || t.value);
|
|
4502
|
-
|
|
4502
|
+
j(t, () => n.value = !0);
|
|
4503
4503
|
function i() {
|
|
4504
4504
|
e.eager || (n.value = !1);
|
|
4505
4505
|
}
|
|
@@ -4536,7 +4536,7 @@ function Hs(e, t, n) {
|
|
|
4536
4536
|
});
|
|
4537
4537
|
});
|
|
4538
4538
|
const l = z(!0);
|
|
4539
|
-
i &&
|
|
4539
|
+
i && je(() => {
|
|
4540
4540
|
var u;
|
|
4541
4541
|
const c = ((u = Ke.at(-1)) == null ? void 0 : u[0]) === a.uid;
|
|
4542
4542
|
setTimeout(() => l.value = c);
|
|
@@ -4723,10 +4723,10 @@ const qn = x({
|
|
|
4723
4723
|
isTop: m
|
|
4724
4724
|
}), {
|
|
4725
4725
|
dimensionStyles: C
|
|
4726
|
-
} = Ae(e), V =
|
|
4726
|
+
} = Ae(e), V = Ds(), {
|
|
4727
4727
|
scopeId: I
|
|
4728
4728
|
} = Un();
|
|
4729
|
-
|
|
4729
|
+
j(() => e.disabled, (W) => {
|
|
4730
4730
|
W && (o.value = !1);
|
|
4731
4731
|
});
|
|
4732
4732
|
const T = F(), P = F(), {
|
|
@@ -4751,7 +4751,7 @@ const qn = x({
|
|
|
4751
4751
|
function fe() {
|
|
4752
4752
|
return o.value && h.value;
|
|
4753
4753
|
}
|
|
4754
|
-
ae &&
|
|
4754
|
+
ae && j(o, (W) => {
|
|
4755
4755
|
W ? window.addEventListener("keydown", k) : window.removeEventListener("keydown", k);
|
|
4756
4756
|
}, {
|
|
4757
4757
|
immediate: !0
|
|
@@ -4767,7 +4767,7 @@ const qn = x({
|
|
|
4767
4767
|
});
|
|
4768
4768
|
});
|
|
4769
4769
|
const ye = F();
|
|
4770
|
-
|
|
4770
|
+
j(() => o.value && (e.absolute || e.contained) && s.value == null, (W) => {
|
|
4771
4771
|
if (W) {
|
|
4772
4772
|
const ne = io(T.value);
|
|
4773
4773
|
ne && ne !== document.scrollingElement && (ye.value = ne.scrollTop);
|
|
@@ -4969,7 +4969,7 @@ const Ys = x({
|
|
|
4969
4969
|
![document, s.value.contentEl].includes(S) && // It isn't inside the menu body
|
|
4970
4970
|
!s.value.contentEl.contains(S) && ((E = At(s.value.contentEl)[0]) == null || E.focus());
|
|
4971
4971
|
}
|
|
4972
|
-
|
|
4972
|
+
j(a, (m) => {
|
|
4973
4973
|
m ? (l == null || l.register(), document.addEventListener("focusin", c, {
|
|
4974
4974
|
once: !0
|
|
4975
4975
|
})) : (l == null || l.unregister(), document.removeEventListener("focusin", c));
|
|
@@ -5069,11 +5069,11 @@ const Ys = x({
|
|
|
5069
5069
|
d === h ? m.focus() : h.focus();
|
|
5070
5070
|
}
|
|
5071
5071
|
}
|
|
5072
|
-
ae &&
|
|
5072
|
+
ae && j(() => a.value && e.retainFocus, (l) => {
|
|
5073
5073
|
l ? document.addEventListener("focusin", o) : document.removeEventListener("focusin", o);
|
|
5074
5074
|
}, {
|
|
5075
5075
|
immediate: !0
|
|
5076
|
-
}),
|
|
5076
|
+
}), j(a, async (l) => {
|
|
5077
5077
|
var d, c;
|
|
5078
5078
|
await ve(), l ? (d = r.value.contentEl) == null || d.focus({
|
|
5079
5079
|
preventScroll: !0
|
|
@@ -5124,7 +5124,7 @@ const Ys = x({
|
|
|
5124
5124
|
let {
|
|
5125
5125
|
slots: n
|
|
5126
5126
|
} = t;
|
|
5127
|
-
return
|
|
5127
|
+
return Dt({
|
|
5128
5128
|
VBtn: {
|
|
5129
5129
|
slim: !0,
|
|
5130
5130
|
variant: "text"
|
|
@@ -5238,9 +5238,9 @@ const Ys = x({
|
|
|
5238
5238
|
...q(),
|
|
5239
5239
|
...ke(),
|
|
5240
5240
|
...Pe(),
|
|
5241
|
-
...
|
|
5241
|
+
...De(),
|
|
5242
5242
|
...Ar(),
|
|
5243
|
-
...
|
|
5243
|
+
...Dn(),
|
|
5244
5244
|
...Tr(),
|
|
5245
5245
|
...Oe(),
|
|
5246
5246
|
...Hn(),
|
|
@@ -5315,7 +5315,7 @@ const Ys = x({
|
|
|
5315
5315
|
key: "image-img",
|
|
5316
5316
|
cover: !0,
|
|
5317
5317
|
src: e.image
|
|
5318
|
-
}, null)]), v(
|
|
5318
|
+
}, null)]), v(Do, {
|
|
5319
5319
|
name: "v-card",
|
|
5320
5320
|
active: !!e.loading,
|
|
5321
5321
|
color: typeof e.loading == "boolean" ? void 0 : e.loading
|
|
@@ -5424,7 +5424,7 @@ const sl = x({
|
|
|
5424
5424
|
default: "ossein"
|
|
5425
5425
|
},
|
|
5426
5426
|
...Pe(),
|
|
5427
|
-
...
|
|
5427
|
+
...De(),
|
|
5428
5428
|
...re()
|
|
5429
5429
|
}, "VSkeletonLoader"), ll = N()({
|
|
5430
5430
|
name: "VSkeletonLoader",
|
|
@@ -5507,12 +5507,12 @@ function Kn(e) {
|
|
|
5507
5507
|
}
|
|
5508
5508
|
var Al = We["__core-js_shared__"];
|
|
5509
5509
|
const cn = Al;
|
|
5510
|
-
var
|
|
5510
|
+
var ja = function() {
|
|
5511
5511
|
var e = /[^.]+$/.exec(cn && cn.keys && cn.keys.IE_PROTO || "");
|
|
5512
5512
|
return e ? "Symbol(src)_1." + e : "";
|
|
5513
5513
|
}();
|
|
5514
5514
|
function Ol(e) {
|
|
5515
|
-
return !!
|
|
5515
|
+
return !!ja && ja in e;
|
|
5516
5516
|
}
|
|
5517
5517
|
var Tl = Function.prototype, kl = Tl.toString;
|
|
5518
5518
|
function El(e) {
|
|
@@ -5537,27 +5537,27 @@ function Nl(e) {
|
|
|
5537
5537
|
var t = Kn(e) ? Fl : $l;
|
|
5538
5538
|
return t.test(El(e));
|
|
5539
5539
|
}
|
|
5540
|
-
function
|
|
5540
|
+
function jl(e, t) {
|
|
5541
5541
|
return e == null ? void 0 : e[t];
|
|
5542
5542
|
}
|
|
5543
5543
|
function Yn(e, t) {
|
|
5544
|
-
var n =
|
|
5544
|
+
var n = jl(e, t);
|
|
5545
5545
|
return Nl(n) ? n : void 0;
|
|
5546
5546
|
}
|
|
5547
|
-
var
|
|
5547
|
+
var Da = Object.create, Dl = function() {
|
|
5548
5548
|
function e() {
|
|
5549
5549
|
}
|
|
5550
5550
|
return function(t) {
|
|
5551
5551
|
if (!Ee(t))
|
|
5552
5552
|
return {};
|
|
5553
|
-
if (
|
|
5554
|
-
return
|
|
5553
|
+
if (Da)
|
|
5554
|
+
return Da(t);
|
|
5555
5555
|
e.prototype = t;
|
|
5556
5556
|
var n = new e();
|
|
5557
5557
|
return e.prototype = void 0, n;
|
|
5558
5558
|
};
|
|
5559
5559
|
}();
|
|
5560
|
-
const Ml =
|
|
5560
|
+
const Ml = Dl;
|
|
5561
5561
|
function zl(e, t, n) {
|
|
5562
5562
|
switch (n.length) {
|
|
5563
5563
|
case 0:
|
|
@@ -5706,11 +5706,11 @@ function yu() {
|
|
|
5706
5706
|
}
|
|
5707
5707
|
var li = typeof exports == "object" && exports && !exports.nodeType && exports, Ha = li && typeof module == "object" && module && !module.nodeType && module, bu = Ha && Ha.exports === li, Wa = bu ? We.Buffer : void 0, pu = Wa ? Wa.isBuffer : void 0, Su = pu || yu;
|
|
5708
5708
|
const ui = Su;
|
|
5709
|
-
var wu = "[object Arguments]", Cu = "[object Array]", _u = "[object Boolean]", xu = "[object Date]", Pu = "[object Error]", Au = "[object Function]", Ou = "[object Map]", Tu = "[object Number]", ku = "[object Object]", Eu = "[object RegExp]", Iu = "[object Set]", $u = "[object String]", Vu = "[object WeakMap]", Lu = "[object ArrayBuffer]", Bu = "[object DataView]", Ru = "[object Float32Array]", Fu = "[object Float64Array]", Nu = "[object Int8Array]",
|
|
5710
|
-
|
|
5711
|
-
|
|
5709
|
+
var wu = "[object Arguments]", Cu = "[object Array]", _u = "[object Boolean]", xu = "[object Date]", Pu = "[object Error]", Au = "[object Function]", Ou = "[object Map]", Tu = "[object Number]", ku = "[object Object]", Eu = "[object RegExp]", Iu = "[object Set]", $u = "[object String]", Vu = "[object WeakMap]", Lu = "[object ArrayBuffer]", Bu = "[object DataView]", Ru = "[object Float32Array]", Fu = "[object Float64Array]", Nu = "[object Int8Array]", ju = "[object Int16Array]", Du = "[object Int32Array]", Mu = "[object Uint8Array]", zu = "[object Uint8ClampedArray]", Hu = "[object Uint16Array]", Wu = "[object Uint32Array]", D = {};
|
|
5710
|
+
D[Ru] = D[Fu] = D[Nu] = D[ju] = D[Du] = D[Mu] = D[zu] = D[Hu] = D[Wu] = !0;
|
|
5711
|
+
D[wu] = D[Cu] = D[Lu] = D[_u] = D[Bu] = D[xu] = D[Pu] = D[Au] = D[Ou] = D[Tu] = D[ku] = D[Eu] = D[Iu] = D[$u] = D[Vu] = !1;
|
|
5712
5712
|
function Gu(e) {
|
|
5713
|
-
return ht(e) && ii(e.length) && !!
|
|
5713
|
+
return ht(e) && ii(e.length) && !!D[Yt(e)];
|
|
5714
5714
|
}
|
|
5715
5715
|
function Uu(e) {
|
|
5716
5716
|
return function(t) {
|
|
@@ -5904,10 +5904,10 @@ function Nc(e) {
|
|
|
5904
5904
|
var t = this.__data__, n = t.delete(e);
|
|
5905
5905
|
return this.size = t.size, n;
|
|
5906
5906
|
}
|
|
5907
|
-
function
|
|
5907
|
+
function jc(e) {
|
|
5908
5908
|
return this.__data__.get(e);
|
|
5909
5909
|
}
|
|
5910
|
-
function
|
|
5910
|
+
function Dc(e) {
|
|
5911
5911
|
return this.__data__.has(e);
|
|
5912
5912
|
}
|
|
5913
5913
|
var Mc = 200;
|
|
@@ -5927,8 +5927,8 @@ function Ue(e) {
|
|
|
5927
5927
|
}
|
|
5928
5928
|
Ue.prototype.clear = Fc;
|
|
5929
5929
|
Ue.prototype.delete = Nc;
|
|
5930
|
-
Ue.prototype.get =
|
|
5931
|
-
Ue.prototype.has =
|
|
5930
|
+
Ue.prototype.get = jc;
|
|
5931
|
+
Ue.prototype.has = Dc;
|
|
5932
5932
|
Ue.prototype.set = zc;
|
|
5933
5933
|
var hi = typeof exports == "object" && exports && !exports.nodeType && exports, qa = hi && typeof module == "object" && module && !module.nodeType && module, Hc = qa && qa.exports === hi, Ka = Hc ? We.Buffer : void 0, Ya = Ka ? Ka.allocUnsafe : void 0;
|
|
5934
5934
|
function Wc(e, t) {
|
|
@@ -6048,13 +6048,13 @@ const fn = td, vn = typeof window < "u", Ja = {
|
|
|
6048
6048
|
save: n,
|
|
6049
6049
|
reset: a
|
|
6050
6050
|
};
|
|
6051
|
-
}), Ve = "
|
|
6051
|
+
}), Ve = "https://api.vuetifyjs.com", Qt = $n("auth", () => {
|
|
6052
6052
|
const e = F(null), t = bi(), n = z(!1), a = y(() => {
|
|
6053
6053
|
var c, u;
|
|
6054
6054
|
return ((c = e.value) == null ? void 0 : c.isAdmin) || ((u = e.value) == null ? void 0 : u.sponsorships.some((f) => f.isActive));
|
|
6055
6055
|
});
|
|
6056
6056
|
let i = !1;
|
|
6057
|
-
|
|
6057
|
+
j(e, (c) => {
|
|
6058
6058
|
if (!(c != null && c.settings))
|
|
6059
6059
|
return;
|
|
6060
6060
|
const u = localStorage.getItem("vuetify@user") || "{}";
|
|
@@ -6298,7 +6298,7 @@ const fn = td, vn = typeof window < "u", Ja = {
|
|
|
6298
6298
|
}, 8, ["loading"]));
|
|
6299
6299
|
}
|
|
6300
6300
|
});
|
|
6301
|
-
const pt = "
|
|
6301
|
+
const pt = "https://api.vuetifyjs.com", cd = $n("one", () => {
|
|
6302
6302
|
const t = new URLSearchParams(window.location.search).get("session_id"), n = Qt(), a = z(!1), i = y(() => {
|
|
6303
6303
|
var c;
|
|
6304
6304
|
return (c = n.user) == null ? void 0 : c.sponsorships.find((u) => u.platform === "stripe" && u.tierName.startsWith("sub_"));
|
|
@@ -6308,15 +6308,19 @@ const pt = "http://localhost:8096", cd = $n("one", () => {
|
|
|
6308
6308
|
});
|
|
6309
6309
|
tr(async () => {
|
|
6310
6310
|
t && await o();
|
|
6311
|
-
}),
|
|
6311
|
+
}), j(r, (c) => {
|
|
6312
6312
|
c && d();
|
|
6313
6313
|
});
|
|
6314
6314
|
async function o() {
|
|
6315
6315
|
try {
|
|
6316
6316
|
a.value = !0;
|
|
6317
|
-
const c = await fetch(`${pt}/one/activate
|
|
6318
|
-
method: "
|
|
6319
|
-
credentials: "include"
|
|
6317
|
+
const c = await fetch(`${pt}/one/activate`, {
|
|
6318
|
+
method: "POST",
|
|
6319
|
+
credentials: "include",
|
|
6320
|
+
headers: {
|
|
6321
|
+
"Content-Type": "application/json"
|
|
6322
|
+
},
|
|
6323
|
+
body: JSON.stringify({ sessionId: t })
|
|
6320
6324
|
}).then((u) => u.json());
|
|
6321
6325
|
n.user = c.user;
|
|
6322
6326
|
} catch {
|
|
@@ -6348,7 +6352,7 @@ const pt = "http://localhost:8096", cd = $n("one", () => {
|
|
|
6348
6352
|
try {
|
|
6349
6353
|
a.value = !0;
|
|
6350
6354
|
const u = await fetch(`${pt}/one/verify?subscriptionId=${(c = i.value) == null ? void 0 : c.tierName}`, {
|
|
6351
|
-
method: "
|
|
6355
|
+
method: "POST",
|
|
6352
6356
|
credentials: "include"
|
|
6353
6357
|
}).then((f) => f.json());
|
|
6354
6358
|
n.user = u.user;
|