@wssto2/vue-core 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/README.md +3 -0
  2. package/dist/{AccessGate.vue_vue_type_script_setup_true_lang-DKX3PH2n.js → AccessGate.vue_vue_type_script_setup_true_lang-DcbZBINh.js} +1 -1
  3. package/dist/{AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js → AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js} +1 -1
  4. package/dist/{ActionRow.vue_vue_type_script_setup_true_lang-B7Lpfkf6.js → ActionRow.vue_vue_type_script_setup_true_lang-LlfIPWsJ.js} +2 -2
  5. package/dist/{Activity-DviO0VQ8.js → Activity-2gGxQn7v.js} +9 -9
  6. package/dist/{AdaptivePageShell.vue_vue_type_script_setup_true_lang-CvAnzdc1.js → AdaptivePageShell.vue_vue_type_script_setup_true_lang-BoinCY93.js} +3 -3
  7. package/dist/{AlertDialog.vue_vue_type_script_setup_true_lang-CJsMUIUg.js → AlertDialog.vue_vue_type_script_setup_true_lang-whA4WLdl.js} +1 -1
  8. package/dist/{AsyncSection.vue_vue_type_script_setup_true_lang-CCtthMRd.js → AsyncSection.vue_vue_type_script_setup_true_lang-Blj6KgCr.js} +4 -4
  9. package/dist/{Banner.vue_vue_type_script_setup_true_lang-Cib_YYpr.js → Banner.vue_vue_type_script_setup_true_lang-DSStj_5z.js} +1 -1
  10. package/dist/{Button.vue_vue_type_script_setup_true_lang-CYil8h9z.js → Button.vue_vue_type_script_setup_true_lang-CL9Qh5yq.js} +1 -1
  11. package/dist/{Changes-DlT5mN9G.js → Changes-Bm8xvagD.js} +8 -8
  12. package/dist/{CollectionPage.vue_vue_type_script_setup_true_lang-CXILftEc.js → CollectionPage.vue_vue_type_script_setup_true_lang-DCBVw2Qd.js} +176 -172
  13. package/dist/{DataTable.vue_vue_type_script_setup_true_lang-DSYgS9lC.js → DataTable.vue_vue_type_script_setup_true_lang-UH6f9puS.js} +1 -1
  14. package/dist/DateField.vue_vue_type_script_setup_true_lang-GVasv8ao.js +255 -0
  15. package/dist/DeadLetters-CMRtXn_N.js +104 -0
  16. package/dist/{DiscardChangesModal.vue_vue_type_script_setup_true_lang-Cb3xJI1x.js → DiscardChangesModal.vue_vue_type_script_setup_true_lang-D1arePCZ.js} +1 -1
  17. package/dist/{EmptyState.vue_vue_type_script_setup_true_lang-C2ZYIT9F.js → EmptyState.vue_vue_type_script_setup_true_lang-50p-Mp8I.js} +1 -1
  18. package/dist/{FormErrors.vue_vue_type_script_setup_true_lang-DVgNBQ8p.js → FormErrors.vue_vue_type_script_setup_true_lang-BQb7wLT0.js} +1 -1
  19. package/dist/{FormGroup.vue_vue_type_script_setup_true_lang-0mfG8TkU.js → FormGroup.vue_vue_type_script_setup_true_lang-DG2zdG_a.js} +10 -10
  20. package/dist/{FormView.vue_vue_type_script_setup_true_lang-Bz2m3AtF.js → FormView.vue_vue_type_script_setup_true_lang-cr0xNDXP.js} +2 -2
  21. package/dist/{General-BD-Hcz0a.js → General-CTqd0SLK.js} +8 -8
  22. package/dist/HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js +45 -0
  23. package/dist/{Icon.vue_vue_type_script_lang-VvcV2Bzo.js → Icon.vue_vue_type_script_lang-D7oC-d-S.js} +33 -29
  24. package/dist/{IconTile.vue_vue_type_script_setup_true_lang-D7QgnUyN.js → IconTile.vue_vue_type_script_setup_true_lang-BpIjgu5E.js} +1 -1
  25. package/dist/{LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js → LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js} +1 -1
  26. package/dist/{Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js → Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js} +30 -26
  27. package/dist/{Modal.vue_vue_type_script_setup_true_lang-D7SwVPpL.js → Modal.vue_vue_type_script_setup_true_lang-DpBb8ans.js} +2 -2
  28. package/dist/{NewRolePage-Dla4YnMs.js → NewRolePage-DTOWIxxC.js} +4 -4
  29. package/dist/{NoAccess.vue_vue_type_script_setup_true_lang-8m9cNptR.js → NoAccess.vue_vue_type_script_setup_true_lang-DWxq-MTM.js} +1 -1
  30. package/dist/{NumberField.vue_vue_type_script_setup_true_lang-CYRg7Kfg.js → NumberField.vue_vue_type_script_setup_true_lang-C7N5nq0P.js} +1 -1
  31. package/dist/{PageBar.vue_vue_type_script_setup_true_lang-Cfr5xsJx.js → PageBar.vue_vue_type_script_setup_true_lang-B7qdEeej.js} +1 -1
  32. package/dist/{Panel.vue_vue_type_script_setup_true_lang-BCRxRK4D.js → Panel.vue_vue_type_script_setup_true_lang-BA0u_DtS.js} +1 -1
  33. package/dist/PanelActions.vue_vue_type_script_setup_true_lang-E9VdIGkf.js +46 -0
  34. package/dist/{PhotoViewer.vue_vue_type_script_setup_true_lang-B3Q4dhqJ.js → PhotoViewer.vue_vue_type_script_setup_true_lang-QPCW3Xi6.js} +1 -1
  35. package/dist/ProfilePage-BlpiWH_W.js +654 -0
  36. package/dist/{RecordHeader.vue_vue_type_script_setup_true_lang-DKsaKlAq.js → RecordHeader.vue_vue_type_script_setup_true_lang-C_ymvhHU.js} +2 -2
  37. package/dist/{ResourcePage.vue_vue_type_script_setup_true_lang-CJcKa9SW.js → ResourcePage.vue_vue_type_script_setup_true_lang-CwI_sROp.js} +5 -5
  38. package/dist/{RoleEditor.vue_vue_type_script_setup_true_lang-DuEPOmjI.js → RoleEditor.vue_vue_type_script_setup_true_lang-CmwvSytD.js} +30 -29
  39. package/dist/{RolePage-bZzv_E4l.js → RolePage-DZk7BZOc.js} +13 -13
  40. package/dist/{RolesPage-BniZv0nB.js → RolesPage-DzGGCMnm.js} +9 -9
  41. package/dist/{SectionList.vue_vue_type_script_setup_true_lang-BKP_bge8.js → SectionList.vue_vue_type_script_setup_true_lang-BFYls8fR.js} +3 -3
  42. package/dist/{SectionNavigator.vue_vue_type_script_setup_true_lang-BgGEGxSI.js → SectionNavigator.vue_vue_type_script_setup_true_lang-DSMXEaCs.js} +5 -5
  43. package/dist/{SegmentedField.vue_vue_type_script_setup_true_lang-BZ9UdgA1.js → SegmentedField.vue_vue_type_script_setup_true_lang-BMqWlpsL.js} +1 -1
  44. package/dist/{SelectField.vue_vue_type_script_setup_true_lang-BiGaEKBQ.js → SelectField.vue_vue_type_script_setup_true_lang-7O1BAx04.js} +15 -14
  45. package/dist/{SessionList.vue_vue_type_script_setup_true_lang-DUQpr7gb.js → SessionList.vue_vue_type_script_setup_true_lang-D5KRitar.js} +4 -4
  46. package/dist/{Sessions-Co5-xdeb.js → Sessions-CWqjjTr1.js} +6 -6
  47. package/dist/SettingsPage-C4s0IdkW.js +255 -0
  48. package/dist/{Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js → Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js} +48 -45
  49. package/dist/{SignIn-BWwFbxki.js → SignIn-zzKY__df.js} +7 -7
  50. package/dist/{SignInPage-FnLtoi2q.js → SignInPage-Rqnus_s-.js} +6 -6
  51. package/dist/{SignInTable.vue_vue_type_script_setup_true_lang-Dnx3T_42.js → SignInTable.vue_vue_type_script_setup_true_lang-CEbAvZ_C.js} +1 -1
  52. package/dist/{SignIns-3UcI64_h.js → SignIns-Cnf9BVR0.js} +6 -6
  53. package/dist/{SwipeActions.vue_vue_type_script_setup_true_lang-4I8m27ol.js → SwipeActions.vue_vue_type_script_setup_true_lang-BJIA2JfI.js} +1 -1
  54. package/dist/SwitchField.vue_vue_type_script_setup_true_lang-CM8yp9JQ.js +64 -0
  55. package/dist/{Tabs.vue_vue_type_script_setup_true_lang-BeGaydRr.js → Tabs.vue_vue_type_script_setup_true_lang-CcMcE38r.js} +1 -1
  56. package/dist/{TextField.vue_vue_type_script_setup_true_lang-C_FMf3Vc.js → TextField.vue_vue_type_script_setup_true_lang-B9dwVASU.js} +3 -3
  57. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CqAWfABZ.js +68 -0
  58. package/dist/TimeField.vue_vue_type_script_setup_true_lang-DWfAUlnz.js +164 -0
  59. package/dist/{Timestamp.vue_vue_type_script_setup_true_lang-1RJGKxbD.js → Timestamp.vue_vue_type_script_setup_true_lang-FVRUr-9y.js} +1 -1
  60. package/dist/{UserRecord-Ci8HfwbX.js → UserRecord-DqigxVxH.js} +12 -12
  61. package/dist/{UsersList-vEJ-cgkT.js → UsersList-DNlZsI9J.js} +8 -8
  62. package/dist/{ViewTabs.vue_vue_type_script_setup_true_lang-ByqTU2JT.js → ViewTabs.vue_vue_type_script_setup_true_lang-BJIoZAlH.js} +1 -1
  63. package/dist/access/index.js +1 -1
  64. package/dist/app/index.js +9 -9
  65. package/dist/button/index.js +1 -1
  66. package/dist/client/index.js +11 -19
  67. package/dist/{client-Bw0aM5Gu.js → client-k9euDWF4.js} +19 -19
  68. package/dist/collection/definition.d.ts +3 -0
  69. package/dist/collection/index.js +6 -6
  70. package/dist/collection/useCollection.d.ts +2 -0
  71. package/dist/content/index.js +2 -2
  72. package/dist/{contributions-CDDg3fKp.js → contributions-DsfmDoRD.js} +1 -1
  73. package/dist/control-7EP4tjYy.js +313 -0
  74. package/dist/controls/index.js +4 -4
  75. package/dist/form/index.js +987 -1134
  76. package/dist/{guards-Cd1V28oG.js → guards-Dve61KjR.js} +1 -1
  77. package/dist/{http-DGGSKWvU.js → http-CNcDHSOj.js} +9 -8
  78. package/dist/i18n/index.js +20 -20
  79. package/dist/icon/core.d.ts +4 -0
  80. package/dist/icon/index.js +1 -1
  81. package/dist/identity/index.js +1 -1
  82. package/dist/index-BsJ92eub.js +504 -0
  83. package/dist/{index-BAcl44SC.js → index-CGv-u1Ws.js} +19 -19
  84. package/dist/{index-B2dbYZR9.js → index-GcLnFF-z.js} +15 -15
  85. package/dist/index.d.ts +1 -1
  86. package/dist/index.js +1 -1
  87. package/dist/modal/Sheet.vue.d.ts +2 -0
  88. package/dist/modal/index.js +5 -5
  89. package/dist/modules/events/entities.d.ts +16 -0
  90. package/dist/modules/events/routes.d.ts +17 -0
  91. package/dist/modules/events/schemas.d.ts +16 -0
  92. package/dist/modules/notification/entities.d.ts +46 -0
  93. package/dist/modules/notification/routes.d.ts +26 -0
  94. package/dist/modules/notification/schemas.d.ts +25 -0
  95. package/dist/{navigation-BPWa63ge.js → navigation-Cm3iChlR.js} +1 -1
  96. package/dist/{neighbors-D0WRBxXI.js → neighbors-DpaIMQAL.js} +1 -1
  97. package/dist/notifications/InboxPanel.vue.d.ts +16 -0
  98. package/dist/notifications/MarkAllRead.vue.d.ts +7 -0
  99. package/dist/notifications/NotificationBell.vue.d.ts +2 -0
  100. package/dist/notifications/SettingsLink.vue.d.ts +6 -0
  101. package/dist/notifications/context.d.ts +20 -0
  102. package/dist/notifications/deadletters/DeadLetters.vue.d.ts +2 -0
  103. package/dist/notifications/deadletters/access.d.ts +3 -0
  104. package/dist/notifications/deadletters/list.d.ts +3 -0
  105. package/dist/notifications/deadletters/routes.d.ts +13 -0
  106. package/dist/notifications/feature.d.ts +31 -0
  107. package/dist/notifications/inbox.d.ts +62 -0
  108. package/dist/notifications/index.d.ts +13 -0
  109. package/dist/notifications/index.js +8 -0
  110. package/dist/notifications/settings/EmailPanel.vue.d.ts +14 -0
  111. package/dist/notifications/settings/QuietHoursPanel.vue.d.ts +14 -0
  112. package/dist/notifications/settings/SettingsMenuItem.vue.d.ts +2 -0
  113. package/dist/notifications/settings/SettingsPage.vue.d.ts +2 -0
  114. package/dist/notifications/settings/categoryText.d.ts +9 -0
  115. package/dist/notifications/settings/routes.d.ts +13 -0
  116. package/dist/notifications/settings/settings.d.ts +18 -0
  117. package/dist/notifications/settings/state.d.ts +16 -0
  118. package/dist/notifications/state.d.ts +27 -0
  119. package/dist/notifications/stream.d.ts +21 -0
  120. package/dist/options-Ba_0uLWN.js +18 -0
  121. package/dist/overlay/index.js +3 -3
  122. package/dist/page/index.js +7 -7
  123. package/dist/phone/index.js +68 -67
  124. package/dist/platform/index.js +2 -2
  125. package/dist/{platform-hunMqFdB.js → platform-q3cjODLx.js} +1 -1
  126. package/dist/resource/index.js +1 -1
  127. package/dist/route-goWMxDUN.js +13 -0
  128. package/dist/router/index.js +4 -4
  129. package/dist/{rowLayout-BI7a3Kom.js → rowLayout-BqTEhEuy.js} +5 -5
  130. package/dist/{sections-BEqW1dOc.js → sections-CntvUTxn.js} +1 -1
  131. package/dist/shell/index.js +460 -496
  132. package/dist/state/index.js +4 -4
  133. package/dist/{status-C9aXR-Jb.js → status-BuP3ULjH.js} +2 -2
  134. package/dist/styles.css +1 -1
  135. package/dist/{suggestions-BJAqOj4c.js → suggestions-BxMm6MQA.js} +1 -1
  136. package/dist/testing/index.js +1 -1
  137. package/dist/transport-BnP7WC0Y.js +4 -0
  138. package/dist/{useCommand-BgRwnYlV.js → useCommand-BkONMn3X.js} +2 -2
  139. package/dist/{useResourceForm-Bgc9jMcu.js → useResourceForm-D1hIpwW5.js} +1 -1
  140. package/dist/useTypedEntry-aTfPBAhw.js +857 -0
  141. package/package.json +6 -2
  142. package/dist/DateField.vue_vue_type_script_setup_true_lang-DMVjNsaM.js +0 -1099
  143. package/dist/ProfilePage-OJMQ8cr8.js +0 -691
  144. package/dist/TextareaField.vue_vue_type_script_setup_true_lang-CU3KTKIJ.js +0 -127
  145. package/dist/options-BXkMR63B.js +0 -329
@@ -1,215 +1,216 @@
1
- import { defineComponent as I, provide as ae, computed as C, ref as F, useId as se, openBlock as u, createElementBlock as h, normalizeClass as _, unref as n, createVNode as p, createCommentVNode as L, createElementVNode as d, toDisplayString as D, createBlock as O, withDirectives as Ie, Fragment as V, renderList as te, vShow as De, withCtx as T, mergeProps as Y, useTemplateRef as ne, renderSlot as z, createSlots as K, normalizeProps as U, guardReactiveProps as X, watch as q, onScopeDispose as le, inject as be, onBeforeUnmount as Oe, normalizeStyle as ge, nextTick as ye, Teleport as Re, shallowRef as Be, h as Z, resolveDynamicComponent as Ne } from "vue";
1
+ import { defineComponent as z, provide as ae, computed as A, ref as F, useId as se, openBlock as u, createElementBlock as b, normalizeClass as $, unref as n, createVNode as v, createCommentVNode as E, createElementVNode as d, toDisplayString as D, createBlock as O, withDirectives as Ie, Fragment as V, renderList as te, vShow as ze, withCtx as T, mergeProps as G, useTemplateRef as ne, renderSlot as I, createSlots as K, normalizeProps as U, guardReactiveProps as X, watch as Y, onScopeDispose as le, inject as De, onBeforeUnmount as Oe, normalizeStyle as ve, nextTick as he, Teleport as Re, shallowRef as Be, h as Z } from "vue";
2
2
  import { useI18n as N } from "vue-i18n";
3
- import { _ as xe } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
- import { _ as B, u as Pe, c as je } from "../Icon.vue_vue_type_script_lang-VvcV2Bzo.js";
5
- import { _ as Ve } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
- import { u as Fe, S as H } from "../contributions-CDDg3fKp.js";
7
- import { u as Ke } from "../environment-Dva-SG8D.js";
8
- import { _ as We } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
- import { l as me } from "../languageName-CItV_SOv.js";
10
- import { t as we } from "../toast-D9Z5To38.js";
11
- import { u as Q, h as ie } from "../platform-hunMqFdB.js";
12
- import { a as Ue, _ as pe, h as re } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-DIGqTLwd.js";
13
- import { _ as Xe } from "../Sheet.vue_vue_type_script_setup_true_lang-bHYzx7-J.js";
14
- import { _ as Ye } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-C2udmeEA.js";
15
- import { _ as qe } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
16
- import { _ as Ge } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
- import { a as ke } from "../chrome-BS3xJcad.js";
18
- import { A as He } from "../access-DdRFrVV1.js";
19
- import { RouterLink as ce, useRoute as Qe, useRouter as ue } from "vue-router";
20
- import { u as Je } from "../navigation-BPWa63ge.js";
21
- import { a as G } from "../mediaQuery-CygcXmFW.js";
22
- import { u as Ze } from "../useDialog-CXR3hN0G.js";
23
- import { _ as et } from "../Menu.vue_vue_type_script_setup_true_lang-BNAjx9tj.js";
24
- import { W as tt } from "../useWaitStatus-fsacMl4W.js";
3
+ import { _ as be } from "../Avatar.vue_vue_type_script_setup_true_lang-CFIheaSr.js";
4
+ import { _ as B, u as Ne, c as Pe } from "../Icon.vue_vue_type_script_lang-D7oC-d-S.js";
5
+ import { _ as je } from "../Popover.vue_vue_type_script_setup_true_lang-Dx-tDhNE.js";
6
+ import { u as Ve, S as H } from "../contributions-DsfmDoRD.js";
7
+ import { u as Fe } from "../environment-Dva-SG8D.js";
8
+ import { _ as Ke } from "../CountryFlag.vue_vue_type_script_setup_true_lang-Kry_vPPZ.js";
9
+ import { l as de } from "../languageName-CItV_SOv.js";
10
+ import { t as ge } from "../toast-D9Z5To38.js";
11
+ import { u as Q, h as ie } from "../platform-q3cjODLx.js";
12
+ import { a as We, _ as fe, h as ye } from "../AccountMenuItem.vue_vue_type_script_setup_true_lang-CPeNxh5K.js";
13
+ import { _ as Ue } from "../Sheet.vue_vue_type_script_setup_true_lang-DgOFV4fa.js";
14
+ import { _ as Xe } from "../LeaveGuardRoot.vue_vue_type_script_setup_true_lang-Cv7KlA5y.js";
15
+ import { _ as Ye } from "../Toaster.vue_vue_type_script_setup_true_lang-55boRLAj.js";
16
+ import { _ as qe } from "../BottomDock.vue_vue_type_script_setup_true_lang-CjN7xYEr.js";
17
+ import { a as xe } from "../chrome-BS3xJcad.js";
18
+ import { A as Ge } from "../access-DdRFrVV1.js";
19
+ import { RouterLink as we, useRoute as He, useRouter as re } from "vue-router";
20
+ import { u as Qe } from "../navigation-Cm3iChlR.js";
21
+ import { a as q } from "../mediaQuery-CygcXmFW.js";
22
+ import { u as Je } from "../useDialog-CXR3hN0G.js";
23
+ import { _ as Ze } from "../Menu.vue_vue_type_script_setup_true_lang-DTbAcDzL.js";
24
+ import { W as et } from "../useWaitStatus-fsacMl4W.js";
25
25
  import { d as _e } from "../feature-DdUAfyi4.js";
26
- import { S as nt } from "../dialogStack-DZZg55w0.js";
27
- const at = ["aria-expanded", "aria-controls"], ot = { class: "flex-1 whitespace-nowrap" }, st = { class: "truncate" }, lt = ["id"], $e = /* @__PURE__ */ I({
26
+ import { _ as Qn } from "../HeaderAction.vue_vue_type_script_setup_true_lang-Cgji-Jrr.js";
27
+ import { S as tt } from "../dialogStack-DZZg55w0.js";
28
+ const nt = ["aria-expanded", "aria-controls"], at = { class: "flex-1 whitespace-nowrap" }, ot = { class: "truncate" }, st = ["id"], ke = /* @__PURE__ */ z({
28
29
  __name: "AccountMenuContent",
29
30
  props: {
30
31
  appearance: {}
31
32
  },
32
33
  emits: ["close"],
33
34
  setup(e, { emit: a }) {
34
- const t = e, o = a, { t: s } = N(), { session: c } = Q(), r = Ke(), m = Fe();
35
- ae(Ue, { appearance: t.appearance, close: () => o("close") });
36
- const l = t.appearance === "sheet", v = C(() => m.get("accountMenu").length > 0), g = r.locales.length > 1, x = F(!1), k = se(), $ = C(() => me(r.locale.value)), y = (M) => r.localeFlags[M];
37
- async function A() {
35
+ const t = e, o = a, { t: i } = N(), { session: r } = Q(), c = Fe(), m = Ve();
36
+ ae(We, { appearance: t.appearance, close: () => o("close") });
37
+ const s = t.appearance === "sheet", p = A(() => m.get("accountMenu").length > 0), g = c.locales.length > 1, x = F(!1), _ = se(), k = A(() => de(c.locale.value)), y = (M) => c.localeFlags[M];
38
+ async function C() {
38
39
  try {
39
- await c.signOut();
40
+ await r.signOut();
40
41
  } catch {
41
- we.error(s("core.shell.account.sign_out_failed"));
42
+ ge.error(i("core.shell.account.sign_out_failed"));
42
43
  }
43
44
  }
44
- const f = l ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
45
- return (M, i) => (u(), h("div", {
46
- class: _(l ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
45
+ const f = s ? "overflow-hidden rounded-group bg-surface-cell shadow-group" : "";
46
+ return (M, l) => (u(), b("div", {
47
+ class: $(s ? "flex flex-col gap-group-gap text-content-strong" : "-m-1.5 space-y-1 *:not-first:border-t *:not-first:border-border-separator *:not-first:pt-1"),
47
48
  "data-shell-account-menu": ""
48
49
  }, [
49
- v.value ? (u(), h("div", {
50
+ p.value ? (u(), b("div", {
50
51
  key: 0,
51
- class: _(n(f))
52
+ class: $(n(f))
52
53
  }, [
53
- p(n(H), { name: "accountMenu" })
54
- ], 2)) : L("", !0),
55
- g ? (u(), h("div", {
54
+ v(n(H), { name: "accountMenu" })
55
+ ], 2)) : E("", !0),
56
+ g ? (u(), b("div", {
56
57
  key: 1,
57
- class: _(n(f))
58
+ class: $(n(f))
58
59
  }, [
59
60
  d("div", {
60
- class: _(l ? "relative" : "")
61
+ class: $(s ? "relative" : "")
61
62
  }, [
62
63
  d("button", {
63
64
  type: "button",
64
65
  "aria-expanded": x.value,
65
- "aria-controls": n(k),
66
+ "aria-controls": n(_),
66
67
  "data-account-language": "",
67
- class: _(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", l ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
68
- onClick: i[0] || (i[0] = (E) => x.value = !x.value)
68
+ class: $(["flex w-full cursor-pointer items-center gap-3 text-left transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", s ? "min-h-row px-row-inset py-2 text-body active:bg-fill" : "rounded-md px-2 py-1.5 text-sm hover:bg-fill"]),
69
+ onClick: l[0] || (l[0] = (L) => x.value = !x.value)
69
70
  }, [
70
- p(n(B), {
71
+ v(n(B), {
71
72
  name: "translate",
72
- size: l ? 22 : 16,
73
+ size: s ? 22 : 16,
73
74
  class: "shrink-0 text-content-muted"
74
75
  }, null, 8, ["size"]),
75
- d("span", ot, D(n(s)("core.shell.account.language")), 1),
76
+ d("span", at, D(n(i)("core.shell.account.language")), 1),
76
77
  d("span", {
77
- class: _(["flex min-w-0 items-center gap-1.5 text-content-muted", l ? "" : "text-xs"])
78
+ class: $(["flex min-w-0 items-center gap-1.5 text-content-muted", s ? "" : "text-xs"])
78
79
  }, [
79
- y(n(r).locale.value) ? (u(), O(We, {
80
+ y(n(c).locale.value) ? (u(), O(Ke, {
80
81
  key: 0,
81
- country: y(n(r).locale.value)
82
- }, null, 8, ["country"])) : L("", !0),
83
- d("span", st, D($.value), 1)
82
+ country: y(n(c).locale.value)
83
+ }, null, 8, ["country"])) : E("", !0),
84
+ d("span", ot, D(k.value), 1)
84
85
  ], 2),
85
- p(n(B), {
86
+ v(n(B), {
86
87
  name: "arrowDownSLine",
87
- size: l ? 18 : 16,
88
- class: _(["shrink-0 text-content-disabled transition-transform duration-motion-fast", x.value ? "rotate-180" : ""])
88
+ size: s ? 18 : 16,
89
+ class: $(["shrink-0 text-content-disabled transition-transform duration-motion-fast", x.value ? "rotate-180" : ""])
89
90
  }, null, 8, ["size", "class"])
90
- ], 10, at)
91
+ ], 10, nt)
91
92
  ], 2),
92
93
  Ie(d("div", {
93
- id: n(k),
94
- class: _(l ? "" : "space-y-0.5 pl-4")
94
+ id: n(_),
95
+ class: $(s ? "" : "space-y-0.5 pl-4")
95
96
  }, [
96
- (u(!0), h(V, null, te(n(r).locales, (E) => (u(), O(pe, {
97
- key: E,
98
- label: n(me)(E),
99
- flag: y(E),
100
- selected: E === n(r).locale.value,
101
- onClick: (S) => n(r).setLocale(E)
97
+ (u(!0), b(V, null, te(n(c).locales, (L) => (u(), O(fe, {
98
+ key: L,
99
+ label: n(de)(L),
100
+ flag: y(L),
101
+ selected: L === n(c).locale.value,
102
+ onClick: (S) => n(c).setLocale(L)
102
103
  }, null, 8, ["label", "flag", "selected", "onClick"]))), 128))
103
- ], 10, lt), [
104
- [De, x.value]
104
+ ], 10, st), [
105
+ [ze, x.value]
105
106
  ])
106
- ], 2)) : L("", !0),
107
+ ], 2)) : E("", !0),
107
108
  d("div", {
108
- class: _(n(f))
109
+ class: $(n(f))
109
110
  }, [
110
- p(pe, {
111
- label: n(s)("core.shell.account.sign_out"),
111
+ v(fe, {
112
+ label: n(i)("core.shell.account.sign_out"),
112
113
  icon: "logoutBoxRLine",
113
114
  tone: "critical",
114
- onClick: A
115
+ onClick: C
115
116
  }, null, 8, ["label"])
116
117
  ], 2)
117
118
  ], 2));
118
119
  }
119
- }), it = ["onClick"], rt = { class: "min-w-0 flex-1" }, ct = { class: "block truncate text-sm font-semibold text-white" }, ut = {
120
+ }), lt = ["onClick"], it = { class: "min-w-0 flex-1" }, rt = { class: "block truncate text-sm font-semibold text-white" }, ct = {
120
121
  key: 0,
121
122
  class: "block truncate text-xs text-gray-300"
122
- }, dt = /* @__PURE__ */ I({
123
+ }, ut = /* @__PURE__ */ z({
123
124
  __name: "AccountMenu",
124
125
  props: {
125
126
  identity: {}
126
127
  },
127
128
  setup(e) {
128
129
  const { t: a } = N();
129
- return (t, o) => (u(), O(n(Ve), {
130
+ return (t, o) => (u(), O(n(je), {
130
131
  placement: "top-start",
131
132
  width: "sm",
132
133
  block: "",
133
134
  arrow: !1,
134
135
  label: n(a)("core.shell.account.open")
135
136
  }, {
136
- trigger: T(({ toggle: s, attrs: c, presented: r }) => [
137
- d("button", Y({ type: "button" }, c, {
137
+ trigger: T(({ toggle: i, attrs: r, presented: c }) => [
138
+ d("button", G({ type: "button" }, r, {
138
139
  "data-shell-account": "",
139
- class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": r }],
140
- onClick: s
140
+ class: ["flex w-full cursor-pointer items-center gap-3 rounded-md px-2 py-2 text-left transition-colors hover:bg-white/5 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", { "bg-white/10": c }],
141
+ onClick: i
141
142
  }), [
142
- p(n(xe), {
143
+ v(n(be), {
143
144
  name: e.identity.name,
144
145
  size: "md"
145
146
  }, null, 8, ["name"]),
146
- d("span", rt, [
147
- d("span", ct, D(e.identity.name), 1),
148
- e.identity.detail ? (u(), h("span", ut, D(e.identity.detail), 1)) : L("", !0)
147
+ d("span", it, [
148
+ d("span", rt, D(e.identity.name), 1),
149
+ e.identity.detail ? (u(), b("span", ct, D(e.identity.detail), 1)) : E("", !0)
149
150
  ]),
150
- p(n(B), {
151
+ v(n(B), {
151
152
  name: "expandUpDownLine",
152
153
  size: 16,
153
154
  class: "shrink-0 text-gray-400"
154
155
  })
155
- ], 16, it)
156
+ ], 16, lt)
156
157
  ]),
157
- default: T(({ dismiss: s }) => [
158
- p($e, {
158
+ default: T(({ dismiss: i }) => [
159
+ v(ke, {
159
160
  appearance: "popover",
160
- onClose: s
161
+ onClose: i
161
162
  }, null, 8, ["onClose"])
162
163
  ]),
163
164
  _: 1
164
165
  }, 8, ["label"]));
165
166
  }
166
- }), ft = /* @__PURE__ */ I({
167
+ }), dt = /* @__PURE__ */ z({
167
168
  __name: "AccountSheet",
168
169
  props: {
169
170
  identity: {}
170
171
  },
171
172
  setup(e, { expose: a }) {
172
173
  const t = ne("sheet");
173
- return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, s) => (u(), O(n(Xe), {
174
+ return a({ present: () => t.value?.present(), dismiss: () => t.value?.dismiss() }), (o, i) => (u(), O(n(Ue), {
174
175
  ref_key: "sheet",
175
176
  ref: t,
176
177
  title: e.identity.name,
177
178
  grouped: ""
178
179
  }, {
179
180
  default: T(() => [
180
- p($e, {
181
+ v(ke, {
181
182
  appearance: "sheet",
182
- onClose: s[0] || (s[0] = (c) => t.value?.dismiss())
183
+ onClose: i[0] || (i[0] = (r) => t.value?.dismiss())
183
184
  })
184
185
  ]),
185
186
  _: 1
186
187
  }, 8, ["title"]));
187
188
  }
188
189
  });
189
- function mt() {
190
- const e = Pe(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
191
- return (t) => t && (e[t] !== void 0 || a(je, t)) ? t : null;
190
+ function ft() {
191
+ const e = Ne(), a = (t, o) => Object.prototype.hasOwnProperty.call(t, o);
192
+ return (t) => t && (e[t] !== void 0 || a(Pe, t)) ? t : null;
192
193
  }
193
- function Se(e) {
194
+ function $e(e) {
194
195
  return e.button === 0 && !e.metaKey && !e.ctrlKey && !e.shiftKey && !e.altKey && !e.defaultPrevented;
195
196
  }
196
- const Ce = (e) => e.to ? [e] : e.children.flatMap(Ce);
197
- function pt(e) {
197
+ const Se = (e) => e.to ? [e] : e.children.flatMap(Se);
198
+ function mt(e) {
198
199
  const a = [];
199
200
  for (const t of e) {
200
- const o = Ce(t);
201
+ const o = Se(t);
201
202
  if (o.length === 0) continue;
202
- const s = !t.to && o.length > 1 ? t.label : null;
203
+ const i = !t.to && o.length > 1 ? t.label : null;
203
204
  a.push({
204
205
  key: t.key,
205
- heading: s,
206
- separated: s === null && a.length > 0,
207
- items: o.map((c) => ({ key: c.key, label: c.label, icon: c.icon, to: c.to, active: c.active }))
206
+ heading: i,
207
+ separated: i === null && a.length > 0,
208
+ items: o.map((r) => ({ key: r.key, label: r.label, icon: r.icon, to: r.to, active: r.active }))
208
209
  });
209
210
  }
210
211
  return a;
211
212
  }
212
- const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id"], gt = ["aria-labelledby"], yt = ["href", "aria-current", "onClick"], xt = { class: "min-w-0 flex-1 truncate" }, ve = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Le = /* @__PURE__ */ I({
213
+ const pt = ["aria-label", "data-appearance"], vt = ["data-separated"], ht = ["id"], bt = ["aria-labelledby"], gt = ["href", "aria-current", "onClick"], yt = { class: "min-w-0 flex-1 truncate" }, me = "flex w-full items-center transition-colors focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus", Ce = /* @__PURE__ */ z({
213
214
  __name: "NavigationList",
214
215
  props: {
215
216
  items: { default: void 0 },
@@ -218,16 +219,16 @@ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id
218
219
  },
219
220
  emits: ["select"],
220
221
  setup(e, { emit: a }) {
221
- const t = e, o = a, { t: s } = N(), c = se(), r = t.items === void 0 ? Je() : null, m = mt(), l = C(() => pt(t.items ?? r?.value ?? []));
222
- function v(y, A, f) {
223
- if (t.appearance === "drawer" && Se(y)) {
222
+ const t = e, o = a, { t: i } = N(), r = se(), c = t.items === void 0 ? Qe() : null, m = ft(), s = A(() => mt(t.items ?? c?.value ?? []));
223
+ function p(y, C, f) {
224
+ if (t.appearance === "drawer" && $e(y)) {
224
225
  y.preventDefault(), o("select", f);
225
226
  return;
226
227
  }
227
- A(y);
228
+ C(y);
228
229
  }
229
230
  const g = {
230
- item: `${ve} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
231
+ item: `${me} group gap-2.5 rounded-md px-2.5 py-1.5 text-sm`,
231
232
  active: "bg-white/10 font-medium text-white ring-1 ring-inset ring-white/5",
232
233
  inactive: "font-normal text-gray-300 hover:bg-white/5 hover:text-white",
233
234
  iconActive: "text-primary-400",
@@ -236,67 +237,67 @@ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id
236
237
  // A hairline above the group, inset like the rows.
237
238
  separator: "before:mx-2 before:my-2.5 before:block before:border-t before:border-white/10"
238
239
  }, x = {
239
- item: `${ve} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
240
+ item: `${me} min-h-[2.875rem] cursor-pointer gap-3.5 rounded-group px-3 text-left text-body duration-motion-fast`,
240
241
  active: "bg-tint-soft font-semibold text-content-link",
241
242
  inactive: "active:bg-fill",
242
243
  iconActive: "",
243
244
  iconInactive: "",
244
245
  heading: "px-3 pt-4.5 pb-1.5 text-subheadline text-content-muted",
245
246
  separator: "before:mx-3 before:my-3 before:block before:border-t before:border-border-separator"
246
- }, k = C(() => t.appearance === "rail" ? g : x), $ = C(() => t.appearance === "rail" ? 16 : 22);
247
- return (y, A) => (u(), h("nav", {
248
- "aria-label": e.label ?? n(s)("core.shell.menu"),
247
+ }, _ = A(() => t.appearance === "rail" ? g : x), k = A(() => t.appearance === "rail" ? 16 : 22);
248
+ return (y, C) => (u(), b("nav", {
249
+ "aria-label": e.label ?? n(i)("core.shell.menu"),
249
250
  "data-shell-navigation": "",
250
251
  "data-appearance": e.appearance
251
252
  }, [
252
253
  d("ul", null, [
253
- (u(!0), h(V, null, te(l.value, (f, M) => (u(), h("li", {
254
+ (u(!0), b(V, null, te(s.value, (f, M) => (u(), b("li", {
254
255
  key: f.key,
255
256
  "data-separated": f.separated || void 0,
256
- class: _(f.separated ? k.value.separator : "")
257
+ class: $(f.separated ? _.value.separator : "")
257
258
  }, [
258
- f.heading ? (u(), h("p", {
259
+ f.heading ? (u(), b("p", {
259
260
  key: 0,
260
- id: `${n(c)}-${M}`,
261
- class: _([k.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
262
- }, D(f.heading), 11, bt)) : L("", !0),
261
+ id: `${n(r)}-${M}`,
262
+ class: $([_.value.heading, e.appearance === "rail" ? M > 0 ? "pt-4" : "pt-1" : ""])
263
+ }, D(f.heading), 11, ht)) : E("", !0),
263
264
  d("ul", {
264
- "aria-labelledby": f.heading ? `${n(c)}-${M}` : void 0,
265
- class: _(e.appearance === "rail" ? "space-y-0.5" : "")
265
+ "aria-labelledby": f.heading ? `${n(r)}-${M}` : void 0,
266
+ class: $(e.appearance === "rail" ? "space-y-0.5" : "")
266
267
  }, [
267
- (u(!0), h(V, null, te(f.items, (i) => (u(), h("li", {
268
- key: i.key
268
+ (u(!0), b(V, null, te(f.items, (l) => (u(), b("li", {
269
+ key: l.key
269
270
  }, [
270
- p(n(ce), {
271
+ v(n(we), {
271
272
  custom: "",
272
- to: i.to
273
+ to: l.to
273
274
  }, {
274
- default: T(({ href: E, navigate: S }) => [
275
+ default: T(({ href: L, navigate: S }) => [
275
276
  d("a", {
276
- href: E,
277
- "aria-current": i.active ? "page" : void 0,
277
+ href: L,
278
+ "aria-current": l.active ? "page" : void 0,
278
279
  "data-shell-destination": "",
279
- class: _([k.value.item, i.active ? k.value.active : k.value.inactive]),
280
- onClick: (w) => v(w, S, i.to)
280
+ class: $([_.value.item, l.active ? _.value.active : _.value.inactive]),
281
+ onClick: (w) => p(w, S, l.to)
281
282
  }, [
282
- n(m)(i.icon) ? (u(), O(n(B), {
283
+ n(m)(l.icon) ? (u(), O(n(B), {
283
284
  key: 0,
284
- name: n(m)(i.icon),
285
- size: $.value,
286
- class: _(i.active ? k.value.iconActive : k.value.iconInactive)
287
- }, null, 8, ["name", "size", "class"])) : L("", !0),
288
- d("span", xt, D(i.label), 1)
289
- ], 10, yt)
285
+ name: n(m)(l.icon),
286
+ size: k.value,
287
+ class: $(l.active ? _.value.iconActive : _.value.iconInactive)
288
+ }, null, 8, ["name", "size", "class"])) : E("", !0),
289
+ d("span", yt, D(l.label), 1)
290
+ ], 10, gt)
290
291
  ]),
291
292
  _: 2
292
293
  }, 1032, ["to"])
293
294
  ]))), 128))
294
- ], 10, gt)
295
- ], 10, ht))), 128))
295
+ ], 10, bt)
296
+ ], 10, vt))), 128))
296
297
  ])
297
- ], 8, vt));
298
+ ], 8, pt));
298
299
  }
299
- }), wt = ["href", "aria-label", "onClick"], de = /* @__PURE__ */ I({
300
+ }), xt = ["href", "aria-label", "onClick"], ce = /* @__PURE__ */ z({
300
301
  inheritAttrs: !1,
301
302
  __name: "ShellBrand",
302
303
  props: {
@@ -306,43 +307,43 @@ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id
306
307
  },
307
308
  emits: ["select"],
308
309
  setup(e, { emit: a }) {
309
- const t = e, o = a, { t: s } = N(), { config: c } = Q();
310
- function r(m, l) {
311
- if (t.intercept && Se(m)) {
310
+ const t = e, o = a, { t: i } = N(), { config: r } = Q();
311
+ function c(m, s) {
312
+ if (t.intercept && $e(m)) {
312
313
  m.preventDefault(), o("select", t.to);
313
314
  return;
314
315
  }
315
- l(m);
316
+ s(m);
316
317
  }
317
- return (m, l) => (u(), O(n(ce), {
318
+ return (m, s) => (u(), O(n(we), {
318
319
  custom: "",
319
320
  to: e.to
320
321
  }, {
321
- default: T(({ href: v, navigate: g }) => [
322
- d("a", Y(m.$attrs, {
323
- href: v,
324
- "aria-label": n(s)("core.shell.home"),
322
+ default: T(({ href: p, navigate: g }) => [
323
+ d("a", G(m.$attrs, {
324
+ href: p,
325
+ "aria-label": n(i)("core.shell.home"),
325
326
  "data-shell-brand": "",
326
327
  class: "inline-block rounded-control focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
327
- onClick: (x) => r(x, g)
328
+ onClick: (x) => c(x, g)
328
329
  }), [
329
- z(m.$slots, "default", { tone: e.tone }, () => [
330
+ I(m.$slots, "default", { tone: e.tone }, () => [
330
331
  d("span", {
331
- class: _(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
332
- }, D(n(c).appName), 3)
332
+ class: $(["block truncate text-headline font-semibold", e.tone === "light" ? "text-white" : "text-content-strong"])
333
+ }, D(n(r).appName), 3)
333
334
  ])
334
- ], 16, wt)
335
+ ], 16, xt)
335
336
  ]),
336
337
  _: 3
337
338
  }, 8, ["to"]));
338
339
  }
339
- }), kt = {
340
+ }), wt = {
340
341
  class: "flex h-full flex-col bg-surface-page text-content-strong",
341
342
  "data-shell-drawer-content": ""
342
- }, _t = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, $t = { class: "min-w-0 flex-1" }, St = { class: "block truncate text-headline font-semibold" }, Ct = {
343
+ }, _t = { class: "shrink-0 pt-[calc(max(0.75rem,env(safe-area-inset-top))+0.75rem)] pr-4 pb-4 pl-[max(1.375rem,env(safe-area-inset-left))]" }, kt = { class: "min-w-0 flex-1" }, $t = { class: "block truncate text-headline font-semibold" }, St = {
343
344
  key: 0,
344
345
  class: "block truncate text-footnote text-content-muted"
345
- }, Lt = /* @__PURE__ */ I({
346
+ }, Ct = /* @__PURE__ */ z({
346
347
  __name: "NavigationDrawer",
347
348
  props: {
348
349
  identity: {},
@@ -351,51 +352,51 @@ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id
351
352
  emits: ["select", "account"],
352
353
  setup(e, { emit: a }) {
353
354
  const t = a, { t: o } = N();
354
- return (s, c) => (u(), h("div", kt, [
355
+ return (i, r) => (u(), b("div", wt, [
355
356
  d("div", _t, [
356
- p(de, {
357
+ v(ce, {
357
358
  to: e.home,
358
359
  tone: "brand",
359
360
  intercept: "",
360
361
  class: "max-w-36",
361
- onSelect: c[0] || (c[0] = (r) => t("select", r))
362
+ onSelect: r[0] || (r[0] = (c) => t("select", c))
362
363
  }, K({ _: 2 }, [
363
- s.$slots.brand ? {
364
+ i.$slots.brand ? {
364
365
  name: "default",
365
- fn: T((r) => [
366
- z(s.$slots, "brand", U(X(r)))
366
+ fn: T((c) => [
367
+ I(i.$slots, "brand", U(X(c)))
367
368
  ]),
368
369
  key: "0"
369
370
  } : void 0
370
371
  ]), 1032, ["to"])
371
372
  ]),
372
- c[3] || (c[3] = d("div", {
373
+ r[3] || (r[3] = d("div", {
373
374
  class: "mx-5.5 shrink-0 border-t border-border-separator",
374
375
  role: "presentation"
375
376
  }, null, -1)),
376
- p(Le, {
377
+ v(Ce, {
377
378
  appearance: "drawer",
378
379
  label: n(o)("core.shell.menu"),
379
380
  class: "min-h-0 flex-1 overflow-y-auto overscroll-contain pt-2 pr-2.5 pb-3 pl-[max(0.625rem,env(safe-area-inset-left))] [mask-image:linear-gradient(to_bottom,black_calc(100%-1.5rem),transparent)]",
380
- onSelect: c[1] || (c[1] = (r) => t("select", r))
381
+ onSelect: r[1] || (r[1] = (c) => t("select", c))
381
382
  }, null, 8, ["label"]),
382
- z(s.$slots, "footer"),
383
+ I(i.$slots, "footer"),
383
384
  d("button", {
384
385
  type: "button",
385
386
  "data-shell-drawer-account": "",
386
387
  "aria-haspopup": "dialog",
387
388
  class: "flex shrink-0 cursor-pointer items-center gap-3 border-t border-border-separator pt-3 pr-4 pb-[max(1rem,env(safe-area-inset-bottom))] pl-[max(1.125rem,env(safe-area-inset-left))] text-left transition-colors duration-motion-fast active:bg-fill focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-border-focus",
388
- onClick: c[2] || (c[2] = (r) => t("account"))
389
+ onClick: r[2] || (r[2] = (c) => t("account"))
389
390
  }, [
390
- p(n(xe), {
391
+ v(n(be), {
391
392
  name: e.identity.name,
392
393
  size: "lg"
393
394
  }, null, 8, ["name"]),
394
- d("span", $t, [
395
- d("span", St, D(e.identity.name), 1),
396
- e.identity.detail ? (u(), h("span", Ct, D(e.identity.detail), 1)) : L("", !0)
395
+ d("span", kt, [
396
+ d("span", $t, D(e.identity.name), 1),
397
+ e.identity.detail ? (u(), b("span", St, D(e.identity.detail), 1)) : E("", !0)
397
398
  ]),
398
- p(n(B), {
399
+ v(n(B), {
399
400
  name: "arrowRightSLine",
400
401
  size: 18,
401
402
  class: "shrink-0 text-content-disabled"
@@ -403,188 +404,188 @@ const vt = ["aria-label", "data-appearance"], ht = ["data-separated"], bt = ["id
403
404
  ])
404
405
  ]));
405
406
  }
406
- }), At = {
407
+ }), Lt = {
407
408
  key: 0,
408
409
  "data-shell-sidebar": "",
409
410
  class: "flex w-64 shrink-0 flex-col bg-anchor-900 dark:border-r dark:border-white/5 dark:bg-anchor-950"
410
- }, Et = { class: "sticky top-[var(--shell-banner-h,0px)] flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Tt = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Mt = { class: "flex shrink-0 items-center gap-1" }, zt = { class: "border-t border-white/10 p-2" }, It = /* @__PURE__ */ I({
411
+ }, At = { class: "sticky top-[var(--shell-banner-h,0px)] z-30 flex h-[calc(100vh-var(--shell-banner-h,0px))] flex-col" }, Et = { class: "flex items-center justify-between gap-2 pt-5 pr-2 pb-3 pl-4" }, Tt = { class: "flex shrink-0 items-center gap-1" }, Mt = { class: "border-t border-white/10 p-2" }, It = /* @__PURE__ */ z({
411
412
  __name: "ShellSidebar",
412
413
  props: {
413
414
  identity: {},
414
415
  home: {}
415
416
  },
416
417
  setup(e) {
417
- ae(re, "rail");
418
- const a = G("(min-width: 48rem)");
419
- return (t, o) => n(a) ? (u(), h("aside", At, [
420
- d("div", Et, [
421
- d("div", Tt, [
422
- p(de, {
418
+ ae(ye, "rail");
419
+ const a = q("(min-width: 48rem)");
420
+ return (t, o) => n(a) ? (u(), b("aside", Lt, [
421
+ d("div", At, [
422
+ d("div", Et, [
423
+ v(ce, {
423
424
  to: e.home,
424
425
  tone: "light",
425
426
  class: "min-w-0"
426
427
  }, K({ _: 2 }, [
427
428
  t.$slots.brand ? {
428
429
  name: "default",
429
- fn: T((s) => [
430
- z(t.$slots, "brand", U(X(s)))
430
+ fn: T((i) => [
431
+ I(t.$slots, "brand", U(X(i)))
431
432
  ]),
432
433
  key: "0"
433
434
  } : void 0
434
435
  ]), 1032, ["to"]),
435
- d("div", Mt, [
436
- p(n(H), { name: "headerActions" })
436
+ d("div", Tt, [
437
+ v(n(H), { name: "headerActions" })
437
438
  ])
438
439
  ]),
439
- p(Le, {
440
+ v(Ce, {
440
441
  appearance: "rail",
441
442
  class: "scrollbar-subtle min-h-0 flex-1 overflow-y-auto px-2 pt-3 pb-3 [mask-image:linear-gradient(to_bottom,transparent,black_12px,black_calc(100%-12px),transparent)]"
442
443
  }),
443
- z(t.$slots, "footer"),
444
- d("div", zt, [
445
- p(dt, { identity: e.identity }, null, 8, ["identity"])
444
+ I(t.$slots, "footer"),
445
+ d("div", Mt, [
446
+ v(ut, { identity: e.identity }, null, 8, ["identity"])
446
447
  ])
447
448
  ])
448
- ])) : L("", !0);
449
+ ])) : E("", !0);
449
450
  }
450
- }), Dt = 20, Ot = 8, he = 0.5, Rt = 40;
451
- function Bt({ offset: e, startOffset: a, width: t, velocity: o }) {
452
- if (Math.abs(e - a) > Rt) {
453
- if (o > he) return !0;
454
- if (o < -he) return !1;
451
+ }), zt = 20, Dt = 8, pe = 0.5, Ot = 40;
452
+ function Rt({ offset: e, startOffset: a, width: t, velocity: o }) {
453
+ if (Math.abs(e - a) > Ot) {
454
+ if (o > pe) return !0;
455
+ if (o < -pe) return !1;
455
456
  }
456
457
  return e > t / 2;
457
458
  }
458
- function Nt(e) {
459
+ function Bt(e) {
459
460
  const a = F(0), t = F(!1);
460
- let o = !1, s = null, c = 0, r = 0, m = 0, l = 0, v = 0, g = 0;
461
+ let o = !1, i = null, r = 0, c = 0, m = 0, s = 0, p = 0, g = 0;
461
462
  function x(S, w) {
462
- o = !0, s = null, c = l = S.clientX, r = S.clientY, m = w, v = performance.now(), g = 0;
463
+ o = !0, i = null, r = s = S.clientX, c = S.clientY, m = w, p = performance.now(), g = 0;
463
464
  }
464
- function k(S) {
465
+ function _(S) {
465
466
  const w = S.touches[0];
466
467
  if (!o || !w) return;
467
- const R = w.clientX - c, J = w.clientY - r;
468
- if (!s) {
469
- if (Math.max(Math.abs(R), Math.abs(J)) < Ot) return;
470
- if (s = Math.abs(R) > Math.abs(J) ? "x" : "y", s === "y" || m === 0 && R < 0) {
468
+ const R = w.clientX - r, J = w.clientY - c;
469
+ if (!i) {
470
+ if (Math.max(Math.abs(R), Math.abs(J)) < Dt) return;
471
+ if (i = Math.abs(R) > Math.abs(J) ? "x" : "y", i === "y" || m === 0 && R < 0) {
471
472
  o = !1;
472
473
  return;
473
474
  }
474
475
  t.value = !0, a.value = m, e.onStart();
475
476
  }
476
477
  const W = performance.now();
477
- g = (w.clientX - l) / Math.max(W - v, 1), l = w.clientX, v = W, a.value = Math.min(e.width(), Math.max(0, m + R)), S.cancelable && S.preventDefault();
478
+ g = (w.clientX - s) / Math.max(W - p, 1), s = w.clientX, p = W, a.value = Math.min(e.width(), Math.max(0, m + R)), S.cancelable && S.preventDefault();
478
479
  }
479
- function $() {
480
- o && (o = !1, t.value && (t.value = !1, e.onSettle(Bt({ offset: a.value, startOffset: m, width: e.width(), velocity: g }))));
480
+ function k() {
481
+ o && (o = !1, t.value && (t.value = !1, e.onSettle(Rt({ offset: a.value, startOffset: m, width: e.width(), velocity: g }))));
481
482
  }
482
483
  function y() {
483
484
  o = !1, t.value = !1;
484
485
  }
485
- function A(S) {
486
+ function C(S) {
486
487
  const w = S.touches[0];
487
- !w || S.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || w.clientX > Dt || x(w, 0);
488
+ !w || S.touches.length !== 1 || e.isOpen() || !e.canOpenFromEdge() || w.clientX > zt || x(w, 0);
488
489
  }
489
490
  let f = !1;
490
491
  function M() {
491
- f || (f = !0, window.addEventListener("touchstart", A, { passive: !0 }), window.addEventListener("touchmove", k, { passive: !1 }), window.addEventListener("touchend", $), window.addEventListener("touchcancel", $));
492
+ f || (f = !0, window.addEventListener("touchstart", C, { passive: !0 }), window.addEventListener("touchmove", _, { passive: !1 }), window.addEventListener("touchend", k), window.addEventListener("touchcancel", k));
492
493
  }
493
- function i() {
494
- f && (f = !1, window.removeEventListener("touchstart", A), window.removeEventListener("touchmove", k), window.removeEventListener("touchend", $), window.removeEventListener("touchcancel", $), y());
494
+ function l() {
495
+ f && (f = !1, window.removeEventListener("touchstart", C), window.removeEventListener("touchmove", _), window.removeEventListener("touchend", k), window.removeEventListener("touchcancel", k), y());
495
496
  }
496
- return q(e.enabled, (S) => S ? M() : i(), { immediate: !0 }), le(i), { offset: a, dragging: t, closeEvents: {
497
+ return Y(e.enabled, (S) => S ? M() : l(), { immediate: !0 }), le(l), { offset: a, dragging: t, closeEvents: {
497
498
  onTouchstartPassive(S) {
498
499
  const w = S.touches[0];
499
500
  w && S.touches.length === 1 && e.isOpen() && x(w, e.width());
500
501
  }
501
502
  }, cancel: y };
502
503
  }
503
- const Ae = Symbol("vue-core.navigationDrawer");
504
- function Pt() {
505
- return be(Ae, null);
504
+ const Le = Symbol("vue-core.navigationDrawer");
505
+ function Nt() {
506
+ return De(Le, null);
506
507
  }
507
- const jt = ["id", "aria-label"], Vt = ["data-drawer", "inert"], Ft = /* @__PURE__ */ I({
508
+ const Pt = ["id", "aria-label"], jt = ["data-drawer", "inert"], Vt = /* @__PURE__ */ z({
508
509
  __name: "ShellStage",
509
510
  props: {
510
511
  enabled: { type: Boolean }
511
512
  },
512
513
  setup(e) {
513
- const a = e, { t } = N(), o = Qe(), s = ue(), c = G("(max-width: 47.999rem)"), r = G("(display-mode: standalone)"), m = G("(prefers-reduced-motion: reduce)"), l = C(() => a.enabled && c.value), v = ne("stage"), g = ne("scroller"), x = F(null), k = se(), $ = F(!1), y = F(!1), A = F(!1);
514
- let f = 0, M = !1, i, E = null;
515
- const S = () => x.value?.offsetWidth ?? 0, w = Nt({
516
- enabled: () => l.value,
514
+ const a = e, { t } = N(), o = He(), i = re(), r = q("(max-width: 47.999rem)"), c = q("(display-mode: standalone)"), m = q("(prefers-reduced-motion: reduce)"), s = A(() => a.enabled && r.value), p = ne("stage"), g = ne("scroller"), x = F(null), _ = se(), k = F(!1), y = F(!1), C = F(!1);
515
+ let f = 0, M = !1, l, L = null;
516
+ const S = () => x.value?.offsetWidth ?? 0, w = Bt({
517
+ enabled: () => s.value,
517
518
  width: S,
518
- isOpen: () => A.value,
519
- canOpenFromEdge: () => r.value || navigator.standalone === !0,
519
+ isOpen: () => C.value,
520
+ canOpenFromEdge: () => c.value || navigator.standalone === !0,
520
521
  onStart: () => {
521
- clearTimeout(i), fe();
522
+ clearTimeout(l), ue();
522
523
  },
523
- onSettle: (b) => b ? $.value = !0 : j()
524
- }), R = C(() => w.dragging.value ? w.offset.value : A.value ? S() : 0), J = C(() => S() ? R.value / S() : 0), W = Ze(x, {
524
+ onSettle: (h) => h ? k.value = !0 : j()
525
+ }), R = A(() => w.dragging.value ? w.offset.value : C.value ? S() : 0), J = A(() => S() ? R.value / S() : 0), W = Je(x, {
525
526
  initialFocus: "panel",
526
527
  onEscape: () => j()
527
528
  });
528
- function Ee() {
529
- const b = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
530
- return b.endsWith("ms") ? parseFloat(b) : parseFloat(b) * 1e3 || 0;
529
+ function Ae() {
530
+ const h = getComputedStyle(document.documentElement).getPropertyValue("--app-motion-drawer").trim();
531
+ return h.endsWith("ms") ? parseFloat(h) : parseFloat(h) * 1e3 || 0;
531
532
  }
532
- function fe() {
533
- const b = v.value, P = g.value;
534
- y.value || !b || !P || (f = window.scrollY, M = !1, Object.assign(b.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = f, y.value = !0);
533
+ function ue() {
534
+ const h = p.value, P = g.value;
535
+ y.value || !h || !P || (f = window.scrollY, M = !1, Object.assign(h.style, { position: "fixed", inset: "0", overflow: "hidden", zIndex: "10" }), Object.assign(P.style, { position: "absolute", inset: "0", overflow: "hidden" }), P.scrollTop = f, y.value = !0);
535
536
  }
536
537
  function oe() {
537
- const b = v.value, P = g.value;
538
- !y.value || !b || !P || (Object.assign(b.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), y.value = !1, window.scrollTo({ top: M ? 0 : f, behavior: "instant" }));
538
+ const h = p.value, P = g.value;
539
+ !y.value || !h || !P || (Object.assign(h.style, { position: "", inset: "", overflow: "", zIndex: "", transform: "", transition: "", borderRadius: "" }), Object.assign(P.style, { position: "", inset: "", overflow: "" }), y.value = !1, window.scrollTo({ top: M ? 0 : f, behavior: "instant" }));
539
540
  }
540
- q([R, () => w.dragging.value, y], () => {
541
- const b = v.value;
542
- !b || !y.value || (b.style.transform = `translate3d(${R.value}px, 0, 0)`, b.style.borderRadius = R.value > 0 ? "2.5rem" : "", b.style.transition = w.dragging.value || m.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
541
+ Y([R, () => w.dragging.value, y], () => {
542
+ const h = p.value;
543
+ !h || !y.value || (h.style.transform = `translate3d(${R.value}px, 0, 0)`, h.style.borderRadius = R.value > 0 ? "2.5rem" : "", h.style.transition = w.dragging.value || m.value ? "none" : "transform var(--app-motion-drawer) var(--app-motion-sheet-easing), border-radius var(--app-motion-drawer) var(--app-motion-sheet-easing)");
543
544
  }, { flush: "sync" });
544
- function Te() {
545
- if (!l.value) {
546
- $.value = !1;
545
+ function Ee() {
546
+ if (!s.value) {
547
+ k.value = !1;
547
548
  return;
548
549
  }
549
- clearTimeout(i), E = null, fe(), v.value?.offsetWidth, A.value = !0, W.present(), ye(() => {
550
+ clearTimeout(l), L = null, ue(), p.value?.offsetWidth, C.value = !0, W.present(), he(() => {
550
551
  x.value?.querySelector('[aria-current="page"]')?.focus({ preventScroll: !0 });
551
552
  });
552
553
  }
553
- function j(b) {
554
- if (b && (E = b), $.value) {
555
- $.value = !1;
554
+ function j(h) {
555
+ if (h && (L = h), k.value) {
556
+ k.value = !1;
556
557
  return;
557
558
  }
558
- A.value = !1, W.dismissWithoutAsking(), clearTimeout(i), i = setTimeout(Me, Ee() + 30);
559
+ C.value = !1, W.dismissWithoutAsking(), clearTimeout(l), l = setTimeout(Te, Ae() + 30);
559
560
  }
560
- function Me() {
561
+ function Te() {
561
562
  oe();
562
- const b = E;
563
- E = null, b?.();
563
+ const h = L;
564
+ L = null, h?.();
564
565
  }
565
- q($, (b) => b ? Te() : j()), q(l, (b) => {
566
- b || (w.cancel(), clearTimeout(i), E = null, $.value = !1, A.value = !1, W.dismissWithoutAsking(), oe());
567
- }), q(() => o.fullPath, () => {
568
- y.value && (M = !0), A.value && j();
566
+ Y(k, (h) => h ? Ee() : j()), Y(s, (h) => {
567
+ h || (w.cancel(), clearTimeout(l), L = null, k.value = !1, C.value = !1, W.dismissWithoutAsking(), oe());
568
+ }), Y(() => o.fullPath, () => {
569
+ y.value && (M = !0), C.value && j();
569
570
  });
570
- function ze(b) {
571
- s.push(b).catch(() => {
571
+ function Me(h) {
572
+ i.push(h).catch(() => {
572
573
  }).finally(() => j());
573
574
  }
574
- return ae(Ae, {
575
- available: l,
576
- open: $,
577
- panelId: k,
575
+ return ae(Le, {
576
+ available: s,
577
+ open: k,
578
+ panelId: _,
578
579
  present: () => {
579
- l.value && ($.value = !0);
580
+ s.value && (k.value = !0);
580
581
  },
581
582
  dismiss: j
582
583
  }), Oe(() => {
583
- clearTimeout(i), oe();
584
- }), (b, P) => (u(), h(V, null, [
585
- l.value ? (u(), h("div", Y({
584
+ clearTimeout(l), oe();
585
+ }), (h, P) => (u(), b(V, null, [
586
+ s.value ? (u(), b("div", G({
586
587
  key: 0,
587
- id: n(k),
588
+ id: n(_),
588
589
  ref_key: "panel",
589
590
  ref: x,
590
591
  role: "dialog",
@@ -593,51 +594,51 @@ const jt = ["id", "aria-label"], Vt = ["data-drawer", "inert"], Ft = /* @__PURE_
593
594
  tabindex: "-1",
594
595
  "data-shell-drawer": "",
595
596
  class: ["fixed inset-y-0 left-0 z-0 w-[min(82vw,20rem)] outline-none", y.value ? "visible" : "invisible"],
596
- style: n(m) ? { opacity: A.value || n(w).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
597
+ style: n(m) ? { opacity: C.value || n(w).dragging.value ? 1 : 0, transition: "opacity var(--app-motion-drawer) linear" } : void 0
597
598
  }, n(w).closeEvents), [
598
- z(b.$slots, "drawer", {
599
- select: ze,
599
+ I(h.$slots, "drawer", {
600
+ select: Me,
600
601
  dismiss: j
601
602
  })
602
- ], 16, jt)) : L("", !0),
603
+ ], 16, Pt)) : E("", !0),
603
604
  d("div", {
604
605
  ref_key: "stage",
605
- ref: v,
606
+ ref: p,
606
607
  "data-shell-stage": "",
607
- "data-drawer": A.value ? "open" : void 0,
608
- class: _(["flex flex-1 flex-col", y.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
609
- inert: A.value || n(w).dragging.value || void 0
608
+ "data-drawer": C.value ? "open" : void 0,
609
+ class: $(["flex flex-1 flex-col", y.value ? "overscroll-none bg-surface-page shadow-dialog" : ""]),
610
+ inert: C.value || n(w).dragging.value || void 0
610
611
  }, [
611
612
  d("div", {
612
613
  ref_key: "scroller",
613
614
  ref: g,
614
615
  class: "flex flex-1 flex-col"
615
616
  }, [
616
- z(b.$slots, "default")
617
+ I(h.$slots, "default")
617
618
  ], 512),
618
- y.value ? (u(), h("div", {
619
+ y.value ? (u(), b("div", {
619
620
  key: 0,
620
621
  "aria-hidden": "true",
621
622
  class: "pointer-events-none fixed inset-0 z-50 bg-scrim",
622
- style: ge({ opacity: J.value * 0.55 })
623
- }, null, 4)) : L("", !0)
624
- ], 10, Vt),
625
- y.value && R.value > 0 ? (u(), h("div", Y({
623
+ style: ve({ opacity: J.value * 0.55 })
624
+ }, null, 4)) : E("", !0)
625
+ ], 10, jt),
626
+ y.value && R.value > 0 ? (u(), b("div", G({
626
627
  key: 1,
627
628
  "aria-hidden": "true",
628
629
  "data-shell-stage-cover": "",
629
630
  class: "fixed inset-y-0 right-0 z-20",
630
631
  style: { left: `${R.value}px` }
631
632
  }, n(w).closeEvents, {
632
- onClick: P[0] || (P[0] = (wn) => j())
633
- }), null, 16)) : L("", !0)
633
+ onClick: P[0] || (P[0] = (yn) => j())
634
+ }), null, 16)) : E("", !0)
634
635
  ], 64));
635
636
  }
636
- }), Kt = ["aria-label", "aria-expanded", "aria-controls"], Wt = /* @__PURE__ */ I({
637
+ }), Ft = ["aria-label", "aria-expanded", "aria-controls"], Kt = /* @__PURE__ */ z({
637
638
  __name: "NavigationMenuButton",
638
639
  setup(e) {
639
- const a = Pt(), { t } = N();
640
- return (o, s) => n(a)?.available.value ? (u(), h("button", {
640
+ const a = Nt(), { t } = N();
641
+ return (o, i) => n(a)?.available.value ? (u(), b("button", {
641
642
  key: 0,
642
643
  type: "button",
643
644
  "data-shell-menu-button": "",
@@ -646,75 +647,75 @@ const jt = ["id", "aria-label"], Vt = ["data-drawer", "inert"], Ft = /* @__PURE_
646
647
  "aria-controls": n(a).panelId,
647
648
  "aria-haspopup": "dialog",
648
649
  class: "relative my-1 ml-2 flex size-11 shrink-0 cursor-pointer items-center justify-center rounded-full bg-surface-cell text-content-strong shadow-float transition-transform duration-motion-fast active:scale-95 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus",
649
- onClick: s[0] || (s[0] = (c) => n(a).present())
650
+ onClick: i[0] || (i[0] = (r) => n(a).present())
650
651
  }, [
651
- p(n(B), {
652
+ v(n(B), {
652
653
  name: "menuLines",
653
654
  size: 20
654
655
  })
655
- ], 8, Kt)) : L("", !0);
656
+ ], 8, Ft)) : E("", !0);
656
657
  }
657
- }), Ut = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, Xt = { class: "flex min-w-0 items-center justify-start" }, Yt = ["data-page-action", "disabled"], qt = { class: "truncate" }, Gt = { class: "ml-1 flex items-center gap-1" }, Ht = { class: "flex min-w-0 items-center justify-end" }, Qt = ["data-page-action", "aria-label", "disabled", "onClick"], Jt = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], Zt = { class: "truncate" }, en = ["aria-label", "onClick"], tn = /* @__PURE__ */ I({
658
+ }), Wt = { class: "grid min-h-bar-height grid-cols-[minmax(0,1fr)_auto_minmax(0,1fr)] items-center gap-1" }, Ut = { class: "flex min-w-0 items-center justify-start" }, Xt = ["data-page-action", "disabled"], Yt = { class: "truncate" }, qt = { class: "ml-1 flex items-center gap-1" }, Gt = { class: "flex min-w-0 items-center justify-end" }, Ht = ["data-page-action", "aria-label", "disabled", "onClick"], Qt = ["data-page-action", "disabled", "aria-label", "aria-busy", "onClick"], Jt = { class: "truncate" }, Zt = ["aria-label", "onClick"], en = /* @__PURE__ */ z({
658
659
  __name: "ShellTopBar",
659
660
  props: {
660
661
  home: {}
661
662
  },
662
663
  setup(e) {
663
- const { t: a } = N(), t = ue(), o = ke(), { session: s } = Q(), c = G("(max-width: 47.999rem)");
664
- ae(re, "bar");
665
- const r = C(() => ie(s.state.value) !== null), m = C(() => !r.value || c.value), l = C(() => r.value ? o.back.value : null), v = C(() => r.value ? o.leading.value : null), g = C(() => o.navTitle.value ?? o.title.value), x = C(() => r.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), k = C(() => r.value ? o.actions.value : []), $ = C(() => k.value.filter((f) => f.placement === "primary" && f.tone !== "critical")), y = C(
666
- () => k.value.filter((f) => !$.value.includes(f)).map((f) => ({ id: f.id, label: f.label, icon: f.icon, tone: f.tone, disabled: f.disabled, processing: f.processing, onSelect: f.onClick }))
664
+ const { t: a } = N(), t = re(), o = xe(), { session: i } = Q(), r = q("(max-width: 47.999rem)");
665
+ ae(ye, "bar");
666
+ const c = A(() => ie(i.state.value) !== null), m = A(() => !c.value || r.value), s = A(() => c.value ? o.back.value : null), p = A(() => c.value ? o.leading.value : null), g = A(() => o.navTitle.value ?? o.title.value), x = A(() => c.value && !!g.value && (!!o.navTitle.value || !o.titleInView.value)), _ = A(() => c.value ? o.actions.value : []), k = A(() => _.value.filter((f) => f.placement === "primary" && f.tone !== "critical")), y = A(
667
+ () => _.value.filter((f) => !k.value.includes(f)).map((f) => ({ id: f.id, label: f.label, icon: f.icon, tone: f.tone, disabled: f.disabled, processing: f.processing, onSelect: f.onClick }))
667
668
  );
668
- function A() {
669
- l.value && t.push(l.value.to);
669
+ function C() {
670
+ s.value && t.push(s.value.to);
670
671
  }
671
- return (f, M) => m.value ? (u(), h("header", {
672
+ return (f, M) => m.value ? (u(), b("header", {
672
673
  key: 0,
673
674
  "data-shell-top-bar": "",
674
- class: _(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", r.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", x.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
675
+ class: $(["pt-[max(0.25rem,env(safe-area-inset-top))] pr-[max(0.5rem,env(safe-area-inset-right))] pb-1 pl-[max(0.5rem,env(safe-area-inset-left))] text-content-strong", c.value ? ["sticky top-[var(--shell-banner-h,0px)] z-30 border-b bg-surface-page/85 backdrop-blur-xl transition-colors duration-motion-normal", x.value ? "border-border-separator" : "border-transparent"] : "border-b border-border-separator bg-surface-cell"])
675
676
  }, [
676
- d("div", Ut, [
677
- d("div", Xt, [
678
- v.value ? (u(), h("button", {
677
+ d("div", Wt, [
678
+ d("div", Ut, [
679
+ p.value ? (u(), b("button", {
679
680
  key: 0,
680
681
  type: "button",
681
682
  "data-shell-bar-leading": "",
682
- "data-page-action": v.value.id,
683
- disabled: v.value.disabled || v.value.processing,
683
+ "data-page-action": p.value.id,
684
+ disabled: p.value.disabled || p.value.processing,
684
685
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control px-2 text-body text-content-link disabled:text-content-disabled",
685
- onClick: M[0] || (M[0] = (i) => v.value.onClick())
686
+ onClick: M[0] || (M[0] = (l) => p.value.onClick())
686
687
  }, [
687
- d("span", qt, D(v.value.label), 1)
688
- ], 8, Yt)) : l.value ? (u(), h("button", {
688
+ d("span", Yt, D(p.value.label), 1)
689
+ ], 8, Xt)) : s.value ? (u(), b("button", {
689
690
  key: 1,
690
691
  type: "button",
691
692
  "data-shell-bar-back": "",
692
693
  class: "hit-target inline-flex min-w-0 cursor-pointer items-center rounded-control pr-2 text-body text-content-link active:opacity-60",
693
- onClick: A
694
+ onClick: C
694
695
  }, [
695
- p(n(B), {
696
+ v(n(B), {
696
697
  name: "arrowLeftSLine",
697
698
  size: 28,
698
699
  class: "-mr-0.5 shrink-0"
699
700
  }),
700
701
  d("span", {
701
- class: _(["truncate", x.value ? "sr-only" : ""])
702
- }, D(l.value.label), 3)
703
- ])) : r.value ? (u(), h(V, { key: 2 }, [
704
- p(Wt),
705
- d("span", Gt, [
706
- p(n(H), { name: "headerActions" })
702
+ class: $(["truncate", x.value ? "sr-only" : ""])
703
+ }, D(s.value.label), 3)
704
+ ])) : c.value ? (u(), b(V, { key: 2 }, [
705
+ v(Kt),
706
+ d("span", qt, [
707
+ v(n(H), { name: "headerActions" })
707
708
  ])
708
- ], 64)) : (u(), O(de, {
709
+ ], 64)) : (u(), O(ce, {
709
710
  key: 3,
710
711
  to: e.home,
711
712
  tone: "brand",
712
- class: _(["px-2 transition-opacity", x.value ? "opacity-0" : "opacity-100"])
713
+ class: $(["px-2 transition-opacity", x.value ? "opacity-0" : "opacity-100"])
713
714
  }, K({ _: 2 }, [
714
715
  f.$slots.brand ? {
715
716
  name: "default",
716
- fn: T((i) => [
717
- z(f.$slots, "brand", U(X(i)))
717
+ fn: T((l) => [
718
+ I(f.$slots, "brand", U(X(l)))
718
719
  ]),
719
720
  key: "0"
720
721
  } : void 0
@@ -723,85 +724,85 @@ const jt = ["id", "aria-label"], Vt = ["data-drawer", "inert"], Ft = /* @__PURE_
723
724
  d("span", {
724
725
  "aria-hidden": "true",
725
726
  "data-shell-bar-title": "",
726
- class: _(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", x.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
727
+ class: $(["pointer-events-none truncate text-center text-headline font-semibold transition-opacity duration-motion-normal", x.value ? "max-w-[42vw] opacity-100" : "max-w-0 opacity-0"])
727
728
  }, D(g.value), 3),
728
- d("div", Ht, [
729
- r.value ? (u(), h(V, { key: 0 }, [
730
- (u(!0), h(V, null, te($.value, (i) => (u(), h(V, {
731
- key: i.id
729
+ d("div", Gt, [
730
+ c.value ? (u(), b(V, { key: 0 }, [
731
+ (u(!0), b(V, null, te(k.value, (l) => (u(), b(V, {
732
+ key: l.id
732
733
  }, [
733
- i.compact === "icon" && i.icon ? (u(), h("button", {
734
+ l.compact === "icon" && l.icon ? (u(), b("button", {
734
735
  key: 0,
735
736
  type: "button",
736
- "data-page-action": i.id,
737
- "aria-label": i.label,
738
- disabled: i.disabled || i.processing,
737
+ "data-page-action": l.id,
738
+ "aria-label": l.label,
739
+ disabled: l.disabled || l.processing,
739
740
  class: "hit-target mx-1 flex size-8 shrink-0 cursor-pointer items-center justify-center rounded-full bg-tint-soft text-content-link disabled:opacity-45",
740
- onClick: (E) => i.onClick()
741
+ onClick: (L) => l.onClick()
741
742
  }, [
742
- p(n(B), {
743
- name: i.processing ? "loader4Line" : i.icon,
743
+ v(n(B), {
744
+ name: l.processing ? "loader4Line" : l.icon,
744
745
  size: 18,
745
- class: _(i.processing ? "animate-spin" : "")
746
+ class: $(l.processing ? "animate-spin" : "")
746
747
  }, null, 8, ["name", "class"])
747
- ], 8, Qt)) : (u(), h("button", {
748
+ ], 8, Ht)) : (u(), b("button", {
748
749
  key: 1,
749
750
  type: "button",
750
- "data-page-action": i.id,
751
- disabled: i.disabled || i.processing,
752
- "aria-label": i.shortLabel ? i.label : void 0,
753
- "aria-busy": i.processing || void 0,
751
+ "data-page-action": l.id,
752
+ disabled: l.disabled || l.processing,
753
+ "aria-label": l.shortLabel ? l.label : void 0,
754
+ "aria-busy": l.processing || void 0,
754
755
  class: "hit-target flex min-w-0 shrink cursor-pointer items-center gap-1 rounded-control px-2 text-body font-semibold text-content-link disabled:text-content-disabled",
755
- onClick: (E) => i.onClick()
756
+ onClick: (L) => l.onClick()
756
757
  }, [
757
- i.processing ? (u(), O(n(B), {
758
+ l.processing ? (u(), O(n(B), {
758
759
  key: 0,
759
760
  name: "loader4Line",
760
761
  size: 16,
761
762
  class: "animate-spin"
762
- })) : L("", !0),
763
- d("span", Zt, D(i.shortLabel ?? i.label), 1)
764
- ], 8, Jt))
763
+ })) : E("", !0),
764
+ d("span", Jt, D(l.shortLabel ?? l.label), 1)
765
+ ], 8, Qt))
765
766
  ], 64))), 128)),
766
- y.value.length ? (u(), O(n(et), {
767
+ y.value.length ? (u(), O(n(Ze), {
767
768
  key: 0,
768
769
  items: y.value,
769
770
  label: n(a)("core.page.more_actions")
770
771
  }, {
771
- trigger: T(({ toggle: i, attrs: E }) => [
772
- d("button", Y({ type: "button" }, E, {
772
+ trigger: T(({ toggle: l, attrs: L }) => [
773
+ d("button", G({ type: "button" }, L, {
773
774
  "aria-label": n(a)("core.page.more_actions"),
774
775
  "data-shell-bar-more": "",
775
776
  class: "hit-target flex size-9 cursor-pointer items-center justify-center rounded-full text-content-link",
776
- onClick: i
777
+ onClick: l
777
778
  }), [
778
- p(n(B), {
779
+ v(n(B), {
779
780
  name: "moreLine",
780
781
  size: 22
781
782
  })
782
- ], 16, en)
783
+ ], 16, Zt)
783
784
  ]),
784
785
  _: 1
785
- }, 8, ["items", "label"])) : L("", !0)
786
- ], 64)) : L("", !0),
787
- z(f.$slots, "end")
786
+ }, 8, ["items", "label"])) : E("", !0)
787
+ ], 64)) : E("", !0),
788
+ I(f.$slots, "end")
788
789
  ])
789
790
  ])
790
- ], 2)) : L("", !0);
791
+ ], 2)) : E("", !0);
791
792
  }
792
793
  });
793
- function nn(e) {
794
+ function tn(e) {
794
795
  const { name: a, email: t } = e;
795
796
  return { name: typeof a == "string" && a !== "" ? a : String(e.id), detail: typeof t == "string" ? t : null };
796
797
  }
797
- function an(e) {
798
- const { session: a } = Q(), t = e ?? nn;
799
- return C(() => {
798
+ function nn(e) {
799
+ const { session: a } = Q(), t = e ?? tn;
800
+ return A(() => {
800
801
  const o = ie(a.state.value);
801
802
  return o ? t(o.user) : null;
802
803
  });
803
804
  }
804
- const on = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, sn = ["aria-label"], ln = { class: "flex flex-1" }, rn = { class: "flex min-w-0 flex-1 overflow-x-clip" }, cn = { "data-dialog-inert-skip": "" }, un = /* @__PURE__ */ I({
805
+ const an = { class: "flex min-h-screen flex-col bg-surface-page text-base text-content antialiased" }, on = ["aria-label"], sn = { class: "flex flex-1" }, ln = { class: "flex min-w-0 flex-1 overflow-x-clip" }, rn = { "data-dialog-inert-skip": "" }, cn = /* @__PURE__ */ z({
805
806
  __name: "BackofficeShell",
806
807
  props: {
807
808
  home: { default: void 0 },
@@ -809,92 +810,92 @@ const on = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
809
810
  progress: { default: void 0 }
810
811
  },
811
812
  setup(e) {
812
- const a = e, { t } = N(), { session: o } = Q(), s = ke(), c = an(a.identity), r = C(() => ie(o.state.value) !== null), m = ne("accountSheet");
813
- return (l, v) => (u(), h("div", on, [
814
- e.progress?.visible.value ? (u(), h("div", {
813
+ const a = e, { t } = N(), { session: o } = Q(), i = xe(), r = nn(a.identity), c = A(() => ie(o.state.value) !== null), m = ne("accountSheet");
814
+ return (s, p) => (u(), b("div", an, [
815
+ e.progress?.visible.value ? (u(), b("div", {
815
816
  key: 0,
816
817
  role: "progressbar",
817
818
  "aria-label": n(t)("core.state.loading"),
818
819
  "data-shell-progress": "",
819
820
  class: "fixed inset-x-0 top-0 z-10000 flex h-1 justify-center bg-primary-800"
820
- }, [...v[0] || (v[0] = [
821
+ }, [...p[0] || (p[0] = [
821
822
  d("div", { class: "animate-grow-and-shrink-width bg-primary-600 motion-reduce:w-full motion-reduce:animate-none motion-reduce:opacity-60" }, null, -1)
822
- ])], 8, sn)) : L("", !0),
823
- p(n(H), { name: "banner" }),
824
- p(Ft, { enabled: r.value }, K({
823
+ ])], 8, on)) : E("", !0),
824
+ v(n(H), { name: "banner" }),
825
+ v(Vt, { enabled: c.value }, K({
825
826
  default: T(() => [
826
- p(tn, { home: e.home }, K({ _: 2 }, [
827
- l.$slots.brand ? {
827
+ v(en, { home: e.home }, K({ _: 2 }, [
828
+ s.$slots.brand ? {
828
829
  name: "brand",
829
830
  fn: T((g) => [
830
- z(l.$slots, "brand", U(X(g)))
831
+ I(s.$slots, "brand", U(X(g)))
831
832
  ]),
832
833
  key: "0"
833
834
  } : void 0,
834
- l.$slots["top-bar-end"] ? {
835
+ s.$slots["top-bar-end"] ? {
835
836
  name: "end",
836
837
  fn: T(() => [
837
- z(l.$slots, "top-bar-end")
838
+ I(s.$slots, "top-bar-end")
838
839
  ]),
839
840
  key: "1"
840
841
  } : void 0
841
842
  ]), 1032, ["home"]),
842
- d("div", ln, [
843
- n(c) ? (u(), O(It, {
843
+ d("div", sn, [
844
+ n(r) ? (u(), O(It, {
844
845
  key: 0,
845
- identity: n(c),
846
+ identity: n(r),
846
847
  home: e.home
847
848
  }, K({ _: 2 }, [
848
- l.$slots.brand ? {
849
+ s.$slots.brand ? {
849
850
  name: "brand",
850
851
  fn: T((g) => [
851
- z(l.$slots, "brand", U(X(g)))
852
+ I(s.$slots, "brand", U(X(g)))
852
853
  ]),
853
854
  key: "0"
854
855
  } : void 0,
855
- l.$slots.footer ? {
856
+ s.$slots.footer ? {
856
857
  name: "footer",
857
858
  fn: T(() => [
858
- z(l.$slots, "footer")
859
+ I(s.$slots, "footer")
859
860
  ]),
860
861
  key: "1"
861
862
  } : void 0
862
- ]), 1032, ["identity", "home"])) : L("", !0),
863
- d("div", rn, [
863
+ ]), 1032, ["identity", "home"])) : E("", !0),
864
+ d("div", ln, [
864
865
  d("main", {
865
- class: _(["flex min-w-0 flex-1 flex-col", n(s).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
866
- style: ge(n(s).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
866
+ class: $(["flex min-w-0 flex-1 flex-col", n(i).hasShell.value ? "" : "p-4 md:px-8 md:py-6"]),
867
+ style: ve(n(i).hasShell.value ? void 0 : { paddingBottom: "calc(var(--bottom-dock-h, 0px) + 1rem)" })
867
868
  }, [
868
- p(n(He))
869
+ v(n(Ge))
869
870
  ], 6)
870
871
  ])
871
872
  ]),
872
- p(n(Ge), {
873
- class: _(r.value ? "md:left-64" : "")
873
+ v(n(qe), {
874
+ class: $(c.value ? "md:left-64" : "")
874
875
  }, null, 8, ["class"])
875
876
  ]),
876
877
  _: 2
877
878
  }, [
878
- n(c) ? {
879
+ n(r) ? {
879
880
  name: "drawer",
880
881
  fn: T(({ select: g, dismiss: x }) => [
881
- p(Lt, {
882
- identity: n(c),
882
+ v(Ct, {
883
+ identity: n(r),
883
884
  home: e.home,
884
885
  onSelect: g,
885
- onAccount: (k) => x(() => m.value?.present())
886
+ onAccount: (_) => x(() => m.value?.present())
886
887
  }, K({ _: 2 }, [
887
- l.$slots.brand ? {
888
+ s.$slots.brand ? {
888
889
  name: "brand",
889
- fn: T((k) => [
890
- z(l.$slots, "brand", U(X(k)))
890
+ fn: T((_) => [
891
+ I(s.$slots, "brand", U(X(_)))
891
892
  ]),
892
893
  key: "0"
893
894
  } : void 0,
894
- l.$slots.footer ? {
895
+ s.$slots.footer ? {
895
896
  name: "footer",
896
897
  fn: T(() => [
897
- z(l.$slots, "footer")
898
+ I(s.$slots, "footer")
898
899
  ]),
899
900
  key: "1"
900
901
  } : void 0
@@ -903,23 +904,23 @@ const on = { class: "flex min-h-screen flex-col bg-surface-page text-base text-c
903
904
  key: "0"
904
905
  } : void 0
905
906
  ]), 1032, ["enabled"]),
906
- n(c) ? (u(), O(ft, {
907
+ n(r) ? (u(), O(dt, {
907
908
  key: 1,
908
909
  ref_key: "accountSheet",
909
910
  ref: m,
910
- identity: n(c)
911
- }, null, 8, ["identity"])) : L("", !0),
911
+ identity: n(r)
912
+ }, null, 8, ["identity"])) : E("", !0),
912
913
  (u(), O(Re, { to: "body" }, [
913
- d("div", cn, [
914
- p(n(qe))
914
+ d("div", rn, [
915
+ v(n(Ye))
915
916
  ])
916
917
  ])),
917
- p(Ye),
918
- p(n(H), { name: "host" })
918
+ v(Xe),
919
+ v(n(H), { name: "host" })
919
920
  ]));
920
921
  }
921
922
  });
922
- function dn(e = tt) {
923
+ function un(e = et) {
923
924
  const a = Be(!1);
924
925
  let t;
925
926
  return {
@@ -932,13 +933,13 @@ function dn(e = tt) {
932
933
  }
933
934
  };
934
935
  }
935
- function qn(e = {}) {
936
- const a = dn(), { brand: t, footer: o, topBarEnd: s } = e;
937
- return { component: I({
936
+ function Xn(e = {}) {
937
+ const a = un(), { brand: t, footer: o, topBarEnd: i } = e;
938
+ return { component: z({
938
939
  name: "BackofficeShell",
939
940
  setup() {
940
941
  return () => Z(
941
- un,
942
+ cn,
942
943
  {
943
944
  home: e.home,
944
945
  // The application's session produces U; the shell reads it as the SessionUser it is guaranteed to be.
@@ -946,36 +947,36 @@ function qn(e = {}) {
946
947
  progress: a
947
948
  },
948
949
  {
949
- ...t && { brand: (r) => Z(t, r) },
950
+ ...t && { brand: (c) => Z(t, c) },
950
951
  ...o && { footer: () => Z(o) },
951
- ...s && { "top-bar-end": () => Z(s) }
952
+ ...i && { "top-bar-end": () => Z(i) }
952
953
  }
953
954
  );
954
955
  }
955
956
  }), slots: ["headerActions", "accountMenu", "banner", "host"], progress: a };
956
957
  }
957
- const fn = 30 * 6e4, mn = 6e4;
958
- function pn(e, a) {
958
+ const dn = 30 * 6e4, fn = 6e4;
959
+ function mn(e, a) {
959
960
  const t = new DOMParser().parseFromString(e, "text/html").querySelectorAll('script[type="module"][src]');
960
961
  return Array.from(t, (o) => new URL(o.getAttribute("src") ?? "", a).pathname).sort();
961
962
  }
962
- function vn() {
963
+ function pn() {
963
964
  return Array.from(document.querySelectorAll('script[type="module"][src]'), (e) => new URL(e.src, location.href).pathname).sort();
964
965
  }
965
- function hn(e) {
966
- return I({
966
+ function vn(e) {
967
+ return z({
967
968
  name: "AppUpdateNotice",
968
969
  setup() {
969
970
  if (e.enabled === !1) return () => null;
970
- const { t: a } = N(), t = e.url ?? "/", o = vn();
971
- let s = !1, c = 0;
972
- async function r() {
973
- if (!(s || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - c < mn)) {
974
- c = Date.now();
971
+ const { t: a } = N(), t = e.url ?? "/", o = pn();
972
+ let i = !1, r = 0;
973
+ async function c() {
974
+ if (!(i || o.length === 0 || !navigator.onLine || document.visibilityState !== "visible") && !(Date.now() - r < fn)) {
975
+ r = Date.now();
975
976
  try {
976
- const v = await fetch(t, { cache: "no-store", credentials: "include" }), g = v.ok ? pn(await v.text(), location.href) : [];
977
+ const p = await fetch(t, { cache: "no-store", credentials: "include" }), g = p.ok ? mn(await p.text(), location.href) : [];
977
978
  if (g.length === 0 || g.join() === o.join()) return;
978
- s = !0, we.info(a("core.shell.update.available"), {
979
+ i = !0, ge.info(a("core.shell.update.available"), {
979
980
  duration: 1 / 0,
980
981
  action: { label: a("core.shell.update.reload"), onClick: () => location.reload() }
981
982
  });
@@ -983,125 +984,88 @@ function hn(e) {
983
984
  }
984
985
  }
985
986
  }
986
- const m = () => void r();
987
+ const m = () => void c();
987
988
  document.addEventListener("visibilitychange", m);
988
- const l = setInterval(r, e.checkEveryMs ?? fn);
989
+ const s = setInterval(c, e.checkEveryMs ?? dn);
989
990
  return le(() => {
990
- document.removeEventListener("visibilitychange", m), clearInterval(l);
991
+ document.removeEventListener("visibilitychange", m), clearInterval(s);
991
992
  }), () => null;
992
993
  }
993
994
  });
994
995
  }
995
- function Gn(e = {}) {
996
+ function Yn(e = {}) {
996
997
  return _e({
997
998
  id: "vue-core.app-updates",
998
- contributions: [{ id: "vue-core.app-updates", slot: "host", component: hn(e), scope: "always" }]
999
+ contributions: [{ id: "vue-core.app-updates", slot: "host", component: vn(e), scope: "always" }]
999
1000
  });
1000
1001
  }
1001
- const bn = {
1002
- key: 1,
1003
- "aria-hidden": "true",
1004
- "data-header-action-badge": "",
1005
- class: "absolute -top-0.5 -right-0.5 min-w-4 rounded-full bg-status-danger-solid px-1 text-center text-3xs leading-4 font-semibold text-white"
1006
- }, Hn = /* @__PURE__ */ I({
1007
- __name: "HeaderAction",
1008
- props: {
1009
- label: {},
1010
- icon: {},
1011
- to: {},
1012
- badge: {}
1013
- },
1014
- emits: ["click"],
1015
- setup(e, { emit: a }) {
1016
- const t = a, o = be(re, "bar"), s = C(() => o === "rail");
1017
- return (c, r) => (u(), O(Ne(e.to ? n(ce) : "button"), Y(e.to ? { to: e.to } : { type: "button" }, {
1018
- "aria-label": e.label,
1019
- "data-header-action": "",
1020
- class: ["hit-target relative flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors duration-motion-fast focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-focus", s.value ? "size-9 text-gray-300 hover:bg-white/10 hover:text-white" : "size-8 text-content-link active:bg-tint-soft"],
1021
- onClick: r[0] || (r[0] = (m) => t("click"))
1022
- }), {
1023
- default: T(() => [
1024
- p(n(B), {
1025
- name: e.icon,
1026
- size: s.value ? 20 : 18
1027
- }, null, 8, ["name", "size"]),
1028
- e.badge === "dot" ? (u(), h("span", {
1029
- key: 0,
1030
- "aria-hidden": "true",
1031
- "data-header-action-badge": "",
1032
- class: _(["absolute top-1 right-1 size-2.5 rounded-full bg-status-danger-solid ring-2", s.value ? "ring-anchor-900" : "ring-surface-page"])
1033
- }, null, 2)) : e.badge !== void 0 ? (u(), h("span", bn, D(e.badge), 1)) : L("", !0)
1034
- ]),
1035
- _: 1
1036
- }, 16, ["aria-label", "class"]));
1037
- }
1038
- }), gn = 1e3, ee = (e) => e.path.split("/").filter(Boolean).length;
1039
- function yn(e) {
1002
+ const hn = 1e3, ee = (e) => e.path.split("/").filter(Boolean).length;
1003
+ function bn(e) {
1040
1004
  if (typeof document > "u" || typeof document.startViewTransition != "function") return () => {
1041
1005
  };
1042
1006
  let a = null;
1043
- const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(nt), o = e.beforeResolve((m, l) => {
1044
- if (s(), !l.matched.length || m.path === l.path || !t()) return;
1045
- const v = ee(m) > ee(l) ? "forward" : ee(m) < ee(l) ? "back" : null;
1046
- if (!v) return;
1007
+ const t = () => window.matchMedia("(max-width: 1023px)").matches && !window.matchMedia("(prefers-reduced-motion: reduce)").matches && !document.body.classList.contains(tt), o = e.beforeResolve((m, s) => {
1008
+ if (i(), !s.matched.length || m.path === s.path || !t()) return;
1009
+ const p = ee(m) > ee(s) ? "forward" : ee(m) < ee(s) ? "back" : null;
1010
+ if (!p) return;
1047
1011
  const g = document.documentElement;
1048
- return g.dataset.navDirection = v, new Promise((x) => {
1049
- const k = document.startViewTransition(
1050
- () => new Promise(($) => {
1051
- const y = setTimeout($, gn);
1012
+ return g.dataset.navDirection = p, new Promise((x) => {
1013
+ const _ = document.startViewTransition(
1014
+ () => new Promise((k) => {
1015
+ const y = setTimeout(k, hn);
1052
1016
  a = () => {
1053
- clearTimeout(y), $();
1017
+ clearTimeout(y), k();
1054
1018
  }, x();
1055
1019
  })
1056
1020
  );
1057
- k.ready.catch(() => {
1058
- }), k.finished.catch(() => {
1021
+ _.ready.catch(() => {
1022
+ }), _.finished.catch(() => {
1059
1023
  }).finally(() => {
1060
- g.dataset.navDirection === v && delete g.dataset.navDirection;
1024
+ g.dataset.navDirection === p && delete g.dataset.navDirection;
1061
1025
  });
1062
1026
  });
1063
1027
  });
1064
- function s() {
1028
+ function i() {
1065
1029
  const m = a;
1066
- a = null, m && ye().then(m);
1030
+ a = null, m && he().then(m);
1067
1031
  }
1068
- const c = e.afterEach(s), r = e.onError(s);
1032
+ const r = e.afterEach(i), c = e.onError(i);
1069
1033
  return () => {
1070
- o(), c(), r(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1034
+ o(), r(), c(), delete document.documentElement.dataset.navDirection, a?.(), a = null;
1071
1035
  };
1072
1036
  }
1073
- const xn = I({
1037
+ const gn = z({
1074
1038
  name: "ViewTransitions",
1075
1039
  setup() {
1076
- return le(yn(ue())), () => null;
1040
+ return le(bn(re())), () => null;
1077
1041
  }
1078
1042
  });
1079
- function Qn() {
1043
+ function qn() {
1080
1044
  return _e({
1081
1045
  id: "vue-core.view-transitions",
1082
- contributions: [{ id: "vue-core.view-transitions", slot: "host", component: xn, scope: "always" }]
1046
+ contributions: [{ id: "vue-core.view-transitions", slot: "host", component: gn, scope: "always" }]
1083
1047
  });
1084
1048
  }
1085
1049
  export {
1086
- dt as AccountMenu,
1087
- pe as AccountMenuItem,
1088
- ft as AccountSheet,
1089
- un as BackofficeShell,
1090
- Hn as HeaderAction,
1091
- Lt as NavigationDrawer,
1092
- Le as NavigationList,
1093
- Wt as NavigationMenuButton,
1094
- de as ShellBrand,
1050
+ ut as AccountMenu,
1051
+ fe as AccountMenuItem,
1052
+ dt as AccountSheet,
1053
+ cn as BackofficeShell,
1054
+ Qn as HeaderAction,
1055
+ Ct as NavigationDrawer,
1056
+ Ce as NavigationList,
1057
+ Kt as NavigationMenuButton,
1058
+ ce as ShellBrand,
1095
1059
  It as ShellSidebar,
1096
- Ft as ShellStage,
1097
- tn as ShellTopBar,
1098
- Gn as appUpdates,
1099
- qn as backofficeShell,
1100
- dn as createNavigationProgress,
1101
- nn as defaultIdentity,
1102
- pt as groupNavigation,
1103
- yn as installViewTransitions,
1104
- Pt as useNavigationDrawer,
1105
- an as useShellIdentity,
1106
- Qn as viewTransitions
1060
+ Vt as ShellStage,
1061
+ en as ShellTopBar,
1062
+ Yn as appUpdates,
1063
+ Xn as backofficeShell,
1064
+ un as createNavigationProgress,
1065
+ tn as defaultIdentity,
1066
+ mt as groupNavigation,
1067
+ bn as installViewTransitions,
1068
+ Nt as useNavigationDrawer,
1069
+ nn as useShellIdentity,
1070
+ qn as viewTransitions
1107
1071
  };