@vuetify/one 1.0.15 → 1.0.16

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