@vuetify/one 1.0.15 → 1.1.0

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +12 -6
  2. package/dist/index.js +1792 -1339
  3. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,75 +1,76 @@
1
- import { reactive as et, toRefs as tt, ref as te, shallowRef as N, computed as L, watch as z, defineComponent as k, openBlock as d, createBlock as m, unref as e, withCtx as n, renderSlot as H, normalizeStyle as Re, createSlots as G, createCommentVNode as x, createElementVNode as v, toDisplayString as D, createVNode as o, withModifiers as He, mergeModels as ot, useModel as ae, createElementBlock as S, Fragment as F, createTextVNode as O, onBeforeMount as st, nextTick as _e, renderList as ne, mergeProps as J, resolveComponent as Me, withDirectives as Fe, vShow as Pe, onMounted as nt, normalizeClass as it, pushScopeId as at, popScopeId as rt } from "vue";
2
- import { defineStore as oe } from "pinia";
3
- import { merge as Ce } from "lodash-es";
4
- import { VBadge as Ee } from "vuetify/lib/components/VBadge/index.mjs";
5
- import { VBtn as Z } from "vuetify/lib/components/VBtn/index.mjs";
6
- import { VProgressCircular as lt } from "vuetify/lib/components/VProgressCircular/index.mjs";
7
- import { mdiDiscord as Ne, mdiGithub as Oe, mdiSync as ct, mdiSyncOff as ut, mdiLogoutVariant as dt, mdiCheck as se, mdiHome as pt, mdiTextBox as mt, mdiSpaceInvaders as We, mdiWhiteBalanceSunny as ft, mdiWeatherNight as vt, mdiDesktopTowerMonitor as _t, mdiImageFilterHdr as ht, mdiRocketLaunchOutline as gt, mdiContrastCircle as bt, mdiCog as yt, mdiCogOutline as Vt, mdiFileDocument as kt, mdiCreditCardSettingsOutline as $t, mdiRocketOutline as xt, mdiCheckCircleOutline as le, mdiCreditCard as wt, mdiReload as St, mdiPlaylistCheck as Ct, mdiCreditCardOutline as Lt, mdiHandHeart as It, mdiInformationOutline as ze, mdiMedal as Le, mdiChartLine as At, mdiHandHeartOutline as Dt, mdiEmailOpenOutline as Ut, mdiEmailVariant as Ft, mdiOpenInNew as Nt, mdiBell as Ot, mdiInboxOutline as Bt, mdiInboxFullOutline as jt, mdiBellOutline as zt, mdiViewDashboardOutline as Tt, mdiTrashCan as Rt, mdiBug as Ht, mdiCrown as Mt, mdiArrowULeftBottom as Pt, mdiLogin as Et, mdiShieldStarOutline as Wt, mdiReddit as qt } from "@mdi/js";
8
- import { VListItem as he, VList as ie, VListItemTitle as Gt } from "vuetify/lib/components/VList/index.mjs";
9
- import { VAvatar as fe } from "vuetify/lib/components/VAvatar/index.mjs";
10
- import { VCard as P, VCardText as X } from "vuetify/lib/components/VCard/index.mjs";
11
- import { VSheet as qe } from "vuetify/lib/components/VSheet/index.mjs";
12
- import { VSwitch as Ge } from "vuetify/lib/components/VSwitch/index.mjs";
13
- import { VFadeTransition as Be, VExpandTransition as ue, VExpandXTransition as Yt } from "vuetify/lib/components/transitions/index.mjs";
14
- import { useDisplay as ge, useTheme as Qt, useDate as be } from "vuetify";
15
- import { VDialog as Jt } from "vuetify/lib/components/VDialog/index.mjs";
16
- import { VDivider as E } from "vuetify/lib/components/VDivider/index.mjs";
17
- import { VIcon as U } from "vuetify/lib/components/VIcon/index.mjs";
18
- import { VLabel as De } from "vuetify/lib/components/VLabel/index.mjs";
1
+ import { reactive as ut, watch as N, toRefs as dt, ref as E, shallowRef as D, computed as w, defineComponent as k, openBlock as d, createBlock as v, unref as t, withCtx as a, renderSlot as P, normalizeStyle as Ze, createSlots as G, createCommentVNode as $, createElementVNode as h, toDisplayString as C, createVNode as o, withModifiers as Te, mergeModels as pt, useModel as le, createElementBlock as S, Fragment as U, createTextVNode as B, onBeforeMount as mt, nextTick as me, renderList as oe, mergeProps as H, resolveComponent as Me, withDirectives as xe, vShow as Re, onMounted as ft, normalizeClass as vt, pushScopeId as _t, popScopeId as ht } from "vue";
2
+ import { defineStore as J } from "pinia";
3
+ import { merge as Oe } from "lodash-es";
4
+ import { VBadge as Pe } from "vuetify/lib/components/VBadge/index.mjs";
5
+ import { VBtn as q } from "vuetify/lib/components/VBtn/index.mjs";
6
+ import { VProgressCircular as gt } from "vuetify/lib/components/VProgressCircular/index.mjs";
7
+ import { mdiDiscord as He, mdiGithub as Ee, mdiSync as bt, mdiSyncOff as yt, mdiLogoutVariant as Vt, mdiCheck as re, mdiHome as kt, mdiTextBox as xt, mdiSpaceInvaders as Qe, mdiWhiteBalanceSunny as $t, mdiWeatherNight as wt, mdiDesktopTowerMonitor as St, mdiImageFilterHdr as Ct, mdiRocketLaunchOutline as Lt, mdiContrastCircle as It, mdiCog as At, mdiCogOutline as Dt, mdiFileDocument as Ut, mdiCreditCardSettingsOutline as Bt, mdiRocketOutline as Nt, mdiCheckCircleOutline as de, mdiCreditCard as Ot, mdiReload as Ft, mdiPlaylistCheck as zt, mdiCreditCardOutline as jt, mdiMedal as We, mdiOpenInNew as fe, mdiHandHeart as Tt, mdiChartLine as Mt, mdiHandHeartOutline as Rt, mdiEmailOpenOutline as Je, mdiEmailVariant as Xe, mdiBell as Pt, mdiInboxOutline as Ht, mdiInboxFullOutline as Et, mdiBillboard as Wt, mdiBellOutline as Gt, mdiViewDashboardOutline as qt, mdiSpider as Yt, mdiCrown as Zt, mdiArrowULeftBottom as Qt, mdiLogin as Jt, mdiShieldStarOutline as Xt, mdiReddit as Kt } from "@mdi/js";
8
+ import { VListItem as ve, VList as te, VListItemTitle as Ke, VListItemSubtitle as eo } from "vuetify/lib/components/VList/index.mjs";
9
+ import { VAvatar as ne } from "vuetify/lib/components/VAvatar/index.mjs";
10
+ import { VCard as R, VCardText as ee, VCardTitle as to, VCardSubtitle as oo } from "vuetify/lib/components/VCard/index.mjs";
11
+ import { VSheet as Ge } from "vuetify/lib/components/VSheet/index.mjs";
12
+ import { VSwitch as et } from "vuetify/lib/components/VSwitch/index.mjs";
13
+ import { VFadeTransition as $e, VExpandTransition as _e, VExpandXTransition as no } from "vuetify/lib/components/transitions/index.mjs";
14
+ import { useDisplay as se, useTheme as so, useDate as we } from "vuetify";
15
+ import { VDialog as tt } from "vuetify/lib/components/VDialog/index.mjs";
16
+ import { VDivider as W } from "vuetify/lib/components/VDivider/index.mjs";
17
+ import { VIcon as A } from "vuetify/lib/components/VIcon/index.mjs";
18
+ import { VLabel as ze } from "vuetify/lib/components/VLabel/index.mjs";
19
19
  import { VChip as Y } from "vuetify/lib/components/VChip/index.mjs";
20
- import { VChipGroup as Xt } from "vuetify/lib/components/VChipGroup/index.mjs";
21
- import { VSelect as Zt } from "vuetify/lib/components/VSelect/index.mjs";
22
- import { useRoute as Kt } from "vue-router";
23
- import { VRow as ye, VCol as ce } from "vuetify/lib/components/VGrid/index.mjs";
24
- import { VHover as Ye } from "vuetify/lib/components/VHover/index.mjs";
25
- import { VImg as je } from "vuetify/lib/components/VImg/index.mjs";
26
- import { VItemGroup as Qe, VItem as Ue } from "vuetify/lib/components/VItemGroup/index.mjs";
27
- import { VLayout as Ve } from "vuetify/lib/components/VLayout/index.mjs";
28
- import { VMain as ke } from "vuetify/lib/components/VMain/index.mjs";
29
- import { VDataTableVirtual as eo } from "vuetify/lib/components/VDataTable/index.mjs";
30
- import { VSkeletonLoader as Te } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
31
- import { VWindow as Je, VWindowItem as ve } from "vuetify/lib/components/VWindow/index.mjs";
32
- import { VTimeline as to, VTimelineItem as Ie } from "vuetify/lib/components/VTimeline/index.mjs";
33
- import { VResponsive as oo } from "vuetify/lib/components/VResponsive/index.mjs";
34
- import { VTooltip as re } from "vuetify/lib/components/VTooltip/index.mjs";
35
- import { VNavigationDrawer as so } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
36
- import { Ripple as no } from "vuetify/lib/directives/index.mjs";
37
- import { VColorPicker as io } from "vuetify/lib/components/VColorPicker/index.mjs";
38
- import { VMenu as ao } from "vuetify/lib/components/VMenu/index.mjs";
39
- import { VFooter as ro } from "vuetify/lib/components/VFooter/index.mjs";
40
- const $e = oe("http", {
20
+ import { VChipGroup as ao } from "vuetify/lib/components/VChipGroup/index.mjs";
21
+ import { VSelect as io } from "vuetify/lib/components/VSelect/index.mjs";
22
+ import { useRoute as lo, useRouter as ot } from "vue-router";
23
+ import { VRow as Se, VCol as pe } from "vuetify/lib/components/VGrid/index.mjs";
24
+ import { VHover as Ce } from "vuetify/lib/components/VHover/index.mjs";
25
+ import { VImg as Le } from "vuetify/lib/components/VImg/index.mjs";
26
+ import { VItemGroup as nt, VItem as je } from "vuetify/lib/components/VItemGroup/index.mjs";
27
+ import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
28
+ import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
29
+ import { VDataTableVirtual as ro } from "vuetify/lib/components/VDataTable/index.mjs";
30
+ import { VSkeletonLoader as Ye } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
31
+ import { VWindow as st, VWindowItem as ue } from "vuetify/lib/components/VWindow/index.mjs";
32
+ import { VTimelineItem as qe, VTimeline as co } from "vuetify/lib/components/VTimeline/index.mjs";
33
+ import { VTooltip as Q } from "vuetify/lib/components/VTooltip/index.mjs";
34
+ import { VResponsive as uo } from "vuetify/lib/components/VResponsive/index.mjs";
35
+ import { VNavigationDrawer as po } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
36
+ import { Ripple as mo } from "vuetify/lib/directives/index.mjs";
37
+ import { VColorPicker as fo } from "vuetify/lib/components/VColorPicker/index.mjs";
38
+ import { VMenu as vo } from "vuetify/components";
39
+ import { VAppBar as _o } from "vuetify/lib/components/VAppBar/index.mjs";
40
+ import { VFooter as ho } from "vuetify/lib/components/VFooter/index.mjs";
41
+ const he = J("http", {
41
42
  state: () => ({
42
43
  url: ""
43
44
  }),
44
45
  actions: {
45
- async fetch(u, t = {}) {
46
- const i = await fetch(`${this.url}${u}`, {
46
+ async fetch(p, e = {}) {
47
+ const i = await fetch(`${this.url}${p}`, {
47
48
  credentials: "include",
48
- ...t
49
+ ...e
49
50
  });
50
51
  return i.status === 204 ? i : i.json();
51
52
  },
52
- async post(u, t, i = {}) {
53
- return this.fetch(u, {
53
+ async post(p, e, i = {}) {
54
+ return this.fetch(p, {
54
55
  method: "POST",
55
56
  headers: {
56
57
  "Content-Type": "application/json"
57
58
  },
58
- body: JSON.stringify(t),
59
+ body: JSON.stringify(e),
59
60
  ...i
60
61
  });
61
62
  },
62
- async get(u, t = {}) {
63
- return this.fetch(u, t);
63
+ async get(p, e = {}) {
64
+ return this.fetch(p, e);
64
65
  },
65
- async delete(u, t = {}) {
66
- return this.fetch(u, {
66
+ async delete(p, e = {}) {
67
+ return this.fetch(p, {
67
68
  method: "DELETE",
68
- ...t
69
+ ...e
69
70
  });
70
71
  }
71
72
  }
72
- }), Ae = typeof window < "u", me = {
73
+ }), Fe = typeof window < "u", ke = {
73
74
  v: 5,
74
75
  api: "link-only",
75
76
  avatar: "",
@@ -107,325 +108,328 @@ const $e = oe("http", {
107
108
  jobs: null
108
109
  }
109
110
  }
110
- }, T = oe("user", () => {
111
- const u = et(Ce({}, me));
112
- function t() {
113
- if (!Ae)
111
+ }, O = J("user", () => {
112
+ const p = ut(Oe({}, ke));
113
+ N(p, i);
114
+ function e() {
115
+ if (!Fe)
114
116
  return;
115
- const l = localStorage.getItem("vuetify@user"), a = l ? JSON.parse(l) : {};
116
- let r = a.v === u.v;
117
- a.v || (a.pwaRefresh = !0, typeof a.api == "boolean" && (a.api = a.api ? "inline" : "link-only"), typeof a.rtl == "boolean" && (a.direction = a.rtl ? "rtl" : "ltr", delete a.rtl), typeof a.theme == "object" && (a.mixedTheme = a.theme.mixed, a.theme = a.theme.system ? "system" : a.theme.dark ? "dark" : "light"), Array.isArray(a.notifications) && (a.notifications = { read: a.notifications }), typeof a.last == "object" && (a.notifications.last = a.last, delete a.last)), a.v === 1 && (Array.isArray(a.composition) && (a.composition = "composition"), Array.isArray(a.notifications.last.banner) || (a.notifications = a.notifications || {}, a.notifications.last = a.notifications.last || {}, a.notifications.last.banner = [])), a.v === 2 && (a.syncSettings = !0, a.disableAds = !1, a.v = 3), a.v === 3 && (a.quickbar = !1), a.v === 4 && (a.suits = me.suits, a.notifications.banners = me.notifications.banners, r = !0), a.v = u.v, Object.assign(u, Ce(u, a)), r && i();
117
+ const l = localStorage.getItem("vuetify@user"), s = l ? JSON.parse(l) : {};
118
+ let r = s.v === p.v;
119
+ s.v || (s.pwaRefresh = !0, typeof s.api == "boolean" && (s.api = s.api ? "inline" : "link-only"), typeof s.rtl == "boolean" && (s.direction = s.rtl ? "rtl" : "ltr", delete s.rtl), typeof s.theme == "object" && (s.mixedTheme = s.theme.mixed, s.theme = s.theme.system ? "system" : s.theme.dark ? "dark" : "light"), Array.isArray(s.notifications) && (s.notifications = { read: s.notifications }), typeof s.last == "object" && (s.notifications.last = s.last, delete s.last)), s.v === 1 && (Array.isArray(s.composition) && (s.composition = "composition"), Array.isArray(s.notifications.last.banner) || (s.notifications = s.notifications || {}, s.notifications.last = s.notifications.last || {}, s.notifications.last.banner = [])), s.v === 2 && (s.syncSettings = !0, s.disableAds = !1, s.v = 3), s.v === 3 && (s.quickbar = !1), s.v === 4 && (s.suits = ke.suits, s.notifications.banners = ke.notifications.banners, r = !0), s.v = p.v, Object.assign(p, Oe(p, s)), r && i();
118
120
  }
119
121
  function i() {
120
- Ae && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
122
+ Fe && localStorage.setItem("vuetify@user", JSON.stringify(p, null, 2));
121
123
  }
122
- function s() {
123
- Ae && (Object.assign(u, Ce({}, me)), i());
124
+ function n() {
125
+ Fe && (Object.assign(p, Oe({}, ke)), i());
124
126
  }
125
- return t(), {
126
- ...tt(u),
127
- load: t,
127
+ return e(), {
128
+ ...dt(p),
129
+ load: e,
128
130
  save: i,
129
- reset: s
131
+ reset: n
130
132
  };
131
- }), j = oe("auth", () => {
132
- const u = te(null), t = $e(), i = T(), s = N(!1), l = L(() => {
133
- var _, w;
134
- return !t.url || ((_ = u.value) == null ? void 0 : _.isAdmin) || !!((w = u.value) != null && w.sponsorships.some((b) => b.isActive));
133
+ }), F = J("auth", () => {
134
+ const p = E(!1), e = E(null), i = he(), n = O(), l = D(!1), s = w(() => {
135
+ var y, _;
136
+ return !i.url || ((y = e.value) == null ? void 0 : y.isAdmin) || !!((_ = e.value) != null && _.sponsorships.some((x) => x.isActive));
135
137
  });
136
- let a = !1;
137
- z(u, (_) => {
138
- if (!(_ != null && _.settings))
138
+ let r = !!V();
139
+ N(e, (y) => {
140
+ if (!(y != null && y.settings))
139
141
  return;
140
- const w = localStorage.getItem("vuetify@user") || "{}";
141
- JSON.stringify(_.settings, null, 2) !== w && (a = !0, Object.assign(i, _.settings));
142
- }), i.$subscribe(() => {
143
- a || r(), a = !1;
142
+ const _ = localStorage.getItem("vuetify@user") || "{}";
143
+ JSON.stringify(y.settings, null, 2) !== _ && (r = !0, Object.assign(n, y.settings));
144
+ }), n.$subscribe(() => {
145
+ r || c(), r = !1;
144
146
  });
145
- async function r() {
146
- try {
147
- await t.post("/user/settings", { settings: i.$state });
148
- } catch (_) {
149
- console.error(_);
150
- }
147
+ async function c() {
148
+ if (!(!e.value || !n.syncSettings))
149
+ try {
150
+ await i.post("/user/settings", { settings: n.$state });
151
+ } catch (y) {
152
+ console.error(y);
153
+ }
151
154
  }
152
- async function c(_ = !1) {
153
- if (c.promise)
154
- return c.promise;
155
- s.value = !0, c.promise = fetch(`${t.url}/auth/verify`, {
155
+ async function f(y = !1) {
156
+ if (f.promise)
157
+ return f.promise;
158
+ l.value = !0, f.promise = fetch(`${i.url}/auth/verify`, {
156
159
  credentials: "include",
157
- headers: _ ? {
160
+ headers: y ? {
158
161
  "Cache-Control": "no-cache"
159
162
  } : void 0
160
163
  }).then(
161
- async (w) => {
162
- w.ok ? u.value = (await w.json()).user : w.status === 401 ? u.value = null : console.error(w.statusText);
164
+ async (_) => {
165
+ _.ok ? e.value = (await _.json()).user : _.status === 401 ? e.value = null : console.error(_.statusText);
163
166
  },
164
167
  () => {
165
168
  }
166
169
  ).finally(() => {
167
- s.value = !1, c.promise = null;
170
+ l.value = !1, f.promise = null;
168
171
  });
169
172
  }
170
- c.promise = null;
171
- async function h(_ = "github") {
172
- s.value = !0;
173
- const w = `${t.url}/auth/${_}/redirect`, b = 400, y = 600, $ = window.screenX + (window.innerWidth - b) / 2, B = window.screenY + (window.innerHeight - y) / 2, I = window.open(
173
+ f.promise = null;
174
+ async function u(y = "github") {
175
+ l.value = !0;
176
+ const _ = `${i.url}/auth/${y}/redirect`, x = 400, L = 600, z = window.screenX + (window.innerWidth - x) / 2, T = window.screenY + (window.innerHeight - L) / 2, M = window.open(
174
177
  "",
175
178
  "vuetify:authorize:popup",
176
- `popup,left=${$},top=${B},width=${b},height=${y},resizable`
179
+ `popup,left=${z},top=${T},width=${x},height=${L},resizable`
177
180
  );
178
- if (!I) {
181
+ if (!M) {
179
182
  console.error("Failed to open popup");
180
183
  return;
181
184
  }
182
- I.location.href = w;
183
- let W = -1, K = -1;
184
- function A(f) {
185
- var V;
186
- f.origin === t.url && ((V = f.data) == null ? void 0 : V.type) === "auth-response" && (f.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", _), u.value = f.data.body.user) : console.error(f.data.message), M());
185
+ M.location.href = _;
186
+ let ye = -1, Ve = -1;
187
+ function ce(K) {
188
+ var g;
189
+ K.origin === i.url && ((g = K.data) == null ? void 0 : g.type) === "auth-response" && (K.data.status === "success" ? (e.value || localStorage.setItem("vuetify@lastLoginProvider", y), e.value = K.data.body.user, c()) : console.error(K.data.message), ie());
187
190
  }
188
- function M() {
189
- window.removeEventListener("message", A), window.clearInterval(W), window.clearTimeout(K), I == null || I.close(), s.value = !1;
191
+ function ie() {
192
+ window.removeEventListener("message", ce), window.clearInterval(ye), window.clearTimeout(Ve), M == null || M.close(), l.value = !1;
190
193
  }
191
- window.addEventListener("message", A), W = window.setInterval(() => {
192
- !I || I.closed ? (console.error("Auth popup closed"), M()) : I.postMessage({ type: "auth-request" }, "*");
193
- }, 1e3), K = window.setTimeout(() => {
194
- M(), console.error("Auth timed out");
194
+ window.addEventListener("message", ce), ye = window.setInterval(() => {
195
+ !M || M.closed ? (console.error("Auth popup closed"), ie()) : M.postMessage({ type: "auth-request" }, "*");
196
+ }, 1e3), Ve = window.setTimeout(() => {
197
+ ie(), console.error("Auth timed out");
195
198
  }, 120 * 1e3);
196
199
  }
197
- async function p(_) {
198
- s.value = !0;
199
- const w = _ ? `/auth/${_}/logout` : "/auth/logout";
200
+ async function m(y) {
201
+ l.value = !0;
202
+ const _ = y ? `/auth/${y}/logout` : "/auth/logout";
200
203
  try {
201
- await t.post(w), await c(!0), u.value = null;
202
- } catch (b) {
203
- console.error(b);
204
+ await i.post(_), await f(!0), e.value = null;
205
+ } catch (x) {
206
+ console.error(x);
204
207
  } finally {
205
- s.value = !1;
208
+ l.value = !1;
206
209
  }
207
210
  }
208
- function g(_) {
209
- var w;
210
- return (w = u.value) == null ? void 0 : w.identities.find((b) => b.provider === _);
211
+ function b(y) {
212
+ var _;
213
+ return (_ = e.value) == null ? void 0 : _.identities.find((x) => x.provider === y);
211
214
  }
212
- function C() {
215
+ function V() {
213
216
  return localStorage.getItem("vuetify@lastLoginProvider");
214
217
  }
215
- return C() && c(), {
216
- user: u,
217
- url: t.url,
218
- isLoading: s,
219
- findIdentity: g,
220
- verify: c,
221
- login: h,
222
- logout: p,
223
- isSubscriber: l,
224
- lastLoginProvider: C,
225
- sync: r
218
+ return V() && f(), {
219
+ user: e,
220
+ url: i.url,
221
+ dialog: p,
222
+ isLoading: l,
223
+ findIdentity: b,
224
+ verify: f,
225
+ login: u,
226
+ logout: m,
227
+ isSubscriber: s,
228
+ lastLoginProvider: V,
229
+ sync: c
226
230
  };
227
- }), xe = oe("notifications", () => {
228
- const u = $e(), t = T(), i = te([]), s = N(!1), l = L(() => i.value.filter((c) => !t.notifications.read.includes(c.slug))), a = L(() => i.value.filter((c) => t.notifications.read.includes(c.slug)));
231
+ }), De = J("notifications", () => {
232
+ const p = he(), e = O(), i = E([]), n = D(!1), l = w(() => i.value.filter((c) => !e.notifications.read.includes(c.slug))), s = w(() => i.value.filter((c) => e.notifications.read.includes(c.slug)));
229
233
  async function r() {
230
234
  try {
231
- s.value = !0;
232
- const c = await u.get("/one/notifications");
235
+ n.value = !0;
236
+ const c = await p.get("/one/notifications");
233
237
  i.value = c.notifications;
234
238
  } catch {
235
239
  } finally {
236
- s.value = !1;
240
+ n.value = !1;
237
241
  }
238
242
  return i.value;
239
243
  }
240
244
  return {
241
- isLoading: s,
245
+ isLoading: n,
242
246
  all: i,
243
247
  get: r,
244
- read: a,
248
+ read: s,
245
249
  unread: l
246
250
  };
247
- }), lo = /* @__PURE__ */ k({
251
+ }), go = /* @__PURE__ */ k({
248
252
  __name: "VoNotificationsTotalBadge",
249
- setup(u) {
250
- const t = j(), i = xe(), s = T(), l = L(() => s.notifications.show ? i.unread.length : 0);
251
- return (a, r) => (d(), m(Ee, {
253
+ setup(p) {
254
+ const e = F(), i = De(), n = O(), l = w(() => n.notifications.show ? i.unread.length : 0);
255
+ return (s, r) => (d(), v(Pe, {
252
256
  content: l.value,
253
- dot: !!e(t).user,
257
+ dot: !!t(e).user,
254
258
  "model-value": l.value > 0,
255
259
  color: "error",
256
260
  location: "start top"
257
261
  }, {
258
- default: n(() => [
259
- H(a.$slots, "default")
262
+ default: a(() => [
263
+ P(s.$slots, "default")
260
264
  ]),
261
265
  _: 3
262
266
  }, 8, ["content", "dot", "model-value"]));
263
267
  }
264
- }), de = /* @__PURE__ */ k({
268
+ }), ae = /* @__PURE__ */ k({
265
269
  __name: "VoBtn",
266
270
  props: {
267
271
  readonly: { type: Boolean }
268
272
  },
269
- setup(u) {
270
- const t = u;
271
- return (i, s) => (d(), m(Z, {
272
- style: Re({
273
- pointerEvents: t.readonly ? "none" : void 0
273
+ setup(p) {
274
+ const e = p;
275
+ return (i, n) => (d(), v(q, {
276
+ style: Ze({
277
+ pointerEvents: e.readonly ? "none" : void 0
274
278
  }),
275
- tabindex: t.readonly ? -1 : void 0,
279
+ tabindex: e.readonly ? -1 : void 0,
276
280
  class: "text-none font-weight-regular",
277
281
  color: "primary",
278
282
  size: "small",
279
283
  variant: "flat"
280
284
  }, G({
281
- loader: n(() => [
282
- i.$slots.loader ? x("", !0) : (d(), m(lt, {
285
+ loader: a(() => [
286
+ i.$slots.loader ? $("", !0) : (d(), v(gt, {
283
287
  key: 0,
284
288
  indeterminate: "disable-shrink",
285
289
  size: "16",
286
290
  width: "2"
287
291
  })),
288
- H(i.$slots, "loader")
292
+ P(i.$slots, "loader")
289
293
  ]),
290
294
  _: 2
291
295
  }, [
292
296
  i.$slots.default ? {
293
297
  name: "default",
294
- fn: n(() => [
295
- H(i.$slots, "default")
298
+ fn: a(() => [
299
+ P(i.$slots, "default")
296
300
  ]),
297
301
  key: "0"
298
302
  } : void 0
299
303
  ]), 1032, ["style", "tabindex"]));
300
304
  }
301
- }), co = { class: "text-body-2" }, uo = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), po = /* @__PURE__ */ k({
305
+ }), bo = { class: "text-body-2" }, yo = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), at = /* @__PURE__ */ k({
302
306
  __name: "VoAuthDiscord",
303
- setup(u) {
304
- const t = j(), i = L(() => t.user && t.findIdentity("discord")), s = L(() => t.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
305
- return (l, a) => (d(), m(he, {
306
- "prepend-icon": `svg:${e(Ne)}`,
307
+ setup(p) {
308
+ const e = F(), i = w(() => e.user && e.findIdentity("discord")), n = w(() => e.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Login with Discord");
309
+ return (l, s) => (d(), v(ve, {
310
+ "prepend-icon": `svg:${t(He)}`,
307
311
  "base-color": "#5865F2",
308
312
  rounded: "pill",
309
313
  variant: "flat",
310
314
  slim: "",
311
- onClick: a[0] || (a[0] = (r) => e(t).login("discord"))
315
+ onClick: s[0] || (s[0] = (r) => t(e).login("discord"))
312
316
  }, G({
313
- title: n(() => [
314
- v("span", co, D(s.value), 1)
317
+ title: a(() => [
318
+ h("span", bo, C(n.value), 1)
315
319
  ]),
316
320
  _: 2
317
321
  }, [
318
- !e(t).user && e(t).lastLoginProvider() === "discord" ? {
322
+ !t(e).user && t(e).lastLoginProvider() === "discord" ? {
319
323
  name: "subtitle",
320
- fn: n(() => [
321
- uo
324
+ fn: a(() => [
325
+ yo
322
326
  ]),
323
327
  key: "0"
324
328
  } : void 0
325
329
  ]), 1032, ["prepend-icon"]));
326
330
  }
327
- }), mo = { class: "text-body-2" }, fo = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), vo = /* @__PURE__ */ k({
331
+ }), Vo = { class: "text-body-2" }, ko = /* @__PURE__ */ h("div", { class: "text-caption mt-n1" }, "Last Used", -1), it = /* @__PURE__ */ k({
328
332
  __name: "VoAuthGithub",
329
- setup(u) {
330
- const t = j(), i = L(() => t.user && t.findIdentity("github")), s = L(() => t.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
331
- return (l, a) => (d(), m(he, {
332
- "prepend-icon": `svg:${e(Oe)}`,
333
+ setup(p) {
334
+ const e = F(), i = w(() => e.user && e.findIdentity("github")), n = w(() => e.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Login with GitHub");
335
+ return (l, s) => (d(), v(ve, {
336
+ "prepend-icon": `svg:${t(Ee)}`,
333
337
  "base-color": "#2a2a2a",
334
338
  rounded: "pill",
335
339
  variant: "flat",
336
340
  slim: "",
337
- onClick: a[0] || (a[0] = (r) => e(t).login("github"))
341
+ onClick: s[0] || (s[0] = (r) => t(e).login("github"))
338
342
  }, G({
339
- title: n(() => [
340
- v("span", mo, D(s.value), 1)
343
+ title: a(() => [
344
+ h("span", Vo, C(n.value), 1)
341
345
  ]),
342
346
  _: 2
343
347
  }, [
344
- !e(t).user && e(t).lastLoginProvider() === "github" ? {
348
+ !t(e).user && t(e).lastLoginProvider() === "github" ? {
345
349
  name: "subtitle",
346
- fn: n(() => [
347
- fo
350
+ fn: a(() => [
351
+ ko
348
352
  ]),
349
353
  key: "0"
350
354
  } : void 0
351
355
  ]), 1032, ["prepend-icon"]));
352
356
  }
353
- }), _o = { class: "pa-4 d-flex flex-column ga-4" }, Xe = /* @__PURE__ */ k({
357
+ }), xo = { class: "pa-4 d-flex flex-column ga-4" }, lt = /* @__PURE__ */ k({
354
358
  __name: "VoAuthListItem",
355
- setup(u) {
356
- const t = j(), i = T(), s = N(!t.user && !t.isLoading);
357
- z(() => t.user, (a) => {
358
- s.value = !a;
359
+ setup(p) {
360
+ const e = F(), i = O(), n = D(!e.user && !e.isLoading);
361
+ N(() => e.user, (s) => {
362
+ n.value = !s;
359
363
  });
360
364
  function l() {
361
- t.user && (s.value = !s.value);
365
+ e.user && (n.value = !n.value);
362
366
  }
363
- return (a, r) => {
364
- const c = vo, h = po;
365
- return d(), m(P, {
366
- variant: s.value ? "tonal" : "text",
367
+ return (s, r) => {
368
+ const c = it, f = at;
369
+ return d(), v(R, {
370
+ variant: n.value ? "tonal" : "text",
367
371
  class: "ma-2",
368
372
  rounded: "lg"
369
373
  }, {
370
- default: n(() => [
371
- o(ie, { class: "py-0" }, {
372
- default: n(() => [
373
- o(he, {
374
- link: !!e(t).user,
375
- "prepend-icon": `svg:${e(t).user && e(i).syncSettings ? e(ct) : e(ut)}`,
376
- title: e(t).user && e(i).syncSettings ? "Sync is on" : "Sync is paused",
374
+ default: a(() => [
375
+ o(te, { class: "py-0" }, {
376
+ default: a(() => [
377
+ o(ve, {
378
+ link: !!t(e).user,
379
+ "prepend-icon": `svg:${t(e).user && t(i).syncSettings ? t(bt) : t(yt)}`,
380
+ title: t(e).user && t(i).syncSettings ? "Sync is on" : "Sync is paused",
377
381
  class: "mb-0",
378
382
  rounded: "b-0",
379
383
  nav: "",
380
384
  slim: "",
381
385
  onClick: l
382
386
  }, {
383
- append: n(() => [
384
- o(Be, null, {
385
- default: n(() => [
386
- e(t).user && (s.value || !e(i).syncSettings) ? (d(), m(Ge, {
387
+ append: a(() => [
388
+ o($e, null, {
389
+ default: a(() => [
390
+ t(e).user && (n.value || !t(i).syncSettings) ? (d(), v(et, {
387
391
  key: 0,
388
- modelValue: e(i).syncSettings,
389
- "onUpdate:modelValue": r[0] || (r[0] = (p) => e(i).syncSettings = p),
390
- color: e(i).syncSettings ? "success" : void 0,
392
+ modelValue: t(i).syncSettings,
393
+ "onUpdate:modelValue": r[0] || (r[0] = (u) => t(i).syncSettings = u),
394
+ color: t(i).syncSettings ? "success" : void 0,
391
395
  density: "compact",
392
396
  "hide-details": "",
393
397
  inset: "",
394
- onClick: r[1] || (r[1] = He(() => {
398
+ onClick: r[1] || (r[1] = Te(() => {
395
399
  }, ["stop"]))
396
400
  }, {
397
- thumb: n(() => [
398
- o(fe, {
399
- color: e(i).syncSettings ? "success" : void 0
401
+ thumb: a(() => [
402
+ o(ne, {
403
+ color: t(i).syncSettings ? "success" : void 0
400
404
  }, null, 8, ["color"])
401
405
  ]),
402
406
  _: 1
403
- }, 8, ["modelValue", "color"])) : x("", !0)
407
+ }, 8, ["modelValue", "color"])) : $("", !0)
404
408
  ]),
405
409
  _: 1
406
410
  })
407
411
  ]),
408
412
  _: 1
409
413
  }, 8, ["link", "prepend-icon", "title"]),
410
- o(ue, null, {
411
- default: n(() => [
412
- !e(t).user && !e(t).isLoading || s.value ? (d(), m(qe, {
414
+ o(_e, null, {
415
+ default: a(() => [
416
+ !t(e).user && !t(e).isLoading || n.value ? (d(), v(Ge, {
413
417
  key: 0,
414
418
  border: "t",
415
419
  color: "transparent"
416
420
  }, {
417
- default: n(() => [
418
- v("div", _o, [
421
+ default: a(() => [
422
+ h("div", xo, [
419
423
  o(c, {
420
- onClick: r[2] || (r[2] = (p) => s.value = !1)
424
+ onClick: r[2] || (r[2] = (u) => n.value = !1)
421
425
  }),
422
- o(h, {
423
- onClick: r[3] || (r[3] = (p) => s.value = !1)
426
+ o(f, {
427
+ onClick: r[3] || (r[3] = (u) => n.value = !1)
424
428
  })
425
429
  ])
426
430
  ]),
427
431
  _: 1
428
- })) : x("", !0)
432
+ })) : $("", !0)
429
433
  ]),
430
434
  _: 1
431
435
  })
@@ -437,61 +441,61 @@ const $e = oe("http", {
437
441
  }, 8, ["variant"]);
438
442
  };
439
443
  }
440
- }), Q = /* @__PURE__ */ k({
444
+ }), X = /* @__PURE__ */ k({
441
445
  __name: "VoListItem",
442
- setup(u) {
443
- return (t, i) => (d(), m(he, { slim: "" }, G({
444
- default: n(() => [
445
- H(t.$slots, "default")
446
+ setup(p) {
447
+ return (e, i) => (d(), v(ve, { slim: "" }, G({
448
+ default: a(() => [
449
+ P(e.$slots, "default")
446
450
  ]),
447
451
  _: 2
448
452
  }, [
449
- t.$slots.prepend ? {
453
+ e.$slots.prepend ? {
450
454
  name: "prepend",
451
- fn: n(() => [
452
- H(t.$slots, "prepend")
455
+ fn: a(() => [
456
+ P(e.$slots, "prepend")
453
457
  ]),
454
458
  key: "0"
455
459
  } : void 0,
456
- t.$slots.title ? {
460
+ e.$slots.title ? {
457
461
  name: "title",
458
- fn: n(() => [
459
- H(t.$slots, "title")
462
+ fn: a(() => [
463
+ P(e.$slots, "title")
460
464
  ]),
461
465
  key: "1"
462
466
  } : void 0,
463
- t.$slots.append ? {
467
+ e.$slots.append ? {
464
468
  name: "append",
465
- fn: n(() => [
466
- H(t.$slots, "append")
469
+ fn: a(() => [
470
+ P(e.$slots, "append")
467
471
  ]),
468
472
  key: "2"
469
473
  } : void 0
470
474
  ]), 1024));
471
475
  }
472
- }), ho = /* @__PURE__ */ k({
476
+ }), $o = /* @__PURE__ */ k({
473
477
  __name: "VoAuthLogoutListItem",
474
- setup(u) {
475
- const t = j(), i = N(!1);
476
- async function s() {
477
- i.value = !0, await t.logout(), i.value = !1;
478
+ setup(p) {
479
+ const e = F(), i = D(!1);
480
+ async function n() {
481
+ i.value = !0, await e.logout(), i.value = !1;
478
482
  }
479
- return (l, a) => {
480
- const r = Q;
481
- return d(), m(r, {
483
+ return (l, s) => {
484
+ const r = X;
485
+ return d(), v(r, {
482
486
  disabled: i.value,
483
487
  loading: i.value,
484
- "prepend-icon": `svg:${e(dt)}`,
488
+ "prepend-icon": `svg:${t(Vt)}`,
485
489
  class: "mb-0",
486
490
  title: "Logout",
487
491
  link: "",
488
- onClick: s
492
+ onClick: n
489
493
  }, null, 8, ["disabled", "loading", "prepend-icon"]);
490
494
  };
491
495
  }
492
- }), we = /* @__PURE__ */ k({
496
+ }), Ue = /* @__PURE__ */ k({
493
497
  __name: "VoDialog",
494
- props: /* @__PURE__ */ ot({
498
+ props: /* @__PURE__ */ pt({
495
499
  prependIcon: {},
496
500
  title: {}
497
501
  }, {
@@ -499,51 +503,51 @@ const $e = oe("http", {
499
503
  modelModifiers: {}
500
504
  }),
501
505
  emits: ["update:modelValue"],
502
- setup(u) {
503
- const t = ae(u, "modelValue"), i = ge();
504
- return (s, l) => (d(), m(Jt, {
505
- modelValue: t.value,
506
- "onUpdate:modelValue": l[1] || (l[1] = (a) => t.value = a),
507
- fullscreen: e(i).xs.value,
508
- "max-height": e(i).xs.value ? "100%" : 800,
509
- "max-width": e(i).xs.value ? "100%" : 800,
506
+ setup(p) {
507
+ const e = le(p, "modelValue"), i = se();
508
+ return (n, l) => (d(), v(tt, {
509
+ modelValue: e.value,
510
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => e.value = s),
511
+ fullscreen: t(i).xs.value,
512
+ "max-height": t(i).xs.value ? "100%" : 800,
513
+ "max-width": t(i).xs.value ? "100%" : 800,
510
514
  activator: "parent",
511
515
  height: "100%"
512
516
  }, {
513
- default: n(({ isActive: a }) => [
514
- o(P, {
515
- "prepend-icon": s.prependIcon,
516
- title: s.title,
517
+ default: a(({ isActive: s }) => [
518
+ o(R, {
519
+ "prepend-icon": n.prependIcon,
520
+ title: n.title,
517
521
  class: "overflow-hidden",
518
522
  height: "inherit"
519
523
  }, G({
520
- append: n(() => [
521
- H(s.$slots, "append"),
522
- o(Z, {
524
+ append: a(() => [
525
+ P(n.$slots, "append"),
526
+ o(q, {
523
527
  density: "comfortable",
524
528
  icon: "$close",
525
529
  size: "small",
526
530
  variant: "text",
527
- onClick: l[0] || (l[0] = (r) => t.value = !t.value)
531
+ onClick: l[0] || (l[0] = (r) => e.value = !e.value)
528
532
  })
529
533
  ]),
530
- default: n(() => [
531
- o(E, { class: "mt-4" }),
532
- H(s.$slots, "default")
534
+ default: a(() => [
535
+ o(W, { class: "mt-4" }),
536
+ P(n.$slots, "default")
533
537
  ]),
534
538
  _: 2
535
539
  }, [
536
- s.$slots.prepend ? {
540
+ n.$slots.prepend ? {
537
541
  name: "prepend",
538
- fn: n(() => [
539
- H(s.$slots, "prepend")
542
+ fn: a(() => [
543
+ P(n.$slots, "prepend")
540
544
  ]),
541
545
  key: "0"
542
546
  } : void 0,
543
- s.$slots.actions ? {
547
+ n.$slots.actions ? {
544
548
  name: "actions",
545
- fn: n(() => [
546
- H(s.$slots, "actions", { isActive: a })
549
+ fn: a(() => [
550
+ P(n.$slots, "actions", { isActive: s })
547
551
  ]),
548
552
  key: "1"
549
553
  } : void 0
@@ -552,62 +556,62 @@ const $e = oe("http", {
552
556
  _: 3
553
557
  }, 8, ["modelValue", "fullscreen", "max-height", "max-width"]));
554
558
  }
555
- }), Ze = /* @__PURE__ */ k({
559
+ }), rt = /* @__PURE__ */ k({
556
560
  __name: "VoSwitch",
557
561
  props: {
558
562
  disabled: { type: Boolean }
559
563
  },
560
- setup(u) {
561
- return (t, i) => (d(), m(Ge, {
562
- disabled: t.disabled,
563
- "true-icon": `svg:${e(se)}`,
564
+ setup(p) {
565
+ return (e, i) => (d(), v(et, {
566
+ disabled: e.disabled,
567
+ "true-icon": `svg:${t(re)}`,
564
568
  color: "primary",
565
569
  density: "compact",
566
570
  inset: ""
567
571
  }, G({
568
- thumb: n(() => [
569
- o(U, {
570
- color: t.disabled ? void 0 : "primary"
572
+ thumb: a(() => [
573
+ o(A, {
574
+ color: e.disabled ? void 0 : "primary"
571
575
  }, null, 8, ["color"])
572
576
  ]),
573
577
  _: 2
574
578
  }, [
575
- t.$slots.label ? {
579
+ e.$slots.label ? {
576
580
  name: "label",
577
- fn: n(() => [
578
- H(t.$slots, "label")
581
+ fn: a(() => [
582
+ P(e.$slots, "label")
579
583
  ]),
580
584
  key: "0"
581
585
  } : void 0
582
586
  ]), 1032, ["disabled", "true-icon"]));
583
587
  }
584
- }), go = {
588
+ }), wo = {
585
589
  key: 1,
586
590
  class: "mb-3 text-caption text-medium-emphasis"
587
- }, pe = /* @__PURE__ */ k({
591
+ }, ge = /* @__PURE__ */ k({
588
592
  __name: "VoDialogSubheader",
589
593
  props: {
590
594
  title: {},
591
595
  text: {}
592
596
  },
593
- setup(u) {
594
- return (t, i) => (d(), S(F, null, [
595
- t.title ? (d(), m(De, {
597
+ setup(p) {
598
+ return (e, i) => (d(), S(U, null, [
599
+ e.title ? (d(), v(ze, {
596
600
  key: 0,
597
601
  class: "font-weight-black"
598
602
  }, {
599
- default: n(() => [
600
- O(D(t.title), 1)
603
+ default: a(() => [
604
+ B(C(e.title), 1)
601
605
  ]),
602
606
  _: 1
603
- })) : x("", !0),
604
- t.text ? (d(), S("div", go, D(t.text), 1)) : x("", !0)
607
+ })) : $("", !0),
608
+ e.text ? (d(), S("div", wo, C(e.text), 1)) : $("", !0)
605
609
  ], 64));
606
610
  }
607
- }), bo = { key: 0 }, yo = /* @__PURE__ */ k({
611
+ }), So = { key: 0 }, Co = /* @__PURE__ */ k({
608
612
  __name: "VoSettingsPageSuitOption",
609
- setup(u) {
610
- const t = T(), i = [
613
+ setup(p) {
614
+ const e = O(), i = [
611
615
  {
612
616
  title: "Choose a page suit",
613
617
  value: "",
@@ -615,7 +619,7 @@ const $e = oe("http", {
615
619
  },
616
620
  {
617
621
  title: "Blackguard",
618
- prependIcon: `svg:${We}`,
622
+ prependIcon: `svg:${Qe}`,
619
623
  value: "blackguard"
620
624
  }
621
625
  // {
@@ -629,22 +633,22 @@ const $e = oe("http", {
629
633
  // value: 'nebula',
630
634
  // },
631
635
  ];
632
- return (s, l) => {
633
- const a = Ze, r = pe;
634
- return d(), S(F, null, [
635
- o(a, {
636
- modelValue: e(t).suits.show,
637
- "onUpdate:modelValue": l[0] || (l[0] = (c) => e(t).suits.show = c),
636
+ return (n, l) => {
637
+ const s = rt, r = ge;
638
+ return d(), S(U, null, [
639
+ o(s, {
640
+ modelValue: t(e).suits.show,
641
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => t(e).suits.show = c),
638
642
  class: "mb-2",
639
643
  label: "Enable Page suits",
640
644
  messages: "Customize layout elements with a unique background, styled after one of our themed releases."
641
645
  }, null, 8, ["modelValue"]),
642
- o(ue, null, {
643
- default: n(() => [
644
- e(t).suits.show ? (d(), S("div", bo, [
645
- o(Zt, {
646
- modelValue: e(t).suits.suit,
647
- "onUpdate:modelValue": l[1] || (l[1] = (c) => e(t).suits.suit = c),
646
+ o(_e, null, {
647
+ default: a(() => [
648
+ t(e).suits.show ? (d(), S("div", So, [
649
+ o(io, {
650
+ modelValue: t(e).suits.suit,
651
+ "onUpdate:modelValue": l[1] || (l[1] = (c) => t(e).suits.suit = c),
648
652
  items: i,
649
653
  density: "compact",
650
654
  placeholder: "Choose a page suit",
@@ -654,54 +658,54 @@ const $e = oe("http", {
654
658
  "item-props": "",
655
659
  "single-line": ""
656
660
  }, {
657
- selection: n(({ item: c }) => [
658
- o(U, {
661
+ selection: a(({ item: c }) => [
662
+ o(A, {
659
663
  icon: c.props.prependIcon,
660
664
  size: "x-small",
661
665
  start: ""
662
666
  }, null, 8, ["icon"]),
663
- O(" " + D(c.title), 1)
667
+ B(" " + C(c.title), 1)
664
668
  ]),
665
669
  _: 1
666
670
  }, 8, ["modelValue"]),
667
671
  o(r, { text: "Select your suit elements to display the background image:" }),
668
- o(Xt, {
669
- modelValue: e(t).suits.elements,
670
- "onUpdate:modelValue": l[2] || (l[2] = (c) => e(t).suits.elements = c),
672
+ o(ao, {
673
+ modelValue: t(e).suits.elements,
674
+ "onUpdate:modelValue": l[2] || (l[2] = (c) => t(e).suits.elements = c),
671
675
  color: "primary",
672
676
  filter: "",
673
677
  multiple: ""
674
678
  }, {
675
- default: n(() => [
679
+ default: a(() => [
676
680
  o(Y, {
677
- "append-icon": `svg:${e(pt)}`,
681
+ "append-icon": `svg:${t(kt)}`,
678
682
  "filter-icon": "$success",
679
683
  text: "App Bar",
680
684
  value: "app-bar",
681
685
  variant: "flat"
682
686
  }, {
683
- append: n(() => [
684
- o(E, {
687
+ append: a(() => [
688
+ o(W, {
685
689
  class: "ms-2 border-opacity-50",
686
690
  vertical: ""
687
691
  }),
688
- o(U, { size: "x-small" })
692
+ o(A, { size: "x-small" })
689
693
  ]),
690
694
  _: 1
691
695
  }, 8, ["append-icon"]),
692
696
  o(Y, {
693
- "append-icon": `svg:${e(mt)}`,
697
+ "append-icon": `svg:${t(xt)}`,
694
698
  "filter-icon": "$success",
695
699
  text: "Navigation Drawer",
696
700
  value: "drawer",
697
701
  variant: "flat"
698
702
  }, {
699
- append: n(() => [
700
- o(E, {
703
+ append: a(() => [
704
+ o(W, {
701
705
  class: "ms-2 border-opacity-50",
702
706
  vertical: ""
703
707
  }),
704
- o(U, { size: "x-small" })
708
+ o(A, { size: "x-small" })
705
709
  ]),
706
710
  _: 1
707
711
  }, 8, ["append-icon"]),
@@ -712,19 +716,19 @@ const $e = oe("http", {
712
716
  value: "footer",
713
717
  variant: "flat"
714
718
  }, {
715
- append: n(() => [
716
- o(E, {
719
+ append: a(() => [
720
+ o(W, {
717
721
  class: "ms-2 border-opacity-50",
718
722
  vertical: ""
719
723
  }),
720
- o(U, { size: "x-small" })
724
+ o(A, { size: "x-small" })
721
725
  ]),
722
726
  _: 1
723
727
  })
724
728
  ]),
725
729
  _: 1
726
730
  }, 8, ["modelValue"])
727
- ])) : x("", !0)
731
+ ])) : $("", !0)
728
732
  ]),
729
733
  _: 1
730
734
  })
@@ -732,142 +736,155 @@ const $e = oe("http", {
732
736
  };
733
737
  }
734
738
  });
735
- function Se() {
736
- const u = Kt();
737
- return L(
738
- () => u.query
739
+ function be() {
740
+ const p = lo();
741
+ return w(
742
+ () => p.query
739
743
  );
740
744
  }
741
- const q = oe("one", () => {
742
- const t = new URLSearchParams(window.location.search).get("session_id"), i = j(), s = $e(), l = N(!1), a = te(!1), r = te(), c = te([]), h = L(() => {
743
- var f;
744
- return (f = r.value) == null ? void 0 : f.items[0].plan.interval;
745
- }), p = L(() => {
746
- var f;
747
- return (f = i.user) == null ? void 0 : f.sponsorships.find((V) => V.platform === "stripe" && V.tierName.startsWith("sub_"));
748
- }), g = L(() => {
749
- var f;
750
- return !!((f = p.value) != null && f.tierName);
751
- }), C = L(() => {
752
- var f;
753
- return (f = p.value) == null ? void 0 : f.isActive;
754
- }), _ = L(() => {
755
- var f;
756
- return (f = i.user) == null ? void 0 : f.sponsorships.find((V) => V.platform === "github");
757
- }), w = L(() => {
758
- var f;
759
- return (f = i.user) == null ? void 0 : f.sponsorships.find((V) => V.platform === "discord");
760
- }), b = L(() => {
761
- var f;
762
- return (f = i.user) == null ? void 0 : f.sponsorships.find((V) => V.platform === "patreon");
763
- }), y = L(() => {
764
- var f;
765
- return (f = i.user) == null ? void 0 : f.sponsorships.reduce((V, R) => {
766
- if (!R.isActive || R.interval === "once" || R.platform === "stripe")
767
- return V;
768
- const ee = R.interval === "month" ? R.amount : R.amount / 12;
769
- return V + ee / 100;
745
+ const j = J("one", () => {
746
+ const p = be(), e = p.value.session_id, i = ot(), n = F(), l = he(), s = D(!1), r = E(!1), c = E(), f = E([]), u = w(() => {
747
+ var g;
748
+ return (g = c.value) == null ? void 0 : g.items[0].plan.interval;
749
+ }), m = w(() => {
750
+ var g;
751
+ return (g = n.user) == null ? void 0 : g.sponsorships.find((I) => I.platform === "stripe" && I.tierName.startsWith("sub_"));
752
+ }), b = w(() => {
753
+ var g;
754
+ return !!((g = m.value) != null && g.tierName);
755
+ }), V = w(() => {
756
+ var g;
757
+ return (g = m.value) == null ? void 0 : g.isActive;
758
+ }), y = w(() => {
759
+ var g;
760
+ return (g = n.user) == null ? void 0 : g.sponsorships.find((I) => I.platform === "github");
761
+ }), _ = w(() => {
762
+ var g;
763
+ return (g = n.user) == null ? void 0 : g.sponsorships.find((I) => I.platform === "discord");
764
+ }), x = w(() => {
765
+ var g;
766
+ return (g = n.user) == null ? void 0 : g.sponsorships.find((I) => I.platform === "patreon");
767
+ }), L = w(() => {
768
+ var g;
769
+ return (g = n.user) == null ? void 0 : g.sponsorships.reduce((I, Z) => {
770
+ if (!Z.isActive || Z.interval === "once" || Z.platform === "stripe")
771
+ return I;
772
+ const ct = Z.interval === "month" ? Z.amount : Z.amount / 12;
773
+ return I + ct / 100;
770
774
  }, 0);
771
775
  });
772
- st(async () => {
773
- t && await $();
774
- }), z(C, (f, V) => {
775
- f === !1 && V !== !0 || A();
776
+ mt(async () => {
777
+ e && await z();
778
+ }), N(r, (g) => {
779
+ g && K();
780
+ }), N(p, (g) => {
781
+ if (g.one !== "subscribe" || n.user)
782
+ return;
783
+ console.log(g.one), n.dialog = !0;
784
+ const I = N(() => n.user, (Z) => {
785
+ Z && (n.dialog = !1, I());
786
+ });
787
+ }, { immediate: !0 }), N(V, (g, I) => {
788
+ g === !1 && I !== !0 || ce();
776
789
  });
777
- async function $() {
790
+ async function z() {
778
791
  try {
779
- l.value = !0;
780
- const f = await s.post("/one/activate", { sessionId: t });
781
- i.user = f.user;
782
- const V = new URL(window.location.href);
783
- V.searchParams.delete("session_id"), history.pushState(null, "", V.toString()), M();
792
+ s.value = !0;
793
+ const g = await l.post("/one/activate", { sessionId: e });
794
+ n.user = g.user;
795
+ const I = new URL(window.location.href);
796
+ I.searchParams.delete("session_id"), history.pushState(null, "", I.toString()), ie();
784
797
  } catch {
785
798
  } finally {
786
- l.value = !1;
799
+ s.value = !1;
787
800
  }
788
801
  }
789
- async function B() {
790
- window.open(`${s.url}/one/manage`, "_blank");
802
+ async function T() {
803
+ window.open(`${l.url}/one/manage`, "_blank");
791
804
  }
792
- async function I(f) {
793
- l.value = !0, window.location.href = `${s.url}/one/subscribe?interval=${f}`;
805
+ async function M(g) {
806
+ s.value = !0, window.location.href = `${l.url}/one/subscribe?interval=${g}`;
794
807
  }
795
- async function W() {
796
- var f;
797
- if (p.value)
808
+ async function ye() {
809
+ var g;
810
+ if (m.value)
798
811
  try {
799
- l.value = !0;
800
- const V = await s.post(
801
- `/one/cancel?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
812
+ s.value = !0;
813
+ const I = await l.post(
814
+ `/one/cancel?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
802
815
  );
803
- i.user = V.user;
816
+ n.user = I.user;
804
817
  } catch {
805
818
  } finally {
806
- l.value = !1;
819
+ s.value = !1;
807
820
  }
808
821
  }
809
- async function K(f) {
810
- if (p.value)
822
+ async function Ve(g) {
823
+ if (m.value)
811
824
  try {
812
- l.value = !0;
813
- const V = await s.post("/one/modify", {
814
- subscriptionId: p.value.tierName,
815
- interval: f
825
+ s.value = !0;
826
+ const I = await l.post("/one/modify", {
827
+ subscriptionId: m.value.tierName,
828
+ interval: g
816
829
  });
817
- i.user = V.user;
830
+ n.user = I.user;
818
831
  } catch {
819
832
  } finally {
820
- l.value = !1;
833
+ s.value = !1;
821
834
  }
822
835
  }
823
- async function A() {
824
- var f;
825
- if (p.value)
836
+ async function ce() {
837
+ var g;
838
+ if (m.value)
826
839
  try {
827
- l.value = !0;
828
- const V = await s.post(
829
- `/one/verify?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
840
+ s.value = !0;
841
+ const I = await l.post(
842
+ `/one/verify?subscriptionId=${(g = m.value) == null ? void 0 : g.tierName}`
830
843
  );
831
- i.user = V.user;
844
+ n.user = I.user;
832
845
  } catch {
833
846
  } finally {
834
- l.value = !1;
847
+ s.value = !1;
835
848
  }
836
849
  }
837
- async function M() {
850
+ async function ie() {
838
851
  try {
839
- l.value = !0;
840
- const f = await s.get("/one/info");
841
- return r.value = f.subscription, c.value = f.invoices, f;
852
+ s.value = !0;
853
+ const g = await l.get("/one/info");
854
+ return c.value = g.subscription, f.value = g.invoices, g;
842
855
  } catch {
843
856
  } finally {
844
- l.value = !1;
857
+ s.value = !1;
845
858
  }
846
859
  }
860
+ function K() {
861
+ i.push({ query: {} });
862
+ }
847
863
  return {
848
- info: r,
849
- interval: h,
850
- invoices: c,
851
- sessionId: t,
852
- subscription: p,
853
- monthlyTotal: y,
854
- hasBilling: g,
855
- isLoading: l,
856
- isOpen: a,
857
- isSubscriber: C,
858
- github: _,
859
- patreon: b,
860
- discord: w,
861
- activate: $,
862
- cancel: W,
863
- manage: B,
864
- modify: K,
865
- subscribe: I,
866
- subscriptionInfo: M,
867
- verify: A
864
+ info: c,
865
+ interval: u,
866
+ invoices: f,
867
+ sessionId: e,
868
+ subscription: m,
869
+ monthlyTotal: L,
870
+ hasBilling: b,
871
+ isLoading: s,
872
+ isOpen: r,
873
+ isSubscriber: V,
874
+ github: y,
875
+ patreon: x,
876
+ discord: _,
877
+ activate: z,
878
+ cancel: ye,
879
+ manage: T,
880
+ modify: Ve,
881
+ resetQuery: K,
882
+ subscribe: M,
883
+ subscriptionInfo: ie,
884
+ verify: ce
868
885
  };
869
886
  });
870
- function Vo() {
887
+ function Lo() {
871
888
  return {
872
889
  blackguard: {
873
890
  dark: !0,
@@ -983,11 +1000,11 @@ function Vo() {
983
1000
  }
984
1001
  };
985
1002
  }
986
- const Ke = oe("settings", () => {
987
- const u = "https://cdn.vuetifyjs.com/docs/images/one/", t = j(), i = T(), s = Qt(), l = Vo(), a = {
1003
+ const Be = J("settings", () => {
1004
+ const p = "https://cdn.vuetifyjs.com/docs/images/one/", e = F(), i = O(), n = so(), l = Lo(), s = {
988
1005
  blackguard: {
989
- "app-bar": u + "suits/blackguard/blackguard-app-bar.png",
990
- drawer: u + "suits/blackguard/blackguard-app-drawer.png",
1006
+ "app-bar": p + "suits/blackguard/blackguard-app-bar.png",
1007
+ drawer: p + "suits/blackguard/blackguard-app-drawer.png",
991
1008
  footer: ""
992
1009
  }
993
1010
  // polaris: {
@@ -1000,65 +1017,65 @@ const Ke = oe("settings", () => {
1000
1017
  // 'drawer': '',
1001
1018
  // footer: '',
1002
1019
  // },
1003
- }, r = L(() => {
1004
- if (!i.suits.suit || !i.suits.show || !t.isSubscriber)
1020
+ }, r = w(() => {
1021
+ if (!i.suits.suit || !i.suits.show || !e.isSubscriber)
1005
1022
  return {};
1006
- const c = a[i.suits.suit.toLowerCase()], h = {};
1007
- for (const p of i.suits.elements)
1008
- h[p] = c[p];
1009
- return h;
1023
+ const c = s[i.suits.suit.toLowerCase()], f = {};
1024
+ for (const u of i.suits.elements)
1025
+ f[u] = c[u];
1026
+ return f;
1010
1027
  });
1011
- return s.themes.value = {
1012
- ...s.themes.value,
1028
+ return n.themes.value = {
1029
+ ...n.themes.value,
1013
1030
  ...l
1014
- }, z(() => i.theme, (c) => {
1015
- c === "system" ? s.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : s.global.name.value = c, i.theme = c;
1031
+ }, N(() => i.theme, (c) => {
1032
+ c === "system" ? n.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : n.global.name.value = c, i.theme = c;
1016
1033
  }, { immediate: !0 }), {
1017
1034
  suit: r,
1018
- CDN_URL: u
1035
+ CDN_URL: p
1019
1036
  };
1020
- }), ko = /* @__PURE__ */ k({
1037
+ }), Io = /* @__PURE__ */ k({
1021
1038
  __name: "VoSettingsDialog",
1022
1039
  props: {
1023
1040
  modelValue: { type: Boolean },
1024
1041
  modelModifiers: {}
1025
1042
  },
1026
1043
  emits: ["update:modelValue"],
1027
- setup(u) {
1028
- const t = ae(u, "modelValue"), i = j(), s = q(), l = Ke(), a = T(), r = [
1044
+ setup(p) {
1045
+ const e = le(p, "modelValue"), i = F(), n = j(), l = Be(), s = O(), r = [
1029
1046
  {
1030
1047
  title: "Light",
1031
1048
  subtitle: "A standard light theme.",
1032
1049
  image: l.CDN_URL + "themes/light.png",
1033
- prependIcon: `svg:${ft}`,
1050
+ prependIcon: `svg:${$t}`,
1034
1051
  value: "light"
1035
1052
  },
1036
1053
  {
1037
1054
  title: "Dark",
1038
1055
  subtitle: "A standard dark theme.",
1039
1056
  image: l.CDN_URL + "themes/dark.png",
1040
- prependIcon: `svg:${vt}`,
1057
+ prependIcon: `svg:${wt}`,
1041
1058
  value: "dark"
1042
1059
  },
1043
1060
  {
1044
1061
  title: "System",
1045
1062
  subtitle: "A theme based on the system preference.",
1046
1063
  image: l.CDN_URL + "themes/system.png",
1047
- prependIcon: `svg:${_t}`,
1064
+ prependIcon: `svg:${St}`,
1048
1065
  value: "system"
1049
1066
  },
1050
1067
  {
1051
1068
  title: "Blackguard",
1052
1069
  subtitle: "A theme for v3.4 Blackguard.",
1053
1070
  image: l.CDN_URL + "themes/blackguard.png",
1054
- prependIcon: `svg:${We}`,
1071
+ prependIcon: `svg:${Qe}`,
1055
1072
  value: "blackguard"
1056
1073
  },
1057
1074
  {
1058
1075
  title: "Polaris",
1059
1076
  subtitle: "A theme for v3.5 Polaris.",
1060
1077
  image: l.CDN_URL + "themes/polaris.png",
1061
- prependIcon: `svg:${ht}`,
1078
+ prependIcon: `svg:${Ct}`,
1062
1079
  value: "polaris",
1063
1080
  disabled: !0
1064
1081
  },
@@ -1066,7 +1083,7 @@ const Ke = oe("settings", () => {
1066
1083
  title: "Nebula",
1067
1084
  subtitle: "A theme for v3.6 Nebula.",
1068
1085
  image: l.CDN_URL + "themes/nebula.png",
1069
- prependIcon: `svg:${gt}`,
1086
+ prependIcon: `svg:${Lt}`,
1070
1087
  value: "nebula",
1071
1088
  disabled: !0
1072
1089
  },
@@ -1074,67 +1091,67 @@ const Ke = oe("settings", () => {
1074
1091
  title: "High Contrast",
1075
1092
  subtitle: "A theme for high contrast.",
1076
1093
  image: l.CDN_URL + "themes/high-contrast.png",
1077
- prependIcon: `svg:${bt}`,
1094
+ prependIcon: `svg:${It}`,
1078
1095
  value: "highContrast",
1079
1096
  disabled: !0
1080
1097
  }
1081
- ], c = Se();
1082
- return z(c, async () => {
1083
- c.value.one === "settings" && (s.isOpen = !0, await _e(), t.value = !0);
1084
- }, { immediate: !0 }), (h, p) => {
1085
- const g = pe, C = yo, _ = Ze, w = we;
1086
- return d(), m(w, {
1087
- modelValue: t.value,
1088
- "onUpdate:modelValue": p[5] || (p[5] = (b) => t.value = b),
1089
- "prepend-icon": `svg:${e(yt)}`,
1098
+ ], c = be();
1099
+ return N(c, async () => {
1100
+ c.value.one === "settings" && (n.isOpen = !0, await me(), e.value = !0);
1101
+ }, { immediate: !0 }), (f, u) => {
1102
+ const m = ge, b = Co, V = rt, y = Ue;
1103
+ return d(), v(y, {
1104
+ modelValue: e.value,
1105
+ "onUpdate:modelValue": u[5] || (u[5] = (_) => e.value = _),
1106
+ "prepend-icon": `svg:${t(At)}`,
1090
1107
  title: "Settings"
1091
1108
  }, {
1092
- default: n(() => [
1093
- o(Ve, null, {
1094
- default: n(() => [
1095
- o(ke, { scrollable: "" }, {
1096
- default: n(() => [
1097
- o(X, { class: "px-7" }, {
1098
- default: n(() => [
1099
- o(g, {
1109
+ default: a(() => [
1110
+ o(Ie, null, {
1111
+ default: a(() => [
1112
+ o(Ae, { scrollable: "" }, {
1113
+ default: a(() => [
1114
+ o(ee, { class: "px-7" }, {
1115
+ default: a(() => [
1116
+ o(m, {
1100
1117
  text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
1101
1118
  title: "Theme"
1102
1119
  }),
1103
- o(Qe, {
1104
- modelValue: e(a).theme,
1105
- "onUpdate:modelValue": p[0] || (p[0] = (b) => e(a).theme = b),
1120
+ o(nt, {
1121
+ modelValue: t(s).theme,
1122
+ "onUpdate:modelValue": u[0] || (u[0] = (_) => t(s).theme = _),
1106
1123
  mandatory: ""
1107
1124
  }, {
1108
- default: n(() => [
1109
- o(ye, { dense: "" }, {
1110
- default: n(() => [
1111
- (d(), S(F, null, ne(r, (b, y) => o(ce, {
1112
- key: y,
1125
+ default: a(() => [
1126
+ o(Se, { dense: "" }, {
1127
+ default: a(() => [
1128
+ (d(), S(U, null, oe(r, (_, x) => o(pe, {
1129
+ key: x,
1113
1130
  cols: "12",
1114
1131
  md: "6"
1115
1132
  }, {
1116
- default: n(() => [
1117
- o(Ue, {
1118
- value: b.value
1133
+ default: a(() => [
1134
+ o(je, {
1135
+ value: _.value
1119
1136
  }, {
1120
- default: n(({ toggle: $, isSelected: B }) => [
1121
- o(Ye, null, {
1122
- default: n(({ props: I, isHovering: W }) => [
1123
- o(P, J({
1124
- color: B ? "primary" : "surface-variant",
1125
- disabled: b.disabled,
1126
- image: b.image,
1127
- "prepend-icon": b.prependIcon,
1128
- ripple: !b.disabled,
1129
- subtitle: b.disabled ? "In Development" : b.subtitle,
1130
- title: b.title,
1137
+ default: a(({ toggle: L, isSelected: z }) => [
1138
+ o(Ce, null, {
1139
+ default: a(({ props: T, isHovering: M }) => [
1140
+ o(R, H({
1141
+ color: z ? "primary" : "surface-variant",
1142
+ disabled: _.disabled,
1143
+ image: _.image,
1144
+ "prepend-icon": _.prependIcon,
1145
+ ripple: !_.disabled,
1146
+ subtitle: _.disabled ? "In Development" : _.subtitle,
1147
+ title: _.title,
1131
1148
  height: "76",
1132
1149
  variant: "tonal"
1133
- }, I, { onClick: $ }), {
1134
- image: n(() => [
1135
- o(je, {
1136
- style: Re({
1137
- filter: B || W ? "none" : "grayscale(100%)"
1150
+ }, T, { onClick: L }), {
1151
+ image: a(() => [
1152
+ o(Le, {
1153
+ style: Ze({
1154
+ filter: z || M ? "none" : "grayscale(100%)"
1138
1155
  })
1139
1156
  }, null, 8, ["style"])
1140
1157
  ]),
@@ -1155,65 +1172,65 @@ const Ke = oe("settings", () => {
1155
1172
  ]),
1156
1173
  _: 1
1157
1174
  }, 8, ["modelValue"]),
1158
- e(i).isSubscriber ? (d(), S(F, { key: 0 }, [
1159
- o(E, { class: "mt-6 mb-4" }),
1160
- o(C)
1161
- ], 64)) : x("", !0)
1175
+ t(i).isSubscriber ? (d(), S(U, { key: 0 }, [
1176
+ o(W, { class: "mt-6 mb-4" }),
1177
+ o(b)
1178
+ ], 64)) : $("", !0)
1162
1179
  ]),
1163
1180
  _: 1
1164
1181
  }),
1165
- o(E),
1166
- o(X, { class: "px-7" }, {
1167
- default: n(() => [
1168
- o(g, {
1182
+ o(W),
1183
+ o(ee, { class: "px-7" }, {
1184
+ default: a(() => [
1185
+ o(m, {
1169
1186
  text: "These options change your browsing experience within Vuetify properties",
1170
1187
  title: "Experience"
1171
1188
  }),
1172
- e(i).isSubscriber ? (d(), m(_, {
1189
+ t(i).isSubscriber ? (d(), v(V, {
1173
1190
  key: 0,
1174
- modelValue: e(a).disableAds,
1175
- "onUpdate:modelValue": p[1] || (p[1] = (b) => e(a).disableAds = b),
1191
+ modelValue: t(s).disableAds,
1192
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => t(s).disableAds = _),
1176
1193
  class: "mb-2",
1177
1194
  label: "Disable Ads",
1178
1195
  messages: "Disable traditional advertisements on all documentation pages."
1179
- }, null, 8, ["modelValue"])) : x("", !0),
1180
- o(_, {
1181
- modelValue: e(a).quickbar,
1182
- "onUpdate:modelValue": p[2] || (p[2] = (b) => e(a).quickbar = b),
1196
+ }, null, 8, ["modelValue"])) : $("", !0),
1197
+ o(V, {
1198
+ modelValue: t(s).quickbar,
1199
+ "onUpdate:modelValue": u[2] || (u[2] = (_) => t(s).quickbar = _),
1183
1200
  label: "Enable Quick Actions",
1184
1201
  messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
1185
1202
  }, null, 8, ["modelValue"])
1186
1203
  ]),
1187
1204
  _: 1
1188
1205
  }),
1189
- o(E),
1190
- e(i).isSubscriber ? (d(), m(X, {
1206
+ o(W),
1207
+ t(i).isSubscriber ? (d(), v(ee, {
1191
1208
  key: 0,
1192
1209
  class: "px-7"
1193
1210
  }, {
1194
- default: n(() => [
1195
- o(g, {
1211
+ default: a(() => [
1212
+ o(m, {
1196
1213
  text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
1197
1214
  title: "Communication"
1198
1215
  }),
1199
- o(_, {
1200
- modelValue: e(a).notifications.show,
1201
- "onUpdate:modelValue": p[3] || (p[3] = (b) => e(a).notifications.show = b),
1216
+ o(V, {
1217
+ modelValue: t(s).notifications.show,
1218
+ "onUpdate:modelValue": u[3] || (u[3] = (_) => t(s).notifications.show = _),
1202
1219
  class: "mb-2",
1203
1220
  label: "Enable Notifications",
1204
1221
  messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
1205
1222
  }, null, 8, ["modelValue"]),
1206
- e(a).notifications.show ? (d(), m(_, {
1223
+ t(s).notifications.show ? (d(), v(V, {
1207
1224
  key: 0,
1208
- modelValue: e(a).notifications.banners,
1209
- "onUpdate:modelValue": p[4] || (p[4] = (b) => e(a).notifications.banners = b),
1225
+ modelValue: t(s).notifications.banners,
1226
+ "onUpdate:modelValue": u[4] || (u[4] = (_) => t(s).notifications.banners = _),
1210
1227
  class: "mb-2",
1211
1228
  label: "Enable Banners",
1212
1229
  messages: "Banners are located at the top of the screen and provide a callout for important information."
1213
- }, null, 8, ["modelValue"])) : x("", !0)
1230
+ }, null, 8, ["modelValue"])) : $("", !0)
1214
1231
  ]),
1215
1232
  _: 1
1216
- })) : x("", !0)
1233
+ })) : $("", !0)
1217
1234
  ]),
1218
1235
  _: 1
1219
1236
  })
@@ -1225,60 +1242,60 @@ const Ke = oe("settings", () => {
1225
1242
  }, 8, ["modelValue", "prepend-icon"]);
1226
1243
  };
1227
1244
  }
1228
- }), $o = /* @__PURE__ */ k({
1245
+ }), Ao = /* @__PURE__ */ k({
1229
1246
  __name: "VoSettingsListItem",
1230
- setup(u) {
1231
- const t = N(!1);
1232
- return (i, s) => {
1233
- const l = ko, a = Q;
1234
- return d(), m(a, {
1235
- active: t.value,
1236
- "prepend-icon": `svg:${e(Vt)}`,
1247
+ setup(p) {
1248
+ const e = D(!1);
1249
+ return (i, n) => {
1250
+ const l = Io, s = X;
1251
+ return d(), v(s, {
1252
+ active: e.value,
1253
+ "prepend-icon": `svg:${t(Dt)}`,
1237
1254
  title: "Settings",
1238
1255
  link: ""
1239
1256
  }, {
1240
- default: n(() => [
1257
+ default: a(() => [
1241
1258
  o(l, {
1242
- modelValue: t.value,
1243
- "onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r)
1259
+ modelValue: e.value,
1260
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
1244
1261
  }, null, 8, ["modelValue"])
1245
1262
  ]),
1246
1263
  _: 1
1247
1264
  }, 8, ["active", "prepend-icon"]);
1248
1265
  };
1249
1266
  }
1250
- }), xo = { class: "text-caption" }, wo = /* @__PURE__ */ k({
1267
+ }), Do = { class: "text-caption" }, Uo = /* @__PURE__ */ k({
1251
1268
  __name: "VoSubscriptionInvoices",
1252
- setup(u) {
1253
- const t = be(), i = q();
1254
- return (s, l) => {
1255
- const a = pe;
1256
- return d(), m(ye, null, {
1257
- default: n(() => [
1258
- o(ce, { cols: "12" }, {
1259
- default: n(() => [
1260
- o(a, {
1269
+ setup(p) {
1270
+ const e = we(), i = j();
1271
+ return (n, l) => {
1272
+ const s = ge;
1273
+ return d(), v(Se, null, {
1274
+ default: a(() => [
1275
+ o(pe, { cols: "12" }, {
1276
+ default: a(() => [
1277
+ o(s, {
1261
1278
  text: "View and download your invoice history.",
1262
1279
  title: "Invoice History"
1263
1280
  }),
1264
- o(P, {
1281
+ o(R, {
1265
1282
  height: "450",
1266
1283
  rounded: "lg",
1267
1284
  border: ""
1268
1285
  }, {
1269
- default: n(() => [
1270
- o(eo, {
1271
- items: e(i).invoices,
1272
- loading: e(i).isLoading,
1286
+ default: a(() => [
1287
+ o(ro, {
1288
+ items: t(i).invoices,
1289
+ loading: t(i).isLoading,
1273
1290
  sticky: ""
1274
1291
  }, {
1275
- "item.date": n(({ item: r }) => [
1276
- v("div", xo, D(e(t).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
1292
+ "item.date": a(({ item: r }) => [
1293
+ h("div", Do, C(t(e).format(new Date(r.date * 1e3), "fullDateWithWeekday")), 1)
1277
1294
  ]),
1278
- "item.amount": n(({ item: r }) => [
1279
- O(" $" + D(r.amount / 100), 1)
1295
+ "item.amount": a(({ item: r }) => [
1296
+ B(" $" + C(r.amount / 100), 1)
1280
1297
  ]),
1281
- "item.status": n(({ item: r }) => [
1298
+ "item.status": a(({ item: r }) => [
1282
1299
  o(Y, {
1283
1300
  text: r.status,
1284
1301
  border: "success sm",
@@ -1289,10 +1306,10 @@ const Ke = oe("settings", () => {
1289
1306
  label: ""
1290
1307
  }, null, 8, ["text"])
1291
1308
  ]),
1292
- "item.pdf": n(({ item: r }) => [
1293
- o(Z, {
1309
+ "item.pdf": a(({ item: r }) => [
1310
+ o(q, {
1294
1311
  href: r.pdf,
1295
- icon: `svg:${e(kt)}`,
1312
+ icon: `svg:${t(Ut)}`,
1296
1313
  size: "small",
1297
1314
  target: "_blank",
1298
1315
  variant: "text"
@@ -1311,93 +1328,93 @@ const Ke = oe("settings", () => {
1311
1328
  });
1312
1329
  };
1313
1330
  }
1314
- }), So = { class: "d-flex align-center" }, Co = {
1331
+ }), Bo = { class: "d-flex align-center" }, No = {
1315
1332
  key: "status",
1316
1333
  class: "text-capitalize hidden-sm-and-down"
1317
- }, Lo = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Io = { class: "me-1" }, Ao = { class: "text-medium-emphasis text-caption" }, Do = { class: "d-flex align-start justify-space-between text-caption py-2" }, Uo = { class: "font-weight-bold" }, Fo = { class: "font-weight-bold" }, No = /* @__PURE__ */ k({
1334
+ }, Oo = /* @__PURE__ */ h("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Fo = { class: "me-1" }, zo = { class: "text-medium-emphasis text-caption" }, jo = { class: "d-flex align-start justify-space-between text-caption py-2" }, To = { class: "font-weight-bold" }, Mo = { class: "font-weight-bold" }, Ro = /* @__PURE__ */ k({
1318
1335
  __name: "VoSubscriptionStatus",
1319
1336
  emits: ["change:subscription"],
1320
- setup(u, { emit: t }) {
1321
- const i = be(), s = q(), l = t, a = L(() => {
1322
- if (!s.info)
1337
+ setup(p, { emit: e }) {
1338
+ const i = we(), n = j(), l = e, s = w(() => {
1339
+ if (!n.info)
1323
1340
  return;
1324
- const c = new Date(s.info.currentPeriodEnd * 1e3);
1341
+ const c = new Date(n.info.currentPeriodEnd * 1e3);
1325
1342
  return i.format(c, "keyboardDate");
1326
1343
  });
1327
1344
  async function r() {
1328
- s.interval && (s.isLoading = !0, s.subscribe(s.interval));
1345
+ n.interval && (n.isLoading = !0, n.subscribe(n.interval));
1329
1346
  }
1330
- return (c, h) => {
1331
- const p = de;
1332
- return d(), m(ye, null, {
1333
- default: n(() => [
1334
- o(ce, { cols: "12" }, {
1335
- default: n(() => {
1336
- var g, C;
1347
+ return (c, f) => {
1348
+ const u = ae;
1349
+ return d(), v(Se, null, {
1350
+ default: a(() => [
1351
+ o(pe, { cols: "12" }, {
1352
+ default: a(() => {
1353
+ var m, b;
1337
1354
  return [
1338
- o(P, {
1355
+ o(R, {
1339
1356
  "prepend-icon": "$vuetify",
1340
1357
  rounded: "lg",
1341
1358
  title: "Subscription Status",
1342
1359
  border: "",
1343
1360
  flat: ""
1344
1361
  }, G({
1345
- append: n(() => {
1346
- var _;
1362
+ append: a(() => {
1363
+ var V;
1347
1364
  return [
1348
- e(s).hasBilling && ((_ = e(s).info) == null ? void 0 : _.status) === "canceled" ? (d(), m(p, {
1365
+ t(n).hasBilling && ((V = t(n).info) == null ? void 0 : V.status) === "canceled" ? (d(), v(u, {
1349
1366
  key: 0,
1350
- loading: e(s).isLoading,
1367
+ loading: t(n).isLoading,
1351
1368
  class: "me-2",
1352
1369
  color: "success",
1353
1370
  "prepend-icon": "$success",
1354
1371
  text: "Activate",
1355
1372
  variant: "outlined",
1356
1373
  onClick: r
1357
- }, null, 8, ["loading"])) : x("", !0),
1358
- e(s).hasBilling ? (d(), m(p, {
1374
+ }, null, 8, ["loading"])) : $("", !0),
1375
+ t(n).hasBilling ? (d(), v(u, {
1359
1376
  key: 1,
1360
- loading: e(s).isLoading,
1361
- "prepend-icon": `svg:${e($t)}`,
1377
+ loading: t(n).isLoading,
1378
+ "prepend-icon": `svg:${t(Bt)}`,
1362
1379
  text: "Billing",
1363
- onClick: e(s).manage
1364
- }, null, 8, ["loading", "prepend-icon", "onClick"])) : x("", !0)
1380
+ onClick: t(n).manage
1381
+ }, null, 8, ["loading", "prepend-icon", "onClick"])) : $("", !0)
1365
1382
  ];
1366
1383
  }),
1367
1384
  _: 2
1368
1385
  }, [
1369
- e(s).info ? {
1386
+ t(n).info ? {
1370
1387
  name: "subtitle",
1371
- fn: n(() => [
1372
- v("div", So, [
1373
- v("span", Co, D(e(s).info.status), 1),
1374
- e(s).info.items.length ? (d(), S(F, { key: 0 }, [
1375
- Lo,
1376
- v("span", Io, [
1377
- O(" $" + D(e(s).info.items[0].plan.amount / 100), 1),
1378
- v("span", Ao, "/" + D(e(s).interval), 1)
1388
+ fn: a(() => [
1389
+ h("div", Bo, [
1390
+ h("span", No, C(t(n).info.status), 1),
1391
+ t(n).info.items.length ? (d(), S(U, { key: 0 }, [
1392
+ Oo,
1393
+ h("span", Fo, [
1394
+ B(" $" + C(t(n).info.items[0].plan.amount / 100), 1),
1395
+ h("span", zo, "/" + C(t(n).interval), 1)
1379
1396
  ]),
1380
- o(p, {
1397
+ o(u, {
1381
1398
  size: "x-small",
1382
1399
  text: "(Change Subscription)",
1383
1400
  variant: "text",
1384
- onClick: h[0] || (h[0] = (_) => l("change:subscription"))
1401
+ onClick: f[0] || (f[0] = (V) => l("change:subscription"))
1385
1402
  })
1386
- ], 64)) : x("", !0)
1403
+ ], 64)) : $("", !0)
1387
1404
  ])
1388
1405
  ]),
1389
1406
  key: "0"
1390
1407
  } : {
1391
1408
  name: "subtitle",
1392
- fn: n(() => [
1393
- v("div", { class: "d-flex align-center" }, [
1394
- o(Te, {
1409
+ fn: a(() => [
1410
+ h("div", { class: "d-flex align-center" }, [
1411
+ o(Ye, {
1395
1412
  height: "16",
1396
1413
  type: "ossein",
1397
1414
  width: "40"
1398
1415
  }),
1399
- v("span", { class: "mx-1" }, "—"),
1400
- o(Te, {
1416
+ h("span", { class: "mx-1" }, "—"),
1417
+ o(Ye, {
1401
1418
  height: "16",
1402
1419
  type: "ossein",
1403
1420
  width: "80"
@@ -1407,16 +1424,16 @@ const Ke = oe("settings", () => {
1407
1424
  key: "1"
1408
1425
  }
1409
1426
  ]), 1024),
1410
- v("div", Do, [
1411
- v("div", null, [
1412
- ((g = e(s).info) == null ? void 0 : g.status) === "active" ? (d(), S(F, { key: 0 }, [
1413
- O(" Your plan renews on "),
1414
- v("span", Uo, D(e(i).format(a.value, "fullDateWithWeekday")), 1),
1415
- O(". ")
1416
- ], 64)) : (d(), S(F, { key: 1 }, [
1417
- O(" Your plan ends on "),
1418
- v("span", Fo, D(e(i).format((C = e(s).info) == null ? void 0 : C.currentPeriodEnd, "fullDateWithWeekday")), 1),
1419
- O(". ")
1427
+ h("div", jo, [
1428
+ h("div", null, [
1429
+ ((m = t(n).info) == null ? void 0 : m.status) === "active" ? (d(), S(U, { key: 0 }, [
1430
+ B(" Your plan renews on "),
1431
+ h("span", To, C(t(i).format(s.value, "fullDateWithWeekday")), 1),
1432
+ B(". ")
1433
+ ], 64)) : (d(), S(U, { key: 1 }, [
1434
+ B(" Your plan ends on "),
1435
+ h("span", Mo, C(t(i).format((b = t(n).info) == null ? void 0 : b.currentPeriodEnd, "fullDateWithWeekday")), 1),
1436
+ B(". ")
1420
1437
  ], 64))
1421
1438
  ])
1422
1439
  ])
@@ -1429,10 +1446,10 @@ const Ke = oe("settings", () => {
1429
1446
  });
1430
1447
  };
1431
1448
  }
1432
- }), Oo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Bo = ["innerHTML"], jo = /* @__PURE__ */ v("br", null, null, -1), zo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), To = ["innerHTML"], Ro = /* @__PURE__ */ k({
1449
+ }), Po = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Ho = ["innerHTML"], Eo = /* @__PURE__ */ h("br", null, null, -1), Wo = /* @__PURE__ */ h("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Go = ["innerHTML"], qo = /* @__PURE__ */ k({
1433
1450
  __name: "VoSubscriptionPerks",
1434
- setup(u) {
1435
- const t = [
1451
+ setup(p) {
1452
+ const e = [
1436
1453
  "Ad Free Experience on all Vuetify properties",
1437
1454
  'Save and share code snippets with <a href="https://vbin.io/" target="_blank">VBin</a>',
1438
1455
  'Pinned Navigation Items and Rail drawer in <a href="https://vuetifyjs.com/" target="_blank">Documentation</a>',
@@ -1442,74 +1459,74 @@ const Ke = oe("settings", () => {
1442
1459
  'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
1443
1460
  'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
1444
1461
  "Receive a special label on GitHub created issues and pull requests"
1445
- ], s = N(!1), l = q();
1446
- return z(s, async (a) => {
1447
- a && l.subscriptionInfo();
1448
- }), (a, r) => {
1449
- const c = Q;
1450
- return d(), S(F, null, [
1451
- o(De, { class: "font-weight-black" }, {
1452
- default: n(() => [
1453
- O("Perks")
1462
+ ], n = D(!1), l = j();
1463
+ return N(n, async (s) => {
1464
+ s && l.subscriptionInfo();
1465
+ }), (s, r) => {
1466
+ const c = X;
1467
+ return d(), S(U, null, [
1468
+ o(ze, { class: "font-weight-black" }, {
1469
+ default: a(() => [
1470
+ B("Perks")
1454
1471
  ]),
1455
1472
  _: 1
1456
1473
  }),
1457
- Oo,
1458
- o(ie, {
1474
+ Po,
1475
+ o(te, {
1459
1476
  lines: !1,
1460
1477
  class: "py-0",
1461
1478
  density: "compact",
1462
1479
  nav: ""
1463
1480
  }, {
1464
- default: n(() => [
1465
- (d(), S(F, null, ne(t, (h, p) => o(c, {
1466
- key: p,
1467
- "prepend-icon": `svg:${e(se)}`,
1481
+ default: a(() => [
1482
+ (d(), S(U, null, oe(e, (f, u) => o(c, {
1483
+ key: u,
1484
+ "prepend-icon": `svg:${t(re)}`,
1468
1485
  class: "mb-0"
1469
1486
  }, {
1470
- prepend: n(() => [
1471
- o(U, {
1487
+ prepend: a(() => [
1488
+ o(A, {
1472
1489
  class: "mx-n2",
1473
1490
  color: "success",
1474
1491
  size: "small"
1475
1492
  })
1476
1493
  ]),
1477
- title: n(() => [
1478
- v("div", { innerHTML: h }, null, 8, Bo)
1494
+ title: a(() => [
1495
+ h("div", { innerHTML: f }, null, 8, Ho)
1479
1496
  ]),
1480
1497
  _: 2
1481
1498
  }, 1032, ["prepend-icon"])), 64))
1482
1499
  ]),
1483
1500
  _: 1
1484
1501
  }),
1485
- jo,
1486
- o(De, { class: "font-weight-black" }, {
1487
- default: n(() => [
1488
- O("Up Next")
1502
+ Eo,
1503
+ o(ze, { class: "font-weight-black" }, {
1504
+ default: a(() => [
1505
+ B("Up Next")
1489
1506
  ]),
1490
1507
  _: 1
1491
1508
  }),
1492
- zo,
1493
- o(ie, {
1509
+ Wo,
1510
+ o(te, {
1494
1511
  lines: !1,
1495
1512
  class: "py-0",
1496
1513
  density: "compact",
1497
1514
  nav: ""
1498
1515
  }, {
1499
- default: n(() => [
1500
- (d(), S(F, null, ne(i, (h, p) => o(c, {
1501
- key: p,
1502
- "prepend-icon": `svg:${e(xt)}`,
1516
+ default: a(() => [
1517
+ (d(), S(U, null, oe(i, (f, u) => o(c, {
1518
+ key: u,
1519
+ "prepend-icon": `svg:${t(Nt)}`,
1503
1520
  class: "mb-0"
1504
1521
  }, {
1505
- prepend: n(() => [
1506
- o(U, {
1522
+ prepend: a(() => [
1523
+ o(A, {
1507
1524
  class: "mx-n2",
1508
1525
  size: "small"
1509
1526
  })
1510
1527
  ]),
1511
- title: n(() => [
1512
- v("div", { innerHTML: h }, null, 8, To)
1528
+ title: a(() => [
1529
+ h("div", { innerHTML: f }, null, 8, Go)
1513
1530
  ]),
1514
1531
  _: 2
1515
1532
  }, 1032, ["prepend-icon"])), 64))
@@ -1519,7 +1536,7 @@ const Ke = oe("settings", () => {
1519
1536
  ], 64);
1520
1537
  };
1521
1538
  }
1522
- }), Ho = /* @__PURE__ */ k({
1539
+ }), Yo = /* @__PURE__ */ k({
1523
1540
  __name: "VoSubscriptionSubscribe",
1524
1541
  props: {
1525
1542
  modelValue: {
@@ -1528,39 +1545,39 @@ const Ke = oe("settings", () => {
1528
1545
  modelModifiers: {}
1529
1546
  },
1530
1547
  emits: ["update:modelValue"],
1531
- setup(u) {
1532
- const t = N(!1), i = ae(u, "modelValue"), s = q();
1533
- return z(t, async (l) => {
1534
- l && s.subscriptionInfo();
1535
- }), z(() => s.interval, (l) => {
1548
+ setup(p) {
1549
+ const e = D(!1), i = le(p, "modelValue"), n = j();
1550
+ return N(e, async (l) => {
1551
+ l && n.subscriptionInfo();
1552
+ }), N(() => n.interval, (l) => {
1536
1553
  i.value = l;
1537
- }, { immediate: !0 }), (l, a) => (d(), m(Qe, {
1554
+ }, { immediate: !0 }), (l, s) => (d(), v(nt, {
1538
1555
  modelValue: i.value,
1539
- "onUpdate:modelValue": a[0] || (a[0] = (r) => i.value = r),
1556
+ "onUpdate:modelValue": s[0] || (s[0] = (r) => i.value = r),
1540
1557
  mandatory: ""
1541
1558
  }, {
1542
- default: n(() => [
1543
- o(ye, null, {
1544
- default: n(() => [
1545
- o(ce, {
1559
+ default: a(() => [
1560
+ o(Se, null, {
1561
+ default: a(() => [
1562
+ o(pe, {
1546
1563
  cols: "12",
1547
1564
  md: "6"
1548
1565
  }, {
1549
- default: n(() => [
1550
- o(Ue, { value: "month" }, {
1551
- default: n(({ toggle: r, isSelected: c }) => [
1552
- o(P, {
1566
+ default: a(() => [
1567
+ o(je, { value: "month" }, {
1568
+ default: a(({ toggle: r, isSelected: c }) => [
1569
+ o(R, {
1553
1570
  border: c ? "sm primary opacity-100" : "sm",
1554
1571
  color: c ? "primary" : void 0,
1555
- "prepend-icon": c ? `svg:${e(le)}` : "$radioOff",
1572
+ "prepend-icon": c ? `svg:${t(de)}` : "$radioOff",
1556
1573
  variant: c ? "tonal" : "text",
1557
1574
  rounded: "lg",
1558
1575
  subtitle: "$2.99/month",
1559
1576
  title: "Monthly",
1560
1577
  onClick: r
1561
1578
  }, {
1562
- prepend: n(() => [
1563
- o(U, { class: "mt-n6" })
1579
+ prepend: a(() => [
1580
+ o(A, { class: "mt-n6" })
1564
1581
  ]),
1565
1582
  _: 2
1566
1583
  }, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
@@ -1570,27 +1587,27 @@ const Ke = oe("settings", () => {
1570
1587
  ]),
1571
1588
  _: 1
1572
1589
  }),
1573
- o(ce, {
1590
+ o(pe, {
1574
1591
  cols: "12",
1575
1592
  md: "6"
1576
1593
  }, {
1577
- default: n(() => [
1578
- o(Ue, { value: "year" }, {
1579
- default: n(({ toggle: r, isSelected: c }) => [
1580
- o(P, {
1594
+ default: a(() => [
1595
+ o(je, { value: "year" }, {
1596
+ default: a(({ toggle: r, isSelected: c }) => [
1597
+ o(R, {
1581
1598
  border: c ? "sm primary opacity-100" : "sm",
1582
1599
  color: c ? "primary" : void 0,
1583
- "prepend-icon": c ? `svg:${e(le)}` : "$radioOff",
1600
+ "prepend-icon": c ? `svg:${t(de)}` : "$radioOff",
1584
1601
  variant: c ? "tonal" : "text",
1585
1602
  rounded: "lg",
1586
1603
  subtitle: "$29.99/year",
1587
1604
  title: "Yearly",
1588
1605
  onClick: r
1589
1606
  }, {
1590
- prepend: n(() => [
1591
- o(U, { class: "mt-n6" })
1607
+ prepend: a(() => [
1608
+ o(A, { class: "mt-n6" })
1592
1609
  ]),
1593
- append: n(() => [
1610
+ append: a(() => [
1594
1611
  o(Y, {
1595
1612
  class: "mt-n6",
1596
1613
  color: "success",
@@ -1614,67 +1631,67 @@ const Ke = oe("settings", () => {
1614
1631
  _: 1
1615
1632
  }, 8, ["modelValue"]));
1616
1633
  }
1617
- }), Mo = { class: "px-3" }, Po = /* @__PURE__ */ v("br", null, null, -1), Eo = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Wo = /* @__PURE__ */ k({
1634
+ }), Zo = { class: "px-3" }, Qo = /* @__PURE__ */ h("br", null, null, -1), Jo = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Xo = /* @__PURE__ */ k({
1618
1635
  __name: "VoSubscriptionDialog",
1619
1636
  props: {
1620
1637
  modelValue: { type: Boolean },
1621
1638
  modelModifiers: {}
1622
1639
  },
1623
1640
  emits: ["update:modelValue"],
1624
- setup(u) {
1625
- function t(p) {
1626
- return new Promise((g) => setTimeout(g, p));
1641
+ setup(p) {
1642
+ function e(u) {
1643
+ return new Promise((m) => setTimeout(m, u));
1627
1644
  }
1628
- const i = ae(u, "modelValue"), s = q(), l = Se(), a = N(s.interval), r = N(s.hasBilling ? "status" : "subscribe"), c = N(!1);
1629
- z(a, (p) => {
1630
- !s.isSubscriber || !s.interval || (c.value = p !== s.interval);
1631
- }), z(i, async (p) => {
1632
- !p || !s.isSubscriber || s.subscriptionInfo();
1633
- }), z(l, async () => {
1634
- !s.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = s.sessionId || l.value.one === "status" ? "status" : "subscribe", s.isOpen = !0, await _e(), i.value = !0);
1645
+ const i = le(p, "modelValue"), n = j(), l = be(), s = D(n.interval), r = D(n.hasBilling ? "status" : "subscribe"), c = D(!1);
1646
+ N(s, (u) => {
1647
+ !n.isSubscriber || !n.interval || (c.value = u !== n.interval);
1648
+ }), N(i, async (u) => {
1649
+ !u || !n.isSubscriber || n.subscriptionInfo();
1650
+ }), N(l, async () => {
1651
+ !n.sessionId && !["subscribe", "status"].includes(l.value.one) || (r.value = n.sessionId || l.value.one === "status" ? "status" : "subscribe", n.isOpen = !0, await me(), i.value = !0);
1635
1652
  }, { immediate: !0 });
1636
- async function h() {
1637
- await s.modify(a.value), await s.subscriptionInfo(), c.value = null, await t(3e3), r.value = "status", await t(300), c.value = !1;
1653
+ async function f() {
1654
+ await n.modify(s.value), await n.subscriptionInfo(), c.value = null, await e(3e3), r.value = "status", await e(300), c.value = !1;
1638
1655
  }
1639
- return (p, g) => {
1640
- const C = pe, _ = Ho, w = Ro, b = No, y = wo, $ = de, B = we;
1641
- return d(), m(B, {
1656
+ return (u, m) => {
1657
+ const b = ge, V = Yo, y = qo, _ = Ro, x = Uo, L = ae, z = Ue;
1658
+ return d(), v(z, {
1642
1659
  modelValue: i.value,
1643
- "onUpdate:modelValue": g[4] || (g[4] = (I) => i.value = I),
1644
- "prepend-icon": `svg:${e(wt)}`,
1660
+ "onUpdate:modelValue": m[4] || (m[4] = (T) => i.value = T),
1661
+ "prepend-icon": `svg:${t(Ot)}`,
1645
1662
  title: "Subscriptions"
1646
1663
  }, G({
1647
- default: n(() => [
1648
- o(Ve, null, {
1649
- default: n(() => [
1650
- o(ke, { scrollable: "" }, {
1651
- default: n(() => [
1652
- v("div", Mo, [
1653
- o(X, null, {
1654
- default: n(() => [
1655
- o(C, {
1664
+ default: a(() => [
1665
+ o(Ie, null, {
1666
+ default: a(() => [
1667
+ o(Ae, { scrollable: "" }, {
1668
+ default: a(() => [
1669
+ h("div", Zo, [
1670
+ o(ee, null, {
1671
+ default: a(() => [
1672
+ o(b, {
1656
1673
  text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
1657
1674
  title: "Vuetify One"
1658
1675
  }),
1659
- o(Je, { "model-value": r.value }, {
1660
- default: n(() => [
1661
- o(ve, { value: "subscribe" }, {
1662
- default: n(() => [
1663
- o(_, {
1664
- modelValue: a.value,
1665
- "onUpdate:modelValue": g[0] || (g[0] = (I) => a.value = I)
1676
+ o(st, { "model-value": r.value }, {
1677
+ default: a(() => [
1678
+ o(ue, { value: "subscribe" }, {
1679
+ default: a(() => [
1680
+ o(V, {
1681
+ modelValue: s.value,
1682
+ "onUpdate:modelValue": m[0] || (m[0] = (T) => s.value = T)
1666
1683
  }, null, 8, ["modelValue"]),
1667
- Po,
1668
- o(w)
1684
+ Qo,
1685
+ o(y)
1669
1686
  ]),
1670
1687
  _: 1
1671
1688
  }),
1672
- o(ve, { value: "status" }, {
1673
- default: n(() => [
1674
- o(b, {
1675
- "onChange:subscription": g[1] || (g[1] = (I) => r.value = "subscribe")
1689
+ o(ue, { value: "status" }, {
1690
+ default: a(() => [
1691
+ o(_, {
1692
+ "onChange:subscription": m[1] || (m[1] = (T) => r.value = "subscribe")
1676
1693
  }),
1677
- o(y)
1694
+ o(x)
1678
1695
  ]),
1679
1696
  _: 1
1680
1697
  })
@@ -1696,35 +1713,35 @@ const Ke = oe("settings", () => {
1696
1713
  }, [
1697
1714
  r.value === "subscribe" ? {
1698
1715
  name: "actions",
1699
- fn: n(() => [
1700
- v("div", Eo, [
1701
- c.value !== !1 ? (d(), m($, {
1716
+ fn: a(() => [
1717
+ h("div", Jo, [
1718
+ c.value !== !1 ? (d(), v(L, {
1702
1719
  key: 0,
1703
- loading: e(s).isLoading,
1704
- "prepend-icon": `svg:${c.value !== null ? e(St) : e(le)}`,
1720
+ loading: t(n).isLoading,
1721
+ "prepend-icon": `svg:${c.value !== null ? t(Ft) : t(de)}`,
1705
1722
  readonly: c.value === null,
1706
1723
  text: c.value !== null ? "Modify Subscription" : "Success",
1707
1724
  color: "success",
1708
1725
  size: "default",
1709
1726
  block: "",
1710
- onClick: h
1711
- }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(s).isSubscriber ? (d(), m($, {
1727
+ onClick: f
1728
+ }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(n).isSubscriber ? (d(), v(L, {
1712
1729
  key: 2,
1713
- "prepend-icon": `svg:${e(Ct)}`,
1730
+ "prepend-icon": `svg:${t(zt)}`,
1714
1731
  size: "default",
1715
1732
  text: "Manage Subscription",
1716
1733
  block: "",
1717
- onClick: g[3] || (g[3] = (I) => r.value = "status")
1718
- }, null, 8, ["prepend-icon"])) : (d(), m($, {
1734
+ onClick: m[3] || (m[3] = (T) => r.value = "status")
1735
+ }, null, 8, ["prepend-icon"])) : (d(), v(L, {
1719
1736
  key: 1,
1720
- color: a.value ? "primary" : "disabled",
1721
- disabled: !a.value,
1722
- loading: e(s).isLoading,
1737
+ color: s.value ? "primary" : "disabled",
1738
+ disabled: !s.value,
1739
+ loading: t(n).isLoading,
1723
1740
  "prepend-icon": "$vuetify",
1724
1741
  size: "default",
1725
1742
  text: "Activate Subscription",
1726
1743
  block: "",
1727
- onClick: g[2] || (g[2] = (I) => e(s).subscribe(a.value))
1744
+ onClick: m[2] || (m[2] = (T) => t(n).subscribe(s.value))
1728
1745
  }, null, 8, ["color", "disabled", "loading"]))
1729
1746
  ])
1730
1747
  ]),
@@ -1733,283 +1750,303 @@ const Ke = oe("settings", () => {
1733
1750
  ]), 1032, ["modelValue", "prepend-icon"]);
1734
1751
  };
1735
1752
  }
1736
- }), qo = /* @__PURE__ */ k({
1753
+ }), Ko = /* @__PURE__ */ k({
1737
1754
  __name: "VoSubscriptionListItem",
1738
- setup(u) {
1739
- const t = N(!1);
1740
- return (i, s) => {
1741
- const l = Wo, a = Q;
1742
- return d(), m(a, {
1743
- active: t.value,
1744
- "prepend-icon": `svg:${e(Lt)}`,
1755
+ setup(p) {
1756
+ const e = D(!1);
1757
+ return (i, n) => {
1758
+ const l = Xo, s = X;
1759
+ return d(), v(s, {
1760
+ active: e.value,
1761
+ "prepend-icon": `svg:${t(jt)}`,
1745
1762
  title: "Subscriptions",
1746
1763
  link: ""
1747
1764
  }, {
1748
- default: n(() => [
1765
+ default: a(() => [
1749
1766
  o(l, {
1750
- modelValue: t.value,
1751
- "onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r)
1767
+ modelValue: e.value,
1768
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
1752
1769
  }, null, 8, ["modelValue"])
1753
1770
  ]),
1754
1771
  _: 1
1755
1772
  }, 8, ["active", "prepend-icon"]);
1756
1773
  };
1757
1774
  }
1758
- }), Go = { class: "px-3 pb-5 d-flex flex-column" }, Yo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Jo = { class: "font-weight-bold" }, Xo = { class: "ps-16" }, Zo = { class: "text-caption text-end" }, Ko = { class: "font-weight-bold" }, es = { class: "ps-16" }, ts = { class: "text-caption text-end" }, os = { class: "font-weight-bold" }, ss = { class: "py-4" }, ns = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" }, [
1759
- /* @__PURE__ */ O(" A total of $2.99 or more unlocks "),
1760
- /* @__PURE__ */ v("span", { class: "font-weight-black" }, "all"),
1761
- /* @__PURE__ */ O(" Vuetify One benefits ")
1762
- ], -1), is = /* @__PURE__ */ k({
1775
+ }), en = { class: "ps-16" }, tn = /* @__PURE__ */ k({
1776
+ __name: "VoSponsorshipsTimelineItemPatreon",
1777
+ setup(p) {
1778
+ const e = j(), i = Be();
1779
+ return (n, l) => {
1780
+ var r, c;
1781
+ const s = ae;
1782
+ return d(), v(qe, {
1783
+ "dot-color": (r = t(e).patreon) != null && r.isActive ? "success" : "transparent",
1784
+ icon: (c = t(e).patreon) != null && c.isActive ? `svg:${t(re)}` : void 0,
1785
+ size: "x-small",
1786
+ width: "100%"
1787
+ }, {
1788
+ default: a(() => [
1789
+ o(R, {
1790
+ "prepend-avatar": t(i).CDN_URL + "/logos/patreon.png",
1791
+ rounded: "lg",
1792
+ subtitle: "Support Vuetify through Patreon.",
1793
+ title: "Patreon Subscriber",
1794
+ variant: "text",
1795
+ border: ""
1796
+ }, {
1797
+ append: a(() => {
1798
+ var f;
1799
+ return [
1800
+ h("div", en, [
1801
+ o(s, {
1802
+ text: (f = t(e).patreon) != null && f.isActive ? "Active" : "Coming Soon",
1803
+ color: "surface-variant",
1804
+ readonly: ""
1805
+ }, null, 8, ["text"])
1806
+ ])
1807
+ ];
1808
+ }),
1809
+ default: a(() => {
1810
+ var f;
1811
+ return [
1812
+ (f = t(e).patreon) != null && f.isActive ? (d(), S(U, { key: 0 }, [
1813
+ o(W),
1814
+ o(ee, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1815
+ default: a(() => [
1816
+ o(Y, {
1817
+ "prepend-icon": `svg:${t(We)}`,
1818
+ text: t(e).patreon.tierName,
1819
+ color: "success",
1820
+ variant: "text",
1821
+ label: ""
1822
+ }, null, 8, ["prepend-icon", "text"])
1823
+ ]),
1824
+ _: 1
1825
+ })
1826
+ ], 64)) : $("", !0)
1827
+ ];
1828
+ }),
1829
+ _: 1
1830
+ }, 8, ["prepend-avatar"])
1831
+ ]),
1832
+ _: 1
1833
+ }, 8, ["dot-color", "icon"]);
1834
+ };
1835
+ }
1836
+ }), on = { class: "ps-16" }, nn = /* @__PURE__ */ k({
1837
+ __name: "VoSponsorshipsTimelineItemDiscord",
1838
+ setup(p) {
1839
+ const e = j(), i = Be();
1840
+ return (n, l) => {
1841
+ var r, c;
1842
+ const s = ae;
1843
+ return d(), v(qe, {
1844
+ "dot-color": (r = t(e).discord) != null && r.isActive ? "success" : "transparent",
1845
+ icon: (c = t(e).discord) != null && c.isActive ? `svg:${t(re)}` : void 0,
1846
+ size: "x-small",
1847
+ width: "100%"
1848
+ }, {
1849
+ default: a(() => [
1850
+ o(R, {
1851
+ "prepend-avatar": t(i).CDN_URL + "/logos/discord.png",
1852
+ rounded: "lg",
1853
+ subtitle: "Support Vuetify through Discord.",
1854
+ title: "Discord Subscriber",
1855
+ variant: "text",
1856
+ border: ""
1857
+ }, {
1858
+ append: a(() => {
1859
+ var f, u, m, b, V, y;
1860
+ return [
1861
+ h("div", on, [
1862
+ o(s, {
1863
+ color: (f = t(e).discord) != null && f.isActive ? "success" : "primary",
1864
+ href: (u = t(e).discord) != null && u.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1865
+ "prepend-icon": `svg:${(m = t(e).discord) != null && m.isActive ? t(de) : t(fe)}`,
1866
+ readonly: (b = t(e).discord) == null ? void 0 : b.isActive,
1867
+ target: (V = t(e).discord) != null && V.isActive ? void 0 : "_blank",
1868
+ text: (y = t(e).discord) != null && y.isActive ? "Active" : "Info",
1869
+ width: "88"
1870
+ }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1871
+ ])
1872
+ ];
1873
+ }),
1874
+ default: a(() => {
1875
+ var f;
1876
+ return [
1877
+ (f = t(e).discord) != null && f.isActive ? (d(), S(U, { key: 0 }, [
1878
+ o(W),
1879
+ o(ee, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1880
+ default: a(() => [
1881
+ o(Y, {
1882
+ "prepend-icon": `svg:${t(We)}`,
1883
+ text: t(e).discord.tierName,
1884
+ color: "surface-variant",
1885
+ size: "small",
1886
+ variant: "text",
1887
+ label: ""
1888
+ }, null, 8, ["prepend-icon", "text"])
1889
+ ]),
1890
+ _: 1
1891
+ })
1892
+ ], 64)) : $("", !0)
1893
+ ];
1894
+ }),
1895
+ _: 1
1896
+ }, 8, ["prepend-avatar"])
1897
+ ]),
1898
+ _: 1
1899
+ }, 8, ["dot-color", "icon"]);
1900
+ };
1901
+ }
1902
+ }), sn = { class: "ps-16" }, an = /* @__PURE__ */ k({
1903
+ __name: "VoSponsorshipsTimelineItemGithub",
1904
+ setup(p) {
1905
+ const e = j(), i = Be();
1906
+ return (n, l) => {
1907
+ var r, c;
1908
+ const s = ae;
1909
+ return d(), v(qe, {
1910
+ "dot-color": (r = t(e).github) != null && r.isActive ? "success" : "transparent",
1911
+ icon: (c = t(e).github) != null && c.isActive ? `svg:${t(re)}` : void 0,
1912
+ size: "x-small",
1913
+ width: "100%"
1914
+ }, {
1915
+ default: a(() => [
1916
+ o(R, {
1917
+ "prepend-avatar": t(i).CDN_URL + "/logos/github.png",
1918
+ rounded: "lg",
1919
+ subtitle: "Support Vuetify through GitHub sponsors.",
1920
+ title: "GitHub Sponsors",
1921
+ variant: "text",
1922
+ border: ""
1923
+ }, {
1924
+ append: a(() => {
1925
+ var f, u, m, b, V, y;
1926
+ return [
1927
+ h("div", sn, [
1928
+ o(s, {
1929
+ color: (f = t(e).github) != null && f.isActive ? "success" : "primary",
1930
+ href: (u = t(e).github) != null && u.isActive ? void 0 : "https://github.com/sponsors/johnleider",
1931
+ "prepend-icon": `svg:${(m = t(e).github) != null && m.isActive ? t(de) : t(fe)}`,
1932
+ readonly: (b = t(e).github) == null ? void 0 : b.isActive,
1933
+ target: (V = t(e).github) != null && V.isActive ? void 0 : "_blank",
1934
+ text: (y = t(e).github) != null && y.isActive ? "Active" : "Info",
1935
+ width: "88"
1936
+ }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1937
+ ])
1938
+ ];
1939
+ }),
1940
+ default: a(() => {
1941
+ var f;
1942
+ return [
1943
+ (f = t(e).github) != null && f.isActive ? (d(), S(U, { key: 0 }, [
1944
+ o(W),
1945
+ o(ee, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1946
+ default: a(() => [
1947
+ o(Y, {
1948
+ "prepend-icon": `svg:${t(We)}`,
1949
+ text: t(e).github.tierName,
1950
+ color: "surface-variant",
1951
+ size: "small",
1952
+ variant: "text",
1953
+ label: ""
1954
+ }, null, 8, ["prepend-icon", "text"])
1955
+ ]),
1956
+ _: 1
1957
+ })
1958
+ ], 64)) : $("", !0)
1959
+ ];
1960
+ }),
1961
+ _: 1
1962
+ }, 8, ["prepend-avatar"])
1963
+ ]),
1964
+ _: 1
1965
+ }, 8, ["dot-color", "icon"]);
1966
+ };
1967
+ }
1968
+ }), ln = /* @__PURE__ */ k({
1969
+ __name: "VoSponsorshipsTimeline",
1970
+ setup(p) {
1971
+ return (e, i) => {
1972
+ const n = an, l = nn, s = tn;
1973
+ return d(), v(co, {
1974
+ class: "justify-start ms-n7",
1975
+ "line-inset": "12",
1976
+ side: "end",
1977
+ style: { "grid-template-columns": "auto auto 1fr" },
1978
+ "truncate-line": "both"
1979
+ }, {
1980
+ default: a(() => [
1981
+ o(n),
1982
+ o(l),
1983
+ o(s)
1984
+ ]),
1985
+ _: 1
1986
+ });
1987
+ };
1988
+ }
1989
+ }), rn = { class: "px-3 pb-5 d-flex flex-column" }, cn = { class: "py-4" }, un = /* @__PURE__ */ h("div", { class: "text-caption text-medium-emphasis" }, [
1990
+ /* @__PURE__ */ B(" A total of $2.99 or more unlocks "),
1991
+ /* @__PURE__ */ h("span", { class: "font-weight-black" }, "all"),
1992
+ /* @__PURE__ */ B(" Vuetify One benefits ")
1993
+ ], -1), dn = /* @__PURE__ */ k({
1763
1994
  __name: "VoSponsorshipsDialog",
1764
1995
  props: {
1765
1996
  modelValue: { type: Boolean },
1766
1997
  modelModifiers: {}
1767
1998
  },
1768
1999
  emits: ["update:modelValue"],
1769
- setup(u) {
1770
- const t = ae(u, "modelValue"), i = be(), s = ge(), l = Se(), a = j(), r = q(), c = Ke();
1771
- function h(p) {
1772
- return i.format(p, "fullDateWithWeekday");
1773
- }
1774
- return z(l, async () => {
1775
- l.value.one === "sponsorships" && (r.isOpen = !0, await _e(), t.value = !0);
1776
- }, { immediate: !0 }), (p, g) => {
1777
- const C = pe, _ = de, w = Me("v-empty-state"), b = we;
1778
- return d(), m(b, {
1779
- modelValue: t.value,
1780
- "onUpdate:modelValue": g[0] || (g[0] = (y) => t.value = y),
1781
- "max-height": e(s).xs.value ? void 0 : 820,
1782
- "prepend-icon": `svg:${e(It)}`,
2000
+ setup(p) {
2001
+ const e = le(p, "modelValue"), i = se(), n = be(), l = F(), s = j();
2002
+ return N(n, async () => {
2003
+ n.value.one === "sponsorships" && (s.isOpen = !0, await me(), e.value = !0);
2004
+ }, { immediate: !0 }), (r, c) => {
2005
+ const f = ge, u = ln, m = Me("v-empty-state"), b = Ue;
2006
+ return d(), v(b, {
2007
+ modelValue: e.value,
2008
+ "onUpdate:modelValue": c[0] || (c[0] = (V) => e.value = V),
2009
+ "max-height": t(i).xs.value ? void 0 : 820,
2010
+ "prepend-icon": `svg:${t(Tt)}`,
1783
2011
  title: "Sponsorships"
1784
2012
  }, {
1785
- default: n(() => [
1786
- o(Ve, null, {
1787
- default: n(() => [
1788
- o(ke, { scrollable: "" }, {
1789
- default: n(() => [
1790
- v("div", Go, [
1791
- o(X, null, {
1792
- default: n(() => [
1793
- o(C, {
2013
+ default: a(() => [
2014
+ o(Ie, null, {
2015
+ default: a(() => [
2016
+ o(Ae, { scrollable: "" }, {
2017
+ default: a(() => [
2018
+ h("div", rn, [
2019
+ o(ee, null, {
2020
+ default: a(() => [
2021
+ o(f, {
1794
2022
  text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
1795
2023
  title: "Support Vuetify"
1796
2024
  }),
1797
- o(to, {
1798
- class: "justify-start ms-n7",
1799
- "line-inset": "12",
1800
- side: "end",
1801
- style: { "grid-template-columns": "auto auto 1fr" },
1802
- "truncate-line": "both"
1803
- }, {
1804
- default: n(() => {
1805
- var y, $, B, I, W, K;
1806
- return [
1807
- o(Ie, {
1808
- "dot-color": (y = e(r).github) != null && y.isActive ? "success" : "transparent",
1809
- icon: ($ = e(r).github) != null && $.isActive ? `svg:${e(se)}` : void 0,
1810
- size: "x-small",
1811
- width: "100%"
1812
- }, {
1813
- default: n(() => [
1814
- o(P, {
1815
- "prepend-avatar": e(c).CDN_URL + "/logos/github.png",
1816
- rounded: "lg",
1817
- subtitle: "Support Vuetify through GitHub sponsors.",
1818
- title: "GitHub Sponsors",
1819
- variant: "text",
1820
- border: ""
1821
- }, {
1822
- append: n(() => {
1823
- var A, M, f, V, R, ee;
1824
- return [
1825
- v("div", Yo, [
1826
- o(_, {
1827
- color: (A = e(r).github) != null && A.isActive ? "success" : "primary",
1828
- href: (M = e(r).github) != null && M.isActive ? void 0 : "https://github.com/sponsors/johnleider",
1829
- "prepend-icon": `svg:${(f = e(r).github) != null && f.isActive ? e(le) : e(ze)}`,
1830
- readonly: (V = e(r).github) == null ? void 0 : V.isActive,
1831
- target: (R = e(r).github) != null && R.isActive ? void 0 : "_blank",
1832
- text: (ee = e(r).github) != null && ee.isActive ? "Active" : "Info",
1833
- width: "88"
1834
- }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1835
- ])
1836
- ];
1837
- }),
1838
- default: n(() => {
1839
- var A;
1840
- return [
1841
- (A = e(r).github) != null && A.isActive ? (d(), S(F, { key: 0 }, [
1842
- o(E),
1843
- o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1844
- default: n(() => [
1845
- o(Y, {
1846
- "prepend-icon": `svg:${e(Le)}`,
1847
- text: e(r).github.tierName,
1848
- color: "surface-variant",
1849
- size: "small",
1850
- variant: "text",
1851
- label: ""
1852
- }, null, 8, ["prepend-icon", "text"]),
1853
- v("div", Qo, [
1854
- O(" Sponsor since "),
1855
- v("span", Jo, D(h(e(r).github.createdAt)), 1)
1856
- ])
1857
- ]),
1858
- _: 1
1859
- })
1860
- ], 64)) : x("", !0)
1861
- ];
1862
- }),
1863
- _: 1
1864
- }, 8, ["prepend-avatar"])
1865
- ]),
1866
- _: 1
1867
- }, 8, ["dot-color", "icon"]),
1868
- o(Ie, {
1869
- "dot-color": (B = e(r).discord) != null && B.isActive ? "success" : "transparent",
1870
- icon: (I = e(r).discord) != null && I.isActive ? `svg:${e(se)}` : void 0,
1871
- size: "x-small",
1872
- width: "100%"
1873
- }, {
1874
- default: n(() => [
1875
- o(P, {
1876
- "prepend-avatar": e(c).CDN_URL + "/logos/discord.png",
1877
- rounded: "lg",
1878
- subtitle: "Support Vuetify through Discord.",
1879
- title: "Discord Subscriber",
1880
- variant: "text",
1881
- border: ""
1882
- }, {
1883
- append: n(() => {
1884
- var A, M, f, V, R, ee;
1885
- return [
1886
- v("div", Xo, [
1887
- o(_, {
1888
- color: (A = e(r).discord) != null && A.isActive ? "success" : "primary",
1889
- href: (M = e(r).discord) != null && M.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1890
- "prepend-icon": `svg:${(f = e(r).discord) != null && f.isActive ? e(le) : e(ze)}`,
1891
- readonly: (V = e(r).discord) == null ? void 0 : V.isActive,
1892
- target: (R = e(r).discord) != null && R.isActive ? void 0 : "_blank",
1893
- text: (ee = e(r).discord) != null && ee.isActive ? "Active" : "Info",
1894
- width: "88"
1895
- }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1896
- ])
1897
- ];
1898
- }),
1899
- default: n(() => {
1900
- var A;
1901
- return [
1902
- (A = e(r).discord) != null && A.isActive ? (d(), S(F, { key: 0 }, [
1903
- o(E),
1904
- o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1905
- default: n(() => [
1906
- o(Y, {
1907
- "prepend-icon": `svg:${e(Le)}`,
1908
- text: e(r).discord.tierName,
1909
- color: "surface-variant",
1910
- size: "small",
1911
- variant: "text",
1912
- label: ""
1913
- }, null, 8, ["prepend-icon", "text"]),
1914
- v("div", Zo, [
1915
- O(" Subscriber since "),
1916
- v("span", Ko, D(h(e(r).discord.createdAt)), 1)
1917
- ])
1918
- ]),
1919
- _: 1
1920
- })
1921
- ], 64)) : x("", !0)
1922
- ];
1923
- }),
1924
- _: 1
1925
- }, 8, ["prepend-avatar"])
1926
- ]),
1927
- _: 1
1928
- }, 8, ["dot-color", "icon"]),
1929
- o(Ie, {
1930
- "dot-color": (W = e(r).patreon) != null && W.isActive ? "success" : "transparent",
1931
- icon: (K = e(r).patreon) != null && K.isActive ? `svg:${e(se)}` : void 0,
1932
- size: "x-small",
1933
- width: "100%"
1934
- }, {
1935
- default: n(() => [
1936
- o(P, {
1937
- "prepend-avatar": e(c).CDN_URL + "/logos/patreon.png",
1938
- rounded: "lg",
1939
- subtitle: "Support Vuetify through Patreon.",
1940
- title: "Patreon Subscriber",
1941
- variant: "text",
1942
- border: ""
1943
- }, {
1944
- append: n(() => {
1945
- var A;
1946
- return [
1947
- v("div", es, [
1948
- o(_, {
1949
- text: (A = e(r).patreon) != null && A.isActive ? "Active" : "Coming Soon",
1950
- color: "surface-variant",
1951
- readonly: ""
1952
- }, null, 8, ["text"])
1953
- ])
1954
- ];
1955
- }),
1956
- default: n(() => {
1957
- var A;
1958
- return [
1959
- (A = e(r).patreon) != null && A.isActive ? (d(), S(F, { key: 0 }, [
1960
- o(E),
1961
- o(X, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1962
- default: n(() => [
1963
- o(Y, {
1964
- "prepend-icon": `svg:${e(Le)}`,
1965
- text: e(r).patreon.tierName,
1966
- color: "success",
1967
- variant: "text",
1968
- label: ""
1969
- }, null, 8, ["prepend-icon", "text"]),
1970
- v("div", ts, [
1971
- O(" Sponsor since "),
1972
- v("span", os, D(h(e(r).patreon.createdAt)), 1)
1973
- ])
1974
- ]),
1975
- _: 1
1976
- })
1977
- ], 64)) : x("", !0)
1978
- ];
1979
- }),
1980
- _: 1
1981
- }, 8, ["prepend-avatar"])
1982
- ]),
1983
- _: 1
1984
- }, 8, ["dot-color", "icon"])
1985
- ];
1986
- }),
1987
- _: 1
1988
- })
2025
+ o(u)
1989
2026
  ]),
1990
2027
  _: 1
1991
2028
  }),
1992
- o(w, {
1993
- icon: `svg:${e(At)}`,
2029
+ o(m, {
2030
+ icon: `svg:${t(Mt)}`,
1994
2031
  class: "mt-auto",
1995
2032
  "min-height": "auto",
1996
2033
  size: "64",
1997
2034
  title: "Your Monthly Contributions"
1998
2035
  }, {
1999
- media: n(() => [
2000
- o(U, { color: "success" })
2036
+ media: a(() => [
2037
+ o(A, { color: "success" })
2001
2038
  ]),
2002
- headline: n(() => [
2003
- v("div", ss, [
2004
- e(a).isSubscriber ? (d(), S(F, { key: 0 }, [
2005
- O(" $" + D(parseFloat(String(e(r).monthlyTotal)).toFixed(2)), 1)
2006
- ], 64)) : (d(), S(F, { key: 1 }, [
2007
- O(" $0.00 ")
2039
+ headline: a(() => [
2040
+ h("div", cn, [
2041
+ t(l).isSubscriber ? (d(), S(U, { key: 0 }, [
2042
+ B(" $" + C(parseFloat(String(t(s).monthlyTotal)).toFixed(2)), 1)
2043
+ ], 64)) : (d(), S(U, { key: 1 }, [
2044
+ B(" $0.00 ")
2008
2045
  ], 64))
2009
2046
  ])
2010
2047
  ]),
2011
- text: n(() => [
2012
- ns
2048
+ text: a(() => [
2049
+ un
2013
2050
  ]),
2014
2051
  _: 1
2015
2052
  }, 8, ["icon"])
@@ -2025,85 +2062,214 @@ const Ke = oe("settings", () => {
2025
2062
  }, 8, ["modelValue", "max-height", "prepend-icon"]);
2026
2063
  };
2027
2064
  }
2028
- }), as = /* @__PURE__ */ k({
2065
+ }), pn = /* @__PURE__ */ k({
2029
2066
  __name: "VoSponsorshipsListItem",
2030
- setup(u) {
2031
- const t = N(!1);
2032
- return (i, s) => {
2033
- const l = is, a = Q;
2034
- return d(), m(a, {
2035
- active: t.value,
2036
- "prepend-icon": `svg:${e(Dt)}`,
2067
+ setup(p) {
2068
+ const e = D(!1);
2069
+ return (i, n) => {
2070
+ const l = dn, s = X;
2071
+ return d(), v(s, {
2072
+ active: e.value,
2073
+ "prepend-icon": `svg:${t(Rt)}`,
2037
2074
  title: "Sponsorships",
2038
2075
  link: ""
2039
2076
  }, {
2040
- default: n(() => [
2077
+ default: a(() => [
2041
2078
  o(l, {
2042
- modelValue: t.value,
2043
- "onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r)
2079
+ modelValue: e.value,
2080
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => e.value = r)
2044
2081
  }, null, 8, ["modelValue"])
2045
2082
  ]),
2046
2083
  _: 1
2047
2084
  }, 8, ["active", "prepend-icon"]);
2048
2085
  };
2049
2086
  }
2050
- }), rs = {
2087
+ }), mn = {
2051
2088
  key: 0,
2052
2089
  class: "pt-16"
2053
- }, ls = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), cs = { class: "ps-3 text-subtitle-2 pe-2" }, us = { class: "text-truncate" }, ds = { class: "text-caption font-weight-bold text-medium-emphasis" }, ps = { class: "text-disabled text-caption my-2" }, ms = /* @__PURE__ */ k({
2090
+ }, fn = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), vn = {
2091
+ key: 1,
2092
+ class: "pa-5"
2093
+ }, _n = { class: "text-subtitle-1 font-weight-bold" }, hn = { class: "text-caption font-weight-bold text-medium-emphasis" }, gn = { class: "text-disabled text-caption mt-2 mb-3" }, bn = /* @__PURE__ */ k({
2094
+ __name: "VoNotificationsBannerList",
2095
+ props: {
2096
+ items: {}
2097
+ },
2098
+ setup(p) {
2099
+ const e = we(), i = se(), n = O();
2100
+ function l(r) {
2101
+ return n.notifications.last.banner.includes(r);
2102
+ }
2103
+ function s(r) {
2104
+ l(r.slug) ? n.notifications.last.banner = n.notifications.last.banner.filter((c) => c !== r.slug) : n.notifications.last.banner.push(r.slug);
2105
+ }
2106
+ return (r, c) => {
2107
+ const f = Me("v-empty-state");
2108
+ return d(), v(te, {
2109
+ class: "py-0",
2110
+ height: "100%",
2111
+ lines: "three"
2112
+ }, {
2113
+ default: a(() => [
2114
+ r.items.length ? (d(), S("div", vn, [
2115
+ (d(!0), S(U, null, oe(r.items, (u) => {
2116
+ var m;
2117
+ return d(), S("div", {
2118
+ key: u.slug,
2119
+ class: "mb-4"
2120
+ }, [
2121
+ o(R, {
2122
+ color: u.metadata.color,
2123
+ image: (m = u.metadata.images.bg) == null ? void 0 : m.url,
2124
+ title: u.title,
2125
+ rounded: "b-0",
2126
+ flat: ""
2127
+ }, {
2128
+ prepend: a(() => [
2129
+ o(ne, {
2130
+ image: u.metadata.images.logo.url
2131
+ }, null, 8, ["image"])
2132
+ ]),
2133
+ image: a(() => [
2134
+ o(Le, { position: "right" })
2135
+ ]),
2136
+ _: 2
2137
+ }, 1032, ["color", "image", "title"]),
2138
+ o(Ce, null, {
2139
+ default: a(({ props: b, isHovering: V }) => [
2140
+ o(Ge, H(b, {
2141
+ class: "px-8 pt-2 pb-4 position-relative",
2142
+ rounded: "b",
2143
+ border: ""
2144
+ }), {
2145
+ default: a(() => [
2146
+ o(Q, {
2147
+ text: l(u.slug) ? "Mark as unread" : "Mark as read",
2148
+ location: "bottom"
2149
+ }, {
2150
+ activator: a(({ props: y }) => [
2151
+ o($e, { "hide-on-leave": "" }, {
2152
+ default: a(() => [
2153
+ xe(o(q, H(y, {
2154
+ icon: `svg:${l(u.slug) ? t(Xe) : t(Je)}`,
2155
+ class: "ms-auto float-right",
2156
+ size: "small",
2157
+ variant: "text",
2158
+ "mdi-email-variant": "",
2159
+ onClick: (_) => s(u)
2160
+ }), null, 16, ["icon", "onClick"]), [
2161
+ [Re, V || t(i).mobile.value]
2162
+ ])
2163
+ ]),
2164
+ _: 2
2165
+ }, 1024)
2166
+ ]),
2167
+ _: 2
2168
+ }, 1032, ["text"]),
2169
+ h("div", _n, C(u.metadata.text), 1),
2170
+ h("div", hn, C(t(e).format(u.created_at, "fullDateWithWeekday")), 1),
2171
+ h("div", gn, C(u.metadata.subtext), 1),
2172
+ o(Y, H({
2173
+ href: u.metadata.link.startsWith("http") ? u.metadata.link : void 0,
2174
+ target: u.metadata.link.startsWith("http") ? "_blank" : void 0,
2175
+ to: u.metadata.link.startsWith("http") ? void 0 : u.metadata.link
2176
+ }, {
2177
+ "append-icon": `svg:${t(fe)}`,
2178
+ text: u.metadata.link_text,
2179
+ size: "small",
2180
+ variant: "text",
2181
+ border: "",
2182
+ label: ""
2183
+ }), {
2184
+ append: a(() => [
2185
+ o(A, { size: "12" })
2186
+ ]),
2187
+ _: 2
2188
+ }, 1040, ["append-icon", "text"])
2189
+ ]),
2190
+ _: 2
2191
+ }, 1040)
2192
+ ]),
2193
+ _: 2
2194
+ }, 1024)
2195
+ ]);
2196
+ }), 128))
2197
+ ])) : (d(), S("div", mn, [
2198
+ o(f, {
2199
+ icon: "$vuetify",
2200
+ size: "256"
2201
+ }, {
2202
+ media: a(() => [
2203
+ o(A, { color: "medium-emphasis" })
2204
+ ]),
2205
+ title: a(() => [
2206
+ fn
2207
+ ]),
2208
+ _: 1
2209
+ })
2210
+ ]))
2211
+ ]),
2212
+ _: 1
2213
+ });
2214
+ };
2215
+ }
2216
+ }), yn = {
2217
+ key: 0,
2218
+ class: "pt-16"
2219
+ }, Vn = /* @__PURE__ */ h("div", { class: "text-medium-emphasis" }, " All caught up ", -1), kn = { class: "ps-3 text-subtitle-2 pe-2" }, xn = { class: "text-truncate" }, $n = { class: "text-caption font-weight-bold text-medium-emphasis" }, wn = { class: "text-disabled text-caption my-2" }, Sn = /* @__PURE__ */ k({
2054
2220
  __name: "VoNotificationsList",
2055
2221
  props: {
2056
2222
  items: {}
2057
2223
  },
2058
- setup(u) {
2059
- const t = T(), i = be();
2060
- function s(a) {
2061
- return t.notifications.read.includes(a);
2224
+ setup(p) {
2225
+ const e = we(), i = se(), n = O();
2226
+ function l(r) {
2227
+ return n.notifications.read.includes(r);
2062
2228
  }
2063
- function l(a) {
2064
- s(a.slug) ? t.notifications.read = t.notifications.read.filter((r) => r !== a.slug) : t.notifications.read.push(a.slug);
2229
+ function s(r) {
2230
+ l(r.slug) ? n.notifications.read = n.notifications.read.filter((c) => c !== r.slug) : n.notifications.read.push(r.slug);
2065
2231
  }
2066
- return (a, r) => {
2067
- const c = Me("v-empty-state"), h = Q;
2068
- return d(), m(ie, {
2232
+ return (r, c) => {
2233
+ const f = Me("v-empty-state"), u = X;
2234
+ return d(), v(te, {
2069
2235
  class: "py-0",
2070
2236
  height: "100%",
2071
2237
  lines: "three"
2072
2238
  }, {
2073
- default: n(() => [
2074
- a.items.length ? (d(!0), S(F, { key: 1 }, ne(a.items, (p, g) => (d(), m(Ye, {
2075
- key: p.slug
2239
+ default: a(() => [
2240
+ r.items.length ? (d(!0), S(U, { key: 1 }, oe(r.items, (m, b) => (d(), v(Ce, {
2241
+ key: m.slug
2076
2242
  }, {
2077
- default: n(({ isHovering: C, props: _ }) => [
2078
- o(h, J(_, {
2079
- border: g !== 0 && "t",
2243
+ default: a(({ isHovering: V, props: y }) => [
2244
+ o(u, H(y, {
2245
+ border: b !== 0 && "t",
2080
2246
  class: "py-4 mb-0"
2081
2247
  }), {
2082
- prepend: n(() => [
2083
- v("div", cs, D(p.metadata.emoji), 1)
2248
+ prepend: a(() => [
2249
+ h("div", kn, C(m.metadata.emoji), 1)
2084
2250
  ]),
2085
- append: n(() => [
2086
- o(oo, {
2251
+ append: a(() => [
2252
+ o(uo, {
2087
2253
  class: "mt-n3",
2088
2254
  width: "56"
2089
2255
  }, {
2090
- default: n(() => [
2091
- o(re, {
2092
- text: s(p.slug) ? "Mark as unread" : "Mark as read",
2256
+ default: a(() => [
2257
+ o(Q, {
2258
+ text: l(m.slug) ? "Mark as unread" : "Mark as read",
2093
2259
  location: "bottom"
2094
2260
  }, {
2095
- activator: n(({ props: w }) => [
2096
- o(Be, { "hide-on-leave": "" }, {
2097
- default: n(() => [
2098
- Fe(o(Z, J(w, {
2099
- icon: `svg:${s(p.slug) ? e(Ft) : e(Ut)}`,
2261
+ activator: a(({ props: _ }) => [
2262
+ o($e, { "hide-on-leave": "" }, {
2263
+ default: a(() => [
2264
+ xe(o(q, H(_, {
2265
+ icon: `svg:${l(m.slug) ? t(Xe) : t(Je)}`,
2100
2266
  class: "ms-auto",
2101
2267
  size: "small",
2102
2268
  variant: "text",
2103
2269
  "mdi-email-variant": "",
2104
- onClick: (b) => l(p)
2270
+ onClick: (x) => s(m)
2105
2271
  }), null, 16, ["icon", "onClick"]), [
2106
- [Pe, C]
2272
+ [Re, V || t(i).mobile.value]
2107
2273
  ])
2108
2274
  ]),
2109
2275
  _: 2
@@ -2115,28 +2281,28 @@ const Ke = oe("settings", () => {
2115
2281
  _: 2
2116
2282
  }, 1024)
2117
2283
  ]),
2118
- default: n(() => [
2119
- o(Gt, { class: "text-wrap text-h6 mb-1" }, {
2120
- default: n(() => [
2121
- v("div", us, D(p.title), 1)
2284
+ default: a(() => [
2285
+ o(Ke, { class: "text-wrap text-h6 mb-1" }, {
2286
+ default: a(() => [
2287
+ h("div", xn, C(m.title), 1)
2122
2288
  ]),
2123
2289
  _: 2
2124
2290
  }, 1024),
2125
- v("div", ds, D(e(i).format(p.created_at, "fullDateWithWeekday")), 1),
2126
- v("div", ps, D(p.metadata.text), 1),
2291
+ h("div", $n, C(t(e).format(m.created_at, "fullDateWithWeekday")), 1),
2292
+ h("div", wn, C(m.metadata.text), 1),
2127
2293
  o(Y, {
2128
- "append-icon": `svg:${e(Nt)}`,
2129
- href: p.metadata.action,
2130
- text: p.metadata.action_text,
2294
+ "append-icon": `svg:${t(fe)}`,
2295
+ href: m.metadata.action,
2296
+ text: m.metadata.action_text,
2131
2297
  size: "small",
2132
2298
  target: "_blank",
2133
2299
  variant: "text",
2134
2300
  border: "",
2135
2301
  label: "",
2136
- onClick: (w) => l(p)
2302
+ onClick: (_) => s(m)
2137
2303
  }, {
2138
- append: n(() => [
2139
- o(U, { size: "12" })
2304
+ append: a(() => [
2305
+ o(A, { size: "12" })
2140
2306
  ]),
2141
2307
  _: 2
2142
2308
  }, 1032, ["append-icon", "href", "text", "onClick"])
@@ -2145,16 +2311,16 @@ const Ke = oe("settings", () => {
2145
2311
  }, 1040, ["border"])
2146
2312
  ]),
2147
2313
  _: 2
2148
- }, 1024))), 128)) : (d(), S("div", rs, [
2149
- o(c, {
2314
+ }, 1024))), 128)) : (d(), S("div", yn, [
2315
+ o(f, {
2150
2316
  icon: "$vuetify",
2151
2317
  size: "256"
2152
2318
  }, {
2153
- media: n(() => [
2154
- o(U, { color: "medium-emphasis" })
2319
+ media: a(() => [
2320
+ o(A, { color: "medium-emphasis" })
2155
2321
  ]),
2156
- title: n(() => [
2157
- ls
2322
+ title: a(() => [
2323
+ Vn
2158
2324
  ]),
2159
2325
  _: 1
2160
2326
  })
@@ -2164,87 +2330,157 @@ const Ke = oe("settings", () => {
2164
2330
  });
2165
2331
  };
2166
2332
  }
2167
- }), fs = { class: "text-caption" }, vs = /* @__PURE__ */ k({
2333
+ }), Cn = J("site", () => {
2334
+ const p = E([]), e = E();
2335
+ return {
2336
+ id: p,
2337
+ url: e
2338
+ };
2339
+ }), Ne = J("banners", () => {
2340
+ const p = he(), e = Cn(), i = O(), n = E([]), l = D(!1), s = w(() => r.value ? r.value : n.value.find(({
2341
+ slug: f,
2342
+ metadata: {
2343
+ site: u,
2344
+ active: m
2345
+ }
2346
+ }) => !m || i.notifications.last.banner.includes(f) ? !1 : u.includes("dev") && !1 || u.includes("*") ? !0 : u.some((b) => e.id.includes(b)))), r = w(() => n.value.find(({
2347
+ metadata: {
2348
+ site: f,
2349
+ active: u
2350
+ }
2351
+ }) => u ? f.includes("server") : !1));
2352
+ async function c() {
2353
+ try {
2354
+ l.value = !0;
2355
+ const f = await p.get("/one/banners");
2356
+ n.value = f.banners;
2357
+ } catch {
2358
+ } finally {
2359
+ l.value = !1;
2360
+ }
2361
+ return n.value;
2362
+ }
2363
+ return {
2364
+ all: n,
2365
+ isLoading: l,
2366
+ server: r,
2367
+ banner: s,
2368
+ get: c
2369
+ };
2370
+ }), Ln = { class: "text-caption" }, In = { class: "text-caption" }, An = /* @__PURE__ */ k({
2168
2371
  __name: "VoNotificationsDialog",
2169
2372
  props: {
2170
2373
  modelValue: { type: Boolean },
2171
2374
  modelModifiers: {}
2172
2375
  },
2173
2376
  emits: ["update:modelValue"],
2174
- setup(u) {
2175
- const t = ge(), i = Se(), s = q(), l = xe(), a = N(["0"]), r = ae(u, "modelValue");
2176
- return z(i, async () => {
2177
- i.value.one === "notifications" && (s.isOpen = !0, await _e(), r.value = !0);
2178
- }, { immediate: !0 }), (c, h) => {
2179
- const p = Q, g = ms, C = we;
2180
- return d(), m(C, {
2181
- modelValue: r.value,
2182
- "onUpdate:modelValue": h[2] || (h[2] = (_) => r.value = _),
2183
- "prepend-icon": `svg:${e(Ot)}`,
2377
+ setup(p) {
2378
+ const e = se(), i = be(), n = Ne(), l = De(), s = j(), r = D(["read"]), c = le(p, "modelValue");
2379
+ return N(i, async () => {
2380
+ if (i.value.one !== "notifications") {
2381
+ c.value && (c.value = !1);
2382
+ return;
2383
+ }
2384
+ s.isOpen = !0, await me(), c.value = !0;
2385
+ }, { immediate: !0 }), (f, u) => {
2386
+ const m = X, b = Sn, V = bn, y = Ue;
2387
+ return d(), v(y, {
2388
+ modelValue: c.value,
2389
+ "onUpdate:modelValue": u[2] || (u[2] = (_) => c.value = _),
2390
+ "prepend-icon": `svg:${t(Pt)}`,
2184
2391
  title: "Notifications"
2185
2392
  }, {
2186
- default: n(() => [
2187
- o(Ve, null, {
2188
- default: n(() => [
2189
- o(so, {
2190
- location: e(t).mobile.value ? "top" : "start",
2191
- width: e(t).mobile.value ? 128 : 168,
2393
+ default: a(() => [
2394
+ o(Ie, null, {
2395
+ default: a(() => [
2396
+ o(po, {
2397
+ location: t(e).mobile.value ? "top" : "start",
2398
+ width: t(e).mobile.value ? 128 : 168,
2192
2399
  permanent: ""
2193
2400
  }, {
2194
- default: n(() => [
2195
- o(ie, {
2196
- selected: a.value,
2197
- "onUpdate:selected": h[0] || (h[0] = (_) => a.value = _),
2401
+ default: a(() => [
2402
+ o(te, {
2403
+ selected: r.value,
2404
+ "onUpdate:selected": u[0] || (u[0] = (_) => r.value = _),
2198
2405
  class: "px-4 pt-4",
2199
2406
  density: "compact",
2200
2407
  mandatory: "",
2201
2408
  nav: ""
2202
2409
  }, {
2203
- default: n(() => [
2204
- o(p, {
2205
- "prepend-icon": `svg:${e(Bt)}`,
2410
+ default: a(() => [
2411
+ o(m, {
2412
+ "prepend-icon": `svg:${t(Ht)}`,
2206
2413
  title: "Unread",
2207
- value: "0"
2414
+ value: "read"
2208
2415
  }, G({ _: 2 }, [
2209
- e(l).unread.length > 0 ? {
2416
+ t(l).unread.length > 0 ? {
2210
2417
  name: "append",
2211
- fn: n(() => [
2212
- v("span", fs, D(e(l).unread.length), 1)
2418
+ fn: a(() => [
2419
+ h("span", Ln, C(t(l).unread.length), 1)
2213
2420
  ]),
2214
2421
  key: "0"
2215
2422
  } : void 0
2216
2423
  ]), 1032, ["prepend-icon"]),
2217
- o(p, {
2218
- "prepend-icon": `svg:${e(jt)}`,
2424
+ o(m, {
2425
+ "prepend-icon": `svg:${t(Et)}`,
2219
2426
  title: "Read",
2220
- value: "1",
2221
- "mdi-archive-outline": ""
2222
- }, null, 8, ["prepend-icon"])
2427
+ value: "unread"
2428
+ }, G({ _: 2 }, [
2429
+ t(l).read.length > 0 ? {
2430
+ name: "append",
2431
+ fn: a(() => [
2432
+ h("span", In, C(t(l).read.length), 1)
2433
+ ]),
2434
+ key: "0"
2435
+ } : void 0
2436
+ ]), 1032, ["prepend-icon"]),
2437
+ t(n).all.length > 0 ? (d(), v(m, {
2438
+ key: 0,
2439
+ "prepend-icon": `svg:${t(Wt)}`,
2440
+ title: "Banners",
2441
+ value: "banners"
2442
+ }, {
2443
+ append: a(() => [
2444
+ o(Pe, {
2445
+ "offset-y": "-3",
2446
+ dot: ""
2447
+ })
2448
+ ]),
2449
+ _: 1
2450
+ }, 8, ["prepend-icon"])) : $("", !0)
2223
2451
  ]),
2224
2452
  _: 1
2225
2453
  }, 8, ["selected"])
2226
2454
  ]),
2227
2455
  _: 1
2228
2456
  }, 8, ["location", "width"]),
2229
- o(ke, { scrollable: "" }, {
2230
- default: n(() => [
2231
- o(Je, {
2232
- modelValue: a.value,
2233
- "onUpdate:modelValue": h[1] || (h[1] = (_) => a.value = _)
2457
+ o(Ae, { scrollable: "" }, {
2458
+ default: a(() => [
2459
+ o(st, {
2460
+ modelValue: r.value,
2461
+ "onUpdate:modelValue": u[1] || (u[1] = (_) => r.value = _)
2234
2462
  }, {
2235
- default: n(() => [
2236
- o(ve, { value: "0" }, {
2237
- default: n(() => [
2238
- o(g, {
2239
- items: e(l).unread
2463
+ default: a(() => [
2464
+ o(ue, { value: "read" }, {
2465
+ default: a(() => [
2466
+ o(b, {
2467
+ items: t(l).unread
2468
+ }, null, 8, ["items"])
2469
+ ]),
2470
+ _: 1
2471
+ }),
2472
+ o(ue, { value: "unread" }, {
2473
+ default: a(() => [
2474
+ o(b, {
2475
+ items: t(l).read
2240
2476
  }, null, 8, ["items"])
2241
2477
  ]),
2242
2478
  _: 1
2243
2479
  }),
2244
- o(ve, { value: "1" }, {
2245
- default: n(() => [
2246
- o(g, {
2247
- items: e(l).read
2480
+ o(ue, { value: "banners" }, {
2481
+ default: a(() => [
2482
+ o(V, {
2483
+ items: t(n).all
2248
2484
  }, null, 8, ["items"])
2249
2485
  ]),
2250
2486
  _: 1
@@ -2263,136 +2499,173 @@ const Ke = oe("settings", () => {
2263
2499
  }, 8, ["modelValue", "prepend-icon"]);
2264
2500
  };
2265
2501
  }
2266
- }), _s = /* @__PURE__ */ k({
2502
+ }), Dn = /* @__PURE__ */ k({
2267
2503
  __name: "VoNotificationsBadge",
2268
- setup(u) {
2269
- const t = xe(), i = T();
2270
- return (s, l) => (d(), m(Ee, {
2271
- content: e(t).unread.length,
2272
- "model-value": e(i).notifications.show && e(t).unread.length > 0,
2504
+ setup(p) {
2505
+ const e = De(), i = O();
2506
+ return (n, l) => (d(), v(Pe, {
2507
+ content: t(e).unread.length,
2508
+ "model-value": t(i).notifications.show && t(e).unread.length > 0,
2273
2509
  color: "error"
2274
2510
  }, {
2275
- default: n(() => [
2276
- H(s.$slots, "default")
2511
+ default: a(() => [
2512
+ P(n.$slots, "default")
2277
2513
  ]),
2278
2514
  _: 3
2279
2515
  }, 8, ["content", "model-value"]));
2280
2516
  }
2281
- }), hs = /* @__PURE__ */ k({
2517
+ }), Un = /* @__PURE__ */ k({
2282
2518
  __name: "VoNotificationsListItem",
2283
- setup(u) {
2284
- const t = T(), i = xe(), s = N(!1);
2285
- return nt(async () => {
2286
- await i.get();
2287
- }), (l, a) => {
2288
- const r = _s, c = vs, h = Q;
2289
- return e(t).notifications.show ? (d(), m(h, {
2519
+ setup(p) {
2520
+ const e = Ne(), i = O(), n = De(), l = D(!1);
2521
+ return ft(async () => {
2522
+ n.get(), e.get();
2523
+ }), (s, r) => {
2524
+ const c = Dn, f = An, u = X;
2525
+ return t(i).notifications.show ? (d(), v(u, {
2290
2526
  key: 0,
2291
- active: s.value,
2292
- "prepend-icon": `svg:${e(zt)}`,
2527
+ active: l.value,
2528
+ "prepend-icon": `svg:${t(Gt)}`,
2293
2529
  title: "Notifications",
2294
2530
  link: ""
2295
2531
  }, G({
2296
- default: n(() => [
2297
- o(c, {
2298
- modelValue: s.value,
2299
- "onUpdate:modelValue": a[0] || (a[0] = (p) => s.value = p)
2532
+ default: a(() => [
2533
+ o(f, {
2534
+ modelValue: l.value,
2535
+ "onUpdate:modelValue": r[0] || (r[0] = (m) => l.value = m)
2300
2536
  }, null, 8, ["modelValue"])
2301
2537
  ]),
2302
2538
  _: 2
2303
2539
  }, [
2304
- e(i).unread.length ? {
2540
+ t(n).unread.length ? {
2305
2541
  name: "prepend",
2306
- fn: n(() => [
2307
- o(r, null, {
2308
- default: n(() => [
2309
- o(U)
2542
+ fn: a(() => [
2543
+ o(c, null, {
2544
+ default: a(() => [
2545
+ o(A)
2310
2546
  ]),
2311
2547
  _: 1
2312
2548
  })
2313
2549
  ]),
2314
2550
  key: "0"
2315
2551
  } : void 0
2316
- ]), 1032, ["active", "prepend-icon"])) : x("", !0);
2552
+ ]), 1032, ["active", "prepend-icon"])) : $("", !0);
2317
2553
  };
2318
2554
  }
2319
- }), gs = /* @__PURE__ */ k({
2555
+ }), Bn = /* @__PURE__ */ k({
2320
2556
  __name: "VoDashboardListItem",
2321
- setup(u) {
2322
- return (t, i) => {
2323
- const s = Q;
2324
- return d(), m(s, {
2325
- "prepend-icon": `svg:${e(Tt)}`,
2557
+ setup(p) {
2558
+ const e = j();
2559
+ return (i, n) => {
2560
+ const l = X;
2561
+ return d(), v(l, {
2562
+ "prepend-icon": `svg:${t(qt)}`,
2326
2563
  title: "Dashboard",
2327
- to: "/user/dashboard"
2564
+ to: "/user/dashboard",
2565
+ onClick: n[0] || (n[0] = (s) => t(e).isOpen = !1)
2328
2566
  }, null, 8, ["prepend-icon"]);
2329
2567
  };
2330
2568
  }
2331
- }), bs = /* @__PURE__ */ k({
2569
+ }), Nn = /* @__PURE__ */ k({
2332
2570
  __name: "VoUserList",
2333
- setup(u) {
2334
- const t = j();
2335
- return (i, s) => {
2336
- const l = gs, a = hs, r = as, c = qo, h = $o, p = ho;
2337
- return d(), m(ie, {
2571
+ setup(p) {
2572
+ const e = F();
2573
+ return (i, n) => {
2574
+ const l = Bn, s = Un, r = pn, c = Ko, f = Ao, u = $o;
2575
+ return d(), v(te, {
2338
2576
  density: "compact",
2339
2577
  nav: "",
2340
2578
  slim: ""
2341
2579
  }, {
2342
- default: n(() => [
2580
+ default: a(() => [
2343
2581
  o(l),
2344
- o(a),
2582
+ o(s),
2345
2583
  o(r),
2346
- e(t).user ? (d(), m(c, { key: 0 })) : x("", !0),
2347
- o(h),
2348
- e(t).user ? (d(), m(p, { key: 1 })) : x("", !0)
2584
+ t(e).user ? (d(), v(c, { key: 0 })) : $("", !0),
2585
+ o(f),
2586
+ t(e).user ? (d(), v(u, { key: 1 })) : $("", !0)
2349
2587
  ]),
2350
2588
  _: 1
2351
2589
  });
2352
2590
  };
2353
2591
  }
2354
- }), ys = { key: 0 }, Vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, ks = /* @__PURE__ */ k({
2592
+ }), On = { key: 0 }, Fn = { class: "d-flex align-center justify-center pa-1 ga-2" }, zn = /* @__PURE__ */ k({
2355
2593
  __name: "VoUserQuickActions",
2356
- setup(u) {
2357
- const t = T();
2358
- return (i, s) => (d(), m(ue, null, {
2359
- default: n(() => [
2360
- e(t).quickbar ? (d(), S("div", ys, [
2361
- v("div", Vs, [
2362
- o(Z, {
2363
- color: e(t).colors.one,
2594
+ setup(p) {
2595
+ const e = O(), i = [
2596
+ ["M18.9112 5.03206L3.68692 8.88953C3.68692 8.88953 2.00252 6.21666 2 6.21428C2.02517 6.20794 18.6159 2.00476 18.6394 2L18.8944 4.8489L18.9095 5.01937L18.9112 5.03285V5.03206Z", 0.6],
2597
+ ["M19.4556 10.9994C19.4556 10.9994 7.06082 14.1417 7.05915 14.1386L5.3739 11.4641C5.41836 11.453 18.4582 8.14817 18.4993 8.13945L19.1838 7.9658L19.4556 10.9994Z", 1],
2598
+ "M20 17.0652C19.9916 17.0675 14.6826 18.4123 14.6742 18.4147C14.6994 17.3633 14.3353 16.3579 13.712 15.5563L19.7274 14.0331L20 17.066V17.0652Z",
2599
+ ["M12.353 16.0368C9.07567 12.843 3.90082 17.0493 6.66818 20.5975C9.94136 24.3844 15.773 19.6984 12.353 16.0368ZM11.1267 19.4129C10.2224 20.7664 7.79139 20.1099 7.82746 18.4686C8.04976 15.4897 12.7112 16.8495 11.1267 19.4129Z", 0.6]
2600
+ ];
2601
+ return (n, l) => (d(), v(_e, null, {
2602
+ default: a(() => [
2603
+ t(e).quickbar ? (d(), S("div", On, [
2604
+ h("div", Fn, [
2605
+ o(q, {
2606
+ color: t(e).colors.one,
2364
2607
  class: "text-caption",
2365
2608
  density: "comfortable",
2366
2609
  href: "https://play.vuetifyjs.com",
2367
2610
  icon: "$vuetify-play",
2368
2611
  target: "_blank"
2369
- }, null, 8, ["color"]),
2370
- o(Z, {
2371
- color: e(t).colors.one,
2372
- icon: `svg:${e(Rt)}`,
2612
+ }, {
2613
+ default: a(() => [
2614
+ o(A),
2615
+ o(Q, {
2616
+ activator: "parent",
2617
+ location: "top",
2618
+ text: "Vuetify Play"
2619
+ })
2620
+ ]),
2621
+ _: 1
2622
+ }, 8, ["color"]),
2623
+ o(q, {
2624
+ color: t(e).colors.one,
2625
+ icon: i,
2373
2626
  class: "text-caption",
2374
2627
  density: "comfortable",
2375
2628
  href: "https://bin.vuetifyjs.com",
2376
2629
  target: "_blank"
2377
- }, null, 8, ["color", "icon"]),
2378
- o(Z, {
2379
- color: e(t).colors.one,
2380
- icon: `svg:${e(Ht)}`,
2630
+ }, {
2631
+ default: a(() => [
2632
+ o(A),
2633
+ o(Q, {
2634
+ activator: "parent",
2635
+ location: "top",
2636
+ text: "Vuetify Bin"
2637
+ })
2638
+ ]),
2639
+ _: 1
2640
+ }, 8, ["color"]),
2641
+ o(q, {
2642
+ color: t(e).colors.one,
2643
+ icon: `svg:${t(Yt)}`,
2381
2644
  class: "text-caption",
2382
2645
  density: "comfortable",
2383
2646
  href: "https://issues.vuetifyjs.com",
2384
2647
  target: "_blank"
2385
- }, null, 8, ["color", "icon"])
2648
+ }, {
2649
+ default: a(() => [
2650
+ o(A),
2651
+ o(Q, {
2652
+ activator: "parent",
2653
+ location: "top",
2654
+ text: "Vuetify Issues"
2655
+ })
2656
+ ]),
2657
+ _: 1
2658
+ }, 8, ["color", "icon"])
2386
2659
  ])
2387
- ])) : x("", !0)
2660
+ ])) : $("", !0)
2388
2661
  ]),
2389
2662
  _: 1
2390
2663
  }));
2391
2664
  }
2392
- }), $s = { class: "mb-2" }, xs = { key: 0 }, ws = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Ss = { class: "text-h6" }, Cs = /* @__PURE__ */ k({
2665
+ }), jn = { class: "mb-2" }, Tn = { key: 0 }, Mn = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, Rn = { class: "text-h6" }, Pn = /* @__PURE__ */ k({
2393
2666
  __name: "VoUserAvatar",
2394
- setup(u) {
2395
- const t = j(), i = T(), s = N(!1), l = L(() => {
2667
+ setup(p) {
2668
+ const e = F(), i = O(), n = D(!1), l = w(() => {
2396
2669
  const c = [
2397
2670
  "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
2398
2671
  "https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
@@ -2409,35 +2682,35 @@ const Ke = oe("settings", () => {
2409
2682
  "https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png",
2410
2683
  "https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
2411
2684
  ];
2412
- return t.user && c.unshift(t.user.picture), c;
2685
+ return e.user && c.unshift(e.user.picture), c;
2413
2686
  });
2414
- function a(c) {
2687
+ function s(c) {
2415
2688
  i.avatar = c;
2416
2689
  }
2417
2690
  function r() {
2418
- t.isSubscriber && (s.value = !s.value);
2691
+ e.isSubscriber && (n.value = !n.value);
2419
2692
  }
2420
- return (c, h) => {
2421
- var p;
2693
+ return (c, f) => {
2694
+ var u;
2422
2695
  return d(), S("div", null, [
2423
- Fe((d(), m(fe, {
2424
- class: it([
2696
+ xe((d(), v(ne, {
2697
+ class: vt([
2425
2698
  "border-md border-opacity-100 border-surface-variant",
2426
2699
  {
2427
- "cursor-pointer": e(t).isSubscriber
2700
+ "cursor-pointer": t(e).isSubscriber
2428
2701
  }
2429
2702
  ]),
2430
2703
  color: "surface",
2431
2704
  size: "72",
2432
2705
  text: "Foobar",
2433
- onClick: He(r, ["prevent", "stop"])
2706
+ onClick: Te(r, ["prevent", "stop"])
2434
2707
  }, {
2435
- default: n(() => [
2436
- e(t).user && e(i).avatar ? (d(), m(je, {
2708
+ default: a(() => [
2709
+ t(e).user && t(i).avatar ? (d(), v(Le, {
2437
2710
  key: 0,
2438
- src: e(i).avatar,
2711
+ src: t(i).avatar,
2439
2712
  alt: "User avatar"
2440
- }, null, 8, ["src"])) : (d(), m(U, {
2713
+ }, null, 8, ["src"])) : (d(), v(A, {
2441
2714
  key: 1,
2442
2715
  class: "mt-1",
2443
2716
  icon: "$vuetify",
@@ -2446,29 +2719,29 @@ const Ke = oe("settings", () => {
2446
2719
  ]),
2447
2720
  _: 1
2448
2721
  }, 8, ["class"])), [
2449
- [no, e(t).isSubscriber]
2722
+ [mo, t(e).isSubscriber]
2450
2723
  ]),
2451
- v("div", $s, [
2452
- o(ue, null, {
2453
- default: n(() => [
2454
- s.value ? (d(), S("div", xs, [
2455
- o(P, {
2724
+ h("div", jn, [
2725
+ o(_e, null, {
2726
+ default: a(() => [
2727
+ n.value ? (d(), S("div", Tn, [
2728
+ o(R, {
2456
2729
  class: "pt-6 pb-1",
2457
2730
  rounded: "0",
2458
2731
  flat: ""
2459
2732
  }, {
2460
- default: n(() => [
2461
- v("div", ws, [
2462
- (d(!0), S(F, null, ne(l.value, (g, C) => (d(), m(Z, {
2463
- key: C,
2464
- active: e(i).avatar === g,
2733
+ default: a(() => [
2734
+ h("div", Mn, [
2735
+ (d(!0), S(U, null, oe(l.value, (m, b) => (d(), v(q, {
2736
+ key: b,
2737
+ active: t(i).avatar === m,
2465
2738
  variant: "flat",
2466
2739
  icon: "",
2467
- onClick: (_) => a(g)
2740
+ onClick: (V) => s(m)
2468
2741
  }, {
2469
- default: n(() => [
2470
- o(fe, {
2471
- image: g,
2742
+ default: a(() => [
2743
+ o(ne, {
2744
+ image: m,
2472
2745
  eager: ""
2473
2746
  }, null, 8, ["image"])
2474
2747
  ]),
@@ -2478,142 +2751,142 @@ const Ke = oe("settings", () => {
2478
2751
  ]),
2479
2752
  _: 1
2480
2753
  })
2481
- ])) : x("", !0)
2754
+ ])) : $("", !0)
2482
2755
  ]),
2483
2756
  _: 1
2484
2757
  })
2485
2758
  ]),
2486
- v("div", Ss, D(((p = e(t).user) == null ? void 0 : p.name) ?? "Guest"), 1)
2759
+ h("div", Rn, C(((u = t(e).user) == null ? void 0 : u.name) ?? "Guest"), 1)
2487
2760
  ]);
2488
2761
  };
2489
2762
  }
2490
- }), Ls = /* @__PURE__ */ k({
2763
+ }), Hn = /* @__PURE__ */ k({
2491
2764
  __name: "VoUserBadges",
2492
- setup(u) {
2493
- const t = j(), i = q(), s = L(() => {
2765
+ setup(p) {
2766
+ const e = F(), i = j(), n = w(() => {
2494
2767
  var l;
2495
- return i.github || i.discord || i.isSubscriber || ((l = t.user) == null ? void 0 : l.isAdmin);
2768
+ return i.github || i.discord || i.isSubscriber || ((l = e.user) == null ? void 0 : l.isAdmin);
2496
2769
  });
2497
- return (l, a) => s.value ? (d(), m(qe, {
2770
+ return (l, s) => n.value ? (d(), v(Ge, {
2498
2771
  key: 0,
2499
2772
  class: "align-center position-absolute ms-2 d-flex ga-2 pa-2",
2500
- color: "rgba(0,0,0,.36)",
2773
+ color: "rgba(0,0,0,.54)",
2501
2774
  rounded: "lg",
2502
2775
  style: { left: "0" }
2503
2776
  }, {
2504
- default: n(() => {
2777
+ default: a(() => {
2505
2778
  var r;
2506
2779
  return [
2507
- (r = e(t).user) != null && r.isAdmin ? (d(), m(re, {
2780
+ (r = t(e).user) != null && r.isAdmin ? (d(), v(Q, {
2508
2781
  key: 0,
2509
2782
  location: "bottom",
2510
2783
  text: "Vuetify Administrator"
2511
2784
  }, {
2512
- activator: n(({ props: c }) => [
2513
- o(U, J({
2785
+ activator: a(({ props: c }) => [
2786
+ o(A, H({
2514
2787
  color: "blue",
2515
2788
  icon: "$vuetify"
2516
2789
  }, c, { size: "16" }), null, 16)
2517
2790
  ]),
2518
2791
  _: 1
2519
- })) : x("", !0),
2520
- e(i).isSubscriber ? (d(), m(re, {
2792
+ })) : $("", !0),
2793
+ t(i).isSubscriber ? (d(), v(Q, {
2521
2794
  key: 1,
2522
2795
  location: "bottom",
2523
2796
  text: "Vuetify One Subscriber"
2524
2797
  }, {
2525
- activator: n(({ props: c }) => [
2526
- o(U, J({
2527
- icon: `svg:${e(Mt)}`,
2798
+ activator: a(({ props: c }) => [
2799
+ o(A, H({
2800
+ icon: `svg:${t(Zt)}`,
2528
2801
  color: "amber-darken-2"
2529
2802
  }, c, { size: "16" }), null, 16, ["icon"])
2530
2803
  ]),
2531
2804
  _: 1
2532
- })) : x("", !0),
2533
- e(i).github ? (d(), m(re, {
2805
+ })) : $("", !0),
2806
+ t(i).github ? (d(), v(Q, {
2534
2807
  key: 2,
2535
2808
  location: "bottom",
2536
2809
  text: "GitHub Sponsor"
2537
2810
  }, {
2538
- activator: n(({ props: c }) => [
2539
- o(U, J({
2540
- icon: `svg:${e(Oe)}`,
2541
- color: "medium-emphasis"
2811
+ activator: a(({ props: c }) => [
2812
+ o(A, H({
2813
+ icon: `svg:${t(Ee)}`,
2814
+ color: "white"
2542
2815
  }, c, { size: "16" }), null, 16, ["icon"])
2543
2816
  ]),
2544
2817
  _: 1
2545
- })) : x("", !0),
2546
- e(i).discord ? (d(), m(re, {
2818
+ })) : $("", !0),
2819
+ t(i).discord ? (d(), v(Q, {
2547
2820
  key: 3,
2548
2821
  location: "bottom",
2549
2822
  text: "Discord Subscriber"
2550
2823
  }, {
2551
- activator: n(({ props: c }) => [
2552
- o(U, J({
2553
- icon: `svg:${e(Ne)}`,
2554
- color: "medium-emphasis"
2824
+ activator: a(({ props: c }) => [
2825
+ o(A, H({
2826
+ icon: `svg:${t(He)}`,
2827
+ color: "white"
2555
2828
  }, c, { size: "16" }), null, 16, ["icon"])
2556
2829
  ]),
2557
2830
  _: 1
2558
- })) : x("", !0)
2831
+ })) : $("", !0)
2559
2832
  ];
2560
2833
  }),
2561
2834
  _: 1
2562
- })) : x("", !0);
2835
+ })) : $("", !0);
2563
2836
  }
2564
- }), Is = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, As = {
2837
+ }), En = { class: "d-flex flex-grow-1 justify-end fill-height align-start" }, Wn = {
2565
2838
  key: "reset",
2566
2839
  class: "align-self-end"
2567
- }, Ds = /* @__PURE__ */ k({
2840
+ }, Gn = /* @__PURE__ */ k({
2568
2841
  __name: "VoUserColors",
2569
- setup(u) {
2570
- const t = j(), i = T(), s = N(!1);
2842
+ setup(p) {
2843
+ const e = F(), i = O(), n = D(!1);
2571
2844
  function l() {
2572
2845
  i.colors.one = "surface-light";
2573
2846
  }
2574
- return (a, r) => {
2575
- const c = Ls, h = de;
2576
- return d(), S(F, null, [
2577
- o(je, {
2578
- color: e(t).user ? e(i).colors.one : "surface-light",
2847
+ return (s, r) => {
2848
+ const c = Hn, f = ae;
2849
+ return d(), S(U, null, [
2850
+ o(Le, {
2851
+ color: t(e).user ? t(i).colors.one : "surface-light",
2579
2852
  "content-class": "d-flex align-start justify-end pa-2",
2580
2853
  height: "88",
2581
2854
  rounded: "0",
2582
2855
  cover: "",
2583
2856
  flat: ""
2584
2857
  }, {
2585
- default: n(() => [
2586
- v("div", Is, [
2858
+ default: a(() => [
2859
+ h("div", En, [
2587
2860
  o(c),
2588
- e(t).isSubscriber ? (d(), m(h, {
2861
+ t(e).isSubscriber ? (d(), v(f, {
2589
2862
  key: 0,
2590
- active: s.value,
2591
- icon: s.value ? `svg:${e(se)}` : "$edit",
2592
- variant: s.value ? "text" : "plain",
2863
+ active: n.value,
2864
+ icon: n.value ? `svg:${t(re)}` : "$edit",
2865
+ variant: n.value ? "text" : "plain",
2593
2866
  class: "align-self-end",
2594
2867
  color: "inherit",
2595
2868
  density: "comfortable",
2596
2869
  title: "Edit One Header Color",
2597
- onClick: r[0] || (r[0] = (p) => s.value = !s.value)
2870
+ onClick: r[0] || (r[0] = (u) => n.value = !n.value)
2598
2871
  }, {
2599
- default: n(() => [
2600
- o(Be, { "leave-absolute": "" }, {
2601
- default: n(() => [
2602
- (d(), m(U, {
2603
- key: String(s.value)
2872
+ default: a(() => [
2873
+ o($e, { "leave-absolute": "" }, {
2874
+ default: a(() => [
2875
+ (d(), v(A, {
2876
+ key: String(n.value)
2604
2877
  }))
2605
2878
  ]),
2606
2879
  _: 1
2607
2880
  })
2608
2881
  ]),
2609
2882
  _: 1
2610
- }, 8, ["active", "icon", "variant"])) : x("", !0),
2611
- o(Yt, null, {
2612
- default: n(() => [
2613
- Fe(v("div", As, [
2614
- o(h, {
2615
- disabled: e(i).colors.one === "surface-light",
2616
- icon: `svg:${e(Pt)}`,
2883
+ }, 8, ["active", "icon", "variant"])) : $("", !0),
2884
+ o(no, null, {
2885
+ default: a(() => [
2886
+ xe(h("div", Wn, [
2887
+ o(f, {
2888
+ disabled: t(i).colors.one === "surface-light",
2889
+ icon: `svg:${t(Qt)}`,
2617
2890
  class: "ms-2 me-1",
2618
2891
  color: "inherit",
2619
2892
  density: "comfortable",
@@ -2622,7 +2895,7 @@ const Ke = oe("settings", () => {
2622
2895
  onClick: l
2623
2896
  }, null, 8, ["disabled", "icon"])
2624
2897
  ], 512), [
2625
- [Pe, s.value]
2898
+ [Re, n.value]
2626
2899
  ])
2627
2900
  ]),
2628
2901
  _: 1
@@ -2631,11 +2904,11 @@ const Ke = oe("settings", () => {
2631
2904
  ]),
2632
2905
  _: 1
2633
2906
  }, 8, ["color"]),
2634
- o(ue, null, {
2635
- default: n(() => [
2636
- s.value ? (d(), m(io, {
2907
+ o(_e, null, {
2908
+ default: a(() => [
2909
+ n.value ? (d(), v(fo, {
2637
2910
  key: 0,
2638
- "model-value": e(i).colors.one !== "surface-light" ? e(i).colors.one : void 0,
2911
+ "model-value": t(i).colors.one !== "surface-light" ? t(i).colors.one : void 0,
2639
2912
  elevation: "0",
2640
2913
  height: "250",
2641
2914
  rounded: "0",
@@ -2645,45 +2918,50 @@ const Ke = oe("settings", () => {
2645
2918
  "hide-inputs": "",
2646
2919
  "hide-sliders": "",
2647
2920
  "show-swatches": "",
2648
- "onUpdate:modelValue": r[1] || (r[1] = (p) => e(i).colors.one = p)
2649
- }, null, 8, ["model-value"])) : x("", !0)
2921
+ "onUpdate:modelValue": r[1] || (r[1] = (u) => t(i).colors.one = u)
2922
+ }, null, 8, ["model-value"])) : $("", !0)
2650
2923
  ]),
2651
2924
  _: 1
2652
2925
  })
2653
2926
  ], 64);
2654
2927
  };
2655
2928
  }
2656
- }), Us = { class: "text-center mt-n9 mb-4" }, Fs = /* @__PURE__ */ k({
2929
+ }), qn = { class: "text-center mt-n9 mb-4" }, Yn = /* @__PURE__ */ k({
2657
2930
  __name: "VoUserMenu",
2658
- setup(u) {
2659
- const t = q();
2660
- return (i, s) => {
2661
- const l = Ds, a = Cs, r = ks, c = bs, h = Xe;
2662
- return d(), m(ao, {
2663
- modelValue: e(t).isOpen,
2664
- "onUpdate:modelValue": s[0] || (s[0] = (p) => e(t).isOpen = p),
2931
+ setup(p) {
2932
+ const e = Ne(), i = j(), n = E();
2933
+ return N(() => e.banner, async () => {
2934
+ var l, s;
2935
+ await new Promise((r) => setTimeout(r, 300)), i.isOpen && ((s = (l = n.value) == null ? void 0 : l.updateLocation) == null || s.call(l));
2936
+ }, { flush: "pre" }), (l, s) => {
2937
+ const r = Gn, c = Pn, f = zn, u = Nn, m = lt;
2938
+ return d(), v(t(vo), {
2939
+ ref_key: "menu",
2940
+ ref: n,
2941
+ modelValue: t(i).isOpen,
2942
+ "onUpdate:modelValue": s[0] || (s[0] = (b) => t(i).isOpen = b),
2665
2943
  "close-on-click": !1,
2666
2944
  "close-on-content-click": !1,
2667
2945
  activator: "parent",
2668
2946
  location: "bottom end",
2669
2947
  eager: ""
2670
2948
  }, {
2671
- default: n(() => [
2672
- o(P, {
2949
+ default: a(() => [
2950
+ o(R, {
2673
2951
  rounded: "lg",
2674
2952
  width: "280",
2675
2953
  border: ""
2676
2954
  }, {
2677
- default: n(() => [
2678
- o(l),
2679
- v("div", Us, [
2680
- o(a),
2681
- o(r)
2955
+ default: a(() => [
2956
+ o(r),
2957
+ h("div", qn, [
2958
+ o(c),
2959
+ o(f)
2682
2960
  ]),
2683
- o(E),
2684
- o(c),
2685
- o(E),
2686
- o(h)
2961
+ o(W),
2962
+ o(u),
2963
+ o(W),
2964
+ o(m)
2687
2965
  ]),
2688
2966
  _: 1
2689
2967
  })
@@ -2692,39 +2970,39 @@ const Ke = oe("settings", () => {
2692
2970
  }, 8, ["modelValue"]);
2693
2971
  };
2694
2972
  }
2695
- }), Ns = { key: 0 }, Os = /* @__PURE__ */ k({
2973
+ }), Zn = { key: 0 }, Qn = /* @__PURE__ */ k({
2696
2974
  __name: "VoAuthBtn",
2697
2975
  props: {
2698
2976
  external: Boolean
2699
2977
  },
2700
- setup(u) {
2701
- const t = j(), i = q(), s = T(), { lgAndUp: l, mdAndDown: a } = ge(), r = L(() => i.isOpen || !t.user ? s.colors.one === "surface-light" ? "primary" : s.colors.one : "surface-light");
2702
- return (c, h) => {
2703
- const p = Fs, g = de, C = lo;
2704
- return d(), m(C, {
2705
- "offset-y": e(t).user ? 5 : 0
2978
+ setup(p) {
2979
+ const e = F(), i = j(), n = O(), { lgAndUp: l, mdAndDown: s } = se(), r = w(() => i.isOpen || !e.user ? n.colors.one === "surface-light" ? "primary" : n.colors.one : "surface-light");
2980
+ return (c, f) => {
2981
+ const u = Yn, m = ae, b = go;
2982
+ return d(), v(b, {
2983
+ "offset-y": t(e).user ? 5 : 0
2706
2984
  }, {
2707
- default: n(() => [
2708
- o(g, J({
2709
- [`${e(l) ? "append-" : ""}icon`]: e(t).user ? void 0 : `svg:${e(Et)}`
2985
+ default: a(() => [
2986
+ o(m, H({
2987
+ [`${t(l) ? "append-" : ""}icon`]: t(e).user ? void 0 : `svg:${t(Jt)}`
2710
2988
  }, {
2711
2989
  color: r.value,
2712
- icon: e(t).user || e(t).isLoading,
2713
- loading: e(t).isLoading,
2714
- rounded: e(a),
2715
- variant: e(t).user ? "outlined" : "flat",
2990
+ icon: t(e).user || t(e).isLoading,
2991
+ loading: t(e).isLoading,
2992
+ rounded: t(s),
2993
+ variant: t(e).user ? "outlined" : "flat",
2716
2994
  class: "vo-auth-btn",
2717
2995
  size: "default",
2718
2996
  style: { transition: ".2s ease" },
2719
2997
  active: ""
2720
2998
  }), {
2721
- default: n(() => [
2722
- e(t).user ? x("", !0) : (d(), S("span", Ns, "Login")),
2723
- e(t).user ? (d(), m(fe, {
2999
+ default: a(() => [
3000
+ t(e).user ? $("", !0) : (d(), S("span", Zn, "Login")),
3001
+ t(e).user ? (d(), v(ne, {
2724
3002
  key: 1,
2725
- image: e(s).avatar || e(t).user.picture || ""
2726
- }, null, 8, ["image"])) : x("", !0),
2727
- o(p)
3003
+ image: t(n).avatar || t(e).user.picture || ""
3004
+ }, null, 8, ["image"])) : $("", !0),
3005
+ o(u)
2728
3006
  ]),
2729
3007
  _: 1
2730
3008
  }, 16, ["color", "icon", "loading", "rounded", "variant"])
@@ -2733,13 +3011,185 @@ const Ke = oe("settings", () => {
2733
3011
  }, 8, ["offset-y"]);
2734
3012
  };
2735
3013
  }
2736
- }), Bs = (u) => (at("data-v-86d0e524"), u = u(), rt(), u), js = ["href", "title"], zs = {
3014
+ }), Jn = { class: "text-center mb-6" }, Xn = { class: "font-weight-light mb-2" }, Kn = /* @__PURE__ */ h("span", { class: "font-weight-bold" }, "Vuetify One", -1), es = /* @__PURE__ */ k({
3015
+ __name: "VoAuthDialog",
3016
+ setup(p) {
3017
+ const e = F();
3018
+ return (i, n) => {
3019
+ const l = it, s = at;
3020
+ return d(), v(tt, {
3021
+ modelValue: t(e).dialog,
3022
+ "onUpdate:modelValue": n[0] || (n[0] = (r) => t(e).dialog = r),
3023
+ "max-width": "480"
3024
+ }, {
3025
+ default: a(() => [
3026
+ o(R, { class: "pt-6 pb-8 px-4 px-sm-8" }, {
3027
+ default: a(() => [
3028
+ o(ne, {
3029
+ image: "https://vuetifyjs.b-cdn.net/docs/images/avatars/one.png",
3030
+ class: "mx-auto",
3031
+ size: "64"
3032
+ }, null, 8, ["image"]),
3033
+ h("div", Jn, [
3034
+ o(to, { class: "text-h5 mb-1 text-md-h4" }, {
3035
+ default: a(() => [
3036
+ h("div", Xn, C(t(e).lastLoginProvider() ? "Welcome back to" : "Login to"), 1),
3037
+ Kn
3038
+ ]),
3039
+ _: 1
3040
+ }),
3041
+ o(oo, { class: "text-wrap" }, {
3042
+ default: a(() => [
3043
+ B(" Login with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
3044
+ ]),
3045
+ _: 1
3046
+ })
3047
+ ]),
3048
+ o(te, {
3049
+ class: "mx-auto",
3050
+ "max-width": "300",
3051
+ width: "100%"
3052
+ }, {
3053
+ default: a(() => [
3054
+ o(l, { class: "mb-3" }),
3055
+ o(s)
3056
+ ]),
3057
+ _: 1
3058
+ })
3059
+ ]),
3060
+ _: 1
3061
+ })
3062
+ ]),
3063
+ _: 1
3064
+ }, 8, ["modelValue"]);
3065
+ };
3066
+ }
3067
+ }), ts = /* @__PURE__ */ k({
3068
+ __name: "VoNotificationsBanner",
3069
+ setup(p) {
3070
+ const { mdAndUp: e } = se(), i = ot(), n = O(), l = Ne(), s = w(() => l.banner), r = w(() => {
3071
+ var b, V;
3072
+ return ((b = s.value) == null ? void 0 : b.metadata.height) || ((V = s.value) != null && V.metadata.subtext ? 88 : 48);
3073
+ }), c = w(() => !s.value || !n.notifications.last.banner.includes(s.value.slug));
3074
+ function f() {
3075
+ s.value && n.notifications.last.banner.push(s.value.slug);
3076
+ }
3077
+ async function u(b) {
3078
+ var _;
3079
+ if (!s.value)
3080
+ return;
3081
+ f(), await me();
3082
+ const V = ((_ = s.value) == null ? void 0 : _.metadata) ?? { link: "" };
3083
+ if (V.link.indexOf("?one=") === -1)
3084
+ return;
3085
+ b.preventDefault(), b.stopPropagation();
3086
+ const y = V.link.split("?one=")[1];
3087
+ i.push({ query: { one: y } });
3088
+ }
3089
+ const m = w(() => {
3090
+ var V, y;
3091
+ const b = ((V = s.value) == null ? void 0 : V.metadata) ?? { link: "" };
3092
+ return {
3093
+ href: b.link.startsWith("http") ? b.link : void 0,
3094
+ target: b.link.startsWith("http") ? "_blank" : void 0,
3095
+ to: b.link.startsWith("http") ? void 0 : b.link,
3096
+ ...(y = s.value) == null ? void 0 : y.metadata.attributes,
3097
+ onClick: u
3098
+ };
3099
+ });
3100
+ return (b, V) => {
3101
+ var y;
3102
+ return s.value ? (d(), v(_o, {
3103
+ key: 0,
3104
+ color: s.value.metadata.color,
3105
+ height: r.value,
3106
+ image: (y = s.value.metadata.images.bg) == null ? void 0 : y.url,
3107
+ "model-value": c.value,
3108
+ theme: s.value.metadata.theme.key,
3109
+ flat: ""
3110
+ }, {
3111
+ default: a(() => [
3112
+ o(ve, H(m.value, {
3113
+ active: !1,
3114
+ class: "flex-grow-1",
3115
+ lines: "two",
3116
+ onClick: u
3117
+ }), G({
3118
+ append: a(() => [
3119
+ t(e) && s.value.metadata.link && s.value.metadata.link_text ? (d(), v(Ce, { key: 0 }, {
3120
+ default: a(({ isHovering: _, props: x }) => [
3121
+ o(q, H({
3122
+ ...x,
3123
+ ...m.value
3124
+ }, {
3125
+ "append-icon": `svg:${t(fe)}`,
3126
+ color: s.value.metadata.link_color,
3127
+ elevation: _ ? 8 : 0,
3128
+ title: s.value.metadata.link_text,
3129
+ class: "text-none me-2",
3130
+ variant: "elevated",
3131
+ onClick: u
3132
+ }), {
3133
+ default: a(() => [
3134
+ B(C(s.value.metadata.link_text), 1)
3135
+ ]),
3136
+ _: 2
3137
+ }, 1040, ["append-icon", "color", "elevation", "title"])
3138
+ ]),
3139
+ _: 1
3140
+ })) : $("", !0),
3141
+ s.value.metadata.closable ? (d(), v(q, {
3142
+ key: 1,
3143
+ class: "ms-6 me-2",
3144
+ density: "comfortable",
3145
+ icon: "$clear",
3146
+ size: "small",
3147
+ variant: "plain",
3148
+ onClick: Te(f, ["prevent", "stop"])
3149
+ })) : $("", !0)
3150
+ ]),
3151
+ default: a(() => [
3152
+ s.value.metadata.text ? (d(), v(Ke, {
3153
+ key: 0,
3154
+ class: "text-subtitle-2 text-md-subtitle-1 font-weight-medium"
3155
+ }, {
3156
+ default: a(() => [
3157
+ B(C(s.value.metadata.text), 1)
3158
+ ]),
3159
+ _: 1
3160
+ })) : $("", !0),
3161
+ s.value.metadata.subtext ? (d(), v(eo, { key: 1 }, {
3162
+ default: a(() => [
3163
+ B(C(s.value.metadata.subtext), 1)
3164
+ ]),
3165
+ _: 1
3166
+ })) : $("", !0)
3167
+ ]),
3168
+ _: 2
3169
+ }, [
3170
+ s.value.metadata.images.logo ? {
3171
+ name: "prepend",
3172
+ fn: a(() => [
3173
+ o(ne, {
3174
+ image: s.value.metadata.images.logo.url,
3175
+ size: "x-large"
3176
+ }, null, 8, ["image"])
3177
+ ]),
3178
+ key: "0"
3179
+ } : void 0
3180
+ ]), 1040)
3181
+ ]),
3182
+ _: 1
3183
+ }, 8, ["color", "height", "image", "model-value", "theme"])) : $("", !0);
3184
+ };
3185
+ }
3186
+ }), os = (p) => (_t("data-v-86d0e524"), p = p(), ht(), p), ns = ["href", "title"], ss = {
2737
3187
  class: "text-caption text-disabled",
2738
3188
  style: { position: "absolute", right: "16px" }
2739
- }, Ts = /* @__PURE__ */ Bs(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Rs = /* @__PURE__ */ k({
3189
+ }, as = /* @__PURE__ */ os(() => /* @__PURE__ */ h("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), is = /* @__PURE__ */ k({
2740
3190
  __name: "VoFooter",
2741
- setup(u) {
2742
- const t = [
3191
+ setup(p) {
3192
+ const e = [
2743
3193
  {
2744
3194
  title: "Vuetify Documentation",
2745
3195
  icon: "$vuetify",
@@ -2747,7 +3197,7 @@ const Ke = oe("settings", () => {
2747
3197
  },
2748
3198
  {
2749
3199
  title: "Vuetify Support",
2750
- icon: `svg:${Wt}`,
3200
+ icon: `svg:${Xt}`,
2751
3201
  href: "https://support.vuetifyjs.com/"
2752
3202
  },
2753
3203
  {
@@ -2757,26 +3207,26 @@ const Ke = oe("settings", () => {
2757
3207
  },
2758
3208
  {
2759
3209
  title: "Vuetify GitHub",
2760
- icon: `svg:${Oe}`,
3210
+ icon: `svg:${Ee}`,
2761
3211
  href: "https://github.com/vuetifyjs/vuetify"
2762
3212
  },
2763
3213
  {
2764
3214
  title: "Vuetify Discord",
2765
- icon: `svg:${Ne}`,
3215
+ icon: `svg:${He}`,
2766
3216
  href: "https://community.vuetifyjs.com/"
2767
3217
  },
2768
3218
  {
2769
3219
  title: "Vuetify Reddit",
2770
- icon: `svg:${qt}`,
3220
+ icon: `svg:${Kt}`,
2771
3221
  href: "https://reddit.com/r/vuetifyjs"
2772
3222
  }
2773
3223
  ];
2774
- return (i, s) => (d(), m(ro, {
3224
+ return (i, n) => (d(), v(ho, {
2775
3225
  class: "vo-footer",
2776
3226
  height: "40"
2777
3227
  }, {
2778
- default: n(() => [
2779
- (d(), S(F, null, ne(t, (l) => v("a", {
3228
+ default: a(() => [
3229
+ (d(), S(U, null, oe(e, (l) => h("a", {
2780
3230
  key: l.title,
2781
3231
  href: l.href,
2782
3232
  title: l.title,
@@ -2784,127 +3234,130 @@ const Ke = oe("settings", () => {
2784
3234
  rel: "noopener noreferrer",
2785
3235
  target: "_blank"
2786
3236
  }, [
2787
- o(U, {
3237
+ o(A, {
2788
3238
  icon: l.icon,
2789
3239
  size: l.icon === "$vuetify" ? 24 : 16
2790
3240
  }, null, 8, ["icon", "size"])
2791
- ], 8, js)), 64)),
2792
- v("div", zs, [
2793
- O(" © 2016-" + D((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
2794
- Ts
3241
+ ], 8, ns)), 64)),
3242
+ h("div", ss, [
3243
+ B(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
3244
+ as
2795
3245
  ])
2796
3246
  ]),
2797
3247
  _: 1
2798
3248
  }));
2799
3249
  }
2800
3250
  });
2801
- const Hs = (u, t) => {
2802
- const i = u.__vccOpts || u;
2803
- for (const [s, l] of t)
2804
- i[s] = l;
3251
+ const ls = (p, e) => {
3252
+ const i = p.__vccOpts || p;
3253
+ for (const [n, l] of e)
3254
+ i[n] = l;
2805
3255
  return i;
2806
- }, Ms = /* @__PURE__ */ Hs(Rs, [["__scopeId", "data-v-86d0e524"]]), In = oe("bins", () => {
2807
- const u = j(), t = $e(), i = te([]), s = te(), l = N(!1), a = N(-1), r = L(() => !u.user || !s.value ? !1 : u.user.id === s.value.owner.id), c = L(() => i.value.filter((y) => y.favorite)), h = L(() => i.value.filter((y) => y.pinned));
2808
- z(s, () => {
2809
- window.clearTimeout(a.value), a.value = window.setTimeout(() => {
2810
- !s.value || !r.value || _(s.value, s.value.id);
3256
+ }, rs = /* @__PURE__ */ ls(is, [["__scopeId", "data-v-86d0e524"]]), Zs = J("bins", () => {
3257
+ const p = F(), e = he(), i = E([]), n = E(), l = D(!1), s = D(-1), r = w(() => !p.user || !n.value ? !1 : p.user.id === n.value.owner.id), c = w(() => i.value.filter((x) => x.favorite)), f = w(() => i.value.filter((x) => x.pinned));
3258
+ N(n, () => {
3259
+ window.clearTimeout(s.value), s.value = window.setTimeout(() => {
3260
+ !n.value || !r.value || V(n.value, n.value.id);
2811
3261
  }, 100);
2812
3262
  }, { deep: !0 });
2813
- async function p() {
3263
+ async function u() {
2814
3264
  try {
2815
3265
  l.value = !0;
2816
- const y = await t.get("/one/bins");
2817
- i.value = y.bins;
3266
+ const x = await e.get("/one/bins");
3267
+ i.value = x.bins;
2818
3268
  } catch {
2819
3269
  } finally {
2820
3270
  l.value = !1;
2821
3271
  }
2822
3272
  return i.value;
2823
3273
  }
2824
- async function g(y) {
3274
+ async function m(x) {
2825
3275
  try {
2826
- l.value = !0, await t.delete(`/one/bins/${y}`), i.value = i.value.filter(($) => $.id !== y);
3276
+ l.value = !0, await e.delete(`/one/bins/${x}`), i.value = i.value.filter((L) => L.id !== x);
2827
3277
  } catch {
2828
3278
  } finally {
2829
3279
  l.value = !1;
2830
3280
  }
2831
3281
  return !0;
2832
3282
  }
2833
- async function C(y) {
3283
+ async function b(x) {
2834
3284
  try {
2835
3285
  l.value = !0;
2836
- const $ = await t.post("/one/bins", { bin: y });
2837
- return i.value.push($.bin), s.value = $.bin, $;
3286
+ const L = await e.post("/one/bins", { bin: x });
3287
+ return i.value.push(L.bin), n.value = L.bin, L;
2838
3288
  } catch {
2839
3289
  } finally {
2840
3290
  l.value = !1;
2841
3291
  }
2842
- return { bin: y };
3292
+ return { bin: x };
2843
3293
  }
2844
- async function _(y, $) {
3294
+ async function V(x, L) {
2845
3295
  try {
2846
3296
  l.value = !0;
2847
- const B = await t.post(`/one/bins/${$}`, { bin: y }), I = i.value.findIndex((W) => W.id === $);
2848
- i.value.splice(I, 1, B.bin);
3297
+ const z = await e.post(`/one/bins/${L}`, { bin: x }), T = i.value.findIndex((M) => M.id === L);
3298
+ i.value.splice(T, 1, z.bin);
2849
3299
  } catch {
2850
3300
  } finally {
2851
3301
  l.value = !1;
2852
3302
  }
2853
- return { bin: y };
3303
+ return { bin: x };
2854
3304
  }
2855
- async function w(y, $) {
3305
+ async function y(x, L) {
2856
3306
  try {
2857
3307
  l.value = !0;
2858
- const B = $ ? await _(y, $) : await C(y);
2859
- s.value = B.bin;
3308
+ const z = L ? await V(x, L) : await b(x);
3309
+ n.value = z.bin;
2860
3310
  } catch {
2861
3311
  } finally {
2862
3312
  l.value = !1;
2863
3313
  }
2864
- return { bin: y };
3314
+ return { bin: x };
2865
3315
  }
2866
- async function b(y) {
3316
+ async function _(x) {
2867
3317
  try {
2868
3318
  l.value = !0;
2869
- const $ = await t.get(`/one/bins/${y}`);
2870
- s.value = $.bin;
3319
+ const L = await e.get(`/one/bins/${x}`);
3320
+ n.value = L.bin;
2871
3321
  } catch {
2872
3322
  } finally {
2873
3323
  l.value = !1;
2874
3324
  }
2875
- return { bin: s.value };
3325
+ return { bin: n.value };
2876
3326
  }
2877
3327
  return {
2878
3328
  isLoading: l,
2879
3329
  isOwner: r,
2880
- pinned: h,
3330
+ pinned: f,
2881
3331
  favorites: c,
2882
3332
  all: i,
2883
- create: C,
2884
- delete: g,
2885
- current: s,
2886
- find: b,
2887
- get: p,
2888
- update: _,
2889
- updateOrCreate: w
3333
+ create: b,
3334
+ delete: m,
3335
+ current: n,
3336
+ find: _,
3337
+ get: u,
3338
+ update: V,
3339
+ updateOrCreate: y
2890
3340
  };
2891
3341
  });
2892
- function An() {
2893
- function u(t) {
2894
- t.component("VoAuthBtn", Os), t.component("VoAuthListItem", Xe), t.component("VoFooter", Ms);
3342
+ function Qs() {
3343
+ function p(e) {
3344
+ e.component("VoAuthBtn", Qn), e.component("VoAuthDialog", es), e.component("VoAuthListItem", lt), e.component("VoNotificationsBanner", ts), e.component("VoFooter", rs);
2895
3345
  }
2896
- return { install: u };
3346
+ return { install: p };
2897
3347
  }
2898
- function Dn(u) {
2899
- u.store.url = "https://api.vuetifyjs.com";
3348
+ function Js(p, e) {
3349
+ return function(i) {
3350
+ const n = i.store;
3351
+ n.url = e, n.$id === "site" && (n.id = p);
3352
+ };
2900
3353
  }
2901
3354
  export {
2902
- An as createOne,
2903
- Dn as one,
2904
- j as useAuthStore,
2905
- In as useBinsStore,
2906
- $e as useHttpStore,
2907
- q as useOneStore,
2908
- Ke as useSettingsStore,
2909
- T as useUserStore
3355
+ Qs as createOne,
3356
+ Js as one,
3357
+ F as useAuthStore,
3358
+ Zs as useBinsStore,
3359
+ he as useHttpStore,
3360
+ j as useOneStore,
3361
+ Be as useSettingsStore,
3362
+ O as useUserStore
2910
3363
  };