@vuetify/one 1.1.5 → 1.1.7

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