@vuetify/one 1.1.7 → 1.1.8

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