@vuetify/one 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,42 +1,77 @@
1
- import { reactive as ot, toRefs as st, ref as ee, shallowRef as I, computed as A, watch as H, defineComponent as V, openBlock as d, createBlock as h, unref as e, createSlots as G, withCtx as n, createElementVNode as v, toDisplayString as S, createVNode as s, withModifiers as Ue, createCommentVNode as C, renderSlot as W, mergeModels as nt, useModel as de, createElementBlock as w, Fragment as j, createTextVNode as F, renderList as te, mergeProps as se, normalizeStyle as Fe, onBeforeMount as it, onMounted as je, resolveComponent as Ne, withDirectives as Se, vShow as Be, normalizeClass as at, pushScopeId as rt, popScopeId as lt } from "vue";
2
- import { defineStore as X } from "pinia";
1
+ import { defineComponent as b, openBlock as d, createBlock as _, normalizeStyle as Ue, createSlots as G, withCtx as n, createVNode as s, renderSlot as E, reactive as Je, toRefs as Qe, ref as Z, shallowRef as U, computed as A, watch as W, unref as t, createElementVNode as v, toDisplayString as C, withModifiers as Fe, createCommentVNode as S, mergeModels as Xe, useModel as pe, createElementBlock as w, Fragment as F, createTextVNode as j, renderList as te, mergeProps as ce, onBeforeMount as Ze, onMounted as je, resolveComponent as Ne, withDirectives as Se, vShow as Oe, normalizeClass as Ke, pushScopeId as et, popScopeId as tt } from "vue";
2
+ import { VBtn as Q } from "vuetify/lib/components/VBtn/index.mjs";
3
+ import { VProgressCircular as ot } from "vuetify/lib/components/VProgressCircular/index.mjs";
4
+ import { defineStore as K } from "pinia";
3
5
  import { merge as be } from "lodash-es";
4
- import { mdiDiscord as Oe, mdiGithub as ze, mdiSync as ct, mdiSyncOff as ut, mdiLogoutVariant as dt, mdiCheck as K, mdiHome as pt, mdiTextBox as mt, mdiSpaceInvaders as Te, 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 ne, mdiCreditCard as wt, mdiReload as St, mdiPlaylistCheck as Ct, mdiCreditCardOutline as Lt, mdiHandHeart as At, mdiInformationOutline as De, mdiMedal as ye, mdiChartLine as It, mdiHandHeartOutline as Dt, mdiEmailOpenOutline as Ut, mdiEmailVariant as Ft, mdiOpenInNew as jt, mdiBell as Nt, mdiInboxOutline as Bt, mdiInboxFullOutline as Ot, mdiBellOutline as zt, mdiViewDashboardOutline as Tt, mdiTrashCan as Rt, mdiBug as Ht, mdiArrowULeftBottom as Mt, mdiLogin as Re, mdiShieldStarOutline as Pt, mdiReddit as Et } from "@mdi/js";
5
- import { VListItem as pe, VList as Q, VListItemTitle as Wt } from "vuetify/lib/components/VList/index.mjs";
6
- import { VAvatar as ce } from "vuetify/lib/components/VAvatar/index.mjs";
7
- import { VCard as O, VCardText as J, VCardTitle as Gt, VCardSubtitle as qt } from "vuetify/lib/components/VCard/index.mjs";
8
- import { VSheet as Yt } from "vuetify/lib/components/VSheet/index.mjs";
9
- import { VSwitch as He } from "vuetify/lib/components/VSwitch/index.mjs";
10
- import { VFadeTransition as Ce, VExpandTransition as ae, VExpandXTransition as Jt } from "vuetify/lib/components/transitions/index.mjs";
11
- import { VBtn as E } from "vuetify/lib/components/VBtn/index.mjs";
12
- import { VDialog as Me } from "vuetify/lib/components/VDialog/index.mjs";
6
+ import { mdiDiscord as Be, mdiGithub as ze, mdiSync as st, mdiSyncOff as nt, mdiLogoutVariant as it, mdiCheck as ee, mdiHome as at, mdiTextBox as rt, mdiSpaceInvaders as Te, mdiWhiteBalanceSunny as lt, mdiWeatherNight as ct, mdiDesktopTowerMonitor as ut, mdiImageFilterHdr as dt, mdiRocketLaunchOutline as pt, mdiContrastCircle as mt, mdiCog as ft, mdiCogOutline as vt, mdiFileDocument as _t, mdiCreditCardSettingsOutline as ht, mdiRocketOutline as gt, mdiCheckCircleOutline as se, mdiCreditCard as bt, mdiReload as yt, mdiPlaylistCheck as Vt, mdiCreditCardOutline as kt, mdiHandHeart as $t, mdiInformationOutline as De, mdiMedal as ye, mdiChartLine as xt, mdiHandHeartOutline as wt, mdiEmailOpenOutline as St, mdiEmailVariant as Ct, mdiOpenInNew as Lt, mdiBell as It, mdiInboxOutline as At, mdiInboxFullOutline as Dt, mdiBellOutline as Ut, mdiViewDashboardOutline as Ft, mdiTrashCan as jt, mdiBug as Nt, mdiArrowULeftBottom as Ot, mdiLogin as Bt, mdiShieldStarOutline as zt, mdiReddit as Tt } from "@mdi/js";
7
+ import { VListItem as me, VList as oe, VListItemTitle as Rt } from "vuetify/lib/components/VList/index.mjs";
8
+ import { VAvatar as ue } from "vuetify/lib/components/VAvatar/index.mjs";
9
+ import { VCard as T, VCardText as J } from "vuetify/lib/components/VCard/index.mjs";
10
+ import { VSheet as Ht } from "vuetify/lib/components/VSheet/index.mjs";
11
+ import { VSwitch as Re } from "vuetify/lib/components/VSwitch/index.mjs";
12
+ import { VFadeTransition as Ce, VExpandTransition as ie, VExpandXTransition as Mt } from "vuetify/lib/components/transitions/index.mjs";
13
+ import { VDialog as Pt } from "vuetify/lib/components/VDialog/index.mjs";
13
14
  import { VDivider as R } from "vuetify/lib/components/VDivider/index.mjs";
14
- import { VIcon as B } from "vuetify/lib/components/VIcon/index.mjs";
15
+ import { VIcon as N } from "vuetify/lib/components/VIcon/index.mjs";
15
16
  import { VLabel as $e } from "vuetify/lib/components/VLabel/index.mjs";
16
17
  import { VChip as q } from "vuetify/lib/components/VChip/index.mjs";
17
- import { VChipGroup as Qt } from "vuetify/lib/components/VChipGroup/index.mjs";
18
- import { VSelect as Xt } from "vuetify/lib/components/VSelect/index.mjs";
19
- import { useTheme as Pe, useDate as me, useDisplay as Le } from "vuetify";
20
- import { VRow as fe, VCol as ie } from "vuetify/lib/components/VGrid/index.mjs";
21
- import { VHover as Ee } from "vuetify/lib/components/VHover/index.mjs";
22
- import { VImg as ve } from "vuetify/lib/components/VImg/index.mjs";
23
- import { VItemGroup as We, VItem as xe } from "vuetify/lib/components/VItemGroup/index.mjs";
24
- import { VLayout as Ae } from "vuetify/lib/components/VLayout/index.mjs";
25
- import { VMain as Ie } from "vuetify/lib/components/VMain/index.mjs";
26
- import { VProgressCircular as Zt } from "vuetify/lib/components/VProgressCircular/index.mjs";
27
- import { VDataTableVirtual as Kt } from "vuetify/lib/components/VDataTable/index.mjs";
18
+ import { VChipGroup as Et } from "vuetify/lib/components/VChipGroup/index.mjs";
19
+ import { VSelect as Wt } from "vuetify/lib/components/VSelect/index.mjs";
20
+ import { useTheme as Gt, useDate as fe, useDisplay as He } from "vuetify";
21
+ import { VRow as ve, VCol as ne } from "vuetify/lib/components/VGrid/index.mjs";
22
+ import { VHover as Me } from "vuetify/lib/components/VHover/index.mjs";
23
+ import { VImg as Le } from "vuetify/lib/components/VImg/index.mjs";
24
+ import { VItemGroup as Pe, VItem as xe } from "vuetify/lib/components/VItemGroup/index.mjs";
25
+ import { VLayout as Ie } from "vuetify/lib/components/VLayout/index.mjs";
26
+ import { VMain as Ae } from "vuetify/lib/components/VMain/index.mjs";
27
+ import { VDataTableVirtual as qt } from "vuetify/lib/components/VDataTable/index.mjs";
28
28
  import { VSkeletonLoader as we } from "vuetify/lib/components/VSkeletonLoader/index.mjs";
29
- import { VWindow as Ge, VWindowItem as ue } from "vuetify/lib/components/VWindow/index.mjs";
30
- import { VTimeline as eo, VTimelineItem as Ve } from "vuetify/lib/components/VTimeline/index.mjs";
31
- import { VResponsive as to } from "vuetify/lib/components/VResponsive/index.mjs";
32
- import { VTooltip as oo } from "vuetify/lib/components/VTooltip/index.mjs";
33
- import { VNavigationDrawer as so } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
34
- import { VBadge as no } from "vuetify/lib/components/VBadge/index.mjs";
35
- import { Ripple as io } from "vuetify/lib/directives/index.mjs";
36
- import { VColorPicker as ao } from "vuetify/lib/components/VColorPicker/index.mjs";
37
- import { VMenu as qe } from "vuetify/lib/components/VMenu/index.mjs";
38
- import { VFooter as ro } from "vuetify/lib/components/VFooter/index.mjs";
39
- const _e = X("http", {
29
+ import { VWindow as Ee, VWindowItem as de } from "vuetify/lib/components/VWindow/index.mjs";
30
+ import { VTimeline as Yt, VTimelineItem as Ve } from "vuetify/lib/components/VTimeline/index.mjs";
31
+ import { VResponsive as Jt } from "vuetify/lib/components/VResponsive/index.mjs";
32
+ import { VTooltip as Qt } from "vuetify/lib/components/VTooltip/index.mjs";
33
+ import { VNavigationDrawer as Xt } from "vuetify/lib/components/VNavigationDrawer/index.mjs";
34
+ import { VBadge as Zt } from "vuetify/lib/components/VBadge/index.mjs";
35
+ import { Ripple as Kt } from "vuetify/lib/directives/index.mjs";
36
+ import { VColorPicker as eo } from "vuetify/lib/components/VColorPicker/index.mjs";
37
+ import { VMenu as to } from "vuetify/lib/components/VMenu/index.mjs";
38
+ import { VFooter as oo } from "vuetify/lib/components/VFooter/index.mjs";
39
+ const ae = /* @__PURE__ */ b({
40
+ __name: "VoBtn",
41
+ props: {
42
+ readonly: { type: Boolean }
43
+ },
44
+ setup(u) {
45
+ const o = u;
46
+ return (i, e) => (d(), _(Q, {
47
+ style: Ue({
48
+ pointerEvents: o.readonly ? "none" : void 0
49
+ }),
50
+ tabindex: o.readonly ? -1 : void 0,
51
+ class: "text-none font-weight-regular",
52
+ color: "primary",
53
+ size: "small",
54
+ variant: "flat"
55
+ }, G({
56
+ loader: n(() => [
57
+ s(ot, {
58
+ indeterminate: "disable-shrink",
59
+ size: "16",
60
+ width: "2"
61
+ })
62
+ ]),
63
+ _: 2
64
+ }, [
65
+ i.$slots.default ? {
66
+ name: "default",
67
+ fn: n(() => [
68
+ E(i.$slots, "default")
69
+ ]),
70
+ key: "0"
71
+ } : void 0
72
+ ]), 1032, ["style", "tabindex"]));
73
+ }
74
+ }), _e = K("http", {
40
75
  state: () => ({
41
76
  url: ""
42
77
  }),
@@ -106,199 +141,199 @@ const _e = X("http", {
106
141
  jobs: null
107
142
  }
108
143
  }
109
- }, z = X("user", () => {
110
- const u = ot(be({}, le));
144
+ }, H = K("user", () => {
145
+ const u = Je(be({}, le));
111
146
  function o() {
112
147
  if (!ke)
113
148
  return;
114
149
  const r = localStorage.getItem("vuetify@user"), a = r ? JSON.parse(r) : {};
115
- let c = a.v === u.v;
116
- 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 = le.suits, a.notifications.banners = le.notifications.banners, c = !0), a.v = u.v, Object.assign(u, be(u, a)), c && i();
150
+ let l = a.v === u.v;
151
+ 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 = le.suits, a.notifications.banners = le.notifications.banners, l = !0), a.v = u.v, Object.assign(u, be(u, a)), l && i();
117
152
  }
118
153
  function i() {
119
154
  ke && localStorage.setItem("vuetify@user", JSON.stringify(u, null, 2));
120
155
  }
121
- function t() {
156
+ function e() {
122
157
  ke && (Object.assign(u, be({}, le)), i());
123
158
  }
124
159
  return o(), {
125
- ...st(u),
160
+ ...Qe(u),
126
161
  load: o,
127
162
  save: i,
128
- reset: t
163
+ reset: e
129
164
  };
130
- }), N = X("auth", () => {
131
- const u = ee(null), o = _e(), i = z(), t = I(!1), r = A(() => {
132
- var m, k;
133
- return !o.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((k = u.value) != null && k.sponsorships.some((U) => U.isActive));
165
+ }), O = K("auth", () => {
166
+ const u = Z(null), o = _e(), i = H(), e = U(!1), r = A(() => {
167
+ var m, y;
168
+ return !o.url || ((m = u.value) == null ? void 0 : m.isAdmin) || !!((y = u.value) != null && y.sponsorships.some((D) => D.isActive));
134
169
  });
135
170
  let a = !1;
136
- H(u, (m) => {
171
+ W(u, (m) => {
137
172
  if (!(m != null && m.settings))
138
173
  return;
139
- const k = localStorage.getItem("vuetify@user") || "{}";
140
- JSON.stringify(m.settings, null, 2) !== k && (a = !0, Object.assign(i, m.settings));
174
+ const y = localStorage.getItem("vuetify@user") || "{}";
175
+ JSON.stringify(m.settings, null, 2) !== y && (a = !0, Object.assign(i, m.settings));
141
176
  }), i.$subscribe(() => {
142
- a || c(), a = !1;
177
+ a || l(), a = !1;
143
178
  });
144
- async function c() {
179
+ async function l() {
145
180
  try {
146
181
  await o.post("/user/settings", { settings: i.$state });
147
182
  } catch (m) {
148
183
  console.error(m);
149
184
  }
150
185
  }
151
- async function l(m = !1) {
152
- if (l.promise)
153
- return l.promise;
154
- t.value = !0, l.promise = fetch(`${o.url}/auth/verify`, {
186
+ async function c(m = !1) {
187
+ if (c.promise)
188
+ return c.promise;
189
+ e.value = !0, c.promise = fetch(`${o.url}/auth/verify`, {
155
190
  credentials: "include",
156
191
  headers: m ? {
157
192
  "Cache-Control": "no-cache"
158
193
  } : void 0
159
194
  }).then(
160
- async (k) => {
161
- k.ok ? u.value = (await k.json()).user : k.status === 401 ? u.value = null : console.error(k.statusText);
195
+ async (y) => {
196
+ y.ok ? u.value = (await y.json()).user : y.status === 401 ? u.value = null : console.error(y.statusText);
162
197
  },
163
198
  () => {
164
199
  }
165
200
  ).finally(() => {
166
- t.value = !1, l.promise = null;
201
+ e.value = !1, c.promise = null;
167
202
  });
168
203
  }
169
- l.promise = null;
170
- async function f(m = "github") {
171
- t.value = !0;
172
- const k = `${o.url}/auth/${m}/redirect`, U = 400, g = 600, x = window.screenX + (window.innerWidth - U) / 2, L = window.screenY + (window.innerHeight - g) / 2, $ = window.open(
204
+ c.promise = null;
205
+ async function h(m = "github") {
206
+ e.value = !0;
207
+ const y = `${o.url}/auth/${m}/redirect`, D = 400, g = 600, $ = window.screenX + (window.innerWidth - D) / 2, I = window.screenY + (window.innerHeight - g) / 2, V = window.open(
173
208
  "",
174
209
  "vuetify:authorize:popup",
175
- `popup,left=${x},top=${L},width=${U},height=${g},resizable`
210
+ `popup,left=${$},top=${I},width=${D},height=${g},resizable`
176
211
  );
177
- if (!$) {
212
+ if (!V) {
178
213
  console.error("Failed to open popup");
179
214
  return;
180
215
  }
181
- $.location.href = k;
182
- let T = -1, M = -1;
183
- function P(b) {
184
- var Z;
185
- b.origin === o.url && ((Z = b.data) == null ? void 0 : Z.type) === "auth-response" && (b.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", m), u.value = b.data.body.user) : console.error(b.data.message), _());
216
+ V.location.href = y;
217
+ let B = -1, P = -1;
218
+ function M(f) {
219
+ var x;
220
+ f.origin === o.url && ((x = f.data) == null ? void 0 : x.type) === "auth-response" && (f.data.status === "success" ? (u.value || localStorage.setItem("vuetify@lastLoginProvider", m), u.value = f.data.body.user) : console.error(f.data.message), z());
186
221
  }
187
- function _() {
188
- window.removeEventListener("message", P), window.clearInterval(T), window.clearTimeout(M), $ == null || $.close(), t.value = !1;
222
+ function z() {
223
+ window.removeEventListener("message", M), window.clearInterval(B), window.clearTimeout(P), V == null || V.close(), e.value = !1;
189
224
  }
190
- window.addEventListener("message", P), T = window.setInterval(() => {
191
- !$ || $.closed ? (console.error("Auth popup closed"), _()) : $.postMessage({ type: "auth-request" }, "*");
192
- }, 1e3), M = window.setTimeout(() => {
193
- _(), console.error("Auth timed out");
225
+ window.addEventListener("message", M), B = window.setInterval(() => {
226
+ !V || V.closed ? (console.error("Auth popup closed"), z()) : V.postMessage({ type: "auth-request" }, "*");
227
+ }, 1e3), P = window.setTimeout(() => {
228
+ z(), console.error("Auth timed out");
194
229
  }, 120 * 1e3);
195
230
  }
196
231
  async function p(m) {
197
- t.value = !0;
198
- const k = m ? `/auth/${m}/logout` : "/auth/logout";
232
+ e.value = !0;
233
+ const y = m ? `/auth/${m}/logout` : "/auth/logout";
199
234
  try {
200
- await o.post(k), await l(!0), u.value = null;
201
- } catch (U) {
202
- console.error(U);
235
+ await o.post(y), await c(!0), u.value = null;
236
+ } catch (D) {
237
+ console.error(D);
203
238
  } finally {
204
- t.value = !1;
239
+ e.value = !1;
205
240
  }
206
241
  }
207
- function y(m) {
208
- var k;
209
- return (k = u.value) == null ? void 0 : k.identities.find((U) => U.provider === m);
242
+ function k(m) {
243
+ var y;
244
+ return (y = u.value) == null ? void 0 : y.identities.find((D) => D.provider === m);
210
245
  }
211
- function D() {
246
+ function L() {
212
247
  return localStorage.getItem("vuetify@lastLoginProvider");
213
248
  }
214
- return D() && l(), {
249
+ return L() && c(), {
215
250
  user: u,
216
251
  url: o.url,
217
- isLoading: t,
218
- findIdentity: y,
219
- verify: l,
220
- login: f,
252
+ isLoading: e,
253
+ findIdentity: k,
254
+ verify: c,
255
+ login: h,
221
256
  logout: p,
222
257
  isSubscriber: r,
223
- lastLoginProvider: D,
224
- sync: c
258
+ lastLoginProvider: L,
259
+ sync: l
225
260
  };
226
- }), lo = { class: "text-body-2" }, co = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), Ye = /* @__PURE__ */ V({
261
+ }), so = { class: "text-body-2" }, no = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), io = /* @__PURE__ */ b({
227
262
  __name: "VoAuthDiscord",
228
263
  setup(u) {
229
- const o = N(), i = A(() => o.user && o.findIdentity("discord")), t = A(() => o.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
230
- return (r, a) => (d(), h(pe, {
231
- "prepend-icon": `svg:${e(Oe)}`,
264
+ const o = O(), i = A(() => o.user && o.findIdentity("discord")), e = A(() => o.user ? i.value ? "Connected to Discord" : "Connect Discord" : "Log in with Discord");
265
+ return (r, a) => (d(), _(me, {
266
+ "prepend-icon": `svg:${t(Be)}`,
232
267
  "base-color": "#5865F2",
233
268
  rounded: "pill",
234
269
  variant: "flat",
235
270
  slim: "",
236
- onClick: a[0] || (a[0] = (c) => e(o).login("discord"))
271
+ onClick: a[0] || (a[0] = (l) => t(o).login("discord"))
237
272
  }, G({
238
273
  title: n(() => [
239
- v("span", lo, S(t.value), 1)
274
+ v("span", so, C(e.value), 1)
240
275
  ]),
241
276
  _: 2
242
277
  }, [
243
- !e(o).user && e(o).lastLoginProvider() === "discord" ? {
278
+ !t(o).user && t(o).lastLoginProvider() === "discord" ? {
244
279
  name: "subtitle",
245
280
  fn: n(() => [
246
- co
281
+ no
247
282
  ]),
248
283
  key: "0"
249
284
  } : void 0
250
285
  ]), 1032, ["prepend-icon"]));
251
286
  }
252
- }), uo = { class: "text-body-2" }, po = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), Je = /* @__PURE__ */ V({
287
+ }), ao = { class: "text-body-2" }, ro = /* @__PURE__ */ v("div", { class: "text-caption mt-n1" }, "Last Used", -1), lo = /* @__PURE__ */ b({
253
288
  __name: "VoAuthGithub",
254
289
  setup(u) {
255
- const o = N(), i = A(() => o.user && o.findIdentity("github")), t = A(() => o.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
256
- return (r, a) => (d(), h(pe, {
257
- "prepend-icon": `svg:${e(ze)}`,
290
+ const o = O(), i = A(() => o.user && o.findIdentity("github")), e = A(() => o.user ? i.value ? "Connected to GitHub" : "Connect GitHub" : "Log in with GitHub");
291
+ return (r, a) => (d(), _(me, {
292
+ "prepend-icon": `svg:${t(ze)}`,
258
293
  "base-color": "#2a2a2a",
259
294
  rounded: "pill",
260
295
  variant: "flat",
261
296
  slim: "",
262
- onClick: a[0] || (a[0] = (c) => e(o).login("github"))
297
+ onClick: a[0] || (a[0] = (l) => t(o).login("github"))
263
298
  }, G({
264
299
  title: n(() => [
265
- v("span", uo, S(t.value), 1)
300
+ v("span", ao, C(e.value), 1)
266
301
  ]),
267
302
  _: 2
268
303
  }, [
269
- !e(o).user && e(o).lastLoginProvider() === "github" ? {
304
+ !t(o).user && t(o).lastLoginProvider() === "github" ? {
270
305
  name: "subtitle",
271
306
  fn: n(() => [
272
- po
307
+ ro
273
308
  ]),
274
309
  key: "0"
275
310
  } : void 0
276
311
  ]), 1032, ["prepend-icon"]));
277
312
  }
278
- }), mo = { class: "pa-4 d-flex flex-column ga-4" }, fo = /* @__PURE__ */ V({
313
+ }), co = { class: "pa-4 d-flex flex-column ga-4" }, uo = /* @__PURE__ */ b({
279
314
  __name: "VoAuthListItem",
280
315
  setup(u) {
281
- const o = N(), i = z(), t = I(!o.user && !o.isLoading);
282
- H(() => o.user, (a) => {
283
- t.value = !a;
316
+ const o = O(), i = H(), e = U(!o.user && !o.isLoading);
317
+ W(() => o.user, (a) => {
318
+ e.value = !a;
284
319
  });
285
320
  function r() {
286
- o.user && (t.value = !t.value);
321
+ o.user && (e.value = !e.value);
287
322
  }
288
- return (a, c) => {
289
- const l = Je, f = Ye;
290
- return d(), h(O, {
291
- variant: t.value ? "tonal" : "text",
323
+ return (a, l) => {
324
+ const c = lo, h = io;
325
+ return d(), _(T, {
326
+ variant: e.value ? "tonal" : "text",
292
327
  class: "ma-2",
293
328
  rounded: "lg"
294
329
  }, {
295
330
  default: n(() => [
296
- s(Q, { class: "py-0" }, {
331
+ s(oe, { class: "py-0" }, {
297
332
  default: n(() => [
298
- s(pe, {
299
- link: !!e(o).user,
300
- "prepend-icon": `svg:${e(o).user && e(i).syncSettings ? e(ct) : e(ut)}`,
301
- title: e(o).user && e(i).syncSettings ? "Sync is on" : "Sync is paused",
333
+ s(me, {
334
+ link: !!t(o).user,
335
+ "prepend-icon": `svg:${t(o).user && t(i).syncSettings ? t(st) : t(nt)}`,
336
+ title: t(o).user && t(i).syncSettings ? "Sync is on" : "Sync is paused",
302
337
  class: "mb-0",
303
338
  rounded: "b-0",
304
339
  nav: "",
@@ -308,49 +343,49 @@ const _e = X("http", {
308
343
  append: n(() => [
309
344
  s(Ce, null, {
310
345
  default: n(() => [
311
- e(o).user && (t.value || !e(i).syncSettings) ? (d(), h(He, {
346
+ t(o).user && (e.value || !t(i).syncSettings) ? (d(), _(Re, {
312
347
  key: 0,
313
- modelValue: e(i).syncSettings,
314
- "onUpdate:modelValue": c[0] || (c[0] = (p) => e(i).syncSettings = p),
315
- color: e(i).syncSettings ? "success" : void 0,
348
+ modelValue: t(i).syncSettings,
349
+ "onUpdate:modelValue": l[0] || (l[0] = (p) => t(i).syncSettings = p),
350
+ color: t(i).syncSettings ? "success" : void 0,
316
351
  density: "compact",
317
352
  "hide-details": "",
318
353
  inset: "",
319
- onClick: c[1] || (c[1] = Ue(() => {
354
+ onClick: l[1] || (l[1] = Fe(() => {
320
355
  }, ["stop"]))
321
356
  }, {
322
357
  thumb: n(() => [
323
- s(ce, {
324
- color: e(i).syncSettings ? "success" : void 0
358
+ s(ue, {
359
+ color: t(i).syncSettings ? "success" : void 0
325
360
  }, null, 8, ["color"])
326
361
  ]),
327
362
  _: 1
328
- }, 8, ["modelValue", "color"])) : C("", !0)
363
+ }, 8, ["modelValue", "color"])) : S("", !0)
329
364
  ]),
330
365
  _: 1
331
366
  })
332
367
  ]),
333
368
  _: 1
334
369
  }, 8, ["link", "prepend-icon", "title"]),
335
- s(ae, null, {
370
+ s(ie, null, {
336
371
  default: n(() => [
337
- !e(o).user && !e(o).isLoading || t.value ? (d(), h(Yt, {
372
+ !t(o).user && !t(o).isLoading || e.value ? (d(), _(Ht, {
338
373
  key: 0,
339
374
  border: "t",
340
375
  color: "transparent"
341
376
  }, {
342
377
  default: n(() => [
343
- v("div", mo, [
344
- s(l, {
345
- onClick: c[2] || (c[2] = (p) => t.value = !1)
378
+ v("div", co, [
379
+ s(c, {
380
+ onClick: l[2] || (l[2] = (p) => e.value = !1)
346
381
  }),
347
- s(f, {
348
- onClick: c[3] || (c[3] = (p) => t.value = !1)
382
+ s(h, {
383
+ onClick: l[3] || (l[3] = (p) => e.value = !1)
349
384
  })
350
385
  ])
351
386
  ]),
352
387
  _: 1
353
- })) : C("", !0)
388
+ })) : S("", !0)
354
389
  ]),
355
390
  _: 1
356
391
  })
@@ -362,61 +397,61 @@ const _e = X("http", {
362
397
  }, 8, ["variant"]);
363
398
  };
364
399
  }
365
- }), Y = /* @__PURE__ */ V({
400
+ }), Y = /* @__PURE__ */ b({
366
401
  __name: "VoListItem",
367
402
  setup(u) {
368
- return (o, i) => (d(), h(pe, { slim: "" }, G({
403
+ return (o, i) => (d(), _(me, { slim: "" }, G({
369
404
  default: n(() => [
370
- W(o.$slots, "default")
405
+ E(o.$slots, "default")
371
406
  ]),
372
407
  _: 2
373
408
  }, [
374
409
  o.$slots.prepend ? {
375
410
  name: "prepend",
376
411
  fn: n(() => [
377
- W(o.$slots, "prepend")
412
+ E(o.$slots, "prepend")
378
413
  ]),
379
414
  key: "0"
380
415
  } : void 0,
381
416
  o.$slots.title ? {
382
417
  name: "title",
383
418
  fn: n(() => [
384
- W(o.$slots, "title")
419
+ E(o.$slots, "title")
385
420
  ]),
386
421
  key: "1"
387
422
  } : void 0,
388
423
  o.$slots.append ? {
389
424
  name: "append",
390
425
  fn: n(() => [
391
- W(o.$slots, "append")
426
+ E(o.$slots, "append")
392
427
  ]),
393
428
  key: "2"
394
429
  } : void 0
395
430
  ]), 1024));
396
431
  }
397
- }), vo = /* @__PURE__ */ V({
432
+ }), po = /* @__PURE__ */ b({
398
433
  __name: "VoAuthLogoutListItem",
399
434
  setup(u) {
400
- const o = N(), i = I(!1);
401
- async function t() {
435
+ const o = O(), i = U(!1);
436
+ async function e() {
402
437
  i.value = !0, await o.logout(), i.value = !1;
403
438
  }
404
439
  return (r, a) => {
405
- const c = Y;
406
- return d(), h(c, {
440
+ const l = Y;
441
+ return d(), _(l, {
407
442
  disabled: i.value,
408
443
  loading: i.value,
409
- "prepend-icon": `svg:${e(dt)}`,
444
+ "prepend-icon": `svg:${t(it)}`,
410
445
  class: "mb-0",
411
446
  title: "Logout",
412
447
  link: "",
413
- onClick: t
448
+ onClick: e
414
449
  }, null, 8, ["disabled", "loading", "prepend-icon"]);
415
450
  };
416
451
  }
417
- }), he = /* @__PURE__ */ V({
452
+ }), he = /* @__PURE__ */ b({
418
453
  __name: "VoDialog",
419
- props: /* @__PURE__ */ nt({
454
+ props: /* @__PURE__ */ Xe({
420
455
  prependIcon: {},
421
456
  title: {}
422
457
  }, {
@@ -425,49 +460,49 @@ const _e = X("http", {
425
460
  }),
426
461
  emits: ["update:modelValue"],
427
462
  setup(u) {
428
- const o = de(u, "modelValue");
429
- return (i, t) => (d(), h(Me, {
463
+ const o = pe(u, "modelValue");
464
+ return (i, e) => (d(), _(Pt, {
430
465
  modelValue: o.value,
431
- "onUpdate:modelValue": t[1] || (t[1] = (r) => o.value = r),
466
+ "onUpdate:modelValue": e[1] || (e[1] = (r) => o.value = r),
432
467
  activator: "parent",
433
468
  height: "100%",
434
469
  "max-height": "800",
435
470
  "max-width": "800"
436
471
  }, {
437
472
  default: n(({ isActive: r }) => [
438
- s(O, {
473
+ s(T, {
439
474
  "prepend-icon": i.prependIcon,
440
475
  title: i.title,
441
476
  class: "overflow-hidden",
442
477
  height: "inherit"
443
478
  }, G({
444
479
  append: n(() => [
445
- W(i.$slots, "append"),
446
- s(E, {
480
+ E(i.$slots, "append"),
481
+ s(Q, {
447
482
  density: "comfortable",
448
483
  icon: "$close",
449
484
  size: "small",
450
485
  variant: "text",
451
- onClick: t[0] || (t[0] = (a) => o.value = !o.value)
486
+ onClick: e[0] || (e[0] = (a) => o.value = !o.value)
452
487
  })
453
488
  ]),
454
489
  default: n(() => [
455
490
  s(R, { class: "mt-4" }),
456
- W(i.$slots, "default")
491
+ E(i.$slots, "default")
457
492
  ]),
458
493
  _: 2
459
494
  }, [
460
495
  i.$slots.prepend ? {
461
496
  name: "prepend",
462
497
  fn: n(() => [
463
- W(i.$slots, "prepend")
498
+ E(i.$slots, "prepend")
464
499
  ]),
465
500
  key: "0"
466
501
  } : void 0,
467
502
  i.$slots.actions ? {
468
503
  name: "actions",
469
504
  fn: n(() => [
470
- W(i.$slots, "actions", { isActive: r })
505
+ E(i.$slots, "actions", { isActive: r })
471
506
  ]),
472
507
  key: "1"
473
508
  } : void 0
@@ -476,21 +511,21 @@ const _e = X("http", {
476
511
  _: 3
477
512
  }, 8, ["modelValue"]));
478
513
  }
479
- }), Qe = /* @__PURE__ */ V({
514
+ }), We = /* @__PURE__ */ b({
480
515
  __name: "VoSwitch",
481
516
  props: {
482
517
  disabled: { type: Boolean }
483
518
  },
484
519
  setup(u) {
485
- return (o, i) => (d(), h(He, {
520
+ return (o, i) => (d(), _(Re, {
486
521
  disabled: o.disabled,
487
- "true-icon": `svg:${e(K)}`,
522
+ "true-icon": `svg:${t(ee)}`,
488
523
  color: "primary",
489
524
  density: "compact",
490
525
  inset: ""
491
526
  }, G({
492
527
  thumb: n(() => [
493
- s(B, {
528
+ s(N, {
494
529
  color: o.disabled ? void 0 : "primary"
495
530
  }, null, 8, ["color"])
496
531
  ]),
@@ -499,40 +534,40 @@ const _e = X("http", {
499
534
  o.$slots.label ? {
500
535
  name: "label",
501
536
  fn: n(() => [
502
- W(o.$slots, "label")
537
+ E(o.$slots, "label")
503
538
  ]),
504
539
  key: "0"
505
540
  } : void 0
506
541
  ]), 1032, ["disabled", "true-icon"]));
507
542
  }
508
- }), _o = {
543
+ }), mo = {
509
544
  key: 1,
510
545
  class: "mb-3 text-caption text-medium-emphasis"
511
- }, re = /* @__PURE__ */ V({
546
+ }, re = /* @__PURE__ */ b({
512
547
  __name: "VoDialogSubheader",
513
548
  props: {
514
549
  title: {},
515
550
  text: {}
516
551
  },
517
552
  setup(u) {
518
- return (o, i) => (d(), w(j, null, [
519
- o.title ? (d(), h($e, {
553
+ return (o, i) => (d(), w(F, null, [
554
+ o.title ? (d(), _($e, {
520
555
  key: 0,
521
556
  class: "font-weight-black"
522
557
  }, {
523
558
  default: n(() => [
524
- F(S(o.title), 1)
559
+ j(C(o.title), 1)
525
560
  ]),
526
561
  _: 1
527
- })) : C("", !0),
528
- o.text ? (d(), w("div", _o, S(o.text), 1)) : C("", !0)
562
+ })) : S("", !0),
563
+ o.text ? (d(), w("div", mo, C(o.text), 1)) : S("", !0)
529
564
  ], 64));
530
565
  }
531
- }), ho = { key: 0 }, go = /* @__PURE__ */ V({
566
+ }), fo = { key: 0 }, vo = /* @__PURE__ */ b({
532
567
  __name: "VoSettingsPageSuitOption",
533
568
  setup(u) {
534
- N();
535
- const o = z(), i = [
569
+ O();
570
+ const o = H(), i = [
536
571
  {
537
572
  title: "Blackguard",
538
573
  prependIcon: `svg:${Te}`,
@@ -549,22 +584,22 @@ const _e = X("http", {
549
584
  // value: 'nebula',
550
585
  // },
551
586
  ];
552
- return (t, r) => {
553
- const a = Qe, c = re;
554
- return d(), w(j, null, [
587
+ return (e, r) => {
588
+ const a = We, l = re;
589
+ return d(), w(F, null, [
555
590
  s(a, {
556
- modelValue: e(o).suits.show,
557
- "onUpdate:modelValue": r[0] || (r[0] = (l) => e(o).suits.show = l),
591
+ modelValue: t(o).suits.show,
592
+ "onUpdate:modelValue": r[0] || (r[0] = (c) => t(o).suits.show = c),
558
593
  class: "mb-2",
559
594
  label: "Enable Page suits",
560
595
  messages: "Customize layout elements with a unique background, styled after one of our themed releases."
561
596
  }, null, 8, ["modelValue"]),
562
- s(ae, null, {
597
+ s(ie, null, {
563
598
  default: n(() => [
564
- e(o).suits.show ? (d(), w("div", ho, [
565
- s(Xt, {
566
- modelValue: e(o).suits.suit,
567
- "onUpdate:modelValue": r[1] || (r[1] = (l) => e(o).suits.suit = l),
599
+ t(o).suits.show ? (d(), w("div", fo, [
600
+ s(Wt, {
601
+ modelValue: t(o).suits.suit,
602
+ "onUpdate:modelValue": r[1] || (r[1] = (c) => t(o).suits.suit = c),
568
603
  items: i,
569
604
  density: "compact",
570
605
  placeholder: "Choose page suit",
@@ -574,27 +609,27 @@ const _e = X("http", {
574
609
  "item-props": "",
575
610
  "single-line": ""
576
611
  }, {
577
- selection: n(({ item: l }) => [
578
- s(B, {
579
- icon: l.props.prependIcon,
612
+ selection: n(({ item: c }) => [
613
+ s(N, {
614
+ icon: c.props.prependIcon,
580
615
  size: "x-small",
581
616
  start: ""
582
617
  }, null, 8, ["icon"]),
583
- F(" " + S(l.title), 1)
618
+ j(" " + C(c.title), 1)
584
619
  ]),
585
620
  _: 1
586
621
  }, 8, ["modelValue"]),
587
- s(c, { text: "Select your suit elements to display the background image:" }),
588
- s(Qt, {
589
- modelValue: e(o).suits.elements,
590
- "onUpdate:modelValue": r[2] || (r[2] = (l) => e(o).suits.elements = l),
622
+ s(l, { text: "Select your suit elements to display the background image:" }),
623
+ s(Et, {
624
+ modelValue: t(o).suits.elements,
625
+ "onUpdate:modelValue": r[2] || (r[2] = (c) => t(o).suits.elements = c),
591
626
  color: "primary",
592
627
  filter: "",
593
628
  multiple: ""
594
629
  }, {
595
630
  default: n(() => [
596
631
  s(q, {
597
- "append-icon": `svg:${e(pt)}`,
632
+ "append-icon": `svg:${t(at)}`,
598
633
  "filter-icon": "$success",
599
634
  text: "App Bar",
600
635
  value: "app-bar",
@@ -605,12 +640,12 @@ const _e = X("http", {
605
640
  class: "ms-2 border-opacity-50",
606
641
  vertical: ""
607
642
  }),
608
- s(B, { size: "x-small" })
643
+ s(N, { size: "x-small" })
609
644
  ]),
610
645
  _: 1
611
646
  }, 8, ["append-icon"]),
612
647
  s(q, {
613
- "append-icon": `svg:${e(mt)}`,
648
+ "append-icon": `svg:${t(rt)}`,
614
649
  "filter-icon": "$success",
615
650
  text: "Navigation Drawer",
616
651
  value: "drawer",
@@ -621,7 +656,7 @@ const _e = X("http", {
621
656
  class: "ms-2 border-opacity-50",
622
657
  vertical: ""
623
658
  }),
624
- s(B, { size: "x-small" })
659
+ s(N, { size: "x-small" })
625
660
  ]),
626
661
  _: 1
627
662
  }, 8, ["append-icon"]),
@@ -637,14 +672,14 @@ const _e = X("http", {
637
672
  class: "ms-2 border-opacity-50",
638
673
  vertical: ""
639
674
  }),
640
- s(B, { size: "x-small" })
675
+ s(N, { size: "x-small" })
641
676
  ]),
642
677
  _: 1
643
678
  })
644
679
  ]),
645
680
  _: 1
646
681
  }, 8, ["modelValue"])
647
- ])) : C("", !0)
682
+ ])) : S("", !0)
648
683
  ]),
649
684
  _: 1
650
685
  })
@@ -652,7 +687,7 @@ const _e = X("http", {
652
687
  };
653
688
  }
654
689
  });
655
- function bo() {
690
+ function _o() {
656
691
  return {
657
692
  blackguard: {
658
693
  dark: !0,
@@ -768,8 +803,8 @@ function bo() {
768
803
  }
769
804
  };
770
805
  }
771
- const Xe = X("settings", () => {
772
- const u = "https://cdn.vuetifyjs.com/docs/images/one/", o = N(), i = z(), t = Pe(), r = bo(), a = {
806
+ const Ge = K("settings", () => {
807
+ const u = "https://cdn.vuetifyjs.com/docs/images/one/", o = O(), i = H(), e = Gt(), r = _o(), a = {
773
808
  blackguard: {
774
809
  "app-bar": u + "suits/blackguard/blackguard-app-bar.png",
775
810
  drawer: u + "suits/blackguard/blackguard-app-drawer.png",
@@ -785,24 +820,24 @@ const Xe = X("settings", () => {
785
820
  // 'drawer': '',
786
821
  // footer: '',
787
822
  // },
788
- }, c = A(() => {
823
+ }, l = A(() => {
789
824
  if (!i.suits.suit || !i.suits.show || !o.isSubscriber)
790
825
  return {};
791
- const l = a[i.suits.suit.toLowerCase()], f = {};
826
+ const c = a[i.suits.suit.toLowerCase()], h = {};
792
827
  for (const p of i.suits.elements)
793
- f[p] = l[p];
794
- return f;
828
+ h[p] = c[p];
829
+ return h;
795
830
  });
796
- return t.themes.value = {
797
- ...t.themes.value,
831
+ return e.themes.value = {
832
+ ...e.themes.value,
798
833
  ...r
799
- }, H(() => i.theme, (l) => {
800
- l === "system" ? t.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : t.global.name.value = l, i.theme = l;
834
+ }, W(() => i.theme, (c) => {
835
+ c === "system" ? e.global.name.value = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : e.global.name.value = c, i.theme = c;
801
836
  }), {
802
- suit: c,
837
+ suit: l,
803
838
  CDN_URL: u
804
839
  };
805
- }), yo = /* @__PURE__ */ V({
840
+ }), ho = /* @__PURE__ */ b({
806
841
  __name: "VoSettingsDialog",
807
842
  props: {
808
843
  modelValue: { type: Boolean },
@@ -810,99 +845,99 @@ const Xe = X("settings", () => {
810
845
  },
811
846
  emits: ["update:modelValue"],
812
847
  setup(u) {
813
- const o = de(u, "modelValue"), i = N(), t = Xe(), r = z(), a = [
848
+ const o = pe(u, "modelValue"), i = O(), e = Ge(), r = H(), a = [
814
849
  {
815
850
  title: "Light",
816
851
  subtitle: "A standard light theme.",
817
- image: t.CDN_URL + "themes/light.png",
818
- prependIcon: `svg:${ft}`,
852
+ image: e.CDN_URL + "themes/light.png",
853
+ prependIcon: `svg:${lt}`,
819
854
  value: "light"
820
855
  },
821
856
  {
822
857
  title: "Dark",
823
858
  subtitle: "A standard dark theme.",
824
- image: t.CDN_URL + "themes/dark.png",
825
- prependIcon: `svg:${vt}`,
859
+ image: e.CDN_URL + "themes/dark.png",
860
+ prependIcon: `svg:${ct}`,
826
861
  value: "dark"
827
862
  },
828
863
  {
829
864
  title: "System",
830
865
  subtitle: "A theme based on the system preference.",
831
- image: t.CDN_URL + "themes/system.png",
832
- prependIcon: `svg:${_t}`,
866
+ image: e.CDN_URL + "themes/system.png",
867
+ prependIcon: `svg:${ut}`,
833
868
  value: "system"
834
869
  },
835
870
  {
836
871
  title: "Blackguard",
837
872
  subtitle: "A theme for v3.4 Blackguard.",
838
- image: t.CDN_URL + "themes/blackguard.png",
873
+ image: e.CDN_URL + "themes/blackguard.png",
839
874
  prependIcon: `svg:${Te}`,
840
875
  value: "blackguard"
841
876
  },
842
877
  {
843
878
  title: "Polaris",
844
879
  subtitle: "A theme for v3.5 Polaris.",
845
- image: t.CDN_URL + "themes/polaris.png",
846
- prependIcon: `svg:${ht}`,
880
+ image: e.CDN_URL + "themes/polaris.png",
881
+ prependIcon: `svg:${dt}`,
847
882
  value: "polaris",
848
883
  disabled: !0
849
884
  },
850
885
  {
851
886
  title: "Nebula",
852
887
  subtitle: "A theme for v3.6 Nebula.",
853
- image: t.CDN_URL + "themes/nebula.png",
854
- prependIcon: `svg:${gt}`,
888
+ image: e.CDN_URL + "themes/nebula.png",
889
+ prependIcon: `svg:${pt}`,
855
890
  value: "nebula",
856
891
  disabled: !0
857
892
  },
858
893
  {
859
894
  title: "High Contrast",
860
895
  subtitle: "A theme for high contrast.",
861
- image: t.CDN_URL + "themes/high-contrast.png",
862
- prependIcon: `svg:${bt}`,
896
+ image: e.CDN_URL + "themes/high-contrast.png",
897
+ prependIcon: `svg:${mt}`,
863
898
  value: "highContrast",
864
899
  disabled: !0
865
900
  }
866
901
  ];
867
- return (c, l) => {
868
- const f = re, p = go, y = Qe, D = he;
869
- return d(), h(D, {
902
+ return (l, c) => {
903
+ const h = re, p = vo, k = We, L = he;
904
+ return d(), _(L, {
870
905
  modelValue: o.value,
871
- "onUpdate:modelValue": l[5] || (l[5] = (m) => o.value = m),
872
- "prepend-icon": `svg:${e(yt)}`,
906
+ "onUpdate:modelValue": c[5] || (c[5] = (m) => o.value = m),
907
+ "prepend-icon": `svg:${t(ft)}`,
873
908
  title: "Settings"
874
909
  }, {
875
910
  default: n(() => [
876
- s(Ae, null, {
911
+ s(Ie, null, {
877
912
  default: n(() => [
878
- s(Ie, { scrollable: "" }, {
913
+ s(Ae, { scrollable: "" }, {
879
914
  default: n(() => [
880
915
  s(J, { class: "px-7" }, {
881
916
  default: n(() => [
882
- s(f, {
917
+ s(h, {
883
918
  text: "Customize your documentation experience with light and dark themes, as well as a combination of both named.",
884
919
  title: "Theme"
885
920
  }),
886
- s(We, {
887
- modelValue: e(r).theme,
888
- "onUpdate:modelValue": l[0] || (l[0] = (m) => e(r).theme = m),
921
+ s(Pe, {
922
+ modelValue: t(r).theme,
923
+ "onUpdate:modelValue": c[0] || (c[0] = (m) => t(r).theme = m),
889
924
  mandatory: ""
890
925
  }, {
891
926
  default: n(() => [
892
- s(fe, { dense: "" }, {
927
+ s(ve, { dense: "" }, {
893
928
  default: n(() => [
894
- (d(), w(j, null, te(a, (m, k) => s(ie, {
895
- key: k,
929
+ (d(), w(F, null, te(a, (m, y) => s(ne, {
930
+ key: y,
896
931
  cols: "6"
897
932
  }, {
898
933
  default: n(() => [
899
934
  s(xe, {
900
935
  value: m.value
901
936
  }, {
902
- default: n(({ toggle: U, isSelected: g }) => [
903
- s(Ee, null, {
904
- default: n(({ props: x, isHovering: L }) => [
905
- s(O, se({
937
+ default: n(({ toggle: D, isSelected: g }) => [
938
+ s(Me, null, {
939
+ default: n(({ props: $, isHovering: I }) => [
940
+ s(T, ce({
906
941
  color: g ? "primary" : "surface-variant",
907
942
  disabled: m.disabled,
908
943
  image: m.image,
@@ -912,11 +947,11 @@ const Xe = X("settings", () => {
912
947
  title: m.title,
913
948
  height: "76",
914
949
  variant: "tonal"
915
- }, x, { onClick: U }), {
950
+ }, $, { onClick: D }), {
916
951
  image: n(() => [
917
- s(ve, {
918
- style: Fe({
919
- filter: g || L ? "none" : "grayscale(100%)"
952
+ s(Le, {
953
+ style: Ue({
954
+ filter: g || I ? "none" : "grayscale(100%)"
920
955
  })
921
956
  }, null, 8, ["style"])
922
957
  ]),
@@ -937,31 +972,31 @@ const Xe = X("settings", () => {
937
972
  ]),
938
973
  _: 1
939
974
  }, 8, ["modelValue"]),
940
- e(i).isSubscriber ? (d(), w(j, { key: 0 }, [
975
+ t(i).isSubscriber ? (d(), w(F, { key: 0 }, [
941
976
  s(R, { class: "mt-6 mb-4" }),
942
977
  s(p)
943
- ], 64)) : C("", !0)
978
+ ], 64)) : S("", !0)
944
979
  ]),
945
980
  _: 1
946
981
  }),
947
982
  s(R),
948
983
  s(J, { class: "px-7" }, {
949
984
  default: n(() => [
950
- s(f, {
985
+ s(h, {
951
986
  text: "These options change your browsing experience within Vuetify properties",
952
987
  title: "Experience"
953
988
  }),
954
- e(i).isSubscriber ? (d(), h(y, {
989
+ t(i).isSubscriber ? (d(), _(k, {
955
990
  key: 0,
956
- modelValue: e(r).disableAds,
957
- "onUpdate:modelValue": l[1] || (l[1] = (m) => e(r).disableAds = m),
991
+ modelValue: t(r).disableAds,
992
+ "onUpdate:modelValue": c[1] || (c[1] = (m) => t(r).disableAds = m),
958
993
  class: "mb-2",
959
994
  label: "Disable Ads",
960
995
  messages: "Disable traditional advertisements on all documentation pages."
961
- }, null, 8, ["modelValue"])) : C("", !0),
962
- s(y, {
963
- modelValue: e(r).quickbar,
964
- "onUpdate:modelValue": l[2] || (l[2] = (m) => e(r).quickbar = m),
996
+ }, null, 8, ["modelValue"])) : S("", !0),
997
+ s(k, {
998
+ modelValue: t(r).quickbar,
999
+ "onUpdate:modelValue": c[2] || (c[2] = (m) => t(r).quickbar = m),
965
1000
  label: "Enable Quick Actions",
966
1001
  messages: "Quick actions are located on the Vuetify One user menu and provide quick access to common tasks."
967
1002
  }, null, 8, ["modelValue"])
@@ -969,33 +1004,33 @@ const Xe = X("settings", () => {
969
1004
  _: 1
970
1005
  }),
971
1006
  s(R),
972
- e(i).isSubscriber ? (d(), h(J, {
1007
+ t(i).isSubscriber ? (d(), _(J, {
973
1008
  key: 0,
974
1009
  class: "px-7"
975
1010
  }, {
976
1011
  default: n(() => [
977
- s(f, {
1012
+ s(h, {
978
1013
  text: "Vuetify will communicate with you through banners and notifications. You can disable these features here or reset your local notification cache.",
979
1014
  title: "Communication"
980
1015
  }),
981
- s(y, {
982
- modelValue: e(r).notifications.show,
983
- "onUpdate:modelValue": l[3] || (l[3] = (m) => e(r).notifications.show = m),
1016
+ s(k, {
1017
+ modelValue: t(r).notifications.show,
1018
+ "onUpdate:modelValue": c[3] || (c[3] = (m) => t(r).notifications.show = m),
984
1019
  class: "mb-2",
985
1020
  label: "Enable Notifications",
986
1021
  messages: "Notifications are short form messages that provide information about new releases, updates, and other important information."
987
1022
  }, null, 8, ["modelValue"]),
988
- e(r).notifications.show ? (d(), h(y, {
1023
+ t(r).notifications.show ? (d(), _(k, {
989
1024
  key: 0,
990
- modelValue: e(r).notifications.banners,
991
- "onUpdate:modelValue": l[4] || (l[4] = (m) => e(r).notifications.banners = m),
1025
+ modelValue: t(r).notifications.banners,
1026
+ "onUpdate:modelValue": c[4] || (c[4] = (m) => t(r).notifications.banners = m),
992
1027
  class: "mb-2",
993
1028
  label: "Enable Banners",
994
1029
  messages: "Banners are located at the top of the screen and provide a callout for important information."
995
- }, null, 8, ["modelValue"])) : C("", !0)
1030
+ }, null, 8, ["modelValue"])) : S("", !0)
996
1031
  ]),
997
1032
  _: 1
998
- })) : C("", !0)
1033
+ })) : S("", !0)
999
1034
  ]),
1000
1035
  _: 1
1001
1036
  })
@@ -1007,219 +1042,185 @@ const Xe = X("settings", () => {
1007
1042
  }, 8, ["modelValue", "prepend-icon"]);
1008
1043
  };
1009
1044
  }
1010
- }), Vo = /* @__PURE__ */ V({
1045
+ }), go = /* @__PURE__ */ b({
1011
1046
  __name: "VoSettingsListItem",
1012
1047
  setup(u) {
1013
- const o = I(!1);
1014
- return (i, t) => {
1015
- const r = yo, a = Y;
1016
- return d(), h(a, {
1048
+ const o = U(!1);
1049
+ return (i, e) => {
1050
+ const r = ho, a = Y;
1051
+ return d(), _(a, {
1017
1052
  active: o.value,
1018
- "prepend-icon": `svg:${e(Vt)}`,
1053
+ "prepend-icon": `svg:${t(vt)}`,
1019
1054
  title: "Settings",
1020
1055
  link: ""
1021
1056
  }, {
1022
1057
  default: n(() => [
1023
1058
  s(r, {
1024
1059
  modelValue: o.value,
1025
- "onUpdate:modelValue": t[0] || (t[0] = (c) => o.value = c)
1060
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => o.value = l)
1026
1061
  }, null, 8, ["modelValue"])
1027
1062
  ]),
1028
1063
  _: 1
1029
1064
  }, 8, ["active", "prepend-icon"]);
1030
1065
  };
1031
1066
  }
1032
- }), ge = /* @__PURE__ */ V({
1033
- __name: "VoBtn",
1034
- props: {
1035
- readonly: { type: Boolean }
1036
- },
1037
- setup(u) {
1038
- const o = u;
1039
- return (i, t) => (d(), h(E, {
1040
- style: Fe({
1041
- pointerEvents: o.readonly ? "none" : void 0
1042
- }),
1043
- tabindex: o.readonly ? -1 : void 0,
1044
- class: "text-none font-weight-regular",
1045
- color: "primary",
1046
- size: "small",
1047
- variant: "flat"
1048
- }, G({
1049
- loader: n(() => [
1050
- s(Zt, {
1051
- indeterminate: "disable-shrink",
1052
- size: "16",
1053
- width: "2"
1054
- })
1055
- ]),
1056
- _: 2
1057
- }, [
1058
- i.$slots.default ? {
1059
- name: "default",
1060
- fn: n(() => [
1061
- W(i.$slots, "default")
1062
- ]),
1063
- key: "0"
1064
- } : void 0
1065
- ]), 1032, ["style", "tabindex"]));
1066
- }
1067
- }), oe = X("one", () => {
1068
- const o = new URLSearchParams(window.location.search).get("session_id"), i = N(), t = _e(), r = I(!1), a = ee(), c = ee([]), l = A(() => {
1069
- var _;
1070
- return (_ = a.value) == null ? void 0 : _.items[0].plan.interval;
1071
- }), f = A(() => {
1072
- var _;
1073
- return (_ = i.user) == null ? void 0 : _.sponsorships.find((b) => b.platform === "stripe" && b.tierName.startsWith("sub_"));
1067
+ }), X = K("one", () => {
1068
+ const o = new URLSearchParams(window.location.search).get("session_id"), i = O(), e = _e(), r = U(!1), a = Z(!1), l = Z(), c = Z([]), h = A(() => {
1069
+ var f;
1070
+ return (f = l.value) == null ? void 0 : f.items[0].plan.interval;
1074
1071
  }), p = A(() => {
1075
- var _;
1076
- return !!((_ = f.value) != null && _.tierName);
1072
+ var f;
1073
+ return (f = i.user) == null ? void 0 : f.sponsorships.find((x) => x.platform === "stripe" && x.tierName.startsWith("sub_"));
1074
+ }), k = A(() => {
1075
+ var f;
1076
+ return !!((f = p.value) != null && f.tierName);
1077
+ }), L = A(() => {
1078
+ var f;
1079
+ return (f = p.value) == null ? void 0 : f.isActive;
1080
+ }), m = A(() => {
1081
+ var f;
1082
+ return (f = i.user) == null ? void 0 : f.sponsorships.find((x) => x.platform === "github");
1077
1083
  }), y = A(() => {
1078
- var _;
1079
- return (_ = f.value) == null ? void 0 : _.isActive;
1084
+ var f;
1085
+ return (f = i.user) == null ? void 0 : f.sponsorships.find((x) => x.platform === "discord");
1080
1086
  }), D = A(() => {
1081
- var _;
1082
- return (_ = i.user) == null ? void 0 : _.sponsorships.find((b) => b.platform === "github");
1083
- }), m = A(() => {
1084
- var _;
1085
- return (_ = i.user) == null ? void 0 : _.sponsorships.find((b) => b.platform === "discord");
1086
- }), k = A(() => {
1087
- var _;
1088
- return (_ = i.user) == null ? void 0 : _.sponsorships.find((b) => b.platform === "patreon");
1089
- }), U = A(() => {
1090
- var _;
1091
- return (_ = i.user) == null ? void 0 : _.sponsorships.reduce((b, Z) => (Z.platform !== "stripe" && (b += Z.amount), b), 0);
1087
+ var f;
1088
+ return (f = i.user) == null ? void 0 : f.sponsorships.find((x) => x.platform === "patreon");
1089
+ }), g = A(() => {
1090
+ var f;
1091
+ return (f = i.user) == null ? void 0 : f.sponsorships.reduce((x, ge) => (ge.platform !== "stripe" && (x += ge.amount), x), 0);
1092
1092
  });
1093
- it(async () => {
1094
- o && await g();
1095
- }), H(y, (_, b) => {
1096
- _ === !1 && b !== !0 || M();
1093
+ Ze(async () => {
1094
+ o && await $();
1095
+ }), W(L, (f, x) => {
1096
+ f === !1 && x !== !0 || M();
1097
1097
  });
1098
- async function g() {
1098
+ async function $() {
1099
1099
  try {
1100
1100
  r.value = !0;
1101
- const _ = await t.post("/one/activate", { sessionId: o });
1102
- i.user = _.user;
1103
- const b = new URL(window.location.href);
1104
- b.searchParams.delete("session_id"), history.pushState(null, "", b.toString()), P();
1101
+ const f = await e.post("/one/activate", { sessionId: o });
1102
+ i.user = f.user;
1103
+ const x = new URL(window.location.href);
1104
+ x.searchParams.delete("session_id"), history.pushState(null, "", x.toString()), z();
1105
1105
  } catch {
1106
1106
  } finally {
1107
1107
  r.value = !1;
1108
1108
  }
1109
1109
  }
1110
- async function x() {
1111
- window.open(`${t.url}/one/manage`, "_blank");
1110
+ async function I() {
1111
+ window.open(`${e.url}/one/manage`, "_blank");
1112
1112
  }
1113
- async function L(_) {
1114
- r.value = !0, window.location.href = `${t.url}/one/subscribe?interval=${_}`;
1113
+ async function V(f) {
1114
+ r.value = !0, window.location.href = `${e.url}/one/subscribe?interval=${f}`;
1115
1115
  }
1116
- async function $() {
1117
- var _;
1118
- if (f.value)
1116
+ async function B() {
1117
+ var f;
1118
+ if (p.value)
1119
1119
  try {
1120
1120
  r.value = !0;
1121
- const b = await t.post(
1122
- `/one/cancel?subscriptionId=${(_ = f.value) == null ? void 0 : _.tierName}`
1121
+ const x = await e.post(
1122
+ `/one/cancel?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
1123
1123
  );
1124
- i.user = b.user;
1124
+ i.user = x.user;
1125
1125
  } catch {
1126
1126
  } finally {
1127
1127
  r.value = !1;
1128
1128
  }
1129
1129
  }
1130
- async function T(_) {
1131
- if (f.value)
1130
+ async function P(f) {
1131
+ if (p.value)
1132
1132
  try {
1133
1133
  r.value = !0;
1134
- const b = await t.post("/one/modify", {
1135
- subscriptionId: f.value.tierName,
1136
- interval: _
1134
+ const x = await e.post("/one/modify", {
1135
+ subscriptionId: p.value.tierName,
1136
+ interval: f
1137
1137
  });
1138
- i.user = b.user;
1138
+ i.user = x.user;
1139
1139
  } catch {
1140
1140
  } finally {
1141
1141
  r.value = !1;
1142
1142
  }
1143
1143
  }
1144
1144
  async function M() {
1145
- var _;
1146
- if (f.value)
1145
+ var f;
1146
+ if (p.value)
1147
1147
  try {
1148
1148
  r.value = !0;
1149
- const b = await t.post(
1150
- `/one/verify?subscriptionId=${(_ = f.value) == null ? void 0 : _.tierName}`
1149
+ const x = await e.post(
1150
+ `/one/verify?subscriptionId=${(f = p.value) == null ? void 0 : f.tierName}`
1151
1151
  );
1152
- i.user = b.user;
1152
+ i.user = x.user;
1153
1153
  } catch {
1154
1154
  } finally {
1155
1155
  r.value = !1;
1156
1156
  }
1157
1157
  }
1158
- async function P() {
1158
+ async function z() {
1159
1159
  try {
1160
1160
  r.value = !0;
1161
- const _ = await t.get("/one/info");
1162
- return a.value = _.subscription, c.value = _.invoices, _;
1161
+ const f = await e.get("/one/info");
1162
+ return l.value = f.subscription, c.value = f.invoices, f;
1163
1163
  } catch {
1164
1164
  } finally {
1165
1165
  r.value = !1;
1166
1166
  }
1167
1167
  }
1168
1168
  return {
1169
- info: a,
1170
- interval: l,
1169
+ info: l,
1170
+ interval: h,
1171
1171
  invoices: c,
1172
1172
  sessionId: o,
1173
- subscription: f,
1174
- monthlyTotal: U,
1175
- hasBilling: p,
1173
+ subscription: p,
1174
+ monthlyTotal: g,
1175
+ hasBilling: k,
1176
1176
  isLoading: r,
1177
- isSubscriber: y,
1178
- github: D,
1179
- patreon: k,
1180
- discord: m,
1181
- activate: g,
1182
- cancel: $,
1183
- manage: x,
1184
- modify: T,
1185
- subscribe: L,
1186
- subscriptionInfo: P,
1177
+ isOpen: a,
1178
+ isSubscriber: L,
1179
+ github: m,
1180
+ patreon: D,
1181
+ discord: y,
1182
+ activate: $,
1183
+ cancel: B,
1184
+ manage: I,
1185
+ modify: P,
1186
+ subscribe: V,
1187
+ subscriptionInfo: z,
1187
1188
  verify: M
1188
1189
  };
1189
- }), ko = { class: "text-caption" }, $o = /* @__PURE__ */ V({
1190
+ }), bo = { class: "text-caption" }, yo = /* @__PURE__ */ b({
1190
1191
  __name: "VoSubscriptionInvoices",
1191
1192
  setup(u) {
1192
- const o = me(), i = oe();
1193
- return (t, r) => {
1193
+ const o = fe(), i = X();
1194
+ return (e, r) => {
1194
1195
  const a = re;
1195
- return d(), h(fe, null, {
1196
+ return d(), _(ve, null, {
1196
1197
  default: n(() => [
1197
- s(ie, { cols: "12" }, {
1198
+ s(ne, { cols: "12" }, {
1198
1199
  default: n(() => [
1199
1200
  s(a, {
1200
1201
  text: "View and download your invoice history.",
1201
1202
  title: "Invoice History"
1202
1203
  }),
1203
- s(O, {
1204
+ s(T, {
1204
1205
  height: "450",
1205
1206
  rounded: "lg",
1206
1207
  border: ""
1207
1208
  }, {
1208
1209
  default: n(() => [
1209
- s(Kt, {
1210
- items: e(i).invoices,
1211
- loading: e(i).isLoading,
1210
+ s(qt, {
1211
+ items: t(i).invoices,
1212
+ loading: t(i).isLoading,
1212
1213
  sticky: ""
1213
1214
  }, {
1214
- "item.date": n(({ item: c }) => [
1215
- v("div", ko, S(e(o).format(new Date(c.date * 1e3), "fullDateWithWeekday")), 1)
1215
+ "item.date": n(({ item: l }) => [
1216
+ v("div", bo, C(t(o).format(new Date(l.date * 1e3), "fullDateWithWeekday")), 1)
1216
1217
  ]),
1217
- "item.amount": n(({ item: c }) => [
1218
- F(" $" + S(c.amount / 100), 1)
1218
+ "item.amount": n(({ item: l }) => [
1219
+ j(" $" + C(l.amount / 100), 1)
1219
1220
  ]),
1220
- "item.status": n(({ item: c }) => [
1221
+ "item.status": n(({ item: l }) => [
1221
1222
  s(q, {
1222
- text: c.status,
1223
+ text: l.status,
1223
1224
  border: "success sm",
1224
1225
  class: "text-capitalize",
1225
1226
  color: "success",
@@ -1228,10 +1229,10 @@ const Xe = X("settings", () => {
1228
1229
  label: ""
1229
1230
  }, null, 8, ["text"])
1230
1231
  ]),
1231
- "item.pdf": n(({ item: c }) => [
1232
- s(E, {
1233
- href: c.pdf,
1234
- icon: `svg:${e(kt)}`,
1232
+ "item.pdf": n(({ item: l }) => [
1233
+ s(Q, {
1234
+ href: l.pdf,
1235
+ icon: `svg:${t(_t)}`,
1235
1236
  size: "small",
1236
1237
  target: "_blank",
1237
1238
  variant: "text"
@@ -1250,31 +1251,31 @@ const Xe = X("settings", () => {
1250
1251
  });
1251
1252
  };
1252
1253
  }
1253
- }), xo = { class: "d-flex align-center" }, wo = {
1254
+ }), Vo = { class: "d-flex align-center" }, ko = {
1254
1255
  key: "status",
1255
1256
  class: "text-capitalize hidden-sm-and-down"
1256
- }, So = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), Co = { class: "me-1" }, Lo = { class: "text-medium-emphasis text-caption" }, Ao = { class: "d-flex align-start justify-space-between text-caption py-2" }, Io = { class: "font-weight-bold" }, Do = { class: "font-weight-bold" }, Uo = /* @__PURE__ */ V({
1257
+ }, $o = /* @__PURE__ */ v("span", { class: "mx-1 hidden-sm-and-down" }, "—", -1), xo = { class: "me-1" }, wo = { class: "text-medium-emphasis text-caption" }, So = { class: "d-flex align-start justify-space-between text-caption py-2" }, Co = { class: "font-weight-bold" }, Lo = { class: "font-weight-bold" }, Io = /* @__PURE__ */ b({
1257
1258
  __name: "VoSubscriptionStatus",
1258
1259
  emits: ["change:subscription"],
1259
1260
  setup(u, { emit: o }) {
1260
- const i = me(), t = oe(), r = o, a = A(() => {
1261
- if (!t.info)
1261
+ const i = fe(), e = X(), r = o, a = A(() => {
1262
+ if (!e.info)
1262
1263
  return;
1263
- const l = new Date(t.info.currentPeriodEnd * 1e3);
1264
- return i.format(l, "keyboardDate");
1264
+ const c = new Date(e.info.currentPeriodEnd * 1e3);
1265
+ return i.format(c, "keyboardDate");
1265
1266
  });
1266
- async function c() {
1267
- t.interval && (t.isLoading = !0, t.subscribe(t.interval));
1267
+ async function l() {
1268
+ e.interval && (e.isLoading = !0, e.subscribe(e.interval));
1268
1269
  }
1269
- return (l, f) => {
1270
- const p = ge;
1271
- return d(), h(fe, null, {
1270
+ return (c, h) => {
1271
+ const p = ae;
1272
+ return d(), _(ve, null, {
1272
1273
  default: n(() => [
1273
- s(ie, { cols: "12" }, {
1274
+ s(ne, { cols: "12" }, {
1274
1275
  default: n(() => {
1275
- var y, D;
1276
+ var k, L;
1276
1277
  return [
1277
- s(O, {
1278
+ s(T, {
1278
1279
  "prepend-icon": "$vuetify",
1279
1280
  rounded: "lg",
1280
1281
  title: "Subscription Status",
@@ -1284,45 +1285,45 @@ const Xe = X("settings", () => {
1284
1285
  append: n(() => {
1285
1286
  var m;
1286
1287
  return [
1287
- e(t).hasBilling && ((m = e(t).info) == null ? void 0 : m.status) === "canceled" ? (d(), h(p, {
1288
+ t(e).hasBilling && ((m = t(e).info) == null ? void 0 : m.status) === "canceled" ? (d(), _(p, {
1288
1289
  key: 0,
1289
- loading: e(t).isLoading,
1290
+ loading: t(e).isLoading,
1290
1291
  class: "me-2",
1291
1292
  color: "success",
1292
1293
  "prepend-icon": "$success",
1293
1294
  text: "Activate",
1294
1295
  variant: "outlined",
1295
- onClick: c
1296
- }, null, 8, ["loading"])) : C("", !0),
1297
- e(t).hasBilling ? (d(), h(p, {
1296
+ onClick: l
1297
+ }, null, 8, ["loading"])) : S("", !0),
1298
+ t(e).hasBilling ? (d(), _(p, {
1298
1299
  key: 1,
1299
- loading: e(t).isLoading,
1300
- "prepend-icon": `svg:${e($t)}`,
1300
+ loading: t(e).isLoading,
1301
+ "prepend-icon": `svg:${t(ht)}`,
1301
1302
  text: "Billing",
1302
- onClick: e(t).manage
1303
- }, null, 8, ["loading", "prepend-icon", "onClick"])) : C("", !0)
1303
+ onClick: t(e).manage
1304
+ }, null, 8, ["loading", "prepend-icon", "onClick"])) : S("", !0)
1304
1305
  ];
1305
1306
  }),
1306
1307
  _: 2
1307
1308
  }, [
1308
- e(t).info ? {
1309
+ t(e).info ? {
1309
1310
  name: "subtitle",
1310
1311
  fn: n(() => [
1311
- v("div", xo, [
1312
- v("span", wo, S(e(t).info.status), 1),
1313
- e(t).info.items.length ? (d(), w(j, { key: 0 }, [
1314
- So,
1315
- v("span", Co, [
1316
- F(" $" + S(e(t).info.items[0].plan.amount / 100), 1),
1317
- v("span", Lo, "/" + S(e(t).interval), 1)
1312
+ v("div", Vo, [
1313
+ v("span", ko, C(t(e).info.status), 1),
1314
+ t(e).info.items.length ? (d(), w(F, { key: 0 }, [
1315
+ $o,
1316
+ v("span", xo, [
1317
+ j(" $" + C(t(e).info.items[0].plan.amount / 100), 1),
1318
+ v("span", wo, "/" + C(t(e).interval), 1)
1318
1319
  ]),
1319
1320
  s(p, {
1320
1321
  size: "x-small",
1321
1322
  text: "(Change Subscription)",
1322
1323
  variant: "text",
1323
- onClick: f[0] || (f[0] = (m) => r("change:subscription"))
1324
+ onClick: h[0] || (h[0] = (m) => r("change:subscription"))
1324
1325
  })
1325
- ], 64)) : C("", !0)
1326
+ ], 64)) : S("", !0)
1326
1327
  ])
1327
1328
  ]),
1328
1329
  key: "0"
@@ -1346,16 +1347,16 @@ const Xe = X("settings", () => {
1346
1347
  key: "1"
1347
1348
  }
1348
1349
  ]), 1024),
1349
- v("div", Ao, [
1350
+ v("div", So, [
1350
1351
  v("div", null, [
1351
- ((y = e(t).info) == null ? void 0 : y.status) === "active" ? (d(), w(j, { key: 0 }, [
1352
- F(" Your plan renews on "),
1353
- v("span", Io, S(e(i).format(a.value, "fullDateWithWeekday")), 1),
1354
- F(". ")
1355
- ], 64)) : (d(), w(j, { key: 1 }, [
1356
- F(" Your plan ends on "),
1357
- v("span", Do, S(e(i).format((D = e(t).info) == null ? void 0 : D.currentPeriodEnd, "fullDateWithWeekday")), 1),
1358
- F(". ")
1352
+ ((k = t(e).info) == null ? void 0 : k.status) === "active" ? (d(), w(F, { key: 0 }, [
1353
+ j(" Your plan renews on "),
1354
+ v("span", Co, C(t(i).format(a.value, "fullDateWithWeekday")), 1),
1355
+ j(". ")
1356
+ ], 64)) : (d(), w(F, { key: 1 }, [
1357
+ j(" Your plan ends on "),
1358
+ v("span", Lo, C(t(i).format((L = t(e).info) == null ? void 0 : L.currentPeriodEnd, "fullDateWithWeekday")), 1),
1359
+ j(". ")
1359
1360
  ], 64))
1360
1361
  ])
1361
1362
  ])
@@ -1368,7 +1369,7 @@ const Xe = X("settings", () => {
1368
1369
  });
1369
1370
  };
1370
1371
  }
1371
- }), Fo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), jo = ["innerHTML"], No = /* @__PURE__ */ v("br", null, null, -1), Bo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), Oo = ["innerHTML"], zo = /* @__PURE__ */ V({
1372
+ }), Ao = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The Vuetify One subscription comes with the following perks: ", -1), Do = ["innerHTML"], Uo = /* @__PURE__ */ v("br", null, null, -1), Fo = /* @__PURE__ */ v("div", { class: "mb-3 text-caption text-medium-emphasis" }, " The following features are in development and coming soon: ", -1), jo = ["innerHTML"], No = /* @__PURE__ */ b({
1372
1373
  __name: "VoSubscriptionPerks",
1373
1374
  setup(u) {
1374
1375
  const o = [
@@ -1381,74 +1382,74 @@ const Xe = X("settings", () => {
1381
1382
  'Special role in the <a href="https://discord.vuetifyjs.com/" target="_blank">Vuetify Discord</a>',
1382
1383
  'Save and share your playgrounds with <a href="https://play.vuetifyjs.com" target="_blank">Vuetify Play</a>',
1383
1384
  "Receive a special label on GitHub created issues and pull requests"
1384
- ], t = I(!1), r = oe();
1385
- return H(t, async (a) => {
1385
+ ], e = U(!1), r = X();
1386
+ return W(e, async (a) => {
1386
1387
  a && r.subscriptionInfo();
1387
- }), (a, c) => {
1388
- const l = Y;
1389
- return d(), w(j, null, [
1388
+ }), (a, l) => {
1389
+ const c = Y;
1390
+ return d(), w(F, null, [
1390
1391
  s($e, { class: "font-weight-black" }, {
1391
1392
  default: n(() => [
1392
- F("Perks")
1393
+ j("Perks")
1393
1394
  ]),
1394
1395
  _: 1
1395
1396
  }),
1396
- Fo,
1397
- s(Q, {
1397
+ Ao,
1398
+ s(oe, {
1398
1399
  lines: !1,
1399
1400
  class: "py-0",
1400
1401
  density: "compact",
1401
1402
  nav: ""
1402
1403
  }, {
1403
1404
  default: n(() => [
1404
- (d(), w(j, null, te(o, (f, p) => s(l, {
1405
+ (d(), w(F, null, te(o, (h, p) => s(c, {
1405
1406
  key: p,
1406
- "prepend-icon": `svg:${e(K)}`,
1407
+ "prepend-icon": `svg:${t(ee)}`,
1407
1408
  class: "mb-0"
1408
1409
  }, {
1409
1410
  prepend: n(() => [
1410
- s(B, {
1411
+ s(N, {
1411
1412
  class: "mx-n2",
1412
1413
  color: "success",
1413
1414
  size: "small"
1414
1415
  })
1415
1416
  ]),
1416
1417
  title: n(() => [
1417
- v("div", { innerHTML: f }, null, 8, jo)
1418
+ v("div", { innerHTML: h }, null, 8, Do)
1418
1419
  ]),
1419
1420
  _: 2
1420
1421
  }, 1032, ["prepend-icon"])), 64))
1421
1422
  ]),
1422
1423
  _: 1
1423
1424
  }),
1424
- No,
1425
+ Uo,
1425
1426
  s($e, { class: "font-weight-black" }, {
1426
1427
  default: n(() => [
1427
- F("Up Next")
1428
+ j("Up Next")
1428
1429
  ]),
1429
1430
  _: 1
1430
1431
  }),
1431
- Bo,
1432
- s(Q, {
1432
+ Fo,
1433
+ s(oe, {
1433
1434
  lines: !1,
1434
1435
  class: "py-0",
1435
1436
  density: "compact",
1436
1437
  nav: ""
1437
1438
  }, {
1438
1439
  default: n(() => [
1439
- (d(), w(j, null, te(i, (f, p) => s(l, {
1440
+ (d(), w(F, null, te(i, (h, p) => s(c, {
1440
1441
  key: p,
1441
- "prepend-icon": `svg:${e(xt)}`,
1442
+ "prepend-icon": `svg:${t(gt)}`,
1442
1443
  class: "mb-0"
1443
1444
  }, {
1444
1445
  prepend: n(() => [
1445
- s(B, {
1446
+ s(N, {
1446
1447
  class: "mx-n2",
1447
1448
  size: "small"
1448
1449
  })
1449
1450
  ]),
1450
1451
  title: n(() => [
1451
- v("div", { innerHTML: f }, null, 8, Oo)
1452
+ v("div", { innerHTML: h }, null, 8, jo)
1452
1453
  ]),
1453
1454
  _: 2
1454
1455
  }, 1032, ["prepend-icon"])), 64))
@@ -1458,7 +1459,7 @@ const Xe = X("settings", () => {
1458
1459
  ], 64);
1459
1460
  };
1460
1461
  }
1461
- }), To = /* @__PURE__ */ V({
1462
+ }), Oo = /* @__PURE__ */ b({
1462
1463
  __name: "VoSubscriptionSubscribe",
1463
1464
  props: {
1464
1465
  modelValue: {
@@ -1468,37 +1469,37 @@ const Xe = X("settings", () => {
1468
1469
  },
1469
1470
  emits: ["update:modelValue"],
1470
1471
  setup(u) {
1471
- const o = I(!1), i = de(u, "modelValue"), t = oe();
1472
- return H(o, async (r) => {
1473
- r && t.subscriptionInfo();
1474
- }), H(() => t.interval, (r) => {
1472
+ const o = U(!1), i = pe(u, "modelValue"), e = X();
1473
+ return W(o, async (r) => {
1474
+ r && e.subscriptionInfo();
1475
+ }), W(() => e.interval, (r) => {
1475
1476
  i.value = r;
1476
- }, { immediate: !0 }), (r, a) => (d(), h(We, {
1477
+ }, { immediate: !0 }), (r, a) => (d(), _(Pe, {
1477
1478
  modelValue: i.value,
1478
- "onUpdate:modelValue": a[0] || (a[0] = (c) => i.value = c)
1479
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => i.value = l)
1479
1480
  }, {
1480
1481
  default: n(() => [
1481
- s(fe, null, {
1482
+ s(ve, null, {
1482
1483
  default: n(() => [
1483
- s(ie, {
1484
+ s(ne, {
1484
1485
  cols: "12",
1485
1486
  md: "6"
1486
1487
  }, {
1487
1488
  default: n(() => [
1488
1489
  s(xe, { value: "month" }, {
1489
- default: n(({ toggle: c, isSelected: l }) => [
1490
- s(O, {
1491
- border: l ? "sm primary opacity-100" : "sm",
1492
- color: l ? "primary" : void 0,
1493
- "prepend-icon": l ? `svg:${e(ne)}` : "$radioOff",
1494
- variant: l ? "tonal" : "text",
1490
+ default: n(({ toggle: l, isSelected: c }) => [
1491
+ s(T, {
1492
+ border: c ? "sm primary opacity-100" : "sm",
1493
+ color: c ? "primary" : void 0,
1494
+ "prepend-icon": c ? `svg:${t(se)}` : "$radioOff",
1495
+ variant: c ? "tonal" : "text",
1495
1496
  rounded: "lg",
1496
1497
  subtitle: "$2.99/month",
1497
1498
  title: "Monthly",
1498
- onClick: c
1499
+ onClick: l
1499
1500
  }, {
1500
1501
  prepend: n(() => [
1501
- s(B, { class: "mt-n6" })
1502
+ s(N, { class: "mt-n6" })
1502
1503
  ]),
1503
1504
  _: 2
1504
1505
  }, 1032, ["border", "color", "prepend-icon", "variant", "onClick"])
@@ -1508,25 +1509,25 @@ const Xe = X("settings", () => {
1508
1509
  ]),
1509
1510
  _: 1
1510
1511
  }),
1511
- s(ie, {
1512
+ s(ne, {
1512
1513
  cols: "12",
1513
1514
  md: "6"
1514
1515
  }, {
1515
1516
  default: n(() => [
1516
1517
  s(xe, { value: "year" }, {
1517
- default: n(({ toggle: c, isSelected: l }) => [
1518
- s(O, {
1519
- border: l ? "sm primary opacity-100" : "sm",
1520
- color: l ? "primary" : void 0,
1521
- "prepend-icon": l ? `svg:${e(ne)}` : "$radioOff",
1522
- variant: l ? "tonal" : "text",
1518
+ default: n(({ toggle: l, isSelected: c }) => [
1519
+ s(T, {
1520
+ border: c ? "sm primary opacity-100" : "sm",
1521
+ color: c ? "primary" : void 0,
1522
+ "prepend-icon": c ? `svg:${t(se)}` : "$radioOff",
1523
+ variant: c ? "tonal" : "text",
1523
1524
  rounded: "lg",
1524
1525
  subtitle: "$29.99/year",
1525
1526
  title: "Yearly",
1526
- onClick: c
1527
+ onClick: l
1527
1528
  }, {
1528
1529
  prepend: n(() => [
1529
- s(B, { class: "mt-n6" })
1530
+ s(N, { class: "mt-n6" })
1530
1531
  ]),
1531
1532
  append: n(() => [
1532
1533
  s(q, {
@@ -1552,7 +1553,7 @@ const Xe = X("settings", () => {
1552
1553
  _: 1
1553
1554
  }, 8, ["modelValue"]));
1554
1555
  }
1555
- }), Ro = { class: "px-3 h-screen" }, Ho = /* @__PURE__ */ v("br", null, null, -1), Mo = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Po = /* @__PURE__ */ V({
1556
+ }), Bo = { class: "px-3 h-screen" }, zo = /* @__PURE__ */ v("br", null, null, -1), To = { class: "flex-grow-1 px-4 pb-3 overflow-hidden" }, Ro = /* @__PURE__ */ b({
1556
1557
  __name: "VoSubscriptionDialog",
1557
1558
  props: {
1558
1559
  modelValue: { type: Boolean },
@@ -1560,55 +1561,55 @@ const Xe = X("settings", () => {
1560
1561
  },
1561
1562
  emits: ["update:modelValue"],
1562
1563
  setup(u) {
1563
- function o(f) {
1564
- return new Promise((p) => setTimeout(p, f));
1564
+ function o(h) {
1565
+ return new Promise((p) => setTimeout(p, h));
1565
1566
  }
1566
- const i = de(u, "modelValue"), t = oe(), r = I(t.interval), a = I(t.hasBilling ? "status" : "subscribe"), c = I(!1);
1567
- H(r, (f) => {
1568
- !t.isSubscriber || !t.interval || (c.value = f !== t.interval);
1569
- }), H(i, async (f) => {
1570
- !f || !t.isSubscriber || t.subscriptionInfo();
1567
+ const i = pe(u, "modelValue"), e = X(), r = U(e.interval), a = U(e.hasBilling ? "status" : "subscribe"), l = U(!1);
1568
+ W(r, (h) => {
1569
+ !e.isSubscriber || !e.interval || (l.value = h !== e.interval);
1570
+ }), W(i, async (h) => {
1571
+ !h || !e.isSubscriber || e.subscriptionInfo();
1571
1572
  }), je(() => {
1572
- t.sessionId && (a.value = "status", i.value = !0);
1573
+ e.sessionId && (a.value = "status", i.value = !0);
1573
1574
  });
1574
- async function l() {
1575
- await t.modify(r.value), await t.subscriptionInfo(), c.value = null, await o(3e3), a.value = "status", await o(300), c.value = !1;
1575
+ async function c() {
1576
+ await e.modify(r.value), await e.subscriptionInfo(), l.value = null, await o(3e3), a.value = "status", await o(300), l.value = !1;
1576
1577
  }
1577
- return (f, p) => {
1578
- const y = re, D = To, m = zo, k = Uo, U = $o, g = ge, x = he;
1579
- return d(), h(x, {
1578
+ return (h, p) => {
1579
+ const k = re, L = Oo, m = No, y = Io, D = yo, g = ae, $ = he;
1580
+ return d(), _($, {
1580
1581
  modelValue: i.value,
1581
- "onUpdate:modelValue": p[4] || (p[4] = (L) => i.value = L),
1582
- "prepend-icon": `svg:${e(wt)}`,
1582
+ "onUpdate:modelValue": p[4] || (p[4] = (I) => i.value = I),
1583
+ "prepend-icon": `svg:${t(bt)}`,
1583
1584
  title: "Subscriptions"
1584
1585
  }, G({
1585
1586
  default: n(() => [
1586
- v("div", Ro, [
1587
+ v("div", Bo, [
1587
1588
  s(J, null, {
1588
1589
  default: n(() => [
1589
- s(y, {
1590
+ s(k, {
1590
1591
  text: "The Vuetify One subscription is a great way to support the Vuetify team and get access to exclusive features and content.",
1591
1592
  title: "Vuetify One"
1592
1593
  }),
1593
- s(Ge, { "model-value": a.value }, {
1594
+ s(Ee, { "model-value": a.value }, {
1594
1595
  default: n(() => [
1595
- s(ue, { value: "subscribe" }, {
1596
+ s(de, { value: "subscribe" }, {
1596
1597
  default: n(() => [
1597
- s(D, {
1598
+ s(L, {
1598
1599
  modelValue: r.value,
1599
- "onUpdate:modelValue": p[0] || (p[0] = (L) => r.value = L)
1600
+ "onUpdate:modelValue": p[0] || (p[0] = (I) => r.value = I)
1600
1601
  }, null, 8, ["modelValue"]),
1601
- Ho,
1602
+ zo,
1602
1603
  s(m)
1603
1604
  ]),
1604
1605
  _: 1
1605
1606
  }),
1606
- s(ue, { value: "status" }, {
1607
+ s(de, { value: "status" }, {
1607
1608
  default: n(() => [
1608
- s(k, {
1609
- "onChange:subscription": p[1] || (p[1] = (L) => a.value = "subscribe")
1609
+ s(y, {
1610
+ "onChange:subscription": p[1] || (p[1] = (I) => a.value = "subscribe")
1610
1611
  }),
1611
- s(U)
1612
+ s(D)
1612
1613
  ]),
1613
1614
  _: 1
1614
1615
  })
@@ -1625,34 +1626,34 @@ const Xe = X("settings", () => {
1625
1626
  a.value === "subscribe" ? {
1626
1627
  name: "actions",
1627
1628
  fn: n(() => [
1628
- v("div", Mo, [
1629
- c.value !== !1 ? (d(), h(g, {
1629
+ v("div", To, [
1630
+ l.value !== !1 ? (d(), _(g, {
1630
1631
  key: 0,
1631
- loading: e(t).isLoading,
1632
- "prepend-icon": `svg:${c.value !== null ? e(St) : e(ne)}`,
1633
- readonly: c.value === null,
1634
- text: c.value !== null ? "Modify Subscription" : "Success",
1632
+ loading: t(e).isLoading,
1633
+ "prepend-icon": `svg:${l.value !== null ? t(yt) : t(se)}`,
1634
+ readonly: l.value === null,
1635
+ text: l.value !== null ? "Modify Subscription" : "Success",
1635
1636
  color: "success",
1636
1637
  size: "default",
1637
1638
  block: "",
1638
- onClick: l
1639
- }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : e(t).isSubscriber ? (d(), h(g, {
1639
+ onClick: c
1640
+ }, null, 8, ["loading", "prepend-icon", "readonly", "text"])) : t(e).isSubscriber ? (d(), _(g, {
1640
1641
  key: 2,
1641
- "prepend-icon": `svg:${e(Ct)}`,
1642
+ "prepend-icon": `svg:${t(Vt)}`,
1642
1643
  size: "default",
1643
1644
  text: "Manage Subscription",
1644
1645
  block: "",
1645
- onClick: p[3] || (p[3] = (L) => a.value = "status")
1646
- }, null, 8, ["prepend-icon"])) : (d(), h(g, {
1646
+ onClick: p[3] || (p[3] = (I) => a.value = "status")
1647
+ }, null, 8, ["prepend-icon"])) : (d(), _(g, {
1647
1648
  key: 1,
1648
1649
  color: r.value ? "primary" : "disabled",
1649
1650
  disabled: !r.value,
1650
- loading: e(t).isLoading,
1651
+ loading: t(e).isLoading,
1651
1652
  "prepend-icon": "$vuetify",
1652
1653
  size: "default",
1653
1654
  text: "Activate Subscription",
1654
1655
  block: "",
1655
- onClick: p[2] || (p[2] = (L) => e(t).subscribe(r.value))
1656
+ onClick: p[2] || (p[2] = (I) => t(e).subscribe(r.value))
1656
1657
  }, null, 8, ["color", "disabled", "loading"]))
1657
1658
  ])
1658
1659
  ]),
@@ -1661,59 +1662,59 @@ const Xe = X("settings", () => {
1661
1662
  ]), 1032, ["modelValue", "prepend-icon"]);
1662
1663
  };
1663
1664
  }
1664
- }), Eo = /* @__PURE__ */ V({
1665
+ }), Ho = /* @__PURE__ */ b({
1665
1666
  __name: "VoSubscriptionListItem",
1666
1667
  setup(u) {
1667
- const o = I(!1);
1668
- return (i, t) => {
1669
- const r = Po, a = Y;
1670
- return d(), h(a, {
1668
+ const o = U(!1);
1669
+ return (i, e) => {
1670
+ const r = Ro, a = Y;
1671
+ return d(), _(a, {
1671
1672
  active: o.value,
1672
- "prepend-icon": `svg:${e(Lt)}`,
1673
+ "prepend-icon": `svg:${t(kt)}`,
1673
1674
  title: "Subscriptions",
1674
1675
  link: ""
1675
1676
  }, {
1676
1677
  default: n(() => [
1677
1678
  s(r, {
1678
1679
  modelValue: o.value,
1679
- "onUpdate:modelValue": t[0] || (t[0] = (c) => o.value = c)
1680
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => o.value = l)
1680
1681
  }, null, 8, ["modelValue"])
1681
1682
  ]),
1682
1683
  _: 1
1683
1684
  }, 8, ["active", "prepend-icon"]);
1684
1685
  };
1685
1686
  }
1686
- }), Wo = { class: "px-3 pb-5 d-flex flex-column" }, Go = { class: "ps-16" }, qo = { class: "text-caption text-end" }, Yo = { class: "font-weight-bold" }, Jo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Xo = { class: "font-weight-bold" }, Zo = { class: "ps-16" }, Ko = { class: "text-caption text-end" }, es = { class: "font-weight-bold" }, ts = { class: "py-4" }, os = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" }, [
1687
- /* @__PURE__ */ F(" A total of $2.99 or more unlocks "),
1687
+ }), Mo = { class: "px-3 pb-5 d-flex flex-column" }, Po = { class: "ps-16" }, Eo = { class: "text-caption text-end" }, Wo = { class: "font-weight-bold" }, Go = { class: "ps-16" }, qo = { class: "text-caption text-end" }, Yo = { class: "font-weight-bold" }, Jo = { class: "ps-16" }, Qo = { class: "text-caption text-end" }, Xo = { class: "font-weight-bold" }, Zo = { class: "py-4" }, Ko = /* @__PURE__ */ v("div", { class: "text-caption text-medium-emphasis" }, [
1688
+ /* @__PURE__ */ j(" A total of $2.99 or more unlocks "),
1688
1689
  /* @__PURE__ */ v("span", { class: "font-weight-black" }, "all"),
1689
- /* @__PURE__ */ F(" Vuetify One benefits ")
1690
- ], -1), ss = /* @__PURE__ */ V({
1690
+ /* @__PURE__ */ j(" Vuetify One benefits ")
1691
+ ], -1), es = /* @__PURE__ */ b({
1691
1692
  __name: "VoSponsorshipsDialog",
1692
1693
  setup(u) {
1693
- const o = me(), i = N(), t = oe(), r = Xe();
1694
- function a(c) {
1695
- return o.format(c, "fullDateWithWeekday");
1694
+ const o = fe(), i = O(), e = X(), r = Ge();
1695
+ function a(l) {
1696
+ return o.format(l, "fullDateWithWeekday");
1696
1697
  }
1697
- return (c, l) => {
1698
- const f = re, p = ge, y = Ne("v-empty-state"), D = he;
1699
- return d(), h(D, {
1700
- "prepend-icon": `svg:${e(At)}`,
1698
+ return (l, c) => {
1699
+ const h = re, p = ae, k = Ne("v-empty-state"), L = he;
1700
+ return d(), _(L, {
1701
+ "prepend-icon": `svg:${t($t)}`,
1701
1702
  "max-height": "820",
1702
1703
  title: "Sponsorships"
1703
1704
  }, {
1704
1705
  default: n(() => [
1705
- s(Ae, null, {
1706
+ s(Ie, null, {
1706
1707
  default: n(() => [
1707
- s(Ie, { scrollable: "" }, {
1708
+ s(Ae, { scrollable: "" }, {
1708
1709
  default: n(() => [
1709
- v("div", Wo, [
1710
+ v("div", Mo, [
1710
1711
  s(J, null, {
1711
1712
  default: n(() => [
1712
- s(f, {
1713
+ s(h, {
1713
1714
  text: "Support Vuetify through GitHub Sponsors, Discord, or Patreon to unlock exclusive benefits and content.",
1714
1715
  title: "Support Vuetify"
1715
1716
  }),
1716
- s(eo, {
1717
+ s(Yt, {
1717
1718
  class: "justify-start ms-n7",
1718
1719
  "line-inset": "12",
1719
1720
  side: "end",
@@ -1721,17 +1722,17 @@ const Xe = X("settings", () => {
1721
1722
  "truncate-line": "both"
1722
1723
  }, {
1723
1724
  default: n(() => {
1724
- var m, k, U, g, x, L;
1725
+ var m, y, D, g, $, I;
1725
1726
  return [
1726
1727
  s(Ve, {
1727
- "dot-color": (m = e(t).github) != null && m.isActive ? "success" : "transparent",
1728
- icon: (k = e(t).github) != null && k.isActive ? `svg:${e(K)}` : void 0,
1728
+ "dot-color": (m = t(e).github) != null && m.isActive ? "success" : "transparent",
1729
+ icon: (y = t(e).github) != null && y.isActive ? `svg:${t(ee)}` : void 0,
1729
1730
  size: "x-small",
1730
1731
  width: "100%"
1731
1732
  }, {
1732
1733
  default: n(() => [
1733
- s(O, {
1734
- "prepend-avatar": e(r).CDN_URL + "/logos/github.png",
1734
+ s(T, {
1735
+ "prepend-avatar": t(r).CDN_URL + "/logos/github.png",
1735
1736
  rounded: "lg",
1736
1737
  subtitle: "Support Vuetify through GitHub sponsors.",
1737
1738
  title: "GitHub Sponsors",
@@ -1739,44 +1740,44 @@ const Xe = X("settings", () => {
1739
1740
  border: ""
1740
1741
  }, {
1741
1742
  append: n(() => {
1742
- var $, T, M, P, _, b;
1743
+ var V, B, P, M, z, f;
1743
1744
  return [
1744
- v("div", Go, [
1745
+ v("div", Po, [
1745
1746
  s(p, {
1746
- color: ($ = e(t).github) != null && $.isActive ? "success" : "primary",
1747
- href: (T = e(t).github) != null && T.isActive ? void 0 : "https://github.com/sponsors/johnleider",
1748
- "prepend-icon": `svg:${(M = e(t).github) != null && M.isActive ? e(ne) : e(De)}`,
1749
- readonly: (P = e(t).github) == null ? void 0 : P.isActive,
1750
- target: (_ = e(t).github) != null && _.isActive ? void 0 : "_blank",
1751
- text: (b = e(t).github) != null && b.isActive ? "Active" : "Info",
1747
+ color: (V = t(e).github) != null && V.isActive ? "success" : "primary",
1748
+ href: (B = t(e).github) != null && B.isActive ? void 0 : "https://github.com/sponsors/johnleider",
1749
+ "prepend-icon": `svg:${(P = t(e).github) != null && P.isActive ? t(se) : t(De)}`,
1750
+ readonly: (M = t(e).github) == null ? void 0 : M.isActive,
1751
+ target: (z = t(e).github) != null && z.isActive ? void 0 : "_blank",
1752
+ text: (f = t(e).github) != null && f.isActive ? "Active" : "Info",
1752
1753
  width: "88"
1753
1754
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1754
1755
  ])
1755
1756
  ];
1756
1757
  }),
1757
1758
  default: n(() => {
1758
- var $;
1759
+ var V;
1759
1760
  return [
1760
- ($ = e(t).github) != null && $.isActive ? (d(), w(j, { key: 0 }, [
1761
+ (V = t(e).github) != null && V.isActive ? (d(), w(F, { key: 0 }, [
1761
1762
  s(R),
1762
1763
  s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1763
1764
  default: n(() => [
1764
1765
  s(q, {
1765
- "prepend-icon": `svg:${e(ye)}`,
1766
- text: e(t).github.tierName,
1766
+ "prepend-icon": `svg:${t(ye)}`,
1767
+ text: t(e).github.tierName,
1767
1768
  color: "surface-variant",
1768
1769
  size: "small",
1769
1770
  variant: "text",
1770
1771
  label: ""
1771
1772
  }, null, 8, ["prepend-icon", "text"]),
1772
- v("div", qo, [
1773
- F(" Sponsor since "),
1774
- v("span", Yo, S(a(e(t).github.createdAt)), 1)
1773
+ v("div", Eo, [
1774
+ j(" Sponsor since "),
1775
+ v("span", Wo, C(a(t(e).github.createdAt)), 1)
1775
1776
  ])
1776
1777
  ]),
1777
1778
  _: 1
1778
1779
  })
1779
- ], 64)) : C("", !0)
1780
+ ], 64)) : S("", !0)
1780
1781
  ];
1781
1782
  }),
1782
1783
  _: 1
@@ -1785,14 +1786,14 @@ const Xe = X("settings", () => {
1785
1786
  _: 1
1786
1787
  }, 8, ["dot-color", "icon"]),
1787
1788
  s(Ve, {
1788
- "dot-color": (U = e(t).discord) != null && U.isActive ? "success" : "transparent",
1789
- icon: (g = e(t).discord) != null && g.isActive ? `svg:${e(K)}` : void 0,
1789
+ "dot-color": (D = t(e).discord) != null && D.isActive ? "success" : "transparent",
1790
+ icon: (g = t(e).discord) != null && g.isActive ? `svg:${t(ee)}` : void 0,
1790
1791
  size: "x-small",
1791
1792
  width: "100%"
1792
1793
  }, {
1793
1794
  default: n(() => [
1794
- s(O, {
1795
- "prepend-avatar": e(r).CDN_URL + "/logos/discord.png",
1795
+ s(T, {
1796
+ "prepend-avatar": t(r).CDN_URL + "/logos/discord.png",
1796
1797
  rounded: "lg",
1797
1798
  subtitle: "Support Vuetify through Discord.",
1798
1799
  title: "Discord Subscriber",
@@ -1800,44 +1801,44 @@ const Xe = X("settings", () => {
1800
1801
  border: ""
1801
1802
  }, {
1802
1803
  append: n(() => {
1803
- var $, T, M, P, _, b;
1804
+ var V, B, P, M, z, f;
1804
1805
  return [
1805
- v("div", Jo, [
1806
+ v("div", Go, [
1806
1807
  s(p, {
1807
- color: ($ = e(t).discord) != null && $.isActive ? "success" : "primary",
1808
- href: (T = e(t).discord) != null && T.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1809
- "prepend-icon": `svg:${(M = e(t).discord) != null && M.isActive ? e(ne) : e(De)}`,
1810
- readonly: (P = e(t).discord) == null ? void 0 : P.isActive,
1811
- target: (_ = e(t).discord) != null && _.isActive ? void 0 : "_blank",
1812
- text: (b = e(t).discord) != null && b.isActive ? "Active" : "Info",
1808
+ color: (V = t(e).discord) != null && V.isActive ? "success" : "primary",
1809
+ href: (B = t(e).discord) != null && B.isActive ? void 0 : "https://discord.com/servers/vuetify-340160225338195969",
1810
+ "prepend-icon": `svg:${(P = t(e).discord) != null && P.isActive ? t(se) : t(De)}`,
1811
+ readonly: (M = t(e).discord) == null ? void 0 : M.isActive,
1812
+ target: (z = t(e).discord) != null && z.isActive ? void 0 : "_blank",
1813
+ text: (f = t(e).discord) != null && f.isActive ? "Active" : "Info",
1813
1814
  width: "88"
1814
1815
  }, null, 8, ["color", "href", "prepend-icon", "readonly", "target", "text"])
1815
1816
  ])
1816
1817
  ];
1817
1818
  }),
1818
1819
  default: n(() => {
1819
- var $;
1820
+ var V;
1820
1821
  return [
1821
- ($ = e(t).discord) != null && $.isActive ? (d(), w(j, { key: 0 }, [
1822
+ (V = t(e).discord) != null && V.isActive ? (d(), w(F, { key: 0 }, [
1822
1823
  s(R),
1823
1824
  s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1824
1825
  default: n(() => [
1825
1826
  s(q, {
1826
- "prepend-icon": `svg:${e(ye)}`,
1827
- text: e(t).discord.tierName,
1827
+ "prepend-icon": `svg:${t(ye)}`,
1828
+ text: t(e).discord.tierName,
1828
1829
  color: "surface-variant",
1829
1830
  size: "small",
1830
1831
  variant: "text",
1831
1832
  label: ""
1832
1833
  }, null, 8, ["prepend-icon", "text"]),
1833
- v("div", Qo, [
1834
- F(" Subscriber since "),
1835
- v("span", Xo, S(a(e(t).discord.createdAt)), 1)
1834
+ v("div", qo, [
1835
+ j(" Subscriber since "),
1836
+ v("span", Yo, C(a(t(e).discord.createdAt)), 1)
1836
1837
  ])
1837
1838
  ]),
1838
1839
  _: 1
1839
1840
  })
1840
- ], 64)) : C("", !0)
1841
+ ], 64)) : S("", !0)
1841
1842
  ];
1842
1843
  }),
1843
1844
  _: 1
@@ -1846,14 +1847,14 @@ const Xe = X("settings", () => {
1846
1847
  _: 1
1847
1848
  }, 8, ["dot-color", "icon"]),
1848
1849
  s(Ve, {
1849
- "dot-color": (x = e(t).patreon) != null && x.isActive ? "success" : "transparent",
1850
- icon: (L = e(t).patreon) != null && L.isActive ? `svg:${e(K)}` : void 0,
1850
+ "dot-color": ($ = t(e).patreon) != null && $.isActive ? "success" : "transparent",
1851
+ icon: (I = t(e).patreon) != null && I.isActive ? `svg:${t(ee)}` : void 0,
1851
1852
  size: "x-small",
1852
1853
  width: "100%"
1853
1854
  }, {
1854
1855
  default: n(() => [
1855
- s(O, {
1856
- "prepend-avatar": e(r).CDN_URL + "/logos/patreon.png",
1856
+ s(T, {
1857
+ "prepend-avatar": t(r).CDN_URL + "/logos/patreon.png",
1857
1858
  rounded: "lg",
1858
1859
  subtitle: "Support Vuetify through Patreon.",
1859
1860
  title: "Patreon Subscriber",
@@ -1861,11 +1862,11 @@ const Xe = X("settings", () => {
1861
1862
  border: ""
1862
1863
  }, {
1863
1864
  append: n(() => {
1864
- var $;
1865
+ var V;
1865
1866
  return [
1866
- v("div", Zo, [
1867
+ v("div", Jo, [
1867
1868
  s(p, {
1868
- text: ($ = e(t).patreon) != null && $.isActive ? "Active" : "Coming Soon",
1869
+ text: (V = t(e).patreon) != null && V.isActive ? "Active" : "Coming Soon",
1869
1870
  color: "surface-variant",
1870
1871
  readonly: ""
1871
1872
  }, null, 8, ["text"])
@@ -1873,27 +1874,27 @@ const Xe = X("settings", () => {
1873
1874
  ];
1874
1875
  }),
1875
1876
  default: n(() => {
1876
- var $;
1877
+ var V;
1877
1878
  return [
1878
- ($ = e(t).patreon) != null && $.isActive ? (d(), w(j, { key: 0 }, [
1879
+ (V = t(e).patreon) != null && V.isActive ? (d(), w(F, { key: 0 }, [
1879
1880
  s(R),
1880
1881
  s(J, { class: "d-flex justify-space-between align-center flex-wrap" }, {
1881
1882
  default: n(() => [
1882
1883
  s(q, {
1883
- "prepend-icon": `svg:${e(ye)}`,
1884
- text: e(t).patreon.tierName,
1884
+ "prepend-icon": `svg:${t(ye)}`,
1885
+ text: t(e).patreon.tierName,
1885
1886
  color: "success",
1886
1887
  variant: "text",
1887
1888
  label: ""
1888
1889
  }, null, 8, ["prepend-icon", "text"]),
1889
- v("div", Ko, [
1890
- F(" Sponsor since "),
1891
- v("span", es, S(a(e(t).patreon.createdAt)), 1)
1890
+ v("div", Qo, [
1891
+ j(" Sponsor since "),
1892
+ v("span", Xo, C(a(t(e).patreon.createdAt)), 1)
1892
1893
  ])
1893
1894
  ]),
1894
1895
  _: 1
1895
1896
  })
1896
- ], 64)) : C("", !0)
1897
+ ], 64)) : S("", !0)
1897
1898
  ];
1898
1899
  }),
1899
1900
  _: 1
@@ -1908,27 +1909,27 @@ const Xe = X("settings", () => {
1908
1909
  ]),
1909
1910
  _: 1
1910
1911
  }),
1911
- s(y, {
1912
- icon: `svg:${e(It)}`,
1912
+ s(k, {
1913
+ icon: `svg:${t(xt)}`,
1913
1914
  class: "mt-auto",
1914
1915
  "min-height": "auto",
1915
1916
  size: "64",
1916
1917
  title: "Your Monthly Contributions"
1917
1918
  }, {
1918
1919
  media: n(() => [
1919
- s(B, { color: "success" })
1920
+ s(N, { color: "success" })
1920
1921
  ]),
1921
1922
  headline: n(() => [
1922
- v("div", ts, [
1923
- e(i).isSubscriber ? (d(), w(j, { key: 0 }, [
1924
- F(" $" + S(parseFloat(String(e(t).monthlyTotal)).toFixed(2)), 1)
1925
- ], 64)) : (d(), w(j, { key: 1 }, [
1926
- F(" $0.00 ")
1923
+ v("div", Zo, [
1924
+ t(i).isSubscriber ? (d(), w(F, { key: 0 }, [
1925
+ j(" $" + C(parseFloat(String(t(e).monthlyTotal)).toFixed(2)), 1)
1926
+ ], 64)) : (d(), w(F, { key: 1 }, [
1927
+ j(" $0.00 ")
1927
1928
  ], 64))
1928
1929
  ])
1929
1930
  ]),
1930
1931
  text: n(() => [
1931
- os
1932
+ Ko
1932
1933
  ]),
1933
1934
  _: 1
1934
1935
  }, 8, ["icon"])
@@ -1944,85 +1945,85 @@ const Xe = X("settings", () => {
1944
1945
  }, 8, ["prepend-icon"]);
1945
1946
  };
1946
1947
  }
1947
- }), ns = /* @__PURE__ */ V({
1948
+ }), ts = /* @__PURE__ */ b({
1948
1949
  __name: "VoSponsorshipsListItem",
1949
1950
  setup(u) {
1950
- const o = I(!1);
1951
- return (i, t) => {
1952
- const r = ss, a = Y;
1953
- return d(), h(a, {
1951
+ const o = U(!1);
1952
+ return (i, e) => {
1953
+ const r = es, a = Y;
1954
+ return d(), _(a, {
1954
1955
  active: o.value,
1955
- "prepend-icon": `svg:${e(Dt)}`,
1956
+ "prepend-icon": `svg:${t(wt)}`,
1956
1957
  title: "Sponsorships",
1957
1958
  link: ""
1958
1959
  }, {
1959
1960
  default: n(() => [
1960
1961
  s(r, {
1961
1962
  modelValue: o.value,
1962
- "onUpdate:modelValue": t[0] || (t[0] = (c) => o.value = c)
1963
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => o.value = l)
1963
1964
  }, null, 8, ["modelValue"])
1964
1965
  ]),
1965
1966
  _: 1
1966
1967
  }, 8, ["active", "prepend-icon"]);
1967
1968
  };
1968
1969
  }
1969
- }), is = {
1970
+ }), os = {
1970
1971
  key: 0,
1971
1972
  class: "pt-16"
1972
- }, as = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), rs = { class: "ps-3 text-subtitle-2 pe-2" }, ls = { class: "text-truncate" }, cs = { class: "text-caption font-weight-bold text-medium-emphasis" }, us = { class: "text-disabled text-caption my-2" }, ds = /* @__PURE__ */ V({
1973
+ }, ss = /* @__PURE__ */ v("div", { class: "text-medium-emphasis" }, " All caught up ", -1), ns = { class: "ps-3 text-subtitle-2 pe-2" }, is = { class: "text-truncate" }, as = { class: "text-caption font-weight-bold text-medium-emphasis" }, rs = { class: "text-disabled text-caption my-2" }, ls = /* @__PURE__ */ b({
1973
1974
  __name: "VoNotificationsList",
1974
1975
  props: {
1975
1976
  items: {}
1976
1977
  },
1977
1978
  setup(u) {
1978
- const o = z(), i = me();
1979
- function t(a) {
1979
+ const o = H(), i = fe();
1980
+ function e(a) {
1980
1981
  return o.notifications.read.includes(a);
1981
1982
  }
1982
1983
  function r(a) {
1983
- t(a.slug) ? o.notifications.read = o.notifications.read.filter((c) => c !== a.slug) : o.notifications.read.push(a.slug);
1984
+ e(a.slug) ? o.notifications.read = o.notifications.read.filter((l) => l !== a.slug) : o.notifications.read.push(a.slug);
1984
1985
  }
1985
- return (a, c) => {
1986
- const l = Ne("v-empty-state"), f = Y;
1987
- return d(), h(Q, {
1986
+ return (a, l) => {
1987
+ const c = Ne("v-empty-state"), h = Y;
1988
+ return d(), _(oe, {
1988
1989
  class: "py-0",
1989
1990
  height: "100%",
1990
1991
  lines: "three"
1991
1992
  }, {
1992
1993
  default: n(() => [
1993
- a.items.length ? (d(!0), w(j, { key: 1 }, te(a.items, (p, y) => (d(), h(Ee, {
1994
+ a.items.length ? (d(!0), w(F, { key: 1 }, te(a.items, (p, k) => (d(), _(Me, {
1994
1995
  key: p.slug
1995
1996
  }, {
1996
- default: n(({ isHovering: D, props: m }) => [
1997
- s(f, se(m, {
1998
- border: y !== 0 && "t",
1997
+ default: n(({ isHovering: L, props: m }) => [
1998
+ s(h, ce(m, {
1999
+ border: k !== 0 && "t",
1999
2000
  class: "py-4 mb-0"
2000
2001
  }), {
2001
2002
  prepend: n(() => [
2002
- v("div", rs, S(p.metadata.emoji), 1)
2003
+ v("div", ns, C(p.metadata.emoji), 1)
2003
2004
  ]),
2004
2005
  append: n(() => [
2005
- s(to, {
2006
+ s(Jt, {
2006
2007
  class: "mt-n3",
2007
2008
  width: "56"
2008
2009
  }, {
2009
2010
  default: n(() => [
2010
- s(oo, {
2011
- text: t(p.slug) ? "Mark as unread" : "Mark as read",
2011
+ s(Qt, {
2012
+ text: e(p.slug) ? "Mark as unread" : "Mark as read",
2012
2013
  location: "bottom"
2013
2014
  }, {
2014
- activator: n(({ props: k }) => [
2015
+ activator: n(({ props: y }) => [
2015
2016
  s(Ce, { "hide-on-leave": "" }, {
2016
2017
  default: n(() => [
2017
- Se(s(E, se(k, {
2018
- icon: `svg:${t(p.slug) ? e(Ft) : e(Ut)}`,
2018
+ Se(s(Q, ce(y, {
2019
+ icon: `svg:${e(p.slug) ? t(Ct) : t(St)}`,
2019
2020
  class: "ms-auto",
2020
2021
  size: "small",
2021
2022
  variant: "text",
2022
2023
  "mdi-email-variant": "",
2023
- onClick: (U) => r(p)
2024
+ onClick: (D) => r(p)
2024
2025
  }), null, 16, ["icon", "onClick"]), [
2025
- [Be, D]
2026
+ [Oe, L]
2026
2027
  ])
2027
2028
  ]),
2028
2029
  _: 2
@@ -2035,16 +2036,16 @@ const Xe = X("settings", () => {
2035
2036
  }, 1024)
2036
2037
  ]),
2037
2038
  default: n(() => [
2038
- s(Wt, { class: "text-wrap text-h6 mb-1" }, {
2039
+ s(Rt, { class: "text-wrap text-h6 mb-1" }, {
2039
2040
  default: n(() => [
2040
- v("div", ls, S(p.title), 1)
2041
+ v("div", is, C(p.title), 1)
2041
2042
  ]),
2042
2043
  _: 2
2043
2044
  }, 1024),
2044
- v("div", cs, S(e(i).format(p.created_at, "fullDateWithWeekday")), 1),
2045
- v("div", us, S(p.metadata.text), 1),
2045
+ v("div", as, C(t(i).format(p.created_at, "fullDateWithWeekday")), 1),
2046
+ v("div", rs, C(p.metadata.text), 1),
2046
2047
  s(q, {
2047
- "append-icon": `svg:${e(jt)}`,
2048
+ "append-icon": `svg:${t(Lt)}`,
2048
2049
  href: p.metadata.action,
2049
2050
  text: p.metadata.action_text,
2050
2051
  size: "small",
@@ -2052,10 +2053,10 @@ const Xe = X("settings", () => {
2052
2053
  variant: "text",
2053
2054
  border: "",
2054
2055
  label: "",
2055
- onClick: (k) => r(p)
2056
+ onClick: (y) => r(p)
2056
2057
  }, {
2057
2058
  append: n(() => [
2058
- s(B, { size: "12" })
2059
+ s(N, { size: "12" })
2059
2060
  ]),
2060
2061
  _: 2
2061
2062
  }, 1032, ["append-icon", "href", "text", "onClick"])
@@ -2064,16 +2065,16 @@ const Xe = X("settings", () => {
2064
2065
  }, 1040, ["border"])
2065
2066
  ]),
2066
2067
  _: 2
2067
- }, 1024))), 128)) : (d(), w("div", is, [
2068
- s(l, {
2068
+ }, 1024))), 128)) : (d(), w("div", os, [
2069
+ s(c, {
2069
2070
  icon: "$vuetify",
2070
2071
  size: "256"
2071
2072
  }, {
2072
2073
  media: n(() => [
2073
- s(B, { color: "medium-emphasis" })
2074
+ s(N, { color: "medium-emphasis" })
2074
2075
  ]),
2075
2076
  title: n(() => [
2076
- as
2077
+ ss
2077
2078
  ]),
2078
2079
  _: 1
2079
2080
  })
@@ -2083,71 +2084,71 @@ const Xe = X("settings", () => {
2083
2084
  });
2084
2085
  };
2085
2086
  }
2086
- }), Ze = X("notifications", () => {
2087
- const u = _e(), o = z(), i = ee([]), t = I(!1), r = A(() => i.value.filter((l) => !o.notifications.read.includes(l.slug))), a = A(() => i.value.filter((l) => o.notifications.read.includes(l.slug)));
2088
- async function c() {
2087
+ }), qe = K("notifications", () => {
2088
+ const u = _e(), o = H(), i = Z([]), e = U(!1), r = A(() => i.value.filter((c) => !o.notifications.read.includes(c.slug))), a = A(() => i.value.filter((c) => o.notifications.read.includes(c.slug)));
2089
+ async function l() {
2089
2090
  try {
2090
- t.value = !0;
2091
- const l = await u.get("/one/notifications");
2092
- i.value = l.notifications;
2091
+ e.value = !0;
2092
+ const c = await u.get("/one/notifications");
2093
+ i.value = c.notifications;
2093
2094
  } catch {
2094
2095
  } finally {
2095
- t.value = !1;
2096
+ e.value = !1;
2096
2097
  }
2097
2098
  return i.value;
2098
2099
  }
2099
2100
  return {
2100
- isLoading: t,
2101
+ isLoading: e,
2101
2102
  all: i,
2102
- get: c,
2103
+ get: l,
2103
2104
  read: a,
2104
2105
  unread: r
2105
2106
  };
2106
- }), ps = { class: "text-caption" }, ms = /* @__PURE__ */ V({
2107
+ }), cs = { class: "text-caption" }, us = /* @__PURE__ */ b({
2107
2108
  __name: "VoNotificationsDialog",
2108
2109
  setup(u) {
2109
- const o = Ze(), i = Le(), t = I(["0"]), r = I(!1);
2110
- return (a, c) => {
2111
- const l = Y, f = ds, p = he;
2112
- return d(), h(p, {
2110
+ const o = qe(), i = He(), e = U(["0"]), r = U(!1);
2111
+ return (a, l) => {
2112
+ const c = Y, h = ls, p = he;
2113
+ return d(), _(p, {
2113
2114
  modelValue: r.value,
2114
- "onUpdate:modelValue": c[2] || (c[2] = (y) => r.value = y),
2115
- "prepend-icon": `svg:${e(Nt)}`,
2115
+ "onUpdate:modelValue": l[2] || (l[2] = (k) => r.value = k),
2116
+ "prepend-icon": `svg:${t(It)}`,
2116
2117
  title: "Notifications"
2117
2118
  }, {
2118
2119
  default: n(() => [
2119
- s(Ae, null, {
2120
+ s(Ie, null, {
2120
2121
  default: n(() => [
2121
- s(so, {
2122
- location: e(i).mobile.value ? "top" : "start",
2123
- width: e(i).mobile.value ? 128 : 168,
2122
+ s(Xt, {
2123
+ location: t(i).mobile.value ? "top" : "start",
2124
+ width: t(i).mobile.value ? 128 : 168,
2124
2125
  permanent: ""
2125
2126
  }, {
2126
2127
  default: n(() => [
2127
- s(Q, {
2128
- selected: t.value,
2129
- "onUpdate:selected": c[0] || (c[0] = (y) => t.value = y),
2128
+ s(oe, {
2129
+ selected: e.value,
2130
+ "onUpdate:selected": l[0] || (l[0] = (k) => e.value = k),
2130
2131
  class: "px-4 pt-4",
2131
2132
  density: "compact",
2132
2133
  mandatory: "",
2133
2134
  nav: ""
2134
2135
  }, {
2135
2136
  default: n(() => [
2136
- s(l, {
2137
- "prepend-icon": `svg:${e(Bt)}`,
2137
+ s(c, {
2138
+ "prepend-icon": `svg:${t(At)}`,
2138
2139
  title: "Unread",
2139
2140
  value: "0"
2140
2141
  }, G({ _: 2 }, [
2141
- e(o).unread.length > 0 ? {
2142
+ t(o).unread.length > 0 ? {
2142
2143
  name: "append",
2143
2144
  fn: n(() => [
2144
- v("span", ps, S(e(o).unread.length), 1)
2145
+ v("span", cs, C(t(o).unread.length), 1)
2145
2146
  ]),
2146
2147
  key: "0"
2147
2148
  } : void 0
2148
2149
  ]), 1032, ["prepend-icon"]),
2149
- s(l, {
2150
- "prepend-icon": `svg:${e(Ot)}`,
2150
+ s(c, {
2151
+ "prepend-icon": `svg:${t(Dt)}`,
2151
2152
  title: "Read",
2152
2153
  value: "1",
2153
2154
  "mdi-archive-outline": ""
@@ -2158,25 +2159,25 @@ const Xe = X("settings", () => {
2158
2159
  ]),
2159
2160
  _: 1
2160
2161
  }, 8, ["location", "width"]),
2161
- s(Ie, { scrollable: "" }, {
2162
+ s(Ae, { scrollable: "" }, {
2162
2163
  default: n(() => [
2163
- s(Ge, {
2164
- modelValue: t.value,
2165
- "onUpdate:modelValue": c[1] || (c[1] = (y) => t.value = y)
2164
+ s(Ee, {
2165
+ modelValue: e.value,
2166
+ "onUpdate:modelValue": l[1] || (l[1] = (k) => e.value = k)
2166
2167
  }, {
2167
2168
  default: n(() => [
2168
- s(ue, { value: "0" }, {
2169
+ s(de, { value: "0" }, {
2169
2170
  default: n(() => [
2170
- s(f, {
2171
- items: e(o).unread
2171
+ s(h, {
2172
+ items: t(o).unread
2172
2173
  }, null, 8, ["items"])
2173
2174
  ]),
2174
2175
  _: 1
2175
2176
  }),
2176
- s(ue, { value: "1" }, {
2177
+ s(de, { value: "1" }, {
2177
2178
  default: n(() => [
2178
- s(f, {
2179
- items: e(o).read
2179
+ s(h, {
2180
+ items: t(o).read
2180
2181
  }, null, 8, ["items"])
2181
2182
  ]),
2182
2183
  _: 1
@@ -2195,66 +2196,66 @@ const Xe = X("settings", () => {
2195
2196
  }, 8, ["modelValue", "prepend-icon"]);
2196
2197
  };
2197
2198
  }
2198
- }), fs = /* @__PURE__ */ V({
2199
+ }), ds = /* @__PURE__ */ b({
2199
2200
  __name: "VoNotificationsListItem",
2200
2201
  setup(u) {
2201
- const o = z(), i = Ze(), t = I(!1);
2202
+ const o = H(), i = qe(), e = U(!1);
2202
2203
  return je(async () => {
2203
2204
  await i.get();
2204
2205
  }), (r, a) => {
2205
- const c = ms, l = Y;
2206
- return e(o).notifications.show ? (d(), h(l, {
2206
+ const l = us, c = Y;
2207
+ return t(o).notifications.show ? (d(), _(c, {
2207
2208
  key: 0,
2208
- active: t.value,
2209
- "prepend-icon": `svg:${e(zt)}`,
2209
+ active: e.value,
2210
+ "prepend-icon": `svg:${t(Ut)}`,
2210
2211
  title: "Notifications",
2211
2212
  link: ""
2212
2213
  }, G({
2213
2214
  default: n(() => [
2214
- s(c, {
2215
- modelValue: t.value,
2216
- "onUpdate:modelValue": a[0] || (a[0] = (f) => t.value = f)
2215
+ s(l, {
2216
+ modelValue: e.value,
2217
+ "onUpdate:modelValue": a[0] || (a[0] = (h) => e.value = h)
2217
2218
  }, null, 8, ["modelValue"])
2218
2219
  ]),
2219
2220
  _: 2
2220
2221
  }, [
2221
- e(i).unread.length ? {
2222
+ t(i).unread.length ? {
2222
2223
  name: "prepend",
2223
2224
  fn: n(() => [
2224
- s(no, {
2225
- content: e(i).unread.length,
2225
+ s(Zt, {
2226
+ content: t(i).unread.length,
2226
2227
  color: "error"
2227
2228
  }, {
2228
2229
  default: n(() => [
2229
- s(B)
2230
+ s(N)
2230
2231
  ]),
2231
2232
  _: 1
2232
2233
  }, 8, ["content"])
2233
2234
  ]),
2234
2235
  key: "0"
2235
2236
  } : void 0
2236
- ]), 1032, ["active", "prepend-icon"])) : C("", !0);
2237
+ ]), 1032, ["active", "prepend-icon"])) : S("", !0);
2237
2238
  };
2238
2239
  }
2239
- }), vs = /* @__PURE__ */ V({
2240
+ }), ps = /* @__PURE__ */ b({
2240
2241
  __name: "VoDashboardListItem",
2241
2242
  setup(u) {
2242
2243
  return (o, i) => {
2243
- const t = Y;
2244
- return d(), h(t, {
2245
- "prepend-icon": `svg:${e(Tt)}`,
2244
+ const e = Y;
2245
+ return d(), _(e, {
2246
+ "prepend-icon": `svg:${t(Ft)}`,
2246
2247
  title: "Dashboard",
2247
2248
  to: "/user/dashboard"
2248
2249
  }, null, 8, ["prepend-icon"]);
2249
2250
  };
2250
2251
  }
2251
- }), _s = /* @__PURE__ */ V({
2252
+ }), ms = /* @__PURE__ */ b({
2252
2253
  __name: "VoUserList",
2253
2254
  setup(u) {
2254
- const o = N();
2255
- return (i, t) => {
2256
- const r = vs, a = fs, c = ns, l = Eo, f = Vo, p = vo;
2257
- return d(), h(Q, {
2255
+ const o = O();
2256
+ return (i, e) => {
2257
+ const r = ps, a = ds, l = ts, c = Ho, h = go, p = po;
2258
+ return d(), _(oe, {
2258
2259
  density: "compact",
2259
2260
  nav: "",
2260
2261
  slim: ""
@@ -2262,58 +2263,58 @@ const Xe = X("settings", () => {
2262
2263
  default: n(() => [
2263
2264
  s(r),
2264
2265
  s(a),
2265
- s(c),
2266
- e(o).user ? (d(), h(l, { key: 0 })) : C("", !0),
2267
- s(f),
2268
- e(o).user ? (d(), h(p, { key: 1 })) : C("", !0)
2266
+ s(l),
2267
+ t(o).user ? (d(), _(c, { key: 0 })) : S("", !0),
2268
+ s(h),
2269
+ t(o).user ? (d(), _(p, { key: 1 })) : S("", !0)
2269
2270
  ]),
2270
2271
  _: 1
2271
2272
  });
2272
2273
  };
2273
2274
  }
2274
- }), hs = { key: 0 }, gs = { class: "d-flex align-center justify-center pa-1 ga-2" }, bs = /* @__PURE__ */ V({
2275
+ }), fs = { key: 0 }, vs = { class: "d-flex align-center justify-center pa-1 ga-2" }, _s = /* @__PURE__ */ b({
2275
2276
  __name: "VoUserQuickActions",
2276
2277
  setup(u) {
2277
- const o = z();
2278
- return (i, t) => (d(), h(ae, null, {
2278
+ const o = H();
2279
+ return (i, e) => (d(), _(ie, null, {
2279
2280
  default: n(() => [
2280
- e(o).quickbar ? (d(), w("div", hs, [
2281
- v("div", gs, [
2282
- s(E, {
2283
- color: e(o).colors.one,
2281
+ t(o).quickbar ? (d(), w("div", fs, [
2282
+ v("div", vs, [
2283
+ s(Q, {
2284
+ color: t(o).colors.one,
2284
2285
  class: "text-caption",
2285
2286
  density: "comfortable",
2286
2287
  href: "https://play.vuetifyjs.com",
2287
2288
  icon: "$vuetify-play",
2288
2289
  target: "_blank"
2289
2290
  }, null, 8, ["color"]),
2290
- s(E, {
2291
- color: e(o).colors.one,
2292
- icon: `svg:${e(Rt)}`,
2291
+ s(Q, {
2292
+ color: t(o).colors.one,
2293
+ icon: `svg:${t(jt)}`,
2293
2294
  class: "text-caption",
2294
2295
  density: "comfortable",
2295
2296
  href: "https://bin.vuetifyjs.com",
2296
2297
  target: "_blank"
2297
2298
  }, null, 8, ["color", "icon"]),
2298
- s(E, {
2299
- color: e(o).colors.one,
2300
- icon: `svg:${e(Ht)}`,
2299
+ s(Q, {
2300
+ color: t(o).colors.one,
2301
+ icon: `svg:${t(Nt)}`,
2301
2302
  class: "text-caption",
2302
2303
  density: "comfortable",
2303
2304
  href: "https://issues.vuetifyjs.com",
2304
2305
  target: "_blank"
2305
2306
  }, null, 8, ["color", "icon"])
2306
2307
  ])
2307
- ])) : C("", !0)
2308
+ ])) : S("", !0)
2308
2309
  ]),
2309
2310
  _: 1
2310
2311
  }));
2311
2312
  }
2312
- }), ys = { class: "mb-2" }, Vs = { key: 0 }, ks = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, $s = { class: "text-h6" }, xs = /* @__PURE__ */ V({
2313
+ }), hs = { class: "mb-2" }, gs = { key: 0 }, bs = { class: "d-flex ga-4 flex-wrap justify-center mb-4" }, ys = { class: "text-h6" }, Vs = /* @__PURE__ */ b({
2313
2314
  __name: "VoUserAvatar",
2314
2315
  setup(u) {
2315
- const o = N(), i = z(), t = I(!1), r = A(() => {
2316
- const l = [
2316
+ const o = O(), i = H(), e = U(!1), r = A(() => {
2317
+ const c = [
2317
2318
  "https://cdn.vuetifyjs.com/docs/images/avatars/one.png",
2318
2319
  "https://cdn.vuetifyjs.com/docs/images/avatars/grass.png",
2319
2320
  "https://cdn.vuetifyjs.com/docs/images/avatars/wood.png",
@@ -2329,35 +2330,35 @@ const Xe = X("settings", () => {
2329
2330
  "https://cdn.vuetifyjs.com/docs/images/avatars/meteor.png",
2330
2331
  "https://cdn.vuetifyjs.com/docs/images/avatars/tada.png"
2331
2332
  ];
2332
- return o.user && l.unshift(o.user.picture), l;
2333
+ return o.user && c.unshift(o.user.picture), c;
2333
2334
  });
2334
- function a(l) {
2335
- i.avatar = l;
2335
+ function a(c) {
2336
+ i.avatar = c;
2336
2337
  }
2337
- function c() {
2338
- o.isSubscriber && (t.value = !t.value);
2338
+ function l() {
2339
+ o.isSubscriber && (e.value = !e.value);
2339
2340
  }
2340
- return (l, f) => {
2341
+ return (c, h) => {
2341
2342
  var p;
2342
2343
  return d(), w("div", null, [
2343
- Se((d(), h(ce, {
2344
- class: at([
2344
+ Se((d(), _(ue, {
2345
+ class: Ke([
2345
2346
  "border-md border-opacity-100 border-surface-variant",
2346
2347
  {
2347
- "cursor-pointer": e(o).isSubscriber
2348
+ "cursor-pointer": t(o).isSubscriber
2348
2349
  }
2349
2350
  ]),
2350
2351
  color: "surface",
2351
2352
  size: "72",
2352
2353
  text: "Foobar",
2353
- onClick: Ue(c, ["prevent", "stop"])
2354
+ onClick: Fe(l, ["prevent", "stop"])
2354
2355
  }, {
2355
2356
  default: n(() => [
2356
- e(o).user && e(i).avatar ? (d(), h(ve, {
2357
+ t(o).user && t(i).avatar ? (d(), _(Le, {
2357
2358
  key: 0,
2358
- src: e(i).avatar,
2359
+ src: t(i).avatar,
2359
2360
  alt: "User avatar"
2360
- }, null, 8, ["src"])) : (d(), h(B, {
2361
+ }, null, 8, ["src"])) : (d(), _(N, {
2361
2362
  key: 1,
2362
2363
  class: "mt-1",
2363
2364
  icon: "$vuetify",
@@ -2366,29 +2367,29 @@ const Xe = X("settings", () => {
2366
2367
  ]),
2367
2368
  _: 1
2368
2369
  }, 8, ["class"])), [
2369
- [io, e(o).isSubscriber]
2370
+ [Kt, t(o).isSubscriber]
2370
2371
  ]),
2371
- v("div", ys, [
2372
- s(ae, null, {
2372
+ v("div", hs, [
2373
+ s(ie, null, {
2373
2374
  default: n(() => [
2374
- t.value ? (d(), w("div", Vs, [
2375
- s(O, {
2375
+ e.value ? (d(), w("div", gs, [
2376
+ s(T, {
2376
2377
  class: "pt-6 pb-1",
2377
2378
  rounded: "0",
2378
2379
  flat: ""
2379
2380
  }, {
2380
2381
  default: n(() => [
2381
- v("div", ks, [
2382
- (d(!0), w(j, null, te(r.value, (y, D) => (d(), h(E, {
2383
- key: D,
2384
- active: e(i).avatar === y,
2382
+ v("div", bs, [
2383
+ (d(!0), w(F, null, te(r.value, (k, L) => (d(), _(Q, {
2384
+ key: L,
2385
+ active: t(i).avatar === k,
2385
2386
  variant: "flat",
2386
2387
  icon: "",
2387
- onClick: (m) => a(y)
2388
+ onClick: (m) => a(k)
2388
2389
  }, {
2389
2390
  default: n(() => [
2390
- s(ce, {
2391
- image: y,
2391
+ s(ue, {
2392
+ image: k,
2392
2393
  eager: ""
2393
2394
  }, null, 8, ["image"])
2394
2395
  ]),
@@ -2398,27 +2399,27 @@ const Xe = X("settings", () => {
2398
2399
  ]),
2399
2400
  _: 1
2400
2401
  })
2401
- ])) : C("", !0)
2402
+ ])) : S("", !0)
2402
2403
  ]),
2403
2404
  _: 1
2404
2405
  })
2405
2406
  ]),
2406
- v("div", $s, S(((p = e(o).user) == null ? void 0 : p.name) ?? "Guest"), 1)
2407
+ v("div", ys, C(((p = t(o).user) == null ? void 0 : p.name) ?? "Guest"), 1)
2407
2408
  ]);
2408
2409
  };
2409
2410
  }
2410
- }), ws = { class: "d-flex" }, Ss = { key: "reset" }, Cs = /* @__PURE__ */ V({
2411
+ }), ks = { class: "d-flex" }, $s = { key: "reset" }, xs = /* @__PURE__ */ b({
2411
2412
  __name: "VoUserColors",
2412
2413
  setup(u) {
2413
- const o = N(), i = z(), t = I(!1);
2414
+ const o = O(), i = H(), e = U(!1);
2414
2415
  function r() {
2415
2416
  i.colors.one = "surface-light";
2416
2417
  }
2417
- return (a, c) => {
2418
- const l = ge;
2419
- return d(), w(j, null, [
2420
- s(ve, {
2421
- color: e(o).user ? e(i).colors.one : "surface-light",
2418
+ return (a, l) => {
2419
+ const c = ae;
2420
+ return d(), w(F, null, [
2421
+ s(Le, {
2422
+ color: t(o).user ? t(i).colors.one : "surface-light",
2422
2423
  "content-class": "d-flex align-start justify-end pa-2",
2423
2424
  height: "88",
2424
2425
  rounded: "0",
@@ -2426,40 +2427,40 @@ const Xe = X("settings", () => {
2426
2427
  flat: ""
2427
2428
  }, {
2428
2429
  default: n(() => [
2429
- v("div", ws, [
2430
- e(o).isSubscriber ? (d(), h(l, {
2430
+ v("div", ks, [
2431
+ t(o).isSubscriber ? (d(), _(c, {
2431
2432
  key: 0,
2432
- active: t.value,
2433
- icon: t.value ? `svg:${e(K)}` : "$edit",
2434
- variant: t.value ? "text" : "plain",
2433
+ active: e.value,
2434
+ icon: e.value ? `svg:${t(ee)}` : "$edit",
2435
+ variant: e.value ? "text" : "plain",
2435
2436
  color: "inherit",
2436
- onClick: c[0] || (c[0] = (f) => t.value = !t.value)
2437
+ onClick: l[0] || (l[0] = (h) => e.value = !e.value)
2437
2438
  }, {
2438
2439
  default: n(() => [
2439
2440
  s(Ce, { "leave-absolute": "" }, {
2440
2441
  default: n(() => [
2441
- (d(), h(B, {
2442
- key: String(t.value)
2442
+ (d(), _(N, {
2443
+ key: String(e.value)
2443
2444
  }))
2444
2445
  ]),
2445
2446
  _: 1
2446
2447
  })
2447
2448
  ]),
2448
2449
  _: 1
2449
- }, 8, ["active", "icon", "variant"])) : C("", !0),
2450
- s(Jt, null, {
2450
+ }, 8, ["active", "icon", "variant"])) : S("", !0),
2451
+ s(Mt, null, {
2451
2452
  default: n(() => [
2452
- Se(v("div", Ss, [
2453
- s(l, {
2454
- disabled: e(i).colors.one === "surface-light",
2455
- icon: `svg:${e(Mt)}`,
2453
+ Se(v("div", $s, [
2454
+ s(c, {
2455
+ disabled: t(i).colors.one === "surface-light",
2456
+ icon: `svg:${t(Ot)}`,
2456
2457
  class: "ms-1",
2457
2458
  color: "inherit",
2458
2459
  variant: "text",
2459
2460
  onClick: r
2460
2461
  }, null, 8, ["disabled", "icon"])
2461
2462
  ], 512), [
2462
- [Be, t.value]
2463
+ [Oe, e.value]
2463
2464
  ])
2464
2465
  ]),
2465
2466
  _: 1
@@ -2468,11 +2469,11 @@ const Xe = X("settings", () => {
2468
2469
  ]),
2469
2470
  _: 1
2470
2471
  }, 8, ["color"]),
2471
- s(ae, null, {
2472
+ s(ie, null, {
2472
2473
  default: n(() => [
2473
- t.value ? (d(), h(ao, {
2474
+ e.value ? (d(), _(eo, {
2474
2475
  key: 0,
2475
- "model-value": e(i).colors.one !== "surface-light" ? e(i).colors.one : void 0,
2476
+ "model-value": t(i).colors.one !== "surface-light" ? t(i).colors.one : void 0,
2476
2477
  elevation: "0",
2477
2478
  height: "250",
2478
2479
  rounded: "0",
@@ -2482,182 +2483,98 @@ const Xe = X("settings", () => {
2482
2483
  "hide-inputs": "",
2483
2484
  "hide-sliders": "",
2484
2485
  "show-swatches": "",
2485
- "onUpdate:modelValue": c[1] || (c[1] = (f) => e(i).colors.one = f)
2486
- }, null, 8, ["model-value"])) : C("", !0)
2486
+ "onUpdate:modelValue": l[1] || (l[1] = (h) => t(i).colors.one = h)
2487
+ }, null, 8, ["model-value"])) : S("", !0)
2487
2488
  ]),
2488
2489
  _: 1
2489
2490
  })
2490
2491
  ], 64);
2491
2492
  };
2492
2493
  }
2493
- }), Ls = { class: "text-center mt-n9 mb-4" }, Ke = /* @__PURE__ */ V({
2494
+ }), ws = { class: "text-center mt-n9 mb-4" }, Ss = /* @__PURE__ */ b({
2494
2495
  __name: "VoUserMenu",
2495
2496
  setup(u) {
2496
- const o = N(), i = z(), t = I(!o.user);
2497
- return H(() => i.syncSettings, (r, a) => {
2498
- r && a === !1 && (t.value = !0);
2499
- }), H(() => o.user, (r) => {
2500
- r && (t.value = !1);
2501
- }), (r, a) => {
2502
- const c = Cs, l = xs, f = bs, p = _s, y = fo;
2503
- return d(), h(O, {
2504
- rounded: "lg",
2505
- width: "280",
2506
- border: ""
2507
- }, {
2508
- default: n(() => [
2509
- s(c),
2510
- v("div", Ls, [
2511
- s(l),
2512
- s(f)
2513
- ]),
2514
- s(R),
2515
- s(p),
2516
- s(R),
2517
- s(y)
2518
- ]),
2519
- _: 1
2520
- });
2521
- };
2522
- }
2523
- }), As = /* @__PURE__ */ V({
2524
- __name: "VoUserBtn",
2525
- setup(u) {
2526
- const o = N(), i = z();
2527
- return (t, r) => {
2528
- const a = Ke;
2529
- return d(), h(E, {
2530
- loading: e(o).isLoading,
2531
- class: "vo-user-btn",
2532
- icon: ""
2497
+ const o = X();
2498
+ return (i, e) => {
2499
+ const r = xs, a = Vs, l = _s, c = ms, h = uo;
2500
+ return d(), _(to, {
2501
+ modelValue: t(o).isOpen,
2502
+ "onUpdate:modelValue": e[0] || (e[0] = (p) => t(o).isOpen = p),
2503
+ "close-on-click": !1,
2504
+ "close-on-content-click": !1,
2505
+ activator: "parent",
2506
+ location: "bottom end",
2507
+ eager: ""
2533
2508
  }, {
2534
- loader: n(() => [
2535
- s(we, { type: "avatar" })
2536
- ]),
2537
2509
  default: n(() => [
2538
- s(qe, {
2539
- "close-on-click": !1,
2540
- "close-on-content-click": !1,
2541
- disabled: !e(o).user || e(o).isLoading,
2542
- activator: "parent",
2543
- location: "bottom end"
2510
+ s(T, {
2511
+ rounded: "lg",
2512
+ width: "280",
2513
+ border: ""
2544
2514
  }, {
2545
2515
  default: n(() => [
2546
- s(a)
2516
+ s(r),
2517
+ v("div", ws, [
2518
+ s(a),
2519
+ s(l)
2520
+ ]),
2521
+ s(R),
2522
+ s(c),
2523
+ s(R),
2524
+ s(h)
2547
2525
  ]),
2548
2526
  _: 1
2549
- }, 8, ["disabled"]),
2550
- e(o).user ? (d(), h(ce, {
2551
- key: 0,
2552
- image: e(i).avatar || e(o).user.picture || ""
2553
- }, null, 8, ["image"])) : C("", !0)
2527
+ })
2554
2528
  ]),
2555
2529
  _: 1
2556
- }, 8, ["loading"]);
2530
+ }, 8, ["modelValue"]);
2557
2531
  };
2558
2532
  }
2559
- });
2560
- const et = (u, o) => {
2561
- const i = u.__vccOpts || u;
2562
- for (const [t, r] of o)
2563
- i[t] = r;
2564
- return i;
2565
- }, tt = /* @__PURE__ */ et(As, [["__scopeId", "data-v-66be3e26"]]), Is = /* @__PURE__ */ V({
2533
+ }), Cs = { key: 0 }, Ls = /* @__PURE__ */ b({
2566
2534
  __name: "VoAuthBtn",
2567
2535
  props: {
2568
2536
  external: Boolean
2569
2537
  },
2570
2538
  setup(u) {
2571
- const o = N(), { lgAndUp: i, mdAndDown: t } = Le();
2572
- return (r, a) => {
2573
- const c = tt, l = Ke;
2574
- return d(), h(qe, null, {
2575
- activator: n(({ props: f }) => [
2576
- !e(o).user && !e(o).isLoading ? (d(), h(E, se({ key: 0 }, {
2577
- ...f,
2578
- [`${e(i) ? "append-" : ""}icon`]: `svg:${e(Re)}`,
2579
- text: e(i) ? "Login" : void 0
2580
- }, {
2581
- rounded: e(t),
2582
- class: "text-none",
2583
- color: "primary",
2584
- variant: "outlined"
2585
- }), null, 16, ["rounded"])) : (d(), h(c, { key: 1 }))
2586
- ]),
2587
- default: n(() => [
2588
- s(l)
2589
- ]),
2590
- _: 1
2591
- });
2592
- };
2593
- }
2594
- }), Ds = { class: "text-center mb-6" }, Us = /* @__PURE__ */ V({
2595
- __name: "VoAuthDialog",
2596
- setup(u) {
2597
- const o = N(), { mdAndDown: i, lgAndUp: t } = Le(), r = Pe();
2598
- return (a, c) => {
2599
- const l = Je, f = Ye, p = tt;
2600
- return !e(o).user && !e(o).isLoading ? (d(), h(Me, {
2601
- key: 0,
2602
- "max-width": "480"
2539
+ const o = O(), i = X(), e = H(), { lgAndUp: r, mdAndDown: a } = He();
2540
+ return (l, c) => {
2541
+ const h = Ss, p = ae;
2542
+ return d(), _(p, ce({
2543
+ [`${t(r) ? "append-" : ""}icon`]: t(o).user ? void 0 : `svg:${t(Bt)}`
2603
2544
  }, {
2604
- activator: n(({ props: y }) => [
2605
- s(E, se({
2606
- ...y,
2607
- [`${e(t) ? "append-" : ""}icon`]: `svg:${e(Re)}`,
2608
- text: e(t) ? "Login" : void 0
2609
- }, {
2610
- rounded: e(i),
2611
- class: "text-none",
2612
- color: "primary",
2613
- variant: "outlined"
2614
- }), null, 16, ["rounded"])
2545
+ color: t(i).isOpen ? "primary" : "surface-light",
2546
+ icon: t(o).user,
2547
+ rounded: t(a),
2548
+ class: "vo-auth-btn",
2549
+ size: "default",
2550
+ variant: "outlined",
2551
+ active: ""
2552
+ }), {
2553
+ loader: n(() => [
2554
+ s(we, { type: "avatar" })
2615
2555
  ]),
2616
2556
  default: n(() => [
2617
- s(O, { class: "pt-6 pb-1 pb-sm-4 px-4 px-sm-8" }, {
2618
- default: n(() => [
2619
- s(ve, {
2620
- src: `https://cdn.vuetifyjs.com/docs/images/logos/vuetify-logo-v3-slim-text-${e(r).name.value}.svg`,
2621
- class: "mb-4",
2622
- height: "30"
2623
- }, null, 8, ["src"]),
2624
- v("div", Ds, [
2625
- s(Gt, { class: "text-h5 mb-1 text-md-h4 font-weight-bold" }, {
2626
- default: n(() => [
2627
- F(S(e(o).lastLoginProvider() ? "Welcome Back" : "Log in to Vuetify"), 1)
2628
- ]),
2629
- _: 1
2630
- }),
2631
- s(qt, { class: "text-wrap" }, {
2632
- default: n(() => [
2633
- F(" Sign in with GitHub or Discord to save your settings and unlock exclusive subscriber perks. ")
2634
- ]),
2635
- _: 1
2636
- })
2637
- ]),
2638
- s(Q, {
2639
- class: "mx-auto",
2640
- "max-width": "300",
2641
- width: "100%"
2642
- }, {
2643
- default: n(() => [
2644
- s(l, { class: "mb-3" }),
2645
- s(f)
2646
- ]),
2647
- _: 1
2648
- })
2649
- ]),
2650
- _: 1
2651
- })
2557
+ t(o).user ? S("", !0) : (d(), w("span", Cs, "Login")),
2558
+ t(o).user ? (d(), _(ue, {
2559
+ key: 1,
2560
+ image: t(e).avatar || t(o).user.picture || ""
2561
+ }, null, 8, ["image"])) : S("", !0),
2562
+ s(h)
2652
2563
  ]),
2653
2564
  _: 1
2654
- })) : (d(), h(p, { key: 1 }));
2565
+ }, 16, ["color", "icon", "rounded"]);
2655
2566
  };
2656
2567
  }
2657
- }), Fs = (u) => (rt("data-v-86d0e524"), u = u(), lt(), u), js = ["href", "title"], Ns = {
2568
+ });
2569
+ const Ye = (u, o) => {
2570
+ const i = u.__vccOpts || u;
2571
+ for (const [e, r] of o)
2572
+ i[e] = r;
2573
+ return i;
2574
+ }, Is = /* @__PURE__ */ Ye(Ls, [["__scopeId", "data-v-5f125c79"]]), As = (u) => (et("data-v-86d0e524"), u = u(), tt(), u), Ds = ["href", "title"], Us = {
2658
2575
  class: "text-caption text-disabled",
2659
2576
  style: { position: "absolute", right: "16px" }
2660
- }, Bs = /* @__PURE__ */ Fs(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), Os = /* @__PURE__ */ V({
2577
+ }, Fs = /* @__PURE__ */ As(() => /* @__PURE__ */ v("span", { class: "d-none d-sm-inline-block" }, "Vuetify, LLC", -1)), js = /* @__PURE__ */ b({
2661
2578
  __name: "VoFooter",
2662
2579
  setup(u) {
2663
2580
  const o = [
@@ -2668,7 +2585,7 @@ const et = (u, o) => {
2668
2585
  },
2669
2586
  {
2670
2587
  title: "Vuetify Support",
2671
- icon: `svg:${Pt}`,
2588
+ icon: `svg:${zt}`,
2672
2589
  href: "https://support.vuetifyjs.com/"
2673
2590
  },
2674
2591
  {
@@ -2683,21 +2600,21 @@ const et = (u, o) => {
2683
2600
  },
2684
2601
  {
2685
2602
  title: "Vuetify Discord",
2686
- icon: `svg:${Oe}`,
2603
+ icon: `svg:${Be}`,
2687
2604
  href: "https://community.vuetifyjs.com/"
2688
2605
  },
2689
2606
  {
2690
2607
  title: "Vuetify Reddit",
2691
- icon: `svg:${Et}`,
2608
+ icon: `svg:${Tt}`,
2692
2609
  href: "https://reddit.com/r/vuetifyjs"
2693
2610
  }
2694
2611
  ];
2695
- return (i, t) => (d(), h(ro, {
2612
+ return (i, e) => (d(), _(oo, {
2696
2613
  class: "vo-footer",
2697
2614
  height: "40"
2698
2615
  }, {
2699
2616
  default: n(() => [
2700
- (d(), w(j, null, te(o, (r) => v("a", {
2617
+ (d(), w(F, null, te(o, (r) => v("a", {
2701
2618
  key: r.title,
2702
2619
  href: r.href,
2703
2620
  title: r.title,
@@ -2705,25 +2622,25 @@ const et = (u, o) => {
2705
2622
  rel: "noopener noreferrer",
2706
2623
  target: "_blank"
2707
2624
  }, [
2708
- s(B, {
2625
+ s(N, {
2709
2626
  icon: r.icon,
2710
2627
  size: r.icon === "$vuetify" ? 24 : 16
2711
2628
  }, null, 8, ["icon", "size"])
2712
- ], 8, js)), 64)),
2713
- v("div", Ns, [
2714
- F(" © 2016-" + S((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
2715
- Bs
2629
+ ], 8, Ds)), 64)),
2630
+ v("div", Us, [
2631
+ j(" © 2016-" + C((/* @__PURE__ */ new Date()).getFullYear()) + " ", 1),
2632
+ Fs
2716
2633
  ])
2717
2634
  ]),
2718
2635
  _: 1
2719
2636
  }));
2720
2637
  }
2721
2638
  });
2722
- const zs = /* @__PURE__ */ et(Os, [["__scopeId", "data-v-86d0e524"]]), xn = X("bins", () => {
2723
- const u = N(), o = _e(), i = ee([]), t = ee(), r = I(!1), a = I(-1), c = A(() => !u.user || !t.value ? !1 : u.user.id === t.value.owner.id), l = A(() => i.value.filter((g) => g.favorite)), f = A(() => i.value.filter((g) => g.pinned));
2724
- H(t, () => {
2639
+ const Ns = /* @__PURE__ */ Ye(js, [["__scopeId", "data-v-86d0e524"]]), Vn = K("bins", () => {
2640
+ const u = O(), o = _e(), i = Z([]), e = Z(), r = U(!1), a = U(-1), l = A(() => !u.user || !e.value ? !1 : u.user.id === e.value.owner.id), c = A(() => i.value.filter((g) => g.favorite)), h = A(() => i.value.filter((g) => g.pinned));
2641
+ W(e, () => {
2725
2642
  window.clearTimeout(a.value), a.value = window.setTimeout(() => {
2726
- !t.value || !c.value || m(t.value, t.value.id);
2643
+ !e.value || !l.value || m(e.value, e.value.id);
2727
2644
  }, 100);
2728
2645
  }, { deep: !0 });
2729
2646
  async function p() {
@@ -2737,90 +2654,90 @@ const zs = /* @__PURE__ */ et(Os, [["__scopeId", "data-v-86d0e524"]]), xn = X("b
2737
2654
  }
2738
2655
  return i.value;
2739
2656
  }
2740
- async function y(g) {
2657
+ async function k(g) {
2741
2658
  try {
2742
- r.value = !0, await o.delete(`/one/bins/${g}`), i.value = i.value.filter((x) => x.id !== g);
2659
+ r.value = !0, await o.delete(`/one/bins/${g}`), i.value = i.value.filter(($) => $.id !== g);
2743
2660
  } catch {
2744
2661
  } finally {
2745
2662
  r.value = !1;
2746
2663
  }
2747
2664
  return !0;
2748
2665
  }
2749
- async function D(g) {
2666
+ async function L(g) {
2750
2667
  try {
2751
2668
  r.value = !0;
2752
- const x = await o.post("/one/bins", { bin: g });
2753
- return i.value.push(x.bin), t.value = x.bin, x;
2669
+ const $ = await o.post("/one/bins", { bin: g });
2670
+ return i.value.push($.bin), e.value = $.bin, $;
2754
2671
  } catch {
2755
2672
  } finally {
2756
2673
  r.value = !1;
2757
2674
  }
2758
2675
  return { bin: g };
2759
2676
  }
2760
- async function m(g, x) {
2677
+ async function m(g, $) {
2761
2678
  try {
2762
2679
  r.value = !0;
2763
- const L = await o.post(`/one/bins/${x}`, { bin: g }), $ = i.value.findIndex((T) => T.id === x);
2764
- i.value.splice($, 1, L.bin);
2680
+ const I = await o.post(`/one/bins/${$}`, { bin: g }), V = i.value.findIndex((B) => B.id === $);
2681
+ i.value.splice(V, 1, I.bin);
2765
2682
  } catch {
2766
2683
  } finally {
2767
2684
  r.value = !1;
2768
2685
  }
2769
2686
  return { bin: g };
2770
2687
  }
2771
- async function k(g, x) {
2688
+ async function y(g, $) {
2772
2689
  try {
2773
2690
  r.value = !0;
2774
- const L = x ? await m(g, x) : await D(g);
2775
- t.value = L.bin;
2691
+ const I = $ ? await m(g, $) : await L(g);
2692
+ e.value = I.bin;
2776
2693
  } catch {
2777
2694
  } finally {
2778
2695
  r.value = !1;
2779
2696
  }
2780
2697
  return { bin: g };
2781
2698
  }
2782
- async function U(g) {
2699
+ async function D(g) {
2783
2700
  try {
2784
2701
  r.value = !0;
2785
- const x = await o.get(`/one/bins/${g}`);
2786
- t.value = x.bin;
2702
+ const $ = await o.get(`/one/bins/${g}`);
2703
+ e.value = $.bin;
2787
2704
  } catch {
2788
2705
  } finally {
2789
2706
  r.value = !1;
2790
2707
  }
2791
- return { bin: t.value };
2708
+ return { bin: e.value };
2792
2709
  }
2793
2710
  return {
2794
2711
  isLoading: r,
2795
- isOwner: c,
2796
- pinned: f,
2797
- favorites: l,
2712
+ isOwner: l,
2713
+ pinned: h,
2714
+ favorites: c,
2798
2715
  all: i,
2799
- create: D,
2800
- delete: y,
2801
- current: t,
2802
- find: U,
2716
+ create: L,
2717
+ delete: k,
2718
+ current: e,
2719
+ find: D,
2803
2720
  get: p,
2804
2721
  update: m,
2805
- updateOrCreate: k
2722
+ updateOrCreate: y
2806
2723
  };
2807
2724
  });
2808
- function wn() {
2725
+ function kn() {
2809
2726
  function u(o) {
2810
- o.component("VoAuthBtn", Is), o.component("VoAuthDialog", Us), o.component("VoFooter", zs);
2727
+ o.component("VoAuthBtn", Is), o.component("VoFooter", Ns);
2811
2728
  }
2812
2729
  return { install: u };
2813
2730
  }
2814
- function Sn(u) {
2731
+ function $n(u) {
2815
2732
  u.store.url = "https://api.vuetifyjs.com";
2816
2733
  }
2817
2734
  export {
2818
- wn as createOne,
2819
- Sn as one,
2820
- N as useAuthStore,
2821
- xn as useBinsStore,
2735
+ kn as createOne,
2736
+ $n as one,
2737
+ O as useAuthStore,
2738
+ Vn as useBinsStore,
2822
2739
  _e as useHttpStore,
2823
- oe as useOneStore,
2824
- Xe as useSettingsStore,
2825
- z as useUserStore
2740
+ X as useOneStore,
2741
+ Ge as useSettingsStore,
2742
+ H as useUserStore
2826
2743
  };